Activity
From 04/07/2011 to 04/13/2011
04/13/2011
-
11:37 PM Bug #4575 (Closed): FileUtils.touch の出力が気になる
- =begin
些細な話ですが、FileUtils.touchにnocreateとverboseのオプションを付けた時に出力されるメッセージで、オプションとファイル名が連結して表示されるのが気になります。
irb(main):001:0> RUBY_DESCRIPTION
=> "ruby 1.9.3dev (2011-04-13 trunk 31269) [x86_64-darwin10.7.0]"
irb(main):002:0> require "f... -
11:31 PM Feature #4574: Numeric#within
- =begin
Hello,
Kenta Murata wrote:
> I like Numeric#limit and/or Numeric#clip. I think "limit" is more mathematical, and "clip" is more easy to understand its functionality from its name. So I believe it is acceptable that the bot... -
10:23 PM Feature #4574: Numeric#within
- =begin
Hello,
2011/4/13 <redmine@ruby-lang.org>:
> I prefer this sort of method be an instance method of Range.
I can accept Range method, but why?
I think that the subject of this feature is the limited Numeric.
> You pro... -
09:52 PM Feature #4574: Numeric#within
- =begin
For Japanese: clamp は漫画家じゃなくて万力/締め具のことです:)
=end
-
09:49 PM Feature #4574: Numeric#within
- =begin
I prefer this sort of method be an instance method of Range.
You propse Range#bound, but 'bound' as a verb is similar to jump/leap (and its intransitive), isn't it? Do you mean past particle form of 'bind' ?
Anyway I propos... -
09:42 PM Feature #4574: Numeric#within
- =begin
I like Numeric#limit and/or Numeric#clip. I think "limit" is more mathematical, and "clip" is more easy to understand its functionality from its name. So I believe it is acceptable that the both names are provided.
In contras... -
09:05 PM Feature #4574 (Rejected): Numeric#within
- =begin
Hello,
Many people have written programs that limits an integer/float
within a range like:
v = [[v, min].max, max].min
or
v = v < min ? min : (v < max ? v : max)
or
if v < min
v = min
elsif max < ... -
09:23 PM Bug #4558: TestSocket#test_closed_read fails after r31230
- =begin
Hi
2011/4/13 U.Nakamura <usa@garbagecollect.jp>:
> Hello,
>
> In message "[ruby-core:35725] Re: [Ruby 1.9 - Bug #4558][Assigned] TestSocket#test_closed_read fails after r31230"
> Â Â on Apr.12,2011 21:31:46, <kosaki.motoh... -
01:29 PM Bug #4558: TestSocket#test_closed_read fails after r31230
- =begin
Hello,
In message "[ruby-core:35725] Re: [Ruby 1.9 - Bug #4558][Assigned] TestSocket#test_closed_read fails after r31230"
on Apr.12,2011 21:31:46, <kosaki.motohiro@gmail.com> wrote:
> > Or, please explain grounds fro... -
09:14 PM Feature #4569: Replace IPAddr with IPAddress
- =begin
Jonas Pfenniger wrote:
> Hi Marco, awesome lib.
Thank you Jonas
> ...
Never thought about that, but it's a good point. IPv4#[] is an alias to IPv4#octet, just some syntax sugar, could be easily removed if we think it may... - 03:43 PM Revision b642a738 (git): * 2011-04-14
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:43 PM Revision d4d13162 (git): * thread.c (thread_fd_close_i): IOError exception should be assigned
- to rb_thread_t::thrown_errinfo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:22 AM Revision a52dce92 (git): * 2011-04-13
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:22 AM Revision c5a284aa (git): * io.c (rb_io_fdatasync): remove unused variable.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:45 AM Feature #4568: [PATCH] file.c (rb_group_member): kill 256K of stack usage
- =begin
Eric Wong <normalperson@yhbt.net> wrote:
> Lowering RUBY_STACK_MIN_LIMIT to 64KB across the board in
> thread_pthread.c seems to work fine for check, test-rubyspec,
> benchmark-each.
>
> No real code, though, and I als...
04/12/2011
-
10:23 PM Bug #4558: TestSocket#test_closed_read fails after r31230
- =begin
> Issue #4558 has been updated by Eric Wong.
>
> I consider either Errno::EBADF or IOError to be acceptable.
Hmm...
I can't agree this. If EBADF can be observed, we can observe completely
unrelated file when a fd number wa... -
10:23 PM Bug #4558: TestSocket#test_closed_read fails after r31230
- =begin
2011/4/12 <redmine@ruby-lang.org>:
>
> Issue #4558 has been updated by Usaku NAKAMURA.
>
> Category changed from core to test
> Status changed from Closed to Assigned
> Assignee set to Motohiro KOSAKI
>
> I have ... -
11:29 AM Bug #4558: TestSocket#test_closed_read fails after r31230
- =begin
I consider either Errno::EBADF or IOError to be acceptable.
The main thing I care about is I/O for pipes/sockets being interruptable
(I only work on *nix).
By the way, test/socket/test_socket.rb has had a similar test for m... -
10:55 AM Bug #4558 (Assigned): TestSocket#test_closed_read fails after r31230
- =begin
I have no opinion about this topic, but the test code which was checked in at r31260 by kosaki-san is platform dependent.
It blocks on Windows, and stops all tests.
I request to revert it.
Or, please explain grounds from whic... -
09:16 PM Feature #4553: Add Set#pick and Set#pop
- =begin
#pop is often associated to stack operations, which implies an order. Unless a better name is found, isn't set.delete(set.take) enough ?
#take can be an alias of #first but I'm not sure if Enumerable should be included in Set i... -
09:05 AM Feature #4553: Add Set#pick and Set#pop
- =begin
The ruby-core e-mail I sent appeared to not attach to the issue on Redmine. I apologize for the noise.
-----------------------------------------------------------
The existence of `Set#first` is an artifact of Set including ... -
09:10 PM Feature #4541: Inconsistent Array.slice()
- I don't see the advantage of having nil returned in any case since the empty array already expresses the "there is no object in that range".
Out of bound can be tested separately if necessary, but most of the cases you just want to ge... -
09:02 PM Bug #4573 (Closed): [BUG] Segmentation fault - Ruby interpreter (CUI) 1.9.2p180 [i386-mingw32] has stopped working
- =begin
Scenario : run existing ROR application on windows 7 with Service Pack 1 installed (all windows updates were done)
(this same application works fine on xp and ubuntu)
Note: I have installed on my machine mysql 5.1
Steps follo... -
08:18 PM Bug #4515: File.each_line read all lines of file as one line
- =begin
Hi,
The default line separator is a newline ("\n"), but if you want to
change it, try f.each_line("\r") instead.
matz.
In message "Re: [ruby-core:35534] [Ruby 1.9 - Bug #4515][Open] File.each_line read all... -
08:17 PM Bug #4515: File.each_line read all lines of file as one line
- =begin
Hi,
The default line separator is a newline ("\n"), but if you want to
change it, try f.each_line("\r") instead.
matz.
In message "Re: [ruby-core:35534] [Ruby 1.9 - Bug #4515][Open] File.each_line read all... -
08:18 PM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
- =begin
Eric Wong <normalperson@yhbt.net> wrote:
> KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> > Umm..
> > I don't like its interface so much. your flock object don't mange any lock
> > state. it's merely wrapper of argu... -
08:18 PM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
- =begin
KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> Umm..
> I don't like its interface so much. your flock object don't mange any lock
> state. it's merely wrapper of argument of fcntl. your interface mean we need
> two ... -
08:18 PM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
- =begin
Hi
>> I've commited slightly modified version today (r31025).
>> The difference is,
>>
>> 1) All IO.fcntl() and IO.iocntl() relese GVL instead only SETLCKW. because,
>> Â Â A) if a user are using network filesystem, almo... -
08:18 PM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
- =begin
KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> Hi
>
> I've commited slightly modified version today (r31025).
> The difference is,
>
> 1) All IO.fcntl() and IO.iocntl() relese GVL instead only SETLCKW. because... -
08:18 PM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
- =begin
Hi
2011/3/3 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>> Issue #4463 has been reported by Eric Wong.
>>
>> ----------------------------------------
>> Bug #4463: [PATCH] release GVL for fcntl() for operations that... -
08:18 PM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
- =begin
> Issue #4463 has been reported by Eric Wong.
>
> ----------------------------------------
> Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
> http://redmine.ruby-lang.org/issues/4463
>
> Auth... -
08:17 PM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
- =begin
Eric Wong <normalperson@yhbt.net> wrote:
> KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> > Umm..
> > I don't like its interface so much. your flock object don't mange any lock
> > state. it's merely wrapper of argu... -
08:17 PM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
- =begin
KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> Umm..
> I don't like its interface so much. your flock object don't mange any lock
> state. it's merely wrapper of argument of fcntl. your interface mean we need
> two ... -
08:17 PM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
- =begin
Hi
>> I've commited slightly modified version today (r31025).
>> The difference is,
>>
>> 1) All IO.fcntl() and IO.iocntl() relese GVL instead only SETLCKW. because,
>> Â Â A) if a user are using network filesystem, almo... -
08:17 PM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
- =begin
KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> Hi
>
> I've commited slightly modified version today (r31025).
> The difference is,
>
> 1) All IO.fcntl() and IO.iocntl() relese GVL instead only SETLCKW. because... -
08:17 PM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
- =begin
Hi
2011/3/3 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:
>> Issue #4463 has been reported by Eric Wong.
>>
>> ----------------------------------------
>> Bug #4463: [PATCH] release GVL for fcntl() for operations that... -
08:17 PM Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
- =begin
> Issue #4463 has been reported by Eric Wong.
>
> ----------------------------------------
> Bug #4463: [PATCH] release GVL for fcntl() for operations that may block
> http://redmine.ruby-lang.org/issues/4463
>
> Auth... -
08:18 PM Bug #3972: r28668 breaks test/unit when combined with the testing rake task
- =begin
On Tue, Feb 22, 2011 at 11:39:20PM +0900, Tomoyuki Chikanaga wrote:
> Issue #3972 has been updated by Tomoyuki Chikanaga.
>
>
> Hi,
>
> After r30913, make test-all output warning and testunit message in test_rake_integra... -
08:17 PM Bug #3972: r28668 breaks test/unit when combined with the testing rake task
- =begin
On Tue, Feb 22, 2011 at 11:39:20PM +0900, Tomoyuki Chikanaga wrote:
> Issue #3972 has been updated by Tomoyuki Chikanaga.
>
>
> Hi,
>
> After r30913, make test-all output warning and testunit message in test_rake_integra... -
08:18 PM Feature #4568: [PATCH] file.c (rb_group_member): kill 256K of stack usage
- =begin
Lowering RUBY_STACK_MIN_LIMIT to 64KB across the board in
thread_pthread.c seems to work fine for check, test-rubyspec,
benchmark-each.
No real code, though, and I also don't know what outside C extensions
do, but 64KB... -
08:17 PM Bug #4527: [PATCH] IO#close releases GVL if possible
- Motohiro KOSAKI <kosaki.motohiro@gmail.com> wrote:
> Eric, I commited slightly modified version because your patch couldn't
> ...
Thanks, looks like you missed the following hunk in rb_io_reopen():
```diff
diff --git a/io.c b/io.c
... -
07:20 PM Bug #4572 (Closed): URI.encode_www_form_component and decode_www_form_component are not threadsafe
- =begin
This issue was solved with changeset r31266.
John, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/uri/common.rb: avoid race condition. fixes #4572
=end
-
02:24 PM Bug #4572 (Closed): URI.encode_www_form_component and decode_www_form_component are not threadsafe
- =begin
The initializations of TBLENCWWWCOMP_ and TBLDECWWWCOMP_ suffer from an obvious race condition. If multiple threads enter either the function for the first time, it may produce unexpected results. The initializations should be don... -
07:14 PM Feature #4569: Replace IPAddr with IPAddress
- =begin
Hi Marco, awesome lib. I read trough it and here are the thoughts I had:
* IPAddr#[] and IPAddr#each don't hold the same elements, could it be a source of confusion ?
* Is it possible to avoid extending the ruby core ?
Cheers,
J... -
04:55 PM Feature #4569 (Assigned): Replace IPAddr with IPAddress
- =begin
=end
-
12:02 AM Feature #4569 (Closed): Replace IPAddr with IPAddress
- =begin
Hello,
following the discussion we had a few months ago about replacing IPAddr with IPAddress [1]. Here is the formal request.
IPAddress is now at version 0.7.5
URL: https://github.com/bluemonk/ipaddress
I think it's... -
04:58 PM Bug #4571 (Assigned): YAML.load given an ISO8601 timestamp creates an incorrect value for usec
- =begin
=end
-
08:18 AM Bug #4571 (Closed): YAML.load given an ISO8601 timestamp creates an incorrect value for usec
- =begin
$ ruby1.8.7 -v -ryaml -e 'p YAML.load("2011-03-22t23:32:11.000000342222+01:00").usec'
ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin9.8.0]
342222
$ ruby1.9.2 -v -ryaml -e 'p YAML.load("2011-03-22t23:32:11.000000342222+0... -
01:13 PM Bug #4562: [pull requested] ./config no-ssl2で作ったopensslとext/opensslが混ざらない
- =begin
Yui NARUSE wrote:
> Iwamatsu さんに ext/openssl のメンテナになってもらって、
> ...
Laurent Arnoud さんのパッチ(こちらのパッチ)のほうがよいと思います。
パッチを適用して、動作確認まで行いました。
=end
-
11:54 AM Revision 77a12692 (git): * include/ruby/st.h: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:20 AM Revision 8553b70a (git): * lib/uri/common.rb: avoid race condition. fixes #4572
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:08 AM Revision dd11a58b (git): * ext/readline/extconf.rb: --disable-libedit to disable
- libedit. fixes #4550
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:17 AM Bug #4566: followup of [ruby-core:32747]
- =begin
>>The patch seems wrong: first is the way check the gcc version, and the condition also wrong.
the definitive solution would be leaving only following line
:#define DECL_SC_REG(type, r, reg) register type reg_##r
> ...
to be ho... -
01:51 AM Feature #4570 (Closed): [PATCH v2] io.c (rb_io_close): release GVL if possible
- =begin
v2 of this change should fix issue #4558 and
be cleaner than the original proposed fixes.
Also pushed to my repo: git pull git://bogomips.org/ruby io-close-nogvl2
=end
-
01:42 AM Bug #4564 (Closed): mingw-w64, truncate, ftruncate and ftello -- properly evalute it's existence
- =begin
Thank you.
Committed in r31262
=end
- 01:39 AM Revision c3b81f63 (git): * include/ruby/win32.h: VC doesn't have ftruncate() and others, but
- ruby needs HAVE_ macros to use our emulation functions.
(fix the problem of 31262)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:04 AM Bug #4555: [PATCH] ext/socket/init.c: rsock_connect retries on interrupt
- =begin
Your patch looks reasonable to me, but maybe some platforms break under it...
I was trying to emulate rb_io_wait_writable() logic which calls
rb_thread_fd_writable() (which wraps select() if there are multiple threads).
Maybe...
04/11/2011
-
11:08 PM Bug #4555: [PATCH] ext/socket/init.c: rsock_connect retries on interrupt
- =begin
Hi
I'm not convinced why we can safely call select() when we get EINTR. IOW,
Why don't you choose following patch?
Index: ext/socket/init.c
===================================================================
--- ext/soc... -
10:23 PM Bug #4558: TestSocket#test_closed_read fails after r31230
- =begin
> Subject: [PATCH] io.c (rb_io_close): ensure IOError for cross-thread closes
>
> We need to inform threads to stop operations on the FD before
> closing it and also invalidate the fd member of the rb_io_t
> struct for other ... -
09:53 PM Bug #4558 (Closed): TestSocket#test_closed_read fails after r31230
- =begin
r31230 was revered by r31261.
=end
-
10:00 PM Bug #4526 (Closed): [PATCH] IO#syswrite releases GVL
- =begin
Committed by r31237.
=end
-
09:54 PM Bug #4527 (Rejected): [PATCH] IO#close releases GVL if possible
- The patch reverted because it made a regression (see [Bug #4558])
-
09:19 PM Feature #4568 (Closed): [PATCH] file.c (rb_group_member): kill 256K of stack usage
- =begin
Commited by r31259.
=end
-
05:23 PM Feature #4568: [PATCH] file.c (rb_group_member): kill 256K of stack usage
- =begin
Lowering RUBY_STACK_MIN_LIMIT to 64KB across the board in
thread_pthread.c seems to work fine for check, test-rubyspec,
benchmark-each.
No real code, though, and I also don't know what outside C extensions
do, but 64KB... -
04:01 PM Feature #4568 (Closed): [PATCH] file.c (rb_group_member): kill 256K of stack usage
- =begin
It was using 256K stack on my x86_64 machine.
Found with scripts/checkstack.pl in the Linux kernel source:
objdump -D ./ruby | ~/linux-2.6/scripts/checkstack.pl x86_64
Also pushed to my repo: git pull git://bogomips.... - 04:38 PM Revision ace092cb (git): * 2011-04-12
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:38 PM Revision c2bfeaa2 (git): Evaluate truncate, ftruncate and ftello existence
- This corrects mingw-w64 compilation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:52 PM Revision 0f771e33 (git): * io.c: revert r31230.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:50 PM Revision 616f70fc (git): * test/ruby/test_io.rb: Added TestIO#test_cross_thread_close_stdio
- and TestIO#test_cross_thread_close_fd.
The patch was written by Eric Wong. [ruby-core:35669]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:18 PM Revision 3b011d1a (git): * file.c (rb_group_member): kill 256K of stack usage.
- the patch was written by Eric Wong. [ruby-core:35699]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:24 AM Bug #4566: followup of [ruby-core:32747]
- =begin
The patch seems wrong: first is the way check the gcc version,
and the condition also wrong.
Additional to say, I doubt that this bug is reproduced only on mingw32.
=end
-
10:27 AM Bug #4565 (Assigned): incompatible change at rev.31169 about autoload
- =begin
=end
-
09:25 AM Bug #4564 (Assigned): mingw-w64, truncate, ftruncate and ftello -- properly evalute it's existence
- =begin
It seems good.
Check in, please.
=end
-
09:23 AM Feature #4560: [PATCH] lib/net/protocol.rb: avoid exceptions in rbuf_fill
- =begin
redmine@ruby-lang.org wrote:
> On JRuby master, I've made a change that does not generate backtraces
> for EAGAIN, to avoid the overhead of generating it for the expected
> case of read_nonblock having nothing available. Bu... -
07:46 AM Feature #4560: [PATCH] lib/net/protocol.rb: avoid exceptions in rbuf_fill
- =begin
This is an interesting one. JRuby recently changed how we generate backtraces to using the Java backtrace as the master. This means our backtraces are as expensive to generate as a full Java backtrace for the full stack (think gen... -
07:23 AM Feature #4539: Array#zip_with
- =begin
Hi,
On 2011年4月10日日曜日 at 11:56, Marc-Andre Lafortune wrote:
> On Sat, Apr 9, 2011 at 4:29 AM, Kenta Murata <muraken@gmail.com> wrote:
> > I implemented the features in C, and wrote tests for them.
> > Please see the fol... -
05:58 AM Bug #4567 (Assigned): BigDecimal::ROUND_HALF_DOWN
- =begin
=end
-
02:36 AM Bug #4567 (Closed): BigDecimal::ROUND_HALF_DOWN
- =begin
SImilar to the issue here [[http://redmine.ruby-lang.org/issues/3803]], BigDecimal::ROUND_HALF_DOWN does not respect all the digits involved in the rounding of a number. For example:
(({BigDecimal("1.51").round(0, BigDecimal::...
04/10/2011
- 10:24 PM Revision 2934feb9 (git): * 2011-04-11
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:24 PM Revision 091ea0ed (git): * ext/openssl/ossl.c: Fix typo, document version constants.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:23 PM Feature #4539: Array#zip_with
- =begin
On Sat, Apr 9, 2011 at 2:13 PM, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
>
> I am not sure whether adding new zip_with or adding zip with symbol at
> last would be better. Any opinion?
>
> ... -
12:29 PM Feature #4539: Array#zip_with
- =begin
Hi,
2011/4/9 Yukihiro Matsumoto <matz@ruby-lang.org>:
> I am not sure whether adding new zip_with or adding zip with symbol at
> last would be better. Â Any opinion?
I'm neutral for adding zip with symbol at last, but I
... -
12:23 PM Feature #4539: Array#zip_with
- =begin
HI,
On Sat, Apr 9, 2011 at 10:13 PM, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
> I am not sure whether adding new zip_with or adding zip with symbol at
> last would be better. Â Any opinion?
I vote to adding zip with... -
12:23 AM Feature #4539: Array#zip_with
- =begin
Hello,
On 9 April 2011 15:13, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:
| Hi,
|
| I am not sure whether adding new zip_with or adding zip with symbol at
| last would be better. Â Any opinion?
|
| Â Â Â Â Â Â Â ... -
04:23 PM Bug #4558: TestSocket#test_closed_read fails after r31230
- =begin
Tomoyuki Chikanaga <redmine@ruby-lang.org> wrote:
> These patches seem good and after applying them, make test-all passes
> all tests except a test for parallel_test in my environment. thanks!
Thanks for reporting and he... -
01:41 PM Bug #4566 (Third Party's Issue): followup of [ruby-core:32747]
- =begin
[ruby-core:32747]
Index: vm_exec.c
===================================================================
--- vm_exec.c (revision 31234)
+++ vm_exec.c (working copy)
@@ -11,7 +11,7 @@
#include <math.h>
-#if... -
01:24 PM Revision 4db93c3f (git): * include/ruby/ruby.h: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:29 AM Bug #4565 (Closed): incompatible change at rev.31169 about autoload
- =begin
After rev.31169, const_defined? about a pre-autoloading constant on a included module returns true.
# Ruby/Tk cannot work on rev.31169 or later.
On ruby1.8 and before rev.31169, returns false.
For example, the following ... -
03:32 AM Bug #4564 (Closed): mingw-w64, truncate, ftruncate and ftello -- properly evalute it's existence
- =begin
Hello,
I'm using latest mingw-w64 builds that target in a experimental way GCC 4.7.0 codebase (gcc trunk)
mingw-w64 also combines improved CRT and headers support, which in this case included truncate, ftruncate and ftello ...
04/09/2011
-
11:23 PM Feature #4539: Array#zip_with
- =begin
Hi,
On 9 April 2011 10:29, Kenta Murata <muraken@gmail.com> wrote:
> Hi,
>
> I implemented the features in C, and wrote tests for them.
> Please see the following diffs:
> https://github.com/mrkn/ruby/commit/9c7ead0e3... -
10:23 PM Feature #4539: Array#zip_with
- =begin
Hi,
In message "Re: [ruby-core:35673] Re: [Ruby 1.9 - Feature #4539][Assigned] Array#zip_with"
on Sat, 9 Apr 2011 17:29:28 +0900, Kenta Murata <muraken@gmail.com> writes:
|I implemented the features in C, and wrot... -
06:23 PM Feature #4539: Array#zip_with
- =begin
Hi,
On 2011年4月5日火曜日 at 19:50, Benoit Daloze wrote:
> Here is a gist with a Ruby implementation of the modifications for
> Array#zip: https://gist.github.com/903388
> I'm wishing to do a C implementation if this feels r... -
06:14 PM Bug #4558: TestSocket#test_closed_read fails after r31230
- =begin
Hi Eric,
These patches seem good and after applying them, make test-all passes all tests except a test for parallel_test in my environment. thanks!
=end
-
12:29 PM Bug #4558: TestSocket#test_closed_read fails after r31230
- =begin
Eric Wong <normalperson@yhbt.net> wrote:
> Thanks for testing, think I have a better fix below (supercedes my
> original fix)
>
> Also pushed to the "io-close-fixes" branch of git://bogomips.org/ruby.git
Oops, I br... -
12:23 PM Bug #4558: TestSocket#test_closed_read fails after r31230
- =begin
KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> After while thinking, I conclude I was wrong. If rb_io_fptr_cleanup()
> raise a exception, We don't have to kill other threads. So, now I'm
> incline to revert r31230. Hm... -
12:23 PM Bug #4558: TestSocket#test_closed_read fails after r31230
- =begin
Tomoyuki Chikanaga <redmine@ruby-lang.org> wrote:
> ruby -v changed from - to ruby 1.9.3dev (2011-04-05 trunk 31241) [x86_64-darwin10.6.0]
>
> Hi,
>
> I applied Eric's patch, but TestSocket#test_closed_read still repo... -
09:15 AM Bug #4558: TestSocket#test_closed_read fails after r31230
- =begin
Hi,
I applied Eric's patch, but TestSocket#test_closed_read still report same failure.
I can reproduce EBADF with following script.
r, w = IO.pipe
read_thread = Thread.new{ r.read(1) }
sleep(0.1) until read_thread.st... -
01:23 AM Bug #4558: TestSocket#test_closed_read fails after r31230
- =begin
2011/4/8 Eric Wong <normalperson@yhbt.net>:
> KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
>> > ----------------------------------------
>> > Bug #4558: TestSocket#test_closed_read fails after r31230
>> > http://redmine... -
03:54 PM Bug #4289: Timeouts in threads cause SEGV
- =begin
I found a way to fix the issue without breaking user-facing code and still keep
performance :D
I just use a flag to mark a singleton class as ephemeral and have the method
cache bypass caching (and expiry) of short-lived ephe... - 03:10 PM Revision 2350bd94 (git): * 2011-04-10
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:10 PM Revision 6eb77404 (git): * ext/stringio/stringio.c (strio_each, strio_readlines):
- Use `NUM2LONG` instead of `FIX2INT`. Fixes [ruby-dev:43395].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:28 PM Revision 4e817b39 (git): * ext/stringio/stringio.c (strio_each):
- Fix exception message and don't raise immediately if block is not given.
Fixes [ruby-dev:43394].
* test/stringio/test_stringio.rb (test_each_line_limit_0):
Fix test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31253... -
01:01 PM Revision 0a69f2e3 (git): * ext/stringio/stringio.c (strio_each, strio_readlines):
- limit must not be zero. Fixes [ruby-dev:43392].
* test/stringio/test_stringio.rb: Add tests for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:02 AM Revision 699c3de1 (git): * 2011-04-09
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:02 AM Revision eb7d6881 (git): * include/ruby/util.h: parenthesize macro arguments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
04/08/2011
-
02:25 PM Bug #4549: Can't start class names with non us-ascii chars
- =begin
Use decomposed string. In this case,
class A\u030Aa\u0308o\u0308
end
Ruby considers it is begin with ASCII uppercased character: constant.
=end
-
02:07 PM Feature #3375: --disable-libedit to disable libedit
- =begin
Bug #1823 と #3827 もよろしう
=end
-
02:02 PM Feature #3375: --disable-libedit to disable libedit
- =begin
=end
-
10:30 AM Feature #3375: --disable-libedit to disable libedit
- =begin
Shyouhei Urabe wrote:
> ext/readlineのメンテナの高尾さん:
> ...
すみません、確認できておりませんでした。
今日中に動作確認して問題がないようであればコミットします。
=end
-
01:29 AM Feature #3375: --disable-libedit to disable libedit
- =begin
ext/readlineのメンテナの高尾さん:
本件の進捗状況についてうかがいたいです。
=end
-
09:38 AM Bug #4455 (Closed): rubygem's test fails when source directory and build directory differ
- =begin
r31147 and r31151.
=end
-
09:31 AM Bug #4555 (Assigned): [PATCH] ext/socket/init.c: rsock_connect retries on interrupt
- =begin
=end
-
09:29 AM Bug #4562: [pull requested] ./config no-ssl2で作ったopensslとext/opensslが混ざらない
- =begin
Iwamatsu さんに ext/openssl のメンテナになってもらって、
なひさんや Martin さんと合議してもらえばいいんじゃないかと思い始めていたりはします。
=end
-
08:52 AM Bug #4562: [pull requested] ./config no-ssl2で作ったopensslとext/opensslが混ざらない
- =begin
こんにちは。
同じ問題を issues/4556 でレポートしています。
=end
-
01:25 AM Bug #4562 (Closed): [pull requested] ./config no-ssl2で作ったopensslとext/opensslが混ざらない
- =begin
ext/opensslにpull requestがきているので誰か判断してほしいんですが、誰に振るべきですかね。
https://github.com/ruby/ruby/pull/12
なおパッチを(私が)見た感じによると(私には)問題ない気がしてはいます。
=end
-
08:51 AM Feature #4556: Please add option which enable SSLv2 support
- =begin
Other patches exist.
https://github.com/spk/ruby/commit/dbe76bb2c83ed393c2aee09d6419b3d3062bbda3
=end
- 07:50 AM Revision 8999a9d4 (git): * 2011-04-08
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:50 AM Revision 653b4248 (git): * ext/stringio/stringio.c (strio_getline): check whether str is
- a string when str and lim are given.
https://twitter.com/watson1978/status/56225052152168449
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:23 AM Bug #4558: TestSocket#test_closed_read fails after r31230
- =begin
KOSAKI Motohiro <kosaki.motohiro@gmail.com> wrote:
> > ----------------------------------------
> > Bug #4558: TestSocket#test_closed_read fails after r31230
> > http://redmine.ruby-lang.org/issues/4558
>
> I think cur... -
03:40 AM Feature #4553: Add Set#pick and Set#pop
- =begin
Hi.
There is no difference between your `Set#pick` and the existing `Set#first`. As such, there is no need for `pick`.
One can get the effect of `Set#pop` by calling the existing `Set#delete` with the result of `Set#first` (... -
03:01 AM Feature #4541: Inconsistent Array.slice()
- Hi,
On Tue, Apr 5, 2011 at 3:04 AM, Yui NARUSE <redmine@ruby-lang.org> wrote:
>
> ...
With all due respect, I am strongly opposed to that change. There is no way that the following results should change:
```ruby
array[0...3] # =... -
01:09 AM Bug #4561: 1.9.2 requires parentheses around argument of method call in an array, where 1.8.7 did not
- =begin
That has bitten me a few times too, but I accepted it as it is probably clearer in a long expression.
I'm curious to see why this changed.
=end
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
> http://redmine.ruby-lang.org/issues/4558
I think current rb_io_close() is broken. We have to call rb_thread_fd_clos... -
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=../ruby/test/socket/test_socket.rb
./miniruby -I../ruby/lib -I. -I.ext/common ../ruby/tool/runruby.rb --extout=.ext --... -
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
-
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_name(arg)
end
[ method_name 'value' ]
[dave hladik:~] rvm system
[dave hladik:~] ruby -v
ruby 1.8.7 (2011-02-18 patc... -
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' ]
[dave hladik:~] ruby -v
ruby 1.8.7 (2011-02-18 patchlevel 334) [i686-darwin10]
[dave hladik:~] ruby method_call_without_... -
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/cleared when the IO::WaitReadable
extended class is GC-ed
2) backtrace generation
This reduces the likelyhood of an IO... -
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/assert_raises. This
may be a dealbreaker for the patch, unfortunately...
Actual code that uses "rescue Errno::EAGAIN"... -
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
-
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:32508]
=end
- 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
-
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
-
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/ba84d66b02727675320dc4f031637d753a41c209
Code is shown below for 1.9.2p180.
The documented behaviour (and my own expectation for (({#==}))) is...