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

27 commits

Author SHA1 Message Date
Charles Lowell
158717bc60 simplify TryCatch wrappers. 2011-05-10 15:19:34 -05:00
Charles Lowell
dd7f1ffd21 add spec for segfaulting on native prototype extension. 2011-05-03 11:28:11 -05:00
Charles Lowell
d2017c673d extract memory specs into separate folder. Memory is notorious to test, and is unreliable depending on the platform. 2011-05-03 11:13:55 -05:00
Charles Lowell
2642cbd4ae disable memory specs which weren't working on 1.8 2011-05-03 09:35:26 -05:00
Charles Lowell
e09bfe5e84 fix back reference to the highlevel context from the low-level context. 2011-04-26 12:35:51 -05:00
Charles Lowell
45b53341e2 Handle#MakeWeak() now has a signature faithful to its v8 counterpart. 2011-04-26 11:30:38 -05:00
Charles Lowell
53e0b3d2ec make Array maintain referential integrity. 2011-04-22 09:09:15 -05:00
Charles Lowell
a9eec635a7 infrastructure for managing JavaScript proxies for Ruby object at the gc level. 2011-04-18 10:24:52 -05:00
Charles Lowell
624ce94568 add preliminary support for weak backreferences. 2011-04-13 16:20:48 -05:00
Charles Lowell
fe90ba39b7 implement weak reference callbacks in handles. 2011-04-13 08:45:07 -05:00
Charles Lowell
3879db8769 use methods, not direct storage to access constants 2011-04-13 08:45:07 -05:00
Charles Lowell
f6a618aecc substitute generic handle struct for everywhere that was using refs 2011-04-13 08:45:07 -05:00
Charles Lowell
54be41c883 basic skeleton for more uniform treatment of handles. 2011-04-13 08:45:07 -05:00
Charles Lowell
0ffce72fe1 handle checkpoint. 2011-04-13 08:45:07 -05:00
Charles Lowell
fdb62441b1 basic memory specs 2011-04-13 08:45:06 -05:00
Charles Lowell
67a1cc5c9e set JavaScript function() names from Ruby. 2011-03-21 16:56:44 -05:00
Charles Lowell
bfb9e9e33a add support for retrieving the JavaScript stack trace from Ruby via Context#stack. 2011-03-10 06:25:54 -06: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
00dad84dcf access check not necessary if it doesn't matter if we're in contexts anymore 2010-05-27 19:30:43 +03:00
Charles Lowell
5b2c88002c move callbacks into ruby code. make sure handle scopes are everywhere. raise exception when context needs to be open rather than segfault in certain cases. 2010-05-20 12:08:17 +03:00
Charles Lowell
5737292a86 move eval() and error handling into ruby 2010-05-20 12:08:16 +03:00
Charles Lowell
d9479d98e6 complete change to GetEntered() 2010-05-20 12:08:16 +03:00
Charles Lowell
3762909be4 change Context::GetCurrent() to GetEntered(), since that's what's meant most of the time anyway. Give objects a cleaner references to their wrapping context. 2010-05-20 12:08:16 +03:00
Charles Lowell
9ef1695abd move funcalls into their own module 2010-05-20 12:08:16 +03:00
Charles Lowell
e60b22f8d2 call JavaScript functions from Ruby 2010-04-22 11:46:21 -05:00
Charles Lowell
a44675f70a native eval now takes a source parameter. 2010-02-11 16:42:40 -06:00
Charles Lowell
56c5558be7 native C objects now have a reference to the context that created them. Add identity/equality check for C::Context 2010-01-14 00:51:46 +02:00