Skip to content

Commit

Permalink
Version 3.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Taritsyn committed Mar 8, 2020
1 parent ef2f86a commit e801791
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 22 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Change log
==========

## v3.0.7 - March 8, 2020
* Fixed a error “Program crash after function call with too much parameters”

## v3.0.6 - December 16, 2019
* Fixed a errors leading to null reference exceptions in the `ReflectionHelpers` class. Special thanks to [Vanjoge](https://github.com/vanjoge).

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-2019 Andrey Taritsyn - http://www.taritsyn.ru
Copyright (c) 2012-2020 Andrey Taritsyn - http://www.taritsyn.ru

Apache License
Version 2.0, January 2004
Expand Down
2 changes: 1 addition & 1 deletion build/common.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<Copyright>Copyright © 2012-2019 Andrey Taritsyn</Copyright>
<Copyright>Copyright © 2012-2020 Andrey Taritsyn</Copyright>
</PropertyGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'net40-client' Or '$(TargetFramework)' == 'net45' Or '$(TargetFramework)' == 'net451' Or '$(TargetFramework)' == 'net46' ">
Expand Down
6 changes: 1 addition & 5 deletions src/MsieJavaScriptEngine/HostObject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,7 @@ protected override object InnerInvokeMember(string name, BindingFlags invokeAttr
skippedArgCount = 1;
}

int processedArgCount = argCount;
if (processedArgCount >= skippedArgCount)
{
processedArgCount -= skippedArgCount;
}
int processedArgCount = argCount >= skippedArgCount ? argCount - skippedArgCount : 0;
if (processedArgCount > parameterCount)
{
processedArgCount = parameterCount;
Expand Down
6 changes: 1 addition & 5 deletions src/MsieJavaScriptEngine/JsRt/TypeMapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -242,11 +242,7 @@ protected object[] GetHostItemMemberArguments(TValue[] args, int maxArgCount = -

int argCount = args.Length;
const int skippedArgCount = 1;
int processedArgCount = argCount;
if (processedArgCount >= skippedArgCount)
{
processedArgCount -= skippedArgCount;
}
int processedArgCount = argCount >= skippedArgCount ? argCount - skippedArgCount : 0;
if (maxArgCount >= 0 && processedArgCount > maxArgCount)
{
processedArgCount = maxArgCount;
Expand Down
2 changes: 1 addition & 1 deletion 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.6</VersionPrefix>
<VersionPrefix>3.0.7</VersionPrefix>
<TargetFrameworks>net40-client;net45;netstandard1.3;netstandard2.0</TargetFrameworks>
<NetStandardImplicitPackageVersion Condition=" '$(TargetFramework)' == 'netstandard1.3' ">1.6.0</NetStandardImplicitPackageVersion>
<LangVersion>7.3</LangVersion>
Expand Down
4 changes: 2 additions & 2 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.6
README file for MSIE JavaScript Engine for .NET v3.0.7

--------------------------------------------------------------------------------

Copyright (c) 2012-2019 Andrey Taritsyn - http://www.taritsyn.ru
Copyright (c) 2012-2020 Andrey Taritsyn - http://www.taritsyn.ru


===========
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.6</VersionPrefix>
<VersionPrefix>3.0.7</VersionPrefix>
<TargetFrameworks>net461;netcoreapp2.1;netcoreapp3.1</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.6</VersionPrefix>
<VersionPrefix>3.0.7</VersionPrefix>
<TargetFrameworks>net40;net451;netcoreapp1.0;netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
<RuntimeFrameworkVersion Condition=" '$(TargetFramework)' == 'netcoreapp1.0' ">1.0.16</RuntimeFrameworkVersion>
<OutputType>Library</OutputType>
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.6</VersionPrefix>
<VersionPrefix>3.0.7</VersionPrefix>
<TargetFrameworks>net40;net451</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.6</VersionPrefix>
<VersionPrefix>3.0.7</VersionPrefix>
<TargetFrameworks>net40;net451;netcoreapp1.0;netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
<RuntimeFrameworkVersion Condition=" '$(TargetFramework)' == 'netcoreapp1.0' ">1.0.16</RuntimeFrameworkVersion>
<OutputType>Library</OutputType>
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.6</VersionPrefix>
<VersionPrefix>3.0.7</VersionPrefix>
<TargetFrameworks>net40;net451;netcoreapp1.0;netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
<RuntimeFrameworkVersion Condition=" '$(TargetFramework)' == 'netcoreapp1.0' ">1.0.16</RuntimeFrameworkVersion>
<OutputType>Library</OutputType>
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.6</VersionPrefix>
<VersionPrefix>3.0.7</VersionPrefix>
<TargetFrameworks>net40;net451</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.6</VersionPrefix>
<VersionPrefix>3.0.7</VersionPrefix>
<TargetFrameworks>net40;net451;netcoreapp1.0;netcoreapp2.1;netcoreapp3.1</TargetFrameworks>
<RuntimeFrameworkVersion Condition=" '$(TargetFramework)' == 'netcoreapp1.0' ">1.0.16</RuntimeFrameworkVersion>
<OutputType>Library</OutputType>
Expand Down

0 comments on commit e801791

Please sign in to comment.