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

28 commits

Author SHA1 Message Date
Charles Lowell
f8fc3a3284 Make the V8 Context native wrapper more private. 2010-06-07 10:13:26 +03:00
Charles Lowell
f7a1e0a9f8 remove C++ thunking layer. conversions happen in ruby. 2010-06-06 14:34:10 +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
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
14edf2b0ff move ruby function invocation and property lookup into ruby 2010-05-22 09:23:22 +03:00
Charles Lowell
5b2c88002c move callbacks into ruby code. make sure handle scopes are everywhere. raise exception when context needs to be open rather than segfault in certain cases. 2010-05-20 12:08:17 +03:00
Charles Lowell
1f9a375571 make all native classes have a private new 2010-05-20 12:08:17 +03:00
Charles Lowell
adec237865 move context to new style 2010-05-20 12:08:17 +03:00
Charles Lowell
2b352a27e4 dispose of temporary context 2010-05-20 12:08:17 +03:00
Charles Lowell
5737292a86 move eval() and error handling into ruby 2010-05-20 12:08:16 +03:00
Charles Lowell
3762909be4 change Context::GetCurrent() to GetEntered(), since that's what's meant most of the time anyway. Give objects a cleaner references to their wrapping context. 2010-05-20 12:08:16 +03:00
Charles Lowell
5f2d3e2a61 move object reflection into v8_obj.* 2010-05-20 12:08:16 +03:00
Charles Lowell
7f46bf908d code compiles now, still broken though 2010-05-20 12:08:15 +03:00
Charles Lowell
77837092b0 checkpoint 2010-05-20 12:08:15 +03:00
Charles Lowell
23771c070f use the util function as provided 2010-05-20 12:07:33 +03:00
Charles Lowell
1b2c6e276c move context init to cxt.cpp 2010-05-20 12:07:32 +03:00
Charles Lowell
6b686ffb75 add javascript_stacktrace to the JavascriptError to view the full javascript stack. 2010-03-01 00:25:02 -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
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
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
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
76d2a92e55 squash stragglers not using default converters 2010-01-09 16:40:18 +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
2df1f3f33b 'gemify' the source 2009-12-15 07:35:55 +02:00
Renamed from v8_cxt.cpp (Browse further)