Project

General

Profile

Activity

From 02/15/2010 to 02/21/2010

02/21/2010

09:27 PM Bug #2769 (Closed): gem install cairo fails
=begin
This issue was solved with changeset r26723.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
12:16 AM Bug #2769 (Closed): gem install cairo fails
=begin
なかださん
遠藤です。

r26465+r26466 の変更によって gem install cairo をしても cairo.so が
ビルドされなくなり、正常にインストールできなくなりました。

$ ../ruby-trunk-local/bin/ruby -rcairo -e ''
/home/mame/work/ruby-trunk-local/lib/ruby/gems/1.9.1/gems/cairo-1.8.1/src...
mame (Yusuke Endoh)
08:51 PM Feature #2759: Regexp /g and /G options
=begin
If you want full compatibility to Oniguruma, yes.
Or original Oniguruma seems not maintained now, so you can use common functions of Ruby 1.9 and Oniguruma 5.9.2.

But I think, what you want is only resolve mixing captured ...
naruse (Yui NARUSE)
08:10 PM Feature #2759: Regexp /g and /G options
=begin
So the solution is to create a whole new wrapper for Oniguruma?
=end
manveru (Michael Fellinger)
06:47 PM Feature #2759: Regexp /g and /G options
=begin
Ruby 1.9's regexp is from Oniguruma, but is not Oniguruma.
It is fork one and is not intended to support compatibility to Oniguruma.
=end
naruse (Yui NARUSE)
07:21 PM Bug #2729: `unexpected break' occurs when a proc is called in ensure
=begin
This patch prevent the exception.
I know it's not a fundamental solution, but I hope it will help for finding a bug.
=end
wanabe (_ wanabe)
05:17 PM Revision 034acb58 (git): * 2010-02-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:17 PM Revision 9d8bf3b9 (git): add timeout for test_should_propagate_signaled.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:28 PM Bug #2745: iseq_set_sequence: adjust bug (next inside begin...rescue)
=begin
The bug doesn't occur with attached patch.
=end
wanabe (_ wanabe)
12:20 PM Revision 3ef72aeb (git): * lib/mkmf.rb (create_makefile, install_files): honor srcprefix
argument if given. [ruby-dev:40449]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:16 AM Feature #2772 (Closed): Matrix: Calculating determinant using Bareiss algorithm [patch]
=begin
Yu Ichino suggested to use a different algorithm to calculate the determinant of a matrix in [ruby-core:28166].

I second his proposal. To reduce the risk of this proposal to go without a response, I am creating this request....
marcandre (Marc-Andre Lafortune)
06:10 AM Feature #2771 (Closed): Matrix: constructor to build with block
=begin
I believe the following simple constructor could be a helpful addition to matrix.rb

class Matrix
#
# Creates a matrix of +row_size+ x +column_size+.
# It fills the values by calling the given block,
# passing...
marcandre (Marc-Andre Lafortune)
04:46 AM Bug #2770 (Closed): Matrix: determinant for rectangular matrices should raise an error [patch]
=begin
Keiju,

$ rubydev -r matrix -e "puts Matrix[[1], [2], [3]].determinant"
0

