diff options
| author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-10 15:08:31 +0000 |
|---|---|---|
| committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-12-10 15:08:31 +0000 |
| commit | b0388e77e3668973d291f0d6fec3c4401c15c8df (patch) | |
| tree | 4b78a26576e6415c7c5891a210470aea25962202 /ChangeLog | |
| parent | 39a6f7e34e5657cfa775c1108f7efecf196128ea (diff) | |
* array.c (rb_ary_slice_bang): If an invalid negative index (<=
-size) is given, do not raise an exception but return nil just
like slice() does.
* test/ruby/test_array.rb (TestArray::test_slice,
TestArray::test_slice!): Pull in test cases from trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@14184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -1,3 +1,24 @@ +Tue Dec 11 00:04:05 2007 Akinori MUSHA <knu@iDaemons.org> + + * array.c (rb_ary_slice_bang): If an invalid negative index (<= + -size) is given, do not raise an exception but return nil just + like slice() does. + + * test/ruby/test_array.rb (TestArray::test_slice, + TestArray::test_slice!): Pull in test cases from trunk. + +Mon Dec 10 21:47:53 2007 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * transcode.c (str_transcode): allow non-registered encodings. + [ruby-dev:32520] + +Mon Dec 10 21:00:30 2007 Yukihiro Matsumoto <matz@ruby-lang.org> + + * array.c (rb_ary_slice_bang): should return nil if position out + of range. a patch from Akinori MUSHA <knu AT iDaemons.org>. + [ruby-dev:32518] + + Mon Dec 10 18:28:06 2007 Yukihiro Matsumoto <matz@ruby-lang.org> * lib/uri/common.rb (URI::REGEXP::PATTERN): typo in REG_NAME |
