Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 8, 2011
  1. skip to_ary if it yields non-array result in 1.9 proc call:

    authored
    * How to reproduce:
    
        require 'rubygems'
        require 'builder'
    
        b = Builder::XmlMarkup.new
        p = proc { puts 1 }
        p.call b
    
    Above code will raise exception on jruby 1.9, pass on MRI 1.9.
    
    * Cause:
    
    Classes like Builder::XmlMarkup changes common methods like to_ary
    to return different type result, so it's not safe to expect to_ary
    always return a ruby Array.
Commits on Sep 7, 2011
  1. @nahi

    Move Zlib encoding related implementations to RubyIO.java

    nahi authored
    I expected there're common impls for encoding parameter parsing, but I
    could not refactor now. Should be done in the future.
Commits on Sep 6, 2011
  1. @nahi

    JRUBY-5778: Improve Zlib compatibility.

    nahi authored
    Fix internal/external encoding handlings and added encoding tests.
  2. @headius
  3. @nahi

    JRUBY-5778: Improve Zlib compatibility.

    nahi authored
    I accidently removed checkLevel for GzipWriter and it caused test
    failure. I recovered checkLevel.
  4. @nahi

    JRUBY-5778: Improve Zlib compatibility.

    nahi authored
    Added encoding support for Zlib.
    
    Fixed following incompatibilities:
     * GzipReader encoding support
     * GzipReader#readpartial
    
    Encoding support needs more test.
  5. @nahi

    Revert "JRUBY-5985: circular require warning from RubyGems maven exte…

    nahi authored
    …nsion"
    
    This reverts commit d05b492.
    
    The commit broke 'ant jar-complete'. I'll investigate it later.
  6. @nahi

    JRUBY-5985: circular require warning from RubyGems maven extension

    nahi authored
    Try to use autoload to load rubygems/maven_gemify. It started to work by
    RubyGems update but it's tricky. Hope we can hook RubyGems in the
    future.
Commits on Sep 5, 2011
  1. @headius
  2. @nahi

    JRUBY-5778: Improve Zlib compatibility.

    nahi authored
    The issue reported at JRUBY-5778 is for encoding. This commit fixes lots
    of Zlib 1.8 and 1.9 incompatibility but 1.9-encoding is not yet
    supported. I'll try the encoding next.
    
    Fixed following incompatibilities:
     * GzipFile#path
     * GzipWriter#putc (1.9)
     * GzipWriter#bytesize
     * GzipReader#gets (nil, paragraph mode)
    
    Rests are:
     * No encoding support
     * No adler32_combine and crc32_combine as Zlib module function
     * No Zlib::Deflate#dup
     * No GzipReader#readpartial
     * GzipFile::Error#input not set
Commits on Sep 4, 2011
  1. @BanzaiMan
Commits on Sep 3, 2011
  1. @BanzaiMan
Commits on Sep 2, 2011
  1. @enebo
  2. @enebo

    I hate looking at raw int value

    enebo authored
  3. @enebo
  4. @enebo
  5. @enebo
  6. @enebo

    Doh! 1.9 methods need 1.9 append. Also reverse explicit first element…

    enebo authored
    … encoding set since previous commit unbroke coderange + cat issues
  7. @enebo

    Reversed logic from MRI

    enebo authored
  8. @enebo

    JRUBY-5639: Array#join turns utf-8 strings into ascii-8bit strings (s…

    enebo authored
    …ans non-string element as first element of join)
  9. @enebo
  10. @nahi

    Raise DataError properly from Zlib::Inflate#inflate

    nahi authored
    Similar fix as f8df1ab. For broken gzip
    trailer, we should raise DataError even if the trailer is splitted into
    multiple input chunks.
    
    Reported by Atsuhiko Yamanaka at
    https://twitter.com/#!/ymnk/status/109476173142179840 Thanks!
  11. @headius
  12. @yokolet

    Applies @knu's patch, https://gist.github.com/1160870 . This patch fi…

    yokolet authored
    …xes errors of pure Java Nokogiri tests. A discussion is done at tenderlove/nokogiri@8ee889b#commitcomment-542636
Commits on Sep 1, 2011
  1. @headius
  2. @headius

    Move jruby/core_ext to Ruby.

    headius authored
  3. @headius

    Add missing method.rb.

    headius authored
  4. @headius

    Still used from Java code; need a solution for this.

    headius authored
    Revert "Remove unused MethodExtensions class."
    
    This reverts commit 33c7cf2.
  5. @headius
  6. @headius
  7. @nahi

    Raise DataError properly from Zlib::Inflate#inflate

    nahi authored
    For broken gzip trailer, we only raise from Zlib::Inflate#finish since
    we only parsed gzip trailer from the finish method. To follow zlib.c's
    behavior, we should parse the gzip trailer for Inflate#<< and
    Inflate#inflate as well if the gzip body is finished.
    
    Reported by Atsuhiko Yamanaka at
    https://twitter.com/#!/ymnk/status/107118737743814658 Thanks!
  8. @headius
Commits on Aug 31, 2011
  1. @headius
  2. @headius
  3. @headius
Something went wrong with that request. Please try again.