Project

General

Profile

Activity

From 08/29/2011 to 09/04/2011

09/04/2011

11:44 PM Bug #3231 (Rejected): Digest Does Not Build
Thanks for the confirmation. Closing this ticket as 'Works for me'. nahi (Hiroshi Nakamura)
10:01 AM Bug #3231: Digest Does Not Build
This can be closed, it no longer happens. cfis (Charlie Savage)
10:33 PM Feature #5198 (Closed): IMAP -- would like fucntions that return the default ports
This issue was solved with changeset r33182.
art , thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/imap.rb (default_port, default_imap_port,
default_tls...
shugo (Shugo Maeda)
10:17 PM Bug #4318 (Closed): Legacy bug in net/imap in Ruby 1.9.x
Hi,
Shugo Maeda wrote:
> This bug has been fixed in r30543.
> ...
There has been no feedback for a long time, so I close this ticket.
Please reopen it if necessary.
shugo (Shugo Maeda)
10:15 PM Bug #5162 (Rejected): IMAP error formatting string
Hello,
art lussos wrote:
> > I don't know why the back quote is not good. Ruby uses back quotes in many other cases.
> ...
So I'll close this ticket. Thanks.
shugo (Shugo Maeda)
09:22 PM Feature #5128 (Closed): 日本語ドキュメントをUTF-8に
This issue was solved with changeset r33181.
Shyouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
Change encoding from EUC-JP to UTF-8. [Feature #5128]
shyouhei (Shyouhei Urabe)
08:14 PM Revision 75c42535 (git): * numeric.c (flo_round): Make Float#round round big values [bug #5272]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
08:14 PM Revision 269de36c (git): * numeric.c: Extract integer rounding into int_round_0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
07:28 PM Revision dc20068d (git): * 2011-09-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:28 PM Revision 9d2f5dff (git): * numeric.c (int_round): Integer#round always returns an Integer [Bug #5271]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
01:33 PM Revision 26f73a51 (git): * lib/net/imap.rb (default_port, default_imap_port,
default_tls_port, default_ssl_port, default_imaps_port):
added methods for consistency with Net::POP.
based on the patch by art lussos. [ruby-core:38997] [Bug #5198]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33182 b2dd03c8-...
shugo (Shugo Maeda)
12:22 PM Revision 60c84552 (git): Change encoding from EUC-JP to UTF-8. [Feature #5128]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
06:18 AM Revision a17fd731 (git): * ChangeLog: style fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
12:23 AM Bug #3422: Object.const_get(:A, false) can access BasicObject::A
On Sat, Sep 3, 2011 at 04:57, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:

>
> Issue #3422 has been updated by Nobuyoshi Nakada.
>
> Status changed from Assigned to Closed
>

Why is this issue closed? Is the current beh...
judofyr (Magnus Holm)

09/03/2011

11:52 PM Bug #5268 (Closed): [i386-mingw] `make test` failures with 1.9.3dev@33165
This issue was solved with changeset r33171.
Jon, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (argf_next_argv): open in default text mode.
[ruby-core:3...
nobu (Nobuyoshi Nakada)
12:07 AM Bug #5268 (Closed): [i386-mingw] `make test` failures with 1.9.3dev@33165
After building on Win7 32bit with a MinGW toolchain I get the following failures during `make test`:
sh-3.1$ gcc --version
gcc.exe (tdm-1) 4.5.2
sh-3.1$ ruby --version
ruby 1.9.3dev (2011-09-02 revision 33165) [i386-mingw32]
s...
jonforums (Jon Forums)
10:01 PM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
Doesn't https://github.com/mark-moseley/ruby-debug/pull/14 work? nobu (Nobuyoshi Nakada)
08:08 PM Bug #5258: SizedQueueにBug #5195と同様のバグ
別件の修正中にパッチを書いていたのですが、このチケットと同じ問題だと気がつきました。
#5195 のぶんも同じですがパッチを添付します。
wakeup や例外で抜けた時に @waiting に残ってしまうと次の Queue#push の時に意図せず Thread#wakeup が呼ばれてしまったり、実際に待っている Thread に wakeup が呼ばれなくなったりするので、残さないようにしたほうが良いと思います。
nagachika (Tomoyuki Chikanaga)
06:46 PM Bug #5259 (Closed): SizedQueue#max=で正でない数を指定できてしまう
This issue was solved with changeset r33170.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/thread.rb (SizedQueue#max=) raise ArgumentError if max is...
nagachika (Tomoyuki Chikanaga)
09:09 AM Bug #5259 (Assigned): SizedQueue#max=で正でない数を指定できてしまう
おっしゃる通りだと思いますので、テストを追加してコミットしておきます。
報告ありがとうございました。
nagachika (Tomoyuki Chikanaga)
04:02 PM Revision 107fd826 (git): * 2011-09-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:02 PM Revision 85ead55c (git): * backport r33177 from trunk.
* test/ruby/test_fiber.rb (TestFiber#test_no_valid_cfp):
add a test. Unlike TestThread#test_no_valid_cfp,
this test succeeds even if win32ole is required (see r33153).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@...
ktsj (Kazuki Tsujimoto)
03:54 PM Revision 7c9b9977 (git): * test/ruby/test_fiber.rb (TestFiber#test_no_valid_cfp):
add a test. Unlike TestThread#test_no_valid_cfp,
this test succeeds even if win32ole is required (see r33153).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
03:29 PM Feature #5128: 日本語ドキュメントをUTF-8に
(2011/09/01 19:32), NARUSE, Yui wrote:
> 2011年9月1日15:30 Ayumu Aizawa <ayumu.aizawa@gmail.com>:
>>> 他のファイルもやる必要があるという話なので、自分でコミットしてもらったほうが
>>> あとあとよいのではないでしょうか。
>>
>> 文句がでないのであれば、マイペースに作業できるので(あと卜部さんの負担も減るし)
>> そうしてもらえるとたすかりま...
Anonymous
03:11 PM Revision aa6ebbe3 (git): * 2011-09-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:11 PM Revision bc2a1f2a (git): * variable.c (rb_const_set): show the previous definition
location. [EXPERIMENTAL]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:56 PM Revision 3e0819c6 (git): * configure.in (sizeof_struct_dirent_too_small): check if struct
dirent.d_name is too small.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:55 PM Revision 90a10297 (git): * configure.in (RUBY_MINGW32): take tool prefix from CC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:54 PM Revision 4ac51126 (git): * ext/io/console/console.c (console_set_winsize): remove
unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:52 PM Revision 74f724de (git): * io.c (argf_next_argv): open in default text mode.
[ruby-core:39234] [Bug #5268]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:57 AM Bug #3422 (Closed): Object.const_get(:A, false) can access BasicObject::A
nobu (Nobuyoshi Nakada)
11:54 AM Bug #5154 (Closed): method_missing and module scope, regression in 1.9.3
nobu (Nobuyoshi Nakada)
11:52 AM Bug #5143 (Closed): include not properly registering modular methods
nobu (Nobuyoshi Nakada)
11:24 AM Bug #5269 (Closed): All ThreadError in PStore transaction will be caught and replaced with PStore::Error
=begin
I noticed all ThreadError in PStore transaction will be caught and replaced with PStore::Error.
Here is an example:
require 'pstore'

ps = PStore.new("hoge")
ps.transaction do
 raise ThreadError
end
The Thread...
Glass_saga (Masaki Matsushita)
09:46 AM Revision a46d29bb (git): * lib/thread.rb (SizedQueue#max=) raise ArgumentError if max is not
positive number. patch by Masaki Matsushita.
[ruby-dev:44449] [Bug #5259]
* test/thread/test_queue.rb (test_sized_queue_initialize,
test_sized_queue_assign_max): add tests for it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3...
nagachika (Tomoyuki Chikanaga)
04:49 AM Revision 8e1b2f66 (git): * test/ruby/test_encoding.rb (test_find): mingw is not Unix, of course.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:49 AM Revision b31c8177 (git): * test/ruby/test_encoding.rb (test_find): mingw is not Unix, of course.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:11 AM Bug #5261 (Rejected): Symbol#to_proc memory leak in 1.9.x
Closed on OP request. No memory leak found. luislavena (Luis Lavena)
03:06 AM Bug #5261: Symbol#to_proc memory leak in 1.9.x
Indeed you're right, the references certainly take longer to get collected but don't increase considerably over time. It certainly caused some issues with our production code, but we need to accept a high degree of memory usage with the... ninkendo (Ken Simon)

09/02/2011

11:47 PM Bug #5164: Line endings, bug/regression or feature of 1.9.3?
Thank you Nakada-san, works perfectly! luislavena (Luis Lavena)
09:11 PM Bug #5164 (Closed): Line endings, bug/regression or feature of 1.9.3?
This issue was solved with changeset r33165.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (validate_enc_binmode, prep_stdio): default to text mode o...
nobu (Nobuyoshi Nakada)
09:29 PM Bug #5242 (Closed): ] C
Duplicated. kosaki (Motohiro KOSAKI)
09:26 PM Bug #5258 (Assigned): SizedQueueにBug #5195と同様のバグ
kosaki (Motohiro KOSAKI)
09:23 PM Revision 69c3434c (git): * 2011-09-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:23 PM Revision a1b8cacd (git): * 2011-09-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:23 PM Revision 012ddb6d (git): * win32/win32.c (rb_w32_fd_copy): cast explicitly to suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:23 PM Revision 69dff899 (git): * win32/win32.c (rb_w32_fd_copy): cast explicitly to suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:57 PM Bug #921 (Closed): autoload is not thread-safe
Closing. Please reopen this ticket if you find any regression. nahi (Hiroshi Nakamura)
05:46 PM Bug #5267 (Closed): BigDecimal#sqrt の rdoc で、引数は必須
ソース中の rdoc の記述では、BigDecimal#sqrt の引数は必須でないように
読めるが、必須なのでそのように。
diff --git ext/bigdecimal/bigdecimal.c ext/bigdecimal/bigdecimal.c
index 86070af..e70406a 100644
--- ext/bigdecimal/bigdecimal.c
+++ ext/bigdecimal/bigdecimal.c
@@ -1...
metanest (Makoto Kishimoto)
02:36 PM Bug #5264 (Closed): Commit 33157
This issue was solved with changeset r33163.
Charlie, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_insnhelper.c (vm_search_const_defined_class): search
an...
nobu (Nobuyoshi Nakada)
01:16 PM Bug #5264: Commit 33157
Ok, can reproduce like this:
```ruby
require 'rubygems'
require 'redis-namespace'
require 'redis-store'
```
Which when you go look at the gems source ends up like this:
```ruby
# from redis-namespace (lib/redis/namespace.rb)
class Red...
cfis (Charlie Savage)
10:05 AM Bug #5264 (Feedback): Commit 33157
Simplified code doesn't reproduce it.
class Redis; class Store < self; module Namespace; end; end; end
Is "Namespace" constant defined elsewhere at that point?
nobu (Nobuyoshi Nakada)
07:15 AM Bug #5264 (Closed): Commit 33157
It appears this commit:
https://github.com/ruby/ruby/commit/43284b6bf8324a762808537d5cd2c0774b662a84
Breaks our test suite, with this error from the redis namespace gem. Here is a trackeback from our Rails app:
Namespace is not...
cfis (Charlie Savage)
12:11 PM Revision 8403b23f (git): * io.c (validate_enc_binmode, prep_stdio): default to text mode on
dosish platforms. [ruby-core:38822] [Bug #5164]
* transcode.c (rb_econv_prepare_options): keep default ecflags
unchanged if no options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33165 b2dd03c8-39d4-4d8f-98ff-82...
nobu (Nobuyoshi Nakada)
12:11 PM Revision 7dc7da3d (git): * io.c (validate_enc_binmode, prep_stdio): default to text mode on
dosish platforms. [ruby-core:38822] [Bug #5164]
* transcode.c (rb_econv_prepare_options): keep default ecflags
unchanged if no options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:04 PM Bug #5266 (Closed): BigDecimal#sqrt で、大きな数の平方根の、要求する精度が低いある範囲のとき、結果がおかしい
BigDecimal#sqrt で、大きい数(10**n でだいたい n > 100 あたり
から顕著)の平方根を求める時、sqrt の引数(桁数で要求する、精度の下限)
がだいたい 20 ~ 0.55 * n の時、期待するような結果が出ません。
以下具体例を示して説明します。
$ irb19
irb(main):001:0> RUBY_DESCRIPTION
=> "ruby 1.9.4dev (2011-07-18 trunk 32577) [...
metanest (Makoto Kishimoto)
09:58 AM Bug #5262 (Closed): invalid multibyte escapes should raise a clearer error
This issue was solved with changeset r33161.
Larry, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (parser_tokadd_string, parser_yylex): ignore a backsla...
nobu (Nobuyoshi Nakada)
03:04 AM Bug #5262 (Closed): invalid multibyte escapes should raise a clearer error
Here's an irb example of the issue using 'curly-quotes':

ruby-1.9.2-p290 :001 > "“"
=> "“"
ruby-1.9.2-p290 :002 > "“".encoding
=> #<Encoding:UTF-8>
ruby-1.9.2-p290 :003 > "\“"
SyntaxError: (irb):3: invalid multibyte char...
coldnebo (Larry Kyrala)
08:09 AM Revision 45fffaea (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
05:36 AM Revision c526a584 (git): * vm_insnhelper.c (vm_search_const_defined_class): search
ancestors only when global scope. [ruby-core:39227] [Bug #5264]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:36 AM Revision 7dddaf68 (git): * vm_insnhelper.c (vm_search_const_defined_class): search
ancestors only when global scope. [ruby-core:39227] [Bug #5264]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:53 AM Bug #5261: Symbol#to_proc memory leak in 1.9.x
Ken Simon <ninkendo@gmail.com> wrote:
> It appears that running an array through .map(&:foo) leaks the array's
> contents, and they don't get picked up by the Garbage Collector.
>
> Given a simple class:
>
> class C
> ...
normalperson (Eric Wong)
12:47 AM Bug #5261 (Rejected): Symbol#to_proc memory leak in 1.9.x
=begin
It appears that running an array through .map(&:foo) leaks the array's contents, and they don't get picked up by the Garbage Collector.
Given a simple class:
class C
def foo
"foo"
end
end
The following ap...
ninkendo (Ken Simon)
03:31 AM Bug #5263 (Closed): Ruby crash when installing yard-0.7.2 installation
$ sudo gem install yard
Successfully installed yard-0.7.2
1 gem installed
/usr/local/lib/ruby/gems/1.9.1/gems/yard-0.7.2/lib/yard.rb:38: [BUG] Bus Error
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.0.0]
-- control f...
Ghassan (Ghassan Ayesh)
12:58 AM Revision f56f03b7 (git): * 2011-09-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:58 AM Revision 5e14b979 (git): * parse.y (parser_tokadd_string, parser_yylex): ignore a backslash
which prefixes an non-ascii character, which has no escape
syntax. [ruby-core:39222] [Ruby 1.9 - Bug #5262]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:58 AM Revision fcc41855 (git): * parse.y (parser_tokadd_string, parser_yylex): ignore a backslash
which prefixes an non-ascii character, which has no escape
syntax. [ruby-core:39222] [Ruby 1.9 - Bug #5262]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

09/01/2011

10:56 PM Bug #5259 (Closed): SizedQueue#max=で正でない数を指定できてしまう
=begin
SizedQueue#max=で正でない数を指定できてしまいます。
require 'thread'

sq = SizedQueue.new(1)
sq.max = -1
p sq.max #=> -1
sq.push(nil) #=> deadlock detected
SizedQueue.newでは引数が正の数であるかどうかチェックが行われていますが、SizedQueue#max=ではそのようなチェックが行われて...
Glass_saga (Masaki Matsushita)
10:23 PM Bug #5258 (Closed): SizedQueueにBug #5195と同様のバグ
=begin
[Bug #5195][ruby-dev:44400]と同様ですが、SizedQueue#pushでsleepしているthreadをwakeupさせると、SizedQueueの@queue_waitにそのthreadがpushされてしまいます。
require 'thread'

sq = SizedQueue.new(1)
sq.push(0)

t1 = Thread.start { sq.push(1) ; sleep ...
Glass_saga (Masaki Matsushita)
07:53 PM Feature #5128: 日本語ドキュメントをUTF-8に
2011年9月1日15:30 Ayumu Aizawa <ayumu.aizawa@gmail.com>:
>> 他のファイルもやる必要があるという話なので、自分でコミットしてもらったほうが
>> あとあとよいのではないでしょうか。
>
> 文句がでないのであれば、マイペースに作業できるので(あと卜部さんの負担も減るし)
> そうしてもらえるとたすかります。

コミット権がありませんから。

--
NARUSE, Yui <...
naruse (Yui NARUSE)
03:53 PM Feature #5128: 日本語ドキュメントをUTF-8に
> 他のファイルもやる必要があるという話なので、自分でコミットしてもらったほうが
> あとあとよいのではないでしょうか。

文句がでないのであれば、マイペースに作業できるので(あと卜部さんの負担も減るし)
そうしてもらえるとたすかります。
ayumin (Ayumu AIZAWA)
02:23 PM Feature #5128: 日本語ドキュメントをUTF-8に
> 誰からも文句が出ないのを見届けて今週中くらいを目安に卜部がpullします。

他のファイルもやる必要があるという話なので、自分でコミットしてもらったほうが
あとあとよいのではないでしょうか。
Anonymous
01:59 PM Feature #5128: 日本語ドキュメントをUTF-8に
誰からも文句が出ないのを見届けて今週中くらいを目安に卜部がpullします。 shyouhei (Shyouhei Urabe)
12:53 PM Feature #5128: 日本語ドキュメントをUTF-8に
あいざわです

文字コードが混在するパッチはうまくあたらないみたいなので、最新のtrunk でrebase したものを
pull request しました -> https://github.com/ruby/ruby/pull/45
ayumin (Ayumu AIZAWA)
07:07 PM Revision 8659de2e (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: emit strings tagged as
ascii-8bit as binary in YAML.
* test/psych/test_string.rb: corresponding test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
04:07 PM Revision 6e6feaf8 (git): * 2011-09-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:07 PM Revision c4eb2983 (git): * numeric.c (flo_round): substitute machine dependent magic number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:26 PM Bug #5256 (Third Party's Issue): My ruby crashed
Run configure with --with-gcc=gcc-4.2. naruse (Yui NARUSE)
03:04 PM Bug #5256 (Third Party's Issue): My ruby crashed
Hey
I am on a Mac Osx platform and running ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.6.0]
The ruby on my machine keeps crashing. I have attached a crash log from my machine.
Please have a look at it.
ck_gagan (Gagan Shrestha)
10:36 AM Bug #921: autoload is not thread-safe
Eric Wong wrote:
> I got the following with r33147 on gcc (Debian 4.6.1-4) 4.6.1:
> ...
[snip]
NARUSE-san applied this at r33151. Thank, guys!
nahi (Hiroshi Nakamura)
06:23 AM Bug #921: autoload is not thread-safe
Hiroshi Nakamura <nakahiro@gmail.com> wrote:
> I re-apply r33078 and additional fixes at r33147. I tested it against
> Rails 3.1.0 and confirmed that it passes all of full tests except
> PG/MySQL/SQLite things which I don't instal...
normalperson (Eric Wong)
09:19 AM Bug #5255 (Closed): C の Proc の比較のバグ
すいません。 #5249ですでにチケット化ずみでした。closeします kosaki (Motohiro KOSAKI)
09:17 AM Bug #5255: C の Proc の比較のバグ
[ruby-dev:44435] をチケット化 kosaki (Motohiro KOSAKI)
09:15 AM Bug #5255 (Closed): C の Proc の比較のバグ
芝と申します。
Proc#eq(C の関数は proc.c 内の proc_eq)で、C で定義した Proc
(rb_proc_new などを用いて定義)の比較を行う箇所に不具合があります。
C で定義した Proc に対しても iseq を見て比較を行っているため、メモリの状
況如何で segv を吐いたり false のはずが true になったりします。
問題となる proc_eq は以下のようになっていて、Proc の種類にかかわらず、
p...
Anonymous
09:15 AM Bug #5254 (Assigned): class オブジェクトの開放時に segv
チケット化 kosaki (Motohiro KOSAKI)
09:14 AM Bug #5254 (Closed): class オブジェクトの開放時に segv
芝と申します。

次のようなコードを実行すると、gc の sweep フェーズで segv します。

# 再現コード
####################################
class BasicObject
def singleton_method_added(mid)
raise
end
end

b = proc {}
class << b; end
b.clone
...
Anonymous
08:31 AM Revision 0f0db416 (git): * insns.def (defineclass), vm_insnhelper.c (vm_get_cvar_base): see
also inherited constants for classes without superclass and
modules. [ruby-core:37698] [Bug #3423]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:31 AM Revision 43284b6b (git): * insns.def (defineclass), vm_insnhelper.c (vm_get_cvar_base): see
also inherited constants for classes without superclass and
modules. [ruby-core:37698] [Bug #3423]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:16 AM Revision 00e2e039 (git): properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:16 AM Revision d9acd196 (git): properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:42 AM Revision d3507e3e (git): * Release GVL while OpenSSL's public key generation.
t = Thread.new { print "."; sleep 0.1 }
key = OpenSSL::PKey::RSA.new(2048)
#=> Thread t works in parallel with public key generation if
OS/machine allows it.
This works with OpenSSL >= 0.9.8. From this version, it has ...
Hiroshi Nakamura
05:12 AM Revision e0cde13a (git): backported r33153 from trunk.
* test/ruby/test_thread.rb (TestThread#test_no_valid_cfp): skip when
win32ole is required. in such case, win32ole redefines
Thread#initialize, and the block argument becomes to be not the top
of the thread, then this testcase alwa...
U.Nakamura
05:09 AM Revision ca3b4133 (git): * test/ruby/test_thread.rb (TestThread#test_no_valid_cfp): skip when
win32ole is required. in such case, win32ole redefines
Thread#initialize, and the block argument becomes to be not the top
of the thread, then this testcase always fails.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33153 b2d...
U.Nakamura
04:23 AM Bug #5237: IO.copy_stream calls #read on an object infinitely many times
Hi,

On Tue, Aug 30, 2011 at 8:48 PM, Motohiro KOSAKI
<kosaki.motohiro@gmail.com> wrote:
>
> Issue #5237 has been updated by Motohiro KOSAKI.
>
>
> If you are reading following paragraph,
>
>> *  At end of file, it returns
brixen (Brian Shirai)
01:22 AM Revision 9cdc7f9d (git): * test/ruby/test_io_m17n.rb (TestIO_M17N#test_{default_mode_on_dosish,
default_mode_on_unix,text_mode,binary_mode}): sorry for wrong test
committed in r33144. I'd misunderstood the spec of ruby's universal
newline.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33152 b2dd03c8-39d4-4d8f-98ff-823fe6...
U.Nakamura
01:22 AM Bug #5252: Segmentation Fault
Actually the code is like this
begin
cloader_obj = CassandraLoader.new
cloader_obj.load_data1(settings_hash)
GC.start
rescue LoaderException
...
end

begin
cloader_obj = CassandraLoader.new
cloader_obj.load_dat...
chaitanyav (NagaChaitanya Vellanki)
01:12 AM Bug #5252: Segmentation Fault
I will let the developers know about this issue. For now, i have added GC.start after each of the methods inside the rake task which pull around 100K+ rows of data each. I am not getting segmentation fault anymore.
begin
cloader_obj...
chaitanyav (NagaChaitanya Vellanki)
12:31 AM Revision d163179c (git): * variable.c (rb_autoloading_value) Fix the order of definitions.
It is used by autoload_defined_p.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:25 AM Revision b40ff978 (git): merge revision(s) 33148:
------------------------------------------------------------------------
r33148 | naruse | 2011-09-01 09:23:20 +0900 (Thu, 01 Sep 2011) | 1 line
Remove tests of json/add/{complex, rational}.
---------------------------------------------...
naruse (Yui NARUSE)
12:23 AM Revision 6240b52c (git): * 2011-09-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:23 AM Revision 91e4b4f6 (git): Remove tests of json/add/{complex, rational}.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

08/31/2011

05:51 PM Bug #921: autoload is not thread-safe
I re-apply r33078 and additional fixes at r33147. I tested it against Rails 3.1.0 and confirmed that it passes all of full tests except PG/MySQL/SQLite things which I don't installed properly.
Please evaluate it!
P.S. It won't incl...
nahi (Hiroshi Nakamura)
02:55 PM Bug #5252: Segmentation Fault
Then you should check your proprietary extension for potentially missing GC guard: http://timetobleed.com/the-broken-promises-of-mrireeyarv antares (Michael Klishin)
02:44 PM Bug #5252: Segmentation Fault
I am using two C extensions, one is a proprietary one to query a oracle database and the other is thrift which is used by cassandra. Can you please explain more about the GC guard?. chaitanyav (NagaChaitanya Vellanki)
01:01 PM Bug #5252: Segmentation Fault
Are you using any C extensions or libraries that may depend on C extensions? This looks like a well-know type of problems with missing GC guard. antares (Michael Klishin)
07:23 AM Bug #5252 (Closed): Segmentation Fault
I am running a rake task to query data from a oracle database using C extension, I am seeing segmentation fault happening randomly.
ruby -v ...
chaitanyav (NagaChaitanya Vellanki)
02:29 PM Bug #5227: Float#round fails on corner cases
"So what's the test going to achieve? What's that test for?" said my
teacher another day. A test has a perspective. No test can be suitable
for everything.

It seems to me RubySpec is meant to be a written behavioral descript...
shyouhei (Shyouhei Urabe)
01:13 PM Bug #5227 (Closed): Float#round fails on corner cases
This issue was solved with changeset r33140.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* numeric.c (flo_round): Avoid overflow by optimizing for t...
marcandre (Marc-Andre Lafortune)
10:23 AM Bug #5227: Float#round fails on corner cases
2011/8/31 Marc-Andre Lafortune <ruby-core-mailing-list@marc-andre.ca>:
> Hi,
>
> On Sun, Aug 28, 2011 at 8:53 PM, NARUSE, Yui <naruse@airemix.jp> wrote:
>>>> Adding tests to RubySpec is not enough.
>>>> You should also add tests to...
naruse (Yui NARUSE)
09:53 AM Bug #5227: Float#round fails on corner cases
Hi,

On Sun, Aug 28, 2011 at 8:53 PM, NARUSE, Yui <naruse@airemix.jp> wrote:
>>> Adding tests to RubySpec is not enough.
>>> You should also add tests to CRuby's test-all.
>>
>> I respectfully disagree.
>
> RubySpec is n...
Anonymous
12:48 PM Bug #5237: IO.copy_stream calls #read on an object infinitely many times
If you are reading following paragraph,
> * At end of file, it returns
kosaki (Motohiro KOSAKI)
08:35 AM Revision 0d475da8 (git): * variable.c (rb_autoload): There was a chance to run GC (from
rb_str_new2()) before finishing autoload_data_i construction. It
caused SEGV at rb_gc_mark() at autoload_i_mark.
* variable.c (rb_autoload_load): Move RB_GC_GUARD() to proper
position based on suggestion by CHIKANAGA Tomoyuki at
h...
Hiroshi Nakamura
08:28 AM Revision cfe8ed5c (git): * Re-apply r33078, thread-safe autoload which is reverted at r33093.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Hiroshi Nakamura
07:55 AM Revision f653519c (git): * ChangeLog: wrong ticket number and ML number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
07:29 AM Revision 8b74d0c3 (git): * test/ruby/test_io_m17n.rb (TestIO_M17N#test_{default_mode_on_dosish,
default_mode_on_unix,text_mode,binary_mode}): tests for [Bug # 5164].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:02 AM Revision c9de2578 (git): merge revision(s) 33142:
* ext/json: Merge json gem v1.5.4 (3dab4c5a6a97fac03dac).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:56 AM Revision c06658fe (git): * ext/json: Merge json gem v1.5.4 (3dab4c5a6a97fac03dac).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:23 AM Bug #5251: Thread Change Breaks Windows Builds
Motohiro KOSAKI <kosaki.motohiro@gmail.com> wrote:
> This regression was caused by Bug#5229(rb_thread_select() rewritten)
> and fixed by r33128, r33130, r33131, r33132, r33133.

Oops, sorry all, I'm a klutz :x
normalperson (Eric Wong)
05:33 AM Bug #5251 (Closed): Thread Change Breaks Windows Builds
This regression was caused by Bug#5229(rb_thread_select() rewritten) and fixed by r33128, r33130, r33131, r33132, r33133.
Thank you, Usa-san!
kosaki (Motohiro KOSAKI)
04:20 AM Revision cc6407f8 (git): * backport r33140 from trunk
* numeric.c (flo_round): Avoid overflow by optimizing for trivial cases
[Bug #5227]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
04:13 AM Revision 64e0cae2 (git): * numeric.c (flo_round): Avoid overflow by optimizing for trivial cases
[Bug #5227]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune

08/30/2011

11:29 PM Bug #921: autoload is not thread-safe
Hmm. Updating via reply e-mail seems to remove 'ruby -v'... nahi (Hiroshi Nakamura)
11:23 PM Bug #921: autoload is not thread-safe
On Tue, Aug 30, 2011 at 07:14, Eric Wong <normalperson@yhbt.net> wrote:
> Hiroshi Nakamura <nakahiro@gmail.com> wrote:
>> I'll commit this soon. Committers, please evaluate this.
>
> I noticed this got committed (r33078) and reverte...
nahi (Hiroshi Nakamura)
07:23 AM Bug #921: autoload is not thread-safe
Hiroshi Nakamura <nakahiro@gmail.com> wrote:
> I'll commit this soon. Committers, please evaluate this.

I noticed this got committed (r33078) and reverted (r33093).
Is a better commit planned? Thanks for working on this!
normalperson (Eric Wong)
09:48 PM Revision 59c3230f (git): * configure.in: fix r32835. $withval can't be used outer AC_ARG_WITH().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
09:25 PM Bug #5251 (Assigned): Thread Change Breaks Windows Builds
kosaki (Motohiro KOSAKI)
03:20 PM Bug #5251 (Closed): Thread Change Breaks Windows Builds
This commit:
Commit:4e9438bc9153f7a1f4ea0af85c8dbe359e1a55d8
Causes this error:
thread.c: In function `rb_thread_select':
thread.c:2685: warning: missing braces around initializer
thread.c:2685: warning: (near initialization f...
cfis (Charlie Savage)
08:29 PM Revision 458ef71d (git): merge revision(s) 33133:
* win32/win32.c (rb_w32_select_with_thread): and my typo. we all must
be more careful.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
08:28 PM Revision e733edd7 (git): merge revision(s) 33132:
* thread.c (rb_thread_select): critical typo in r33117.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
08:28 PM Revision c45ad629 (git): merge revision(s) 33131:
* test/-ext-/old_thread_select/test_old_thread_select.rb
(TestOldThreadSelect#test_old_select_read_timeout): if the machine
is fast enough, the time used by code around IO.select may be smaller
than Time imp...
kosaki (Motohiro KOSAKI)
08:28 PM Revision c8473b46 (git): merge revision(s) 33130:
* ext/-test-/old_thread_select/old_thread_select.c (old_thread_select):
typo.
* test/-ext-/old_thread_select/test_old_thread_select.rb
(TestOldThreadSelect#test_old_select_signal_safe): use SIGINT instead
...
kosaki (Motohiro KOSAKI)
08:27 PM Revision b1ab5d1b (git): merge revision(s) 33128:
* win32/win32.c, include/ruby/intern.h (rb_w32_fd_copy): implement
for rb_thread_select() in thread.c. the use of rb_fd_copy() is
introduced in r33117.
[Bug #5229] [ruby-core:39102]
* thread.c (rb_...
kosaki (Motohiro KOSAKI)
05:52 PM Bug #4576: Range#step miss the last value, if end-exclusive and has float number
Usaku NAKAMURA wrote:
> Hello,
> ...
Can we reopen this issue please? The fix of unit tests was wrong, fixing consequences instead of reasons. Moreover, it was not backported to 1.8.7, so we hit the issue again when preparing updated pa...
vo.x (Vit Ondruch)
03:51 PM Revision 800081d0 (git): * win32/win32.c (rb_w32_select_with_thread): and my typo. we all must
be more careful.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:49 PM Revision a34f8156 (git): * thread.c (rb_thread_select): critical typo in r33117.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:34 PM Revision 13a77870 (git): * test/-ext-/old_thread_select/test_old_thread_select.rb
(TestOldThreadSelect#test_old_select_read_timeout): if the machine
is fast enough, the time used by code around IO.select may be smaller
than Time implement threshold.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33131 b2dd03c...
U.Nakamura
03:24 PM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
Just wanted to follow up on this. Can we do something about this for the 1.9.3 release?
Thanks - Charlie
cfis (Charlie Savage)
03:08 PM Bug #5240: Hang when using threads + forks on Debian GNU/kFreeBSD
I looked at the change and in general should work even for our slightly broken pthread semantic on GNU/kFreeBSD.
It should be possible to workaround it by encapsulating timer_thread_pipe_owner_proces usage, as shown
in first attached ...
Petr.Salinger@seznam.cz (Petr Salinger)
03:07 PM Revision 34e65bee (git): * ext/-test-/old_thread_select/old_thread_select.c (old_thread_select):
typo.
* test/-ext-/old_thread_select/test_old_thread_select.rb
(TestOldThreadSelect#test_old_select_signal_safe): use SIGINT instead
of SIGUSR1 because the former is general and the latter is platform
dependent.
git-svn-id: svn+...
U.Nakamura
03:04 PM Revision 790e8b58 (git): * 2011-08-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:04 PM Revision ee7d5236 (git): * win32/win32.c, include/ruby/intern.h (rb_w32_fd_copy): implement
for rb_thread_select() in thread.c. the use of rb_fd_copy() is
introduced in r33117.
[Bug #5229] [ruby-core:39102]
* thread.c (rb_thread_select): must call rb_fd_init() before using
rb_fdset_t. see the implementations of rb_fd_i...
U.Nakamura
01:39 PM Revision 527be1b2 (git): * test/dl/test_callback.rb (test_callback_with_string): prevents
temporary string from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:28 PM Revision 13d3a16a (git): * vm_insnhelper.c (vm_call_cfunc): revert r33112. RB_GC_GUARD macro
protect a VALUE from GC. It's not for general anti-optimizing
purpose.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:12 PM Bug #1792: Fixnum#& 等が、Rational などを受けつける
散発的になってすいませんが、RubySpecも追従よろしくお願いします naruse (Yui NARUSE)
11:23 AM Bug #5173 (Closed): [PATCH] json/generator: prevent GC of temporary strings
This issue was solved with changeset r33122.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/json: Merge json gem 1.5.4+ (2149f4185c598fb97db1).
[Bug ...
naruse (Yui NARUSE)
10:01 AM Bug #5195: Queue#popでsleepしているthreadをwakeupさせるとQueueの@waitingにそのthreadがpushされてしまう
コミットしましたが、1)あからさまに場当たり的workaroundであること 2)作為的なテストケースであること により1.9.3にbackportはしませんでした。 kosaki (Motohiro KOSAKI)
09:59 AM Bug #5195 (Closed): Queue#popでsleepしているthreadをwakeupさせるとQueueの@waitingにそのthreadがpushされてしまう
This issue was solved with changeset r33121.
Masaki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/thread.rb (Queue#pop): fix a race against Thread.wakeup.
...
kosaki (Motohiro KOSAKI)
09:53 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Shyouhei Urabe <shyouhei@ruby-lang.org> wrote:
> Instead of avoiding exceptions I would like to suggest making
> exceptions lightweight.

The other problem with the exception from *_nonblock is the exceptions
are extended with...
normalperson (Eric Wong)
09:51 AM Bug #5241 (Closed): test_massign.rb:165 fails on Debian GNU/kFreeBSD (amd64)
This issue was solved with changeset r33118.
Lucas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* cont.c (fiber_entry): fix stack allocation failure on Debian
...
kosaki (Motohiro KOSAKI)
09:33 AM Bug #5229 (Closed): [PATCH] thread.c (rb_thread_select): implement using rb_thread_fd_select
This issue was solved with changeset r33117.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* thread.c (rb_thread_select): rewrite by using
rb_thread_fd_se...
kosaki (Motohiro KOSAKI)
09:13 AM Bug #5250 (Closed): Fails to build on Hurd: struct dirent issue
This issue was solved with changeset r33114.
Lucas, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* configure.in: fix a build failure on GNU Hurd.
Patch by Samu...
kosaki (Motohiro KOSAKI)
07:15 AM Bug #5250 (Assigned): Fails to build on Hurd: struct dirent issue
I'll to commit this patch as is.
kosaki (Motohiro KOSAKI)
05:16 AM Bug #5250 (Closed): Fails to build on Hurd: struct dirent issue
Hi,
Copied from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639664 :
<-----------
From: Samuel Thibault <sthibault@debian.org>
Hello,
ruby FTBFS on hurd-i386 due to dirent misuse. The attach patch fixes it
the same way a...
lucas (Lucas Nussbaum)
07:53 AM Bug #5237: IO.copy_stream calls #read on an object infinitely many times
On Sat, Aug 27, 2011 at 10:55 PM, KOSAKI Motohiro
<kosaki.motohiro@gmail.com> wrote:
>>> The class that implements an IO#read-like method without clearing
>>> the destination buffer on EOF is arguably broken, but infinite
>>> lo...
brixen (Brian Shirai)
07:29 AM Bug #5164: Line endings, bug/regression or feature of 1.9.3?
> Mr Nakada,
>
> I can take care of this if time is an issue for you. I just need your approval/confirmation from you.
> Please let us know so another 1.9.3 release goes out with this broken behavior.

Nakada-san,

I think...
kosaki (Motohiro KOSAKI)
07:13 AM Bug #5164: Line endings, bug/regression or feature of 1.9.3?
Mr Nakada,
I can take care of this if time is an issue for you. I just need your approval/confirmation from you.
Please let us know so another 1.9.3 release goes out with this broken behavior.
Thank you.
luislavena (Luis Lavena)
05:22 AM Revision ee56dd16 (git): merge revision(s) 33124:
------------------------------------------------------------------------
r33124 | naruse | 2011-08-30 14:21:27 +0900 (Tue, 30 Aug 2011) | 1 line
Don't include complex and rational; fix r33122.
-------------------------------------------...
naruse (Yui NARUSE)
05:21 AM Revision 28bba481 (git): Don't include complex and rational; fix r33122.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:25 AM Revision 510f6dc7 (git): merge revision(s) 33122:
* ext/json: Merge json gem 1.5.4+ (2149f4185c598fb97db1).
[Bug #5173] [ruby-core:38866]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:23 AM Revision b14c060d (git): * ext/json: Merge json gem 1.5.4+ (2149f4185c598fb97db1).
[Bug #5173] [ruby-core:38866]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:59 AM Revision 2dd9d721 (git): * lib/thread.rb (Queue#pop): fix a race against Thread.wakeup.
Patch by Masaki Matsushita <glass.saga at gmail dot com>
[Bug #5195] [ruby-dev:44400]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:54 AM Revision f363d4d8 (git): merge revision(s) 33118:
* cont.c (fiber_entry): fix stack allocation failure on Debian
GNU/kFreeBSD.
Patch by Lucas Nussbaum <lucas at lucas-nussbaum dot net>.
[Bug #5241] [ruby-core:39147]
git-svn-id: svn+ssh://ci.ruby-lang.org/...
kosaki (Motohiro KOSAKI)
12:53 AM Revision 4e9438bc (git): * backport r33117 from trunk.
* thread.c (rb_thread_select): rewrite by using
rb_thread_fd_select(). old one is EINTR unsafe.
Patch by Eric Wong. [Bug #5229] [ruby-core:39102]
* test/-ext-/old_thread_select/test_old_thread_select.rb:
a testcase for rb_thread_s...
kosaki (Motohiro KOSAKI)
12:51 AM Revision 3ffa4462 (git): * cont.c (fiber_entry): fix stack allocation failure on Debian
GNU/kFreeBSD.
Patch by Lucas Nussbaum <lucas at lucas-nussbaum dot net>.
[Bug #5241] [ruby-core:39147]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:33 AM Revision 0cebfad2 (git): * thread.c (rb_thread_select): rewrite by using
rb_thread_fd_select(). old one is EINTR unsafe.
Patch by Eric Wong. [Bug #5229] [ruby-core:39102]
* test/-ext-/old_thread_select/test_old_thread_select.rb:
a testcase for rb_thread_select().
* ext/-test-/old_thread_select/old_thread...
kosaki (Motohiro KOSAKI)
12:16 AM Revision f1c8cdd1 (git): merge revision(s) 33114:
* configure.in: fix a build failure on GNU Hurd.
Patch by Samuel Thibault <sthibault at debian dot org>. Thank you!
[Bug #5250] [ruby-core:39185]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33116...
kosaki (Motohiro KOSAKI)
12:13 AM Revision f3ef9346 (git): * 2011-08-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:13 AM Revision 3596d49e (git): * configure.in: fix a build failure on GNU Hurd.
Patch by Samuel Thibault <sthibault at debian dot org>. Thank you!
[Bug #5250] [ruby-core:39185]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)

08/29/2011

11:25 PM Bug #1792 (Closed): Fixnum#& 等が、Rational などを受けつける
ごめんなさいごめんなさい。
r33113 で修正しました。
mrkn (Kenta Murata)
04:18 PM Bug #1792 (Assigned): Fixnum#& 等が、Rational などを受けつける
これの影響で以下のようなエラーが出ています。
2) Error:
test_num2long(TestNumeric):
TypeError: can't convert Object into Integer for bitwise arithmetic
/home/naruse/ruby/test/ruby/test_numeric.rb:227:in `&'
/home/naruse/ruby/test/ruby/test_numer...
naruse (Yui NARUSE)
02:09 PM Bug #1792 (Closed): Fixnum#& 等が、Rational などを受けつける
むらたです。
そこまで重要ではないと思うので、バックポートはしないことにします。
mrkn (Kenta Murata)
11:53 AM Bug #1792: Fixnum#& 等が、Rational などを受けつける
> これは 1.9.3 にバックポートしても良いですか?

以下はどのくら深刻なのでしょうか。


> 1 & 1.5 がエラーになるので、
> 1 & Rational(3,2)
> や
> 1 & BigDecimal('1.5')
> もエラーにすべきかもしれません。

freeze 後に仕様変更的な修正を入れるのは可能なら避けたいという思いがあります。
もし仮に修正漏れがあり、1.9.4で再fixとなる...
kosaki (Motohiro KOSAKI)
10:09 AM Bug #1792: Fixnum#& 等が、Rational などを受けつける
これは 1.9.3 にバックポートしても良いですか? mrkn (Kenta Murata)
04:19 PM Bug #5249 (Closed): C の Proc の比較のバグ
芝と申します。
Proc#eq(C の関数は proc.c 内の proc_eq)で、C で定義した Proc
(rb_proc_new などを用いて定義)の比較を行う箇所に不具合があります。
C で定義した Proc に対しても iseq を見て比較を行っているため、メモリの状
況如何で segv を吐いたり false のはずが true になったりします。
問題となる proc_eq は以下のようになっていて、Proc の種類にかかわらず、
p...
Anonymous
04:12 PM Feature #5248: Faster PStore
Kenta Murata wrote:
> The accident you mentioned seems to occur in the current implementation probabilistically.
As long as PStore uses any check sums or any cryptographic hash functions, there is possibility of collision.
To avoid ...
Glass_saga (Masaki Matsushita)
04:10 PM Feature #5248: Faster PStore
Kenta Murata wrote:
> Yui NARUSE wrote:
> ...
I think it is OK until the probability is enough small and can't be attacked.
naruse (Yui NARUSE)
02:37 PM Feature #5248: Faster PStore
Yui NARUSE wrote:
> When the checksum of your data accidentally equals to old data, PStore won't save the data and you lose it.
The accident you mentioned seems to occur in the current implementation probabilistically.
It will lead ...
mrkn (Kenta Murata)
12:05 PM Feature #5248: Faster PStore
I agree with your points except following one.
Masaki Matsushita wrote:
> * check-sum calculation by String#sum
> ...
When the checksum of your data accidentally equals to old data, PStore won't save the data and you lose it.
naruse (Yui NARUSE)
11:52 AM Feature #5248 (Closed): Faster PStore
=begin
Hellow.
I wrote a patch to make PStore more faster.
What I did as follows:
:deferred check sum calculation
PStore judges whether it should modify database file or not by 2 steps.
First, it compares data size betwee...
Glass_saga (Masaki Matsushita)
03:53 PM Bug #5239: bootstraptest/runner.rb: assert_normal_exit logic broken on Debian/GNU kFreeBSD
>> > In the other hand, on assert_normal_exit(), io.close is called from
>> > sub thread. it's a source
>> > of difference.
>>
>> Right, it changes the order of termination.
>
> Err, no, it doesn't. the popen process still e...
kosaki (Motohiro KOSAKI)
03:43 PM Bug #5239 (Rejected): bootstraptest/runner.rb: assert_normal_exit logic broken on Debian/GNU kFreeBSD
kosaki (Motohiro KOSAKI)
03:23 PM Bug #5239: bootstraptest/runner.rb: assert_normal_exit logic broken on Debian/GNU kFreeBSD
On 29/08/11 at 13:56 +0900, Lucas Nussbaum wrote:
> On 29/08/11 at 12:43 +0900, KOSAKI Motohiro wrote:
> > > I've just checked, and FreeBSD 8.2 is also affected by this issue.
> > > Test script:
> > > system("false")
> > > sle...
lucas (Lucas Nussbaum)
01:59 PM Bug #5239: bootstraptest/runner.rb: assert_normal_exit logic broken on Debian/GNU kFreeBSD
On 29/08/11 at 12:43 +0900, KOSAKI Motohiro wrote:
> > I've just checked, and FreeBSD 8.2 is also affected by this issue.
> > Test script:
> > system("false")
> > sleep 0.5
> > th = Thread::new { $? }
> > p th
> > th.join
...
lucas (Lucas Nussbaum)
01:18 AM Bug #5239: bootstraptest/runner.rb: assert_normal_exit logic broken on Debian/GNU kFreeBSD
Hi,
I've just checked, and FreeBSD 8.2 is also affected by this issue.
Test script:
system("false")
sleep 0.5
th = Thread::new { $? }
p th
th.join
p th
p th.value
lucas (Lucas Nussbaum)
02:24 PM Revision 9742dec2 (git): * test/ruby/test_numeric.rb (test_num2long): modify a test agaist the
change by r33108.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
09:59 AM Bug #5227: Float#round fails on corner cases
2011/8/29 Marc-Andre Lafortune <ruby-core-mailing-list@marc-andre.ca>:
> On Sat, Aug 27, 2011 at 4:32 AM, NARUSE, Yui <naruse@airemix.jp> wrote:
>> (2011/08/27 4:40), Marc-Andre Lafortune wrote:
>>> On Thu, Aug 25, 2011 at 9:46 PM, Y...
naruse (Yui NARUSE)
04:53 AM Bug #5227: Float#round fails on corner cases
Hi,

On Sat, Aug 27, 2011 at 4:32 AM, NARUSE, Yui <naruse@airemix.jp> wrote:
> (2011/08/27 4:40), Marc-Andre Lafortune wrote:
>> On Thu, Aug 25, 2011 at 9:46 PM, Yui NARUSE <naruse@airemix.jp> wrote:
>>> r33061 tried to fix th...
Anonymous
04:53 AM Bug #5227: Float#round fails on corner cases
Hi,

On Sat, Aug 27, 2011 at 4:20 AM, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
> In fact, your patch breaks test/ruby/test_float.rb.

Oh, I didn't realize that `make test-all` does not recompile modified
.c files. Is the...
Anonymous
09:32 AM Feature #1408 (Closed): 0.1.to_r not equal to (1/10)
I close this ticket because the topic was too diverged.
Would you please make new tickets for the new version of ruby if anyone has objections.
mrkn (Kenta Murata)
06:51 AM Revision 8ca1e6a0 (git): Use RB_GC_GUARD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:54 AM Revision 733e371c (git): Use psych_yaml_as to avoid collision with Syck.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:54 AM Revision 442e8a23 (git): Use PRIdSIZE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:07 AM Revision c89b18df (git): * 2011-08-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:07 AM Revision 640420f7 (git): * numeric.c (bit_coerce): A Fixnum and a Bignum are only permitted for
bitwise arithmetic with a Fixnum. #1792
* test/ruby/test_fixnum.rb: add tests for the above change.
* bignum.c (bit_coerce): A Fixnum and a Bignum are only permitted for
bitwise arithmetic with a Bignum. #1792
* test/ruby/test_bignum....
Kenta Murata
 

Also available in: Atom