Project

General

Profile

Activity

From 07/26/2011 to 08/01/2011

08/01/2011

11:40 PM Bug #5132 (Assigned): test_parallel.rb fail when it run before 'make install'
Jeremy Evans も同じ話を [ruby-core:38572] で指摘していますね。
というわけでそらさんよろしく。
naruse (Yui NARUSE)
07:21 PM Bug #5132: test_parallel.rb fail when it run before 'make install'
=begin
すみません、大事な情報が漏れていました。
Makefileを作る際に、./configure --prefix=/home/ayumin/ruby のようにインストール先を指定しています。
エラーのログを消すために以下のようなパッチをあてて実行すると

$ git diff
diff --git a/lib/test/unit.rb b/lib/test/unit.rb
index 09708d1..33301f9 100644
...
ayumin (Ayumu AIZAWA)
06:28 PM Bug #5132 (Closed): test_parallel.rb fail when it run before 'make install'
make install を実行する前にmake test-all をすると、test_parallel.rb が失敗します。
trunkとruby_1_9_3 で再現することまで確認しました。
$ uname -a
Linux Ubuntu11 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
$ make test-a...
ayumin (Ayumu AIZAWA)
11:34 PM Feature #5133: Array#unzip as an alias of Array#transpose
「zip が transpose の逆になっているか」
を確認せず投稿したことがバレてしまいましたね。
私が欲しかったのは unzip のような zip の逆っぽいイメージの名前が付いている、
zip する前の配列のセットが返ってくるメソッドです。
きしもとさんの
> transpose は自己双対で、zip と双対というわけでもないので、
> ...
という意見については、確かにその通りだと思いましたので、
エイリアスではない方法で導入できるなら...
mrkn (Kenta Murata)
10:53 PM Feature #5133: Array#unzip as an alias of Array#transpose
(2011/08/01 20:54), KISHIMOTO, Makoto wrote:
> transpose は自己双対で、zip と双対というわけでもないので、
> エイリアスには反対、かなぁ。
> # [[1, 2, 3], [4, 5, 6], [7, 8, 9]].transpose に対応するものって
> # zip で簡単にできましたっけ?

