Project

General

Profile

Activity

From 08/31/2010 to 09/06/2010

09/06/2010

07:51 PM Bug #3788: URI cannot parse IPv6 addresses propertly
=begin
no it doesnt.

if i use ipv6-localhost instead of [::1] it works.

$ cat tt.rb
#!/usr/bin/ruby
# vim: set sw=2 sts=2 et tw=80 :
require 'uri'
require 'net/http'
%w{[::1] ipv6-localhost}.each do |host...
darix (Marcus Rückert)
07:33 PM Bug #3788: URI cannot parse IPv6 addresses propertly
=begin
The machine disables IPv6.
=end
naruse (Yui NARUSE)
07:05 PM Bug #3788: URI cannot parse IPv6 addresses propertly
=begin
require 'uri'
require 'net/http'
url = URI.parse( 'http://[::1]:8080/test/Test' )
Net::HTTP.get( url )

I think something like that should work then, but it doesnt. it gives:

/usr/lib64/ruby/1.9.1/net/htt...
darix (Marcus Rückert)
11:19 AM Bug #3788 (Rejected): URI cannot parse IPv6 addresses propertly
=begin
uri lib's structure follows URI RFC; your expectation is wrong.
=end
naruse (Yui NARUSE)
02:08 PM Revision 746f85be (git): * ext/pathname/pathname.c (path_world_readable_p):
Pathname#world_readable? translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:46 AM Feature #3793 (Closed): No test for OpenSSL::PKCS12
=begin
As a task.
=end
nahi (Hiroshi Nakamura)
11:25 AM Bug #3150: net/https peer verification doesn't do anything
=begin
Thanks Aaron. Hope we can identify the cause soon.
=end
nahi (Hiroshi Nakamura)
11:22 AM Bug #3400 (Closed): apparent typos in ext/openssl/openssl_missing.{h,c}
=begin
Adrian, I checked the patch and confirmed that all of the fix are for typo. Applied it. Thank you!
=end
nahi (Hiroshi Nakamura)
11:21 AM Bug #3763 (Feedback): 1.9.2-p0 SEGV in String:+
=begin
It seems third party's issue, but can you show C backtrace?
=end
naruse (Yui NARUSE)
11:20 AM Bug #3704: openssl: exception message wording improvement
=begin

=end
nahi (Hiroshi Nakamura)
11:10 AM Bug #3704: openssl: exception message wording improvement
=begin
Paul, I applied the patch as-is. Thanks!
=end
nahi (Hiroshi Nakamura)
10:57 AM Bug #3704 (Closed): openssl: exception message wording improvement
=begin
This issue was solved with changeset r29189.
Paul, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nahi (Hiroshi Nakamura)
10:51 AM Bug #3786 (Assigned): instance_execにメソッドをわたした場合の挙動
=begin
trunk でも再現しますね
=end
naruse (Yui NARUSE)
10:47 AM Bug #3791 (Closed): Ruby 1.9.2のReadline.readlineとReadline.line_bufferのエンコーディングの非互換
=begin
This issue was solved with changeset r29188.
Motohiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
02:12 AM Bug #3791 (Closed): Ruby 1.9.2のReadline.readlineとReadline.line_bufferのエンコーディングの非互換
=begin
http://emasaka.blog65.fc2.com/blog-entry-802.html からの転載です

$ cat foo.rb
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
require 'readline'

s = Readline.readline '> '
p s.encoding
p Readline.line_buffer.encoding
$...
kosaki (Motohiro KOSAKI)
10:07 AM Bug #3790 (Closed): Float('0x') がエラーにならない
=begin
This issue was solved with changeset r29187.
tadayoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
09:47 AM Bug #3789 (Closed): Float('0x...') での挙動が不審
=begin
This issue was solved with changeset r29186.
tadayoshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
08:41 AM Bug #3784: Seg fault in IO.select from webrick
Are there codes to reproduce this bug?
mrkn (Kenta Murata)
07:33 AM Bug #3792: Procs created via Method#to_proc and Symbol#to_proc don't pass a block thru
=begin
I think it is spec.

--
Shota Fukumori a.k.a. @sora_h - http://codnote.net/
=end
sorah (Sorah Fukumori)
07:01 AM Bug #3792 (Closed): Procs created via Method#to_proc and Symbol#to_proc don't pass a block thru
=begin
class C
def foo
yield
end
end

f = :foo.to_proc
f.(C.new) { puts 'bar' } rescue p $!

m = C.new.method(:foo)
q = m.to_proc
q.() { puts 'bar' } rescue p $!

Output:

#<LocalJumpError: no block...
tmat (Tomas Matousek)
02:08 AM Revision dad43c29 (git): * Fixed wrong check of missing functions. Patch by Adrian Quark.
ref #3400
The patch contains following comment:
This patch should avoid unnecessary incompatibility with future
versions of Openssl. Changes suggested by bmaher_at_amazon.com.
git-svn-id: svn+ssh://ci...
Hiroshi Nakamura
01:53 AM Revision 8233db65 (git): * Fixed exception message for SSL post connection check failure. Patch
by Paul Betteridge. ref [Bug #3704]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Hiroshi Nakamura
01:38 AM Revision 59f55163 (git): * ext/readline/readline.c (readline_s_get_line_buffer):
Readline.line_buffer should return locale string.
[ruby-dev:42184] #3791
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:00 AM Revision a69423be (git): * util.c (ruby_strtod): check there is at least 1 digit after
"0x" before ".". [ruby-dev:42183] #3790
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:46 AM Revision 0ed5aee0 (git): * util.c (ruby_strtod): check integr overflow.
[ruby-dev:42180] #3789
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

09/05/2010

10:47 PM Bug #3790 (Closed): Float('0x') がエラーにならない
=begin
Float('0x') がエラーにならない。

Integer('0x') # ArgumentError: invalid value for Integer(): "0x"
Float('0x') #=> 0.0
=end
tadf (tadayoshi funaba)
09:46 PM Bug #3696: Fwd: [ruby-list:47272] case when 整数と実数の比較 (ruby 1.9)
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:42179] [Ruby 1.9-Bug#3696] Fwd: [ruby-list:47272] case when 整数と実数の比較 (ruby 1.9)"
on Sun, 5 Sep 2010 09:11:48 +0900, _ wanabe <redmine@ruby-lang.org> writes:

|パッチありがとうございます。拝見しました...
matz (Yukihiro Matsumoto)
09:11 AM Bug #3696: Fwd: [ruby-list:47272] case when 整数と実数の比較 (ruby 1.9)
=begin
ワナベと申します。

パッチありがとうございます。拝見しました。
大筋ではバッチリだと思うのですが、long long を使っているところや
速度的に不利な rb_obj_is_kind_of() を使っているところなど
ごく細かい部分が気になったので少し変えてみました。

VM の変更ではありますが、影響は限定的と思われるので
コミットしてしまおうと思いますがよろしいでしょうか。

diff --git a/co...
wanabe (_ wanabe)
09:17 PM Revision fab386fb (git): * 2010-09-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:17 PM Revision efe86e6c (git): * ext/pathname/pathname.c (path_readable_p): Pathname#readable?
translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:23 PM Feature #3755: Patch for Complex.cis
=begin
cis must be not so important.
and we should add it to CMath if we need.
i think we don't have to adopt this at the moment.

thanks
=end
tadf (tadayoshi funaba)
08:07 PM Bug #3789 (Closed): Float('0x...') での挙動が不審
=begin
Float() で指数が大きい場合に、零になったり、無限大になったりする。

Float('0xf.fp1000000000000') #=> 0.0
Float('0xf.fp10000000000000') #=> Infinity
Float('0xf.fp100000000000000') #=> Infinity
Float('0xf.fp1000000000000000') #=> 0.0
=end
tadf (tadayoshi funaba)
02:03 PM Revision cdaf07f6 (git): * 2010-09-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:03 PM Revision 5e620bdd (git): * ext/pathname/pathname.c (path_owned_p): Pathname#owned?
translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:52 AM Bug #3788 (Closed): URI cannot parse IPv6 addresses propertly
=begin
require 'uri'

u = URI::parse( 'http://[::1]:8080/test' )
u.host
=> "[::1]"

**** THIS SHOULD READ ::1 ****

irb(main):007:0> u.host = '127.0.0.1'
=> "127.0.0.1"
irb(main):008:0> u.host = '::1'
URI::Invali...
adamm (Adam Majer)
04:22 AM Bug #3787 (Closed): TCPSocket.new() fails on IPv6 connections for IPV4/IPv6 hosts
=begin
$ host localhost
localhost has address 127.0.0.1
localhost has IPv6 address ::1

-----
server setup is just listening to ::1 address,

require 'socket'
s = TCPServer.new( '::1', 1200 )
s.accept

----
then...
adamm (Adam Majer)
01:11 AM Bug #3786 (Closed): instance_execにメソッドをわたした場合の挙動
=begin
はじめまして。Ruby1.9.2のバグらしきものを発見したので報告します。
以下のコードを実行すると、エラーで落ちます。

バージョンは以下。ちなみに1.9.1では再現しませんでした。
$ /usr/klab/app/ruby-1.9.2/bin/ruby -v
ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]


class Cl
def ...
at_akada (Takada Atsushi)

09/04/2010

02:48 PM Revision 0fd37b09 (git): * file.c (rb_file_s_readlink): symlink target should be in
filesystem encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:52 AM Feature #3773: Module#parent
=begin
Hi,

In message "Re: [ruby-core:32038] [Ruby 1.9-Feature#3773] Module#parent"
on Fri, 3 Sep 2010 20:03:34 +0900, Thomas Sawyer <redmine@ruby-lang.org> writes:

|Issue #3773 has been updated by Thomas Sawyer.
|
|
|"For...
matz (Yukihiro Matsumoto)
01:41 AM Revision 097d58a5 (git): * load.c (ruby_init_ext): export for golfers.
* vm_core.h (rb_iseq_eval, rb_iseq_compile_with_option): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:36 AM Bug #3785: unexpected Numeric#step behaviour
=begin
maybe the links posted in this ticket http://redmine.ruby-lang.org/issues/show/3746 help?
=end
darix (Marcus Rückert)
01:32 AM Bug #3785 (Rejected): unexpected Numeric#step behaviour
=begin
ruby-1.9.2-head > -0.5.step(0.5, 0.1) { |x| puts x }
-0.5
-0.4
-0.3
-0.19999999999999996
-0.09999999999999998
0.0
0.10000000000000009
0.20000000000000007
0.30000000000000004
0.4
0.5
=> -0.5
-----------...
etehtsea (Konstantin Shabanov)

09/03/2010

11:11 PM Bug #3764: Ripper incorrectly handle literal keywords (as symbol, eg. :class)
=begin
No, I don't think that it is a bug.

It doesn't have to be an identifier after colon for a symbol.
":$0", ":VERSION", and ":>" are valid symbols. You might want
to take a look at parse.y in Ruby source code to see what ca...
eitoball (Eito Katagiri)
08:03 PM Feature #3773: Module#parent
=begin
"For objection (c), that's a good point. nil would be a better return value in that case."

I meant, "objection (b)".

matz, do you have a preference for a name?
=end
trans (Thomas Sawyer)
07:59 PM Feature #3773: Module#parent
=begin
I agree and I have another objection to add.

(c) A constant name is just a reference to an object.

That is to say, like any variable name, the object does not know it has been assigned it. If someone did C::D = A::B, th...
trans (Thomas Sawyer)
07:58 PM Bug #3781: FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
=begin
> x86-64 FreeBSD では、差分を当ててみてもほぼ同じように落ちました。

スタックサイズを 16 倍にしたところ、FreeBSD でも落ちなくなりました。
=end
metanest (Makoto Kishimoto)
06:01 PM Bug #3781: FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
=begin
きしもとです

