Project

General

Profile

Activity

From 10/30/2008 to 11/05/2008

11/05/2008

06:43 PM Feature #712 (Closed): M17N of erb
=begin
it seems that erb was not multilingualized yet.

erb does not have -E or -U, but has -K.
=end
yugui (Yuki Sonoda)
06:32 PM Feature #711 (Closed): M17N of irb
=begin
irb should support M17N.
* supporting -E and -U. and possibly -K.
* magic comment
* String#encode instead of Kcode
=end
yugui (Yuki Sonoda)
08:54 AM Feature #710: Pathname#=~
=begin
Nobuyoshi Nakada wrote:
> In Ruby, Regexp#=~ would be used more preferably than
> String#=~, I guess.
>
> $ ruby -r pathname -e 'p /o/ =~ Pathname("foo")'
> 1

However I often convert existing code from path Strings...
quix (James M. Lawrence)

11/04/2008

06:22 PM Feature #710: Pathname#=~
=begin
Hi,

At Tue, 4 Nov 2008 15:12:31 +0900,
James M. Lawrence wrote in [ruby-core:19690]:
> % ruby -r pathname -e 'p Pathname("foo") =~ /o/'
> nil
>
> % ruby -r ./lib/pathname.patched.rb -e 'p Pathname("foo") =~ /o/'
> 1

...
nobu (Nobuyoshi Nakada)
03:13 PM Feature #710 (Closed): Pathname#=~
=begin
% ruby -r pathname -e 'p Pathname("foo") =~ /o/'
nil

% ruby -r ./lib/pathname.patched.rb -e 'p Pathname("foo") =~ /o/'
1
=end
quix (James M. Lawrence)
01:37 PM Revision 44fdaaef (git): merges r20104 from trunk into ruby_1_9_1.
* test/zlib/test_zlib.rb(test_readchar): compare in same type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:37 PM Revision ce6be57a (git): merges r20103 from trunk into ruby_1_9_1.
* array.c (rb_ary_join): do not repeat self in a recursive array.
[ruby-dev:37019]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:37 PM Revision 15c15c06 (git): merges r20102 from trunk into ruby_1_9_1.
* include/ruby/intern.h (rb_mutex_synchronize): fixed prototype.
* thread.c (rb_mutex_synchronize): fixed function name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:37 PM Revision a1684ed7 (git): merges r20101 from trunk into ruby_1_9_1.
* missing.h: needs RUBY_EXTERN instead of extern for mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:36 PM Revision 56a17832 (git): * 2008-11-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:36 PM Revision 7455071a (git): merges r20085 from trunk into ruby_1_9_1.
* Don't require rubygems/defaults from gem_prelude.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:20 AM Bug #373: MingwでIO#dupがブロックする
=begin
Hello,

In message "[ruby-dev:37022] [Bug #373] MingwでIO#dupがブロックする"
on Nov.04,2008 07:30:38, <[email protected]> wrote:
> pardon my english.
> Seems that there are a few other problems with the msvcrt6 [1].
> [1] h...
usa (Usaku NAKAMURA)
07:32 AM Bug #373: MingwでIO#dupがブロックする
=begin
pardon my english.
Seems that there are a few other problems with the msvcrt6 [1].
I wonder if VC6 does not suffer with these problems, and, if not, did they have to do their own workarounds? If so then this is [I suppose] a...
rogerdpack (Roger Pack)
05:27 AM Feature #709: Enumerator#+
=begin
For clarity, here's what that example outputs:

$ ruby19 -v
ruby 1.9.1 (2008-10-28 revision 19983) [i686-linux]
$ ruby19 enum_plus.rb
1
2
3
10
11
12
17
18
19
20
$
=end
candlerb (Brian Candler)
04:10 AM Revision 0ca8c28e (git): * lib/test/unit.rb: sorry, removed debug code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:09 AM Revision 645246d1 (git): * lib/test/unit.rb (Test::Unit.setup_argv): now can specify ``-xname''
instead of ``-x name''.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:56 AM Bug #694: eof? call on a pty IO object causes application to exit
=begin

On Oct 31, 2008, at 1:39 AM, Dave Thomas wrote:

>
> On Oct 31, 2008, at 12:28 AM, Yukihiro Matsumoto wrote:
>
>> pty uses exceptions to notify the process exit. In my case, it
>> terminated because I don't have /usr/bin...
pragdave (Dave Thomas)
02:46 AM Bug #703: string output duplication occurs if the same file descriptor written to in different threads
=begin
Hi,

At Mon, 3 Nov 2008 09:44:44 +0900,
Nobuyoshi Nakada wrote in [ruby-core:19678]:
> > It doesn't happen on either trunk nor 1.8.7. What's your version, and
> > platform?
>
> It could reproduced with full ruby, but not...
nobu (Nobuyoshi Nakada)
12:05 AM Feature #707: Documentation for Enumerator chaining
=begin
Here is another (shorter and simpler)

class Enumerator
def filter(&blk)
self.class.new do |y|
each do |*input|
blk.call(y, *input)
end
end
end
end

a = (1..1_000_000_000).t...
candlerb (Brian Candler)

11/03/2008

11:00 PM Revision a3fb952a (git): * test/zlib/test_zlib.rb(test_readchar): compare in same type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e takano32 (Mitsuhiro TAKANO)
07:02 PM Feature #709 (Rejected): Enumerator#+
=begin
Enumerators could be directly composable:

class Enumerator
def +(other)
Enumerator.new do |y|
each { |e| y << e }
other.each { |e| y << e }
end
end
end

if __FILE__ == $0
a = (1...
candlerb (Brian Candler)
06:54 PM Feature #708 (Rejected): Lazy Enumerator#select, Enumerator#map etc.
There are a number of methods in `Enumerable` that build an `Array` of results from the entire collection: `map`, `select`, `take`, etc.
I propose that the `Enumerator` class have its own implementations of these methods, which return...
candlerb (Brian Candler)
06:41 PM Feature #707 (Closed): Documentation for Enumerator chaining
=begin
Enumerators now support a horizontal filter/chaining pattern:

generator.filter1 { ... }.filter2 { ... }.filter3 { ... }.consumer

The overall pattern for a filter is:

Enumerator.new do |y|
source.each do ...
candlerb (Brian Candler)
06:28 PM Revision a2a9858b (git): * array.c (rb_ary_join): do not repeat self in a recursive array.
[ruby-dev:37019]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:28 PM Revision 4927a7c7 (git): * array.c (rb_ary_join): do not repeat self in a recursive array.
[ruby-dev:37019]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:56 PM Revision 88a4f331 (git): * include/ruby/intern.h (rb_mutex_synchronize): fixed prototype.
* thread.c (rb_mutex_synchronize): fixed function name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:46 AM Bug #703: string output duplication occurs if the same file descriptor written to in different threads
=begin
Hi,

At Mon, 3 Nov 2008 09:04:37 +0900,
Yukihiro Matsumoto wrote in [ruby-core:19676]:
> It doesn't happen on either trunk nor 1.8.7. What's your version, and
> platform?

It could reproduced with full ruby, but not with ...
nobu (Nobuyoshi Nakada)
09:06 AM Bug #703: string output duplication occurs if the same file descriptor written to in different threads
=begin
Hi,

In message "Re: [ruby-core:19668] [Bug #703] string output duplication occurs if the same file descriptor written to in different threads"
on Sat, 1 Nov 2008 02:38:52 +0900, Roger Pack <[email protected]> writes:
...
matz (Yukihiro Matsumoto)
02:34 AM Bug #703: string output duplication occurs if the same file descriptor written to in different threads
=begin
I do not see this problem, with:

ruby 1.9.0 (2008-09-30 revision 0) [i686-linux]



=end
gnufied (hemant kumar)
08:49 AM Bug #696: 1.9.0-0 is more faster in factrial test
=begin
I use 1.9.0-0 e 1.9.1-preview1 releases

1.9.0-0 ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.0-0.tar.bz2

1.9.1-preview1 ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.1-preview1.tar.bz2



Alexandre Riveira
=end
ariveira (Alexandre Riveira)
07:32 AM Revision 55adf411 (git): * missing.h: needs RUBY_EXTERN instead of extern for mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:32 AM Revision 1f4b40f4 (git): * missing.h: needs RUBY_EXTERN instead of extern for mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:23 AM Revision 185e9ae2 (git): * test/win32ole/test_win32ole_variant_outarg.rb: eol-style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:23 AM Revision 15195772 (git): * test/win32ole/test_win32ole_variant_outarg.rb: eol-style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:18 AM Revision 3c1ca14a (git): * configure.in (XLDFLAGS): added --enable-auto-import for cygwin and
mingw.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:04 AM Revision eb389cd8 (git): * common.mk (revision.h): have to be updated daily or by non-trivial
commits.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:52 AM Revision f6b821f6 (git): * marshal.c (marshal_load): arg.data is no longer a VALUE but a
st_table, and freed in load_ensure. pointed out by pegacorn.
[ruby-dev:37008]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:13 AM Revision 98aa5053 (git): * array.c (rb_ary_take_first_or_last): renamed rb_ary_partial more
appropriately.
(ary_take_pos_flags): new enum. makes the fourth argument of
rb_ary_take_first_or_last more descriptive.
(rb_ary_partial): renamed rb_ary_partial0 more appropriately.
takes a new parameter klass for what class to i...
yugui (Yuki Sonoda)
04:13 AM Revision c2ded646 (git): * array.c (rb_ary_take_first_or_last): renamed rb_ary_partial more
appropriately.
(ary_take_pos_flags): new enum. makes the fourth argument of
rb_ary_take_first_or_last more descriptive.
(rb_ary_partial): renamed rb_ary_partial0 more appropriately.
takes a new parameter klass for what class to i...
yugui (Yuki Sonoda)
04:10 AM Revision 438970f1 (git): * range.c (rb_range_beg_len): rb_raise takes C values as arguments.
[BUG] ranges turned into other value in a message of RangeError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:10 AM Revision d5c6b265 (git): * range.c (rb_range_beg_len): rb_raise takes C values as arguments.
[BUG] ranges turned into other value in a message of RangeError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)

11/02/2008

09:52 PM Revision 872858f3 (git): * 2008-11-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:52 PM Revision b9deecb1 (git): * ext/win32ole/win32ole.c (ole_event_free): invoke IConnectionPoint::Unadvise
before invoking IConnectionPoint::Release.
* test/win32ole/test_win32ole_event.rb, test/win32ole/err_in_callback.rb,
test/win32ole/test_err_in_callback.rb,
test/win32ole/test_win32ole_variant_outarg.rb,
test/win32ole/orig_data.csv...
suke (Masaki Suketa)
03:41 PM Revision feb25e25 (git): * 2008-11-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:41 PM Revision 1dead12e (git): * test/win32ole/test_win32ole_event.rb: rename test class.
* test/win32ole/test_win32ole_variant_outarg.rb: add in order
to use ADO instead of Internet Explorer.
remove test/win32ole/test_win32ole_variant_with_ie.rb.
* test/win32ole/orig_data.csv: ditto.
git-svn-id: svn+ssh://ci.ruby-lang...
suke (Masaki Suketa)
02:10 PM Revision f35fb72f (git): * test/win32ole/test_err_in_callback.rb: add teardown.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
01:22 PM Revision 2d45869c (git): * ext/win32ole/win32ole.c (ole_event_free): invoke IConnectionPoint::Unadvise
before invoking IConnectionPoint::Release.
* test/win32ole/test_win32ole_event.rb, test/win32ole/err_in_callback.rb,
test/win32ole/test_err_in_callback.rb: Use ActiveX Data Object
Library instead of InternetExplorer.
git-svn-id: s...
suke (Masaki Suketa)
01:11 PM Revision 510d2a7d (git): win32/Makefile.sub: add RUNRUBYOPT. [ruby-dev:37009]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
07:41 AM Revision fec4b77c (git): * ext/zlib/zlib.c (Init_zlib): defines readbyte instead redefining
readchar.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:41 AM Revision 388abb69 (git): * ext/zlib/zlib.c (Init_zlib): defines readbyte instead redefining
readchar.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

11/01/2008

07:56 AM Bug #704 (Closed): delegate.rb will only delegate to specifically-named delegate object
=begin
long story short, I needed to redefine __getobj__ and __setobj__ for a porting effort for a class that inherited from DelegateClass. The new ivar that __getobj__ and __setobj__ accessed was not able to be used by Delegator.delega...
erikh (Erik Hollensbe)
03:22 AM Feature #440: Better introspection for methods (declaring class, arity)
=begin
if you don't mind a hack then
RubyVM::InstructionSequence.disasm
might help.
Looks like it would be nice to add something to do this, though, since it seems difficult to tell from the #arity call to see how many optional a...
rogerdpack (Roger Pack)
02:39 AM Bug #703 (Closed): string output duplication occurs if the same file descriptor written to in different threads
=begin
ruby-dev:32566

a = Thread.new { p '4'}
b = Thread.new { p '3' }
a.join
b.join

results in
"4"
"3"
"4"
"3"

because the buffer is modified simultaneously by two threads within io_fflush [I think].
=end
rogerdpack (Roger Pack)
12:09 AM Bug #702 (Closed): 1+1+1+...+1 dumps core
=begin
遠藤です。

以下で SEGV します。


$ ./ruby -e 'eval("1+" * 100000 + "1")'
セグメンテーション違反です


iseq_compile_each の再帰でスタックオーバーフローするためです。
再帰数のチェックを入れれば例外にできると思いますが、こんな
ケースのためにコンパイルを遅くするのはもったいない気もします。
どんなものでしょう。WontFix 行き?
...
mame (Yusuke Endoh)

10/31/2008

11:50 PM Bug #699: removing Exception#initialize dumps core
=begin
遠藤です。

2008/10/31 14:02 Yukihiro Matsumoto <[email protected]>:
> In message "Re: [ruby-dev:36993] [Bug:1.9] removing Exception#initialize dumps core"
> on Thu, 30 Oct 2008 02:35:10 +0900, "Yusuke ENDOH" <[email protected]> ...
mame (Yusuke Endoh)
02:03 PM Bug #699: removing Exception#initialize dumps core
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:36993] [Bug:1.9] removing Exception#initialize dumps core"
on Thu, 30 Oct 2008 02:35:10 +0900, "Yusuke ENDOH" <[email protected]> writes:

|以下で SEGV しますが、仕様でしょうか。
|
|$ ./ruby -e 'cla...
matz (Yukihiro Matsumoto)
10:27 PM Revision b3d8272a (git): * 2008-11-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:27 PM Revision af0221e7 (git): Don't require rubygems/defaults from gem_prelude.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e drbrain (Eric Hodel)
09:49 PM Bug #680: csv.rb: CSV.parse is too late when encoding is mismatch
=begin
Hi,

At Fri, 31 Oct 2008 19:05:25 +0900,
Martin Duerst wrote in [ruby-core:19657]:
> > --encoding=external:internal:source
> > --external-encoding=enc
> > --internal-encoding=enc
> > --source-encoding=enc
>
> I pers...
nobu (Nobuyoshi Nakada)
07:06 PM Bug #680: csv.rb: CSV.parse is too late when encoding is mismatch
=begin
At 18:38 08/10/31, Nobuyoshi Nakada wrote:
>Hi,
>
>At Mon, 27 Oct 2008 21:07:16 +0900,
>Nobuyoshi Nakada wrote in [ruby-core:19546]:
>> Anyway, I think I understand the needs to specify source
>> encoding without magic comm...
duerst (Martin Dürst)
06:59 PM Bug #680: csv.rb: CSV.parse is too late when encoding is mismatch
=begin
Hi,

At Fri, 31 Oct 2008 18:38:24 +0900,
Nobuyoshi Nakada wrote in [ruby-core:19655]:
> +#define set_internal_encoding_once(opt, e, elen) \
> + set_option_encoding_once("default_intenal", &opt->intern.enc.name, e, elen)
...
nobu (Nobuyoshi Nakada)
06:39 PM Bug #680: csv.rb: CSV.parse is too late when encoding is mismatch
=begin
Hi,

At Mon, 27 Oct 2008 21:07:16 +0900,
Nobuyoshi Nakada wrote in [ruby-core:19546]:
> Anyway, I think I understand the needs to specify source
> encoding without magic comments. Is the option for that
> purpose an accept...
nobu (Nobuyoshi Nakada)
07:26 PM Feature #695: More flexibility when combining ASCII-8BIT strings with other encodings
=begin
At 13:57 08/10/31, Michael Selig wrote:
>Hi
>
>On Fri, 31 Oct 2008 13:51:53 +1100, Martin Duerst <[email protected]>
>wrote:
>
>>> Feature #695 was closed & marked done, but unfortunately it does not
>>> seem to h...
duerst (Martin Dürst)
03:42 PM Feature #695: More flexibility when combining ASCII-8BIT strings with other encodings
=begin
At 14:07 08/10/31, Michael Selig wrote:
>Hi,
>
>On Fri, 31 Oct 2008 15:42:55 +1100, Nobuyoshi Nakada <[email protected]>
>wrote:
>
>>> If you agree that this is a good idea, I don't mind trying to produce a
>>> patch fo...
duerst (Martin Dürst)
01:44 PM Feature #695: More flexibility when combining ASCII-8BIT strings with other encodings
=begin
Hi,

