Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

John Barnette's latest activity

Wednesday, April 02 2008
26 Allow access to constants was updated in Johnson
  • John Barnette
    John Barnette created the ticket at 11:04 AM

    Make this work:

    module Foo
      class Bar
      end
    end
    
    context[:Foo] = Foo
    assert_instance_of(Foo::Bar, context.evaluate("Foo.Bar.new()")
    
24 Proxied procs aren't getting cleaned up was updated in Johnson
  • John Barnette
    • State changed from new to open
    • Title changed from Proxies procs aren't getting cleaned up to Proxied procs aren't getting cleaned up
    by John Barnette at 10:54 AM
  • John Barnette
    John Barnette created the ticket at 2:01 AM

    The JSClass for JSObjects representing JSFunctions (js_FunctionClass) just uses JS_FinalizeStub, which means we aren't cleaning Ruby procs out of @gcthings or ...

25 Encapsulate rbids/jsids lookup and storage was updated in Johnson
  • John Barnette
    John Barnette created the ticket at 2:01 AM

    There's some annoying copy/paste between js_proxy and js_function_proxy. See if there's a way to share it without sucking.

21 support ruby Procs in jsland was updated in Johnson
  • John Barnette
    • State changed from new to resolved
    by John Barnette at 1:56 AM

    Fixed, but there are problems with finalization. I'll make some new tickets.

Tuesday, April 01 2008
20 Ruby object creation in JSland was updated in Johnson
  • John Barnette
    • State changed from new to resolved
    by John Barnette at 10:18 PM

    Not quite. It at least needs to be Foo.new(), which is reasonable.

19 Root ruby objects for GC / JSProxy finalizer was updated in Johnson
  • John Barnette
    • State changed from new to resolved
    by John Barnette at 10:03 PM
23 Ruby arrays in jsland was updated in Johnson
  • John Barnette
    John Barnette created the ticket at 4:35 PM

    Not sure whether these should be supported by the current JSProxy stuff, or whether there's a better way to back a JSArray with a native impl.

22 Ruby hashes in jsland was updated in Johnson
  • John Barnette
    John Barnette created the ticket at 4:34 PM

    They're probably covered just fine by the existing JSProxy stuff, since method_missing is pretty helpful about looking for [] and key?.

21 support ruby Procs in jsland was updated in Johnson
  • John Barnette
    John Barnette created the ticket at 4:32 PM

    Make this work:

    ctx[:alert] = lambda { |m| puts m }
    ctx.evaluate("alert('hai!')")
    

    The sticky wicket here is that the ContextPrivate slot can't be used to s...