Project

General

Profile

Activity

From 02/28/2012 to 03/05/2012

03/05/2012

11:37 PM Bug #6116 (Closed): IO#raw {|io| ...} で文字入力がエコーバックしない
以下のドキュメントにならって、IO#raw で gets したところ入力がエコーバックしませんでした。
Yields +self+ within raw mode.
STDIN.raw(&:gets)
will read and return a line with echo back and line editing.
一方、以下のようにしてみたところ、Debian squeeze だと 1.9.3-p125 と、r34909 ...
sho-h (Sho Hashimoto)
10:59 PM Bug #6115 (Closed): A block after the do-block without parenthesis
=begin
= ((<pull request 102 by pasberth: A block after the do-block without parenthesis|URL:https://github.com/ruby/ruby/pull/102>))
((<patch|URL:https://github.com/pasberth/ruby/commit/2d6624238aae89110141a8e223f244bf92eb27a9>))
I...
nobu (Nobuyoshi Nakada)
10:19 PM Revision 2706b60c (git): * lib/xmlrpc/client.rb: switch net/http post2 calls to modern
`request_post` methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
09:48 PM Revision 8456c060 (git): only run `test_key` on ruby 2.0.0 or up
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
05:32 PM Revision 62ffffbe (git): * ext/psych/lib/psych/core_ext.rb: only extend Kernel if IRB is loaded
in order to stop method pollution.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
04:59 PM Feature #6070: The scope of for loop variables
(2012/03/05 16:10), Shugo Maeda wrote:
> For loops are syntactically close to while loops, but for loops are
> semantically more close to blocks, so I think it's better to make for
> loops consistent with blocks.

I like curre...
ko1 (Koichi Sasada)
04:23 PM Feature #6070: The scope of for loop variables
Hello,

2012/3/1 George Koehler <xkernigh@netscape.net>:
> This patch (for_loop_scope_fix_0224.diff) introduces a confusing change. With current Ruby, for loops and loops never have local variables. With this patch, for loops have...
shugo (Shugo Maeda)
04:34 PM Revision c46bdadb (git): * parse.y (block_call): rules for block_call after block_call.
based on a patch by pasberth https://github.com/ruby/ruby/pull/102
[ruby-dev:45308][Bug #6115]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:24 PM Revision 45f3651d (git): * parse.y (block_command, block_call): simplified rules.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:17 PM Revision 68ff00d9 (git): * 2012-03-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:17 PM Revision 0827c384 (git): assert_valid_syntax
* test/ruby/test_syntax.rb (assert_valid_syntax): new assertion to
validate syntax.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:53 AM Bug #6112 (Closed): String#byteslice、BigMath.#log のコメントの typo など
This issue was solved with changeset r34899.
Sho, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/bigdecimal/lib/bigdecimal/math.rb: remove description about
...
naruse (Yui NARUSE)
11:49 AM Feature #6095: Question about block parameter syntax
なかだです。

(12/02/27 13:12), Yukihiro Matsumoto wrote:
> 添付のパッチで直りそう。だれか確認してもらえませんか?

よさそうです。r34832のテストは通ることを確認しました。

--
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
中田 伸悦
nobu (Nobuyoshi Nakada)
11:49 AM Feature #6095: Question about block parameter syntax
まつもと ゆきひろです

添付のパッチで直りそう。だれか確認してもらえませんか?

In message "Re: [ruby-dev:45290] Question about block parameter syntax"
on Sun, 26 Feb 2012 13:59:11 +0900, SASADA Koichi <ko1@atdot.net> writes:
|
| ささだです.
|
| 1.times{
...
matz (Yukihiro Matsumoto)
11:49 AM Feature #3946: Array#packのqQ指定子に機種依存サイズフラグ!を追加
こんにちは、なかむら(う)です。

古いチケットですが、r34507でまた踏んだので蒸し返します。

In message "[ruby-dev:42671] Re: [Ruby 1.9-Feature#3946][Open] Array#packのqQ指定子に機種依存サイズフラグ!を追加"
on Dec.02,2010 21:30:53, <akr@fsij.org> wrote:
> あまりよくわかっていないんですが、これって Q...
usa (Usaku NAKAMURA)
11:49 AM Bug #5952: コマンドラインモードで CGI.new を 2 回実行すると IOError が発生する
2012年1月31日9:34 Tomoyuki Chikanaga <nagachika00@gmail.com>:
>
> Issue #5952 has been updated by Tomoyuki Chikanaga.
>
> Category set to core
>
> r29781 以降 Kernel#readlines (ARGF.readlines) で EOF を検出すると stdin を close するようになってい...
kosaki (Motohiro KOSAKI)
11:49 AM Feature #5896: object representation in rb_enc_vsprintf()
redmineにコメント書いたんですが、MLと連携されてないように見えるので
こちらにも投稿しときます。

警告については、gccの拡張ですしPRINTF_ARGSを諦めるのどうですか?
拡張した時点でprintf書式に合わないのはしようがないと思います。

--
樽家昌也(Masaya TARUI)
No Tool,No Life.

2012年1月16日22:00 Nobuyoshi Nakada <nobu@ruby-la...
tarui (Masaya Tarui)
11:47 AM Feature #6065: Allow Bignum marshalling/unmarshalling from C API
2012/2/23 Martin Bosslet <Martin.Bosslet@googlemail.com>:
> Akira Tanaka wrote:
>> 2012/2/23 Martin Bosslet <Martin.Bosslet@googlemail.com>:
>>
>>  > Currently, there's no public C API to create a Bignum.
>>  > There is rb_big_pack...
naruse (Yui NARUSE)
11:47 AM Feature #5663: Combined map/select method
2012/2/1 Nobuyoshi Nakada <nobu@ruby-lang.org>

>
> Issue #5663 has been updated by Nobuyoshi Nakada.
>
> Yura Sokolov wrote:
> > I often wish to have methods, which likes to `inject` but do use return
> value of block for next i...
funny_falcon (Yura Sokolov)
11:46 AM Bug #5915: Array#join with explicit nil should not use $,
Array#join actually tries three coercions on elements: #to_str, followed by
#to_ary (for nested joins), followed by #to_s.

The separator is coerced with #to_str if it is not nil and not a
String. Note that this matters only for...
john_firebaugh (John Firebaugh)
11:46 AM Feature #5873: Adopt FFI over DL
(2012/01/14 12:30), KOSAKI Motohiro wrote:
>> To remove original DL completely, we have to bundle libffi itself
>> wholly.
>
> Why?

I have no idea about the original point and your question.

> Example, openssl is really impor...
Anonymous
11:46 AM Feature #5893: named return,next...
Hi,

In message "Re: [ruby-core:42115] Re: [ruby-trunk - Feature #5893][Open] named return,next..."
on Fri, 13 Jan 2012 23:26:36 +0900, Ondřej Bílka <neleai@seznam.cz> writes:

|> Doesn't throw/catch to that already?
|No...
matz (Yukihiro Matsumoto)
09:29 AM Revision bc4ef96c (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:11 AM Revision eb1eee03 (git): * ext/syck/lib/syck/rubytypes.rb (Exception.yaml_new): fix bug
that causes YAML serialization problem for Exception.
Exception#initialize doesn't use visible instance variable for
the exception message, so call the method with the message.
patched by Jingwen Owen Ou <jingweno AT gmail.com>.
...
nobu (Nobuyoshi Nakada)
07:52 AM Revision a2749dbb (git): * ext/socket/extconf.rb: fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:51 AM Revision 842c6f60 (git): * test/ruby/test_sleep.rb (TestSleep#test_sleep_5sec): syntax error.
* test/ruby/test_sleep.rb (TestSleep#test_sleep_5sec): call uname
only on linux because it's a workaround for linux only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
07:40 AM Revision bfba60f8 (git): Remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:36 AM Revision 1d30263d (git): Fix condition of r34897.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:44 AM Revision 4a6e738a (git): * st.c (unpack_entries): chain entries directly. based on a patch
by Sokolov Yura <funny.falcon AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:44 AM Revision 4a8c531a (git): * st.c (unpack_entries): use union instead of casted pointer.
patched by Sokolov Yura <funny.falcon AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:43 AM Revision 5bd91964 (git): * st.c: use PACKED_ENT and FIND_ENTRY. patched by Sokolov
Yura <funny.falcon AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:43 AM Revision e5ac1599 (git): * st.c (unpack_entries): reallocate bins if packed array size
is not same as initial bins size. based on a patch by
Sokolov Yura <funny.falcon AT gmail.com>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:53 AM Revision 697b53d8 (git): * ext/bigdecimal/lib/bigdecimal/math.rb: remove description about
BigMath#log. patched by Sho Hashimoto [ruby-dev:45307] [Bug #6112]
* string.c (str_byteslice): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:23 AM Bug #6084: Ruby 1.9.3p125 Segfault while running nanoc compile
I can't replicate with 1.9.3p134 or 1.9.3p155 [i386-mingw32] versions on Win7 32bit. One of my nanoc sites has a Rules file using `erubis`, `redcarpet`, and `colorize_syntax` https://github.com/thecodeshop/ruby/blob/gh-pages/_site_src/Ru... jonforums (Jon Forums)
01:16 AM Revision 2a70ec05 (git): * 2012-03-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:16 AM Revision 14e11379 (git): Old linux (at least CentOS 5.6, kernel 2.6.18) wakes up 4.99 sec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

03/04/2012

11:21 PM Feature #5484 (Closed): regexp comparison bug
This issue was solved with changeset r34896.
Denis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* parse.y (parser_tokadd_string): regexp engine doesn't need
t...
nobu (Nobuyoshi Nakada)
09:57 PM Bug #6084 (Feedback): Ruby 1.9.3p125 Segfault while running nanoc compile
ktsj (Kazuki Tsujimoto)
09:48 PM Feature #4890: Enumerable#lazy
Rodrigo Rosenfeld Rosas wrote:
> Thomas, I think it only makes sense for enumerables to be lazy if you call take(n) on it.
> ...
I disagree, i think lazy versions of all methods that return arrays are useful, to avoid generating interm...
alexeymuranov (Alexey Muranov)
02:21 PM Revision 68a16f9a (git): * parse.y (parser_tokadd_string): regexp engine doesn't need
terminators to be escaped. [ruby-core:40364][Bug #5484]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:59 PM Revision b212b84f (git): * hash.c: remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
11:39 AM Revision 44281c81 (git): * 2012-03-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:39 AM Revision b586af26 (git): * ChangeLog: fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
11:35 AM Bug #6112 (Closed): String#byteslice、BigMath.#log のコメントの typo など
るりまを書いていて以下のコメントの間違いに気づきました。パッチを添付しますので、合ってるようであれば取り込んでやってください。
* String#byteslice の \u3042 を\u3942 と typo
* BigMath.#log がまだ残ってる
sho-h (Sho Hashimoto)
11:31 AM Bug #953 (Open): 深い入れ子の配列の取り扱いで落ちる
=begin
辻本です。
trunkで再現するようになっているのでreopenしておきます。
$ ./ruby -v ./nest.rb
ruby 2.0.0dev (2012-03-03 trunk 34892) [x86_64-linux]
./nest.rb:5: [BUG] Segmentation fault
=end
ktsj (Kazuki Tsujimoto)
12:22 AM Feature #6111 (Closed): Request for making ruby multiarchable
i ask to make it possible to install ruby in more multiarch compatible dirs ...
with configure allone it is not possible
so the libs where are named /usr/lib/libruby(version) should go to /usr/lib/(arch)/libruby(version)
for the c...
Hanmac (Hans Mackowiak)

03/03/2012

11:38 PM Bug #6110 (Rejected): #respond_to? returns true on 1.9.3 and false on ruby-head
Sound intentional change.
http://ruby.11.n6.nabble.com/ruby-dev-40461-respond-to-lt-protected-method-name-gt-returns-true-td3535926.html
http://stackoverflow.com/questions/2569490/respond-to-and-protected-methods
kosaki (Motohiro KOSAKI)
05:42 PM Bug #6110 (Rejected): #respond_to? returns true on 1.9.3 and false on ruby-head
Under ruby-head, when calling #respond_to? on another object of the same type false is always returned, even though the method can be called. However, this returns true under ruby 1.9.3.
Attached is a test that reproduces the problem.
dkubb (Dan Kubb)
11:03 PM Feature #5484: regexp comparison bug
Well, I originally reported it as a bug, since I got bit by it. I can't recall the context let alone the specifics.
Anyway... Feel free to close if you think this is to be expected (I'd argue it shouldn't...)
ddebernardy (Denis de Bernardy)
09:41 PM Feature #4890: Enumerable#lazy
I've faced problems while trying to push this idea further
so I came up with the straight C implementation of ruby code, submitted by Yutaka HARA.
Please, see this new PR https://github.com/ruby/ruby/pull/101
gregolsen (Innokenty Mikhailov)
01:53 PM Revision 61c14872 (git): * process.c (rb_run_exec_options_err): chdir at last to interpret
relative pathnames from the current directory of the parent process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:14 PM Bug #6109 (Closed): plain-char for isdigit(), etc
tadf (tadayoshi funaba)
07:52 AM Bug #6109 (Closed): plain-char for isdigit(), etc
=begin
cygwinで、以下のように((%date%))で警告が出ます。
compiling date_parse.c
date_parse.c: In function ‘s3e’:
date_parse.c:92:2: 警告: array subscript has type ‘char’
date_parse.c:141:2: 警告: array subscript has type ‘char’
date_parse.c:1...
nobu (Nobuyoshi Nakada)
09:46 AM Feature #5873 (Closed): Adopt FFI over DL
DL uses fiddle (with ffi) as a backend if ffi is available, so I will close this. We can talk about embedding libraries in a different thread. :-) tenderlovemaking (Aaron Patterson)
08:03 AM Bug #6108 (Closed): plain-char for isdigit()
This issue was solved with changeset r34881.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/syck/rubyext.c (mktime_do): use ISDIGIT().
[ruby-cor...
nobu (Nobuyoshi Nakada)
07:52 AM Bug #6108 (Closed): plain-char for isdigit()
=begin
On cygwin, ((%syck%)) is warned as:
compiling rubyext.c
rubyext.c: In function 'mktime_do':
rubyext.c:280:9: warning: array subscript has type 'char'
compiling token.c
token.re: In function 'sycklex_yaml_utf8':
...
nobu (Nobuyoshi Nakada)
06:13 AM Bug #6107 (Closed): Documentation Abbrev (stdlib) confusing
The example in the documentation suggests Abbrev::abrev returns an Array. It does return a hash; the array is the result of the #sort method. steenslag (siep korteling)
03:29 AM Revision cb521708 (git): trivial changes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
03:22 AM Revision 7aa308f8 (git): typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
03:21 AM Revision e3b989c7 (git): * ext/date/date_strftime.c: reassigned some variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
03:14 AM Revision 9a0cb802 (git): * ext/date/date_{parse,strptime}.c [ruby-dev:45303].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
01:12 AM Revision 85e86697 (git): remove another call to Net::HTTP.version_1_2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
01:10 AM Revision 46e293ec (git): * lib/xmlrpc/client.rb (initialize): net/http defaults to 1_2 in 1.8+,
so we can safely remove the call to enable it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
12:40 AM Revision 5812975f (git): * test/xmlrpc/test_client.rb: property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

03/02/2012

11:46 PM Revision 1836f44f (git): * lib/xmlrpc/client.rb (new2): use URI for uri parsing.
* test/xmlrpc/test_client.rb: test that query params are passed to the
client constructor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
11:36 PM Feature #3176 (Closed): Thread#priority= should actually do something
1.9.3 has new thread scheduler and this problem is no longer reprodusable. closed then.
% ruby-193 thprio.rb
77219459 3027217 0.9245522144742793 true
% ruby-193 thprio.rb
78194222 2953676 0.9272026491678195 true
% ruby-193 t...
kosaki (Motohiro KOSAKI)
11:21 PM Revision cd85cd25 (git): * lib/xmlrpc/client.rb (new2): raises an ArgumentError on bad
arguments.
* test/xmlrpc/test_client.rb: tests for bad uris
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
11:12 PM Revision 60282ebf (git): * lib/xmlrpc/client.rb (new2): fix custom port specification when an
SSL uri is used.
* test/xmlrpc/test_client.rb: tests for XMLRPC::Client.new2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
11:03 PM Revision b854733d (git): * ext/syck/rubyext.c (mktime_do): use ISDIGIT().
[ruby-core:43060] [Bug #6108]
* ext/syck/token.c (sycklex_yaml_utf8): cast as unsigned char.
[ruby-core:43060] [Bug #6108]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:57 PM Revision 5c9d7c54 (git): * configure.in (ruby_pc): make configurable. [Bug #6051]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:02 PM Revision d45a9e77 (git): * 2012-03-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:02 PM Revision 34fca5d7 (git): * 2012-03-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:02 PM Revision e794994b (git): * .travis.yml: property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:02 PM Revision 0f3e2cd1 (git): * .travis.yml: property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:35 PM Bug #6087: How should inherited methods deal with return values of their own subclass?
> This has two problems:
> ...
You took me a bit too literally. I only meant it should be _equivalent_ too calling `self.class.new`. In other words, it should return an instance of the subclass, not the base class. I did not mean to imp...
trans (Thomas Sawyer)
12:31 PM Bug #6087: How should inherited methods deal with return values of their own subclass?
Yes, I do second this. tenderlovemaking (Aaron Patterson)
11:22 AM Bug #6087: How should inherited methods deal with return values of their own subclass?
I apparently forgot to mention that I prefer the second approach, i.e. the equivalent of calling `dup` on the receiver.
I believe Aaron Patterson seconds this in [ruby-core:43030]
If this approach is accepted, the last remaining questi...
marcandre (Marc-Andre Lafortune)
10:50 AM Bug #6087: How should inherited methods deal with return values of their own subclass?
Hi,
Thomas Sawyer wrote:
> I would think these methods should be using `self.class.new` for constructors thus returning the subclass. Although, that might not always possible.
This has two problems:
1) It imposes an API on the co...
marcandre (Marc-Andre Lafortune)
02:05 PM Revision 4525bcae (git): subclass of String
* test/ruby/test_string.rb (TestString2): tests for subclass of
String.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:12 PM Revision ae323a98 (git): * .travis.yml: Backport TravisCI configuration from trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Hiroshi Nakamura
08:50 AM Revision 9dcddfba (git): * .travis.yml (branches): Enable TravisCI for ruby_1_9_3.
cf. https://twitter.com/#!/nalsh/status/170351549955055616
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
08:16 AM Revision effb5248 (git): * test/ruby/test_array.rb (test_combination2): Make the test case for
[ruby-core:29240] more descriptive.
cf. http://bugs.jruby.org/6518
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
07:37 AM Revision 8d07e087 (git): * common.mk (clean-ext, distclean-ext, realclean-ext): remove exts.mk too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:37 AM Revision ee98d58f (git): * file.c (file_expand_path): use wcscasecmp().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:36 AM Revision ac018e7b (git): * thread_pthread.c (native_cond_timeout): cast explicitly to suppress
a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:36 AM Revision 9d420721 (git): * 2012-03-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:36 AM Revision 82543043 (git): * io.c (pipe_open): cmd is no longer used if fork is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:49 AM Feature #5120: String#split needs to be logical
Well, i didn't really want to keep '@', splitting on it and then joining with it would be fine :).
Thanks anyway.
alexeymuranov (Alexey Muranov)
04:07 AM Feature #5120: String#split needs to be logical
=begin
Tell split you want to keep the @ if you want to keep the @:
[' sam @ ', 'jim@'].map { |e| e.split(/(@)/).map(&:strip).join }" # => ["sam@", "jim@"]
=end
drbrain (Eric Hodel)
12:36 AM Feature #5120: String#split needs to be logical
I would like add a use case which may be not very useful, but in my opinion illustrates the issue well.
I wanted to normalize some mistyped email addresses in a database and i did like this (because i forgot about this issue):
```r...
alexeymuranov (Alexey Muranov)
03:58 AM Bug #6078: The name of a module nested in an anonymous module depends on how it was created
There is a case not given above where it may make sense to give the class/module a name based on #inspect output of the containing class. This case is when the containing class is a singleton class:
$ irb
1.9.3p125 :001 > obj = Objec...
brixen (Brian Shirai)
03:44 AM Bug #6106 (Closed): Ruby documentation ambiguous about mixed sign ranges in indexes
Although syntax like s[3..-1] is legal and will return element 4 to the end of the indexed object, the documentation is ambiguous and does not make it clear that this is legal. (Apparently the documentation in 1.4 and before did indicate... perry (Perry Metzger)
02:45 AM Revision c31e7c1e (git): merge revision(s) 25230,34866:
* marshal.c (struct {dump,load}_arg): manage with dfree, instead
of using local variable which may be moved by context switch.
[ruby-dev:39425]
* marshal.c (mark_dump_arg): mark destination string. patch by
...
nobu (Nobuyoshi Nakada)
01:53 AM Revision 6e7e726b (git): * marshal.c (mark_dump_arg): mark destination string. patch by
Vit Ondruch. [Bug #4339]
* marshal.c (clear_dump_arg, clear_load_arg): clean up also data
tables as same as symbols tables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@34866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

03/01/2012

09:41 AM Revision b1bcb826 (git): merge revision(s) r33525: [Backport #6104]
* file.c (rb_file_join): honor input encodings than ASCII-8BIT.
[ruby-core:40338] [Bug #5483]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:13 AM Revision 0b89081b (git): * internal.h (rb_file_const, rb_file_load_ok): moved functions for
internal use only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:44 AM Revision 27fbcb8e (git): doc/capi
* common.mk (doc/capi): use macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:40 AM Revision 29c630e7 (git): * win32/makedirs.bat: new command to make intermediate
directories, and not to report any errors if the directory
already exists.
* win32/Makefile.sub (MAKEDIRS): enable command extensions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:46 AM Feature #6070: The scope of for loop variables
=begin
This patch (for_loop_scope_fix_0224.diff) introduces a confusing change. With current Ruby, for loops and loops never have local variables. With this patch, for loops have local variables, but while loops never have them. Here is...
kernigh (George Koehler)
03:17 AM Bug #5297: Either File.expand_path or File.join is corrupting string encoding
Patrick Bennett wrote:
> With ruby 1.9.3p125 (2012-02-16) [i386-mingw32] File.join always converts to ASCII-8BIT for me no matter the encoding passed to it.
> ...
The problem is your system encoding.
For some reason from IBM437 to W...
luislavena (Luis Lavena)
03:13 AM Bug #5297: Either File.expand_path or File.join is corrupting string encoding
With ruby 1.9.3p125 (2012-02-16) [i386-mingw32] File.join always converts to ASCII-8BIT for me no matter the encoding passed to it.
So, using your irb example up through the File.join
irb(main):001:0> a = File.expand_path "."
=> "d:/t...
patrickb (Patrick Bennett)
02:48 AM Bug #5297: Either File.expand_path or File.join is corrupting string encoding
Patrick Bennett wrote:
> Which other issue is this associated with?
> ...
Sorry, but with released patchlevel 125 I can no longer reproduce this:
luislavena (Luis Lavena)
02:34 AM Bug #5297: Either File.expand_path or File.join is corrupting string encoding
Which other issue is this associated with?
Is this going to be patched back to 1.9.3? It's still present in 1.9.3p125
patrickb (Patrick Bennett)

02/29/2012

10:59 PM Bug #6103: Build failure on trunk 34850 with VC 2010
Hello,

In message "[ruby-core:43016] Re: [ruby-trunk - Bug #6103][Open] Build failure on trunk 34850 with VC 2010"
on Feb.29,2012 17:53:30, <h.shirosaki@gmail.com> wrote:
> > # Building ruby from a release package MUST NOT ...
usa (Usaku NAKAMURA)
05:59 PM Bug #6103: Build failure on trunk 34850 with VC 2010
> I did not notice such a trap...
>
> Please check r34859.
>
Thank you. I checked your commit.

>
> # Building ruby from a release package MUST NOT depend on
> # the preinstalled ruby.
>
Sorry. I didn't understand th...
h.shirosaki (Hiroshi Shirosaki)
04:23 PM Bug #6103: Build failure on trunk 34850 with VC 2010
Hello,

In message "[ruby-core:43013] Re: [ruby-trunk - Bug #6103][Open] Build failure on trunk 34850 with VC 2010"
on Feb.29,2012 13:04:47, <h.shirosaki@gmail.com> wrote:
> > If this means executing "win32\configure.bat" is...
usa (Usaku NAKAMURA)
04:13 PM Bug #6103 (Closed): Build failure on trunk 34850 with VC 2010
This issue was solved with changeset r34859.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* win32/Makefile.sub (MAKEDIRS): use mkdir of cmd.exe instead o...
usa (Usaku NAKAMURA)
01:23 PM Bug #6103: Build failure on trunk 34850 with VC 2010
Hi,

> executable host ruby is required. use --with-baseruby option.
> NMAKE : fatal error U1077: 'echo' : '0x1' 반환 코드입니다.
> Stop.
>
> If this means executing "win32\configure.bat" is not sufficient any more and required preinstal...
h.shirosaki (Hiroshi Shirosaki)
12:36 PM Bug #6103 (Closed): Build failure on trunk 34850 with VC 2010
I get the following failure on Windows XP with VC 2010 while building trunk@34850.
C:\work\snapshot>win32\configure.bat
Checking unicows.lib
Creating Makefile.new
"type `nmake' to make ruby."
C:\work\snapshot>nmake
Microsoft(...
phasis68 (Heesob Park)
07:42 PM Bug #6089: Test suite fails with OpenSSL 1.0.1
Unfortunately, I didn't get very helpful response :/
> Tomas Mraz 2012-02-29 11:03:26 CET
> ...
vo.x (Vit Ondruch)
04:29 PM Revision f9cec708 (git): * 2012-03-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:29 PM Revision 291fa223 (git): * regparse.c (is_onechar_cclass): optimize character class
Merge Onigmo 27278c12e6674043cc8affca6507e20e119a86ee.
* regparse.c (is_onechar_cclass): [bug] unexpected match occurs when a
char class contains no char
* enc/unicode.c (init_case_fold_table): define the sizes of case
folding tabl...
naruse (Yui NARUSE)
01:53 PM Bug #5719: Hash::[] can't handle 100000+ args
Hello Koichi,

On 2012/02/25 13:34, SASADA Koichi wrote:
> (2011/12/07 14:26), Martin Dürst wrote:
>> This is related to http://redmine.ruby-lang.org/issues/982. In terms of what needs to be done, it may even be "the same" bug, ...
duerst (Martin Dürst)
07:13 AM Revision 31eb29fe (git): * win32/Makefile.sub (MAKEDIRS): use mkdir of cmd.exe instead of ruby.
[Bug #6103] [ruby-core:43012]
* win32/README.win32: added a notice about command extension of cmd.exe.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:53 AM Bug #5765: [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}
Eric Hodel <drbrain@segment7.net> wrote:
> Since the original patch was approved and Net::HTTP::OpenTimeout was
> approved in #6001, I applied a combined patch in r34843, replacing
> Net::HTTP::OpenTimeout.

Thanks! I hope to...
normalperson (Eric Wong)
06:40 AM Revision 70581477 (git): * test/ruby/test_io.rb (TestIO#test_readpartial_locktmp): skip on
windows because of the platform restriction.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:39 AM Revision 74b70ad8 (git): * test/ruby/memory_status.rb (Memory): syntax error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:07 AM Revision 1673881f (git): /proc/self/status format check
* test/ruby/memory_status.rb: use /proc/self/status if it is in
the expected format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:07 AM Revision fc493491 (git): fix indent
* win32/file.c (rb_file_load_ok): fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:07 AM Revision 23008fcc (git): define PLATFORM_DIR if needed
* Makefile.in, configure.in (PLATFORM_DIR): define if needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:07 AM Revision afa7b27e (git): clean-platform
* Makefile.in, win32/Makefile.sub (clean-platform): use macro instead
hardcoded path names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:44 AM Bug #6102 (Closed): Crash when calling OpenSSL::Integer#to_der with nil value
ruby -ropenssl -e 'OpenSSL::Integer.new(nil).to_der'
crashes.
MartinBosslet (Martin Bosslet)
12:59 AM Feature #5999: Optimize for faster loading time and win32/file.c refactoring
> I don't object.
> Shirosaki-san, please commit it.

Thank you. I committed it at r34849.

--
Hiroshi Shirosaki
h.shirosaki (Hiroshi Shirosaki)
12:51 AM Feature #5999 (Closed): Optimize for faster loading time and win32/file.c refactoring
This issue was solved with changeset r34849.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* Makefile.in (PLATFORM_DIR): add a variable for `win32` direc...
Anonymous

02/28/2012

11:24 PM Feature #6074: Allow alias arguments to have a comma
I myself prefer "alias" because:
- It does not require a ','
- It is shorter to type
- It reads easier.
def bar
puts 'Hi from bar.'
end
alias foo bar
alias_method :foo, :bar
The first way is more readable f...
shevegen (Robert A. Heiler)
09:53 PM Revision 329ae747 (git): replaced rdoc for Complex::I
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
09:17 PM Revision f400ba10 (git): * ext/date/date_core.c: reverted r34825.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
08:28 PM Bug #6101 (Closed): Undesirable result of DateTime#iso8601 with floating point argument
tadf (tadayoshi funaba)
06:51 PM Bug #6101 (Closed): Undesirable result of DateTime#iso8601 with floating point argument
DateTime#iso8601, DateTime#rfc3339 and DateTime#jisx0301 have same behavior as Bug #6100.
C:\>irb
irb(main):001:0> require 'date'
=> true
irb(main):002:0> a = DateTime.now
=> #<DateTime: 2012-02-28T18:41:01+09:00 ((2455986j,34861s...
phasis68 (Heesob Park)
06:33 PM Bug #6099 (Closed): [BUG] probable buffer overflow
This issue was solved with changeset r34846.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (io_fread, io_getpartial, rb_io_sysread): set buffer size...
nobu (Nobuyoshi Nakada)
03:33 PM Bug #6099: [BUG] probable buffer overflow
=begin
IO#readpartialにも同様の問題があるようです。
require "fcntl"

r, w = IO.pipe
r.fcntl(Fcntl::F_SETFL, Fcntl::O_NONBLOCK)
buf = " " * 100
t = Thread.new{p r.readpartial(100, buf)}
sleep 0.1
Thread.pass
buf.replace("")
p buf....
Glass_saga (Masaki Matsushita)
01:53 PM Bug #6099 (Closed): [BUG] probable buffer overflow
ふと思い立って以下のようなコードを実行してみたところ、表題の[BUG]となりました。
あんまり重大ではないと考えますが、一応報告しておきます。
他のメソッドでも似たようなことができるものはあると思います。
なお、プラットフォーム依存はないはずです。
% ruby -e '
r, w = IO.pipe
buf = " " * 100
Thread.new{p r.sysread(100, buf)}
Thread.pass
buf.replace(...
usa (Usaku NAKAMURA)
05:16 PM Bug #6100 (Closed): Unexpected value of Time#iso8601 with floating point argument.
This issue was solved with changeset r34845.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/time.rb (Time#xmlschema): use strftime specifiers instead...
nobu (Nobuyoshi Nakada)
04:16 PM Bug #6100 (Closed): Unexpected value of Time#iso8601 with floating point argument.
I found Time#iso8601 returns unexpected value in case of floating point argument.
C:\>irb
irb(main):001:0> require 'time'
=> true
irb(main):002:0> a = Time.now
=> 2012-02-28 16:12:18 +0900
irb(main):003:0> a.iso8601(10)
=> "2012...
phasis68 (Heesob Park)
03:51 PM Revision f3b685d1 (git): * 2012-02-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:51 PM Revision 4b1e9f0c (git): * Makefile.in (PLATFORM_DIR): add a variable for `win32` directory.
* Makefile.in (clean-platform): add new target.
It cleans `win32` directory.
* common.mk (clean): add a dependency for `win32` directory.
* common.mk (distclean): ditto.
* common.mk (distclean-platform): add new target.
It cleans `w...
h.shirosaki (Hiroshi Shirosaki)
02:17 PM Bug #5765: [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}
Since the original patch was approved and Net::HTTP::OpenTimeout was approved in #6001, I applied a combined patch in r34843, replacing Net::HTTP::OpenTimeout. drbrain (Eric Hodel)
02:16 PM Bug #5765 (Closed): [PATCH] modernize Timeout usage in net/{http,pop,smtp,telnet}
This issue was solved with changeset r34843.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/protocol.rb: Add OpenTimeout subclass of Timeout::Error...
drbrain (Eric Hodel)
01:51 PM Bug #6001 (Closed): Retry idempotent HTTP requests for more errors
This issue was solved with changeset r34842.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/net/http.rb: Retry HTTP requests for additional network er...
drbrain (Eric Hodel)
11:28 AM Revision 3486a98a (git): * ext/date/date_core.c: [ruby-core:42998]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
10:56 AM Bug #6092 (Closed): tests of psych reports many errors and failures when external encoding is not unicode
I fixed this in r34839, but it seems redmine isn't closing the ticket automatically. tenderlovemaking (Aaron Patterson)
12:31 AM Bug #6092: tests of psych reports many errors and failures when external encoding is not unicode
I also see this on my [i386-mingw] and [i686-linux] (Arch 3.2.7-1) systems.
A quick workaround for mingw is `chcp 65001` in cmd.exe before starting `sh` to run `make test-all`, and for Arch, set `LOCALE="en_US.utf8"` (not en_US.iso885...
jonforums (Jon Forums)
10:53 AM Feature #6079: Hash#each_sorted
Hi,

(12/02/25 9:24), Yusuke Endoh wrote:
> Agreed. If we can implement the feature without creating an
> intermediate array, it might be useful. But I have no idea
> to implement.

It would be possible, if you can tell ...
nobu (Nobuyoshi Nakada)
08:11 AM Feature #6079: Hash#each_sorted
=begin
{1 => 2, 0 => 4}.lazy.sort.each{|k, v| p "#{k} => #{v}"}
=end
?
trans (Thomas Sawyer)
10:30 AM Bug #6098 (Closed): Re: GVL改善案
こんにちは、なかむら(う)です。

In message "[ruby-dev:43483] Re: GVL改善案"
on May.09,2011 07:19:30, <matz@ruby-lang.org> wrote:
> |0 until hogehoge
> |
> |みたいなビジーループ書くとハマるので、これを「直すべき」とするか、
> |「言語仕様だ、ユーザは気をつけてスクリプト書きやがれ」とするか決めないと
> |...
usa (Usaku NAKAMURA)
09:47 AM Revision 97d6e56b (git): * io.c (io_binwrite, rb_io_syswrite): use shared frozen source
strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:44 AM Bug #6097 (Rejected): Weird constant behavior during inheritance...
Learn Ruby-way, please. matz (Yukihiro Matsumoto)
02:20 AM Bug #6097: Weird constant behavior during inheritance...
Once Test::Child gets defined, both Parent and Test have Child among their very constants (and they are different classes). The ancestry chain is not even checked. fxn (Xavier Noria)
02:03 AM Bug #6097 (Rejected): Weird constant behavior during inheritance...
>> class Parent
> ...
=> nil
>> class Test < Parent
> ...
=> nil
>> Test.const_defined?(:Child)
=> true
> ...
=> nil
>> Test::Child.new.respond_to?(:bar)
=> true
> ...
=> false # true expected...
Obviously, testing the object...
ddebernardy (Denis de Bernardy)
09:33 AM Revision 9b02a72d (git): * io.c (io_fread, io_getpartial, rb_io_sysread): set buffer size
after check if readable, which can cause thread switch.
[ruby-dev:45297][Bug #6099]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:16 AM Revision 007b7fcd (git): * lib/time.rb (Time#xmlschema): use strftime specifiers instead of
fractional exponential calcuation which yields undesirable
result. [ruby-core:42997][Bug #6100]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:49 AM Revision 3ee4c4fd (git): Remove duplicated entry, thanks znz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
05:15 AM Revision 09f27873 (git): * lib/net/protocol.rb: Add OpenTimeout subclass of Timeout::Error
* lib/net/pop.rb: Modernize Timeout usage. Patch by Eric Wong.
Use Net::OpenTimeout instead of Timeout::Error. [Bug #5765]
* lib/net/http.rb: ditto
* lib/net/smtp.rb: ditto
* lib/net/telnet.rb: dit...
drbrain (Eric Hodel)
04:51 AM Revision 8a7da58c (git): * lib/net/http.rb: Retry HTTP requests for additional network errors.
Introduce OpenTimeout subclass of Timeout::Error. [Bug #6001]
* test/net/http/test_http.rb: Reduce timeout to 0.01s for faster test
* test/net/http/test_https.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
drbrain (Eric Hodel)
02:56 AM Revision ffdaca1d (git): merge revision(s) 34840:
* configure.in (debugflags): check if -ggdb is accepted.
[ruby-core:42875][Bug #6080]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:44 AM Revision 1c85a648 (git): * configure.in (debugflags): check if -ggdb is accepted.
[ruby-core:42875][Bug #6080]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:57 AM Feature #5999 (Assigned): Optimize for faster loading time and win32/file.c refactoring
I don't object.
Shirosaki-san, please commit it.
usa (Usaku NAKAMURA)
01:41 AM Feature #5999: Optimize for faster loading time and win32/file.c refactoring
As there's been no negative feedback in the past 17 days, is this patch acceptable as-is and can it now be committed to trunk? jonforums (Jon Forums)
01:56 AM Feature #6096 (Rejected): Parser tweak - curly braces followed by a coma...
It would be sweet if ruby treated curly braces followed by a coma as a hash rather than as a coma:
>> def foo(bar, baz)
> ...
=> nil
>> foo {}, :baz
SyntaxError: (irb):3: syntax error, unexpected ',', expecting $end
foo {}, :baz
...
ddebernardy (Denis de Bernardy)
01:49 AM Feature #6095 (Closed): Question about block parameter syntax
fixed by r34835 matz (Yukihiro Matsumoto)
12:53 AM Feature #6095 (Closed): Question about block parameter syntax
 ささだです.

1.times{
|
x,
y|
}

は通りますが,

1.times{
|
x,
y
|
}

は通りません.閉じる | が行頭に来るのがまずいようです.これは,そういう
もんでしょうか.下記のように,ブロックパラメータにコメント入れようと思っ
て気づきました.

1.times{
|
...
ko1 (Koichi Sasada)
01:30 AM Revision 0cb987bc (git): * ext/psych/lib/psych.rb: default open YAML files with utf8 external
encoding. [ruby-core:42967]
* test/psych/test_tainted.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
 

Also available in: Atom