At Fri, 31 Oct 2008 07:14:21 +0900,
Michael Selig wrote in [ruby-core:19646]:
> Feature #695 was closed & marked done, but unfortunately it does not seem
> to have been implemented :-(

Martin kindly replied already...
nobu (Nobuyoshi Nakada)
11:53 AM Feature #695: More flexibility when combining ASCII-8BIT strings with other encodings
=begin
At 07:14 08/10/31, Michael Selig wrote:
>Hi,
>
>Feature #695 was closed & marked done, but unfortunately it does not seem
>to have been implemented :-(

I think it should have been marked part done, part rejected,
I gues...
duerst (Martin Dürst)
03:40 PM Bug #694: eof? call on a pty IO object causes application to exit
=begin

On Oct 31, 2008, at 12:28 AM, Yukihiro Matsumoto wrote:

> pty uses exceptions to notify the process exit. In my case, it
> terminated because I don't have /usr/bin/irb installed (it's renamed
> to /usr/bin/irb1.8).
>
> ...
pragdave (Dave Thomas)
02:29 PM Bug #694: eof? call on a pty IO object causes application to exit
=begin
Hi,

In message "Re: [ruby-core:19583] [Bug #694] eof? call on a pty IO object causes application to exit"
on Wed, 29 Oct 2008 08:10:13 +0900, Dave Thomas <[email protected]> writes:

|dave[RUBY3/Book 18:08:15*] cat ...
matz (Yukihiro Matsumoto)
01:56 PM Revision 1be164c7 (git): merges r20079 from trunk into ruby_1_9_1.
* lib/rss/converter.rb (RSS::Converter): use String#encode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:56 PM Revision 38c550f3 (git): merged r20075 from trunk into ruby_1_9_1.
* enc/trans/single_byte.trans, maccroatioan-tbl.rb,
maccyrillic-tbl.rb, maciceland-tbl.rb: new single-byte
transcodings (from Yoshihiro Kambayashi)
* test/ruby/test_transcode.rb: added tests for the above
(from Yoshihiro Kambayash...
yugui (Yuki Sonoda)
01:56 PM Revision a28ff68b (git): merged r20074 from trunk into ruby_1_9_1.
* dir.c (dir_globs): need taint check. reported by steve
<oksteev at gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:56 PM Revision 9ebb8799 (git): merges r20071 from trunk into ruby_1_9_1.
* array.c (rb_ary_decrement_share): fix to work recycling
shared-array without the following. [ruby-dev:36991]
* array.c (ary_make_substitution): don't recycle substitution array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches...
yugui (Yuki Sonoda)
01:55 PM Revision 670c707a (git): merges r20068 from trunk into ruby_1_9_1.
* encoding.c (rb_enc_set_default_internal): no alias "internal" if
defalt internal is not set. [ruby-dev:37000]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:01 PM Revision ff5a076e (git): * lib/rss/converter.rb (RSS::Converter): use String#encode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
12:31 PM Revision c45f8697 (git): * lib/webrick/httpauth/digestauth.rb
(WEBrick::HTTPAuth::DigestAuth#initialize): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:31 PM Revision b5a0eb67 (git): * lib/webrick/httpauth/digestauth.rb
(WEBrick::HTTPAuth::DigestAuth#initialize): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
09:57 AM Revision 0dff6391 (git): * test/ruby/test_array.rb (test_array_subclass) test for r20076.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
09:57 AM Revision 7ac0beae (git): * test/ruby/test_array.rb (test_array_subclass) test for r20076.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
09:46 AM Revision b5035524 (git): * array.c (ary_partial0): recovers mistakenly feature change at r19723.
Array#[m,n] had returned an Array even for an instance of a
subclass.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:46 AM Revision b4729e2d (git): * array.c (ary_partial0): recovers mistakenly feature change at r19723.
Array#[m,n] had returned an Array even for an instance of a
subclass.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
09:07 AM Revision d37df9fb (git): * enc/trans/single_byte.trans, maccroatioan-tbl.rb,
maccyrillic-tbl.rb, maciceland-tbl.rb: new single-byte
transcodings (from Yoshihiro Kambayashi)
* test/ruby/test_transcode.rb: added tests for the above
(from Yoshihiro Kambayashi)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
duerst (Martin Dürst)
08:17 AM Bug #700 (Closed): $: includes "." when taint mode
=begin
Applied in changeset r20067.
=end
nobu (Nobuyoshi Nakada)
07:45 AM Bug #700: $: includes "." when taint mode
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:36997] [Bug:1.9] $: includes "." when taint mode"
on Thu, 30 Oct 2008 19:16:59 +0900, Nobuyoshi Nakada <[email protected]> writes:

|-Tを指定しても$:に"."が含まれています。
|
|$ RUBYOPT=-T ruby1...
matz (Yukihiro Matsumoto)
04:40 AM Revision ec280ecb (git): * dir.c (dir_globs): need taint check. reported by steve
<oksteev at gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
04:40 AM Revision 5a7ecccc (git): * 2008-10-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:39 AM Revision e5d713b2 (git): * dir.c (dir_globs): need taint check. reported by steve
<oksteev at gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@20072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:49 AM Revision 5eacf68c (git): * array.c (rb_ary_decrement_share): fix to work recycling
shared-array without the following. [ruby-dev:36991]
* array.c (ary_make_substitution): don't recycle substitution array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
wanabe (_ wanabe)
03:31 AM Revision 2a8da9f1 (git): * 2008-10-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:31 AM Revision 30887efb (git): * spec/default.mspec: supports that the build directory != srcdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
03:31 AM Revision f3a6ad28 (git): * spec/default.mspec: supports that the build directory != srcdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
02:35 AM Revision b1c07ee2 (git): * encoding.c (rb_enc_set_default_internal): no alias "internal" if
defalt internal is not set. [ruby-dev:37000]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

10/30/2008

11:18 PM Bug #701 (Closed): Wrong behaviour of StringIO#ungetc
=begin
This is the behaviour of StringIO#ungetc from Ruby 1.8.7:

irb(main):001:0> require 'stringio'
=> true
irb(main):002:0> a=StringIO.new('abcd')
=> #<StringIO:0x2ba7e24>
irb(main):003:0> a.getc;a.getc;a.getc;a.tell # Re...
eao197 (Yauheni Akhotnikau)
11:16 PM Revision 04e94c6e (git): * ruby.c (process_options): delays setting safe level.
[ruby-dev:36997]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:18 PM Bug #700 (Closed): $: includes "." when taint mode
=begin
なかだです。

-Tを指定しても$:に"."が含まれています。

$ RUBYOPT=-T ruby18 -e 'p $:.include?(".")'
false
$ RUBYOPT=-T ruby19 -e 'p $:.include?(".")'
true


Index: ruby.c
===================================================================
...
nobu (Nobuyoshi Nakada)
02:36 PM Revision 9afa4ed9 (git): * test/test_delegate.rb (test_syscallerror_eq): ignored because the
behaviour is now unspecified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:36 PM Revision 14b8c2d5 (git): merges r20057 from trunk into ruby_1_9_1.
* pack.c (pack_pack): templates a, A, Z should propagate encoding
of original strings. templates b, B, h, H brings ASCII-8BIT to
the result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20065 b2dd03c8-39d4-4d8f-9...
yugui (Yuki Sonoda)
02:36 PM Revision 43a9c5a3 (git): merges r20056 from trunk into ruby_1_9_1.
* ruby.c (load_file_internal): should not set script encoding to
ASCII-8BIT.
* ruby.c (load_file_internal): do not auto convert scripts even
when default_internal is set. [ruby-core:19579]
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
yugui (Yuki Sonoda)
12:57 PM Revision 90229f89 (git): merges r20054 and r20055 from trunk into ruby_1_9_1.
* enc/trans/single_byte.trans: refactoring to make it easier
to add more transcodings (with Yoshihiro Kambayashi)
* enc/trans/iso-8859-1-tbl.rb: new file to avoid having to
treat ISO-8859-1 as special
git-svn-id: svn+ssh://ci.ruby...
yugui (Yuki Sonoda)
12:35 PM Revision ea4ae330 (git): * array.c (rb_ary_permutation): hide temporal array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
12:35 PM Revision 4bdc35fe (git): * array.c (rb_ary_permutation): hide temporal array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
12:09 PM Revision 124d936e (git): merges r20052 from trunk into ruby_1_9_1.
* encoding.c (rb_locale_encoding): makes an alias for locale.
[ruby-dev:36976]
* encoding.c (rb_enc_set_default_external): ditto for external.
* encoding.c (rb_enc_set_default_internal): ditto for internal.
git-svn-id: svn+ssh://ci....
yugui (Yuki Sonoda)
12:09 PM Revision 26e4bf36 (git): merges r20051 from trunk into ruby_1_9_1.
* indent ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@20060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
12:09 PM Revision c00233f7 (git): merges r20046 from trunk into ruby_1_9_1.
* string.c (rb_str_check_dummy_enc): new function to check dummy
encoding.
* string.c (rb_str_upcase_bang): case conversion functions should
not be applicable to strings in dummy encoding. [ruby-dev:36985]
git-svn-id: svn+ssh://ci...
yugui (Yuki Sonoda)
12:09 PM Revision 58b6ac5f (git): merges r20045 from trunk into ruby_1_9_1.
* io.c (rb_io_rewind): should reset fptr->readconv if it's
available.
* io.c (more_char): clear readconv at EOF.
* test/ruby/test_file.rb: should not read after EOF. use rewind
instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
yugui (Yuki Sonoda)
09:19 AM Revision 93fa4cbf (git): * pack.c (pack_pack): templates a, A, Z should propagate encoding
of original strings. templates b, B, h, H brings ASCII-8BIT to
the result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
09:17 AM Revision 86c50e39 (git): * ruby.c (load_file_internal): should not set script encoding to
ASCII-8BIT.
* ruby.c (load_file_internal): do not auto convert scripts even
when default_internal is set. [ruby-core:19579]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
08:54 AM Bug #648: [BUG] make test in Ruby 1.9
=begin
Does this still occur?
=end
rogerdpack (Roger Pack)
08:53 AM Bug #696: 1.9.0-0 is more faster in factrial test
=begin
http://www.timestretch.com/FractalBenchmark.html
is the link
which SVN versions were you using? [or was that just the releases?]
=end
rogerdpack (Roger Pack)
06:00 AM Revision 9767736b (git): * enc/trans/iso-8859-1-tbl.rb: eol-style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:47 AM Revision 6fd14cca (git): * enc/trans/single_byte.trans: refactoring to make it easier
to add more transcodings (with Yoshihiro Kambayashi)
* enc/trans/iso-8859-1-tbl.rb: new file to avoid having to
treat ISO-8859-1 as special
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
02:36 AM Bug #699 (Closed): removing Exception#initialize dumps core
=begin
遠藤です。

以下で SEGV しますが、仕様でしょうか。

$ ./ruby -e 'class Exception; remove_method(:initialize); end; raise'
-e:1: warning: removing `initialize' may cause serious problem
セグメンテーション違反です

--
Yusuke ENDOH <[email protected]...
mame (Yusuke Endoh)
01:47 AM Bug #698 (Closed): upcase of め becomes ち in ISO-2022-JP
=begin
Applied in changeset r20046.
=end
matz (Yukihiro Matsumoto)
01:34 AM Revision 5cdd7f52 (git): * ruby.c (moreswitches): splits option string and passes arguments.
* ruby.c (proc_options): checks if allowed in RUBYOPT.
* ruby.c (process_options): allows long style options in RUBYOPT.
* ruby.c (load_file_internal): ditto in shebang. [ruby-dev:36979]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
12:31 AM Revision 2db25b6b (git): * encoding.c (rb_locale_encoding): makes an alias for locale.
[ruby-dev:36976]
* encoding.c (rb_enc_set_default_external): ditto for external.
* encoding.c (rb_enc_set_default_internal): ditto for internal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20052 b2dd03c8-39d4-4d8f-98ff-823fe69b...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom