Project

General

Profile

Activity

From 06/01/2011 to 06/07/2011

06/07/2011

11:53 PM Feature #4845: Provide Class#cb_object_instantiated_from_literal(object)
Hi,

In message "Re: [ruby-core:36822] [Ruby 1.9 - Feature #4845] Provide Class#cb_object_instantiated_from_literal(object)"
on Tue, 7 Jun 2011 23:32:31 +0900, Lazaridis Ilias <ilias@lazaridis.com> writes:

|Yukihiro Matsu...
matz (Yukihiro Matsumoto)
11:32 PM Feature #4845: Provide Class#cb_object_instantiated_from_literal(object)
Yukihiro Matsumoto wrote:
> Besides that, I strongly discourage to intercept literal creation, since it would change the semantics of the fundamental object model.
Discouraging and disabling are two different things.
The fundament...
lazaridis.com (Lazaridis Ilias)
10:53 PM Feature #4845: Provide Class#cb_object_instantiated_from_literal(object)
Hi,

In message "Re: [ruby-core:36809] [Ruby 1.9 - Feature #4845] Provide Class#cb_object_instantiated_from_literal(object)"
on Tue, 7 Jun 2011 18:42:34 +0900, Lazaridis Ilias <ilias@lazaridis.com> writes:

|Nobuyoshi Naka...
matz (Yukihiro Matsumoto)
10:50 PM Feature #4845 (Rejected): Provide Class#cb_object_instantiated_from_literal(object)
Besides that, I strongly discourage to intercept literal creation, since it would change the semantics of the fundamental object model.
matz.
matz (Yukihiro Matsumoto)
06:42 PM Feature #4845: Provide Class#cb_object_instantiated_from_literal(object)
Nobuyoshi Nakada wrote:
> > * minimal overhead if not used (C-level if *ptr available, call)
> ...
I admit I don't know your current implementation.
Can you please point me to the relevant source code?
And please rethink the "pri...
lazaridis.com (Lazaridis Ilias)
06:02 PM Feature #4845 (Assigned): Provide Class#cb_object_instantiated_from_literal(object)
> * minimal overhead if not used (C-level if *ptr available, call)
Not true.
nobu (Nobuyoshi Nakada)
03:01 AM Feature #4845 (Rejected): Provide Class#cb_object_instantiated_from_literal(object)
(assuming that this is not a bug, but a speed tradeoff / known issue)
class String
alias_method :orig_initialize, :initialize
def initialize(val)
orig_initialize "OBSERVED: " + val
end
def my_method_test
print ...
lazaridis.com (Lazaridis Ilias)
11:41 PM Bug #4827: meke test-all TESTS="-j2 test/ruby/test_fiber.rb" on Mac crash sometimes
nagachika's patch works great. Thanks!
This patch should be committed.
sorah (Sorah Fukumori)
11:29 PM Bug #4827: meke test-all TESTS="-j2 test/ruby/test_fiber.rb" on Mac crash sometimes
Hi,
I think the following tiny patch will fix this problem.
Please check it out.
diff --git a/cont.c b/cont.c
index 72e1117..770cfeb 100644
--- a/cont.c
+++ b/cont.c
@@ -1148,8 +1148,8 @@ root_fiber_alloc(rb_thread_t *th)
#i...
nagachika (Tomoyuki Chikanaga)
12:37 AM Bug #4827: meke test-all TESTS="-j2 test/ruby/test_fiber.rb" on Mac crash sometimes
Hi,
I've created small script which can reproduce "crash in rb_method_entry_get_without_cache()".
script:
GC.stress = true
a = [0].map {|i| Fiber.new{Fiber.yield}.resume }
p a # => [BUG] Segmentation fault
result:
ruby 1.9.3...
nagachika (Tomoyuki Chikanaga)
11:19 PM Bug #4844: RVM crash while running resque worker pool
Hi,
I've attached pool.rb which you can correlate the stacktrace with.
emakris (Ernie Makrkis)
03:38 AM Bug #4844: RVM crash while running resque worker pool
Can you show the reproducible code? naruse (Yui NARUSE)
02:33 AM Bug #4844 (Closed): RVM crash while running resque worker pool
I can manage to make this crash happen regularly when running resque-pool on fast running jobs
/mnt/backupify-production/shared/bundle/ruby/1.9.1/gems/activesupport-3.0.0/lib/active_support/core_ext/kernel/agnostics.rb:7: [BUG] Segm...
emakris (Ernie Makrkis)
08:53 PM Feature #4840: Allow returning from require
Hello,

2011/6/7 Rodrigo Rosenfeld Rosas <rr.rosas@gmail.com>:
> This patch is so small, that it seems strange that it affects only
> requires... Won't it have side effects? Notice that I didn't test it yet.

I'm not sure.
...
mame (Yusuke Endoh)
08:23 PM Feature #4840: Allow returning from require
Em 07-06-2011 05:14, Haase, Konstantin escreveu:
> How will that work with require? Remember it will only load the file once. Return false otherwise? (Which would be kinda compatible with the current behavior and using raise/throw). O...
rosenfeld (Rodrigo Rosenfeld Rosas)
08:23 PM Feature #4840: Allow returning from require
Em 07-06-2011 07:10, Yusuke ENDOH escreveu:
> Hello,
>
> ...
>
> Agreed. It would be also useful to write platform-specific code:
>
> ~~~ruby
> require "test/unit"
>
> return unless /mswin|cygwin|mingw|bccwin/...
rosenfeld (Rodrigo Rosenfeld Rosas)
07:23 PM Feature #4840: Allow returning from require
Hello,

2011/6/6 Rodrigo Rosenfeld Rosas <rr.rosas@gmail.com>:
> I have a situation where there is some code in Gitorious like:
>
> unless defined? GitoriousConfig
>  # tons of lines here
> end
>
> And I would it to look like
...
mame (Yusuke Endoh)
05:23 PM Feature #4840: Allow returning from require
How will that work with require? Remember it will only load the file once. Return false otherwise? (Which would be kinda compatible with the current behavior and using raise/throw). Or should those values be cached? If you want to use r... rkh (Konstantin Haase)
07:23 AM Feature #4840: Allow returning from require
On 07/06/2011, at 12:18 AM, Michael Edgar wrote:
> On Jun 6, 2011, at 10:11 AM, Rodrigo Rosenfeld Rosas wrote:
>> It would be great to allow return from a required file or some
>> other keyword (break, etc or a new one)
>
> ...
cjheath (Clifford Heath)
12:23 AM Feature #4840: Allow returning from require
I think using "return" is quite natural in this case, as long as we
can use it in module/class-definitions too.

// Magnus Holm

