Project

General

Profile

Activity

From 04/12/2010 to 04/18/2010

04/18/2010

11:10 PM Feature #3163: SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
>as in a ? b : c.
Oups, I always forget that one. But to my defense it's only an operator if
preceded by ?

On 18 April 2010 07:44, Kornelius Kalnbach <murphy@rubychan.de> wrote:

> On 17.04.10 20:26, Benoit Daloze wrote:
...
Eregon (Benoit Daloze)
02:45 PM Feature #3163: SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
On 17.04.10 20:26, Benoit Daloze wrote:
> I ran a few times in this bug, while using some "p :done"(and having
> a local var p) to trace the program execution quickly.
Translated into a Ruby style guide haiku:

Never use p...
murphy (Kornelius Kalnbach)
02:26 PM Feature #3163: SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
On 18.04.10 07:07, Caleb Clausen wrote:
> The small improvement in readability didn't seem worth the trouble to
> me. But to my surprise, nobu just went ahead and implemented it. I'm
> still wondering about the general case.
...
murphy (Kornelius Kalnbach)
02:02 PM Feature #3163: SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
OK. But now what about similar ambiguous cases, such as:

p=0; p %[foo]
p=0; p /foo/x
p=0; p &foo
p=0; p *foo
p=0; p ?f : g
p=0; p <<foo
123
foo

In each of the above lines, the 2nd p is treated ...
coatl (caleb clausen)
12:57 PM Feature #3163 (Closed): SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
This issue was solved with changeset r27388.
Benoit, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
12:08 PM Feature #3163: SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
On 18.04.10 04:34, Caleb Clausen wrote:
> In my judgment, this would be too much additional complication in an
> area of the parser/lexer that's already extremely squirelly.
Ironically, it could still make the language easier ...
murphy (Kornelius Kalnbach)
09:54 AM Feature #3163: SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
On 18.04.10 02:23, Benoit Daloze wrote:
> I can understand easily operators can be confusing for the parser, but I
> didn't know ':' is an operator.
as in a ? b : c.
=end
murphy (Kornelius Kalnbach)
09:23 AM Feature #3163: SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
On 18 April 2010 02:06, caleb clausen <redmine@ruby-lang.org> wrote:

> Issue #3163 has been updated by caleb clausen.
>
>
> I _think_ this behavior is correct. At any rate, the behavior is the same
> all the way back to 1....
Eregon (Benoit Daloze)
09:06 AM Feature #3163: SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
I _think_ this behavior is correct. At any rate, the behavior is the same all the way back to 1.8.6. However, this is a confusing part of parsing ruby, so I may be remembering wrong.

If I remember right, it goes something li...
coatl (caleb clausen)
03:26 AM Feature #3163 (Rejected): SyntaxError when using variable which is also a method in current scope with a Symbol argument
=begin
Hi,
Here is a simple example:

