Project

General

Profile

Activity

From 05/23/2016 to 05/29/2016

05/29/2016

06:28 PM Revision d7491e2a (git): * ChangeLog: fix a typo for r55198.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
03:10 PM Revision fca1aabb (git): * 2016-05-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:10 PM Revision 78c96608 (git): * ext/-test-/auto_ext.rb: fixed a heedless bug introduced at r55198.
this change will make RubyCI green.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55204 b2dd03c8-39d4-4d8f-98ff...
U.Nakamura
01:58 PM Revision 267d34c6 (git): * regexec.c (ONIGENC_IS_MBC_ASCII_WORD): redefine optimized one.
WORD of Ruby's ascii compatible encoding is always [a-zA-Z0-9_].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5...
naruse (Yui NARUSE)
01:56 PM Revision 9ff5f9c0 (git): * regexec.c (match_at): make compilers optimize harder.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
01:39 PM Bug #12349 (Closed): Can't load OpenStruct with Syck with Ruby 2.3.x
This has already been reported in #11884, thanks marcandre (Marc-Andre Lafortune)
11:28 AM Bug #12436 (Closed): newline argument of File.open seems not respected on Windows
~~~ruby
File.open("abc", "wt", newline: :lf) { |f|
f.write "a\n"
f.puts "b"
}
~~~
will create a file with...
Eregon (Benoit Daloze)
10:18 AM Revision b9e392fb (git): vm_core.h: rb_exc_set_backtrace declaration
* vm_core.h (rb_exc_set_backtrace): move declaration from
eval_error.c and vm_args.c.
git-svn-id: svn+ssh://ci.rub...
nobu (Nobuyoshi Nakada)
04:10 AM Revision 0d123232 (git): win32.c: RUBY_CRITICAL
* win32/win32.c (RUBY_CRITICAL): removed the argument but make
just a block which does nothing, so that debuggers c...
nobu (Nobuyoshi Nakada)
03:08 AM Revision 402dba52 (git): * 2016-05-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:08 AM Revision a594ca98 (git): auto_ext.rb
* ext/-test-/auto_ext.rb (auto_ext): utitily method to create
extension libraries for tests.
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
12:19 AM Bug #9569: SecureRandom should try /dev/urandom first
I've created a new gem which packages the libsodium's "randombytes_sysrandom" as a self-contained RubyGem. It's calle... bascule (Tony Arcieri)
12:15 AM Bug #12434: Marshal.dump does not dump some numbers as Fixnum
Thank you. I should have looked up ruby spec. https://github.com/ruby/spec/blob/master/core/marshal/dump_spec.rb#L40-L48 eitoball (Eito Katagiri)

05/28/2016

11:19 PM Bug #12434 (Rejected): Marshal.dump does not dump some numbers as Fixnum
It is intentionally dumped as a Bignum for marshal data compatibility across architectures.
Current behavior:
`...
nobu (Nobuyoshi Nakada)
12:56 PM Bug #12434 (Rejected): Marshal.dump does not dump some numbers as Fixnum
`Marshal.dump` dumps numbers between 1073741824 and 4294967295 and between -4294967296 and -1073741825 as `Bignum`, b... eitoball (Eito Katagiri)
07:57 PM Feature #12435 (Open): Using connect_nonblock to open TCP connections in Net::HTTP#connect
Hey all, I've got a pull request at https://github.com/ruby/ruby/pull/1370 to start using connect_nonblock to open th... mohamedhafez (Mohamed Hafez)
11:40 AM Revision a552fa2d (git): ruby-insert-heredoc-code-block
* misc/ruby-additional.el (ruby-insert-heredoc-code-block): insert
here document code block for assert_separately m...
nobu (Nobuyoshi Nakada)
11:34 AM Revision 3883bb6b (git): * test/test_unicode_normalize.rb: Add test to check for availability of
Unicode data file; refactoring; fix an error with tests for destructive
method (unicode_normalize!).
git-svn-id: ...
duerst (Martin Dürst)
10:45 AM Revision 7a622b18 (git): test_file_exhaustive.rb: blocking flock
* test/ruby/test_file_exhaustive.rb (test_flock): add assertions
for the blocking cases.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
10:08 AM Revision 9646e588 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:08 AM Revision 62efd110 (git): * test/ruby/enc/test_case_comprehensive.rb: Add error messages to tests
for data file availability; refactoring.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55193 b2dd03c8-39d4-4d8f...
duerst (Martin Dürst)
09:55 AM Feature #12079 (Assigned): Loosening the condition for refinement
hsbt (Hiroshi SHIBATA)
09:43 AM Bug #12324: Support OpenSSL 1.1.0 (and drop support for 0.9.6/0.9.7)
I added commit-bit to Kazuki Yamaguchi-san few weeks ago.
Please do apply your proposal by yourself.
hsbt (Hiroshi SHIBATA)
05:33 AM Revision adf26d99 (git): ChangeLog: fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:07 AM Bug #12327 (Feedback): Seg Fault - ruby 2.3.0 mongo & OpenSSL issue??
Can you try with Ruby 2.3.1? hsbt (Hiroshi SHIBATA)
05:04 AM Bug #6233 (Closed): Definition of EVP_MD_CTX_cleanup incomplete.
r55162 (openssl: drop OpenSSL 0.9.6/0.9.7 support, 2016-05-25) removed the code. rhenium (Kazuki Yamaguchi)
05:03 AM Bug #12373 (Assigned): Optimize CSV#shift
hsbt (Hiroshi SHIBATA)
05:03 AM Feature #12347 (Assigned): [PATCH] Make CSV::Row#each etc. return Enumerator when no block given
hsbt (Hiroshi SHIBATA)
05:02 AM Bug #12349 (Third Party's Issue): Can't load OpenStruct with Syck with Ruby 2.3.x
Syck is not part of ruby core. Please submit your issue to https://github.com/tenderlove/syck hsbt (Hiroshi SHIBATA)
05:01 AM Bug #12329 (Rejected): Minitest not in the documentation
minitest is extracted from ruby core repository at Ruby 2.1. hsbt (Hiroshi SHIBATA)
05:00 AM Bug #11724 (Closed): SNIでsessionが無効だったときにhostnameがサーバに送られない
Applied in changeset r55191.
----------
openssl: move SSLSocket#initialize to C extension
* ext/openssl/lib/openssl...
Anonymous
05:00 AM Revision 61a3fff6 (git): openssl: move SSLSocket#initialize to C extension
* ext/openssl/lib/openssl/ssl.rb (SSLSocket): Move the implementation of
SSLSocket#initialize to C. Initialize the ...
rhenium (Kazuki Yamaguchi)
04:46 AM Bug #12325 (Feedback): Ruby 2.2.1 fails with Rails 4.2.0-6 - Segmentation fault at 0x00000000000418 ruby 2.2.1p85
Please try with Ruby 2.2.5 or 2.3.1 hsbt (Hiroshi SHIBATA)
04:45 AM Bug #12248 (Closed): Backport rubygems fix from upstream repo for Ruby 2.2.x
hsbt (Hiroshi SHIBATA)
04:44 AM Bug #12258 (Assigned): RDoc bug when handling comments in C code examples
I will pick commits from upstream when it was fixed. hsbt (Hiroshi SHIBATA)
04:39 AM Bug #12207 (Feedback): [BUG] Segmentation fault at 0x00000000000000 ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin14]
Can you try with Ruby 2.2.5 or 2.3.1? hsbt (Hiroshi SHIBATA)
03:44 AM Feature #6647: Exceptions raised in threads should be logged
Here's an implementation in JRuby: https://github.com/jruby/jruby/pull/3937
From the primary commit:
Implement ...
headius (Charles Nutter)
01:08 AM Feature #6647: Exceptions raised in threads should be logged
> (1) Thread#report_on_exception = true
> Show exception and backlog immediately (already proposed)
>
> (2) Threa...
headius (Charles Nutter)
01:47 AM Revision ff92ede8 (git): * gems/bundled_gems: Update latest releases, power_assert-0.3.0,
test-unit 3.1.9, minitest 5.9.0, did_you_mean 1.0.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55190 b2dd03c8...
hsbt (Hiroshi SHIBATA)
01:46 AM Revision 2bd2001d (git): * addr2line.c: drop to support ATARI ST platform. It was discontinued
more than two decades ago. [fix GH-1350] Patch by @cremno
* include/ruby/ruby.h: ditto.
* io.c: ditto.
git-svn-id: s...
hsbt (Hiroshi SHIBATA)
01:41 AM Bug #12433: uncommon.mk:614: recipe for target 'yes-test-almost' failed - missing UnicodeData.txt
In r55188, I have changed the testing so that it doesn't produce an exception anymore, but just fails a test. However... duerst (Martin Dürst)
01:00 AM Bug #12433: uncommon.mk:614: recipe for target 'yes-test-almost' failed - missing UnicodeData.txt
Vit Ondruch wrote:
> ```
> /builddir/build/BUILD/ruby-2.4.0-r55184/test/ruby/enc/test_case_comprehensive.rb:25:in...
duerst (Martin Dürst)
01:39 AM Revision 28887804 (git): * test/ruby/enc/test_case_comprehensive.rb: Converted exception for
unavailable Unicode data files to failed assertion.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55188 b2dd03c...
duerst (Martin Dürst)
01:37 AM Revision 6375ad28 (git): git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
duerst (Martin Dürst)
01:26 AM Revision 94dc3e71 (git): * 2016-05-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:26 AM Revision e303695e (git): * lib/cgi/util.rb: added to missing quote.
[fix GH-1363][ci skip] Patch by @dwaller
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55185 b2dd03c8-39d4-4d8f-...
hsbt (Hiroshi SHIBATA)

05/27/2016

06:58 PM Bug #11953: ThreadError in 2.3 on code that works on 2.2.4
Tom Mornini wrote:
> We'll try it under 2.2.4 and report back.
We actually tested against 2.2.5, and we're seei...
tmornini (Tom Mornini)
07:01 AM Bug #11953: ThreadError in 2.3 on code that works on 2.2.4
With 1.9..trunk, I got same behaviors with both examples, no error with Clayton's and `ThreadError` with James's.
nobu (Nobuyoshi Nakada)
06:39 PM Feature #11098: Thread-level allocation counting
I'd be happy to spin up a gem version of this and see what the difference is. I'll report back once I have some code ... jasonrclark (Jason Clark)
09:12 AM Feature #11098: Thread-level allocation counting
Thank you for your explanation.
After that we need to measure the gem version of this feature.
Can you write it? ...
ko1 (Koichi Sasada)
04:31 PM Bug #12433 (Closed): uncommon.mk:614: recipe for target 'yes-test-almost' failed - missing UnicodeData.txt
Trying to run `make check` from latest snapshot, the test suite fails:
```
/builddir/build/BUILD/ruby-2.4.0-r5518...
vo.x (Vit Ondruch)
01:13 PM Revision 88a5f937 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:43 AM Revision 294f6531 (git): process.c: [DOC] Process.abort [ci skip]
* process.c (rb_f_abort): [DOC] Process.abort is a singleton
method of Process, but not an instance method.
git-sv...
nobu (Nobuyoshi Nakada)
08:44 AM Feature #6647: Exceptions raised in threads should be logged
any conclusion?
Another idea:
(1) Thread#report_on_exception = true
Show exception and backlog immediately (al...
ko1 (Koichi Sasada)
08:38 AM Bug #12389 (Closed): Module#constants includes non-constants
Applied in changeset r55182.
----------
variable.c: hidden constants
* variable.c (rb_local_constants_i): exclude h...
nobu (Nobuyoshi Nakada)
08:38 AM Revision c57c719e (git): variable.c: hidden constants
* variable.c (rb_local_constants_i): exclude hidden constants.
[ruby-core:75575] [Bug #12389]
git-svn-id: svn+ssh:...
nobu (Nobuyoshi Nakada)
08:09 AM Bug #12431 (Closed): Strange behavior of String#encode('UTF-8', 'UTF-8', ...) when the encoding of the source string is not UTF-8
Applied in changeset r55181.
----------
transcode.c: scrub in the given encoding
* transcode.c (str_transcode0): sc...
nobu (Nobuyoshi Nakada)
08:09 AM Revision 4fad63da (git): transcode.c: scrub in the given encoding
* transcode.c (str_transcode0): scrub in the given encoding when
the source encoding is given, not in the encoding ...
nobu (Nobuyoshi Nakada)
07:13 AM Bug #12432 (Third Party's Issue): The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec()
Seems an issue with unicorn and rcdk gem caused by a system restriction.
I think you should `exec` or `spawn` somewh...
nobu (Nobuyoshi Nakada)
06:07 AM Revision be1ceb27 (git): fix non-static rb_scan_args
* include/ruby/ruby.h (rb_scan_args): remove nul padding which
caused syntax error if fmt is not a string literal.
...
nobu (Nobuyoshi Nakada)
05:44 AM Revision d92b58d5 (git): ruby.h: fix parameter name
* include/ruby/ruby.h (rb_scan_args): fix macro parameter name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55...
nobu (Nobuyoshi Nakada)

05/26/2016

09:46 PM Bug #12432 (Third Party's Issue): The process has forked and you cannot use this CoreFoundation functionality safely. You MUST exec()
Hi all,
I'm Running a server with ruby 2.1.5 with Rails 3.2.21 on Mac OS X El Capitan.
The server works until I t...
hadasl (Hadas Leonov)
09:17 PM Bug #11953: ThreadError in 2.3 on code that works on 2.2.4
James Gray wrote:
> The following code works fine on Ruby 2.2.4
> It raises this error in Ruby 2.3.0
> ThreadErr...
tmornini (Tom Mornini)
06:23 PM Bug #12431 (Closed): Strange behavior of String#encode('UTF-8', 'UTF-8', ...) when the encoding of the source string is not UTF-8
When the dst_encoding and src_encoding options of String#encode are the same, it appears to ignore the encoding given... pdg137 (Paul Grayson)
04:51 PM Revision 1623f4e7 (git): * symbol.c (is_identchar): use ISDIGIT instead of rb_enc_isalnum.
Though rb_enc_isalnum is encoding aware function, its argument here
is *m, which is a single byte. Therefore ISDIGI...
naruse (Yui NARUSE)
04:13 PM Feature #12375: Net::HTTP.post
Just a note, I sometimes happen to write Net::HTTPS.open naruse (Yui NARUSE)
05:42 AM Feature #12375: Net::HTTP.post
Shugo Maeda wrote:
> > > * The first argument must be a URI object, but it might be better to accept a String.
> > ...
shugo (Shugo Maeda)
03:39 PM Revision 3deb1c57 (git): * 2016-05-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:39 PM Revision 08fefd70 (git): ruby.h: fix for old clang
* include/ruby/ruby.h (rb_scan_args): add nul padding here to
apply to all references.
* include/ruby/ruby.h (rb_s...
nobu (Nobuyoshi Nakada)
11:48 AM Bug #12055: `NET::HTTPResponse` is not deflating responses with custom `Content-Range` header
? ggcampinho (Glauber Campinho)
06:59 AM Misc #12424 (Rejected): Inaccurate example in documentation
nobu (Nobuyoshi Nakada)
06:54 AM Bug #12422 (Assigned): CSV.Table.== fails to check object type
nobu (Nobuyoshi Nakada)
05:25 AM Bug #12428 (Closed): OpenSSL::PKey::RSA.public_encrypt crashes ruby when initiated without key size.
Applied in changeset r55175.
----------
openssl: avoid NULL dereference in {DH,DSA,RSA}_size()
* ext/openssl/ossl_p...
Anonymous
05:24 AM Revision a1d9afc2 (git): openssl: avoid NULL dereference in {DH,DSA,RSA}_size()
* ext/openssl/ossl_pkey_dh.c (ossl_dh_compute_key): Check that the DH
has 'p' (the prime) before calling DH_size()....
rhenium (Kazuki Yamaguchi)
05:16 AM Revision ef10b81c (git): ruby.h: suppress warnings
* include/ruby/ruby.h (rb_scan_args_count): add filler nul bytes
to suppress array-bounds warnings by old clang.
g...
nobu (Nobuyoshi Nakada)
05:13 AM Revision be44af04 (git): ruby.h: count and verify
* include/ruby/ruby.h (rb_scan_args_count): verify length with
counting variables together.
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
05:11 AM Revision 374513ce (git): revert r55171
Revert r55171, "ruby.h: fix clang warnings", it did fix
array-bounds warnings, but caused string-plus-int warnings
in...
nobu (Nobuyoshi Nakada)
04:49 AM Bug #9569: SecureRandom should try /dev/urandom first
Mike Pastore wrote:
> Yui NARUSE wrote:
> > Mike Pastore wrote:
> > > Yui NARUSE wrote:
> > > > Anyway I'm creati...
naruse (Yui NARUSE)
01:30 AM Revision 43079283 (git): ruby.h: fix clang warnings
* include/ruby/ruby.h (rb_scan_args0): use pointer dereference
forms instead of array forms, to get rid of warnings...
nobu (Nobuyoshi Nakada)
12:45 AM Revision 37cea814 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:45 AM Revision 46f6abd4 (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:45 AM Revision c1fedc8d (git): * test/ruby/enc/test_case_comprehensive.rb: Add set of comprehensive
(across most Unicode characters; later across most character encodings)
tests for case mapping.
git-svn-id: svn+s...
duerst (Martin Dürst)

05/25/2016

09:14 PM Bug #12430 (Closed): Segfault in irb when improperly using coerce in combination with method_missing
Don't ask how or why I wrote this code, but suppose you have a class like this:
~~~
class BrokenNumber
def ini...
sandal (Gregory Brown)
08:01 PM Revision 61ddd3e0 (git): * 2016-05-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
08:01 PM Revision e4cab0fe (git): * class.c (rb_define_class): Fix documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
04:52 PM Bug #12429 (Closed): http.rb:933: [BUG] Segmentation fault at 0x00000000000000
/Users/ecleel/.rbenv/versions/2.3.0/lib/ruby/2.3.0/net/http.rb:933: [BUG] Segmentation fault at 0x00000000000000
rub...
ecleel (Abdualziz AlShetwi)
11:51 AM Revision e45cf75f (git): * re.c (unescape_nonascii): scan hex up to only 3 characters.
[Bug #12420] [Bug #12423]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:32 AM Bug #12428 (Closed): OpenSSL::PKey::RSA.public_encrypt crashes ruby when initiated without key size.
Hi, I think I found a bug. OpenSSL::PKey::RSA initiated without keysize crashes when public_encrypt is called.
Below...
cjeon (CHEOLHO JEON)
10:07 AM Revision 46647ac8 (git): * enc/unicode.c: Handle DOTLESS_i by hand because it isn't involved in folding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e duerst (Martin Dürst)
09:45 AM Bug #12423 (Closed): Regexp: Heap Buffer Overflow in regparse.c : next_state_value()
Applied in changeset r55163.
----------
* regparse.c (fetch_token_in_cc): raise error if given octal escaped
chara...
naruse (Yui NARUSE)
09:45 AM Bug #12420 (Closed): Regexp: Segfault due to Invalid Read in regparse.c : bbuf_free()
Applied in changeset r55163.
----------
* regparse.c (fetch_token_in_cc): raise error if given octal escaped
chara...
naruse (Yui NARUSE)
09:45 AM Revision 05c631ee (git): * regparse.c (fetch_token_in_cc): raise error if given octal escaped
character is too big. [Bug #12420] [Bug #12423]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55163 b2dd03c8-39d...
naruse (Yui NARUSE)
08:50 AM Revision cf2792d5 (git): openssl: drop OpenSSL 0.9.6/0.9.7 support
* ext/openssl, test/openssl: Drop OpenSSL < 0.9.8 support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55162 b...
rhenium (Kazuki Yamaguchi)
08:46 AM Revision 0766b8af (git): openssl: remove unnecessary 'extern "C"' blocks from local headers
* ext/openssl/openssl_missing.h, ext/openssl/ossl.h: Remove
unnecessary 'extern "C"' blocks. We don't use C++ and t...
rhenium (Kazuki Yamaguchi)
08:46 AM Revision fc9d7c15 (git): openssl: remove check of OPENSSL_FIPS macro in extconf.rb
* ext/openssl/extconf.rb: Remove check of OPENSSL_FIPS macro. This is
unneeded because we can check the macro direc...
rhenium (Kazuki Yamaguchi)
08:30 AM Bug #12427 (Feedback): Defining methods with the same name to both Fixnum and Bignum classes could cause SEGV in C extensions since Feature #12005
https://github.com/ruby/ruby/compare/trunk...nobu:bug/12427-integer-integration
This patch does:
> Concern 1 is t...
nobu (Nobuyoshi Nakada)
07:23 AM Bug #12427 (Closed): Defining methods with the same name to both Fixnum and Bignum classes could cause SEGV in C extensions since Feature #12005
My gem (msgpack.gem) includes C extension with following pseudo code.
This code is working well with released ruby v...
frsyuki (Sadayuki Furuhashi)
08:13 AM Revision 29123a37 (git): class.c: simplify
* class.c (rb_scan_args): merge code for n_trail.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55159 b2dd03c8-3...
nobu (Nobuyoshi Nakada)
08:11 AM Bug #12426 (Closed): Error when compiling win32ole.c on cygwin
Applied in changeset r55158.
----------
ruby.h: rb_scan_args_validate
* include/ruby/ruby.h (rb_scan_args_validate)...
nobu (Nobuyoshi Nakada)
08:11 AM Revision c7bc778d (git): ruby.h: rb_scan_args_validate
* include/ruby/ruby.h (rb_scan_args_validate): move failed
condition to the terminal. [ruby-core:75714] [Bug #1242...
nobu (Nobuyoshi Nakada)
06:13 AM Bug #9569: SecureRandom should try /dev/urandom first
Yui NARUSE wrote:
> Mike Pastore wrote:
> > Yui NARUSE wrote:
> > > Anyway I'm creating a securerandom.gem which u...
mwpastore (Mike Pastore)
05:12 AM Bug #9569: SecureRandom should try /dev/urandom first
Mike Pastore wrote:
> Yui NARUSE wrote:
> > Anyway I'm creating a securerandom.gem which uses arc4random_buf intern...
naruse (Yui NARUSE)
06:05 AM Revision 4c681730 (git): regcomp.c: fix debug conditionals
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
06:05 AM Revision 44c938c9 (git): fake.rb: buildlibdir
* tool/fake.rb: set "buildlibdir" to the build directory, instead
of "builddir" which is filterd by MakeMakefile#co...
nobu (Nobuyoshi Nakada)
04:21 AM Bug #12418 (Closed): Regexp: Segfault due to Invalid Read in regerror.c : to_ascii()
Applied in changeset r55154.
----------
* regcomp.c (compile_length_tree): return error code immediately
if compil...
naruse (Yui NARUSE)
04:21 AM Revision 599f054f (git): * regcomp.c: remove condition for debug output because prelude
doesn't use regexp now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
04:21 AM Revision 8c2ddab5 (git): * regcomp.c (compile_length_tree): return error code immediately
if compile_length_tree raised error [Bug #12418]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55154 b2dd03c8-39...
naruse (Yui NARUSE)

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://github.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)
 

Also available in: Atom