Project

General

Profile

Activity

From 08/21/2010 to 08/27/2010

08/27/2010

11:19 PM Revision b6595225 (git): * ext/pathname/pathname.c (path_blockdev_p): Pathname#blockdev?
translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:13 PM Bug #3683: getgrnam on computer with NIS group (+)?
=begin
No no, I mean, current Etc.group { ... } is a very thin wrapper to call getgrent(3) over and over. We do not even open the /etc/group file for us directly. All accesses to those info are via libc calls. So if you encounter that...
shyouhei (Shyouhei Urabe)
01:44 PM Bug #3683: getgrnam on computer with NIS group (+)?
=begin
Refer to
http://ha.redhat.com/mirrors/LDP/LDP/nag2/x-087-2-nis.passwd.html
http://docs.hp.com/en/B9106-90011/group.4.html
=end
phasis68 (Heesob Park)
01:10 PM Bug #3683 (Feedback): getgrnam on computer with NIS group (+)?
=begin
Can you tell us which environment that happen?
=end
shyouhei (Shyouhei Urabe)
09:50 PM Revision 55c2e00d (git): * 2010-08-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:50 PM Revision d9dd3f91 (git): Mention String#prepend.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
09:27 PM Bug #3752 (Rejected): ruby/dl and segmentation fault
=begin
I am trying to port ruby-taglib to ruby 1.9
My current efforts can be dowload at http://rubyforge.org/frs/?group_id=5494 .

When I trying to access an unsupported format file (i.e. an empty file) I have an segmentation faul...
vinc-mai (Vincent Carmona)
09:09 PM Feature #3112: require "yaml" doesn't use psych as default
=begin
Any updates on this? Is there some way I can ensure that my code is using the bundled psych?

Anshul
=end
anshul (Anshul Khandelwal)
09:03 PM Bug #3750: SEGV: ruby -rprofile test/ruby/test_assignment.rb
=begin
On 27 August 2010 13:27, Run Paint Run Run <redmine@ruby-lang.org> wrote:
>
> I can reproduce on Linux.

