Project

General

Profile

Activity

From 05/03/2016 to 05/09/2016

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)

05/04/2016

10:43 PM Bug #12349 (Closed): Can't load OpenStruct with Syck with Ruby 2.3.x
This is the same kind of problem that happened with Psych here: https://bugs.ruby-lang.org/issues/11884
When tryin...
PSchambacher (Pierre Schambacher)
10:00 PM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
Please see gist: https://gist.github.com/mcr/73e10792abd529c5f53562ed275b7c1b
(I could remove the rake/rails stuff a...
mcr (Michael Richardson)
09:17 PM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
I tried your git tree, at: commit 7085ed6411718538c0f47f8281b9089d21d4426d
I did have openssl-pre5 installed, which ...
mcr (Michael Richardson)
09:51 PM Bug #12348 (Closed): PKey::EC.public_key returns EC::Point
It appears that the EC subclass returns something isn't recognized as a public key (not a subclass of OpenSSL::PKey::... mcr (Michael Richardson)
03:35 PM Bug #9569: SecureRandom should try /dev/urandom first
I think switching OpenSSL to getrandom() is possible if the performance is acceptable.
The man page for getrandom(),...
akr (Akira Tanaka)
01:32 PM Bug #9569: SecureRandom should try /dev/urandom first
> Delan Azabani wrote:
>> Changing the order of `SecureRandom.gen_random` should be enough to fix this bug, but I w...
kosaki (Motohiro KOSAKI)
02:21 AM Bug #9569: SecureRandom should try /dev/urandom first
Delan Azabani wrote:
> Changing the order of `SecureRandom.gen_random` should be enough to fix this bug, but I would...
jeremyevans0 (Jeremy Evans)
02:07 AM Bug #9569: SecureRandom should try /dev/urandom first
For anyone reading this thread after me:
* `SecureRandom.gen_random` calls `OpenSSL::Random.random_bytes` before f...
delan (Delan Azabani)
01:44 AM Bug #9569: SecureRandom should try /dev/urandom first
Chris MacNaughton wrote:
> Eric Wong wrote:
> > Has anybody here brought up the issue to the OpenSSL team to get
>...
duerst (Martin Dürst)
12:53 AM Bug #9569: SecureRandom should try /dev/urandom first
Eric Wong wrote:
> Has anybody here brought up the issue to the OpenSSL team to get
> OpenSSL fixed?
>
> Fixi...
Icey (Chris MacNaughton)
12:41 AM Bug #9569: SecureRandom should try /dev/urandom first
Has anybody here brought up the issue to the OpenSSL team to get
OpenSSL fixed?

Fixing OpenSSL would benefit far...
normalperson (Eric Wong)
02:54 PM Feature #12005: Unify Fixnum and Bignum into Integer
I feel that unifying Fixnum and Bignum is simple and beautiful.
However I'm not sure that there are enough concret...
akr (Akira Tanaka)
02:12 PM Revision 903161e0 (git): numeric.c: Remove prototype declarations to internal.h
* numeric.c (fix_plus): Remove rb_nucomp_add prototype
declaration.
* numeric.c (fix_mul): Remove rb_nucomp_mul pr...
yui-knk (Kaneko Yuichiro)
10:10 AM Revision 09550d14 (git): proc.c: separate rb_method_call_with_block
* proc.c (rb_method_call_with_block): separate the cases with and
without tag for optimization.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
10:10 AM Revision 759773bf (git): proc.c: passed_block
* proc.c (passed_block): extract conversion from passed proc value
to rb_block_t pointer.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
10:10 AM Revision c8932036 (git): proc.c: constify
* proc.c (method_callable_method_entry): constify data.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54908 b2dd...
nobu (Nobuyoshi Nakada)
09:46 AM Revision 02377a3a (git): * lib/net/http/header.rb: [DOC] add documentation that
Net::HTTPHeader#{each_header,each_name,each_capitalized_name,
each_value,each_capitalized} without block returns an...
ktsj (Kazuki Tsujimoto)
09:46 AM Revision 6da22141 (git): * lib/net/http/header.rb (Net::HTTPHeader#{each_header,each_name,
each_capitalized_name,each_value,each_capitalized}): Return
sized enumerators.
* test/net/http/test_httpheader.rb:...
ktsj (Kazuki Tsujimoto)
09:46 AM Revision 803177b3 (git): * test/net/http/test_httpheader.rb: add missing test of
Net::HTTPHeader#each_capitalized_name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54905 b2dd03c8-39d4-4d8f-98...
ktsj (Kazuki Tsujimoto)
09:07 AM Revision 60287eab (git): * lib/set.rb: [DOC] add documentation that Set#{delete_if,keep_if,collect!,reject!,select!,
classify,divide} without block returns an enumerator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54904 b2dd03...
ktsj (Kazuki Tsujimoto)
09:06 AM Revision 80ccb8e8 (git): * lib/set.rb (Set#{delete_if,keep_if,collect!,reject!,select!,classify,divide},
SortedSet#{delete_if,keep_if}): Return sized enumerators.
* test/test_set.rb: add test for above.
git-svn-id: svn+s...
ktsj (Kazuki Tsujimoto)
09:06 AM Revision c8ca4897 (git): * 2016-05-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:06 AM Revision 315a136e (git): * test/test_set.rb: add missing test of Set#select!.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
08:57 AM Bug #12344 (Rejected): check_funcall_respond_to behavior seems incorrect
It's a common mistake, to define `method_missing` but not `respond_to_missing?`. nobu (Nobuyoshi Nakada)
06:35 AM Bug #12339: result of 123456789 ** -2 in doc
`Bignum#**` からのマージなので、ruby_2_3 以前のブランチでは `rb_big_pow` にあります。 znz (Kazuhiro NISHIYAMA)
04:00 AM Feature #12347 (Closed): [PATCH] Make CSV::Row#each etc. return Enumerator when no block given
I propose to make following methods return Enumerator when no block given.
* CSV::Row#each
* CSV::Row#delete_if
...
ktsj (Kazuki Tsujimoto)
02:55 AM Bug #12346 (Closed): Ruby 2.3.0 64-bit (mingw64-32) WIN32OLE_TYPE.typelibs seg faults on Windows 10 64-bit
Ruby Windows binaries are from RubyInstaller.org.
Seg fault also happens with Ruby 2.3.1 using the same 64-bit Dev...
allen (Allen Hewes)

05/03/2016

10:19 PM Bug #9569: SecureRandom should try /dev/urandom first
Let's look at some OpenSSL RNG failures outside the Ruby microcosm:
* https://emboss.github.io/blog/2013/08/21/ope...
sarciszewski (Scott Arciszewski)
03:11 PM Bug #9569: SecureRandom should try /dev/urandom first
Shyouhei Urabe wrote:
> Filippo Valsorda wrote:
> > **All other languages only expose /dev/urandom in the stdlib.**...
azet (Aaron Zauner)
03:24 AM Bug #9569: SecureRandom should try /dev/urandom first
Corey Csuhta wrote:
> what the current fallback code is actually doing is simply looking for any device named `/dev/...
shyouhei (Shyouhei Urabe)
10:05 PM Bug #12345 (Closed): A module's private constants are given with `Module#constant(false)`
A module's private constants are given with `Module#constant(false)`.
~~~ruby
module A
X = 1
Y = 2
priva...
sawa (Tsuyoshi Sawada)
09:20 PM Bug #12344 (Rejected): check_funcall_respond_to behavior seems incorrect
Prior to ruby 2.3, and specifically I believe prior to the implementation of this change:
> Thu Aug 20 14:13:27 2015...
mbedalov (Matt Bedalov)
05:58 PM Bug #12320: Skip SHA from test_digest_constants for LibreSSL 2.3
ruby_2_3 r54900 merged revision(s) 53718. nagachika (Tomoyuki Chikanaga)
05:57 PM Revision 0b5e532e (git): merge revision(s) 53718: [Backport #12320]
Skip SHA from test_digest_constants for LibreSSL 2.3
The first one of ruby/openssl#40
https://github...
nagachika (Tomoyuki Chikanaga)
05:47 PM Bug #12343: Backport r54896, r54897 (fix rb_complex_set_imag())
ruby_2_3 r54899 merged revision(s) 54896,54897. nagachika (Tomoyuki Chikanaga)
05:20 PM Bug #12343 (Closed): Backport r54896, r54897 (fix rb_complex_set_imag())
This ticket is only for backport management for stable branches.
The issue was already fixed on trunk.
r54896 (rb...
nagachika (Tomoyuki Chikanaga)
05:46 PM Revision 15ce6732 (git): merge revision(s) 54896,54897: [Backport #12343]
* complex.c (rb_complex_set_imag): Fix to properly set imag
of complex.
* internal.h (RCOMPLEX_SET...
nagachika (Tomoyuki Chikanaga)
05:32 PM Bug #12339: result of 123456789 ** -2 in doc
該当する部分は r54831 で Fixnum/Bignum メソッドの統合時に書き加えられていて、ruby_2_3 以前のブランチの rdoc 用コメントには存在しませんでした。また 1 ** -2 の例は正しく (1/2) の表記... nagachika (Tomoyuki Chikanaga)
02:31 PM Bug #12339 (Closed): result of 123456789 ** -2 in doc
Applied in changeset r54898.
----------
Update result of 123456789 ** -2
* numeric.c: [DOC] Update result of 123456...
Anonymous
05:28 AM Bug #12339 (Assigned): result of 123456789 ** -2 in doc
1.9でRationalが組み込みになって動作が変わったはずです。 nobu (Nobuyoshi Nakada)
03:20 PM Bug #12342: DRb.stop_service doesn't kill sleeping TimerIdConv threads
Here is a link to our workaround: https://github.com/ManageIQ/manageiq/pull/8399 jrafanie (Joe Rafaniello)
03:17 PM Bug #12342 (Closed): DRb.stop_service doesn't kill sleeping TimerIdConv threads
According to this commit[1], it's a good idea for DRb.stop_service to kill threads it creates.
My problem is I hav...
jrafanie (Joe Rafaniello)
02:31 PM Revision 8ef6dacb (git): Update result of 123456789 ** -2
* numeric.c: [DOC] Update result of 123456789 ** -2.
[ruby-dev:49606] [Bug #12339]
git-svn-id: svn+ssh://ci.ruby-l...
znz (Kazuhiro NISHIYAMA)
02:19 PM Bug #11903: [BUG] vm_call_cfunc - cfp consistency error
I can reproduce in ruby 2.3.1 by lazy loading a sequence in FactoryGirl which has the same name as the attribute it i... jfeltesse (Julien Feltesse)
02:12 PM Revision 5bc03ef4 (git): * internal.h (RCOMPLEX_SET_IMAG): undef RCOMPLEX_SET_IMAG
instead of duplicated undef RCOMPLEX_SET_REAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54897 b2dd03c8-39d4...
yui-knk (Kaneko Yuichiro)
01:54 PM Revision c949686d (git): * complex.c (rb_complex_set_imag): Fix to properly set imag
of complex.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
01:20 PM Feature #12336 (Closed): Use -std=gnu99 instead of -std=c99 for GCC
Applied in changeset r54895.
----------
* configure.in (warnflags): use -std=gnu99 instead of
-std=iso9899:1999. [...
naruse (Yui NARUSE)
01:20 PM Revision 03cbafcf (git): * configure.in (warnflags): use -std=gnu99 instead of
-std=iso9899:1999. [Feature #12336]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54895 b2dd03c8-39d4-4d8f-98ff-...
naruse (Yui NARUSE)
01:14 PM Revision cdef0bc8 (git): * string.c (count_utf8_lead_bytes_with_word): Use __builtin_popcount
only if it can use SSE 4.2 POPCNT whose latency is 3 cycle.
* internal.h (rb_popcount64): use __builtin_popcountll b...
naruse (Yui NARUSE)
12:36 PM Feature #9999: Type Annotations (Static Type Checking)
Nobuyoshi Nakada wrote:
> Alexey Babich wrote:
> > ~~~ruby
> > def ReturnType method(Type value: default, ...)
> ...
coyote (Alexey Babich)
11:26 AM Feature #9999: Type Annotations (Static Type Checking)
Alexey Babich wrote:
> ~~~ruby
> def ReturnType method(Type value: default, ...)
> ~~~
How to know if it doesn'...
nobu (Nobuyoshi Nakada)
09:33 AM Feature #9999: Type Annotations (Static Type Checking)
**For usage level**:
Static type checking looks most useful as syntax pre-compilation feature to speed-up code execu...
coyote (Alexey Babich)
11:36 AM Bug #12337: inconsistency between Fixnum#coerce and Bignum#coerce
Akira Tanaka wrote:
> Bignum.coerce(Fixnum) is used to implement fixnum binop bignum.
> (binop is binary operator s...
Eregon (Benoit Daloze)
10:07 AM Bug #12337: inconsistency between Fixnum#coerce and Bignum#coerce
Bignum.coerce(Fixnum) is used to implement fixnum binop bignum.
(binop is binary operator such as +, -, etc.)
x b...
akr (Akira Tanaka)
09:27 AM Bug #12337: inconsistency between Fixnum#coerce and Bignum#coerce
I had a question about Bignum#coerce in http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/75176.
I think...
Eregon (Benoit Daloze)
09:10 AM Bug #12337: inconsistency between Fixnum#coerce and Bignum#coerce
I made a patch to fix this problem.
This implements bignum.coerce(float) to be [float, float] and
fixnum.coerce(b...
akr (Akira Tanaka)
10:18 AM Feature #12005: Unify Fixnum and Bignum into Integer
I made a patch to unify Fixnum and Bignum:
unify-fixnum-and-bignum.patch
For rough compatibility, I defined Fixnu...
akr (Akira Tanaka)
08:23 AM Feature #12333: `String#concat`, `Array#concat`, `String#prepend` to take multiple arguments
Satoru, thank you for the patch.
And you are making good points with the questions you raised.
> * What is the ...
sawa (Tsuyoshi Sawada)
08:08 AM Feature #12333: `String#concat`, `Array#concat`, `String#prepend` to take multiple arguments
I wrote another patch refined for a problem stated in a previous post.
It behaves like below
~~~
ar = [1]
ar....
spinute (Satoru Horie)
07:15 AM Feature #12333: `String#concat`, `Array#concat`, `String#prepend` to take multiple arguments
I have written a patch.
And, there are some points to ask
* What is the appropriate behavior when calling conca...
spinute (Satoru Horie)
05:19 AM Bug #10763 (Closed): do not receive TracePoint event for elsif
Applied in changeset r54893.
----------
parse.y: trace elsif
* parse.y (new_if_gen): set newline flag to NODE_IF to...
nobu (Nobuyoshi Nakada)
05:19 AM Revision e0611820 (git): parse.y: trace elsif
* parse.y (new_if_gen): set newline flag to NODE_IF to trace all
if/elsif statements. [ruby-core:67720] [Bug #1076...
nobu (Nobuyoshi Nakada)
01:22 AM Revision e0a0c2b8 (git): eval.c: constify
* eval.c (extract_raise_opts): constify argv.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54892 b2dd03c8-39d4-...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom