Project

General

Profile

Activity

From 09/30/2009 to 10/06/2009

10/06/2009

11:18 PM Bug #1787: URI ライブラリの正規表現パターン
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39438] Re: [Bug #1787] URI ライブラリの正規表現パターン"
on Tue, 6 Oct 2009 14:19:32 +0900, "NARUSE, Yui" <naruse@airemix.jp> writes:

|> [[:alnum:]]とかですか。Unicode意識でよいんじゃないでしょうか。
|
|一方で、Perl ...
matz (Yukihiro Matsumoto)
02:19 PM Bug #1787: URI ライブラリの正規表現パターン
=begin
成瀬です。

[[:alnum:]] のような、POSIX 文字クラスは、先日の話では、
以下の通り Unicode 準拠とするという話になりました。

2009/08/16 23:09, Yukihiro Matsumoto wrote:
> In message "Re: [ruby-dev:39088] [Bug #1787] URI ライブラリの正規表現パターン"
> on Sun, 16 Aug 2009 22:46:...
naruse (Yui NARUSE)
11:14 PM Revision b661aa0c (git): * time.c (NUM2TIMET): defined because some platforms, such as
NetBSD5/amd64 and NetBSD6/i386, has time_t which size is different
from long. (NetBSD 5 uses 32bit time_t for all, including 64bit,
platforms. NetBSD 6 uses 64bit time_t for all, including 32bit,
platforms.)
(TIMET2NUM): define...
akr (Akira Tanaka)
10:42 PM Feature #578: add method to disassemble Proc objects
=begin
Hi,

In message "Re: [ruby-core:25962] [Feature #578] add method to disassemble Proc objects"
on Tue, 6 Oct 2009 20:55:57 +0900, Roger Pack <redmine@ruby-lang.org> writes:

|Would it be possible for somebody to commit th...
matz (Yukihiro Matsumoto)
08:55 PM Feature #578: add method to disassemble Proc objects
=begin
Would it be possible for somebody to commit this? Do we need more approval?
Thanks.
-r
=end
rogerdpack (Roger Pack)
10:18 PM Bug #2181 (Closed): Segmentation fault for test/drb/* -- possible bug in Marshal/GC
=begin
After changeset r25230 in marshal.c I see some segfaults (at various places)when running make test-all or only test suite test/drb/*, see attached file test-crash.txt

Removing gc marks for elements of struct load_arg seems ...
nlugovoi (Nikolai Lugovoi)
10:04 PM Bug #2179: 1.9.2において block のスコープがおかしいときがある
=begin
いまいです。

From: 益隆 三村 <redmine_at_ruby-lang.org>
Date: Tue, 6 Oct 2009 21:14:10 +0900

> rubyspecを流しているときに気づいたのですが、
> ruby1.9.2 の trunk(rev 25243) にて blockのスコープが正しく動いてないように見えます。
> # 対応するrubyspecは core/string/upto_spec.rb:21
...
no6v (Nobuhiro IMAI)
09:14 PM Bug #2179 (Closed): 1.9.2において block のスコープがおかしいときがある
=begin
rubyspecを流しているときに気づいたのですが、
ruby1.9.2 の trunk(rev 25243) にて blockのスコープが正しく動いてないように見えます。
# 対応するrubyspecは core/string/upto_spec.rb:21
% ruby -v
ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-darwin9.8.0]
% irb
ruby-1....
takkanm (三村 益隆)
08:56 PM Feature #1045: nicer icon for ruby.exe
=begin
You can close this ticket, as well. Distributors can come up with their own icons I suppose :)
-r
=end
rogerdpack (Roger Pack)
07:56 PM Bug #2178 (Closed): in gem_prelude.rb: encoding error
=begin
When running the head ruby with a home directory that does contain non-ASCII characters, line 75 of gem_prelude.rb reports an exception because of invalid bytes in a string (interpreted as US-ASCII).
gem_prelude.rb:75:
...
duerst (Martin Dürst)
07:44 PM Bug #1776 (Closed): make fails when compiling socket
=begin
We haven't observed this problem for a long time anymore, so I think this bug should be closed.
=end
duerst (Martin Dürst)
03:58 PM Revision a1205690 (git): * string.c (rb_str_upto): RDoc updated. a patch from Nobuhiro
IMAI <nov at yo.rim.or.jp> in [ruby-dev:39440]. [ruby-dev:39439]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:31 PM Revision 69c63f76 (git): * 2009-10-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:31 PM Revision cb0244a0 (git): * 2009-10-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:31 PM Revision 230411ca (git): * lib/resolv.rb (Resolv::DNS.bind_random_port): bind to "::" for IPv6.
(Resolv::DNS::ConnectedUDP#initialize): specify is_ipv6 argument of
bind_random_port.
[ruby-core:25970]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:31 PM Revision 095e133c (git): * lib/resolv.rb (Resolv::DNS.bind_random_port): bind to "::" for IPv6.
(Resolv::DNS::ConnectedUDP#initialize): specify is_ipv6 argument of
bind_random_port.
[ruby-core:25970]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:07 PM Revision e1797bc7 (git): * lib/delegate.rb (Delegator::public_api): take snapshot of
public method at the beginning time.
* lib/delegate.rb (SimpleDelegator#initialize): use
Delegator.public_api since public_method might be added after
initialization. [ruby-dev:39383]
* lib/delegate.rb (DelegateClass): ditto.
git...
matz (Yukihiro Matsumoto)
12:31 PM Revision 1c544fcc (git): * io.c (io_reopen): avoid close if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:25 AM Bug #2171 (Open): Kernel#respond_to_missing? Invoked for Unimplemented Methods
=begin

=end
marcandre (Marc-Andre Lafortune)
08:30 AM Bug #2171: Kernel#respond_to_missing? Invoked for Unimplemented Methods
=begin
Actually, i pasted wrong patch in previous message.

This one is working and does not break as much -- using (ex & 0x7F):

--- a/vm_method.c
+++ b/vm_method.c
@@ -512,7 +512,7 @@ rb_method_boundp(VALUE klass, ID id, ...
nlugovoi (Nikolai Lugovoi)
07:55 AM Bug #2171: Kernel#respond_to_missing? Invoked for Unimplemented Methods
=begin
This update introduced some strange/broken behaviour of RSS parser -- test/rss/ were severely failing.

I had to use following patch to restore its work:

diff --git a/vm_method.c b/vm_method.c
index a31fb8b..22b4700 10...
nlugovoi (Nikolai Lugovoi)
10:07 AM Revision d1521f4b (git): * struct.c (rb_struct_select): Struct#select should return
enumerator when no block given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
05:46 AM Revision 516aa726 (git): * **/*.ja: set mime-type charset.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:46 AM Revision 5ef0d9c7 (git): * **/*.ja: set mime-type charset.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

10/05/2009

09:40 PM Bug #2176: [rubygems] $LOAD_PATH includes bin directory
=begin
On Mon, Oct 5, 2009 at 2:20 PM, Rick DeNatale <rick.denatale@gmail.com> wrote:
> On Sun, Oct 4, 2009 at 11:47 PM, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
>> Hi,
>>
>> What is the reason that bin is needed in $LOAD_PATH? ...
luislavena (Luis Lavena)
09:20 PM Bug #2176: [rubygems] $LOAD_PATH includes bin directory
=begin
On Sun, Oct 4, 2009 at 11:47 PM, Nobuyoshi Nakada <nobu@ruby-lang.org> wrote:
> Hi,
>
> What is the reason that bin is needed in $LOAD_PATH?  AFAIK,
> bin directory is for executable files, but not for libraries.
>

I beli...
RickDeNatale (Rick DeNatale)
12:47 PM Bug #2176 (Closed): [rubygems] $LOAD_PATH includes bin directory
=begin
Hi,

What is the reason that bin is needed in $LOAD_PATH? AFAIK,
bin directory is for executable files, but not for libraries.


Index: gem_prelude.rb
==============================================================...
nobu (Nobuyoshi Nakada)
09:29 PM Revision 3daae0f0 (git): * 2009-10-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:29 PM Revision d8812e2a (git): * ext/tk/lib/tk/canvas.rb: *** POTENTIALLY INCOMPATIBLE ***
'tags' option of a TkcItem object gives a list of TkcTag objects.
* ext/tk/lib/tkextlib/vu/dial.rb: fix logical bug.
* ext/tk/lib/tk/canvas.rb, ext/tk/lib/tkextlib/blt/component.rb:
lack of support for methodcall_optkeys.
git-svn-id:...
nagai (Hidetoshi Nagai)
09:29 PM Revision fd36be89 (git): * 2009-10-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:29 PM Revision cb732bbb (git): * ext/tk/lib/tk/canvas.rb: *** POTENTIALLY INCOMPATIBLE ***
'tags' option of a TkcItem object gives a list of TkcTag objects.
* ext/tk/lib/tkextlib/vu/dial.rb: fix logical bug.
* ext/tk/lib/tk/canvas.rb, ext/tk/lib/tkextlib/blt/component.rb:
lack of support for methodcall_optkeys.
git-svn-id:...
nagai (Hidetoshi Nagai)
08:22 PM Feature #2170 (Rejected): Visibility Predicates for Method Objects
=begin

=end
yugui (Yuki Sonoda)
12:34 PM Feature #2170 (Closed): Visibility Predicates for Method Objects
=begin

=end
marcandre (Marc-Andre Lafortune)
05:48 AM Feature #2170: Visibility Predicates for Method Objects
=begin
Feel free to close.
=end
runpaint (Run Paint Run Run)
02:35 PM Revision 40229f89 (git): * array.c (rb_ary_{times, shuffle_bang, sample}): reducing macro
calls inside of the loop by keeping pointers in local
variables. a patch from Masahiro Kanai (CanI) in [ruby-dev:39406].
It was found and fixed at Security and Programming camp 2009.
* string.c (rb_str_{times, split_m}): ditto.
* s...
matz (Yukihiro Matsumoto)
11:27 AM Revision c984f771 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:07 AM Bug #2171 (Closed): Kernel#respond_to_missing? Invoked for Unimplemented Methods
=begin
Applied in changeset r25234.
=end
matz (Yukihiro Matsumoto)

10/04/2009

10:27 PM Bug #1865 (Closed): uninitialized class variable @@accept_charset in CGI
=begin
Applied in changeset r25231.
=end
xibbar (Takeyuki FUJIOKA)
05:06 PM Revision c03265d8 (git): * 2009-10-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:05 PM Revision e3fc29a7 (git): * vm_method.c (basic_obj_respond_to): should not call
#respond_to_missing? for not implemented methods.
[ruby-core:25909]
* vm_method.c (rb_method_boundp): returns exceptional value 2 for
not-implemented methods when called from #respond_to? (specifies
by new contant NOEX_RESPONDS).
...
matz (Yukihiro Matsumoto)
02:08 PM Revision 993f3d5d (git): add reference ML numbert to Changelog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Takeyuki FUJIOKA
02:00 PM Revision fce5570f (git): * lib/cgi.rb (CGI.unescapeHTML): fix for hex values 80-FF,
single-byte hex entity encodings from 80-FF are valid HTML.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
01:40 PM Feature #1905: How about IPAddr#<=> to take care of mask_addr?
=begin
いまいです。

From: "Akinori MUSHA" <knu_at_iDaemons.org>
Date: Sun, 27 Sep 2009 12:00:48 +0900

>> > * アドレスが同じ場合、ネットマスク長が長い方が IPAddr として大きいとみ
>> > なす(IPAddr#<=> で @mask_addr を考慮する)
>> > * <=> と Comparable により == は定義されるので、IPAd...
no6v (Nobuhiro IMAI)
01:25 PM Revision 0e260ef1 (git): * lib/cgi/cookie.rb: add default value to @@accept_charset
if have not defined. [ruby-dev:38987]
* lib/cgi/util.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
10:30 AM Revision bf40bc68 (git): * marshal.c (struct {dump,load}_arg): manage with dfree, instead
of using local variable which may be moved by context switch.
[ruby-dev:39425]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:30 AM Revision f6f89b88 (git): * marshal.c (struct {dump,load}_arg): manage with dfree, instead
of using local variable which may be moved by context switch.
[ruby-dev:39425]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:00 AM Revision f517fb54 (git): * pack.c (NATINT_LEN, pack_pack): suppressed warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:44 AM Revision 45306441 (git): wrap by a module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
05:01 AM Revision c3721fdc (git): * lib/rubygems.rb (Gem::binary_mode): binary mode uses binary
encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:59 AM Revision 47dfb32c (git): * test/rubygems/test_gem_installer.rb (test_build_extensions_extconf_bad):
escaped meta charater.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:55 AM Revision da63c5ca (git): * test/rubygems/gemutilities.rb (setup): use ENV["RUBY"] before
installation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:53 AM Revision 57940c03 (git): * test/rubygems/test_gem.rb (TestGem#test_self_find_files): "."
is no longer included in $LOAD_PATH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:47 AM Bug #2173 (Closed): rake missing rake/contrib/*
=begin
Applied in changeset r25214.
=end
nobu (Nobuyoshi Nakada)
12:00 AM Revision ea56a70e (git): add assertion message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

10/03/2009

11:29 PM Revision 31959b52 (git): * enum.c (slicebefore_ii): use id_eqq.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:43 PM Revision bd2eff81 (git): * symbian/setup (ruby.mmp): added macro RUBY_EXPORT to match the change in dln.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
08:40 PM Revision c46c1db7 (git): * 2009-10-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:40 PM Revision ccc451a6 (git): * ext/tk/lib/tk/variable.rb: add TkVariable#to_hash,to_proc,to_int,to_str,to_ary
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
08:39 PM Revision 85b326ac (git): * ext/tk/lib/tk/variable.rb: add TkVariable#to_hash,to_proc,to_int,to_str,to_ary
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagai (Hidetoshi Nagai)
08:35 PM Revision 7f80452c (git): * symbian/setup (ruby.mmp): added macro RUBY_EXPORT to match the change in dln.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
04:15 PM Revision ae8ad5ae (git): * lib/cgi/core.rb: fix command-line option of
non-interactive terminal. [ruby-core:23016]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Takeyuki FUJIOKA
04:08 PM Bug #2129 (Open): Rational can't be coerced into BigDecimal (TypeError)
=begin

=end
marcandre (Marc-Andre Lafortune)
03:59 PM Revision 19bad26c (git): * test/rubygems: use require_relative.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:53 PM Bug #2173 (Closed): rake missing rake/contrib/*
=begin
Builtin rake is missing components that were part of the gem.

ruby187 -v -e "require 'rubygems'; require 'rake'; p require 'rake/contrib/sshpublisher'"
ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]
true
...
marcandre (Marc-Andre Lafortune)
03:40 PM Revision 78eaef0f (git): * lib/rake/contrib: added. [ruby-core:25918]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:09 PM Feature #2170: Visibility Predicates for Method Objects
=begin
I think Matz summarized clearly what I was trying to say.

Run Paint: I'm sorry if I implied there was a problem with your patch. This is not the case. I'm discussing the idea, not the implementation which appears to be great...
marcandre (Marc-Andre Lafortune)
02:56 PM Feature #2170: Visibility Predicates for Method Objects
=begin
Hi,

In message "Re: [ruby-core:25908] [Feature #2170] Visibility Predicates for Method Objects"
on Sat, 3 Oct 2009 04:50:54 +0900, Run Paint Run Run <redmine@ruby-lang.org> writes:

|A Method object doesn't expose the w...
matz (Yukihiro Matsumoto)
02:43 PM Feature #2170: Visibility Predicates for Method Objects
=begin
> I'm trying to see how that could be useful, to understand your goal.

A method's visibility is one of its attributes. The Method class objectifies methods, so it is expected that it provides access to the wrapped method's a...
runpaint (Run Paint Run Run)
01:24 PM Feature #2170: Visibility Predicates for Method Objects
=begin
I'm trying to see how that could be useful, to understand your goal.

Once you have a Method (or an Unbound one), the visibility is no longer relevant. What I mean is that the visibility affects only the calls like my_obj.som...
marcandre (Marc-Andre Lafortune)
04:50 AM Feature #2170 (Rejected): Visibility Predicates for Method Objects
=begin
A Method object doesn't expose the wrapped method's visibility. If you have the method name as a Symbol, however, Module#*_method_defined? can be used. This seems wrong. A naïve patch is attached to add visibility predicates to M...
runpaint (Run Paint Run Run)
02:57 PM Revision 041fc407 (git): * test/rake/contrib/test_ftp.rb: moved.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:54 PM Revision 74b58251 (git): * test/rake: get rid of name collision.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:47 PM Revision 746fe8af (git): * test/rake: get rid of name collision.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:48 PM Feature #2172 (Closed): Enumerable#chunk with no block
=begin
What should "(1..3).chunk" (i.e. without a block) do?

It issued an
ArgumentError: tried to create Proc object without a block

I changed the error message to "no block given" which I hope to be more informative, but m...
marcandre (Marc-Andre Lafortune)
01:37 PM Revision 664c7ef4 (git): * test/rake/test_package_task.rb (Rake::TestPackageTask),
(Rake::TestGemPackageTask): get rid of name collision with
rubygems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:14 PM Revision 72ad8595 (git): * parse.y (bv_decls, bvar): fix for block variables.
[ruby-dev:39423]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:57 PM Revision 7b26a971 (git): * test/ripper/test_scanner_events.rb: workaround for ruby-mode.el confusion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:25 PM Revision 29570204 (git): * test/ripper/dummyparser.rb: suppress redefinition warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:19 PM Revision 9603cd2f (git): * vm_method.c (rb_add_method_def): no redefinition warning on
undef.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:18 AM Revision 74926fef (git): * object.c (rb_f_integer): now Integer() takes optional base
argument. base will be ignored for non string values.
suggested by Sam Carr at RubyFoo Lounge at London.
* test/ruby/test_integer.rb (TestInteger#test_Integer): test
updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25205...
matz (Yukihiro Matsumoto)
08:55 AM Bug #2171 (Closed): Kernel#respond_to_missing? Invoked for Unimplemented Methods
=begin
Kernel#respond_to_missing? is called for methods that raise NotImplementedError, despite such methods not invoking #method_missing. I expected it not to be.

$ cat /tmp/notimp.rb
[:method_missing, :respond_to_missing?]....
runpaint (Run Paint Run Run)
04:55 AM Revision 51b89eeb (git): enum.c (enum_chunk): Give proper error message if no block given. cf [ruby-core:25912]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
12:57 AM Feature #2169 (Closed): [PATCH] Improvements of Ripper's DummyParser
=begin
Applied in changeset r25193.
=end
nobu (Nobuyoshi Nakada)

10/02/2009

11:10 PM Revision a21b7ddf (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:02 PM Revision 5bdef2f9 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:34 PM Revision b3525ae1 (git): * parse.y (assignable_gen): parser_yyerror takes two arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:09 PM Revision ac57952a (git): * test/rake: eol-style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:07 PM Revision 719b0f8e (git): * lib/rake: updated to rake code to rake-0.8.7 source code base.
* lib/rake/loaders/makefile.rb (Rake::MakefileLoader#process_line):
respace dependencies too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:59 PM Revision a0f667c3 (git): * parse.y (assignable_gen): get rid of macro collision.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:49 PM Revision 1a782568 (git): * array.c (ary_make_shared): should count frozen array itself.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:48 PM Revision c305c808 (git): * lib/rake: updated to rake code to rake-0.8.7 source code base.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:03 PM Revision 8d4ebdc8 (git): * enc/unicode/name2ctype.h: Updated to Unicode 5.2.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:01 PM Revision 8a99a395 (git): * configure.in: workaround for regexp metacharacters of expr in
prefix path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:47 PM Revision 1457dca5 (git): * test/ripper/dummyparser.rb (DummyParser): improvement by Magnus
Holm in [ruby-core:25884].
* remove scanner events which simply returned the first argument.
* all parser events are now automatically generated.
* simplify blocks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25193 b2dd03c8...
nobu (Nobuyoshi Nakada)
03:45 PM Revision 70548569 (git): * method.h (rb_method_type_t): remove a comma at end of
enumerator list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:31 PM Revision e66470a1 (git): * range.c (discrete_object_p): needs the argument type to get rid
of truncation on platforms where VALUE is larger than int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:37 PM Revision 48eafcbc (git): Updated to Unicode 5.2.0.
* enc/unicode/name2ctype.h.blt, enc/unicode/name2ctype.kwd,
enc/unicode/name2ctype.src: Updated to Unicode 5.2.0.
NOTE: when you update these data, download UnicodeData.txt
and Scripts.txt from http://www.unicode.org/Public/UNIDATA...
naruse (Yui NARUSE)
12:04 PM Revision 4b6c600a (git): get rid of unused keywords from svn:keywords.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:50 AM Revision 2e70b9e7 (git): * enum.c (enum_slice_before): take a pattern if no block given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:37 AM Revision aec8a4b0 (git): * parse.y (ripper_yylval_id, ripper_get_{id,value}): wrap ID by
NODE to track local variable assignment.
* parse.y (lvar_defined_gen, assignable_gen): enable local
variable check. [ruby-core:24923]
* parse.y (validate): use value only.
* test/ripper/test_parser_events.rb (test_local_variables):...
nobu (Nobuyoshi Nakada)
11:02 AM Revision 76991f51 (git): Improve rdoc for Enumerator#next. Remove a not-so-notable note.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
10:54 AM Revision e9c728fe (git): update rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:45 AM Revision 9dbf7dc6 (git): unused svn:keywords property deleted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:30 AM Revision e8af2eb6 (git): * Makefile.sub (LDSHARED_2): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
08:26 AM Revision 20252c82 (git): * win32/Makefile.sub (LD_SHARED1): typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
08:25 AM Revision 4b986d7f (git): * io.c (rb_io_fptr_finalize): free fptr to avoid memory leaks.
fixed: #2009 [ruby-core:25173] [ruby-dev:39410]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
06:34 AM Revision 56e358d5 (git): * thread.c (ruby_suppress_tracing): get rid of clobbering by
longjmp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:55 AM Revision af3460ef (git): * eval.c (rb_origenviron): remove unused old variable.
[ruby-dev:39412]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:54 AM Revision b8457edd (git): * win32/{setup.mak,Makefile.sub,win32.c} (RT_VER): split compiler
specification and runtime library specification.
* win32/Makefile.sub (LD_SHARED*, config.status): no need to embbed
manifest if not exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25178 b2dd03c8-39d4-4d8f-98ff...
U.Nakamura
04:39 AM Revision 103327b0 (git): * 2009-10-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:39 AM Revision 0c4419b5 (git): * win32/win32.c (rb_w32_getpid): simply call GetCurrentProcessId()
instead of calling MSVCRT's getpid().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:21 AM Revision c4b17fc1 (git): * 2009-10-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:21 AM Revision 651a207d (git): * eval.c (rb_origenviron): remove unused old variable.
[ruby-dev:39412]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura

10/01/2009

11:18 PM Feature #2169 (Closed): [PATCH] Improvements of Ripper's DummyParser
=begin
In order to properly test #1939, this patch makes the following changes:

* Removal scanner events which simply returned the first argument. These are already generated by Ripper.
* Many of the untested parser events had wr...
judofyr (Magnus Holm)
05:19 AM Revision 4e389756 (git): * win32/{setup.mak,Makefile.sub,win32.c},include/ruby/win32.h (RT_VER):
split compiler specification and runtime library specification.
* win32/Makefile.sub (LD_SHARED*, config.status): no need to embbed
manifest if not exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25173 b2dd03c8-39d4-4d8f-9...
U.Nakamura
04:24 AM Revision ceca5abc (git): * 2009-10-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:23 AM Revision a93b36b3 (git): * win32/win32.c (rb_w32_getpid): simply call GetCurrentProcessId()
instead of calling MSVCRT's getpid().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:34 AM Feature #1999 (Closed): Improved Tempfile
=begin
Close this ticket and newly open #2166 for adding CreationError.
=end
naruse (Yui NARUSE)
12:33 AM Feature #2166 (Rejected): Add CreationError
=begin
> Here is a patch which implements the CreationError exception class,
> as documented in the Tempfile API documentation. However,
> I could not write a unit test for it because there seems
> to be no mocking/stubbing framew...
naruse (Yui NARUSE)

09/30/2009

01:17 PM Feature #2155 (Closed): improvement of method redefinition warning
=begin
Applied in changeset r25169.
=end
nobu (Nobuyoshi Nakada)
08:03 AM Feature #2155: improvement of method redefinition warning
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:39400] [Feature:1.9] improvement of method redefinition warning"
on Tue, 29 Sep 2009 16:05:34 +0900, Nobuyoshi Nakada <nobu@ruby-lang.org> writes:

|メソッド再定義で警告を出すときに、上書きされるほうの定義の場所も...
matz (Yukihiro Matsumoto)
08:32 AM Revision 9b192302 (git): * time.c (rb_time_succ): make Time#succ obsolete since time is not
a discrete value.
* range.c (discrete_object_p): treat time objects specially to
determine discrete values, since time objects have #succ yet are
discrete (for now at least).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25170 ...
matz (Yukihiro Matsumoto)
04:19 AM Feature #1961: Kernel#__dir__
=begin
On Mon, Sep 28, 2009 at 11:54 AM, xiong ai <redmine@ruby-lang.org> wrote:
> Issue #1961 has been updated by xiong ai.
>
>
> (1) add a toplevel constant __DIR__
> +1
> when you type "__DIR__",you type "shift __DIR__".
> whe...
manveru (Michael Fellinger)
04:15 AM Revision a71d47a3 (git): * vm_method.c (rb_add_method_def): show the location where
overwritten method was defined. [ruby-dev:39400]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:23 AM Bug #1311: YAML::dump creates strings YAML::load cannot parse
=begin
I have also been bitten by this same bug. In addition to the cases described above, this problem also occurs when the input contains just a single newline (in either unix or dos style). The patch supplied by Dave B fixes the case...
coatl (caleb clausen)
01:08 AM Revision 331fdbe8 (git): * re.c (last_match): add "thread and method" to the scope.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
 

Also available in: Atom