Skip to content
Commits on Nov 14, 2013
  1. @subbuss
Commits on Nov 13, 2013
  1. @headius
  2. @enebo
  3. @enebo

    Related to #1204. Make Psych emit strings in proper encoding. IOOutpu…

    enebo committed Nov 13, 2013
    …tStream can now explicitly specify what encoding it wants to write strings with
  4. @headius

    Propagate keyrest through Open3.popen3 to internal version.

    headius committed Nov 13, 2013
    This also includes a fix to remove the keyword args from the arg
    list when processing the command. If we don't remove it, the arg
    list appears to be length > 1 and a single space-embedded command
    line will not be split into its component arguments.
  5. @headius

    Fix keyrest eating an argument unconditionally in rest logic.

    headius committed Nov 13, 2013
    In the logic for preparing a rest argument, we were subtracting
    1 from available args if a keyrest arg is present. However,
    keyrest should only consume an arg if keyword args are given on
    the call side, and this case is already figured into arglen
    calculation before we get to the rest logic. Removed the extra
    logic for subtracting keyword arg element from args list.
    
    Fixes #1223.
  6. @headius
  7. @headius

    Revert "Disable download progress for builds before test runs."

    headius committed Nov 13, 2013
    This reverts commit 550d116.
  8. @headius

    Merge branch 'jruby-1_7'

    headius committed Nov 13, 2013
  9. @headius

    Revert "Use batch mode for builds before tests."

    headius committed Nov 13, 2013
    This reverts commit ad2f362.
  10. @headius
  11. @headius
  12. @headius
  13. @subbuss
  14. @subbuss

    [IR] Tweaks to break-handling - IRBreakJump should be Unrescuable

    subbuss committed Nov 12, 2013
    * Unsure why IRBreakJump hadn't been marked Unrescuable thus far.
    * Eliminates spec crashers in spec/ruby/library/prime/each_spec.rb
Commits on Nov 12, 2013
  1. @headius

    Remove old Generator impl, move toward unifying coroutine logic.

    headius committed Nov 12, 2013
    The old Enumerator#next logic used our internal Generator impl,
    which proved eventually to be leaky and slow. As of JRuby 1.7.5,
    Enumerator#next moved to a Java implementation that was both
    faster and better about cleaning up dangling instances, but the
    block form of Enumerator.new still used the old Generator logic.
    
    This commit eliminates the old coroutine-based Generator in favor
    of a trivial version matching Ruby 1.9+. The block forms of
    Enumerator.new now create this trivial Generator and then fall
    into the same "Nexter" logic introduced in 1.7.5 for #next.
  2. @headius

    Unconditionally define Enumerator::Lazy methods in our impl.

    headius committed Nov 12, 2013
    Our impl was borrowed from Marc-Andre Cournoyer's "backports" impl
    which attempted to detect whether it was running on a Ruby that
    already had several lazy Enumerator methods defined already. The
    logic to do so triggered a thread-based Enumerator (using
    Generator) to be created for at least one method detection and
    possibly others. This caused some of our trace function tests to
    intermittently see one or more Generator thread's death throes,
    inserting bogus entries into test results.
    
    This fix removes the detection logic since we know we'll always
    need to define the backport version of these methods. No Generator
    gets started during boot now.
    
    It is possible this will also slightly improve startup, since that
    logic was using slow-path threaded Enumerator logic.
  3. @headius
  4. @headius
  5. @headius
  6. @headius

    Merge branch 'jruby-1_7'

    headius committed Nov 12, 2013
  7. @headius
  8. @headius
  9. @enebo

    Merge 1139

    enebo committed Nov 12, 2013
  10. @enebo

    Fixes #1139. ClassCastException when reading non String value from Ja…

    enebo committed Nov 12, 2013
    …va System.properties
  11. @enebo

    Merge 1171 Fix to master

    enebo committed Nov 12, 2013
  12. @enebo

    Hmm forgot to push my merge

    enebo committed Nov 12, 2013
  13. @enebo
  14. @subbuss

    [IR] Fixed off-by-1 error replacing instruction in an instr array

    subbuss committed Nov 12, 2013
    * Fixes occasional crasher running mspec with
      AddLocalVarLoadStoreInstructions pass enabled.
  15. @subbuss

    [IR] Added missing flags on TO_ARY operation -- fixes buggy opts.

    subbuss committed Nov 11, 2013
    * TO_ARY operation can raise an exception (TypeError) and can have
      side effects (allocates RubyArray). So, optimizations like DCE
      cannot delete this instruction. Adding the flags blocks DCE from
      doing so and fixes mspec failures when run with DCE enabled.
  16. @subbuss
Commits on Nov 11, 2013
  1. @subbuss

    [IR] Strip no-longer-needed ensure-map and related state

    subbuss committed Nov 11, 2013
    * git 27442fc fixed some bugs in the interpreter that effectively
      used the rescue map for handling both rescue and ensures which
      left the ensure map unused.
    
    * This patch got rid of the ensure map and all related state from
      the IR builder, instructions, CFG, and exception regions.
    
    * Verified that there is no change in spec test results especially
      since the CFG removed exception edges to ensure-block, which could
      potentially have affected accuracy of the opt. passes.
  2. @mkristian @headius

    Merge pull request #1199 from voxik/softlink-jruby

    mkristian committed with headius Nov 11, 2013
    Softlink jruby to jruby.bash instead of hard copy.
  3. @mkristian

    Merge pull request #1199 from voxik/softlink-jruby

    mkristian committed Nov 11, 2013
    Softlink jruby to jruby.bash instead of hard copy.
  4. @headius
Something went wrong with that request. Please try again.