* JRUBY-6119 Enable directory listing for JAR files without directory entries

Signed-off-by: Hiro Asari <asari.ruby@gmail.com>
skip "generate-ri-cache" targets since it causes "dist" target to fail.
Fix package for 'fiber' library.
Add intellij file for 1.6 branch
Add missing Fiber#alive? back in.
Distinguish OutOfMemoryError's and print more helpful hint.
Fix the matching message for PermGen error
Override certain RbConfig::MAKEFILE_CONFIG values with environment variables. This resolves JRUBY-6199 in a more general way.
JRUBY-6202: Generate JIT class names using class + method
Revert "Override certain RbConfig::MAKEFILE_CONFIG values with environment variables. This resolves JRUBY-6199 in a more general way."
Since MRI doesn't allow this, I'm going to revert this in this branch.

This reverts commit fa781be8cb74f7e8854f5a8f3137b6497bb57dd2.
Bump macosx-version-min from 10.4 to 10.5.

With this set at 10.4 the MacOS X compiler complains about '-rpath' only
being applicable to 10.5 and above (noticed during 'gem install
mysql2').  Bump it to 10.5 and the error is gone.

Signed-off-by: Hiro Asari <asari.ruby@gmail.com>
JRUBY-6209: Hash#rehash did not work under some condition

It breaks hash because of wrong key hash recalculation.  It should call
RubyHash#hashValue() because the actual hash could be changed by
MRIHashValue() called from hashValue().
It is better late than never. Update COPYING for 2011.
IO#readbyte should be available in 1.8 too

JRuby presents itself as "jruby 1.6.5 (ruby-1.8.7-p330)" and MRI 1.8.7
does support IO#readbyte.
Tag obscure autoload failures.

These failures were brought to light by fixing how we calculate the
new name for anonymous classes assigned to a new constant in a
module/class container. Because we did not recalculate before, the
autoload was found under the old anonymous name. Now that we
recalculate (correctly) the autoload can't be located.

If this gets reported as a real user-visible problem, we can look
into a fix, but it's fairly obscure and 1.7 does autoloads in a new
way anyway.
Tag obscure autoload failures (1.9 mode).

These failures were brought to light by fixing how we calculate the
new name for anonymous classes assigned to a new constant in a
module/class container. Because we did not recalculate before, the
autoload was found under the old anonymous name. Now that we
recalculate (correctly) the autoload can't be located.

If this gets reported as a real user-visible problem, we can look
into a fix, but it's fairly obscure and 1.7 does autoloads in a new
way anyway.
JRUBY-6176: SecureRandom.uuid is not implemented

Merged securerandom.rb of CRuby 1.9, CRuby 1.8 and our forked one into
the new securerandom.rb.  SecureRandom.uuid is enabled only in 1.9 mode.

We should find a better way to maintain securerandom.rb.
JRUBY-6152: ArrayIndexOutOfBoundsException at MatchData#begin for Strings with special characters
Fix JRUBY-6214: Dir#rmdir raises improper exception if directory is not empty.

* Added proper sequence of checks to always raise the more-specific error.
* Cleaned up some related logic.
(cherry picked from commit 2a2b0717ce415a40a12190481f8d1f6a5e6e82f1)
Fix JRUBY-6212: IO#inspect in 1.9 could be prettier
(cherry picked from commit b7c3cc24bddcc3cccf923d5dfeb91ac40a40db65)