Project

General

Profile

Activity

From 05/31/2010 to 06/06/2010

06/06/2010

11:11 PM Feature #1800: rubygems can replace system executable files
=begin
Hi,

2010/6/6 Luis Lavena <luislavena@gmail.com>:
>> It is better to have an option to prompt before rewriting a
>> file or executing extconf.rb.
>
> Please note that any gem update that needs to replace a stub script
> (r...
mame (Yusuke Endoh)
10:53 PM Feature #1800: rubygems can replace system executable files
=begin
On Sun, Jun 6, 2010 at 9:07 AM, Yusuke Endoh <redmine@ruby-lang.org> wrote:
>
> I realized more serious concern; "sudo gem install" executes
> extconf.rb with root access, which enables code execution by
> "an attacker".
>
...
luislavena (Luis Lavena)
10:07 PM Feature #1800 (Assigned): rubygems can replace system executable files
=begin
Hi,

I realized more serious concern; "sudo gem install" executes
extconf.rb with root access, which enables code execution by
"an attacker".

I think this does not means any security issue, but means a
simple fact ...
mame (Yusuke Endoh)
10:55 PM Bug #1085: Got the error message, after run 'gem install --test'.
=begin
Hi, Eric

Any update here?

This is the second reminder for this ticket (though I send you
many reminders).
There is a Japanese proverb: Hotoke no kao mo sando made.


I'll close this ticket by committing this p...
mame (Yusuke Endoh)
10:08 PM Bug #2176: [rubygems] $LOAD_PATH includes bin directory
=begin
Hi, Eric

Please please answer to nobu and Luis.

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
08:27 PM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
2010/6/6 Urabe Shyouhei <shyouhei@ruby-lang.org>:
>> To avoid enbugging a new bug, we must choose the another solutions.
>> In this case, it is enough to add a note, "DO NOT USE etc/readline
>> WITH readline6!", to README.
>
...
mame (Yusuke Endoh)
06:42 PM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
> To avoid enbugging a new bug, we must choose the another solutions.
> In this case, it is enough to add a note, "DO NOT USE etc/readline
> WITH readline6!", to README.

? Sorry, can't interpret it. what's a new bug? Why is...
shyouhei (Shyouhei Urabe)
05:40 PM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
Hi,

2010/6/6 Shyouhei Urabe <redmine@ruby-lang.org>:
> Yusuke, I know your feeling so I don't want to attack you, but your
> suggestion is just an yet another new feature -- as long as you see
> licensing issues as features...
mame (Yusuke Endoh)
04:58 PM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
Yusuke, I know your feeling so I don't want to attack you, but your
suggestion is just an yet another new feature -- as long as you see
licensing issues as features (rather than bugs of contractual kind).
=end
shyouhei (Shyouhei Urabe)
01:37 PM Feature #2032 (Assigned): Change the license to "GPLv2+ or Ruby's original".
=begin
Hi,

> I merged a patch in [ruby-dev:39172]: reject readline6.

I really hate the check that rejects linking with readline6,
because it is actually *new feature*. The 1.9.2 feature was
already frozen. Rather, previe...
mame (Yusuke Endoh)
06:54 PM Bug #3398 (Closed): 1.9.2 SEGV during test-all
=begin
OSXで、TestArray#test_product中にSEGVが発生します。

rb_ary_productのt0が存在するheap slotがGCでfreeされてしまうのが原因のようです。t0に対するobj_freeは呼ばれないのでマーク漏れではないと思われ、もしかしたらheap slotのlimitがずれているのかも知れません。

ある程度大きなプログラムでないと再現しないようで、最小ケースは作成していませんが、私の環境では
...
yugui (Yuki Sonoda)
04:19 PM Bug #3231: Digest Does Not Build
=begin
Yes - it does fix the issue for md5. Can this also be done for the other digest subdirectories?

Thanks for the help.

=end
cfis (Charlie Savage)
02:46 PM Revision dd4b7184 (git): * gc.c (heaps_slot, assign_heap_slot, gc_sweep): skip sweep if
heap_slot's status is pre-free phase. [ruby-dev:41543]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masaya Tarui
01:37 PM Revision 88eb029a (git): * string.c (rb_str_buf_cat_escaped_char): get rid of buffer
overflow on platforms int is bigger than 32bit, and warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:37 PM Revision ce4a6e68 (git): * string.c (rb_str_buf_cat_escaped_char): get rid of buffer
overflow on platforms int is bigger than 32bit, and warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:17 PM Bug #3377 (Closed): 100000.times { Time.allocate }: [FATAL] failed to allocate memory
=begin
This issue was solved with changeset r28185.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Anonymous
01:06 PM Revision 0363b91b (git): * test/ruby/test_array.rb (test_product): test for r28187.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:59 AM Revision ec440b0b (git): fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:56 AM Revision 58772d71 (git): * array.c (rb_ary_product): clear uninitialized elements in temporary
array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:47 AM Bug #3394 (Closed): spec/rubyspec/core/array/product_spec.rb SEGV
=begin
This issue was solved with changeset r28184.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
09:09 AM Bug #3394 (Closed): spec/rubyspec/core/array/product_spec.rb SEGV
=begin
と、いうわけで、とりあえず spec/rubyspec/core/array/product_spec.rb は
SEGV するようです。

(RUBY_DEBUG のためコンパイルでは RUBY_DEBUG_ENV マクロをつけてあります。)

% RUBY_DEBUG=gc_stress ./ruby spec/mspec/bin/mspec-run -f s
spec/rubyspec/core/array/product_spec.r...
akr (Akira Tanaka)
08:27 AM Bug #3393 (Closed): NEWS Mentions Enumerable#join
=begin
This issue was solved with changeset r28182.
Run Paint, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
07:07 AM Bug #3393 (Closed): NEWS Mentions Enumerable#join
=begin
This has been reverted. Needs applying to trunk and 1.9.2 branch.
=end
runpaint (Run Paint Run Run)
04:27 AM Revision 46880d47 (git): * test/ruby/test_env.rb (class TestEnv): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masaya Tarui
04:27 AM Revision 6ae881af (git): * test/ruby/test_env.rb (class TestEnv): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masaya Tarui
04:12 AM Revision 28754d0a (git): * gc.c: set_heaps_increment is not
called before gc_makrs of lazy sweeping because live_num not
contain finalize objects. So call set_heaps_increment after lazy
sweeping if free_num are not enough. And move free_min to struct
rb_objspace for above. [ruby-dev:41499]...
authorNari (Narihiro Nakamura)
01:44 AM Revision 6e787a63 (git): * array.c (rb_ary_product): need to set the length in order to get
the entries marked. [ruby-dev:41540]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:44 AM Revision c22b223c (git): * array.c (rb_ary_product): need to set the length in order to get
the entries marked. [ruby-dev:41540]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

06/05/2010

11:26 PM Revision 366ff21e (git): * vm.c (Init_BareVM): call Init_native_thread here.
* thread.c (Init_Thread): don't call Init_native_thread.
* thread_pthread.c (Init_native_thread): exported.
* thread_win32.c (Init_native_thread): ditto.
[ruby-dev:41536]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_...
akr (Akira Tanaka)
11:26 PM Revision f40d2c96 (git): * vm.c (Init_BareVM): call Init_native_thread here.
* thread.c (Init_Thread): don't call Init_native_thread.
* thread_pthread.c (Init_native_thread): exported.
* thread_win32.c (Init_native_thread): ditto.
[ruby-dev:41536]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28183 b2dd...
akr (Akira Tanaka)
11:21 PM Revision 81cd7b07 (git): * NEWS: Enumerable#join has been reverted. [ruby-core:30604]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:21 PM Revision 60d6d93b (git): * NEWS: Enumerable#join has been reverted. [ruby-core:30604]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:56 PM Revision fce00b24 (git): merge revision(s) 28103:
* encoding.c (rb_enc_unicode_p): check the encoding is Unicode
or not by the name; not function's pointer. [ruby-dev:41479]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28181 b2dd03c8-39d4-4d8f-98ff-823fe69...
naruse (Yui NARUSE)
02:57 PM Feature #3388: regexp support for start_with? and end_with?
=begin
Missed.

def end_with?
i = rindex(pattern) and ($& ? $~.end(0) : i + pattern.length) == length or false
end

or

def end_with?(pattern)
if String === pattern
!!index(pattern, -pattern.lengt...
nobu (Nobuyoshi Nakada)
02:42 PM Feature #3388: regexp support for start_with? and end_with?
=begin
def start_with?(pattern)
!!rindex(pattern, 0)
end

def end_with(pattern)
rindex(pattern) and (!$& || $~.end(0) == length) or false
end

=end
nobu (Nobuyoshi Nakada)
02:14 PM Feature #3388 (Open): regexp support for start_with? and end_with?
=begin

=end
marcandre (Marc-Andre Lafortune)
02:13 PM Feature #3388: regexp support for start_with? and end_with?
=begin
I'm moving this to the feature's tracker, since I feel it would make a valid addition.

PS: Yui, that code won't work:

"Hello world. Bye".end_with? /e/ # => false
=end
marcandre (Marc-Andre Lafortune)
12:54 PM Feature #3388: regexp support for start_with? and end_with?
=begin
def end_with?(suffix)
if suffix.kind_of(String)
index(suffix) + suffix.length == self.length
else
m = suffix.match(self)
m ? m.post_match.empty? : false
end
end
=end
naruse (Yui NARUSE)
08:08 AM Feature #3388: regexp support for start_with? and end_with?
=begin
Not a bug.
=end
nobu (Nobuyoshi Nakada)
02:16 PM Revision 09e9807a (git): merge revision(s) 28174:28178:
* re.c (rb_reg_expr_str): ASCII incompatible strings
must always escape or converted.
* re.c (rb_reg_expr_str): use rb_str_buf_cat_escaped_char
when resenc is given: for Regexp#inspect or error message.
...
naruse (Yui NARUSE)
02:15 PM Revision e1c14eab (git): merge revision(s) 28104:
* string.c (rb_str_inspect): inspect as ASCII when the codepoint
of a character in Unicode string is ASCII printable one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:47 PM Revision 7376a528 (git): * text/ruby/envutil.rb: ToArray when args is String.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:40 PM Bug #3392 (Closed): Kernel.open Ignores :binmode Key in Opts Hash w.r.t Encoding
=begin
(Ignoring the encoding names, there appear to be at least 30 permutations of mode string now accepted, and that's before you allow for platform-specific differences, so please forgive me if this is a stupid question.)

When K...
runpaint (Run Paint Run Run)
11:32 AM Revision 3a80743c (git): * re.c (rb_reg_expr_str): ASCII incompatible strings
must always escape or converted.
* re.c (rb_reg_expr_str): use rb_str_buf_cat_escaped_char
when resenc is given: for Regexp#inspect or error message.
* re.c (rb_reg_desc): add 'n' for ENCODING_NONE.
git-svn-id: svn+ssh://ci.ruby-l...
naruse (Yui NARUSE)
11:31 AM Revision 0d49737b (git): * string.c (sym_inspect): Escape when the symbol is not
resulted encoding and not ascii_only. It had escaped
ascii-incompatible string, but it is wrong.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:31 AM Revision 291809f4 (git): * string.c (rb_str_buf_cat_escaped_char): defined.
Splited from rb_str_inspect.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:28 AM Revision 7f513123 (git): add an assertion message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:57 AM Bug #1573 (Closed): $0 behaves unexpectedly
=begin
This issue was solved with changeset r28161.
Morris, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
08:41 AM Bug #3391 (Assigned): Use single exclamation mark instead of double exclamation mark for IRB
=begin

=end
nobu (Nobuyoshi Nakada)
08:33 AM Bug #3391 (Closed): Use single exclamation mark instead of double exclamation mark for IRB
=begin
Hello,

I'm adding this patch which changes the "!!" double exclamation marks in lib/irb.rb to use single exclamation marks "!", I think using single exclamation marks are more formal for outputs and Ruby itself.

The pat...
diegoviola (Diego Viola)
08:37 AM Bug #3389 (Closed): [Docs]: Kernel.test Specifies Incorrect Return Type for ?W
=begin
This issue was solved with changeset r28160.
Run Paint, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
12:34 AM Bug #3389 (Closed): [Docs]: Kernel.test Specifies Incorrect Return Type for ?W
=begin
The rdoc claims test(?W, file) returns a Boolean result; in fact, it returns an Integer or nil. Patch attached.
=end
runpaint (Run Paint Run Run)
07:39 AM Revision 0133aee4 (git): * .gdbinit (rp): show type name for RTypedData.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:59 AM Revision f229a064 (git): * ruby.c (process_options, load_file_internal): $0 seen from
required libraries by -r option should be the main script.
[ruby-core:23717]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:59 AM Revision af97da84 (git): * ruby.c (process_options, load_file_internal): $0 seen from
required libraries by -r option should be the main script.
[ruby-core:23717]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:15 AM Revision ec38843e (git): * test/ruby/envutil.rb (EnvUtil#invoke_ruby): support for child
process env.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:15 AM Revision 2c2ae5b1 (git): * test/ruby/envutil.rb (EnvUtil#invoke_ruby): support for child
process env.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:11 AM Revision 46f6b081 (git): * test/net/imap/test_imap.rb (test_exception_during_shutdown):
need to raise always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:11 AM Revision f75ab015 (git): * test/net/imap/test_imap.rb (test_exception_during_shutdown):
need to raise always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:31 AM Revision 3a2319f3 (git): * 2010-06-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:31 AM Revision 1c60a21e (git): * lib/matrix.rb: Matrix library copied from 1.9. It is now identical
except for methods dealing with Complex numbers which are absent.
[ruby-core:26268]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
04:18 AM Revision 159fd9ee (git): * lib/matrix.rb (eql?, ==, minor): Fix bugs when comparing/returning
some empty matrices.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
04:17 AM Revision 87c1da09 (git): * lib/matrix.rb: trivial optimizations
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
04:12 AM Revision be77d027 (git): * lib/matrix.rb (eql?, ==, minor): Fix bugs when comparing/returning some
empty matrices.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
04:12 AM Revision 906f8026 (git): * lib/matrix.rb: trivial optimizations
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
02:01 AM Revision d81b2491 (git): * error.c (rb_name_err_mesg_new): guard mesg, recv and method.
The problem in [ruby-dev:41464] is caused because mesg is collected.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:01 AM Revision 62b89f1a (git): * error.c (rb_name_err_mesg_new): guard mesg, recv and method.
The problem in [ruby-dev:41464] is caused because mesg is collected.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:04 AM Revision 8bca0932 (git): * .gdbinit (rp): detect and show RTypedData.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:57 AM Revision b83fc873 (git): * ruby.c (process_options): revert r25330, so that $0 can be seen
from required libraries by -r option. [ruby-core:23717]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:57 AM Revision 2ef85089 (git): * ruby.c (process_options): revert r25330, so that $0 can be seen
from required libraries by -r option. [ruby-core:23717]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

06/04/2010

11:30 PM Revision fd4417f8 (git): * file.c (rb_f_test): 'W' should test writable by real uid/git,
not world writable. [ruby-core:30587]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:30 PM Revision 45815f9c (git): * file.c (rb_f_test): 'W' should test writable by real uid/git,
not world writable. [ruby-core:30587]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:26 PM Bug #3305 (Assigned): test_processのMANDATORY_ENVS
=begin

=end
usa (Usaku NAKAMURA)
09:22 PM Revision 72992b97 (git): * 2010-06-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:22 PM Revision 79aac054 (git): Clarification of what '*' matches. Patch by John Wells <john.wells at greatworx.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
07:45 PM Feature #3388 (Rejected): regexp support for start_with? and end_with?
=begin

=end
naruse (Yui NARUSE)
07:24 PM Feature #3388 (Feedback): regexp support for start_with? and end_with?
=begin
ruby-1.9.2-head > "aBcdeFghIj".start_with?(/abc/i)
=> false

In my implementation of start_with? it is easy enough to utilize #index, which works fine:

def start_with?(pattern)
index(pattern) == 0
end

...
trans (Thomas Sawyer)
04:24 PM Bug #1573: $0 behaves unexpectedly
=begin
Hi,

> I am not him, but you go ahead.

Sorry, my patch does not work, though I cannot remember what I thought
when writing the patch...

$ ./ruby -I. -rbar foo.rb
nil
"foo.rb"


This issue is caused...
mame (Yusuke Endoh)
04:10 PM Bug #2718 (Assigned): DRb mixing up function return values between PIDs after fork()
=begin
Hi,

Sorry for late response, but I cannot reproduce on both 1.8.7-p249
and 1.9.1-p378.

I assign this issue to Masatoshi Seki, the maintainer for drb.
Seki-san, could you check this issue?

--
Yusuke Endoh <ma...
mame (Yusuke Endoh)
12:02 PM Bug #1541: mingw ssl: Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
=begin
Hello,

In message "[ruby-core:30581] Re: [Bug #1541][Closed] mingw ssl: Errno::ENOTSOCK: An operation was attempted on something that is not a socket."
on Jun.04,2010 11:58:13, <usa@garbagecollect.jp> wrote:
> 69) simil...
usa (Usaku NAKAMURA)
11:58 AM Bug #1541: mingw ssl: Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
=begin
Hello,

In message "[ruby-core:30577] [Bug #1541][Closed] mingw ssl: Errno::ENOTSOCK: An operation was attempted on something that is not a socket."
on Jun.04,2010 02:23:43, <redmine@ruby-lang.org> wrote:
> It appears fix...
usa (Usaku NAKAMURA)
02:23 AM Bug #1541 (Closed): mingw ssl: Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
=begin
It appears fixed now with

ruby 1.9.3dev (2010-06-03 trunk 28150) [i386-mingw32] (using "OpenSSL 0.9.8h 28 May 2008")

The only failures I see with make test-all are:
http://gist.github.com/424180
(12 failures)

...
rogerdpack (Roger Pack)
10:47 AM Bug #3387 (Closed): Re: [ruby-cvs:35358] Ruby:r28148 (trunk, ruby_1_9_2): * ext/dl/cfunc.c (rb_dlcfunc_inspect): suppress warnings by
=begin
This issue was solved with changeset r28156.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
10:20 AM Bug #3387 (Assigned): Re: [ruby-cvs:35358] Ruby:r28148 (trunk, ruby_1_9_2): * ext/dl/cfunc.c (rb_dlcfunc_inspect): suppress warnings by
=begin

=end
usa (Usaku NAKAMURA)
10:19 AM Bug #3387 (Closed): Re: [ruby-cvs:35358] Ruby:r28148 (trunk, ruby_1_9_2): * ext/dl/cfunc.c (rb_dlcfunc_inspect): suppress warnings by
=begin
こんにちは、なかむら(う)です。

In message "[ruby-cvs:35358] Ruby:r28148 (trunk, ruby_1_9_2): * ext/dl/cfunc.c (rb_dlcfunc_inspect): suppress warnings by"
on Jun.03,2010 19:34:02, <nobu@ruby-lang.org> wrote:
> nobu 2010-06-03 19:33...
usa (Usaku NAKAMURA)
02:24 AM Revision c0529589 (git): * test/dl/test_cfunc.rb: test for r28156
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
02:24 AM Bug #2760 (Rejected): unable to cross-compile win32.c
=begin

=end
rogerdpack (Roger Pack)
01:46 AM Revision df25a131 (git): * ext/dl/cfunc.c (rb_dlcfunc_inspect): should taint the result.
[ruby-dev:41533]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:46 AM Revision da0ac851 (git): * ext/dl/cfunc.c (rb_dlcfunc_inspect): should taint the result.
[ruby-dev:41533]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:37 AM Revision bc561d0b (git): * 2010-06-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:37 AM Revision 408f0a92 (git): * gc.c (gc_sweep): suppress a warning on VC, again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura

06/03/2010

11:38 PM Bug #3385 (Closed): ext/dbm: accept various version of db
=begin
ext/dbのextconf.rbに、様々なバージョンのBerkley DBを認識させるためのパッチです。


--- ext/dbm/extconf.rb.orig 2009-10-02 10:45:39.000000000 +0000
+++ ext/dbm/extconf.rb
@@ -5,13 +5,16 @@ dir_config("dbm")
if dblib = with_config("dbm-type", ni...
taca (Takahiro Kambe)
11:33 PM Bug #3384 (Closed): ext/openssl: avoid to use cast
=begin
ext/opensslで、この部分だけ旧来のcastを使用しているのは何か理由があるのでしょうか?


--- ext/openssl/ossl_ssl.c.orig 2010-05-23 12:18:51.000000000 +0000
+++ ext/openssl/ossl_ssl.c
@@ -700,10 +700,10 @@ ossl_sslctx_get_ciphers(VALUE self)
if (!ci...
taca (Takahiro Kambe)
11:16 PM Bug #2616: unable to trap in doze
=begin
> wanabe-san, do you still track this problem?

No. I wanted to write a patch, but I couldn't.
This problem is too difficult for me. Sorry.
=end
wanabe (_ wanabe)
10:34 AM Bug #2616: unable to trap in doze
=begin
wanabe-san, do you still track this problem?
=end
usa (Usaku NAKAMURA)
10:27 AM Bug #2616: unable to trap in doze
=begin

=end
usa (Usaku NAKAMURA)
10:27 AM Bug #2616: unable to trap in doze
=begin

=end
usa (Usaku NAKAMURA)
10:58 PM Revision 1e86a6b9 (git): Backport #2392 [ruby-core:26868]; backport of r23353 which suppresses a strict-aliasing warning in gcc-4.4.x -O2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@28153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wyhaines (Kirk Haines)
09:06 PM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin
Tests are welcome.
=end
nobu (Nobuyoshi Nakada)
10:41 AM Bug #3140 (Assigned): gem activation has changed between 1.8 and 1.9
=begin

=end
usa (Usaku NAKAMURA)
07:07 PM Bug #3383 (Closed): static-linked-extが動かない
=begin
This issue was solved with changeset r28147.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
06:44 PM Bug #3383 (Closed): static-linked-extが動かない
=begin
$ ./ruby -ep
./ruby: No such file or directory - /home/nakada/src/ruby/trunk/x86_64-linux.debug/etc.so (Errno::ENOENT)
=end
nobu (Nobuyoshi Nakada)
06:27 PM Bug #3317 (Closed): test/rake/test_win32.rb does strange tests and reports errors and failures
=begin
This issue was solved with changeset r28145.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
10:40 AM Bug #3317 (Assigned): test/rake/test_win32.rb does strange tests and reports errors and failures
=begin

=end
usa (Usaku NAKAMURA)
06:18 PM Bug #3382 (Assigned): cannot cross-compile socket.so for winsock2 (mingw32)
=begin
1.8.7の後は1.8.6にもチケット回してあげてください。
=end
usa (Usaku NAKAMURA)
06:17 PM Bug #3382 (Closed): cannot cross-compile socket.so for winsock2 (mingw32)
=begin
This issue was solved with changeset r28144.
Shyouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
usa (Usaku NAKAMURA)
06:07 PM Bug #3382 (Closed): cannot cross-compile socket.so for winsock2 (mingw32)
=begin
mingw32のクロスコンパイラで--with-winsock2としてコンパイルすると、socket.soを作っている最中に以下のような感じでコンパイルに失敗します。1.8 specificのように見えます。

make[1]: Entering directory `/home/shyouhei/build/ruby_1_8_7-mingw32/ext/socket'
i586-mingw32msvc-gcc -I. -I../.. -I...
shyouhei (Shyouhei Urabe)
03:04 PM Revision de082777 (git): * 2010-06-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:04 PM Revision e53a62ae (git): * ext/digest/lib/digest/hmac.rb: Emit a deprecation warning in
verbose mode and add a caution to the overview section of the
document. [ruby-dev:41525]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
02:59 PM Revision e1ef999d (git): Mention deprecation of digest/hmac.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
02:48 PM Revision 24be1f14 (git): * ext/digest/lib/digest/hmac.rb: Emit a deprecation warning in
verbose mode and add a caution to the overview section of the
document. [ruby-dev:41525]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
01:07 PM Bug #3381 (Closed): test/io/nonblock/test_flush.rb reports an error on Windows
=begin
This issue was solved with changeset r28143.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
10:10 AM Bug #3381 (Closed): test/io/nonblock/test_flush.rb reports an error on Windows
=begin
口頭で伝えていても対応してもらえないままなのでチケット化しておきます。

1) Error:
test_flush(TestIONonblock):
Errno::EBADF: Bad file descriptor
C:/trunk/test/io/nonblock/test_flush.rb:11:in `nonblock='
C:/trunk/test/io/nonblock/test_flush.rb:...
usa (Usaku NAKAMURA)
11:36 AM Feature #3380: Minitest Runner Command
=begin

=end
naruse (Yui NARUSE)
10:45 AM Feature #836 (Assigned): Patches for StringScanner, adding #size, #captures and #values_at
usa (Usaku NAKAMURA)
10:45 AM Bug #1388 (Assigned): cygwin-1.7, gcc4-4.3, and ruby-1.9. make btest #236 test_io.rb Segmentation fault
=begin

=end
usa (Usaku NAKAMURA)
10:44 AM Bug #1541 (Feedback): mingw ssl: Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
=begin
Roger, do these failures still exists?
I cannot reproduce them on mswin...
I want to identify the problem part; mingw? openssl itself? or others?
=end
usa (Usaku NAKAMURA)
10:33 AM Revision 4cc67972 (git): * ext/dl/cfunc.c (rb_dlcfunc_inspect): suppress warnings by
rb_sprintf.
* ext/dl/cptr.c (rb_dlptr_s_malloc): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:33 AM Revision 8984ef47 (git): * ext/dl/cfunc.c (rb_dlcfunc_inspect): suppress warnings by
rb_sprintf.
* ext/dl/cptr.c (rb_dlptr_s_malloc): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:32 AM Bug #3337 (Assigned): MS-DOS device names are identified as readable_real
usa (Usaku NAKAMURA)
10:32 AM Bug #2137 (Open): Dir.glob does not support unicode on Windows
=begin

=end
usa (Usaku NAKAMURA)
10:30 AM Bug #3323: Spawning process on unicode path is not supported on windows
=begin

=end
usa (Usaku NAKAMURA)
10:30 AM Bug #1771: system()/popen()/popen3() & windows & unicode is not working
=begin

=end
usa (Usaku NAKAMURA)
10:29 AM Bug #1685: Some windows unicode path issues remain
=begin

=end
usa (Usaku NAKAMURA)
09:58 AM Revision 7b6e8b91 (git): * load.c (ruby_init_ext): statically linked extensions have no
real path. [ruby-dev:41526]
* vm.c (rb_vm_call_cfunc): add filepath argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:58 AM Revision 7336f32c (git): * load.c (ruby_init_ext): statically linked extensions have no
real path. [ruby-dev:41526]
* vm.c (rb_vm_call_cfunc): add filepath argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:47 AM Bug #3379 (Closed): test-all Segmentation fault on x64-mswin64
=begin
This issue was solved with changeset r28138.
sakiyama, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
usa (Usaku NAKAMURA)
09:40 AM Revision 140d43a7 (git): * insns.def (concatarray): removed unused variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:17 AM Revision c8a0b914 (git): * test/rake/test_win32.rb (Rake::TestWin32): update tests.
[ruby-core:30309]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:17 AM Revision 55789617 (git): * test/rake/test_win32.rb (Rake::TestWin32): update tests.
[ruby-core:30309]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:15 AM Revision daf6afa3 (git): * configure.in: should replace COMMON_HEADERS if --with-winsock2 is
specified. [ruby-dev:41521]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:05 AM Revision cb4bba38 (git): * test/io/nonblock/test_flush.rb (test_flush): try pipe and
socketpair. [ruby-dev:41517]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:05 AM Revision 188881b2 (git): * test/io/nonblock/test_flush.rb (test_flush): try pipe and
socketpair. [ruby-dev:41517]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:25 AM Revision 31109396 (git): * test/gdbm/test_gdbm.rb (test_s_open_create_new): Windows doesn't supports
UNIX like permittions.
* test/gdbm/test_gdbm.rb (test_s_open_error): Errno::EWOULDBLOCK is raised on
Windows in such case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:24 AM Revision 3a08f62b (git): * test/gdbm/test_gdbm.rb (test_s_open_create_new): Windows doesn't supports
UNIX like permittions.
* test/gdbm/test_gdbm.rb (test_s_open_error): Errno::EWOULDBLOCK is raised on
Windows in such case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
01:17 AM Revision 43fa9ba7 (git): * test/openssl/test_config.rb (test_freeze): skip on Windows because Config.new
needs an argument on it. When the maintainer returns, this test shall be
corrected.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:40 AM Revision 321125ec (git): merge from trunk (r28138)
* ext/dl/dl.h (DLSTACK_TYPE): type of stack is same as VALUE.
reported by sakiyama shin in [ruby-dev:41514]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:38 AM Revision fdc43267 (git): * ext/dl/dl.h (DLSTACK_TYPE): type of stack is same as VALUE.
reported by sakiyama shin in [ruby-dev:41514]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura

06/02/2010

11:36 PM Feature #3380 (Rejected): Minitest Runner Command
=begin
MiniTest needs a commandline tool for running tests, just as TestUnit had with testrb. It would be nice if we could just have testrb back, but that must be weighed against the fact the TestUnit 2.0+ still uses it.

In any cas...
trans (Thomas Sawyer)
09:49 PM Revision 325d06c7 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:32 PM Bug #3379 (Closed): test-all Segmentation fault on x64-mswin64
=begin
ruby-1.9.2-preview3 x64-mswin64でtest-allが実行できません。
dl.hのDLSTACK_TYPEをlongから_int64へ変更すると動きます。

Z:\ruby-1.9.2-preview3\build>nmake test-all

Microsoft(R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Mi...
beuniv (shintaro kuwamoto)
09:30 PM Revision d57a8a44 (git): * test/ruby/test_path.rb (test_path): workaround for drive
letter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:25 PM Revision 90850320 (git): * test/ruby/test_path.rb (test_path): get rid of blocking on
access to non-existent host.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:25 PM Revision 54fe5bf6 (git): * test/ruby/test_path.rb (test_path): get rid of blocking on
access to non-existent host.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:42 PM Revision 18b4480e (git): Allow bin/* install from dot-dirs. Fixes rvm and multiruby installations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
05:02 PM Bug #3370: test failure of drb
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:41505] Re: [Bug #3370] test failure of drb"
on Jun.02,2010 09:13:49, <usa@garbagecollect.jp> wrote:
> > 安定していつも失敗しますか?
>
> 私の手元では再現率100%です。
> 環境に依存する可能性はありますが、まだ確認できていません。

10...
usa (Usaku NAKAMURA)
09:13 AM Bug #3370: test failure of drb
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:41500] Re: [Bug #3370] test failure of drb"
on Jun.01,2010 23:33:26, <m_seki@mva.biglobe.ne.jp> wrote:
> > 何か調査すべきことがあったら教えてください。
>
> 安定していつも失敗しますか?

私の手元では再現率100%です。
環境に依存する可...
usa (Usaku NAKAMURA)
04:25 PM Revision 7563bfdc (git): * 2010-06-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:25 PM Revision 90dafe61 (git): * ext/tk/lib/tk.rb: fix typo and race condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
04:24 PM Revision ed02f66e (git): * ext/tk/lib/tk.rb: fix typo and race condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
04:02 PM Revision 2b71200a (git): * 2010-06-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:02 PM Revision 230ca5ff (git): * ext/dl/lib/dl/cparser.rb (parse_ctype): add backwards compatibility
by supporting "uint" types in the c parser. [ruby-core:29750]
* test/dl/test_cparser.rb: adding a test for "uint" changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
02:43 PM Bug #1934: Segmentation fault
=begin
I can reproduce this on trunk by running euler060a.rb:

run@paint:/tmp → ruby 475
# of primes: 2 results: [] prime: 7 process time: 0.1
# of primes: 3 results: [] prime: 11 process time: 0.1
# of primes: 4 results:...
runpaint (Run Paint Run Run)
02:06 PM Revision fabba1b9 (git): * test/ruby/test_{string,symbol}.rb (test_ascii_incomat_inspect):
ASCII range characters are no longer escaped.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:59 PM Feature #3378: Range#each should not yield its `begin' itself
=begin
あ、タイトルの方を提案だと思ってしまったのですが、変更したときにそこで止まってしまうのを直せないか、
については議論の余地がありますね。

止まることを予期したプログラムというのはないと考えてもいいと思うので、もし前記の点について1.9の方で
整合性ある結論が出たら、1.8も寄り添うことは可能かも知れません。(あまり気乗りはしませんが)
=end
knu (Akinori MUSHA)
12:58 PM Feature #3378: Range#each should not yield its `begin' itself
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:41503] [Bug #3378] Range#each should not yield its `begin' itself"
on Wed, 2 Jun 2010 01:46:09 +0900, Yusuke Endoh <redmine@ruby-lang.org> writes:

|1.8 で、以下のコードが "A" しか出力してくれません。
...
matz (Yukihiro Matsumoto)
12:46 PM Feature #3378: Range#each should not yield its `begin' itself
=begin
Rangeの左端がStringの場合をspecial-caseして(b..e).each→b.upto(e)に変換するんですが、
1.9ではString#uptoが最初の引数をdupするようになったのでこうなっています。
つまりString#uptoの仕様が変わったということです。

RangeはFixnum, Symbol, String以外の場合は左端をdupしたりはしないので、
むしろ、1.9の挙動についてもう一度考えた方がよさ...
knu (Akinori MUSHA)
08:05 AM Feature #3378 (Assigned): Range#each should not yield its `begin' itself
=begin
r25632
=end
nobu (Nobuyoshi Nakada)
01:46 AM Feature #3378 (Rejected): Range#each should not yield its `begin' itself
=begin
遠藤です。

1.8 で、以下のコードが "A" しか出力してくれません。

$ ruby18 -ve '("A".."H").map {|x| p x; x << 1 }'
ruby 1.8.8dev (2010-05-26) [i686-linux]
"A"

"B" "C" ... "H" まで出力してほしいです。1.9 ではしてくれます。

--
Yusuke Endoh <mame@t...
mame (Yusuke Endoh)
12:07 PM Bug #3372 (Closed): Segfault when passing block_param to aref call with tOP_ASGN : foo[&b] += 21
=begin
This issue was solved with changeset r28123.
Olivier, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
matz (Yukihiro Matsumoto)
11:37 AM Feature #3072: Classes Inheriting from Data
=begin
>> What is the relationship between the two that the superclass is maintaining?
> The struct RData.

Which is utterly irrelevant to the user. :-) A common superclass should imply common behaviour, not reveal a dubious artif...
runpaint (Run Paint Run Run)
10:11 AM Revision 67190ad1 (git): * 2010-06-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:11 AM Revision 9e27c24d (git): merge from trunk (r28125)
* test/dl/test_cfunc.rb (test_last_error): CFunc.last_error is thread local
variable. So, if another test calls CFunc#call, it's set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28126 b2dd03c8-39d4-4d8f-98ff-823f...
U.Nakamura
08:38 AM Bug #3377: 100000.times { Time.allocate }: [FATAL] failed to allocate memory
=begin

=end
authorNari (Narihiro Nakamura)
07:49 AM Revision 597d60f7 (git): * test/dl/test_cfunc.rb (test_last_error): CFunc.last_error is thread local
variable. So, if another test calls CFunc#call, it's set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:05 AM Revision 35eb8990 (git): * 2010-06-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:05 AM Revision 276fb7e7 (git): * compile.c (iseq_compile_each): should consider block on stack,
if block argument is passed. [ruby-core:30534]
* parse.c (arg_concat_gen): should append to nd_head, not to
nd_iter for NODE_BLOCK_PASS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
12:09 AM Feature #3203: LazySweepGC patch
=begin
2010年6月1日10:55 KISHIMOTO, Makoto <ksmakoto@dd.iij4u.or.jp>:
>
> 1) Error:
> test_cgi_core_htmltype(CGICoreTest):
> TypeError: can't convert NoMethodError into String
> /export/home/ksmakoto/ruby-trunk/test/cgi/test_cgi_c...
akr (Akira Tanaka)

06/01/2010

11:28 PM Revision 8978d52a (git): * .gdbinit: classic version.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:27 PM Bug #3376 (Closed): russian support
=begin
This issue was solved with changeset r28120.
Yury, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
08:39 PM Bug #3376: russian support
=begin
Hi,

Thank you for your report.

2010/6/1 Yury Korolev <redmine@ruby-lang.org>:
> 1. String#upcase/String#downcase don't work with russian characters

This is the spec. Traditionally, they have handled only ASCII characte...
mame (Yusuke Endoh)
08:34 PM Bug #3376: russian support
=begin

=end
naruse (Yui NARUSE)
08:33 PM Bug #3376: russian support
=begin
> 1. String#upcase/String#downcase don't work with russian characters

Ruby's String#upcase is for ASCII.

> 2. Regex doesn't work with POSIX bracket classes
> "привет" =~ /[:alpha:]/

"привет" =~ /[[:alpha:]]/ is c...
naruse (Yui NARUSE)
07:58 PM Bug #3376 (Closed): russian support
=begin
1. String#upcase/String#downcase don't work with russian characters

ruby-1.9.2-preview3 > "привет".upcase
=> "привет"
ruby-1.9.2-preview3 > "ПРИВЕТ".downcase
=> "ПРИВЕТ"

2. Regex doesn't work with POSIX bracke...
dcab (Yury Korolev)
11:07 PM Bug #3377 (Closed): 100000.times { Time.allocate }: [FATAL] failed to allocate memory
=begin
以下のように
[FATAL] failed to allocate memory
というエラーが出ます。

% ./ruby -ve '100000.times { Time.allocate }'
ruby 1.9.3dev (2010-05-28 trunk 28053) [i686-linux]
[FATAL] failed to allocate memory

ここでは Time オブジェクトをたくさん生成し...
akr (Akira Tanaka)
09:37 PM Feature #3344 (Closed): supporting rfc 5789 - http patch verb
=begin
This issue was solved with changeset r28119.
Guilherme, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
09:19 PM Feature #3328: Kernel#p outputs as default_internal encoding, and so on
=begin
樽家です。

> |> 同様な処理といいながらなぜ新しい API を追加するんですか。
> |
> |Featureなので、私的に思い切ってどう処理したら理想的だろうと考えた結果です。
> |同様な処理=inspect_encodeですが、結局Symbol型やRegexp型に限らず
> |必要になりそうなので分離したいと思いました。
>
> 結論がないので申し訳ないのですが、encoding処理の理想は空気の
> ように見えないことで、...
tarui (Masaya Tarui)
03:14 AM Feature #3328: Kernel#p outputs as default_internal encoding, and so on
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:41482] Re: [Feature #3328] Kernel#p outputs as default_internal encoding, and so on"
on Mon, 31 May 2010 19:16:38 +0900, Masaya TARUI <tarui@prx.jp> writes:

|樽家です。

|> 同様な処理といいな...
matz (Yukihiro Matsumoto)
04:11 PM Feature #3375 (Closed): --disable-libedit to disable libedit
=begin
ext/readlineのメンテナの高尾さん:

現在、--enable-libeditとするとreadlineのヘッダをhave_libraryしなくなりますが、逆に--disable-libeditとしてもやっぱりeditline/readline.hをhave_headerしてしまいます。--disable-libeditと明示的に指定したときはlibeditは無視して欲しいと思うんですが、どんなもんでしょう。

そのようにする...
shyouhei (Shyouhei Urabe)
02:23 PM Revision 8fd6a9e7 (git): merge revision(s) 28120:
* re.c (unescape_nonascii): \P{FOO} is also Unicode property in
regexp. [ruby-core:30540]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:20 PM Revision 4c897fdd (git): * re.c (unescape_nonascii): \P{FOO} is also Unicode regexp. [ruby-core:30540]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:30 PM Revision ab70e53a (git): * lib/net/http.rb: adding support to rfc5789 patch verb.
Added a Net::HTTP::Patch class which expects a message body
and response body. It recycles the post method into a patch one,
that will send the encoded representation to the server.
Summarizing, a new class has been created, the po...
naruse (Yui NARUSE)
10:56 AM Feature #3203: LazySweepGC patch
=begin
きしもとです

手元の環境だと以下のエラーが出てます。
test-all すると(動き出すまでにえらい時間がかかったあと)同じところで to_str が
無限に再帰して? core を吐きます。

$ ../tool/runruby.rb --extout=.ext -- -e 'GC.stress = true; load "../test/runner.rb"' ../test/cgi/test_cgi_core.rb
Loaded s...
metanest (Makoto Kishimoto)
10:33 AM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
I merged a patch in [ruby-dev:39172]: reject readline6.
If someone want to change the license of Ruby and work about it, please reopen this.
=end
naruse (Yui NARUSE)
03:57 AM Feature #2032 (Closed): Change the license to "GPLv2+ or Ruby's original".
=begin
This issue was solved with changeset r28118.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)

05/31/2010

11:58 PM Bug #3372 (Closed): Segfault when passing block_param to aref call with tOP_ASGN : foo[&b] += 21
=begin
To reproduce :

$ ruby -e 'foo[&b] += 21'

ruby: [BUG] Segmentation fault
ruby 1.9.3dev (2010-05-31 trunk 28108) [x86_64-linux]

-- control frame ----------
c:0001 p:0000 s:0002 b:0002 l:001a38 d:001a38 TOP
-...
dkr (Olivier Marin)
09:57 PM Bug #3368 (Closed): Re: [ruby-cvs:35269] Ruby:r28058 (trunk): * lib/resolv.rb (Resolv::DNS::Requester#request): rescue ECONNREFUSED.
=begin
This issue was solved with changeset r28109.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
akr (Akira Tanaka)
09:52 PM Bug #3368: Re: [ruby-cvs:35269] Ruby:r28058 (trunk): * lib/resolv.rb (Resolv::DNS::Requester#request): rescue ECONNREFUSED.
=begin
2010年5月31日11:49 U.Nakamura <usa@garbagecollect.jp>:

> Windowsでは追加されたテストがErrno::ECONNRESETでエラーとなり
> ます。

おぉ、発生するエラーが違いましたか。

> 思うに、resolv.rbでECONNREFUSEDだけでなくECONNRESETもrescue
> すればいいのではないかと思いますが、どうでしょうか?

そのようにしました。
-...
akr (Akira Tanaka)
12:03 PM Bug #3368 (Assigned): Re: [ruby-cvs:35269] Ruby:r28058 (trunk): * lib/resolv.rb (Resolv::DNS::Requester#request): rescue ECONNREFUSED.
=begin

=end
usa (Usaku NAKAMURA)
11:49 AM Bug #3368 (Closed): Re: [ruby-cvs:35269] Ruby:r28058 (trunk): * lib/resolv.rb (Resolv::DNS::Requester#request): rescue ECONNREFUSED.
=begin
こんにちは、なかむら(う)です。

In message "[ruby-cvs:35269] Ruby:r28058 (trunk): * lib/resolv.rb (Resolv::DNS::Requester#request): rescue ECONNREFUSED."
on May.29,2010 09:06:19, <akr@ruby-lang.org> wrote:
> akr 2010-05-29 09:06:17...
usa (Usaku NAKAMURA)
09:55 PM Feature #3356: Add GetShortPathName to ruby
=begin
2010/5/28 Christian Höltje <redmine@ruby-lang.org>:

> Bug #3356: Add GetShortPathName to ruby
> http://redmine.ruby-lang.org/issues/show/3356
>
> I use Ruby on windows and it would be really useful to have access to GetShor...
akr (Akira Tanaka)
07:48 PM Bug #3371 (Closed): test-all aborted on amd64 lenny
=begin
amd64のlennyで
http://chkbuild.n-z.jp/ruby/debian-amd64/ruby-trunk/log/20100507T073828.diff.txt.gz
のあたりから test-all がすべてのテストを実行後、 Aborted (core dumped) になって結果が表示されません。
=end
znz (Kazuhiro NISHIYAMA)
07:16 PM Feature #3328: Kernel#p outputs as default_internal encoding, and so on
=begin
樽家です。

2010年5月24日21:18 NARUSE, Yui <naruse@airemix.jp>:
> 成瀬です。
>
> (2010/05/21 8:10), Masaya Tarui wrote:
>> Feature #2102 [ruby-dev:39343] でString#inspectについては強制的にencodingを
>> 揃えるようになりましたが、SymbolやRegexpについてはそうなっておらず、
>>...
tarui (Masaya Tarui)
06:48 PM Revision b6408337 (git): * ext/readline/extconf.rb: reject GPLv3 readline. [ruby-dev:39172]
[ruby-core:25272] [ruby-dev:39167] [ruby-core:28736]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:16 PM Revision dc34ec8c (git): * 2010-06-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:16 PM Revision 508e987a (git): * 2010-06-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:16 PM Revision a8ced88a (git): * io.c (pipe_open): add RB_GC_GUARD.
This caused failure when test/ruby/test_argf.rb is executed with
GC.stress = true in mswin32_90
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masaya Tarui
04:16 PM Revision f8bdd8dd (git): * io.c (pipe_open): add RB_GC_GUARD.
This caused failure when test/ruby/test_argf.rb is executed with
GC.stress = true in mswin32_90
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masaya Tarui
03:10 PM Bug #3370 (Closed): test failure of drb
=begin
Windowsで、drbのテストが以下のように1件だけ失敗します。
ちなみにメッセージの中身は
「既存の接続はリモート ホストに強制的に切断されました。」
です。
このテストがなんでArgumentErrorになることが期待されるのか
すらよくわからないというレベルなので、報告のみです。
すみません。
何か調査すべきことがあったら教えてください。

1) Failure:
test_04_many_arg(Te...
usa (Usaku NAKAMURA)
02:51 PM Revision 72f14f3a (git): * 2010-05-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:51 PM Revision 2e7d1848 (git): * ext/tk/extconf.rb: use tclConfig.sh/tkConfig.sh when frameworks
are enabled on MacOS X.
* ext/tk/stubs.c: dirty hack for frameworks and stubs on MacOS X.
* ext/tk/lib/tk.rb: stop creating a dummy Tcl/Tk interpreter.
And hide a root window before starting eventloop. (for ruby 1.9)
* ext/tk/tcltklib....
nagai (Hidetoshi Nagai)
02:50 PM Revision d369a50c (git): * ext/tk/extconf.rb: use tclConfig.sh/tkConfig.sh when frameworks
are enabled on MacOS X.
* ext/tk/stubs.c: dirty hack for frameworks and stubs on MacOS X.
* ext/tk/lib/tk.rb: stop creating a dummy Tcl/Tk interpreter.
And hide a root window before starting eventloop. (for ruby 1.9)
* ext/tk/tcltklib....
nagai (Hidetoshi Nagai)
02:47 PM Bug #3369 (Closed): Re: [ruby-cvs:32360] Ruby:r25142 (trunk): * encoding.c (rb_enc_unicode_p): defined.
=begin
This issue was solved with changeset r28103.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
12:04 PM Bug #3369 (Assigned): Re: [ruby-cvs:32360] Ruby:r25142 (trunk): * encoding.c (rb_enc_unicode_p): defined.
=begin

=end
usa (Usaku NAKAMURA)
12:03 PM Bug #3369 (Closed): Re: [ruby-cvs:32360] Ruby:r25142 (trunk): * encoding.c (rb_enc_unicode_p): defined.
=begin
こんにちは、なかむら(う)です。

In message "[ruby-cvs:32360] Ruby:r25142 (trunk): * encoding.c (rb_enc_unicode_p): defined."
on Sep.29,2009 09:34:02, <naruse@ruby-lang.org> wrote:
> naruse 2009-09-29 09:34:00 +0900 (Tue, 29 Sep 200...
usa (Usaku NAKAMURA)
01:37 PM Revision a4702079 (git): update comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:51 PM Revision 7011534e (git): * lib/resolv.rb (Resolv::DNS::Requester#request): rescue ECONNRESET
for Windows. reported by U.Nakamura. [ruby-dev:41477]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:26 AM Revision e0fe9a8e (git): * regparse.c (onig_syntax_warn): do not use external strings as
printf format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:26 AM Revision 3642fa19 (git): * regparse.c (onig_syntax_warn): do not use external strings as
printf format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:27 AM Revision 4acf013f (git): * misc/ruby-mode.el (ruby-mode-set-encoding): commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:22 AM Revision e3a17014 (git): * misc/ruby-mode.el (ruby-mode-set-encoding): skip shebang line
always regardless of ruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:22 AM Revision 97a1d656 (git): * misc/ruby-mode.el (ruby-mode-set-encoding): skip shebang line
always regardless of ruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:47 AM Revision 455554b6 (git): * file.c (file_expand_path): Refix r28102: this breaks
r28039. test for [ruby-dev:41429] is added. [ruby-core:30516]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:04 AM Revision d16fc7ca (git): * string.c (rb_str_inspect): inspect as ASCII when the codepoint
of a character in Unicode string is ASCII printable one.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:46 AM Revision d13e191d (git): * encoding.c (rb_enc_unicode_p): check the encoding is Unicode
or not by the name; not function's pointer. [ruby-dev:41479]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:07 AM Bug #3366 (Closed): compile errors ruby192p2 (rubyspec-matzruby-827b92f)
=begin
This issue was solved with changeset r28102.
Roberto Tomás, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
01:47 AM Bug #2496 (Closed): Delegate: #methods and #public_methods should return delegated methods too
=begin
This issue was solved with changeset r28099.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
marcandre (Marc-Andre Lafortune)
 

Also available in: Atom