Project

General

Profile

Activity

From 01/26/2011 to 02/01/2011

02/01/2011

03:32 PM Revision af3167d5 (git): * 2011-02-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:32 PM Revision 6909ea44 (git): * include/ruby/st.h (st_table): Added comment why we need __extension__.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
01:39 PM Feature #4197: Improvement of the benchmark library
=begin
Hi

> * lib/benchmark.rb: fix benchmarck to work with current ruby.
>  patched by Benoit Daloze [ruby-core:33846] [ruby-dev:43143]
>  merged from https://github.com/eregon/ruby/commits/benchmark
>
> *  lib/benchmark (Report...
kosaki (Motohiro KOSAKI)
01:17 AM Feature #4197 (Closed): Improvement of the benchmark library
=begin
This issue was solved with changeset r30747.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* lib/benchmark.rb: fix benchmarck to work with current ...
naruse (Yui NARUSE)
01:17 PM Revision eb70987c (git): doc/NEWS-1.9.2: add File#size
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:47 AM Revision 0f7fc546 (git): * enc/encdb.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:31 AM Bug #4352 (Closed): [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
=begin
def ex_message
begin
yield
rescue => e
p e.message
end
end

ex_message { eval('raise') }
ex_message { eval('raise', binding) }

eval('def f ; end')
p method(:f).source_location
eval('def g...
quix (James M. Lawrence)
06:15 AM Revision c4bf3eba (git): * test/ruby/test_require.rb (TestRequire#test_require_with_unc):
use ``127.0.0.1'' instead of ``localhost'' as host name, because
XP or earlier cannot resolv it as NBT hostname.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:33 AM Revision 6e2a194f (git): * test/benchmark/test_benchmark.rb (#capture_bench_output):
Added explict sleep. Windows have imprecise time support.
Thus Tms.new.Add!{} may be or may be not equal 0. The
test failure started since r30747.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30753 b2dd03c8-39...
kosaki (Motohiro KOSAKI)
03:11 AM Revision ec84bfc9 (git): Import rubygems 1.5.0 (released version @ 1fb59d0)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
01:17 AM Bug #4341 (Closed): baserubyに1.8.xを指定すると make benchmark がエラー
=begin
This issue was solved with changeset r30747.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* lib/benchmark.rb: fix benchmarck to work with curren...
naruse (Yui NARUSE)
12:04 AM Feature #4351: Server Name Indication (SNI) for net/http
=begin
へぇ、こんなものが、知りませんでした。
わたしは賛成です、入れてしまっていいんじゃないでしょうか。
=end
naruse (Yui NARUSE)

01/31/2011

11:01 PM Revision f4234c9b (git): * ext/io/console/console.c (console_set_winsize): new method to set
console size. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:56 PM Revision c90d5be8 (git): * ext/io/console/console.c (console_winsize): use GetWriteFD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:11 PM Feature #4351 (Closed): Server Name Indication (SNI) for net/http
=begin
ふと、SSL で name based vitual をやる話 (SNI - RFC 3546) はどうなったんだっけ、
と思って探したら、以下を見つけたので、net/http にも対処を
入れるのはどうですかね。

ssl - OpenSSL Server Name Indication support in Ruby - Stack Overflow
http://stackoverflow.com/questions/46857...
akr (Akira Tanaka)
06:37 PM Bug #4350: Segmentation fault and Bus Error
=begin
It seems related to #2295
=end
qianthinking (Leon Li)
06:34 PM Bug #4350 (Rejected): Segmentation fault and Bus Error
=begin
My server crashes 0-4 times a day with segmentation faults.
The fault seems related to activerecord transaction, but it is not always a same spot, so the attached are just examples of some occurrence.

The application is a...
qianthinking (Leon Li)
05:31 PM Revision fb672259 (git): * include/ruby/win32.h, win32/win32.c: add rb_w32_inet_ntop.
inet_ntop's minimum supported client is Vista.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masaya Tarui
04:11 PM Revision b32992e8 (git): * 2011-02-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:11 PM Revision 979ec8df (git): * lib/benchmark.rb: fix benchmarck to work with current ruby.
patched by Benoit Daloze [ruby-core:33846] [ruby-dev:43143]
merged from https://github.com/eregon/ruby/commits/benchmark
* lib/benchmark (Report#width): update documentation
* lib/benchmark: document the return value of #benchmark a...
naruse (Yui NARUSE)
03:21 PM Bug #4349 (Closed): typo of rdoc in marshal.c
=begin
--- marshal.c 2011-01-31 15:15:25.000000000 +0900
+++ marshal.c.new 2011-01-31 15:16:39.000000000 +0900
@@ -864,7 +864,7 @@

/*
* call-seq:
- * dump( obj [, anIO] , limit=--1 ) -> anIO
+ * dump(...
phasis68 (Heesob Park)
02:47 PM Bug #4345 (Closed): IRB fails with --disable-gems and Ubuntu default LANG variable
=begin
This issue was solved with changeset r30741.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* lib/irb/locale.rb (IRB::Locale::#search_file):
Gem mi...
yugui (Yuki Sonoda)
02:30 PM Bug #4345: IRB fails with --disable-gems and Ubuntu default LANG variable
=begin

=end
yugui (Yuki Sonoda)
05:37 AM Bug #4345: IRB fails with --disable-gems and Ubuntu default LANG variable
=begin
IRB's localization support appears to try using RubyGems to load the localized file?

This was the commit that added it. Does not appear to exist in 1.9.2:


commit 09aefc43a54bff5c27c856de71af4d18e9223d59
Author: yug...
headius (Charles Nutter)
02:29 PM Revision 6b06ba0c (git): * node.c (add_id): remove duplicated rb_id2str() call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
02:07 PM Bug #4343: Dir.glob does match files without extension
=begin
On 01/30/2011 06:30 PM, mathew wrote:
> On Sat, Jan 29, 2011 at 11:49, Jeremy Bopp <jeremy@bopp.net> wrote:
>> Where possible, Ruby scripts should see *Ruby* as the platform, not
>> Linux, not OSX, and not Windows.
>
> If t...
javanthropus (Jeremy Bopp)
09:30 AM Bug #4343: Dir.glob does match files without extension
=begin
On Sat, Jan 29, 2011 at 11:49, Jeremy Bopp <jeremy@bopp.net> wrote:
> Where possible, Ruby scripts should see *Ruby* as the platform, not
> Linux, not OSX, and not Windows.

If that's true, are Ruby filenames case-sensitive o...
meta (mathew murphy)
01:08 PM Revision ff4ba406 (git): * missing/langinfo.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:59 PM Revision 7fb70b4e (git): * configure.in: revert r30698.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
12:40 PM Revision a2ba50d9 (git): * thread.c (thread_start_func_2): check deadlock condition before
release thread stack. fix memory violation when deadlock detected.
reported by Max Aller. [Bug #4009] [ruby-core:32982]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
11:57 AM Revision d07940ee (git): * ChangeLog: fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
11:20 AM Bug #1145: IRB adds trailing quote to wtring methods when performing auto-completion
=begin
Yes, unfortunately it still happens.

Except for JRuby, all the following "rubies" have this defect:
* ruby-1.9.2-p136 [ x86_64 ]
* rbx-1.2.0-20101221 [ ]
* ree-1.8.7-2010.02 [ x86_64 ]
* ruby-1.8.7-p330 [ x86_64 ]
...
adrianomitre (Adriano Mitre)
08:42 AM Feature #4326: Fiber should respond to call() and []
=begin
New patch without Fiber#[]
=end
tenderlovemaking (Aaron Patterson)
08:37 AM Feature #4326: Fiber should respond to call() and []
=begin
On Sat, Jan 29, 2011 at 10:15:31AM +0900, Yusuke ENDOH wrote:
> Hi,
>
> 2011/1/27 Kurt Stephens <redmine@ruby-lang.org>:
> > Shouldn't Fiber#[] behave like Thread#[]?
>
> I think more notice should be taken of Kurt's rem...
tenderlovemaking (Aaron Patterson)
08:26 AM Feature #4326: Fiber should respond to call() and []
=begin
On Sun, Jan 30, 2011 at 01:47:06PM +0900, Charles Oliver Nutter wrote:
> On Sat, Jan 29, 2011 at 11:41 AM, Aaron Patterson
> <aaron@tenderlovemaking.com> wrote:
> >> 1. subroutines are a specialization of coroutines. Then it's...
tenderlovemaking (Aaron Patterson)
07:32 AM Bug #4346: Sort_by! causes uniq! to crash on array of hashes
=begin
Thank you. I tested with SVN revision stated above and the bug is gone.
=end
squarism (Chris Dillon)
06:07 AM Bug #4346 (Closed): Sort_by! causes uniq! to crash on array of hashes
=begin
This issue was solved with changeset r30738.
Chris, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
Add ML Reference and a test for r30736 [ruby-core:34997]
...
naruse (Yui NARUSE)
03:12 AM Bug #4346 (Closed): Sort_by! causes uniq! to crash on array of hashes
=begin
Summary:
Sorting an array of hashes before doing a uniq! causes ruby to crash on uniq!.

Program to reproduce:
a = [
{ :color => "blue", :name => "water" },
{ :color => "red", :name => "fire" },
{ :color => "w...
squarism (Chris Dillon)
06:29 AM Feature #4147: Array#sample で重みを指定したい
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:43148] [Ruby 1.9-Feature#4147] Array#sample で重みを指定したい"
on Sun, 30 Jan 2011 19:14:20 +0900, Yoji Ojima <redmine@ruby-lang.org> writes:

|遅くなりましたが、簡単にまとめると、
|
|- choice というネーミングは単一選...
matz (Yukihiro Matsumoto)
05:46 AM Revision 9a89f325 (git): * lib/irb/locale.rb (IRB::Locale::#search_file):
Gem might be undefined if --disable-gems. [ruby-core:34990]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
05:32 AM Feature #4347 (Closed): Tracing cannot be re-enabled after callcc [patch]
=begin
% patch -p1 < test_continuation_tracing.patch
patching file test/ruby/test_continuation.rb
% ./ruby -v test/ruby/test_continuation.rb
ruby 1.9.3dev (2011-01-30 trunk 30735) [i386-darwin9.8.0]
Run options:

# Runni...
quix (James M. Lawrence)
03:44 AM Revision 48de1e29 (git): * addr2line.c: suppressed shorten-64-to-32 warnings.
* regcomp.c: ditto.
* regexec.c: ditto.
* regint.h: ditto.
* regparse.c: ditto.
* regparse.h: ditto.
* time.c: ditto.
* variable.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

01/30/2011

10:18 PM Feature #4326: Fiber should respond to call() and []
=begin
This might go in a slightly different direction, but I would really love Fiber to define #to_proc allowing things like [1, 2, 3].each(&fiber).

Also note that in ANSI smalltalk (which has a rather common object model to Ruby) a...
rkh (Konstantin Haase)
01:50 PM Feature #4326: Fiber should respond to call() and []
=begin
On Fri, Jan 28, 2011 at 9:28 PM, Jim Weirich <jim.weirich@gmail.com> wrote:
> I wouldn't say Knuth is wrong, but a natural language "is-a" is not always
> an indication of subtype (c.f. the square/rectangle paradox where a squa...
headius (Charles Nutter)
01:47 PM Feature #4326: Fiber should respond to call() and []
=begin
On Sat, Jan 29, 2011 at 11:41 AM, Aaron Patterson
<aaron@tenderlovemaking.com> wrote:
>> 1. subroutines are a specialization of coroutines. Then it's perfectly
>> valid for subroutines to define things coroutines do not.
>
>...
headius (Charles Nutter)
02:41 AM Feature #4326: Fiber should respond to call() and []
=begin
On Sat, Jan 29, 2011 at 09:45:30AM +0900, Charles Oliver Nutter wrote:
> On Fri, Jan 28, 2011 at 5:29 PM, Aaron Patterson
> <aaron@tenderlovemaking.com> wrote:
> > My point is that it seems that LSP is broken.  Either Fiber sh...
tenderlovemaking (Aaron Patterson)
09:47 PM Revision f83d4b17 (git): Additional fix for r30736
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:00 PM Revision a924b176 (git): Add ML Reference and a test for r30736 [ruby-core:34997]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:42 PM Revision a6d0cd44 (git): * 2011-01-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:42 PM Revision 88a9b878 (git): * array.c (rb_ary_uniq_bang): call ARY_SET_LEN(ary, 0) before
rb_resize_capa because rb_resize_capa expects resized length is
smaller than current array length. call rb_ary_unshare before
rb_resize_capa because rb_resize_capa losts the reference to
original shared array.
git-svn-id: svn+ssh:...
naruse (Yui NARUSE)
07:14 PM Feature #4147: Array#sample で重みを指定したい
=begin
>機能的な必要性/十分性については私には判断がつきませんが、私
>には問題なさそうに見えます。ただし、each_sample, each_choice
>という名前に若干の違和感がありますので、ruby-coreの人たちの
>意見も聞きたいところです。

遅くなりましたが、簡単にまとめると、

- choice というネーミングは単一選択のニュアンスがあるので望ましくない
- 復元抽出をオプション repeat: true...
oj (Yoji Ojima)
11:36 AM Bug #4343: Dir.glob does match files without extension
=begin
Here is some more results of Dir.glob on Windows.


irb(main):001:0> Dir.glob('bla*')
=> ["bla", "bla.rb"]
irb(main):002:0> Dir.glob('bla.rb')
=> ["bla.rb"]
irb(main):003:0> Dir.glob('bla.rb...........')
=> ["bla....
phasis68 (Heesob Park)
03:01 AM Bug #4343: Dir.glob does match files without extension
=begin
Ok, the confusion comes from the differences between platforms. Lets have file named "foo.bar".

On Windows, the filename consist of two parts, the filename "foo" and the extension "bar". These two parts are traditionally se...
vo.x (Vit Ondruch)
02:49 AM Bug #4343: Dir.glob does match files without extension
=begin
On 01/29/2011 11:09 AM, Vít Ondruch wrote:
> Well glob should behave on Windows by Windows conventions and on Unix by
> Unix conventions. It is like if you will insist that file creation has
> to behave the same way on Unix as...
javanthropus (Jeremy Bopp)
02:26 AM Bug #4343: Dir.glob does match files without extension
=begin


On 1/29/2011 12:09 PM, Vít Ondruch wrote:
> Well glob should behave on Windows by Windows conventions and on Unix
> by Unix conventions. It is like if you will insist that file creation
> has to behave the same way on Un...
lsegal (Loren Segal)
02:00 AM Bug #4343: Dir.glob does match files without extension
=begin
On 01/29/2011 10:33 AM, Vít Ondruch wrote:
> Dne 29.1.2011 17:27, Jeremy Bopp napsal(a):
>> On 01/29/2011 10:19 AM, Nobuyoshi Nakada wrote:
>>> Issue #4343 has been updated by Nobuyoshi Nakada.
>>>
>>>
>>>> Why there is for...
javanthropus (Jeremy Bopp)
01:27 AM Bug #4343: Dir.glob does match files without extension
=begin
On 01/29/2011 10:19 AM, Nobuyoshi Nakada wrote:
> Issue #4343 has been updated by Nobuyoshi Nakada.
>
>
>> Why there is for the first case listed "bla." instead of just "bla".
>
> Because you gave "bla.". Dir.glob respe...
javanthropus (Jeremy Bopp)
01:25 AM Bug #4343: Dir.glob does match files without extension
=begin
If they are the same, then my original scenario has to list also "bla", otherwise you are not consistent.
=end
vo.x (Vit Ondruch)
01:19 AM Bug #4343: Dir.glob does match files without extension
=begin
> Why there is for the first case listed "bla." instead of just "bla".

Because you gave "bla.". Dir.glob respects the given pattern as possible.
And "bla." and "bla" are same on NTFS.
=end
nobu (Nobuyoshi Nakada)
12:38 AM Bug #4343: Dir.glob does match files without extension
=begin
Well by displaying the "dir" output I tried to point out that it is not that expected.

Btw. these are other not so logical outputs:

c:\temp>ruby -e "p Dir.glob('bla.{,*}')"
["bla.", "bla.rb"]

c:\temp>ruby -e "p D...
vo.x (Vit Ondruch)
12:25 AM Bug #4343 (Feedback): Dir.glob does match files without extension
=begin

=end
nobu (Nobuyoshi Nakada)
12:24 AM Bug #4343: Dir.glob does match files without extension
=begin
Yes, it is a expected result, as you specified the pattern with extension.
=end
nobu (Nobuyoshi Nakada)
12:10 AM Bug #4343 (Rejected): Dir.glob does match files without extension
=begin
C:\temp\pat>dir bla.*
Svazek v jednotce C je Windows7_x64_OS.
Sériové číslo svazku je 2C6E-5F69.

Výpis adresáře C:\temp\pat

29.01.2011 15:37 0 bla
29.01.2011 15:37 0 bla.rb
...
vo.x (Vit Ondruch)
08:20 AM Revision 627e79f1 (git): * missing/crypt.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:40 AM Revision ce000710 (git): * test/rubygems/test_gem_security.rb (TestGemSecurity): valid only
if OpenSSL is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:15 AM Revision 59064a75 (git): * test/dl/test_dl2.rb (TestDL#test_sin): math functions do not
work on x86_64 due to the design of DL2.
* test/dl/test_func.rb (DL::TestFunc#test_{sinf,sin): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:10 AM Revision 2418e5ca (git): * strftime.c (rb_strftime_with_timespec): %G produces 4 digits.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:13 AM Revision b4be48e8 (git): * enc/emacs_mule.c (emacsmule_islead): 7bit range is also leading
byte.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:09 AM Bug #4345 (Closed): IRB fails with --disable-gems and Ubuntu default LANG variable
=begin
Hello,

luislavena (Luis Lavena)
04:03 AM Revision 46142e47 (git): * hash.c (rb_hash_fetch_m): use useful message for longer key, not a
nonsense id value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:01 AM Revision f989f7c7 (git): * string.c (rb_str_ellipsize): new function to ellipsize a string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:57 AM Bug #4344 (Closed): [ext/openssl] BN comparison to nil fails
=begin
This issue was solved with changeset r30724.
Martin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* ext/openssl/ossl_bn.c (GetBNPtr): add missing nil case...
naruse (Yui NARUSE)
03:19 AM Bug #4344 (Closed): [ext/openssl] BN comparison to nil fails
=begin
Hi all,

this currently fails in all 1.9.2 versions including trunk:

require 'openssl'

bn = OpenSSL::BN.new("1")
bn == nil

=> in `eql?': Cannot convert into OpenSSL::BN (TypeError)

The reason is that Get...
MartinBosslet (Martin Bosslet)
03:56 AM Revision 4dcc883d (git): * include/ruby/encoding.h (rb_enc_step_back): new function to step
back n characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:53 AM Revision 286615d4 (git): * enc/emacs_mule.c (emacsmule_islead): fix inverse condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:02 AM Revision 2a5177e7 (git): io.c (struct argf): char behaves like an unsigned char by default on AIX.
http://publib.boulder.ibm.com/infocenter/comphelp/v111v131/index.jsp?topic=/com.ibm.xlcpp111.aix.doc/language_ref/ch.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Yutaka Kanemoto

01/29/2011

11:03 PM Revision 33671c82 (git): * configure.in: Mac OS X wrongly reports it has fdatasync(3).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:18 PM Bug #4342 (Closed): YAML raises an exception while parsing certain regular expressions
=begin
Roundtripping does not work for the regular expresion //n , and this appears to be distinct from Backport87 bug 1639.

irb -d
ruby-head :001 > require "yaml"
Exception `NameError' at /Users/agrimm/.rvm/rubies/ruby-head/li...
agrimm (Andrew Grimm)
08:35 PM Bug #4341 (Closed): baserubyに1.8.xを指定すると make benchmark がエラー
=begin
trunkをビルドするとき、baserubyを指定する必要があるのですが、多くの人はruby-1.8.xを
指定していると思います(それが推奨と以前聞きました)。

しかしながら、make benchmarkがbaseruby指定時にbaserubyとビルドしたrubyとの性能比較モードで
動作するため以下のエラーが出ます。

---------------------------------------------------...
kosaki (Motohiro KOSAKI)
06:48 PM Revision 53234071 (git): * ext/openssl/ossl_bn.c (GetBNPtr): add missing nil case.
patched by Martin Bosslet. [ruby-core:34987]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:06 PM Revision eea774d0 (git): * include/ruby/ruby.h: Added NUM2MODET() and MODET2NUM() default definition.
Because r30686 introduced win32 build failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:33 PM Revision 29b1c2a5 (git): * 2011-01-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:33 PM Revision 674ea103 (git): * array.c (rb_ary_join): [].join.encoding must be US-ASCII.
[ruby-list:47790]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:07 PM Feature #3908: private constant
=begin
Hi, matz

May I introduce these methods in relation to private constants?

- Module#public_constants, as alias to Module#constants
(corresponding to Ojbect#public_methods)

- Module#private_constants, which returns...
mame (Yusuke Endoh)
11:23 AM Revision 1195ba66 (git): * benchmark/driver.rb (BenchmarkDriver#measure): Show command line
when abnormal exiting occur.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
10:42 AM Feature #4326: Fiber should respond to call() and []
=begin
On Fri, Jan 28, 2011 at 7:15 PM, Yusuke ENDOH <mame@tsg.ne.jp> wrote:
> Hi,
>
> 2011/1/27 Kurt  Stephens <redmine@ruby-lang.org>:
>> Shouldn't Fiber#[] behave like Thread#[]?
>
> I think more notice should be taken of Kurt'...
headius (Charles Nutter)
10:16 AM Feature #4326: Fiber should respond to call() and []
=begin
Hi,

2011/1/27 Kurt Stephens <redmine@ruby-lang.org>:
> Shouldn't Fiber#[] behave like Thread#[]?

I think more notice should be taken of Kurt's remark :-)

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
09:47 AM Feature #4326: Fiber should respond to call() and []
=begin
On Fri, Jan 28, 2011 at 6:45 PM, Charles Oliver Nutter
<headius@headius.com> wrote:
> LSP says the opposite. Assuming (from your interpretation of Knuth and
> LSP) that coroutines (Fibers) are a generalization of subroutines
...
headius (Charles Nutter)
09:45 AM Feature #4326: Fiber should respond to call() and []
=begin
On Fri, Jan 28, 2011 at 5:29 PM, Aaron Patterson
<aaron@tenderlovemaking.com> wrote:
> My point is that it seems that LSP is broken.  Either Fiber should
> respond to "call" and "[]", or Proc should respond to "resume".  Reall...
headius (Charles Nutter)
08:29 AM Feature #4326: Fiber should respond to call() and []
=begin
On Sat, Jan 29, 2011 at 02:58:46AM +0900, Charles Nutter wrote:
> Issue #4326 has been updated by Charles Nutter.
>
>
> RPRR and Nobu make good points.
>
> Fibers are coroutines...agreed.
>
> If we go by Knuth, a subr...
tenderlovemaking (Aaron Patterson)
02:57 AM Feature #4326: Fiber should respond to call() and []
=begin
RPRR and Nobu make good points.

Fibers are coroutines...agreed.

If we go by Knuth, a subroutine "is a" coroutine, but you're thinking about the relationship wrong. A Hash "is a" Object. We don't expect Object (coroutine...
headius (Charles Nutter)
10:34 AM Bug #4340: Encoding of result string for String#gsub is not consistent
=begin
Your beginning-of-string substitutions don't use the "hi" variable in either case. It doesn't affect the result, though.

JRuby behaves differently, apparently using the pattern's encoding in gsub and the original's encoding ...
headius (Charles Nutter)
09:54 AM Bug #4340 (Closed): Encoding of result string for String#gsub is not consistent
=begin
Depending upon where the replacement occurs, the encoding of the result of String#gsub is not consistent.

When the replacement happens at the beginning of the string the encoding of the result is the encoding of the replacem...
drbrain (Eric Hodel)
09:54 AM Bug #4337: rubygems calls chdir directly, actions should be enclosed in a block
=begin
This should be fixed in trunk now as well, please verify.
=end
drbrain (Eric Hodel)
06:55 AM Bug #4337 (Closed): rubygems calls chdir directly, actions should be enclosed in a block
=begin
Unfortunately your supplied patch did not pass the tests.

I committed a different version which allowed the tests to pass to rubygems trunk. It will be imported when RubyGems 1.5 is released at the end of January.
=end
drbrain (Eric Hodel)
01:44 AM Bug #4337 (Closed): rubygems calls chdir directly, actions should be enclosed in a block
=begin
When installing gems, windows_stub_script is called in installer.rb which
directly calls Dir.chdir.

If this were to be called inside another Dir.chdir call with a block passed to
it, it would spew warnings.

Instead ...
pyr (Pierre-Yves Ritschard)
08:26 AM Revision d81eaaf1 (git): * property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:54 AM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
If you move the code into a gem, I can add the same bits for JRuby so people can gem install it in 1.8.7 and 1.9.2 modes. I will probably just implement all in Ruby for now.
=end
headius (Charles Nutter)
02:57 AM Bug #4325: [ext/openssl] Encoding of subclasses fails when it shouldn't
=begin
Hi,
I found a imo quite reasonable use case for sublassing Sequence or Set.
Imagine you have an instance of a rather large sequence or set permanently
stored in a variable somewhere - and this instance gets encoded to DER...
MartinBosslet (Martin Bosslet)
02:01 AM Revision 5b74e4f0 (git): * vm_insnhelper.c (vm_get_ev_const): no-scope reference to toplevel
private constant has been prohibited incorrectly.
* test/ruby/test_module.rb (test_toplevel_private_constant): add a
test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)

01/28/2011

11:46 PM Revision 934f537b (git): Import rubygems 1.5.0 (release candidate @ 09893d9)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
05:57 PM Revision b511e1bf (git): * variable.c (rb_mod_const_of, sv_i): Module#constant should exclude
private constants. see [ruby-core:32912].
* test/ruby/test_module.rb (test_constants_with_private_constant): add
a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
05:57 PM Revision b1e829fb (git): * variable.c (rb_const_set): const_set shoud preserve constant
visibility. see [ruby-core:32912].
* test/ruby/test_module.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
05:57 PM Revision a2ec8666 (git): * compile.c (NODE_CLASS, NODE_MODULE), insns.def (defineclass): raise
an exception when "class Foo::Bar" is evaluated and Foo::Bar is
private. To implement this, define_type of "defineclass" is added
so that the instruction can distinguish whether the class definition
is scoped (class Foo::Bar) or n...
mame (Yusuke Endoh)
05:57 PM Revision f0483c49 (git): * constant.h, variable.c: to ensure compatibility, rb_const_get_* must
not raise an exception even when the constant is private. Instead,
rb_public_const_get_* and rb_public_const_defined_* are introduced,
which raise an exception when the referring constant is private.
see [ruby-core:32912].
* vm_i...
mame (Yusuke Endoh)
05:57 PM Revision a79ff4c7 (git): * 2011-01-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:57 PM Revision b9a1e36c (git): * variable.c (set_const_visibility): fix typo. a patch from Tomoyuki
Chikanaga in [ruby-core:32919].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
04:44 PM Bug #4283 (Assigned): Timeout.timeout may cause application exit unintetionally
=begin

=end
usa (Usaku NAKAMURA)
04:44 PM Bug #4285 (Assigned): Ruby don't have asynchrounous exception safe syntax and It should have.
=begin

=end
usa (Usaku NAKAMURA)
04:43 PM Bug #4301 (Assigned): Off-by-one line number in Psych parse error
=begin

=end
usa (Usaku NAKAMURA)
04:43 PM Bug #4311 (Assigned): ruby setup.sb fails to install ruby gems
=begin

=end
usa (Usaku NAKAMURA)
04:43 PM Feature #4326 (Assigned): Fiber should respond to call() and []
=begin

=end
usa (Usaku NAKAMURA)
11:10 AM Feature #4326: Fiber should respond to call() and []
=begin
I understood what you meant, and agree in principle. I wanted to think about the implications given that (a) #call is duck-typed on, and (b) Fibers cannot be called across Threads, and, possibly, (c) the root Fiber has special se...
runpaint (Run Paint Run Run)
07:41 AM Feature #4326: Fiber should respond to call() and []
=begin
On Thu, Jan 27, 2011 at 02:14:16PM -0800, Aaron Patterson wrote:
> On Thu, Jan 27, 2011 at 01:07:33PM +0900, Nobuyoshi Nakada wrote:
> > Hi,
> >
> > At Wed, 26 Jan 2011 16:08:52 +0900,
> > Aaron Patterson wrote in [ruby-cor...
tenderlovemaking (Aaron Patterson)
07:15 AM Feature #4326: Fiber should respond to call() and []
=begin
On Thu, Jan 27, 2011 at 01:07:33PM +0900, Nobuyoshi Nakada wrote:
> Hi,
>
> At Wed, 26 Jan 2011 16:08:52 +0900,
> Aaron Patterson wrote in [ruby-core:34861]:
> > Fibers are considered to be coroutines. Knuth says
> > "Sub...
tenderlovemaking (Aaron Patterson)
04:41 PM Bug #4334: r30660 以降 ruby/test_require.rb で 2F
=begin
いつも報告ありがとうございます。
#4336が後出しで重複するチケットなわけですが、そっちがCloseされたのでこちらもCloseします。
=end
usa (Usaku NAKAMURA)
04:40 PM Bug #4334 (Closed): r30660 以降 ruby/test_require.rb で 2F
=begin

=end
usa (Usaku NAKAMURA)
11:54 AM Bug #4334 (Assigned): r30660 以降 ruby/test_require.rb で 2F
=begin

=end
usa (Usaku NAKAMURA)
11:49 AM Bug #4334 (Closed): r30660 以降 ruby/test_require.rb で 2F
=begin
r30660 以降、ruby/test_require.rb で 2F になっています。

$ make test-all TESTS='-v -n "/test_require/" ruby/test_require.rb'
./miniruby -I../lib -I. -I.ext/common ../tool/runruby.rb --extout=.ext -- "../test/runner.rb" -v -n "/test_...
metanest (Makoto Kishimoto)
04:30 PM Bug #4336: test_require.rb#test_require_path_home が test failure
=begin
以下の失敗も同じ原因ですね

4) Failure:
test_require_too_long_filename(TestRequire) [/home/kosaki/linux/ruby-svn/ruby/test/ruby/test_require.rb:32]:
Expected 2 to be <= 1.

=end
kosaki (Motohiro KOSAKI)
04:27 PM Bug #4336 (Closed): test_require.rb#test_require_path_home が test failure
=begin
This issue was solved with changeset r30704.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* test/ruby/test_require.rb (TestRequire#test_require_...
kosaki (Motohiro KOSAKI)
04:18 PM Bug #4336 (Assigned): test_require.rb#test_require_path_home が test failure
=begin
なお、以下のテストではいまだにstderrでエラーが取れているので、若干統一が取れてない気もします。

t = Tempfile.new(["test_ruby_test_require", ".rb"])
t.puts "p :ok"
t.close

ENV["RUBYPATH"] = "~"
ENV["HOME"] = t.path
assert_in_out_err(...
kosaki (Motohiro KOSAKI)
04:10 PM Bug #4336 (Closed): test_require.rb#test_require_path_home が test failure
=begin
r30660でエラー時のメッセージがfprintfからrb_warningにかわったので、(つまり無引数の時にはエラーが出なくなったので)
テストが失敗します。
テストを追従させるつもりでいますが、r30660のrevertのほうが好ましいという人がいたら教えてください。


3) Failure:
test_require_path_home(TestRequire) [/home/kosaki/linux/ruby-svn...
kosaki (Motohiro KOSAKI)
02:23 PM Revision 77a7137c (git): * test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create,
TestGDBM2#test_writer_open_notexist): We only need to skip libgdbm 1.8.0,
not all 1.8.x. 1.8.1 or later don't have GDBM_WRITER sickness.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:58 PM Revision cb96213f (git): * ext/dbm/extconf.rb: Added new header places for Fedora13.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
12:49 PM Revision f6de1a3f (git): * ext/zlib/zlib.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:00 PM Feature #4335 (Rejected): String#split for empty string is always empty array
Here is ruby's behavior:

```ruby
' '.split('/')
# => [" "]
''.split('/')
# => []
'/'.split('/')
# => []
```
Here is Python's behavior:
```python
>>> ' '.split('/')
[' ']
>>> ''.split('/')
['']
>>> '/'.split('/'...
phasis68 (Heesob Park)
12:00 PM Bug #4294: IO.popen ['"ping"', 'localhost -n 3'] fails
=begin

=end
usa (Usaku NAKAMURA)
11:59 AM Bug #4317 (Closed): File.stat cause Segmentation Fault if take a long string.
=begin
fixed at r30666 by himself.
Thank you, kosaki-san.
=end
usa (Usaku NAKAMURA)
11:57 AM Bug #4320 (Assigned): Bus Error in digest/sha2 on sparc
=begin

=end
usa (Usaku NAKAMURA)
11:55 AM Feature #4328 (Assigned): export rb_thread_call_with_gvl()
=begin

=end
usa (Usaku NAKAMURA)
11:52 AM Bug #4333 (Closed): test_too_long_path2 が失敗します
=begin
入れ違いになりましたが、r30697 で対応してみました。
報告ありがとうございます。
=end
usa (Usaku NAKAMURA)
11:46 AM Bug #4333 (Closed): test_too_long_path2 が失敗します
=begin
r30680 および r30682 で追加されたテスト test_too_long_path2 が失敗しています。
メッセージで長大な行が出力されます(以下では改行を入れて編集してます)。

$ make test-all TESTS=-v -n test_too_long_path2 ruby/test_process.rb
./miniruby -I../lib -I. -I.ext/common ../tool/runruby.r...
metanest (Makoto Kishimoto)
08:50 AM Revision 3a0ec681 (git): * test/gdbm/test_gdbm.rb (TestGDBM2#test_writer_open_notexist):
gdbm 1.8.x changed GDBM::WRITER behavior. Thus our testcase need
to be changed too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
08:36 AM Revision 36f71db3 (git): * test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create): skip
the test if gdbm version is 1.8.x.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
07:31 AM Revision a3d861ef (git): * test/ruby/test_require.rb (TestRequire#test_require_too_long_filename):
Added -w option because too long path error don't output a message
by default since r30660. [Bug #4336] [ruby-dev:43134]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
07:21 AM Revision bacc7e6a (git): * test/ruby/test_require.rb (TestRequire#test_require_path_home_{1,2}):
Added -w option because too long path error don't output a message
by default since r30660. [Bug #4336] [ruby-dev:43134]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
07:13 AM Revision 65269855 (git): remove unnecessary local variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
07:06 AM Revision 29422e5d (git): * test/ruby/test_require.rb (TestRequire#test_require_path_home_{1,2,3}):
split from test_require_path_home.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
06:50 AM Bug #4332 (Third Party's Issue): Some seemingly random segfaults
=begin
With my application https://github.com/meh/failirc/tree/223b01554601835cdfd45c6d20e8aeac3445bdbf I'm getting various segfaults and aborts, got 4 different explosions, I'm attaching them.

I know it's not the last ruby versio...
meh. (meh. I don't care)
04:05 AM Revision aea93cbe (git): * configure.in (--with-valgrind): Fixed r29683. Now this option
is really default on.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:12 AM Revision e5971e8c (git): We don't only need to change "struct stat.st_size" test, but also
need to change "struct stat.st_blocks" test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:07 AM Revision cb1366b4 (git): * configure.in: Add #include<sys/stat.h> when struct stat is
tested. Otherwise, incomplete type dereference error will occur.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:57 AM Revision 39473b88 (git): * configure.in: redundant variable names made strange conftest
error. Fixed it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:48 AM Revision d4f8142d (git): * test/ruby/test_process.rb (TestProcess#test_too_long_path{,2}):
should handle Errno::E2BIG, because this test checks crash of ruby,
not the error type system.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:25 AM Revision 25394cb9 (git): merges r30654 from trunk into ruby_1_9_2.
--
* string.c (=~): documentation fix; the return value is nil when
it doesn't match. patched by Andrei Kulakov [ruby-core:34562]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:25 AM Revision 32fdf95a (git): merges r30652 from trunk into ruby_1_9_2.
--
* string.c (rb_str_resize): get rid of out-of-bound access.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:25 AM Revision ce02662c (git): merges r30648 from trunk into ruby_1_9_2.
--
* string.c (rb_string_value_cstr): rb_str_modify can change
RSTRING_PTR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:25 AM Revision 22955e9b (git): merges r30647,r30650 and r30651 from trunk into ruby_1_9_2.
--
* test/ruby/test_thread.rb: Added various ConditionVariable tests.
--
* test/ruby/test_thread.rb (TestThread#test_condvar_nolock_2): get rid of method redefined.
--
* test/ruby/test_thread.rb: remove unused variables.
git-svn...
yugui (Yuki Sonoda)
02:25 AM Revision be007d6e (git): merges r30641 from trunk into ruby_1_9_2.
--
* error.c (rb_invalid_str): prevent intermediate variable from GC.
[ruby-core:34820]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:25 AM Revision 4676e643 (git): merges r30628 from trunk into ruby_1_9_2.
--
* ext/psych/parser.c (parse): fixing off-by-one error on line numbers
in parse exceptions. [ruby-core:34690]
* test/psych/test_parser.rb: test for error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30691 b2dd03c...
yugui (Yuki Sonoda)
02:25 AM Revision a0e5aea0 (git): merges r30601 from trunk into ruby_1_9_2.
--
* proc.c (proc_call): Add gc guard to avoid segfault. The fix
is created by Tomoyuki Chikanaga. [Bug #4238][ruby-dev:42963]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30690 b2dd03c8-39d4-4d8f-98ff-823fe...
yugui (Yuki Sonoda)
02:25 AM Revision ac525f59 (git): merges r30597 from trunk into ruby_1_9_2.
--
* parse.y: avoid NULL reference. [ruby-dev:43067]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:25 AM Revision aeb3ba1e (git): merges r30595 from trunk into ruby_1_9_2.
--
* vsnprintf.c (cvt): set first byte of buf to NUL for the case when
no bytes are written to the buf. [ruby-dev:43062]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:25 AM Revision baac6078 (git): merges r30587 from trunk into ruby_1_9_2.
--
* ext/psych/lib/psych/visitors/json_tree.rb (visit_String): JSON
strings should be dumped with double quotes. [ruby-core:34186]
* test/psych/test_json_tree.rb: test for double quotes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bran...
yugui (Yuki Sonoda)
02:23 AM Revision 4afa5fea (git): * io.c (rb_io_open): Use NUM2MODET() instead NUM2UINT().
* io.c (rb_scan_open_args): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:00 AM Revision 92c1dfd9 (git): * configure.in: Added mode_t type checking.
* process.c (rb_exec_arg_addopt): Use NUM2MODET() instead
NUM2LONG because clang makes compile error by this narrowing
conversion.
* process.c (rb_run_exec_options_err): ditto.
git-svn-id: svn+ssh://ci.ruby...
kosaki (Motohiro KOSAKI)
01:08 AM Bug #4305 (Rejected): Win32 上で bignum の test_too_big_to_s が失敗
=begin
うむむ、いつの間にか直っている。
bisectするほど重篤な問題でもないのでたんにrejectとします。
=end
kosaki (Motohiro KOSAKI)

01/27/2011

10:48 PM Bug #4331 (Closed): FileUtils::DryRun.copy_entry makes changes.
=begin
$ ls src/
README
$ ls dst/
$ ruby -e "require 'fileutils; FileUtils::DryRun.copy_entry 'src/', 'dst/'"
$ ls dst/
README
$ ruby -v
ruby 1.9.2p136 (2010-12-25 revision 30365) [i686-linux]

I expected to make no ch...
aereal (Hanae Aoki)
09:37 PM Bug #4330 (Closed): IO.popen case Segmentation Fault if take a long string.
=begin
This issue was solved with changeset r30670.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* win32/win32.c (rb_w32_aspawn): get rid of too huge a...
kosaki (Motohiro KOSAKI)
08:38 PM Bug #4330 (Closed): IO.popen case Segmentation Fault if take a long string.
=begin
following script cause segmentation fault.

ruby -e 'IO.popen(["c:/ruby/bin/ruby.exe "+"a
"*10_000_000, "hoge"])'
=end
kosaki (Motohiro KOSAKI)
08:52 PM Bug #4319 (Closed): StringValueCStr() should terminate
=begin

=end
nobu (Nobuyoshi Nakada)
06:37 PM Bug #4313 (Closed): File.identical? cause Segmentation Fault if take a long string.
=begin
This issue was solved with changeset r30667.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* file.c (w32_io_info): get rid of too huge alloca().
...
kosaki (Motohiro KOSAKI)
06:27 PM Bug #4316 (Closed): Dir.new cause Segmentation Fault if take a long string.
=begin
This issue was solved with changeset r30666.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* win32/win32.c (wstati64): get rid of too huge alloca...
kosaki (Motohiro KOSAKI)
05:37 PM Revision 58da04b3 (git): * re.c (rb_reg_raise): add GC guard to prevent intermediate
variable from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
05:36 PM Revision 1e60af4d (git): * hash.c (rb_hash_fetch_m): add GC guard to prevent intermediate
variable from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
05:33 PM Bug #4314 (Closed): spwn cause Segmantation Fault if take a long string.
=begin
r30661,r30662 and r30663 fixed this issue.
=end
kosaki (Motohiro KOSAKI)
04:36 PM Revision 41bbb319 (git): * test/ruby/test_process.rb (TestProcess#test_too_long_path)
TestProcess#test_too_long_path): Reduced string size from 100MB
to 10MB. 100MB may cause no memory error. It isn't intended.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
04:33 PM Revision 7bae5dd3 (git): * 2011-01-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:33 PM Revision 6c2b2c28 (git): * test/ruby/test_process.rb (TestProcess#test_too_long_path2):
Factored out from test_too_long_path. A test should only do
one test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:51 PM Feature #4328 (Closed): export rb_thread_call_with_gvl()
=begin
I think it is general enough to remain supported along
with the rest of the MRI C API, especially since
rb_thread_blocking_region() exists and is supported.

It's useful for interacting with certain C libraries that expe...
normalperson (Eric Wong)
02:30 PM Revision 4a42b101 (git): * st.c (st_foreach): check if unpacked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:24 PM Revision a152da5f (git): merges a part of revision 5917 in MiniTest's repository into ruby_1_9_2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
02:24 PM Revision b4eba9bb (git): merges revision 6057 in MiniTest's repository into ruby_1_9_2.
--
+ Exit autorun via nested at_exit handler, in case other libs call
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:24 PM Revision 2de2b2ab (git): merges a half of revision 5937 and 5939 in MiniTest's repository into ruby_1_9_2.
--
- Fixed some of the assertion default messages
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:24 PM Revision fb798840 (git): merges a half of revision 5875 in MiniTest's repository into ruby_1_9_2. It corresponds to
r29259 on Ruby's trunk.
--
assert_raises now lets MiniTest::Skip through. (shyouhei)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:14 PM Revision c5b45d25 (git): * misc/ruby-mode.el (ruby-mode-map): remove deprecated binding.
use M-; instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:07 PM Feature #4326: Fiber should respond to call() and []
=begin
Hi,

At Wed, 26 Jan 2011 16:08:52 +0900,
Aaron Patterson wrote in [ruby-core:34861]:
> Fibers are considered to be coroutines. Knuth says
> "Subroutines are special cases of ... coroutines". This
> makes sense to me.

D...
nobu (Nobuyoshi Nakada)
10:45 AM Feature #4326: Fiber should respond to call() and []
=begin
Shouldn't Fiber#[] behave like Thread#[]? What about Continuation#[]?

=end
kstephens (Kurt Stephens)
12:58 PM Revision 5a00a616 (git): * bignum.c (rb_str_to_inum): get rid of too huge alloca().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
12:46 PM Revision ac017891 (git): * object.c (rb_str_to_dbl): rewrite again. use ALLOCV instead
rb_str_tmp_new().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:42 PM Revision 8d397b77 (git): * win32/win32.c: get rid of STRNDUPA(). It's dangerous API.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
12:33 PM Revision 2529d2c3 (git): * win32/win32.c (rb_w32_aspawn): get rid of too huge alloca().
[Bug #4330] [ruby-core:34898]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
11:31 AM Revision f7fb66bd (git): * win32/win32.c (rb_w32_spawn): get rid of too huge alloca().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
10:19 AM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
Progress: https://github.com/kstephens/ruby/commit/8058894024c9bac07e6e44c91f5984a1e347074f

* Refactored MRI-specifics out of tests.
* Implemented SoftReference heuristics in Ruby *and* C.
* Trivial HardReference class ignor...
kstephens (Kurt Stephens)
09:50 AM Revision ab720532 (git): * win32/win32.c (open_dir_handle): get rid of too huge alloca().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
09:35 AM Revision 18c11392 (git): * file.c (w32_io_info): get rid of too huge alloca().
[Bug #4313] [ruby-core:34830]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
09:21 AM Revision 21931d6a (git): * win32/win32.c (wstati64): get rid of too huge alloca().
[Bug #4316] [ruby-core:34834]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
08:47 AM Bug #4315 (Closed): Process.spawn cause Segmentation Fault if take a long string. (windows)
=begin
This issue was solved with changeset r30662.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* process.c (proc_exec_v, rb_proc_exec_n, rb_proc_exec...
nobu (Nobuyoshi Nakada)
08:47 AM Bug #4312 (Closed): exec cause Segmentation fault if passing very long string
=begin
This issue was solved with changeset r30662.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* process.c (proc_exec_v, rb_proc_exec_n, rb_proc_exec...
nobu (Nobuyoshi Nakada)
06:21 AM Revision 11c5daa6 (git): * win32/win32.c (rb_w32_spawn, rb_w32_aspawn): fixed previous commit. sorry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
06:12 AM Revision 98929a2d (git): * win32/win32.c (rb_w32_spawn, rb_w32_aspawn): get rid of too huge
alloca(). this is the real fix of [ruby-core:34833].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:46 AM Revision fa57e468 (git): * process.c (ALLOC_ARGV_WITH_STR): fix void pointer arithmetic.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:06 AM Feature #4197: Improvement of the benchmark library
=begin
Hi,

> Koichi said the lib is not his, so I reviewed it.

Thank you.

> I almost accept your patch except following:
>
>> 4291a26b94a63e3066fe
>
> Tests for MRI should use test/unit.

I thought minitest/sp...
Eregon (Benoit Daloze)

01/26/2011

11:52 PM Bug #4325: [ext/openssl] Encoding of subclasses fails when it shouldn't
=begin
The first thought that came into my mind for changing this was to provide consistency. There are several
similar operations that also use rb_is_kind_of instead of checking the class directly, mainly in
ossl_asn1_default_tag, ...
MartinBosslet (Martin Bosslet)
05:18 PM Bug #4325: [ext/openssl] Encoding of subclasses fails when it shouldn't
=begin
It would be good if you show us usecases of subclassing Sequence and Set. Can you?
=end
nahi (Hiroshi Nakamura)
09:46 AM Bug #4325 (Closed): [ext/openssl] Encoding of subclasses fails when it shouldn't
=begin
While skimming through ossl_asn1.c I noticed that my patch for infinite length encoding
causes problems when encoding subclasses of OpenSSL::ASN1::Sequence or OpenSSL::ASN1::Set
with infinite length.

E.g. the following ...
MartinBosslet (Martin Bosslet)
11:41 PM Revision beec203a (git): * process.c (proc_exec_v, rb_proc_exec_n, rb_proc_exec)
(proc_spawn_n, proc_spawn): get rid of too huge alloca().
[ruby-core:34827], [ruby-core:34833]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:32 PM Revision 8489ac41 (git): * include/ruby/ruby.h (ALLOCV): new API for exception-safe
temporary buffer. [ruby-core:34844]
* string.c (rb_alloc_tmp_buffer, rb_free_tmp_buffer):
implementation of the API.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:22 PM Revision d6eb8078 (git): * dln_find.c (dln_find_1): use rb_warning and return immediately
if fname is longer than buffer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:07 PM Bug #4321 (Closed): valgrind report "Invalid read" for Object#clone
=begin
This issue was solved with changeset r30659.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* class.c (clone_method): add GC guard to prevent inte...
nagachika (Tomoyuki Chikanaga)
10:37 PM Bug #4322 (Closed): valgrind report error for uncaught throw
=begin
This issue was solved with changeset r30657.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* vm_eval.c (rb_throw_obj): add GC guard to prevent in...
nagachika (Tomoyuki Chikanaga)
10:55 AM Bug #4322: valgrind report error for uncaught throw
=begin
はい --with-valgrind は付けてます。
すみません、書き忘れてましたが optflags=-O3 を付けてビルドした時に発生します(gcc 4.3.3)。

実はテストケースはソースから逆算して作ったので(#4321 も同様)、以下の RB_GC_GUARD 追加で直ることを確認しています。
すぐ修正するつもりだったのですけど前準備に手間取って一晩寝かせてしまいました。

diff --git a/vm_eval.c...
nagachika (Tomoyuki Chikanaga)
10:35 AM Bug #4322: valgrind report error for uncaught throw
=begin
あれ、リビジョン同じだな。configureで--with-valgrindは指定してますよね?
=end
naruse (Yui NARUSE)
10:25 AM Bug #4322: valgrind report error for uncaught throw
=begin
ちょっと古いものだと確かに再現したのですが、r30653 時点で直ってるように見えます
=end
naruse (Yui NARUSE)
06:48 PM Bug #4324: [ext/openssl] Parsing of incorrect ASN.1 values succeeds
=begin
Hi,

2011/1/26 Martin Bosslet <redmine@ruby-lang.org>:
> I read about this bug of OpenSSL this morning: http://rt.openssl.org/Ticket/Display.html?id=2438

Thank you for the information.
The URL seems to require authentifica...
mame (Yusuke Endoh)
05:19 PM Bug #4324 (Closed): [ext/openssl] Parsing of incorrect ASN.1 values succeeds
=begin
Merged at r30656. Thanks.
=end
nahi (Hiroshi Nakamura)
09:35 AM Bug #4324 (Closed): [ext/openssl] Parsing of incorrect ASN.1 values succeeds
=begin
Hi,

I read about this bug of OpenSSL this morning: http://rt.openssl.org/Ticket/Display.html?id=2438
What struck me was the following sentence:

"The ASN1 parser should reject indefinite length primitive encodings as
...
MartinBosslet (Martin Bosslet)
06:35 PM Bug #4323: Proc#hash is Ill-Behaved
=begin
> I'm not so sure I'd expect Proc#hash to be equal in these cases. Of course, I don't feel like
> Procs that simply have the same code and closure should be expected to be eql? either.

Perhaps, but the Rdoc is clear that ...
runpaint (Run Paint Run Run)
04:56 PM Bug #4323: Proc#hash is Ill-Behaved
=begin
I believe your example case, run in IRB, is also flawed. Witness:

~/projects/jruby ➔ irb1.9
>> ->{}
=> #<Proc:0x00000100aba6c0@(irb):1 (lambda)>
>> ->{}
=> #<Proc:0x00000100ab8cf8@(irb):2 (lambda)>
>> ->{}
=> #<P...
headius (Charles Nutter)
04:52 PM Bug #4323: Proc#hash is Ill-Behaved
=begin
I'm not so sure I'd expect Proc#hash to be equal in these cases. Of course, I don't feel like Procs that simply have the same code and closure should be expected to be eql? either.

Each proc has its own scope and its own ref...
headius (Charles Nutter)
06:35 AM Bug #4323 (Closed): Proc#hash is Ill-Behaved
=begin
Proc#hash is not predictable for receivers that are #eql?

irb> ->{}.hash
=> -1250381286238705236
irb> ->{}.hash
=> 2684657672161532106
irb> ->{true}.hash
=> -2939885723276364833
irb> ...
runpaint (Run Paint Run Run)
05:19 PM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
On Tue, Jan 25, 2011 at 6:52 PM, Kurt Stephens <redmine@ruby-lang.org> wrote:
> * Each SoftReference#_mri_gc_left and SoftRefernce#_mri_gc_ttl are set to some arbitrary value: SoftReference._mri_gc_ttl (default = 10).
> * If S...
headius (Charles Nutter)
09:52 AM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
> 01/25/2011 04:40 PM - Charles Nutter
> Can you provide a short description of the complete "soft" heuristic
> as of this commit? Even on JVM, it's unspecified, but each JVM does
> spell out what constitutes a "soft" referenc...
kstephens (Kurt Stephens)
04:08 PM Feature #4326 (Closed): Fiber should respond to call() and []
=begin
Fibers are considered to be coroutines. Knuth says "Subroutines are special cases of ... coroutines". This makes sense to me.

Method, Proc, and lambda respond to `call` and `[]`. If Fiber also responded to `call` and `[]...
tenderlovemaking (Aaron Patterson)
02:54 PM Bug #4318: Legacy bug in net/imap in Ruby 1.9.x
=begin
Hi,

> The change is "str.length.to_s" -> "str.bytesize.to_s".

This bug has been fixed in r30543.

http://redmine.ruby-lang.org/repositories/revision/ruby-19?rev=30543

Could you check it?
=end
shugo (Shugo Maeda)
09:19 AM Bug #4318 (Assigned): Legacy bug in net/imap in Ruby 1.9.x
=begin

=end
naruse (Yui NARUSE)
01:59 PM Revision c8e5ba0e (git): * class.c (clone_method): add GC guard to prevent intermediate
variable from GC. [Bug #4321] [ruby-dev:43107]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:45 PM Revision de4c25a0 (git): * template/id.h.tmpl: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:34 PM Revision ab083dc6 (git): * vm_eval.c (rb_throw_obj): add GC guard to prevent intermediate
variable from GC. [Bug #4322] [ruby-dev:43108]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:13 PM Bug #4304: Win32上でfiber大量生成テストが失敗
=begin
「メジャーな環境」というか、生成できるスレッド/ファイバの数は必然的に個々の環境で変化するに決まってますよね。
そして、実際に小崎さんのところでは問題があるということなので、おそらくテスト自体に問題があるのだろうと思います。

ただ、このテストが何をテストしてるのかは全くの謎なので、どのように「どうにか」すればいいのかはテストの中身が知ってる人に考えてもらいたいと思います。

なお、私が決めていいなら「意味分からんからテスト自体消せ」...
usa (Usaku NAKAMURA)
11:48 AM Bug #4304: Win32上でfiber大量生成テストが失敗
=begin
ええと、すいません確認させてください。

「個人的にはこのテストはどうにかしろとは思っています」の意図は生成できるファイバの個数
(生成できるスタックの個数)は環境依存に決まってるんだから、メジャーな環境の制限チェックするなり
少なめの生成数にするなりしたほうがよい。という事だと思ってよいのでしょうか。
=end
kosaki (Motohiro KOSAKI)
11:11 AM Bug #4304 (Assigned): Win32上でfiber大量生成テストが失敗
=begin
環境依存ですよね。手元では出ません。
とはいえ、個人的にはこのテストはどうにかしろとは思っています。
=end
usa (Usaku NAKAMURA)
11:38 AM Bug #4311: ruby setup.sb fails to install ruby gems
=begin

=end
sorah (Sorah Fukumori)
10:47 AM Bug #4292 (Closed): Type of rdoc in string.c
=begin
This issue was solved with changeset r30654.
Andrei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* string.c (=~): documentation fix; the return value is ...
naruse (Yui NARUSE)
09:53 AM Feature #4197: Improvement of the benchmark library
=begin
Koichi said the lib is not his, so I reviewed it.

I almost accept your patch except following:

> 4291a26b94a63e3066fe

Tests for MRI should use test/unit.
See also test files in test directory.

> f20763674b73...
naruse (Yui NARUSE)
08:17 AM Revision 0522ffd5 (git): * ext/openssl/ossl_asn1.c (ossl_asn1_decode0): OpenSSL::ASN1.decode
should reject indefinite length primitive encodings as that is
illegal. Patch by Martin Bosslet. See #4324.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
03:04 AM Bug #4313: File.identical? cause Segmentation Fault if take a long string.
=begin
Bug does not does not seem to be present in ruby 1.8.7 or 1.9.2-p0 i386 Linux
=end
jhkelly05 (James Kelly)
01:38 AM Revision 12893215 (git): * 2011-01-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:38 AM Revision 8aa03af7 (git): * string.c (=~): documentation fix; the return value is nil when
it doesn't match. patched by Andrei Kulakov [ruby-core:34562]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
 

Also available in: Atom