Project

General

Profile

Activity

From 05/18/2016 to 05/24/2016

05/24/2016

11:28 PM Bug #12426 (Closed): Error when compiling win32ole.c on cygwin
I get the following error when compiling ruby on cygwin:
```
compiling win32ole.c
In file included from win32ole...
duerst (Martin Dürst)
11:01 PM Revision ef6405f7 (git): * enc/unicode.c: Fix flag error for switch from titlecase to lowercase.
* test/ruby/enc/test_case_mapping.rb: Tests for above error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5515...
duerst (Martin Dürst)
10:23 PM Bug #9569: SecureRandom should try /dev/urandom first
Yui NARUSE wrote:
> Anyway I'm creating a securerandom.gem which uses arc4random_buf internally like libressl RAND_b...
mwpastore (Mike Pastore)
04:24 PM Bug #9569: SecureRandom should try /dev/urandom first
Shyouhei Urabe wrote:
> My private feeling is it's even worse than current situation to copy & paste arc4random sour...
naruse (Yui NARUSE)
07:46 AM Bug #9569: SecureRandom should try /dev/urandom first
Yui NARUSE wrote:
> Shyouhei Urabe wrote:
> > @naruse Do you think it's inadequate for Linux users to fall back to ...
shyouhei (Shyouhei Urabe)
06:43 AM Bug #9569: SecureRandom should try /dev/urandom first
Yui NARUSE wrote:
> getrandom has some limitations like its max output (33554431), and consumes entropy.
This pro...
delan (Delan Azabani)
05:19 AM Bug #9569: SecureRandom should try /dev/urandom first
Shyouhei Urabe wrote:
> @naruse Do you think it's inadequate for Linux users to fall back to getrandom(2)? If so, w...
naruse (Yui NARUSE)
08:52 PM Bug #12425 (Closed): encoding string to UTF-16 is causing a segfault
While trying to create a Yaml file in UTF-16 format for testing I found that with the attached script ruby dies with ... ericldelaney (Eric Delaney)
08:06 PM Misc #12424 (Rejected): Inaccurate example in documentation
in https://.com/ruby/ruby/blob/ffb34cce89c63d43e2ae6a5c3956489fd3c5c4c7/ext/date/date_core.c#L9478
* ...
ja (JoseAlberto Suarez)
06:02 PM Bug #12423 (Closed): Regexp: Heap Buffer Overflow in regparse.c : next_state_value()
A crafted regular expression will cause a heap buffer overflow leading to invalid 4 byte reads/writes on 32-bit Ubunt... grajagandev (David Moore)
04:30 PM Revision 85500b66 (git): openssl: add EC.generate
* ext/openssl/ossl_pkey_ec.c (ec_key_new_from_group): Create a new
EC_KEY on given EC group. Extracted from ossl_ec...
rhenium (Kazuki Yamaguchi)
04:27 PM Revision 8cbd74a3 (git): openssl: rename EC#generate_key to EC#generate_key!
* ext/openssl/ossl_pkey_ec.c (ossl_ec_key_generate_key): Fix up RDoc.
(Init_ossl_ec): Rename EC#generate_key to EC#...
rhenium (Kazuki Yamaguchi)
04:17 PM Bug #12422 (Closed): CSV.Table.== fails to check object type
`CSV::Table`'s equality method presumes it is comparing another `CSV::Table`. It fails when the object to be compared... robotfelix (Felix Kenton)
03:29 PM Bug #12421 (Closed): Please backport r53816, r53817
Since there was request to fix this issue on RHEL7 [1], which ships Ruby 2.0.0 and the fix was applied just to trunk,... vo.x (Vit Ondruch)
03:23 PM Revision b3d3d52c (git): ruby.h: optimize rb_scan_args_set
* include/ruby/ruby.h (rb_scan_args_set): check the arity after
adjusting argc for an option hash, for optimization...
nobu (Nobuyoshi Nakada)
03:21 PM Revision 4e612fa6 (git): * 2016-05-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:21 PM Revision b1d28fef (git): configure.in: merge ruby_cflags to XCFLAGS
* configure.in (XCFLAGS): merge flags only for ruby itself from
ruby_cflags.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
02:00 PM Revision b2bc7f3c (git): Remove a space [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:42 PM Feature #3001: Ruby stdlib: Benchmark::Tms #memberwise drops labels
Ernest Prabhakar wrote:
> =begin
> http://ruby-doc.org/stdlib/libdoc/benchmark/rdoc/classes/Benchmark/Tms.html#M00...
cjeon (CHEOLHO JEON)
01:38 PM Bug #12420 (Closed): Regexp: Segfault due to Invalid Read in regparse.c : bbuf_free()
A crafted regular expression will cause an invalid 4 byte read on 32-bit Ubuntu 14.04. The regular expression fails t... grajagandev (David Moore)
01:09 PM Revision ce635262 (git): openssl: make Cipher#key= and #iv= reject too long values
* ext/openssl/ossl_cipher.c (ossl_cipher_set_key, ossl_cipher_set_iv):
Reject too long values as well as too short ...
rhenium (Kazuki Yamaguchi)
12:39 PM Revision cff5bd63 (git): openssl: avoid deprecated M_ASN1_* macros
* ext/openssl/ossl_x509ext.c (ossl_x509ext_set_value): Use
ASN1_OCTET_STRING_set() instead of M_ASN1_OCTET_STRING_s...
rhenium (Kazuki Yamaguchi)
09:52 AM Revision eb15df1f (git): ruby.h: rb_scan_args_verify
* include/ruby/ruby.h (rb_scan_args_verify): verify the format to
scan if no invalid chars and variable argument le...
nobu (Nobuyoshi Nakada)
08:26 AM Feature #12419 (Closed): Improve String#dump for Unicode output (from "\u{130}" to "\u0130")
Currently, `"İİİ".dump` produces `"\u{130}\u{130}\u{130}"`.
This is rather suboptimal, `"\u0130\u0130\u0130"` is s...
duerst (Martin Dürst)
08:18 AM Revision 6a787c68 (git): defines.h: fallback ERRORFUNC and WARNINGFUNC
* include/ruby/defines.h (ERRORFUNC, WARNINGFUNC): add fallback
definitions.
git-svn-id: svn+ssh://ci.ruby-lang.or...
nobu (Nobuyoshi Nakada)
08:11 AM Bug #9760: mkmf does not allow for linking against custom libraries when a system library is present
We have a system where
* Ruby 1.8.7-p374 is installed system wide from distribution packages
* There is a user se...
onur (Onur Küçük)
07:49 AM Bug #12409 (Closed): -fexcess-precision=standard is making it hard to compile my gem
Applied in changeset r55142.
----------
* configure.in (ruby_cflags): separate from optflags [Bug #12409]
-fexcess...
naruse (Yui NARUSE)
07:41 AM Bug #12409: -fexcess-precision=standard is making it hard to compile my gem
Don't change Backport field.
add description about backport field: https://bugs.ruby-lang.org/projects/ruby/wiki/H...
naruse (Yui NARUSE)
07:49 AM Revision 80db1d61 (git): * configure.in (ruby_cflags): separate from optflags [Bug #12409]
-fexcess-precision=standard and -fp-model precise are set to this now.
* configure.in (cflags): use ruby_cflags.
gi...
naruse (Yui NARUSE)
07:28 AM Revision e0a31f4f (git): fix missing argument
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:20 AM Revision 970b092e (git): fix __error__ and __warning__ attribute checks
* configure.in (ERRORFUNC, WARNINGFUNC): __error__ and __warning__
attributes take a parenthesized string literal.
...
nobu (Nobuyoshi Nakada)
05:54 AM Feature #12403: Optimise Regexp#match?
Sam Saffron wrote:
> Naruse, I see this was reverted? any way to get rb_scan_args inlined it would be beneficial eve...
naruse (Yui NARUSE)
03:44 AM Revision 4eb0e180 (git): * 2016-05-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:43 AM Revision 42db62c1 (git): * common.mk : sort lines, and add missing dependencies suggested
by tool/update-deps
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
shyouhei (Shyouhei Urabe)

05/23/2016

03:44 PM Bug #12418 (Closed): Regexp: Segfault due to Invalid Read in regerror.c : to_ascii()
A crafted regular expression will cause an invalid 4 byte read on 32-bit Ubuntu 14.04. The regular expression has sev... grajagandev (David Moore)
01:26 PM Revision 7f087e2c (git): fix indent (tabify) [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:33 PM Revision 88cc25f9 (git): missing.h: isfinite
* include/ruby/missing.h (isfinite): move from numeric.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55136 b2...
nobu (Nobuyoshi Nakada)
12:10 PM Bug #9101 (Closed): Reference to unset variable
Applied in changeset r55135.
----------
openssl: Avoid reference to unset global variable in Init_openssl()
* ext/o...
Anonymous
12:10 PM Revision d45c09fb (git): openssl: Avoid reference to unset global variable in Init_openssl()
* ext/openssl/ossl.c (Init_openssl): Avoid reference to unset global
variable. ossl_raise() may be called before dO...
rhenium (Kazuki Yamaguchi)
11:40 AM Revision 582fa9cd (git): openssl: use StringValueCStr() where NUL-terminated string is expected
* ext/openssl/ossl_asn1.c, ext/openssl/ossl_bn.c,
ext/openssl/ossl_cipher.c, ext/openssl/ossl_digest.c
ext/openss...
rhenium (Kazuki Yamaguchi)
11:21 AM Bug #12417 (Closed): warning: "isfinite" redefined when compiling bigdecimal.c on cygwin
Applied in changeset r55133.
----------
* ext/bigdecimal/bigdecimal.c (isfinite): get rid of a warning on
cygwin. ...
usa (Usaku NAKAMURA)
11:08 AM Bug #12417 (Closed): warning: "isfinite" redefined when compiling bigdecimal.c on cygwin
When using `make up; make install-nodoc`, I get the following warning:
```
compiling bigdecimal.c
bigdecimal.c:3...
duerst (Martin Dürst)
11:21 AM Revision b9da060b (git): * ext/bigdecimal/bigdecimal.c (isfinite): get rid of a warning on
cygwin. [Bug #12417][ruby-core:75691]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55133 b2dd03c8-39d4-4d8f-98...
U.Nakamura
11:05 AM Bug #12415 (Rejected): Dir#pos reports invalid position after Dir#read
nobu (Nobuyoshi Nakada)
06:05 AM Bug #12415: Dir#pos reports invalid position after Dir#read
This is not a bug.
The return value of Dir#pos is just the return value of telldir().
The return values of telldir(...
phasis68 (Heesob Park)
03:03 AM Bug #12415 (Rejected): Dir#pos reports invalid position after Dir#read
irb(main):002:0> `ls`.split("\n")
=> ["bench", "berger_spec.gemspec", "lib", "Rakefile", "README", "SCORECAR...
djberg96 (Daniel Berger)
10:47 AM Bug #10053 (Closed): OpenSSL: incorrect return value check of EGD functions
Applied in changeset r55132.
----------
openssl: fix incorrect return value check of RAND_* functions
* ext/openssl...
Anonymous
10:47 AM Revision 9f0cf20f (git): openssl: fix incorrect return value check of RAND_* functions
* ext/openssl/ossl_rand.c (ossl_rand_egd, ossl_rand_egd_bytes):
RAND_egd{_bytes,}() return -1 on failure, not 0.
...
rhenium (Kazuki Yamaguchi)
10:45 AM Revision 2d9d6caa (git): revert error attributes
* include/ruby/ruby.h (rb_scan_args0): revert error attributes,
which may not be optimized away in readline extensi...
nobu (Nobuyoshi Nakada)
10:35 AM Revision 3355640a (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:32 AM Feature #12416: struct rb_id_table lacks mark function
On 05/23/2016 05:07 PM, Eric Wong wrote:
> Do you have plans to hold arbitrary VALUE objects?

Yes. I plan to pos...
shyouhei (Shyouhei Urabe)
08:08 AM Feature #12416: struct rb_id_table lacks mark function
[email protected] wrote:
> Bug #12416: struct rb_id_table lacks mark function
> https://bugs.ruby-lang.org/is...
normalperson (Eric Wong)
07:20 AM Feature #12416 (Open): struct rb_id_table lacks mark function
```
From 368b63af3b9d4205048f19058453cddda0cf242c Mon Sep 17 00:00:00 2001
From: "Urabe, Shyouhei" <shyouhei@ruby...
shyouhei (Shyouhei Urabe)
06:55 AM Revision 921ff302 (git): * ext/bigdecimal/bigdecimal.c (isfinite): isfinite does not always
exist. fixed build error on Windows itroduced at r55123.
I found that more complex definition of isfinite in numeri...
U.Nakamura
04:40 AM Revision 3d18ceab (git): tcltklib.c: elimitate dead code
* ext/tk/tcltklib.c (lib_do_one_event_core): elimitate dead code.
after Check_Type, FIX2INT which implies conversio...
nobu (Nobuyoshi Nakada)
04:31 AM Revision c285a4e3 (git): remove unnecessary volatiles
* ext/dbm/dbm.c (fdbm_initialize): used for rb_sys_fail_str.
* ext/sdbm/init.c (fsdbm_initialize): ditto.
* ext/tk/...
nobu (Nobuyoshi Nakada)
04:31 AM Revision 19f14322 (git): tkutil.c: GC guards
* ext/tk/tkutil/tkutil.c (cbsubst_table_setup): add GC guards
instead of volatile after the uses.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
04:19 AM Revision a6144809 (git): make compile error if possible
* include/ruby/ruby.h (rb_scan_args0): make compile error if the
format is wrong or does not match with the variabl...
nobu (Nobuyoshi Nakada)
03:47 AM Revision 14c43e2b (git): fatal error if variable argument length mismatch
* include/ruby/ruby.h (rb_scan_args0): raise fatal error if
variable argument length does not match, it is a bug in...
nobu (Nobuyoshi Nakada)
03:30 AM Bug #12414 (Closed): FloatDomainError in infinite Range#include? for certain BigDecimals
Applied in changeset r55123.
----------
bigdecimal.c: fix FloatDomainError
* ext/bigdecimal/bigdecimal.c (GetVpValu...
nobu (Nobuyoshi Nakada)
12:25 AM Bug #12414 (Closed): FloatDomainError in infinite Range#include? for certain BigDecimals
# What I did
~~~ruby
require 'bigdecimal'
r = 0.04...(Float::INFINITY)
n = BigDecimal.new('0.13E0')
r.include?...
RubyBugs (A Nonymous)
03:30 AM Revision 4a574f7a (git): bigdecimal.c: fix FloatDomainError
* ext/bigdecimal/bigdecimal.c (GetVpValueWithPrec): consider
non-finite float values not to raise FloatDomainError....
nobu (Nobuyoshi Nakada)
03:23 AM Revision cb2a9982 (git): * array.c (rb_ary_fill): suppress warnings: 'item' may be used
uninitialized in this function
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55122 b2dd03c8-39d4-4d8f-98ff-823fe...
naruse (Yui NARUSE)
12:33 AM Bug #12413: Dir#close does not raise IOError on already closed handle on OS X
Thanks for the doc update! djberg96 (Daniel Berger)
12:30 AM Bug #12413: Dir#close does not raise IOError on already closed handle on OS X
Ah, yep, sorry. I was on an older version on the VM's and didn't notice. Disregard. djberg96 (Daniel Berger)

05/22/2016

11:21 PM Bug #12413: Dir#close does not raise IOError on already closed handle on OS X
[email protected] wrote:
> Bug #12413: Dir#close does not raise IOError on already closed handle on OS X
> https:...
normalperson (Eric Wong)
11:09 PM Bug #12413 (Closed): Dir#close does not raise IOError on already closed handle on OS X
Applied in changeset r55120.
----------
dir.c (dir_close): update RDoc for 2.3 #close change
[ruby-core:75679] [Bug...
Anonymous
10:37 PM Bug #12413 (Closed): Dir#close does not raise IOError on already closed handle on OS X
The docs for Dir#close say "Closes the directory stream. Any further attempts to access dir will raise an IOError."
...
djberg96 (Daniel Berger)
11:09 PM Revision f00ec4fb (git): * 2016-05-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:09 PM Revision bee0756e (git): dir.c (dir_close): update RDoc for 2.3 #close change
[ruby-core:75679] [Bug #12413]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55120 b2dd03c8-39d4-4d8f-98ff-823fe...
Eric Wong
09:50 PM Feature #12403: Optimise Regexp#match?
Naruse, I see this was reverted? any way to get rb_scan_args inlined it would be beneficial everywhere.
Nobu, kee...
sam.saffron (Sam Saffron)
12:34 PM Bug #12412 (Rejected): Extend safe navigation operator
Although I don't say your idea is totally bad, it's not good to add it to Ruby for several reasons:
* it's not com...
matz (Yukihiro Matsumoto)
10:28 AM Bug #12412: Extend safe navigation operator
Another improvement to make it even more powerful.
Introduction of a new global variable that would return the obj...
dsferreira (Daniel Ferreira)
10:09 AM Bug #12412: Extend safe navigation operator
I was reading the safe navigation issue full discussion and didn't find a clear reason why we should not extend the b... dsferreira (Daniel Ferreira)
08:16 AM Bug #12412: Extend safe navigation operator
It's a rejected behavior in the former discussions. nobu (Nobuyoshi Nakada)
06:31 AM Bug #12412: Extend safe navigation operator
In my proposal
~~~ ruby
nil&.nil?
# => true
~~~
Which is different from the current behaviour. You're right...
dsferreira (Daniel Ferreira)
06:20 AM Bug #12412: Extend safe navigation operator
Matthew Kerwin wrote:
> Daniel Ferreira wrote:
> > I wonder if we couldn't extend the safe navigation operator to w...
dsferreira (Daniel Ferreira)
06:12 AM Bug #12412: Extend safe navigation operator
Daniel Ferreira wrote:
> I wonder if we couldn't extend the safe navigation operator to work with any object rather ...
phluid61 (Matthew Kerwin)
06:09 AM Bug #12412: Extend safe navigation operator
Relates to:
* https://bugs.ruby-lang.org/issues/11537
* https://bugs.ruby-lang.org/issues/12263
dsferreira (Daniel Ferreira)
05:45 AM Bug #12412 (Rejected): Extend safe navigation operator
I wonder if we couldn't extend the safe navigation operator to work with any object rather than just nil.
I tend t...
dsferreira (Daniel Ferreira)
11:03 AM Revision 771064fa (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:03 AM Revision 021e8ead (git): use finalizer trick instead of thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Masatoshi SEKI
08:25 AM Revision 0bf2e5c7 (git): * test/ruby/enc/test_case_options.rb: adjust test class name
to match file name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
08:24 AM Revision de305716 (git): * rename test/ruby/enc/test_casing_options.rb to test_case_options.rb
for consistency
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
08:07 AM Bug #12411 (Closed): Warnings when compiling transcode.c on cygwin
Applied in changeset r55115.
----------
transcode.c: GC guards
* transcode.c (enc_arg, str_transcode_enc_args, econ...
nobu (Nobuyoshi Nakada)
03:44 AM Bug #12411 (Closed): Warnings when compiling transcode.c on cygwin
When compiling ruby trunk, the compilation of transcode produces the warnings below.
There's also a similar warning ...
duerst (Martin Dürst)
08:06 AM Revision 6ce18e3a (git): transcode.c: GC guards
* transcode.c (enc_arg, str_transcode_enc_args, econv_args):
remove volatile, and add GC guards in callers.
[ruby...
nobu (Nobuyoshi Nakada)
07:27 AM Bug #12408 (Closed): cannot load such file -- -test-/testutil when trying to run tests with test/runner.rb
Applied in changeset r55114.
----------
-test-/integer
* ext/-test-/integer/core_ext.c: move testutil/integer.c.
* ...
nobu (Nobuyoshi Nakada)
07:27 AM Revision 006634b4 (git): -test-/integer
* ext/-test-/integer/core_ext.c: move testutil/integer.c.
* test/lib/-test-/integer.rb: extract implementation detail...
nobu (Nobuyoshi Nakada)
05:59 AM Feature #12263: Feature request: &&. operator (shorthand for foo && foo.method)
By implementing https://bugs.ruby-lang.org/issues/12412
We would get the desired behaviour:
~~~ ruby
false&.cl...
dsferreira (Daniel Ferreira)
05:52 AM Feature #12263: Feature request: &&. operator (shorthand for foo && foo.method)
I opened a new feature request to extend the safe navigation operator. https://bugs.ruby-lang.org/issues/12412
I bel...
dsferreira (Daniel Ferreira)
05:57 AM Revision 78c5ca70 (git): * include/ruby/oniguruma.h: Extend OnigEncodingTypeDefine to define a
new encoding primitive 'case_map' for case mapping
* enc/utf-8.c, utf_16be/le.c, utf_32be/le.c:
add onigenc_unicode...
duerst (Martin Dürst)
05:45 AM Revision 14b524b6 (git): regenc.h/c: Define new function onigenc_not_support_case_map
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
03:31 AM Revision cadbde58 (git): * include/ruby/ruby.h (rb_scan_args): use original rb_scan_args
when fmt is dynamic.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
02:44 AM Revision 75307ce8 (git): * class.c (rb_scan_args): moved to bottom of the file to make the
effect of `#undef rb_scan_args` the minimum.
* include/ruby/ruby.h (rb_scan_args): overwrite only if GCC and
optim...
naruse (Yui NARUSE)
02:28 AM Revision b9fe5948 (git): move duplicate assertions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

05/21/2016

06:09 PM Revision 45e3b48b (git): just check Integer
* test/ruby/test_bignum.rb (test_pow): just assert to be an
Integer.
* test/ruby/test_integer_comb.rb (check_class...
nobu (Nobuyoshi Nakada)
06:06 PM Revision a7955b31 (git): hash method values
* test/ruby/test_{complex,range,rational,struct}.rb (test_hash):
hash values should be an Integer, not only a Fixnu...
nobu (Nobuyoshi Nakada)
05:47 PM Revision f73e6f5a (git): * 2016-05-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:47 PM Revision fd307c3b (git): * ext/zlib/zlib.c: remove hacky macro introduced at r30437.
* ext/zlib/zlib.c (gzfile_make_header): cast as long (instead of int).
* ext/zlib/zlib.c (gzfile_make_footer): ditto...
naruse (Yui NARUSE)
03:12 PM Feature #12410 (Rejected): Process.uid= validation and casting
OSX 10.11.4
Ruby 2.2.x and 2.3.x
It seems that Ruby added the ability to use a string for Process.uid, which is n...
djberg96 (Daniel Berger)
02:01 PM Revision 8becb1e4 (git): Revert r50102
This reverts "* include/ruby/ruby.h (rb_scan_args): don't use ALWAYS_INLINE with"
This rb_scan_args macro is GCCism.
...
naruse (Yui NARUSE)
01:47 PM Revision 3caa1776 (git): * include/ruby/ruby.h (rb_scan_args): don't use ALWAYS_INLINE with
`inline`. if gcc needs this duplication, do in ALWAYS_INLINE macro.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
U.Nakamura
01:40 PM Feature #12403: Optimise Regexp#match?
After r55102, rb_scan_args is almost statically resolved.
```
000000000051eae0 <rb_reg_match_m_p>:
* $& ...
naruse (Yui NARUSE)
01:24 PM Revision cc410660 (git): * include/ruby/ruby.h (rb_scan_args): use __VA_ARGS__ instead of
va_arg to allow compilers optimize more aggressive.
https://gustedt.wordpress.com/2011/07/10/avoid-writing-va_arg-f...
naruse (Yui NARUSE)
01:24 PM Revision ceea7ece (git): * configure.in (ALWAYS_INLINE): force compilers the function inlined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
10:08 AM Bug #11101: Forking is killing my memory when running GC
[email protected] wrote:
> Has anyone followed-up on this issue ever? I ran into this yesterday
> after deployin...
normalperson (Eric Wong)
12:56 AM Bug #11101: Forking is killing my memory when running GC
Has anyone followed-up on this issue ever? I ran into this yesterday after deploying 2.2 to an app server and noticin... olivierlacan (Olivier Lacan)
09:53 AM Bug #12409 (Closed): -fexcess-precision=standard is making it hard to compile my gem
I can no longer easily compile my C++ gem due to the -fexcess-precision=standard change
https://.com/discou...
sam.saffron (Sam Saffron)
09:15 AM Feature #7314: Convert Proc to Lambda doesn't work in MRI
Shyouhei Urabe wrote:
> Currently if a block starts with "lambda {", it behaves like a lambda. All others are proc....
shyouhei (Shyouhei Urabe)
07:25 AM Bug #12292 (Closed): Race between OpenSSL::SSL::SSLSocket#stop and #connect can cause a segmentation fault
Applied in changeset r55100.
----------
openssl: fix possible SEGV on race between SSLSocket#stop and #connect
* ex...
Anonymous
07:25 AM Revision 118ee2a7 (git): openssl: fix possible SEGV on race between SSLSocket#stop and #connect
* ext/openssl/ossl_ssl.c (ossl_ssl_stop): Don't free the SSL struct
here. Since some methods such as SSLSocket#conn...
rhenium (Kazuki Yamaguchi)
06:15 AM Bug #10581 (Rejected): OpenSSL::ASN1 fails to decode DKIM public keys
Because the Base64 encoded string is invalid as DER format. You have to decode Base64 first.
~~~
require "openssl...
rhenium (Kazuki Yamaguchi)
05:45 AM Revision 77d1e605 (git): openssl: fix SSL client example in documentation [ci skip]
* ext/openssl/ossl.c: [DOC] Fix SSL client example. The variable name
was wrong. by Andreas Tiefenthaler <at@...
rhenium (Kazuki Yamaguchi)
05:30 AM Bug #6567 (Closed): Let OpenSSL::PKey::EC follow the general PKey interface
Applied in changeset r55098.
----------
openssl: add OpenSSL::PKey::EC#private? and #public?
* ext/openssl/ossl_pke...
Anonymous
05:30 AM Revision 7c971e61 (git): openssl: add OpenSSL::PKey::EC#private? and #public?
* ext/openssl/ossl_pkey_ec.c: rename PKey::EC#private_key? and
#public_key? to #private? and #public? for consisten...
rhenium (Kazuki Yamaguchi)
04:52 AM Bug #12408: cannot load such file -- -test-/testutil when trying to run tests with test/runner.rb
BTW, do I have to use `make runnable` before every test, or after every `make install-nodoc` or when? duerst (Martin Dürst)
04:51 AM Bug #12408 (Open): cannot load such file -- -test-/testutil when trying to run tests with test/runner.rb
Nobuyoshi Nakada wrote:
> You have to run tests with the built ruby, not installed one.
> `make runnable` and use `...
duerst (Martin Dürst)
03:00 AM Bug #12408 (Closed): cannot load such file -- -test-/testutil when trying to run tests with test/runner.rb
You have to run tests with the built ruby, not installed one.
`make runnable` and use `./bin/ruby.exe`.
nobu (Nobuyoshi Nakada)
12:49 AM Bug #12408 (Closed): cannot load such file -- -test-/testutil when trying to run tests with test/runner.rb
When I try to run some individual tests with test/runner.rb, I get an error like this:
```
$ ruby test/runner.rb ...
duerst (Martin Dürst)
04:45 AM Feature #10473: Change Date#to_datetime to use local time
`Date#to_time` interprets date as the local time zone.
But `Date#to_datetime` interprets date as UTC.
I think thi...
yui-knk (Kaneko Yuichiro)
03:44 AM Revision 9239916f (git): openssl: remove impossible EOFError raise in OpenSSL::Buffering
* ext/openssl/lib/openssl/buffering.rb (read_nonblock, readpartial):
Remove impossible EOFError raise. by Zac...
rhenium (Kazuki Yamaguchi)
03:05 AM Feature #12374: SingletonClass
Nobuyoshi Nakada wrote:
> If a singleton class is a subclass of `SingletonClass`, no singleton classed inheriting ot...
sawa (Tsuyoshi Sawada)
03:03 AM Feature #12374: SingletonClass
If a singleton class is a subclass of `SingletonClass`, no singleton classed inheriting other classes cannot be made.... nobu (Nobuyoshi Nakada)
02:39 AM Feature #12374: SingletonClass
Nobuyoshi Nakada wrote:
> What is `SingletonClass`?
> A wrapper object?
No, it should be a subclass of `Class`. ...
sawa (Tsuyoshi Sawada)
02:18 AM Revision 4458026d (git): ipaddr: fix typo [ci skip]
* lib/ipaddr.rb: [DOC] fix documentation of IN6MASK to mention
IPv6. [Fix GH-1349]
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
02:12 AM Revision b3901a20 (git): Restore documentation of ARGF
* io.c (Init_IO): [DOC] define dummy ARGF instead of ARGF.class to
re-enable the generation of ARGF documentation. ...
nobu (Nobuyoshi Nakada)
02:07 AM Revision d70a84d5 (git): methods.rdoc: closing tag
* doc/syntax/methods.rdoc (Method Names): add proper closing tag.
[Fix GH-1356]
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
12:26 AM Revision 317a3e92 (git): configure.in: missing macro definition
* configure.in (RUBY_CHECK_SETJMP): fix missing macro definition
for the configured result. fix up r55021.
git-sv...
nobu (Nobuyoshi Nakada)

05/20/2016

05:36 PM Revision ac521b96 (git): merge revision(s) 55078:
openssl: don't test default session lifetime value
OpenSSL's default session timeout for TLS v1.0 method is ...
nagachika (Tomoyuki Chikanaga)
04:43 PM Feature #12350: Introduce Array#find! that raises an error if element not found
Documentation can be improved to use example of callable object don't you think?
I'm happy to create a PR with it.
dsferreira (Daniel Ferreira)
04:24 PM Feature #12360: More useful return values from bang methods
The principle of least surprise puts my mind expecting as a result the updated array.
A method to get both sides of ...
dsferreira (Daniel Ferreira)
04:00 PM Feature #12374 (Feedback): SingletonClass
What is `SingletonClass`?
A wrapper object?
```ruby
def (SingletonClass = Object.new).new(*args)
Class.new(*a...
nobu (Nobuyoshi Nakada)
03:45 PM Feature #12374: SingletonClass
Typo corrected dsferreira (Daniel Ferreira)
03:36 PM Bug #12398 (Closed): process.c compile broken for noMMU architectures on 2.3.x
Applied in changeset r55091.
----------
fix build on no-fork-spawnv platforms
* process.c (rb_execarg_commandline):...
nobu (Nobuyoshi Nakada)
12:28 AM Bug #12398: process.c compile broken for noMMU architectures on 2.3.x
BTW, what do you mean by "MMU", "memory management unit"? nobu (Nobuyoshi Nakada)
03:36 PM Revision aa107497 (git): fix build on no-fork-spawnv platforms
* process.c (rb_execarg_commandline): build command line string
from argument vector in rb_execarg.
[ruby-core:75...
nobu (Nobuyoshi Nakada)
03:30 PM Revision cbde995b (git): io.c: conditionally used functions
* io.c (pipe_atexit): only used on Windows
* io.c (rb_execarg_fixup_v): wrapper only used fork or spawnv is
availa...
nobu (Nobuyoshi Nakada)
03:29 PM Revision 1246e483 (git): ossl.c: suppress warnings
* ext/openssl/ossl.c (ossl_pem_passwd_cb): check integer
precision.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tr...
nobu (Nobuyoshi Nakada)
03:05 PM Revision ca8f4683 (git): * 2016-05-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:05 PM Revision f52ab6e4 (git): openssl: improve handling of password for encrypted PEM
* ext/openssl/ossl.c (ossl_pem_passwd_value): Added. Convert the
argument to String with StringValue() and validate...
rhenium (Kazuki Yamaguchi)
03:04 PM Bug #12397: Since r54986, syntax error with Oracle Solaris Studio 12.x on Solaris 10
r55084 にて、symbol.h 内の __builtin_constant_p についても、同様に措置しました。
(元々 r54986 の修正から漏れていた?)
ngoto (Naohisa Goto)
12:29 PM Bug #12397 (Closed): Since r54986, syntax error with Oracle Solaris Studio 12.x on Solaris 10
Applied in changeset r55082.
----------
Use RB_GNUC_EXTENSION_BLOCK instead of __extension__
* include/ruby/defines...
ngoto (Naohisa Goto)
02:55 PM Bug #12406 (Closed): Since r55002, Bus Error on 64-bit SPARC on Solaris 10
Applied in changeset r55086.
----------
capa should be even number on 64-bit SPARC for 8-byte word alignment
* id_t...
ngoto (Naohisa Goto)
01:29 PM Bug #12406 (Closed): Since r55002, Bus Error on 64-bit SPARC on Solaris 10
r55002 以降、SPARC Solaris 10 の 64-bit コンパイル時に、以下の Bus Error が発生します。
コンパイラは、gcc, Oracle Solaris Studio 12.3, 12.4 いずれでも...
ngoto (Naohisa Goto)
02:55 PM Revision 02cafdf4 (git): capa should be even number on 64-bit SPARC for 8-byte word alignment
* id_table.c (list_id_table_init): When unaligned word access is
prohibited and sizeof(VALUE) is 8 (64-bit machines...
ngoto (Naohisa Goto)
02:30 PM Bug #12407 (Rejected): 2 failures of TestMkmf::TestConvertible
jessie の clang でビルドすると `TestMkmf::TestConvertible#test_typeof_builtin` と `TestMkmf::TestConvertible#test_typeof_typed... znz (Kazuhiro NISHIYAMA)
02:24 PM Revision a716a247 (git): thread_pthread.c: no fork, no gvl_atfork
* thread_pthread.c (gvl_atfork): used in rb_thread_atfork_internal
only if HAVE_WORKING_FORK is defined.
git-svn-i...
nobu (Nobuyoshi Nakada)
01:33 PM Revision 8a775968 (git): Use HAVE_BUILTIN___BUILTIN_CONSTANT_P
* symbol.h (rb_id2sym): Use HAVE_BUILTIN___BUILTIN_CONSTANT_P
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@550...
ngoto (Naohisa Goto)
01:21 PM Revision ffb34cce (git): fix typos [ci skip]
* ext/date/date_core.c: [DOC] fix typos.
[fix GH-1360] ed by @soundasleep
git-svn-id: svn+ssh://ci.ruby-lang....
znz (Kazuhiro NISHIYAMA)
12:47 PM Feature #12403: Optimise Regexp#match?
https://.com/ruby/ruby/compare/trunk...nobu:feature/12403-optimize-Regexp%23match_p
------------------------...
nobu (Nobuyoshi Nakada)
12:43 AM Feature #12403 (Open): Optimise Regexp#match?
At the moment `#match?` is dynamically dised and args are walked.
Instead
- Add 2 insns instructions for ...
sam.saffron (Sam Saffron)
12:29 PM Revision 2b97ab88 (git): Use RB_GNUC_EXTENSION_BLOCK instead of __extension__
* include/ruby/defines.h (RB_GNUC_EXTENSION, RB_GNUC_EXTENSION_BLOCK):
macros for skipping __extension__ on non-GCC...
ngoto (Naohisa Goto)
12:17 PM Revision 27c13f82 (git): win32ole.c: share the content
* ext/win32ole/win32ole.c (fole_missing): make substring or dup to
share the content if possible.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
11:47 AM Revision 2eb1ec25 (git): win32ole.c: remove dead code
* ext/win32ole/win32ole.c (fole_missing): remove dead code
meaningless since r51913. RSTRING_LEN does not exceed L...
nobu (Nobuyoshi Nakada)
10:48 AM Revision b7733bf6 (git): exclude non-VALUE in memo from GC
* internal.h (NEW_PARTIAL_MEMO_FOR): shrink buffer array not to
mark non-VALUE fields. fix check_rvalue_consistenc...
nobu (Nobuyoshi Nakada)
10:11 AM Feature #12399: Restricted, safe version of `Kernel#eval`
It should be done as a gem. naruse (Yui NARUSE)
02:25 AM Feature #12399: Restricted, safe version of `Kernel#eval`
I doubt if such thing could be more useful than JSON or YAML... Both are more widely adopted to non-ruby CLI users l... shyouhei (Shyouhei Urabe)
10:01 AM Feature #9999 (Feedback): Type Annotations (Static Type Checking)
As matz says Ruby itself doesn't have a plan to include type annotations as its language syntax.
Therefore people wh...
naruse (Yui NARUSE)
02:19 AM Feature #9999: Type Annotations (Static Type Checking)
Yukihiro Matsumoto wrote:
> We are not going to add any kind of type annotation to Ruby.
> But as part of Ruby3x3 a...
[email protected] (Rob Blanco)
06:19 AM Bug #12404 (Feedback): Segmentation fault in ruby 2.3.0p0
Maybe related to [Bug #11880]?
Try 2.3.1.
nobu (Nobuyoshi Nakada)
02:54 AM Bug #12404 (Closed): Segmentation fault in ruby 2.3.0p0
Content of genexcel.rb (Can run in Ruby 2.2 x64)
```ruby
#!/usr/bin/env ruby
# encoding: utf-8
require 'win32...
fitmap (Justin Peal)
06:13 AM Bug #12405 (Closed): Queue doesn't work inside of trap
when adding things to the queue inside that trap blocking pop never unblocks
```
q = Queue.new
Signal.trap 'INT'...
kirillrdy (Kirill Radzikhovskyy)
06:06 AM Bug #4388: open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません
実験してみたのですが、まずrubyの./configureの段階で、tool/downloader.rbがhttps接続を使うので、
open_httpのところのhttpsをはじく処理をコメントアウトしないと動きませんでした。
...
kosaki (Motohiro KOSAKI)
04:36 AM Revision c06a9908 (git): openssl: don't test default session lifetime value
OpenSSL's default session timeout for TLS v1.0 method is not 300 seconds
but 7200. The TLS v1.0 specification[1] ment...
rhenium (Kazuki Yamaguchi)
04:13 AM Bug #12395 (Rejected): Class descendant_types ruby2.3.0, ruby 2.3.1
usa (Usaku NAKAMURA)
03:59 AM Bug #12395: Class descendant_types ruby2.3.0, ruby 2.3.1
Please close. rosco (Ross Cameron)
03:59 AM Bug #12395: Class descendant_types ruby2.3.0, ruby 2.3.1
Correct. Sorry about that.
rosco (Ross Cameron)
02:38 AM Feature #11735: Porting String#squish and String#squish! from Ruby on Rails' Active Support
Adam Doppelt wrote:
> Getting input from a user? squish
I guess you have never had a user from CJKV cultures.
...
shyouhei (Shyouhei Urabe)
12:23 AM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
The instruction doesn't seem worth specializing, at least. nobu (Nobuyoshi Nakada)

05/19/2016

11:38 PM Bug #12398 (Feedback): process.c compile broken for noMMU architectures on 2.3.x
It seems that `rb_spawn_process()` has been broken since 2.0.
I think we should drop support for such platforms, no-...
nobu (Nobuyoshi Nakada)
02:12 PM Bug #12398 (Closed): process.c compile broken for noMMU architectures on 2.3.x
`rb_spawn_process()` in process.c tries different solutions for when `fork` and/or `spawnv` are/aren't available.
Th...
gustavoz (Gustavo Zacarias)
11:04 PM Feature #12334: Final/Readonly Support for Fields / Instance Variables
Daniel: It might be easiest to go read about how readonly works in C#.
This is quite different than a constant bec...
wied03 (Brady Wied)
10:59 PM Feature #12334: Final/Readonly Support for Fields / Instance Variables
I'm struggling to understand the use cases.
For instance, can't we achieve the same thing by using a private metho...
dsferreira (Daniel Ferreira)
09:59 PM Bug #12372: Resolv::DNS does not fetch authority section resources when calling getresource(s)
Thumbs up from JRuby. We'll merge this in when ruby-core agrees. headius (Charles Nutter)
09:23 PM Bug #12402 (Closed): Inline rescue behavior inconsistent for method calls with arguments and assignment
In this example l'm intentionally passing bad data to `Date.parse` to trigger an exception. Depending on whether I us... bklang (Ben Klang)
09:02 PM Feature #12021: Final instance variables
Consider following code:
~~~ ruby
QUEUE = Queue.new
WORKER = Thread.new { loop { QUEUE.pop.call } }
def async...
pitr.ch (Petr Chalupa)
09:02 PM Feature #12020: Documenting Ruby memory model
Koichi Sasada wrote:
> Sorry for late response.
>
> Petr Chalupa wrote:
> > Let me start by elaborating more on ...
pitr.ch (Petr Chalupa)
07:52 PM Bug #12401 (Closed): compile fails --with-static-linked-ext
../ruby/configure --with-static-linked-ext; make
from git repository:
remotes/origin/ruby_2_1 commit 6d728bdae9...
goldenautumnday (Paul Martinolich)
06:55 PM Feature #12306: Implement String #blank? #present? and improve #strip and family to handle unicode
Experimentally implemented an String#blank? with Intel STTNI (SSE 4.2; Nehalem or later)
https://.com/ruby/rub...
naruse (Yui NARUSE)
05:57 PM Feature #11735: Porting String#squish and String#squish! from Ruby on Rails' Active Support
It would be great to include squish in String. I've been writing production Ruby code for years and I often pull in A... gurgeous (Adam Doppelt)
05:21 PM Revision c8fd8d3b (git): * 2016-05-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:21 PM Revision bfabd912 (git): fix a typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e sorah (Sorah Fukumori)
05:10 PM Misc #12400 (Third Party's Issue): Zen of Ruby
http://rubygems.org/gems/this
I maintain this gem. I had written this gem 6 years ago.
It shows Zen of Ruby when yo...
anildigital (Anil Wadghule)
04:56 PM Feature #11098: Thread-level allocation counting
allocation_tracer is awesome for debugging, and I've happily used it a number of times. Thank you for building it Koi... jasonrclark (Jason Clark)
03:25 PM Feature #12399 (Feedback): Restricted, safe version of `Kernel#eval`
`Kernel#eval` is convenient, but sometimes, it can be a security risk, and often people crazily react against using i... sawa (Tsuyoshi Sawada)
12:23 PM Revision 02942a6b (git): fix document of Regexp#match?
* re.c (rb_reg_match_m_p): [DOC] fix return value in rdoc.
* test/ruby/test_regexp.rb (TestRegexp#test_match_p): add...
znz (Kazuhiro NISHIYAMA)
10:15 AM Feature #3944: Add Fiber#root? method
> It might indeed be EM-specific.
I didn't use EM and not going to in the case I've described above.
Nakilon (Victor Maslov)
04:36 AM Feature #3944: Add Fiber#root? method
Nobuyoshi Nakada wrote:
> Couldn't anyone explain how the method will be used and why it will be necessary?
> As fa...
spatulasnout (B Kelly)
10:07 AM Bug #12397 (Closed): Since r54986, syntax error with Oracle Solaris Studio 12.x on Solaris 10
r54986以降、Solaris 10上の Oracle Solaris Studio 12.3 および 12.4 にて、以下のエラーでコンパイルに失敗します。
一部分のみピックアップすると、__extension__ が単なる...
ngoto (Naohisa Goto)
08:25 AM Bug #12396 (Closed): Compilation crashes with segmentation fault in HP-UX 11.31
Trying to compile Ruby 2.3.1 from source tarball on "HP-UX blnn724x B.11.31 U ia64 HP-UX" with `export CC=/opt/aCC/bi... michael-o (Michael Osipov)
06:52 AM Bug #12395 (Feedback): Class descendant_types ruby2.3.0, ruby 2.3.1
Ruby doesn't have such method.
What do you want to say about? Some gems?
usa (Usaku NAKAMURA)
06:39 AM Bug #12395 (Rejected): Class descendant_types ruby2.3.0, ruby 2.3.1
descendant_types method call on any class results in the following error message:
TypeError::can't create instance...
rosco (Ross Cameron)
04:53 AM Revision 2aabfcd4 (git): openssl: register ex_data index for X509_STORE{_CTX,} respectively
* ext/openssl/ossl.c (Init_openssl): register an ex_data index for
X509_STORE and X509_STORE_CTX respectively. Sinc...
rhenium (Kazuki Yamaguchi)
04:34 AM Revision 345d2ba1 (git): * test/ruby/test_array.rb (TestArray#test_push_over_ary_max): it seems to take
long time on mswinci.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
U.Nakamura
04:12 AM Revision a3e666b4 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:12 AM Revision a24fe080 (git): openssl: check argument type in OpenSSL::X509::Attribute#value=
* ext/openssl/ossl_x509attr.c (ossl_x509attr_set_value): check that the
argument is an OpenSSL::ASN1::Data before c...
rhenium (Kazuki Yamaguchi)
03:46 AM Revision 4176db20 (git): assertions.rb: leave timeout to invoke_ruby
* test/lib/test/unit/assertions.rb (assert_separately): leave
timeout to invoke_ruby, which handles outputs and sta...
nobu (Nobuyoshi Nakada)
03:10 AM Bug #12394 (Closed): Regexp#match? should strictly return true or false
Applied in changeset r55069.
----------
re.c: fix match?
* re.c (rb_reg_match_m_p): fix match against empty string....
nobu (Nobuyoshi Nakada)
02:46 AM Bug #12394 (Closed): Regexp#match? should strictly return true or false
Now:
```ruby
//.match?"" #=> nil
/a/.match?"" #=> nil
```
Should be:
```ruby
//.match?"" #=> true
/a/.m...
sam.saffron (Sam Saffron)
03:10 AM Revision a28c12af (git): re.c: fix match?
* re.c (rb_reg_match_m_p): fix match against empty string.
rb_str_offset returns the end when the position exceeds ...
nobu (Nobuyoshi Nakada)
03:09 AM Revision 0c221f63 (git): fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:37 AM Revision 780c056d (git): re.c: match? should return nil if no match
* re.c (rb_reg_match_m_p): should return nil if no match, as the
document says. [Feature #8110]
git-svn-id: svn+s...
nobu (Nobuyoshi Nakada)
12:25 AM Feature #9999 (Rejected): Type Annotations (Static Type Checking)
We are not going to add any kind of type annotation to Ruby.
But as part of Ruby3x3 attempt, we are trying to add ty...
matz (Yukihiro Matsumoto)

05/18/2016

11:52 PM Bug #9580: Refinements regression in IRB
In ruby 2.4.0dev, top-level refinements still don't work in IRB. Now I get a RuntimeError when using them:
~~~
$ ...
kernigh (George Koehler)
10:34 PM Feature #7314: Convert Proc to Lambda doesn't work in MRI
Maybe this should warn or error when you attempt to turn a proc into a lambda?
The JRuby behavior is not intention...
headius (Charles Nutter)
01:02 AM Feature #7314: Convert Proc to Lambda doesn't work in MRI
We looked at this issue in yesterday's developer meeting.
The use case Andrew showed is (in spite of his intention...
shyouhei (Shyouhei Urabe)
08:49 PM Feature #6647: Exceptions raised in threads should be logged
> I wanted to say this is "better than nothing". I understand people want it with default on, and myself can live wit... headius (Charles Nutter)
10:20 AM Feature #6647: Exceptions raised in threads should be logged
Akira Tanaka wrote:
> I tried test-all with Thread.report_on_exception = true using nobu's .
> https://-d...
Eregon (Benoit Daloze)
02:32 AM Feature #6647: Exceptions raised in threads should be logged
I tried test-all with Thread.report_on_exception = true using nobu's .
https://-diff.usercontent.com...
akr (Akira Tanaka)
07:09 PM Bug #12393 (Closed): SingleForwardable broken in 2.2.5
The change to `forwardable.rb` in 2.2.5 seem to have broken the instance delegation method.
As per the example in ...
RichSeviora (Richard Seviora)
03:17 PM Revision c2dc6960 (git): * 2016-05-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:17 PM Revision a6c38cb4 (git): * re.c (reg_names_iter): specify capacify
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:14 PM Bug #12392 (Closed): configure --with-sitedir=no --with-sitearchdir=no --with-vendordir=no --with-vendorarchdir=no が機能しない
configure のヘルプでは、オプション --with-sitedir, --with-sitearchdir, --with-vendordir, --with-vendorarchdir に noを与えられることになっているが... yoko-a (Atsushi YOKOYAMA)
01:40 PM Revision 2c1990a8 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:34 PM Bug #12391 (Closed): backport r55063
バックポート用チケットです。
オブジェクト循環参照系でたまたまobject idがBignumになっちゃった時だけ踏むバグの修正です。
usa (Usaku NAKAMURA)
12:31 PM Revision fbef098f (git): * thread.c (recursive_list_access): a object id may be a Bignum. so,
the list must be a objhash, instead of a identhash.
this fixes many test errors on mswin64 CI.
git-svn-id: svn+ss...
U.Nakamura
11:32 AM Revision d23bd580 (git): re.c: fix type
* re.c (rb_reg_match_m_p): fix type of variable for onig_search
result.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
10:51 AM Feature #8110 (Closed): Regex methods not changing global variables
Implemented at r55061, thanks! naruse (Yui NARUSE)
10:37 AM Revision f09574c8 (git): * re.c (rb_reg_match_m_p): Introduce Regexp#match?, which returns
bool and doesn't save backref.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55061 b2dd03c8-39d4-4d8f-98ff-823fe...
naruse (Yui NARUSE)
10:07 AM Revision 898aeb87 (git): openssl: fix test failure due to the previous commit
* test/openssl/test_pkey_ec.rb (test_ec_point_mul): My previous commit
r55059 was broken. I should have been more c...
rhenium (Kazuki Yamaguchi)
10:07 AM Feature #12157: Is the option hash necessary for future Rubys?
It is not clear to me what will be the future behaviour.
Can we update the description to clearly state what we will...
dsferreira (Daniel Ferreira)
09:39 AM Feature #3944: Add Fiber#root? method
Couldn't anyone explain how the method will be used and why it will be necessary?
As far as I read, it sounds that i...
nobu (Nobuyoshi Nakada)
08:52 AM Revision 1d1efeea (git): openssl: fix test failure of OpenSSL::TestEC#test_ec_point_mul
* test/openssl/test_pkey_ec.rb (test_ec_point_mul): CentOS 7 es
OpenSSL to reject curves defined over a small fi...
rhenium (Kazuki Yamaguchi)
08:06 AM Revision bbc4fd88 (git): test_random.rb: skip old OpenSSL
* test/openssl/test_random.rb (OpenSSL::TestRandom): ignore
out-of-date OpenSSL before 1.0, as well as other tests....
nobu (Nobuyoshi Nakada)
07:59 AM Revision 68f119cb (git): openssl: fix OpenSSL error queue in OpenSSL::PKCS12.new
* ext/openssl/ossl_pkcs12.c (ossl_pkcs12_initialize): pop errors
by PKCS12_parse(). This is a bug in OpenSSL...
rhenium (Kazuki Yamaguchi)
07:24 AM Revision 1fcce422 (git): openssl/test_random.rb: requires utils.rb
* test/openssl/test_random.rb: requires test/openssl/utils.rb for
OpenSSL::TestCase now.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
07:08 AM Bug #4388: open-uriで環境変数http_proxyを使うときに認証付きのProxyが使えません
あ、ごめんなさい。しばたさんの変更に気づいていませんでした。確認のうえ、返信します。ごめんなさい。 kosaki (Motohiro KOSAKI)
07:04 AM Revision 37beb43b (git): downloader.rb: disable verify if rubygems is old
* tool/downloader.rb (Downloader::RubyGems.download): verify gems
only if RubyGems is 2.4 or later. old RubyGems f...
nobu (Nobuyoshi Nakada)
05:52 AM Bug #12390 (Closed): Heap Buffer Overflow in Marshal Load on 32-bit
Applied in changeset r55054.
----------
string.c: integer overflow
* string.c (rb_str_modify_expand): check integer...
nobu (Nobuyoshi Nakada)
03:26 AM Bug #12390 (Closed): Heap Buffer Overflow in Marshal Load on 32-bit
A heap buffer overflow occurs when marshal loading (un-marshaling) crafted data on 32-bit Ubuntu 14.04.
It appea...
grajagandev (David Moore)
05:52 AM Revision b493d156 (git): string.c: integer overflow
* string.c (rb_str_modify_expand): check integer overflow.
[ruby-core:75592] [Bug #12390]
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
04:58 AM Bug #12292 (Assigned): Race between OpenSSL::SSL::SSLSocket#stop and #connect can cause a segmentation fault
Kazuki, I think it's OK for you to fix a segmentation fault now. shyouhei (Shyouhei Urabe)
04:56 AM Revision b8fde968 (git): * re.c (match_ary_subseq): get subseq of match array without creating
temporary array.
* re.c (match_ary_aref): get element(s) of match array without creating
temporary array.
* re.c ...
naruse (Yui NARUSE)
04:36 AM Revision 3f991534 (git): ossl_pkey_ec.c: index types
* ext/openssl/ossl_pkey_ec.c (ossl_ec_point_mul): fix index types.
Array length is long, not int.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
04:07 AM Bug #7215 (Closed): Remaining messages on OpenSSL error queue after Certificate#verify
Applied in changeset r55051.
----------
openssl: clear OpenSSL error queue before return to Ruby
* ext/openssl/ossl...
Anonymous
04:07 AM Revision c8cb2625 (git): openssl: clear OpenSSL error queue before return to Ruby
* ext/openssl/ossl_x509cert.c (ossl_x509_verify): X509_verify()
family may put errors on 0 return (0 means verifica...
rhenium (Kazuki Yamaguchi)
04:07 AM Revision d66e88dc (git): openssl: report errors in OpenSSL error queue when clear it
* ext/openssl/ossl.c (ossl_clear_error): Extracted from
ossl_make_error(). This prints errors in the OpenSSL error ...
rhenium (Kazuki Yamaguchi)
03:21 AM Revision 3d42a665 (git): Describe Enumerable#sum in NEWS [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
02:55 AM Bug #10268 (Closed): OpenSSL::PKey::EC::Point#mul causes a segmentation fault
Applied in changeset r55048.
----------
ext/openssl: refactor OpenSSL::PKey::EC::Point#mul
* ext/openssl/ossl_pkey_...
Anonymous
02:55 AM Revision 01801f2a (git): ext/openssl: refactor OpenSSL::PKey::EC::Point#mul
* ext/openssl/ossl_pkey_ec.c (ossl_ec_point_mul): Validate the
arguments before passing to EC_POINT(s)_mul(). Add d...
rhenium (Kazuki Yamaguchi)
02:55 AM Revision b43fd8e0 (git): openssl: fix equality test methods of OpenSSL::BN
* ext/openssl/ossl_bn.c (try_convert_to_bnptr): Extracted from
GetBNPtr(). This doesn't raise exception but returns...
rhenium (Kazuki Yamaguchi)
02:05 AM Revision 2bedfc66 (git): test/win32ole/test_win32ole_variant.rb: use other than Integer
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:33 AM Feature #11098: Thread-level allocation counting
Koichi told me that this proposed functionality can be implemented on top of what is provided now.
He also said th...
shyouhei (Shyouhei Urabe)
01:22 AM Feature #11735: Porting String#squish and String#squish! from Ruby on Rails' Active Support
We looked at it on yesterday's developer meeting but didn't reach a consensus. This might be because the attendees a... shyouhei (Shyouhei Urabe)
01:21 AM Revision 6a69ab93 (git): extension.rdoc: RB_{INTEGER,FLOAT}_TYPE_P [ci skip]
* doc/extension.rdoc, doc/extension.rdoc (Checking Data Types):
[DOC] mention RB_INTEGER_TYPE_P and RB_FLOAT_TYPE_P...
nobu (Nobuyoshi Nakada)
01:17 AM Revision 4a9705d6 (git): ruby.h: RB_INTEGER_TYPE_P
* include/ruby/ruby.h (RB_INTEGER_TYPE_P): new macro and
underlying inline function to check if the object is an
...
nobu (Nobuyoshi Nakada)
01:16 AM Revision abe32a00 (git): enum.c: fix declaration-after-statement
* enum.c (sum_iter): workaround of mixed declarations and code.
erred by -Werror=declaration-after-statement option...
nobu (Nobuyoshi Nakada)
01:07 AM Bug #10708: In a function call, double splat of an empty hash still calls the function with an argument
Matz is positive about #12157 (removal of optional hash parameters).
If that request is to be accepted, this doub...
shyouhei (Shyouhei Urabe)
01:05 AM Revision 5d0bf9ae (git): extension.rdoc: RB_TYPE_P [ci skip]
* doc/extension.rdoc, doc/extension.rdoc (Checking Data Types):
[DOC] mention RB_TYPE_P.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
12:54 AM Revision 49432957 (git): Optimize each_sum for hashes
* enum.c (enum_sum, hash_sum, hash_sum_i, enum_sum_i, sum_iter):
Optimize for hashes when each method isn't redefin...
Kenta Murata
12:42 AM Feature #6739: One-line rescue statement should support specifying an exception class
We looked at it in yesterday's developer meeting. Nobu told us that all the proposed syntax so far renders conflicts... shyouhei (Shyouhei Urabe)
12:34 AM Feature #6739: One-line rescue statement should support specifying an exception class
What's the problem with `then`? I'm getting a syntax error when I try it:
~~~
irb(main):002:0> foo rescue Bar the...
javawizard (Alex Boyd)
12:23 AM Feature #11925: Struct construction with kwargs
We looked at this issue in yesterday's developer meeting. Nobody there was against the functionality -- but the name... shyouhei (Shyouhei Urabe)
12:16 AM Revision eb9c9964 (git): Extract int_range_sum from enum_sum
* enum.c (enum_sum, int_range_sum): Extract int_range_sum from
enum_sum.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
Kenta Murata
12:14 AM Misc #12283: Obsolete ChangeLog and commit message in Git-style
I asked matz why he need a ChangeLog yesterday. He answered that the problem is `svn log`. It requires network conn... shyouhei (Shyouhei Urabe)
 

Also available in: Atom