Skip to content

Commit

Permalink
Version 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Taritsyn committed Feb 6, 2023
1 parent 013fe25 commit cb35c8d
Show file tree
Hide file tree
Showing 15 changed files with 43 additions and 40 deletions.
12 changes: 8 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
33 changes: 16 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <code title="MsieJavaScriptEngine.JsEngineMode">JsEngineMode</code> enumeration:

Expand All @@ -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:
Expand Down Expand Up @@ -134,7 +134,7 @@ Consider in detail properties of the <code title="MsieJavaScriptEngine.JsEngineS
<td><code>UseJson2Library</code></td>
<td><code title="System.Boolean">Boolean</code></td>
<td><code>false</code></td>
<td>Flag for whether to use the <a href="http://github.com/douglascrockford/JSON-js">JSON2</a> library</td>
<td>Flag for whether to use the <a href="https://github.com/douglascrockford/JSON-js">JSON2</a> library</td>
</tr>
</tbody>
</table>
Expand All @@ -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
* [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
2 changes: 1 addition & 1 deletion build/common.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Project>
<PropertyGroup>
<Copyright>Copyright © 2012-2022 Andrey Taritsyn</Copyright>
<Copyright>Copyright © 2012-2023 Andrey Taritsyn</Copyright>
</PropertyGroup>
</Project>
4 changes: 2 additions & 2 deletions src/MsieJavaScriptEngine/MsieJavaScriptEngine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<Product>MSIE JavaScript Engine for .NET</Product>
<VersionPrefix>3.0.9</VersionPrefix>
<VersionPrefix>3.1.0</VersionPrefix>
<TargetFrameworks>net40-client;net45;netstandard1.3;netstandard2.0</TargetFrameworks>
<NetStandardImplicitPackageVersion Condition=" '$(TargetFramework)' == 'netstandard1.3' ">1.6.0</NetStandardImplicitPackageVersion>
<LangVersion>7.3</LangVersion>
Expand All @@ -13,7 +13,7 @@
<DisableDefaultResxToCsConversionTarget>true</DisableDefaultResxToCsConversionTarget>
<Title>$(Product)</Title>
<Authors>Andrey Taritsyn</Authors>
<Description>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).</Description>
<Description>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).</Description>
<PackageLicenseFile>LICENSE.txt</PackageLicenseFile>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageProjectUrl>https://github.com/Taritsyn/MsieJavaScriptEngine</PackageProjectUrl>
Expand Down
6 changes: 3 additions & 3 deletions src/MsieJavaScriptEngine/Resources/ES5.js
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down
Empty file.
10 changes: 5 additions & 5 deletions src/MsieJavaScriptEngine/readme.txt
Original file line number Diff line number Diff line change
@@ -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


===========
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<Product>MSIE JavaScript Engine: Benchmarks</Product>
<VersionPrefix>3.0.9</VersionPrefix>
<VersionPrefix>3.1.0</VersionPrefix>
<TargetFrameworks>net461;netcoreapp2.1;netcoreapp3.1;net5.0;net6.0;net7.0</TargetFrameworks>
<OutputType>Exe</OutputType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<Product>MSIE JavaScript Engine: Tests for Auto Mode</Product>
<VersionPrefix>3.0.9</VersionPrefix>
<VersionPrefix>3.1.0</VersionPrefix>
<TargetFrameworks>net40;net45;netcoreapp2.1;netcoreapp3.1;net5.0;net6.0;net7.0</TargetFrameworks>
<OutputType>Library</OutputType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<Product>MSIE JavaScript Engine: Tests for Chakra ActiveScript Mode</Product>
<VersionPrefix>3.0.9</VersionPrefix>
<VersionPrefix>3.1.0</VersionPrefix>
<TargetFrameworks>net40;net45</TargetFrameworks>
<OutputType>Library</OutputType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<Product>MSIE JavaScript Engine: Tests for Chakra Edge JsRT Mode</Product>
<VersionPrefix>3.0.9</VersionPrefix>
<VersionPrefix>3.1.0</VersionPrefix>
<TargetFrameworks>net40;net45;netcoreapp2.1;netcoreapp3.1;net5.0;net6.0;net7.0</TargetFrameworks>
<OutputType>Library</OutputType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<Product>MSIE JavaScript Engine: Tests for Chakra IE JsRT Mode</Product>
<VersionPrefix>3.0.9</VersionPrefix>
<VersionPrefix>3.1.0</VersionPrefix>
<TargetFrameworks>net40;net45;netcoreapp2.1;netcoreapp3.1;net5.0;net6.0;net7.0</TargetFrameworks>
<OutputType>Library</OutputType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<Product>MSIE JavaScript Engine: Tests for Classic Mode</Product>
<VersionPrefix>3.0.9</VersionPrefix>
<VersionPrefix>3.1.0</VersionPrefix>
<TargetFrameworks>net40;net45</TargetFrameworks>
<OutputType>Library</OutputType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<Product>MSIE JavaScript Engine: Common Tests</Product>
<VersionPrefix>3.0.9</VersionPrefix>
<VersionPrefix>3.1.0</VersionPrefix>
<TargetFrameworks>net40;net45;netcoreapp2.1;netcoreapp3.1;net5.0;net6.0;net7.0</TargetFrameworks>
<OutputType>Library</OutputType>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
Expand Down

0 comments on commit cb35c8d

Please sign in to comment.