Permalink
Switch branches/tags
Commits on Dec 17, 2008
  1. Add debug logging for ConcurrencyError, to show the original stack tr…

    headius committed Dec 17, 2008
    …ace that caused it.
    
    git-svn-id: http://svn.codehaus.org/jruby/tags/jruby-1_1_6RC2@8386 961051c9-f516-0410-bf72-c9f7e237a7b7
Commits on Dec 16, 2008
  1. Update to jna-posix 0.9

    enebo committed Dec 16, 2008
    git-svn-id: http://svn.codehaus.org/jruby/tags/jruby-1_1_6RC2@8364 961051c9-f516-0410-bf72-c9f7e237a7b7
Commits on Dec 15, 2008
  1. Fix for JRUBY-3233: JRuby with Rails 2.2.2 unable to instantiate a ja…

    headius committed Dec 15, 2008
    …va class
    
    Thanks to Stephen Lewis for finding the solution. Rails defines class_eval on Object, which means our old checks in JI code for respond_to? :class_eval were testing positive in cases where we still wanted to use eval. Simple fix was to just check Module === self instead.
    
    git-svn-id: http://svn.codehaus.org/jruby/tags/jruby-1_1_6RC2@8353 961051c9-f516-0410-bf72-c9f7e237a7b7
  2. Workaround for JRUBY-3152: Process.times returns invalid values

    headius committed Dec 15, 2008
    I've added a "ffi/times" library to provide a workaround in the short term. It uses Constantine to get a value for SC_CLK_TCK, so if you need to get accurate timings from Process.times, just require 'ffi/times' somewhere before you start measuring. We'll look at getting something a bit more built-in soon, but I did not want to load this automatically since it adds FFI and Java stuff.
    
    git-svn-id: http://svn.codehaus.org/jruby/tags/jruby-1_1_6RC2@8352 961051c9-f516-0410-bf72-c9f7e237a7b7
  3. Fix + test for JRUBY-3234: Difference in require behaviour with MRI w…

    headius committed Dec 15, 2008
    …ith ".rb" suffix
    
    The problem here was that LoadService was not always registering the loaded feature with its appropriate extension. As a result, requiring through different paths caused the same require to get registered under different names, firing twice. Fixing all paths to use the found name + suffix resolved the issue.
    
    git-svn-id: http://svn.codehaus.org/jruby/tags/jruby-1_1_6RC2@8346 961051c9-f516-0410-bf72-c9f7e237a7b7
Commits on Dec 11, 2008
  1. Revert "Improvement for JRUBY-3152: Process.times returns invalid val…

    headius committed Dec 11, 2008
    …ues"
    
    This reverts commit 5776bda085aba3b19416df12d3faa70440a4a39f.
    
    It turns out that using the ThreadMXBean to get CPU times is extremely slow, and it degrades quickly as more threads are added. We will need another option, or this will need to be off by default.
    
    git-svn-id: http://svn.codehaus.org/jruby/tags/jruby-1_1_6RC2@8316 961051c9-f516-0410-bf72-c9f7e237a7b7
Commits on Dec 10, 2008
  1. reintroduce substr(int, int) for RC2

    lopex committed Dec 10, 2008
    git-svn-id: http://svn.codehaus.org/jruby/tags/jruby-1_1_6RC2@8311 961051c9-f516-0410-bf72-c9f7e237a7b7
Commits on Dec 5, 2008
  1. Fix for JRUBY-3217: Memory Leak with Adopted Threads

    headius committed Dec 5, 2008
    Though we had weakrefs in many places relating to adopted threads, we kept one hard reference in NativeThread. This resulted in thread objects not going away, and since they did not go away, all the JRuby runtime data associated with them did not go away either. The fix makes the reference in NativeThread a weak reference, and deals with it possibly being collected while NativeThread is still alive and referenced (for example, if the actual ruby Thread object is still referenced).
    
    git-svn-id: http://svn.codehaus.org/jruby/tags/jruby-1_1_6RC2@8274 961051c9-f516-0410-bf72-c9f7e237a7b7
Commits on Dec 4, 2008
  1. JRUBY-3213: for loop broken for 1.9. Object#singleton_methods in 1.9 …

    enebo committed Dec 4, 2008
    …should return list of symbols. Java Integration should return a list of symbols. Some multi-assignment fixes for 1.9 mode
    
    git-svn-id: http://svn.codehaus.org/jruby/tags/jruby-1_1_6RC2@8268 961051c9-f516-0410-bf72-c9f7e237a7b7
  2. Some --1.9 fixes which should make it into 1.1.6

    enebo committed Dec 4, 2008
    git-svn-id: http://svn.codehaus.org/jruby/tags/jruby-1_1_6RC2@8267 961051c9-f516-0410-bf72-c9f7e237a7b7
Commits on Dec 3, 2008
  1. First RC for 1.1.6

    enebo committed Dec 3, 2008
    git-svn-id: http://svn.codehaus.org/jruby/tags/jruby-1_1_6RC1@8263 961051c9-f516-0410-bf72-c9f7e237a7b7
  2. Bump for 1.1.6RC1

    enebo committed Dec 3, 2008
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8262 961051c9-f516-0410-bf72-c9f7e237a7b7
  3. Fixes for JRUBY-3173: require in 1.1.5 prefers files in the current d…

    headius committed Dec 3, 2008
    …irectory despite loadpath (even with "." removed)
    
    Also fixes JRUBY-3210, from which I got some test cases as well.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8256 961051c9-f516-0410-bf72-c9f7e237a7b7
  4. Add pending specs for JRUBY-3158: Wrong ruby methods called on object…

    headius committed Dec 3, 2008
    … of same class from Java code.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8255 961051c9-f516-0410-bf72-c9f7e237a7b7
  5. Fix for JRUBY-3112: Some Ruby instances are not roundtripping from Ru…

    headius committed Dec 3, 2008
    …by to Java and back
    
    Patch submitted by Michael S. Allman.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8254 961051c9-f516-0410-bf72-c9f7e237a7b7
  6. Fixes for JRUBY-2602: Lots of Readline::HISTORY rubyspec failures

    headius committed Dec 3, 2008
    Thanks to Joseph LaFata for another round of spec fixes!
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8253 961051c9-f516-0410-bf72-c9f7e237a7b7
  7. JRUBY-3172: Error in YAML.dump

    enebo committed Dec 3, 2008
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8252 961051c9-f516-0410-bf72-c9f7e237a7b7
  8. JRUBY-1489: Adding encapulated parse methods for external uses, such …

    enebo committed Dec 3, 2008
    …as JSR223 API implementation
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8251 961051c9-f516-0410-bf72-c9f7e237a7b7
  9. Improved sort for JRUBY-2198: Array#sort is slower than MRI

    headius committed Dec 3, 2008
    Thanks to Joseph LaFata for an excellent quicksort impl.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8250 961051c9-f516-0410-bf72-c9f7e237a7b7
Commits on Dec 2, 2008
  1. These are not the droids you're looking for. Add support to call any …

    enebo committed Dec 2, 2008
    …Java method directly (subject to our method resolution algorithm) via __method suffix (e.g. initialize__method)
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8249 961051c9-f516-0410-bf72-c9f7e237a7b7
  2. Add support to call any Java method directly (subject to our method r…

    enebo committed Dec 2, 2008
    …esolution algorithm) via suffix (e.g. send(initialize))
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8248 961051c9-f516-0410-bf72-c9f7e237a7b7
  3. Fix for JRUBY-3140: Const lookup failures in precompiled specs

    headius committed Dec 2, 2008
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8247 961051c9-f516-0410-bf72-c9f7e237a7b7
  4. JRUBY-2224: jirb breaks method_added for classes

    enebo committed Dec 2, 2008
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8246 961051c9-f516-0410-bf72-c9f7e237a7b7
  5. Parser change from yesterday missing .y versions

    enebo committed Dec 2, 2008
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8245 961051c9-f516-0410-bf72-c9f7e237a7b7
  6. Fix "wrong # of arguments(1 for 0) (ArgumentError)" in 1.9 mode, case…

    lopex committed Dec 2, 2008
    …: :foo =~ /bar/.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8244 961051c9-f516-0410-bf72-c9f7e237a7b7
  7. JRUBY-1181: Rake batch file for Windows environments

    enebo committed Dec 2, 2008
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8243 961051c9-f516-0410-bf72-c9f7e237a7b7
Commits on Dec 1, 2008
  1. Whoops, forgot to commit.

    lopex committed Dec 1, 2008
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8242 961051c9-f516-0410-bf72-c9f7e237a7b7
  2. move string specific compatibility routine from RubyEncoding to RubyS…

    lopex committed Dec 1, 2008
    …tring.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8241 961051c9-f516-0410-bf72-c9f7e237a7b7
  3. RubyString.isComparableWith.

    lopex committed Dec 1, 2008
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8240 961051c9-f516-0410-bf72-c9f7e237a7b7
  4. 1.9 String#*, and an opt for both modes, 25% faster.

    lopex committed Dec 1, 2008
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8239 961051c9-f516-0410-bf72-c9f7e237a7b7
  5. 1.9 String#+.

    lopex committed Dec 1, 2008
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8238 961051c9-f516-0410-bf72-c9f7e237a7b7
  6. JRUBY-2324: AST Node positions and content incorrect when passing dow…

    enebo committed Dec 1, 2008
    …n Multibyte content to lexer (syntax exception part)
    
    Possibly also JRUBY-2484
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8237 961051c9-f516-0410-bf72-c9f7e237a7b7
  7. Rescue LoadError in attach_function so multiple libs can be tried unt…

    Wayne Meissner
    Wayne Meissner committed Dec 1, 2008
    …il one succeeds
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8236 961051c9-f516-0410-bf72-c9f7e237a7b7
  8. Convert UnsatisfiedLinkError into a LoadError

    Wayne Meissner
    Wayne Meissner committed Dec 1, 2008
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@8235 961051c9-f516-0410-bf72-c9f7e237a7b7