Activity
From 10/18/2008 to 10/24/2008
10/24/2008
-
11:05 PM Revision 7222e82a (git): Import RDoc 2.2.2 r192
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:11 PM Feature #255 (Closed): CGI element generation methods should convert keys/values to Strings before escaping.
- =begin
=end
-
08:32 PM Bug #617: rubygems depend on test/unit/ui/console/testrunner
- =begin
Eric Hodel wrote:
>> What are the fixes?
>
>
> Most important:
> RubyGems now works on windows platforms (which don't have File::Stat#uid).
>
> Also:
> gem_prelude.rb now works with defaults.rb properly
> Gem.inflate,... -
07:25 PM Bug #680: csv.rb: CSV.parse is too late when encoding is mismatch
- =begin
Please save as 'sample.csv' attached file.
This file include japanese UTF-8 string in first line.
Other line is us-ascii. Line number count is 5001.
% time ruby19 -Eutf-8 -rcsv -e 'CSV.parse(open("sample.csv","r").read)'... -
05:06 PM Bug #680: csv.rb: CSV.parse is too late when encoding is mismatch
- =begin
Hi,
In message "Re: [ruby-core:19473] Re: Default source encoding (Was: [Bug #680] csv.rb: CSV.parse is toolate when encoding is mismatch)"
on Fri, 24 Oct 2008 16:48:04 +0900, "Michael Selig" <michael.selig@fs.com.au> wri... -
03:54 PM Bug #680: csv.rb: CSV.parse is too late when encoding is mismatch
- =begin
A default for the source encoding has been discussed quite a long
time ago (in some Japanese meetings or on ruby-dev, I don't remember),
and the conclusion was that the source encoding has to be given
(with a majic comment) in... -
10:00 AM Bug #680 (Closed): csv.rb: CSV.parse is too late when encoding is mismatch
- =begin
I think this result is true, but encoding mismatch raise is too late.
see:
% time ruby19 -rcsv -e 'CSV.parse(("\x82\xA0,\x82\xA2\n"*10000).force_encoding("shift_jis"))'
ruby19 -rcsv -e 0.30s user 0.02s system 96% cpu ... -
07:00 PM Revision da6300e8 (git): * enc/us_ascii.c (us_ascii_mbc_enc_len): made static. a patch by
- Tadashi Saito <shiba AT mail2.accsnet.ne.jp> at [ruby-dev:36916]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:58 PM Revision 5c3fe0e3 (git): * signal.c (signal_buff): made static. a patch by Tadashi Saito
- <shiba AT mail2.accsnet.ne.jp> at [ruby-dev:36915]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:56 PM Revision d8267b72 (git): * util.c (freedtoa): made static to get rid of name clash. a patch by
- Tadashi Saito <shiba AT mail2.accsnet.ne.jp> at [ruby-dev:36913]
* util.c (ruby_dtoa): added prefix, ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:43 PM Revision a26b7a0c (git): * parse.y (lambda): need to adjust lpar_beg for both of the parser and
- ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:17 PM Bug #631 (Closed): ripper does not follow change of parse.y
- =begin
Applied in changeset r19908.
=end
-
04:30 PM Revision 0ad553ce (git): * ext/mathn/rational/rational.c: undef duplicated macro definition
- first to shut up the warning.
* ext/mathn/rational/rational.c (rb_rational_new_mathn): specify
omitted return value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:27 PM Feature #600 (Closed): cgi.rbのマルチパートフォームの受信は1.8との互換性が低い
- =begin
Applied in changeset r19906.
=end
-
03:52 PM Feature #600: cgi.rbのマルチパートフォームの受信は1.8との互換性が低い
- =begin
CGI#filesというのを用意しようと思っていました。
=end
-
03:50 PM Feature #600: cgi.rbのマルチパートフォームの受信は1.8との互換性が低い
- =begin
勘違いです。
mutipartを予期しているプログラムに x-www-form-urlencoded をPOSTすると NameError、なんてのを防ぐために色々チェックしているのが bad know-how 化しているので、ごっちゃになってしまったんだと思います。
Perlの CGI.pm では 2.47 から $cgi->upload('name') というメソッドがあり、アップロードファイルだけ分けて取ってこれるので、CGI#upl... -
02:17 PM Feature #600: cgi.rbのマルチパートフォームの受信は1.8との互換性が低い
- =begin
> ファイルか否かを respond_to?(:original_filename) で判断しているプログラムがあるので、すべてに特異メソッドをつけられると少し困ります。
> ファイルか否かの判定法は original_filename が偽を返す?
現在の1.8のcgi.rbはマルチパートを受け取った時に
ファイルでないもののoriginal_filenameの中身は""のようです。
つまり、マルチパートの受け取りでは
すべて... -
12:12 PM Feature #600: cgi.rbのマルチパートフォームの受信は1.8との互換性が低い
- =begin
> 特異メソッドでread、original_filename、content_typeをつけます。
ファイルか否かを respond_to?(:original_filename) で判断しているプログラムがあるので、すべてに特異メソッドをつけられると少し困ります。
ファイルか否かの判定法は original_filename が偽を返す?
=end
-
10:12 AM Feature #600: cgi.rbのマルチパートフォームの受信は1.8との互換性が低い
- =begin
> cgi['title'] #=> #<StringIO:0x3f9fbc>
> cgi['title'].read #=> "タイトル"
> となっているのを
> cgi['title'] #=> "タイトル"
> cgi['title'].read #=> "タイトル"
> とすると、ある程度互換性を保ちつつ、
> 使いやすいものになるのではないかと思っています。
> ファイルの場合はこれまで通り、S... -
03:36 PM Bug #681 (Closed): failures of test/minitest
- =begin
Hi,
$ ./ruby test/runner.rb test/minitest
Loaded suite test/runner
Started
.................................FF.F..F..........................................................................
Finished in 0.034219 secon... -
03:14 PM Revision 4f577310 (git): * array.c (rb_ary_sample): fixed sizes and randomness.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:29 PM Bug #667: yaml が Complex、Rational をうまくあつかえていない
- =begin
Quoted from <URL:http://redmine.ruby-lang.org/issues/show/667>:
> 組み込みに対応できていません。
>
> main@187-20080811> Rational(1,2).to_yaml
> #=> "--- !ruby/object:Rational \ndenominator: 2\nnumerator: 1\n"
> main@187-20080811> YAM... -
02:05 PM Revision 5660e09f (git): * configure.in (sitedir): considers --program-prefix and
- --program-suffix.
(vendordir): ditto.
(rubyhdrdir): ditto.
* mkconfig.rb (CONFIG["rubylibdir"]): ditto.
* win32/Makefile.sub: ditto.
* instruby.rb (:rdoc): ditto.
* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): ditto.
git-svn-id: svn+... -
02:01 PM Revision f7d4df50 (git): * test/ruby/test_array.rb (test_sample): add tests for size of
- returned array and randomness.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:50 PM Revision 3093546f (git): * id.h, template/id.h.tmpl (enum ruby_method_ids): reordered.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:20 PM Revision f953305f (git): * ext/mathn/rational.c: change several global functions.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:10 PM Revision b1c14f8f (git): * lib/cgi/html.rb: allow symbolized key.
- * test/cgi/test_cgi_tag_helper.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:55 AM Revision 1e2b744e (git): * common.mk (exts): renamed to get rid of the existent directory.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:52 AM Revision 18bf43f6 (git): properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:47 AM Revision 7e8ab850 (git): * ext/mathn/rational.c: change several global functions to static
- function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 11:05 AM Revision 23ed2fcc (git): fix test for 1.8
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:58 AM Revision 38969364 (git): * string.c (rb_str_dump): should have removed commented out
- unnecessary code. [ruby-cvs:27131]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:37 AM Bug #671 (Closed): TestSignal#test_exit_actionでEINTRのメッセージが出る - =begin
Applied in changeset r19902.
=end
-
10:30 AM Revision 78d2b008 (git): * string.c (rb_str_dump): do not use C++ comment.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:24 AM Revision 5ff7af42 (git): * id.h (enum ruby_method_ids): ISO C forbids comma at end of
- enumerator list
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:39 AM Revision 4f817e2a (git): * lib/mathn.rb: moved into ext/mathn/rational/rational.c and
- ext/mathn/complex/complex.c.
* ext/mathn: new mathn ext-libralies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:25 AM Revision 9afe0278 (git): * test/ruby/test_array.rb (TestArray#test_join): should restore
- global variable after the test. [ruby-dev:36896]
* test/ruby/test_hash.rb (TestHash#test_to_s): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:09 AM Revision 5f7be192 (git): ChangeLog: adjust indent.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:08 AM Revision aed0c718 (git): * parse.y (lambda): need to adjust lpar_beg for ripper as well.
- [ruby-dev:36702]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 07:34 AM Revision 5443cf15 (git): fix typo
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:25 AM Revision 86560b12 (git): * lib/cgi/core.rb (read_multipart): change field value as String
- from StringIO of Tempfile when multipart parse without file field.
add files method that can uploaded files. [ruby-dev:36547]
* test/cgi/test_cgi_multipart.rb: fix the test for core.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr... -
05:22 AM Revision 9e1bddfd (git): * common.mk (ext): split out the target for extension library.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:13 AM Revision 8d47e631 (git): * common.mk (encs): depends on enc and trans.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 01:28 AM Revision 43aedb13 (git): * 2008-10-24
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:28 AM Revision 2169d5d3 (git): * test/ruby/test_signal.rb (TestSignal#test_exit_action): Thread
- may terminate before sysread. [ruby-dev:36835]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/23/2008
-
09:27 PM Feature #679: Integer#to_s(:step=>3, :sep=>",") が欲しい
- =begin
成瀬です。
> 最初の例は "12,345,678" のではないでしょうか。
>
> これではインド風の表記が不可能ではないでしょうか
> ("1,23,45,678", ようするに一番右には三つ、その左は二つずつ)。
POSIX C の仕様を真似て、
12345678.to_s(:step=>[3, 2, 0], :sep=>",") #=> "1,23,45,678"
とか
12345678.to_s(:step=>... -
04:33 PM Feature #679: Integer#to_s(:step=>3, :sep=>",") が欲しい
- =begin
最初の例は "12,345,678" のではないでしょうか。
これではインド風の表記が不可能ではないでしょうか ("1,23,45,678", ようするに一番右には三つ、その左は二つずつ)。
Integer だけではなく、他の数はどうでしょうか。
=end
-
02:56 PM Feature #679 (Rejected): Integer#to_s(:step=>3, :sep=>",") が欲しい
- =begin
これはIntegerをStringに変換するときに
12345678.to_s(:step=>3,:sep=>",") #=> "1,2345,678"
12345678.to_s(:step=>4,:sep=>"'") #=> "1234'5678"
となるものです。
こちらはいかがでしょう?
=end
-
07:54 PM Bug #650: Marshal.load raises RegexpError
- =begin
けいじゅ@いしつかです.
In [ruby-dev :36882 ] the message: "[ruby-dev:36882] Re: [Bug #650]
Marshal.load raises RegexpError ", on Oct/23 17:39(JST) Yukihiro
Matsumoto writes:
>まつもと ゆきひろです
>
>例外は実行を中断しちゃうんで、「とりあえずの変換結果」ではか
>なり情報が失... -
05:41 PM Bug #650: Marshal.load raises RegexpError
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:36872] Re: [Bug #650] Marshal.load raises RegexpError"
on Thu, 23 Oct 2008 03:26:00 +0900, keiju@ishitsuka.com (石塚圭樹) writes:
|例外オブジェクトのアクセサで取りあえずの変換結果が取り出せるイメージで
|した.
例外は実行を中断... -
03:27 AM Bug #650: Marshal.load raises RegexpError
- =begin
けいじゅ@いしつかです.
In [ruby-dev :36871 ] the message: "[ruby-dev:36871] Re: [Bug #650]
Marshal.load raises RegexpError ", on Oct/23 02:07(JST) Urabe Shyouhei
writes:
>卜部です。
>
>ちょと混乱してきました。石塚さんがおっしゃっておられる「例外」ってのはな
>んなんでしょう。
... -
02:09 AM Bug #650: Marshal.load raises RegexpError
- =begin
卜部です。
ちょと混乱してきました。石塚さんがおっしゃっておられる「例外」ってのはな
んなんでしょう。
私の中ではRubyのException(つまりrb_raise()でトリガするあれ)のつもりだっ
たので、例外を発生させたところで処理が中断する前提でお話をしていたのです
が、「変換に失敗したものだけが例外になってもらった方が」のくだりで指して
おられる「例外」は、どうもそれとは違うようで。
石塚圭樹 さんは書きました:
>... -
05:20 PM Bug #409 (Closed): Can't modify frozen ... の型
- =begin
=end
-
03:26 PM Bug #678: Socket.getservbyport should convert the port param to network byte order
- =begin
Hi,
In message "Re: [ruby-core:19460] Re: [Bug #678] Socket.getservbyport should convert the port param to network byte order"
on Thu, 23 Oct 2008 14:33:39 +0900, Nobuyoshi Nakada <nobu@ruby-lang.org> writes:
|I think ... -
02:35 PM Bug #678: Socket.getservbyport should convert the port param to network byte order
- =begin
Hi,
At Thu, 23 Oct 2008 07:54:55 +0900,
Dave Thomas wrote in [ruby-core:19454]:
> getservbyname returns the port number in native byte order
> (so "telnet" returns 23).
>
> But if you pass 23 back to getserverbyport, it ... -
08:17 AM Bug #678 (Closed): Socket.getservbyport should convert the port param to network byte order
- =begin
Applied in changeset r19893.
=end
-
07:56 AM Bug #678 (Closed): Socket.getservbyport should convert the port param to network byte order
- =begin
getservbyname returns the port number in native byte order (so "telnet" returns 23).
But if you pass 23 back to getserverbyport, it fails, because it doesn't covert the param to network byte order before calling getservbypor... -
01:08 PM Revision 6e1ed146 (git): * distruby.rb: removed. "make dist" uses tool/make-snapshot for the 1.9
- series. distruby.rb has been no longer used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:30 AM Revision 06151d4a (git): * class.c (rb_class_instance_methods): rdoc fixed. [ruby-core:19458]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
07:46 AM Bug #664 (Closed): ruby 1.9 (trunk rev 19846) segfaults
- =begin
=end
-
05:43 AM Bug #664: ruby 1.9 (trunk rev 19846) segfaults
- =begin
I couldn't trigger a segfault in revision 19889.
=end
-
07:21 AM Revision 04e30e31 (git): * lib/irb/init.rb (IRB.load_modules): catch LoadError explicitly.
- a patch from Daniel Berger <Daniel.Berger at qwest.com> in
[ruby-core:19451]. fix [ruby-core:19450]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:16 AM Revision 409293eb (git): * ext/socket/socket.c (sock_s_getservbyport): check if the port range.
- [ruby-core:19460]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:53 AM Revision 5a8db29b (git): * string.c (rb_str_dump): use \u{ff} escape for UTF-8 encoding
- string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:08 AM Revision 472156c2 (git): * ext/socket/socket.c (sock_s_getservbyname): unuse unnecessary
- object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:18 AM Revision a5ea0e8c (git): * ext/socket/socket.c (sock_s_getservbyport): the port should be
- converted before the proto so that the #to_int of the former cannot
alter the latter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 12:27 AM Revision 538d87cf (git): * ext/socket/socket.c (sock_s_getservbyport): cast to get rid of
- warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/22/2008
-
11:12 PM Revision c1bb485c (git): * ext/socket/socket.c (sock_s_getservbyport): port should be
- network byte order. a patch from Dave Thomas in [ruby-core:19454].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:58 PM Bug #650: Marshal.load raises RegexpError
- =begin
けいじゅ@いしつかです.
In [ruby-dev :36865 ] the message: "[ruby-dev:36865] Re: [Bug #650]
Marshal.load raises RegexpError ", on Oct/22 20:31(JST) Urabe Shyouhei
writes:
>卜部です。
>いや、まず例外が起きるなら現状と何ら変わりませんがな。
パラメータを指定するなら, 例外の捕捉... -
08:33 PM Bug #650: Marshal.load raises RegexpError
- =begin
卜部です。
石塚圭樹 さんは書きました:
> 例えば, 配列の一要素が復元できなかった場合など, 複数のオブジェクトを再
> 生したとき,
>
>
>>> obj = Marshal.load src, invalid: :replace
>>> obj == Marshal::Invalid and raise "invalid data"
>>>
>
> このやり方では, 実際にどのオブジェクトの再... -
07:35 PM Bug #650: Marshal.load raises RegexpError
- =begin
けいじゅ@いしつかです.
In [ruby-dev :36863 ] the message: "[ruby-dev:36863] Re: [Bug #650]
Marshal.load raises RegexpError ", on Oct/22 17:37(JST) Yukihiro
Matsumoto writes:
>まつもと ゆきひろです
>ふむ。この線で対応しようかなと思うのですが、まだもう少しつめ
>きれていない気... -
05:38 PM Bug #650: Marshal.load raises RegexpError
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:36836] Re: [Bug #650] Marshal.load raises RegexpError"
on Tue, 21 Oct 2008 16:30:57 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:
|ユーザーアプリケーション側は変換に失敗したかどうかを==で判定するとおもわ
|... -
10:57 PM Bug #676 (Rejected): 引数の有無によるIO#readの挙動の違い
- =begin
=end
-
10:23 PM Bug #676: 引数の有無によるIO#readの挙動の違い
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:36866] [Bug #676] 引数の有無によるIO#readの挙動の違い"
on Wed, 22 Oct 2008 22:10:17 +0900, _ wanabe <redmine@ruby-lang.org> writes:
|IO#read に引数を渡すかどうかで、挙動が異なる場合があるようです。
これは仕様です。readに引数を与えた場合... -
10:11 PM Bug #676 (Rejected): 引数の有無によるIO#readの挙動の違い
- =begin
IO#read に引数を渡すかどうかで、挙動が異なる場合があるようです。
たとえば mingw 上では以下のようになりました。
$ ruby -ve '
[[], [1000]].each do |argv|
r, w = IO.pipe
w.print "\n"
w.close
p r.read(*argv)
end
'
ruby 1.9.0 (2008-10-22 revision 198... -
05:37 PM Bug #672 (Closed): rb_io_flush in pipe_open
- =begin
Applied in changeset r19888.
=end
-
05:22 PM Bug #675 (Closed): Failure: test_delete_with_block(TestSDBM)
- =begin
closed by r19885.
=end
-
03:38 AM Bug #675 (Closed): Failure: test_delete_with_block(TestSDBM)
- =begin
1) Failure:
test_delete_with_block(TestSDBM) [.../trunk/test/sdbm/test_sdbm.rb:375]:
<"called block"> expected but was
<"no called block">.
も調べてみました。
ext/sdbm/init.cのfsdbm_deleteで
ExportStringValue(keystr);
で... -
04:53 PM Revision 38c7a687 (git): * string.c (rb_str_conv_enc_opts): new function to convert with
- specifying ecflags and ecopts.
* ext/zlib/zlib.c (gzfile_newstr): specify ecflags and ecopts for
conversion using above function.
* ext/zlib/zlib.c (gzfile_newstr): use own rb_econv_t for dummy
encoding to handling stateful encodin... -
04:24 PM Revision 41de0174 (git): * lib/mkmf.rb (create_tmpsrc): get rid of side effects.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@19891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:24 PM Revision b6807f83 (git): * lib/mkmf.rb (create_tmpsrc): get rid of side effects.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:16 PM Bug #669 (Closed): nil を引数にして Iconv.new を呼ぶとSEGV
- =begin
=end
-
03:12 PM Revision 8a0d53ac (git): * cont.c: separate data structure between rb_fiber_t and
- rb_context_t (rb_fiber_t includes rb_context_t).
rb_fiber_t has double linked list of fibers in same threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:57 PM Bug #674 (Closed): Failure: test_aset(TestSDBM)
- =begin
Applied in changeset r19885.
=end
-
12:14 PM Bug #674: Failure: test_aset(TestSDBM)
- =begin
なかだです。
At Wed, 22 Oct 2008 03:16:57 +0900,
Kazuhiro NISHIYAMA wrote in [ruby-dev:36854]:
> ext/sdbm/init.cのfsdbm_fetchの
> return rb_external_str_new(value.dptr, value.dsize);
> でvalue = {dptr = "barbarfoo", dsize = 0}と... -
03:18 AM Bug #674 (Closed): Failure: test_aset(TestSDBM)
- =begin
1) Failure:
test_aset(TestSDBM) [.../trunk/test/sdbm/test_sdbm.rb:174]:
<""> expected but was
<"barbarfoo">.
について調べてみました。
ext/sdbm/init.cのfsdbm_fetchの
return rb_external_str_new(value.dptr, value.dsize);
でval... -
01:23 PM Revision d1c4aefa (git): * Described -E external:internal and -U.
- * formatted some texts.
* added BUGS and SEE ALSO sections.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:27 AM Revision a9a23756 (git): * io.c (pipe_open): remove unnecessary flush before fork.
- a patch from Kazuhiro NISHIYAMA <zn at mbf.nifty.com>
in [ruby-dev:36840].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:28 AM Revision 5c0515f2 (git): * vm_insnhelper.c (vm_yield_setup_args): should not drop arguments
- corresponding to default paramters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:03 AM Revision e8a71e64 (git): * parse.y (f_larglist): should not allow semicolon separated local
- variable declarations if formal argument list is not surrounded
by parentheses, mostly because semicolon outside of parentheses
appears to terminate the expression.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19886 b2dd03c8-39... -
05:55 AM Revision 4a3f2a7b (git): * string.c (rb_external_str_new_with_enc): no implicit strlen call.
- [ruby-dev:36854]
* string.c (rb_external_str_new_cstr): new function to create
string from external NUL terminated C string.
* string.c (rb_locale_str_new_cstr): ditto.
* ext/readline/readline.c: now use rb_locale_str_new_cstr().
*... -
04:27 AM Revision 1d38a821 (git): * re.c (unescape_escaped_nonascii): back out the last change on
- the function. [ruby-dev:36818]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/21/2008
-
10:10 PM Revision 81525af4 (git): * ext/zlib/zlib.c (rb_gzreader_ungetc): should be able to unget
- Fixnum.
* ext/stringio/stringio.c (strio_ungetc): should convert unget
string.
* ext/stringio/stringio.c (strio_ungetbyte): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:59 PM Revision 34d1e9bb (git): * include/ruby/vm.h: write a comment.
- * common.mk: remove vm.h from any rules.
vm.h is not needed on this version.
* vm_core.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:46 PM Revision bf52a3c0 (git): update ChangeLog for last check in.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:45 PM Revision 3337185e (git): * parse.y (arg_concat_gen): concat target node should be NODE_ARRAY.
- [ruby-core:19413]
* bootstraptest/test_method.rb: add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:24 PM Bug #650: Marshal.load raises RegexpError
- =begin
西山和広です。
At Tue, 21 Oct 2008 16:30:57 +0900,
Urabe Shyouhei wrote:
>
> ユーザーアプリケーション側は変換に失敗したかどうかを==で判定するとおもわ
> れるので、nilみたいなものよりも普通のObject.newのほうがいいんじゃないで
> しょうか。
>
> # rb_define_const(rb_mMarshal, "Invalid", rb_obj_a... -
04:32 PM Bug #650: Marshal.load raises RegexpError
- =begin
卜部です。
Yukihiro Matsumoto さんは書きました:
> |じゃあ妥協案ですけど、Marshal.loadに invalid: :replace とか受け取れるよ
> |うにしません?
>
> 基本的にはいいアイディアだと思います。この場合、APIは
>
> Marshal.load(src, invalid: :replace)
>
> とかにするんですかね。その場合、再生に失敗したオブジェクトは
> なにに... -
03:31 PM Bug #650: Marshal.load raises RegexpError
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:36830] Re: [Bug #650] Marshal.load raises RegexpError"
on Tue, 21 Oct 2008 12:37:17 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:
|もとの正規表現にバグがあるのは認めますが、それに巻き込まれてでかいPStore
... -
12:38 PM Bug #650: Marshal.load raises RegexpError
- =begin
もとの正規表現にバグがあるのは認めますが、それに巻き込まれてでかいPStore
のデータがまるごと読めなくて困ってるんですってば。
じゃあ妥協案ですけど、Marshal.loadに invalid: :replace とか受け取れるよ
うにしません?
Yukihiro Matsumoto さんは書きました:
> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:36794] Re: [Bug #65... -
10:41 AM Bug #650: Marshal.load raises RegexpError
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:36794] Re: [Bug #650] Marshal.load raises RegexpError"
on Mon, 20 Oct 2008 01:50:06 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:
|「1.8から来た正規表現に\uが含まれていたら1.9ではuのこととして扱う」でい... -
06:12 PM Bug #672 (Closed): rb_io_flush in pipe_open
- =begin
直後のrb_forkの中で
#define prefork() ( \
rb_io_flush(rb_stdout), \
rb_io_flush(rb_stderr) \
)
prefork();
としているので、pipe_openのrb_io_flushは不要なのではないでしょうか?
Index: io.c
============... -
04:08 PM Bug #671 (Closed): TestSignal#test_exit_actionでEINTRのメッセージが出る
- =begin
TestSignal#test_exit_actionの子プロセス側で
Thread.start { Thread.pass }
のスレッドが何らかの理由で終了してしまうとselectシステムコールで待たずに
readシステムコールで待つようになってしまって、以下のようになります。
Thread.start { Thread.pass }
の後にsleep 0.01などを入れると確実に再現します。
% ruby-tru... -
03:52 PM Revision fa127bbb (git): * string.c (rb_external_str_new_with_enc): wrong condition to
- calculate strlen().
* ext/readline/readline.c: add encoding support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:34 PM Revision aaac962c (git): * 2008-10-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@19878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:34 PM Revision 4d084753 (git): Fixed test failures [ruby-dev:36837].
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@19877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:32 PM Revision 73e221a1 (git): * 2008-10-22
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:32 PM Revision 87fa1cdf (git): Fixed test failures [ruby-dev:36837].
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
02:14 PM Revision 16549e33 (git): * ext/stringio/stringio.c (strio_write): should convert writing
- string to the encoding of the buffer.
* hash.c (rb_any_hash): typo fixed.
* ext/zlib/zlib.c (rb_gzwriter_write): oops, IO string conversion
need to be done by to_s.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19874 b2dd03c8-39... -
01:57 PM Revision c5377c2b (git): * io.c (open_key_args): should adjust argc, argv in struct
- foreach_arg.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:56 PM Revision 42a65500 (git): * ext/zlib/zlib.c (rb_gzwriter_write): conversion should be done
- using to_str, not to_s.
* ext/zlib/zlib.c (rb_gzwriter_write): need proper conversion
according to gz encoding.
* ext/zlib/zlib.c (rb_gzreader_ungetc): convert string encoding
before unget.
git-svn-id: svn+ssh://ci.ruby-lang.org/r... -
12:33 PM Revision ac466de7 (git): * lib/test/unit.rb (assert_nothing_raised): raise with backtrace.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:13 AM Revision 04f67418 (git): * lib/test/unit.rb (assert_nothing_raised): set backtrace.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:18 AM Revision b6ef272d (git): * ext/zlib/zlib.c: remove obsolete prototype macros.
- * ext/zlib/zlib.c (struct gzfile): add encoding field to gzfile
structure.
* ext/zlib/zlib.c (rb_gzreader_getc): now works on characters.
* ext/zlib/zlib.c (rb_gzreader_getbyte): new method to retrieve
single byte.
* ext/zlib/zlib... -
08:57 AM Bug #658 (Closed): スクリプトエンコーディングがUTF-8のとき /[\xfe]/ でSEGV
- =begin
Applied in changeset r19864.
=end
-
07:56 AM Bug #658 (Open): スクリプトエンコーディングがUTF-8のとき /[\xfe]/ でSEGV
- =begin
=end
-
07:47 AM Bug #658 (Closed): スクリプトエンコーディングがUTF-8のとき /[\xfe]/ でSEGV
- =begin
Applied in changeset r19863.
=end
-
07:06 AM Bug #669 (Closed): nil を引数にして Iconv.new を呼ぶとSEGV
- =begin
次の例のように Iconv.new や Iconv.open などの第一、又は第二引
数に nil を指定して呼ぶと、rubyが落ちます。nil の他にはシンボ
ルや true などで落ちました。パッチファイルを添付します。
例:
% ./ruby1.9 -riconv -e "Iconv.new(nil, 'UTF-8')"
-e:1: [BUG] Segmentation fault
ruby 1.9.0 (200... -
04:31 AM Revision d423b884 (git): * io.c, include/ruby/intern.h (rb_io_ascii8bit_binmode): externed.
- * ext/socket/socket.c (init_sock): use rb_io_ascii8bit_binmode()
instead of rb_io_binmode().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:19 AM Revision 89dfcd82 (git): * mdoc2man.rb: moved into tools/.
- * instruby.rb: followed the change of mdoc2man.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:34 AM Revision 5225f2c1 (git): * ext/iconv/iconv.c (strip_glibc_option, map_charset): check if
- encoding is a string. based on the patch by Hiroshi Moriyama at
[ruby-dev:36811].
* test/iconv/test_basic.rb (test_invalid_arguments): added tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19866 b2dd03c8-39d4-4d8f-98ff-823... -
01:40 AM Revision 4442095d (git): * io.c (rb_file_open_internal): should initialize fmode before using.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/20/2008
-
11:56 PM Revision 05a157ed (git): * regparse.c (parse_char_class): CCV_SB is only for single
- byte. [ruby-dev:36786]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:52 PM Bug #668 (Closed): BigDecimal#to_r がありません
- =begin
BigDecimal#to_r がありません。
main@190-20081020> BigDecimal('3').to_i
#=> 3
main@190-20081020> BigDecimal('3').to_f
#=> 3.0
main@190-20081020> BigDecimal('3').to_r
NoMethodError: undefined method `to_r' for #<BigDecimal:... -
11:31 PM Bug #667 (Closed): yaml が Complex、Rational をうまくあつかえていない
- =begin
組み込みに対応できていません。
main@187-20080811> Rational(1,2).to_yaml
#=> "--- !ruby/object:Rational \ndenominator: 2\nnumerator: 1\n"
main@187-20080811> YAML.load(Rational(1,2).to_yaml)
#=> Rational(1, 2)
main@190-20081020> R... -
10:45 PM Revision 5e7203ea (git): * regparse.c (parse_char_class): CCV_SB is only for single
- byte. [ruby-dev:36786]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:57 PM Revision e50a5bce (git): * io.c (rb_io_extract_modeenc): plain rb/wb should set ASCII-8BIT
- to the external_encoding.
* io.c (rb_file_open_internal): ditto.
* io.c (NEED_WRITECONV): no conversion when the external_encoding
is ASCII-8BIT.
* io.c (do_writeconv): skip ASCII-8BIT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t... - 03:53 PM Revision b5e583f7 (git): * 2008-10-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:53 PM Revision 7d48eab2 (git): * io.c (rb_io_ascii8bit_binmode): renamed from rb_io_binmode.
- (rb_io_binmode): don't change encoding conversion.
(rb_io_binmode_m): call rb_io_ascii8bit_binmode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:25 PM Feature #666 (Rejected): Enumerable::to_hash
- =begin
There are many ways to obtain an array from enumerables (to_a, map, ...).
There is no natural way to obtain a hash from an enumerable (except for Hash[some_array]).
There is a Hash::to_a but no Array::to_hash.
Here is what... - 02:16 PM Revision e46482f3 (git): fix test of multipart
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 12:29 PM Revision 225d2af6 (git): * lib/cgi/core.rb (read_multipart): file's encoding is ascii-8bit
- from file field of multipart form.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:21 AM Revision 71b832dd (git): * ext/zlib/zlib.c (Init_zlib): add getbyte as an alias to getc.
- [ruby-dev:36801]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:18 AM Revision b348ed33 (git): * error.c (exc_equal): should not compare recursively.
- [ruby-dev:36796]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:05 AM Revision 6259c87d (git): * include/ruby/ruby.h (ExportStringValue): new macro to convert
- string in internal encoding to external to export.
* string.c (rb_str_export): new function to do conversion to
external encoding.
* ext/sdbm/init.c: encoding conversion support.
* ext/dbm/dbm.c: ditto.
git-svn-id: svn+ssh://ci.rub... -
07:15 AM Revision 52b3e3b9 (git): * string.c (rb_locale_str_new): new function to convert string
- from locale to internal encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:25 AM Bug #650: Marshal.load raises RegexpError
- =begin
成瀬です。
On Sun, 19 Oct 2008 02:13:16 +0900, Urabe Shyouhei
<shyouhei@ruby-lang.org> wrote:
> 卜部です。
>
> Yukihiro Matsumoto さんは書きました:
>> (1) 杓子定規に考えて、メジャーバージョンをあげる(1.8と1.9が
>> 通信できなくなる、うれしくない)
>>
>> (2) ささいな違いなの... -
01:51 AM Bug #650: Marshal.load raises RegexpError
- =begin
Yukihiro Matsumoto さんは書きました:
> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:36785] Re: [Bug #650] Marshal.load raises RegexpError"
> on Sun, 19 Oct 2008 02:13:16 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:
>
> |... -
12:13 AM Bug #650: Marshal.load raises RegexpError
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:36785] Re: [Bug #650] Marshal.load raises RegexpError"
on Sun, 19 Oct 2008 02:13:16 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:
|Yukihiro Matsumoto さんは書きました:
|> (1) 杓子... -
12:48 AM Revision d4e0abce (git): * test/runner.rb: search srcdir/test/arg at first to find test/ruby
- directory when "ruby" is specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
10/19/2008
-
11:34 PM Bug #664 (Closed): ruby 1.9 (trunk rev 19846) segfaults
- =begin
My build passes "make test".
I'm trying to port Rant to Ruby 1.9 and it segfaults
most of the time.
One possible way to produce a segfault:
$ svn checkout http://rant.rubyforge.org/svn/
$ ruby19 run_rant -n... -
11:22 PM Revision 27fdb778 (git): * ext/tk/lib/tk.rb: support Encoding.default_internal.
- * ext/tk/tcltklib.c: ditto.
* ext/tk/extconf.rb: improve the strategy for searching Tcl/Tk headers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:27 PM Revision 4ee47dcc (git): fix typos.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:59 PM Revision 8bb663bd (git): * 2008-10-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:59 PM Revision 8fe3d028 (git): * lib/test/unit.rb (Test::Unit.setup_argv): call given block for
- filtering files.
* test/runner.rb: search srcdir/test/arg, srcdir/arg.
* bin/testrb: show usage if no files given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:19 PM Revision 295c75cb (git): * tool/generic_erb.rb: sends the result to stdout if no output option.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:12 PM Revision de85d6e9 (git): * common.mk (srcs): removed ID_H_TARGET.
- * tool/generic_erb.rb: always overwrites if no if-change option.
* template/id.h.tmpl: shows which token differs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:15 AM Revision b014f1bc (git): * enc/trans/single_byte.trans: adding WINDOWS-wwww encodings
- (wwww = 874/1250/1251/1253/1254/1255/1256/1257)
(contributed by Yoshihiro Kambayashi)
* enc/trans/windows-wwww-tbl.rb: 8 new files
(contributed by Yoshihiro Kambayashi)
* test/ruby/test_transcode.rb: added test_windows_wwww
(cont... -
07:47 AM Bug #659 (Closed): Math.lgamma not defined in -rcomplex - =begin
Applied in changeset r19845.
=end
-
04:33 AM Bug #659 (Closed): Math.lgamma not defined in -rcomplex
- =begin
complexをrequireすることで::Mathの特異メソッドがいくつか消えます。
% ruby -rcomplex -ve'p Math.lgamma(1)'
ruby 1.9.0 (2008-10-19 revision 17576) [x86_64-linux]
-e:1:in `<main>': undefined method `lgamma' for CMath:Module (NoMethodError)
... -
04:42 AM Bug #651 (Closed): Regexp.new returns strange regexp object
- =begin
=end
-
04:21 AM Bug #658 (Closed): スクリプトエンコーディングがUTF-8のとき /[\xfe]/ でSEGV
- =begin
リビジョン19812以降、スクリプトエンコーディングがUTF-8のときに
`\xfe' または `\xff' が正規表現の文字クラスに含まれていると、rubyが
落ちます:
% ./ruby1.9 <<EOS
# Encoding: UTF-8
/[\xfe]/
EOS
./ruby1.9: [BUG] Segmentation fault
ruby 1.9.0 (2008-10-19 revision 19843)... -
02:14 AM Bug #650: Marshal.load raises RegexpError
- =begin
卜部です。
Yukihiro Matsumoto さんは書きました:
> (1) 杓子定規に考えて、メジャーバージョンをあげる(1.8と1.9が
> 通信できなくなる、うれしくない)
>
> (2) ささいな違いなので気にしない
>
> (3) 1.8で正規化する(すでに書き込んだデータは救済できないし、
> 副作用もある)
>
> (4) 1.9側に1.8正規表現かどうか判別して1.9正規表現に変換す... -
12:19 AM Bug #650: Marshal.load raises RegexpError
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:36773] Re: [Bug #650] Marshal.load raises RegexpError"
on Sat, 18 Oct 2008 07:05:07 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:
|> |> 厳密に言うとmarshalに上位互換性がないのでmarshalのメジャ... -
02:03 AM Bug #657 (Closed): Thread.new { fork }
- =begin
% uname -a
Darwin tiamat.local 9.5.0 Darwin Kernel Version 9.5.0: Wed Sep 3 11:29:43 PDT 2008; root:xnu-1228.7.58~1/RELEASE_I386 i386
% ./ruby --version
ruby 1.9.0 (2008-10-19 revision 19843) [i386-darwin9.5.0]
% ./ru...
10/18/2008
- 10:43 PM Revision 81b1fef5 (git): * lib/cmath.rb (log2,cbrt,frexp,ldexp,hypot,erf,erfc,gamma,lgamma):
- should be also privided as module function. [ruby-dev:36787]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:30 PM Revision c2091e37 (git): * keywords, lex.c.src, opt_insn_unif.def, opt_operand.def: moved rarely changed
- input files for code generators into defs/ directory.
* Makefile.in (lex.c): followed keywords and lex.c.src.
* common.mk (parser.o): followed keywords.
(INSNS): followed opt_*.def
* tools/instruction.rb: followed opt_*.def.
git-sv... -
07:47 PM Bug #601 (Closed): an instance of Bignum can have singleton methods
- =begin
Applied in changeset r19835.
=end
-
07:12 PM Bug #601: an instance of Bignum can have singleton methods
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:36569] [Bug #601] an instance of Bignum can have singleton methods"
on Thu, 25 Sep 2008 22:10:30 +0900, Yuki Sonoda <redmine@ruby-lang.org> writes:
|Bignumのインスタンスが特異メソッドを持てるようです。
... -
07:37 PM Feature #652 (Closed): tempfileにエンコーディングを指定できない
- =begin
Applied in changeset r19833.
=end
-
07:33 PM Feature #652: tempfileにエンコーディングを指定できない
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:36756] [Feature #652] tempfileにエンコーディングを指定できない"
on Fri, 17 Oct 2008 00:25:32 +0900, Takeyuki Fujioka <redmine@ruby-lang.org> writes:
|tempfileにエンコーディングを指定する方法が欲しいです。
|現状はデフォルトのenc... -
03:48 PM Bug #650: Marshal.load raises RegexpError
- =begin
卜部です。
Tanaka Akira さんは書きました:
> syntax と semantics のどちらを保存するかというと、semantics
> のほうがいいんじゃないですかね。
>
> 今は以下のように、マッチするものが変化するわけで、それが変化
> しないようになるほうがまだマシなんじゃないでしょうか。
>
semanticsのほうが保存されてたほうがいいのには納得しましたが、寝不足の頭
で考えたところによると... -
07:06 AM Bug #650: Marshal.load raises RegexpError
- =begin
卜部です。
Yukihiro Matsumoto さんは書きました:
> まつもと ゆきひろです
>
> In message "Re: [ruby-dev:36771] Re: [Bug #650] Marshal.load raises RegexpError"
> on Sat, 18 Oct 2008 01:05:25 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes... -
02:04 AM Bug #650: Marshal.load raises RegexpError
- =begin
まつもと ゆきひろです
In message "Re: [ruby-dev:36771] Re: [Bug #650] Marshal.load raises RegexpError"
on Sat, 18 Oct 2008 01:05:25 +0900, Urabe Shyouhei <shyouhei@ruby-lang.org> writes:
|> 厳密に言うとmarshalに上位互換性がないのでmarshalのメジャーバー... -
01:06 AM Bug #650: Marshal.load raises RegexpError
- =begin
卜部です。
Yukihiro Matsumoto さんは書きました:
> 1.9では正規表現に\uが増えたからですね。
>
> 厳密に言うとmarshalに上位互換性がないのでmarshalのメジャーバー
> ジョンを変化させるべきなのかもしれませんが、メリットよりもデ
> メリットの方が大きいのでそれはしない方向を考えてます。
>
ちなみにどういうデメリットですか?
> で、1.8の方のregexpに手を入れて「\u... - 03:30 PM Revision b7be78d7 (git): * test/csv/*: Renamed tc_* files to test_* to fit in within Ruby's
- testing process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 03:18 PM Revision 54e2cb81 (git): add test for {SimpleDelegator, DelegateClass}#class .
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:16 PM Revision b177ff64 (git): * 2008-10-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:15 PM Revision 5cf4f78a (git): * lib/test/unit.rb (assert_nothing_thrown): don't intern.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:30 PM Revision 679d83e6 (git): add test for encoding option.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:02 PM Revision 45e68487 (git): ChangeLog: moved entries back and corrected date
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:49 AM Revision d3546e79 (git): * parse.y (opt_block_arg): allow trailing comma after usual
- arguments. not after block argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:46 AM Revision 957f69d2 (git): ChangeLog: move entries to proper place.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:39 AM Revision 8705e362 (git): * numeric.c (num_sadded): remove newly defined singleton method
- that should not exist after exception handling. [ruby-dev:36569]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:36 AM Revision 3f0ec888 (git): * string.c (rb_external_str_new): a new function to convert from
- external encoding to internal encoding. if something went
wrong, it returns a string with the external encoding.
* string.c (rb_external_str_new_with_enc): same as above besides
you can specify the source encoding.
* ruby.c (ruby_... -
10:32 AM Revision 88aa8632 (git): * lib/tempfile.rb (Tempfile#initialize): now Tempfile.new takes
- keyword arguments to open(). [ruby-dev:36756]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
10:29 AM Revision fcce99c5 (git): * re.c (rb_reg_initialize_m): specify ARG_ENCODING_NONE instead of
- ARG_ENCODING_FIXED for Regexp.new("", nil, "n"). [ruby-dev:36761]
* test/ruby/test_regexp.rb (TestRegexp#test_initialize): test
updated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:10 AM Revision 7adbfbb7 (git): * tool/transcode-tblgen.rb: added set_valid_byte_pattern
- to reduce coupling between table generation script and
specific encodings.
* enc/trans/single_byte.trans: using set_valid_byte_pattern
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:41 AM Revision da1ffe49 (git): * transcode.c: in transcode_search_path, elimintated a warning
- on cygwin about pathlen potentially not being initialized
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
05:07 AM Revision de55ffd0 (git): rdoc update.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:41 AM Revision 6fa35227 (git): * lib/test/unit.rb (assert_nothing_thrown): implemented.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e