Project

General

Profile

Activity

From 09/02/2010 to 09/08/2010

09/08/2010

10:58 PM Bug #3804 (Rejected): ruby crashed while running spork
=begin
/Users/mat/.rvm/gems/ruby-1.9.2-p0@dns/gems/spork-0.8.4/lib/spork/forker.rb:50: [BUG] pthread_mutex_lock: Invalid argument (EINVAL)
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]

-- control frame ---------...
mat (Mathieu Arnold)
10:44 PM Feature #2968 (Assigned): 数値の正負を返すメソッド
=begin
フィードバックがあるのにRejectedのままなので再開します。

・positive? は >0 でも良いので不要
・Math.signbit?(num) だと新しい数クラスに対応できない

というところから、 Numeric#negative? を導入するのはでどうでしょうか。
(Numericでの定義はnilで、符号が定義される各派生クラスでオーバーライドしてtrue/falseを返す)

Numeric#sign ...
knu (Akinori MUSHA)
10:43 PM Feature #3793: No test for OpenSSL::PKCS12
=begin
Sorry ^takau, it's a test issue so I mark this Priority 'Low'.
=end
nahi (Hiroshi Nakamura)
07:15 PM Bug #3780: RDoc::Parser.binary? broken for some utf8 files longer than 1024 bytes
=begin
Interesting ... the problem does not occur when running rdoc included in ruby built with the v1_9_2_0 tag. I had thought it would -- but the RDoc::Parser.binary? method I reference above which I believe causes the problem: http:...
stepheneb (Stephen Bannasch)
11:04 AM Bug #3780: RDoc::Parser.binary? broken for some utf8 files longer than 1024 bytes
=begin
RDoc 2.5.11 is newer than the version of RDoc than ships with Ruby 1.9.2.

RDoc 2.5.8 ships with Ruby 1.9.2.

Can you confirm that this bug exists in the default RDoc that ships with 1.9.2?
=end
drbrain (Eric Hodel)
03:52 PM Revision 0787deb6 (git): * 2010-09-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:52 PM Revision 66a2c8a4 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:11 PM Bug #3683: getgrnam on computer with NIS group (+)?
=begin
Hi, you reported:
> I can't reproduce it on the x86_64 Ubuntu 10.04.1.

I am not not surprised because I couldn't reproduce it in earlier on my i686 Ubuntu 10.04.1 laptop in Japan. (I meant to indicate that in note #6 earli...
rocky (Rocky Bernstein)
01:03 PM Bug #3683 (Feedback): getgrnam on computer with NIS group (+)?
=begin

=end
nobu (Nobuyoshi Nakada)
01:03 PM Bug #3683: getgrnam on computer with NIS group (+)?
=begin
Hi,

At Wed, 8 Sep 2010 12:41:48 +0900,
Rocky Bernstein wrote in [ruby-core:32118]:
> Sorry for the omission. Ubuntu Lucid. Details follow. If there is more
> information you'd like let me know.

I can't reproduce it on th...
nobu (Nobuyoshi Nakada)
12:47 PM Bug #3683: getgrnam on computer with NIS group (+)?
=begin
Sorry for the omission. Ubuntu Lucid. Details follow. If there is more information you'd like let me know.

$ lsb_release -a
LSB Version: core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-no...
rocky (Rocky Bernstein)
07:06 AM Bug #3683 (Third Party's Issue): getgrnam on computer with NIS group (+)?
=begin

=end
nobu (Nobuyoshi Nakada)
06:56 AM Bug #3683: getgrnam on computer with NIS group (+)?
=begin
Hi,

At Wed, 8 Sep 2010 00:47:09 +0900,
Rocky Bernstein wrote in [ruby-core:32106]:
> So getgrent() reports "+" as a group name; "+" is at the end
> of the /etc/group file. However it isn't the name of a
> group. Instead, "...
nobu (Nobuyoshi Nakada)
12:47 AM Bug #3683: getgrnam on computer with NIS group (+)?
=begin
I ran the following program to show group information in C on the computer where the test was failing:


#include <sys/types.h>
#include <grp.h>
#include <stdio.h>
#include <errno.h>
int main(int argc, const char *a...
rocky (Rocky Bernstein)
02:36 PM Bug #3788 (Open): URI cannot parse IPv6 addresses propertly
=begin

=end
naruse (Yui NARUSE)
01:58 PM Bug #3788: URI cannot parse IPv6 addresses propertly
=begin
The original argument is quite simple.

1. URI RFC defines structure of URI (text) so it can be parsed by Ruby's URI (class) and other implementation. RFC define the interop.

2. Purpose of URI Ruby class is to permit a...
adamm (Adam Majer)
02:21 PM Bug #655: Query part lost when using Net::HTTP.post_form function
=begin

=end
nahi (Hiroshi Nakamura)
01:58 PM Feature #3622 (Open): Net::HTTP does not wait to send request body with Expect: 100-continue
=begin

=end
nahi (Hiroshi Nakamura)
01:52 PM Revision 849c3478 (git): * ext/openssl/ossl_ssl.c (ssl_get_error): Thread context switch was
blocked on Windows while blocking call for SSLSocket. Need to
convert errno for letting rb_io_wait_readable detect EWOULDBLOCK.
Patch by arton. ref #3794.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29197 b2d...
Hiroshi Nakamura
01:14 PM Bug #3798: ruby 1.9.2 + OpenSSL 1.0.0.a on Windows 64 test hang .....
=begin

=end
nahi (Hiroshi Nakamura)
01:12 PM Bug #3798: ruby 1.9.2 + OpenSSL 1.0.0.a on Windows 64 test hang .....
=begin
Might be the same issue with http://redmine.ruby-lang.org/issues/show/3794
ray, can you try the 1-line patch at above ticket?
=end
nahi (Hiroshi Nakamura)
01:05 PM Bug #3798: ruby 1.9.2 + OpenSSL 1.0.0.a on Windows 64 test hang .....
=begin
does it work with other versions of openssl?
=end
rogerdpack (Roger Pack)
11:57 AM Revision bafa8813 (git): * ext/pathname/pathname.c (path_setgid_p): Pathname#setgid? translated
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:39 AM Feature #855: HTTP/1.1 fixes and other enhancements to webrick
=begin

=end
nahi (Hiroshi Nakamura)
10:35 AM Feature #1103: Ruby used for webrick cgi should be configurable
=begin

=end
nahi (Hiroshi Nakamura)
07:42 AM Bug #3750: SEGV: ruby -rprofile test/ruby/test_assignment.rb
=begin
Appears to be resolved by r29155.
=end
pweldon (Peter Weldon)
07:05 AM Bug #3799 (Feedback): Unexpected behaviour of require_relative
=begin

=end
nobu (Nobuyoshi Nakada)
06:44 AM Bug #3799: Unexpected behaviour of require_relative
=begin
Hi,

At Wed, 8 Sep 2010 01:59:01 +0900,
James Byrne wrote in [ruby-core:32108]:
>
nobu (Nobuyoshi Nakada)
01:58 AM Bug #3799 (Rejected): Unexpected behaviour of require_relative
=begin
I have this code written to handle ruby 1.8 and 1.9.2:

#!/usr/bin/env ruby
byrnejb (James Byrne)
06:16 AM Bug #3782: NendoのテストスイートでSEGVが発生する
=begin
rvmは使っていません。
GNU stowというツールを使って、/usr/local/stow以下にインストールしたものを、/usr/local以下にシンボリックリンクしています。(GNU stowの機能)
また、再現性は100%ではありません。
私の環境でも、時々SEGVせずに通ることもありますが、何度も実行しているとSEGVする回数のほうが多いという状況です。


=end
kiyoka (Kiyoka Nishiyama)
12:46 AM Feature #3773: Module#parent
=begin
Hi,

In message "Re: [ruby-core:32103] [Ruby 1.9-Feature#3773] Module#parent"
on Tue, 7 Sep 2010 23:19:43 +0900, Thomas Sawyer <redmine@ruby-lang.org> writes:

|The use cases that I am aware of are from Rails:
|
|* htt...
matz (Yukihiro Matsumoto)

09/07/2010

11:19 PM Feature #3773: Module#parent
=begin
The use cases that I am aware of are from Rails:

* http://github.com/rails/rails/blob/master/activesupport/lib/active_support/dependencies.rb#L496
* http://github.com/rails/rails/blob/master/activerecord/lib/active_record/...
trans (Thomas Sawyer)
10:27 PM Bug #3798 (Closed): ruby 1.9.2 + OpenSSL 1.0.0.a on Windows 64 test hang .....
=begin
Complie Env: MSVC 2010

1. compile openssl 1.0.0a
perl configure zlib enable-static-engine no-asm VC-WIN64A
nmake -f .\ms\nt.mak
all test passed.

2. complie ruby ...
.\win32\configure --prefix="c:\ruby" --tar...
raylinn@gmail.com (ray linn)
10:24 PM Bug #3728: IO.select is not documented.
=begin
I created a patch to fill some documentation for IO.select (and Kernel.select eventually). The code example is borrowed from the Rurima project.

HTH
=end
eitoball (Eito Katagiri)
09:26 PM Revision b6844241 (git): * 2010-09-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:26 PM Revision c37ec5c9 (git): * ext/pathname/pathname.c (path_setuid_p): Pathname#setuid? translated
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:04 PM Revision 8e3c2ced (git): * 2010-09-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:04 PM Revision b9f2ea84 (git): * ext/pathname/pathname.c (path_readable_real_p):
Pathname#readable_real? translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:43 AM Bug #3795 (Assigned): Date._valid_civil? in 1.9.1 raises exception for some invalid dates instead of returning false
=begin

=end
naruse (Yui NARUSE)
02:11 AM Bug #3795 (Closed): Date._valid_civil? in 1.9.1 raises exception for some invalid dates instead of returning false
=begin
possible_bug = <<_possible_bug
Date._valid_civil? in 1.9.1 raises exception for some invalid dates
instead of returning false.

This is a possible bug in 1.9.1 Date._valid_civil? found while
I was testing change...
colinb2 (Colin Bartlett)
05:48 AM Bug #3796 (Closed): make check fails on powerpc64 linux
=begin
I cloned from git://github.com/ruby/ruby.git, then ran this as root:

autoreconf; ./configure && make && make check

Here's the tail of "make check" output:

Loaded suite ./test/runner
Started
..................
meyering (Jim Meyering)
01:02 AM Bug #3788: URI cannot parse IPv6 addresses propertly
=begin
so can we reopen the bug so it wont get lost?:)
=end
darix (Marcus Rückert)
12:15 AM Bug #3788: URI cannot parse IPv6 addresses propertly
=begin
Hmm, your point has a reson. I consider this.
http://msdn.microsoft.com/en-us/library/system.uri.dnssafehost.aspx
=end
naruse (Yui NARUSE)

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
 

Also available in: Atom