Activity
From 01/25/2011 to 01/31/2011
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 -
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
-
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... -
06:37 PM Bug #4350: Segmentation fault and Bus Error
- =begin
It seems related to #2295
=end
-
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... - 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 - 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
-
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... -
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(... -
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... -
02:30 PM Bug #4345: IRB fails with --disable-gems and Ubuntu default LANG variable
- =begin
=end
-
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... -
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
-
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... -
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... -
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
-
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
-
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 -
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
-
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 ]
... -
08:42 AM Feature #4326: Fiber should respond to call() and []
- =begin
New patch without Fiber#[]
=end
-
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... -
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... -
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
-
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]
... -
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... -
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 というネーミングは単一選... -
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 -
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... -
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
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... -
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... -
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.
>
>... -
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... -
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
-
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
- 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
-
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:... -
07:14 PM Feature #4147: Array#sample で重みを指定したい
- =begin
>機能的な必要性/十分性については私には判断がつきませんが、私
>には問題なさそうに見えます。ただし、each_sample, each_choice
>という名前に若干の違和感がありますので、ruby-coreの人たちの
>意見も聞きたいところです。
遅くなりましたが、簡単にまとめると、
- choice というネーミングは単一選択のニュアンスがあるので望ましくない
- 復元抽出をオプション repeat: true... -
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.... -
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... -
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... -
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... -
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... -
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... -
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
-
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
-
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... -
12:25 AM Bug #4343 (Feedback): Dir.glob does match files without extension
- =begin
=end
-
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
-
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
... -
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
-
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 -
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 -
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
-
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 -
06:09 AM Bug #4345 (Closed): IRB fails with --disable-gems and Ubuntu default LANG variable
- =begin
Hello,
-
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 -
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
-
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... -
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... -
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 -
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
- 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
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
-
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... -
08:35 PM Bug #4341 (Closed): baserubyに1.8.xを指定すると make benchmark がエラー
- =begin
trunkをビルドするとき、baserubyを指定する必要があるのですが、多くの人はruby-1.8.xを
指定していると思います(それが推奨と以前聞きました)。
しかしながら、make benchmarkがbaseruby指定時にbaserubyとビルドしたrubyとの性能比較モードで
動作するため以下のエラーが出ます。
---------------------------------------------------... -
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 -
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 - 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
-
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 -
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... -
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 -
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'... -
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
-
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
... -
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... -
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... -
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... -
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 ... -
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... -
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
-
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
-
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 ... -
08:26 AM Revision d81eaaf1 (git): * property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
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
-
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... -
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
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
-
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 -
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 -
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... -
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... - 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
-
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 -
04:44 PM Bug #4283 (Assigned): Timeout.timeout may cause application exit unintetionally
- =begin
=end
-
04:44 PM Bug #4285 (Assigned): Ruby don't have asynchrounous exception safe syntax and It should have.
- =begin
=end
-
04:43 PM Bug #4301 (Assigned): Off-by-one line number in Psych parse error
- =begin
=end
-
04:43 PM Bug #4311 (Assigned): ruby setup.sb fails to install ruby gems
- =begin
=end
-
04:43 PM Feature #4326 (Assigned): Fiber should respond to call() and []
- =begin
=end
-
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... -
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... -
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... -
04:41 PM Bug #4334: r30660 以降 ruby/test_require.rb で 2F
- =begin
いつも報告ありがとうございます。
#4336が後出しで重複するチケットなわけですが、そっちがCloseされたのでこちらもCloseします。
=end
-
04:40 PM Bug #4334 (Closed): r30660 以降 ruby/test_require.rb で 2F
- =begin
=end
-
11:54 AM Bug #4334 (Assigned): r30660 以降 ruby/test_require.rb で 2F
- =begin
=end
-
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_... -
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
-
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_... -
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(... -
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... -
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 -
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
-
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
-
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('/'... -
12:00 PM Bug #4294: IO.popen ['"ping"', 'localhost -n 3'] fails
- =begin
=end
-
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
-
11:57 AM Bug #4320 (Assigned): Bus Error in digest/sha2 on sparc
- =begin
=end
-
11:55 AM Feature #4328 (Assigned): export rb_thread_call_with_gvl()
- =begin
=end
-
11:52 AM Bug #4333 (Closed): test_too_long_path2 が失敗します
- =begin
入れ違いになりましたが、r30697 で対応してみました。
報告ありがとうございます。
=end
-
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... -
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 -
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 -
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 -
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 -
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
-
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 -
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... -
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 -
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 -
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 -
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 - 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 -
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 -
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 -
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 -
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... -
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 -
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... -
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... -
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 -
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 -
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... -
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 -
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... -
01:08 AM Bug #4305 (Rejected): Win32 上で bignum の test_too_big_to_s が失敗
- =begin
うむむ、いつの間にか直っている。
bisectするほど重篤な問題でもないのでたんにrejectとします。
=end
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... -
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... -
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
-
08:52 PM Bug #4319 (Closed): StringValueCStr() should terminate
- =begin
=end
-
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().
... -
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... -
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 -
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 -
05:33 PM Bug #4314 (Closed): spwn cause Segmantation Fault if take a long string.
- =begin
r30661,r30662 and r30663 fixed this issue.
=end
-
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 - 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
-
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 -
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... -
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
-
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
-
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 -
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 -
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 -
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 -
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... -
10:45 AM Feature #4326: Fiber should respond to call() and []
- =begin
Shouldn't Fiber#[] behave like Thread#[]? What about Continuation#[]?
=end
-
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
-
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 -
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
-
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 -
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
-
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... -
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
-
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 -
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 -
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... -
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... - 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
- 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 -
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
-
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...
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, ... -
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
-
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 ... -
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 -
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 -
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 -
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... -
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... -
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... -
10:35 AM Bug #4322: valgrind report error for uncaught throw
- =begin
あれ、リビジョン同じだな。configureで--with-valgrindは指定してますよね?
=end
-
10:25 AM Bug #4322: valgrind report error for uncaught throw
- =begin
ちょっと古いものだと確かに再現したのですが、r30653 時点で直ってるように見えます
=end
-
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... -
05:19 PM Bug #4324 (Closed): [ext/openssl] Parsing of incorrect ASN.1 values succeeds
- =begin
Merged at r30656. Thanks.
=end
-
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
... -
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 ... -
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... -
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... -
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> ... -
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... -
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... -
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 `[]... -
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
-
09:19 AM Bug #4318 (Assigned): Legacy bug in net/imap in Ruby 1.9.x
- =begin
=end
-
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 -
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
-
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 -
01:13 PM Bug #4304: Win32上でfiber大量生成テストが失敗
- =begin
「メジャーな環境」というか、生成できるスレッド/ファイバの数は必然的に個々の環境で変化するに決まってますよね。
そして、実際に小崎さんのところでは問題があるということなので、おそらくテスト自体に問題があるのだろうと思います。
ただ、このテストが何をテストしてるのかは全くの謎なので、どのように「どうにか」すればいいのかはテストの中身が知ってる人に考えてもらいたいと思います。
なお、私が決めていいなら「意味分からんからテスト自体消せ」... -
11:48 AM Bug #4304: Win32上でfiber大量生成テストが失敗
- =begin
ええと、すいません確認させてください。
「個人的にはこのテストはどうにかしろとは思っています」の意図は生成できるファイバの個数
(生成できるスタックの個数)は環境依存に決まってるんだから、メジャーな環境の制限チェックするなり
少なめの生成数にするなりしたほうがよい。という事だと思ってよいのでしょうか。
=end
-
11:11 AM Bug #4304 (Assigned): Win32上でfiber大量生成テストが失敗
- =begin
環境依存ですよね。手元では出ません。
とはいえ、個人的にはこのテストはどうにかしろとは思っています。
=end
-
11:38 AM Bug #4311: ruby setup.sb fails to install ruby gems
- =begin
=end
-
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 ... -
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... - 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 -
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
- 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
-
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
01/25/2011
-
11:18 PM Bug #4322 (Closed): valgrind report error for uncaught throw
- =begin
以下のようなスクリプトを valgrind を使って実行するとエラーが報告されます。
## script
GC.stress = true
throw :tag
## message
==1141== Conditional jump or move depends on uninitialised value(s)
==1141== at 0x40276EB: strlen (mc_replace_strmem... -
11:11 PM Bug #4321 (Closed): valgrind report "Invalid read" for Object#clone
- =begin
以下のようなスクリプトを valgrind を使って実行すると Invalid read of size 4 のようなエラーが報告されます。
optflags=-O3 を指定してビルドした時に発生します。
## script
obj = Object.new
def obj.meth
end
GC.stress = true
obj.clone
## message
==22864== Invalid... -
10:31 PM Bug #4320 (Closed): Bus Error in digest/sha2 on sparc
- =begin
Most likely this is caused due to misaligned memory. Any comment is greatly appreciated.
This bug can reproduce at Ruby 1.8, too.
ruby -e "require 'digest/sha2'; d= Digest::SHA256.new; ['a' * 97, 'a' * 97].each {|i| d.... -
10:05 PM Feature #4197: Improvement of the benchmark library
- =begin
This eases review: https://github.com/eregon/ruby/compare/trunk...benchmark
Konstantin
On Jan 25, 2011, at 13:14 , Benoit Daloze wrote:
> Issue #4197 has been updated by Benoit Daloze.
>
>
> Hi,
>
> Any update on... -
09:14 PM Feature #4197: Improvement of the benchmark library
- =begin
Hi,
Any update on this ?
Could you have a look, Koichi ?
(Or anyone, I welcome comments)
=end
-
04:40 PM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
- =begin
On Mon, Jan 24, 2011 at 11:44 PM, Kurt Stephens <redmine@ruby-lang.org> wrote:
> * Support for multiple Reference subclass instance caches.
> * Working WeakReference, SoftReference and ReferenceQueue in ext/reference/reference... -
02:43 PM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
- =begin
Progress: https://github.com/kstephens/ruby/commit/6f3f2a538455187d67ef504cfa266cf5789ca099
* Support for multiple Reference subclass instance caches.
* Working WeakReference, SoftReference and ReferenceQueue in ext/refere... -
11:14 AM Feature #4264: General type coercion protocol for Ruby
- =begin
On Wed, Jan 19, 2011 at 15:53, Charles Oliver Nutter
<headius@headius.com> wrote:
> They're not bad, but casting to me means something altogether
> different: treating a an object as a different type, while still
> referencin... -
08:44 AM Bug #4314: spwn cause Segmantation Fault if take a long string.
- =begin
Hi,
At Tue, 25 Jan 2011 07:44:51 +0900,
Motohiro KOSAKI wrote in [ruby-core:34842]:
> reproduce way.
>
> ./ruby -ve 'spawn "a"*100_000_000'
I propose new APIs for exception-safe temporary buffer.
diff --git i/inc... -
07:44 AM Bug #4314: spwn cause Segmantation Fault if take a long string.
- =begin
reproduce way.
./ruby -ve 'spawn "a"*100_000_000'
=end
-
07:37 AM Feature #4309: [ext/openssl] ASN1 performance enhancement
- =begin
>Sadly there is no maintainer for openssl currently, so it seems difficult
>for your patch to be reviewed certainly.
>I reviewed your patch simply, but note that I'm not familiar with openssl.
Thanks for your time!
... -
06:57 AM Bug #4319 (Closed): StringValueCStr() should terminate
- =begin
StringValueCStr()の結果が、NUL-terminateされていない場合があります。
=end
-
04:47 AM Bug #4318 (Closed): Legacy bug in net/imap in Ruby 1.9.x
- =begin
Emails that get 'appended' to a mailbox are cut-off
at the end. Not always but only in non-multipart mails where the headers
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
apply to the whol... -
12:16 AM Bug #4317 (Closed): File.stat cause Segmentation Fault if take a long string.
- =begin
following script will crash immediately.
C:\ruby\trunk\build>\ruby\bin\ruby -ve 'File.stat("a"*100_000_000)'
ruby 1.9.3dev (2011-01-23 trunk 30640) [i386-mswin32_100]
=end
-
12:13 AM Bug #4316 (Closed): Dir.new cause Segmentation Fault if take a long string.
- =begin
C:\ruby\trunk\build>\ruby\bin\ruby -ve 'Dir.new("a"*100_000_000)'
ruby 1.9.3dev (2011-01-23 trunk 30640) [i386-mswin32_100]
=end
-
12:08 AM Bug #4315 (Closed): Process.spawn cause Segmentation Fault if take a long string. (windows)
- =begin
test.rb
-------------------------
spawn '"a"|'*100_000_000
-------------------------
ruby ./test.rb
=end