Project

General

Profile

Activity

From 11/13/2010 to 11/19/2010

11/19/2010

10:47 PM Revision c62c8f72 (git): * lib/mkmf.rb: adding compilation support for ObjC/ObjC++ extensions.
Thanks Scott Gonyea! [ruby-core:33260]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
08:12 PM Feature #4066: Encoding GBK needs update
=begin
I just can find out only one mailing list thread about this problem here: http://sources.redhat.com/ml/libc-alpha/2000-09/msg00394.html

For compatibility, we should accept this patch. But from the angle of standard, let it g...
oCameLo (oCameLo oTnTh)
07:09 PM Feature #4073 (Closed): HKSCS-2008
=begin
I suspect that Big5-HKSCS in Ruby missed out some mappings during use it, so I extracted a Big5-HKSCS conversion table from c_951.nls (HKSCS-2001, [1]) and used it to check big5-hkscs-tbl.rb. Except the characters were assigned t...
oCameLo (oCameLo oTnTh)
06:11 PM Bug #4072: dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう
=begin
すみません。他の環境で実行したところ問題無いようでした。
わたしの環境依存っぽいようなので、チケットの破棄をお願いしたいです。
=end
takkanm (三村 益隆)
05:50 PM Bug #4072 (Closed): dRubyで作成したサーバプログラムがsleepしていてもexitしてしまう
=begin
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]にて、
dRubyを以下のようなserverとclient作成し、server->clientを実行すると、
serverプログラムが例外の表示もなくexitします。
ruby 1.9.3dev (2010-11-19 trunk 29830) [x86_64-darwin10.5.0]でも同様に発生します。

...
takkanm (三村 益隆)
05:05 PM Revision 460d4c49 (git): * 2010-11-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:05 PM Revision e2501757 (git): add dependency(insns.inc) to compile.obj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e arton (Akio Tajima)
03:53 PM Feature #4071 (Closed): support basic auth for Net::HTTP.get requests
=begin
support basic auth for Net::HTTP.get(URI.parse("http://user:[email protected]/asdf"))
=end
coderrr (coderrr .)
02:05 PM Revision e7fbb33c (git): * win32/Makefile.sub (insns_rules.mk): remove extra backslash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:58 PM Revision d468660c (git): * ChangeLog: adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:44 PM Revision 83e274d4 (git): * cygwin/GNUmakefile.in, win32/Makefile.sub (clean): rc files are
made at compile time, so should be removed by clean.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:43 PM Revision 8565b62a (git): * ChangeLog: adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:23 PM Bug #4070 (Rejected): possible XMLRPC connectino leak
=begin
Hi all.

We got a pull request that claims xmlrpc to have a connection leak.

http://github.com/ruby/ruby/pull/1

But I'm not sure if the code posted there is a "proper" use of XMLRPC module. XMLRPC::Client instance...
shyouhei (Shyouhei Urabe)
01:11 PM Revision 54142064 (git): * test/rexml/test_core.rb
(Tester#test_pretty_format_long_text_finite): skip a test that
uses long string on small memory system. [ruby-dev:42599]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
12:07 PM Revision 91c0ff4f (git): * lib/optparse.rb: shell completion support for zsh. based on
<http://d.hatena.ne.jp/rubikitch/20071002/zshcomplete>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:26 AM Revision 67f3280c (git): * lib/optparse.rb: shell completion support for bash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:26 AM Revision 644f0445 (git): * lib/optparse.rb: shell completion support for bash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:37 AM Bug #4069 (Rejected): String#parse_csv fails to parse "\r" character embedded string
=begin
Sorry, not sure how I missed this ticket. As Timothy says, this is intended documented behavior:


# <b><tt>:row_sep</tt></b>:: The String appended to the end of each
# ...
JEG2 (James Gray)
05:54 AM Bug #4069: String#parse_csv fails to parse "\r" character embedded string
=begin
["aa\rbb"].to_csv results in the string "\"aa\rbb\"\n"

When you don't specify a row separator the ruby CSV library makes a guess by searching for the first occurrence of \r or \n.

In the case of "\"aa\rbb\"\n" it encoun...
ender672 (Timothy Elliott)
05:11 AM Revision 3c1f696a (git): Remove a test for reverted feature r26701.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

11/18/2010

11:43 PM Bug #3990: tests of rexml/rss reports many errors and failures without iconv
=begin
成瀬です。

(2010/11/18 22:46), Kouhei Sutou wrote:
> In<[email protected]>
> "[ruby-dev:42572] Re: [Ruby 1.9-Bug#3990][Closed] tests of rexml/rss reports many errors and failures without iconv" on Sat, 13 Nov 2010 18...
naruse (Yui NARUSE)
10:46 PM Bug #3990: tests of rexml/rss reports many errors and failures without iconv
=begin
須藤です。

In <[email protected]>
"[ruby-dev:42572] Re: [Ruby 1.9-Bug#3990][Closed] tests of rexml/rss reports many errors and failures without iconv" on Sat, 13 Nov 2010 18:23:36 +0900,
"NARUSE, Yui" <naruse@airemi...
kou (Kouhei Sutou)
11:27 PM Bug #4067 (Closed): [PATCH] Fix SystemStackError when trying to format a large block of text in REXML
=begin
This issue was solved with changeset r29827.
Jeremy, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
kou (Kouhei Sutou)
11:23 PM Bug #4067: [PATCH] Fix SystemStackError when trying to format a large block of text in REXML
=begin

=end
kou (Kouhei Sutou)
07:46 AM Bug #4067 (Closed): [PATCH] Fix SystemStackError when trying to format a large block of text in REXML
=begin
REXML::Formatters::Pretty#wrap used a recursive method call to format text. This patch switches it to use an iterative approach. It includes a test case exposing the error.

This issue isn't theoretical, it happens when usi...
jeremyevans0 (Jeremy Evans)
03:01 PM Bug #4050: segfault while using regex in an infinite loop
=begin
Usually ruby runs GC on low memory.
But this program hold a huge memory by variable s, so it will crash.
=end
naruse (Yui NARUSE)
03:00 PM Revision ad64b966 (git): * 2010-11-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision d0502924 (git): * cygwin/GNUmakefile.in (SCRIPTPROGRAMS): no needs on cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:56 PM Revision 7ae23d32 (git): * win32/Makefile.sub (scriptbin): create script binaries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:25 PM Revision 6fcd0b37 (git): * lib/rexml/formatters/pretty.rb (REXML::Formatters::Pretty#wrap):
REXML::Formatters::Pretty#wrap used a recursive method call to
format text. This switches it to use an iterative approach.
[ruby-core:33245]
Patch by Jeremy Evans. Thanks!!!
* test/rexml/test_core.rb: add a test for it.
git-svn...
Sutou Kouhei
01:58 PM Revision c6e47670 (git): * include/ruby/io.h (rb_io_buffer_t): extract from rb_io_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:04 PM Feature #4068: Replace current standard Date/DateTime library with home_run
=begin
This topic is from [ruby-core:32248].
=end
naruse (Yui NARUSE)
12:30 PM Feature #4068 (Assigned): Replace current standard Date/DateTime library with home_run
=begin

=end
shyouhei (Shyouhei Urabe)
08:02 AM Feature #4068 (Rejected): Replace current standard Date/DateTime library with home_run
=begin
The current standard date library is slow enough to be the bottleneck in many programs. I have written a replacement for it in C (named home_run) that is much faster while attempting to be mostly compatible. I open this ticket ...
jeremyevans0 (Jeremy Evans)
01:03 PM Feature #4066: Encoding GBK needs update
=begin
I understand your point and it seems reasonable.
Anyway, is there any other implementation whose conversion table includes such characters?
=end
naruse (Yui NARUSE)
12:29 PM Feature #4066 (Assigned): Encoding GBK needs update
=begin

=end
shyouhei (Shyouhei Urabe)
03:54 AM Feature #4066 (Rejected): Encoding GBK needs update
=begin
When GBK was released in 1995, it included 95 characters were not included in Unicode 1.1. Until now (Windows 7), these characters were still assigned Unicode PUA code points in CP936.

GBK isn't an official standard, so I th...
oCameLo (oCameLo oTnTh)
12:30 PM Feature #4017 (Assigned): [PATCH] CSV parsing speedup
=begin

=end
shyouhei (Shyouhei Urabe)
12:21 PM Bug #4069 (Rejected): String#parse_csv fails to parse "\r" character embedded string
=begin
C:\work>ruby -rcsv -ve 'p ["aa\rbb"].to_csv.parse_csv'
ruby 1.9.3dev (2010-11-18 trunk 29823) [i386-mswin32_90]
c:/usr/lib/ruby/1.9.1/csv.rb:1914:in `block in shift': Unclosed quoted field on line 1. (CSV::MalformedCSVError)
...
phasis68 (Heesob Park)
12:07 AM Bug #4063 (Closed): Array#to_csv(ascii-subset-of-iso-8859-1, utf-8)
=begin
This issue was solved with changeset r29822.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
JEG2 (James Gray)

11/17/2010

10:37 PM Revision 9be87b1e (git): * Makefile.in (reconfig): force reconfigure with previous options.
* common.mk (showconfig): show configure flags, like as
`config.status --config' generated by recent autoconf.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:16 PM Revision d646c540 (git): * missing/langinfo.c (strncasecmp): get rid of redefinition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:05 PM Feature #4065 (Rejected): Rename or alias module#append_features to module#include_module
=begin
Hi,

For Object#extend, the hook/callbacks methods are extend_object and extended.
For Module#include, the hook/callbacks methods are append_features and included.

The name append_features is a bit confusing / inconsi...
Chauk-Mean (Chauk-Mean Proum)
07:48 PM Bug #4044: Regex matching errors when using \W character class and /i option
It is still a hack.
Current behavior has a reason:
`\W` -> (ignore case) -> `\W` (`\u017F`) + s + S + ... -> not
An experimental patch is following but this is also wrong.
~~~diff
diff --git a/ChangeLog b/ChangeLog
index 18567e...
naruse (Yui NARUSE)
03:03 PM Revision ef3d9fb4 (git): * 2010-11-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:03 PM Revision b028e8d4 (git): * lib/csv.rb: Upgrading output encoding with ASCII content
as needed. [ruby-core:33229]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
James Edward Gray II
02:19 PM Revision 7afe174b (git): * win32/configure.bat: remove quotes from arguments to be quoted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:17 PM Revision 4fc08fd1 (git): * lib/mkmf.rb (create_makefile): use forward slashes in messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:46 AM Bug #4063 (Closed): Array#to_csv(ascii-subset-of-iso-8859-1, utf-8)
=begin
Array#to_csv still has an encoding problem.

% ./ruby -rcsv -ve '
a = ["foo".force_encoding("ISO-8859-1"), "\u3042"]
puts a[0].dump
puts a[1].dump
p a.map {|v| v.encoding }
s = a.to_csv
puts s.dump
p s.encoding'
ruby 1....
akr (Akira Tanaka)
10:13 AM Revision 49959bfd (git): * lib/mkmf.rb (create_makefile): make extension libraries messages
brief.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:38 AM Revision 023eab52 (git): * win32/Makefile.sub (MAKEDIRS): should not include silent flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:32 AM Revision a7de3755 (git): * Makefile.in (lex.c): show commands if Q is not set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:29 AM Revision 2854a254 (git): * 2010-11-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:29 AM Revision abe08c78 (git): * array.c (rb_ary_sort_by_bang): Add Array#sort_by!.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
09:22 AM Revision 1b45a27a (git): * common.mk (ext/ripper/ripper.c, ext/json/parser/parser.c): pass
Q and ECHO. [ruby-core:33226]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:57 AM Bug #4041 (Closed): Array#to_csv generates invalid US-ASCII string
=begin
This issue was solved with changeset r29808.
Akira, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
JEG2 (James Gray)
07:18 AM Bug #4058: __method__ does not return correct method name for aliased methods
=begin
This is intended. Originally, __callee__ and __method__ were equivalent, except in aliased methods where the former returned the aliased name, and the latter returned the non-aliased name. Then, later, matz changed __callee_ to ...
runpaint (Run Paint Run Run)
07:14 AM Revision 3a0e9cb0 (git): * test/test_tracer.rb: new test case. mimimal regression test for r29280.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
07:08 AM Revision 8903faf1 (git): * test/ruby/envutil.rb (Test::Unit::Assersions#assert_warn):
new assersion to assert that a particular warning message is
displayed.
forwardport from branches/ruby_1_9_2@29795.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
06:21 AM Revision 8e2a1cba (git): * regint.h (OnigOpInfoType): constify name.
* regcomp.c (op2name): constify return value.
* regcomp.c (onig_print_compiled_byte_code): use PRIuPTR and
uintptr_t to clean warnings.
* regcomp.c (print_indent_tree): use PRIxPTR and intptr_t.
* regexec.c (match_at): use PRIdPTR a...
naruse (Yui NARUSE)
01:06 AM Bug #3674: dRuby サーバプロセスを停止する時に時間がかかることがある
=begin
遠藤です。

2010年11月15日22:55 Tomoyuki Chikanaga <[email protected]>:
> えっと、わたしとしてはローカルで上記のパッチをあててずっと運用していて、うちの用途では問題もないので適用していただきたいと思います。

なんか途中投げにした格好ですみません。私も近永さんのパッチに賛成です。

--
Yusuke Endoh <[email protected]>
=end
mame (Yusuke Endoh)
12:49 AM Revision 07b1f01b (git): * enc/shift_jis.c (property_name_to_ctype): fix memory leak.
* enc/euc_jp.c (property_name_to_ctype): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

11/16/2010

11:55 PM Revision 36e90890 (git): * 2010-11-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:55 PM Revision 40e5b393 (git): * lib/csv.rb: Upgrading output encoding as needed. [ruby-core:33135]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e James Edward Gray II
08:58 PM Bug #4062 (Closed): "gem uninstall" does not honor --program-suffix
=begin
When I uninstall a gem which has bin scripts and installed with format-executable option, the scripts remain after the gem uninstallation.

# install the trunk ruby with program suffix configuration.

$ ../ruby/configure...
sakuro (Sakuro OZAWA)
07:16 PM Feature #4052 (Assigned): File.lutime Patch
=begin
NetBSD has lutime(2).
http://netbsd.gw.com/cgi-bin/man-cgi?lutimes++NetBSD-current

Windows Vista or later can set symbolic on NTFS by CreateFile with FILE_FLAG_OPEN_REPARSE_POINT flag and SetFileTime.
http://msdn.microso...
naruse (Yui NARUSE)
01:32 PM Revision 6cba0f06 (git): * vm_insnhelper.c (vm_throw): remove fear of undefined behavior :-)
Coverity Scan found this bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
06:47 AM Bug #3941 (Closed): Segmentation fault ruby 1.9.2p0 [x86_64-linux]
=begin
Thank you.
The backtrace showed that it's a duplicate of #3910 and so on.
=end
nobu (Nobuyoshi Nakada)
05:32 AM Bug #3941: Segmentation fault ruby 1.9.2p0 [x86_64-linux]
=begin
I ran into the same problem running the same action as I mentioned before, but the segfault appears to occur in a different place. I've attached another report.
=end
aguynamedryan (Ryan Duryea)
05:15 AM Bug #3941: Segmentation fault ruby 1.9.2p0 [x86_64-linux]
=begin
I _think_ my install of RVM has ruby built with -ggdb so I'm going to attach my own report on the chance that it is helpful.

Until today, I have never encountered this problem. I've been running the same version of ruby for...
aguynamedryan (Ryan Duryea)
06:47 AM Bug #4059 (Closed): String#unpack can segfault when passed a block
=begin
This issue was solved with changeset r29804.
Andrew, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
nobu (Nobuyoshi Nakada)
06:20 AM Revision 3124b5fc (git): Refix timing problem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:26 AM Bug #3674: dRuby サーバプロセスを停止する時に時間がかかることがある
=begin

=end
naruse (Yui NARUSE)
01:07 AM Bug #4061 (Closed): char class may cause memory leak
=begin
This issue was solved with changeset r29803.
Yusuke, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
mame (Yusuke Endoh)
12:27 AM Bug #4061: char class may cause memory leak
=begin
まつもと ゆきひろです

In message "Re: [ruby-dev:42579] [Ruby 1.9-Bug#4061][Open] char class may cause memory leak"
on Tue, 16 Nov 2010 00:20:37 +0900, Yusuke Endoh <[email protected]> writes:

|以下のようにするとメモリリークによってメモリ消費量がじわじわと...
matz (Yukihiro Matsumoto)
12:20 AM Bug #4061 (Closed): char class may cause memory leak
=begin
遠藤です。

以下のようにするとメモリリークによってメモリ消費量がじわじわと増えていきます。
Coverity Scan が見つけてくれました。

a = (0..8000).map {|n| (n * 4 ).chr("UTF-8") }
b = (0..8000).map {|n| (n * 4 + 2).chr("UTF-8") }
loop do
begin
/[[#{ a...
mame (Yusuke Endoh)
12:37 AM Revision 0ec61a31 (git): * ext/bigdecimal/lib/bigdecimal/util.rb (to_digits): avoid unused
variables warning, reported by Aaron Patterson.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata

11/15/2010

10:55 PM Bug #3674: dRuby サーバプロセスを停止する時に時間がかかることがある
=begin
えっと、わたしとしてはローカルで上記のパッチをあててずっと運用していて、うちの用途では問題もないので適用していただきたいと思います。
=end
nagachika (Tomoyuki Chikanaga)
09:39 PM Revision 8b09bf2a (git): * pack.c (PACK_ITEM_ADJUST): return nil not result array and yield
values if block is given. [ruby-core:33193]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:26 PM Feature #4046: Saving C's **argv and cwd allows Ruby programs to reliably restart themselves
=begin
I am sorry if this duplicated on ruby-core. I wanted the redmine ticket updated. It also gives me an opportunity to correct some grammar.

This is a valid point and I now understand that this isn't 100% reliable. Just "most-o...
rocky (Rocky Bernstein)
12:29 PM Feature #4046: Saving C's **argv and cwd allows Ruby programs to reliably restart themselves
=begin
Hi,

2010/11/12 Rocky Bernstein <[email protected]>:
> In a debugger often one gets to a state where one just wants to restart everything exactly the way the program was previously invoked.


exec(3) allows us to fake a...
mame (Yusuke Endoh)
08:47 PM Bug #4059 (Closed): String#unpack can segfault when passed a block
=begin
Various calls to String#unpack (not just those involving "d") can cause segfaults when passed a block

ruby -e ' "".unpack("d") { true } '
-e:1: [BUG] Segmentation fault
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-da...
agrimm (Andrew Grimm)
04:06 PM Revision 0dbe6b61 (git): * regparse.c (and_cclass, or_cclass): fix memory leak. Coverity Scan
found this bug. [ruby-dev:42579]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
03:38 PM Bug #4058 (Closed): __method__ does not return correct method name for aliased methods
=begin
class Test
def my_method
__method__
end

alias_method :my_alias, :my_method
end

Hello.new.my_method #=> :my_method
Hello.new.my_alias #=> :my_method

I think that `Hello.new.my_alias` should inst...
banister (john mair)
03:09 PM Revision 16b7c1e3 (git): * 2010-11-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:09 PM Revision 4c17014b (git): * gc.c (assign_heap_slot): fix fear of memory leak and memory
violation. Coverity Scan found this bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:57 PM Revision 9ffd060b (git): * eval_intern.h (CHECK_STACK_OVERFLOW): it was not intended to add
size_t to a pointer typed VALUE*. Coverity Scan found this defect.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:44 PM Revision 7b721043 (git): * compile.c (iseq_set_exception_local_table, iseq_set_local_table,
rb_iseq_build_from_ary): fix type inconsistency (which is benign
because sizeof(ID) == sizeof(ID*), though). Coverity Scan found
these bugs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
02:23 PM Bug #4054: Segmentation Fault
=begin
On Sun, Nov 14, 2010 at 07:17:36PM +0900, Alexandre de Oliveira wrote:
> Bug #4054: Segmentation Fault
> http://redmine.ruby-lang.org/issues/show/4054
>
> Author: Alexandre de Oliveira
> Status: Open, Priority: Normal
> Ca...
tenderlovemaking (Aaron Patterson)
01:48 PM Revision e20d7364 (git): * vm_eval.c (rb_funcall): ensure va_end after va_init_list. Coverity
Scan found this bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
11:44 AM Revision c2a3a47f (git): merges r29254 from trunk into ruby_1_9_2.
--
* string.c (rb_str_times): mentioned about Hash argument. a patch
from Daniel Bovensiepen at [ruby-core:32386].
* sprintf.c (get_hash): ditto, and fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29797 b2...
yugui (Yuki Sonoda)
11:43 AM Revision 33ed9f92 (git): merges r29242 from trunk into ruby_1_9_2.
--
* ext/socket/rubysocket.h (__DARWIN_ALIGNBYTES): workaround of a
bug in system header of darwin 9. [ruby-core:32341]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
11:43 AM Revision 8ff17ef2 (git): merges r29187 and r29239 from trunk into ruby_1_9_2, but does not raise
an error. just warning.
--
* util.c (ruby_strtod): reject Float('0x0.').
[ruby-dev:42239] Bug #3820
--
* util.c (ruby_strtod): check there is at least 1 digit after
"0x" before ".". [ruby-dev:42183] #3790
git-svn-id: svn+ssh://ci.ru...
yugui (Yuki Sonoda)
11:43 AM Revision 856e1f17 (git): merges r29237 and r29238 from trunk into ruby_1_9_2.
--
* ext/openssl/ossl_bn.c (ossl_bn_is_prime): fix comparison
with rb_scan_args. Before this fix, OpenSSL::BN#prime?
is fully broken.
--
Add ML ref [ruby-dev:42225] for r29237.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ru...
yugui (Yuki Sonoda)
11:43 AM Revision 7d4e89a7 (git): merges r29234 from trunk into ruby_1_9_2.
--
* lib/date.rb: [ruby-core:32096] Thanks Colin Bartlett.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
11:43 AM Revision b5c27d1c (git): merged r29225 but just warning instead of raising an exception. c.f. [ruby-core:32250].
--
* hash.c (ruby_setenv): raise if putenv and SetEnvironmentVariable
failed, because of the restriction of the size on Windows.
based on a patch from Peter Weldon at [ruby-core:32304]. fix:
Bug#3812, [ruby-core:32250]
git-svn-id...
yugui (Yuki Sonoda)
11:43 AM Revision b3c17635 (git): merges r29223 from trunk into ruby_1_9_2.
--
* include/ruby/intern.h (rb_set_kcode, rb_get_kcode): removed
zombie prototype declarations. a patch from Eric Hodel
at [ruby-core:32305].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@29791 b2dd03c8-39d4-4d8f-...
yugui (Yuki Sonoda)
11:36 AM Bug #4047: Embedded Ruby issues
=begin
Short version: Whatever the original cause of the crash, things seem to be working fine now.

Long version:

Okay, I've run through around 4000 iterations each with these configurations:

- CentOS 5.3 (base install, n...
garthy (Garthy X)
07:26 AM Bug #4047: Embedded Ruby issues
=begin
Thankyou! :) I have had no luck reporting this issue in the past. Thankyou for taking the time to looking at it, and especially for finding the fault in my test code.

I can confirm that this change solves the fast crash I wa...
garthy (Garthy X)
06:45 AM Bug #4047 (Third Party's Issue): Embedded Ruby issues
=begin
> static VALUE obj;

This object will be collected, you have to register the variable or the value to prevent from GC.

> static void InitRuby4(void *t)
> {
> (void)t;
> VALUE c_foo = rb_const_get(rb_cObject, rb_intern...
nobu (Nobuyoshi Nakada)
10:07 AM Feature #4057 (Rejected): FileUtils.copy with FIFOs and Special Devices
=begin
In http://redmine.ruby-lang.org/repositories/diff/ruby-19?rev=6747 support for copying FIFOs and special devices was added to FileUtils.copy, and the same code exists in trunk. It relies on the existence of File.mknod and File.m...
runpaint (Run Paint Run Run)
10:05 AM Bug #4044: Regex matching errors when using \W character class and /i option
2010/11/14 NARUSE, Yui <[email protected]>:
> (2010/11/12 15:36), Heesob Park wrote:
> ...
OK, Here is a revised patch
~~~diff
--- regparse.c 2010-11-15 10:02:34.000000000 +0900
+++ regparse.c.new 2010-11-15 10:01:20.0000000...
phasis68 (Heesob Park)
10:05 AM Bug #4053: JSON Extension Uses Iconv
=begin
patch is here.

diff --git ext/json/lib/json/common.rb ext/json/lib/json/common.rb
index 244634b..f0e34df 100644
--- ext/json/lib/json/common.rb
+++ ext/json/lib/json/common.rb
@@ -1,5 +1,4 @@
require 'json/version...
sorah (Sorah Fukumori)
09:09 AM Revision cb2235c1 (git): Avoid timing problem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:47 AM Bug #4055 (Closed): segfault in OpenSSL::SSLSocket#cert
=begin
This issue was solved with changeset r29784.
Ippei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end
Anonymous
01:08 AM Bug #4055 (Assigned): segfault in OpenSSL::SSLSocket#cert
=begin

=end
naruse (Yui NARUSE)
12:51 AM Bug #4055 (Closed): segfault in OpenSSL::SSLSocket#cert
=begin
以下のようにすると Segmentation fault を起こします。
ruby-1.9.2-p0 -e 'require "openssl"; OpenSSL::SSL::SSLSocket.new(STDIN).cert'

以下のパッチで直ると思います。
--- a/ext/openssl/ossl_ssl.c
+++ b/ext/openssl/ossl_ssl.c
@@ -1337,7 +1337,7 @@ ossl_...
ohai (Ippei Obayashi)
06:07 AM Bug #3919: Ruby in PowerTOP - too many CPU wakeups
=begin
This is actually a regression as it doesn't happen on 1.8.7 (2010-06-23
patchlevel 299).

If I do the same thing with 1.8.7 (ruby -e gets and fire powertop)
ruby neve appears on powertop's list.

I would be willing to...
felipebalbi (Felipe Balbi)
05:51 AM Bug #4056 (Rejected): Crash in non-blocking read
=begin
Ruby crashes when executing the attached script (a.rb).
See crash details attached in crash.log.
=end
tmat (Tomas Matousek)
02:47 AM Revision b73d1fbd (git): * lib/racc/parser.rb (do_parse, yyparse): using class eval to define
method and avoid __send__.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
02:46 AM Revision 8a6ebf4c (git): making ssl test a little better
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
02:37 AM Revision a33b5edd (git): STDIN is not valid when ruby doesn't have tty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
02:37 AM Revision 10c73a7b (git): Prevent timing failure.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)

11/14/2010

10:53 PM Bug #4053 (Assigned): JSON Extension Uses Iconv
=begin
We'll send a patch to upstream and merge it.
=end
naruse (Yui NARUSE)
11:33 AM Bug #4053 (Closed): JSON Extension Uses Iconv
=begin
`ext/json/lib/json/editor.rb` and `ext/json/lib/json/common.rb` both `require 'iconv'` so their use triggers a deprecation warning.
=end
runpaint (Run Paint Run Run)
09:49 PM Bug #4044: Regex matching errors when using \W character class and /i option
(2010/11/12 15:36), Heesob Park wrote:
> And a possible patch is
> ...
Thank you for a patch, but it breaks
~~~ruby
/[^\u0100]/i=~"\u0101"
~~~
--
NARUSE, Yui <[email protected]>
naruse (Yui NARUSE)
09:46 PM Revision b89bd51d (git): * 2010-11-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:46 PM Revision fb7a337e (git): * etc/openssl/ossl_ssl.c (ossl_ssl_get_cert): raise exception if
pointer is invalid. Thanks Ippei Obayashi! [ruby-dev:42573]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
07:17 PM Bug #4054 (Closed): Segmentation Fault
=begin
My environment: ruby 1.9.2p0 (2010-08-18 revision 29034) [x86_64-darwin10.3.1]

After coding for more than 7 hours, no script works anymore. Everytime I try to run a script I get the backtrace below.


================...
kurko (Alexandre de Oliveira)
12:42 PM Bug #4048 (Closed): Segmentation Fault
=begin

=end
nobu (Nobuyoshi Nakada)
10:23 AM Feature #4052 (Closed): File.lutime Patch
=begin
This patch implements File.lutime, which behaves as File.utime except if given a symlink it acts upon the link itself rather than the referent. The naming convention follows that of the other singleton methods of File which trea...
runpaint (Run Paint Run Run)
09:06 AM Bug #4051 (Rejected): Missing ri doc for Kernel#Hash method
=begin

=end
nobu (Nobuyoshi Nakada)
04:37 AM Bug #4051: Missing ri doc for Kernel#Hash method
=begin
Try 'ri Hash::[]' instead.

// Magnus Holm


On Sat, Nov 13, 2010 at 20:27, Jon Seidel <[email protected]> wrote:
>
> Bug #4051: Missing ri doc for Kernel#Hash method
> http://redmine.ruby-lang.org/issues/show/4051
>...
judofyr (Magnus Holm)
04:27 AM Bug #4051 (Rejected): Missing ri doc for Kernel#Hash method
=begin
When I type: 'ri Kernel#Hash' I get "Nothing known about Kernel#Hash'. However, the Hash[] method does create a hash from an array of 2-element arrays, as expected.
=end
JESii (Jon Seidel)
08:57 AM Revision 54e1affd (git): * enc/Makefile.in (distclean): should not remove sources which are
distributed in tarball.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:49 AM Revision b5c3fb24 (git): * parse.y (parser_set_token_info): turn on/off with directives.
[ruby-core:25442]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:05 AM Revision f2dd4eb3 (git): * io.c (argf_readlines): forward to current_file for arguments
check. http://twitter.com/nagachika/status/3634254856589312
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:59 AM Bug #4050 (Rejected): segfault while using regex in an infinite loop
=begin
While learning ruby, I noticed that Regex matches were kept in memory to be able to access groups elements
with $1, $2, and so on later in the code.
So I wondered if this could fill my memory, and tried the following code:
...
mattoufoutu (Mathieu D)

11/13/2010

11:48 PM Revision 26190322 (git): * win32/setup.mak (-basic-vars-, -runtime-): suppress trailing
space and compiler command line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:32 PM Revision 327adb32 (git): * symbian/setup (config.h): Added HAVE_LABS and HAVE_LLABS to config.h.
* symbian/configure.bat: Changed packaging version in line with API style 3 versioning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Alexander Zavorine
07:26 PM Revision 18ae7423 (git): Added HAVE_LABS and HAVE_LLABS to config.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
07:21 PM Revision 5e8efdd6 (git): * 2010-11-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:21 PM Revision 2ffe5e7d (git): Changed packaging version in line with API style 3 versioning
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Alexander Zavorine
06:23 PM Bug #3990: tests of rexml/rss reports many errors and failures without iconv
=begin
成瀬です。

(2010/11/07 20:10), Kouhei Sutou wrote:
> In<[email protected]>
> "[ruby-dev:42548] Re: [Ruby 1.9-Bug#3990][Closed] tests of rexml/rss reports many errors and failures without iconv" on Sun, 7 Nov 2010 19:...
naruse (Yui NARUSE)
09:07 AM Feature #4038: IO#advise
=begin
>> + if (rv = posix_fadvise(fptr->fd, offset, len, advice))

> I would release the GVL when making this call, some implementations may
> block (even only on certain advice) the running thread for disk ops.
> This is the ...
runpaint (Run Paint Run Run)
08:11 AM Feature #4046: Saving C's **argv and cwd allows Ruby programs to reliably restart themselves
=begin
bump. This would be *very* helpful in Rakefiles; rake mutates ARGV rather than making a copy.
=end
kstephens (Kurt Stephens)
07:38 AM Revision 223c0b48 (git): * common.mk (showflags, help): emit messages at once.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:26 AM Revision c37066fa (git): * win32/Makefile.sub (MSG, EOM): remove surrounding quotes by %~I.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:18 AM Bug #4048 (Closed): Segmentation Fault
=begin
I have a web app running Rails 3.0.1 with Ruby 1.9.2 (ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-linux]).
I'm getting errors intermittently where the server answers with a "502 Bad Gateway". A simple reload mostly resolve...
manuel.meurer (Manuel Meurer)
 

Also available in: Atom