Activity
From 02/24/2012 to 03/01/2012
03/01/2012
-
09:41 AM Revision b1bcb826 (git): merge revision(s) r33525: [Backport #6104]
- * file.c (rb_file_join): honor input encodings than ASCII-8BIT.
[ruby-core:40338] [Bug #5483]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:13 AM Revision 0b89081b (git): * internal.h (rb_file_const, rb_file_load_ok): moved functions for
- internal use only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:44 AM Revision 27fbcb8e (git): doc/capi
- * common.mk (doc/capi): use macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:40 AM Revision 29c630e7 (git): * win32/makedirs.bat: new command to make intermediate
- directories, and not to report any errors if the directory
already exists.
* win32/Makefile.sub (MAKEDIRS): enable command extensions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:46 AM Feature #6070: The scope of for loop variables
- =begin
This patch (for_loop_scope_fix_0224.diff) introduces a confusing change. With current Ruby, for loops and loops never have local variables. With this patch, for loops have local variables, but while loops never have them. Here is... -
03:17 AM Bug #5297: Either File.expand_path or File.join is corrupting string encoding
- Patrick Bennett wrote:
> With ruby 1.9.3p125 (2012-02-16) [i386-mingw32] File.join always converts to ASCII-8BIT for me no matter the encoding passed to it.
> ...
The problem is your system encoding.
For some reason from IBM437 to W... -
03:13 AM Bug #5297: Either File.expand_path or File.join is corrupting string encoding
- With ruby 1.9.3p125 (2012-02-16) [i386-mingw32] File.join always converts to ASCII-8BIT for me no matter the encoding passed to it.
So, using your irb example up through the File.join
irb(main):001:0> a = File.expand_path "."
=> "d:/t... -
02:48 AM Bug #5297: Either File.expand_path or File.join is corrupting string encoding
- Patrick Bennett wrote:
> Which other issue is this associated with?
> ...
Sorry, but with released patchlevel 125 I can no longer reproduce this: -
02:34 AM Bug #5297: Either File.expand_path or File.join is corrupting string encoding
- Which other issue is this associated with?
Is this going to be patched back to 1.9.3? It's still present in 1.9.3p125
02/29/2012
-
10:59 PM Bug #6103: Build failure on trunk 34850 with VC 2010
- Hello,
In message "[ruby-core:43016] Re: [ruby-trunk - Bug #6103][Open] Build failure on trunk 34850 with VC 2010"
on Feb.29,2012 17:53:30, <h.shirosaki@gmail.com> wrote:
> > # Building ruby from a release package MUST NOT ... -
05:59 PM Bug #6103: Build failure on trunk 34850 with VC 2010
- > I did not notice such a trap...
>
> Please check r34859.
>
Thank you. I checked your commit.
>
> # Building ruby from a release package MUST NOT depend on
> # the preinstalled ruby.
>
Sorry. I didn't understand th... -
04:23 PM Bug #6103: Build failure on trunk 34850 with VC 2010
- Hello,
In message "[ruby-core:43013] Re: [ruby-trunk - Bug #6103][Open] Build failure on trunk 34850 with VC 2010"
on Feb.29,2012 13:04:47, <h.shirosaki@gmail.com> wrote:
> > If this means executing "win32\configure.bat" is... -
04:13 PM Bug #6103 (Closed): Build failure on trunk 34850 with VC 2010
- This issue was solved with changeset r34859.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* win32/Makefile.sub (MAKEDIRS): use mkdir of cmd.exe instead o... -
01:23 PM Bug #6103: Build failure on trunk 34850 with VC 2010
- Hi,
> executable host ruby is required. use --with-baseruby option.
> NMAKE : fatal error U1077: 'echo' : '0x1' 반환 코드입니다.
> Stop.
>
> If this means executing "win32\configure.bat" is not sufficient any more and required preinstal... -
12:36 PM Bug #6103 (Closed): Build failure on trunk 34850 with VC 2010
- I get the following failure on Windows XP with VC 2010 while building trunk@34850.
C:\work\snapshot>win32\configure.bat
Checking unicows.lib
Creating Makefile.new
"type `nmake' to make ruby."
C:\work\snapshot>nmake
Microsoft(... -
07:42 PM Bug #6089: Test suite fails with OpenSSL 1.0.1
- Unfortunately, I didn't get very helpful response :/
> Tomas Mraz 2012-02-29 11:03:26 CET
> ...
- 04:29 PM Revision f9cec708 (git): * 2012-03-01
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:29 PM Revision 291fa223 (git): * regparse.c (is_onechar_cclass): optimize character class
- Merge Onigmo 27278c12e6674043cc8affca6507e20e119a86ee.
* regparse.c (is_onechar_cclass): [bug] unexpected match occurs when a
char class contains no char
* enc/unicode.c (init_case_fold_table): define the sizes of case
folding tabl... -
01:53 PM Bug #5719: Hash::[] can't handle 100000+ args
- Hello Koichi,
On 2012/02/25 13:34, SASADA Koichi wrote:
> (2011/12/07 14:26), Martin Dürst wrote:
>> This is related to http://redmine.ruby-lang.org/issues/982. In terms of what needs to be done, it may even be "the same" bug, ... - 07:13 AM Revision 31eb29fe (git): * win32/Makefile.sub (MAKEDIRS): use mkdir of cmd.exe instead of ruby.
- [Bug #6103] [ruby-core:43012]
* win32/README.win32: added a notice about command extension of cmd.exe.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:53 AM Bug #5765: [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}
- Eric Hodel <drbrain@segment7.net> wrote:
> Since the original patch was approved and Net::HTTP::OpenTimeout was
> approved in #6001, I applied a combined patch in r34843, replacing
> Net::HTTP::OpenTimeout.
Thanks! I hope to... - 06:40 AM Revision 70581477 (git): * test/ruby/test_io.rb (TestIO#test_readpartial_locktmp): skip on
- windows because of the platform restriction.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 06:39 AM Revision 74b70ad8 (git): * test/ruby/memory_status.rb (Memory): syntax error.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:07 AM Revision 1673881f (git): /proc/self/status format check
- * test/ruby/memory_status.rb: use /proc/self/status if it is in
the expected format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:07 AM Revision fc493491 (git): fix indent
- * win32/file.c (rb_file_load_ok): fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:07 AM Revision 23008fcc (git): define PLATFORM_DIR if needed
- * Makefile.in, configure.in (PLATFORM_DIR): define if needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:07 AM Revision afa7b27e (git): clean-platform
- * Makefile.in, win32/Makefile.sub (clean-platform): use macro instead
hardcoded path names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:44 AM Bug #6102 (Closed): Crash when calling OpenSSL::Integer#to_der with nil value
- ruby -ropenssl -e 'OpenSSL::Integer.new(nil).to_der'
crashes. -
12:59 AM Feature #5999: Optimize for faster loading time and win32/file.c refactoring
- > I don't object.
> Shirosaki-san, please commit it.
Thank you. I committed it at r34849.
--
Hiroshi Shirosaki -
12:51 AM Feature #5999 (Closed): Optimize for faster loading time and win32/file.c refactoring - This issue was solved with changeset r34849.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* Makefile.in (PLATFORM_DIR): add a variable for `win32` direc...
02/28/2012
-
11:24 PM Feature #6074: Allow alias arguments to have a comma
- I myself prefer "alias" because:
- It does not require a ','
- It is shorter to type
- It reads easier.
def bar
puts 'Hi from bar.'
end
alias foo bar
alias_method :foo, :bar
The first way is more readable f... - 09:53 PM Revision 329ae747 (git): replaced rdoc for Complex::I
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:17 PM Revision f400ba10 (git): * ext/date/date_core.c: reverted r34825.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:28 PM Bug #6101 (Closed): Undesirable result of DateTime#iso8601 with floating point argument
-
06:51 PM Bug #6101 (Closed): Undesirable result of DateTime#iso8601 with floating point argument
- DateTime#iso8601, DateTime#rfc3339 and DateTime#jisx0301 have same behavior as Bug #6100.
C:\>irb
irb(main):001:0> require 'date'
=> true
irb(main):002:0> a = DateTime.now
=> #<DateTime: 2012-02-28T18:41:01+09:00 ((2455986j,34861s... -
06:33 PM Bug #6099 (Closed): [BUG] probable buffer overflow
- This issue was solved with changeset r34846.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (io_fread, io_getpartial, rb_io_sysread): set buffer size... -
03:33 PM Bug #6099: [BUG] probable buffer overflow
- =begin
IO#readpartialにも同様の問題があるようです。
require "fcntl"
r, w = IO.pipe
r.fcntl(Fcntl::F_SETFL, Fcntl::O_NONBLOCK)
buf = " " * 100
t = Thread.new{p r.readpartial(100, buf)}
sleep 0.1
Thread.pass
buf.replace("")
p buf.... -
01:53 PM Bug #6099 (Closed): [BUG] probable buffer overflow
- ふと思い立って以下のようなコードを実行してみたところ、表題の[BUG]となりました。
あんまり重大ではないと考えますが、一応報告しておきます。
他のメソッドでも似たようなことができるものはあると思います。
なお、プラットフォーム依存はないはずです。
% ruby -e '
r, w = IO.pipe
buf = " " * 100
Thread.new{p r.sysread(100, buf)}
Thread.pass
buf.replace(... -
05:16 PM Bug #6100 (Closed): Unexpected value of Time#iso8601 with floating point argument.
- This issue was solved with changeset r34845.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/time.rb (Time#xmlschema): use strftime specifiers instead... -
04:16 PM Bug #6100 (Closed): Unexpected value of Time#iso8601 with floating point argument.
- I found Time#iso8601 returns unexpected value in case of floating point argument.
C:\>irb
irb(main):001:0> require 'time'
=> true
irb(main):002:0> a = Time.now
=> 2012-02-28 16:12:18 +0900
irb(main):003:0> a.iso8601(10)
=> "2012... - 03:51 PM Revision f3b685d1 (git): * 2012-02-29
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:51 PM Revision 4b1e9f0c (git): * Makefile.in (PLATFORM_DIR): add a variable for `win32` directory.
- * Makefile.in (clean-platform): add new target.
It cleans `win32` directory.
* common.mk (clean): add a dependency for `win32` directory.
* common.mk (distclean): ditto.
* common.mk (distclean-platform): add new target.
It cleans `w... -
02:17 PM Bug #5765: [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}
- Since the original patch was approved and Net::HTTP::OpenTimeout was approved in #6001, I applied a combined patch in r34843, replacing Net::HTTP::OpenTimeout.
-
02:16 PM Bug #5765 (Closed): [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}
- This issue was solved with changeset r34843.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/protocol.rb: Add OpenTimeout subclass of Timeout::Error... -
01:51 PM Bug #6001 (Closed): Retry idempotent HTTP requests for more errors
- This issue was solved with changeset r34842.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/http.rb: Retry HTTP requests for additional network er... - 11:28 AM Revision 3486a98a (git): * ext/date/date_core.c: [ruby-core:42998]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:56 AM Bug #6092 (Closed): tests of psych reports many errors and failures when external encoding is not unicode
- I fixed this in r34839, but it seems redmine isn't closing the ticket automatically.
-
12:31 AM Bug #6092: tests of psych reports many errors and failures when external encoding is not unicode
- I also see this on my [i386-mingw] and [i686-linux] (Arch 3.2.7-1) systems.
A quick workaround for mingw is `chcp 65001` in cmd.exe before starting `sh` to run `make test-all`, and for Arch, set `LOCALE="en_US.utf8"` (not en_US.iso885... -
10:53 AM Feature #6079: Hash#each_sorted
- Hi,
(12/02/25 9:24), Yusuke Endoh wrote:
> Agreed. If we can implement the feature without creating an
> intermediate array, it might be useful. But I have no idea
> to implement.
It would be possible, if you can tell ... -
08:11 AM Feature #6079: Hash#each_sorted
- =begin
{1 => 2, 0 => 4}.lazy.sort.each{|k, v| p "#{k} => #{v}"}
=end
?
-
10:30 AM Bug #6098 (Closed): Re: GVL改善案
- こんにちは、なかむら(う)です。
In message "[ruby-dev:43483] Re: GVL改善案"
on May.09,2011 07:19:30, <matz@ruby-lang.org> wrote:
> |0 until hogehoge
> |
> |みたいなビジーループ書くとハマるので、これを「直すべき」とするか、
> |「言語仕様だ、ユーザは気をつけてスクリプト書きやがれ」とするか決めないと
> |... -
09:47 AM Revision 97d6e56b (git): * io.c (io_binwrite, rb_io_syswrite): use shared frozen source
- strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:44 AM Bug #6097 (Rejected): Weird constant behavior during inheritance...
- Learn Ruby-way, please.
-
02:20 AM Bug #6097: Weird constant behavior during inheritance...
- Once Test::Child gets defined, both Parent and Test have Child among their very constants (and they are different classes). The ancestry chain is not even checked.
-
02:03 AM Bug #6097 (Rejected): Weird constant behavior during inheritance...
- >> class Parent
> ...
=> nil
>> class Test < Parent
> ...
=> nil
>> Test.const_defined?(:Child)
=> true
> ...
=> nil
>> Test::Child.new.respond_to?(:bar)
=> true
> ...
=> false # true expected...
Obviously, testing the object... -
09:33 AM Revision 9b02a72d (git): * io.c (io_fread, io_getpartial, rb_io_sysread): set buffer size
- after check if readable, which can cause thread switch.
[ruby-dev:45297][Bug #6099]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:16 AM Revision 007b7fcd (git): * lib/time.rb (Time#xmlschema): use strftime specifiers instead of
- fractional exponential calcuation which yields undesirable
result. [ruby-core:42997][Bug #6100]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:49 AM Revision 3ee4c4fd (git): Remove duplicated entry, thanks znz
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:15 AM Revision 09f27873 (git): * lib/net/protocol.rb: Add OpenTimeout subclass of Timeout::Error
- * lib/net/pop.rb: Modernize Timeout usage. Patch by Eric Wong.
Use Net::OpenTimeout instead of Timeout::Error. [Bug #5765]
* lib/net/http.rb: ditto
* lib/net/smtp.rb: ditto
* lib/net/telnet.rb: dit... -
04:51 AM Revision 8a7da58c (git): * lib/net/http.rb: Retry HTTP requests for additional network errors.
- Introduce OpenTimeout subclass of Timeout::Error. [Bug #6001]
* test/net/http/test_http.rb: Reduce timeout to 0.01s for faster test
* test/net/http/test_https.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru... -
02:56 AM Revision ffdaca1d (git): merge revision(s) 34840:
- * configure.in (debugflags): check if -ggdb is accepted.
[ruby-core:42875][Bug #6080]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:44 AM Revision 1c85a648 (git): * configure.in (debugflags): check if -ggdb is accepted.
- [ruby-core:42875][Bug #6080]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:57 AM Feature #5999 (Assigned): Optimize for faster loading time and win32/file.c refactoring
- I don't object.
Shirosaki-san, please commit it. -
01:41 AM Feature #5999: Optimize for faster loading time and win32/file.c refactoring
- As there's been no negative feedback in the past 17 days, is this patch acceptable as-is and can it now be committed to trunk?
-
01:56 AM Feature #6096 (Rejected): Parser tweak - curly braces followed by a coma...
- It would be sweet if ruby treated curly braces followed by a coma as a hash rather than as a coma:
>> def foo(bar, baz)
> ...
=> nil
>> foo {}, :baz
SyntaxError: (irb):3: syntax error, unexpected ',', expecting $end
foo {}, :baz
... -
01:49 AM Feature #6095 (Closed): Question about block parameter syntax
- fixed by r34835
-
12:53 AM Feature #6095 (Closed): Question about block parameter syntax
- ささだです.
1.times{
|
x,
y|
}
は通りますが,
1.times{
|
x,
y
|
}
は通りません.閉じる | が行頭に来るのがまずいようです.これは,そういう
もんでしょうか.下記のように,ブロックパラメータにコメント入れようと思っ
て気づきました.
1.times{
|
... -
01:30 AM Revision 0cb987bc (git): * ext/psych/lib/psych.rb: default open YAML files with utf8 external
- encoding. [ruby-core:42967]
* test/psych/test_tainted.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/27/2012
-
09:21 PM Bug #6089: Test suite fails with OpenSSL 1.0.1
- Vit Ondruch wrote:
> I contacted openssl's Fedora maintainer, but since he was on holidays last week, I expect some explanation tomorrow.
Great, please let me know if you find out something!
-
04:38 AM Bug #6089: Test suite fails with OpenSSL 1.0.1
- I contacted openssl's Fedora maintainer, but since he was on holidays last week, I expect some explanation tomorrow.
-
04:36 AM Bug #6089: Test suite fails with OpenSSL 1.0.1
- Vit Ondruch wrote:
> However, it already breaks Ruby on Fedora 17/Rawhide, so for me, it is quite high priority to solve it.
Sure, I'll try to find out how it can be circumvented. Did you try to contact OpenSSL about this? I
haven't... -
04:30 AM Bug #6089: Test suite fails with OpenSSL 1.0.1
- I don't know yet why it was changed. However, it already breaks Ruby on Fedora 17/Rawhide, so for me, it is quite high priority to solve it.
-
04:27 AM Bug #6089 (Assigned): Test suite fails with OpenSSL 1.0.1
-
04:27 AM Bug #6089: Test suite fails with OpenSSL 1.0.1
- Thanks for reporting this. I guess we shouldn't
take any actions until 1.0.1 gets officially
released.
If it should continue to break things then, we'll
have to find a way working around it. In the
meantime, I could try to find... -
05:50 PM Bug #6094 (Closed): [OpenSSL] wrong argument of rsa_generate()
- =begin
Seems the type of second argument of ((%ext/openssl/ossl_pkey_rsa.c%)):(({rsa_generate()})) should be (({unsigned long})), not (({int})).
=end
- 04:27 PM Revision 58fb7e91 (git): forgotten to commit at r34834.
- * test/ruby/test_io.rb (TestIO#test_setpos): use binmode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:11 PM Revision d8c26724 (git): * 2012-02-28
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:11 PM Revision 9f0de403 (git): Paranoia: /^/ -> /\A/ in regexp in rdoc. Pointed out by nobu.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:47 PM Revision f3e1c29b (git): * parse.y (opt_bv_decl): allow newline at the end. [ruby-dev:45292]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:11 PM Bug #6091 (Rejected): ruby-mode.el variable typo
- not a typo
-
12:24 AM Bug #6091 (Rejected): ruby-mode.el variable typo
- (defcustom ruby-deep-indent-paren '(?\( ?\[ ?\] t)
should be:
(defcustom ruby-deep-indent-paren '(?\( ?\[ ?\{ t)
-
12:08 PM Bug #6092 (Closed): tests of psych reports many errors and failures when external encoding is not unicode
- after r34722, tests of psych reports many errors and failures, such as;
test_parse_file_exception(Psych::TestException) [C:/Users/usa/ruby/test/psych/test_exception.rb:63]:
[Psych::SyntaxError] exception expected, not
Class: <Argume... - 11:46 AM Revision d74ccf8f (git): * io.c (rb_io_set_pos): add rdoc about textmode.
- * test/ruby/test_io.rb (TestIO#test_setpos): use binmode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:44 AM Feature #6073: Proposal of extending syntax of for loop
- Hi,
Shugo Maeda wrote:
> I think it's good to support both each and map/flat_map.
> ...
Though supporting both each and map/flat_map makes code simpler but,
I'm not completely sure if it's a good idea. I think we've got to
get mor... -
09:40 AM Feature #6012: Proc#source_location also return the column
- Well, that failed miserably. LOL :-)
-
09:39 AM Feature #6012: Proc#source_location also return the column
- Thanks Eric! I ((*never*)) noticed that ((%RD%)) "button" before (hardly looks like a button).
Why did it put:
=begin
=end
In the textarea when I clicked on it? ... maybe I'll find out by submitting this...
=begin
What'... -
05:23 AM Feature #6012: Proc#source_location also return the column
- On Feb 26, 2012, at 6:33 AM, Thomas Sawyer wrote:
> BTW & OT: When is any one going to explain how we format code examples as monospace text on this site?
Click the RD button and use RD formatting (two spaces).
Here's a bash alia... -
08:40 AM Revision 475422fa (git): * ext/sdbm/_sdbm.c (fitpair): suppress shortening warnigns.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:27 AM Revision 2a19074c (git): * test/ruby/test_syntax.rb (test_newline_in_block_parameters):
- test for [ruby-dev:45292].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:25 AM Revision e9ef9bd0 (git): merge revision(s) 34829:
- * ext/bigdecimal/bigdecimal.c (GetVpValueWithPrec): since methods
can be overridden, so should not make an assumption on the type
of results. [ruby-core:42969][Bug #6093]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby... - 08:07 AM Revision 34205bc4 (git): * string.c (rb_str_crypt): Update rdoc and state that this
- function is system dependent. Reviewed by nobu, thanks to
@takai.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:03 AM Revision f5482e4c (git): * ext/bigdecimal/bigdecimal.c (GetVpValueWithPrec): since methods
- can be overridden, so should not make an assumption on the type
of results. [ruby-core:42969][Bug #6093]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:24 AM Feature #5958: ThreadGroup#join
- As another design restriction, the thread list should ensure that threads started in the `ThreadGroup` appear at the end of the list and not randomly to ensure all the threads are joined. Otherwise, joining a `ThreadGroup` may leave thr...
-
01:53 AM Feature #5958: ThreadGroup#join
- On 26/02/2012 08:32, Masaki Matsushita wrote:
>
> ...
It'd be much less surprising to go through the normal rescue mechanism
if possible. How about something like this:
```ruby
module ThreadGroupExceptions
attr_accessor :next... -
01:54 AM Revision ce2211bf (git): * lib/mkmf.rb (try_cppflags, try_cflags, try_ldflags): replace the
- target flags if the given flag is accepted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 AM Revision 8e683a8a (git): * test/rubygems/test_gem_specification.rb (test_self_from_yaml_syck_default_key_bug):
- ignore the test for too old versions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:53 AM Revision 90080e3a (git): * lib/test/unit.rb (Test::Unit::Runner#puke): skips with no
- messages should be trivial.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:50 AM Revision 80429eed (git): * io.c, process.c, time.c, ext: use rb_sys_fail_str instead of
- rb_sys_fail.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 01:48 AM Revision 2c3cc479 (git): * 2012-02-27
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:48 AM Revision 4c12eb74 (git): * ext/openssl/extconf.rb: suppress useless deprecation warnings
- from OpenSSL added by Apple.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:03 AM Bug #6090 (Third Party's Issue): ruby-mode.el font-lock fails with some interpolated strings
- "<ul><li>#{@files.join("</li><li>")}</li></ul>"
The above line does not font-lock properly.
02/26/2012
-
11:33 PM Feature #6012: Proc#source_location also return the column
- BTW & OT: When is any one going to explain how we format code examples as monospace text on this site?
-
11:32 PM Feature #6012: Proc#source_location also return the column
- Would this effect Method#source_location too?
I'm not sure I am really digging this idea. First of all it means I have to go back and fix some code. Secondly it means I have to always worry about the additional piece of data even thou... -
06:26 PM Bug #6089 (Closed): Test suite fails with OpenSSL 1.0.1
- It seems that the patch [1] changes the behavior of openssl and makes the test_x509cert.rb fail:
1) Failure:
test_dsig_algorithm_mismatch(OpenSSL::TestX509Certificate) [test/openssl/test_x509cert.rb:175]:
OpenSSL::X509::Certificat... -
06:23 PM Feature #5958: ThreadGroup#join
- (2012/02/26 17:32), Masaki Matsushita wrote:
> I think `ThreadGroup#join` may be more useful if it catches exceptions from all its threads and handles them like the following.
> ...
This behavior is very confusing for me.
I know it... -
05:32 PM Feature #5958: ThreadGroup#join
- Koichi Sasada wrote:
> What should happen when at least one thread causes an exception?
Under the patch, joining thread also causes the exception if the thread is being joined.
Otherwise, nothing will happen on joining thread.
It b... -
05:28 PM Revision 660a3298 (git): merge revision(s) 34821:
- * regparse.c (add_code_range_to_buf0): wrong condition of duplicated
warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:58 PM Bug #6058: Stack overflow in SEGV Handler
- r34817 の修正で私の手元でも直っていることを確認しました(ありがとうございます!)。
一応ご報告しておきます。 -
05:48 AM Bug #6058: Stack overflow in SEGV Handler
- ああ、思い出した。もともと buf[256] をここで使ってなかったのは
・ファイル名、行番号はスクリプト依存なので非常に長いファイル名を故意に生成可能なので二重SEGVを防ぐために上限を決める必要がある。ふつうファイル名は256程度で十分だろう
・fmt引数はRuby本体からわたされるので、長すぎるfmtがわたされたら呼び出し側のバグだろう
という意図でした。なので、256のままでいいのかちょっと自信がありません。たぶん大丈夫だと思いますが -
05:44 AM Bug #6058 (Assigned): Stack overflow in SEGV Handler
- workaroundとしてはこれで直りそうですが、元々のSEGVがあんまりなっとくいってないのでしばらく開き続けさせてください。ひまが出来たら追っかける
-
05:37 AM Bug #6058 (Closed): Stack overflow in SEGV Handler
- This issue was solved with changeset r34817.
Narihiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* error.c (report_bug): use buf and snprintf to avoid consumi... -
02:32 PM Revision a77ea177 (git): * regparse.c (add_code_range_to_buf0): wrong condition of duplicated
- warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:08 PM Bug #6066: Fix "control may reach end of non-void function" warnings for clang
- =begin
This patch updates existing (({return Qnil; /* not reached */})) with (({UNREACHABLE;}))
I did not change (({trace_en()})) in variable.c as it seems to return, I think the (({/* not reached */})) should be removed, but can you... -
01:39 PM Bug #6066: Fix "control may reach end of non-void function" warnings for clang
- This patch updates all -Wreturn-type warning locations to use the UNREACHABLE macro.
-
07:02 AM Bug #6066: Fix "control may reach end of non-void function" warnings for clang
- Thank you, I will post an updated patch using UNREACHABLE
-
01:52 PM Bug #6001: Retry idempotent HTTP requests for more errors
- Eric Hodel wrote:
> If I update to (({assert_raises(EOFError, IOError, Errno::ECONNRESET) {})) may I commit?
Yes, please -
06:57 AM Bug #6001: Retry idempotent HTTP requests for more errors
- =begin
If I update to (({assert_raises(EOFError, IOError, Errno::ECONNRESET) {})) may I commit?
=end
-
06:15 AM Bug #6001: Retry idempotent HTTP requests for more errors
- > - assert_raises(EOFError) {
> ...
On my environment, EOFError and Errno::ECONNRESET may happen.
Others are ok. -
11:30 AM Feature #6082: io_binwrite()内でwritev()を使う
- Nobuyoshi Nakada wrote:
>sys/uio.hが必要です。
ご指摘とpatchをありがとうございます。
なかださんのpatchを適用して1つにまとめたpatchを添付します。 -
11:26 AM Bug #5966 (Closed): ->{} doesn't work in BasicObject
- This issue was solved with changeset r34819.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* compile.c (iseq_compile_each): call on special object instead... -
04:23 AM Bug #5966: ->{} doesn't work in BasicObject
- Hi,
(2012/02/11 6:56), Nobuyoshi Nakada wrote:
> File 0001-Bug-5966-lambda-in-BasicObject.patch added
> Status changed from Open to Assigned
> Assignee set to Koichi Sasada
Thank you. Please commit it.
> I'm not su... -
07:53 AM Bug #5765: [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}
- Eric Hodel <drbrain@segment7.net> wrote:
> I like this patch.
>
> This patch will collide with #6001, though, since I introduce
> Net::HTTP::OpenTimeout as a subclass of Timeout::Error. Should we add
> Net::OpenTimeout inste... -
07:22 AM Bug #5765: [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}
- The attached patch combines the original patch with the introduction of Net::OpenTimeout.
-
07:15 AM Bug #5765: [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}
- I like this patch.
This patch will collide with #6001, though, since I introduce Net::HTTP::OpenTimeout as a subclass of Timeout::Error. Should we add Net::OpenTimeout instead of Net::HTTP::OpenTimeout?
See also #6088 where I intr... -
06:23 AM Bug #5765: [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}
- Koichi Sasada <redmine@ruby-lang.org> wrote:
> Any progress?
Patch still applies to trunk with offsets. I was hoping somebody
else can review it (I never trust anything I write :)
> I think it is good timing that you beco... -
07:24 AM Feature #6088: Add Net::ReadTimeout to distinguish which operation failed
- The attached patch adds Net::ReadTimeout to Net::Telnet.
-
07:14 AM Feature #6088 (Closed): Add Net::ReadTimeout to distinguish which operation failed
- This relates to #5765 which improves use of timeout in net/ and #6001 which introduces Net::HTTP::OpenTimeout.
This patch introduces Net::ReadTimeout as a subclass of Timeout::Error and raises it when a read operation takes too long. ... -
06:21 AM Bug #6087: How should inherited methods deal with return values of their own subclass?
- I would think these methods should be using `self.class.new` for constructors thus returning the subclass. Although, that might not always possible.
-
06:02 AM Bug #6087 (Closed): How should inherited methods deal with return values of their own subclass?
- Just noticed that we still don't have a consistent way to handle return values:
```ruby
class A < Array
end
a = A.new
a.flatten.class # => A
a.rotate.class # => Array
(a * 2).class # => A
(a + a).class # => Array
```
S... -
06:02 AM Bug #4821 (Feedback): Random Segfaults (in start_thread?)
-
05:35 AM Feature #1586: Including a module already present in ancestors should not be ignored
- Koichi Sasada wrote:
> I want to change this behavior as permitting multiple modules in an ancestors list (option B).
> ...
That would be great.
I'm assuming it be allowed to include a module multiple times in a row too?
~~~ruby
... -
05:19 AM Feature #1586 (Open): Including a module already present in ancestors should not be ignored
- I want to change this behavior as permitting multiple modules in an ancestors list (option B).
Can I do it? (If I can, I'll implement it after this Apr).
-
04:13 AM Feature #6074: Allow alias arguments to have a comma
- I might have sounded more negative than I intended, so let me say that I also agree that we should allow a comma.
-
03:26 AM Revision 331d6b34 (git): merge revision(s) 34819:
- * compile.c (iseq_compile_each): call on special object instead of
self. since stabby lambda is a syntax, so it should not be
affected by the context. [ruby-core:42349][Bug #5966]
* insns.def (send): no spe... -
02:26 AM Revision 6a8d0097 (git): * compile.c (iseq_compile_each): call on special object instead of
- self. since stabby lambda is a syntax, so it should not be
affected by the context. [ruby-core:42349][Bug #5966]
* insns.def (send): no special deal for FCALL. self should be put
on TOS instead.
git-svn-id: svn+ssh://ci.ruby-lang... -
01:06 AM Feature #5690: Module#qualified_const_get
- @Xavier Let me "qualify" that ;-) I think your reasoning made very good sense for adding to ActiveSupport. But becoming part of Ruby, there is the opportunity to do it "right", as your last statement concurs.
-
01:04 AM Feature #5690: Module#qualified_const_get
I don't think the name is particularly obvious. Nevertheless, I am hopeful that it won't matter. I think `const_get` can accommodate. In fact, I think it can even be made to handle:
const_get('Foo', 'Bar::Baz') #=> Foo::Bar::Baz
...-
12:58 AM Feature #6065: Allow Bignum marshalling/unmarshalling from C API
- Yusuke Endoh wrote:
> I agree with akr; Martin's proposal depends on the type long, which
> ...
Having something like that would of course be pure luxury :) I really
like it because it is friendly to clients in the sense that
they c... -
12:51 AM Feature #6065: Allow Bignum marshalling/unmarshalling from C API
- Akira Tanaka wrote:
> 2012/2/25 Martin Bosslet <Martin.Bosslet@googlemail.com>:
> ...
I meant that it would become tightly coupled without further
comment on the expected transfer format. If the internal
representation happens to...
02/25/2012
-
11:42 PM Feature #6070: The scope of for loop variables
- Hi,
> I agree with your opinion regarding the current side effect problems of
> ...
Thanks for your agreement:)
I've updated my patch, whose changes are:
* use NODE_MEMO to avoid memory leak when parsing of expr_value failed.
... -
03:23 AM Feature #6070: The scope of for loop variables - On Fri, Feb 24, 2012 at 02:25:57PM +0900, Shugo Maeda wrote:
>
> Issue #6070 has been updated by Shugo Maeda.
>
> File for_loop_scope_fix_2.diff added
>
> Hi,
>
> Shugo Maeda wrote:
> > There is at least one problem in this... -
09:10 PM Bug #6036: Test failures in Fedora Rawhide/17
- Could you make another ticket ans assign it to Martin Boßlet about openssl?
-
12:34 AM Bug #6036: Test failures in Fedora Rawhide/17
- It seems that the patch [1] changes the behavior of openssl and makes the test_x509cert.rb fail:
1) Failure:
test_dsig_algorithm_mismatch(OpenSSL::TestX509Certificate) [test/openssl/test_x509cert.rb:175]:
OpenSSL::X509::Certific... - 08:37 PM Revision 767848e0 (git): * 2012-02-26
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:37 PM Revision d068ac8e (git): * error.c (report_bug): use buf and snprintf to avoid consuming stack.
- [ruby-dev:45272] [Bug #6058]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:37 PM Revision 2646c694 (git): avoid rdoc's warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:23 PM Feature #6074: Allow alias arguments to have a comma
- Hi,
(12/02/25 13:51), Koichi Sasada wrote:
> I think there are no reason why comma should be rejected.
It's simple.
~~~diff
diff --git a/parse.y b/parse.y
index e47dac4..f55e754 100644
--- a/parse.y
+++ b/parse.y
@@ -979,4... -
01:51 PM Feature #6074: Allow alias arguments to have a comma
- I think there are no reason why comma should be rejected.
-
09:53 AM Feature #6074: Allow alias arguments to have a comma
- Hello,
2012/2/24 Thomas Sawyer <transfire@gmail.com>:
> Btw, is there a reason why `alias` is a keyword and not a method?
Just historical reason, I guess. A keyword-style `alias` was
first introduced, and then alias_metho... -
08:08 AM Feature #6074: Allow alias arguments to have a comma
- Yes, I have almost exclusively used #alias_method in the past, but it's always seems rather silly to have to use the longer term. And I bet it would be an easy adjustment to support a comma.
Btw, I really dislike using the non-symbol ... -
07:41 AM Feature #6074: Allow alias arguments to have a comma
- If that this is your biggest pet peeve, you must really love Ruby!
Just use `alias_method` instead. The `alias` keyword is more general and allows other aliases like global variables; also you don't need to give symbols to `alias`, yo... -
07:46 PM Feature #5690: Module#qualified_const_get
- I wrote qualified_const_get in Active Support. The rationale for that name was: 1) I didn't want to touch const_get. const_get is supposed to raise an exception if the argument is not a valid constant name and "Foo::Bar" is not a valid c...
-
07:01 PM Feature #5690: Module#qualified_const_get
- Please, can we avoid the use such abstract name.
Is the speed hit too great that Ruby's can't just use `#const_get` for this as well? I suspect the Rail's method name was chosen simply to avoid a monkey patch.
Of course, in Facets ... -
01:53 PM Feature #5690: Module#qualified_const_get
- (2011/11/30 12:10), Yehuda Katz wrote:
> It would be great if there was a way to dynamically load a constant path:
>
> ```ruby
> module Foo
> module Bar
> module Baz
> end
> end
> end
>
> Foo.qualifie... -
07:12 PM Feature #5825: Sweet instance var assignment in the object initializer
- I think it's really not such a good idea. Often you'll just end up having to redo it anyway when you finally decide to coerce and/or validate arguments to make your code more robust, e,g,
~~~ruby
def initialize(@name, @age, @location... -
02:25 PM Feature #5825: Sweet instance var assignment in the object initializer
- if my memory serves me right, matz dislikes such a style of arguments.
Matz, could you explain the reason again?
I know some people like this style.
-
06:23 PM Feature #6083: Hide a Bignum definition
- > Binary hackers can handle C structs even if it is a hidden private struct.
> So it should be enough simply to declare "struct RBignunm is not a public API".
I disagree. As far as we consider there is backdoor, every binary
co... -
05:17 PM Feature #6083: Hide a Bignum definition
- Binary hackers can handle C structs even if it is a hidden private struct.
So it should be enough simply to declare "struct RBignunm is not a public API". -
02:02 PM Feature #6083 (Closed): Hide a Bignum definition
- Now, the struct RBignum which is a definition of Bignum in C is located in include/ruby/ruby.h. It means we can't change implementation of Bignum. For example, using GMP as Bignum representation.
I propose to move the struct RBignum... -
06:09 PM Bug #6081 (Assigned): [PATCH] io.c (do_io_advise): raise exception without segfaulting
-
11:49 AM Bug #6081 (Closed): [PATCH] io.c (do_io_advise): raise exception without segfaulting
- IO objects (e.g. pipes) may have Qnil for fptr->pathv. Calling
RSTRING_PTR on Qnil is unsafe and causes a segmentation fault.
This issue also affects 1.9.3 and will need to be backported.
-
06:03 PM Bug #6066 (Open): Fix "control may reach end of non-void function" warnings for clang
- No, the commit just checks the function, and defines UNREACHABLE macro.
-
05:19 PM Bug #6066 (Closed): Fix "control may reach end of non-void function" warnings for clang
- r34784 uses __builtin_unreachable().
-
05:38 PM Bug #5411: Some enum.c doc tweaks
- [removed]
-
04:30 PM Bug #6086 (Rejected): Number of arguments and named parameters
- While working on the messages of "wrong number of arguments" error (see #6085), I realized that the new named parameter feature can lead to misleading error messages:
def foo(x: 42)
end
arg = {x: :bar}
foo(arg) # => nil... -
04:29 PM Feature #6082: io_binwrite()内でwritev()を使う
- なかだです。
(12/02/25 13:33), Masaki Matsushita wrote:
> patchを添付します。
sys/uio.hが必要です。
diff --git i/configure.in w/configure.in
index c760c53..67f5a54 100644
--- i/configure.in
+++ w/configure.in
@@ -1144,7 +1144,... -
01:33 PM Feature #6082 (Rejected): io_binwrite()内でwritev()を使う
- io.cのio_binwrite()内で、writev()を用いる事を提案します。
現在のio_binwrite()は、実際にシステムコールを呼ぶ時には渡された文字列がwbufに収まるならばMEMMOVE()で収めてしまってio_fflush()し、
収まらなければfflushした後に再度rb_write_internal()を呼んでいますが、writev()を用いる事でMEMMOVE()の必要がなくなり、
wbufと渡された文字列を結合する事なく一度のシステ... -
04:23 PM Bug #5747: Proc#curry doesn't always detect too many arguments
- Hi,
Koichi Sasada wrote:
> Any progress on it?
I'm having some problems running all tests, but here is what I've done so far.
The first patches defines various `min_max_arity` functions to get min and max number of (non-ignored... -
01:45 PM Bug #5747: Proc#curry doesn't always detect too many arguments
- Any progress on it?
-
03:47 PM Bug #6085 (Closed): Treatment of Wrong Number of Arguments
- For brevity, let me abbreviate:
WNA = "wrong number of arguments"
Ruby could provide more accurate information when raising an ArgumentError for WNA.
Example:
def foo(a, b=42); end
foo # => WNA (0 for 1)
f... -
03:23 PM Bug #5765: [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}
- 2012/2/25 Koichi Sasada <redmine@ruby-lang.org>:
> I think it is good timing that you become a committer :)
> (I'm sorry if you already are)
An enthusiastic +1.
--
Yusuke Endoh <mame@tsg.ne.jp> -
02:09 PM Bug #5765: [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}
- Any progress?
I think it is good timing that you become a committer :)
(I'm sorry if you already are)
-
03:23 PM Feature #5995: calling io_advise_internal() in read_all()
- Hello,
2012/2/25 Masaki Matsushita <glass.saga@gmail.com>:
> Yusuke Endoh wrote:
>> Did you run my program?
>
> Yes. I ran your program in [ruby-core:42683] and I really experienced performance improvement on my environment... -
02:02 PM Feature #5995: calling io_advise_internal() in read_all()
- Yusuke Endoh wrote:
> Did you run my program?
Yes. I ran your program in [ruby-core:42683] and I really experienced performance improvement on my environment.
Results are in [ruby-core:42684] and they can be reproduced.
I'm wonde... -
12:26 PM Feature #5995 (Assigned): calling io_advise_internal() in read_all()
- Kosaki-san, can you check [ruby-core:42772]?
Matsushita-san,
I'm not sure if the mechanism you said is right because just
using posix_fadvise did not bring any speed improvement in my
experiment of [ruby-core:42683]. Did you run m... -
03:13 PM Feature #3131 (Closed): add Kernel#Hash() method like Kernel#Array()
- This has already done, only missed to close.
-
02:46 PM Feature #3131: add Kernel#Hash() method like Kernel#Array()
- Who should work on it?
-
03:10 PM Bug #6084: Ruby 1.9.3p125 Segfault while running nanoc compile
- Could you show the small reproducible code?
-
03:05 PM Bug #6084 (Rejected): Ruby 1.9.3p125 Segfault while running nanoc compile
- Ruby interpreter segfaults with the compile command of nanoc for Ruby 1.9.3p125 under Windows. My windows version is Windows 7 Professional x64. While having checked with nanoc developer, this error does not appear on 1.9.3p0, and it is ...
-
03:07 PM Feature #5958: ThreadGroup#join
- What should happen when at least one thread causes an exception?
-
02:48 PM Revision 3806abfe (git): merge revision(s) 34792:
- * file.c (utime_internal): fix a variable missed to replace.
[ruby-core:42864] [Bug #6077]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:47 PM Feature #5992 (Closed): DL and fiddle should support intrinsic types, size_t, ptrdiff_t and intptr_t
- This issue was solved with changeset r34800.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/dl/dl.c (Init_dl): support intrinsic types, size_t, pt... -
03:28 AM Feature #5992: DL and fiddle should support intrinsic types, size_t, ptrdiff_t and intptr_t
- Nobu,
This looks good. Will you apply please? -
02:31 PM Feature #5543: rb_thread_blocking_region() API is poorly designed
- Christopher Huff wrote:
> VALUE is actively misleading, given that a VALUE can not be constructed by the function, and the writer of the code will most likely not want to return a pre-constructed one. "void *" is the obvious choice, not... -
02:12 PM Bug #5750: Thread.current local-variables behavior
- Suggestions are welcome!
-
01:53 PM Bug #5719: Hash::[] can't handle 100000+ args
- (2011/12/07 14:26), Martin Dürst wrote:
> This is related to http://redmine.ruby-lang.org/issues/982. In terms of what needs to be done, it may even be "the same" bug, although 982 is about a very long array literal, and this is about... -
01:43 PM Bug #5739 (Feedback): [BUG] object allocation during garbage collection phase
- Can you reproduce it on 1.9.3 yet?
3rd party extensions often make such a bug. -
01:23 PM Feature #5583: Optionally typing
- Shugo Maeda wrote:
> I prefer method annotations to special syntax.
Me too. Any discussion about it?
-
12:32 PM Revision 0f377c1c (git): merge revision(s) 34786,34787,34788,34789:
- * dir.c, file.c, io.c: use rb_sys_fail_path.
* error.c: new functions to deal exceptions with string instances.
* dir.c, file.c, io.c (rb_sys_fail_path): use rb_sys_fail_str.
* test/ruby/test_literal.rb (TestRu... -
12:25 PM Revision 5e808b6b (git): merge revision(s) 34794,34795:
- * dir.c (dir_initialize): keep path in original encoding.
* error.c (syserr_initialize): prefer the encoding of message over
locale. [ruby-dev:45279][Bug #6071]
* dir.c (dir_inspect), io.c (rb_io_inspect): ke... -
12:04 PM Feature #6073: Proposal of extending syntax of for loop
- Hi,
Shouichi KAMIYA wrote:
> Yes Scala's yield feature in for loop is powerful and it'll be good if we can use that feature in Ruby.
> ...
I think it's good to support both each and map/flat_map.
It may be possible to use yield ins... -
10:29 AM Feature #6065: Allow Bignum marshalling/unmarshalling from C API
- 2012/2/25 Martin Bosslet <Martin.Bosslet@googlemail.com>:
>
> One comment, which is also in reply to why I believe it
> could be dangerous to simply promote rb_big_(un)pack to
> public API: rhey are tightly coupled to our intern... -
09:23 AM Feature #6065: Allow Bignum marshalling/unmarshalling from C API
- Hello,
2012/2/25 Martin Bosslet <Martin.Bosslet@googlemail.com>:
> Kenta Murata wrote:
>> I also believe it is useful that the feature to dump a Bignum to C array.
>
>> I made a patch for realizing the feature.
>> Please ... -
05:34 AM Feature #6065: Allow Bignum marshalling/unmarshalling from C API
- Kenta Murata wrote:
> I also believe it is useful that the feature to dump a Bignum to C array.
> ...
Great, I would really appreciate that, thank you!
One comment, which is also in reply to why I believe it
could be dangerous to simply... -
09:53 AM Feature #4043: グローバル関数current_classの提案
- きしもとです
On Wed, 15 Feb 2012 18:05:12 +0900
Shyouhei Urabe <shyouhei@ruby-lang.org> wrote:
> Issue #4043 has been updated by Shyouhei Urabe.
>
>
> Makoto Kishimoto wrote:
> > 採用を妨げるものとしては何がありますでしょうか?
>
> やっぱ名前じゃないで... -
09:29 AM Feature #6079: Hash#each_sorted
- Hello,
2012/2/25 Marc-Andre Lafortune <ruby-core@marc-andre.ca>:
> I feel there is no need for `each_sorted` as it is equivalent to `sort.each` (and 2 characters longer).
Agreed. If we can implement the feature without crea... -
07:35 AM Feature #6079: Hash#each_sorted
- I feel there is no need for `each_sorted` as it is equivalent to `sort.each` (and 2 characters longer). Try:
{1 => 2, 0 => 4}.sort.each{|k, v| p "#{k} => #{v}"}
-
06:21 AM Feature #6079 (Rejected): Hash#each_sorted
- I often use my own mixin'd Hash#each_sorted that sorts the hash keys and then calls the block with the key and value. It would be useful to be added to Hash. (If this is already in Hash or Enumerable, I didn't see it.)
class Hash
d... -
08:42 AM Revision a38958a5 (git): * ext/dbm/extconf.rb (headers): try ambiguous headers at last.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:11 AM Revision 1b21d03d (git): merge revision(s) 34809:
- * lib/fileutils.rb: use chomp(?/) instead of sub to optimize and avoid
to regexping invalid string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:10 AM Revision f7f7f93a (git): merge revision(s) 34795:
- * dir.c (dir_inspect), io.c (rb_io_inspect): keep encoding of path.
[Bug #6072]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:08 AM Revision 9a93699a (git): * lib/fileutils.rb: use chomp(?/) instead of sub to optimize and avoid
- to regexping invalid string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:07 AM Feature #4890: Enumerable#lazy
- Yusuke Endoh wrote:
>
> ...
Hi,
I've come up with patch in C - just two lazy methods added so far: map and select.
Please, see this PR for more info https://github.com/ruby/ruby/pull/100
The idea is very simple - block that pas... -
07:58 AM Revision 9167535c (git): * common.mk (check, test-all): no exntension builds before test-all,
- but check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:41 AM Revision aced01ee (git): Fix r34779. Raised error on connection reset varies on environments.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:39 AM Revision 7e2e3dc8 (git): merge revision(s) 34803:
- * complex.c (nucomp_marshal_load): raise error on invalid data.
reported by John Firebaugh [ruby-core:42860] [Bug #6076]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:31 AM Revision 51438b1c (git): ad comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:26 AM Revision 90560985 (git): update comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:20 AM Revision eeff98c4 (git): * complex.c (nucomp_marshal_load): raise error on invalid data.
- reported by John Firebaugh [ruby-core:42860] [Bug #6076]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:08 AM Revision 57657a0b (git): suppress warnings.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:08 AM Revision 6f24054f (git): Add News for r34367 [ruby-core:29462] [Feature #3131]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:55 AM Bug #6077 (Closed): Segmentation faults on trunk after r34788
- This issue was solved with changeset r34792.
Michael, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* file.c (utime_internal): fix a variable missed to replace.
... -
04:36 AM Bug #6077 (Closed): Segmentation faults on trunk after r34788
- trunk fails to pass tests due to segmentation fauls, the issue seems to be introduced in r34788 (https://github.com/ruby/ruby/commit/adcb7e9e7b142427c97251fdb6340433f65fe811).
64-bit Linux: https://gist.github.com/7be5c691bcd7a66888d3... -
05:47 AM Revision b4288080 (git): * ext/dl/dl.c (Init_dl): support intrinsic types, size_t, ptrdiff_t
- and intptr_t. [ruby-core:42460][Feature #5992]
* ext/fiddle/fiddle.c (Init_fiddle): ditto.
* ext/dl/lib/dl/cparser.rb (DL::CParser#parse_ctype): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34800 b2dd03c8-39d4-4d8f-98ff-823... -
05:23 AM Feature #5221: LoadEerror#path
- (2011/08/26 2:45), Aaron Patterson wrote:
> Can we make it use a regular ivar for `path` rather than an ivar with no
> "@"? Using private ivars like this makes life hard for doing
> introspection (like the introspection required ... -
04:39 AM Feature #5221: LoadEerror#path
- I've reduced the diff slightly. May I commit this?
-
05:04 AM Bug #6001: Retry idempotent HTTP requests for more errors
- =begin
Please check this improved patch.
The new patch separates open and connect errors from response read/write errors. This allows OpenSSL::SSL::SSLError to be rescued only when there is an error in the connection (from SSL_read ... -
04:37 AM Bug #6078 (Closed): The name of a module nested in an anonymous module depends on how it was created
- If a module is nested under an anonymous module, the nested modules name will depend on how the module is created. See below:
$ irb
1.9.3p125 :001 > m = Module.new
=> #<Module:0x000001009e1398>
1.9.3p125 :002 > n = Module.new
=... -
04:18 AM Bug #5390: YAML.load が、正しく解析できないエンコーディングの文字列も受け付けてしまう
- 返事が遅くなって、ごめんなさい。
YAML のファイルフォーマットは UTF8, UTF16LE, と UTF16BE のみサポートしますが、Psych だけは String をパースする時に文字コードを UTF8 に変換します。
例: https://gist.github.com/1902995
ファイルを使用する場合、ファイルの文字例は以下の UTF8 、UTF16LE 、 UTF16BEの一つのみ使用可能です。
例:https://gis... -
03:31 AM Bug #4821: Random Segfaults (in start_thread?)
- I've tried, but I can't seem to reproduce this. Christian, are you still seeing these issues? If so, could you post an application that reproduces the problem? I'm happy to do this off-list if it's more convenient.
-
02:09 AM Revision d9adb03d (git): * ext/curses/curses.c (Init_curses): use rb_define_const once for
- Curses::VERSION.
* ext/dbm/dbm.c (Init_dbm): ditto for DBM::VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:36 AM Revision aa281e75 (git): * ext/curses/curses.c (Init_curses): make Curses::VERSION
- understandable without context.
* ext/dbm/dbm.c (Init_dbm): ditto for DBM::VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
02/24/2012
-
10:54 PM Revision 001f7275 (git): * test/test_curses.rb: property.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:54 PM Revision 785521bd (git): * parse.y (parser_tokadd_string): insert a backslash only if
- quoted by single quotes. [ruby-dev:45281] [Bug #6069]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:53 PM Revision eec0b2d8 (git): * dir.c (dir_inspect), io.c (rb_io_inspect): keep encoding of path.
- [Bug #6072]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:53 PM Revision 85738261 (git): * dir.c (dir_initialize): keep path in original encoding.
- * error.c (syserr_initialize): prefer the encoding of message over
locale. [ruby-dev:45279][Bug #6071]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 09:55 PM Revision cc07e34b (git): * 2012-02-25
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:55 PM Revision cbd6a464 (git): * file.c (utime_internal): fix a variable missed to replace.
- [ruby-core:42864] [Bug #6077]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:46 PM Bug #6036: Test failures in Fedora Rawhide/17
- It seems that the errors are due to updated openssl library: openssl-1.0.1-0.1.beta2.fc17 ... there is a lot of errors around, Python, MySql ...
-
01:19 AM Bug #6036: Test failures in Fedora Rawhide/17
- Akira Tanaka wrote:
> 2012/2/22 Vit Ondruch <v.ondruch@tiscali.cz>:
> ...
Yes, that might be. I just noted that the "TestPathname#test_pathsubext_510" was last entry in my log, so there might be other tests passed, but not flushed yet.... -
08:31 PM Feature #6074 (Rejected): Allow alias arguments to have a comma
- This is one my biggest pet peeves with Ruby. I am always typing:
~~~ruby
alias :foo, :bar
~~~
And getting a damn syntax error.
Btw, is there a reason why `alias` is a keyword and not a method?
-
03:09 PM Feature #6073: Proposal of extending syntax of for loop
- Hi,
Thank you for your quick response.
Shugo Maeda wrote:
> Scala's for expression is more powerful.
> ...
Yes Scala's yield feature in for loop is powerful and it'll be good if we can use that feature in Ruby.
However, it seems... -
02:48 PM Feature #6073: Proposal of extending syntax of for loop
- Hi,
Shouichi KAMIYA wrote:
> I propose to extend syntax of for loop which allows us to write multiple loop with guard easily.
> ...
I'm interested in your idea.
# Feature #6070 was preparation for the same proposal.
> for i in 1... -
02:29 PM Feature #6073: Proposal of extending syntax of for loop
- Oh and this is my fork on Github.
https://github.com/shouichi/ruby -
02:19 PM Feature #6073 (Rejected): Proposal of extending syntax of for loop
- Hi,
I propose to extend syntax of for loop which allows us to write multiple loop with guard easily.
This extension is inspired by Scala. Here is a example
for i in 1..4 when i % 2 == 0
j in 5..8 when j % 4 == 0
puts "#{i}... -
02:49 PM Revision 76dc4b9a (git): merge revision(s) 34755:
- * lib/ostruct.rb (delete_field): Bug fix so previous value is
returned. Patch by Nick Recobra [Bug #6063]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:25 PM Feature #6070: The scope of for loop variables
- Hi,
Shugo Maeda wrote:
> There is at least one problem in this patch. The problem is that it cannot handle
> ...
I've fixed my patch to fix the problem.
By the attached patch, the scope of variables in expr_value is not limited in... -
08:23 AM Feature #6070: The scope of for loop variables
- Hi,
2012/2/24 Shugo Maeda <redmine@ruby-lang.org>:
> There is at least one problem in this patch. The problem is that it cannot handle
> the following code in mkmf.rb.
> # I suspected that this code was written by nobu, but it wa... -
07:48 AM Feature #6070 (Rejected): The scope of for loop variables
- Hi,
In Ruby, the scope of a for loop variable is not limited in the for expression,
which means that a for expression counts on side effects.
This sometimes causes unexpected behavior when closing a for loop variable using a closu... -
10:39 AM Bug #6001: Retry idempotent HTTP requests for more errors
- I think Timeout::Error is OK since Errno::ECONNRESET or Errno::ECONNABORTED may race with your timeout setting depending upon network behavior.
OpenSSL::SSL::SSLError may be raised due to a temporary issue when reading or writing and ... -
09:29 AM Bug #6066: Fix "control may reach end of non-void function" warnings for clang
- =begin
Yes, (ID)NULL seems odd to me too.
clang supports __builtin_unreachable():
http://clang.llvm.org/docs/LanguageExtensions.html#__builtin_unreachable
It looks like replacing (({return Qnil; /* NOT REACHED */})) lines with ... - 09:25 AM Revision d77f31b6 (git): * test/zlib/test_zlib.rb (TestZlibGzipReader#test_encoding): Add
- encoding testcases for GzipReader#read. read() emits
Encoding.default_external in contrast to read(size) emits BINARY.
See also: http://bugs.jruby.org/6208
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34790 b2dd03c8-39d4-4d8f... -
09:15 AM Bug #5541 (Closed): Better configure error message when llvm-gcc is the default compiler
-
09:14 AM Bug #5541: Better configure error message when llvm-gcc is the default compiler
- Closing this issue due to r34278
-
09:11 AM Feature #5623: [PATCH] Update documentation for Complex
- Since lib/complex.rb starts with # :enddoc: I chose not to apply your lib/complex.rb patch as it cannot be seen by RDoc.
-
09:10 AM Feature #5623 (Closed): [PATCH] Update documentation for Complex
- This issue was solved with changeset r34778.
Sylvain, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* complex.c (Init_Complex): Document Complex::I. Patch by Sy... -
08:58 AM Revision 79bd9c3e (git): * test/ruby/test_literal.rb (TestRubyLiteral#test_special_const): test for https://bugs.php.net/bug.php?id=61095
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:35 AM Bug #5816: Add documentation for profiler
- Gonzalo, please remove trailing whitespace before submitting patches in the future.
-
08:15 AM Bug #5816 (Closed): Add documentation for profiler
- This issue was solved with changeset r34773.
Gonzalo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/profiler.rb: Add Profiler documentation by Gonzalo Rodr... -
07:48 AM Revision adcb7e9e (git): * dir.c, file.c, io.c (rb_sys_fail_path): use rb_sys_fail_str.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:39 AM Revision 7d742d47 (git): * error.c: new functions to deal exceptions with string instances.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:39 AM Bug #6068: String::Hash documentation clarification
- Daniel, I couldn't use your patch as it was not line-wrapped to 80 columns and was too-specific to String. As Marc-Andre pointed out, the randomization behavior applies to Fixnum, Hash, String, Symbol, Array, etc., so I applied a patch ...
-
07:24 AM Bug #6068 (Closed): String::Hash documentation clarification
- This issue was solved with changeset r34769.
Daniel, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c (rb_obj_hash): Added note that the hash value is no... -
12:13 AM Bug #6068: String::Hash documentation clarification
- I'm not sure that all implementations have to return hash codes that differ from one run to the other. I would also modify `Object#hash`, as all hashes in CRuby are random seeded, not just String. I'd recommend adding the following line ...
-
07:37 AM Revision 9acf2091 (git): * dir.c, file.c, io.c: use rb_sys_fail_path.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:13 AM Revision b8729f11 (git): * io.c (set_binary_mode_with_seek_cur): reorder function qualifiers.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:49 AM Revision d5734468 (git): * configure.in (__builtin_unreachable): check for clang.
- [ruby-core:42849]
* include/ruby/ruby.h (UNREACHABLE): fallback definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:55 AM Revision 0d1c8fd9 (git): * ext/psych/parser.c: prevent a memory leak by protecting calls to
- handler callbacks.
* test/psych/test_parser.rb: test to demonstrate leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:15 AM Revision 0e896b99 (git): pull request #55 as same as #98
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:10 AM Revision e0f4a550 (git): * lib/net/http.rb: Fix documentation.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:56 AM Revision 7e76ab5e (git): * string.c (rb_str_prepend): Fix documentation for String#prepend.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:10 AM Revision 7a1180c7 (git): * lib/net/http.rb (Net::HTTP#transport_request): Fix infinite loop
- upon EOFError or Errno::ECONNRESET where count is reset to 0.
* test/net/http/test_http.rb (class TestNetHTTPKeepAlive): Test for
above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:10 AM Revision af9398ab (git): * complex.c (Init_Complex): Document Complex::I. Patch by Sylvain
- Daubert. [Feature #5623]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e