Project

General

Profile

Activity

From 12/17/2008 to 12/23/2008

12/23/2008

11:02 PM Bug #921: autoload is not thread-safe
=begin

On Dec 22, 2008, at 1:44 PM, Charles Oliver Nutter wrote:

> It probably could use the same lock; the trickier bit is that in
> between encountering the autoload and requiring the file there's
> already state changes ha...
pragdave (Dave Thomas)
04:52 AM Bug #921: autoload is not thread-safe
=begin
Dave Thomas wrote:
> Why not use the same lock that's used by require? The two are clearly
> related, and if there's a require in progress, you'd want to suspend
> autoload until it has finished, and the result of the requir...
headius (Charles Nutter)
03:05 AM Bug #921: autoload is not thread-safe
=begin

On Dec 22, 2008, at 11:10 AM, Charles Nutter wrote:

> * When the autoload marker is encountered, it is replaced (under
> lock) with an "autoload in progress" marker. All subsequent threads
> will then see this marker a...
pragdave (Dave Thomas)
02:19 AM Bug #921 (Closed): autoload is not thread-safe
=begin
Currently autoload is not safe to use in a multi-threaded application. To put it more bluntly, it's broken.

The current logic for autoload is as follows:

1. A special object is inserted into the target constant table, ...
headius (Charles Nutter)
09:29 PM Revision 39711b63 (git): * configure.in (OBJDUMP, OBJCOPY): autoconf list is not comma
separated.
* configure.in (AC_HEADER_STDC, AC_CHECK_HEADERS AC_CHECK_FUNCS):
removed duplicated checks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:49 PM Bug #497: NEWSを書く
=begin
The new patch about RDoc was applied in r20948.
=end
yugui (Yuki Sonoda)
02:31 PM Bug #497: NEWSを書く
=begin
Please disregard the above patch, it is for trunk.
=end
drbrain (Eric Hodel)
08:15 AM Bug #497: NEWSを書く
=begin
Here is a patch for RDoc and RubyGems changes.
=end
drbrain (Eric Hodel)
08:35 PM Bug #814 (Open): NoMethodError: undefined method `read_nonblock' for #<OpenSSL::SSL::SSLSocket:0x1a64f9a0>
=begin

=end
yugui (Yuki Sonoda)
08:33 PM Bug #913 (Closed): mathn した場合、sqrt(NaN) が複素数になる
=begin
applied in r20938.
=end
yugui (Yuki Sonoda)
03:29 PM Bug #913: mathn した場合、sqrt(NaN) が複素数になる
=begin
けいじゅ@いしつかです.

下記了解です.

Yuguiさんチェックインしていただけないでしょうか?

In [ruby-dev :37550 ] the message: "[ruby-dev:37550] Re: [Bug #913]
mathn した場合、sqrt(NaN) が複素数になる ", on Dec/22 21:38(JST)
Tadayoshi Funaba writes:

>> >たぶん、こんな感じだと思います。...
keiju (Keiju Ishitsuka)
08:32 PM Bug #470 (Closed): File::openのドキュメント
=begin
applied in r20946.
=end
yugui (Yuki Sonoda)
06:23 PM Revision 568b7434 (git): * misc/ruby-mode.el: added comment to mention newer version
bundled with Emacs 23 or later. a patch from Phil Hagelberg
<phil at hagelb.org> in [ruby-core:20838].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:47 PM Bug #919 (Closed): tool/file2lastrev.rbでエラー
=begin
Applied in changeset r20936.
=end
yugui (Yuki Sonoda)
02:27 PM Bug #919: tool/file2lastrev.rbでエラー
=begin
Yuguiです。

すみません。私のバグです。

On 12/23/08 7:12 AM, SASADA Koichi wrote:
> Pathname(File.dirname($0)).parent

あ、そうか。これで行けそうです。ありがとうございます。

--
Yugui <yugui@yugui.jp>
http://yugui.jp
私は私をDumpする
=end
yugui (Yuki Sonoda)
07:21 AM Bug #919: tool/file2lastrev.rbでエラー
=begin
 ささだです.

Tadashi Saito wrote::
> 一応下ので直りましたが、汎用性があるのか正直自信がありません。

 私はよくわかんなかったので,簡単にしてみました.でも,なんでフルパスに
するんだろう.

Index: tool/file2lastrev.rb
===================================================================
--- tool/fi...
ko1 (Koichi Sasada)
01:54 AM Bug #919 (Closed): tool/file2lastrev.rbでエラー
=begin
ソースと違うディレクトリでtrunkをmakeしようとすると、
tool/file2lastrev.rbでエラーが出てmakeできません。

