Permalink
Commits on Oct 31, 2008
  1. Merge branch 'master' into rbx

    git-svn-id: http://svn.codehaus.org/jruby/branches/rbx@7981 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 31, 2008
Commits on Oct 29, 2008
  1. Merge branch 'master' into rbx

    git-svn-id: http://svn.codehaus.org/jruby/branches/rbx@7941 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 29, 2008
  2. Initial version of Rubinius kernel bootstrapping logic for bootstrap/…

    …hash.rb, common/misc.rb, and common/hash.rb.
    
    git-svn-id: http://svn.codehaus.org/jruby/branches/rbx@7939 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 29, 2008
  3. Creating RBX branch

    git-svn-id: http://svn.codehaus.org/jruby/branches/rbx@7938 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 29, 2008
  4. Add a couple tests for class hierarchy events that should cause cache…

    …s to flush.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7937 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 29, 2008
  5. Disabling constant caching for JRUBY-3091 and adding two cases for tw…

    …o found issues. There may be more.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7936 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 29, 2008
  6. Fixes and specs for JRUBY-2958: jruby casts Integer argument to Long …

    …for java method with Integer arg.
    
    We lost coercion from numeric types to wrapper Java numerics probably in 1.1.4 with the JI perf work. I added specs for all such cases from Float, Fixnum, and Bignum to all the Java wrapper types, with additional failover to their natural type if the target is Object. All specs pass now.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7935 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 29, 2008
  7. Add a benchmark for loops and whiles of various configurations with b…

    …reak.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7934 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 29, 2008
  8. Add a JNA build with a fix for JRUBY-3084

    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7933 961051c9-f516-0410-bf72-c9f7e237a7b7
    Wayne Meissner committed Oct 29, 2008
Commits on Oct 28, 2008
  1. Don't mangle the LIBC name, and only strip off 'lib' prefix if its so…

    …mething like "libz" without the trailing '.so'
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7932 961051c9-f516-0410-bf72-c9f7e237a7b7
    Wayne Meissner committed Oct 28, 2008
  2. Workaround for JRUBY-3084. By setting jna.platform.library.path to be…

    … empty, and specifying libc.so.6 instead of 'c' on linux, it just pushes the library name through to dlopen(), without trying to locate it in the filesystem first.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7931 961051c9-f516-0410-bf72-c9f7e237a7b7
    Wayne Meissner committed Oct 28, 2008
  3. For linux, explicitly use libc.so.6 instead of 'c', since JNA will ma…

    …p that to 'libc.so' which won't work on most linux distros.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7930 961051c9-f516-0410-bf72-c9f7e237a7b7
    Wayne Meissner committed Oct 28, 2008
  4. Remove @Override from a method in InheritedCacheCompiler, since it se…

    …ems Java 5 does not like that for simple interface impl.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7929 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 28, 2008
  5. Add constant caching logic to the compiler, matching interpreter for …

    …JRUBY-3062.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7928 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 28, 2008
Commits on Oct 26, 2008
  1. Fix a regression in "binding" behavior: without framing, it started u…

    …sing the incorrect RubyClass, adversely affecting eval with a binding in a block in a class sometimes used for programmatic method definition.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7927 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 26, 2008
Commits on Oct 25, 2008
  1. Tests for JRUBY-1551: eval 'yield', b should succeed if b is a bindin…

    …g pulled from a frame that was passed a block
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7925 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 25, 2008
  2. JRUBY-2885: jna-posix isatty for Windows (patch by Nicholas Riley)

    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7924 961051c9-f516-0410-bf72-c9f7e237a7b7
    enebo committed Oct 25, 2008
  3. fix argument checking regression when interpreter is on. This in fact…

    … seems to perform slightly better than before for bench_method_dispatch_only.rb
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7923 961051c9-f516-0410-bf72-c9f7e237a7b7
    enebo committed Oct 25, 2008
  4. Fix for JRUBY-1000: Illegal attempt to subclass a final Java class sh…

    …ould fail when the subclass is defined
    
    Fixed by adding an exception-throwing "inherited" method to final Java class proxies.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7922 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 25, 2008
  5. Minor thread-safety fix for ConstNode's constant caching: ensure that…

    … the generation is retrieved before the value, so at worst we'll associate an older generation number with a newer value and recache shortly thereafter. Putting the generation get after the value get could lead to stale entries caching an old value with a newer generation.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7921 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 25, 2008
  6. A crummy fix for JRUBY-3057: External command spawning in multiple co…

    …ncurrent threads can go boom
    
    This is a fix for the "actual" problem of many threads trying to require the path_helper library at the same time. In short, it synchronizes on the LoadService to prevent multiple threads from trying the same require at the same time. Barring 1.1.5 including a more robust concurrent require fix, this is arguably safer behavior and certainly fixes the problem.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7920 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 25, 2008
  7. Fix for JRUBY-3059: load "foo.rb" should search for .class as well

    In order to make it easier to precompile .rb scripts and still have 'load' work without ugly either/or rb/class tricks, I've come around to the idea that load should try both when you request to load a .rb file. This also addresses one key problem with Rails, where its load process is much more conscripted, using its own load path and file-searching magic in concert with "load" instead of "require". Because a patch was needed to make this process accept precompiled .rb files, and because precompiled should generally be interchangeable with uncompiled, I've modified load to search both when a .rb file is specified.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7919 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 25, 2008
  8. Probable fix for JRUBY-2750: rather than version compiled scripts, pr…

    …ovide a better linkage error/load error message recommending users recompile.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7918 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 25, 2008
  9. Replacement test for JRUBY-3037 that does not depend on sun JDK inter…

    …nals.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7917 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 25, 2008
  10. Partial fix for JRUBY-1551; original reported case passes but one cas…

    …e in the provided unit test still fails.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7916 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 25, 2008
  11. Fixes for JRUBY-937, support RUBYOPT at command line.

    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7915 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 25, 2008
Commits on Oct 24, 2008
  1. Add spec:ffi and spec:compiler to test-rake-targets, including them i…

    …n main build.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7914 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 24, 2008
  2. Remove some commented/unused code from rescue compilation.

    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7913 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 24, 2008
  3. Simple Interpreter optimization: shorten argument setup path for no a…

    …rg calls by adding invariant boolean
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7912 961051c9-f516-0410-bf72-c9f7e237a7b7
    enebo committed Oct 24, 2008
  4. Final fixes for JRUBY-2800, get JI specs and tracing tests running in…

    … build.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7911 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 24, 2008
  5. Another fix for some IBM JDK unusualities: finalizers coming out of t…

    …he finalizer iterator (in Ruby.tearDown) null, causing NPE.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7910 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 24, 2008
  6. Remove dependency on "build gems" from test-specs, since it only inst…

    …alls mocha for test-rails.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7909 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 24, 2008
  7. Revert "Modify gem installation to install rspec 1.1.8 specifically u…

    …ntil 1.1.9's spectask dependencies work in JRuby. Also removed other added dependencies that got pulled along. Regression: gems try to install every time now."
    
    This reverts commit 4fc6bee9c2708b3ab8c889627564d1e4f6f11b50.
    
    With RubyGems 1.3.0 upgrade and RSpec 1.1.11 release, this specific-version stuff is no longer needed.
    
    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7908 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 24, 2008
  8. Update to RubyGems 1.3.0. JRUBY-3074.

    git-svn-id: http://svn.codehaus.org/jruby/trunk/jruby@7907 961051c9-f516-0410-bf72-c9f7e237a7b7
    headius committed Oct 24, 2008