Project

General

Profile

Activity

From 06/11/2013 to 06/17/2013

06/17/2013

10:16 PM Bug #8538 (Closed): c method not pushed into the callstack when called, but popped when returned
See the following example:
trace = TracePoint.new do |tp|
puts "Event: #{tp.event}, Method: #{tp.method_id}\n"
puts "Stack: #{caller}\n\n"
end
trace.enable
fail "bang!"
The output shows:
...
deivid (David Rodríguez)
07:21 PM Revision 94f017c9 (git): * 2013-06-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:21 PM Revision 7a460d2d (git): * gc.c (gc_mark_children): don't need to care about T_ZOMBIE here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:01 PM Revision 52530e36 (git): merge revision(s) 40849:
test_objectspace.rb: run test_each_object separately
* test/ruby/test_objectspace.rb (TestObjectSpace#test_each_object):
run separately.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41366 b2dd03c8-39d4-4d8f...
nagachika (Tomoyuki Chikanaga)
06:20 PM Bug #8537: RDoc cannot parse ext/objspace
I made a couple changes and it now appears in `ri ObjectSpace`,
but only when I generate again the documentation (for example, by touching ext/objspace/objspace.c),
not when `make clean && make install` (only the non-extension descript...
Eregon (Benoit Daloze)
02:59 PM Bug #8537 (Closed): RDoc cannot parse ext/objspace
Maybe bug in rdoc or objspace extension zzak (zzak _)
05:54 PM Revision 3a8d3080 (git): merge revision(s) 40059,40061:
* test/ruby/envutil.rb (assert_separately): stop_auto_run of
Test::Unit::Runner to prevent auto runner use ARGV.
* test/ruby/envutil.rb (assert_separately): add $: to separate process.
* test/ruby/envutil.rb (...
nagachika (Tomoyuki Chikanaga)
05:24 PM Revision 52013387 (git): merge revision(s) 39721:
* test/ruby/envutil.rb (EnvUtil.with_default_external): add for
changing Encoding.default_external without warnings.
* test/ruby/envutil.rb (EnvUtil.with_default_internal): ditto.
* test/ruby/test_io_m17n.rb: ...
nagachika (Tomoyuki Chikanaga)
04:59 PM Bug #5199 (Closed): ext/tk: RB_GC_GUARD seems to be needed in several places
This issue was solved with changeset r41351.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
tkutil.c: prevent temporary objects from GC
* ext/tk/tkutil/tkut...
nobu (Nobuyoshi Nakada)
02:20 PM Bug #5199: ext/tk: RB_GC_GUARD seems to be needed in several places
nobu (Nobuyoshi Nakada) wrote:
> Quick patch.
> ...
Nakada-san, please commit the patch.
nagai (Hidetoshi Nagai)
03:43 PM Revision c03f37d6 (git): merge revision(s) 41348:
* vm_backtrace.c: Update rdoc for Backtrace#label with @_ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:38 PM Revision e4fd9de9 (git): merge revision(s) 41347: [Backport #5048] [Backport #5465] [Backport #8319]
* ext/tk/extconf.rb: support s390x (Thanks to bkabrda) [ruby-trunk - Bug #5465]
* ext/tk/extconf.rb: apply [Backport87 - Backport #5048]
* ext/tk/lib/tk/canvas.rb, ext/tk/sample/demos-{en,jp}/{tree.rb,widget}: fix bug (Th...
nagachika (Tomoyuki Chikanaga)
02:20 PM Bug #8435 (Third Party's Issue): Can't build tcl/tk extensions after updating Debian/Ubuntu package
It depends on Ubuntu packages. The patch may be able to avoid the "current" problem,
but it cannot guarantee that it is available in the next version of Ubuntu.
If the policy of Ubuntu is changed, extconf.rb must check the Tcl/Tk pack...
nagai (Hidetoshi Nagai)
02:20 PM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
Currently, Ruby/Tk cannot support Tcl/Tk8.6. Please use Tcl/Tk8.5.
I want to add Tcl/Tk8.6 to supported version. But it is a future work.
nagai (Hidetoshi Nagai)
02:19 PM Bug #7884 (Rejected): Tkで,コマンドにforkを入れると,イベント実行時にクラッシュする
少なくとも現状では,callback 中の fork は非サポートです.
通常,callback は eventloop が走っている thread で実行されます.
しかも,callback が実行される際には Tcl 側と Ruby 側との処理が絡み合っています.
この状況でウィンドウシステムのイベント処理を行う thread が複製された時に生じることについて,
私には保証しきれません.
nagai (Hidetoshi Nagai)
02:19 PM Bug #7000 (Rejected): Tk::Scrollable の include が成功しない?
問題なく include されます.
nagai (Hidetoshi Nagai)
01:24 PM Feature #8526: gemify tk
さっき、自分のところのMac Mountain Lionでtkの以下のチュートリアルを動かしてみたら、起動はしました。
http://pub.cozmixng.org/~the-rwiki/rw-cgi.rb?cmd=view;name=Ruby%2FTk+%A5%C1%A5%E5%A1%BC%A5%C8%A5%EA%A5%A2%A5%EB
簡単なサンプルは動くのですが、
http://pub.cozmixng.org/~the-rwiki/rw-cgi.rb?c...
xibbar (Takeyuki FUJIOKA)
09:01 AM Feature #8526: gemify tk
永井さんの返事を見ると、残したいといっているように見えるので、
永井さんが「努力するので残したい!」と返信してくれるんだと思って書きます。
誰も残して欲しいとは言わないと思いますので、永井さんがそう言わないといけないと思います。
そして、チケットの更新状況やサポート状況を見て、
総合的になるせさんが判断すると思います。
そのためにはまず、チケットは全部更新して下さい。
環境がない場合はヘルプを出していただければいいと思います。
期待しているのならそう言...
xibbar (Takeyuki FUJIOKA)
12:50 AM Feature #8526: gemify tk
> 残して欲しいという意見があったとしても、メンテナが合意している場合は自分がメンテナになるつもりで反対しないと覆せないので、
> ...
了解です.卑怯かもしれませんが,私自身は削れとも残せとも主張はしません.
万が一,残して欲しいという意見が多ければ,努力します.
ちなみに,挙がっていたチケットに対する現状の概略は以下の通りです.
===============================================================...
nagai (Hidetoshi Nagai)
01:18 PM Revision cc9a7ade (git): * test/ruby/test_proc.rb (TestProc#test_block_given_method_to_proc):
run test for r41359.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
12:59 PM Bug #8524: r40755以降 No rule to make target `.ext/include/sparc64-solaris2.10/ruby/config.h でビルドできない
なるほど、ありがとうございます。
場合によっては sh -c "${var:+"command arg"}" という手もあるのかな。
knu (Akinori MUSHA)
12:47 PM Revision 62bd8db1 (git): * include/ruby/ruby.h, vm_eval.c (rb_funcall_with_block):
new function to invoke a method with a block passed
as an argument.
* string.c (sym_call): use the above function to avoid
a block sharing. [ruby-dev:47438] [Bug #8531]
* vm_insnhelper.c (vm_yield_with_cfunc): don't set block
in ...
ktsj (Kazuki Tsujimoto)
12:38 PM Revision 1720a5ba (git): * include/ruby/intern.h, proc.c (rb_method_call_with_block):
new function to invoke a Method object with a block passed
as an argument.
* proc.c (bmcall): use the above function to avoid a block sharing.
[ruby-core:54626] [Bug #8341]
* test/ruby/test_proc.rb (TestProc#test_block_persist_betw...
ktsj (Kazuki Tsujimoto)
12:31 PM Feature #8536 (Assigned): Implement is_numeric? family of methods
=begin
I think Ruby is in dire need of a convenient method for determining whether a string can be safely converted to a number. It's a trivial problem, but with no trivial solution. The most common methods include using regex, or tryin...
wardrop (Tom Wardrop)
11:56 AM Revision b7cec43c (git): Fix a indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:56 AM Revision 947ebd0a (git): * loadpath.c (RUBY_REVISION): Defined to suppress revision.h
inclusion actually. r41352 removes the dependency.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:24 AM Revision 80901356 (git): Write stdin_data only if it exists
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
09:16 AM Revision ba49a1e0 (git): * ext/objspace/objspace.c: let rdoc know about objspace methods.
Specify 'objspace' should be required. See #8537.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
08:50 AM Bug #8535 (Feedback): web secure
I'm uncertain what you expect and what you got. nobu (Nobuyoshi Nakada)
07:27 AM Bug #8535 (Rejected): web secure
svn update[svn.angosso.net]
rake db:migrate Rubyx.php_ENV=production
svn checkout http://svn.angosso.net/repos/asf/httpd/mod_fcgid/trunk mod_fcgid
angosso (Roger Mbiama Assogo)
08:44 AM Revision 089dd1a1 (git): * gc.c (ObjectSpace): is a module not a class.
* ext/objspace/objspace.c: try to include overview in rdoc,
see #8537.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
08:39 AM Revision abfcded3 (git): * gc.c: fix example of ObjectSpace.define_finalizer in overview
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
08:39 AM Bug #7698: RubyGems 2.0 has an incompatibility about installation of extension libraries
It's a completely different issue, and intended incompatibility AFAIK. nobu (Nobuyoshi Nakada)
01:36 AM Bug #7698: RubyGems 2.0 has an incompatibility about installation of extension libraries
Hello,
The following is the output of gem install rbtree on my environment (ruby 2.1.0dev (2013-06-16 trunk 41337) [x86_64-darwin10.8.0])
It seems that rbtree need to catch up with constify of RBasic::klass and RHash::ifnone for RGen...
nagachika (Tomoyuki Chikanaga)
08:08 AM Revision 3f3a618d (git): common.mk: loadpath dependencies
* common.mk (loadpath.o): $LOAD_PATH should not be affected by
the revision number.
* common.mk (dmyloadpath.o): depends on nothing except for the source
file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41352 b2dd03c8-39d4-4...
nobu (Nobuyoshi Nakada)
07:59 AM Revision c2b7ae98 (git): tkutil.c: prevent temporary objects from GC
* ext/tk/tkutil/tkutil.c: use rb_sprintf(), rb_id2str(), and
rb_intern_str() instead of rb_intern() and RSTRING_PTR() with
RB_GC_GUARD(), to prevent temporary objects from GC.
[ruby-core:39000] [Bug #5199]
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
07:08 AM Revision 6a986298 (git): Use assert_separately to inspect test failure of TestJSONGenerate#test_broken_bignum
http://fbsd.rubyci.org/~chkbuild/ruby-trunk/log/20130617T010202Z.log.html.gz#test%2F-ext-
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:41 AM Revision 0288c4be (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
05:31 AM Revision 354907d0 (git): * vm_backtrace.c: Update rdoc for Backtrace#label with @_ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
05:21 AM Revision c58dc636 (git): * ext/tk/extconf.rb: support s390x (Thanks to bkabrda) [ruby-trunk - Bug #5465]
* ext/tk/extconf.rb: apply [Backport87 - Backport #5048]
* ext/tk/lib/tk/canvas.rb, ext/tk/sample/demos-{en,jp}/{tree.rb,widget}: fix bug (Thanks to zzak) [ruby-trunk - Bug #8319]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41347...
nagai (Hidetoshi Nagai)
04:33 AM Revision 4c68aa71 (git): * tool/ifchange (until): Fix the condition, although harmless in
this case.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Akinori MUSHA
03:12 AM Bug #8534 (Third Party's Issue): crash on netgear nas du
I've had this a couple of times.
I suspect it's something to do with id3v1 and id3v1 tags.
INFO catalogue: If live, would add /media/Sound/Albums/Mozart/Complete Works/Vol 21 Organ sonatas & solos (Chorzempa a.o.)/cd 1/07 - Church...
r1pp3r (roger day)
02:54 AM Revision 17be9e97 (git): * gc.c (gc_mark_maybe): added. check `is_pointer_to_heap()' and
type is not T_ZOMBE.
* gc.c: use `gc_mark_maybe()'. T_ZOMBIE objects should not be pushed
to the mark stack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41345 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
01:01 AM Revision c3e68ef0 (git): skip new tests until fixed
* test/ruby/test_proc.rb, test/ruby/test_symbol.rb: skip new tests
until fixed, for the time being.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:01 AM Revision b69699a0 (git): test/ruby/test_symbol.rb: tests for [Bug #8531]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:01 AM Revision 7d753a99 (git): test/ruby/test_proc.rb: tests for [Bug #8341]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

06/16/2013

10:57 PM Revision f4b295da (git): * bignum.c (bary_small_lshift): Renamed from bdigs_small_lshift.
(bary_small_rshift): Renamed from bdigs_small_rshift.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:39 PM Revision 407017af (git): * 2013-06-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:39 PM Revision 12a9e3be (git): * bignum.c (absint_numwords_bytes): Removed.
(rb_absint_numwords): Don't call absint_numwords_bytes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:17 PM Bug #8532: tool/runruby.rb:70: warning: Insecure world writable dir /usr/local in PATH, mode 040777
Remove write-bits:
sudo chmod go-w /usr/local
or make it sticky:
sudo chmod +t /usr/local
nobu (Nobuyoshi Nakada)
03:02 PM Bug #8532 (Closed): tool/runruby.rb:70: warning: Insecure world writable dir /usr/local in PATH, mode 040777
this was my fault (probably), thanks nobu for checking! zzak (zzak _)
02:56 PM Bug #8532: tool/runruby.rb:70: warning: Insecure world writable dir /usr/local in PATH, mode 040777
i have no idea, what should it be? zzak (zzak _)
02:52 PM Bug #8532 (Feedback): tool/runruby.rb:70: warning: Insecure world writable dir /usr/local in PATH, mode 040777
Then it's an intended warning.
It's considered dangerous to include a world-writable directory or its descendent directory in PATH.
Why is the system-wide directory world-writable?
nobu (Nobuyoshi Nakada)
02:42 PM Bug #8532: tool/runruby.rb:70: warning: Insecure world writable dir /usr/local in PATH, mode 040777
drwxrwxrwx 21 root admin 714 Jun 14 00:00 /usr/local
re: attachment, try now!
zzak (zzak _)
02:08 PM Bug #8532: tool/runruby.rb:70: warning: Insecure world writable dir /usr/local in PATH, mode 040777
No log attached.
What does `ls -dl /usr/local' show?
nobu (Nobuyoshi Nakada)
11:01 AM Bug #8532 (Closed): tool/runruby.rb:70: warning: Insecure world writable dir /usr/local in PATH, mode 040777
i've attached the full log zzak (zzak _)
02:16 PM Revision 22b9ce10 (git): * bignum.c (BARY_ADD): New macro.
(BARY_SUB): Ditto.
(BARY_MUL): Ditto.
(BARY_DIVMOD): Ditto.
(BARY_ZERO_P): Ditto.
(absint_numwords_generic): Use these macros.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:59 PM Revision 50794b32 (git): * bignum.c (bary_2comp): Extracted from get2comp.
(integer_unpack_num_bdigits): Extracted from
rb_integer_unpack_internal.
(bary_unpack_internal): Renamed from bary_unpack and support
INTEGER_PACK_2COMP.
(bary_unpack): New function to validate arguments and invoke
bary_unpack_...
akr (Akira Tanaka)
12:12 PM Feature #8526: gemify tk
nagai (Hidetoshi Nagai) wrote:
> 英語圏は無視して広く意見を聞くことなく,もう決定ということですか?
> ...
残して欲しいという意見があったとしても、メンテナが合意している場合は自分がメンテナになるつもりで反対しないと覆せないので、
そのような人が立候補するか判断出来るだけの材料は集めてから、というつもりでした。
そこまで急いでいるわけでもないので、残して欲しいという意見が多ければ永井さんが頑張るという方向もあるでしょう。
...
naruse (Yui NARUSE)
11:04 AM Bug #7698: RubyGems 2.0 has an incompatibility about installation of extension libraries
I can still reproduce this on RubyGems 2.0.3 with trunk:
ruby 2.1.0dev (2013-06-16 trunk 41328) [x86_64-darwin12.3.0]
To repro: `gem install rbtree`
Is this a bug in rbtree?
zzak (zzak _)
11:02 AM Feature #8461: Easy way to disable certificate checking in XMLRPC::Client
Done. kou (Kouhei Sutou)
11:02 AM Feature #8461 (Closed): Easy way to disable certificate checking in XMLRPC::Client
This issue was solved with changeset r41329.
Herwin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* NEWS (XMLRPC::Client#http): Add.
[ruby-core:55197] [Feature...
kou (Kouhei Sutou)
09:53 AM Revision ecabbf1b (git): * internal.h (INTEGER_PACK_2COMP): Defined.
(rb_integer_pack_2comp): Removed.
* bignum.c (bary_pack): Support INTEGER_PACK_2COMP.
(rb_integer_pack): Invoke bary_pack directly.
(rb_integer_pack_2comp): Removed.
(rb_integer_pack_internal): Ditto.
(absint_numwords_generic): ...
akr (Akira Tanaka)
08:49 AM Revision fc3fbc14 (git): * bignum.c (absint_numwords_generic): rb_funcall invocations removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:24 AM Revision a70a7ea2 (git): fix typo of r41331
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:56 AM Revision 107dbe52 (git): fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:10 AM Revision 35b615cc (git): Ignore tool/config.guess and tool/config.sub
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:10 AM Revision 3f7647f9 (git): * tool/config_files.rb: use URI.read to allow it runs with Ruby 1.8.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:26 AM Bug #8037: rdoc issues preventing docs generating after ruby was compiled
this is still not fixed in https://github.com/ruby/ruby/blob/ruby_2_0_0/lib/rdoc.rb#L67 any chance in backporting it to ruby 2.0.0? mpapis (Michal Papis)
05:33 AM Revision 552c0c5a (git): * bignum.c (bary_pack) Extracted from rb_integer_pack_internal.
(absint_numwords_generic): Use bary_pack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:02 AM Revision ca4578d9 (git): * NEWS (XMLRPC::Client#http): Add.
[ruby-core:55197] [Feature #8461]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
01:41 AM Revision 7a58763d (git): * bignum.c (bary_add): New function.
(bary_zero_p): Extracted from bigzero_p.
(absint_numwords_generic): Use bary_zero_p and bary_add.
(bary_mul): Fix an argument for bary_mul_single.
(bary_divmod): Use size_t for arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
akr (Akira Tanaka)
12:48 AM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
duerst (Martin Dürst) wrote:
> Checking Content-Length can help detect cases where the connection is
> ...
By default Net::HTTP#read wait to read content of the size which is specified with CONTENT_LENGTH, or chunked encoding.
Theref...
naruse (Yui NARUSE)

06/15/2013

11:58 PM Bug #8508: Invalid byte sequence in UTF-8 (ArgumentError) in win32/registry.rb
So it seems to be a problem with the used shell,
not the terminal. I've now tried Console2 running
the default Windows shell and the ZSH shell from the
Cygwin environment and using the Windows shell it
works, but using ZSH/Cygwin it ...
thasmo (Thomas Deinhamer)
11:56 PM Revision d631642a (git): * bignum.c (bigdivrem): Use a BDIGIT variable to store the return
value of bigdivrem_single.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:46 PM Revision 00a95f15 (git): * bignum.c (bary_divmod): New function.
(absint_numwords_generic): Use bary_divmod.
(bigdivrem_num_extra_words): Extracted from bigdivrem.
(bigdivrem_single): Ditto.
(bigdivrem_normal): Ditto.
(BIGDIVREM_EXTRA_WORDS): Defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
akr (Akira Tanaka)
08:53 PM Revision 3a0a69fe (git): * gc.c: Fixup around GC by MALLOC.
Add allocate size to malloc_increase before GC
for updating limit in after_gc_sweep.
Reset malloc_increase into garbage_collect()
for preventing GC again soon.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
Masaya Tarui
08:18 PM Revision 994ed8db (git): * gc.c : add some colums to more detail profile.
new colums: Allocated size, Prepare Time, Removing Objects, Empty Objects
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masaya Tarui
05:14 PM Revision 1ef4fecd (git): merge revision(s) 41245: [Backport #8513]
* array.c (FL_SET_EMBED): shared object is frozen even when get
unshared.
* array.c (rb_ary_modify): ARY_SET_CAPA needs unshared array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41323 b2dd03c8-3...
nagachika (Tomoyuki Chikanaga)
05:06 PM Revision 6477616c (git): * gc.c (gc_prof_timer_stop): Merge function codes of GC_PROFILE_MORE_DETAIL and !GC_PROFILE_MORE_DETAIL.
* gc.c (gc_prof_mark_timer_start): Ditto.
* gc.c (gc_prof_mark_timer_stop): Ditto.
* gc.c (gc_prof_sweep_slot_timer_start): Ditto.
* gc.c (gc_prof_sweep_slot_timer_stop): Ditto.
* gc.c (gc_prof_set_malloc_...
Masaya Tarui
04:55 PM Revision e5989985 (git): merge revision(s) 39733: [Backport #8527]
* insns.def: fix condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:31 PM Revision 9fb5a1cd (git): merge revision(s) 41266: [Backport #8517]
* ext/socket/extconf.rb: Enable RFC 3542 IPV6 socket options for OS X
10.7+. [ruby-trunk - Bug #8517]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:14 PM Revision 113d3599 (git): merge revision(s) 41300: [Backport #8489]
* compile.c (rb_iseq_compile_node): fix location of a `trace'
instruction (b_return event).
[ruby-core:55305] [ruby-trunk - Bug #8489]
(need a backport to 2.0.0?)
* test/ruby/test_settracefunc.rb: a...
nagachika (Tomoyuki Chikanaga)
03:58 PM Revision e5633967 (git): merge revision(s) 41315: [Backport #8436]
vm_eval.c: suppress warning
* vm_eval.c (eval_string_with_cref): move absolute_path inside
non-exception block, since it is used only there. [Bug #8436]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41318 b...
nagachika (Tomoyuki Chikanaga)
03:36 PM Revision e63d45a5 (git): merge revision(s) 40759,40966,41305,41306: [Backport #8436]
vm_eval.c: suppress warning
* vm_eval.c (eval_string_with_cref): narrow a variable scope into the
EXEC_TAG block to suppress -Wclobberd warning.
* vm_eval.c (eval_string_with_cref): propagate absolute path from the
...
nagachika (Tomoyuki Chikanaga)
03:31 PM Revision 35573819 (git): * 2013-06-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:31 PM Revision 74868d8b (git): vm_eval.c: suppress warning
* vm_eval.c (eval_string_with_cref): move absolute_path inside
non-exception block, since it is used only there. [Bug #8436]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:52 PM Revision 392def5b (git): * bignum.c (bary_sub): New function.
(absint_numwords_generic): Use bary_sub.
(bigsub_core): Skip unnecessary copy.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:32 PM Revision 988c22ea (git): * bignum.c (bary_mul): New function.
(absint_numwords_generic): Use bary_mul.
(bary_mul_single): Extracted from bigmul1_single.
(bary_mul_normal): Extracted from bigmul1_normal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:15 AM Revision d1eea69b (git): * bignum.c (bary_unpack): Extracted from rb_integer_unpack_internal.
(absint_numwords_generic): Use bary_unpack.
(roomof): Defined.
(bdigit_roomof): Defined.
(BARY_ARGS): Defined.
(bary_unpack): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:35 AM Revision 78a6a6ca (git): * bignum.c (absint_numwords_bytes): Make it static.
(absint_numwords_small): Ditto.
(absint_numwords_generic): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:15 AM Revision 919cc1e5 (git): * bignum.c (bigmul1_normal): Shrink the result Bignum length.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
06:38 AM Bug #8507: Keyword splat does not convert arg to Hash
I'm glad this is getting addressed. Handling nil values is one of the most tiring and error-prone aspects of coding in Ruby. Much has been said about the mistake of introducing NULL references in languages (http://www.infoq.com/presentat... kainosnoema (Evan Owen)
01:20 AM Revision 54a22fb8 (git): * ext/bigdecimal/bigdecimal.c: Update overview formatting of headers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
01:20 AM Feature #8526: gemify tk
英語圏は無視して広く意見を聞くことなく,もう決定ということですか?
私は決定には従うとは申しましたが,積極的に賛成したわけではないのですが…
まぁ,「尋ねたところで積極的に残してほしいという意見もなく,
除外に賛成する意見が大多数だろうから,尋ねるだけ時間の無駄」という
判断なのかもしれませんね.
# 歴史的経緯で,動作の必要上,非公開 API まで使ってきていたので,
# 実のところ,現状がどこまで公開 API のみに切り離せているのかを
# 明...
nagai (Hidetoshi Nagai)
01:19 AM Revision 184eaedb (git): * ext/bigdecimal/bigdecimal.gemspec: Update authors
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
01:03 AM Revision 6193a314 (git): * bignum.c (bdigs_small_rshift): Extracted from big_rshift.
(bigdivrem): Use bdigs_small_rshift.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)

06/14/2013

11:37 PM Revision f3b537c5 (git): vm_eval.c: __dir__ in eval
* vm_eval.c (eval_string_with_cref): propagate absolute path from the
binding if it is given explicitly. patch by Gat (Dawid Janczak) at
[ruby-core:55123]. [Bug #8436]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41306 b2dd03c...
nobu (Nobuyoshi Nakada)
11:37 PM Revision b135b8d0 (git): test_method.rb: use realpath
* test/ruby/test_method.rb (TestMethod#test___dir__): $LOAD_PATH
entries are expanded to real paths.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:23 PM Bug #8524: r40755以降 No rule to make target `.ext/include/sparc64-solaris2.10/ruby/config.h でビルドできない
さとうふみやす @ OSSTech です。

At Fri, 14 Jun 2013 21:36:17 +0900,
knu (Akinori MUSHA) wrote:
> ${var:+val} がサポートされていないってのはちょっとした驚きでした。少なくともSUSv2/UNIX98では定義されているので。

Solaris 10 (それより古いのも含む) の /bin/sh は ${var:+val} は
サポートしています。ただし、...
fumiyas (Fumiyasu SATOH)
09:36 PM Bug #8524: r40755以降 No rule to make target `.ext/include/sparc64-solaris2.10/ruby/config.h でビルドできない
${var:+val} がサポートされていないってのはちょっとした驚きでした。少なくともSUSv2/UNIX98では定義されているので。
OpenIndianaだと/bin/shはksh93になっているようで、エラーは出ませんでした。
後学のために教えていただきたいのですが、 ${var+val} だとOKでしょうか。
あと、 ${var:-val} / ${var-val} もよく使うので気になります…。
knu (Akinori MUSHA)
08:23 PM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
Checking Content-Length can help detect cases where the connection is
closed prematurely. I'm not sure how important this is in the
application where the error was discovered, but it's well known as a
problem in HTTP in general...
duerst (Martin Dürst)
07:03 PM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
Maybe I misunderstood, why is the assertion is needed?
I feel it should be simply removed.
Moreover chunked encoded response doesn't have Content-Length header.
So it sounds nonsense.
naruse (Yui NARUSE)
05:41 PM Revision 45150051 (git): * 2013-06-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:41 PM Revision 2b6cab54 (git): * bignum.c (bdigs_small_lshift): Extracted from big_lshift.
(bigdivrem): Use bdigs_small_lshift.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:41 PM Feature #8526: gemify tk
nagai (Hidetoshi Nagai) wrote:
> 手を付けていないチケットについて,
> ...
ご理解ありがとうございます。
今後のメンテナンスはどのようになさいますか?
githubやその他のリポジトリサービスに置くなり、自サイトに置くなりとか、
例えば github で ruby/tk に置くならばこちらで作業出来ます。
また、gem にするなら gem 化も協力できます。
naruse (Yui NARUSE)
01:11 PM Feature #8526: gemify tk
shyouhei (Shyouhei Urabe) wrote:
> naruse (Yui NARUSE) wrote:
> ...
定量化可能な指標の一つとして出しました。
脆弱性を出してた頃のzlibなんかは小さくても消したかったので、サイズだけを見ているわけでもありません。
また、nkfはわたしがアクティブではなくなったら消えることになるだろうという感覚はあります。
iconvが消えてるのにnkfが残っているのは端的にはわたしのわがままですし。
naruse (Yui NARUSE)
12:55 PM Feature #8526: gemify tk
手を付けていないチケットについて,
一部はRejectできそうだとか,一部は今は手が出せないとかはありますが,
thread回りとかGC回りとかの各部の変化の影響がどこまで及んでいるか,
あるいは影響はないのかを測りかねていて,断言できない状況にあります.
いずれにしても手が回っていないことは事実ですので,
私の方から「残してくれ」と主張する権利はないでしょう.
決定には粛々と従います.
nagai (Hidetoshi Nagai)
11:50 AM Feature #8526: gemify tk
naruse (Yui NARUSE) wrote:
> そもそも tk はサイズベースで言えば、約69MBのRubyリポジトリのうち、8.8MBを占める巨大なライブラリでかつ、
えー。それを言っちゃうの? Rubyレポジトリの半分はencだしnkfだってけっこうでかくないですか?
zsh % du -sh enc ext/*/ lib/*/ . | fgrep M
34M enc
2.1M ext/nkf/
...
shyouhei (Shyouhei Urabe)
11:30 AM Feature #8526: gemify tk
naruse (Yui NARUSE) wrote:
> > tkと同じタイミングで私が消極的メンテナをしているcursesも削除したいと思いますが、どうでしょうか。
> ...
はい、cursesのチケットは新たに起票するつもりですが、永井さんからすると何でtkだけが削除されるのかという
印象を受けられるかな、と。
全体的な流れとして、標準添付ライブラリはなるべくスリムにして、依存関係のないものはthird party gem
にしようという背景があると理解...
shugo (Shugo Maeda)
11:19 AM Feature #8526: gemify tk
> tk を Ruby のリポジトリから外しませんか。
賛成です。
Mac でも tk のビルドエラーで ruby のビルドが止まってしまうので、
いつもオプションを付けてくださいと言って回ってます。
https://gist.github.com/Watson1978/5778104

> ...
tk 用のリポジトリを github の https://github.com/ruby の下に作成することも可能です。
今後は github など...
hsbt (Hiroshi SHIBATA)
11:12 AM Feature #8526: gemify tk
shugo (Shugo Maeda) wrote:
> naruse (Yui NARUSE) wrote:
> ...
ありがとうございます。
> tkと同じタイミングで私が消極的メンテナをしているcursesも削除したいと思いますが、どうでしょうか。
> ...
これは tk のスレであって、標準ライブラリ gem 化のスレではないので、curses については他のスレでお願いします。
まぁ、メンテナが外すといえば基本的には外れるでしょうが。
...
naruse (Yui NARUSE)
10:53 AM Feature #8526: gemify tk
naruse (Yui NARUSE) wrote:
> tk を Ruby のリポジトリから外しませんか。
(snip)
> ...
賛成です。
tkと同じタイミングで私が消極的メンテナをしているcursesも削除したいと思いますが、どうでしょうか。
UI系のライブラリは標準で含まれている必要はないかなと思います。
gem化することでRuby本体とメンテナンスサイクルを分けられるのはメリットでもあると思いますし(私はあまりcursesやる気ないんですが...
shugo (Shugo Maeda)
10:22 AM Feature #8526 (Closed): gemify tk
tk を Ruby のリポジトリから外しませんか。
そもそも tk はサイズベースで言えば、約69MBのRubyリポジトリのうち、8.8MBを占める巨大なライブラリでかつ、
ビルドに際して多くのライブラリを必要とするため、従前より周囲の目が厳しいライブラリでありましたが、
これまでは精力的にメンテされている永井さんに敬意を払って、本格的な削除の提案はされて来ませんでした。
しかし、最近は活動が鈍り、#5199 #5465 #5686 #7000 #788...
naruse (Yui NARUSE)
12:05 PM Revision 2f407300 (git): * bignum.c (bigdivrem): Reduce number of digits before bignew() for div.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:13 AM Revision 48bfbb57 (git): * bignum.c (bigdivrem): Use bignew when ny == 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:27 AM Bug #8525 (Rejected): Error? in pathname :: Pathname.new(`pwd`.chomp).basename.realpath
Pathname.new("/tmp").basename returns "tmp", and expanded result from "/tmp" is "/tmp/tmp".
If you want pathname which may not exist, use Pathname#realdirpath instead.
nobu (Nobuyoshi Nakada)
04:37 AM Bug #8525 (Rejected): Error? in pathname :: Pathname.new(`pwd`.chomp).basename.realpath
[code]
Dir.chdir '/tmp'
p = Pathname.new(`pwd`.chomp).basename.realpath
Errno::ENOENT: No such file or directory - /tmp/tmp
from (irb):17:in `realpath'
from (irb):17:in `realpath'
from (irb):17
from /usr/bin/irb:12:in `<main>'...
dimytch (Dimitri Peka)
09:54 AM Revision f41b284f (git): * compile.c (rb_iseq_compile_node): fix location of a `trace'
instruction (b_return event).
[ruby-core:55305] [ruby-trunk - Bug #8489]
(need a backport to 2.0.0?)
* test/ruby/test_settracefunc.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41300 b2dd03c8-39d4-4d8f-98ff-823...
ko1 (Koichi Sasada)
09:23 AM Revision 87a120fb (git): * class.c, include/ruby/ruby.h: add write barriers for T_CLASS,
T_MODULE, T_ICLASS.
* constant.h: constify rb_const_entry_t::value and file to detect
assignment.
* variable.c, internal.h (rb_st_insert_id_and_value, rb_st_copy):
added. update table with write barrier.
* method.h: constify some var...
ko1 (Koichi Sasada)
05:35 AM Revision 4dd06525 (git): * NEWS: add a note for Module#using.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
05:10 AM Revision 632ed84c (git): * configure.in: download missing config files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:10 AM Revision 9f60d842 (git): * Makefile.in (after-update): non-configure platforms don't need
config files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:10 AM Revision 78963f8e (git): * tool/get-config_files: show downloading message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:40 AM Revision a53cb1a0 (git): update config files
* .travis.yml (before_script): update config files.
* common.mk ($(srcdir)/tool/config.{guess,sub}): use get-config_files.
* tool/config_files.rb: split get-config_files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41294 b2dd03c8...
nobu (Nobuyoshi Nakada)
04:01 AM Revision bbe047d4 (git): download config files
* common.mk (update-config_files): rule to download config files.
* tool/config.guess, tool/config.sub: remove and download from the
upstream.
* tool/get-config_files: download config files from GNU.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
03:21 AM Revision 19faee19 (git): ruby.h: suppress warnings
* include/ruby/ruby.h (RUBY_SAFE_LEVEL_CHECK): suppress warnings
"left-hand operand of comma expression has no effect", on gcc 4.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:19 AM Feature #8422: add Enumerable#reverse_sort and Enumerable#reverse_sort_by
my idea would be this, for ruby it may be cood if its converted into C++ code
~~~ruby
module Enumerable
def reverse_sort(&block)
block ||= proc {|x,y| x <=> y }
sort {|x,y| - block.call(x,y)}
end

def reverse_sor...
Hanmac (Hans Mackowiak)
01:33 AM Feature #8422: add Enumerable#reverse_sort and Enumerable#reverse_sort_by
drbrain (Eric Hodel) wrote:
> Neither `Prime.each.reverse_sort.take 10` nor `Prime.each.sort.take 10` will return as there is no last value for infinite streams.
Of course. But you are aware that `Enumerable` has a `sort` method that...
marcandre (Marc-Andre Lafortune)
12:56 AM Revision 5ffd3ca1 (git): fix a typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e shugo (Shugo Maeda)
12:53 AM Revision 73a229c3 (git): * NEWS: add notes for $SAFE.
* doc/security.rd: remove the description of $SAFE=4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
12:37 AM Feature #8520: Distinct to_s methods for Array, Hash...
Thanks for the responses guys!
@matz and boris:
I deliberately left that out in my first message, when I probably shouldn't: Of course the issue can be overcome quite easily: as you said, just redefine inspect instead of to_s or alia...
LFDM (Gernot Höflechner)
12:23 AM Feature #8461: Easy way to disable certificate checking in XMLRPC::Client
Hello,

On Fri, Jun 14, 2013 at 12:06 AM, naruse (Yui NARUSE) <naruse@airemix.jp> wrote:
> Could you edit NEWS to introduce the new feature?

+1
zzak (zzak _)
12:06 AM Feature #8461 (Assigned): Easy way to disable certificate checking in XMLRPC::Client
kou (Kouhei Sutou) wrote:
> I've added XMLRPC::Client#http. Use it like:
> ...
Could you edit NEWS to introduce the new feature?
naruse (Yui NARUSE)

06/13/2013

11:25 PM Feature #8520: Distinct to_s methods for Array, Hash...
It could be a good idea to specialize `to_s` for structures.
What would be the downside of having Array#to_s call `to_s` on its elements while Array#inspect would call `inspect`? This would be the same idea as Array#eql? comparing wit...
marcandre (Marc-Andre Lafortune)
01:10 PM Feature #8520: Distinct to_s methods for Array, Hash...
According to my feelings, in your example, class A shirks its duty of defining
sensible #inspect, and the ugly ouput is a reminder of that. I feel that 2.0
behavior is more correct, in the sense that the concerns of string conversion v...
Anonymous
09:54 AM Feature #8520 (Feedback): Distinct to_s methods for Array, Hash...
Ruby 2.0 uses #to_s as an alias to #inspect, so redefine #inspect instead of #to_s for your class.
This might be controversial, so I don't close this issue.
Matz.
matz (Yukihiro Matsumoto)
11:08 PM Feature #8461: Easy way to disable certificate checking in XMLRPC::Client
I've added XMLRPC::Client#http. Use it like:
c = XMLRPC::Client.new(....)
c.http.verify_mode = OpenSSL::SSL::VERIFY_NONE
kou (Kouhei Sutou)
11:07 PM Feature #8461 (Closed): Easy way to disable certificate checking in XMLRPC::Client
This issue was solved with changeset r41286.
Herwin, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/xmlrpc/client.rb (XMLRPC::Client#http): Add reader for ra...
kou (Kouhei Sutou)
10:49 PM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
I think that this problem should be fixed in net/http. So I change the assigned to naruse. kou (Kouhei Sutou)
12:29 AM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
drbrain (Eric Hodel) wrote:
> Here is a possible patch that only checks Content-Length if the Content-Encoding was handled by Net::HTTP. Unfortunately I don't have an XMLRPC service available to test it against.
I'm sorry but I don't...
kou (Kouhei Sutou)
12:24 AM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
drbrain (Eric Hodel) wrote:
> This patch updates the 308 patch to update the Content-Length in Response instead of Inflater and fixes the variable name ("deflated length" is the original value, but only when deflate-encoded). It also ad...
kou (Kouhei Sutou)
12:15 AM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
drbrain (Eric Hodel) wrote:
> Consider this example:
> ...
I think that we don't care about the case. In the case, the user must handle Content-Encoding by himself. The user should disable auto-decode feature.
I think that we care a...
kou (Kouhei Sutou)
10:46 PM Bug #5774 (Closed): [PATCH] xmlrpc client handling cookies
This issue was solved with changeset r41285.
Roman, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* lib/xmlrpc/client.rb (XMLRPC::Client#parse_set_cookies): Suppo...
kou (Kouhei Sutou)
09:30 PM Bug #8524 (Closed): r40755以降 No rule to make target `.ext/include/sparc64-solaris2.10/ruby/config.h でビルドできない
This issue was solved with changeset r41280.
Naohisa, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
no alternate value expansion
* configure.in (opt-dir), tool/i...
nobu (Nobuyoshi Nakada)
02:57 PM Bug #8524 (Closed): r40755以降 No rule to make target `.ext/include/sparc64-solaris2.10/ruby/config.h でビルドできない
r40755以降、Solarisでは、以下のように .ext/include/アーキテクチャ/ruby/config.h が作成されません。
原因は、r40755にて以下の行が./tool/ifchange に追加されたためです。
@@ -30,6 +37,7 @@
rm -f "$temp"
else
echo "$target updated"
+ ${keepsuffix:+ mv -f "$target"...
ngoto (Naohisa Goto)
06:18 PM Bug #8521 (Closed): bootstrap tests failure caused by $SAFE=4
luislavena (Luis Lavena) wrote:
> It seems that the change of $SAFE=4 to raise ArgumentError is causing bootstrap tests to fail:
I've fixed it in r41269. Thanks.
shugo (Shugo Maeda)
01:19 AM Bug #8521 (Closed): bootstrap tests failure caused by $SAFE=4
Hello,
It seems that the change of $SAFE=4 to raise ArgumentError is causing bootstrap tests to fail:
http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20130612T153301Z.log.html.gz#btest
And also on Windows CI:
http://ci.rubyi...
luislavena (Luis Lavena)
03:15 PM Revision 34f25ffa (git): * 2013-06-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:15 PM Revision 65575bab (git): * bignum.c (bigdivrem): Zero test condition simplified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:44 PM Revision 51c43dba (git): * ext/bigdecimal/*: improve documentation, nodoc samples with @mrkn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
02:07 PM Revision 2b83a57f (git): * lib/xmlrpc/client.rb (XMLRPC::Client#http): Add reader for raw
Net::HTTP. [ruby-core:55197] [Feature #8461]
Reported by Herwin Weststrate. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
01:46 PM Revision 16d5c806 (git): * lib/xmlrpc/client.rb (XMLRPC::Client#parse_set_cookies): Support
multiple names in a response. [ruby-core:41711] [Bug #5774]
Reported by Roman Riha. Thanks!!!
* test/xmlrpc/test_client.rb (XMLRPC::ClientTest#test_cookie_override):
Add a test of the above case.
git-svn-id: svn+ssh://ci.ruby-lang....
Sutou Kouhei
01:36 PM Revision 102e2cd5 (git): * lib/xmlrpc/client.rb (XMLRPC::Client#parse_set_cookies): Use
guard style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
01:12 PM Revision 4b526701 (git): fileutils.rb: fix traversal loop
* lib/fileutils.rb (FileUtils#rmdir): fix traversal loop, not trying
remove same directory only.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:03 PM Revision d479419a (git): test_fileutils.rb: parents option
* test/fileutils/test_fileutils.rb (TestFileUtils#test_rmdir): add
assertions for parents option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:02 PM Revision b4bafcb4 (git): Use ny instead of RBIGNUM_LEN(y).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:30 PM Revision f28ec8da (git): no alternate value expansion
* configure.in (opt-dir), tool/ifchange: get rid of "alternate value"
expansion for legacy sh. [ruby-dev:47420] [Bug #8524]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:30 PM Revision e6226e2c (git): * ChangeLog: fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:26 PM Revision 63dd3e7e (git): * bignum.c (bigdivrem): Refactored to use ALLOCV_N for temporally
buffers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:56 AM Revision 138bc4c0 (git): * bignum.c (integer_unpack_num_bdigits_generic): reorder terms (but not
changed the intention of the expression) because VC++ reports a
warning for it. reported by ko1 via IRC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
09:54 AM Revision 3e3080ef (git): * test/ruby/test_thread.rb (test_thread_local_security): Don't create
an unused thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:35 AM Revision db3b317c (git): * bignum.c (bigdivrem): Use nlz.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:21 AM Bug #8523 (Closed): intermittent unit test failure in test_timeout.rb results in build failures
This bug was found in 1.9.3-p392 from fedora. About 20% of our koji builds failed with unit test failures originating in test_timeout.rb.
The following build log shows this problem:
~~~
54) Failure:
test_timeout(TestTimeout) [/bu...
cyleratamzn (Cyle Riggs)
07:33 AM Revision 392d7a79 (git): bignum.c: suppress warnings
* bignum.c (integer_unpack_num_bdigits_generic): suppress "implicit
conversion shortens 64-bit value into a 32-bit value" warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:13 AM Bug #8522 (Closed): r41264 causes "implicit conversion loses integer precision" on clang
This issue was solved with changeset r41267.
Eric, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* bignum.c (integer_unpack_num_bdigits_small): Fix a comple error...
akr (Akira Tanaka)
05:29 AM Bug #8522: r41264 causes "implicit conversion loses integer precision" on clang
This patch changes int nlp_bits to size_t nlp_bits, but I don't know enough about bignum.c to know if this is appropriate. drbrain (Eric Hodel)
05:28 AM Bug #8522 (Closed): r41264 causes "implicit conversion loses integer precision" on clang
=begin
compiling ../trunk/bignum.c
../trunk/bignum.c:1128:46: error: implicit conversion loses integer precision:
'unsigned long' to 'int' [-Werror,-Wshorten-64-to-32]
*nlp_bits_ret = num_bdigits * BITSPERDIG - num_...
drbrain (Eric Hodel)
05:51 AM Revision 3dbf227e (git): ruby.h: safe_level check
* include/ruby/ruby.h (RUBY_SAFE_LEVEL_CHECK): check constant safe
level at compile time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:44 AM Revision 0e76c140 (git): eval.c: use local variable
* eval.c (make_exception): use local variable for argv[0].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:41 AM Revision 1474dd06 (git): * test/-ext-/test_printf.rb, test/rss/test_parser.rb,
test/ruby/test_array.rb, test/ruby/test_hash.rb,
test/ruby/test_m17n.rb, test/ruby/test_marshal.rb,
test/ruby/test_object.rb, test/ruby/test_string.rb: don't use
untrusted?, untrust, and trust to avoid warnings in case $VERBOSE is
...
shugo (Shugo Maeda)
05:33 AM Bug #8508: Invalid byte sequence in UTF-8 (ArgumentError) in win32/registry.rb
'ruby' is not installed in my Cygwin environment, but Vagrant
has an embedded version of ruby so I ran the command using it.
> cd /cygdrive/c/HashiCorp/Vagrant/embedded/bin
> ...
Which gives the output: UTF-8
Not sure if this is ...
thasmo (Thomas Deinhamer)
02:14 AM Bug #8508: Invalid byte sequence in UTF-8 (ArgumentError) in win32/registry.rb
> I'm running the App (Vagrant) using Cygwin on the mintty.exe terminal.
It sounds root cause.
> ...
Thanks.
Could you show following result?
ruby -e'puts Encoding.locale_charmap'
naruse (Yui NARUSE)
05:14 AM Bug #8115: make install DESTDIR=/my/install/path fails
nobu (Nobuyoshi Nakada) wrote:
> @jstribny, how did you configure p214?
Please see Fedora Ruby's build log: http://kojipkgs.fedoraproject.org//packages/ruby/2.0.0.195/8.fc20/data/logs/i686/build.log
vo.x (Vit Ondruch)
03:20 AM Revision 90026ab5 (git): Refine debug code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:01 AM Revision c8151d12 (git): * bootstraptest/test_autoload.rb, bootstraptest/test_method.rb:
remove tests for $SAFE=4.
* lib/pp.rb: use taint instead of untrust to avoid warnings when
$VERBOSE is set to true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shugo (Shugo Maeda)
12:30 AM Revision 23ab11f1 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)

06/12/2013

11:34 PM Feature #8481 (Closed): Module#using
This issue was solved with changeset r41261.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* eval.c (mod_using): new method Module#using, which activates
...
shugo (Shugo Maeda)
11:20 PM Feature #8468 (Closed): Remove $SAFE
This issue was solved with changeset r41259.
Shugo, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* safe.c (rb_set_safe_level, safe_setter): raise an ArgumentErro...
shugo (Shugo Maeda)
09:54 PM Bug #8514: Rounding off error
Sorry.. moment of stupidity. manojtc (Jonam Rakesardnahc)
07:00 AM Bug #8514 (Rejected): Rounding off error
No, Ruby correctly rounds the imprecise value of the IEEE floating point number:
$ ruby -e 'puts "%0.30f" % (10/3.0)'
3.333333333333333481363069950021
$ ruby -e 'puts "%0.30f" % (11/3.0)'
3.666666666666666518636930049979
Please ...
drbrain (Eric Hodel)
01:08 AM Bug #8514 (Rejected): Rounding off error
The expression (10/3.0) returns "3.3333333333333335". It should actually be "3.3333333333333333".
The expression (11/3.0) returns "3.6666666666666665". It should actually be "3.6666666666666667".
(13/3) is evaluated correctly though.
manojtc (Jonam Rakesardnahc)
09:13 PM Revision 2b1c2b72 (git): * bignum.c (integer_unpack_num_bdigits_small): Fix a comple error on
clang -Werror,-Wshorten-64-to-32
Reported by Eric Hodel. [ruby-core:55467] [Bug #8522]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:41 PM Feature #8520 (Feedback): Distinct to_s methods for Array, Hash...
I apologize if something like this has already been proposed in the past, if it was, I can't find it at the moment.
Ruby 2.0 rightfully changed to behaviour of inspect (not delegating to to_s anymore), as inspect was effectively disab...
LFDM (Gernot Höflechner)
08:32 PM Revision d3412765 (git): * ext/socket/extconf.rb: Enable RFC 3542 IPV6 socket options for OS X
10.7+. [ruby-trunk - Bug #8517]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
04:41 PM Bug #8518 (Closed): assertion failed in rb_ary_sort_bang
This issue was solved with changeset r41253.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
array.c: fix false assertions
* array.c (rb_ary_sort_bang): ...
nobu (Nobuyoshi Nakada)
12:58 PM Bug #8518 (Closed): assertion failed in rb_ary_sort_bang
-DARRAY_DEBUG の続きです。
test/ruby/test_array.rb の test_sort! の以下に相当する部分で assertion failed になります。
% ./miniruby -e 'a=Array[4, 1, 2, 3]; a.sort! {|m, n| a.replace([9, 8, 7]); m <=> n }'
miniruby: .../ruby/array.c:2336: rb_ary_sort_ban...
znz (Kazuhiro NISHIYAMA)
03:18 PM Revision 80a474a1 (git): * 2013-06-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:18 PM Revision aaa1461d (git): * bignum.c (rb_integer_unpack_2comp): New function.
(rb_integer_unpack_internal): Extracted from rb_integer_unpack and
nlp_bits_ret argument added.
(integer_unpack_num_bdigits_small): nlp_bits_ret argument added to
return number of leading padding bits.
(integer_unpack_num_bdigits...
akr (Akira Tanaka)
03:03 PM Revision 3190cb8f (git): * 2013-06-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:03 PM Revision 1135cc35 (git): merge revision(s) 41019,41020,41021,41041,41045,41057: [Backport #8463]
vm_insnhelper.c: add comments
* vm_insnhelper.c (vm_yield_setup_block_args): break a long line and
add comments. remove useless code.
* vm_insnhelper.c (vm_yield_setup_block_args): split single parameter
if ...
nagachika (Tomoyuki Chikanaga)
02:33 PM Revision 17f1cdaa (git): * eval.c (mod_using): new method Module#using, which activates
refinements of the specified module only in the current class or
module definition. [ruby-core:55273] [Feature #8481]
* test/ruby/test_refinement.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41261 b2dd03c8-39d...
shugo (Shugo Maeda)
02:23 PM Revision 63bc35ff (git): merge revision(s) 41250: [Backport #8516]
* io.c (io_getc): fix 7bit coderange condition, check if ascii read
data instead of read length. [ruby-core:55444] [Bug #8516]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@41260 b2dd03c8-39d4-4d8f-98ff-823f...
nagachika (Tomoyuki Chikanaga)
02:20 PM Revision 1f828497 (git): * safe.c (rb_set_safe_level, safe_setter): raise an ArgumentError
when $SAFE is set to 4. $SAFE=4 is now obsolete.
[ruby-core:55222] [Feature #8468]
* object.c (rb_obj_untrusted, rb_obj_untrust, rb_obj_trust):
Kernel#untrusted?, untrust, and trust are now deprecated.
Their behavior is same as t...
shugo (Shugo Maeda)
01:25 PM Revision b53a183c (git): * bignum.c (integer_unpack_num_bdigits_generic): Rewritten without
rb_funcall.
(integer_unpack_num_bdigits_bytes): Removed.
(rb_integer_unpack): integer_unpack_num_bdigits_bytes invocation
removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
11:19 AM Revision 007fb3b1 (git): * lib/xmlrpc/client.rb (XMLRPC::Client#parse_set_cookies): Extract.
Sorry for forgetting it in r41236.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
09:53 AM Feature #8515: don't allow irb to dump output for forever and ever
You can run irb with --noecho option, or set `IRB.conf[:ECHO] = false' in .irbrc. nobu (Nobuyoshi Nakada)
03:23 AM Feature #8515: don't allow irb to dump output for forever and ever
On 06/11/2013 09:41 AM, crankharder (Josh Sharpe) wrote:
> Feature #8515: don't allow irb to dump output for forever and ever
> https://bugs.ruby-lang.org/issues/8515

Agreed, it would be nice to have LESS(1) functionality in ir...
Anonymous
01:41 AM Feature #8515 (Feedback): don't allow irb to dump output for forever and ever
You've done this before, I know you have. You were screwing around in IRB and you ran something stupid and IRB just started dumping output. LOTS of output. Output that would scroll by for an hour if you don't go kill it. Output going... crankharder (Josh Sharpe)
09:21 AM Revision 4e0685fa (git): * bignum.c (validate_integer_pack_format): supported_flags argument
added and validate given flags.
(rb_integer_pack_internal): Specify supported_flags.
(rb_integer_unpack): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:56 AM Feature #8042: Add Addrinfo#socket to create a socket that is not connected or bound
matz, I need your approval to add Addrinfo#unbound_socket which creates a connectionless socket that allows you to set further socket options before connect or to use in a connectionless manner. drbrain (Eric Hodel)
08:54 AM Bug #8479: make for ruby-1.9.3-p392 fails on rdoc, error 134 (Ubuntu 12.04.2 LTS)
I am moving this bug to unassigned as rdoc is pure-ruby and this is a GC-related bug. drbrain (Eric Hodel)
08:48 AM Revision 2a23bd62 (git): Add Appendix C containing a pointer to mkmf.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
08:46 AM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
Here is a possible patch that only checks Content-Length if the Content-Encoding was handled by Net::HTTP. Unfortunately I don't have an XMLRPC service available to test it against. drbrain (Eric Hodel)
08:36 AM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
This patch updates the 308 patch to update the Content-Length in Response instead of Inflater and fixes the variable name ("deflated length" is the original value, but only when deflate-encoded). It also adds documentation describing whe... drbrain (Eric Hodel)
08:12 AM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
=begin
Consider this example:
http.request req do |res|
expected = res['Content-Length'] # size of encoded content
actual = 0
res.read_body { |chunk| actual += chunk.bytesize }
raise 'too short' unless expec...
drbrain (Eric Hodel)
08:05 AM Revision 2eadce67 (git): test_io.rb: fix test error
* test/ruby/test_io.rb (TestIO#test_write_32bit_boundary): retry to
remove the temporary file while EACCES occurs because of syncing in
the system probably. rescue ENOSPC from IO#tell. [ruby-core:55457]
[Bug #8519]
git-svn-id: s...
nobu (Nobuyoshi Nakada)
07:41 AM Revision 221496de (git): array.c: fix false assertions
* array.c (rb_ary_sort_bang): remove duplicated assertions.
ARY_HEAP_PTR() implies ary not to be embedded. [ruby-dev:47419]
[Bug #8518]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:08 AM Revision c3b81910 (git): Update rdoc for pkg_config() and move :stopdoc: below to enable it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
06:54 AM Bug #8511: gsub("\\","\\\\") works incorrect
=begin
No, it works as expected, please read the documentation for String#gsub:
If replacement is a String it will be substituted for the
matched text. It may contain back-references to the pattern's capture groups
of the for...
drbrain (Eric Hodel)
06:41 AM Revision bccf874c (git): Elaborate on side-effects of mkmf functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
03:50 AM Bug #8508: Invalid byte sequence in UTF-8 (ArgumentError) in win32/registry.rb
And btw. "chcp" gives me:
Aktive Codepage: 850.
thasmo (Thomas Deinhamer)
03:44 AM Revision ab64f237 (git): io.c: fix 7bit coderange condition
* io.c (io_getc): fix 7bit coderange condition, check if ascii read
data instead of read length. [ruby-core:55444] [Bug #8516]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:35 AM Revision ff6104ba (git): * pack.c (pack_pack): Use rb_integer_pack_2comp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:21 AM Feature #8422: add Enumerable#reverse_sort and Enumerable#reverse_sort_by
Neither `Prime.each.reverse_sort.take 10` nor `Prime.each.sort.take 10` will return as there is no last value for infinite streams. You can neither reverse nor sort an infinite stream.
I believe adding the feature to `Enumerable` does...
drbrain (Eric Hodel)
03:09 AM Revision 174e3fb6 (git): * sprintf.c (rb_str_format): Fix a dynamic format string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:04 AM Revision 7fa5e608 (git): array.c: freeze in callback
* array.c (rb_ary_uniq_bang): must not be modified once frozen even in
a callback method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:03 AM Revision da786437 (git): array.c: freeze in callback
* array.c (rb_ary_sort_bang): must not be modified once frozen even in
a callback method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:00 AM Revision ff7bb472 (git): array.c: fix false assertion
* array.c (FL_SET_EMBED): shared object is frozen even when get
unshared.
* array.c (rb_ary_modify): ARY_SET_CAPA needs unshared array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:00 AM Revision 299d96ca (git): parse.y: non-shady ruby_debug_lines
* parse.y (parser_set_encode): get rid of making ruby_debug_lines
non-shady.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:00 AM Revision 6ff25d13 (git): array.c: assertion
* array.c (ary_shrink_capa): additional assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:00 AM Revision a5acd8c8 (git): fix indent (use tab instead of spaces)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:05 AM Bug #8115: make install DESTDIR=/my/install/path fails
@jstribny, how did you configure p214? nobu (Nobuyoshi Nakada)

06/11/2013

10:35 PM Bug #8512: gsub() works incorrect
For the record, you can also use the hash or block replacement forms, because those doesn't use regexp back-references:
"\\".gsub("\\", "\\"=>"\\\\") #=> "\\\\"
"\\".gsub("\\") { "\\\\" } #=> "\\\\"
phluid61 (Matthew Kerwin)
10:15 PM Bug #8512: gsub() works incorrect
Hanmac (Hans Mackowiak) wrote:
> =begin
> ...
Thanks for the explanation.
galnaktar (Oleg K)
09:45 PM Bug #8512: gsub() works incorrect
=begin
the docs says:
((*If replacement is a String it will be substituted for
the matched text. It may contain back-references to the pattern's capture
groups of the form \\\d, where d is a group number, or \\\k<n>, where n is
...
Hanmac (Hans Mackowiak)
09:45 PM Bug #8512: gsub() works incorrect
This should be documented in Regexp's overview though. Eregon (Benoit Daloze)
09:41 PM Bug #8512 (Rejected): gsub() works incorrect
This is due to Regexp replace syntax and literal strings.
In literal strings, you need two \ to produce one \ character (a single is the start of an escape character like \t, \n, ...).
And in Regexp replacement strings, you need to esca...
Eregon (Benoit Daloze)
06:30 PM Bug #8512 (Rejected): gsub() works incorrect
irb(main):005:0> "\\".gsub("\\", "\\\\").length
=> 1
irb(main):006:0> "\\".gsub("\\", "XX").length
=> 2
bug is duplicated with rejected bug #8511
galnaktar (Oleg K)
10:33 PM Revision e39523b7 (git): * random.c (rand_int): Use rb_big_uminus.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:17 PM Revision 28d975a6 (git): * struct.c: Improve documentation: replace "instance variable" with
"member", recommend the use of a block to customize structs, note
that member accessors are created, general cleanup.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
drbrain (Eric Hodel)
10:09 PM Bug #8320: Ruby interpreter crashes when running pcaprub
Reported. Please consider this issue closed, and sorry for the wrong report. crondaemon (Dario Lombardo)
09:39 PM Revision 0c9a719d (git): * internal.h (INTEGER_PACK_NEGATIVE): Defined.
(rb_integer_unpack): sign argument removed.
* bignum.c (rb_integer_unpack): sign argument removed.
Non-negative integers generated by default.
INTEGER_PACK_NEGATIVE flag is used to generate non-positive integers.
* pack.c (pack_unp...
akr (Akira Tanaka)
05:33 PM Bug #8511: gsub("\\","\\\\") works incorrect
Should I open new bug? galnaktar (Oleg K)
05:24 PM Bug #8511: gsub("\\","\\\\") works incorrect
nobu (Nobuyoshi Nakada) wrote:
> I'm not sure what you expect, it works as expected.
irb(main):005:0> "\\".gsub("\\", "\\\\").length
=> 1
irb(main):006:0> "\\".gsub("\\", "XX").length
=> 2
I thought that the length must return ...
galnaktar (Oleg K)
04:49 PM Bug #8511 (Rejected): gsub("\\","\\\\") works incorrect
I'm not sure what you expect, it works as expected. nobu (Nobuyoshi Nakada)
04:34 PM Bug #8511 (Rejected): gsub("\\","\\\\") works incorrect
DL is deprecated, please use Fiddle
irb(main):001:0> a = "\\"
=> "\\"
irb(main):002:0> a.gsub("\\", "\\\\")
=> "\\"
irb(main):003:0> a.gsub("\\", ".")
=> "."
irb(main):004:0> a.gsub(".", "\\\\")
=> "\\"
irb(main):005:0> a = "\\"...
galnaktar (Oleg K)
04:37 PM Revision a338c4ed (git): Unused variable removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
04:15 PM Bug #8510 (Closed): assertion failed in ary_resize_capa
This issue was solved with changeset r41227.
Kazuhiro, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
array.c: fix false assertion in ary_make_shared
* array.c (a...
nobu (Nobuyoshi Nakada)
10:01 AM Bug #8510 (Assigned): assertion failed in ary_resize_capa
znz (Kazuhiro NISHIYAMA)
09:47 AM Bug #8510 (Closed): assertion failed in ary_resize_capa
-DARRAY_DEBUG を付けていると enc.mk のあたりで make が通りません。
generating enc.mk
miniruby: .../ruby/array.c:153: ary_resize_capa: Assertion `!(!!((!(((VALUE)(ary) & RUBY_IMMEDIATE_MASK) || !!(((VALUE)(ary) & ~((VALUE)RUBY_Qnil)) == 0)) && (int)(((s...
znz (Kazuhiro NISHIYAMA)
03:53 PM Bug #7915 (Closed): Rubygems stub shebang is wrongly expanded
This seems to be fixed in "ruby 2.0.0p195 (2013-05-14 revision 40734) [x86_64-linux]". Thanks. vo.x (Vit Ondruch)
03:09 PM Revision 72eed1fd (git): * 2013-06-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:08 PM Revision 3acd222f (git): * lib/xmlrpc/client.rb (XMLRPC::Client#parse_set_cookies): Extract.
* test/xmlrpc/test_client.rb (XMLRPC::ClientTest#test_cookie_simple):
Add a test for the extracted method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
02:57 PM Revision 83c02765 (git): * test/xmlrpc/test_client.rb (XMLRPC::ClientTest::Fake::HTTP#started):
Add a missing empty line.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
02:40 PM Revision b23d9a8a (git): * bignum.c (validate_integer_pack_format): Don't require a word order
flag if numwords is 1 or less.
(absint_numwords_generic): Don't specify a word order for
rb_integer_pack.
* hash.c (rb_hash): Ditto.
* time.c (v2w_bignum): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41234 b2dd03c8-...
akr (Akira Tanaka)
02:21 PM Feature #8481: Module#using
headius (Charles Nutter) wrote:
> A few other clarifications I think are important:
> ...
Agreed. Reflection API should not care refinements in Ruby 2.1.
> Because of the invasive nature of the changes required, we are not comforta...
shugo (Shugo Maeda)
02:02 PM Revision c4b12333 (git): * bignum.c (validate_integer_pack_format): Refine error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:28 PM Revision 06b16711 (git): * bignum.c (validate_integer_pack_format): numwords argument added.
Move a varidation from rb_integer_pack_internal and rb_integer_unpack.
(rb_integer_pack_internal): Follow above change.
(rb_integer_unpack): Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41232 b2dd03c8-39d4-4d8f-98ff-82...
akr (Akira Tanaka)
01:15 PM Revision 17a5321c (git): rb_integer_pack tests refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:06 PM Revision d5a3818f (git): * bignum.c (rb_integer_pack_internal): Renamed from rb_integer_pack
and overflow_2comp argument added.
(rb_integer_pack): Just call rb_integer_pack_internal.
(rb_integer_pack_2comp): New function.
* internal.h (rb_integer_pack_2comp): Declared.
* sprintf.c (rb_str_format): Use rb_integer_pack and
...
akr (Akira Tanaka)
09:37 AM Bug #8508: Invalid byte sequence in UTF-8 (ArgumentError) in win32/registry.rb
It actually seems this only happens when using Cygwin with the mintty.exe terminal.
Any idea how to solve this?
thasmo (Thomas Deinhamer)
08:25 AM Revision b7597efb (git): Update documentation for pkg_config().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
08:20 AM Feature #8460: PATCH: optparse: add `keep_unknown` option
Can anyone please take a look at a bug http://bugs.ruby-lang.org/issues/7537#change-37695 considering command-line arguments containing negative numbers (which're erroneously treated ass options) and my patch for it.
I'm afraid that kee...
prijutme4ty (Ilya Vorontsov)
05:13 AM Feature #8460: PATCH: optparse: add `keep_unknown` option
I like this patch, I could use this feature in RDoc's option parser which ignores arguments that were valid for previous versions. drbrain (Eric Hodel)
08:01 AM Revision 83252551 (git): Fix the mail address of Matz; ruby-lang.jp does not exist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Akinori MUSHA
07:15 AM Revision c5c201f6 (git): array.c: fix false assertion in ary_make_shared
* array.c (ary_shrink_capa): shrink the capacity so it fits just with
the length.
* array.c (ary_make_shared): release never used elements from frozen
array to be shared. [ruby-dev:47416] [Bug #8510]
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
06:57 AM Revision 4cdd6f6a (git): * eval_error.c (error_print): reduce RARRAY_AREF().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:56 AM Bug #8507: Keyword splat does not convert arg to Hash
Hm... `nil.to_h => {}` is brand-new and creates an analog to `nil.to_a`, so why would we remove `nil.to_a`?
`(**nil)` would be another tool that a programmer could use when handing arguments off between methods. One can currently use ...
stephencelis (Stephen Celis)
05:14 AM Bug #8399 (Open): Remove usage of RARRAY_PTR in C extensions when not needed
I merged it with a couple changes (subseq len and unused variable).
I will submit a pull request to https://github.com/tenderlove/racc.
To continue the main discussion,
who is to decide whether to avoid RARRAY_PTR in most extensions...
Eregon (Benoit Daloze)
05:06 AM Bug #8399 (Closed): Remove usage of RARRAY_PTR in C extensions when not needed
This issue was solved with changeset r41222.
Dirkjan, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
* ext/racc/cparse/cparse.c: use rb_ary_entry() and
rb_ary_su...
Eregon (Benoit Daloze)
03:50 AM Revision df4abd9b (git): * doc/re.rdoc: Rename to doc/regexp.rdoc
* re.c: Update rdoc include for rename of file
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
12:23 AM Feature #8509: Use 128 bit integer type in Bignum
I think it should be merged.

I'm trying to change the bigdecimal's precision treatment
so that it's independent of the size of internal type (such as BDIGIT).
Bigdecimal's precision should be the number of decimal figures.
Af...
mrkn (Kenta Murata)
 

Also available in: Atom