Activity

From 02/20/2010 to 03/21/2010

Today

12:14 AM Feature #1358 (Rejected): net/http has no TRACK method - here's a patch
TRACK is only in IIS and source of vulnerability. We can't add such method. http://www.kb.cert.org/vuls/id/288308 http://www.symantec.com/business/security_response/attacksignatures/detail.jsp?asid=20419
Yui NARUSE

03/20/2010

10:52 PM Revision 26991: * string.c (rb_str_sum): use UCHAR_MAX.
* string.c (rb_str_sum): use UCHAR_MAX.
akr
07:18 PM Revision 26990: * tool/transcode-tblgen.rb (ActionMap.unambiguous_action): use Array#delete. ...
* tool/transcode-tblgen.rb (ActionMap.unambiguous_action): use Array#delete. (ActionMap.merge2): defined. (ActionMap::PostMemo): removed. (transcode_compile_tree): use ActionMap.merge2.
akr
07:11 PM Feature #2032 (Assigned): Change the license to "GPLv2+ or Ruby's original".
Yui NARUSE
07:11 PM Bug #2983 (Open): Ruby (GPLv2 only) tries to link to with readline (now GPLv3)
Don't close duplicated tickets, all of them are closed if you close one of them > nobu
Yui NARUSE
06:47 PM Revision 26989: * test/dl/test_handle.rb: skip some tests on mswin/mingw. because RTLD_DEFAULT ...
* test/dl/test_handle.rb: skip some tests on mswin/mingw. because RTLD_DEFAULT and RTLD_NEXT don't work well on windows.
wanabe
02:17 PM Revision 26988: add tests.
add tests.
akr
01:27 PM Revision 26987: * array.c (rb_ary_uniq_bang): the array is already unique if the length is zero...
* array.c (rb_ary_uniq_bang): the array is already unique if the length is zero or one. (rb_ary_uniq): ditto.
akr
12:30 PM Revision 26986: * lib: fixed typo. a patch by Sho Hashimoto in [ruby-dev:40716].
* lib: fixed typo. a patch by Sho Hashimoto in [ruby-dev:40716].
nobu
11:32 AM Revision 26985: * tool/transcode-tblgen.rb (each_firstbyte_range): tuned for less method calls.
* tool/transcode-tblgen.rb (each_firstbyte_range): tuned for less method calls.
akr
08:35 AM Bug #2983 (Closed): Ruby (GPLv2 only) tries to link to with readline (now GPLv3)
I close this ticket because it is duplication. Also, note that libedit has been supported already, libreadline will be disabled by --enable-libedit configure option.
Nobuyoshi Nakada
08:35 AM Feature #2032 (Closed): Change the license to "GPLv2+ or Ruby's original".
I close this ticket because it is duplication. Also, note that libedit has been supported already, libreadline will be disabled by --enable-libedit configure option.
Nobuyoshi Nakada
05:06 AM Feature #2032 (Assigned): Change the license to "GPLv2+ or Ruby's original".
Yui NARUSE
05:06 AM Bug #2983 (Open): Ruby (GPLv2 only) tries to link to with readline (now GPLv3)
GPL3 problem is not resolved; this ticket is mistakenly closed because this is duplicated ticket with #2982.
Yui NARUSE
01:45 AM Feature #1047 (Assigned): request: getters, setters for the GC
Attaching demo file. A little contrived still, but on my box, the things that help it improve are (believe it or not) -#define HEAP_MIN_SLOTS 10000 +#define HEAP_MIN_SLOTS 100000 12.3s normal gc.c to 10.4s Perhaps defining more space...
Roger Pack
01:39 AM Revision 26984: * test/dl/test_cfunc.rb (test_to_s): a result of sprintf("%x", ptr) may contain 0.
* test/dl/test_cfunc.rb (test_to_s): a result of sprintf("%x", ptr) may contain 0.
wanabe
01:20 AM Revision 26983: * ext/dl/lib/dl/pack.rb (DL#pack): allow LLP64.
* ext/dl/lib/dl/pack.rb (DL#pack): allow LLP64.
wanabe
01:18 AM Revision 26982: * test/dl/test_dl2.rb (DL::TestDL#ptr2num): add for LLP64.
* test/dl/test_dl2.rb (DL::TestDL#ptr2num): add for LLP64.
wanabe
01:16 AM Revision 26981: * 2010-03-20
* 2010-03-20
svn
01:16 AM Revision 26980: * test/dl/test_dl2.rb: require 'dl/func' to refer DL::Function.
* test/dl/test_dl2.rb: require 'dl/func' to refer DL::Function.
wanabe

03/19/2010

09:54 PM Revision 26979: update rdoc.
update rdoc.
akr
07:00 PM Feature #2117 (Closed): Binding to a class, a method from the class's superclass's metaclass, fails
Hi, 2009/9/24 Marc-Andre Lafortune <redmine@ruby-lang.org>: > Hi! > ? Yes, I hesitated before making the change but my reasoning was: > - past behavior contradicted the doc & intuition (at least mine! ;-) > - no apparent valid reason for pa...
Yusuke Endoh
01:41 PM Bug #2983 (Closed): Ruby (GPLv2 only) tries to link to with readline (now GPLv3)
Nobuyoshi Nakada
01:41 PM Feature #2032 (Closed): Change the license to "GPLv2+ or Ruby's original".
Nobuyoshi Nakada
08:11 AM Revision 26977: add test.
add test.
akr
05:35 AM Revision 26976: * 2010-03-19
* 2010-03-19
svn
05:35 AM Revision 26975: * string.c (rb_str_sum): don't call method for each byte.
* string.c (rb_str_sum): don't call method for each byte.
akr
01:28 AM Feature #2065 (Feedback): An ancestors iterator
Hi, > It would be nice if there were a method that iterates ancestors without generating the ancestors array: > > SomeClass.each_ancestor do |ancestor| > # ... > end > > This could improve the performance of DSLs that want to supp...
Yusuke Endoh
01:00 AM Feature #2691 (Rejected): RCR: allow {select, collect, map} to accept symbol argument
Hi, This ticket got four -1s, and there is no rebuttal. So I close this ticket. FYI, matz stated the rationale (in Japanese). [ruby-dev:32692] He thought that "inject with Symbol" directly expressed the intention of Array#inject, and t...
Yusuke Endoh
12:20 AM Feature #2586 (Rejected): openssl: Load root certificates on Windows
Hi, I think this ticket was already rejected in effect. Naruse seems to be satisfied with the decision. So I close the ticket. -- Yusuke Endoh <mame@tsg.ne.jp>
Yusuke Endoh

03/18/2010

11:45 PM Feature #2360 (Rejected): hide the internal of anonymous Enumerator
遠藤です。 > - Enumerator::Generator を匿名クラスにする (ARGF のように) > - Generator.new や Yielder.new を禁止する > - Enumerator#inspect で Generator の存在は隠す > > とするパッチを書いてみました。どうでしょう。 [ruby-dev:39685] で提案している private constant で解決する方が いいと思うので、このチケットは自分で reje...
Yusuke Endoh
11:32 PM Feature #2321 (Rejected): [PATCH] Array Module sum and mean features
Hi, > I have created a new patch for the Array Module of Ruby. The patch adds two complementary features: A sum function, that sums the elements in an array if they are numbers; and a mean (or average) function that finds the mean of the elemen...
Yusuke Endoh
10:29 PM Feature #1596 (Closed): GC.time
遠藤です。 >  今まで何回 GC をやったか調べるための GC.count というのがあるのですが, > これまでの GC にかかった時間を返す GC.time というメソッドを追加するのは > どうでしょうか. #2480 で GC::Profiler.total_time が導入されたので、close します。 せっかくなので何回か使ってみた経験を書いておきますと、生きている オブジェクトが大量にある (= 一回あたりのGC に時間がかかる) ときは それな...
Yusuke Endoh
09:24 PM Revision 26974: * Makefile.in (miniruby): link $(NORMALMAINOBJ).
* Makefile.in (miniruby): link $(NORMALMAINOBJ).
nobu
09:16 PM Feature #1047 (Feedback): request: getters, setters for the GC
Hi, > I've attached a patch adding getters and setters for HEAP_MIN_SLOTS and GC_MALLOC_LIMIT. My personal opinions: - Though I think a few rough "modes" is acceptable (e.g., -server and -clients of Java), such a specific parameter t...
Yusuke Endoh
07:53 PM Revision 26973: * tool/transcode-tblgen.rb: scan singleton mappings sequentially.
* tool/transcode-tblgen.rb: scan singleton mappings sequentially.
akr
05:04 PM Bug #2983: Ruby (GPLv2 only) tries to link to with readline (now GPLv3)
Hi, The readline library was relicensed under GPLv3. Since Ruby is GPLv2 only, it is not allowed to link to readline. Most distributions currently ship both the (old) GPLv2 readline version, and the new GPLv3 readline. However, this is likel...
Lucas Nussbaum
02:28 PM Bug #2976 (Assigned): cucumberでSEGV
[ruby-dev:40679] からのスレッドでした。 [ruby-dev:40452] との関係性が指摘されていますが、過去には動いていたようなので、中田さんコメントお願いできますか
Yui NARUSE
12:11 PM Feature #2981: Array#repeated_(permutation|combination)
New methods Array#repeated_(permutation|combination). Like Array#(permutation|combination), these methods make repeated permutation or combination. Attachment: repeated_patch.txt
Makoto Kishimoto
09:05 AM Revision 26971: Add NEWS and fix ChangeLog. * new methods: * URI.encode_www_form * URI.decod...
Add NEWS and fix ChangeLog. * new methods: * URI.encode_www_form * URI.decode_www_form * URI.encode_www_form_component * URI.decode_www_form_component
naruse
06:37 AM Bug #2978 (Closed): TMP_RUBY_PREFIX sets incorrect values in gem prelude for ruby installed in $HOME
This issue was solved with changeset r26970. Nikolai, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Nobuyoshi Nakada
06:28 AM Revision 26970: * configure.in (RUBY_EXEC_PREFIX): added to config.h. * ruby.c (ruby_init_loadpa...
* configure.in (RUBY_EXEC_PREFIX): added to config.h. * ruby.c (ruby_init_loadpath_safe): TMP_RUBY_PREFIX should be exec_prefix, not rubylibprefix. [ruby-core:28718] * version.c (RUBY_LIB_PREFIX): fallback to RUBY_EXEC_PREFIX.
nobu
05:58 AM Revision 26969: * ext/bigdecimal/bigdecimal.c (BigDecimal_{to_i,mod,divmod,div2}): removed unus...
* ext/bigdecimal/bigdecimal.c (BigDecimal_{to_i,mod,divmod,div2}): removed unused variables.
nobu
04:41 AM Revision 26967: * parse.y (rb_intern3): get rid of type-punning cast.
* parse.y (rb_intern3): get rid of type-punning cast.
nobu
02:33 AM Revision 26966: * compile.c (iseq_build_body): add mark to jump table hash of case.
* compile.c (iseq_build_body): add mark to jump table hash of case.
mame
01:58 AM Bug #2978: TMP_RUBY_PREFIX sets incorrect values in gem prelude for ruby installed in $HOME
For ruby (r26961), built and installed with configure --prefix=$HOME, I see odd values in Gem::ConfigMap that do not allow to load installed rubygems, see sample irb session: irb(main):001:0> Gem::ConfigMap => {:EXEEXT=>"", :RUBY_SO_NAME=>"r...
Nikolai Lugovoi
01:27 AM Feature #2969 (Closed): String#to_f が -h.hhh±pd を解釈できるように
This issue was solved with changeset r26965. Yui, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Yui NARUSE
01:21 AM Revision 26965: * util.c (ruby_strtod): Add support for Hexadecimal floating-point expression [...
* util.c (ruby_strtod): Add support for Hexadecimal floating-point expression [ruby-dev:40650] #2969
naruse
01:00 AM Revision 26964: fix typos.
fix typos.
akr
12:35 AM Revision 26963: * 2010-03-18
* 2010-03-18
svn
12:35 AM Revision 26962: * lib/uri/common.rb (URI#{en,de}code_www_form_component): renamed from URI#{en,...
* lib/uri/common.rb (URI#{en,de}code_www_form_component): renamed from URI#{en,de}code_www_component. [ruby-dev:40672] * lib/uri/common.rb (URI#encode_www_form_component): %-encoded element should have always two hex. * lib/uri/common.rb (UR...
naruse
12:12 AM Bug #2976: cucumberでSEGV
一度-devに投げましたが改めてRedmineへ。 cucumberを実行するとpolyglot-0.3.0/lib/polyglot.rb の中で高確率でSEGVになります。 $ gem install cucumber $ mkdir features $ cucumber r23000 から HEAD の間で bisect っぽいことをしてみたところ、 r24687 は問題なし。 r24688-24689 コンパイルできず。 r24690 で SEGV...
Sakuro OZAWA

03/17/2010

11:31 PM Feature #1951 (Closed): openのBOM指定拡張
Yusuke Endoh
11:30 PM Feature #2571 (Closed): 文字列のハミング距離
遠藤です。 本件は提案者の mrkn さんが一旦取り下げたようなので ([ruby-dev:40028]) 、 closed とします。 -- Yusuke Endoh <mame@tsg.ne.jp>
Yusuke Endoh
04:25 PM Revision 26961: * hash.c (rb_hash_aset): allow recursive key. [ruby-core:24648]
* hash.c (rb_hash_aset): allow recursive key. [ruby-core:24648]
nobu
06:40 AM Revision 26960: * ruby.h (rb_warning, rb_sys_warning): fixed typo in rdoc. [ruby-core:28696]
* ruby.h (rb_warning, rb_sys_warning): fixed typo in rdoc. [ruby-core:28696]
nobu
02:47 AM Bug #2581 (Closed): require_relative depends on current directory
This issue was solved with changeset r26959. Yusuke, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Yusuke Endoh
02:40 AM Revision 26959: * compile.c, iseq.c, ruby.c, vm.c, vm_core.h, vm_eval.c: add absolute path fiel...
* compile.c, iseq.c, ruby.c, vm.c, vm_core.h, vm_eval.c: add absolute path field into rb_iseq_t. The field contains a string representing a path to corresponding source file. or nil when the iseq is created from -e, stdin, eval, etc. This ...
mame
01:27 AM Bug #1843 (Closed): Symbol#inspect raises exception
This issue was solved with changeset r26957. Brian, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Yusuke Endoh
01:26 AM Revision 26958: * 2010-03-17
* 2010-03-17
svn
01:26 AM Revision 26957: * parse.y (rb_intern3): prohibit Symbol with an invalid encoding. [ruby-core:24...
* parse.y (rb_intern3): prohibit Symbol with an invalid encoding. [ruby-core:24621] * test/ruby/test_m17n_comb.rb: modify a test for above.
mame

03/16/2010

10:52 PM Revision 26956: * tool/transcode-tblgen.rb: specialize for singletom mappings.
* tool/transcode-tblgen.rb: specialize for singletom mappings.
akr
08:18 PM Revision 26955: * enc/trans/emoji.trans: added codepoints leading 0xf4 into nomap_table.
* enc/trans/emoji.trans: added codepoints leading 0xf4 into nomap_table.
muraken
05:38 PM Revision 26954: * ext/bigdecimal/bigdecimal.c (VpCtoV): keep e's sign. When e doesn't over flow...
* ext/bigdecimal/bigdecimal.c (VpCtoV): keep e's sign. When e doesn't over flow e * BASE_FIG but overflow e * 10, e will overflow.
naruse
05:18 PM Revision 26953: * include/ruby/encoding.h (rb_str_conv_enc_opts): missing prototype.
* include/ruby/encoding.h (rb_str_conv_enc_opts): missing prototype.
nobu
03:20 PM Revision 26952: * ext/tmpdir: split from lib/tmpdir.rb. * win32/win32.c (rb_w32_system_tmpdir): ...
* ext/tmpdir: split from lib/tmpdir.rb. * win32/win32.c (rb_w32_system_tmpdir): extracted from init_env.
nobu
02:48 PM Revision 26951: * win32/win32.c (rb_w32_getcwd): remvoed duplicated code.
* win32/win32.c (rb_w32_getcwd): remvoed duplicated code.
nobu
02:06 PM Revision 26950: * include/ruby/encoding.h (ENC_TO_ENCINDEX): suppress warnings.
* include/ruby/encoding.h (ENC_TO_ENCINDEX): suppress warnings.
nobu
02:03 PM Revision 26949: * configure.in (RSHIFT): parenthesize the argument of cast instead of the result.
* configure.in (RSHIFT): parenthesize the argument of cast instead of the result.
nobu
11:23 AM Revision 26948: * file.c (file_expand_path): ignore dname if it has different drive letter or UNC.
* file.c (file_expand_path): ignore dname if it has different drive letter or UNC.
nobu
08:04 AM Feature #2968 (Rejected): 数値の正負を返すメソッド
f > 0 or 1.0 / f > 0 ではなんでだめなんですか?
Shyouhei Urabe
07:23 AM Revision 26947: fix typos.
fix typos.
akr
07:21 AM Revision 26946: * tool/transcode-tblgen.rb: redundant loop removed.
* tool/transcode-tblgen.rb: redundant loop removed.
akr
07:02 AM Revision 26945: * tool/transcode-tblgen.rb: refactored to use tree as memo key.
* tool/transcode-tblgen.rb: refactored to use tree as memo key.
akr
06:57 AM Bug #2967 (Rejected): SCRIPT_LINES__ is not included in constants()
Use const_defined? which can work either on 1.8 and 1.9, and faster.
Nobuyoshi Nakada
04:10 AM Revision 26944: * 2010-03-16
* 2010-03-16
svn
04:10 AM Revision 26943: * tool/transcode-tblgen.rb: more info in generating macro names.
* tool/transcode-tblgen.rb: more info in generating macro names.
akr
04:01 AM Feature #2969: String#to_f が -h.hhh±pd を解釈できるように
C99 の printf には a という指定子があります。 aA The argument is printed in style ‘[-h.hhh±pd]’ where there is one digit before the hexadecimal point and the number after is equal to the precision specificatio...
Yui NARUSE
03:38 AM Feature #2968: 数値の正負を返すメソッド
数値の正負を返すメソッドが欲しいです。 主たる想定用途は 0.0 と -0.0 を区別したいときです。 これは、0.0 > -0.0 や 0.0 == -0.0 では知ることができません。 とりあえず flo.to_s[0] == ?- で知ることができますが、これではあんまりです。 悩みどころはいつもの通りメソッド名ですが、 * Numeric#positive? と Numeric#negative? * Numeric#sign -> 負で -1、正で 1 * Nu...
Yui NARUSE
02:43 AM Bug #2967: SCRIPT_LINES__ is not included in constants()
d:\bugs>irb irb(main):001:0> RUBY_VERSION => "1.8.6" irb(main):002:0> SCRIPT_LINES__ = {} => {} irb(main):003:0> Object.constants.include? 'SCRIPT_LINES__' => true irb(main):004:0> exit d:\bugs>irb19 irb(main):001:0> RUBY_VERSION => "1...
Shri Borde
01:51 AM Bug #2766 (Rejected): Cannot use CSV under windows 7
I assume CSV's auto line ending detection is failing on you data for some reason. A likely cause could be fields that contain line endings different from those used to end lines. You should be able to solve this by setting the :row_sep manually....
James Gray

03/15/2010

09:59 PM Revision 26942: * tool/transcode-tblgen.rb: ActionMap#each_firstbyte inlined.
* tool/transcode-tblgen.rb: ActionMap#each_firstbyte inlined.
akr
09:25 PM Revision 26941: * tool/transcode-tblgen.rb (transcode_tblgen): add valid_encoding optional argu...
* tool/transcode-tblgen.rb (transcode_tblgen): add valid_encoding optional argument. * enc/trans/single_byte.trans use valid_encoding argument for transcode_tblgen. * enc/trans/chinese.trans: ditto.
akr
06:33 PM Revision 26939: * random.c (default_rand): removed initial buffer. * random.c (Init_RandomSeed):...
* random.c (default_rand): removed initial buffer. * random.c (Init_RandomSeed): initialize seed of default random. * random.c (Init_RandomSeed2): turn the seed to Bignum object.
nobu
05:47 PM Bug #2957 (Closed): IO.print emits field separator after each object, rather than between
This issue was solved with changeset r26938. Daniel, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Yukihiro Matsumoto
05:43 PM Revision 26938: * io.c (rb_io_print): RDoc update. a patch from Daniel Kelley in [ruby-core:28...
* io.c (rb_io_print): RDoc update. a patch from Daniel Kelley in [ruby-core:28643].
matz
05:16 PM Bug #2965: method `===' called on hidden T_STRING object (NotImplementedError)
termtter の 464948b77fb335140bcd6e2a76dddc8cac7620a9 版を ruby 1.9.2dev r26937 で実行すると以下のような例外が出て止まります。 /Users/muraken/src/termtter.git/lib/termtter/client.rb:225:in `legacy_config_support': method `===' called on hidden T_STRING object (0x0000010...
Kenta Murata
04:49 PM Bug #2964 (Closed): Segmentation Fault is occurred by Array#sample in a child process
trunk is fixed by r26936.
Kenta Murata
04:41 PM Bug #2964: Segmentation Fault is occurred by Array#sample in a child process
ruby -ve 'Process.wait fork { p [1, 2].sample }' -e:1: [BUG] Segmentation fault ruby 1.9.2dev (2010-03-15 trunk 26932) [x86_64-darwin10.2.0] -- control frame ---------- c:0007 p:---- s:0018 b:0018 l:000017 d:000017 CFUNC :sample c:0006 p:0...
Kenta Murata
02:06 PM Revision 26937: * random.c (next_state): no initialization here. * random.c (default_mt): always...
* random.c (next_state): no initialization here. * random.c (default_mt): always return initialized MT.
nobu
12:26 PM Revision 26936: * random.c (rb_reset_random_seed): set seed in this. [ruby-core:28655]
* random.c (rb_reset_random_seed): set seed in this. [ruby-core:28655]
naruse
10:47 AM Bug #2954 (Closed): wrong result of nkf with --numchar-input
This issue was solved with changeset r26935. Nobuyoshi, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Yui NARUSE
10:37 AM Revision 26935: * ext/nkf/nkf-utf8/nkf.c: import latest nkf. [master 9306cb0] this also fixes [...
* ext/nkf/nkf-utf8/nkf.c: import latest nkf. [master 9306cb0] this also fixes [ruby-dev:40607]
naruse
09:42 AM Revision 26934: * lib/uri/common.rb (URI.encode_www_component): call str.to_s at first.
* lib/uri/common.rb (URI.encode_www_component): call str.to_s at first.
naruse
09:36 AM Revision 26933: * symbian/README.SYMBIAN: fixed broken patch and converted to unified diff.
* symbian/README.SYMBIAN: fixed broken patch and converted to unified diff.
nobu
07:51 AM Revision 26932: * file.c (Init_File): do not define File::ALT_SEPARATOR on cygwin.
* file.c (Init_File): do not define File::ALT_SEPARATOR on cygwin.
nobu
07:41 AM Revision 26931: * file.c (realpath_rec): use same cache.
* file.c (realpath_rec): use same cache.
nobu
07:39 AM Revision 26930: * file.c (realpath_internal): regulate separators in prefix. [ruby-core:28653]
* file.c (realpath_internal): regulate separators in prefix. [ruby-core:28653]
nobu
07:38 AM Revision 26929: * file.c (realpath_internal): regulate separators in prefix. [ruby-core:28653]
* file.c (realpath_internal): regulate separators in prefix. [ruby-core:28653]
nobu
07:33 AM Revision 26928: * file.c (file_alt_separator): commit miss.
* file.c (file_alt_separator): commit miss.
nobu
07:16 AM Revision 26927: * file.c (FILE_ALT_SEPARATOR): separated condition.
* file.c (FILE_ALT_SEPARATOR): separated condition.
nobu
04:47 AM Bug #2959 (Closed): IO#codepoints crashes MRI/mingw on Windows
This issue was solved with changeset r26926. Vladimir, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Nobuyoshi Nakada
04:41 AM Revision 26926: * io.c (rb_io_each_codepoint): read directly when readconv is needed but intern...
* io.c (rb_io_each_codepoint): read directly when readconv is needed but internal encoding is not set. [ruby-core:28650]
nobu
04:18 AM Revision 26925: * tool/file2lastrev.rb (VCS::{SVN,GIT}#get_revisions): use block argument 'path...
* tool/file2lastrev.rb (VCS::{SVN,GIT}#get_revisions): use block argument 'path' to get the path given by super.
nobu
02:45 AM Revision 26924: * tool/transcode-tblgen.rb (Action#hash): defined. (Action#eql?): ditto. (Act...
* tool/transcode-tblgen.rb (Action#hash): defined. (Action#eql?): ditto. (Action#==): ditto.
akr
02:01 AM Revision 26923: * tool/transcode-tblgen.rb: refactored.
* tool/transcode-tblgen.rb: refactored.
akr
01:28 AM Revision 26922: * symbian/setup (*.pkg): Ruby Core installation separated from standard extension...
* symbian/setup (*.pkg): Ruby Core installation separated from standard extensions. * symbian/configure.bat: ditto. * symbian/README.SYMBIAN: ditto. * symbian/setup (config.h): support for 2nd internal drive added.
azav
01:27 AM Revision 26921: * symbian/configure.bat: Ruby Core installation separated from standard extensions.
* symbian/configure.bat: Ruby Core installation separated from standard extensions.
azav
01:26 AM Revision 26920: * symbian/README.SYMBIAN: Ruby Core installation separated from standard extensions.
* symbian/README.SYMBIAN: Ruby Core installation separated from standard extensions.
azav
01:24 AM Revision 26919: * symbian/setup (*.pkg): Ruby Core installation separated from standard extension...
* symbian/setup (*.pkg): Ruby Core installation separated from standard extensions. * symbian/setup (config.h): support for 2nd internal drive added.
azav
12:27 AM Bug #2960 (Closed): svn revision detection of git-based repo on Windows is broken
This issue was solved with changeset r26917. Vladimir, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Yui NARUSE
12:17 AM Revision 26918: * 2010-03-15
* 2010-03-15
svn
12:17 AM Revision 26917: * tool/file2lastrev.rb (VCS::GIT_SVN#get_revisions) : use block argument 'path'...
* tool/file2lastrev.rb (VCS::GIT_SVN#get_revisions) : use block argument 'path' to get the path given by super. * tool/file2lastrev.rb (VCS::GIT#get_revisions): use double quotes for Windows. patched by Vladimir Sizikov [ruby-core:28651]
naruse

03/14/2010

10:38 PM Revision 26916: * tool/transcode-tblgen.rb: consider valid_encoding for max_input.
* tool/transcode-tblgen.rb: consider valid_encoding for max_input.
akr
07:35 PM Bug #2960: svn revision detection of git-based repo on Windows is broken
This leads to situation when MRI built on Windows from git-based repo doesn't show the actual SVN revision: ruby 1.9.2dev (2010-03-14) [i386-mingw32] This is a regression caused by recent changes in file2lastrev.rb file. Attached is a small ...
Vladimir Sizikov
06:48 PM Bug #2959: IO#codepoints crashes MRI/mingw on Windows
One earlier MRI 1.9.2 builds on Windows, IO#codepoints just didn't do *anything*. With more recent versions, MRI crashes. ruby -ve "File.open('TODO').codepoints{|c| p c}" ruby 1.9.2dev (2010-03-05 trunk 26821) [i386-mingw32] -e:1: [BUG] S...
Vladimir Sizikov
03:49 PM Revision 26915: * enc/trans/emoji.trans: fix nomap_table.
* enc/trans/emoji.trans: fix nomap_table.
akr
09:50 AM Revision 26914: * compile.c (insn_data_to_s_detail), iseq.c (insn_operand_intern): fixed format...
* compile.c (insn_data_to_s_detail), iseq.c (insn_operand_intern): fixed format specifiers.
nobu
07:27 AM Bug #2958 (Closed): Re: [ruby-cvs:34124] Ruby:r26909 (trunk): * file.c (file_expand_path): should...
This issue was solved with changeset r26913. Usaku, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Yukihiro Matsumoto
07:23 AM Revision 26913: * file.c (EXPAND_PATH_BUFFER): make it back to usascii, to prevent infinite loo...
* file.c (EXPAND_PATH_BUFFER): make it back to usascii, to prevent infinite loop on some platform. [ruby-dev:40629]
matz
02:54 AM Revision 26912: * tool/transcode-tblgen.rb: reject ambiguous mapping. * enc/trans/single_byte.tr...
* tool/transcode-tblgen.rb: reject ambiguous mapping. * enc/trans/single_byte.trans: remove ambiguous maping such as \xD6 -> U+05F2 and \xD6\xC7 -> U+FB1F in Windows-1255
akr
01:40 AM Revision 26911: * 2010-03-14
* 2010-03-14
svn
01:40 AM Revision 26910: rdoc update.
rdoc update.
akr
01:22 AM Bug #2958: Re: [ruby-cvs:34124] Ruby:r26909 (trunk): * file.c (file_expand_path): should not just...
こんにちは、なかむら(う)です。 In message "[ruby-cvs:34124] Ruby:r26909 (trunk): * file.c (file_expand_path): should not just copy the encoding" on Mar.13,2010 23:50:30, <matz@ruby-lang.org> wrote: > matz 2010-03-13 23:50:26 +0900 (Sat, 13 Mar 2010) > > ...
Usaku NAKAMURA
12:25 AM Bug #2957: IO.print emits field separator after each object, rather than between
In versions prior to 1.9, IO.print emits the field separator "$," between each object printed when non-nil. As of r11003, IO.print emits the field separator after each field. This change was reported by Alex DeCaria in [ruby-talk:358633]. The...
Daniel Kelley

03/13/2010

11:57 PM Bug #2955 (Closed): File.expand_path raises unexpected CompatibilityError
This issue was solved with changeset r26909. Sakuro, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Yukihiro Matsumoto
11:50 PM Revision 26909: * file.c (file_expand_path): should not just copy the encoding from fname. [ru...
* file.c (file_expand_path): should not just copy the encoding from fname. [ruby-core:28635] * file.c (EXPAND_PATH_BUFFER): set filesystem_encoding, not usascii for path buffer.
matz
06:09 PM Bug #1324 (Rejected): Imap Tests hanging
I can't reproduce too, and this issue has no feedback for more than half a year. So, I set the status "Rejected" temporarily. If someone can reproduce even now, please inform and/or reopen the issue.
_ wanabe
05:48 PM Revision 26908: * tool/file2lastrev.rb: refactord. fixed changed revision of git.
* tool/file2lastrev.rb: refactord. fixed changed revision of git.
nobu
03:59 PM Revision 26907: * io.c (rb_io_print): should not print field separator at the end of arguments....
* io.c (rb_io_print): should not print field separator at the end of arguments. [ruby-talk:358633]
matz
02:57 PM Bug #1893 (Closed): Recursive Enumerable#join is surprising
This issue was solved with changeset r26906. Jeremy, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Yukihiro Matsumoto
02:55 PM Revision 26906: * enum.c (enum_join): remove Enumerable#join. [ruby-core:24786] * array.c (ary_j...
* enum.c (enum_join): remove Enumerable#join. [ruby-core:24786] * array.c (ary_join_1): use #to_ary to detect recursive array.
matz
12:26 PM Revision 26905: * include/ruby/io.h (MakeOpenFile): finalize fptr get rid of memory leak.
* include/ruby/io.h (MakeOpenFile): finalize fptr get rid of memory leak.
nobu
11:16 AM Revision 26904: * load.c (rb_get_expanded_load_path): expand paths if any item in $: is not a s...
* load.c (rb_get_expanded_load_path): expand paths if any item in $: is not a string.
shugo
11:06 AM Bug #2955: File.expand_path raises unexpected CompatibilityError
$ ./ruby -Ilib -e "p Encoding.find('filesystem')" #<Encoding:UTF-8> ./ruby -Ilib -e "p 'あ'.encoding.ascii_compatible?" true $ ./ruby -Ilib -e "p File.expand_path('あ', '/')" "/あ" The above is ok but $ ./ruby -Ilib...
Sakuro OZAWA
10:34 AM Revision 26902: * load.c (rb_get_expanded_load_path): does not expand paths if all the items in...
* load.c (rb_get_expanded_load_path): does not expand paths if all the items in $: are absolute paths. [ruby-core:28113]
shugo
10:17 AM Bug #2840 (Closed): Tk doesn't built in mingw
This issue was solved with changeset r26901. Roger, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Hidetoshi Nagai
10:07 AM Revision 26901: * ext/tk/extconf.rb: fix [Bug #2840] Tk doesn't built in mingw. * ext/tk/lib/tk.r...
* ext/tk/extconf.rb: fix [Bug #2840] Tk doesn't built in mingw. * ext/tk/lib/tk.rb: forgot updating RELEASE_DATE at last commit. * ext/tk/tkutil/tkutil.c: ditto.
nagai
09:25 AM Bug #2954: wrong result of nkf with --numchar-input
Bug #2953のコードを1.9で実行すると空になります。 $ ./ruby bug-2953.rb | od -tx1z 0000000 22 22 0a 0a >""..< 0000004 nkf_buf_t->ptrはnkf_charの配列ですが、nkf_buf_pop()はunsigned charになってるために最下位バイト以外は捨てられてしまいます。 これをnkf_charを返す...
Nobuyoshi Nakada
03:25 AM Revision 26898: * tool/transcode-tblgen.rb: show cosumed time at last.
* tool/transcode-tblgen.rb: show cosumed time at last.
akr
12:44 AM Revision 26897: * file.c (rb_file_s_basename): check encoding of suffix.
* file.c (rb_file_s_basename): check encoding of suffix.
nobu
12:11 AM Revision 26896: * 2010-03-13
* 2010-03-13
svn
12:11 AM Revision 26895: * ruby.c (ruby_init_loadpath_safe): mark initial load paths. * gem_prelude.rb (p...
* ruby.c (ruby_init_loadpath_safe): mark initial load paths. * gem_prelude.rb (push_all_highest_version_gems_on_load_path): search insertion position by initial load path mark. * lib/rubygems.rb (Gem.load_path_insert_index): ditto.
nobu

03/12/2010

11:08 PM Revision 26894: indented.
indented.
akr
11:08 PM Revision 26893: wrap tests by Emoji module.
wrap tests by Emoji module.
akr
11:00 PM Revision 26892: rdoc update.
rdoc update.
akr
09:35 PM Revision 26891: * NEWS: emoji encodings.
* NEWS: emoji encodings.
muraken
06:00 PM Revision 26888: * lib/uri/common.rb (URI.encode_www_form): new method to generate URL-encoded f...
* lib/uri/common.rb (URI.encode_www_form): new method to generate URL-encoded form data. [ruby-dev:39246] * lib/uri/common.rb (URI.encode_www_component, URI.decode_www_component): new method for encode/decode a name/value of HTML form.
naruse
05:48 PM Revision 26887: * lib/webrick/httpservlet/cgihandler.rb (WEBrick::HTTPServlet::CGIHandler#do_GE...
* lib/webrick/httpservlet/cgihandler.rb (WEBrick::HTTPServlet::CGIHandler#do_GET): set binary mode for tempfile. http://pc12.2ch.net/test/read.cgi/tech/1265467681/286
naruse
01:56 PM Revision 26885: * tool/compile_prelude.rb: TMP_RUBY_PREFIX should replace rubylibprefix but not p...
* tool/compile_prelude.rb: TMP_RUBY_PREFIX should replace rubylibprefix but not prefix.
muraken
09:45 AM Revision 26884: * complex.c (f_signbit): remove condition for signbit because all platforms hav...
* complex.c (f_signbit): remove condition for signbit because all platforms have signbit from r26871.
naruse
07:25 AM Revision 26883: * win32/win32.c (init_env): get rid of alloca() for outer string.
* win32/win32.c (init_env): get rid of alloca() for outer string.
nobu
07:17 AM Revision 26882: * ext/racc/cparse/cparse.c: suppressed warnings for shortening on platforms whe...
* ext/racc/cparse/cparse.c: suppressed warnings for shortening on platforms where pointer is bigger than int.
nobu
07:15 AM Revision 26881: * ruby.c (ruby_init_loadpath_safe, ruby_init_gems): set and remove TMP_RUBY_PRE...
* ruby.c (ruby_init_loadpath_safe, ruby_init_gems): set and remove TMP_RUBY_PREFIX. * variable.c (rb_mod_remove_const): new function. * tool/compile_prelude.rb: split each preludes.
nobu
07:09 AM Revision 26880: * Makefile.in (config.status): setup MINIRUBY environment for cross-compiling.
* Makefile.in (config.status): setup MINIRUBY environment for cross-compiling.
nobu
06:50 AM Revision 26879: * .indent.pro: added for ruby-style.
* .indent.pro: added for ruby-style.
nobu
06:49 AM Revision 26878: * ext/tk/extconf.rb: log() is built-in in some compilers and needs proper decla...
* ext/tk/extconf.rb: log() is built-in in some compilers and needs proper declaration.
nobu
06:37 AM Revision 26877: * sample/timeout.rb: split from lib/timeout.rb.
* sample/timeout.rb: split from lib/timeout.rb.
nobu

03/11/2010

10:47 PM Revision 26876: describe Time#round.
describe Time#round.
akr
10:39 PM Revision 26875: add tests.
add tests.
akr
10:39 PM Revision 26874: add comment.
add comment.
akr
10:39 PM Revision 26873: * time.c (time_round): new method Time#round. [ruby-dev:40595]
* time.c (time_round): new method Time#round. [ruby-dev:40595]
akr
05:32 PM Revision 26872: * transcode.c (str_transcode0): confirm the code range.
* transcode.c (str_transcode0): confirm the code range.
nobu
12:14 PM Revision 26871: * missing/signbit.c: added.
* missing/signbit.c: added.
nobu
11:16 AM Revision 26870: * configure.in: check if target_archs has changed.
* configure.in: check if target_archs has changed.
nobu
01:36 AM Revision 26869: * win32/win32.c (signbit): allow x64.
* win32/win32.c (signbit): allow x64.
wanabe
01:07 AM Revision 26868: * 2010-03-11
* 2010-03-11
svn
01:07 AM Revision 26867: * iseq.c (rb_iseq_clone): sets local_iseq and klass properly.
* iseq.c (rb_iseq_clone): sets local_iseq and klass properly.
shugo

03/10/2010

09:37 PM Bug #2184 (Closed): Blocks strange behavior
This issue was solved with changeset r26866. Ivan, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Yusuke Endoh
09:29 PM Revision 26866: * enum.c (min_ii, max_ii, minmax_ii): remove wrong optimization that reuses arr...
* enum.c (min_ii, max_ii, minmax_ii): remove wrong optimization that reuses array for yield parameter, which caused unexpected behavior. [ruby-core:25989]
mame
12:12 PM Revision 26863: * enc/x_emoji.h: renamed from enc/x-emoji.c.
* enc/x_emoji.h: renamed from enc/x-emoji.c.
muraken
04:21 AM Revision 26862: * compile.c (defined_expr), insns.def (defined): fix to pass a Symbol object su...
* compile.c (defined_expr), insns.def (defined): fix to pass a Symbol object such as :$foo for the "defined?($foo)" expression on defined instruction. This patch fixes ISeq#to_a/load.
ko1

03/09/2010

08:52 PM Revision 26858: * test/dl/test_method.rb: delete a residual test for dl on libffi.
* test/dl/test_method.rb: delete a residual test for dl on libffi.
mame
06:31 PM Revision 26857: * **/*emoji*: eol-style.
* **/*emoji*: eol-style.
nobu
06:17 PM Feature #2833 (Closed): 絵文字エンコーディングの提案
This issue was solved with changeset r26856. Kenta, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Anonymous
06:15 PM Revision 26856: * enc/trans/EMOJI/*.src, enc/trans/emoji*, enc/x-emoji.c, test/ruby/enc/test_emoj...
* enc/trans/EMOJI/*.src, enc/trans/emoji*, enc/x-emoji.c, test/ruby/enc/test_emoji.rb, tool/enc-emoji-citrus-gen.rb, tool/enc-emoji4unicode.rb, tool/jisx0208.rb, tool/test/test_jisx0208.rb: new encodings to support emoji charsets, which are used b...
muraken
03:00 PM Revision 26855: * tool/transcode-tblgen.rb (ActionMap#generate_node): remove useless dup. * to...
* tool/transcode-tblgen.rb (ActionMap#generate_node): remove useless dup. * tool/transcode-tblgen.rb (transcode_tbl_only): remove duplicated method call for encode_utf8.
naruse
02:56 PM Revision 26854: * re.c (rb_reg_to_s): remove unused variable.
* re.c (rb_reg_to_s): remove unused variable.
naruse
01:42 PM Bug #2211 (Closed): eval Documentation Claims Proc Accepted for Binding
Marc-Andre Lafortune
01:39 PM Bug #2466 (Closed): Mutex#lock documentation is incorrect
Applied in r26072
Marc-Andre Lafortune
01:29 PM Feature #2832 (Open): Vector#each and Enumerable
Thanks Matz. Vector#map/collect should return Vector, no? I'm fine with the others methods, like #drop(_while), #find(_all), #first, returning arrays though.
Marc-Andre Lafortune
12:21 PM Revision 26853: * 2010-03-09
* 2010-03-09
svn
12:21 PM Revision 26852: * tool/transcode-tblgen.rb (StrSet#parse, ActionMap#generate_node): optimizatio...
* tool/transcode-tblgen.rb (StrSet#parse, ActionMap#generate_node): optimization (reusing object and improving memoize). [ruby-dev:40582]
mame
08:14 AM Bug #2388 (Feedback): test-all 中に popen で ruby.exe が落ちる
Nobuyoshi Nakada
07:24 AM Bug #2016 (Rejected): Windows (win32.c) command line argument parsing bug
Nobuyoshi Nakada

03/08/2010

06:27 PM Bug #2945 (Rejected): Regexp#=== is failed by an exception when the exception is occurred in meth...
Kenta Murata
03:32 PM Bug #2945: Regexp#=== is failed by an exception when the exception is occurred in method_missing
When an exception is occurred in method_missing, Regexp#=== is failed by the exception. Is this valid behavior? o = Object.new class << def method_missing(m, *args) raise "XXX" if m == :to_str end end /aaa/ === o #...
Kenta Murata
02:39 AM Revision 26849: * dln.c [DLN_NEEDS_ALT_SEPARATOR] (translit_separator): small typo fixed. * symbi...
* dln.c [DLN_NEEDS_ALT_SEPARATOR] (translit_separator): small typo fixed. * symbian/setup (*.pkg): Shared library installation path fixed to match changes in version.c. * symbian/setup (ruby.mmp): SOURCE dln_find.c added.
azav
02:38 AM Revision 26848: * dln.c [DLN_NEEDS_ALT_SEPARATOR] (translit_separator): small typo fixed.
* dln.c [DLN_NEEDS_ALT_SEPARATOR] (translit_separator): small typo fixed.
azav
02:38 AM Revision 26847: * 2010-03-08
* 2010-03-08
svn
02:38 AM Revision 26846: * symbian/setup (*.pkg): Shared library installation path fixed to match changes ...
* symbian/setup (*.pkg): Shared library installation path fixed to match changes in version.c. * symbian/setup (ruby.mmp): SOURCE dln_find.c added.
azav

03/07/2010

11:15 PM Revision 26845: * bignum.c (rb_big_pack): use DIGSPERLONG and BITSPERDIG. (rb_big_unpack): use ...
* bignum.c (rb_big_pack): use DIGSPERLONG and BITSPERDIG. (rb_big_unpack): use DIGSPERLONG.
akr
07:22 PM Revision 26844: * io.c: Fix documentation for each/each_line/lines, bytes/each_byte, codepoints...
* io.c: Fix documentation for each/each_line/lines, bytes/each_byte, codepoints/each_code_point [ruby-core:23948] * string.c: ditto * ext/stringio/stringio.c: ditto
marcandre
04:13 PM Revision 26843: describe new optional arugment for Pathname#realpath and Pathname#realdirpath.
describe new optional arugment for Pathname#realpath and Pathname#realdirpath.
akr
03:54 PM Revision 26842: add a test.
add a test.
akr
01:55 PM Revision 26841: * file.c: add optional basedir argument for realpath/realdirpath. (realpath_int...
* file.c: add optional basedir argument for realpath/realdirpath. (realpath_internal): handle basedir. (rb_file_s_realpath): extract basedir from argument list. (rb_file_s_realdirpath): extract basedir from argument list. * lib/pathname.rb ...
akr
02:17 AM Bug #2752 (Closed): File path encoding on mac os x and windows
This issue was solved with changeset r26832. Yusuke, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Yui NARUSE
02:11 AM Revision 26832: * encoding.c (enc_set_filesystem_encoding): filesystem encoding on Mac OS X is ...
* encoding.c (enc_set_filesystem_encoding): filesystem encoding on Mac OS X is now default external encoding. so Mac OS X is now treated as one of Unix. [ruby-dev:40439] * file.c (file_path_convert): ditto.
naruse
02:03 AM Revision 26831: * 2010-03-07
* 2010-03-07
svn
02:03 AM Revision 26830: * hash.c (Hash#merge doc): Added explanation for form with block.
* hash.c (Hash#merge doc): Added explanation for form with block.
marcandre

03/06/2010

10:52 PM Revision 26829: useless lines removed.
useless lines removed.
akr
10:12 PM Revision 26828: * pack.c: fix the prototype of rb_big2ulong_pack.
* pack.c: fix the prototype of rb_big2ulong_pack.
akr
02:06 PM Feature #1081 (Open): add File::write() convenience method
Yusuke Endoh
01:52 PM Revision 26827: * io.c (rb_io_s_write, rb_io_s_binwrite): delete File#write and #binwrite. It ...
* io.c (rb_io_s_write, rb_io_s_binwrite): delete File#write and #binwrite. It may take a long time to make them stable, so 1.9.2 should not include them. We need refactoring to implement them again. * test/ruby/test_io.rb: delete tests fo...
mame
10:06 AM Revision 26826: * io.c (rb_io_s_binwrite): use mode "r+b" instead of "ab" to handle offset corr...
* io.c (rb_io_s_binwrite): use mode "r+b" instead of "ab" to handle offset correctly. [ruby-core:28517] * test/ruby/test_io.rb: use assert_equal instead of assert.
mame
04:07 AM Bug #2840: Tk doesn't built in mingw
Currently the tk extension "search" finds existing Tk headers (ex: c:\Tcl), but then fails when it tries to compile with them. Find Tcl/Tk libraries. Make tcltklib.so which is required by Ruby/Tk. make[1]: Entering directory `/c/dev/ruby/downl...
Roger Pack
01:09 AM Revision 26825: * 2010-03-06
* 2010-03-06
svn
01:09 AM Revision 26824: * win32/Makefile.sub (config.h): VC6 has __int64.
* win32/Makefile.sub (config.h): VC6 has __int64.
usa

03/05/2010

07:47 PM Feature #2835 (Closed): String#encodeに置換文字列のみを与えたら未定義向けとみなす
This issue was solved with changeset r26823. Yui, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Yui NARUSE
07:39 PM Revision 26823: * transcode.c (econv_opts): set :undef => :replace when :replace is given and :...
* transcode.c (econv_opts): set :undef => :replace when :replace is given and :invalid is not given. [ruby-dev:40554]
naruse
05:51 PM Revision 26822: * io.c (pipe_open): suppressed a warning. * win32/win32.c (rb_w32_map_errno, win...
* io.c (pipe_open): suppressed a warning. * win32/win32.c (rb_w32_map_errno, winnt_stat, rb_chsize): ditto. * win32/win32.c (rb_w32_aspawn): get rid of overflow.
nobu
11:59 AM Revision 26821: * 2010-03-05
* 2010-03-05
svn
11:59 AM Revision 26820: * win32/win32.c (signbit): defined on mingw.
* win32/win32.c (signbit): defined on mingw.
nobu
05:20 AM Feature #2837: Compile-time constant for HEAP_GROWTH_FACTOR (patch attached)
The GC currently increases the size at which newly-created heaps by a factor of 1.8 for each heap. Some find it appropriate to modify this value (REE uses a value of 1 instead of 1.8, for example). In the trunk version of this code, that value i...
Michael Edgar

03/04/2010

11:20 PM Revision 26818: add comment.
add comment.
akr
10:57 PM Bug #1954 (Closed): line number 0?
This issue was solved with changeset r26817. Kazuhiro, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Yusuke Endoh
10:57 PM Feature #1081 (Closed): add File::write() convenience method
This issue was solved with changeset r26816. Suraj, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Yusuke Endoh
10:54 PM Revision 26817: * eval.c (setup_exception): avoid line number 0 when setting $DEBUG=true. [rub...
* eval.c (setup_exception): avoid line number 0 when setting $DEBUG=true. [ruby-dev:39116]
mame
10:48 PM Revision 26816: * io.c (io_s_write, io_s_binwrite): add File#write and #binwrite. [ruby-core:21...
* io.c (io_s_write, io_s_binwrite): add File#write and #binwrite. [ruby-core:21701] * test/ruby/test_io.rb: add tests for above.
mame
02:19 PM Feature #2480 (Closed): request to add GC::Profiler.time method
Applied at r26814. Thank you.
_ wanabe
02:13 PM Revision 26815: add ref.
add ref.
wanabe
01:51 PM Revision 26814: * gc.c (gc_profile_total_time): add GC::Profiler.total_time. * NEWS: ditto.
* gc.c (gc_profile_total_time): add GC::Profiler.total_time. * NEWS: ditto.
wanabe
11:29 AM Revision 26813: * NEWS: Adding Enumerable#each_entry to the new method list
* NEWS: Adding Enumerable#each_entry to the new method list
marcandre
10:16 AM Revision 26812: * complex.c (m_log, m_exp): remove unused functions.
* complex.c (m_log, m_exp): remove unused functions.
naruse
10:05 AM Revision 26811: * ext/json/lib/**/*.rb: not executable.
* ext/json/lib/**/*.rb: not executable.
nobu
02:36 AM Revision 26810: * test/ruby/test_env.rb (TestEnv#test_select_bang): add tests.
* test/ruby/test_env.rb (TestEnv#test_select_bang): add tests.
mame
02:33 AM Revision 26809: * test/ruby/test_hash.rb (TestHash#test_keep_if): fix typo.
* test/ruby/test_hash.rb (TestHash#test_keep_if): fix typo.
kazu
01:28 AM Feature #1102 (Feedback): Prepend Module
Yusuke Endoh
01:26 AM Feature #905 (Feedback): Add String.new(fixnum) to preallocate large buffer
Hi, > This would allow heavy string-appending algorithms and libraries (like ERb) to avoid doing so many memory copies while they run. Is it really a bottleneck? Please make an experiment and show us the result. We can continue API disc...
Yusuke Endoh
12:14 AM Revision 26808: fix rdoc.
fix rdoc.
akr
12:12 AM Revision 26807: * 2010-03-04
* 2010-03-04
svn
12:11 AM Revision 26806: * tool/transcode-tblgen.rb (HEX2): extracted from regexps.
* tool/transcode-tblgen.rb (HEX2): extracted from regexps.
akr

03/03/2010

11:27 PM Bug #2830 (Closed): Some methods raise ArgumentError instead of TypeError
This issue was solved with changeset r26805. Marc-Andre, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Marc-Andre Lafortune
11:18 PM Revision 26805: * complex.c (nucomp_real_check): raise TypeError instead of ArgumentError when ...
* complex.c (nucomp_real_check): raise TypeError instead of ArgumentError when argument is not a real as expected [ruby-core:28395] * rational.c (nurat_int_check): ditto (for integers)
marcandre
11:07 PM Revision 26804: * lib/matrix.rb (Vector#each): Return self and optimization [ruby-core:28405]
* lib/matrix.rb (Vector#each): Return self and optimization [ruby-core:28405]
marcandre
09:53 PM Feature #2835: String#encodeに置換文字列のみを与えたら未定義向けとみなす
Ruby 1.9 もおおむね完成してからそろそろ 3 年が経つのですが、 気付いた事として、String#encode(to, from, opt) の opt に :replace を指定した時は、 ほとんどの場合 :undef => :replace も指定するという事があります。 よくよく考えれば、不正なバイト列を続行したいという事は少ないし、推奨されず、 ゆえに置換文字列を指定する場合はたいてい未定義文字を置き換えたい場合な訳です。 以下のパッチは、:invali...
Yui NARUSE
06:44 PM Revision 26803: * hash.c (rb_hash_select_bang): add #select! and keep_if to Hash. * hash.c (env_...
* hash.c (rb_hash_select_bang): add #select! and keep_if to Hash. * hash.c (env_select_bang): ..and to ENV.
matz
04:27 PM Feature #2832 (Closed): Vector#each and Enumerable
This issue was solved with changeset r26801. Marc-Andre, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Yukihiro Matsumoto
04:21 PM Revision 26802: * lib/matrix.rb (Vector#each2, collect2): small refactoring.
* lib/matrix.rb (Vector#each2, collect2): small refactoring.
matz
04:19 PM Revision 26801: * lib/matrix.rb (Vector#each): make Vector enumerable. [ruby-core:28405]
* lib/matrix.rb (Vector#each): make Vector enumerable. [ruby-core:28405]
matz
02:37 PM Feature #2515 (Closed): Array#select!
This issue was solved with changeset r26800. Roger, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Yukihiro Matsumoto
02:35 PM Revision 26800: * array.c (rb_ary_select_bang): select! removes all elements for which block re...
* array.c (rb_ary_select_bang): select! removes all elements for which block returns false. [ruby-core:27286] * array.c (rb_ary_keep_if): #keep_if, new method.
matz
06:19 AM Revision 26799: * win32/win32.c (signbig): defined.
* win32/win32.c (signbig): defined.
nobu
05:49 AM Revision 26798: * win32/Makefile.sub, symbian/setup (config.h): pack.c requires SIZEOF_INT*_T now.
* win32/Makefile.sub, symbian/setup (config.h): pack.c requires SIZEOF_INT*_T now.
nobu
01:10 AM Feature #2635 (Rejected): Unbundle rdoc
Yui NARUSE
01:09 AM Bug #2721 (Third Party's Issue): OpenSSL::Random.random_bytes(1) is very slow the first time on W...
Yui NARUSE
01:09 AM Bug #2721 (Rejected): OpenSSL::Random.random_bytes(1) is very slow the first time on Windows
Yui NARUSE
01:08 AM Bug #2768 (Third Party's Issue): SEGV when using OpenSSL::Cipher (AES) in certain way
Following is gdb backtrace and valgrind result; it seems OpenSSL's Issue. % gdb --args ./ruby -e 'require "openssl";OpenSSL::Cipher::AES128.new("ECB").update "testtesttesttest"' GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation,...
Yui NARUSE
12:57 AM Bug #2766 (Assigned): Cannot use CSV under windows 7
Yui NARUSE

03/02/2010

11:00 PM Feature #2833: 絵文字エンコーディングの提案
絵文字に対応したエンコーディングを実装しました。 これらを 1.9.2 のリリース前に trunk にマージすることを提案します。 redmine のチケットにパッチを添付しました。 このパッチは以下のエンコーディングを実装しています。 - UTF8-Google - UTF8-DoCoMo - Shift_JIS-DoCoMo - UTF8-KDDI - Shift_JIS-KDDI - ISO-2022-JP-KDDI - stateless-ISO-2022-...
Kenta Murata
10:42 PM Bug #1983 (Rejected): Struct doesn't define instance methods for valid method names
Hi Jeremy, > By why not generate the reader and skip the setter, then? In [ruby-core:4404], matz decided to prohibit such a field name once. And in [ruby-core:4577], he relaxed the restriction: > having field names with "?" can be valid ...
Yusuke Endoh
09:27 PM Bug #1666 (Closed): Confusion in documentation for lines vs each_line, etc...
This issue was solved with changeset r26797. Marc-Andre, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Yusuke Endoh
09:19 PM Revision 26797: * io.c (rb_io_lines, rb_io_bytes, rb_io_chars, rb_io_codepoints): change to ali...
* io.c (rb_io_lines, rb_io_bytes, rb_io_chars, rb_io_codepoints): change to alias to each_*, in similar way to ARGF and String. [ruby-core:23948]
mame
06:47 PM Feature #2759 (Closed): Regexp /g and /G options
This issue was solved with changeset r26796. Michael, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Yui NARUSE
06:40 PM Revision 26796: * regcomp.c (noname_disable_map): add NT_ANCHOR case. Without this change, capt...
* regcomp.c (noname_disable_map): add NT_ANCHOR case. Without this change, captured groups in anchors (look-ahead, look-behind, and so on) are not removed and unintended invalid backref error occur. [ruby-core:28235] * regcomp.c (renumber_b...
naruse
06:04 PM Feature #2832: Vector#each and Enumerable
Vector should implement #each and include Enumerable, since it is so Array-like. Enumerable methods that return an array should probably be specialized to return a Vector (e.g. map, first, ...) See also [ruby-core:28403], [redmine:2831]
Marc-Andre Lafortune
05:10 PM Feature #2831: Matrix: each, all?, none?, each_with_index, ....
There is Matrix#collect, but it would be useful to have Matrix#each and include Enumerable. All methods that return anything else than an array are completely natural: Matrix#all?, Matrix#any?, Matrix#count, Matrix#none?, etc... Others can b...
Marc-Andre Lafortune
02:48 PM Revision 26795: * test/dl/test_closure.rb: forget to revert at r26764.
* test/dl/test_closure.rb: forget to revert at r26764.
muraken
02:29 PM Revision 26794: * file.c (rb_find_file_ext_safe, rb_find_file_safe): skip argument checks in fi...
* file.c (rb_find_file_ext_safe, rb_find_file_safe): skip argument checks in file_expand_path().
nobu
02:25 PM Bug #2189 (Closed): Math.atanh(1) & Math.atanh(-1) should not raise an error
Resolved with r26785.
Marc-Andre Lafortune
01:55 PM Revision 26793: * test/ruby/test_math.rb: Fix lgamma test
* test/ruby/test_math.rb: Fix lgamma test
marcandre
01:45 PM Bug #2830: Some methods raise ArgumentError instead of TypeError
Some methods of Ruby 1.9 expect integers/reals and call internally nurat_int_value/nurat_int_check. These functions raise an ArgumentError when the argument is not an Integer, instead of a TypeError. Thus: 42.gcd(:foo) # => ArgumentError...
Marc-Andre Lafortune
01:38 PM Bug #2829: Missing documentation for Exception subclasses.
I noticed that the documentation for Exception subclasses are either that of Exception itself, or just plain non-sensical because they are actually missing (see ZeroDivisionError, FiberError, ...) It would be preferable if the Exception classes...
Marc-Andre Lafortune
06:55 AM Revision 26792: * 2010-03-02
* 2010-03-02
svn
06:54 AM Revision 26791: * include/ruby/oniguruma.h: updated to follow Oniguruma 5.9.2. * re.c (make_rege...
* include/ruby/oniguruma.h: updated to follow Oniguruma 5.9.2. * re.c (make_regexp): use onig_new() instead of onig_alloc_init(). * re.c (rb_reg_to_s): ditto.
matz
04:34 AM Feature #2515 (Open): Array#select!
Hmm. I personally have had uses for select! in the past, as others have as well. http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/27316 http://www.ruby-forum.com/topic/200640#875371 Currently we are forced to use reject! which...
Roger Pack

03/01/2010

11:28 PM Revision 26790: * ext/pty/pty.c (pty_open): refine the path for master IO.
* ext/pty/pty.c (pty_open): refine the path for master IO.
akr
11:10 PM Bug #2776 (Rejected): can't return from lambda with outer block
仕様であるようですので Reject させていただきます。 教えていただいてありがとうございました。
_ wanabe
11:10 PM Bug #1469 (Rejected): Different behavior of class variables in 1.9.0 and 1.9.1p129
Hi, > For 1.9.0: ruby -v reports "ruby 1.9.0 (2006-06-08) [x86_64-linux]" This is the development version of 1.9.0 that had never been released yet. The release version 1.9.0-0 (2007-12-26) behaves the same way of 1.9.1p129. So, this t...
Yusuke Endoh
08:11 PM Revision 26789: * ext/zlib/zlib.c (zstream_expand_buffer_into): remove compare different type val...
* ext/zlib/zlib.c (zstream_expand_buffer_into): remove compare different type values warning.
takano32
05:45 PM Revision 26788: * 2010-03-01
* 2010-03-01
svn
05:45 PM Revision 26787: * configure.in (mingw): do not detect snprintf/vsnprintf.
* configure.in (mingw): do not detect snprintf/vsnprintf.
wanabe
10:40 AM Bug #2826 (Assigned): pthreads compilation failure on Solaris
This also effects Ruby 1.9.
Yui NARUSE
06:07 AM Bug #2827: ri hangs during gem installation which results in a crash
$ ruby -v ruby 1.9.2dev (2010-02-26 trunk 26763) [powerpc-darwin9.8.0] $ gem update Updating installed gems Updating bundler Due to a rubygems bug, you must uninstall older versions of the bundler gem for 0.9 to work. If you still need bun...
Conrad Taylor

02/28/2010

10:12 PM Bug #2826: pthreads compilation failure on Solaris
Original bug: http://bugs.gentoo.org/show_bug.cgi?id=307159 Ruby's configure tries to find the right way to link against pthread libs by itself. This fails amongst others on Solaris. GCC itself knows fairly well how to link against pthreads ...
Fabian Groffen
09:39 PM Feature #2480 (Assigned): request to add GC::Profiler.time method
Yusuke Endoh
09:32 PM Feature #971 (Rejected): Reinstate RubyVM::InstructionSequence::load
Koichi Sasada
09:32 PM Revision 26786: * ext/pty/pty.c (get_device_once): raise on error when fail is non-zero.
* ext/pty/pty.c (get_device_once): raise on error when fail is non-zero.
nobu
09:24 PM Feature #2515 (Rejected): Array#select!
Hi, The feature was discussed in the thread from [ruby-core:27242]. In the thread, many English speaking people disagree this. So I close this ticket as "rejected". If you still want this feature, please reopen with "some real use of sel...
Yusuke Endoh
08:55 PM Feature #2480 (Open): request to add GC::Profiler.time method
Hi, > What I would like is to be able to add garbage time to profiling information [i.e. "within this method, of the total time that was used, GC took 42ms") If anyone (nari?) writes a patch, it can be accepted and committed because no on...
Yusuke Endoh
08:50 PM Feature #2480 (Assigned): request to add GC::Profiler.time method
Nobuyoshi Nakada
07:08 PM Revision 26785: * math.c (rb_eMathDomainError): new exception class for representing mathematical...
* math.c (rb_eMathDomainError): new exception class for representing mathematical domain error instead of Errno::EDOM. * math.c (domain_check, infinity_check): removed, no longer needed. * math.c (math_atan2, math_acos, math_asin, math_acosh, math...
muraken
03:08 PM Revision 26782: * pack.c (pack_pack): use union to avoid pointer cast. (pack_unpack): ditto.
* pack.c (pack_pack): use union to avoid pointer cast. (pack_unpack): ditto.
akr
11:57 AM Feature #2022 (Closed): Patch for openssl-1.0
This issue was solved with changeset r26781. Jeroen, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Yui NARUSE
11:56 AM Revision 26781: * openssl/ossl.c (OSSL_IMPL_SK2ARY): for OpenSSL 1.0. patched by Jeroen van Mee...
* openssl/ossl.c (OSSL_IMPL_SK2ARY): for OpenSSL 1.0. patched by Jeroen van Meeuwen at [ruby-core:25210] fixed by Nobuyoshi Nakada [ruby-core:25238], Hongli Lai [ruby-core:27417], and Motohiro KOSAKI [ruby-core:28063] * ext/openssl/ossl_s...
naruse
11:47 AM Revision 26780: * test/openssl/{test_x509cert.rb,openssl,test_x509crl.rb, test_x509req.rb}: f...
* test/openssl/{test_x509cert.rb,openssl,test_x509crl.rb, test_x509req.rb}: fix false positive tests because of OpenSSL spec change. patched by originally Hongli Lai [ruby-core:27417], and fixed by Motohiro KOSAKI [ruby-core:28063]
naruse
11:40 AM Revision 26779: * test/openssl/{test_x509cert.rb,openssl,test_x509req.rb}: remove false positiv...
* test/openssl/{test_x509cert.rb,openssl,test_x509req.rb}: remove false positive tests because of OpenSSL spec change. patched by Motohiro KOSAKI [ruby-core:28063] see also [ruby-dev:40077]
naruse
11:32 AM Revision 26778: * pack.c (pack_pack): generalized integer packer implemented. (pack_unpack): ge...
* pack.c (pack_pack): generalized integer packer implemented. (pack_unpack): generalized integer unpacker implemented.
akr
10:50 AM Revision 26777: update rdoc.
update rdoc.
akr
08:54 AM Bug #2824: Backtrace from Singleton Classes is Unclear
The backtrace from singleton classes needs a space between 'singleton' and 'class'. $ ruby -e 'class << self; x; end' -e:1:in `singletonclass': undefined local variable or method `x' for #<Class:#<Object:0x83efde8>> (NameError) from -e:1:in...
Run Paint Run Run
07:00 AM Revision 26776: * pack.c (swap32): use __builtin_bswap32 on gcc 4.3.0 or later. (swap64): ditto.
* pack.c (swap32): use __builtin_bswap32 on gcc 4.3.0 or later. (swap64): ditto.
akr
03:34 AM Bug #2822 (Closed): Russian characters are missing from word characters types in Regexp
Yui NARUSE
12:39 AM Revision 26775: * 2010-02-28
* 2010-02-28
svn
12:39 AM Revision 26774: * pack.c: use integer types with explicit size.
* pack.c: use integer types with explicit size.
akr

02/27/2010

11:20 PM Bug #2822: Russian characters are missing from word characters types in Regexp
"Hello".match(/[\w]*/) => #<MatchData "Hello"> "Привет".match(/[\w]*/) => #<MatchData ""> "Привет".match(/[А-Яа-яЁё\w]*/) => #<MatchData "Привет"> Non word character type \W behaves similar.
Stas Senotrusov
03:56 PM Revision 26773: * pack.c: check assuption on QUAD_SIZE and SIZEOF_LONG. * bignum.c: check assupt...
* pack.c: check assuption on QUAD_SIZE and SIZEOF_LONG. * bignum.c: check assuption on SIZEOF_LONG and SIZEOF_BDIGITS.
akr
12:46 PM Bug #2821: Dir.[] returns unmatched path
遠藤です。 mingw で sample/test.rb が失敗します。調べてみると、以下の Dir.[] の 呼び出し結果がおかしいような気がします。 $ cat t.rb p Dir["C:/Ruby/ruby/{lib,sample,ext,test}/**/*.rb"].sort.first $ ./ruby t.rb "C:/Ruby/ruby/" glob のパターンにマッチしていないと思うのですが、どうでしょうか。 -- Yusuke ENDOH ...
Yusuke Endoh
03:51 AM Revision 26772: * 2010-02-27
* 2010-02-27
svn
03:51 AM Revision 26771: * pack.c: fix q and Q for big endian environments which have no 8 bytes integer...
* pack.c: fix q and Q for big endian environments which have no 8 bytes integer type. (pack_pack): use rb_big_pack. (pack_unpack): use rb_big_unpack. * include/ruby/intern.h (rb_big_pack): declared. (rb_big_unpack): ditto. * bignum.c (rb...
akr
01:28 AM Bug #1582 (Open): IO.new Raises Other Errors between 1.8 and 1.9
遠藤です。 なかださんの修正に regression があるみたいです。 いまから kosaki さんが詳細を書いてくれます。 -- Yusuke Endoh <mame@tsg.ne.jp>
Yusuke Endoh
01:13 AM Bug #2796: IO behaviors on mingw
akr さん 遠藤です。 以下のように、IO に関して Linux と mingw で挙動が違います。 それぞれ仕様でしょうか、バグでしょうか。 1) $ ./ruby -e 'f = File.open("foo", "w"); IO.for_fd(f.fileno, "r")' linux: EINVAL mingw: 何も言わない (gets したら EBADF) 参考: http://redmine.ruby-lang.org/issues/show/1582 2) $ ...
Yusuke Endoh

02/26/2010

09:41 PM Revision 26770: * bignum.c: fix rb_quad_pack and rb_quad_unpack for environments which don't ha...
* bignum.c: fix rb_quad_pack and rb_quad_unpack for environments which don't have 8bytes integer type. This still depends on little endian. (rb_quad_pack): use quad_buf_complement. don't raise for large values. (rb_quad_unpack): use qu...
akr
09:30 PM Revision 26769: * configure.in (RSHIFT): add parenthesis to supress warning.
* configure.in (RSHIFT): add parenthesis to supress warning.
akr
09:06 PM Revision 26768: * ext/socket/raddrinfo.c, ext/socket/udpsocket.c: avoid illegal cast from void-...
* ext/socket/raddrinfo.c, ext/socket/udpsocket.c: avoid illegal cast from void-returning function to VALUE-returning one. It causes SEGV on RubySpec with mingw32.
mame
08:09 PM Revision 26767: * pack.c (QUAD_SIZE): it should be always 8. * bignum.c (rb_quad_pack): use LONG...
* pack.c (QUAD_SIZE): it should be always 8. * bignum.c (rb_quad_pack): use LONG_LONG version only if SIZEOF_LONG_LONG == QUAD_SIZE.
akr
07:34 PM Bug #2795: readpartial after ungetc fails with text mode
遠藤です。 以下のようにすると、"a" が出力されることを期待するのですが、 EOFError になります。 $ echo -n a > foo.txt && ./ruby -e ' open("foo.txt", "r+t") do |f| f.ungetc(f.getc) p f.readpartial(2) end ' -e:4:in `readpartial': end of file reached (EOFError) ...
Yusuke Endoh
04:49 PM Revision 26766: * pack.c (swap64): fix for VC6.
* pack.c (swap64): fix for VC6.
nobu
02:17 PM Revision 26765: * pack.c (pack_pack, pack_unpack): suppressed warnings.
* pack.c (pack_pack, pack_unpack): suppressed warnings.
nobu
07:49 AM Revision 26764: * ext/dl: revert dl with libffi because it can't run on mswin now.
* ext/dl: revert dl with libffi because it can't run on mswin now.
naruse
03:29 AM Bug #2253 (Closed): should Class.new(Class) raise TypeError?
Fixed in r25449.
Nobuyoshi Nakada
02:27 AM Revision 26763: * 2010-02-26
* 2010-02-26
svn
02:27 AM Revision 26762: rdoc update.
rdoc update.
akr

02/25/2010

11:00 PM Revision 26761: * pack.c: consider DYNAMIC_ENDIAN. refactored.
* pack.c: consider DYNAMIC_ENDIAN. refactored.
akr
11:26 AM Revision 26760: * rational.c (nurat_expt): use Float#** when Rational ** Float. This fixes Rati...
* rational.c (nurat_expt): use Float#** when Rational ** Float. This fixes Rational(3,1)**3.0=>26.99999999999999 on FreeBSD. * complex.c (rb_fexpt): removed. Note that this function is not static but is private.
naruse
02:06 AM Revision 26759: * insns.def: Change the operand type of setinlinecache (OFFSET to IC). This IC...
* insns.def: Change the operand type of setinlinecache (OFFSET to IC). This IC must be same as corresponding getinlinecache instruction's IC operand. This change is for a little performance improvement (getting IC directly) and is for the...
ko1
01:52 AM Revision 26758: remove a empty line.
remove a empty line.
akr
01:52 AM Revision 26757: fix assertion message.
fix assertion message.
akr
01:29 AM Revision 26756: remove a empty line.
remove a empty line.
akr
01:01 AM Revision 26755: * pack.c (swap64): don't redefine.
* pack.c (swap64): don't redefine.
akr
12:32 AM Revision 26754: * 2010-02-25
* 2010-02-25
svn
12:32 AM Revision 26753: * pack.c (pack_unpack): don't use OFF32 for gcc 4.5.
* pack.c (pack_unpack): don't use OFF32 for gcc 4.5.
akr

02/24/2010

11:28 PM Revision 26752: * gc.c (gc_mark_children): lost comment added.
* gc.c (gc_mark_children): lost comment added.
matz
11:16 PM Revision 26751: * marshal.c (r_object0): should prepare placeholder before processing instance ...
* marshal.c (r_object0): should prepare placeholder before processing instance variables. [ruby-dev:40414] * marshal.c (id2encidx): no longer need arg.
matz
10:44 PM Revision 26750: * lib/resolv.rb: fix [ruby-core:28320] reported by Paul Clegg. (Resolv::DNS::Re...
* lib/resolv.rb: fix [ruby-core:28320] reported by Paul Clegg. (Resolv::DNS::Requester#request): raise ResolvTimeout consistently for timeout.
akr
02:39 PM Revision 26749: Remove obsolete files in lib/rubygems/indexer
Remove obsolete files in lib/rubygems/indexer
drbrain
11:52 AM Revision 26747: * dln.c (translit_separator): moved back from load.c again.
* dln.c (translit_separator): moved back from load.c again.
nobu
09:55 AM Revision 26746: * dln_find.c: split from dln.c.
* dln_find.c: split from dln.c.
nobu
09:31 AM Revision 26745: * ext/digest/extconf.rb: use OpenSSL only when all transform functions are avai...
* ext/digest/extconf.rb: use OpenSSL only when all transform functions are available.
nobu
08:24 AM Bug #2786: Segfault when loading gem
I am occasionally getting a segfault error when using cucumber 0.6.2 with latest ruby trunk (26744) in Mac OS X 10.6.1. It is happening about 25% of the time I run the cucumber command. Here's the full error: http://gist.github.com/312461#file_...
Ryan Bates
02:36 AM Revision 26744: Add some more tests, revisited.
Add some more tests, revisited.
knu
02:33 AM Revision 26743: Back out the series of changes pending a due discussion.
Back out the series of changes pending a due discussion.
knu
02:01 AM Revision 26742: Add some more tests.
Add some more tests.
knu
12:56 AM Revision 26741: * ext/openssl/lib/openssl/digest.rb (OpenSSL::Digest::hexdigest): No need to de...
* ext/openssl/lib/openssl/digest.rb (OpenSSL::Digest::hexdigest): No need to define hexdigest() here because the super method is properly defined to use digest() passing through arguments.
knu
12:52 AM Revision 26740: * ext/openssl/ossl_hmac.c (Init_ossl_hmac): Make OpenSSL::HMAC a subclass of Di...
* ext/openssl/ossl_hmac.c (Init_ossl_hmac): Make OpenSSL::HMAC a subclass of Digest::Class so it can take advantage of all those utility methods such as base64digest.
knu
12:51 AM Revision 26739: * ext/openssl/ossl_digest.c (GetDigestPtr): Allow to pass the OpenSSL::Digest c...
* ext/openssl/ossl_digest.c (GetDigestPtr): Allow to pass the OpenSSL::Digest class in place of where either an instance of the class or the algorithm name was demanded. For example, OpenSSL::HMAC.digest(OpenSSL::Digest::SHA1, key, data) is...
knu
12:41 AM Revision 26736: * 2010-02-24
* 2010-02-24
svn
12:41 AM Revision 26735: * string.c (str_new_empty): String#split, partition, rpartition taints the resu...
* string.c (str_new_empty): String#split, partition, rpartition taints the resulting strings if self is tainted.
mame

02/23/2010

08:41 PM Revision 26734: rdoc update.
rdoc update.
akr
08:41 PM Revision 26733: call unix_server.close only if unix_server is not nil.
call unix_server.close only if unix_server is not nil.
akr
08:02 PM Bug #2760 (Feedback): unable to cross-compile win32.c
Nobuyoshi Nakada
05:03 PM Feature #2084 (Assigned): Method#source_location and Methods Created with `attr`
Nobuyoshi Nakada
01:13 AM Revision 26732: * 2010-02-23
* 2010-02-23
svn
01:12 AM Revision 26731: fix a typo.
fix a typo.
akr

02/22/2010

09:36 PM Revision 26730: * ext/digest/sha2/sha2init.c: test OpenSSL more strictly.
* ext/digest/sha2/sha2init.c: test OpenSSL more strictly.
akr
09:34 PM Revision 26729: don't use infinite loop.
don't use infinite loop.
akr
08:29 PM Bug #2543 (Assigned): rdoc patch for thwait.rb
Yui NARUSE
05:58 PM Feature #2778 (Closed): Regular Expression Named Group Matching does not work with String#[]
This will be implemented in Ruby 1.9.2.
Yui NARUSE
05:13 PM Feature #2778: Regular Expression Named Group Matching does not work with String#[]
I just noticed this: irb(main):001:0> s = "Robert Klemme" => "Robert Klemme" irb(main):002:0> s[/(?<first>\w+)\s+\w+/, :first] TypeError: can't convert Symbol into Integer from (irb):2:in `[]' from (irb):2 from /op...
Robert Klemme
03:03 PM Bug #2777: Invalid read of size 4 by redefining load
なかだです。 At Mon, 22 Feb 2010 01:20:07 +0900, Tanaka Akira wrote in [ruby-dev:40452]: > 以下のように load 中に load を再定義すると、変なところをアクセスするのが > valgrind で観測されます。 rb_method_entry_tにもrefcountを入れますかねぇ。 -- --- 僕の前にBugはない。 --- 僕の後ろにBugはできる。 中田 伸悦
Nobuyoshi Nakada
11:52 AM Revision 26728: * lib/rubygems: update to 1.3.6.
* lib/rubygems: update to 1.3.6.
nobu
11:42 AM Revision 26727: * doc/rubygems/ChangeLog: deleted garbage lines.
* doc/rubygems/ChangeLog: deleted garbage lines.
nobu
11:21 AM Revision 26726: * ext/digest/sha2: Use OpenSSL's SHA1 engine if available.
* ext/digest/sha2: Use OpenSSL's SHA1 engine if available.
nobu
07:43 AM Bug #2776: can't return from lambda with outer block
http://pc12.2ch.net/test/read.cgi/tech/1264635554/685 で質問されていたのですが 1.8 と 1.9 で lambda の挙動が異なっています。 ---------------------------------------- # test.rb class Foo def initialize(&func) @func = lambda(&func) end def bar(x) @fu...
_ wanabe
02:17 AM Revision 26725: * 2010-02-22
* 2010-02-22
svn
02:17 AM Revision 26724: add timeout for test_should_propagate_signaled.
add timeout for test_should_propagate_signaled.
akr
12:16 AM Bug #2775: add explicit constraints for WONTFIX IO bug
Hi, all I propose writing two constraints into rdoc of IO: - after running IO#dup, both an original IO and generated IO may cause "bezarre behavior" except IO#close - after running IO#reopen, an original IO that passed to reopen may...
Yusuke Endoh
12:15 AM Bug #2774: add explicit constraints for WONTFIX IO bug
Hi, all I propose writing two constraints into rdoc of IO: - after running IO#dup, both an original IO and generated IO may cause "bezarre behavior" except IO#close - after running IO#reopen, an original IO that passed to reopen may...
Yusuke Endoh

02/21/2010

09:27 PM Bug #2769 (Closed): gem install cairo fails
This issue was solved with changeset r26723. Yusuke, thank you for reporting this issue. Your contribution to Ruby is greatly appreciated. May Ruby be with you.
Nobuyoshi Nakada
09:20 PM Revision 26723: * lib/mkmf.rb (create_makefile, install_files): honor srcprefix argument if giv...
* lib/mkmf.rb (create_makefile, install_files): honor srcprefix argument if given. [ruby-dev:40449]
nobu
01:30 PM Revision 26722: * lib/rubygems/rubygems_version.rb: outdated. [ruby-core:28275]
* lib/rubygems/rubygems_version.rb: outdated. [ruby-core:28275]
nobu
06:28 AM Revision 26721: * symbian/setup (config.h): HAVE_STRUCT_TIMEZONE, VOID_UNSETENV, and RUBY_LIB_VER...
* symbian/setup (config.h): HAVE_STRUCT_TIMEZONE, VOID_UNSETENV, and RUBY_LIB_VERSION_STYLE defined. * symbian/setup (ruby.mmp): SOURCE node.c added.
azav
06:27 AM Revision 26720: * symbian/setup (config.h): HAVE_STRUCT_TIMEZONE, VOID_UNSETENV, and RUBY_LIB_VER...
* symbian/setup (config.h): HAVE_STRUCT_TIMEZONE, VOID_UNSETENV, and RUBY_LIB_VERSION_STYLE defined. * symbian/setup (ruby.mmp): SOURCE node.c added.
azav
06:16 AM Feature #2772: Matrix: Calculating determinant using Bareiss algorithm [patch]
Yu Ichino suggested to use a different algorithm to calculate the determinant of a matrix in [ruby-core:28166]. I second his proposal. To reduce the risk of this proposal to go without a response, I am creating this request. Bareiss' algorit...
Marc-Andre Lafortune
06:10 AM Feature #2771: Matrix: constructor to build with block
I believe the following simple constructor could be a helpful addition to matrix.rb class Matrix # # Creates a matrix of +row_size+ x +column_size+. # It fills the values by calling the given block, # passing the current row and col...
Marc-Andre Lafortune
01:27 AM Revision 26719: * 2010-02-21
* 2010-02-21
svn
01:26 AM Revision 26718: * vm.c (vm_backtrace_each): use called_id when method definition structure is a...
* vm.c (vm_backtrace_each): use called_id when method definition structure is already freed. [ruby-dev:40234] [ruby-core:27959]
matz
12:16 AM Bug #2769: gem install cairo fails
なかださん 遠藤です。 r26465+r26466 の変更によって gem install cairo をしても cairo.so が ビルドされなくなり、正常にインストールできなくなりました。 $ ../ruby-trunk-local/bin/ruby -rcairo -e '' /home/mame/work/ruby-trunk-local/lib/ruby/gems/1.9.1/gems/cairo-1.8.1/src/lib/cairo.rb:42:in `requ...
Yusuke Endoh
12:13 AM Bug #2768: SEGV when using OpenSSL::Cipher (AES) in certain way
this command gives me an SEGV on my boxes: ruby -e 'require "openssl";OpenSSL::Cipher::AES128.new("ECB").update "testtesttesttest"' while this command does not: ruby -e 'require "openssl";OpenSSL::Cipher::AES128.new("ECB").update "testtes...
Julian Wälde

02/20/2010

05:33 PM Bug #2767: YAML bug
Start IRB, run: require 'yaml'; YAML.load({"x"=>"\r\n P\r\nA"}.to_yaml) result: ArgumentError: syntax error on line 4, col 2: ` A' from /opt/ruby-enterprise-1.8.6-20090610/lib/ruby/1.8/yaml.rb:133:in `load' from /opt/ruby...
Tim Haines
12:17 PM Revision 26717: * 2010-02-20
* 2010-02-20
svn
12:17 PM Revision 26716: indented.
indented.
akr
12:12 PM Bug #2766: Cannot use CSV under windows 7
I try to use Ruby under my windows 7 notebook. but I find that CSV cannot work. it alway throws " CSV::MalformedCSVError:Unquoted fields do not allow \r or \n(line 1)" my system is windows 7 ruby 1.9.1p378(2010-01-10 revision 26273)[i386-mingw32...
kang cao
« Previous
 

Also available in: Atom