Project

General

Profile

Activity

From 06/10/2013 to 06/16/2013

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) <[email protected]> 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)

06/10/2013

11:43 PM Feature #8509 (Assigned): Use 128 bit integer type in Bignum
I'm ok about introducing this.
Anyway as far as I confirm, gcc 4.1 supports __int128_t and __uint128_t on x64.
naruse (Yui NARUSE)
09:59 PM Feature #8509 (Closed): Use 128 bit integer type in Bignum
How about Bignum uses 128 bit integer type?
I found that recent gcc (since gcc 4.6) supports 128 bit integer type,
__int128, on some platforms.
http://gcc.gnu.org/gcc-4.6/changes.html
It seems gcc supports it on x86_64 and not on...
akr (Akira Tanaka)
11:11 PM Feature #8481: Module#using
* It's OK that send(:using) do not work
* we will not provide magic send in the near future (no plan at all)
Matz.
matz (Yukihiro Matsumoto)
09:17 PM Feature #8481: Module#using
I do not currently have a problem with Module level #using, provided it is still lexical. The same mechanism for file-level #using would work here: if a "using" call is present in the code, we'll treat all calls in that scope as potentia... headius (Charles Nutter)
10:14 PM Revision c0ce8773 (git): * eval_error.c (error_print): keep that errat is non-shady object.
and guard errat from GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Masaya Tarui
10:09 PM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
I confirmed the problem. I consider how to resolve this problem. Please wait.
I don't like that response header is changed in Inflater. It seems that header should be changed by response itself.
Here is a workaround:
require 'xm...
kou (Kouhei Sutou)
09:10 PM Bug #8508: Invalid byte sequence in UTF-8 (ArgumentError) in win32/registry.rb
Hi there!
Line 173 in the registry.rb file here on my PC is this one:
super msg.tr("\r", '').chomp
I'm sorry, I don't know how to set locale_charmap
and I'm not sure what a codepage is.
I'm running the App (Vagrant) using Cygw...
thasmo (Thomas Deinhamer)
04:33 PM Bug #8508 (Feedback): Invalid byte sequence in UTF-8 (ArgumentError) in win32/registry.rb
That line in 1.9.1 is a comment, so it would be 1.9.3.
But why is Encoding.locale_charmap UTF-8 on Windows?
Are you using codepage 65001?
nobu (Nobuyoshi Nakada)
08:06 AM Bug #8508 (Closed): Invalid byte sequence in UTF-8 (ArgumentError) in win32/registry.rb
Hi guys!
I'm using Vagrant and the VMware workstation plugin to provision a VMware workstation VM
but in the end this doesn't work because I get an error in win32/registry.rb:
"C:/HashiCorp/Vagrant/embedded/lib/ruby/1.9.1/win32/re...
thasmo (Thomas Deinhamer)
09:09 PM Feature #8468: Remove $SAFE
headius (Charles Nutter) wrote:
> So at this point, the only thing that is being removed is the sandboxing provided by $SAFE=4, correct?
Yes.
> ...
$SAFE < 4 is a fail-safe feature to detect bugs of applications, so it's not so se...
shugo (Shugo Maeda)
08:50 PM Feature #8468: Remove $SAFE
So at this point, the only thing that is being removed is the sandboxing provided by $SAFE=4, correct?
I should note that my concerns about using $SAFE as a security mechanism (coupled with taint/untrust) is still just as prone to hol...
headius (Charles Nutter)
06:51 PM Feature #8468: Remove $SAFE
matz (Yukihiro Matsumoto) wrote:
> I agree with Shugo's plan. Shugo, could you make it raise exceptions to keep you away from worrying on $SAFE any longer?
I'll do it. Thanks.
shugo (Shugo Maeda)
06:43 PM Feature #8468: Remove $SAFE
I agree with Shugo's plan. Shugo, could you make it raise exceptions to keep you away from worrying on $SAFE any longer?
Matz.
matz (Yukihiro Matsumoto)
05:56 PM Feature #8468 (Assigned): Remove $SAFE
Thanks for your feedback, guys.
It's OK for me to leave $SAFE < 3 because it's just a fail-safe feature.
However, safe level 4 is considered harmful, because it provides a pseudo sandbox, which is vulnerable by design.
People tend t...
shugo (Shugo Maeda)
01:46 PM Feature #8468: Remove $SAFE
jballanc (Joshua Ballanco) wrote:
> ... Clojure community recently went through with regards to *read-eval* (a discussion that took place in response to the recent Rails/YAML vulnerabilities), as well as the ultimate conclusion that it ...
Student (Nathan Zook)
08:24 PM Bug #8115 (Assigned): make install DESTDIR=/my/install/path fails
Hello, Josef.
Thank you for your report.
I reopen this ticket.
nagachika (Tomoyuki Chikanaga)
08:14 PM Bug #8115: make install DESTDIR=/my/install/path fails

This doesn't seem to help.
I am still getting the following error with the generated Makefile[1]
```
+ ruby extconf.rb --vendor --with-mysql-config
checking for mysql_ssl_set()... yes
checking for rb_str_set_len()... yes
checki...
jstribny (Josef Stribny)
08:23 PM Feature #6065: Allow Bignum marshalling/unmarshalling from C API
2013/6/5 Tanaka Akira <[email protected]>:
>
> At first time I see that, I guess there is no application of "nails" argument.
>
> Now I think I know several applications:
>
> * Integer#to_s(radix) for radix is power of 2
> Fo...
akr (Akira Tanaka)
08:06 PM Revision 33e6f434 (git): * 2013-06-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:06 PM Revision 8c6674ef (git): * ext/racc/cparse/cparse.c: use rb_ary_entry() and
rb_ary_subseq() instead of RARRAY_PTR.
Based on a patch by Dirkjan Bussink. See Bug #8399.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
07:14 PM Bug #8399: Remove usage of RARRAY_PTR in C extensions when not needed
Eregon (Benoit Daloze) wrote:
> Could you share that benchmark?
> ...
This was not against a sole benchmark of this. What I meant with the statement is that this difference was never measurable in benchmarks of code using a C extensi...
dbussink (Dirkjan Bussink)
05:21 PM Feature #8506: Object#iter_for / Object#to_iter
nobu (Nobuyoshi Nakada) wrote:
> You may want to show the implementation in ruby (and tests)?
Here is an implementation: https://gist.github.com/phluid61/5747216
phluid61 (Matthew Kerwin)
05:20 PM Feature #8506: Object#iter_for / Object#to_iter
Here is the related blogpost: http://alindeman.github.io/2013/06/10/porting-iterate-to-ruby.html Eregon (Benoit Daloze)
02:44 PM Feature #8506: Object#iter_for / Object#to_iter
You may want to show the implementation in ruby (and tests)? nobu (Nobuyoshi Nakada)
12:38 AM Feature #8506: Object#iter_for / Object#to_iter
Btw., regarding Qbject#to_enum, what is your opinion? Do you use it often? Or is there something about it that makes it less useful? Anonymous
03:35 PM Bug #8501 (Closed): exit code when an exception raised in at_exit hook
This issue was solved with changeset r41205.
Sam, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
----------
eval_error.c: restore errinfo
* eval_error.c (error_print): resto...
nobu (Nobuyoshi Nakada)
02:54 PM Revision 0ab44dbc (git): fix a typo
* array.c (rb_ary_new_from_values): fix a typo. pointed out by nagachika.
http://d.hatena.ne.jp/nagachika/20130610/ruby_trunk_changes_41199_41220
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41221 b2dd03c8-39d4-4d8f-98ff-823fe69b...
znz (Kazuhiro NISHIYAMA)
02:47 PM Bug #8507: Keyword splat does not convert arg to Hash
You didn't explain why "it is nice". Could elaborate? Do we really need it?
FYI, in the early stage of Ruby, types are more flexible; integers can be treated as strings, nil can be treated as empty array. `nil.to_a` => `[]` is a le...
matz (Yukihiro Matsumoto)
01:32 PM Bug #8507: Keyword splat does not convert arg to Hash
To return to the original question:
> Do you really want to do `splat(**nil)`?
I find that Ruby's flexibility has been nice when providing public interfaces in gems and libraries. It's nice to be able to pass in `*nil` to a public ...
stephencelis (Stephen Celis)
01:29 PM Bug #8507: Keyword splat does not convert arg to Hash
Is there logic behind the current state that I'm unaware of? Consistency is predictability, which is important when learning a new interface. If splatted nils are swallowed, why not double-splatted nils? One raising where the other doesn... stephencelis (Stephen Celis)
08:23 AM Bug #8507 (Feedback): Keyword splat does not convert arg to Hash
I hate consistency as a reason to change. Do you really want to do `splat(**nil)`?
Matz.
matz (Yukihiro Matsumoto)
03:27 AM Bug #8507 (Rejected): Keyword splat does not convert arg to Hash
A single splat is useful to convert an object to an array as it passes from one method to the next, so I expected the double-splat to do the same and convert the object to a hash.
~~~ruby
def splat *args
p args
end
def double_sp...
stephencelis (Stephen Celis)
01:51 PM Revision 46bb1a9f (git): Update comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:28 PM Revision baabb76c (git): * test/ruby/test_beginendblock.rb (test_exitcode_in_at_exit): fix NameError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
01:10 PM Revision 780ab06a (git): Update a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:51 PM Revision e214b1b6 (git): * ext/socket/raddrinfo.c (nogvl_getaddrinfo): Fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
12:50 PM Revision f6921a3c (git): * ext/socket/raddrinfo.c (nogvl_getaddrinfo): Add missing return
value assignment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sutou Kouhei
11:59 AM Revision 52a802a4 (git): * ext/socket/raddrinfo.c (nogvl_getaddrinfo): work around for Ubuntu
13.04's getaddrinfo issue with mdns4. [ruby-list:49420]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:55 AM Revision 67356336 (git): Update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:37 AM Revision 0e8caa7d (git): * bignum.c (rb_integer_pack): Returns sign instead of words.
(absint_numwords_generic): Follow the above change.
(big2str_base_powerof2): Follow the above change.
* internal.h: Ditto.
* hash.c (rb_hash): Ditto.
* pack.c (pack_pack): Ditto.
* random.c (int_pair_to_real_inclusive): Ditto.
(r...
akr (Akira Tanaka)
08:21 AM Revision a8aaf133 (git): * gc.c (rgengc_remember): permit promoted object.
(rb_gc_writebarrier -> remember)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:15 AM Revision a03ac78b (git): * gc.c (RVALUE_PROMOTE): fix parameter name (`x' to `obj')
and make it inline function (like RVALUE_PROMOTE).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
08:00 AM Revision d917e651 (git): fix a typo of r41205
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:00 AM Revision 1188d929 (git): add missing space
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:23 AM Revision f8ba9a1f (git): * array.c (rb_ary_new_from_values): add assertion
(ary should be young object).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
07:12 AM Revision dd96561f (git): * gc.c (wmap_mark): check allocation of `w->obj2wmap'.
(no-allocation `w->obj2wmap' will be NULL pointer reference)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:36 AM Revision 09de2b05 (git): eval_error.c: use checking functions
* eval_error.c (error_print): use checking functions instead of
catching exceptions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:35 AM Revision b82ded24 (git): eval_error.c: restore errinfo
* eval_error.c (error_print): restore errinfo for the case new
excecption raised while printing the message. [ruby-core:55365]
[Bug #8501]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:34 AM Revision 222d0288 (git): eval_error.c: reduce setjmp
* eval_error.c (error_print): reduce calling setjmp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:33 AM Revision c2b4f88f (git): test_beginendblock.rb: rename methods
* test/ruby/test_beginendblock.rb: rename methods, tests always what
"should" happen.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:57 AM Bug #8498: core dump, occurs repeatedly while running tests
Thanks, I'm not skilled in reading these kinds of reports. Can be closed. mdemare (Michiel de Mare)
03:12 AM Revision 8c239f35 (git): * bignum.c (integer_unpack_num_bdigits_small: Extracted from
rb_integer_unpack.
(integer_unpack_num_bdigits_generic): Ditto.
(integer_unpack_num_bdigits_bytes): New function.
(rb_integer_unpack): Use above functions.
Return a Bignum for INTEGER_PACK_FORCE_BIGNUM evenwhen the result
is ze...
akr (Akira Tanaka)
 

Also available in: Atom