Project

General

Profile

Activity

From 05/21/2014 to 05/27/2014

05/27/2014

04:59 PM Bug #9840: [darwin] configure script fails if an empty file named `Info.plist` exists in the user's home directory
Nobuyoshi Nakada wrote:
> patrick ellis wrote:
> > Nobuyoshi Nakada wrote:
> > > Why not remove the invalid file?
...
pje (patrick ellis)
04:05 PM Bug #9748: FileUtils.cp always preserve the permission of original files
r45604 was backported into `ruby_2_1` branch at r46192. nagachika (Tomoyuki Chikanaga)
04:59 AM Bug #9748: FileUtils.cp always preserve the permission of original files
Backported into ruby_2_0_0 at r46158. usa (Usaku NAKAMURA)
04:04 PM Bug #9721: super: no superclass method in Ruby 2.1.1
r45179, r45564, r45565, r45584 and r45585 were backported into `ruby_2_1` branch at r46190. nagachika (Tomoyuki Chikanaga)
04:56 AM Bug #9721: super: no superclass method in Ruby 2.1.1
Backported r45564, r45565, r45584 and r45585 into ruby_2_0_0 at r46157. usa (Usaku NAKAMURA)
03:48 PM Bug #9868 (Closed): bigdecimal#VpAlloc causes out-of-bounds read
以下のようなパッチを当てて
~~~diff
diff --git a/ext/bigdecimal/bigdecimal.c b/ext/bigdecimal/bigdecimal.c
index 44e13a4..400d...
mame (Yusuke Endoh)
03:45 PM Bug #9727: Array#reject aborts with callcc
r45562 was backported into `ruby_2_1` branch at r46188. nagachika (Tomoyuki Chikanaga)
02:53 AM Bug #9727: Array#reject aborts with callcc
Backported into ruby_2_0_0 at r46155. usa (Usaku NAKAMURA)
03:37 PM Bug #9709: Large string causes SEGV with x64-mingw32
r45534 was backported into `ruby_2_1` branch at r46187. nagachika (Tomoyuki Chikanaga)
02:49 AM Bug #9709: Large string causes SEGV with x64-mingw32
Backported into ruby_2_0_0 at r46154. usa (Usaku NAKAMURA)
03:27 PM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
r45529 was backported into `ruby_2_1` branch at r46186. nagachika (Tomoyuki Chikanaga)
02:47 AM Bug #8182: XMLRPC request fails with "Wrong size. Was 31564, should be 1501"
Backported into ruby_2_0_0 at r46153. usa (Usaku NAKAMURA)
03:21 PM Bug #9706: Date#<=> should use #< method(fixed at r45520)
r45520 was backported into `ruby_2_1` branch at r46185. nagachika (Tomoyuki Chikanaga)
02:24 AM Bug #9706: Date#<=> should use #< method(fixed at r45520)
Backported into ruby_2_0_0 at r46152. usa (Usaku NAKAMURA)
03:09 PM Feature #9867: Introduce each/else block into ruby
We have to define as a whole. If we have introduced your proposal, what should the semantics of a block be?
Or how w...
matz (Yukihiro Matsumoto)
02:14 PM Feature #9867 (Feedback): Introduce each/else block into ruby
How would you define `else` block for other than `Array#each`? nobu (Nobuyoshi Nakada)
12:42 PM Feature #9867 (Closed): Introduce each/else block into ruby
Hi
Code like this happens quite often:
if array.any?
array.each do |elem|
some_work
...
Killa (Łukasz Strzebińczyk)
03:01 PM Feature #9857: Pathname#birthtime
いいんじゃないでしょうか。
pathnameのメンテナはakrさんでしたっけ?
naruse (Yui NARUSE)
12:28 PM Feature #7226: Add Set#join method as a shortcut for to_a.join
Martin Dürst wrote:
> I tried some very simple cases, and didn't see much of a difference. It's often better to star...
knu (Akinori MUSHA)
10:34 AM Feature #7226: Add Set#join method as a shortcut for to_a.join
Akinori MUSHA wrote:
> The proposed implementation is far from efficient, collecting all elements into a temporary a...
duerst (Martin Dürst)
04:08 AM Feature #7226 (Rejected): Add Set#join method as a shortcut for to_a.join
The proposed implementation is far from efficient, collecting all elements into a temporary array only for calling Ar... knu (Akinori MUSHA)
03:30 AM Feature #7226 (Assigned): Add Set#join method as a shortcut for to_a.join
nobu (Nobuyoshi Nakada)
10:03 AM Bug #7398 (Closed): Modify TestSSL#test_read_and_write to handle partial sysreads
Applied in changeset r46164.
----------
* test/openssl/test_pair.rb: Modify TestSSL#test_read_and_write
to handle ...
hsbt (Hiroshi SHIBATA)
09:55 AM Feature #7400: Incorporate OpenSSL tests from JRuby.
```
[1/8] TestCertificate#test_cert_extensions = 4.90 s
1) Failure:
TestCertificate#test_cert_extensions [/ruby/...
hsbt (Hiroshi SHIBATA)
09:48 AM Feature #7399 (Closed): Add tests for PKCS7#type= and add_data.
Applied in changeset r46162.
----------
* test/openssl/test_pkcs7.rb: Add tests for PKCS7#type= and add_data.
[Fea...
hsbt (Hiroshi SHIBATA)
09:34 AM Bug #7512 (Closed): Test for HMAC signing with UTF-8 String
Applied in changeset r46161.
----------
* test/openssl/test_hmac.rb (test_binary_update): Added Test for
HMAC sign...
hsbt (Hiroshi SHIBATA)
08:34 AM Bug #6573 (Closed): Webrick test failures
Applied in changeset r46160.
----------
* test/runner.rb: fixed randomly test failure.
[Bug #6573][ruby-core:45563]
hsbt (Hiroshi SHIBATA)
08:00 AM Bug #8523 (Closed): intermittent unit test failure in test_timeout.rb results in build failures
Applied in changeset r46159.
----------
* test/test_timeout.rb (test_timeout): inverted test condition.
[Bug #8523]
hsbt (Hiroshi SHIBATA)
05:29 AM Feature #6003 (Closed): test/unit/parallel.rb
I removed test-unit and minitest from bundled stdlib at #9711
Now, test-unit and minitest only used CRuby test-suites.
hsbt (Hiroshi SHIBATA)
04:38 AM Bug #9692: __builtin_longjmp is called with a value greater than 1 (GCC compilation error)
I'm troubled about how to write a substitute of r45504 for ruby_2_0_0.
Nobu, do you have any idea?
usa (Usaku NAKAMURA)
03:22 AM Feature #9638: [PATCH] limit IDs to 32-bits on 64-bit systems
I am OK with closing this issue (but I'm not sure if I have permissions
to close on redmine).

However, your appl...
normalperson (Eric Wong)
02:45 AM Feature #9638: [PATCH] limit IDs to 32-bits on 64-bit systems
I'm using machines that have 2TB or more main memory. I think the machines can treat more than 2**32 symbols and I wa... ngoto (Naohisa Goto)
02:13 AM Bug #9865 (Closed): frozen IO object causes RuntimeError with inspect and fileno
Applied in changeset r46151.
----------
io.c: no error on frozen IO
* io.c (rb_io_fileno, rb_io_inspect): non-modif...
nobu (Nobuyoshi Nakada)
01:04 AM Bug #9865 (Closed): frozen IO object causes RuntimeError with inspect and fileno
IO object を freeze すると、inspect や fileno が RuntimeError になるんですが、
これはよろしくないんじゃないかと思います。
```
% ./ruby -e 'f = open(...
akr (Akira Tanaka)
02:10 AM Bug #9730: E:/Rails/Ruby1.9.3/lib/ruby/1.9.1/webrick/server.rb:98: [BUG] Segmentation fault
This issue looks similar to #3784. phasis68 (Heesob Park)

05/26/2014

06:57 AM Bug #8344: Status of Psych and Syck
Is github/tenderlove/syck not the canonical repo? zzak (zzak _)
02:55 AM Bug #8344: Status of Psych and Syck
Opened it.
* https://github.com/RapGenius/syck/pull/2
* https://github.com/RapGenius/syck/pull/3
hsbt (Hiroshi SHIBATA)
05:38 AM Feature #9638: [PATCH] limit IDs to 32-bits on 64-bit systems
I'm not sure if this is possible anymore due to SymbolGC
No big deal, though.
normalperson (Eric Wong)
03:25 AM Feature #9864 (Closed): Rename 'optparse' to 'optionparser', or the main class OptionParser to OptParse
Applied in changeset r46126.
----------
lib/optionparser.rb
* lib/optionparser.rb, lib/optparse.rb (OptParse): alia...
nobu (Nobuyoshi Nakada)

05/25/2014

11:39 PM Bug #9835: IGNORE signal handler has possible race condition in Ruby 2.1.2
v2: updated to pass rubyspec for trap(sig, nil)
http://bogomips.org/ruby.git/patch?id=e19b6b1a5e0117
normalperson (Eric Wong)
05:48 PM Feature #9863: Hide Float internal
[email protected] wrote:
> Feature #9863: Hide Float internal