$ make
ruby ../tool/file2lastrev.rb --revision.h ".." > "../revision.h.tmp"
svn: '.' is not a working copy
../tool/file2lastrev.rb:34:in `get_revi...
tad (Tadashi Saito)
03:30 PM Revision 9f8c309d (git): * pack.c (pack_pack): encoding of packed string only from 'm',
'M', and 'u' should be US-ASCII. [ruby-dev:37284]
* pack.c (pack_pack): encoding of packed string only from 'U'
should be UTF-8. also upgrade US-ASCII strings to UTF-8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20956 b2dd03...
matz (Yukihiro Matsumoto)
03:24 PM Revision d5bc38fd (git): * lib/net/protocol.rb (Net::BufferedIO#rbuf_fill): avoid calling
read_nonblock in rescue. use retry instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:22 PM Revision 19fee2e2 (git): * io.c (rb_io_init_copy): call io_seek only if io_tell succeeds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:13 PM Revision b5408752 (git): * 2008-12-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:13 PM Revision 5e629972 (git): * string.c (rb_external_str_new_with_enc): set ASCII-8BIT if
encoding is US-ASCII and string contains 8bit characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
02:34 PM Bug #865: [Fwd: some mistakes in Rake RDoc]
=begin
Jim Weirich is the correct owner for these changes. Please add him to the tracker.
=end
drbrain (Eric Hodel)
02:17 PM Bug #901 (Closed): RDoc does not handle multiple method description for a C function properly
=begin
Applied in changeset r20932.
=end
drbrain (Eric Hodel)
01:59 PM Revision b317b345 (git): * process.c (rb_fork): don't propagete an error message if error
buffer not given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:15 PM Revision 423bbf80 (git): * process.c (rb_fork): propagete an error message from child to parent.
(rb_f_exec): show details of error in child process on
exception.
(save_redirect_fd): add error message arguments.
(run_exec_dup2): ditto.
(run_exec_close): ditto.
(run_exec_open): ditto.
(run_exec_dup2_child): ditto.
(run_...
akr (Akira Tanaka)
11:51 AM Revision 353da8cc (git): Revert r20947. This feature is still under development.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
11:47 AM Revision eb9cbe40 (git): * NEWS (RDoc): applied patch by Eric Hodel (drbrain).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
11:47 AM Revision eafe6863 (git): merges r20866 and r20891 from trunk into ruby_1_9_1.
* error.c (exc_equal): duck typing equal to make it transitive.
[ruby-dev:34880]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
11:30 AM Revision 5677106e (git): * io.c: rdoc for File::open and 1.9 feature in file modes.
* transcode.c: rdoc for String#encode
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
10:51 AM Revision 7c152e7f (git): * win32/win32.c (rb_w32_spawn): deals with quoted commands.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:13 AM Revision 6fcaf929 (git): * strftime.c (rb_strftime): use locale insensitive functions for tr_TR
locale.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:34 AM Revision ace35ac6 (git): * lib/test/unit/assertions.rb (assert_equal): show small differences
for Regexp and Float.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:17 AM Bug #827 (Closed): Fix document for Gem::Installer#write_spec
=begin
Applied in changeset r20924.
=end
drbrain (Eric Hodel)
08:07 AM Bug #555 (Closed): method_missing in Gem module removes some necessary methods
=begin
Applied in changeset r20923.
=end
drbrain (Eric Hodel)
07:50 AM Revision 12932721 (git): * win32/win32.c (rb_w32_spawn): support normal commands with arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
07:43 AM Revision 96369485 (git): properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:24 AM Revision fbcc23a8 (git): * io.c (rb_io_inspect): show fd number if there is no pathname.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:49 AM Revision 81031ebd (git): * tool/file2lastrev.rb: shouldn't use single quote in shell's command
line if you want to support Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
06:48 AM Revision 99825ae9 (git): * lib/mathn.rb: Math.sqrt(NaN) should be NaN. [ruby-dev:37537]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
06:47 AM Revision 1bd7257d (git): Match full RubyGems behavior when a gem can't be found
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
06:39 AM Revision 59641944 (git): * tool/file2lastrev.rb: detects vcs directory properly on building
outside of srcdir. [ruby-dev:37555] [ruby-dev:37561]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:34 AM Revision 43475803 (git): fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:30 AM Revision 7d024047 (git): * io.c (pipe_open): need to initialize args.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:19 AM Revision 0c9fe213 (git): * include/ruby/st.h: need to include defines.h because LONG_LONG is
defined there.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:16 AM Revision b8f7b973 (git): Don't coalesce adjacent comment blocks. [bug#901]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
04:40 AM Revision e31e4f2a (git): * NEWS: reordered entries as
(1) Kernel and objects
(2) Exceptions
(3) Enumerable and containers
(4) IO and file system
(5) Process
(6) String and regular expression and Encoding
(7) Numeric and its subclasses
(8) misc
git-svn-id: svn+ssh://ci.ruby-la...
yugui (Yuki Sonoda)
04:05 AM Revision efcb2de5 (git): updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:52 AM Revision 469d119a (git): updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:01 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
=begin

On Dec 22, 2008, at 10:37 AM, Charles Oliver Nutter wrote:

> no core methods currently accept keyword arguments, plus it would
> create a throw-away hash in all current implementations.

File.open...
=end
pragdave (Dave Thomas)
01:46 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
=begin
I guess the relative silence on this issue means there's not much more
to discuss. Here's a summary up to now:

- Everyone seems to agree it's a good idea to add, so we should add it.
And I would like to see it backported t...
headius (Charles Nutter)
01:46 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
=begin
I guess the relative silence on this issue means there's not much more
to discuss. Here's a summary up to now:

- Everyone seems to agree it's a good idea to add, so we should add it.
And I would like to see it backported t...
headius (Charles Nutter)
03:00 AM Revision a61a5f17 (git): * io.c (pipe_close): fix coding style. [ruby-dev:37554]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:17 AM Revision 651c8bae (git): * NEWS
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
02:17 AM Revision e7e59b78 (git): * 2008-12-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:17 AM Revision 7adae93c (git): * thread.c (Thread#set_trace_func, #add_trace_func): removed.
This is an unsupported feature in 1.9.1 and will be supported
in 1.9.2. [ruby-core:19581]
(thread_add_trace_func): removes unnecessary function.
(thread_add_trace_func_m): ditto.
(thread_set_trace_func_m): ditto.
git-svn-id: svn...
yugui (Yuki Sonoda)
02:15 AM Bug #918: super doesn't work correctly when used with define_method
=begin
ko1,

Your patch fixes the problem, though does not help with #730.

I ran test-all as well as test-rubyspec against patched 1.9.1 from today.
=end
antares (Michael Klishin)
01:40 AM Bug #918: super doesn't work correctly when used with define_method
=begin
Thanks for fixing this so quickly. Unfortunately I can't work with Ruby source code. I would need Win32 binaries to test it.
=end
tmat (Tomas Matousek)
01:33 AM Bug #918: super doesn't work correctly when used with define_method
=begin
It might be related yet there might also be an issue specific to define_method. It depends on implementation details in Ruby.
=end
tmat (Tomas Matousek)
01:26 AM Bug #918: super doesn't work correctly when used with define_method
=begin
Tomas Matousek wrote::
> The following prints B,A in 1.8 but B,B,A in 1.9.*.
> It seems that the receiver's class (C) is incorrectly used to determine the base class. The class where the target method (B#m) is defined (i.e. B) ...
ko1 (Koichi Sasada)
01:02 AM Bug #918: super doesn't work correctly when used with define_method
=begin
Tomas,

I think the same problem has been reported in #730. Could you check if they are duplicates? Thanks.
=end
antares (Michael Klishin)
12:53 AM Bug #918 (Closed): super doesn't work correctly when used with define_method
=begin
The following prints B,A in 1.8 but B,B,A in 1.9.*.
It seems that the receiver's class (C) is incorrectly used to determine the base class. The class where the target method (B#m) is defined (i.e. B) should be used so that A#m ...
tmat (Tomas Matousek)

12/22/2008

11:37 PM Bug #917 (Closed): cannot make with bison-2.4.1 (cont.)
=begin
tUPLUSなどがenumのみで#defineされていないため、
「#elif tUPLUS != 321」に引っかかって
「error: #error tUPLUS differs」になるようです。

$ make
gcc -DRUBY_DEBUG_ENV -O2 -g -Wall -Wformat=2 -Wundef -Wno-parentheses -fPIC -I. -I.ext/include/x86_64-linux ...
znz (Kazuhiro NISHIYAMA)
11:18 PM Bug #914: Integer#upto(NaN)
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37549] Re: [Bug #914] Integer#upto(NaN)"
on Mon, 22 Dec 2008 21:11:41 +0900, Tadayoshi Funaba <tadf@dotrb.org> writes:

|> NaNはすべての比較に対して偽を返しますから、それに基づくと意
|> 図した動作と言えるのではないでしょうか。
...
matz (Yukihiro Matsumoto)
09:20 PM Bug #914: Integer#upto(NaN)
=begin
> |upto(NaN) や downto(NaN) で実質的に無限ループになるようで面白いのですが、
> |これは意図した動作といえるのでしょうか。
>
> NaNはすべての比較に対して偽を返しますから、それに基づくと意
> 図した動作と言えるのではないでしょうか。

それは仕様でなくて実装の話ですよね。別の実装であれば、逆に一度も回らな
かったかもしれないですよね。実際、step(NaN) はそのように見えます。
現時点では結果は未...
tadf (tadayoshi funaba)
11:58 AM Bug #914 (Rejected): Integer#upto(NaN)
=begin
開発ミーティングで直接話しましたが、未来で「超実数(Yugui談)」とかについて考える気があるそうなので、現時点では放置とします。
超実数と言われても私には何がなんだか。

=end
matz (Yukihiro Matsumoto)
10:59 AM Bug #914: Integer#upto(NaN)
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37525] [Bug #914] Integer#upto(NaN)"
on Sun, 21 Dec 2008 16:04:10 +0900, tadayoshi funaba <redmine@ruby-lang.org> writes:

|upto(NaN) や downto(NaN) で実質的に無限ループになるようで面白いのですが、
|これは意図し...
matz (Yukihiro Matsumoto)
11:11 PM Revision e4d04b0b (git): Fix documentation. [bug#827]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
11:07 PM Feature #916 (Closed): Curses.crmodeとCurses.nocrmodeをモジュール関数に変更する
=begin
高尾宏治です。

Curses.cbreak は Curses.crmode に alias してあります。
また、Curses.nocbreak も同様に Curses.nocrmode に alias してあります。
このため、Curses モジュールを include した場合にしか
Curses.crmode と Curses.nocrmode を利用できないようです。

require "curses"
include ...
kouji (Kouji Takao)
11:06 PM Revision f2f3e60a (git): Don't remove methods twice. [bug#555]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
09:50 PM Bug #634: Time parsing works in 1.8 but not 1.9
=begin

In message "Re: [ruby-core:20779] Re: [Bug #634] Time parsing works in 1.8 but not 1.9"
on Mon, 22 Dec 2008 16:36:53 +0900, "Roger Pack" <rogerpack2005@gmail.com> writes:
|
|>> This is an intentional change (r12859).
|>...
matz (Yukihiro Matsumoto)
04:45 PM Bug #634: Time parsing works in 1.8 but not 1.9
=begin
>> This is an intentional change (r12859).
>
> Can I regard this issue as rejected?

Seems somewhat surprising to me that
Date::parse('06/21/95')

doesn't parse, though I suppose that's better than what 1.8.x currently doe...
rogerdpack (Roger Pack)
09:47 PM Bug #913: mathn した場合、sqrt(NaN) が複素数になる
=begin
> >たぶん、こんな感じだと思います。コミットしてよいですか? < 石塚さん
>
> 値が変だという意味では, 何らかの対処があるべきだと思います. が
>
> , baseとなっているComplexの振る舞いに基づいているので,まず, Complexに
> nanを食わせたときの振る舞いを明確にした方が良いのでは?

あまり関係ないような気がします。matnn なしで、

Math.sqrt(NaN) #=> NaN

となる...
tadf (tadayoshi funaba)
08:33 PM Bug #913: mathn した場合、sqrt(NaN) が複素数になる
=begin
けいじゅ@いしつかです.

In [ruby-dev :37537 ] the message: "[ruby-dev:37537] [Bug #913] mathn
した場合、sqrt(NaN) が複素数になる ", on Dec/22 11:38(JST) Yuki Sonoda
writes:

>チケット #913 が更新されました。 (by Yuki Sonoda)
>
>たぶん、こんな感じだと思います。コミットしてよいですか...
keiju (Keiju Ishitsuka)
11:47 AM Bug #913: mathn した場合、sqrt(NaN) が複素数になる
=begin
たぶん、こんな感じだと思います。コミットしてよいですか? < 石塚さん

diff --git a/lib/mathn.rb b/lib/mathn.rb
index 48cb99f..0241f57 100644
--- a/lib/mathn.rb
+++ b/lib/mathn.rb
@@ -134,6 +134,8 @@ module Math
else
Complex(x, -y)
...
yugui (Yuki Sonoda)
11:44 AM Bug #913: mathn した場合、sqrt(NaN) が複素数になる
=begin

=end
ko1 (Koichi Sasada)
09:17 PM Bug #898 (Closed): Test::Unit::Assertions#assert_nothing_raised does not increment number of assertions
=begin
Applied in changeset r20915.
=end
akr (Akira Tanaka)
11:37 AM Bug #898: Test::Unit::Assertions#assert_nothing_raised does not increment number of assertions
=begin

=end
yugui (Yuki Sonoda)
05:33 PM Bug #886: GC from blocking region
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:37531] Re: [Bug: trunk] GC from blocking region"
on Dec.22,2008 09:37:09, <ko1@atdot.net> wrote:
>  作ってみました.これで動くかやってもらえませんか.あと,名前のセンスが
> 悪すぎるとか,そういう話もあるかと思うので,いい名前募集中です.

rb_thr...
usa (Usaku NAKAMURA)
09:45 AM Bug #886: GC from blocking region
=begin
 ささだです.

U.Nakamura wrote::
> In message "[ruby-dev:37448] [Bug: trunk] GC from blocking region"
> on Dec.15,2008 22:44:31, <ko1@atdot.net> wrote:
>> (c) blocking_region の中で,さらに ruby な環境にさわれる状態になり(GVL
>> を取得する),メモリ確保を行う...
ko1 (Koichi Sasada)
03:18 PM Revision e7685ab8 (git): * 2008-12-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:18 PM Revision 41da4d16 (git): * sprintf.c (rb_str_format): fix buffer overflow.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
01:31 PM Bug #814: NoMethodError: undefined method `read_nonblock' for #<OpenSSL::SSL::SSLSocket:0x1a64f9a0>
=begin
The error I reported is because I did not apply r20443.

