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

34 commits

Author SHA1 Message Date
Charles Lowell
681b02e08c If on linux amd64, compile V8 objects with -fPIC for both C and C++ files. 2010-02-16 20:42:08 -06:00
Charles Lowell
e27445c8ea don't use g++ to build the shared library on darwin 2010-02-16 15:30:31 -06:00
Charles Lowell
6c0b150046 set GCC_VERSION flag on scons build. convert v8 build to makefile instead of ruby script. 2010-02-16 14:40:05 -06:00
Charles Lowell
1024c6ebaf for linking to be handled by g++ 2010-02-15 23:12:34 -06:00
Charles Lowell
e9539441cf remove std:: namespace on sprintf() so that it compiles on linux 2010-02-15 21:47:53 -06:00
Charles Lowell
c4b1c79448 remove printf() 2010-02-11 17:36:44 -06:00
Charles Lowell
a9e1d57fc1 compile level fixes for 1.9 2010-02-11 17:14:47 -06:00
Charles Lowell
a20279e897 Add methods to get detailed source and line data from error messages 2010-02-08 10:53:20 -06:00
Charles Lowell
205c52c5bf import v8 source
move v8 src to google dir

moving v8 source into main extension

move google upstream source dir into v8 ext dir

include v8 library in generated bundle

prep for 0.4.7

roll the upstream build into the main extension build

Documentation was confusing the gem packager.

simplify build instructions with bundled v8.

Only install scons and build v8 if it has not been built already.

Missing CVS.py from the scons library due to ignore patterns.

Don't need libv8 anymore, only python 2.5 which is required to build it.
2010-02-04 13:41:54 -06:00
Charles Lowell
627b974144 check to see if there was an exception compiling the script. raise it if so 2010-01-30 21:06:55 -06:00
Charles Lowell
6ceb2f63ae compatibility fix for ruby 1.8.6 2010-01-26 09:31:59 -06:00
Charles Lowell
1dd55ffa77 Enumerate ruby properties in javascript. 2010-01-18 01:12:23 +02:00
Charles Lowell
f3811a48c2 Dynamic handling of ruby properties. Invoking ruby setters from javascript. Removed a bunch of segfaulting. Now objects have references to the context that created them. 2010-01-18 00:25:40 +02: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
Charles Lowell
6adef0bfb6 Ruby objects embedded into v8 are passed back to ruby code as themselves. Use any ruby object as the scope of an eval. 2010-01-13 17:15:53 +02:00
Bill Robertson
15c06a702f Add -Wall to compile. Fix one (and only) warning 2010-01-12 16:16:12 +02:00
Charles Lowell
5524227382 Make V8::Object enumerable 2010-01-10 20:56:10 +02:00
Charles Lowell
441aa30a7f Set properties on javascript objects which are reflected into ruby. 2010-01-10 12:02:08 +02:00
Charles Lowell
772fa7d586 Invoke ruby methods with their javascript property names. 2010-01-10 11:37:51 +02:00
Charles Lowell
a253485712 Can now embed ruby objects and call their public methods from javascript. 2010-01-10 00:13:03 +02:00
Charles Lowell
36628a1792 expose Get() method on native message object. Re-raise javascript exceptions in ruby. 2010-01-09 18:55:37 +02:00
Bill Robertson
0e30abaff2 methods too 2010-01-09 10:52:30 -05:00
Bill Robertson
9508d79e6d OMG it works, embed a lamda in a context 2010-01-09 10:43:08 -05:00
Bill Robertson
f600b1fe03 step 2: make templated converters handle simple things only, and have complicated conversions occur in the converter functions. 2010-01-09 16:40:18 +02:00
Bill Robertson
76d2a92e55 squash stragglers not using default converters 2010-01-09 16:40:18 +02:00
Bill Robertson
23a8d77676 remove some debug statements 2010-01-09 16:40:18 +02:00
Bill Robertson
1b85fd26d8 commit to branch before switching back to master to make it compile. 2010-01-09 16:40:18 +02:00
Bill Robertson
94e4c62061 make it compile 2010-01-09 16:40:18 +02:00
Charles Lowell
0ac1f7c6bb make converters global 2009-12-22 14:44:11 +02:00
Charles Lowell
47103149c9 move eval() implementation into C. make global stateless converters 2009-12-20 19:31:02 +02:00
Charles Lowell
a0af37906c start building out ruby interface 2009-12-18 09:48:06 +02:00
Charles Lowell
12c5723411 comment out ref counting debug output 2009-12-16 14:03:57 +01:00
Charles Lowell
7912eec8cd get the ruby racer running on the shared specs (which fail horribly) 2009-12-16 07:40:19 +01:00
Charles Lowell
2df1f3f33b 'gemify' the source 2009-12-15 07:35:55 +02:00