Project

General

Profile

Activity

From 09/18/2009 to 09/24/2009

09/24/2009

09:05 PM Revision ff54193c (git): Fixed heredoc to play with emacs better. Added :startdoc: to fix broken rdoc processing
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
08:59 PM Revision 608267e0 (git): * proc.c (Method#== doc): Fix doc, cf [ruby-core:24791]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
07:34 PM Revision 1874a8a3 (git): * lib/rational.rb (#+, #-, #/, #**, #<=>): Return correct error message in case coercion fails. Based on a patch by Run Paint Run Run [ruby-core:23903]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
06:56 PM Revision 0618ca3d (git): * hash.c (Hash#each): Fix documentation to reflect insertion order. A patch by Run Paint Run Run [ruby-core:23644] and [ruby-core:21231]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
06:36 PM Revision 64588c64 (git): * 2009-09-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:36 PM Revision fc01d426 (git): * hash.c (doc): doc fix, patch by Run Paint Run Run [ruby-core:23644]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
06:36 PM Revision b7e29355 (git): * hash.c (doc): doc fix, patch by Run Paint Run Run [ruby-core:23644]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
06:25 PM Revision 4c54973e (git): * 2009-09-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:25 PM Revision 01f7f0f3 (git): * hash.c (rehash doc): doc fix [ruby-core:23628]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
10:48 AM Bug #883 (Assigned): Failure: test_handle_special_CROSSREF_no_underscore(TestRDocMarkupToHtmlCrossref)
=begin

=end
marcandre (Marc-Andre Lafortune)
10:35 AM Revision e6f44733 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:37 AM Bug #2140 (Closed): Bignum#** broken by lib/mathn
=begin
ruby -r mathn -e 'p (1<<66)**2'
/usr/local/ruby19/lib/ruby/1.9.1/mathn.rb:50:in `**': undefined method `power!' for 73786976294838206464:Bignum (NoMethodError)
from -e:1:in `<main>'


Fixed in r25067
=end
marcandre (Marc-Andre Lafortune)
07:30 AM Bug #2134 (Rejected): Inspect Output for Rational and Complex
=begin
i don't know why we should track your questions here.
why not post them to list or forum?
anyway this is not a bug.
=end
tadf (tadayoshi funaba)
06:58 AM Bug #2134: Inspect Output for Rational and Complex
=begin
> this is not a bug report.
> this is not a matter for rational and complex.
> close by yourself.

It was not my intention to cause offense or annoyance... :-/ In my experience the BTS is the most efficient and expedient...
runpaint (Run Paint Run Run)
06:54 AM Revision f3525ac1 (git): * instruby.rb: win32/win32.h exists in srcdir.
reported by arton ( http://www.artonx.org/diary/20090919.html#p01 )
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:42 AM Revision c4b0b4c9 (git): * proc.c (mnew): generate method object that wraps method_missing,
when #respond_to_missing? is defined.
* test/ruby/test_object.rb (test_respond_to_missing): add test
suites for #respond_to_missing? changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:31 AM Revision a3940033 (git): * win32/win32.c (subtract): if the parameters are same value, should
return zero.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:11 AM Revision 52479771 (git): * win32/win32.c (rb_w32_select): of course, need to initialize rest.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:02 AM Revision 1ee81341 (git): * win32/win32.c (rb_w32_select): of course, need to initialize rest.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
01:45 AM Feature #2117: Binding to a class, a method from the class's superclass's metaclass, fails
=begin
Hi!
Yes, I hesitated before making the change but my reasoning was:
- past behavior contradicted the doc & intuition (at least mine! ;-)
- no apparent valid reason for past behavior (either for MRI or the language)
- p...
marcandre (Marc-Andre Lafortune)
01:26 AM Revision bd43f037 (git): * ext/openssl/ossl_config.c (ossl_config_add_value_m, ossl_config_set_section): Check if frozen (or untainted for $SECURE >= 4) [ruby-core:18377]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
01:07 AM Revision 23c8ba8c (git): * lib/mathn.rb (Fixnum#**, Float#**, Bignum#**): Allow fractional power for negative numbers when 'mathn' is required [redmine:783]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
12:42 AM Revision 399dace5 (git): * lib/mathn.rb (Bignum#**): Fixed bignum**fixnum that was broken when requiring lib/mathn
[ruby-core:25740]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune

09/23/2009

10:48 PM Bug #2139: backquotes method modifies unexpectedly returned content
=begin
Even default external encoding is not respected if you'd like to argue about:

irb(main):008:0> Encoding.default_external
=> #<Encoding:CP852>
irb(main):009:0> Encoding.default_external = Encoding.find 'utf-16le'
=> #<E...
vo.x (Vit Ondruch)
10:32 PM Bug #2139 (Rejected): backquotes method modifies unexpectedly returned content
=begin
irb(main):002:0> `cmd /c dir /b`
=> "folder1\nfolder2\n"
irb(main):003:0> `cmd /u /c dir /b`
=> "f\x00o\x00l\x00d\x00e\x00r\x001\x00\n\x00\n\x00f\x00o\x00l\x00d\x00e\x00r\x002\x00\n\x00\n\x00"

Notice the '\n\x00\n\x00'...
vo.x (Vit Ondruch)
09:16 PM Bug #2137 (Closed): Dir.glob does not support unicode on Windows
=begin
Although there are some methods which support wide characters (e.g. open_dir_handle), at the end, the directory listing does not work or returns array with corrupted entry names. This applies to both, trunk and also win32-unicod...
vo.x (Vit Ondruch)
07:45 PM Revision 089494fc (git): * load.c (Kernel#autoload?, Module#autoload?): added doc [ruby-core:19983]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:25 PM Revision d09ca418 (git): * 2009-09-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:25 PM Revision 5d3affad (git): * eval.c (Kernel#autoload?): doc fix by Jeremy Henty [ruby-core:19983]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:21 PM Revision 39ea1c8c (git): * ext/bigdecimal/lib/bigdecimal/math.rb (atan): atan(Infinity) is
PI/2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:17 PM Bug #2136 (Closed): 警告が正しくない
=begin
Applied in changeset r25053.
=end
nobu (Nobuyoshi Nakada)
11:04 AM Bug #2136 (Closed): 警告が正しくない
=begin
Bug #1950 と殆ど同じ現象です。

$ cat x.rb
if a = 1
end
$ cat y.rb
require 'x'

$ ./ruby -w -I. x.rb
$ ./ruby -w -I. y.rb
x.rb:1: warning: found = in conditional, should be ==
=end
tadf (tadayoshi funaba)
05:15 PM Feature #2126: ruby_init_stack() - add ability to specify or query max_stack_size
=begin
Hi,

In message "Re: [ruby-core:25674] [Feature #2126] ruby_init_stack() - add ability to specify or query max_stack_size"
on Mon, 21 Sep 2009 02:42:14 +0900, Suraj Kurapati <redmine@ruby-lang.org> writes:

| This way, ...
matz (Yukihiro Matsumoto)
05:08 PM Revision 1ef3ac47 (git): * ext/bigdecimal/lib/bigdecimal/math.rb (atan): reduce loop with
the formula of the double corner. based on a patch from
Masahiro Kanai (CanI) in [ruby-dev:39367].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:18 PM Revision 12fcef88 (git): * dln.c (aix_loaderror): fixed typo. suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Yutaka Kanemoto
03:19 PM Revision 8a52a566 (git): * 2009-09-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:19 PM Revision fc58a6c5 (git): * enum.c (enum_minmax): reduce comparison.
(enum_minmax_by): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:01 PM Revision 7728a17a (git): * lib/thread.rb (ConditionVariable#wait): add timeout argument.
[ruby-talk:346154]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:17 PM Bug #2132 (Closed): ("00".."00").to_a => ["0"]
=begin
Applied in changeset r25050.
=end
nobu (Nobuyoshi Nakada)
12:25 PM Revision 8c3926ae (git): * ext/bigdecimal/lib/bigdecimal/math.rb (atan): refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:41 AM Feature #2117: Binding to a class, a method from the class's superclass's metaclass, fails
=begin
Hi,

At Wed, 23 Sep 2009 06:04:42 +0900,
Marc-Andre Lafortune wrote in [ruby-core:25719]:
> Thank you for your patch.
> Applied in http://redmine.ruby-lang.org/repositories/revision/ruby-19?rev=25046
>
> Also fixed 1.8
>...
nobu (Nobuyoshi Nakada)
11:32 AM Feature #2117 (Assigned): Binding to a class, a method from the class's superclass's metaclass, fails
=begin

=end
nobu (Nobuyoshi Nakada)
06:04 AM Feature #2117 (Closed): Binding to a class, a method from the class's superclass's metaclass, fails
=begin
Thank you for your patch.
Applied in http://redmine.ruby-lang.org/repositories/revision/ruby-19?rev=25046

Also fixed 1.8
http://redmine.ruby-lang.org/repositories/revision/ruby-19?rev=25047

Rubyspecs updated.
=end
marcandre (Marc-Andre Lafortune)
02:51 AM Feature #2117: Binding to a class, a method from the class's superclass's metaclass, fails
=begin

=end
marcandre (Marc-Andre Lafortune)
11:37 AM Bug #2133 (Closed): Segfault When Eval'ing Large Hash Literals
=begin
Applied in changeset r25048.
=end
nobu (Nobuyoshi Nakada)
12:22 AM Bug #2133 (Closed): Segfault When Eval'ing Large Hash Literals
=begin
I can reproduce a segfault on ruby 1.9.2dev (2009-09-11) [i686-linux] by creating a hash with many thousands of keys, then eval'ing the result.

$ cat /tmp/large-hash.rb
hash = {}
IO.foreach('/usr/share/dict/words')...
runpaint (Run Paint Run Run)
11:34 AM Bug #2134 (Assigned): Inspect Output for Rational and Complex
=begin

=end
nobu (Nobuyoshi Nakada)
11:14 AM Bug #2134: Inspect Output for Rational and Complex
=begin
this is not a bug report.
this is not a matter for rational and complex.
close by yourself.

i believe inspect is for debug.
to eval any ouput of inspect is bad manner.

$ ./ruby -e 'p 0.0/0'
NaN
$ ./ruby -e 'p ...
tadf (tadayoshi funaba)
12:50 AM Bug #2134 (Rejected): Inspect Output for Rational and Complex
=begin
The inspect output of both Rational and Complex does not eval to the original number:

>> Rational(3,5).inspect
=> "(3/5)"
>> Complex(3,5).inspect
=> "(3+5i)"

In [ruby-core:23856] matz explained that the Rational o...
runpaint (Run Paint Run Run)
11:30 AM Revision 98b0d9f9 (git): cosmetic change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:24 AM Revision d3c64627 (git): describe Enumerable#chunk and Enumerable#slice_before.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:45 AM Bug #2135: File.executable? returns spurious true's in windows
=begin
Last I heard the IronRuby folks punted and simply went with checking for an .exe extension.
=end
djberg96 (Daniel Berger)
02:38 AM Bug #2135 (Closed): File.executable? returns spurious true's in windows
=begin
install hanna gem

C:\ruby\bin>irb
irb(main):001:0> File.executable? 'hanna'
=> true

though this file is not actually executable.
Same thing results thing with all versions of ruby.
Thanks!
=end
rogerdpack (Roger Pack)
08:46 AM Revision 945f4df6 (git): * vm_method.c (basic_obj_respond_to): new function to fundamental
behavior for #respond_to?
* vm_method.c (basic_obj_respond_to): calls #respond_to_missing
method if overridden, to check responsiveness of methods
implemented by #method_missing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25...
matz (Yukihiro Matsumoto)
08:08 AM Revision bda0b012 (git): * parse.y (assign_in_cond): also should warn assignment to dvar in
conditional. [ruby-dev:39363]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:17 AM Revision eb5692ab (git): * sprintf.c: fixed type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:16 AM Revision bb099046 (git): * time.c: fixed type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:14 AM Revision 1b541acd (git): * string.c (rb_str_upto): keep first width. [ruby-dev:39361]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:39 AM Revision 5a993c5d (git): * range.c: fixed type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:28 AM Revision a97e80ba (git): * tool/instruction.rb (make_header_prepare_stack): check stack
overflow. [ruby-core:25714]
* tool/instruction.rb (make_footer_stack_val): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:07 AM Bug #1984: unable to require '.so' files with full directory path
=begin
Hmm. I can't reproduce with 1.9 either, I thought I had been able to but apparently not.

With 1.8 it's

C:\dev\ruby\recr>irb
>> require "\\dev\\ruby\\recr\\mytest"
LoadError: 127: The specified procedure could not ...
rogerdpack (Roger Pack)

09/22/2009

10:14 PM Bug #2132 (Closed): ("00".."00").to_a => ["0"]
=begin
いまいです。

r24562 以降、("00".."00").to_a が ["0"] になります。それ以前は ["00"]
でした。String#upto の変更による影響のようです。

$ ./miniruby -ve 'p(("00".."00").to_a)'
ruby 1.9.2dev (2009-08-17 trunk 24561) [i686-linux]
["00"]
$ ./miniruby -ve 'p(("00".....
no6v (Nobuhiro IMAI)
08:37 PM Revision a4c105c3 (git): * eval.c (umethod_bind): Fix bug that disallowed methods from singleton classes to be used for UnboundMethod#bind and Module#define_method, even when that singleton class was of the right kind_of [ruby-core:25632]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
08:04 PM Revision 92304aa3 (git): * proc.c (umethod_bind, rb_mod_define_method): Fix bug that disallowed methods from singleton classes to be used for UnboundMethod#bind, Kernel#define_singleton_method and Module#define_method, even when that singleton class was of the right kind_of. A patch by Shane O'Brien [ruby-core:25632]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
07:02 PM Revision 78ddb4f6 (git): * proc.c (rb_mod_define_method): doc fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
06:56 PM Revision d67008b4 (git): * 2009-09-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:56 PM Revision 7c63ba4e (git): * eval.c (rb_mod_define_method): Doc fix (accepts UnboundMethod too)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
06:53 PM Revision e12b255c (git): * 2009-09-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:53 PM Revision 8b871e67 (git): * eval.c (rb_mod_define_method): Doc fix (accepts UnboundMethod too)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
01:11 PM Revision aa78c979 (git): * variable.c: fixed type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:16 PM Revision 7fd7e4a9 (git): * regint.h: commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:44 AM Bug #2129: Rational can't be coerced into BigDecimal (TypeError)
=begin
Thanks for the fix not to raise a TypeError.

Well, ruby svn trunk 25031 calculate Rational and BigDecimal as follows:
Rational + BigDecimal -> Rational
BigDecimal + Rational -> BigDecimal

I think that it shoul...
kubo (Takehiro Kubo)
04:57 AM Bug #2129 (Closed): Rational can't be coerced into BigDecimal (TypeError)
=begin
Applied in changeset r25025.
=end
nobu (Nobuyoshi Nakada)
07:34 AM Revision fe92b9a7 (git): * st.c (st_table_entry, st_get_key): use st_index_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:28 AM Revision 46970b2d (git): * regenc.h (PosixBracketEntryType): constified.
* regenc.h (PosixBracketEntryInit): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:27 AM Revision 01f3f864 (git): * regerror.c (onig_error_code_to_str, onig_snprintf_with_pattern):
fixed type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:26 AM Revision 62f073a3 (git): * regparse.c (st_str_end_key, str_end_cmp, str_end_hash):
constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:14 AM Revision 476b3d8f (git): * process.c (proc_setgroups): fixed type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:11 AM Revision bf3edb97 (git): * tool/transcode-tblgen.rb (transcode_generated_code): fixed type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:24 AM Feature #1081: add File::write() convenience method
=begin
To summarize Roger's comment, we prefer this API:

File::write(path, string, mode='wb', opt={})

Thanks for your consideration.
=end
sunaku (Suraj Kurapati)
02:59 AM Bug #585 (Closed): BigDecimal#remainder is not correct with small divisors
=begin

=end
marcandre (Marc-Andre Lafortune)
02:59 AM Bug #585 (Open): BigDecimal#remainder is not correct with small divisors
=begin
Documentation was incorrect.

x.remainder(y) = x - (x/y).truncate

Among other things, if y divides x, then modulo == remainder == 0 no matter what the signs involved.
=end
marcandre (Marc-Andre Lafortune)
02:47 AM Bug #585 (Closed): BigDecimal#remainder is not correct with small divisors
=begin
Applied in changeset r25020.
=end
marcandre (Marc-Andre Lafortune)
01:35 AM Revision 475074d5 (git): * enum.c (enum_chunk): new method Enumerable#chunk.
* enum.c (enum_slice_before): new method Enumerable#slice_before.
[ruby-dev:38392] [ruby-dev:39240]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:17 AM Bug #514 (Closed): OpenSSL::OCSP::Response's to_der always returns an empty string
=begin
Applied in changeset r25019.
=end
marcandre (Marc-Andre Lafortune)

09/21/2009

09:40 PM Bug #2129 (Closed): Rational can't be coerced into BigDecimal (TypeError)
=begin
Rational + BigDecimal makes a Rational as follows:

$ ruby -rbigdecimal -e "puts Rational(1) + BigDecimal.new('1')"
2/1

But BigDecimal + Rationl raises a TypeError as follows:

$ ruby -rbigdecimal -e "puts Bi...
kubo (Takehiro Kubo)
09:08 PM Revision 089beb67 (git): * process.c (run_exec_dup2): fixed type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:58 PM Revision fe1ce93f (git): * compile.c, cont.c, gc.c, insns.def, iseq.c, iseq.h, process.c,
thread.c, vm.c, vm_core.h, vm_dump.c, vm_eval.c,
vm_insnhelper.c, vm_method.c, template/insns_info.inc.tmpl,
tool/instruction.rb: fixed types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25030 b2dd03c8-39d4-4d8f-98ff-823fe69b...
nobu (Nobuyoshi Nakada)
08:04 PM Revision 2c34b66e (git): * ext/bigdecimal/lib/bigdecimal/{ludcmp,math}.rb: depend on
bigdecimal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:00 PM Revision 51132a8a (git): * ext/bigdecimal/lib/bigdecimal/newton.rb: rdoc needs to be
followed by the definition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:56 PM Revision c1f1b452 (git): * ext/bigdecimal/lib/bigdecimal/*.rb: made module functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:49 PM Revision 178dafef (git): * ext/bigdecimal/lib/*.rb: fixed indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:47 PM Revision d9bfa822 (git): * ext/bigdecimal/bigdecimal.c (GetVpValue): support conversion from
Rational. [ruby-core:25697]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:43 PM Revision 92fd1940 (git): * Makefile.in, win32/Makefile.sub (INSNS): depend on tools.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:42 PM Revision c3cd2816 (git): * tool/instruction.rb (make_insn_operand_optimized): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:34 PM Bug #2128 (Rejected): sample/test.rb:gc failure & unknown encoding messages OS X 10.6.1 (25015)
=begin
Recently I have been getting build failures from ruby 1.9.2 on OS X 10.6.1. Here is the end of the output from version 25015:

sample/test.rb:assignment ..........................................................................
mikestok (Mike Stok)
05:47 PM Revision bd7d5e5e (git): * 2009-09-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:46 PM Revision 28d64191 (git): * numeric.c: Fix doc for #remainder [ruby-core:18796]
* ext/bigdecimal/bigdecimal.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
05:46 PM Bug #2127: Fiber#resume - segfault inside C extension
=begin
Hi,

Nobu Nakada wrote:
> Maybe safe, maybe dangerous, noone has confirmed, nor
> considered it yet. There is no cross-thread violation like
> checks right now, but it might be figured out that the check is
> necessa...
sunaku (Suraj Kurapati)
05:06 PM Bug #2127: Fiber#resume - segfault inside C extension
=begin
Hi,

At Mon, 21 Sep 2009 16:26:17 +0900,
Suraj Kurapati wrote in [ruby-core:25691]:
> > I don't think it's guaranteed to resume a fiber in different
> > rb_protect scope.
>
> Why is that? Does each rb_protect scope have ...
nobu (Nobuyoshi Nakada)
04:26 PM Bug #2127: Fiber#resume - segfault inside C extension
=begin
Hi,

Nobu Nakada wrote:
> Regardless of fiber, uncaught exception causes a segfault.

Thanks, this is good to know.

> I don't think it's guaranteed to resume a fiber in different
> rb_protect scope.

Why is t...
sunaku (Suraj Kurapati)
03:29 PM Bug #2127: Fiber#resume - segfault inside C extension
=begin
Hi,

At Mon, 21 Sep 2009 13:34:31 +0900,
Suraj Kurapati wrote in [ruby-core:25689]:
> The trick is to always work with the Fiber inside the environment
> (a running thread?) provided by rb_protect(). If you try to do
> a...
nobu (Nobuyoshi Nakada)
01:34 PM Bug #2127: Fiber#resume - segfault inside C extension
=begin
I found an answer to my question:

The trick is to always work with the Fiber inside the environment
(a running thread?) provided by rb_protect(). If you try to do
anything to the Fiber (other than #inspect) outside of...
sunaku (Suraj Kurapati)
12:29 PM Bug #2127: Fiber#resume - segfault inside C extension
=begin
I have one small question about the example code:

I want to pause the execution of run_body() and return
control to main(). Later, main() will resume run_body().
In other words, I want to make run_body() like a Fiber.
...
sunaku (Suraj Kurapati)
11:52 AM Bug #2127: Fiber#resume - segfault inside C extension
=begin
Wow, thanks for the quick response! The corrections
you made to my C code are very helpful and instructive.

Thanks for your help! Cheers. :-)
=end
sunaku (Suraj Kurapati)
10:57 AM Bug #2127 (Rejected): Fiber#resume - segfault inside C extension
=begin

=end
nobu (Nobuyoshi Nakada)
10:57 AM Bug #2127 (Open): Fiber#resume - segfault inside C extension
=begin

=end
nobu (Nobuyoshi Nakada)
10:22 AM Bug #2127: Fiber#resume - segfault inside C extension
=begin
Hi,

At Mon, 21 Sep 2009 09:12:52 +0900,
Suraj Kurapati wrote in [ruby-core:25681]:
> Both Fiber#resume and rb_fiber_resume() are causing a segfault
> when called from inside a very simple C extension (see below).

Don't c...
nobu (Nobuyoshi Nakada)
10:17 AM Bug #2127 (Closed): Fiber#resume - segfault inside C extension
=begin
Applied in changeset r25014.
=end
nobu (Nobuyoshi Nakada)
09:12 AM Bug #2127 (Rejected): Fiber#resume - segfault inside C extension
Hi,

I am using ruby 1.9.2dev (2009-09-14 trunk 24923) [i686-linux].

Both Fiber#resume and rb_fiber_resume() are causing a segfault
when called from inside a very simple C extension (see below).

Thanks for your considera...
sunaku (Suraj Kurapati)
05:42 PM Revision 52999632 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_remainder): Doc fix [ruby-core:18796]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:16 PM Bug #1984 (Feedback): unable to require '.so' files with full directory path
=begin

=end
nobu (Nobuyoshi Nakada)
05:16 PM Bug #1984: unable to require '.so' files with full directory path
=begin
Hi,

At Mon, 24 Aug 2009 14:01:17 +0900,
Roger Pack wrote in [ruby-core:25075]:
> Author: Roger Pack
> Status: Open, Priority: Normal
> ruby -v: 1.9.2 mingw

What revision?

> where c:\dev\go.rb exists
> you can requir...
nobu (Nobuyoshi Nakada)
04:13 PM Revision ae86e152 (git): * ossl_ocsp.c (ossl_ocspres_to_der): Bug fix in Response#to_def. Patch by Chris Chandler [ruby-core:18411]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
04:12 PM Revision 3eb37951 (git): * 2009-09-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:12 PM Revision cf69eeab (git): * ossl_config.c (ossl_config_add_value_m, ossl_config_set_section): Check if frozen (or untrusted for $SECURE >= 4) [ruby-core:18377]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
11:06 AM Revision 2d8a79fa (git): * cont.c, proc.c: added rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:12 AM Revision f331b558 (git): * proc.c (proc_binding): allow proc from method. [ruby-core:25589]
* vm.c (collect_local_variables_in_env): block iseq can be NULL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:56 AM Bug #2121: mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
=begin
> Run Paint Run suggested that 1.9 SHOULD produce a Rational or maybe a
> float as the result of dividing two integers, because "that what Guido
> would do."

He said, of course, no such thing. I suggest that when your s...
runpaint (Run Paint Run Run)
05:18 AM Bug #2121: mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
=begin
On Sun, Sep 20, 2009 at 3:51 PM, brian ford <brixen@gmail.com> wrote:
> Hi,
>
> On Sun, Sep 20, 2009 at 9:19 AM, Rick DeNatale <rick.denatale@gmail.com> wrote:
>>
>> Actually in most languages which I've encountered, and tha...
RickDeNatale (Rick DeNatale)
04:52 AM Bug #2121: mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
=begin
Hi,

On Sun, Sep 20, 2009 at 9:19 AM, Rick DeNatale <rick.denatale@gmail.com> wrote:
>
> Actually in most languages which I've encountered, and that's quite a
> few. Mixed mode arithmetic has been implemented by having some ...
brixen (Brian Shirai)
04:22 AM Bug #2121: mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
=begin
I agree that _mathn_ constitutes a problem, but due to the means it employs rather than the end it achieves. In Ruby 1.8 the expectation is that '/' performs integer division, and having such a fundamental be subverted is untenab...
runpaint (Run Paint Run Run)
04:11 AM Bug #496: DRb.start_service(nil) is very slow
=begin

=end
marcandre (Marc-Andre Lafortune)
03:30 AM Bug #340: 1.9/trunk does not work when compiled with llvm-gcc4 2.3 (gcc 4.2.1)
=begin

=end
marcandre (Marc-Andre Lafortune)
02:42 AM Feature #2126: ruby_init_stack() - add ability to specify or query max_stack_size
=begin
Sigh, yet another mistake. Below is my corrected request. Sorry for
the trouble.

Add a max_stack_size parameter to ruby_init_stack():

void ruby_init_stack(VALUE* stack_start, size_t max_stack_size);

Ad...
sunaku (Suraj Kurapati)
02:35 AM Feature #2126: ruby_init_stack() - add ability to specify or query max_stack_size
=begin
Whoops, I assumed that the native machine's stack direction grows from
high to low. That is not protable, so here is my corrected request:


Add a max_stack_size parameter to ruby_init_stack():

void ruby_init...
sunaku (Suraj Kurapati)
01:54 AM Bug #1142: /opt/ruby19/lib/ruby19/1.9.1/openssl/ssl.rb:31: [BUG] Bus Error
=begin

=end
marcandre (Marc-Andre Lafortune)
01:13 AM Revision 3a7c1e25 (git): * cont.c (cont_new, cont_capture, fiber_t_alloc): needs already
running thread. cf. [ruby-core:25681]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:32 AM Bug #2063: Core dump on AIX
=begin
Try again... sorry
=end
pedz (Perry Smith)
12:04 AM Bug #2050 (Closed): Abbreviated Assignment Operators No Longer Return rvalue
=begin
Applied in changeset r24999.
=end
nobu (Nobuyoshi Nakada)

09/20/2009

07:30 PM Bug #2118 (Closed): SUN の cc (SunStudio11 C 5.8 コンパイラ) で dir.c のコンパイルに失敗する
=begin
Applied in changeset r25002.
=end
nobu (Nobuyoshi Nakada)
07:24 PM Bug #2097: fork NotImplementedError on FreeBSD
=begin
Just information for someone see this,

FreeBSD 7.2 can fork when pthreads doesn't run.
So in trunk, stop timer thread then fork and restart timer.
=end
naruse (Yui NARUSE)
06:00 PM Bug #1787 (Closed): URI ライブラリの正規表現パターン
=begin
とりあえずこの話は片付いたと思われるのでcloseします。
=end
naruse (Yui NARUSE)
05:55 PM Feature #2126 (Closed): ruby_init_stack() - add ability to specify or query max_stack_size
=begin
Hello,

== Background ==

I am embedding Ruby 1.9 inside a callback function of a C program (a Verilog
simulator, to be precise):

1. The first time when the callback function is called, I will initialize Ruby
...
sunaku (Suraj Kurapati)
04:29 PM Bug #2121: mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
=begin
Hi,

On Sat, Sep 19, 2009 at 1:04 AM, Charles Oliver Nutter
<headius@headius.com> wrote:
> On Sat, Sep 19, 2009 at 12:28 AM, Joel VanderWerf
> <vjoel@path.berkeley.edu> wrote:
>> Perhaps it should be the responsibility of u...
brixen (Brian Shirai)
03:07 PM Revision cd4f59bc (git): * ext/bigdecimal/lib/bigdecimal/math.rb (sin, cos, atan, exp, log):
improved precision and performance. based on a patch from Makoto
Yamashita in [ruby-core:25600] and [ruby-core:25602].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:17 PM Feature #1408: 0.1.to_r not equal to (1/10)
=begin
Sorry to be late to the party on this one.

It is important to remember that a Float is always an approximation.

1.0 has to be understood as 1.0 +/- EPSILON, where the EPSILON is platform dependent. 1.0 is not more equal...
marcandre (Marc-Andre Lafortune)
11:17 AM Bug #1885 (Closed): Proper comparison of recursive Struct & Range
=begin
Applied in changeset r25010.
=end
marcandre (Marc-Andre Lafortune)
07:27 AM Revision 970ec9c0 (git): * lib/cgi/cookie.rb: fixed indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:14 AM Revision 7e41fabc (git): * 2009-09-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:14 AM Revision 0ebfc134 (git): * struct.c (rb_struct_equal, rb_struct_eql): Handle comparison of recursive structures [ruby-core:24759]
* range.c (range_eq, range_eql): ditto for ranges
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Marc-Andre Lafortune
12:53 AM Revision 6092bb2a (git): * lib/open3.rb (Open3#popen3): fixed and improved rdoc. [ruby-core:25658]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

09/19/2009

05:07 PM Bug #2121: mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
=begin
On Sat, Sep 19, 2009 at 1:01 AM, Charles Oliver Nutter
<headius@headius.com> wrote:
> integral division in your program changes wildly. It should not be
> possible for any library to undermine the basic mathematical
> expecta...
headius (Charles Nutter)
05:04 PM Bug #2121: mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
=begin
On Sat, Sep 19, 2009 at 12:28 AM, Joel VanderWerf
<vjoel@path.berkeley.edu> wrote:
> Perhaps it should be the responsibility of users of numeric operators to
> #floor explicitly when that is the intent, rather than rely on the...
headius (Charles Nutter)
02:08 PM Bug #2121: mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
=begin
One correction; 'quo' is broken in that it returns 0.333333333... in the default case and "1/3" in the mathn/rational case. These values are also of different magnitude, since 1/3 cannot be represented exactly in a floating point...
headius (Charles Nutter)
02:07 PM Bug #2121 (Closed): mathn/rational destroys Fixnum#/, Fixnum#quo and Bignum#/, Bignum#quo
=begin
I've known this for a while, but only now realized this is actually a terrible bug.

The mathn library replaces Fixnum#/ and Bignum#/ causing them to return a different value. When the result of a division is not an integral...
headius (Charles Nutter)
08:46 AM Revision 8892dd72 (git): * vm_core.h (ENABLE_VM_OBJSPACE): socklist needs st_table in
rb_w32_sysinit(), before object space initialization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:33 AM Revision a1485dbe (git): * dir.c (GlobPathValue), file.c (rb_get_path_check): path names
must be ASCII compatible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:08 AM Feature #2013: [PATCH] a = *b calls b.*@
=begin

=end
marcandre (Marc-Andre Lafortune)
05:58 AM Feature #1089 (Open): Stable sorting for sort and sort_by
marcandre (Marc-Andre Lafortune)
05:55 AM Feature #1400: Please add a method to enumerate fields in OpenStruct
=begin
I believe this could be useful.

#members might be a better name, because it is similar in role to Struct.members

The problem is that any new method is a potential compatibility break. #__members__ ?
=end
marcandre (Marc-Andre Lafortune)
05:47 AM Feature #1431: Object#__class__
=begin
-1 because:

a) __class__ is more keystrokes (if you count the shift key)
b) self.class is clear (and exists currently)
c) I feel that __something__ should ideally be reserved for special cases; self.class isn't. I am awa...
marcandre (Marc-Andre Lafortune)
01:59 AM Bug #2053 (Closed): `for` No Longer Splats When RHS Returns More Values Than LHS Expects
=begin

=end
nobu (Nobuyoshi Nakada)

09/18/2009

11:57 PM Bug #2109 (Closed): Marshal gives error when dumping and loading array with two regexps in ruby 1.9.1-p243
=begin
Applied in changeset r25001.
=end
nobu (Nobuyoshi Nakada)
07:38 PM Bug #2109: Marshal gives error when dumping and loading array with two regexps in ruby 1.9.1-p243
=begin
Resemble bug happened on trunk r25000, running on Debian GNU/Linux lenny i386.

a = "\x82\xa0".force_encoding("Windows-31J")
b = "\x82\xa2".force_encoding("Windows-31J")
str = Marshal.dump [ /#{a}/, /#{b}/ ]
put...
ngoto (Naohisa Goto)
08:49 PM Bug #2118 (Closed): SUN の cc (SunStudio11 C 5.8 コンパイラ) で dir.c のコンパイルに失敗する
=begin
Solaris10 上の Sun Studio 11 C 5.8 コンパイラにて trunk r25000 の
コンパイルに失敗します。

$ ./configure --prefix=/XXXXX/testruby/sparc/trunk-25000_64cc \
MAKE=/usr/local/64/bin/make \
CC=/opt/SUNWspro/bin/cc \
CXX=/opt/SUNWspro/bin...
ngoto (Naohisa Goto)
07:57 PM Feature #2117 (Closed): Binding to a class, a method from the class's superclass's metaclass, fails
=begin
I guess the best way to explain this is with an example:

>> class A; def self.foo; 'bar'; end; end
=> nil
>> class B < A; end
=> nil
>> A.method(:foo).unbind.bind(B)
TypeError: singleton method called for a differe...
duairc (Shane O'Brien)
03:46 PM Bug #2050 (Open): Abbreviated Assignment Operators No Longer Return rvalue
=begin
$ ./ruby -v -
ruby 1.9.2dev (2009-09-18 trunk 24985) [i386-darwin9.8.0]
a=Hash.new{[]}
b=2,3
p a[:x]<<=[*b,1]
-:3:in `[]': wrong number of arguments(2 for 1) (ArgumentError)
from -:3:in `<main>'
=end
nobu (Nobuyoshi Nakada)
03:42 PM Revision bdde5117 (git): * string.c: added rdocs for symbol.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:17 PM Revision ffcd041c (git): * string.c: fixed types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:02 PM Revision 01826ed8 (git): * 2009-09-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:02 PM Revision 21367ae0 (git): * include/ruby/ruby.h (rb_type): forward declaration to suppress a
warning. a patch from Naohisa Goto at [ruby-dev:39350]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:59 PM Revision 06e52ba5 (git): * dir.c (GlobPathValue): adjust return types. based on a patch
from Naohisa Goto at [ruby-dev:39350].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:51 PM Revision 1aa21e63 (git): * marshal.c (r_object0): entry regexp object before its encoding
name. [ruby-core:25625]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:36 AM Bug #2111 (Open): Error:test_rm_f(TestFileUtils)
=begin
タイミングが悪かったのでもう一度reopen。

include する順番によって include したクラスと Object の間に FileUtils が入ったり入らなかったりするのも問題の原因の一つだと思うのですが、どうでしょうか。

% ruby-trunk -r fileutils -e '
class C1
p ancestors ...
znz (Kazuhiro NISHIYAMA)
07:17 AM Bug #2111 (Closed): Error:test_rm_f(TestFileUtils)
=begin
Applied in changeset r24987.
=end
Anonymous
07:11 AM Bug #2111 (Open): Error:test_rm_f(TestFileUtils)
=begin
後半の件についてテストを追加したので reopen します。

% ruby-trunk test/fileutils/test_fileutils.rb -n test_rm_f
Loaded suite test/fileutils/test_fileutils
Started
.
Finished in 0.014927 seconds.

1 tests, 15 assertions, 0 failures, 0 ...
znz (Kazuhiro NISHIYAMA)
06:37 AM Bug #2111 (Closed): Error:test_rm_f(TestFileUtils)
=begin
Applied in changeset r24984.
=end
nobu (Nobuyoshi Nakada)
06:25 AM Bug #2111 (Closed): Error:test_rm_f(TestFileUtils)
=begin
rm_f の引数の意味が FileUtils.rm_f と mkmf.rb の rm_f で違うため、
mkmf と rake が require されていると test_rm_f が mkmf.rb の
rm_f で Dir[*files] の files が配列の配列になっていてエラーになります。

rm_f の違いとしては FileUtils.rm_f は
rm_f(list, options = {})
で複数ファイルは...
znz (Kazuhiro NISHIYAMA)
07:29 AM Revision d36c76dc (git): * common.mk (eval.o): needs vm.h.
* eval.c (ruby_cleanup): destruct current VM before exit.
* gc.c (rb_objspace_free): free object space.
* vm.c (ruby_vm_destruct): destruct and free VM struct.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25000 b2dd03c8-39d4-4d8...
nobu (Nobuyoshi Nakada)
07:15 AM Revision 86868409 (git): * compile.c (iseq_compile_each), parse.y (stmt, arg): arg_concat()
on op_asgn was inversed. [ruby-core:25629] [Bug #2050]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:06 AM Revision 6200f424 (git): * dir.c (GlobPathValue): glob allows null bytes as separators.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:45 AM Revision 519efacd (git): * win32/win32.c (rb_w32_select): wait specified time on select.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:44 AM Revision 4f8b1505 (git): * win32/win32.c (rb_w32_select): wait specified time on select.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:32 AM Revision d662b55e (git): * 2009-09-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:32 AM Revision a9f65bbd (git): * win32/win32.c (rb_w32_select): on 1.8, we don't need to poll sockets,
because our select is never called from multiple threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:59 AM Feature #1596: GC.time
=begin

=end
marcandre (Marc-Andre Lafortune)
04:57 AM Feature #1493: [patch] lex_state as bit field / IS_lex_state() macro
=begin

=end
marcandre (Marc-Andre Lafortune)
04:53 AM Feature #1408: 0.1.to_r not equal to (1/10)
=begin

=end
marcandre (Marc-Andre Lafortune)
04:52 AM Feature #1395: Steppable Kernel::eval
=begin

=end
marcandre (Marc-Andre Lafortune)
04:49 AM Feature #1374: location of already initialized constant
=begin

=end
marcandre (Marc-Andre Lafortune)
04:48 AM Feature #1358: net/http has no TRACK method - here's a patch
=begin

=end
marcandre (Marc-Andre Lafortune)
04:45 AM Feature #1349: Net::SMTP open_message and send_message always require from_addr, *to_addrs
=begin

=end
marcandre (Marc-Andre Lafortune)
04:41 AM Feature #1316: Phasor.rb: Complex number class using polar coordinates
=begin

=end
marcandre (Marc-Andre Lafortune)
04:40 AM Feature #1291: O_CLOEXEC flag missing for Kernel::open
=begin

=end
marcandre (Marc-Andre Lafortune)
04:29 AM Feature #1211: nested loop construct
=begin

=end
marcandre (Marc-Andre Lafortune)
04:26 AM Feature #1201: Add relative group reference in back reference with nest level in regular expressions (e.g. \k<-5+1>)
=begin

=end
marcandre (Marc-Andre Lafortune)
04:25 AM Feature #1200: Possibility for using named and normal groups together in regular expressions
=begin

=end
marcandre (Marc-Andre Lafortune)
04:23 AM Feature #1153: Enumerable#uniq
=begin

=end
marcandre (Marc-Andre Lafortune)
04:22 AM Feature #1122: request for: Object#try
=begin

=end
marcandre (Marc-Andre Lafortune)
04:21 AM Feature #1102: Prepend Module
=begin

=end
marcandre (Marc-Andre Lafortune)
04:19 AM Feature #1159: StringScanner に文字ベースでのインデックスを返すメソッドがほしい
=begin

=end
marcandre (Marc-Andre Lafortune)
04:18 AM Feature #1193: Justified Error Messages
=begin

=end
marcandre (Marc-Andre Lafortune)
04:13 AM Feature #2010: autoset http response encoding
=begin

=end
marcandre (Marc-Andre Lafortune)
04:12 AM Feature #1823: Readline Command Completion
=begin

=end
marcandre (Marc-Andre Lafortune)
04:11 AM Feature #1832: irb -w
=begin

=end
marcandre (Marc-Andre Lafortune)
04:10 AM Feature #1800: rubygems can replace system executable files
=begin

=end
marcandre (Marc-Andre Lafortune)
02:20 AM Revision f2b68df4 (git): * test/fileutils/test_fileutils.rb: fixed indent by splitting methods.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:11 AM Revision d7f76f84 (git): * doc/re.rdoc: use rdoc mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:11 AM Revision 96ac1948 (git): * misc/rdoc-mode.el: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:03 AM Revision 2f2d213f (git): * lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): don't branch by
RUBY_VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:02 AM Revision 0e62186d (git): * lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): don't branch by
RUBY_VERSION.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:02 AM Revision 70f03998 (git): * lib/rdoc/rdoc.rb (RDoc::RDoc#parse_files): emacs local variables
are delimited by a semicolon. supported Vim style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom