Project

General

Profile

Activity

From 10/29/2009 to 11/04/2009

11/04/2009

11:18 PM Bug #1332: Reading file on Windows is 500x slower then with previous Ruby version
=begin
> Currently, we has implemented the newline conversion as a
> transcode converter, just like encoding conversion.
> But the design of transcode is too general to use it such
> a simple operation, as our finding.
> We want to ...
jonforums (Jon Forums)
11:04 AM Bug #1332: Reading file on Windows is 500x slower then with previous Ruby version
=begin
Hello,

In message "[ruby-core:26505] [Bug #1332] Reading file on Windows is 500x slower then with previous Ruby version"
on Nov.04,2009 04:50:49, <redmine@ruby-lang.org> wrote:
> I believe that it is doing a string conve...
usa (Usaku NAKAMURA)
04:50 AM Bug #1332: Reading file on Windows is 500x slower then with previous Ruby version
I believe this is related to other issues regarding reading files in non-binary mode being slow in 1.9

>> a = File.open('l', 'w'); 10000000.times { a.write "abc\n" }; a.close
>> Benchmark.measure { a = File.open('l', 'r'); a.rea...
rogerdpack (Roger Pack)
10:52 PM Bug #1810 (Assigned): Switching into the specified irb subsession (complains a TypeError)
=begin
Currently following in my environment.

% ruby19 -v
ruby 1.9.2dev (2009-11-04 trunk 25649) [x86_64-freebsd8.0]

irb(main):011:0> fg 0
(eval):2: warning: method redefined; discarding old irb_fg
(eval):2: warning: pre...
naruse (Yui NARUSE)
10:50 PM Bug #1843 (Assigned): Symbol#inspect raises exception
=begin
I agree with shyouhei.
=end
naruse (Yui NARUSE)
10:47 PM Revision 746eb4a4 (git): * parse.y (BEGIN): now local_push are local_pop are necessary in
ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:46 PM Bug #1853 (Rejected): Cannot make constants using upper-case extended characters?
=begin
This is spec.
=end
naruse (Yui NARUSE)
10:38 PM Bug #1405 (Rejected): File::Stat have no marshal_dump/marshal_load
=begin
Marshal can't dump following objects:
* anonymous Class/Module.
* objects which related to its system (ex: Dir, File::Stat, IO, File, Socket and so on)
* an instance of MatchData, Data, Method, UnboundMethod, Proc, Thread, ...
naruse (Yui NARUSE)
10:34 PM Bug #1214 (Rejected): Build issues
=begin
rejected because of no feedback.
=end
naruse (Yui NARUSE)
10:18 PM Bug #2333: __FILE__ macro should have unicode encoding
=begin
Because it is not a bug, current behavior is intended in this point,
even if a feature requst may accept.

This is to ease managing tickets which are absolutely BUG.
=end
naruse (Yui NARUSE)
10:05 PM Bug #2333: __FILE__ macro should have unicode encoding
=begin
So why is it rejected if it is valid point? Especially if I am using Ruby from win32-unicode-test branch and considering Matz words at ruby-core:20110
=end
vo.x (Vit Ondruch)
09:44 PM Bug #2333 (Rejected): __FILE__ macro should have unicode encoding
=begin
__FILE__ has filesystem encoding, so locale codepage is intended.
When Ruby's Unicode support is well done,
filesystem encoding come to be UTF-8 and __FILL__ also becomes UTF-8.
=end
naruse (Yui NARUSE)
09:40 PM Bug #2333 (Rejected): __FILE__ macro should have unicode encoding
=begin
On my Windows, the __FILE__ macro is in local codepage. However, it should be in some encoding which could handle international characters, e.g. UTF-8.
=end
vo.x (Vit Ondruch)
09:47 PM Bug #2320 (Closed): patch to trunk .document to include more readme's etc.
=begin
This issue was solved with changeset r25649.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
02:16 AM Bug #2320: patch to trunk .document to include more readme's etc.
=begin
Sorry here's the patch.
Note that rdoc doesn't actually parse all files until a patch is applied [1].
Thanks!
-r
[1] http://rubyforge.org/tracker/index.php?func=detail&aid=27388&group_id=627&atid=2474
=end
rogerdpack (Roger Pack)
09:17 PM Bug #2332 (Closed): Ruby doesn't run properly from unicode folder on windows
=begin
C:\>type test.rb
puts "hello"

C:\>Ruby\bin\ruby.exe test.rb
hello

C:\>раз\Ruby\bin\ruby.exe test.rb
Error loading gem paths on load path in gem_prelude
code converter not found (US-ASCII to UTF-8)
<internal:ge...
vo.x (Vit Ondruch)
09:01 PM Feature #2328: malloc_limit の肥大化を防ぎたい
=begin
> 私は思いつきません。ベンチマーク(こんなケースでこんなに改善
> とか、こんなケースでは悪くならないとか)があると採用しやすい
> と思います。

ありがとうございます。改善される例とその実行結果を添付しました。
悪くならないケースはそれらしいものが思いつきませんでした。すみません。

malloc/realloc の後に、1MB の文字列を 2000 個生成しています。
リネームの都合上 miniruby ですが、恐...
wanabe (_ wanabe)
09:06 AM Feature #2328: malloc_limit の肥大化を防ぎたい
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39632] [Feature #2328] malloc_limit の肥大化を防ぎたい"
on Wed, 4 Nov 2009 08:28:12 +0900, _ wanabe <redmine@ruby-lang.org> writes:

|何らかの原因で malloc_limit が肥大化してしまうと、GC のタイミングが遅れて
|Bug #13...
matz (Yukihiro Matsumoto)
08:28 AM Feature #2328 (Rejected): malloc_limit の肥大化を防ぎたい
=begin
何らかの原因で malloc_limit が肥大化してしまうと、GC のタイミングが遅れて
Bug #1325 のように異常なほどのスワップや NoMemoryError を引き起こしかねません。
改善案としてパッチを二つ書きました。よろしければご検討ください。
また、このパッチが問題になるケースがあれば教えていただけるとありがたいです。

1. vm_xrealloc() での malloc_increase のチェックおよび増加量...
wanabe (_ wanabe)
07:01 PM Revision d778abf5 (git): * 2009-11-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:01 PM Revision c5b4aeda (git): Decrease counts of tests which spend so long time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:36 PM Bug #2330: Non systematic segmentation fault with autoload rubyspec
=begin
Hi,

At Wed, 4 Nov 2009 14:36:14 +0900,
Marc-Andre Lafortune wrote in [ruby-core:26523]:
> Starting from r25601, the following rubyspec will crash about half of the time (just repeat a couple of times):
>
> $ mspec -t ruby...
nobu (Nobuyoshi Nakada)
02:36 PM Bug #2330 (Closed): Non systematic segmentation fault with autoload rubyspec
=begin
Starting from r25601, the following rubyspec will crash about half of the time (just repeat a couple of times):

$ mspec -t rubydev core/kernel/autoload_spec.rb
ruby 1.9.2dev (2009-11-04 trunk 25641) [x86_64-darwin10.0.0]
...
marcandre (Marc-Andre Lafortune)
01:42 PM Revision 88175d17 (git): Add rdoc about objects can't Marshal#dump. [ruby-core:23314]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:40 PM Revision 716c2074 (git): * .document: add some README files to default rdoc's of trunk.
patched by Roger Pack [ruby-core:26459]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:02 PM Revision 9c4ac94a (git): fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:12 AM Revision ebd3a0e8 (git): * ChangeLog: entry for r25640.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:06 AM Revision 255578c7 (git): * include/ruby/st.h (SIZEOF_ST_INDEX_T): moved from st.c for
Init_RandomSeed().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:54 AM Revision 632aa7a0 (git): * include/ruby/ruby.h (NUM2CHR): prefix __extension__ for
braced-groups within expressions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)
06:46 AM Revision ab4e0039 (git): * ruby.c (set_{internal,external}_encoding_once): fixed typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:49 AM Revision 559e573c (git): * proc.c (mnew): Fix scope issue [ruby-core:26069]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
03:29 AM Feature #2323: "Z".."Z".succが空
=begin
成瀬です。

