Permalink
Switch branches/tags
Commits on Oct 22, 2012
  1. BUMP\!

    enebo committed Oct 22, 2012
Commits on Oct 19, 2012
Commits on Oct 18, 2012
  1. Fix JRUBY-6811: Time.at rounding errors below milliseconds

    headius committed Oct 18, 2012
    We were passing usec for nsec to newTime. Fixed localtime also.
  2. Fix #350

    headius committed Oct 18, 2012
    Added a path for symbolic SSL version.
  3. Fix JRUBY-6952

    headius committed Oct 18, 2012
    Time#+ gives off-by-one error with fractional microseconds
    
    I'm not sure why Time#+ used double throughout, where Time#- used
    long, but changing + to all longs seems to fix this issue. I added
    logging to see the values all along the way, and it's clear that
    the long values were getting truncated inside double, leading to
    this rounding error. With all longs, we should be losing no
    precision (they're all integer values anyway) and should avoid
    the rounding error.
  4. Fix JRUBY-6930: yaml escaping of non-printable characters

    headius committed Oct 18, 2012
    Defer creating the SnakeYAML emitter until we are given an
    encoding from the start_stream event. This allows us to set up
    the OutputStreamWriter to use the proper charset, and has the
    added bonus of making other lazily-set options actually be
    reflected in the emitter's behavior.
  5. Probable fix for JRUBY-6930

    headius committed Oct 17, 2012
    yaml escaping of non-printable characters
    
    We need to give an encoding to the OutputStreamWriter. I chose
    UTF-8 for simplicity, but that may not be quite right. Need to
    decide what this encoding should be based on the target "io" we
    will write to.
Commits on Oct 17, 2012
  1. Fix JRUBY-6947

    headius committed Oct 17, 2012
    Call to "free" wrapped up via FFI causes JVM to exit with a malloc error.
    
    Late in 1.7 dev, all of pointer.rb got moved into Java code in
    JRuby. Along the way, write_string gained additional behavior:
    it started to write trailing null character along with the String
    bytes. This is incompatible with stock FFI. It may be a good
    addition to the API, as write_cstring or similar, but I don't
    think this change can be made compatibly.
    
    Reverted that part of write_string's behavior to just write the
    String's raw bytes. I'd like to see write_cstring added for the
    \0 behavior.
  2. Fix JRUBY-6917

    headius committed Oct 17, 2012
    "already initialized constant ClassReader" when embedding JRuby
    
    We were picking up the non-mangled ASM from Hadoop for
    ClassReader, but because Hadoop does not ship the ASM "util"
    classes, the subsequent access of TraceClassVisitor failed. We
    then fell back on mangled names, but ClassReader got reassigned.
    
    I swapped the order in which we check to ensure we always get our
    mangled ASM if it's present, only falling back on non-mangled
    when we can't find ours.
  3. Revert "Fix JRUBY-6891"

    headius committed Oct 17, 2012
    This reverts commit d43177d.
  4. Small risk...removing from 1.7.0 release.

    headius committed Oct 17, 2012
    Revert "ObjectSpace tweaks:"
    
    This reverts commit 4ceafef.
  5. Small risk...removing from 1.7.0 release.

    headius committed Oct 17, 2012
    Revert "Add a common == path for Array, to avoid respond_to? checks on nil"
    
    This reverts commit 2d82363.
  6. Fix JRUBY-6946

    headius committed Oct 17, 2012
    Object (actually Fixnum) .id still exists in 1.7.0.RC2
    
    Fixnum was defining its own #id impl. No version of Ruby does
    this.
  7. This commit caused some MRI tests to fail. Since we're close to

    headius committed Oct 17, 2012
    release, reverting until it can be reviewed.
    
    Revert "Fixes #313 and other cases in various Math.* functions where NaN values were handled differently."
    
    This reverts commit 6cc0ea8.
  8. Fixes #313 and other cases in various Math.* functions where NaN val…

    BanzaiMan committed Oct 17, 2012
    …ues were handled differently.
  9. ObjectSpace tweaks:

    headius committed Oct 17, 2012
    * Check config only once and choose ObjectSpacer impl. This
    avoids boolean checks along object construction paths, and allows
    ObjectSpace logic to boil down to an empy inlined method when
    ObjectSpace is not enabled.
    
    * Never follow ObjectSpace-aware constructor path for Floats.
Commits on Oct 16, 2012
  1. For JRUBY-6943

    headius committed Oct 16, 2012
    io/console extension missing in 1.9 mode
    
    Add a trivial io/console using stty, for basic operations to work.
  2. #342 ... missed common case

    enebo committed Oct 16, 2012
  3. Add --dump flag support.

    headius committed Oct 16, 2012
  4. Fix JRUBY-6936: JRuby doesn't seem to run on ARMv5-platform

    headius committed Oct 16, 2012
    ARM is now a supported platform (at least on Linux) so add it to
    the CPU_TYPE enum for FFI.
  5. Fix JRUBY-6904: IO.popen '' throws wrong exception

    headius committed Oct 16, 2012
    Simply need to check length before accessing elements.
  6. Revert "Fixed by 0b2e885."

    BanzaiMan committed Oct 16, 2012
    This reverts commit 71eed50.
    See #342 (comment)