Project

General

Profile

Activity

From 02/19/2011 to 02/25/2011

02/25/2011

10:12 PM Revision 10e2dbee (git): * 2011-02-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:12 PM Revision 2695d032 (git): * ext/psych/lib/psych/scalar_scanner.rb: fix parsing timezone's whose
whose format is (+/-)hhmm. Thanks Gonçalo Silva!
* test/psych/test_scalar_scanner.rb: test for bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
07:23 PM Feature #4447: add String#byteslice() method
=begin
string.force_encoding(ENCODING::BINARY).slice almost does what you want,
very efficiently. The problem is that the string will then be marked as
BINARY. This can be set back, but it may affect operations that run in
para...
duerst (Martin Dürst)
06:17 PM Feature #4447: add String#byteslice() method
=begin
Hm, can't you just force it to binary encoding?
>> s = "ąęć"
=> "ąęć"
>> s.slice(1,2)
=> "ęć"
>> s.force_encoding("binary").slice(1,2)
=> "\x85\xC4"
=end
radarek (Radosław Bułat)
05:52 PM Feature #4447 (Closed): add String#byteslice() method
=begin
Please add a String#byteslice() method to the Ruby 1.9 core API.
Without that method, I am forced to *inefficiently* perform byte-based
string slicing by (1) unpacking the entire string into an Array (with
String#unpack or wo...
sunaku (Suraj Kurapati)
09:19 AM Bug #4444: Windowsプラットフォームでtest_parallel.rbがエラー
=begin
書き忘れましたが、test_parallel.rb でエラーがおきるとログにファイル名が残りません(普通はテスト名の横にファイル名と行番号が出る)。これは切り分けを難しくしているので、いっしょに直していただきたいと思います。
=end
kosaki (Motohiro KOSAKI)
12:23 AM Bug #4440: odd evaluation order in a multiple assignment
=begin
Sorry, I've sent a Japanese mail to ruby-core by mistake.
Translation :-)

Hi,

I have believed that Ruby evaluates everything from left to
right, but was betrayed by a multiple assignment:

def foo
p :foo...
mame (Yusuke Endoh)
12:23 AM Bug #4440: odd evaluation order in a multiple assignment
=begin
Hi,

Oops, I sent Japanese message to the core. Sorry.

matz.

In message "Re: [ruby-core:35370] Re: [Ruby 1.9 - Bug #4440] [Open] odd evaluation order in a multiple assignment"
on Thu, 24 Feb 2011 23:26...
matz (Yukihiro Matsumoto)
12:23 AM Bug #4440: odd evaluation order in a multiple assignment
=begin
まつもと ゆきひろです

In message "Re: [ruby-core:35367] [Ruby 1.9 - Bug #4440] [Open] odd evaluation order in a multiple assignment"
on Thu, 24 Feb 2011 23:02:38 +0900, Yusuke Endoh <mame@tsg.ne.jp> writes:

|Ruby は左から右に評価が進...
matz (Yukihiro Matsumoto)
12:23 AM Bug #4438: rescue args type check omitted
=begin
Hi,

In message "Re: [ruby-core:35364] [Ruby 1.9 - Bug #4438] [Open] rescue args type check omitted"
on Thu, 24 Feb 2011 19:07:03 +0900, Hiroshi NAKAMURA <nakahiro@gmail.com> writes:

|Rescue arg must be class or mo...
matz (Yukihiro Matsumoto)
12:09 AM Bug #4445 (Closed): ext/openssl の verify_callback が rb_protect で保護されていない
=begin
openssl では 証明書の検証に付加的な機能を付けるための
callback を設定できます。これをrubyから利用できるようになっていますが
rb_protect を使っていないため、openssl ライブラリ内部を飛び越えて
例外が飛ぶようになってしまう状態です。
現在ではSEGVが発生する等の問題は見つかってはいませんがメモリリークなど
起きている可能性が高いです。
とりあえず大域脱出を止めるパッチを添付します。例外を適当な...
ohai (Ippei Obayashi)

02/24/2011

11:51 PM Bug #4444 (Closed): Windowsプラットフォームでtest_parallel.rbがエラー
=begin
c:\ruby\trunk\build>nmake test-all TESTS="-v ../test/testunit/test_parallel.rb"

