Project

General

Profile

Activity

From 06/30/2010 to 07/06/2010

07/06/2010

11:53 PM Bug #3543: GNU/Linux select hang on a socket which TCP state is CLOSED
=begin
kosakiです
# いつも脱線ばかりで恐縮です

> また、[ruby-core:31065]で
>
>>I think select should notify writability when write would not block.
>>Cleary write doesn't block on disconnected socket.
>
> とおっしゃっているのは、「という挙動を満たさないLinuxの
> selectは...
kosaki (Motohiro KOSAKI)
11:24 PM Bug #3543: GNU/Linux select hang on a socket which TCP state is CLOSED
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:41833] [bug:trunk] GNU/Linux select hang on a socket which TCP state is CLOSED"
on Tue, 6 Jul 2010 22:21:26 +0900, Tanaka Akira <akr@fsij.org> writes:

|GNU/Linux で、以下のプログラムがハングします...
matz (Yukihiro Matsumoto)
10:21 PM Bug #3543 (Third Party's Issue): GNU/Linux select hang on a socket which TCP state is CLOSED
GNU/Linux で、以下のプログラムがハングします。

% uname -mrsv
Linux 2.6.26-2-486 #1 Sat Dec 26 08:37:39 UTC 2009 i686
% ./ruby -rsocket -ve '
BasicSocket.do_not_reverse_lookup = true
serv = TCPServer.open("127.0.0.1", 0)
s1 = TCPSocket.open...
akr (Akira Tanaka)
11:07 PM Bug #3540 (Closed): IO.copy_stream fails to detect client disconnect w/sendfile
=begin
This issue was solved with changeset r28557.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
akr (Akira Tanaka)
05:12 PM Bug #3540: IO.copy_stream fails to detect client disconnect w/sendfile
=begin
Tanaka Akira <akr@fsij.org> wrote:
> 2010/7/6 Eric Wong <normalperson@yhbt.net>:
>
> > UNIX domain sockets are easy to do notification for since they're always
> > on the same host. TCP might be harder to detect (and thus t...
normalperson (Eric Wong)
03:32 PM Bug #3540: IO.copy_stream fails to detect client disconnect w/sendfile
=begin
2010/7/6 Eric Wong <normalperson@yhbt.net>:

> UNIX domain sockets are easy to do notification for since they're always
> on the same host. TCP might be harder to detect (and thus the Linux
> folks choose not to bother at al...
akr (Akira Tanaka)
02:34 PM Bug #3540: IO.copy_stream fails to detect client disconnect w/sendfile
=begin
Tanaka Akira <akr@fsij.org> wrote:
> 2010/7/6 Eric Wong <redmine@ruby-lang.org>:
> >
> > sendfile() may return with a short write upon a client disconnect. Instead of
> > retrying and getting an error, Ruby tries to force a ...
normalperson (Eric Wong)
12:39 PM Bug #3540: IO.copy_stream fails to detect client disconnect w/sendfile
=begin
2010/7/6 Eric Wong <redmine@ruby-lang.org>:
>
> sendfile() may return with a short write upon a client disconnect. Instead of
> retrying and getting an error, Ruby tries to force a select() on the descriptor
> which fails to...
akr (Akira Tanaka)
05:12 AM Bug #3540 (Closed): IO.copy_stream fails to detect client disconnect w/sendfile
=begin
sendfile() may return with a short write upon a client disconnect. Instead of
retrying and getting an error, Ruby tries to force a select() on the descriptor
which fails to detect the disconnect. This causes IO.copy_stream ...
normalperson (Eric Wong)
11:05 PM Bug #3428: ri outputs ansi escape sequences even when stdout is not a tty
=begin
Hi,

> Since the maintainer of rdoc is AWOL, I feel we really need to have a test for this bug, so that the next time eric merges his latest rdoc into ruby, we can be sure he didn't accidentally overwrite this fix and cause a...
mame (Yusuke Endoh)
10:49 PM Bug #3428: ri outputs ansi escape sequences even when stdout is not a tty
=begin
Since the maintainer of rdoc is AWOL, I feel we really need to have a test for this bug, so that the next time eric merges his latest rdoc into ruby, we can be sure he didn't accidentally overwrite this fix and cause a regression...
coatl (caleb clausen)
10:02 PM Revision 492d8e67 (git): * object.c (rb_f_integer): add example with base.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:00 PM Feature #3526: IO::NULL; null device path name
こんにちは、なかむら(う)です。

In message "[ruby-dev:41791] [Feature:trunk] IO::NULL; null device path name"
on Jul.03,2010 11:08:26, <nobu@ruby-lang.org> wrote:
> IO::NULL を追加するのはどうでしょうか。

IOだと、なんとなく、IOオブジェクトが返ってくることを期待してしまう気がします。

で、...
usa (Usaku NAKAMURA)
08:07 PM Bug #3524 (Rejected): system command should prefer CWD to PATH in windows
=begin
As Run Paint Run Run says, set "." to PATH by yourself if you
want to shoot your foot.
=end
usa (Usaku NAKAMURA)
07:46 PM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin

On 6 Jul 2010, at 11:38, Run Paint Run Run wrote:

> Issue #3140 has been updated by Run Paint Run Run.
>
>
>> I don't agree, this is forcing people to add require 'rubygems' to their code,
>> which is unacceptable as w...
raggi (James Tucker)
07:38 PM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin
> I don't agree, this is forcing people to add require 'rubygems' to their code,
> which is unacceptable as well. Introducing broken semantics into the core
> language will add support load to rubygems, bundler, debian, rails...
runpaint (Run Paint Run Run)
07:08 PM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin

On 6 Jul 2010, at 10:56, Run Paint Run Run wrote:

> Issue #3140 has been updated by Run Paint Run Run.
>
>
>> @runpaint I don't think it does, since comment 17 does a simple require without requiring
>> rubygems or usi...
raggi (James Tucker)
06:56 PM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin
> @runpaint I don't think it does, since comment 17 does a simple require without requiring
> rubygems or using the #gem command.

I misspoke. I meant that if it is preceded with `require 'rubygems'` it works as it should. ...
runpaint (Run Paint Run Run)
06:22 PM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin

On 6 Jul 2010, at 10:14, James Tucker wrote:

>
> On 6 Jul 2010, at 08:22, Roger Pack wrote:
>
>>> I have to agree. I'm still trying to figure out the utility of
>>> gem_prelude while sifting through code and attemptin...
raggi (James Tucker)
06:15 PM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin

On 6 Jul 2010, at 08:22, Roger Pack wrote:

>> I have to agree. I'm still trying to figure out the utility of
>> gem_prelude while sifting through code and attempting to resolve this
>> issue.
>>
>> Why do we have gem p...
raggi (James Tucker)
01:30 PM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin
@runpaint I don't think it does, since comment 17 does a simple require without requiring rubygems or using the #gem command.
=end
wycats (Yehuda Katz)
12:25 AM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin
> This patch runs test-all fine, and demonstrates the fact that using "require 'rubygems'" > restores the system to 1.8 behaivor, therefore avoiding this bug.

Don't we want to restore the system default behavior only when th...
rogerdpack (Roger Pack)
12:03 AM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin
Evan's patch is fine by me. It's worth stating explicitly that this fixes the scenario described by wycats in comment 17.
=end
runpaint (Run Paint Run Run)
06:02 PM Bug #3515: FreeBSD wrongly raises ECONNRESET on close(2)
=begin
成瀬です。

2010年7月6日15:50 Takahiro Kambe <taca@back-street.net>:
> さらに好奇心なのですが、close(fd)がECONNRESETになる状況を確認できる
> 簡単なプログラムはないでしょうか?

わたしは make TESTS='-v drb/test_drbssl.rb -n test_03' test-all で確認しています。
Ruby 側に手をいれつつ何度か走らせれば確認は...
naruse (Yui NARUSE)
05:58 PM Bug #3515: FreeBSD wrongly raises ECONNRESET on close(2)
=begin
成瀬です。

2010年7月6日15:44 Tanaka Akira <akr@fsij.org>:
> 2010年7月2日12:20 Yui NARUSE <redmine@ruby-lang.org>:
>
>> この例外は socket の close(2) を呼んだ際に errno に ECONNRESET がセットされたときに発生します。
>> しかし、この挙動は POSIX 仕様外であり、FreeBSD 独自のものです。
>
...
naruse (Yui NARUSE)
03:50 PM Bug #3515: FreeBSD wrongly raises ECONNRESET on close(2)
=begin
In message <AANLkTimD2geIuuhr0GQZ4fprYTv3m4kuESajvsrxaItm@mail.gmail.com>
on Tue, 6 Jul 2010 15:44:50 +0900,
Tanaka Akira <akr@fsij.org> wrote:
> 2010年7月2日12:20 Yui NARUSE <redmine@ruby-lang.org>:
>
>> この例外は socket の clos...
taca (Takahiro Kambe)
03:44 PM Bug #3515: FreeBSD wrongly raises ECONNRESET on close(2)
=begin
2010年7月2日12:20 Yui NARUSE <redmine@ruby-lang.org>:

> この例外は socket の close(2) を呼んだ際に errno に ECONNRESET がセットされたときに発生します。
> しかし、この挙動は POSIX 仕様外であり、FreeBSD 独自のものです。

ちょっとした好奇心なんですが、close(fd) が ECONNRESET になった後、
その fd は close ...
akr (Akira Tanaka)
04:06 PM Revision 415a3ef9 (git): * 2010-07-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:06 PM Revision 3b87ff32 (git): * ext/psych/lib/psych/scalar_scanner.rb (parse_time): dealing with
negative partial hour time zones. [ruby-core:31064]
* ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
* test/psych/visitors/test_to_ruby.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28558 b2dd03c8-39d4-4d8f-98ff-823fe69b...
tenderlovemaking (Aaron Patterson)
01:59 PM Revision 5bf4c6a6 (git): * io.c (nogvl_copy_stream_sendfile): jump to retry_sendfile directly
to avoid select() on a socket which TCP state is CLOSED.
patch by Eric Wong. [ruby-core:31053]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:47 PM Revision 80b9fb5a (git): * io/console/console.c (winsize_row): should return actual screen
size, not buffer size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
11:47 AM Bug #3542 (Closed): Psych dumps the timezone offset incorrectly at Newfoundland
=begin
Psych dumps the timezone offset incorrectly at Newfoundland.

% TZ=Canada/Newfoundland date '+%z'
-0230
% TZ=Canada/Newfoundland ./ruby -rpsych -e 't = Time.now; p t, Psych.dump(t)'
2010-07-06 00:13:03 -0230
"--- 2010-07-06...
akr (Akira Tanaka)
11:18 AM Revision 1be8c17f (git): * test/ruby/test_io_m17n.rb (test_textmode_paragraph_nonasciicompat): should
match the modes of both end of pipe as text mode.
* test/ruby/test_io_m17n.rb (test_binmode_paragraph_nonasciicompat): new test
for binmode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
08:34 AM Bug #3522 (Closed): String::size return invalid size on mswin64
=begin

=end
nobu (Nobuyoshi Nakada)
08:31 AM Bug #3522 (Assigned): String::size return invalid size on mswin64
=begin

=end
nobu (Nobuyoshi Nakada)
12:37 AM Bug #3522 (Closed): String::size return invalid size on mswin64
=begin
This issue was solved with changeset r28544.
shintaro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
12:20 AM Bug #3522: String::size return invalid size on mswin64
=begin
遠藤です。

2010年7月5日23:42 kuwamoto shintaro <beuniv@gmail.com>:
> おお。動くようになりました。
> ありがとうございます。


おお。確認ありがとうございます。コミットしておきます。

# しかし、0x8080808080808080LL を signed long long int にしてしまうのは
# VC のバグのような気もする

--
Yusuke Endoh ...
mame (Yusuke Endoh)
08:17 AM Bug #3538 (Closed): psych tests sometimes fail
=begin
This issue was solved with changeset r28551.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Anonymous
07:37 AM Bug #3538: psych tests sometimes fail
=begin
On Tue, Jul 06, 2010 at 07:25:35AM +0900, Tanaka Akira wrote:
> 2010/7/6 Aaron Patterson <aaron@tenderlovemaking.com>:
>
> > It's interesting that marshal won't round trip in this case too.
>
> Your patch compare t and Mar...
tenderlovemaking (Aaron Patterson)
07:25 AM Bug #3538: psych tests sometimes fail
=begin
2010/7/6 Aaron Patterson <aaron@tenderlovemaking.com>:

> It's interesting that marshal won't round trip in this case too.

Your patch compare t and Marshal.load(Marshal.dump(f)).

When t and f is different, they are differ...
akr (Akira Tanaka)
07:10 AM Bug #3538: psych tests sometimes fail
=begin
On Tue, Jul 06, 2010 at 06:13:50AM +0900, Tanaka Akira wrote:
> 2010/7/6 Aaron Patterson <redmine@ruby-lang.org>:
> >
> > Seems this isn't just a problem with psych. When psych fails to round trip the time, marshal seems to f...
tenderlovemaking (Aaron Patterson)
06:14 AM Bug #3538: psych tests sometimes fail
=begin
2010/7/6 Aaron Patterson <redmine@ruby-lang.org>:
>
> Seems this isn't just a problem with psych. When psych fails to round trip the time, marshal seems to fail too. Apply this patch:

> Then run the tests like this:
>
> ...
akr (Akira Tanaka)
03:55 AM Bug #3538: psych tests sometimes fail
=begin
Seems this isn't just a problem with psych. When psych fails to round trip the time, marshal seems to fail too. Apply this patch:

diff --git a/test/psych/test_yaml.rb b/test/psych/test_yaml.rb
index 45cd39d..f5c6b1c 1006...
tenderlovemaking (Aaron Patterson)
03:23 AM Bug #3538: psych tests sometimes fail
=begin

=end
tenderlovemaking (Aaron Patterson)
03:58 AM Bug #3391: Use single exclamation mark instead of double exclamation mark for IRB
=begin
Why isn't this change included in Ruby 1.9.2 RC1?
=end
diegoviola (Diego Viola)
01:23 AM Revision 13f5a607 (git): * test/psych/visitors/test_to_ruby.rb (test_time): time test must
respect non-whole timezone. Thanks akr! [ruby-core:31061]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
01:07 AM Bug #3537 (Closed): Thread 作成時のsigaltstackでメモリリーク
=begin
This issue was solved with changeset r28548.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)

07/05/2010

11:52 PM Feature #3526: IO::NULL; null device path name
No objection, FWIW. Looks to mirror Python's `os.devnull`. AFAICT, `NUL` does not necessarily exist on a Windows system, but that can't be helped. http://bugs.python.org/issue1311 suggests there may be problems stat'ing `NUL` on Windows-... runpaint (Run Paint Run Run)
11:43 PM Bug #3522: String::size return invalid size on mswin64
=begin
こんばんわ。

> ひょっとして以下のパッチで直らないでしょうか。
>
>
> diff --git a/string.c b/string.c
> index 703797f..510c04e 100644
> --- a/string.c
> +++ b/string.c
> @@ -141,7 +141,7 @@ static inline const char *
> search_nonascii(const char *...
beuniv (shintaro kuwamoto)
10:31 PM Bug #3522: String::size return invalid size on mswin64
=begin
遠藤です。

2010年7月2日19:05 shintaro kuwamoto <redmine@ruby-lang.org>:
> x64-mswin64_90環境で、15文字以上のUTF-8文字列のサイズが正常に取得できません。
>
> Z:\ruby-trunk\build>ruby -e"puts \"1234567890123\u{3042}\".size"
> 14
>
> Z:\ruby-trunk\build>ruby -...
mame (Yusuke Endoh)
11:39 PM Revision bb7b62af (git): forgot to commit the assert_match()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
11:38 PM Revision ff10d935 (git): * ext/dl/lib/dl/import.rb (handler): add a more helpful error message
when calling import_symbol or import_function without calling
dlload. Thanks nobu! [ruby-core:30996]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
11:15 PM Bug #3539 (Closed): Invalid Hex Escape Triggers Three Warnings in Regexp
=begin
Terribly minor, but three warnings for the same problem is slightly excessive:

run@paint:~ → ruby -ve '_ = /\x/'
ruby 1.9.3dev (2010-07-03 trunk 28530) [i686-linux]
-e:1: invalid hex escape
_ = /\x/
...
runpaint (Run Paint Run Run)
11:12 PM Revision c27e0eba (git): * ext/psych/lib/psych/visitors/yaml_tree.rb (format_time): nanoseconds
require more digits when dumping. Thanks akr! [ruby-core:31047]
* test/psych/visitors/test_to_ruby.rb: adjusting tests for nanoseconds
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
10:24 PM Bug #3538 (Closed): psych tests sometimes fail
=begin
psych tests sometimes fail.

% ./ruby test/runner.rb psych
Loaded suite test/runner
Started
...(snip)...
Finished in 1.003971 seconds.

1) Failure:
test_time_utc_no_z(Psych::Visitors::TestToRuby)
[/home/ruby...
akr (Akira Tanaka)
09:18 PM Bug #3537 (Closed): Thread 作成時のsigaltstackでメモリリーク
=begin
近永と申します。

Linux上で trunk と 1.9.2(HEAD) で Thread を作成する際の sigaltstack で登録するスタック用領域がリークしています。

$ ./ruby-1.9.2 -v -e "1000000.times{ Thread.start{}.join }"
ruby 1.9.2dev (2010-05-25 revision 28010) [i686-linux]
-e:1: [BUG]...
nagachika (Tomoyuki Chikanaga)
07:14 PM Bug #3515: FreeBSD wrongly raises ECONNRESET on close(2)
=begin
FreeBSD のメンテナは knu さんだと思っていました。

で、FreeBSDのこの挙動を知らない人には想像もつかない所で知らない例外が上がるため、
Ruby側としては吸収せざるをえないと思います。
例外のような処理を中断させてしまう方法以外で通知されるならまぁよかったのでしょうけど。

以下のような感じでtrunkにはコミットしようと思います。
1.9.2はどうしましょうか。

diff --git a/Cha...
naruse (Yui NARUSE)
12:57 PM Bug #3515: FreeBSD wrongly raises ECONNRESET on close(2)
=begin
これは意図されてドキュメントもされている変更なので、挙動としてもPOSIX的にもwrongではないです。
(SUSでは、ERRORSセクションで規定されている条件のいずれにも合致しないケースについて独自のエラーを
発生させることは許されているはず)

幾度かMLやIRCでも俎上には登っていますが、現実のコードとして、けっこうシビアなネットワークプログラムでも
close(2)の返り値をチェックしないものが多く、portsとかcontr...
knu (Akinori MUSHA)
06:14 PM Revision f32ae446 (git): * ext/psych/lib/psych/scalar_scanner.rb: making the code more beautiful.
Thanks nobu!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
04:14 PM Revision 48e4c275 (git): merges r28548 from trunk into ruby_1_9_2.
--
* vm.c (thread_free): free altstack to prevent memory leak. a patch
from Tomoyuki Chikanaga in [ruby-dev:41815]. [Bug #3537]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:57 PM Revision 68ab3ede (git): * vm.c (thread_free): free altstack to prevent memory leak. a patch
from Tomoyuki Chikanaga in [ruby-dev:41815]. [Bug #3537]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:34 PM Revision 67dfae2d (git): * 2010-07-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:34 PM Revision c13a97f6 (git): merges r28544 from trunk into ruby_1_9_2.
--
* string.c (NONASCII_MASK): NONASCII_MASK must be unsigned.
[ruby-dev:41782]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:32 PM Revision 0fa3c65b (git): * 2010-07-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:32 PM Revision 4f7b8247 (git): * string.c (NONASCII_MASK): NONASCII_MASK must be unsigned.
[ruby-dev:41782]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:37 PM Bug #3530 (Closed): psych failures at Adelaide
=begin
This issue was solved with changeset r28541.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Anonymous
07:11 AM Revision 78a78b45 (git): * vm_method.c (rb_method_boundp): Return false for protected
methods when called from Kernel#respond_to?. [ruby-dev:40461]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
06:04 AM Bug #3536 (Third Party's Issue): Error during failsafe response: "\xCB" from ASCII-8BIT to UTF-8
=begin

=end
nobu (Nobuyoshi Nakada)
03:29 AM Bug #3536 (Third Party's Issue): Error during failsafe response: "\xCB" from ASCII-8BIT to UTF-8
=begin
I was running a small rails app and I got that error because of a character inside one class file. Below is the stack trace:

/Users/lsantos/.rvm/gems/ruby-1.9.2-rc1@rails3/gems/activesupport-3.0.0.beta4/lib/active_support/b...
leandro_santos (Leandro Santos)
03:34 AM Revision b2e340bf (git): * 2010-07-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:33 AM Revision ce2e7368 (git): * ext/psych/lib/psych/scalar_scanner.rb (parse_string): support
timezones that are not one hour off. [ruby-core:31023]
* ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)

07/04/2010

09:47 PM Bug #3533 (Rejected): Default external encoding not picked up by output unless internal encoding set
=begin
Run Paint is right; it is intended.
=end
naruse (Yui NARUSE)
12:16 PM Bug #3533: Default external encoding not picked up by output unless internal encoding set
=begin
I _believe_ both behaviours are intended.

As I note in http://ruby.runpaint.org/encoding#external , "The external encoding of a stream may be queried with IO#external_encoding, which returns the corresponding Encoding objec...
runpaint (Run Paint Run Run)
11:01 AM Bug #3533 (Rejected): Default external encoding not picked up by output unless internal encoding set
=begin
ruby 1.9.2dev (2010-07-02 revision 28522) [x86_64-darwin10.4.0]

If I specify an external encoding with the -E option, the STDOUT and File.open output streams do not respect it. I have to explicitly assign an external encod...
pdwilson12 (Peter Wilson)
08:44 PM Bug #3515: FreeBSD wrongly raises ECONNRESET on close(2)
=begin
遠藤です。

2010年7月2日12:20 Yui NARUSE <redmine@ruby-lang.org>:
> これらに共通するのは「Errno::ECONNRESET: Connection reset by peer」という例外が発生している点です。
> この例外は socket の close(2) を呼んだ際に errno に ECONNRESET がセットされたときに発生します。
> しかし、この挙動は POSIX ...
mame (Yusuke Endoh)
05:17 PM Bug #3534 (Closed): "Branch condition evaluates to a garbage value" in function `swallow' of io.c
=begin
This issue was solved with changeset r28537.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
11:50 AM Bug #3534 (Closed): "Branch condition evaluates to a garbage value" in function `swallow' of io.c
=begin
遠藤です。

Clang Static Analyzer を使ってみたら、io.c の swallow 関数が
ローカル変数 i を初期化せずに条件文その他に使っていることを
見つけてくれました。

2291 int i;
2292 if (needconv) {
2293 if (*p != term) ret...
mame (Yusuke Endoh)
01:50 PM Revision 9f56a870 (git): * test/ruby/test_syntax.rb: split test_syntax from test_system.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:03 PM Revision c5de4d4c (git): * test/ruby/test_system.rb (test_syntax): unified with test_syntax2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:01 PM Revision 16923c25 (git): * test/ruby/test_system.rb (test_syntax2): moved from sample/test.rb
[ruby-dev:41721]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:13 AM Revision 6fb59dec (git): * io.c (swallow, prepare_getline_args, rb_io_getline_1): fix for
paragraph mode reading in non-ascii-compatible encoding.
[ruby-dev:41803]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:30 AM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin
Hi,

2010/7/3 Evan Phoenix <redmine@ruby-lang.org>:
> I've updated the patch to pass test-all. There is a rubygems test for this bug, but it can't run properly because test-all runs under miniruby, which has no prelude, so I'v...
mame (Yusuke Endoh)

07/03/2010

11:00 PM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin
Can we see this a release blocker for 1.9.2?
=end
shyouhei (Shyouhei Urabe)
08:45 AM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin
I've updated the patch to pass test-all. There is a rubygems test for this bug, but it can't run properly because test-all runs under miniruby, which has no prelude, so I've disabled the test for now.

This patch runs test-al...
evanphx (Evan Phoenix)
07:53 AM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin
On Sat, Jul 03, 2010 at 07:48:04AM +0900, Luis Lavena wrote:
> On Fri, Jul 2, 2010 at 6:19 PM, Yehuda Katz <wycats@gmail.com> wrote:
> > We are about to ship a version of Ruby with a built in package manager with
> > the follo...
tenderlovemaking (Aaron Patterson)
07:48 AM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin
On Fri, Jul 2, 2010 at 6:19 PM, Yehuda Katz <wycats@gmail.com> wrote:
> We are about to ship a version of Ruby with a built in package manager with
> the following property:
>
> Given a package X with dependency Y, attempting...
luislavena (Luis Lavena)
06:32 AM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin
Here is a real-world demonstration of this bug:


~/Code/tmp /master > gem install actionpack -v 3.0.0.beta4
Successfully installed actionpack-3.0.0.beta4
1 gem installed
~/Code/tmp /master > gem install rack
Succes...
wycats (Yehuda Katz)
06:20 AM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin
We are about to ship a version of Ruby with a built in package manager with
the following property:

Given a package X with dependency Y, attempting to load X might require
dependency Z without any warning.

There is litera...
wycats (Yehuda Katz)
05:00 AM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin
Hi,

2010/7/3 Aaron Patterson <redmine@ruby-lang.org>:
> How about an alternative solution to this problem? If someone does:
>
> require 'somegem'
>
> The latest version of 'somegem' gets required. If someone does thi...
mame (Yusuke Endoh)
03:48 AM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin
How about an alternative solution to this problem? If someone does:

require 'somegem'

The latest version of 'somegem' gets required. If someone does this:

require 'rubygems'
require 'somegem'

T...
tenderlovemaking (Aaron Patterson)
02:42 AM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin
Unfortunately this patch basically invalidates the usefulness of gem_prelude for ruby's gem generated binary scripts, since they all include a

gem 'xxx'

in them. But I suppose it's worth it to improve compatibility for...
rogerdpack (Roger Pack)
02:16 AM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin
I will try out nobu's patch and investigate why Run Paint was getting the failures.
=end
tenderlovemaking (Aaron Patterson)
01:37 AM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin
This bug is absolutely critical, and pushing it back from 1.9.2 to 1.9.x will make 1.9.2 unusable. It is trivial for this bug to impact Rails as well. In my opinion, while this bug exists Ruby 1.9.2 is broken and I cannot recomme...
wycats (Yehuda Katz)
09:35 PM Bug #3529 (Closed): BigDecimal.mode(BigDecimal::EXCEPTION_*) の初期値が0になっている
=begin

=end
mrkn (Kenta Murata)
09:34 PM Bug #3529: BigDecimal.mode(BigDecimal::EXCEPTION_*) の初期値が0になっている
=begin
よくコードを読んでみると、これはバグではなくて仕様なんですね。
ということで、このチケットは取り下げます。


しかし、真偽値を設定したのに、読み出し時の値は全モード定数を OR した整数値が返ってくるのは気持ち悪いですね。
=end
mrkn (Kenta Murata)
03:52 PM Bug #3529 (Closed): BigDecimal.mode(BigDecimal::EXCEPTION_*) の初期値が0になっている
=begin
BigDecimal.mode で設定可能な例外モードの値は true または false になっており、
これらの値以外を設定しようとするとエラーになります。
ところが、例外モードの初期値は 0 になっています。

$ ruby -rbigdecimal -ve 'p %w(NaN INFINITY UNDERFLOW ZERODIVIDE).map{|x| BigDecimal.mode(BigDecimal.const_get(:"...
mrkn (Kenta Murata)
07:59 PM Bug #3531 (Rejected): segmentation fault caused by etc/activation.rb (wxruby)
=begin
E:\wxruby\samples\etc>ruby activation.rb
Frame 'Tall window' became activated
Frame 'Tall window' became deactivated
Frame 'Wide window' became activated
Frame 'Wide window' became deactivated
Frame 'Tall window' becam...
ntys (ding ding)
07:54 PM Bug #3530 (Closed): psych failures at Adelaide
=begin
Several psych tests fail as follows when the timezone is set to
Australia/Adelaide.

% ./ruby -v
ruby 1.9.3dev (2010-07-03 trunk 28532) [i686-linux]
% TZ=Australia/Adelaide ./ruby test/runner.rb psych
Loaded suite test/runn...
akr (Akira Tanaka)
03:44 PM Revision 7ef57c61 (git): * 2010-07-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:44 PM Revision 4b31e99b (git): portability fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:29 PM Revision d24d2d3c (git): refine tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:08 AM Feature #3526 (Closed): IO::NULL; null device path name
なかだです。

`IO::NULL` を追加するのはどうでしょうか。

~~~diff
diff --git a/io.c b/io.c
index 05b2d45..3793ae5 100644
--- a/io.c
+++ b/io.c
@@ -9623,6 +9623,18 @@ rb_get_argv(void)
return ARGF.argv;
}

+static const char null_device[...
nobu (Nobuyoshi Nakada)
10:16 AM Bug #1390 (Closed): yaml converts DateTime to Time when dumping and parsing again
=begin

=end
nobu (Nobuyoshi Nakada)
09:57 AM Bug #1390: yaml converts DateTime to Time when dumping and parsing again
=begin
Fixed this in r28532. I don't seem to have permission to close it though.
=end
tenderlovemaking (Aaron Patterson)
09:17 AM Feature #3085 (Closed): Time dumping/loading using Psych
=begin
This issue was solved with changeset r28531.
Tomo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Anonymous
08:31 AM Bug #3524: system command should prefer CWD to PATH in windows
=begin
It's for security reasons: http://www.faqs.org/docs/Linux-mini/Path.html#s12 , http://serverfault.com/questions/98587/ . Presumably, if you want to ignore best practice you can add '.' to your path.
=end
runpaint (Run Paint Run Run)
03:42 AM Bug #3524 (Rejected): system command should prefer CWD to PATH in windows
=begin
from within a directory with 'convert.exe' located in it:


D:\installs\ImageMagick-6.6.2-Q16>convert --help | head -n3
Version: ImageMagick 6.6.2-10 2010-06-29 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 19...
rogerdpack (Roger Pack)
07:47 AM Revision 1c3e07f0 (git): * ext/bigdecimal/bigdecimal.c (Init_bigdecimal): add two new constants BigDecimal::INFINITY and BigDecimal::NAN.
* ext/bigdecimal/lib/bigdecimal/math.rb (BigMath.exp): modify the behaviors for infinity arguments as same as Math.exp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
05:14 AM Bug #3525 (Rejected): Enumerable#flat_map does not return a flatted enumerable
=begin
Hi,

2010/7/3 Jan Lelis <redmine@ruby-lang.org>:
> the new flat_map method does not return flatted enumerables:
>
> irb(main):072:0> [[1,2],2,3].flat_map{|e|e}
> => [1, 2, 2, 3]
> irb(main):071:0> [[1,2],2,3].flat_m...
mame (Yusuke Endoh)
03:47 AM Bug #3525 (Rejected): Enumerable#flat_map does not return a flatted enumerable
=begin
Hi,

the new flat_map method does not return flatted enumerables:

irb(main):072:0> [[1,2],2,3].flat_map{|e|e}
=> [1, 2, 2, 3]
irb(main):071:0> [[1,2],2,3].flat_map.to_a
=> [[1, 2], 2, 3]
=end
rbjl (Jan Lelis)
12:52 AM Revision 59cad45f (git): * ext/psych/lib/psych/visitors/to_ruby.rb(visit_Psych_Nodes_Scalar):
teaching Psych to deserialize DateTime objects. [Bug #1390]
* ext/psych/lib/psych/visitors/yaml_tree.rb(visit_DateTime): added a
method for serializing DateTime objects.
* ext/psych/lib/psych/scalar_scanner.rb(parse_time): add method...
tenderlovemaking (Aaron Patterson)
12:15 AM Revision 6fe92a3c (git): * ext/psych/lib/psych/visitors/yaml_tree.rb (visit_Time): use
Time#nsec to accurately serialize time objects. [ruby-core:29233]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)

07/02/2010

10:42 PM Bug #3523 (Third Party's Issue): win32 exception c0000029 on exit using fibers
=begin
Hi,

I'm encountering a windows exception c0000029 crash when my application (which uses fibers) runs on v1.9.2. The program runs to completion, and its tests all pass, but the exception occurs when ruby exits.

So far ...
spatulasnout (B Kelly)
07:05 PM Bug #3522 (Closed): String::size return invalid size on mswin64
=begin
x64-mswin64_90環境で、15文字以上のUTF-8文字列のサイズが正常に取得できません。

Z:\ruby-trunk\build>ruby -e"puts \"1234567890123\u{3042}\".size"
14

Z:\ruby-trunk\build>ruby -e"puts \"12345678901234\u{3042}\".size"
19
=end
beuniv (shintaro kuwamoto)
03:01 PM Revision fcb613ae (git): * 2010-07-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision 9c188406 (git): fix doc again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:58 PM Revision fc90d4a1 (git): fix doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:35 PM Revision f6c14c6f (git): * 2010-07-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:35 PM Revision 53eb8944 (git): * file.c (ruby_find_basename, ruby_find_extname): split from
rb_file_s_basename() and rb_file_s_extname().
* util.c (ruby_add_suffix): support arbitrary length of the suffix
to get rid of the potential buffer overflow.
reported by tarui.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/...
U.Nakamura
02:31 PM Revision 09ee12bb (git): * io.c (argf_inplace_mode_set): prohibits an assignment of a tainted
value.
* file.c (ruby_find_basename, ruby_find_extname): split from
rb_file_s_basename() and rb_file_s_extname().
* util.c (ruby_add_suffix): support arbitrary length of the suffix
to get rid of the potential buffer overflow.
rep...
U.Nakamura
12:20 PM Bug #3515 (Closed): FreeBSD wrongly raises ECONNRESET on close(2)
=begin
FreeBSD 8 では現在以下のようなテストに失敗しています。

1) Error:
test_idle(IMAPTest):
Errno::ECONNRESET: Connection reset by peer
/home/naruse/ruby/test/net/imap/test_imap.rb:189:in `test_idle'

2) Failure:
test_03(TestDRbSSLC...
naruse (Yui NARUSE)
10:14 AM Revision e3b9424d (git): * io.c (argf_inplace_mode_set): prohibits an assignment
of a tainted value. Patch by unak.
* util.c, file.c: prevents a buffer over-run on windows.
Patch by unak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@28522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:14 AM Revision ec4ca0fc (git): * io.c (argf_inplace_mode_set): prohibits an assignment
of a tainted value. Patch by unak.
* util.c, file.c: prevents a buffer over-run on windows.
Patch by unak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:40 AM Revision 8f4c474b (git): * test/ruby/test_module.rb (test_attr_inherited_visibility): more discussion needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:38 AM Bug #3514: Unused Variable Warnings in StdLib [PATCHES]
=begin
Sorry. I'm in an area with "excellent" 3G coverage which drops out every ten minutes...
=end
runpaint (Run Paint Run Run)
02:00 AM Bug #3514: Unused Variable Warnings in StdLib [PATCHES]
=begin
attachments didn't make it...
=end
marcandre (Marc-Andre Lafortune)
01:28 AM Bug #3514 (Closed): Unused Variable Warnings in StdLib [PATCHES]
=begin
Quite a few files in lib/ trigger "assigned but unused variable" warnings. Attached are fixes for the first seven files. For all of them I've examined the local variable scope, and confirmed that neither the unit tests nor RubySp...
runpaint (Run Paint Run Run)

07/01/2010

09:04 PM Revision 707d22f1 (git): add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:39 PM Revision 55da5c46 (git): * 2010-07-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:39 PM Revision 26202fba (git): * numeric.c (rb_num2long): accept LONG_MAX < x < LONG_MAX+1 and
LONG_MIN-1 < x < LONG_MIN as well because they are converted
into the valid range of long by truncation.
(rb_num2ulong): accept ULONG_MAX < x < ULONG_MAX+1 and
LONG_MIN-1 < x < LONG_MIN as well.
(rb_num2ll): accept LLONG_MAX < x ...
akr (Akira Tanaka)
02:27 PM Bug #3512 (Closed): ri shows '__send__' incorrectly
=begin
Since '_' is used as a word-based markup for emphasizing, Ri description of Object#__send__ is broken:

% ri Object\#send
Object#send

(from ruby core)
-----------------------------------------------------------------...
tomonacci (Tomo Kazahaya)
02:11 PM Revision 5d229db8 (git): * lib/csv.rb: Improving documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e James Edward Gray II
01:34 PM Revision 8bab1aff (git): * numeric.c (rb_num2ulong): fix the lower limit for float.
[ruby-dev:41361]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:26 PM Bug #3497 (Closed): [Docs; Patch] Mistakes & Omissions for String#{sub,gsub}
=begin
Applied (with small modifications) in r28492 and r28494 .

Thanks!
=end
marcandre (Marc-Andre Lafortune)
01:09 PM Revision e12c43ee (git): * ChangeLog: revert deleted logs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:37 PM Revision 57ba9de9 (git): * test/ruby/envutil.rb (EnvUtil#invoke_ruby): integrated with
runexec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:38 AM Revision 318deef3 (git): * NEWS (YAML, Psych, DL, fiddle): new entries
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
07:59 AM Revision 9450c646 (git): * 2010-07-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@28512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:59 AM Revision 237fc688 (git): merges r26936 from trunk into ruby_1_9_1 and little refactoring.
--
* random.c (rb_reset_random_seed): set seed in this. [ruby-core:28655]
--
* random.c: refactoring.
* random.c (rand_srand): a new function that wraps
rand_init and (re)initialization of the random seed as
a VALUE.
* random.c (ge...
yugui (Yuki Sonoda)
07:42 AM Revision 509e3e9d (git): merges r28456 and r28476 from trunk into ruby_1_9_2.
--
* test/win32ole/test_win32ole_method.rb (test_offset_vtbl): check
that Ruby is 32bit or 64bit binary in order to get correct offset
value. [ruby-dev:41741]
--
* test/win32ole/test_win32ole_method.rb (is_ruby64): check
ruby binar...
yugui (Yuki Sonoda)
07:41 AM Revision 83f1241a (git): merges r28457 from trunk into ruby_1_9_2.
--
* thread.c (rb_fd_resize, rb_fd_copy): avoid NULL dereference upon
failed realloc by using xrealloc instead of not realloc. a patch
from Jim Meyering <meyering at redhat.com> in [ruby-core:30920]
[Bug #3489]
git-svn-id: svn+ss...
yugui (Yuki Sonoda)
07:26 AM Revision 195d3bcc (git): merge revision(s) 28507:
* thread_pthread.c (thread_start_func_1): don't call
native_thread_init_stack(th) on cygwin to avoid the segv
introduced by r27789. Cygwin's signal implementation is half
baked so USE_SIGNALSTACK is not defi...
naruse (Yui NARUSE)
07:25 AM Revision 6957c6d9 (git): * thread_pthread.c (thread_start_func_1): don't call
native_thread_init_stack(th) on cygwin to avoid the segv
introduced by r27789. Cygwin's signal implementation is half
baked so USE_SIGNALSTACK is not defined and it needs another
treatment.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
naruse (Yui NARUSE)
07:00 AM Feature #3511 (Closed): rb_path_to_class should call custom const_defined? methods
=begin
It would be nice if rb_path_to_class called custom const_defined? methods. This would give marshaled objects a chance to locate and define classes when they are being unmarshalled.

I've attached a patch with a test that de...
tenderlovemaking (Aaron Patterson)
04:00 AM Revision e8b9321a (git): * common.mk (test-knownbug): ignore known bugs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:00 AM Revision 678f6b37 (git): * common.mk (test-knownbug): ignore known bugs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:00 AM Revision a20b4568 (git): * test/rubygems/test_gem_activation.rb: comment out a test for WONTFIX
bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:05 AM Revision f058f2d8 (git): merges r28455 and r28460 from trunk into ruby_1_9_2.
--
* lib/rdoc/ri/driver.rb (RDoc::RI::Driver#formatter): should use bs
format when stdout is piped. [ruby-core:30734]
--
* test/rdoc/test_rdoc_ri_driver.rb (TestRDocRIDriver#test_formatter):
fix a test accordingly to r28455.
git-sv...
yugui (Yuki Sonoda)
02:05 AM Revision 2a43e898 (git): merges r28453 and r28454 from trunk into ruby_1_9_2.
--
* class.c (rb_mod_init_copy): when class is dup'ed, a metaclass of the
class should be attached to the dup'ed class, not the original
class. [ruby-core:30843] [Bug #3461]
--
* bootstraptest/test_class.rb: add a test for [ruby-cor...
yugui (Yuki Sonoda)
02:05 AM Revision 391fb9ec (git): merges r28442 from trunk into ruby_1_9_2.
--
* test/win32ole/test_win32ole_method.rb (test_offset_vtbl): check
that OS is Windows 32bit or Windows 64bit in order to get
correct offset value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28502 b2dd03c8-39d4...
yugui (Yuki Sonoda)
02:05 AM Revision ba87ab3a (git): merges r28431 and r28432 from trunk into ruby_1_9_2.
--
* lib/csv.rb: Fixing a bug that prevented CSV from parsing
all multi-line fields correctly. Patch by Rob Biedenham.
--
Fixing a spelling error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28501 b2dd03c8-39d4-4d...
yugui (Yuki Sonoda)
02:05 AM Revision a1a68a58 (git): merges r28428,r28429,r28430 and r28444 from trunk into ruby_1_9_2.
--
* test/ruby/envutil.rb (EnvUtil#invoke_ruby): get rid of possible
deadlock.
--
* test/ruby/envutil.rb (EnvUtil#invoke_ruby): change the
environment of spawned process only.
--
* test/ruby/envutil.rb (Test::Unit::Assertions#assert_...
yugui (Yuki Sonoda)
02:05 AM Revision d36fedc7 (git): merges r28422 from trunk into ruby_1_9_2.
--
refine an assertion message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:04 AM Revision d936157b (git): merges r28421 from trunk into ruby_1_9_2.
--
add an assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:04 AM Revision cd55b62c (git): merges r28410 from trunk into ruby_1_9_2.
--
* ext/socket/raddrinfo.c (str_is_number): renamed from str_isnumber to
avoid confusion to str_isnumber in ext/socket/getaddrinfo.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28497 b2dd03c8-39d4-4d8f-98ff-823fe...
yugui (Yuki Sonoda)
02:04 AM Revision e9eb635a (git): merges r28403 from trunk into ruby_1_9_2.
--
* ext/win32ole/win32ole.c (reg_get_typelib_file_path): try win64
registry entry at first. [ruby-dev:41674] [Bug #3464]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)

06/30/2010

11:40 PM Revision 12b0ccc2 (git): * marshal.c (w_object): suppress empty instance variable entry on
compatible dump objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:16 PM Revision ac77f633 (git): merge from trunk (r28492)
* string.c (rb_str_gsub_bang, rb_str_sub_bang, str_gsub): rdoc fix
based on patch by Run Paint [ruby-core:30938]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
10:14 PM Revision 64bcb87c (git): * 2010-07-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:14 PM Revision 21161841 (git): * string.c (rb_str_gsub_bang, rb_str_sub_bang, str_gsub): rdoc fix
based on patch by Run Paint [ruby-core:30938]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
07:22 PM Revision ee421afc (git): * 2010-07-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:22 PM Revision e31fb65d (git): merge from trunk (r28408)
* ext/socket/raddrinfo.c: don't use __P.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masaya Tarui
 

Also available in: Atom