On Fri, 3 Sep 2010 15:30:39 +0900
Satoshi Shiba <shiba@rvm.jp> wrote:
> 芝と申します。
>
> Makoto Kishimoto wrote:
> > Bug #3781: FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
> > http://redmine.ruby-lang.org/issues/show/3781
> > ...
metanest (Makoto Kishimoto)
03:57 PM Revision 8889aef1 (git): Merges r27968 from ruby_1_9_2 into trunk.
--
* common.mk (capi): uses a timestamp file to get rid of
generating twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:57 PM Revision 9c5a56a0 (git): * 2010-09-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:57 PM Revision 60b41810 (git): Forward-ports r28360 from ruby_1_9_2 into trunk.
--
* enc/Makefile.in (realclean): has been missing. necessary
for make realclean-enc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
02:51 PM Revision 0c5b7fd0 (git): * ext/pathname/pathname.c (path_socket_p): Pathname#socket?
translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:08 AM Bug #3782 (Feedback): NendoのテストスイートでSEGVが発生する
=begin
同じSnow Leopardの1.9.2で試したが再現しません。
rvmを使っているような気がするんですが、使わないようにしたら正しく動きませんか。
=end
naruse (Yui NARUSE)
08:25 AM Revision 3a412f28 (git): Split and move away old entries in ChangeLog and NEWS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
07:57 AM Revision 0eeed6cf (git): * parse.y (method_call): Add support for Ruby 1.9 style method
invocation syntax f.(x) / f::(x), which is interpreted as
f.call(x).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
06:17 AM Bug #3672 (Closed): PTY.getpty with non exist program
=begin
This issue was solved with changeset r29169.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
06:08 AM Bug #3784 (Closed): Seg fault in IO.select from webrick
I get this intermittently (approximately once a day) on my OSX 10.6.4. I have used rvm to install 1.9.2-p0
~~~
/usr/local/Cellar/ruby/1.9.2-p0/lib/ruby/1.9.1/webrick/server.rb:90: [BUG] Segmentation fault
ruby 1.9.2p0 (2010-08-18 r...
enrico (Enrico Brunetta)
03:41 AM Revision dfb8ca93 (git): * intern.h (rb_usascii_str_new): macros for forward compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:40 AM Revision 74f94e1e (git): * ChangeLog: reformat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

09/02/2010

11:45 PM Feature #2824: Backtrace from Singleton Classes is Unclear
=begin
The attached fixes the typo; improving the error message appears to require knowledge of YARV internals.
=end
runpaint (Run Paint Run Run)
11:03 PM Feature #3131: add Kernel#Hash() method like Kernel#Array()
=begin
I believe the attached patch reflects the consensus between matz and Suraj. The only material difference is that a TypeError is raised instead of an ArgumentError for consistency with Integer(), Float(), etc.
=end
runpaint (Run Paint Run Run)
09:40 PM Revision aa5c05b8 (git): * ext/pty/pty.c (chfunc): pass through exceptions.
* io.c (rb_io_bufwrite, rb_io_bufread): added.
* process.c (rb_fork_err): protect from exceptions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:32 PM Bug #3769: Removing Predefined Constants
=begin
> Category changed from core to DOC

Assuming this means the docs are at fault, the attached removes the last sentence "Predefined classes and singleton objects (such as <i>true</i>) cannot be removed." on the basis that my a...
runpaint (Run Paint Run Run)
09:29 PM Bug #3760: help "String.new" (for example) no longer works in irb
=begin
The attached patch should fix this issue. Please review and try the patch.

The "get_info_for" method has been removed from RDoc::RI::Driver class since r19537; when RDoc 2.2.1 r185 was imported.
=end
eitoball (Eito Katagiri)
09:20 PM Bug #3783 (Closed): Replace Calls to rb_error_frozen() with rb_check_frozen()
=begin
This patch replaces lines of the form:
if (OBJ_FROZEN(obj)) rb_error_frozen("object");
with:
rb_check_frozen(obj);
This is simpler, and produces error messages that are more consistent and precise.

(It feels wron...
runpaint (Run Paint Run Run)
09:17 PM Revision 163b4dee (git): * ext/pathname/pathname.c (path_pipe_p): Pathname#pipe?
translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:14 PM Revision 185e9705 (git): * ext/pty/pty.c (chfunc): restore errno from SystemCallError and
propagate proper exception to the parent. [ruby-dev:41965]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:54 PM Bug #3780: RDoc::Parser.binary? broken for some utf8 files longer than 1024 bytes
=begin

=end
tenderlovemaking (Aaron Patterson)
06:21 AM Bug #3780 (Closed): RDoc::Parser.binary? broken for some utf8 files longer than 1024 bytes
=begin
RDoc truncates files at 1024 bytes when checking if the file is binary. This will invalidate the file encoding if the file is truncated in the middle of a utf8 char and cause RDoc to exit.

I found this problem when running r...
stepheneb (Stephen Bannasch)
01:29 PM Bug #3782 (Rejected): NendoのテストスイートでSEGVが発生する
=begin
私の個人的なプロジェクト(Nendo)のテストスイートを実行するとSegmentation FaultでRubyが落ちます。
RSpecで定義したテストスイートをなるべく短かくする努力はしてみたのですが、これが限界のようですので、あきらめて私の作ったミニマムのものを残した上で現象の報告をします。

※ テストスイートが短かくなったとはいえ、NendoはLisp処理系でありRubyのevalを多様していますのでバグの解析の難易度は高そうです。
...
kiyoka (Kiyoka Nishiyama)
01:11 PM Revision d878c513 (git): * ext/pathname/pathname.c (path_file_p): Pathname#file?
translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:23 AM Bug #3781: FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
=begin
きしもとです

[ruby-dev:41391] に
> (2) FIBER_USE_NATIVE を 0 にしとく

とあるんですが #ifdef FIBER_USE_NATIVE としてるので、#undef FIBER_USE_NATIVE
しないと無効になりませんでした。
=end
metanest (Makoto Kishimoto)
08:38 AM Bug #3781 (Closed): FIBER_USE_NATIVE が有効だと落ちるスクリプトがある
=begin
手元のスクリプト(再現する最小のケースを絞り込むのが無理そうなので、そのまま添付します)が、FIBER_USE_NATIVE が有効な ruby で落ちます。

x86-64 FreeBSD と i686 Linux で落ちかたは違いました。ruby の吐くメッセージとバックトレースを以下それぞれ付けます。

$ ruby19 reduct.rb
reduct.rb:734: [BUG] Segmentation fault
r...
metanest (Makoto Kishimoto)
03:27 AM Bug #1813: Threading seg fault (1.9.1-p129 Linux/Mac)
=begin
I am still getting "Illegal Instruction" in 1.9.2-p0 on OSX 10.5.7 (on Ubuntu 9.10 x86_64 I get a SystemStackError, as expected).
=end
ivan (Ivan Pirlik)
03:06 AM Feature #3447: argument delegation
遠藤です。
2010年8月26日23:28 Yugui <yugui@yugui.jp>:
> しかし、あまりにも短すぎる。`&`1文字は見落としそうです。
いやあ、考えすぎでしょう。
`func(foo + bar, baz * qux, i)` で `i` を見落とすとかないですよ。
`&` は `i` より目立つし。
> ...
それは互換性に問題があります。
---
Yusuke Endoh <mame@tsg.ne.jp>
mame (Yusuke Endoh)
12:26 AM Feature #3714: Add getters for Enumerator
=begin
Hi, knu

2010/8/29 Akinori MUSHA <redmine@ruby-lang.org>:
> So, it was intentional for me as the original API designer not to have provided those accessor methods. ?For a generator of an Enumerator object, the ingredients are ...
mame (Yusuke Endoh)
12:12 AM Revision 51f6d787 (git): * win32/win32.c (rb_w32_spawn, rb_w32_aspawn): don't forget to free
memory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:07 AM Bug #3765 (Rejected): Ripper::Lexer missed out tokens after '=>' operator
=begin
Eito is right.

Ruby lexer has very complex states.
Such an incomplete code fragment may not parse.
You should write complete code:

$ ruby -rripper -e 'p *Ripper.lex("foo :x => 1")'
[[1, 0], :on_ident, "foo"]
...
mame (Yusuke Endoh)
12:02 AM Revision d35fdf33 (git): * win32/win32.c (CreateChild): unicodize.
* win32/win32.c (rb_w32_spawn, rb_w32_aspawn): convert arguments of
CreateChild() from ACP to WideChar.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura

09/01/2010

11:15 PM Bug #3765: Ripper::Lexer missed out tokens after '=>' operator
=begin
I think that it is because the provided statement was illegal and Ripper stopped parsing it.

% ruby -ve ":x => 1"
ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-darwin9.8.0]
-e:1: syntax error, unexpected tASSOC,...
eitoball (Eito Katagiri)
09:54 PM Revision cec2a542 (git): * 2010-09-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:54 PM Revision 8ea12e52 (git): * ext/pathname/pathname.c (path_directory_p): Pathname#directory?
translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:14 PM Revision 75b6d084 (git): * 2010-09-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@29162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision 8271144e (git): Add revision number to changelog for last entry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@29161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e wyhaines (Kirk Haines)
02:37 PM Bug #3776 (Closed): mismatch of rdoc in array.c
=begin
This issue was solved with changeset r29157.
Andrei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
02:24 AM Bug #3776 (Closed): mismatch of rdoc in array.c
=begin
--- array.c~ 2010-06-11 07:21:18.000000000 +0300
+++ array.c 2010-08-31 05:36:12.844565473 +0300
@@ -1897,7 +1897,7 @@

/*
* call-seq:
- * ary.rotate([n = 1]) -> new_ary
+ * ary.rotate([cnt = 1]) -> new...
dre3k (Andrei Kulakov)
02:37 PM Bug #3775 (Closed): typo of rdoc in enum.c
=begin
This issue was solved with changeset r29156.
Andrei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
naruse (Yui NARUSE)
02:20 AM Bug #3775 (Closed): typo of rdoc in enum.c
=begin
--- enum.c~ 2010-08-19 17:48:25.000000000 +0300
+++ enum.c 2010-08-31 06:13:42.200564470 +0300
@@ -1911,7 +1911,7 @@
* elements from each <i>args</i>. This generates a sequence of
* <em>n</em>-element arrays, where...
dre3k (Andrei Kulakov)
01:04 PM Revision b1729db2 (git): * ext/pathname/pathname.c (path_grpowned_p): Pathname#grpowned?
translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:57 PM Bug #3722 (Closed): segfault in rb_iterate (1.9.3, r29057)
=begin
This issue was solved with changeset r29155.
Cezary, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
08:40 AM Revision ee9e8f82 (git): Imported minitest 1.7.1 r5835
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Ryan Davis
07:52 AM Revision 09fb7189 (git): * string.c (tr_setup_table): optimized. don't create hash objects
when given pattern is ASCII only.
* string.c (tr_find): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:12 AM Bug #3769: Removing Predefined Constants
=begin

=end
nobu (Nobuyoshi Nakada)
05:36 AM Revision d53e0fe3 (git): * array.c (rb_ary_rotate_m): fix typo of rdoc.
patched by Andrei Kulakov [ruby-core:31975]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:36 AM Revision 5c132d0a (git): * enum.c (enum_zip): fix typo of rdoc.
patched by Andrei Kulakov [ruby-core:31974]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:10 AM Feature #3380: Minitest Runner Command
=begin
Not everyone uses rake... sure. Everyone uses ruby. Changing up the load path is handled by ruby -I. You know this and you know that I know you know this. So I still do not see the use case. I have been using minitest for years n...
zenspider (Ryan Davis)
03:56 AM Revision 8086b525 (git): * thread.c (ruby_suppress_tracing): restore the state and invoke
the func with normal state. a patch from Satoshi Shiba <shiba
AT rvm.jp> at [ruby-dev:42162]. [ruby-core:31783]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:09 AM Feature #3773: Module#parent
=begin
Hi,

In message "Re: [ruby-core:31969] [Ruby 1.9-Feature#3773][Open] Module#parent"
on Wed, 1 Sep 2010 00:24:25 +0900, Thomas Sawyer <redmine@ruby-lang.org> writes:

|Not sure "parent" is the best name, it does seem like...
matz (Yukihiro Matsumoto)
12:18 AM Feature #3773 (Rejected): Module#parent
=begin
Not sure "parent" is the best name, it does seem like this functionality should be provided somehow by Ruby itself.

class Module
# Returns the name of the module containing this one.
#
# M::N.parent_na...
trans (Thomas Sawyer)
01:09 AM Bug #3774: irbで日本語が入力できない
=begin
rvm install ruby-head -C --with-readline-dir=/opt/local --enable-readline-v6

だといけました。
=end
xibbar (Takeyuki FUJIOKA)
12:55 AM Bug #3774 (Rejected): irbで日本語が入力できない
=begin
headの方には以下のように出ています。
73 ../.././include/ruby/ruby.h:1419:1: warning: this is the location of the previous definition
74 conftest.c:5:2: error: #error GPLv2 incompatible

つまり、GPLv2互換チェックで蹴られている→readline6だからですね。
readline5...
naruse (Yui NARUSE)
12:48 AM Bug #3774 (Rejected): irbで日本語が入力できない
=begin
rvm install ruby-head -C --with-readline-dir=/opt/local
でインストールしたirbで日本語を入力できない。
1.9.2だったらできるので、オプションで与えたreadlineがうまく組み込まれないようです。
1.9.2とtrunk両方のmkmf.logを添付します。
=end
xibbar (Takeyuki FUJIOKA)

08/31/2010

11:21 PM Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject
=begin
I see the technical reason it occurs, but to accept that as proper behavior is going to hobble the usefulness of BasicObject.

First of all, it means one's ability to open a class and modify it will be conditional. One will h...
trans (Thomas Sawyer)
02:25 PM Feature #3768: Constant Lookup doesn't work in a subclass of BasicObject
=begin
Hi,

BasicObject does not inherit from Object, where the constant M is
defined. So, if you want to refer the toplevel constant M, try ::M.

matz.

In message "Re: [ruby-core:31956] [Ruby 1.9-Bug#3768][Open] Constan...
matz (Yukihiro Matsumoto)
02:05 PM Feature #3768 (Rejected): Constant Lookup doesn't work in a subclass of BasicObject
=begin

=end
matz (Yukihiro Matsumoto)
11:51 AM Feature #3768 (Assigned): Constant Lookup doesn't work in a subclass of BasicObject
=begin
I think it's spec, but we should hear the opinion of matz.
=end
usa (Usaku NAKAMURA)
04:08 AM Feature #3768 (Rejected): Constant Lookup doesn't work in a subclass of BasicObject
=begin
ruby-1.9.2-p0 > module M
ruby-1.9.2-p0 ?> end
=> nil
ruby-1.9.2-p0 > class X < BasicObject
ruby-1.9.2-p0 ?> include M
ruby-1.9.2-p0 ?> end
NameError: uninitialized constant X::M
from (irb):4:in `<clas...
trans (Thomas Sawyer)
07:06 PM Bug #3771: VC++ can't make ext/tk with enabling stubs
=begin
永井@知能.九工大です.

From: Akio Tajima <redmine@ruby-lang.org>
Subject: [ruby-dev:42159] [Ruby 1.9-Bug#3771][Open] VC++ can't make ext/tk with enabling stubs
Date: Tue, 31 Aug 2010 16:28:36 +0900
Message-ID: <4c7caf23967c8_ef0594df...
nagai (Hidetoshi Nagai)
05:37 PM Bug #3771 (Closed): VC++ can't make ext/tk with enabling stubs
=begin
This issue was solved with changeset r29151.
Akio, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nagai (Hidetoshi Nagai)
04:28 PM Bug #3771 (Closed): VC++ can't make ext/tk with enabling stubs
=begin
VC++で
--enable-tcltk-stubs を有効にしてmakeすると、tkのmakeに失敗します。
以下、パッチです。

--- stubs.c.org Tue Aug 31 16:21:44 2010
+++ stubs.c Tue Aug 31 16:21:55 2010
@@ -72,7 +72,7 @@
#if defined USE_TCL_STUBS && defined USE_TK_STU...
arton (Akio Tajima)
05:11 PM Feature #3753: value of def-expr
=begin
+1
=end
mrkn (Kenta Murata)
05:01 PM Feature #3753 (Assigned): value of def-expr
=begin

=end
usa (Usaku NAKAMURA)
12:11 PM Revision 31210575 (git): * ext/pathname/pathname.c (path_exist_p): Pathname#exist? translated
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:05 AM Bug #3736: Complex#argがエラーになることがある
=begin
r29115 で修正しました。
=end
mrkn (Kenta Murata)
10:02 AM Bug #3736 (Closed): Complex#argがエラーになることがある
=begin

=end
mrkn (Kenta Murata)
09:43 AM Bug #3737: DateTime#to_time doesn't preserve zone
=begin
Both Time.parse and DateTime.to_time have the same problem. They convert into the local timezone. The original timezone info is lost. In your example it went from +8:00 to +9:00. There is no way to retrieve the original +8:00 tim...
bernard (Bernard Duchesne)
08:35 AM Revision 5958d5ed (git): * 2010-08-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:35 AM Revision 9ec131e5 (git): * ext/tk/stubs.c: fix [Bug #3771] "VC++ can't make ext/tk with enabling
stubs". Thanks, Akio Tajima [ruby-dev:42159].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagai (Hidetoshi Nagai)
08:34 AM Revision b0993426 (git): * ext/tk/stubs.c: fix [Bug #3771] "VC++ can't make ext/tk with enabling
stubs". Thanks, Akio Tajima [ruby-dev:42159].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagai (Hidetoshi Nagai)
06:29 AM Feature #3762 (Rejected): c++ exceptions result in segfault when raised in rb_thread_blocking_region callback
=begin
You can't break from blocking functions with C++ exception.
Ruby's exception mechanism which is implemented based on setjmp/longjmp is not compatible with C++'s one.
=end
nobu (Nobuyoshi Nakada)
04:26 AM Bug #3769 (Closed): Removing Predefined Constants
=begin
The documentation for Module#remove_const states "Predefined classes and singleton objects (such as true) cannot be removed", but I believe the example below illustrates that they can. Is this a documentation or implementation bu...
runpaint (Run Paint Run Run)
02:59 AM Feature #3767 (Rejected): String#scan enumerator?
=begin
Should String#scan return an Enumerator if no block is given?

I came across this issue when testing a String extension I have that works in 1.8, but not 1.9 b/c String is no longer enumerable.

class String

# ...
trans (Thomas Sawyer)
02:54 AM Feature #3380: Minitest Runner Command
=begin
Not everyone uses rake.

By "automagic" I am simply referring to the at_exit procedure that must be used to run tests. While a runner that did not need this would be nice, it's not the main reason I suggest a commandline too...
trans (Thomas Sawyer)
01:08 AM Bug #3766: SEGFAULT
=begin
Make sure you are not falling into this case
http://yehudakatz.com/2010/08/24/a-tale-of-abort-traps-or-always-question-your-assumptions/

Are you working with the latest version of RVM?
=end
weppos (Simone Carletti)
12:53 AM Bug #3766 (Rejected): SEGFAULT
=begin
After upgrading to a newer version of bundler I'm now getting a segfault error coming out of ruby. Filing a bug here in case it is of use. Full stack trace below......


/Users/astreb/.rvm/gems/ruby-head/gems/bundler-1.0....
roark31337 (Ashley Streb)
 

Also available in: Atom