From cb35c8db6092a1c25605a6fb59dd700ef01d3e14 Mon Sep 17 00:00:00 2001 From: Taritsyn Date: Mon, 6 Feb 2023 20:31:17 +0300 Subject: [PATCH] Version 3.1.0 --- CHANGELOG.md | 12 ++++--- LICENSE.txt | 2 +- README.md | 33 +++++++++---------- build/common.props | 2 +- .../MsieJavaScriptEngine.csproj | 4 +-- src/MsieJavaScriptEngine/Resources/ES5.js | 6 ++-- .../NetFrameworkStrings.ru-ru.Designer.cs | 0 src/MsieJavaScriptEngine/readme.txt | 10 +++--- .../MsieJavaScriptEngine.Benchmarks.csproj | 2 +- .../MsieJavaScriptEngine.Test.Auto.csproj | 2 +- ...criptEngine.Test.ChakraActiveScript.csproj | 2 +- ...avaScriptEngine.Test.ChakraEdgeJsRt.csproj | 2 +- ...eJavaScriptEngine.Test.ChakraIeJsRt.csproj | 2 +- .../MsieJavaScriptEngine.Test.Classic.csproj | 2 +- .../MsieJavaScriptEngine.Test.Common.csproj | 2 +- 15 files changed, 43 insertions(+), 40 deletions(-) delete mode 100644 src/MsieJavaScriptEngine/Resources/NetFrameworkStrings.ru-ru.Designer.cs diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cdc77c..5c11bf7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ Change log ========== +## v3.1.0 - February 6, 2023 + * In JsRT modes, `JsVariantToValue` and `JsValueToVariant` native methods are no longer used for embedding objects and types + * JSON2 library was updated to version of October 30, 2022 + ## v3.0.9 - July 20, 2022 * Now a case-sensitive cultural postfixes are used in the names of `.resx` files @@ -233,14 +237,14 @@ Change log * Fixed [JavaScriptEngineSwitcher.Msie's bug #7](https://github.com/Taritsyn/JavaScriptEngineSwitcher/issues/7) "MsieJavaScriptEngine.ActiveScript.ActiveScriptException not wrapped" ## v1.4.2 - March 24, 2014 - * Fixed [JavaScriptEngineSwitcher.Msie's bug #5](http://github.com/Taritsyn/JavaScriptEngineSwitcher/issues/5) "MSIE "Catastrophic failure" when disposing" + * Fixed [JavaScriptEngineSwitcher.Msie's bug #5](https://github.com/Taritsyn/JavaScriptEngineSwitcher/issues/5) "MSIE "Catastrophic failure" when disposing" ## v1.4.1 - March 22, 2014 * Fixed minor bugs ## v1.4.0 - February 27, 2014 * Removed following methods: `HasProperty`, `GetPropertyValue`, `SetPropertyValue` and `RemoveProperty` - * Fixed [bug #3](http://github.com/Taritsyn/MsieJavaScriptEngine/issues/3) "execute code from different threads" + * Fixed [bug #3](https://github.com/Taritsyn/MsieJavaScriptEngine/issues/3) "execute code from different threads" * Now in the `ChakraJsRt` mode is available a more detailed information about errors * In ECMAScript 5 Polyfill improved a performance of the `String.prototype.trim` method * JSON2 library was updated to version of February 4, 2014 @@ -264,7 +268,7 @@ Change log * Assembly `MsieJavaScriptEngine.dll` now signed ## v1.1.0 - October 11, 2012 - * Added ability of using the Douglas Crockford's [JSON2](http://github.com/douglascrockford/JSON-js) library + * Added ability of using the Douglas Crockford's [JSON2](https://github.com/douglascrockford/JSON-js) library * By default using of the JSON2 library is disabled ## v1.0.8 - September 21, 2012 @@ -274,7 +278,7 @@ Change log * Added the `ActiveScriptErrorFormatter` class ## v1.0.5 - August 29, 2012 - * [JavaScript Array Polyfills from TutorialsPoint.com](http://www.tutorialspoint.com/javascript/) was replaced by the Douglas Crockford's [ECMAScript 5 Polyfill](http://nuget.org/packages/ES5) + * [JavaScript Array Polyfills from TutorialsPoint.com](https://www.tutorialspoint.com/javascript/) was replaced by the Douglas Crockford's [ECMAScript 5 Polyfill](https://www.nuget.org/packages/ES5) * By default using of the ECMAScript 5 Polyfill is disabled ## v1.0.1 - August 27, 2012 diff --git a/LICENSE.txt b/LICENSE.txt index 1b36598..55c4d50 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,4 @@ - Copyright (c) 2012-2022 Andrey Taritsyn - http://www.taritsyn.ru + Copyright (c) 2012-2023 Andrey Taritsyn - http://www.taritsyn.ru Apache License Version 2.0, January 2004 diff --git a/README.md b/README.md index 9727a00..c152ac5 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ MSIE JavaScript Engine for .NET [![NuGet version](http://img.shields.io/nuget/v/ ![MSIE JS Engine Logo](http://i.imgur.com/T3K5q.png) This project is a .NET wrapper for working with the JavaScript engines of Internet Explorer and Edge Legacy (JsRT versions of Chakra, ActiveScript version of Chakra and Classic JavaScript Engine). -Project was based on the code of [SassAndCoffee.JavaScript](http://github.com/paulcbetts/SassAndCoffee), [Chakra Sample Hosts](http://github.com/panopticoncentral/chakra-host) and [jsrt-dotnet](http://github.com/robpaveza/jsrt-dotnet). +Project was based on the code of [SassAndCoffee.JavaScript](https://github.com/anaisbetts/SassAndCoffee), [Chakra Sample Hosts](https://github.com/panopticoncentral/chakra-host) and [jsrt-dotnet](https://github.com/robpaveza/jsrt-dotnet). MSIE JavaScript Engine requires a installation of Internet Explorer or Edge Legacy on the machine and can work in 5 modes, that are defined in the JsEngineMode enumeration: @@ -23,7 +23,7 @@ The supported .NET types are as follows: * `System.String` ## Installation -This library can be installed through NuGet - [http://nuget.org/packages/MsieJavaScriptEngine](http://nuget.org/packages/MsieJavaScriptEngine). +This library can be installed through NuGet - [https://www.nuget.org/packages/MsieJavaScriptEngine](https://www.nuget.org/packages/MsieJavaScriptEngine). ## Usage Consider a simple example of usage of the MSIE JavaScript Engine: @@ -134,7 +134,7 @@ Consider in detail properties of the Boolean false - Flag for whether to use the JSON2 library + Flag for whether to use the JSON2 library @@ -147,21 +147,20 @@ See the [changelog](CHANGELOG.md). [Apache License Version 2.0](LICENSE.md) ## Credits - * [SassAndCoffee.JavaScript](http://github.com/xpaulbettsx/SassAndCoffee) - [License: Microsoft Public License (Ms-PL)](http://github.com/paulcbetts/SassAndCoffee/blob/master/COPYING) Part of the code of this library served as the basis for the ActiveScript version of Chakra and Classic JavaScript Engine. - * [Chakra Sample Hosts](http://github.com/panopticoncentral/chakra-host) - [License: Apache License 2.0 (Apache)](http://github.com/panopticoncentral/chakra-host/blob/master/LICENSE) C# example from this project served as the basis for the JsRT versions of Chakra. - * [jsrt-dotnet](http://github.com/robpaveza/jsrt-dotnet) - [License: The MIT License (MIT)](http://github.com/robpaveza/jsrt-dotnet/blob/master/LICENSE) Part of the code of this library is used in the JsRT versions of Chakra. - * [ECMAScript 5 Polyfill](http://nuget.org/packages/ES5) and [MDN JavaScript Polyfills](http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference) - Adds support for many of the new functions in ECMAScript 5 to downlevel browsers. - * [Cross-Browser Split](http://blog.stevenlevithan.com/archives/cross-browser-split) - Adds ECMAScript compliant and uniform cross-browser split method. - * [JSON2 library](http://github.com/douglascrockford/JSON-js) - Adds support of the JSON object from ECMAScript 5 to downlevel browsers. - * [Bundler and Minifier](http://github.com/madskristensen/BundlerMinifier) - [License: Apache License 2.0 (Apache)](http://github.com/madskristensen/BundlerMinifier/blob/master/LICENSE) JS-files, that used MSIE JS Engine, minificated by using this tool. + * [SassAndCoffee.JavaScript](https://github.com/anaisbetts/SassAndCoffee) - [License: Microsoft Public License (Ms-PL)](https://github.com/anaisbetts/SassAndCoffee/blob/master/COPYING) Part of the code of this library served as the basis for the ActiveScript version of Chakra and Classic JavaScript Engine. + * [Chakra Sample Hosts](https://github.com/panopticoncentral/chakra-host) - [License: Apache License 2.0 (Apache)](https://github.com/panopticoncentral/chakra-host/blob/master/LICENSE) C# example from this project served as the basis for the JsRT versions of Chakra. + * [jsrt-dotnet](https://github.com/robpaveza/jsrt-dotnet) - [License: The MIT License (MIT)](https://github.com/robpaveza/jsrt-dotnet/blob/master/LICENSE) Part of the code of this library is used in the JsRT versions of Chakra. + * [ECMAScript 5 Polyfill](https://www.nuget.org/packages/ES5) and [MDN JavaScript Polyfills](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference) - Adds support for many of the new functions in ECMAScript 5 to downlevel browsers. + * [Cross-Browser Split](https://blog.stevenlevithan.com/archives/cross-browser-split) - Adds ECMAScript compliant and uniform cross-browser split method. + * [JSON2 library](https://github.com/douglascrockford/JSON-js) - Adds support of the JSON object from ECMAScript 5 to downlevel browsers. + * [Bundler and Minifier](https://github.com/madskristensen/BundlerMinifier) - [License: Apache License 2.0 (Apache)](http://github.com/madskristensen/BundlerMinifier/blob/master/LICENSE) JS-files, that used MSIE JS Engine, minificated by using this tool. ## Who's Using MSIE JavaScript Engine If you use the MSIE JavaScript Engine in some project, please send me a message so I can include it in this list: - * [BitAdminCore.ALL](http://nuget.org/packages/BitAdminCore.ALL) - * [Chevron](http://github.com/SimonCropp/Chevron) by Simon Cropp - * [JavaScript Engine Switcher](http://github.com/Taritsyn/JavaScriptEngineSwitcher) by Andrey Taritsyn - * [PowerShell.JS](http://github.com/klumsy/powershellJS) by Karl Prosser - * [Serenity Application Platform](http://github.com/volkanceylan/Serenity) by Volkan Ceylan - * [SquishIt](http://github.com/jetheredge/SquishIt) by Justin Etheredge and Alex Ullrich - * [Strike](http://github.com/SimonCropp/Strike) by Simon Cropp \ No newline at end of file + * [BitAdminCore.ALL](https://www.nuget.org/packages/BitAdminCore.ALL) + * [Chevron](https://github.com/simoncropparchived/Chevron) by Simon Cropp + * [JavaScript Engine Switcher](https://github.com/Taritsyn/JavaScriptEngineSwitcher) by Andrey Taritsyn + * [PowerShell.JS](https://github.com/klumsy/powershellJS) by Karl Prosser + * [SquishIt](https://github.com/jetheredge/SquishIt) by Justin Etheredge and Alex Ullrich + * [Strike](https://github.com/simoncropparchived/Strike) by Simon Cropp \ No newline at end of file diff --git a/build/common.props b/build/common.props index d5c9126..96e62fb 100644 --- a/build/common.props +++ b/build/common.props @@ -1,5 +1,5 @@ - Copyright © 2012-2022 Andrey Taritsyn + Copyright © 2012-2023 Andrey Taritsyn \ No newline at end of file diff --git a/src/MsieJavaScriptEngine/MsieJavaScriptEngine.csproj b/src/MsieJavaScriptEngine/MsieJavaScriptEngine.csproj index d9bd983..a11afff 100644 --- a/src/MsieJavaScriptEngine/MsieJavaScriptEngine.csproj +++ b/src/MsieJavaScriptEngine/MsieJavaScriptEngine.csproj @@ -2,7 +2,7 @@ MSIE JavaScript Engine for .NET - 3.0.9 + 3.1.0 net40-client;net45;netstandard1.3;netstandard2.0 1.6.0 7.3 @@ -13,7 +13,7 @@ true $(Product) Andrey Taritsyn - This library is a .NET wrapper for working with the JavaScript engines of Internet Explorer and Edge Legacy (JsRT versions of Chakra, ActiveScript version of Chakra and Classic JavaScript Engine). Project was based on the code of SassAndCoffee.JavaScript (http://github.com/paulcbetts/SassAndCoffee), Chakra Sample Hosts (http://github.com/panopticoncentral/chakra-host) and jsrt-dotnet (http://github.com/robpaveza/jsrt-dotnet). + This library is a .NET wrapper for working with the JavaScript engines of Internet Explorer and Edge Legacy (JsRT versions of Chakra, ActiveScript version of Chakra and Classic JavaScript Engine). Project was based on the code of SassAndCoffee.JavaScript (https://github.com/anaisbetts/SassAndCoffee), Chakra Sample Hosts (https://github.com/panopticoncentral/chakra-host) and jsrt-dotnet (https://github.com/robpaveza/jsrt-dotnet). LICENSE.txt false https://github.com/Taritsyn/MsieJavaScriptEngine diff --git a/src/MsieJavaScriptEngine/Resources/ES5.js b/src/MsieJavaScriptEngine/Resources/ES5.js index 9ff4f4c..821c180 100644 --- a/src/MsieJavaScriptEngine/Resources/ES5.js +++ b/src/MsieJavaScriptEngine/Resources/ES5.js @@ -1,8 +1,8 @@ /*! * This polyfill based on code of the following libraries: -* 1. Douglas Crockford's ECMAScript 5 Polyfill v0.1 - http://nuget.org/packages/ES5 -* 2. MDN JavaScript Polyfills - http://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference -* 3. Steven Levithan's Cross-Browser Split v1.1.1 - http://blog.stevenlevithan.com/archives/cross-browser-split +* 1. Douglas Crockford's ECMAScript 5 Polyfill v0.1 - https://www.nuget.org/packages/ES5 +* 2. MDN JavaScript Polyfills - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference +* 3. Steven Levithan's Cross-Browser Split v1.1.1 - https://blog.stevenlevithan.com/archives/cross-browser-split */ (function (undefined) { diff --git a/src/MsieJavaScriptEngine/Resources/NetFrameworkStrings.ru-ru.Designer.cs b/src/MsieJavaScriptEngine/Resources/NetFrameworkStrings.ru-ru.Designer.cs deleted file mode 100644 index e69de29..0000000 diff --git a/src/MsieJavaScriptEngine/readme.txt b/src/MsieJavaScriptEngine/readme.txt index 7b59921..6827039 100644 --- a/src/MsieJavaScriptEngine/readme.txt +++ b/src/MsieJavaScriptEngine/readme.txt @@ -1,11 +1,11 @@  -------------------------------------------------------------------------------- - README file for MSIE JavaScript Engine for .NET v3.0.9 + README file for MSIE JavaScript Engine for .NET v3.1.0 -------------------------------------------------------------------------------- - Copyright (c) 2012-2022 Andrey Taritsyn - http://www.taritsyn.ru + Copyright (c) 2012-2023 Andrey Taritsyn - http://www.taritsyn.ru =========== @@ -14,9 +14,9 @@ This library is a .NET wrapper for working with the JavaScript engines of Internet Explorer and Edge Legacy (JsRT versions of Chakra, ActiveScript version of Chakra and Classic JavaScript Engine). Project was based on the code of - SassAndCoffee.JavaScript (http://github.com/paulcbetts/SassAndCoffee), - Chakra Sample Hosts (http://github.com/panopticoncentral/chakra-host) and - jsrt-dotnet (http://github.com/robpaveza/jsrt-dotnet). + SassAndCoffee.JavaScript (https://github.com/anaisbetts/SassAndCoffee), + Chakra Sample Hosts (https://github.com/panopticoncentral/chakra-host) and + jsrt-dotnet (https://github.com/robpaveza/jsrt-dotnet). ============= RELEASE NOTES diff --git a/test/MsieJavaScriptEngine.Benchmarks/MsieJavaScriptEngine.Benchmarks.csproj b/test/MsieJavaScriptEngine.Benchmarks/MsieJavaScriptEngine.Benchmarks.csproj index 86c8be2..c122933 100644 --- a/test/MsieJavaScriptEngine.Benchmarks/MsieJavaScriptEngine.Benchmarks.csproj +++ b/test/MsieJavaScriptEngine.Benchmarks/MsieJavaScriptEngine.Benchmarks.csproj @@ -2,7 +2,7 @@ MSIE JavaScript Engine: Benchmarks - 3.0.9 + 3.1.0 net461;netcoreapp2.1;netcoreapp3.1;net5.0;net6.0;net7.0 Exe true diff --git a/test/MsieJavaScriptEngine.Test.Auto/MsieJavaScriptEngine.Test.Auto.csproj b/test/MsieJavaScriptEngine.Test.Auto/MsieJavaScriptEngine.Test.Auto.csproj index 18f1911..ef7fdd3 100644 --- a/test/MsieJavaScriptEngine.Test.Auto/MsieJavaScriptEngine.Test.Auto.csproj +++ b/test/MsieJavaScriptEngine.Test.Auto/MsieJavaScriptEngine.Test.Auto.csproj @@ -2,7 +2,7 @@ MSIE JavaScript Engine: Tests for Auto Mode - 3.0.9 + 3.1.0 net40;net45;netcoreapp2.1;netcoreapp3.1;net5.0;net6.0;net7.0 Library true diff --git a/test/MsieJavaScriptEngine.Test.ChakraActiveScript/MsieJavaScriptEngine.Test.ChakraActiveScript.csproj b/test/MsieJavaScriptEngine.Test.ChakraActiveScript/MsieJavaScriptEngine.Test.ChakraActiveScript.csproj index c5f970f..8bd96f8 100644 --- a/test/MsieJavaScriptEngine.Test.ChakraActiveScript/MsieJavaScriptEngine.Test.ChakraActiveScript.csproj +++ b/test/MsieJavaScriptEngine.Test.ChakraActiveScript/MsieJavaScriptEngine.Test.ChakraActiveScript.csproj @@ -2,7 +2,7 @@ MSIE JavaScript Engine: Tests for Chakra ActiveScript Mode - 3.0.9 + 3.1.0 net40;net45 Library true diff --git a/test/MsieJavaScriptEngine.Test.ChakraEdgeJsRt/MsieJavaScriptEngine.Test.ChakraEdgeJsRt.csproj b/test/MsieJavaScriptEngine.Test.ChakraEdgeJsRt/MsieJavaScriptEngine.Test.ChakraEdgeJsRt.csproj index f15fed9..b087cc1 100644 --- a/test/MsieJavaScriptEngine.Test.ChakraEdgeJsRt/MsieJavaScriptEngine.Test.ChakraEdgeJsRt.csproj +++ b/test/MsieJavaScriptEngine.Test.ChakraEdgeJsRt/MsieJavaScriptEngine.Test.ChakraEdgeJsRt.csproj @@ -2,7 +2,7 @@ MSIE JavaScript Engine: Tests for Chakra Edge JsRT Mode - 3.0.9 + 3.1.0 net40;net45;netcoreapp2.1;netcoreapp3.1;net5.0;net6.0;net7.0 Library true diff --git a/test/MsieJavaScriptEngine.Test.ChakraIeJsRt/MsieJavaScriptEngine.Test.ChakraIeJsRt.csproj b/test/MsieJavaScriptEngine.Test.ChakraIeJsRt/MsieJavaScriptEngine.Test.ChakraIeJsRt.csproj index dea7979..a6090e4 100644 --- a/test/MsieJavaScriptEngine.Test.ChakraIeJsRt/MsieJavaScriptEngine.Test.ChakraIeJsRt.csproj +++ b/test/MsieJavaScriptEngine.Test.ChakraIeJsRt/MsieJavaScriptEngine.Test.ChakraIeJsRt.csproj @@ -2,7 +2,7 @@ MSIE JavaScript Engine: Tests for Chakra IE JsRT Mode - 3.0.9 + 3.1.0 net40;net45;netcoreapp2.1;netcoreapp3.1;net5.0;net6.0;net7.0 Library true diff --git a/test/MsieJavaScriptEngine.Test.Classic/MsieJavaScriptEngine.Test.Classic.csproj b/test/MsieJavaScriptEngine.Test.Classic/MsieJavaScriptEngine.Test.Classic.csproj index d3a58ce..beaee3e 100644 --- a/test/MsieJavaScriptEngine.Test.Classic/MsieJavaScriptEngine.Test.Classic.csproj +++ b/test/MsieJavaScriptEngine.Test.Classic/MsieJavaScriptEngine.Test.Classic.csproj @@ -2,7 +2,7 @@ MSIE JavaScript Engine: Tests for Classic Mode - 3.0.9 + 3.1.0 net40;net45 Library true diff --git a/test/MsieJavaScriptEngine.Test.Common/MsieJavaScriptEngine.Test.Common.csproj b/test/MsieJavaScriptEngine.Test.Common/MsieJavaScriptEngine.Test.Common.csproj index 85710b4..1398b23 100644 --- a/test/MsieJavaScriptEngine.Test.Common/MsieJavaScriptEngine.Test.Common.csproj +++ b/test/MsieJavaScriptEngine.Test.Common/MsieJavaScriptEngine.Test.Common.csproj @@ -2,7 +2,7 @@ MSIE JavaScript Engine: Common Tests - 3.0.9 + 3.1.0 net40;net45;netcoreapp2.1;netcoreapp3.1;net5.0;net6.0;net7.0 Library true