Project

General

Profile

Activity

From 12/13/2011 to 12/19/2011

12/19/2011

08:03 PM Bug #5777 (Closed): class_eval/module_eval works differently when given a string than when given a block in 1.9.2 and 1.9.3
class_eval/module_eval works differently when passed code as a string than when passed the same code as a block in 1.... jawj (George MacKerron)
03:16 PM Bug #5476 (Feedback): ruby 1.9.3_rc1 segfaults in test_fork.rb on HPPA
sorah (Sorah Fukumori)
02:53 PM Feature #5741: Secure Erasure of Passwords
Here's my 2 yen.

> 1. Would you agree that we need this functionality?

Good to have, but it would be hard ...
Anonymous
11:37 AM Bug #5776 (Closed): irb のトップレベルで定義したメソッドが public になる
irb のトップレベルで定義したメソッドの呼び出し制限が private ではなく public になってしまいます。
-------------------------------------------------
ir...
hibariya (hi hibariya)
10:58 AM Bug #5768: TestRequire#test_race_exceptionで競合するケースがまだある
bug5754 .rb の中で t2 が Thread.current になっているようだったのと、scratch の配列の順序が
違っているようだったので少し変更してみました。
diff --git a/test/ruby/...
nagachika (Tomoyuki Chikanaga)
09:23 AM Bug #5714: Unexpected error of STDIN#read with non-ascii input on Windows XP
Hello,

In message "[ruby-core:41689] Re: [ruby-trunk - Bug #5714] Unexpected error of STDIN#read with non-ascii...
usa (Usaku NAKAMURA)
02:13 AM Bug #5714 (Closed): Unexpected error of STDIN#read with non-ascii input on Windows XP
This issue was solved with changeset r34043.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is...
usa (Usaku NAKAMURA)
07:15 AM Feature #3090: xml-rpc support for i8 data type
is there a reason why this patch was postponed to 2.0.0 and not included in one of the releases this year? niklas (Niklas Hofer)
02:13 AM Bug #5762 (Closed): Bug#4178 が sparc Solaris 10 + Oracle Solaris Studio 12.2 で再発
This issue was solved with changeset r34071.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby i...
ngoto (Naohisa Goto)
02:13 AM Bug #5773 (Closed): bigdecimal comparison raises SystemStackError
This issue was solved with changeset r34070.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is ...
nobu (Nobuyoshi Nakada)
02:13 AM Bug #5711 (Closed): r32774 (and r32783) broke nmake support
This issue was solved with changeset r34044.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is ...
usa (Usaku NAKAMURA)
02:13 AM Bug #5754 (Closed): Double require bug in 1.9.3
This issue was solved with changeset r34039.
Evan, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
02:13 AM Bug #5688 (Closed): Solaris10 で spawn を繰り返すとメモリリークする
This issue was solved with changeset r34033.
okkez, thank you for reporting this issue.
Your contribution to Ruby is ...
okkez (okkez _)

12/18/2011

02:36 PM Bug #5775 (Closed): BigDecimal does not follow Allocation Framework
It still uses very old style, overriding Class.new method. nobu (Nobuyoshi Nakada)
12:55 PM Bug #5774 (Closed): [PATCH] xmlrpc client handling cookies
=begin
xmlrpc client does not properly handle cookies. Firstly, they do not persist if server sets new cookies, seco...
romanr (Roman Riha)
12:33 PM Bug #5773 (Closed): bigdecimal comparison raises SystemStackError
Comparing an uninitialized BigDecimal to another will raise a SysteStackError exception. For example:
BigDeci...
tenderlovemaking (Aaron Patterson)
04:59 AM Bug #5694: Proc#arity doesn't take optional arguments into account.
Hi,

On Sun, Dec 11, 2011 at 10:51 PM, Yukihiro Matsumoto <[email protected]> wrote:
> Hi,
>
> In message "Re:...
Anonymous
02:02 AM Bug #5772 (Rejected): Segmentation Fault on Mac (crash)
I'm developing an Rails 3.1.3 application on a Mac:
Darwin kir-mac-2.local 9.8.0 Darwin Kernel Version 9.8.0: Wed ...
maxkir (Kirill Maximov)
01:03 AM Feature #5767: Cache expanded_load_path to reduce startup time
For those interested here are some raw performance numbers and comparison between default (no patch) and other patche... luislavena (Luis Lavena)

