Project

General

Profile

Activity

From 04/12/2016 to 04/18/2016

04/18/2016

10:59 PM Feature #12299 (Closed): Add Warning module for customized warning handling
This is another attempt to provide the same type of support for customized warning handling as #12026. matz had a couple of issues with #12026. First, he did not like the introduction of a new global variable. Second, he wanted the ab... jeremyevans0 (Jeremy Evans)
05:46 PM Bug #12249: Math.gamma(-0.0) should return -Infinity
ruby_2_3 r54643 merged revision(s) 54492,54494,54495,54496,54499,54503. nagachika (Tomoyuki Chikanaga)
05:46 PM Revision e824b05b (git): merge revision(s) 54492,54494,54495,54496,54499,54503: [Backport #12249]
* math.c (ruby_tgamma): fix tgamma(-0.0) on mingw.
[ruby-core:74817] [Bug #12249]
* math.c (ruby_lgamma_r): fix lgamma(-0.0) on mingw and OSX.
* math.c (ruby_lgamma_r): mswin's lgamma_r also seems to be wrong....
nagachika (Tomoyuki Chikanaga)
05:38 PM Bug #12190: DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
I also thought in the same way.
So, I did not backport this into 2.1.
usa (Usaku NAKAMURA)
05:26 PM Bug #12190: DateTime.strptime and Time.strptime does not have compatibility in terms of parsing timezone
I wonder if this change could break existing codes.
Any thoughts? If there's no real demand, I'll marks this as WONTFIX in 2.3 branch.
nagachika (Tomoyuki Chikanaga)
05:14 PM Feature #11816: Partial safe navigation operator
Oh, thanks for the fix. That was really fast. joanbm (Joan Blackmoore)
04:38 PM Feature #11816 (Assigned): Partial safe navigation operator
naruse (Yui NARUSE)
08:53 AM Feature #11816 (Closed): Partial safe navigation operator
Applied in changeset ruby_2_3|r54635.
----------
merge revision(s) 54628: [Backport #12296]
* compile.c (iseq_peephole_optimize): should not replace the
current target INSN, not to follow the replaced dangling link in
the caller...
naruse (Yui NARUSE)
07:13 AM Feature #11816 (Open): Partial safe navigation operator
nobu (Nobuyoshi Nakada)
07:07 AM Feature #11816 (Closed): Partial safe navigation operator
Applied in changeset r54628.
----------
compile.c: fix dangling link
* compile.c (iseq_peephole_optimize): should not replace the
current target INSN, not to follow the replaced dangling link in
the caller. [ruby-core:74993] [Bug ...
nobu (Nobuyoshi Nakada)
05:34 AM Feature #11816: Partial safe navigation operator
@Matthew
Thought about it again and would agree with the last paragraph. Direct substitution is not appropriate here, despite it sounds logical.
The *&.* operator is a strange beast as other general rules also won't apply, like (opti...
joanbm (Joan Blackmoore)
01:11 AM Feature #11816: Partial safe navigation operator
I don't necessarily disagree with the rest of Joan's post, but for this point:
Joan Blackmoore wrote:
>
> ...
That's perhaps not the right consistency to be searching for; the `&.` operator is a dressed up `.` operator. There's no ...
phluid61 (Matthew Kerwin)
12:36 AM Feature #11816: Partial safe navigation operator
I can understand the intention behind the proposal, but would like to express a (strong) disagreement with it.
The thing is that it would break language's consistency and is in contradiction to declared behavior.
"safe navigation o...
joanbm (Joan Blackmoore)
05:12 PM Bug #8851: alias/undef で % リテラルによるシンボルが使えない
ruby_2_3 r54642 merged revision(s) 53753,54131. nagachika (Tomoyuki Chikanaga)
05:12 PM Revision b7c90baf (git): merge revision(s) 53753,54131: [Backport #8851]
lex.c.blt: update
* lex.c.blt: follows r52429, not removing casts to int.
* defs/keywords (alias, undef): symbol literals are allowed.
* parse.y (parse_percent): should parse symbol literals for alias
...
nagachika (Tomoyuki Chikanaga)
03:54 PM Revision dd4f5901 (git): * test/logger/test_logdevice.rb: fix tests to pass on windows
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sonots (Naotoshi Seo)
03:07 PM Revision 7b2d4713 (git): * 2016-04-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:07 PM Revision 2c6f15b1 (git): * lib/logger.rb: Add shift_period_suffix option [Fix GH-10772]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sonots (Naotoshi Seo)
01:16 PM Feature #11955: Expose Object that Receives logs in Logger
I am wondering of the interface yet.
Users pass an io object to Logger constructor as `logdev` like `Logger.new(logdev)`, so getting the io object from `Logger#logdev` seems natural. However,
```
attr_reader :logdev
```
return...
sonots (Naotoshi Seo)
01:00 PM Bug #12298: Indeterministic ruby behavior when another thread is killed
Related Honeybadger bug: https://github.com/honeybadger-io/honeybadger-ruby/issues/186 rupert (Robert Pankowecki)
12:58 PM Bug #12298 (Rejected): Indeterministic ruby behavior when another thread is killed
```
#!ruby
require 'securerandom'
class MyThread < ::Thread; end
def delay
15
end
def run
loop { work }
rescue Exception => e
puts "#{Time.now} Exception"
ensure
puts "#{Time.now} stopping agent"
end
def wor...
rupert (Robert Pankowecki)
12:54 PM Bug #12297 (Rejected): Ruby stdlib date can parse non-existent date with year 0
Ruby date lib can parse date with year 0
`$ pry
[1] pry(main)> shitdate=Date.strptime('0000-01-07','%Y-%m-%d')
=> #<Date: 0000-01-07 ((1721064j,0s,0n),+0s,2299161j)>
[2] pry(main)> shitdate.year
=> 0
[3] pry(main)> `
There is n...
globi (t b)
10:45 AM Feature #12224 (Closed): logger: Allow specifying log level in constructor
Applied in changeset r54638.
----------
Allow specifying logger parameters in constructor
* lib/logger.rb: Allow specifying logger prameters such as level,
progname, datetime_format, formatter in constructor [Bug #12224]
sonots (Naotoshi Seo)
10:45 AM Revision a0409533 (git): Allow specifying logger parameters in constructor
* lib/logger.rb: Allow specifying logger prameters such as level,
progname, datetime_format, formatter in constructor [Bug #12224]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sonots (Naotoshi Seo)
09:13 AM Bug #12291: Struct member accessor is not consistent with hash access when keys are repeated
ruby_2_3 r54637 merged revision(s) 54611,54612. naruse (Yui NARUSE)
09:12 AM Revision 9dc33b83 (git): merge revision(s) 54611,54612: [Backport #12291]
* struct.c (struct_make_members_list): extract making member name
list from char* va_list, with creating symbols without
intermediate IDs.
* struct.c (struct_make_members_list, rb_struct_s_def): member
...
naruse (Yui NARUSE)
09:02 AM Bug #12238 (Rejected): Logger writes progname if log message is nil
sonots (Naotoshi Seo)
09:02 AM Bug #12238: Logger writes progname if log message is nil
Seems intended, so let me close.
(It is okay to change the behavior, but it looks also okay not to change the behavior)
sonots (Naotoshi Seo)
09:00 AM Misc #12283: Obsolete ChangeLog and commit message in Git-style
I welcome this proposal. It makes committing easier. Can you please tell us when this proposal will actually start? I see people still committing ChangeLog changes. duerst (Martin Dürst)
08:55 AM Bug #12264: Win32::Registry::API.DeleteKey and DeleteValue reference renamed constants
ruby_2_3 r54636 merged revision(s) 54529. naruse (Yui NARUSE)
08:54 AM Revision 79e826d7 (git): merge revision(s) 54529: [Backport #12264]
* ext/win32/lib/win32/registry.rb (DeleteValue, DeleteKey): fix
API names. [ruby-core:74863] [Bug #12264]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:53 AM Bug #12296 (Closed): [Backport] fix dangling link
Applied in changeset ruby_2_3|r54635.
----------
merge revision(s) 54628: [Backport #12296]
* compile.c (iseq_peephole_optimize): should not replace the
current target INSN, not to follow the replaced dangling link in
the caller...
naruse (Yui NARUSE)
08:53 AM Bug #12296: [Backport] fix dangling link
ruby_2_3 r54635 merged revision(s) 54628. naruse (Yui NARUSE)
07:17 AM Bug #12296 (Closed): [Backport] fix dangling link
Backport r54628 to fix infinite loop by dangling link.
c.f. https://bugs.ruby-lang.org/issues/11816#change-58120
nobu (Nobuyoshi Nakada)
08:53 AM Revision 4989a071 (git): merge revision(s) 54628: [Backport #12296]
* compile.c (iseq_peephole_optimize): should not replace the
current target INSN, not to follow the replaced dangling link in
the caller. [ruby-core:74993] [Bug #11816]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/b...
naruse (Yui NARUSE)
08:26 AM Bug #12279: cont.c: wrong _MSC_VER check
ruby_2_3 r54634 merged revision(s) 54574. naruse (Yui NARUSE)
08:26 AM Revision 892deeb5 (git): merge revision(s) 54574: [Backport #12279]
* cont.c (fiber_initialize_machine_stack_context): fix wrong
_MSC_VER check, should be decimal but not hexadecimal.
[ruby-core:74936] [Bug #12279]
* cont.c (fiber_initialize_machine_stack_context): fix wrong
...
naruse (Yui NARUSE)
08:17 AM Bug #12095: ruby_vm_at_exit can sometime cause a crash.
ruby_2_3 r54633 merged revision(s) 54484. naruse (Yui NARUSE)
08:15 AM Revision 157401a9 (git): merge revision(s) 54484: [Backport #12095]
* vm_core.h (rb_vm_struct): make at_exit a single linked list but
not RArray, not to mark the registered functions by the write
barrier. based on the patches by Evan Phoenix.
[ruby-core:73908] [Bug #12095]
...
naruse (Yui NARUSE)
08:00 AM Bug #12237: Coverage keeps tracking counts even after Coverage.result
ruby_2_3 r54632 merged revision(s) 54465. naruse (Yui NARUSE)
08:00 AM Revision 1b327a08 (git): merge revision(s) 54465: [Backport #12237]
* 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:...
naruse (Yui NARUSE)
07:34 AM Bug #12233: Please consider adding documentation to DateTime, one line, require 'date'
ruby_2_3 r54631 merged revision(s) 54444. naruse (Yui NARUSE)
07:33 AM Revision 0e30b44a (git): merge revision(s) 54444: [Backport #12233]
* 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/branches/ruby_2_3@54631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
07:08 AM Revision ec2f6316 (git): error.c: warn_vsprintf
* error.c (warn_vsprintf, warning_string): share common code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:08 AM Revision 5a0543e8 (git): error.c: compile_vsprintf
* error.c (compile_vsprintf): rename compile_snprintf, following
the argument changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:07 AM Revision 6ee3a2cd (git): compile.c: fix dangling link
* compile.c (iseq_peephole_optimize): should not replace the
current target INSN, not to follow the replaced dangling link in
the caller. [ruby-core:74993] [Bug #11816]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54628 b2dd03...
nobu (Nobuyoshi Nakada)
04:57 AM Bug #12199: About msys2 path conversion measures in make test-all
ruby_2_3 r54627 merged revision(s) 54086,54211,54233. naruse (Yui NARUSE)
04:57 AM Revision ffcad81c (git): merge revision(s) 54086,54211,54233: [Backport #12199]
* test/lib/test/unit.rb (Options#non_options): make regexp name
options prefixed with "!" negative filters.
* common.mk (TEST_EXCLUDES): use negative filter to exclude memory
leak tests. -x option excludes t...
naruse (Yui NARUSE)
03:57 AM Revision 0a38e38a (git): numeric.c: numeric ndigits
* numeric.c (num_floor, num_ceil, num_truncate): add an optional
parameter, digits, as well as Numeric#round. [Feature #12245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:56 AM Revision fe96a249 (git): numeric.c: flo_truncate
* numeric.c (flo_truncate): add an optional parameter, digits, as
well as Float#round. [Feature #12245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:55 AM Revision 39f31b8c (git): numeric.c: int_truncate
* numeric.c (int_truncate): add an optional parameter, digits, as
well as Integer#round. [Feature #12245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:40 AM Revision adc7cb24 (git): test_float.rb: assertions for negative floats
* test/ruby/test_float.rb: add assertions for round,floor,ceil on
negative floats. [Feature #12245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:38 AM Revision b25f06d3 (git): * 2016-04-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:38 AM Revision ae4eb682 (git): numeric.c: update doc [ci skip]
* numeric.c (int_to_i): [DOC] floor and ceil are no longer
synonyms. [Feature #12245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

04/17/2016

09:55 PM Bug #12295: Ripper not emitting on_parse_error for global variable name syntax errors
You can handle the case by using `compile_error` instead of `on_parse_error` as below:
```
$ ruby -rripper -e 'class X < Ripper; def compile_error(m) puts "ERROR #{m}" end end; X.parse ":~$"'
ERROR `$' without identifiers is not all...
usa (Usaku NAKAMURA)
07:54 PM Bug #12295: Ripper not emitting on_parse_error for global variable name syntax errors
After looking into this a little more it looks like the Ruby error is not a "parse error", though it probably should be? This might no longer be Ripper specific. Ruby just seems to give up on the above code no matter where it is placed i... lsegal (Loren Segal)
07:48 PM Bug #12295 (Rejected): Ripper not emitting on_parse_error for global variable name syntax errors
Ripper is not emitting the `on_parse_error` event for certain types of syntax errors, specifically for the following snippet of code:
```
:~$
```
Here is the Ruby syntax error:
```
$ ruby -v
ruby 2.3.0p0 (2015-12-25 revision...
lsegal (Loren Segal)
12:37 PM Revision 912948c7 (git): error.c: remove unused function
* error.c (rb_compile_bug): remove unused function, which has
never been exposed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:34 AM Revision 5e084529 (git): * array.c (rb_ary_sum): [DOC] fix typos.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
07:34 AM Feature #12281: Allow lexically scoped use of refinements with `using {}` block syntax
Not having any pro or contra opinion here but I would like to just briefly chime in that I find the syntax quite heavy.
module Foo
refine String do
It feels a bit ... odd with other ruby code that I would use or write, t...
shevegen (Robert A. Heiler)
01:49 AM Bug #12294 (Rejected): String encoding methods rename
Use `String#encode`. nobu (Nobuyoshi Nakada)
12:07 AM Bug #12294 (Rejected): String encoding methods rename
http://ruby-doc.org/stdlib-2.3.0/libdoc/nkf/rdoc/String.html
Most of the string encoding methods are named counter to the established pattern of other check and to_ methods.
Proposed changes:
~~~
iseuc -> euc?
isjis -> j...
baweaver (Brandon Weaver)
01:46 AM Bug #12293: BUILD FAILED (OS X 10.11.5 using ruby-build 20160330)
And the reason of segfault is the usual mixing incompatible libraries.
```
-- Control frame information -----------------------------------------------
c:0013 p:-17579912175910 s:0061 e:000060 TOP [FINISH]
```
nobu (Nobuyoshi Nakada)
01:06 AM Bug #12183: require "win32ole" すると終了ステータスが必ず 0 になる
手元で r49495 の修正で事象が解消されることを確認しました。
https://github.com/ruby/ruby/commit/99eaebcea3ae30f14da659cfd2d5b3b00ff9d351
suke (Masaki Suketa)

04/16/2016

07:43 PM Bug #12073: local variable interferes with keyword arguments
ruby_2_3 r54618 merged revision(s) 53834,53835,53836. nagachika (Tomoyuki Chikanaga)
07:43 PM Revision b118f5d8 (git): merge revision(s) 53834,53835,53836: [Backport #12073]
parse.y: simplify local ID condition
* parse.y (tokenize_ident, parse_ident): ident in tokenize_ident()
can be a local id only when called from parse_ident(), but never
from parse_gvar() and parse_atmark().
* parse.y...
nagachika (Tomoyuki Chikanaga)
07:28 PM Bug #12068: raise overwrites exception cause even if exception is not new
ruby_2_3 r54617 merged revision(s) 53819,53822. nagachika (Tomoyuki Chikanaga)
07:28 PM Revision 53298a28 (git): merge revision(s) 53819,53822: [Backport #12068]
* eval.c (setup_exception): set the cause only if it is explicitly
given or not set yet. [Bug #12068]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
07:21 PM Bug #12293 (Rejected): BUILD FAILED (OS X 10.11.5 using ruby-build 20160330)
Why you use such old version of ruby?
2.0.0 is already expired.
Try 2.3.0 or 2.2.4 (or 2.1.9/2.1.10, but I don't recommend).
usa (Usaku NAKAMURA)
05:37 PM Bug #12293 (Rejected): BUILD FAILED (OS X 10.11.5 using ruby-build 20160330)
Installing Ruby version 2.0.0-p353 on my Mac OSX Version: 10.11.5 Beta (15F18c), got an installation error. Thanks for the help in advance. thinktankshark (Sam Assadi)
07:20 PM Revision f2ee4c7e (git): * 2016-04-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:20 PM Revision 531514ba (git): * tool/redmine-backporter.rb: revisions are strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
11:16 AM Bug #12292 (Closed): Race between OpenSSL::SSL::SSLSocket#stop and #connect can cause a segmentation fault
The following code will demonstrate the issue:
~~~ruby
require "openssl"
require "socket"
ctx = OpenSSL::SSL::SSLContext.new
ctx.ciphers = "aNULL"
sock1, sock2 = UNIXSocket.pair
ssl1 = OpenSSL::SSL::SSLSocket.new(sock1, ctx)...
rhenium (Kazuki Yamaguchi)
05:25 AM Revision a17dfde3 (git): * ext/date/date_core.c : remove not used f_getlocal macro.
After r54553 f_getlocal macro is not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
05:14 AM Revision 3fa0fc69 (git): * ext/date/date_core.c : remove not used f_utc6 macro.
After r54169 f_utc6 macro is not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
04:20 AM Feature #12282: Hash#dig! for repeated applications of Hash#fetch
I concur with Shyouhei Urabe - the name seems to not entirely fit the
given outcome.
More typical use cases of methods with ! bang, if we ignore any
exception, would be more akin to things such as:
x = "abc" # => "abc"
...
shevegen (Robert A. Heiler)
01:00 AM Bug #12291 (Closed): Struct member accessor is not consistent with hash access when keys are repeated
Applied in changeset r54612.
----------
struct.c: unique members
* struct.c (struct_make_members_list, rb_struct_s_def): member
names should be unique. [ruby-core:74971] [Bug #12291]
nobu (Nobuyoshi Nakada)
01:00 AM Revision da2e0721 (git): struct.c: unique members
* struct.c (struct_make_members_list, rb_struct_s_def): member
names should be unique. [ruby-core:74971] [Bug #12291]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:59 AM Revision c746d502 (git): struct.c: struct_make_members_list
* struct.c (struct_make_members_list): extract making member name
list from char* va_list, with creating symbols without
intermediate IDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

04/15/2016

11:36 PM Bug #12183: require "win32ole" すると終了ステータスが必ず 0 になる
Cygwin パッケージ同梱のRubyでは再現しました。
自分でビルドしたruby 2.2.4p230 では再現しました。
自分でビルドしたruby 2.3.0 では再現しませんでした。
trunk でも再現しませんでした。
$ /usr/bin/ruby -ve 'require "win32ole"; abort'; echo $?
ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-cygwin]
...
suke (Masaki Suketa)
10:09 PM Misc #12124: Use Automake
C.J. Collier wrote:
> Shyouhei Urabe wrote:
> ...
I had a meeting yesterday at Microsoft in Redmond with members of the Visual Studio team. They are excited by the idea of enabling support for autotools in Visual Studio. We spoke abo...
cjcollier (C.J. Collier)
04:34 PM Revision 25c0a2d3 (git): * tool/redmine-backporter.rb: sort revisions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
04:26 PM Revision b59a158a (git): * array.c (rb_ary_sum): Don't yield same element twice.
Found by nagachika.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
04:25 PM Bug #12291: Struct member accessor is not consistent with hash access when keys are repeated
Interestingly, I'm seeing the following on ruby 2.0.0p648:
```
[1] pry(main)> foo = Struct.new(:a, :a).new("1", "2")
=> #<struct a="1", a="1">
```
jkrmr (Jake Romer)
04:13 PM Bug #12291: Struct member accessor is not consistent with hash access when keys are repeated
I would expect that foo['a'] and foo.a to return the same value. jcole1989 (James Coleman)
04:12 PM Bug #12291 (Closed): Struct member accessor is not consistent with hash access when keys are repeated
~~~
irb(main):001:0> foo = Struct.new(:a, :a).new("1", "2")
=> #<struct a="1", a="2">
irb(main):002:0> foo.a
=> "2"
irb(main):003:0> foo['a']
=> "1"
irb(main):004:0> foo.members
=> [:a, :a]
irb(main):005:0> foo.to_h
=> {:a=>"2"...
jcole1989 (James Coleman)
04:22 PM Bug #12287: [Backport] r53619: libdir_basename on Windows
ruby_2_3 r54608 merged revision(s) 53619,53620,53621,53622,53623,53624,53626,53627. nagachika (Tomoyuki Chikanaga)
05:49 AM Bug #12287 (Closed): [Backport] r53619: libdir_basename on Windows
Windowsでも32bit/64bit用のライブラリを使い分けるために--with-libdirをバックポートしてください。 nobu (Nobuyoshi Nakada)
04:22 PM Revision ef5b2914 (git): merge revision(s) 53619,53620,53621,53622,53623,53624,53626,53627: [Backport #12287]
configure.bat: --with-libdir
* win32/configure.bat: add --with-libdir option for basename of
libdir. on Windows it must be placed under exec_prefix always.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54608 ...
nagachika (Tomoyuki Chikanaga)
04:07 PM Bug #12290: Possible segfault with Thread#name=
ruby_2_3 r54607 merged revision(s) 54598,54600. nagachika (Tomoyuki Chikanaga)
12:12 PM Bug #12290 (Closed): Possible segfault with Thread#name=
Applied in changeset r54598.
----------
thread.c: must be initialized to set name
* thread.c (get_initialized_threadptr): extract ensuring that the
thread is initialized.
* thread.c (rb_thread_setname): thread must be initialized to ...
nobu (Nobuyoshi Nakada)
11:51 AM Bug #12290: Possible segfault with Thread#name=
That patch still segfaulted when using `self.name = nil`. Version 2 attached. herwinw (Herwin Quarantainenet)
11:44 AM Bug #12290: Possible segfault with Thread#name=
And this is the simplest solution I could think of. It throws an exception, which is a better way to react than a segfault. Making it actually work would of course be even better. herwinw (Herwin Quarantainenet)
11:23 AM Bug #12290: Possible segfault with Thread#name=
And since it's pretty easy to get the relevant source on a running debian system:
```
int
pthread_setname_np (th, name)
pthread_t th;
const char *name;
{
const struct pthread *pd = (const struct pthread *) th;
...
...
herwinw (Herwin Quarantainenet)
11:14 AM Bug #12290: Possible segfault with Thread#name=
And of course the backtrace can be improved when installing the debugging symbols for libc
```
/lib/i386-linux-gnu/i686/cmov/libpthread.so.0(pthread_setname_np+0x50) [0xf73e0ed0] ../nptl/sysdeps/unix/sysv/linux/pthread_setname.c:49
...
herwinw (Herwin Quarantainenet)
11:07 AM Bug #12290 (Closed): Possible segfault with Thread#name=
Ruby 2.3 added a Thread#name=, which may segfault when used incorrectly. This little program:
```ruby
class SubClassedThread < Thread
def initialize()
self.name = 'foo'
super do
yield
end
end
end
SubCl...
herwinw (Herwin Quarantainenet)
04:07 PM Revision 260d1ac2 (git): merge revision(s) 54598,54600: [Backport #12290]
* thread.c (get_initialized_threadptr): extract ensuring that the
thread is initialized.
* thread.c (rb_thread_setname): thread must be initialized to set
the name. [ruby-core:74963] [Bug #12290]
* ...
nagachika (Tomoyuki Chikanaga)
04:04 PM Revision 72305d25 (git): * array.c (rb_ary_sum): Fix SEGV by [1/2r, 1].sum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
03:26 PM Revision 7111e7c6 (git): * 2016-04-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:26 PM Revision 4873e621 (git): mention Array#sum with third-party gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:54 PM Revision d1d95056 (git): rename rb_rational_add -> rb_rational_plus
* rational.c (rb_rational_plus): rename from rb_rational_add
to be aligned with rb_fix_plus.
* array.c (rb_ary_sum): ditto.
* internal.h: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54603 b2dd03c8-39d4-4d8f-98ff-823fe69...
Kenta Murata
02:46 PM Revision 0a267b79 (git): array.c (rb_ary_sum): use rb_rational_add directly
* rational.c (rb_rational_add): rename from nurat_add.
* array.c (rb_ary_sum): use rb_rational_add directly.
* test/ruby/test_array.rb (test_sum): add assertions for an array of
Rational values.
git-svn-id: svn+ssh://ci.ruby-lang.or...
Kenta Murata
01:33 PM Revision a945eb9d (git): array.c: sum for Rational and Float mixed arrays
* array.c (rb_ary_sum): apply the precision compensated algorithm
for an array in which Rational and Float values are mixed.
* test/ruby/test_array.rb (test_sum): add assertions for the above
change.
git-svn-id: svn+ssh://ci.ruby-l...
Kenta Murata
01:30 PM Revision 4bf8fa83 (git): thread.c: defer setting name in initialize
* thread.c (rb_thread_setname): defer setting native thread name
set in initialize until the native thread is created.
[ruby-core:74963] [Bug #12290]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54600 b2dd03c8-39d4-4d8f-98ff-82...
nobu (Nobuyoshi Nakada)
12:32 PM Feature #10098: [PATCH] Timing-safe string comparison for OpenSSL::HMAC
Following is a patch but I just found there's OPENSSL_memcmp, which is not timing safe...
```diff
diff --git a/ext/openssl/ossl.c b/ext/openssl/ossl.c
index d03dfa7..76333e2 100644
--- a/ext/openssl/ossl.c
+++ b/ext/openssl/ossl.c...
naruse (Yui NARUSE)
12:13 PM Revision ffd0301a (git): win32/console: io_handle
* ext/-test-/win32/console/attribute.c (io_handle): extract
conversion from IO instance to HANDLE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:12 PM Revision f7d0059e (git): thread.c: must be initialized to set name
* thread.c (get_initialized_threadptr): extract ensuring that the
thread is initialized.
* thread.c (rb_thread_setname): thread must be initialized to set
the name. [ruby-core:74963] [Bug #12290]
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
12:10 PM Revision 59d521ad (git): merge revision(s) 54596:
* lib/irb/ext/save-history.rb: Fix NoMethodError when method is not defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:27 AM Revision 589169cb (git): * lib/irb/ext/save-history.rb: Fix NoMethodError when method is not defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
10:00 AM Bug #12289 (Third Party's Issue): Segmentation fault at 0x00000000000020 ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
/home/.../shared/bundle/ruby/2.2.0/gems/curb-0.9.1/lib/curl/easy.rb:68: [BUG] Segmentation fault at 0x00000000000020
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
crn (Carsten Rösnick-Neugebauer)
09:53 AM Bug #11916: Fix delegating to 'args' and 'block'
ruby_2_3 r54595 merged revision(s) 53381. naruse (Yui NARUSE)
07:22 AM Revision 6fe4aa6e (git): merge revision(s) 53381: [Backport #11916]
* lib/forwardable.rb (def_instance_delegator) fix delegating to
'args' and 'block', clashing with local variables in generated
methods. [ruby-core:72579] [Bug #11916]
* lib/forwardable.rb (def_single_delegat...
naruse (Yui NARUSE)
07:08 AM Bug #12284: io-console gem >= 0.4.3 breaks on Windows ruby < 2.2.0 due to needing rb_sym2str
I can't push the new gem to rubygems.org.
Could you try the attached file?
nobu (Nobuyoshi Nakada)
12:03 AM Bug #12284 (Closed): io-console gem >= 0.4.3 breaks on Windows ruby < 2.2.0 due to needing rb_sym2str
Applied in changeset r54587.
----------
io/console: rb_sym2str
* ext/io/console/console.c (rb_sym2str): fallback definition for
older ruby. [ruby-core:74953] [Bug #12284]
nobu (Nobuyoshi Nakada)
06:39 AM Revision b80598a9 (git): * common.mk (benchmark): order options for built-ruby and compare-ruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:15 AM Revision 53d48629 (git): io/console: bump up
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:01 AM Bug #12288 (Closed): [Backport] r49576: check RAND_egd to support libressl
libresslサポートをバックポートしてください。 nobu (Nobuyoshi Nakada)
05:27 AM Revision a2edc111 (git): merge revision(s) 54576:
* lib/irb/ext/save-history.rb: suppress warning: method redefined;
discarding old save_history=.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@54592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:16 AM Revision 741229b4 (git): * test/ruby/test_array.rb (test_sum): add assertions for Rational and
Complex numbers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
03:33 AM Bug #9569: SecureRandom should try /dev/urandom first
I'm aware that current Linux urandom *happen to* be safe for our needs in current implementation. I'm also skeptical about OpenSSL's code quality in general. The problem preventing me to +1 this request is that I cannot find any statem... shyouhei (Shyouhei Urabe)
03:03 AM Feature #12282: Hash#dig! for repeated applications of Hash#fetch
I don't like the name. It doesn't uniform other usage of bang in method names. shyouhei (Shyouhei Urabe)
02:23 AM Bug #12286 (Third Party's Issue): Segfault on ruby 2.3.0p0 (2015-12-25 revision 53290) [armv7l-linux-eabihf]
Hi everyone,
I am running Ruby 2.3.0 on an ARM device (A Raspberry Pi v3, to be exact).
I keep hitting the segfault listed below. Source code for the application is available at: https://github.com/FarmBot/farmbot-raspberry-pi-cont...
rickcarlino (Rick Carlino)
01:17 AM Revision 1826991f (git): NEWS: mention [Feature #12245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:07 AM Revision e78beed4 (git): io/console: unknown key code for names with nul
* ext/io/console/console.c (console_key_pressed_p): raise the same
exception, "unknown virtual key code", for names with nul chars.
though console_win32_vk() considers the length and can deal with
nul chars, rb_sprintf() raised at ...
nobu (Nobuyoshi Nakada)
01:06 AM Revision caaf4f2a (git): io/console: move conditions
* test/io/console/test_io_console.rb: move conditions for method
definitions before the bodies.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:02 AM Revision 9816f878 (git): io/console: rb_sym2str
* ext/io/console/console.c (rb_sym2str): fallback definition for
older ruby. [ruby-core:74953] [Bug #12284]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:02 AM Revision cc91082a (git): io/console: use rb_funcallv
* ext/io/console/console.c: use rb_funcallv instead of
rb_funcall2, and define rb_funcallv if unavailable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:02 AM Revision c88d0666 (git): io/console: fallback RARRAY_CONST_PTR
* ext/io/console/console.c (RARRAY_CONST_PTR): fallback definition
for older ruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:02 AM Revision 01776871 (git): io/console: reject symbols with nul char
* ext/io/console/console.c (console_key_pressed_p): symbol names
can contain nul chars, reject them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

04/14/2016

09:56 PM Bug #12285 (Closed): Date.iso8601 does not properly handle partial date strings
> For reduced accuracy, any number of values may be dropped from any of the date and time representations, but in the order from the least to the most significant. For example, "2004-05" is a valid ISO 8601 date, which indicates May (the... backus (John Backus)
09:51 PM Misc #12283: Obsolete ChangeLog and commit message in Git-style
[email protected] wrote:
> How about Git-style commit message instead of ChangeLog?

Yes please :)

The current changelog format is a very annoying barrier to
making commits; especially for applying patches from others.

> Matz ...
normalperson (Eric Wong)
06:57 PM Misc #12283 (Closed): Obsolete ChangeLog and commit message in Git-style
How about Git-style commit message instead of ChangeLog?
## Proposal
After we reach the consensus
1. Write a commit message in Git-style.
* Line 1: summary of commit (around 80 characters or less, <50 is better)
* Line 2...
naruse (Yui NARUSE)
09:41 PM Revision 336ab285 (git): fix commit miss
* ChangeLog: remove duplicate entry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:16 PM Bug #12284 (Closed): io-console gem >= 0.4.3 breaks on Windows ruby < 2.2.0 due to needing rb_sym2str
Ruby 2.1.x users (on Windows) who do "gem update" and try to build io-console 0.4.3 or later fail at link-time.
rb_sym2str was first used in console.c in r50427
rb_sym2str was implemented in ruby 2.20
Excerpt of build failure:
...
hobart (Jon Bailey)
04:19 PM Revision eb4b2b96 (git): * 2016-04-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:19 PM Revision 32959b0b (git): add assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:40 PM Revision ad2f660e (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:57 PM Revision c0e3b20e (git): add an assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:56 PM Revision df941c91 (git): [DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:48 PM Revision 76426c7e (git): * array.c (rb_ary_sum): Support the optional argument, init, and block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:43 PM Bug #12181: ブロックがたくさんあるファイルを編集するとruby-modeが重い
http://svn.ruby-lang.org/repos/ruby/trunk/misc/ruby-mode.el と http://svn.ruby-lang.org/repos/ruby/trunk/misc/ruby-electric.el を一緒に使っていました。
okkez (okkez _)
12:27 PM Bug #12270: 2.3.0/2.4.0 で stackprof を実行すると SEGV することがある
fixed by stackprof v0.2.9. naruse (Yui NARUSE)
10:06 AM Revision af24631a (git): * lib/irb/ext/save-history.rb: suppress warning: method redefined;
discarding old save_history=.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
08:09 AM Feature #12282: Hash#dig! for repeated applications of Hash#fetch
Nobuyoshi Nakada wrote:
> It raises a `TypeError`.
I think it is a typographical error of
~~~ruby
places.dig :countries, :ontario # => nil
places.dig! :countries, :ontario # => KeyError: Key not found: :ontario
~~~
sawa (Tsuyoshi Sawada)
07:22 AM Feature #12282: Hash#dig! for repeated applications of Hash#fetch
Nobuyoshi Nakada wrote:
> It raises a `TypeError`.
So you have the method which raises an exception already.
nobu (Nobuyoshi Nakada)
07:21 AM Feature #12282: Hash#dig! for repeated applications of Hash#fetch
I'm negative because:
1. This example is wrong.
~~~ruby
places.dig :countries, :canada, :ontario # => nil
~~~
It raises a `TypeError`.
2. It feels curious to me that the method with '!' raises an exception...
nobu (Nobuyoshi Nakada)
06:56 AM Feature #12282: Hash#dig! for repeated applications of Hash#fetch
This makes sense only within limited cases, i.e. when the same key never appears at different depths. For example, if you get an error:
~~~ruby
hash.dig!(:foo, :bar, :foo) # => KeyError: Key not found: :foo
~~~
you cannot tell wh...
sawa (Tsuyoshi Sawada)
06:35 AM Feature #12282 (Open): Hash#dig! for repeated applications of Hash#fetch
A new feature for your consideration: #dig! which is to #fetch as #dig is to #[]. For me and maybe many others, Hash#fetch is used much more than Hash#[]. And traversing multiple fetches isn't very convenient nor Ruby-like, e.g.: places.... robb (Robb Shecter)
05:58 AM Revision 31a3a862 (git): tkutil.c: ary can be nil
* ext/tk/tkutil/tkutil.c (tk_hash_kv): the third argument can be
nil not only an Array. reported by @windwiny at
https://github.com/ruby/ruby/commit/cdaa94e#commitcomment-17096618
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5...
nobu (Nobuyoshi Nakada)
05:29 AM Bug #12279 (Closed): cont.c: wrong _MSC_VER check
Applied in changeset r54574.
----------
cont.c: wrong _MSC_VER check
* cont.c (fiber_initialize_machine_stack_context): fix wrong
_MSC_VER check, should be decimal but not hexadecimal.
[ruby-core:74936] [Bug #12279]
nobu (Nobuyoshi Nakada)
05:28 AM Revision 06ccd684 (git): cont.c: wrong _MSC_VER check
* cont.c (fiber_initialize_machine_stack_context): fix wrong
_MSC_VER check, should be decimal but not hexadecimal.
[ruby-core:74936] [Bug #12279]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54574 b2dd03c8-39d4-4d8f-98ff-823fe...
nobu (Nobuyoshi Nakada)
04:41 AM Revision 24eb2e9c (git): process.c: prefer rb_check_arity
* process.c: use rb_check_arity instead of rb_scan_args for simple
optional arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:56 AM Feature #12281: Allow lexically scoped use of refinements with `using {}` block syntax
I would also like the block for `using` to have access to local variables.
~~~ruby
def example(thing)
using MyCapitalize do
thing.my_capitalize
end
end
example "hello"
# => "Hello"
~~~
danielpclark (Daniel P. Clark)
03:48 AM Feature #12281 (Assigned): Allow lexically scoped use of refinements with `using {}` block syntax
In Ruby 2.2.3 a refinement could be used in a begin/end block.
~~~ruby
module Moo
refine Fixnum do
def to_s
"moo"
end
end
end
begin # valid Ruby 2.2.3 and NOT Ruby 2.3
using Moo
1.to_s
end
# => "moo...
danielpclark (Daniel P. Clark)
02:45 AM Bug #11704: Refinements only get "used" once in loop
Tsuyoshi Sawada wrote:
> I had made a feature request #12079 (later than this post) to allow refinements to be effective in such cases.
I like it. One note: Your code examples don't have a lexically scoped block. For them to work i...
danielpclark (Daniel P. Clark)
02:03 AM Bug #11704: Refinements only get "used" once in loop
Daniel P. Clark wrote:
> According to John (who commented on my blog on this issue) this is a Dynamic Dispatch issue. And the following example may be a related.
I had made a feature request #12079 (later than this post) to allow re...
sawa (Tsuyoshi Sawada)
01:55 AM Bug #12179: Build failure due to VPATH expansion
Seems there is no way to tell `make` not to use `VPATH` for a particular target. nobu (Nobuyoshi Nakada)
01:30 AM Revision 7343b492 (git): ruby-runner.h
* template/ruby-runner.h.in: separate configured part from
ruby-runner.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:25 AM Revision 1a88b871 (git): configure.in: feature macros on cygwin
* configure.in (cygwin): add feature macros for the declarations
of eaccess.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:25 AM Revision a86d5d16 (git): configure.in: tabify
* configure.in: tabify spaces after a tab.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:00 AM Revision 90a5257d (git): * 2016-04-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:00 AM Revision 350a7400 (git): [DOC]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)

04/13/2016

10:12 PM Feature #12280: IO.copy_stream(IO, IO) fails with "pread() not implemented"
Eric Wong wrote:
> [email protected] wrote:
> ...
Thanks for the quick reply!
For me, having a message like:
"NotImplementedError: IO.copy_stream with offset is not supported on Windows since it is not atomic"
would be a good eno...
Eregon (Benoit Daloze)
10:03 PM Feature #12280: IO.copy_stream(IO, IO) fails with "pread() not implemented"
[email protected] wrote:
> IO.copy_stream on Windows with IO having an offset fails with:
> NotImplementedError: pread() not implemented
>
> This seems suboptimal, should a clearer be reported?

Not sure. Maybe include a bug re...
normalperson (Eric Wong)
09:03 PM Feature #12280 (Open): IO.copy_stream(IO, IO) fails with "pread() not implemented"
IO.copy_stream on Windows with IO having an offset fails with:
NotImplementedError: pread() not implemented
This seems suboptimal, should a clearer be reported?
Is it a platform limitation?
Eregon (Benoit Daloze)
08:19 PM Bug #11704: Refinements only get "used" once in loop
According to John (who commented on my blog on this issue) this is a Dynamic Dispatch issue. And the following example may be a related.
~~~ruby
module Moo
refine Fixnum do
def to_s
"moo"
end
end
end
class...
danielpclark (Daniel P. Clark)
07:17 PM Bug #12279 (Closed): cont.c: wrong _MSC_VER check
2.3.0 and trunk are affected. I wonder why compiling with Visual C++ 6.0 is still supported.
~~~diff
diff --git a/cont.c b/cont.c
index 8ebd78f..729a025 100644
--- a/cont.c
+++ b/cont.c
@@ -657,7 +657,7 @@ fiber_initialize_machin...
cremno (cremno phobia)
06:32 PM Misc #12277: Coding rule: colum number
[email protected] wrote:
> Eric proposed that code should be limited in 80 column.
> https://bugs.ruby-lang.org/issues/12236#note-1

Not a proposal, just citing existing/common standard:

https://www.emacswiki.org/emacs/EightyColumnR...
normalperson (Eric Wong)
11:52 AM Misc #12277: Coding rule: colum number
I was on the meeting. I'm for some line width cap, be they 80 or 120.
It is a good idea to be concise. I'm especially for comments being concise.
However I don't like the idea of indiscreetly line-folding things _only because_ they...
shyouhei (Shyouhei Urabe)
07:54 AM Misc #12277 (Open): Coding rule: colum number
Eric proposed that code should be limited in 80 column.
https://bugs.ruby-lang.org/issues/12236#note-1
At today's developer's meeting, I asked how long column is suitable.
* declaration can over limitation.
* logic should have so...
ko1 (Koichi Sasada)
06:28 PM Bug #12278 (Closed): Sometimes I have segmentation fault with procs reducer
Hello,
Sometimes I have segmentation fault for code like:
~~~
# /Users/newmen/projects/versatile-diamond/analyzer/lib/modules/procs_reducer.rb:35
8 # Combines passed procs to one function
9 # @param [Array] procs which w...
newmen (Gleb Averchuk)
03:47 PM Bug #9569: SecureRandom should try /dev/urandom first
I would just like to +1 that the text on the random(4) page is incorrect. Regarding fixing it, this bug has been open on the Linux kernel bug tracker for 2 years:
https://bugzilla.kernel.org/show_bug.cgi?id=71211
I would look to so...
bascule (Tony Arcieri)
09:02 AM Bug #9569: SecureRandom should try /dev/urandom first
There's now a new paper outlining RNG weaknesses in OpenSSL: https://eprint.iacr.org/2016/367.pdf
Again: Please switch to a proper RNG/seeding mechanism as suggested by multiple people earlier.
Thanks,
Aaron
azet (Aaron Zauner)
02:55 PM Revision 8574a372 (git): Array#sum described.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
02:40 PM Revision 30d7fb37 (git): add a space in [ruby-core:74569] [Feature #12217]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
01:51 PM Revision b359d203 (git): * array.c (rb_ary_sum): Array#sum is implemented.
Kahan's compensated summation algorithm for precise sum of float
numbers is moved from ary_inject_op in enum.c.
* enum.c (ary_inject_op): Don't specialize for float numbers.
[ruby-core:74569] [Feature#12217] proposed by mrkn.
gi...
akr (Akira Tanaka)
01:01 PM Bug #12181 (Feedback): ブロックがたくさんあるファイルを編集するとruby-modeが重い
Emacs 24付属のruby-mode.elではとくに問題がないように思えますが、どのバージョンでしょうか。 nobu (Nobuyoshi Nakada)
12:55 PM Bug #12274: accessing to instance variable should be fast.
> About the object check, is it not problematic to do ((struct RBasic*)obj)->klass if obj is a tagged integer (since klass is the second member, after flags)?
Thank you for pointing out.
I'll revive check.
tarui (Masaya Tarui)
09:32 AM Bug #12274: accessing to instance variable should be fast.
Masaya Tarui wrote:
> there are 2 parts of optimization.
> ...
I see, thanks for explaining :)
About the object check, is it not problematic to do ((struct RBasic*)obj)->klass if obj is a tagged integer (since klass is the second me...
Eregon (Benoit Daloze)
01:32 AM Bug #12274: accessing to instance variable should be fast.
2016-04-13 5:41 GMT+09:00 <[email protected]>:
> Issue #12274 has been updated by Benoit Daloze.
> ...
It is not for avoiding ID2SYM (In fact, it is calculated every time
:-), it is for sharing.
Please check the 0007 below
```
...
tarui (Masaya Tarui)
01:13 AM Bug #12274: accessing to instance variable should be fast.

there are 2 parts of optimization.
* share inline cache between same symbol(at compile.c)
* inline fast pass only and cut useless check(RB_TYPE_P).(at insns.def)
We can skip st_lookup from the 2nd insns by sharing cache.
I...
tarui (Masaya Tarui)
12:44 PM Bug #12183: require "win32ole" すると終了ステータスが必ず 0 になる
r54533では再現できませんでした。 nobu (Nobuyoshi Nakada)
06:47 AM Bug #12183: require "win32ole" すると終了ステータスが必ず 0 になる
あまり役に立たない情報かもしれませんが、mswin64ではどのバージョンでも問題が再現しないことを確認しました。 usa (Usaku NAKAMURA)
06:36 AM Bug #12183 (Assigned): require "win32ole" すると終了ステータスが必ず 0 になる
shyouhei (Shyouhei Urabe)
07:57 AM Feature #11210 (Assigned): IPAddr has no public method to get the current subnet mask
Sorry for being inactive.
I've made some comments in the above PR.
I can't recall the exact reason why there's no access to the netmask provided, but one main design concept of IPAddr by the original author (Ume-san) was to allow m...
knu (Akinori MUSHA)
07:02 AM Bug #11878 (Assigned): Comparison of prepended modules
naruse (Yui NARUSE)
06:56 AM Revision c2585351 (git): numeric.c: flo_ceil
* numeric.c (flo_ceil): add an optional parameter, digits, as
well as Float#round. [Feature #12245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:54 AM Revision d56b2776 (git): numeric.c: flo_floor
* numeric.c (flo_floor): add an optional parameter, digits, as
well as Integer#floor. [Feature #12245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:50 AM Feature #12245 (Closed): optional parameter ndigits to Integer#floor, Integer#ceil, Float#floor, Float#ceil
Applied in changeset r54562.
----------
numeric.c: int_ceil
* numeric.c (int_ceil): add an optional parameter, digits, as
well as Integer#round. [Feature #12245]
nobu (Nobuyoshi Nakada)
06:50 AM Revision a1542d33 (git): numeric.c: int_ceil
* numeric.c (int_ceil): add an optional parameter, digits, as
well as Integer#round. [Feature #12245]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:50 AM Feature #7361 (Rejected): Adding Pathname#touch
I don't like the method name "touch".
"touch" command has multiple features:
create empty file, update mtime.
So, the intent of touch method is ambiguous.
akr (Akira Tanaka)
06:47 AM Revision 15558a8f (git): numeric.c: int_floor
* numeric.c (int_floor): add an optional parameter, digits, as
well as Integer#round.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
06:40 AM Bug #12184 (Assigned): Cygwin LANG=ja_JP.SJIS 環境でコマンドライン引数に日本語が渡せない
Nobu will look into it. shyouhei (Shyouhei Urabe)
06:14 AM Revision 163604ec (git): NEWS: [Feature #9969]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:01 AM Feature #12222: Introducing basic statistics methods for Enumerable (and optimized implementation for Array)
Hi,
I agree with adding `sum` to `Array`. It is natural and easy to define.
I disagree (for now) for adding it to `Enumerable` since it may not be meaningful (e.g. Hash).
Matz.
matz (Yukihiro Matsumoto)
05:53 AM Feature #12026 (Closed): Support warning processor
Hi,
* I agree with the need for filtering/customizing warnings
* but I disagree with the use of a global variable
* casting warnings via `warn` method may work
* but there might be need for controlling warnings per gem/class basis
...
matz (Yukihiro Matsumoto)
05:47 AM Feature #9969 (Closed): Add File.empty? as alias to File.zero?
Applied in changeset r54559.
----------
file.c: File.empty?
* file.c (Init_File): add alias File.empty? to File.zero?.
[Feature #9969]
nobu (Nobuyoshi Nakada)
05:24 AM Feature #9969: Add File.empty? as alias to File.zero?
OK, agreed.
Matz.
matz (Yukihiro Matsumoto)
05:47 AM Revision 096137e8 (git): file.c: File.empty?
* file.c (Init_File): add alias File.empty? to File.zero?.
[Feature #9969]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:36 AM Feature #10617 (Closed): Change multiple assignment in conditional from parse error to warning
Applied in changeset r54558.
----------
parse.y: massign in cond
* parse.y (assign_in_cond): allow multiple assignment in
conditional expression. [Feature #10617]
nobu (Nobuyoshi Nakada)
05:36 AM Revision 134d1ce8 (git): parse.y: massign in cond
* parse.y (assign_in_cond): allow multiple assignment in
conditional expression. [Feature #10617]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
05:24 AM Feature #11547: remove top-level constant lookup
I am for this proposal, but also concern about code breakage. Let's try removing top-level constant look-up in 2.4dev and see how much code it breaks.
Matz.
matz (Yukihiro Matsumoto)
05:16 AM Feature #12272: Accepting HTML entity name in string literal
Tsuyoshi Sawada wrote:
> Ideally, I would prefer LaTeX math symbol commands, which I believe many people have wider handle on.
I think there are strong individual differences. Therefore, it doesn't make that much sense to implement...
duerst (Martin Dürst)
05:12 AM Revision 1ea1d2e4 (git): numeric.c: int_round_zero_p
* bignum.c (rb_big_size): add wrapper function of BIGSIZE and
rename the method funtion with _m suffix.
* numeric.c (int_round_zero_p): extracted from rb_int_round.
optimize for Bignum, and convert VALUE returned by Numeric#size
to...
nobu (Nobuyoshi Nakada)
03:03 AM Revision 9d258137 (git): * test/ruby/test_basicinstructions.rb: add a test to check access
instance variables on special const objects.
All of such objects are frozen, so that we can not set instance
variables for them. But we can read instance variables and return
default value (nil).
git-svn-id: svn+ssh://ci.ruby-la...
ko1 (Koichi Sasada)
02:41 AM Revision 182f8d7e (git): * 2016-04-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:41 AM Revision aaf0f51f (git): numeric.c: float_invariant_round
* numeric.c (float_invariant_round): extracted from flo_round to
be optimizer-friendly, e.g., tail-call optimization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:38 AM Bug #12269: Nesting Two-levels of Hash with Hash as default value makes top level Hash not list keys/values and causes reference issue with nested values.
Re: "it is possible to overwrite the values of keys in the 2nd level hash via new assignments to entirely different keys on the 2nd level hash"
It is per spec. The hash default value is shared among keys. This is not only for nested...
shyouhei (Shyouhei Urabe)
02:13 AM Bug #12276: Quoting error involving '$' characters in DT_RPATH pathnames
Nobuyoshi Nakada wrote:
> Doesn't `configure --enable-load-relative` work?
I believe --enable-load-relative works with the module loading process, which is slightly different from my problem. I want to ensure correct linkage of share...
eam (Evan Miller)
01:00 AM Bug #12276 (Feedback): Quoting error involving '$' characters in DT_RPATH pathnames
Doesn't `configure --enable-load-relative` work? nobu (Nobuyoshi Nakada)
12:42 AM Bug #12270: 2.3.0/2.4.0 で stackprof を実行すると SEGV することがある
僕も stackprof の master で SEGV が起きないことを確認しました。
参考: https://twitter.com/mametter/status/719795060015898624
hsbt (Hiroshi SHIBATA)

04/12/2016

11:45 PM Bug #12276 (Closed): Quoting error involving '$' characters in DT_RPATH pathnames
Often it's desired to use DT_RPATH in Ruby and associated extension objects when bundling custom libraries for a Ruby application. Often absolute paths cannot be known at build-time, so the linker provides the $ORIGIN macro used to build... eam (Evan Miller)
11:04 PM Bug #11430: Redefining a lazy-loaded variable in child context within RSpec spec causes crash
[email protected] wrote:
> Not sure what to do here. Do random issues like this get triaged? Or sitting around like this is typical?

Most of us are volunteers and I find it helpful for reporters to
send reminders every o...
normalperson (Eric Wong)
07:56 PM Bug #11430: Redefining a lazy-loaded variable in child context within RSpec spec causes crash
Not sure what to do here. Do random issues like this get triaged? Or sitting around like this is typical? andrewchhwong (Andrew Wong)
08:41 PM Bug #12274: accessing to instance variable should be fast.
Koichi Sasada wrote:
> Tarui-san suggested another way to optimize and this is my version of that technique (with some refactoring).
The diff is hard to read, would you have a commit on GitHub or a patch file?
Tarui-san, could you...
Eregon (Benoit Daloze)
07:21 PM Bug #12274: accessing to instance variable should be fast.
Tarui-san suggested another way to optimize and this is my version of that technique (with some refactoring).
evaluation result:
fps: 19.21335880758348
->
fps: 22.16285461090967
(15% improvement)
```diff
Index: vm_insnhelper.c...
ko1 (Koichi Sasada)
03:50 PM Bug #12274 (Closed): accessing to instance variable should be fast.

Currently, accessing to instance variable is quite slower than accessing to local variable.
I think accessing to instance variable is basic operation and it should be fast, so tried to improve.
patch: https://github.com/tarui/ruby/...
tarui (Masaya Tarui)
08:20 PM Bug #12270 (Third Party's Issue): 2.3.0/2.4.0 で stackprof を実行すると SEGV することがある
示唆なさってたとおり、 `gem 'stackprof', github: 'tmm1/stackprof'` で直りますね。 naruse (Yui NARUSE)
07:07 AM Bug #12270 (Third Party's Issue): 2.3.0/2.4.0 で stackprof を実行すると SEGV することがある
tDiary ( https://github.com/tdiary/tdiary-core )のテストに添付しているパッチを当てて stackprof を有効にして実行すると最後の results を出力する箇所で SEGV となります。
```
spec/spec_helper.rb:33: [BUG] frame2iseq: unreachable
```
`ruby 2.2.5p292 (2016-03-31 revision 54443) ...
hsbt (Hiroshi SHIBATA)
07:03 PM Feature #12275 (Closed): String unescape
I think it will be usefull to have function that convert input string as it was written in prime qouted string or in double qouted string. It's part of metaprogramming.
Example:
~~~ ruby
class String
# Create new string like it w...
asnow (Andrew Bolshov)
04:03 PM Bug #12273 (Rejected): Time.parse incorrectly parses Russian months
naruse (Yui NARUSE)
04:03 PM Bug #12273: Time.parse incorrectly parses Russian months
Viacheslav Ptsarev wrote:
> Victor Shepelev wrote:
> ...
Just replace Russian to English with gsub before parsing.
naruse (Yui NARUSE)
02:46 PM Bug #12273: Time.parse incorrectly parses Russian months
> Thanks. So what should I use to parse dates in Russian?
There's no easy way, unfortunately. For simple formats you can try to just `gsub` Russian monthnames into English and then use normal `Time.parse`.
Not a Ruby bug, definitel...
zverok (Victor Shepelev)
02:29 PM Bug #12273: Time.parse incorrectly parses Russian months
Victor Shepelev wrote:
> I assume `Time.parse` is not localized to all world languages.
> ...
Thanks. So what should I use to parse dates in Russian?
leemour (Viacheslav Ptsarev)
02:23 PM Bug #12273: Time.parse incorrectly parses Russian months
I assume `Time.parse` is not localized to all world languages.
So, it just ignores the "unidentified" part, replacing it with "current month" (and then fixes non-existent 31.04 into 1.05):
~~~ruby
Time.parse('31 ничего 2016')
# =>...
zverok (Victor Shepelev)
02:22 PM Bug #12273: Time.parse incorrectly parses Russian months
When parsing dates in Russian where day number is 31, `Time.parse` returns `2016-05-01`. No matter what month or year is provided. With other dates, it returns date with given day number, but current month and year.
31 march 2016:
``...
leemour (Viacheslav Ptsarev)
02:14 PM Bug #12273 (Rejected): Time.parse incorrectly parses Russian months
When parsing dates in Russian where day number is 31, `Time.parse` returns `2016-05-01`. No matter what month or year is provided.
31 march 2016:
```
irb(main):003:0> require "time"
=> true
irb(main):004:0> Time.parse "31 марта 20...
leemour (Viacheslav Ptsarev)
03:55 PM Feature #12272: Accepting HTML entity name in string literal
Robert A. Heiler wrote:
> I don't know. I am not really against it, also not really for it but to be honest, I can't remember either of these variants anyway. :)
> ...
Ideally, I would prefer LaTeX math symbol commands, which I believe...
sawa (Tsuyoshi Sawada)
03:00 PM Feature #12272: Accepting HTML entity name in string literal
I don't know. I am not really against it, also not really for it but to be honest, I can't remember either of these variants anyway. :)
Would this actually be used/usable?
shevegen (Robert A. Heiler)
01:00 PM Feature #12272 (Open): Accepting HTML entity name in string literal
String literal allows the escape character `\u` to describe a character using UTF-8 character code like this:
~~~ruby
"\u201c" # left double quote
"\u2191" # up arrow
~~~
This is useful in typing characters that are not easy to ...
sawa (Tsuyoshi Sawada)
01:41 PM Feature #12080: Enumerable#first, Array#last with block
ping... Any thoughts?
(updated patch to apply successfully to the current trunk)
rhenium (Kazuki Yamaguchi)
11:40 AM Bug #12271 (Closed): `Time#to_time` removes timezone information
Applied in changeset r54553.
----------
date_core.c: preserve timezone
* ext/date/date_core.c (time_to_time): should preserve timezone
info. [ruby-core:74889] [Bug #12271]
nobu (Nobuyoshi Nakada)
09:35 AM Bug #12271 (Closed): `Time#to_time` removes timezone information
```ruby
irb(main):001:0> RUBY_VERSION
=> "2.3.0"
irb(main):002:0> require 'date'
=> true
irb(main):003:0> ENV['TZ'] = 'US/Eastern'
=> "US/Eastern"
irb(main):004:0> time = Time.new(2005, 2, 21, 10, 11, 12, '+09:00')
=> 2005-02-21 ...
yui-knk (Kaneko Yuichiro)
11:40 AM Revision 456523e2 (git): date_core.c: preserve timezone
* ext/date/date_core.c (time_to_time): should preserve timezone
info. [ruby-core:74889] [Bug #12271]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:46 AM Bug #12238: Logger writes progname if log message is nil
Thanks
I see that it is supposed to be like this. Seems a bit weird though.
Soilent (Konstantin x)
07:22 AM Revision 8424452c (git): merge revision(s) 53566:
* configure.in: improve ICC (Intel C Compiler) support.
* configure.in (CXX): The name of icc's c++ compiler is `icpc`.
* configure.in (warnings): Add `-diag-disable=2259` to suppress
noisy warnings: "non-poin...
naruse (Yui NARUSE)
06:20 AM Bug #12269 (Rejected): Nesting Two-levels of Hash with Hash as default value makes top level Hash not list keys/values and causes reference issue with nested values.
Try `h.default.default`. nobu (Nobuyoshi Nakada)
01:44 AM Bug #12269 (Rejected): Nesting Two-levels of Hash with Hash as default value makes top level Hash not list keys/values and causes reference issue with nested values.
Nesting Hashes that have Hashes as default values cause the 1st (top) level hash to not list keys or values. Also, it is possible to overwrite the values of keys in the 2nd level hash via new assignments to entirely different keys on th... spacemunkay (Jason Denney)
05:29 AM Bug #12232: Ripper.lex can't parse 2.3-style heredoc
ruby_2_3 r54471 merged revision(s) 53722. naruse (Yui NARUSE)
05:29 AM Bug #12182: openssl: NPN may be disabled by OpenSSL configuration
ruby_2_3 r54551 merged revision(s) 54258. naruse (Yui NARUSE)
05:29 AM Revision f74ba9cc (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]
...
naruse (Yui NARUSE)
05:27 AM Bug #12215: URI::HTTP.new example is incorrect
ruby_2_3 r54550 merged revision(s) 54257. naruse (Yui NARUSE)
05:27 AM Revision 9b3f70d1 (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_3@54550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
03:49 AM Revision 991c159c (git): basictest: disable warnings
* basictest/runner.rb: disable warnings for old test script.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:51 AM Revision 6648d615 (git): compile.c: initialize LABEL fields
* compile.c (new_label_body): initialize bit fields, since
compile_data_alloc does not clear the memory. [Bug #12082]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:08 AM Feature #12267 (Rejected): REXML Authoring constants are unwanted (or clash) when mixing into other namespaces
You should not include a module when your code may conflict with constants in the module. kou (Kouhei Sutou)
12:30 AM Revision 057cf38c (git): * 2016-04-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:30 AM Revision 26317750 (git): test_optimization.rb: disasm
* test/ruby/test_optimization.rb (disasm): dump disassembled code
for investigation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
 

Also available in: Atom