Skip to content

Commit 8f96f33

Browse files
committed
Version 1.2.9:
1. In JavaScriptEngineSwitcher.ConfigurationIntelliSense updated definitions for configuration settings of MSIE and Jint JavaScript engines; 2. In JavaScriptEngineSwitcher.Msie: 2.1. Added support of MSIE JavaScript Engine version 1.5.4; 2.2. In configuration settings of MSIE JavaScript Engine added 2 new properties: `UseEcmaScript5Polyfill` (default `false`) and `UseJson2Library` (default `false`); 3. In JavaScriptEngineSwitcher.V8 added support of Microsoft ClearScript.V8 version 5.4.2.1 (support of V8 version 4.2.77.18); 4. In JavaScriptEngineSwitcher.Jurassic added support of Jurassic version of June 23, 2015; 5. In JavaScriptEngineSwitcher.Jint: 5.1. Added support of Jint version of June 24, 2015; 5.2. In configuration settings of Jint JavaScript Engine added one new property - `AllowDebuggerStatement` (default `false`).
1 parent 75a0f59 commit 8f96f33

File tree

31 files changed

+127
-56
lines changed

31 files changed

+127
-56
lines changed

Binaries/ClearScript/ClearScript.dll

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

Binaries/Jint/Jint.dll

5.5 KB
Binary file not shown.

Binaries/Jurassic/Jurassic.dll

0 Bytes
Binary file not shown.

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
Change log
22
==========
33

4+
## June 28, 2015 - v1.2.9
5+
* In JavaScriptEngineSwitcher.ConfigurationIntelliSense updated definitions for configuration settings of MSIE and Jint JavaScript engines
6+
* In JavaScriptEngineSwitcher.Msie added support of MSIE JavaScript Engine version 1.5.4 and in configuration settings added 2 new properties: `UseEcmaScript5Polyfill` (default `false`) and `UseJson2Library` (default `false`)
7+
* In JavaScriptEngineSwitcher.V8 added support of Microsoft ClearScript.V8 version 5.4.2.1 (support of V8 version 4.2.77.18)
8+
* In JavaScriptEngineSwitcher.Jurassic added support of Jurassic version of June 23, 2015
9+
* In JavaScriptEngineSwitcher.Jint added support of Jint version of June 24, 2015 and in configuration settings added one new property - `AllowDebuggerStatement` (default `false`)
10+
411
## May 26, 2015 - v1.2.8
512
* In JavaScriptEngineSwitcher.Jint added support of Jint version 2.5.0
613

JavaScriptEngineSwitcher.Jint/Configuration/JintConfiguration.cs

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,18 @@
88
public sealed class JintConfiguration : ConfigurationSection
99
{
1010
/// <summary>
11-
/// Gets or sets a flag for whether to enable script debugging features
12-
/// (allows a <code>debugger</code> statement to be called in a script)
11+
/// Gets or sets a flag for whether to allow the <code>debugger</code> statement
12+
/// to be called in a script
13+
/// </summary>
14+
[ConfigurationProperty("allowDebuggerStatement", DefaultValue = false)]
15+
public bool AllowDebuggerStatement
16+
{
17+
get { return (bool)this["allowDebuggerStatement"]; }
18+
set { this["allowDebuggerStatement"] = value; }
19+
}
20+
21+
/// <summary>
22+
/// Gets or sets a flag for whether to enable debug mode
1323
/// </summary>
1424
[ConfigurationProperty("enableDebugging", DefaultValue = false)]
1525
public bool EnableDebugging

JavaScriptEngineSwitcher.Jint/JavaScriptEngineSwitcher.Jint.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<AssemblyOriginatorKeyFile>..\JavaScriptEngineSwitcher.snk</AssemblyOriginatorKeyFile>
4040
</PropertyGroup>
4141
<ItemGroup>
42-
<Reference Include="Jint, Version=2.4.0.0, Culture=neutral, PublicKeyToken=2e92ba9c8d81157f, processorArchitecture=MSIL">
42+
<Reference Include="Jint, Version=2.5.0.0, Culture=neutral, PublicKeyToken=2e92ba9c8d81157f, processorArchitecture=MSIL">
4343
<SpecificVersion>False</SpecificVersion>
4444
<HintPath>..\Binaries\Jint\Jint.dll</HintPath>
4545
</Reference>

JavaScriptEngineSwitcher.Jint/JintJsEngine.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public sealed class JintJsEngine : JsEngineBase
3131
/// <summary>
3232
/// Version of original JavaScript engine
3333
/// </summary>
34-
private const string ENGINE_VERSION = "2.5.0";
34+
private const string ENGINE_VERSION = "Jun 24, 2015";
3535

3636
/// <summary>
3737
/// Jint JS engine
@@ -73,7 +73,8 @@ public JintJsEngine(JintConfiguration config)
7373
try
7474
{
7575
_jsEngine = new OriginalJsEngine(c => c
76-
.AllowDebuggerStatement(jintConfig.EnableDebugging)
76+
.AllowDebuggerStatement(jintConfig.AllowDebuggerStatement)
77+
.DebugMode(jintConfig.EnableDebugging)
7778
.LimitRecursion(jintConfig.MaxRecursionDepth)
7879
.MaxStatements(jintConfig.MaxStatements)
7980
.Strict(jintConfig.StrictMode)

JavaScriptEngineSwitcher.Jint/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
[assembly: ComVisible(false)]
1414
[assembly: Guid("4b51319e-014f-4731-8a80-15b5c58f3a72")]
1515

16-
[assembly: AssemblyVersion("1.2.8.0")]
17-
[assembly: AssemblyFileVersion("1.2.8.0")]
16+
[assembly: AssemblyVersion("1.2.9.0")]
17+
[assembly: AssemblyFileVersion("1.2.9.0")]

0 commit comments

Comments
 (0)