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.

There was a problem

Activity (RSS)

Wednesday, April 02 2008
24 Proxied procs aren't getting cleaned up was updated
  • 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
  • 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
  • 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
  • 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.

  • John Barnette
    John Barnette created the ticket at 4:29 PM

    This should work, but doesn't:

    
    ctx = Johnson::Context
    ctx[:Foo] = Foo
    
    assert_not_nil(ctx.evaluate("Foo.new"))
    
    
19 Root ruby objects for GC / JSProxy finalizer was updated
  • John Barnette
    • State changed from new to resolved
    by John Barnette at 10:03 PM
  • John Barnette
    John Barnette created the ticket at 4:28 PM

    When Ruby objects head in to JSland, they should be rooted on the Ruby side. The JSland proxy finalizer should unroot them, and also remove them from the rbids...

23 Ruby arrays in jsland was updated
  • 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
  • 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
  • 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...

Monday, March 31 2008
18 Test escaped strings was updated
  • Aaron Patterson
    Aaron Patterson created the ticket at 10:28 PM

    Make sure that weird strings will go in and come back out of the parser.

15 Parser Cleanup was updated
  • Aaron Patterson
    • State changed from new to resolved
    by Aaron Patterson at 10:27 PM

    I cleaned up as much as I could. Only 233 lines. :-)

17 Rexex warning in ECMAVisitor was updated
  • Aaron Patterson
    • State changed from new to resolved
    by Aaron Patterson at 10:26 PM

    Fixed warning.

    [119]

  • John Barnette
    John Barnette created the ticket at 9:08 PM

    /Users/jbarnette/work/johnson/lib/johnson/visitors/ecma_visitor.rb:14: warning: regexp has `}' without escape

Saturday, March 29 2008
16 Regular expressions was updated
  • John Barnette
    John Barnette created the ticket at 7:59 PM

    Make sure they roundtrip in both directions.

Thursday, March 20 2008
15 Parser Cleanup was updated
  • John Barnette
    John Barnette created the ticket at 11:14 AM
    • Change "MutableTreeVisitor" to "MutableTreeConstructingVisitor".
    • Like a million methods in ImmutableNode shouldn't be public
    • Make ImmutableNode's constructor...
14 Command-line Tool was updated
  • John Barnette
    John Barnette created the ticket at 8:36 AM

    Should be able to run "johnson" at the command line and execute JS. Should take a bunch of Ruby's options, if possible, incl. -r, etc.

Aaron Patterson Aaron Patterson was invited to Johnson at 8:33 AM
mailto:aaron.patterson (at gmail) mailto:aaron.patterson (at gmail) was invited to Johnson at 8:32 AM
Wednesday, March 19 2008
13 RubyForge Site was updated
  • John Barnette
    John Barnette created the ticket at 8:34 PM

    Make sure that johnson.rubyforge.org has something reasonable on it.

12 RDoc was updated
  • John Barnette
    John Barnette created the ticket at 8:34 PM

    Make sure the API has some okay docs (and RDoc's generating them reasonably well).

11 README was updated
  • John Barnette
    John Barnette created the ticket at 8:33 PM

    Make sure the README doesn't suck for 1.0.

10 RubyLandProxy#length (and #size) Masking Problems was updated
  • John Barnette
    John Barnette created the ticket at 8:32 PM

    The current implementation of length/size on Proxy masks properties and function calls of the same name on the proxied JS object.

9 Exception Handling in Proxy#each was updated
  • John Barnette
    • State changed from new to open
    by John Barnette at 7:59 PM

    call, each, and call_function_property all run without marshaling any JS exceptions back over to Ruby.

    each needs to make sure to free the JSIdArray and marsh...

  • John Barnette
    John Barnette created the ticket at 7:56 PM
8 Exception Handling in Proxy#call was updated
7 String/Symbol Agnosticism was updated
  • John Barnette
    John Barnette created the ticket at 7:55 PM

    Make sure we can deal with strings or symbols in all the places we provide property indexers (Context, Proxy, etc).

6 Implement <=> for Enumerable Proxies was updated
  • John Barnette
    John Barnette created the ticket at 7:54 PM

    Make sure max, min etc work on proxies of arrays.

5 Support Windows was updated
  • John Barnette
    John Barnette created the ticket at 7:53 PM

    Make sure we figure out how to do a binary Windows gem for 1.0.

4 Build Cleanly on Something Besides OS X was updated
  • John Barnette
    John Barnette created the ticket at 7:53 PM

    We're a little bit mono-platform at the moment. Make sure we work on a few linuxes. Try out a PPC platform too.

3 Nasty Build Process was updated
  • John Barnette
    John Barnette created the ticket at 7:51 PM

    The way the SpiderMonkey extension (and vendor/spidermonkey) get built right now is really hacky, because I don't know extconf/mkmf very well. Clean it up.

2 Hardcoded Stack and Heap Sizes was updated
  • John Barnette
    John Barnette created the ticket at 7:50 PM

    The JSRuntime heap and JSContext stack sizes are hardcoded in Johnson::Spidermonkey::Context's allocate() method right now. There should be sane defaults, but ...

1 Better Exception Hierarchy was updated
  • John Barnette
    John Barnette created the ticket at 7:46 PM

    We pretty much only ever throw Johnson::Error. Compilation error, exception from JS land, whatever. This is lame.

Home was edited by unknown in Johnson at 7:42 PM (+1 more edit)