irb(main):001:0> a = [[1, 2, 3], [4, 5, 6],...
naruse (Yui NARUSE)
08:59 PM Feature #5133: Array#unzip as an alias of Array#transpose
きしもとです

[1, 2, 3, 4] と ["a", "b", "c", "d"] から、
[[1, "a"], [2, "b"], [3, "c"], [4, "d"]] を作るのが zip で、

irb> [1, 2, 3, 4].zip ["a", "b", "c", "d"]
=> [[1, "a"], [2, "b"], [3, "c"], [4, "d"]]

[[1, "a"], [2, "b"], [3, "c"]...
metanest (Makoto Kishimoto)
07:09 PM Feature #5133: Array#unzip as an alias of Array#transpose
逆とはどういう動作のことを言っていますか?
Array#zip が複数の配列から1つの配列を返す(かブロックを受け取ると別の動作)で、
Array#transpose が1つの配列から1つの配列を返す(ブロックは受け取らない)ということから
逆という印象は受けなかったので、逆というだけの説明だとよくわかりませんでした。
znz (Kazuhiro NISHIYAMA)
06:30 PM Feature #5133 (Rejected): Array#unzip as an alias of Array#transpose
Array#zip の逆は Array#transpose なんですけど、
この対応関係が非常に分かり難いなと思いました。
Haskell には zip の逆をやる関数として unzip が用意されています。
unzip という名前は、「zip の逆をやりたい」と思ったときに
(transpose よりは) 思い付きやすい名前だと思います。
ということで Array#unzip を Array#transpose のエイリアスとして
導入してはどうで...
mrkn (Kenta Murata)
11:26 PM Bug #5135 (Closed): Ruby 1.9.3-preview1 tests fails in Fedora Rawhide
It would be nice if all test are green before release.
https://gist.github.com/1118196
vo.x (Vit Ondruch)
10:50 PM Bug #4457: Time#strftime で %z 指定子などに大きな幅を指定した際の不具合
とりあえずいいような気がします。
しかし、考えてみると strftime の API が腐っているという問題があるわけで、
そして、Ruby 1.9 では OS の strftime を使っていないのだから、
その API につきあう必要はないわけです。
というわけで、バッファが足りなかったときには必要な長さを返すようにするとか
まともな API を用意して使うのがいい気がしますね。
akr (Akira Tanaka)
10:35 PM Revision fa25f260 (git): * test/net/http/test_http.rb (TestNetHTTP_version_1_1_methods#test_timeout_during_HTTP_session):
If you connect to localhost, you should listen localhost.
* test/net/http/test_https.rb (TestNetHTTPS#test_timeout_during_SSL_handshake):
ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32806 b2dd03c8-39d4-4d8f-98ff-823fe69...
shyouhei (Shyouhei Urabe)
10:23 PM Feature #5101: allow optional timeout for TCPSocket.new
2011/7/30 Tanaka Akira <[email protected]>:

> I expected such code in client socket library because
> socket library doesn't provide timeout feature (and Timeout exception class).

On second thought, Errno::ETIMEDOUT can be a cand...
akr (Akira Tanaka)
10:18 PM Feature #859: open-uri doesn't allow redirection to https
I'd like generic solution. Especially because open-uri doesn't provide a way to specify headers for each request for redirection. akr (Akira Tanaka)
09:22 PM Revision 35186277 (git): * 2011-08-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:22 PM Revision 9e49d29e (git): Correct RubyGems bin check on Windows. Bug #5111
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e luislavena (Luis Lavena)
06:57 PM Revision 8e627bc1 (git): * lib/rdoc: Update to 3.9.1. Fixes === lines in verbatim sections.
Fixes :nodoc: on class aliases. Fixes :stopdoc: creating references
to Object. Fixes spacing when class comments are merged in ri.
Fixes `ri []` crash. Fixes bug report URL when rdoc crashes. Adds
:doc: ...
drbrain (Eric Hodel)
06:27 PM Revision e2c24e16 (git): * 2011-08-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:27 PM Revision c2c6dc8d (git): * test/rake/test_rake_directory_task.rb (TestRakeDirectoryTask#
test_directory_win32): fixed wrong test.
backported r32670 from trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
2011/7/27 Luis Lavena <[email protected]>:
> On Mon, Jul 25, 2011 at 11:52 PM, Yui NARUSE <[email protected]> wrote:
> ...
nobu says he is not the maintainer of mingw.
Will you be the maitainer of mingw32 and mingw-w64?
naruse (Yui NARUSE)
05:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
2011/7/26 Steve Klabnik <[email protected]>:
>
> Issue #5097 has been updated by Steve Klabnik.
>
>
> I would like to help for OSX > 10.6, and maybe 10.5 if I can get a machine. I'm not exactly sure what 'maintainer's responsi...
naruse (Yui NARUSE)
03:29 AM Feature #5097: Supported platforms of Ruby 1.9.3
Dne 26.7.2011 12:45, KOSAKI Motohiro napsal(a):
> 2011/7/26 Eric Wong<[email protected]>:
>> Yui NARUSE<[email protected]> wrote:
>>> If you want to support a platform, please declare.
>>> But when a platform dependent bug ...
Anonymous
03:45 PM Bug #5114 (Closed): rake's tests imply the binary name of ruby
This issue was solved with changeset r32797.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/rake/test_rake_functional.rb: Don't assume the binary name...
drbrain (Eric Hodel)
02:23 PM Feature #5128: 日本語ドキュメントをUTF-8に
(2011/08/01 13:28), Nobuyoshi Nakada wrote:
> なかだです。
>
> At Mon, 1 Aug 2011 12:09:38 +0900,
> Urabe Shyouhei wrote in [ruby-dev:44295]:
>> (08/01/2011 11:52 AM), Nobuyoshi Nakada wrote:
>>> むしろ、メタ情報を設定しているにもかかわらずちゃんと表示できないコ...
Anonymous
01:59 PM Feature #5128: 日本語ドキュメントをUTF-8に
あいざわです

とりあえず、トップレベルにあるファイルとdoc/ 以下についてUTF-8に変更したものでpull request を更新しました。
https://github.com/ruby/ruby/pull/38

その他のファイルはどうしましょう。
時間があるときにテストを回しながら、各メンテナーの方々にきいてみて、影響ないモノについてはUTF-8にしていく
作業を引き取っても良いです。

> ChangeLog について...
ayumin (Ayumu AIZAWA)
01:53 PM Feature #5128: 日本語ドキュメントをUTF-8に
2011年8月1日12:51 Ayumu Aizawa <[email protected]>:
> 文字化けは残念だなぁとおもって軽い気持ちで送ってみたのですが、改めて調べてみると nkf --guess で非ASCIIと
> 判定されるファイルがたくさんありますね。なかにはテストの都合などで敢えてそうしているものもあるんでしょうか。。。
>
> 個人的には明らかにドキュメントであるようなファイルについてはUTF-8に統一で良いとおもってい...
naruse (Yui NARUSE)
01:29 PM Feature #5128: 日本語ドキュメントをUTF-8に
なかだです。

At Mon, 1 Aug 2011 12:09:38 +0900,
Urabe Shyouhei wrote in [ruby-dev:44295]:
> (08/01/2011 11:52 AM), Nobuyoshi Nakada wrote:
> > むしろ、メタ情報を設定しているにもかかわらずちゃんと表示できないコード
> > ブラウザのバグでしょう。本末転倒だと思います。
>
> redmineに関してはバグ...
nobu (Nobuyoshi Nakada)
01:29 PM Feature #5128: 日本語ドキュメントをUTF-8に
なかだです。

At Mon, 1 Aug 2011 12:09:38 +0900,
Urabe Shyouhei wrote in [ruby-dev:44295]:
> (08/01/2011 11:52 AM), Nobuyoshi Nakada wrote:
> > むしろ、メタ情報を設定しているにもかかわらずちゃんと表示できないコード
> > ブラウザのバグでしょう。本末転倒だと思います。
>
> redmineに関してはバグ...
nobu (Nobuyoshi Nakada)
12:53 PM Feature #5128: 日本語ドキュメントをUTF-8に
pull request を送ったあいざわです。

文字化けは残念だなぁとおもって軽い気持ちで送ってみたのですが、改めて調べてみると nkf --guess で非ASCIIと
判定されるファイルがたくさんありますね。なかにはテストの都合などで敢えてそうしているものもあるんでしょうか。。。

個人的には明らかにドキュメントであるようなファイルについてはUTF-8に統一で良いとおもっています。

以下調査結果です。

- 非ASCII、...
ayumin (Ayumu AIZAWA)
12:53 PM Feature #5128: 日本語ドキュメントをUTF-8に
On 2011/08/01 12:04, KOSAKI Motohiro wrote:

> 現実問題としてASCIIの範囲で自分の名前を記述できない方がヨーロッパにもたくさんいるので
> これを機に ChangeLog等も UTF-8 で記述するというルールにしてしまってはどうでしょうか。
> パッチをContribute してくれたときの記載する謝辞は名前を省略・変形しないというのは
> それなりに一般的なマナーだと思います。
>
> ...
duerst (Martin Dürst)
12:23 PM Feature #5128: 日本語ドキュメントをUTF-8に
2011年8月1日12:04 KOSAKI Motohiro <[email protected]>:
> 現実問題としてASCIIの範囲で自分の名前を記述できない方がヨーロッパにもたくさんいるので
> これを機に ChangeLog等も UTF-8 で記述するというルールにしてしまってはどうでしょうか。
> パッチをContribute してくれたときの記載する謝辞は名前を省略・変形しないというのは
> それなりに一般的なマナーだと...
naruse (Yui NARUSE)
12:23 PM Feature #5128: 日本語ドキュメントをUTF-8に
(08/01/2011 11:52 AM), Nobuyoshi Nakada wrote:
> むしろ、メタ情報を設定しているにもかかわらずちゃんと表示できないコード
> ブラウザのバグでしょう。本末転倒だと思います。

redmineに関してはバグと呼ぶにやぶさかではありませんがgitにはメ
タ情報(という概念)がないわけで、githubをバグ呼ばわりするのは濡
れ衣といわざるをえません。
shyouhei (Shyouhei Urabe)
12:23 PM Feature #5128: 日本語ドキュメントをUTF-8に
(2011/08/01 11:10), Kenta Murata wrote:
> むらたです。
>
> On Monday, August 1, 2011 at 10:39 , Shyouhei Urabe wrote:
>> pull requestが来ています。
>>
>> https://github.com/ruby/ruby/pull/38
>>
>> 個人的にEUCに思い入れはない(すくなくともUTF8と同程...
Anonymous
11:53 AM Feature #5128: 日本語ドキュメントをUTF-8に
提供者によると「redmine.ruby-lang の
リポジトリやGithubのコードブラウザで表示すると文字化けして見える」。
UTF-8 で直るのなら是非適応していただきたいです。

「なお、このパッチを適用する場合は、同時にsvnのメタ情報の方も変更の必要
があります。」とも書いてありますが、git にはそのようなメタ情報はないで
しょうか。

よろしくお願いします。 Martin.

On 2011/08/0...
duerst (Martin Dürst)
11:52 AM Feature #5128: 日本語ドキュメントをUTF-8に
> Change encoding from EUC-JP to UTF-8.
> ...
むしろ、メタ情報を設定しているにもかかわらずちゃんと表示できないコード
ブラウザのバグでしょう。本末転倒だと思います。
nobu (Nobuyoshi Nakada)
11:37 AM Feature #5128: 日本語ドキュメントをUTF-8に
変更自体は賛成です。
pull request のパッチをみるとトップの *.ja だけですが、
変更するなら doc/*.ja なども変更してしまって良いのではないでしょうか。
% git ls-files|fgrep .ja|xargs nkf --guess|grep EUC
README.EXT.ja:EUC-JP
README.ja:EUC-JP
doc/etc.rd.ja:EUC-JP
doc/forwardable.rd.ja:EUC...
znz (Kazuhiro NISHIYAMA)
11:23 AM Feature #5128: 日本語ドキュメントをUTF-8に
むらたです。

On Monday, August 1, 2011 at 10:39 , Shyouhei Urabe wrote:
> pull requestが来ています。
>
> https://github.com/ruby/ruby/pull/38
>
> 個人的にEUCに思い入れはない(すくなくともUTF8と同程度には)ので、まあ、いいのではないかという気になっていますが、どうしますか。

我々日本人は EUC-JP でも U...
mrkn (Kenta Murata)
10:39 AM Feature #5128 (Closed): 日本語ドキュメントをUTF-8に
pull requestが来ています。
https://github.com/ruby/ruby/pull/38
個人的にEUCに思い入れはない(すくなくともUTF8と同程度には)ので、まあ、いいのではないかという気になっていますが、どうしますか。
shyouhei (Shyouhei Urabe)
02:23 PM Feature #5120: String#split needs to be logical
On Aug 1, 2011, at 12:37 AM, Kirill Radzikhovskyy wrote:
> I also find this behavior confusing
> mainly because:
>
> ruby-1.9.2-p290 :001 > 'a,b,,'.split ','
>
Anonymous
01:37 PM Feature #5120: String#split needs to be logical
Hi,
I also find this behavior confusing
mainly because:
ruby-1.9.2-p290 :001 > 'a,b,,'.split ','
=> ["a", "b"]
ruby-1.9.2-p290 :002 > ',,a,b'.split ','
=> ["", "", "a", "b"]
kirillrdy (Kirill Radzikhovskyy)
01:57 PM Feature #5129 (Assigned): Create a core class "FileArray" and make "ARGF" its instance
I suggest to create a class "`FileArray`" whose instance behaves just like `ARGF` do.
And I think `ARGF` should be an instance of `FileArray`. Now when I "`p ARGF.class`", I get "`ARGF.class`", so `ARGF` is an instance of `ARGF.class`, ...
yimutang (Joey Zhou)
01:18 PM Revision 4d9c0998 (git): * ChangeLog: fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
12:10 PM Bug #5126 (Closed): Unicode character classes interpolated into regex throws exception
This issue was solved with changeset r32791.
Xavier, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* insns.def (concatstrings): don't use initial ASCII-8BIT strin...
naruse (Yui NARUSE)
09:31 AM Bug #5126 (Closed): Unicode character classes interpolated into regex throws exception
The following script runs under 1.9.2-p290:
# encoding: UTF-8
letter = '\p{L}'
atext = "[#{letter}]"
/#{atext}/
Under 1.9.3-preview1 it raises an exception:
test.rb:6:in `<main>': invalid character propert...
xaviershay (Xavier Shay)
11:23 AM Revision b8d546db (git): * test/ruby/test_process.rb (TestProcess#windows?): new method.
* test/ruby/test_process.rb (TestProcess#*): use above method.
* test/ruby/test_process.rb (TestProcess#test_execopts_redirect):
windows doesn't support FD_CLOEXEC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32799 b2dd03c8-39...
U.Nakamura
10:12 AM Bug #5127: ruby 1.9.3 prev1 で Array#[]=( Array.new ) が1.9.2より2倍遅い
Linux(Ubuntu 10.4 gcc 4.4.3) でも試してみたところやはり倍近く時間がかかっていました。1.9.3 ではなく trunk とですが。
$ ruby-1.9.2 bm_array.rb
user system total real
Array.new 2.340000 0.070000 2.410000 ( 2....
nagachika (Tomoyuki Chikanaga)
09:43 AM Bug #5127: ruby 1.9.3 prev1 で Array#[]=( Array.new ) が1.9.2より2倍遅い
重要な問題だと思いますので、チケット化しました。
kosaki (Motohiro KOSAKI)
09:42 AM Bug #5127 (Closed): ruby 1.9.3 prev1 で Array#[]=( Array.new ) が1.9.2より2倍遅い
Arrayオブジェクトを Array#[]= で設定する場合に、
ruby 1.9.3 prev1 が 1.9.2 p290 と比較して2倍ほど遅くなっているようなので
ご報告いたします。

(既知の現象であれば、申し訳ありませんがスルーしてください)

----
require 'benchmark'

Benchmark.bm(22) do |x|
x.report "Array.new" do
1_000_...
Anonymous
08:09 AM Bug #5125 (Closed): obj.send() documentation issue
Filing this as a bug per request of Eric Hodel on the ruby-talk mailing list. Excerpt from the mailing list post ( http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/386033 ):
================
obj.send(symbol [, args...]) ob...
cwgem (Chris White)
06:47 AM Revision 0da19771 (git): * test/rake/test_rake_functional.rb: Don't assume the binary name of
ruby is "ruby". [Ruby 1.9 - Bug #5114]
* test/rake/helper.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
06:45 AM Revision f209dc72 (git): * test/rake/test_rake_functional.rb: Don't assume the binary name of
ruby is "ruby". [Ruby 1.9 - Bug #5114]
* test/rake/helper.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
06:36 AM Revision 6851f29b (git): * test/io/console/test_io_console.rb (TestIO_Console#test_sync):
Skip when PTY allocation failed (that's not our failt).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
06:22 AM Revision 3237f7dc (git): * test/xmlrpc/test_webrick_server.rb (Test_Webrick#setup_http_server):
XMLRPC::Client.new3(), when called without host: argument, tries
to connect to a host where "localhost" resolves to. On the
other hand a WEBrick::HTTPServer.new(), when called without
BindAddress: argument, tries to li...
shyouhei (Shyouhei Urabe)
05:25 AM Revision a429cafc (git): * lib/rdoc.rb: Import RDoc 3.9.1. Fixes bugs in the RDoc::Markup
parser.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
03:21 AM Revision 7d2efc1f (git): remove duplicated entry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:10 AM Revision d18f05af (git): * 2011-08-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:10 AM Revision db42bd04 (git): * insns.def (concatstrings): don't use initial ASCII-8BIT string.
[ruby-core:38635] [Bug #5126]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:54 AM Bug #5110 (Feedback): Ruby SSL error - sslv3 alert unexpected message
In my opinion Ruby reacts normal here. The OpenSSL::SSL::SSLContext is allocated using "SSLv23" by default for maximum compatibility. Here is what the official doc says:
SSLv23_method:
A TLS/SSL connection established with these method...
MartinBosslet (Martin Bosslet)

07/31/2011

11:16 PM Feature #4871: envのコンパクト化
辻本です。
--gc-stressオプションをつけた状態でtest-allを実行しましたが、
このパッチに起因するテストの失敗はなかったのでtrunkにコミットしました。
本格的な見直しは改めてということでお願いできればと思います。
ktsj (Kazuki Tsujimoto)
11:00 PM Feature #4871 (Closed): envのコンパクト化
This issue was solved with changeset r32781.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm.c (vm_make_env_each): don't save prev env value.
It is no ...
ktsj (Kazuki Tsujimoto)
08:22 PM Revision c6fcfd6d (git): merge revision(s) 32582:
* cont.c (cont_save_thread): fix missing semicolon.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:29 PM Bug #5122: make test fails on OS X 10.7 (11A511)
It, worked, thanks!
Had to do a "make distclean" first.
filipp (Filipp Lepalaan)
03:46 PM Bug #5122 (Closed): make test fails on OS X 10.7 (11A511)
Run configure with --with-gcc=gcc-4.2. naruse (Yui NARUSE)
03:10 AM Bug #5122 (Closed): make test fails on OS X 10.7 (11A511)
Trying to install ruby from source (ruby 1.9.2p290), I get the following output when running "make test":
flips:ruby-1.9.2-p290 filipp$ make test
sample/test.rb:assignment ..............................................................
filipp (Filipp Lepalaan)
04:19 PM Feature #5123 (Rejected): Alias Hash 1.9 as OrderedHash
I read that it was a controversial decision to make Hash in Ruby 1.9 ordered.
It is not clear if the present implementation is the best possible.
I would like to express my thought.
It would be nice if the ordered Hash in Ruby 1.9 w...
alexeymuranov (Alexey Muranov)
03:49 PM Bug #4501 (Closed): 1.9.2-p180 fails to compile on OSX 10.7
> Wayne
Run rvm install -C --with-gcc-4.2
> ...
The clang which is bundled with Xcode 4.1/4.2 beta is bit old and doesn't support ruby.
So don't use it.
But current svn version of clang supports ruby.
naruse (Yui NARUSE)
03:24 PM Feature #5120: String#split needs to be logical
I understand why
```ruby
",,1".split(',') # => ["","","1"]
```
and why
```ruby
".5".split('.') # => ["","5"]
```
But then `",1,".split(',')` should return `["", "1", ""]`.
It is not clear why one needs to do it l...
alexeymuranov (Alexey Muranov)
02:23 PM Feature #5120: String#split needs to be logical
On 2011/07/31 1:30, Yusuke ENDOH wrote:

> So, what does "aab".split('a') return?
> I think that only ["aab"] meets the condition.
> But it is also surprising to me.

It's much easier to think about if you replace 'a' with '...
duerst (Martin Dürst)
06:17 AM Feature #5120: String#split needs to be logical
It is still not very clear why
"a".split('',-1) # => ["a", ""]
and not `["", "a", ""]` or `["a"]`,
(and why `"".split('',-1) # => []`)
Alexey.
alexeymuranov (Alexey Muranov)
06:13 AM Feature #5120: String#split needs to be logical
Thank you for the explanation.
Yes, Yusuke, my definition was wrong, i thought about "a maximal array of non-empty strings whose members don't contain any matching substrings".
Gary, I didn't read the documentation carefully, so i di...
alexeymuranov (Alexey Muranov)
04:23 AM Feature #5120: String#split needs to be logical
On Jul 30, 2011, at 12:12 PM, Alexey Muranov wrote:
> Here are examples showing a surprising and inconsistent behavior of String#split method:

With only one argument, split discards trailing empty fields.

> "aa".split('a') # => ...
Anonymous
01:53 AM Feature #5120: String#split needs to be logical
2011/7/31 Yusuke ENDOH <[email protected]>:
> Hello,
>
> 2011/7/31 Alexey Muranov <[email protected]>:
>>  str1.split(str2) returns a maximal array of non-empty substrings of str1 which can be concatenated with copies of s...
mame (Yusuke Endoh)
01:53 AM Feature #5120: String#split needs to be logical
Hello,

2011/7/31 Alexey Muranov <[email protected]>:
>  str1.split(str2) returns a maximal array of non-empty substrings of str1 which can be concatenated with copies of str2 to form str1.

So, what does "aab".split('...
mame (Yusuke Endoh)
01:12 AM Feature #5120 (Rejected): String#split needs to be logical
Here are examples showing a surprising and inconsistent behavior of `String#split` method:
```ruby
"aa".split('a') # => []
"aab".split('a') # => ["", "", "b"]
"aaa".split('aa') # => ["", "a"]
"aaaa".split('aa') # => []
"aa...
alexeymuranov (Alexey Muranov)
02:17 PM Revision 6280ce3b (git): Forward-ports r32779 from branches/ruby_1_9_3 to trunk. The original commit
by ktsj.
--
configure.in: fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:17 PM Revision ddeccd20 (git): Forward-ports r32780 from branches/ruby_1_9_3 to trunk.
--
* enc/Makefile.in (ECHO1): Same as the recent fix in common.mk.
":" in a make variable replacement cause a syntax error with
/usr/ccs/bin/make on Solaris. Uses $(NULLCMD) instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
yugui (Yuki Sonoda)
02:17 PM Revision 4270dbe6 (git): Forward-ports r32777 from branches/ruby_1_9_3 to trunk.
--
* complex.c (f_signbit): gcc4 on Solaris DOES have signbit but does
not have it on header.
* math.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:17 PM Revision 05ec8392 (git): Forward-ports r32776 from branches/ruby_1_9_3 to trunk.
--
* common.mk (node_name.inc): Use $(Q) for consistency.
* Makefile.in (INSNS): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:17 PM Revision 2dafa218 (git): Forward-ports r32778 from branches/ruby_1_9_3 to trunk.
--
* lib/mkmf.rb (configuration:ECHO1): Same as the recent fix in
common.mk.
":" in a make variable replacement cause a syntax error with
/usr/ccs/bin/make on Solaris. Uses $(NULLCMD) instead.
git-svn-id: svn+ssh://ci.ruby-lang.o...
yugui (Yuki Sonoda)
02:17 PM Revision f037909a (git): Forward-ports r32775 from branches/ruby_1_9_3 to trunk.
--
* common.mk (ECHO1): nmake does not allow parenthesis in make variable
replacement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:11 PM Revision 3441301d (git): * vm.c (check_env): print debug messages to stderr.
[Feature #4871] [ruby-dev:43743]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
02:00 PM Revision 172ac007 (git): * vm.c (vm_make_env_each): don't save prev env value.
It is no longer used. [Feature #4871] [ruby-dev:43743]
* vm.c (check_env): changed accordingly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
01:59 PM Revision 3c20af1d (git): * enc/Makefile.in (ECHO1): Same as the recent fix in common.mk.
":" in a make variable replacement cause a syntax error with
/usr/ccs/bin/make on Solaris. Uses $(NULLCMD) instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:45 PM Revision 100f2e67 (git): * configure.in: fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
12:21 PM Revision d2b78e79 (git): * lib/mkmf.rb (configuration:ECHO1): Same as the recent fix in
common.mk.
":" in a make variable replacement cause a syntax error with
/usr/ccs/bin/make on Solaris. Uses $(NULLCMD) instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:21 PM Revision 10350735 (git): * complex.c (f_signbit): gcc4 on Solaris DOES have signbit but does
not have it on header.
* math.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:18 PM Feature #5054 (Rejected): Compress a sequence of ends
sorah (Sorah Fukumori)
12:10 PM Revision 7e50bb96 (git): * common.mk (node_name.inc): Use $(Q) for consistency.
* Makefile.in (INSNS): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
11:59 AM Bug #5083: cref/cbase取得時にSEGV
trunkと1.9.3にコミットしました。 ktsj (Kazuki Tsujimoto)
11:32 AM Bug #5083 (Closed): cref/cbase取得時にSEGV
This issue was solved with changeset r32768.
Kazuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm.c: check if cfp is valid. [Bug #5083] [ruby-dev:44208]
Anonymous
11:40 AM Revision c06bef87 (git): * common.mk (ECHO1): nmake does not allow parenthesis in make variable
replacement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
11:31 AM Revision 53d3b132 (git): Forwardports r32772 and r32773 from branches/ruby_1_9_3 to trunk.
* common.mk (ECHO1): ":" in a make variable replacement cause a syntax
error with /usr/ccs/bin/make on Solaris. Uses $(NULLCMD) instead.
* configure.in (NULLCMD): new check.
* Makefile.in (NULLCMD): Reflects checking in configure.
...
yugui (Yuki Sonoda)
11:30 AM Revision 49828146 (git): Fixes a wrong part in the previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
11:27 AM Revision 2e3be737 (git): * common.mk (ECHO1): ":" in a make variable replacement cause a syntax
error with /usr/ccs/bin/make on Solaris. Uses $(NULLCMD) instead.
* configure.in (NULLCMD): new check.
* Makefile.in (NULLCMD): Reflects checking in configure.
* win32/Makefile.sub (NULLCMD): new assignment.
git-svn-id: svn+ssh://ci...
yugui (Yuki Sonoda)
10:58 AM Bug #2729: `unexpected break' occurs when a proc is called in ensure
A patch fixing the problem is attached, but it might be only a workaroud. ktsj (Kazuki Tsujimoto)
09:59 AM Revision f46cff64 (git): * io.c (rb_pipe): pipe on cygwin can succeed half but fail
half.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:48 AM Revision b1b58cfd (git): * property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:57 AM Revision 31013d0f (git): * backport r32768 from trunk.
* vm.c: check if cfp is valid. [Bug #5083] [ruby-dev:44208]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
02:32 AM Revision 70189a8c (git): * vm.c: check if cfp is valid. [Bug #5083] [ruby-dev:44208]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
12:19 AM Revision 89b601d1 (git): * lib/rdoc: Update to RDoc 3.9. Fixed `ri []`, stopdoc creating an
object reference, nodoc for class aliases, verbatim === lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)

07/30/2011

11:14 PM Bug #5119 (Closed): Infinite Loop with IO#pos and IO#each_byte
This issue was solved with changeset r32758.
Max, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* io.c (rb_io_each_byte): rbuf can be refreshed during yield.
[B...
nobu (Nobuyoshi Nakada)
10:20 PM Bug #5119 (Closed): Infinite Loop with IO#pos and IO#each_byte
f = File.new(ARGV.shift)
i = 0
f.each_byte {puts "%08X" % (f.pos - 1) if (i += 1) % 16 == 1}
f.close
This code produces the expected output but never finishes the each_byte loop, instead hanging with 100% CPU usage.
The proc...
silverhammermba (Max Anselm)
10:41 PM Bug #4456 (Closed): Time#strftime で %F 指定子に大きな幅を指定した際の不具合
This issue was solved with changeset r32757.
tadayoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* strftime.c (NEEDS): avoid SEGV due to integer overflow in ...
ngoto (Naohisa Goto)
04:50 PM Bug #4456: Time#strftime で %F 指定子に大きな幅を指定した際の不具合
Motohiro KOSAKI wrote:
> 一週間たちましたが、こちら進捗はいかがでしょうか
無事にコミット権をもらえましたので、今日中にはtrunkとruby_1_9_3両方にコミットします。
ngoto (Naohisa Goto)
01:52 PM Bug #4456: Time#strftime で %F 指定子に大きな幅を指定した際の不具合
一週間たちましたが、こちら進捗はいかがでしょうか kosaki (Motohiro KOSAKI)
04:31 PM Revision 4ac69a57 (git): * io.c (rb_io_each_byte): remove unused variable e.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:26 PM Revision 1c8fd014 (git): * 2011-07-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:26 PM Revision 729c4b06 (git): Merge commit r32762:
* test/bigdecimal/test_bigdecimal.rb (test_version): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
04:24 PM Revision 7f958b79 (git): * 2011-07-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:24 PM Revision 8a74797f (git): * test/bigdecimal/test_bigdecimal.rb (test_version): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
02:53 PM Revision e613980e (git): * lib/cmath.rb (cbrt): should return a real number if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
02:49 PM Revision 266755a6 (git): * ext/date/date_core.c: an issue that is same as [ruby-dev:44071].
* ext/date/date_strftime.c: identical to [ruby-dev:44112].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
02:19 PM Revision 6466df87 (git): * defs/default_gems: separate from tool/rbinstall.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:19 PM Revision 92b9c6bb (git): * defs/default_gems: separate from tool/rbinstall.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:14 PM Revision 321346cf (git): * io.c (rb_io_each_byte): rbuf can be refreshed during yield.
[Bug #5119]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:14 PM Revision 77ed5993 (git): * io.c (rb_io_each_byte): rbuf can be refreshed during yield.
[Bug #5119]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:49 PM Bug #4457: Time#strftime で %z 指定子などに大きな幅を指定した際の不具合
akrさん、nakadaさんのパッチはコミットしてしまっていいのでしょうか? kosaki (Motohiro KOSAKI)
01:41 PM Revision cf310f97 (git): * strftime.c (NEEDS): avoid SEGV due to integer overflow in sparc-solaris2.10
and i686-linux. fix [Bug #4456] [ruby-dev:43284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ngoto (Naohisa Goto)
01:41 PM Revision 875cea02 (git): * strftime.c (NEEDS): avoid SEGV due to integer overflow in sparc-solaris2.10
and i686-linux. fix [Bug #4456] [ruby-dev:43284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ngoto (Naohisa Goto)
11:23 AM Feature #5097: Supported platforms of Ruby 1.9.3
> Issue #5097 has been updated by Eric Wong.
>
> File 0001-allocate-th-altstack-early-run-GC-on-allocation-fail.patch added
>
> Jeremy: does my patch to allocate th->altstack in a place where xmalloc() is
> possible help?
>
...
kosaki (Motohiro KOSAKI)
09:23 AM Feature #5097: Supported platforms of Ruby 1.9.3
2011/7/30 Jeremy Evans <merch-redmine / jeremyevans.net>:
> 16:28:55.962400 fe80::92fb:a6ff:feed:afa1.10000 > fe80::92fb:a6ff:feed:afa1.23171: [udp sum ok] udp 3 (len 11, hlim 64)
> ...
It is possible if OpenBSD doesn't support dynamic...
akr (Akira Tanaka)
08:35 AM Feature #5097: Supported platforms of Ruby 1.9.3
=begin
It appears that OpenBSD has the correct behavior without including the pktinfo argument. I'm attaching a test program. Here's two examples of usage and the output of each.
Without including pktinfo in the server's sendmsg cal...
jeremyevans0 (Jeremy Evans)
07:23 AM Feature #5097: Supported platforms of Ruby 1.9.3
2011/7/30 Jeremy Evans <[email protected]>:

> It looks like the socket failure on OpenBSD is because in Socket.udp_server_recv, you are adding the pktinfo in the sendmsg call, and OpenBSD appears not to like that in all c...
akr (Akira Tanaka)
03:36 AM Feature #5097: Supported platforms of Ruby 1.9.3
I forgot to mention that r32730, r32731, r32734, and r32738 should be merged into the 1.9.3 branch as they are currently only on trunk. Maybe r32731, r32734, and r32738 should be combined into a single patch when merging into 1.9.3. jeremyevans0 (Jeremy Evans)
03:23 AM Feature #5097: Supported platforms of Ruby 1.9.3
> I can't understand why OpenBSD fails the test.
It looks like the socket failure on OpenBSD is because in Socket.udp_server_recv, you are adding the pktinfo in the sendmsg call, and OpenBSD appears not to like that in all cases, spec...
jeremyevans0 (Jeremy Evans)
12:53 AM Feature #5097: Supported platforms of Ruby 1.9.3
2011/7/28 Jeremy Evans <[email protected]>:

> The issue is that Socket.ip_address_list and Addrinfo.foreach return different things.
>
> $ ruby19 -rsocket -e 'p Socket.ip_address_list'
> [#<Addrinfo: ::1>, #<Add...
akr (Akira Tanaka)
10:38 AM Bug #5116 (Closed): Code example for URI::Parser is invalid
The code example for URI::Parser#initialize is invalid Ruby code.
A patch is supplied.
agrimm (Andrew Grimm)
08:36 AM Revision 3761e00f (git): * test/win32ole/test_win32ole_variant.rb: use skip method to skip the test.
* test/win32ole/test_win32ole_variant_outarg.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
05:39 AM Revision 086dd750 (git): Merge commit r32754:
* ext/bigdecimal/bigdecimal.c (BigDecimal_version): version 1.1.0.
* ext/bigdecimal/bigdecimal.gemspec: turn into a default gem.
* tool/rbinstall.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32755 b...
Kenta Murata
05:31 AM Revision 5edd7f07 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_version): version 1.1.0.
* ext/bigdecimal/bigdecimal.gemspec: turn into a default gem.
* tool/rbinstall.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
04:57 AM Revision 70d89f2c (git): * ext/bigdecimal/lib/bigdecimal/util.rb (Rational#to_d):
revive zero and implicit precision support as a deprecated feature.
* test/bigdecimal/test_bigdecimal_util.rb: modify a test for the above
change.
* NEWS: describes the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branche...
Kenta Murata
03:25 AM Bug #5114: rake's tests imply the binary name of ruby
Here's the patch I'm using to fix the rake test issues. jeremyevans0 (Jeremy Evans)
02:23 AM Revision cef42f30 (git): added ML ref
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
02:22 AM Revision ac397a9e (git): * vm_core.h (ALT_STACK_SIZE): use MINSIGSTKSZ*2 instead of SIGSTKSZ*2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
01:58 AM Revision 64270d3d (git): merge revision(s) 32749:
* vm.c (th_init): preallocate alternative stack.
NoMemoryError is better than rb_bug, of course.
Patch by Eric Wong. [ruby-core:38572][ruby-core:38594].
* signal.c (rb_register_sigaltstack): ditto.
*...
kosaki (Motohiro KOSAKI)
01:57 AM Revision 18bc6c31 (git): * vm.c (th_init): preallocate alternative stack.
NoMemoryError is better than rb_bug, of course.
Patch by Eric Wong. [ruby-core:38572][ruby-core:38594].
* signal.c (rb_register_sigaltstack): ditto.
* vm_core.h: moved ALT_STACK_SIZE definition from signal.c.
* vm.c (thread_free): us...
kosaki (Motohiro KOSAKI)
12:53 AM Feature #5101: allow optional timeout for TCPSocket.new
2011/7/29 Eric Wong <[email protected]>:

> Like my original example in the ticket?
>
> addr = Socket.pack_sockaddr_in(9418, "127.0.0.1")
> s = Socket.new(:AF_INET, :SOCK_STREAM, 0)
> begin
> s.connect_no...
akr (Akira Tanaka)

07/29/2011

10:40 PM Revision 32cfc7ce (git): * ext/socket/lib/socket.rb (udp_server_sockets): unused variable
removed.
patch by Jeremy Evans. [ruby-core:38600]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:40 PM Revision 1054b796 (git): * ext/socket/lib/socket.rb (udp_server_sockets): unused variable
removed.
patch by Jeremy Evans. [ruby-core:38600]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
07:03 PM Bug #4989 (Closed): Document Socket constants
This issue was solved with changeset r32735.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/socket/mkconstants.rb: add documents for constants.
patch...
akr (Akira Tanaka)
04:21 PM Bug #5114 (Closed): rake's tests imply the binary name of ruby
As Jeremy reported on [ruby-core:38530], current rake tests imply the binary name of ruby as "ruby".
They should use /#{Regexp.quote(RUBY)} -e/ as znz says on [ruby-core:38579].
naruse (Yui NARUSE)
03:49 PM Revision 72276eb0 (git): * remove unused variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:30 PM Revision 990e3e6d (git): * configure.in (RSHIFT): quote to get rid of argument expansion
for autoconf 2.68.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:29 PM Bug #5081: LionでTestSyslog が一件 failure
In message <[email protected]>
on Fri, 29 Jul 2011 14:47:57 +0900,
KOSAKI Motohiro <[email protected]> wrote:
>> (NetBSD 5.99.55で、syslogdに -o syslog とオプションを指定した場合で、
>> 伝統的なRFC3164によるsyslogではなく、RFC542...
taca (Takahiro Kambe)
03:29 PM Bug #5081: LionでTestSyslog が一件 failure
In message <[email protected]>
on Fri, 29 Jul 2011 14:47:57 +0900,
KOSAKI Motohiro <[email protected]> wrote:
>> (NetBSD 5.99.55で、syslogdに -o syslog とオプションを指定した場合で、
>> 伝統的なRFC3164によるsyslogではなく、RFC542...
taca (Takahiro Kambe)
02:53 PM Bug #5081: LionでTestSyslog が一件 failure
(2011/07/29 13:30), Takahiro Kambe wrote:
> In message <[email protected]>
> on Fri, 29 Jul 2011 12:59:19 +0900,
> Akinori MUSHA <[email protected]> wrote:
>> Lionからsyslogの書式が変わったように見えます
> 世の...
Anonymous
01:53 PM Bug #5081: LionでTestSyslog が一件 failure
In message <[email protected]>
on Fri, 29 Jul 2011 12:59:19 +0900,
Akinori MUSHA <[email protected]> wrote:
> Lionからsyslogの書式が変わったように見えます
世の中には(オプション指定すると)、こんな内容をログに出すものも存在しま
すしなぁ。

2011-...
taca (Takahiro Kambe)
12:59 PM Bug #5081: LionでTestSyslog が一件 failure
Lion(の開発)環境が手元に用意できるのが今週末見込みなので少し待っててください。 knu (Akinori MUSHA)
03:21 PM Revision 6c346da7 (git): * ChangeLog: remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:21 PM Revision 07cbc8bc (git): * ChangeLog: remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:01 PM Revision 81113042 (git): * 2011-07-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision e7f4a32f (git): * 2011-07-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision 2401971e (git): * 2011-07-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:01 PM Revision 8c29dd85 (git): * lib/securerandom.rb: call OpenSSL::Random.seed at the
SecureRandom.random_bytes call.
based on the patch by Masahiro Tomita. [ruby-dev:44270]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:01 PM Revision 4c9b7e79 (git): * lib/securerandom.rb: call OpenSSL::Random.seed at the
SecureRandom.random_bytes call.
based on the patch by Masahiro Tomita. [ruby-dev:44270]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:01 PM Revision 31eb19bb (git): * lib/securerandom.rb: call OpenSSL::Random.seed at the
SecureRandom.random_bytes call.
based on the patch by Masahiro Tomita. [ruby-dev:44270]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:53 PM Revision d9374649 (git): * array.c (rb_ary_set_len): new function to set array length.
* vm_eval.c (method_missing): set the length of argv array, to mark
arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:53 PM Revision 0d632934 (git): * vm_eval.c (rb_apply): get rid of too large alloca.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:41 PM Feature #5097: Supported platforms of Ruby 1.9.3
Jeremy Evans wrote:
> Nobuyoshi Nakada wrote:
> ...
: is a null command of sh, so an workaround can be replace @: with @true.
But unfortunately it can't be accepted because Windows don't have true.
So please replace it when you port ...
naruse (Yui NARUSE)
06:36 AM Feature #5097: Supported platforms of Ruby 1.9.3
Eric Wong wrote:
> Jeremy: does my patch to allocate th->altstack in a place where xmalloc() is
> ...
Thanks Eric, that patch fixes the problem, and should be a better solution than the current code or my previous workaround.
jeremyevans0 (Jeremy Evans)
06:03 AM Feature #5097: Supported platforms of Ruby 1.9.3
Jeremy: does my patch to allocate th->altstack in a place where xmalloc() is
possible help?
Since altstack is always initialized if Ruby is compiled to use it, I see
no reason to delay the allocation.
normalperson (Eric Wong)
05:18 AM Feature #5097: Supported platforms of Ruby 1.9.3
Nobuyoshi Nakada wrote:
> Hi,
> ...
I spoke with the OpenBSD make maintainer and he said it's a bug in OpenBSD make. So I guess there's no reason to change those files. Sorry for the false positive.
jeremyevans0 (Jeremy Evans)
05:17 AM Feature #5097: Supported platforms of Ruby 1.9.3
Jeremy Evans wrote:
> Motohiro KOSAKI wrote:
> ...
Spoke to soon. It passed with just MINSIGSTKSZ if run in isolation, but not with the other tests:
make btest OPTS="--sets=thread" => works
make btest => works
make check OP...
jeremyevans0 (Jeremy Evans)
03:46 AM Feature #5097: Supported platforms of Ruby 1.9.3
Motohiro KOSAKI wrote:
> I wonder why OpenBSD can't allocate SIGSTKSZ size. Usually it's very small. Can you please tell us openbsd has which value of SIGSTKSZ and MINSIGSTKSZ?
> ...
OpenBSD amd64
MINSIGSTKSZ = 8192
SIGSTKSZ = 40960 ...
jeremyevans0 (Jeremy Evans)
12:53 AM Feature #5097: Supported platforms of Ruby 1.9.3
offtopic,

> ia64: fails with:
> compiling cont.c
> cont.c: In function 'cont_save_thread':
> cont.c:386: error: expected ';' before 'cont'
> make[1]: *** [cont.o] Error 1

This problem has been fixed by r32582.

Tha...
kosaki (Motohiro KOSAKI)
12:36 AM Feature #5097: Supported platforms of Ruby 1.9.3
Nobuyoshi Nakada wrote:
> Hi,
> ...
It's invalid syntax in OpenBSD make, probably because the colon indicates another modifier and the old=new modifier must be the last modifier in a make variable substitution:
:old_string=new_s...
jeremyevans0 (Jeremy Evans)
12:23 AM Feature #5097: Supported platforms of Ruby 1.9.3
>> > * bootstraptest/test_thread.rb: Skip 2 tests. The first one appears to hang, the second crashes with a sigaltstack error.
>>
>> signalstack error seems because of the lack of OpenBSD specific setting.
>> see thread_pthread.c:506...
kosaki (Motohiro KOSAKI)
01:14 PM Revision d6ec6752 (git): * test/ruby/test_process.rb (test_rlimit_nofile): fix r32734.
move return statement again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
11:52 AM Revision 7a261bf3 (git): * ext/socket/mkconstants.rb: fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:52 AM Revision 14871a37 (git): * ext/socket/mkconstants.rb: fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:29 AM Revision bca74ae5 (git): * ext/socket/mkconstants.rb: use whitespaces as a separator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:29 AM Revision b6ee29c9 (git): * ext/socket/mkconstants.rb: use whitespaces as a separator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:03 AM Revision 63d65bec (git): * ext/socket/mkconstants.rb: add documents for constants.
patch by Eric Hodel. [ruby-core:37853] [Bug #4989]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:03 AM Revision 8ef6a221 (git): * ext/socket/mkconstants.rb: add documents for constants.
patch by Eric Hodel. [ruby-core:37853] [Bug #4989]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:01 AM Revision 18f03623 (git): Fix r32731: position of definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:17 AM Revision b7c350d9 (git): Run test_popen_fork on FreeBSD because it can run.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:17 AM Revision 012d5902 (git): * 2011-07-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:17 AM Revision 0a4a5b20 (git): Use setrlimit(NOFILE,1) on OpenBSD.
Because on OpenBSD it freezes if limit=0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:17 AM Revision 63bbbdb6 (git): * configure.in (enable_pthread): use -pthread on OpenBSD without
explicit option. patched by Jeremy Evans. [ruby-core:38572]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:59 AM Feature #5101: allow optional timeout for TCPSocket.new
Tanaka Akira <[email protected]> wrote:
> 2011/7/27 Eric Wong <[email protected]>:
> >
> > Proposed API would be:
> >
> > TCPSocket.new(remote_host, remote_port,
> > connect_timeout: 0.5, local_host: nil, lo...
normalperson (Eric Wong)

07/28/2011

11:21 PM Feature #859: open-uri doesn't allow redirection to https
Akr, I think we agreed that http -> https redirection is OK. If you don't like ad-hoc change for 1.9.3, I can do that uglish thing instead of you. :) Do you mind if I'd do that? nahi (Hiroshi Nakamura)
11:15 PM Bug #4964: open-uri failed to handle multiple "Set-Cookie" headers
As the original reporter said. Akr, we should use resp.to_hash instead of resp.each to avoid HTTP header concatenation.
It would introduce meta values incompatibility (String -> Array of String) so I propose to change the target versi...
nahi (Hiroshi Nakamura)
10:23 PM Feature #5097: Supported platforms of Ruby 1.9.3
Hi,

At Wed, 27 Jul 2011 03:44:48 +0900,
Jeremy Evans wrote in [ruby-core:38530]:
> Attached is the make check output on OpenBSD amd64. I'm also attaching a diff with the patches I used:

What is the reason to change ECHO1 ...
nobu (Nobuyoshi Nakada)
05:52 PM Feature #5097: Supported platforms of Ruby 1.9.3
I think
/#{RUBY} -e/ in ruby193.diff
should be
/#{Regexp.quote(RUBY)} -e/
znz (Kazuhiro NISHIYAMA)
04:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
On Jul 27, 2011, at 17:50, Jeremy Evans <[email protected]> wrote:

>>> Even with the attached patch, there are 5 failures. 3 failures are weird linking errors in the rake tests I don't understand ("ruby lib version (1.9.3...
drbrain (Eric Hodel)
03:02 PM Feature #5097: Supported platforms of Ruby 1.9.3
=begin
> > The pktinfo_sockets hash here is never used. And even if it was, because you are not adding the '::' address to ip_addrs if ipv6_recvpktinfo, no socket is being created for it, so you will +never hit lines 548-549. The at...
jeremyevans0 (Jeremy Evans)
12:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
2011/7/28 Jeremy Evans <[email protected]>:
>> > * ext/socket/lib/socket.rb: Don't check ipv6_recvpktinfo. This fixes a failure in one of the socket tests:
> ...
Thank you for notifying pktinfo_sockets is not used.
However ...
akr (Akira Tanaka)
09:50 AM Feature #5097: Supported platforms of Ruby 1.9.3
> Jeremy Evans wrote:
> ...

I don't think the problem is there, as reading the documentation the call there (pthread_stackseg_np(pthread_self(), &stk)) appears to be correct. The error I get in the 2nd bootstrap test is "rb_register...
jeremyevans0 (Jeremy Evans)
12:32 AM Feature #5097: Supported platforms of Ruby 1.9.3
Jeremy Evans wrote:
> Attached is the make check output on OpenBSD amd64. I'm also attaching a diff with the patches I used:
> ...
signalstack error seems because of the lack of OpenBSD specific setting.
see thread_pthread.c:506 and ...
naruse (Yui NARUSE)
09:53 PM Feature #4976: Pathname#=~ が undef されている理由
2011年7月5日16:50 Kenta Murata <[email protected]>:
>
> Pathname#=~ が欲しいなぁと思って、patch を書いて feature request を投稿しようとしたところ、
> Init_pathname の中で明示的に undef されている事に気が付きました。
>
> このメソッドが undef されている理由を教えて頂けませんか。
> その理由を伺ったうえで、=~ を以下と同じ挙...
akr (Akira Tanaka)
09:53 PM Feature #4976: Pathname#=~ が undef されている理由
2011年7月5日16:50 Kenta Murata <[email protected]>:
>
> Pathname#=~ が欲しいなぁと思って、patch を書いて feature request を投稿しようとしたところ、
> Init_pathname の中で明示的に undef されている事に気が付きました。
>
> このメソッドが undef されている理由を教えて頂けませんか。
> その理由を伺ったうえで、=~ を以下と同じ挙...
akr (Akira Tanaka)
09:53 PM Bug #4989: Document Socket constants
2011/7/8 Eric Hodel <[email protected]>:
>
> The attached patch documents most of the Socket constants by adding a third field to ext/socket/mkconstants.rb containing the documentation.
>
> I'm not sure if all the documentati...
akr (Akira Tanaka)
09:23 PM Feature #5101: allow optional timeout for TCPSocket.new
2011/7/27 Eric Wong <[email protected]>:
>
> Proposed API would be:
>
> TCPSocket.new(remote_host, remote_port,
> connect_timeout: 0.5, local_host: nil, local_port: nil)
>
> Or:
>
> TCPSocket.ne...
akr (Akira Tanaka)
03:23 AM Feature #5101: allow optional timeout for TCPSocket.new
Eric Wong <[email protected]> wrote:
> Proposed API would be:
>
> TCPSocket.new(remote_host, remote_port,
> connect_timeout: 0.5, local_host: nil, local_port: nil)

An alternative (or complimentary) API could also...
normalperson (Eric Wong)
04:41 PM Bug #4923 (Feedback): [ext/openssl] test_ssl.rb: test_client_auth fails
Martin Bosslet wrote:
> I don't know what I did to produce that thing. That night I was able to reproduce it just fine, but I never got it again since then. I just ran make test-all for openssl with the custom Fedora version 50 times, n...
nahi (Hiroshi Nakamura)
04:25 PM Feature #5112 (Closed): Remove inadvertent symbol creation from send, __send__, and public_send
When I was first working on the inadvertent symbol creation removal code, I didn't think it was possible to handle send because method_missing requires a symbol as the first argument. But once I figured out how to handle the similar sit... jeremyevans0 (Jeremy Evans)
04:25 PM Revision e5054226 (git): * backport r32671 from trunk.
* proc.c: pre-allocate the unlinked_method_entry_list_entry struct to
avoid memory allocation during GC. based on a patch from Eric Wong.
[ruby-core:38498]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32729 b2dd0...
mame (Yusuke Endoh)
03:50 PM Revision 43e8a7a3 (git): * backport r32669 from trunk.
* proc.c (struct METHOD), gc.c (gc_marks), vm_method.c
(rb_gc_mark_unlinked_live_method_entries): fix SEGV bug.
rb_method_entry_t was free'd even when the method is still on the
stack if it is BMETHOD (i.e., Method#call). This is ...
mame (Yusuke Endoh)
03:01 PM Revision 264fdd76 (git): * 2011-07-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision 34c7aaa1 (git): merge revision 32725:
* ext/fiddle/closure.c (callback): use rb_ary_tmp_new() instead of
xmalloc() to allocate an array for arguments of callback procedure,
to prevent arguments from being swept by GC. [ruby-core:38546]
[Bug #492...
nagachika (Tomoyuki Chikanaga)
02:47 PM Revision 60053a0a (git): * ext/fiddle/closure.c (callback): use rb_ary_tmp_new() instead of
xmalloc() to allocate an array for arguments of callback procedure,
to prevent arguments from being swept by GC. [ruby-core:38546]
[Bug #4929]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:38 PM Bug #5111 (Closed): test/rubygems/test_gem_installer.rb reports a failure on windows
=begin
I guess the test is wrong on Windows.
1) Failure:
test_generate_bin_bindir_with_user_install_warning(TestGemInstaller) [C:/Users/usa/ruby/test/rubygems/test_gem_installer.rb:225]:
--- expected
+++ actual
@@ -1 +1,3 @@...
usa (Usaku NAKAMURA)
01:52 PM Revision be10ad20 (git): * backport r32723 from trunk.
* ext/openssl/ossl_cipher.c (ossl_cipher_initialize): Avoid possible
SEGV from AES encryption/decryption. Processing data by
Cipher#update without initializing key (meaningless usage of Cipher
object since we don't offer a way to e...
Hiroshi Nakamura
01:48 PM Revision e7e87b3c (git): * ext/openssl/ossl_cipher.c (ossl_cipher_initialize): Avoid possible
SEGV from AES encryption/decryption. Processing data by
Cipher#update without initializing key (meaningless usage of Cipher
object since we don't offer a way to export a key) could cause SEGV.
In OpenSSL, the EVP which has EVP_CIP...
Hiroshi Nakamura
12:25 PM Bug #4160 (Closed): test_core_03_notify(Rinda::TupleSpaceProxyTest) が失敗する
This issue was solved with changeset r32717.
Kouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
the code that depends on timing. [Bug #372] [Bug #4160]
seki (Masatoshi Seki)
12:25 PM Bug #372 (Closed): Rinda has a race condition
This issue was solved with changeset r32717.
, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
the code that depends on timing. [Bug #372] [Bug #4160]
seki (Masatoshi Seki)
08:56 AM Bug #5110 (Closed): Ruby SSL error - sslv3 alert unexpected message
I'm running ruby 1.9.2p290 on a machine with OpenSSL version 0.9.8o 01 Jun 2010
When I run the following script:
require 'net/http'
url = URI.parse('https://www.xpiron.com/schedule')
req = Net::HTTP::Get.new(url.path)
sock = Net...
hoisie (Michael Hoisie)
07:00 AM Bug #5109 (Third Party's Issue): YAML output has changed
libyaml detects if you have single or double quotes in your string. If it sees those characters, it will escape them and emit a tagged string literal. tenderlovemaking (Aaron Patterson)
06:20 AM Bug #5109 (Third Party's Issue): YAML output has changed
Have no idea why, but I noticed that 1.9.3 is producing strange YAML output:
snippet:
- 35: ''
- 36: ! ' Then ''the result should be (((\d+))) on the screen'' do |n|'
- 37: ! ' @result.assert == n.to_i'
- 38: ! ' en...
trans (Thomas Sawyer)
05:26 AM Revision 46247fb3 (git): * lib/rubygems/user_interaction.rb (Gem::StreamUI#tty?): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:32 AM Revision d3d44cd9 (git): * ext/dl/callback/mkcallback.rb (gencallback): use PTR2NUM.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:32 AM Revision eda13c7e (git): * ext/dl/cptr.c (rb_dlptr_aref, rb_dlptr_aset): check NULL pointer
dereference.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:32 AM Revision ad8ab9c0 (git): * ext/dl/cptr.c (rb_dlptr_s_to_ptr): use rb_check_funcall.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:32 AM Revision 79d8d743 (git): * ext/dl/cptr.c (rb_dlptr_s_to_ptr): fix wrapping condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:25 AM Revision e2b80011 (git): the code that depends on timing. [Bug #372] [Bug #4160]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masatoshi SEKI
02:15 AM Bug #4929 (Closed): test/dl/test_func.rb was crashed on Mac
This issue was solved with changeset r32712.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/dl/cfunc.c (dlcfunc_mark), ext/dl/cptr.c (dlptr_mark):
...
nobu (Nobuyoshi Nakada)
12:33 AM Revision 02345202 (git): merge revision(s) 32715:
------------------------------------------------------------------------
r32715 | naruse | 2011-07-28 09:23:28 +0900 (Thu, 28 Jul 2011) | 1 line
See __APPLE__ for __syscall.
--------------------------------------------------------------...
naruse (Yui NARUSE)
12:23 AM Revision da6c57aa (git): See __APPLE__ for __syscall.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

07/27/2011

11:53 PM Feature #5101: allow optional timeout for TCPSocket.new
Eric Wong <[email protected]> wrote:
> Proposed API would be:
>
> TCPSocket.new(remote_host, remote_port,
> connect_timeout: 0.5, local_host: nil, local_port: nil)

Btw, I'll gladly provide patches + tests if the ...
normalperson (Eric Wong)
04:13 PM Feature #5101 (Assigned): allow optional timeout for TCPSocket.new
naruse (Yui NARUSE)
08:59 AM Feature #5101 (Closed): allow optional timeout for TCPSocket.new
Proposed API would be:
TCPSocket.new(remote_host, remote_port,
connect_timeout: 0.5, local_host: nil, local_port: nil)
Or:
TCPSocket.new(remote_host, remote_port, connect_timeout: 0.5)
For the common case.
This...
normalperson (Eric Wong)
10:58 PM Feature #3001: Ruby stdlib: Benchmark::Tms #memberwise drops labels
Hi,
> It would seem consistent (and more informative) if it also passed in the current label (especially since there's no other way to set it):
What about (tms1 + tms2)'s label ? Should it be "#{tms1.label} #{op} #{tms2.label}" ?
...
Eregon (Benoit Daloze)
10:49 PM Bug #5104 (Closed): test_rinda.rb の GC保護もれ
This issue was solved with changeset r32705.
Tomoyuki, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/rinda/test_rinda.rb (test_remote_array_and_hash):
ad...
nagachika (Tomoyuki Chikanaga)
08:59 PM Bug #5104: test_rinda.rb の GC保護もれ
近永と申します。

> すみません。そのように思います。
> すぐに手を出せないのでどなたか修正していただけないでしょうか。
確認ありがとうございます。
後程やっておきます。
nagachika (Tomoyuki Chikanaga)
08:59 PM Bug #5104: test_rinda.rb の GC保護もれ
近永と申します。

> すみません。そのように思います。
> すぐに手を出せないのでどなたか修正していただけないでしょうか。
確認ありがとうございます。
後程やっておきます。
nagachika (Tomoyuki Chikanaga)
08:54 PM Bug #5104 (Assigned): test_rinda.rb の GC保護もれ
nagachika (Tomoyuki Chikanaga)
12:34 PM Bug #5104 (Closed): test_rinda.rb の GC保護もれ
make test-all TESTS="--gc-stress -vq rinda/test_rinda.rb -n test_remote_array_and_hash"
と GC.stress = true で rinda のテストを通すと環境によって以下のように失敗します。
Rinda::TupleSpaceProxyTest#test_remote_array_and_hash = 4.62 s = E
Finished tests in 4...
nagachika (Tomoyuki Chikanaga)
07:56 PM Revision e83748fd (git): * lib/delegate.rb: Move file-level documentation to the appropriate
classes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
07:53 PM Revision cfb37052 (git): * lib/delegate.rb: Move file-level documentation to the appropriate
classes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
07:11 PM Bug #5107 (Closed): Segmentation fault
This is already fixed in r29415; update your OS and ruby. naruse (Yui NARUSE)
06:09 PM Bug #5107 (Closed): Segmentation fault
I have been trying to implement basecamp project import using resque. But I get the following error message. I am not sure what has caused the error. Please help me out.
/Users/sts-086sts-086/.rvm/gems/ruby-1.9.2-p0/gems/activemodel-3...
jayandra (jayandra pokharel)
06:53 PM Feature #4589: add Queue#each() method and include Enumerable
On 27/07/11 00:34, Eric Hodel wrote:
>
> Issue #4589 has been updated by Eric Hodel.
>
>
> There are no destructive methods in Enumerable.

Enumerable gets mixed into IO, and #each on a Socket *is* destructive
(of the...
regularfry (Alex Young)
08:34 AM Feature #4589: add Queue#each() method and include Enumerable
There are no destructive methods in Enumerable.
Most times I use a Queue I am producing and consuming items at the same time so this would not be as useful for me since it works on a copy.
If I were to finish production of items or...
drbrain (Eric Hodel)
03:21 AM Feature #4589: add Queue#each() method and include Enumerable
Perhaps this code example can better illustrate my request:
class Queue
def each(&block)
temporary_copy = @internal_queue_lock.synchronize do
@internal_item_array.dup
end
temporary_copy.each(&block)
end
en...
sunaku (Suraj Kurapati)
05:15 PM Revision 9f3914ab (git): * ext/dl/cfunc.c (dlcfunc_mark), ext/dl/cptr.c (dlptr_mark):
workaround to mark wrapped object. this is not a true fix,
because [Bug #4929] is caused by the interface design of DL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:59 PM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月27日12:25 Yusuke ENDOH <[email protected]>:
> 2011年7月27日10:20 NARUSE, Yui <[email protected]>:
>>> 「パス *させたい* プラットフォーム
>>> 一覧」と考えて、ダメなら最終リストから削ればいいのではないかしら。
>>
>> 今決めているのは Best Effort のつもりです。
>> それは遠藤さんのいう「パス *させたい* プラットフ...
naruse (Yui NARUSE)
04:59 PM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月27日12:25 Yusuke ENDOH <[email protected]>:
> 2011年7月27日10:20 NARUSE, Yui <[email protected]>:
>>> 「パス *させたい* プラットフォーム
>>> 一覧」と考えて、ダメなら最終リストから削ればいいのではないかしら。
>>
>> 今決めているのは Best Effort のつもりです。
>> それは遠藤さんのいう「パス *させたい* プラットフ...
naruse (Yui NARUSE)
12:29 PM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月27日10:20 NARUSE, Yui <[email protected]>:
>> 「パス *させたい* プラットフォーム
>> 一覧」と考えて、ダメなら最終リストから削ればいいのではないかしら。
>
> 今決めているのは Best Effort のつもりです。
> それは遠藤さんのいう「パス *させたい* プラットフォーム一覧」でしょう。

いえ、違います。今 Best Effort であると決める、ということは、
...
mame (Yusuke Endoh)
12:29 PM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月27日10:20 NARUSE, Yui <[email protected]>:
>> 「パス *させたい* プラットフォーム
>> 一覧」と考えて、ダメなら最終リストから削ればいいのではないかしら。
>
> 今決めているのは Best Effort のつもりです。
> それは遠藤さんのいう「パス *させたい* プラットフォーム一覧」でしょう。

いえ、違います。今 Best Effort であると決める、ということは、
...
mame (Yusuke Endoh)
10:23 AM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月26日22:39 Yusuke ENDOH <[email protected]>:
> 今決めてるのを「1.9.3 がテストをパス *しなければならない* プラット
> フォーム一覧」と考えるのではなく

わたしはそんなことは一言も言ってませんよ。

> 「パス *させたい* プラットフォーム
> 一覧」と考えて、ダメなら最終リストから削ればいいのではないかしら。

今決めているのは Best Effort のつもりです。...
naruse (Yui NARUSE)
10:23 AM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月26日22:39 Yusuke ENDOH <[email protected]>:
> 今決めてるのを「1.9.3 がテストをパス *しなければならない* プラット
> フォーム一覧」と考えるのではなく

わたしはそんなことは一言も言ってませんよ。

> 「パス *させたい* プラットフォーム
> 一覧」と考えて、ダメなら最終リストから削ればいいのではないかしら。

今決めているのは Best Effort のつもりです。...
naruse (Yui NARUSE)
04:25 PM Feature #4831: Integer#prime_factors
Yes, #prime_factors and #factors are synonyms. drbrain (Eric Hodel)
04:18 PM Revision 5c815b73 (git): * test/ruby/test_symbol.rb (test_no_inadvertent_symbol_creation):
remove an assertion depending on default respond_to_missing?.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:52 PM Revision a99ef204 (git): * test/ruby/test_symbol.rb (test_no_inadvertent_symbol_creation3):
remove an assertion depending on default const_missing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:44 PM Bug #5067 (Closed): BasicObject's constant lookup documentation
This issue was solved with changeset r32700.
Shyouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* object.c: Add usage documentation for BasicObject. Based ...
drbrain (Eric Hodel)
03:33 PM Revision f39ed9dc (git): merge revision(s) 32707:
* test/fileutils/test_fileutils.rb: add OpenBSD case.
patched by Jeremy Evans [ruby-core:38530] see #5097
* test/ruby/test_process.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32709 b2dd...
naruse (Yui NARUSE)
03:30 PM Revision 9261088e (git): * 2011-07-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:30 PM Revision d7138d72 (git): * test/fileutils/test_fileutils.rb: add OpenBSD case.
patched by Jeremy Evans [ruby-core:38530] see #5097
* test/ruby/test_process.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:55 PM Revision 969ae329 (git): * test/ruby/test_symbol.rb (test_inspect): use %W to enable
escape.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:49 PM Revision dddc9485 (git): * test/rinda/test_rinda.rb (test_remote_array_and_hash):
add local variables to protect objects from GC. [ruby-dev:44253]
[Bug #5104]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
01:03 PM Feature #4990: Proposal: Internal GC/memory subsystem API
I've made a small amount of progress on a prototype. I will post links to github branches ASAP.
kstephens (Kurt Stephens)
12:57 PM Feature #5033: PATCH: 1.9: gc_mark_children: Avoid gc_mark() tail recursion, use goto again.
There will be improvements for programs that have large numbers of Rational and Complex numbers. If someone has a suitable benchmark please let me know. Otherwise, I'll write something simple. kstephens (Kurt Stephens)
12:54 PM Feature #5106 (Rejected): Is MurmurHash overkill?
st.c implements MurmurHash to compute hash table indexes (#hash).
Simpler hash functions may be appropriate for hash tables, esp. small tables.
Is there a particular reason this hash function was chosen? Is MurmurHash typically ...
kstephens (Kurt Stephens)
12:47 PM Bug #4062: "gem uninstall" does not honor --program-suffix
The feature was only partially implemented in RubyGems 1.8. It was missing a require and had confusing messaging. drbrain (Eric Hodel)
12:33 PM Bug #4062 (Closed): "gem uninstall" does not honor --program-suffix
This issue was solved with changeset r32697.
Sakuro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rubygems/uninstaller.rb: Add missing require and update
...
drbrain (Eric Hodel)
12:22 PM Bug #4929 (Open): test/dl/test_func.rb was crashed on Mac
Hi,
I've found that a similar problem remains at trunk(r32672) yet.
In my environment (Ubuntu 10.04.03), make test-all TESTS="-vq dl/test_func.rb -n test_qsort1.rb" cause SEGV.
It seems that CPtr.new in callback procedure cause SIGS...
nagachika (Tomoyuki Chikanaga)
12:16 PM Bug #372 (Assigned): Rinda has a race condition
redmineにうまく転写されてないようですが、テストの問題とのことなので、
reopenのうえ咳さんにアサインします。
kosaki (Motohiro KOSAKI)
10:45 AM Feature #5103: [ext/openssl] Object equality for objects based on ASN.1 structures
Eric Hodel wrote:
> Is object equality on ASN.1 structures not useful or hard?
I think it could be quite useful, for example when comparing certificates. Right now an easy way to do this is by comparing cert1.to_der == cert2.to_der.
...
MartinBosslet (Martin Bosslet)
10:36 AM Feature #5103: [ext/openssl] Object equality for objects based on ASN.1 structures
Is object equality on ASN.1 structures not useful or hard? drbrain (Eric Hodel)
09:59 AM Feature #5103 (Feedback): [ext/openssl] Object equality for objects based on ASN.1 structures
Equality behaviour is not overridden by any of the classes that base on ASN.1 structures. This leads to
counterintuitive things such as
require 'openssl'
key = OpenSSL::PKey::RSA.new 256
puts [key].include?(key) # => ...
MartinBosslet (Martin Bosslet)
10:00 AM Feature #5102 (Feedback): [ext/openssl] Purpose of OpenSSL::PKCS12.new / Allow changing the password
MartinBosslet (Martin Bosslet)
09:52 AM Feature #5102 (Feedback): [ext/openssl] Purpose of OpenSSL::PKCS12.new / Allow changing the password
It seems as if currently creating a PKCS12 with OpenSSL::PKCS12.new is not very useful, all the attributes
are read-only. So this could probably be removed or the attributes could be write-accessible, too.
Apart from that, it would a...
MartinBosslet (Martin Bosslet)
09:47 AM Feature #3793: No test for OpenSSL::PKCS12
There was not really much to add to Aaron's tests. I included a CA and an intermediate CA certificate, and one additional test.
But I noticed three things:
1) What is OpenSSL::PKCS12.new good for? It seems like it's useless - the P...
MartinBosslet (Martin Bosslet)
09:31 AM Feature #3793 (Closed): No test for OpenSSL::PKCS12
This issue was solved with changeset r32690.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* test/openssl/test_pkcs12.rb: Add test and intermediate certi...
Anonymous
08:59 AM Revision bed02ef5 (git): merge revision(s) 32702:
* include/ruby/missing.h: define __syscall if the platform has
__syscall in the library but doesn't define it in headers
for example Mac OS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32704 b2...
naruse (Yui NARUSE)
08:59 AM Revision 88b031a3 (git): merge revision(s) 32699:
------------------------------------------------------------------------
r32699 | naruse | 2011-07-27 14:21:33 +0900 (Wed, 27 Jul 2011) | 4 lines
Use ::Syck explicitly.
lib/rubygems/requirement.rb defines YAML::Syck.
So explicitly spec...
naruse (Yui NARUSE)
08:58 AM Revision 9f2b8eaf (git): * include/ruby/missing.h: define __syscall if the platform has
__syscall in the library but doesn't define it in headers
for example Mac OS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:45 AM Feature #5100: allow configurable timeouts in resolv.rb
I've added a timeouts= instance method to Resolv::DNS. I'm unsure about
the API, but it should be usable (test case included).
Also pullable via git:
git pull git://bogomips.org/ruby resolv-timeout
normalperson (Eric Wong)
06:54 AM Feature #5100 (Closed): allow configurable timeouts in resolv.rb
Currently the resolv.rb timeouts are hard-coded and too high for some
users. It would be nice to have an easy way of timing out DNS requests without
resorting to the innefficient and potentially dangerous "timeout" library.
normalperson (Eric Wong)
07:47 AM Bug #4944: crash in FIPS mode after unchecked EVP_DigestInit_ex failure
The issue with OS X 10.7 is solved, I had to revert the checks for an int return value of HMAC_Init_ex as OpenSSL versions prior to 1.0.0 did not have that feature yet. As concerns the deprecation of OpenSSL in OS X >= 10.7, that's a dif... MartinBosslet (Martin Bosslet)
07:39 AM Bug #4923: [ext/openssl] test_ssl.rb: test_client_auth fails
Hiroshi Nakamura wrote:
> While investigating #5039, I found that SSL_shutdown() could add something to global error stack in OpenSSL < 0.9.8m, possibly related the OpenSSL 0.9.8m fix Martin posted above. Based on my investigation, that...
MartinBosslet (Martin Bosslet)
06:53 AM Feature #5064: HTTP user-agent class
jonathan rochkind <[email protected]> wrote:
> 1. Huge performance problem of the way timeouts are implemented.

I would like to split the HTTP open_timeout into two components:
connect_timeout and dns_timeout

connect_ti...
normalperson (Eric Wong)
12:19 AM Feature #5064: HTTP user-agent class
I would love a simpler, more use-case focused HTTP library in the Ruby standard library. We should make the simple case very simple, and let people fall back to the full Net::HTTP if they need all the advanced and/or unusual stuff. steveklabnik (Steve Klabnik)
06:49 AM Revision b727b2a4 (git): * object.c: Add usage documentation for BasicObject. Based on patch
by Thomas Sawyer. [Ruby 1.9 - Bug #5067]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
06:44 AM Revision 3eb7d2b3 (git): * object.c: Add usage documentation for BasicObject. Based on patch
by Thomas Sawyer. [Ruby 1.9 - Bug #5067]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
05:21 AM Revision e29d5897 (git): Use ::Syck explicitly.
lib/rubygems/requirement.rb defines YAML::Syck.
So explicitly specify the top level one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:34 AM Bug #4097 (Third Party's Issue): Unexpected result of STDIN.read on Windows

Sorry for a delayed response.
Now, STDIN.read(n) under multibyte console inputs might return n+1 bytes String.(by r29980 and r30280)
Multibyte character is never split in read of MS runtime.
And, it is difficult to do STDIN.ung...
tarui (Masaya Tarui)
03:44 AM Feature #5097: Supported platforms of Ruby 1.9.3
Attached is the make check output on OpenBSD amd64. I'm also attaching a diff with the patches I used:
* bootstraptest/test_thread.rb: Skip 2 tests. The first one appears to hang, the second crashes with a sigaltstack error.
* con...
jeremyevans0 (Jeremy Evans)
12:53 AM Feature #5097: Supported platforms of Ruby 1.9.3
On Mon, Jul 25, 2011 at 11:52 PM, Yui NARUSE <[email protected]> wrote:
> If you want to support a platform, please declare.
> ...
I can contribute with all available resources to test Ruby against
mingw32 and mingw-w64 on both 32bits an...
luislavena (Luis Lavena)
12:29 AM Feature #5097: Supported platforms of Ruby 1.9.3
For Linux distributions, it would make sense to have a list both of distributions, and of architectures. There are problems that are distribution-specific, and problems that are architecture-specific.
I can help with Debian (and Ubunt...
lucas (Lucas Nussbaum)
03:42 AM Revision 76325a8b (git): * lib/rubygems/uninstaller.rb: Add missing require and update
messaging to avoid confusion with uninstall --format-executable.
[Ruby 1.9 - Bug #4062]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
03:33 AM Revision 55b81eb9 (git): * lib/rubygems/uninstaller.rb: Add missing require and update
messaging to avoid confusion with uninstall --format-executable.
[Ruby 1.9 - Bug #4062]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
03:30 AM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
NilClass#to_h would be useful. Especially for Enumerable types, it's common convention to return an empty container of that type, so that you can chain things together.
The proliferation of nil is often considered a code smell, there'...
steveklabnik (Steve Klabnik)
02:52 AM Feature #5008: Equal rights for Hash (like Array, String, Integer, Float)
Yui NARUSE wrote:
> First of all, Ruby has two way of the type conversion; implicit
> ...
I see, then for Hash:
* to_h should be explicit conversion
* to_hash should be implicit conversion.
> > Add Kernel#Hash method for convert...
sunaku (Suraj Kurapati)
02:04 AM Revision 35507666 (git): * vm_dump.c (VMDEBUG): suppress undefined macro warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:04 AM Revision c553ee2d (git): * test/ruby/test_symbol.rb (TestSymbol#test_inspect): workaround for
ruby-mode.el.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:04 AM Revision 28414483 (git): * lib/rubygems: Update to RubyGems 1.8.6.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
01:40 AM Revision 035ef0a3 (git): * lib/rubygems: Update to RubyGems 1.8.6.1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
01:07 AM Revision 49caf557 (git): * backport r32690 from trunk.
* test/openssl/test_pkcs12.rb: Add test and intermediate certificates.
[ Ruby 1.9 - Feature #3793 ] [ruby-core:32088]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)
01:07 AM Revision 8f5ca116 (git): * property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:05 AM Feature #5089 (Closed): Even More Inadvertent Symbol Removal, And Fix Issue With Previous Code
This issue was solved with changeset r32686.
Jeremy, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval_error.c (rb_print_undef_str): new function to raise
Na...
nobu (Nobuyoshi Nakada)
01:05 AM Feature #5072 (Closed): Avoid inadvertent symbol creation in reflection methods
This issue was solved with changeset r32685.
Jeremy, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_method.c (obj_respond_to): fix the respond_to_missing? ove...
nobu (Nobuyoshi Nakada)
12:46 AM Bug #5098 (Closed): bigdecimal/util.rb で定義される to_d メソッドによる型変換と、BigDecimal 関数による型変換が整合していない
This issue was solved with changeset r32677.
Kenta, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/bigdecimal/lib/bigdecimal/util.rb (Integer#to_d): added
...
mrkn (Kenta Murata)
12:31 AM Revision b9c485aa (git): * test/openssl/test_pkcs12.rb: Add test and intermediate certificates.
[ Ruby 1.9 - Feature #3793 ] [ruby-core:32088]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
MartinBosslet (Martin Bosslet)

07/26/2011

10:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日21:56 Urabe Shyouhei <[email protected]>:
> (07/26/2011 09:07 PM), Yusuke ENDOH wrote:
>> 自己満足ってことかな。ボランティアでのリリースって自己満足ですよね。
>
> そうです。まさにそのとおり。
>
> で、自己満足とサポートってのはあんまり馴染まない概念だろうと思います。

粛々とパッケージ化...
mame (Yusuke Endoh)
10:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日21:56 Urabe Shyouhei <[email protected]>:
> (07/26/2011 09:07 PM), Yusuke ENDOH wrote:
>> 自己満足ってことかな。ボランティアでのリリースって自己満足ですよね。
>
> そうです。まさにそのとおり。
>
> で、自己満足とサポートってのはあんまり馴染まない概念だろうと思います。

粛々とパッケージ化...
mame (Yusuke Endoh)
09:59 PM Bug #5094: Supported platforms of Ruby 1.9.3
卜部で、前回のメールに書き忘れたことがあったとすれば、べつに192のク
オリティに不満があったとかでは全然なくて、えんどうさんは偉い。そこ
は書き漏らすべきではありませんでした。えんどうさんには感謝してます。

(07/26/2011 09:07 PM), Yusuke ENDOH wrote:
> 2011年7月26日20:49 Urabe Shyouhei <[email protected]>:
>> 個人的な結論としてはリリー...
shyouhei (Shyouhei Urabe)
09:59 PM Bug #5094: Supported platforms of Ruby 1.9.3
卜部で、前回のメールに書き忘れたことがあったとすれば、べつに192のク
オリティに不満があったとかでは全然なくて、えんどうさんは偉い。そこ
は書き漏らすべきではありませんでした。えんどうさんには感謝してます。

(07/26/2011 09:07 PM), Yusuke ENDOH wrote:
> 2011年7月26日20:49 Urabe Shyouhei <[email protected]>:
>> 個人的な結論としてはリリー...
shyouhei (Shyouhei Urabe)
09:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日19:48 NARUSE, Yui <[email protected]>:
> (2011/07/26 12:38), Yusuke ENDOH wrote:
>> ただそれは、「サポートプラン」とか "supported" とか "best effort"
>> とかいう語感からユーザが期待するものとは確かに違うんですよね。
>> 名前が悪いから「言葉遊び」と感じるんじゃないかと思います。
>> もっと...
mame (Yusuke Endoh)
09:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日19:48 NARUSE, Yui <[email protected]>:
> (2011/07/26 12:38), Yusuke ENDOH wrote:
>> ただそれは、「サポートプラン」とか "supported" とか "best effort"
>> とかいう語感からユーザが期待するものとは確かに違うんですよね。
>> 名前が悪いから「言葉遊び」と感じるんじゃないかと思います。
>> もっと...
mame (Yusuke Endoh)
09:23 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日20:49 Urabe Shyouhei <[email protected]>:
> 個人的な結論としてはリリースは「したいからする」ものであって、それ
> 以上の理由をつけるのはおためごかしだなあと思っている次第ですので、

おためごかし = 表面は人のためにするように見せかけて、実は自分の利益を図ること。

よく意味がわかりませんでした。自分の利益?
自己満足ってことかな。ボランティ...
mame (Yusuke Endoh)
09:23 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日20:49 Urabe Shyouhei <[email protected]>:
> 個人的な結論としてはリリースは「したいからする」ものであって、それ
> 以上の理由をつけるのはおためごかしだなあと思っている次第ですので、

おためごかし = 表面は人のためにするように見せかけて、実は自分の利益を図ること。

よく意味がわかりませんでした。自分の利益?
自己満足ってことかな。ボランティ...
mame (Yusuke Endoh)
08:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
(07/26/2011 12:38 PM), Yusuke ENDOH wrote:
> 遠藤です。
>
> 2011年7月26日9:57 Urabe Shyouhei <[email protected]>:
>> サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
>> 「がんばります」以上に実効性のあることは言えないでしょ。
>> それperhapsと何がどう違うん。
>
> サポートプランは「この...
shyouhei (Shyouhei Urabe)
08:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
(07/26/2011 12:38 PM), Yusuke ENDOH wrote:
> 遠藤です。
>
> 2011年7月26日9:57 Urabe Shyouhei <[email protected]>:
>> サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
>> 「がんばります」以上に実効性のあることは言えないでしょ。
>> それperhapsと何がどう違うん。
>
> サポートプランは「この...
shyouhei (Shyouhei Urabe)
07:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
(2011/07/26 12:38), Yusuke ENDOH wrote:
> ただそれは、「サポートプラン」とか "supported" とか "best effort"
> とかいう語感からユーザが期待するものとは確かに違うんですよね。
> 名前が悪いから「言葉遊び」と感じるんじゃないかと思います。
> もっといい名前があれば変えるといいと思います。まさに言葉遊びですが。

わたしは Support Level 1 とか Tier 1 ...
naruse (Yui NARUSE)
07:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
(2011/07/26 12:38), Yusuke ENDOH wrote:
> ただそれは、「サポートプラン」とか "supported" とか "best effort"
> とかいう語感からユーザが期待するものとは確かに違うんですよね。
> 名前が悪いから「言葉遊び」と感じるんじゃないかと思います。
> もっといい名前があれば変えるといいと思います。まさに言葉遊びですが。

わたしは Support Level 1 とか Tier 1 ...
naruse (Yui NARUSE)
12:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日9:57 Urabe Shyouhei <[email protected]>:
> サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
> 「がんばります」以上に実効性のあることは言えないでしょ。
> それperhapsと何がどう違うん。

サポートプランは「この環境でテストが動かないならリリースできない」
という基準として、1.9.2 リリースの際は重宝しましたよ。
...
mame (Yusuke Endoh)
12:53 PM Bug #5094: Supported platforms of Ruby 1.9.3
遠藤です。

2011年7月26日9:57 Urabe Shyouhei <[email protected]>:
> サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
> 「がんばります」以上に実効性のあることは言えないでしょ。
> それperhapsと何がどう違うん。

サポートプランは「この環境でテストが動かないならリリースできない」
という基準として、1.9.2 リリースの際は重宝しましたよ。
...
mame (Yusuke Endoh)
12:02 PM Bug #5094: Supported platforms of Ruby 1.9.3
あ、今見たら8分前に英語版が追加されている・・・ mrkn (Kenta Murata)
12:01 PM Bug #5094: Supported platforms of Ruby 1.9.3
Yui NARUSE wrote:
> * Mac OS X (LLVM絡みが微妙)
引き取ります。
そして、1.9.3, 1.9.2, 1.8.7 は llvm-gcc には非対応であると公式アナウンスしましょう。
# と言いつつも、まだ chkbuild を復活できていないのですが・・・
些細な疑問ですが、このスレは日本語でいいの?
mrkn (Kenta Murata)
11:53 AM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月26日8:45 KOSAKI Motohiro <[email protected]>:
> 逆に Debian 4.0 をperhapsに落とすことを提案します。Windowsのサービスパックだって要求ハードウェアのレベルが
> 上がったりするぐらいなんだからゆるされると思います。
> Debian 4.0は「誰も確認してないけど、非互換いれてないからたぶん動きます」という状態でこれはperhaps以外の何者でもないと思いま...
naruse (Yui NARUSE)
11:53 AM Bug #5094: Supported platforms of Ruby 1.9.3
2011年7月26日8:45 KOSAKI Motohiro <[email protected]>:
> 逆に Debian 4.0 をperhapsに落とすことを提案します。Windowsのサービスパックだって要求ハードウェアのレベルが
> 上がったりするぐらいなんだからゆるされると思います。
> Debian 4.0は「誰も確認してないけど、非互換いれてないからたぶん動きます」という状態でこれはperhaps以外の何者でもないと思いま...
naruse (Yui NARUSE)
11:23 AM Bug #5094: Supported platforms of Ruby 1.9.3
成瀬です。

2011年7月26日9:57 Urabe Shyouhei <[email protected]>:
> サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
> 「がんばります」以上に実効性のあることは言えないでしょ。
> それperhapsと何がどう違うん。

チケットの押し付け先があるかどうかが主たる違いです。
言い換えれば、直らないバグがあった場合に、誰かに assign された状態になる...
naruse (Yui NARUSE)
11:23 AM Bug #5094: Supported platforms of Ruby 1.9.3
成瀬です。

2011年7月26日9:57 Urabe Shyouhei <[email protected]>:
> サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
> 「がんばります」以上に実効性のあることは言えないでしょ。
> それperhapsと何がどう違うん。

チケットの押し付け先があるかどうかが主たる違いです。
言い換えれば、直らないバグがあった場合に、誰かに assign された状態になる...
naruse (Yui NARUSE)
09:59 AM Bug #5094: Supported platforms of Ruby 1.9.3
卜部です

サポートとかやめましょう。無意味。どうせ俺らただのボランティアだし。
「がんばります」以上に実効性のあることは言えないでしょ。
それperhapsと何がどう違うん。

、という主張はつねづね申し上げている話であってべつに新規性はございません
が今回も一応申し上げておく次第です。言葉遊び楽しいけど、それ以上になって
ないですよ。現状は。
shyouhei (Shyouhei Urabe)
08:53 AM Bug #5094: Supported platforms of Ruby 1.9.3
> == 成瀬の提案
>
> さて、前回のサポートプラットフォーム決めでいくつか反省があるので、ここに一つ提案を行います。
>
>> なお、「メンテナがいる」とは明確なプラットフォームメンテナがいるもの(mswin32など)のほかに、「日々その環境でRubyを開発しているコミッタがいるもの」を含む。
>
> この後半を削ることを提案します。
> 例として、Debian はいまだに lenny 32bit が対象になってしまっています。
...
kosaki (Motohiro KOSAKI)
06:53 AM Bug #5094: Supported platforms of Ruby 1.9.3
> 逆にメンテナがいない主なプラットフォーム(と備考)は以下の通りです。
> * Debian
> * Ubuntu
> * CentOS
> * Mac OS X (LLVM絡みが微妙)
> * cygwin (動かない)
> * NetBSD (動く)
> * OpenBSD (動かない気がする)
> * DragonFlyBSD (動かない)

Best Effortレベルですが RHEL/CentOSは僕がやろうかと思っ...
kosaki (Motohiro KOSAKI)
05:53 AM Bug #5094: Supported platforms of Ruby 1.9.3
金本と申します。

Best Effortレベルですが、AIX環境での調査・対応は引き続き担当させていただきたいです。
よろしくお願いします。

2011年7月26日0:15 Yui NARUSE <[email protected]>:

> サポートしたいプラットフォームがある方は宣言してください。
> ただし、当該プラットフォーム固有っぽいバグがあった場合、そのチケットをアサインする事があるので、
> 覚悟を決めてから宣言し...
kanemoto (Yutaka Kanemoto)
12:22 AM Bug #5094: Supported platforms of Ruby 1.9.3
かねてからの予告どおり、mswin32とmswin64は1.9.3では私がメンテを継続します。
つか失敗したな。1.9.3が死ぬまでメンテしないといけないじゃん……。
usa (Usaku NAKAMURA)
12:15 AM Bug #5094 (Closed): Supported platforms of Ruby 1.9.3
はい、リリース前恒例! サポートプラットフォーム決めのお時間がやって参りました。
前回は 1.9.1 リリース時だったわけですが、あれからずいぶんと経ったので、
改めてサポートするプラットフォームを決めましょう。
== これまでのあらすじ
http://redmine.ruby-lang.org/projects/ruby-19/wiki/SupportedPlatformsJa
== 決め方
サポートしたいプラットフォームがある方は宣言...
naruse (Yui NARUSE)
10:45 PM Bug #5093: DEBUGGER__::Context#debug_print_help に表示されないオプション
パッチのrestartは、正しくは「r[estart]」でした。修正したパッチをアタッチしておきます。 sho-h (Sho Hashimoto)
10:19 PM Feature #5097: Supported platforms of Ruby 1.9.3
I would like to help for OSX > 10.6, and maybe 10.5 if I can get a machine. I'm not exactly sure what 'maintainer's responsibility exactly entails, but I'd be happy to help organize, make a best effort at patching bugs, and provide build... steveklabnik (Steve Klabnik)
07:59 PM Feature #5097: Supported platforms of Ruby 1.9.3
> I volunteer to officially support Ruby on OpenBSD.  I'm an OpenBSD developer and already maintain the OpenBSD port for Ruby (both 1.8.7 and 1.9.2) as well as the OpenBSD ports for Rubinius and JRuby.

Great!

May I request one mo...
kosaki (Motohiro KOSAKI)
07:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
2011/7/26 Eric Wong <[email protected]>:
> Yui NARUSE <[email protected]> wrote:
>> If you want to support a platform, please declare.
>> But when a platform dependent bug is reported, it will be assigned to you.
>
> <snip>
>
...
kosaki (Motohiro KOSAKI)
03:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
On Mon, Jul 25, 2011 at 8:52 PM, Yui NARUSE <[email protected]> wrote:

> * Ubuntu

I can volunteer to help with Ubuntu, if you need it.


Kirk Haines
wyhaines (Kirk Haines)
01:08 PM Feature #5097: Supported platforms of Ruby 1.9.3
I volunteer to officially support Ruby on OpenBSD. I'm an OpenBSD developer and already maintain the OpenBSD port for Ruby (both 1.8.7 and 1.9.2) as well as the OpenBSD ports for Rubinius and JRuby. jeremyevans0 (Jeremy Evans)
12:53 PM Feature #5097: Supported platforms of Ruby 1.9.3
Yui NARUSE <[email protected]> wrote:
> If you want to support a platform, please declare.
> But when a platform dependent bug is reported, it will be assigned to you.

<snip>

> RHEL, CentOS
> KOSAKI Motohiro

5.x o...
normalperson (Eric Wong)
11:52 AM Feature #5097 (Closed): Supported platforms of Ruby 1.9.3
Let's decide the supported platforms.
== Background
http://redmine.ruby-lang.org/projects/ruby-19/wiki/SupportedPlatforms
== Process
If you want to support a platform, please declare.
But when a platform dependent bug is rep...
naruse (Yui NARUSE)
10:10 PM Feature #4969: Subtle issue with require
Your require_ruby seems to load nothing. Missed to paste?
Anyway, the behavior does not seem a bug.
It might be a feature request, though I'm not sure what you are suggesting.
nobu (Nobuyoshi Nakada)
09:42 PM Bug #5098 (Closed): bigdecimal/util.rb で定義される to_d メソッドによる型変換と、BigDecimal 関数による型変換が整合していない
BigDecimal() および BigDecimal#coerce との関係より、以下のように修正が必要。
- Float#to_d はオプショナルな精度を受け付けるように変更し、精度が省略された場合は Float::DIG が指定されたものとする。
- Rational#to_d は精度を必須とする。
- Integer#to_d を追加する。
mrkn (Kenta Murata)
04:29 PM Feature #5064: HTTP user-agent class
2011/7/26 Eric Hodel <[email protected]>:

> If you are having problems with DNS blocking then require 'resolv/replace' to get non-blocking DNS lookups. Non-blocking DNS in ruby has been available back to 1.6.

Ruby invokes ...
akr (Akira Tanaka)
04:09 PM Feature #5064: HTTP user-agent class
There is no longer a problem with timeouts in Net::HTTP as timeout is no longer used for reads. If you are connecting so fast that timeout is a greater problem than the three-way TCP handshakes and slow-start I think there may be a prob... drbrain (Eric Hodel)
10:44 AM Feature #5064: HTTP user-agent class
I think this is a good API which will avoid the need for a third party library for API convenience. (You didn't go into detail about 'timeout' configuration, but a SINGLE timeout param should exist, possibly along with separate read/open... jrochkind (jonathan rochkind)
04:12 AM Feature #5064: HTTP user-agent class
I have had discussions where people say "Net::HTTP's API is not very good" and people seem to want a better way to use Net::HTTP without trying out one of the many Net::HTTP::Agent-like extensions to the base API.
Having a recommended...
drbrain (Eric Hodel)
04:27 PM Revision 04749b12 (git): * NEWS: add changes of bigdecimal and bigdecimal/util.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
04:17 PM Revision 34fcd440 (git): * vm_method.c (rb_gc_mark_unlinked_live_method_entries): remove unused
variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:17 PM Revision 2621ba04 (git): Merge revisions 32676, 32677, 32679, 32680:
* ext/bigdecimal/lib/bigdecimal/util.rb (Rational#to_d):
zero or negative precision is error. fixes #5098.
[ruby-dev:44210]
* ext/bigdecimal/lib/bigdecimal/util.rb (Float#to_d): modified for
specifying precision. ...
Kenta Murata
04:09 PM Feature #5096: offer Logger-compatibility for syslog ext
Where is a patch or the repository?
Anyway such enhancement should be introduced as a patch to trunk.
We are hard to understand the actual change of this feature.
Moreover adding a new library or replacing a library is hard to acc...
naruse (Yui NARUSE)
09:10 AM Feature #5096: offer Logger-compatibility for syslog ext
I would be happy to import my SyslogLogger gem, but I need someone to decide if it is ok first. drbrain (Eric Hodel)
08:20 AM Feature #5096: offer Logger-compatibility for syslog ext
Bah, I submitted the bug before I finished typing :<
Title should be: "offer Logger-compatibility for syslog ext"
Priority should be: Low
There's http://rubygems.org/gems/SyslogLogger, but I would like to have
ths compatibility b...
normalperson (Eric Wong)
08:16 AM Feature #5096 (Closed): offer Logger-compatibility for syslog ext
There's http://rubygems.org/gems/SyslogLogger, but I would like to have
ths compatibility by default. Having to remember to install the
oddly-capitalized SyslogLogger gem makes things harder than it should
be.
Importing the Syslog...
normalperson (Eric Wong)
04:05 PM Revision 8603c593 (git): * eval_error.c (rb_print_undef_str): new function to raise
NameError for undefined method.
* load.c (rb_mod_autoload_p), object.c (rb_mod_const_get),
variable.c (rb_f_untrace_var, set_const_visibility), vm_method.c
(rb_mod_{remove,undef,alias}_method, set_method_visibility):
remove inadver...
nobu (Nobuyoshi Nakada)
04:05 PM Revision 298349d0 (git): * vm_method.c (obj_respond_to): fix the respond_to_missing? override
case. based on the patch by Jeremy Evans at [ruby-core:38417].
[Feature #5072]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:05 PM Revision 3fbc65d4 (git): * parse.y (rb_check_id): make the given name a symbol or a string.
based on the second patch by Jeremy Evans at [ruby-core:38447]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:02 PM Feature #2567: Net::HTTP does not handle encoding correctly
The problem is not so much forcing the user to figure out how to get correct encoding (charset) but making sure the encoding returned is accurate. If we can add this feature to Net::HTTP in a way that works for most cases that's great. ... drbrain (Eric Hodel)
10:56 AM Feature #2567: Net::HTTP does not handle encoding correctly
how else is a developer/client going to figure out the encoding EXCEPT from the HTTP server response content-type? You pretty much need to set the encoding in ruby 1.9 for the response to be useable. If the Content-Type isn't trustwort... jrochkind (jonathan rochkind)
03:54 PM Revision a3edf1a4 (git): * 2011-07-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@32683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:54 PM Revision 1d0cef8f (git): Merge revision 32674:
* bigdecimal/bigdecimal.c (VpDup) a new function for duplicating
a BigDecimal.
* bigdecimal/bigdecimal.c (BigDecimal_new): support generating a new
BigDecimal from another BigDecimal using BigDecimal global function
...
Kenta Murata
03:53 PM Revision de7e116e (git): * property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:49 PM Revision dca0b417 (git): * ext/bigdecimal/lib/bigdecimal/util.rb (Rational#to_d):
zero or negative precision is error. fixes #5098.
[ruby-dev:44210]
* test/bigdecimal/test_bigdecimal_util.rb: add test for the above
change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
03:48 PM Revision 079fb8d4 (git): * ext/bigdecimal/lib/bigdecimal/util.rb (Float#to_d): modified for
specifying precision. fixes #5098. [ruby-dev:44210]
* test/bigdecimal/test_bigdecimal_util.rb: add test for the above
change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
03:48 PM Revision 2fd6b266 (git): * property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:46 PM Revision 2fcb91c7 (git): * ext/bigdecimal/lib/bigdecimal/util.rb (Integer#to_d): added
for symmetry to BigDecimal() function with an Integer.
fixes #5098. [ruby-dev:44210]
* test/bigdecimal/test_bigdecimal_util.rb: add test for the above
change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32677 b2dd03c8-39d4-4d...
Kenta Murata
03:40 PM Revision 5ba05758 (git): * ext/bigdecimal/lib/bigdecimal/util.rb (BigDecimal#to_d): added
for adapting other Numeric subclasses. [ruby-dev:44245]
* test/bigdecimal/test_bigdecimal_util.rb: test for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
03:40 PM Revision a987000b (git): * 2011-07-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:40 PM Revision a2381407 (git): * bigdecimal/bigdecimal.c (VpDup) a new function for duplicating
a BigDecimal.
* bigdecimal/bigdecimal.c (BigDecimal_new): support generating a new
BigDecimal from another BigDecimal using BigDecimal global function
or constructor. [ruby-dev:44245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
Kenta Murata
03:25 PM Bug #2768: SEGV when using OpenSSL::Cipher (AES) in certain way
This patch should fix the SEGV. Still giving much thought whether it's safe to apply or not...
Index: ext/openssl/ossl_cipher.c
===================================================================
--- ext/openssl/ossl_cipher.c (revis...
nahi (Hiroshi Nakamura)
02:37 PM Revision 710dc1af (git): * array.c: Fix typo. https://github.com/ruby/ruby/pull/36
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)
11:57 AM Bug #372: Rinda has a race condition
> 1) Failure:
> ...
非常にごくまれに(1回も再現できていません)trunk でもこれが起きることがあるようです。
1) Failure:
test_core_03_notify(Rinda::TupleSpaceTest) [/export/home/ksmakoto/ruby-working/ruby194/ruby-git/test/rinda/test_rinda.rb:398]:
<[0, 3]> expected but...
metanest (Makoto Kishimoto)
08:50 AM Bug #5060 (Closed): Executables in bin folder conflict with their gem versions.
Since I committed r32608 and r32611 I think this issue is now invalid.
If a different version of rake or rdoc are installed they will behave the same as the bundled library. rake _0.9.2.1_ will load the built-in version of rake, for ...
drbrain (Eric Hodel)
12:24 AM Bug #4957 (Closed): IO.copystream seems make hangup on cygwin (was 2011-07-01 Snapshot build)
#5055 で情報更新されているように思えるので close します naruse (Yui NARUSE)
12:24 AM Bug #5027 (Closed): Snapshot(2011-07-14) Build Test Error @Cygwin
#5055 で情報更新されているように思えるので close します naruse (Yui NARUSE)
 

Also available in: Atom