Project

General

Profile

Activity

From 05/05/2016 to 05/11/2016

05/11/2016

07:23 PM Bug #12372 (Closed): Resolv::DNS does not fetch authority section resources when calling getresource(s)
In some cases, for example, when trying to retrieve the nameservers of a domain, you need to ask authoritative server... ereslibre (Rafael Fernández López)
05:58 PM Bug #12371 (Closed): Windows Nano Server WIN32OLE compatibility
The `OleInitialize()` call used in WIN32OLE is not supported on Nano Server due to the fact that the STA COM model is... alexpilotti (Alessandro Pilotti)
05:03 PM Bug #12370: require 'mkmf' changes Object#respond_to? behaviour
The behavior of `Object#respond_to?` isn't changed.
Simply mkmf.rb defines `configuration` method.
```
$ ruby -r...
nobu (Nobuyoshi Nakada)
02:25 PM Bug #12370 (Rejected): require 'mkmf' changes Object#respond_to? behaviour
Replication steps:
``` ruby
$ irb
> RUBY_VERSION
=> '2.3.0'
> require 'yaml'
> YAML.public_method_defined?(:c...
dsferreira (Daniel Ferreira)
04:54 PM Revision 6ff3a8e3 (git): mkmf.rb: fix conflict in have_library
* lib/mkmf.rb (try_func): get rid of conflict of declarations of
main(). checking local symbol reference does not ...
nobu (Nobuyoshi Nakada)
04:39 PM Revision d6d8ea91 (git): win32: qsort_s
* win32/Makefile.sub (HAVE_QSORT_S): disable on VS2012 too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54981 ...
nobu (Nobuyoshi Nakada)
03:21 PM Revision 98c084b8 (git): * win32/Makefile.sub (HAVE_QSORT_S): use qsort_s only for Visual Studio
2012 or later, because VS2010 seems to causes a SEGV in
test/ruby/test_enum.rb.
git-svn-id: svn+ssh://ci.ruby-lan...
U.Nakamura
03:08 PM Revision cb459dbe (git): fix typo at ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masaya Tarui
03:04 PM Revision 313f9694 (git): * 2016-05-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:04 PM Revision 0b8f8ac5 (git): * vm_insnhelper.c (vm_getivar): describe fast-path explicit
(compiler frindly). [Bug #12274].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54977 b2dd03c8-39d4-4d8f-98ff-8...
Masaya Tarui
12:50 PM Bug #12274 (Closed): accessing to instance variable should be fast.
Applied in changeset r54976.
----------
* compile.c (iseq_compile_each): share InlineCache during same
instance v...
tarui (Masaya Tarui)
12:50 PM Revision 44916ec4 (git): * compile.c (iseq_compile_each): share InlineCache during same
instance variable accesses. Reducing memory consumption,
rasing cache hit rate and rasing branch prediction...
Masaya Tarui
12:38 PM Bug #12353: Regression with Marshal.dump on ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
Nobuyoshi Nakada wrote:
> I can't reproduce it.
>
> ```
> Successfully installed activesupport-4.2.6
> ```
T...
jeffreyc (Jeff C)
12:24 PM Revision ac8c23f1 (git): test_minitest_unit.rb: fix "random" sort
* test/minitest/test_minitest_unit.rb (test_test_methods_random):
hack to fix the order by avoiding duplicate keys....
nobu (Nobuyoshi Nakada)
09:31 AM Bug #9569 (Open): SecureRandom should try /dev/urandom first
In general SecureRandom should work as it works on OpenBSD.
It uses arc4random_buf, which gathers entropy from /dev/...
naruse (Yui NARUSE)
05:55 AM Bug #9569: SecureRandom should try /dev/urandom first
George Koehler: you're missing the point: the OS RNG should be used instead of OpenSSL's. That isn't necessarily /dev... bascule (Tony Arcieri)
08:18 AM Revision be4b1c1e (git): util.c: qsort_s
* util.c (ruby_qsort): use qsort_s if available, for Microsoft
Visual Studio 2005 (msvcr80.dll) and mingw.
git-svn...
nobu (Nobuyoshi Nakada)
07:13 AM Revision d22cf0de (git): fix file name [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:35 AM Bug #12369 (Rejected): optionparseで引数の文字列が受け取れなくなる
nobu (Nobuyoshi Nakada)
06:10 AM Bug #12369 (Rejected): optionparseで引数の文字列が受け取れなくなる
```ruby
#test.rb
require "optparse"
OptionParser.new do |opt|
opt.on('-a', '--aaa=VAL') {|v| p "aaa", v }
op...
soukouki (soutarou okada)
05:42 AM Bug #12368 (Rejected): default encoding of Integer#chr
現状、`Integer#chr`は引数なしの場合には、
1. default internalが設定されていればそれを使う
2. default internalが`nil`ならASCII(-8BIT)とみなす
という挙...
usa (Usaku NAKAMURA)
01:33 AM Revision a3d2c119 (git): * 2016-05-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:33 AM Revision 4e3a98d3 (git): * ChangeLog: Remove trailing-whitespaces.
[ci skip][fix GH-1348]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)

05/10/2016

06:44 PM Bug #12359: Named captures "conflict" warning is unnecessary and limits uses of named captures
I have worked around this for now in JRuby by modifying the warning to *only* fire if a named capture was previously ... headius (Charles Nutter)
05:08 PM Bug #12359: Named captures "conflict" warning is unnecessary and limits uses of named captures
Related Ruby issue: https://bugs.ruby-lang.org/issues/9623
I think the warning needs to be softened to allow repea...
headius (Charles Nutter)
12:46 PM Bug #12367 (Closed): [PATCH] Declaring an already defined class with Object as the new superclass does not raise an error
Applied in changeset r54970.
----------
* insns.def (defineclass): Also raise an error when redeclaring the
superc...
Eregon (Benoit Daloze)
11:54 AM Bug #12367 (Assigned): [PATCH] Declaring an already defined class with Object as the new superclass does not raise an error
nobu (Nobuyoshi Nakada)
11:26 AM Bug #12367 (Closed): [PATCH] Declaring an already defined class with Object as the new superclass does not raise an error
For example:
~~~ ruby
class SuperclassIgnoresObject < A
end
SuperclassIgnoresObject.superclass # A
class Sup...
Eregon (Benoit Daloze)
12:46 PM Revision 06dd20f7 (git): * insns.def (defineclass): Also raise an error when redeclaring the
superclass of a class as Object and it has another superclass.
[Bug #12367] [ruby-core:75446]
* test/ruby/test_clas...
Eregon (Benoit Daloze)
11:36 AM Feature #12357: Random#initialize with a String
Nobuyoshi Nakada wrote:
> I found that rubyspec fails.
>
> Maybe, an alternative is an optional parameter of `Ran...
Eregon (Benoit Daloze)
09:55 AM Feature #12357: Random#initialize with a String
This proposal is not described about "external sources" in detail, and use cases.
If this proposal want to pass da...
naruse (Yui NARUSE)
07:54 AM Feature #12357: Random#initialize with a String
I found that rubyspec fails.
Maybe, an alternative is an optional parameter of `Random.new_seed` for the precision.
nobu (Nobuyoshi Nakada)
07:41 AM Feature #12357: Random#initialize with a String
Yes! shevegen (Robert A. Heiler)
10:55 AM Bug #12363 (Rejected): URI::Generic.build allows invalid input
URI::Generic.new has 11th argument named arg_check even though its default is false.
```
irb(main):006:0> uri = U...
naruse (Yui NARUSE)
10:30 AM Misc #12362: Redmine Forum Board signup
Instead of forum, we use mailing lists:
https://www.ruby-lang.org/en/community/
naruse (Yui NARUSE)
02:40 AM Misc #12362 (Rejected): Redmine Forum Board signup
We didn't provide a function of the forum board. hsbt (Hiroshi SHIBATA)
10:12 AM Misc #12365: [DOC] Suggestion to change FileUtils.compare_file
I think the author considered BusyBox.
Therefore it is not a good example.
I think /dev/null and /dev/random is b...
naruse (Yui NARUSE)
07:37 AM Misc #12365 (Closed): [DOC] Suggestion to change FileUtils.compare_file
Hello.
The documentation at:
http://ruby-doc.org/stdlib-2.3.1/libdoc/fileutils/rdoc/FileUtils.html#method-c-c...
shevegen (Robert A. Heiler)
09:43 AM Feature #12361: Proposal: add Geo::Coord class to standard library
You see, my point was not "I created a cool code, lets add it to stdlib!"
My point was "We need standard Geo Coordin...
zverok (Victor Shepelev)
09:16 AM Feature #12361: Proposal: add Geo::Coord class to standard library
Victor Shepelev wrote:
> I referenced "gem question" in original proposal: "This type is too "small" to be defined...
duerst (Martin Dürst)
08:11 AM Feature #12361: Proposal: add Geo::Coord class to standard library
Robert A. Heiler wrote:
> Would it actually not be better to instead add one or two methods to time, date or datetim...
zverok (Victor Shepelev)
08:02 AM Feature #12361: Proposal: add Geo::Coord class to standard library
Martin Dürst wrote:
> On rubygems, I see a lot of gems with 'geo' in their name. Which one is yours? How popular is ...
zverok (Victor Shepelev)
07:40 AM Feature #12361: Proposal: add Geo::Coord class to standard library
Would it actually not be better to instead add one or two methods to time, date or datetime?
I guess your proposal...
shevegen (Robert A. Heiler)
04:19 AM Feature #12361: Proposal: add Geo::Coord class to standard library
On rubygems, I see a lot of gems with 'geo' in their name. Which one is yours? How popular is it? These days, it's ea... duerst (Martin Dürst)
08:36 AM Bug #12366: optionparseで引数の文字列が受け取れなくなる
フラグと分けてもオプショナル引数を置きたいときは、`'--foo [VAL]'`を使ってください。 nobu (Nobuyoshi Nakada)
08:33 AM Bug #12366 (Rejected): optionparseで引数の文字列が受け取れなくなる
`[=VAL]` は、直接か`=`かでフラグに続いているものだけオプショナル引数とみなします。
```ruby
require "optparse"
OptionParser.new do |opt|
opt....
nobu (Nobuyoshi Nakada)
08:12 AM Bug #12366 (Rejected): optionparseで引数の文字列が受け取れなくなる
```ruby
require "optparse"
OptionParser.new do |opt|
opt.on('-a', '--foo[=VAL]') {|v| p v }
opt.parse! ARGV
...
soukouki (soutarou okada)
07:50 AM Feature #12360: More useful return values from bang methods
I think this proposal is to change the return value *if* actual rejection happened, but not the case nothing was reje... nobu (Nobuyoshi Nakada)
07:12 AM Feature #12360: More useful return values from bang methods
`reject!` returns `nil` in case nothing was rejected at all. This is useful when a programmer wants to know if actua... shyouhei (Shyouhei Urabe)
07:44 AM Misc #12283: Obsolete ChangeLog and commit message in Git-style
I personally have no preference either way.
I should however had also note that I like the current changelog forma...
shevegen (Robert A. Heiler)
06:46 AM Revision 15fbd05e (git): random.c: reuse bits
* random.c (random_ulong_limited): reduce calling bytes methods by
reusing dropped bits.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
06:45 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
Vit Ondruch wrote:
> > even 0.9.8/1.0.0 series are no longer supported[1]
>
> If I am not mistaken, 0.9.8 is stil...
rhenium (Kazuki Yamaguchi)
05:29 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
> even 0.9.8/1.0.0 series are no longer supported[1]
If I am not mistaken, 0.9.8 is still part of RHEL5/CentOS5 an...
vo.x (Vit Ondruch)
05:57 AM Revision b402cc71 (git): random.c: use bytes
* random.c (obj_random_bytes): base on bytes method instead of
rand method, not to call toplevel rand method.
git-...
nobu (Nobuyoshi Nakada)
04:36 AM Revision 518713fd (git): * configure.in (-fexcess-precision=standard): before r54895 -std=c99
is specified and it implied -fexcess-precision=standard.
Now with -std=gnu99, it should be explicitly specified.
...
naruse (Yui NARUSE)
12:33 AM Feature #12364 (Closed): Copy superclass serial number to singleton subclasses for better IMC hits
Hi,
I've attached a patch that copies the serial number from the superclass to newly created singleton subclasses....
tenderlovemaking (Aaron Patterson)

05/09/2016

09:59 PM Bug #12346 (Closed): Ruby 2.3.0 64-bit (mingw64-32) WIN32OLE_TYPE.typelibs seg faults on Windows 10 64-bit
nobu (Nobuyoshi Nakada)
06:38 PM Bug #12346: Ruby 2.3.0 64-bit (mingw64-32) WIN32OLE_TYPE.typelibs seg faults on Windows 10 64-bit
patch from https://bugs.ruby-lang.org/issues/11880 fixes this issue. it's also fixed in ruby_2_3 head.
Ruby 2.3.0:...
allen (Allen Hewes)
08:45 PM Bug #12363 (Rejected): URI::Generic.build allows invalid input
Reproduce:
~~~
require 'uri'
invalid_host = 'ex_ample.com'
invalid_userinfo = 'uuuu:pp/pp'
uri = URI::Generic....
avit (Andrew Vit)
08:37 PM Misc #12362 (Rejected): Redmine Forum Board signup
How do I sign up on Redmine's Forum? I'm asking here, because there are NO instructions on the redmine site. http:/... GREYHELM (Dawes Graybeal)
05:26 PM Feature #12361 (Rejected): Proposal: add Geo::Coord class to standard library
## Proposal
Add `Geo::Coord` class to Ruby standard library, representing `[latitude, longitude]` pair + convenien...
zverok (Victor Shepelev)
04:25 PM Revision fbf22f2d (git): * 2016-05-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:25 PM Revision a6b221f2 (git): random.c: compare by rb_equal
* random.c (random_equal): compare seeds by rb_equal.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54965 b2dd03...
nobu (Nobuyoshi Nakada)
03:23 PM Feature #12360 (Rejected): More useful return values from bang methods
It would be nice if bang methods returned results that where of some additional use. Presently most just return the e... trans (Thomas Sawyer)
02:51 PM Bug #12359: Named captures "conflict" warning is unnecessary and limits uses of named captures
See https://github.com/jruby/jruby/issues/3865 for a related issue in JRuby. headius (Charles Nutter)
02:46 PM Bug #12359 (Closed): Named captures "conflict" warning is unnecessary and limits uses of named captures
There's currently a warning whenever a named capture in a regular expression has the same name as an already-declared... headius (Charles Nutter)
02:30 PM Revision bc7a845a (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:39 PM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
Thanks! I'd be happy to maintain ext/openssl.
I have read #5481 and #9612 before, so I know that gemifying ext/ope...
rhenium (Kazuki Yamaguchi)
07:39 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
Zachary Scott wrote:
> I'm happy for your help with Ruby's OpenSSL!
>
> This is a rather large change, and would ...
naruse (Yui NARUSE)
07:32 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
I'm happy for your help with Ruby's OpenSSL!
This is a rather large change, and would like to see it land in the (...
zzak (zzak _)
04:24 AM Bug #12324 (Assigned): Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
I think you become a committer and commit it by yourself. (and maintain it) naruse (Yui NARUSE)
07:39 AM Bug #12358 (Closed): TestProcess#test_threading_works_after_exec_fail random test failures
Ruby 2.3.1 builds randomly fail quite often on Fedora Rawhide [1] with following error:
```
1) Error:
TestProc...
vo.x (Vit Ondruch)
04:57 AM Bug #9569: SecureRandom should try /dev/urandom first
I made myself a benchmark:
https://gist.github.com/kernigh/d169895a700c6511d08511c005a28d88
RAND_bytes() from Ope...
kernigh (George Koehler)
04:27 AM Revision 8610bd03 (git): random.c: consitify
* random.c (init_by_array): consitify initializing keys.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54963 b2d...
nobu (Nobuyoshi Nakada)
03:52 AM Revision ad949e8f (git): random.c: seed conversion
* random.c (rand_init): random_seed() always returns an Integer,
no conversion for it.
* random.c (random_init, rb...
nobu (Nobuyoshi Nakada)
01:52 AM Revision 639bfd6d (git): thread.c: GET_THREAD once in rb_thread_atfork
* thread.c (rb_thread_atfork_internal): move th to an argument.
* thread.c (rb_thread_atfork): do not repeat GET_THRE...
nobu (Nobuyoshi Nakada)
01:46 AM Revision a46df859 (git): thread.c: clear atfork functions
* thread.c (rb_thread_atfork, rb_thread_atfork_before_exec): do
nothing unless working fork is available.
* thread_...
nobu (Nobuyoshi Nakada)
12:05 AM Revision e6709f0a (git): openssl/extconf.rb: NO SSL macros first
* ext/openssl/extconf.rb: check OPENSSL_NO_SSL{2,3} macros before
checking related functions.
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
12:05 AM Revision abfc0b18 (git): webrick/utils.rb: suppress messages
* test/webrick/utils.rb (TestWEBrick#start_server): suppress
progress messages from WEBrick::Utils#create_self_sign...
nobu (Nobuyoshi Nakada)
12:05 AM Revision 4a46404a (git): test_ssl_server.rb: assert_self_signed_cert
* test/webrick/test_ssl_server.rb (assert_self_signed_cert):
extract common assertion.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)

05/08/2016

10:20 PM Revision 2cb362b5 (git): * include/ruby/{defines,ruby}.h: need to define function attributes
alternatives in defines.h instead of ruby.h, because they are used
in oniguruma.h and the header used without inclu...
U.Nakamura
09:31 PM Revision a8e1070d (git): * include/ruby/ruby.h (CONSTFUNC, PUREFUNC): fixed build errors on
non-gcc build environments introduced at r54952.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54955 b2dd03c8-3...
U.Nakamura
05:52 PM Revision b3935f17 (git): * gc.c (rb_gc_unprotect_logging): throw rb_memerror when it cannot
allocate memory. This is pointed out by Facebook's Infer.
* gc.c (gc_prof_setup_new_record): ditto.
* regparse.c (p...
naruse (Yui NARUSE)
05:44 PM Revision 6db71fb1 (git): * 2016-05-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:44 PM Revision 28f5e12c (git): * configure.in: check function attirbute const and pure,
and define CONSTFUNC and PUREFUNC if available.
Note that I don't add those options as default because
it still s...
naruse (Yui NARUSE)
02:36 PM Revision 94419c16 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:10 PM Revision 93767f7a (git): * ext/openssl/extconf.rb: asume it doesn't have SSLv2 related
functions when OPENSSL_NO_SSL2 is defined.
Usually openssl's header and the library (libssl) have the same
set of...
naruse (Yui NARUSE)
10:06 AM Feature #12226 (Open): Dir.home with valid named user raises ArgumentError on Windows
nobu (Nobuyoshi Nakada)
09:51 AM Feature #12226 (Closed): Dir.home with valid named user raises ArgumentError on Windows
Applied in changeset r54947.
----------
file.c: home dir fall back
* file.c (rb_home_dir_of): return the default ho...
nobu (Nobuyoshi Nakada)
09:59 AM Revision 6cd2c905 (git): win32ole_error.h: add attributes
* ext/win32ole/win32ole_error.h (ole_raise): add attributes,
NORETURN and PRINTF_ARGS.
git-svn-id: svn+ssh://ci.ru...
nobu (Nobuyoshi Nakada)
09:59 AM Revision d7d64d91 (git): objspace_dump.c: fix format
* ext/objspace/objspace_dump.c (dump_append_string_content),
(dump_object): fix the format specifiers.
git-svn-id:...
nobu (Nobuyoshi Nakada)
09:51 AM Revision f0355ae7 (git): file.c: home dir fall back
* file.c (rb_home_dir_of): return the default home path if the
user name is the current user name, on platforms whe...
nobu (Nobuyoshi Nakada)
05:52 AM Bug #9569: SecureRandom should try /dev/urandom first
Daira Hopwood wrote:
> Many competent cryptographers and engineers have told you that using the OpenSSL RNG is signi...
shyouhei (Shyouhei Urabe)
03:21 AM Revision 65bbd088 (git): intern.h: suppress warnings
* include/ruby/intern.h (rb_disable_super, rb_enable_super):
remove NORETURN. these do nothing but just return.
g...
nobu (Nobuyoshi Nakada)
02:31 AM Feature #12357 (Feedback): Random#initialize with a String
https://github.com/ruby/ruby/compare/trunk...nobu:feature/Random%23initialize-string
Currently `Random#initialize`...
nobu (Nobuyoshi Nakada)
12:55 AM Revision f2535e14 (git): * configure.in: add -Wsuggest-attribute=format and suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:55 AM Revision 4e0e7219 (git): * 2016-05-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:55 AM Revision a6c8e8d1 (git): * configure.in: add -Wsuggest-attribute=noreturn and suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:55 AM Revision 644c36e9 (git): * configure.in: add -Werror=implicit-int to avoid missing type of
function declaration.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)

05/07/2016

01:49 PM Bug #10296 (Closed): SEGV from unchecked Data_Get_Struct() argument
It doesn't happen with 2.2.5. nobu (Nobuyoshi Nakada)
01:37 PM Revision a6e805f7 (git): * lib/webrick/ssl.rb: Accept string value for SSLCertName. It is used
to invoke ssl server with command line.
[fix GH-1329] Patch by @kerlin
* test/webrick/test_ssl_server.rb: Added tes...
hsbt (Hiroshi SHIBATA)
12:55 PM Revision d8e22fa1 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:55 PM Revision b39d4eac (git): * test/webrick/test_ssl_server.rb: Added basic test for `webrick/ssl`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:25 PM Feature #12317: Name space of a module
I realized that the order of modules that I wrote in the expected output is not in accordance with methods like `nest... sawa (Tsuyoshi Sawada)
07:22 AM Revision ed5b9856 (git): random.c: optimize int_pair_to_real_inclusive
* random.c (int_pair_to_real_inclusive): optimize to multiply
without Bignum.
git-svn-id: svn+ssh://ci.ruby-lang.o...
nobu (Nobuyoshi Nakada)
06:21 AM Revision 091d88ab (git): random.c: split random_int32
* random.c (random_int32): split the cases of rb_random_t and
other objects.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
02:59 AM Revision 1a696e35 (git): random.c: unnecessary declarations
* random.c (random_ulong_limited, random_ulong_limited_big):
remove unnecessary extern declarations. rb_num_negati...
nobu (Nobuyoshi Nakada)
02:53 AM Bug #11652 (Feedback): Bug after running 'next' during binding.pry in a rails project
I couldn't reproduce this with following env.
```
ruby 2.2.6p320 (2016-04-26 revision 54784) [x86_64-darwin15]
p...
hsbt (Hiroshi SHIBATA)
02:42 AM Bug #9569: SecureRandom should try /dev/urandom first
Many competent cryptographers and engineers have told you that using the OpenSSL RNG is significantly less safe than ... daira (Daira Hopwood)
02:29 AM Bug #12286 (Third Party's Issue): Segfault on ruby 2.3.0p0 (2015-12-25 revision 53290) [armv7l-linux-eabihf]
hsbt (Hiroshi SHIBATA)
12:56 AM Bug #11567 (Feedback): Segmentation fault CFUNC :gets
I couldn't reproduce this with latest versions of 2.1-2.4.
Please try with 2.2.5 or 2.3.1.
hsbt (Hiroshi SHIBATA)
12:54 AM Bug #11020 (Third Party's Issue): Ruby 2.1.5 crashing when running rails 3.2.21
hsbt (Hiroshi SHIBATA)
12:36 AM Bug #10607 (Feedback): Segmentation fault, with nokogiri craching ruby
2.0.0 is EOL. Please try with 2.2/2.3. hsbt (Hiroshi SHIBATA)
12:35 AM Bug #10604 (Feedback): Segmentation fault, Rubymine 6.3.3, Linux xxxx-desktop 3.5.0-51-generic #76-Ubuntu SMP Thu May 15 21:19:10 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
2.0.0 is EOL now. Please try with 2.2 or 2.3. hsbt (Hiroshi SHIBATA)
12:21 AM Bug #10390 (Feedback): BUG] Segmentation fault at 0xbf3eeedc
Can you try with Ruby 2.1.10 or 2.2/2.3? hsbt (Hiroshi SHIBATA)
12:03 AM Bug #9683: Segmentation fault when using default proc feature in ruby Hash object
I tried to following code with latest stable versions.
```rb
a = Hash.new {|h,k| h[k] += 1}
begin; a[1]; rescue ...
hsbt (Hiroshi SHIBATA)

05/06/2016

11:52 PM Bug #9473 (Third Party's Issue): Corruption and Segmentation faults all over
hsbt (Hiroshi SHIBATA)
11:51 PM Bug #12356 (Rejected): Vector covector incorrect multiplication with another vector.
Version 2.2.4
v1 = Vector[2,3,4]
v2 = Vector[4,5,6]
v1.covector.row_size #1
v1.covector.column_size #3
...
edmorte (Rafael Silva)
11:45 PM Bug #10296: SEGV from unchecked Data_Get_Struct() argument
It still happens with 2.1.10. hsbt (Hiroshi SHIBATA)
10:58 PM Bug #12355 (Closed): [PATCH] exec, system, and spawn fail when Array#to_hash is defined and their first argument is an Array
Applied in changeset r54934.
----------
process.c: argument types over conversion
* process.c (rb_exec_getargs): ho...
nobu (Nobuyoshi Nakada)
06:33 PM Bug #12355 (Closed): [PATCH] exec, system, and spawn fail when Array#to_hash is defined and their first argument is an Array
When any gem which adds a to_hash method to Array is loaded (extlib, dropbox, others), Kernel.exec, Kernel.system, an... fimmtiu (Dennis Taylor)
10:58 PM Revision f4edece0 (git): * 2016-05-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:58 PM Revision 48ed6686 (git): process.c: argument types over conversion
* process.c (rb_exec_getargs): honor the expected argument types
over the conversion method. the basic language fu...
nobu (Nobuyoshi Nakada)
04:10 PM Feature #12354 (Closed): PKey::EC Can't output public key pem when private key exists
Steps to reproduce:
Create EC key:
```ruby
key = OpenSSL::PKey::EC.new("prime256v1")
key.generate_key
```
...
armour (Armour Comms)
02:30 PM Revision cc22facc (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:08 PM Bug #12342: DRb.stop_service doesn't kill sleeping TimerIdConv threads
I have opened a pull request to expose an API for killing the timer thread. This PR should be enough to workaround t... jrafanie (Joe Rafaniello)
09:26 AM Feature #12242 (Feedback): Is it worth adding collision probability of SecureRandom functions in RubyDoc?
naruse (Yui NARUSE)
07:18 AM Revision c0f92009 (git): random.c: fill_random_bytes_syscall function
* random.c (fill_random_bytes_syscall): turned into a static
function, to be inlined probably, so that it is unavai...
nobu (Nobuyoshi Nakada)
07:18 AM Revision a331eeb5 (git): random.c: refactor
* random.c (rand_random, rb_f_rand): refactor, split condition
expressions, and return in the precedence.
git-svn-...
nobu (Nobuyoshi Nakada)
06:52 AM Revision 3377db6b (git): random.c: use rb_check_to_int
* random.c (rand_range, rand_random): use rb_check_to_int instead
of rb_check_to_integer with the same conversion m...
nobu (Nobuyoshi Nakada)
06:52 AM Revision 0e303494 (git): random.c: prefer rb_check_arity
* random.c: use rb_check_arity instead of rb_scan_args for simple
optional arguments.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
06:52 AM Revision c92c8218 (git): random.c: sipseed_keys_t
* random.c (sipseed): separate type of keys to reduce use of the
magic number.
git-svn-id: svn+ssh://ci.ruby-lang....
nobu (Nobuyoshi Nakada)
06:29 AM Revision 72c4fc72 (git): random.c: default seed mark
* random.c (Init_Random_default): since seed is marked by
random_mark, no needs to mark itself as a global variable...
nobu (Nobuyoshi Nakada)
06:29 AM Revision 80c9b664 (git): random.c: return value is not GCed
* random.c (rand_init): since seed is the return value, no needs
to be volatile to prevent from GC.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
05:58 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Anyways, given the real-world use-case, I now think it's a good idea to have something that does strip.empty? -equiva... shyouhei (Shyouhei Urabe)
04:50 AM Bug #12353 (Feedback): Regression with Marshal.dump on ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
I can't reproduce it.
```
$ gem2.3 install --user --no-doc activesupport
Fetching: i18n-0.7.0.gem (100%)
Succes...
nobu (Nobuyoshi Nakada)
02:55 AM Bug #9569: SecureRandom should try /dev/urandom first
In the meantime until upstream changes are made to SecureRandom, if anyone has come across this thread and is looking... bascule (Tony Arcieri)
01:36 AM Feature #12352 (Assigned): New hash syntax broken for numeric keys
Matz, do you want numeric keys for new hash syntax? shyouhei (Shyouhei Urabe)

05/05/2016

11:37 PM Bug #12351 (Third Party's Issue): ruby-1.9.3.4 (Ubuntu): undefined variable in MiniTest::Unit::Runner::Worker (unit.rb:328)
upstream repo of minitest is here https://github.com/seattlerb/minitest
Please submit your issue and patch to upst...
hsbt (Hiroshi SHIBATA)
05:58 PM Bug #12351 (Third Party's Issue): ruby-1.9.3.4 (Ubuntu): undefined variable in MiniTest::Unit::Runner::Worker (unit.rb:328)
An undefined variable in `MiniTest::Unit::Runner::Worker` causes `rake` execution to fail (status code 1) when perfor... jbatista (J Batista)
11:16 PM Revision 0c13d23d (git): enum.c: examples of Enumerable#detect [ci skip]
* enum.c (enum_find): [DOC] add more examples to the documentation
of Enumerable#detect, to show that it equals to ...
nobu (Nobuyoshi Nakada)
09:17 PM Bug #12353 (Closed): Regression with Marshal.dump on ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-darwin15]
Attempting to call `Marshal.dump` on an `ActiveSupport::CoreExtensions::Numeric::Time` (e.g., `1.day`) triggers a ```... jeffreyc (Jeff C)
08:41 PM Bug #12346: Ruby 2.3.0 64-bit (mingw64-32) WIN32OLE_TYPE.typelibs seg faults on Windows 10 64-bit
It *could* be something with my registry but it works in Ruby 2.3.0 32-bit, Ruby 2.2.5 64-bit and Ruby 2.2 HEAD 64-bi... allen (Allen Hewes)
01:21 AM Bug #12346 (Feedback): Ruby 2.3.0 64-bit (mingw64-32) WIN32OLE_TYPE.typelibs seg faults on Windows 10 64-bit
I can't reproduce it with the trunk and 2.3.1 on Windows 7.
Probably it is related to the content of your registry.
...
nobu (Nobuyoshi Nakada)
08:35 PM Feature #12352 (Rejected): New hash syntax broken for numeric keys
[[Matz himself showed in RubyConf 2015 the following example]](https://www.youtube.com/watch?v=LE0g2TUsJ4U&t=13m04s):... adrianomitre (Adriano Mitre)
06:00 PM Feature #12005: Unify Fixnum and Bignum into Integer
Akira Tanaka wrote:
> Other benefits?
As you show people write Fixnum case and Bignum case.
But sometimes they w...
naruse (Yui NARUSE)
03:11 AM Feature #12005: Unify Fixnum and Bignum into Integer
On 2016/05/04 23:54, [email protected] wrote:

> I feel that unifying Fixnum and Bignum is simple and beautiful.
>
> ...
duerst (Martin Dürst)
05:30 PM Bug #12323: Wrong example code in OptionParser documentation
ruby_2_3 r54924 merged revision(s) 54808. nagachika (Tomoyuki Chikanaga)
05:30 PM Revision f8e604c6 (git): merge revision(s) 54808: [Backport #12323]
* lib/optparse.rb: [DOC] fix example code. base on the code by
Semyon Gaivoronskiy in [ruby-core:75224]. ...
nagachika (Tomoyuki Chikanaga)
05:28 PM Bug #11880: blank string makes Win32ole crush
ruby_2_3 r54923 merged revision(s) 53322,53323. nagachika (Tomoyuki Chikanaga)
05:28 PM Revision 10685d4f (git): merge revision(s) 53322,53323: [Backport #11880]
* ext/win32ole/win32ole.c (ole_vstr2wc, ole_variant2val): fix blank
string conversion.
[Bug #1188...
nagachika (Tomoyuki Chikanaga)
05:26 PM Bug #12339: result of 123456789 ** -2 in doc
ruby_2_3 r54922 merged revision(s) 54898. nagachika (Tomoyuki Chikanaga)
05:26 PM Bug #12339: result of 123456789 ** -2 in doc
なるほどその通りでした。指摘ありがとうございます。 nagachika (Tomoyuki Chikanaga)
05:26 PM Revision ac5ffe0a (git): merge revision(s) 54898: [Backport #12339]
* bignum.c: [DOC] Update result of 123456789 ** -2.
[ruby-dev:49606] [Bug #12339]
git-svn-id: svn+ssh://c...
nagachika (Tomoyuki Chikanaga)
03:00 PM Revision d6c3079e (git): * 2016-05-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision e1ce20cf (git): random.c: use uint32_t
* random.c (struct MT, next_state): use uint32_t for the state
vector.
* random.c (init_by_array, rand_init): ditt...
nobu (Nobuyoshi Nakada)
02:46 PM Feature #12350: Introduce Array#find! that raises an error if element not found
You can pass a callable object to `Enumerable#find`:
~~~ruby
def find_price!(size)
prices.find(->{ fail "Price...
cremno (cremno phobia)
02:25 PM Feature #12350: Introduce Array#find! that raises an error if element not found
Victor Shepelev wrote:
> > Could you elaborate what is bad in your example? Basically I don't see anything bad in yo...
nobu (Nobuyoshi Nakada)
02:05 PM Feature #12350: Introduce Array#find! that raises an error if element not found
> Could you elaborate what is bad in your example? Basically I don't see anything bad in your code except a little bi... zverok (Victor Shepelev)
01:30 PM Feature #12350: Introduce Array#find! that raises an error if element not found
Victor Shepelev wrote:
> I'm pretty unhappy that community/style guidelines are banning the straightforward and read...
ka8725 (Andrey Koleshko)
11:35 AM Feature #12350: Introduce Array#find! that raises an error if element not found
I'm pretty unhappy that community/style guidelines are banning the straightforward and readable solution:
~~~ruby
...
zverok (Victor Shepelev)
11:22 AM Feature #12350 (Open): Introduce Array#find! that raises an error if element not found
It would be great to have some function (like `Hash#fetch`) for `Array` that raises an exception if element not found... ka8725 (Andrey Koleshko)
10:04 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
I made v2 of the patch:
https://github.com/ruby/ruby/compare/trunk...rhenium:feature/openssl-110-v2
Changes:
...
rhenium (Kazuki Yamaguchi)
03:04 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
It's because X25519 is an algorithm for key exchange. Ed25519, the corresponding (sharing the elliptic curve) signatu... rhenium (Kazuki Yamaguchi)
09:06 AM Revision a22221ca (git): * test/ruby/test_complexrational.rb: Remove duplicated raise.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yui-knk (Kaneko Yuichiro)
07:27 AM Revision 6112b290 (git): proc.c: no temporary args array
* proc.c (bmcall): method proc is always lambda, args is the array
which is made from argc and argv.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
07:18 AM Revision cfc29cf2 (git): proc.c: no unnecessary temporary array
* proc.c (bmcall): get rid of making temporary single element
array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
07:11 AM Revision 5c19519e (git): proc.c: suppress a warning
* proc.c (call_method_data_safe): suppress clobbered warning by
old gcc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
05:39 AM Revision deca1d80 (git): * string.c (rb_str_sub): Fix a special match variable name.
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
03:45 AM Bug #11043 (Rejected): .rvm/gems/ruby-2.1.1/gems/json-1.8.2/lib/json/common.rb:67: [BUG] unknown type 0x22 (0xc given)
Kamal Ahmed wrote:
> ```
> /home/kahmed/.rvm/gems/ruby-2.1.1/gems/json-1.8.2/lib/json/common.rb:67: [BUG] unknown t...
nobu (Nobuyoshi Nakada)
02:52 AM Bug #11043 (Feedback): .rvm/gems/ruby-2.1.1/gems/json-1.8.2/lib/json/common.rb:67: [BUG] unknown type 0x22 (0xc given)
I couldn't reproduce this with `ruby 2.1.10p492 (2016-04-22 revision 54691) [x86_64-darwin15.0]`
Please try with 2...
hsbt (Hiroshi SHIBATA)
03:22 AM Revision 84f94652 (git): use TH_JUMP_TAG
* vm_eval.c (rb_eval_cmd, rb_catch_obj): use TH_JUMP_TAG with the
same rb_thread_t used for TH_PUSH_TAG, instead of...
nobu (Nobuyoshi Nakada)
02:49 AM Bug #9933 (Feedback): segmentation fault when running 'gem' (ruby 2.1.2p95)
Please try with Ruby 2.1.10 or latest version of 2.2 and 2.3. hsbt (Hiroshi SHIBATA)
02:48 AM Bug #9679 (Third Party's Issue): /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.6.2/lib/chef/util/diff.rb:129: [BUG] Segmentation fault
Ruby 1.9.3 is EOL now. and It's vendor's ruby provided Chef Software, Inc. Please report to Chef Software. hsbt (Hiroshi SHIBATA)
02:45 AM Bug #11135 (Third Party's Issue): [BUG] Segmentation fault at 0x000000000000b0
I couldn't reproduce this with `ruby 2.4.0dev (2016-05-03 trunk 54898) [x86_64-darwin15]`
If you still have this i...
hsbt (Hiroshi SHIBATA)
01:49 AM Revision 77421bcc (git): * 2016-05-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:49 AM Revision 4a066896 (git): random.c: use arc4random_buf
* random.c (fill_random_bytes_syscall): use arc4random_buf if
available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom