Project

General

Profile

Activity

From 04/17/2010 to 04/23/2010

04/23/2010

11:12 PM Bug #2025: problem with pthread handling on non NPTL platform
=begin
Hello.

1) for sigprocmask part, please just replace sigprocmask() by pthread_sigmask() and leave
possibility to use sigsetmask(). Ideally also replace the check and HAVE_SIGPROCMASK.
I doubt there will be a platform wit...
Petr.Salinger@seznam.cz (Petr Salinger)
02:16 AM Bug #2025: problem with pthread handling on non NPTL platform
=begin
Hi,

> I tried to fix some testsuite failures on GNU/kFreeBSD,

Thank you for your investigation reports!

I show a patch before I answer to each report.
The following patch removes "after_exec()" and changes sigpro...
mame (Yusuke Endoh)
08:34 PM Bug #1955 (Closed): Ruby-YAML interpretation of accented characters
=begin
Hi,

Seems to be fixed already. Thanks!

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
08:17 PM Bug #1711 (Rejected): Marshal Failing to Round-Trip Certain Recurisve Data Structures
=begin
Hi,

In 1.9, proc is called for each node of object tree,
even if the node is recursive.

> $ ruby -e 'a=[1]; a << a; Marshal.load(Marshal.dump(a), proc {|e| p e})'
> 1 # First element
> [1] # Second...
mame (Yusuke Endoh)
08:04 PM Bug #1745: Module#autoload No Longer Raises where 1.8 Does
=begin
Hi,

This behavior was changed at r22269, by nobu himself.
Nobu, please judge this.

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
07:57 PM Bug #1692: warning: useless use of a literal in void context
=begin
遠藤です。

r23474 の影響のようで、意図されたことではないと思います。

パッチにはあまり自信ありませんが、なかださんどうでしょうか。


diff --git a/parse.y b/parse.y
index c88a727..cb49fa1 100644
--- a/parse.y
+++ b/parse.y
@@ -785,8 +785,7 @@ static void token_info_p...
mame (Yusuke Endoh)
07:39 PM Bug #1319 (Closed): Fix compiler warnings in file.c
=begin
Hi,

This is already fixed at r23140.
Thanks!

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
07:35 PM Bug #1318: Ri documentation missing for BasicObject methods instance_eval, method_missing, __send__
=begin
Hi, Eric

How about adding BasicObject to known classes?

diff --git a/lib/rdoc/known_classes.rb b/lib/rdoc/known_classes.rb
index dbb1802..3e63ab0 100644
--- a/lib/rdoc/known_classes.rb
+++ b/lib/rdoc/known_classes...
mame (Yusuke Endoh)
07:31 PM Bug #1285 (Closed): Fix Compiler Warnings - iseq and insns
=begin

=end
mame (Yusuke Endoh)
07:31 PM Bug #1142: /opt/ruby19/lib/ruby19/1.9.1/openssl/ssl.rb:31: [BUG] Bus Error
=begin

=end
mame (Yusuke Endoh)
07:30 PM Bug #1085: Got the error message, after run 'gem install --test'.
=begin
Hi,

> I think it would be better to remove --test from RubyGems since it can't work everywhere.

You are the maintainer.
Maintainer should respect compatibility and opinions of others,
but can finally make decision, ...
mame (Yusuke Endoh)
06:47 PM Bug #3194: Segmentation fault in rb_hash_tbl
=begin
I have update ruby-gnome2 from the svn today (just before my test with ruby1.9.1).
=end
vinc-mai (Vincent Carmona)
06:33 PM Bug #3194: Segmentation fault in rb_hash_tbl
=begin
Seems like a ruby-gnome2's issue. What version do you use?
=end
nobu (Nobuyoshi Nakada)
06:04 PM Bug #3194: Segmentation fault in rb_hash_tbl
=begin
ruby -v:
ruby 1.9.1p376 (2009-12-07 revision 26041) [i486-linux]

I have joined a backtrace. Hope that is what you wanted.
=end
vinc-mai (Vincent Carmona)
05:57 PM Bug #3194 (Feedback): Segmentation fault in rb_hash_tbl
=begin
What's the exact version?
And could you show the backtrace?
=end
nobu (Nobuyoshi Nakada)
05:51 PM Bug #3194 (Third Party's Issue): Segmentation fault in rb_hash_tbl
=begin
I am trying ZiK (an audio player) with ruby1.9.1. Everything works fine but when I close the player I obtain a segmentation fault.
gdb (I am not used to gdb so maybe I am not doing the rigth thing) gives me :

Program recei...
vinc-mai (Vincent Carmona)
05:47 PM Bug #3093 (Closed): Openssl Extension Does Not Compile with OpenSSL 1.0
=begin
This issue was solved with changeset r27458.
Charlie, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
usa (Usaku NAKAMURA)
03:44 PM Revision 8687db60 (git): * process.c (rb_f_fork): remove after_exec() which sometimes caused
two timer threads started. [ruby-core:25217]
* signal.c: use pthread_sigmask() instead of sigprocmask().
sigprocmask() is unspecified behavior on multi-thread programs.
[ruby-core:25217]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
mame (Yusuke Endoh)
03:38 PM Revision f991d209 (git): * test/dl/test_base.rb: add kfreebsd support. based on a patch from
Petr Salinger in [ruby-core:29769].
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560293
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:16 PM Revision 05209bda (git): * 2010-04-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:16 PM Revision eaaef6af (git): * ext/openssl/ossl_ssl_session.c (SSL_SESSION_cmp): remove static for
loopy version of openssl (0.9.8l?).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:40 PM Bug #3192 (Closed): Missing Set#keep_if, select! [patch]
=begin
Set (& SortedSet) were forgotten when adding keep_if and select!

Unless there is objection, I'll commit the attached patch (and add tests to RubySpec).
=end
marcandre (Marc-Andre Lafortune)
02:28 PM Revision 5c67d206 (git): * ext/openssl/ossl_config.c: fix compilation failure with
OpenSSL 0.9.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:07 PM Bug #2488: thread usage can result in bad HANDLE
=begin
Roger,