Microsoft(R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.

.\rub...
kosaki (Motohiro KOSAKI)
11:45 PM Bug #4442 (Rejected): odd evaluation order in a multiple assignment
=begin
=end
mame (Yusuke Endoh)
11:27 PM Bug #4442 (Rejected): odd evaluation order in a multiple assignment
=begin
遠藤です。core に投げてしまったようなので登録し直し。
Ruby は左から右に評価が進むと信じていたのですが、多重代入で裏切られました。
def foo
p :foo
[]
end
def bar
p :bar
end
x, foo[0] = bar, 0
bar より foo が左にあるので、:foo 、:bar の順に出力されることを期待するのですが、なんと :bar ...
mame (Yusuke Endoh)
11:28 PM Bug #4443 (Closed): odd evaluation order in a multiple assignment
遠藤です。core に投げてしまったようなので登録し直し。
Ruby は左から右に評価が進むと信じていたのですが、多重代入で裏切られました。
```ruby
def foo
p :foo
[]
end
def bar
p :bar
end
x, foo[0] = bar, 0
```
bar より foo が左にあるので、:foo 、:bar の順に出力されることを期待するのですが、なん...
mame (Yusuke Endoh)
11:23 PM Bug #4441 (Closed): test
=begin
this is test. sorry.
=end
usa (Usaku NAKAMURA)
11:05 PM Bug #4440 (Closed): odd evaluation order in a multiple assignment
=begin
遠藤です。
Ruby は左から右に評価が進むと信じていたのですが、多重代入で裏切られました。
def foo
p :foo
[]
end
def bar
p :bar
end
x, foo[0] = bar, 0
bar より foo が左にあるので、:foo 、:bar の順に出力されることを期待するのですが、なんと :bar 、:foo になります。
具体的に何...
mame (Yusuke Endoh)
10:21 PM Bug #4439 (Closed): TestBeginEndBlock#test_should_propagate_signaled が必ず1度失敗する
=begin
% make test-all TESTS="-v test/ruby/test_beginendblock.rb -j2"
のように、test_beginendblock.rbを並列実行すると
--------------------------------------------------------
# Running tests:
TestBeginEndBlock#test_beginendblock = 0.17 s ...
kosaki (Motohiro KOSAKI)
09:09 PM Revision ba1de001 (git): * common.mk (love): make ruby, not war.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:10 PM Bug #4438 (Closed): rescue args type check omitted
=begin
Rescue arg must be class or module in 1.8. 1.9 looks to ignore when it's not a class or module.
Is this expected behavior?
0% ruby -ve 'begin; raise; rescue nil; end'
ruby 1.9.3dev (2011-02-23 trunk 30945) [x86_64-linux]...
nahi (Hiroshi Nakamura)
03:46 PM Feature #4168: WeakRef is unsafe to use in Ruby 1.9
=begin
Progress:
I've implemented gc_api.[ch] source patches for MRI 1.9, 1.8.7 and REE 1.8.7 2011.02 and moved the MRI reference.c code into a fork of Brian's ref gem:
https://github.com/kstephens/ref/tree/master-mri-gc_api
Patches c...
kstephens (Kurt Stephens)
02:55 PM Bug #4433 (Assigned): parallel_test中workerがrequireのwrong argument type StringIO (expected File) (TypeError)で落ちる
=begin
=end
sorah (Sorah Fukumori)
02:03 PM Revision dbf88981 (git): * ext/openssl/ossl_hmac.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:53 PM Revision 18f39f4e (git): * common.mk (love): for the birthday.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:51 PM Revision 4acc6131 (git): * vm.c (ruby_vm_destruct): run vm exit hooks after all objects are
destructed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:51 PM Revision d3b2d870 (git): * ChangeLog: style fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:08 PM Bug #4437: Hash does not match character read from file via IO#getc
=begin
Oops -- my little program was included in the description, but that didn't seem to work out very well, so I'm attaching it.
=end
bobjalex (Bob Alexander)
11:58 AM Bug #4437 (Rejected): Hash does not match character read from file via IO#getc
Run this little program, and observe that the single-character read from a file does not match a hash key as it should.
===========================================
# Create a file with the single character 'x', then read it back into...
bobjalex (Bob Alexander)
05:43 AM Revision 54168739 (git): * ChangeLog(vim): Modeline for vim
* ChangeLog: Fix my syntax misses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
05:23 AM Bug #3972: r28668 breaks test/unit when combined with the testing rake task
=begin
On Tue, Feb 22, 2011 at 11:39:20PM +0900, Tomoyuki Chikanaga wrote:
> Issue #3972 has been updated by Tomoyuki Chikanaga.
>
>
> Hi,
>
> After r30913, make test-all output warning and testunit message in test_rake_integra...
tenderlovemaking (Aaron Patterson)
04:47 AM Revision 0695a5aa (git): * common.mk: Use $RUNRUBY for worker process.
* lib/test/unit.rb: Fix bug.
* lib/test/unit.rb: @options[:ruby](@opts[:ruby]) is now Array.
* test/testunit/parallel.rb: Fix for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
04:19 AM Bug #4436 (Closed): FileUtils verbose mode prints output to stderr
=begin
I'm using a plugin in a Ruby on Rails application that uses FileUtils's cp_r method to copy files into place (with verbose mode on). When deploying my application with Capistrano, I get several "error" lines during this part (htt...
jrdioko (Johnathan Ritzi)
03:16 AM Bug #4435 (Third Party's Issue): Step over/step into extend statement causes bus error in ruby 1.9.2p180
=begin
This happened while debugging rsolr-ext, running 'Debug "all specs in: spec" from RubyMine 3.0.1.
To reproduce set breakpoint at Line 16 in .../rsolr-1.0.0/lib/rsolr/client.rb and use step over or step into.
Please attached...
moritz (Andreas Kemkes)
01:08 AM Revision cc61e921 (git): * 2011-02-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:08 AM Revision e9c22a6f (git): * test/testunit/tests_for_parallel/misc.rb: Fix bug in r30947.
* lib/test/unit.rb, lib/test/unit/assertions.rb: For this test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)

02/23/2011

11:17 PM Bug #4434 (Feedback): make test-all "-j10000" のように大きな並列数を与えると異常終了
=begin
% make test-all TESTS="-j10000"
./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- "./test/runner.rb" -j10000
Run options: -j10000
# Running tests:
[FATAL] Failed to create timer thread (errno: 11)
...
kosaki (Motohiro KOSAKI)
10:51 PM Bug #4433 (Closed): parallel_test中workerがrequireのwrong argument type StringIO (expected File) (TypeError)で落ちる
=begin
trunkのmake TESTS='-j4 -v'で
TestRDocTopLevel#test_name = 0.08 s = .
/Users/sorah/git/ruby/ruby/lib/rubygems/custom_require.rb:35:in `require': wrong argument type StringIO (expected File) (TypeError)
from /Users/sorah/...
sorah (Sorah Fukumori)
08:43 PM Bug #4429 (Closed): test
=begin
=end
yugui (Yuki Sonoda)
05:09 PM Bug #4429 (Closed): test
=begin
これは redmine.ruby-lang.org 更新のためのテスト送信です。このあと何通かメールを送るかも知れません。ご容赦ください。
=end
yugui (Yuki Sonoda)
08:43 PM Bug #4430 (Closed): 新型redmine.ruby-lang.orgのテスト
=begin
=end
yugui (Yuki Sonoda)
06:51 PM Bug #4430: 新型redmine.ruby-lang.orgのテスト
=begin
yuguiです。

メーラーからの返信のテストをします。

--
Yuki Sonoda (Yugui)
yugui@yugui.jp
http://yugui.jp
=end
yugui (Yuki Sonoda)
06:42 PM Bug #4430: 新型redmine.ruby-lang.orgのテスト
=begin
テスト
=end
yugui (Yuki Sonoda)
06:39 PM Bug #4430: 新型redmine.ruby-lang.orgのテスト
=begin
テスト
=end
yugui (Yuki Sonoda)
06:38 PM Bug #4430: 新型redmine.ruby-lang.orgのテスト
=begin
test
=end
yugui (Yuki Sonoda)
06:37 PM Bug #4430: 新型redmine.ruby-lang.orgのテスト
=begin
テスト
=end
yugui (Yuki Sonoda)
06:29 PM Bug #4430: 新型redmine.ruby-lang.orgのテスト
=begin
テスト
=end
yugui (Yuki Sonoda)
06:27 PM Bug #4430: 新型redmine.ruby-lang.orgのテスト
=begin
テスト
=end
yugui (Yuki Sonoda)
06:21 PM Bug #4430: 新型redmine.ruby-lang.orgのテスト
=begin
テスト
=end
yugui (Yuki Sonoda)
06:15 PM Bug #4430 (Closed): 新型redmine.ruby-lang.orgのテスト
=begin
再びテスト
=end
yugui (Yuki Sonoda)
08:42 PM Bug #4431 (Closed): redmine.ruby-lang.org更改のためのテスト送信
=begin
=end
yugui (Yuki Sonoda)
06:54 PM Bug #4431 (Closed): redmine.ruby-lang.org更改のためのテスト送信
=begin
お騒がせしております。yuguiです。

これはredmine.ruby-lang.orgへのissue登録のためのテスト送信です。

--
Yuki Sonoda (Yugui)
yugui@yugui.jp
http://yugui.jp
=end
yugui (Yuki Sonoda)
02:08 PM Revision 48fa6ed5 (git): * test/testunit/test_parallel.rb, test/testunit/parallel/*:
Test for r30939.
* lib/test/unit.rb: For test.
* lib/test/parallel.rb: For test.
* lib/test/unit/testcase.rb: For test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
01:05 PM Revision 92729ad4 (git): * ext/openssl/ossl_engine.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:19 AM Bug #4405: WIN32OLE & Threads incompatible
=begin
It does seem to work all right with jruby.
=end
rogerdpack (Roger Pack)
01:12 AM Bug #4418: OpenSSL::PKey::DH#public_key
=begin
Hi, Martin

Your fix is appropriate.
However, I feel no one needs this (copying only
parameters and a public key) method, so
it is also a reasonable idea that we simply remove
or rename the method.

=end
ohai (Ippei Obayashi)
12:39 AM Bug #3277: win32ole cannot print?
=begin
Thanks. Seems to work well now (ruby 1.9.3dev (2011-02-18 trunk 30894) [i386-mingw32] )
=end
rogerdpack (Roger Pack)
12:27 AM Bug #3990: tests of rexml/rss reports many errors and failures without iconv
=begin
成瀬です。

(2011/02/22 23:47), Kouhei Sutou wrote:
>> 出力のエンコーディングは Windows-31J だけど名乗りは Shift_JIS にさせたい
>> という例もありえますね。また、さらに Solaris 用に PCK と名乗らせたいとか。
>> (PCK は Windows-31J か Shift_JIS の alias として追加予定)
>
> うーん。
> Solarisで動くX...
naruse (Yui NARUSE)
12:04 AM Revision fb2f540a (git): Fix type of arguments in debug prints.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:04 AM Revision 0e8a6353 (git): * 2011-02-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:04 AM Revision d78e45e0 (git): Show encoding of compiling regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

02/22/2011

11:47 PM Bug #3990: tests of rexml/rss reports many errors and failures without iconv
=begin
須藤です。

In <4D63C8ED.7060803@airemix.jp>
"[ruby-dev:43248] Re: [Ruby 1.9-Bug#3990][Closed] tests of rexml/rss reports many errors and failures without iconv" on Tue, 22 Feb 2011 23:32:17 +0900,
"NARUSE, Yui" <naruse@airemi...
kou (Kouhei Sutou)
11:32 PM Bug #3990: tests of rexml/rss reports many errors and failures without iconv
=begin
成瀬です。

(2011/02/22 22:12), Kouhei Sutou wrote:
> In <AANLkTimCVoPzMzKjnj8WPOEU-aBx=Yxkc5AuQphnrTsr@mail.gmail.com>
> "[ruby-dev:43246] Re: [Ruby 1.9-Bug#3990][Closed] tests of rexml/rss reports many errors and failures with...
naruse (Yui NARUSE)
10:12 PM Bug #3990: tests of rexml/rss reports many errors and failures without iconv
=begin
須藤です。

あとでまた考えるのですが、今、考えていることをメモがわりに送っ
ておきます。

In <AANLkTimCVoPzMzKjnj8WPOEU-aBx=Yxkc5AuQphnrTsr@mail.gmail.com>
"[ruby-dev:43246] Re: [Ruby 1.9-Bug#3990][Closed] tests of rexml/rss reports many errors and failures withou...
kou (Kouhei Sutou)
06:14 PM Bug #3990: tests of rexml/rss reports many errors and failures without iconv
=begin
成瀬です。

2011年2月21日22:50 Kouhei Sutou <kou@cozmixng.org>:
> XMLDecl#encoding は String であるべき
>
> というよりは、
>
> XML宣言に記述するエンコーディング(=情報交換用符号ですよ
> ね?)と内部処理に使うエンコーディング(=内部処理用符号
> =transcode ですよね?)を別々に管理できるようにするべき
>
> ですよね?
...
naruse (Yui NARUSE)
11:39 PM Bug #3972: r28668 breaks test/unit when combined with the testing rake task
=begin
Hi,

After r30913, make test-all output warning and testunit message in test_rake_integration.rb like follows.

.../path/to/src/lib/test/unit.rb:43: warning: instance variable @options not initialized
Run options:

...
nagachika (Tomoyuki Chikanaga)
08:57 PM Bug #4426 (Closed): rubygems/test_gem_gemcutter_utilities.rb fails
=begin
When run make RUBYOPT=-w TESTS='-v rubygems/test_gem_gemcutter_utilities.rb' test-all, it fails as following:


1) Error:
test_sign_in(TestGemGemcutterUtilities):
NameError: uninitialized constant Gem::Command
...
naruse (Yui NARUSE)
02:16 PM Revision 8f1430d0 (git): * lib/test/unit.rb: Fix --ruby option doesn't effect.
* lib/test/unit.rb: Fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
12:39 PM Revision b7af3f6f (git): * ext/openssl/ossl_digest.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:37 PM Feature #4415 (Closed): Rubyのtest-allを並列化するパッチが完成しました
=begin
This issue was solved with changeset r30939.
Shota, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* lib/test/unit.rb: Add new options; --jobs,-j,--ruby,--j...
sorah (Sorah Fukumori)
12:07 PM Bug #4417 (Assigned): OpenSSL::Buffering#each_byte がブロックに文字をStringで渡している
=begin
たしかに。
以下のような感じですかね。

--- a/ext/openssl/lib/openssl/buffering.rb
+++ b/ext/openssl/lib/openssl/buffering.rb
@@ -197,8 +197,8 @@ module Buffering
end

def each_byte
- while c = getc
- yield(c)
+...
naruse (Yui NARUSE)
09:45 AM Bug #4418 (Assigned): OpenSSL::PKey::DH#public_key
=begin

=end
naruse (Yui NARUSE)
08:46 AM Bug #4418: OpenSSL::PKey::DH#public_key
=begin
Hi,

I had been doing some work in this area, so I looked into this. The problem
is that DH parameters are duplicated, but this only duplicates the generator
g and the prime p, but not the public key, which can be derive...
MartinBosslet (Martin Bosslet)
09:45 AM Bug #4420 (Assigned): OpenSSL::X509::Request#to_der で RequestError ではなく CertificateError が発生する
=begin

=end
naruse (Yui NARUSE)
01:44 AM Bug #4420 (Closed): OpenSSL::X509::Request#to_der で RequestError ではなく CertificateError が発生する
=begin
OpenSSL::X509::Request#to_der の実体(ext/openssl/ossl_x509req.c:ossl_x509req_to_der)
でOpenSSL::X509::CertificateErrorを発生させていますが、これは
OpenSSL::X509::RequestError が妥当であるように思われます。

この問題を修正するパッチを添付してあります。
=end
ohai (Ippei Obayashi)
09:45 AM Feature #4423 (Assigned): [ext/openssl] Allow encryption for PEM-encoding Elliptic Curve private keys
=begin

=end
naruse (Yui NARUSE)
08:36 AM Feature #4423 (Closed): [ext/openssl] Allow encryption for PEM-encoding Elliptic Curve private keys
=begin
There has already been some #if 0-excluded code that would actually
take care of this, but it has not been implemented yet. The attached
patch allows to encrypt PEM-encoded private keys, Cipher and password
are ignored in...
MartinBosslet (Martin Bosslet)
09:45 AM Bug #4422 (Assigned): [ext/openssl] Fix DSA public key PEM encoding
=begin

=end
naruse (Yui NARUSE)
08:25 AM Bug #4422 (Closed): [ext/openssl] Fix DSA public key PEM encoding
=begin
Related to http://redmine.ruby-lang.org/issues/show/4421.

The difference is that DSA already uses the "right" function for DER encoding,
but the "wrong" function (PEM_write_bio_DSAPublicKey instead of
PEM_write_bio_DSA...
MartinBosslet (Martin Bosslet)
09:44 AM Bug #4421 (Assigned): [ext/openssl] Fix RSA public key encoding
=begin

=end
naruse (Yui NARUSE)
08:18 AM Bug #4421 (Closed): [ext/openssl] Fix RSA public key encoding
=begin
When calling RSA#to_der and RSA#to_pem on RSA public keys, they currently
get encoded using i2d_RSAPublicKey and PEM_write_bio_RSAPublicKey. This encoding
was specified in PKCS#1 and is specific to RSA. It is also not the de...
MartinBosslet (Martin Bosslet)
09:43 AM Bug #4416 (Assigned): OpenSSL::SSL::Session#session_new_cb
=begin

=end
naruse (Yui NARUSE)
09:42 AM Bug #4419 (Assigned): ext/openssl のコメントが正しくない
=begin

=end
naruse (Yui NARUSE)
12:17 AM Bug #4419 (Closed): ext/openssl のコメントが正しくない
=begin
ext/openssl でいくつかコメントが間違っていると思われる所があるのでパッチを添付します。
=end
ohai (Ippei Obayashi)
09:20 AM Feature #4424 (Closed): [ext/openssl] Allow public/private key creation from arbitrary data
=begin
There is a public funtion in PKey that allowed to read arbitrary
private keys from a file regardless of the actual key type, but it
was not exposed in Ruby, only in C.
In Ruby, the only way to instantiate public/private k...
MartinBosslet (Martin Bosslet)
06:13 AM Bug #4149 (Closed): Documentation submission: syslog standard library
=begin
I applied my version of your patch which uses label lists. Thank you for your work!
=end
drbrain (Eric Hodel)
05:35 AM Revision 06aeddaf (git): * lib/test/unit.rb: Fix merging miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
04:29 AM Bug #3660: Trace events seem to be missing
=begin
This isn't actually a problem with "-rtracer" not turning Tracer.on, it's that it does output, but outputs far fewer symbols (mostly missing tons of returns).
Cheers!
-r
=end
rogerdpack (Roger Pack)
03:36 AM Revision a790bd0b (git): * lib/test/unit.rb: Add new options; --jobs,-j,--ruby,--jobs-status,
--no-retry.
[Feature #4415] [ruby-dev:43226],[ruby-dev:43222],[ruby-core:35294]
* lib/test/unit/parallel.rb: Used at test/unit --jobs(-j) option.
* test/csv/test_serialization.rb: test/unit parallel running ready.
* test/rake/test_file...
sorah (Sorah Fukumori)

02/21/2011

11:45 PM Bug #4418 (Rejected): OpenSSL::PKey::DH#public_key
=begin
OpenSSL::PKey::DH#public_key がその名前に反して DH パラメータのみを複製して返しています。
require 'openssl'
dh = OpenSSL::PKey::DH.generate(1024) # => パラメータと鍵の生成、時間がかかる
p dh.pub_key # => 公開鍵の整数を表示
p dh.public_key.pub_key # => nil

DH の場...
ohai (Ippei Obayashi)
11:22 PM Bug #4417 (Closed): OpenSSL::Buffering#each_byte がブロックに文字をStringで渡している
=begin
現状では Ruby 1.9.x では OpenSSL::Buffering#each_byte は、渡されたブロックに String オブジェクトを
(1文字づつ)渡しています。

しかし IO#each_byte などからの類推としてこれは Integer を渡すべきではないでしょうか。
=end
ohai (Ippei Obayashi)
10:53 PM Bug #4416 (Closed): OpenSSL::SSL::Session#session_new_cb
=begin
SSL_CTX_sess_set_new_cb で渡すコールバックの返り値は、
「0 を返すと新しく作られた SSL_SESSION のリファレンスカウンタの
値を減らし(て SSL_SESSION を解放し)、
それ以外を返すとリファレンスカウンタを減らさない」となっています。

しかし、ext/openssl/ossl_ssl.c:ossl_sslctx_session_new_cb ではその中で
リファレンスカウンタの値を...
ohai (Ippei Obayashi)
10:50 PM Bug #3990: tests of rexml/rss reports many errors and failures without iconv
=begin
須藤です。

ここ1,2ヶ月は手をつけられそうなので、今、考えている分だけ書
いておきます。

In <4CEAAED7.5090808@airemix.jp>
"[ruby-dev:42618] Re: [Ruby 1.9-Bug#3990][Closed] tests of rexml/rss reports many errors and failures without iconv" on Tue, 23 Nov 2010 02:...
kou (Kouhei Sutou)
10:33 PM Feature #4415: Rubyのtest-allを並列化するパッチが完成しました
=begin
ふむ。では修正してから取りこみます。

2011/2/21 Kouhei Sutou <kou@cozmixng.org>:
> 水を差すようで申し訳ないのですが、a, b, xなどの名前に意味の
> ない変数名を使わないようにするなど、もう少し整理した方がよい
> 気がします。

--
Shota Fukumori a.k.a. @sora_h - http://codnote.net/
=end
sorah (Sorah Fukumori)
10:27 PM Feature #4415: Rubyのtest-allを並列化するパッチが完成しました
=begin
あ、ありがとうございます!

これから出てくるバグに備えて、lib/test/*のメンテナにも立候補したいと思います。

2011/2/21 Yukihiro Matsumoto <matz@ruby-lang.org>:
> コミット権も差し上げましょう。希望するアカウント名、PGP署名
> したssh2公開鍵を cvs-admin@ruby-lang.org に送ってください。
>
> 久々の最年少更新か。

--
Shota...
sorah (Sorah Fukumori)
10:23 PM Feature #4415: Rubyのtest-allを並列化するパッチが完成しました
=begin
須藤です。

In <4d6263f6f161d_1dc2aafe934324d4@redmine.ruby-lang.org>
"[ruby-dev:43226] [Ruby 1.9-Feature#4415][Open] Rubyのtest-allを並列化するパッチが完成しました" on Mon, 21 Feb 2011 22:09:12 +0900,
Shota Fukumori <redmine@ruby-lang.org> wr...
kou (Kouhei Sutou)
10:17 PM Feature #4415: Rubyのtest-allを並列化するパッチが完成しました
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:43226] [Ruby 1.9-Feature#4415][Open] Rubyのtest-allを並列化するパッチが完成しました"
on Mon, 21 Feb 2011 22:09:12 +0900, Shota Fukumori <redmine@ruby-lang.org> writes:

|Feature #4415: Rubyのtest-all...
matz (Yukihiro Matsumoto)
10:09 PM Feature #4415 (Closed): Rubyのtest-allを並列化するパッチが完成しました
=begin
# [ruby-dev:43222] の続きです。経緯などはそちらを参照していただければと思います。

パッチが完成したのでチケットを作成しました。

まつもとさんは[ruby-dev:43224]で「バグがとれたら入れちゃったら?」と言っていました。

一部テストについては改変していますが、それについては取りこまなくてもFailになることは無いと思います。
(workerで失敗したテストは並列では無く実行をしなおす為。ただし...
sorah (Sorah Fukumori)
09:13 PM Revision a6fcf3e5 (git): Apply documentation patch from mathew murphy. [Bug #4149]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
06:09 PM Revision 7b494b09 (git): * ext/psych/lib/psych.rb: increase Psych to 1.1.0 for help with
debugging.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
06:09 PM Revision 4ed82ae5 (git): * ext/psych/lib/psych/streaming.rb: refactor streaming methods to a
module.
* ext/psych/lib/psych/stream.rb: extracted streaming specific methods
to a module.
* ext/psych/lib/psych/json/stream.rb: JSON stream inherits from
JSONTree and includes streaming methods.
* ext/psych/lib/psych/visitors/json_t...
tenderlovemaking (Aaron Patterson)
06:09 PM Revision 10ec858f (git): should have used anchor, not oid
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
05:42 PM Revision 88014ea8 (git): * 2011-02-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:42 PM Revision 846b8118 (git): * ext/psych/lib/psych/visitors/yaml_tree.rb (accept): use Hash#key?
when looking up object references to err on the side of cache
misses.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
03:09 PM Feature #4414: Addition to String.split
=begin
Your proposal seems valid, because current String#split only accept arguments whose first argument has to_str method.

The problem is the use case can be solbed by String#unpack (or lib/scanf.rb) like following.

version,...
naruse (Yui NARUSE)
01:51 PM Feature #4414 (Rejected): Addition to String.split
=begin
I'm wondering whether the following feature is acceptable before I work on a patch:

When String.split is given one or more integer arguments, the string is divided at those indices.

str = '1.9ruby30932'
version, lang...
lorensr (Loren Sands-Ramshaw)
02:44 AM Bug #4413 (Rejected): Segmentation fault when using deliver for GMAIL SMTP
=begin
Hi,

First of all please advise me if I make any mistakes in this post. I've done ruby and rails for about a month.

On my local machine I have a problem with sending email through SMTP. Any time I create a new mail and ...
mhenrixon (Mikael Henriksson)
02:00 AM Revision 8b5a3b7d (git): * ext/psych/lib/psych/json/yaml_events.rb: refactoring JSON event
handling methods to a module for reuse.
* ext/psych/lib/psych/json/tree_builder.rb: AST builder uses JSON
event methods.
* ext/psych/lib/psych/json/stream.rb: stream emitter uses JSON event
methods.
git-svn-id: svn+ssh://ci.ruby-lan...
tenderlovemaking (Aaron Patterson)
01:56 AM Revision 6f37c467 (git): * ext/psych/lib/psych/json/stream.rb: do not emit custom tags in maps
or sequences when emitting JSON.
* ext/psych/lib/psych/json/tree_builder.rb: do not emit custom tags in
sequences when emitting JSON.
* test/psych/json/test_stream.rb: tests for custom stream emits.
* test/psych/test_json_tree.rb: test...
tenderlovemaking (Aaron Patterson)
01:49 AM Revision 816c7900 (git): moving autoload to require so that the correct files are required
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
01:45 AM Feature #4412 (Closed): [ext/openssl] Create Digest by OID
=begin
Currently it is not possible to create a Digest instance by using
the OID instead of the name (sn or ln).

oid = OpenSSL::ASN1::ObjectId.new('SHA1')
digest = OpenSSL::ASN1::Digest.new(oid.oid)

=> Unsupported digest...
MartinBosslet (Martin Bosslet)
01:06 AM Revision 73af8137 (git): * ext/psych/lib/psych/json/ruby_events.rb: DRY up ruby event handling
for JSON.
* ext/psych/lib/psych/visitors/json_tree.rb: use ruby events module
* ext/psych/lib/psych/json/stream.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
01:02 AM Revision 6673f4e8 (git): * ext/psych/lib/psych/json/stream.rb: fix JSON stream emits to use
double quotes during stream.
* test/psych/json/test_stream.rb: tests to reflect changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)

02/20/2011

03:39 PM Revision 39160bd4 (git): * 2011-02-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:39 PM Revision deeda1ca (git): * test/ruby/test_system.rb (TestSystem#test_system_at):
add testcase for bug4396.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
10:59 AM Revision 408a903c (git): * ext/openssl/ossl_cipher.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:09 AM Bug #4373 (Rejected): http.rb:677: [BUG] Segmentation fault
=begin

=end
sorah (Sorah Fukumori)
01:27 AM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
Just an update. I uninstalled any variation of macport postgresql and openssl, via:

sudo port uninstall --follow-dependents portname openssl
---> Deactivating postgresql83-server @8.3.13_0
---> Cleaning postgresql83-se...
krz (Christian Fazzini)
07:26 AM Revision c4cc4d31 (git): * thread.c (exec_recursive): prevent temporary objects from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:26 AM Revision 43055ad2 (git): * property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:23 AM Revision e7c0a6e1 (git): * prevent temporary objects from GC, and should not use
RSTRING_PTR() for function calls since it evaluates the argument
a couple of times.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:22 AM Revision 4ab39d22 (git): * file.c (rb_file_flock): use rb_thread_io_blocking_region for the
time being.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

02/19/2011

10:54 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
Ok, I have pinpointed the problem. I do not need to move /opt. To diagnose this, I created a new rails app. I have included the gem file. In there you will see that it includes the twitter gem. HOWEVER, I've commented line 9: gem...
krz (Christian Fazzini)
09:34 PM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
On 19 February 2011 03:08, Christian Fazzini <redmine@ruby-lang.org> wrote:
> Issue #4373 has been updated by Christian Fazzini.
>
> Benoit, I'll go through those steps you suggested.
>
> By the way, is 1.9.3 safe to use in ...
Eregon (Benoit Daloze)
11:08 AM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
Benoit, I'll go through those steps you suggested.

By the way, is 1.9.3 safe to use in production? Any reason, why you didnt try reproducing in 1.9.2?
=end
krz (Christian Fazzini)
06:38 AM Bug #4373: http.rb:677: [BUG] Segmentation fault
=begin
On 6 February 2011 18:43, Christian Fazzini <redmine@ruby-lang.org> wrote:
> Issue #4373 has been updated by Christian Fazzini.
>
>
> Openssl is already installed via macports. Actually, the replication is quite simple. I hav...
Eregon (Benoit Daloze)
08:44 PM Revision 4f00a27f (git): lib/minitest/*.rb: Imported minitest 2.0.2 r6207
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
06:14 PM Revision df52785d (git): * signal.c (sig_trap): avoid pthread_sigmask(xx, &mask, &mask) usage
because FreeBSD don't permit it. If it's used, it behave as
pthread_sigmask(xx, NULL, &mask).
* signal.c (init_sigchld): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
03:47 PM Revision 4250c745 (git): * 2011-02-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:47 PM Revision 1343f8c5 (git): * ext/openssl/ossl_bn.c: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:41 PM Revision e3cc8344 (git): * vm_insnhelper.c (vm_check_if_namespace): guard temporary object
from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
12:43 PM Revision 84b96e1b (git): Fix tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:50 AM Bug #4408: Net::SSH connections are subject to plaintext recovery due to lack of CTR mode
=begin
The Cipher class uses the OpenSSL EVP API, but if you look in the file evp.h in all available OpenSSL versions (including >= 1.0.0) you will find this:

#if 0
const EVP_CIPHER *EVP_aes_128_ctr(void);
#endif

As soon a...
MartinBosslet (Martin Bosslet)
08:57 AM Bug #4410: Install fails with missing readline.so in fileutils.rb
=begin
Doesn't happen with a plain make install either. I'd be interested to know what's going on, though.
=end
meta (mathew murphy)
08:44 AM Bug #4410: Install fails with missing readline.so in fileutils.rb
=begin
Problem doesn't seem to occur on RHEL 5.3.
=end
meta (mathew murphy)
08:41 AM Bug #4410 (Third Party's Issue): Install fails with missing readline.so in fileutils.rb
=begin
Checkinstall running make install:

[ many lines omitted ]
./miniruby -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./tool/rbinstall.rb --make="make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=...
meta (mathew murphy)
06:47 AM Bug #3972 (Closed): r28668 breaks test/unit when combined with the testing rake task
=begin
This issue was solved with changeset r30913.
Aaron, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

----
* lib/test/unit.rb: partial revert of r30849. [ruby-core:...
Anonymous
06:19 AM Bug #4405: WIN32OLE & Threads incompatible
=begin
We struggled with this a bit on JRuby too while implementing win32ole. The contract under which we implemented it also called for high concurrency, so we needed to figure out the right bits and pieces and threading models and so ...
headius (Charles Nutter)
06:06 AM Bug #4409 (Closed): DRb: discrepency between DRb.here? and DRb.uri leads to failure to dereference a DrbObject
=begin
When a reference on a local object is sent back by a client to a server, it may not be recognised as a local object during marshalling:
An object instance being sent as a reference is wrapped in a DRbObject built by make_proxy...
nbondoux (Nicolas Bondoux)
03:57 AM Bug #4394: Bug in floating point multiplication
You can also do
>> (12.4 * 1.05).round(2)
=> 13.02
rogerdpack (Roger Pack)
 

Also available in: Atom