Permalink
Commits on Nov 2, 2012
  1. Updated version to 2.0.0rc1.

    brixen committed Nov 2, 2012
  2. Fix locking issues for contention cases

    Previous fix wasn't completely correct. We need to make sure the old
    header we want to replace is actually not inflated and set the original
    up for that case accordingly.
    dbussink committed Nov 2, 2012
Commits on Nov 1, 2012
  1. Merge pull request #1978 from ryoqun/remove-prime-lock

    Remove unused prime_lock arg from Thread#setup
    dbussink committed Nov 1, 2012
  2. Remove unused prime_lock arg from Thread#setup

    Remove unused argument called prime_lock from Thread#setup.
    
    The following commit removed code, which was using prime_lock in Thread#setup.
    But it forgot to change the method's signature to remove prime_lock itself.
    
      6097398 Use Rubinius.lock instead of Channel
    ryoqun committed Nov 1, 2012
Commits on Oct 31, 2012
  1. Use ioctl to determine terminal width

    Prevents the need for having to fall back to mechanisms such as stty.
    dbussink committed Oct 31, 2012
  2. Fix lock contention which could cause invalid inflated header

    The problem was that in various compare and swap cases we didn't
    explicitly set inflated to 0, because we expect a non inflated header.
    If the header was already inflated, inflated would be 1 and we would
    wrongly change the inflated header pointer.
    dbussink committed Oct 31, 2012
  3. Encoding fixes for Array#pack.

    brixen committed Oct 31, 2012
  4. Made default encoding ASCII-8BIT.

    The default encoding is what MRI assigns to index 0, (ie, no encoding bit
    set in the object header). This implementation detail can be the cause of
    obscure and latent bugs. So I chose to not use the same indexes as MRI.
    However, while not changing the indexes, we must match the behavior. So,
    now the default encoding is correctly set to ASCII-8BIT if no encoding
    is set on a String.
    brixen committed Oct 30, 2012
Commits on Oct 30, 2012
Commits on Oct 29, 2012
  1. Remove actor library from standard library

    People should use the actor gem available at
    https://github.com/rubinius/rubinius-actor if they want to use the
    actor. There are of course also other actor frameworks such as Celluloid
    https://github.com/celluloid/celluloid that work very well with
    Rubinius.
    
    Fixes #1869
    dbussink committed Oct 29, 2012
  2. Fix type check in the JIT

    We changed the object layout at some point to allow for storing C-API
    handles inline. At that point, check_type_bits wasn't updated to reflect
    the new object layout.
    
    We also reorder the object header layout so we can make a check just on
    the first 9 bits (1 inflation bit and 8 object type bits) so we don't
    exclude valid cases where we use a non 0 meaning for the additional bits
    in the header.
    
    Fixes #1973
    dbussink committed Oct 29, 2012
  3. Merge pull request #1974 from fcheung/fix_ffi_on_mountain_lion

    fix libffi not allocating trampoline correctly on mountain lion
    dbussink committed Oct 29, 2012
  4. fix libffi not allocating trampoline correctly on mountain lion

    mountain lion is darwin 12, which the regex wasn't picking up correctly
    See https://bugzilla.mozilla.org/show_bug.cgi?id=682180
    fcheung committed Oct 29, 2012
  5. Setup max open fd tracking in the VM

    This makes sure we track it atomically and always keep it up to date
    independent from Ruby land code.
    dbussink committed Oct 29, 2012
  6. Revert "Workaround for Process.spawn not auto-closing fds"

    This reverts commit a77e4f5.
    Lewis Marshall committed with dbussink Sep 16, 2012
  7. Set close_on_exec=true on file descriptors >= 3 when calling Process.…

    …spawn
    Lewis Marshall committed with dbussink Sep 24, 2012
  8. Merge pull request #1942 from ryoqun/thread-raise-rescue

    Make Thread#raise not raise $!
    dbussink committed Oct 29, 2012
  9. Improved StringIO#each_codepoint.

    brixen committed Oct 28, 2012
  10. Added String#chr_at.

    brixen committed Oct 28, 2012
  11. Specs for internal String#chr_at.

    brixen committed Oct 28, 2012
Commits on Oct 28, 2012
  1. More other StringIO fixes.

    brixen committed Oct 28, 2012
  2. Other more StringIO specs.

    brixen committed Oct 28, 2012
  3. StringIO fixes.

    brixen committed Oct 28, 2012
  4. StringIO specs.

    brixen committed Oct 28, 2012
Commits on Oct 27, 2012
  1. More StringIO specs.

    brixen committed Oct 27, 2012
  2. IO#read with limit fixes.

    brixen committed Oct 27, 2012