Commits on Oct 8, 2011
  1. Sort out for in 1.9 mode

    evanphx committed Oct 8, 2011
Commits on Oct 6, 2011
  1. Fix 1.9 parser crash

    evanphx committed Oct 6, 2011
  2. Fixed Symbol VM test in default 1.9 mode.

    This one is for you Steve Jobs 1955-2011 RIP. :'( What an incredible
    gift life gave us.
    brixen committed Oct 5, 2011
Commits on Oct 5, 2011
  1. Convert signal handling to use a normal Thread

    Previously the code would pass vm_ (ie, the main thread that the handler
    wakes up) into things like Channel::send as the state argument, which is
    not allowed.
    By creating a normal Thread, we'v got a unique VM* to use just for the
    evanphx committed Oct 5, 2011
  2. Guard exc since wakeup can GC

    evanphx committed Oct 5, 2011
  3. In 1.9, re.h needs to be in the ruby/ directory.

    Fixes installation of the JSON gem in 1.9 mode
    dbussink committed Oct 5, 2011
  4. Fixed File.basename. Fixes #1169.

    brixen committed Oct 5, 2011
  5. Added Pathname from 1.9.2p290.

    brixen committed Oct 5, 2011
  6. Move 1.8 Pathname to lib/18.

    brixen committed Oct 5, 2011
  7. Fix GC bug caused by layered GCLockGuard

    Channel::send in IOBuffer::create caused a GC would would cause the new
    IO* object to not be seen and be cleaned up, leaving a bad GC ref on the
    evanphx committed Oct 5, 2011
Commits on Oct 4, 2011
  1. Merge pull request #1189 from yipdw/issue-1185

    [PATCH] Zlib::GzipWriter#write segfaults when given large (2^23 byte) strings
    brixen committed Oct 4, 2011
  2. Allocate strings for FFI on the heap.

    Strings passed to foreign functions can be quite large -- too large to
    fit on the stack, and it's not always possible to detect an alloca(3)
    Fixes #1185.
    yipdw committed Oct 4, 2011
  3. Large-string example for Zlib::GzipWriter#write.

    The expected size was generated by the following Ruby program running
    under Ruby 1.8.7-p352:
        require 'stringio'
        require 'zlib'
        io =
        input = '.' * (2 ** 23)
        Zlib::GzipWriter.wrap(io) do |gzio|
        print io.string
    This program was then run:
        $ ruby gen.rb | wc -c
    References #1185.
    yipdw committed Oct 4, 2011
  4. Use Object if no class is given to rb_data_object_alloc

    MRI allows for creating a very strange object that has
    no klass pointer set. This means this object can't for example
    be inspected, since it will given the following result:
    NotImplementedError: method `class' called on terminated object (0xXXXXXXXX)
    In Rubinius we just use Object, so it at least works. It is
    definitely recommended to use a proper actual class to prevent
    potential issues on MRI.
    Fixes #1187
    dbussink committed Oct 4, 2011
  5. Handle case where there isn't a call stack yet

    If you use call_til_compile=0 there is no call stack yet
    and it would crash.
    Fixes #1188
    dbussink committed Oct 4, 2011
  6. Spec for Kernel.load on 1.9.

    brixen committed Oct 4, 2011
  7. Adding support for require_relative.

    This is based on my require_relative gem for MRI. Passes
    all of the RubySpec specs.
    steveklabnik committed Oct 4, 2011
Commits on Oct 3, 2011
Commits on Sep 30, 2011
Commits on Sep 27, 2011
  1. Fix incorrect running of finalizers bug

    Baker::check_finalize checks if an object is forwarded to know if it has
    still alive or not therefore whether or not run it's finalizer.
    Therefore we can not check finalizers more than once because the 2nd
    time, we'll see objects that we have fixed up (and therefore are not
    forwarded) and finalizer them.
    evanphx committed Sep 27, 2011