Project

General

Profile

Activity

From 10/09/2014 to 10/15/2014

10/15/2014

11:40 PM Revision d910af94 (git): cont.c: fix when FIBER_USE_NATIVE is 0
* cont.c (fiber_store): restore references to next_fib (fix typo)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
Eric Wong
11:27 PM Revision 397271ca (git): cont.c: fix build when FIBER_USE_NATIVE is 0
* cont.c (fiber_store): remove references to nextfib
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47966 b2dd03c...
Eric Wong
11:12 PM Revision f65a15b0 (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:35 PM Revision 5c8c88a3 (git): cont.c: Optimize fiber_switch callees
Remove some unnecessary VALUE/struct conversions and aggressively inline
functions used during fiber_switch. Either o...
Eric Wong
10:35 PM Revision 71fcbf22 (git): cont.c (cont_save_thread): Sparse copying of thread data
Instead of copying the complete rb_thread_t struct (almost a kB),
selectively copy only those fields that will be nee...
Eric Wong
10:34 PM Feature #10341 (Closed): Fiber switch performance improvements
Applied in changeset r47959.
----------
cont.c: Remove unused prev_fiber/next_fiber fields
They were added in r1989...
Anonymous
10:34 PM Revision baeb94fa (git): cont.c: Small code cleanup
Remove variable that is used only once, several lines after
initialization.
* cont.c (cont_capture): remove unnecess...
Eric Wong
10:34 PM Revision 0bd492c6 (git): cont.c: Code cleanup in fiber_switch/fiber_store
Defragment code blocks depending on FIBER_USE_NATIVE in order to make
the control flow (which is already non-trivial ...
Eric Wong
10:34 PM Revision 9766fc4d (git): * 2014-10-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:34 PM Revision 6f6238a7 (git): cont.c: Remove unused prev_fiber/next_fiber fields
They were added in r19890 (8a0d53a), with the explanation that it's a
double linked list of fibers in the same thread...
Eric Wong
03:31 PM Bug #10035: Find.find no longer accepts Pathname type as argument
Backported into `ruby_2_1` at r47958. nagachika (Tomoyuki Chikanaga)
03:31 PM Revision c17ee110 (git): merge revision(s) r47900: [Backport #10035]
* lib/find.rb (Find.find): Call to_path for arguments to obtain
strings.
[ruby-core:63713] [Bug #...
nagachika (Tomoyuki Chikanaga)
03:29 PM Bug #10282: Reproducible segfault when inspecting this method
Backported into `ruby_2_1` at r47957. nagachika (Tomoyuki Chikanaga)
03:28 PM Revision 03a93ba4 (git): merge revision(s) r47715: [Backport #10282]
* object.c (rb_class_real): do not dereference 0 VALUE
* test/ruby/test_module.rb (test_inspect_segfault):
...
nagachika (Tomoyuki Chikanaga)
03:19 PM Bug #9820: miniruby -e 'Process.kill(:INT, $$)' hang under cron
r47818 and r47832 were backported into `ruby_2_1` branch at r47956. nagachika (Tomoyuki Chikanaga)
03:18 PM Revision a732f344 (git): merge revision(s) r47818,r47832: [Backport #9820]
* signal.c (rb_f_kill): should not ignore signal unless the
default handler is registered. [ruby-dev:48592...
nagachika (Tomoyuki Chikanaga)
03:09 PM Bug #10389 (Closed): SEGV after SEGV
最近、SEGV したときに、さらに SEGV することがあります。
```
% ./miniruby -e 'Process.kill(:SEGV, $$)'
-e:1: [BUG] Segmentation fault a...
akr (Akira Tanaka)
03:07 PM Bug #9728: Regexp bug
partially backport r47598 into `ruby_2_1` branch at r47954.
nagachika (Tomoyuki Chikanaga)
03:05 PM Revision 9b9479b1 (git): * 2014-10-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:05 PM Revision 4855b79e (git): merge r47598 partially. extracted commits are as follows. [Bug #9728]
https://github.com/k-takata/Onigmo/commit/15ddec6d18e27fdc1988236764e766fd5892ecf5
git-svn-id: svn+ssh://ci.ruby-la...
nagachika (Tomoyuki Chikanaga)
02:52 PM Bug #6716: FileUtils.mv でリンク先がないシンボリックリンクファイルを指定すると ENOENT エラーになる
Backported into `ruby_2_1` at r47953. nagachika (Tomoyuki Chikanaga)
02:51 PM Revision 3d22fe53 (git): merge revision(s) r46783: [Backport #6716]
* lib/fileutils.rb: handle ENOENT error with symlink targeted to
non-exists file. [ruby-dev:45933] [Bug #67...
nagachika (Tomoyuki Chikanaga)
02:47 PM Revision da85f4ee (git): merge revision(s) r45715: [Backport #10265]
* configure.in: NetBSD's ksh, used by configure, needs escapes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branche...
nagachika (Tomoyuki Chikanaga)
02:42 PM Feature #10327: Bool/False/True module for '==='
もっともなので Falsy/Truthy に変えてみました。
patch を作り直したので添付します。
前回の patch は壊れていました。確認が不十分でごめんなさい。
~~~
$ ./miniruby -e '[nil...
arimay (yasuhiro arima)
02:37 PM Revision 2a61ff2e (git): vm_backtrace.c: fix unknown ID name
* vm_backtrace.c (id2str): adapt rb_id2str which returns 0 on
unknown ID to return Qnil, since oldbt_arg functions ...
nobu (Nobuyoshi Nakada)
02:37 PM Revision 2d157880 (git): vm_backtrace.c: unknown name method
* vm_backtrace.c (location_format): adjust unknown name method
results to other functions.
git-svn-id: svn+ssh://c...
nobu (Nobuyoshi Nakada)
02:24 PM Bug #10369: [PATCH] array.c: missing RB_GC_GUARDs
Backported into `ruby_2_1` at r47949. nagachika (Tomoyuki Chikanaga)
07:20 AM Bug #10369: [PATCH] array.c: missing RB_GC_GUARDs
Backported into `ruby_2_0_0` at r47936. usa (Usaku NAKAMURA)
02:24 PM Revision b93e896d (git): merge revision(s) r47896: [Backport #10369]
* array.c (ary_recycle_hash): add RB_GC_GUARD
(rb_ary_diff): remove volatile
[Bug #10369]
git-s...
nagachika (Tomoyuki Chikanaga)
02:12 PM Revision 1c90afbc (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:12 PM Bug #10373: add RB_GC_GUARD in rb_mod_define_method() (r47891)
Backported into `ruby_2_1` at r47947. nagachika (Tomoyuki Chikanaga)
07:16 AM Bug #10373: add RB_GC_GUARD in rb_mod_define_method() (r47891)
Backported into `ruby_2_0_0` at r47935. usa (Usaku NAKAMURA)
02:12 PM Revision 43979d40 (git): merge revision(s) r47891: [Backport #10373]
proc.c: method body GC guard
* proc.c (rb_mod_define_method): guard method body to prevent its
method entr...
nagachika (Tomoyuki Chikanaga)
02:10 PM Bug #10294: Dir[] cannot be called with an array argument
Backported into `ruby_2_1` at r47946. nagachika (Tomoyuki Chikanaga)
07:14 AM Bug #10294: Dir[] cannot be called with an array argument
Backported into `ruby_2_0_0` at r47934. usa (Usaku NAKAMURA)
02:10 PM Revision 7ec073a8 (git): merge revision(s) r47850: [Backport #10294]
* dir.c (dir_s_aref): fix rdoc. `Dir.glob` allows an array but
`Dir[]` not. the former accepts an optiona...
nagachika (Tomoyuki Chikanaga)
02:09 PM Bug #9914: posix_fadvise() does not work correctly with _LARGE_FILES on 32-bit AIX
Backported r47819 into `ruby_2_1` at r47945. nagachika (Tomoyuki Chikanaga)
07:12 AM Bug #9914: posix_fadvise() does not work correctly with _LARGE_FILES on 32-bit AIX
Backported into `ruby_2_0_0` at r47933. usa (Usaku NAKAMURA)
02:08 PM Revision 54af7108 (git): merge revision(s) r47819: [Backport #9914]
* configure.in: Fix typo. [Bug #9914]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47945 b2dd03c8-...
nagachika (Tomoyuki Chikanaga)
02:06 PM Bug #10330: 例外クラス階層のドキュメントの誤り
Backported into `ruby_2_1` at r47944. nagachika (Tomoyuki Chikanaga)
07:10 AM Bug #10330: 例外クラス階層のドキュメントの誤り
Backported into `ruby_2_0_0` at r47932. usa (Usaku NAKAMURA)
02:06 PM Revision 7f6aaba7 (git): merge revision(s) r47820: [Backport #10330]
* error.c: update exception tree. [DOC]
reported by @hemge via twitter.
git-svn-id: svn+ssh://ci.ruby-lan...
nagachika (Tomoyuki Chikanaga)
01:09 PM Revision 0621ddc4 (git): * ext/etc/etc.c (etc_nprocessors_affin): Test CPU_ALLOC availability.
CentOS 5 don't have CPU_ALLOC().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47943 b2dd03c8-39d4-4d8f-98ff-8...
akr (Akira Tanaka)
11:28 AM Revision 1451377e (git): Simplify multiline condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
11:20 AM Feature #10298: Array#float_sum (like math.fsum of Python)
Thank you for the quick patch for enum.c.
Timing and test.
I see. performance is not improved.
```
$ uname -s...
t-nissie (Takeshi Nishimatsu)
10:57 AM Revision e67b307e (git): Simplify a regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:57 AM Revision ac719034 (git): Unused variable removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
09:44 AM Feature #10267: Number of processors
It seems kosaki-san is busy.
I committed etc-nprocessors-kosaki2.patch at r47939.
akr (Akira Tanaka)
09:41 AM Revision 7d9e04de (git): * ext/etc/etc.c (etc_nprocessors_affinity): use sched_getaffinity
for getting precious number of available cpus.
* ext/etc/etc.c (etc_nprocessors): use etc_nprocessors_affinity if
...
akr (Akira Tanaka)
09:06 AM Bug #10382: s = '\x80'; /#{s}/ raises an exception in US-ASCII script
筋が通るというのは原則どおりなのでそれはそうですが、
US-ASCII の場合は例外扱いでそうはしないことにしたという経緯があるので
筋が通るということのみではそうする理由にはならないと思います。
akr (Akira Tanaka)
09:03 AM Bug #10382: s = '\x80'; /#{s}/ raises an exception in US-ASCII script
UTF-8 や Windows-31J で試してみたところ、両方とも (/#{s}/ も /#{'\x80'}/ も) invalid multibyte escape となっています。なぜ US-ASCII の場合片方しかなってない... duerst (Martin Dürst)
08:59 AM Revision e1ba2d41 (git): * test/ruby/envutil.rb (assert_pattern_list) Renamed from
assert_regexp_list.
Show multiline string in multi lines.
* test/-ext-/bug_reporter/test_bug_reporter.rb: Use
as...
akr (Akira Tanaka)
08:46 AM Bug #10380: Make sure 'update-gems' is called in the make process
Hiroshi SHIBATA wrote:
> It will automatically install at ```make install``` therefore, Ruby 2.2 users can use it ...
duerst (Martin Dürst)
07:25 AM Bug #10245: TestTimeTZ#test_gen_Europe_Lisbon_111 fails with recent tzdata
Backported into `ruby_2_0_0` at r47937. usa (Usaku NAKAMURA)
07:24 AM Revision 9c1588a8 (git): merge revision(s) 47111,47212,47451,47452,47680: [Backport #10245]
* test/minitest/test_minitest_unit.rb: removed obsoleted condition
for Ruby 1.8.
* test/ruby/test_...
U.Nakamura
07:19 AM Revision 6e103e84 (git): merge revision(s) 47896: [Backport #10369]
* array.c (ary_recycle_hash): add RB_GC_GUARD
(rb_ary_diff): remove volatile
[Bug #10369]
git-s...
U.Nakamura
07:16 AM Revision 46885440 (git): merge revision(s) 47891: [Backport #10373]
proc.c: method body GC guard
* proc.c (rb_mod_define_method): guard method body to prevent its
method entr...
U.Nakamura
07:13 AM Revision f173b876 (git): merge revision(s) 47850: [Backport #10294]
* dir.c (dir_s_aref): fix rdoc. `Dir.glob` allows an array but
`Dir[]` not. the former accepts an optiona...
U.Nakamura
07:12 AM Revision 94715a86 (git): merge revision(s) 47819: [Backport #9914]
* configure.in: Fix typo. [Bug #9914]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@47933 b2dd03c...
U.Nakamura
07:09 AM Revision c436b465 (git): merge revision(s) 47820: [Backport #10330]
* error.c: update exception tree. [DOC]
reported by @hemge via twitter.
git-svn-id: svn+ssh://ci.ruby-lan...
U.Nakamura
06:58 AM Bug #10262: nmake love fails from tarball
Backported into `ruby_2_0_0` at r47931. usa (Usaku NAKAMURA)
06:58 AM Revision a7679182 (git): merge revision(s) 47641,47642,47644: [Backport #10262]
* win32/win32.c (VCSUP): nothing to do if this worktree is not under
any VCS (it means that the worktree ma...
U.Nakamura
06:56 AM Bug #10281: r47683 (add GC guard in rb_ary_splice())
Backported into `ruby_2_0_0` at r47930. usa (Usaku NAKAMURA)
06:55 AM Revision 172cc121 (git): merge revision(s) 47683: [Backport #10281]
array.c: GC guard
* array.c (rb_ary_splice): prevent replacing array from GC.
git-svn-id: svn+ssh://ci.ruby...
U.Nakamura
06:39 AM Revision 9c7e5a85 (git): merge revision(s) 42060: [Backport #9915]
* ext/pathname/pathname.c (path_inspect): use PRIsVALUE to preserve
the result encoding.
git-svn-id: svn+...
U.Nakamura
06:27 AM Revision 723cee93 (git): enum.c: nil if no iteration
* enum.c (enum_inject): return nil if no iteration, instead of
Qundef.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
06:18 AM Bug #9424: ruby 1.9 & 2.x has insecure SSL/TLS client defaults
This patch is even more important now that SSLv3 has basically been completely deprecated by the POODLE attack. reed (Reed Loden)
05:59 AM Revision e02c5f34 (git): test_rubyoptions.rb: split regexps
* test/ruby/test_rubyoptions.rb (SEGVTest::ExpectedStderrList):
split backtrace information regexps.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
05:25 AM Revision efaed8c8 (git): enum.c: use Qundef
* enum.c (enum_inject): use Qundef for no initial values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47926 b2...
nobu (Nobuyoshi Nakada)
04:27 AM Feature #10381: Pathname#mkdir_p, Pathname#makedirs が欲しい
> mkdir_p はコマンド名っぽくておすすめしたくないな、と思っています。
FIleUtils では mkdir_p のほうがコマンドの挙動がすぐ連想できるの使っています。
FileUtils からの連想で Pathnam...
takkanm (三村 益隆)
03:35 AM Bug #10388 (Rejected): Operator precedence problem in multiple assignment (massign)
I understand it wouldn't be easy to fix this, but since I happened to find it here it goes.
- `a, b = c = 1, 2` is...
knu (Akinori MUSHA)
03:27 AM Revision 23864072 (git): * test/ruby/envutil.rb (assert_regexp_list): New assertion method.
* test/ruby/test_rubyoptions.rb: Use assert_regexp_list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47925 b...
akr (Akira Tanaka)
01:32 AM Bug #10387: Overwriting an array variable doesn't release referenced objects
Seems it doesn't happen on the trunk. nobu (Nobuyoshi Nakada)
12:04 AM Revision 7643c2b3 (git): Extract assert_segv and split the big regexp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

10/14/2014

10:46 PM Bug #10387 (Closed): Overwriting an array variable doesn't release referenced objects
I narrowed down the following, but I'm not sure if the problem is mine or a bug:
~~~ruby
require 'objspace'
GC.s...
avit (Andrew Vit)
10:24 PM Revision 5a601ec5 (git): * enum.c: min(n) drops elements bigger than the n-th maximum element.
(struct nmin_data): New field to record the n-th maximumelement, limit
(nmin_filter): Update limit field.
(nmin_i...
akr (Akira Tanaka)
10:01 PM Revision d63a88c0 (git): test/ruby/test_optimization.rb (test_string_size): new test
String#size may be overridden, so test for it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47922 b2dd03c8-39d4...
Eric Wong
09:52 PM Revision a1ad7b51 (git): test/ruby/test_optimization.rb: redefinition tests for String
* test/ruby/test_optimization.rb (test_string_eq_neq): new test
(test_string_ltlt): ditto
git-svn-id: svn+ssh://ci...
Eric Wong
09:52 PM Revision 5733a574 (git): test/ruby/test_optimization.rb (test_hash_aset_with): assert assignment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
09:13 PM Bug #9424: ruby 1.9 & 2.x has insecure SSL/TLS client defaults
This patch looks broken.
:options => -> {
opts = …
opts |= OpenSSL::SSL::OP_NO_SSLv3 if defined?(OpenSSL:...
stouset (Stephen Touset)
07:57 PM Revision f9deff97 (git): * gc.c (rb_obj_id): [DOC] Fix typo, clean up sentence, and wrap cols
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
07:54 PM Revision 329b2f47 (git): * 2014-10-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:54 PM Revision 85662422 (git): * error.c: [DOC] Fix case of type in exception message by @tricknotes
[Fixes GH-740] https://github.com/ruby/ruby/pull/740
* object.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
zzak (zzak _)
06:24 PM Feature #10386: [PATCH 3/3] There is little possibility of using m_sqrt at complex.c
p.s. From my point, `nucomp_expt` does work enough. gogotanaka (Kazuki Tanaka)
06:18 PM Feature #10386 (Open): [PATCH 3/3] There is little possibility of using m_sqrt at complex.c
As far as I research, I couldn't find the reason we should keep m_sqrt function at complex.c.
So I've removed this...
gogotanaka (Kazuki Tanaka)
05:30 PM Feature #10378: [PATCH 0/3] It's better (1 + 0i).real? return true
I can find more useful function `f_zero_p `.
```c
static VALUE
nucomp_real_p(VALUE self)
{
get_dat1(self);...
gogotanaka (Kazuki Tanaka)
04:30 PM Bug #10159: Ruby 2.x Syslog::Logger is newer than the one in Rubygems but version is the same
Ruby 2.1.3 has the same issue. The patch is already supplied, why hasn't this been addressed? lemsx1 (Luis Mondesi)
01:46 PM Bug #10382: s = '\x80'; /#{s}/ raises an exception in US-ASCII script
えぇと、ここでの string 自体は US-ASCII で valid なのです。
'\x80' というのは US-ASCII な 4文字の文字列なので。
CODERANGE_BROKEN な文字列ではありません。
それを...
akr (Akira Tanaka)
01:16 PM Bug #10382: s = '\x80'; /#{s}/ raises an exception in US-ASCII script
RegexpはASCII-8BITになってもStringはスクリプトエンコーディングのままなので、意図的なCODERANGE_BROKENなのか、意図しないバグによるものなのか、区別する方法がないというのが問題ですね。 nobu (Nobuyoshi Nakada)
11:48 AM Bug #10382 (Closed): s = '\x80'; /#{s}/ raises an exception in US-ASCII script
以下のふたつのスクリプトの動作は一致するべきだと思うのですが、
前者と異なり後者は例外となります。
```
% cat z1.rb
# -*- encoding: US-ASCII -*-
r = /...
akr (Akira Tanaka)
01:14 PM Bug #10384 (Closed): Fiddle::DLError: unknown symbol "Init_objspace" during Fiddle::TestHandle#test_NEXT and Fiddle::TestHandle#test_static_sym on Solaris
Solarisにて、make test-all中に以下のエラーが発生することが多くなっています。
(出ないこともたまにあります。)
~~~
2) Error:
DL::TestHandle#test_static_sy...
ngoto (Naohisa Goto)
12:39 PM Bug #10383 (Closed): .gemspec files should not be world writable
Applied in changeset r47916.
----------
rbinstall.rb: fix .gemspec permissions
* tool/rbinstall.rb (gem): Fix permi...
nobu (Nobuyoshi Nakada)
11:54 AM Bug #10383 (Closed): .gemspec files should not be world writable
vo.x (Vit Ondruch)
12:39 PM Revision 3958ba3c (git): rbinstall.rb: fix .gemspec permissions
* tool/rbinstall.rb (gem): Fix permissions of bundled gems
specification files. [ruby-core:65700] [Bug #10383]
gi...
nobu (Nobuyoshi Nakada)
12:30 PM Feature #10381 (Feedback): Pathname#mkdir_p, Pathname#makedirs が欲しい
mkdir_p はコマンド名っぽくておすすめしたくないな、と思っています。
makedirs については mkdir と単語の略しかたが違っていて気に入らなかったような気がします。
あと Pathname では基本的には al...
akr (Akira Tanaka)
11:11 AM Feature #10381 (Feedback): Pathname#mkdir_p, Pathname#makedirs が欲しい
Pathname#mkpath にも FileUtils#mkpath と他の同じ挙動をするメソッド名が欲しいです。
~~~
diff --git a/ext/pathname/lib/pathname.rb b/ext/pa...
takkanm (三村 益隆)
12:15 PM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
I'm not sure that ignoring getaddrinfo()'s non-first entries is a good behavior.
akr (Akira Tanaka)
12:02 PM Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
I can reproduce clang on linux.
```
[hsbt@chkbuild001 ~]$ clang -v
clang version 3.5.0 (tags/RELEASE_350/final)
...
hsbt (Hiroshi SHIBATA)
01:49 AM Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
I can't reproduce with gcc-4.9(not clang). hsbt (Hiroshi SHIBATA)
11:18 AM Bug #10380: Make sure 'update-gems' is called in the make process
> It can be installed with
> > make update-gems
>
> but I had to do that by hand. It should be done automatically...
hsbt (Hiroshi SHIBATA)
04:08 AM Bug #10380 (Closed): Make sure 'update-gems' is called in the make process
As described among else in bug #9869, minitest was removed as a default gem.
It can be installed with
> make upda...
duerst (Martin Dürst)
10:16 AM Revision fb06f080 (git): ext/win32ole/win32ole_record.c: use typed data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e suke (Masaki Suketa)
08:56 AM Bug #9591: io-console versioning
This is still/again issue for Ruby 2.2. There are changes in io-console but its version does not reflect them. Could ... vo.x (Vit Ondruch)
07:24 AM Bug #10245 (Closed): TestTimeTZ#test_gen_Europe_Lisbon_111 fails with recent tzdata
Ups, sorry. That was my fault. I forgot to remove one piece of workaround I applied before. Sorry for the noise. vo.x (Vit Ondruch)
07:02 AM Bug #10245 (Open): TestTimeTZ#test_gen_Europe_Lisbon_111 fails with recent tzdata
Sorry but it does not work for me. However, the error is now different:
~~~
1) Failure:
TestTimeTZ#test_gen_li...
vo.x (Vit Ondruch)
07:23 AM Revision 65075dfe (git): symbol.c: ids array
* symbol.c (global_symbols): make ids two-dimensional array of
strings and symbols, for write-barrier.
git-svn-id:...
nobu (Nobuyoshi Nakada)
07:23 AM Revision 3e69b074 (git): symbol.c: immortal IDs
* symbol.c (global_symbols): make IDs immortal always, instead
of treating dynamic symbols as IDs.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
07:23 AM Revision 5617e317 (git): symbol.c: rename rb_str_dynamic_intern
* iseq.c, marshal.c, string.c: use rb_str_intern instead of
rb_str_dynamic_intern.
* symbol.c (rb_str_intern): rena...
nobu (Nobuyoshi Nakada)
03:18 AM Bug #9681: miniruby Bus Error at 0x3d44c4
> Hello, are there any plans to fix this issue in Ruby 2.1.4?
No, because no one can identify the cause of the pr...
ngoto (Naohisa Goto)
03:10 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
I've changed the way BOP_* flags are defined (they are now OM_* flags).
Everything is in "opt_str_lit-v2" branch of...
normalperson (Eric Wong)
02:07 AM Feature #10298: Array#float_sum (like math.fsum of Python)
https://github.com/nobu/ruby/compare/Feature%2310298-float_sum
It doesn't improve the performance as `Array.float_...
nobu (Nobuyoshi Nakada)
02:02 AM Bug #10379 (Closed): Crash in Ruby 2.1.3 (and 2.1-head), works in 2.1.2
This crash does not happen 100% consistently, but does happen very often.
This crash happens most commonly when I ...
anamba (Aaron Namba)
01:21 AM Revision 18828191 (git): test new optimizations for redefines
* test/ruby/test_optimization.rb (test_string_freeze): new test
(test_hash_aref_with): ditto
(test_hash_aset_with...
Eric Wong

10/13/2014

10:38 PM Feature #9379 (Closed): Support for using libxml-ruby as XML parser in xmlrpc-libs
all StreamParser have no tests. hsbt (Hiroshi SHIBATA)
08:23 PM Feature #9379 (Assigned): Support for using libxml-ruby as XML parser in xmlrpc-libs
Needs tests zzak (zzak _)
08:53 AM Feature #9379 (Closed): Support for using libxml-ruby as XML parser in xmlrpc-libs
Applied in changeset r47902.
----------
* lib/xmlrpc/parser.rb: added new parser class using libxml-ruby gem.
[Fea...
hsbt (Hiroshi SHIBATA)
10:36 PM Revision 2f83b32f (git): update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:47 PM Feature #8246 (Closed): Hash#traverse
Yeah, sorry, this is a duplicate of #5531 with just a different method name zzak (zzak _)
08:44 PM Bug #9869 (Third Party's Issue): Rubygems tests fail in test-all
zzak (zzak _)
08:40 PM Bug #10162: Error while installing ruby 2.1.2 on freebsd
No feedback after 1 month, maybe we should close it zzak (zzak _)
08:16 PM Revision 2f00c56e (git): * ext/date/lib/date.rb: fix indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e zzak (zzak _)
08:13 PM Misc #10375: [Redmine] Optimal viewing across a wide range of devices
@Eric Wong
Thank you for letting me know! I'm gonna subscribe right away.
But sometimes I wanna read past disc...
gogotanaka (Kazuki Tanaka)
04:39 AM Misc #10375: [Redmine] Optimal viewing across a wide range of devices
I follow by subscribing to the ruby-core mailing list:
mailto:[email protected]?subject=subscribe
Th...
normalperson (Eric Wong)
02:50 AM Misc #10375: [Redmine] Optimal viewing across a wide range of devices
Ops, I didn't make it clear enough.
I mean, I wanna read and catch up https://bugs.ruby-lang.org, even though usin...
gogotanaka (Kazuki Tanaka)
02:46 AM Misc #10375 (Rejected): [Redmine] Optimal viewing across a wide range of devices
Priority might not be high, I'd be glad if I could read and catch up great discussion here.
If there's anything I ...
gogotanaka (Kazuki Tanaka)
07:51 PM Feature #10378 (Open): [PATCH 0/3] It's better (1 + 0i).real? return true
Right now, `Complex#real?` return `false` anytime.
I suppose `#is_a?(Complex)` is enough to check whether a objec...
gogotanaka (Kazuki Tanaka)
05:35 PM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
I was not interested in adding IPv6 support to my application, only in binding a port with a fallback mechanism. I wo... lucas (Lucas Nussbaum)
05:10 PM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
Ruby uses getaddrinfo() to obtain addresses to bind.
```
% ./ruby -rsocket -e 'p Addrinfo.getaddrinfo(nil, 10001,...
akr (Akira Tanaka)
04:50 PM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
Indeed, bindv6only=1 seems to change this. However, bindv6only=1 is kind-of the default on all systems (except some L... lucas (Lucas Nussbaum)
12:41 PM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
It seems net.ipv6.bindv6only affect the behavior.
```
% sudo sysctl net.ipv6.bindv6only=0
net.ipv6.bindv6only = ...
akr (Akira Tanaka)
11:41 AM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
correct copy/paste:
$ ./ruby -vrsocket -e 'p TCPServer::new(10001); system("netstat -ln|grep 10001"); p TCPSe...
lucas (Lucas Nussbaum)
11:37 AM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
I built Ruby 2.2 from source, and still encountered the same problem as the original report, with the exception that ... lucas (Lucas Nussbaum)
09:01 AM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
Hm.
Ruby 2.1.3 causes the wrong error message:
```
% ./ruby -vrsocket -e 'p TCPServer::new(10001); p TCPServer...
akr (Akira Tanaka)
08:40 AM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
[email protected] wrote:
> It might be fixed in Ruby 2.2... I don't have an easy way to test. Akira, do you ...
normalperson (Eric Wong)
07:10 AM Bug #10203: TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
It might be fixed in Ruby 2.2... I don't have an easy way to test. Akira, do you have an easy way to test with Ruby 2... lucas (Lucas Nussbaum)
06:59 AM Bug #10203 (Feedback): TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
It doesn't reproduce on my environment.
```
% lsb_release -idrc
Distributor ID: Debian
Description: Debian GNU/...
akr (Akira Tanaka)
05:32 PM Revision 7ce520e9 (git): * ext/tk/tcltklib.c: (experimental) support Tcl/Tk8.6.2.
* ext/tk/extconf.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47908 b2dd03c8-39d4-4d8f-98ff-823fe69...
nagai (Hidetoshi Nagai)
05:16 PM Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
I can reproduce it on 2.0.0-p576 when compiled with `-Os`, but not `-O2`:
```
$ make clean && ./configure --disab...
Anonymous
07:37 AM Bug #10290 (Feedback): segfault when calling a lambda recursively after rescuing SystemStackError
I can't reproduce following versions:
```
ruby 1.9.3p548 (2014-09-06) [x86_64-darwin13.4.0]
ruby 2.0.0p576 (2014...
hsbt (Hiroshi SHIBATA)
04:30 PM Revision 450307e3 (git): * enum.c (nmin_run): max(n) and max_by(n) returns an array in
descending order.
[ruby-core:65452] Suggested by David Grayson.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
akr (Akira Tanaka)
04:00 PM Bug #10035: Find.find no longer accepts Pathname type as argument
`ruby_2_1` branch has same problem. nagachika (Tomoyuki Chikanaga)
07:34 AM Bug #10035 (Closed): Find.find no longer accepts Pathname type as argument
Applied in changeset r47900.
----------
* lib/find.rb (Find.find): Call to_path for arguments to obtain
strings.
...
akr (Akira Tanaka)
03:49 PM Revision 63fa57e9 (git): * 2014-10-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:49 PM Revision 1f6fa320 (git): ChangeLog: fix a typo for r47897.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
03:03 PM Feature #10351: [PATCH] prevent CVE-2014-6277
Shyouhei Urabe wrote:
> Akira, isn't it obvious this patch introduce a backward incompatibility?
>
> I'd be sur...
akr (Akira Tanaka)
02:49 PM Feature #8887: min(n), max(n), min_by(n), max_by(n)
David Grayson wrote:
> Hello. I think the Ruby team should reconsider the ordering of the array returned by `max` a...
akr (Akira Tanaka)
01:00 PM Bug #10372: Problem with relative paths in update-gems makefile rule (common.mk)
I got same error with ruby trunk. hsbt (Hiroshi SHIBATA)
11:44 AM Bug #10372 (Closed): Problem with relative paths in update-gems makefile rule (common.mk)
Applied in changeset r47904.
----------
common.mk: update-gems for older BASERUBY
* common.mk (update-gems): chdir ...
nobu (Nobuyoshi Nakada)
11:23 AM Bug #10372 (Open): Problem with relative paths in update-gems makefile rule (common.mk)
Which version of ruby are you using to download the files?
Since 1.9, `-I` directories are expanded to absolute paths.
nobu (Nobuyoshi Nakada)
06:42 AM Bug #10372 (Closed): Problem with relative paths in update-gems makefile rule (common.mk)
Applied in changeset r47899.
----------
* common.mk: use relative load path for bundled_gems directory.
[Bug #1037...
hsbt (Hiroshi SHIBATA)
11:58 AM Feature #4938: Add Random.bytes [patch]
I update this patch on Ruby 2.2. hsbt (Hiroshi SHIBATA)
11:44 AM Revision f77d22d1 (git): common.mk: update-gems for older BASERUBY
* common.mk (update-gems): chdir to the target directory and then
add the tool directory to load paths, for older B...
nobu (Nobuyoshi Nakada)
11:27 AM Revision caa54c17 (git): Revert r47899
* common.mk: $(srcdir)/../tool is an invalid path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47903 b2dd03c8-...
nobu (Nobuyoshi Nakada)
10:22 AM Feature #5458: DL should be removed
Hi, tenderlove.
Please remove DL from trunk.
hsbt (Hiroshi SHIBATA)
10:10 AM Feature #10017: Add `Hash#fetch_values`
Should we get some more votes here, or should I just change my patch to use fetch_values? wojtekmach (Wojtek Mach)
10:05 AM Feature #10327: Bool/False/True module for '==='
nil も含むなら False/True よりも Falsy/Truthy の方が良いのではないでしょうか。
case で使うだけなら `:!.to_proc` と `:itself.to_proc` を使うという方法もありそう...
znz (Kazuhiro NISHIYAMA)
09:41 AM Bug #9010: ./configure --prefix= cannot handle directories with spaces
I can't reproduce with trunk and ruby_2_1 branch. hsbt (Hiroshi SHIBATA)
09:03 AM Bug #9359 (Rejected): indirect require of OpenSSL issues warning: assigned but unused variable - id
Ruby 2.0.0 was fixed at r41812. Ruby 1.9.3 was fixed at r42016.
Please use latest version of Ruby.
hsbt (Hiroshi SHIBATA)
08:53 AM Revision 8d7fa229 (git): * lib/xmlrpc/parser.rb: added new parser class using libxml-ruby gem.
[Feature #9379][ruby-core:59633]
* lib/xmlrpc/config.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47...
hsbt (Hiroshi SHIBATA)
08:31 AM Bug #9389 (Feedback): ruby crashed when crash in gsub function on LARGE string.
Ruby 1.9 is EOL status now.
Please try with Ruby 2.0 or 2.1
hsbt (Hiroshi SHIBATA)
08:10 AM Misc #10271 (Rejected): Drop exec bits from bundled gems
Thank you for your report. This issue was fixed at r47693. hsbt (Hiroshi SHIBATA)
08:08 AM Revision 22e26d35 (git): fix typo and spaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:05 AM Bug #10246 (Feedback): CSV.parse(csv_string, headers: col_headers) reports undefined method `table'
hsbt (Hiroshi SHIBATA)
08:00 AM Bug #10045 (Feedback): SegFault in BigDecimal in 2.1.2p95
Could you try with latest version of Ruby 2.1? hsbt (Hiroshi SHIBATA)
07:52 AM Bug #7699 (Rejected): rubyspec failed: BigDecimal#divmod Can be reversed with * and +
I can't reproduce this issue on linux and osx.
If you still have this issue, please reopen this.
hsbt (Hiroshi SHIBATA)
07:41 AM Bug #10364 (Assigned): Malformed CSV Header Causes NoMethodError
hsbt (Hiroshi SHIBATA)
07:34 AM Revision c66506ef (git): * lib/find.rb (Find.find): Call to_path for arguments to obtain
strings.
[ruby-core:63713] [Bug #10035] Reported by Herwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47...
akr (Akira Tanaka)
07:24 AM Bug #10292 (Feedback): Rails server suddenly crashes sometimes
Could you try with latest version of Ruby 2.1? hsbt (Hiroshi SHIBATA)
06:52 AM Feature #10298 (Feedback): Array#float_sum (like math.fsum of Python)
akr (Akira Tanaka)
06:46 AM Feature #10298: Array#float_sum (like math.fsum of Python)
It is not fit to Array class because Array is not only for Float.
I think it is better to implement it as an optim...
akr (Akira Tanaka)
06:43 AM Bug #10276 (Feedback): nil/true/false に singleton メソッドを定義できてしまう
開発者会議のときに、奇妙だがそういうものとしようということになった覚えがあります。 akr (Akira Tanaka)
06:42 AM Revision 89322aaf (git): * common.mk: use relative load path for bundled_gems directory.
[Bug #10372][ruby-core:65630]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47899 b2dd03c8-39d4-4d8f-98ff-823fe6...
hsbt (Hiroshi SHIBATA)
04:46 AM Feature #10376 (Closed): [PATCH 2/2] Remove comment-out about Nuby's method
As long as I know about Nuby,
(I can suppose first rational and complex implementation from http://blade.nagaokaut...
gogotanaka (Kazuki Tanaka)
03:48 AM Feature #10225: [PATCH] *math.c: New method Math.normcdf
On Oct 11, 2014, at 11:18 PM, [email protected] wrote:

> Sorry for my late. It's hard to say but.. ruby-gsl d...
david_macmahon (David MacMahon)
12:49 AM Feature #10084: Add Unicode String Normalization to String class
Not getting any feedback on implementation details, I'm assuming that nobody cares too much, and will therefore proce... duerst (Martin Dürst)
12:40 AM Revision 4a883ff9 (git): parse.y: keep nodes linking
* parse.y (remove_duplicate_keys): should keep nodes linking not
to be collected. [Bug #10315]
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)

10/12/2014

11:45 PM Revision d5526c66 (git): * README.EXT: [DOC] fix example missing typedef with patch by
@steveklabnik [Fixes GH-739] https://github.com/ruby/ruby/pull/739
* README.EXT.jp: ditto.
git-svn-id: svn+ssh://c...
zzak (zzak _)
11:44 PM Bug #10374 (Closed): FileUtils.mv can't move broken symlinks
FileUtils.mv raises Errno::ENOENT when invoked on a broken symlink, even though the symlink does exist. Polyergic (Shad Sterling)
09:53 PM Bug #10369 (Closed): [PATCH] array.c: missing RB_GC_GUARDs
Applied in changeset r47896.
----------
array.c: swap volatile for RB_GC_GUARD
* array.c (ary_recycle_hash): add RB...
Anonymous
09:53 PM Revision eb514777 (git): array.c: swap volatile for RB_GC_GUARD
* array.c (ary_recycle_hash): add RB_GC_GUARD
(rb_ary_diff): remove volatile
[Bug #10369]
The RB_GC_GUARD seems ...
Eric Wong
08:44 PM Feature #10354: Optimize Integer#prime?
I rewrote #prime? again using a better algorithm. It's about 2x faster. This version is for `Integer`, but could be ... Anonymous
06:21 PM Revision 6769d5d5 (git): * ext/date/date_core.c: [DOC] Clean up whitespace, examples, and typos
in date_core based on a patch by @vipulnsward [Fixes GH-724]
https://github.com/ruby/ruby/pull/724
git-svn-id: sv...
zzak (zzak _)
05:39 PM Revision 37d0c873 (git): parse.y: should not eliminate value nodes
* parse.y (remove_duplicate_keys): should not simply eliminate all
value nodes, which may have side effects.
[rub...
nobu (Nobuyoshi Nakada)
05:35 PM Revision 7fa39b27 (git): * 2014-10-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:35 PM Revision cd55ddb0 (git): .gdbinit: nd_tree
* .gdbinit (nd_tree): dump node tree by dump_node().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47892 b2dd03c...
nobu (Nobuyoshi Nakada)
01:46 PM Bug #10373 (Closed): add RB_GC_GUARD in rb_mod_define_method() (r47891)
This ticket is for backport management.
r47891 added RB_GC_GUARD() in rb_mod_define_method() to protect method ent...
nagachika (Tomoyuki Chikanaga)
01:24 PM Revision e9c5e762 (git): proc.c: method body GC guard
* proc.c (rb_mod_define_method): guard method body to prevent its
method entry from GC.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
12:41 PM Bug #9890 (Closed): Empty Date class
Fixed upstream by my commit https://github.com/rubygems/rubygems/pull/948.
And now merged on trunk.
Eregon (Benoit Daloze)
09:06 AM Bug #10372 (Closed): Problem with relative paths in update-gems makefile rule (common.mk)
When I do
> make update-gems
I get the following error:
~~~
-e:1:in `require': cannot load such file -- downloa...
duerst (Martin Dürst)
07:05 AM Feature #10056: [PATCH 0/1]Add #adjugate method to matrix class
@Tomoyuki Chikanaga san
Sorry for my delay. I was little bit puzzled about how to test well.
I suppose it's bet...
gogotanaka (Kazuki Tanaka)
06:44 AM Feature #10371: Use Thread#handle_interrupt in MonitorMixin
There was an old bug that might have been related: https://bugs.ruby-lang.org/issues/4266 nerdrew (Andrew Lazarus)
06:41 AM Feature #10371 (Open): Use Thread#handle_interrupt in MonitorMixin
Now that ruby has Thread#handle_interrupt, MonitorMixin can always unlock the mutex even when a timeout exception is ... nerdrew (Andrew Lazarus)
06:18 AM Feature #10225: [PATCH] *math.c: New method Math.normcdf
@David MacMahon
Sorry for my late. It's hard to say but.. ruby-gsl doesn't look good enough.
And I suppose we'...
gogotanaka (Kazuki Tanaka)
04:48 AM Feature #10370 (Open): [PATCH] We don't need to check whether rb_block_call exists
As far as I know, `rb_iterate` replaced by `rb_block_call` API between Ruby 1.8 and 1.9.
And maintenance of Ruby v...
gogotanaka (Kazuki Tanaka)
01:39 AM Revision 13dd738d (git): * vm.c: [DOC] fix typo by @yui-knk [Fixes GH-738]
https://github.com/ruby/ruby/pull/738
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47890 b2dd03c8-39d4-4d8f-98...
zzak (zzak _)
01:18 AM Bug #10315: Override policy for duplicated keywords
Nobuyoshi Nakada wrote:
> Applied in changeset r47877.
>
> ----------
> parse.y: precedence of duplicated keys
...
whitequark (whitequark *)
12:29 AM Feature #10341: Fiber switch performance improvements
Thanks. I'll wait a few days for others to look and try it out
before committing.
normalperson (Eric Wong)
12:24 AM Revision 178bc9a0 (git): * test/lib/test/unit.rb: Hide skips by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

10/11/2014

09:00 PM Bug #10369 (Closed): [PATCH] array.c: missing RB_GC_GUARDs
~~~
[PATCH] array.c: swap volatile for RB_GC_GUARD
* array.c (ary_recycle_hash): add RB_GC_GUARD
(rb_ary_diff)...
normalperson (Eric Wong)
08:58 PM Feature #10341: Fiber switch performance improvements
Attached a revised version of patch 5 with fiber_mark_self replaced by rb_fiber_mark_self. Thanks for the hint. nome (Knut Franke)
06:09 PM Bug #10367 (Rejected): Net::HTTP read_timeout value behaves unexpectedly.
John Thomas wrote:
> I would think that the expected behavior of the Net::HTTP.new().read_timeout property be that i...
naruse (Yui NARUSE)
07:49 AM Bug #10367: Net::HTTP read_timeout value behaves unexpectedly.
This should be assigned to NARUSE, Yui (naruse) it looks like. thomas07vt (John Thomas)
07:47 AM Bug #10367 (Rejected): Net::HTTP read_timeout value behaves unexpectedly.
I would think that the expected behavior of the Net::HTTP.new().read_timeout property be that if that timeout was hit... thomas07vt (John Thomas)
05:06 PM Feature #10365: `Rational#to_a` and `Array#to_r`
Nobuyoshi Nakada wrote:
> Just a memo:
>
> ~~~ruby
> [1, 2].inject(:quo) #=> (1/2)
> ~~~
Thanks for the info...
sawa (Tsuyoshi Sawada)
03:28 PM Feature #10365: `Rational#to_a` and `Array#to_r`
Just a memo:
~~~ruby
[1, 2].inject(:quo) #=> (1/2)
~~~
nobu (Nobuyoshi Nakada)
01:17 PM Feature #10365 (Rejected): `Rational#to_a` and `Array#to_r`
And without having Rational#to_a, Array#to_r does not mean much.
So I reject this.
Matz.
matz (Yukihiro Matsumoto)
04:51 AM Feature #10365: `Rational#to_a` and `Array#to_r`
I think Nobuyoshi Nakada and Jeremy Evans are right. I will withdraw `to_a` from the proposal. sawa (Tsuyoshi Sawada)
04:39 AM Feature #10365: `Rational#to_a` and `Array#to_r`
Wouldn't the proposed Rational#to_a break backwards compatibility, as well as consistency with other numeric classes:... jeremyevans0 (Jeremy Evans)
04:34 AM Feature #10365: `Rational#to_a` and `Array#to_r`
IMHO, splatting a rational doesn't feel to make sense, so `to_a` doesn't feel appropriate. nobu (Nobuyoshi Nakada)
12:38 AM Feature #10365: `Rational#to_a` and `Array#to_r`
Sorry, I meant
2/51r.to_a # => [2, 51]
sawa (Tsuyoshi Sawada)
12:37 AM Feature #10365 (Rejected): `Rational#to_a` and `Array#to_r`
I guess people would want to extract the numerator and the denominator of an array. `to_a` would perhaps be a good na... sawa (Tsuyoshi Sawada)
04:39 PM Revision 8980a9b4 (git): * file.c: include sys/time.h only if HAVE_SYS_TIME_H
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yugui (Yuki Sonoda)
04:28 PM Feature #10344: [PATCH] Implement Fiber#raise
For some more sophisticated examples, see https://github.com/nome/coroutines. The library does work with vanilla Ruby... nome (Knut Franke)
03:13 PM Revision 23abeeb7 (git): * 2014-10-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:13 PM Revision 0d43e148 (git): file.c: fix compile error on Linux
* file.c (sys/time.h): include after unistd.h to get rid of
mismatch on struct stat and some system call functions ...
nobu (Nobuyoshi Nakada)
01:33 PM Revision 0d1b2755 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:33 PM Revision 916fff3b (git): * file.c (HAVE_UTIMENSAT): disabled for NativeClient.
Fixes build error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yugui (Yuki Sonoda)
01:33 PM Revision 4883d125 (git): * ext/extmk.rb: generates the rule for extinit.$(OBJEXT).
extinit.$(OBJEXT) used to be generated by the builtin rule, thus
didn't accept custom $(CC) and caused linkage erro...
yugui (Yuki Sonoda)
01:33 PM Revision 57bc5eaf (git): Fixes build failures on Portable Native Client.
Note: Some of the fixes are for newlib in general but not NaCl-specific.
* include/ruby/intern.h (rb_fd_select): dec...
yugui (Yuki Sonoda)
10:58 AM Bug #10368 (Closed): GC mark miss on bindings
以下のコードでSEGVすることがあります。
mに渡したブロックがGCされてしまうのが原因です。
~~~ruby
def m
binding
end
GC.stress = true
b = nil
tap ...
ktsj (Kazuki Tsujimoto)
06:33 AM Revision 3fedb512 (git): compile.c: fix RB_GC_GUARD usage
* compile.c (iseq_build_from_ary_exception): move RB_GC_GUARD
(iseq_build_from_ary_body): use PRIsVALUE instead of ...
Eric Wong
06:02 AM Revision 58a73d96 (git): string.c (rb_str_intern): remove unnecessary RB_GC_GUARD
Incorrectly placed, and no longer needed since r25351
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47880 b2dd03...
Eric Wong
05:50 AM Bug #10362: spawn doesn't raise exception on redirection error
On the other hand, maybe we should allow Ruby-level options to `system'
to raise, but continue hiding errors when r...
normalperson (Eric Wong)
05:02 AM Bug #10362: spawn doesn't raise exception on redirection error
Yes, it's intentional spec, but to raise errors `Process.spawn` and `Process.wait` are needed.
It may be good to add...
nobu (Nobuyoshi Nakada)
04:47 AM Revision 5fa4d562 (git): parse.y: remove duplicate keys
* parse.y (remove_duplicate_keys): remove duplicate literal keys,
i.e., symbols and strings. [ruby-core:65368] [Bu...
nobu (Nobuyoshi Nakada)
04:46 AM Revision 8771d1a0 (git): vm.c: precedence of duplicated keys
* vm.c (kwmerge_i): override existing keys by new keys.
[ruby-core:65368] [Bug #10315]
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
04:46 AM Bug #10315 (Closed): Override policy for duplicated keywords
Applied in changeset r47877.
----------
parse.y: precedence of duplicated keys
* parse.y (assocs): concatenate spla...
nobu (Nobuyoshi Nakada)
04:46 AM Revision 15716827 (git): parse.y: precedence of duplicated keys
* parse.y (assocs): concatenate splatted literal hashes. the
former key has precedence even if duplicated literal ...
nobu (Nobuyoshi Nakada)
03:57 AM Revision 81ce0e38 (git): configure.in: fix typo
* configure.in: remove extra right-bracket.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47876 b2dd03c8-39d4-4d...
nobu (Nobuyoshi Nakada)
03:35 AM Revision 377ad103 (git): Support build for Portable Native Client outside of naclports tree.
* configure.in (RUBY_NACL): automatically locate pnacl-clang.
(RUBY_PLATFORM): pnacl instead of le32-nacl.
git-svn...
yugui (Yuki Sonoda)
02:29 AM Revision e4ac591a (git): * io.c: fix issues in the last two commits. don't disable cloexec for
platforms other than NativeClient.
* ChangeLog: ditto. add entries for the last two commits.
Sat Oct 11 11:12:00 2014...
yugui (Yuki Sonoda)
02:12 AM Revision 1a14a7a1 (git): Allow failure of sighandler installation on NativeClient.
* signal.c (install_signalhandler, init_sigchld): allow failure because it
always fails with ENOSYS on NaCl.
git-s...
yugui (Yuki Sonoda)
02:11 AM Revision 69ac654c (git): Merges a patch form naclports.
* configure.in (RUBY_NACL and others): Supports PNaCl.
* dln.c: replace the old hacky dynamic loading over HTTP with ...
yugui (Yuki Sonoda)
12:50 AM Feature #10366 (Open): New inspection form for rational
Currently, rational inspection is expressed with parentheses:
(2/51)
If this were taken as a Ruby expressio...
sawa (Tsuyoshi Sawada)
12:33 AM Revision f21431e5 (git): * ext/socket/unixsocket.c: [DOC] Fix example to render in HTML
properly, with a patch by @eval [Fixes GH-733]
https://github.com/ruby/ruby/pull/733
git-svn-id: svn+ssh://ci.rub...
zzak (zzak _)

10/10/2014

11:55 PM Feature #10342: Module#deprecate_constant
Yes, `autoload` can do the trick, but it needs a separated file and warns only once. nobu (Nobuyoshi Nakada)
11:21 PM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
Eric Wong <[email protected]> wrote:
> http://80x24.org/spew/m/opt-str-lit-v1%40m.txt

Benchmark suite so fa...
normalperson (Eric Wong)
01:04 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
Current patch (named "opt_str_lit" insn):

http://80x24.org/spew/m/opt-str-lit-v1%40m.txt

One VM instruction n...
normalperson (Eric Wong)
09:59 PM Bug #9681: miniruby Bus Error at 0x3d44c4
Hello, are there any plans to fix this issue in Ruby 2.1.4? nichogl (Geoff Nichols)
07:16 PM Feature #10361 (Closed): Support open_timeout option in open-uri
Applied in changeset r47869.
----------
open-uri: accept :open_timeout option
* lib/open-uri.rb (OpenURI::Options):...
Anonymous
09:46 AM Feature #10361 (Closed): Support open_timeout option in open-uri
I found it weird that open-uri accepts read_timeout option, but not open_timeout.
I believe this option should be ad...
kirs (Kir Shatrov)
07:16 PM Revision b394484a (git): * 2014-10-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:15 PM Revision 9559b04e (git): open-uri: accept :open_timeout option
* lib/open-uri.rb (OpenURI::Options): add :open_timeout default
* (def OpenURI.open_http): check :open_timeout option...
Eric Wong
06:50 PM Bug #10362: spawn doesn't raise exception on redirection error
[email protected] wrote:
> irb(main):013:0* system 'cmd', '/c', 'echo', 'aaa', :out => File.open('bad/file.txt', 'w'...
normalperson (Eric Wong)
10:04 AM Bug #10362 (Closed): spawn doesn't raise exception on redirection error
~~~
irb(main):002:0*
irb(main):003:0*
irb(main):004:0* system 'cmd', '/c', 'echo', 'aaa'
aaa
=> true
irb(main):...
bdimych (Dmitry Bolshakov)
03:53 PM Bug #10364 (Rejected): Malformed CSV Header Causes NoMethodError
The method CSV#readline raises a "NoMethodError: undefined method 'encode' for nil:NilClass" exception when the CSV f... jisraelson (Jon Israelson)
02:31 PM Revision adfce27e (git): thread.c: fix for older gcc
* thread.c (only_if_constant): get rid of __builtin_choose_expr()
on older gcc.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
02:20 PM Revision 97d3b04c (git): ruby/ruby.h: fix for older gcc
* configure.in (__builtin_choose_expr_constant_p): in gcc 4.8 or
earlier, __builtin_choose_expr() does not consider...
nobu (Nobuyoshi Nakada)
12:45 PM Revision 50b78ebb (git): ruby/ruby.h: eliminate disabled function call
* include/ruby/ruby.h (RUBY_SAFE_LEVEL_CHECK): eliminate function
call for warning/error if not match to get rid of...
nobu (Nobuyoshi Nakada)
11:26 AM Revision 12088a7e (git): io.c: fix typo
* io.c (rb_io_make_open_file): remove useless backslash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47865 b2d...
nobu (Nobuyoshi Nakada)
09:42 AM Revision 5a77a4e7 (git): Update doc. and warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
07:16 AM Feature #10355: Feature request: Module#prepended?(mod)
提案する名前について `prepended?` は正しくありませんでした。`prepend?` が正しいです。訂正します。 tagomoris (Satoshi Tagomori)
05:36 AM Feature #10355: Feature request: Module#prepended?(mod)
メソッド定義が上書きされているかどうかを調べたいというより、誰がownerでもいいけど確実にprependされていてほしい、という方が要求として正確なように思います。 tagomoris (Satoshi Tagomori)
04:34 AM Feature #10355 (Feedback): Feature request: Module#prepended?(mod)
このメソッドに反対なわけではないですが、メソッド定義が上書きされているかどうかを調べたいのであれば、`UnboundMethod#owner`などを使うほうがいいのではないでしょうか。 nobu (Nobuyoshi Nakada)
04:15 AM Feature #10355: Feature request: Module#prepended?(mod)
特定メソッドの出力のフィルタをprependによって実現したい場合、親クラスで既にprependされていても子クラスでメソッド定義が上書きされればprependが実際には効かないことになります。
このような状態が起きてないかどうかを...
tagomoris (Satoshi Tagomori)
03:56 AM Feature #10355: Feature request: Module#prepended?(mod)
ある機能が prepend によって追加されているかどうかを調べたいときに Module#include? では不十分です。
継承関係の親クラスにおいて prepend されたモジュールのメソッドは、子クラスでも定義が存在する場合、...
tagomoris (Satoshi Tagomori)
03:32 AM Feature #10355 (Feedback): Feature request: Module#prepended?(mod)
あるモジュール X に対してモジュール P1 がprependされているかどうかを調べる方法があると嬉しく思います。
`Module#include?` を使うと継承関係に含まれているかどうかはわかりますが、それが対象モジュールに対...
tagomoris (Satoshi Tagomori)
05:24 AM Feature #10356: [PATCH 2/2] Remove unused internal functions
@Nobuyoshi Nakada san
I'm so sorry... I just did grep by `rb_math_cos`, `rb_math_sin`, and so on... forgot C-lang ...
gogotanaka (Kazuki Tanaka)
04:28 AM Feature #10356 (Feedback): [PATCH 2/2] Remove unused internal functions
Aren't they used in complex.c? nobu (Nobuyoshi Nakada)
03:50 AM Feature #10356 (Feedback): [PATCH 2/2] Remove unused internal functions
I wondering which is preferred, remove or comment-out.
I came to the conclusion that we can invoke such a function...
gogotanaka (Kazuki Tanaka)
03:40 AM Feature #10354: Optimize Integer#prime?
Oups, it would help if I gave the right implementation for Bignum#prime? See below
Here are some benchmarks:
Be...
marcandre (Marc-Andre Lafortune)
03:22 AM Feature #10354 (Closed): Optimize Integer#prime?
Nick Slocum shows in https://github.com/ruby/ruby/pull/736 that Integer#prime? can be optimized quite a bit.
First...
marcandre (Marc-Andre Lafortune)
03:31 AM Feature #10351: [PATCH] prevent CVE-2014-6277
On 10/10/2014 02:16 AM, Eric Wong wrote:
> [email protected] wrote:
>> This patch does not add a new feature,...
shyouhei (Shyouhei Urabe)
03:11 AM Feature #10351: [PATCH] prevent CVE-2014-6277
Akira, isn't it obvious this patch introduce a backward incompatibility?

I'd be surprised if it could passed the ...
shyouhei (Shyouhei Urabe)
03:24 AM Bug #10353 (Closed): weird behavior when dynamically adding method using instance_eval
nobu (Nobuyoshi Nakada)
02:58 AM Bug #10353 (Closed): weird behavior when dynamically adding method using instance_eval
Earlier this week I cross by a weird bug using a gem and after digging into the problem I found this issue with MRI.
...
dyegocosta (Dyego Costa)
02:34 AM Revision b44c47d1 (git): io.c: move RFile initialization
* io.c (rb_io_make_open_file): move from include/ruby/io.h, and
hide too detailed implementations.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
02:27 AM Revision 0d3d17b9 (git): * 2014-10-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:27 AM Revision 91e305bc (git): ruby/io.h: deprecate old macros
* include/ruby/io.h (rb_io_mode_flags, rb_io_modenum_flags):
deprecate old macros for compatibility for ruby 1.8 an...
nobu (Nobuyoshi Nakada)

10/09/2014

11:44 PM Bug #8543: new rb_iseq_load crash
Eric Wong wrote:
>
> Thanks for that data point, it was before I started mucking with iseq.
> Can you try inst...
spatulasnout (B Kelly)
07:51 AM Bug #8543: new rb_iseq_load crash
[email protected] wrote:
> Sorry to be the squeaky wheel, but I was wondering if there still
> might be a chance to lo...
normalperson (Eric Wong)
07:18 AM Bug #8543: new rb_iseq_load crash
Hi,
Koichi Sasada wrote:
> Thank you for your report.
>
> I'll check it (best effort. I ask my boss about prio...
spatulasnout (B Kelly)
10:38 PM Feature #10351 (Feedback): [PATCH] prevent CVE-2014-6277
akr (Akira Tanaka)
05:22 PM Feature #10351: [PATCH] prevent CVE-2014-6277
[email protected] wrote:
> This patch does not add a new feature, nor delete anything. It just
> changes the...
normalperson (Eric Wong)
05:02 PM Feature #10351: [PATCH] prevent CVE-2014-6277
It is very aggressive.
At least, you should try "make check".
```
% make check
...
./miniruby -I./lib -I. -I...
akr (Akira Tanaka)
03:44 PM Feature #10351 (Feedback): [PATCH] prevent CVE-2014-6277
~~~
From 4636ca0308f1933c9b191f36e808a8d3bcf5e88e Mon Sep 17 00:00:00 2001
From: "Urabe, Shyouhei" <shyouhei@ruby-l...
shyouhei (Shyouhei Urabe)
07:44 PM Feature #10352 (Closed): Give alias Vector#inner_product and Vector#cross_product
Give alias Vector#inner_product and Vector#cross_product which are of two method used frequently.
Vector#inner_pro...
gogotanaka (Kazuki Tanaka)
02:50 PM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
To generalize further, is it even necessary to do platform tests? Could the simple change:
+ Tcl_Eval(interp, "...
codebykevin (Kevin Walzer)
02:37 PM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
If this patch fixes the crash on Ubuntu, can it be generalized to support Ti 8.6 across platforms? Tk 8.5 is going to... codebykevin (Kevin Walzer)
02:36 PM Bug #10350 (Closed): compile error in bignum.c line 3297 with old fcc on Solaris
Applied in changeset r47860.
----------
* bignum.c (absint_numwords_generic): set an array element after
definitio...
ngoto (Naohisa Goto)
02:28 PM Bug #10350 (Closed): compile error in bignum.c line 3297 with old fcc on Solaris
Solaris上の古い fcc (Fujitsu C compiler) 5.6 にて、以下のコンパイルエラーが発生します。
~~~
"bignum.c", line 3297: error: initialization: ...
ngoto (Naohisa Goto)
02:36 PM Revision 9631e3e7 (git): * bignum.c (absint_numwords_generic): set an array element after
definition of a variable to fix compile error with older version
of fcc (Fujitsu C Compiler) 5.6 on Solaris 10 on S...
ngoto (Naohisa Goto)
10:16 AM Feature #10344: [PATCH] Implement Fiber#raise
Yes: it is missing piece to make "greenlet" port, in other words - green threads that mimics real threads.
To accomp...
funny_falcon (Yura Sokolov)
02:58 AM Feature #10344: [PATCH] Implement Fiber#raise
Do you have good example to use it?
ko1 (Koichi Sasada)
12:29 AM Feature #10344 (Closed): [PATCH] Implement Fiber#raise
While it is possible to implement this in pure Ruby (by wrapping Fiber.yield and Fiber#resume), this feels like a low... nome (Knut Franke)
07:53 AM Revision a9c42d10 (git): tcltklib.c: typed data
* ext/tk/tcltklib.c (tcltkip_type): use typed data.
* ext/tk/tcltklib.c ({call,eval,invoke}_queue_handler): hide
i...
nobu (Nobuyoshi Nakada)
07:53 AM Revision 795b8b47 (git): internal.h: optimize rb_ary_new_from_args
* internal.h (rb_ary_new_from_args): optimization by expanding
arguments in caller to get rid of va_list if possibl...
nobu (Nobuyoshi Nakada)
07:16 AM Feature #10321 (Closed): [PATCH] test st_foreach{,_check} for packed-to-unpack change
Applied in changeset r47856.
----------
st: test packed-to-unpacked transitions during iteration
The st_foreach and...
Anonymous
07:16 AM Revision 9629e7ef (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:16 AM Revision f8b219e4 (git): st: test packed-to-unpacked transitions during iteration
The st_foreach and st_foreach_check functions support transitioning
from a packed to an unpacked state during iterati...
Eric Wong
05:01 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
SASADA Koichi <[email protected]> wrote:
> On 2014/10/09 11:04, Eric Wong wrote:
> > A new putstring_for instruction m...
normalperson (Eric Wong)
04:42 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
On 2014/10/09 11:04, Eric Wong wrote:
> A new putstring_for instruction may replace all current uses of:

Sorry, ...
ko1 (Koichi Sasada)
04:11 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
Eric Wong <[email protected]> wrote:
> > Maybe start moving existing iseq_compile_each optimizations to the
> ...
normalperson (Eric Wong)
04:00 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
[email protected] wrote:
> Mine is https://github.com/nobu/ruby/tree/peephole-opt

Thanks. I also noticed your ...
normalperson (Eric Wong)
02:12 AM Feature #10333: [PATCH 3/1] optimize: "yoda literal" == string
Eric Wong <[email protected]> wrote:
> Maybe start moving existing iseq_compile_each optimizations to the
> pee...
normalperson (Eric Wong)
04:35 AM Revision 4adfbab3 (git): array.c: fix potential memory leak
* array.c (ary_new): allocate buffer in heap after new object get
allocated successfully, to get rid of potential m...
nobu (Nobuyoshi Nakada)
03:44 AM Revision 098b0ba5 (git): benchmark/bm_hash_aref_sym*.rb: force static symbols
Dynamic symbols hash more slowly because they need extra method
dispatch in rb_any_hash. I am not sure if dynamic sy...
Eric Wong
03:39 AM Revision 3cb39668 (git): hash.c (rb_any_hash): remove unnecessary dsym check
gcc (Debian 4.7.2-5) 4.7.2 on x86 generates smaller code this
way, as it does not seem to be able to reuse the result...
Eric Wong
 

Also available in: Atom