And we (matz, akr and I) decided to apply neighter r20443 nor r20493 to 1.9.1
=end
yugui (Yuki Sonoda)
01:19 PM Revision 8f79efe0 (git): * common.mk (revision.h): uses tool/file2lastrev.rb to support
git-svn.
* version.h: changed version string as
`ruby 1.9.1 (2008-12-22 patchlevel-5000 trunk 20912)
[i386-darwin9.6.0]'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:19 PM Revision c09e5abe (git): * Doxyfile.in: new file. Template of a configuration file for
Doxygen.
Intorduces C-level API reference generation with Doxygen.
* tool/file2lastrev.rb: wrapper script that abstracts subversion
and git-svn.
* tool/strip-rdoc.rb: filter for preventing doxygen from processing
rdoc comments.
...
yugui (Yuki Sonoda)
12:54 PM Bug #688: test_exit_action(TestSignal)でTimeout::Error
=begin

=end
akr (Akira Tanaka)
12:53 PM Bug #727: Signal(CLD) seems not to work on OS X
=begin

=end
ko1 (Koichi Sasada)
12:32 PM Revision a550f299 (git): * numeric.c (int_ord): Integer#ord implemented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:29 PM Bug #854 (Closed): Rake::FileList#egrep が動かない
=begin
fixed by r20908.
=end
matz (Yukihiro Matsumoto)
12:29 PM Revision b795b5c5 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:28 PM Bug #616: instance_eval and Module#to_s
=begin
私がとりあえず見てみます。手に負えなかったら笹田さんに振ります。
=end
yugui (Yuki Sonoda)
10:43 AM Bug #616: instance_eval and Module#to_s
=begin
1.8 と 1.9 で、C の定義先が違う。
1.8 ではグローバル。1.9 では main の特異クラスの中に定義される。

% ./ruby -ve 'instance_eval{p((C = Class.new).to_s)};
class << self
p C
end
'
ruby 1.9.1 (2008-12-21 revision 20902) [i686-linux]
"#<Class:0x825d5c0>"...
akr (Akira Tanaka)
10:40 AM Bug #616: instance_eval and Module#to_s
=begin

=end
yugui (Yuki Sonoda)
12:27 PM Revision 3a7daf88 (git): * io.c (rb_io_s_pipe): IO.pipe can take a block.
(pipe_close): new function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:17 PM Bug #6 (Closed): sprintf() of %f on Windows(MSVCRT)
=begin
Applied in changeset r20910.
=end
nobu (Nobuyoshi Nakada)
10:29 AM Bug #6: sprintf() of %f on Windows(MSVCRT)
=begin
「分かってるならコミットして」(うささん)とのことなのでなかださんに任せます。
=end
yugui (Yuki Sonoda)
12:11 PM Revision c8cbfe7d (git): * lib/test/unit/assertions.rb (assert_nothing_raised): increment
assertion count. [ruby-dev:37480]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:47 AM Bug #861 (Closed): Rake::MultiTask#invoke_prerequisites should be private
=begin
Applied in changeset r20908.
=end
matz (Yukihiro Matsumoto)
11:34 AM Bug #885: Thread.new{fork{}}
=begin

=end
yugui (Yuki Sonoda)
10:31 AM Bug #910 (Closed): optparse with regexp
=begin
r20902
=end
nobu (Nobuyoshi Nakada)
10:31 AM Bug #233: Block level with binding
=begin

=end
yugui (Yuki Sonoda)
10:12 AM Revision b451955b (git): * thread_win32.c (Init_native_thread): need to call
ruby_thread_set_native() here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
09:04 AM Revision 3be4523b (git): * ext/tk/tcltklib.c: fix wrong flag value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
03:26 AM Revision d9691f6e (git): * cygwin/GNUmakefile.in (rubydll.def), win32/mkexports.rb
(Exports#exports): added VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:25 AM Revision 3bad2b6e (git): * missing/vsnprintf.c (BSD_vfprintf): fix for test_sprintf_comb.rb, by
wanabe in [ruby-dev:36935].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:07 AM Revision 941e77dc (git): * ChangeLog: added ticket number [Bug#6].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:05 AM Revision 9f3b77e4 (git): * configure.in (mingw): no longer uses snprintf and vsnprintf of
msvcrt.
* win32/win32.c (rb_w32_vsnprintf, rb_w32_snprintf): removed.
* win32/Makefile.sub (config.h): vsnprintf exists in VC7 or later.
* win32/mkexports.rb (Exports#initialize): aliases
rb_w32_vsnprintf and rb_w32_snprintf for bin...
nobu (Nobuyoshi Nakada)
02:41 AM Revision 0f6e6c8b (git): * lib/rake.rb (Rake::MultiTask): invoke_prerequisites should be
private. a patch from okkez in [ruby-dev:37399]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
02:35 AM Revision 850df4b8 (git): * lib/rake.rb (Rake::FileList#egrep): change open mode to "rb",
i.e. default to binary. [ruby-dev:37385]
* lib/rake.rb (Rake::FileList#egrep): allow specifying reading
encoding, e.g. FileList['*.rb'].egrep(/require/, encoding:
"ascii-8bit")
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2...
matz (Yukihiro Matsumoto)
02:12 AM Revision f77f9da4 (git): * string.c (rb_str_upto): should return enumerator if called
without block. [ruby-dev:37526]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
01:43 AM Revision 1d4c1645 (git): * parse.y (gettable_gen): the encoding of __FILE__ should be
rb_filesystem_encoding(). [ruby-list:45733]
* parse.y (gettable_gen): __FILE__ should be ASCII-8BIT when
filesystem encoding is US-ASCII and __FILE__ contains non 7bit
characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
matz (Yukihiro Matsumoto)

12/21/2008

11:03 PM Bug #634 (Rejected): Time parsing works in 1.8 but not 1.9
=begin

=end
yugui (Yuki Sonoda)
02:42 PM Bug #634: Time parsing works in 1.8 but not 1.9
=begin
yes, at least this is not a bug, i think.
=end
tadf (tadayoshi funaba)
02:34 PM Bug #634: Time parsing works in 1.8 but not 1.9
=begin
On 12/21/08 2:13 PM, tadayoshi funaba wrote:
> This is an intentional change (r12859).

Can I regard this issue as rejected?

--
Yugui <yugui@yugui.jp>
http://yugui.jp
=end
yugui (Yuki Sonoda)
02:21 PM Bug #634: Time parsing works in 1.8 but not 1.9
=begin
This is an intentional change (r12859).
=end
tadf (tadayoshi funaba)
12:09 AM Bug #634: Time parsing works in 1.8 but not 1.9
=begin

=end
yugui (Yuki Sonoda)
08:43 PM Bug #814: NoMethodError: undefined method `read_nonblock' for #<OpenSSL::SSL::SSLSocket:0x1a64f9a0>
=begin
I noticed the patch only handled the EWOULDBLOCK exceptions and not EAGAIN.

Wouldn't just adding EAGAIN (and EINTR as well) to the handled exceptions
fix the 3 errors?

Regards

oldmoe

On Sun, Dec 21, 2008 at 5:59 AM,...
oldmoe (Muhammad Ali)
01:07 PM Bug #814 (Assigned): NoMethodError: undefined method `read_nonblock' for #<OpenSSL::SSL::SSLSocket:0x1a64f9a0>
=begin
I did not merged r20493 into ruby_1_9_1 because it makes Net::HTTP::Proxy related tests fail.

1) Error:
test_https_proxy_authentication(HTTPSProxyTest):
Errno::EAGAIN: Resource temporarily unavailable
/Users/yugu...
yugui (Yuki Sonoda)
05:56 PM Revision 407ff29a (git): * 2008-12-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:56 PM Revision 6c650f35 (git): * ext/tk/lib/tk.rb: temporary patch for trouble on TkAqua (> Tk8.4.9).
* ext/tk/sample/demos-jp/widget: set encoding to a demo-code string to
avoid garbled text on the Code Window.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagai (Hidetoshi Nagai)
04:18 PM Bug #914: Integer#upto(NaN)
=begin