On Mon, Jun 6, 2011 at 16:18, Michael Edgar <adgar@carboni.ca> wrote:
> On Jun 6, 2011, at 10:1...
judofyr (Magnus Holm)
08:52 PM Bug #4843 (Closed): typo in doc/irb/irb.rd* (and doc/ChangeLog-YARV)
This issue was solved with changeset r31953.
Nobuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* doc/irb/irb.rd: fix typo. patch by Nobuhiro IMAI.
[Bug #4...
kosaki (Motohiro KOSAKI)
01:42 AM Bug #4843 (Closed): typo in doc/irb/irb.rd* (and doc/ChangeLog-YARV)
http://redmine.ruby-lang.org/issues/4837 を処理していて気づいたのですが、
doc/irb/irb.rd* に source を souce としているタイポあります。
ついでに doc/ChangeLog-YARV にも見つけたので、まとめてパッチにしました。
no6v (Nobuhiro IMAI)
08:15 PM Bug #4451 (Rejected): Date#step does not raise ArgumentError for 0 step
tadf (tadayoshi funaba)
08:12 PM Bug #4776 (Rejected): DateTime.new! has been disabled
not a bug.
it's for only internal use.
he must have known it.
i once talked to the authour of tzinfo about Rational.new!.
anyway now DateTime.new! is not reasonable at all.
it does not depend on the current internal structure.
...
tadf (tadayoshi funaba)
02:37 AM Bug #4776: DateTime.new! has been disabled
Hello? :( tenderlovemaking (Aaron Patterson)
07:56 PM Bug #4848 (Rejected): DateTime.jd raises 'invalid fraction' when called with more than one argument
i've never seen such a nonsense patch.
this is not a bug.
you cannot specify both fraction and hour.
DateTime.new(2001,2,28.5,12) should mean 2001-03-31??
we have to be cautious about such a abuse.
tadf (tadayoshi funaba)
06:09 AM Bug #4848: DateTime.jd raises 'invalid fraction' when called with more than one argument
=begin
The second example has gone partially missing above (because RedMine doesn't appear to be escaping the < and >). It should have read:
>> DateTime.jd(Rational(39014323, 16))
#<DateTime: 1963-12-31T04:30:00+00:00 ((2438395j,1...
philr (Phil  )
06:01 AM Bug #4848 (Rejected): DateTime.jd raises 'invalid fraction' when called with more than one argument
Since trunk revision 31862, the DateTime.jd function raises an ArgumentError with message 'invalid fraction' when it is called with more than one argument. For example,
>> DateTime.jd(Rational(39014323, 16), 0)
ArgumentError: invalid...
philr (Phil  )
01:37 PM Bug #4835 (Closed): Compilation failure of ext/tk with recent ActiveTcl
This issue was solved with changeset r31947.
Yuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/tk/extconf.rb: use $defs not $CPPFLAGS to get rid of
comm...
nobu (Nobuyoshi Nakada)
06:23 AM Bug #4835: Compilation failure of ext/tk with recent ActiveTcl
永井@知能.九工大です.

From: Nobuyoshi Nakada <nobu@ruby-lang.org>
Subject: [ruby-dev:43637] Re: [Ruby 1.9 - Bug #4835] Compilation failure of ext/tk with recent ActiveTcl
Date: Mon, 6 Jun 2011 19:03:09 +0900
Message-ID: <4deca5da.610c...
nagai (Hidetoshi Nagai)
06:23 AM Bug #4835: Compilation failure of ext/tk with recent ActiveTcl
永井@知能.九工大です.

From: Nobuyoshi Nakada <nobu@ruby-lang.org>
Subject: [ruby-dev:43637] Re: [Ruby 1.9 - Bug #4835] Compilation failure of ext/tk with recent ActiveTcl
Date: Mon, 6 Jun 2011 19:03:09 +0900
Message-ID: <4deca5da.610c...
nagai (Hidetoshi Nagai)
12:29 PM Bug #4803: RCLASS_SUPER won't compile for C extensions as of revision 31627
Hi,

At Mon, 6 Jun 2011 23:47:57 +0900,
Roger Pack wrote in [ruby-core:36791]:
> > rb_class_superclass() since 1.4.0.
>
> Appears it has become public with 1.9.3?

Sure, it had been static, sorry.

So you can use it...
nobu (Nobuyoshi Nakada)
11:52 AM Revision 58aa09cb (git): * doc/irb/irb.rd: fix typo. patch by Nobuhiro IMAI.
[Bug #4843] [ruby-dev:43639]
* doc/irb/irb.rd.ja: ditto.
* doc/ChangeLog-YARV: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
09:56 AM Revision 733be259 (git): * lib/rubygems/user_interaction.rb (Gem::StreamUI#tty?): IO#tty? of
Windows has been fixed at r29969.
* test/rubygems/test_gem_stream_ui.rb: now can run tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
09:38 AM Revision 04b81ae7 (git): * test/rubygems/test_gem.rb (TestGem#{test_self_user_home_userprofile,
test_self_user_home_user_drive_and_path}): should simply ignore
meaningless tests instead of skipping them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
09:16 AM Revision 01fd0228 (git): * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):
should show some messages when skippning tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:47 AM Feature #4849 (Closed): io/wait should have a way to avoid FIONREAD
I would like an API method for io/wait which bypasses FIONREAD. Some IO
objects I work with (e.g. Linux eventfd[1]) to not support FIONREAD.
I can implement any proposed API for io/wait, but I don't know what it should
be. Perhaps...
normalperson (Eric Wong)
05:00 AM Revision b59179c8 (git): * ext/date/date_core.c (date_s_today, datetime_s_now): check the
result of localtime_r().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:50 AM Revision 8137c555 (git): * time.c (rb_gmtime_r2): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:37 AM Revision 5b3bf854 (git): * ext/tk/extconf.rb: use $defs not $CPPFLAGS to get rid of
command line escape issues on Windows. fixed #4835.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:36 AM Bug #4847 (Closed): Documentation Error for Hash#reject
The documentation for Hash#reject fails to note that, when called without a block, an enumerator is returned.
A small patch correcting this is attached.
adgar (Michael Edgar)
03:35 AM Bug #4846 (Closed): Permission denied - /tmp/nonexisting
This issue was solved with changeset r31945.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/ruby/test_io.rb (TestIO#test_s_{,bin}write): do not cr...
znz (Kazuhiro NISHIYAMA)
03:32 AM Bug #4846 (Closed): Permission denied - /tmp/nonexisting
=begin
なぜか chkbuild が所有者になっている /tmp/nonexisting というファイルが存在していて、
test_s_binwrite(TestIO) と test_s_write(TestIO) が以下の Failure になります。
[Errno::EINVAL] exception expected, not
Class: <Errno::EACCES>
Message: <"Permission denied - /t...
znz (Kazuhiro NISHIYAMA)
02:59 AM Feature #3905: rb_clear_cache_by_class() called often during GC for non-blocking I/O
Akira Tanaka <akr@fsij.org> wrote:
> I don't against for the ephemeral class flag but
> it needs discussion with ko1 and/or matz.

Can either of them comment please? I would really like to see
this performance regression fixe...
normalperson (Eric Wong)

06/06/2011

11:39 PM Bug #4821: Random Segfaults (in start_thread?)
It seems in garbage collection; marking or freeing some invalid objet causes segv.
But the murderer is not clear.
naruse (Yui NARUSE)
11:30 PM Bug #4821: Random Segfaults (in start_thread?)
There is another segfault:
OSX Crash Reporter:
Process: ruby [56504]
Path: ~/.rvm/rubies/ruby-1.9.2-p180/bin/ruby
Identifier: ruby
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Pr...
b2630639 (Ivan Bortko)
11:24 PM Bug #4841 (Closed): WEBrick threading leads to infinite loop
In a multi-threaded environment, the callback in WEBrick web server does not appear to work properly. If shutdown is called right after start, the server can entire an infinite loop and need to be killed using Ctrl-C.
Reproducible on ...
peakxu (Peak Xu)
11:11 PM Feature #4840 (Closed): Allow returning from require
I have a situation where there is some code in Gitorious like:
~~~ruby
unless defined? GitoriousConfig
# tons of lines here
end
~~~
And I would it to look like
~~~ruby
return if defined? GitoriousConfig
#tons of lines ...
rosenfeld (Rodrigo Rosenfeld Rosas)
09:09 PM Feature #4824: Provide method Kernel#executed?
Ruby allows a question mark in method names exactly for avoiding writing methods beggining with "`is_`" like in Java. I don't mind two word methods, but I don't want the first word to be a "`is`" when it is finished with a question mark.... rosenfeld (Rodrigo Rosenfeld Rosas)
08:50 PM Feature #4824: Provide method Kernel#executed?
Clifford Heath wrote:
[...] - omitting, to focus on essence
> > And at this point, the "dispute" is about the method name.
> ...
The status of this issue (#4824) is "agreed providing a method" (= provide an OO construct) and more a...
lazaridis.com (Lazaridis Ilias)
03:23 PM Feature #4824: Provide method Kernel#executed?
On 06/06/2011, at 3:51 PM, Lazaridis Ilias wrote:
> So maybe all rarely used methods should be written in long
> descriptive statements, to overcome non-semantic-hiding and become
> more productive?

I thought you prided y...
cjheath (Clifford Heath)
02:51 PM Feature #4824: Provide method Kernel#executed?
Clifford Heath wrote:
[...]
> > But "`if __FILE__ == $PROGRAM_NAME`" is quite long.
[...]
> ...
[...]
So maybe all rarely used methods should be written in long descriptive statements, to overcome non-semantic-hiding and become...
lazaridis.com (Lazaridis Ilias)
06:53 AM Feature #4824: Provide method Kernel#executed?
On 05/06/2011, at 11:29 PM, Benoit Daloze wrote:
> Clifford Heath wrote:
>> That is, the problem is that it's not obvious to a newcomer that
>> `__FILE__` means
>> the current source-code file, or that `$0` means the name of t...
cjheath (Clifford Heath)
08:15 PM Feature #4830: Provide Default Variables for Array#each and other iterators
I'm not saying we should copy Groovy syntax or ideas. I'm just showing that this is already done in Groovy.
At first I liked the idea of not needing to define an internal variable, but as I started to use it, I run into trouble where ...
rosenfeld (Rodrigo Rosenfeld Rosas)
04:32 PM Feature #4830: Provide Default Variables for Array#each and other iterators
[please, if possible, delete the non-relevant quoted message in your reply. You can still do this via http://redmine.ruby-lang.org/issues/4830]
Rodrigo Rosenfeld Rosas wrote:
> Sorry, forgot to say that for hashes this becomes:
> .....
lazaridis.com (Lazaridis Ilias)
03:59 AM Feature #4830: Provide Default Variables for Array#each and other iterators
ignore... can't remove this comment - ammended with the above rosenfeld (Rodrigo Rosenfeld Rosas)
03:59 AM Feature #4830: Provide Default Variables for Array#each and other iterators
I would just like to point it out that in Groovy, one can write either:

[1, 2].each{ println it }

or

[1, 2].each{ number -> println number }

[key_name: 'value', another_key: 'another_value'].each{ println "${it.key}: ${it.v...
rosenfeld (Rodrigo Rosenfeld Rosas)
03:53 AM Feature #4830: Provide Default Variables for Array#each and other iterators
On Mon, Jun 06, 2011 at 01:07:05AM +0900, Lazaridis Ilias wrote:
>
> Issue #4830 has been updated by Lazaridis Ilias.
>
>
> Nobuyoshi Nakada wrote:
> > At Sun, 5 Jun 2011 17:23:26 +0900,
> > Lazaridis Ilias wrote in [rub...
Cezary (Cezary Baginski)
01:06 AM Feature #4830: Provide Default Variables for Array#each and other iterators
Nobuyoshi Nakada wrote:
> Hi,
> ...
I don't know the underlying implementation, so I suggested simply from a users view.
If the arrays gets "value" instead of "item", it would be fine, of course.
lazaridis.com (Lazaridis Ilias)
12:23 AM Feature #4830: Provide Default Variables for Array#each and other iterators
Hi,

At Sun, 5 Jun 2011 17:23:26 +0900,
Lazaridis Ilias wrote in [ruby-core:36750]:
> for arrays: use "item" by default
> for hashes: use "key" and "value" by default

Why different names?

There is no way to tell what...
nobu (Nobuyoshi Nakada)
12:20 AM Feature #4830 (Assigned): Provide Default Variables for Array#each and other iterators
nobu (Nobuyoshi Nakada)
07:23 PM Bug #4835: Compilation failure of ext/tk with recent ActiveTcl
なかだです。

At Mon, 6 Jun 2011 18:35:11 +0900,
Hidetoshi NAGAI wrote in [ruby-dev:43636]:
> I don't have Visual C++.
> Does it properly recognize '-D"uintptr_t=unsigned int"'?

$CPPFLAGSではなく$defsを使ってみてください。


diff --git...
nobu (Nobuyoshi Nakada)
07:23 PM Bug #4835: Compilation failure of ext/tk with recent ActiveTcl
なかだです。

At Mon, 6 Jun 2011 18:35:11 +0900,
Hidetoshi NAGAI wrote in [ruby-dev:43636]:
> I don't have Visual C++.
> Does it properly recognize '-D"uintptr_t=unsigned int"'?

$CPPFLAGSではなく$defsを使ってみてください。


diff --git...
nobu (Nobuyoshi Nakada)
06:53 PM Bug #4835: Compilation failure of ext/tk with recent ActiveTcl
From: Yuki Sonoda <yugui@yugui.jp>
Subject: [ruby-dev:43635] [Ruby 1.9 - Bug #4835] Compilation failure of ext/tk with recent ActiveTcl
Date: Mon, 6 Jun 2011 14:44:47 +0900
Message-ID: <redmine.journal-17531.20110606144436@ruby-la...
nagai (Hidetoshi Nagai)
06:53 PM Bug #4835: Compilation failure of ext/tk with recent ActiveTcl
From: Yuki Sonoda <yugui@yugui.jp>
Subject: [ruby-dev:43635] [Ruby 1.9 - Bug #4835] Compilation failure of ext/tk with recent ActiveTcl
Date: Mon, 6 Jun 2011 14:44:47 +0900
Message-ID: <redmine.journal-17531.20110606144436@ruby-la...
nagai (Hidetoshi Nagai)
02:44 PM Bug #4835 (Closed): Compilation failure of ext/tk with recent ActiveTcl
Recent version of ActiveTcl contains "-Duintptr_t=unsigned\ int" in TCL_DEFS. But this escape by backslash is not recognized correctly by cl.exe. So compilation of ext/tk with Visual C++ fails. yugui (Yuki Sonoda)
06:35 PM Revision 81894831 (git): * 2011-06-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:35 PM Revision e301f4c1 (git): * test/ruby/test_io.rb (TestIO#test_s_{,bin}write): do not create a file
under /tmp. [Bug #4846]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
02:06 PM Revision 4d85a0df (git): * cont.c: use #if FIBER_USE_NATIVE instead of #ifdef.
you can suppress use of setcontext for Fiber with compile option
-DFIBER_USE_NATIVE=0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:00 PM Revision dc62f1b6 (git): * test/date/test_switch_hitter.rb: added a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
12:41 PM Revision 0ac1621a (git): * ChangeLog: fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
12:38 PM Revision 86768527 (git): * ext/date/date_core.c: added notes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
12:31 PM Revision 961143f6 (git): * ChangeLog: fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
12:05 PM Revision 2cdd0a87 (git): * ext/date/date_core.c: flattened format to strftimev.
* ext/date/date_core.c (date_strftime_internal): taints run.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
11:34 AM Bug #4834 (Closed): Adding documentation for prettyprint library
Adding documentation for the current_group and fill_breakable attribute methods in the prettyprint library. Documentation attached as a patch. ysiadf (Ysiad Ferreiras)
10:44 AM Bug #4833 (Closed): Documentation improvement for WEBRick submodules
I've added documentation to the WEBrick::Log, WEBrick::BasicLog and WEBrick::HTTPStatus modules.
Patchs included.
ouranos (Olivier Brisse)
10:21 AM Bug #4826 (Closed): Date fails RubySpec
なるほど、46f643b17d と 0396550b で RubySpec 側を直しました。
ありがとうございました。
naruse (Yui NARUSE)
09:53 AM Bug #4803: RCLASS_SUPER won't compile for C extensions as of revision 31627
Hi,

At Sat, 4 Jun 2011 01:33:38 +0900,
Roger Pack wrote in [ruby-core:36721]:
> just ran into this, as well
>
> https://gist.github.com/1006162
>
> If there's a work around do let us know :)

rb_class_superclass()...
nobu (Nobuyoshi Nakada)
06:11 AM Revision 5574d874 (git): * include/ruby/{defines,missing}.h (rb_infinity, rb_nan): move from
defines.h to missing.h. (couldn't use RUBY_EXTERN there.)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:38 AM Revision f4e499de (git): * test/rdoc/test_rdoc_markup_pre_process.rb (TestRDocMarkupPreProcess#
{test_include_file,test_include_file_encoding_incompatible}): no
need to write such workaround. don't hide the bug of ruby (and the
bug is already fixed).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31937 b2dd03c8-39d4-4d8f-...
U.Nakamura
05:12 AM Revision 3c9e6c7a (git): * ext/date/date_core.c (valid_jd_sub): need to convert from VALUE to
double.
* ext/date/date_core.c (offset_to_sec): get rid of a compiler warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:09 AM Revision f0bd1c21 (git): * include/ruby/defines.h (rb_inifinity, rb_nan): export for Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:47 AM Revision 55ddfcee (git): * lib/test/unit.rb(Test::Unit::Runner#puke):
Add overriding from MiniTest::Unit#puke. This reverts minitest's fix
that skip messages are hidden when not verbose mode (-v option).
To hide skip messages, use --hide-skip option instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
sorah (Sorah Fukumori)
01:53 AM Revision 80651eda (git): * lib/net/http.rb: don't use autoload.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:46 AM Revision 005a7bb5 (git): merges a part of r31717 from trunk into ruby_1_9_2.
--
* ext/tk/lib/tk/extconf.rb: search directories for 64bit library (e.g.
* /usr/lib64), and bug fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:41 AM Revision 55ea66cb (git): * 2011-06-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:41 AM Revision 6c56c40b (git): * ext/psych/parser.c (parse): release event objects to plug memory
leak. Thanks Mark J. Titorenko!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
12:41 AM Bug #4828: crash in test_thread_instance_variable
hi,
following patch suppress the error.
diff --git a/gc.c b/gc.c
index 28fa233..3499b02 100644
--- a/gc.c
+++ b/gc.c
@@ -3005,7 +3005,7 @@ rb_objspace_call_finalizer(rb_objspace_t *objspace)
while (p < pend) {
if (BUI...
nagachika (Tomoyuki Chikanaga)
12:33 AM Feature #4831 (Closed): Integer#prime_factors
Hello,
lib/prime provides Integer#prime_division, but I always forget the name.
I think that #prime_factors is more suitable. I'd like to hear opinions
of English natives. What do you think?
--
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)

06/05/2011

11:23 PM Bug #4777: Ruby 1.9.2-p180 ignoring INT, TERM, and QUIT until it receives CONT
Hello,

2011/6/5 Motohiro KOSAKI <kosaki.motohiro@gmail.com>:
> And, more importantly, this fixing patch was already backported to 2.6.38.4.
> Thus, the issue is really Ubuntu specific, unfortunately.

The patch was backport...
mame (Yusuke Endoh)
10:45 PM Bug #4777: Ruby 1.9.2-p180 ignoring INT, TERM, and QUIT until it receives CONT
OK, I and Endoh-san investigated more. I bet the guilty linux regression is below.
Ruby's timer thread is using pthread_cond_timedwait() and it is using futex_wait() internally.
And, more importantly, this fixing patch was already b...
kosaki (Motohiro KOSAKI)
11:03 PM Bug #4608 (Third Party's Issue): Ctrl-c to interrupt script causes hang and 100% cpu's core load
I think this is the same issue with Bug #4777.
kosaki (Motohiro KOSAKI)
10:38 PM Revision 9c36cb39 (git): * test/drb/ut_array.rb: uses 'druby://localhost:0' instead of nil
as well as test/drb/ut_drb.rb. This fixes the same problem as
[ruby-dev:23078].
* test/drb/ut_array_drbssl.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:37 PM Revision 3c1a077f (git): merges a part of r31717 and a part of r31742.
Fixes a problem in Tk.mainloop.
--
* ext/tk/lib/tk.rb: hang-up at exit before calling Tk.mainloop.
--
* ext/tk/lib/tk.rb: fail to start Tk.mainloop (exit immediately) on
some environment (reported on [ruby-talk:381444]).
git-svn-id: s...
yugui (Yuki Sonoda)
10:29 PM Feature #4824: Provide method Kernel#executed?
Clifford Heath wrote:
> That is, the problem is that it's not obvious to a newcomer that __FILE__ means
> ...
`$PROGRAM_NAME` is an alias for `$0`.
But "`if __FILE__ == $PROGRAM_NAME`" is quite long.
Eregon (Benoit Daloze)
04:29 PM Feature #4824: Provide method Kernel#executed?
On 05/06/2011, at 4:01 PM, Lazaridis Ilias wrote:
> The clarity of the method name should be rated in it's OO context,
> like this:

I dispute the need for a method. That just forces someone to the
documentation
to know ...
cjheath (Clifford Heath)
03:01 PM Feature #4824: Provide method Kernel#executed?
Some notes subjecting the naming:
The clarity of the method name should be rated in it's OO context, like this:
~~~ruby
if self.executed? # or .started? .launched?, which means *not* .included? .required? .loaded?
# do main cod...
lazaridis.com (Lazaridis Ilias)
03:53 AM Feature #4824: Provide method Kernel#executed?
Some other suggestions:

~~~ruby
if main?
if first_script?
if main_script?
if run_script?
~~~

-Stephen
sdsykes (Stephen Sykes)
08:04 PM Feature #4830: Provide Default Variables for Array#each and other iterators
[please, if possible, delete the non-relevant quoted message in your reply.]
Magnus Holm wrote:
> What happens in this case?
> ...
Possibly the same as with
item = 1
[1, 2, 3].each { |item| print item }
The outer loca...
lazaridis.com (Lazaridis Ilias)
07:23 PM Feature #4830: Provide Default Variables for Array#each and other iterators
What happens in this case?
```ruby
item = 1
[1, 2, 3].each { print item }
```
// Magnus Holm
judofyr (Magnus Holm)
05:23 PM Feature #4830 (Rejected): Provide Default Variables for Array#each and other iterators
for arrays: use "item" by default
for hashes: use "key" and "value" by default
names = ["Jane", "Michele", "Isabella"]
names.each { |name| print name, "\n" }
names.each { print item, "\n" }
contact = {name:"Jane", phone:"12345...
lazaridis.com (Lazaridis Ilias)
07:23 PM Feature #4822: String#capitalize improvements
Anurag Priyam wrote:
> > Hmm, how about this?
> ...
As my example, this can't be perfect.
Such function should be provided by third party, like gems.
naruse (Yui NARUSE)
06:29 PM Feature #4822: String#capitalize improvements
> Hmm, how about this?
> str.gsub(/\w.*?[.!?](?:\s+|\z)/){|c|c.capitalize}

This solves my problem better than what I was doing. Thanks. Do you
think that other's could also benefit from such an extension to
`capitalize`, or i...
yeban (Anurag Priyam)
07:17 PM Feature #4774 (Closed): User Friendly Handling of "Encoding::ConverterNotFoundError"
naruse (Yui NARUSE)
06:15 PM Feature #4774: User Friendly Handling of "Encoding::ConverterNotFoundError"
Yui NARUSE wrote:
> Lazaridis Ilias wrote:
> ...
[...]
> > I start to understand that you want to tell me this:
> ...
I understand.
If it's so, then there is no need to do something more.
You can close/reject this issue (I ca...
lazaridis.com (Lazaridis Ilias)
03:45 PM Bug #4828: crash in test_thread_instance_variable
git bisect has been finished.
I hope every developers confirm test-all result *brefore* commit.
d22130922e7842226d38d59680e4bbb48a28a5f0 is the first bad commit
commit d22130922e7842226d38d59680e4bbb48a28a5f0
Author: ryan <ryan@b...
kosaki (Motohiro KOSAKI)
03:16 PM Bug #4828: crash in test_thread_instance_variable
Hm, Linux crash too. kosaki (Motohiro KOSAKI)
02:51 PM Bug #4828: crash in test_thread_instance_variable
Hm,
I've spent my time for printf() debugging. and I've found thread_free() is called twice, 1) from run_final() 2) from ruby_vm_destruct().
It seems silly.
kosaki (Motohiro KOSAKI)
01:52 PM Bug #4828 (Closed): crash in test_thread_instance_variable
"make test-all" on MacOS X makes following failure. It is very frequently happen.
1) Failure:
test_thread_instance_variable(TestThread) [/Users/kosaki/ruby/test/ruby/test_thread.rb:583]:
[ruby-core:35192].
<[]> expected but was
...
kosaki (Motohiro KOSAKI)
03:23 PM Bug #3924: Performance bug (in require?)
On 1/06/11 8:17 AM, Masaya Tarui wrote:
>
> Issue #3924 has been updated by Masaya Tarui.
>
>
>
> Hello,
>
> Require performance has been imporved a little at r31875, i think.
nice! It sure has.

> Please compare t...
xaviershay (Xavier Shay)
03:15 PM Feature #4796: Coverage should be restartable
I tried this patch and it works as expected. Here is a patch for the test case, slightly cleaned up:
diff --git a/test/coverage/test_coverage.rb b/test/coverage/test_coverage.rb
index ace49d3..56966b1 100644
--- a/test/coverage/test...
xaviershay (Xavier Shay)
02:35 PM Revision ecaf7975 (git): * eval.c: remove rb_thread_stop_timer_thread function declaration.
Instead, include vm_core.h.
* process.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:21 PM Bug #4829 (Closed): test_thread.rb reposet "malloc: *** pointer being freed was not allocated" on Mac OS X
#4828 と全く同一でしたので duplicate として閉じます。 nagachika (Tomoyuki Chikanaga)
01:58 PM Bug #4829 (Closed): test_thread.rb reposet "malloc: *** pointer being freed was not allocated" on Mac OS X
r31885 以降の trunk で make test-all TESTS="-vq ruby/test_thread.rb" を実行すると以下のように
free に不正なポインタを渡したというメッセージが出て Failure になります。
1) Failure:
test_thread_instance_variable(TestThread) [/Users/nagachika/opt/ruby-trunk/src/ruby/test/ruby/te...
nagachika (Tomoyuki Chikanaga)
01:37 PM Bug #4827: meke test-all TESTS="-j2 test/ruby/test_fiber.rb" on Mac crash sometimes
crash in rb_method_entry_get_without_cache() is more frequently happen.
--------------------------------------------
Process: ruby-193 [8880]
Path: /Users/kosaki/ruby/ruby-193
Identifier: ruby-193
Version: ...
kosaki (Motohiro KOSAKI)
05:11 AM Bug #4827 (Closed): meke test-all TESTS="-j2 test/ruby/test_fiber.rb" on Mac crash sometimes
TestFiber#test_term = 0.00 s = .
TestFiber#test_throw = 0.00 s = .
TestFiber#test_tls = 0.00 s = .
/Users/kosaki/ruby/lib/test/unit/parallel.rb:133: [BUG] Segmentation fault
ruby 1.9.3dev (2011-06-04 trunk 31919) [x86_64-darwin10.7.4...
kosaki (Motohiro KOSAKI)
12:48 PM Revision 4010bc1e (git): * thread_pthread.c (thread_timer): add to care a spurious wakeup.
When native_cond_timedwait() return 0 by spurious wakeup, we
don't have to neither 1) call timer_thread_function and 2)
exit the timer thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31926 b2dd03c8-39d4-4d8f-98ff-823fe69...
kosaki (Motohiro KOSAKI)
08:53 AM Revision 64097bd7 (git): * ext/date/date_core.c (m_real_cwyear): new. derived from m_cwyear.
* ext/date/date_strftime.c: trivial changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
08:23 AM Revision f6554c20 (git): * ext/tk/config_list.in: add new options for tcltklib.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
06:53 AM Bug #4826: Date fails RubySpec
6-12)

改暦日は現実的な範囲で。改暦日の範囲が限定されています。範囲外の日を指
定すると警告の上で無視するようになりました。

13)

テストとして少しおかしい、このテストに書いてある
BigDecimal::FloatDomainError は意味不明です。

ここで与えられている BigDecimal は、以前のコードでは浮動小数点数に感染
して無限大になるので、振舞いは Float#floor のもの。

...
tadf (tadayoshi funaba)
05:53 AM Feature #4801: Shorthand Hash Syntax for Strings
On Sat, Jun 04, 2011 at 02:17:28AM +0900, Piotr Szotkowski wrote:
> // Apologies for the delayed reply – it takes
> // a bit to digest such a detailed response! :)

Oh, don't apologize - my fault for being way too elaborate and ...
Cezary (Cezary Baginski)
01:13 AM Revision a975bf24 (git): * ext/date/date_tmx.h: now does not place decoded data. allows to
access indirectly via functions on demand.
* ext/date/date_strftime.c: ditto.
* ext/date/date_core.c: ditto.
* ext/date/date_core.c ({d|dt}_lite_to_s): use strftime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
Tadayoshi Funaba

06/04/2011

11:53 PM Feature #4824: Provide method Kernel#executed?
On Sat, Jun 04, 2011 at 11:17:01PM +0900, Yukihiro Matsumoto wrote:
>
> I agree providing a method to tell whether it is loaded as a library
> or is executed as a command is more elegant than '__FILE__ == $0',
> but I am still ...
Cezary (Cezary Baginski)
11:16 PM Feature #4824: Provide method Kernel#executed?
I agree providing a method to tell whether it is loaded as a library or is executed as a command is more elegant than '__FILE__ == $0', but I am still afraid #executed? can mean multiple ways so that the name can cause confusion. We nee... matz (Yukihiro Matsumoto)
07:59 PM Feature #4824 (Assigned): Provide method Kernel#executed?
The current construct to execute main code looks not very elegant:
~~~ruby
if __FILE__ == $0
my_main() # call any method or execute any code
end
~~~
With a `Kernel#executed?` method, this would become more elegant:
...
lazaridis.com (Lazaridis Ilias)
09:44 PM Bug #4826 (Closed): Date fails RubySpec
最近の Date の変更で、以下のように RubySpec が失敗しています。
RubySpec 側を直した方がいい物もあるような気がしますが、Date 側の問題もあるようなので確認頂けますか。
spec 側を直すべきものについてはあるべき挙動を教えて頂ければそう直します。
なお、RubySpec は http://rubyspec.org/ です。
RubySpec を実行するには、git をインストールした上で、
make update-rubys...
naruse (Yui NARUSE)
09:32 PM Bug #4825 (Closed): BigDecimal#new is broken
RubySpec にて以下のテストが失敗しています。
BigDecimal.new creates a new object of class BigDecimal FAILED
Expected #<BigDecimal:445ef968,'0.1E0',9(18)>
to equal (1/10)
/usr/home/chkbuild/build/ruby-trunk/20110604T110102Z/rubyspec/library/bigdec...
naruse (Yui NARUSE)
09:25 PM Revision 2473b2ce (git): * 2011-06-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:25 PM Revision fab22d5d (git): * NEWS: wrote about changes of date.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
10:23 AM Feature #4818: Add method marshalable?
On Fri, Jun 3, 2011 at 1:44 PM, Joel VanderWerf
<joelvanderwerf / gmail.com> wrote:
> On 06/02/2011 07:07 PM, Joey Zhou wrote:
> ...
Or:
```ruby
hash = Hash.new { |h, k| h[k] = k * 2 }
class << hash
def marshal_dump
Hash[...
austin (Austin Ziegler)
08:17 AM Bug #4820: EXC_CRASH (SIGABRT)
$ ruby -v
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]
Rails development is Ruby on Rails in development mode.
Environment: MacBook Pro, 2.26GHz, 4G ram, OS X 10.6.7 (all updates applied), XCode 3.2.6
STEPS...
threadhead (Karl Smith)
08:02 AM Revision 6dc8503f (git): * ext/date/date_core.c (d_lite_inspect): changed the format.
* ext/date/date_core.c: refactoring and fixing some bugs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
06:36 AM Bug #4823 (Closed): [doc] monitor
Improved monitor.rb doc a bit. sz (Sandor Szücs)
04:10 AM Bug #4815 (Closed): RubyGems test failed
This issue was solved with changeset r31915.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/rubygems/test_gem_commands_which_command.rb:
"missing" ex...
naruse (Yui NARUSE)
03:49 AM Revision 83ef8ee7 (git): clone_const_i
* class.c (clone_const_i, class_instance_method_list): get rid of
type-punning function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:32 AM Revision bf1a04b1 (git): * test/ruby/test_module.rb (TestModule#test_mix_const): test for
constant mix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:30 AM Revision 40930b71 (git): * class.c (check_mix_method_i, do_mix_method_i): not mix methods
renamed as nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:33 AM Bug #4803: RCLASS_SUPER won't compile for C extensions as of revision 31627
just ran into this, as well
https://gist.github.com/1006162
If there's a work around do let us know :)
-roger-
rogerdpack (Roger Pack)

06/03/2011

10:17 PM Feature #4822: String#capitalize improvements
Anurag Priyam wrote:
> > You should use String#titleize provided by ActiveSupport.
> ...
Hmm, how about this?
str.gsub(/\w.*?[.!?](?:\s+|\z)/){|c|c.capitalize}
Of course, this is wrong for example "iPhone is designed by Apple in Ca...
naruse (Yui NARUSE)
09:53 PM Feature #4822: String#capitalize improvements
> You should use String#titleize provided by ActiveSupport.
> http://as.rubyonrails.org/classes/ActiveSupport/CoreExtensions/String/Inflections.html#M000381

But that capitalizes all the words in a string, no?. I am talking
abou...
yeban (Anurag Priyam)
09:15 PM Feature #4822: String#capitalize improvements
You should use String#titleize provided by ActiveSupport.
http://as.rubyonrails.org/classes/ActiveSupport/CoreExtensions/String/Inflections.html#M000381
naruse (Yui NARUSE)
08:50 PM Feature #4822: String#capitalize improvements
> I am not sure what would it take to implement this.
I hacked up a quick, and dirty implementation in Ruby.
class String
alias _capitalize capitalize
def capitalize(regexp=nil)
return _capitalize unless regexp
...
yeban (Anurag Priyam)
07:59 PM Feature #4822 (Rejected): String#capitalize improvements
I think it would be helpful if `String#capitalize` could capitalize _sentences_, and not just the first letter of a string. We could optionally pass a regexp to identify sentence boundaries. If we don't pass this parameter `capitalize` b... yeban (Anurag Priyam)
08:48 PM Bug #4433 (Closed): parallel_test中workerがrequireのwrong argument type StringIO (expected File) (TypeError)で落ちる
This issue was solved with changeset r31910.
Shota, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/test/unit/parallel.rb: Keep $stdin, $stdout before run tes...
sorah (Sorah Fukumori)
07:20 PM Bug #4820 (Feedback): EXC_CRASH (SIGABRT)
We need to the following additional information for fixing:
* What did you do to reproduce? what is "rails development"?
* we need raw output of `ruby -v`. Not only version number. (We need like platform str... like [x86_64-darwin10...
sorah (Sorah Fukumori)
02:24 PM Bug #4820 (Rejected): EXC_CRASH (SIGABRT)
Ruby is crashing sporadically during rails development.
See crash logs: https://gist.github.com/982118
Have completely removed and reinstalled Xcode (3.2.6), ruby (via RPM), all gems. Still crashes.
threadhead (Karl Smith)
07:10 PM Revision a8009c20 (git): * 2011-06-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:09 PM Revision 1de2e1fd (git): * test/rubygems/test_gem_commands_which_command.rb:
"missing" exists on ruby's top source directory. [Bug #4815]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:23 PM Bug #4808: thread_wait_for() eats 100% of CPU power
>> 亀レスですいません。最近 Ruby/tk にCPU使用率を下げるコミットがいくつか
>> 入っているようですが、r31893 では不十分だったということなんでしょうか?
>> それとも、全然別件の改善なのでしょうか?
>
> ごめんなさい.紛らわしかったですね.
> 当初報告した問題は r31893 で解消しました.ありがとうございます.
>
> ですが,それでもなお CPU 利用率が高かったので,
> 以前と異なる方法で thr...
kosaki (Motohiro KOSAKI)
06:23 PM Bug #4808: thread_wait_for() eats 100% of CPU power
>> 亀レスですいません。最近 Ruby/tk にCPU使用率を下げるコミットがいくつか
>> 入っているようですが、r31893 では不十分だったということなんでしょうか?
>> それとも、全然別件の改善なのでしょうか?
>
> ごめんなさい.紛らわしかったですね.
> 当初報告した問題は r31893 で解消しました.ありがとうございます.
>
> ですが,それでもなお CPU 利用率が高かったので,
> 以前と異なる方法で thr...
kosaki (Motohiro KOSAKI)
06:23 AM Bug #4808: thread_wait_for() eats 100% of CPU power
永井@知能.九工大です.

From: KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Subject: [ruby-dev:43611] Re: [Ruby 1.9 - Bug #4808][Open] thread_wait_for() eats 100% of CPU power
Date: Thu, 2 Jun 2011 22:37:45 +0900
Message-ID: <BANLkTi=yran...
nagai (Hidetoshi Nagai)
06:23 AM Bug #4808: thread_wait_for() eats 100% of CPU power
永井@知能.九工大です.

From: KOSAKI Motohiro <kosaki.motohiro@gmail.com>
Subject: [ruby-dev:43611] Re: [Ruby 1.9 - Bug #4808][Open] thread_wait_for() eats 100% of CPU power
Date: Thu, 2 Jun 2011 22:37:45 +0900
Message-ID: <BANLkTi=yran...
nagai (Hidetoshi Nagai)
06:11 PM Bug #4821 (Rejected): Random Segfaults (in start_thread?)
Rails application regularly encounters segfaults in random places (with or without mongomapper or zeromq, which are used in app).
Here output:
Started POST "/config/change_object_options" for 127.0.0.1 at 2011-06-03 12:13:41 +0400
...
b2630639 (Ivan Bortko)
02:06 PM Bug #4819 (Closed): Documentation improvement for WEBrick::Utils
I've added documentation to the WEBrick::Utils module.
Patch included.
ouranos (Olivier Brisse)
01:34 PM Feature #4818 (Assigned): Add method marshalable?
naruse (Yui NARUSE)
11:07 AM Feature #4818 (Assigned): Add method marshalable?
Some objects can not be marshaled. Maybe there should be a method to tell it.
hash = Hash.new {|h,k| k * 2}
this hash can't be marshaled because it has a default proc. If existing such method:
Marshal.marshalable?(hash) #=> meth...
yimutang (Joey Zhou)
01:07 PM Revision 7ad69031 (git): * lib/rubygems/test_case.rb: Refix for test-all in separate directory.
r31147 + r31151.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:05 PM Revision 259f8416 (git): ChangeLog for r31910
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
11:59 AM Revision 7bc3e952 (git): * ext/date/date_core.c (d_lite_plus): get rid of compiler warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
11:58 AM Revision 799fafc0 (git): * include/ruby/missing.h, numeric.c (round): moved prototype of round()
from numeric.c to missing.h. (note: round() is C99 feature, so ruby
provides it if not exists in C runtime.)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
11:48 AM Revision d1a7670b (git): * lib/test/unit/parallel.rb: Keep $stdin, $stdout before run testcase
and restore after run. Because some test break $stdin, $stdout.
Fixes [Bug #4433] [ruby-core:35353]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
10:59 AM Revision 19c78f9b (git): * io.c (io_fflush): windows -- call fsync() only when the FD is tied to
file, because if the FD is pipe, it blocks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
09:32 AM Bug #4759 (Closed): Successful URI.parse to URI::HTTP can result in an error in request_uri
This issue was solved with changeset r31907.
Markus, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/http.rb (URI::HTTP#request_uri): return nil when the ...
naruse (Yui NARUSE)
09:26 AM Feature #4774: User Friendly Handling of "Encoding::ConverterNotFoundError"
Lazaridis Ilias wrote:
> Yui NARUSE wrote:
> ...
Yes.
> * The "ibm737-tbl.rb" (relevant for Windows Greek) was accidentally not included to ruby 1.9
Yes.
> ...
Yes, in the meaning of "run ruby and fail".
naruse (Yui NARUSE)
09:22 AM Feature #4778 (Assigned): IO#each_chomped
naruse (Yui NARUSE)
09:21 AM Bug #4799 (Assigned): M17N tests are too JP specific
naruse (Yui NARUSE)
09:21 AM Bug #4817 (Third Party's Issue): Seg Fault Around xml_printer.rb
It seems because of ruby-debug-ide. naruse (Yui NARUSE)
06:38 AM Bug #4817 (Third Party's Issue): Seg Fault Around xml_printer.rb
Following is the error as reported. I am running Ruby from Ruby Mine. This occurs every time I attempt to run the appliction using the debugger. Webrick fails to load.
Ruby is running on a Windows 7 64 bit machine.
C:/Ruby192/li...
pingfr (Frank Ping)
05:53 AM Bug #4814: minitest 2.2.x and test/unit do not get along
On Jun 2, 2011, at 03:56 , Shota Fukumori wrote:

> could test again with `make TESTS
zenspider (Ryan Davis)
04:53 AM Bug #3924: Performance bug (in require?)
On 31/05/11 3:55 PM, Xavier Shay wrote:
> Two other options that maybe you will like:
> 1) store some metadata against entries in $LOADED_FEATURES to indicate
> whether they have been cached. rb_ary_push will not set this, so a qu...
xaviershay (Xavier Shay)
01:53 AM Bug #4683: [PATCH] io.c: copy_stream execute interrupts and retry
Akira Tanaka <akr@fsij.org> wrote:
> Issue #4683 has been updated by Akira Tanaka.
>
> File copy_stream_interrupt_handling-2.patch added

Patch looks good, thanks! Can you please commit?

> Adding public functions needs ...
normalperson (Eric Wong)
01:13 AM Bug #4777: Ruby 1.9.2-p180 ignoring INT, TERM, and QUIT until it receives CONT
Ok. I upgraded to the 2.6.39 kernel (using the kernel-ppa) and the problem went away. I know that there were some issues with 2.6.38 + bash related to signal handling*, although it is not clear to me if there was any kernel change to add... psanford (Peter Sanford)
12:32 AM Revision 3862d95f (git): * 2011-06-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:32 AM Revision a83f125c (git): * lib/net/http.rb (URI::HTTP#request_uri): return nil when the uri
is path-rootless form. Bug #4759
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

06/02/2011

10:53 PM Bug #4808: thread_wait_for() eats 100% of CPU power
> いつからかは把握できていませんが (少なくとも 1.9.2p0 では発生しません),
> thread_wait_for() が CPU パワーを大量に消費するようになっています.
> # これが原因で,Ruby/Tk も CPU を 100 % 消費してしまいます.
>
> このままリリースになってしまうとかなりまずいと思いますので,
> 優先度 High で急ぎ報告だけあげておきます.

亀レスですいません。最近 Ruby/tk に...
kosaki (Motohiro KOSAKI)
10:53 PM Bug #4808: thread_wait_for() eats 100% of CPU power
> いつからかは把握できていませんが (少なくとも 1.9.2p0 では発生しません),
> thread_wait_for() が CPU パワーを大量に消費するようになっています.
> # これが原因で,Ruby/Tk も CPU を 100 % 消費してしまいます.
>
> このままリリースになってしまうとかなりまずいと思いますので,
> 優先度 High で急ぎ報告だけあげておきます.

亀レスですいません。最近 Ruby/tk に...
kosaki (Motohiro KOSAKI)
10:23 PM Bug #4777 (Third Party's Issue): Ruby 1.9.2-p180 ignoring INT, TERM, and QUIT until it receives CONT
Nice information!!
But unfortunately, I've confirmed ruby-1.9.2p180 + Fedora15 + your test case doesn't reproduce the issue.
Also strace doesn't show any ruby fault. We have to conclude it's Ubuntu specific issue. I'm sorry.
kosaki (Motohiro KOSAKI)
01:01 AM Bug #4777: Ruby 1.9.2-p180 ignoring INT, TERM, and QUIT until it receives CONT
I have reproduced the same issue with Ubuntu 11.04 + ruby 1.9.2-p180 (I have not tried with other ubuntu versions). Here is a simple test script to reproduce the problem:
#!/usr/bin/env ruby
`/bin/true`
begin
require 'nonexis...
psanford (Peter Sanford)
08:20 PM Bug #4683: [PATCH] io.c: copy_stream execute interrupts and retry
Adding public functions needs a discussion with ko1.
copy_stream_interrupt_handling-2.patch uses internal.h to share
declarations between io.c and thread.c.
akr (Akira Tanaka)
08:05 PM Feature #4806: A few Issues subjecting the Issue Tracker
Yui NARUSE wrote:
> Lazaridis Ilias wrote:
[...]
> ...
Much better, but still a small detail:
1.9.2
about 10 months late (08/18/2010)
You should close 1.9.2, as it is released.
If you need a milestone for the maintenance...
lazaridis.com (Lazaridis Ilias)
10:16 AM Feature #4806: A few Issues subjecting the Issue Tracker
Lazaridis Ilias wrote:
> Yui NARUSE wrote:
> ...
Hmm, I fixed them.
> > > b) Please provide a "Category" "Project", thus issues subjecting the project infrastructure can be categorized.
> ...
Added.
naruse (Yui NARUSE)
07:56 PM Bug #4814: minitest 2.2.x and test/unit do not get along
could test again with `make TESTS="-v testunit/test_parallel.rb" test-all` at r31902?
I can't reproduce at `ruby 1.9.3dev (2011-06-02 trunk 31902) [x86_64-darwin10.7.0]`.
sorah (Sorah Fukumori)
07:29 PM Bug #4814: minitest 2.2.x and test/unit do not get along
On Jun 1, 2011, at 21:33 , Shota Fukumori wrote:

> How I reproduce this issue?

make test-all was all I was doing.

The only oddity is that I delete the drb tests first because they fail spectacularly on osx (75 seconds per error...
zenspider (Ryan Davis)
01:33 PM Bug #4814 (Feedback): minitest 2.2.x and test/unit do not get along
Hi,
How I reproduce this issue?
sorah (Sorah Fukumori)
10:30 AM Bug #4814: minitest 2.2.x and test/unit do not get along
Hi, ryan
Thank you for running test-all before commit.
But can you make a ticket when the commit will break test-all?
Especially for r31885, which broke installation, breaks continuous integration.
naruse (Yui NARUSE)
07:37 AM Bug #4814 (Rejected): minitest 2.2.x and test/unit do not get along
TestParallel tests are broken on trunk after my update of minitest (+ your patch to test/unit to get tests running).
32) Failure:
test_jobs_status(TestParallel::TestParallel) [/Users/ryan/Work/svn/ruby/ruby/test/testunit/test_parall...
zenspider (Ryan Davis)
05:59 PM Feature #4801: Shorthand Hash Syntax for Strings
On Thu, Jun 02, 2011 at 01:47:30PM +0900, Clifford Heath wrote:
> On 02/06/2011, at 1:29 PM, Kurt Stephens wrote:
> >Good point. However, if the internal symbol table used weak references to
> >Symbol objects,
> >all dynamic Sy...
Cezary (Cezary Baginski)
01:53 PM Feature #4801: Shorthand Hash Syntax for Strings
On 02/06/2011, at 1:29 PM, Kurt Stephens wrote:
> Good point. However, if the internal symbol table used weak
> references to Symbol objects,
> all dynamic Symbols that are not pinned down by code could be
> garbage collect...
cjheath (Clifford Heath)
12:23 PM Feature #4801: Shorthand Hash Syntax for Strings
Clifford Heath wrote:
> ... the problem
> Cezary is talking about is where code that creates Symbols dynamically
> from Strings, that can create a potentially unbounded number of Symbols,
> none of which can be GC'd.

A...
spatulasnout (B Kelly)
10:23 AM Feature #4801: Shorthand Hash Syntax for Strings
On 02/06/2011, at 10:28 AM, Kurt Stephens wrote:
> A String used as inline or static nmenomic in real code is pinned
> down anyway and will not be GCed.

Yes it will. What's pinned down is a call to a constructor (with a
p...
cjheath (Clifford Heath)
04:30 PM Feature #1081 (Closed): add File::write() convenience method
This issue was solved with changeset r31902.
Suraj, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c: Add File.write, File.binwrite. [Feature #1081] [ruby-cor...
sorah (Sorah Fukumori)
02:52 PM Revision fe8002b1 (git): * lib/csv.rb: Improve the line ending detection algorithm
(patch by Alexey).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
James Edward Gray II
12:29 PM Bug #4813: test_minitest.rb failed on win32-x64
wait, wait...
this is ruby's bug not minitest's.
IO#rewind do flush internally.
so, if this patch corrects some bugs, the internal flush process is something wrong.
usa (Usaku NAKAMURA)
06:05 AM Bug #4813 (Closed): test_minitest.rb failed on win32-x64
Thanks! I'll have this merged back into core in a sec. This will break other tests (intentionally) so I need to write up a ticket for sora first.
zenspider (Ryan Davis)
12:56 AM Bug #4813 (Closed): test_minitest.rb failed on win32-x64
minitest.rb with external command 'diff' may fail on (at least on my) win32-x64 ruby.
Above patch fixed this.
--- lib/minitest/unit.rb~ 2011-06-01 22:09:05.000000000 +0900
+++ lib/minitest/unit.rb 2011-06-02 00:44:19.000000000 +0900...
arton (Akio Tajima)
12:04 PM Bug #4815 (Closed): RubyGems test failed
Following tests are failed.
This is because $LOAD_PATH includes the current directory which test-all is running,
and top source directory of ruby has the directory named "missing".
So test_execute_one_missing and test_execute_missing,...
naruse (Yui NARUSE)
11:06 AM Revision fd8010fc (git): * io.c (rb_io_s_write, rb_io_s_binwrite): return!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
10:02 AM Revision 61ac67c1 (git): merge revision(s) 31731:31734:
* variable.c (rb_autoload_load): There is a race condition while
autoloading. When two or more threads touch a single autoloaded
constant at a time, one of them does the require, but others
behave od...
shyouhei (Shyouhei Urabe)
10:02 AM Revision 6e96241d (git): patchlevel++
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@31903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
07:30 AM Revision 7b3948f0 (git): * io.c: Add File.write, File.binwrite. [Feature #1081] [ruby-core:21701]
* test/ruby/test_io.rb: Test for File.write, File.binwrite.
* NEWS: News for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
06:24 AM Bug #4812 (Closed): tool/rbinstall.rb does not work with rubygems 1.8.5
Looks like nobu beat you to the punch. Thanks tho! zenspider (Ryan Davis)
06:23 AM Bug #4757: Attempt to make Enumerator docs more clear (patch included)
On Jun 1, 2011, at 08:20 , Yusuke ENDOH wrote:

> The sample code looks very good! Thank you!
> But it is hard for me to parse the explanation:
>
> "Set the value for the next yield in the enumerator returns."

totally ...
zenspider (Ryan Davis)
12:23 AM Bug #4757: Attempt to make Enumerator docs more clear (patch included)
The sample code looks very good! Thank you!
But it is hard for me to parse the explanation:

"Set the value for the next yield in the enumerator returns."


2011/6/1 Eric Hodel <drbrain@segment7.net>:
>
> Issue #4757 has been...
mame (Yusuke Endoh)
05:06 AM Bug #4762: Adding documentation for mathn
Awesome! Thanks Eric.
anilv (Anil V)
03:55 AM Feature #4086: Feature request: add String#contain? and {Enumerable,Array}#contain? methods
No negative feedback so I created a patch for it. It would be great to have it reviewed before next feature freeze, whoever may do that.
Thanks!
-roger-
rogerdpack (Roger Pack)
03:35 AM Revision 2b0363df (git): * io.c (io_flush, rb_io_flush): need to fsync() when ruby calls internal
flush. [ruby-core:36670] [Bug #4813]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:46 AM Bug #4811 (Closed): Tk extconf.rb failed
This issue was solved with changeset r31894.
Yuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/tk/extconf.rb: fix for uninitialized global variables. [Rub...
nagai (Hidetoshi Nagai)

06/01/2011

11:59 PM Feature #4276: Allow use of quotes in symbol syntactic sugar for hashes
Hi,
> At Thu, 13 Jan 2011 10:17:23 +0900,
> ...
I've forgotten to post the patch.
~~~diff
diff --git i/parse.y w/parse.y
index 06f96ce..0cacdd5 100644
--- i/parse.y
+++ w/parse.y
@@ -380,6 +380,8 @@ static NODE *ret_args_gen(...
nobu (Nobuyoshi Nakada)
10:57 PM Revision 358624d5 (git): * ext/tk/tcltklib.c: reduce CPU power required by an eventloop.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
10:34 PM Revision 9b3e7967 (git): Imported minitest 2.2.2 (r6281)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
10:29 PM Revision 172af012 (git): Clarified String#tr rdoc. (RickHull)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
10:03 PM Bug #4808 (Closed): thread_wait_for() eats 100% of CPU power
This issue was solved with changeset r31893.
Hidetoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* thread_pthread.c (native_sleep): fix 1000times calculation...
kosaki (Motohiro KOSAKI)
01:40 PM Bug #4808 (Assigned): thread_wait_for() eats 100% of CPU power
kosaki (Motohiro KOSAKI)
06:53 AM Bug #4808 (Closed): thread_wait_for() eats 100% of CPU power
いつからかは把握できていませんが (少なくとも 1.9.2p0 では発生しません),
thread_wait_for() が CPU パワーを大量に消費するようになっています.
# これが原因で,Ruby/Tk も CPU を 100 % 消費してしまいます.
このままリリースになってしまうとかなりまずいと思いますので,
優先度 High で急ぎ報告だけあげておきます.
以下はテスト用のコードです.
make 後に ruby -r ./th_wait...
nagai (Hidetoshi Nagai)
09:16 PM Revision ffe4aff8 (git): More clarification for enumerator_feed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
08:23 PM Feature #4766: Range#bsearch
It might make sense for SortedSet (part if the stdlib), though.

Konstantin

On Jun 1, 2011, at 13:07 , Yusuke Endoh wrote:

>
> Issue #4766 has been updated by Yusuke Endoh.
>
> Target version changed from 1.9.3 to 1.9.x
> ...
rkh (Konstantin Haase)
08:07 PM Feature #4766: Range#bsearch
Thank you for your time.
> Once you supply the block, the ordered attribute of a range does not mean anything.
I'm not sure if I could understand this correctly. If the block handles
its parameter in terms of the ordered attrib...
mame (Yusuke Endoh)
04:20 PM Feature #4766 (Rejected): Range#bsearch
I seriously considered about the issue, but I feel something wrong about this feature proposal. Binary search requires the target to be ordered. In that sense, Arrays in general are not ordered, ranges are appeared to be ordered. But "... matz (Yukihiro Matsumoto)
07:57 PM Bug #4738: gem install fails with "Encoding::ConverterNotFoundError" on windows 7 greek
=begin
follow-up issue: #4774
=end
lazaridis.com (Lazaridis Ilias)
06:48 PM Bug #4758: yaml file not human readable when saving utf-8
=begin
link: r31715.
=end
lazaridis.com (Lazaridis Ilias)
06:29 PM Feature #4806: A few Issues subjecting the Issue Tracker
Yui NARUSE wrote:
> Lazaridis Ilias wrote:
> ...
The simple fact is, that the roadmap contains false information about the releases.
1.9.1 RC2
over 2 years late (01/15/2009)
=> should be shown as "closed" / released
1.9.1
over...
lazaridis.com (Lazaridis Ilias)
03:18 PM Feature #4806: A few Issues subjecting the Issue Tracker
Lazaridis Ilias wrote:
> a) I tried to get an overview of the development with the Roadmap, but it's not actual. Please update the roadmap.
Roadmap is used for release engineering; after 1.9.3 feature freeze it will be useful.
In ot...
naruse (Yui NARUSE)
04:32 PM Revision 3e95b638 (git): * test/ruby/test_signal.rb (TestSignal#test_signal_requiring):
redirect stderr to null device.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:46 PM Revision e93a9cfa (git): * 2011-06-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:46 PM Revision eeccb593 (git): * ext/tk/extconf.rb: fix for uninitialized global variables. [Ruby 1.9 - Bug #4811]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
03:35 PM Bug #4812 (Closed): tool/rbinstall.rb does not work with rubygems 1.8.5
=begin
Now rubygems 1.8.5 is merged into the trunk. But tool/rbinstall.rb depends on the fact that
DIRECTORIES = %w[cache doc gems specifications] unless defined?(DIRECTORIES)
line exist in lib/rubygems.rb, which did exist in rubyge...
sakuro (Sakuro OZAWA)
02:59 PM Bug #4811 (Closed): Tk extconf.rb failed
=begin
On Mac OS X 10.5, with the folloing configure options, ext/tk/extconf.rb failed.
'--prefix=/Users/yugui/local' '--program-suffix=-trunk' '--with-rubylibprefix=/Users/yugui/local/lib/ruby-trunk' '--with-soname=ruby-trunk' '--wit...
yugui (Yuki Sonoda)
01:03 PM Revision 859da834 (git): * thread_pthread.c (native_sleep): fix 1000times calculation error.
this is a regression since r31457. [Bug #4808] [ruby-dev:43606]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
11:20 AM Feature #1081: add File::write() convenience method
I want to commit ASAP because we're going to freeze specification,
so if there aren't any problems, I'll commit patch at http://redmine.ruby-lang.org/issues/1081#note-44 [ruby-core:36630].
I remembered that matz approved this new me...
sorah (Sorah Fukumori)
07:23 AM Feature #1081: add File::write() convenience method
hi,

On Tue, May 31, 2011 at 10:20 PM, Yusuke Endoh <mame@tsg.ne.jp> wrote:
> Great!  I tested your patch and noticed no problem.
> Roger and rubyspec folks, could you also check it?
>
> In terms of maintainability, I think that ...
sorah (Sorah Fukumori)
09:59 AM Bug #4777: Ruby 1.9.2-p180 ignoring INT, TERM, and QUIT until it receives CONT
Hello, Nathan

I think that this issue is similar to #4608.

In that ticket, a fault of 11.04 kernel is suspected.
Jason Earl said that manual install of Maverick (10.10) kernel
prevents that issue.

But nobody mentioned...
mame (Yusuke Endoh)
05:18 AM Bug #4777: Ruby 1.9.2-p180 ignoring INT, TERM, and QUIT until it receives CONT
"ruby -v" =>
ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]
We have a test case documented here:
https://github.com/carlhuda/bundler/issues/1200#comment_1269662
Thanks!
nathansobo (Nathan Sobo)
09:44 AM Bug #4775: lib/cgi/*
I did not apply the changes to documentation for class CGI in files besides lib/cgi.rb as they get added to the documentation for the CGI class and don't make much sense (require 'cgi' loads the appropriate files).
I also didn't apply...
drbrain (Eric Hodel)
09:42 AM Bug #4775 (Closed): lib/cgi/*
This issue was solved with changeset r31882.
Kuba, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/cgi/util.rb: Improve documentation. Patch by Kuba Fietkie...
drbrain (Eric Hodel)
09:28 AM Bug #4762: Adding documentation for mathn
Since there were other commits to mathn.rb before I received your patch I applied a modified version.
I added a note to prime.rb mentioning that it is Enumerable. Since Prime already has good documentation I don't think there's a goo...
drbrain (Eric Hodel)
09:26 AM Bug #4762 (Closed): Adding documentation for mathn
This issue was solved with changeset r31881.
Anil, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/mathn.rb: Improve documentation and attach it to Numeric.
...
drbrain (Eric Hodel)
09:23 AM Bug #3924: Performance bug (in require?)
Hi Yusuke,

(05/31/2011 01:58 AM), Yusuke ENDOH wrote:
> Still, trunk is 1.5x slower than 1.9.2 because of the object
> generation.
> Each require does the something like this:
>
> $LOADED_FEATURES.map {|f| File.expand_...
shyouhei (Shyouhei Urabe)
07:59 AM Bug #3924: Performance bug (in require?)
On 1/06/11 12:24 AM, Yusuke Endoh wrote:
>> In addition I have addressed the following concerns from Yusuke:
>> - Please use 4 space for indent, with 8 space tab. (Emacs-style)
>
> Your patch still seems to use 8-space (1-tab) ...
xaviershay (Xavier Shay)
07:17 AM Bug #3924: Performance bug (in require?)

Hello,
Require performance has been imporved a little at r31875, i think.
Please compare the proposal with it.
Thank you.
Yusuke wrote:
> 2011/5/31 Xavier Shay :
> ...
I agree with you.
tarui (Masaya Tarui)
08:22 AM Bug #4757: Attempt to make Enumerator docs more clear (patch included)
Ryan and I worked on the example and wording to help clarify it since #feed is a difficult method to understand. Please double check our work. drbrain (Eric Hodel)
08:20 AM Revision dcc1f64c (git): * thread_pthread.c: remove unused macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
07:36 AM Bug #4760 (Closed): Some documentation improvements for Hash#key
This issue was solved with changeset r31878.
Utkarsh, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* hash.c (key_i): Change rdoc from "the first occurence" to "...
drbrain (Eric Hodel)
07:32 AM Bug #4760: Some documentation improvements for Hash#key
I thought this was ok since Hash is now sorted.
I will change this from "the first occurrence" to "an occurrence" since this is not guaranteed to be a specification of Hash#key.
drbrain (Eric Hodel)
07:27 AM Bug #4756 (Closed): Cleanup and enhance docs for PTY (patch included)
This issue was solved with changeset r31877.
David, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/pty/pty.c (pty_check): Restore "not reached" comment.
...
drbrain (Eric Hodel)
07:27 AM Bug #4756: Cleanup and enhance docs for PTY (patch included)
Oops! I meant to keep the "not reached" comment when I reviewed this diff but it slipped my mind when I applied it. drbrain (Eric Hodel)
07:25 AM Bug #4695 (Closed): documentation updates: Zlib is 100%
This issue was solved with changeset r31876.
Vincent, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/zlib/zlib.c: Fix document-method declarations for set_s...
drbrain (Eric Hodel)
06:42 AM Revision 402cbc87 (git): * parse.y (peek_n): new macro to see next nth char.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:41 AM Revision d441e3b9 (git): * test/ruby/test_syntax.rb (TestSyntax#test_syntax): show script name
in assertion message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:40 AM Revision 19a8b5cb (git): * tool/rbinstall.rb (gem): fix for rubygems change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:57 AM Revision f9648139 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
05:12 AM Revision e4b16eff (git): MOSTLY Imported minitest 2.2.1 (r6277)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
04:05 AM Revision b204eabf (git): * lib/rubygems, test/rubygems: properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:45 AM Revision d2213092 (git): Import rubygems 1.8.5 (released @ 137c80f)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
03:37 AM Revision 4752539e (git): * NEWS: add new features of bigdecimal.
* ChangeLog: 2011-06-01 is Wednesday.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
01:15 AM Bug #4804 (Closed): IO.pipeとNEWLINE_DECORATOR
This issue was solved with changeset r31872.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (io_encoding_set): should honor already set ecflags since...
nobu (Nobuyoshi Nakada)
12:48 AM Revision 38de163f (git): doco: p outputs newline regardless of record separator
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
12:42 AM Revision b8f3f2d6 (git): * lib/cgi/util.rb: Improve documentation. Patch by Kuba Fietkiewicz.
[Ruby 1.9 - Bug #4775]
* lib/cgi/core.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
12:26 AM Revision 5dcb4fc1 (git): * lib/mathn.rb: Improve documentation and attach it to Numeric.
Modified from patch by Anil V. [Ruby 1.9 - Bug #4762]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
12:21 AM Revision b6dd727b (git): * lib/prime.rb: Indent examples enough to appear as code sections.
Note that Prime is Enumerable. [#4762]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
 

Also available in: Atom