Project

General

Profile

Activity

From 11/05/2011 to 11/11/2011

11/11/2011

11:18 PM Bug #5619 (Closed): Segfault on OS X
When I run 'roadie' gem specs on OS X, Ruby 1.9.3p0 segfaults.
Here's how to reproduce:
$ rvm use 1.9.3
$ git ...
mutru (Otto Hilska)
10:49 PM Bug #5618 (Closed): Exceptions cause DRb connection to be closed
If an exception is thrown in a DRb server of a class that is not defined in the client process, the DRb connection is... larsch (Lars Christensen)
10:12 PM Feature #5617 (Assigned): Allow install RubyGems into dediceted directory
Hello,
I would like to propose my patch, which allows to optionally install RubyGems library into dedicated direct...
vo.x (Vit Ondruch)
07:51 PM Feature #5534: Redefine Range class and introduce RelativeNumeric and RelativeRange
I have just discovered that there is Range#cover? method which works how i would expect Range#include? to work. ... alexeymuranov (Alexey Muranov)
06:38 PM Feature #5607: Inconsistent reaction in Range of String
Anonymous wrote:
> Yes, but if "X < AB" is false, "X" should not be *between* "A" and "AB".
>
> _md
I agree. `(...
alexeymuranov (Alexey Muranov)
04:23 AM Feature #5607: Inconsistent reaction in Range of String
Yes, but if "X < AB" is false, "X" should not be *between* "A" and "AB".

_md

-----Message d'origine-----
De ...
Anonymous
02:14 AM Feature #5607: Inconsistent reaction in Range of String
This behavior of range seems consistent with
"X"<"AB" # => false
in Ruby 1.9.3.
alexeymuranov (Alexey Muranov)
06:33 PM Bug #5616 (Closed): * /lib/net/imap.rb exception in IMAP.new when get_response returns nil
The error occurred in ruby 1.8.7 when connecting to a buggy IMAP server. The error message was: Undefined method 'nam... boelen (Edsard Boelen)
05:02 PM Bug #5615 (Rejected): A memory leak in hash.c on Solaris (and every environment which defines __sun)
putenv(3)は引数で与えたポインタをそのまま使うので、この時点では解放することができません。
ちなみに、該当部分の少し上で(現時点のtrunkなら2297行目)
if (!in_origenv(str)) free...
usa (Usaku NAKAMURA)
02:56 PM Bug #5615 (Rejected): A memory leak in hash.c on Solaris (and every environment which defines __sun)
Reproducing steps: I didn't test the patch. Please do.
Result of `ruby -v`: ruby 2.0.0dev (2011-11-11 trunk 33704) [...
Anonymous
04:50 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
Nobuyoshi Nakada wrote:
> You should use RbConfig::CONFIG["LIBPATHENV"] instead of hardcoded "LD_LIBRARY_PATH".
S...
Anonymous
02:24 AM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
You should use RbConfig::CONFIG["LIBPATHENV"] instead of hardcoded "LD_LIBRARY_PATH". nobu (Nobuyoshi Nakada)
02:17 PM Bug #5614 (Closed): Proc#source_location & #inspect shows wrong line number when chained
When procs are chained, the line number for each proc is mis-calculated to be the 1st proc's line-number.
Eg.
...
ngtzeyang (TzeYang Ng)
02:01 PM Revision db48bbdf (git): * ext/dbm/extconf.rb: db_prefix is not required now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:21 PM Feature #5613 (Closed): Signal.termsigname メソッドの追加
現状、$?.termsigでシグナル番号が得られますが番号なんかもらってもちっとも嬉しくなく、
(シグナル番号はポータブルじゃないから)結局
signame = Signal.list.invert[$?.termsig]
...
kosaki (Motohiro KOSAKI)
01:12 PM Feature #5612: bootstraptestをCtrl-Cで止まるようにしたい
バグってた。こうかな?
diff --git a/bootstraptest/runner.rb b/bootstraptest/runner.rb
index df58ca5..eaed292 100755
--- a/b...
kosaki (Motohiro KOSAKI)
11:07 AM Feature #5612 (Closed): bootstraptestをCtrl-Cで止まるようにしたい
タイトルのとおりですが、make test が途中でやめたくなっても(テストを始めた所でバグに気づくとかよくありますよね?)
Ctrl-Cが効かなくてイライラします。
ようするにSEGVを 'E' にするために、握りつぶしてる...
kosaki (Motohiro KOSAKI)
12:14 PM Revision 268f6c36 (git): * ext/gdbm/gdbm.c (fgdbm_initialize): use GDBM_CLOEXEC if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:03 PM Revision 266d0983 (git): * ext/dbm/extconf.rb: fix dbm_pagfno and dbm_dirfno detection with
Berkeley DB. Macro definitions needs arguments to detect correctly.
SIZEOF_DSIZE needs -DDB_DBM_HSEARCH because db...
akr (Akira Tanaka)
11:08 AM Feature #5562: Improvement of Windows IO performance
> I checked "make test". It passed with no fails.
Good.
> Although I don't understand I/O canceling support mec...
usa (Usaku NAKAMURA)
10:48 AM Feature #5562: Improvement of Windows IO performance
> # BTW, did you check "make test"?
> # especially, bootstaptest/test_io.rb
I checked "make test". It passed wit...
h.shirosaki (Hiroshi Shirosaki)
10:12 AM Feature #5562 (Assigned): Improvement of Windows IO performance
Since this patch should repeal the existing I/O canceling support mechanism,
I am anxious about influence unexpected...
usa (Usaku NAKAMURA)
04:16 AM Feature #5562: Improvement of Windows IO performance
Hiroshi Shirosaki wrote:
> I'm not sure how to do with test-all. mingw ruby seems not to pass all tests.
That is ...
luislavena (Luis Lavena)
01:23 AM Feature #5562: Improvement of Windows IO performance
I'm not sure how to do with test-all. mingw ruby seems not to pass all tests.
Anyway I tried to make test-all.
If r...
h.shirosaki (Hiroshi Shirosaki)
09:42 AM Revision 6cedbce8 (git): * process.c (proc_seteuid): separate an internal wrapper function
from the method implementation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33707 b2dd03c8-39d4-4d8f-98ff-823f...
nobu (Nobuyoshi Nakada)
09:00 AM Feature #5588: add negation flag (v) to Regexp
Allow me to explain the current embedded negated regexp implementation.
When parsing an embedded negated regexp (?...
sunaku (Suraj Kurapati)
08:38 AM Feature #5588: add negation flag (v) to Regexp
I did it! ^_^ Please take a look:
https://github.com/sunaku/ruby/compare/5588_regexp_v
There are a few issues ...
sunaku (Suraj Kurapati)
08:40 AM Feature #5610: Allow strings as input for Process.uid=
The request looks make sense to me.
kosaki (Motohiro KOSAKI)
06:20 AM Feature #5610: Allow strings as input for Process.uid=
Oops, sorry. Not a bug, but a feature request. Hmm not sure how to change it ... shevegen (Robert A. Heiler)
06:19 AM Feature #5610 (Closed): Allow strings as input for Process.uid=
On my unix system I often have a "debug" user account, belonging to the "debug" group.
With:
Process.euid
...
shevegen (Robert A. Heiler)
08:21 AM Revision 214fd6ce (git): * lib/mkmf.rb (have_library, find_library, have_func): allow
arguments of function to be checked.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33706 b2dd03c8-39d4-4d8f-98f...
nobu (Nobuyoshi Nakada)
08:09 AM Revision 05e73548 (git): * vm_dump.c (HAVE_BACKTRACE): fallback to 0.
* vm_dump.c (rb_vm_bugreport): show "Other runtime information"
header only when available.
* vm_dump.c (rb_vm_bugr...
nobu (Nobuyoshi Nakada)
07:19 AM Bug #5611 (Closed): Segfault in net/http.rb
=begin
Running a rails app with ruby 1.9.3, rails 3.1.1, with omniauth 1.0.0 and omniauth-facebook 1.0.0, I get th...
ccocchi (Christopher Cocchi)
03:41 AM Revision 0d746627 (git): * io.c (pipe_open): Remove fflush(stdin). it's no effect.
Pointed out by Ikegami Daisuke <[email protected]>.
Thank you.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
kosaki (Motohiro KOSAKI)
03:35 AM Revision 688e1b34 (git): add comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

11/10/2011

11:44 PM Feature #5562: Improvement of Windows IO performance
Thank you and I will try `make test-all TESTS='-v'`
From my perspective, our challenge is to prove the patch works...
jonforums (Jon Forums)
03:24 PM Feature #5562: Improvement of Windows IO performance
Jon, thank you for your work.
I have same difficulty. I have two error dialogs while 'make test-all'. I have to clic...
h.shirosaki (Hiroshi Shirosaki)
06:52 AM Feature #5562: Improvement of Windows IO performance
I'm having a very difficult time getting you `make test-all` comparisons because of these types of failures
http...
jonforums (Jon Forums)
11:35 PM Revision da7cefb0 (git): * 2011-11-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:35 PM Revision 661a936e (git): * lib/net/http.rb (Net::HTTP::SSL_ATTRIBUTES): Use symbol keys instead
of string keys to avoid duplicating parameters in
OpenSSL::SSL:SSLContext#set_params.
git-svn-id: svn+ssh://ci.ru...
drbrain (Eric Hodel)
10:35 PM Bug #5608 (Open): make -j 16 sometimes fail
naruse (Yui NARUSE)
07:55 PM Bug #5608 (Assigned): make -j 16 sometimes fail
naruse (Yui NARUSE)
07:41 PM Bug #5608 (Closed): make -j 16 sometimes fail
configureの後make -j 大きい数字でコンパイルすると時々失敗するようです。
make -j 16で3回やって2回失敗でした。
(試行の度にrm -fr ruby-1.9.3-p0して再度展開しています)
2回目...
tomoakin (Tomoaki Nishiyama)
09:53 PM Feature #5607: Inconsistent reaction in Range of String
See #2323. In particular, in note 2, Matz acknowledges that the situation is muddled when it comes to Ranges specifie... hasari (Hiro Asari)
09:23 PM Feature #5607: Inconsistent reaction in Range of String
It should be forbidden to have a Class (here Range) whose instance
methods are linked by variable axiomatic relati...
Anonymous
08:12 PM Feature #5607: Inconsistent reaction in Range of String
Hi,
This is indeed surprising.
Range#to_a is calling Range#each which has a special case for Strings to call Stri...
Eregon (Benoit Daloze)
06:46 PM Feature #5607 (Closed): Inconsistent reaction in Range of String
=begin
When I tried to access excel file, I found some inconsistent behavior about range of string.
ruby-1.9.3-p...
maso (Yen-Nan Lin)
05:37 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
Bohuslav Kabrda wrote:
> I believe that I have found a solution to this problem. The proposed patch is in the attach...
Anonymous
05:19 PM Bug #5135: Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
Vit Ondruch wrote:
> Motohiro KOSAKI wrote:
> > > Actually I am building Ruby 1.9.3 from SRPM [1] in mock, i.e. usi...
Anonymous
05:19 PM Feature #5606: String#each_match(regexp)
長い配列中のモチーフの存在位置のリストを作りたいので、位置(offset)が必要です。
String#scan ではダメかというと
longstring.scan(regex) do |matchstr|
m...
tomoakin (Tomoaki Nishiyama)
02:48 PM Feature #5606: String#each_match(regexp)
String#scan ではダメな理由を、ユースケースを添えて示す必要があると思います。 naruse (Yui NARUSE)
02:36 PM Feature #5606 (Feedback): String#each_match(regexp)
文字列上の正規表現に一致する場所のoffsetを順に処理できるような
イテレータが欲しかったのですが、
ざっと検索すると1996年
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/rub...
tomoakin (Tomoaki Nishiyama)
01:08 PM Bug #5591: Windows bug when using "shortcut" syntax with output redirection
I can reproduce this issue with trunk on Windows XP.
The changeset r33692 solves this bug too.
On Windows XP, f...
phasis68 (Heesob Park)
12:46 PM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
よく見たら、fcntlのときに IOCPARM_LEN を呼んでるのはバグですね。ioctlのcmdしか IOCPARM_LEN でデコードできません。これが動くのはfcntlの引数にstring渡す人が一人もいなかったからでしょうね。 kosaki (Motohiro KOSAKI)
08:10 AM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
fcntl は全プラットフォーム int のようである。めでたい
== Linux
int fcntl(int fd, int cmd, ... /* arg */ );
https://www.kernel.org/doc...
kosaki (Motohiro KOSAKI)
07:37 AM Bug #5429: 64ビットなFreeBSDのioctlでビット31が1なリクエストの時の不具合
途中までやってみましたが、ioctlはunsigned longでもfcntl はintなので、もうちょっと工夫がいりますね。 kosaki (Motohiro KOSAKI)
12:29 PM Feature #5605: [PATCH] net/http: use IO.copy_stream for requests using body_stream
Eric Hodel <[email protected]> wrote:
> For the chunked? half, would looping over
> (({IO.copy_stream f, sock...
normalperson (Eric Wong)
10:47 AM Feature #5605: [PATCH] net/http: use IO.copy_stream for requests using body_stream
=begin
For the chunked? half, would looping over (({IO.copy_stream f, sock.io, 1024})) be faster?
=end
drbrain (Eric Hodel)
09:55 AM Feature #5605 (Closed): [PATCH] net/http: use IO.copy_stream for requests using body_stream
This significantly reduces both user and system CPU usage in the
client while making uploads. When using plain HTTP...
normalperson (Eric Wong)
11:39 AM Revision e68f4ac7 (git): add comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:23 AM Bug #5556: SIGHUP no longer ignored when sent to process group from a subprocess
> The use case is any reason someone would send a signal to the process group but not want the parent process to abo... kosaki (Motohiro KOSAKI)
03:27 AM Bug #5556: SIGHUP no longer ignored when sent to process group from a subprocess
The use case is any reason someone would send a signal to the process group but not want the parent process to abort.... brixen (Brian Shirai)
02:21 AM Bug #5556: SIGHUP no longer ignored when sent to process group from a subprocess
In addition, signal handler is per-process resource. iow, changing sighandler is thread unsafe. then, we don't want u... kosaki (Motohiro KOSAKI)
02:20 AM Bug #5556 (Feedback): SIGHUP no longer ignored when sent to process group from a subprocess
kosaki (Motohiro KOSAKI)
02:19 AM Bug #5556: SIGHUP no longer ignored when sent to process group from a subprocess
> Is this change intentional? I discovered it running RubySpec, where there are specs for the behavior of sending SIG... kosaki (Motohiro KOSAKI)
11:23 AM Feature #5341: Add SSL session reuse to Net::HTTP
On Oct 26, 2011, at 6:06 AM, Hiroshi Nakamura wrote:
> On 10/26/2011 11:39 AM, Eric Hodel wrote:
>> Net::HTTP obje...
drbrain (Eric Hodel)
10:32 AM Feature #5588: add negation flag (v) to Regexp
Alas, I was unable to resist the lure of implementing this, so I'm back to give this another try.
My current appro...
sunaku (Suraj Kurapati)
09:46 AM Feature #5588: add negation flag (v) to Regexp
After several deep excursions into the regexp codebase, I've had enough. :)
As Tanaka(!) showed in 2007, negative ...
sunaku (Suraj Kurapati)
08:37 AM Bug #5604 (Closed): Remove extra ":" in errors created by ossl_raise
Callers of ossl_raise do not need to provide a ":" at the end of the error string because ossl_raise calls ossl_make_... drbrain (Eric Hodel)
08:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Aaron Patterson <[email protected]> wrote:
> I spoke with matz about this issue at RubyConf. I *think* he ...
normalperson (Eric Wong)
06:43 AM Revision 6c9a2359 (git): * ext/dbm/extconf.rb: set DB_DBM_HSEARCH macro to check dbm_pagfno and
dbm_dirfno on older Debian.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33699 b2dd03c8-39d4-4d8f-98ff-823fe69b...
nobu (Nobuyoshi Nakada)
06:43 AM Revision fb1836ab (git): * ext/dbm/extconf.rb: check for dsize as LONG_LONG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:13 AM Revision fc5f37f0 (git): * lib/mkmf.rb (try_func): ignore empty opts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:02 AM Revision cfe220d8 (git): * lib/mkmf.rb (have_library, have_func, have_var, have_header):
add compiler option parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33696 b2dd03c8-39d4-4d8f-98ff-823fe...
nobu (Nobuyoshi Nakada)
05:56 AM Bug #5493: Commit r33357 breaks build on Debian/sparc
I've noticed that a failure to create a timer thread causes the following to appear in dmesg:
[ 2047.656289] FAULT...
jurij (Jurij Smakov)
02:22 AM Bug #5082 (Closed): test_context_switch(TestMarshal) was failed on OS X 10.7 (Lion)
llvm-gcc はサポートしないと決定されたほうですので、closeします kosaki (Motohiro KOSAKI)

11/09/2011

11:45 PM Revision a5fc87bd (git): * ext/openssl/lib/openssl/ssl.rb (class OpenSSL::SSL::SSLContext):
Document #set_params.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
09:23 PM Bug #5591: Windows bug when using "shortcut" syntax with output redirection
Couldn't reproduce with 2.0.0 r32684 on Windows 7. nobu (Nobuyoshi Nakada)
06:38 PM Feature #5588: add negation flag (v) to Regexp
You are correct, Tanaka. I have been exploring the regexp implementation to understand why and I learned that the ne... sunaku (Suraj Kurapati)
09:53 AM Feature #5588: add negation flag (v) to Regexp
2011/11/9 Suraj Kurapati <[email protected]>:

> * We can pass '(?v:)' in embedded regexp but it does not take ef...
akr (Akira Tanaka)
08:32 AM Feature #5588: add negation flag (v) to Regexp
I tried to implement this feature in this patch:
https://github.com/sunaku/ruby/commit/79305ba55c7ece5501c9219942eaf...
sunaku (Suraj Kurapati)
06:20 PM Feature #5578: Embedded YAML for Ruby 2.0
Count me in on the "Nay" side: I strongly agree with Nikolai's and Alexey's points. Ruby as a language is already quo... angdraug (Dmitry Borodaenko)
05:30 AM Feature #5578: Embedded YAML for Ruby 2.0
I think that when two different languages are used in a same source file, especially a whitespace sensitive one and a... alexeymuranov (Alexey Muranov)
05:23 AM Feature #5578: Embedded YAML for Ruby 2.0
On Tue, Nov 8, 2011 at 19:29, Thomas Sawyer <[email protected]> wrote:

> @kurt "Why does YAML need first class ...
now (Nikolai Weibull)
04:29 AM Feature #5578: Embedded YAML for Ruby 2.0
On Nov 8, 2011, at 15:29 , Thomas Sawyer wrote:

>
> Issue #5578 has been updated by Thomas Sawyer.
>
>
> @...
rkh (Konstantin Haase)
04:21 AM Feature #5578: Embedded YAML for Ruby 2.0
=begin
This is valid ruby code:
x = ---
a
This is valid YAML:
p YAML.load "---\na: -> { Time.now }...
drbrain (Eric Hodel)
03:29 AM Feature #5578: Embedded YAML for Ruby 2.0
@kurt "Why does YAML need first class status?"
On the surface it's just more elegant. e.g.
x = ---
...
trans (Thomas Sawyer)
01:23 AM Feature #5578: Embedded YAML for Ruby 2.0
On Tue, Nov 08, 2011 at 04:14:02AM +0900, Magnus Holm wrote:
> On Mon, Nov 7, 2011 at 16:30, Kurt Stephens <ks.rub...
Anonymous
05:10 PM Revision b5167b48 (git): * 2011-11-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:10 PM Revision 871c6923 (git): * thread_pthread.c (gvl_yield): don't prevent concurrent sched_yield().
[Bug #5130] [ruby-core:38647]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33693 b2dd03c8-39d4-4d8f-98ff-823f...
kosaki (Motohiro KOSAKI)
02:44 PM Bug #5571 (Rejected): Syntax Error when put String eql? with logical operation ("||") or "("&&")
Yes, because command call (method call without parentheses) has lower precedence than || operator. nobu (Nobuyoshi Nakada)
02:23 PM Revision c88d3561 (git): * io.c (rb_update_max_fd): fstat(2) can fail with other than
EBADF. [ruby-dev:44837] [Bug #5593]. Cf.
http://pubs.opengroup.org/onlinepubs/9699919799/functions/fstat....
nobu (Nobuyoshi Nakada)
02:20 PM Revision 1393e55d (git): * io.c (rb_update_max_fd): fstat(2) can fail with other than
EBADF. [ruby-dev:44837] [Backport #4339]. Cf.
http://pubs.opengroup.org/onlinepubs/9699919799/functions/fstat.htm...
nobu (Nobuyoshi Nakada)
01:54 PM Revision 42b4255d (git): * io.c (rb_sysopen): max fd is updated in rb_sysopen_internal()
already.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:26 PM Bug #5526 (Closed): SEGV: ./ruby -rfiber -ve'f=Fiber.new{f.resume};f.transfer'
This issue was solved with changeset r33684.
Yui, thank you for reporting this issue.
Your contribution to Ruby is gr...
ko1 (Koichi Sasada)
01:26 PM Revision 3f289d92 (git): add comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:15 PM Revision 7df246bd (git): * test/ruby/test_file.rb (TestFile#test_utime_with_minus_time_segv):
fixed previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:01 PM Bug #5598 (Feedback): man pages are in mdoc format
Doesn't `make install MANTYPE=man' work? nobu (Nobuyoshi Nakada)
11:40 AM Bug #5597 (Closed): ruby build isn't completely VPATH friendly
This issue was solved with changeset r33683.
Rainer, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
11:08 AM Revision 54cb6309 (git): * test/ruby/test_file.rb (TestFile#test_utime_with_minus_time_segv):
add test for r33685.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
10:48 AM Bug #5602 (Closed): io/console methods are not listed in top-level IO documentation
It's very hard to find the methods that apply to IO.console from the new 'io/console' library. mistydemeo (Misty De Meo)
10:32 AM Bug #5594 (Closed): test -e in configure is unportable
This issue was solved with changeset r33681.
Rainer, thank you for reporting this issue.
Your contribution to Ruby is...
nobu (Nobuyoshi Nakada)
10:25 AM Bug #5595 (Third Party's Issue): Avoid QUIET = NO in Doxyfile
nobu (Nobuyoshi Nakada)
10:02 AM Revision 0c215e34 (git): * test/ruby/test_fiber.rb: add tests for r33684 (Fiber#resume).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:41 AM Bug #5532: Compile problem for bigdecimal on cygwin
Yes, exactly. And the problem went away when I cd'd back to /cygdrive/c/Data/ruby/. Many thanks again! duerst (Martin Dürst)
08:37 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
I have updated the patch against ruby-trunk:
https://github.com/sunaku/ruby/commit/137092768af325827f3d0764325713ec5...
sunaku (Suraj Kurapati)
07:43 AM Revision 572e4807 (git): * win32/win32.c (unixtime_to_filetime): should check the return value
of localtime(). reported by snowjail at gmail.com.
[ruby-dev:44838] [Bug #5596]
git-svn-id: svn+ssh://ci.ruby-la...
U.Nakamura
04:26 AM Revision 9cd8b76e (git): * cont.c (rb_fiber_m_transfer, rb_fiber_resume): prohibit using
"resume" after "transfer" method are used. You should not mix
"resume" fiber and "transfer" fiber.
[Bug #5526]
*...
ko1 (Koichi Sasada)
02:47 AM Bug #5600 (Assigned): OpenSSL::X509::Request can't sign() an OpenSSL::PKey::EC
MartinBosslet (Martin Bosslet)
02:36 AM Bug #5600 (Closed): OpenSSL::X509::Request can't sign() an OpenSSL::PKey::EC
Unlike the PKey::DSA and PKey::RSA classes, PKey::EC provides a private_key?() rather than private?() method and is t... scaligo (Steve Caligo)
02:40 AM Revision b2c44e7a (git): * template/Doxyfile.tmpl (INCLUDE_PATH): add srcdir and include.
[ruby-core:40843] [Bug #5597]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33683 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
02:13 AM Bug #5524 (Closed): IO.wait_for_single_fd(closed fd) sticks on other than Linux
This issue was solved with changeset r33677.
Yui, thank you for reporting this issue.
Your contribution to Ruby is gr...
naruse (Yui NARUSE)
02:10 AM Bug #5524: IO.wait_for_single_fd(closed fd) sticks on other than Linux
Motohiro KOSAKI wrote:
> なるせさんのテストプロは selectのmaxfds引数が間違っているので、動かないのは期待通りではないでしょうか。以下の修正をあててFreeBSDで
> 動かしてもらえませんか
...
naruse (Yui NARUSE)
01:40 AM Bug #5524 (Feedback): IO.wait_for_single_fd(closed fd) sticks on other than Linux
kosaki (Motohiro KOSAKI)
01:40 AM Bug #5524: IO.wait_for_single_fd(closed fd) sticks on other than Linux
なるせさんのテストプロは selectのmaxfds引数が間違っているので、動かないのは期待通りではないでしょうか。以下の修正をあててFreeBSDで
動かしてもらえませんか
~/projects/test/select_eb...
kosaki (Motohiro KOSAKI)
02:06 AM Revision b10c3136 (git): * thread.c (do_select): fix cast, tv_sec is time_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:52 AM Feature #5562: Improvement of Windows IO performance
Still looking great! I'm working on getting you profiling info and `test all` results/diffs.
Results for text lin...
jonforums (Jon Forums)
01:32 AM Revision e120e375 (git): * configure.in: should not use test -e for portability.
[ruby-core:40841] [Bug #5594]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33681 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
01:32 AM Revision f9188dea (git): property
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
On Tue, Nov 08, 2011 at 06:59:38AM +0900, Eric Wong wrote:
> Yehuda Katz <[email protected]> wrote:
> > Bug #5138: ...
Anonymous

11/08/2011

11:37 PM Feature #5584: Array#sample!
パッチをちょっと改善しました. (see by_sorah.diff)
* Array#sample, Array#sample! で処理が共通な部分が多いため,内部にさらに関数呼び出しを加え,フラグによって
動作の分岐をする...
sorah (Sorah Fukumori)
10:53 PM Feature #5584: Array#sample!
まつもと ゆきひろです

In message "Re: [ruby-dev:44825] Re: [ruby-trunk - Feature #5584][Open] Array#sample!"
on Mon...
matz (Yukihiro Matsumoto)
09:52 PM Feature #5584: Array#sample!
確かにpickだけだと無作為に取り出す感じがありませんね。
pick_at_rand あるいは delete_at_rand はどうでしょう?
Glass_saga (Masaki Matsushita)
09:48 PM Feature #5584: Array#sample!
じゃあsample!になりますかねぇ...
pick からは少なくとも無作為抽出な動作を感じ取ることはできないですね.
sorah (Sorah Fukumori)
09:46 PM Feature #5584: Array#sample!
「無作為抽出」は random sampling という用語がありますので、多少長くても Enumerable#random_sampling(n) ぐらいが適切かと思います。
#sample! が駄目で、#random_sampl...
hasari (Hiro Asari)
08:53 PM Feature #5584: Array#sample!
むらたです。

(2011.11.08 15:39 ), Masaki Matsushita wrote:
> Mon, 7 Nov 2011 22:53:21 Yusuke Endoh <mame tsg.ne.jp>...
mrkn (Kenta Murata)
03:39 PM Feature #5584: Array#sample!
Mon, 7 Nov 2011 22:53:21 Yusuke Endoh <mame tsg.ne.jp>:
>sample! という名前が最大のネックのようですので、他の名前をえるといいと思います。
思いつくものとしてはp...
Glass_saga (Masaki Matsushita)
12:53 AM Feature #5584: Array#sample!
近藤です

> 配列からランダムに要素を取り出したい場合には
>
> a = (1..5).to_a
> a.delete_at(rand(a.size)) #=> 3
> p a #=> [1, 2, 4...
Anonymous
11:35 PM Bug #5598 (Closed): man pages are in mdoc format
Unfortunately, the ruby man pages are in mdoc format (as detected by grog).
The Solaris man/nroff commands cannot de...
ro (Rainer Orth)
11:33 PM Bug #5597 (Closed): ruby build isn't completely VPATH friendly
While a VPATH build of ruby 1.9.2-p290 on Solaris 10 basically worked fine, I got
a couple of warnings that could (...
ro (Rainer Orth)
11:29 PM Bug #5595 (Third Party's Issue): Avoid QUIET = NO in Doxyfile
When building ruby 1.9.2-p290 on Solaris 10, the build aborted very late:
Doxyfile updated
Warning: ignoring unsu...
ro (Rainer Orth)
11:25 PM Bug #5594 (Closed): test -e in configure is unportable
When I tried to build ruby 1.9.2-p290 on Solaris 10 (both SPARC and x86), it failed with an
error in the configure s...
ro (Rainer Orth)
09:38 PM Bug #5532: Compile problem for bigdecimal on cygwin
Hi,
I noticed that the problem started when you executed "cd /cygdrive/c/Data/Ruby"
instead of "cd /cygdrive/c/D...
phasis68 (Heesob Park)
07:25 PM Bug #5532 (Closed): Compile problem for bigdecimal on cygwin
Hello Heesob,
Many thanks for solving this problem. You are right that it is about case differences in the path na...
duerst (Martin Dürst)
01:01 AM Bug #5532: Compile problem for bigdecimal on cygwin
I managed to reproduce this issue and found that it is due to the capital letter in the path name.
If you use capi...
phasis68 (Heesob Park)
07:54 PM Revision 4c63e027 (git): * ext/psych/lib/psych/tree_builder.rb: dump complex numbers,
rationals, etc with reference ids.
* ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
* ext/psych/lib/psych/visitors/...
tenderlovemaking (Aaron Patterson)
06:32 PM Feature #5588: add negation flag (v) to Regexp
Hello Matz,
What do you mean by positional information:
* anchors (\A, ^, $, \G, etc.) ?
* capture-group numbe...
sunaku (Suraj Kurapati)
03:59 PM Feature #5588: add negation flag (v) to Regexp
I would suggest to deal with it a new (sub)class instead: arbitrary boolean combinations of regexps, without regard f... alexeymuranov (Alexey Muranov)
02:11 PM Feature #5588: add negation flag (v) to Regexp
How do you treat positional information with v flag? matz (Yukihiro Matsumoto)
01:54 PM Feature #5588: add negation flag (v) to Regexp
Good idea, but negative lookahead isn't the same as negation:
$ irb
## ruby 1.9.3p0 (2011-10-30 revision 33570) [...
sunaku (Suraj Kurapati)
11:53 AM Feature #5588: add negation flag (v) to Regexp
It is not to hard to negate a regexp, though. Simply wrap it as negative look-ahead.

Konstantin

On Nov 7, 2011...
rkh (Konstantin Haase)
11:04 AM Feature #5588: add negation flag (v) to Regexp
Note that I am not asking for the ability to take an arbitrary regexp and construct its negated form (that is a hard ... sunaku (Suraj Kurapati)
10:59 AM Feature #5588 (Closed): add negation flag (v) to Regexp
Please add a negation flag (v) to regexps which inverts them:
"ruby" =~ /perl/v #=> true (turn on negati...
sunaku (Suraj Kurapati)
06:00 PM Bug #5591 (Closed): Windows bug when using "shortcut" syntax with output redirection
How to reproduce:
---- snip ----
# test.rb
puts test
---- snip ----
Start Command Prompt with Ruby 1...
jwille (Jens Wille)
05:52 PM Bug #5497: Math.log10(10_000) error on HP-UX/PA
The Written Word Inc wrote:
> Yui NARUSE wrote:
> > The Written Word Inc wrote:
> > > (ia64)
> > > p Math....
naruse (Yui NARUSE)
05:13 PM Revision 7bb2da2e (git): * 2011-11-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:13 PM Revision 3d855def (git): FreeBSD 8.2 sticks this [ruby-dev:44726] [Bug #5524]
http://redmine.ruby-lang.org/issues/5524
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33677 b2dd03c8-39d4-4d8f-...
naruse (Yui NARUSE)
02:34 PM Revision 0e4c2ce8 (git): * ext/dbm/dbm.c (fdbm_fetch, fdbm_key, fdbm_delete, fdbm_store)
(fdbm_has_key, fdbm_has_value): get rid of overflow.
* ext/gdbm/gdbm.c (rb_gdbm_fetch2, rb_gdbm_nextkey)
(rb_gdbm_d...
nobu (Nobuyoshi Nakada)
02:31 PM Revision 4342469e (git): * addr2line.c (PATH_MAX): define if not defined. [ruby-core:40840]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:26 PM Revision ebe02802 (git): * ext/tk/tcltklib.c (rb_thread_critical): fix type.
* ext/tk/tcltklib.c (eventloop_sleep, lib_eventloop_core): int is
enough for micro seconds. may need to check over...
nobu (Nobuyoshi Nakada)
12:59 PM Feature #5590: Proposal for sustainable branch maintenance
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

(2011/11/08 0:25), Yugui wrote:
>>> == Proposal Let's paralle...
Anonymous
12:41 PM Feature #5590 (Closed): Proposal for sustainable branch maintenance
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

== Background
I have been maintaining ruby_1_9_1 and...
yugui (Yuki Sonoda)
12:43 PM Feature #5589 (Rejected): Re: Proposal for sustainable branch maintenance
Wrong ticket. See #5590 instead for this subject. nahi (Hiroshi Nakamura)
12:40 PM Feature #5589 (Rejected): Re: Proposal for sustainable branch maintenance
>> * Another committer review the request. This reviewer checks if this
>>   commit is good enough and backport i...
kosaki (Motohiro KOSAKI)
11:51 AM Revision ddb9acd9 (git): * test/dbm/test_dbm.rb: split tests for read only database.
* test/gdbm/test_gdbm.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33673 b2dd03c8-39d4-4d8f-98ff-8...
akr (Akira Tanaka)
11:33 AM Feature #5010: Add Slop(-like) in stdlib and deprecate current OptionParser API
Hi,
I'm the author behind Slop. Although I never considered Slop to ever hit Ruby trunk I of course think it's a g...
injekt (Lee Jarvis)
10:23 AM Feature #5562: Improvement of Windows IO performance
Looks great so far. More info and profiling snapshot tomorrow, but here's what I get so far on my Win7 32bit:
C:\p...
jonforums (Jon Forums)
07:16 AM Feature #5562: Improvement of Windows IO performance
Thank you for your help.
Previous patch have a bug of IO.copy_stream. So, many errors have occurred in rubygems an...
h.shirosaki (Hiroshi Shirosaki)
10:04 AM Revision c2c07079 (git): * ext/pty/pty.c (MasterDevice): define only when used.
(SlaveDevice): ditto.
(deviceNo): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33672 b2dd03c8-39d4-4...
akr (Akira Tanaka)
09:02 AM Revision 4d365090 (git): * ext/-test-/old_thread_select/extconf.rb: ignore deprecated
declaration warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:59 AM Revision 6bb4ddcb (git): * include/ruby/ruby.h (rb_long2int): define as a macro always, so
that cpp conditionals can tell if it is provided.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33670 b2dd03c8-3...
nobu (Nobuyoshi Nakada)
08:30 AM Revision 7c7514b2 (git): * lib/mkmf.rb (cpp_command): remove multiple -arch flags since cpp
cannot work.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:26 AM Revision 452bf3b9 (git): * ext/pty/pty.c (get_device_once): FreeBSD 8 supported O_CLOEXEC flag
for posix_openpt, but FreeBSD 9's posix_openpt doesn't support
O_CLOEXEC and fails if specified.
git-svn-id: svn+s...
naruse (Yui NARUSE)
07:23 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Yehuda Katz <[email protected]> wrote:
> Bug #5138: Add nonblocking IO that does not use exceptions for EOF and EWO...
normalperson (Eric Wong)
05:52 AM Revision 53881a8c (git): * io.c (io_fwrite): call rb_w32_write_console() only if FMODE_TTY is
set. this is the one of the reason of IO writing slowness of Windows
in 1.9.3 or later.
git-svn-id: svn+ssh://ci...
U.Nakamura
05:50 AM Revision 1b79efbb (git): * ChangeLog: commit miss of r33662.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:23 AM Feature #5578: Embedded YAML for Ruby 2.0
On Mon, Nov 7, 2011 at 16:30, Kurt Stephens <[email protected]> wrote:
> Why does YAML need first class sta...
judofyr (Magnus Holm)
12:30 AM Feature #5578: Embedded YAML for Ruby 2.0
Why does YAML need first class status? Define a constructor on the YAML module, and use interpolating heredoc.
re...
kstephens (Kurt Stephens)
02:03 AM Revision ce19ae0e (git): * ext/pty/pty.c (get_device_once): FreeBSD's posix_openpt doesn't
support O_CLOEXEC and fails if specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33665 b2dd03c8-39d4-4d8f...
naruse (Yui NARUSE)
01:58 AM Bug #5559: Intermittent Seg fault when using net-ssh
I have created a minimal rails project that demonstrates the problem here:
https://github.com/kimptoc/samples-rail...
kimptoc (Chris Kimpton)
01:37 AM Bug #5576 (Closed): [Universal Newline]改行コードが"\r\n"で出力されない
禍根を残しそうなコードだが問題の対処にはなっているという事で、r33660にてバックポートしました。 tarui (Masaya Tarui)

11/07/2011

10:59 PM Feature #5584: Array#sample!
遠藤です。

2011年11月7日15:43 Masaki Matsushita <[email protected]>:
> ランダムに選択した要素をレシーバから取り除いて返すメソッドArray#sample!の...
mame (Yusuke Endoh)
08:59 PM Feature #5584: Array#sample!
もっと良いネーミングはない物でしょうかねえ.
ネーミングが微妙なような気がしてならない.
sorah (Sorah Fukumori)
03:43 PM Feature #5584 (Rejected): Array#sample!
=begin
ランダムに選択した要素をレシーバから取り除いて返すメソッドArray#sample!の追加を提案します。
配列からランダムに要素を取り出したい場合には
a = (1..5).to_a
a.delete...
Glass_saga (Masaki Matsushita)
09:01 PM Revision bd3b3c1b (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:23 PM Feature #5478: Add syntax to import Set into core
I don't think it's impossible to parse. Ruby also manages to parse `p /a/m` as regexp rather than `p / a / m`.
Kon...
rkh (Konstantin Haase)
06:32 AM Feature #5478: Add syntax to import Set into core
What about simply { :a, :b, :c } ? It should be obvious to Ruby that this is not a hash.
In fact, how about specify...
alexeymuranov (Alexey Muranov)
05:05 AM Feature #5478: Add syntax to import Set into core
Ruby stdlib already has `Set::[]`, a method that creates a literal set.
```
irb(main):001:0> require 'set'
=> tr...
kernigh (George Koehler)
07:17 PM Feature #5583: Optionally typing
TypeError exists in Ruby (`[1,2]["a"]`), why not to have optional static typing to avoid it when possible. I do not ... alexeymuranov (Alexey Muranov)
06:53 PM Feature #5583: Optionally typing
+1
TL;DR
I love the idea!
I don't know if optional typing is the solution, but the more I use Ruby,
the mor...
dohzya (Etienne Vallette d'Osia)
12:49 PM Feature #5583 (Rejected): Optionally typing
Although I know all of you dislike static typing it cannot be denied that there are some people aspire for introducin... technohippy (Yasushi ANDO)
05:48 PM Revision cb230eee (git): * 2011-11-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:48 PM Revision add77a59 (git): * include/ruby/encoding.h (ECONV_NEWLINE_DECORATOR_READ_MASK,
ECONV_NEWLINE_DECORATOR_WRITE_MASK): new macro.
* io.c (rb_io_extract_modeenc, pipe_open, prep_stdio, argf_next_argv...
U.Nakamura
04:33 PM Revision 08cd580f (git): * 2011-11-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:33 PM Revision dc08e762 (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.
...
Masaya Tarui
02:45 PM Revision 520ab497 (git): * 2011-11-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@33659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:45 PM Revision 547584dd (git): * io.c (io_fflush): remove fsync().
* io.c (rb_io_flush, rb_io_rewind): fsync() here.
These pathces are backports of trunk r33651 for [Bug #5585]
git-...
arton (Akio Tajima)
01:05 PM Revision 47647564 (git): * ext/gdbm/gdbm.c (fgdbm_initialize): set close-on-exec flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:53 PM Bug #5576: [Universal Newline]改行コードが"\r\n"で出力されない
遠藤です。

2011年11月7日9:32 U.Nakamura <[email protected]>:
> In message "[ruby-dev:44804] [ruby-trunk - Bug #55...
mame (Yusuke Endoh)
09:53 AM Bug #5576: [Universal Newline]改行コードが"\r\n"で出力されない
こんにちは、なかむら(う)です。

In message "[ruby-dev:44804] [ruby-trunk - Bug #5576] [Universal Newline]改行コードが"\r\n"で出力されない"
...
usa (Usaku NAKAMURA)
12:53 PM Feature #5549: Comparable#min, Comparable#max
遠藤です。

2011年11月7日11:34 Nobuyoshi Nakada <[email protected]>:
> ただ、この例ではmin,maxという名前はあまりふさわしくないように思
> います。サチ...
mame (Yusuke Endoh)
11:53 AM Feature #5549: Comparable#min, Comparable#max
なかだです。

At Thu, 3 Nov 2011 19:52:44 +0900,
Yukihiro Matsumoto wrote in [ruby-dev:44793]:
> この提案だと a.min(b) と...
nobu (Nobuyoshi Nakada)
12:34 PM Feature #5582 (Assigned): Allow clone of singleton methods on a BasicObject
Currently I do not know of a way to implement something like 'clone' on a BasicObject subclass. This is as close as ... thinkerbot (Simon Chiang)
12:16 PM Revision 733a57b8 (git): add comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:33 AM Revision e115627a (git): * ext/psych/lib/psych/scalar_scanner.rb: make sure strings that look
like base 60 numbers are serialized as quoted strings.
* test/psych/test_string.rb: test for change.
git-svn-id: svn...
tenderlovemaking (Aaron Patterson)
11:27 AM Revision 8ff37e39 (git): * test/psych/test_yamlstore.rb: make test case inherit from MiniTest,
load psych/helper so that psych is loaded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33654 b2dd03c8-39d4-4d8...
tenderlovemaking (Aaron Patterson)
11:22 AM Revision a27349a4 (git): * test/psych/test_yamldbm.rb: Test case should inherit from MiniTest,
load psych/helper so that psych and friends are loaded.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33653 b2dd...
tenderlovemaking (Aaron Patterson)
11:17 AM Revision e4e5b7df (git): * ext/dbm/extconf.rb: check dbm_pagfno() and dbm_dirfno().
* ext/dbm/dbm.c: use above to set close-on-exec flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33652 b2dd...
akr (Akira Tanaka)
11:08 AM Revision 66595f38 (git): * io.c (io_fflush): remove fsync().
* io.c (rb_io_flush, rb_io_rewind): fsync() here.
these changes reduces fsync() calls to improve performance.
first ...
U.Nakamura
10:44 AM Revision 987c03a3 (git): * io.c (rb_close_before_exec): use F_MAXFD if available.
F_MAXFD is available on NetBSD since NetBSD 2.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33650 b2dd03c8-...
akr (Akira Tanaka)
10:27 AM Revision 8c492668 (git): * test/ruby/test_io_m17n.rb
(TestIO_M17N#test_default_stdout_stderr_mode): new test for
r33627-33629. see [backport #5565]
git-svn-id: svn+s...
U.Nakamura
10:23 AM Feature #5562: Improvement of Windows IO performance
Hello,

In message "[ruby-core:40746] [ruby-trunk - Feature #5562] Improvement of Windows IO performance"
...
usa (Usaku NAKAMURA)
03:31 AM Feature #5562: Improvement of Windows IO performance
Err...make that `debugflags='-gstabs+'` jonforums (Jon Forums)
03:26 AM Feature #5562: Improvement of Windows IO performance
FYI, unrelated to the patch failure on my system (but related to Windows IO performance) I've found a way to build a ... jonforums (Jon Forums)
08:25 AM Feature #5574: Make arrays comparable
Ok so it does not yet exist because it can contain elements that are not comparable.
But in the example given with...
shevegen (Robert A. Heiler)
07:05 AM Feature #5578: Embedded YAML for Ruby 2.0
Hey, btw, how do you get ... trans (Thomas Sawyer)
07:04 AM Feature #5578: Embedded YAML for Ruby 2.0
YAML defines `...` as end of document marker.
data = ---
a: 1
b: 2
c: 3
...
trans (Thomas Sawyer)
05:17 AM Feature #5578: Embedded YAML for Ruby 2.0
=begin
Current Ruby can do
require 'yaml'

data = YAML.load <<EOF
a: 1
b: 2
c: 3
EOF

p da...
kernigh (George Koehler)
01:40 AM Feature #5534: Redefine Range class and introduce RelativeNumeric and RelativeRange
ADMIN! There is bad bug in the redmine interface that deletes the message if one tries to use the edit feature. I had... trans (Thomas Sawyer)
01:38 AM Feature #5534: Redefine Range class and introduce RelativeNumeric and RelativeRange
"There are infinitely many numbers, even if you only count rationals, in the range (1..2)"
Ah, okay. See, I think ...
trans (Thomas Sawyer)
01:16 AM Feature #5534: Redefine Range class and introduce RelativeNumeric and RelativeRange
Thomas Sawyer wrote:
> "This way it would be clear what a range is --- just an infinite set of a certain form, with m...
alexeymuranov (Alexey Muranov)
12:41 AM Feature #5534: Redefine Range class and introduce RelativeNumeric and RelativeRange
"This way it would be clear what a range is --- just an infinite set of a certain form, with methods to work with it.... trans (Thomas Sawyer)
01:23 AM Feature #5531: deep_value for dealing with nested hashes
Do you need hash or something like multidimensional hash class that uses [], each iterates on nested...
On Sun, No...
neleai (Ondrej Bilka)
01:21 AM Bug #5093 (Closed): DEBUGGER__::Context#debug_print_help に表示されないオプション
This Issue was closed by r33647 ayumin (Ayumu AIZAWA)
12:58 AM Bug #5078 (Closed): test-all make SystemStackError on OS X 10.7 (Lion)
そもそも今のtrunkだとllvm-gccでビルド不可能なので(configureではじいている)、再現確認は無理ですね
closeします
kosaki (Motohiro KOSAKI)
12:51 AM Bug #5078 (Feedback): test-all make SystemStackError on OS X 10.7 (Lion)
これってまだ再現しますか?しないようなら閉じちゃってください。 ayumin (Ayumu AIZAWA)
12:48 AM Bug #5560 (Closed): YAML installation not found and no /usr/local/lib/ruby/1.9.3
ayumin (Ayumu AIZAWA)

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)
 

Also available in: Atom