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

Commented Unassigned: Issue with building ClearScript with V8 support [62]

Hi there,I just downloaded ClearScript-5.4.0.zip directly from CodePlex and tried to build it in order to run it with V8 support. However, I couldn't get past the point of building 32-bit version of...

View Article



New Post: Handling CLR exceptions in JS

I see there was mention of a more general version of this but I don't know where to look for follow-up. Is there some sort of interface or magic return type we can use to signal the result of an...

View Article

New Post: Handling CLR exceptions in JS

Hello! ClearScript 5.4 does include a generalized version of tryCatch(). Here's an example: engine.AddHostObject("host", new HostFunctions()); engine.AddHostType("Console", typeof(Console));...

View Article

Edited Issue: Issue with building ClearScript with V8 support [62]

Hi there,I just downloaded ClearScript-5.4.0.zip directly from CodePlex and tried to build it in order to run it with V8 support. However, I couldn't get past the point of building 32-bit version of...

View Article

Commented Issue: Issue with building ClearScript with V8 support [62]

Hi there,I just downloaded ClearScript-5.4.0.zip directly from CodePlex and tried to build it in order to run it with V8 support. However, I couldn't get past the point of building 32-bit version of...

View Article


Commented Issue: Issue with building ClearScript with V8 support [62]

Hi there,I just downloaded ClearScript-5.4.0.zip directly from CodePlex and tried to build it in order to run it with V8 support. However, I couldn't get past the point of building 32-bit version of...

View Article

New Post: Evaluating CLR Method as value in script

Well, I was using jQuery as an example since it's a common library. My code will be retrieving and executing scripts from 3rd party servers. I am trying to achieve a high level of compatibility (I have...

View Article

New Post: Evaluating CLR Method as value in script

Hi krisoye​ Is there a way to override the toString() method on ClearScript objects? Perhaps via some sort of Prototype object? [...] Expected: Something other than undefined and ideally overridden to...

View Article


New Post: Handling CLR exceptions in JS

Awesome! I had some other issues that were resolved by reading from the forum here. Originally I had exceptions bubbling up and out, but now that I've been able to attach a debugger I can see it...

View Article


New Post: Evaluating CLR Method as value in script

Well, that's pretty slick! V8 seems to run this code unless I attach a debugger. JScript (which seems easier to debug) does not (which complains about constructor.prototype not being defined). If I try...

View Article

New Post: Evaluating CLR Method as value in script

Additional: I disabled my own "prototype objects" and was able to step into the debugger. So it must be something in my code that is causing the crash. Thanks again for the workaround!

View Article

New Post: Evaluating CLR Method as value in script

Hi again, Glad to hear that it worked for you, but yes, this solution can only work in V8, as JScript's embedding model is completely different and doesn't involve native proxies that conform to...

View Article

New Post: ClearScript on Mono/Xamarin?

Just signing in to register my interest in running under Mono also. considering Microsoft is making vNext cross platform I think having this EXCELLENT project cross platform would be awesome. I know, I...

View Article


New Post: I get memory leaks without running CollectGarbage

Hi I have a script that is simply:function foo(items) { items.toSomething(); // toSomething is a .NET function that does something to the list and returns a new one. } loop { // this loop runs many...

View Article

New Post: I get memory leaks without running CollectGarbage

Hi Stefan,​ I find that if I do not collect garbage eventually I end up with a memory leak, what is it holding onto I assume the collection passed into the method? ​ The CLR and the script engine have...

View Article


Created Unassigned: ClearScript V8ScriptEngine Arithmetic [63]

Hello,I need help about clearscript. I am using class and this class has a variable. Example is under.public class DataDict{ public decimal AmountPenetrationBonus { get; set; } public decimal...

View Article

Edited Unassigned: ClearScript V8ScriptEngine Arithmetic [63]

i resolved issue, thanks :)

View Article


Edited Issue: ClearScript V8ScriptEngine Arithmetic [63]

i resolved issue, thanks :)

View Article

Commented Issue: ClearScript V8ScriptEngine Arithmetic [63]

i resolved issue, thanks :)Comments: Glad to hear it!

View Article

New Post: access indexer of a hosted object

I am trying to get my NamedNodeMap type working which may be indexed either by a number or a string. If I implement IList then I can evaluate expressions like map[0] -> Attr(href="") but map['href']...

View Article
Browsing all 2297 articles
Browse latest View live




Latest Images