Project

General

Profile

Activity

From 04/01/2011 to 04/07/2011

04/07/2011

10:23 PM Bug #4558: TestSocket#test_closed_read fails after r31230
=begin
> ----------------------------------------
> Bug #4558: TestSocket#test_closed_read fails after r31230
> ...
kosaki (Motohiro KOSAKI)
12:53 AM Bug #4558 (Closed): TestSocket#test_closed_read fails after r31230
=begin
After r31230, make test-all reports a failure in test_socket.rb @Mac OS X 10.6.6
% make test-all TESTS=.....
nagachika (Tomoyuki Chikanaga)
03:27 PM Bug #4561 (Assigned): 1.9.2 requires parentheses around argument of method call in an array, where 1.8.7 did not
=begin
=end
naruse (Yui NARUSE)
01:47 PM Bug #4561: 1.9.2 requires parentheses around argument of method call in an array, where 1.8.7 did not
=begin
Same thing with pre formatting:

[dave hladik:~] cat method_call_without_parens_in_array.rb
def method_na...
dschweisguth (Dave Schweisguth)
01:41 PM Bug #4561 (Closed): 1.9.2 requires parentheses around argument of method call in an array, where 1.8.7 did not
[dave hladik:~] cat method_call_without_parens_in_array.rb
def method_name(arg)
end
[ method_name 'value' ]
[d...
dschweisguth (Dave Schweisguth)
11:48 AM Feature #4560 (Closed): [PATCH] lib/net/protocol.rb: avoid exceptions in rbuf_fill
Blindly hitting IO#read_nonblock() and raising is expensive due
to two factors:
1) method cache being scanned/cle...
normalperson (Eric Wong)
11:44 AM Bug #4289: Timeouts in threads cause SEGV
=begin
0002-error.c-rb_mod_sys_fail-use-subclass-and-cache.patch breaks
existing test cases that use assert_raise/as...
normalperson (Eric Wong)
10:55 AM Bug #4289: Timeouts in threads cause SEGV
=begin
I noticed 0002-error.c-rb_mod_sys_fail-use-subclass-and-cache.patch breaks on latest trunk, actually.
=end
normalperson (Eric Wong)
08:45 AM Bug #4289: Timeouts in threads cause SEGV
=begin
Attached are patches to revert r29673 and instate the rb_mod_sys_fail class cache I proposed in [ruby-core:325...
normalperson (Eric Wong)
11:04 AM Revision 4ca9e7d0 (git): * 2011-04-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:04 AM Revision e6ef26ae (git): * include/ruby/io.h: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:07 AM Bug #4559 (Closed): Proc#== does not match the documented behaviour
=begin
To see a paste concisely showing the problem, see https://gist.github.com/899026/ba84d66b02727675320dc4f03163...
aprescott (Adam Prescott)

04/06/2011

09:07 PM Bug #4473: Calling return within begin still executes else
=begin
I can see the same issue happening on Windows also.
=end
mayank.kohaley (Mayank Kohaley)
07:56 PM Bug #4549: Can't start class names with non us-ascii chars
=begin
I beg the differ! ÅÄÖ are all uppercase letters, as oppose to åäö, in the Swedish alphabet.
The problem this...
carl.hoerberg (Carl Hörberg)
04:48 PM Bug #4549 (Rejected): Can't start class names with non us-ascii chars
=begin
It is because Å is not a uppercase letter.
=end
naruse (Yui NARUSE)
02:21 PM Feature #4551: uri.set_scheme should downcase schemes
=begin
Your point is reasonable, but it breaks some cases like
s = 'HTTP://example.com/'
URI(s).to_s == s
=end
naruse (Yui NARUSE)
01:12 PM Feature #4556: Please add option which enable SSLv2 support
=begin
Sorry, The first patch is broken.
I attched new patch.
=end
iwamatsu (Nobuhiro Iwamatsu)
12:58 PM Feature #4556 (Closed): Please add option which enable SSLv2 support
=begin
SSLv2 becomes disabled in much environment, because this has several vulnerabilities.
This patch disable SSL...
iwamatsu (Nobuhiro Iwamatsu)
01:03 PM Bug #4550 (Closed): Loading an RSA public key during an HTTPS connection corrupts the connection
=begin
This issue was solved with changeset r31242.
Eric, thank you for reporting this issue.
Your contribution to Ru...
naruse (Yui NARUSE)
12:08 PM Revision d55cf835 (git): * include/ruby/intern.h: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:23 AM Bug #4289: Timeouts in threads cause SEGV
=begin
Motohiro KOSAKI wrote:
> Running deadlock_test.rb in [Bug#4266] on trunk makes segfault. git bisect indica...
normalperson (Eric Wong)
09:18 AM Bug #4289: Timeouts in threads cause SEGV
=begin
also see
((<[ruby-core:35622]|URL:http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/35622>))
(re...
normalperson (Eric Wong)
07:36 AM Bug #4289: Timeouts in threads cause SEGV
=begin
Hiding, but not fixing the issue is the attached patch:
[PATCH] timeout.rb: avoid introducing new class for...
normalperson (Eric Wong)
08:13 AM Bug #4555 (Closed): [PATCH] ext/socket/init.c: rsock_connect retries on interrupt
=begin
Otherwise I get the following error in test/openssl/test_ssl.rb:
test_verify_result(OpenSSL::TestSSL):
...
normalperson (Eric Wong)
07:42 AM Bug #4266: Timeouts in threads cause "ThreadError: deadlock; recursive locking"
=begin
I have a short-term fix for the related issue in Bug #4289
http://redmine.ruby-lang.org/attachments/1572/0001...
normalperson (Eric Wong)
06:14 AM Revision d5b1fde5 (git): * ext/openssl/ossl_pkey_dh.c (ossl_dh_initialize):
pop pushed error after each try of reading. fixes #4550
* ext/openssl/ossl_pkey_dsa.c (ossl_dsa_initialize): ditto.
...
naruse (Yui NARUSE)
02:44 AM Revision 6fc7c377 (git): * 2011-04-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:44 AM Revision e61d269f (git): * ext/openssl/ossl_pkey_rsa.c (ossl_rsa_initialize):
pop pushed error after each try of reading. fixes #4550
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31242 b2dd...
naruse (Yui NARUSE)

04/05/2011

08:23 PM Feature #4539: Array#zip_with
> http://redmine.ruby-lang.org/issues/4539
>
> Author: Michael Kohl
>
> Inspired by Haskell's `zipWith` function,...
Eregon (Benoit Daloze)
03:55 PM Feature #4539 (Assigned): Array#zip_with
naruse (Yui NARUSE)
04:04 PM Feature #4541 (Assigned): Inconsistent Array.slice()
The fix may be following but it can be a spec...
```diff
diff --git a/array.c b/array.c
index bdeb768..4721387 1...
naruse (Yui NARUSE)
03:56 PM Bug #4530 (Rejected): trunk "make check" gives "cannot load such file -- zlib" and "cannot load such file -- openssl"
=begin
You seem don't install zlib-dev/readline-dev or something.
=end
naruse (Yui NARUSE)
02:33 PM Bug #4554 (Closed): test_set_errors in test_x509store.rb fails on CentOS 5.5
=begin
On CentOS 5.5, test_set_errors in test_x509store.rb fails as follows:
1.9.2 p180
1) Failure:
test_...
yhara (Yutaka HARA)
11:34 AM Revision a63105a4 (git): * include/ruby/encoding.h: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:10 AM Feature #4553 (Rejected): Add Set#pick and Set#pop
=begin
A very common operation on sets is to take an arbitrary element from them at O(1) cost. I know typically
it'...
adgar (Michael Edgar)
05:07 AM Bug #4501: 1.9.2-p180 fails to compile on OSX 10.7
=begin
First, make sure you’ve installed XCode 4.1 DP 2 (you can download it through Apple if you are enrolled in the...
baldwin (Stephen Baldwin)
04:23 AM Bug #4527: [PATCH] IO#close releases GVL if possible
Motohiro KOSAKI <[email protected]> wrote:
> Eric, I commited slightly modified version because your patch c...
normalperson (Eric Wong)
04:05 AM Revision 42caa6dd (git): * 2011-04-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:05 AM Revision 257f7859 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:23 AM Feature #4538: [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
=begin
Charles Oliver Nutter <[email protected]> wrote:
> On Fri, Apr 1, 2011 at 4:57 PM, Eric Wong <normalperso...
normalperson (Eric Wong)

04/04/2011

10:58 PM Bug #4509: Net::IMAP::ResponseParseError: unexpected token CRLF (expected NUMBER)
=begin
=== Better steps to repro
I created a free account on yahoo to reproduce this error. Now, you can repro with ...
digger69 (Mark Nadig)
10:40 PM Bug #4509: Net::IMAP::ResponseParseError: unexpected token CRLF (expected NUMBER)
=begin
(({def a # test - why "Error: file empty." in bug report}))
=end
digger69 (Mark Nadig)
10:34 PM Bug #4509: Net::IMAP::ResponseParseError: unexpected token CRLF (expected NUMBER)
=begin
=== Better steps to repro
I created a free account on yahoo to reproduce this error. Now, you can repro with ...
digger69 (Mark Nadig)
07:12 PM Feature #4532 (Assigned): [PATCH] add IO#pread and IO#pwrite methods
Hi
I personally still dislike pread/pwrite method name, but I give up to argue it because I'm worry about making e...
kosaki (Motohiro KOSAKI)
07:07 PM Bug #4500 (Closed): warning: implicit declaration of function 'fdatasync' for OS X
=begin
=end
kosaki (Motohiro KOSAKI)
01:11 PM Revision 78ea7afe (git): * ext/io/nonblock/nonblock.c (io_nonblock_set): Avoid F_SETFL if
we're not changing the O_NONBLOCK bit. F_SETFL is an expensive
operation since it needs to affect all processes wit...
kosaki (Motohiro KOSAKI)
12:43 PM Revision 3ba502d5 (git): * io.c (rb_io_syswrite): While local FS writes are usually
buffered, the buffers can be full or the file opened with
O_SYNC. IO#syswrite can also be used on blocking IOs
(p...
kosaki (Motohiro KOSAKI)
07:35 AM Feature #4551 (Closed): uri.set_scheme should downcase schemes
=begin
From RFC 2396 section 3.1:
"For resiliency, programs interpreting URI should treat upper case letters as e...
drbrain (Eric Hodel)
05:20 AM Bug #4550 (Closed): Loading an RSA public key during an HTTPS connection corrupts the connection
=begin
The attached file creates an HTTPS connection to gmail.com then loads an RSA public key.
If a private key i...
drbrain (Eric Hodel)
02:51 AM Revision b36f8e6e (git): * 2011-04-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:51 AM Revision 8eb92a67 (git): * test/test_tempfile.rb: simply ignore platform depedent testcases
instead of skipping.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura

04/03/2011

11:36 PM Bug #4545 (Closed): [PATCH] syslog extension documentation improvements and fixes
=begin
I've committed in r31234.
=end
nagachika (Tomoyuki Chikanaga)
10:45 PM Bug #4545: [PATCH] syslog extension documentation improvements and fixes
=begin
Thank you for your patch. It seems good for me.
But I've found a typo: "a shotcut method" -> "a shortcut meth...
nagachika (Tomoyuki Chikanaga)
09:33 PM Bug #4500 (Assigned): warning: implicit declaration of function 'fdatasync' for OS X
=begin
To be honest, I'm not sure Apple's system function support policy. But I'm sure your suggestions were right in...
kosaki (Motohiro KOSAKI)
09:25 PM Bug #4527 (Closed): [PATCH] IO#close releases GVL if possible
Eric, I commited slightly modified version because your patch couldn't apply for latest trunk. Could you please confi... kosaki (Motohiro KOSAKI)
01:58 PM Revision 6a06e940 (git): * ext/syslog/syslog.c: improve rdoc.
a patch by Jonas Pfenniger. [ruby-core:35592] fixes #4545
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31234 b2...
nagachika (Tomoyuki Chikanaga)
01:10 PM Revision 11b1f4ff (git): * ext/zlib/zlib.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:35 PM Revision f4755f21 (git): * configure.in: disable fdatasync again on Mac OS X.
[ruby-core:35493][Bug #4500]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31232 b2dd03c8-39d4-4d8f-98ff-823fe...
kosaki (Motohiro KOSAKI)
12:24 PM Revision 34c46a67 (git): * 2011-04-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:23 PM Revision f35a7770 (git): * io.c (io_reopen): IO#close releases GVL if possible.
close() may block for certain file types (NFS, SO_LINGER
sockets, inotify), so let other threads run. The patch was...
kosaki (Motohiro KOSAKI)
07:23 AM Feature #4538: [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
=begin
On Fri, Apr 1, 2011 at 4:57 PM, Eric Wong <[email protected]> wrote:
> Charles Nutter <[email protected]...
headius (Charles Nutter)

04/02/2011

05:34 PM Bug #4549: Can't start class names with non us-ascii chars
=begin
irb(main):003:0> #encoding: UTF-8
irb(main):004:0* class Åäö; end
SyntaxError: (irb):4: class/mo...
carl.hoerberg (Carl Hörberg)
05:33 PM Bug #4549 (Rejected): Can't start class names with non us-ascii chars
=begin
irb(main):003:0> #encoding: UTF-8
irb(main):004:0* class Åäö; end
SyntaxError: (irb):4: class/module name mu...
carl.hoerberg (Carl Hörberg)
07:23 AM Feature #4538: [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
=begin
Charles Nutter <[email protected]> wrote:
> I wonder, though, if depending on this behavior is leading Ru...
normalperson (Eric Wong)

04/01/2011

07:01 PM Feature #4538: [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
=begin
Understood. I read through a bit more code and saw that Ruby uses pthread signalling and RUBY_VM_CHECK_INTS af...
headius (Charles Nutter)
07:29 AM Feature #4538: [PATCH (cleanup)] avoid unnecessary select() calls before doing I/O
=begin
Charles Nutter <[email protected]> wrote:
> Is it possible to interrupt/wakeup a thread that's doing a di...
normalperson (Eric Wong)
05:46 PM Bug #4547 (Closed): RUBY_HEAP_MIN_SLOTS is not reflected
=begin
nariです。
環境変数RUBY_HEAP_MIN_SLOTSから値を取得して、一番最初のヒープサイズを指定できる機能(rb_gc_set_params())が r31044 にて追加されています。
ですが、ヒ...
authorNari (Narihiro Nakamura)
02:15 PM Bug #4476: [PATCH] URI('http://hoge/b/').route_to('http://hoge/b') wrongly returns './'
=begin
I confirmed. Could you please commit your patch?
=end
akira (akira yamada)
01:29 PM Bug #4534: ri does not open $PAGER with program name only
=begin
(('+1'))

=end
Cezary (Cezary Baginski)
01:26 PM Revision 8a6e9ec0 (git): * ext/syslog/syslog.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:08 AM Bug #4546: ruby-indent-beg-re の値が壊れている
=begin
新しい Redmine に慣れてなくて、patch が崩れてしまいました。
以下に再掲します。

diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
ind...
mrkn (Kenta Murata)
10:06 AM Bug #4546 (Closed): ruby-indent-beg-re の値が壊れている
vim-ruby の indent/ruby.vim を修正しようと思い ruby-mode.el を読んでいたところ
ruby-indent-beg-re の値が壊れているような気がしたので報告します。
r19205 で r...
mrkn (Kenta Murata)
10:02 AM Revision cc8bc6b7 (git): Fri Apr 1 18:53:06 2011 NAKAMURA, Hiroshi <[email protected]>
* lib/webrick/cookie.rb (WEBrick::Cookie.parse): 'white space is
permitted between tokens' according to RFC...
Hiroshi Nakamura
04:19 AM Revision 9d0fbe23 (git): * vm_core.h (RUBY_VM_CHECK_INTS_TH): merge a patch by ko1
in [ruby-dev:43373].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom