Project

General

Profile

Activity

From 06/13/2015 to 06/19/2015

06/19/2015

10:14 PM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
Nobuyoshi Nakada wrote:
> > ~~~diff
> > + struct MEMO *memo = MEMO_NEW(Qtrue, *argv, 0);
> > + rb_check_arit...
0x0dea (D.E. Akers)
09:54 PM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
> ~~~diff
> + struct MEMO *memo = MEMO_NEW(Qtrue, *argv, 0);
> + rb_check_arity(argc, 0, 1);
Why dereferen...
nobu (Nobuyoshi Nakada)
02:22 PM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
I agree. Assigning to Matz marcandre (Marc-Andre Lafortune)
08:48 AM Feature #11286: [PATCH] Add case equality arity to Enumerable's sequence predicates.
I rather like this proposal. I hope it gets accepted. zenspider (Ryan Davis)
07:11 AM Feature #11286 (Closed): [PATCH] Add case equality arity to Enumerable's sequence predicates.
## Proposal
It is proposed that `Enumerable`'s sequence predicates (`#all?`, `#any?`, `#none?`, and `#one?`) be augm...
0x0dea (D.E. Akers)
10:11 PM Bug #11289 (Closed): Segmentation fault with 2.2.2 on OpenWRT
A very simple sinatra program fails:
require 'sinatra'
get '/' do
'Hello!'
end
# ruby sentinel.rb
[2015...
s.p.emmons (steve emmons)
09:47 PM Bug #11287 (Third Party's Issue): XML generation, App 551 stderr: Segmentation fault at 0×00000000000040
Seems it happened in Nokogiri. nobu (Nobuyoshi Nakada)
08:41 AM Bug #11287 (Third Party's Issue): XML generation, App 551 stderr: Segmentation fault at 0×00000000000040
We have a page that should deliver XML. We have newly upgraded ruby from 1.9.3 to 2.2.2 and rails 3.2.17 to 4.2.1
Ou...
simon (Simon Toivo Telhaug)
07:02 PM Revision e4fa17a9 (git): * enc/make_encmake.rb: the list of encoding extension libraries must
not include encinit.c itself. It caused "undefined reference to
Init_encinit".
git-svn-id: svn+ssh://ci.ruby-lang...
mame (Yusuke Endoh)
06:40 PM Bug #11288 (Closed): start_watchdog in test/lib/test/unit.rb is meaningless
test/lib/test/unit.rb の 317行目付近の start_watchdog は、
_run_parallel メソッド内の408行目から呼ばれますが、
子プロセスを起動する前に呼んでいるため、
start_w...
ngoto (Naohisa Goto)
05:51 PM Bug #11265 (Assigned): deadlock on Solaris 10 since r50900
r50977 で発生率は下がりましたがゼロではないようなので、再オープンしておきます。 ngoto (Naohisa Goto)
05:49 PM Bug #11265 (Closed): deadlock on Solaris 10 since r50900
Applied in changeset r50977.
----------
* process.c (rb_execarg_parent_start1): new macro ALWAYS_NEED_ENVP
to gene...
ngoto (Naohisa Goto)
10:13 AM Bug #11265: deadlock on Solaris 10 since r50900
おぉ、調べ直したところ、execv が async-signal-safe な関数としてされたのは SUSv4 からのようです。
http://pubs.opengroup.org/onlinepubs/9699919799/fun...
akr (Akira Tanaka)
10:11 AM Bug #11265: deadlock on Solaris 10 since r50900
訂正です。
> なお、execv が not async-signal-safe なのは Linux でも同様のようです。
は、少なくとも最近のLinuxに関しては間違いでした。すみません。
execv は POSIX....
ngoto (Naohisa Goto)
09:43 AM Bug #11265: deadlock on Solaris 10 since r50900
process.c の1260行目付近に以下の記述があります。
~~~
envp = envp_str ? (char **)RSTRING_PTR(envp_str) : NULL;
if (envp_st...
ngoto (Naohisa Goto)
07:15 AM Bug #11265: deadlock on Solaris 10 since r50900
本当に dynamic linker とかで使っている mutex が問題なら、ちょっと対応不能だと思うので、
Solaris 上では vfork はあきらめて fork で済ましておくことになりますかね。
akr (Akira Tanaka)
07:03 AM Bug #11265: deadlock on Solaris 10 since r50900
> に書いてあった、dynamic linker が、という話を思い出しますが、関係あるかなぁ。
関係ある気がしてきました。
popen呼び出し元のほうのスレッドは3つありますが、l@5 が dlsym などを呼んでいます...
ngoto (Naohisa Goto)
05:49 PM Revision f59356a8 (git): * process.c (rb_execarg_parent_start1): new macro ALWAYS_NEED_ENVP
to generate envp_str anytime on Solaris 10 (or earlier version
of Solaris) to avoid calling execv() which is async-...
ngoto (Naohisa Goto)
04:56 PM Feature #10672: Enable SSL on cache.ruby-lang.org
Hello Hiroshi,
I had sent in another ticket update for your request to add TLS to your Fastly domain cache.ruby-la...
sparkyjg007 (JEFFREY GENERAO)
04:24 PM Revision 21bc6f90 (git): * 2015-06-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:24 PM Revision eabd2217 (git): * NEWS: mention about $SAFE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:11 PM Bug #11270 (Rejected): Coverity Scan warns out-of-bounds access in ext/socket
I talked with akr on twitter, and was convinced that `(void*)&arg.buf.addr == (void*)&arg.buf` was guaranteed. So cl... mame (Yusuke Endoh)
01:36 AM Bug #11270: Coverity Scan warns out-of-bounds access in ext/socket
Yusuke Endoh wrote:
> Honestly I'm not sure the C language specification: is it guaranteed that a pointer to a fie...
akr (Akira Tanaka)
09:39 AM Feature #11266: [PATCH] WEBrick: allow subclassing of Response and Request
Version with separate methods julik (Julik Tarkhanov)
08:12 AM Revision fdad97f6 (git): test_last_thread.rb: relax
* test/-ext-/gvl/test_last_thread.rb (test_last_thread): allow low
resolution sleep.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
08:12 AM Bug #11284 (Closed): String#upcase and String#downcase don't work for accented characters
Closing because this is being worked on (slowly) as #10085, which is already accepted. duerst (Martin Dürst)
07:42 AM Bug #11277: "code converter not found" error with multi-thread (high occurrence rate since r50887)
エンコーディング関係は autoload は使わず自前でロード処理を実装しているようですが、関連として autoload の将来廃止の方向性を示している #5653 を挙げておきます。 ngoto (Naohisa Goto)
07:35 AM Bug #11277: "code converter not found" error with multi-thread (high occurrence rate since r50887)
たとえば #5654 のような何らかのロック機構が必要な気はしますが、
Encoding 関係は、事前にどのファイルにどのクラス・モジュールが格納されているかは完全に把握済、かつ、circular requireは絶対無い、という前...
ngoto (Naohisa Goto)
06:11 AM Revision cc144d1d (git): test_method.rb: fix commit miss
* test/ruby/test_method.rb (test_define_singleton_method_no_proc):
fix missing object. [Bug #11283]
git-svn-id: s...
nobu (Nobuyoshi Nakada)
06:04 AM Revision 6398515a (git): test_gem_remote_fetcher.rb: get rid of errors
* test/rubygems/test_gem_remote_fetcher.rb (start_ssl_server):
temporary measure for "dh key too small" error of Op...
nobu (Nobuyoshi Nakada)
05:54 AM Bug #11283 (Closed): Block assigned implicitly
Applied in changeset r50971.
----------
proc.c: ArgumentError if no block
* proc.c (rb_mod_define_method): now requ...
nobu (Nobuyoshi Nakada)
05:49 AM Bug #11283: Block assigned implicitly
Not, in my examples (from the initial post) it does not do that, but something different. Namely, it doesn't assignin... nepalez (Andrew Kozin)
02:25 AM Bug #11283: Block assigned implicitly
> * Either provide a method with empty proc (`Proc.new`)
That is, in fact, exactly what Ruby is doing:
```ruby
...
0x0dea (D.E. Akers)
05:53 AM Revision e77f9fcb (git): proc.c: ArgumentError if no block
* proc.c (rb_mod_define_method): now requires a block direct to
this method call. [ruby-core:69655] [Bug #11283]
...
nobu (Nobuyoshi Nakada)
05:22 AM Revision 19d2532a (git): test_method.rb: split test
* test/ruby/test_method.rb (test_define_singleton_method): split
and fix test names.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
04:55 AM Revision 0ba2ccc5 (git): proc.c: inadvertent ID
* proc.c (rb_mod_define_method): get rid of inadvertent ID
creations at error.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
04:54 AM Revision 88249ada (git): proc.c: extract same messages
* proc.c (proc_new): extract same warning and error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5096...
nobu (Nobuyoshi Nakada)
02:26 AM Revision 172c5fab (git): * ChangeLog: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
12:08 AM Misc #11276: [RFC] compile.c: convert to use ccan/list
I have no opinion about that, if there are no behavior changes.
All of operations are , same behavior and same comp...
ko1 (Koichi Sasada)

06/18/2015

11:38 PM Bug #11285 (Closed): Net::HTTP should handle content-coding with case-insensitive
When Ruby Net::HTTP sent a request. It by default set the content to be compress with header: Accept-Encoding
But ...
littlechu (Andy Chu)
10:58 PM Revision e282d78a (git): extmk.rb: fix with-ext condition
* ext/extmk.rb: if no with-ext option is given, dafault to
enable everything. [ruby-dev:49108] [Bug #11280]
git-s...
nobu (Nobuyoshi Nakada)
10:45 PM Bug #11283: Block assigned implicitly
I'd expect Ruby to do any of two options:
* Either provide a method with empty proc (`Proc.new`)
* Or call `Synta...
nepalez (Andrew Kozin)
09:56 PM Bug #11283: Block assigned implicitly
Andrew, what would you like Ruby to do when you attempt to define a method with no body? 0x0dea (D.E. Akers)
07:31 PM Bug #11283: Block assigned implicitly
This feature buzzes and wiggles aerials like a bug.
I cannot see why is it needed for your example. It is pretty e...
nepalez (Andrew Kozin)
07:11 PM Bug #11283: Block assigned implicitly
This is "hidden feature", not the bug: `Proc.new` can consume unnamed block passed to method.
It makes possible foll...
funny_falcon (Yura Sokolov)
03:36 PM Bug #11283 (Closed): Block assigned implicitly
That is how it works:
module Test
def self.build(&block)
klass = Class.new(Object)
kl...
nepalez (Andrew Kozin)
10:41 PM Bug #11265: deadlock on Solaris 10 since r50900
Solaris で vfork で deadlock というと、
https://web.archive.org/web/20120205202630/http://developers.sun.com/solaris/articl...
akr (Akira Tanaka)
04:52 PM Bug #11265: deadlock on Solaris 10 since r50900
vforkは "The parent process is suspended while the child is using its resources." (Solaris 10 の man vfork(2) より引用) なので... ngoto (Naohisa Goto)
05:15 AM Bug #11265: deadlock on Solaris 10 since r50900
IO.popen内で、retry_fork_async_signal_safeから呼んでいるvforkから帰ってこないようです。
なお、スタックトレースを取るためにデバッグ付き最適化無しでコンパイルしたら、再現確率が20-30回...
ngoto (Naohisa Goto)
10:26 PM Bug #11284: String#upcase and String#downcase don't work for accented characters
http://stackoverflow.com/a/4418681
It would be unreasonable to add natural language processing to Ruby for the sak...
0x0dea (D.E. Akers)
08:20 PM Bug #11284 (Rejected): String#upcase and String#downcase don't work for accented characters
Many accented and other non-english characters fails to upcase/downcase properly.
Accented characters is the most co...
pabloh (Pablo Herrero)
09:38 PM Revision d82b2e28 (git): * 2015-06-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:36 PM Revision c78e0d37 (git): * bootstraptest/test_method.rb: remove a test because $SAFE=2 was
obsolete.
Please check btest, too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50964 b2dd03c8-39d4-4d8f-98...
ko1 (Koichi Sasada)
06:00 PM Bug #11282: ruby.exe never run. ebtry point not found
Description
I installed ruby and tried to run a .rb
file
or even ruby.exe directly then an error
generated direct...
DiamondStar (Diamond Star)
01:57 PM Bug #11282 (Closed): ruby.exe never run. ebtry point not found
I installed ruby and tried to run a .rb file
or even ruby.exe directly then an error generated directly. it says:
...
DiamondStar (Diamond Star)
03:59 PM Bug #11270 (Open): Coverity Scan warns out-of-bounds access in ext/socket
Akira Tanaka wrote:
> arg.alen is initialized as sizeof(union_sockaddr) and
> modified by recvfrom() which is less ...
mame (Yusuke Endoh)
07:49 AM Bug #11270 (Feedback): Coverity Scan warns out-of-bounds access in ext/socket
I'm not sure the problem.
arg.alen is initialized as sizeof(union_sockaddr) and
modified by recvfrom() which is l...
akr (Akira Tanaka)
03:15 PM Bug #11277: "code converter not found" error with multi-thread (high occurrence rate since r50887)
Ruby 1.9.3 でも発生率は低くなりますが再現できました。
r50887 以降発生しやすくなっただけで、それ以前から問題があったようです。
ngoto (Naohisa Goto)
03:10 PM Bug #11277: "code converter not found" error with multi-thread (high occurrence rate since r50887)
x86_64 Linux でも50%程度の発生率で再現できました。
r50920 にて確認しました。
~~~
$ echo a0 > /tmp/a0
$ echo a1 > /tmp/a1
$ ruby --disabl...
ngoto (Naohisa Goto)
07:01 AM Bug #11277 (Closed): "code converter not found" error with multi-thread (high occurrence rate since r50887)
sparc Solaris 10 にて、r50887 以降、make test-all にて以下の3つのFailureが出るようになりました。
~~~
1) Failure:
TestDir_M17N#test_file...
ngoto (Naohisa Goto)
02:53 PM Revision 6c45fa78 (git): * bin/erb: $SAFE=3 is obsolete.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:47 PM Revision 2c23924e (git): * safe.c: removed needless doc related $SAFE=2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:39 PM Revision 12247647 (git): * thread.c (rb_thread_safe_level): fix document. $SAFE=3 is obsolete.
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:33 PM Revision a9b06707 (git): $SAFE=2 is now obsolete
* include/ruby/ruby.h (RUBY_SAFE_LEVEL_CHECK): fix safe_level
limit.
* vm_core.h (rb_proc_t): update comment for s...
nobu (Nobuyoshi Nakada)
02:26 PM Bug #11280 (Closed): r49210 breaks --with-ext
Applied in changeset r50959.
----------
extmk.rb: fix with-ext condition
* ext/extmk.rb: configure intersection of ...
nobu (Nobuyoshi Nakada)
01:09 PM Bug #11280 (Closed): r49210 breaks --with-ext
中田さん
r49210 以降、--with-ext=zlib としても zlib 以外をビルドしてしまうようになっていると思います。
2.2.2 はちゃんと zlib だけビルドしてくれます。
--
Yusuke E...
mame (Yusuke Endoh)
02:25 PM Revision 65ab2660 (git): extmk.rb: fix with-ext condition
* ext/extmk.rb: configure intersection of with-ext and not
without-ext, as withouts is no longer true by default if...
nobu (Nobuyoshi Nakada)
02:22 PM Feature #5455: $SAFE should be removed
removed $SAFE=2 at r50958, and $SAFE=3 at r50932 hsbt (Hiroshi SHIBATA)
02:21 PM Revision 5d6ca9e9 (git): * include/ruby/ruby.h: $SAFE=2 is now obsolete.
* dir.c, ext/fiddle/handle.c, ext/socket/basicsocket.c, file.c
gc.c, io.c, process.c, safe.c, signal.c, win32/file....
hsbt (Hiroshi SHIBATA)
02:03 PM Revision e8ce2a92 (git): * enc/make_encmake.rb: added --transes and --no-transes options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
01:58 PM Revision 0b9d86f2 (git): un.rb: cwd by default
* lib/un.rb (httpd): set DocumentRoot to the current working
directory by default.
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
01:49 PM Bug #11281 (Rejected): Unexpected behaviour in HTTP header processing
Running this:
~~~ruby
Net::HTTP::Get.new('http://any.url', {'header' => nil})
~~~
Results in:
~~~
NoMetho...
[email protected] (John Carter)
01:45 PM Revision 82c29098 (git): un.rb: HTTP-alt by default
* lib/un.rb (httpd): changed default port number to 8080 (HTTP
Alternate), which does not need root privilege.
git...
nobu (Nobuyoshi Nakada)
01:35 PM Revision c96e4a6a (git): common.mk: reorder args for ENC_MK
* common.mk (ENC_MK): reorder $(ENCS) before the target file name,
as enc/make_encmake.rb ignores any arguments aft...
nobu (Nobuyoshi Nakada)
01:30 PM Revision cf44e740 (git): make_encmake.rb: mandatory dbs
* enc/make_encmake.rb (target_transcoders, target_encodings):
encdb and transdb are always mandatory.
git-svn-id: ...
nobu (Nobuyoshi Nakada)
01:10 PM Revision ae8dc6f3 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:35 AM Bug #11279 (Closed): remove rb_control_frame_t::klass
Please check https://bugs.ruby-lang.org/issues/11278
I sent it to ruby-dev because of my operation miss.
This is ...
ko1 (Koichi Sasada)
11:30 AM Bug #11278 (Closed): remove rb_control_frame_t::klass
# Abstract
rb_control_frame_t has a field `klass`, which is used to search super class when `super` is called (and...
ko1 (Koichi Sasada)
09:27 AM Bug #10533: HTTP reconnection with SNI does not send correct hostname
Root cause seems to be in ossl_ssl.c:
Net::Http calls `s.session=` (C-method `ossl_ssl_set_session`), which calls ...
mkarnebeek (Michiel Karnebeek)
08:51 AM Bug #10533: HTTP reconnection with SNI does not send correct hostname
Created https://github.com/ruby/ruby/pull/964 mkarnebeek (Michiel Karnebeek)
08:36 AM Bug #10533: HTTP reconnection with SNI does not send correct hostname
It looks like i've solved it: Moving `s.hostname = @address` before `s.session = @ssl_session` has solved it on my en... mkarnebeek (Michiel Karnebeek)
09:25 AM Revision 072b3c86 (git): test/socket/test_unix.rb: replace sleep with select
Not sure what drugs I was on, but blindly sleeping instead of
using IO#wait or IO.select to wait for data on a socket...
Eric Wong
09:01 AM Revision 58ba24f8 (git): * vm.c (rb_vm_control_frame_id_and_class): remove usless codes.
`me' knows ID and owner class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50950 b2dd03c8-39d4-4d8f-98ff-823...
ko1 (Koichi Sasada)
08:01 AM Revision f74fdd72 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:01 AM Revision c8590d60 (git): * method.h: constify rb_method_alias_struct::original_me and
rb_method_refined_struct::orig_me.
* class.c (move_refined_method): use RB_OBJ_WRITE() for
me->def->body.refined.or...
ko1 (Koichi Sasada)
05:36 AM Revision 37b38306 (git): * ext/objspace/objspace.c (count_imemo_objects): support imemo_ment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:50 AM Revision fac04ba9 (git): NEWS: NameError#receiver [Feature #10881]
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:33 AM Feature #10881 (Closed): NoMethodError#receiever
Applied in changeset r50945.
----------
error.c: NameError#receiver
* error.c (name_err_receiver): add NameError#re...
nobu (Nobuyoshi Nakada)
04:32 AM Revision 51de63df (git): error.c: NameError#receiver
* error.c (name_err_receiver): add NameError#receiver method.
[Feature #10881]
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
01:28 AM Feature #10295 (Closed): [PATCH] io.c (fptr_finalize): free memory (before GC sweep)
r47758
normalperson (Eric Wong)
01:04 AM Feature #11056 (Closed): [PATCH] lib/net/*: use io/wait methods instead of IO.select
r50326
normalperson (Eric Wong)
01:02 AM Feature #10302 (Closed): [PATCH] marshal.c: lazy compat_tbl allocation
r47756
normalperson (Eric Wong)
01:00 AM Revision 42191947 (git): * safe.c: removed needless doc related $SAFE=3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:59 AM Revision 0def632d (git): * safe.c: rename old method name for $SAFE=3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

06/17/2015

11:54 PM Misc #11276 (Closed): [RFC] compile.c: convert to use ccan/list
```
Not the results I was hoping for, but maybe the LoC and stack
reductions are still worth it.
This reduces li...
normalperson (Eric Wong)
11:41 PM Feature #10881: NoMethodError#receiever
Thanks Matsumoto-san.
I realized that the last line in the example above is wrong, it has to use `#equal?` instead...
yuki24 (Yuki Nishijima)
02:04 PM Feature #10881: NoMethodError#receiever
Looks OK for me. I am interested in how JRuby/Rubinius guys feel about the proposal.
Matz.
matz (Yukihiro Matsumoto)
11:34 PM Revision a6141c59 (git): common.mk: -fake
* common.mk (no-fake): add alias -fake for dist.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50942 b2dd03c8-39...
nobu (Nobuyoshi Nakada)
11:16 PM Bug #10871: Sclass thread unsafe due to CREF sharing
Thank you.
I updated a patch.
```diff
Index: insns.def
======================================================...
ko1 (Koichi Sasada)
09:11 PM Bug #10871: Sclass thread unsafe due to CREF sharing
Hi, ko1 san.
I applied the ko1's patch on ruby_2_2 branch and make test-rubyspec fails with Segmentation fault.
...
nagachika (Tomoyuki Chikanaga)
10:27 PM Bug #10402: URI regression in 2.2.0-preview1 (bad URI(is not URI?): URI::InvalidURIError)
The patch caused this bug https://bugs.ruby-lang.org/issues/11275. jimpo (Jim Posen)
10:23 PM Bug #11275: RFC3986_Parser accepts invalid URIs containing %
Seems to have happened in commit [21ab98a997d2ed44c9c95cf5434a42561b2cd688](https://github.com/ruby/ruby/commit/21ab9... jimpo (Jim Posen)
10:12 PM Bug #11275 (Closed): RFC3986_Parser accepts invalid URIs containing %
URI.parse('https://www.example.com/search?q=%XX') does not raise an error despite being an invalid URI. A % in a URI ... jimpo (Jim Posen)
09:07 PM Revision c3a27db1 (git): * 2015-06-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:07 PM Revision fa5d0d24 (git): compile.c: use %+PRIsVALUE instead of rb_inspect
* compile.c (get_exception_sym2type, iseq_build_from_ary_body):
rely on %+PRIsVALUE instead of calling rb_inspect d...
Eric Wong
06:42 PM Feature #11266: [PATCH] WEBrick: allow subclassing of Response and Request
No specific reason, only to make the changes to the library smaller. They certainly can be separate methods. julik (Julik Tarkhanov)
01:08 AM Feature #11266: [PATCH] WEBrick: allow subclassing of Response and Request
Any reason to create both together in `create_request_and_response`? nobu (Nobuyoshi Nakada)
03:48 PM Bug #11265: deadlock on Solaris 10 since r50900
2015-06-17 11:40 GMT-04:00 <[email protected]>:
> Issue #11265 has been updated by Naohisa Goto.
>
>
> ...
kosaki (Motohiro KOSAKI)
03:40 PM Bug #11265: deadlock on Solaris 10 since r50900
test/lib/test/unit.rb の _run_parallel メソッド内の 408-410行目にて、以下のタイミングで発生していることはわかりました。
1. 408行目では start_watchdog を呼ぶ。
...
ngoto (Naohisa Goto)
03:40 PM Bug #11121 (Third Party's Issue): openssl ext does not handle EWOULDBLOCK
Thanks for following up! zzak (zzak _)
03:19 PM Bug #11121: openssl ext does not handle EWOULDBLOCK
Thanks for the feedback and apologies for the delay here - it took a while to do further testing and confirming with ... pep (Pep Turró Mauri)
03:12 PM Bug #11274: Equality inconsistency between Method and UnboundMethod
一致する方に揃えると良いと思います。
また、ドキュメントはaliasを考慮していないと思うので、「ownerの一致または同じ実体を指すalias」とでも記述するのが良いのではないでしょうか。
Matz.
matz (Yukihiro Matsumoto)
08:01 AM Bug #11274 (Closed): Equality inconsistency between Method and UnboundMethod
Method と UnboundMethod の equality が一貫していません。
```ruby
module M1
def foo; end
end
module M2
include M1
...
ko1 (Koichi Sasada)
01:40 PM Bug #10533: HTTP reconnection with SNI does not send correct hostname
Following up on my comment a few days ago:
I ran a test in python using https://github.com/nabla-c0d3/sslyze (with...
mkarnebeek (Michiel Karnebeek)
12:52 PM Revision 04d13d06 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:11 PM Revision 61da1049 (git): bignum.c: doc of rb_cstr_to_inum
* bignum.c (rb_cstr_to_inum): [DOC] add document of the function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
nobu (Nobuyoshi Nakada)
12:00 PM Bug #11272 (Closed): cross compilation problem
Applied in changeset r50937.
----------
common.mk: needs fake.rb
* common.mk (ENC_MK): needs fake.rb if cross compi...
nobu (Nobuyoshi Nakada)
01:05 AM Bug #11272 (Closed): cross compilation problem
3月あたりから cross compile に失敗していることに気がつきました。
今日の結果はたとえば
http://www.rubyist.net/~akr/chkbuild/debian/crossruby-trunk-a...
akr (Akira Tanaka)
11:59 AM Revision 22eb2a4f (git): common.mk: needs fake.rb
* common.mk (ENC_MK): needs fake.rb if cross compilation.
[ruby-dev:49098] [Bug #11272]
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
11:24 AM Revision 07a296ce (git): * ext/rbconfig/sizeof/extconf.rb: Check __float80.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:51 AM Feature #11032 (Closed): Add a warning for misspelling "def intialize"
This issue can be closed because this will be covered by #11252 in a much more general way. duerst (Martin Dürst)
07:21 AM Revision e521b916 (git): util.c: fix off-by-one error
* util.c (ruby_scan_digits): fix the return length off-by-one
error when the length is given and the last char is a...
nobu (Nobuyoshi Nakada)
07:04 AM Feature #11273 (Closed): [PATCH] Make it possible to `load` from a FIFO file
Revision #50887 (https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/50887) avoided `load` from block... cesario (Franck Verrot)
06:25 AM Revision aabe6b46 (git): * ChangeLog: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
06:17 AM Revision f9fca831 (git): * safe.rb (safe_setter): of course, don't have to warn the limitation of
$SAFE=3 after it's removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50933 b2dd03c8-39d4-4d8f-98ff-823fe69...
U.Nakamura
05:29 AM Revision bbf440c9 (git): * include/ruby/ruby.h: $SAFE=3 is now obsolete.
* ext/socket/init.c, ext/socket/socket.c, ext/socket/tcpsocket.c
ext/socket/udpsocket.c, gc.c, object.c, re.c, safe...
hsbt (Hiroshi SHIBATA)
04:20 AM Feature #11267: CSV::Row#field と CSV::Table#[] の引数に Range を使えるようにした
ありがとうございました !
takkanm (三村 益隆)
01:59 AM Feature #11267 (Closed): CSV::Row#field と CSV::Table#[] の引数に Range を使えるようにした
Applied in changeset r50929.
----------
* lib/csv.rb: accept to use Range object for row selection.
[Feature #1126...
hsbt (Hiroshi SHIBATA)
12:42 AM Feature #11267 (Assigned): CSV::Row#field と CSV::Table#[] の引数に Range を使えるようにした
やっておきます hsbt (Hiroshi SHIBATA)
04:16 AM Feature #11258: add 'x' mode character for O_EXCL
> ~~~diff
> +#define MODE_BINARY_EXCL(a,b,c,d) \
> + ((oflags & O_EXCL) ? MODE_BINARY(d, c) : MODE_BINARY(b, a))
...
nobu (Nobuyoshi Nakada)
03:13 AM Revision 3759dfa2 (git): * ChangeLog: added contibutor name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:01 AM Bug #11269 (Assigned): ruby_init_setproctitle() should be called before require_libraries()
I agree.
I'll take a look.
kosaki (Motohiro KOSAKI)
02:41 AM Bug #10951: insert WB in lep_svar_set() (r49898)
ruby_2_1 r50930 merged revision(s) 49898. usa (Usaku NAKAMURA)
02:41 AM Revision 9af0f53f (git): merge revision(s) 49898: [Backport #10951]
* vm_insnhelper.c (lep_svar_set): add WBs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@50930 b2dd...
U.Nakamura
01:58 AM Revision 96fb8196 (git): * lib/csv.rb: accept to use Range object for row selection.
[Feature #11267][ruby-dev:49091]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50929 b2dd03c8-39d4-4d8f-98ff-823...
hsbt (Hiroshi SHIBATA)
01:49 AM Bug #10619: URI::HTTP#query= behavior changed for 2396 uris
In [r48934](https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/48934), why were both the RFC 2396 an... jimpo (Jim Posen)
12:53 AM Bug #11264: Memory leak in JSON stdlib ext (JSON generation)
Luke Gruber wrote:
> Should we continue this here or on https://github.com/flori/json/issues/251 ? I don't know what...
nobu (Nobuyoshi Nakada)
12:50 AM Revision e5471cbe (git): servlet.rb: requires json
* lib/rdoc/servlet.rb (documentation_search, root_search):
requires json for JSON.dump and fix sporadic failures du...
nobu (Nobuyoshi Nakada)
12:46 AM Revision db577345 (git): mkmf.rb: suppress warnings
* lib/mkmf.rb (try_func): suppress implicit-function-declaration
warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
12:13 AM Revision 3c5f42a9 (git): * 2015-06-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:12 AM Revision 71ebbe33 (git): mkmf.rb: suppress warnings
* lib/mkmf.rb (try_func, try_var): suppress
unused-but-set-variable warnings.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)

06/16/2015

11:38 PM Bug #11265: deadlock on Solaris 10 since r50900
2015-06-16 12:37 GMT-04:00 <[email protected]>:
> Issue #11265 has been updated by Naohisa Goto.
>
>
> ...
kosaki (Motohiro KOSAKI)
04:37 PM Bug #11265: deadlock on Solaris 10 since r50900
テストがストップしている場所は、
test/runner.rb の29行め
assert_empty(Process.waitall)
の行であることまではわかりました。
test/testunit/test...
ngoto (Naohisa Goto)
05:35 AM Bug #11265 (Closed): deadlock on Solaris 10 since r50900
Solaris10にて、r50900 以降、
TestParallel::TestParallel#test_jobs_status
TestParallel::TestParallel#test_separate
のいずれ...
ngoto (Naohisa Goto)
11:33 PM Bug #11264: Memory leak in JSON stdlib ext (JSON generation)
Thanks for getting back to me.
That's true, but my guess is the most common leak scenario would be when calling a ...
luke-gru (Luke Gruber)
04:00 AM Bug #11264 (Third Party's Issue): Memory leak in JSON stdlib ext (JSON generation)
Luke Gruber wrote:
> Once again, not sure if this is a bug or if we should never raise errors from custom to_json me...
nobu (Nobuyoshi Nakada)
02:54 AM Bug #11264 (Third Party's Issue): Memory leak in JSON stdlib ext (JSON generation)
Hi,
I'm not sure if this is a bug, or just undocumented behaviour, but here's a script to reproduce the memory lea...
luke-gru (Luke Gruber)
11:17 PM Bug #9817: The extconf.rb for OpenSSL assumes MingW
gdi32 and wsock32 are Windows specific but `File::ALT_SEPARATOR` is not.
I'm not sure if they are necessary or not...
nobu (Nobuyoshi Nakada)
11:35 AM Bug #9817: The extconf.rb for OpenSSL assumes MingW
Can we get this changed please? djberg96 (Daniel Berger)
10:17 PM Bug #10928: optparse Switch#summarize code doesn't reflect its documentation
Hello,
> However, the actual method definition line shows otherwise, namely an Array.
In documentations says th...
davydov_anton (Anton Davydov)
08:58 PM Feature #11258: add 'x' mode character for O_EXCL
Eric Wong <[email protected]> wrote:
> [email protected] wrote:
> > Also `rb_io_oflags_modestr()` didn't differen...
normalperson (Eric Wong)
07:58 PM Feature #11258: add 'x' mode character for O_EXCL
[email protected] wrote:
> Issue #11258 has been updated by cremno phobia.
>
> File excl_mode_v1.diff added
>
> ...
normalperson (Eric Wong)
07:46 PM Feature #11258: add 'x' mode character for O_EXCL
Here is a preliminary patch that passes `make test-all` (except for some RubyGems/SSL tests) on a glibc-based Linux (... cremno (cremno phobia)
07:07 PM Feature #10672: Enable SSL on cache.ruby-lang.org
Hello Hiroshi,
We are ready for the TLS implementation process at your request. Your ticket number is 13354, for ...
sparkyjg007 (JEFFREY GENERAO)
06:52 PM Bug #11271 (Closed): TestObjSpace#test_trace_object_allocations_start_stop_clear occasional failure
手元の環境で ruby_2_2 ブランチ上で make test-all TESTS=objspace/test_objspace.rb と test_objspace.rb だけ指定して実施すると、以下のような 1 Failure ... nagachika (Tomoyuki Chikanaga)
06:26 PM Feature #9108: Hash sub-selections
Rodrigo Rosenfeld Rosas wrote:
> I actually prefer the signature used by Matz two years ago in that note 18 of issue...
pabloh (Pablo Herrero)
03:52 PM Feature #9108: Hash sub-selections
I actually prefer the signature used by Matz two years ago in that note 18 of issue #8499, which is similar to how AS... rosenfeld (Rodrigo Rosenfeld Rosas)
01:26 AM Feature #9108: Hash sub-selections
Rodrigo Rosenfeld Rosas wrote:
> I needed (once more) `Hash#except` today and I always wonder why it doesn't exist i...
akr (Akira Tanaka)
06:23 PM Bug #10852: TestObjSpace#test_dump_flags sometimes fails on mswin-CI
ruby_2_2 向けパッチありがとうございます。 r50923 で適用しました。が手違いで test_objspace.rb に関係ない変更を混ぜてしまったので r50924 でその部分を revert しています。 nagachika (Tomoyuki Chikanaga)
08:42 AM Bug #10852 (Closed): TestObjSpace#test_dump_flags sometimes fails on mswin-CI
r50914 で trunk は修正しました(ref 忘れた)。
以下は、2.2 向けです。
```diff
Index: ChangeLog
=====================================...
ko1 (Koichi Sasada)
06:22 PM Revision caa4dfa2 (git): test/objsace/test_objspace.rb: revert partially r50923.
I accidentally insert GC.start.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50924 b2dd03c8-39d4-4...
nagachika (Tomoyuki Chikanaga)
06:21 PM Bug #11270 (Rejected): Coverity Scan warns out-of-bounds access in ext/socket
Hello,
Coverity Scan warns ext/socket/init.c and raddrinfo.c.
`rsock_s_recvfrom` in ext/socket/init.c does:
...
mame (Yusuke Endoh)
06:19 PM Revision b9f5a6c2 (git): merge revision(s) 50914,50915: [Backport #10852]
* test/objspace/test_objspace.rb (test_dump_flags): relax pattern
because long_lived flag and marked flag c...
nagachika (Tomoyuki Chikanaga)
04:19 PM Feature #11267: CSV::Row#field と CSV::Table#[] の引数に Range を使えるようにした
いいんじゃないでしょうか。コードレビュー後、問題なければコミットしてください。
中田さん?
Matz.
matz (Yukihiro Matsumoto)
01:16 PM Feature #11267 (Closed): CSV::Row#field と CSV::Table#[] の引数に Range を使えるようにした
CSV を使用している際、n 行目から m 行目までを取得したいというケースがあり、Array と同じ気持ちで Range オブジェクトを渡したところ動作しないことに気づきました。
~~~
row = CSV::Row.new(%...
takkanm (三村 益隆)
03:03 PM Bug #11268: Zlib::DataError: incorrect header check
i can reproduce it with "ruby 2.3.0dev (2015-06-15 trunk 50908) [x86_64-linux]"
but i did use require 'open-uri' i...
Hanmac (Hans Mackowiak)
02:15 PM Bug #11268 (Rejected): Zlib::DataError: incorrect header check
I'm having an issue opening a webpage with open-uri
$ ruby -v
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-d...
stevenspiel (Steven Spiel)
03:00 PM Bug #11269 (Closed): ruby_init_setproctitle() should be called before require_libraries()
We have come across an issue where `setproctitle` fails to use the whole length of the process's initial environment.... apoikos (Apollon Oikonomopoulos)
02:40 PM Revision af68619a (git): fix unbalanced square brackets
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:40 PM Revision 02f2b5ef (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:48 PM Feature #11266: [PATCH] WEBrick: allow subclassing of Response and Request
Patch against current trunk, should be backportable. julik (Julik Tarkhanov)
09:35 AM Feature #11266 (Closed): [PATCH] WEBrick: allow subclassing of Response and Request
To properly support the Rack specification features introduced in 2013, a number of features is needed in HTTPRespons... julik (Julik Tarkhanov)
12:03 PM Feature #11252: Integrated "did_you_mean" gem to ruby-core
It's a great honor and privilege for me to see the did_you_mean gem become part of the language and I am really grate... yuki24 (Yuki Nishijima)
10:22 AM Revision 96593ece (git): * ext/rbconfig/sizeof/extconf.rb: Check several types defined in C99
and x86_64 ABI.
* template/sizes.c.tmpl: Relax a pattern for types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
akr (Akira Tanaka)
09:46 AM Revision e4d0f54b (git): date_parse.c: use ALLOCV
* ext/date/date_parse.c (s3e, date_zone_to_diff, parse_ddd_cb):
use ALLOCV instead of ALLOCA get rid of stack overf...
nobu (Nobuyoshi Nakada)
09:45 AM Revision d1496e8b (git): date_strptime.c: use ALLOCV
* ext/date/date_strptime.c (read_digits): use ALLOCV instead of
ALLOCA get rid of stack overflow.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
09:29 AM Revision c2c81723 (git): test_nonblock.rb: use assert_predicate
* test/socket/test_nonblock.rb (test_recv_nonblock_no_exception),
(test_recvfrom_nonblock_no_exception): use assert...
nobu (Nobuyoshi Nakada)
09:26 AM Revision 85d5df55 (git): test_nonblock.rb: fix failure on OSX
* test/socket/test_nonblock.rb (test_recvfrom_nonblock_no_exception):
no destination to already connected socket. ...
nobu (Nobuyoshi Nakada)
09:23 AM Bug #10871: Sclass thread unsafe due to CREF sharing
This is an ad-hoc fix only for this issue.
Not complete fix. I wrote explanation about it in ChangeLog entry.
```...
ko1 (Koichi Sasada)
08:43 AM Revision cbffea05 (git): add ref to [Bug #10852].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
08:38 AM Revision 5a174881 (git): * test/objspace/test_objspace.rb: relax pattern because uncollectible
flag and marked flag can be false at major GC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50914 b2dd03c8-39...
ko1 (Koichi Sasada)
03:35 AM Feature #11139: [PATCH] socket: support accept `sock_nonblock: (true|false)'
Akira Tanaka wrote:
> It is not clear that the behavior when sock_nonblock kwarg is not specified.
> I feel that ...
akr (Akira Tanaka)
01:53 AM Feature #11139: [PATCH] socket: support accept `sock_nonblock: (true|false)'
"sock_nonblock kwarg is similar to SOCK_NONBLOCK flag in (future) POSIX" seems intuitive.
Note that accept4 (and i...
akr (Akira Tanaka)
12:38 AM Feature #11263: [PATCH] ext/socket/ancdata.c (bsock_recvmsg_internal): reduce stack use
I would also like a way to specify a reusable buffer for this like
recv and recv_nonblock, but it is probably less ...
normalperson (Eric Wong)
12:29 AM Feature #11263 (Closed): [PATCH] ext/socket/ancdata.c (bsock_recvmsg_internal): reduce stack use
Using 8K stack is probably too much. As reference, ALLOCV falls
back to heap allocation at a mere 1K. Since
bsock...
normalperson (Eric Wong)

06/15/2015

11:48 PM Feature #11139: [PATCH] socket: support accept `sock_nonblock: (true|false)'
[email protected] wrote:
> So the proposed kwarg is almost no-op at Ruby level.

Agree.

> It may reduce system call...
normalperson (Eric Wong)
11:02 PM Bug #10968: [BUG] object allocation during garbage collection phase in /opt/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/ssl.rb:177
Do you know how to reproduce it?
Rails+Ruby 2.2 isn't enough for me to make a crash.
zzak (zzak _)
01:59 PM Bug #10968: [BUG] object allocation during garbage collection phase in /opt/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/ssl.rb:177
Koichi Sasada wrote:
> Could you check it on the latest version?
I'm experiencing the same issue under ruby 2.2.2...
netronix (Michaël Rigart)
09:46 PM Feature #9108: Hash sub-selections
I needed (once more) `Hash#except` today and I always wonder why it doesn't exist in Ruby yet. I ended up using the o... rosenfeld (Rodrigo Rosenfeld Rosas)
09:28 PM Revision d51065b0 (git): NEWS: update for socket API changes [ci skip]
[Feature #11242] [Feature #11229]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50913 b2dd03c8-39d4-4d8f-98ff-82...
Eric Wong
08:03 PM Feature #11242 (Closed): [PATCH] socket: alloa explicit buffer for recv and recv_nonblock
Applied in changeset r50912.
----------
socket: allow explicit buffer for recv and recv_nonblock
This reduces GC ov...
Anonymous
08:02 PM Revision a02a3f46 (git): socket: allow explicit buffer for recv and recv_nonblock
This reduces GC overhead and makes the API more consistent
with IO#read and IO#read_nonblock.
* ext/socket/basicsock...
Eric Wong
07:39 PM Revision 56368a06 (git): * 2015-06-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:39 PM Feature #11229 (Closed): [PATCH] socket: allow exception-free nonblocking sendmsg/recvmsg
Applied in changeset r50910.
----------
socket: allow exception-free nonblocking sendmsg/recvmsg
As documented befo...
Anonymous
07:38 PM Revision b9a91334 (git): socket: allow exception-free nonblocking sendmsg/recvmsg
As documented before, exceptions are expensive and IO::Wait*able are too
common in socket applications to be the exce...
Eric Wong
11:55 AM Feature #11262 (Open): Make more objects behave like "Functions"
# What is a Function?
In Ruby, we have the [`Proc`](http://ruby-doc.org/core/Proc.html) class to represent objects...
jwmittag (Jörg W Mittag)
08:18 AM Revision 91af3e00 (git): proc.c: reduce type checks
* proc.c (rb_mod_define_method): no needs to check same type
twice.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
05:37 AM Revision 9f2e41b7 (git): * lib/set.rb: Make Set#each and SortedSet#each generate a sized
enumerator. [GH-931] by kachick (Kenichi Kamiya)
* test/test_set.rb: Import tests from Set into SortedSet. [GH-931]
...
Akinori MUSHA
02:11 AM Revision bab5bf0c (git): * lib/net/http.rb (Net::HTTP#connect): use connect_nonblock and
io/wait. fix GH-899
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
01:52 AM Revision 23f371fd (git): envutil.rb: show failure description
* test/lib/envutil.rb (assert_separately): always show failure
description. signals are not available on Windows.
...
nobu (Nobuyoshi Nakada)
01:51 AM Revision 5c5b2505 (git): envutil.rb: no signal description iff possible
* test/lib/envutil.rb (FailDesc): show signal description only if
it is available, or nothing if not killed by a si...
nobu (Nobuyoshi Nakada)

06/14/2015

11:40 PM Revision 1ab22a56 (git): raddrinfo.c: suppress a warning
* ext/socket/raddrinfo.c (parse_numeric_port): used only when
inet_pton() is available.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
11:23 PM Revision efb9a0fc (git): call_without_gvl.c: no sys/select.h
* ext/-test-/gvl/call_without_gvl/call_without_gvl.c: sys/select.h
is included by ruby/define.h if available.
git-...
nobu (Nobuyoshi Nakada)
11:05 PM Revision 03ced98d (git): test_require.rb: wait loadig
* test/ruby/test_require.rb (test_loading_fifo_threading): wait
until the main thread blocks by loading.
git-svn-i...
nobu (Nobuyoshi Nakada)
10:53 PM Bug #11237: サブスレッドがすべて終了するとメインスレッドが割り込まれる。
ご指摘のとおりだと思います。こちらで対応するテストを作成のうえ、コミットしました。
kosaki (Motohiro KOSAKI)
10:52 PM Bug #11237 (Closed): サブスレッドがすべて終了するとメインスレッドが割り込まれる。
Applied in changeset r50900.
----------
* thread.c (thread_start_func_2): don't interrupt when last thread exit
un...
kosaki (Motohiro KOSAKI)
10:52 PM Revision c9279916 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:52 PM Revision 8ecd3b71 (git): * thread.c (thread_start_func_2): don't interrupt when last thread exit
unless main thread is already exited. Otherwise main thread could be
wrongly interrupted when it uses rb_thread_cal...
kosaki (Motohiro KOSAKI)
06:48 PM Bug #10943: Singleton class expression (class << obj) should make be indivisual namespaces
Just memorandum.
I've partially backported r49898 which contains a fix for r49874 into `ruby_2_2` branch.
If you ...
nagachika (Tomoyuki Chikanaga)
06:45 PM Bug #10951: insert WB in lep_svar_set() (r49898)
Partially backported into `ruby_2_2` branch at r50899.
最初の差分の行は r49874 で導入された行で `ruby_2_2` には存在しなかったため含めていません(see ...
nagachika (Tomoyuki Chikanaga)
06:43 PM Revision bc69a7df (git): merge revision(s) 49898: [Backport #10951]
* vm_insnhelper.c (lep_svar_set): add WBs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@50899 b2dd...
nagachika (Tomoyuki Chikanaga)
06:25 PM Bug #11091: Symbolized Strings May Break Keyword Arguments
already backported into `ruby_2_2` branch at r50562. see #11027. nagachika (Tomoyuki Chikanaga)
04:55 PM Feature #6284: Add composition for procs
Attached patches for `Proc#*` and `Method#*` for Proc and Method composition including test cases. Also raised as a p... mudge (Paul Mucur)
03:34 PM Bug #11048 (Closed): blocks raise on missing and extra keyword args
OK, you value consistency, where I value pragratic trade-off. That's the difference in view points.
Let's agree to d...
matz (Yukihiro Matsumoto)
03:15 PM Feature #11052 (Closed): [PATCH] Blockless Pathname#ascend and #descend return Enumerator
Applied in changeset r50897.
----------
* ext/pathname/lib/pathname.rb (descend): Blockless form supported.
(ascen...
akr (Akira Tanaka)
03:14 PM Revision 95f251b4 (git): * 2015-06-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision 8bb581f8 (git): * ext/pathname/lib/pathname.rb (descend): Blockless form supported.
(ascend): Ditto.
[ruby-core:68820] [Feature #11052] Patch by Piotr Szotkowski.
git-svn-id: svn+ssh://ci.ruby-lan...
akr (Akira Tanaka)
02:34 PM Bug #11261: Time.parse of javascript formatted timestamp: wrong results in certain timezones
It seems that Date._parse recognizes NOV as November.
```
% ruby -rdate -e 'p Date._parse("Mon May 18 2015 22:16:...
akr (Akira Tanaka)
01:37 PM Bug #11261 (Closed): Time.parse of javascript formatted timestamp: wrong results in certain timezones
If I try to parse a string generated by javascript's `new Date()` (seems like RFC 2822 with timezone name specified)... Envek (Andrey Novikov)
01:48 PM Revision 16917fa6 (git): * test/ruby/test_require.rb (TestRequire#test_loading_fifo_threading): omit on
Windows. the platform does not support fifo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50896 b2dd03c8-39d4...
U.Nakamura
01:35 PM Revision 35808bbf (git): show pathname of failed file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:25 PM Revision d4440631 (git): raddrinfo.c: suppress a warning
* ext/socket/raddrinfo.c (parse_numeric_port): explict cast to
suppress a warning for precision losing conversion.
...
nobu (Nobuyoshi Nakada)
12:13 PM Revision 0b2f4ab0 (git): test_prime.rb: descriptive assertions
* test/test_prime.rb: use more descriptive assertions for better
failure meessages, instead of simple assert.
git-...
nobu (Nobuyoshi Nakada)
11:24 AM Bug #11259 (Feedback): Ruby crash when no TTY and pod install
Please show the DiagnosticReports file. nobu (Nobuyoshi Nakada)
11:11 AM Misc #10905 (Closed): Additional documentation for Time#getlocal
akr (Akira Tanaka)
11:10 AM Revision 3093ffab (git): * time.c (time_getlocaltime): [DOC] Add examples of valid utc_offset
formats.
[ruby-core:68306] [Misc #10905] Patch by Charles Korn.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
akr (Akira Tanaka)
10:43 AM Revision 9bcff8db (git): [DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:28 AM Feature #11124 (Closed): [PATCH] lib/*: use monotonic clock for timeouts
akr (Akira Tanaka)
10:24 AM Feature #10718: IO#close should not raise IOError on closed IO objects.
I feel there are much more useful situations than disappointment situations related to this change.
akr (Akira Tanaka)
10:14 AM Bug #11260: [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails
@shugo, can I commit this? Eregon (Benoit Daloze)
10:12 AM Bug #11260 (Closed): [PATCH] Net::FTP keeps a TCPServer opened when sending the data port fails
`Net::FTP` will keep the `TCPServer` created in `makeport` opened if `sendport` fails.
The patch sends the port in i...
Eregon (Benoit Daloze)
10:11 AM Revision 2f8d3280 (git): * ext/socket/raddrinfo.c (parse_numeric_port): Detect
port overflow.
(numeric_getaddrinfo): Use parse_numeric_port.
numeric_getaddrinfo fails if port is too big now.
...
akr (Akira Tanaka)
10:09 AM Feature #11139 (Feedback): [PATCH] socket: support accept `sock_nonblock: (true|false)'
The status of nonblocking flag is not so important in Ruby
because most methods works regardless of the flag.
(Nonb...
akr (Akira Tanaka)
09:39 AM Bug #11179 (Third Party's Issue): Inconsistent Addrinfo parsing a port number
The behavior is inherited from getaddrinfo() function in libc.
So it is difficult to fix the problem in Ruby.
akr (Akira Tanaka)
08:54 AM Feature #10769 (Closed): Negative counterpart to Enumerable#slice_when
Applied in changeset r50889.
----------
* enum.c (enum_chunk_while): New method Enumerable#chunk_while.
[ruby-core...
akr (Akira Tanaka)
08:54 AM Revision 11aa7c96 (git): * enum.c (enum_chunk_while): New method Enumerable#chunk_while.
[ruby-core:67738] [Feature #10769] proposed by Tsuyoshi Sawada.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
akr (Akira Tanaka)
08:53 AM Bug #11060 (Closed): load(fifo) blocks whole process
Applied in changeset r50887.
----------
file.c: open without gvl
* file.c (rb_file_load_ok): try opening file witho...
nobu (Nobuyoshi Nakada)
08:33 AM Bug #11060: load(fifo) blocks whole process
Franck Verrot wrote:
> I can't reproduce the same errors without correcting the typo (or I'm getting a `NameError: u...
nobu (Nobuyoshi Nakada)
08:53 AM Revision 07736e3d (git): Add ticket numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:20 AM Revision 0b3ef899 (git): file.c: open without gvl
* file.c (rb_file_load_ok): try opening file without gvl not to
lock entire process. [Bug #11060]
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
01:46 AM Revision 9b04c1dd (git): * tool/runruby.rb: just remove the lines of RUBY_VERSION check and raise
instead of replacing the check to `true`, for getting rid of a
warning `possibly useless use of true in void contex...
U.Nakamura
01:14 AM Revision f4a51365 (git): * lib/rexml/source.rb (REXML::IOSource#scan): Fix a typo in
document. [fix GH-934] [ci skip]
Patch by Anton Davydov. Thanks!!!
warrent
warrant
?
git-svn-id:...
Sutou Kouhei
01:13 AM Revision 924baabd (git): * lib/rexml/attlistdecl.rb (REXML::AttlistDecl): Fix a typo in
document. [fix GH-934] [ci skip]
Patch by Anton Davydov. Thanks!!!
for seeable
foreseeable
+
git-...
Sutou Kouhei
12:59 AM Revision cda0d562 (git): * test/test_unicode_normalize.rb: get rid of a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura

06/13/2015

10:06 PM Bug #11259 (Closed): Ruby crash when no TTY and pod install
~~~
Trigger script exited with code: 15 /usr/local/lib/ruby/gems/2.2.0/gems/cocoapods-0.37.2/lib/cocoapods/executabl...
ochervak (Ostap Chervak)
09:26 PM Revision 7151598d (git): * test/ruby/test_io.rb: add test for IO.binread fd leak.
See r50881.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
08:25 PM Revision 0ebf2afa (git): * io.c (rb_io_s_binread): close fd if seek offset is invalid.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
07:42 PM Revision b1e064fc (git): * test/lib/leakchecker.rb (check): refactor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
07:41 PM Revision c4dba390 (git): * test/lib/leakchecker.rb: Return false for no leaks.
Otherwise the GC could run for nothing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50879 b2dd03c8-39d4-4d8f-9...
Eregon (Benoit Daloze)
07:17 PM Revision 3f2d575f (git): * lib/delegate.rb: [DOC] Update SimpleDelegator example. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
06:44 PM Feature #11256: anonymous block forwarding
```ruby
# takes a block
def bar
# forwards it to foo without instantiating a proc
foo(1, &)
end
```
bughit (bug hit)
06:36 PM Bug #11048: blocks raise on missing and extra keyword args
Yukihiro Matsumoto wrote:
> For example, `loop` method passes loop counter to the block. You can safely ignore this ...
bughit (bug hit)
04:06 PM Bug #11048: blocks raise on missing and extra keyword args
For example, `loop` method passes loop counter to the block. You can safely ignore this by arity tolerance. This is a... matz (Yukihiro Matsumoto)
06:36 PM Revision 0f1b6e46 (git): * 2015-06-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:34 PM Revision 4770fedf (git): * test/test_cmath.rb: Adding parens to suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kazuki Tanaka
03:34 PM Bug #11249 (Closed): Fix require paths for BigDecimal and io-console
Applied in r50860. vo.x (Vit Ondruch)
02:52 PM Bug #11060: load(fifo) blocks whole process
本筋ではないんですが、fstatのエラーを無視するように変えてしまっているのはいいんでしょうか kosaki (Motohiro KOSAKI)
12:53 PM Bug #11060: load(fifo) blocks whole process
Akira Tanaka wrote:
> fifo を load しようとすると、プロセス全体がブロックします。
I can't reproduce the same errors without correcting th...
cesario (Franck Verrot)
02:38 PM Feature #11158: Introduce a Symbol.count API as a more efficient alternative to Symbol.all_symbols.size
Franck Verrot wrote:
> I'm not sure to fully understand why we make `Symbol` extend `Enumerable` rather than returni...
marcandre (Marc-Andre Lafortune)
11:04 AM Feature #11158: Introduce a Symbol.count API as a more efficient alternative to Symbol.all_symbols.size
Thanks for the feedback - I'll take a stab and circle back. methodmissing (Lourens Naudé)
07:47 AM Feature #11158: Introduce a Symbol.count API as a more efficient alternative to Symbol.all_symbols.size
I don't against introduce Symbol.each for shortcut of Symbol.all_symbols.each.
However, For measurement purpose, w...
ko1 (Koichi Sasada)
06:38 AM Feature #11158: Introduce a Symbol.count API as a more efficient alternative to Symbol.all_symbols.size
Lourens Naudé wrote:
> Please find attached the changes as per Marc-Andre's suggestions. Exposes `Symbol.each` and e...
cesario (Franck Verrot)
01:06 PM Feature #11258 (Closed): add 'x' mode character for O_EXCL
I just saw #11253 which contains:
>But some modes has only integer form like O_CLOEXEC, O_EXCL.
However C11 add...
cremno (cremno phobia)
12:30 PM Revision 16f37446 (git): io.c: simplify rb_io_modestr_fmode
* io.c (io_encname_bom_p): needs len always.
* io.c (rb_io_modestr_fmode): check BOM only after a colon.
git-svn-id...
nobu (Nobuyoshi Nakada)
12:28 PM Revision c6e9425c (git): thread.c: indent
* thread.c (rb_thread_inspect): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50874 b2dd03c8-39d4...
nobu (Nobuyoshi Nakada)
12:02 PM Revision 180ca79e (git): On Windows File::Stat#ino always returned 0, but
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:53 AM Revision f660681a (git): move a new feature to correct section
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:50 AM Feature #11216 (Closed): inode for Windows
Applied in changeset r50871.
----------
add news about inode for Windows [Feature #11216]
naruse (Yui NARUSE)
11:50 AM Revision 0a550264 (git): add news about inode for Windows [Feature #11216]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:46 AM Revision 4ff07119 (git): * file.c (rb_stat_ino): get inode from the interval of struct st.
* win32/win32.c (stati64_set_inode): get nFilIndexHigh/Low, and set it
to the interval of struct st as inode.
* wi...
naruse (Yui NARUSE)
11:17 AM Revision 768bc8b8 (git): mark thread name string
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:08 AM Bug #10852: TestObjSpace#test_dump_flags sometimes fails on mswin-CI
これ、ずっと考えてたんですが、
よく見ると major gc の時、old であっても、long_lived":true が外れることがあることがわかりました(それで正常)。
なので、テストを修正しようと思います。
tr...
ko1 (Koichi Sasada)
10:58 AM Feature #11251 (Closed): Thread#name and Thread#name=
Applied in changeset r50868.
----------
add Thread.name and Thread.name= docs Feature #11251 [ci skip]
naruse (Yui NARUSE)
10:58 AM Revision e2a930c7 (git): add Thread.name and Thread.name= docs Feature #11251 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:47 AM Revision 9dcf6d9f (git): * ext/io/console/depend (.list.chksum): revert a part of r50859, because
it was not mentioned at its commit log and it caused a build error on
Windows ($(MAKE) is already quoted).
git-sv...
U.Nakamura
10:46 AM Feature #11220 (Rejected): strptime(%6N)
%N で読めるからいらないかも naruse (Yui NARUSE)
08:56 AM Revision 29513dbc (git): sleep thread until assertions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:49 AM Revision 92ca9f06 (git): darwin can't set anothre thread's name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:42 AM Revision a34ca0c9 (git): suppress warning: ambiguous first argument; put parentheses or a space even after `/' operator
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:39 AM Revision 712a570f (git): * vm_core.h (rb_thread_t): add th->name.
* vm.c (th_init): initialize th->name.
* thread.c (Init_Thread): add Thread.name and Thread.name=.
* thread.c (rb_t...
naruse (Yui NARUSE)
07:54 AM Feature #10932: Enabling allocation tracing as early as possible
Aaron Patterson wrote:
> > Should not include.
>
> Any reason why not? Usually I don't know where to include it ...
ko1 (Koichi Sasada)
07:51 AM Bug #10968: [BUG] object allocation during garbage collection phase in /opt/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/ssl.rb:177
Could you check it on the latest version? ko1 (Koichi Sasada)
07:41 AM Bug #11219 (Closed): bootstrap test failed on sparc Solaris since r50743
ko1 (Koichi Sasada)
02:40 AM Revision 654b90d3 (git): * lib/tempfile.rb: Fix typo. [fix GH-933] Patch by @Zorbash
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
02:38 AM Revision b7d3ec2f (git): * ext/openssl/ossl_ocsp.c: fix documentation on ocsp response cert status.
[fix GH-932] Patch by @chrisholmes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50861 b2dd03c8-39d4-4d8f-98ff-8...
hsbt (Hiroshi SHIBATA)
02:35 AM Revision 7c34b471 (git): * ext/bigdecimal/bigdecimal.gemspec: Fix require paths for released gem.
[fix GH-929] Patch by @voxik
* ext/io/console/io-console.gemspec: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
hsbt (Hiroshi SHIBATA)
01:59 AM Revision b031b387 (git): win32_vk.inc: suppress warnings
* ext/io/console/depend (win32_vk.inc): use offsetof() to suppress
warnings against cast from pointer to integer of...
nobu (Nobuyoshi Nakada)
01:08 AM Bug #11257 (Feedback): undefined symbol: rb_Digest_*_Init error when attempting to use digest/md5, digest/sha1, digest/sha2, and digest/ after building 2.2.2 form source.
Could you show `mkmf.log` file? nobu (Nobuyoshi Nakada)
12:19 AM Revision 37055f9d (git): envutil.rb: failure description
* test/lib/envutil.rb (assert_no_memory_leak): show detail failure
description.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom