Changeset [61c5e76e9dcac1b19ff2bfa2c1e5e6c2a8f41097] by Yehuda Katz
Revision 61c5e76e9dcac1b19ff2bfa2c1e5e6c2a8f41097,
committed by John Barnette
· April 28th, 2008 @ 12:42 PM
Merge branch 'master' of git@github.com:jbarnette/johnson
- 'master' of git@github.com:jbarnette/johnson:
Cover a couple more Ruby exception possibilities.
Deal with a couple of places that Ruby exceptions can leak through JSLand.
Cautiously edge toward a slippery slope, by adding extra cleanup callbacks.
Protect rb_yield calls so we can clean up our roots.
Oops, double-underscore is supposed to be reserved for the compiler.
Fixed __jroot_tmpname lifetime, and removed forced-GC used while debugging.
updating manifest
Use some macros to keep track of what's been rooted.
Be a little more certain that we've got a METHOD* before we poke it.
Do a slightly better job of keeping +id+ rooted as long as we need +name+.
Fix call_function_property, which was just plain Broken... JS_FALSE ain't a VALUE.
Any Rubyland object that responds to call can be called as a function in JSland.
Added Matthew to the README.
14 changed files
-
A
ext/spidermonkey/jroot.h -
A
test/johnson/conversions/callable_test.rb -
R
test/johnson/conversions/proc_test.rb -
M
Manifest.txt -
M
README.txt -
M
ext/spidermonkey/context.c -
M
ext/spidermonkey/conversions.c -
M
ext/spidermonkey/conversions.h -
M
ext/spidermonkey/extensions.c -
M
ext/spidermonkey/extensions.h -
M
ext/spidermonkey/js_land_proxy.c -
M
ext/spidermonkey/ruby_land_proxy.c -
M
ext/spidermonkey/spidermonkey.h -
M
test/johnson/spidermonkey/ruby_land_proxy_test.rb