Permalink
Commits on Jul 17, 2008
  1. add tag v1_8_6_278

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/tags/v1_8_6_278@18113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 17, 2008
  2. merge revision(s) 17719:

    	* string.c (rb_str_format_m): make tmp volatile to avoid possible GC
    	  problem.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@18112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 17, 2008
  3. merge revision(s) 18058:

    	* lib/optparse.rb (OptionParser#environment): requires shellwords.
    	  [ruby-dev:35466]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@18108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 17, 2008
Commits on Jul 16, 2008
  1. merge revision(s) 18031:

    	* ext/zlib/zlib.c (rb_gzfile_set_mtime): fix typo.  [ruby-core:17713]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@18087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 16, 2008
Commits on Jul 12, 2008
  1. merge revision(s) 17940:

    	* lib/ipaddr.rb (IPAddr#initialize): get rid of ArgumentError in
    	  IPAddr#to_range.  a patch from okkez <okkez000 AT gmail.com> in
    	  [ruby-dev:35091].
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@18047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 12, 2008
  2. merge revision(s) 17841,17845,17858:

    	* configure.in (erfc): erfc of glibc comes with Debian GNU/Linux Etch
    	  on IA64 is broken.  erfc(10000.0) aborts.
    	  use missing/erf.c instead.
    	  http://sources.redhat.com/ml/libc-hacker/2005-08/msg00008.html
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@18043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 12, 2008
Commits on Jul 10, 2008
  1. merge revision(s) 17916:

    	* file.c (rb_file_s_extname): fix for file name with spaces.
    	  [ruby-talk:307404]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@18004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 10, 2008
  2. merge revision(s) 17868:

    	* lib/net/ftp.rb (Net::FTP#sendport): use divmod.  [ruby-core:17557]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 10, 2008
  3. merge revision(s) 17849:

    	* ruby.c: Mac OS X needs origargc times of '\0' in
    	  origargv. [ruby-dev:35308]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 10, 2008
  4. merge revision(s) 17842:

    	* include/ruby/ruby.h (POSFIXABLE): use FIXNUM_MAX+1 instead of
    	  FIXNUM_MAX to make it possible to convert to double accurately.
    	  It assumes FLT_RADIX is 2.
    	  fix RubyForge bug #14102.
    	  backported from 1.9.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 10, 2008
Commits on Jul 7, 2008
  1. merge revision(s) 17869:

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 7, 2008
  2. merge revision(s) 17839:

    	* lib/net/smtp.rb (Net::SMTP::start): use 'localhost' instead of
    	  'localhost.localdomain'.  [ruby-dev:35333]
    	* lib/net/smtp.rb (Net::SMTP::SMTP.start): ditto.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 7, 2008
  3. merge revision(s) 17832:

    	* eval.c (rb_longjmp): duplicate the thrown exception to set backtrace
    	  if it was frozen.  clear all raised flags.
    	* eval.c (stack_check): leave clearing flag to rb_longjmp.
    	* eval.c (rb_thread_set_raised, rb_thread_reset_raised): use generic
    	  flags.
    	* eval.c (Init_Proc), gc.c (Init_GC): freeze preallocated special exceptions.
    	* gc.c (rb_memerror): use thread raised flag instead of static flag,
    	  and raise nomem_error without backtrace if failed to make backtrace.
    	  [ruby-dev:34724]
    	* gc.c (ruby_xmalloc): increase malloc_increase only if malloc
    	  succeeds.  failed malloc size can be huge.  it may increase
    	  malloc_limit too big which cause less GC and memory full.
    	  (ruby_xrealloc): ditto.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 7, 2008
  4. merge revision(s) 17827,17846:17848:

    	* gc.c: add rb_during_gc(). based on a patch from arton <artonx AT
    	  yahoo.co.jp> at [ruby-dev:35313].   
    	* intern.h: ditto.
    	* ext/win32ole/win32ole.c: avoid creating Ruby object during
    	  GC. thanks to arton <artonx AT yahoo.co.jp>. [ruby-dev:35313]
    	* ext/win32ole/tests: add test_win32ole_event.rb, remove
    	  testOLEEVENT.rb
    	* ext/win32ole/tests/testWIN32OLE.rb(test_convert_bignum):
    	  fix test.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 7, 2008
  5. patchlevel 266

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 7, 2008
Commits on Jul 5, 2008
  1. 2008-07-06

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    svn committed Jul 5, 2008
  2. * re.c (rb_reg_search): need to free allocated buffer in re_register.…

    … [ruby-core:17518]
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    matz committed Jul 5, 2008
Commits on Jul 3, 2008
  1. * win32/win32.c: revert r17290, requested by NAKAMURA Usaku

    	  <usa at ruby-lang.org>
    
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 3, 2008
Commits on Jul 2, 2008
  1. merge revision(s) 17753:

    	* lib/cgi.rb (CGI::QueryExtension.read_multipart): blanks inside
    	  double quotes are allowed.  [ruby-list:45140]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 2, 2008
  2. merge revision(s) 17749:17752:

    	* numeric.c (num_coerce): call rb_Float(x) first.  don't depend on
    	  evaluation order of function arguments.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 2, 2008
  3. merge revision(s) 17727:

    	* ext/syslog/syslog.c (syslog_write): syslog operations should be
    	  protected from $SAFE level 4.  a patch from Keita Yamaguchi
    	  <keita.yamaguchi at gmail.com>.
    	* ext/syslog/syslog.c (mSyslog_close): ditto.
    	* ext/syslog/syslog.c (mSyslog_set_mask): ditto.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 2, 2008
  4. merge revision(s) 17644:

    	* math.c (domain_check): fix preprocess condition.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 2, 2008
  5. merge revision(s) 17643:

    	* lib/tmpdir.rb (@@systmpdir): prior LOCAL_APPDATA if possible, and
    	  should be clean.  based on a patch from arton <artonx AT
    	  yahoo.co.jp> at [ruby-dev:35269]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 2, 2008
  6. merge revision(s) 17642:

    	* ext/win32ole/win32ole.c (date2time_str): fix the overflow in
    	  some situation. [ruby-bugs-20793]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 2, 2008
  7. merge revision(s) 16851:

    	* ext/iconv/iconv.c (iconv_iconv): fixed backport miss.
    	  [ruby-core:17115]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 2, 2008
Commits on Jul 1, 2008
  1. merge revision(s) 17756:

    	* array.c (rb_ary_fill): check if beg is too big.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jul 1, 2008
Commits on Jun 30, 2008
  1. merge revision(s) 17530:

    	* string.c (str_buf_cat): check for self concatenation.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 30, 2008
Commits on Jun 29, 2008
  1. merge revision(s) 17636:

    	* eval.c (rb_obj_respond_to): use RTEST to test the result of
    	  respond_to? method.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 29, 2008
  2. * array.c (rb_ary_fill): (compatibility) do not raise

    	  ArgumentError on negative length.  This behaviour shall change
      	  in a future release.
    
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 29, 2008
  3. merge revision(s) 17617:

    	* time.c (time_timeval): fix rounding negative float.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 29, 2008
  4. merge revision(s) 17586,17612:

    	* ruby.c (set_arg0, ruby_prog_init): freeze $0.  a patch from Keita
    	  Yamaguchi <keita.yamaguchi at gmail.com>.
    	* test/inlinetest.rb (InlineTest.in_progname): workaround for frozen
    	  $0.  [ruby-dev:35261]
    	* lib/test/unit/ui/console/testrunner.rb (TestRunner#finished): ditto.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 29, 2008
  5. merge revision(s) 17584:

    	* process.c: include sys/resource.h if HAVE_SYS_RESOURCE_H is defined.
    	  pointed by TOYOFUKU Chikanobu.  [ruby-dev:35258]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 29, 2008
  6. merge revision(s) 17581:

    	* eval.c (rb_call0): wrong condition to check insecure method.
    	  a patch from Keita Yamaguchi <keita.yamaguchi at gmail.com>.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 29, 2008
  7. merge revision(s) 17578:

    	* variable.c (rb_f_trace_var): should not be allowed at safe level 4.  
    	  a patch from Keita Yamaguchi <keita.yamaguchi at gmail.com>.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 29, 2008
  8. merge revision(s) 17570:

    	* array.c (rb_ary_fill): not depend on unspecified behavior at integer
    	  overflow.  reported by Vincenzo Iozzo <snagg AT openssl.it>.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jun 29, 2008