12/17/2011

11:44 PM Bug #5771 (Closed): WIN32OLERuntimeError using 1.9.2
I found a problem using win32ole library in threaded script. Ruby version I used is 1.9.2p290. It is said that same ... yohei (Yohei Kaneko)
09:12 PM Feature #5767: Cache expanded_load_path to reduce startup time
There is report about 47% startup time reduction https://gist.github.com/1480404#gistcomment-69769 funny_falcon (Yura Sokolov)
10:48 AM Bug #5768 (Closed): TestRequire#test_race_exceptionで競合するケースがまだある
まだrequireで競合するケースが残っています。
現在のテストだと確率的にしか起きませんが、以下の通り変更すると確実に起きるようになります。
diff --git a/test/ruby/test_require.rb b/...
naruse (Yui NARUSE)
10:23 AM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
Issue #3620 has been updated by Eric Wong.


ping? The subject of Queue performance came up again in:
http:...
normalperson (Eric Wong)
10:00 AM Feature #3620: Add Queue, SIzedQueue and ConditionVariable implementations in C in addition to ruby ones
ping? The subject of Queue performance came up again in:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-tal...
normalperson (Eric Wong)

12/16/2011

06:48 PM Bug #5750: Thread.current local-variables behavior
any news on this ?
This documentation bug is here since 1.9 was first released from what I understand so I think it ...
schmurfy (Julien A)
05:44 PM Feature #5427: Not complex patch to improve `require` time (load.c)
Tiny fix to patch: fix startup speed on small script. funny_falcon (Yura Sokolov)
04:10 PM Feature #5767: Cache expanded_load_path to reduce startup time
Cosmetic update to patch: more atomic cache access. funny_falcon (Yura Sokolov)
02:23 PM Bug #5714: Unexpected error of STDIN#read with non-ascii input on Windows XP
Hello,

>
> I think you should check in your patches by yourself, if you
> are not disagreeable.
> Do you ...
h.shirosaki (Hiroshi Shirosaki)
12:23 PM Bug #5714: Unexpected error of STDIN#read with non-ascii input on Windows XP
Hello,

In message "[ruby-core:41671] [ruby-trunk - Bug #5714] Unexpected error of STDIN#read with non-ascii inp...
usa (Usaku NAKAMURA)
12:53 AM Bug #5763: sprintf not throwing error for wrong number of arguments
> Motohiro KOSAKI wrote:
>>  But I can't imagine any useful usecase of current behavior.
>
> Then please remembe...
kosaki (Motohiro KOSAKI)
12:32 AM Feature #5766 (Closed): Hash.each_with_object should behave differently when block's arity is 3
shyouhei (Shyouhei Urabe)

12/15/2011

09:19 PM Bug #5754: Double require bug in 1.9.3
> it doesn't see an entry in the loading table even though t2 is currently loading the file
Has it something commo...
funny_falcon (Yura Sokolov)
06:53 AM Bug #5754: Double require bug in 1.9.3
Hi,

(11/12/14 23:56), Yui NARUSE wrote:
> By r34027, test_race_excption(TestRequire) fails as following:
> ...
nobu (Nobuyoshi Nakada)
08:53 PM Feature #5766: Hash.each_with_object should behave differently when block's arity is 3
Em 15-12-2011 03:14, Yukihiro Matsumoto escreveu:
> Hi,
>
> In message "Re: [ruby-core:41668] [ruby-trunk - Fe...
rosenfeld (Rodrigo Rosenfeld Rosas)
08:51 PM Feature #5766: Hash.each_with_object should behave differently when block's arity is 3
How do I close this issue? rosenfeld (Rodrigo Rosenfeld Rosas)
02:23 PM Feature #5766: Hash.each_with_object should behave differently when block's arity is 3
Hi,

In message "Re: [ruby-core:41668] [ruby-trunk - Feature #5766][Open] Hash.each_with_object should behave di...
matz (Yukihiro Matsumoto)
01:07 PM Feature #5766 (Closed): Hash.each_with_object should behave differently when block's arity is 3
Enum.each_with_object is very handy in lots of situations, but specially while dealing with arrays. It would be great... rosenfeld (Rodrigo Rosenfeld Rosas)
08:47 PM Feature #5767: Cache expanded_load_path to reduce startup time
Nikolai Weibull wrote:
> Is it only me, or is treating $LOAD_PATH like an array hurting
> possible optimizations? ...
funny_falcon (Yura Sokolov)
07:53 PM Feature #5767: Cache expanded_load_path to reduce startup time
Nikolai Weibull wrote:
> On Thu, Dec 15, 2011 at 10:18, Yura Sokolov <[email protected]> wrote:
>>
>> Iss...
shyouhei (Shyouhei Urabe)
07:23 PM Feature #5767: Cache expanded_load_path to reduce startup time
On Thu, Dec 15, 2011 at 10:18, Yura Sokolov <[email protected]> wrote:
>
> Issue #5767 has been reported by Y...
now (Nikolai Weibull)
06:18 PM Feature #5767 (Closed): Cache expanded_load_path to reduce startup time
This patch add caching of expanded load path.
It reduces rails startup time by 33%
(patch against 1.9.3-p0 and simp...
funny_falcon (Yura Sokolov)
02:58 PM Bug #5714: Unexpected error of STDIN#read with non-ascii input on Windows XP
Hi Usaku NAKAMURA san,
>
> I've checked in your patches at r34043.
Thank you for check and merge, and test ...
h.shirosaki (Hiroshi Shirosaki)
01:46 PM Bug #5763 (Closed): sprintf not throwing error for wrong number of arguments
=begin
$ ruby -w -e 'printf "%d\n", 1, 2'
-e:1: warning: too many arguments for format string
1
=end
nobu (Nobuyoshi Nakada)
12:28 PM Bug #5763: sprintf not throwing error for wrong number of arguments
Shyouhei Urabe wrote:
> > check for similar behaviour of sprintf in a c program
>
> This is a GCCism, not a unive...
chaitanyav (NagaChaitanya Vellanki)
11:56 AM Bug #5763: sprintf not throwing error for wrong number of arguments
Motohiro KOSAKI wrote:
> But I can't imagine any useful usecase of current behavior.
Then please remember #2709....
shyouhei (Shyouhei Urabe)
10:53 AM Bug #5763: sprintf not throwing error for wrong number of arguments
>> check for similar behaviour of sprintf in a c program
>
> This is a GCCism, not a universal C behaviour.  If y...
kosaki (Motohiro KOSAKI)
10:04 AM Bug #5763: sprintf not throwing error for wrong number of arguments
> check for similar behaviour of sprintf in a c program
This is a GCCism, not a universal C behaviour. If you thi...
shyouhei (Shyouhei Urabe)
06:17 AM Bug #5763: sprintf not throwing error for wrong number of arguments
check for similar behaviour of sprintf in a c program
#include <stdio.h>
int main()
{
char buffer[50];
c...
chaitanyav (NagaChaitanya Vellanki)
05:32 AM Bug #5763 (Closed): sprintf not throwing error for wrong number of arguments
sprintf should raise error when the number of arguments does not match the number of format specifiers
sprintf wit...
chaitanyav (NagaChaitanya Vellanki)
11:15 AM Bug #5737: WEBrick doesn't support keep alive connections for 204 and 304 responses
RFC 2616 section 8.1.2.1 states:
In order to remain persistent, all messages on the connection MUST have a self-...
drbrain (Eric Hodel)
11:10 AM Bug #5752 (Closed): Array#delete_if side effects due to changeset r32360
nobu (Nobuyoshi Nakada)
10:11 AM Bug #5765 (Closed): [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}
Object#timeout is deprecated, so use Timeout.timeout instead
Additionally, rely on raising Timeout::Error instead ...
normalperson (Eric Wong)
09:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
KOSAKI Motohiro <[email protected]> wrote:
> - I can imagine IO::WaitReadable is annoying to use. but I'm...
normalperson (Eric Wong)
06:01 AM Feature #5764 (Assigned): Net::HTTP should assume HTTP/0.9 on unexpected responses
Currently Net::HTTP.read_status_line throws Net::HTTPBadResponse if the status line does not conform to HTTP/1.1 spec... mstyer (Mike Styer)
12:08 AM Bug #5762 (Closed): Bug#4178 が sparc Solaris 10 + Oracle Solaris Studio 12.2 で再発
Bug #4178 が sparc Solaris 10 + Oracle Solaris Studio 12.2 にて再発しています。
SunStudio 11, gcc, fcc など他のコンパイラでは発生していません。
...
ngoto (Naohisa Goto)

12/14/2011

11:56 PM Bug #5754 (Assigned): Double require bug in 1.9.3
By r34027, test_race_excption(TestRequire) fails as following:
test_race_excption(TestRequire) [/extdisk/chkbuild/...
naruse (Yui NARUSE)
11:32 PM Feature #5427: Not complex patch to improve `require` time (load.c)
> Well, without patch complexity of loading is O(n**2), with patch is O(n*log(n)), so that, gain grows as n/log(n) :)... funny_falcon (Yura Sokolov)
11:20 PM Feature #5427: Not complex patch to improve `require` time (load.c)
> That’s rather meager results (and actual timings say a lot more than percentages).
Yes, I know. Gain were much g...
funny_falcon (Yura Sokolov)
06:53 PM Feature #5427: Not complex patch to improve `require` time (load.c)
On Wed, Dec 14, 2011 at 09:59, Yura Sokolov <[email protected]> wrote:

> Currently I could claim 6% loading ...
now (Nikolai Weibull)
05:59 PM Feature #5427: Not complex patch to improve `require` time (load.c)
I update patch against ruby-trunk.
Currently I could claim 6% loading time improvement on rails application with $...
funny_falcon (Yura Sokolov)
08:56 PM Bug #5756: crashs when Twitter.update_with_media with rails
Thanks for the response. I will attach the crash log for MacOS. paranoiase (SungHee Kang)
07:23 PM Bug #5756: crashs when Twitter.update_with_media with rails
SungHee Kang wrote:
> Thanks. But how can I do this on rails?
Simply do `rails something|&tee… :-)
If you're ...
sorah (Sorah Fukumori)
04:59 PM Bug #5756: crashs when Twitter.update_with_media with rails
Got It! I changed the iTerm scrollback status to unlimited then I should take a full log.
Best regards.
paranoiase (SungHee Kang)
04:47 PM Bug #5756: crashs when Twitter.update_with_media with rails
Thanks. But how can I do this on rails? paranoiase (SungHee Kang)
04:44 PM Bug #5756: crashs when Twitter.update_with_media with rails
take a log doing like this: `ruby aaa.rb|&tee crash.log` or `ruby aaa.rb 2>&1 >crash.log` sorah (Sorah Fukumori)
04:25 PM Bug #5756: crashs when Twitter.update_with_media with rails
I can't upload full logs because it's too long. It was rendered only 600 lines.
'ruby -v' is ruby 1.9.3dev (2011-09-...
paranoiase (SungHee Kang)
08:35 PM Bug #5724 (Rejected): date_core compiling issues with MinGW GCC 4.6
This was caused by a bug of mingw-w64's GCC 4.6 and not Ruby. luislavena (Luis Lavena)
07:53 PM Bug #5714: Unexpected error of STDIN#read with non-ascii input on Windows XP
Hello,

In message "[ruby-core:41641] [ruby-trunk - Bug #5714] Unexpected error of STDIN#read with non-ascii inp...
usa (Usaku NAKAMURA)
05:04 PM Bug #5714: Unexpected error of STDIN#read with non-ascii input on Windows XP
>
> str = "a\nb"
> generate_file("tmp", str)
> open("tmp", "r") do |f|
> assert_equal(str, f.read...
h.shirosaki (Hiroshi Shirosaki)
07:23 PM Bug #5759: flatten calls to_ary on everything
On 14/12/11 01:05, Eric Hodel wrote:
>
> Issue #5759 has been updated by Eric Hodel.
>
>
> Use Kernel#Arra...
regularfry (Alex Young)
10:05 AM Bug #5759: flatten calls to_ary on everything
Use Kernel#Array:
$ ruby -e 'p Array("a\nb"), Array(["a\nb"])'
["a\nb"]
["a\nb"]
drbrain (Eric Hodel)
08:55 AM Bug #5759 (Rejected): flatten calls to_ary on everything
I often ensure that I have an array by doing:
def foo=(x)
@foo = [x].flatten
end
But this has turned ...
trans (Thomas Sawyer)
06:49 PM Bug #5752: Array#delete_if side effects due to changeset r32360
Actually, it were next changeset r32373 funny_falcon (Yura Sokolov)
06:48 PM Bug #5761 (Closed): Array#flatten(N) calls to_ary on the (N+1)-level objects
$ cat flatten.rb
class Foo
def respond_to?(name, include_private = true)
puts "respond_to?(#{name})"
su...
jonleighton (Jon Leighton)
06:05 PM Feature #5749: new method String#match_all needed
I proposed a similar one as each_match
http://bugs.ruby-lang.org/issues/5606
A difference is to have the next off...
tomoakin (Tomoaki Nishiyama)
04:09 PM Bug #5748 (Closed): class_eval ブロック内での定数のスコープがドキュメントと矛盾
sorah (Sorah Fukumori)
10:56 AM Bug #5748: class_eval ブロック内での定数のスコープがドキュメントと矛盾
るりまプロジェクトの方に新しくチケットを作成しました。
#5760
そのため、こちらはクローズして良いと思います。
miya (Yasunori Miyamoto)
05:53 AM Bug #5748: class_eval ブロック内での定数のスコープがドキュメントと矛盾
ドキュメントの間違いです。class_evalは定数の探索経路を変えません。 matz (Yukihiro Matsumoto)
11:41 AM Bug #5737: WEBrick doesn't support keep alive connections for 204 and 304 responses
Hiroshi Nakamura wrote:
> As a maintainer, I'll review the patch later.
> I don't understand now, the rationale why...
naruse (Yui NARUSE)
03:55 AM Feature #5741: Secure Erasure of Passwords
Links underlining that this is serious:
http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/password-not-wi...
MartinBosslet (Martin Bosslet)
03:19 AM Bug #5758 (Closed): webrickのhttpresponseについて
ayumin (Ayumu AIZAWA)
03:04 AM Bug #5758: webrickのhttpresponseについて
申し訳ありません。
5737と同じです。closeお願いいたします。
kennyj (寿宣 梶原)
02:59 AM Bug #5758 (Closed): webrickのhttpresponseについて
はじめまして。
梶原と申します。
ruby on rails 3.1.xで再現しているのですが、webrickのhttpresponse.rbの挙動について少し疑問に持っている事があります。
httpレスポンスコードが3...
kennyj (寿宣 梶原)
12:41 AM Bug #5688: Solaris10 で spawn を繰り返すとメモリリークする
コミット権を頂いたので担当を変更します。
okkez (okkez _)
12:01 AM Bug #5614 (Closed): Proc#source_location & #inspect shows wrong line number when chained
This issue was solved with changeset r34031.
TzeYang, thank you for reporting this issue.
Your contribution to Ruby i...
nobu (Nobuyoshi Nakada)

12/13/2011

05:23 PM Bug #5714: Unexpected error of STDIN#read with non-ascii input on Windows XP
Hello,

In message "[ruby-core:41628] [ruby-trunk - Bug #5714] Unexpected error of STDIN#read with non-ascii inp...
usa (Usaku NAKAMURA)
04:44 PM Bug #5714: Unexpected error of STDIN#read with non-ascii input on Windows XP
> Hiroshi and Heesob, do you guys think can solve this without reverting
> the changes of #5562?
>
It's diff...
h.shirosaki (Hiroshi Shirosaki)
12:23 AM Bug #5714: Unexpected error of STDIN#read with non-ascii input on Windows XP
On Sun, Dec 11, 2011 at 11:42 PM, U.Nakamura <[email protected]> wrote:
> Hello,
>
> In message "[ruby-core:4...
luislavena (Luis Lavena)
04:13 PM Bug #5754 (Closed): Double require bug in 1.9.3
This issue was solved with changeset r34027.
Evan, thank you for reporting this issue.
Your contribution to Ruby is g...
nobu (Nobuyoshi Nakada)
07:58 AM Bug #5754: Double require bug in 1.9.3
I missed pruning out one bit from rubyspec so I've fixed it and put the code into a gist: https://gist.github.com/146... evanphx (Evan Phoenix)
07:54 AM Bug #5754 (Closed): Double require bug in 1.9.3
There appears a bug in the handling of concurrent requires of the same file. If a thread (t2) is waiting for another ... evanphx (Evan Phoenix)
04:11 PM Bug #5756 (Feedback): crashs when Twitter.update_with_media with rails
* please upload full of log; your uploaded "crashog.txt" seems partial.
* "ruby -v" is not output of `ruby -v`; plea...
sorah (Sorah Fukumori)
03:55 PM Bug #5756 (Rejected): crashs when Twitter.update_with_media with rails
I'm using the Ruby 1.9.3dev and Ruby on Rails 3.1.3
When I use twitter gem and call 'Twitter.update_with_media', the...
paranoiase (SungHee Kang)
12:23 PM Bug #5737: WEBrick doesn't support keep alive connections for 204 and 304 responses
On Tue, Dec 13, 2011 at 10:35:16AM +0900, Hiroshi Nakamura wrote:
>
> Issue #5737 has been updated by Hiroshi Nak...
Anonymous
10:35 AM Bug #5737 (Open): WEBrick doesn't support keep alive connections for 204 and 304 responses
Sorry for not responding.
As a maintainer, I'll review the patch later. I don't understand now, the rationale why...
nahi (Hiroshi Nakamura)
07:20 AM Bug #5737 (Closed): WEBrick doesn't support keep alive connections for 204 and 304 responses
Applied this in r34023 tenderlovemaking (Aaron Patterson)
11:04 AM Bug #5681 (Closed): Conflcting types for rb_w32_inet_ntop caused by duplicate definition under MinGW
Oops, disregard, I had dirty files. drbrain (Eric Hodel)
10:58 AM Bug #5681 (Open): Conflcting types for rb_w32_inet_ntop caused by duplicate definition under MinGW
=begin
r33919 broke the socket extension on OS X:
have_func: checking for inet_ntop(0, (const void *)0, (char *...
drbrain (Eric Hodel)
05:50 AM Bug #5730 (Closed): Optinal block parameters assigns wrong
This issue was solved with changeset r34020.
Yukihiro, thank you for reporting this issue.
Your contribution to Ruby ...
nobu (Nobuyoshi Nakada)
05:12 AM Bug #5752 (Closed): Array#delete_if side effects due to changeset r32360
It seems that the changeset r32360 introduced another side effect. Here are two IRB sessions, one in ruby-1.9.2-p136 ... gettalong (Thomas Leitner)
04:01 AM Bug #5751 (Rejected): functions unable to handle hashes containing spaces unless wrapped in parenthesis
A brace after method invocation is parsed as a block. nobu (Nobuyoshi Nakada)
01:58 AM Bug #5751 (Rejected): functions unable to handle hashes containing spaces unless wrapped in parenthesis
puts { :a => :b}
SyntaxError: (irb):23: syntax error, unexpected tASSOC, expecting '}'
puts { :a => :b}
puts ...
[email protected] (spencer roan)
12:54 AM Feature #5749: new method String#match_all needed
If memory serves Facets has #mscan method. trans (Thomas Sawyer)
12:14 AM Bug #5750 (Open): Thread.current local-variables behavior
Sorry, I was stupid. Indeed the documatation has room for improvement.
If I recall correctly, akira tanaka suggeste...
mame (Yusuke Endoh)
 

Also available in: Atom