ruby.git
14 years agoadd tag v1_8_7_30v1_8_7_30
shyouhei [Sun, 29 Jun 2008 09:22:30 +0000 (29 09:22 +0000)]
add tag v1_8_7_30

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_8_7_30@17685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agomerge revision(s) 17561:
shyouhei [Sun, 29 Jun 2008 09:22:27 +0000 (29 09:22 +0000)]
merge revision(s) 17561:
* ext/win32ole/win32ole.c(ole_invoke): fix memory leak.
  [ruby-bugs-20792]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agomerge revision(s) 17547:
shyouhei [Sun, 29 Jun 2008 09:20:47 +0000 (29 09:20 +0000)]
merge revision(s) 17547:
* eval.c (PUSH_FRAME, PUSH_CLASS): Add volatile to avoid a
  possible optimization bug on OS X/PPC.  This at least makes
  build with gcc -O1 and `make test' pass.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agomerge revision(s) 17497:
shyouhei [Sun, 29 Jun 2008 08:24:56 +0000 (29 08:24 +0000)]
merge revision(s) 17497:
* lib/rdoc/parsers/parse_rb.rb (RDoc#collect_first_comment): skip
  magic comment.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agomerge revision(s) 17366:
shyouhei [Sun, 29 Jun 2008 08:22:39 +0000 (29 08:22 +0000)]
merge revision(s) 17366:
* ext/stringio/stringio.c (strio_each, strio_readlines): IO#each and
  IO#readlines do not affect $_.  [ruby-core:17277]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agomerge revision(s) 17352:
shyouhei [Sun, 29 Jun 2008 08:20:39 +0000 (29 08:20 +0000)]
merge revision(s) 17352:
* ext/stringio/stringio.c (strio_readline, strio_each)
  (strio_readlines): set lastline.  [ruby-core:17257]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agomerge revision(s) 17108:
shyouhei [Sun, 29 Jun 2008 08:16:02 +0000 (29 08:16 +0000)]
merge revision(s) 17108:
* ext/openssl/ossl.h: include winsock.h if USE_WINSOCK2 is not defined.
  a patch from arton <artonx at yahoo.co.jp> in [ruby-dev:35078]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agomerge revision(s) 17074:
shyouhei [Sun, 29 Jun 2008 08:10:06 +0000 (29 08:10 +0000)]
merge revision(s) 17074:
* util.c (ruby_strtod): ruby_strtod don't allow a trailing
  decimal point like "7.". [ruby-dev:34835] [ruby-dev:35009]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agomerge revision(s) 17625:
shyouhei [Sat, 28 Jun 2008 10:23:54 +0000 (28 10:23 +0000)]
merge revision(s) 17625:
* class.c (clone_method): use rb_copy_node_scope.
  fixed [ruby-list:45102]
  fixed [ruby-core:17393]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago2008-06-28
svn [Sat, 28 Jun 2008 10:12:21 +0000 (28 10:12 +0000)]
2008-06-28

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* class.c: revert to r15855.
shyouhei [Sat, 28 Jun 2008 10:12:15 +0000 (28 10:12 +0000)]
* class.c: revert to r15855.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agomerge revision(s) 17483:
shyouhei [Fri, 20 Jun 2008 09:28:35 +0000 (20 09:28 +0000)]
merge revision(s) 17483:
* string.c (rb_str_buf_append): should infect.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agomerge revision(s) 17470:17472:
shyouhei [Fri, 20 Jun 2008 07:38:15 +0000 (20 07:38 +0000)]
merge revision(s) 17470:17472:
* array.c (rb_ary_store, rb_ary_splice): not depend on unspecified
  behavior at integer overflow.
* string.c (str_buf_cat): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* array.c (ary_new, rb_ary_initialize, rb_ary_store,
shyouhei [Thu, 19 Jun 2008 23:12:46 +0000 (19 23:12 +0000)]
* array.c (ary_new, rb_ary_initialize, rb_ary_store,
  rb_ary_aplice, rb_ary_times): integer overflows should be
  checked. based on patches from Drew Yao <ayao at apple.com>
  fixed CVE-2008-2726

* string.c (rb_str_buf_append): fixed unsafe use of alloca,
  which led memory corruption. based on a patch from Drew Yao
  <ayao at apple.com> fixed CVE-2008-2726

* sprintf.c (rb_str_format): backported from trunk.

* intern.h: ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* file.c (file_expand_path): no need to expand root path which has no
knu [Tue, 17 Jun 2008 06:10:23 +0000 (17 06:10 +0000)]
* file.c (file_expand_path): no need to expand root path which has no
  short file name.  [ruby-dev:35095]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* configure.in: Fix $LOAD_PATH. Properly expand vendor_ruby
knu [Sun, 15 Jun 2008 10:28:47 +0000 (15 10:28 +0000)]
* configure.in: Fix $LOAD_PATH.  Properly expand vendor_ruby
  directories; submitted by Takahiro Kambe <taca at
  back-street.net> in [ruby-dev:35099].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agopatchlevel 17
knu [Mon, 9 Jun 2008 09:21:29 +0000 (9 09:21 +0000)]
patchlevel 17

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* lib/set.rb (Set#delete_if): Call to_a.
knu [Mon, 9 Jun 2008 09:20:43 +0000 (9 09:20 +0000)]
* lib/set.rb (Set#delete_if): Call to_a.
  (SortedSet#delete_if, TC_SortedSet#test_sortedset): Use super to
  yield elements in sorted order; [ruby-core:17144] by Arthur
  Schreiber.
  (SortedSet#each, SortedSet#each, TC_Set#test_each)
  (TC_SortedSet#test_sortedset): Return self; [ruby-dev:35002] by
  Arthur Schreiber.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoIgnore config.status.lineno.
knu [Sun, 8 Jun 2008 18:29:23 +0000 (8 18:29 +0000)]
Ignore config.status.lineno.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* ext/zlib/zlib.c (rb_deflate_initialize, Init_zlib): Fix up
knu [Sun, 8 Jun 2008 18:28:37 +0000 (8 18:28 +0000)]
* ext/zlib/zlib.c (rb_deflate_initialize, Init_zlib): Fix up
  initialize_copy; [ruby-list:45016], [ruby-list:45018].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* NEWS: Mention new constants.
knu [Sun, 8 Jun 2008 18:27:15 +0000 (8 18:27 +0000)]
* NEWS: Mention new constants.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* hash.c (hash_i): make Hash#hash order insensitive.
knu [Sun, 8 Jun 2008 18:25:01 +0000 (8 18:25 +0000)]
* hash.c (hash_i): make Hash#hash order insensitive.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* configure.in (VENDOR_DIR): use LIBDIR instead of PREFIX as well as
knu [Sun, 8 Jun 2008 18:23:46 +0000 (8 18:23 +0000)]
* configure.in (VENDOR_DIR): use LIBDIR instead of PREFIX as well as
  SITE_DIR.  a patch from Richard Brown <rbrown AT exherbo.org> in
  [ruby-core:17129].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* gc.c (os_obj_of): assure to not free the scanning heap.
knu [Sun, 8 Jun 2008 18:21:56 +0000 (8 18:21 +0000)]
* gc.c (os_obj_of): assure to not free the scanning heap.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* io.c (rb_open_file, rb_io_s_sysopen): fmode should be unsigned int.
knu [Sun, 8 Jun 2008 18:20:37 +0000 (8 18:20 +0000)]
* io.c (rb_open_file, rb_io_s_sysopen): fmode should be unsigned int.
  fixed [ruby-dev:34979]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@17028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge changes from ruby_1_8 that fixes build with Visual C++ 8 with
knu [Fri, 6 Jun 2008 12:19:21 +0000 (6 12:19 +0000)]
Merge changes from ruby_1_8 that fixes build with Visual C++ 8 with
Winsock2.

* win32/Makefile.sub (COMMON_HEADERS): include ws2tcpip.h.

* ext/socket/addrinfo.h (addrinfo, getaddrinfo, getnameinfo,
  freehostent, freeaddrinfo): undef before define because these are
  macros in some versions of Windows SDK.

* win32/setup.mak: maybe commit miss.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge changes from ruby_1_8 to reduce warnings and potentially improve
knu [Fri, 6 Jun 2008 10:39:57 +0000 (6 10:39 +0000)]
Merge changes from ruby_1_8 to reduce warnings and potentially improve
security.

* mkconfig.rb: hide build path from rbconfig.rb.

* util.c (ruby_strtod, dtoa): initialize more variables for error
  handling.

* io.c (rscheck), marshal.c (w_nbyte, w_bytes, w_unique),
  (path2class, path2module): constified.

* pack.c (pack_unpack), process.c (rb_syswait): suppress warnings.

* suppress warnings on cygwin, mingw and mswin.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* file.c (file_expand_path): fix for non-existent files and SFN of
knu [Fri, 6 Jun 2008 10:30:23 +0000 (6 10:30 +0000)]
* file.c (file_expand_path): fix for non-existent files and SFN of
  symlinks.  [ruby-talk:303736]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* test/iconv: Tests fixed.
knu [Fri, 6 Jun 2008 09:36:19 +0000 (6 09:36 +0000)]
* test/iconv: Tests fixed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoI didn't mean to commit it all at once, but since subversion couldn't
knu [Fri, 6 Jun 2008 08:11:23 +0000 (6 08:11 +0000)]
I didn't mean to commit it all at once, but since subversion couldn't
be interrupted I just add these entries to ChangeLog.

* win32/win32.h: include ws2tcpip.h. fixed [ruby-Bugs-20528]

* lib/time.rb (Time.xmlschema): don't use float.  fix
  http://rubyforge.org/tracker/index.php?func=detail&group_id=426&atid=1698&aid=20504

* object.c (rb_obj_alloc): RDoc updated.  a patch from Gaston
  Ramos <ramos.gaston at gmail.com> in [ruby-core:17073].

* lib/rdoc.rb: massive spelling correction patch from Evan Farrar
  <evanfarrar at gmail.com> in [ruby-doc:1382] applied.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* ext/openssl/ossl_ssl_session.c (ossl_ssl_session_initialize):
knu [Fri, 6 Jun 2008 08:05:24 +0000 (6 08:05 +0000)]
* ext/openssl/ossl_ssl_session.c (ossl_ssl_session_initialize):
  Add a null check for ssl; submitted by akira yamada
  in [ruby-dev:34950].

* ext/openssl/ossl_ssl.c (Init_ossl_ssl): Define OP_NO_TICKET if
  SSL_OP_NO_TICKET is present; submitted by akira yamada
  in [ruby-dev:34944].

* test/openssl/test_ssl.rb (OpenSSL#test_server_session): Add a
  workaround for the case where OpenSSL is configured with
  --enable-tlsext; submitted by akira yamada in [ruby-dev:34944].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* ext/iconv/iconv.c (iconv_iconv): fix for length argument and now
knu [Fri, 6 Jun 2008 08:03:49 +0000 (6 08:03 +0000)]
* ext/iconv/iconv.c (iconv_iconv): fix for length argument and now
  allows range.  [ruby-core:17092] [ruby-core:17115]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* NEWS: Fix typos and move misplaced entries.
knu [Wed, 4 Jun 2008 08:24:26 +0000 (4 08:24 +0000)]
* NEWS: Fix typos and move misplaced entries.
  NEWS: Somehow optflags and warnflags were not actually included
  in this release.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoFix typos and move misplaced entries.
knu [Wed, 4 Jun 2008 07:15:54 +0000 (4 07:15 +0000)]
Fix typos and move misplaced entries.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* enumerator.c (enumerator_init_copy): Take care of
knu [Tue, 3 Jun 2008 11:06:38 +0000 (3 11:06 +0000)]
* enumerator.c (enumerator_init_copy): Take care of
  initialize_copy as well as initialize.

* test/ruby/test_enumerator.rb: Pull in the test suite for
  enumerator from trunk.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* enumerator.c (enumerator_allocate, enumerator_ptr): Properly
knu [Tue, 3 Jun 2008 04:03:15 +0000 (3 04:03 +0000)]
* enumerator.c (enumerator_allocate, enumerator_ptr): Properly
  detect if the object is initialized and raise error when
  appropriate.
  (enumerator_initialize): Fix a typo in rdoc. [ruby-core:17052]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* lib/erb.rb (ERB::Compiler::TrimScanner#scan_line): Fix a bug
knu [Tue, 3 Jun 2008 01:18:47 +0000 (3 01:18 +0000)]
* lib/erb.rb (ERB::Compiler::TrimScanner#scan_line): Fix a bug
  where tokens are not yilelded one by one.
  (ERB::Compiler::TrimScanner#explicit_trim_line): Fix without-
  strscan problems. [ruby_core:17028].

* test/erb/test_erb.rb (TestERBCore#_test_01)
  (TestERBCore#test_02_safe_04): The expected value should come
  first for assert_equal().
  (TestERBCoreWOStrScan): Add test class for without-strscan.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* lib/delegate.rb (DelegateClass, Delegator#respond_to?):
knu [Mon, 2 Jun 2008 10:52:07 +0000 (2 10:52 +0000)]
* lib/delegate.rb (DelegateClass, Delegator#respond_to?):
  respond_to? must take optional second argument.  This was a
  latent bug exposed by a recent internal change of marshal.c to
  call respond_to? with a second argument; submitted by Jeremy
  Kemper <jeremy at bitsweat.net> in [ruby-core:17045].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoI don't understand what's happening here, but it seems something went
knu [Sat, 31 May 2008 15:17:53 +0000 (31 15:17 +0000)]
I don't understand what's happening here, but it seems something went
wrong by a broken working directory.  Recover ruby_1_8_7 from v1_8_7.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoTag for 1.8.7.v1_8_7
knu [Sat, 31 May 2008 14:57:11 +0000 (31 14:57 +0000)]
Tag for 1.8.7.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_8_7@16730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoReleasing as 1.8.7.
knu [Sat, 31 May 2008 14:54:48 +0000 (31 14:54 +0000)]
Releasing as 1.8.7.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* README, README.ja: Add a note about default C flags.
knu [Sat, 31 May 2008 14:40:44 +0000 (31 14:40 +0000)]
* README, README.ja: Add a note about default C flags.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Sat, 31 May 2008 13:37:06 +0000 (31 13:37 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Sat, 31 May 2008 11:58:25 +0000 (31 11:58 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Sat, 31 May 2008 11:44:49 +0000 (31 11:44 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Thu, 29 May 2008 19:35:50 +0000 (29 19:35 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* ext/openssl/ossl_bn.c (ossl_bn_s_rand, ossl_bn_s_pseudo_rand):
knu [Thu, 29 May 2008 18:15:50 +0000 (29 18:15 +0000)]
* ext/openssl/ossl_bn.c (ossl_bn_s_rand, ossl_bn_s_pseudo_rand):
  Int should be enough here.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Thu, 29 May 2008 17:45:47 +0000 (29 17:45 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoFix a typo.
knu [Thu, 29 May 2008 13:50:59 +0000 (29 13:50 +0000)]
Fix a typo.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Thu, 29 May 2008 11:23:36 +0000 (29 11:23 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Wed, 28 May 2008 09:31:22 +0000 (28 09:31 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Wed, 28 May 2008 08:55:41 +0000 (28 08:55 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Wed, 28 May 2008 08:52:57 +0000 (28 08:52 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* array.c (rb_ary_slice_bang): Call rb_ary_modify_check() at the
knu [Wed, 28 May 2008 07:54:44 +0000 (28 07:54 +0000)]
* array.c (rb_ary_slice_bang): Call rb_ary_modify_check() at the
  beginning. [rubyspec]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Wed, 28 May 2008 07:16:25 +0000 (28 07:16 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Wed, 28 May 2008 04:23:21 +0000 (28 04:23 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Tue, 27 May 2008 11:38:17 +0000 (27 11:38 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Tue, 27 May 2008 11:20:37 +0000 (27 11:20 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Tue, 27 May 2008 10:50:15 +0000 (27 10:50 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Tue, 27 May 2008 10:26:30 +0000 (27 10:26 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Tue, 27 May 2008 10:07:07 +0000 (27 10:07 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoReleasing as Ruby 1.8.7-preview4.
knu [Mon, 26 May 2008 03:17:09 +0000 (26 03:17 +0000)]
Releasing as Ruby 1.8.7-preview4.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Mon, 26 May 2008 03:12:58 +0000 (26 03:12 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8, including r16205.
knu [Mon, 26 May 2008 03:08:26 +0000 (26 03:08 +0000)]
Merge from ruby_1_8, including r16205.

Note that passing a block to a Proc is experimental and partly broken.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Sun, 25 May 2008 23:42:50 +0000 (25 23:42 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Sun, 25 May 2008 23:02:04 +0000 (25 23:02 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Sun, 25 May 2008 18:33:05 +0000 (25 18:33 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agofix a typo
knu [Sat, 24 May 2008 20:29:37 +0000 (24 20:29 +0000)]
fix a typo

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Sat, 24 May 2008 20:21:59 +0000 (24 20:21 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Sat, 24 May 2008 18:16:10 +0000 (24 18:16 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Sat, 24 May 2008 17:49:34 +0000 (24 17:49 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* ext/tk/sample: set eol-style.
nobu [Fri, 23 May 2008 06:03:23 +0000 (23 06:03 +0000)]
* ext/tk/sample: set eol-style.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoRemove duplicate entries.
knu [Fri, 23 May 2008 05:30:01 +0000 (23 05:30 +0000)]
Remove duplicate entries.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8. Add files that have not been added yet.
knu [Fri, 23 May 2008 05:22:13 +0000 (23 05:22 +0000)]
Merge from ruby_1_8.  Add files that have not been added yet.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Thu, 22 May 2008 16:07:42 +0000 (22 16:07 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Thu, 22 May 2008 03:31:43 +0000 (22 03:31 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Wed, 21 May 2008 17:27:56 +0000 (21 17:27 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Mon, 19 May 2008 09:30:25 +0000 (19 09:30 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Mon, 19 May 2008 05:44:47 +0000 (19 05:44 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* ext/openssl/openssl_missing.c (HMAC_CTX_copy): adopted
knu [Mon, 19 May 2008 03:00:52 +0000 (19 03:00 +0000)]
* ext/openssl/openssl_missing.c (HMAC_CTX_copy): adopted
  prototype change in openssl bundled with newer OpenBSD.
  a patch from Takahiro Kambe <taca at back-street.net> in
  [ruby-dev:34691].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoReleasing as 1.8.7-preview3..
knu [Sun, 18 May 2008 21:38:51 +0000 (18 21:38 +0000)]
Releasing as 1.8.7-preview3..

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge a NEWS entry from ruby_1_8.
knu [Sun, 18 May 2008 21:25:00 +0000 (18 21:25 +0000)]
Merge a NEWS entry from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge -r16241:16456 from ruby_1_8.
knu [Sun, 18 May 2008 15:02:36 +0000 (18 15:02 +0000)]
Merge -r16241:16456 from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge r16206 and r16239 from ruby_1_8.
knu [Sun, 18 May 2008 14:48:15 +0000 (18 14:48 +0000)]
Merge r16206 and r16239 from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Fri, 25 Apr 2008 06:51:21 +0000 (25 06:51 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Wed, 23 Apr 2008 05:18:50 +0000 (23 05:18 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoAdd entries for the preview releases.
knu [Wed, 23 Apr 2008 02:46:34 +0000 (23 02:46 +0000)]
Add entries for the preview releases.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Tue, 22 Apr 2008 17:29:39 +0000 (22 17:29 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Mon, 21 Apr 2008 09:43:44 +0000 (21 09:43 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge from ruby_1_8.
knu [Mon, 21 Apr 2008 04:57:00 +0000 (21 04:57 +0000)]
Merge from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* enumerator.c: Resolve the method every time an enumeration
knu [Sun, 20 Apr 2008 12:04:37 +0000 (20 12:04 +0000)]
* enumerator.c: Resolve the method every time an enumeration
  method is run, not once when the enumerator is initialized as it
  was before, so that method_missing() and method (re)definition
  afterwards are both in effect; pointed out in: [ruby-core:16441]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago20080420
knu [Sun, 20 Apr 2008 09:05:58 +0000 (20 09:05 +0000)]
20080420

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* object.c, NEWS, test/ruby/test_symbol.rb: Revert Symbol#to_proc
knu [Sun, 20 Apr 2008 09:04:50 +0000 (20 09:04 +0000)]
* object.c, NEWS, test/ruby/test_symbol.rb: Revert Symbol#to_proc
  since it does not pass the tests.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoAdd test/yamlstore.rb.
knu [Sun, 20 Apr 2008 09:03:56 +0000 (20 09:03 +0000)]
Add test/yamlstore.rb.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* ext/openssl/ossl_ssl.c: initialize session class.
technorama [Sun, 20 Apr 2008 05:43:12 +0000 (20 05:43 +0000)]
* ext/openssl/ossl_ssl.c: initialize session class.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge this too.
knu [Sat, 19 Apr 2008 11:56:22 +0000 (19 11:56 +0000)]
Merge this too.

       * lib/uri/ftp.rb, lib/uri/generic.rb, test/uri/test_common.rb,
         test/uri/test_ftp.rb, test/uri/test_generic.rb: backported from 1.9.
         [ruby-dev:31318]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years agoMerge everything from ruby_1_8.
knu [Sat, 19 Apr 2008 11:45:39 +0000 (19 11:45 +0000)]
Merge everything from ruby_1_8.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* ext/syck/rubyext.c (syck_genericresolver_node_import): should
knu [Fri, 18 Apr 2008 10:03:26 +0000 (18 10:03 +0000)]
* ext/syck/rubyext.c (syck_genericresolver_node_import): should
  not set instance variable "@kind" before initializing it.
  [ruby-dev:32677]

* ext/syck/rubyext.c (syck_resolver_initialize,
  syck_resolver_detect_implicit, syck_emitter_emit): remove unused
  variables.

* ext/syck/rubyext.c: Node#value defined twice.

* lib/yaml/: several method redefinitions causing warnings.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* 2008-04-18
usa [Fri, 18 Apr 2008 09:49:07 +0000 (18 09:49 +0000)]
* 2008-04-18

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

14 years ago* lib/rexml/node.rb (REXML::Node::indent): should initialize rv
knu [Fri, 18 Apr 2008 07:37:32 +0000 (18 07:37 +0000)]
* lib/rexml/node.rb (REXML::Node::indent): should initialize rv
  variable.  a patch from Tadayoshi Funaba <tadf AT dotrb.org> in
  [ruby-dev:32783].

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@16070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e