1
0
Fork 0
mirror of https://github.com/rubyjs/therubyracer synced 2023-03-27 23:21:42 -04:00
Commit graph

22 commits

Author SHA1 Message Date
Charles Lowell
67a1cc5c9e set JavaScript function() names from Ruby. 2011-03-21 16:56:44 -05:00
Charles Lowell
1fd52be6dd allow function to access the global object. 2010-08-30 14:36:21 -05:00
Charles Lowell
e4d96e24ed fix segfaulting testcases 2010-08-30 14:36:21 -05:00
Charles Lowell
8f8c03e207 make V8::Function use portal in lieu of context directly. 2010-08-30 14:36:21 -05:00
Charles Lowell
1be713d53d refactor value converter to be per-context. 2010-08-30 14:36:21 -05:00
Charles Lowell
c22bbd9177 break out access into instance based scheme 2010-08-30 14:36:21 -05:00
Charles Lowell
1b5ea69f67 allow default ruby access property interceptors to specify which properties they do *not* intercept. 2010-08-05 11:37:49 -05:00
Charles Lowell
d1cf3cea0f send messages directly to objects when possible rather than extracting a bound method first. 2010-08-03 08:09:23 -05:00
Charles Lowell
c1909ad39c add rubysend() as replacement for rubycall where appropriate. 2010-08-02 17:03:14 -05:00
Charles Lowell
adfe16d428 don't catch SystemExit, NoMemoryError 2010-06-15 23:05:40 +03:00
Charles Lowell
168394721f support for a mixed javascript and ruby stack. 2010-06-14 16:18:30 +03:00
Charles Lowell
48d6e04e17 renamed js error into something more manageable 2010-06-11 17:11:49 +03:00
Charles Lowell
4a372c2382 check please 2010-06-08 12:47:20 +03:00
Charles Lowell
2b1c38b792 finalize change of To.ruby() -> To.rb() 2010-06-07 10:59:41 +03:00
Charles Lowell
90571bb1a4 remove uneeded argc parameter from C::Function#NewInstance() 2010-06-03 13:56:07 +03:00
Charles Lowell
7a656e8e46 cleanup native function.Call() 2010-06-03 13:09:52 +03:00
Charles Lowell
b82d5b7154 function.call() now assumes global "this" object. use function.methodcall(thisObj,...) to change the context. fuction.new() invokes function as javascript constructor. 2010-06-03 12:51:06 +03:00
Charles Lowell
ab33a88411 wrap calling from v8 -> rb so that we get uniform stack treatment 2010-05-27 18:30:19 +03:00
Charles Lowell
ae9c88bad4 keep ruby objects alive as long as V8 has a reference to them, even if ruby does not currently have a reference. rethrow ruby exceptions as javascript exceptions. 2010-05-26 19:54:56 +03:00
Charles Lowell
fea99b72bd expose global scope as an attribute on context. Add Array#length. kinda useful :) 2010-05-26 13:23:14 +03:00
Charles Lowell
14edf2b0ff move ruby function invocation and property lookup into ruby 2010-05-22 09:23:22 +03:00
Charles Lowell
e60b22f8d2 call JavaScript functions from Ruby 2010-04-22 11:46:21 -05:00