Project

General

Profile

Activity

From 06/14/2009 to 06/20/2009

06/20/2009

09:47 PM Feature #1667 (Closed): IO#codepoints, IO#each_codepoint, and StringIO
Almost all "iterators" of `String` are present in `IO` and `StringIO`: `#each_char`, `#each_byte`, `#each_line` and t... marcandre (Marc-Andre Lafortune)
09:44 PM Bug #1666 (Closed): Confusion in documentation for lines vs each_line, etc...
=begin
Currently, IO#lines is defined as "to_enum(:each_line, *args)" and thus will ignore a block if one is given.
...
marcandre (Marc-Andre Lafortune)
08:57 PM Bug #1665: Enumerable#reverse_each, #entries, #to_a documentation [patch]
=begin
While I am updating the News for 1.8.7 (and thus 1.9), the new form of Hash.[] should also be added (as per r...
marcandre (Marc-Andre Lafortune)
08:40 PM Bug #1665 (Closed): Enumerable#reverse_each, #entries, #to_a documentation [patch]
=begin
The following are missing from the 1.8.7 release News:
Enumerable#reverse_each (new method)
Enumerable#to...
marcandre (Marc-Andre Lafortune)
08:51 PM Bug #1385: Wonderful undocumented feature in Ruby 1.8.7 & 1.9
=begin
The included patch completes the documentation for Hash.[], including the form Hash[[[:a,1],[:b,2]]]
=end
marcandre (Marc-Andre Lafortune)
07:58 PM Bug #1664 (Closed): Kernel#define_singleton_method not documented [patch]
=begin
Kernel#define_singleton_method is currently missing its documentation.
I propose the following:

call-s...
marcandre (Marc-Andre Lafortune)
07:53 PM Bug #1663 (Closed): Small documentation fixes [patch]
=begin
This patch improves the documentation for:
String#partition, String#rpartition (argument can be regexp)
M...
marcandre (Marc-Andre Lafortune)
07:15 PM Revision 231314be (git): * 2009-06-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:15 PM Revision 5baa0431 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:12 PM Revision fa2ab2fc (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:37 PM Revision d82ed7e2 (git): * numeric.c (num_div): don't use num_floor which is actually
flo_floor.
* numeric.c (num_modulo): don't call '%'.
* numeric.c (num_divmod): use num_modulo.
...
Tadayoshi Funaba
11:29 AM Revision a05fd849 (git): * complex.c: edited rdoc.
* numeric.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
09:08 AM Revision 41353c51 (git): merges r23616 from trunk into ruby_1_9_1.
--
* cont.c (cont_capture, fiber_store): reraise transferred error.
* cont.c (fiber_switch): transfers dead fiber er...
yugui (Yuki Sonoda)
09:07 AM Revision 33b5635a (git): merges r23609 from trunk into ruby_1_9_1.
--
* ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): returns Inf if
exp is bigger than DBL_MANT_DIG.
git-svn-id: sv...
yugui (Yuki Sonoda)
09:07 AM Revision 5784b103 (git): merges r23607 from trunk into ruby_1_9_1.
--
* file.c (istrailinggarbage): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23764 b...
yugui (Yuki Sonoda)
09:07 AM Revision 6344190e (git): merges r23571 from trunk into ruby_1_9_1.
--
* include/ruby/ruby.h (FilePathValue): prevent from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby...
yugui (Yuki Sonoda)
09:07 AM Revision 0fd0bacc (git): merges r23568 from trunk into ruby_1_9_1.
--
* string.c (rb_str_each_char, rb_str_each_codepoint): string
length must be long.
git-svn-id: svn+ssh://ci.ruby...
yugui (Yuki Sonoda)
09:07 AM Revision 67a3f2ee (git): merges r23562 and r23564 from trunk into ruby_1_9_1.
--
* string.c (rb_str_partition): should use the converted result. a
patch from Marc-Andre Lafortune at [ruby-core...
yugui (Yuki Sonoda)
09:06 AM Revision 509f805a (git): merges r23560 from trunk into ruby_1_9_1.
--
* lib/cgi/core.rb (CGI::HTTP_STATUS): typo fixed. a patch from
Nobuhiro IMAI. [ruby-dev:38538]
git-svn-id: sv...
yugui (Yuki Sonoda)
09:06 AM Revision 0ddc8305 (git): merges r23557 and r23563 from trunk into ruby_1_9_1.
--
* thread.c (rb_exec_recursive_paired): new function for proper
handling of recursive arrays. [EXPERIMENTAL] [ru...
yugui (Yuki Sonoda)
09:06 AM Revision 7340277c (git): merges r23556 from trunk into ruby_1_9_1.
--
* error.c (syserr_initialize): errno is int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@2375...
yugui (Yuki Sonoda)
09:06 AM Revision a1bfd01a (git): merges r23550 from trunk into ruby_1_9_1.
--
* ext/dl/lib/dl/cparser.rb (DL::CParser#parse_struct_signature):
splitting with regexp source string is obsolete...
yugui (Yuki Sonoda)
09:05 AM Revision 972e0b2b (git): merges r23549 from trunk into ruby_1_9_1.
--
* ext/dl/cptr.c (rb_dlptr_cmp): return signed value, and restrict
to Fixnum. [ruby-dev:38533]
git-svn-id: svn+...
yugui (Yuki Sonoda)
07:27 AM Bug #1649 (Closed): use of #send in MonitorMixin::extend_object fails for BasicSocket objects
=begin
Applied in changeset r23754.
=end
matz (Yukihiro Matsumoto)
06:06 AM Bug #1661 (Rejected): RegExp mismatch
=begin
Because "\s" is just one space, and differs from /\s/.
=end
nobu (Nobuyoshi Nakada)
02:57 AM Bug #1661 (Assigned): RegExp mismatch
=begin
Parser issue. Confirmed on all active branches I can test.

\s is eaten by Regexp::EXTENDED. /\s/x do n...
shyouhei (Shyouhei Urabe)
12:52 AM Bug #1661 (Rejected): RegExp mismatch
=begin
#---------------------------
if matches = "all ".match(Regexp.new("^((all)|(submit)|(view))\s\s*",Regexp:...
acarheden (Adam Carheden)
02:16 AM Bug #1650: Time range === is slow
=begin
Hi,

In message "Re: [ruby-core:23908] [Bug #1650] Time range === is slow"
on Thu, 18 Jun 2009 09:48:3...
matz (Yukihiro Matsumoto)

06/19/2009

11:57 PM Revision 40d6a752 (git): * complex.c: edited rdoc.
* rational.c: ditto.
* numeric.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23755 b2dd03c8...
Tadayoshi Funaba
10:19 PM Revision a910caec (git): * lib/monitor.rb (MonitorMixin::extend_object): should use
#__send__ instead of #send to avoid possible name conflict.
[ruby-core:23907]
git-svn-id: svn+ssh://ci.ruby-lang.o...
matz (Yukihiro Matsumoto)
09:57 PM Revision ab7baebb (git): * complex.c: edited rdoc.
* rational.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
09:14 PM Bug #1659 (Closed): Segfault with Encoding::Converter.asciicompat_encoding('internal')
=begin
When my internal encoding is nil, Encoding::Converter.asciicompat_encoding("internal") causes a segfault on t...
runpaint (Run Paint Run Run)
08:57 PM Bug #1658 (Closed): Encoding.name_list Returns Dummy Encodings Contrary to Documentation
=begin
Applied in changeset r23745.
=end
matz (Yukihiro Matsumoto)
08:53 PM Bug #1658: Encoding.name_list Returns Dummy Encodings Contrary to Documentation
=begin
Hi,

In message "Re: [ruby-core:23926] [Bug #1658] Encoding.name_list Returns Dummy Encodings Contrary to D...
matz (Yukihiro Matsumoto)
07:45 PM Bug #1658 (Closed): Encoding.name_list Returns Dummy Encodings Contrary to Documentation
=begin
Encoding.name_list returns dummy encodings, but the rdoc claims it won't.

Encoding.name_list.map {|e...
runpaint (Run Paint Run Run)
08:29 PM Bug #1640: [PATCH] Documentation for the Rational Class
=begin
i'll merge it.
and i'll try to adjust some rdocs numeric and others.
thanks for your effort.
=end
tadf (tadayoshi funaba)
10:04 AM Bug #1640: [PATCH] Documentation for the Rational Class
=begin
On Jun 18, 2009, at 17:42, Run Paint Run Run wrote:

>> ok, i understand.
>> i didn't notice it due to foc...
drbrain (Eric Hodel)
09:43 AM Bug #1640: [PATCH] Documentation for the Rational Class
=begin
> ok, i understand.
> i didn't notice it due to focus the text.
> i think i should have reviewed rdocs nume...
runpaint (Run Paint Run Run)
09:16 AM Bug #1640: [PATCH] Documentation for the Rational Class
=begin
ok, i understand.
i didn't notice it due to focus the text.
i think i should have reviewed rdocs numeric ...
tadf (tadayoshi funaba)
08:20 AM Bug #1640: [PATCH] Documentation for the Rational Class
=begin
> i'm not good at english.
> however, the patch's descriptions are very similar to the book's reference of
...
runpaint (Run Paint Run Run)
08:10 PM Revision 63f2557b (git): * complex.c; edited rdoc.
* rational.c; ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
07:31 PM Revision c21b9570 (git): * rational.c (nurat_abs); removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23751 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
06:36 PM Revision 64eccf4d (git): * 2009-06-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:35 PM Revision 94f371aa (git): * complex.c: added rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
05:07 PM Bug #1645: 大きな数の比較で正しくない結果になることがある
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:38681] [Bug #1645] 大きな数の比較で正しくない結果になることがある"
on Thu, 18 Jun 2009...
matz (Yukihiro Matsumoto)
02:44 PM Revision d11b5491 (git): * numeric.c: edited rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
01:59 PM Revision ed0bdbc5 (git): * rational.c; edited rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
01:37 PM Revision f86ad72d (git): due to conflict
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
11:54 AM Revision cb699fc9 (git): * encoding.c (rb_enc_name_list): update RDoc. [ruby-core:23926]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
11:47 AM Revision 03f49cbb (git): * complex.c: constant COMPLEX_NAME has been removed.
* rational.c: constant RATIONAL_NAME has been removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23744 b2d...
Tadayoshi Funaba
11:42 AM Revision a6e1a03e (git): * rational.c: added rdoc. a patch from Run Paint Run Run.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
11:14 AM Bug #1066: Frequent failure: test_io.rb test 2 on OS X 10.5.6
=begin
This failure still happens with ruby 1.9.2dev (2009-06-19 trunk 23741) [i386-darwin9.7.0] on OS X 10.5.7

...
mikestok (Mike Stok)
08:19 AM Revision cdba56b3 (git): * numeric.c (flo_cmp): should always return nil for NaN.
* numeric.c (flo_cmp): handle infinite value specially using
infinite? method internally. [ruby-dev:38681]
git-sv...
matz (Yukihiro Matsumoto)
03:06 AM Bug #1650: Time range === is slow
=begin
Adding Time#to_int allows Range#include? to use its fast path, but I don't know if it is appropriate. There'...
drbrain (Eric Hodel)
12:31 AM Revision 5134783c (git): * numeric.c (*_numerator,*_denominator): moved to rational.c.
* rational.c (*_numerator,*_denominator): moved from numeric.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
Tadayoshi Funaba

06/18/2009

11:14 PM Revision 0f699af3 (git): * bignum.c (big_lshift, big_rshift): return Bignum always without
normalization. [ruby-dev:38680]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23740 b2dd03c8-39d4-...
nobu (Nobuyoshi Nakada)
11:14 PM Revision 44a1d996 (git): * bignum.c (big_lshift, big_rshift): return Bignum always without
normalization. [ruby-dev:38679]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23739 b2dd03c8-39d4-4d8f-98ff-82...
nobu (Nobuyoshi Nakada)
11:00 PM Bug #1645: 大きな数の比較で正しくない結果になることがある
=begin
内容は見ていませんが、上記の例はたしかに期待どおりの結果になりました。
しかし、未知のクラスにはやはり対処できないものなのでしょうね。

main@192-20090618> inf <=> BigDeci...
tadf (tadayoshi funaba)
02:07 AM Bug #1645 (Closed): 大きな数の比較で正しくない結果になることがある
=begin
Applied in changeset r23730.
=end
matz (Yukihiro Matsumoto)
08:55 PM Bug #1640: [PATCH] Documentation for the Rational Class
=begin
i'm not good at english.
however, the patch's descriptions are very similar to the book's reference of
"P...
tadf (tadayoshi funaba)
10:11 AM Bug #1640: [PATCH] Documentation for the Rational Class
=begin
Thanks, Tadayoshi. I've, hopefully, incorporated your suggestions in the attached patch.
=end
runpaint (Run Paint Run Run)
07:43 AM Bug #1640: [PATCH] Documentation for the Rational Class
=begin
>> div and modulo relate to floor, remainder relate to truncate.
>
> Do you suggest a "see also" pointer ...
tadf (tadayoshi funaba)
01:14 AM Bug #1640: [PATCH] Documentation for the Rational Class
=begin
> should not use float on the description of divmod.
> divmod = div + modulo.

I've removed that explan...
runpaint (Run Paint Run Run)
08:37 PM Bug #1651 (Closed): Segfault for #numerator and #denominator on Numeric Subclass
=begin
Applied in changeset r23733.
=end
tadf (tadayoshi funaba)
01:24 PM Bug #1651 (Closed): Segfault for #numerator and #denominator on Numeric Subclass
=begin
$ ruby -ve 'class N < Numeric; end; N.new.numerator'
ruby 1.9.2dev (2009-06-17 trunk 23719) [i686-linux...
runpaint (Run Paint Run Run)
07:19 PM Bug #1654 (Closed): Segmentation fault after a "make install" under OpenSolaris 2009.06
=begin
Hello there,

I've got the source code via

svn co http://svn.ruby-lang.org/repos/ruby/trunk ruby

...
saraiva (Pedro Saraiva)
04:02 PM Revision f0a75dbb (git): * 2009-06-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:02 PM Revision fe737a1e (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): went infinity too
early. add BASE_FIG margin. [ruby-dev:38673]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23737 b2dd03c8-39d4...
matz (Yukihiro Matsumoto)
02:04 PM Revision 32004e3c (git): don't use /tmp as example socket path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:41 PM Revision 67f93ddc (git): * rational.c (nurat_s_convert): calls to_r when the given argument
is non-integer.
* rational.c (nurat_s_convert): raises TypeError when the given
argument is nil.
...
Tadayoshi Funaba
11:39 AM Revision 430eb945 (git): removed an extra space.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
11:33 AM Revision 1fda5e1a (git): * numeric.c ( num_numerator, num_denominator): use
to_r [ruby-core:23910].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
09:48 AM Bug #1650 (Rejected): Time range === is slow
=begin
The following program runs N times slower in ruby19 compared to ruby18.
N depends on the input range size....
kmeaw (Dmitry Bilunov)
09:24 AM Bug #1649 (Closed): use of #send in MonitorMixin::extend_object fails for BasicSocket objects
=begin
MonitorMixin::extend_object executes obj.send(:mon_initialize) with the intention of invoking Object#send. H...
ysh (Young Hyun)
07:32 AM Revision dd2c22ae (git): oops. bump
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
07:31 AM Revision 58cfb41d (git): Imported minitest 1.4.0 r5083.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
01:17 AM Bug #1643 (Closed): documentation are installed to the wrong dir in windows
=begin
Applied in changeset r23728.
=end
nobu (Nobuyoshi Nakada)
12:25 AM Bug #1643: documentation are installed to the wrong dir in windows
=begin
This happens on both Linux(x86_64) and AIX as well.
Attached patch is how I avoided this issue, but I'm not...
kanemoto (Yutaka Kanemoto)

06/17/2009

11:18 PM Bug #1646 (Closed): BigDecimal で浮動小数点数への変換が正しく行なわれないことがある
=begin
BigDecimal で浮動小数点数への変換が正しく行なわれないことがある

irb -r bigdecimal -r bigdecimal/util
main@192-20090617> Float::M...
tadf (tadayoshi funaba)
11:13 PM Bug #1645 (Closed): 大きな数の比較で正しくない結果になることがある
=begin
大きな数の比較で正しくない結果になることがある

main@192-20090617> inf = 1.0/0.0
#=> Infinity
main@192-20090617> inf <=> (Fl...
tadf (tadayoshi funaba)
10:46 PM Bug #1640: [PATCH] Documentation for the Rational Class
=begin
thanks for your patch. i felt it is good on the whole.

i have some requests and hits.

should not u...
tadf (tadayoshi funaba)
05:09 PM Bug #1627: Kernel.require Should Canonicalise Paths
=begin
Hi,

In message "Re: [ruby-core:23845] [Bug #1627] Kernel.require Should Canonicalise Paths"
on Sun, 1...
matz (Yukihiro Matsumoto)
05:07 PM Bug #1627: Kernel.require Should Canonicalise Paths
=begin
Hi,

In message "Re: [ruby-core:23848] [Bug #1627] Kernel.require Should Canonicalise Paths"
on Sun, 1...
matz (Yukihiro Matsumoto)
05:07 PM Bug #1622 (Closed): [PATCH] Module.autoload Documentation Fix
=begin
Applied in changeset r23725.
=end
matz (Yukihiro Matsumoto)
05:07 PM Bug #1620 (Closed): [PATCH] Kernel.require Normalises Paths in 1.9
=begin
Applied in changeset r23724.
=end
matz (Yukihiro Matsumoto)
05:05 PM Revision 7fc9c4a4 (git): * numeric.c (flo_cmp): Infinity is greater than any bignum
number. [ruby-dev:38672]
* bignum.c (rb_big_cmp): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23730 b...
matz (Yukihiro Matsumoto)
04:29 PM Revision 7785612a (git): * file.c (file_expand_path): drive letter is ascii only.
[ruby-dev:38612]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:09 PM Revision 4d3c75e2 (git): * configure.in (ridir, RI_BASE_NAME): fixed for path expansion.
[ruby-core:23876]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:49 PM Revision cefaa168 (git): * rational.c (nurat_coerce): accepts Complex when the imag is
exact zero.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
02:37 PM Feature #1644 (Assigned): recv on inherited socket wrapped in TCPSocket does not read data, on Windows
=begin
On Windows, if you try to wrap an existing winsock socket that was inherited from a parent process into a TC...
kntuaf (Kedar H)
02:07 PM Bug #1612 (Closed): StringScanner#matchedsize warn "use #matched_size instead"
=begin
Applied in changeset r23721.
=end
matz (Yukihiro Matsumoto)
12:55 PM Revision b6849b25 (git): * bignum.c (rb_big_fdiv): checks whether the given second argument
can be converted to float properly.
* numeric.c (fix_fdiv): calls rb_big_fdiv when the given second
...
Tadayoshi Funaba
08:27 AM Bug #1636 (Closed): Rational#coerce(Rational) Raises TypeError
=begin
Applied in changeset r23718.
=end
tadf (tadayoshi funaba)
08:07 AM Feature #977: caller for all threads patch
=begin
Hi,

In message "Re: [ruby-core:23812] Re: [Bug #977] caller for all threads patch"
on Fri, 12 Jun 200...
matz (Yukihiro Matsumoto)
08:00 AM Revision bbd2b5e9 (git): * load.c (rb_mod_autoload): ditto. [ruby-core:23835]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
07:59 AM Revision bb7a1e8d (git): * load.c (rb_f_require): RDoc updated. a patch from Run Paint Run
Run in [ruby-core:23833].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
06:22 AM Revision a6db50e0 (git): * sample/test.rb (valid_syntax?): should not capture BOM.
* test/ruby/test_system.rb (TestSystem#valid_syntax?): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@237...
nobu (Nobuyoshi Nakada)
05:37 AM Revision 53ecede9 (git): * sample/test.rb (valid_syntax?): skips BOM. [ruby-dev:38666]
* test/ruby/test_system.rb (TestSystem#valid_syntax?): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@237...
nobu (Nobuyoshi Nakada)
04:57 AM Revision d121a3fb (git): * ext/strscan/strscan.c (Init_strscan): remove obsolete
matchedsize method, use matched_size instead. [ruby-dev:38591]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23...
matz (Yukihiro Matsumoto)
03:56 AM Revision 945ea61c (git): * thread.c (ruby_thread_stack_overflow): call rb_exc_raise() on
stack overflows in the signal handler, if sigaltstack is
available. On stack overflow (and with sigaltstack), the ...
matz (Yukihiro Matsumoto)
03:26 AM Bug #1643 (Closed): documentation are installed to the wrong dir in windows
=begin
after running make install it says
installing rdoc: $(DATAROOTDIR)/$(RI_BASE_NAME)/1.9.1/syste...
rogerdpack (Roger Pack)
01:24 AM Bug #1392: Object#extend leaks memory on Ruby 1.9.1
=begin
I think you can tell if it was a leak by running a loop

loop do
s = {}
s.extend BetterHash...
rogerdpack (Roger Pack)

06/16/2009

11:56 PM Revision 39a770b7 (git): * ext/objspace: added. objspace library extends some methods to
ObjectSpace module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
11:17 PM Revision ad522685 (git): * complex.c (nucomp_coerce): accepts Complex instances.
* rational.c (nurat_coerce): accepts Rational
instances. [ruby-core:23859]
git-svn-id: svn+ssh://ci.ruby...
Tadayoshi Funaba
10:46 PM Revision 3afd3c7b (git): * 2009-06-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:46 PM Revision 2e470cbf (git): * lib/webrick/httputils.rb (parse_form_data): escape boundary of
multipart/form-data when embed in regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23716 b2dd0...
naruse (Yui NARUSE)
10:42 PM Revision cde49100 (git): * lib/webrick/httputils.rb (parse_form_data): escape boundary of
multipart/form-data when embed in regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23715 b2dd03c8-39d4-4d8f...
naruse (Yui NARUSE)
10:36 PM Revision 3caa4ee5 (git): * array.c (rb_ary_memsize): added.
* io.c (rb_io_memsize): added.
* regcomp.c (onig_memsize): added.
* string.c (rb_str_memsize): added.
* transcode.c (...
ko1 (Koichi Sasada)
10:23 PM Revision 51d174a1 (git): * iseq.c (iseq_memsize): added. Use RTypedData instead of RData
for ISeq.
* vm.c (env_memsize, vm_memsize, thread_memsize): added. Use
RTypedData instead of RData for Env, VM, Th...
ko1 (Koichi Sasada)
10:03 PM Revision af0429b5 (git): * st.c, include/ruby/st.h (st_memsize): added. This function returns
the memory usage of st_talbe.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23712 b2dd03c8-39d4-4d8f-98ff-823f...
ko1 (Koichi Sasada)
09:40 PM Revision dfb0fa0c (git): fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:36 PM Revision a74d12dc (git): * include/ruby/ruby.h: New structure RTypedData, added.
This structure incldues more explicit type information for
T_DATA objects. If RData(obj)->dfree is immediate value...
ko1 (Koichi Sasada)
09:15 PM Revision a0e0fafa (git): * gc.c: fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:07 PM Revision 06f833e6 (git): * gc.c (rb_objspace_each_objects): New C API, added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
03:49 PM Revision 6883f97a (git): * 2009-06-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:49 PM Revision be3c53d5 (git): * test/ruby/test_argf.rb (TestArgf#test_skip): updated test
according to clarified behavior.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23706 b2dd03c8-39d4-4d8f-98ff-823...
matz (Yukihiro Matsumoto)
02:46 PM Revision d3b85234 (git): * io.c (fptr_finalize): revert last change. [ruby-dev:38648]
* io.c (fptr_finalize): skip close(2) for fd 0,1,2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23705 b2dd03c8...
matz (Yukihiro Matsumoto)
01:23 PM Revision 47fc6a3a (git): * io.c (rb_io_open), math.c (domain_check), object.c (boot_defclass):
constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:05 PM Feature #1628: GC.stat
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:38652] Re: [Feature: trunk] GC.stat"
on Tue, 16 Jun 2009 11:18:...
matz (Yukihiro Matsumoto)
11:18 AM Feature #1628: GC.stat
=begin
Yukihiro Matsumoto wrote::
> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:38646] Re: [Feature: trunk] GC.sta...
ko1 (Koichi Sasada)
09:59 AM Feature #1628: GC.stat
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:38646] Re: [Feature: trunk] GC.stat"
on Tue, 16 Jun 2009 09:31:...
matz (Yukihiro Matsumoto)
09:31 AM Feature #1628: GC.stat
=begin
 ささだです.

Yukihiro Matsumoto wrote::
> 一応、名前を付けた本人は
>
> heap - オブジェクトを切り出して来る空間
> slot - 切り出してきたオブジ...
ko1 (Koichi Sasada)
01:29 AM Feature #1628: GC.stat
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:38642] Re: [Feature: trunk] GC.stat"
on Tue, 16 Jun 2009 00:52:...
matz (Yukihiro Matsumoto)
12:52 AM Feature #1628: GC.stat
=begin
 ささだです.

Tanaka Akira wrote::
> slot は、HEAP_MIN_SLOTS などをみると、オブジェクトの場所とい
> う意味で使われていて違うんじゃないかと思いますが。

 ...
ko1 (Koichi Sasada)
11:24 AM Bug #595: Fiber ignores ensure clause
=begin
 ささだです.

wanabe wrote::
> ruby 1.9.2dev (2009-06-14 trunk 23691) [i386-mingw32] では
> make test-all で SEGV...
ko1 (Koichi Sasada)
11:22 AM Feature #1623: rb_objspace_each_objects
=begin
 ささだです.

Nobuyoshi Nakada wrote::
> VALUE*を渡すということは一度VALUEの配列を作るわけですから、
> strideは不要でしょう。もっとも、end-startが大き...
ko1 (Koichi Sasada)
11:19 AM Feature #1623: rb_objspace_each_objects
=begin
なかだです。

At Tue, 16 Jun 2009 11:05:58 +0900,
SASADA Koichi wrote in [ruby-dev:38650]:
> void
> rb_objspac...
nobu (Nobuyoshi Nakada)
11:06 AM Feature #1623: rb_objspace_each_objects
=begin
 ささだです.

SASADA Koichi wrote::
>> このcallbackですが
>>
>> (*callback)(VALUE *values, size_t run, void* dat...
ko1 (Koichi Sasada)
11:14 AM Bug #1640 (Closed): [PATCH] Documentation for the Rational Class
=begin
The Rational class has no documentation, so I've attached a first draft. Some comments:

* The class was ...
runpaint (Run Paint Run Run)
11:10 AM Revision e54f8806 (git): * transcode.c (transcode_restartable0): refix can't build with VC9.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:08 AM Feature #1637: RTypedData
=begin
 ささだです.

Yukihiro Matsumoto wrote::
> | 現在,RData に格納された情報は,その元になった型情報がなくなってしまい
> |ますが,型情報を陽に持たせた RTypedDa...
ko1 (Koichi Sasada)
02:09 AM Feature #1637: RTypedData
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:38620] [Feature: trunk] RTypedData"
on Mon, 15 Jun 2009 12:07:2...
matz (Yukihiro Matsumoto)
10:25 AM Bug #1633: ARGF#close and ARGF#skip are Often Fatal on 1.9
=begin
Hi,

In message "Re: [ruby-core:23853] [Bug #1633] ARGF#close and ARGF#skip are Often Fatal on 1.9"
on...
matz (Yukihiro Matsumoto)
10:17 AM Bug #1633 (Closed): ARGF#close and ARGF#skip are Often Fatal on 1.9
=begin
Applied in changeset r23699.
=end
matz (Yukihiro Matsumoto)
07:14 AM Revision bc4c51ec (git): Tue Jun 16 16:09:59 2009 TAKANO Mitsuhiro (takano32) <[email protected]>
* parse.y (parser_read_escape, parser_tokadd_escape):
replace scan_oct as ruby_scan_oct.
git-svn-id: svn...
takano32 (Mitsuhiro TAKANO)
01:15 AM Revision a4349c6b (git): * 2009-06-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:15 AM Revision 14d860d9 (git): * io.c (argf_close): always call #close method. [ruby-core:23853]
* io.c (argf_skip): should close only when current_file is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/br...
matz (Yukihiro Matsumoto)
01:14 AM Revision 6f1edacc (git): * io.c (fptr_finalize): should close stdin/stdout/stderr when
closed explicitly. [ruby-core:23853]
* io.c (argf_skip): should close only when current_file is available.
git-sv...
matz (Yukihiro Matsumoto)

06/15/2009

10:58 PM Revision 7a71dff0 (git): avoid signbit() and adjust indentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Tadayoshi Funaba
10:42 PM Bug #1540: read on win32 now defaults to blocking
=begin
Appears that with 1.9 + windows you must use fcntl [instead of direct ioctlsocket] so that ruby adds the sock...
rogerdpack (Roger Pack)
08:07 PM Feature #1623: rb_objspace_each_objects
=begin
 ささだです.

Yukihiro Matsumoto wrote::
> |>  なんて名前がいいでしょうかね.
> |
> | ちょっと考えたのですが,こんなのはどうでしょうか.
> |
> |voi...
ko1 (Koichi Sasada)
07:00 PM Feature #1623: rb_objspace_each_objects
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:38605] Re: [Feature: trunk] rb_objspace_each_objects"
on Sun, 1...
matz (Yukihiro Matsumoto)
06:57 PM Bug #1632 (Closed): ARGF's Iterators Return nill Instead of self
=begin
Applied in changeset r23694.
=end
matz (Yukihiro Matsumoto)
05:24 AM Bug #1632 (Closed): ARGF's Iterators Return nill Instead of self
=begin
ARGF#each_char, ARGF#each_byte, ARGF#bytes, and ARGF#chars now return nil when passed a block. On 1.8 they re...
runpaint (Run Paint Run Run)
06:45 PM Feature #1630: *_memsize()
=begin
Yukihiro Matsumoto wrote::
> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:38627] Re: [Feature: trunk] *_mems...
ko1 (Koichi Sasada)
06:34 PM Feature #1630: *_memsize()
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:38627] Re: [Feature: trunk] *_memsize()"
on Mon, 15 Jun 2009 18...
matz (Yukihiro Matsumoto)
06:27 PM Feature #1630: *_memsize()
=begin
 ささだです.

Yukihiro Matsumoto wrote::
> | あるオブジェクトがどの程度メモリを食っているのか調べるための体系を作る
> |のはどうでしょうか.
>
> 強い反対というわ...
ko1 (Koichi Sasada)
05:43 PM Feature #1630: *_memsize()
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:38609] [Feature: trunk] *_memsize()"
on Mon, 15 Jun 2009 02:07:...
matz (Yukihiro Matsumoto)
02:11 AM Feature #1630: *_memsize()
=begin
SASADA Koichi wrote::
>  多分,数え間違ってるだろうし,メモリアローケーション,まぁ,死ぬ
> (SEGV)することもないだろう,とか.

 編集していたら,変な文章を送ってしまいました...
ko1 (Koichi Sasada)
02:07 AM Feature #1630 (Closed): *_memsize()
=begin
 ささだです.

 あるオブジェクトがどの程度メモリを食っているのか調べるための体系を作る
のはどうでしょうか.

rb_ary_memsize(), onig_memsize(), rb_str_...
ko1 (Koichi Sasada)
06:44 PM Bug #595: Fiber ignores ensure clause
=begin
ワナベです。

2009/06/15 6:33 に SASADA Koichi<[email protected]> さんは書きました:
> wanabe wrote::
>> かなり前のチケットですが、題名の件につい...
wanabe (_ wanabe)
06:33 AM Bug #595: Fiber ignores ensure clause
=begin
 ささだです.

 返事が随分遅くなってしまってすみません.

wanabe wrote::
> かなり前のチケットですが、題名の件についてパッチを書きました。
> もしまだどなたもパッチを書かれていないよ...
ko1 (Koichi Sasada)
06:31 PM Bug #1638 (Closed): called on terminated object
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:38625] Re: [BUG: trunk] called on terminated object"
on Mon,...
matz (Yukihiro Matsumoto)
06:23 PM Feature #1628: GC.stat
=begin
 ささだです.

Tanaka Akira wrote::
>> {:count=>1, # これまで GC が起こった回数
>> :elapsed_time=>0.004...
ko1 (Koichi Sasada)
06:07 PM Bug #1634 (Closed): called on terminated object
=begin
Applied in changeset r23693.
=end
matz (Yukihiro Matsumoto)
05:41 PM Bug #1634: called on terminated object
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:38613] [BUG: trunk] called on terminated object"
on Mon, 15 Jun...
matz (Yukihiro Matsumoto)
06:18 AM Bug #1634 (Closed): called on terminated object
=begin
 ささだです.

 ObjectSpace.each_object で inspect してまわっていると,"called on
terminated object" と言われてしまうのですが,とくに問題ないんで...
ko1 (Koichi Sasada)
04:52 PM Revision d25a5d9a (git): * 2009-06-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:52 PM Revision 5aac6548 (git): * vm_eval.c (rb_call0): refine exception message for hidden objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:39 PM Revision 04388f9f (git): * bignum.c (rb_big2db): (-Float::MAX.to_i*2).to_f should return
-HUGE_VAL (-Infinity).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Tadayoshi Funaba
12:07 PM Feature #1637 (Closed): RTypedData
=begin
 ささだです.

 現在,RData に格納された情報は,その元になった型情報がなくなってしまい
ますが,型情報を陽に持たせた RTypedData を新設するのはどうでしょうか.型
には,従来どおり ...
ko1 (Koichi Sasada)
11:25 AM Bug #1636 (Closed): Rational#coerce(Rational) Raises TypeError
=begin
On 1.9.2 trunk:

>> Rational(2).coerce(Rational(2))
TypeError: Rational can't be coerced into R...
runpaint (Run Paint Run Run)
09:54 AM Revision c6cb5726 (git): * io.c (argf_each_line): should return self. [ruby-core:23852]
* io.c (argf_each_byte, argf_each_char): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23694 b2dd03c8-39d...
matz (Yukihiro Matsumoto)
09:06 AM Revision 50e7cb3b (git): * gc.c (os_obj_of): invoke garbage collection before iteration, to
avoid accessing half recycled object references. [ruby-dev:38613]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
matz (Yukihiro Matsumoto)
06:36 AM Bug #1501: Enumerator.new { }.take(1).inject(&:+) causes stack overflow
=begin
 ささだです.

 返事が随分遅くなってしまってすみません.

Yusuke ENDOH wrote::
> なるほど、rb_block_call は必ずメソッドを呼び出すから大丈夫
> なんですね。
>...
ko1 (Koichi Sasada)
06:07 AM Bug #1633 (Closed): ARGF#close and ARGF#skip are Often Fatal on 1.9
=begin
I don't claim to fully understand this issue, but I'd like to explain some differences between ARGF#close/#s...
runpaint (Run Paint Run Run)
03:02 AM Bug #1614: startup failure with non-ascii path
=begin
ワナベと申します。

2009/06/12 14:51 に Nobuyoshi Nakada<[email protected]> さんは書きました:
> なかだです。
>
> http://d.haten...
wanabe (_ wanabe)
02:04 AM Revision b1f3890b (git): * .gdbinit (rp, iseq): load dummy_gdb_enums on demand.
[ruby-dev:38606]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

06/14/2009

03:58 PM Feature #1628 (Closed): GC.stat
=begin
 ささだです.

 現在の GC 関連の状態を表示するためのメソッド GC.stat を追加するのはど
うでしょうか.

{:count=>1, # これまで G...
ko1 (Koichi Sasada)
12:31 PM Feature #1623: rb_objspace_each_objects
=begin
 ささだです.

SASADA Koichi wrote::
>> * each_objectと単数形ではないだろうか
>
>  なんて名前がいいでしょうかね.

 ちょっと考えたのですが,こんなのは...
ko1 (Koichi Sasada)
02:08 AM Feature #1623: rb_objspace_each_objects
=begin
 ささだです.

Yukihiro Matsumoto wrote::
> * each_objectと単数形ではないだろうか

 なんて名前がいいでしょうかね.

> * VALUE*ではなくVAL...
ko1 (Koichi Sasada)
02:01 AM Feature #1623: rb_objspace_each_objects
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:38602] [Feature: trunk] rb_objspace_each_objects"
on Sun, 14 Ju...
matz (Yukihiro Matsumoto)
01:53 AM Feature #1623 (Closed): rb_objspace_each_objects
=begin
 ささだです.

 C レベルで ObjectSpace.each_object 相当の処理をするための C API を作る
のはどうでしょうか.動機は,[ruby-dev:38584] で提案した機能を,...
ko1 (Koichi Sasada)
11:00 AM Bug #1627: Kernel.require Should Canonicalise Paths
=begin
In addition, require './a.rb' and require '.\a.rb' should be regarded as identical on Windows.
=end
phasis68 (Heesob Park)
10:57 AM Bug #1627 (Closed): Kernel.require Should Canonicalise Paths
=begin
Applied in changeset r23689.
=end
nobu (Nobuyoshi Nakada)
07:34 AM Bug #1627 (Closed): Kernel.require Should Canonicalise Paths
=begin
Kernel.require on 1.9 is far saner than 1.8 with respect to normalizing path names before storing them in $"....
runpaint (Run Paint Run Run)
10:27 AM Bug #1624 (Closed): [PATCH] Documentation for File#size
=begin
Applied in changeset r23688.
=end
nobu (Nobuyoshi Nakada)
02:45 AM Bug #1624 (Closed): [PATCH] Documentation for File#size
=begin
Attached is documentation for the new File#size method.
=end
runpaint (Run Paint Run Run)
06:49 AM Bug #1626 (Closed): Set Raises NoMethodError for Non-Enumerable Arguments
=begin
Attempting to construct a Set on 1.9 with a non-Enumerable argument causes a NoMethodError to be raised, whic...
runpaint (Run Paint Run Run)
05:59 AM Revision 63bd8a74 (git): * thread.c, vm_eval.c: add Thread.backtrace.
* test/ruby/test_thread.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23691 b2dd03c8-39d4-4d8f...
ko1 (Koichi Sasada)
05:50 AM Revision d3027870 (git): * transcode.c (transcode_restartable0): revert last commit because
this change cause SEGV at test-all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23690 b2dd03c8-39d4-4d8f-98f...
ko1 (Koichi Sasada)
01:49 AM Revision 439ad47e (git): * file.c (rb_find_file_ext, rb_find_file): canonicalize absolute
paths. [ruby-core:23845]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:23 AM Revision 122018e8 (git): * file.c (rb_file_size): added rdoc. a patch from Run Paint Run
Run at [ruby-core:23839].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom