Project

General

Profile

Activity

From 11/03/2011 to 11/09/2011

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)

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
 

Also available in: Atom