=end
yugui (Yuki Sonoda)
04:12 PM Bug #914 (Rejected): Integer#upto(NaN)
=begin
upto(NaN) や downto(NaN) で実質的に無限ループになるようで面白いのですが、
これは意図した動作といえるのでしょうか。
=end
tadf (tadayoshi funaba)
04:18 PM Bug #913: mathn した場合、sqrt(NaN) が複素数になる
=begin

=end
yugui (Yuki Sonoda)
03:29 PM Bug #913 (Closed): mathn した場合、sqrt(NaN) が複素数になる
=begin
main@191-20081221> nan = 0.0/0
#=> NaN
main@191-20081221> Math.sqrt(nan)
#=> NaN
main@191-20081221> require 'mathn'
#=> true
main@191-20081221> Math.sqrt(nan)
#=> (0+NaN*i)
=end
tadf (tadayoshi funaba)
02:17 PM Bug #910 (Assigned): optparse with regexp
=begin
1.9ではまだ発生します。
=end
yugui (Yuki Sonoda)
12:40 PM Bug #910 (Closed): optparse with regexp
=begin
Bug #909 [ruby-dev:37514]と重複
=end
nobu (Nobuyoshi Nakada)
12:03 AM Bug #910: optparse with regexp
=begin

=end
yugui (Yuki Sonoda)
05:55 AM Revision 39c4d692 (git): * lib/optparse.rb (SPLAT_PROC): splat values by hand.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:49 AM Revision 1cf4744a (git): * test/readline/test_readline_history.rb: checked encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e kouji (Kouji Takao)
05:46 AM Revision 8cd6a45a (git): * lib/optparse.rb (parse_in_order): splat values to be passed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:27 AM Revision 1bfa2990 (git): merges r20892 from trunk into ruby_1_9_1.
* dln.c (dln_find_1): supplements an extension for executable
files on DOSish platforms.
* io.c (pipe_open): use rb_w32_aspawn() for array form.
* win32/win32.c (rb_w32_pipe_exec): no longer used.
* win32/win32.c (rb_w32_spawn, rb_w...
yugui (Yuki Sonoda)
05:27 AM Revision dc5776d8 (git): * 2008-12-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:27 AM Revision 82d84b49 (git): merges r20528 from trunk into ruby_1_9_1.
* win32/win32.c (rb_w32_read): ERROR_BROKEN_PIPE is not a real error
at this point.
* io.c (pipe_open): use rb_w32_spawn() instead of rb_w32_pipe_exec()
to use our own redirection scheme.
git-svn-id: svn+ssh...
yugui (Yuki Sonoda)
04:51 AM Revision 67cd02b4 (git): * test/readline/test_readline.rb
(TestReadline#test_some_characters_methods): checked encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kouji (Kouji Takao)
04:14 AM Feature #839: Add code on each line of a backtrace output to the screen
=begin
How about a compromise to propagate SCRIPT_LINES__ after the fact with the appropriate files if they're not in it yet? I'd be happy to do it, and it thus wouldn't result in a large slowdown [and if files have changed recently, t...
rogerdpack (Roger Pack)
03:23 AM Revision 3e23c0c8 (git): * lib/optparse.rb (SPLAT_PROC): fix for regexp. [ruby-dev:37514]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:23 AM Revision 5ad1f1d3 (git): * lib/optparse.rb (SPLAT_PROC): fix for regexp. [ruby-dev:37514]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:45 AM Revision d153bd1d (git): * 2008-12-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:44 AM Revision ee01c3e3 (git): * sample/test.rb: rescue exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e takano32 (Mitsuhiro TAKANO)
12:12 AM Bug #6: sprintf() of %f on Windows(MSVCRT)
=begin

=end
yugui (Yuki Sonoda)
12:11 AM Feature #235: default charset of rdoc
=begin

=end
yugui (Yuki Sonoda)
12:11 AM Bug #470: File::openのドキュメント
=begin

=end
yugui (Yuki Sonoda)
12:11 AM Bug #497: NEWSを書く
=begin

=end
yugui (Yuki Sonoda)
12:11 AM Bug #549: ri -f html mungles constants
=begin

=end
yugui (Yuki Sonoda)
12:11 AM Bug #555: method_missing in Gem module removes some necessary methods
=begin

=end
yugui (Yuki Sonoda)
12:10 AM Bug #616: instance_eval and Module#to_s
=begin

=end
yugui (Yuki Sonoda)
12:10 AM Bug #623: optparseでオプションが重複していると--helpと挙動が違う
=begin

=end
yugui (Yuki Sonoda)
12:10 AM Bug #632: StringIO has an odd alias implementation [?]
=begin

=end
yugui (Yuki Sonoda)
12:10 AM Bug #633: dl segfaults on x86_64-linux systems
=begin

=end
yugui (Yuki Sonoda)
12:09 AM Bug #657: Thread.new { fork }
=begin

=end
yugui (Yuki Sonoda)
12:09 AM Bug #693: Thread#set_trace_func seems not to work
=begin

=end
yugui (Yuki Sonoda)
12:08 AM Feature #712: M17N of erb
=begin

=end
yugui (Yuki Sonoda)
12:08 AM Bug #727: Signal(CLD) seems not to work on OS X
=begin

=end
yugui (Yuki Sonoda)
12:08 AM Bug #730: Infinite recursion on 'super' in dynamically generated modules
=begin

=end
yugui (Yuki Sonoda)
12:08 AM Bug #732: $! in at_exit
=begin

=end
yugui (Yuki Sonoda)
12:08 AM Bug #755: select in windows errantly accepts too many fd's
=begin

=end
yugui (Yuki Sonoda)
12:07 AM Bug #803: eval with binding
=begin

=end
yugui (Yuki Sonoda)
12:07 AM Bug #827: Fix document for Gem::Installer#write_spec
=begin

=end
yugui (Yuki Sonoda)
12:07 AM Bug #832: Encoding in which Array#pack returns when a string-related format and a byte seq format are mixed
=begin

=end
yugui (Yuki Sonoda)
12:07 AM Bug #832: Encoding in which Array#pack returns when a string-related format and a byte seq format are mixed
=begin

=end
yugui (Yuki Sonoda)
12:06 AM Bug #847: debug.rb reports extraneous information
=begin

=end
yugui (Yuki Sonoda)
12:06 AM Bug #848: debug.rb doesn't have access to the source file under test until it has run
=begin

=end
yugui (Yuki Sonoda)
12:06 AM Bug #854: Rake::FileList#egrep が動かない
=begin

=end
yugui (Yuki Sonoda)
12:05 AM Bug #865: [Fwd: some mistakes in Rake RDoc]
=begin

=end
yugui (Yuki Sonoda)
12:05 AM Bug #866: gem(1) gemrc(5)
=begin

=end
yugui (Yuki Sonoda)
12:05 AM Bug #888: zlib 1.2.3 does not work with Rubygems 1.3.1 (in Ruby 1.9.1) on Windows
=begin

=end
yugui (Yuki Sonoda)
12:04 AM Bug #896: MiniTest::Assertions#assert_match arguments order is different from Test::Unit::Assertions::assert_match
=begin

=end
yugui (Yuki Sonoda)
12:04 AM Bug #898: Test::Unit::Assertions#assert_nothing_raised does not increment number of assertions
=begin

=end
yugui (Yuki Sonoda)

12/20/2008

11:53 PM Bug #910 (Closed): optparse with regexp
=begin
optparseでオプション引数にマッチすべき正規表現を指定した場合の挙動が変わっています。

#!/usr/local/bin/ruby
require 'optparse'
opts = {}
ARGV.options do |o|
o.on("-T [level]", /^[0-4]$/) {|x| opts[:T] = x }
o.parse!
end
puts "opts=#{opts.inspect...
rubikitch (rubikitch .)
10:55 PM Bug #884: Insecure operation: -r
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37446] [Bug #884] Insecure operation: -r"
on Mon, 15 Dec 2008 19:58:41 +0900, Kazuhiro NISHIYAMA <redmine@ruby-lang.org> writes:

|以下のようにするとエラーメッセージの中に謎の-rが出てきます。
|
|% ruby-trunk ...
matz (Yukihiro Matsumoto)
10:40 PM Bug #888: zlib 1.2.3 does not work with Rubygems 1.3.1 (in Ruby 1.9.1) on Windows
=begin

=end
yugui (Yuki Sonoda)
10:18 PM Bug #865: [Fwd: some mistakes in Rake RDoc]
=begin

=end
yugui (Yuki Sonoda)
10:13 PM Bug #854: Rake::FileList#egrep が動かない
=begin

=end
yugui (Yuki Sonoda)
09:41 PM Bug #616: instance_eval and Module#to_s
=begin

=end
yugui (Yuki Sonoda)
09:20 PM Bug #885: Thread.new{fork{}}
=begin

=end
yugui (Yuki Sonoda)
09:19 PM Bug #896: MiniTest::Assertions#assert_match arguments order is different from Test::Unit::Assertions::assert_match
=begin

=end
yugui (Yuki Sonoda)
06:37 PM Bug #907 (Closed): Various system() and backticks problems on Windows
=begin
Applied in changeset r20892.
=end
nobu (Nobuyoshi Nakada)
06:07 PM Bug #902: 1.9.1 preview 1 does not build on mac OSX 10.5.5
=begin
Hi erik scheirer.

I tried to check the reported problem. But I did not reproduce it.
Please report your environment and more information for this problem.

My environment:

OS: Mac OSX 10.5.5

Mac ID: MacBook3,...
kouji (Kouji Takao)
04:54 PM Bug #902 (Assigned): 1.9.1 preview 1 does not build on mac OSX 10.5.5
=begin
I am working.
=end
kouji (Kouji Takao)
04:35 PM Feature #905: Add String.new(fixnum) to preallocate large buffer
=begin
Gary Wright wrote:
> How about:
>
> String.reserve(100)
> Array.reserve(100)

"reserve" is pretty good. I'll abstain from commenting on any other
forms since I really just want the single-param fixnum version myself.
=end
headius (Charles Nutter)
03:26 PM Feature #905: Add String.new(fixnum) to preallocate large buffer
=begin
On Dec 19, 12:02 am, Martin Duerst <due...@it.aoyama.ac.jp> wrote:
> At 09:08 08/12/19, Brian Ford wrote:
>
> >Something like "ab" * 5 then becomes String.pattern("ab".size * 5, "ab").
>
> I'm at a total loss to see why
>  ...
brixen (Brian Shirai)
02:53 PM Feature #905: Add String.new(fixnum) to preallocate large buffer
=begin
> Hard to do, since it has to be a hash on the callee side. Constructing the
> hash could perhaps be delayed, in case the callee was a C function, but it
> still has to be something. In comparison, new(1000) is almost free.

...
rogerdpack (Roger Pack)
12:17 PM Feature #905: Add String.new(fixnum) to preallocate large buffer
=begin
Dave Thomas wrote:
> I don't think the cost of a hash is going to be significant--if it is,
> then I'd hope that implementors find a way of optimizing these styles of
> keyword hashes, because they're used more and more (*co...
headius (Charles Nutter)
08:21 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
=begin

On Dec 19, 2008, at 4:28 PM, Charles Oliver Nutter wrote:

>>
>> String.buffer is not a meaningful name for a constructor, in my
>> opinion, whereas String.new has a pedigree. By adding a
>> initial_size: n optional ar...
pragdave (Dave Thomas)
07:36 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
=begin
Dave Thomas wrote:
>
> On Dec 19, 2008, at 12:48 PM, Charles Oliver Nutter wrote:
>
>> Neither of those methods are polymorphic on anything. They're both new
>> methods that accept a Fixnum.
>
> .new is

And already ...
headius (Charles Nutter)
06:38 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
On Dec 19, 2008, at 12:48 PM, Charles Oliver Nutter wrote:
> Neither of those methods are polymorphic on anything. They're both
> ...
`.new` is
`String.buffer` is not a meaningful name for a constructor, in my
opinion, whereas `S...
pragdave (Dave Thomas)
03:56 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
Dave Thomas wrote:
> I think the reason I dislike this is that you're creating methods that
> ...
Neither of those methods are polymorphic on anything. They're both new
methods that accept a `Fixnum`.
headius (Charles Nutter)
12:58 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
On Dec 19, 2008, at 9:33 AM, Charles Oliver Nutter wrote:
> I suppose then coming up with a common name that works for both
> ...
I think the reason I dislike this is that you're creating methods that
are polymorphic on the types of...
pragdave (Dave Thomas)
12:41 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
Jim Weirich wrote:
> There is a slight difference. `Array.new(1000)` creates an array with a
> ...
Yes, that's a good point; and the resulting array would `<<` to the 1001st
element.
I suppose then coming up with a common name t...
headius (Charles Nutter)
09:28 AM Revision 7ac32d7a (git): * dln.c (dln_find_1): supplements an extension for executable
files on DOSish platforms.
* io.c (pipe_open): use rb_w32_aspawn() for array form.
* win32/win32.c (rb_w32_pipe_exec): no longer used.
* win32/win32.c (rb_w32_spawn, rb_w32_aspawn): deals with batch
files and commands with extension...
nobu (Nobuyoshi Nakada)
05:54 AM Feature #908 (Rejected): Should be an easy way of reading N characters from am I/O stream
=begin
I know of no way of reading N characters (as opposed to bytes) and returning a string other than writing a loop with getc or each_char.

Suggestions - one of:

1) Change the "limit" paramater on IO#gets to mean character...
mike (Michael Selig)
03:27 AM Revision 3eb92835 (git): ChangeLog: ML ref was wrong
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
02:02 AM Revision a23661bb (git): * 2008-12-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:02 AM Revision 024a1d1b (git): merges r20887 from trunk into ruby_1_9_1.
* lib/irb/locale.rb (IRB::Locale#initialize)
initializes instance variables to suppress warnings.
typo fix to ignore LoadError: [ruby-dev:37508]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20889 b2dd03c8-39d4-4d8...
yugui (Yuki Sonoda)
02:01 AM Revision 8cb4a083 (git): * 2008-12-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:01 AM Revision 734e1dc4 (git): * lib/irb/locale.rb (IRB::Locale#initialize)
initializes instance variables to suppress warnings.
typo fix to ignore LoadError: [ruby-dev:37508]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)

12/19/2008

09:44 PM Bug #907: Various system() and backticks problems on Windows
=begin
This was also found by the spec:
* system("a.exe", "1") fails when a.exe is in PATH.
=end
quix (James M. Lawrence)
07:42 PM Bug #907 (Closed): Various system() and backticks problems on Windows
=begin
* system("x/y.bat") fails because it is interpreted as option /y being
passed to command x.

* system("y") fails when y.bat is in the current directory and "." is
in PATH. "y" succeeds in the console shell window. Simi...
quix (James M. Lawrence)
09:15 PM Feature #839: Add code on each line of a backtrace output to the screen
=begin
heh--I see it--revision 20850, from the diff. That one works for applying it.

You're right--something that didn't require reading files would be nice.
I suppose the only drawback would be...shouldn't tracer output
>> en...
rogerdpack (Roger Pack)
05:34 PM Feature #905: Add String.new(fixnum) to preallocate large buffer
2008/12/19 Martin Duerst <duerst@it.aoyama.ac.jp>:
> At 09:08 08/12/19, Brian Ford wrote:
> ...
It's probably not. But if you want `"ab"` repeated 5 times, then `"ab" *
5` is probably the ideal solution.
Fixing the length in bytes...
rklemme (Robert Klemme)
05:11 PM Feature #905: Add String.new(fixnum) to preallocate large buffer
At 09:08 08/12/19, Brian Ford wrote:
>Something like `"ab" * 5` then becomes `String.pattern("ab".size * 5, "ab")`.
I'm at a total loss to see why
```ruby
String.pattern("ab".size * 5, "ab")
```
should be in any way better ...
duerst (Martin Dürst)
12:13 PM Feature #905: Add String.new(fixnum) to preallocate large buffer
Dave Thomas wrote:
> (presumably `n` is in bytes, not characters)
Yes, I'm thinking bytes myself. Presumably you either want just a byte
buffer or you know how many bytes you need to allocate for the character
encoding you intend.
headius (Charles Nutter)
10:35 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
Brian Ford wrote:
> Issue #905 has been updated by Brian Ford.
> ...
Yeah, seems like a reasonably good idea. The string formats seem a
little weird to me though...not what I'd expect. The analog with an
array would be to accept anot...
headius (Charles Nutter)
10:13 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
Yukihiro Matsumoto wrote:
> I like the idea.
> ...

I thought `String.new(1000)` would be a nice equivalent to
`Array.new(1000)`, since they both do essentially the same thing. But I'm
not opposed to a separate method. I would vo...
headius (Charles Nutter)
09:40 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
On Dec 18, 2008, at 6:23 PM, Yukihiro Matsumoto wrote:
> But I'd prefer adding a new class method for the purpose,
> ...
Maybe
```ruby
str = String.capacity(n)
```
or
```ruby
str = String.sized(n)
```
(presumably `n`...
pragdave (Dave Thomas)
09:31 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
Hi
In message "Re: [ruby-core:20668] [Feature #905] Add String.new(fixnum) to preallocate large buffer"
on Fri, 19 Dec 2008 08:46:13 +0900, Charles Nutter <redmine@ruby-lang.org> writes:
>Because Strings are used in ruby as ar...
matz (Yukihiro Matsumoto)
09:16 AM Feature #905: Add String.new(fixnum) to preallocate large buffer
In Rubinius, we have found it useful to have `String.pattern(size, value)` where value can be a fixnum or a string. The string created will be size characters where value is repeated. For example:
~~~ruby
String.pattern(5, ?a) # ...
brixen (Brian Shirai)
08:54 AM Feature #905 (Closed): Add String.new(fixnum) to preallocate large buffer
=begin
Because Strings are used in ruby as arbitrary byte buffers, and because the cost of growing a String increases as it gets larger (especially when it starts small), String.new should support a form that takes a fixnum and ensures...
headius (Charles Nutter)
01:20 PM Bug #854: Rake::FileList#egrep が動かない
=begin

=end
yugui (Yuki Sonoda)
01:18 PM Bug #902: 1.9.1 preview 1 does not build on mac OSX 10.5.5
=begin

=end
yugui (Yuki Sonoda)
12:12 PM Revision 600a52ca (git): merges r20870 from trunk into ruby_1_9_1.
* io.c (rb_io_extract_encoding_option): "internal_encoding: nil"
to specify no-transcoding. and other corner case fixed.
[ruby-dev:37496]
* hash.c (rb_hash_lookup2): new function to look-up hash with
default value.
git-svn-id: s...
yugui (Yuki Sonoda)
12:11 PM Revision d82eb1a4 (git): merges r20869 from trunk into ruby_1_9_1.
* ruby.c (process_options): get rid of warning on DOSISH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
11:46 AM Revision f6d905c0 (git): * lib/cgi/session.rb: ignore session_id options fixed.[Bug #605]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Takeyuki FUJIOKA
11:40 AM Revision 37a5e024 (git): merges r20868 from trunk into ruby_1_9_1.
* properties
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
11:37 AM Revision 25c72b31 (git): merges r20862 from trunk into ruby_1_9_1.
* lib/irb/init.rb (IRB.opt_parse): (M17N) adds -U and -E as command
line options. [ruby-dev:37161]. Fixes #711.
improved long optinos.
* lib/irb/init.rb (IRB.set_encoding): new subroutine for IRB.opt_parse
* lib/irb/input-method.rb...
yugui (Yuki Sonoda)
11:37 AM Revision 0d67ddbe (git): merges r20861 from trunk into ruby_1_9_1.
* lib/cgi/session.rb: fix bug for ignore session_id option.
report from [ruby-core:18635], [Bug #572]
* lib/cgi/core.rb: use Encoding#find when encoding set.
* test/cgi/test_cgi_session.rb: test for session_id specified.
git-svn-id:...
yugui (Yuki Sonoda)
11:37 AM Revision ebfda42d (git): merges r20859 from trunk into ruby_1_9_1.
* lib/optparse/version.rb: remove variable shadowing to stop
warning. [ruby-core:20612]
* lib/irb/completion.rb, lib/net/imap.rb, lib/prime.rb,
lib/rinda/ring.rb, lib/racc/parser.rb,
lib/shell/command-processor.rb, lib/yaml/yaml...
yugui (Yuki Sonoda)
11:37 AM Revision bd938ecc (git): merges r20854 from trunk into ruby_1_9_1.
* lib/xmlrpc/server.rb: Restricting method inspection to show only
non-inherited public methods. [ruby-core:20603]
* lib/xmlrpc/server.rb: Fixing method inspection so it doesn't
trigger XMLRPC::FaultException when used. [ruby-co...
yugui (Yuki Sonoda)
11:37 AM Revision b261f5d8 (git): merges r20847 from trunk into ruby_1_9_1.
* ext/socket/socket.c (unix_recv_io): relax msg_controllen error
check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
11:37 AM Revision b67d1000 (git): merges r20846 from trunk into ruby_1_9_1 and filsters modification for
1.9.2 features.
* ext/pty/extconf.rb: check util.h for OpenBSD.
* ext/pty/pty.c: include util.h if available. fix variable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
11:37 AM Revision fcca1f25 (git): merges r20845 from trunk into ruby_1_9_1.
* lib/matrix.rb: shut up warning. [ruby-dev:37481] [Bug #899]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
11:37 AM Revision 92bd66a1 (git): merges r20654 from trunk into ruby_1_9_1.
* configure.in (rb_version): greps only the line that defines version.
* version.h (RUBY_VERSION_CODE, RUBY_RELEASE_CODE): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
11:36 AM Revision f85491da (git): merges r20683 from trunk into ruby_1_9_1.
* complex.c (nucomp_canonicalization): renamed.
* ext/math/complex.c: followed the above change.
* rational.c (nurat_canonicalization): renamed.
* ext/math/rational.c: followed the above change.
* conf...
yugui (Yuki Sonoda)
11:36 AM Revision 2458172d (git): merges r20840 from trunk into ruby_1_9_1.
* array.c (rb_ary_push_m): add modification check before actual
operation. [ruby-dev:37440]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
11:35 AM Revision 22a6f109 (git): * 2008-12-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:35 AM Revision 8a1d7546 (git): merges r20839 from trunk into ruby_1_9_1.
* array.c (rb_ary_pop_m): use enum ary_take_pos_flags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
08:22 AM Revision 63219d8a (git): * io.c (rb_io_extract_encoding_option): "internal_encoding: nil"
to specify no-transcoding. and other corner case fixed.
[ruby-dev:37496]
* hash.c (rb_hash_lookup2): new function to look-up hash with
default value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20870 b2dd03c8-39d4-4d8f-98ff-...
matz (Yukihiro Matsumoto)
06:51 AM Revision e5bfdb83 (git): * ruby.c (process_options): get rid of warning on DOSISH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:51 AM Revision 20a745f1 (git): properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:44 AM Bug #454: URI does not follow the last rfc about uri syntax
=begin
lib/uri/common.rb currently references RFCs 2732 and 2396. RFC 3986, as linked to by the original poster, obsoletes both RFCs.

The attached patch adjusts the definitions of UNRESERVED and RESERVED to comply with RFC 3986, th...
jonaswitt (Jonas Witt)

12/18/2008

11:42 PM Revision 0754cf1c (git): * 2008-12-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:42 PM Revision 00856f76 (git): * error.c (exc_equal): duck typing equal to make it transitive.
[ruby-dev:34880]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
10:17 PM Feature #711 (Closed): M17N of irb
=begin
Applied in changeset r20862.
=end
yugui (Yuki Sonoda)
09:27 PM Bug #572 (Closed): CGI::Session : ignore session_key and session_id options
=begin
Applied in changeset r20861.
=end
xibbar (Takeyuki FUJIOKA)
06:43 PM Feature #904: C API reference with Doxygen
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:37494] [Feature:trunk] C API reference with Doxygen"
on Thu, 18 Dec 2008 18:14:37 +0900, "Yugui (Yuki Sonoda)" <yugui@yugui.jp> writes:

|また各ファイルのリビジョンを取得するために、subversionまたはgit svnで...
matz (Yukihiro Matsumoto)
06:22 PM Feature #904 (Closed): C API reference with Doxygen
=begin
Yuguiです。

常々、C APIリファレンスをDoxygenで作りたいと思っていました。YARVで呼び出
し事前条件を持つような関数もかなり増えたことですし、そうした情報を書いて
おけると解析もしやすくて素敵です。

そこで、添付のような形でDoxygen化を試してみました。むやみに全部の関数に
Doxygenコメントを書こうとは思っていませんが、要所要所だけでも書いて知識
を明文化 & 共有したいのですが、どうでしょ...
yugui (Yuki Sonoda)
05:07 PM Bug #903 (Closed): segmentation fault in irb
=begin
same as [Bug #890].
=end
nobu (Nobuyoshi Nakada)
04:42 PM Bug #903 (Closed): segmentation fault in irb
=begin
I'm new to Ruby and was playing around to determine how some expressions work. Here's the result of one such test:
irb(main):016:0> yield "f" do |x|
irb(main):017:1* puts x
irb(main):018:1> end
c:/usr/local/ruby-1.9.1/lib...
marcusbooster (marcus booster)
04:57 PM Bug #900 (Closed): warnings in *.rb
=begin
Applied in changeset r20859.
=end
matz (Yukihiro Matsumoto)
03:00 PM Revision 23f8fcd5 (git): * 2008-12-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision 817afcc8 (git): * test warning cleanups.
* lib/webrick/https.rb, lib/soap/attachment.rb, test/xsd/test_xsd.rb:
uninitialized instance variables.
* lib/xsd/datatypes.rb: use Date#new! instead of Date#new0 according
to deprecation message.
* ...
Hiroshi Nakamura
02:33 PM Revision cad0fbdd (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:09 PM Revision 5c1bd53c (git): * lib/irb/init.rb (IRB.opt_parse): (M17N) adds -U and -E as command
line options. [ruby-dev:37161]. Fixes #711.
improved long optinos.
* lib/irb/init.rb (IRB.set_encoding): new subroutine for IRB.opt_parse
* lib/irb/input-method.rb (IRB::StdioInputMethod): (M17N) regards
scripts that user types as ...
yugui (Yuki Sonoda)
12:20 PM Revision 52d481d8 (git): * lib/cgi/session.rb: fix bug for ignore session_id option.
report from [ruby-core:18635], [Bug #572]
* lib/cgi/core.rb: use Encoding#find when encoding set.
* test/cgi/test_cgi_session.rb: test for session_id specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20861 b2dd03c8-39d4-4d...
Takeyuki FUJIOKA
10:19 AM Bug #895: MiniTest::Assertions#refute_instance_of should use Object#instance_of? instead Module#===
=begin

=end
yugui (Yuki Sonoda)
10:17 AM Bug #885: Thread.new{fork{}}
=begin

=end
yugui (Yuki Sonoda)
10:17 AM Bug #897: Kenel#describe should be private in minitest/spec
=begin

=end
yugui (Yuki Sonoda)
10:16 AM Bug #898: Test::Unit::Assertions#assert_nothing_raised does not increment number of assertions
=begin

=end
yugui (Yuki Sonoda)
10:10 AM Bug #902: 1.9.1 preview 1 does not build on mac OSX 10.5.5
=begin

=end
yugui (Yuki Sonoda)
03:39 AM Bug #902 (Rejected): 1.9.1 preview 1 does not build on mac OSX 10.5.5
=begin
I downloaded the tarball from uby-lang.org, untarred and ran ./configure, which succeeded.

I am of the opinion that things should 'work out of the box' on each platform, with just ./configure, make, and sudo make install re...
erkki (erik scheirer)
08:17 AM Bug #894 (Closed): XMLRPC::Server "system.listMethods" handler fails in Ruby 1.9.1-preview2
=begin
Applied in changeset r20854.
=end
JEG2 (James Gray)
08:05 AM Revision 88cab63a (git): * hash.c (rb_hash_aset): string key copying only happen if key is
an exact instance of String, not a subclass. based on a patch
from Mike Gold <mike.gold.4433 at gmail.com> in [ruby-talk:322667].
[incompatible] [ruby-talk:322417]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20860 b2dd03c8-39d...
matz (Yukihiro Matsumoto)
07:54 AM Revision 85bae86c (git): * lib/optparse/version.rb: remove variable shadowing to stop
warning. [ruby-core:20612]
* lib/irb/completion.rb, lib/net/imap.rb, lib/prime.rb,
lib/rinda/ring.rb, lib/racc/parser.rb,
lib/shell/command-processor.rb, lib/yaml/yamlnode.rb: ditto.
* lib/racc/parser.rb: remove space before pare...
matz (Yukihiro Matsumoto)
03:33 AM Revision e903bc4c (git): * 2008-12-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:33 AM Revision 95957dff (git): * configure.in: typo in a comment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
12:23 AM Bug #901 (Closed): RDoc does not handle multiple method description for a C function properly
=begin
RDoc does not handle method description properly when some method descriptions are assigned onto a C function.
For example, documentation for Object#hash is curious.

This happened at trunk. ruby_1_8 branch seems to work co...
yugui (Yuki Sonoda)

12/17/2008

11:21 PM Revision 48408c2a (git): * 2008-12-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:21 PM Revision 46fd22f5 (git): Merged 20854 from trunk.
* lib/xmlrpc/server.rb: Restricting method inspection to show only
non-inherited public methods. [ruby-core:20603]
* lib/xmlrpc/server.rb: Fixing method inspection so it doesn't
trigger XMLRPC::FaultException when used. [ruby-co...
James Edward Gray II
11:15 PM Revision cd5c3095 (git): * lib/xmlrpc/server.rb: Restricting method inspection to show only
non-inherited public methods. [ruby-core:20603]
* lib/xmlrpc/server.rb: Fixing method inspection so it doesn't
trigger XMLRPC::FaultException when used. [ruby-core:20604]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20854 b...
James Edward Gray II
09:15 PM Bug #900 (Closed): warnings in *.rb
=begin
results in lib:
% find lib -name '*.rb' | xargs -n1 ruby-trunk -wc 2>&1 | grep -v '^Syntax OK$' lib/optparse/version.rb:29: warning: shadowing outer local variable - pkg
lib/optparse/version.rb:50: warning: shadowing outer lo...
znz (Kazuhiro NISHIYAMA)
07:27 PM Bug #899 (Closed): matrix.rb: warning: shadowing outer local variable
=begin
Applied in changeset r20845.
=end
keiju (Keiju Ishitsuka)
06:49 PM Bug #899 (Closed): matrix.rb: warning: shadowing outer local variable
=begin
ruby -w または -v で起動したrubyにて require 'matrix' するとwarningが出ます。
出ないほうが嬉しいです。

% ruby-trunk20840 -v -r matrix -e ''
ruby 1.9.1 (2008-12-17 revision 20840) [i686-linux]
/XXX/lib/ruby/1.9.1/matrix.rb:627: warning: shadowing ou...
ngoto (Naohisa Goto)
06:23 PM Bug #898 (Closed): Test::Unit::Assertions#assert_nothing_raised does not increment number of assertions
=begin
assert_nothing_raised が assertionsの数を増やしません。

% ruby-trunk20840 -v -r test/unit -e 'class A < Test::Unit::TestCase; def test_b; assert_nothing_raised { true }; end; end'
ruby 1.9.1 (2008-12-17 revision 20840) [i686-linux]
...
ngoto (Naohisa Goto)
05:20 PM Bug #897 (Closed): Kenel#describe should be private in minitest/spec
=begin
I think Kernel#describe should be private.

code:
# OK
describe 'aaa' do
do_something
end

# NG (I think that this code should raise an exception)
99.describe 'bbb' do
do_something
end

patch:

I...
okkez (okkez _)
04:44 PM Bug #896 (Closed): MiniTest::Assertions#assert_match arguments order is different from Test::Unit::Assertions::assert_match
=begin
I write a simple patch same as 'test/unit'.
more details to see test code of 'test/unit'.
=end
okkez (okkez _)
03:57 PM Bug #878 (Closed): Array#push with no argument on a frozen array
=begin
Applied in changeset r20840.
=end
matz (Yukihiro Matsumoto)
03:48 PM Revision 118eecc3 (git): * 2008-12-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:48 PM Revision d74d2d13 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:55 PM Bug #895: MiniTest::Assertions#refute_instance_of should use Object#instance_of? instead Module#===
=begin

=end
okkez (okkez _)
11:55 AM Bug #895 (Closed): MiniTest::Assertions#refute_instance_of should use Object#instance_of? instead Module#===
=begin
see [ruby-dev:37458], r20798 and r20800

Fixnum === 1 # => true
Numeric === 1 # => true
1.kind_of?(Fixnum) # => true
1.kind_of?(Numeric) # => true
1.instance_of?(Fixnum) # => true
1.instance_of?(Numeric) # => false
...
okkez (okkez _)
01:13 PM Bug #894: XMLRPC::Server "system.listMethods" handler fails in Ruby 1.9.1-preview2
=begin

=end
yugui (Yuki Sonoda)
10:28 AM Bug #894 (Closed): XMLRPC::Server "system.listMethods" handler fails in Ruby 1.9.1-preview2
=begin
When trying to call "system.listMethods" with an example XMLRPC::Server, I noticed that a XMLRPC::FaultException would always be raised.

#
# Server
#
require 'xmlrpc/server'

class TestObject

def test
...
postmodern (Hal Brodigan)
12:10 PM Revision 67644005 (git): * enumerator.c (inspect_enumerator): Implement #inspect.
[ruby-dev:37248]-[ruby-dev:37263]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
11:34 AM Bug #875 (Closed): Failure: test_power(TestBigDecimal)
=begin
[ruby-dev:37370] と重複。
=end
znz (Kazuhiro NISHIYAMA)
11:07 AM Revision eca3dd75 (git): * lib/date.rb (once): Use Object#object_id instead of Symbol#to_i;
backported from trunk besides the caching.
* lib/erb.rb (ERB::Compiler::TrimScanner#scan): Use
String#each_line instead of String#each.
* rubytest.rb: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20850 b2dd0...
Akinori MUSHA
11:00 AM Revision 988ffd3c (git): * object.c (rb_any_to_a): Always use "... is deprecated" for a
deprecation warning to make it easier to find out what is
deprecated and going to be removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
10:57 AM Revision 3d5cdfec (git): * string.c (rb_str_each): Add a deprecation warning to
String#each.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
10:47 AM Revision 0a3a98ae (git): * ext/socket/socket.c (unix_recv_io): relax msg_controllen error
check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:38 AM Revision 8ae0a40d (git): * ext/pty/extconf.rb: check util.h for OpenBSD.
* ext/pty/pty.c: include util.h if available. fix variable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:25 AM Revision 67d18f7f (git): * lib/matrix.rb: shut up warning. [ruby-dev:37481] [Bug #899]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e keiju (Keiju Ishitsuka)
10:07 AM Bug #892 (Closed): test/ruby/test_metaclass.rb: no such file to load -- ~/dev/metaclass_util/metaclass_util
=begin
Applied in changeset r20802.
=end
yugui (Yuki Sonoda)
09:59 AM Bug #892: test/ruby/test_metaclass.rb: no such file to load -- ~/dev/metaclass_util/metaclass_util
=begin
Yuguiです。

Yukihiro Matsumoto さんは書きました:
> test_metaclass.rbが"~/dev/metaclass_util/metaclass_util"をrequireしていますが、そのファイルが見当たりません。

デバッグコードを消し忘れました。ご迷惑をおかけしました。

--
Yugui <yugui@yugui.jp>
http://yugui.jp
私は私をDumpする
=end
yugui (Yuki Sonoda)
09:41 AM Revision af2bf6f1 (git): * object.c (rb_obj_id_obsolete): s/will be deprecated/is deprecated/.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
09:39 AM Revision dc18559c (git): * 2008-12-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:39 AM Revision 61812e70 (git): * object.c (sym_to_i, sym_to_int): Add a deprecation warning to
Symbol#to_i.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
06:56 AM Revision 8fb2235f (git): * array.c (rb_ary_push_m): add modification check before actual
operation. [ruby-dev:37440]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
06:52 AM Revision a89d928b (git): * array.c (rb_ary_pop_m): use enum ary_take_pos_flags.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
06:37 AM Revision 5c0b21b7 (git): * configure.in (OBJDUMP, OBJCOPY):
*BSD's ports and MacPorts prefix GNU binutils with 'g'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:32 AM Revision 532c6bbb (git): * configure.in (OBJDUMP, OBJCOPY):
Also BSD's ports prefixes GNU binutils with 'g'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:20 AM Revision bebb9b28 (git): merges r20755 from trunk into ruby_1_9_1.
properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:19 AM Revision c0937b62 (git): merges r20805 from trunk into ruby_1_9_1.
* test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_hash):
shut up warning. see [ruby-dev:37437]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:18 AM Revision 8c85ad05 (git): merges r20804 from trunk into ruby_1_9_1.
* string.c (rb_str_hash): gets rid of collisions between different
encoding strings. [ruby-core:20526]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:18 AM Revision aa818c8c (git): merges r20801 from trunk into ruby_1_9_1.
* bin/testrb: set $0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:18 AM Revision 77da5d14 (git): merges r20797 from trunk into ruby_1_9_1.
* ext/bigdecimal/bigdecimal.c (VpToString): reverted modification
(that caused a bug) in r20359. [ruby-dev:37370]
* ext/bigdecimal/bigdecimal.c (BigDecimal_limit): comment update.
[ruby-dev:37465]
git-svn-id: svn+ssh://ci.ruby-lan...
yugui (Yuki Sonoda)
06:18 AM Revision 92011ee8 (git): merges r20796 and r20799 from trunk into ruby_1_9_1.
* lib/test/unit.rb (Test::Unit.setup_argv): ALT_SEPARATOR support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:18 AM Revision cc85974a (git): merges r20794 from trunk into ruby_1_9_1.
* lib/date/format.rb (_parse): m17n compliant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:18 AM Revision 6b3940fd (git): merges r20792 from trunk into ruby_1_9_1.
* re.c: use strlcpy for error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:18 AM Revision 2ea63eeb (git): merges r20782 from trunk into ruby_1_9_1.
* parse.y (stmt): returns dispatched result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:17 AM Revision 677668ea (git): merges r20781 from trunk into ruby_1_9_1.
* parse.y (primary): also in ripper, saves in_def before restoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:17 AM Revision 864d43bf (git): merges r20774 from trunk into ruby_1_9_1.
* configure.in (ac_cv_func_daemon): daemon(3) is deprecated on Mac OS
X 10.5 or later.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:17 AM Revision eaaf8279 (git): merges r20773 from trunk into ruby_1_9_1.
* configure.in (ac_cv_header_ucontext_h): do not use ucontext.h on Mac
OS X 10.5 or later. merged from MacPorts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:17 AM Revision 7dbb64a2 (git): merges r20771 and r20772 from trunk into ruby_1_9_1.
* ruby.c (set_arg0): use strlcpy() instead of strncpy().
* load.c (rb_feature_p): ditto.
* dln.c (dln_load): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20824 b2dd03c8-39d4-4d8f-98ff-823fe69b...
yugui (Yuki Sonoda)
06:17 AM Revision d3ab1b9c (git): merges r20770 from trunk into ruby_1_9_1.
* parse.y (block_call): block should not be given to yield.
[ruby-core:20583]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:17 AM Revision 83d929ed (git): merges r20769 from trunk into ruby_1_9_1.
Removed json/runner.rb with permission from florian frank. it was serving no purpose
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:16 AM Revision 83c228fd (git): merges r20766 from trunk into ruby_1_9_1.
* thread.c (sleep_timeval): cast tv_usec to long to shut up
warnings on OSX. [ruby-dev:37449]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:16 AM Revision 423ca671 (git): merges r20765 from trunk into ruby_1_9_1.
* ruby.c (process_options): revive global sub, gsub, chop, chomp
only when auto looping options (-p/-n) is specified.
[ruby-core:20570]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20820 b2dd03c8-39d4-4d8f-98ff-82...
yugui (Yuki Sonoda)
06:16 AM Revision 886995ef (git): merges r20758 from trunk into ruby_1_9_1.
* ext/pty/pty.c (chfunc): make it static.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:16 AM Revision 64497c85 (git): merges r20756 from trunk into ruby_1_9_1.
* common.mk (EXTMK_ARGS): shouldn't use ``\"'' because cmd.exe eat
''\'' in such quotes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:16 AM Revision 7bccce49 (git): merges r20754 from trunk into ruby_1_9_1.
* win32/Makefile.sub (config.h): define CANONICALIZATION_FOR_MATHN
to follow r20683.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:16 AM Revision 077d6746 (git): merges r20751 from trunk into ruby_1_9_1.
* lib/rake/packagetask.rb (Rake::PackageTask): small document
update from okkez in [ruby-dev:37443]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:15 AM Revision 33dce13d (git): merges r20748 from trunk into ruby_1_9_1.
* vm_insnhelper.c (vm_callee_setup_arg_complex): uses cfp from
blockptr instead of the current cfp. [ruby-core:20544]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:15 AM Revision 85d944ed (git): merges r20747 and r20802 from trunk into ruby_1_9_1.
* test/ruby/test_metaclass.rb: new test case for metaclass hierarchy.
* class.c (make_metametaclass): new function. extracted from
rb_make_metaclass.
* class.c (rb_make_metaclass): uses make_metametaclass when called for a
metaclas...
yugui (Yuki Sonoda)
06:15 AM Revision 2463b42e (git): merges r20746 from trunk into ruby_1_9_1.
* id.h, template/id.h.tmpl (ruby_method_ids): sees YYTOKENTYPE too.
[ruby-dev:37436]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:15 AM Revision acb61848 (git): merges r20745 from trunk into ruby_1_9_1.
* common.mk (EXTMK_ARGS): needs MINIRUBY for cross-compile.
[ruby-core:20131]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:15 AM Revision 97d6c93b (git): merges r20744 from trunk into ruby_1_9_1.
* vm_eval.c (vm_call0): NODE_ZSUPER supported. [ruby-core:20480]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:15 AM Revision 237ad3e1 (git): mreges r20743 from trunk into ruby_1_9_1.
* vm_eval.c (vm_call_super): uses method_missing().
* vm_eval.c (method_missing): get rid of too large alloca.
* vm_eval.c (rb_call0, method_missing): uses idMethodMissing.
* vm_method.c (rb_add_method, remove_method, rb_undef): uses
...
yugui (Yuki Sonoda)
06:14 AM Revision f29b34f4 (git): merges r20742 from trunk into ruby_1_9_1.
* vm.c (vm_backtrace): defaults to script name for C functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:14 AM Revision 0949c4c6 (git): merges r20741 from trunk into ruby_1_9_1.
* ruby.c (rubylib_mangled_path, rubylib_mangled_path2): cannot use
locale encoding before load path is initialized
* ruby.c (ruby_init_loadpath_safe): ditto.
* ruby.c (process_options): loads encdb so that encodings can be
loaded, ...
yugui (Yuki Sonoda)
06:14 AM Revision 14a2e770 (git): * 2008-12-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:14 AM Revision b3d5c6b0 (git): merges r20735 from trunk into ruby_1_9_1.
* spec/README: directory structrue changed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:40 AM Revision 3d923f01 (git): * test/bigdecimal/test_bigdecimal.rb (TestBigDecimal#test_hash):
shut up warning. see [ruby-dev:37437]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
02:01 AM Revision 6bcd363e (git): * string.c (rb_str_hash): gets rid of collisions between different
encoding strings. [ruby-core:20526]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:58 AM Revision 446bcf9a (git): * 2008-12-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:58 AM Revision a34a6b33 (git): * test/ruby/test_metaclass.rb: removed codes for my debugging.
sorry. [ruby-dev:37470]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:48 AM Bug #883: Failure: test_handle_special_CROSSREF_no_underscore(TestRDocMarkupToHtmlCrossref)
=begin
> I cannot reproduce:

I can reproduce here (Ubuntu Hardy)

ruby-1.9.1-preview2$ ruby19 -v
ruby 1.9.1 (2008-12-01 revision 20438) [i686-linux]

ruby-1.9.1-preview2$ ruby19 $(pwd)/test/rdoc/test_rdoc_markup_to_html_c...
candlerb (Brian Candler)
12:38 AM Bug #883: Failure: test_handle_special_CROSSREF_no_underscore(TestRDocMarkupToHtmlCrossref)
=begin
another failure example:

% cd test
% ruby-trunk ../test/rdoc/test_rdoc_markup_to_html_crossref.rb
nil
Loaded suite ../test/rdoc/test_rdoc_markup_to_html_crossref
Started
F
Finished in 0.058379 seconds.

1) ...
znz (Kazuhiro NISHIYAMA)
 

Also available in: Atom