Project

General

Profile

Activity

From 07/23/2011 to 07/29/2011

07/29/2011

10:40 PM Revision 32cfc7ce (git): * ext/socket/lib/socket.rb (udp_server_sockets): unused variable
removed.
patch by Jeremy Evans. [ruby-core:38600]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:40 PM Revision 1054b796 (git): * ext/socket/lib/socket.rb (udp_server_sockets): unused variable
removed.
patch by Jeremy Evans. [ruby-core:38600]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:03 PM Bug #4989 (Closed): Document Socket constants
This issue was solved with changeset r32735.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/socket/mkconstants.rb: add documents for constants.
patch...
akr (Akira Tanaka)
04:21 PM Bug #5114 (Closed): rake's tests imply the binary name of ruby
As Jeremy reported on [ruby-core:38530], current rake tests imply the binary name of ruby as "ruby".
They should use /#{Regexp.quote(RUBY)} -e/ as znz says on [ruby-core:38579].
naruse (Yui NARUSE)
03:49 PM Revision 72276eb0 (git): * remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:30 PM Revision 990e3e6d (git): * configure.in (RSHIFT): quote to get rid of argument expansion
for autoconf 2.68.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:29 PM Bug #5081: LionでTestSyslog が一件 failure
In message <4E324985.2080400@jp.fujitsu.com>
on Fri, 29 Jul 2011 14:47:57 +0900,
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> wrote:
>> (NetBSD 5.99.55で、syslogdに -o syslog とオプションを指定した場合で、
>> 伝統的なRFC3164によるsyslogではなく、RFC542...
taca (Takahiro Kambe)
03:29 PM Bug #5081: LionでTestSyslog が一件 failure
In message <4E324985.2080400@jp.fujitsu.com>
on Fri, 29 Jul 2011 14:47:57 +0900,
KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> wrote:
>> (NetBSD 5.99.55で、syslogdに -o syslog とオプションを指定した場合で、
>> 伝統的なRFC3164によるsyslogではなく、RFC542...
taca (Takahiro Kambe)
02:53 PM Bug #5081: LionでTestSyslog が一件 failure
(2011/07/29 13:30), Takahiro Kambe wrote:
> In message <redmine.journal-19822.20110729125917@ruby-lang.org>
> on Fri, 29 Jul 2011 12:59:19 +0900,
> Akinori MUSHA <knu@ruby-lang.org> wrote:
>> Lionからsyslogの書式が変わったように見えます
> 世の...
Anonymous
01:53 PM Bug #5081: LionでTestSyslog が一件 failure
In message <redmine.journal-19822.20110729125917@ruby-lang.org>
on Fri, 29 Jul 2011 12:59:19 +0900,
Akinori MUSHA <knu@ruby-lang.org> wrote:
> Lionからsyslogの書式が変わったように見えます
世の中には(オプション指定すると)、こんな内容をログに出すものも存在しま
すしなぁ。

2011-...
taca (Takahiro Kambe)
12:59 PM Bug #5081: LionでTestSyslog が一件 failure
Lion(の開発)環境が手元に用意できるのが今週末見込みなので少し待っててください。 knu (Akinori MUSHA)
03:21 PM Revision 6c346da7 (git): * ChangeLog: remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:21 PM Revision 07cbc8bc (git): * ChangeLog: remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:01 PM Revision 81113042 (git): * 2011-07-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision e7f4a32f (git): * 2011-07-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision 2401971e (git): * 2011-07-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision 8c29dd85 (git): * lib/securerandom.rb: call OpenSSL::Random.seed at the
SecureRandom.random_bytes call.
based on the patch by Masahiro Tomita. [ruby-dev:44270]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:01 PM Revision 4c9b7e79 (git): * lib/securerandom.rb: call OpenSSL::Random.seed at the
SecureRandom.random_bytes call.
based on the patch by Masahiro Tomita. [ruby-dev:44270]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:01 PM Revision 31eb19bb (git): * lib/securerandom.rb: call OpenSSL::Random.seed at the
SecureRandom.random_bytes call.
based on the patch by Masahiro Tomita. [ruby-dev:44270]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:53 PM Revision d9374649 (git): * array.c (rb_ary_set_len): new function to set array length.
* vm_eval.c (method_missing): set the length of argv array, to mark
arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:53 PM Revision 0d632934 (git): * vm_eval.c (rb_apply): get rid of too large alloca.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:41 PM Feature #5097: Supported platforms of Ruby 1.9.3
Jeremy Evans wrote:
> Nobuyoshi Nakada wrote:
> ...
: is a null command of sh, so an workaround can be replace @: with @true.
But unfortunately it can't be accepted because Windows don't have true.
So please replace it when you port ...
naruse (Yui NARUSE)
06:36 AM Feature #5097: Supported platforms of Ruby 1.9.3
Eric Wong wrote:
> Jeremy: does my patch to allocate th->altstack in a place where xmalloc() is
> ...
Thanks Eric, that patch fixes the problem, and should be a better solution than the current code or my previous workaround.
jeremyevans0 (Jeremy Evans)
06:03 AM Feature #5097: Supported platforms of Ruby 1.9.3
Jeremy: does my patch to allocate th->altstack in a place where xmalloc() is
possible help?
Since altstack is always initialized if Ruby is compiled to use it, I see
no reason to delay the allocation.
normalperson (Eric Wong)
05:18 AM Feature #5097: Supported platforms of Ruby 1.9.3
Nobuyoshi Nakada wrote:
> Hi,
> ...
I spoke with the OpenBSD make maintainer and he said it's a bug in OpenBSD make. So I guess there's no reason to change those files. Sorry for the false positive.
jeremyevans0 (Jeremy Evans)
05:17 AM Feature #5097: Supported platforms of Ruby 1.9.3
Jeremy Evans wrote:
> Motohiro KOSAKI wrote:
> ...
Spoke to soon. It passed with just MINSIGSTKSZ if run in isolation, but not with the other tests:
make btest OPTS="--sets=thread" => works
make btest => works
make check OP...
jeremyevans0 (Jeremy Evans)
03:46 AM Feature #5097: Supported platforms of Ruby 1.9.3
Motohiro KOSAKI wrote:
> I wonder why OpenBSD can't allocate SIGSTKSZ size. Usually it's very small. Can you please tell us openbsd has which value of SIGSTKSZ and MINSIGSTKSZ?
> ...
OpenBSD amd64
MINSIGSTKSZ = 8192
SIGSTKSZ = 40960 ...
jeremyevans0 (Jeremy Evans)
12:53 AM Feature #5097: Supported platforms of Ruby 1.9.3
offtopic,

> ia64: fails with:
> compiling cont.c
> cont.c: In function 'cont_save_thread':
> cont.c:386: error: expected ';' before 'cont'
> make[1]: *** [cont.o] Error 1

This problem has been fixed by r32582.

Tha...
kosaki (Motohiro KOSAKI)
12:36 AM Feature #5097: Supported platforms of Ruby 1.9.3
Nobuyoshi Nakada wrote:
> Hi,
> ...
It's invalid syntax in OpenBSD make, probably because the colon indicates another modifier and the old=new modifier must be the last modifier in a make variable substitution:
:old_string=new_s...
jeremyevans0 (Jeremy Evans)
12:23 AM Feature #5097: Supported platforms of Ruby 1.9.3
>> > * bootstraptest/test_thread.rb: Skip 2 tests. The first one appears to hang, the second crashes with a sigaltstack error.
>>
>> signalstack error seems because of the lack of OpenBSD specific setting.
>> see thread_pthread.c:506...
kosaki (Motohiro KOSAKI)
01:14 PM Revision d6ec6752 (git): * test/ruby/test_process.rb (test_rlimit_nofile): fix r32734.
move return statement again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
11:52 AM Revision 7a261bf3 (git): * ext/socket/mkconstants.rb: fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:52 AM Revision 14871a37 (git): * ext/socket/mkconstants.rb: fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:29 AM Revision bca74ae5 (git): * ext/socket/mkconstants.rb: use whitespaces as a separator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:29 AM Revision b6ee29c9 (git): * ext/socket/mkconstants.rb: use whitespaces as a separator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:03 AM Revision 63d65bec (git): * ext/socket/mkconstants.rb: add documents for constants.
patch by Eric Hodel. [ruby-core:37853] [Bug #4989]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:03 AM Revision 8ef6a221 (git): * ext/socket/mkconstants.rb: add documents for constants.
patch by Eric Hodel. [ruby-core:37853] [Bug #4989]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:01 AM Revision 18f03623 (git): Fix r32731: position of definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:17 AM Revision b7c350d9 (git): Run test_popen_fork on FreeBSD because it can run.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:17 AM Revision 012d5902 (git): * 2011-07-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:17 AM Revision 0a4a5b20 (git): Use setrlimit(NOFILE,1) on OpenBSD.
Because on OpenBSD it freezes if limit=0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:17 AM Revision 63bbbdb6 (git): * configure.in (enable_pthread): use -pthread on OpenBSD without
explicit option. patched by Jeremy Evans. [ruby-core:38572]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:59 AM Feature #5101: allow optional timeout for TCPSocket.new
Tanaka Akira <akr@fsij.org> wrote:
> 2011/7/27 Eric Wong <normalperson@yhbt.net>:
> >
> > Proposed API would be:
> >
> > TCPSocket.new(remote_host, remote_port,
> > connect_timeout: 0.5, local_host: nil, lo...
normalperson (Eric Wong)

07/28/2011

11:21 PM Feature #859: open-uri doesn't allow redirection to https
Akr, I think we agreed that http -> https redirection is OK. If you don't like ad-hoc change for 1.9.3, I can do that uglish thing instead of you. :) Do you mind if I'd do that? nahi (Hiroshi Nakamura)
11:15 PM Bug #4964: open-uri failed to handle multiple "Set-Cookie" headers
As the original reporter said. Akr, we should use resp.to_hash instead of resp.each to avoid HTTP header concatenation.
It would introduce meta values incompatibility (String -> Array of String) so I propose to change the target versi...
nahi (Hiroshi Nakamura)
10:23 PM Feature #5097: Supported platforms of Ruby 1.9.3
Hi,

At Wed, 27 Jul 2011 03:44:48 +0900,
Jeremy Evans wrote in [ruby-core:38530]:
> Attached is the make check output on OpenBSD amd64. I'm also attaching a diff with the patches I used:

What is the reason to change ECHO1 ...
nobu (Nobuyoshi Nakada)
05:52 PM Feature #5097: Supported platforms of Ruby 1.9.3
I think
/#{RUBY} -e/ in ruby193.diff
should be
/#{Regexp.quote(RUBY)} -e/
znz (Kazuhiro NISHIYAMA)
04:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
On Jul 27, 2011, at 17:50, Jeremy Evans <merch-redmine@jeremyevans.net> wrote:

>>> Even with the attached patch, there are 5 failures. 3 failures are weird linking errors in the rake tests I don't understand ("ruby lib version (1.9.3...
drbrain (Eric Hodel)
03:02 PM Feature #5097: Supported platforms of Ruby 1.9.3
=begin
> > The pktinfo_sockets hash here is never used. And even if it was, because you are not adding the '::' address to ip_addrs if ipv6_recvpktinfo, no socket is being created for it, so you will +never hit lines 548-549. The at...
jeremyevans0 (Jeremy Evans)
12:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
2011/7/28 Jeremy Evans <merch-redmine@jeremyevans.net>:
>> > * ext/socket/lib/socket.rb: Don't check ipv6_recvpktinfo. This fixes a failure in one of the socket tests:
> ...
Thank you for notifying pktinfo_sockets is not used.
However ...
akr (Akira Tanaka)
09:50 AM Feature #5097: Supported platforms of Ruby 1.9.3
> Jeremy Evans wrote:
> ...

I don't think the problem is there, as reading the documentation the call there (pthread_stackseg_np(pthread_self(), &stk)) appears to be correct. The error I get in the 2nd bootstrap test is "rb_register...
jeremyevans0 (Jeremy Evans)
12:32 AM Feature #5097: Supported platforms of Ruby 1.9.3
Jeremy Evans wrote:
> Attached is the make check output on OpenBSD amd64. I'm also attaching a diff with the patches I used:
> ...
signalstack error seems because of the lack of OpenBSD specific setting.
see thread_pthread.c:506 and ...
naruse (Yui NARUSE)
09:53 PM Feature #4976: Pathname#=~ が undef されている理由
2011年7月5日16:50 Kenta Murata <muraken@gmail.com>:
>
> Pathname#=~ が欲しいなぁと思って、patch を書いて feature request を投稿しようとしたところ、
> Init_pathname の中で明示的に undef されている事に気が付きました。
>
> このメソッドが undef されている理由を教えて頂けませんか。
> その理由を伺ったうえで、=~ を以下と同じ挙...
akr (Akira Tanaka)
09:53 PM Feature #4976: Pathname#=~ が undef されている理由
2011年7月5日16:50 Kenta Murata <muraken@gmail.com>:
>
> Pathname#=~ が欲しいなぁと思って、patch を書いて feature request を投稿しようとしたところ、
> Init_pathname の中で明示的に undef されている事に気が付きました。
>
> このメソッドが undef されている理由を教えて頂けませんか。
> その理由を伺ったうえで、=~ を以下と同じ挙...
akr (Akira Tanaka)
09:53 PM Bug #4989: Document Socket constants
2011/7/8 Eric Hodel <drbrain@segment7.net>:
>
> The attached patch documents most of the Socket constants by adding a third field to ext/socket/mkconstants.rb containing the documentation.
>
> I'm not sure if all the documentati...
akr (Akira Tanaka)
09:23 PM Feature #5101: allow optional timeout for TCPSocket.new
2011/7/27 Eric Wong <normalperson@yhbt.net>:
>
> Proposed API would be:
>
> TCPSocket.new(remote_host, remote_port,
> connect_timeout: 0.5, local_host: nil, local_port: nil)
>
> Or:
>
> TCPSocket.ne...
akr (Akira Tanaka)
03:23 AM Feature #5101: allow optional timeout for TCPSocket.new
Eric Wong <normalperson@yhbt.net> wrote:
> Proposed API would be:
>
> TCPSocket.new(remote_host, remote_port,
> connect_timeout: 0.5, local_host: nil, local_port: nil)

An alternative (or complimentary) API could also...
normalperson (Eric Wong)
04:41 PM Bug #4923 (Feedback): [ext/openssl] test_ssl.rb: test_client_auth fails
Martin Bosslet wrote:
> I don't know what I did to produce that thing. That night I was able to reproduce it just fine, but I never got it again since then. I just ran make test-all for openssl with the custom Fedora version 50 times, n...
nahi (Hiroshi Nakamura)
04:25 PM Feature #5112 (Closed): Remove inadvertent symbol creation from send, __send__, and public_send
When I was first working on the inadvertent symbol creation removal code, I didn't think it was possible to handle send because method_missing requires a symbol as the first argument. But once I figured out how to handle the similar sit... jeremyevans0 (Jeremy Evans)
04:25 PM Revision e5054226 (git): * backport r32671 from trunk.
* proc.c: pre-allocate the unlinked_method_entry_list_entry struct to
avoid memory allocation during GC. based on a patch from Eric Wong.
[ruby-core:38498]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32729 b2dd0...
mame (Yusuke Endoh)
03:50 PM Revision 43e8a7a3 (git): * backport r32669 from trunk.
* proc.c (struct METHOD), gc.c (gc_marks), vm_method.c
(rb_gc_mark_unlinked_live_method_entries): fix SEGV bug.
rb_method_entry_t was free'd even when the method is still on the
stack if it is BMETHOD (i.e., Method#call). This is ...
mame (Yusuke Endoh)
03:01 PM Revision 264fdd76 (git): * 2011-07-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision 34c7aaa1 (git): merge revision 32725:
* ext/fiddle/closure.c (callback): use rb_ary_tmp_new() instead of
xmalloc() to allocate an array for arguments of callback procedure,
to prevent arguments from being swept by GC. [ruby-core:38546]
[Bug #492...
nagachika (Tomoyuki Chikanaga)
02:47 PM Revision 60053a0a (git): * ext/fiddle/closure.c (callback): use rb_ary_tmp_new() instead of
xmalloc() to allocate an array for arguments of callback procedure,
to prevent arguments from being swept by GC. [ruby-core:38546]
[Bug #4929]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:38 PM Bug #5111 (Closed): test/rubygems/test_gem_installer.rb reports a failure on windows
=begin
I guess the test is wrong on Windows.
1) Failure:
test_generate_bin_bindir_with_user_install_warning(TestGemInstaller) [C:/Users/usa/ruby/test/rubygems/test_gem_installer.rb:225]:
--- expected
+++ actual
@@ -1 +1,3 @@...
usa (Usaku NAKAMURA)
01:52 PM Revision be10ad20 (git): * backport r32723 from trunk.
* ext/openssl/ossl_cipher.c (ossl_cipher_initialize): Avoid possible
SEGV from AES encryption/decryption. Processing data by
Cipher#update without initializing key (meaningless usage of Cipher
object since we don't offer a way to e...
Hiroshi Nakamura
01:48 PM Revision e7e87b3c (git): * ext/openssl/ossl_cipher.c (ossl_cipher_initialize): Avoid possible
SEGV from AES encryption/decryption. Processing data by
Cipher#update without initializing key (meaningless usage of Cipher
object since we don't offer a way to export a key) could cause SEGV.
In OpenSSL, the EVP which has EVP_CIP...
Hiroshi Nakamura
12:25 PM Bug #4160 (Closed): test_core_03_notify(Rinda::TupleSpaceProxyTest) が失敗する
This issue was solved with changeset r32717.
Kouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
the code that depends on timing. [Bug #372] [Bug #4160]
seki (Masatoshi Seki)
12:25 PM Bug #372 (Closed): Rinda has a race condition
This issue was solved with changeset r32717.
, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
the code that depends on timing. [Bug #372] [Bug #4160]
seki (Masatoshi Seki)
08:56 AM Bug #5110 (Closed): Ruby SSL error - sslv3 alert unexpected message
I'm running ruby 1.9.2p290 on a machine with OpenSSL version 0.9.8o 01 Jun 2010
When I run the following script:
require 'net/http'
url = URI.parse('https://www.xpiron.com/schedule')
req = Net::HTTP::Get.new(url.path)
sock = Net...
hoisie (Michael Hoisie)
07:00 AM Bug #5109 (Third Party's Issue): YAML output has changed
libyaml detects if you have single or double quotes in your string. If it sees those characters, it will escape them and emit a tagged string literal. tenderlovemaking (Aaron Patterson)
06:20 AM Bug #5109 (Third Party's Issue): YAML output has changed
Have no idea why, but I noticed that 1.9.3 is producing strange YAML output:
snippet:
- 35: ''
- 36: ! ' Then ''the result should be (((\d+))) on the screen'' do |n|'
- 37: ! ' @result.assert == n.to_i'
- 38: ! ' en...
trans (Thomas Sawyer)
05:26 AM Revision 46247fb3 (git): * lib/rubygems/user_interaction.rb (Gem::StreamUI#tty?): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:32 AM Revision d3d44cd9 (git): * ext/dl/callback/mkcallback.rb (gencallback): use PTR2NUM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:32 AM Revision eda13c7e (git): * ext/dl/cptr.c (rb_dlptr_aref, rb_dlptr_aset): check NULL pointer
dereference.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:32 AM Revision ad8ab9c0 (git): * ext/dl/cptr.c (rb_dlptr_s_to_ptr): use rb_check_funcall.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:32 AM Revision 79d8d743 (git): * ext/dl/cptr.c (rb_dlptr_s_to_ptr): fix wrapping condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:25 AM Revision e2b80011 (git): the code that depends on timing. [Bug #372] [Bug #4160]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masatoshi SEKI
02:15 AM Bug #4929 (Closed): test/dl/test_func.rb was crashed on Mac
This issue was solved with changeset r32712.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/dl/cfunc.c (dlcfunc_mark), ext/dl/cptr.c (dlptr_mark):
...
nobu (Nobuyoshi Nakada)
12:33 AM Revision 02345202 (git): merge revision(s) 32715:
------------------------------------------------------------------------
r32715 | naruse | 2011-07-28 09:23:28 +0900 (Thu, 28 Jul 2011) | 1 line
See __APPLE__ for __syscall.
--------------------------------------------------------------...
naruse (Yui NARUSE)
12:23 AM Revision da6c57aa (git): See __APPLE__ for __syscall.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

07/27/2011

11:53 PM Feature #5101: allow optional timeout for TCPSocket.new
Eric Wong <normalperson@yhbt.net> wrote:
> Proposed API would be:
>
> TCPSocket.new(remote_host, remote_port,
> connect_timeout: 0.5, local_host: nil, local_port: nil)

Btw, I'll gladly provide patches + tests if the ...
normalperson (Eric Wong)
04:13 PM Feature #5101 (Assigned): allow optional timeout for TCPSocket.new
naruse (Yui NARUSE)
08:59 AM Feature #5101 (Closed): allow optional timeout for TCPSocket.new
Proposed API would be:
TCPSocket.new(remote_host, remote_port,
connect_timeout: 0.5, local_host: nil, local_port: nil)
Or:
TCPSocket.new(remote_host, remote_port, connect_timeout: 0.5)
For the common case.
This...
normalperson (Eric Wong)
10:58 PM Feature #3001: Ruby stdlib: Benchmark::Tms #memberwise drops labels
Hi,
> It would seem consistent (and more informative) if it also passed in the current label (especially since there's no other way to set it):
What about (tms1 + tms2)'s label ? Should it be "#{tms1.label} #{op} #{tms2.label}" ?
...
Eregon (Benoit Daloze)
10:49 PM Bug #5104 (Closed): test_rinda.rb の GC保護もれ
This issue was solved with changeset r32705.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/rinda/test_rinda.rb (test_remote_array_and_hash):
ad...
nagachika (Tomoyuki Chikanaga)
08:59 PM Bug #5104: test_rinda.rb の GC保護もれ
近永と申します。

> すみません。そのように思います。
> すぐに手を出せないのでどなたか修正していただけないでしょうか。
確認ありがとうございます。
後程やっておきます。
nagachika (Tomoyuki Chikanaga)
08:59 PM Bug #5104: test_rinda.rb の GC保護もれ
近永と申します。

> すみません。そのように思います。
> すぐに手を出せないのでどなたか修正していただけないでしょうか。
確認ありがとうございます。
後程やっておきます。
nagachika (Tomoyuki Chikanaga)
08:54 PM Bug #5104 (Assigned): test_rinda.rb の GC保護もれ
nagachika (Tomoyuki Chikanaga)
12:34 PM Bug #5104 (Closed): test_rinda.rb の GC保護もれ
make test-all TESTS="--gc-stress -vq rinda/test_rinda.rb -n test_remote_array_and_hash"
と GC.stress = true で rinda のテストを通すと環境によって以下のように失敗します。
Rinda::TupleSpaceProxyTest#test_remote_array_and_hash = 4.62 s = E
Finished tests in 4...
nagachika (Tomoyuki Chikanaga)
07:56 PM Revision e83748fd (git): * lib/delegate.rb: Move file-level documentation to the appropriate
classes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
07:53 PM Revision cfb37052 (git): * lib/delegate.rb: Move file-level documentation to the appropriate
classes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
07:11 PM Bug #5107 (Closed): Segmentation fault
This is already fixed in r29415; update your OS and ruby. naruse (Yui NARUSE)
06:09 PM Bug #5107 (Closed): Segmentation fault
I have been trying to implement basecamp project import using resque. But I get the following error message. I am not sure what has caused the error. Please help me out.
/Users/sts-086sts-086/.rvm/gems/ruby-1.9.2-p0/gems/activemodel-3...
jayandra (jayandra pokharel)
06:53 PM Feature #4589: add Queue#each() method and include Enumerable
On 27/07/11 00:34, Eric Hodel wrote:
>
> Issue #4589 has been updated by Eric Hodel.
>
>
> There are no destructive methods in Enumerable.

Enumerable gets mixed into IO, and #each on a Socket *is* destructive
(of the...
regularfry (Alex Young)
08:34 AM Feature #4589: add Queue#each() method and include Enumerable
There are no destructive methods in Enumerable.
Most times I use a Queue I am producing and consuming items at the same time so this would not be as useful for me since it works on a copy.
If I were to finish production of items or...
drbrain (Eric Hodel)
03:21 AM Feature #4589: add Queue#each() method and include Enumerable
Perhaps this code example can better illustrate my request:
class Queue
def each(&block)
temporary_copy = @internal_queue_lock.synchronize do
@internal_item_array.dup
end
temporary_copy.each(&block)
end
en...
sunaku (Suraj Kurapati)
05:15 PM Revision 9f3914ab (git): * ext/dl/cfunc.c (dlcfunc_mark), ext/dl/cptr.c (dlptr_mark):
workaround to mark wrapped object. this is not a true fix,
because [Bug #4929] is caused by the interface design of DL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:59 PM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月27日12:25 Yusuke ENDOH <mame@tsg.ne.jp>:
> 2011年7月27日10:20 NARUSE, Yui <naruse@airemix.jp>:
>>> 「パス *させたい* プラットフォーム
>>> 一覧」と考えて、ダメなら最終リストから削ればいいのではないかしら。
>>
>> 今決めているのは Best Effort のつもりです。
>> それは遠藤さんのいう「パス *させたい* プラットフ...
naruse (Yui NARUSE)
04:59 PM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月27日12:25 Yusuke ENDOH <mame@tsg.ne.jp>:
> 2011年7月27日10:20 NARUSE, Yui <naruse@airemix.jp>:
>>> 「パス *させたい* プラットフォーム
>>> 一覧」と考えて、ダメなら最終リストから削ればいいのではないかしら。
>>
>> 今決めているのは Best Effort のつもりです。
>> それは遠藤さんのいう「パス *させたい* プラットフ...
naruse (Yui NARUSE)
12:29 PM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月27日10:20 NARUSE, Yui <naruse@airemix.jp>:
>> 「パス *させたい* プラットフォーム
>> 一覧」と考えて、ダメなら最終リストから削ればいいのではないかしら。
>
> 今決めているのは Best Effort のつもりです。
> それは遠藤さんのいう「パス *させたい* プラットフォーム一覧」でしょう。

いえ、違います。今 Best Effort であると決める、ということは、
...
mame (Yusuke Endoh)
12:29 PM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月27日10:20 NARUSE, Yui <naruse@airemix.jp>:
>> 「パス *させたい* プラットフォーム
>> 一覧」と考えて、ダメなら最終リストから削ればいいのではないかしら。
>
> 今決めているのは Best Effort のつもりです。
> それは遠藤さんのいう「パス *させたい* プラットフォーム一覧」でしょう。

いえ、違います。今 Best Effort であると決める、ということは、
...
mame (Yusuke Endoh)
10:23 AM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月26日22:39 Yusuke ENDOH <mame@tsg.ne.jp>:
> 今決めてるのを「1.9.3 がテストをパス *しなければならない* プラット
> フォーム一覧」と考えるのではなく

わたしはそんなことは一言も言ってませんよ。

> 「パス *させたい* プラットフォーム
> 一覧」と考えて、ダメなら最終リストから削ればいいのではないかしら。

今決めているのは Best Effort のつもりです。...
naruse (Yui NARUSE)
10:23 AM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月26日22:39 Yusuke ENDOH <mame@tsg.ne.jp>:
> 今決めてるのを「1.9.3 がテストをパス *しなければならない* プラット
> フォーム一覧」と考えるのではなく

わたしはそんなことは一言も言ってませんよ。

> 「パス *させたい* プラットフォーム
> 一覧」と考えて、ダメなら最終リストから削ればいいのではないかしら。

今決めているのは Best Effort のつもりです。...
naruse (Yui NARUSE)
04:25 PM Feature #4831: Integer#prime_factors
Yes, #prime_factors and #factors are synonyms. drbrain (Eric Hodel)
04:18 PM Revision 5c815b73 (git): * test/ruby/test_symbol.rb (test_no_inadvertent_symbol_creation):
remove an assertion depending on default respond_to_missing?.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:52 PM Revision a99ef204 (git): * test/ruby/test_symbol.rb (test_no_inadvertent_symbol_creation3):
remove an assertion depending on default const_missing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:44 PM Bug #5067 (Closed): BasicObject's constant lookup documentation
This issue was solved with changeset r32700.
Shyouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c: Add usage documentation for BasicObject. Based ...
drbrain (Eric Hodel)
03:33 PM Revision f39ed9dc (git): merge revision(s) 32707:
* test/fileutils/test_fileutils.rb: add OpenBSD case.
patched by Jeremy Evans [ruby-core:38530] see #5097
* test/ruby/test_process.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32709 b2dd...
naruse (Yui NARUSE)
03:30 PM Revision 9261088e (git): * 2011-07-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:30 PM Revision d7138d72 (git): * test/fileutils/test_fileutils.rb: add OpenBSD case.
patched by Jeremy Evans [ruby-core:38530] see #5097
* test/ruby/test_process.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:55 PM Revision 969ae329 (git): * test/ruby/test_symbol.rb (test_inspect): use %W to enable
escape.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:49 PM Revision dddc9485 (git): * test/rinda/test_rinda.rb (test_remote_array_and_hash):
add local variables to protect objects from GC. [ruby-dev:44253]
[Bug #5104]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:03 PM Feature #4990: Proposal: Internal GC/memory subsystem API
I've made a small amount of progress on a prototype. I will post links to github branches ASAP.
kstephens (Kurt Stephens)
12:57 PM Feature #5033: PATCH: 1.9: gc_mark_children: Avoid gc_mark() tail recursion, use goto again.
There will be improvements for programs that have large numbers of Rational and Complex numbers. If someone has a suitable benchmark please let me know. Otherwise, I'll write something simple. kstephens (Kurt Stephens)
12:54 PM Feature #5106 (Rejected): Is MurmurHash overkill?
st.c implements MurmurHash to compute hash table indexes (#hash).
Simpler hash functions may be appropriate for hash tables, esp. small tables.
Is there a particular reason this hash function was chosen? Is MurmurHash typically ...
kstephens (Kurt Stephens)
12:47 PM Bug #4062: "gem uninstall" does not honor --program-suffix
The feature was only partially implemented in RubyGems 1.8. It was missing a require and had confusing messaging. drbrain (Eric Hodel)
12:33 PM Bug #4062 (Closed): "gem uninstall" does not honor --program-suffix
This issue was solved with changeset r32697.
Sakuro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rubygems/uninstaller.rb: Add missing require and update
...
drbrain (Eric Hodel)
12:22 PM Bug #4929 (Open): test/dl/test_func.rb was crashed on Mac
Hi,
I've found that a similar problem remains at trunk(r32672) yet.
In my environment (Ubuntu 10.04.03), make test-all TESTS="-vq dl/test_func.rb -n test_qsort1.rb" cause SEGV.
It seems that CPtr.new in callback procedure cause SIGS...
nagachika (Tomoyuki Chikanaga)
12:16 PM Bug #372 (Assigned): Rinda has a race condition
redmineにうまく転写されてないようですが、テストの問題とのことなので、
reopenのうえ咳さんにアサインします。
kosaki (Motohiro KOSAKI)
10:45 AM Feature #5103: [ext/openssl] Object equality for objects based on ASN.1 structures
Eric Hodel wrote:
> Is object equality on ASN.1 structures not useful or hard?
I think it could be quite useful, for example when comparing certificates. Right now an easy way to do this is by comparing cert1.to_der == cert2.to_der.
...
MartinBosslet (Martin Bosslet)
10:36 AM Feature #5103: [ext/openssl] Object equality for objects based on ASN.1 structures
Is object equality on ASN.1 structures not useful or hard? drbrain (Eric Hodel)
09:59 AM Feature #5103 (Feedback): [ext/openssl] Object equality for objects based on ASN.1 structures
Equality behaviour is not overridden by any of the classes that base on ASN.1 structures. This leads to
counterintuitive things such as
require 'openssl'
key = OpenSSL::PKey::RSA.new 256
puts [key].include?(key) # => ...
MartinBosslet (Martin Bosslet)
10:00 AM Feature #5102 (Feedback): [ext/openssl] Purpose of OpenSSL::PKCS12.new / Allow changing the password
MartinBosslet (Martin Bosslet)
09:52 AM Feature #5102 (Feedback): [ext/openssl] Purpose of OpenSSL::PKCS12.new / Allow changing the password
It seems as if currently creating a PKCS12 with OpenSSL::PKCS12.new is not very useful, all the attributes
are read-only. So this could probably be removed or the attributes could be write-accessible, too.
Apart from that, it would a...
MartinBosslet (Martin Bosslet)
09:47 AM Feature #3793: No test for OpenSSL::PKCS12
There was not really much to add to Aaron's tests. I included a CA and an intermediate CA certificate, and one additional test.
But I noticed three things:
1) What is OpenSSL::PKCS12.new good for? It seems like it's useless - the P...
MartinBosslet (Martin Bosslet)
09:31 AM Feature #3793 (Closed): No test for OpenSSL::PKCS12
This issue was solved with changeset r32690.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/openssl/test_pkcs12.rb: Add test and intermediate certi...
Anonymous
08:59 AM Revision bed02ef5 (git): merge revision(s) 32702:
* include/ruby/missing.h: define __syscall if the platform has
__syscall in the library but doesn't define it in headers
for example Mac OS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32704 b2...
naruse (Yui NARUSE)
08:59 AM Revision 88b031a3 (git): merge revision(s) 32699:
------------------------------------------------------------------------
r32699 | naruse | 2011-07-27 14:21:33 +0900 (Wed, 27 Jul 2011) | 4 lines
Use ::Syck explicitly.
lib/rubygems/requirement.rb defines YAML::Syck.
So explicitly spec...
naruse (Yui NARUSE)
08:58 AM Revision 9f2b8eaf (git): * include/ruby/missing.h: define __syscall if the platform has
__syscall in the library but doesn't define it in headers
for example Mac OS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:45 AM Feature #5100: allow configurable timeouts in resolv.rb
I've added a timeouts= instance method to Resolv::DNS. I'm unsure about
the API, but it should be usable (test case included).
Also pullable via git:
git pull git://bogomips.org/ruby resolv-timeout
normalperson (Eric Wong)
06:54 AM Feature #5100 (Closed): allow configurable timeouts in resolv.rb
Currently the resolv.rb timeouts are hard-coded and too high for some
users. It would be nice to have an easy way of timing out DNS requests without
resorting to the innefficient and potentially dangerous "timeout" library.
normalperson (Eric Wong)
07:47 AM Bug #4944: crash in FIPS mode after unchecked EVP_DigestInit_ex failure
The issue with OS X 10.7 is solved, I had to revert the checks for an int return value of HMAC_Init_ex as OpenSSL versions prior to 1.0.0 did not have that feature yet. As concerns the deprecation of OpenSSL in OS X >= 10.7, that's a dif... MartinBosslet (Martin Bosslet)
07:39 AM Bug #4923: [ext/openssl] test_ssl.rb: test_client_auth fails
Hiroshi Nakamura wrote:
> While investigating #5039, I found that SSL_shutdown() could add something to global error stack in OpenSSL < 0.9.8m, possibly related the OpenSSL 0.9.8m fix Martin posted above. Based on my investigation, that...
MartinBosslet (Martin Bosslet)
06:53 AM Feature #5064: HTTP user-agent class
jonathan rochkind <jonathan@dnil.net> wrote:
> 1. Huge performance problem of the way timeouts are implemented.

I would like to split the HTTP open_timeout into two components:
connect_timeout and dns_timeout

connect_ti...
normalperson (Eric Wong)
12:19 AM Feature #5064: HTTP user-agent class
I would love a simpler, more use-case focused HTTP library in the Ruby standard library. We should make the simple case very simple, and let people fall back to the full Net::HTTP if they need all the advanced and/or unusual stuff. steveklabnik (Steve Klabnik)
06:49 AM Revision b727b2a4 (git): * object.c: Add usage documentation for BasicObject. Based on patch
by Thomas Sawyer. [Ruby 1.9 - Bug #5067]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
06:44 AM Revision 3eb7d2b3 (git): * object.c: Add usage documentation for BasicObject. Based on patch
by Thomas Sawyer. [Ruby 1.9 - Bug #5067]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
05:21 AM Revision e29d5897 (git): Use ::Syck explicitly.
lib/rubygems/requirement.rb defines YAML::Syck.
So explicitly specify the top level one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:34 AM Bug #4097 (Third Party's Issue): Unexpected result of STDIN.read on Windows

Sorry for a delayed response.
Now, STDIN.read(n) under multibyte console inputs might return n+1 bytes String.(by r29980 and r30280)
Multibyte character is never split in read of MS runtime.
And, it is difficult to do STDIN.ung...
tarui (Masaya Tarui)
03:44 AM Feature #5097: Supported platforms of Ruby 1.9.3
Attached is the make check output on OpenBSD amd64. I'm also attaching a diff with the patches I used:
* bootstraptest/test_thread.rb: Skip 2 tests. The first one appears to hang, the second crashes with a sigaltstack error.
* con...
jeremyevans0 (Jeremy Evans)
12:53 AM Feature #5097: Supported platforms of Ruby 1.9.3
On Mon, Jul 25, 2011 at 11:52 PM, Yui NARUSE <naruse@airemix.jp> wrote:
> If you want to support a platform, please declare.
> ...
I can contribute with all available resources to test Ruby against
mingw32 and mingw-w64 on both 32bits an...
luislavena (Luis Lavena)
12:29 AM Feature #5097: Supported platforms of Ruby 1.9.3
For Linux distributions, it would make sense to have a list both of distributions, and of architectures. There are problems that are distribution-specific, and problems that are architecture-specific.
I can help with Debian (and Ubunt...
lucas (Lucas Nussbaum)
03:42 AM Revision 76325a8b (git): * lib/rubygems/uninstaller.rb: Add missing require and update
messaging to avoid confusion with uninstall --format-executable.
[Ruby 1.9 - Bug #4062]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
03:33 AM Revision 55b81eb9 (git): * lib/rubygems/uninstaller.rb: Add missing require and update
messaging to avoid confusion with uninstall --format-executable.
[Ruby 1.9 - Bug #4062]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
03:30 AM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
NilClass#to_h would be useful. Especially for Enumerable types, it's common convention to return an empty container of that type, so that you can chain things together.
The proliferation of nil is often considered a code smell, there'...
steveklabnik (Steve Klabnik)
02:52 AM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
Yui NARUSE wrote:
> First of all, Ruby has two way of the type conversion; implicit
> ...
I see, then for Hash:
* to_h should be explicit conversion
* to_hash should be implicit conversion.
> > Add Kernel#Hash method for convert...
sunaku (Suraj Kurapati)
02:04 AM Revision 35507666 (git): * vm_dump.c (VMDEBUG): suppress undefined macro warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:04 AM Revision c553ee2d (git): * test/ruby/test_symbol.rb (TestSymbol#test_inspect): workaround for
ruby-mode.el.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:04 AM Revision 28414483 (git): * lib/rubygems: Update to RubyGems 1.8.6.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
01:40 AM Revision 035ef0a3 (git): * lib/rubygems: Update to RubyGems 1.8.6.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
01:07 AM Revision 49caf557 (git): * backport r32690 from trunk.
* test/openssl/test_pkcs12.rb: Add test and intermediate certificates.
[ Ruby 1.9 - Feature #3793 ] [ruby-core:32088]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
01:07 AM Revision 8f5ca116 (git): * property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:05 AM Feature #5089 (Closed): Even More Inadvertent Symbol Removal, And Fix Issue With Previous Code
This issue was solved with changeset r32686.
Jeremy, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval_error.c (rb_print_undef_str): new function to raise
Na...
nobu (Nobuyoshi Nakada)
01:05 AM Feature #5072 (Closed): Avoid inadvertent symbol creation in reflection methods
This issue was solved with changeset r32685.
Jeremy, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_method.c (obj_respond_to): fix the respond_to_missing? ove...
nobu (Nobuyoshi Nakada)
12:46 AM Bug #5098 (Closed): bigdecimal/util.rb で定義される to_d メソッドによる型変換と、BigDecimal 関数による型変換が整合していない
This issue was solved with changeset r32677.
Kenta, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/bigdecimal/lib/bigdecimal/util.rb (Integer#to_d): added
...
mrkn (Kenta Murata)
12:31 AM Revision b9c485aa (git): * test/openssl/test_pkcs12.rb: Add test and intermediate certificates.
[ Ruby 1.9 - Feature #3793 ] [ruby-core:32088]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)

07/26/2011

10:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日21:56 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> (07/26/2011 09:07 PM), Yusuke ENDOH wrote:
>> 自己満足ってことかな。ボランティアでのリリースって自己満足ですよね。
>
> そうです。まさにそのとおり。
>
> で、自己満足とサポートってのはあんまり馴染まない概念だろうと思います。

粛々とパッケージ化...
mame (Yusuke Endoh)
10:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日21:56 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> (07/26/2011 09:07 PM), Yusuke ENDOH wrote:
>> 自己満足ってことかな。ボランティアでのリリースって自己満足ですよね。
>
> そうです。まさにそのとおり。
>
> で、自己満足とサポートってのはあんまり馴染まない概念だろうと思います。

粛々とパッケージ化...
mame (Yusuke Endoh)
09:59 PM Bug #5094: Supported platforms of Ruby 1.9.3
卜部で、前回のメールに書き忘れたことがあったとすれば、べつに192のク
オリティに不満があったとかでは全然なくて、えんどうさんは偉い。そこ
は書き漏らすべきではありませんでした。えんどうさんには感謝してます。

(07/26/2011 09:07 PM), Yusuke ENDOH wrote:
> 2011年7月26日20:49 Urabe Shyouhei <shyouhei@ruby-lang.org>:
>> 個人的な結論としてはリリー...
shyouhei (Shyouhei Urabe)
09:59 PM Bug #5094: Supported platforms of Ruby 1.9.3
卜部で、前回のメールに書き忘れたことがあったとすれば、べつに192のク
オリティに不満があったとかでは全然なくて、えんどうさんは偉い。そこ
は書き漏らすべきではありませんでした。えんどうさんには感謝してます。

(07/26/2011 09:07 PM), Yusuke ENDOH wrote:
> 2011年7月26日20:49 Urabe Shyouhei <shyouhei@ruby-lang.org>:
>> 個人的な結論としてはリリー...
shyouhei (Shyouhei Urabe)
09:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日19:48 NARUSE, Yui <naruse@airemix.jp>:
> (2011/07/26 12:38), Yusuke ENDOH wrote:
>> ただそれは、「サポートプラン」とか "supported" とか "best effort"
>> とかいう語感からユーザが期待するものとは確かに違うんですよね。
>> 名前が悪いから「言葉遊び」と感じるんじゃないかと思います。
>> もっと...
mame (Yusuke Endoh)
09:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日19:48 NARUSE, Yui <naruse@airemix.jp>:
> (2011/07/26 12:38), Yusuke ENDOH wrote:
>> ただそれは、「サポートプラン」とか "supported" とか "best effort"
>> とかいう語感からユーザが期待するものとは確かに違うんですよね。
>> 名前が悪いから「言葉遊び」と感じるんじゃないかと思います。
>> もっと...
mame (Yusuke Endoh)
09:23 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日20:49 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> 個人的な結論としてはリリースは「したいからする」ものであって、それ
> 以上の理由をつけるのはおためごかしだなあと思っている次第ですので、

おためごかし = 表面は人のためにするように見せかけて、実は自分の利益を図ること。

よく意味がわかりませんでした。自分の利益?
自己満足ってことかな。ボランティ...
mame (Yusuke Endoh)
09:23 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日20:49 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> 個人的な結論としてはリリースは「したいからする」ものであって、それ
> 以上の理由をつけるのはおためごかしだなあと思っている次第ですので、

おためごかし = 表面は人のためにするように見せかけて、実は自分の利益を図ること。

よく意味がわかりませんでした。自分の利益?
自己満足ってことかな。ボランティ...
mame (Yusuke Endoh)
08:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
(07/26/2011 12:38 PM), Yusuke ENDOH wrote:
> 遠藤です。
>
> 2011年7月26日9:57 Urabe Shyouhei <shyouhei@ruby-lang.org>:
>> サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
>> 「がんばります」以上に実効性のあることは言えないでしょ。
>> それperhapsと何がどう違うん。
>
> サポートプランは「この...
shyouhei (Shyouhei Urabe)
08:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
(07/26/2011 12:38 PM), Yusuke ENDOH wrote:
> 遠藤です。
>
> 2011年7月26日9:57 Urabe Shyouhei <shyouhei@ruby-lang.org>:
>> サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
>> 「がんばります」以上に実効性のあることは言えないでしょ。
>> それperhapsと何がどう違うん。
>
> サポートプランは「この...
shyouhei (Shyouhei Urabe)
07:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
(2011/07/26 12:38), Yusuke ENDOH wrote:
> ただそれは、「サポートプラン」とか "supported" とか "best effort"
> とかいう語感からユーザが期待するものとは確かに違うんですよね。
> 名前が悪いから「言葉遊び」と感じるんじゃないかと思います。
> もっといい名前があれば変えるといいと思います。まさに言葉遊びですが。

わたしは Support Level 1 とか Tier 1 ...
naruse (Yui NARUSE)
07:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
(2011/07/26 12:38), Yusuke ENDOH wrote:
> ただそれは、「サポートプラン」とか "supported" とか "best effort"
> とかいう語感からユーザが期待するものとは確かに違うんですよね。
> 名前が悪いから「言葉遊び」と感じるんじゃないかと思います。
> もっといい名前があれば変えるといいと思います。まさに言葉遊びですが。

わたしは Support Level 1 とか Tier 1 ...
naruse (Yui NARUSE)
12:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日9:57 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
> 「がんばります」以上に実効性のあることは言えないでしょ。
> それperhapsと何がどう違うん。

サポートプランは「この環境でテストが動かないならリリースできない」
という基準として、1.9.2 リリースの際は重宝しましたよ。
...
mame (Yusuke Endoh)
12:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日9:57 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
> 「がんばります」以上に実効性のあることは言えないでしょ。
> それperhapsと何がどう違うん。

サポートプランは「この環境でテストが動かないならリリースできない」
という基準として、1.9.2 リリースの際は重宝しましたよ。
...
mame (Yusuke Endoh)
12:02 PM Bug #5094: Supported platforms of Ruby 1.9.3
あ、今見たら8分前に英語版が追加されている・・・ mrkn (Kenta Murata)
12:01 PM Bug #5094: Supported platforms of Ruby 1.9.3
Yui NARUSE wrote:
> * Mac OS X (LLVM絡みが微妙)
引き取ります。
そして、1.9.3, 1.9.2, 1.8.7 は llvm-gcc には非対応であると公式アナウンスしましょう。
# と言いつつも、まだ chkbuild を復活できていないのですが・・・
些細な疑問ですが、このスレは日本語でいいの?
mrkn (Kenta Murata)
11:53 AM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月26日8:45 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
> 逆に Debian 4.0 をperhapsに落とすことを提案します。Windowsのサービスパックだって要求ハードウェアのレベルが
> 上がったりするぐらいなんだからゆるされると思います。
> Debian 4.0は「誰も確認してないけど、非互換いれてないからたぶん動きます」という状態でこれはperhaps以外の何者でもないと思いま...
naruse (Yui NARUSE)
11:53 AM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月26日8:45 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
> 逆に Debian 4.0 をperhapsに落とすことを提案します。Windowsのサービスパックだって要求ハードウェアのレベルが
> 上がったりするぐらいなんだからゆるされると思います。
> Debian 4.0は「誰も確認してないけど、非互換いれてないからたぶん動きます」という状態でこれはperhaps以外の何者でもないと思いま...
naruse (Yui NARUSE)
11:23 AM Bug #5094: Supported platforms of Ruby 1.9.3
成瀬です。

2011年7月26日9:57 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
> 「がんばります」以上に実効性のあることは言えないでしょ。
> それperhapsと何がどう違うん。

チケットの押し付け先があるかどうかが主たる違いです。
言い換えれば、直らないバグがあった場合に、誰かに assign された状態になる...
naruse (Yui NARUSE)
11:23 AM Bug #5094: Supported platforms of Ruby 1.9.3
成瀬です。

2011年7月26日9:57 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
> 「がんばります」以上に実効性のあることは言えないでしょ。
> それperhapsと何がどう違うん。

チケットの押し付け先があるかどうかが主たる違いです。
言い換えれば、直らないバグがあった場合に、誰かに assign された状態になる...
naruse (Yui NARUSE)
09:59 AM Bug #5094: Supported platforms of Ruby 1.9.3
卜部です

サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
「がんばります」以上に実効性のあることは言えないでしょ。
それperhapsと何がどう違うん。

、という主張はつねづね申し上げている話であってべつに新規性はございません
が今回も一応申し上げておく次第です。言葉遊び楽しいけど、それ以上になって
ないですよ。現状は。
shyouhei (Shyouhei Urabe)
08:53 AM Bug #5094: Supported platforms of Ruby 1.9.3
> == 成瀬の提案
>
> さて、前回のサポートプラットフォーム決めでいくつか反省があるので、ここに一つ提案を行います。
>
>> なお、「メンテナがいる」とは明確なプラットフォームメンテナがいるもの(mswin32など)のほかに、「日々その環境でRubyを開発しているコミッタがいるもの」を含む。
>
> この後半を削ることを提案します。
> 例として、Debian はいまだに lenny 32bit が対象になってしまっています。
...
kosaki (Motohiro KOSAKI)
06:53 AM Bug #5094: Supported platforms of Ruby 1.9.3
> 逆にメンテナがいない主なプラットフォーム(と備考)は以下の通りです。
> * Debian
> * Ubuntu
> * CentOS
> * Mac OS X (LLVM絡みが微妙)
> * cygwin (動かない)
> * NetBSD (動く)
> * OpenBSD (動かない気がする)
> * DragonFlyBSD (動かない)

Best Effortレベルですが RHEL/CentOSは僕がやろうかと思っ...
kosaki (Motohiro KOSAKI)
05:53 AM Bug #5094: Supported platforms of Ruby 1.9.3
金本と申します。

Best Effortレベルですが、AIX環境での調査・対応は引き続き担当させていただきたいです。
よろしくお願いします。

2011年7月26日0:15 Yui NARUSE <naruse@airemix.jp>:

> サポートしたいプラットフォームがある方は宣言してください。
> ただし、当該プラットフォーム固有っぽいバグがあった場合、そのチケットをアサインする事があるので、
> 覚悟を決めてから宣言し...
kanemoto (Yutaka Kanemoto)
12:22 AM Bug #5094: Supported platforms of Ruby 1.9.3
かねてからの予告どおり、mswin32とmswin64は1.9.3では私がメンテを継続します。
つか失敗したな。1.9.3が死ぬまでメンテしないといけないじゃん……。
usa (Usaku NAKAMURA)
12:15 AM Bug #5094 (Closed): Supported platforms of Ruby 1.9.3
はい、リリース前恒例! サポートプラットフォーム決めのお時間がやって参りました。
前回は 1.9.1 リリース時だったわけですが、あれからずいぶんと経ったので、
改めてサポートするプラットフォームを決めましょう。
== これまでのあらすじ
http://redmine.ruby-lang.org/projects/ruby-19/wiki/SupportedPlatformsJa
== 決め方
サポートしたいプラットフォームがある方は宣言...
naruse (Yui NARUSE)
10:45 PM Bug #5093: DEBUGGER__::Context#debug_print_help に表示されないオプション
パッチのrestartは、正しくは「r[estart]」でした。修正したパッチをアタッチしておきます。 sho-h (Sho Hashimoto)
10:19 PM Feature #5097: Supported platforms of Ruby 1.9.3
I would like to help for OSX > 10.6, and maybe 10.5 if I can get a machine. I'm not exactly sure what 'maintainer's responsibility exactly entails, but I'd be happy to help organize, make a best effort at patching bugs, and provide build... steveklabnik (Steve Klabnik)
07:59 PM Feature #5097: Supported platforms of Ruby 1.9.3
> I volunteer to officially support Ruby on OpenBSD.  I'm an OpenBSD developer and already maintain the OpenBSD port for Ruby (both 1.8.7 and 1.9.2) as well as the OpenBSD ports for Rubinius and JRuby.

Great!

May I request one mo...
kosaki (Motohiro KOSAKI)
07:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
2011/7/26 Eric Wong <normalperson@yhbt.net>:
> Yui NARUSE <naruse@airemix.jp> wrote:
>> If you want to support a platform, please declare.
>> But when a platform dependent bug is reported, it will be assigned to you.
>
> <snip>
>
...
kosaki (Motohiro KOSAKI)
03:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
On Mon, Jul 25, 2011 at 8:52 PM, Yui NARUSE <naruse@airemix.jp> wrote:

> * Ubuntu

I can volunteer to help with Ubuntu, if you need it.


Kirk Haines
wyhaines (Kirk Haines)
01:08 PM Feature #5097: Supported platforms of Ruby 1.9.3
I volunteer to officially support Ruby on OpenBSD. I'm an OpenBSD developer and already maintain the OpenBSD port for Ruby (both 1.8.7 and 1.9.2) as well as the OpenBSD ports for Rubinius and JRuby. jeremyevans0 (Jeremy Evans)
12:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
Yui NARUSE <naruse@airemix.jp> wrote:
> If you want to support a platform, please declare.
> But when a platform dependent bug is reported, it will be assigned to you.

<snip>

> RHEL, CentOS
> KOSAKI Motohiro

5.x o...
normalperson (Eric Wong)
11:52 AM Feature #5097 (Closed): Supported platforms of Ruby 1.9.3
Let's decide the supported platforms.
== Background
http://redmine.ruby-lang.org/projects/ruby-19/wiki/SupportedPlatforms
== Process
If you want to support a platform, please declare.
But when a platform dependent bug is rep...
naruse (Yui NARUSE)
10:10 PM Feature #4969: Subtle issue with require
Your require_ruby seems to load nothing. Missed to paste?
Anyway, the behavior does not seem a bug.
It might be a feature request, though I'm not sure what you are suggesting.
nobu (Nobuyoshi Nakada)
09:42 PM Bug #5098 (Closed): bigdecimal/util.rb で定義される to_d メソッドによる型変換と、BigDecimal 関数による型変換が整合していない
BigDecimal() および BigDecimal#coerce との関係より、以下のように修正が必要。
- Float#to_d はオプショナルな精度を受け付けるように変更し、精度が省略された場合は Float::DIG が指定されたものとする。
- Rational#to_d は精度を必須とする。
- Integer#to_d を追加する。
mrkn (Kenta Murata)
04:29 PM Feature #5064: HTTP user-agent class
2011/7/26 Eric Hodel <drbrain@segment7.net>:

> If you are having problems with DNS blocking then require 'resolv/replace' to get non-blocking DNS lookups. Non-blocking DNS in ruby has been available back to 1.6.

Ruby invokes ...
akr (Akira Tanaka)
04:09 PM Feature #5064: HTTP user-agent class
There is no longer a problem with timeouts in Net::HTTP as timeout is no longer used for reads. If you are connecting so fast that timeout is a greater problem than the three-way TCP handshakes and slow-start I think there may be a prob... drbrain (Eric Hodel)
10:44 AM Feature #5064: HTTP user-agent class
I think this is a good API which will avoid the need for a third party library for API convenience. (You didn't go into detail about 'timeout' configuration, but a SINGLE timeout param should exist, possibly along with separate read/open... jrochkind (jonathan rochkind)
04:12 AM Feature #5064: HTTP user-agent class
I have had discussions where people say "Net::HTTP's API is not very good" and people seem to want a better way to use Net::HTTP without trying out one of the many Net::HTTP::Agent-like extensions to the base API.
Having a recommended...
drbrain (Eric Hodel)
04:27 PM Revision 04749b12 (git): * NEWS: add changes of bigdecimal and bigdecimal/util.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
04:17 PM Revision 34fcd440 (git): * vm_method.c (rb_gc_mark_unlinked_live_method_entries): remove unused
variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:17 PM Revision 2621ba04 (git): Merge revisions 32676, 32677, 32679, 32680:
* ext/bigdecimal/lib/bigdecimal/util.rb (Rational#to_d):
zero or negative precision is error. fixes #5098.
[ruby-dev:44210]
* ext/bigdecimal/lib/bigdecimal/util.rb (Float#to_d): modified for
specifying precision. ...
Kenta Murata
04:09 PM Feature #5096: offer Logger-compatibility for syslog ext
Where is a patch or the repository?
Anyway such enhancement should be introduced as a patch to trunk.
We are hard to understand the actual change of this feature.
Moreover adding a new library or replacing a library is hard to acc...
naruse (Yui NARUSE)
09:10 AM Feature #5096: offer Logger-compatibility for syslog ext
I would be happy to import my SyslogLogger gem, but I need someone to decide if it is ok first. drbrain (Eric Hodel)
08:20 AM Feature #5096: offer Logger-compatibility for syslog ext
Bah, I submitted the bug before I finished typing :<
Title should be: "offer Logger-compatibility for syslog ext"
Priority should be: Low
There's http://rubygems.org/gems/SyslogLogger, but I would like to have
ths compatibility b...
normalperson (Eric Wong)
08:16 AM Feature #5096 (Closed): offer Logger-compatibility for syslog ext
There's http://rubygems.org/gems/SyslogLogger, but I would like to have
ths compatibility by default. Having to remember to install the
oddly-capitalized SyslogLogger gem makes things harder than it should
be.
Importing the Syslog...
normalperson (Eric Wong)
04:05 PM Revision 8603c593 (git): * eval_error.c (rb_print_undef_str): new function to raise
NameError for undefined method.
* load.c (rb_mod_autoload_p), object.c (rb_mod_const_get),
variable.c (rb_f_untrace_var, set_const_visibility), vm_method.c
(rb_mod_{remove,undef,alias}_method, set_method_visibility):
remove inadver...
nobu (Nobuyoshi Nakada)
04:05 PM Revision 298349d0 (git): * vm_method.c (obj_respond_to): fix the respond_to_missing? override
case. based on the patch by Jeremy Evans at [ruby-core:38417].
[Feature #5072]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:05 PM Revision 3fbc65d4 (git): * parse.y (rb_check_id): make the given name a symbol or a string.
based on the second patch by Jeremy Evans at [ruby-core:38447]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:02 PM Feature #2567: Net::HTTP does not handle encoding correctly
The problem is not so much forcing the user to figure out how to get correct encoding (charset) but making sure the encoding returned is accurate. If we can add this feature to Net::HTTP in a way that works for most cases that's great. ... drbrain (Eric Hodel)
10:56 AM Feature #2567: Net::HTTP does not handle encoding correctly
how else is a developer/client going to figure out the encoding EXCEPT from the HTTP server response content-type? You pretty much need to set the encoding in ruby 1.9 for the response to be useable. If the Content-Type isn't trustwort... jrochkind (jonathan rochkind)
03:54 PM Revision a3edf1a4 (git): * 2011-07-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:54 PM Revision 1d0cef8f (git): Merge revision 32674:
* bigdecimal/bigdecimal.c (VpDup) a new function for duplicating
a BigDecimal.
* bigdecimal/bigdecimal.c (BigDecimal_new): support generating a new
BigDecimal from another BigDecimal using BigDecimal global function
...
Kenta Murata
03:53 PM Revision de7e116e (git): * property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:49 PM Revision dca0b417 (git): * ext/bigdecimal/lib/bigdecimal/util.rb (Rational#to_d):
zero or negative precision is error. fixes #5098.
[ruby-dev:44210]
* test/bigdecimal/test_bigdecimal_util.rb: add test for the above
change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
03:48 PM Revision 079fb8d4 (git): * ext/bigdecimal/lib/bigdecimal/util.rb (Float#to_d): modified for
specifying precision. fixes #5098. [ruby-dev:44210]
* test/bigdecimal/test_bigdecimal_util.rb: add test for the above
change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
03:48 PM Revision 2fd6b266 (git): * property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:46 PM Revision 2fcb91c7 (git): * ext/bigdecimal/lib/bigdecimal/util.rb (Integer#to_d): added
for symmetry to BigDecimal() function with an Integer.
fixes #5098. [ruby-dev:44210]
* test/bigdecimal/test_bigdecimal_util.rb: add test for the above
change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32677 b2dd03c8-39d4-4d...
Kenta Murata
03:40 PM Revision 5ba05758 (git): * ext/bigdecimal/lib/bigdecimal/util.rb (BigDecimal#to_d): added
for adapting other Numeric subclasses. [ruby-dev:44245]
* test/bigdecimal/test_bigdecimal_util.rb: test for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
03:40 PM Revision a987000b (git): * 2011-07-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:40 PM Revision a2381407 (git): * bigdecimal/bigdecimal.c (VpDup) a new function for duplicating
a BigDecimal.
* bigdecimal/bigdecimal.c (BigDecimal_new): support generating a new
BigDecimal from another BigDecimal using BigDecimal global function
or constructor. [ruby-dev:44245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
Kenta Murata
03:25 PM Bug #2768: SEGV when using OpenSSL::Cipher (AES) in certain way
This patch should fix the SEGV. Still giving much thought whether it's safe to apply or not...
Index: ext/openssl/ossl_cipher.c
===================================================================
--- ext/openssl/ossl_cipher.c (revis...
nahi (Hiroshi Nakamura)
02:37 PM Revision 710dc1af (git): * array.c: Fix typo. https://github.com/ruby/ruby/pull/36
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
11:57 AM Bug #372: Rinda has a race condition
> 1) Failure:
> ...
非常にごくまれに(1回も再現できていません)trunk でもこれが起きることがあるようです。
1) Failure:
test_core_03_notify(Rinda::TupleSpaceTest) [/export/home/ksmakoto/ruby-working/ruby194/ruby-git/test/rinda/test_rinda.rb:398]:
<[0, 3]> expected but...
metanest (Makoto Kishimoto)
08:50 AM Bug #5060 (Closed): Executables in bin folder conflict with their gem versions.
Since I committed r32608 and r32611 I think this issue is now invalid.
If a different version of rake or rdoc are installed they will behave the same as the bundled library. rake _0.9.2.1_ will load the built-in version of rake, for ...
drbrain (Eric Hodel)
12:24 AM Bug #4957 (Closed): IO.copystream seems make hangup on cygwin (was 2011-07-01 Snapshot build)
#5055 で情報更新されているように思えるので close します naruse (Yui NARUSE)
12:24 AM Bug #5027 (Closed): Snapshot(2011-07-14) Build Test Error @Cygwin
#5055 で情報更新されているように思えるので close します naruse (Yui NARUSE)

07/25/2011

11:53 PM Bug #5047: Segfault (most likely involving require)
2011/7/25 Eric Wong <normalperson@yhbt.net>:
> We can pre-allocate the unlinked_method_entry_list_entry struct
> in the METHOD struct and then push it into unlinked_method_entry_list
> in bm_free (untested patch below):

I see...
mame (Yusuke Endoh)
11:29 PM Bug #5047 (Closed): Segfault (most likely involving require)
This issue was solved with changeset r32669.
Jack, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* proc.c (struct METHOD), gc.c (gc_marks), vm_method.c
(rb_gc_m...
mame (Yusuke Endoh)
11:23 PM Bug #5047: Segfault (most likely involving require)
Yusuke ENDOH <mame@tsg.ne.jp> wrote:
> 2011/7/25 Eric Wong <normalperson@yhbt.net>:
> > sidenote: I didn't realize xmalloc() (via rb_unlink_method_entry) is
> > safe/allowed inside bm_free(); but apparently it's only rb_new_obj()
...
normalperson (Eric Wong)
10:29 PM Bug #5047: Segfault (most likely involving require)
Thank you for the trying the patch.
Nobu pointed out that the patch may cause memory leak.
I'll commit a revised version soon.


2011/7/25 Eric Wong <normalperson@yhbt.net>:
> sidenote: I didn't realize xmalloc() (via rb_unl...
mame (Yusuke Endoh)
08:38 AM Bug #5047: Segfault (most likely involving require)
> > With the patch, both trunk and ruby_1_9_3 run without SEGV. My hat's off to you for your exhausting job.
> ...
Me too. You are great.
Offtopic: now 1.9.3 have two high priority (i.e. crash related) bug, #5039 and this. And this w...
kosaki (Motohiro KOSAKI)
07:29 AM Bug #5047: Segfault (most likely involving require)
(2011/07/25 6:35), Hiroshi Nakamura wrote:
> With the patch, both trunk and ruby_1_9_3 run without SEGV. My hat's off to you for your exhausting job.

Me too. Thanks a lot.

--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
06:34 AM Bug #5047: Segfault (most likely involving require)
Yusuke Endoh wrote:
> I probably managed to fix this issue.
> ...
With the patch, both trunk and ruby_1_9_3 run without SEGV. My hat's off to you for your exhausting job.
nahi (Hiroshi Nakamura)
03:23 AM Bug #5047: Segfault (most likely involving require)
Yusuke Endoh <mame@tsg.ne.jp> wrote:
> I probably managed to fix this issue.
> Could anyone try the attached patch?

Seems to work for me.

<snip>
Explanation is good and makes sense to me. Thanks!

sidenote: I didn't...
normalperson (Eric Wong)
11:44 PM Bug #5093 (Closed): DEBUGGER__::Context#debug_print_help に表示されないオプション
debug ライブラリの help で以下のコマンドが表示されないようです。
* pp
* restart
パッチをアタッチしますので、よかったら取り込んでやってください。
sho-h (Sho Hashimoto)
10:49 PM Bug #2768 (Assigned): SEGV when using OpenSSL::Cipher (AES) in certain way
nahi (Hiroshi Nakamura)
10:26 PM Bug #5046 (Closed): Bug with xmlrpc::client, basic auth and long authentication strings
Fixed trunk at r32666 and ruby_1_9_3 at r32668. Thanks! nahi (Hiroshi Nakamura)
07:10 PM Bug #5046 (Assigned): Bug with xmlrpc::client, basic auth and long authentication strings
nahi (Hiroshi Nakamura)
09:48 PM Feature #5088: Refactor and Document vm_method.c / method.h
=begin
You can follow the rework on this location:
((<URL:https://github.com/lazaridis-com/ruby/tree/refactor_vm_method>))
What is the preferred method? Sending refactoring patches one-by-one for commit, or as a one big patch wh...
lazaridis.com (Lazaridis Ilias)
09:29 PM Bug #4934: winsock listen backlog may only be set once, and is set to 5
2011/7/25 Usaku NAKAMURA <redmine@ruby-lang.org>:

> About default value of TCPServer#initialize, I have no opinion.
> akr-san, how do you think about this?

I feel we can challenge SOMAXCONN for trunk (but not for 1.9.3).
-...
akr (Akira Tanaka)
08:03 PM Bug #4934 (Assigned): winsock listen backlog may only be set once, and is set to 5
About the socketpair implimentation of ruby on windows,
I reject your patch.
It accepts only one connection internally, so there is no
need to expand the backlog.
About default value of TCPServer#initialize, I have no opinion.
akr...
usa (Usaku NAKAMURA)
09:05 PM Feature #5054 (Closed): Compress a sequence of ends
One week has passed since the RubyKaigi in which "ennnnnd" was born came to the end. So, I hesitate to say, it's time to close this joke. Yes, this is a JOKE. I'm so sorry Ralph. Honestly your request seems not too bad for me. If you sti... technohippy (Yasushi ANDO)
08:19 PM Bug #1341 (Feedback): pthread_cond_timedwait failing in 1.9.1-p0 thread tests on HP-UX 11i v2
Feedback about HP-UX is welcome naruse (Yui NARUSE)
08:16 PM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
This issue is not a bug, but needs a discussion about new ideal feature. naruse (Yui NARUSE)
08:15 PM Feature #4057: FileUtils.copy with FIFOs and Special Devices
That code seems a preparation of feature extension about FIFOs. naruse (Yui NARUSE)
08:13 PM Bug #4909 (Assigned): trapハンドラは再入されてはいけないのではないか?
naruse (Yui NARUSE)
08:12 PM Bug #4991 (Assigned): Add a method to retrieve raw data from GC::Profiler
naruse (Yui NARUSE)
08:11 PM Bug #5081 (Assigned): LionでTestSyslog が一件 failure
naruse (Yui NARUSE)
08:10 PM Bug #4989 (Assigned): Document Socket constants
naruse (Yui NARUSE)
08:08 PM Bug #4957 (Feedback): IO.copystream seems make hangup on cygwin (was 2011-07-01 Snapshot build)
naruse (Yui NARUSE)
08:08 PM Bug #5027 (Feedback): Snapshot(2011-07-14) Build Test Error @Cygwin
メンテナがいないので、パッチ待ちという形になります。
ご了承くださいませ。
naruse (Yui NARUSE)
08:07 PM Bug #5050 (Feedback): unable remap error when 'make test' on cygwin
naruse (Yui NARUSE)
08:06 PM Bug #5055 (Feedback): ruby-1.9.2-p290 Test Error @Cygwin
naruse (Yui NARUSE)
08:06 PM Bug #5060 (Assigned): Executables in bin folder conflict with their gem versions.
naruse (Yui NARUSE)
08:05 PM Bug #5080 (Closed): Array class rdoc documentation revisions
naruse (Yui NARUSE)
08:04 PM Bug #5059 (Closed): Mailing List
Hi,
You are added by admin.
Sorry for patience and enjoy this ML.
naruse (Yui NARUSE)
08:01 PM Bug #4769 (Rejected): Updated SMTP standards
This patch is not acceptable without further investigation of RFC and implementation of lacked features.
At least some syntax is changed by RFC5321/RFC5322.
naruse (Yui NARUSE)
07:57 PM Feature #4969 (Feedback): Subtle issue with require
naruse (Yui NARUSE)
07:49 PM Bug #3787 (Closed): TCPSocket.new() fails on IPv6 connections for IPV4/IPv6 hosts
I close this as Rejected since no feedback provided.
Please reopen this if it still happens on the latest version of ruby.
naruse (Yui NARUSE)
07:36 PM Bug #4639 (Rejected): net http segmentation fault in ruby 1.9.2-head/1.9.2-p180
The stacktrace looks quite similar to #4611. I close this as duplicate of #4611. Please see #4611 and let us know if it's not the same issue. Thanks! nahi (Hiroshi Nakamura)
07:08 PM Bug #4639 (Assigned): net http segmentation fault in ruby 1.9.2-head/1.9.2-p180
nahi (Hiroshi Nakamura)
06:00 PM Feature #5064: HTTP user-agent class
=begin
NOTE: #2567 can be implemented as a part of this proposal.
=end
naruse (Yui NARUSE)
04:13 AM Feature #5064: HTTP user-agent class
Interesting proposal.
I also sometimes make such agent so I agree the concept.
(there is still a question: why stdlib)
NOTE: [ruby-core:38158] may be related.
naruse (Yui NARUSE)
04:04 PM Bug #4961: [ext/openssl] SSLSession#initialize fails with OpenSSL 0.9.7
Martin Bosslet wrote:
> OK, I found it. The Base64-encoded session in test_ssl_session.rb contains the field
> ...
My bad. It's me who added the test data... Thank you.
nahi (Hiroshi Nakamura)
03:59 PM Bug #5039 (Closed): Re: socket related errors on chkbuild
田中さんの書かれているように、#4923の件と同じでした(#4923は、最初に登録されていたエラーと、途中から議論していたエラーがすり替わっており、その後者と、今回boronで発生するようになったエラーが同じでした)。
SSLSocket#closeでOpenSSLのSSL_shutdown()を呼んでいるんですが、返ってきた後のエラーチェック(およびOpenSSL側エラースタックのクリア)をしていませんでした。使う理由もないので、trunkはr32685、rub...
nahi (Hiroshi Nakamura)
03:18 PM Revision a18b03c9 (git): * 2011-07-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision da5b7f92 (git): * proc.c: pre-allocate the unlinked_method_entry_list_entry struct to
avoid memory allocation during GC. based on a patch from Eric Wong.
[ruby-core:38498]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:40 PM Revision 71ff558e (git): * test/rake/test_rake_directory_task.rb (TestRakeDirectoryTask#
test_directory_win32): fixed wrong test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:29 PM Revision 9a272395 (git): * proc.c (struct METHOD), gc.c (gc_marks), vm_method.c
(rb_gc_mark_unlinked_live_method_entries): fix SEGV bug.
rb_method_entry_t was free'd even when the method is still on the
stack if it is BMETHOD (i.e., Method#call). This is because
rb_method_entry_t is embedded in struct METHOD....
mame (Yusuke Endoh)
01:25 PM Revision 798355f6 (git): * backport r32666 from trunk.
* lib/xmlrpc/client.rb: Fix possible HTTP header formatting failure by
'Basic' header. Long username caused the base64 String truncation in
HTTP header which is not allowed. See #5046.
* test/xmlrpc/test_webrick_server.rb: test it.
...
Hiroshi Nakamura
01:23 PM Revision f23ad92a (git): * forgot to add a test fixture file in r32666.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Hiroshi Nakamura
01:21 PM Revision 2fff0f4f (git): * lib/xmlrpc/client.rb: Fix possible HTTP header formatting failure by
'Basic' header. Long username caused the base64 String truncation in
HTTP header which is not allowed. See #5046.
* test/xmlrpc/test_webrick_server.rb: test it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32666 b2dd03c8-39d4-4...
Hiroshi Nakamura
12:43 PM Bug #4923: [ext/openssl] test_ssl.rb: test_client_auth fails
While investigating #5039, I found that SSL_shutdown() could add something to global error stack in OpenSSL < 0.9.8m, possibly related the OpenSSL 0.9.8m fix Martin posted above. Based on my investigation, that's the reason why 'bad writ... nahi (Hiroshi Nakamura)
12:17 PM Bug #5091 (Rejected): Can't require './.testrb'
nobu (Nobuyoshi Nakada)
12:03 PM Bug #5091: Can't require './.testrb'
My bad. Apparently I was in a variant quantum universe earlier today. trans (Thomas Sawyer)
09:17 AM Bug #5091: Can't require './.testrb'
For require the filename must end in .rb, .so, .dll, .dylib, etc.
load will work with any file extension.
drbrain (Eric Hodel)
07:40 AM Bug #5091 (Rejected): Can't require './.testrb'
Just ran across this oddity. I made a local configuration file called `.testrb`, but I can't require it.
> require './.testrb'
LoadError: no such file to load -- ./.testrb
Just to make sure I did not mess up somehow, I renamed...
trans (Thomas Sawyer)
10:28 AM Bug #5090: Segfault using Enumerator
$ export optflags="-O0 -ggdb"
$ rvm install 1.9.2-p290
$ ruby bug_report.rb bug_report.rb bug_report.rb
Everything works as expected. I should have just tried with the latest patchlevel before submitting the report. Sorry guys! Clos...
robsyme (Robert Syme)
01:23 AM Bug #5090: Segfault using Enumerator
On 24 July 2011 16:30, Robert Syme <rob.syme@gmail.com> wrote:
> I notice that gdb reports "no debugging symbols found". Do I need to recompile ruby for this to work? Do I need to provide a particular flag to configure, and if so, what...
Eregon (Benoit Daloze)
08:41 AM Bug #5082 (Assigned): test_context_switch(TestMarshal) was failed on OS X 10.7 (Lion)
1.9.3は llvm-gcc を使わないことに決めたので。ターゲットを1.9.4に変更します kosaki (Motohiro KOSAKI)
06:38 AM Revision e68c8979 (git): * ext/openssl/lib/openssl/{x509.rb,ssl.rb}: Add deprecation warning
for openssl/{x509,ssl} usage. Users should require "openssl" instead
of "openssl/ssl" and "openssl/x509". Start of transition period
introduced by [ruby-dev:38018].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32...
Hiroshi Nakamura
06:30 AM Revision 0a9b952c (git): * ext/openssl/lib/openssl.rb: End of transition period introduced by
[ruby-dev:38018]. From the next version of 1.9.3, you should use
require "openssl"
instead of
require "openssl/ssl"
and
require "openssl/x509"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32664 b2dd03c8-39d4-4d8f-9...
Hiroshi Nakamura
04:51 AM Revision 8ca65367 (git): * backport r32662 from trunk.
* ext/openssl/lib/openssl/x509.rb: Cosmetic change: move definition
introduced in r30152 to x509-internal.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
04:49 AM Revision 8c30497a (git): * ext/openssl/lib/openssl/x509.rb: Cosmetic change: move definition
introduced in r30152 to x509-internal.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
04:36 AM Revision ca9f3219 (git): * 2011-07-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:36 AM Revision b409d22e (git): * backport r32658 from trunk.
* ext/openssl/ossl_ssl.c (ossl_ssl_shutdown): Avoid randomly generated
SSLError from SSLSocket just after invoking SSLSocket#close.
OpenSSL's SSL_shutdown could try to send alert packet and it might
set SSLerr(global error stack) a...
Hiroshi Nakamura
04:30 AM Revision e80d1f8f (git): * 2011-07-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:30 AM Revision 6c8a2fe2 (git): * ext/openssl/ossl_ssl.c (ossl_ssl_shutdown): Avoid randomly generated
SSLError from SSLSocket just after invoking SSLSocket#close.
OpenSSL's SSL_shutdown could try to send alert packet and it might
set SSLerr(global error stack) as the result. It causes the next
SSL read/write operation to fail by un...
Hiroshi Nakamura

07/24/2011

11:55 PM Feature #4893: Literal Instantiation breaks Object Model
Nobuyoshi Nakada wrote:
> Calling a hook from rb_str_new() is insane.
Mr. Nakada, when the influence of the alcohol goes away, look once more at the code.
Possibly you'll see that I don't call any hooks. It's the existent code, no...
lazaridis.com (Lazaridis Ilias)
10:23 PM Feature #4893 (Rejected): Literal Instantiation breaks Object Model
Calling a hook from rb_str_new() is insane. nobu (Nobuyoshi Nakada)
02:13 PM Feature #4893: Literal Instantiation breaks Object Model
=begin
Related issue: #5088 (Refactor and Document vm_method.c / method.h)
=end
lazaridis.com (Lazaridis Ilias)
11:37 PM Bug #5090: Segfault using Enumerator
Umm, thanks. But I have no idea :-)
gcc -g generates binary with debugging symbol.
But I think that the option is set by default if you build it from a tarball.
I'm not sure if rvm might tweak build option. I'm not familiar with...
mame (Yusuke Endoh)
11:30 PM Bug #5090: Segfault using Enumerator
I notice that gdb reports "no debugging symbols found". Do I need to recompile ruby for this to work? Do I need to provide a particular flag to configure, and if so, what flag? Sorry for my ignorance, this is my first ruby bug report. robsyme (Robert Syme)
11:23 PM Bug #5090: Segfault using Enumerator
$ gdb --args ruby bug_report.rb bug_report.rb bug_report.rb
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-32.el5_6.2)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/license...
robsyme (Robert Syme)
11:13 PM Bug #5090: Segfault using Enumerator
Could you show gdb backtrace?
$ gdb --args ruby bug_report.rb bug_report.rb bug_report.rb
(gdb) run
(gdb) bt
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
10:39 PM Bug #5090 (Closed): Segfault using Enumerator
Running bug_report.rb on my laptop simply raises a StopIteration as expected, but running it on a compute cluster node (Intel Xeon 2.93 GHz - Nehalem series) generates a segfault (below, and in "gcc and output.txt" when getting the next ... robsyme (Robert Syme)
10:50 PM Feature #5065: Allow "}" as an alternative to "end"
Yasushi ANDO wrote:
[...]
> No offense is meant but you may recognize "Category set to Joke" as almost rejection.
Then make it "Status: Joke?".
lazaridis.com (Lazaridis Ilias)
01:47 PM Feature #5065: Allow "}" as an alternative to "end"
Yasushi ANDO wrote:
> The same kinds of requests as "endall" are being discussed on #5054 which is set to Joke. So "endall" can be a joke.
I do not make jokes on a issue-tracking-system of a programming language (I made them on the ...
lazaridis.com (Lazaridis Ilias)
09:09 PM Bug #5047: Segfault (most likely involving require)
I probably managed to fix this issue.
Could anyone try the attached patch?
ko1: May I commit it?
This problem is caused by the combination of the wrong design
of Method class and lack of YARV method entry marking, with
obfuscate...
mame (Yusuke Endoh)
12:23 PM Bug #5047: Segfault (most likely involving require)
2011/7/24 Yusuke ENDOH <mame@tsg.ne.jp>:
> If you need to work around this issue right now, the following patch
> for activesupport might work.

FYI, Aaron fixed activesupport in trunk so quickly :-)

https://github.com/rail...
mame (Yusuke Endoh)
12:23 PM Bug #5047: Segfault (most likely involving require)
Follow-up.

I found activesupport uses UnboundMethod and #bind to check whether
a class instance is singleton or not.


102 def singleton_class?
103 # in case somebody is crazy enough to overwrite allocate
104 ...
mame (Yusuke Endoh)
10:53 AM Bug #5047: Segfault (most likely involving require)
Hello,

Thank you for the reproducing process. I could also comfirmed it.
This is one of the most difficult bug that I have seen...

In short, I've not solved this issue, but I found valgrind with -O0
enlightens us the (maybe) im...
mame (Yusuke Endoh)
09:30 AM Bug #5047: Segfault (most likely involving require)
Random note;
* SEGV on trunk, ruby_1_9_3 and 1.9.2-p280
* SEGV on x86_64-linux but NOT on x86_64-darwin10.8.0 according to @nagachika
* SEGV at GC mark or sweep, and the broken object looks like a singleton class object
* SEGV ca...
nahi (Hiroshi Nakamura)
04:16 PM Feature #5088: Refactor and Document vm_method.c / method.h
=begin
hemant kumar wrote:
> @Ilias,
> ...
Mr. Kumar, I don't know who you are, but the rule you state is not existent within this project.
> and with due respect - wastes Ruby-Core valuable time.
I guess it distracts the list ...
lazaridis.com (Lazaridis Ilias)
02:31 PM Feature #5088: Refactor and Document vm_method.c / method.h
@Ilias,
Please submit any improvement with a patch. It is pointless to open a request without a patch and with due respect - wastes Ruby-Core valuable time.
gnufied (hemant kumar)
02:11 PM Feature #5088 (Closed): Refactor and Document vm_method.c / method.h
=begin
(not a "Feature" but a "Task")
Refactoring and documentation of the following files:
* source:vm_method.c
* source:method.h
* other indirectly affected files
This will not alter the functionality in any way, but will c...
lazaridis.com (Lazaridis Ilias)
03:21 PM Feature #5089 (Closed): Even More Inadvertent Symbol Removal, And Fix Issue With Previous Code
This is the third and hopefully final patch for removing inadvertent symbol creation. It removes it from the following methods:

alias_method
autoload?
private_class_method
private_constant
private
protected
public
public_c...
jeremyevans0 (Jeremy Evans)
11:35 AM Revision 80a7bca4 (git): * ext/socket/extconf.rb: refine the recvmsg test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:35 AM Revision 29f354df (git): * ext/socket/extconf.rb: refine the recvmsg test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:32 AM Feature #1800 (Closed): rubygems can replace system executable files
I've implemented this in the RubyGems repository, but it is too big a change to go into 1.9.3.
Rather than having users opt-in to checking if a RubyGems executable will overwrite something in their bin dir I'm using the following rule...
drbrain (Eric Hodel)
11:04 AM Revision 046bab71 (git): * ext/socket/extconf.rb: fix the recvmsg test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:04 AM Revision 0283c3d0 (git): * ext/socket/extconf.rb: fix the recvmsg test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:46 AM Bug #5076: Mac OS X Lion Support
備忘録として。むらけんのさんのくーるパッチ r32649 によってクラッシュバグは #5081 (syslogのフォーマット変更)以外のfaulureは消えたので、もうLion対応は1.9.3 のblockerではありません。1.9.4までに作業すればよい状況です。
kosaki (Motohiro KOSAKI)
01:05 AM Bug #5032 (Closed): Gem::Specification#loaded? が常に false を返す
This issue was solved with changeset r32652.
okkez, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rubygems/specification.rb: Restore behavior of
Gem::Sp...
drbrain (Eric Hodel)
12:38 AM Feature #5054: Compress a sequence of ends
Magnus Holm wrote:
> Let me just point out that you don't have to have the "end"s on separate lines
As comment #42 and others have pointed out already. :-)
RalphCorderoy (Ralph Corderoy)
12:05 AM Feature #5079 (Closed): More removal of inadvertent symbol creation
This issue was solved with changeset r32645.
Jeremy, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* error.c (rb_name_error_str): new function to raise NameError
...
nobu (Nobuyoshi Nakada)

07/23/2011

11:57 PM Revision b6fd481c (git): * ext/socket/extconf.rb: test recvmsg allocates file descriptors for
fd passing even with MSG_PEEK.
* ext/socket/ancdata.c: use the above test result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:57 PM Revision f5b9de75 (git): * ext/socket/extconf.rb: test recvmsg allocates file descriptors for
fd passing even with MSG_PEEK.
* ext/socket/ancdata.c: use the above test result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:40 PM Bug #4975 (Rejected): DateTime.civil calculates seconds incorrectly with fractional offsets
The contagion of flonum affects the determination of date and time.
You may give it as a rational number or a string.
DateTime.new(2011,5,13,17,31,13,Rational('-0.25'))
#=> #<DateTime: 2011-05-13T17:31:13-06:00 (212172089473/86400,-...
tadf (tadayoshi funaba)
07:29 PM Feature #5054: Compress a sequence of ends
Let me just point out that you don't have to have the "end"s on separate lines:

```ruby
module MyModule
class MyClass
def my_method
10.times do
if rand < 0.5
p :small
end end end...
judofyr (Magnus Holm)
12:49 AM Feature #5054: Compress a sequence of ends
Kurtis Rainbolt-Greene wrote:
> The `endwhile` and `endif` or `fi` solutions aren't *solutions* because they can't be used for block arguments for methods:
(Not "fi", please, awful! :-)
You're correct. It can't. Although there ...
RalphCorderoy (Ralph Corderoy)
04:24 PM Revision ab110271 (git): * lib/rubygems/specification.rb: Restore behavior of
Gem::Specification#loaded. [Ruby 1.9 - Bug #5032]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
04:15 PM Revision 301dfa19 (git): merge revision(s) 32642:
* test/rake/test_rake_functional.rb (setup): Use __FILE__ for the base
directory. Current directory is not the top source directory when
the building process runs on other than there.
* test/rake/test_rake_ra...
naruse (Yui NARUSE)
04:05 PM Revision 6b3ec75c (git): * lib/rubygems/specification.rb: Restore behavior of
Gem::Specification#loaded. [Ruby 1.9 - Bug #5032]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
03:59 PM Revision e1d542bc (git): revert r32648. r32649 is better one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
03:57 PM Revision 1e52e560 (git): revert r32647. r32649 is better one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
03:44 PM Revision 608ac0b1 (git): * configure.in: change the default compiler to gcc-4.2 if target os
is OS X 10.7 (Lion).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
03:19 PM Revision 7e277e52 (git): merge revision(s) 32647:
* configure.in: changed default optflags to -O0 if the compiler is
llvm-gcc. It prevent ruby crash on OS X 10.7 (Lion).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:18 PM Revision e39294ca (git): * configure.in: changed default optflags to -O0 if the compiler is
llvm-gcc. It prevent ruby crash on OS X 10.7 (Lion).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:05 PM Revision 9eba5f65 (git): * 2011-07-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:05 PM Revision 4dc1a218 (git): * error.c (rb_name_error_str): new function to raise NameError
with the name string but not ID.
* object.c, proc.c, variable.c: more removal of inadvertent symbol
creation. [Feature #5079]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:38 PM Bug #4987 (Closed): test/rake doesn't work at all
This issue was solved with changeset r32636.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/rake*: Remove dependencies on flexmock and session ge...
drbrain (Eric Hodel)
02:36 PM Feature #5072: Avoid inadvertent symbol creation in reflection methods
I guess the observation does fail for respond_to?, but it should hold for the other methods (both the ones in here #5072 and the ones in #5079). I've attached a patch here to fix the respond_to_missing? override case, but of course that... jeremyevans0 (Jeremy Evans)
09:37 AM Feature #5072 (Assigned): Avoid inadvertent symbol creation in reflection methods
Hello,
2011/7/22 Jeremy Evans <merch-redmine@jeremyevans.net>:
> This could be fixed using a fairly simple observation, which is that if you do:
> ...
Nobu seemed to commit your patch, but unfortunately, the observation is
false be...
mame (Yusuke Endoh)
12:49 PM Revision a7c15b26 (git): method name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
12:14 PM Revision f0fa1d7a (git): * lib/cmath.rb: should return a real number if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
12:12 PM Bug #5084 (Closed): Re: [ruby-changes:20573] nobu:r32621 (trunk): * object.c (rb_mod_{const,cvar}_defined, rb_obj_ivar_defined):
This issue was solved with changeset r32634.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (rb_check_id): conversion condition was inverse.
[Bu...
nobu (Nobuyoshi Nakada)
12:08 PM Bug #5084 (Closed): Re: [ruby-changes:20573] nobu:r32621 (trunk): * object.c (rb_mod_{const,cvar}_defined, rb_obj_ivar_defined):
2011/7/22 nobu <ko1@atdot.net>:
> nobu 2011-07-22 21:06:42 +0900 (Fri, 22 Jul 2011)
>
> New Revision: 32621
>
> http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32621
>
> Log:
> * object.c (rb_mod_{...
akr (Akira Tanaka)
11:21 AM Revision fe4ceb25 (git): * test/rake/test_rake_functional.rb (setup): Use __FILE__ for the base
directory. Current directory is not the top source directory when
the building process runs on other than there.
* test/rake/test_rake_rake_test_loader.rb: ditto.
* test/rake/test_rake_task_argument_parsing.rb
(test_terminal_width_...
naruse (Yui NARUSE)
11:17 AM Revision f99bed93 (git): * ext/date/date_core.c: an issue that is same as [ruby-dev:44071].
* ext/date/date_strftime.c: identical to [ruby-dev:44112].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
10:37 AM Bug #4651: Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
@Micheal Bleigh
There's a ticket #4945 which in the backport92 project. I think they'll backport that soon.
sikachu (Prem Sichanugrist)
04:31 AM Bug #4651: Bus Error using continuation on x86_64-darwin11.0.0 (Lion)
I'm sorry, but I'm not sure what the resolution of this is for it to be closed. I've just run into the same error with 1.9.2-head (works in 1.9.3-head) on RVM. Is this a fix that is going to be applied to the 1.9.2 branch or is it going ... mbleigh (Michael Bleigh)
10:13 AM Revision e845e35f (git): * test/win32ole/test_err_in_callback.rb (test_err_in_callback):
skip test if ADODB.connection is not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
10:03 AM Bug #5083 (Closed): cref/cbase取得時にSEGV
=begin
辻本です。
以下のコードでSEGVします。
$ ./ruby -e 'Thread.new(&Module.method(:nesting)).join'
$ ./ruby -e 'Thread.new(:to_s, &Module.method(:undef_method)).join'
それぞれrb_vm_cref/rb_vm_cbaseの中でrb_vm_get_ruby_level_next_cfpが0を返すケースに
対応...
ktsj (Kazuki Tsujimoto)
10:03 AM Revision 65658ea0 (git): * parse.y (rb_enc_symname_type): :$a!, @a! and so on are not
valid symbols, so they should be inspected with quotes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:23 AM Feature #5056: About 1.9 EOL
If 2.0 is just a lot compatible iteration of 1.9.3, and could just as easily
be called 1.9.4, then why not just call it 1.9.4? Using the 2.0 version jump
implies a substantial bump in the language, with changes in api's and
compat...
wyhaines (Kirk Haines)
08:53 AM Bug #5047: Segfault (most likely involving require)
On Sat, Jul 23, 2011 at 07:56, Eric Wong <normalperson@yhbt.net> wrote:
>> Does GC.stress help?
>
> I tried it for a while but lost patience while waiting.  I suppose
> I'll try it again while I poke at other things...

Yeah, I w...
nahi (Hiroshi Nakamura)
07:59 AM Bug #5047: Segfault (most likely involving require)
Eric Hodel <drbrain@segment7.net> wrote:
> Does GC.stress help?

I tried it for a while but lost patience while waiting. I suppose
I'll try it again while I poke at other things...

--
Eric Wong
normalperson (Eric Wong)
07:53 AM Bug #5047: Segfault (most likely involving require)
On Jul 22, 2011, at 2:41 PM, Eric Wong wrote:
> Hiroshi Nakamura <nakahiro@gmail.com> wrote:
>> Can someone enlighten me to find the bug?
>
> I started looking into this, too, but haven't found the exact
> cause/solution, eit...
drbrain (Eric Hodel)
06:53 AM Bug #5047: Segfault (most likely involving require)
Hiroshi Nakamura <nakahiro@gmail.com> wrote:
> Can someone enlighten me to find the bug?

I started looking into this, too, but haven't found the exact
cause/solution, either.

It does not seem to be in the tinytds nor bcryp...
normalperson (Eric Wong)
08:28 AM Bug #5082 (Closed): test_context_switch(TestMarshal) was failed on OS X 10.7 (Lion)
Fiberまわりのようなので、他のを直したらついでに直るかも
1) Failure:
test_context_switch(TestMarshal) [/Users/kosaki/ruby/git/test/ruby/test_marshal.rb:383]:
[StopIteration] exception expected, not
Class: <FiberError>
Message: <"uninitialized fiber">
--...
kosaki (Motohiro KOSAKI)
08:26 AM Bug #5081 (Closed): LionでTestSyslog が一件 failure
Lionからsyslogの書式が変わったように見えます
2) Failure:
test_log(TestSyslog) [/Users/kosaki/ruby/git/test/test_syslog.rb:148]:
<"syslog_test: test1 - hello, world!\n"> expected but was
<"Jul 22 23:41:41 KOSAKI-Motohiro-no-MacBook-Pro.local syslo...
kosaki (Motohiro KOSAKI)
08:13 AM Revision 5314b520 (git): * io.c (rb_update_max_fd): validate fd.
* ext/socket/rubysocket.h (rsock_discard_cmsg_resource): add
msg_peek_p argument for the declaration.
* ext/socket/ancdata.c (discard_cmsg): add msg_peek_p argument.
assume FreeBSD, NetBSD and MacOS X doesn't generate passed fd
wh...
akr (Akira Tanaka)
08:13 AM Revision 2bcd502a (git): * io.c (rb_update_max_fd): validate fd.
* ext/socket/rubysocket.h (rsock_discard_cmsg_resource): add
msg_peek_p argument for the declaration.
* ext/socket/ancdata.c (discard_cmsg): add msg_peek_p argument.
assume FreeBSD, NetBSD and MacOS X doesn't generate passed fd
wh...
akr (Akira Tanaka)
07:48 AM Bug #5080 (Closed): Array class rdoc documentation revisions
There are some confusions and inconsistence in the different Array method code examples. I tried to update these and made some adaptations.
Pull Request on Github => https://github.com/ruby/ruby/pull/35
tonini (samuel tonini)
06:05 AM Revision 1a4df686 (git): * test/rake*: Remove dependencies on flexmock and session gems.
[Ruby 1.9 - Bug #4987]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
05:38 AM Revision c93ed570 (git): * test/rake*: Remove dependencies on flexmock and session gems.
[Ruby 1.9 - Bug #4987]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
04:43 AM Feature #5079 (Closed): More removal of inadvertent symbol creation
As I mentioned in an update to #5072, this removes inadvertent symbol creation for the following methods:
class_variable_get
instance_variable_get
remove_class_variable
remove_instance_variable
remove_const
method
instance_metho...
jeremyevans0 (Jeremy Evans)
03:19 AM Revision 12d9be6b (git): * parse.y (rb_check_id): take care of attrset ID created
implicitly by local ID. [Bug #5084]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:12 AM Revision d9242d59 (git): * parse.y (rb_check_id): conversion condition was inverse.
[Bug #5084]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom