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.

Activity (RSS)

Friday, April 18 2008
I like syntax error better http://git... was committed by John Barnette at 6:53 PM
Adding a parser error and making sure... was committed by John Barnette at 6:53 PM
23 Ruby arrays in jsland was updated
  • Aaron Patterson
    • State changed from open to resolved
    by Aaron Patterson at 2:09 PM

    Arrays are now proxied.

28 Enumerating jsland proxies is broken was updated
  • Aaron Patterson
    • State changed from open to resolved
    by Aaron Patterson at 2:09 PM

    fixed. Get will return a __iterator__ for enumerable objects.

#28 #23 arrays work in js land and so... was committed by John Barnette at 2:05 PM
Make Johnson.parse() an alias for Joh... was committed by John Barnette at 12:37 PM
Naming and formatting nitpicks. http:... was committed by John Barnette at 12:37 PM
Make the current context available in... was committed by John Barnette at 12:37 PM
Unb0rking the manifest. http://github... was committed by John Barnette at 11:15 AM
Added Yehuda to the authors list. htt... was committed by John Barnette at 10:50 AM
Thursday, April 17 2008
14 Command-line Tool was updated
  • John Barnette
    John Barnette commented at 9:58 PM

    Wycats' interactive js/rb shell is a good start on this, but it'd be nice to make it work with files, etc.

JSland proxies of Ruby classes have w... was committed by John Barnette at 9:57 PM
29 jsland proxies of Class objects should have working ctors was updated
  • John Barnette
    • State changed from new to resolved
    by John Barnette at 9:57 PM

    (from [46ffbc14c6005f101dd3facb9d27d358cd92bc10]) JSland proxies of Ruby classes have working constructors. [#29 state:resolved]

    http://github.com/jbarnette/j...

Clean up inline commands in the inter... was committed by John Barnette at 8:11 PM
Merged in wycats' interactive shell. ... was committed by John Barnette at 4:21 PM
28 Enumerating jsland proxies is broken was updated
  • John Barnette
    • Assigned user changed from John Barnette to Aaron Patterson
    by John Barnette at 2:38 PM
31 with() {} is teh suxxor was created
30 RubyLandProxy#[] must act differently was updated
  • Aaron Patterson
    • State changed from new to resolved
    by Aaron Patterson at 12:22 PM

    Fixzored.

#30 checking that hashes may be index... was committed by John Barnette at 12:21 PM
#30 making arrays indexable with an i... was committed by John Barnette at 12:21 PM
Tuesday, April 15 2008
Make sure multiple proxy classes are ... was committed by John Barnette at 8:29 PM
Make JSLandProxyClass more easily par... was committed by John Barnette at 8:06 PM
Fix some vestigal renaming issues. ht... was committed by John Barnette at 7:37 PM
30 RubyLandProxy#[] must act differently was updated
  • Aaron Patterson
    Aaron Patterson commented at 7:33 PM

    extern JS_PUBLIC_API(JSBool)

    JS_GetElement(JSContext *cx, JSObject *obj, jsint index, jsval *vp);

    extern JS_PUBLIC_API(JSBool)

    JS_SetElement(JSContext *cx, ...

  • Aaron Patterson
    Aaron Patterson created the ticket at 7:31 PM

    RubyLandProxy#[] must act differently when indexed by a number. Probably also RubyLandProxy#[]=

23 Ruby arrays in jsland was updated
  • John Barnette
    • Assigned user changed from John Barnette to Aaron Patterson
    by John Barnette at 5:22 PM
27 Defining new properties on JSland proxies is broken was updated
  • Aaron Patterson
    • State changed from open to resolved
    by Aaron Patterson at 8:37 AM

    Yes I did.

Monday, April 14 2008
27 Defining new properties on JSland proxies is broken was updated
  • John Barnette
    • Assigned user changed from John Barnette to Aaron Patterson
    by John Barnette at 11:40 PM

    Hey, didn't you fix this?

Unbreaking the manifest. http://githu... was committed by John Barnette at 10:19 PM
Renaming proxies for clarity. http://... was committed by John Barnette at 10:08 PM
Context delegates [] and []= to the g... was committed by John Barnette at 4:04 PM
Context#global, etc. http://github.co... was committed by John Barnette at 3:32 PM
Thursday, April 10 2008
Poking the README. http://github.com/... was committed by John Barnette at 2:36 PM
Monday, April 07 2008
23 Ruby arrays in jsland was updated
28 Enumerating jsland proxies is broken was updated
24 Proxied procs aren't getting cleaned up was updated
  • John Barnette
    John Barnette commented at 3:54 PM

    Alternatively, we could start having a lot more JSland proxy classes:

    • JSProxyClass, for most Ruby objects, including Hashes
    • JSArrayProxyClass, for Ruby arra...
Sunday, April 06 2008
29 jsland proxies of Class objects should have working ctors was updated
  • John Barnette
    John Barnette created the ticket at 9:42 PM

    Ruby:

    class Foo; end
    
    ctx = Johnson::Context.new
    ctx[:Foo] = Foo
    

    JavaScript:

    var x = Foo.new(); // this already works
    var y = new Foo(); // this should...
28 Enumerating jsland proxies is broken was updated
  • John Barnette
    John Barnette created the ticket at 9:39 PM

    It's pretty easy to decide how proxied rubyland arrays should act when they're enumerated, but I'm really not sure about anything else.

Saturday, April 05 2008
18 Test escaped strings was updated
  • Aaron Patterson
    • State changed from new to resolved
    by Aaron Patterson at 12:22 AM

    yar. they be tested.

16 Regular expressions was updated
  • Aaron Patterson
    • State changed from open to resolved
    by Aaron Patterson at 12:22 AM

    Regular expressions now round trip both ways.

    [147]

Friday, April 04 2008
16 Regular expressions was updated
  • John Barnette
    • Assigned user changed from John Barnette to Aaron Patterson
    • State changed from new to open
    by John Barnette at 1:37 AM
Thursday, April 03 2008
10 RubyProxy#length (and #size) Masking Problems was updated
  • John Barnette
    • Milestone cleared.
    by John Barnette at 10:36 AM
  • John Barnette
    • State changed from new to open
    • Title changed from Proxy#length (and #size) Masking Problems to RubyProxy#length (and #size) Masking Problems
    by John Barnette at 10:35 AM

    I think this is okay for 1.0. Let's address it when something blows up. We can always provide a js property that sidesteps all of the proxy methods:

    # calls/g...
27 Defining new properties on JSland proxies is broken was updated
  • John Barnette
    • Title changed from Defining new properties on JSland proxies to Defining new properties on JSland proxies is broken
    by John Barnette at 10:31 AM
  • John Barnette
    • State changed from new to open
    by John Barnette at 10:28 AM

    This is because the JSProxy defines property getters and setters itself, passing them all through to Ruby. What we should really do:

    Setting the foo property...

  • John Barnette
    John Barnette created the ticket at 10:21 AM

    Rubyland:

    class Foo; end
    
    ctx = Johnson::Context.new
    ctx[:foo] = Foo.new
    

    JSland:

    foo.bar = "baz!"
    
    foo.bar // => null
    
24 Proxied procs aren't getting cleaned up was updated
  • John Barnette
    John Barnette commented at 10:14 AM

    Yeah, we should just reach in to js_FunctionClass and inject a custom finalize stub. See if it has the magical "this is a Ruby proc" marker property, and, if i...

Wednesday, April 02 2008
22 Ruby hashes in jsland was updated
26 Allow access to constants was updated
  • John Barnette
    • State changed from new to resolved
    by John Barnette at 9:08 PM
  • 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()")