Running r27453 over here, cannot make your example crash (based on bug report #3183).

OS: Windows 7, x64, 4GB RAM
=end
luislavena (Luis Lavena)
02:18 AM Bug #2488: thread usage can result in bad HANDLE
=begin
from 3183 this code crashes trunk reliably still:

loop {
all = []
700.times{|i|
all << Thread.new{}
puts i
}
all.each(&:join)
}
=end
rogerdpack (Roger Pack)
01:23 AM Bug #2488: thread usage can result in bad HANDLE
=begin
appears "better" in trunk but not totally fixed, with this version:

ruby 1.9.2dev (2010-04-09 trunk 27265) [i386-mingw32]
=end
rogerdpack (Roger Pack)
12:37 PM Bug #3052 (Rejected): DRb::start_service fails to detect used port
=begin
Hi,

This is intended behavior.

You can actually run two drb servers at the time on your
environment. One can be accessed via druby://[::1]:1234,
and the other can be druby://127.0.0.1:1234.
You will see error whe...
mame (Yusuke Endoh)
02:33 AM Bug #3052: DRb::start_service fails to detect used port
=begin
On Thu, Apr 22, 2010 at 6:58 PM, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
> This may be side effect of ipv6 support of ext/socket.
> What's printed by:
>
>  require "socket"
>  p TCPServer.new("localhost", 1234).addr
>  p TCPSe...
orem (Chris Schlaeger)
01:58 AM Bug #3052: DRb::start_service fails to detect used port
=begin
Hi,

2010/4/23 Chris Schlaeger <cschlaeger@gmail.com>:
> I did some more tests and the problem is most likely not DRb specific.
> I can reproduce this with TCPSocket as well. The system was an
> openSUSE 11.1 and 11.2. Both ...
mame (Yusuke Endoh)
12:06 AM Bug #3052: DRb::start_service fails to detect used port
=begin
I did some more tests and the problem is most likely not DRb specific.
I can reproduce this with TCPSocket as well. The system was an
openSUSE 11.1 and 11.2. Both have IPv6 enabled. The problem does not
occur when I use 127.0....
orem (Chris Schlaeger)
09:58 AM Revision efe26715 (git): * ext/win32ole/win32ole.c (ole_val2variant): fix the core dump
when converting Array object to VT_ARRAY variant. [ruby-core:28446]
[Bug #2836]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
09:54 AM Feature #3131: add Kernel#Hash() method like Kernel#Array()
=begin
Hi,

Matz wrote:
> I will consider (positively) adding this feature after 1.9.2
> release.

Thanks Matz! In the mean time, I have created a gem with this
functionality so that people can start using it, if they wis...
sunaku (Suraj Kurapati)
08:39 AM Revision 141cbdfe (git): * ChangeLog: ML ref. ([ruby-core:29256])
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
08:37 AM Revision 6f7b5ffe (git): * ext/openssl/ossl_config.c: OpenSSL 1.0.0 support.
* ext/openssl/extconf.rb: check some functions added/removed at
OpenSSL 1.0.0.
* ext/openssl/ossl_engine.c (ossl_engine_s_load): use engines which
exists.
* ext/openssl/ossl_ssl_session (SSL_SESSION_cmp): removed at 1.0.0,
so imp...
U.Nakamura
06:52 AM Bug #1325 (Closed): fiber tests kill windows
=begin
Fiber tests doesn't kill windows now.
So, I close this issue. Thanks.
=end
wanabe (_ wanabe)
06:31 AM Revision a909ff22 (git): * gem_prelude.rb (Gem::QuickLoader.load_full_rubygems_library):
suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:37 AM Revision 80db78f5 (git): * gem_prelude.rb (Gem::QuickLoader.load_full_rubygems_library):
get rid of creating same regexps many times.
* lib/rubygems/custom_require.rb (Kernel#require): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:07 AM Revision 5460a23f (git): * doc/etc.rd, doc/etc.rd.ja: moved from ext/etc.
* ext/etc.c (Init_etc): fixed rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:07 AM Revision 9e67f6ec (git): * doc/etc.rd, doc/etc.rd.ja: moved from ext/etc.
* ext/etc.c (Init_etc): fixed rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:55 AM Feature #3187: Allow dynamic Fiber stack size
=begin

=end
mame (Yusuke Endoh)
02:48 AM Feature #3187: Allow dynamic Fiber stack size
=begin
To be clear, I'm not asking to extend the stack of a currently executing Fiber, just a one-time configuration when my program starts. Something like this:

require 'fiber'
Fiber.stack_size = 16 * 1024

Fibe...
mperham (Mike Perham)
02:46 AM Feature #3187 (Rejected): Allow dynamic Fiber stack size
=begin
I'd like a way to increase the size of the Fiber stack dynamically so when my program starts, I can set it to whatever value I need for the code I'm running. 4KB is too easy to run into problems when running recursive code but ...
mperham (Mike Perham)
02:32 AM Revision 400afca8 (git): Update to RDoc 2.5.6
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
01:57 AM Bug #1807 (Closed): r+ オープンしたファイルが MinGW の拡張ライブラリで扱えない
=begin
This issue was solved with changeset r27449.
Kimura, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
usa (Usaku NAKAMURA)
12:14 AM Revision 30014a61 (git): * ruby.c (PREFIX_PATH): use RUBY_RELATIVE macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

04/22/2010

11:53 PM Bug #496 (Closed): DRb.start_service(nil) is very slow
=begin

=end
mame (Yusuke Endoh)
11:51 PM Bug #3052: DRb::start_service fails to detect used port
=begin
Hi,

Umm, I cannot reproduce.
This issue may depend on network configuration...


# terminal 1
$ ./ruby drb_port_busy_bug.rb
druby://localhost:1234
Server is alive

# terminal 2
$ ./ruby drb_po...
mame (Yusuke Endoh)
11:19 PM Bug #2662 (Rejected): BigDecimal#ceil, etc. should not return Integer
=begin
遠藤です。

rubyspec 側で対処したので、このチケットは reject します。

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
11:17 PM Bug #2425 (Closed): Kernel#public_method の例外メッセージ
=begin
This issue was solved with changeset r27446.
_, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
11:16 PM Feature #2447: reduce GC pressure by symbol table without String instance
=begin
遠藤です。

明らかに feature request なので移動します。

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
11:07 PM Bug #2342 (Closed): bootstraptest/test_thread.rb がまれに失敗する
=begin
This issue was solved with changeset r27445.
_, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
10:28 PM Bug #340: 1.9/trunk does not work when compiled with llvm-gcc4 2.3 (gcc 4.2.1)
=begin
> BTW, according to OP, build seems to success with --with-setjmp-type=setjmp.

Good point; it appears that it closes the specific issue. Anyone who feels strongly about build mods needed for llvm-gcc/clang can always open u...
jonforums (Jon Forums)
12:35 PM Bug #340: 1.9/trunk does not work when compiled with llvm-gcc4 2.3 (gcc 4.2.1)
=begin
Hi,

2010/4/22 Jon Forums <redmine@ruby-lang.org>:
> p.p.s - If you get a chance and haven't done so already, take a look at the "LLVM as a C and C++ compiler" section of the above mentioned PDF for some SPEC 2000 results.

...
mame (Yusuke Endoh)
04:18 AM Bug #340: 1.9/trunk does not work when compiled with llvm-gcc4 2.3 (gcc 4.2.1)
=begin
forgot a link to other more recent llvm-gcc/clang vs. gcc 4.x comparisons

http://www.phoronix.com/scan.php?page=article&item=gcc_llvm_clang&num=1
=end
jonforums (Jon Forums)
02:55 AM Bug #340: 1.9/trunk does not work when compiled with llvm-gcc4 2.3 (gcc 4.2.1)
=begin
>I understand the worth of LLVM.
> But this ticket is not about compiling into LLVM bytecode, but
> compiling into *normal object file* with llvm-gcc, isn't it?

My understanding of the issue is similar to yours; whether ...
jonforums (Jon Forums)
02:05 AM Bug #340: 1.9/trunk does not work when compiled with llvm-gcc4 2.3 (gcc 4.2.1)
=begin
2010/4/22 Jon Forums <redmine@ruby-lang.org>:
>> BTW, where is the sense in compiling with llvm-gcc to normal object file?
>
> You may find this LLVM intro (PDF) helpful in answering your question
>
> http://llvm.org/pubs/20...
mame (Yusuke Endoh)
01:30 AM Bug #340: 1.9/trunk does not work when compiled with llvm-gcc4 2.3 (gcc 4.2.1)
=begin
> BTW, where is the sense in compiling with llvm-gcc to normal object file?

You may find this LLVM intro (PDF) helpful in answering your question

http://llvm.org/pubs/2008-10-04-ACAT-LLVM-Intro.pdf

Jon
=end
jonforums (Jon Forums)
09:57 PM Bug #3139 (Closed): Possible Bug with Irb jobs from Ruby 1.9.2-dev
=begin
This issue was solved with changeset r27444.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
keiju (Keiju Ishitsuka)
09:57 PM Bug #3182 (Closed): multi-irb may run parallelly
=begin
This issue was solved with changeset r27444.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
keiju (Keiju Ishitsuka)
09:31 PM Bug #3182: multi-irb may run parallelly
=begin
けいじゅ@いしつかです.

In [ruby-dev:41031] the message: "[ruby-dev:41031] [Bug #3182]
multi-irb may run parallelly", on Apr/21 20:54(JST) Yusuke Endoh
writes:

>いしつかさん
>遠藤です。

>私の環境で再現はしないのですが、同じ手順を実行すると、kill したあとで、
>キー入力が不思議な挙動...
keiju (Keiju Ishitsuka)
07:13 PM Revision 48f2a5fc (git): * test/ripper/test_parser_events.rb: more regexp literal tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:11 PM Revision 2dc5fdec (git): * test/ripper/test_parser_events.rb (test_unterminated_regexp):
separate test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:48 PM Bug #3102: Rubygems should avoid deprecated yaml api
=begin
On Apr 21, 2010, at 04:22, Yusuke Endoh wrote:

> Aaron's patch seems not to be applied to ruby trunk. Is it ok?

I had to make a modification or two, but it is committed now.

> Eric, please tell us not only status of rub...
drbrain (Eric Hodel)
05:29 PM Bug #3102 (Closed): Rubygems should avoid deprecated yaml api
=begin
Fixed in r27441
=end
drbrain (Eric Hodel)
05:43 PM Bug #2827 (Closed): ri hangs during gem installation which results in a crash
=begin
This bug is from RDoc 2.4, so I think it can be marked as fixed.

I cannot reproduce it on OS X 10.6:

$ ruby19 -v
ruby 1.9.2dev (2010-04-22 trunk 27441) [x86_64-darwin10.3.0]
$ gem19 install bundler haml-edge i18n th...
drbrain (Eric Hodel)
05:38 PM Bug #2717: Requiring rubygems/specification causes tons of warnings for NoMethodError
=begin
I'm not sure what to do about this yet.

gem_prelude.rb provides a fake rubygems.rb, but require 'rubygems/specification' does not cause the real rubygems.rb to be loaded.

This causes the errors.

The workaround is t...
drbrain (Eric Hodel)
05:31 PM Bug #825 (Closed): Gem::Installer#generate_windows_script の引数の順番が他と一致しない
Appled r27441
drbrain (Eric Hodel)
05:30 PM Bug #2414 (Closed): make test-all does not work after gem update
=begin
This has been fixed.
=end
drbrain (Eric Hodel)
05:30 PM Feature #2713 (Rejected): Rdoc: rdoc/usage missing in Ruby 1.9
=begin

=end
drbrain (Eric Hodel)
05:30 PM Bug #3056 (Closed): gem unpack fails
=begin
Fixed in r27441
=end
drbrain (Eric Hodel)
05:29 PM Bug #3103 (Closed): rubygems should avoid deprecated uri api
=begin
Fixed in r27441
=end
drbrain (Eric Hodel)
04:49 PM Revision b6847f7a (git): * win32/win32.c (rb_w32_wopen): shouldn't use FILE_FLAG_OVERLAPPED with
normal file. #1807, #2510, #2549
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:28 PM Revision 1152ad65 (git): * 2010-04-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:28 PM Revision f9e53623 (git): * thread_win32.c (ubf_handle): remove unused typedef.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:15 PM Revision 478c65c4 (git): * proc.c (mnew): fix wrong error message when Kernel#public_method
receives name of private method. [Bug #2425]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:02 PM Revision 0ffb18de (git): * bootstraptest/test_thread.rb: fix test. [Bug #2342]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
12:54 PM Revision 14e5c442 (git): * lib/irb/ext/multi-irb.rb: fix multi-irb running
parallelly. [ruby-dev:41031] [Bug #3182]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
keiju (Keiju Ishitsuka)
11:30 AM Bug #1711: Marshal Failing to Round-Trip Certain Recurisve Data Structures
=begin
Hi,

At Sun, 4 Apr 2010 08:44:45 +0900,
_ wanabe wrote in [ruby-core:29242]:
> This issue should be moved to Feature, shouldn't it?

It's not what is called round-trip, therefore wrong thing is
the precondition.

I think...
nobu (Nobuyoshi Nakada)
10:13 AM Revision 99713041 (git): remove debug print.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:59 AM Revision 04c651c0 (git): * test/ripper/test_parser_events.rb (test_local_variables): for r27431.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:24 AM Revision 372dcece (git): Update to RubyGems 1.3.7.pre.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
08:21 AM Revision d0e5a34a (git): * ext/**/*.[ch]: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:16 AM Revision 3e8d6305 (git): * ext/**/*.[ch]: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:05 AM Revision 87a37119 (git): * test/ripper/test_parser_events.rb (test_operator_ambiguous): new test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:04 AM Revision 977267c2 (git): * ext/**/*.[ch]: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:43 AM Revision 36f8540a (git): * parse.y (warn_balanced): removed false warning.
* parse.y (parser_yylex): skip whitespaces after method name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:42 AM Feature #3185 (Rejected): File.expand_path repeats forward slashes at the beginning of the path
=begin
When File.expand_path is passed a string with multiple consecutive forward slashes, it preserves them in the output. This would appear to be a bug since everywhere else in the path, consecutive separators are collapsed to a singl...
brixen (Brian Shirai)
07:34 AM Feature #3085: Time dumping/loading using Psych
=begin
I choose 2-1. I agree this is a feature request. I think I can fix it, but I don't want to promise for 1.9.2.
=end
tenderlovemaking (Aaron Patterson)
06:53 AM Feature #3131 (Assigned): add Kernel#Hash() method like Kernel#Array()
=begin

=end
shyouhei (Shyouhei Urabe)
05:11 AM Feature #1844: Immediates Should Not Respond to :dup
=begin

Rick DeNatale wrote:
> On Thu, Jul 30, 2009 at 9:10 PM, David A. Black <dblack@rubypal.com> wrote:
>>
>> My own difficulty with Jeremy's idea is that 1 isn't a duplicate of 1.
>> In general, if x.dup returns x, it's not ret...
spatulasnout (B Kelly)
03:30 AM Bug #595: Fiber ignores ensure clause
=begin
(2010/04/21 23:55), Yusuke ENDOH wrote::
> どちらも仕様レベルで検討しないといけないことのような気がします。
> まだ結構大変そうなので、1.9.2 は見送った方がいいんじゃないかなと
> 思います。早くコメントしていれば、wanabe さんなら余裕で直せたと
> 思うので残念ですが。

 返事が出来ていなくてすみません.最近,色々と余裕がなくて,じっくり考え
て返事が出来ず.

--
//...
ko1 (Koichi Sasada)
02:31 AM Bug #1341: pthread_cond_timedwait failing in 1.9.1-p0 thread tests on HP-UX 11i v2
=begin
Hi,

I guess this is the limitation of Solaris:

- http://bugs.opensolaris.org/view_bug.do?bug_id=4038480
- http://docs.sun.com/app/docs/doc/806-0630/6j9vkb8ct?a=view

EINVAL
...
For cond_timedwait(), ...
mame (Yusuke Endoh)
02:26 AM Bug #1308 (Closed): bigdecimal debug code prevents tests from running
=begin

=end
mrkn (Kenta Murata)
02:24 AM Bug #1308: bigdecimal debug code prevents tests from running
=begin
I've committed the change to replace _DEBUG with BIGDECIMAL_DEBUG.
=end
mrkn (Kenta Murata)
12:09 AM Bug #821 (Rejected): uninitialized constant Test::Unit::AutoRunner
=begin
遠藤です。

起票者の後藤さんが納得しているようなので、1.9.x の仕様として
close します。非常に遺憾ですが。

標準添付ライブラリの切り替えには注意しようという教訓ですね。
自称「互換」を手放しで信用するなとか。

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)

04/21/2010

11:55 PM Bug #595: Fiber ignores ensure clause
=begin
遠藤です。

2010年4月10日23:20 _ wanabe <redmine@ruby-lang.org>:
> ささださん
>
> このチケットおよびパッチについてコメントいただければ幸いです。
> この対処で問題ないかどうか、もし問題ないとしたら
> 1.9.2 リリース前に入れるべきかどうかが気になっています。
> そもそもアプローチがまずいようでしたら別の方法を考えます。

ささださんではないですが勝手にコメントします。
...
mame (Yusuke Endoh)
11:54 PM Feature #2152: Split functionality of Float#inspect and Float#to_s
=begin
It appears that some others agree, as well:

http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/23123
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/23126
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb...
rogerdpack (Roger Pack)
11:41 PM Feature #1844: Immediates Should Not Respond to :dup
=begin
On Thu, Jul 30, 2009 at 9:10 PM, David A. Black <dblack@rubypal.com> wrote:
> Hi --
>
> On Fri, 31 Jul 2009, Shyouhei Urabe wrote:
>
>> Issue #1844 has been updated by Shyouhei Urabe.
>>
>>
>> Anyway when getting back to ...
RickDeNatale (Rick DeNatale)
09:43 PM Feature #1844: Immediates Should Not Respond to :dup
=begin
Hi,

This is apparently not a bug but feature request.
I move this to Feature tracker.

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
11:32 PM Feature #3176: Thread#priority= should actually do something
=begin
Hi.

2010/4/21 caleb clausen <redmine@ruby-lang.org>:
> I'm not quite sure what to do with BLOCKING_REGION; I think it requires some slightly special handling but shouldn't be very hard.


A patch and benchmark result are w...
mame (Yusuke Endoh)
10:59 PM Feature #3176: Thread#priority= should actually do something
=begin
oh no, I left something off. I should have said:

convert calls to

$GIL.unlock
into
Thread.current=$ready_to_run.dequeue
Thread.current.wake_up!

and calls to

$GIL.lock
into
$r...
coatl (caleb clausen)
09:54 PM Feature #3176: Thread#priority= should actually do something
=begin
Let me try again to explain this one, from a different point of view. I'm simplifying some things a little bit below, but all the essential parts remain true.

Every platform which implements threads has to have somewhere ins...
coatl (caleb clausen)
10:43 PM Bug #527 (Closed): test_execopts_pgroup(TestProcess) fails on NetBSD
=begin
This works on current NetBSD-current both i386 and x86_64.
=end
naruse (Yui NARUSE)
10:23 PM Feature #3131: add Kernel#Hash() method like Kernel#Array()
=begin
Hi,

In message "Re: [ruby-core:29644] [Feature #3131] add Kernel#Hash() method like Kernel#Array()"
on Tue, 20 Apr 2010 13:36:00 +0900, Suraj Kurapati <redmine@ruby-lang.org> writes:

|To avoid delaying this request for...
matz (Yukihiro Matsumoto)
10:23 PM Bug #3179: getc with text mode returns ASCII-8BIT
=begin
まつもと ゆきひろです

私のところでは"あ" "い" "う"が返りますね。

minirubyはLANGを見ないのでexternal_encodingがASCII-8BITにな
り、"\xE3" "\x81" "\x82" が返りますが、これは明示的にUTF-8を
指定して

open("foo.txt", "rt:UTF-8")

とすると、やはりUTF-8の文字単位で動作します。

In message "Re: [ru...
matz (Yukihiro Matsumoto)
03:27 AM Bug #3179 (Closed): getc with text mode returns ASCII-8BIT
=begin
This issue was solved with changeset r27426.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
10:18 PM Bug #340 (Third Party's Issue): 1.9/trunk does not work when compiled with llvm-gcc4 2.3 (gcc 4.2.1)
=begin
Hi,

The issue looks like a fault of llvm-gcc.

I set this ticket as Third Party's issue.
Please report to llvm-gcc community.

BTW, where is the sense in compiling with llvm-gcc to normal
object file?

--
...
mame (Yusuke Endoh)
10:08 PM Bug #21: should terminate @receiver_thread of Net::IMAP safely
=begin
Hi, Shugo

Is this issue still unsolved?

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
10:08 PM Bug #3104: Random: seeding issues
=begin
2010/4/21 Tanaka Akira <akr@fsij.org>:
> 2010/4/21 Yusuke Endoh <redmine@ruby-lang.org>:
>
>>> 1) Seeding sometimes ignores the high bit of seed data.
>>>
>>>    Random.new((1<<64)-1).rand == Random.new((1 << 65) -1).rand
>...
mame (Yusuke Endoh)
09:25 PM Bug #3104 (Closed): Random: seeding issues
=begin
Hi,

> 1) Seeding sometimes ignores the high bit of seed data.
>
> Random.new((1<<64)-1).rand == Random.new((1 << 65) -1).rand
> # => true, should be false

I really agree that this is uncool.
But it shoul...
mame (Yusuke Endoh)
09:41 PM Bug #2760: unable to cross-compile win32.c
=begin
I can confirm that up to latest revision (r27432) trunk is cross compilable with GCC 3.4.5 (mingw32 from macports)

--
Luis Lavena
=end
luislavena (Luis Lavena)
05:04 AM Bug #2760: unable to cross-compile win32.c
=begin
ruby_trunk$ gcc -Iinclude -E win32/win32.c 2>&1 | fgrep '= rb_w32_wait_events_blocking'
ret = rb_w32_wait_events_blocking(events, count, timeout);
wait = rb_w32_wait_events_blocking(&ol.hEvent, 1, INFINITE);
wait...
rogerdpack (Roger Pack)
08:54 PM Bug #3182 (Closed): multi-irb may run parallelly
=begin
いしつかさん
遠藤です。

#3139 で、irb が SEGV するという報告が上がっています。
こんな感じで再現するらしいです。

irb String
irb Array
kill String
jobs
jobs
jobs #=> SEGV

私の環境で再現はしないのですが、同じ手順を実行すると、kill したあとで、
キー入力が不思議な挙動になりました。

...
mame (Yusuke Endoh)
08:22 PM Bug #3102: Rubygems should avoid deprecated yaml api
=begin
Hi, Eric

Aaron's patch seems not to be applied to ruby trunk. Is it ok?

Eric, please tell us not only status of rubygems trunk, but also
status of ruby trunk or plan to import. This is the redmine for
ruby core.
...
mame (Yusuke Endoh)
08:14 PM Bug #3093: Openssl Extension Does Not Compile with OpenSSL 1.0
=begin
Hi,

> Even with the latest patches (working against head), the openssl extension does not compile against openssl 1.0.

I cannot reproduce with gcc and Linux:

$ ./configure --prefix=... --with-openssl-dir=...
...
mame (Yusuke Endoh)
08:10 PM Bug #3094 (Rejected): Digest Extenstion Does Not Build
=begin

=end
mame (Yusuke Endoh)
07:52 PM Feature #3085: Time dumping/loading using Psych
=begin
Hi,

Is this really a bug?

Syck has emitted 6-digits for fraction of Time.
Psych is compatible to syck.
So I think that this is just a feature request.

Aaron, you are the maintainer. Please make decision:

...
mame (Yusuke Endoh)
05:22 PM Revision 6a77fa1d (git): * 2010-04-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:22 PM Revision 5318e0f6 (git): * ext/bigdecimal/bigdecimal.[ch]: replace _DEBUG with BIGDECIMAL_DEBUG to prevent activating debugging code when compiled with -DEBUG flag on Windows. [ruby-core:22989] #1308
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
03:47 PM Bug #3180 (Closed): getc with text mode breaks incomplete character immediately before EOF
=begin
This issue was solved with changeset r27432.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
01:47 PM Bug #2547 (Closed): error when interpolating a string containing a single backslash into a regexp
=begin
This issue was solved with changeset r27431.
caleb, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
01:37 PM Feature #3163 (Open): SyntaxError when using variable which is also a method in current scope with a Symbol argument
nobu (Nobuyoshi Nakada)
12:25 PM Revision c50c9f6d (git): * ext/digest/sha2/extconf.rb: check SHA256_CTX and SHA512_CTX to fix
compilation failure on OpenBSD 4.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:37 AM Revision 4131d617 (git): * io.c (io_getc): fix incomplete character immediately before EOF
with newline converter. [ruby-dev:41024]
run test only when "Create Shortcut (&S)" menu is found.
* lib/rexml/parsers/xpathparser.rb (PathExpr): ditto.
* lib/matrix.rb (Vector#each): make Vector enumerable.
git-svn-id: svn+ssh://ci.ru...
naruse (Yui NARUSE)
04:50 AM Bug #2757 (Closed): win32/registry file is no longer in the load path
=begin
nope can't reproduce anymore
=end
rogerdpack (Roger Pack)
04:44 AM Revision 2976ec58 (git): * parse.y (regexp): check each fragments. [ruby-core:27374]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:36 AM Revision 82ba40b4 (git): * parse.y (parser_yylex): reverted r27388 due to backward
compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:15 AM Revision 2e1efa94 (git): * parse.y (parser_yylex): warn confusing binary operators after
local variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:10 AM Revision a7df5ace (git): Update to RDoc 2.5.5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
02:31 AM Revision f8e51f7e (git): * parse.y (parser_yylex): abandoned EXPR_VCALL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:45 AM Bug #3076: lib/rake/rdoctask.rb should be removed
=begin
Hi,

Jim Weirich, please answer to this ticket.

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
12:43 AM Bug #3056: gem unpack fails
=begin
Hi, Eric

I can still reproduce this issue with trunk.
I guess this is inconvenient in practice.
What do you think about this ticket?


$ chmod 555 ~/work/ruby-trunk-local/lib/ruby/gems/1.9.1/

$ ~/work/ruby...
mame (Yusuke Endoh)
12:37 AM Feature #3072: Classes Inheriting from Data
=begin
Hi,

At least, this is not a bug.
It is not harmful to be able to access Data class, is it?
In addition, we cannot change it soon for the compatibility
reason.

I move this ticket to Feature tracker with changing ta...
mame (Yusuke Endoh)
12:37 AM Bug #3034 (Closed): Bignum: "bigadd_core: Assertion `i <= zn' failed"
=begin
This issue was solved with changeset r27425.
Run Paint, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
12:37 AM Bug #2745 (Closed): iseq_set_sequence: adjust bug (next inside begin...rescue)
=begin
This issue was solved with changeset r27424.
Kornelius, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
12:27 AM Bug #3030 (Closed): make test-all fails with zlib 1.2.4
=begin
This issue was solved with changeset r27423.
Takashi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)

04/20/2010

11:56 PM Bug #3033 (Rejected): backtrace of SystemStackError disappeared
=begin
遠藤です。

r25680 のコミットをちゃんとみると、まつもとさんが意図的に変更したよう
なので、バグではないようです。rejected とします。

# 「matz を説得する方法」の「省略の意図を尊重している」が消えちゃった
# http://www.a-k-r.org/pub/howto-persuade-matz-rubykaigi2008.pdf

--
Yusuke Endoh <mame@tsg.ne...
mame (Yusuke Endoh)
11:44 PM Bug #3030: make test-all fails with zlib 1.2.4
=begin
遠藤です。

> 1.2.4のdeflateParams()が、すでにflushしているのに再度同じデータ
> を追加しているようです。それをちゃんとカウントしていないのは
> ext/zlibのバグだと思うのですが、zlib 1.2.4のほうもまたバグがある
> ような気がします。どっちがいいんでしょうねぇ。

zlib 1.2.5 で確かめましたが、zlib 本体にバグはないと思います。
deflateParams が...
mame (Yusuke Endoh)
11:35 PM Bug #3016 (Rejected): Enumerable#slice_before and dup
=begin
Hi,

This ticket is rejected by matz.
So closed.

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
11:33 PM Bug #3012: update file list in sample/README
=begin
Agreed.

coverage.rb: simple test code coverage tool
timeout.rb: timeout test

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
11:31 PM Bug #3007 (Rejected): subtle inconsistency of Class#to_s
=begin

=end
mame (Yusuke Endoh)
11:30 PM Bug #2829: Missing documentation for Exception subclasses.
=begin
Hi,

> I've made a first draft of a description for all Exception subclasses, and would encourage anyone interested in improving it by editing the wiki:
>
> http://redmine.ruby-lang.org/wiki/ruby/ExceptionClassesDoc

...
mame (Yusuke Endoh)
10:48 PM Bug #2827: ri hangs during gem installation which results in a crash
=begin
Hi,

I cannot reproduce by "gem install thor" with trunk on Linux.
Could you elaborate the process to reproduce?

Eric, do you know anything about this ticket?

$ ../ruby-trunk-local/bin/gem install thor
Succe...
mame (Yusuke Endoh)
10:14 PM Bug #2795: readpartial after ungetc fails with text mode
=begin
akr さん
遠藤です。

この挙動は by design ということですが、IO#ungetc の rdoc に

Pushes back one character (passed as a parameter) onto <em>ios</em>,
such that a subsequent buffered read will return it.

と書いてあり、かつ IO#readpartial の ...
mame (Yusuke Endoh)
10:10 PM Bug #2745: iseq_set_sequence: adjust bug (next inside begin...rescue)
=begin
> I also agree, but it would be better to insert dummy putnil
> immediately after ADJUST_RESTORE.

I fully agree. Please commit your patch.
=end
wanabe (_ wanabe)
09:14 PM Bug #2745: iseq_set_sequence: adjust bug (next inside begin...rescue)
=begin
Hi, wanabe

Ko1 agreed with your patch.
I also agree, but it would be better to insert dummy putnil
immediately after ADJUST_RESTORE.


diff --git a/compile.c b/compile.c
index e96e34d..f1a04fe 100644
--- a/comp...
mame (Yusuke Endoh)
10:09 PM Bug #3180 (Closed): getc with text mode breaks incomplete character immediately before EOF
=begin
遠藤です。

# coding: UTF-8
# "う" の途中で切れた中途半端なファイルを作る
s = "あいうえお".force_encoding("ASCII-8BIT")
open("foo.txt", "wb") {|f| f.write(s[0, 8]) }

# IO#read で一気に読めば期待通り
open("foo.txt", "rt") {|f| p f.read } #=> ...
mame (Yusuke Endoh)
09:57 PM Bug #3179 (Closed): getc with text mode returns ASCII-8BIT
=begin
遠藤です。

以下の動作は意図的でしょうか。

# coding: UTF-8
# "あいう" というファイルを作る
s = "あいう"
open("foo.txt", "wb") {|f| f.write(s) }

# IO#read で一気に読めば期待通り
open("foo.txt", "rt") {|f| p f.read } #=> "あいう"

# getc すると...
mame (Yusuke Endoh)
09:53 PM Bug #2757: win32/registry file is no longer in the load path
=begin
I can't reproduce it now (r27418).
Roger, can you?
=end
usa (Usaku NAKAMURA)
09:37 PM Bug #3137: complex.rb changes exceptions of Math
=begin
lib/cmath.rb は担当しないといけないかと思っていたのですが、
この前の確認で違うという事が判明したので以後は関与してませんでした。

cmath.rb (というか、以前からの complex.rb の数学関数) は他にも課題がありそうなんで、
当初は Math と統合するか少なくとも C で書き直して、その際にいろいろと改善できれば
いいと思っていましたが、そういう機会はなかったし、今後もなさそうだし、
そもそも、ra...
tadf (tadayoshi funaba)
09:37 PM Bug #2751 (Closed): Win32::Registry#inspect fails
=begin
This issue was solved with changeset r27418.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
usa (Usaku NAKAMURA)
09:33 PM Bug #2777: Invalid read of size 4 by redefining load
=begin
遠藤です。

> % cat tst.rb
> module Kernel
> def load(*args)
> end
> end
> raise
> % valgrind ./ruby -ve 'load "tst.rb"'
*snip*

というオリジナルの問題は r27393 で巧妙に回避されましたが、本質的には
解決しておらず、以下で SEGV します。

class C
...
mame (Yusuke Endoh)
09:29 PM Bug #2760: unable to cross-compile win32.c
=begin
Hi, Roger

Could you answer to nobu?

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
09:22 PM Bug #3177: TestFileUtils#test_cp_r_symlink
=begin
遠藤です。

2010年4月20日8:16 Shyouhei Urabe <redmine@ruby-lang.org>:
> お気づきのことと思いますが、私のコミット以来trunkで1F増えています。
> http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20100420T015800.diff.txt.gz
>
> この原因は、FileUtils#cp_rの挙動を1.8と...
mame (Yusuke Endoh)
08:16 AM Bug #3177 (Closed): TestFileUtils#test_cp_r_symlink
=begin
お気づきのことと思いますが、私のコミット以来trunkで1F増えています。
http://www.rubyist.net/~akr/chkbuild/debian/ruby-trunk/log/20100420T015800.diff.txt.gz

この原因は、FileUtils#cp_rの挙動を1.8と揃えたことにあります。
http://archive.good-day.net/~w3ml/w3ml.cgi/ruby-changes...
shyouhei (Shyouhei Urabe)
08:39 PM Bug #2733 (Rejected): rubyspec: Time#+ rounds micro seconds rather than truncates FAILED
=begin
遠藤です。

解決済みなので close します。

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
08:02 PM Feature #1408: 0.1.to_r not equal to (1/10)
=begin
> Why isn't Float#to_r simply calling Float#rationalize ?

a = 0.5337486539516013
b = 0.5337486539516012

a == b #=> false

a.to_r == a #=> true
a.rationalize == a #=> false

a.to_r == b #=> false
a.rationa...
tadf (tadayoshi funaba)
07:34 PM Feature #3067: complex.c : Question: why Complex#~ is disabled? It's in the doc
=begin
i wrote it.
gcc has the feature.
i disabled it for the time being.
i'm not sure whether we should assign it.
we have much time.
=end
tadf (tadayoshi funaba)
06:19 PM Revision 8a269f85 (git): * io.c (io_getc): set read_encoding to resulted one character
string. [ruby-dev:41023]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:26 PM Bug #3103 (Assigned): rubygems should avoid deprecated uri api
=begin
I have committed this to RubyGems trunk
=end
drbrain (Eric Hodel)
04:11 PM Bug #3102 (Assigned): Rubygems should avoid deprecated yaml api
=begin
I have applied this to rubygems trunk.
=end
drbrain (Eric Hodel)
04:05 PM Bug #3169: RDoc crossref confused by instance and class methods having same name
=begin
On Apr 19, 2010, at 20:53, Tomo Kazahaya wrote:

> On Mon, Apr 19, 2010 at 1:56 AM, Eric Hodel <drbrain@segment7.net> wrote:
>> I've seen no de-facto mapping in the community of Foo.bar to either Foo::bar or Foo#bar.
>
> In...
drbrain (Eric Hodel)
12:54 PM Bug #3169: RDoc crossref confused by instance and class methods having same name
=begin
On Mon, Apr 19, 2010 at 1:56 AM, Eric Hodel <drbrain@segment7.net> wrote:

> I've seen no de-facto mapping in the community of Foo.bar to either
> Foo::bar or Foo#bar.
>

In Japanese Ruby community, it's likely that Foo.bar...
tomonacci (Tomo Kazahaya)
04:02 PM Bug #1085: Got the error message, after run 'gem install --test'.
=begin
On Apr 19, 2010, at 10:54, Yusuke ENDOH wrote:
> 2010/4/19 Ryan Davis <ryand-ruby@zenspider.com>:
>> All pigheadedness aside, why is it is a bug that rubygems doesn't work with minitest when it isn't a bug that it doesn't work ...
drbrain (Eric Hodel)
02:55 AM Bug #1085: Got the error message, after run 'gem install --test'.
=begin
Hi,

2010/4/19 Ryan Davis <ryand-ruby@zenspider.com>:
> All pigheadedness aside, why is it is a bug that rubygems doesn't work with minitest when it isn't a bug that it doesn't work with bacon, rspec, and every other test fram...
mame (Yusuke Endoh)
03:31 PM Revision 52998fa5 (git): * bignum.c (bigmul1_karatsuba): fix calculation order to prevent
underflow. [ruby-core:29088]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:28 PM Revision adfe4f39 (git): * compile.c (NODE_NEXT, NODE_REDO): add dummy putnil instruction to
fix stack consistency error. [ruby-core:28172]
* bootstraptest/test_jump.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:23 PM Revision 7c7a7c12 (git): * ext/zlib/zlib.c (rb_deflate_params): update buf_filled count because
deflateParams writes to out buffer. And, revert r18029 because the
flush was not needed now and emits garbage. [ruby-dev:40802]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:15 PM Revision b6164551 (git): * 2010-04-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:15 PM Revision 3728ec6e (git): * vm_method.c (rb_add_method_def): decrement alias count of
rb_method_definition_t to prevent memory leak. see
[ruby-dev:41021].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
01:53 PM Revision ef3ea2dd (git): * io.c: fixed the wrong description of rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:40 PM Revision 57e50f7f (git): * io.c: rdoc. see [ruby-dev:40506].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:35 PM Feature #3131: add Kernel#Hash() method like Kernel#Array()
=begin
Hi Matz,

To avoid delaying this request forever due to unnecessary features,
I have narrowed the requirements for Kernel#Hash() to the following:

Hash() must convert (1) nil, (2) Hash, and (3) empty Array into Hash.
...
sunaku (Suraj Kurapati)
12:44 PM Bug #2704 (Closed): CGI::rfc1123_date causes NameError
=begin

=end
xibbar (Takeyuki FUJIOKA)
03:00 AM Bug #2704: CGI::rfc1123_date causes NameError
=begin
xibber さん
遠藤です。

このチケットはどうにかなってますでしょうか。

RFC822_DAYS などは他で使われていないようなので、cgi/util.rb に
定義をささっと移してしまえばよいような気がします。

# require "cgi/core"; p CGI::RFC822_DAYS が動かなくなるのは困る!
# という人はいるだろうか


diff --git a/lib/cgi/co...
mame (Yusuke Endoh)
12:34 PM Revision a3bd9a86 (git): * ext/dl/win32/lib/win32/registry.rb (PredefinedKey#create): root key
name should be a string. fixed [ruby-core:28192]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
10:25 AM Revision f0f87d6e (git): * parse.y (parser_yylex): fix for tLPAREN_ARG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:21 AM Revision cbaf61b2 (git): * test/ruby/test_system.rb (TestSystem#valid_syntax): return false
on syntax error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:39 AM Feature #3176 (Closed): Thread#priority= should actually do something
=begin
Currently, Thread#priority= doesn't seem to do anything useful. See #1169 for more discussion of this. Here's a short program which demonstrates Thread#priority= not working, adapted from one in that issue:

$ cat thrprio.rb...
coatl (caleb clausen)
03:39 AM Revision 2b222b9b (git): * lib/cgi/{core, util}.rb (RFC822_DAYS, RFC822_MONTHS):
move the constant because used only util.rb. [Bug #2704]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
03:24 AM Revision e63df531 (git): * parse.y (lex_state_e, IS_END, IS_SPCARG, parser_yylex): separate
the state after vcall. [ruby-core:29578]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:09 AM Revision 85cb4ee2 (git): * parse.y (parser_yylex): simplified with IS_ARG and IS_END.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:02 AM Feature #2710: Kernel#load loads a relative path
=begin
Hi,

akr, what do you think about this ticket?

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
02:59 AM Feature #3163: SyntaxError when using variable which is also a method in current scope with a Symbol argument
Nobu, can you please comment on those other examples of ambiguous operators I posted above? For example:
```ruby
p=0; p %[foo]
```

Currently, the second p is a variable and `%[foo]` is an operator and an array, but to be consist...
coatl (caleb clausen)
02:42 AM Bug #1169: Thread#priority still doesn't work
=begin
Hi,

> >>>the bug still exists<<<

No. The spec was changed so that Thread#priority was just a
hint for thread scheduler. So, the bug is no longer a bug.

I guess that it is too restrictive for implementation to...
mame (Yusuke Endoh)
02:36 AM Feature #2567: Net::HTTP does not handle encoding correctly
=begin
Setting encoding based on 'Content-Type' header scares me. It is common that the webserver will report one encoding, and the HTML will contain a meta tag indicating a *completely different* encoding. The encoding indicated in t...
tenderlovemaking (Aaron Patterson)
01:46 AM Revision 8a3201da (git): * test/ruby: make more ruby-mode.el friendly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:23 AM Bug #2688 (Closed): rubyspec: Net::HTTPHeader#content_range returns a Range object that represents the 'Content-Range' header entry FAILED
=begin
遠藤です。

この件は rubyspec 側で修正したので close します。

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
12:47 AM Bug #3175 (Closed): extname and basename fail in "foo//bar.rb" style paths.
=begin
This issue was solved with changeset r27404.
rico, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
12:37 AM Bug #2606 (Closed): Ruby crashes when Logger is used in trap handler
=begin
This issue was solved with changeset r27401.
Jonathan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
12:29 AM Revision dd3bbc60 (git): * tool/compile_prelude.rb: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

04/19/2010

11:10 PM Revision d38975ac (git): merge revision(s) 26252:
* io.c (rb_io_s_read): close the IO if an exception is raised on
seeking. [ruby-core:27429]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@27410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
10:54 PM Revision 95d902d9 (git): * 2010-04-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@27409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:54 PM Revision da405965 (git): merge revision(s) 26251:
* ruby.h (RB_GC_GUARD_PTR): workaround for gcc optimization.
[ruby-core:27402]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@27408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
10:19 PM Bug #2577 (Closed): Ruby 1.9.2 Preview 1 Aborts when script/generate is used
=begin
Hi,

According to Eugene, this ticket is duplicate of #2051.
And, that ticket is already closed.

So I believe this issue is also perhaps fixed.

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
10:12 PM Feature #2567: Net::HTTP does not handle encoding correctly
=begin
Hi,

I'm neutral for guessing encodings by Content-Type.
I could be optimistic because I have never seen the
abyss of encodings :-)

Anyway, currently there is no feature that guesses
encodings from Content-Type. I...
mame (Yusuke Endoh)
10:08 PM Bug #2558: r24591 causes Segfault
=begin
Hi,

The original reporter is right.
r24591 must be reverted. I'll do.

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
09:42 PM Revision 885ecb9d (git): * 2010-04-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@27407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:42 PM Revision f4b455e5 (git): merge revision(s) 26169:
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@27406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
09:07 PM Feature #2713: Rdoc: rdoc/usage missing in Ruby 1.9
=begin
Hi,

2010/4/19 Eric Hodel <redmine@ruby-lang.org>:
> I'm not going to add rdoc/usage.rb or any similar feature back to RDoc.
>
> OptionParser handles this type of feature much better than RDoc will ever be able to.
>
...
mame (Yusuke Endoh)
01:24 PM Feature #2713: Rdoc: rdoc/usage missing in Ruby 1.9
=begin
I'm not going to add rdoc/usage.rb or any similar feature back to RDoc.

OptionParser handles this type of feature much better than RDoc will ever be able to.

May I close this?
=end
drbrain (Eric Hodel)
08:16 PM Bug #3175 (Closed): extname and basename fail in "foo//bar.rb" style paths.
=begin
as reported in #ruby@freenode:

12:37 < jetienne> irb(main):002:0> File.extname('/tmp//bla.rb')
12:37 < jetienne> => ""

This Bug is present in 1.8 and 1.9.

The problem seems to nail down in that rb_file_s_basename...
many (rico gloeckner)
05:12 PM Feature #1408: 0.1.to_r not equal to (1/10)
=begin
Hello Marc-Andre,

On 19.04.2010 00:14, Marc-Andre Lafortune wrote:
> I hope my dissent will not sound too harsh.

Not at all.

> Arguing that 0.1.to_r should be 3602879701896397/36028797018963968 is
> the same as arguing...
mwaechter (Matthias Wächter)
04:03 PM Revision ab10ac8f (git): * bootstraptest/test_fork.rb: add a test for [ruby-core:28924].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
03:54 PM Bug #1085: Got the error message, after run 'gem install --test'.
=begin

On Apr 13, 2010, at 17:19 , Eric Hodel wrote:

> On Apr 13, 2010, at 10:11, Yusuke Endoh wrote:
>
>> Issue #1085 has been updated by Yusuke Endoh.
>>
>>
>> Hi, Eric Hodel
>>
>> Couldn't you fix this on rubygems sid...
zenspider (Ryan Davis)
03:43 PM Revision 46bafdd8 (git): * file.c (rb_file_s_extname): skip last directory separators.
[ruby-core:29627]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:43 PM Revision cb508fe7 (git): * file.c (rb_file_s_extname): skip last directory separators.
[ruby-core:29627]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:41 PM Revision a91d8b8c (git): * io.c (internal_{read,write}_func, rb_{read,write}_internal):
reverted r27265, since now rb_thread_blocking_region() preserves
errno.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:34 PM Revision aef15aff (git): * 2010-04-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:34 PM Revision 59b91237 (git): * thread.c (rb_thread_blocking_region, rb_thread_blocking_region_end):
preserve errno. [Bug #2606] [ruby-core:28924]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:57 PM Bug #3169: RDoc crossref confused by instance and class methods having same name
=begin
On Apr 18, 2010, at 21:28, Kornelius Kalnbach wrote:
> On 19.04.10 05:36, Eric Hodel wrote:
>> RDoc now maps :: to class methods and # and . to instance methods
>> when cross-referencing.
> Mapping Foo.bar to Foo#bar is a str...
drbrain (Eric Hodel)
02:08 PM Bug #3169 (Closed): RDoc crossref confused by instance and class methods having same name
=begin

=end
drbrain (Eric Hodel)
01:28 PM Bug #3169: RDoc crossref confused by instance and class methods having same name
=begin
On 19.04.10 05:36, Eric Hodel wrote:
> RDoc now maps :: to class methods and # and . to instance methods
> when cross-referencing.
Mapping Foo.bar to Foo#bar is a strange decision, in my view. Foo.bar
should be equal to Foo::...
murphy (Kornelius Kalnbach)
12:36 PM Bug #3169: RDoc crossref confused by instance and class methods having same name
=begin
Fixed in rdoc trunk.

RDoc now maps :: to class methods and # and . to instance methods when cross-referencing.
=end
drbrain (Eric Hodel)
09:39 AM Bug #3169 (Closed): RDoc crossref confused by instance and class methods having same name
=begin
The documentation for the two methods below will both have a reference to X.foo (which appeared first). The "See X#foo" should reference to the instance method instead.

class X
# The class method. See X#foo
def...
marcandre (Marc-Andre Lafortune)
02:08 PM Feature #3023 (Closed): RDoc urls
=begin

=end
drbrain (Eric Hodel)
12:50 PM Feature #3023: RDoc urls
=begin
Implemented in RDoc trunk.
=end
drbrain (Eric Hodel)
09:41 AM Feature #3023: RDoc urls
=begin
I've attached a patch for this.

Note that the test_rdoc_markup_to_html_crossref makes the issue #3169 I just posted quite obvious. I changed the test only to fit the new naming scheme, and marked the wrong assertions accordi...
marcandre (Marc-Andre Lafortune)
02:08 PM Bug #3160 (Closed): rdoc registers wrong methods to Object class
=begin

=end
drbrain (Eric Hodel)
01:21 PM Bug #3160: rdoc registers wrong methods to Object class
=begin
Fixed in rdoc trunk.

RDoc could not handle some syntax in optparse.rb
=end
drbrain (Eric Hodel)
02:05 PM Feature #3163: SyntaxError when using variable which is also a method in current scope with a Symbol argument
Hi,

At Sun, 18 Apr 2010 14:26:00 +0900,
Kornelius Kalnbach wrote in [ruby-core:29594]:
> > The small improvement in readability didn't seem worth the trouble to
> > me. But to my surprise, nobu just went ahead and implemented...
nobu (Nobuyoshi Nakada)
07:17 AM Feature #3163: SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
On 18 April 2010 23:46, Caleb Clausen <vikkous@gmail.com> wrote:

> On 4/18/10, Kornelius Kalnbach <murphy@rubychan.de> wrote:
> > On 18.04.10 16:10, Benoit Daloze wrote:
> >> If there is more spaces at left than right of the...
Eregon (Benoit Daloze)
02:19 AM Feature #3163: SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
On 18.04.10 16:10, Benoit Daloze wrote:
> Sure, but that's why I showed that any variable which is also a method
> in a scope can cause this problem.
I agree that it's a problematic part of Ruby's syntax. I think it comes
par...
murphy (Kornelius Kalnbach)
01:28 PM Bug #1948 (Closed): RDoc Fails with Non-ASCII Pathnames
=begin
UTF-8 file names appear to work correctly too.
=end
drbrain (Eric Hodel)
01:18 PM Bug #2976 (Closed): cucumberでSEGV
=begin
おっと、参照をつけ忘れていました。
また、動作確認ありがとうございます。
=end
naruse (Yui NARUSE)
01:00 PM Bug #2976: cucumberでSEGV
=begin
ruby 1.9.2dev (2010-04-19 trunk 27394) [x86_64-darwin10.3.0] で1000回再現手順を繰り返しましたが、再現しなくなっていました。
閉じられた関連チケット同様閉じてしまってよろしいかと思います。
=end
sakuro (Sakuro OZAWA)
12:47 PM Feature #3067: complex.c : Question: why Complex#~ is disabled? It's in the doc
=begin
Hi,

I forgot to change the target of this ticket to 1.9.x.
I'm sorry if I gave you false hope.


> Can someone test on linux and windows?
> Then I think we could safely enable this method.

This is not implemen...
mame (Yusuke Endoh)
12:47 PM Bug #3168 (Closed): TypeError in Timeout.timeout
=begin
This issue was solved with changeset r27395.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
08:00 AM Bug #3168 (Closed): TypeError in Timeout.timeout
=begin
http://d.hatena.ne.jp/moro/20100416/1271410920 で知ったのですが、timeout待ち用のスレッドが sleep の例外を無視してるのはまずいのではないでしょうか?


diff --git a/test/test_timeout.rb b/test/test_timeout.rb
index 9ec9c02..472e7ad 100644
--- a/test/test_timeout.r...
znz (Kazuhiro NISHIYAMA)
10:46 AM Revision e23e534a (git): * lib/fileutils.rb (FileUtils::cp_r): dup needed here; options are
destroyed otherwise.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
10:46 AM Revision 50fa45fb (git): * lib/fileutils.rb (FileUtils::cp_r): dup needed here; options are
destroyed otherwise.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
10:18 AM Revision 04247ab5 (git): * parse.y (parser_yylex): reduced duplicated conditions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:13 AM Revision 3dea3833 (git): * eval.c (search_required): expand home relative path first.
[ruby-core:29610]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:58 AM Revision 312d5bf7 (git): * lib/timeout.rb (Timeout#timeout): propagate errors to the
caller. [ruby-dev:41010]'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:58 AM Revision dcb13f8e (git): * lib/timeout.rb (Timeout#timeout): propagate errors to the
caller. [ruby-dev:41010]'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:45 AM Feature #2152: Split functionality of Float#inspect and Float#to_s
=begin
Sorry for my noisy messages with html on redmine, all my apologies.

I just send here back the last message from ruby-core (which seems to not be on redmine):

On 15 April 2010 22:38, Roger Pack wrote:
>> The option pre...
Eregon (Benoit Daloze)
05:08 AM Revision 75ef9e79 (git): Import RDoc 2.5.4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
03:46 AM Revision 23f9ffbf (git): * lib/timeout.rb (Timeout#timeout): propagate errors to the
caller. [ruby-dev:41010]'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:46 AM Revision 37e59f55 (git): * lib/timeout.rb (Timeout#timeout): propagate errors to the
caller. [ruby-dev:41010]'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:07 AM Bug #3132 (Closed): …/nokogiri-1.4.1/ext/nokogiri/nokogiri.bundle: [BUG] Bus Error
=begin
This issue was solved with changeset r27393.
Ashley, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
03:07 AM Bug #2786 (Closed): Segfault when loading gem
=begin
This issue was solved with changeset r27393.
Kenta, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
03:07 AM Bug #2529 (Closed): Segmentation Fault is occasionally occurred in rake with cucumber and rspec
=begin
This issue was solved with changeset r27393.
Kenta, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
02:36 AM Bug #3167 (Closed): RDoc issues in interactive mode
=begin
Recently, rdoc has changed a lot the interface.
While there is a lot of improvement, I'd like to report these issues:

1) completion with methods does not work when in interactive mode and typed a class (you need to type a...
Eregon (Benoit Daloze)

04/18/2010

11:10 PM Feature #3163: SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
>as in a ? b : c.
Oups, I always forget that one. But to my defense it's only an operator if
preceded by ?

On 18 April 2010 07:44, Kornelius Kalnbach <murphy@rubychan.de> wrote:

> On 17.04.10 20:26, Benoit Daloze wrote:
...
Eregon (Benoit Daloze)
02:45 PM Feature #3163: SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
On 17.04.10 20:26, Benoit Daloze wrote:
> I ran a few times in this bug, while using some "p :done"(and having
> a local var p) to trace the program execution quickly.
Translated into a Ruby style guide haiku:

Never use p...
murphy (Kornelius Kalnbach)
02:26 PM Feature #3163: SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
On 18.04.10 07:07, Caleb Clausen wrote:
> The small improvement in readability didn't seem worth the trouble to
> me. But to my surprise, nobu just went ahead and implemented it. I'm
> still wondering about the general case.
...
murphy (Kornelius Kalnbach)
02:02 PM Feature #3163: SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
OK. But now what about similar ambiguous cases, such as:

p=0; p %[foo]
p=0; p /foo/x
p=0; p &foo
p=0; p *foo
p=0; p ?f : g
p=0; p <<foo
123
foo

In each of the above lines, the 2nd p is treated ...
coatl (caleb clausen)
12:57 PM Feature #3163 (Closed): SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
This issue was solved with changeset r27388.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
12:08 PM Feature #3163: SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
On 18.04.10 04:34, Caleb Clausen wrote:
> In my judgment, this would be too much additional complication in an
> area of the parser/lexer that's already extremely squirelly.
Ironically, it could still make the language easier ...
murphy (Kornelius Kalnbach)
09:54 AM Feature #3163: SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
On 18.04.10 02:23, Benoit Daloze wrote:
> I can understand easily operators can be confusing for the parser, but I
> didn't know ':' is an operator.
as in a ? b : c.
=end
murphy (Kornelius Kalnbach)
09:23 AM Feature #3163: SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
On 18 April 2010 02:06, caleb clausen <redmine@ruby-lang.org> wrote:

> Issue #3163 has been updated by caleb clausen.
>
>
> I _think_ this behavior is correct. At any rate, the behavior is the same
> all the way back to 1....
Eregon (Benoit Daloze)
09:06 AM Feature #3163: SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
I _think_ this behavior is correct. At any rate, the behavior is the same all the way back to 1.8.6. However, this is a confusing part of parsing ruby, so I may be remembering wrong.

If I remember right, it goes something li...
coatl (caleb clausen)
03:26 AM Feature #3163 (Rejected): SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
Hi,
Here is a simple example:

irb for ruby-1.9.2-r27362
> print = 0
> print :symbol
SyntaxError: (irb):2: syntax error, unexpected ':', expecting $end
print :symbol
^
from .../bin/irb:17:in `<main>'
...
Eregon (Benoit Daloze)
06:00 PM Revision cd08b1cb (git): * 2010-04-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:59 PM Revision 61e5cf84 (git): * vm_method.c (rb_add_method_def): workarond fix for redefinition
of methods. This is because cfp->me uses the rb_method_entry
which is freed by redefinition of remove_method. Note that
reusing may cause another problem when the usage is changed.
[ruby-core:27320] [ruby-core:29464]
git-svn-id: s...
naruse (Yui NARUSE)
03:17 PM Feature #1408: 0.1.to_r not equal to (1/10)
=begin
Am 20.09.2009 06:17, schrieb Marc-Andre Lafortune:
> Sorry to be late to the party on this one.

I’m late as well ;)

> It is important to remember that a Float is always an approximation.

No. It is an approximation only ...
mwaechter (Matthias Wächter)
01:16 PM Revision f25e99c5 (git): * parse.y (IS_END, IS_SPCARG): macros for simplification.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:13 PM Revision 9f8b0361 (git): * parse.y (string_content): cond_stack and cmdarg_stack are VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:12 PM Revision abdb3373 (git): * test/resolv/test_addr.rb: property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:26 AM Bug #1169: Thread#priority still doesn't work
=begin
So, you've disabled the test which demonstrates the problem. You've documented that the desired behavior is now going to be optional. And now, you've closed the ticket which reported the problem. However:

>>>the bu...
coatl (caleb clausen)
09:09 AM Revision 20a6e94e (git): * lib/resolv.rb (Resolv::IPv4::Regex): make it only accept 0 to 255.
[ruby-core:29501]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:48 AM Revision e70a308c (git): * parse.y (parser_yylex): seems like a symbol-literal when spaces
are unbalanced. [ruby-core:29578]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:32 AM Revision cfab29b7 (git): * parse.y (string_content): preserve cond_stack and cmdarg_stack.
[ruby-core:29579]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:28 AM Revision 4d82ba51 (git): * transcode.c (transcode_loop): suppressed a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:26 AM Revision 54985ad7 (git): * bootstraptest/test_io.rb: reduced megacontent test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:54 AM Feature #3067: complex.c : Question: why Complex#~ is disabled? It's in the doc
=begin
I tried to compile removing the #if 0 and it works:
irb for ruby-1.9.2-r26319
> c = 2+3.i
=> (2+3i)
> ~c
=> (2-3i)

So it is not a problem on OSX 10.6.3

Can someone test on linux and windows? Then I think we ...
Eregon (Benoit Daloze)

04/17/2010

08:52 PM Revision 2845bfa9 (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: defaulting binary string
format to "literal" format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
08:47 PM Bug #2511 (Closed): irb exits unexpectedly windows
=begin
This issue was solved with changeset r27379.
Vlad, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
05:39 PM Bug #3162: recent rdoc affects tests of rake
=begin
Hi,

2010/4/17 Eric Hodel <redmine@ruby-lang.org>:
> I think this issue should be resolved by removing rake/rdoctask (issue #3076).  Rake should not have the responsibility of knowing the internals of RDoc.

Ah, sorry. I di...
mame (Yusuke Endoh)
03:30 PM Bug #3162: recent rdoc affects tests of rake
=begin
I think this issue should be resolved by removing rake/rdoctask (issue #3076). Rake should not have the responsibility of knowing the internals of RDoc.

Instead, rake/rdoctask.rb should be something as small as:

requir...
drbrain (Eric Hodel)
01:13 PM Bug #3162 (Closed): recent rdoc affects tests of rake
=begin
Hi, Eric Hodel

Now, lib/rdoc/task.rb replaces Rake::RDocTask with RDoc::Task,
which seems to cause failures of tests of rake:


1) Failure:
test_inline_source_is_enabled_by_default(Rake::TestRDocTask) [/home/...
mame (Yusuke Endoh)
05:15 PM Revision 1cae325a (git): * 2010-04-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:15 PM Revision fd734e6c (git): * lib/irb/ruby-lex.rb (identify_identifier): add '_' to the regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:27 PM Revision 580677a9 (git): * configure.in: use AC_TRY_LINK instead of AC_TRY_COMPILE.
On Solaris it can compile with signbit but can't link.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:40 PM Bug #2505 (Rejected): Threads behave inconsistently across platforms.
=begin
Hi,

I close this ticket.


> There are plenty of other examples.

Please register ticket for each.


> In addition, the fact that native threads use the same class name is also confusing.

Please answer ...
mame (Yusuke Endoh)
01:32 PM Bug #1169 (Closed): Thread#priority still doesn't work
=begin
Hi,

The problematic test was disabled at r26155.

And now, rdoc of Thread#priority was refined at r27351.
It is just a hint for thread scheduler, which may be ignored on
some platforms.

--
Yusuke Endoh <mame@...
mame (Yusuke Endoh)
01:03 PM Bug #3160 (Closed): rdoc registers wrong methods to Object class
=begin
Hi, Eric Hodel

There seems to be a regression of rdoc. Many methods belongs to
Object methods mistakenly.
For example, OptionParser#accept is somehow registered to Object:


$ ../ruby-trunk-local/bin/ri -fbs -T Ob...
mame (Yusuke Endoh)
12:46 PM Bug #3136: reuse of singleton method definition causes SEGV
=begin
遠藤です。

チケット重複情報の補足です。

このチケットで最初に説明した内容は #2502 の重複でした。

補足で説明した内容 (define_method の Proc の直接 call) は
#2420 の重複でした。

また、補足で説明した内容は #2402 のパッチで、SEGV に至る前に
例外になるので、発症しなくなります (本質的に解決するわけでは
ないけれど )。

--
Yus...
mame (Yusuke Endoh)
12:32 PM Bug #3136: reuse of singleton method definition causes SEGV
=begin
遠藤です。

以下でも SEGV または未定義挙動をします。

Class.new do
define_method(:foo) { super() }.call
end

define_method に Proc が登録されることで、Proc のブロックの iseq
の klass が更新されてしまいます。
その Proc を直接呼び出すと、cfp に method_entry が乗らないけれど
...
mame (Yusuke Endoh)
12:39 PM Bug #2402: super in instance_eval
遠藤です。
> `instance_eval`のブロック内で`super`を呼ぶと、`instance_eval`で変更された
> ...
再現しました。以下で SEGV することも確認しました。
~~~ruby
class MyArray < Array
def reverse
"foo".instance_eval do
super
end
end
end
MyArray.new([1,2,3]).r...
mame (Yusuke Endoh)
11:38 AM Revision 71104c33 (git): * test/ruby/envutil.rb: update Gem::ConfigMap to fake environment for
tests. Some test of rubygems had failed because envutil.rb changed
only RbConfig::CONFIG but not Gem::ConfigMap.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
11:37 AM Revision 0b28bf29 (git): * lib/irb/ruby-lex.rb (identify_identifier): allow multibyte character
as identifier. [ruby-core:27275]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
09:56 AM Bug #1788: ある種のメソッドをalias_methodしようとすると落ちる
=begin
Hi,

This issue was reported and fixed at r24201 (2009-07-19).
You are using "ruby 1.9.2dev (2009-07-18 trunk 24186) [x86_64-linux]"

Can you reproduce with recent trunk?

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
05:42 AM Bug #1788: ある種のメソッドをalias_methodしようとすると落ちる
=begin
I am seeing this bug [BUG] rb_add_method: unsupported method type (8) in ActiveSupport-2.3.5

$ etl
/home/byrnejb/projects/proforma.git/vendor/plugins/activewarehouse-etl/lib/etl.rb:36: warning: already initialized constant...
byrnejb (James Byrne)
09:27 AM Bug #2226 (Closed): case 文の式が省略され when 節に配列展開があるときの挙動
=begin
This issue was solved with changeset r27376.
_, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
wanabe (_ wanabe)
12:48 AM Bug #2226: case 文の式が省略され when 節に配列展開があるときの挙動
=begin
wanabe さん
遠藤です。

2009年10月18日6:16 wanabe <s.wanabe@gmail.com>:
> case 文の式が省略され、かつ when 節に配列展開があるときの挙動、
> より具体的には NODE_ARGSCAT, NODE_ARGSPUSH の
> コンパイル結果が正しくないように思います。
> 通常の NODE_CASE と同じように処理するのはどうでしょうか。

2010年1月29日2:37 _...
mame (Yusuke Endoh)
09:07 AM Bug #2241 (Closed): Let Net::SMTP continu when at least one RCPT is accepted
=begin
This issue was solved with changeset r27374.
Kero, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
07:46 AM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
Yukihiro Matsumoto wrote:
> 1.9.2 might be a good time to restore "or later" phrase. Any opinion?

It's not a matter of timing I'm afraid. So -1 without any other good reasons
that we can agree.


Attachment: signature.a...
shyouhei (Shyouhei Urabe)
02:25 AM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
Hi,

In message "Re: [ruby-core:29545] [Feature #2032](Assigned) Change the license to "GPLv2+ or Ruby's original"."
on Fri, 16 Apr 2010 09:44:00 +0900, Yui NARUSE <redmine@ruby-lang.org> writes:

|Matz, you decided that...
matz (Yukihiro Matsumoto)
03:04 AM Revision 94365e53 (git): * ext/psych/lib/psych/visitors/yaml_tree.rb (find_ivars): ignore
to_yaml_properties defined by syck.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
01:37 AM Bug #2377 (Closed): update documentation for IO#eof?
=begin
This issue was solved with changeset r27361.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
01:21 AM Bug #2374 (Rejected): URI.regexp('http') が 'http://' にマッチする
=begin
遠藤です。

URI.regexp の rdoc には

Returns a Regexp object which matches to URI-like strings.

と書いてあります。"URI-like" であり、valid な URI のみにマッチ
することが意図されたものではないと考えます。

なので、気持ちはわかるので申し訳ないですが、このチケットは一旦
reject としたいと思います。すみ...
mame (Yusuke Endoh)
12:33 AM Revision 505def84 (git): * configure.in (--with-vendordir): moved.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:23 AM Revision 8b261b41 (git): * compile.c (iseq_compile_each): fix splat condition in NODE_WHEN.
[Bug #2226]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
wanabe (_ wanabe)
12:09 AM Bug #2679 (Closed): rubyspec: SimpleDelegator when frozen creates a frozen clone ERROR
=begin
Hi,

This ticket was duplicated by #2679.
After that, lib/delegate.rb has been changed bit by bit.
As a result of matz and nobu's effort, this seems to work now.

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
12:09 AM Bug #2221 (Closed): lib/delegate: freeze has odd effects
=begin
Hi,

This ticket was duplicated by #2679.
After that, lib/delegate.rb has been changed bit by bit.
As a result of matz and nobu's effort, this seems to work now.

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
12:04 AM Revision 3e02d646 (git): * configure.in (--with-{ruby-version,{site,vendor}dir}): use
AS_HELP_STRING.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom