Permalink
Commits on Jan 25, 2010
  1. No more releases to RubyForge.

    jbarnette committed Jan 25, 2010
  2. Prep for v1.2.0.

    jbarnette committed Jan 25, 2010
  3. Remove the segfault todo.

    jbarnette committed Jan 25, 2010
Commits on Jan 9, 2010
  1. Finish off conversions stuff, and add some tests.

    The currently supplied Date mapping is far from ideal... but it's a
    start, and at least shows the most basic intended use of the conversion/
    wrapper APIs.
    matthewd committed Jan 9, 2010
Commits on Oct 10, 2009
  1. Update target path for spidermonkey.so in extconf

    (to match its new location, per my earlier change to Rakefile)
    matthewd committed Oct 10, 2009
Commits on Oct 4, 2009
  1. Apply wrappers during RubyLandProxy creation.

    This allows pure-ruby code to control how different JS values are
    presented to the rest of ruby-land. Such wrappers provide for the most
    common case, but there's also a need to be able to define a conversion
    to be applied each time the proxy is required, too. And then we need
    corresponding functionality in js-land.
    matthewd committed Oct 4, 2009
  2. ... and update the manifest.

    matthewd committed Oct 4, 2009
Commits on Oct 3, 2009
  1. Make J::SM::Runtime a subclass of J::Runtime.

    Similarly, invent a J::RubyLandProxy, which is the superclass of
    J::SM::RubyLandProxy.
    
    Neither of these classes are useful in themselves, without an
    engine-specific subclass providing the real implementation... but their
    separate existence should simplify documenting the user-relevant API.
    matthewd committed Oct 3, 2009
  2. Function#apply allows its second param to be null.

    Also, be a bit more careful about what we let through; it doesn't have
    to be an Array, but it does have to be convincingly array-like.
    matthewd committed Oct 3, 2009
Commits on Oct 2, 2009
Commits on Sep 27, 2009
  1. Vague attempt to make the API look more documented.

    Not really adding a lot of real information... and I think I've made a
    mess of the call-seq presentation.
    matthewd committed Sep 27, 2009
  2. Works for me, so our OS support isn't quite that bad.

    ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]
    matthewd committed Sep 27, 2009
Commits on Sep 26, 2009
  1. Fix a few more root leaks in convert_to_ruby.

    I suspect there are still more; I haven't done a complete read-through
    with my new appreciation of everything that can cause problems.
    matthewd committed Sep 26, 2009
  2. Convert a static string each way during startup.

    Seems to prevent a BOM occassionally showing up somewhere... there's
    probably a better way to deal with that?
    matthewd committed Sep 26, 2009
Commits on Sep 25, 2009
  1. Treat JavaScript strings as UTF-16.

    This isn't *quite* true, because ECMA says strings can contain unmatched
    surrogates... but it should substantially improve our behaviour for more
    "normal" situations.
    matthewd committed Sep 25, 2009
  2. Cover a number of potential root leaks.

    These were mostly found by inserting a random chance for an exception
    into some of the conversion functions.
    matthewd committed Sep 25, 2009
  3. Wrap Function.prototype.apply to accept Ruby arrays.

    In the process, fix Array#length to be a JS property, too.
    matthewd committed Sep 25, 2009
Commits on Sep 20, 2009
  1. Destroy remaining proxies with the runtime.

    This is better than trying to keep the runtime alive longer than the
    proxies, because that breaks down during interpreter shutdown -- as
    evidenced by the complaints that were appearing as soon as we had a
    failing test, and upon an Interrupt.
    matthewd committed Sep 20, 2009
Commits on Sep 19, 2009
  1. Ref-count the runtime from RubyLandProxy.

    By storing a reference to the runtime in a long-lived location while
    there are live proxies, we can ensure the proxies will be collected
    first. Otherwise, when the whole proxy+runtime chain becomes
    unreachable, they could be collected in any order... and having the
    runtime go away while we still have proxies around makes SpiderMonkey
    quite upset.
    matthewd committed Sep 19, 2009