This corresponds to the documentation, but is not mathematically valid, since the determinant for rectangular matrices is not defined (at least ...
marcandre (Marc-Andre Lafortune)
04:30 AM Revision 33dd3c94 (git): * lib/rubygems/rubygems_version.rb: outdated. [ruby-core:28275]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:15 AM Bug #2768: SEGV when using OpenSSL::Cipher (AES) in certain way
=begin
here the output that irb does give me for the command
=end
zeri (Julian Wälde)
12:13 AM Bug #2768 (Closed): SEGV when using OpenSSL::Cipher (AES) in certain way
=begin
this command gives me an SEGV on my boxes:

ruby -e 'require "openssl";OpenSSL::Cipher::AES128.new("ECB").update "testtesttesttest"'

while this command does not:

ruby -e 'require "openssl";OpenSSL::Cipher::AES128.n...
zeri (Julian Wälde)

02/20/2010

09:28 PM Revision 2a3c459d (git): * symbian/setup (config.h): HAVE_STRUCT_TIMEZONE, VOID_UNSETENV, and RUBY_LIB_VERSION_STYLE defined.
* symbian/setup (ruby.mmp): SOURCE node.c added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26721 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Alexander Zavorine
09:27 PM Revision b3611d2b (git): * symbian/setup (config.h): HAVE_STRUCT_TIMEZONE, VOID_UNSETENV, and RUBY_LIB_VERSION_STYLE defined.
* symbian/setup (ruby.mmp): SOURCE node.c added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Alexander Zavorine
05:44 PM Bug #2767: YAML bug
=begin

Already reported at http://redmine.ruby-lang.org/issues/show/1311
=end
daz (Dave B)
05:33 PM Bug #2767 (Closed): YAML bug
=begin
Start IRB, run:

require 'yaml'; YAML.load({"x"=>"\r\n P\r\nA"}.to_yaml)

result:
ArgumentError: syntax error on line 4, col 2: ` A'
from /opt/ruby-enterprise-1.8.6-20090610/lib/ruby/1.8/yaml.rb:133:in `load'...
TimHaines (Tim Haines)
04:27 PM Revision 0c258859 (git): * 2010-02-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:26 PM Revision 1b99a27b (git): * vm.c (vm_backtrace_each): use called_id when method definition
structure is already freed. [ruby-dev:40234] [ruby-core:27959]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
02:49 PM Feature #2759: Regexp /g and /G options
=begin
Well, yes, of course I want seamless support for Oniguruma, wasn't that one of the big new features of the 1.9 series?
Some of these regular expressions fill a page, and there is no way I know of to translate them automatically...
manveru (Michael Fellinger)
08:41 AM Feature #2759: Regexp /g and /G options
=begin
Michael: If I'm not mistaken, you want to use the TextMate syntax files without change. The lack of a OPTION_CAPTURE_GROUP modifier currently forces you to transform Oniguruma regexps to Ruby 1.9 regexps before using them.

S...
murphy (Kornelius Kalnbach)
07:36 AM Feature #2759: Regexp /g and /G options
=begin
If you don't use $1 after matching, you can use /(?=(?:[ ]{4}|\t)(?<marker>[-](?:[ ]{,2})\k<marker>))/.

Otherwise you use a string matched by ([ ]{4}|\t), you should give name to it, like Kornelius says,
/(?=(?<foo>[ ]{4}|...
naruse (Yui NARUSE)
06:30 AM Feature #2759: Regexp /g and /G options
=begin
I don't understand why Ruby 1.9 raises that exception. The Oniguruma documentation (http://www.geocities.jp/kosako3/oniguruma/doc/RE.txt) states that the use of named group forbids the use of numbered *back references*, not un-na...
murphy (Kornelius Kalnbach)
03:08 AM Feature #2759: Regexp /g and /G options
=begin
Given the following code in 1.8 with oniguruma gem, first without the flag:

Oniguruma::ORegexp.new('(?=([ ]{4}|\t)(?<marker>[-]([ ]{,2})\k<marker>))')
ArgumentError: Oniguruma Error: invalid backref number/name

Now wi...
manveru (Michael Fellinger)
12:12 PM Bug #2766 (Rejected): Cannot use CSV under windows 7
=begin
I try to use Ruby under my windows 7 notebook. but I find that CSV cannot work. it alway throws " CSV::MalformedCSVError:Unquoted fields do not allow \r or \n(line 1)"
my system is windows 7
ruby 1.9.1p378(2010-01-10 revision...
cooker_bj (kang cao)
03:17 AM Revision 69286031 (git): * 2010-02-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26717 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 AM Revision 960beaac (git): indented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

02/19/2010

07:35 PM Bug #2747: io.dup doesn't handle pos properly
=begin
kosaki さん
遠藤です。

2010年2月15日21:40 Motohiro KOSAKI <redmine@ruby-lang.org>:
> 6の秘密はstraceが教えてくれている
>
*snip*
>
> read(f2, buf, 8192)でバッファリング読み込みしたあと、オフセットを戻すのを忘れて
> lseek(f1, 0, SEEK_CUR) でposを読み込むのでファイル終端のposが得られている。


...
mame (Yusuke Endoh)
01:15 PM Bug #2760: unable to cross-compile win32.c
=begin
I don't see such errors with i386-mingw32-gcc on darwin.
gcc -v shows:
$ i386-mingw32-gcc -v
Reading specs from /opt/local/lib/gcc/i386-mingw32/3.4.5/specs
Configured with: /opt/local/var/macports/build/_opt_local_v...
nobu (Nobuyoshi Nakada)
12:46 PM Bug #2760 (Assigned): unable to cross-compile win32.c
=begin

=end
naruse (Yui NARUSE)
04:43 AM Bug #2760 (Rejected): unable to cross-compile win32.c
=begin
:~/ruby_trunk$ gcc win32/win32.c 2>&1 | grep lvalue
win32/win32.c:4894: error: lvalue required as left operand of assignment
win32/win32.c:5016: error: lvalue required as left operand of assignment

This seems to help:
...
rogerdpack (Roger Pack)
12:52 PM Revision 54a61d3e (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:47 PM Bug #2748 (Closed): fix for READ_CHECK causes failures on FreeBSD 8.0
=begin

=end
naruse (Yui NARUSE)
07:43 AM Revision a39e9e07 (git): * Makefile.in (config.status): ommit cached results.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:01 AM Revision 6b9c2e9d (git): Use only object_id to test living threads.
Previous test depends on timing like:
<"[#<Thread:0x000008013413a0 run>, #<Thread:0x00000801341418 run>,
#<Thread:0x00000801364940 run>]"> expected but was
<"[#<Thread:0x000008013413a0 run>, #<Thread:0x00000801341418 sleep>,
...
naruse (Yui NARUSE)
06:00 AM Feature #2759: Regexp /g and /G options
=begin
The /g modifier is widely used to mark a regexp as "global" (Perl, JavaScript, vim). It might confuse people. But it's also the obvious name for such an option ^_^'

How is the use case? That sounds interesting.
=end
murphy (Kornelius Kalnbach)
05:28 AM Feature #2759: Regexp /g and /G options
=begin
I can't imagine a use case even if we have non capturing group (?: .. ).

Could you explain why you want /g and /G ?
=end
naruse (Yui NARUSE)
04:01 AM Feature #2759 (Closed): Regexp /g and /G options
=begin
Oniguruma has flags called ONIG_OPTION_CAPTURE_GROUP, ONIG_OPTION_DONT_CAPTURE_GROUP.
There has been a discussion about it in the past, which can be found at http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-dev/28446?28...
manveru (Michael Fellinger)
03:39 AM Revision d02ec1c6 (git): * ext/readline/readline.c (Init_readline): initialize
check rl_catch_signals and rl_catch_sigwinch.
[ruby-core:28238] [ruby-core:28242]
* ext/readline/extconf.rb: check rl_catch_signals and
rl_catch_sigwinch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26712 b2dd03c8...
naruse (Yui NARUSE)

02/18/2010

10:37 PM Feature #2746: ビルドする拡張ライブラリを configure 時に指定するための --with-exts オプション
=begin
むらたです。

On 2010/02/18, at 12:14, Kenta Murata wrote:

> without を with-out に分離する方法は思いつきませんでした。
> 以下のように --with-ext と --with-out-ext を定義して
> mkconfig.rb で with-out を without へ変換すると、
> configure で警告も出ず、extmk.rb を変更する必要もなくなりま...
mrkn (Kenta Murata)
12:15 PM Feature #2746: ビルドする拡張ライブラリを configure 時に指定するための --with-exts オプション
=begin
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

むらたです。

On 2010/02/16, at 15:48, Akinori MUSHA wrote:

> At Tue, 16 Feb 2010 12:05:49 +0900,
> Kenta Murata wrote:
>>> こんにちは、なかむら(う)です。
>>>
>>> In message "[ruby-dev:40...
mrkn (Kenta Murata)
03:31 PM Bug #2756: Issues with Math and Complex behavior on 1.9
=begin
Hi,

On Wed, Feb 17, 2010 at 10:23 PM, Urabe Shyouhei <shyouhei@ruby-lang.org> wrote:
> Hi,
>
> Yusuke ENDOH wrote:
>>> Q. Can we change the 1.8.7 behavior when raising exceptions to be both internally consistent and consis...
brixen (Brian Shirai)
03:23 PM Bug #2756: Issues with Math and Complex behavior on 1.9
=begin
Hi,

Yusuke ENDOH wrote:
>> Q. Can we change the 1.8.7 behavior when raising exceptions to be both internally consistent and consistent with the behavior of 1.9 (Note that numerous changes to the exception raised have already ...
shyouhei (Shyouhei Urabe)
12:48 PM Bug #2756: Issues with Math and Complex behavior on 1.9
=begin
Hi!

> Q. Should 1.9 coerce arguments to Math methods?

I really want to agree, but it seems intended change for
prohibiting string:

$ ruby18 -ve 'p Math.atanh("0.5")'
ruby 1.8.8dev (2010-02-01 revision 26536) [i686-...
mame (Yusuke Endoh)
04:10 AM Bug #2756 (Rejected): Issues with Math and Complex behavior on 1.9
This ticket aggregates several issues with Math methods on 1.9. There are related tickets that either have not yet or do not, in my opinion, resolve these issues in a satisfactory manner. (see http://redmine.ruby-lang.org/issues/show/170... brixen (Brian Shirai)
03:25 PM Revision b33c2886 (git): * 2010-02-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26711 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:25 PM Revision 48844c00 (git): * pack.c (pack_unpack): call PACK_ITEM_ADJUST for 'Q'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:06 PM Revision c840e457 (git): * 2010-02-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:06 PM Revision 5a55683b (git): * lib/drb/drb.rb (DRbServer#stop_service): join killed thread to
ensure service stops. [ruby-dev:40441]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
01:48 PM Bug #2749 (Closed): net/smtp.rb arbitrary Net::SMTPUnknownError: could not get 3xx (250) and Net::SMTPUnknownError: 354 End data with <CR><LF>.<CR><LF>
=begin

=end
marcandre (Marc-Andre Lafortune)
11:46 AM Bug #2749: net/smtp.rb arbitrary Net::SMTPUnknownError: could not get 3xx (250) and Net::SMTPUnknownError: 354 End data with <CR><LF>.<CR><LF>
=begin
disregard - no longer a problem with ruby 1.9.2dev (2010-02-18 trunk 26704)
=end
trevor (trevor 6)
01:42 PM Bug #2757 (Closed): win32/registry file is no longer in the load path
=begin
re:

http://www.ruby-forum.com/topic/204291#new

it appears that registry.rb no longer gets installed in windows. I think this is on accident.
=end
rogerdpack (Roger Pack)
01:39 PM Revision 54380d99 (git): * math.c (math_atanh): raise ERANGE without calling atanh if absolute
value is 1 to achieve platform-independent math. [ruby-core:28219]
* math.c (math_lgamma): return [Infinity, 1] without calling lgamma_r
if argument is infinity or -infinity. [ruby-core:28219]
git-svn-id: svn+ssh://ci.ruby-lang.org...
mame (Yusuke Endoh)
01:33 PM Revision a8fcae08 (git): * confiure.in: new --with-ext and --with-out-ext options for extmk.
* tool/mkconfig.rb: normalizing --with-out-ext to --without-ext.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
12:53 PM Revision e8665a6b (git): * pack.c (pack_unpack): call PACK_ITEM_ADJUST for 'Q'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

02/17/2010

11:40 PM Bug #2743 (Closed): incorrect checksum for freed object
=begin

=end
wanabe (_ wanabe)
10:05 PM Feature #2709: $VERBOSE, $DEBUG and Kernel#sprintf
=begin
Because, in my opinion, too many arguments aren't an error. Why is this an error for you?
Too many arguments have no impact on the functionality of Kernel#sprintf.
Too few arguments are an error, however.

My suggestion:
...
paddor (Patrik Wenger)
09:55 PM Bug #2752 (Closed): File path encoding on mac os x and windows
=begin
成瀬さん
遠藤です。

File#path のエンコーディングは、File.new に与えられた文字列の
エンコーディングを保持しますか?

File.new(path).path.encoding.should == path.encoding

Linux では保持するようです。mac os x と windows では未決定だと
いう話なので、忘れないようにチケットにしておきます。
1.9.2 までに決め...
mame (Yusuke Endoh)
05:19 PM Revision 713e99ce (git): * io.c (io_fread, io_getpartial, io_read, io_sysread): by using lock,
prohibit modification of buffer string during read (which had caused
EFAULT or SEGV). [ruby-dev:40437]
* test/ruby/test_io.rb: rewrite tests for the old behavior.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26704 b2dd03c8-39d4...
mame (Yusuke Endoh)
04:27 PM Revision f3d95233 (git): * 2010-02-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:27 PM Revision 6dda216d (git): add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:36 PM Revision 457c2c4a (git): * regcomp.c (setup_tree, onig_compile): optimize .* at last by
converting into (?>.*), which does not backtrack. [ruby-core:27791]
* test/ruby/test_regexp.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:27 PM Revision 24421c83 (git): * bootstraptest/runner.rb (assert_normal_exit): add :timeout option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:05 AM Revision 50c8982e (git): * vm_insnhelper.c (vm_call_cfunc): removed unused variable.
* vm.c (vm_frametype_name): define only when VMDEBUG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:49 AM Bug #2712: TCPServer#gets gets stuck
=begin
成瀬です。

(2010/02/17 0:57), Yusuke ENDOH wrote:
> やってみました。make check と make test-rubyspec は完走していますが、
> どうでしょう。反対がなければコミットします。

手元でも完走する事を確認しました。
ありがとうございました。

--
NARUSE, Yui <naruse@airemix.jp>
=end
naruse (Yui NARUSE)
12:57 AM Bug #2712: TCPServer#gets gets stuck
=begin
遠藤です。

2010年2月12日12:24 Yusuke ENDOH <mame@tsg.ne.jp>:
> - 元の問題は STR_TMPLOCK を使えばたぶんちゃんと解決できる


やってみました。make check と make test-rubyspec は完走していますが、
どうでしょう。反対がなければコミットします。


diff --git a/io.c b/io.c
index 9983e17..fd7fbbf...
mame (Yusuke Endoh)
06:34 AM Revision 711ed72b (git): * ext/dl/dl_conversions.c (rb_dl_type_to_ffi_type): support signed
long long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:26 AM Revision f9534837 (git): * ext/dl/cfunc.c (rb_dlcfunc_inspect): get rid of overflow.
* ext/dl/closure.c (dlc_callback, rb_dlclosure_init): ditto.
* ext/dl/cptr.c (rb_dlptr_s_malloc): ditto.
* ext/dl/method.c (rb_dlfunction_initialize): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26693 b2dd03c8-39d4-4d8f-...
nobu (Nobuyoshi Nakada)
05:21 AM Revision 074836aa (git): * common.mk: ext/dl/callback no longer exists.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:18 AM Revision 68408702 (git): * ext/dl/depend: updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:42 AM Bug #2751 (Closed): Win32::Registry#inspect fails
=begin
>> Win32::Registry::HKEY_LOCAL_MACHINE.create "Software\\classes\\#{name}\\shell\\open_with_redcar"
NoMethodError: undefined method `+' for :HKEY_LOCAL_MACHINE:Symbol
from E:/installs/ruby191p376/lib/ruby/1.9.1/win32...
rogerdpack (Roger Pack)
12:19 AM Revision 676cf9b5 (git): * test/dl/test_method.rb: sinf(3) is in libm.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

02/16/2010

09:37 PM Bug #2732 (Closed): rubyspec: ObjectSpace.define_finalizer doesn't call self-referencing finalizers FAILED
=begin
This issue was solved with changeset r26684.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
08:40 PM Bug #2732: rubyspec: ObjectSpace.define_finalizer doesn't call self-referencing finalizers FAILED
=begin
遠藤です。

2010年2月16日11:25 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
> 忘れそうになるので、IRCの議論を転記
>
> 1. objectはreferenceがある限り回収されない
> 2. finalizerはobjectが回収される時に呼ばれる
> 3. プロセス終了時はfinalizerが絶対呼ばれる
>
> の1,2と3が両立不可能という仕様バグの話だ...
mame (Yusuke Endoh)
04:45 PM Revision d1925e64 (git): use assert_finish because the test hangs on FreeBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:20 PM Revision 17ecdd2f (git): * 2010-02-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:20 PM Revision 79afabe0 (git): * hash.c (hash_update): always raise an exception when adding a new
key during iteration. Traditionally, an exception was raised only
when rehash occurs, but it may lead to difficult bug to reproduce.
[ruby-core:23614]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26687 b2dd03c8-39d4-4d8f-98ff-...
mame (Yusuke Endoh)
01:25 PM Revision 4651910a (git): add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:10 PM Revision a9f6a955 (git): * gc.c (chain_finalized_object): fix precedence.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
12:37 PM Feature #2740: Extend const_missing to pass in the nesting
=begin
Hi,

2010/2/15 Yehuda Katz <redmine@ruby-lang.org>:
> Upon further reflection, I really like the idea of raising an exception like NoConstantError from const_missing to tell Ruby to keep searching up the nesting chain.

Cool...
mame (Yusuke Endoh)
11:53 AM Feature #2740: Extend const_missing to pass in the nesting
Nobu, great to see a patch for this! Thank you.
However, it didn't produce the desired results for me. After some debugging, I got a version that works for me:
```ruby
class Object
def self.const_missing(id)
namespace = "#...
murphy (Kornelius Kalnbach)
09:23 AM Feature #2740: Extend const_missing to pass in the nesting
Hi,
At Mon, 15 Feb 2010 22:21:55 +0900,
Yehuda Katz wrote in [ruby-core:28177]:
> Upon further reflection, I really like the idea of raising an
> ...
Maybe reasonable.
```diff
Index: error.c
===================================...
nobu (Nobuyoshi Nakada)
12:34 PM Revision 2236f6a6 (git): * gc.c (rb_objspace_call_finalizer): always run finalizer at exit,
before object is free'd. [ruby-dev:40382]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:30 PM Bug #2748: fix for READ_CHECK causes failures on FreeBSD 8.0
=begin
遠藤です。

2010年2月16日3:42 Yui NARUSE <redmine@ruby-lang.org>:
> 間を置いてからの報告で申し訳ないのですが、例の READ_CHECK の修正 (r26625) が、
> FreeBSD での test-all の失敗を増やします。
> r26625 を revert するとこれらのテストは成功するようになります。


[ruby-dev:40390][ruby-dev:40391][...
mame (Yusuke Endoh)
03:41 AM Bug #2748 (Closed): fix for READ_CHECK causes failures on FreeBSD 8.0
=begin
間を置いてからの報告で申し訳ないのですが、例の READ_CHECK の修正 (r26625) が、
FreeBSD での test-all の失敗を増やします。
r26625 を revert するとこれらのテストは成功するようになります。

1) Failure:
test_read_error(TestIO) [/home/naruse/ruby/test/ruby/test_io.rb:869]:
RuntimeErr...
naruse (Yui NARUSE)
12:06 PM Feature #2746: ビルドする拡張ライブラリを configure 時に指定するための --with-exts オプション
=begin
むらたです。

On 2010/02/15, at 21:37, U.Nakamura wrote:

> こんにちは、なかむら(う)です。
>
> In message "[ruby-dev:40418] [Feature #2746] ビルドする拡張ライブラリを configure 時に指定するための --with-exts オプション"
> on Feb.15,2010 13:36:10, <redmine@ruby-l...
mrkn (Kenta Murata)
12:00 PM Revision 41e5cd71 (git): * 2010-02-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:00 PM Revision 792b3efa (git): * file.c (rb_group_member): renamed from group_member.
don't use group_member() in glibc because it's not valgrind clean.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570047
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:00 PM Revision 9b0953f4 (git): * file.c (rb_group_member): renamed from group_member.
don't use group_member() in glibc because it's not valgrind clean.
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=570047
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:45 AM Bug #2749 (Closed): net/smtp.rb arbitrary Net::SMTPUnknownError: could not get 3xx (250) and Net::SMTPUnknownError: 354 End data with <CR><LF>.<CR><LF>
=begin
% postconf -d | grep mail_version\ =
mail_version = 2.6.5
% ruby -v
ruby 1.9.2dev (2010-02-03 trunk 26544) [x86_64-darwin10.2.0]


When trying to send mail through my mail server via net/smtp.rb I'm getting the follow...
trevor (trevor 6)
10:19 AM Revision 4d71618c (git): * ext/dl/cfunc.c (rb_dlcfunc_call): convert signed value to
unsigned.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:03 AM Revision da249774 (git): * test/dl/test_{base,handle}.rb: use more verbose assertions.
* test/dl/test_import.rb (DL::LIBC::BoundQsortCallback): renamed
to get rid of overwriting warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:54 AM Revision 53dddcf8 (git): * ChangeLog: removed trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:05 AM Revision 8f8947a2 (git): * ext/dl/method.c: Adding DL::Method as a superclass for DL::Function
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)

02/15/2010

11:52 PM Revision 1e7d74f3 (git): * 2010-02-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:52 PM Revision e5657a65 (git): * ext/dl/function.c: using ULONG2NUM to fix tests on i686.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
10:21 PM Feature #2740: Extend const_missing to pass in the nesting
=begin
Upon further reflection, I really like the idea of raising an exception like NoConstantError from const_missing to tell Ruby to keep searching up the nesting chain.

class Module
def const_missing(name)
...
wycats (Yehuda Katz)
10:07 PM Bug #2516: IO#reopen Compatibility (original: [ruby-dev:39479])
=begin
遠藤です。

2010年2月15日13:25 KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>:
> 反応がないので、誰も興味がないのだと判断します。遠藤さんとIRCで調整のうえ
> kosakiがボールを握ることにしました。
> 現状 io.dup もposが狂った動きをしているので一緒に直すことになると思います。


IO とか興味ないのでよろしくお願いします。

あと、IRC で話...
mame (Yusuke Endoh)
09:40 PM Bug #2747: io.dup doesn't handle pos properly
=begin
6の秘密はstraceが教えてくれている

dup(4) = 5
lseek(4, 0, SEEK_CUR) = 0
lseek(5, 0, SEEK_SET) = 0
lseek(4, 0, SEEK_CUR) = 0
write(1, "0\n", 20
...
kosaki (Motohiro KOSAKI)
09:35 PM Bug #2747: io.dup doesn't handle pos properly
=begin
1.8.6での挙動

% /usr/bin/ruby -v duptest.rb
ruby 1.8.6 (2009-08-04 patchlevel 383) [x86_64-linux]
0
"1\n"
0
2


f1とf2のposがずれているので、これもおかしい
=end
kosaki (Motohiro KOSAKI)
09:10 PM Bug #2747: io.dup doesn't handle pos properly
=begin
#2516 と関連しています
=end
kosaki (Motohiro KOSAKI)
09:08 PM Bug #2747 (Rejected): io.dup doesn't handle pos properly
=begin
記録のために、IRCから転記します。

duptest.rb
-----------------------------
f1 = File.new("foo.txt")
f2 = f1.dup()
p f1.pos
p f2.gets
p f1.pos
p f2.pos

foo.txt
-------------
1
2
3

このようなテストプログラムを実行すると、

0
...
kosaki (Motohiro KOSAKI)
09:37 PM Feature #2746: ビルドする拡張ライブラリを configure 時に指定するための --with-exts オプション
=begin
こんにちは、なかむら(う)です。

In message "[ruby-dev:40418] [Feature #2746] ビルドする拡張ライブラリを configure 時に指定するための --with-exts オプション"
on Feb.15,2010 13:36:10, <redmine@ruby-lang.org> wrote:
> 現在 make に対して EXTS 変数を指定することでビルドする拡張ライブラリを限定で...
usa (Usaku NAKAMURA)
03:07 PM Feature #2746: ビルドする拡張ライブラリを configure 時に指定するための --with-exts オプション
=begin
むらたです。

On 2010/02/15, at 14:29, Yukihiro Matsumoto wrote:

> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:40420] Re: [Feature #2746] ビルドする拡張ライブラリを configure 時に指定するための --with-exts オプション"
> on Mon, 15 Feb 2010 13:59:36 ...
mrkn (Kenta Murata)
02:29 PM Feature #2746: ビルドする拡張ライブラリを configure 時に指定するための --with-exts オプション
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:40420] Re: [Feature #2746] ビルドする拡張ライブラリを configure 時に指定するための --with-exts オプション"
on Mon, 15 Feb 2010 13:59:36 +0900, Kenta Murata <muraken@gmail.com> writes:

|ありがとうございます。まだコミッターで...
matz (Yukihiro Matsumoto)
02:10 PM Feature #2746: ビルドする拡張ライブラリを configure 時に指定するための --with-exts オプション
=begin
むらたです。

On 2010/02/15, at 13:59, Kenta Murata wrote:

> むらたです。
>
> On 2010/02/15, at 13:49, Yukihiro Matsumoto wrote:
>
>> まつもと ゆきひろです
>>
>> In message "Re: [ruby-dev:40418] [Feature #2746] ビルドする拡張ライブラリを configure ...
mrkn (Kenta Murata)
01:59 PM Feature #2746: ビルドする拡張ライブラリを configure 時に指定するための --with-exts オプション
=begin
むらたです。

On 2010/02/15, at 13:49, Yukihiro Matsumoto wrote:

> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:40418] [Feature #2746] ビルドする拡張ライブラリを configure 時に指定するための --with-exts オプション"
> on Mon, 15 Feb 2010 13:36:10 +090...
mrkn (Kenta Murata)
01:49 PM Feature #2746: ビルドする拡張ライブラリを configure 時に指定するための --with-exts オプション
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:40418] [Feature #2746] ビルドする拡張ライブラリを configure 時に指定するための --with-exts オプション"
on Mon, 15 Feb 2010 13:36:10 +0900, Kenta Murata <redmine@ruby-lang.org> writes:

|現在 make に対して EXTS 変...
matz (Yukihiro Matsumoto)
01:36 PM Feature #2746 (Closed): ビルドする拡張ライブラリを configure 時に指定するための --with-exts オプション
=begin
現在 make に対して EXTS 変数を指定することでビルドする拡張ライブラリを限定できます。
この方法では make の度に拡張ライブラリのリストを指定しなければならず、
例えば dbm, gdbm, sdbm, tk 以外をビルドしたい場合は
除外するライブラリ以外を列挙する必要があり不便です。

この状況を改善するために、configure.in に --with-exts オプションを追加する以下のパッチを提案します。
...
mrkn (Kenta Murata)
08:41 PM Bug #2743: incorrect checksum for freed object
=begin
Appears to be fixed in r26665. Please close this issue.
=end
sakuro (Sakuro OZAWA)
02:37 PM Revision 76678bb5 (git): * io.c: check lseek error by errno. NetBSD 4.0.1 may return -1 as
a file position of tty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:09 PM Revision 9dbffb49 (git): * lib/pstore.rb (PStore#initialize): initialize @thread_safe.
[ruby-core:27853]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:45 PM Revision 8fd5bf07 (git): * st.c (st_foreach): don't access ptr->hash after func call.
It may access freed area.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:26 PM Revision 8d532a86 (git): * ext/zlib/zlib.c (zlib_mem_alloc): suppress valgrind warnings.
http://www.zlib.net/zlib_faq.html#faq36
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:21 PM Revision 795b03c7 (git): * time.c (time_add): propagate fixed time offset.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:41 AM Bug #2745: iseq_set_sequence: adjust bug (next inside begin...rescue)
=begin

=end
wanabe (_ wanabe)
07:53 AM Bug #2745: iseq_set_sequence: adjust bug (next inside begin...rescue)
=begin
I'm sorry, the ruby -v is:
ruby 1.9.2dev (2010-02-14 trunk 26664) [i386-darwin10.2.0]
=end
murphy (Kornelius Kalnbach)
07:51 AM Bug #2745: iseq_set_sequence: adjust bug (next inside begin...rescue)
=begin
Note: It works without the "next".
=end
murphy (Kornelius Kalnbach)
07:50 AM Bug #2745 (Closed): iseq_set_sequence: adjust bug (next inside begin...rescue)
=begin
Input:
while true
begin
raise
next
rescue
end
break
end

Output:
-: [BUG] iseq_set_sequence: adjust bug
ruby 1.9.2dev (2010-02-14 trunk 26664) [i386-darwin10.2.0]

-- control frame ----...
murphy (Kornelius Kalnbach)
09:03 AM Revision 3360a65b (git): fix previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:00 AM Revision d9c31a67 (git): More generic regular exression for test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:49 AM Revision c0eb5bb6 (git): * signal.c (USE_SIGALTSTACK): NetBSD can't use sigaltstack(2)
with pthread.
http://netbsd.gw.com/cgi-bin/man-cgi?sigaltstack++NetBSD-current
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:13 AM Revision c3a51e3c (git): * 2010-02-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:13 AM Revision 6b6a41d1 (git): * array.c (rb_ary_push_m): use rb_ary_modify instead of
rb_ary_modify_check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
 

Also available in: Atom