New Post: V8ScriptEngine.Compile vs. V8ScriptEngine.Script
The difference in average runtimes between the two techniques is now so small as to be negligible. That's good, because using the V8ScriptEngine.Script object to invoke the JavaScript method is...
View ArticleSource code checked in, #21f490f61d9b1f0f6d770a855a3275dfbe1c9c91
Version 5.3.6: Added numeric conversion methods in HostFunctions, fixed bugs affecting numeric arguments and return values. Tested with V8 3.20.16.
View ArticleReleased: ClearScript 5.3 (May 21, 2013)
5.3.6Added numeric conversion methods in HostFunctions.Fixed bugs affecting numeric arguments and return values. Added tests for bug fixes and new APIs. Tested with V8 3.20.16.5.3.5Fixed invocation of...
View ArticleUpdated Release: ClearScript 5.3 (May 21, 2013)
5.3.6Added numeric conversion methods in HostFunctions.Fixed bugs affecting numeric arguments and return values.Added tests for bug fixes and new APIs.Tested with V8 3.20.16.5.3.5Fixed invocation of...
View ArticleUpdated Wiki: Announcements
8/14/2013: Version 5.3.6 released. View the release notes and download the source code here. 8/2/2013: Version 5.3.5 released. View the release notes and download the source code here. 7/10/2013:...
View ArticleUpdated Wiki: Documentation
Documentation To learn more about ClearScript: Check out the ClearScript tutorial: [Word], [PDF].Browse the ClearScript Library Reference: [Reference.chm]. Save this file before opening it. If you get...
View ArticleUpdated Wiki: Home
8/14/2013: Version 5.3.6 released. More...Description ClearScript is a library that makes it easy to add scripting to your .NET applications. It currently supports JavaScript (via V8 and JScript) and...
View ArticleNew Post: How to use CLR enum in script?
Hello qrli!​ I cannot call a CLR function with single precesion float parameters, because Javascript numbers are double.​ Version 5.3.6 includes a new toSingle() method for passing float arguments....
View ArticleNew Post: More Build Issues
The issue with PYTHONHOME applies to PYTHONPATH as well, I have msysgit installed and that was part of the installation. You may want to bake this into your V8Update as well.
View ArticleCreated Unassigned: V8Engine.Evalute(V8Script) returns HostObject for .net...
``` public class TestItem{ public string Str { get; set; }} class Program{ static void Main(string[] args){ using (var runtime = new V8Runtime()) using (var engine = runtime.CreateScriptEngine()){...
View ArticleEdited Unassigned: V8ScriptEngine.Evaluate(V8Script) returns HostObject for...
``` public class TestItem{ public string Str { get; set; }} class Program{ static void Main(string[] args){ using (var runtime = new V8Runtime()) using (var engine = runtime.CreateScriptEngine()){...
View ArticleCommented Unassigned: V8ScriptEngine.Evaluate(V8Script) returns HostObject...
``` public class TestItem{ public string Str { get; set; }} class Program{ static void Main(string[] args){ using (var runtime = new V8Runtime()) using (var engine = runtime.CreateScriptEngine()){...
View ArticleEdited Issue: V8ScriptEngine.Evaluate(V8Script) returns HostObject for .net...
``` public class TestItem{ public string Str { get; set; }} class Program{ static void Main(string[] args){ using (var runtime = new V8Runtime()) using (var engine = runtime.CreateScriptEngine()){...
View ArticleNew Post: Using ClearScript. WebApplication problem
Was clearscript ever made compatible with shadowcopy? I have 5.3.6 and shadow copy had to be disabled in order to work.
View ArticleNew Post: Using ClearScript. WebApplication problem
Hi lolboxen, ClearScript looks for its auxiliary assemblies in several places. One of them is the AppDomain base directory. For a web application we recommend that, in addition to referencing...
View ArticleNew Post: Using ClearScript. WebApplication problem
That is basically how I have the project setup. Clearscript.dll is added as a reference, ClearScriptV8-32.dll and v8-ia32.dll are added as resources. These get copied to bin directory and as a...
View ArticleNew Post: Using ClearScript. WebApplication problem
Thanks for your kind words! Unfortunately so far we haven't been able reproduce any issues with assembly shadow copy. If you leave it enabled, what symptoms do you see? We just created a new ASP.NET...
View ArticleNew Post: Using ClearScript. WebApplication problem
Ah I found the problem, those two files CANNOT be copied into the bin directory. They can ONLY exist in the root.
View ArticleNew Post: Using ClearScript. WebApplication problem
Ah, yes, we can see that setting ClearScriptV8-32.dll to "Copy Always" breaks the project, but we cannot explain why. In that configuration the application can't start at all; we're even seeing it in a...
View Article