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

142 commits

Author SHA1 Message Date
Charles Lowell
4a372c2382 check please 2010-06-08 12:47:20 +03:00
Charles Lowell
2651184833 remove access to External::Value(). Not sure what it does. 2010-06-08 10:41:03 +03:00
Charles Lowell
0ae6e8b67d add access to PrototypeTemplate() InstanceTemplate() and Inherit() methods on v8::FunctionTemplate 2010-06-08 10:33:12 +03:00
Charles Lowell
c27f18f0be added access to String::NewSymbol() 2010-06-08 07:44:30 +03:00
Charles Lowell
eeea845a0c fixes for rubinius 2010-06-07 13:52:07 +03:00
Charles Lowell
ff0e11fee8 remove old V8_Ref_Create() function 2010-06-07 10:50:33 +03:00
Charles Lowell
b8b9d69f27 don't handle every segfault system-wide. 2010-06-07 10:36:51 +03:00
Charles Lowell
0dd6c02991 rr_define_class already marks new() private. 2010-06-07 10:32:44 +03:00
Charles Lowell
df106eb72e use new nomenclature for wrapping references. 2010-06-07 10:30:45 +03:00
Charles Lowell
bfc0a84858 make V8::C::Function class VALUE storage private. 2010-06-07 10:27:07 +03:00
Charles Lowell
be469dfbe1 V8 -> Ruby references GC automatically handled by V8::C::External. remove obsolute attr 2010-06-07 10:24:46 +03:00
Charles Lowell
797e9f9fa0 remove temporary workaround to access ruby standard object template from C++ 2010-06-07 10:22:12 +03:00
Charles Lowell
388013f92e rr_define_class() already marks the ruby new() method private. 2010-06-07 10:19:15 +03:00
Charles Lowell
b9a3aba004 remove obsolete function prototypes. 2010-06-07 10:17:13 +03:00
Charles Lowell
f8fc3a3284 Make the V8 Context native wrapper more private. 2010-06-07 10:13:26 +03:00
Charles Lowell
0ffd0c6bf8 get rid of C++ camel case conversion functions. These are handled in ruby now. 2010-06-06 21:18:49 +03:00
Charles Lowell
3d58f3568e all v8 callbacks run in their own handle scope so there is no need to declare a new one. 2010-06-06 15:45:24 +03:00
Charles Lowell
f7a1e0a9f8 remove C++ thunking layer. conversions happen in ruby. 2010-06-06 14:34:10 +03:00
Charles Lowell
5a89e05e38 V8 callbacks are now in ruby. remove C++ callbacks. 2010-06-06 14:29:33 +03:00
Charles Lowell
da2c83e7ce make C::Context::New() mirror the actual native method. 2010-06-06 14:22:02 +03:00
Charles Lowell
8d6290b7e4 Convert context to use the standard ruby object template. 2010-06-06 14:11:18 +03:00
Charles Lowell
ec749aab49 we don't generate javascript objects from ruby objects from within C++ anymore. 2010-06-06 13:18:41 +03:00
Bill Robertson
172d4403b1 Fix warnings (doh!) 2010-06-05 19:20:34 +08:00
Charles Lowell
185938df16 Revert "upgrade to V8 2.2.14" --totally hosed RHEL 5
This reverts commit c1223abcd8.
2010-06-05 13:50:25 +03:00
Charles Lowell
2d02aa463d Revert "reapply -fPIC patch for linux amd64"
This reverts commit bf6db39803.
2010-06-05 13:49:59 +03:00
Charles Lowell
bf6db39803 reapply -fPIC patch for linux amd64 2010-06-05 12:13:19 +03:00
Charles Lowell
c1223abcd8 upgrade to V8 2.2.14 2010-06-05 11:07:04 +03:00
Charles Lowell
3974fc1f7c Add experimental jasmine support 2010-06-03 14:05:37 +03:00
Charles Lowell
f12ce20015 remove compiler warning. 2010-06-03 14:05:23 +03:00
Charles Lowell
90571bb1a4 remove uneeded argc parameter from C::Function#NewInstance() 2010-06-03 13:56:07 +03:00
Charles Lowell
7a656e8e46 cleanup native function.Call() 2010-06-03 13:09:52 +03: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
3b30e3c5bd need a space in -lv8 for linux 2010-06-02 13:05:32 +03:00
Charles Lowell
c81ea28856 put the built v8 at the front of the linker path in case we have a system wide copy of libv8 2010-06-02 12:51:45 +03:00
Charles Lowell
e0e581136d make method v8::Handle::IsEmpty() scriptable. 2010-05-31 10:08:18 +03:00
Charles Lowell
ec85d5ea15 reset the try_catch object after a TC block just in case. 2010-05-31 10:07:16 +03:00
Charles Lowell
6cf93bf1c3 C::String is a C::Value 2010-05-31 10:06:29 +03:00
Charles Lowell
19211179ef make v8::Object::GetHiddenValue() scriptable from ruby 2010-05-31 10:06:04 +03:00
Charles Lowell
68e8fc1454 fixes for 1.8.6: tap.rb implementation didn't actually return self. Symbol#to_proc not defined until 1.8.7 2010-05-28 12:58:21 +03:00
Charles Lowell
ef48cea359 remove call to rb_hash_lookup() which is not present in 1.8.6 2010-05-27 22:01:27 +03:00
Charles Lowell
ae9c88bad4 keep ruby objects alive as long as V8 has a reference to them, even if ruby does not currently have a reference. rethrow ruby exceptions as javascript exceptions. 2010-05-26 19:54:56 +03:00
Charles Lowell
f81cc92fca make the global javascript object available on each context as Context#scope 2010-05-26 13:23:04 +03:00
Charles Lowell
ebd8b8c3cf add support for javascript Date as ruby Time, and vice-versa. 2010-05-25 09:40:33 +03:00
Charles Lowell
8b89eaf8b1 T_BLKTAG, T_SCOPE, and T_VARMAP aren't valid symbols in 1.9 2010-05-23 18:35:25 +03:00
Charles Lowell
90e7e824d0 map ruby arrays by value to javascript arrays 2010-05-23 05:31:36 +03:00
Charles Lowell
ded96b7847 provide handle scopes to value methods 2010-05-23 04:25:48 +03:00
Charles Lowell
99faaad1be don't print stack trace for a fatal error. Only a segfault 2010-05-23 04:01:08 +03:00
Charles Lowell
e509bebe05 add exception backtraces for segfaults and fatal errors. 2010-05-23 03:46:33 +03:00
Charles Lowell
343ece83cf disable diagnostic hack 2010-05-22 16:41:34 +03:00
Charles Lowell
42eb72bbc0 use new syntax for creating script refs 2010-05-22 12:09:16 +03:00