On OS X too
(with both
ruby 1.9.2p0 (2010-08-18 revision 29034) [x86_64-darwin10.4.0]
and
ruby 1.9.3dev (2010-08-2...
Eregon (Benoit Daloze)
08:27 PM Bug #3750: SEGV: ruby -rprofile test/ruby/test_assignment.rb
=begin
I can reproduce on Linux.
=end
runpaint (Run Paint Run Run)
12:09 PM Bug #3750 (Assigned): SEGV: ruby -rprofile test/ruby/test_assignment.rb
=begin

=end
shyouhei (Shyouhei Urabe)
08:06 AM Bug #3750: SEGV: ruby -rprofile test/ruby/test_assignment.rb
=begin
More specific:
> ruby -rprofile test/ruby/test_assignment.rb -v -n test_assignment
Loaded suite test/ruby/test_assignment
Started
TestAssignmentGen#test_assignment: [BUG] Segmentation fault
ruby 1.9.3dev (2010-08-27) [i...
pweldon (Peter Weldon)
07:51 AM Bug #3750 (Closed): SEGV: ruby -rprofile test/ruby/test_assignment.rb
=begin
> ruby -rprofile test/ruby/test_assignment.rb
Loaded suite test/ruby/test_assignment
Started
...........[BUG] Segmentation fault
ruby 1.9.3dev (2010-08-27) [i386-mswin32_100]

-- control frame ----------
-----------...
pweldon (Peter Weldon)
08:23 PM Bug #3751: SEGV: ruby -rprofile test/ruby/test_proc.rb -v -n test_curry
=begin
I can reproduce on Linux.
=end
runpaint (Run Paint Run Run)
12:07 PM Bug #3751 (Assigned): SEGV: ruby -rprofile test/ruby/test_proc.rb -v -n test_curry
=begin

=end
shyouhei (Shyouhei Urabe)
09:29 AM Bug #3751 (Closed): SEGV: ruby -rprofile test/ruby/test_proc.rb -v -n test_curry
=begin
> ruby -rprofile test\ruby\test_proc.rb -v -n test_curry
Loaded suite test/ruby/test_proc
Started
TestProc#test_curry: test/ruby/test_proc.rb:167: [BUG] Segmentation fault
ruby 1.9.3dev (2010-08-27) [i386-mswin32_100]

...
pweldon (Peter Weldon)
05:20 PM Feature #3622: Net::HTTP does not wait to send request body with Expect: 100-continue
=begin
I don't see any reason to use 0.5 for the timeout. I think a timeout of 0 by default is acceptable to maintain compatible behavior.

I don't understand how to write a test for this that would go in test/net/http yet. I will...
drbrain (Eric Hodel)
01:54 PM Feature #3622 (Feedback): Net::HTTP does not wait to send request body with Expect: 100-continue
=begin

=end
shyouhei (Shyouhei Urabe)
02:22 PM Bug #3713: Ruby 1.8.6 fails to build against Tk >= 8.5
=begin
I'm very sorry. The previous patch is wrong.
Probably, this patch is right.
=end
nagai (Hidetoshi Nagai)
02:07 PM Bug #3713: Ruby 1.8.6 fails to build against Tk >= 8.5
=begin
backport patch
=end
nagai (Hidetoshi Nagai)
12:56 PM Bug #3713 (Assigned): Ruby 1.8.6 fails to build against Tk >= 8.5
=begin

=end
shyouhei (Shyouhei Urabe)
02:02 PM Bug #3640 (Closed): BigDecimal#hash returns -2 for all negative finite numbers.
=begin
This bug fixed by r28825.
=end
mrkn (Kenta Murata)
01:59 PM Bug #3609 (Closed): Float Infinity comparisons in 1.9
=begin

=end
shyouhei (Shyouhei Urabe)
01:51 PM Feature #3627 (Rejected): catchのブロックを再実行するメソッド
=begin
提案事態はrejectしますのでもし新しいアイディアができたらまた登録してください。
=end
shyouhei (Shyouhei Urabe)
01:47 PM Feature #3631 (Assigned): [PATCH] lib/rake.rb: allow passing nil to sh() and ruby()
=begin

=end
shyouhei (Shyouhei Urabe)
01:45 PM Bug #3637 (Closed): win32ole: Remove definition of NONAMELESSUNION in MinGW
=begin

=end
shyouhei (Shyouhei Urabe)
01:41 PM Feature #3378 (Feedback): Range#each should not yield its `begin' itself
=begin
・String#uptoがself.dupを返すようになったのは妥当か?
・Range#eachはすべて左端をdupしたものを渡すべきか?

について、もし何かあればフィードバックください。
=end
knu (Akinori MUSHA)
01:35 PM Feature #3653 (Assigned): Diferential behaviour of positives and negatives ranges as subindex of string or arrays.
=begin

=end
shyouhei (Shyouhei Urabe)
01:29 PM Feature #3657 (Assigned): make cleanがファイルを削除しすぎ
=begin

=end
shyouhei (Shyouhei Urabe)
01:24 PM Bug #3660 (Assigned): Trace events seem to be missing
=begin

=end
shyouhei (Shyouhei Urabe)
01:22 PM Bug #3672 (Assigned): PTY.getpty with non exist program
=begin

=end
shyouhei (Shyouhei Urabe)
01:19 PM Bug #3674 (Assigned): dRuby サーバプロセスを停止する時に時間がかかることがある
=begin

=end
shyouhei (Shyouhei Urabe)
01:18 PM Bug #3676 (Assigned): CMath.cbrt(-8)の結果が複素数にならない
=begin

=end
shyouhei (Shyouhei Urabe)
01:14 PM Bug #3677 (Assigned): unable to run certain gem binaries' in windows 7
=begin

=end
shyouhei (Shyouhei Urabe)
01:07 PM Feature #3685 (Assigned): Struct does not define #to_ary, needed for implicit-splat.
=begin

=end
shyouhei (Shyouhei Urabe)
01:05 PM Bug #3686 (Assigned): Error in parsing musicbrainz.org with rexml
=begin

=end
shyouhei (Shyouhei Urabe)
08:05 AM Bug #3686: Error in parsing musicbrainz.org with rexml
=begin
FWIW, I checked and raquo is a valid entity in XHTML 1.1, the page passes validation, and it correctly states the XHTML 1.1 DTD.

The entity DTD also seems to be included in the modular framework module, a required part of XH...
meta (mathew murphy)
01:02 PM Feature #3697 (Assigned): [PATCH] Allow build of dbm extension with Berkeley DB 5.0 series (for 1.9.2_rc2)
=begin

=end
shyouhei (Shyouhei Urabe)
12:57 PM Feature #3711 (Feedback): IPAddr must not make DNS lookups via IPSocket.getaddress
=begin

=end
shyouhei (Shyouhei Urabe)
12:55 PM Feature #3714 (Assigned): Add getters for Enumerator
=begin

=end
shyouhei (Shyouhei Urabe)
12:53 PM Bug #3716 (Feedback): segfault on String.gsub
=begin
Can you show us a code snippet to reproduce this?
=end
shyouhei (Shyouhei Urabe)
12:51 PM Feature #3719 (Assigned): open-uri should allow redirects from http to https
=begin

=end
shyouhei (Shyouhei Urabe)
12:49 PM Bug #3720 (Assigned): test_marshal_dump_extra_iv doesn't check as intended
=begin

=end
shyouhei (Shyouhei Urabe)
12:45 PM Feature #3727 (Feedback): rb_f_require_relative not included in Ruby API
=begin
Hi,

we do not have rb_f_require_relative now so
if you need one, we need some use cases for
it to make a spec. Do you have one?
=end
shyouhei (Shyouhei Urabe)
12:44 PM Bug #3730 (Closed): invalid sed invocation breaks extra LDFLAGS
=begin
fixed at r29066.
=end
nobu (Nobuyoshi Nakada)
12:39 PM Bug #3730 (Assigned): invalid sed invocation breaks extra LDFLAGS
=begin

=end
shyouhei (Shyouhei Urabe)
12:38 PM Feature #3731 (Feedback): Easier Embedding API for Ruby
shyouhei (Shyouhei Urabe)
12:37 PM Bug #3733 (Assigned): $SAFE==1環境下でtaintな文字列のFile.expand_path
=begin

=end
shyouhei (Shyouhei Urabe)
12:37 PM Bug #3741 (Closed): Remove Mention of Obsolete Method from Object#class RDoc
=begin
This issue was solved with changeset r29113.
Run Paint, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
usa (Usaku NAKAMURA)
12:31 PM Bug #3736 (Assigned): Complex#argがエラーになることがある
=begin

=end
shyouhei (Shyouhei Urabe)
12:30 PM Bug #3738 (Assigned): Invalid Line Number in Unused Variable Warning
=begin

=end
shyouhei (Shyouhei Urabe)
12:28 PM Bug #3739 (Feedback): IO sets streams attached to pseudo-terminal devices to buffered
=begin

=end
shyouhei (Shyouhei Urabe)
12:27 PM Feature #3526 (Closed): IO::NULL; null device path name
This issue was solved with changeset r29110.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
nobu (Nobuyoshi Nakada)
12:22 PM Bug #3744: Fails to compile on OpenSolaris
=begin

=end
shyouhei (Shyouhei Urabe)
12:19 PM Feature #3285 (Closed): BigDecimal.mode should be managed thread-safely
=begin

=end
mrkn (Kenta Murata)
12:17 PM Revision 03f466bd (git): * ChangeLog: fix credit (requested by the author).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
12:10 PM Bug #3749 (Assigned): -rtracer doesn't trace anymore
=begin

=end
shyouhei (Shyouhei Urabe)
10:02 AM Bug #3746: Incorrect Float subtraction
=begin
More explanation:

http://en.wikipedia.org/wiki/Floating_point#Accuracy_problems

Maybe there should be references to these pages in the Float RDOC?


=end
kstephens (Kurt Stephens)
07:31 AM Bug #3746: Incorrect Float subtraction
=begin
Here's another explanation:

http://wiki.github.com/rdp/ruby_tutorials_core/ruby-talk-faq#floats_imprecise
=end
rogerdpack (Roger Pack)
07:33 AM Revision cff3c3d5 (git): * string.c (rb_str_prepend): new method by Sora Harakami
[Feature #3765]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
06:29 AM Revision 0cfe185f (git): * math.c (math_atan2): you should know that M_PI is not the feature
of C90.
fixed build failure caused by r29115.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:26 AM Revision 909477ec (git): * file.c (null_device): move from io.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:23 AM Revision 9614d22b (git): * array.c (rb_ary_sample): removed unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:58 AM Revision e52469a4 (git): * ChangeLog: annotate for redmine.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
03:51 AM Revision 9be503f3 (git): * math.c (math_atan2): change the behavior when x and y are zero.
* test/ruby/test_math.rb (test_atan2): add tests for the above
changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
03:45 AM Revision f64358db (git): * NEWS (IO::NULLL): add.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:27 AM Revision 3a297bb1 (git): * object.c (rb_obj_class): remove mention of obsolete method.
a patch from Run Paint Run Run at [ruby-core:31842].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:26 AM Revision 5b18d9d3 (git): * 2010-08-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:26 AM Revision 35c28566 (git): * lib/net/imap.rb (initialize): sets sync_close to true.
Thanks, Hiroshi NAKAMURA. [ruby-core:31753]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
03:25 AM Revision 3e5e1b6c (git): * io.c (null_device): the name of null device. [ruby-dev:41791]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:48 AM Revision e26c0d6d (git): * NEWS: moved to doc/NEWS-1.9.2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

08/26/2010

11:28 PM Feature #3447: argument delegation
Yuguiです
2010/6/17 Yukihiro Matsumoto <matz@ruby-lang.org>:
> が、もともとの動機とは別として、「`&`」1文字でそのコンテキスト
> ...
深い呼び出し階層でブロックを受け取るために、上位のメソッドが延々とブロックを引き渡し続けるっていうケースは実際にプログラムしていてよく出会います。ですから、このとき下位呼び出しの実引数に`&block`を足して、仮引数にも忘れずに`&block`を足してというの...
yugui (Yuki Sonoda)
11:15 PM Bug #3660: Trace events seem to be missing
=begin
still the case with ruby 1.9.3dev (2010-08-26 trunk 29104) [i386-mingw32]
=end
rogerdpack (Roger Pack)
11:14 PM Bug #3749 (Closed): -rtracer doesn't trace anymore
=begin
$ cat bad.rb

a = [1,2,3]
a.each{|n|
p n
}
$ ruby -vrtracer bad.rb
ruby 1.9.3dev (2010-08-26 trunk 29104) [i386-mingw32]
1
2
3
=end
rogerdpack (Roger Pack)
10:57 PM Revision 5b7ccc06 (git): * array.c (rb_ary_shuffle_bang): bail out from modification during
shuffle.
* array.c (rb_ary_sample): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:57 PM Bug #3745 (Closed): Typo in Array#shuffle! RDoc
=begin
This issue was solved with changeset r29105.
Run Paint, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
08:32 PM Bug #3745 (Closed): Typo in Array#shuffle! RDoc
=begin
The example has a typo w.r.t PRNG argument.
=end
runpaint (Run Paint Run Run)
10:39 PM Bug #3480 (Rejected): gem_prelude: activation should accomodate for '=' and gem 'gem_name', 'version'
=begin
moving this feature request to rubygems proper and/or the faster_rubygems gem.
=end
rogerdpack (Roger Pack)
10:38 PM Feature #3465 (Rejected): improve gem_prelude's Quickloader's Gem.bin_path
=begin
moving this feature request to rubygems proper and/or the faster_rubygems gem.
=end
rogerdpack (Roger Pack)
09:55 PM Bug #3746 (Rejected): Incorrect Float subtraction
=begin
Read this.

What Every Computer Scientist Should Know About Floating-Point Arithmetic
http://docs.sun.com/source/806-3568/ncg_goldberg.html
=end
naruse (Yui NARUSE)
09:07 PM Bug #3746 (Rejected): Incorrect Float subtraction
=begin
This is copied from IRB:

ruby-1.9.2-p0 > 2.0 - 1.0
=> 1.0
ruby-1.9.2-p0 > 2.0 - 1.1
=> 0.8999999999999999
ruby-1.9.2-p0 > 2.0 - 1.2
=> 0.8
ruby-1.9.2-p0 > 2.0 - 1.3
=> 0.7
ruby-1.9.2-p0 > 2.0 - 1.4
...
dim (Dimitrij Denissenko)
08:16 PM Revision 6e08cd5e (git): * 2010-08-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:16 PM Revision 9eb72625 (git): * ext/pathname/pathname.c (path_sysopen): Pathname#sysopen translated
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:46 PM Bug #3742: failed to allocate memory: /^()(?>\g<1>)*$/ on x64-mswin64
=begin
> > このパッチのライセンスは Ruby's or 鬼車のライセンスとしてよいでしょうか。
>
> はい、Ruby's or 鬼車のライセンスでお願いします。

ありがとうございます。

> そのうちr29074含めて1.9.2にもバックポートしていただけると助かります。

ちょうどタイミングよく同じ問題を訴えてきた人がいたので、Backport #3743 というチケットにしています。
yugui さんよろしぅ
=...
naruse (Yui NARUSE)
01:53 PM Bug #3742: failed to allocate memory: /^()(?>\g<1>)*$/ on x64-mswin64
=begin
> このパッチのライセンスは Ruby's or 鬼車のライセンスとしてよいでしょうか。

はい、Ruby's or 鬼車のライセンスでお願いします。
そのうちr29074含めて1.9.2にもバックポートしていただけると助かります。
=end
beuniv (shintaro kuwamoto)
12:13 PM Bug #3742: failed to allocate memory: /^()(?>\g<1>)*$/ on x64-mswin64
=begin
追跡ありがとうございます。
regint.hはオリジナルの鬼車由来の部分だったので、intptr_t でコミットしました。

で、このバグはオリジナルの鬼車にも影響するので、うちの日記 <http://d.hatena.ne.jp/nurse/>あたりに
他の 5.9.2 に対する修正とともにまとめようと思っているのですが、
このパッチのライセンスは Ruby's or 鬼車のライセンスとしてよいでしょうか。
=end
naruse (Yui NARUSE)
10:57 AM Bug #3742 (Closed): failed to allocate memory: /^()(?>\g<1>)*$/ on x64-mswin64
=begin
This issue was solved with changeset r29102.
shintaro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
10:32 AM Bug #3742 (Assigned): failed to allocate memory: /^()(?>\g<1>)*$/ on x64-mswin64
=begin

=end
usa (Usaku NAKAMURA)
01:54 PM Revision 71cf670f (git): * array.c (rb_ary_shuffle): rdoc fix. argument name was missing.
a patch from Run Paint Run Run at [ruby-core:31848].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:50 PM Revision bafaff1f (git): * ext/pathname/pathname.c (path_readlines): Pathname#readlines
translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:41 AM Revision 0eb31be6 (git): * random.c (rb_random_int32): suppress warning on LP64 platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:27 AM Bug #3744 (Rejected): Fails to compile on OpenSolaris
=begin
I'm running RVM on a Joyent Accelerator which runs OpenSolaris. RVM fails to compile ruby 1.9.1 and 1.9.2 - the RVM team tell me this is a problem with Ruby rather than RVM. A full description and error log can be found at http:...
adamp83 (Adam Pennycuick)
01:50 AM Revision b3545895 (git): * regint.h (OnigStackIndex): the type should be intptr_t.
Original Oniguruma assumes the size of long and that of void *
are equal, but it's not true on LLP64 platform: mswin64.
originally patched by shintaro kuwamoto [ruby-dev:42133]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29102...
naruse (Yui NARUSE)
01:16 AM Revision 6ef6cbc4 (git): Creating dummy library for dl/fiddle tests on AIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Yutaka Kanemoto
12:49 AM Revision 7e4015e1 (git): * array.c (rb_ary_shuffle_bang): check number of argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:14 AM Revision 3dc6edf7 (git): * ext/bigdecimal/bigdecimal.c (Init_bigdecimal, rmpd_set_thread_local_exception_mode, VpGetException, VpSetException): thread-local exception mode.
* ext/bigdecimal/bigdecimal.c (Init_bigdecimal, rmpd_set_thread_local_precision_limit, VpGetPrecLimit, VpSetPrecLimit): thread-local precision limit.
* ext/bigdecimal/bigdecimal.c (Init_bigdecimal, rmpd_set_thread_local_rounding_mode, Vp...
Kenta Murata

08/25/2010

11:55 PM Bug #3737 (Rejected): DateTime#to_time doesn't preserve zone
=begin
not a bug

this is same as Time.parse:

Time.parse('2010-08-23T20:14:10+08:00')
#=> 2010-08-23 21:14:10 +0900
=end
tadf (tadayoshi funaba)
10:30 PM Revision 8554e163 (git): * array.c (rb_ary_{shuffle_bang,sample}): use Random class object.
* random.c (try_get_rnd): use default_rand for Random as same as
singleton methods.
* random.c (rb_random_real): check the range of result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:31 PM Bug #3742: failed to allocate memory: /^()(?>\g<1>)*$/ on x64-mswin64
=begin
次のパッチでテスト通るようになりました。

Index: ../regint.h
===================================================================
--- ../regint.h (リビジョン 29091)
+++ ../regint.h (作業コピー)
@@ -720,7 +720,7 @@
BBuf* mbuf; /* multi-byte ...
beuniv (shintaro kuwamoto)
01:23 PM Bug #3742 (Closed): failed to allocate memory: /^()(?>\g<1>)*$/ on x64-mswin64
=begin
http://redmine.ruby-lang.org/issues/show/3459 の続きです。
SEGVするのはr29074で修正していただいたので、そもそもの原因であるメモリ確保失敗のチケットを作っておきます。

Z:\trunk\build>nmake test-all TESTS=ruby/test_regexp.rb

Microsoft(R) Program Maintenance Utility Version...
beuniv (shintaro kuwamoto)
09:07 PM Feature #3447: argument delegation
遠藤です。
2010年8月25日3:23 SASADA Koichi <ko1@atdot.net>:
>  できれば,`VM_CALL_ARGS_BLOCKTRGH_BIT` を増やすんじゃなく
> ...
コメントありがとうございます。でも、見かけ上バリエーションを増やさない
ところで、`VM_CALL_ARGS_BLOCKTRGH_BIT` に結構異なる 2 つの意味を突っ込む
ことになる (スタックに `Proc` を載せる・載せないの違いがあるの...
mame (Yusuke Endoh)
03:23 AM Feature #3447: argument delegation
 ささだです.
 あまりに暑くて目が覚めました.
(2010/08/25 0:30), Yusuke ENDOH wrote:
> ~~~diff
> ...
 できれば,`VM_CALL_ARGS_BLOCKTRGH_BIT` を増やすんじゃなく
て,`VM_CALL_ARGS_BLOCKARG_BIT` だけど,blockiseq かなんかの値を特殊にし
ておくとか,そういう実装にしてもらえるといいんじゃないかと思います.
(命令オペランド...
ko1 (Koichi Sasada)
12:30 AM Feature #3447: argument delegation
遠藤です。
2010年6月17日6:31 Yukihiro Matsumoto <matz@ruby-lang.org>:
> が、もともとの動機とは別として、「`&`」1文字でそのコンテキスト
> ...
パッチを書いてみました。思ったより小さく書けました。
~~~ruby
def foo
yield
end
def bar
foo(&)
end
bar { p 1 } #=> 1
~~~
カッコを省略した場合、...
mame (Yusuke Endoh)
01:11 PM Revision 2034fe61 (git): * ext/pathname/pathname.c (path_binread): Pathname#binread translated
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:14 PM Revision 2531892c (git): reverted to r29091; r29092 breaks test-all
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
11:22 AM Revision 00dcf07e (git): * random.c (rb_random_int32): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:31 AM Revision fd1022c0 (git): * random.c (rb_random_real): check the range of result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:00 AM Revision ae6a9009 (git): * array.c (rb_ary_{shuffle_bang,sample}): use Random class object.
* random.c (try_get_rnd): use default_rand for Random as same as
singleton methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:56 AM Revision 569d8219 (git): * array.c (rb_ary_sample): use frozen shared array to get rid of
reallocation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:51 AM Bug #3741 (Closed): Remove Mention of Obsolete Method from Object#class RDoc
=begin
The documentation for Object#class refers to the obsolete--and removed--method Object#type. This patch is a fix.
=end
runpaint (Run Paint Run Run)
07:43 AM Feature #1122: request for: Object#try
=begin
Now we have rb_check_funcall(), this idiom is easier to realise in C than in Ruby. What's the next step here? More name suggestions? A patch? A call for further comments?
=end
runpaint (Run Paint Run Run)

08/24/2010

11:49 PM Feature #3346: __DIR__ revisted
=begin
Good to hear. __dir__ works for me if that is deemed better, though I concur that it inclines me to expect __FILE__ to be __file__ too. Also, I do not recall who suggested it, but an optional join parameter was once suggested too...
trans (Thomas Sawyer)
06:46 PM Revision c6465aee (git): * ext/dl/cfunc.c (rb_dlcfunc_call): workaround for VC9 for x64.
reported by kuwamoto shintaro in [ruby-dev:42125].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:24 PM Revision 031c0db7 (git): * 2010-08-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:24 PM Revision e0c56f76 (git): * ext/tk/tcltklib.c: add codes for Ruby/Tk-Kit which depends on recent
versions of kitgen for Tclkit (ready to use Mk4tcl or Vqtcl). And
support working on a file tree extracted from a VFS dataset on
Ruby/Tk-Kit. It's still experimental, because ext/tk/extconf.rb
can't make a Makefile for Ruby/Tk-Kit....
nagai (Hidetoshi Nagai)
05:24 PM Revision f9f6289b (git): * 2010-08-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:24 PM Revision bb897dc7 (git): * ext/tk/tcltklib.c: add codes for Ruby/Tk-Kit which depends on recent
versions of kitgen for Tclkit (ready to use Mk4tcl or Vqtcl). And
support working on a file tree extracted from a VFS dataset on
Ruby/Tk-Kit. It's still experimental, because ext/tk/extconf.rb
can't make a Makefile for Ruby/Tk-Kit....
nagai (Hidetoshi Nagai)
02:29 PM Revision 53081b87 (git): * .gitignore: updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
01:08 PM Revision f21230b4 (git): * ext/pathname/pathname.c (path_read): Pathname#read translated from
pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:57 AM Bug #3739: IO sets streams attached to pseudo-terminal devices to buffered
=begin
2010/8/24 Scott Thompson <redmine@ruby-lang.org>:
> Bug #3739: IO sets streams attached to pseudo-terminal devices to buffered
> http://redmine.ruby-lang.org/issues/show/3739
>
> Author: Scott Thompson
> Status: Open, Priori...
akr (Akira Tanaka)
05:19 AM Bug #3739 (Rejected): IO sets streams attached to pseudo-terminal devices to buffered
=begin
In embedding ruby into an application I opened a pseduo-terminal using the system call "openpty".

I passed the file descriptor for one end of the pseudo terminal to IO::for_fd to create a Ruby IO object.

In the implem...
easco (Scott Thompson)
07:17 AM Feature #3649 (Closed): Array#sample, Array#shuffle, Array#shuffle! で使用する乱数生成器を指定するためにオプショナル引数を追加する
=begin
This issue was solved with changeset r29083.
Kenta, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
06:07 AM Bug #3703 (Closed): ChangeLog too big.
=begin
This issue was solved with changeset r29080.
Shyouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
05:01 AM Bug #3738 (Closed): Invalid Line Number in Unused Variable Warning
=begin
run@paint:/tmp → cat unused.rb
def unused *x
self.class.send(:define_method, :m) {|*x| }
end
run@paint:/tmp → ruby -v unused.rb
ruby 1.9.3dev (2010-08-19 trunk 29056) [i686-linux]
unused.rb:2: warni...
runpaint (Run Paint Run Run)
03:27 AM Bug #3737 (Rejected): DateTime#to_time doesn't preserve zone
=begin
Why does DateTime#to_time doesn't preserve the time zone but convert the timestamp to local time zone?

d = DateTime.new(2010, 8, 23, 20, 14, 10, '+08:00')
puts d # => 2010-08-23T20:14:10+08:00

t = d.to_time
puts t #...
janfri (Jan Friedrich)
02:56 AM Feature #3714: Add getters for Enumerator
=begin
The information's presence in #inspect output implies its utility. It is a nod to symmetry to allow the arguments with which the enumerator was instantiated to be retrieved subsequently. However, the selector named 'method' is pr...
runpaint (Run Paint Run Run)
02:44 AM Feature #3715: Enumerator#size and #size=
=begin
>> I find the semantics of Enumerator#size's block argument confusing. Maybe
> if it was called "count" instead which is also a verb, it would less
> confusing?

I don't think so. As Benoit notes, Enumerator already responds...
runpaint (Run Paint Run Run)
01:11 AM Revision f2ff3eb6 (git): * configure.in: read API version from include/ruby/version.h.
* {bcc,win}32/setup.mak (-version-): ditto.
* version.h (RUBY_LIB_VERSION): use API version numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:23 AM Bug #3736 (Closed): Complex#argがエラーになることがある
=begin
[ruby-dev:42106] にあるようにエラーになることがある。

Complex(-0.0, 0.0).arg
Math::DomainError: Numerical argument is out of domain - "atan2"
from (irb):3:in `arg'
from (irb):3
from ./bin/irb:12:in `<main>'
=end
tadf (tadayoshi funaba)

08/23/2010

10:37 PM Bug #3706 (Closed): dependency from version.o to version.h
=begin
This issue was solved with changeset r29076.
Yuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
10:07 PM Revision 2f6c0e3b (git): * array.c (rb_ary_shuffle_bang, rb_ary_sample): add optional
argument random. [ruby-dev:41923] [EXPERIMENTAL]
* random.c (rb_random_{int32,real,bytes}): fallback to normal
method invocation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:08 PM Revision 89339af9 (git): * include/ruby/version.h (RUBY_API_VERSION_*): renamed and moved
from version.h. [ruby-dev:42103]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:03 PM Revision 0d5b1718 (git): * doc/ChangeLog-1.9.3: mistake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:58 PM Revision 4be11cde (git): * ChangeLog: flushed. [ruby-dev:42050]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:22 PM Revision e586e054 (git): * 2010-08-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:22 PM Revision af8cae1e (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): to_f must underflow when the exponent is less than DBL_MIN_10_EXP - BASE_FIG.
* test/bigdecimal/test_bigdecimal.rb (test_to_f): added test for the above changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
03:22 PM Bug #3726: require degradation from 1.9.1
=begin
Some bugs are called "features" ;-D
Anyway, faster-rubygems do the job. Perhaps, some ideas from it could be incorparated into the rubygems?
=end
funny_falcon (Yura Sokolov)
02:16 PM Revision 526d246f (git): * ext/pathname/pathname.c (path_each_line): Pathname#each_line
translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:31 PM Revision 645114b2 (git): * common.mk (version.o): depends on both of version.h and
include/ruby/version.h. [ruby-dev:42063]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:37 PM Bug #3459 (Closed): test_regexp.rb Segmentation fault on x64-mswin64
=begin
This issue was solved with changeset r29074.
shintaro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
04:12 AM Revision 298a6e1c (git): * backport r29071 from ruby_1_8;
* ext/openssl/ossl_asn1.c (obj_to_asn1bool): fixed ASN1::Boolean
encoding issue for OpenSSL 1.0.0 compatibility.
ASN1::Boolean.new(false).to_der wrongly generated "\1\1\377" which
means 'true'.
...
Hiroshi Nakamura
03:32 AM Revision d078f51f (git): * re.c (rb_reg_search): fix: 4th argument should be regexp
object. patched by shintaro kuwamoto [ruby-dev:41667] #3459
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:19 AM Revision 815ab029 (git): * util.c (ruby_strtod): make sure to have digit-sequence after 'p'
for hexadecimal-floating-constant. [ruby-dev:42105]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:06 AM Revision 06625fd8 (git): * 2010-08-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:06 AM Revision 8d764960 (git): * ext/openssl/ossl_asn1.c (obj_to_asn1bool): fixed ASN1::Boolean
encoding issue for OpenSSL 1.0.0 compatibility.
ASN1::Boolean.new(false).to_der wrongly generated "\1\1\377" which
means 'true'.
ASN1_TYPE_set of OpenSSL <= 0.9.8 treats value 0x100 as 'false' but
...
Hiroshi Nakamura
02:15 AM Bug #3734 (Assigned): Float('0xf.fp') がエラーにならない
=begin

=end
naruse (Yui NARUSE)
12:49 AM Bug #3734 (Closed): Float('0xf.fp') がエラーにならない
=begin
Float('0xf.fp') がエラーにならない。

$ ./ruby -e "p Float('0xf.fp')"
15.9375

$ ./ruby -e "p Float('0xf.fq')"
-e:1:in `Float': invalid value for Float(): "0xf.fq" (ArgumentError)
from -e:1:in `<main>'

$ ./ruby -e "p Fl...
tadf (tadayoshi funaba)
12:24 AM Bug #3687 (Closed): Date#rfc3339 does not include time, which breaks Date._rfc3339
=begin

=end
tadf (tadayoshi funaba)

08/22/2010

11:56 PM Bug #3726: require degradation from 1.9.1
=begin

On 22 Aug 2010, at 03:25, Yura Sokolov wrote:

> Issue #3726 has been updated by Yura Sokolov.
>
>
>> It is also worth noting that this is actually measuring the load time for rubygems itself.
>
> I understood it.
> ...
raggi (James Tucker)
05:30 PM Bug #3726: require degradation from 1.9.1
=begin
Well, faster-rubygems seems to do the job. Thank you, Roger.
=end
funny_falcon (Yura Sokolov)
03:19 PM Bug #3726: require degradation from 1.9.1
=begin
> It is also worth noting that this is actually measuring the load time for rubygems itself.

I understand it.

I have shell scripts running by schedule, and some cgi scripts, and they runs much slower under 1.9.2 than under ...
funny_falcon (Yura Sokolov)
11:31 PM Bug #3693: visibility hidden functions
=begin
 ささだです.

 SEGV バグなので,1.9.2 にバックポートして頂ければと思います.

(2010/08/14 18:17), Narihiro Nakamura wrote:
> チケット #3693 が更新されました。 (by Narihiro Nakamura)
>
>
> nari です。
>
> 中田さんの修正のおかげで ext/objspace/objspace.c が動くようになったので
> テストとバグ...
ko1 (Koichi Sasada)
09:10 PM Bug #3678: CMath.sqrt(1.i) results to 0.0+0.0i
=begin
This bug still exists in ruby 1.9.2p0.

I think changeset r28964 should be backported.
=end
phasis68 (Heesob Park)
06:26 PM Bug #3733: $SAFE==1環境下でtaintな文字列のFile.expand_path
=begin
ただただしです。

ちょっと追いかけてみました。tmpdir.rbの実装が変わって、$SAFE > 0の
時に常にEtc.systmpdirを使うようになっていて、これがtaintな文字列を
返すためみたいです。

以前「/tmpは危険とみなす」ような話があったと思うので、これは意図的?

tmpdir.rb内のDir::tmpdirで、@@systmpdir.unraintとすれば動くようにな
りましたが、たぶんこれ...
tdtds (Tadashi TADA)
05:50 PM Bug #3733 (Closed): $SAFE==1環境下でtaintな文字列のFile.expand_path
=begin
ただただしです。

$SAFEが1な環境下で、taintな文字列をFile.expand_pathにかけると、
Insecure operationになります。1.8では発生しませんでした。

% ruby18 -ve '$SAFE=1;File.expand_path(".".taint)'
ruby 1.8.7 (2010-06-23 patchlevel 299) [i686-linux]

% ruby19 -ve...
tdtds (Tadashi TADA)
05:36 PM Feature #3731: Easier Embedding API for Ruby
Dear Asher,
Well, I certainly agree documentation should be improved for this use case! :)
However, the problem with what you suggest is that it doesn't work more than once.
For example; I get a segmentation violation (crash) w...
Beoran (Beoran Aegul)
07:58 AM Feature #3731: Easier Embedding API for Ruby
What is difficult about this?
Example:
```c
#include <ruby.h>
int main( int argc __attribute__((unused)), char *argv[] __attribute__((unused)) ) {

ruby_init();

// Ruby Options are just like /usr/bin/ruby
// interpr...
asher (Asher Haig)
07:16 AM Feature #3731 (Assigned): Easier Embedding API for Ruby
=begin
With Ruby 1.9, it has become more difficult to embed Ruby in a C application correctly.
It would be nice if there was a clearly documented and simple C API to embed ruby in C programs.
I know Ruby was not designed from the ...
Beoran (Beoran Aegul)
03:24 PM Revision 54f34409 (git): * 2010-08-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:24 PM Revision 9d2025c8 (git): * lib/date.rb, lib/date/format.rb: [ruby-core:31695]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
09:17 AM Bug #3721 (Closed): Unsigned formats broken in 1.9.2's unpack
=begin
This issue was solved with changeset r29068.
Daniel, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
akr (Akira Tanaka)
08:11 AM Bug #3721: Unsigned formats broken in 1.9.2's unpack
=begin
Thanks, the patch seems to fix it!
Perhaps it's worthwhile to extend the "make test" suite of self-tests to verify the expected behavior of the unpack method?
=end
Noxerus (D. G.)
03:26 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Hi,

I am attaching my patch rebased against the new Ruby 1.9.2p0 release.

Should I just continue rebasing my patch against Ruby trunk/releases
periodically like this until someone really considers this patch again?
...
sunaku (Suraj Kurapati)
12:10 AM Revision b25bda45 (git): * include/ruby/ruby.h (UINT2NUM): fix ifdef condition for LLP64.
reported by Daniel Gutmanas. [ruby-core:31778]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)

08/21/2010

11:30 PM Feature #3714: Add getters for Enumerator
=begin
Hi,

On 18 August 2010 21:51, Marc-Andre Lafortune <redmine@ruby-lang.org> wrote:
> For sake of completeness and introspection, it could be useful to have access to them.

Do you have any idea for a use case ?

Would it al...
Eregon (Benoit Daloze)
11:15 PM Feature #3715: Enumerator#size and #size=
=begin
Hi,

On 18 August 2010 22:02, Marc-Andre Lafortune <redmine@ruby-lang.org> wrote:
> It would be useful to be able to ask an Enumerator for the number of times it will yield, without having to actually iterate it. [...]
> This...
Eregon (Benoit Daloze)
01:43 PM Feature #3715: Enumerator#size and #size=
=begin
Hi,

On Thu, Aug 19, 2010 at 9:08 PM, Run Paint Run Run <redmine@ruby-lang.org> wrote:
> An enumerator is effectively immutable.

Indeed, it would be better to specify the size (value or proc) at creation time. I sugge...
marcandre (Marc-Andre Lafortune)
09:46 PM Revision 119da02e (git): * array.c (RAND_UPTO): macro for random number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:55 PM Revision 6eb92276 (git): * configure.in: fix typo. a patch from Eric Wong at
[ruby-core:31810].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:19 PM Bug #2420 (Open): super call may use wrong receiver object
=begin

=end
wanabe (_ wanabe)
07:07 PM Bug #2420 (Closed): super call may use wrong receiver object
=begin
This issue was solved with changeset r29063.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
wanabe (_ wanabe)
07:07 PM Bug #2502 (Closed): strange behavior of anonymous class inside a proc
=begin
This issue was solved with changeset r29063.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
wanabe (_ wanabe)
07:07 PM Bug #3136 (Closed): reuse of singleton method definition causes SEGV
=begin
This issue was solved with changeset r29063.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
wanabe (_ wanabe)
02:38 PM Revision df5f6825 (git): * test/ruby/test_super.rb: add test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wanabe (_ wanabe)
01:19 PM Bug #3730 (Closed): invalid sed invocation breaks extra LDFLAGS
=begin
sed needs the '-e' flag when there are multiple arguments passed to it. This
was introduced in r28626 in trunk and r28781 in 1.9.2 and breaks my
normal way of linking libtcmalloc_minimal:

I get this error from ./configu...
normalperson (Eric Wong)
11:10 AM Revision 72c811a3 (git): * vm.c: add missing prototype of rb_iseq_clone for r29063.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:00 AM Revision d1b77f5e (git): * vm.c (vm_define_method): copy iseq to avoid overwriting iseq->klass.
#2502, #3136. see #2420.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
wanabe (_ wanabe)
08:37 AM Revision a161f124 (git): * 2010-08-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:37 AM Revision 86b26898 (git): * ext/pathname/pathname.c (path_split): Pathname#split translated from
pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:38 AM Bug #3728 (Closed): IO.select is not documented.
=begin
Go here: http://ruby-doc.org/ruby-1.9/index.html

Click the IO class and the select method. It links to Kernel#select which also appears to have no documentation.
=end
mperham (Mike Perham)
03:35 AM Bug #3722: segfault in rb_iterate (1.9.3, r29057)
=begin
I started tearing everything apart and came up with this minimal case:

% ruby --version
ruby 1.9.3dev (2010-08-19 trunk 29056) [x86_64-linux]

% cat fail.rb
require 'profile'
class A
include Enumerable

...
Cezary (Cezary Baginski)
02:45 AM Bug #3723: Remove unused control frame variable: rb_control_frame_t.block_iseq
=begin
I apologise, I did not understand the connection between rb_control_frame_t and rb_block_t. I see now that these macros are used to access rb_control_frame_t members via a rb_block_t:

vm_core.h:
#define RUBY_VM_GET_BLOCK_P...
pweldon (Peter Weldon)
02:16 AM Bug #3726: require degradation from 1.9.1
=begin
It is also worth noting that this is actually measuring the load time for rubygems itself.

A more accurate representation of the speed of require would come from first loading rubygems explicitly.

require 'rubygems'

Prof...
raggi (James Tucker)
02:12 AM Bug #3726: require degradation from 1.9.1
=begin
This isn't degradation, it's actually correct behaviour. RubyGems can be (and will be) optimised over time, but the old performance was reliant on very incorrect semantics that are not acceptable for production use.
=end
raggi (James Tucker)
12:49 AM Bug #3726: require degradation from 1.9.1
=begin
This is probably because it no longer uses gem_prelude "as much" in 1.9.2
If this is the case and you want the old speed back you could use the faster_rubygems gem.
=end
rogerdpack (Roger Pack)
01:58 AM Feature #3727 (Closed): rb_f_require_relative not included in Ruby API
=begin
Now that Ruby no longer includes the current directory in $: as of Ruby 1.9.2, those of us using the C API cannot use rb_require() to require a file in the same directory as our native code without adding the current directory t...
jeffshantz (Jeff Shantz)
 

Also available in: Atom