Permalink
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.

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

    evanphx committed Oct 5, 2011
    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
    handler.
  2. In 1.9, re.h needs to be in the ruby/ directory.

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

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

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

    evanphx committed Oct 5, 2011
    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
    stack.
Commits on Oct 4, 2011
  1. Merge pull request #1189 from yipdw/issue-1185

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

    yipdw committed Oct 4, 2011
    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)
    failure.
    
    Fixes #1185.
  3. Large-string example for Zlib::GzipWriter#write.

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

    dbussink committed Oct 4, 2011
    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
  5. Handle case where there isn't a call stack yet

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

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

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

    evanphx committed Sep 27, 2011
    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.