Changeset [61c5e76e9dcac1b19ff2bfa2c1e5e6c2a8f41097] by Yehuda Katz

April 28th, 2008 @ 12:42 PM

Merge branch '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.

http://github.com/jbarnette/john...

Committed by John Barnette

  • 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
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป