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

12 commits

Author SHA1 Message Date
Georgy Angelov
52e52c1a04 Remove #Enter, #Exit and ::GetCurrent from C::Isolate
Also lock on some more places
2015-04-04 14:16:15 +00:00
Georgy Angelov
d0f568cf18 Add strings and some conversion options for values 2015-03-21 09:51:17 +00:00
Georgy Angelov
cf5c732880 Remove a TODO about the disposal of weak persistent handles
They ARE disposed of automatically. Source: https://strongloop.com/strongblog/node-js-v0-12-c-apis-breaking/
2015-03-20 21:37:49 +00:00
Georgy Angelov
d1e9088cf0 Port a ton of the original ext classes
You can now create a JS object from Ruby-land without segfaulting
2015-03-20 20:47:57 +00:00
Georgy Angelov
2fca33f9d0 Remove old ext files and spec & link to the new V8
The functionality will be added (that is, if I don't get bored) one thing at a time with the spec.
If you want to test, point the libv8 gem (in Gemfile) to its trunk branch & my changes at stormbreakerbg/libv8 @ trunk.

What works currently is getting V8 to initialize, say its version and create a new Isolate.
2015-03-18 21:57:39 +00:00
Charles Lowell
e0852e8963 make compatible with v8 3.15.11 2013-01-08 01:45:14 -06:00
Charles Lowell
83d5ba8a15 remove GC histrionics in backreferences.
The memory address for the storage cell does not
change, only the VALUE, so there is no need to 
unregister and register the storage cell pointer
with Ruby GC every time its value changes.
2012-09-19 15:40:15 +03:00
Charles Lowell
8ec7ba11e7 only use 'ref' gem for MRI 2012-08-11 14:22:22 -05:00
Charles Lowell
09e4d40251 Don't double allocate weak backfreferences 2012-07-08 15:08:37 -05:00
Charles Lowell
eb87ceb340 don't use rb_block_call() since it is not in rbx 2012-06-20 04:53:47 -05:00
Charles Lowell
7f967d0c5e avoid race condition in object back reference. 2012-06-20 03:17:34 -05:00
Charles Lowell
0d29c7fc15 keep a back reference to object wrappers 2012-06-08 14:14:38 -05:00