irb for ruby-1.9.2-r27362
> print = 0
> print :symbol
SyntaxError: (irb):2: syntax error, unexpected ':', expecting $end
print :symbol
^
from .../bin/irb:17:in `<main>'
...
Eregon (Benoit Daloze)
06:00 PM Revision cd08b1cb (git): * 2010-04-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:59 PM Revision 61e5cf84 (git): * vm_method.c (rb_add_method_def): workarond fix for redefinition
of methods. This is because cfp->me uses the rb_method_entry
which is freed by redefinition of remove_method. Note that
reusing may cause another problem when the usage is changed.
[ruby-core:27320] [ruby-core:29464]
git-svn-id: s...
naruse (Yui NARUSE)
03:17 PM Feature #1408: 0.1.to_r not equal to (1/10)
=begin
Am 20.09.2009 06:17, schrieb Marc-Andre Lafortune:
> Sorry to be late to the party on this one.

I’m late as well ;)

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

No. It is an approximation only ...
mwaechter (Matthias Wächter)
01:16 PM Revision f25e99c5 (git): * parse.y (IS_END, IS_SPCARG): macros for simplification.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:13 PM Revision 9f8b0361 (git): * parse.y (string_content): cond_stack and cmdarg_stack are VALUE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:12 PM Revision abdb3373 (git): * test/resolv/test_addr.rb: property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:26 AM Bug #1169: Thread#priority still doesn't work
=begin
So, you've disabled the test which demonstrates the problem. You've documented that the desired behavior is now going to be optional. And now, you've closed the ticket which reported the problem. However:

>>>the bu...
coatl (caleb clausen)
09:09 AM Revision 20a6e94e (git): * lib/resolv.rb (Resolv::IPv4::Regex): make it only accept 0 to 255.
[ruby-core:29501]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:48 AM Revision e70a308c (git): * parse.y (parser_yylex): seems like a symbol-literal when spaces
are unbalanced. [ruby-core:29578]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:32 AM Revision cfab29b7 (git): * parse.y (string_content): preserve cond_stack and cmdarg_stack.
[ruby-core:29579]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:28 AM Revision 4d82ba51 (git): * transcode.c (transcode_loop): suppressed a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:26 AM Revision 54985ad7 (git): * bootstraptest/test_io.rb: reduced megacontent test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:54 AM Feature #3067: complex.c : Question: why Complex#~ is disabled? It's in the doc
=begin
I tried to compile removing the #if 0 and it works:
irb for ruby-1.9.2-r26319
> c = 2+3.i
=> (2+3i)
> ~c
=> (2-3i)

So it is not a problem on OSX 10.6.3

Can someone test on linux and windows? Then I think we ...
Eregon (Benoit Daloze)

04/17/2010

08:52 PM Revision 2845bfa9 (git): * ext/psych/lib/psych/visitors/yaml_tree.rb: defaulting binary string
format to "literal" format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
08:47 PM Bug #2511 (Closed): irb exits unexpectedly windows
=begin
This issue was solved with changeset r27379.
Vlad, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
05:39 PM Bug #3162: recent rdoc affects tests of rake
=begin
Hi,

2010/4/17 Eric Hodel <redmine@ruby-lang.org>:
> I think this issue should be resolved by removing rake/rdoctask (issue #3076).  Rake should not have the responsibility of knowing the internals of RDoc.

Ah, sorry. I di...
mame (Yusuke Endoh)
03:30 PM Bug #3162: recent rdoc affects tests of rake
=begin
I think this issue should be resolved by removing rake/rdoctask (issue #3076). Rake should not have the responsibility of knowing the internals of RDoc.

Instead, rake/rdoctask.rb should be something as small as:

requir...
drbrain (Eric Hodel)
01:13 PM Bug #3162 (Closed): recent rdoc affects tests of rake
=begin
Hi, Eric Hodel

Now, lib/rdoc/task.rb replaces Rake::RDocTask with RDoc::Task,
which seems to cause failures of tests of rake:


1) Failure:
test_inline_source_is_enabled_by_default(Rake::TestRDocTask) [/home/...
mame (Yusuke Endoh)
05:15 PM Revision 1cae325a (git): * 2010-04-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:15 PM Revision fd734e6c (git): * lib/irb/ruby-lex.rb (identify_identifier): add '_' to the regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:27 PM Revision 580677a9 (git): * configure.in: use AC_TRY_LINK instead of AC_TRY_COMPILE.
On Solaris it can compile with signbit but can't link.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:40 PM Bug #2505 (Rejected): Threads behave inconsistently across platforms.
=begin
Hi,

I close this ticket.


> There are plenty of other examples.

Please register ticket for each.


> In addition, the fact that native threads use the same class name is also confusing.

Please answer ...
mame (Yusuke Endoh)
01:32 PM Bug #1169 (Closed): Thread#priority still doesn't work
=begin
Hi,

The problematic test was disabled at r26155.

And now, rdoc of Thread#priority was refined at r27351.
It is just a hint for thread scheduler, which may be ignored on
some platforms.

--
Yusuke Endoh <mame@...
mame (Yusuke Endoh)
01:03 PM Bug #3160 (Closed): rdoc registers wrong methods to Object class
=begin
Hi, Eric Hodel

There seems to be a regression of rdoc. Many methods belongs to
Object methods mistakenly.
For example, OptionParser#accept is somehow registered to Object:


$ ../ruby-trunk-local/bin/ri -fbs -T Ob...
mame (Yusuke Endoh)
12:46 PM Bug #3136: reuse of singleton method definition causes SEGV
=begin
遠藤です。

チケット重複情報の補足です。

このチケットで最初に説明した内容は #2502 の重複でした。

補足で説明した内容 (define_method の Proc の直接 call) は
#2420 の重複でした。

また、補足で説明した内容は #2402 のパッチで、SEGV に至る前に
例外になるので、発症しなくなります (本質的に解決するわけでは
ないけれど )。

--
Yus...
mame (Yusuke Endoh)
12:32 PM Bug #3136: reuse of singleton method definition causes SEGV
=begin
遠藤です。

以下でも SEGV または未定義挙動をします。

Class.new do
define_method(:foo) { super() }.call
end

define_method に Proc が登録されることで、Proc のブロックの iseq
の klass が更新されてしまいます。
その Proc を直接呼び出すと、cfp に method_entry が乗らないけれど
...
mame (Yusuke Endoh)
12:39 PM Bug #2402: super in instance_eval
遠藤です。
> `instance_eval`のブロック内で`super`を呼ぶと、`instance_eval`で変更された
> ...
再現しました。以下で SEGV することも確認しました。
~~~ruby
class MyArray < Array
def reverse
"foo".instance_eval do
super
end
end
end
MyArray.new([1,2,3]).r...
mame (Yusuke Endoh)
11:38 AM Revision 71104c33 (git): * test/ruby/envutil.rb: update Gem::ConfigMap to fake environment for
tests. Some test of rubygems had failed because envutil.rb changed
only RbConfig::CONFIG but not Gem::ConfigMap.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
11:37 AM Revision 0b28bf29 (git): * lib/irb/ruby-lex.rb (identify_identifier): allow multibyte character
as identifier. [ruby-core:27275]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
09:56 AM Bug #1788: ある種のメソッドをalias_methodしようとすると落ちる
=begin
Hi,

This issue was reported and fixed at r24201 (2009-07-19).
You are using "ruby 1.9.2dev (2009-07-18 trunk 24186) [x86_64-linux]"

Can you reproduce with recent trunk?

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
05:42 AM Bug #1788: ある種のメソッドをalias_methodしようとすると落ちる
=begin
I am seeing this bug [BUG] rb_add_method: unsupported method type (8) in ActiveSupport-2.3.5

$ etl
/home/byrnejb/projects/proforma.git/vendor/plugins/activewarehouse-etl/lib/etl.rb:36: warning: already initialized constant...
byrnejb (James Byrne)
09:27 AM Bug #2226 (Closed): case 文の式が省略され when 節に配列展開があるときの挙動
=begin
This issue was solved with changeset r27376.
_, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
wanabe (_ wanabe)
12:48 AM Bug #2226: case 文の式が省略され when 節に配列展開があるときの挙動
=begin
wanabe さん
遠藤です。

2009年10月18日6:16 wanabe <s.wanabe@gmail.com>:
> case 文の式が省略され、かつ when 節に配列展開があるときの挙動、
> より具体的には NODE_ARGSCAT, NODE_ARGSPUSH の
> コンパイル結果が正しくないように思います。
> 通常の NODE_CASE と同じように処理するのはどうでしょうか。

2010年1月29日2:37 _...
mame (Yusuke Endoh)
09:07 AM Bug #2241 (Closed): Let Net::SMTP continu when at least one RCPT is accepted
=begin
This issue was solved with changeset r27374.
Kero, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
07:46 AM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
Yukihiro Matsumoto wrote:
> 1.9.2 might be a good time to restore "or later" phrase. Any opinion?

It's not a matter of timing I'm afraid. So -1 without any other good reasons
that we can agree.


Attachment: signature.a...
shyouhei (Shyouhei Urabe)
02:25 AM Feature #2032: Change the license to "GPLv2+ or Ruby's original".
=begin
Hi,

In message "Re: [ruby-core:29545] [Feature #2032](Assigned) Change the license to "GPLv2+ or Ruby's original"."
on Fri, 16 Apr 2010 09:44:00 +0900, Yui NARUSE <redmine@ruby-lang.org> writes:

|Matz, you decided that...
matz (Yukihiro Matsumoto)
03:04 AM Revision 94365e53 (git): * ext/psych/lib/psych/visitors/yaml_tree.rb (find_ivars): ignore
to_yaml_properties defined by syck.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
01:37 AM Bug #2377 (Closed): update documentation for IO#eof?
=begin
This issue was solved with changeset r27361.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
01:21 AM Bug #2374 (Rejected): URI.regexp('http') が 'http://' にマッチする
=begin
遠藤です。

URI.regexp の rdoc には

Returns a Regexp object which matches to URI-like strings.

と書いてあります。"URI-like" であり、valid な URI のみにマッチ
することが意図されたものではないと考えます。

なので、気持ちはわかるので申し訳ないですが、このチケットは一旦
reject としたいと思います。すみ...
mame (Yusuke Endoh)
12:33 AM Revision 505def84 (git): * configure.in (--with-vendordir): moved.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:23 AM Revision 8b261b41 (git): * compile.c (iseq_compile_each): fix splat condition in NODE_WHEN.
[Bug #2226]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
wanabe (_ wanabe)
12:09 AM Bug #2679 (Closed): rubyspec: SimpleDelegator when frozen creates a frozen clone ERROR
=begin
Hi,

This ticket was duplicated by #2679.
After that, lib/delegate.rb has been changed bit by bit.
As a result of matz and nobu's effort, this seems to work now.

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
12:09 AM Bug #2221 (Closed): lib/delegate: freeze has odd effects
=begin
Hi,

This ticket was duplicated by #2679.
After that, lib/delegate.rb has been changed bit by bit.
As a result of matz and nobu's effort, this seems to work now.

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
12:04 AM Revision 3e02d646 (git): * configure.in (--with-{ruby-version,{site,vendor}dir}): use
AS_HELP_STRING.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

04/16/2010

11:57 PM Revision 2939d61f (git): * lib/net/smtp.rb (Net::SMTP#rcptto_list): continue when at least
one RCPT is accepted. based on a patch from Kero van Gelder at
[ruby-core:26190].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:57 PM Revision 19f2f28c (git): * lib/net/smtp.rb (Net::SMTP#rcptto_list): continue when at least
one RCPT is accepted. based on a patch from Kero van Gelder at
[ruby-core:26190].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:57 PM Bug #1602 (Closed): TestInvokeVerb failure mingw (win32ole)
=begin
This issue was solved with changeset r27360.
Roger, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
suke (Masaki Suketa)
06:51 PM Bug #1602 (Assigned): TestInvokeVerb failure mingw (win32ole)
=begin
Suketa-san, please check this.
Has it been fixed?
=end
usa (Usaku NAKAMURA)
11:35 PM Revision b743cc0d (git): * Makefile.in, configure.in, common.mk, */Makefile.sub (CHDIR): cd
using phisical directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:25 PM Revision 739eea71 (git): * 2010-04-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@27372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:25 PM Revision f70e6e11 (git): * NEWS: Adding Array#select to the list of modified methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@27371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
10:58 PM Bug #2211 (Closed): eval Documentation Claims Proc Accepted for Binding
=begin
Hi,

Ko1 asked matz to delete this feature for ease of YARV
implementation, and matz approved. [ruby-dev:34915]

So this is intended change. I close this ticket.


Ko1 also invited public opinion about the featu...
mame (Yusuke Endoh)
10:45 PM Revision a350d0af (git): * test/thread/test_queue.rb (TestQueue#grind): fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:30 PM Revision d49860bf (git): NEWS: add Array#repeated_{combinationpermutation} [Feature #2981]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:02 PM Revision d6178649 (git): * test/ruby/test_thread.rb (TestThreadGroup#test_uninitialized):
typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:01 PM Revision 48f342af (git): * test/webrick/utils.rb (TestWEBrick#start_server): add log for
test_filehandler.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:51 PM Revision 75c1cac7 (git): * {ext,lib,test}/**/*.rb: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:37 PM Bug #2129 (Closed): Rational can't be coerced into BigDecimal (TypeError)
=begin
This issue was solved with changeset r27358.
Takehiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
09:09 PM Bug #2129: Rational can't be coerced into BigDecimal (TypeError)
=begin
Hi,

- #1454 was registerd
- r23389 was committed to fix #1454, but it was incomplete
- #2129 (this ticket) was registered
- r25025 was committed to fix #2129 correctly

Now, r23389 not only is unnecessary but also ...
mame (Yusuke Endoh)
08:31 PM Revision 5b5bbdbb (git): * ext/psych/lib/psych/core_ext.rb (yaml_as): supporting deprecated
"yaml_as" method
* ext/syck/lib/syck/tag.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
08:27 PM Revision 2db7b7f3 (git): * ext/psych/lib/psych/coder.rb (scalar): supporting deprecated methods
* ext/psych/lib/psych/deprecated.rb: supporting deprecated
to_yaml_properties method
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
08:25 PM Feature #2074: json の j や jj は module_function にするべき?
=begin
遠藤です。

j も y も使ったことないですが、妥当な提案のように思います。

けれど、これは Feature request でしょう。
Feature トラッカに移させていただきます。

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
07:27 PM Revision 039219b2 (git): * test/thread/test_queue.rb: property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:10 PM Bug #2059 (Rejected): Marking internal functions as internal
=begin
Hi,

> All internal (extern) functions should be marked as internal
> in Doxygen comments before 1.9.2's release.

I strongly object. If a function has no document, it should be
considered as function just for intern...
mame (Yusuke Endoh)
06:59 PM Bug #1558 (Feedback): test timeout issues in windows
=begin
cannot reproduce now.
Roger, can you?
=end
usa (Usaku NAKAMURA)
06:53 PM Bug #1579 (Third Party's Issue): TestGDBM failure in mingw
=begin
These are the restrictions of win32 port of GDBM.
=end
usa (Usaku NAKAMURA)
06:49 PM Bug #1604 (Closed): TestPath failure (mingw)
=begin
already fixed.
=end
usa (Usaku NAKAMURA)
06:41 PM Bug #1581 (Closed): Test_IO17M failure in windows
=begin

=end
usa (Usaku NAKAMURA)
06:40 PM Bug #1581: Test_IO17M failure in windows
=begin
already fixed in trunk.
=end
usa (Usaku NAKAMURA)
06:36 PM Bug #1578 (Closed): TestFloat failure in windows
=begin
already fixed in trunk.
=end
usa (Usaku NAKAMURA)
04:36 PM Revision 2c6a1457 (git): * 2010-04-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:36 PM Revision d6f289b0 (git): * io.c (rb_io_rewind, rb_io_eof): add rdoc. based on a patch from
Roger Pack in [ruby-core:26771] [Bug #2377].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
04:27 PM Feature #2981 (Closed): Array#repeated_(permutation|combination)
=begin
This issue was solved with changeset r27352.
Makoto, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
matz (Yukihiro Matsumoto)
02:55 PM Revision de1324fb (git): * test/win32ole/test_folderitem2_invokeverb.rb (test_invokeverb):
run test only when "Create Shortcut (&S)" menu is found.
[ruby-core:29550] [Bug #1602]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
suke (Masaki Suketa)
12:57 PM Revision fd9c3fef (git): * parse.y (string_content, etc): counts of CMDARG_PUSH and POP were
inconsistent. [ruby-core:22637]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:36 PM Revision 49884b57 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_coerce): revert r23389,
which not only is unnecessary but also causes the inconsistency of
return type. [ruby-core:25706] [Bug #2129]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
11:11 AM Revision 6511fec7 (git): add thanks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
11:10 AM Revision 93c5002a (git): * lib/thread.rb (Queue#push, #pop, SizedQueue#push, #pop): remove
code that kicks waiting thread twice, which caused race and
deadlock. [ruby-core:25537]
* test/thread/test_queue.rb: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
11:02 AM Revision 7d26c313 (git): * .gitignore: updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
09:43 AM Feature #2032 (Assigned): Change the license to "GPLv2+ or Ruby's original".
=begin
Matz, you decided that MRI can't link to readline 6, right?
If so, I'll merge nobu's patch showed in [ruby-dev:39172]
=end
naruse (Yui NARUSE)
07:51 AM Revision 565d2275 (git): * tool/file2lastrev.rb (VCS::SVN::get_revisions.): remind about
DOSISH, sometimes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:24 AM Revision b62feb5e (git): * 2010-04-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:24 AM Revision 38ae9967 (git): * array.c (rb_ary_repeated_permutation): new method added. a patch
from Makoto Kishimoto in [ruby-core:29267] [ruby-core:28724]
* array.c (rb_ary_repeated_combination): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
03:34 AM Bug #1332: Reading file on Windows is 500x slower then with previous Ruby version
Hi,
2010/4/16 Roger Pack <redmine@ruby-lang.org>:
> 1.9.2:
> ...
Yes, text mode is still 10x -- 30x slower than binary mode.
It is reproduced not only on windows but also Linux.
Perhaps, this is the symptom because of the reason e...
mame (Yusuke Endoh)
12:54 AM Bug #1332: Reading file on Windows is 500x slower then with previous Ruby version
appears to be much better in trunk.
1.9.1:
```
"0 0.396039"
"1 0.352035"
"2 43.111311"
```

1.9.2:
```
"0 0.369037"
"1 0.513051"
"2 1.626163" # still 10x as slow as 1.8.6, but probably because of a different reason.
...
rogerdpack (Roger Pack)

