Project

General

Profile

Activity

From 10/31/2011 to 11/06/2011

11/06/2011

11:33 PM Feature #5574: Make arrays comparable
I remember that in ruby-core long ago matz explained that array don't include comparable because they could contain e... neleai (Ondrej Bilka)
04:53 PM Feature #5574: Make arrays comparable
Ruby Facets provides a Tuple class, which is an immutable Array that
is also Comparable. I believe I may have sugg...
trans (Thomas Sawyer)
04:33 PM Feature #5574: Make arrays comparable
Ruby Facets provides a Tuple class, which is an immutable Array that is also Comparable. I believe I may have suggest... trans (Thomas Sawyer)
04:14 PM Feature #5574: Make arrays comparable
I support this proposal. In a basic programming lecture, I just recently told students how to compare (<, <=, and so ... duerst (Martin Dürst)
09:48 PM Bug #5571: Syntax Error when put String eql? with logical operation ("||") or "("&&")
The || operator is binding the second test.eql? to "test", effectively turning the statement into
test.eql? ("...
hasari (Hiro Asari)
08:45 PM Bug #5560: YAML installation not found and no /usr/local/lib/ruby/1.9.3
OK, I got it working. You can close the issue (apparently I can't).
How I did it: I fetched libyaml from http://p...
rklemme (Robert Klemme)
07:08 PM Bug #5560: YAML installation not found and no /usr/local/lib/ruby/1.9.3
Luis, thank you for the information! Unfortunately libyaml is not a cygwin package so I'll have to compile it from s... rklemme (Robert Klemme)
07:27 PM Feature #5534: Redefine Range class and introduce RelativeNumeric and RelativeRange
I was not precise, i meant not equality, but *identity* --- that there be only one empty range: Range::EMPTY_SET. Li... alexeymuranov (Alexey Muranov)
05:26 PM Feature #5534: Redefine Range class and introduce RelativeNumeric and RelativeRange
What is the point of all this? I mean the equality thing is somewhat interesting but how is it really useful? And why... trans (Thomas Sawyer)
06:23 PM Bug #5576: [Universal Newline]改行コードが"\r\n"で出力されない
遠藤です。

2011年11月6日16:26 pegacorn jp <[email protected]>:
> Yusuke Endoh wrote:
>> > trunkで...
mame (Yusuke Endoh)
04:26 PM Bug #5576: [Universal Newline]改行コードが"\r\n"で出力されない
Yusuke Endoh wrote:
> > trunkでr33627-33629を当てると標準出力もTempfileも直ったので、
> > 同じ問題だと思います。
>
> おお、確認ありがとうございます。(「ruby_1...
pegacorn (pegacorn jp)
03:29 PM Bug #5576: [Universal Newline]改行コードが"\r\n"で出力されない
遠藤です。
2011/11/6 pegacorn jp <[email protected]>:
> すみません。#5565を見落としていました。
いえ、元スレッドの方に返信がなかっ...
mame (Yusuke Endoh)
01:30 PM Bug #5576: [Universal Newline]改行コードが"\r\n"で出力されない
すみません。#5565を見落としていました。
trunkでr33627-33629を当てると標準出力もTempfileも直ったので、
同じ問題だと思います。
pegacorn (pegacorn jp)
11:35 AM Bug #5576: [Universal Newline]改行コードが"\r\n"で出力されない
ありがとうございます。
最近 #5565 にバックポートチケットが上がっていて、[ruby-list:48514] を
受けたものかと思ってましたが、これとは別の問題ですかね?
もしよければ、trunk でテスト・再現できま...
mame (Yusuke Endoh)
11:11 AM Bug #5576 (Closed): [Universal Newline]改行コードが"\r\n"で出力されない
mswin/mingw版で、標準出力へのputsで改行コードが"\r\n"で出力されない。
[ruby-list:48514]より
C:¥>ruby -v
ruby 1.9.3p0 (2011-10-30) [i386-mi...
pegacorn (pegacorn jp)
05:48 PM Feature #5531: deep_value for dealing with nested hashes
Probably best to use #[] internally too.
class Hash
def [](*keys)
keys.inject(self) {|containe...
trans (Thomas Sawyer)
05:35 PM Feature #5550: Hash#depth, Hash#flat_length for recursive hashes
I take it you meant `nested hash`. I think your methods will infinite loop on recursive hash --and that needs to be c... trans (Thomas Sawyer)
12:46 AM Feature #5550: Hash#depth, Hash#flat_length for recursive hashes
Excuse me, can you be more precise with your example please? Ruby does not accept it (after removing the dots "...").... alexeymuranov (Alexey Muranov)
05:11 PM Feature #5578 (Rejected): Embedded YAML for Ruby 2.0
Way cool would be support for embedded YAML.
data = ---
a: 1
b: 2
c: 3
....
trans (Thomas Sawyer)
05:02 PM Feature #5552: Array#ljust, Array#rjust
If you know pad length is greater than the array length then:
[:a,:b,:c].insert(5, nil)
Not sure about "rjus...
trans (Thomas Sawyer)
04:18 PM Revision 2522df96 (git): * 2011-11-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:18 PM Revision ae1943be (git): * lib/debug.rb: add help for 'pp' and 'r[estart]'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
02:45 PM Bug #5542: Ruby 1.9.3-p0 changed arity on default initialization method
Thank you much for the information. This seems like a good compromise. jballanc (Joshua Ballanco)
01:44 PM Feature #5543: rb_thread_blocking_region() API is poorly designed
VALUE is actively misleading, given that a VALUE can not be constructed by the function, and the writer of the code w... cjameshuff (Christopher Huff)
01:17 PM Bug #5577 (Closed): test/testunit/test_parallel.rb causes NoMethodError when file descriptor is limited to 30.
ulimit -n 30 として、file descriptor を 30個に制限した状態で、
test/testunit/test_parallel.rb をテストすると以下のように失敗します。
失敗する事自体は問題ではない...
akr (Akira Tanaka)
05:51 AM Revision 5cb63654 (git): * ext/socket/rubysocket.h (rsock_recvmsg): declared.
* ext/socket/ancdata.c (rsock_recvmsg): extracted from
nogvl_recvmsg_func.
(nogvl_recvmsg_func): use rsock_recvms...
akr (Akira Tanaka)
04:01 AM Bug #5548: OpenSSL::Engine can't load some old engines/new engines
Yui NARUSE wrote:
> I used a bundled openssl with NetBSD current.
> But it seems removed in openssl CVS Head.
> ...
MartinBosslet (Martin Bosslet)
01:20 AM Feature #5562: Improvement of Windows IO performance
I am seeing a strange issue with the patch on my Win7 32bit system. I'm not yet sure whether it's my setup or a real ... jonforums (Jon Forums)

11/05/2011

11:47 PM Feature #5574 (Rejected): Make arrays comparable
Why are arrays not comparable? _Array_ already defines _<=>_, so it seems only natural to mix-in the _Comparable_ mod... tokland (Arnau Sanchez)
06:33 PM Revision 600fcacc (git): * test/openssl/test_engine.rb: add test for engine cipher. RC4 is used
because AES is not supported by the "openssl" engine currently.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3...
MartinBosslet (Martin Bosslet)
03:14 PM Revision 273c900b (git): * 2011-11-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision df334f52 (git): * lib/test/unit.rb (Test::Unit::Options#non_options): options[:ruby]
should be an array. This fixes
"./ruby test/runner.rb test/testunit/test_parallel.rb"
[ruby-dev:44782]
git-svn...
akr (Akira Tanaka)
02:01 PM Feature #5572 (Closed): ブロックなしPathname#find呼び出しでEnumeratorを返す
辻本です。
Pathname#findをブロックなしで呼び出すとno block givenエラーとなりますが、
Find.findと同様にこの場合はEnumeratorを返すようにすることを提案します。
パッチを添付します。
ktsj (Kazuki Tsujimoto)
11:30 AM Revision 642562c7 (git): insns.def: Some fixes and tweaks to English explanations
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
11:09 AM Bug #5542 (Rejected): Ruby 1.9.3-p0 changed arity on default initialization method
Hi,
> I can access the former thread, but the later [ruby-core:32952] seems to
> have gone missing?
>
> ht...
marcandre (Marc-Andre Lafortune)
10:13 AM Revision 333c847f (git): * io.c (rb_cloexec_fcntl_dupfd): don't clear try_dupfd_cloexec if
fcntl(F_DUPFD) failed as fcntl(F_DUPFD_CLOEXEC).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33641 b2dd03c8-...
akr (Akira Tanaka)
09:33 AM Feature #5562: Improvement of Windows IO performance
=begin
I'm sorry, previous comment failed to be submited. I don't know why.
104) Failure:
test_include_file_...
h.shirosaki (Hiroshi Shirosaki)
09:15 AM Feature #5562: Improvement of Windows IO performance
a\nb h.shirosaki (Hiroshi Shirosaki)
06:14 AM Feature #5562: Improvement of Windows IO performance
Thanks for trying this patch.
> * Which version of MinGW GCC are you using to build?
4.5.2
> * Which version of ...
h.shirosaki (Hiroshi Shirosaki)
12:55 AM Feature #5562: Improvement of Windows IO performance
I've downloaded your patch and will try with both `ruby_1_9_3` and `trunk`.
In the past, I've had many failures wh...
jonforums (Jon Forums)
09:06 AM Revision a3521e02 (git): * ext/socket/socket.c (rsock_socketpair0): refactored.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:56 AM Revision 385a7d45 (git): * ext/socket/init.c (rsock_socket0): don't clear try_sock_cloexec if
SOCK_CLOEXEC is not a reason for EINVAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33639 b2dd03c8-39d4-4d8...
akr (Akira Tanaka)
07:37 AM Revision c3749b6a (git): * ext/pathname/lib/pathname.rb, ext/tk/lib/multi-tk.rb,
ext/tk/sample/demos-en/widget, lib/benchmark.rb, lib/irb/cmd/fork.rb,
lib/mkmf.rb, lib/net/ftp.rb, lib/net/smtp.rb,...
ktsj (Kazuki Tsujimoto)
06:46 AM Revision 0e68c46e (git): * ext/socket/init.c (rsock_socket0): extract single socket() call with
CLOEXEC handling from rsock_socket.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33637 b2dd03c8-39d4-4d8f-98f...
akr (Akira Tanaka)
04:45 AM Bug #5571: Syntax Error when put String eql? with logical operation ("||") or "("&&")
ruby-head :001 > test="test"
=> "test"
ruby-head :002 > if test.eql?"test" || test.eql?"test1" ; puts "true"; end...
rongyj (Yongjun Rong)
04:36 AM Bug #5571 (Rejected): Syntax Error when put String eql? with logical operation ("||") or "("&&")
There has a syntax error when try to connect two string eqls? with the logical operation ("||") and ("&&") as below
...
rongyj (Yongjun Rong)
02:19 AM Revision d05202a5 (git): * 2011-11-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:19 AM Revision df390d82 (git): * ext/socket/socket.c (rsock_socketpair0): don't clear
try_sock_cloexec if SOCK_CLOEXEC is not a reason for EINVAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@336...
akr (Akira Tanaka)

11/04/2011

10:30 PM Bug #5570 (Closed): Encoding of environment variables on Windows
It seems that the filesystem encoding is forced upon environment variables. There is, however, no guarantee that thi... now (Nikolai Weibull)
07:38 PM Bug #5548: OpenSSL::Engine can't load some old engines/new engines
Martin Bosslet wrote:
> One remaining question: where did you find ENGINE_load_aesni? I can't find it in my 1.0.0d s...
naruse (Yui NARUSE)
08:48 AM Bug #5548: OpenSSL::Engine can't load some old engines/new engines
One remaining question: where did you find ENGINE_load_aesni? I can't find it in my 1.0.0d sources... MartinBosslet (Martin Bosslet)
08:45 AM Bug #5548 (Closed): OpenSSL::Engine can't load some old engines/new engines
This issue was solved with changeset r33631.
Yui, thank you for reporting this issue.
Your contribution to Ruby is gr...
Anonymous
06:58 PM Bug #5532: Compile problem for bigdecimal on cygwin
Here is my configuration:
$ make showconfig
'--with-baseruby=/usr/bin/ruby'
$ /usr/bin/ruby -v
ruby 1.8.7 (2008...
duerst (Martin Dürst)
05:53 PM Bug #5532: Compile problem for bigdecimal on cygwin
Hi,

(11/11/04 17:02), "Martin J. Dürst" wrote:
>> BTW, eban-san also says that he built cygwin ruby from trun...
nobu (Nobuyoshi Nakada)
06:40 PM Feature #5562: Improvement of Windows IO performance
"make test" have been passed with no fails.
"make test-all" had failures and errors.
I think below two cases are ...
h.shirosaki (Hiroshi Shirosaki)
12:53 AM Feature #5562: Improvement of Windows IO performance
> Ruby's text mode IO is much slower than binary mode.

Why though, is my question. It would be nice to get to ...
Anonymous
12:32 AM Feature #5562: Improvement of Windows IO performance
Did you run make test and make test-all? usa (Usaku NAKAMURA)
12:02 AM Feature #5562 (Closed): Improvement of Windows IO performance
=begin
I suggest a patch to improve Windows IO performance.
Ruby's text mode IO is much slower than binary mode.
...
h.shirosaki (Hiroshi Shirosaki)
12:49 PM Bug #5568 (Closed): IO#set_encoding ignores internal when the same as external only when specified as "ext:int"
When passing two encoding objects that are the same to IO#set_encoding, both external and internal encodings for the ... brixen (Brian Shirai)
11:39 AM Bug #5567 (Closed): IO#set_encoding ignores one invalid encoding unless a second argument is passed
IO.set_encoding will ignore one invalid encoding unless a second argument is passed. This is odd behavior. See below:... brixen (Brian Shirai)
07:19 AM Revision 413f24d3 (git): * whitespace cleanup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:15 AM Bug #5545: Net::HTTP breaks with https URI objects
Sorry, apparently failed to attach the patch to the bug. Please let me know if there's anything I should change in or... ferlatte (Mark Ferlatte)
05:57 AM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
There is lots of interest in having a ruby-debug that works for 1.9.3. Lots of people depend upon it. This solution ... jrochkind (jonathan rochkind)
12:56 AM Bug #5193: ruby_thread_data_type linker errors fixed with RUBY_EXTERN
Any chance this will get looked at? I can't release ruby-debug19 for 1.9.3 until it's fixed. mark-moseley (Mark Moseley)
05:24 AM Bug #5517: Unable to build trunk/ruby_1_9_3 with Windows SDK for Windows 7
Thank you both as this was fantastically easy. Onto learning how to covert `optflags` and `debugflags` options into `... jonforums (Jon Forums)
05:05 AM Bug #5517: Unable to build trunk/ruby_1_9_3 with Windows SDK for Windows 7
Thank you reporting, Jon.
And, thank you debugging, Heesob.
usa (Usaku NAKAMURA)
04:55 AM Bug #5517 (Closed): Unable to build trunk/ruby_1_9_3 with Windows SDK for Windows 7
This issue was solved with changeset r33630.
Jon, thank you for reporting this issue.
Your contribution to Ruby is gr...
usa (Usaku NAKAMURA)
01:22 AM Bug #5517: Unable to build trunk/ruby_1_9_3 with Windows SDK for Windows 7
Very nice. I checked the shortcut I use to launch a shell and found the "Target:" had
C:\Windows\System32\cmd.ex...
jonforums (Jon Forums)
12:27 AM Bug #5517: Unable to build trunk/ruby_1_9_3 with Windows SDK for Windows 7
From the log, I noticed the line #188 of configure.bat
echo>>confargs.c !ifndef CONFIGURE_ARGS
output "ifndef CON...
phasis68 (Heesob Park)
05:12 AM Revision ab682d95 (git): * ext/openssl/ossl_pkey_rsa.c (rsa_generate): [SECURITY] Set RSA
exponent value correctly. Awful bug. This bug caused exponent of
generated key to be always '1'. By default, and...
Hiroshi Nakamura
04:55 AM Bug #5333: Coverage library giving wrong results
Thanks for the information. I will try to understand active support better and fix this. :'( tenderlovemaking (Aaron Patterson)
02:23 AM Bug #5542: Ruby 1.9.3-p0 changed arity on default initialization method
On Thu, Nov 3, 2011 at 12:15 PM, Aaron Patterson
<[email protected]>wrote:

> On Thu, Nov 03, 2011 at 0...
jballanc (Joshua Ballanco)
01:23 AM Bug #5542: Ruby 1.9.3-p0 changed arity on default initialization method
On Thu, Nov 03, 2011 at 06:19:19AM +0900, Joshua Ballanco wrote:
>
> Issue #5542 has been updated by Joshua Balla...
Anonymous
01:57 AM Bug #5563 (Closed): Fix bug in drb tests if hostname does not resolve to a local IP
3 of the drb tests leave the hostname part of the druby URI empty instead of using localhost. When a hostname is not... jeremyevans0 (Jeremy Evans)
12:33 AM Revision 3463615a (git): * test/openssl/test_engine.rb: add first tests for builtin "openssl"
engine.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)

11/03/2011

11:45 PM Revision 00bfe194 (git): * ext/openssl/extconf.rb:
* ext/openssl/ossl_engine.c: add some missing OpenSSL engines.
Thanks, Yui Naruse, for providing the patch!
[Bug ...
MartinBosslet (Martin Bosslet)
08:48 PM Bug #5560: YAML installation not found and no /usr/local/lib/ruby/1.9.3
API version is 1.9.1, so all the versioned directories inside Ruby 1.9.3 will be "1.9.1"
This is the same for Ruby...
luislavena (Luis Lavena)
08:24 PM Bug #5560: YAML installation not found and no /usr/local/lib/ruby/1.9.3
There is also http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/388429 - not sure whether these are related. rklemme (Robert Klemme)
08:22 PM Bug #5560 (Closed): YAML installation not found and no /usr/local/lib/ruby/1.9.3
I configured the source with "$ ./configure --program-suffix=19" (see attachment) and built it with gcc 4.5.3 and did... rklemme (Robert Klemme)
08:44 PM Feature #5553: A method for Hash that works differently depending on whether a key exists
I see. But then you may also want to pass a second procedure which is run if the key does not exist, and to have bot... alexeymuranov (Alexey Muranov)
07:48 PM Feature #5553 (Feedback): A method for Hash that works differently depending on whether a key exists
「fetchや[]を頻繁に呼びたくない」という意図は伝わらないでも無いですが、でもそれよりもif_keyメソッドのほうが嬉しい局面というのがあまり想像できません。単にメソッドでラップすればいいんじゃないですか?
正直、この例では全...
matz (Yukihiro Matsumoto)
05:43 PM Feature #5553: A method for Hash that works differently depending on whether a key exists
The whole point of this suggestion is that I feel some redundancy to have to call the method `fetch` or `[]` on the h... sawa (Tsuyoshi Sawada)
07:22 AM Feature #5553: A method for Hash that works differently depending on whether a key exists
In your example, the :nothing key exists, so shouldn't it be
a.if_key(:nothing, "どうも"){|str| "#{str}世界!"} #=> "世界!" ...
alexeymuranov (Alexey Muranov)
03:41 AM Feature #5553 (Rejected): A method for Hash that works differently depending on whether a key exists
A method Hash#if_key(key, [default], &pr) which works like the following will be often used, and is useful.
a ...
sawa (Tsuyoshi Sawada)
07:56 PM Feature #5550 (Feedback): Hash#depth, Hash#flat_length for recursive hashes
Hashの本質はkey-valueのマッピングなので、valueが再帰的にHashであることを想定した(再帰的なHashでなければ役に立たない)メソッドを追加することには抵抗があります。
わずか6行のmonkey patchingを...
matz (Yukihiro Matsumoto)
03:10 AM Feature #5550 (Rejected): Hash#depth, Hash#flat_length for recursive hashes
I often have a hash whose value is recursively a hash, which may look like the following:
{"Japan" =>
...
sawa (Tsuyoshi Sawada)
07:55 PM Revision 3e6ea930 (git): * win32/configure.bat: disable delayed expansion of enironment variable.
[Bug #5517] [ruby-core:40531]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33630 b2dd03c8-39d4-4d8f-98ff-823fe...
U.Nakamura
07:52 PM Feature #5549 (Rejected): Comparable#min, Comparable#max
なぜ、それが必要だと思いましたか?
この提案だと a.min(b) というスタイルになり、Enumerableの「もっとも小さい(大きい)要素を返す」という意味でなく、「ふたつの要素のうちより小さい(大きい)ものを返す」と記述してい...
matz (Yukihiro Matsumoto)
02:45 AM Feature #5549 (Rejected): Comparable#min, Comparable#max
I request the following methods
Comparable#min(other)
Comparable#max(other)
which will work the same a...
sawa (Tsuyoshi Sawada)
07:40 PM Feature #5554 (Feedback): A method that applies self to a Proc if self is a Symbol
ごめんなさい。「本当に意図したのは」という部分の意図が読み取れません。
どのような局面でどのように嬉しいか(たとえば劇的にシンプルに記述できるから)を表現してください。
ただ単に「こんな風に書きたいと私が感じる」だとたぶん不十分で...
matz (Yukihiro Matsumoto)
05:58 PM Feature #5554: A method that applies self to a Proc if self is a Symbol
本当は、意図したのは、どのようなSymbolがあるか簡単には分からない場合、もしくは別のところで関連するメソッドが定義されていて、Symbolの一覧を複数の場所で更新しなければならなくなる場合で、例えば次のような場合です:
  ...
sawa (Tsuyoshi Sawada)
09:53 AM Feature #5554: A method that applies self to a Proc if self is a Symbol
なかだです。

(11/11/03 3:51), Tsuyoshi Sawada wrote:
> Often, you want to apply a Proc to self if self is a Symbol,...
nobu (Nobuyoshi Nakada)
03:51 AM Feature #5554 (Rejected): A method that applies self to a Proc if self is a Symbol
Often, you want to apply a Proc to self if self is a Symbol, but not do anything if otherwise. In this case, somethin... sawa (Tsuyoshi Sawada)
07:36 PM Feature #5552 (Feedback): Array#ljust, Array#rjust
なぜそれが必要なのか提案に含めてください。Stringにあるから、では不十分です。
私にはArray#ljustなどがあって嬉しい局面が想像できません。
matz (Yukihiro Matsumoto)
06:02 PM Feature #5552: Array#ljust, Array#rjust
And also `Array#center` analogous to `String#center` as well. sawa (Tsuyoshi Sawada)
03:27 AM Feature #5552 (Rejected): Array#ljust, Array#rjust
I propose the following methods Array#ljust(length [, pad]), Array#rjust(length [, pad]), whose behaviour is analogou... sawa (Tsuyoshi Sawada)
07:36 PM Bug #5559 (Feedback): Intermittent Seg fault when using net-ssh
Please show the crash report log file under ~/Library/Logs/CrashReporter or /Library/Logs/CrashReporter.
nobu (Nobuyoshi Nakada)
04:25 PM Bug #5559 (Third Party's Issue): Intermittent Seg fault when using net-ssh
Hi,
This is probably a waste of a report - especially as my standalone 5 lines test of this generally works (it se...
kimptoc (Chris Kimpton)
07:33 PM Feature #5551 (Rejected): Enumerable#rdrop
Arrayに追加するのであれ、Enumeratorで遅延評価するのであれ、この提案の根幹部分の変更になりますので、いったんrejectします。
また、思いついたrandom ideasをなんでもRubyに入れようとするのでなく、なぜ...
matz (Yukihiro Matsumoto)
05:39 PM Feature #5551: Enumerable#rdrop
中田さんのコメントにあるような方向性(のどちらか)でいくのがよいと思います。 sawa (Tsuyoshi Sawada)
09:53 AM Feature #5551: Enumerable#rdrop
なかだです。

(11/11/03 3:18), Tsuyoshi Sawada wrote:
> There is Enumerable#drop(n), which drops elements on the lef...
nobu (Nobuyoshi Nakada)
03:18 AM Feature #5551 (Rejected): Enumerable#rdrop
There is Enumerable#drop(n), which drops elements on the left side, but there is no counterpart for dropping the righ... sawa (Tsuyoshi Sawada)
07:06 PM Revision a3ce3196 (git): * io.c (make_writeconv): fixed typo of previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
06:45 PM Revision 102ec117 (git): * io.c (make_writeconv): fixed typo of previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:31 PM Feature #5555: rename #include? to #includes?
Alias would be good enough for me. Thanks for comments. alexeymuranov (Alexey Muranov)
03:59 PM Feature #5555: rename #include? to #includes?
On Thu, Nov 3, 2011 at 00:00, markus heiler <[email protected]> wrote:

> Shouldn't the #include? method be ren...
now (Nikolai Weibull)
08:00 AM Feature #5555: rename #include? to #includes?
I am neutral on it, not pro, not con. But I think a simple alias could suffice here?
It is often a quite general q...
shevegen (Robert A. Heiler)
07:28 AM Feature #5555 (Rejected): rename #include? to #includes?
Shouldn't the #include? method be renamed to #includes? ?
I think this will be closer to correct English and consist...
alexeymuranov (Alexey Muranov)
04:59 PM Revision 932d63ef (git): * io.c (make_writeconv): unversal_newline converter is for reading.
so, if the io is text mode and has ECONV_UNIVERSAL_NEWLINE_DECORATOR
flag, use crlf_newline converter for writing.
...
U.Nakamura
04:23 PM Revision b2f90f4d (git): * ext/readline/readline.c (Init_readline): like r18313, libedit's
replace_history_entry may use offset instead of which.
so introduce history_replace_offset_func and initialize it.
...
naruse (Yui NARUSE)
03:54 PM Revision 21ab6bc3 (git): * ext/readline/readline.c (Init_readline): fix wrong condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:54 PM Revision a3ace91f (git): Don't define tests if there is no psych.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:19 PM Revision dae4acbe (git): * 2011-11-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:19 PM Revision 5a2758ed (git): * encoding.c (rb_locale_charmap): ignore calling nl_langinfo_codeset()
on Windows except cygwin. [experimental]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33622 b2dd03c8-39d4-4d8f...
U.Nakamura
01:50 PM Revision ac46d76c (git): * thread.c (rb_fd_rcopy): suppress warnings on mingw32.
* win32/win32.c (overlapped_socket_io, recvmsg, sendmsg, dupfd):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
01:46 PM Revision b45c882a (git): * ext/socket/socket.c (rsock_socketpair0): extracted from
rsock_socketpair to set close-on-exec flag for each socketpair()
call.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
akr (Akira Tanaka)
01:14 PM Revision a0b22b1a (git): * ext/socket/init.c (rsock_socket): set close-on-exec flag when
SOCK_CLOEXEC is not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33619 b2dd03c8-39d4-4d8f-98ff-823fe...
nagachika (Tomoyuki Chikanaga)
12:50 PM Revision 8731a38b (git): * test/ruby/test_process.rb: clean up a garbage character.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
11:15 AM Revision 88f1b8cf (git): add test for close-on-exec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:55 AM Revision df6a0fe8 (git): close a socket in test_socket_new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:25 AM Feature #5558 (Assigned): String#% strange arity errors
When the number of arguments do not match the number of % parameters, the String#% method has some odd behavior.
W...
trans (Thomas Sawyer)
09:02 AM Bug #5556 (Assigned): SIGHUP no longer ignored when sent to process group from a subprocess
kosaki (Motohiro KOSAKI)
08:07 AM Bug #5556 (Closed): SIGHUP no longer ignored when sent to process group from a subprocess
Hi,
Prior to 2.0.0dev, this script:
sasha:rubinius brian$ cat process.rb
puts "before system"
system("ruby -...
brixen (Brian Shirai)
08:50 AM Bug #5542 (Assigned): Ruby 1.9.3-p0 changed arity on default initialization method
kosaki (Motohiro KOSAKI)
06:19 AM Bug #5542: Ruby 1.9.3-p0 changed arity on default initialization method
This was introduced in r29638:
* object.c: Make BasicObject.new accept no parameter.
Revert of r26135...
jballanc (Joshua Ballanco)
08:47 AM Bug #5540 (Assigned): Final comma in argument list before block causes syntax error
kosaki (Motohiro KOSAKI)
05:31 AM Bug #5540: Final comma in argument list before block causes syntax error
This was introduced by r32235:
* parse.y: comma at the end of line is no longer allowed.
A patch from Y...
jballanc (Joshua Ballanco)
08:43 AM Bug #5547 (Assigned): Cleanup engine after a test
I'll keep it open, I still want to find out why the behaviour changes! MartinBosslet (Martin Bosslet)
08:42 AM Bug #5547 (Closed): Cleanup engine after a test
This issue was solved with changeset r33614.
Yui, thank you for reporting this issue.
Your contribution to Ruby is gr...
Anonymous
08:30 AM Bug #5547: Cleanup engine after a test
Yui NARUSE wrote:
> OpenSSL::Engine.load() loads engines and register them, and it may change the behavior of some e...
MartinBosslet (Martin Bosslet)
08:07 AM Bug #5544: Lookup scope for class variables in class_eval'd procs changed in 1.9.3
This inconsistency was introduced in r31215:
* vm_insnhelper.h (COPY_CREF): should copy
the NODE_FL_CRE...
jballanc (Joshua Ballanco)
07:58 AM Bug #5244: Continuation causes Bus Error on Debian sparc
Attached is a patch for this problem, fixing the issue by moving the windows-flushing instruction into a separate fun... jurij (Jurij Smakov)
03:47 AM Bug #5517: Unable to build trunk/ruby_1_9_3 with Windows SDK for Windows 7
Category should have been set to "build" but redmine doesn't allow me to switch it now. Relevant to both 2.0.0 and 1.... jonforums (Jon Forums)
12:54 AM Bug #5541: Better configure error message when llvm-gcc is the default compiler
I completely agree. I was hit with "llvm-gcc has ended" this morning.
daneharrigan (Dane Harrigan)
12:53 AM Feature #5474: keyword argument
> |> It's Python way, and I won't take it.
> |What don't you like about this approach? I'd like to know so that hop...
Anonymous

11/02/2011

11:42 PM Revision cead180d (git): * 2011-11-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:42 PM Revision 576454a4 (git): * test/openssl/test_engine.rb: call Engine::cleanup on exit.
Patch provided by Yui Naruse, thanks!
[Bug #5547] [ruby-core:40669]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
MartinBosslet (Martin Bosslet)
10:33 PM Bug #5246: bootstraptest fails on ia64
Hi, I also get this with the just released 1.9.3p0 on Debian squeeze, ia64.
Can provide access to an ia64 box for te...
mato (Martin Lucina)
03:52 PM Bug #5532: Compile problem for bigdecimal on cygwin
eban-san says that libruby191.dll.a is correct (it was cygwin team's request).
So, please ignore above patch. orz
...
usa (Usaku NAKAMURA)
03:32 PM Bug #5532: Compile problem for bigdecimal on cygwin
Does this patch help you?
(Sorry, I've not tested it.)
Index: configure.in
=====================================...
usa (Usaku NAKAMURA)
12:53 PM Feature #5521: Numeric#rational?、Numeric#complex?、Numeric#float? の追加
むらたです。

(2011.11.01 21:13 ), Tadayoshi Funaba wrote:
>> これは私も気になりました。1.0.float? が真になるなら
>> 1.0.integer? は偽にな...
mrkn (Kenta Murata)
12:36 PM Revision 292b3e41 (git): * complex.c (nucomp_rationalize): fix function. [ruby-core:40667]
[Bug #5546]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:20 AM Bug #5548 (Closed): OpenSSL::Engine can't load some old engines/new engines
Current ext/openssl is missing a check for ENGINE_load_dynamic(),
and doesn't have checks/functions for new engines....
naruse (Yui NARUSE)
11:16 AM Bug #5547 (Closed): Cleanup engine after a test
OpenSSL::Engine.load() loads engines and register them, and it may change the behavior of some existing methods.
F...
naruse (Yui NARUSE)
09:29 AM Feature #5512: Integer#/ の改訂
むらたです。

(2011.11.01 23:40 ), Yusuke Endoh wrote:
> あと、現状の quo だと、4.quo(2) が Rational になるみたいですが、
> 整数で済む時は整数に...
mrkn (Kenta Murata)
08:52 AM Bug #5545 (Closed): Net::HTTP breaks with https URI objects
uri = URI('https://example.com/index.html?count=10')
Net::HTTP.get(uri)
will currently fail with an obscure error...
ferlatte (Mark Ferlatte)
07:53 AM Bug #5541: Better configure error message when llvm-gcc is the default compiler
> The error message ./configure gives when llvm-gcc is the default compiler is not very helpful.  This patch gives ... kosaki (Motohiro KOSAKI)
05:32 AM Bug #5541 (Closed): Better configure error message when llvm-gcc is the default compiler
The error message ./configure gives when llvm-gcc is the default compiler is not very helpful. This patch gives a be... drbrain (Eric Hodel)
07:17 AM Feature #4890: Enumerable#lazy
Yes, in a sense. But it also is more efficient and can handle iterating over infinities if the end result itself is f... trans (Thomas Sawyer)
06:29 AM Feature #4890: Enumerable#lazy
> No, the #force in that example produces the final result. (Note, #to_a should suffice, no need for a special metho... Anonymous
04:10 AM Feature #4890: Enumerable#lazy
No, the #force in that example produces the final result. (Note, #to_a should suffice, no need for a special method.) trans (Thomas Sawyer)
02:23 AM Feature #4890: Enumerable#lazy
>  p (1..10).delay.map{|i| i+1}.map{|i| i+2}.force

I assume this uses "lazy map" just for the first map, is that...
Anonymous
06:56 AM Feature #5543: rb_thread_blocking_region() API is poorly designed
Christopher Huff <[email protected]> wrote:
> First, rb_thread_blocking_region() requires the blocking code to ...
normalperson (Eric Wong)
05:40 AM Feature #5543 (Closed): rb_thread_blocking_region() API is poorly designed
First, rb_thread_blocking_region() requires the blocking code to be pulled out into a separate function, scattering c... cjameshuff (Christopher Huff)
06:44 AM Feature #5534: Redefine Range class and introduce RelativeNumeric and RelativeRange
By the way, i do not understand the use of ranges in conditional expressions in loops, and do not know how to be cons... alexeymuranov (Alexey Muranov)
06:29 AM Bug #5525: UDPSocket#bind(ip, port) fails under IPv6 => Errno::EAFNOSUPPORT
2011/11/2 Eric Hodel <[email protected]>:
>
> Iñaki, perhaps you should open a feature request for new methods...
akr (Akira Tanaka)
05:04 AM Bug #5525: UDPSocket#bind(ip, port) fails under IPv6 => Errno::EAFNOSUPPORT
Iñaki, perhaps you should open a feature request for new methods, perhaps UDPSocket::bind and UDPSocket::connect whic... drbrain (Eric Hodel)
06:24 AM Feature #5481: Gemifying Ruby standard library
=begin
If net/http, fileutils, optparse, psych or zlib are released as gems uninstalling them breaks RubyGems and yo...
drbrain (Eric Hodel)
05:46 AM Feature #5481: Gemifying Ruby standard library
> If you want to do extra work to uninstall default gems that should be allowed, but it should not happen without ext... vo.x (Vit Ondruch)
05:45 AM Bug #5544 (Closed): Lookup scope for class variables in class_eval'd procs changed in 1.9.3
When using class_eval with a proc, references to class variables scoped to the receiver in 1.9.2, but in 1.9.3 class ... jballanc (Joshua Ballanco)
05:32 AM Bug #5542 (Rejected): Ruby 1.9.3-p0 changed arity on default initialization method
The following code worked under 1.9.2-p290 but breaks with an Argument Error (1 for 0) under 1.9.3-p0:
class F...
jballanc (Joshua Ballanco)
05:24 AM Bug #5540 (Rejected): Final comma in argument list before block causes syntax error
The following code parses and runs correctly under 1.9.2-p290 but causes a syntax error under 1.9.3-p0:
def te...
jballanc (Joshua Ballanco)
03:57 AM Feature #5494: Proposal: Improved Finalizer Semantics
Kurt Stephens wrote:
> Nobuyoshi Nakada wrote:
> > Even if the object has not been freed, other objects referred b...
kstephens (Kurt Stephens)
02:23 AM Feature #5474: keyword argument
>> An alternative design is to treat all parameters as keyword
>> arguments (as Evan said in [ruby-core:40195]).
>...
Anonymous
01:23 AM Bug #5529: Bus error with Fibers on OSX Lion
On Tue Nov 01 2011 @ 11:11, Dave Thomas wrote:
> I have more information. I removed rvm totally from this machine ...
telemachus (Peter Aronoff)
12:52 AM Bug #5535 (Closed): test/psych/test_yamldbm.rb, test/syck/test_yamldbm.rb のDBM内部構造の順序に依存したテストがFailure
This issue was solved with changeset r33610.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby i...
ayumin (Ayumu AIZAWA)
12:32 AM Bug #5538 (Closed): ruby memory error running minitests
I have recently ported several applications from test-spec/ruby1.8.7 to minitest-spec/ruby1.9.2. For one (and only o... macklint (Tom Macklin)
12:03 AM Bug #5536: String#start_with? and end_with? ignore arguments convertible to a String [PATCH]
Tests attached. Eregon (Benoit Daloze)

11/01/2011

11:53 PM Feature #5512: Integer#/ の改訂
まつもと ゆきひろです

In message "Re: [ruby-dev:44768] Re: [ruby-trunk - Feature #5512][Open] Integer#/ の改訂"
on Tu...
matz (Yukihiro Matsumoto)
11:53 PM Feature #5512: Integer#/ の改訂
ふなばさん、まつもとさん、
お返事ありがとうございます。

2011年11月1日22:46 Tadayoshi Funaba <[email protected]>:
>> 本気で変える予定があるのなら、特大の非互換になり...
mame (Yusuke Endoh)
11:23 PM Feature #5512: Integer#/ の改訂
まつもと ゆきひろです

In message "Re: [ruby-dev:44765] Re: [ruby-trunk - Feature #5512][Open] Integer#/ の改訂"
on Tu...
matz (Yukihiro Matsumoto)
10:53 PM Feature #5512: Integer#/ の改訂
> 本気で変える予定があるのなら、特大の非互換になりますので、今のうちに
> 切り捨てたい場合の推奨代替策を決めて ( (x/y).round ですかね?) 、
> 2.0 から啓蒙しておいたほうがいいと思います。(つまり推...
tadf (tadayoshi funaba)
10:23 PM Feature #5512: Integer#/ の改訂
遠藤です。

2011年11月1日3:45 Yukihiro Matsumoto <[email protected]>:
> In message "Re: [ruby-dev:44707] [ruby-trunk ...
mame (Yusuke Endoh)
09:53 AM Feature #5512: Integer#/ の改訂
(2011.11.01 03:45 ), Yukihiro Matsumoto wrote:
> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:44707] [ruby-trunk...
mrkn (Kenta Murata)
03:53 AM Feature #5512: Integer#/ の改訂
まつもと ゆきひろです

In message "Re: [ruby-dev:44707] [ruby-trunk - Feature #5512][Open] Integer#/ の改訂"
on Sun, 30...
matz (Yukihiro Matsumoto)
11:18 PM Revision bea5278a (git): * 2011-11-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@33612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:17 PM Revision c852d76f (git): * lib/webrick/utils.rb: fix fcntl call.
* lib/drb/unix.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33611 b2dd03c8-39d4-4d8f-98ff-823fe69b...
akr (Akira Tanaka)
11:17 PM Revision cd53a652 (git): * lib/webrick/utils.rb: fix fcntl call.
* lib/drb/unix.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@33611 b2dd03c8-39d4-4d8f-9...
akr (Akira Tanaka)
11:11 PM Bug #5529: Bus error with Fibers on OSX Lion
Kenta Murata wrote:
> Dave Thomas wrote:
> > Also, looking at your output—why is it writing cat/dog/cat/dog? Should...
pragdave (Dave Thomas)
01:37 PM Bug #5529: Bus error with Fibers on OSX Lion
Dave Thomas wrote:
> Also, looking at your output—why is it writing cat/dog/cat/dog? Shouldn't it just be one 'cat' ...
mrkn (Kenta Murata)
01:26 PM Bug #5529: Bus error with Fibers on OSX Lion
Dave Thomas wrote:
> I've attached the rvm logs from the installation
Also, looking at your output—why is it wr...
pragdave (Dave Thomas)
01:18 PM Bug #5529: Bus error with Fibers on OSX Lion
I've attached the rvm logs from the installation pragdave (Dave Thomas)
09:29 AM Bug #5529: Bus error with Fibers on OSX Lion
=begin
Hi Dave,
I cannot reproduce the bus error.
[09:25:17#3]mrkn$ ruby -v ~/Downloads/prog.rb
ruby 1.9.3p0...
mrkn (Kenta Murata)
01:24 AM Bug #5529 (Rejected): Bus error with Fibers on OSX Lion
=begin
The attached program crashes with the following trace:
dave[ruby3/Book 11:18:39] ruby /tmp/prog.rb
cat
...
pragdave (Dave Thomas)
11:05 PM Bug #5536: String#start_with? and end_with? ignore arguments convertible to a String [PATCH]
> Should I add in test_string.rb or test_m17n_comb.rb?
test_string.rb, I think.
nobu (Nobuyoshi Nakada)
11:01 PM Bug #5536: String#start_with? and end_with? ignore arguments convertible to a String [PATCH]
> Issue #5536 has been updated by Nobuyoshi Nakada.
>
> (11/11/01 21:43), Benoit Daloze wrote:
>> P.S.: There is n...
Eregon (Benoit Daloze)
10:23 PM Bug #5536 (Assigned): String#start_with? and end_with? ignore arguments convertible to a String [PATCH]
(11/11/01 21:43), Benoit Daloze wrote:
> Currently, String#start_with? and String#end_with? ignore arguments not con...
nobu (Nobuyoshi Nakada)
09:43 PM Bug #5536 (Closed): String#start_with? and end_with? ignore arguments convertible to a String [PATCH]
Hi,
Currently, String#start_with? and String#end_with? ignore arguments not convertible to String.
I believe it...
Eregon (Benoit Daloze)
10:59 PM Feature #5427: Not complex patch to improve `require` time (load.c)
On Tue, Nov 1, 2011 at 14:24, Yura Sokolov <[email protected]> wrote:

> Nikolai Weibull wrote:

>> I don’t...
now (Nikolai Weibull)
10:24 PM Feature #5427: Not complex patch to improve `require` time (load.c)
Nikolai Weibull wrote:
> Yura Sokolov wrote:
>> Sorry, you are right, I confused `require_relative 'somelib'` with ...
funny_falcon (Yura Sokolov)
04:23 PM Feature #5427: Not complex patch to improve `require` time (load.c)
On Tue, Nov 1, 2011 at 07:35, Yura Sokolov <[email protected]> wrote:
>
> Issue #5427 has been updated by Yur...
now (Nikolai Weibull)
03:39 PM Feature #5427: Not complex patch to improve `require` time (load.c)
> `require_relative` still gains improvement from this patch, cause it use `require`, but improvement is a bit lesser... funny_falcon (Yura Sokolov)
03:35 PM Feature #5427: Not complex patch to improve `require` time (load.c)
> Slower than what? require_relative is a lot faster than require
Sorry, you are right, I confused `require_relative...
funny_falcon (Yura Sokolov)
03:23 PM Feature #5427: Not complex patch to improve `require` time (load.c)
On Tue, Nov 1, 2011 at 06:40, Yura Sokolov <[email protected]> wrote:

> In fact, be present relative require...
now (Nikolai Weibull)
02:40 PM Feature #5427: Not complex patch to improve `require` time (load.c)
Thomas Sawyer wrote:
> "After this patch `loaded_features` is kept sorted by basename without extension (/usr/lib/ru...
funny_falcon (Yura Sokolov)
10:14 AM Feature #5427: Not complex patch to improve `require` time (load.c)
Links broke for some reason, try again: http://redmine.ruby-lang.org/issues/4969 trans (Thomas Sawyer)
10:12 AM Feature #5427: Not complex patch to improve `require` time (load.c)
"After this patch `loaded_features` is kept sorted by basename without extension (/usr/lib/ruby/asdf.rb => asdf). Whe... trans (Thomas Sawyer)
08:23 AM Feature #5427: Not complex patch to improve `require` time (load.c)
On Mon, Oct 31, 2011 at 22:54, Yura Sokolov <[email protected]> wrote:

> I have a report from one man about ...
now (Nikolai Weibull)
06:54 AM Feature #5427: Not complex patch to improve `require` time (load.c)
I have a report from one man about it's application startup time with and without patch:
$ time ./bin/rails runner...
funny_falcon (Yura Sokolov)
06:47 AM Feature #5427: Not complex patch to improve `require` time (load.c)
Patch applies on trunk cleanly. funny_falcon (Yura Sokolov)
10:42 PM Feature #5531: deep_value for dealing with nested hashes
Nobuyoshi Nakada wrote:
> =begin
> What about:
>
> class Hash
> def [](*keys)
> keys.inject(self) {|cont...
alexeymuranov (Alexey Muranov)
10:33 PM Feature #5531: deep_value for dealing with nested hashes
=begin
What about:
class Hash
def [](*keys)
keys.inject(self) {|container, key| container.fetch(key...
nobu (Nobuyoshi Nakada)
09:45 PM Feature #5531: deep_value for dealing with nested hashes
I can think of the following questions/objections to the suggested method definition:
1. is `{ 1 => 2}.dv(1,1) # => n...
alexeymuranov (Alexey Muranov)
08:34 PM Feature #5531: deep_value for dealing with nested hashes
Konstantin Haase wrote:
> Never mind, got it.
>
> On Oct 31, 2011, at 17:32 , Haase, Konstantin wrote:
>
> > Wh...
alexeymuranov (Alexey Muranov)
08:23 PM Feature #5531: deep_value for dealing with nested hashes
On 1 November 2011 01:26, SASADA Koichi <[email protected]> wrote:
> (2011/11/01 8:52), Kyle Peyton wrote:
>> Exampl...
Eregon (Benoit Daloze)
09:53 AM Feature #5531: deep_value for dealing with nested hashes
Never mind, got it.

On Oct 31, 2011, at 17:32 , Haase, Konstantin wrote:

> What's the difference (usability wi...
rkh (Konstantin Haase)
09:53 AM Feature #5531: deep_value for dealing with nested hashes
What's the difference (usability wise) between

hash[:foo][:bar]

and

hash.dv(:foo, :bar)

Konstantin

...
rkh (Konstantin Haase)
09:53 AM Feature #5531: deep_value for dealing with nested hashes
What's the difference (usability wise) between

hash[:foo][:bar]

and

hash.dv(:foo, :bar)

Konstantin

...
rkh (Konstantin Haase)
09:29 AM Feature #5531: deep_value for dealing with nested hashes
(2011/11/01 8:52), Kyle Peyton wrote:
> Example:
>
>> foo = {:bar => {:baz => 'blah'}}
>> foo.dv(:bar, :baz...
ko1 (Koichi Sasada)
08:52 AM Feature #5531 (Closed): deep_value for dealing with nested hashes
This feature request stems from dealing with nested hashes, like the params from a request often dealt with in web fr... weexpectedTHIS (Kyle Peyton)
10:10 PM Bug #5535: test/psych/test_yamldbm.rb, test/syck/test_yamldbm.rb のDBM内部構造の順序に依存したテストがFailure
添付のパッチのように返り値をソートするとFailureは消えます。 ngoto (Naohisa Goto)
09:32 PM Bug #5535 (Closed): test/psych/test_yamldbm.rb, test/syck/test_yamldbm.rb のDBM内部構造の順序に依存したテストがFailure
x86_64-linux, sparc-solaris2.10 での make test-all にて、以下のFailureが出ます。
YAML::DBM#shift の rdoc によると、
> The order in w...
ngoto (Naohisa Goto)
09:23 PM Feature #5521: Numeric#rational?、Numeric#complex?、Numeric#float? の追加
> > complex? も同様です。
>
>
> complex?が偽になるのはどういう場合ですか?
>
> real?を作らず、complex?を作る理由は?

CL の complexp は、...
tadf (tadayoshi funaba)
09:23 PM Feature #5521: Numeric#rational?、Numeric#complex?、Numeric#float? の追加
> > 特定のクラスと一対一対応するのでないのであれば意味があるよう
> > な気がします。この場合 1.0 に対して integer? が真を返すので
> > あれば、1.0にかなり近い値、たとえば 1.0 / 3.0 *...
tadf (tadayoshi funaba)
09:53 AM Feature #5521: Numeric#rational?、Numeric#complex?、Numeric#float? の追加
むらたです。

(2011.11.01 04:04 ), Yukihiro Matsumoto wrote:
> |別の考えとして、Scheme のような述語に仕様変更する考えもあります。その場
> |合、クラスを見...
mrkn (Kenta Murata)
07:53 AM Feature #5521: Numeric#rational?、Numeric#complex?、Numeric#float? の追加
ふなばさん

> complex? も同様です。


complex?が偽になるのはどういう場合ですか?

real?を作らず、complex?を作る理由は?
--
Tomoaki NISHIYAMA

Ad...
Anonymous
04:23 AM Feature #5521: Numeric#rational?、Numeric#complex?、Numeric#float? の追加
まつもと ゆきひろです

In message "Re: [ruby-dev:44720] [ruby-trunk - Feature #5521][Open] Numeric#rational?、Numeric#compl...
matz (Yukihiro Matsumoto)
09:14 PM Feature #5321 (Assigned): Introducing Numeric#exact? and Numeric#inexact?
maybe miss operation tarui (Masaya Tarui)
12:52 PM Feature #5321 (Rejected): Introducing Numeric#exact? and Numeric#inexact?
mrkn (Kenta Murata)
12:32 AM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
Kenta Murata wrote:
> Alexey Muranov wrote:
> > In my opinion, checking `x.class.exact?` would be good enough.
>
> I...
alexeymuranov (Alexey Muranov)
09:00 PM Feature #4976 (Feedback): Pathname#=~ が undef されている理由
akr (Akira Tanaka)
08:58 PM Bug #4934 (Closed): winsock listen backlog may only be set once, and is set to 5
akr (Akira Tanaka)
08:53 PM Bug #5525: UDPSocket#bind(ip, port) fails under IPv6 => Errno::EAFNOSUPPORT
2011/11/1 Iñaki Baz Castillo <[email protected]>:
>
> Thanks a lot. But why is it required just for UDP? In TCP I can...
akr (Akira Tanaka)
12:36 PM Bug #5525: UDPSocket#bind(ip, port) fails under IPv6 => Errno::EAFNOSUPPORT
Thanks a lot. But why is it required just for UDP? In TCP I can use "TCPServer.new some_ipv6, port" with no problem. ... ibc (Iñaki Baz Castillo)
04:57 AM Bug #5525 (Rejected): UDPSocket#bind(ip, port) fails under IPv6 => Errno::EAFNOSUPPORT
=begin
You need to create an AF_INET6 UDP socket to bind to a UDP address:
$ ruby -vr 'socket' -e 'u = UDPSocke...
drbrain (Eric Hodel)
08:04 PM Feature #5534 (Rejected): Redefine Range class and introduce RelativeNumeric and RelativeRange
I started by commenting on Feature #4541, but ended up with proposing a new feature myself.
I suggest to redefine ...
alexeymuranov (Alexey Muranov)
03:52 PM Revision aea9c733 (git): * test/psych/test_yamldbm.rb: avoid platform dependency.
patch by Naohisa Goto. [ruby-dev:44763] [Bug #5535]
* test/syck/test_yamldbm.rb: ditto.
git-svn-id: svn+ssh://ci.rub...
ayumin (Ayumu AIZAWA)
03:21 PM Revision ebbd0df5 (git): * 2011-11-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:21 PM Revision 8188057b (git): * test/ruby/test_marshal.rb: renamed methods duplicated with those
of marshaltestlib.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
02:55 PM Feature #4969: Subtle issue with require
hi, abbrev.rb is not part of wedge. I just used 'abbrev.rb' as an easy to understand example of the potential problem... trans (Thomas Sawyer)
02:24 PM Feature #4969: Subtle issue with require
Why not put `abbrev.rb` into `lib/wedge`, and then call `require 'wedge/abbrev'` ? I thought it is standard way. funny_falcon (Yura Sokolov)
02:53 PM Feature #4890: Enumerable#lazy
Akinori MUSHA wrote:
> > It sounds fine for me, but I don't think Enumerable (or Enumerator) should have methods of ...
shugo (Shugo Maeda)
01:08 PM Feature #4890: Enumerable#lazy
> It sounds fine for me, but I don't think Enumerable (or Enumerator) should have methods of Array such as [] and siz... knu (Akinori MUSHA)
11:57 AM Feature #4890: Enumerable#lazy
One more question.
Shugo Maeda wrote:
> Akinori MUSHA wrote:
> > My suggestion is to turn Enumerator into a lazy...
shugo (Shugo Maeda)
10:12 AM Feature #4890: Enumerable#lazy
Akinori MUSHA wrote:
> My suggestion is to turn Enumerator into a lazy stream and make every Enumerable class includ...
shugo (Shugo Maeda)
02:44 PM Bug #5532: Compile problem for bigdecimal on cygwin
The following error is the matter of this issue.
> /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../i686-pc-cygwin/bi...
mrkn (Kenta Murata)
02:26 PM Bug #5532: Compile problem for bigdecimal on cygwin
mkmf.log attached. Hope this helps.
The pre-installed version of ruby, used as 'baseruby' I guess, is indeed 1.8.7...
duerst (Martin Dürst)
01:43 PM Bug #5532: Compile problem for bigdecimal on cygwin
> linking static-library libruby191-static.a
Is your ruby really version 1.8.7?
mrkn (Kenta Murata)
01:40 PM Bug #5532: Compile problem for bigdecimal on cygwin
Please attach your mkmf.log.
mrkn (Kenta Murata)
01:33 PM Bug #5532 (Closed): Compile problem for bigdecimal on cygwin
I tried to complile the current trunk on cygwin. However, I got a compile problem in 'bigdecimal'.
It says (see belo...
duerst (Martin Dürst)
01:08 PM Revision b9a7f8b4 (git): * configure.in: reject llvm-gcc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:52 PM Feature #5520 (Rejected): Numeric#exact?、Numeric#inexact? の追加
mrkn (Kenta Murata)
11:23 AM Feature #5520: Numeric#exact?、Numeric#inexact? の追加
(2011.10.31 22:36 ), Yusuke Endoh wrote:
> というところで議論のまとめ役を mrkn さんにパスしていい?

了解しまじた。

続きは #5321 でやりましょう。この ...
mrkn (Kenta Murata)
03:53 AM Feature #5520: Numeric#exact?、Numeric#inexact? の追加
まつもと ゆきひろです

#5321でBigDecimalはexactかinexactかという議論が出ているようで
すが、そちらでの結論が出れば私は反対しません。このissueは重複
になりますので、以後はあちらで話...
matz (Yukihiro Matsumoto)
12:43 PM Revision f0bd6396 (git): * io.c (rb_cloexec_pipe): remove workaround of r33587.
The bug of NetBSD is fixed on Mon Oct 31 21:31:29 UTC 2011.
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?numb...
naruse (Yui NARUSE)
10:49 AM Revision 809006f4 (git): * io.c (rb_io_reopen): call rb_fd_fix_cloexec instead of
rb_maygvl_fd_fix_cloexec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:01 AM Revision 89a12581 (git): * io.c (rb_io_reopen): call rb_maygvl_fd_fix_cloexec after freopen().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:17 AM Revision c882b8e8 (git): * file.c (file_expand_path): reset coderange after expanding path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:09 AM Feature #5481: Gemifying Ruby standard library
=begin
> While I like your proposal, I really don't see point, why it should be disabled to uninstall the "default" ...
drbrain (Eric Hodel)
07:05 AM Feature #5481: Gemifying Ruby standard library
Hiroshi Nakamura wrote:
> * Uninstalling 'default gems' should be blocked to avoid confusion. RubyGems bundled with...
vo.x (Vit Ondruch)
05:56 AM Revision f9269809 (git): * io.c (nogvl_io_cntl): rb_cloexec_fcntl_dupfd's 2nd argument is int.
* process.c (move_fds_to_avoid_crash): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33602 b2dd03c8-39d4-...
naruse (Yui NARUSE)
05:06 AM Bug #5530 (Feedback): SEEK_SET malfunctions when used with 'append' File.open mode
kosaki (Motohiro KOSAKI)
05:06 AM Bug #5530: SEEK_SET malfunctions when used with 'append' File.open mode
The code is correct. Ruby's append mode is derived from C and C's append mode mean "ignore file position".
Which doc...
kosaki (Motohiro KOSAKI)
04:20 AM Bug #5530 (Closed): SEEK_SET malfunctions when used with 'append' File.open mode
The following code demonstrates the issue. As documented, IO#seek says "SEEK_SET" will move to a position relative to... jduck (Joshua J. Drake)
04:31 AM Revision cd3445ca (git): * vsnprintf.c (BSD_vfprintf): support 'll' prefix.
* vsnprintf.c (__sfeof): rename to avoid the collision with NetBSD's
one.
* vsnprintf.c (__sferror): ditto.
* vsn...
naruse (Yui NARUSE)
03:37 AM Revision b7d39734 (git): * internal.h (rb_maygvl_fd_fix_cloexec): change the visibility for
ext/socket.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:04 AM Revision 1bbae243 (git): add comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:04 AM Revision c16f98ab (git): * io.c (rb_maygvl_fd_fix_cloexec): renamed from fd_set_cloexec.
* internal.h (rb_maygvl_fd_fix_cloexec): declared.
* ext/socket/init.c (cloexec_accept): use rb_maygvl_fd_fix_cloexe...
akr (Akira Tanaka)
02:53 AM Bug #5524: IO.wait_for_single_fd(closed fd) sticks on other than Linux
小崎です

ええと、なるせさんの論旨がいまいちまだ把握できてない気がするのですが・・・・

> r31428 で、test_wait_for_invalid_fd ってテストを追加しており、
> IO.wait_...
kosaki (Motohiro KOSAKI)
12:42 AM Revision 632f4488 (git): On some platforms, object_id can be negative value like NetBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:22 AM Feature #5528 (Closed): OO API for tracing
It would be nice to see a better API for "set_trace_func" functionality.
I wrote a fairly simple library to do thi...
trans (Thomas Sawyer)
12:08 AM Bug #5527 (Closed): set_trace_func binding incorrect
set_trace_func seems to be broken. I traced the issue to the binding
(`b` below).
```
$ cat t.rb
fn = lam...
trans (Thomas Sawyer)
12:02 AM Bug #5526 (Closed): SEGV: ./ruby -rfiber -ve'f=Fiber.new{f.resume};f.transfer'
FreeBSD 9 にて、./ruby -rfiber -ve'f=Fiber.new{f.resume};f.transfer' で SEGV します。
他のプラットフォームでも dead fiber call 例外なのはおかしく...
naruse (Yui NARUSE)

10/31/2011

11:59 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
>But I don't mean that I'm against the proposal. I think the proposal is fine even if it is different from Scheme's. ... tadf (tadayoshi funaba)
11:54 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
Alexey Muranov wrote:
> In my opinion, checking `x.class.exact?` would be good enough.
I don't think so for two r...
mrkn (Kenta Murata)
11:53 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
Hello,

2011/10/31 tadayoshi funaba <[email protected]>:
> i've taken those from scheme.
> scheme's one ...
mame (Yusuke Endoh)
11:29 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
Hello,

2011/10/31 Kenta Murata <[email protected]>:
> I want to create a mathematical function which behaves ...
mame (Yusuke Endoh)
11:13 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
Kenta Murata wrote:
> So I want to raise Math::DomainError for the function with exact zero.
> But I don't want to r...
alexeymuranov (Alexey Muranov)
10:55 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
Yusuke Endoh wrote:
> Can you show any actual use case?
I want to create a mathematical function which behaves li...
mrkn (Kenta Murata)
10:54 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
i've proposed this before 1.9.
and i've virtually used those predicates in Complex/Rational internally.
i've take...
tadf (tadayoshi funaba)
10:32 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
Charles Nutter wrote:
> Why is BigDecimal considered inexact?
As Alexey pointed out, the reason is from BigDecima...
mrkn (Kenta Murata)
10:21 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
I misread the proposal, it was actually about adding instance `Numeric#exact?` method, and not class `Numeric.exact?`... alexeymuranov (Alexey Muranov)
09:55 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
Hello,
2011/9/14 Kenta Murata <[email protected]>:
> Now, Ruby's numeric classes doesn't provide predicators to i...
mame (Yusuke Endoh)
09:13 PM Feature #5321 (Assigned): Introducing Numeric#exact? and Numeric#inexact?
Oops, sorry, I've closed this ticket by error. Reopen.
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
09:10 PM Feature #5321 (Rejected): Introducing Numeric#exact? and Numeric#inexact?
#5321 と重複です。あちらで議論しましょう。
あちらの議論がまとまった上での作業は大歓迎です。
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
08:23 PM Feature #5321: Introducing Numeric#exact? and Numeric#inexact?
On 30/10/11 12:29, Alexey Muranov wrote:
>
> Issue #5321 has been updated by Alexey Muranov.
>
>
> Char...
regularfry (Alex Young)
11:53 PM Feature #5520: Numeric#exact?、Numeric#inexact? の追加
高尾です。

On 2011/10/31, at 6:36, Yusuke Endoh wrote:

> 遠藤です。
>
> 2011年10月31日22:26 Kouji Takao <[email protected]...
kouji (Kouji Takao)
10:53 PM Feature #5520: Numeric#exact?、Numeric#inexact? の追加
mame (Yusuke Endoh)
10:53 PM Feature #5520: Numeric#exact?、Numeric#inexact? の追加
#5321

http://redmine.ruby-lang.org/issues/5321
Introducing Numeric#exact? and Numeric#inexact?

> Numeric#rat...
Anonymous
10:26 PM Feature #5520: Numeric#exact?、Numeric#inexact? の追加
=begin
Yusuke Endoh wrote:
> チケットの提案内容が #5321 と重複しているためです。
> (もし異なるのなら、相違点を明示してください)
この部分だけコメントします。
私は#5320(本チ...
kouji (Kouji Takao)
10:12 PM Feature #5520 (Assigned): Numeric#exact?、Numeric#inexact? の追加
チケットの提案内容が #5321 と重複しているためです。
(もし異なるのなら、相違点を明示してください)
内容的に否定しているわけではないです。
同じ提案に関する議論の拡散を避けるために閉じようと思いました。
どうしても...
mame (Yusuke Endoh)
09:58 PM Feature #5520: Numeric#exact?、Numeric#inexact? の追加
Rejectされる意味がわからない tadf (tadayoshi funaba)
09:56 PM Feature #5520: Numeric#exact?、Numeric#inexact? の追加
ええと、無言で reopen されたのはどういう意図でしょうか。
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
09:36 PM Feature #5520 (Open): Numeric#exact?、Numeric#inexact? の追加
tadf (tadayoshi funaba)
09:10 PM Feature #5520 (Rejected): Numeric#exact?、Numeric#inexact? の追加
#5321 と重複です。あちらで議論しましょう。
あちらの議論がまとまった上での作業は大歓迎です。
--
Yusuke Endoh <[email protected]>
mame (Yusuke Endoh)
08:32 PM Feature #5520 (Rejected): Numeric#exact?、Numeric#inexact? の追加
暫く様子を見て特に反対がなければ決定します。
今の raitonal や complex の実装は、将来この述語が導入される事を期待して
実装しておいたので、その切り換えも含めて作業します。
tadf (tadayoshi funaba)
11:27 PM Feature #5427: Not complex patch to improve `require` time (load.c)
Made some changes to load.c patch https://gist.github.com/1272991 :
- made it configurable with RUBY_LOADED_FEATURES...
funny_falcon (Yura Sokolov)
11:26 PM Revision 5dbc3d1e (git): * ext/socket/init.c (cloexec_accept): new function to use accept4 if
available.
(rsock_s_accept_nonblock): use cloexec_accept.
(accept_blocking): ditto.
* ext/socket/extconf.rb: che...
akr (Akira Tanaka)
11:24 PM Revision 24176a8d (git): add comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:23 PM Bug #5525 (Rejected): UDPSocket#bind(ip, port) fails under IPv6 => Errno::EAFNOSUPPORT
This bug can be reproduced in Ruby 1.8 as well.
The following script shows that UDPSocket#bind fails (Errno::EAFNO...
ibc (Iñaki Baz Castillo)
10:32 PM Revision 7ae60a6b (git): * ext/socket/ancdata.c (nogvl_recvmsg_func): use MSG_CMSG_CLOEXEC if
available.
* ext/socket/unixsocket.c (recvmsg_blocking): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
akr (Akira Tanaka)
10:23 PM Feature #2968: 数値の正負を返すメソッド
#5523 でも Numeric#sign が提案されてますね。
positive? や negative? は複素数に対応できないという #5513 でのまつもとさんの意見は確かに尤もだと思いました。
分かってないのは Co...
mrkn (Kenta Murata)
10:15 PM Feature #5523: Numeric#sign の追加
#2968 の重複なので閉じます naruse (Yui NARUSE)
09:55 PM Feature #5523: Numeric#sign の追加
負の零を見分けるのが主眼になっているので、0 も 1 になる事を考えています。
複素数はエラーを考えています。
Common Lisp の signum は複素数にも値を返しますが、これはちょっと望んで
いるのと違いますね。...
tadf (tadayoshi funaba)
09:16 PM Feature #5523: Numeric#sign の追加
0 については勿論 0 を返すのですよね。
http://ja.wikipedia.org/wiki/%E7%AC%A6%E5%8F%B7%E9%96%A2%E6%95%B0
複素数についてはどうですか。一般には z/|z...
hasari (Hiro Asari)
09:02 PM Feature #5523 (Closed): Numeric#sign の追加
負の零なども含め正しく符号を判断するために必要です。実際、complex や
lib/cmath.rb などの中ではこのような判断が必要ですが、標準では提供されて
いないため、不自然なものになっています。
値は-1か+1のい...
tadf (tadayoshi funaba)
09:34 PM Feature #5514: Numeric への quotient と quotrem の追加
丸めの方向の問題なので、ruby の場合 floor、ceil、truncate、round がある
ことから、4つのパターンが有り得ると思います。ruby の div-mod は、floor
系と考えればいいと思います。実際、C...
tadf (tadayoshi funaba)
10:29 AM Feature #5514: Numeric への quotient と quotrem の追加
対称性とか一貫性とか以外にquotientとquoremがあると嬉しい局面っ
てのは具体的に例示できますか?
matz (Yukihiro Matsumoto)
09:31 PM Bug #5524 (Closed): IO.wait_for_single_fd(closed fd) sticks on other than Linux
r31428 で、test_wait_for_invalid_fd ってテストを追加しており、
IO.wait_for_single_fd(close 済みの fd) が EBADF になることを確認しているのですが、
これ単体で...
naruse (Yui NARUSE)
09:03 PM Feature #5513 (Rejected): Numeric へ述語語の追加
tadf (tadayoshi funaba)
10:27 AM Feature #5513: Numeric へ述語語の追加
まつもと ゆきひろです
In message "Re: [ruby-dev:44708] [ruby-trunk - Feature #5513][Open] Numeric へ述語語の追加"
on Sun, 30 O...
matz (Yukihiro Matsumoto)
09:01 PM Revision ee5ae134 (git): * ext/socket/socket.c (rsock_socketpair): use SOCK_CLOEXEC if
available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:54 PM Feature #5522 (Feedback): Numeric#finite?、Numeric#infinite?、Numeric#nan? の追加
一部のクラスでしか意味がない、という意見もありますが、無限大かどうかを
調べる正しいやり方は、今のところ他にないように思います。今のところ、決
め打ちするか、まずは respond_to? で述語があるかどうか確認するなどの真っ
...
tadf (tadayoshi funaba)
08:50 PM Feature #5521 (Feedback): Numeric#rational?、Numeric#complex?、Numeric#float? の追加
今のところ Common Lisp の rationalp などに似た仕様を考えています。
rational? は Integer や Rational に対しても真になります。float? は組み
込みに関しては Float だ...
tadf (tadayoshi funaba)
08:23 PM Feature #4890: Enumerable#lazy
I prefer to_lazy and to_a instead of delay and force

PS:
Here some student's code from
http://rails.vsevteme.ru...
greck (Artem Vorozhtsov)
05:52 PM Feature #4890: Enumerable#lazy
My suggestion is to turn Enumerator into a lazy stream and make every Enumerable class including the new Enumerator o... knu (Akinori MUSHA)
02:39 PM Feature #4890: Enumerable#lazy
Akinori MUSHA wrote:
> The idea of laziness can be or should be sublimated into a revamp of the Enumerable framework...
shugo (Shugo Maeda)
02:27 PM Feature #4890: Enumerable#lazy
One thing I should comment on the sample implementation: Enumerable::Lazy should not inherit from Enumerator which in... knu (Akinori MUSHA)
02:16 PM Feature #4890: Enumerable#lazy
The idea of laziness can be or should be sublimated into a revamp of the Enumerable framework.
- Make every Enumer...
knu (Akinori MUSHA)
12:04 PM Feature #4890: Enumerable#lazy
Please consider:
* http://github.com/rubyworks/facets/blob/master/lib/core/facets/enumerable/defer.rb
* http://gi...
trans (Thomas Sawyer)
11:58 AM Feature #4890: Enumerable#lazy
Shugo Maeda wrote:
> FYI, Scala has a similar method called view. I don't know whether
> the name view is better t...
shugo (Shugo Maeda)
11:48 AM Feature #4890: Enumerable#lazy
Hi,
Yutaka HARA wrote:
> require 'prime'
> INFINITY = 1.0 / 0
> p (1..INFINITY).lazy.map{|n| n**2+1}.s...
shugo (Shugo Maeda)
06:05 PM Revision 17f068b6 (git): * 2011-11-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:05 PM Revision 9b8aca6a (git): * ruby.c (load_file_internal): convert the encoding of load path if
needed by platform. calling open() was replaced by rb_cloexec_open()
at r33549, but the function expected UTF-8 pa...
U.Nakamura
03:06 PM Bug #2097: fork NotImplementedError on FreeBSD
Borys Kuzikov wrote:
> Hey, anybody! Hack this bug!
Use 7.2 or later.
naruse (Yui NARUSE)
02:51 PM Bug #2097: fork NotImplementedError on FreeBSD
Hey, anybody! Hack this bug! Potapuff (Borys Kuzikov)
02:49 PM Revision 8ce4a284 (git): * ext/socket/socket.c (rsock_socketpair): extracted from
rsock_sock_s_socketpair.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:38 PM Revision 1a8fbff3 (git): * ext/socket/init.c (rsock_socket): use SOCK_CLOEXEC if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:50 PM Revision 6a96646d (git): Fix previous commit (r33586).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:21 PM Revision ca6311b0 (git): * io.c (rb_cloexec_pipe): NetBSD 6.0 will support pipe2(2),
but its return value is -1 or larger than 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33587 b2dd03c8-39d4-...
naruse (Yui NARUSE)
01:07 PM Revision a16c2745 (git): * ext/dbm/dbm.c (fdbm_initialize): use O_CLOEXEC if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:49 PM Revision 1a70dfe6 (git): * include/ruby/intern.h (rb_fd_fix_cloexec): renamed from
rb_fd_set_cloexec.
* io.c: follow the above renaming.
* ext/pty/pty.c: ditto.
* ext/socket/init.c: ditto.
* ext/s...
akr (Akira Tanaka)
12:03 PM Revision 6533f070 (git): * lib/resolv.rb (Resolv::DNS): retry IO.select for premature wakeup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:17 AM Revision 687c41dc (git): * io.c (fd_set_cloexec): clear CLOEXEC flag for standard file
descriptors.
(rb_cloexec_dup): use rb_cloexec_fcntl_dupfd.
(rb_cloexec_fcntl_dupfd): use F_DUPFD_CLOEXEC if avail...
akr (Akira Tanaka)
10:27 AM Bug #5519: Enumerator#next skips c-return hooks
=begin
This trace seems correct to me. There is no c-return because Array#each and Enumerator#each are not returning...
kernigh (George Koehler)
06:26 AM Bug #5519 (Rejected): Enumerator#next skips c-return hooks
In some cases, especially using #next, c-calls are traced, but corresponding c-returns are not.
tracing this snipp...
YenTheFirst (T S)
10:15 AM Revision c4dd8ca7 (git): * test/resolv/test_dns.rb: don't check maximum sleeped time.
ruby doesn't guarantee the maximum time because it is not a
realtime application.
git-svn-id: svn+ssh://ci.ruby-...
akr (Akira Tanaka)
09:31 AM Bug #5236: Including a module in a superclass after it has been included in a subclass leads to infinite recursion if the module uses `super`
This bug causes a lot of trouble for RSpec developers and end users alike:
https://github.com/rspec/rspec-rails/issu...
pda (Paul Annesley)
07:53 AM Feature #5474: keyword argument
On 30 October 2011 11:10, Yusuke Endoh <[email protected]> wrote:
> Hello,
>
> Koichi told me that I can commit my patch...
Eregon (Benoit Daloze)
07:53 AM Feature #3187: Allow dynamic Fiber stack size
Quick comments.

* JVM can specify per-thread stack size but always in bytes. Any API that
exposes stack size sho...
headius (Charles Nutter)
01:23 AM Feature #3187: Allow dynamic Fiber stack size
Hi,
I agree with this proposal. Also add same parameter setting feature for
Thread.
However, I can't make goo...
ko1 (Koichi Sasada)
07:11 AM Feature #5361: Lice?
Ruby 1.9.3 has been released with the method spelt byteslice. I suspect it will make this spelling change less likely... agrimm (Andrew Grimm)
04:16 AM Revision b2a1af15 (git): * win32/win32.c (setfl): extract from fcntl().
* win32/win32.c (dupfd): new function to support F_DUPFD. base on a
patch written by akr.
* win32/win32.c (fcntl):...
U.Nakamura
03:39 AM Revision 92a8bfac (git): * ext/pty/pty.c (get_device_once): use O_CLOEXEC for posix_openpt if
available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:07 AM Revision da5ae554 (git): * io.c (rb_cloexec_dup2): check oldfd == newfd at first.
pointed by KOSAKI Motohiro. [ruby-dev:44713]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33579 b2dd03c8-39d4...
akr (Akira Tanaka)
01:52 AM Revision bdc85361 (git): * io.c (rb_cloexec_fcntl_dupfd): this function needs F_DUPFD.
* io.c (nogvl_io_cntl): use rb_cloexec_fcntl_dupfd() only if the
platform has F_DUPFD.
git-svn-id: svn+ssh://ci.r...
U.Nakamura
12:53 AM Bug #5407: Cannot build ruby-1.9.3-rc1 with TDM-GCC 4.6.1 on Windows XP SP3
Hello,
Closed this issue by mistake. This is solved now by r33577 on trunk.
Will request backport to 1.9.3
T...
luislavena (Luis Lavena)
12:36 AM Bug #5517 (Closed): Unable to build trunk/ruby_1_9_3 with Windows SDK for Windows 7
While attempting to build with Windows SDK for Windows 7 (7.1), 7.1.7600.0.30514 I get the following error:
C:\Use...
jonforums (Jon Forums)
 

Also available in: Atom