Yukihiro Matsumoto wrote:
> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:39622] Re: [Bug #2323] "Z".."Z".succが空"
> on Tue, 3 Nov 2009 22:22:58 +0900, Hiro Asari <asari.ruby@gmail.com> writes:
>
>
> |個人的には"Z".s...
naruse (Yui NARUSE)
12:35 AM Feature #2323: "Z".."Z".succが空
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39622] Re: [Bug #2323] "Z".."Z".succが空"
on Tue, 3 Nov 2009 22:22:58 +0900, Hiro Asari <asari.ruby@gmail.com> writes:


|個人的には"Z".succが"AA"であるならば、二つ以上の要素を持つ"Z"から始まるRangeは"AA"を含むべきだと...
matz (Yukihiro Matsumoto)
02:28 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Hi,

Since my refactoring patch (from issue #2315) was accepted in r25604,
I am attaching a new "ruby_bind_stack_r25604.patch" file accordingly.

Thanks for your consideration.

=end
sunaku (Suraj Kurapati)
12:17 AM Bug #2327 (Closed): String#upto で beg が非英数の時破壊的変更がその後に影響する
=begin
This issue was solved with changeset r25632.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
12:02 AM Bug #2327 (Closed): String#upto で beg が非英数の時破壊的変更がその後に影響する
=begin
String の場合、upto のブロックパラメータを破壊的に変更することが出来ますが、
非英数の際にこれがその後の挙動に影響を与えることがあります。

irb(main):001:0> "1".upto("9"){|x|print x;x.replace("9")}
123456789=> "1"
irb(main):002:0> "a".upto("z"){|x|print x;x.replace("z")}
abcdefgh...
naruse (Yui NARUSE)
12:12 AM Feature #2324 (Open): Dir instance methods for relative path
おおう、先にduplicatedをつけてしまった
naruse (Yui NARUSE)
12:12 AM Feature #2324 (Closed): Dir instance methods for relative path
重複なので閉じます
naruse (Yui NARUSE)
12:12 AM Feature #2325 (Closed): Dir instance methods for relative path
重複なので閉じます
naruse (Yui NARUSE)

11/03/2009

11:50 PM Revision f41eaf84 (git): * random.c (rb_hash_start): moved from string.c.
* random.c (Init_RandomSeed2): register global address before set.
* random.c (Init_RandomSeed): initialize hashseed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:26 PM Revision 252168ed (git): * dir.c (dir_check): moved other checks from GetDIR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:21 PM Revision 22ec8c66 (git): * dir.c (GetDIR): fixed a variable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:19 PM Revision fec2ed5f (git): * cont.c (rb_fiber_start): fixed unconditional test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:19 PM Feature #2325: Dir instance methods for relative path
成瀬です。
Yukihiro Matsumoto wrote:
> まつもと ゆきひろです
> ...
そもそも、根本的に `openat` の API って実装の都合が出過ぎていませんかね。
C 言語の関数ならばともかく、Ruby の API としては、
もうちょっとユースケースベースの API にしないと使われない気がします。
(使うべき人が使う API でいいやと割り切るという考えもあるでしょうが)
例に出されているテンポラリディレクトリの削...
naruse (Yui NARUSE)
09:10 PM Feature #2325 (Closed): Dir instance methods for relative path
まつもと ゆきひろです
In message "Re: [ruby-dev:39620] Re: [Feature:trunk] Dir instance methods for relative path"
on Tue, 3 Nov 2009 12:57:58 +0900, KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> writes:
> 単純な疑問として、最初に思ったのは自分が相対パスでファ...
matz (Yukihiro Matsumoto)
10:23 PM Feature #2323: "Z".."Z".succが空
=begin
浅里です。

2009/11/2 Nobuyoshi Nakada <nobu@ruby-lang.org>:
> なかだです。
>
> At Mon, 2 Nov 2009 16:19:40 +0900,
> Hiro Asari wrote in [ruby-dev:39604]:
>> surfboard:~$ ruby1.9 -v; ruby1.9 -e 'p ("Z".."Z".succ); p ("Z".."Z".succ).t...
hasari (Hiro Asari)
09:10 PM Feature #2324: Dir instance methods for relative path
なかだです。
At Tue, 3 Nov 2009 00:51:18 +0900,
KOSAKI Motohiro wrote in [ruby-dev:39611]:
> でも、上記メールから
> ...
`dir`は、`Dir`かディレクトリに対応する`File`のインスタンスということで
すか? それも可能だとは思いますが、`Dir#to_path`も定義されるように
なったので区別が難しくなったんじゃないでしょうか。
--
--- 僕の...
nobu (Nobuyoshi Nakada)
08:28 PM Revision 02d55ac9 (git): * test/dl/test_cptr.rb (test_to_ptr*): testing DL::CPtr#to_ptr
* ext/dl/cptr.c (rb_dlptr_free_set, rb_dlptr_free_get,
rb_dlptr_s_to_ptr): adding documentation, fixing indentation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
05:46 PM Revision b9e0294e (git): fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:12 PM Revision c30e32d0 (git): * ext/dl/cptr.c (rb_dlptr_eql, rb_dlptr_cmp): DL::CPtr#== and DL::CPtr#<=>
should not raise an exception when compared to a different object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
03:16 PM Revision 89f1c60c (git): * 2009-11-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:16 PM Revision a1fc9cd5 (git): * string.c (rb_str_upto): make next object before yield its block.
fix: can modify original begin string of String#upto.
[ruby-dev:26384] [ruby-dev:39626] #2327
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

11/02/2009

06:22 PM Feature #2324: Dir instance methods for relative path
まつもと ゆきひろです
In message "Re: [ruby-dev:39606] [Feature:trunk] Dir instance methods for relative path"
on Mon, 2 Nov 2009 17:48:13 +0900, Nobuyoshi Nakada <nobu@ruby-lang.org> writes:
> http://www.ipa.go.jp/security/fy20/reports...
matz (Yukihiro Matsumoto)
05:48 PM Feature #2324 (Assigned): Dir instance methods for relative path
なかだです。
http://www.ipa.go.jp/security/fy20/reports/tech1-tg/2_05.html を
みて思い出したんですが、相対パスを使う`Dir`のインスタンスメソッド
はどうでしょうか。実装はmvmブランチにあります。
~~~
$ ./ruby -v -e 'p Dir.open("ext"){|d|d.open("extmk.rb"){|f|f.gets}}'
ruby 1.9.1 (2008-12-2...
nobu (Nobuyoshi Nakada)
04:19 PM Feature #2323 (Closed): "Z".."Z".succが空
=begin
surfboard:~$ ruby1.9 -v; ruby1.9 -e 'p ("Z".."Z".succ); p ("Z".."Z".succ).to_a'
ruby 1.9.2dev (2009-11-02 trunk 25625) [x86_64-darwin10.0.0]
"Z".."AA"
[]

"Z".succではなくてもうちょっと”離れた”ヤツをRangeの終わりとして指定すると"AA"はしっかりと入っています。
...
hasari (Hiro Asari)
02:54 PM Bug #2313: Incomplete encoding conversion?
Hello Adam,
On 2009/11/01 10:35, Adam Salter wrote:
> Issue #2313 has been updated by Adam Salter.
> ...
No, there should be an `Encoding::Converter` from UTF-8 to ASCII-8BIT (or
you should be able to create one). The underlying co...
duerst (Martin Dürst)
11:40 AM Bug #1978 (Assigned): fixed crash in lib/logger.rb from dependency on svn keywork expansion
=begin

=end
naruse (Yui NARUSE)
11:35 AM Bug #1991 (Rejected): ruby should use twolevel namespace on OS X
=begin

=end
naruse (Yui NARUSE)
11:27 AM Bug #2188 (Closed): patch to show the rdoc's for Registry.rb
=begin
This issue was solved with changeset r25626.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
11:16 AM Bug #2263 (Closed): typo in man/ruby.1
=begin
fixed by r25486
=end
naruse (Yui NARUSE)
11:14 AM Bug #2317 (Rejected): ruby/config.h header file not found
=begin
As Red Wind said it is intended.
You should add -I /usr/incude/ruby-1.9.1/{architecture}-linux/ruby/config.h or something to Makefile.

You can use mkmf.rb for ease.
http://www.ruby-doc.org/stdlib/libdoc/mkmf/rdoc/index.h...
naruse (Yui NARUSE)
11:06 AM Feature #2306 (Rejected): split!
=begin

=end
naruse (Yui NARUSE)
11:05 AM Bug #2320 (Feedback): patch to trunk .document to include more readme's etc.
=begin

=end
naruse (Yui NARUSE)
10:59 AM Bug #2319: gethostbyname fails in windows
=begin
FYI, this problem only occurs with mingw version.
=end
usa (Usaku NAKAMURA)
09:35 AM Revision 2c2fb9c5 (git): * cont.c (fiber_free): don't free unallocated local_storage. see #1325.
* cont.c (cont_init): clear local_storage not to use current thread's.
* cont.c (fiber_t_alloc, root_fiber_alloc): link itself always for
a case that fiber_link_remove() is called before fiber_link_join().
* cont.c (fiber_init): clea...
wanabe (_ wanabe)
05:52 AM Revision 9c173cd5 (git): * eval.c (rb_exc_raise, rb_exc_fatal, rb_make_exception):
suppressed shorten-64-to-32 warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:45 AM Revision 409033ef (git): * thread_pthread.c (native_stop_timer_thread): delay joinning timer
thread after unlocking mutex.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:29 AM Feature #2322 (Rejected): [PATCH] Add standard deviation function to Math Module
=begin
This patch adds a Standard Deviation function to the Math Module. It takes an array and finds the standard deviation of all its elements, as long as they are numbers.
=end
danielc192 (Daniel Cohen)
04:32 AM Revision 12fadc10 (git): * thread_pthread.c (native_stop_timer_thread): need to join timer thread
only when really stopping it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:58 AM Revision 9ee5e613 (git): * thread_{pthread,win32}.c (native_stop_timer_thread): join the thread
here.
* thread_{pthread,win32}.c (native_reset_timer_thread): new function.
* thread.c (rb_thread_stop_timer_thread, rb_thread_reset_timer_thread):
call above function instead of simply seting 0.
git-svn-id: svn+ssh://ci.ruby-lang...
U.Nakamura
02:24 AM Revision 7539e11a (git): * ext/dl/win32/lib/win32/registry.rb: update rdoc. [ruby-core:26022]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:04 AM Revision 71f0685f (git): revert r25623
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wanabe (_ wanabe)

11/01/2009

11:27 PM Revision 3e364a0c (git): * 2009-11-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:27 PM Revision b23461b5 (git): * cont.c (fiber_free): don't free unallocated local_storage. see #1325.
* cont.c (cont_init): clear local_storage not to use current thread's.
* cont.c (fiber_t_alloc, root_fiber_alloc): link itself always for
a case that fiber_link_remove() is called before fiber_link_join().
* cont.c (fiber_init): don'...
wanabe (_ wanabe)
10:52 PM Feature #2321 (Rejected): [PATCH] Array Module sum and mean features
=begin
I have created a new patch for the Array Module of Ruby. The patch adds two complementary features: A sum function, that sums the elements in an array if they are numbers; and a mean (or average) function that finds the mean of t...
danielc192 (Daniel Cohen)
08:17 PM Bug #2318 (Closed): patch to show the rdoc's for BigDecimal
=begin
This issue was solved with changeset r25615.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
07:15 AM Bug #2318 (Closed): patch to show the rdoc's for BigDecimal
=begin
BigDecimal's rdoc's are currently in the wrong place to be picked up by newer versions of rdoc.
Attached patch fixes this.
=end
rogerdpack (Roger Pack)
08:11 PM Bug #2320: patch to trunk .document to include more readme's etc.
=begin
Where is the patch?
=end
naruse (Yui NARUSE)
07:21 AM Bug #2320 (Closed): patch to trunk .document to include more readme's etc.
=begin
This patch adds some README files to default rdoc's of trunk [ex: README and README.EXT] and I propose its consideration.
Thanks!
-r
=end
rogerdpack (Roger Pack)
03:48 PM Revision 0eb452d7 (git): merges r24949 from trunk into ruby_1_9_1.
--
* lib/matrix.rb (determinant): Bug fix where determinant failed on some matrices [ruby-core:23597]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:48 PM Revision 73678acc (git): merges r24914 from trunk into ruby_1_9_1.
--
* lib/cgi/cookie.rb (value): Keep CGI::Cookie#value in sync with the cookie itself. Based on a patch by Arthur Schreiber [ruby-core:17634]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25621 b2dd03c8-39d4-4d8f-98ff-...
yugui (Yuki Sonoda)
03:48 PM Revision 00cd3b97 (git): merges r24912 from trunk into ruby_1_9_1.
--
* lib/net/http.rb (fetch): Handle properly default values; a patch by Arthur Schreiber [ruby-core:18308]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:48 PM Revision 6f1e3cc0 (git): merges r24888 from trunk into ruby_1_9_1.
--
* include/ruby/ruby.h (SYM2ID): needs parens.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:48 PM Revision 534a4192 (git): merges r24884 from trunk into ruby_1_9_1.
--
* lib/prime.rb (EratosthenesGenerator#initialize): call super.
(TrialDivisionGenerator, Generator23): ditto. [ruby-core:25539]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:48 PM Revision cb467517 (git): merges r24882 from trunk into ruby_1_9_1.
--
* ext/win32ole/win32ole.c: fix WIN32OLE_TYPELIB.new when the 1st
argument is the non-registered file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:39 PM Revision a9b1e5c2 (git): Added a test method contributed by James M Lawrence,
and merged a modification from r24868.
* test/ruby/test_module.rb (TestModule#test_method_added): new test
method. Patch by James M. Lawrence.
c.f. [ruby-core:25536], r24867 and r24868.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/br...
yugui (Yuki Sonoda)
02:14 PM Bug #2189: Math.atanh(1) & Math.atanh(-1) should not raise an error
=begin
Hi,

2009/11/1 Marc-Andre Lafortune <redmine@ruby-lang.org>:
> A mechanism could be implemented with a thread local option, say Math.raise_on_pole = true/false, or even hook, say for example:
> Math.on_pole=lambda{|object, op...
mame (Yusuke Endoh)
12:54 PM Bug #2189: Math.atanh(1) & Math.atanh(-1) should not raise an error
=begin
Hi,

I looked at SUSv3 a bit more carefully. I'll refer interested parties to http://www.opengroup.org/onlinepubs/000095399/basedefs/xbd_chap04.html#tag_04_18_02

Yui NARUSE wrote:
> So we follow SUSv3, which defines a...
marcandre (Marc-Andre Lafortune)
11:16 AM Revision 74d16cd0 (git): * ext/bigdecimal/bigdecimal.c: fixed rdoc. [ruby-core:26457]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:35 AM Bug #2313: Incomplete encoding conversion?
OK I understand now :) I was mixing up the available encoding converters... There is no `Encoding::Converter` from UTF-8 to ASCII-8BIT (or visa versa ;).
Thank you for your patience.
adamsalter (Adam Salter)
01:59 AM Bug #2313: Incomplete encoding conversion?
> ~~~ruby
> ...
OK, I'll explain step by step:
~~~ruby
str = "元気"
# You make a String which contains "元気" encode by some encoding
# str's byte data is some byte string which means "元気"
# str's encoding is a source encoding
str =...
naruse (Yui NARUSE)
08:27 AM Bug #2315 (Closed): [PATCH] gc.c: DRY machine stack calculations
=begin
This issue was solved with changeset r25604.
Suraj, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
08:11 AM Revision f6f49eb0 (git): * configure.in (RUBY_STACK_GROW_DIRECTION): set return variable always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:04 AM Bug #2317: ruby/config.h header file not found
=begin
The locations may be the intended ones (or not, you tell me) but I am saying that
the include files are _broken_ because if you try to compile a C program with

gcc -I/usr/include/ruby-1.9.1 ...

it _fails_ because ...
Redwind (Red Wind)
07:22 AM Bug #2317: ruby/config.h header file not found
=begin
>> ruby/st.h installed in /usr/include/ruby-1.9.1 contain '#include "ruby/config.h"'.
>> But the file ruby/config.h does not exist. Instead it is installed
>> in /usr/incude/ruby-1.9.1/{architecture}-linux/ruby/config.h.

...
rogerdpack (Roger Pack)
12:43 AM Bug #2317 (Rejected): ruby/config.h header file not found
=begin
In several Linux distributions I see that the header files ruby/ruby.h and
ruby/st.h installed in /usr/include/ruby-1.9.1 contain '#include "ruby/config.h"'.
But the file ruby/config.h does not exist. Instead it is installed
...
Redwind (Red Wind)
07:24 AM Revision 2eb5e70d (git): * configure.in (rb_cv_stack_grow_dir): fix for universal binary.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:23 AM Revision f6ea3142 (git): * configure.in (sitehdrdir, vendorhdrdir): fixed default values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:17 AM Bug #2319 (Closed): gethostbyname fails in windows
=begin
Unfortunately this appears to prevent me from running other tests...

C:\dev\ruby\downloads\ruby_trunk>make test-all
./miniruby.exe -I./lib -I.ext/common -I./- -r./ext/purelib.rb ./tool/runruby.rb --extout=.ext -- "./test...
rogerdpack (Roger Pack)
04:36 AM Revision 754462d4 (git): * win32/win32.c (overlapped_socket_io, recvmsg, sendmsg): pass handle
instead of pointer to CloseHandle().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
wanabe (_ wanabe)
04:24 AM Revision 24a6752f (git): * ext/socket/socket.c (socket_s_ip_address_list): use FreeLibrary() to
free HMODULE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
wanabe (_ wanabe)
04:12 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Hi,

I'm attaching updated patches that reduce the
runtime overhead of stack bound correction.

Thanks for your consideration.
=end
sunaku (Suraj Kurapati)
03:32 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Hi,

I'm attaching updated patches that contain better API documentation:

/*
* Binds the stack of Ruby's main thread to the region of memory that spans
* inclusively from the given lower boundary to the given upp...
sunaku (Suraj Kurapati)
04:06 AM Revision 68b23a0d (git): * object.c (convert_type): Cleanup unused variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
01:47 AM Revision a9e662ac (git): * ext/dl/cptr.c (rb_dlptr_ptr, rb_dlptr_ref) adding documentation
* test/dl/test_cptr.rb (test_ref_ptr) testing CPtr#ref and CPtr#ptr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
01:46 AM Revision 4b76900a (git): * ext/dl/cptr.c (rb_dlptr_to_value) added documentation
* test/dl/test_cptr.rb (test_to_value) testing DL::CPtr#to_value
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
01:46 AM Revision 6cf6d855 (git): * ext/dl/cptr.c (rb_dlptr_size) splitting function to reduce complexity
* ext/dl/cptr.c (rb_dlptr_null_p, rb_dlptr_aref, rb_dlptr_aset) adding
documentation
* ext/dl/dl.c (rb_dl_free) adding documentation
* test/dl/test_cptr.rb (test_null?, test_size, test_size=,
test_aref_aset) Improving test coverage
*...
tenderlovemaking (Aaron Patterson)
01:46 AM Revision 5f3d0f52 (git): * test/dl/test_dl2.rb (**) testing malloc and realloc
* ext/dl/dl.c (**) adding documentation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)

10/31/2009

11:17 PM Revision 0243c024 (git): * gc.c (GET_STACK_BOUNDS): refactored common code. based on a
patch from Suraj N. Kurapati <sunaku AT gmail.com> in
[ruby-core:26443].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:45 PM Bug #2313: Incomplete encoding conversion?
OK. Thank you.
I do think it makes sense to be able to do:
~~~ruby
>> "元気".encode('UTF-8').encode('ASCII-8BIT').encode('UTF-8')
~~~
.. even though it doesn't actually change the string bytes internally. But, I guess it's only ...
adamsalter (Adam Salter)
01:24 PM Bug #2313: Incomplete encoding conversion?
The data of String consist from byte string and an encoding.
`String#encode` changes both, but `String#force_encoding` changes only its encoding.
You know, "converting to ASCII-8BIT" doesn't change its byte string,
so this is `Str...
naruse (Yui NARUSE)
06:21 AM Bug #2313: Incomplete encoding conversion?
Ok. I'm still a little unclear.
The Ruby 1.9 docs say `String#encode` "returns a copy of str transcoded to encoding 'encoding'".
From James Edward Grey article on strings `String#force_encoding` 'doesn't change the data at all, jus...
adamsalter (Adam Salter)
04:14 PM Revision c0a0aa0c (git): * enum.c (enum_count): remove optimization using #size.
revert r25560.
* vm_eval.c (rb_funcall_no_recursive): remove method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:32 PM Revision 2097f56d (git): * 2009-11-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:32 PM Revision ab32fe26 (git): * vm_eval.c (check_funcall): logic updated according to
[ruby-dev:39594]. search method entry, call if it exists;
otherwise check method_missing, call if it was overridden,
protecting exceptions; if NoMethodError happens, check method
name.
* vm_eval.c (vm_call0): use idMethodMissing....
matz (Yukihiro Matsumoto)
02:35 PM Bug #2258: Kernel#require inside rb_require() inside rb_protect() inside SysV context fails
=begin
Hi,

Suraj Kurapati wrote:
> Mr. Nobu, could you please answer my question about [...]

Please forgive my rudeness and childish impatience. I shall
wait quietly until you feel the time is right for this issue
to wa...
sunaku (Suraj Kurapati)
12:26 AM Bug #2258: Kernel#require inside rb_require() inside rb_protect() inside SysV context fails
=begin
Hi,

I created a new issue to track my ruby_bind_stack patch and
code examples: http://redmine.ruby-lang.org/issues/show/2294

Mr. Nobu, could you please answer my question about how
my code examples need to change i...
sunaku (Suraj Kurapati)
02:25 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Hi,

To reduce your risk of applying (or even considering) this patch,
I moved the refactoring of *duplicated* machine stack calculation
code into a new "get_machine_stack_bounds.patch" file on this issue:

http://r...
sunaku (Suraj Kurapati)
02:15 PM Bug #2315 (Closed): [PATCH] gc.c: DRY machine stack calculations
=begin
Hi,

This patch refactors *duplicated* machine stack calculation code from
mark_current_machine_context() and rb_gc_mark_machine_stack() in gc.c
into a new internal get_machine_stack_bounds() function.

Thanks for yo...
sunaku (Suraj Kurapati)
01:05 PM Revision 536770bf (git): merges r24865,r24866,r24869,r24872,r24875,r24876 and r24877 from trunk into ruby_1_9_1.
--
* lib/open-uri.rb (URI::FTP#buffer_open): use the port specified in
the URI.
--
test ftp over http proxy.
--
fix tests.
--
test invalid redirect location.
--
* lib/open-uri.rb (URI::FTP#buffer_open): fix the %2F handling.
--
test re...
yugui (Yuki Sonoda)
01:05 PM Revision 358b2f89 (git): merges r24855 from trunk into ruby_1_9_1.
--
* ext/win32ole/win32ole.c (EVENTSINK_Invoke): initialize result
variant value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:05 PM Revision fe5f585b (git): merges r24840 and r24841 from trunk into ruby_1_9_1.
--
* lib/net/http.rb (Net::HTTPHeader::encode_kvpair): also call to_s
to k. A patch from swdyh <youhei@gmail.com>
http://github.com/swdyh/ruby/tree/c847f43c2ccb679b9ff728f8b1b16c6ceeb57f39
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
yugui (Yuki Sonoda)
01:05 PM Revision bf3818c4 (git): merges r24839 from trunk into ruby_1_9_1.
--
* dln.c (aix_loaderror): get rid of using uninitialized value in the
case loadquery fails. fixed wrong index variable usage. see
[ruby-core:25479].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25597 b2dd03c8-...
yugui (Yuki Sonoda)
01:05 PM Revision d6eaa886 (git): merges r24834,r24837,r24853,r24857,r24858,r24862,r24863 and r24864 from trunk into ruby_1_9_1.
--
add tests for open-uri.
--
renamed.
--
more tests.
--
more tests.
--
refined.
--
add https test.
--
test proxy log.
--
test CA certs dir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25596 b2dd03c8-39d4-4d8f-98ff-8...
yugui (Yuki Sonoda)
01:05 PM Revision 592c5fa9 (git): merges r24830 from trunk into ruby_1_9_1.
--
* lib/net/http.rb (fetch): rdoc fix, patch by Arthur Schreiber, [ruby-core:18309].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:05 PM Revision f557b57e (git): merges r24828 from trunk into ruby_1_9_1.
--
* test/dl/test_cptr.rb (test_free=): test SEGV at first.
[ruby-dev:39269]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:05 PM Revision cf4c2318 (git): merges r24818 from trunk into ruby_1_9_1, with small modification.
--
* test/ruby/test_require.rb (test_relative): tests for require_relative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:04 PM Revision 34ffc19c (git): merges r22718 from trunk into ruby_1_9_1.
--
* ext/dl/lib/dl/value.rb (DL::ValueUtil#wrap_arg): NULL for nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:04 PM Revision d763098c (git): merges r24785 and r24833 from trunk into ruby_1_9_1, with small modification.
--
* test/dl/test_{cfunc,ptr}.rb: added tests from Aaron Patterson.
see [ruby-dev:39249].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:04 PM Revision f7665cba (git): merges r22717 from trunk into ruby_1_9_1.
--
* test/dl: moved from ext/dl/test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:04 PM Revision 5beab804 (git): merges r24757 and r24758 from trunk into ruby_1_9_1.
--
* compile.c (iseq_compile_each): &&= and ||= should return rhs.
[ruby-dev:39163] (#1996), [ruby-core:25143]
--
* compile.c (iseq_compile_each): &&= and ||= should return rhs.
[ruby-dev:39163] (#1996), [ruby-core:25143]
git-svn-id...
yugui (Yuki Sonoda)
01:04 PM Revision 9ee81131 (git): merges r24752 from trunk into ruby_1_9_1.
--
* test/ruby/test_io.rb (test_binmode_after_closed): test for [ruby-core:25363].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:04 PM Revision 36857419 (git): merges r24748 from trunk into ruby_1_9_1.
--
* bignum.c (rb_big_div, rb_big_idiv): fixed indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:04 PM Revision 49d29476 (git): merges r24742 from trunk into ruby_1_9_1.
--
* lib/webrick/httpservlet/abstract.rb (do_OPTIONS): method names
are symbols now. [ruby-core:24580]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:01 PM Revision ea057a5b (git): * 2009-10-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:01 PM Revision 67491398 (git): merges r22964 from trunk into ruby_1_9_1.
--
* common.mk (.y.c): use SRC_FILE which contains slashes instead of
backslashes. [ruby-core:22891]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:19 AM Revision a4127110 (git): * 2009-10-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:19 AM Revision 5d19cfe2 (git): * lib/net/http.rb (Net::HTTPResponse#each_response_header):
cosmetic: '?\ ' -> '?\s'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
08:18 AM Revision a28cd28c (git): * lib/net/http.rb (Net::HTTPResponse#each_response_header):
cosmetic: '?\ ' -> '?\s'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
01:17 AM Revision 9d93bc2b (git): * st.c (unpack_entries): fixed type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

10/30/2009

07:07 PM Bug #1953 (Closed): empty range in String#tr causes unexpected behavior
=begin
This issue was solved with changeset r25576.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
matz (Yukihiro Matsumoto)
09:50 AM Bug #1953 (Assigned): empty range in String#tr causes unexpected behavior
=begin

=end
naruse (Yui NARUSE)
05:07 PM Bug #2312 (Closed): NoMethodError message "no superclass method"
=begin
This issue was solved with changeset r25573.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
02:13 PM Bug #2312: NoMethodError message "no superclass method"
=begin

=end
nobu (Nobuyoshi Nakada)
12:44 PM Bug #2312 (Closed): NoMethodError message "no superclass method"
=begin
なかだです。

trunkで組み込みのメソッドからのNoMethodErrorのメッセージが"no
superclass method"になりません。

$ ./ruby -v -e 'module Enumerable;undef min;end; (1..2).min{}'
ruby 1.9.2dev (2009-10-30 trunk 25565) [universal.x86_64-darwin9.0]
-e:1:in...
nobu (Nobuyoshi Nakada)
03:55 PM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin

=end
sunaku (Suraj Kurapati)
05:39 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin

=end
sunaku (Suraj Kurapati)
05:37 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin

=end
sunaku (Suraj Kurapati)
05:13 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Hi,

I am attaching an updated "ruby_bind_stack.patch" file which adds:

* API documentation for the ruby_bind_stack() function in ruby.h
* an assertion to ensure that upper > lower inside ruby_bind_stack()

Thanks ...
sunaku (Suraj Kurapati)
02:16 PM Bug #2313 (Rejected): Incomplete encoding conversion?
That is not a conversion; that is setting an encoding.
So you should use `String#force_encoding(enc)`.
naruse (Yui NARUSE)
02:12 PM Bug #2313 (Rejected): Incomplete encoding conversion?
=begin
I get the following error in irb:

>> "http://localhost/posts/eeé".encode('ASCII-8BIT')
Encoding::UndefinedConversionError: "\xC3\xA9" from UTF-8 to ASCII-8BIT
from (irb):7:in `encode'
from (irb):7
from /opt/loc...
adamsalter (Adam Salter)
01:40 PM Bug #2310: should ensure GVL_UNLOCK_END in rb_thread_blocking_region
=begin
なかだです。

At Fri, 30 Oct 2009 12:54:03 +0900,
SASADA Koichi wrote in [ruby-dev:39582]:
>  この変更は受け入れられません.そもそも,GVL を持っていない状態で例外を
> 発生させてはいけません.

いわれてみれば確かに。コメントに追加しておきました。

--
--- 僕の前にBugはない。
--- 僕の後ろにBugはできる。
中田 伸悦...
nobu (Nobuyoshi Nakada)
12:54 PM Bug #2310: should ensure GVL_UNLOCK_END in rb_thread_blocking_region
=begin
Nobuyoshi Nakada wrote::
> This issue was solved with changeset r25566.

 この変更は受け入れられません.そもそも,GVL を持っていない状態で例外を
発生させてはいけません.

 というか,この辺は結構大きな変更なので,一言相談して下さい.

--
// SASADA Koichi at atdot dot net
=end
ko1 (Koichi Sasada)
10:57 AM Bug #2310 (Closed): should ensure GVL_UNLOCK_END in rb_thread_blocking_region
=begin
This issue was solved with changeset r25566.
_, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
09:53 AM Bug #2310 (Closed): should ensure GVL_UNLOCK_END in rb_thread_blocking_region
=begin
rb_thread_blocking_region から呼び出された関数中で例外等の大域脱出が起きると
GVL_UNLOCK_END 等の後処理が呼ばれません。
例えば、WindowsXP のような WSASendMsg がない環境では以下のようにすると固まります。

$ ruby -rsocket -ve 'begin UDPSocket.new.sendmsg "hoge";rescue Exception;p $!;end';ech...
wanabe (_ wanabe)
01:09 PM Revision d1cb4a5b (git): * lib/net/http.rb (Net::HTTPResponse#each_response_header):
accept multiline message header of HTTP response. see #1796.
cf. RFC 2616 '4.2 Message Header'.
* test/net/http/test_httpresponse.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25579 b2dd03c8-39d4-4d8f...
Hiroshi Nakamura
01:05 PM Revision bf444933 (git): * 2009-10-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:05 PM Revision 76af5abe (git): * lib/net/http.rb (Net::HTTPResponse#each_response_header):
accept multiline message header of HTTP response. see #1796.
cf. RFC 2616 '4.2 Message Header'.
* test/net/http/test_httpresponse.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25577 b2dd03...
Hiroshi Nakamura
12:55 PM Bug #1325: fiber tests kill windows
=begin
Thank you, Nobu. I rewrote the patch in accordance with your advise.

And finally, I found which makes disk-swapping.
File.open('large.png', 'r:ascii-8bit') in test/cgi/test_cgi_multipart.rb does.
It does realloc many tim...
wanabe (_ wanabe)
12:15 PM Bug #2311 (Closed): [BUG] cfp consistency error - send
=begin
Following r25521:

$rubydev -e '
class X
def method_missing(s); end
end
X.new.foo(:bar) rescue nil
puts "hello"
'

Generates
-e:0:in `method_missing': wrong number of arguments (2 for 1) (ArgumentError)
...
marcandre (Marc-Andre Lafortune)
10:04 AM Bug #2049 (Closed): String#upto: Possible Regression
=begin

=end
naruse (Yui NARUSE)
09:58 AM Revision 104c5f6b (git): * string.c (trnext): detect empty range and raise exception.
[ruby-dev:39108]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
09:56 AM Bug #1901: Segfault for Enumerable#count When Aliased to #size
=begin
Hi,

At Fri, 30 Oct 2009 08:09:02 +0900,
Yukihiro Matsumoto wrote in [ruby-core:26420]:
> I fixed this by r25560, but I still consider the fix is implementation
> dependent, so that some implementation might (and can) cause ...
nobu (Nobuyoshi Nakada)
08:09 AM Bug #1901: Segfault for Enumerable#count When Aliased to #size
=begin
Hi,

In message "Re: [ruby-core:24794] [Bug #1901] Segfault for Enumerable#count When Aliased to #size"
on Thu, 6 Aug 2009 23:24:18 +0900, Run Paint Run Run <redmine@ruby-lang.org> writes:

| class E
| include Enume...
matz (Yukihiro Matsumoto)
02:17 AM Bug #1901 (Closed): Segfault for Enumerable#count When Aliased to #size
=begin
This issue was solved with changeset r25560.
Run Paint, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
matz (Yukihiro Matsumoto)
09:55 AM Bug #1760 (Assigned): Methods Expecting Paths Should Prefer #to_path Over #to_str
=begin

=end
naruse (Yui NARUSE)
09:51 AM Bug #1919 (Feedback): sparc-solaris-2.10 で 1.9.2-preview1 がビルドできない
=begin

=end
naruse (Yui NARUSE)
09:49 AM Bug #1887 (Closed): nil exception can be thrown
=begin
$! is a read-only variable now.
=end
naruse (Yui NARUSE)
09:46 AM Bug #1364 (Closed): /usr/local/lib/ruby/1.9.1/rexml/text.rb:375: [BUG] Segmentation fault
=begin

=end
naruse (Yui NARUSE)
09:45 AM Bug #1614 (Closed): startup failure with non-ascii path
=begin

=end
naruse (Yui NARUSE)
08:05 AM Revision db196eef (git): * test/ruby/test_enum.rb (test_count): marked as an implementation
specific test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:01 AM Revision 1932c590 (git): * vm_eval.c (enum call_type): get rid of last comma.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:57 AM Revision 166a53c5 (git): * vm_eval.c (vm_call0, vm_call_super, rb_f_send, rb_f_public_send):
fixed call_type. [ruby-dev:39581]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:42 AM Revision 35b88be0 (git): * vm_eval.c (rb_search_method_emtry, rb_method_call_status): split
from rb_call0().
* vm_eval.c (rb_check_funcall): get rid of raising exceptions and
hiding further exceptions. [ruby-dev:39584]
* vm_eval.c (rb_funcall_no_recursive): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25572 b...
nobu (Nobuyoshi Nakada)
07:28 AM Revision bb385e23 (git): * test/ruby/test_enum.rb (test_count): test for [ruby-core:24794].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:36 AM Revision 6116f52f (git): * thread.c (rb_thread_blocking_region): reverted r25566, and added
description that no exception is allowed inside `func', instead.
see [ruby-dev:39582]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:15 AM Revision b16e6a93 (git): * win32.c (recvmsg, sendmsg, link): shouldn't raise ruby's exceptions
in the functions expected as system API. see [ruby-dev:39579] and
[ruby-dev:39582]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:01 AM Revision 1730092f (git): * thread.c (rb_thread_blocking_region): standard C doesn't accept
preprosessing directive within macro expansion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:01 AM Revision de6d21a3 (git): * thread.c (rb_thread_blocking_region): standard C doesn't accept
preprosessing directive within macro expansion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:55 AM Revision 411b7470 (git): * thread.c (rb_thread_blocking_region): must ensure to unlock GVL.
[ruby-dev:39579]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

10/29/2009

07:47 PM Revision 22bd95de (git): * include/ruby/ruby.h (RSTRING_END): trivial optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:44 PM Revision 2aa4d69d (git): * string.c (rb_str_sub_bang): trivial optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:44 PM Revision 5e745937 (git): * string.c (rb_str_sub_bang): trivial optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:28 PM Revision 0afb3e38 (git): * test/ruby/enc/test_gb18030.rb (test_left_adjust_char_head):
String#chop no longer raises ArgumentError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:57 PM Feature #2306: split!
=begin
Hi,

In message "Re: [ruby-core:26406] [Feature #2306] split!"
on Thu, 29 Oct 2009 18:17:57 +0900, Oleg Puchinin <redmine@ruby-lang.org> writes:

|How about "split!" for "String" class ?

What exactly do you want from ...
matz (Yukihiro Matsumoto)
06:17 PM Feature #2306 (Rejected): split!
=begin
How about "split!" for "String" class ?
=end
OlegPuchinin (Oleg Puchinin)
05:16 PM Revision ec2c82ba (git): * 2009-10-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:16 PM Revision 7f2ef1a9 (git): * enum.c (enum_count): call #size using rb_funcall_no_recursive()
to prevent infinite recursive calls. [ruby-core:24794]
* vm_eval.c (rb_funcall_no_recursive): utility function to check
direct recursive call.
* vm_eval.c (rb_check_funcall): move from eval.c. [refactoring]
git-svn-id: svn+ssh://ci...
matz (Yukihiro Matsumoto)
11:52 AM Bug #2304 (Closed): in gem_prelude: unknown encoding name - filesystem
=begin
this is already fixed at r25555
=end
naruse (Yui NARUSE)
10:23 AM Bug #2304 (Closed): in gem_prelude: unknown encoding name - filesystem
=begin
When trying to compile Ruby, when it processes known errors, I get the following error:
ruby ./tool/generic_erb.rb -c -o known_errors.inc ./template/known_errors.inc.tmpl ./defs/known_errors.def
Error loading gem paths on loa...
duerst (Martin Dürst)
09:40 AM Revision 2f2e8455 (git): Revert set locale and filesystem encindex in Init_Encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:14 AM Revision 06346d58 (git): * encoding.c (Init_Encoding): set locale and filesystem encindex.
* ruby.c (process_options): move setting func of filesystem
encoding to Init_Encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:46 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Roman, thanks for clarifying.
=end
sunaku (Suraj Kurapati)
06:01 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Sorry for the lack of explanation, I thought that it was implicit and apparent.
After I get thread's stack_begin and stack_end I'm calling your bind stack function, of course.
=end
romanbsd (Roman Shterenzon)
12:37 AM Feature #2294: [PATCH] ruby_bind_stack() to embed Ruby in coroutine
=begin
Hi Roman,

I did not understand your code example.
Where do you call ruby_bind_stack() ?

Without that call, I don't see how my patch
can make any difference to your program.

Thanks.
=end
sunaku (Suraj Kurapati)
06:43 AM Revision 0d9386d1 (git): * vm_core.h (rb_name_err_mesg_new): added prototype.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:55 AM Revision 0580ba06 (git): * array.c (rb_ary_to_ary): do not use #respond_to? to detect
to_ary. Just call. [ruby-core:23738]
* eval.c (rb_check_funcall): new function with method existence
check. returns Qundef when the method does not exist.
* enumerator.c (enumerator_rewind): just call method, using
rb_check_func...
matz (Yukihiro Matsumoto)
 

Also available in: Atom