Project

General

Profile

Activity

From 05/26/2014 to 06/01/2014

06/01/2014

11:57 PM Feature #9892: Contributing guide for github
Did you see #9254? zzak (zzak _)
11:52 PM Feature #9892: Contributing guide for github
https://github.com/ruby/ruby/pull/625 hsbt (Hiroshi SHIBATA)
10:58 AM Feature #9892 (Closed): Contributing guide for github
github supports to show contributing guideline when send pull requests.
https://github.com/blog/1184-contributing-guidelines
Some people don't know our official issue tracker.
I think better that show contribute instructions to th...
hsbt (Hiroshi SHIBATA)
10:31 PM Revision fe38158f (git): * test/ruby/envutil.rb (default_warning): New method.
* test/ruby/test_autoload.rb: Use EnvUtil.default_warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:06 PM Revision 04683109 (git): constify rb_encoding and OnigEncoding
* include/ruby/encoding.h: constify `rb_encoding` arguments.
* include/ruby/oniguruma.h: constify `OnigEncoding` arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:50 PM Revision b1624514 (git): gmake.mk: fix argument
* defs/gmake.mk: fix missing loop variable of `foreach`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:32 PM Revision 2f0c383d (git): gmake.mk: universal assembler rules
* Makefile.in (CFLAGS_NO_ARCH): split from ARCH_FLAG.
* defs/gmake.mk: define assembler rules per architectures for
universal binaries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:32 PM Revision b1b88695 (git): gmake.mk: universal cpp rules
* defs/gmake.mk: define preprocessing rules per architectures for
universal binaries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:27 PM Feature #9113: Ship Ruby for Linux with jemalloc out-of-the-box
Eric Wong wrote:
> ko1@atdot.net wrote:
> ...
Speaking from the Gentoo perspective: with "--enable-jemalloc" I could give my Gentoo users a choice of enabling jemalloc via our "USE flag" mechanism. I'd rather not do that with the LIBS ...
hansdegraaff (Hans de Graaff)
05:21 PM Bug #9688: Ruby's child process inherits parent's sockets (mswin)
Backported into `ruby_2_1` branch at r46305. nagachika (Tomoyuki Chikanaga)
05:21 PM Revision e373773a (git): merge revision(s) r45471: [Backport #9688]
* win32/win32.c (rb_w32_accept, open_ifs_socket, socketpair_internal):
reset inherit flag of socket to avoid unintentional inheritance of
socket. note that the return value of SetHandleInformation() is not
...
nagachika (Tomoyuki Chikanaga)
05:18 PM Bug #9652: Marshal doesn't dump/load Time#zone correctly with too many time object
r45364, r45395, r45396, r45403 and r45406 were backported into `ruby_2_1` branch at r46304. nagachika (Tomoyuki Chikanaga)
05:17 PM Revision 282462b2 (git): merge revision(s) r45364,r45395,r45396,r45403,r45406: [Backport #9652]
* time.c (time_mload): freeze and preserve marshal-loaded time zone
* test/ruby/test_time.rb: add test for GC on loaded object
[Bug #9652]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46304 b2dd03c8-...
nagachika (Tomoyuki Chikanaga)
05:07 PM Bug #9656: check for -fno-defer-pop option in ext/dl/extconf.rb
Backported into `ruby_2_1` branch at r46303. nagachika (Tomoyuki Chikanaga)
05:07 PM Revision 52950d94 (git): merge revision(s) r45365: [Backport #9656]
dl/extconf.rb: check for -fno-defer-pop option
* ext/dl/extconf.rb: check for -fno-defer-pop option, since clang
5.1 no longer support -fno-defer-pop option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46303...
nagachika (Tomoyuki Chikanaga)
05:04 PM Bug #9622: Extra method arguments are magically swallowed after first successful call, possible method cache bug
Backported into `ruby_2_1` at r46302. nagachika (Tomoyuki Chikanaga)
05:03 PM Revision 5d2ea904 (git): merge revision(s) r45320,r45321: [Backport #9622]
* vm_insnhelper.c (vm_callee_setup_arg): turn a macro into an
inline function.
* vm_insnhelper.c (vm_callee_setup_arg): disable fastpath if splat
argument, since argc may differ for each calls.
[rub...
nagachika (Tomoyuki Chikanaga)
04:56 PM Bug #9645: [PATCH] variable.c: avoid memory leak on const redefinition
Backported into `ruby_2_1` branch at r46301. nagachika (Tomoyuki Chikanaga)
04:55 PM Revision 5a22835c (git): merge revision(s) r45350: [Backport #9645]
* variable.c (rb_const_set): delete existing entry on redefinition
[Bug #9645]
* test/ruby/test_const.rb (test_redefinition): test for leak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46301 b2dd03c8...
nagachika (Tomoyuki Chikanaga)
03:41 PM Revision 20e6b3a3 (git): Use EnvUtil.suppress_warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:25 PM Revision 9b0ea861 (git): Suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:14 PM Revision b9ea7476 (git): * 2014-06-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:13 PM Revision 49aac865 (git): Suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:08 PM Revision fcdec9bf (git): Stop DRb service.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:47 PM Revision be4b37df (git): Finish threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:09 PM Revision 49d68ba1 (git): Suppress a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:20 AM Bug #7859: Readline: Incorrect arrow key behavior in vi_editing_mode insert mode with Readline 6.2
David Albert wrote:
> =begin
> ...
vi mode uses an escape character to exit insert mode, enter command mode. ANSI terminals send escape sequences (Escape [ <letter>) for arrow keys.
vi and vim resolve this by using short timeouts; if ...
cjheath (Clifford Heath)
03:07 AM Revision 5cd71131 (git): * test/drb: Wrap tests definitions by DRbTests module. This makes
several tests (ACLEntryTest, TestBug4409, etc.) easier to understand
that they are tests for DRb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:37 AM Revision 09ab3a0a (git): * lib/rinda/ring.rb (RingFinger#make_socket): Close the socket on exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:30 AM Bug #9447: Bad interaction between Fibers and Trap handlers in Ruby > 2.0.0
I found this bug report while searching for another bug.
This seems a bug in the Alarm implementation, not a bug in Ruby. *Alarm::alarm* pauses the fiber in the trap, so it never left trap context. The fix is to escape the trap with *...
kernigh (George Koehler)
01:21 AM Revision f64541d7 (git): Close FDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

05/31/2014

11:54 PM Revision 28229e4a (git): Join threads before close pipes.
closing a FD interrupts threads which uses the FD.
rb_thread_io_blocking_region (for write()) checks an interrupt after write() is finished.
So, joining the thread after closing() may raise "IOError: stream closed".
git-svn-id: svn+ss...
akr (Akira Tanaka)
10:20 PM Bug #9891 (Closed): infinite fibers crash Ruby
When a program makes too many fibers, Ruby crashes. I found this bug while playing with an Enumerator that recursively enumerates itself.
Bug is easy to reproduce. This one-line fiber bomb will crash Ruby:
~~~
p = proc { Fiber.new...
kernigh (George Koehler)
09:55 PM Revision 70d34c62 (git): parse.y: no duplicate attrset ID
* parse.y (intern_str): dynamic attrset ID is registered by
`rb_id_attrset()` already, so no further registration is needed.
[ruby-core:62861]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:54 PM Revision bcd25152 (git): * lib/English.rb: [DOC] $LOADED_FEATURES moved to load.c [Fixes GH-620]
Patch submitted by @leafac in https://github.com/ruby/ruby/pull/620
* doc/globals.rdoc: Added $LOADED_FEATURES to list
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
03:31 PM Revision 9529ed2c (git): * 2014-06-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:31 PM Revision 6f6dd30d (git): Join threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:48 PM Revision 06fb8234 (git): Join threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:48 PM Revision 45328723 (git): configure.in: remove rb_cv_typeof
* configure.in (rb_cv_typeof): no longer needed because of
AC_C_TYPEOF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:48 PM Revision ffc1ea22 (git): ChangeLog: fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:28 PM Revision e555e28e (git): Join threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:05 PM Revision f07096f7 (git): Join threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:53 PM Bug #9890 (Closed): Empty Date class
Before anything is loaded/required, there is a non-functional `Date` class.
~~~
$ GEM_HOME= GEM_PATH= irb
irb(main):001:0> Date
=> Date
irb(main):002:0> Date.ancestors
=> [Date, Object, Kernel, BasicObject]
irb(main):003:0> Da...
cbandy (Chris Bandy)
01:33 PM Feature #9887: Add uninclude please
Same as #8967 nobu (Nobuyoshi Nakada)
02:06 AM Feature #9887 (Open): Add uninclude please
Hi!
I would like to have a way to cleanly uninclude a module.
Consider:
```ruby
module Foo
TEST = '123'
end
class Bar
include Foo
end
```
Now I would like to uninclude Foo. I can remove constants and methods alread...
shevegen (Robert A. Heiler)
01:31 PM Revision 6c6f9b19 (git): * test/lib/leakchecker.rb: Leak checker extracted from
test/lib/minitest/unit.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:30 PM Revision 87847876 (git): don't remove test results
r46180 removed dots but they express the result of tests: don't remove them.
Moreover I don't understand why `read` is still used.
http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20140530T200301Z.fail.html.gz
git-svn-id: svn+ssh://ci.ru...
naruse (Yui NARUSE)
01:20 PM Feature #9889 (Closed): Hide Hash internal
~~~Patch
From b042711f88b74c9b260a8a6d82d3e040174c01d2 Mon Sep 17 00:00:00 2001
From: "Urabe, Shyouhei" <shyouhei@ruby-lang.org>
Date: Sat, 31 May 2014 22:13:24 +0900
Subject: [PATCH] Hide Hash internal
I chose struct RHash for se...
shyouhei (Shyouhei Urabe)
12:53 PM Feature #9888 (Closed): Hide Complex internal
~~~Patch
From 428bce1d9b43210ca07c89e7c594925dda3b7934 Mon Sep 17 00:00:00 2001
From: "Urabe, Shyouhei" <shyouhei@ruby-lang.org>
Date: Sat, 31 May 2014 21:48:10 +0900
Subject: [PATCH] Hide Complex internal
So I agree with Eric and...
shyouhei (Shyouhei Urabe)
12:24 PM Revision e00ac167 (git): * thread.c (rb_thread_atfork_internal): My compiler complains
about this variable being used before initialized. I looked at
the code and expanded the macro and turned out it was actually
USED for pointer arithmetic, not dereferenced. So this was
never a serious bug. But is annoying indeed ...
shyouhei (Shyouhei Urabe)
07:36 AM Revision f84ef81d (git): * lib/ipaddr.rb: extracted inline tests into test dir.
* test/test_ipaddr.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
07:30 AM Revision a5afd235 (git): * ext/digest/lib/digest/hmac.rb: extracted inline tests into test dir.
* test/digest/test_digest_hmac.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
07:03 AM Revision aae667d2 (git): * test/test_syslog.rb: remove executable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:15 AM Bug #9886 (Third Party's Issue): [BUG] Segmentation fault ruby 2.0.0p481 (2014-05-08) [x64-mingw32]
hsbt (Hiroshi SHIBATA)
12:28 AM Bug #9886: [BUG] Segmentation fault ruby 2.0.0p481 (2014-05-08) [x64-mingw32]
This issue is a duplicate of Bug #8591.
For an in-depth description, refer to https://github.com/brianmario/mysql2/issues/372
phasis68 (Heesob Park)
01:35 AM Bug #9885: lib/net/imap.rb: FETCH-ed BODYSTRUCTURE with "MIXED" body type fails
It feels more like a bug to me. The existing code throws a parsing exception when I fetch the bodystructure of the message in my inbox that prompted me to make this change. I have not dug deep enough into the RFCs yet to know how close t... rayners (David Raynes)
12:01 AM Revision 1c01f22d (git): Join threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

05/30/2014

11:58 PM Revision dd20f904 (git): unicode.c: no initialization
* enc/unicode.c (init_case_fold_table): no longer need to
initialize tables at runtime.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:58 PM Revision 7e67b396 (git): case-folding.rb: perfect hash for case unfolding3
* enc/unicode/case-folding.rb (lookup_hash): make perfect hash to
lookup case unfolding table 3.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:58 PM Revision 8f598676 (git): case-folding.rb: perfect hash for case unfolding2
* enc/unicode/case-folding.rb (lookup_hash): make perfect hash to
lookup case unfolding table 2.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:58 PM Revision 35348a08 (git): case-folding.rb: perfect hash for case unfolding1
* enc/unicode/case-folding.rb (lookup_hash): make perfect hash to
lookup case unfolding table 1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:57 PM Revision c39e6592 (git): case-folding.rb: perfect hash for case folding
* enc/unicode/case-folding.rb (lookup_hash): make perfect hash to
lookup case folding table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:56 PM Revision 88eae358 (git): case-folding.rb: merge tables
* enc/unicode/case-folding.rb (print_table): merge non-locale and
locale tables, and reduce initializing loops.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:55 PM Revision 1d588b4f (git): case-folding.rb: modularize
* enc/unicode/case-folding.rb (CaseFolding): modularize, and add
--output-file option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:49 PM Revision 0148bd15 (git): case-folding.rb: conversion script
* enc/unicode/case-folding.rb: script to convert CaseFolding.txt,
tranlated from CaseFolding.py.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:37 PM Bug #9885 (Feedback): lib/net/imap.rb: FETCH-ed BODYSTRUCTURE with "MIXED" body type fails
Maybe a feature-request? nobu (Nobuyoshi Nakada)
09:30 PM Bug #9885: lib/net/imap.rb: FETCH-ed BODYSTRUCTURE with "MIXED" body type fails
Pull request: https://github.com/ruby/ruby/pull/622 rayners (David Raynes)
09:06 PM Bug #9885 (Closed): lib/net/imap.rb: FETCH-ed BODYSTRUCTURE with "MIXED" body type fails
Gmail's IMAP server is giving me ("MIXED ("BOUNDARY" "abcdefgh") ..) for a the body portion of a message/rfc822 part and Net::IMAP raises an exception when parsing it.
I've got a pull request w/ test just about ready to go. Will post ...
rayners (David Raynes)
11:32 PM Revision 40ec5528 (git): * test/lib/minitest/unit.rb: Check Tempfile leaks for each test method
again.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:28 PM Bug #9884: thread_pthread.c assumes pthread_t is a scalar type
How about this patch? I tested this on x86/Linux with -DTHREAD_DEBUG=-1. No error happened in make test or test-all. ReiOdaira (Rei Odaira)
09:07 AM Bug #9884 (Closed): thread_pthread.c assumes pthread_t is a scalar type
Many code lines in `thread_pthread.c` assume `pthread_t` is a scalar type. For example,
~~~
thread_debug("ubf_select_each (%p)\n", (void *)th->thread_id);
~~~
and
~~~
if (!timer_thread_id) {
~~~
I don't think the ...
ReiOdaira (Rei Odaira)
09:09 PM Bug #9886 (Third Party's Issue): [BUG] Segmentation fault ruby 2.0.0p481 (2014-05-08) [x64-mingw32]
****** Start content of ruby script *********
require 'rubygems'
require 'mysql2'
puts "hello world"
***** End Content of ruby script ************
C:\projects\test\mysql_test>ruby test.rb
C:/Ruby200_x64/lib/ruby/gems/2.0.0/...
gabsaga.tata@tikarisys.com (Gabsaga Tata)
06:53 PM Bug #9839: Segment fault in http
We also have the same problem, even after upgrading to ruby 2.1.2. I've attached the logging output. I can supply a core dump if that helps.
This has been happening on a regular basis (once every few days) for a few months, at least.
...
pinfieldharm (Paul Infield-Harm)
06:52 PM Revision cfe2cbda (git): * lib/delegate.rb: [DOC] Document raise in Delegator class
Patch by @lucasmazza. [Fixes GH-621]
https://github.com/ruby/ruby/pull/621
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
04:04 PM Feature #9880: Dir#fileno
とりあえず現在の作業のために ext/-test-/dir/ に入れました。
これで ruby 本体についてはテストで close しなかった fd を
より確実に確認できるようになりました。
しかし、close を忘れるのは (残念ながら) 珍しいことではないので、
Dir#fileno を ruby 本体以外にも提供することにより、
この確認を容易にするのは良いことだと思っています。
akr (Akira Tanaka)
03:06 PM Revision e5acaa03 (git): add --disable-gem
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:03 PM Revision 3134c2d5 (git): * 2014-05-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:03 PM Revision 4565cd66 (git): Close FDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:50 PM Revision 69105a17 (git): Close FDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:46 PM Feature #9451: Refinements and unary & (to_proc)
IMHO, splat should be affected by refinements, because there is no intermediate method calls. nobu (Nobuyoshi Nakada)
02:28 PM Revision 60cb6f6e (git): Close sockets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:17 PM Revision bf6c098d (git): Close pipes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:06 PM Revision 9a51bc62 (git): Use the block form of Open3.popen3 to close FDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:48 PM Revision ab4c6921 (git): Join threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:28 PM Revision 5b75a061 (git): Join threads, not kill.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:51 PM Revision e6da7c5c (git): test/io/console/test_io_console.rb: Close FDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:32 PM Revision 6f226d9d (git): * lib/webrick/server.rb: Use a pipe to detect server shutdown.
shutdown() or close() for listening socket is not a reliable.
Actually, both doesn't work (doesn't wake up select()) on
DragonFly BSD 3.6.2.
* test/webrick/utils.rb: :ShutdownSocketWithoutClose is not required
now to immediate ser...
akr (Akira Tanaka)
12:03 PM Revision 99e389a6 (git): svn:ignore property added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:01 PM Revision 283e5d5a (git): * test/lib/minitest/unit.rb (check_fd_leak): Sort the inspected
objects list for a FD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:08 AM Revision e03e2b95 (git): * test/lib/minitest/unit.rb (check_fd_leak): Try GC to delete leaked
FDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:52 AM Revision d4101d63 (git): force_encoding to get the log of failure by Encoding::CompatibilityError
https://travis-ci.org/ruby/ruby/jobs/26361118
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:43 AM Feature #7836: Need a way to get Method and UnboundMethod objects to methods overridden by prepended modules
Can't you achieve this by `Method#super_method`? nobu (Nobuyoshi Nakada)
06:30 AM Bug #9883 (Closed): Different behaviour between `==` and hash key lookup regarding multibyte character fragment
nobu (Nobuyoshi Nakada)
04:27 AM Bug #9883: Different behaviour between `==` and hash key lookup regarding multibyte character fragment
This issue is a duplicate of Bug #9882.
And already solved with changeset r46243.
phasis68 (Heesob Park)
04:06 AM Bug #9883 (Closed): Different behaviour between `==` and hash key lookup regarding multibyte character fragment
This question is reported in stackoverflow (http://stackoverflow.com/questions/23946127). When a multibyte character is split by `slice`, `==` ignores the split fragment of the character, while key lookup on hash does not:
~~~ruby
s1...
sawa (Tsuyoshi Sawada)
06:27 AM Revision bb1fb116 (git): minitest/unit.rb: defer requiring -test-
* test/lib/minitest/unit.rb (find_fds): defer requiring a library
under "-test-" until needed, or can't work in other (installed)
ruby. grep doesn't need separated map.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46248 b2dd03...
nobu (Nobuyoshi Nakada)
05:53 AM Feature #5138: Add nonblocking IO that does not use exceptions for EOF and EWOULDBLOCK
Charles Nutter wrote:
> JRuby master (1.7.4) now has a new ext io/try_nonblock that implements just the IO portion of wycats's patch (I did not implement the StringIO and SSLSocket logic).
Just closing the circle here... JRuby 9000 w...
headius (Charles Nutter)
03:18 AM Revision 5cc1d57c (git): fileno.c: suppress warnings
* ext/-test-/dir/fileno.c (dir_check): suppress unused-function
warnings, used only when dirfd() is available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:18 AM Revision 279aaaf9 (git): printf.c: suppress warnings
* ext/-test-/printf/printf.c (printf_test_call): suppress
maybe-uninitialized warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:06 AM Revision 0dea3e1a (git): * test/lib/test/unit/parallel.rb (_run_suite): orig_stdout may be nil
though I don't know the reason.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:55 AM Revision b901b875 (git): test_string.rb: move and add assertions
* test/ruby/test_string.rb (test_slice): move the assertion for
[Bug #9882], and more assertion for `ascii_only?` too, as
pointed out by Heesob Park in [ruby-core:62846].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46244 b2dd0...
nobu (Nobuyoshi Nakada)
02:33 AM Bug #9882 (Closed): Issue with hash string keys
Applied in changeset r46243.
----------
string.c: reset code range
* string.c (rb_str_substr): need to reset code range for shared
string too, not only copied string.
[ruby-core:62842] [Bug #9882]
nobu (Nobuyoshi Nakada)
02:31 AM Bug #9882: Issue with hash string keys
This issue is due to the different result of String#hash of each string.
Why `slice_url.hash != str.hash` in splite of `slice_url == str` ?
And I found the root cause is `slice_url.ascii_only? != str.ascii_only?`
~~~
C:\work...
phasis68 (Heesob Park)
12:51 AM Bug #9882: Issue with hash string keys
tim@nexgate.com wrote:
> I have the following code. In a nutshell i am slicing a string to pull out strings to use as keys in a hash. However when running the following code, I am getting odd results.
> context = "Marriott Internation...
normalperson (Eric Wong)
12:21 AM Bug #9882 (Closed): Issue with hash string keys
I have the following code. In a nutshell i am slicing a string to pull out strings to use as keys in a hash. However when running the following code, I am getting odd results.
~~~ruby
context = "Marriott International World’s Most AD...
toommen (Tim Oommen)
02:33 AM Revision 950508e9 (git): string.c: reset code range
* string.c (rb_str_substr): need to reset code range for shared
string too, not only copied string.
[ruby-core:62842] [Bug #9882]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:32 AM Revision 361978be (git): test_beginendblock.rb: avoid leaking threads
* test/ruby/test_beginendblock.rb (test_endblock_raise): not only
kill, but also wait the end.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:01 AM Bug #9881: stuck in test/openssl/test_ssl.rb on Windows
Akira Tanaka wrote:
> close するようにしたら刺さるようになるというのは
> ...
はい、2回目の ssl.connect (266行目) です。
> あと思いつくこととしては、test_verify_result は 3つのテストが入っている感じなので、
> ...
なるほど。
というわけで、今作業途中なのですが、247行目の ssl.sync_close = true があると266行目で刺さる
(249行目でなく)と...
usa (Usaku NAKAMURA)
01:22 AM Revision 4e741f4b (git): erb.rb: ERB#result does not accept a proc.
* lib/erb.rb (result): [DOC] no longer accepts a Proc, as
Kernel.eval does not. [fix GH-619]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

05/29/2014

10:28 PM Revision 83ead3c4 (git): * ext/-test-/dir: Dir#fileno implemented.
* test/lib/minitest/unit.rb (find_fds): Don't return the fd used to
scan /proc/$$/fd.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:13 PM Bug #9881: stuck in test/openssl/test_ssl.rb on Windows
まず ssl.sync_close = true の意味は、
ssl.close としたときに ssl に入っている
IO も同時に close するようにする、という意味です。
これがないと、test_verify_result で
sock = TCPSocket.new("127.0.0.1", port) として作ったソケットを close し忘れることになります。
close するようにしたら刺さるようになるというのは
ちょっと原因が想像し...
akr (Akira Tanaka)
03:40 PM Bug #9881 (Closed): stuck in test/openssl/test_ssl.rb on Windows
r46223以降、WindowsにおいてOpenSSL::TestSSL#test_verify_resultで刺さってしまうようになりました。
(CI等で確認できます)
調べてみたところ、この変更時に追加された、
ssl.sync_close = true
の1行が問題のようです。
よくわからないのですが、他のテストメソッドはこれがあっても問題ありません。
意味がわかってないので私にはなんとも言えないのですが、何かわかりますでし...
usa (Usaku NAKAMURA)
07:49 PM Revision fae18c95 (git): remove empty rb_gc_mark_parser function
* parse.y (rb_gc_mark_parser): remove, empty since r8758
* internal.h: ditto, not usable from extensions since 2.0.0
* gc.c (gc_mark_roots): remove checkpoint for parser
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46239 b2dd03c8-3...
Eric Wong
03:45 PM Revision d2684fd1 (git): * 2014-05-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:45 PM Revision 6c42f571 (git): * vm_trace.c, vm.c, thread.c: get rid of (maybe false positive) warnings about
using uninitialized var with VC++.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:19 PM Bug #9568: Ruby interpreter crashes when executing a script in debug mode
r45178, r45180 and r45183 were backported to `ruby_2_1` branch at r46236. nagachika (Tomoyuki Chikanaga)
03:19 PM Revision fca433e2 (git): merge revision(s) r45178,r45180,r45183: [Backport #9568]
eval.c: remove unneeded GC guard
* eval.c (setup_exception): remove RB_GC_GUARD which is no longer
needed since r41598.
* eval.c (setup_exception): preserve errinfo across calling #to_s
method on the exceptio...
nagachika (Tomoyuki Chikanaga)
02:59 PM Revision ce0c2b21 (git): test/test_syslog.rb: Close fds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:47 PM Revision 1a956cea (git): test/readline/test_readline.rb: Close fds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:28 PM Bug #9878 (Closed): ruby_signal() should return either sa_sigaction or sa_handler, depending on SA_SIGINFO
Applied in changeset r46233.
----------
signal.c: return proper member
* signal.c (ruby_signal): should return either `old.sa_sigaction`
or `old.sa_handler`, depending on whether `SA_SIGINFO` is set in
`old.sa_flags`, because they ...
nobu (Nobuyoshi Nakada)
09:52 AM Bug #9878 (Closed): ruby_signal() should return either sa_sigaction or sa_handler, depending on SA_SIGINFO
`ruby_signal()` in signal.c returns `old.sa_handler`,
but it should return either `old.sa_sigaction` or `old.sa_handler`,
depending on whether `SA_SIGINFO` is set in `old.sa_flags`.
~~~diff
--- signal.c (revision 46222)
+++ sig...
ReiOdaira (Rei Odaira)
02:27 PM Revision fad56622 (git): signal.c: return proper member
* signal.c (ruby_signal): should return either `old.sa_sigaction`
or `old.sa_handler`, depending on whether `SA_SIGINFO` is set in
`old.sa_flags`, because they may not be a union.
[ruby-core:62836] [Bug #9878]
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
02:13 PM Revision 52e91e0f (git): * io.c (pipe_open): Close pipes when rb_execarg_fixup() raises
an exception.
(rb_execarg_fixup_v): New function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:38 PM Revision 6f39cf2d (git): test/test_pty.rb: Close fds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:26 PM Revision b519ce9a (git): * test/lib/minitest/unit.rb (capture_subprocess_io): Close fds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:12 PM Revision 2edc9ea5 (git): test/logger/test_logdevice.rb: Close fds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:42 PM Revision a2f9b00a (git): test/io/nonblock/test_flush.rb: Close fds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:09 PM Bug #9570: Something wrong with Enumerator#size ?
r45187, r45205, r45206, r45212 and r45213 were backported into `ruby_2_1` at 46226. nagachika (Tomoyuki Chikanaga)
12:07 PM Revision a1afdfeb (git): test/fileutils/test_fileutils.rb: Close fds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:07 PM Revision 74d6b682 (git): merge revision(s) r45187,r45205,r45206,r45212,r45213: [Backport #9570]
* numeric.c (ruby_num_interval_step_size): check signs and get rid
of implementation dependent behavior of negative division.
[ruby-core:61106] [Bug #9570]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2...
nagachika (Tomoyuki Chikanaga)
11:40 AM Feature #9880 (Closed): Dir#fileno
Dir#fileno を追加したいのですがどうでしょうか。
最近、fd を close せずに終わるテストを調べています。
そのために、テストの前後で、Dir.entries("/proc/#$$/fd") として、
fd が変化しているかどうか調べているのですが、
これには少し問題があります。
現在使われている fd のリストを得るために
Dir.entries("/proc/#{$$}/fd") とすると、
以下のようにひとつ余計なものが出てき...
akr (Akira Tanaka)
11:29 AM Revision be4d1fd9 (git): * io.c (rb_io_s_pipe): Close pipes if io_encoding_set() raises an
exception.
(io_encoding_set_v): New function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
10:55 AM Bug #9879 (Closed): fix fd leaks in UNIXSocket.open (fixed at r46218)
UNIXSocket のアドレスチェックでエラーになった時の fd leak が r46218 で修正されています。
バックポート管理用にチケット化しておきます。
nagachika (Tomoyuki Chikanaga)
10:44 AM Revision 2ad20073 (git): * lib/csv.rb (CSV.open): Close the opened file when an exception occur.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:32 AM Revision 68ac33a5 (git): * ext/openssl/lib/openssl/ssl.rb (SSLServer#accept): Close a socket
if any exception occur.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
05:45 AM Bug #9877 (Rejected): IRB::OutputMethod defines "pp", but it's actually "p"
IRB::OutputMethod#pp is actually more like Kernel#p than PrettyPrint#pp. There doesn't seem to be a good reason for the misleading name, and use of OutputMethod requires all the Kernel print methods. (Predicated on #9876 being fixed, of ... ghazel (Greg Hazel)
05:26 AM Bug #9876 (Closed): IRB::Context output_method is not used
IRB::Context takes an optional output_method, but it is never used. IRB::Irb.output_value, and IRB::Irb.eval_input call print / printf directly, which always goes to STDOUT. ghazel (Greg Hazel)
04:27 AM Bug #9875 (Closed): ERB#result documentation incorrect
This issue duplicates: https://github.com/ruby/ruby/pull/619
---
ERB#result does not accept a proc, the documentation says:
> Executes the generated ERB code to produce a completed template, returning the results of that code.
>...
soodesune (Mark Lorenz)
03:59 AM Feature #9852: How to bundle test-unit2 and minitest5
redmine can't handle my attachments file.
Please see https://github.com/hsbt/ruby/compare/ruby:trunk...bundle-gem
hsbt (Hiroshi SHIBATA)
03:17 AM Feature #9852: How to bundle test-unit2 and minitest5
I implemented gem install task when running with "make install".
This task detect gems from gems directory and install it.
hsbt (Hiroshi SHIBATA)
12:58 AM Revision c65ef153 (git): configure.in: fix messages
* configure.in (RUBY_FUNC_ATTRIBUTE): show the attribute name in
the message if the macro name is not given. fix up r45608.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

05/28/2014

11:35 PM Revision 88789fde (git): localeinit.c: revert r46202
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:32 PM Bug #9874 (Feedback): Segmentation fault when loading rails console or rails server
Although it seems a therubyracer's issue, could you show the following file?
> -- Crash Report log information --------------------------------------------
> ...
nobu (Nobuyoshi Nakada)
05:39 PM Bug #9874 (Third Party's Issue): Segmentation fault when loading rails console or rails server
OSX 10.9.3. This segmentation emerged only after upgrading from OSX 10.9.2 to 10.9.3.
rails v4.0.3
Attached call stack and Gemfile/Gemfile.lock if those help to reproduce.
Also tried gem pristine --all, to force recompile of all ...
ivanbarrios (Ivan Barrios)
10:59 PM Revision 4bf480b7 (git): Suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
08:08 PM Revision 205e6906 (git): include/ruby/ruby.h: hide Symbol internals
This is too new to be a compatibility problem.
* include/ruby/ruby.h: Hide Symbol internals.
(struct RSymbol): moved to internal.h
(RSYMBOL): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46219 b2dd03c8-39d4-4d8f-98ff-823...
Eric Wong
03:42 PM Revision eb9f446e (git): * ext/socket/unixsocket.c (rsock_init_unixsock): Open a socket
after path length check.
This fixes a fd leak by TestSocket_UNIXSocket#test_too_long_path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
03:26 PM Bug #9873 (Closed): YAML conversion of empty symbol
The yaml gem changes the empty symbol into a string of a colon:
require "yaml"
:"".to_yaml # => "--- ! ':'\n"
So, the following round trip fails to maintain the original:
YAML.load(:"".to_yaml) # => ":"
sawa (Tsuyoshi Sawada)
03:06 PM Revision b73eaef7 (git): * 2014-05-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:06 PM Revision 971df741 (git): Close fds.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:59 PM Bug #9665: Ruby 2.1.1 fails to build on PowerPC darwin, due to __builtin_unreachable
r45716 was backported into `ruby_2_1` branch at r46215. nagachika (Tomoyuki Chikanaga)
04:25 AM Bug #9665: Ruby 2.1.1 fails to build on PowerPC darwin, due to __builtin_unreachable
backported into `ruby_2_0_0` at r46201. usa (Usaku NAKAMURA)
02:54 PM Revision 60eeeb70 (git): merge revision(s) r45716: [Backport #9665]
* configure.in (rb_cv_func___builtin_unreachable): try with an
external variable not only by a warning, which might not be
shown due to the optimization. [ruby-core:61647] [Bug #9665]
git-svn-id: svn+ssh://ci.ruby-...
nagachika (Tomoyuki Chikanaga)
02:45 PM Bug #9771: SYM2ID(Qnil)
r45701 was backported into `ruby_2_1` branch at r46214. nagachika (Tomoyuki Chikanaga)
04:22 AM Bug #9771: SYM2ID(Qnil)
backported into `ruby_2_0_0` at r46200. usa (Usaku NAKAMURA)
02:44 PM Revision b6fe6d59 (git): merge revision(s) r45701: [Backport #9771]
* ext/openssl/ossl_asn1.c (ossl_asn1_initialize): SYMID on a value
other than Symbol is an undefined behavior. fix up r31699.
[ruby-core:62142] [Bug #9771]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_...
nagachika (Tomoyuki Chikanaga)
02:39 PM Bug #9765: StringIO#putc is unnaware of encoding
r45646 was backported into `ruby_2_1` branch at r46197. nagachika (Tomoyuki Chikanaga)
04:19 AM Bug #9765: StringIO#putc is unnaware of encoding
backported into `ruby_2_0_0` at r46197. usa (Usaku NAKAMURA)
02:38 PM Revision fc967733 (git): merge revision(s) r45646: [Backport #9765]
* ext/stringio/stringio.c (strio_putc): fix for non-ascii
encoding, like as IO#putc. [ruby-dev:48114] [Bug #9765]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:06 PM Revision a7b1cfbb (git): * test/ruby/test_io.rb (test_flush_in_finalizer1): Use
ObjectSpace.each_object to close files.
GC.start is not reliable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
01:52 PM Feature #9867: Introduce each/else block into ruby
Łukasz Strzebińczyk wrote:
> ... the 'else' block is invoked when collection is empty.
Your proposal is about `any?`, but your explanation mentions emptiness, or `empty?`, and so the usecase and the proposal do not match. Are you c...
sawa (Tsuyoshi Sawada)
11:13 AM Feature #9867: Introduce each/else block into ruby
Ah, now I see. Indeed it would be useful for templates processing. Since I barely write any ERB those days, that's probably the reason why I never needed something like that... For example, this is how I'd handle those cases usually in m... rosenfeld (Rodrigo Rosenfeld Rosas)
09:57 AM Feature #9867: Introduce each/else block into ruby
I came up with this idea after some study on http://handlebarsjs.com/. In that case, the 'else' block is invoked when collection is empty.
This would have clear translation for Array or Hash, however I'm having a problem trying to defin...
Killa (Łukasz Strzebińczyk)
01:04 AM Feature #9867: Introduce each/else block into ruby
I'm curious. Personally I don't remember any time I used something like this. Would you mind showing some examples where it happens in your application? rosenfeld (Rodrigo Rosenfeld Rosas)
01:20 PM Bug #9872 (Closed): socket leak in Net::FTP#transfercmd (fixed at r46182)
Net::FTP#transfercmd で例外発生時の socket close 漏れの修正。 r46182 のバックポート管理用にチケット化します。 nagachika (Tomoyuki Chikanaga)
11:17 AM Revision 58a64127 (git): No need to kill a thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:07 AM Feature #9871 (Open): load a ruby library which doesn't have extension
拡張子のない Ruby スクリプトファイルを require する手段を提供しませんか。
Rubyスクリプトを拡張子無しで書くことはしばしばあります。
例えば Unix のコマンドを Ruby で書くときがそうでしょう。
そのスクリプトの部品を将来再利用しそうなとき、場合によっては if $0 == __FILE__ ハックを用いて、
他のファイルから読み込まれたときはコマンドを起動を行わないようにするわけですが、
拡張子がないとそもそも読み込めないの...
naruse (Yui NARUSE)
10:02 AM Revision cbd370f6 (git): * lib/net/imap.rb (Net::IMAP#initialize): Close the opened socket when
any exception occur.
This fixes a fd leak by IMAPTest#test_imaps_post_connection_check
which start_tls_session() raises an exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
09:09 AM Revision 02afafb4 (git): * ext/openssl/ossl_ssl.c (ossl_ssl_close): Fix sync_close to work
when SSL is not started.
This fix the fd leak by test_https_proxy_authentication in
test/net/http/test_https_proxy.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
08:03 AM Revision 73cf9abd (git): drbtest.rb: avoid leaking threads
* test/drb/drbtest.rb (test_06_timeout): clean up worker threads
to avoid leaking threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:22 AM Revision ca2c5ded (git): test/rake: avoid leaking threads
* test/rake/test_rake_task.rb (teardown): clean up thread pool to
avoid leaking threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:11 AM Bug #9869: Rubygems tests fail in test-all
Hiroshi SHIBATA wrote:
> ```
> ...
Hey, why do you use such old revision? ;)
nobu (Nobuyoshi Nakada)
05:32 AM Bug #9869 (Feedback): Rubygems tests fail in test-all
I can't reproduced it.
```
% make test-all TESTS="test/rubygems/test_*.rb"
CC = clang
LD = ld
LDSHARED = clang -dynamic -bundle
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long...
hsbt (Hiroshi SHIBATA)
05:21 AM Bug #9869: Rubygems tests fail in test-all
Zachary Scott wrote:
> There's also a build failure on travis due to the same issue[2].
> ...
It's a different issue, due to a socket interface.
tests which require minitest are just skipped.
nobu (Nobuyoshi Nakada)
04:40 AM Bug #9869 (Third Party's Issue): Rubygems tests fail in test-all
Since minitest was removed as a default gem the rubygems tests no longer run on trunk.
You get many errors, that I reported to rubygems[1], but its only reproducible in trunk because of minitest being removed.
There's also a build ...
zzak (zzak _)
06:05 AM Revision 15da4792 (git): test/rake: avoid leaking threads
* test/rake/test_rake_multi_task.rb (teardown): clean up thread
pool to avoid leaking threads.
* test/rake/test_rake_task_with_arguments.rb (teardown): ditto.
* test/rake/test_rake_thread_pool.rb: ditto.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
05:39 AM Revision ea9e8fed (git): eval_intern.h: suppress warning by gcc 4.6
* eval_intern.h (VAR_FROM_MEMORY, VAR_INITIALIZED): gcc 4.6 also
seems to warn false maybe-uninitialized.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:26 AM Bug #9692: __builtin_longjmp is called with a value greater than 1 (GCC compilation error)
Thank you. I'll check it. usa (Usaku NAKAMURA)
05:18 AM Bug #9692: __builtin_longjmp is called with a value greater than 1 (GCC compilation error)
Usaku NAKAMURA wrote:
> I'm troubled about how to write a substitute of r45504 for ruby_2_0_0.
r43522 (and r43536) introduced `rb_threadptr_tag_jump()`, and r45516 may be needed too.
nobu (Nobuyoshi Nakada)
05:11 AM Revision 391cad0c (git): test_socket.rb: ignore interface without address
* test/socket/test_socket.rb (test_udp_server): ignore interface
with no address assigned.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:34 AM Revision e3adb1d6 (git): [DOC] Typo in change log [ci skip]
Although a mint flavored test suite sounds delicious,
I believe it's supposed to be minitest!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
zzak (zzak _)
04:27 AM Revision 0a946cde (git): localeinit.c: fallback filesystem encoding to UTF-8
* localeinit.c (Init_enc_set_filesystem_encoding): fallback to
UTF-8 on Mac OS X, just for convenience sake.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:24 AM Revision 3c508c9d (git): merge revision(s) 45716: [Backport #9665]
* configure.in (rb_cv_func___builtin_unreachable): try with an
external variable not only by a warning, which might not be
shown due to the optimization. [ruby-core:61647] [Bug #9665]
git-svn-id: svn+ssh://ci.ruby-...
U.Nakamura
04:22 AM Revision 22bc771f (git): merge revision(s) 45701: [Backport #9771]
* ext/openssl/ossl_asn1.c (ossl_asn1_initialize): SYMID on a value
other than Symbol is an undefined behavior. fix up r31699.
[ruby-core:62142] [Bug #9771]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_...
U.Nakamura
04:20 AM Revision d8519571 (git): test_dir_m17n.rb: assert_raw_file_name
* test/ruby/test_dir_m17n.rb (assert_raw_file_name): rename to
show caller method in failure messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:20 AM Revision bd50aaf6 (git): envutil.rb: connect caller to backtrace
* test/ruby/envutil.rb (assert_separately): append current caller
to backtrace show proper method name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:19 AM Revision 320eae26 (git): merge revision(s) 45646: [Backport #9765]
* ext/stringio/stringio.c (strio_putc): fix for non-ascii
encoding, like as IO#putc. [ruby-dev:48114] [Bug #9765]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:05 AM Revision bd77dbc3 (git): test_thread.rb: move thread switch test
* test/ruby/test_thread.rb (test_switch_while_busy_loop): move
from test/test_timeout.rb. [Bug #1402]
* test/test_timeout.rb (test_timeout): no longer related to
[Bug #1402]. [Bug #8523]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
02:27 AM Bug #9868: bigdecimal#VpAlloc causes out-of-bounds read
`i--`ですかね。
その次の`ISSPACE()`までループの条件に入れてしまったほうがいい気がしますが。
nobu (Nobuyoshi Nakada)
02:08 AM Feature #9857 (Assigned): Pathname#birthtime
nobu (Nobuyoshi Nakada)
01:48 AM Revision 11422497 (git): vm.c: remove rb_vm_living_threads_foreach function
Shorter code with fewer callbacks and casts should be more readable.
* vm.c (rb_vm_living_threads_foreach): remove function
[ruby-core:62745]
* thread.c (terminate_i): remove
* thread.c (terminate_all): implement (inlines old terminat...
Eric Wong
01:45 AM Bug #9818: __builtin_setjmp and __builtin_longjmp caused a build failure on PPC Linux with gcc 4.4.0
related to #9692 nagachika (Tomoyuki Chikanaga)
01:02 AM Feature #9638 (Rejected): [PATCH] limit IDs to 32-bits on 64-bit systems
normalperson (Eric Wong)
01:00 AM Bug #9835: IGNORE signal handler has possible race condition in Ruby 2.1.2
update backport field for r46194 normalperson (Eric Wong)
12:53 AM Revision e303785d (git): signal: remove window for SignalException on IGNORE
* signal.c (signal_exec): ignore immediate cmd for SIG_IGN
* signal.c (trap_handler): set cmd to true for SIG_IGN
* signal.c (trap): handle nil and true values for oldcmd
[Bug #9835]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4...
Eric Wong

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:
> ...
Not sure I follow—the Info.plist was in a separate directory from where I'm configuring ruby. It hadn't caused any problems with other software's configure scripts.
pje (patrick ellis)
04:17 PM Revision 9e9fcfee (git): Use Tempfile#close!.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
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:05 PM Revision 7ebed66e (git): merge revision(s) r45604: [Backport #9748]
* lib/fileutils.rb (FileUtils#copy_entry): update rdoc about
preserve option and permissions, following r31123.
[ruby-core:62065] [Bug #9748]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46192 b2dd0...
nagachika (Tomoyuki Chikanaga)
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)
04:03 PM Revision 592c6ba3 (git): * lib/tempfile.rb (Tempfile#inspect): Show "(closed)" if the tempfile
is closed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:03 PM Revision 69eab699 (git): merge revision(s) r45179,r45564,r45565,r45584,r45585: [Backport #9721]
envutil.rb: move labeled_module and labeled_class
* test/ruby/envutil.rb (labeled_module, labeled_class): move from
test/ruby/test_module.rb.
* proc.c (rb_method_call_with_block, umethod_bind): call with
ICla...
nagachika (Tomoyuki Chikanaga)
03:49 PM Revision 9b612d38 (git): * test/lib/minitest/unit.rb: Use Tempfile#close! instead of
Tempfile#unlink to close file descriptors.
* test/openssl/test_config.rb: Ditto.
* test/ruby/test_io.rb: Ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
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..400dda0 100644
--- a/ext/bigdecimal/bigdecimal.c
+++ b/ext/bigdecimal/bigdecimal.c
@@ -3911,6 +3911,7 @@ VpAlloc(size_t m...
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:44 PM Revision 41fd33e5 (git): merge revision(s) r45562: [Backport #9727]
* array.c (ary_reject): may be turned into a shared array during
the given block. [ruby-dev:48101] [Bug #9727]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
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:36 PM Revision cd0a89b0 (git): merge revision(s) r45534: [Backport #9709]
* string.c (str_buf_cat): should round up the capacity by 4KiB,
but not number of rooms. [ruby-core:61886] [Bug #9709]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
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:26 PM Revision 90929108 (git): merge revision(s) r45529: [Backport #8182]
* lib/xmlrpc/client.rb (do_rpc): don't check body length.
If HTTP content-encoding is used, the length may be different.
[Bug #8182] [ruby-core:53811]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46...
nagachika (Tomoyuki Chikanaga)
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:19 PM Revision 1c9a3e6e (git): merge revision(s) r45520: [Backport #9706]
* ext/date/date_core.c (d_lite_cmp): should compare with #<.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@46185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:15 PM Revision 36276b6f (git): Avoid a shadowing warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:15 PM Revision dc4fa2f2 (git): * 2014-05-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:14 PM Revision 569ca78e (git): * lib/net/ftp.rb (transfercmd): Close TCP server socket even if an
exception occur.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
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 we could invoke `else` part when we define our own `each`-like method?
Matz.
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
end
else
do_something_else
end
I was thinking if it was possible, to introduce syntax like this:
...
Killa (Łukasz Strzebińczyk)
03:01 PM Feature #9857: Pathname#birthtime
いいんじゃないでしょうか。
pathnameのメンテナはakrさんでしたっけ?
naruse (Yui NARUSE)
02:51 PM Revision c968f908 (git): * lib/cgi/core.rb: Use Tempfile#close(true) instead of Tempfile#unlink
to close file descriptors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
02:43 PM Revision 9ee98ff7 (git): parallel.rb: do not split messages
* test/lib/test/unit/parallel.rb (Test::Unit::Worker#_run_suite):
get rid of splitting leak checking messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:06 PM Revision fe780f29 (git): parse.y: refine error message
* parse.y (parser_number_literal_suffix): refine error message for
extra dot and digits.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:45 PM Revision 3356c312 (git): * test/rexml: Avoid fd leaks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:24 PM Revision 3c908895 (git): * test/rexml/test_document.rb: Indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
01:15 PM Revision 875f0715 (git): * test/rexml/test_document.rb: Wrap by REXMLTests module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
01:12 PM Revision cb50e15e (git): * test/rexml/test_encoding_2.rb: Remove a needless file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
01:10 PM Revision ba3d2f4a (git): * test/rexml/test_contrib.rb: Indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
12:29 PM Revision 313fa180 (git): * ext/socket/ifaddr.c (ifaddr_inspect_flags): support IFF_SIMPLEX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:29 PM Revision c3ebc828 (git): use Socket.getifaddrs to show interface names and so on
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e 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 start with a simple implementation and make it more complicated if additional performance is really needed.
If .to_a.join...
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 array only for calling Array#join.
> ...
I tried some very simple cases, and didn't see much of a difference. It's often...
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 Array#join.
It wouldn't be worth having it unless it went something like this: inject(nil) { |s, o| s.nil? ? "#{o}" : s...
knu (Akinori MUSHA)
03:30 AM Feature #7226 (Assigned): Add Set#join method as a shortcut for to_a.join
nobu (Nobuyoshi Nakada)
12:07 PM Revision 28e78bf7 (git): * test/rexml/: Use REXMLTests as wrapping module for REXML tests.
I avoid using the same module for library in test because
it provides "include REXML" environment in test. Normally,
users don't use REXML on "include REXML" environment. So I
don't want to write tests on "include REXML" environmen...
Sutou Kouhei
12:01 PM Revision effcb9a7 (git): * test/rexml/test_comment.rb: Remove needless REXML module wrapping.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
11:57 AM Revision bef1b7f1 (git): * test/openssl/test_pkcs7.rb: Fix inverted expected and actual values.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
11:28 AM Revision f32a843f (git): * test/ruby/test_io.rb (test_flush_in_finalizer1): some opened fds are
remain before GC, so unlink the tempfile is failed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46168 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
10:34 AM Revision abd92f0d (git): * tool/merger.rb: unlink temporary file explicitly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
10:21 AM Revision 13a8d735 (git): Wrap REXML test classes by REXML module.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
10:09 AM Revision 1c35277c (git): * io.c (rb_io_autoclose_p): Don't raise on frozen IO.
* test/lib/minitest/unit.rb: IO#autoclose? may raise IOError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
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 partial sysreads. [Bug #7398][ruby-core:49563]
* test/openssl/test_ssl.rb: ditto.
hsbt (Hiroshi SHIBATA)
10:03 AM Revision 6eb8acae (git): * test/openssl/test_pair.rb: Modify TestSSL#test_read_and_write
to handle partial sysreads. [Bug #7398][ruby-core:49563]
* test/openssl/test_ssl.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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/path/test/openssl/test_certificate.rb:72]:
<"keyid:80:14:24:D1:34:18:66:91:2A:63:76:AA:19:CE:17:20:56:56:5E:10:8F:AA"> ...
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.
[Feature #7399][ruby-core:49565]
hsbt (Hiroshi SHIBATA)
09:48 AM Revision 08e9b7d6 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:48 AM Revision bab55ed3 (git): * test/openssl/test_pkcs7.rb: Add tests for PKCS7#type= and add_data.
[Feature #7399][ruby-core:49565]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 signing with UTF-8 String. [Bug #7512][ruby-core:50559]
hsbt (Hiroshi SHIBATA)
09:33 AM Revision 64826fa7 (git): * test/openssl/test_hmac.rb (test_binary_update): Added Test for
HMAC signing with UTF-8 String. [Bug #7512][ruby-core:50559]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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:34 AM Revision ecd452a8 (git): * test/runner.rb: fixed randomly test failure.
[Bug #6573][ruby-core:45563]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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)
08:00 AM Revision 563ee011 (git): * test/test_timeout.rb (test_timeout): inverted test condition.
[Bug #8523]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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:58 AM Revision e63338f6 (git): merge revision(s) 45604: [Backport #9748]
* lib/fileutils.rb (FileUtils#copy_entry): update rdoc about
preserve option and permissions, following r31123.
[ruby-core:62065] [Bug #9748]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46158 b2d...
U.Nakamura
04:54 AM Revision 309ac644 (git): merge revision(s) 45564,45565,45584,45585: [Backport #9721]
* proc.c (rb_method_call_with_block, umethod_bind): call with
IClass including the module for a module instance method.
[ruby-core:61936] [Bug #9721]
* vm_insnhelper.c (vm_search_super_method): allow bound
...
U.Nakamura
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:24 AM Revision dbd239a7 (git): * test/lib/minitest/unit.rb: Show leaked file descriptors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
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 applications need more than 2**32 different symbols?
That scares me :*(
How much memory do your Ruby processes use?

The...
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 want to use full 64-bit capacity. ngoto (Naohisa Goto)
02:52 AM Revision 05ebc662 (git): merge revision(s) 45562: [Backport #9727]
* array.c (ary_reject): may be turned into a shared array during
the given block. [ruby-dev:48101] [Bug #9727]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:48 AM Revision 77443b28 (git): merge revision(s) 45534: [Backport #9709]
* string.c (str_buf_cat): should round up the capacity by 4KiB,
but not number of rooms. [ruby-core:61886] [Bug #9709]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
02:46 AM Revision 4f3f77b9 (git): merge revision(s) 45529: [Backport #8182]
* lib/xmlrpc/client.rb (do_rpc): don't check body length.
If HTTP content-encoding is used, the length may be different.
[Bug #8182] [ruby-core:53811]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@...
U.Nakamura
02:23 AM Revision 6eda5562 (git): merge revision(s) 45520: [Backport #9706]
* ext/date/date_core.c (d_lite_cmp): should compare with #<.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@46152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
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-modification does not
error on frozen IO. [ruby-dev:48241] [Bug #9865]
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("."); f.freeze; p f'
-e:1:in `inspect': can't modify frozen File (RuntimeError)
from -e:1:in `p'
from -e:1:i...
akr (Akira Tanaka)
02:12 AM Revision 2e5d6985 (git): io.c: no error on frozen IO
* io.c (rb_io_fileno, rb_io_inspect): non-modification does not
error on frozen IO. [ruby-dev:48241] [Bug #9865]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
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

03:00 PM Revision bfd63b28 (git): * 2014-05-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision b90450d3 (git): insns.def: fix typo
* insns.def (defineclass): fix typo in the instruction comment.
[fix GH-618]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:45 PM Revision bef7ff9c (git): Use Tempfile.create instead of Tempfile.new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:36 PM Revision 42c7b5f0 (git): test/unit.rb: reduce error messages
* test/lib/test/unit.rb (non_options): reduce same error messages.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:36 PM Revision 76e37aa6 (git): ext_conf_builder.rb: fix tempfile leak
* lib/rubygems/ext/ext_conf_builder.rb (build): ensure to remove
temporary siteconf script.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:36 PM Revision 9d630784 (git): test/rdoc: avoid tempfile leaks
* test/rubygems/test_gem_package.rb: avoid tempfile leaks by using
`Tempfile.create` instead of `Tempfile.open`.
* test/rubygems/test_gem_request_set.rb: ditto.
* test/rubygems/test_gem_request_set_gem_dependency_api.rb: ditto.
git-sv...
nobu (Nobuyoshi Nakada)
02:36 PM Revision f14b11f2 (git): test/rubygems: remove tempfiles
* test/rubygems/test_gem_package_tar_header.rb: remove tempfiles.
* test/rubygems/test_gem_package_tar_reader.rb: ditto.
* test/rubygems/test_gem_package_tar_reader_entry.rb (teardown):
ditto.
* test/rubygems/test_gem_package_tar_write...
nobu (Nobuyoshi Nakada)
01:33 PM Revision c11f98ed (git): test/rdoc: avoid tempfile leaks
* test/rdoc/test_rdoc_parser.rb (test_class_for_forbidden): avoid
tempfile leaks by using `Tempfile.create` instead of
`Tempfile.open`.
* test/rdoc/test_rdoc_rd_block_parser.rb (test_parse_include_subtree):
ditto.
* test/rdoc/test_...
nobu (Nobuyoshi Nakada)
01:33 PM Revision 164fb033 (git): test/rdoc: remove tempfiles
* test/rdoc/test_rdoc_encoding.rb (teardown): remove tempfiles.
* test/rdoc/test_rdoc_markup_pre_process.rb (teardown): ditto.
* test/rdoc/test_rdoc_parser_c.rb (teardown): ditto.
* test/rdoc/test_rdoc_parser_changelog.rb (teardown): dit...
nobu (Nobuyoshi Nakada)
01:17 PM Revision 17f3a167 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:59 PM Revision 25ccc468 (git): test_rinda.rb: revert stop_service
* test/rinda/test_rinda.rb (test_take_bug_8215): revert
`stop_service` for the time being. need to reset
`current_server` to let test/drb work, probably.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46140 b2dd03c8-39d4-4d8f-98...
nobu (Nobuyoshi Nakada)
08:40 AM Revision 6112d541 (git): test_rinda.rb: fix leaked threads
* test/rinda/test_rinda.rb: join work threads not to leak threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:04 AM Revision 72c4c9ed (git): test_monitor.rb: fix leaked threads
* test/monitor/test_monitor.rb (test_killed_thread_in_synchronize):
join work threads not to leak threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:38 AM Revision 93fc0591 (git): thread.c: inspect location
* thread.c (rb_thread_inspect): show the location of the block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:34 AM Revision 075ca923 (git): * test/ruby/test_file.rb: skip the test of atime on Windows, because
Windows delays updating atime about 1 hour.
see more details:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms724290%28v=vs.85%29.aspx
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46136 b2dd03c8-39d4-4d8f-98ff-823f...
U.Nakamura
07:00 AM Revision 2c23bf74 (git): thread.c: preserve encoding
* thread.c (rb_thread_inspect): preserve encoding of the class
name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
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)
05:38 AM Revision fe8a3074 (git): test_imap.rb: fix leaked threads
* test/net/imap/test_imap.rb (imaps_test): join work threads not
to leak threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:38 AM Revision 3041f728 (git): test_http.rb: fix leaked threads
* test/net/http/test_http.rb (test_timeout_during_HTTP_session):
join work threads not to leak threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:38 AM Revision 6fb6491c (git): test/ruby: fix leaked threads
* test/thread/test_backtrace.rb: join work threads not to leak
threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:13 AM Revision 72dce44d (git): test/ruby: fix leaked threads
* test/thread/test_{backtrace,beginendblock,proc,threadgroup}.rb:
join work threads not to leak threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:01 AM Revision 501afa01 (git): test/thread: fix leaked threads
* test/thread/test_{queue,sync}.rb: join work threads not to leak
threads.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:35 AM Revision 00f78058 (git): pty.c: do nothing if terminated already
* ext/pty/pty.c (pty_detach_process): if the child process has
terminated already, return immediately without starting a thread
to detach it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:03 AM Revision fba33acc (git): win32/Makefile.sub: copy enc/jis/props.h
* win32/Makefile.sub (enc/jis/props.h): nmake needs special rule
to copy from the source directory, because it can't handle VPATH.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:42 AM Revision fd372dc8 (git): minitest/unit.rb: fix leaking tempfile
* test/lib/minitest/unit.rb (capture_subprocess_io): opened files
can not be unlinked on Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
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): aliases.
[ruby-core:62751] [Feature #9864]
nobu (Nobuyoshi Nakada)
03:25 AM Revision eecf8b71 (git): lib/optionparser.rb
* lib/optionparser.rb, lib/optparse.rb (OptParse): aliases.
[ruby-core:62751] [Feature #9864]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:58 AM Revision ae3022e4 (git): test_features.rb: fix up r46123
* test/csv/test_features.rb: no longer `nil` is valid data source
for `CSV.new`. [GH-580]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom