Quantcast
Channel: ClearScript
Browsing all 2297 articles
Browse latest View live

New Post: Line numbers in stacktraces

Well, it works pretty similar to what node.js does, so lets have a look at that:https://github.com/nodejs/node/blob/master/lib/internal/bootstrap_node.js Starting with line 386 a minimal module system...

View Article



New Post: C# Constructor

Hello. I have two class definitions in c# like this:publicclass Foo { public Foobar(int x) { ... } }publicclass Bar : Foo { public Bar(int x) : base(x) { ... } }Now I would like to make the...

View Article

Created Feature: [FEATURE] Add support for script line/column offsets [110]

This feature would permit accurate line/column error information for scripts embedded within HTML or other formats. Ideally it would be possible to specify negative offsets for situations where the...

View Article

New Post: Line numbers in stacktraces

Hi again, V8 does allow you to specify where a given script begins within its containing file, presumably to accommodate scripts embedded in HTML and other file formats. It also appears to permit...

View Article

New Post: C# Constructor

Hi ZoneRunner, There are several ways to do this. One is to use ClearScript's ExtendedHostFunctions class:var xHost = new ExtendedHostFunctions(); engine.Script.SomeObject.Foo =...

View Article


New Post: C# Constructor

Thank you.

View Article

Source code checked in, #26ec250ac354b63f5a97722841389cadba30e6f3

Version 5.4.7: Added ImmutableValueAttribute and fixed canonical reference support; fixed nested V8 syntax error reporting; added tests for bug fixes and new APIs. Tested with V8 5.3.332.45.

View Article

Released: ClearScript 5.4 (Oct 22, 2014)

5.4.7Added ImmutableValueAttribute and fixed canonical reference support.Hardened native timers and V8 background tasks, fixing intermittent V8 crashes.Fixed nested V8 syntax error reporting. Added...

View Article


Updated Release: ClearScript 5.4 (Oct 22, 2014)

5.4.7Added ImmutableValueAttribute and fixed canonical reference support.Hardened native timers and V8 background tasks, fixing intermittent V8 crashes.Fixed nested V8 syntax error reporting.Added...

View Article


Updated Wiki: Documentation

Documentation To learn more about ClearScript: Check out the ClearScript tutorial: [Word], [PDF].Browse the ClearScript Library Reference: [Cannot resolve file macro, invalid file name or id.]. Save...

View Article

Updated 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 Article

Updated Wiki: Announcements

9/13/2016: Version 5.4.7 released. View the release notes and download the source code here. 5/29/2016: Version 5.4.6 released. View the release notes and download the source code here. 3/10/2016:...

View Article

Image may be NSFW.
Clik here to view.

Updated Wiki: Home

Version 5.4.7 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 Article


New Post: Problem building the 5.4.7 in the v8 32 bit step

I am getting this error when trying to build the v8 engine using the 5.4.7 ClearScript package."C:\ClearScript\ClearScript\V8\V8\build\v8-ia32\src\v8.sln" (v8 target) (1)...

View Article

New Post: Calling a JS Function from a script that has been exectued

So the issue is this, I need to load a script and execute the script, and keep it's state, for a subsequent call to a function within the script based upon a UI event. For example: A script: var hello...

View Article


New Post: Calling a JS Function from a script that has been exectued

Hi dru_satori,scriptEngine.Invoke("spanishHello") should work; another possibility is scriptEngine.Script.spanishHello(). Are you sure you're using the same engine instance that executed the script? Is...

View Article

New Post: Calling a JS Function from a script that has been exectued

I'll have to see if I can pull it apart and give you a test case. The error I'm getting is 'Invalid object or property access' thrown as Microsoft.ClearScript.ScriptingEngineException.

View Article


New Post: Calling a JS Function from a script that has been exectued

Hi again, That message would be expected if you used different JScriptEngine instances to run the script and invoke the function. Are you sure that's not the case? Cheers!

View Article

New Post: Problem building the 5.4.7 in the v8 32 bit step

Hello dennisdc, We cannot reproduce this on the following configurations:Windows 10 64-bit, Visual Studio 2015 with Updates 2 and 3 Windows 7 32-bit, Visual Studio 2013 with Update 5 Can you describe...

View Article

New Post: Problem building the 5.4.7 in the v8 32 bit step

Windows 7 64-bit, Visual Studio 2013 with no updates. I am currently in the process of updating my VS 2013 now to Update 5, and will report back if it changes anything.

View Article
Browsing all 2297 articles
Browse latest View live




Latest Images