Project

General

Profile

Activity

From 12/30/2011 to 01/05/2012

01/05/2012

10:48 PM Bug #5846 (Closed): JSON.parse with :object_class causes SEGV
JSON.parse method accepts a :object_class option to specify the class of resulting object other than Hash. But with the trunk version of json lib it causes SEGV. The bug seems to be fixed at upstream already (see the last.)
% ruby -...
nahi (Hiroshi Nakamura)
06:35 PM Bug #5845 (Closed): Addrinfo#connect_from が Addrinfo オブジェクトを受け付けない
Addrinfo#connect_from (ext/socket/lib/socket.rb) の rdoc には
# # Addrinfo object can be taken for the argument.
# Addrinfo.tcp("www.ruby-lang.org", 80).connect_from(Addrinfo.tcp("0.0.0.0", 4649)) {|s|
# s.print "GET / HTTP...
ohai (Ippei Obayashi)
04:24 PM Feature #5825 (Assigned): Sweet instance var assignment in the object initializer
naruse (Yui NARUSE)
04:23 PM Bug #5824 (Third Party's Issue): Interpreter Crashes when using OmniAuth
This is because Mac OS X bundled openssl.
See http://www.christopherirish.com/2011/09/02/ruby-1-9-2-segmentation-fault-and-openssl/
naruse (Yui NARUSE)
04:20 PM Bug #5797 (Third Party's Issue): 2nd crash (?) with green shoes gem (but it seems different) ...
This seems also rb-glib2's issue. naruse (Yui NARUSE)
04:18 PM Bug #5795 (Third Party's Issue): Ruby crash (?) with a simple green shoes app
It seems rb-glib2's issue. naruse (Yui NARUSE)
04:05 PM Bug #5838 (Third Party's Issue): Segmentation fault in lib/ruby/1.9.1/net/http.rb when creating a new project with rails 3.2.0.rc1
naruse (Yui NARUSE)
04:18 AM Bug #5838: Segmentation fault in lib/ruby/1.9.1/net/http.rb when creating a new project with rails 3.2.0.rc1
Thanks, AM. The solution worked and now Ruby doesn't crash anymore. It was because of Mac OS OpenSSL. Mirrorball (Carolina F S)
03:31 AM Bug #5838: Segmentation fault in lib/ruby/1.9.1/net/http.rb when creating a new project with rails 3.2.0.rc1
I have "source 'https://rubygems.org'" in my Gemfile but it doesn't make ruby crash in a Rails 3.1.3 project. I'll try that solution anyway, thanks. Mirrorball (Carolina F S)
02:53 PM Feature #5839: Proposal: Bitmap Marking GC
まつもと ゆきひろです

礼儀としてruby-coreで報告したら、マージしてもいいんじゃない?

In message "Re: [ruby-dev:45085] [ruby-trunk - Feature #5839][Open] Proposal: Bitmap Marking GC"
on Wed, 4 Jan 2012 21:33:17 +0900, Narihiro Nakamura <authorNari@gmail.com>...
matz (Yukihiro Matsumoto)
12:58 PM Feature #5839: Proposal: Bitmap Marking GC
If Google translation doesn't fail me totally, the patch improves the memory usage of forked Ruby processed on Linux but the GC performance is affected in other cases making this patch not applicable at the moment.
Options to speed up t...
mattetti (Matt Aimonetti)
12:53 PM Feature #5839: Proposal: Bitmap Marking GC
nari です。

2012年1月5日9:48 SASADA Koichi <ko1@atdot.net>:
>  ささだです.
>
> (2012/01/05 9:30), Narihiro Nakamura wrote:
>> その辺りはどうなんでしょう…。実装するのはそれほど難しくないので、試し
>> に実装して計測してみます。
>>
>> 実装的には、sweep時に解放対象のオブジェクトに対してはobj_free()を呼ぶだ...
authorNari (Narihiro Nakamura)
09:53 AM Feature #5839: Proposal: Bitmap Marking GC
 ささだです.

(2012/01/05 9:30), Narihiro Nakamura wrote:
> その辺りはどうなんでしょう…。実装するのはそれほど難しくないので、試し
> に実装して計測してみます。
>
> 実装的には、sweep時に解放対象のオブジェクトに対してはobj_free()を呼ぶだ
> け、flagsは0にしない、freelistも繋がない、スロットをsweepしたあとに
> bitmapをクリアしない、オブ...
ko1 (Koichi Sasada)
09:53 AM Feature #5839: Proposal: Bitmap Marking GC
nariです。

2012年1月5日8:26 SASADA Koichi <ko1@atdot.net>:
>  ささだです.
>
> (2012/01/04 22:48), Yukihiro Matsumoto wrote:
>> 「bitmapあるからfreelistなくす」のもありえると思いますが、性
>> 能特性はどうなるのかな。明示的なsweepが要らないぶんと割り当て
>> 時にスキャンが発生するのとのトレードオフかなあ。
...
authorNari (Narihiro Nakamura)
08:29 AM Feature #5839: Proposal: Bitmap Marking GC
 ささだです.

(2012/01/04 22:48), Yukihiro Matsumoto wrote:
> 「bitmapあるからfreelistなくす」のもありえると思いますが、性
> 能特性はどうなるのかな。明示的なsweepが要らないぶんと割り当て
> 時にスキャンが発生するのとのトレードオフかなあ。

 メモリアクセスが減る(かもしれない)ので,実測値を知りたいところです.
まぁ,そのへんは実装によると思いますが.

...
ko1 (Koichi Sasada)
02:42 PM Revision 4729382e (git): * ChangeLog: fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
01:06 PM Feature #5735: Extending the use of splat operator to when it is inside a hash
=begin
Ruby trunk has a hash splat operator because of feature #5474, keyword argument. See ((<URL:http://bugs.ruby-lang.org/issues/5474>)).
With this version of Ruby,
ruby 2.0.0dev (2012-01-04 trunk 34211) [x86_64-openbsd5.0]
...
kernigh (George Koehler)
12:18 PM Bug #5841 (Closed): Inccorect calculation in rb_file_join
This issue was solved with changeset r34215.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* file.c (rb_file_join): separator is appended by array length ...
naruse (Yui NARUSE)
04:46 AM Bug #5841 (Closed): Inccorect calculation in rb_file_join
Not really a bug, since the len is only an advice, and sep's len is usually 1 (separator's len), but the logic is not clear:
diff --git a/file.c b/file.c
index fb62c51..15d594a 100644
--- a/file.c
+++ b/file.c
@@ -3825,7 +3825,7 @...
Eregon (Benoit Daloze)
12:13 PM Feature #5809: Benchmark#bm: remove the label_width parameter
Benoit Daloze wrote:
> My suggestion is to improve Benchmark#benchmark (and so #bm) by removing
> ...
Breaking compatibility makes the change hard to accept even if it seems not be used.
Keep and deprecate old method, and create new ...
naruse (Yui NARUSE)
10:58 AM Bug #5768: TestRequire#test_race_exceptionで競合するケースがまだある
とりあえず r34163 で mutex->cond_waiting を用いるのをやめ、RBASIC()->flags に待っているスレッドの数を保存するように変更しました。
これで、問題自体は直ったはずですし、現在まで再現していません。
他の方法で実装し直したいと仰っていたので、小崎さんにアサインされたままにはしておきます。
naruse (Yui NARUSE)
07:23 AM Feature #5543: rb_thread_blocking_region() API is poorly designed
Mike Dalessio <mike.dalessio@gmail.com> wrote:
> It appears that the current implementation (1.9.3) of
> rb_thread_blocking_region_begin() and _end() does in fact support this
> calling style, but they are not global symbols, and ...
normalperson (Eric Wong)
05:00 AM Feature #5543: rb_thread_blocking_region() API is poorly designed

