Project

General

Profile

Activity

From 08/01/2010 to 08/07/2010

08/07/2010

11:58 PM Revision 288b9de7 (git): * common.mk (RUBY_H_INCLUDES): add subst.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:58 PM Revision f9845684 (git): commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:55 PM Revision 574cadc9 (git): * include/ruby/missing.h, include/ruby/ruby.h (namespace ruby):
get rid of name clash on C++.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28913 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
11:30 PM Revision 8488b62d (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:50 PM Revision 5f5e0b71 (git): * lib/rbconfig/obsolete.rb: show the location which use Config.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:33 PM Revision b50fb903 (git): * ext/pathname/pathname.c (path_fnmatch): Pathname#fnmatch and
Pathname#fnmatch? translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28910 b2dd03c8-39d...
akr (Akira Tanaka)
10:19 PM Revision d82dd262 (git): * include/ruby/subst.h (snprintf): redefinition moved from ruby.h.
(vsnprintf): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:44 PM Revision 3fabdc8e (git): * 2010-08-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:44 PM Revision bb0ef922 (git): * include/ruby/subst.h: new file for substitute standard functions..
* include/ruby/missing.h: don't substitute "close", etc. here.
* include/ruby/ruby.h: include ruby/subst.h at last.
...
akr (Akira Tanaka)
02:54 PM Bug #3392 (Closed): Kernel.open Ignores :binmode Key in Opts Hash w.r.t Encoding
=begin
binmode means just that the io doesn't convert end-of-line code.
It doesn't imply binary encoding.
=end
nobu (Nobuyoshi Nakada)
02:07 PM Bug #3664 (Closed): Pathname#sub_ext Regression
=begin
This issue was solved with changeset r28896.
Run Paint, thank you for reporting this issue.
Your contributi...
nobu (Nobuyoshi Nakada)
12:24 PM Bug #3664 (Closed): Pathname#sub_ext Regression
=begin
Pathname('/tmp/foo.ext').sub_ext 'glark'
#=> RuntimeError: can't set length of shared string
=end
runpaint (Run Paint Run Run)
10:53 AM Revision 06efb04e (git): * test/ruby/envutil.rb (EnvUtil.invoke_ruby): merge stdout and stderr
if capture_stderr is :merge_to_stdout.
(assert_normal_exit): print abnormal output propery.
git-svn-id: svn+ssh:/...
akr (Akira Tanaka)
10:19 AM Bug #3637: win32ole: Remove definition of NONAMELESSUNION in MinGW
=begin
Hello,

On Fri, Aug 06, 2010 at 11:42:19PM +0900, Luis Lavena wrote:
> Indeed, my patch was more naive and...
suke (Masaki Suketa)
09:58 AM Bug #3637: win32ole: Remove definition of NONAMELESSUNION in MinGW
=begin
2010/8/6 Yusuke Endoh <[email protected]>:
>
> I was going to backport r28835, but I'm now afraid if it...
akr (Akira Tanaka)
10:05 AM Revision 2f2b6ace (git): * missing/close.c: undef the macros "getpeername", "getsockname" and
"shutdown" to prevent infinite recursion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28905 b2dd03c8-39d4-4d8...
akr (Akira Tanaka)
09:38 AM Revision 3e7c24fe (git): * missing/close.c: undef the macro "close" to prevent infinite
recursion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:21 AM Revision 49cb5a78 (git): * ext/pathname/pathname.c (path_lchown): Pathname#lchown translated
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:49 AM Revision f6404fa6 (git): * include/ruby/missing.h: moved BROKEN_CLOSE replacements from
include/ruby/ruby.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:40 AM Revision 7d6bea2f (git): * 2010-08-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:40 AM Revision df96e418 (git): * mkconfig.rb, lib/rbconfig/obsolete.rb: warn obsolete and
deprecated Config.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:40 AM Revision fd10a1e5 (git): * mkconfig.rb, lib/rbconfig/obsolete.rb: warn obsolete and
deprecated Config.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28900 b2dd03c8-39d4-4d8f-98ff-823f...
nobu (Nobuyoshi Nakada)
08:18 AM Revision e4e9758a (git): * ext/extmk.rb (extract_makefile): follow the change of
install-rb-default line format at r28850, which causes second
run to create dummy makefiles.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
05:43 AM Revision 07e40885 (git): .cvsignore: have not been used already. [Bug #3468]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:43 AM Revision c53664c8 (git): .cvsignore: have not been used already. [Bug #3468]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:19 AM Revision c260a0c7 (git): * lib/mkmf.rb: change instance variable to global.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:59 AM Revision a438fce7 (git): * ext/pathname/pathname.c (path_sub_ext): don't clobber shared string.
[ruby-core:31640]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:33 AM Revision fd0485ac (git): * vm_eval.c (vm_call0): fix for VM_METHOD_TYPE_NOTIMPLEMENTED.
[ruby-dev:41953]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:49 AM Revision 93426cd6 (git): * ext/win32ole/win32ole.c: fix checking version of GCC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
12:32 AM Revision d1893fe7 (git): * ext/pathname/pathname.c (Init_pathname): fix number of arguments for
Pathname#chown.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:29 AM Revision 6bc65b35 (git): * test/ruby/envutil.rb (assert_normal_exit): use assert. fix
faildesc.
* test/pathname/test_pathname.rb (test_lchmod): test Pathname#lchmod
using assert_normal_exit.
git-svn...
akr (Akira Tanaka)

08/06/2010

11:42 PM Bug #3637: win32ole: Remove definition of NONAMELESSUNION in MinGW
=begin
Hello Yusuke,

Indeed, my patch was more naive and just removed /mingw/ from the extension compilation pr...
luislavena (Luis Lavena)
07:44 PM Bug #3637 (Open): win32ole: Remove definition of NONAMELESSUNION in MinGW
=begin
Hi,

I was going to backport r28835, but I'm now afraid if it looks like
slightly wrong.

#if (de...
mame (Yusuke Endoh)
11:27 PM Revision 261bb184 (git): * ext/pathname/pathname.c (path_chown): Pathname#chown translated
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:42 PM Bug #3660 (Rejected): Trace events seem to be missing
=begin
When tracing this code:

a = [1,2,3]
a.each{|n|
p n
}

with 1.9.1 I get "expected output" li...
rogerdpack (Roger Pack)
08:20 PM Bug #3648 (Closed): Bignum Incomparable with Float::INFINITY
=begin
fixed at r28886 and r28887.
=end
nobu (Nobuyoshi Nakada)
05:09 PM Revision a1d1c102 (git): * 2010-08-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:09 PM Revision 9352485e (git): * ext/pathname/pathname.c (path_lchmod): Pathname#lchmod translated
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:30 PM Revision c4c4bff4 (git): * ext/pathname/pathname.c (path_chmod): Pathname#chmod translated from
pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:13 AM Revision cba4d057 (git): * rational.c (nurat_div): divided by infinity should be zero.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:12 AM Revision edd4332a (git): * rational.c (nurat_div): divided by float zero should be
infinity. [ruby-core:31626]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28886 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
09:59 AM Revision 8aa6059d (git): * file.c (realpath_rec): rb_str_modify depends on the length, so
resize instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:56 AM Revision b4ba3ba6 (git): * Makefile.in (clean-ext): fixed directories to be removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:44 AM Revision 775188a0 (git): * enc/depend: add space at the begginig of @ignore_error.
* lib/mkmf.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:40 AM Revision f3372c22 (git): * common.mk (clean): add prelude.c, config.log, and rbconfig.rb.
* common.mk (distclean): remove encdb.h, config.log, and rbconfig.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
naruse (Yui NARUSE)
08:40 AM Revision 2b071787 (git): * Makefile.in: ignore error from RMDIRS.
* enc/depend: ditto.
* lib/mkmf.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28881 b2dd03c8-39d4-4d...
naruse (Yui NARUSE)

08/05/2010

10:08 PM Bug #3648 (Open): Bignum Incomparable with Float::INFINITY
=begin
Hi,

r28844 caused the following rubyspec errors.


1)
Bignum#quo does not raise a FloatDomainErr...
mame (Yusuke Endoh)
09:16 PM Feature #3657: make cleanがファイルを削除しすぎ
=begin
> 申し訳ないのですが、make clean は開発者向けのコマンドなので、
> tarball で実行することが想定されていません。なので現時点では
> 仕様です。
何と。

一般的に配布されてい...
taca (Takahiro Kambe)
08:05 PM Feature #3657: make cleanがファイルを削除しすぎ
=begin
遠藤です。

2010年8月5日16:49 Takahiro Kambe <[email protected]>:
> 3. makeが正常に完了した時点で"make clean"を実行

...
mame (Yusuke Endoh)
06:57 PM Feature #3657: make cleanがファイルを削除しすぎ
=begin
逆に、以下のファイルは make clean で削除されません。但し、削除すべきと主張しているわけではありません、単なる追加情報です。

config.log
config.status
enc.mk
...
taca (Takahiro Kambe)
04:49 PM Feature #3657 (Closed): make cleanがファイルを削除しすぎ
=begin
rubyがインストールされていない環境で以下のような問題が起きます。

1. リリース版(rcやpreviewを含む)をダウンロード
2. configureとmakeを実行
3. makeが正常に完了...
taca (Takahiro Kambe)
08:53 PM Revision f4c1540b (git): * 2010-08-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:53 PM Revision dc2676a8 (git): * ext/pathname/pathname.c (path_mtime): Pathname#mtime translated from
pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
06:37 PM Bug #3659 (Assigned): Marshal.load(Marshal.dump(10.0)) => 1.0
=begin

=end
nobu (Nobuyoshi Nakada)
06:27 PM Bug #3659 (Closed): Marshal.load(Marshal.dump(10.0)) => 1.0
=begin
This issue was solved with changeset r28868.
Tomoyuki, thank you for reporting this issue.
Your contributio...
nobu (Nobuyoshi Nakada)
05:33 PM Bug #3659 (Closed): Marshal.load(Marshal.dump(10.0)) => 1.0
=begin
trunk で 10.0, 200.0 のように 0 でない桁が1つだけの Float を
Marshal.dump -> load すると桁がなくなってしまいます。

>> Marshal.load(Ma...
nagachika (Tomoyuki Chikanaga)
03:22 PM Bug #3650: NEWSの不整合
=begin
>> * io/console は「== Changes since the 1.9.1 release」の上に移動
>
> io/consoleは1.9.2には入っていません。

入っていないので、「...
znz (Kazuhiro NISHIYAMA)
01:09 PM Revision 9bf69293 (git): * ext/pathname/pathname.c (path_ctime): Pathname#ctime translated from
pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:32 PM Revision 5ffe59fa (git): * compile.c (NODE_ARGSCAT, NODE_ARGSPUSH): drop unused ARGSCAT
results when poped is true. [ruby-dev:41933], [Bug #3658]
This is retry of r28870 and r28873 which were reverted.
...
mame (Yusuke Endoh)
12:31 PM Revision fa9d53d0 (git): * compile.c (NODE_ARGSCAT, NODE_ARGSPUSH): revert r28870 and r28873
which involuntarily changed semantics of type conversion.
I'll re-commit a correct patch.
git-svn-id: svn+ssh://ci...
mame (Yusuke Endoh)
11:54 AM Revision d1fa0a34 (git): * 2010-08-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:54 AM Revision 5d0c0c19 (git): merges r28869 from trunk into ruby_1_9_2.
--
* complex.c (nucomp_marshal_load): should check the argument.
[ruby-core:31622]
* rational.c (nurat_marshal_loa...
mame (Yusuke Endoh)
11:30 AM Revision 600601c3 (git): * compile.c (iseq_compile_each): to_a method should be called.
[Bug #3658]
* compile.c (iseq_compile_each): ditto for ARGSPUSH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
nobu (Nobuyoshi Nakada)
11:14 AM Revision 3a32ef53 (git): * README.EXT, README.EXT.ja (String functions): mention
rb_str_resize and rb_str_set_len.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28872 b2dd03c8-39d4-4d8f-98ff-8...
nobu (Nobuyoshi Nakada)
11:00 AM Revision b80ddbf4 (git): * string.c (rb_str_set_len): bail out when buffer overflowed
probably.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:52 AM Revision 50b50499 (git): * compile.c (iseq_compile_each): drop unused ARGSCAT results.
fix [ruby-dev:41933], [Bug #3658]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28870 b2dd03c8-39d4-4d8f-98ff-8...
nobu (Nobuyoshi Nakada)
09:36 AM Revision 5274f892 (git): * complex.c (nucomp_marshal_load): should check the argument.
[ruby-core:31622]
* rational.c (nurat_marshal_load): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28869...
nobu (Nobuyoshi Nakada)
09:25 AM Revision 359d5378 (git): * marshal.c (w_float): should not append a dot if no fractal part
exists. [ruby-dev:41936]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:23 AM Bug #3655 (Closed): Win7/MinGW build fail on trunk at 28857
=begin

=end
usa (Usaku NAKAMURA)
04:25 AM Bug #3655: Win7/MinGW build fail on trunk at 28857
=begin
28859 successfully builds with both the above 4.5.0 configuration and the MinGW 3.4.5 based build recipes fro...
jonforums (Jon Forums)
01:29 AM Bug #3655 (Closed): Win7/MinGW build fail on trunk at 28857
=begin
When using MSYS + MinGW 4.5.0 (TDM-based) on Win7 Ultimate 32-bit I get the following failure. This build er...
jonforums (Jon Forums)
08:18 AM Revision b35f5db5 (git): * parse.y (void_expr_gen): add 'possibly' to warning message.
[ruby-core:31611]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
matz (Yukihiro Matsumoto)
07:57 AM Revision 36992251 (git): * dir.c (glob_make_pattern): fold continuous PLAINs to get rid of
snail at too deep path. [ruby-dev:41871]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28866 b2dd03c8-39d4-4d8...
nobu (Nobuyoshi Nakada)
07:42 AM Revision 8965ed16 (git): * string.c (rb_str_set_len): should fail to modify shared string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:12 AM Revision 5425f8fe (git): * ruby.c (ruby_init_loadpath_safe): ensure sopath to be modifiable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:39 AM Revision ae824807 (git): * string.c (str_make_independent_expand): fix buffer overflow
while shrinking.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:00 AM Revision 3859cd6d (git): * 2010-08-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 AM Revision b9d553af (git): * ext/socket/socket.c: use _() macro instead of __P(), because the
former is provided by ruby's defines.h but the latter is offered
by some systems only by chance. this fixes build ...
U.Nakamura

08/04/2010

11:06 PM Feature #3653 (Rejected): Diferential behaviour of positives and negatives ranges as subindex of string or arrays.
=begin
The expression '[a..b]' when applied to a string or to an array return the slice from the string/array from...
dsilber (Daniel Silberschmidt)
09:44 PM Revision a2ebc53e (git): * file.c (realpath_rec): call rb_str_modify before rb_str_set_len.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:17 PM Bug #3652 (Closed): Typo in rb_str_resize causes arbitrary data to be used
=begin
This issue was solved with changeset r28857.
Jeremy, thank you for reporting this issue.
Your contribution ...
nobu (Nobuyoshi Nakada)
08:14 PM Bug #3652: Typo in rb_str_resize causes arbitrary data to be used
=begin
rb_str_resize needs the length to be set before the call.
You should use rb_str_set_len instead.
I'd ment...
nobu (Nobuyoshi Nakada)
08:08 PM Bug #3652 (Open): Typo in rb_str_resize causes arbitrary data to be used
=begin

=end
nobu (Nobuyoshi Nakada)
05:58 PM Bug #3652 (Assigned): Typo in rb_str_resize causes arbitrary data to be used
=begin

=end
nobu (Nobuyoshi Nakada)
04:17 PM Bug #3652 (Closed): Typo in rb_str_resize causes arbitrary data to be used
=begin
This issue was solved with changeset r28851.
Jeremy, thank you for reporting this issue.
Your contribution ...
nobu (Nobuyoshi Nakada)
03:20 PM Bug #3652 (Closed): Typo in rb_str_resize causes arbitrary data to be used
=begin
In rb_str_resize, if resizing a string with 0 length but larger capa to a size less than or equal to RSTRING_...
jeremyevans0 (Jeremy Evans)
05:31 PM Revision eb844911 (git): * 2010-08-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:31 PM Revision 7eb5352e (git): * string.c (rb_str_resize):: fix r28857 that failed to revert r28851.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
11:33 AM Bug #3650: NEWSの不整合
=begin
なかだです。

At Tue, 3 Aug 2010 23:16:48 +0900,
Kazuhiro NISHIYAMA wrote in [ruby-dev:41924]:
> git diff origi...
nobu (Nobuyoshi Nakada)
11:08 AM Revision 5f13d888 (git): * string.c (rb_str_resize): reverted r28851. rb_str_resize cannot
work before the length is set. [ruby-core:31615]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28857 b2dd03c8-...
nobu (Nobuyoshi Nakada)
10:37 AM Revision 36044b07 (git): * string.c (rb_str_set_len): rb_str_modify cannot work before the
length is set, which is a precondition for rb_str_modify.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28856 b...
nobu (Nobuyoshi Nakada)
10:27 AM Revision 8c36fa13 (git): merges r28834 from trunk into ruby_1_9_2.
--
* thread_win32.c (native_thread_join): need to wait thread, of course.
[ruby-dev:41911]
git-svn-id: svn+ssh://c...
mame (Yusuke Endoh)
10:14 AM Revision 4313bec6 (git): merges r28833 from trunk to ruby_1_9_2.
--
* file.c (file_expand_path): wrong condition. [ruby-core:31591]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branc...
mame (Yusuke Endoh)
09:49 AM Revision 3173cba2 (git): * 2010-08-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:49 AM Revision 6877a2de (git): merges r28754, r28756 and r28777 from trunk into ruby_1_9_2.
These are needed to fix build failure on windows. [ruby-dev:41929]
--
* configure.in: not [freebsd] but [freebsd*] f...
mame (Yusuke Endoh)
07:09 AM Revision 99d96a89 (git): * string.c (rb_str_resize): should copy the content properly. a
patch from Jeremy Evans at [ruby-core:31615].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28851 b2dd03c8-39d4...
nobu (Nobuyoshi Nakada)
06:52 AM Revision c37b2ef8 (git): * lib/mkmf.rb (create_makefile): no need to create the directory
at each library file. this change makes making ext faster.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28850 ...
U.Nakamura

08/03/2010

11:16 PM Bug #3650 (Closed): NEWSの不整合
=begin
git diff origin/ruby_1_9_2 NEWS で trunk/NEWS と branches/ruby_1_9_2/NEWS の差分をみてみました。

* io/console は「== Ch...
znz (Kazuhiro NISHIYAMA)
09:25 PM Revision 71a3defd (git): * 2010-08-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:25 PM Revision 88e78ac5 (git): * ext/pathname/pathname.c (path_atime): Pathname#atime translated from
pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:37 PM Bug #3648 (Closed): Bignum Incomparable with Float::INFINITY
=begin
This issue was solved with changeset r28844.
Run Paint, thank you for reporting this issue.
Your contributi...
nobu (Nobuyoshi Nakada)
04:39 PM Bug #3648 (Closed): Bignum Incomparable with Float::INFINITY
=begin
>> 2**7 > Float::INFINITY
=> false
>> 2**79 > Float::INFINITY
=> -1
>> 2**79 < Float::INFINITY
=> ...
runpaint (Run Paint Run Run)
08:29 PM Feature #3649 (Closed): Array#sample, Array#shuffle, Array#shuffle! で使用する乱数生成器を指定するためにオプショナル引数を追加する
=begin
Array#sample, Array#shuffle, Array#shuffle! の3メソッドは配列の要素に対して乱数を適用させるメソッドです。
これらのメソッドが使用する乱数生成器は Ruby インタプリタ...
mrkn (Kenta Murata)
08:27 PM Feature #3647: Array#sample(n, replace=false)
先程、乱数生成器を指定する変更も含んだ patch を投稿しましたが、
もともとは `Array#sample` を復元抽出に対応させるための feature request でした。
そこで、乱数生成器の指定に関する変更点は別の ...
mrkn (Kenta Murata)
06:25 PM Feature #3647: Array#sample(n, replace=false)
IRC でなかださんが `random` 引数にも対応した patch を作ってくださいました。
http://www.atdot.net/sp/raw/0dgk6l
`Array#sample` がデフォルトでない乱数生成器を受け...
mrkn (Kenta Murata)
04:53 PM Feature #3647: Array#sample(n, replace=false)
`replace` の指定を、オプショナルなハッシュを経由して行うように patch を変更しました。
こうすると、`Array#sample` に対してオプショナルな引数を追加しやすくなりますよね。
例えば、乱数生成器を外部から指定...
mrkn (Kenta Murata)
01:45 PM Feature #3647: Array#sample(n, replace=false)
むらたです。

dev に英語で投稿してしまいました。ごめんなさい。
無理して英語で書いて投稿先を core にしていたと思っていたのですが・・・

On 2010/08/03, at 13:13, Kenta ...
mrkn (Kenta Murata)
01:13 PM Feature #3647 (Feedback): Array#sample(n, replace=false)
`Array#sample` does not support sampling with replacement directly, so we must write codes like the following to obta... mrkn (Kenta Murata)
02:35 PM Revision 5e9c47c8 (git): add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:16 PM Revision a4c0f7df (git): * random.c (Init_Random): add Random::DEFAULT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:01 PM Revision b80d5f14 (git): * hash.c (rb_check_hash_type): added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:30 AM Revision 292c3909 (git): * bignum.c (rb_big_eq): never equal to infinity.
[ruby-core:31603]
* rational.c (nurat_div): hack for integral float divisor.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
05:48 AM Revision b5dc2576 (git): * ext/mkext.rb: remove purelib, fixes a bug in r28440, r28441.
* spec/default.mspec: ditto.
* template/Doxyfile.tmpl: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@288...
naruse (Yui NARUSE)
05:22 AM Revision 2fc40194 (git): * lib/rdoc/ri/driver.rb (setup_pager): no need to check the existence
of pagers. the following code checks whether they are executable or
not.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
U.Nakamura
03:24 AM Bug #3636: win32ole, is U_UI2REF or V_UI2REF?
=begin
Can this be backported to ruby_1_9_2 too? Thank you.
=end
luislavena (Luis Lavena)
03:24 AM Bug #2588: Forced definition of stati64 and _stati64 under MinGW
=begin
Can this be backported to ruby_1_9_2? Thank you.
=end
luislavena (Luis Lavena)
03:24 AM Bug #3637: win32ole: Remove definition of NONAMELESSUNION in MinGW
=begin
Can this be backported to ruby_1_9_2 too? Thank you.
=end
luislavena (Luis Lavena)
03:05 AM Revision 46a93a65 (git): * tool/runruby.rb: no purelib.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shyouhei (Shyouhei Urabe)

08/02/2010

10:52 PM Revision 45992b4b (git): * ext/purelib.rb: no longer used since the default load path of
miniruby is empty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:37 PM Revision cefa9413 (git): * ext/-test-/add_suffix/bug.c: for the prototype.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:34 PM Revision aa1141e1 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_hash): fix type warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:27 PM Bug #3637 (Closed): win32ole: Remove definition of NONAMELESSUNION in MinGW
=begin
This issue was solved with changeset r28835.
Luis, thank you for reporting this issue.
Your contribution to...
suke (Masaki Suketa)
04:52 PM Feature #3627: catchのブロックを再実行するメソッド
=begin
きしもとです

> こんなのではどうでしょうか。

ありがとうございます。
while で catch を囲んだら、というアイディアは%rubyでいただいていたのですが、
うまく抽象化できるのですね。
=...
metanest (Makoto Kishimoto)
03:53 PM Revision a4209572 (git): * insns.def, vm_core.h: fixed typo. reported by Rocky Bernstein
<rockyb AT rubyforge.org> at [ruby-core:31596].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28837 b2dd03c8-39...
nobu (Nobuyoshi Nakada)
12:51 PM Revision 1849a2ba (git): * ruby.c (ruby_init_loadpath_safe): rb_str_set_len modifies ptr
since r26303.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:21 PM Revision d4fc0799 (git): * ext/win32ole/win32ole.c: NONAMELESSUNION defined only if gcc
version is older than 3.4.4. [ruby-core:31567] [Bug #3637]
* ext/win32ole/extconf.rb: ditto.
git-svn-id: svn+ssh:/...
suke (Masaki Suketa)
07:35 AM Revision 6198f539 (git): * thread_win32.c (native_thread_join): need to wait thread, of course.
[ruby-dev:41911]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
05:43 AM Feature #3608: Enhancing Pathname#each_child to be lazy
> A problem of the lazy behaviour that is it opens a file descriptor when
> the block is called.
>
> If the lazy ...
taw (Tomasz Wegrzanowski)
03:25 AM Revision 49e259ec (git): * file.c (file_expand_path): wrong condition. [ruby-core:31591]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura

08/01/2010

10:09 PM Bug #3640: BigDecimal#hash returns -2 for all negative finite numbers.
=begin
Sorry, the code I've shown is improper.

The proper code is here:

$ ruby -rbigdecimal -ve '
a = []...
mrkn (Kenta Murata)
10:03 PM Bug #3640 (Closed): BigDecimal#hash returns -2 for all negative finite numbers.
=begin
$ ruby -rbigdecimal -ve '
> a = []
> b = BigDecimal("-1")
> 10.times { a << b *= 10 }
> h = {}
> a....
mrkn (Kenta Murata)
08:43 PM Bug #2008: test_io.rb: test 2 fails on FreeBSD
=begin
According to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543805,
this seems to be just a problem of te...
mame (Yusuke Endoh)
09:46 AM Bug #2008 (Feedback): test_io.rb: test 2 fails on FreeBSD
=begin

=end
nobu (Nobuyoshi Nakada)
09:34 AM Bug #2008: test_io.rb: test 2 fails on FreeBSD
=begin
What's the revision?

2010/8/1 Lucas Nussbaum <[email protected]>:
> Issue #2008 has been updated by L...
mame (Yusuke Endoh)
05:04 AM Bug #2008: test_io.rb: test 2 fails on FreeBSD
=begin
No, this is still a problem. How can I reopen that bug?
=end
lucas (Lucas Nussbaum)
08:35 PM Revision b2546559 (git): * 2010-08-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:35 PM Revision 88431b74 (git): * ext/pathname/pathname.c (path_realdirpath): Pathname#realdirpath
translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28831 b2dd03c8-39d4-4d8f-98ff-823fe6...
akr (Akira Tanaka)
06:06 PM Feature #3627: catchのブロックを再実行するメソッド
=begin
なかだです。

At Sat, 31 Jul 2010 19:06:51 +0900,
KISHIMOTO, Makoto wrote in [ruby-dev:41906]:
> loop のブロックが引数を...
nobu (Nobuyoshi Nakada)
05:55 PM Bug #3632 (Closed): win32 (MSVC)でsnapshotをmakeできない
=begin
Fixed at r28818.
=end
nobu (Nobuyoshi Nakada)
03:44 PM Revision f21f68a1 (git): * 2010-08-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:44 PM Revision 2f0e3675 (git): * util.c (ruby_add_suffix): fixed a bug returning uninitialized value.
This is the essential part from r28794 of trunk.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@288...
mame (Yusuke Endoh)
02:09 PM Revision 33d848d8 (git): * lib/pp.rb: describe superclasses explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:04 PM Revision 4be5721d (git): * string.c (rb_str_modify_expand, rb_str_resize): get rid of
repeating malloc and realloc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28827 b2dd03c8-39d4-4d8f-98ff-823fe6...
nobu (Nobuyoshi Nakada)
01:24 PM Revision 6da48ad9 (git): * ChangeLog: forget to write annotation for redmine.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
01:20 PM Revision 98685cc7 (git): * ext/bigdecimal/bigdecimal.c (BigDecimal_hash): use rb_memhash and take care of negative finite numbers properly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
12:22 PM Revision b22c8331 (git): revert r28788 (backport of r28751).
The patch seems to be revised by r28763. The patch will be backported
after it is stabilized by an experience in tru...
mame (Yusuke Endoh)
11:57 AM Revision c29b801a (git): * ext/pathname/pathname.c (path_realpath): Pathname#realpath translated
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:57 AM Bug #3634 (Closed): irb -d does not set $VERBOSE to true
=begin
This issue was solved with changeset r28816.
Andrew, thank you for reporting this issue.
Your contribution ...
mame (Yusuke Endoh)
10:31 AM Revision ff60853e (git): merges r28755 from trunk into ruby_1_9_2.
--
* vm.c (rb_thread_mark): mark only self of normal iseqs, not
nodes. [ruby-dev:41874]
* vm.c (rb_thread_mark): ...
mame (Yusuke Endoh)
10:08 AM Revision 40d391b8 (git): merges r28816 from trunk into ruby_1_9_2.
--
* lib/irb/init.rb (IRB.parse_opts): set VERBOSE to true when debug
switch called in irb. a patch from Andrew Gr...
mame (Yusuke Endoh)
09:46 AM Revision d65b14a3 (git): * 2010-08-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:46 AM Revision 6765d52c (git): merges r28815 from trunk into ruby_1_9_2.
--
* bignum.c (big_op): comparison of bignum and infinity has returned 1
or -1, but it must return boolean.
git-sv...
mame (Yusuke Endoh)
09:17 AM Bug #2588 (Closed): Forced definition of stati64 and _stati64 under MinGW
=begin
This issue was solved with changeset r28811.
Luis, thank you for reporting this issue.
Your contribution to...
nobu (Nobuyoshi Nakada)
08:20 AM Bug #2588: Forced definition of stati64 and _stati64 under MinGW
=begin
Hello,

Any status update on this? _stati64 is still defined and is not allowing x64 MinGW compilers succ...
luislavena (Luis Lavena)
08:57 AM Bug #3636 (Closed): win32ole, is U_UI2REF or V_UI2REF?
=begin
This issue was solved with changeset r28809.
Luis, thank you for reporting this issue.
Your contribution to...
suke (Masaki Suketa)
03:12 AM Bug #3636 (Closed): win32ole, is U_UI2REF or V_UI2REF?
=begin
Hello,

Looking into a cross-compilation bug, found the following define in ext/win32ole/win32ole.c, line...
luislavena (Luis Lavena)
08:27 AM Revision b496cd64 (git): * win32/Makefile.sub: needs stddef.h for size_t. a patch from
Akio Tajima at [ruby-dev:41905].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28818 b2dd03c8-39d4-4d8f-98ff-82...
nobu (Nobuyoshi Nakada)
07:44 AM Feature #3638 (Closed): VM内データ構造へアクセスするマクロ
=begin
dfp[-1] といったマジックナンバーを減らすよう、マクロを新設するのはどうでしょうか。
叩き台としてパッチを添付します。
=end
wanabe (_ wanabe)
07:34 AM Bug #3637: win32ole: Remove definition of NONAMELESSUNION in MinGW
=begin
Forgot to mention that with NONAMELESSUNION defined produces the following error:

http://gist.github.com...
luislavena (Luis Lavena)
07:18 AM Bug #3637 (Closed): win32ole: Remove definition of NONAMELESSUNION in MinGW
=begin
Hello,

I'm working in cross compiling Ruby to Windows (GCC) using moderm GCC versions, provided by mingw...
luislavena (Luis Lavena)
05:59 AM Revision caa05197 (git): * ext/pathname/pathname.c (path_sub_ext): Pathname#sub_ext translated
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:48 AM Revision ffe49186 (git): * lib/irb/init.rb (IRB.parse_opts): set VERBOSE to true when debug
switch called in irb. a patch from Andrew Grimm in
[ruby-core:31558].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
mame (Yusuke Endoh)
01:12 AM Revision 6ad3f616 (git): * bignum.c (big_op): comparison of bignum and infinity has returned 1
or -1, but it must return boolean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28815 b2dd03c8-39d4-4d8f-98ff-8...
mame (Yusuke Endoh)
12:50 AM Revision b6f174af (git): add ML ref.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:46 AM Revision a35c3cf3 (git): * class.c (rb_include_module): don't clear the method cache if the
included module has no method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28813 b2dd03c8-39d4-4d8f-98ff-823f...
akr (Akira Tanaka)
12:22 AM Revision 572b8b37 (git): * ext/pathname/pathname.c (path_sub): Pathname#sub translated
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:12 AM Revision 933e5e09 (git): * include/ruby/win32.h: latest x86_64 mingw defines stati64.
[ruby-core:27516]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom