Permalink
Commits on Aug 15, 2007
  1. add tag v1_8_5_80

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/tags/v1_8_5_80@13023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  2. * bignum.c (rb_big_lshift, rb_big_rshift): separated functions

    	  to get rid of infinite recursion.  fixed calculation in edge
    	  cases.  [ruby-dev:31244]
    	* numeric.c (rb_fix_lshift, rb_fix_rshift): ditto.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@13022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  3. * time.c (time_succ): Time#succ should return a time object in the

    	  same timezone mode to the original.  [ruby-talk:260256]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@13017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  4. * numeric.c (fix_pow): integer power calculation: 0**n => 0,

    	  1**n => 1, -1**n => 1 (n: even) / -1 (n: odd).
    	* test/ruby/test_fixnum.rb (TestFixnum::test_pow): update test
    	  suite.  pow(-3, 2^64) gives NaN when pow(3, 2^64) gives Inf.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@13015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  5. * lib/base64.rb (Base64::b64encode): should not specify /o option

    	  for regular expression.  [ruby-dev:31221]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@13013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  6. * sprintf.c (rb_f_sprintf): more checks for format argument.

    	  [ruby-core:11569], [ruby-core:11570], [ruby-core:11571],
    	  [ruby-core:11573]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@13011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  7. * ext/digest/digest.c (rb_digest_instance_update,

    	  rb_digest_instance_finish, rb_digest_instance_reset,
    	  rb_digest_instance_block_length): %s in rb_raise() expects char*.
    	  [ruby-dev:31222]
    	* ext/openssl/ossl.h: include ossl_pkcs5.h.  [ruby-dev:31231]
    	* ext/openssl/ossl_pkcs5.h: new file for PKCS5.  [ruby-dev:31231]
    	* ext/openssl/ossl_x509name.c (ossl_x509name_to_s): use ossl_raise()
    	  instead of rb_raise().  [ruby-dev:31222]
    	* ext/sdbm/_sdbm.c: DOSISH platforms need io.h.  [ruby-dev:31232]
    	* ext/syck/syck.h: include stdlib.h for malloc() and free().
    	  [ruby-dev:31232]
    	* ext/syck/syck.h (syck_parser_set_input_type): prototype added.
    	  [ruby-dev:31231]
    	* win32/win32.c: include mbstring.h for _mbspbrk().  [ruby-dev:31232]
    	* win32.h (rb_w32_getcwd): prototype added.  [ruby-dev:31232]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@12988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  8. * bignum.c (rb_cstr_to_inum): check leading non-digits.

    	  [ruby-core:11691]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@12986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  9. * numeric.c (fix_pow): 0**2 should not raise floating point

    	  exception.  [ruby-dev:31216]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@12984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  10. * win32/win32.c (CreateChild): enclose command line except for

    	  command.com which can not handle quotes.  [ruby-talk:258939]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@12982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  11. * lib/mkmf.rb (link_command, cc_command, cpp_command): do not expand

    	  ::CONFIG which is an alias of MAKEFILE_CONFIG.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@12980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  12. * struct.c (rb_struct_init_copy): disallow changing the size.

    	  [ruby-dev:31168]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@12978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  13. * random.c: documentation fix. srand(0) initializes PRNG with '0',

    	  not with random_seed.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@12976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  14. * sprintf.c (rb_f_sprintf): sign bit extension should not be done

    	  if FPLUS flag is specified.  [ruby-list:39224]
    	  numbers if FZERO is specified.  [ruby-list:39218]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@12972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  15. * array.c (rb_ary_initialize): should call rb_ary_modify() first.

    	  [ruby-core:11562]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@12970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  16. * parse.y (yylex): return non-valid token for an invalid

    	  instance/class variable name.  a patch from from Yusuke ENDOH
    	  <mame AT tsg.ne.jp>.  [ruby-dev:31095]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@12968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  17. * parse.y (dsym): return non-null NODE even if yyerror(). based on a

    	  patch from from Yusuke ENDOH <mame AT tsg.ne.jp>.  [ruby-dev:31085]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@12966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  18. * variable.c (rb_path2class): get rid of dangling pointer caused by

    	  optimized out value.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@12962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  19. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@1…

    …2960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  20. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@1…

    …2958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  21. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@1…

    …2956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  22. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@1…

    …2953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  23. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@1…

    …2951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
  24. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@1…

    …2949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Aug 15, 2007
Commits on Jun 12, 2007
  1. * stable version 1.8.5-p52 released.

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@12526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 12, 2007
Commits on Jun 7, 2007
  1. 2007-06-07

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@12465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 7, 2007
  2. * eval.c (method_inspect): show proper class name.

      [ruby-talk:248647], Thanks Calamitas.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@12461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 7, 2007
Commits on May 28, 2007
  1. * win32/win32.c (move_to_next_entry): revert r12338. not necessary

    	  on ruby_1_8_5.
    
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@12397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    unak committed May 28, 2007
Commits on May 26, 2007
  1. * eval.c (mnew): call of super via a method object should work again.

      [ruby-talk:248647], Thanks Calamitas.
    
    * test/ruby/test_method.rb (TestMethod::test_method_super): test for
      above fix.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@12393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed May 26, 2007
Commits on May 22, 2007
  1. * lib/cgi.rb (CGI#[]): get rid of exceptions being raised.

      [ruby-dev:30740], Thanks Kentaro KAWAMOTO.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@12341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed May 22, 2007
  2. merge -c 12293

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_5@12338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed May 22, 2007