Yes please. Probably a few more easy ones to...
normalperson (Eric Wong)
12:38 PM Feature #9863 (Closed): Hide Float internal
~~~Patch
From 93f013d689abed19f4223f968e374046437b7fa7 Mon Sep 17 00:00:00 2001
From: "Urabe, Shyouhei" <shyouhei@r...
shyouhei (Shyouhei Urabe)
04:30 PM Bug #8344: Status of Psych and Syck
@hsbt this is a bug in syck gem, could you open a ticket there? zzak (zzak _)
04:24 AM Bug #8344: Status of Psych and Syck
I am against to remove YAML::ENGINE now.
Psych can't parse some yaml file in real application.
I use Syck in this...
hsbt (Hiroshi SHIBATA)
03:33 AM Bug #8344 (Assigned): Status of Psych and Syck
naruse (Yui NARUSE)
02:33 AM Bug #8344 (Closed): Status of Psych and Syck
Applied in changeset r46097.
----------
* lib/yaml.rb: Remove Psych::EngineManager [Bug #8344]
* test/psych/*: ditto.
zzak (zzak _)
04:11 PM Feature #9864: Rename 'optparse' to 'optionparser', or the main class OptionParser to OptParse
Currently, we have to do this:
require 'optparse'
OptionParser.new
shevegen (Robert A. Heiler)
04:11 PM Feature #9864 (Closed): Rename 'optparse' to 'optionparser', or the main class OptionParser to OptParse
Hello.
I don't like the inconsistency in the naming of optparse and the class that
we are supposed to use itself....
shevegen (Robert A. Heiler)
11:00 AM Bug #9862 (Closed): build failure on arm-linux-gnueabihf
Applied in changeset r46113.
----------
signal.c: revert part of r46100
* signal.c (check_stack_overflow): revert p...
nobu (Nobuyoshi Nakada)
10:00 AM Bug #9862 (Closed): build failure on arm-linux-gnueabihf
compiling signal.c
signal.c: In function ‘check_stack_overflow’:
signal.c:720:27: error: ‘mcontext_t’ h...
mame (Yusuke Endoh)
07:51 AM Bug #9775: Segmentation Fault
It seems that this issue is an issue of debugger gem.
Refer to https://github.com/cldwalker/debugger/issues/118#is...
phasis68 (Heesob Park)
03:00 AM Bug #9814 (Closed): Improving documentation example for Enumerator#peek
Applied in changeset r46099.
----------
* enumerator.c: [DOC] Fix example to show Enumerator#peek behavior
Patch b...
zzak (zzak _)
02:56 AM Bug #9861 (Closed): BSD_vfprintf precsion doesn't work at shorter string
Applied in changeset r46098.
----------
vsnprintf.c: fix string precision
* vsnprintf.c (BSD_vfprintf): fix string ...
nobu (Nobuyoshi Nakada)
02:49 AM Bug #9861 (Closed): BSD_vfprintf precsion doesn't work at shorter string
`ruby_snprintf`などで`"%s"`に精度を指定してその精度よりも短い文字列を渡すと、本来の長さが無視されて精度まで`'\0'`が詰められます。
~~~C
/* t.c */
#include <ruby/rub...
nobu (Nobuyoshi Nakada)
02:51 AM Misc #9801 (Closed): Regexp documentation for Regexp::EXTENDED is incomplete
Fixed by r46096 zzak (zzak _)
02:50 AM Bug #9819 (Closed): changed documentation for enumerable methods find and detect
Fixed by r46095 zzak (zzak _)
01:48 AM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
KOSAKI Motohiro <[email protected]> wrote:
> Do we have only one benchmark provided by Sam? I don't think i...
normalperson (Eric Wong)
01:42 AM Bug #9574 (Assigned): Inconsistent behavior between Kernel#Float and to_f
Thanks for the report! zzak (zzak _)
12:59 AM Feature #9383 (Closed): Add unit test for FileUtils.chown_R
Applied in changeset r46092.
----------
* test/fileutils/test_fileutils.rb (test_chown_R): Add tests for
chown_R. ...
hsbt (Hiroshi SHIBATA)
12:58 AM Feature #9303 (Closed): Add unit test for chown method in test_fileutils.rb to test that it does not chmod recursively
Applied in changeset r46091.
----------
* test/fileutils/test_fileutils.rb: Added recursively chmod tests.
[Featur...
hsbt (Hiroshi SHIBATA)

05/24/2014

09:44 PM Bug #9700 (Closed): [DOC] Fix for documentation of URI::Escape
It seems like escape [still uses ::UNSAFE](https://github.com/ruby/ruby/blob/ruby_2_1/lib/uri/common.rb#L299).
It'...
zzak (zzak _)
06:21 PM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
On Sat, May 24, 2014 at 1:07 PM, <[email protected]> wrote:
> Issue #9113 has been updated by Nobuyoshi Nakada.
...
kosaki (Motohiro KOSAKI)
04:07 AM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
I'm still negative to enable it by default. nobu (Nobuyoshi Nakada)
03:49 PM Feature #9808 (Rejected): Enumerable#argmin_by, #argmax_by
Eregon (Benoit Daloze)
11:54 AM Feature #9808: Enumerable#argmin_by, #argmax_by
I'm sorry for this issue. It looks, I've misunderstood and underestimated #min_by functionality. I think issue can be... prijutme4ty (Ilya Vorontsov)
09:22 AM Feature #9860 (Closed): Extract Logger::Application from logger.rb
Logger::Application is no longer maintained.
It should be extracted from logger.rb
I attached patch of this issue.
hsbt (Hiroshi SHIBATA)
07:23 AM Bug #9856 (Closed): [PATCH] process.c (proc_getgroups, proc_setgroups): use ALLOCV_N
Applied in changeset r46075.
----------
process.c (proc_getgroups, proc_setgroups): use ALLOCV_N
* process.c (proc_...
Anonymous
06:32 AM Bug #9859: An object with 6 instance variables causes SEGV
経緯は調べてませんが、実際のreallocによるnew_sizeの補正が入らなくなりますね。
~~~diff
diff --git i/gc.c w/gc.c
index 6c9547e..f18d2d0 100644
-...
nobu (Nobuyoshi Nakada)
05:15 AM Bug #9859: An object with 6 instance variables causes SEGV
Koichi Sasada wrote:
>
> で `xrealloc()` が成功後、GC 発生して、mark 関数(`mark_children`の
> `T_OBJECT`)において、`xrealloc` によっ...
akr (Akira Tanaka)
04:04 AM Bug #9859: An object with 6 instance variables causes SEGV
`MEMOP_TYPE_REALLOC`では実行しないようにするか、`REALLOC_N`にポインタへの参照を渡して`xrealloc`の中で書き換えさせるとか、でしょうか。
`xrealloc`を直に使われると後者ではどうしようも...
nobu (Nobuyoshi Nakada)
03:59 AM Bug #9859: An object with 6 instance variables causes SEGV
r45653で強制GCが走るようになった後、r45656で
> * gc.c (`objspace_malloc_increase`): don't cause GC by `malloc_increase`
> when...
nobu (Nobuyoshi Nakada)
05:58 AM Bug #9835: IGNORE signal handler has possible race condition in Ruby 2.1.2
[email protected] wrote:
> As signal is asynchronous, it is not guaranteed essentially?

The problem is a rac...
normalperson (Eric Wong)
03:39 AM Bug #9835: IGNORE signal handler has possible race condition in Ruby 2.1.2
As signal is asynchronous, it is not guaranteed essentially?
Anyway, the patch doesn't seem evil.
nobu (Nobuyoshi Nakada)
03:03 AM Bug #9759: [TracePoint API] return event missing when raising exception
Hi @Tomoyuki, thanks a lot for backporting this. May I ask for backdport of r44535 as well? It's a related fix and it... deivid (David Rodríguez)
02:41 AM Feature #9852: How to bundle test-unit2 and minitest5
Hiroshi SHIBATA wrote:
> I hope to bundle test-unit2 and minitest5 with Ruby 2.2.0.
Could you explain why you w...
kou (Kouhei Sutou)

05/23/2014

11:53 PM Feature #9711 (Closed): Remove test-unit and minitest from stdlib.
I've removed lib/minitest in r46064
I've commented on ticket #9852 on what I think needs to happen, but I'd need h...
zenspider (Ryan Davis)
11:41 PM Bug #9835: IGNORE signal handler has possible race condition in Ruby 2.1.2
I could not reproduce the race, but I think the following is a fix.

http://bogomips.org/ruby.git/patch?id=3137d83...
normalperson (Eric Wong)
11:12 PM Bug #9859: An object with 6 instance variables causes SEGV
(2014/05/24 4:33), [email protected] wrote:
> 気がついたのですが、以下のようにすると SEGV します。

ちょっと追ってみたのですが、

variable.c の
> ~...
ko1 (Koichi Sasada)
07:33 PM Bug #9859 (Closed): An object with 6 instance variables causes SEGV
気がついたのですが、以下のようにすると SEGV します。
```
% ./miniruby -e '
class C
def initialize
@a = nil
@b = nil
@...
akr (Akira Tanaka)
09:59 PM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
Warning moved to the end of output where it may be more visible:
http://yhbt.net/ruby-9113-jemalloc-v2.patch
Comm...
normalperson (Eric Wong)
03:32 PM Bug #7395 (Closed): Negative numbers can't be primes by definition
Applied in changeset r46061.
----------
add information of incompatibility about Prime.prime? [Bug #7395]
ayumin (Ayumu AIZAWA)
12:36 PM Bug #9627 (Closed): SMTP does not properly dot-stuff an unterminated last line
Applied in changeset r46060.
----------
net/protocol.rb: fix SMTP dot stuffing
* net/protocol.rb (using_each_crlf_l...
nobu (Nobuyoshi Nakada)
06:17 AM Feature #3944: Add Fiber#root? method
`Fiber#root` is useful.
For example, I want write a method, when under `EM::Synchrony` environment it should use `EM...
jjyr (Jinyang Jiang)

05/22/2014

10:46 PM Bug #9858 (Rejected): Ruby math error
google "floating point error faq". nobu (Nobuyoshi Nakada)
09:01 PM Bug #9858 (Rejected): Ruby math error
While in IRB session or executing as a script, when performing the sum
`21.1 + 7.6`
the output is
`28.70000000000...
Antiokus314 (Navneet Garg)
03:25 PM Bug #9697: rb_sys_fail(getaddrinfo) - errno == 0 crashes ruby
r45045, r45046 and r45530 were backported into `ruby_2_1` branch at r46054. nagachika (Tomoyuki Chikanaga)
03:16 PM Feature #9857 (Closed): Pathname#birthtime
`File.birthtime` が追加されたので `Pathname#birthtime` もあると良いのではないでしょうか。 znz (Kazuhiro NISHIYAMA)
11:49 AM Feature #9647 (Closed): File::Stat#birthtimeの追加
Applied in changeset r46047.
----------
* file.c (stat_birthtime): add birthtime support [Feature #9647]
* file.c (...
naruse (Yui NARUSE)
10:37 AM Feature #9772 (Rejected): IO#statfs and File::Statfs
https://docs.google.com/document/d/1sLZec48bWLyrJZ7MZna74bY9h2YoLBerlBHe-0EQgek/pub naruse (Yui NARUSE)
02:29 AM Feature #9508: Add method coverage and branch coverage metrics
Hi Yusuke, I looked into the performance issue:
* I used the mail gem specs as a slightly longer performance test....
srawlins (Sam Rawlins)

05/21/2014

01:39 PM Bug #416: core_set_method_alias
Hi,
Obviously r18554 is already contained in 2.0.0/2.1, but r46037 should be backported to `ruby_2_0_0` and `ruby_...
nagachika (Tomoyuki Chikanaga)
01:05 PM Bug #8000: "require 'tk'" segfaults on 64-bit linux with Tk 8.6
Fedora has accepted Tcl/Tk 8.6 for F21 [1]. Is there any chance this will get resolved? Is there any repository with ... vo.x (Vit Ondruch)
02:19 AM Feature #9841: [RFC] use ihash for fstring implementation
[email protected] wrote:
> This results in ~100K[1] memory savings on start up (with RubyGems
> loaded) with n...
normalperson (Eric Wong)
12:46 AM Bug #9840: [darwin] configure script fails if an empty file named `Info.plist` exists in the user's home directory
patrick ellis wrote:
> Nobuyoshi Nakada wrote:
> > Why not remove the invalid file?
>
> Yes, that fixes the buil...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom