Project

General

Profile

Activity

From 05/10/2009 to 05/16/2009

05/16/2009

11:55 PM Revision 214e7253 (git): * ruby.c (set_arg0): get rids of overrun.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:41 PM Bug #1295: SEGFAULT in RHEL 4
=begin
You're right, I completely forgot to close the file. The directory has many many files (~20.000, maybe) so the trouble probably goes that way. I wonder about the segfault anyways, it would be nice to know if there's a limit of op...
diegosuarez (Diego Suárez García)
12:23 PM Bug #1295: SEGFAULT in RHEL 4
=begin
How many files do you have in this directory? Seemingly you leave too many files open. Close the file you open in the same loop iteration. As for the segfault, I am not sure but I have seen 1.9.1 segfaulting when dealing with man...
oldmoe (Muhammad Ali)
06:07 PM Bug #1477 (Closed): DL::Function#unbind raises TypeError
=begin
Applied in changeset r23444.
=end
nobu (Nobuyoshi Nakada)
05:34 PM Bug #1477 (Closed): DL::Function#unbind raises TypeError
=begin
コールバックではない単なる DL::Function に対して unbind を呼ぶと
よくわからないエラーが出ます。

$ cat d11.rb

require 'dl/import'

h = DL::Handle.new
addr = h.sym('strlen')
cfunc = DL::CFunc.new(addr, DL::TYPE_INT)
func = DL::Function.n...
sheepman (Takashi Tamura)
05:47 PM Bug #1382: inline functions ought to be static
=begin
Hi,

At Sat, 16 May 2009 10:55:17 +0900,
Akira Tanaka wrote in [ruby-core:23475]:
> lex.c.blt is generated by gperf. Don't modify it.

Seems lex.c.blt to need to be updated, for the platforms that
don't have gperf.

lex...
nobu (Nobuyoshi Nakada)
10:55 AM Bug #1382: inline functions ought to be static
=begin
lex.c.blt is generated by gperf. Don't modify it.
=end
akr (Akira Tanaka)
10:34 AM Bug #1382: inline functions ought to be static
=begin
Excerpts from Luiz Angelo Daros de Luca's message of Wed Apr 15 12:13:39 +0300 2009:
> Bug #1382: inline functions ought to be static
> http://redmine.ruby-lang.org/issues/show/1382
>
> Author: Ollivier Robert
> Status: Ope...
rue (Eero Saynatkari)
09:37 AM Bug #1382 (Closed): inline functions ought to be static
=begin
Applied in changeset r23436.
=end
nobu (Nobuyoshi Nakada)
01:57 PM Bug #1474 (Closed): autoload causes "circular require considered harmful" warning without circular require
=begin
Applied in changeset r23440.
=end
nobu (Nobuyoshi Nakada)
06:25 AM Bug #1474 (Closed): autoload causes "circular require considered harmful" warning without circular require
=begin
$ cat a.rb
autoload :B, 'b'