Another issue with the current design is that it does not support
callback-oriented APIs.
First, a counter-example. The current API perfectly supports the
following pattern:
1) unlock GVL
2) perform an expensive (or blocki...
mdalessio (Mike Dalessio)
06:29 AM Revision cef30c7a (git): * win32/win32.c (check_valid_dir): strict checking of root.
GetDriveType() succeeds with non root directory as the argument,
even if MSDN says that the API needs the root directory.
this patch fixes a failure of test/ruby/test_file_exhaustive.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
U.Nakamura
03:18 AM Revision 0d8ad1a9 (git): * file.c (rb_file_join): separator is appended by array length - 1
times. patched by Benoit Daloze [ruby-core:41901] [Bug #5841]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:57 AM Revision 87fe4480 (git): * lib/uri/common.rb (URI::Parser#initialize_regexp):
use \A \z instead of ^ $. [Bug #5843]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:52 AM Revision 4157d6f2 (git): * 2012-01-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:52 AM Revision 32e79b64 (git): Fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
12:43 AM Bug #5840: URI::MailTo.build - 2 of 3 examples fail on 1.9.2/1.93
looking at the code it appears the header items should be a hash instead of an array. It makes for a nicer read
m3 = URI::MailTo.build({:to => 'listman@example.com', :headers => {'subject' => 'subscribe', 'body' => 'welcome'}})
=>...
primerano (Tony Primerano)
12:26 AM Bug #5840 (Closed): URI::MailTo.build - 2 of 3 examples fail on 1.9.2/1.93
The array examples of URI::MailTo.build in the documentation fail on 1.9
http://www.ruby-doc.org/stdlib-1.9.3/libdoc/uri/rdoc/URI/MailTo.html
ex
ruby-1.9.3-preview1 :003 > m2 = URI::MailTo.build(['john@example.com', [['Subject', '...
primerano (Tony Primerano)

01/04/2012

11:56 PM Bug #5838: Segmentation fault in lib/ruby/1.9.1/net/http.rb when creating a new project with rails 3.2.0.rc1
If you have
source 'https://rubygems.org'
in your Gemfile, then it could be because of Mac OS OpenSSL:
http://www.christopherirish.com/2011/09/02/ruby-1-9-2-segmentation-fault-and-openssl/
alexeymuranov (Alexey Muranov)
07:50 AM Bug #5838: Segmentation fault in lib/ruby/1.9.1/net/http.rb when creating a new project with rails 3.2.0.rc1
It's actually Bundler that makes Ruby crash (bundle install). Mirrorball (Carolina F S)
07:39 AM Bug #5838 (Third Party's Issue): Segmentation fault in lib/ruby/1.9.1/net/http.rb when creating a new project with rails 3.2.0.rc1
=begin
Creating a new project with Rails 3.2.0.rc1 makes Ruby crash on my computer:
$ rails new testproject
create
create README.rdoc
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app...
Mirrorball (Carolina F S)
10:53 PM Feature #5839: Proposal: Bitmap Marking GC
まつもと ゆきひろです

In message "Re: [ruby-dev:45086] Re: [ruby-trunk - Feature #5839][Open] Proposal: Bitmap Marking GC"
on Wed, 4 Jan 2012 22:33:03 +0900, SASADA Koichi <ko1@atdot.net> writes:

|(2012/01/04 21:33), Narihiro Naka...
matz (Yukihiro Matsumoto)
10:53 PM Feature #5839: Proposal: Bitmap Marking GC
 ささだです.

 bitmap marking 化ご苦労様です.2つ教えて下さい.

(2012/01/04 21:33), Narihiro Nakamura wrote:
> - 無駄な書き込みを防ぐため、なるべくfreelistを繋ぎ変えないようにした
> -- GCの時にすでにfreelistに繋ながれていたオブジェクトを再度繋ぎ直さない
> - freelistはスロットが持つようになった
> -- 不要なスロットを解放する...
ko1 (Koichi Sasada)
09:33 PM Feature #5839 (Closed): Proposal: Bitmap Marking GC
あけましておめでとうございます。nariです。
ビットマップマーキングGCをRuby2.0向けに作りました。
ソースコード: https://github.com/authorNari/ruby/tree/bitmap_marking
パッチ: https://github.com/authorNari/patch_bag/blob/master/ruby/gc_bitmap_using_alignment_r33786.patch
以下の環境でr3...
authorNari (Narihiro Nakamura)
07:35 PM Feature #5361: Lice?
add documentation for byte_slice and byte_size. ayumin (Ayumu AIZAWA)
02:24 PM Bug #5836 (Closed): #slice results inconsistent after #force_encoding to a valid encoding
This issue was solved with changeset r34208.
Brian, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* string.c (str_nth_len): count ascii-only run at the end. this...
nobu (Nobuyoshi Nakada)
10:12 AM Bug #5836: #slice results inconsistent after #force_encoding to a valid encoding
I've reduced the code a bit, calling `force_encoding` seems to cause it, and calling `valid_encoding?` repairs the damage.
s = 'abc'
p [s.slice(3), s.slice(3, 1)]
[nil, ""]

s.force_encoding 'euc-jp'
p [s.slice(3), s.slice(...
manveru (Michael Fellinger)
05:53 AM Bug #5836 (Closed): #slice results inconsistent after #force_encoding to a valid encoding
I was not able to reduce this further. After calling #force_encoding, #slice returns inconsistent results:
ruby-1.9.3-p0 :001 > RUBY_DESCRIPTION
=> "ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin10.8.0]"
ruby-1.9.3-p0 :00...
brixen (Brian Shirai)
11:33 AM Bug #5819 (Closed): Windowsで空のドライブのルートディレクトリに対するFile.stat が失敗する
This issue was solved with changeset r34205.
Masateru, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* win32/win32.c (check_valid_dir): special case for a root di...
usa (Usaku NAKAMURA)
09:27 AM Revision 7c3a00a1 (git): replace zero to space.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
09:03 AM Revision 6992be63 (git): * array.c (rb_ary_sample): add examples for Array#sample.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
07:33 AM Bug #5837 (Closed): IO#fsync documentation typo quickfix
The documentation IO#fsync says:
"Immediately writes all buffered data in ios to disk. Note that fsync differs from using IO#sync=. The latter ensures that data is flushed from Ruby’s buffers, but doesn’t not guarantee that the underl...
kyledrake (Kyle Drake)
07:04 AM Revision e8736000 (git): sparc.c was missing in r34199
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ngoto (Naohisa Goto)
05:24 AM Revision 46052828 (git): * string.c (str_nth_len): count ascii-only run at the end. this
bug appears only when single-byte-optimization is disabled due
to unknown coderange. [ruby-core:41896] [Bug #5836]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:54 AM Revision 94443cf5 (git): * 2012-01-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:53 AM Revision 0b18cf7f (git): fix up r34199
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
02:34 AM Bug #5833: [mingw] trivial patch for thread.c build warning
Redmine appears to have chopped off your feedback and questions...inserting your questions and my answers.
> I think rb_fd_max() should return int. Is there any possibility that
> ...
In real-world usage, I don't know with 100% cer...
jonforums (Jon Forums)
02:33 AM Revision 79e0379a (git): * win32/win32.c (check_valid_dir): special case for a root directory.
Reported by Masateru OKAMOTO at [Bug #5819].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:12 AM Bug #5776 (Assigned): irb のトップレベルで定義したメソッドが public になる
1.9.3-p0でも再現することを確認しました。 ayumin (Ayumu AIZAWA)
12:05 AM Bug #5696 (Closed): rexml BaseParser uses instance_eval unnecessarily on listener add
This issue was solved with changeset r34202.
Charles, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/rexml/parsers/baseparser.rb: rexml BaseParser uses
ins...
ayumin (Ayumu AIZAWA)

01/03/2012

03:21 PM Revision bd895ab1 (git): * lib/rexml/parsers/baseparser.rb: use private instead of _xxx
method name. This is Ruby code not Python code.
refs #5696
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
03:05 PM Revision b53d9940 (git): * 2012-01-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:05 PM Revision 5eac5644 (git): * lib/rexml/parsers/baseparser.rb: rexml BaseParser uses
instance_eval unnecessarily on listener add.
patch from Charles Nutter. [Bug #5696] [ruby-core:41437]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ayumin (Ayumu AIZAWA)
11:48 AM Revision c5335bd1 (git): * README: add comment for Git user. patch from Arun Agrawal.
* README.ja: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ayumin (Ayumu AIZAWA)
10:16 AM Revision a48e727f (git): merge revision(s) 33343:
* test/rexml/test_sax.rb: add require rexml/document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ayumin (Ayumu AIZAWA)
10:12 AM Revision 31cf6801 (git): merge revision(s) %s: 33757:33758
* include/ruby/defines.h (FLUSH_REGISTER_WINDOWS): move sparc asm code
to a separete file sparc.c for preventing inlining optimization.
Patched by Jurij Smakov. [Bug #5244] [ruby-core:40685]
* sparc.c (rb_spar...
kosaki (Motohiro KOSAKI)
07:39 AM Feature #5826: When the RUBY API_VERSION will be increased?
Ruby 2.0 should be new and different and not care about 1.9.x
So I think +1 here from me, because it feels consistent with the version.
But matz will decide how he wants to have it. :)
shevegen (Robert A. Heiler)
07:38 AM Feature #5825: Sweet instance var assignment in the object initializer
Is this even possible with the Parser?
It would eliminate a few lines of code.
Also, I am not sure if this violates the principle of least matz surprise.
If I initially see
~~~ruby
def initialize(@name, @age, @location)
~~~...
shevegen (Robert A. Heiler)
01:54 AM Feature #5825: Sweet instance var assignment in the object initializer
Alexey Muranov wrote:
> +1, why only initialize?
It's just too common case. It could work for other methods as well.
goshakkk (Gosha Arinich)
07:01 AM Revision 966d1f89 (git): * thread.c: changed documentation for "thread-local" variables.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
06:59 AM Bug #5833: [mingw] trivial patch for thread.c build warning
> Below is a trivial patch that fixes the warning on MinGW. The patch successfully builds and tests with MinGW and Windows SDK on Win7 32bit. When building on Arch Linux, the patched build gives the same `make test && make test-all` resu... kosaki (Motohiro KOSAKI)
04:42 AM Bug #5833 (Closed): [mingw] trivial patch for thread.c build warning
When building with MinGW (not Windows SDK) on Win7 I get the following:
compiling ../../../../Users/Jon/Documents/RubyDev/ruby-git/thread.c
../../../../Users/Jon/Documents/RubyDev/ruby-git/thread.c: In function 'rb_fd_rcopy':
../../...
jonforums (Jon Forums)
06:53 AM Revision 9ecd19a7 (git): * process.c: Fix typo. patch from Aviv Ben-Yosef.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
04:59 AM Feature #5809: Benchmark#bm: remove the label_width parameter
Yui NARUSE wrote:
> If your suggestion is to provide easy way to pretty enough benchmark
method, how about following:

Nice! That could be a new and concise way to do benchmarks (although it
might be less flexible).

My su...
Eregon (Benoit Daloze)
04:54 AM Revision 0239882c (git): merge revision(s) 34108:
* ext/readline/readline.c (Init_readline): libedit check
rl_getc_function only when rl_initialize() is called, and
using_history() call rl_initialize(). This assignment should be
placed before using_history(...
kosaki (Motohiro KOSAKI)
04:48 AM Revision 379a35b8 (git): merge revision(s) 33566:
* tool/rbinstall.rb (install_recursive, bin-comm): split mere
string not path name. [ruby-core:40462] [Bug #5492]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
04:45 AM Revision c38dec6d (git): * tool/merger.rb: allow r0123 style revision number.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kosaki (Motohiro KOSAKI)
04:42 AM Revision d838b0d0 (git): merge revision(s) 33556:
* win32/Makefile.sub (CONFIG_H): have stdint.h if VC2010.
[Bug #5243]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:41 AM Revision 0b217230 (git): merge revision(s) 34190:
* tool/merger.rb (#version_up): version.h date should be Japanese
locale date.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:39 AM Revision f9042329 (git): * 2012-01-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:39 AM Revision b60a01db (git): * tool/merger.rb (#version_up): version.h date should be Japanese
locale date.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
02:37 AM Revision bade2a2d (git): merge revision(s) 33577:
* configure.in: check -fno-omit-frame-pointer acceptance and usage
under MinGW. [ruby-core:39957] [Bug #5407]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
01:22 AM Revision b3b56503 (git): * 2012-01-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:22 AM Revision 398a718d (git): merge revision(s) 33472:
------------------------------------------------------------------------
r33472 | xibbar | 2011-10-17 13:33:57 -0400 (Mon, 17 Oct 2011) | 4 lines
Tue Oct 18 02:24:19 2011 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
* lib/cgi/core.rb (Que...
kosaki (Motohiro KOSAKI)
01:05 AM Revision 275e7841 (git): * 2012-01-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:05 AM Revision 7444bbac (git): merge revision(s) 33532:
* include/ruby/ruby.h (SIZE_MAX): define SIZE_MAX if not defined.
patched by The Written Word Inc. [ruby-core:40422] [Bug #5489]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34185 b2dd03c8-39d4-4d8f-98ff-82...
kosaki (Motohiro KOSAKI)
01:00 AM Revision b588fc2f (git): * 2012-01-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:00 AM Revision 6bdde0e5 (git): merge revision(s) 33468:
* ext/pty/pty.c (pty_check): should return nil until the child
terminates or stops. [ruby-dev:44600] [Bug #2642]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
12:27 AM Revision 9e736114 (git): * 2012-01-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:27 AM Revision d0ad683b (git): merge revision(s) 33030:
* thread.c (update_coverage): skip coverage count up if the current
line is out of the way. rb_sourceline() is unreliable when source
code is big. [ruby-dev:44413]
* test/coverage/test_coverage.rb: add a te...
kosaki (Motohiro KOSAKI)
12:09 AM Revision 60f63dc3 (git): * 2012-01-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:09 AM Revision 8d82657a (git): merge revision(s) 33693:
* thread_pthread.c (gvl_yield): don't prevent concurrent sched_yield().
[Bug #5130] [ruby-core:38647]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)

01/02/2012

11:55 PM Revision 27fd7ee4 (git): * 2012-01-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:55 PM Revision 496e9a7b (git): merge revision(s) 33630:
* win32/configure.bat: disable delayed expansion of enironment variable.
[Bug #5517] [ruby-core:40531]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki (Motohiro KOSAKI)
05:41 PM Feature #5825: Sweet instance var assignment in the object initializer
I think most of the time you need to parse or check your arguments, in which case this syntax would not be practical.
Otherwise, you could use Struct to avoid the duplication:
~~~ruby
class Me < Struct.new(:name, :age, :location)
e...
Eregon (Benoit Daloze)
08:40 AM Feature #5825: Sweet instance var assignment in the object initializer
+1, why only initialize? alexeymuranov (Alexey Muranov)
03:45 AM Feature #5825: Sweet instance var assignment in the object initializer
+1. Common use case. andhapp (Anuj Dutta)
04:39 PM Bug #5832 (Closed): 意図しないブロック渡しが行われる
=begin
辻本です。
invoke_block_from_cの呼び出しの際に渡していたブロックが
VM loopから続けて呼び出される別のメソッドにも渡されてしまうケースがあります。
$ ./ruby -ve "
require 'pp'
require 'pathname'
class <<File
alias realpath_orig realpath
def realpath(*args)
y...
ktsj (Kazuki Tsujimoto)
01:14 PM Revision c093401b (git): * tool/file2lastrev.rb (VCS::detect): Add support for Subversion
1.7 which adopted a whole new working directory structure.
* tool/file2lastrev.rb (VCS::detect): Simply use .each instead of
.sort.reverse_each which looks too arbitrary. If you want SVN
to be tried first, then you just have to reg...
Akinori MUSHA
11:54 AM Revision 432a992a (git): * lib/securerandom.rb (random_bytes): use IO#read instead of
IO#readpartial to make the intent more clear.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:28 AM Revision 519187a2 (git): * vm.c: fix comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
06:29 AM Revision e98e56e6 (git): * test/ruby/test_object.rb (test_send_with_block): add a normal case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
06:25 AM Revision 66f9d5fe (git): * test/ruby/test_object.rb (test_send_with_block): moved from
bootstraptest/test_flow.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
06:13 AM Revision 7d9fe82b (git): * lib/test/unit/parallel.rb: use pack("m0") instead of
pack("m").gsub("\n","").
* lib/test/unit.rb (Test::Unit::Runner::Worker#run): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
06:08 AM Revision 38cee6b4 (git): * lib/test/unit.rb (Test::Unit::Runner::Worker#run): use
File.basename with suffix instead of gsub.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
05:56 AM Revision 3c969a7c (git): * 2012-01-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:56 AM Revision bb28d902 (git): * lib/test/unit.rb (Test::Unit::Runner#_run_parallel): find may
return nil and nil can not dup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
03:55 AM Bug #5777: class_eval/module_eval works differently when given a string than when given a block in 1.9.2 and 1.9.3
As per the documentation, andhapp (Anuj Dutta)
02:58 AM Bug #5831 (Rejected): URI.extract not properly extracting URIs with trailing slash followed by single quote
I have example failing test cases here:
https://gist.github.com/1547904
Here is my use case. I am looking to extract URIs from emails. It has been recommended to use Nokogiri and that is just fine if the email is in HTML. But if th...
bcardarella (Brian Cardarella)

01/01/2012

10:38 PM Bug #5559: Intermittent Seg fault when using net-ssh
Dave Ungerer wrote:
> There's some chance that this is the same issue as:
> ...
I do not know if just reinstalling ruby will be enough. I had seg faults with ruby 1.9.3p0, and i could fix it by following
http://www.christopherirish.co...
alexeymuranov (Alexey Muranov)
08:30 AM Bug #5559: Intermittent Seg fault when using net-ssh
There's some chance that this is the same issue as:
http://bugs.ruby-lang.org/issues/4373
In which case it's not a Ruby issue, but a Macports issue. Follow these steps:
rvm remove 1.9.3
manually delete ~/.rvm/gems/ruby-1.9.3* (not...
daveungerer (Dave Ungerer)
12:26 PM Bug #5637 (Closed): warnings of shellescape
This issue was solved with changeset r34166.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/shellwords.rb (Shellwords#shellescape): Drop the //n fl...
knu (Akinori MUSHA)
06:59 AM Bug #5830: "".byteslice(0) != "".byteslice(0, 0)
On Dec 31, 2011, at 3:32 AM, Brian Ford wrote:
> ----------------------------------------
> Bug #5830: "".byteslice(0) !
Anonymous
03:26 AM Revision 1cf47c4c (git): * 2012-01-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:26 AM Revision d367b1b9 (git): * lib/shellwords.rb (Shellwords#shellescape): Drop the //n flag
that only causes warnings with no real effect. [Bug #5637]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
02:35 AM Feature #2340: Removing YAML/Syck
The error is not in our YAML file. We are using the same code to dump our yaml file with Ruby 1.9.3 as we used to use with Ruby 1.8.6
The problem is that psych does not deal well with recursive data structures - specially when they ar...
zdavatz (Zeno Davatz)

12/31/2011

11:48 PM Feature #5820: Merge Onigmo to Ruby 2.0
POSIX 文字クラスを ASCII に限定しないオプションの追加と、大文字小文字問題の修正パッチを作成しました。
特に問題なければ、Onigmo本体に反映したいと思います。
k_takata (Ken Takata)
09:22 PM Feature #2340: Removing YAML/Syck
Zeno Davatz wrote:
> Please take good care when you introduce a new default YAML engine to Ruby 1.9.3 so people who have been using syck for 10 years will not be waked by an avalanche of changes. Currently using Psych as a drop-in repla...
alexeymuranov (Alexey Muranov)
06:31 PM Feature #2340: Removing YAML/Syck
Please take good care when you introduce a new default YAML engine to Ruby 1.9.3 so people who have been using syck for 10 years will not be waked by an avalanche of changes. Currently using Psych as a drop-in replacement for syck will _... zdavatz (Zeno Davatz)
05:55 PM Bug #5830 (Rejected): "".byteslice(0) != "".byteslice(0, 0)
It's spec.
It follows String#slice's behavior; it returns "" for str.slice(str.length, 0).
irb(main):005:0> ["a".slice(1), "a".slice(1, 0)]
=> [nil, ""]
naruse (Yui NARUSE)
05:32 PM Bug #5830 (Rejected): "".byteslice(0) != "".byteslice(0, 0)
Is this a bug?
See https://github.com/ruby/ruby/blob/069f7ec90a6ef/string.c#L4091 vs https://github.com/ruby/ruby/blob/069f7ec90a6ef/string.c#L4035-4036
Thanks,
Brian
brixen (Brian Shirai)
03:26 PM Feature #5825: Sweet instance var assignment in the object initializer
I liked this 1.8-specific trick:
~~~ruby
define_method(:intialize){|@foo, @bar|}
~~~
but it was abondoned for any reason.
shyouhei (Shyouhei Urabe)
02:25 AM Feature #5825: Sweet instance var assignment in the object initializer
+1 - too common use case rosenfeld (Rodrigo Rosenfeld Rosas)
02:20 AM Feature #5825: Sweet instance var assignment in the object initializer
Would be nice, and should be able to coexist with normal parameters:
~~~ruby
def foo(bar, @baz, quux = @moomin)

end
~~~
And so on. What about splat- and block arguments? It gets a little ugly:
~~~ruby
def foo(bar, *@baz, ...
rue (Eero Saynatkari)
02:32 PM Bug #5829: /dl/test_cptr.rb Segmentation fault on Ruby 1.9.3 P0
mkmf log of dl raylinn@gmail.com (ray linn)
02:31 PM Bug #5829 (Closed): /dl/test_cptr.rb Segmentation fault on Ruby 1.9.3 P0
Hi Sir,
I compiled Ruby 1.9.3 P0 with MinGW64 (GCC 4.6.1) under Windows 64, and when running test-all ,the Segmentation fault occurs again on test dl:
.........C:/msys/1.0/home/beta/ruby-1.9.3-p0/test/dl/test_cptr.rb:84: [BUG] Segm...
raylinn@gmail.com (ray linn)
10:06 AM Bug #5828 (Closed): Non anonymous classes can't be frozen, cloned and then inspected
=begin
If you assign a class to a constant (that is, it isn't anonymous), and you freeze it and then clone it, you can't call to_s on it.
MyClass = Class.new ; MyClass.freeze.clone.to_s
RuntimeError: can't modify frozen Clas...
agrimm (Andrew Grimm)
08:04 AM Revision 069f7ec9 (git): Fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
03:46 AM Bug #5390: YAML.load が、正しく解析できないエンコーディングの文字列も受け付けてしまう

YAML::ENGINE.yamler が syck のみ再現します。
ruby1.9.2 をお使いの場合は require 'yaml' する前に require 'psych' するか YAML::ENGINE.yamler = 'psych' すると以下のようにPsych::SyntaxErrorとなります。
---- ruby 2.0.0dev
$ cat bug_5390.rb
# coding: Shift_JIS
require...
ayumin (Ayumu AIZAWA)
01:23 AM Feature #5361: Lice?
$B$"$$$6$o$G$9!#(B

byteslice$B$H$$$&%a%=%C%IL>$@$H(Bbytes lice$B$HFI$a$F$7$^$C$F%$%1$F$J$$$H$$$&$3$H$N$h$&$G$9$,!"(B
alias$B$G(Bbyte_slice$B$H$$$&%a%=%C%I$rMQ0U$9$k$N$O$$$+$,$G$7$g$&$+!#(B
$BF1$8$h$&$JM}M3$GL>A0$,JQ$...
ayumin (Ayumu AIZAWA)
01:06 AM Feature #5361: Lice?
I'm proposing patch on [ruby-dev:45068]
ayumin (Ayumu AIZAWA)
12:23 AM Feature #5826 (Closed): When the RUBY API_VERSION will be increased?
I think RUBY_API_VERSION should be 2.0.0 for Ruby2.0.0.
In other hand, some people might think it should stay 1.9.1 becouse Ruby2.0.0 will have backward compatibility with 1.9.
ayumin (Ayumu AIZAWA)

12/30/2011

11:39 PM Feature #5820: Merge Onigmo to Ruby 2.0
すみません。大文字小文字の問題は、Onigmo 5.11.4でcase-insensitiveなBM法を
導入したときに混入したバグと判明しました。(どう修正すべきかまだ分かっていませんが。)
これが修正できれば、/a で POSIX 文字クラスを ASCII に限定しないオプションと合わせることで、
非互換点は解決できそうです。
k_takata (Ken Takata)
11:03 PM Feature #5820: Merge Onigmo to Ruby 2.0
Yui NARUSE wrote:
> この状況は鬼雲でも変わりませんから、そのような形態に移行するのは不可能なんじゃないかと思います。
同意見です。エンコーディング周りの変更もそう簡単にはマージできそうにないですし。
> ...
Rubyのビルドすらしたことのない人がコミッタになるのは互いの不幸の元ではないかと。
> 既定路線では 2.0 では非互換を導入しないという予定ですので、変更されない場合は 2.0 ではマージできない、
> ...
なる...
k_takata (Ken Takata)
07:41 PM Feature #5820: Merge Onigmo to Ruby 2.0
Motohiro KOSAKI wrote:
> ただ将来的には libonigmo.so を動的にリンクするだけで済むような形態に移行できたらなあと
> ...
Ruby は Ruby 文法挙動オプション(コンパイルオプション)を指定した鬼車を用いているので、
普通のバイナリではたとえソースが一致していてもダメです。
この状況は鬼雲でも変わりませんから、そのような形態に移行するのは不可能なんじゃないかと思います。
> k-takataさんと
> ......
naruse (Yui NARUSE)
03:37 PM Feature #5820: Merge Onigmo to Ruby 2.0
POSIXブラケットは、Perlでは/a指定時にはASCII範囲に限定されるので、Onigmoではそれに合わせてあります。
個人的にはあまり変更したくないのですが、変更すべきでしょうか。
変更するとしたら、挙動オプションを1つ追加して、Ruby文法の場合はそれを有効にすることになると思いますが。
残りの問題は未調査です。
k_takata (Ken Takata)
11:07 PM Feature #5825: Sweet instance var assignment in the object initializer
I like it. No stupid assigns. lisovskyvlad (Vlad Lisosvky)
10:49 PM Feature #5825 (Assigned): Sweet instance var assignment in the object initializer
I'm very excited about this feature in CoffeeScript, and think it might be a nice-to-have thing in Ruby 2.0.
That's how I think it would look like:
~~~ruby
class Me
def initialize(@name, @age, @location); end
end
~~~
So we...
goshakkk (Gosha Arinich)
10:25 PM Revision e4513cbe (git): * 2011-12-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:25 PM Revision 82ab1e18 (git): * thread.c (rb_barrier_waiting): save the number of waiting threads
in RBASIC()->flags. [ruby-dev:45002] [Bug #5768]
* thread.c (rb_barrier_wait): increment and decrement around
rb_mutex_lock, and use rb_barrier_waiting().
* thread.c (rb_barrier_release): use rb_barrier_waiting().
* thread.c (rb_bar...
naruse (Yui NARUSE)
10:25 PM Revision 035e4949 (git): * vm.c (vm_exec): add guard to prevent optimization for LLVM clang.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:51 PM Bug #5824: Interpreter Crashes when using OmniAuth
To setup Google, you'll need to go to the following URL:
https://code.google.com/apis/console
To setup Twitter, you'll need to go to the following URL:
http://developer.twitter.com
To setup FaceBook, you'll need to fo to the followin...
Anonymous
08:13 PM Bug #5824 (Third Party's Issue): Interpreter Crashes when using OmniAuth
Ruby interpreter is crashing when using the OmniAuth with Google, Twitter, and Facebook. This can be reproduced with Ruby 1.9.3p6. However, things work as expected using Ruby 1.9.2p312. I'm attaching a sample Rails project as well as ... Anonymous
08:21 PM Bug #5401: Ruby 1.9.3 interpreter crash
Kenta Murata wrote:
> I cannot reproduce this issue because therubyracer isn't able to install on my environment, Mac OS X 10.7 with Xcode 4.1.
> ...
Kenta, I was able to install the therubyracer successfully using Xcode 4.2 when I log...
Anonymous
08:15 PM Bug #5401: Ruby 1.9.3 interpreter crash
Shota Fukumori wrote:
> are you using openssl which bundled with OSX? if not, please tell what (like: installed by macports, homebrew, etc)
I'm using OpenSSL installed from MacPorts.
Anonymous
05:18 PM Bug #5355: Sync_mにBug #5195やBug #5258と同様のバグ
スレッドまわりは振ってくれていいですよ。ほかに誰も見てくれなさそうだし。ただあからさまに優先度低そうなやつは暇なときかリリース近いときしか作業できませぬ
kosaki (Motohiro KOSAKI)
05:10 PM Bug #5355: Sync_mにBug #5195やBug #5258と同様のバグ
#5258 とおなじく小崎さんにAssignしますよ ayumin (Ayumu AIZAWA)
05:07 PM Bug #5125 (Closed): obj.send() documentation issue
This issue was solved with changeset r34161.
Chris, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* vm_eval.c (rb_f_send): fix [Bug #5125] [ruby-core:38633]
ayumin (Ayumu AIZAWA)
08:07 AM Revision 85bc3bdb (git): * vm_eval.c (rb_f_send): fix [Bug #5125] [ruby-core:38633]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ayumin (Ayumu AIZAWA)
06:04 AM Revision b906a46e (git): * lib/matrix.rb (symmetric?): Trivial optimization
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:56 AM Revision cae12e5d (git): * 2011-12-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:56 AM Revision 52a70d99 (git): * vm_core.h: Fix comment about arg_opts of iseq and some typos
* doc/re.rdoc: Rdoc small fixes
* iseq.c: Fix comment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
05:55 AM Revision f965d513 (git): * 2011-12-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:55 AM Revision 6c38e611 (git): * vm_core.h: Fix comment about arg_opts of iseq and some typos
* doc/re.rdoc: Rdoc small fixes
* iseq.c: Fix comment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
 

Also available in: Atom