Permalink
Switch branches/tags
Commits on May 31, 2011
  1. Cache the expansion of filenames to speed up subsequent requires of the

    xaviershay committed May 31, 2011
    same file. It also speeds up various methods of autoloading that by
    using const_defined? and friends can trigger three expansions of the
    same file name to load a file (Rails does this).
  2. Use a proxy object for $LOADED_FEATURES to intercept modifications and

    xaviershay committed May 31, 2011
    rebuild the internal hash we keep of it. This is contentious! It isn't
    compatible with C extensions that push directly to the array via
    rb_ary_push. Still need to work out a solution.
Commits on May 30, 2011
  1. New algorithm for requiring files. rb_locate_file is the entry point.

    xaviershay committed May 30, 2011
    This code is not called from anywhere yet.
  2. * 2011-05-31

    matzbot committed May 30, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. Tue Jun 30 06:45:21 2011 Martin Bosslet <Martin.Bosslet@googlemail.com>

    emboss committed May 30, 2011
    * ext/openssl/ossl_pkey_rsa.c: Complete documentation.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * test/ruby/test_signal.rb (TestSignal#test_signal_requiring): don't

    akr committed May 30, 2011
      close stderr.
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * test/ruby/test_signal.rb (TestSignal#test_signal_requiring): small

    unak committed May 30, 2011
      but critical typo of r31642.  sorry...
      [Bug #4798] [ruby-core:36550]
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. Fix mixed declarations in r31822.

    nurse committed May 30, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * insns.def (opt_mult): as r31805, volatile it.

    nurse committed May 30, 2011
      Without this, clang -O fails calculation.
    
    * numeric.c (fix_mul): ditto.
    
    * rational.c (f_imul): ditto.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. * numeric.c (int_pow): make sure to assign the result of x * z.

    nurse committed May 30, 2011
      If xz is optimized out, the value won't overflow.
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 29, 2011
  1. revert r31783.

    nobu committed May 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. NetBSD also denies to set sticky bit against regular file.

    nurse committed May 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. try and catch for the test of setenv(3).

    nurse committed May 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * 2011-05-30

    matzbot committed May 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * bignum.c (bigmul1_toom3): remove unused variable.

    nobu committed May 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  6. * numeric.c (flo_round): use absolute value as divisor.

    nobu committed May 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  7. * test/date/test_switch_hitter.rb: properties.

    nobu committed May 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  8. * re.c (rb_reg_match): fix rdoc of Regexp#=~.

    nurse committed May 29, 2011
      patched by Tsuyoshi Sawada. [Bug #4781]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  9. * lib/webrick/https.rb (WEBrick::HTTPRequest#parse_uri):

    nurse committed May 29, 2011
      keep parse_uri as private. patched by okkez. [Bug #4773]
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  10. * numeric.c: add #include "interna.h" for rb_big_uminus() prototype.

    nagachika committed May 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  11. * numeric.c (flo_round): fix for negative value.

    nobu committed May 29, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 28, 2011
  1. * test/net/http/utils.rb (TestNetHTTPUtils#teardown): add nil check.

    kosaki committed May 28, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * 2011-05-29

    matzbot committed May 28, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. * process.c (before_exec, after_exec): change from macro to function.

    kosaki committed May 28, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * process.c (before_exec, after_exec): change SIGPIPE handler to SIG_DFL

    kosaki committed May 28, 2011
      before calling execve(). Because r31760 reintroduced an issue that
      system() may hang up (i.e. [ruby-dev:12261]).
    * process.c (save_sigpipe, restore_sigpipe): new.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * signal.c (Init_signal, default_handler): change default SIGPIPE han…

    kosaki committed May 28, 2011
    …dler
    
      from empty function to SIG_IGN. [ruby-dev:43215]
    * signal.c (sigpipe): removed.
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Commits on May 27, 2011
  1. update comment.

    akr committed May 27, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  2. * io.c (fill_cbuf): return MORE_CHAR_SUSPENDED when cbuf is not empty.

    nurse committed May 27, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  3. email addr fix

    kosaki committed May 27, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  4. * string.c (rb_str_bytesize): rb_str_bytesize() should use LONG2NUM().

    kosaki committed May 27, 2011
      Patch by Nikolai Weibull. [Bug #4789] [ruby-core:36511]
    
    
    
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  5. * io.c (fill_cbuf): Fix test-all crash.

    kosaki committed May 27, 2011
    git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e