04/15/2010

11:20 PM Bug #1332 (Closed): Reading file on Windows is 500x slower then with previous Ruby version
Hi,
This was fixed at r27340.
Buffer was extended (realloc'ed) in linear-order, which resulted
in O(n^2 ). Now it is extended using "double memory if you run out"
rule, like String. So the problem was solved, I think.
Thanks...
mame (Yusuke Endoh)
10:48 PM Feature #1952: cannot stop with Ctrl+C
=begin
遠藤です。

2010年4月14日10:20 U.Nakamura <usa@garbagecollect.jp>:
> In message "[ruby-dev:40936] [Bug #1952](Open) cannot stop with Ctrl+C"
> on Apr.09,2010 00:47:49, <redmine@ruby-lang.org> wrote:
>> 「終了時には全スレッドに例外を投げ、死ぬまで待つ」と...
mame (Yusuke Endoh)
10:47 PM Bug #1699 (Closed): URI::FTP to_s problem after modification
=begin
This issue was solved with changeset r27350.
Norihisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
07:48 PM Bug #1699: URI::FTP to_s problem after modification
=begin
Hi,

> This is derived from the spec level bug of "ftp" URI scheme and uri/ftp lib.

Even so, the reported behavior is absolutely wrong.

Indeed, the spec seems to be bizarre. And, to conform the
bizarre spec, URI ...
mame (Yusuke Endoh)
10:45 PM Bug #812 (Closed): Failure: test_priority (TestThread) on mswin32
=begin

=end
mame (Yusuke Endoh)
06:57 PM Bug #3140: gem activation has changed between 1.8 and 1.9
=begin

On Apr 14, 2010, at 20:36 , Rich Kilmer wrote:

> 1) Make RubyGems packaged files accessible with require/load in 1.9
> without having to require 'rubygems'
> 2) Minimize startup time (don't load the full rubygems library i...
zenspider (Ryan Davis)
06:39 PM Bug #3150 (Third Party's Issue): net/https peer verification doesn't do anything
=begin
Setting verify_mode to VERIFY_PEER should make net/https raise an exception if peer certificate verification fails. For example:

require 'net/http'
require 'net/https'
require 'openssl'

url = URI.parse(...
hongli (Hongli Lai)
01:44 PM Revision 42b8a699 (git): * thread.c (rb_thread_priority, rb_thread_priority_set): fix rdoc.
Lower-priority thread may run even if there are higher-priority
threads. See [ruby-dev:40977].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
01:41 PM Revision 8588e763 (git): * lib/uri/ftp.rb (URI::FTP#set_path): added to correct handling of
special case where path of ftp is relative. This converts relative
path to absolute one, because external representation of ftp path is
relative and internal representation is absolute. [ruby-core:24077]
* lib/uri/ftp.rb (URI::FTP...
mame (Yusuke Endoh)
12:55 PM Revision 77204d53 (git): * tool/file2lastrev.rb: use backtick for ruby 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:14 PM Revision 83724a77 (git): * tool/file2lastrev.rb: this should run with ruby 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:43 AM Revision d9aab572 (git): * tool/file2lastrev.rb: make -q effective for files not version
controlled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:47 AM Bug #3124: SocketError on SnowLeopard (during make test-all)
=begin
It is because of Mac OS X's getaddrinfo.
They raise error when it call getaddrinfo(3) with servname "0".
Whether it is Ruby's bug or Mac OS X's bug is still discussing.

see also: http://d.hatena.ne.jp/kimuraw/20100116/p1...
naruse (Yui NARUSE)
05:50 AM Revision 7475244e (git): * vm_dump.c (bugreport_backtrace): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:38 AM Revision 584829aa (git): * vm.c (vm_backtrace_each): get rid of use of malloc from signal
handler by using ruby_engine_name. [ruby-core:29497]
* vm_eval.c (print_backtrace): file may be nil when segfaulted in
very early stage.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:05 AM Feature #839: Add code on each line of a backtrace output to the screen
=begin
Matz if you get a chance to look at this patch, it "objectify's" Exception#backtrace which might be nice.
Thank you.
-roger
=end
rogerdpack (Roger Pack)
04:10 AM Feature #2152: Split functionality of Float#inspect and Float#to_s
=begin
>
> The option previously proposed is
>
> Float#to_s : human
> Float#inspect : verbose
>
> Another option:
>
> Float#to_s : verbose
> Float#inspect : verbose
> Float#to_hs : human (or to_ps or what not, for pretty strin...
Eregon (Benoit Daloze)
03:44 AM Bug #496: DRb.start_service(nil) is very slow
=begin
This might be fixed now, since Socket.do_not_reverse_lookup defaults to true now in trunk (maybe somebody should note that in the NEWS?)
Thanks.
-rp
=end
rogerdpack (Roger Pack)
02:52 AM Revision 073515a6 (git): * 2010-04-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:52 AM Revision 202ce4fd (git): * common.mk (help): small fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura

04/14/2010

11:38 PM Bug #3146 (Rejected): ERB single line comment does not work
=begin
Hi,

The maintainer of erb (Masatoshi Seki) formally rejected this
ticket in [ruby-dev:40990].

Use <%# ... %>.

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
11:36 PM Bug #3146: ERB single line comment does not work
=begin
遠藤です。

2010年4月14日23:26 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>:
> いつもみなさんに迷惑をかけてしまって申し訳なく思ってます。

いえ、楽しいからやってるだけですので。
というか、いつも素早い回答で助かります。


> #1です。
> どなたかに直接メールをいただいてそのように返信しました。
> <%# ... %>は使えると思うのですが、それじゃだめでしょか。
...
mame (Yusuke Endoh)
10:18 PM Bug #3146 (Rejected): ERB single line comment does not work
=begin
咳さん
遠藤です。

http://redmine.ruby-lang.org/issues/show/1559 に、erb で
<% # this is a comment %> と書いたらエラーになった、昔は
これで動いていたので直してほしい、という報告が来ています。

原因は最適化で、生成されるコードの文の区切りが改行でなく
セミコロンになったせいだと想像されています。


いかが致しましょう。

...
mame (Yusuke Endoh)
11:38 PM Bug #1559 (Rejected): ERB single line comment does not work
=begin
Hi,

The maintainer of erb (Masatoshi Seki) formally rejected this
ticket in [ruby-dev:40990].

Use <%# ... %>.

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
10:17 PM Bug #1449 (Closed): [REXML] detected encoding isn't used correctly
=begin
This issue was solved with changeset r27342.
Kouhei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
09:53 PM Bug #3137: complex.rb changes exceptions of Math
=begin
遠藤です。

2010年4月14日13:32 石塚圭樹 <keiju@ishitsuka.com>:
>>個人的には、何が何でも直すべきとは思ってませんので、reject でも
>>構いません。その場合は、[ruby-core:28204] の Brian Ford に返事を
>>してあげてもらえると助かります。
>
> 見ました. 同じ件([Bug#1788]で船場さんが以前にrejectしていたんです
> ね. 遠藤さんに直接呼び出さ...
mame (Yusuke Endoh)
01:32 PM Bug #3137: complex.rb changes exceptions of Math
=begin
けいじゅ@いしつかです.

In [ruby-dev:40974] the message: "[ruby-dev:40974] Re: [Bug #3137]
complex.rb changes exceptions of Math", on Apr/13 22:42(JST) Yusuke
ENDOH writes:

>遠藤です。

>エラーメッセージの問題ではなく、例外クラスが変わることだと思い
>ます。
>
> def...
keiju (Keiju Ishitsuka)
09:44 PM Bug #1676 (Closed): only last "return" is traced by set_trace_func
=begin
遠藤です。

残っていた課題も、ささださんが知らぬ間に直してくれていた
(r26395) ので close します。


$ ./ruby -e '
set_trace_func(proc{|*a| p a if a[0] == "call" || a[0] == "return"})
def foo
eval("return")
end
foo
'
["call",...
mame (Yusuke Endoh)
09:11 PM Bug #1393: Multiple assignment does not call to_a but to_ary
=begin
Hi, Matz

Could you please answer this ticket?

> For example, if x is not an array, "y = *x" tries to call x.to_a.
> However, in multiple assignments, it does not try to call to_a but to_ary.
> For example, "*y = x" ...
mame (Yusuke Endoh)
08:43 PM Bug #1363 (Rejected): Wrong value for Hash of NaN
=begin
Hi,

The behavior OP reported is not a bug. So I close the ticket.

Indeed, the behavior is confusing a little.
IMO, it would be good to warn when Float is used as hash keys.
Anyway, warning or prohibiting NaN is a n...
mame (Yusuke Endoh)
08:32 PM Bug #1351 (Closed): Net::HTTP - set_form_data no longer allows symbols as keys.
=begin
Hi,

This issue was fixed at r24840 and r24841.
Thanks.

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
08:19 PM Bug #1309 (Rejected): dl tests
=begin

=end
usa (Usaku NAKAMURA)
08:13 PM Bug #1308: bigdecimal debug code prevents tests from running
=begin
Hi,

> If compiled with -DEBUG set, the bigdecimal extension prints out a bunch of information (it really shoulnd't) and then asks for user input via getchar() calls.

Don't compile with -DEBUG set :-)

But, -DEBUG is...
mame (Yusuke Endoh)
04:37 PM Bug #3145 (Closed): arm-linux向けクロスコンパイル時のエラー
=begin
This issue was solved with changeset r27338.
Nobuyoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
02:26 PM Bug #3145 (Closed): arm-linux向けクロスコンパイル時のエラー
=begin
なかだです。

At Tue, 13 Apr 2010 21:40:07 +0900,
Satoshi Shiba wrote in [ruby-dev:40973]:
> thread_pthread.c: In function 'get_stack':
> thread_pthread.c:224: error: invalid use of void expression

これは以下のようにしても通りますか?


Inde...
nobu (Nobuyoshi Nakada)
04:15 PM Bug #924 (Closed): encoding for stdio's
=begin
チケットのゴールが明確でなかったため、途中でゴールが追加されたために残ってしまったという感じですかねぇ。
自動変換とか、パッチワーク的な現行仕様のドキュメント化とかと整理とかもありますが、まぁそれは別のチケットと言うことで。
=end
naruse (Yui NARUSE)
12:52 AM Bug #924: encoding for stdio's
=begin
成瀬さん
遠藤です。

このチケットは何のために残っているのでしょうか。
ぱっと見でわかるように、残る検討事項・問題の summary を書いて
もらえると助かります。

もし仕様レベルの検討事項が残るだけならば、すでに仕様フリーズ
してしまったので、target を 1.9.x にしてください。

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
01:11 PM Revision 46ff0091 (git): * lib/rexml/source.rb: force_encoding("UTF-8") when the input
is already UTF-8. patched by Kouhei Sutou [ruby-core:23404]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:22 AM Feature #3112: require "yaml" doesn't use psych as default
=begin
Current syck is mixed old YAML and YAML::Syck.
This breaks compatibility like following:
http://pc12.2ch.net/test/read.cgi/tech/1265467681/871

It also says require 'yaml/syck' should work.

People may require'yaml' a...
naruse (Yui NARUSE)
10:20 AM Feature #1952: cannot stop with Ctrl+C
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:40936] [Bug #1952](Open) cannot stop with Ctrl+C"
on Apr.09,2010 00:47:49, <redmine@ruby-lang.org> wrote:
> 「終了時には全スレッドに例外を投げ、死ぬまで待つ」という
> 仕様だと考えると、その例外を潰してしまうようなスレッドが
> いれば、終了時に固...
usa (Usaku NAKAMURA)
10:09 AM Bug #812: Failure: test_priority (TestThread) on mswin32
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:40977] [Bug #812] Failure: test_priority (TestThread) on mswin32"
on Apr.14,2010 00:44:30, <redmine@ruby-lang.org> wrote:
> > 表題の通りですが、priorityの低いスレッドの選択率を下げる機構
> > はpthreadでもwin32...
usa (Usaku NAKAMURA)
12:44 AM Bug #812: Failure: test_priority (TestThread) on mswin32
=begin
遠藤です。

2008年12月3日12:46 U.Nakamura <usa@garbagecollect.jp>:
> 表題の通りですが、priorityの低いスレッドの選択率を下げる機構
> はpthreadでもwin32でも同じなのに、win32だとまともに機能してい
> ないように見えるのはなぜでしょうか?

この機構は、native_thread_yield() を呼んだときに極力他のスレッドに
コンテキストスイ...
mame (Yusuke Endoh)
09:29 AM Revision 55f7857a (git): * configure.in (signbit): signbit is a macro in C99.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
09:20 AM Bug #1085: Got the error message, after run 'gem install --test'.
=begin
On Apr 13, 2010, at 10:11, Yusuke Endoh wrote:

> Issue #1085 has been updated by Yusuke Endoh.
>
>
> Hi, Eric Hodel
>
> Couldn't you fix this on rubygems side?
> I hope this will be fixed ASAP.

I think so. I will ...
drbrain (Eric Hodel)
02:11 AM Bug #1085: Got the error message, after run 'gem install --test'.
=begin
Hi, Eric Hodel

Couldn't you fix this on rubygems side?
I hope this will be fixed ASAP.

Well, he is pigheaded...


diff --git a/lib/rubygems/validator.rb b/lib/rubygems/validator.rb
index 38ee62f..26303df 10064...
mame (Yusuke Endoh)
08:56 AM Revision 8e7a682b (git): * io.c (io_shift_cbuf): should terminate.
http://golf.shinh.org/p.rb?DECimal+number+to+BINary#Ruby
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:53 AM Revision c8988219 (git): * io.c (appendline): should terminate.
http://golf.shinh.org/p.rb?DECimal+number+to+BINary#Ruby
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:29 AM Revision 95c52c8e (git): * gc.c (GET_STACK_BOUNDS): fixed macro argument names. a patch from
Satoshi Shiba <shiba AT rvm.jp> at [ruby-dev:40973].
* gc.h (ruby_get_stack_grow_direction): fixed prototype.
* thread_pthread.c (get_stack, ruby_stack_overflowed_p): both side
should be same type. [Bug #3145]
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
06:58 AM Revision 09267569 (git): * string.c (rb_string_value_cstr): make NUL terminated if it is
not done.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:58 AM Revision 92496d73 (git): * string.c (rb_string_value_cstr): make NUL terminated if it is
not done.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:00 AM Revision 2587316c (git): * lib/net/imap (encode_utf7): encode & properly. Thanks, Kengo
Matsuyama. [ruby-dev:38063]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
03:10 AM Bug #1142 (Feedback): /opt/ruby19/lib/ruby19/1.9.1/openssl/ssl.rb:31: [BUG] Bus Error
=begin
Hi, Ricard

2009/2/12 Ricard Forniol Agusti <redmine@ruby-lang.org>:
> After executing ruby19 test.rb of the project: git://rubyforge.org/dram.git

I could not reproduce with trunk on Linux.
Can you still reproduce th...
mame (Yusuke Endoh)
02:39 AM Revision ddafeb2f (git): * ext/syck/lib/syck/basenode.rb (Syck::BaseNode#match_path): fixed
library name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:37 AM Revision eedb41a8 (git): * ext/syck/lib/yaml/syck.rb: split from ext/syck/lib/syck.rb for
backward compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:55 AM Revision bde21367 (git): * 2010-04-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:55 AM Revision b2ae2529 (git): * ext/nkf/nkf-utf8/nkf.c: Refix [nkf-bug:21393]. (explicit -X)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:20 AM Bug #1040 (Closed): rubygems/builder.rb should require user_interaction
=begin
Hi,

I think Ruby trunk is also fixed already.

$ ../ruby-trunk-local/bin/irb
irb(main):001:0> require "rubygems/builder"
=> true

So I close this ticket. Thanks.

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
01:11 AM Feature #1031: -U オプションの説明が --help にない
=begin
遠藤です。

# こんなしょうもないチケットはさっさと決めて閉じてほしい……。


2010年3月25日15:11 Urabe Shyouhei <shyouhei@ruby-lang.org>:
> まあみんなでうなっててもしょうがないので改善案を出してみましょうか。

ruby -h の想定ユーザは初心者とコマンドラインで作業する人なので、
掲載基準も「普通によく使われるオプション」と「ワンライナーでよく
使わ...
mame (Yusuke Endoh)
12:35 AM Bug #496 (Feedback): DRb.start_service(nil) is very slow
=begin
Hi,

I cannot reproduce the issue with trunk on Linux.
Does this still reproduce?
Could you elaborate your platform and network configuration?

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
12:28 AM Feature #1482: Kernel.exec doesn't respect COMSPEC environment variable on Windows
Documentation for exec method says:
* The standard shell means always `"/bin/sh"` on Unix-like systems,
* `ENV["RUBYSHELL"]` or `ENV["COMSPEC"]` on Windows NT series, and
* similar.
but I still can't get it to run my custom...
dolzenko (Evgeniy Dolzhenko)

04/13/2010

11:30 PM Revision 9089c80d (git): * 2010-04-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:30 PM Revision d994f2f2 (git): * NEWS: Small fixes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
10:48 PM Bug #3141 (Closed): yield in an eigenclass definition
=begin
ささださん
遠藤です。

#1018 に関連しますが、特異クラス定義の中で yield ができません。


class Object
def yield_eigenclass
class << self
yield self
end
end
end

Object.yield_eigenclass {|c| p c }


...
mame (Yusuke Endoh)
10:42 PM Bug #3137: complex.rb changes exceptions of Math
=begin
遠藤です。

2010年4月13日17:11 Yukihiro Matsumoto <matz@ruby-lang.org>:
> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:40971] Re: [Bug #3137] complex.rb changes exceptions of Math"
> on Tue, 13 Apr 2010 17:05:17 +0900, keiju@ishits...
mame (Yusuke Endoh)
05:11 PM Bug #3137: complex.rb changes exceptions of Math
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:40971] Re: [Bug #3137] complex.rb changes exceptions of Math"
on Tue, 13 Apr 2010 17:05:17 +0900, keiju@ishitsuka.com (石塚圭樹) writes:

|それは, 現行の状態です. そうじゃなくて, Mathと同じ上記の例外にしろって
|言われ...
matz (Yukihiro Matsumoto)
05:05 PM Bug #3137: complex.rb changes exceptions of Math
=begin
けいじゅ@いしつかです.

In [ruby-dev:40970] the message: "[ruby-dev:40970] Re: [Bug #3137]
complex.rb changes exceptions of Math", on Apr/13 16:47(JST) Yukihiro
Matsumoto writes:

>まつもと ゆきひろです

>|こんな感じです. "error"のところの例外をどうするかって話で, ...
keiju (Keiju Ishitsuka)
04:48 PM Bug #3137: complex.rb changes exceptions of Math
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:40969] Re: [Bug #3137] complex.rb changes exceptions of Math"
on Tue, 13 Apr 2010 16:30:38 +0900, keiju@ishitsuka.com (石塚圭樹) writes:

|こんな感じです. "error"のところの例外をどうするかって話で, ここで
|
|>|...
matz (Yukihiro Matsumoto)
04:30 PM Bug #3137: complex.rb changes exceptions of Math
=begin
けいじゅ@いしつかです.

In [ruby-dev:40968] the message: "[ruby-dev:40968] Re: [Bug #3137]
complex.rb changes exceptions of Math", on Apr/13 15:19(JST) Yukihiro
Matsumoto writes:

>まつもと ゆきひろです

>|ただ, Complex#atanh等で,
>|> -e:1:in...
keiju (Keiju Ishitsuka)
03:19 PM Bug #3137: complex.rb changes exceptions of Math
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:40967] Re: [Bug #3137] complex.rb changes exceptions of Math"
on Tue, 13 Apr 2010 14:56:59 +0900, keiju@ishitsuka.com (石塚圭樹) writes:

|うーん. そうですねぇ...
|
|ただ, Complex#atanh等で,
|
...
matz (Yukihiro Matsumoto)
02:57 PM Bug #3137: complex.rb changes exceptions of Math
=begin
けいじゅ@いしつかです.

In the message: "[Bug #3137] complex.rb changes exceptions of Math",
on Apr/12 23:01(JST) Yusuke Endoh writes:

>遠藤です。

どもです.

>[ruby-core:28204] にて Brian Ford が「complex を require すると
>Math.atan(nil) で投げられ...
keiju (Keiju Ishitsuka)
02:57 PM Bug #3137: complex.rb changes exceptions of Math
=begin
けいじゅ@いしつかです.

In the message: "[Bug #3137] complex.rb changes exceptions of Math",
on Apr/12 23:01(JST) Yusuke Endoh writes:

>遠藤です。

どもです.

>[ruby-core:28204] にて Brian Ford が「complex を require すると
>Math.atan(nil) で投げられ...
keiju (Keiju Ishitsuka)
02:51 AM Bug #3137: complex.rb changes exceptions of Math
=begin
Hi,

2010年4月12日23:41 Marc-Andre Lafortune <redmine@ruby-lang.org>:
> A problem with the patch is that Float("1.1") returns 1.1.
>
> In my todo list is "propose strict coercion methods"... I had to code them up in Matrix...
mame (Yusuke Endoh)
02:07 PM Bug #3126 (Closed): irb/completionでTypeError
=begin
This issue was solved with changeset r27327.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
keiju (Keiju Ishitsuka)
02:02 PM Bug #3126: irb/completionでTypeError
=begin
けいじゅ@いしつかです.

In the message: "[Bug #3126] irb/completionでTypeError", on Apr/11 11:34(JST)
Kazuhiro NISHIYAMA writes:

>Bug #3126: irb/completionでTypeError
>http://redmine.ruby-lang.org/issues/show/3126

>irb/completion ...
keiju (Keiju Ishitsuka)
02:02 PM Bug #3126: irb/completionでTypeError
=begin
けいじゅ@いしつかです.

In the message: "[Bug #3126] irb/completionでTypeError", on Apr/11 11:34(JST)
Kazuhiro NISHIYAMA writes:

>Bug #3126: irb/completionでTypeError
>http://redmine.ruby-lang.org/issues/show/3126

>irb/completion ...
keiju (Keiju Ishitsuka)
12:49 PM Bug #3128: Randomness specs
=begin
Hi,

2010/4/11 Marc-Andre Lafortune <redmine@ruby-lang.org>:
> 1) r.rand(N) will eventually return all values in 0...N

I could be paranoid, but I doubt whether it can be guaranteed
currently. This is because there is Bign...
mame (Yusuke Endoh)
11:37 AM Revision 4392ea35 (git): * ext/nkf/nkf-utf8/nkf.c: Fix: Windows Codepages wrongly convert
Halfwidth Katakana. [nkf-bug:21393]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:27 AM Feature #3036 (Closed): String#encode(to, from, opt) の opt[:replace] に Hash
=begin
This issue was solved with changeset r27326.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
09:52 AM Bug #3132: …/nokogiri-1.4.1/ext/nokogiri/nokogiri.bundle: [BUG] Bus Error
=begin
Thank you for your survey, it should be a Ruby's issue.
=end
naruse (Yui NARUSE)
05:53 AM Bug #3132 (Open): …/nokogiri-1.4.1/ext/nokogiri/nokogiri.bundle: [BUG] Bus Error
=begin
I don't think this is a third party issue. See [ruby-core:29468]
=end
tenderlovemaking (Aaron Patterson)
09:45 AM Bug #3140 (Closed): gem activation has changed between 1.8 and 1.9
=begin
1.8 will raise gem activation errors where ruby 1.9 will not.

To reproduce this bug, first install these gems:

$ gem install rubygems-bug-parent
$ gem install rubygems-bug-child

Your gem list should look like...
tenderlovemaking (Aaron Patterson)
09:19 AM Feature #3131: add Kernel#Hash() method like Kernel#Array()
=begin
Hi,

Please allow me to clarify.

Suraj Kurapati wrote:
> Hash::[] does not support conversion from odd-length Array (because
> it is uncertain what Ruby must do with the 2n+1'th element) and will
> raise an error i...
sunaku (Suraj Kurapati)
09:03 AM Feature #3131: add Kernel#Hash() method like Kernel#Array()
=begin
Hi,

matz wrote:
> since conversion from arrays only meaningful for specific case
> (array of 2-element arrays), I am not sure whether Hash() should
> support conversion from Array in general or not.

Hash::[] does ...
sunaku (Suraj Kurapati)
08:11 AM Feature #3131: add Kernel#Hash() method like Kernel#Array()
=begin
Hi,

In message "Re: [ruby-core:29462] [Feature #3131] add Kernel#Hash() method like Kernel#Array()"
on Mon, 12 Apr 2010 08:32:52 +0900, Suraj Kurapati <redmine@ruby-lang.org> writes:

|There is an imbalance of power in ...
matz (Yukihiro Matsumoto)
08:49 AM Bug #3139 (Closed): Possible Bug with Irb jobs from Ruby 1.9.2-dev
=begin
Hello everyone, I may have found a bug with Ruby 1.9.2-dev, version which I installed today.
I was playing with Irb Jobs when I ran the command 'jobs' to list them after, I got this error.

The error:

ruby-1.9.2-previe...
rodrigo3n (Rodrigo Alves Vieira)
08:11 AM Bug #1573: $0 behaves unexpectedly
=begin
Hi,

In message "Re: [ruby-core:29403] [Bug #1573] $0 behaves unexpectedly"
on Sat, 10 Apr 2010 11:34:01 +0900, Yusuke Endoh <redmine@ruby-lang.org> writes:

|Nobu, how about the following patch?

I am not him, but you...
matz (Yukihiro Matsumoto)
06:00 AM Revision 5d8c8b46 (git): * random.c (make_seed_value): fix leading-zero-guard condition on
bdigit is smaller than 32bit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:01 AM Revision 5ee43b0a (git): * lib/irb/completion.rb (CompletionProc): fix [ruby-dev:40953]
[Bug #3126]. Thanks Kazuhiro NISHIYAMA.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
keiju (Keiju Ishitsuka)
02:52 AM Bug #2756: Issues with Math and Complex behavior on 1.9
=begin

=end
mame (Yusuke Endoh)
01:26 AM Revision c871aee9 (git): * transcode.c (transcode_loop): insert output the value when
fallback hash has a related key. [ruby-dev:40540]
[ruby-dev:40829] #3036
* transcode.c (rb_econv_prepare_opts): pass to newhash
a value with the key :fallback.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27326 b2dd03c8-39d4-4...
naruse (Yui NARUSE)

04/12/2010

11:41 PM Bug #3137: complex.rb changes exceptions of Math
=begin
A problem with the patch is that Float("1.1") returns 1.1.

In my todo list is "propose strict coercion methods"... I had to code them up in Matrix
=end
marcandre (Marc-Andre Lafortune)
11:01 PM Bug #3137 (Closed): complex.rb changes exceptions of Math
=begin
いしつかさん
遠藤です。

[ruby-core:28204] にて Brian Ford が「complex を require すると
Math.atan(nil) で投げられる例外が変わる」という報告をしています。


$ ./ruby -e 'p Math.atanh(nil)'
-e:1:in `atanh': can't convert nil into Float (TypeError)
...
mame (Yusuke Endoh)
10:47 PM Bug #2651 (Closed): Matrix#compare_by_row_vectors does not receive array of Vector
=begin
Matrix#compare_by_row_vectors has been removed
=end
marcandre (Marc-Andre Lafortune)
10:47 PM Bug #3136: reuse of singleton method definition causes SEGV
=begin

=end
mame (Yusuke Endoh)
10:45 PM Bug #3136 (Closed): reuse of singleton method definition causes SEGV
=begin
遠藤です。

以下で SEGV します。


def overlaid(obj)
class << obj
def reverse
super
end
end
end

overlaid(str = "123") # (1)
overlaid(ary = [1,2,3]) # (2)
str.reverse ...
mame (Yusuke Endoh)
10:32 PM Bug #2652 (Closed): three bugs of Matrix::Scalar
=begin
遠藤です。

本件は r26448 で修正済みですので close します。

--
Yusuke Endoh <mame@tsg.ne.jp>
=end
mame (Yusuke Endoh)
10:16 PM Feature #1408: 0.1.to_r not equal to (1/10)
=begin
Why isn't Float#to_r simply calling Float#rationalize ?
=end
marcandre (Marc-Andre Lafortune)
08:50 PM Revision 9afaef34 (git): add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:03 PM Bug #3132: …/nokogiri-1.4.1/ext/nokogiri/nokogiri.bundle: [BUG] Bus Error
=begin
This doesn't seem to be an issue just with Nokogiri:

http://pastie.org/915455.txt
=end
ashleyw (Ashley Williams)
10:23 AM Bug #3132 (Assigned): …/nokogiri-1.4.1/ext/nokogiri/nokogiri.bundle: [BUG] Bus Error
=begin
This seems Third Party's Issue but can you check this?
=end
naruse (Yui NARUSE)
09:12 AM Bug #3132 (Closed): …/nokogiri-1.4.1/ext/nokogiri/nokogiri.bundle: [BUG] Bus Error
=begin
Caused when trying to use the Cucumber gem with Rails 3 (beta 2) on 'ruby 1.9.2dev (2010-04-12 trunk 27315) [i386-darwin10.3.0]':

[master]$ cucumber features/
/Users/ashley/.rvm/gems/ruby-1.9.2-head/gems/nokogiri-1.4.1/ext...
ashleyw (Ashley Williams)
03:16 PM Revision db9119be (git): * 2010-04-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:16 PM Revision 19afeacb (git): * random.c (rand_init): use the absolute value of seed to
make srand(-2**40) portable with 32bit and 64bit.
[ruby-core:29292](2)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:49 PM Revision 309077c9 (git): * enumerator.c (inspect_enumerator): don't raise for uninitialized
enumerator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:47 PM Revision df15955b (git): * LEGAL: separated the section for parse.c. contributed by Paul
Betteridge in [ruby-core:29472].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:47 PM Revision a698c7bf (git): * LEGAL: separated the section for parse.c. contributed by Paul
Betteridge in [ruby-core:29472].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:37 AM Feature #3131: add Kernel#Hash() method like Kernel#Array()
=begin
I forgot to show that case 2 supports empty arrays:

>> Hash([])
=> {}

Just like Kernel#Array() supports empty hashes:

>> Array({})
=> []

Thanks for your consideration. And sorry for the noise.
=end
sunaku (Suraj Kurapati)
08:32 AM Feature #3131 (Closed): add Kernel#Hash() method like Kernel#Array()
=begin
Hello,

There is an imbalance of power in the Ruby core API (when it comes
to arrays and hashes) because it is easier to convert nil values
into empty arrays, thanks to Kernel#Array(), than it is to convert
nil valu...
sunaku (Suraj Kurapati)
05:17 AM Feature #2771 (Closed): Matrix: constructor to build with block
=begin
This issue was solved with changeset r27315.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
marcandre (Marc-Andre Lafortune)
05:14 AM Bug #2786: Segfault when loading gem
=begin
here's the backtrace information: http://gist.github.com/363031
=end
dpickett (Dan PIckett)
05:08 AM Bug #2786: Segfault when loading gem
=begin
I can confirm this behavior as well with cucumber 0.6.4 and ruby trunk (27310) on Darwin 10.3 (OS X 10.6.3)
=end
dpickett (Dan PIckett)
03:37 AM Revision b9647dec (git): * ext/dl/depend: add -I. for cross compiling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:37 AM Bug #2365 (Closed): Matrix: poor handling of coercion errors [patch]
=begin
This issue was solved with changeset r27311.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
marcandre (Marc-Andre Lafortune)
03:32 AM Revision a6480e9d (git): * .gitignore: property.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:30 AM Revision 5f21e0a3 (git): * .gitignore: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:33 AM Bug #2731: FileUtils.copy prints error message in $DEBUG mode when destination doesn't exist
=begin
On 11.04.10 16:08, Yusuke Endoh wrote:
> You say, library must not use an exception for internal implementation?
> The convension is uneasy and too uncomfortable for library authors.
>
> In old convension, an exception might...
murphy (Kornelius Kalnbach)
12:19 AM Revision 3a2f5d9c (git): * lib/fileutils.rb (fu_each_src_dest): ensure src is accessible.
* lib/fileutils.rb (fu_same): use File.identical? to get rid of
exceptions. [ruby-core:28141]
* lib/fileutils.rb (fu_have_st_ino): no longer used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27317 b2dd03c8-39d4-4d8f-98ff-823f...
nobu (Nobuyoshi Nakada)
12:18 AM Revision a3dde7df (git): * lib/fileutils.rb (fu_have_st_ino): check if required method is
defined, instead of platform name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:11 AM Feature #2713: Rdoc: rdoc/usage missing in Ruby 1.9
=begin
Hi,

I don't know the true reason, but I guess the file was deleted
just because it was not needed by rdoc itself.

Anyway, it was deleted before 1.9.0, so we should think this is
spec change. You can request the res...
mame (Yusuke Endoh)
 

Also available in: Atom