diff --git a/.version b/.version index 1cc5f657..867e5243 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -1.1.0 \ No newline at end of file +1.2.0 \ No newline at end of file diff --git a/.vssbe b/.vssbe index bdc4f2a8..562a18c2 100644 --- a/.vssbe +++ b/.vssbe @@ -125,13 +125,13 @@ "Mode": { "$type": "net.r_eg.vsSBE.Events.ModeScript, vsSolutionBuildEvent", "Type": "Script", - "Command": "#[\"\n Prepares data - versions, revBuild & information from git\n\"]\n\n#[var tStart = $([System.DateTime]::Parse(\"2016/02/24\").ToBinary())]\n#[var tNow = $([System.DateTime]::UtcNow.Ticks)]\n#[var revBuild = $([System.TimeSpan]::FromTicks($([MSBuild]::Subtract($(tNow), $(tStart)))).TotalMinutes.ToString(\"0\"))]\n\n#[var tplVersion = #[File get(\"Version.tpl\")]]\n\n#[var pDir = vsCommandEvent/]\n#[var numCE = #[File get(\".version\")]]", + "Command": "#[\"\n Prepares data - versions, revBuild & information from git\n\"]\n\n#[var tStart = $([System.DateTime]::Parse(\"2016/10/12\").ToBinary())]\n#[var tNow = $([System.DateTime]::UtcNow.Ticks)]\n#[var revBuild = $([System.TimeSpan]::FromTicks($([MSBuild]::Subtract($(tNow), $(tStart)))).TotalMinutes.ToString(\"0\"))]\n\n#[var tplVersion = #[File get(\"Version.tpl\")]]\n\n#[var pDir = vsCommandEvent/]\n#[var numCE = #[File get(\".version\")]]", "Command__": [ "#[\"", " Prepares data - versions, revBuild & information from git", "\"]", "", - "#[var tStart = $([System.DateTime]::Parse(\"2016/02/24\").ToBinary())]", + "#[var tStart = $([System.DateTime]::Parse(\"2016/10/12\").ToBinary())]", "#[var tNow = $([System.DateTime]::UtcNow.Ticks)]", "#[var revBuild = $([System.TimeSpan]::FromTicks($([MSBuild]::Subtract($(tNow), $(tStart)))).TotalMinutes.ToString(\"0\"))]", "", @@ -353,11 +353,11 @@ "Mode": { "$type": "net.r_eg.vsSBE.Events.ModeScript, vsSolutionBuildEvent", "Type": "Script", - "Command": "#[IO copy.file(\r\n \"$(pDir)bin\\$(cfg)\\vsCommandEvent.vsix\", \r\n \"$(odir)vsCommandEvent_v$(numCE)_[$(branchSha1)][$(netStamp)].vsix\", \r\n true)]", + "Command": "#[IO copy.file(\n \"$(pDir)bin\\$(cfg)\\vsCommandEvent.vsix\", \n \"$(odir)vsCommandEvent_v$(numCE)_$(branchSha1)_$(netStamp).vsix\", \n true)]", "Command__": [ "#[IO copy.file(", " \"$(pDir)bin\\$(cfg)\\vsCommandEvent.vsix\", ", - " \"$(odir)vsCommandEvent_v$(numCE)_[$(branchSha1)][$(netStamp)].vsix\", ", + " \"$(odir)vsCommandEvent_v$(numCE)_$(branchSha1)_$(netStamp).vsix\", ", " true)]" ] } diff --git a/changelog.txt b/changelog.txt index 76a5dce6..68e950e9 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,7 +1,94 @@ +- - - - - - - - vsCommandEvent -______________ +- - - - - - - - -[v1.1.0] 2016.02.24 +[v1.2] 2016.10.19 + + * FIXED: Fixed bug "Save changes to the following items?" VS IDE + * FIXED: [FileComponent] Fixed bug with copying to internal directory for `copy.directory`: + Avoids of recursive duplicates of destination when it is internal part of source `D:\test -> D:\test\new` + + * FIXED: Fixed incorrect variable names if used Global MSBuild properties like `$(+name = ...)`. + * FIXED: UI. Fixed bugs in "Waiting for completion" & "Hide process". + * NEW: Support of ErrorList pane of Visual Studio - now see also the all errors/warnings here. + * NEW: [MSBuild] Implemented Syntactic sugar `+=` & `-=` - Increment & Decrement operators for numbers and strings + ``` + $(n = 0) + $(n += 3.14) + $(n += $(n)) + + $(desc = "Hello ") + $(desc += "world !") + ``` + The documentation here: http://vssbe.r-eg.net/doc/Scripts/MSBuild/#syntactic-sugar + + * NEW: [SBE-Scripts] Implemented new BoxComponent - Container of data for operations like a template, repeating, etc. + ``` + #[Box iterate(i = 0; $(i) < 10; i += 1): + ... + ] + ``` + `repeat(expression condition [; boolean silent])` + `void data.pack(string name, boolean eval): In` + ... + The documentation here: http://vssbe.r-eg.net/doc/Scripts/SBE-Scripts/Components/BoxComponent/ + + * NEW: [InternalComponent] added StartUpProject property to get/set the project by default or 'StartUp Project. + * NEW: [SBE-Scripts] Added new TryComponent (try/catch) to handle errors: + ``` + #[try + { + ... + } + catch(err, msg) + { + $(err) - Type of Exception + $(msg) - Error Message + ... + }] + ``` + The documentation here: http://vssbe.r-eg.net/doc/Scripts/SBE-Scripts/Components/TryComponent/ + + * NEW: Started support of Visual Studio 15 /tested on Enterprise Preview 4 (25618.00) + Please read here: https://github.com/3F/vsSolutionBuildEvent/issues/36 + Preview 5: We still do not know about the final decision of the team. It will be considered later. + + * NEW: [FileComponent] copy.file - new extended signature of `copy.file`: + `void copy.file((string src | object srclist), string dest, bool overwrite [, object except])` + ``` + #[IO copy.file({ + "bin\client.zip", + "bin\server\*.*" + }, + "$(plugin)\beta", + true, + { + "*debug*", + "*.pdb" + })] + ``` + The documentation: http://vssbe.r-eg.net/doc/Scripts/SBE-Scripts/Components/FileComponent/#copy + + * NEW: Added additional tool-helpers: gnt.bat, msbuild.bat + * NEW: Added new special MSBuild properties: + * `vsCE_CommonPath` - Common path of library. + * `vsCE_LibPath` - Full path to library. + * `vsCE_WorkPath` - Working path for library. + + * CHANGED: MSBuild core. Native expressions now uses InvariantCulture by default. For other culture use CultureInfo, for example: + ``` + $([System.DateTime]::Parse("08/21/2016", '$([System.Globalization.CultureInfo]::GetCultureInfo("en-US"))').ToBinary()) + ``` + See documentation for details. + + * CHANGED: C# Mode. IMSBuild: + getProject(string name); + * CHANGED: C# Mode. IEnvironment: added direct access to EnvDTE80.DTE2 (+EnvDTE), Build.Evaluation.Project + prepared list of EnvDTE projects. + * CHANGED: Abort build after first script error (from our engines). + * CHANGED: Updated 7-zip v16.04, AvalonEdit v5.0.3, NLog v4.3.10, Newtonsoft.Json v9.0.1 + * NOTE: Now available .NET 4.0 and .NET 4.5 assemblies. Look the Downlods page. http://vsce.r-eg.net/Downloads/ + * NOTE: Reviewed with vsSolutionBuildEvent engine v0.12.9 + +[v1.1] 2016.02.24 * FIXED: UI: possible crash when sorted actions in action list. * FIXED: Incorrect component re/activation (SBE-Scripts) @@ -68,7 +155,7 @@ ______________ * CHANGED: Unescaping the quote characters from arguments by default. (SBE-Scripts) * CHANGED: The ToolsVersion="4.0" now is used by default instead of 12.0 (Targets Mode - Template) * CHANGED: Other trivial changes and bug fixes. - * NOTE: It includes vsSolutionBuildEvent engine v0.12.7 + * NOTE: Reviewed with vsSolutionBuildEvent engine v0.12.7 The documentation: - vssbe.r-eg.net - vsce.r-eg.net diff --git a/vsCommandEvent/source.extension.vsixmanifest b/vsCommandEvent/source.extension.vsixmanifest index 9d5787ba..f651f7c4 100644 --- a/vsCommandEvent/source.extension.vsixmanifest +++ b/vsCommandEvent/source.extension.vsixmanifest @@ -3,7 +3,7 @@ vsCommandEvent github.com/3F - 1.1.0 + 1.2.0 Advanced handler of all commands from Visual Studio and output data as manager of this. It based on vsSolutionBuildEvent engine and continues mission to provide flexible actions for your environment. 1033 https://visualstudiogallery.msdn.microsoft.com/ad9f19b2-04c0-46fe-9637-9a52ce4ca661/