Permalink
Commits on Feb 13, 2009
  1. add tag v1_8_6_329

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/tags/v1_8_6_329@22280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Feb 13, 2009
  2. merge revision(s) 20231:

    	* shell/command-processor.rb: undefined method `top_level_test' in
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Feb 13, 2009
Commits on Feb 11, 2009
  1. merge revision(s) 20228:

    	* ext/bigdecimal/bigdecimal.c (VpMidRound): Round method bug
    	  pointed by Ryan Platte fixed(Patch to the patch from "NATORI
    	  Shin").  [ruby-talk:273360]
    	  back ported from 1.9. fix [ruby-core:19791]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Feb 11, 2009
Commits on Feb 10, 2009
  1. merge revision(s) 20225:

    	* eval.c (load_lock): makes circular require deadlock.
    	  [ruby-core:19821]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Feb 10, 2009
  2. merge revision(s) 20214:

    	* eval.c (rb_feature_p): returns found feature name if loading.
    	  [ruby-core:19798]
    	* eval.c (search_required): ditto.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Feb 10, 2009
Commits on Feb 9, 2009
  1. merge revision(s) 20189:

    	* win32/win32.c (rb_w32_accept): secure fd before accept because if
    	  error causes in securing, cannot restore the state of accepted
    	  socket.
    	  fixed [ruby-core:19728]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Feb 9, 2009
  2. merge revision(s) 20166:

    	* win32/win32.c (ifs_open_socket): should retry without proto_buffer
    	  if cannot find the suitable protocol. a patch from Heesob Park.
    	  fixed [ruby-core:19713]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Feb 9, 2009
  3. merge revision(s) 20151:

    	* ext/stringio/stringio.c (strio_ungetc): should allow ungetc at
    	  the top of the buffer.  ref #701
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Feb 9, 2009
Commits on Feb 5, 2009
  1. merge revision(s) 20142:

    	* ext/nkf/nkf-utf8/nkf.c (h_conv): can't guess UTF-8 input in
    	  conversion. [ruby-list:45609]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Feb 5, 2009
  2. merge revision(s) 20121:

    	* lib/rexml/entity.rb (unnormalized): do not call
    	  document.record_entity_expansion if document is nil.
    	  see <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502535>.
    	  Thanks, Naohisa Goto.  backported from trunk.
    	* test/rexml/test_document.rb: ditto.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Feb 5, 2009
Commits on Feb 4, 2009
  1. merge revision(s) 20103:

    	* array.c (rb_ary_join): do not repeat self in a recursive array.
    	  [ruby-dev:37019]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Feb 4, 2009
  2. merge revision(s) 20072:

    	* dir.c (dir_globs): need taint check.  reported by steve
    	  <oksteev at gmail.com>
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Feb 4, 2009
Commits on Feb 3, 2009
  1. merge revision(s) 19774:

    	* lib/net/pop.rb: check for invalid APOP timestamp. (CVE-2007-1558)
    	  [ruby-dev:36631]
    	* test/net/pop/test_pop.rb: ditto.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@22000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Feb 3, 2009
Commits on Feb 2, 2009
  1. merge revision(s) 19742:

    	* time.c (time_mdump, time_mload): preserves GMT status.
    	  [ruby-core:19252]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Feb 2, 2009
  2. merge revision(s) 19710:

    	* variable.c (autoload_delete, autoload_file): should not delete
    	  autoload table, since it may be shared with duplicated modules.
    	  [ruby-core:19181]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Feb 2, 2009
Commits on Jan 29, 2009
  1. merge revision(s) 19707:

    	* lib/date.rb (today,now): should produce own instances.
    	  [ruby-talk:317020]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jan 29, 2009
Commits on Jan 28, 2009
  1. merge revision(s) 19690:

    	* eval.c (rb_mod_modfunc): method undefined in included module
    	  may not have nd_body.  [ruby-core:18738]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jan 28, 2009
  2. merge revision(s) 19653:

    	* marshal.c (marshal_dump): fixed for check_dump_arg.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jan 28, 2009
Commits on Jan 27, 2009
  1. merge revision(s) 19652:

    	* marshal.c (marshal_dump): initializes dump_arg before any funcall.
    	  [ruby-dev:36648]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jan 27, 2009
  2. merge revision(s) 19593:

    	* ext/socket/socket.c (host_str): numeric address should be unsigned.
    	  [ruby-core:18971]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jan 27, 2009
Commits on Jan 26, 2009
  1. merge revision(s) 19514:

    	* lib/tmpdir.rb: setup buffer with nul characters instead of spaces.
    	  fixed [ruby-dev:36493]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jan 26, 2009
Commits on Jan 24, 2009
  1. merge revision(s) 19511:

    	* lib/rexml/formatters/pretty.rb (REXML::Formatters::Pretty#wrap):
    	  abandon wrapping if the line contains no space.  [ruby-dev:36045]
    	  fix: #342
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jan 24, 2009
  2. merge revision(s) 19339:

    	* lib/matrix.rb (Vector#eql?): typo of the method name as "eqn?".
    	  (Vector#eqn?): removed. Defined by mistake.
    	  Fixes [ruby-dev:36294]. Reported by weda <weda AT
    	  issp.u-tokyo.ac.jp> and an anonymous user.
    	* test/matrix/test_matrix.rb: added.
    	* test/matrix/test_vector.rb: added.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jan 24, 2009
Commits on Jan 23, 2009
  1. merge revision(s) 19320,19322:

    	* lib/rexml/document.rb: limit entity expansion.  Thanks, Luka
    	  Treiber, Mitja Kolsek, and Michael Koziarski.  backported from
    	  trunk r19033, r19317, r19318.
    	* lib/rexml/entity.rb: ditto.
    	* test/rexml/test_document.rb: ditto.
    	* NEWS: added an entry for REXML.
    	* lib/rexml/document.rb: fixed typo.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jan 23, 2009
Commits on Jan 22, 2009
  1. merge revision(s) 19078,20097:

    	* gc.c (rb_mark_set): new function to mark keys.
    	* marshal.c (struct dump_arg, struct load_arg): added wrappers to mark
    	  data entries.  backport from trunk r13527,r13528,r13961,r16533.
    	  [ruby-dev:36082]
    	* marshal.c (marshal_load): arg.data is no longer a VALUE but a
    	  st_table, and freed in load_ensure.  pointed out by pegacorn.
    	  [ruby-dev:37008]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jan 22, 2009
Commits on Jan 21, 2009
  1. merge revision(s) 19025,19050,19064,19482:

    	* win32/win32.c (gettimeofday): shouldn't use mktime(2) because it's
    	  buggy about handling summer time.
    	  reported by Yoshikawa <yoshixool AT gmail.com> at [ruby-dev:36071]
    	* win32/win32.c (gettimeofday): calc tv_sec and tv_usec from system
    	  time by myself. [ruby-dev:36084]
    	* win32/win32.c (gettimeofday): tv_usec is usec, not msec.
    	  [ruby-dev:36094]
    	  of the Gregorian calendar.
    	* win32/win32.c (filetime_to_timeval): new function, split from
    	  gettimeofday().
    	* win32/win32.c (gettimeofday): use above function.
    	* win32/win32.c (filetime_to_unixtime): ditto. [ruby-dev:36135]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jan 21, 2009
Commits on Jan 20, 2009
  1. merge revision(s) 18744:

    	* lib/scanf.rb (Scanf::FormatSpecifier#initialize): %i should accept
    	  single digit decimal.  [ruby-core:18355]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jan 20, 2009
Commits on Jan 19, 2009
  1. merge revision(s) 18664:

    	* configure.in (rb_cv_broken_glibc_ia64_erfc): renamed from
    	  rb_broken_glibc_ia64_erfc.
    	  [ruby-core:18228]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jan 19, 2009
Commits on Jan 17, 2009
  1. merge revision(s) 18509:

    	* array.c (rb_ary_sample): rename #choice to #sample.  in
    	  addition, sample takes optional argument, a la #first.
    	* random.c (Init_Random): always initialize seed.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jan 17, 2009
  2. merge revision(s) 16602:

    	* marshal.c (dump_ensure, load_ensure): should return values.
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jan 17, 2009
Commits on Jan 16, 2009
  1. merge revision(s) 18485:

    	* class.c (clone_method): should copy cbase in cref as well.
    	  [ruby-dev:35116]
    	* node.h (NEW_CREF): new NEW_ macro.
    	* eval.c (PUSH_CREF): use NEW_CREF().
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jan 16, 2009
Commits on Jan 15, 2009
  1. missing ChangeLog

    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jan 15, 2009
  2. merge revision(s) 18463:

    	* gc.c (STACK_LEVEL_MAX, ruby_stack_length): returns size_t.
    	  [ruby-core:18207]
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jan 15, 2009
Commits on Jan 14, 2009
  1. merge revision(s) 18450:

    	* stable/ext/socket/socket.c (NI_MAXHOST, NI_MAXSERV): fixed invalid
    	  preprocessor directives.  a patch from Peter Bowen at
    	  [ruby-core:18211].
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jan 14, 2009
Commits on Jan 12, 2009
  1. merge revision(s) 18417:

    	* lib/net/ftp.rb (login): raise FTPReplyError if passwd or acct
    	  is not supplied.  backported from trunk.  fixed [ruby-core:18058].
    
    
    git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
    shyouhei committed Jan 12, 2009