Project

General

Profile

Activity

From 03/26/2016 to 04/01/2016

04/01/2016

08:20 PM Bug #12243 (Closed): Segmentation fault at 0x0000000000001c
/Users/fero46/.rvm/gems/ruby-2.2.3/gems/activerecord-4.2.6/lib/active_record/relation/query_methods.rb:574: [BUG] Segmentation fault at 0x0000000000001c
(snip bug-12243.log)
terminated by SIGIOT
------------------------ AND THE DU...
fero46 (Ferhat Ziba)
05:08 PM Revision 03228aab (git): merge revision(s) 53722: [Backport #12232]
* ext/ripper/lib/ripper/lexer.rb (on_heredoc_dedent): Fix
Ripper.lex error in dedenting squiggly heredoc. heredoc tree is
also an array of Elem in the outer tree. [Fix GH-1234]
git-svn-id: svn+ssh://ci.ruby-lang.o...
naruse (Yui NARUSE)
02:42 PM Feature #12242: Is it worth adding collision probability of SecureRandom functions in RubyDoc?
You mean you suggest to have the documentation better?
The UI can be a bit confusing I agree, I'd like to have a separate tracker for documentation, since docu is definitely not a "bug", but also not 100% a real "feature" (since the l...
shevegen (Robert A. Heiler)
01:16 PM Feature #12242: Is it worth adding collision probability of SecureRandom functions in RubyDoc?
Apologies if I opened this in a wrong format. I'm pretty new to redmine tracker, and unfamiliar with the UI :(
kgrz (Kashyap K)
09:46 AM Feature #12242 (Feedback): Is it worth adding collision probability of SecureRandom functions in RubyDoc?
Is it feasible and/or even useful to document the probability of
collisions for the various random number generation methods in the
SecureRandom module?
I feel having a note to read about the possibility of collisions
happening for...
kgrz (Kashyap K)
02:39 PM Feature #12241: super end
You almost got me with this one!
Also see the "endddd" suggestion. :)
Edit: Or perhaps "FINAL_END"
shevegen (Robert A. Heiler)
06:32 AM Feature #12241: super end
Nobuyoshi Nakada wrote:
> This proposal will introduce "super end", `!end`, which ends the block began at the same column with `!`.
I think this should be end!, to look like a Ruby method name :-).
duerst (Martin Dürst)
06:18 AM Feature #12241 (Rejected): super end
This is a refinement of [Feature #5054].
It required to count the depth of count to end, and tiresome.
This proposal will introduce "super end", `!end`, which ends the block began at the same column with `!`.
~~~ruby
module MyM...
nobu (Nobuyoshi Nakada)
01:00 PM Revision 3e0512bd (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:58 AM Revision 5e9d33ad (git): * enc/unicode/case-folding.rb, casefold.h: Data generation to implement
swapcase functionality for titlecase characters. Swapcase isn't defined
by Unicode, because the purpose/usage of swapcase is unclear anyway.
The implementation follows a proposal from Nobu, swaping the case of
each component of a t...
duerst (Martin Dürst)
10:49 AM Feature #12225: Remove inline assemblers and always enables USE_MACHINE_REGS
One more result of mswin64 (Visual C++ 2013):
```
Speedup ratio: compare with the result of `ruby 2.4.0dev (2016-04-01 trunk 54468) [x64-mswin64_120]' (greater is better)
name built-ruby
loop_whileloop 1.058
vm1_attr_ivar...
usa (Usaku NAKAMURA)
10:04 AM Feature #12225: Remove inline assemblers and always enables USE_MACHINE_REGS
mswin64 result:
```
Speedup ratio: compare with the result of `ruby 2.4.0dev (2016-04-01 trunk 54468) [x64-mswin64_100]' (greater is better)
name built-ruby
loop_whileloop 0.880
vm1_attr_ivar* 0.995
vm1_attr_ivar...
usa (Usaku NAKAMURA)
07:13 AM Feature #12142: Hash tables with open addressing
> average improvement on MRI hash benchmarks is close to 40% on Intel Haswell and >55% on ARMv7
What about realworld applications like Redmine?
funny_falcon (Yura Sokolov)
03:41 AM Feature #12142: Hash tables with open addressing
Eric Wong wrote:
> vmakarov@redhat.com wrote:
> ...
Thank you for sharing this. I am still working on the hash tables when I have spare time.
I already implemented variable indexes (8-, 16-, 32-, 64-bits). It gave about 3% average...
vmakarov (Vladimir Makarov)
06:51 AM Feature #12240: circle number arguments
On 2016/04/01 15:10, nobu@ruby-lang.org wrote:

> ~~~ruby
> [[1, 2], [3, 4]].map {①+②}
> ~~~
>
> `①`..`⑳` denote the arguments upto 20.

I admire your modesty. Unicode's circled numbers go up to 50 (see
http://www.unicode.org/...
duerst (Martin Dürst)
06:10 AM Feature #12240 (Rejected): circle number arguments
Often improvements about implicit block argument have been proposed, but in vain.
Such as:
~~~ruby
[[1, 2], [3, 4]].map {|a1, a2| a1+a2} #=> [3, 7]
~~~
to
~~~ruby
[[1, 2], [3, 4]].map {_1+_2}
~~~
Now, we (ko1 and nobu) f...
nobu (Nobuyoshi Nakada)
05:55 AM Bug #12239 (Closed): configure script does not detect Git when in a working tree with non-directory .git
Applied in changeset r54468.
----------
improve git repository detection
* configure.in (AC_CONFIG_FILES): $srcdir/.git can be a file pointing
the real git_dir, such as when the git working tree is a "linked
working tree" (a workin...
nobu (Nobuyoshi Nakada)
04:30 AM Bug #12239 (Closed): configure script does not detect Git when in a working tree with non-directory .git
`make up` doesn't work well on a Git working tree created by `git-worktree add`.
~~~sh
% git clone https://github.com/ruby/ruby.git ruby-src
% cd ruby-src
% git worktree add -f test-tree trunk
% cd test-tree
% autoconf && ./confi...
rhenium (Kazuki Yamaguchi)
05:55 AM Revision 69d6e315 (git): improve git repository detection
* configure.in (AC_CONFIG_FILES): $srcdir/.git can be a file pointing
the real git_dir, such as when the git working tree is a "linked
working tree" (a working tree created by git-worktree). So use
git-rev-parse --git-dir to check ...
nobu (Nobuyoshi Nakada)
05:30 AM Bug #12238: Logger writes progname if log message is nil
Seems intended,
> Logger#add(severity, message = nil, progname = nil) { ... }
> ...
but maybe a bug.
```diff
diff --git a/lib/logger.rb b/lib/logger.rb
index 8393806..9a05518 100644
--- a/lib/logger.rb
+++ b/lib/logger.rb
@@ ...
nobu (Nobuyoshi Nakada)
03:27 AM Revision 34c0c840 (git): * tool/release.sh: BRE accepts \{m,\} expression. use it for future many-digits
version numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura

03/31/2016

08:33 PM Bug #12126 (Closed): [PATCH] openssl: accept moving write buffer for write_nonblock
Applied in changeset r54466.
----------
openssl: accept moving write buffer for write_nonblock
By setting the SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER flag.
This flag was introduced at the same time as
SSL_MODE_ENABLE_PARTIAL_WRITE in OpenS...
Anonymous
08:33 PM Revision 280f7322 (git): openssl: accept moving write buffer for write_nonblock
By setting the SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER flag.
This flag was introduced at the same time as
SSL_MODE_ENABLE_PARTIAL_WRITE in OpenSSL 0.9.4 and makes usage
with non-blocking sockets much easier.
Before this, a Rubyist would nee...
Eric Wong
07:32 PM Feature #12142: Hash tables with open addressing
vmakarov@redhat.com wrote:
> I think I'll have a few patches when I am done with the hash
> tables: the hash table itself, hash functions, code for
> recognizing a denial attack and switching to stronger hash
> functions. I am not ...
normalperson (Eric Wong)
07:13 PM Bug #12238 (Rejected): Logger writes progname if log message is nil
Please consider the following example:
``` ruby
logger = Logger.new($stdout)
# Log message is nil
logger.info
# I, [2016-03-31T22:04:36.684636 #4019] INFO -- : nil
logger.progname = 'prog'
# Now log message is changed to ...
Soilent (Konstantin x)
06:26 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Yusuke Endoh wrote:
> Then, you want `Coverage.result` to remove all arrays from the Hash once, keep them in back, and automatically restore an array when the corresponding code is executed?
I am not sure what you mean by "keep them ...
sawa (Tsuyoshi Sawada)
06:11 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Then, you want `Coverage.result` to remove all arrays from the Hash once, keep them in back, and automatically restore an array when the corresponding code is executed? This is the third idea to make it "intuitive" that I thought of but... mame (Yusuke Endoh)
06:00 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Yusuke Endoh wrote:
> I'm unsure what behavior you expect. Do you mean that it should pass the following two tests?
I expect the second `Coverage.result` to return:
~~~RUBY
{"/tmp/test.rb" => [0, 1, nil]}
~~~
In other words,...
sawa (Tsuyoshi Sawada)
05:49 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
I'm unsure what behavior you expect. Do you mean that it should pass the following two tests?
~~~~
Coverage.start
require tmp + '/test.rb'
Coverage.result
Coverage.start
assert_equal {}, Coverage.result
~~~~
~~~~
Coverage.s...
mame (Yusuke Endoh)
05:35 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Yusuke Endoh wrote:
> It was actually intentional. Please read the test case of #4796.
> ...
That is because the method `coverage_test_method` actually executes some lines in `"/tmp/test.rb"`, and so the corresponding array should not...
sawa (Tsuyoshi Sawada)
05:14 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Benoit Daloze wrote:
> Tsuyoshi Sawada wrote:
> ...
It was actually intentional. Please read the test case of #4796.
~~~~
Coverage.start
require tmp + '/test.rb'
Coverage.result
Coverage.start
...
mame (Yusuke Endoh)
04:50 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Tsuyoshi Sawada wrote:
> So, was it or was it not a bug that it returns empty arrays?
I consider it a bug in that it seems to be unintentional and it is just a side-effect of the implementation to disable coverage when reset.
I at...
Eregon (Benoit Daloze)
04:35 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
So, was it or was it not a bug that it returns empty arrays? sawa (Tsuyoshi Sawada)
01:37 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
After looking into this, I discovered a bug!
And I also found the reason why it's returning empty arrays: it is leaking implementation details.
It is however easy to fix but let's start with fixing the bug first.
Eregon (Benoit Daloze)
05:21 PM Feature #12236: Introduce `mmap` managed heap
ko1@atdot.net wrote:
> * We need to manage x4 more pages. We need to avoid O(n) (n:
> page number) operations from the GC process.

I think we can use ccan/list with O(1) insert/delete without
iterations instead of relying on f...
normalperson (Eric Wong)
11:17 AM Feature #12236 (Rejected): Introduce `mmap` managed heap
# Abstract
I propose `mmap` (or similar API on Windows) managed heap.
Now, each heap pages are allocated by posix_memalign(), 16KB for each pages.
I wrote a patch to manage heap pages allocated by bulk `mmap` (256MB),
and provide...
ko1 (Koichi Sasada)
04:14 PM Bug #12237 (Closed): Coverage keeps tracking counts even after Coverage.result
Applied in changeset r54465.
----------
* thread.c (update_coverage): Do not track coverage in loaded files
after Coverage.result. Avoids out-of-bounds access. [Bug #12237]
* ext/coverage/coverage.c (coverage_clear_result_i): document.
Eregon (Benoit Daloze)
03:59 PM Bug #12237: Coverage keeps tracking counts even after Coverage.result
Benoit Daloze wrote:
> Can I commit the fix in thread.c?
Sure, thank you very much!
--
Yusuke Endoh <mame@ruby-lang.org>
mame (Yusuke Endoh)
01:59 PM Bug #12237: Coverage keeps tracking counts even after Coverage.result
Attached proposed fixing patch. Eregon (Benoit Daloze)
01:52 PM Bug #12237 (Closed): Coverage keeps tracking counts even after Coverage.result
While looking at #12220, I found a bug.
Attached is a patch that reveals it.
Running
$ make test-all TESTS="test/coverage -n /test_restarting_coverage/"
gives
[1/1] TestCoverage#test_restarting_coverage
Updating cov for /tmp/d201...
Eregon (Benoit Daloze)
04:14 PM Revision 8dd24358 (git): * thread.c (update_coverage): Do not track coverage in loaded files
after Coverage.result. Avoids out-of-bounds access. [Bug #12237]
* ext/coverage/coverage.c (coverage_clear_result_i): document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Eregon (Benoit Daloze)
03:42 PM Revision 674725f1 (git): * test/rubygems/test_gem_commands_environment_command.rb (test_execute):
version number may be two-digit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
03:26 PM Feature #6647: Exceptions raised in threads should be logged
Akira Tanaka wrote:
> In the yesterday's meeting,
> ...
I am strongly in favor of having something like Thread#report_on_exception, defaulting to true.
If a Thread can support known exceptions, it can rescue them explicitly.
If a Thr...
Eregon (Benoit Daloze)
03:13 PM Revision f0060b81 (git): * tool/release.sh: two-digit version number support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:04 PM Revision 69eee71c (git): * 2016-04-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:04 PM Revision a517e6f9 (git): * tool/merger.rb (version): version number may be two-digit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:02 PM Revision 03a4a200 (git): * version.h: commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:01 PM Revision ed3dedae (git): * version.h: bump to 2.1.10. welcome to two-digit version!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
12:46 PM Revision c55bcb9c (git): gc.c: use PRIdSIZE
* gc.c (heap_extend_pages): fix format specifiers for size_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
10:16 AM Revision 5951bbec (git): * gc.c: need to set initial value of GC_HEAP_FREE_SLOTS_GOAL_RATIO.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
09:53 AM Bug #12235 (Closed): URI.encode issue with square brackets
URI::Encode doesn't correctly handle square brackets in the path of a URL:
> URI.encode('http://example.com/resource[1].doc')
=> "http://example.com/resource[1].doc"
It should return "http://example.com/resource%5B1%5D.doc...
lucaspiller (Luca Spiller)
09:16 AM Revision 867693fe (git): * gc.c: change additional allocation policy.
Introduce new environement variable
GC_HEAP_FREE_SLOTS_GOAL_RATIO (goal_ratio) to calculate the ratio
of additional memory.
Before this change, we add pages with the following formula
(when free_slots < total_pages * RUBY_GC_HEA...
ko1 (Koichi Sasada)
09:14 AM Feature #12222: Introducing basic statistics methods for Enumerable (and optimized implementation for Array)
Martin Dürst wrote:
> Benoit Daloze wrote:
> ...
That's my point. Enumerable methods should work on any collection implementing #each.
Not only on #each returning a numeric-type or sth with a #+/#- method (and then the result of #- sh...
Eregon (Benoit Daloze)
05:23 AM Feature #12222: Introducing basic statistics methods for Enumerable (and optimized implementation for Array)
Benoit Daloze wrote:
> It seems to me Enumerable is not the right place for this, because it expects more than just #each.
The code is currently written in terms of #length and #[], but this can easily be fixed to use #each.
> ......
duerst (Martin Dürst)
08:49 AM Revision 9bb740d2 (git): * gc.c (gc_marks_finish): fix syntax error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
08:21 AM Revision 49369ef1 (git): * gc.c: simplify allocate/free detecting logic at the end of marking.
Before this change, heap_pages_min_slots are calculated at the
beggining sweeping phase. And this value is used at the end of
*next* marking phase.
To simplify it, we use this value at the end of this marking phase.
It means tha...
ko1 (Koichi Sasada)
07:45 AM Revision 555f6cb0 (git): * gc.c: add GC parameters to configure the following values:
* RUBY_GC_HEAP_FREE_SLOTS_MIN_RATIO:
allocate additional pages when free slots is lower than
the value (total_slots * (this ratio)).
* RUBY_GC_HEAP_FREE_SLOTS_MAX_RATIO:
allow to free pages when free slots is greater thatn
...
ko1 (Koichi Sasada)
07:02 AM Bug #12234 (Rejected): Kernel#exec with a command array broken on Windows as of Ruby 2.2.4
It's wrong code.
The second argument must be '/C'.
```ruby
exec(['cmd.exe', '/C'], '/C', 'echo', 'argv_zero')
```
nobu (Nobuyoshi Nakada)
05:07 AM Bug #12234 (Rejected): Kernel#exec with a command array broken on Windows as of Ruby 2.2.4
On Ruby 2.0.0 this worked as expected:
```
C:\Users\Administrator\GitHub\spec>ruby -ve "exec(['cmd.exe', '/C'], 'echo', 'argv_zero')"
ruby 2.0.0p247 (2013-06-27) [i386-mingw32]
argv_zero
```
On Ruby 2.2.4 it is broken - it seems ...
vais (Vais Salikhov)
07:02 AM Revision fb296fe6 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:02 AM Revision 9a008c58 (git): * gc.c (gc_verify_heap_page): check the number of zombies.
* gc.c (gc_verify_heap_pages): check also tomb heap.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:51 AM Revision f46b5bcf (git): * gc.c (gc_page_sweep): return free slots count.
* gc.c (gc_sweep_step): use returned free slots count.
* gc.c (gc_sweep_step): change variable name `next'
to `next_sweep_page'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
03:02 AM Revision 7d5b9cd3 (git): complex.c: pure declarations
* complex.c (get_dat1, get_dat2): turn into pure variable
declarations only, not mixed code and declarations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:33 AM Revision add0ae51 (git): date_core.c: fix indent
* ext/date/date_core.c (d_lite_strftime, dt_lite_strftime): [DOC]
fix indent not to be a big sole verbatim.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:18 AM Bug #12233 (Closed): Please consider adding documentation to DateTime, one line, require 'date'
Applied in changeset r54444.
----------
date_core.c: fix DateTime rdoc
* ext/date/date_core.c (Init_date_core): [DOC] fix misplaced doc
of DateTime. [ruby-core:74729] [Bug #12233]
nobu (Nobuyoshi Nakada)
02:18 AM Revision f85ff1ed (git): date_core.c: fix DateTime rdoc
* ext/date/date_core.c (Init_date_core): [DOC] fix misplaced doc
of DateTime. [ruby-core:74729] [Bug #12233]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:25 AM Bug #12232 (Closed): Ripper.lex can't parse 2.3-style heredoc
Fixed at r53722. nobu (Nobuyoshi Nakada)

03/30/2016

08:16 PM Bug #12223: Backport r54304 (SEGV in rb_str_format())
Backported into `ruby_2_2` branch at r54443. nagachika (Tomoyuki Chikanaga)
08:16 PM Revision 8f93c59e (git): merge revision(s) 54304: [Backport #12223]
* sprintf.c (rb_str_format): fix buffer overflow, length must be
greater than precision. reported by William Bowling <will AT
wbowling.info>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54443 b2dd...
nagachika (Tomoyuki Chikanaga)
08:04 PM Bug #11852: test_io.rb fails when maxproc < 1024
Backported into `ruby_2_2` branch at r54442. nagachika (Tomoyuki Chikanaga)
09:45 AM Bug #11852: test_io.rb fails when maxproc < 1024
ruby_2_1 r54436 merged revision(s) 53227. usa (Usaku NAKAMURA)
08:04 PM Revision f608b6f2 (git): merge revision(s) 53227: [Backport #11852]
* test/ruby/test_io.rb: handled rlimit value same as r52277
[Bug #11852][ruby-dev:49446]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
06:41 PM Revision 639679fe (git): * 2016-03-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:41 PM Revision 07d1ba77 (git): * ext/nkf/nkf-utf8/nkf.c: Merge upstream 69f7e74dde.
fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:52 PM Bug #12233 (Closed): Please consider adding documentation to DateTime, one line, require 'date'
The ruby DateTime page does not include this line:
require 'date'
It just happened on IRC right now (I edited/truncated a bit here):
<schemanic> Can anyone tell me why in irb Date/Time/DateTime gives me NameError: uniniti...
shevegen (Robert A. Heiler)
04:26 PM Bug #12232 (Closed): Ripper.lex can't parse 2.3-style heredoc
~~~ruby
require "ripper"
Ripper.lex("<<~HEREDOC\nHEREDOC")
# => NoMethodError: undefined method `event' for #<Array:0x007fc25c07d598>
# from /Users/rwz/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/ripper/lexer.rb:70:in `block in on...
rwz (Pavel Pravosud)
01:14 PM Revision 028f3801 (git): parse.y: get rid of ISASCII on ID
* parse.y (ripper_id2sym): do not call ISASCII() on ID, rb_isascii
is restricted to int now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:02 PM Revision 828270af (git): st.c: fix collision statistics [ci skip]
* st.c (stat_col): get rid of NaN.
* st.c (collision_check): define before used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:49 PM Feature #12226: Dir.home with valid named user raises ArgumentError on Windows
Windows seems not providing the way to know another user's home path without authentication. nobu (Nobuyoshi Nakada)
09:45 AM Bug #12231 (Rejected): Kernel#system should not expand shell variables when given multiples arguments, but on Windows it does
```
C:\Users\Administrator>C:\Ruby\ruby-2.2.4-i386-mingw32\bin\ruby.exe -ve "ENV['TEST_SH_EXPANSION'] = 'foo'; p system('echo', '%TEST_SH_EXPANSION%')"
ruby 2.2.4p230 (2015-12-16 revision 53155) [i386-mingw32]
foo
true
```
vais (Vais Salikhov)
09:45 AM Revision ee1a6851 (git): merge revision(s) 53227: [Backport #11852]
* test/ruby/test_io.rb: handled rlimit value same as r52277
[Bug #11852][ruby-dev:49446]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
09:23 AM Bug #11900: broken encoding of commandline on Windows
Usaku NAKAMURA wrote:
> しかしこれだと-Uでも同等の効果が得られるわけですが、それが正しいのかどうか……。
> ...
-U は -e で与えたソースのエンコーディングにも影響するはずなので、通常SJISな-eソースも、-Uが与えられていればUTF-8になるはずですね。
なお、現在のパッチだと-Ksを指定した場合には壊れたままになる気がするので、そこも直す必要があります。
naruse (Yui NARUSE)
09:04 AM Bug #12230 (Closed): Wrong exception raised when IO.read from a pipe is passed an offset on Windows
When IO.read from a pipe is passed an offset, the expected exception is Errno::ESPIPE, but on Windows Invalid argument (Errno::EINVAL) is raised instead:
```
C:\Users\Administrator\Desktop>C:\Ruby\ruby-2.2.4-i386-mingw32\bin\ruby.exe...
vais (Vais Salikhov)
08:21 AM Revision 2f6821a7 (git): hash.c: init table with size
* hash.c (rb_hash_s_create): allocate internal table with the
given size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
08:05 AM Bug #12123: FileUtils.ln_s create a '.symlink' file not a symbolic link on windows
```
# Running tests:
[ 4411/15571] TestFileExhaustive#test_realpath_mount_point参数错误。
拒绝访问。
[ 4465/15571] TestFileUtils#test_cp_r_symlink = 0.02 s
1) Error:
TestFileUtils#test_cp_r_symlink:
Errno::ENOTDIR: Not a directory @ dir...
personnel (Am I Who)
07:33 AM Bug #12228 (Closed): [DOC] Fix errors in doc/extension*.rdoc
Applied in changeset r54434.
----------
extension*.rdoc: fix errors [ci skip]
* extension.rdoc, extension.ja.rdoc: [DOC] Fix some errors.
Renamed files, wrong method names or argument types; the example
GetDBM macro is now updated ...
nobu (Nobuyoshi Nakada)
07:33 AM Revision c15acbba (git): extension*.rdoc: fix errors [ci skip]
* extension.rdoc, extension.ja.rdoc: [DOC] Fix some errors.
Renamed files, wrong method names or argument types; the example
GetDBM macro is now updated to the current version of the actual
code. patch by Marcus Stollsteimer in [r...
nobu (Nobuyoshi Nakada)
01:27 AM Revision f2cfd895 (git): rational.c: pure declarations
* rational.c (get_dat1, get_dat2): turn into pure variable
declarations only, not mixed code and declarations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:46 AM Revision e79d163c (git): * lib/open-uri.rb: Use `userinfo` for authenticated proxy.
[fix GH-1148] Patch by @SokichiFujita
* test/open-uri/test_open-uri.rb: ditto.
[fix GH-1309] Patch by @jdamick
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

03/29/2016

09:39 PM Revision f22e2d16 (git): merge revision(s) 51812:
* tool/extlibs.rb (do_patch): let "patch" command change the
working directory and open the patch file there, instead of
spawn options, so that proper error message will be shown by the
command not just "chd...
nagachika (Tomoyuki Chikanaga)
09:29 PM Bug #12218: Undefined behaviour
Backported into ruby_2_2 branch at r54430. nagachika (Tomoyuki Chikanaga)
05:22 PM Bug #12218: Undefined behaviour
ruby_2_3 r54425 merged revision(s) 54256,54291,54292,54293. naruse (Yui NARUSE)
12:08 PM Bug #12218: Undefined behaviour
ruby_2_1 r54394 merged revision(s) 54256. usa (Usaku NAKAMURA)
09:20 PM Bug #12118: ruby2.3: Segfaults on m68k due to improper stack allocation
Backported into `ruby_2_2` branch at r54430. nagachika (Tomoyuki Chikanaga)
05:22 PM Bug #12118: ruby2.3: Segfaults on m68k due to improper stack allocation
ruby_2_3 r54425 merged revision(s) 54256,54291,54292,54293. naruse (Yui NARUSE)
12:07 PM Bug #12118: ruby2.3: Segfaults on m68k due to improper stack allocation
ruby_2_1 r54394 merged revision(s) 54256. usa (Usaku NAKAMURA)
09:19 PM Revision 2725eed1 (git): merge revision(s) 54256: [Backport #12118]
* thread_pthread.c (reserve_stack): fix reserving position where
the stack growing bottom to top. [Bug #12118]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
09:07 PM Revision 3f7ce085 (git): merge revision(s) 49176,49334,49802,49814,49815,49816,50036,51453,51705,51706,51708,51805,51807,53298,53517,53519,53521,53522,53523,53526,53527,54017,54034:
* .travis.yml: Remove redundant configuration option.
[fix GH-809] Patch by @gxworld
* .travis.yml: removed Ruby 1.9.3 build on Travis CI
* .travis.yml: update libssl before running tests.
Thanks to ...
nagachika (Tomoyuki Chikanaga)
08:37 PM Bug #12182: openssl: NPN may be disabled by OpenSSL configuration
Backported into `ruby_2_2` branch at r54428. nagachika (Tomoyuki Chikanaga)
12:17 PM Bug #12182: openssl: NPN may be disabled by OpenSSL configuration
ruby_2_1 r54397 merged revision(s) 54258. usa (Usaku NAKAMURA)
08:36 PM Revision 6ee7fcf3 (git): merge revision(s) 54258: [Backport #12182]
* ext/openssl/extconf.rb: check SSL_CTX_set_next_proto_select_cb
function rather than OPENSSL_NPN_NEGOTIATED macro. it exists
even if it is disabled by OpenSSL configuration.
[ruby-core:74384] [Bug #12182]
...
nagachika (Tomoyuki Chikanaga)
08:14 PM Bug #12215: URI::HTTP.new example is incorrect
Backported into `ruby_2_2` branch at r54427. nagachika (Tomoyuki Chikanaga)
12:09 PM Bug #12215: URI::HTTP.new example is incorrect
ruby_2_1 r54395 merged revision(s) 54257. usa (Usaku NAKAMURA)
08:13 PM Revision 0e0c793e (git): merge revision(s) 54257: [Backport #12215]
* lib/uri/http.rb (URI::HTTP#initialize): [DOC] fix example,
missing mandatory arguments. [ruby-core:74540] [Bug #12215]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
07:03 PM Feature #12224: logger: Allow specifying log level in constructor
Here is the link to Logger:
http://ruby-doc.org/stdlib-2.3.0/libdoc/logger/rdoc/Logger.html#method-c-new
It already uses multiple arguments:
new(logdev, shift_age = 7, shift_size = 1048576)
new(logdev, shift_age = '...
shevegen (Robert A. Heiler)
05:32 PM Bug #11922: [PATCH] fix ASYNC BUG race from bootstraptest/test_fork.rb
ruby_2_3 r54426 merged revision(s) 53373. naruse (Yui NARUSE)
05:32 PM Revision 52601dd1 (git): merge revision(s) 53373: [Backport #11922]
* thread_pthread.c (setup_communication_pipe): delay setting owner
(rb_thread_create_timer_thread): until thread creation succeeds
[ruby-core:72590] [Bug #11922]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/...
naruse (Yui NARUSE)
05:22 PM Revision 50864b9d (git): merge revision(s) 54256,54291,54292,54293: [Backport #12118] [Bug #12218]
* thread_pthread.c (reserve_stack): fix reserving position where
the stack growing bottom to top. [Bug #12118]
* localeinit.c (rb_locale_charmap_index): fix prototype.
patched by Andreas Schwab [Bug #12218]
...
naruse (Yui NARUSE)
05:17 PM Bug #11874: File.realpath fail on volume mount point directory
ruby_2_3 r54424 merged revision(s) 53688,53689,53690,53702. naruse (Yui NARUSE)
05:17 PM Revision 710fe14b (git): merge revision(s) 53688,53689,53690,53702: [Backport #11874]
* win32/win32.c (fileattr_to_unixmode, rb_w32_reparse_symlink_p): volume
mount point should be treated as directory, not symlink.
[ruby-core:72483] [Bug #11874]
* win32/win32.c (rb_w32_read_reparse_point): ch...
naruse (Yui NARUSE)
04:57 PM Bug #12202 (Closed): nkf.c static void mime_putc the variable being used for loop used for outer loop too
Applied in changeset r54423.
----------
* ext/nkf/nkf-utf8/nkf.c: Merge upstream 4f3edf80a0.
patched by Anton Sivakov [Bug #12201] [Bug #12202]
naruse (Yui NARUSE)
04:57 PM Bug #12201 (Closed): nkf.c static void fold_conv part of exression always true
Applied in changeset r54423.
----------
* ext/nkf/nkf-utf8/nkf.c: Merge upstream 4f3edf80a0.
patched by Anton Sivakov [Bug #12201] [Bug #12202]
naruse (Yui NARUSE)
04:57 PM Revision 1d7cfff0 (git): * ext/nkf/nkf-utf8/nkf.c: Merge upstream 4f3edf80a0.
patched by Anton Sivakov [Bug #12201] [Bug #12202]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:55 PM Revision 90b51e70 (git): * 2016-03-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:55 PM Revision c2b4b9bb (git): * tool/redmine-backporter.rb: add given revision to current changests
on associating the revision to the related ticket.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:55 PM Revision e5472649 (git): * tool/merger.rb: update revision.h before merge.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:37 PM Bug #12229: Backport r53673 to ruby_2_3
ruby_2_3 r54419 merged revision(s) 53673. naruse (Yui NARUSE)
03:59 PM Bug #12229 (Closed): Backport r53673 to ruby_2_3
普通に実行すると失敗して大変にうざいのでbackportお願いします。 usa (Usaku NAKAMURA)
04:36 PM Revision f08d8f72 (git): merge revision(s) 53673: [Backport #12229]
* test/ruby/test_file.rb (TestFile#test_realpath_encoding): rescue Errno::EACCES
and skip the testcase because it'll be raised on Windows always unless the
runner doesn't have the administrator privilege.
git-svn-id: svn+ssh://ci.r...
naruse (Yui NARUSE)
04:32 PM Bug #12227: Backport r54137 and r54184 (Fix a test that depends on daylight saving time)
ruby_2_3 r54418 merged revision(s) 54137,54184. naruse (Yui NARUSE)
04:32 PM Revision 22a852a8 (git): merge revision(s) 54137,54184: [Backport #12227]
* test/-ext-/time/test_new.rb (test_timespec_new): Time#gmtoff values
are the same only when both or neither of the Time objects are in
summer time (daylight-saving time).
* test/-ext-/time/test_new.rb (test_...
naruse (Yui NARUSE)
04:31 PM Bug #12193: ruby 2.3 on windows test-all failed
ruby_2_3 r54417 merged revision(s) 54307. naruse (Yui NARUSE)
04:31 PM Revision ce701bab (git): merge revision(s) 54307: [Backport #12193]
* lib/rubygems/test_case.rb: Fix test on Windows for inconsistent temp path.
https://github.com/rubygems/rubygems/pull/1554
[Bug #12193][ruby-core:74431]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3...
naruse (Yui NARUSE)
04:30 PM Bug #11946: Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
ruby_2_3 r54416 merged revision(s) 53724. naruse (Yui NARUSE)
04:30 PM Revision a2ed2d20 (git): merge revision(s) 53724: [Backport #11946]
* string.c (str_new_frozen): if the given string is embeddedable
but not embedded, embed a new copied string. [Bug #11946]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:24 PM Bug #12143: [DOC] Fix RDoc markup in doc/extension*.rdoc
ruby_2_3 r54415 merged revision(s) 54110. naruse (Yui NARUSE)
04:24 PM Revision 3f7f7760 (git): merge revision(s) 54110: [Backport #12143]
* doc/extension.ja.rdoc: Fix RDoc markup in doc/extension*.rdoc.
[ci skip][Bug #12143][ruby-core:74143]
* doc/extension.rdoc: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54415 b2dd03c8-39d4-4...
naruse (Yui NARUSE)
04:17 PM Bug #12197: Backport r54185 to ruby_2_3 (mark debug_buffer)
ruby_2_3 r54414 merged revision(s) 54185. naruse (Yui NARUSE)
04:17 PM Revision 4563669d (git): merge revision(s) 54185: [Backport #12197]
parse.y: mark debug_buffer
* parse.y (parser_mark): mark debug_buffer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:09 PM Bug #12137: Ruby2.3 blk.binding crashes instead of giving "Can't create Binding from C level Proc (ArgumentError)"
ruby_2_3 r54413 merged revision(s) 54128. naruse (Yui NARUSE)
04:06 PM Revision 592599d9 (git): merge revision(s) 54128: [Backport #12137]
* proc.c (proc_binding): proc from symbol can not make a binding.
[ruby-core:74100] [Bug #12137]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:59 PM Bug #12171: TestFile#test_file_share_delete failure
ruby_2_3 r54412 merged revision(s) 54094. naruse (Yui NARUSE)
03:54 PM Revision 6ead2416 (git): merge revision(s) 54094: [Backport #12171]
* include/ruby/win32.h (O_SHARE_DELETE): change to fit Fixnum
limit. [ruby-core:74285] [Bug #12171]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:52 PM Bug #12167: Backport r54025 (Avoid false positive in an IMAP test)
ruby_2_3 r54411 merged revision(s) 54025. naruse (Yui NARUSE)
03:52 PM Revision e4fdcb54 (git): merge revision(s) 54025: [Backport #12167]
* test/net/imap/test_imap.rb (test_idle_timeout): Because of the
timeout specified in "imap.idle(0.2)", there is no gurantee that
the server thread has done all the work before the client thread
performs the...
naruse (Yui NARUSE)
03:41 PM Bug #12166: Backport r54073 (AIX does not set MSG_TRUC for recvmsg(2) with MSG_PEEK)
ruby_2_3 r54410 merged revision(s) 54073. naruse (Yui NARUSE)
03:41 PM Revision b39a6bef (git): merge revision(s) 54073: [Backport #12166]
* test/socket/test_socket.rb (test_udp_recvmsg_truncation):
AIX does not set the MSG_TRUNC flag for a message partially read
by recvmsg(2) with the MSG_PEEK flag set.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bran...
naruse (Yui NARUSE)
03:41 PM Bug #12011: honor Marshal.load post proc value for TYPE_LINK
ruby_2_3 r54357 merged revision(s) 53609. naruse (Yui NARUSE)
03:01 PM Bug #12111: [DOC] Small fix for extension.roc / extension.ja.rdoc
ruby_2_3 r54409 merged revision(s) 53947,53948. naruse (Yui NARUSE)
03:01 PM Revision 0d41668f (git): merge revision(s) 53947,53948: [Backport #12111]
* doc/extension.ja.rdoc: removed rendering error caused by editor specific
configuration on http://docs.ruby-lang.org/en/trunk/extension_rdoc.html .
[Bug #12111][ruby-core:73990]
* doc/extension.rdoc, doc/ext...
naruse (Yui NARUSE)
03:00 PM Bug #12089: Raise not stable NameError
ruby_2_3 r54408 merged revision(s) 53875. naruse (Yui NARUSE)
02:59 PM Revision b0aa1ff3 (git): merge revision(s) 53875: [Backport #12089]
* object.c (rb_mod_const_get): make error message at uninterned
string consistent with symbols. [ruby-dev:49498] [Bug #12089]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54408 b2dd03c8-39d4-4d8f-98ff-823fe6...
naruse (Yui NARUSE)
02:48 PM Bug #12081: Dir['*'] doesn't list files which name include Chinese character on Simplefied Chinese Windows
ruby_2_3 r54407 merged revision(s) 53877,53881. naruse (Yui NARUSE)
02:48 PM Revision dd4399e2 (git): merge revision(s) 53877,53881: [Backport #12081]
* dir.c (push_pattern, push_glob): deal with read paths as UTF-8
to stat later, on Windows as well as OS X.
[ruby-core:73868] [Bug #12081]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54407 b2dd03c8...
naruse (Yui NARUSE)
02:36 PM Bug #12071: Gem installation fails with 2.3.0 on Cygwin
ruby_2_3 r54406 merged revision(s) 53868. naruse (Yui NARUSE)
02:36 PM Revision e34df45e (git): merge revision(s) 53868: [Backport #12071]
* ext/extmk.rb: add cygwin case, nothing excluded.
[ruby-core:73806] [Bug#12071]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:15 PM Bug #11928: Segmentation fault in did_you_mean extension
ruby_2_3 r54405 merged revision(s) 53514,53524. naruse (Yui NARUSE)
02:15 PM Revision d3c05ae7 (git): merge revision(s) 53514,53524: [Backport #11928]
* iseq.c (iseqw_mark): as wrapped iseq is isolated from the call
stack, it needs to take care of its parent and ancestors, so
that they do not become orphans. [ruby-core:72620] [Bug #11928]
* iseq.c (rb_iseq...
naruse (Yui NARUSE)
02:00 PM Bug #12061: DNS resolv error RuntimeError: can't modify frozen String when using IPv6 Addresses
ruby_2_3 r54404 merged revision(s) 53363. naruse (Yui NARUSE)
01:59 PM Bug #11910: resolv.rb - can't modify frozen String in #scan
ruby_2_3 r54404 merged revision(s) 53363. naruse (Yui NARUSE)
01:59 PM Revision 6b2f77a8 (git): merge revision(s) 53363: [Backport #11910] [Backport #12061]
* lib/resolv.rb (Resolv::IPv6.create): avoid modifying frozen
* test/resolv/test_dns.rb (test_ipv6_create): test for above
[Bug #11910] [ruby-core:72559]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@...
naruse (Yui NARUSE)
01:53 PM Bug #12003: Unexpected behavior of === with Range of Date objects
ruby_2_3 r54403 merged revision(s) 53635. naruse (Yui NARUSE)
01:53 PM Revision 337a3da7 (git): merge revision(s) 53635: [Backport #12003]
* range.c (range_eqq): revert r11113 because rb_call_super() is
called in range_include() and thus r11113 doesn't work when the
receiver Range object consists of non linear objects such as Date
objects.
...
naruse (Yui NARUSE)
01:48 PM Bug #12228 (Closed): [DOC] Fix errors in doc/extension*.rdoc
Fix some errors in extension.rdoc and extension.ja.rdoc, that I noticed by comparing those two files.
(Renamed files, wrong method names or argument types; the example GetDBM macro is now updated to the current version of the actual cod...
stomar (Marcus Stollsteimer)
01:30 PM Bug #12030: Crash calling Hash#dig when hash contains ActiveRecord objects
ruby_2_3 r54402 merged revision(s) 53695. naruse (Yui NARUSE)
01:30 PM Revision 4cfbf8ec (git): merge revision(s) 53695: [Backport #12030]
* vm_eval.c (rb_check_funcall_with_hook): also should call the
given hook before returning Qundef when overridden respond_to?
method returned false. [ruby-core:73556] [Bug #12030]
git-svn-id: svn+ssh://ci.ruby-lang...
naruse (Yui NARUSE)
01:25 PM Bug #12018: Tail call optimization is incorrectly applied in Ruby 2.3.0
ruby_2_3 r54401 merged revision(s) 53658. naruse (Yui NARUSE)
01:25 PM Revision 6af6154b (git): merge revision(s) 53658: [Backport #12018]
* compile.c (iseq_peephole_optimize): don't apply tailcall
optimization to send/invokesuper instructions with blockiseq.
This is a follow-up to the changes in r51903; blockiseq is now
the third operand of se...
naruse (Yui NARUSE)
12:34 PM Revision 4a58f51a (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:26 PM Bug #11990: Dedenting heredoc interacts poorly with string concatenation
ruby_2_3 r54399 merged revision(s) 53541,53555,53570. naruse (Yui NARUSE)
12:26 PM Revision a61019ee (git): merge revision(s) 53541,53555,53570: [Backport #11990]
* parse.y (string1): reset heredoc indent fore each string leteral
so that concatenated string would not be dedented.
[ruby-core:72857] [Bug #11990]
* parse.y (xstring): reset heredoc indent after dedenting,
...
naruse (Yui NARUSE)
12:21 PM Bug #11871: Heredoc unindentation with <<~ with single-quoted identifier flush-lefts the content
ruby_2_3 r54398 merged revision(s) 53398. naruse (Yui NARUSE)
12:21 PM Revision ba02d4b0 (git): merge revision(s) 53398: [Backport #11871]
* parse.y (parser_here_document): update indent for each line in
indented here document with single-quotes.
[ruby-core:72479] [Bug #11871]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54398 b2dd03c8...
naruse (Yui NARUSE)
12:17 PM Revision 289889a6 (git): merge revision(s) 54258: [Backport #12182]
* ext/openssl/extconf.rb: check SSL_CTX_set_next_proto_select_cb
function rather than OPENSSL_NPN_NEGOTIATED macro. it exists
even if it is disabled by OpenSSL configuration.
[ruby-core:74384] [Bug #12182]
...
U.Nakamura
12:11 PM Bug #11976: Assigning to nil as a hash short-circuits without error.
ruby_2_3 r54396 merged revision(s) 53485. naruse (Yui NARUSE)
12:11 PM Revision 2110125b (git): merge revision(s) 53485: [Backport #11976]
* symbol.h (is_attrset_id): ASET is an attrset ID. fix
unexpected safe call instead of an ordinary ASET.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
12:09 PM Revision 1a5d5856 (git): merge revision(s) 54257: [Backport #12215]
* lib/uri/http.rb (URI::HTTP#initialize): [DOC] fix example,
missing mandatory arguments. [ruby-core:74540] [Bug #12215]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:07 PM Revision bcccff50 (git): merge revision(s) 54256: [Backport #12118] [Backport #12218]
* thread_pthread.c (reserve_stack): fix reserving position where
the stack growing bottom to top. [Bug #12118]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@54394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
12:01 PM Bug #11926: Backport request r53385
ruby_2_3 r54393 merged revision(s) 53385. naruse (Yui NARUSE)
12:01 PM Revision 0e0e4cb4 (git): merge revision(s) 53385: [Backport #11926]
* doc/syntax/calling_methods.rdoc: fix old operator for safe navigation
operator. [ci skip][fix GH-1182] Patch by @dougo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
10:34 AM Revision 106be669 (git): * addr2line.c: define toupper for its use. fix r54391.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:24 AM Revision 723241fc (git): * include/ruby/ruby.h (rb_isupper, rb_islower, rb_isalpha, rb_isdigit,
rb_isalnum, rb_isxdigit, rb_isblank, rb_isspace, rb_isblank,
rb_iscntrl, rb_isprint, rb_ispunct, rb_isgraph,
rb_tolower, rb_toupper): use inline function to avoid function call.
* include/ruby/ruby.h (rb_isascii): use inline functio...
naruse (Yui NARUSE)
09:59 AM Revision c782c791 (git): * tool/redmine-backporter.rb (backport): show merger.rb's path.
* tool/redmine-backporter.rb (show): show current issue again if no
ticket number is given.
* tool/redmine-backporter.rb (rel): show error message if current
bugs.ruby-lang.org doesn't support the API.
git-svn-id: svn+ssh://ci.ruby...
naruse (Yui NARUSE)
09:59 AM Revision 33a89408 (git): * tool/merger.rb: support to backport header as backport identifier.
Now you can specify by 'merge revision(s) 49254: [Backport #10738]'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
09:52 AM Bug #11901: Performance Issue with OpenStruct
ruby_2_3 r54388 merged revision(s) 53395,53396. naruse (Yui NARUSE)
09:52 AM Revision 4f85a89a (git): merge revision(s) 53395,53396: [Backport #11901]
* lib/ostruct.rb: Fix new_ostruct_member to correctly avoid
redefinition [#11901]
* lib/ostruct.rb (freeze): define deferred accessors before
freezing to get rid of an error when just reading frozen
...
naruse (Yui NARUSE)
08:55 AM Bug #11884: Psych.load broken for OpenStruct in Ruby 2.3.0
ruby_2_3 r54387 merged revision(s) 53366. naruse (Yui NARUSE)
08:54 AM Revision 4c1ac0bc (git): merge revision(s) 53366:[Backport #11884]
* lib/ostruct.rb (OpenStruct): make respond_to? working on
just-allocated objects for workaround of Psych.
[ruby-core:72501] [Bug #11884]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54387 b2dd03c8-...
naruse (Yui NARUSE)
08:04 AM Bug #12170: Malformed RDoc syntax in Kernel#catch description
ruby_2_3 r54386 merged revision(s) 54089. naruse (Yui NARUSE)
08:04 AM Revision 5d699f8a (git): merge revision(s) 54089: [Backport #12170]
* vm_eval.c (rb_f_catch): [DOC] fix malformed RDoc syntax, "+...+"
cannot enclose non-identifier characters.
a patch by Sebastian S in [ruby-core:74278]. [Bug#12170]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bran...
naruse (Yui NARUSE)
08:03 AM Bug #12153: Backport r54003 (nextafter(3) on AIX is broken with +0.0 and -0.0 arguments)
ruby_2_3 r54385 merged revision(s) 54003. naruse (Yui NARUSE)
08:03 AM Revision c03f28c9 (git): merge revision(s) 54003: [Backport #12153]
* test/-ext-/float/test_nextafter.rb: In AIX,
nextafter(+0.0,-0.0)=+0.0, and nextafter(-0.0,+0.0)=-0.0,
but they should return -0.0 and +0.0, respectively. This is
a known bug in nextafter(3) on AIX, so skip...
naruse (Yui NARUSE)
08:00 AM Bug #12204: Invalid range of capital letters at Greek alphabet
ruby_2_3 r54384 merged revision(s) 54210. naruse (Yui NARUSE)
08:00 AM Revision 9d502cf9 (git): merge revision(s) 54210: [Backport #12204]
* string.c (enc_succ_alnum_char): try to skip an invalid character
gap between GREEK CAPITAL RHO and SIGMA.
[ruby-core:74478] [Bug #12204]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54384 b2dd03c8...
naruse (Yui NARUSE)
07:53 AM Bug #12192: Wrong nth_ref_max check in parse.y
ruby_2_3 r54382 merged revision(s) 54172. naruse (Yui NARUSE)
07:53 AM Revision 78f54001 (git): * enc/unicode/case-folding.rb, casefold.h: Tweaked handling of 6
special cases in CaseUnfold_11_Table.
* enc/unicode.c: Adjustments for above.
* test/ruby/enc/test_case_mapping.rb: Tests for the above: Some tests in
test_titlecase activated; test_greek added. A test in test_cherokee fixed.
git-svn...
duerst (Martin Dürst)
07:53 AM Revision ba576321 (git): merge revision(s) 54172: [Backport #12192]
* parse.y (parse_numvar): NTH_REF must be less than a half of
INT_MAX, as it is left-shifted to be ORed with back-ref flag.
[ruby-core:74444] [Bug#12192] [Fix GH-1296]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bra...
naruse (Yui NARUSE)
07:45 AM Bug #11844: Please update unicode-licensed files (license issue)
ruby_2_3 r54381 merged revision(s) 54129,54130,54132. naruse (Yui NARUSE)
07:45 AM Revision 066b2ac7 (git): merge revision(s) 54129,54130,54132: [Backport #11844]
* enc/trans/JIS: update Unicode's notice. [Bug #11844]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:44 AM Bug #12188: Backport r54105 and r54136 (fix Marshal.load violation for invalid dump format)
ruby_2_3 r54380 merged revision(s) 54105,54108,54136,54138. naruse (Yui NARUSE)
07:44 AM Revision 46e7e1f9 (git): merge revision(s) 54105,54108,54136,54138: [Backport #12188]
* marshal.c (r_object0): Fix Marshal crash for corrupt extended object.
* marshal.c (r_object0): raise ArgumentError when linking to undefined
object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54...
naruse (Yui NARUSE)
07:41 AM Bug #12069: [PATCH] document OpenSSL::SSL::SSLContext#setup as MT-unsafe
ruby_2_3 r54379 merged revision(s) 54097. naruse (Yui NARUSE)
07:40 AM Revision 2f29baf6 (git): merge revision(s) 54097: [Backport #12069]
* ext/openssl/ossl_ssl.c (ossl_sslctx_setup): document as MT-unsafe
[ruby-core:73803] [Bug #12069]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:40 AM Bug #12158: Fixnum#% doesn't show its name on ZeroDivisionError
ruby_2_3 r54378 merged revision(s) 54028. naruse (Yui NARUSE)
07:40 AM Revision 91b26ffa (git): merge revision(s) 54028: [Backport #12158]
* insns.def (opt_mod): show its method name on ZeroDivisionError.
[Bug #12158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:29 AM Bug #12044: net/ftp.rb: add NullSocket#closed? to fix closing not yet opened connection
ruby_2_3 r54377 merged revision(s) 53810. naruse (Yui NARUSE)
07:29 AM Revision b2ac0f9c (git): merge revision(s) 53810: [Backport #12044]
* net/ftp.rb: add NullSocket#closed? to fix closing not opened
connection. [Fix GH-1232]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:22 AM Bug #12121: 異なる名前空間にある同名の定数により Module.constans の結果の並びが変わる
ruby_2_3 r54376 merged revision(s) 54231. naruse (Yui NARUSE)
07:22 AM Revision 11b27734 (git): merge revision(s) 54231: [Backport #12121]
* variable.c: Added documentation about order of `Module#constants`
[ci skip][Bug #12121][ruby-dev:49505][fix GH-1301]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:11 AM Bug #12154: Backport r54010 (avoid a setgid test on AIX)
ruby_2_3 r54375 merged revision(s) 54010. naruse (Yui NARUSE)
07:11 AM Revision cdb968ac (git): merge revision(s) 54010: [Backport #12154]
* test/ruby/test_process.rb (test_execopts_gid): Skip a test
that is known to fail on AIX. AIX allows setgid to
a supplementary group, but Ruby does not allow the "-e"
option when setgid'ed, so the test does...
naruse (Yui NARUSE)
07:01 AM Bug #12150: Backport r54005 (ipv6_v4compat? and ipv6_v4mapped? are broken on AIX)
ruby_2_3 r54374 merged revision(s) 54005. naruse (Yui NARUSE)
07:01 AM Revision 429668f7 (git): merge revision(s) 54005: [Backport #12150]
* test/socket/test_addrinfo.rb (test_ipv6_address_predicates):
IN6_IS_ADDR_V4COMPAT and IN6_IS_ADDR_V4MAPPED are broken
on AIX, so skip related tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54...
naruse (Yui NARUSE)
06:57 AM Bug #12152: Backport r54004 (the fifth argument to getsockopt(2) is not modified correctly on return in AIX)
ruby_2_3 r54373 merged revision(s) 54004. naruse (Yui NARUSE)
06:57 AM Revision f4606be3 (git): merge revision(s) 54004: [Backport #12152]
* test/rinda/test_rinda.rb (test_make_socket_ipv4_multicast):
The fifth argument to getsockopt(2) should be modified to
indicate the actual size of the value on return,
but not in AIX. This is a know bug. Sk...
naruse (Yui NARUSE)
06:30 AM Bug #12151: Backport r54002 (zconf.h in zlib does not recognize _LARGE_FILES in AIX)
ruby_2_3 r54372 merged revision(s) 54002. naruse (Yui NARUSE)
06:30 AM Revision 56f3cc71 (git): merge revision(s) 54002: [Backport #12151]
* test/zlib/test_zlib.rb (test_adler32_combine, test_crc32_combine):
Skip two tests on AIX because zconf.h in zlib does not correctly
recognize _LARGE_FILES in AIX. The problem was already reported
to zlib, ...
naruse (Yui NARUSE)
06:15 AM Bug #12148: Backport r54000 (__pi_stacksize returned by pthread_getthrds_np() is wrong on AIX)
ruby_2_3 r54371 merged revision(s) 54000. naruse (Yui NARUSE)
06:15 AM Bug #11969: [PATCH] IRB: Final newline missing in truncated backtraces
ruby_2_3 r54370 merged revision(s) 53943. naruse (Yui NARUSE)
06:15 AM Revision c6b7092c (git): merge revision(s) 54000: [Backport #12148]
* thread_pthread.c (getstack): __pi_stacksize returned by
pthread_getthrds_np() is wrong on AIX. Use
__pi_stackend - __pi_stackaddr instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54371 b2dd03...
naruse (Yui NARUSE)
06:10 AM Revision 07c9743e (git): merge revision(s) 53943: [Backport #11969]
* lib/irb.rb: avoid to needless truncation when using back_trace_limit option.
[fix GH-1205][ruby-core:72773][Bug #11969]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:09 AM Revision 4a8f50e8 (git): merge revision(s) 54288: [Backport #11870]
* ChangeLog: [ci skip] correct a mail address. cf. [Bug #11870]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:06 AM Bug #11893: Ruby keyword typo in Tk (require)
ruby_2_3 r54368 merged revision(s) 54022. naruse (Yui NARUSE)
06:06 AM Bug #11891: Initializer method name typo in Tk
ruby_2_3 r54367 merged revision(s) 54021. naruse (Yui NARUSE)
06:06 AM Bug #11890: Initializer method name typo in Tk
ruby_2_3 r54367 merged revision(s) 54021. naruse (Yui NARUSE)
06:06 AM Bug #11886: Font name typo in Tk library and samples
ruby_2_3 r54365 merged revision(s) 54018. naruse (Yui NARUSE)
06:05 AM Bug #11962: Ruby 2.3.0 causing compile failure on extensions using a C++ compiler
ruby_2_3 r54364 merged revision(s) 53455. naruse (Yui NARUSE)
06:05 AM Revision 3409e318 (git): merge revision(s) 54022: [Backport #11893]
* ext/tk/lib/tkextlib/tcllib/tablelist_tile.rb: fix method name typo.
[ruby-core:72513] [Bug #11893] The patch provided by Akira Matsuda.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54368 b2dd03c8-39d4-4d8f-...
naruse (Yui NARUSE)
06:05 AM Revision dbb4fc96 (git): merge revision(s) 54021: [Backport #11891]
* ext/tk/lib/tkextlib/tcllib/toolbar.rb: fix method name typo.
[ruby-core:72511] [Bug #11891] The patch provided by Akira Matsuda.
[ruby-core:72510] [Bug #11890] The patch provided by Akira Matsuda.
git-svn-id: svn+...
naruse (Yui NARUSE)
06:04 AM Revision 653b46e3 (git): merge revision(s) 54020: [Backport #11890]
* ext/tk/lib/tkextlib/blt/tree.rb: fix method name typo.
[ruby-core:72510] [Bug #11890] The patch provided by Akira Matsuda.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
06:04 AM Revision 246ffa87 (git): merge revision(s) 54018: [Backport #11886]
* ext/tk/lib/tk/menubar.rb: fix a typo in font name. [ruby-core:72505]
[Bug #11886] The patch provided by Akira Matsuda.
* ext/tk/sample/*.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@5436...
naruse (Yui NARUSE)
06:03 AM Revision 0cf072ab (git): merge revision(s) 53455: [Backport #11962]
* ruby.h: undef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P
and HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P on C++.
[ruby-core:72736] [Bug #11962]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54364 ...
naruse (Yui NARUSE)
06:02 AM Bug #12185: Missing symbol inspect_tcpi_msec
ruby_2_3 r54363 merged revision(s) 54139. naruse (Yui NARUSE)
06:02 AM Revision bc7dca77 (git): merge revision(s) 54139: [Backport #12185]
* ext/socket/option.c (inspect_tcpi_msec): more accurate condition
for TCPI msec member inspection function.
[ruby-core:74388] [Bug #12185]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54363 b2dd03c...
naruse (Yui NARUSE)
05:58 AM Bug #12054: Remove block from Logger.add as it's not needed
ruby_2_3 r54362 merged revision(s) 53790,53844. naruse (Yui NARUSE)
05:57 AM Bug #11495: [Documentation] Please improve documentation for Regexp.new() and clarify the 3 argument call
ruby_2_3 r54361 merged revision(s) 53784. naruse (Yui NARUSE)
05:57 AM Revision 14de088d (git): merge revision(s) 53790,53844: [Backport #12054]
* lib/logger.rb: Remove block from Logger.add as it's not needed
patch provided by Daniel Lobato Garcテュ [fix GH-1240] [Bug #12054]
patch provided by Daniel Lobato Garcia [fix GH-1240] [Bug #12054]
git-svn-id: svn+ss...
naruse (Yui NARUSE)
05:52 AM Revision 14e5aab8 (git): merge revision(s) 53784: [Backport #11495]
* re.c: Remove deprecated kcode argument from Regexp.new and compile
patch provided by Dylan Pulliam [Bug #11495]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:51 AM Bug #11877: Socket.gethostname will fail when the hostname length == RUBY_MAX_HOST_NAME_LEN
ruby_2_3 r54360 merged revision(s) 53677. naruse (Yui NARUSE)
05:50 AM Revision 3c555c92 (git): merge revision(s) 53677: [Backport #11877]
* ext/socket/socket.c (sock_gethostname): support unlimited size
hostname.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:45 AM Feature #12133: Ability to exclude start when defining a range
Here's what I would've written: (see: sample [range_sections](https://gist.githubusercontent.com/rthbound/aa6b4053c5791efb0904/raw/d7683f1cc54718efb905435ff794107a4c6ca80c/samples.rb))
~~~ruby
def which_range?(value)
range = nil
ra...
slash_nick (Ryan Hosford)
05:43 AM Bug #11489: XMLRPC client cannot alter SSL options for _async calls
ruby_2_3 r54359 merged revision(s) 53318. naruse (Yui NARUSE)
05:43 AM Revision 11788449 (git): merge revision(s) 53318: [Backport #11489]
* lib/xmlrpc/client.rb: Support SSL options in async methods of
XMLRPC::Client.
[Bug #11489]
Reported by Aleksandar Kostadinov. Thanks!!!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54359...
naruse (Yui NARUSE)
05:34 AM Revision 4b183abd (git): Merge partially r53707: remove test_accessing_cloudfront
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:32 AM Revision b3418ceb (git): merge revision(s) 53609: [Backport #12011]
* marshal.c (r_object0): honor Marshal.load post proc
value for TYPE_LINK. by Hiroshi Nakamura <nahi@ruby-lang.org>
https://github.com/ruby/ruby/pull/1204 fix GH-1204
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bra...
naruse (Yui NARUSE)
05:21 AM Bug #11958: TCPSocket.getsockopt().bool raises a TypeError on windows
ruby_2_3 r54355 merged revision(s) 53557,53561. naruse (Yui NARUSE)
05:18 AM Revision 9dc57768 (git): merge revision(s) 53517,53519,53521,53522,53523,53526,53527:
drop osx and clang because they are often fails and slow
* .travis.yml: removed osx code. follow up with r53517
* .travis.yml: removed commented-out code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@5...
naruse (Yui NARUSE)
05:16 AM Revision 990cb712 (git): merge revision(s) 53557,53561: [Backport #11958]
* ext/socket/option.c (check_size): extract a macro to check
binary data size, with a consistent message.
* ext/socket/option.c (sockopt_byte): fix error message,
sizeof(int) differs from sizeof(unsigned char...
naruse (Yui NARUSE)
05:05 AM Revision 919bb8e5 (git): merge revision(s) 53346,53347,53348,53349,53391,53928: [Backport #11898]
* process.c: use rb_w32_uchdir() instead of plain chdir() on Windows.
reported by naruse via twitter.
* process.c (rb_execarg_addopt): need to convert to ospath.
* process.c (rb_execarg_parent_start1): need to...
naruse (Yui NARUSE)
05:00 AM Bug #11945: [PATCH] stringio: binmode sets encoding to ASCII-8BIT
ruby_2_3 r54353 merged revision(s) 53435. naruse (Yui NARUSE)
05:00 AM Revision 7485f746 (git): merge revision(s) 53435: [Backport #11945]
* ext/stringio/stringio.c (strio_binmode): implement to set encoding
* test/stringio/test_stringio.rb (test_binmode): new test
[ruby-core:72699] [Bug #11945]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_...
naruse (Yui NARUSE)
04:57 AM Bug #11885: [PATCH] IO#readpartial rejects bad args
ruby_2_3 r54352 merged revision(s) 53329. naruse (Yui NARUSE)
04:57 AM Bug #11870: Eradication of typical misspellings
ruby_2_3 r54351 merged revision(s) 53299. naruse (Yui NARUSE)
04:56 AM Bug #11932: Ripper.sexp can't parse some files from ruby repository and returns nil
ruby_2_3 r54350 merged revision(s) 53411,53425. naruse (Yui NARUSE)
04:56 AM Revision e6489da9 (git): merge revision(s) 53329: [Backport #11885]
* io.c (io_getpartial): remove unused kwarg from template
* test/ruby/test_io.rb (test_readpartial_bad_args): new
[Bug #11885]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54352 b2dd03c8-39d4-4d8f-98...
naruse (Yui NARUSE)
04:49 AM Revision 6b73bb45 (git): merge revision(s) 53299: [Backport #11870]
* compile.c, cont.c, doc, man: fix common misspelling.
[ruby-core:72466] [Bug #11870]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:38 AM Revision 1238d358 (git): merge revision(s) 53411,53425: [Backport #11932]
* parse.y (regexp): set_yylval_num sets u1, should use nd_tag
instead of nd_state. [ruby-core:72638] [Bug #11932]
* parse.y (set_yylval_num): should be used as nd_state, set to u3.
[ruby-core:72638] [Bug #11...
naruse (Yui NARUSE)
04:30 AM Revision 49f25a12 (git): * enc/unicode.c: Cleaned up some comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
04:26 AM Revision 61e2c7ff (git): merge revision(s) 53654:
* gc.c (RVALUE_PAGE_WB_UNPROTECTED): fix a typo of argument name.
[Fix GH-1221]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:24 AM Revision 0e6f8b16 (git): * enc/unicode/case-folding.rb, casefold.h: Removing data for idempotent
titlecasing.
* enc/unicode.c: Adjust code to data removal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54347 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
03:45 AM Revision c2355aef (git): * lib/webrick/httpresponse.rb: Move error_body to method. It allow to
override the body more easily. [fix GH-1307]
* test/webrick/test_httpresponse.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

03/28/2016

09:40 PM Revision 7504be10 (git): remove rb_thread_t::base_block
* error.c (rb_compile_err_append): rb_thread_t::base_block is no
longer used.
* iseq.c (rb_iseq_compile_with_option): ditto, no protection is
needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54345 b2dd03c8-39d4-4d8f-98ff-82...
nobu (Nobuyoshi Nakada)
09:39 PM Revision 4e4880b3 (git): * 2016-03-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:39 PM Revision d7935475 (git): remove rb_thread_t::parse_in_eval
* parse.y (struct parser_params): move parse_in_eval flag from
rb_thread_t.
* parse.y (rb_parser_set_context): set parsing context, not only
mild error flag.
* iseq.c (rb_iseq_compile_with_option): the parser now refers no
thread l...
nobu (Nobuyoshi Nakada)
08:02 PM Bug #12055: `NET::HTTPResponse` is not deflating responses with custom `Content-Range` header
Hi! Any thoughts here? ggcampinho (Glauber Campinho)
07:39 PM Bug #12227 (Closed): Backport r54137 and r54184 (Fix a test that depends on daylight saving time)
This is a ticket to back-port r54137 and r54184 to 2.3. ReiOdaira (Rei Odaira)
05:50 PM Bug #10384: Fiddle::DLError: unknown symbol "Init_objspace" during Fiddle::TestHandle#test_NEXT and Fiddle::TestHandle#test_static_sym on Solaris
r49154 should be backported too. Backported into `ruby_2_2` branch at r54342. nagachika (Tomoyuki Chikanaga)
02:53 PM Bug #10384: Fiddle::DLError: unknown symbol "Init_objspace" during Fiddle::TestHandle#test_NEXT and Fiddle::TestHandle#test_static_sym on Solaris
Backported into `ruby_2_2` branch at r54316. nagachika (Tomoyuki Chikanaga)
05:46 PM Revision 82752cc1 (git): merge revision(s) 49154: [Backport #10384]
ext/-test-/dln/empty: move from ext/-test-/win32/dln
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:23 PM Bug #10738: Parsing invalid URI results in undefined method `split' for nil:NilClass (NoMethodError)
Backported into `ruby_2_2` branch at r54341. nagachika (Tomoyuki Chikanaga)
05:12 PM Bug #10738: Parsing invalid URI results in undefined method `split' for nil:NilClass (NoMethodError)
I've confirmed that with ruby 2.1.8 the reproduce snippet raises URI::InvalidComponentError (expected behavior).
% ruby -v -ruri -e 'URI "mailto:/example.com/" rescue p $!'
ruby 2.1.8p440 (2015-12-16 revision 53160) [x86_64-d...
nagachika (Tomoyuki Chikanaga)
05:23 PM Revision 7892ad93 (git): merge revision(s) 49254: [Backport #10738]
* lib/uri/mailto.rb: raising URI::InvalidComponentError instead
of failing with undefined method `split' for nil:NilClass for
mailto: URIs without opaque part. [Bug #10738]
* test/uri/testuri.rb: Test for abo...
nagachika (Tomoyuki Chikanaga)
05:21 PM Bug #11692: [PATCH] Re-enable GC if stack overflow was caught from signal handler
Backported into `ruby_2_2` branch at r54340. nagachika (Tomoyuki Chikanaga)
05:21 PM Revision 387cc516 (git): merge revision(s) 52668: [Backport #11692]
* signal.c: should also clear ruby_disable_gc.
[Bug #11692]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:04 PM Bug #12170: Malformed RDoc syntax in Kernel#catch description
Backported into `ruby_2_2` branch at r54339. nagachika (Tomoyuki Chikanaga)
05:04 PM Revision d27080e7 (git): merge revision(s) 54089: [Backport #12170]
* vm_eval.c (rb_f_catch): [DOC] fix malformed RDoc syntax, "+...+"
cannot enclose non-identifier characters.
a patch by Sebastian S in [ruby-core:74278]. [Bug#12170]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bran...
nagachika (Tomoyuki Chikanaga)
05:03 PM Bug #12153: Backport r54003 (nextafter(3) on AIX is broken with +0.0 and -0.0 arguments)
Backported into `ruby_2_2` branch at r54338. nagachika (Tomoyuki Chikanaga)
05:03 PM Revision 1f4640cf (git): merge revision(s) 54003: [Backport #12153]
* test/-ext-/float/test_nextafter.rb: In AIX,
nextafter(+0.0,-0.0)=+0.0, and nextafter(-0.0,+0.0)=-0.0,
but they should return -0.0 and +0.0, respectively. This is
a known bug in nextafter(3) on AIX, so skip...
nagachika (Tomoyuki Chikanaga)
05:02 PM Bug #12066: Ruby creates Wrong .Bat files
I've cherry picked the https://github.com/rubygems/rubygems/commit/f9232680 from r49511 into `ruby_2_2` branch at r54337. nagachika (Tomoyuki Chikanaga)
05:00 PM Revision 920800b2 (git): * lib/rubygems/installer.rb: merge partially r49511.
cherry picking https://github.com/rubygems/rubygems/commit/f9232680
[Bug #12066]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:41 PM Bug #12204: Invalid range of capital letters at Greek alphabet
Backported into `ruby_2_2` branch at r54336. nagachika (Tomoyuki Chikanaga)
04:41 PM Revision 305dd08c (git): merge revision(s) 54210: [Backport #12204]
* string.c (enc_succ_alnum_char): try to skip an invalid character
gap between GREEK CAPITAL RHO and SIGMA.
[ruby-core:74478] [Bug #12204]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54336 b2dd03c8...
nagachika (Tomoyuki Chikanaga)
04:29 PM Bug #12192: Wrong nth_ref_max check in parse.y
Backported into `ruby_2_2` branch at r54335. nagachika (Tomoyuki Chikanaga)
04:28 PM Revision 00e45210 (git): merge revision(s) 54172: [Backport #12192]
* parse.y (parse_numvar): NTH_REF must be less than a half of
INT_MAX, as it is left-shifted to be ORed with back-ref flag.
[ruby-core:74444] [Bug#12192] [Fix GH-1296]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bra...
nagachika (Tomoyuki Chikanaga)
04:26 PM Bug #11844: Please update unicode-licensed files (license issue)
Backported into `ruby_2_2` branch at r54334. nagachika (Tomoyuki Chikanaga)
04:26 PM Revision 1e1ac826 (git): merge revision(s) 54129,54130,54132: [Backport #11844]
* enc/trans/JIS: update Unicode's notice. [Bug #11844]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:24 PM Bug #12188: Backport r54105 and r54136 (fix Marshal.load violation for invalid dump format)
Backported into `ruby_2_2` branch at r54333. nagachika (Tomoyuki Chikanaga)
04:23 PM Revision af8c7c60 (git): merge revision(s) 54105,54108,54136,54138: [Backport #12188]
* marshal.c (r_object0): Fix Marshal crash for corrupt extended object.
* marshal.c (r_object0): raise ArgumentError when linking to undefined
object.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54...
nagachika (Tomoyuki Chikanaga)
04:21 PM Bug #12069: [PATCH] document OpenSSL::SSL::SSLContext#setup as MT-unsafe
Backported into `ruby_2_2` branch at r54332. nagachika (Tomoyuki Chikanaga)
04:20 PM Revision 1d3af7a3 (git): merge revision(s) 54097: [Backport #12069]
* ext/openssl/ossl_ssl.c (ossl_sslctx_setup): document as MT-unsafe
[ruby-core:73803] [Bug #12069]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:20 PM Bug #12158: Fixnum#% doesn't show its name on ZeroDivisionError
Backported into `ruby_2_2` branch at r54331. nagachika (Tomoyuki Chikanaga)
04:19 PM Revision 3c989d3c (git): merge revision(s) 54028: [Backport #12158]
* insns.def (opt_mod): show its method name on ZeroDivisionError.
[Bug #12158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:06 PM Bug #12044: net/ftp.rb: add NullSocket#closed? to fix closing not yet opened connection
Backported into `ruby_2_2` branch at r54330. nagachika (Tomoyuki Chikanaga)
04:06 PM Revision 5840a393 (git): merge revision(s) 53810: [Backport #12044]
* net/ftp.rb: add NullSocket#closed? to fix closing not opened
connection. [Fix GH-1232]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:03 PM Bug #12121: 異なる名前空間にある同名の定数により Module.constans の結果の並びが変わる
Backported into `ruby_2_2` branch at r54329. nagachika (Tomoyuki Chikanaga)
04:02 PM Revision a2915284 (git): merge revision(s) 54231: [Backport #12121]
* variable.c: Added documentation about order of `Module#constants`
[ci skip][Bug #12121][ruby-dev:49505][fix GH-1301]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
04:00 PM Bug #12154: Backport r54010 (avoid a setgid test on AIX)
Backported into `ruby_2_2` branch at r54328. nagachika (Tomoyuki Chikanaga)
03:59 PM Revision d8eb164a (git): merge revision(s) 54010: [Backport #12154]
* test/ruby/test_process.rb (test_execopts_gid): Skip a test
that is known to fail on AIX. AIX allows setgid to
a supplementary group, but Ruby does not allow the "-e"
option when setgid'ed, so the test does...
nagachika (Tomoyuki Chikanaga)
03:55 PM Bug #12150: Backport r54005 (ipv6_v4compat? and ipv6_v4mapped? are broken on AIX)
Backported into `ruby_2_2` branch at r54327. nagachika (Tomoyuki Chikanaga)
03:55 PM Revision 1240cd0a (git): merge revision(s) 54005: [Backport #12150]
* test/socket/test_addrinfo.rb (test_ipv6_address_predicates):
IN6_IS_ADDR_V4COMPAT and IN6_IS_ADDR_V4MAPPED are broken
on AIX, so skip related tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54...
nagachika (Tomoyuki Chikanaga)
03:52 PM Bug #12152: Backport r54004 (the fifth argument to getsockopt(2) is not modified correctly on return in AIX)
Backported into `ruby_2_2` branch at r54326. nagachika (Tomoyuki Chikanaga)
03:52 PM Revision f45d9dd1 (git): merge revision(s) 54004: [Backport #12152]
* test/rinda/test_rinda.rb (test_make_socket_ipv4_multicast):
The fifth argument to getsockopt(2) should be modified to
indicate the actual size of the value on return,
but not in AIX. This is a know bug. Sk...
nagachika (Tomoyuki Chikanaga)
03:44 PM Bug #12151: Backport r54002 (zconf.h in zlib does not recognize _LARGE_FILES in AIX)
Backported into `ruby_2_2` branch at r54325. nagachika (Tomoyuki Chikanaga)
03:43 PM Revision 0df7d0a5 (git): merge revision(s) 54002: [Backport #12151]
* test/zlib/test_zlib.rb (test_adler32_combine, test_crc32_combine):
Skip two tests on AIX because zconf.h in zlib does not correctly
recognize _LARGE_FILES in AIX. The problem was already reported
to zlib, ...
nagachika (Tomoyuki Chikanaga)
03:42 PM Bug #12149: Backport r51930 (test_s_open_lock hangs on AIX)
Backported into `ruby_2_2` branch at r54324. nagachika (Tomoyuki Chikanaga)
03:42 PM Revision 77fa4641 (git): merge revision(s) 51930: [Backport #12149]
* test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_lock): skip
this test on AIX. The issue is the same as on Solaris.
[ruby-dev:47631]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54324 b2dd03c8-39d4-4d...
nagachika (Tomoyuki Chikanaga)
03:41 PM Bug #12148: Backport r54000 (__pi_stacksize returned by pthread_getthrds_np() is wrong on AIX)
Backported into `ruby_2_2` branch at r54323. nagachika (Tomoyuki Chikanaga)
03:40 PM Revision f22359ad (git): merge revision(s) 54000: [Backport #12148]
* thread_pthread.c (getstack): __pi_stacksize returned by
pthread_getthrds_np() is wrong on AIX. Use
__pi_stackend - __pi_stackaddr instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54323 b2dd03...
nagachika (Tomoyuki Chikanaga)
03:07 PM Bug #11969: [PATCH] IRB: Final newline missing in truncated backtraces
Backported into `ruby_2_2` branch at r54322. nagachika (Tomoyuki Chikanaga)
03:07 PM Revision 3aa4a0b9 (git): merge revision(s) 53943: [Backport #11969]
* lib/irb.rb: avoid to needless truncation when using back_trace_limit option.
[fix GH-1205][ruby-core:72773][Bug #11969]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:05 PM Bug #11870: Eradication of typical misspellings
I fixed the address in `ruby_2_2` branch at r54321. nagachika (Tomoyuki Chikanaga)
03:04 PM Revision 4811e37a (git): merge revision(s) 54288: [Backport #11870]
* ChangeLog: [ci skip] correct a mail address. cf. [Bug #11870]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
03:01 PM Bug #11893: Ruby keyword typo in Tk (require)
Backported into `ruby_2_2` branch at r54320. nagachika (Tomoyuki Chikanaga)
03:00 PM Revision 4f8b6b00 (git): merge revision(s) 54022: [Backport #11893]
* ext/tk/lib/tkextlib/tcllib/tablelist_tile.rb: fix method name typo.
[ruby-core:72513] [Bug #11893] The patch provided by Akira Matsuda.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54320 b2dd03c8-39d4-4d8f-...
nagachika (Tomoyuki Chikanaga)
02:58 PM Bug #11891: Initializer method name typo in Tk
Backported into `ruby_2_2` branch at r54319. nagachika (Tomoyuki Chikanaga)
02:58 PM Revision c320aa7a (git): merge revision(s) 54021: [Backport #11891]
* ext/tk/lib/tkextlib/tcllib/toolbar.rb: fix method name typo.
[ruby-core:72511] [Bug #11891] The patch provided by Akira Matsuda.
[ruby-core:72510] [Bug #11890] The patch provided by Akira Matsuda.
git-svn-id: svn+...
nagachika (Tomoyuki Chikanaga)
02:58 PM Bug #11890: Initializer method name typo in Tk
Backported into `ruby_2_2` branch at r54318. nagachika (Tomoyuki Chikanaga)
02:57 PM Revision e42b19aa (git): merge revision(s) 54020: [Backport #11890]
* ext/tk/lib/tkextlib/blt/tree.rb: fix method name typo.
[ruby-core:72510] [Bug #11890] The patch provided by Akira Matsuda.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
02:57 PM Bug #11886: Font name typo in Tk library and samples
Backported into `ruby_2_2` branch at r54317. nagachika (Tomoyuki Chikanaga)
02:56 PM Revision 9f2dd6a7 (git): merge revision(s) 54018: [Backport #11886]
* ext/tk/lib/tk/menubar.rb: fix a typo in font name. [ruby-core:72505]
[Bug #11886] The patch provided by Akira Matsuda.
* ext/tk/sample/*.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@5431...
nagachika (Tomoyuki Chikanaga)
02:53 PM Revision b1a5f3e4 (git): merge revision(s) 49157: [Backport #10384]
* test/fiddle/test_handle.rb (test_NEXT): use -test-/dln/empty
which is always a shared object and is not used by others.
[ruby-dev:48629] [Bug #10384]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@5...
nagachika (Tomoyuki Chikanaga)
02:19 PM Bug #11962: Ruby 2.3.0 causing compile failure on extensions using a C++ compiler
Backported into `ruby_2_2` branch at r54315. nagachika (Tomoyuki Chikanaga)
02:18 PM Revision d3c464d9 (git): merge revision(s) 53455: [Backport #11962]
* ruby.h: undef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P
and HAVE_BUILTIN___BUILTIN_TYPES_COMPATIBLE_P on C++.
[ruby-core:72736] [Bug #11962]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@54315 ...
nagachika (Tomoyuki Chikanaga)
12:25 PM Revision 0a41425a (git): * numeric.c (int_pos_p): fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:09 AM Feature #12222: Introducing basic statistics methods for Enumerable (and optimized implementation for Array)
It seems to me Enumerable is not the right place for this, because it expects more than just #each.
Also, these methods are likely useful only for numeric collections.
Maybe a "Statistics" module at a stdlib?
Statistics.mean/varianc...
Eregon (Benoit Daloze)
08:51 AM Feature #12226 (Open): Dir.home with valid named user raises ArgumentError on Windows
```
C:\>C:\Ruby\ruby-2.2.4-x64-mingw32\bin\ruby.exe -ve "p Dir.home; p Dir.home('Administrator')"
ruby 2.2.4p230 (2015-12-16 revision 53155) [x64-mingw32]
"C:/Users/Administrator"
-e:1:in `home': user Administrator doesn't exist (Arg...
vais (Vais Salikhov)
08:20 AM Feature #12225 (Rejected): Remove inline assemblers and always enables USE_MACHINE_REGS
Current vm_exec.c stores pc an explicitly declared register to get PC.
Since recent CPUs and compilers are very smart, we expect they optimizes their use of registers.
With following patch the benchmark becomes following:
```diff
...
naruse (Yui NARUSE)
06:41 AM Feature #12224 (Closed): logger: Allow specifying log level in constructor
When I use Logger class, I very often (or maybe always) set minimal log level together. Since method chaining can't be used for setters, we have to split it into two statements:
~~~ruby
logger = Logger.new($stdout)
logger.level = :i...
rhenium (Kazuki Yamaguchi)
06:20 AM Bug #12223 (Closed): Backport r54304 (SEGV in rb_str_format())
バックポート管理用チケットです。
r54304 は ruby_2_2, ruby_2_3 でも必要そうです。
2.1.8 で `sprintf("%.600f", 600**~60)` を試してみたところ SEGV しなかったので一応 DONTNEED にしていますが、ソースコードは精査してはいません。
nagachika (Tomoyuki Chikanaga)
05:54 AM Revision 2d20a27f (git): * enc/unicode.c: Refactoring in preparation for data reduction for
titlecase.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
05:36 AM Revision 890ce36b (git): * enc/unicode.c: Minor refactoring for I WITH DOT ABOVE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
05:26 AM Revision 1582093c (git): * enc/unicode.c: Removed code now covered by data from table.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
03:34 AM Feature #12210 (Assigned): Add IdentitySet class that compares members by identity
shyouhei (Shyouhei Urabe)
02:49 AM Revision 663fb4dd (git): * enc/unicode.c: Adding comments. [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
02:30 AM Revision 64ce7711 (git): * lib/rubygems.rb: Fix `Gem.find_spec_for_exe` picks oldest gem.
https://github.com/travis-ci/travis-ci/issues/5798
https://github.com/rubygems/rubygems/pull/1566
* test/rubygems/test_gem.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
02:26 AM Revision 7fbb9078 (git): * lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update rubygems-2.6.2.
Please see entries of 2.6.2 on
https://github.com/rubygems/rubygems/blob/master/History.txt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
02:02 AM Bug #12193 (Closed): ruby 2.3 on windows test-all failed
Applied in changeset r54307.
----------
* lib/rubygems/test_case.rb: Fix test on Windows for inconsistent temp path.
https://github.com/rubygems/rubygems/pull/1554
[Bug #12193][ruby-core:74431]
hsbt (Hiroshi SHIBATA)
02:02 AM Revision 6cc4937a (git): * lib/rubygems/test_case.rb: Fix test on Windows for inconsistent temp path.
https://github.com/rubygems/rubygems/pull/1554
[Bug #12193][ruby-core:74431]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

03/27/2016

11:19 PM Revision 7d378a5b (git): sprintf.c: refactor Rational f
* sprintf.c (rb_str_format): refactor floating point format of
Rational by using gereric Integer functions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:18 PM Revision 21102e16 (git): * 2016-03-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:18 PM Revision 9ae4c2d5 (git): sprintf.c: fix buffer overflow
* sprintf.c (rb_str_format): fix buffer overflow, length must be
greater than precision. reported by William Bowling <will AT
wbowling.info>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:35 PM Bug #12118: ruby2.3: Segfaults on m68k due to improper stack allocation
I just verified that ruby2.3 works fine on m68k with both the changes from ruby-core:74537 and in rb_locale_charmap_index applied!
Thanks for fixing this issue. And please make sure to backport the fixes to ruby2.3 so that the next up...
glaubitz (John Paul Adrian Glaubitz)
04:57 PM Feature #12133: Ability to exclude start when defining a range
Ryan Hosford wrote:
> Here you've used the case statement to exclude start on the middle range. The problem is the code is largely static while the values of the endpoints (and which ranges should include those endpoints) may change. Ph...
naruse (Yui NARUSE)
01:10 PM Feature #12222: Introducing basic statistics methods for Enumerable (and optimized implementation for Array)
> Especially I want to provide Enumerable#mean and Enumerable#variance as built-in features because they should be implemented by precision compensated algorithms.
Sorry, I don't want to make them be a built-in features. But I want to...
mrkn (Kenta Murata)
01:06 PM Feature #12222 (Closed): Introducing basic statistics methods for Enumerable (and optimized implementation for Array)
As python has statistics library for calculating mean, variance, etc. of arrays and iterators from version 3.4,
I would like to propose to introduce such features for built-in Enumerable, and optimized implementation for Array.
Espec...
mrkn (Kenta Murata)
12:15 PM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Yusuke Endoh wrote:
Thank you for your answer!
> I don't care the behavior of restarting coverage because I have no actual use case. Do you have any? I don't think that ruby/spec is.
Indeed, although tests usually improve the ...
Eregon (Benoit Daloze)
06:43 AM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Tsuyoshi Sawada wrote:
> Yusuke Endoh wrote:
> ...
Heh, you said "my interpretation is that Benoit Daloze wants the key-value pairs to be removed when the value is an empty array". My interpretation is the same.
> >Did you read #...
mame (Yusuke Endoh)
06:11 AM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Yusuke Endoh wrote:
>the first implementation actually did completely remove the key-value pairs when `Coverage.result` is called, as eregon requested.
I can't find what eregon's request is.
> ...
I may have not understood it. But...
sawa (Tsuyoshi Sawada)
05:39 AM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Tsuyoshi Sawada wrote:
> Yusuke Endoh wrote:
> ...
I think I correctly understood eregon's request. As far as I recall, the first implementation actually did completely remove the key-value pairs when `Coverage.result` is called, as e...
mame (Yusuke Endoh)
05:16 AM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Yusuke Endoh wrote:
> As I recall correctly, the first implementation did so, but the behavior changed by an ticket #4796. I don't recall why it is needed, but the OP seemed to think it useful.
I might be wrong, but my interpretatio...
sawa (Tsuyoshi Sawada)
04:08 AM Bug #12220: Why does Coverage keep previously-loaded files as empty arrays?
Coverage is a very special module. Please use it just as rdoc says:
> ~~~
> ...
I don't care the behavior of restarting coverage because I have no actual use case. Do you have any? I don't think that ruby/spec is.
This module i...
mame (Yusuke Endoh)
09:42 AM Bug #12221 (Rejected): Enumerable#sort_by method doesn't work properly when the array has more than 6 elements and you pass nil to the block
Tsuyoshi Sawada wrote:
> What is wrong with it?
To expand on this, you tell Ruby that all the values in the array should be 'valued' at nil. Therefore, they are equal, and any order will be correct. You can exchange nil with any othe...
duerst (Martin Dürst)
08:24 AM Bug #12221: Enumerable#sort_by method doesn't work properly when the array has more than 6 elements and you pass nil to the block
What is wrong with it? sawa (Tsuyoshi Sawada)
08:02 AM Bug #12221 (Rejected): Enumerable#sort_by method doesn't work properly when the array has more than 6 elements and you pass nil to the block
~~~
%w(1 2).sort_by { |i| nil }
# => ["1", "2"]
# ...
%w(1 2 3 4 5 6).sort_by { |i| nil }
# => ["1", "2", "3", "4", "5", "6"]
~~~
So far, so good...
But look what happens when you have 7 or more elements:
~~~
%w(1 2 3 4...
lucascaton (Lucas Caton)
03:55 AM Revision d1e2d6a9 (git): sprintf.c: simplify
* sprintf.c (rb_str_format): remove repeated calculations.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:13 AM Revision ee2f3c6d (git): sprintf.c: Rational f by generic Integer functions
* sprintf.c (rb_str_format): convert Rational to floating point
format by using gereric Integer functions, not by methods which
can be overwritten.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54302 b2dd03c8-39d4-4d8f-98ff-823f...
nobu (Nobuyoshi Nakada)
01:18 AM Revision 3ce3e196 (git): * 2016-03-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:18 AM Revision 4719d4ec (git): gen_dummy_probes.rb: argument names
* tool/gen_dummy_probes.rb: preserve macro argument names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

03/26/2016

09:00 PM Bug #12220 (Closed): Why does Coverage keep previously-loaded files as empty arrays?
For instance,
ruby -e 'require "coverage"; Coverage.start; require "set"; Coverage.result; Coverage.start; require "tmpdir"; p Coverage.result'
{".../lib/ruby/2.2.0/set.rb"=>[],
".../lib/ruby/2.2.0/tmpdir.rb"=>[nil, nil, n...
Eregon (Benoit Daloze)
06:26 PM Bug #12120: [target/sh4] error: 'asm' operand requires impossible reload
Hi!
Just a quick update: I have started a discussion in the gcc bug tracker [1] since I am not so sure whether this is actually a bug in ruby or in gcc. One of the gcc developers, Oleg Endo, has suggested adding "-mlra" to gcc to use ...
glaubitz (John Paul Adrian Glaubitz)
06:18 PM Bug #11946: Assertion failed: (!STR_EMBED_P(shared)), function str_new_frozen, file string.c, line 1075.
I have the same setup, Rails 4.2, Ruby 2.3, Active Admin, and I got this bug as soon as I installed the country_select gem https://github.com/stefanpenner/country_select joemsak (Joe Sak)
05:12 PM Bug #12198: Hash#== sometimes returns false incorrectly
Tsuyoshi Sawada wrote:
> I thought you had previously written:
> ...
I've reported it as an issue with `Hash#==` method initially. The lack of `Set#rehash` has been pointed out by you and I suppose it should be implemented.
> Furth...
skalee (Sebastian Skalacki)
03:29 PM Bug #12198: Hash#== sometimes returns false incorrectly
Sebastian Skalacki wrote:
> `Set#rehash` is required
I thought you had previously written:
> ...
Furthermore, is this even a bug?
sawa (Tsuyoshi Sawada)
02:57 PM Bug #12198: Hash#== sometimes returns false incorrectly
IMHO documentation on Hash#== is incorrect at the moment. It says:
> Equality—Two hashes are equal if they each contain the same number of keys and if each key-value pair is equal to (according to Object#==) the corresponding elements...
skalee (Sebastian Skalacki)
03:29 PM Feature #12133: Ability to exclude start when defining a range
Yui NARUSE wrote:
>
> ...
Here you've used the case statement to exclude start on the middle range. The problem is the code is largely static while the values of the endpoints (and which ranges should include those endpoints) may chang...
slash_nick (Ryan Hosford)
01:38 PM Feature #12133: Ability to exclude start when defining a range
Ryan Hosford wrote:
> I think this is useful because it would give the ruby language a more complete implementation of ranges/intervals. I recently built a feature that requires me to cover the range from **a** to **b** with 2 to 5 sub-...
naruse (Yui NARUSE)
02:07 PM Feature #12208: Improve ri command
I like and use ri. It's nice that it works offline but there _are_ some inconveniences; two of them that come to my mind right now:
* For common method names the output is rather confusing, implementations from core and stdlib and ins...
stomar (Marcus Stollsteimer)
01:53 PM Bug #12202: nkf.c static void mime_putc the variable being used for loop used for outer loop too
I sent a pull request to its upstream (yes, nkf has its own project). So it's really up to its mainteners. I don't think this needs a hotfix in our copy. shyouhei (Shyouhei Urabe)
12:36 PM Bug #12219 (Closed): JSON.parse does not resolve to specific Class by 'json_class' attribute, when symbolize_names:true

When I enable symbolize_names, than parser does not match the 'json_class' attribute. The Hash instance is returned instead of expected instance of class defined in 'json_class' attribute.
~~~
JSON.parse(json, :create_additions =...
kek.forums@gmail.com (Petr Novak)
02:03 AM Revision 48597149 (git): test_integer.rb: refine test_round
* test/ruby/test_integer.rb (test_round): refine assertions and
borrow from rubyspec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:55 AM Revision 23e5b482 (git): numeric.c: rb_int2str
* numeric.c (rb_int2str): conversion function to String for
generic Integer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:54 AM Revision e9dc649d (git): numeric.c: rb_int_round
* numeric.c (rb_int_round): rounding function for generic
Integers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:54 AM Revision 79b209f1 (git): numeric.c: basic arithmetic
* numeric.c (rb_int_{uminus,plus,minus,mul,idiv,modulo}): basic
arithmetic functions for generic Integers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:52 AM Revision ed47a0ec (git): numeric.c: Fixnum predicts
* numeric.c (FIXNUM_{POSITIVE,NEGATIVE,ZERO}_P): predict macros
only for Fixnum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:42 AM Bug #12216: Class inherited Singleton method exclude argument from protected method accessing
Nobuyoshi Nakada wrote:
> Protected methods can be called from a same class instance.
So far I though, A and B is a different class instance, just they are in inheritance relationship.
But I see now,
class instance != object ins...
adamluzsi (Adam Luzsi)
01:22 AM Bug #12216: Class inherited Singleton method exclude argument from protected method accessing
Nobuyoshi Nakada wrote:
> Expected behavior.
> ...
Thank you very much!
My mistake, I mixed up with the private scope.
I'm terrible sorry for this.
Best regards,
Adam L.
adamluzsi (Adam Luzsi)
01:34 AM Revision 3f519a7b (git): compile.c: explicit address
* compile.c (prepare_compile_error): add & to explicit address of
functions to suppress warnings by old VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:58 AM Feature #12211: introduce Date#first_of_month and Date#last_of_month
Shyouhei Urabe wrote:
> Naming-wise, Rails (ActiveSupport) has Date#beginning_of_month. That name can be more familiar to other devs.
> ...
I think Date#beginning_of_month is bit verbose but okay too. How about to have an alias to Dat...
araipiyo (Shunichi Arai)
 

Also available in: Atom