Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Feb 17, 2010
  1. @tenderlove
  2. @tenderlove

    removing relative requires

    tenderlove authored
Commits on Jan 25, 2010
  1. Prep for v1.2.0.

    authored
  2. Remove the segfault todo.

    authored
Commits on Jan 9, 2010
  1. @matthewd

    Finish off conversions stuff, and add some tests.

    matthewd authored
    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.
Commits on Oct 10, 2009
  1. @matthewd

    Update target path for spidermonkey.so in extconf

    matthewd authored
    (to match its new location, per my earlier change to Rakefile)
Commits on Oct 4, 2009
  1. @matthewd

    Apply wrappers during RubyLandProxy creation.

    matthewd authored
    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.
  2. @matthewd
  3. @matthewd

    ... and update the manifest.

    matthewd authored
Commits on Oct 3, 2009
  1. @matthewd

    Make J::SM::Runtime a subclass of J::Runtime.

    matthewd authored
    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.
  2. @matthewd

    Function#apply allows its second param to be null.

    matthewd authored
    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.
Commits on Oct 2, 2009
  1. @matthewd
Commits on Sep 27, 2009
  1. @matthewd

    Vague attempt to make the API look more documented.

    matthewd authored
    Not really adding a lot of real information... and I think I've made a
    mess of the call-seq presentation.
  2. @matthewd

    Works for me, so our OS support isn't quite that bad.

    matthewd authored
    ruby 1.8.7 (2009-06-12 patchlevel 174) [i486-linux]
  3. @matthewd
  4. @matthewd
  5. @matthewd
  6. @matthewd
  7. @matthewd
  8. @matthewd
  9. @matthewd
Commits on Sep 26, 2009
  1. @matthewd

    Fix a few more root leaks in convert_to_ruby.

    matthewd authored
    I suspect there are still more; I haven't done a complete read-through
    with my new appreciation of everything that can cause problems.
  2. @matthewd
  3. @matthewd
  4. @matthewd
  5. @matthewd

    Convert a static string each way during startup.

    matthewd authored
    Seems to prevent a BOM occassionally showing up somewhere... there's
    probably a better way to deal with that?
Commits on Sep 25, 2009
  1. @matthewd

    Treat JavaScript strings as UTF-16.

    matthewd authored
    This isn't *quite* true, because ECMA says strings can contain unmatched
    surrogates... but it should substantially improve our behaviour for more
    "normal" situations.
  2. @matthewd

    Cover a number of potential root leaks.

    matthewd authored
    These were mostly found by inserting a random chance for an exception
    into some of the conversion functions.
  3. @matthewd

    Wrap Function.prototype.apply to accept Ruby arrays.

    matthewd authored
    In the process, fix Array#length to be a JS property, too.
Commits on Sep 20, 2009
  1. @matthewd
  2. @matthewd

    Destroy remaining proxies with the runtime.

    matthewd authored
    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.
Commits on Sep 19, 2009
  1. @matthewd

    Ref-count the runtime from RubyLandProxy.

    matthewd authored
    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.
  2. @matthewd
  3. @matthewd
Something went wrong with that request. Please try again.