B
$ cat b.rb
class B
end
$ ruby19 -wv a.rb
ruby 1.9.2dev (2009-05-15 trunk 23433) [i386-darwin9.7.0]
Error loading gem paths on load path in gem_prelude
no implicit conversion from...
drbrain (Eric Hodel)
10:52 AM Revision 36f64119 (git): * NEWS: add RSS::Maker.supported?(version).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
10:51 AM Revision 7e4794a1 (git): merge r23454.
* lib/rss/parser.rb: add nil check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
10:48 AM Revision 0b5294ba (git): merge r23451.
* lib/rss/parser.rb, test/test_parser_1.0.rb: fix foaf:Image
element causes parse error even if ignore_unknown_element mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
10:46 AM Revision 6a5794bd (git): merge r23450.
* lib/rss/maker.rb, lib/rss/maker/0.9.rb,
test/test_maker_*.rb: add RSS::Maker.supported?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
10:44 AM Revision df8d8394 (git): merge r23449, r23453.
* lib/rss/content/*, lib/rss/dublincore/*: fix circular require.
* test/test_maker_atom_feed.rb,
test/test_maker_atom_entry.rb: suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23462 b2dd03c8-39d4-4d8f...
Sutou Kouhei
10:41 AM Revision 54550f9d (git): merge r23448.
* lib/rss/maker/feed.rb, test/test_maker_atom_feed.rb:
remove needless codes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
10:39 AM Revision f0f9c7d0 (git): merge r23447.
* lib/rss/maker/entry.rb: fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
10:39 AM Revision b2cc48a1 (git): merge r23446.
* lib/rss/maker/feed.rb, test/test_maker_atom_entry.rb,
test/test_maker_atom_feed.rb: fix duplicated dc:date.
Reported by Kazuhiro NISHIYAMA. Thanks!!! [ruby-list:46014]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8...
Sutou Kouhei
10:36 AM Revision 7212b5fd (git): merge r23445.
* lib/rss/maker/base.rb, lib/rss/maker/1.0.rb, lib/rss/maker/feed.rb,
test/rss/test_maker_1.0.rb, test/rss/test_maker_atom_feed.rb:
RSS 1.0 and Atom feed maker treat maker.channel.language as
maker.channel.dc_language.
git-svn-id...
Sutou Kouhei
10:34 AM Revision da03c91a (git): merge r23443.
* sample/rss/rss_recent.rb, sample/rss/list_description.rb: use UTF-8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
10:34 AM Revision 69721fcc (git): * 2009-05-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:34 AM Revision 97c65982 (git): merge r23442.
* lib/rss/rss.rb, test/rss/test_version.rb (RSS::VERSION):
0.2.5 -> 0.2.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
09:57 AM Bug #1476 (Closed): ruby -w warns about encoding used as RDoc
=begin
Applied in changeset r23437.
=end
nobu (Nobuyoshi Nakada)
08:55 AM Bug #1476 (Closed): ruby -w warns about encoding used as RDoc
=begin
$ cat b.rb
# Here is how you set encoding in your file:
#
# # -*- coding: UTF-8 -*-
$ ruby19 -vw b.rb
ruby 1.9.2dev (2009-05-13 trunk 23418) [i386-darwin9.7.0]
ruby19: warning: encoding 'UTF-8' is ignored, valid only...
drbrain (Eric Hodel)
09:37 AM Revision a6239ec3 (git): * lib/rss/parser.rb: add nil check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
09:35 AM Revision 98bbfeae (git): * test/rss/test_maker_atom_feed.rb: suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
09:32 AM Revision 1d2acd56 (git): * NEWS: add RSS::Maker.supported?(version).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
09:27 AM Bug #1475 (Closed): ruby -w warns about encoding for the wrong file
=begin
Applied in changeset r23435.
=end
nobu (Nobuyoshi Nakada)
08:53 AM Bug #1475 (Closed): ruby -w warns about encoding for the wrong file
=begin
$ cat a.rb
require 'b'
$ cat b.rb
# here is a comment
#
# -*- coding: UTF-8 -*-
$ ruby19 -vw a.rb
ruby 1.9.2dev (2009-05-13 trunk 23418) [i386-darwin9.7.0]
a.rb:1: warning: encoding 'UTF-8' is ignored, valid only ...
drbrain (Eric Hodel)
09:25 AM Revision 86f2dc74 (git): * lib/rss/parser.rb, test/test_parser_1.0.rb: fix foaf:Image
element causes parse error even if ignore_unknown_element mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
09:22 AM Revision a687b15f (git): * lib/rss/maker.rb, lib/rss/maker/0.9.rb,
test/test_maker_*.rb: add RSS::Maker.supported?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
09:12 AM Revision c5f0360c (git): * lib/rss/content/*, lib/rss/dublincore/*: fix circular require.
* test/test_maker_atom_feed.rb, test/test_maker_atom_entry.rb:
suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
09:08 AM Revision b49be81d (git): * lib/rss/maker/feed.rb, test/test_maker_atom_feed.rb:
remove needless codes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
09:04 AM Revision a7cf993f (git): * lib/rss/maker/entry.rb: fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
09:03 AM Revision 01fb9893 (git): * lib/rss/maker/feed.rb, test/test_maker_atom_entry.rb,
test/test_maker_atom_feed.rb: fix duplicated dc:date.
Reported by Kazuhiro NISHIYAMA. Thanks!!! [ruby-list:46014]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
09:01 AM Revision 277f48de (git): * lib/rss/maker/base.rb, lib/rss/maker/1.0.rb, lib/rss/maker/feed.rb,
test/rss/test_maker_1.0.rb, test/rss/test_maker_atom_feed.rb:
RSS 1.0 and Atom feed maker treat maker.channel.language as
maker.channel.dc_language.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23445 b2dd03c8-39d4-4d8f-98ff-82...
Sutou Kouhei
08:57 AM Revision 28e7beb5 (git): * ext/dl/lib/dl/callback.rb (DL#remove_callback_internal): ignore
unbound function. [ruby-dev:38474]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:50 AM Revision 461daa60 (git): * sample/rss/rss_recent.rb, sample/rss/list_description.rb: use UTF-8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
08:48 AM Revision 4ed361e0 (git): * lib/rss/rss.rb, test/rss/test_version.rb (RSS::VERSION): 0.2.5 -> 0.2.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
08:27 AM Revision 832d5a83 (git): * iseq.c (rb_iseq_clone): use longlife object and insert write barrier.
* vm_insnhelper.c (vm_cref_push): ditto.
* vm_insnhelper.h (COPY_CREF): insert write barrier.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
authorNari (Narihiro Nakamura)
06:24 AM Feature #1408: 0.1.to_r not equal to (1/10)
=begin
Hi,

At Fri, 1 May 2009 21:12:52 +0900,
Roger Pack wrote in [ruby-core:23345]:
> True--however the (current) code for String#to_s attempts to
> determine whether the floating point number "is the
> equivalent default for th...
nobu (Nobuyoshi Nakada)
04:49 AM Revision 8c717260 (git): * variable.c (rb_autoload_load): gets rid of false warning.
[ruby-core:23466]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:55 AM Feature #1473 (Closed): Improvements on expect.rb
=begin
Hello,

I was using expect.rb to substitute expect command (as I'm not in a mood to learn Tcl). However, it demands some attention.

I took expect(1) command as a idea, but not a rule, of how expect should behave.

Fi...
luizluca (Luiz Angelo Daros de Luca)
02:00 AM Revision b10617c3 (git): * sample/drb/dhasenc.rb: add magic comment for encoding.
* sample/mine.rb: ditto.
* ext/tk/sample/tcltklib/sample1.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
12:50 AM Revision beae2288 (git): ChangeLog: commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:49 AM Revision f2923537 (git): * parse.y (magic_comment_encoding): ignores unused emacs-style
encoding comment, as like Vim styles. [ruby-core:23470]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:30 AM Revision 78e376a3 (git): * defs/keywords (reserved_word): made inline function static.
[ruby-core:23210]
* parse.y (rb_reserved_word): ordinary function for ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:19 AM Revision d2c07ecb (git): * parse.y (magic_comment_encoding): use rb_compile_warning() to
show the currently parsing file name. [ruby-core:23469]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:03 AM Revision 60a5a54e (git): * configure.in (ruby_version): now version.h includes
include/ruby/version.h, so need to tell to cpp to see
$(srcdir)/include. [ruby-core:23468]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

05/15/2009

08:49 PM Bug #1468: exact Time and inexact Time
=begin
遠藤です。

2009/05/15 0:00 Tanaka Akira <akr@fsij.org>:
> 一般に数値計算では、値が持つ誤差よりも充分に高い精度を持って
> いる数値表現を使う必要があるんじゃないでしょうか。


数値計算の問題もあるかもしれませんが、私はインターフェイスの
問題を気にしています。

卜部さんもおっしゃっていますが、Rational は「誤差がない数値」を
表現しているようにしか見えず、「十分に高い精...
mame (Yusuke Endoh)
01:12 AM Bug #1468: exact Time and inexact Time
=begin
卜部です。

Tanaka Akira さんは書きました:
> In article <e0b1e5700905132145i32bed2f0y80faef19c119824f@mail.gmail.com>,
> Yusuke ENDOH <mame@tsg.ne.jp> writes:
>
>> 現在、Time#- が Rational を返すようになっています。
>>
>> $ ./ruby -e 'p Time.now ...
shyouhei (Shyouhei Urabe)
06:24 PM Bug #1448: [patch] Proper handling of recursive arrays
=begin
Hi,

At Sun, 10 May 2009 07:37:31 +0900,
Marc-Andre Lafortune wrote in [ruby-core:23412]:
> File recursion2.patch added

This patch seems nice to me. I'm afraid matz may not like the
name rb_exec_recursive_paired(). Is i...
nobu (Nobuyoshi Nakada)
03:17 PM Bug #1470 (Closed): class definition under the anonymouse module dumps core
=begin
Applied in changeset r23431.
=end
nobu (Nobuyoshi Nakada)
01:00 PM Bug #1470 (Closed): class definition under the anonymouse module dumps core
=begin
無名モジュール配下にクラスを定義しようとするとコアダンプするようです。

$ ./miniruby -e 'Module.new{|m| class m::C; end}'
-e:1: [BUG] Segmentation fault
ruby 1.9.2dev (2009-05-15 trunk 23428) [i686-linux]

-- control frame ----------
c:0007 p:0010 s:...
no6v (Nobuhiro IMAI)
08:35 AM Revision 62e5fa17 (git): * array.c (rb_ary_shift, rb_ary_shift_m): clears unused elements.
[ruby-dev:38448]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:33 AM Revision 072ccff0 (git): * eval.c (rb_thread_join), ext/thread/thread.c (wake_one): adjusts
targets of rest waiting threads to join. [ruby-core:23457]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:15 AM Revision f4a0a731 (git): * variable.c (rb_autoload_load): checks if iv_tbl is valid.
[ruby-dev:38456]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:28 AM Revision faa30caf (git): * 2009-05-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:28 AM Revision 9ad6c7da (git): * test/thread/test_thread.rb: changed indent level to 2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@23429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:15 AM Bug #1469: Different behavior of class variables in 1.9.0 and 1.9.1p129
=begin
Kenneth Ballou wrote:
> If I understand the book correctly, the expected output would be:
>
> a.var: top level variable
> a.var: 123
> a.get_var: top level variable
> @@var: top level variable
> Holder.read_var: 123
>
...
headius (Charles Nutter)
04:26 AM Bug #1469 (Rejected): Different behavior of class variables in 1.9.0 and 1.9.1p129
=begin
The code in the attached file (classvars.rb) is based on the discussion of class variables on pages 337 and 338 of "Programming Ruby 1.9". I ran the code using ruby 1.9.0 and ruby 1.9.1p129. The output was different for the two...
biteme (Kenneth Ballou)
02:31 AM Revision f7c9c767 (git): * ChangeLog: forgotten to mention reporter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
02:20 AM Revision ad9959c9 (git): * 2009-05-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:20 AM Revision e753b2e8 (git): * win32/setup.mak (-version-): now version.h includes
include/ruby/version.h, so need to tell to cpp to check
$(srcdir)/include.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura

05/14/2009

01:52 PM Bug #1468 (Closed): exact Time and inexact Time
=begin
遠藤です。

現在、Time#- が Rational を返すようになっています。

$ ./ruby -e 'p Time.now - Time.now'
(-7/156250)

しかし、Time.now のように inexact な時刻の差分が、exact の
ように見える Rational になるのはよくないと思います。

Time.gm(2000) などは exact な時刻と考えられますが、それでも
以下で Ra...
mame (Yusuke Endoh)
07:13 AM Revision 875f969f (git): * ext/etc/etc.c (etc_getpwuid): use rb_uid_t. [ruby-dev:38443]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:07 AM Revision af634f84 (git): * ext/stringio/stringio.c (strio_ungetbyte): encoding should not
be effective.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:52 AM Revision 760f2c29 (git): * common.mk: marked PHONY targets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:17 AM Revision 1c05712d (git): * sample/test.rb (valid_syntax?): defaults to us-ascii.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

05/13/2009

08:01 PM Bug #1465 (Closed): debug segmentation fault when starting RoR Webrick server
=begin
>> kuba@ibm:~/myapruby -rdebug ./script/server
Debug.rb
Emacs support available.

./script/server:2:require File.dirname(__FILE__) + '/../config/boot'
(rdb:1) c
=> Booting WEBrickRuby segmentation fault
=> Rails 2...
qoobaa (Jakub Kuźma)
02:08 PM Revision 57b83a51 (git): * gc.c: add longlife garbage collection. [ruby-dev:38423]
(NORMAL_HEAPS_USED): new macro.
(LONGLIFE_ALLOCATE_HEAPS_MIN): ditto.
(add_longlife_heaps_slot): new function.
(rb_newobj_from_longlife_heap): ditto.
(rb_newobj_longlife): ditto.
(rb_node_newnode_longlife): ditto.
(rb_gc_writ...
authorNari (Narihiro Nakamura)
10:36 AM Revision e7ba3935 (git): rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:23 AM Revision 8265f312 (git): * include/ruby/version.h: extracted the extensions interface and
the never-changable info.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

05/12/2009

10:25 PM Bug #1418 (Open): File.join repeats recursive array contents
=begin

=end
shyouhei (Shyouhei Urabe)
10:20 PM Bug #1396 (Open): Kernel.sleep fails with some Float values
=begin

=end
shyouhei (Shyouhei Urabe)
09:57 PM Bug #1322 (Open): define_method scope bug
=begin

=end
shyouhei (Shyouhei Urabe)
09:37 PM Bug #1329 (Open): Ruby 1.8.8 で "p eval('0' + '+0.1'*n)" が Segmentation Fault を発生させる
=begin

=end
shyouhei (Shyouhei Urabe)
07:41 PM Bug #1306 (Open): exception when exiting from IRB if test/unit is loaded
=begin

=end
shyouhei (Shyouhei Urabe)
07:40 PM Bug #1306 (Closed): exception when exiting from IRB if test/unit is loaded
=begin
Applied in changeset r23032.
=end
shyouhei (Shyouhei Urabe)
07:37 PM Bug #963 (Open): /opt/local/lib/ruby/1.8/drb/drb.rb:852:in `initialize': getaddrinfo: nodename nor servname provided, or not known (SocketError)
=begin

=end
shyouhei (Shyouhei Urabe)
07:36 PM Bug #963 (Closed): /opt/local/lib/ruby/1.8/drb/drb.rb:852:in `initialize': getaddrinfo: nodename nor servname provided, or not known (SocketError)
=begin
Applied in changeset r22996.
=end
shyouhei (Shyouhei Urabe)
07:31 PM Bug #1297 (Open): Pathname#subの挙動について
=begin

=end
shyouhei (Shyouhei Urabe)
06:21 PM Revision 6727d4a1 (git): * time.c (time_init_1): unused variable removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:00 PM Revision 41167eaf (git): * 2009-05-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:00 PM Revision 87d95fdb (git): add test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:38 PM Bug #1464 (Closed): backport request to ruby_1_9_1
=begin

=end
yugui (Yuki Sonoda)
11:13 AM Bug #1464 (Closed): backport request to ruby_1_9_1
=begin
r22822のバックポートを希望します。
現状でビルドは通るのですが、全exe,dll,soのリンク時に不要な警告が出るようになっています。
=end
usa (Usaku NAKAMURA)
03:51 PM Bug #1363: Wrong value for Hash of NaN
=begin
Hi,

In message "Re: [ruby-core:23427] Re: [Bug #1363] Wrong value for Hash of NaN"
on Mon, 11 May 2009 21:58:42 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:

|I don't argue about correctness on NaNs being diff...
matz (Yukihiro Matsumoto)
03:43 PM Feature #666: Enumerable::to_hash
=begin
Hi,

In message "Re: [ruby-core:23298] Re: [Feature #666](Rejected) Enumerable::to_hash"
on Fri, 24 Apr 2009 00:08:53 +0900, Marc-Andre Lafortune <ruby-core-mailing-list@marc-andre.ca> writes:
|
|On Thu, Apr 23, 2009 at...
matz (Yukihiro Matsumoto)
12:07 PM Revision f64e0762 (git): * time.c: support fixed UTC offset. [ruby-dev:38326]
(leap_year_v_p): new macro.
(TIME_FIXOFF_P): new macro.
(TIME_SET_FIXOFF): new macro.
(time_init_0): renamed from time_init.
(time_set_utc_offset): new function.
(vtm_add_offset): new function.
(utc_offset_arg): new function....
akr (Akira Tanaka)
10:46 AM Bug #1459 (Third Party's Issue): x64-mswin64 ruby 1.9 binary package lack zlib.dll
=begin

=end
usa (Usaku NAKAMURA)
02:58 AM Bug #1459 (Third Party's Issue): x64-mswin64 ruby 1.9 binary package lack zlib.dll
=begin
The x64 windows binary package on the ftp lacsk a 64 bit zlib.dll, so commands like gem does not work. Unfortunately finding a 64-bit compiled zlib.dll is not that trivial because the official zlib page only contains 32 bit binar...
sztupy (Szilárd Zsolt Sztupák)
09:24 AM Revision fab2a85c (git): * 2009-05-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:24 AM Revision b2e39963 (git): * yarvtest: removed because it's outdated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
05:36 AM Revision 1662bee4 (git): * win32/Makefile.sub: fixes build failures on win32.
fixed by usa.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
04:45 AM Revision aa9e93f9 (git): * win32/Makefile.sub: fixes a mistake in merging r22822.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
04:16 AM Revision f3fa74cb (git): merges r22822 from trunk into ruby_1_9_1.
--
* win32/Makefile.sub (LDFLAGS): always prepends -link.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:10 AM Bug #1388: cygwin-1.7, gcc4-4.3, and ruby-1.9. make btest #236 test_io.rb Segmentation fault
=begin
On 2009/05/01 0:57, neomjp neomjp wrote:
> CC=gcc-4 configure --program-suffix="-19" --disable-pthread
> make THREAD_MODEL=w32

> 2. Objects are linked without -lpthread.

It seems the miniruby was still using pthrea...
neomjp (neomjp neomjp)

05/11/2009

10:57 PM Bug #1457 (Closed): Some grammar rules not terminated with semicolon;
=begin
Applied in changeset r23393.
=end
matz (Yukihiro Matsumoto)
02:48 PM Bug #1457 (Closed): Some grammar rules not terminated with semicolon;
=begin
Hi,

Not really a bug.
I guess Bison forgives the omission of rule-terminating delimiters ...

... but my clumsy script doesn't :)))

Patch against 1_9_1 branch.


daz
=end
daz (Dave B)
09:58 PM Bug #1363: Wrong value for Hash of NaN
=begin
Yukihiro Matsumoto wrote:
> Hi,
>
> In message "Re: [ruby-core:23423] Re: [Bug #1363] Wrong value for Hash of NaN"
> on Mon, 11 May 2009 19:03:59 +0900, Nobuyoshi Nakada <nobu@ruby-lang.org> writes:
>
> |At Wed, 8 Apr...
shyouhei (Shyouhei Urabe)
09:34 PM Bug #1363: Wrong value for Hash of NaN
=begin
In order to prevent confusion in using NaN as hash key,
it would be better to raise an error like in Lua.

Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio
> h = {}
> h[0/0.0] = 1
stdin:1: table index is NaN
stac...
phasis68 (Heesob Park)
09:21 PM Bug #1363: Wrong value for Hash of NaN
=begin
Hi,

In message "Re: [ruby-core:23423] Re: [Bug #1363] Wrong value for Hash of NaN"
on Mon, 11 May 2009 19:03:59 +0900, Nobuyoshi Nakada <nobu@ruby-lang.org> writes:

|At Wed, 8 Apr 2009 14:38:31 +0900,
|Heesob Park wro...
matz (Yukihiro Matsumoto)
07:04 PM Bug #1363: Wrong value for Hash of NaN
=begin
Hi,

At Wed, 8 Apr 2009 14:38:31 +0900,
Heesob Park wrote in [ruby-core:23154]:
> Ruby cannot handle NaN as a unique key of Hash.

It's easy to make them unique as key, I'm not sure which is
"correct" behavior though.

>...
nobu (Nobuyoshi Nakada)
08:17 PM Feature #1377 (Closed): Please provide constant File::NOATIME
=begin
Applied in changeset r23392.
=end
Anonymous
08:14 AM Feature #1377: Please provide constant File::NOATIME
=begin
Hi,

In message "Re: [ruby-core:23418] [Feature #1377] Please provide constant File::NOATIME"
on Mon, 11 May 2009 07:15:47 +0900, Kazuhiro NISHIYAMA <redmine@ruby-lang.org> writes:

|Issue #1377 has been updated by Kazuh...
matz (Yukihiro Matsumoto)
07:15 AM Feature #1377: Please provide constant File::NOATIME
=begin
How about this patch?

Index: io.c
===================================================================
--- io.c (revision 23386)
+++ io.c (working copy)
@@ -8953,6 +8953,9 @@ Init_IO(void)
#ifdef O_NOFOLLOW
...
znz (Kazuhiro NISHIYAMA)
03:07 PM Revision 4600cf72 (git): * ext/dl/dl.c (rb_dlhandle_initialize): prohibits DL::dlopen
with a tainted name of library.
Patch by sheepman <sheepman AT sheepman.sakura.ne.jp>.
* ext/dl/dl.c (rb_dlhandle_sym): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:07 PM Revision 7269e3de (git): * ext/dl/lib/dl/func.rb (DL::Function#call): prevents
passing tainted arguments to a C function.
Patch by sheepman <sheepman AT sheepman.sakura.ne.jp>.
* ext/dl/lib/dl/func.rb (DL::Function#check_safe_obj):
new method for checking #call's arguments.
git-svn-id: svn+ssh://ci.ruby-lang....
yugui (Yuki Sonoda)
03:06 PM Revision fa0c4818 (git): merges r22796 and r22865 from trunk into ruby_1_9_1.
--
* configure.in (MINIRUBY): use $(arch)-fake.rb.
--
* configure.in (MINIRUBY): keep macro into Makefile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:06 PM Revision 1e09355e (git): merges r22441 from trunk into ruby_1_9_1.
--
* template/fake.rb.in: extracted from Makefile.in.
* configure.in (fake.rb): prefixed with $(arch)-.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:06 PM Revision ce14c2c0 (git): merges r23292 and r23348 from trunk into ruby_1_9_1.
--
* .gitignore: added.
--
* svn:ignore, .gitignore: merged.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:06 PM Revision 1c04c045 (git): merges r23317 from trunk into ruby_1_9_1.
--
* eval_intern.h (_longjmp): never return. see [ruby-core:23241]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:06 PM Revision 37abaa0a (git): merges r23293 from trunk into ruby_1_9_1.
--
* tool/transcode-tb (ActionMap#generate_node):
Use ActionMap#gennode instead of generate_node
because of initialization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:06 PM Revision 31449757 (git): merges r23288 from trunk into ruby_1_9_1.
--
* bootstraptest/test_io.rb: test for [ruby-dev:38131].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:05 PM Revision 94d336ef (git): merges r23287 from trunk into ruby_1_9_1.
--
* io.c (io_reopen): keeps pathv for prep_stdio. [ruby-dev:38131]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:05 PM Revision 19ad6658 (git): merges r23286 from trunk into ruby_1_9_1.
--
* lib/optparse.rb (OptionParser#parse_in_order): do not make an
option from non-option argument. [ruby-dev:38333]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
03:04 PM Revision f2140e9e (git): * 2009-05-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:04 PM Revision 33ce0fb5 (git): merges r23284 from trunk into ruby_1_9_1.
--
* ext/tk/sample/tkcombobox.rb: fix conflict with autoload definition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@23394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:54 PM Revision ab2119fc (git): * parse.y: add semicolons to some grammar rules not terminated
with them. a patch from Dave B in [ruby-core:23422].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
01:17 PM Bug #1456 (Closed): invalid $LOAD_PATH when configure with --program-suffix
=begin
Applied in changeset r23390.
=end
nobu (Nobuyoshi Nakada)
07:09 AM Bug #1456 (Closed): invalid $LOAD_PATH when configure with --program-suffix
=begin
configureに--program-suffix=-trunkをつけている環境で添付ライブラリのインストール先と$LOAD_PATHが一致していません。

% ruby-trunk -run -e 0
ruby-trunk:0:in `require': no such file to load -- un (LoadError)
% ruby-trunk -ve 'puts $LOAD_PATH'
ruby 1.9.2dev (...
znz (Kazuhiro NISHIYAMA)
11:11 AM Revision a7a1968a (git): * io.c (Init_IO): add constant File::NOATIME. [ruby-core:23194]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:07 AM Revision 0ae26d6c (git): forgot to commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:08 AM Revision ae8386f8 (git): * mkconfig.rb (rubylibdir): use rubylibprefix. [ruby-dev:38426]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

05/10/2009

11:59 PM Revision 70abf7e8 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_coerce): support
coercing into Rational. [ruby-core:23415]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
11:56 PM Revision 81cf906b (git): * 2009-05-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:56 PM Revision 0fa6bb37 (git): * lib/net/smtp.rb (Net::SMTP#check_auth_args): should not change
number of methods for the sake of compatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
09:35 PM Bug #1455 (Closed): compatability of rational and bigdecimal
=begin
require "rational"
require "bigdecimal"
a=BigDecimal("3.2")
b=Rational(3,4)
b/a
--> TypeError: BigDecimal can't be coerced into Rational
from (irb):5:in `/'
from (irb):5
from /usr/local/bin...
bk1 (Karl Brodowsky)
11:37 AM Bug #1453 (Closed): dl in ruby-1.9 must check whether block is given to TempFunction
=begin
Applied in changeset r23386.
=end
nobu (Nobuyoshi Nakada)
09:45 AM Bug #1453 (Closed): dl in ruby-1.9 must check whether block is given to TempFunction
=begin
以下のようにブロック付きで呼ぶべきところで呼ばないと落ちます。

$ cat d7.rb
require 'dl/import'

require 'dl/import'
module M
extend DL::Importer
dlload "libc.so.6"
QsortCallbackWithoutBlock = bind("void *qsort_callback(void*, v...
sheepman (Takashi Tamura)
11:17 AM Bug #1452 (Closed): DL::CPtr.new doesn't check the type of the 3rd arg.
=begin
Applied in changeset r23385.
=end
nobu (Nobuyoshi Nakada)
09:36 AM Bug #1452 (Closed): DL::CPtr.new doesn't check the type of the 3rd arg.
=begin
DL::CPtr.new が引数の型をチェックせずいきなり構造体へキャストしてます。
パッチです。

$ svn diff cptr.c
Index: cptr.c
===================================================================
--- cptr.c (リビジョン 23328)
+++ cptr.c (作業コピー)
@@...
sheepman (Takashi Tamura)
10:47 AM Bug #1451 (Closed): dl in ruby-1.9 can't parse signatures correctly.
=begin
Applied in changeset r23382.
=end
nobu (Nobuyoshi Nakada)
12:09 AM Bug #1451 (Closed): dl in ruby-1.9 can't parse signatures correctly.
=begin
1.9 の dl の cparser.rb が空白があるシグネチャを正しくパースできません。

$ cat d7.rb
require 'dl/import'

module M
extend DL::Importer
dlload 'libc.so.6'
extern 'void * memmove(void *, void *, unsigned long ...
sheepman (Takashi Tamura)
07:37 AM Bug #1448: [patch] Proper handling of recursive arrays
=begin
Oups, completely forgot to finish the hash part.
The problem was that I was not pairing hash1 with hash2 but with the temporary struct made for the comparison. This is fixed in the included patch. I have updated rubyspecs (core...
marcandre (Marc-Andre Lafortune)
02:36 AM Revision ab142b72 (git): * ext/dl/lib/dl/func.rb (DL::Function#bound?): returns if already
bound to a block.
* ext/dl/lib/dl/value.rb (DL::ValueUtil#wrap_arg): block must be
given if arg is not bound. [ruby-dev:38404]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:13 AM Revision 8812fe1a (git): * ext/dl/cfunc.c (rb_dlcfunc_instance_p): new function to check if
the argument is an instance of DL::CFunc.
* ext/dl/cptr.c (rb_dlptr_initialize, rb_dlptr_s_malloc): checks
if DL::CFunc. [ruby-dev:38403].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:47 AM Revision 07b55207 (git): * ext/dl/cptr.c: consistent indentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:40 AM Revision 3fd6cac5 (git): * 2009-05-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:40 AM Revision e102f894 (git): * ext/dl/lib/dl/cparser.rb (DL::CParser#parse_signature): strips
spaces. based on a patch from Takashi Tamura in [ruby-dev:38398].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom