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
Charles Lowell
92352f5be3 refactor the context out into its own header and impl file. Establish linkage between javascript objects and their ruby peers 2009-11-02 21:03:56 -06:00
Charles Lowell
0983e7f4a6 add specs for converting ruby to javascript. Allow creating of opaque objects 2009-11-01 11:53:19 -06:00
Charles Lowell
3eb5c526b1 access javascript objects from ruby 2009-10-22 23:27:41 -05:00
Bill Robertson
68c968e109 Add a docs target & worked on documentation. Changed pushString() to
std::string, and added pushUnknown() to conversion destination classes
2009-10-17 23:45:02 -04:00
Bill Robertson
be8f4b2594 Tweak extconf to generate test target that
calls ruby spec.
2009-10-15 23:45:53 -04:00
Bill Robertson
456fa3a282 Crazy clunky type convert system or something
good?
2009-10-15 23:23:53 -04:00
Charles Lowell
18571c17cf call persistent handle dispose when context goes away 2009-10-08 22:56:08 -05:00
Charles Lowell
f7f591fc9e whoa. it actually evaluated some javascript 2009-10-08 22:50:51 -05:00
Charles Lowell
6d90a69f72 acutally wrap a v8 context. w00t\! 2009-10-08 22:27:41 -05:00
Bill Robertson
e3013b3e71 1/2 baby step, put an object into the struct. 2009-10-08 22:38:26 -04:00
Bill Robertson
e7caf25d09 couple of tweaks in prep for using v8. switched malloc/free to new/
delete.  Changed class name to "Context"  Also tried to link V8,
but I don't know anything about the ruby make script.
2009-10-08 21:22:29 -04:00
Bill Robertson
138ef05d6a g++ now directing the linking, so extern "C" works. The example
code now also creates a simple struct and shuffles some data
around in it.  Also using the _allocate & _free stuff.
2009-10-08 20:46:59 -04:00
Renamed from v8.c (Browse further)