Project

General

Profile

Activity

From 07/30/2009 to 08/05/2009

08/05/2009

11:17 PM Bug #1787: URI ライブラリの正規表現パターン
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39017] Re: [Bug #1787] URI ライブラリの正規表現パターン"
on Wed, 5 Aug 2009 05:14:13 +0900, "NARUSE, Yui" <naruse@airemix.jp> writes:

|> \d が一般化された意義は理解しますが、[0-9] と同等でなくなった事は、いい
|> 事ばかりでもないように...
matz (Yukihiro Matsumoto)
05:14 AM Bug #1787: URI ライブラリの正規表現パターン
=begin
成瀬です。

Tadayoshi Funaba wrote:
>>> 話が少しずれますが、標準ライブラリでは、少くとも scanf、time、date など
>>> で同様の問題がでるように思います。一般に、\d が [0-9] ではなくなった事
>>> 態にどう対処するのが正しいでしょうか。
>> 個別具体的に、そのライブラリに置いて \d と [0-9] のどちらが「正しい」かを
>>
判断する事になります。
>> URIは許さな...
naruse (Yui NARUSE)
04:40 PM Revision d427b8a8 (git): * ext/digest/sha2/sha2.[ch]: Update to 1.0 RELEASE which fixes an
off-by-one bug in SHA-256 hashing. Reduce differences from
the original while at it. [Bug #1799]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
04:31 PM Revision ac9f7794 (git): * 2009-08-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:31 PM Revision eb2ce3df (git): * eval.c (rb_thread_schedule): fix condition for making thread
runnable. [ruby-core:23515]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:20 PM Feature #1873: MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
=begin
I think adding another method of this form to MatchData will be confusing. How about overloading MatchData#values_at ? It currently takes one or more integer indices and returns an Array of corresponding values. It could be modif...
runpaint (Run Paint Run Run)
03:59 PM Feature #1873: MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
=begin
> one approach is to return an Array when there are multiple matches; a String otherwise

There are few APIs which returns different types except true/false or obj/nil.
This is because such API disturbs duck typing.

So...
naruse (Yui NARUSE)
03:17 PM Feature #1873: MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
=begin
> Oh sorry, i misunderstood. I think you wanted to access "b" with /(?<a>\w)+/.match("abc").

That's quite alright. :-)

> Anyway however, changing return value from alwasy String to String or Array is difficult because o...
runpaint (Run Paint Run Run)
03:33 AM Feature #1873: MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
=begin
Oh sorry, i misunderstood. I think you wanted to access "b" with /(?<a>\w)+/.match("abc").

Your proposal may be able to implement because those data is near by us. (you taught it by inspect data, sorry!)

Anyway however,...
naruse (Yui NARUSE)
02:33 AM Feature #1873: MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
=begin
Yui,

Thank you for your help. I didn't realise it would be difficult. I'd assumed that as:

/(?<a>a)(?<a>b)(?<a>c)/.named_captures
=> {"a"=>[1, 2, 3]}

And:

'abc'.match(/(?<a>a)(?<a>b)(?<a>c)/)[1..3]...
runpaint (Run Paint Run Run)
02:09 AM Feature #1873: MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
=begin
Yes, of cource, your desiable API needs more implementation after the option enabled.

I said by the comment before, Ruby 1.9's regexp is based on Oniguruma. So if a function is already implemented in Oniguruma, the function...
naruse (Yui NARUSE)
03:34 PM Feature #1889 (Closed): Teach Onigurma Unicode 5.0 Character Properties
=begin
Onigurma understands named category properties such that

>> 0x012c.chr('utf-8')
=> "Ĭ"
>> 0x012c.chr('utf-8') =~ /\p{Lu}/
=> 0

By my reckoning there are about 3,000 characters in the current UnicodeData.t...
runpaint (Run Paint Run Run)
03:13 PM Revision c7b5cecb (git): * 2009-08-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:13 PM Revision 20a68473 (git): * lib/ipaddr.rb (IPAddr#hash): Take account of netmask; submitted
by Nobuhiro IMAI in [ruby-dev:39011]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
12:53 PM Bug #1852: Enumerable's #hash Raises ArgumentError When Recursive Values are Present
=begin
Hi,

2009/8/3 Tanaka Akira <akr@fsij.org>:
> In article <67e307490908012245x3bf3be81oc7f060c2569ad4ab@mail.gmail.com>,
>  Run Paint Run Run <runrun@runpaint.org> writes:
>
>>> * several real applications are found
>>
>> T...
mame (Yusuke Endoh)
05:33 AM Bug #1852: Enumerable's #hash Raises ArgumentError When Recursive Values are Present
=begin
I agree wholeheartedly with Run Paint. As I pointed in my patch for recursive equality (http://redmine.ruby-lang.org/issues/show/1448 ), the ideal solution is that recursive structures have their hash collide to the same value. T...
marcandre (Marc-Andre Lafortune)
12:40 PM Bug #1749 (Closed): Change in How $~ is Restored After String#sub/String#gsub with a Block
=begin

=end
naruse (Yui NARUSE)
10:24 AM Bug #1887 (Closed): nil exception can be thrown
=begin
This code throws nil exception object by assigning nil to $!:

module Any
def self.===(other)
puts "#{self.inspect} === #{other.inspect}"
true
end
end

begin
begin
raise Exception.new
r...
tmat (Tomas Matousek)
10:19 AM Revision 8bc6c715 (git): * ruby.c (load_file_internal): assumes -x flag if no "ruby" is in
the shebang line. [ruby-dev:39015]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:18 AM Revision cb9038cb (git): * io.c (rb_stdio_set_default_encoding): prototyped.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:12 AM Revision c6abdf3e (git): * ruby.c (rb_stdio_set_default_encoding): declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:46 AM Revision a2d42dab (git): * debug.c (ruby_dummy_gdb_enums): made public. [ruby-dev:39001]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:30 AM Revision 66c92417 (git): merge revision(s) 24223:
* io.c (rb_io_flush): fsync() after buffer is flushed on win32.
backported from trunk. [ruby-core:20043]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@24406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
06:28 AM Bug #1858: Random#int's Handling of Invalid Arguments Contradicts its Documentation
=begin
The contradiction should be addressed, but it's important that Random.new.int(1) returns 0 for completeness' sake. For example, if someone has a good reason to use a specific random generator to pick an element in an array:

...
marcandre (Marc-Andre Lafortune)
05:40 AM Bug #1165: Range.eql? and Range.== bug with subclasses
=begin
Thanks Ujihisa for these links.

The fact that the doc doesn't mention the behavior for subclasses (which is true as well for String, Array, Hash, Time) doesn't change what the best behavior should be.

Could this ticket ...
marcandre (Marc-Andre Lafortune)
03:19 AM Bug #1165: Range.eql? and Range.== bug with subclasses
=begin
Current documentations don't mention about a subclass of Range.
http://www.ruby-doc.org/core/classes/Range.html#M000690
http://doc.okkez.net/191/view/method/Range/i/=3d=3d

Actually the Japanese one was fixed not to menti...
ujihisa (Tatsuhiro Ujihisa)
05:30 AM Bug #1885 (Closed): Proper comparison of recursive Struct & Range
=begin
The following code freezes the latest ruby 1.9:

MyClass = Struct.new(:foo)
x = MyClass.new; x[:foo] = x
y = MyClass.new; y[:foo] = y
x == y # Loops forever (can not be interrupted)

Solution: rb_struct_equ...
marcandre (Marc-Andre Lafortune)
05:01 AM Revision da197976 (git): * range.c (range_eql, range_eq): fixed equality to work for
subclasses of Range. a patch from Marc-Andre Lafortune.
[ruby-core:22190]
* test/ruby/test_range.rb: add assertions for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
04:43 AM Bug #1883: REXML hash sometimes computes a value that is too large
=begin
This is potential problem for MRI as well since Array#hash blows up if any item's hash is not a Fixnum:

class C
def hash
100000000000000000000
end
end

[C.new].hash # => in `hash': bignum too big to conv...
tmat (Tomas Matousek)
03:42 AM Bug #1883: REXML hash sometimes computes a value that is too large
=begin
Hi,

At Wed, 5 Aug 2009 03:24:49 +0900,
Ryan Riley wrote in [ruby-core:24754]:
> The hash method sometimes computes a value that is too
> large. This is a rare occurrence in MRI, but this is causing
> problems for IronRuby....
nobu (Nobuyoshi Nakada)
03:24 AM Bug #1883 (Closed): REXML hash sometimes computes a value that is too large
=begin
The hash method sometimes computes a value that is too large. This is a rare occurrence in MRI, but this is causing problems for IronRuby. The following patch is suggested for computing smaller hashes:

edit: c:/ruby/libs/ru...
panesofglass (Ryan Riley)
04:01 AM Revision c82826ce (git): * bootstraptest/test_exception.rb: test for [ruby-core:24767].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:54 AM Revision 699d9a15 (git): * eval.c (rb_exc_raise, rb_exc_fatal): require exception object.
[ruby-core:24767]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:54 AM Revision 6b0ac4ae (git): * eval.c (rb_exc_raise, rb_exc_fatal): require exception object.
[ruby-core:24767]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:46 AM Revision 4f5267ce (git): * eval.c (rb_eval): does not restore old errinfo when fatal error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:39 AM Revision 0a2b36a9 (git): * eval.c (rb_longjmp): reset raised flag before fatal error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:37 AM Bug #1878 (Closed): testrb can not execute tests in sub directory
=begin
Applied in changeset r24397.
=end
nobu (Nobuyoshi Nakada)
03:36 AM Revision c41d275f (git): * eval.c (rb_eval): not discard fatal error.
* eval.c (rb_longjmp): reset raised flag before fatal error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:38 AM Feature #1882: MatchData#==
=begin
Your speed never ceases to amaze, nobu...

> And #hash and #eql? too?

I didn't want to be greedy. ;-)

That looks great, thank you. :-)
=end
runpaint (Run Paint Run Run)
02:32 AM Feature #1882: MatchData#==
=begin
Hi,

At Wed, 5 Aug 2009 01:29:40 +0900,
Run Paint Run Run wrote in [ruby-core:24748]:
> Terribly unimportant, even by my standards, but could
> MatchData have a sensible #== defined? Currently two
> logically identical Matc...
nobu (Nobuyoshi Nakada)
01:29 AM Feature #1882 (Closed): MatchData#==
=begin
Terribly unimportant, even by my standards, but could MatchData have a sensible #== defined? Currently two logically identical MatchData objects return false for #==.

>> a = 'haystack'.match(/hay/)
=> #<MatchData "hay"...
runpaint (Run Paint Run Run)
01:40 AM Revision d857a1b0 (git): Fix test for previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:38 AM Revision 88c0b8fe (git): Fix error message of /.../n with embeded non ASCII-8BIT string.
* re.c (rb_reg_preprocess_dregexp): add options to arguments.
* re.c (rb_reg_new_ary): follow above.
* re.c (rb_reg_preprocess_dregexp): change error message when
/.../n has a non escaped non ASCII character in non ASCII-8BIT
scrip...
naruse (Yui NARUSE)
01:14 AM Bug #1881 (Closed): [PATCH] Build Documentation for Kernel#gem and Gem
=begin
The documentation for Kernel#gem (and by extension Gem) isn't being built. `rdoc` doesn't choke on it, and at the least we need documentation for #gem, so the attached trivial patch adds 'rubygems.rb' to lib/.document.
=end
runpaint (Run Paint Run Run)
12:51 AM Bug #1755: IO#reopen Doesn't Fully Associate with Given Stream on 1.9; Ignores pos on 1.8
=begin
Hi,

In message "Re: [ruby-core:24686] [Bug #1755] IO#reopen Doesn't Fully Associate with Given Stream on 1.9; Ignores pos on 1.8"
on Sun, 2 Aug 2009 16:12:19 +0900, Run Paint Run Run <redmine@ruby-lang.org> writes:

|Th...
matz (Yukihiro Matsumoto)
12:43 AM Feature #1880 (Rejected): Hash#flatten Doesn't Operate Recursively for Hash Values
=begin
Hash#flatten claims to flatten recursively if given an argument specifying the depth. This works as expected for Array values, but has no bearing on Hash values.

>> h = {orange: :orange, coconut: {inside: :white, outside...
runpaint (Run Paint Run Run)

08/04/2009

11:24 PM Feature #1857: install *.h and *.inc
=begin
> Impossible. AST is no longer available at runtime, since now
> it's a transient structure which will be discarded after the
> translation to byte code.

It's not impossible. An extension library can call rb_compile_cst...
mark-moseley (Mark Moseley)
10:48 PM Bug #1878 (Closed): testrb can not execute tests in sub directory
=begin
1.9.2-preview1 の testrb コマンドがサブディレクトリのテストを実行できません。

$ ruby192 -v
ruby 1.9.2dev (2009-07-18 trunk 24186) [i686-linux]
$ mkdir test
$ echo 'require "test/unit"; class A<Test::Unit::TestCase; def test_a; assert_match(/a/, ...
ngoto (Naohisa Goto)
10:26 PM Feature #1877 (Closed): IPAddr#hash should consider a mask_addr
=begin
いまいです。

r24388 ですが、ネットマスクが考慮されていないので、アドレスが同じでネッ
トマスクが違うオブジェクトも同じものだとみなされてしまいます。

>> a1 = IPAddr.new("192.168.2.0/24")
=> #<IPAddr: IPv4:192.168.2.0/255.255.255.0>
>> a2 = IPAddr.new("192.168.2.0/25")
=> #<IPAddr: IPv4:192...
no6v (Nobuhiro IMAI)
09:19 PM Bug #1787: URI ライブラリの正規表現パターン
=begin
どう考えても僕の担当すべき問題じゃないのでとりあえず変更
=end
tadf (tadayoshi funaba)
08:51 PM Bug #1787: URI ライブラリの正規表現パターン
=begin
> > 話が少しずれますが、標準ライブラリでは、少くとも scanf、time、date など
> > で同様の問題がでるように思います。一般に、\d が [0-9] ではなくなった事
> > 態にどう対処するのが正しいでしょうか。
>
> 個別具体的に、そのライブラリに置いて \d と [0-9] のどちらが「正しい」かを判断する事になります。
> URIは許さない方がいいでしょうし、timeやdateでは許してもよいかもしれません。

...
tadf (tadayoshi funaba)
12:58 PM Bug #1787: URI ライブラリの正規表現パターン
=begin
> > Ruby 1.9 の正規表現で \d の意味が変わっているので、全角数字が URI として通ってしまいます。URI が BINARY のみを対象にしているのであれば、この限りではありません。
>
> 話が少しずれますが、標準ライブラリでは、少くとも scanf、time、date など
> で同様の問題がでるように思います。一般に、\d が [0-9] ではなくなった事
> 態にどう対処するのが正しいでしょうか。

個別具...
naruse (Yui NARUSE)
06:40 PM Feature #1873: MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
=begin
> This request is in other words, enable capture history.

I'm not sure I understand. The example shows that the history is already captured. Both the #inspect output and #to_a shows that the data is already stored inside the...
runpaint (Run Paint Run Run)
12:51 PM Feature #1873: MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
=begin
This request is in other words, enable capture history.

A-5. Disabled functions by default syntax
+ capture history
(?@...) and (?@<name>...)
ex. /(?@a)*/.match("aaa") ==> [<0-1>, <1-2>, <2-3>]
see ...
naruse (Yui NARUSE)
07:39 AM Feature #1873 (Rejected): MatchData#[]: Omits All But Last Captures Corresponding to the Same Named Group
=begin
I suspect that MatchData#[:symbol] should return an Array of values when the same named group has been matched multiple times.

>> m = 'food'.match(/(?<f>oo)(?<f>d)/)
=> #<MatchData "ood" f:"oo" f:"d">
>> m[:f]
...
runpaint (Run Paint Run Run)
06:28 PM Revision 93b9f2cc (git): * lib/test/unit.rb (Test::Unit.setup_argv): expands paths before
requiring. [ruby-dev:39012]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:44 PM Revision 528574c2 (git): * lib/pp.rb (guard_inspect_key): untrust internal hash to prevent
unexpected SecurityError.
* test/ruby/test_object.rb: add a test for [ruby-dev:38982].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:33 PM Revision 5ea7e7f6 (git): * lib/rdoc/parser/c.rb: fixed a small error in the documentation.
[ruby-core:24744]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:31 PM Revision 07c08235 (git): * 2009-08-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:31 PM Revision 1dc58f7d (git): * lib/rdoc/parsers/parse_c.rb: fixed a small error in the
documentation. [ruby-core:24744]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:03 PM Revision b4f5ab96 (git): * 2009-08-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:03 PM Revision a7bc3ef3 (git): Fixed a small documentation bug in lib/rdoc/parsers/parse_c.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wyhaines (Kirk Haines)
01:17 PM Feature #1831 (Closed): Suggestion: warn on repeated character in character class
=begin
Applied in changeset r24387.
=end
naruse (Yui NARUSE)
01:15 PM Revision 3e7ae681 (git): * win32/win32.c (has_redirection): need to execute shell if commandline
includes newline. cf. [ruby-core:24560]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:13 PM Revision f00babd1 (git): * win32/win32.c (has_redirection): need to execute shell if commandline
includes newline. cf. [ruby-core:24560]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:47 PM Bug #1876 (Closed): r24383 Build Error
=begin
Applied in changeset r24386.
=end
naruse (Yui NARUSE)
11:54 AM Bug #1876 (Closed): r24383 Build Error
=begin
r24383の変更で、ビルドできなくなったのでそのパッチです。
=end
ujihisa (Tatsuhiro Ujihisa)
07:47 AM Bug #1871 (Closed): Hash#compare_by_identity Does Not Persist Over #dup or #clone
=begin
Applied in changeset r24382.
=end
matz (Yukihiro Matsumoto)
03:53 AM Bug #1871 (Closed): Hash#compare_by_identity Does Not Persist Over #dup or #clone
=begin
The "ident"ness of a Hash doesn't persist over #dup or #clone which makes those methods destructive when they rehash. Given that normally hash == hash.dup, and that default procs are retained over these two operations, I assume t...
runpaint (Run Paint Run Run)
06:10 AM Revision 61c11677 (git): * lib/ipaddr.rb (IPAddr#{eql?,hash}): Add IPAddr#{eql?,hash} so
that an IPAddr object can be used as a hash key, a set element,
etc.; suggested by Nick Brown <nick@nick-brown.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
04:14 AM Revision 60ab77a1 (git): Warn duplicated characters in character class of regexp. [ruby-core:24593]
* include/ruby/oniguruma.h (ONIG_SYN_WARN_CC_DUP): defined.
* regparse.h (ScanEnv): add warnings_flag.
* regparse.c (CC_DUP_WARN): defined for warn duplicated characters in
character class of regexp. [ruby-core:24593]
(add_code_range...
naruse (Yui NARUSE)
04:07 AM Bug #1282 (Closed): tk extension uses old style c function declarations generating a bunch of warnings
=begin
Applied in changeset r24377.
=end
nagai (Hidetoshi Nagai)
03:42 AM Revision 38107457 (git): * enc/encdb.c (ENC_SET_BASE): fix typo. patch by ujihisa [ruby-dev:39004]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:27 AM Bug #1868: ERB single line comment does not work
=begin
This is not a bug. Use <# for erb comments.
=end
bitsweat (Jeremy Daer)
02:04 AM Revision f66f36d3 (git): merge revision(s) 24190,24192:
* re.h (RMATCH_REGS): added for compatibility.
* ruby.h (RFLOAT_VALUE, RSTRING_END, RREGEXP_SRC_*, RBIGNUM_*):
backported macros for compatiblity from trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1...
shyouhei (Shyouhei Urabe)
01:52 AM Bug #1419 (Closed): Tk, segmentation fault
=begin
やり取りの結果,報告者の環境(コンパイルオプションやライブラリの状態)の不整合が疑われたため,
その不整合箇所を修正した上でのテストを報告者に依頼したが,その後は連絡なし.
よって確認は取れていないが,問題は解消したものとして,やむを得ず close する.
=end
nagai (Hidetoshi Nagai)
12:51 AM Revision 8c658137 (git): More strict for Big5 series.
* enc/big5.c (EncLen_Big5): back to original Big5 table.
(EncLen_Big5_HKSCS): for Big5-HKSCS.
(trans): add the lead byte table for Big5-HKSCS.
(big5_mbc_enc_len): abstract function for Big5 series.
(big5_mbc_enc_len): for Big5.
...
naruse (Yui NARUSE)
12:50 AM Revision b3d7273d (git): Add functions and macros for second encoding definitions.
* encoding.c (rb_enc_set_base): Add for setting base encoding
with their names. this is internal function.
* template/encdb.h.tmpl: specify ENC_SET_BASE for second
encodings in each encoding files.
* enc/encdb.c (rb_enc_set_base): ...
naruse (Yui NARUSE)

08/03/2009

10:44 PM Revision e00b83ce (git): * hash.c (rb_hash_replace): should copy compare_by_identity status as well.
[ruby-core:24728]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
08:45 PM Revision d6b9cc7b (git): * thread.c (recursive_push): need to set UNTRUST. [ruby-dev:38997]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
08:32 PM Bug #1868 (Rejected): ERB single line comment does not work
=begin
Hi,

I just ran into this and found that a 1.9 bug for this is open already. But this issue also applies to 1.8.7. So I'm duplicating the description from here: http://redmine.ruby-lang.org/issues/show/1559

In erb you'r...
jfahrenkrug (Johannes Fahrenkrug)
08:24 PM Bug #1559: ERB single line comment does not work
=begin
Hi,

I just ran into this issue on ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux] as well. The test_erb.rb test fails.
On ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0], however, it passes.

- Johanne...
jfahrenkrug (Johannes Fahrenkrug)
07:02 PM Revision 094dc6cd (git): * 2009-08-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:01 PM Revision e3b2342a (git): * ext/tk/lib/tcltklib.c: fix trouble on old-style C function
declarations [ruby-core:22871].
* ext/tk/lib/tcltklib.c: (ruby_1_8) fix warning about RUBY_RELEASE_DATE
* ext/tk/lib/tk/multi-tk.rb: kill zombie threads.
* ext/tk/lib/tk/fontchooser.rb: fix typo and support OptionObj.
* ext/tk/lib/tk/can...
nagai (Hidetoshi Nagai)
07:01 PM Revision 8fa67f4e (git): * 2009-08-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:01 PM Revision 4293a985 (git): * ext/tk/lib/tcltklib.c: fix trouble on old-style C function
declarations [ruby-core:22871].
* ext/tk/lib/tcltklib.c: (ruby_1_8) fix warning about RUBY_RELEASE_DATE
* ext/tk/lib/tk/multi-tk.rb: kill zombie threads.
* ext/tk/lib/tk/fontchooser.rb: fix typo and support OptionObj.
* ext/tk/lib/tk/can...
nagai (Hidetoshi Nagai)
06:27 PM Bug #1867 (Closed): uninitialized constant TCPserver in samples
=begin
Applied in changeset r24372.
=end
matz (Yukihiro Matsumoto)
06:16 PM Bug #1867 (Closed): uninitialized constant TCPserver in samples
=begin
Following three samples in the sample directory fail to run.

[sample]$ ruby tsvr.rb
tsvr.rb:6:in `<main>': uninitialized constant TCPserver (NameError)

[sample]$ ruby svr.rb
svr.rb:9:in `<main>': uninitialized con...
phasis68 (Heesob Park)
05:17 PM Bug #1862 (Closed): [doc] updating lib/README
=begin
Applied in changeset r24368.
=end
matz (Yukihiro Matsumoto)
05:07 PM Bug #1862: [doc] updating lib/README
=begin
Hi,

In message "Re: [ruby-core:24693] [Bug #1862] [doc] updating lib/README"
on Mon, 3 Aug 2009 00:05:18 +0900, Daniel Bovensiepen <redmine@ruby-lang.org> writes:

|lib/README is a little bit out of date. In the attachm...
matz (Yukihiro Matsumoto)
12:05 AM Bug #1862 (Closed): [doc] updating lib/README
=begin
lib/README is a little bit out of date. In the attachment is a patch which updates this file to the current content.
=end
DanielBovensiepen (Daniel Bovensiepen)
05:10 PM Bug #1853: Cannot make constants using upper-case extended characters?
=begin
> Thank you for the link. (I'm in the process of documenting some of this).

Documentation is sorely needed in this area, so that sounds wonderful.
:-) (Look at http://blog.grayproductions.net/categories/character_encodings
...
runpaint (Run Paint Run Run)
04:24 PM Bug #1859: Random#int Segfaults with Non-Integer Ranges
=begin
Thanks, nobu. Could you double check the bounds for a Float..Integer Range? #int(3.1..5) seems to be resolved to #int(3...5):

>> prng = Random.new(2)
=> #<Random:0x92fd6c8>
>> 20.times.map { prng.int(3.1..5) }
...
runpaint (Run Paint Run Run)
12:37 AM Bug #1859 (Closed): Random#int Segfaults with Non-Integer Ranges
=begin
Applied in changeset r24358.
=end
nobu (Nobuyoshi Nakada)
04:09 PM Revision 836e0d6b (git): * 2009-08-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:09 PM Revision 7031f4de (git): Pulled the date.rb change; it should not have been applied.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@24374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wyhaines (Kirk Haines)
03:04 PM Bug #1753: non success open client socket not detected on windows
=begin
This is the bug of ruby 1.9.x not 1.8.7.
Is there any reason not applying this patch?

=end
phasis68 (Heesob Park)
01:22 PM Revision 6b639283 (git): * eval.c (rb_mod_include): fix document. [ruby-core:24675]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
12:55 PM Bug #1852: Enumerable's #hash Raises ArgumentError When Recursive Values are Present
=begin
Hi,

In message "Re: [ruby-core:24697] Re: [Bug #1852] Enumerable's #hash Raises ArgumentError When Recursive Values are Present"
on Mon, 3 Aug 2009 02:07:47 +0900, Tanaka Akira <akr@fsij.org> writes:

|>> * several rea...
matz (Yukihiro Matsumoto)
12:24 PM Bug #1852: Enumerable's #hash Raises ArgumentError When Recursive Values are Present
=begin
>>> * several real applications are found
>>
>> This change broke a lot of specs which was how I noticed it. For
>
> I don't count RubySpec as a real application.

So your argument requires:

a) Enough "real" users runnin...
runpaint (Run Paint Run Run)
12:33 PM Bug #1865 (Closed): uninitialized class variable @@accept_charset in CGI
=begin
cgi/util を直接 require して CGI.unescape を使うと NameError になります。

% ruby-trunk -v -r cgi/util -e 'CGI.unescape("")'
ruby 1.9.2dev (2009-08-03 trunk 24359) [i686-linux]
/home/kazu/opt/ruby-trunk/lib/ruby/1.9.1/cgi/util.rb:15:in ...
znz (Kazuhiro NISHIYAMA)
09:26 AM Revision e2ea286e (git): * sample/svr.rb: obsolete TCPserver renamed. [ruby-core:24712]
* sample/tsvr.rb: ditto.
* sample/dualstack-httpd.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
09:15 AM Revision 0f1c1ecb (git): * thread.c (recursive_push): untrust internal hash to prevent
unexpected SecurityError. a patch from Kazuhiro NISHIYAMA.
Fix: #1864 [ruby-dev:38982]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
08:25 AM Revision 62d0285e (git): * 2009-08-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:24 AM Revision 9762d9ad (git): * win32/win32.c (rb_w32_connect): return value was broken when some
error occurred.
[ruby-core:24234]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
08:07 AM Revision 0fe4c1de (git): * lib/README: updated. a patch from Daniel Bovensiepen.
[ruby-core:24693]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
07:30 AM Revision fe038100 (git): * win32/win32.c (rb_w32_connect): return value was broken when some
error occurred.
[ruby-core:24234]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:20 AM Revision 9997227a (git): * bootstraptest/runner.rb: forgot shebang line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:56 AM Revision 34401f90 (git): * array.c (permute0): use chars for boolean array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:48 AM Revision 49816a25 (git): * array.c (rb_ary_{permutation,combination}): disallow reentrance
with continuation since work-buffers cannot restore.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:35 AM Revision 8b0fef37 (git): * bootstraptest/runner.rb: got rid of using /bin/sh.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:23 AM Bug #924 (Assigned): encoding for stdio's
=begin
とりあえず、r24337にて以下のような変更を入れました。

Set encodings of stdio after setting default internal and external.

* io.c (rb_stdio_set_default_encoding): added.

* ruby.c (process_options): call rb_stdio_set_default_encoding
af...
naruse (Yui NARUSE)
06:20 AM Feature #1835 (Rejected): 0x80.chr not equal to "\x80"
=begin

=end
naruse (Yui NARUSE)
05:59 AM Revision cb5e639d (git): merge revision(s) 23943:
* lib/complex.rb (Numeric#arg): should return NaN for NaN.
[ruby-core:24116]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@24362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
05:15 AM Revision 45cd729f (git): * numeric.c (flo_hash): normalize -0.0 to 0.0. [ruby-core:24577]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
04:05 AM Revision 330be69e (git): * array.c (rb_ary_{permutation,combination,product}): must not use
ary_discard on strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:01 AM Feature #1844: Immediates Should Not Respond to :dup
=begin
Hi --

On Sun, 2 Aug 2009, Run Paint Run Run wrote:

> I wrote:
>>
>> I think that the exceptions and their messages can be useful in cases
>> like:
>>
>> (0.0..10.0).each {} # TypeError: can't iterate from float
>>
...
dblack (David Black)
12:56 AM Feature #1857: install *.h and *.inc
=begin
Hi,

At Sun, 2 Aug 2009 23:44:44 +0900,
Jason Roelofs wrote in [ruby-core:24691]:
> What about the many other libraries that exist to dig into,
> or work directly with, the Ruby node structure? Like
> Nodewrap, RubyNode, Pa...
nobu (Nobuyoshi Nakada)

08/02/2009

11:44 PM Feature #1857: install *.h and *.inc
=begin
What about the many other libraries that exist to dig into, or work directly with, the Ruby node structure? Like Nodewrap, RubyNode, ParseTree (http://blog.zenspider.com/2009/04/parsetree-eol.html), Rice, etc.

Are they all s...
jameskilton (Jason Roelofs)
01:07 PM Feature #1857: install *.h and *.inc
=begin
Hi,

2009/8/2 Roger Pack <redmine@ruby-lang.org>:
> Feature #1857: install *.h and *.inc
> http://redmine.ruby-lang.org/issues/show/1857
>
> Author: Roger Pack
> Status: Open, Priority: Normal
>
> This is a request for i...
mame (Yusuke Endoh)
03:05 AM Feature #1857 (Closed): install *.h and *.inc
=begin
This is a request for installation procedure to save away more of the source files, for use later by gems.
See http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/24666

Thanks!
=r
=end
rogerdpack (Roger Pack)
09:07 PM Bug #1860 (Closed): 文字列連結でsegfault
=begin
Applied in changeset r24356.
=end
nobu (Nobuyoshi Nakada)
08:32 PM Bug #1860 (Closed): 文字列連結でsegfault
=begin
下記のスクリプトを読みこませるとsegfaultが発生します。

$ cat bug.rb
path="/opt/"
config = '--config=' \
"#{path}/.config"

==============
$ ruby19 bug.rb
bug.rb: [BUG] Segmentation fault
ruby 1.9.2dev (2009-08-02 trunk 24...
meke (Yohsuke Ooi)
08:50 PM Feature #1800: rubygems can replace system executable files
=begin
> Without a system registry, rubygems can at best warn that it will overwrite something, it cannot hold this > notion of "system executable files", which is not clearly defined.

It really should prompt before overwriting a f...
runpaint (Run Paint Run Run)
08:31 PM Bug #1165: Range.eql? and Range.== bug with subclasses
=begin
Was this meant to be closed? It doesn't appear to have been resolved.
=end
runpaint (Run Paint Run Run)
04:42 PM Bug #1711: Marshal Failing to Round-Trip Certain Recurisve Data Structures
=begin
> 1.9 Marshal.load with proc is incompatible with 1.8, as following:
>
> * 1.8 load ignores the value returned from proc, whereas 1.9 load
> replaces the object by the value from proc.
>
>
> * 1.9 load calls proc...
runpaint (Run Paint Run Run)
04:12 PM Bug #1755: IO#reopen Doesn't Fully Associate with Given Stream on 1.9; Ignores pos on 1.8
=begin
Thanks, nobu. There's some related oddness, however:

$ echo -e "ant\nalien\n" > a
$ echo -e "bear\nbison\n" > b
$ cat reopen.rb

a = File.open('a')
b = File.open('b')
a.gets
b.reopen(a)
p b...
runpaint (Run Paint Run Run)
03:32 PM Revision bd85292d (git): * 2009-08-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:32 PM Revision a194550e (git): * random.c (rb_random_int): arguments have to be converted to
integer. [ruby-core:24679]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:10 PM Feature #1844: Immediates Should Not Respond to :dup
=begin
>> - Exceptions are expensive.
>> - Rescuing a specific exception requires a multi-line statement,
>> while respond_to? allows one to write "bar.foo if
>> bar.respond_to?(:foo)"
>
> But you probably wouldn't do:
>
>...
runpaint (Run Paint Run Run)
02:46 PM Bug #1852: Enumerable's #hash Raises ArgumentError When Recursive Values are Present
=begin
> * several real applications are found

This change broke a lot of specs which was how I noticed it. For
example, Array#&, Array#-, Array#|, Array#sort, Array.flatten,
Array#uniq, and Array#uniq! all now raise ArgumentErrors...
runpaint (Run Paint Run Run)
02:13 PM Bug #1749: Change in How $~ is Restored After String#sub/String#gsub with a Block
=begin
> I think 1.9.2 behaviour is no problem.
>
> String#sub matches a regexp just once.
> There is no reason to set $~ at last.
>
> String#gsub matches a regexp repeatedly until it doesn't match.
> It set the last match ...
runpaint (Run Paint Run Run)
12:06 PM Revision 59e5d0f1 (git): * bootstraptest/runner.rb: made executable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:04 PM Revision 6a26b596 (git): * parse.y (literal_concat0): tail can be nil. [ruby-dev:38980]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:09 AM Revision 3770ac98 (git): * array.c (rb_ary_combination, rb_ary_product): prevent from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:46 AM Bug #1855: Random#int with Single-Element Ranges
=begin
A range of Floats also behaves like a single-element Range, which is surely wrong.

>> prng = Random.new
=> #<Random:0x9bb2160>
>> 4.times.map { prng.int(1.0..10.0) }
=> [1.0, 1.0, 1.0, 1.0]
=end
runpaint (Run Paint Run Run)
09:32 AM Bug #1859 (Closed): Random#int Segfaults with Non-Integer Ranges
=begin
$ ruby -e 'Random.new.int(3.1..4)'
-e:1: [BUG] Segmentation fault
ruby 1.9.2dev (2009-08-01 trunk 24343) [i686-linux]

-- control frame ----------
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :int
c:0003 p:002...
runpaint (Run Paint Run Run)
08:40 AM Revision dfd3d1fb (git): * test/ruby/test_rand.rb: add tests for Random#float's rejection
against Infinity and NaN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
07:35 AM Bug #1858 (Closed): Random#int's Handling of Invalid Arguments Contradicts its Documentation
=begin
The documentation for Random#int claims that it will raise an ArgumentError when the argument is 0 or negative. In fact, 0 causes repeated generation of 0, and for negative numbers the sign appears to be ignored.

>> prng =...
runpaint (Run Paint Run Run)
05:20 AM Revision e626e0bd (git): * random.c (rand_int): prevent from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:13 AM Bug #1841: Float internal problem in ruby1.9.2dev (2009-07-18)
=begin
Maybe. To discuss that we need a new ticket.
=end
shyouhei (Shyouhei Urabe)

08/01/2009

09:35 PM Revision 3fcfe38c (git): * 2009-08-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:35 PM Revision 64ca541c (git): * test/ripper/test_filter.rb: properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:21 PM Bug #1841: Float internal problem in ruby1.9.2dev (2009-07-18)
=begin
It is true that Float#to_s and Float#inspect currently have the same behavior. Perhaps they could be split to do different things, before the code freeze for 1.9.2?
=r
=end
rogerdpack (Roger Pack)
09:12 PM Revision 7d8b6012 (git): * 2009-08-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:11 PM Revision 56439832 (git): * node.h (rb_thread_status): ISO C89 do not allow a comma at the end of enum.
* parse.y (string_type): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
08:17 PM Feature #1832: irb -w
=begin
So what you're looking for is a command line parameter to turn $VERBOSE on?
That would be nice [and also for rake I wish it had this].
Thanks.
=r
=end
rogerdpack (Roger Pack)
06:57 PM Bug #1854 (Closed): Random#float Should Reject Infinity and NaN as Upper Limits
=begin
Applied in changeset r24347.
=end
nobu (Nobuyoshi Nakada)
05:15 PM Bug #1854 (Closed): Random#float Should Reject Infinity and NaN as Upper Limits
=begin
Random#float happily accepts Infinity and NaN as arguments. It should reject them for three reasons:

* Accepting an argument of Infinity implies that the value returned will be between 0.0 and Infinity, when in fact Infinit...
runpaint (Run Paint Run Run)
05:56 PM Bug #1855 (Closed): Random#int with Single-Element Ranges
=begin
Random#int accepts a Range argument from which it chooses values. If the range contains only one element, #int returns it on every call. This is unlikely to be what a user intended. I suggest that if the range's #begin value is e...
runpaint (Run Paint Run Run)
05:50 PM Bug #1853: Cannot make constants using upper-case extended characters?
=begin
Thank you for the link. (I'm in the process of documenting some of this).

We may be at cross-purposes over terminology, but when you say "to change this behaviour would be to make the semantics of the program locale dependent"...
candlerb (Brian Candler)
05:35 PM Bug #1853: Cannot make constants using upper-case extended characters?
=begin
> If this is intentional, it seems like an arbitrary restriction. Unicode characters are unambiguously
> classified into upper-case, lower-case and neither. If they can be used anywhere within an
> identifier, why not at the st...
runpaint (Run Paint Run Run)
05:00 PM Bug #1853 (Rejected): Cannot make constants using upper-case extended characters?
=begin
>> SCHÖN = 1 # constant
=> 1
>> ÜBER = 2 # local variable!
=> 2
>> self.class.constants.grep(/SCH|BER/)
=> [:SCHÖN]
>> local_variables.grep(/SCH|BER/)
=> [:ÜBER]

I am not sure from the source code whether ...
candlerb (Brian Candler)
05:25 PM Bug #1852: Enumerable's #hash Raises ArgumentError When Recursive Values are Present
=begin
> Is it valuable to implement such function?

Yes. Even if it simply returned a constant for the degenerate case.
(I'd rather a collision than an exception). To me, #hash is an
integral part of Ruby objects. Having it raise w...
runpaint (Run Paint Run Run)
03:47 PM Bug #1852 (Closed): Enumerable's #hash Raises ArgumentError When Recursive Values are Present
=begin
Enumerable's #hash methods now raise ArgumentErrors when the structure contains a recursive reference. This is hopefully a bug. #hash is expected to return a Fixnum, not make judgments about the object. #to_s and #inspect both wo...
runpaint (Run Paint Run Run)
12:41 PM Bug #1836: Can change encoding on frozen String
=begin
> So your new behaviour would be consistent with that. Whether that's the desired behaviour is not really
> for me to decide.

It was decided in http://redmine.ruby-lang.org/issues/show/1550 that no-ops on frozen objects s...
runpaint (Run Paint Run Run)
10:25 AM Revision 8cdfbfd8 (git): * string.c (tr_trans): change condition of singlebyte optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:04 AM Bug #1851 (Rejected): make install problems using mingw on fedora 11
=begin
Fedora 11 の MinGW を使ってクロスコンパイルしてみたところ、
make installの時に./tool/rbinstall.rbで警告が出ます。
それから、RDocの生成に失敗します。

svn co http://svn.ruby-lang.org/repos/ruby/trunk ruby-trunk
cd ruby-trunk
autoconf
mingw32-configure
make

...
znz (Kazuhiro NISHIYAMA)
09:56 AM Bug #1842 (Closed): mspec で SIGABRT
=begin
fix in r24332

(ML連携がうまく動いていないようなので手動でclose)
=end
znz (Kazuhiro NISHIYAMA)
09:51 AM Revision 51d1c5e7 (git): * random.c (random_float): rejects Infinity and NaN.
[ruby-core:24651]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:35 AM Revision 5a5355e8 (git): * tool/rbinstall.rb (gem): suppressed warnings.
cf: [ruby-dev:38975]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:02 AM Bug #1839 (Closed): String#tr borked for UTF-8 0080..00FF
=begin
Applied in changeset r24342.
=end
naruse (Yui NARUSE)

07/31/2009

11:06 PM Revision e286c417 (git): * 2009-08-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:00 PM Revision 29e10728 (git): * lex.c: update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
08:52 PM Revision 17dc5b35 (git): * 2009-08-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:36 PM Revision c4641d6a (git): Can't use singlebyte optimization when the replacement is multibyte. [ruby-core:24612]
* string.c (tr_trans): can't use singlebyte optimization when
the replacement is multibyte. [ruby-core:24612]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:07 PM Feature #1844: Immediates Should Not Respond to :dup
=begin
There's try_dup in extlib [0], which returns self in various class,
i.e. NilClass, Symbol, TrueClass, FalseClass, Numeric, and Module.
I am not sure, but I think this is used to prevent from side-effect.

I am wondering, ...
godfat (Lin Jen-Shin)
10:19 AM Feature #1844: Immediates Should Not Respond to :dup
=begin
What about adding Kernel#dup? method that is an alias of Kernel#dup: a class that cannot be duplicated would implement dup that throws an exception and dup? that returns nil or self?

Tomas

-----Original Message-----
From: ...
tmat (Tomas Matousek)
10:10 AM Feature #1844: Immediates Should Not Respond to :dup
=begin
Hi --

On Fri, 31 Jul 2009, Shyouhei Urabe wrote:

> Issue #1844 has been updated by Shyouhei Urabe.
>
>
> Anyway when getting back to :dup story, I'm not against to make it
> more "reliable". But there seems to be sever...
dblack (David Black)
10:03 AM Feature #1844: Immediates Should Not Respond to :dup
=begin
Hi --

On Fri, 31 Jul 2009, Hongli Lai wrote:

> Issue #1844 has been updated by Hongli Lai.
>
>
> I disagree.
>
> - Exceptions are expensive.
> - Rescuing a specific exception requires a multi-line statement,
> while ...
dblack (David Black)
09:46 AM Feature #1844: Immediates Should Not Respond to :dup
=begin
Well, I was about to write the case of Rake::TaskArguments :p I agree that respond_to? should be reliable, but doing wrong here is fairly easy, especially when you write your method_missing to tweak method dispatches.

Anywa...
shyouhei (Shyouhei Urabe)
09:07 AM Feature #1844: Immediates Should Not Respond to :dup
=begin
Hongli, respond_to? may not be reliable in the case of proxy objects. Also, calling respond_to? adds an implicit API requirement that simply calling the method does not. For example: http://github.com/rails/rails/commit/78af27106...
bitsweat (Jeremy Daer)
09:01 AM Feature #1844: Immediates Should Not Respond to :dup
=begin
I agree that simply calling the method is ideal. However, rescuing an exception for such a common case may be very expensive in an inner loop.

Rails introduced Object#duplicable? for this reason: http://github.com/rails/rail...
bitsweat (Jeremy Daer)
08:56 AM Feature #1844: Immediates Should Not Respond to :dup
=begin
I disagree.

- Exceptions are expensive.
- Rescuing a specific exception requires a multi-line statement, while respond_to? allows one to write "bar.foo if bar.respond_to?(:foo)"
- How do you know the exception was raised...
hongli (Hongli Lai)
06:16 AM Feature #1844: Immediates Should Not Respond to :dup
=begin
# This is a bit radical opinion, I admit.

From my point of view, "determining" whether an object has a method is a wrong idea.
Instead you should just call that method. Which is:

begin
obj.method
rescue
....
shyouhei (Shyouhei Urabe)
04:15 AM Feature #1844 (Rejected): Immediates Should Not Respond to :dup
=begin
Immediate can't be dup'd but they :respond_to?(:dup). This leads to ugly logic for determining whether a value can be dup'd. I suggest that immediates return false for :respond_to?(:dup). This is consistent with methods that wou...
runpaint (Run Paint Run Run)
02:34 PM Bug #1846 (Rejected): Unexpected behavior of hash of array
=begin
This is a designed behaviour. Every time you change any key object of a hash, you have to call that hash's rehash method.
=end
shyouhei (Shyouhei Urabe)
02:16 PM Bug #1846 (Rejected): Unexpected behavior of hash of array
=begin
I noticed some unexpected behaviors of hash with array key

irb(main):001:0> h={}
=> {}
irb(main):002:0> a=[]
=> []
irb(main):003:0> h[a]=1
=> 1
irb(main):004:0> a<<1
=> [1]
irb(main):005:0> h[a]=2
=> 2
ir...
phasis68 (Heesob Park)
01:32 PM Feature #1831: Suggestion: warn on repeated character in character class
=begin
Hi,

In message "Re: [ruby-core:24627] [Feature #1831] Suggestion: warn on repeated character in character class"
on Fri, 31 Jul 2009 08:01:30 +0900, Yui NARUSE <redmine@ruby-lang.org> writes:

|Patch updated.
|
|Matz,...
matz (Yukihiro Matsumoto)
08:01 AM Feature #1831: Suggestion: warn on repeated character in character class
=begin
Patch updated.

Matz, can I commit this patch?
=end
naruse (Yui NARUSE)
08:00 AM Feature #1831: Suggestion: warn on repeated character in character class
=begin

=end
naruse (Yui NARUSE)
08:00 AM Feature #1831 (Assigned): Suggestion: warn on repeated character in character class
=begin

=end
naruse (Yui NARUSE)
09:24 AM Bug #1841: Float internal problem in ruby1.9.2dev (2009-07-18)
=begin
Well, I'm according for this behavior for Float#inspect. But I'll prefer the old one for Float#to_s. As many people said.

Thanks for the answer.
=end
Eregon (Benoit Daloze)
08:36 AM Bug #1841: Float internal problem in ruby1.9.2dev (2009-07-18)
=begin
There was a discussion around Float's string representation after 1.9.1 was released.

http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-core/22325?22249-23532+split-mode-vertical

This change is due to that.
=end
shyouhei (Shyouhei Urabe)
06:39 AM Bug #1841: Float internal problem in ruby1.9.2dev (2009-07-18)
=begin
Yeah, I know about the general problem of floats. Not the first time I got something unexpected.
I wouldn't wonder if it was the same behavior before.

But here it's different. It changed between 1.9.1 and 1.9.2. Why? I sup...
Eregon (Benoit Daloze)
02:30 AM Bug #1841 (Rejected): Float internal problem in ruby1.9.2dev (2009-07-18)
=begin
Welcome to the real world. Take a little look at IEEE754.
=end
shyouhei (Shyouhei Urabe)
09:03 AM Revision 971f2bb7 (git): * lib/securerandom.rb (SecureRandom.random_bytes): return string should
be ASCII-8BIT. [ruby-core:24640]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
08:34 AM Revision 076c8d9a (git): * NEWS: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
08:34 AM Revision 07acec57 (git): * 2009-07-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:33 AM Revision f82dc0ff (git): * parse.y: Support for { key: value } -style hash immediates.
[ruby-core:21946][ruby-core:22286]
* keywords: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
07:37 AM Revision 00499c09 (git): Set encodings of stdio after setting default internal and external.
* io.c (rb_stdio_set_default_encoding): added.
* ruby.c (process_options): call rb_stdio_set_default_encoding
after setting defualt internal and external.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24337 b2dd03c8-39d4-4d8f-98f...
naruse (Yui NARUSE)
06:09 AM Revision bc70ea70 (git): * tool/compile_prelude.rb: too long string literal causes compile error
on some platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:16 AM Revision a4362122 (git): * transcode.c (str_encode_bang): C99ism.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:48 AM Revision e5df8fd2 (git): * compile.c (iseq_compile_each): used more appropriate construct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:41 AM Bug #1843: Symbol#inspect raises exception
=begin
My impression is that such symbols should be forbidden to exist.
=end
shyouhei (Shyouhei Urabe)
02:22 AM Bug #1843 (Closed): Symbol#inspect raises exception
=begin
If you can create an object, I think you should always be able to inspect it.

However Symbol#inspect raises an exception if it was made from a string with an invalid encoding.

>> "hello\xff".to_sym.inspect
ArgumentErr...
candlerb (Brian Candler)
02:36 AM Feature #1840: Hash に要素追加して self を返すメソッド
=begin
Kimura Yoshihiro さんは書きました:
> 他の方の意見やアイデアも聞いてみたいです。

個人的にはHash#updateとかが好みですが、メジャーじゃないのかな。


Attachment: signature.asc
=end
shyouhei (Shyouhei Urabe)
01:54 AM Revision 5004e33f (git): * parse.y (literal_concat_gen): reduced unnecessary node at string
literal concatenation with empty head dstr. [ruby-dev:38968]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:41 AM Bug #1842 (Closed): mspec で SIGABRT
=begin
chkbuild のログを見ると mspec で SIGABRT が出ていますが、lib/mspec/mocks/mock.rb の一部の
SpecExpectation.fail_with(
"Mock '#{name_or_inspect obj}' expected to receive '#{key.last}' " \
"#{qualifier.to_s.sub('...
znz (Kazuhiro NISHIYAMA)

07/30/2009

11:32 PM Bug #1841 (Rejected): Float internal problem in ruby1.9.2dev (2009-07-18)
=begin
ruby 1.9.1 and earlier
>> 729/10.0
=> 72.9

ruby 1.9.2dev (2009-07-18) [i386-mswin32_90]
build this morning with VC++Express08
>> 729/10.0
=> 72.90000000000001
or even
>> 72.9
=> 72.90000000000001

>> 72.9...
Eregon (Benoit Daloze)
09:47 PM Bug #1838 (Closed): str[0,1]||='H' results Stack consistency error
=begin
Applied in changeset r24323.
=end
mame (Yusuke Endoh)
06:12 PM Bug #1838 (Closed): str[0,1]||='H' results Stack consistency error
=begin
$ ruby -e '"hello"[0,1]||="H"'
-e:1: [BUG] Stack consistency error (sp: 7, bp: 6)
ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-linux]

-- control frame ----------
c:0003 p:0035 s:0007 b:0006 l:00149c d:0006cc EVAL ...
phasis68 (Heesob Park)
08:49 PM Bug #1834: 1.9.2-dev fails to compile socket with IPv6 and MinGW 3.4.5
=begin
On Wed, Jul 29, 2009 at 11:23 PM, U.Nakamura<usa@garbagecollect.jp> wrote:
> Hello,
>
> Sorry, I don't have much time now to resolve this problem.

Thank you Mr. Nakamura, no need to sorry for this. Wanted to verify wasn't m...
luislavena (Luis Lavena)
11:23 AM Bug #1834: 1.9.2-dev fails to compile socket with IPv6 and MinGW 3.4.5
=begin
Hello,

Sorry, I don't have much time now to resolve this problem.

Roughly summarize of my understanding.

(1) MinGW's IPv6 support seems to be broken.
VC++6 has same problem, I know.
So, mswin's ipv6 support is ...
usa (Usaku NAKAMURA)
10:29 AM Bug #1834 (Closed): 1.9.2-dev fails to compile socket with IPv6 and MinGW 3.4.5
=begin
Hello,

I'm running the One-Click Ruby Installer compile scripts on 32bits Windows 7. By default, it has IPv6 installed and enabled.

After configured Ruby with the following parameters:

--enable-shared --disable-ins...
luislavena (Luis Lavena)
08:03 PM Feature #1840 (Rejected): Hash に要素追加して self を返すメソッド
=begin
配列から Hash を作るときなどに、よく

a.inject({}) {|h, x| h[x] = ...; h }

みたいにするのはもはやイディオムと言ってよいと思いますが(*1)、
「; h」の部分が少々オマジナイっぽいのが気になっていました。

気になったついでに検索してみたら他にもそのような意見を目にしたので(*2)、
Hash に「要素追加して self を返す」ようなメソッドを追加することを
提案し...
ykc@venus.dti.ne.jp (Kimura Yoshihiro)
07:59 PM Bug #1836: Can change encoding on frozen String
=begin
Well, force_encoding raises an exception even if you specify the same one it already has:

>> s = "abcd"
=> "abcd"
>> s.freeze.force_encoding(s.encoding)
RuntimeError: can't modify frozen string

So your new behavio...
candlerb (Brian Candler)
07:01 PM Bug #1836: Can change encoding on frozen String
=begin
The current version raises an error even if encode! is a dummy operation, e.g. for
'abcd'.force_encoding(encoding_foo).freeze.encode!(encoding_foo)
Please comment on whether I can close this bug or not.
=end
duerst (Martin Dürst)
06:47 PM Bug #1836 (Closed): Can change encoding on frozen String
=begin
Applied in changeset r24322.
=end
duerst (Martin Dürst)
05:36 PM Bug #1836: Can change encoding on frozen String
=begin
working on a fix
=end
duerst (Martin Dürst)
05:05 PM Bug #1836 (Closed): Can change encoding on frozen String
=begin
String#encode! lets you change the encoding on a frozen String, as long as the character sequence is unchanged by the operation.

>> s = "hello"
=> "hello"
>> s.freeze
=> "hello"
>> s.encode!("ISO-8859-1")
=> "hello...
candlerb (Brian Candler)
06:46 PM Bug #1839: String#tr borked for UTF-8 0080..00FF
=begin
Oops, I pasted ruby -v instead of ruby19 -v. The correct version is:

ruby 1.9.2dev (2009-07-18 trunk 24186) [i686-linux]
=end
candlerb (Brian Candler)
06:44 PM Bug #1839 (Closed): String#tr borked for UTF-8 0080..00FF
=begin
>> a = "uber"
=> "uber"
>> a.encoding
=> #<Encoding:UTF-8>
>> b = a.tr("u","ü")
=> "\xFCber"
>> b.encoding
=> #<Encoding:UTF-8>

What's more remarkable,

>> b.valid_encoding?
=> true

!!!

>> b << ...
candlerb (Brian Candler)
06:02 PM Revision 3129ed32 (git): * parse.y (literal_concat_gen): NODE_DSTR was incorrectly handled as
NODE_STR. [ruby-dev:38968]
* bootstraptest/test_syntax.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
05:17 PM Bug #1837 (Closed): Test failure (test_block.rb) in Ruby 1.9.2 preview1 on FreeBSD 6.0
=begin
> まず、この手の明白なバグはRedmineに入れていただいた方が忘れられづらいです。

了解しました。ということで改めて。

> さて、この問題ですが現在の最新はr24311とかですが、これでも再現しますか?
> とりあえず、1.9.2dev (2009-07-29 trunk 24311) [x86_64-freebsd7.2]では再現しません。

r24321で再現しました。FreeBSD6特有なのか、32bit特有なの...
gimite (Hiroshi Ichikawa)
04:47 PM Bug #1833 (Closed): Class name encoding
=begin
Applied in changeset r24321.
=end
nobu (Nobuyoshi Nakada)
11:45 AM Bug #1833 (Assigned): Class name encoding
=begin

=end
naruse (Yui NARUSE)
10:12 AM Bug #1833 (Closed): Class name encoding
=begin
Encoding of class name is not preserved.

#encoding: UTF-8

class Cß
end

p Cß.name #=> "C\xC3\x9F"
p Cß.name.encoding #=> #<Encoding:ASCII-8BIT>

I expect the encoding of the name to be UTF-8.
=end
tmat (Tomas Matousek)
03:57 PM Revision 22acf295 (git): * test/ruby/test_module.rb (test_ancestors, test_included_modules):
ignore rake mixins.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:37 PM Feature #1831: Suggestion: warn on repeated character in character class
=begin
I'm interested in your suggestion, and wrote a patch.
=end
naruse (Yui NARUSE)
03:35 PM Revision f3f74f49 (git): * 2009-07-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:34 PM Revision 447df195 (git): * vm_insnhelper.c (vm_call_cfunc): let set_trace_func use called_id
instead of original_id.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:19 PM Feature #1835: 0x80.chr not equal to "\x80"
=begin
Ruby 1.9 treats 0x00-0x7F specially because 0x00-0x7F is compatible with many other encodings. (ASCII compatible encosings)
But 0x80-0xFF doesn't.
=end
naruse (Yui NARUSE)
12:27 PM Feature #1835: 0x80.chr not equal to "\x80"
=begin
"0x80" is just an example.
It means the ASCII code in the range of 0x80-0xFF.

It is inconsistent with the case of 0x00-0x7F.
=end
phasis68 (Heesob Park)
12:06 PM Feature #1835 (Assigned): 0x80.chr not equal to "\x80"
=begin
Why you want it. "\x80" has any special reason?
=end
naruse (Yui NARUSE)
11:42 AM Feature #1835 (Rejected): 0x80.chr not equal to "\x80"
=begin
I suggest 0x80.chr should be equal to "\x80" regardless of locale.

Here is the current behavior:

irb(main):001:0> 0x80.chr.encoding
=> #<Encoding:ASCII-8BIT>
irb(main):002:0> "\x80".encoding
=> #<Encoding:UTF-8>
...
phasis68 (Heesob Park)
02:12 PM Revision b5b8e5e0 (git): * gem_prelude.rb (Gem.path): uses Gem.default_path as a default value
so that ruby finds gems in ~/.gem/.
(Gem.user_home): reduced version of lib/rubygems.rb's.
Gem.default_path needs it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:12 PM Revision e6046303 (git): * tool/compile_prelude.rb: replaces "require" with in-place evaluation
so that copy & paste for lib/rubygems/default.rb is not necessary.
* gem_prelude.rb: removes copied codes from lib/rubygems/defaults.rb.
uses require instead.
* common.mk (prelude.c): adds dependency for lib/rubygems/defaults.rb.
gi...
yugui (Yuki Sonoda)
12:57 PM Revision 045136d4 (git): * test/ruby/test_rand.rb: add tests for Random class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
12:55 PM Revision fe22f83e (git): * random.c (init_genrand): ensure invariant of mt->next and mt->left.
mt->next should always equal mt->state + N + 1 - mt->left.
In fact, 'r = Random.new(0); r == r.dup' has returned false.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:45 PM Revision 6937a3e2 (git): * random.c (random_bytes): use NUM2LONG instead of FIX2LONG because
Random#bytes may receive bignum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:42 PM Revision df878f78 (git): * compile.c (iseq_compile_each): fix stack consistency error.
[ruby-core:24611]
* bootstraptest/test_method.rb: add tests for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
09:40 AM Revision 5e85648b (git): * transcode.c: added check for frozen string for encode! (see Bug #1836)
* test/ruby/test_transcode.rb: added tests for the above
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
07:45 AM Revision b8b083db (git): * insns.def (defineclass): preserve encoding of class/module
names. [ruby-core:24600]
* variable.c (rb_set_class_path_string): set class path with a
string value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:43 AM Revision d919a67c (git): * variable.c (rb_class_path): fixed a variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:39 AM Revision 8bc2fb5b (git): add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Takeyuki FUJIOKA
07:12 AM Revision 08fa9bad (git): * variable.c (Init_var_tables): initializes __classid__ ID.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:10 AM Revision d67e9aea (git): * variable.c: use st_data_t for st functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:10 AM Revision bd25b6a3 (git): * test/cgi/test_cgi_util.rb: properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:34 AM Revision cf81e3cc (git): * 2009-07-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:34 AM Revision 1976ef38 (git): * lib/cgi/util.rb (CGI::unescape): support encoding option.
* lib/cgi/cookie.rb (CGI::Cookie.parse): fix for the encoded value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
12:31 AM Revision 3799f1bb (git): merge revision(s) 23740:
* bignum.c (big_lshift, big_rshift): return Bignum always withou
normalization. [ruby-dev:38680]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@24313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
 

Also available in: Atom