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

20 commits

Author SHA1 Message Date
Charles Lowell
2c3d4e19b6 make the spec output pretty 2009-10-16 15:32:01 -05:00
Charles Lowell
5a45899135 map js(undefined) -> ruby(nil) 2009-10-16 15:27:39 -05:00
Charles Lowell
693a42b5d4 add testcases for buffering logic in string coversions. preallocate entire ruby string beforehand. 2009-10-16 09:55:18 -05:00
Charles Lowell
35577e1e3f add facile implementation of String js->ruby which assumes ascii encoding 2009-10-16 09:32:20 -05:00
Charles Lowell
f240e35b63 enable js->ruby type conversion for floats, booleans. Add testcases for null -> nill and undefined -> nil 2009-10-16 08:29:23 -05:00
Bill Robertson
35a15b39d9 this file should not have been added. 2009-10-15 23:50:17 -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
fabd535875 add specs for type conversion 2009-10-14 22:51:50 -05:00
Charles Lowell
bae75cbd1b ignore mkmf.log 2009-10-13 15:51:27 -05:00
Charles Lowell
848d2866de fail if we can't find the v8 library 2009-10-13 12:02:40 -05: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
Charles Lowell
6704426bdd add config.sh file to automatically invoke extconf.rb and ignore make artifacts 2009-10-08 22:26:58 -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
Bill Robertson
95c4cd1cae last weeks's changes 2009-10-07 23:35:39 -04:00
Charles Lowell
5d78b41428 first spike 2009-10-01 21:17:06 -05:00