Project

General

Profile

Activity

From 11/18/2015 to 11/24/2015

11/24/2015

11:40 PM Bug #11199: IO.copy_stream degrade that can't call pathname to pathname
Hi!
We run into this here: https://github.com/janko-m/shrine/commit/399adcecad64c66ca4ffb1b1619777ff8551e761. That...
deivid (David Rodríguez)
09:03 PM Feature #11737: Pass in expression to then block in `case expression`
Please fix the when scenario in the last example
~~~ruby
case Enumerator.new do |y| y << 1; y << 2; y << 3; end
...
danielpclark (Daniel P. Clark)
08:59 PM Feature #11737 (Rejected): Pass in expression to then block in `case expression`
Ruby's `case <expression>` scenario allows the expression to be tested in the `when` test with `:===`, but in the the... danielpclark (Daniel P. Clark)
08:48 PM Feature #11735: Porting String#squish and String#squish! from Ruby on Rails' Active Support
> ~~~diff
> +static VALUE
> +rb_str_squish_bang(VALUE str)
> +{
> + static const char before_regex_source...
normalperson (Eric Wong)
07:38 PM Feature #11735: Porting String#squish and String#squish! from Ruby on Rails' Active Support
I also just created a GitHub PR in case that will be easier to give feedback to the code: https://github.com/ruby/rub... sikachu (Prem Sichanugrist)
07:36 PM Feature #11735 (Assigned): Porting String#squish and String#squish! from Ruby on Rails' Active Support
Hi,
I have been using this `String#squish` method so many time when I'm using Rails, and I think it should be a us...
sikachu (Prem Sichanugrist)
08:28 PM Feature #11734: Improved ternary operator
`&` is associated more with proc. I think `_` would be closer to the kind of thing you're looking for.
~~~ruby
s...
danielpclark (Daniel P. Clark)
03:10 PM Feature #11734: Improved ternary operator
why not:
```ruby
(x = some_long_expression) ? x.to_s : 'foobar'
```
Hanmac (Hans Mackowiak)
02:33 PM Feature #11734 (Closed): Improved ternary operator
In ternary operator it would be nice to be able to pass expression result from *condition* into *value_if_true/value... Anonymous
08:10 PM Bug #11736 (Closed): Float(arg) not consistent with documentation
Float(arg) → float
Returns arg converted to a float. Numeric types are converted directly, the rest are converted us...
bwheeler96 (Brian Wheeler)
04:10 PM Revision 1e662300 (git): bump patchlevel for previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@52744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nagachika (Tomoyuki Chikanaga)
04:09 PM Revision 38535a30 (git): merge revision(s) 52694: [Backport #3231]
* ext/digest/sha1/sha1ossl.c: fix defs.h path to catch up changes in
r52739.[Bug #3231]
* ext/digest...
nagachika (Tomoyuki Chikanaga)
04:03 PM Bug #11663: Segfault when using multiple keywords if the first keyword is invalid
Backported into `ruby_2_2` branch at r52742. nagachika (Tomoyuki Chikanaga)
04:02 PM Revision 0ec0eb9c (git): merge revision(s) 52461: [Backport #11663]
* parse.y (kwd_append): fix segv after invalid keyword argument,
preceding keyword list is NULL when syntax...
nagachika (Tomoyuki Chikanaga)
03:50 PM Bug #11513: IPAddr should reject invalid formats
r52244 and (partially) r50727 were backported into `ruby_2_2` branch at r52741. nagachika (Tomoyuki Chikanaga)
03:49 PM Revision e097b9b4 (git): merge revision(s) 52244: [Backport #11513]
* lib/ipaddr.rb, test/test_ipaddr.rb: Reject invalid address contained
EOL string. Patch by @kachick [fix G...
nagachika (Tomoyuki Chikanaga)
03:43 PM Bug #8543: new rb_iseq_load crash
Backported into `ruby_2_2` branch at r52740. nagachika (Tomoyuki Chikanaga)
03:42 PM Revision 66b2b435 (git): merge revision(s) 51816: [Backport #8543]
* compile.c (iseq_build_from_ary_body): register cdhash to the
iseq constant body instead of compile time m...
nagachika (Tomoyuki Chikanaga)
03:30 PM Bug #3231: Digest Does Not Build
Backported into `ruby_2_2` branch at r52739.
Add similar patch to ext/digest/sha2_sha2ossl.c.
nagachika (Tomoyuki Chikanaga)
03:28 PM Revision 2c30e876 (git): merge revision(s) 52694: [Backport #3231]
* ext/digest/*/*.[ch]: include ruby.h before digest.h to avoid
includeing ext/digest/extconf.h. [Bug #3231]...
nagachika (Tomoyuki Chikanaga)
03:05 PM Bug #11722: Backport r52683 (Net::HTTP fix bug with "Expect: 100-continue" header)
Backported into `ruby_2_2` branch at r52738. nagachika (Tomoyuki Chikanaga)
03:05 PM Bug #11719: Backport request r52683
Backported into `ruby_2_2` branch at r52738. nagachika (Tomoyuki Chikanaga)
03:04 PM Bug #11719 (Closed): Backport request r52683
Applied in changeset backport22:r52738.
----------
merge revision(s) 52683,52684: [Backport #11719] [Backport #11722...
nagachika (Tomoyuki Chikanaga)
03:04 PM Revision ae2b1d2f (git): merge revision(s) 52683,52684: [Backport #11719] [Backport #11722]
* lib/net/http.rb: Fixed regression for Net::HTTP::PUT with "Expect-100"
header.
* test/net/http/t...
nagachika (Tomoyuki Chikanaga)
03:03 PM Revision ff838167 (git): * 2015-11-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:00 PM Revision 06c04b38 (git): * configure.in: On Solaris, it is safe to define _LARGEFILE_SOURCE
when _FILE_OFFSET_BITS=64 is defined (= when 32-bit compile).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@527...
ngoto (Naohisa Goto)
01:12 PM Revision 17f2a12f (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
09:23 AM Bug #11718: Constant access on `nil`
This is a (intentional) bug. Because I expect nobody reveal such code :p
ko1 (Koichi Sasada)
07:12 AM Revision b0fb3ff1 (git): parse.y: ripper for warnings
* parse.y (parser_yylex): deal with magic comment warnings also in
ripper.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
07:12 AM Revision 70d2b335 (git): parse.y: fix dispatch_scan_event
* parse.y (dispatch_scan_event): fix wrong macro at r52547.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52733 ...
nobu (Nobuyoshi Nakada)
06:20 AM Feature #11181: Add a line directive to Ruby
I have changed the assignee from ruby-core (all committers) to Matz to make sure this doesn't show up in everybody's ... duerst (Martin Dürst)
01:00 AM Revision ba516bc3 (git): * lib/rubygems/installer.rb: Fix two double-word typos.
[ci skip][fix GH-1108] Patch by @jwworth
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52732 b2dd03c8-39d4-4d8f-...
hsbt (Hiroshi SHIBATA)
12:58 AM Bug #11733: Compile of ruby 2.2.3 fails on AIX 6.1 TL07 SP03
Another set of errors (why I gave up on modifying fs.c were these:
compiling /usr/work/src/ruby-2.2.3/ext/-test-/f...
pedz (Perry Smith)
12:54 AM Bug #11733 (Closed): Compile of ruby 2.2.3 fails on AIX 6.1 TL07 SP03
The build on AIX fails in the ext/-test-/file directory with errors such as
compiling /usr/work/src/ruby-2.2.3/ext...
pedz (Perry Smith)
12:17 AM Revision 13a935b0 (git): Drop support for BeOS
* beos: Drop support for BeOS now that Haiku is stable.
[Fix GH-1112]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
12:16 AM Revision f7847ecb (git): internal.h: export rb_gc_for_fd
* internal.h (rb_gc_for_fd): move to export, as referred by
ext/socket.
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
nobu (Nobuyoshi Nakada)
12:04 AM Revision e99cc601 (git): Add missing punctuation to File docs [ci skip]
* file.c: [DOC] add a missing period to File docs, to terminate
the sentence and separate from the next sentence. ...
nobu (Nobuyoshi Nakada)

11/23/2015

11:30 PM Revision abd52f7d (git): Fix Struct#dig issue number [ci skip]
* NEWS: Fix the issue number of `Struct#dig`, which should be
[Feature #11688]. [Fix GH-1110]
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
10:57 PM Revision d51743af (git): ext/socket/init.c (rsock_accept): handle ENOMEM
accept(2) documents ENOMEM as a possible error, handle it
consistent with all of our other FD-allocating wrappers.
g...
Eric Wong
10:50 PM Revision 61e5fe06 (git): use rb_gc_for_fd for more callers
* dir.c (dir_initialize): use rb_gc_for_fd for ENOMEM
* ext/socket/init.c (rsock_socket): ditto
* ext/socket/socket.c...
Eric Wong
09:57 PM Feature #11727 (Closed): [PATCH] io.c (rb_gc_for_fd): wrapper for retrying FD creation
Applied in changeset r52725.
----------
io.c (rb_gc_for_fd): wrapper for retrying FD creation
This simplifies calle...
Anonymous
09:57 PM Revision a936bd5c (git): io.c (rb_gc_for_fd): wrapper for retrying FD creation
This simplifies callers and makes error handling more consistent
between our pipe, open, fdopen, and dup wrappers.
T...
Eric Wong
09:37 PM Feature #11599: Dump entries of hash in ObjectSpace
Aaron Patterson wrote:
> We should probably get Aman's opinion on this since he wrote the initial heap dumping code....
yosiat (Yosi Attias)
09:34 PM Feature #11599: Dump entries of hash in ObjectSpace
We should probably get Aman's opinion on this since he wrote the initial heap dumping code. Personally, I would like... tenderlovemaking (Aaron Patterson)
09:24 PM Revision 1946607b (git): * 2015-11-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:21 PM Feature #11607 (Closed): [PATCH] fiddle: release GVL for ffi_call
Applied in changeset r52723.
----------
fiddle: release GVL for ffi_call
Some external functions I wish to call may...
Anonymous
03:48 PM Feature #11607: [PATCH] fiddle: release GVL for ffi_call
On Fri, Nov 13, 2015 at 05:08:36AM +0000, Eric Wong wrote:
> So, should I commit the patch as-is, or perhaps add a ...
tenderlovemaking (Aaron Patterson)
09:20 PM Revision 15476c69 (git): fiddle: release GVL for ffi_call
Some external functions I wish to call may take a long time
and unnecessarily block other threads. This may lead to ...
Eric Wong
04:44 PM Feature #11731: Make ruby gem install to user-install by default
https://github.com/rubygems/rubygems/issues/1394 opened to track. Sorry for putting it in the wrong place.
Haiku ...
kallisti5 (Alexander von Gluck)
01:01 AM Feature #11731 (Third Party's Issue): Make ruby gem install to user-install by default
Rubygems upstream is https://github.com/rubygems/rubygems.
Maybe to fallback to user-install when no permission to...
nobu (Nobuyoshi Nakada)
02:40 PM Bug #11718: Constant access on `nil`
I don't think it's intended, that commit should not introduce new behavior except on singleton class constants.
@ko1...
Eregon (Benoit Daloze)
02:25 PM Bug #11718: Constant access on `nil`
looks like it's somehow intended behavior
https://github.com/ruby/ruby/blob/trunk/insns.def#L179-L190
/**...
elia (Elia Schito)
01:34 PM Feature #11630: possibility to serialize Proc or Lambda
In my mind, there is no perfect behavior when it comes to serializing closures with bind variables. This being said, ... lionel_perrin (Lionel PERRIN)
11:17 AM Bug #11729: String#split(nil) incorrectly uses $;
I think this is intended.
[Comment of MRI](https://github.com/ruby/ruby/blob/6965964df65c1c3679b92b92101225e4a709b...
yui-knk (Kaneko Yuichiro)
11:03 AM Misc #11732 (Closed): [PATCH] Coverage restart に関するテストケースの追加
Coverageのrestart後に新しいファイルをrequireしたときの挙動がテストに記述されていなかったので、`test_restarting_coverage`に追記しました。 yui-knk (Kaneko Yuichiro)
10:59 AM Revision 6965964d (git): * configure.in: On Solaris, with gcc, "-std=iso9899:1999"
in $ansi_options is often also needed in CPPFLAGS,
because some feature definitions vary depending on such
standa...
ngoto (Naohisa Goto)
03:54 AM Bug #10811 (Closed): x86_64 segfault on Haiku
Applied in changeset r52721.
----------
Haiku now best effort support
* configure.in: remove obsolete workarounds f...
nobu (Nobuyoshi Nakada)
03:54 AM Revision e29c109d (git): Haiku now best effort support
* configure.in: remove obsolete workarounds for Haiku.
* dln.c, file.c, io.c: remove obsolete Haiku workarounds.
* th...
nobu (Nobuyoshi Nakada)
02:44 AM Revision e3120abd (git): * gems/bundled_gems: bump version to minitest-5.8.3
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52720 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)

11/22/2015

11:55 PM Revision 165cc0d9 (git): * 2015-11-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:55 PM Revision 9626fb48 (git): * ChangeLog: fix wrong reference for r52714
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
11:52 PM Feature #11731: Make ruby gem install to user-install by default
Shouldn't site-wide installations use packaged gem files as they install to /usr?
Installing non-packaged files to /...
kallisti5 (Alexander von Gluck)
11:18 PM Feature #11731: Make ruby gem install to user-install by default
On 23 November 2015 at 08:56, <[email protected]> wrote:

> Issue #11731 has been updated by Alexander von Glu...
phluid61 (Matthew Kerwin)
10:56 PM Feature #11731: Make ruby gem install to user-install by default
yeah, the large number of workarounds show this is a pretty default workflow for people. Thus raises the question on ... kallisti5 (Alexander von Gluck)
09:40 PM Feature #11731: Make ruby gem install to user-install by default
Aren't most people using rvm or rbenv/bundler to address this need? mwpastore (Mike Pastore)
08:56 PM Feature #11731: Make ruby gem install to user-install by default
There would be a few minor logic issues around gem looking for --install-dir + --user-directory and erroring out... ... kallisti5 (Alexander von Gluck)
08:30 PM Feature #11731 (Third Party's Issue): Make ruby gem install to user-install by default
Installing gem's system-wide doesn't make sense 99% of the time...
* Linux -- Need root access via sudo
* Windows...
kallisti5 (Alexander von Gluck)
11:29 PM Feature #11690: Update Hash during multiple assignment
Even shorter `Kernel#with`
~~~ruby
my_hash = {}
my_hash.with.update, b, c = ->{ {a: 1}, 5, 6 }.call
~~~
danielpclark (Daniel P. Clark)
07:15 PM Bug #10811: x86_64 segfault on Haiku
This issue is resolved via the pull-request here:
https://github.com/ruby/ruby/pull/1109
kallisti5 (Alexander von Gluck)
03:41 PM Bug #11451: MRI crashes with 'Stack inconsistency error' when a method which yields is called recursively in a particular way
Backported into `ruby_2_2` branch at r52717. nagachika (Tomoyuki Chikanaga)
03:40 PM Revision ceab943d (git): merge revision(s) 51651,51655: [Backport #11451]
* vm_insnhelper.c (vm_invoke_block): we should not expect ci->argc is
stable after invoking a block. [Bug #...
nagachika (Tomoyuki Chikanaga)
01:41 PM Revision 88376e63 (git): * gc.c (rb_raw_obj_info): fix compile errors when USE_RGENGC
is 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52716 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Rei Odaira
01:09 PM Feature #10974 (Closed): [PATCH] Remove methods which has suffix `!`(sin!, cos!…) from CMath
Applied in changeset r52715.
----------
* lib/cmath.rb: methods which has suffix '!' are now deprecated.
Re-apply ...
ngoto (Naohisa Goto)
01:09 PM Revision d71ead25 (git): * lib/cmath.rb: methods which has suffix '!' are now deprecated.
Re-apply r52469 made by Kazuki Tanaka, with fixing bug about
mathn.rb compatibility. [ruby-core:68528] [Feature #10...
ngoto (Naohisa Goto)
10:36 AM Revision 81a6bd50 (git): * ext/openssl/ossl.c: fix brew command for installation of openssl.
[ci skip][fix GH-1007] Patch by @arthurnn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52714 b2dd03c8-39d4-4d8f...
hsbt (Hiroshi SHIBATA)
09:01 AM Revision 9546cb52 (git): * configure.in: On Solaris, add -D_XOPEN_SOURCE=n only when both
AC_TRY_CPP and AC_TRY_COMPILE pass, because some options
(e.g. -std=iso9899:1999) are not set when running C prepro...
ngoto (Naohisa Goto)
08:32 AM Bug #11730 (Closed): read_nonblock's call-seq missing options
`IO#write_nonblock` call-seq has `[, options]`, but `IO#read_nonblock` does not.
In prelude.rb:
~~~
# call-s...
znz (Kazuhiro NISHIYAMA)
08:22 AM Revision a05ef846 (git): compile.c: fix position
* compile.c (iseq_compile_each): vals is NULL here, show the
position of the parent node.
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
07:53 AM Revision 7dc49292 (git): compile.c: move logop DCE
* compile.c (iseq_peephole_optimize): remove unreachable code
chunk after jump/leave.
* parse.y: move dead code eli...
nobu (Nobuyoshi Nakada)
07:37 AM Revision 792c822e (git): compile.c: optimize useless branches
* compile.c (iseq_peephole_optimize): eliminate always/never
branches after a literal object and when the value is ...
nobu (Nobuyoshi Nakada)
06:42 AM Revision 53a619de (git): fake.rb.in: block comment
* template/fake.rb.in: move shell code inside a block comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@527...
nobu (Nobuyoshi Nakada)
06:32 AM Revision abbb0f4a (git): compile.c: free labels table
* compile.c (validate_labels): free labels table before raising an
exception.
* compile.c (rb_iseq_build_from_ary)...
nobu (Nobuyoshi Nakada)
06:32 AM Revision 3faaf33d (git): compile.c: use rb_compile_bug
* compile.c: use rb_compile_bug instead of rb_bug to show error
position precisely.
git-svn-id: svn+ssh://ci.ruby-...
nobu (Nobuyoshi Nakada)
06:32 AM Revision b6f2fca5 (git): compile.c: use COMPILE_ERROR
* compile.c: use COMPILE_ERROR to save an exception to be raised
at cleanup_iseq_build.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
06:29 AM Revision 7be14bd6 (git): compile.c: flush disasm
* compile.c (dump_disasm_list): flush disassembled list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52705 b2d...
nobu (Nobuyoshi Nakada)
06:10 AM Revision 8080a8f4 (git): compile.c: check each steps
* compile.c (iseq_setup): check return values of each steps.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52704...
nobu (Nobuyoshi Nakada)
02:14 AM Bug #11729 (Closed): String#split(nil) incorrectly uses $;
Hi,
Is this intentional?
```
$; = "@"
"a@b".split(nil) # => ["a", "b"]
```
I expect `["a@b"]` because I f...
tatzyr (Tatsuya Otsuka)

11/21/2015

10:22 PM Bug #11602: Compile error on CentOS: Segmentation fault after "linking miniruby"
Ruben Ambarcumyanc wrote:
> Some additional information. Version 2.2.3 didn't compiled with the same error message. ...
robbkidd (Robb Kidd)
04:37 PM Revision 0a205155 (git): * configure.in: Add -D_XOPEN_SOURCE=500 (or 600 or 700) on Solaris
if available, mainly for enabling some features in sockets.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52703...
ngoto (Naohisa Goto)
04:19 PM Bug #11728 (Closed): TestSocket#test_timestamp failure on Solaris 10 with -D_XOPEN_SOURCE=500
Applied in changeset r52701.
----------
* test/socket/test_socket.rb (test/socket/test_socket.rb): skip the test whe...
ngoto (Naohisa Goto)
02:49 PM Bug #11728 (Closed): TestSocket#test_timestamp failure on Solaris 10 with -D_XOPEN_SOURCE=500
Solaris 10 にて、CFLAGSに -D_XOPEN_SOURCE=500 を追加して、SUSv2準拠にてコンパイルした場合、make test-all にて以下のエラーが発生します。
~~~
Finished tes...
ngoto (Naohisa Goto)
04:19 PM Revision c3bc3b16 (git): * 2015-11-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52702 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:19 PM Revision 0917a3de (git): * test/socket/test_socket.rb (test/socket/test_socket.rb): skip the test when Socket::SO_TIMESTAMP is not defined.
Fix error on Solaris 10. [Bug #11728] [ruby-dev:49377]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52701 b2dd...
ngoto (Naohisa Goto)
12:18 PM Revision 83cb0004 (git): fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:17 PM Revision ab8a8b68 (git): fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:00 PM Feature #11599: Dump entries of hash in ObjectSpace
**Can I get a fair explanation of why this issue abandoned?** yosiat (Yosi Attias)
10:56 AM Feature #11727 (Closed): [PATCH] io.c (rb_gc_for_fd): wrapper for retrying FD creation
io.c (rb_gc_for_fd): wrapper for retrying FD creation
This simplifies callers and makes error handling more consis...
normalperson (Eric Wong)
09:57 AM Revision 82bd486e (git): ruby.c: --debug=frozen-string-literal option
* ruby.c (need_argument): move frozen-string-literal-debug option
from --enable to --debug. [Feature #11725]
git-...
nobu (Nobuyoshi Nakada)
09:41 AM Revision c033efdd (git): ruby.c: fix pointer overrun
* ruby.c (proc_options): fix pointer overrun. do not advance argv
until it is valid.
git-svn-id: svn+ssh://ci.ruby...
nobu (Nobuyoshi Nakada)
06:36 AM Revision 8fdebec0 (git): fix r52690
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:06 AM Misc #11726 (Closed): [PATCH] Add a test case for `Coverage.peek_result`
Assert `Coverage.peek_result` raises Error if `Coverage.start` was not called before. yui-knk (Kaneko Yuichiro)
05:01 AM Revision bbc63197 (git): * ext/digest/sha1/extconf.rb: OpenSSL's struct name for SHA1 is
SHA_CTX. http://openssl.org/docs/man0.9.8/crypto/SHA1.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52695 b...
naruse (Yui NARUSE)
04:37 AM Bug #3231 (Closed): Digest Does Not Build
naruse (Yui NARUSE)
04:35 AM Revision 9a7c25ab (git): * ext/digest/*/*.[ch]: include ruby.h before digest.h to avoid
includeing ext/digest/extconf.h. [Bug #3231]
https://msdn.microsoft.com/library/36k2cdd4.aspx
* ext/digest/*/extco...
naruse (Yui NARUSE)
04:06 AM Revision c964c738 (git): * ext/openssl/ossl.h: LibreSSL doesn't have and need e_os2.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:46 AM Revision 628d9057 (git): add to NEWS about Queue#close
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
12:32 AM Feature #10600 (Closed): [PATCH] Queue#close
Applied in changeset r52691.
----------
* thread_sync.c: reduce the specification of Queue#close.
* Queue#close ac...
ko1 (Koichi Sasada)
12:29 AM Feature #10600: [PATCH] Queue#close
I decide to reduce specification of `Queue#close`. For closed queues, `deq` returns `nil`.
No exception is raised ...
ko1 (Koichi Sasada)
12:32 AM Revision e2609033 (git): * thread_sync.c: reduce the specification of Queue#close.
* Queue#close accepts no arguments.
* deq'ing on closed queue returns nil, always.
[Feature #10600]
* test/threa...
ko1 (Koichi Sasada)
12:20 AM Revision a77fb26d (git): Visual C++ 14 (2015) uses ucrtbase.dll as c runtime
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:18 AM Feature #11664: [PATCH] introduce rb_autoload_value to replace rb_autoload
[email protected] wrote:
> The new function looks fine to me, but why deprecating `rb_autoload`?

In general, I ...
normalperson (Eric Wong)

11/20/2015

11:56 PM Feature #11725: debugging support for frozen string literal
You run `static_test3` twice, not `static_test4`. nobu (Nobuyoshi Nakada)
11:49 PM Feature #11725 (Closed): debugging support for frozen string literal
Applied in changeset r52688.
----------
* compile.c (iseq_compile_each): add debug information to NODE_STR
strings...
ko1 (Koichi Sasada)
11:40 PM Feature #11725 (Closed): debugging support for frozen string literal
# Background
Debug frozen string literal is difficult because frozen string can be modified at far from created lo...
ko1 (Koichi Sasada)
11:51 PM Revision 9ddeb957 (git): read may return nil
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
11:49 PM Revision ba772af0 (git): * compile.c (iseq_compile_each): add debug information to NODE_STR
strings as default.
[Feature #11725]
* insns.def (freezestring): add new instruction to support adding
debug inf...
ko1 (Koichi Sasada)
11:44 PM Feature #11664: [PATCH] introduce rb_autoload_value to replace rb_autoload
The new function looks fine to me, but why deprecating `rb_autoload`?
We used to append `_str` in many cases, IIRC.
nobu (Nobuyoshi Nakada)
10:38 PM Feature #11664: [PATCH] introduce rb_autoload_value to replace rb_autoload
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/11664

Comments? It's low-risk, but does deprec...
normalperson (Eric Wong)
09:42 PM Feature #10674: Net::HTTP retries idempotent requests once after a timeout, but its not configurable
I can confirm this exact behavior on 2.1.7 shulmang (Garett Shulman)
09:32 PM Bug #11724 (Closed): SNIでsessionが無効だったときにhostnameがサーバに送られない
これも https://github.com/ruby/ruby/pull/964 を見る限り相当手痛いバグなので要backportと思います。
が、確かにこの修正でnet/httpのSNIできねー問題は直るんでしょうけど、そも...
usa (Usaku NAKAMURA)
07:34 PM Bug #11721 (Closed): String used as IO object buffer unexpectedly frozen if #to_sym called on it
Applied in changeset r52686.
----------
symbol.c: not freeze the receiver
* symbol.c (rb_str_intern): should not fr...
nobu (Nobuyoshi Nakada)
05:33 PM Bug #11721 (Closed): String used as IO object buffer unexpectedly frozen if #to_sym called on it
A string with forced encoding used a buffer for reading from a File becomes frozen unexpectedly if #to_sym is called ... [email protected] (Thomas Walpole)
07:34 PM Revision 89435216 (git): * 2015-11-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:34 PM Revision c815f7e7 (git): symbol.c: not freeze the receiver
* symbol.c (rb_str_intern): should not freeze the receiver itself
unexpectedly. [ruby-core:71611] [Bug #11721]
gi...
nobu (Nobuyoshi Nakada)
07:06 PM Feature #11723 (Open): CGI library should give access to raw request body
Hi everyone,
I was trying to write a little CGI script that simply stencils out e-mail autoconfig as defined by Mi...
Quintus (Marvin Gülker)
06:11 PM Bug #11722 (Closed): Backport r52683 (Net::HTTP fix bug with "Expect: 100-continue" header)
バックポート管理用チケットです。
r52683 の net/http の修正部分は差分のところだけみると 2.0.0 から同様のようなのでバックポートが必要かもしれません。
nagachika (Tomoyuki Chikanaga)
04:18 PM Feature #11717: Object#trap -- pass object to block and return result
> "trap" already means "trap a signal", it comes from long-standing Unix terminology
Ooops. Completely forgot abou...
zverok (Victor Shepelev)
03:34 PM Bug #10984: Hash#contain? to check whether hash contains other hash
I second Ilya's opinion regarding partially ordered sets. But propose to implement the comparision similiar to classe... cvss (Kirill Vechera)
02:27 PM Feature #10974: [PATCH] Remove methods which has suffix `!`(sin!, cos!…) from CMath
The infinite loop observed during RubySpec test in r52469
(http://rubyci.s3.amazonaws.com/ubuntu1510/ruby-trunk/log/...
ngoto (Naohisa Goto)
02:16 PM Revision 8594cab1 (git): * lib/logger.rb: expose logger mutex
[fix GH-541] Patch by @arthurnn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52685 b2dd03c8-39d4-4d8f-98ff-823f...
sonots (Naotoshi Seo)
12:07 PM Misc #11580 (Closed): Add documentation for #thread_list_all in lib/debug.rb
Fixed by r52451.
Thank you for your patch!
zzak (zzak _)
09:45 AM Bug #11718: Constant access on `nil`
yeah that should raise an error. A little test shows that this exist a while way back:
```ruby
p nil::String
```...
Hanmac (Hans Mackowiak)
09:18 AM Bug #11718: Constant access on `nil`
I think this should really raise an error like:
$ ruby -e 'p nil::String'
-e:1:in `<main>': nil is not a ...
Eregon (Benoit Daloze)
06:25 AM Bug #11718: Constant access on `nil`
hm it might be that ```nil::Foo``` is parsed as ```::Foo``` which is doing the top-level access.
but i am not deep...
Hanmac (Hans Mackowiak)
02:38 AM Bug #11718 (Closed): Constant access on `nil`
It is possible to access top-level constants by doing `nil::CONSTANT`, which looks like a bug [according to Matz](htt... vais (Vais Salikhov)
07:37 AM Misc #11681 (Closed): Refinements documentation is based on older implementation
Merged by r52629 shugo (Shugo Maeda)
06:55 AM Bug #11692: [PATCH] Re-enable GC if stack overflow was caught from signal handler
Koichi, do you plan to do backport to 2.2 version of this patch? gazay (Alex Gaziev)
06:39 AM Feature #11715: Tempfile.create unlinked file silently fails
余談ですが、
そういう用途だったらopenに最近O_TMPFILEってフラグが追加されているので、最初は名前無しファイルで作って、
終わったらlinkat(2)で永続化するっていうのを提供してもよいかもしれませんねぇ。
ht...
naruse (Yui NARUSE)
01:37 AM Feature #11715: Tempfile.create unlinked file silently fails
納得しました。ありがとうございました。 ksss (Yuki Kurihara)
06:37 AM Feature #11720: XMLRPC::DateTime.to_time does not support times prior to 1970.
that might not be a bug itself but because from the XMLRPC doesnt support dates earlier than 1970 ...
otherwise i ...
Hanmac (Hans Mackowiak)
06:24 AM Feature #11720 (Rejected): XMLRPC::DateTime.to_time does not support times prior to 1970.
While Time (as of at least version 1.9.2) now supports at least 1823-11-12, XMLRPC::DateTime.to_time still does not a... greaterheightstech (Victor Elkins)
06:30 AM Bug #11593: Is it possible that ObjectSpace.dump_all catch dead objects?
Ok, I understood. This issue can be closed now, thank you gazay (Alex Gaziev)
06:05 AM Revision a90c99ee (git): * Added missing reference of GitHub
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
06:01 AM Bug #11719 (Closed): Backport request r52683
Net::HTTP::PUT の挙動が regression している問題の修正である r52683 のバックポートをお願いします。
https://github.com/ruby/ruby/pull/949
hsbt (Hiroshi SHIBATA)
05:57 AM Revision f0002bd5 (git): * lib/net/http.rb: Fixed regression for Net::HTTP::PUT with "Expect-100"
header.
* test/net/http/test_http.rb: added test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52683 b2dd03c8-3...
hsbt (Hiroshi SHIBATA)
05:40 AM Bug #11401 (Closed): Net::HTTP SSL session resumption does not send SNI
Applied in changeset r52682.
----------
* lib/net/http.rb: set hostname before call ossl_ssl_set_session.
[Bug #11...
hsbt (Hiroshi SHIBATA)
05:40 AM Revision 2c97d690 (git): * lib/net/http.rb: set hostname before call ossl_ssl_set_session.
[Bug #11401][ruby-core:70152][fix GH-964] Patch by @mkarnebeek
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@526...
hsbt (Hiroshi SHIBATA)
04:03 AM Revision 2fac41a6 (git): enc-unicode.rb: --header
* tool/enc-unicode.rb: add --header option to emit name2ctype.h
directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)
03:53 AM Revision 65c744fb (git): * array.c: clarify docs for take_while/drop_while samples.
[ci skip][fix GH-1028] Patch by @leriksen
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52680 b2dd03c8-39d4-4d8f...
hsbt (Hiroshi SHIBATA)
03:48 AM Revision 35c3f042 (git): * ext/socket/socket.c: remove mention of :UNIX in getaddrinfo().
It's typically not a support option.
[ci skip][fix GH-990] Patch by @eam
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
hsbt (Hiroshi SHIBATA)
03:44 AM Revision 49bb4a1f (git): * lib/rss/syndication.rb: Add nodoc marker for #validate_sy_updatePeriod.
[ci skip][fix GH-1105] Patch by @davydovanton
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52678 b2dd03c8-39d4-...
hsbt (Hiroshi SHIBATA)
12:18 AM Bug #11247 (Closed): Should position of `using` affect the behavior?
Applied in changeset r52677.
----------
* vm.c (rb_vm_cref_replace_with_duplicated_cref): added.
CREFs should not...
ko1 (Koichi Sasada)
12:17 AM Revision c267d24e (git): * vm.c (rb_vm_cref_replace_with_duplicated_cref): added.
CREFs should not be shared by methods between `using'.
[Bug #11247]
* vm_insnhelper.c (vm_cref_replace_with_duplic...
ko1 (Koichi Sasada)

11/19/2015

11:41 PM Feature #11717: Object#trap -- pass object to block and return result
Victor Shepelev wrote:
> Even if `#trap` will be implemented as a simple alias of `#instance_eval`...
If you did ...
0x0dea (D.E. Akers)
11:12 PM Feature #11717: Object#trap -- pass object to block and return result
Victor Shepelev wrote:
>
> **Naming**
>
> * it is similar enough to `tap`;
> * it is specific enough to not be...
phluid61 (Matthew Kerwin)
11:08 PM Feature #11717: Object#trap -- pass object to block and return result
Some related issues and historical readings:
* #10095 `Object#as`
* from #6373 `Object#self`
* #6721 `Objec...
phluid61 (Matthew Kerwin)
11:02 PM Feature #11717: Object#trap -- pass object to block and return result
Nope.
I'm aware of `#instance_eval` last 10 years or so (I even can recall times when `#instance_exec` were exter...
zverok (Victor Shepelev)
10:49 PM Feature #11717: Object#trap -- pass object to block and return result
You're looking for `#instance_eval`:
```ruby
'foo'.instance_eval { |obj| obj.size } # => 3
```
0x0dea (D.E. Akers)
08:50 PM Feature #11717 (Closed): Object#trap -- pass object to block and return result
`Object#trap` can be thought as useful counterpart for `Object#tap`: like tap, it passes object to the block; **unlik... zverok (Victor Shepelev)
10:55 PM Bug #11716 (Rejected): Truncation error in Time xmlschema with fraction_digits.
It's because 1447961542.26 is actually 1447961542.2599999904632568359375.
```
% ruby -e 'p "%.1000g" % 1447961542...
akr (Akira Tanaka)
08:02 PM Bug #11716 (Rejected): Truncation error in Time xmlschema with fraction_digits.
It looks like xmlschema with the fraction_digits parameter truncates the fractional second part.
Sometimes it trunca...
niroyb (Nick R)
10:10 PM Revision 895b44dc (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:10 PM Revision c1a461e5 (git): * 2015-11-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
10:10 PM Feature #11713 (Closed): [PATCH] add .gitattributes
Applied in changeset r52674.
----------
add .gitattributes
This improves method detection for Ruby source files;
ma...
Anonymous
08:32 AM Feature #11713 (Closed): [PATCH] add .gitattributes
This improves method detection for Ruby source files;
making output of "git diff" and "git log -p -W" more
readable...
normalperson (Eric Wong)
10:09 PM Revision c2088414 (git): add .gitattributes
This improves method detection for Ruby source files;
making output of "git diff" and "git log -p -W" more
readable f...
Eric Wong
04:38 PM Feature #11715 (Rejected): Tempfile.create unlinked file silently fails
/tmp のような複数のユーザが共有するディレクトリでは不確実な操作
(たとえば存在しないかもしれないファイルの削除) はしないほうがいいと思います。
ライブラリ側でファイルを消すのがエラーになって困るというのであれば、
ブ...
akr (Akira Tanaka)
02:21 PM Feature #11715 (Rejected): Tempfile.create unlinked file silently fails
ファイルを作成してデータを書き込んでから読み込んで利用するプログラムにおいて、
全て書き込み終わるまでは他のプロセスからアクセスされたくないので、
ファイルをアトミックに作成する方法として、Tempfileに一旦書き込んでからre...
ksss (Yuki Kurihara)
01:49 PM Revision 33b83297 (git): * ext/socket/ancdata.c: Check buffer full and ignore MSG_TRUNC flag.
buffer fullness is more robust to detect the message is too big for
the buffer.
AIX 7.1 recvmsg doesn't set MSG_T...
akr (Akira Tanaka)
01:47 PM Bug #11692: [PATCH] Re-enable GC if stack overflow was caught from signal handler
Unfortunately, it is known problem (2nd time machine stack overflow we can not capture correctly).
* 1st machine s...
ko1 (Koichi Sasada)
08:55 AM Bug #11692: [PATCH] Re-enable GC if stack overflow was caught from signal handler
Tried with ruby head, this solves the GC problems now, but it doesn't solve the other problem that is visible if you ... ebeigarts (Edgars Beigarts)
06:55 AM Bug #11692: [PATCH] Re-enable GC if stack overflow was caught from signal handler
Thank you for your great survey!
ko1 (Koichi Sasada)
06:54 AM Bug #11692 (Closed): [PATCH] Re-enable GC if stack overflow was caught from signal handler
Applied in changeset r52668.
----------
* signal.c: should also clear ruby_disable_gc.
[Bug #11692]
ko1 (Koichi Sasada)
01:39 PM Bug #11602: Compile error on CentOS: Segmentation fault after "linking miniruby"
This is **always** reproducible on centos 5.x latest, running XEN kernel domU. No issues on regular centos 5.x (KVM o... yuri (Y A)
01:32 PM Bug #11593 (Feedback): Is it possible that ObjectSpace.dump_all catch dead objects?
Sorry, last comment was my mistake.
ObjectSpace.dump_all() can output garbage (but not collected yet) objects.
Th...
ko1 (Koichi Sasada)
08:16 AM Bug #11593: Is it possible that ObjectSpace.dump_all catch dead objects?
After running this example (dead_thread.rb) you can grep by printed address of thread and find out that it doesn't ha... gazay (Alex Gaziev)
06:40 AM Bug #11593: Is it possible that ObjectSpace.dump_all catch dead objects?
It can be a bug of object traversing API. It is not well tested.
Do you have any script I can try?
@tmm1 do you h...
ko1 (Koichi Sasada)
01:00 PM Bug #10817 (Feedback): [PERF] vm3_gc slower
Sorry for late response.
I try this on my environment, but not so big difference.
Please reopen if you find it is...
ko1 (Koichi Sasada)
12:57 PM Revision 121b6e06 (git): * gc.c (gc_start): force to invoke GC by GC.start
even if it is GC.disable'd.
* test/ruby/test_gc.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trun...
ko1 (Koichi Sasada)
12:04 PM Bug #11714 (Rejected): `include Module` affects scope of code loaded by require statements on Ruby 2.2+
This seems to be a regression with Ruby 2.2 and beyond, I can still reproduce this in Ruby trunk from today. Ruby 2.1... terceiro (Antonio Terceiro)
11:13 AM Revision d5d997fa (git): * gc.c: trivial performance improvements.
name modified
vm1_gc_short_lived* 1.015
vm1_gc_short_with_complex_long* 1.014
vm1_gc...
ko1 (Koichi Sasada)
10:45 AM Bug #11711 (Closed): Documentation for ARGV behavior is incorrect
Applied in changeset r52670.
----------
ruby.c: fix ARGV doc [ci skip]
* ruby.c (ruby_prog_init): [DOC] ARGV does n...
nobu (Nobuyoshi Nakada)
10:45 AM Revision d32a48ed (git): ruby.c: fix ARGV doc [ci skip]
* ruby.c (ruby_prog_init): [DOC] ARGV does not contain the name of
the executable. [ruby-core:71561] [Bug #11711]
...
nobu (Nobuyoshi Nakada)
09:16 AM Feature #11563 (Closed): Update Onigmo regular expression engine to Unicode Version 8.0.0
mistake. nobu (Nobuyoshi Nakada)
09:00 AM Feature #11563 (Assigned): Update Onigmo regular expression engine to Unicode Version 8.0.0
Please update other `enc/unicode/name2ctype.*` files too. nobu (Nobuyoshi Nakada)
08:57 AM Bug #10984: Hash#contain? to check whether hash contains other hash
It's an easy code to show the concept.
Both return `false`.
nobu (Nobuyoshi Nakada)
01:38 AM Bug #10984: Hash#contain? to check whether hash contains other hash
> Akira Tanaka wrote:
>
> ```
> % ruby -e '
> class Hash
> def <=(other)
> self.merge(other) == other
>...
prijutme4ty (Ilya Vorontsov)
08:56 AM Revision c1da4ef8 (git): ruby.c: feature_option
* ruby.c (feature_option): unify enable_option and disable_option
not to repeat feature names twice.
git-svn-id: s...
nobu (Nobuyoshi Nakada)
07:20 AM Bug #11636: super in instance_eval in a method defined in a module is invoked with a wrong receiver
I don't touch this behavior because Ruby 2.3 preview 1 was already released.
I try it on Ruby 2.4.
ko1 (Koichi Sasada)
07:18 AM Misc #11276: [RFC] compile.c: convert to use ccan/list
On 2015/08/21 19:45, Eric Wong wrote:
> Sorry, I am mildly against this patch now because it makes
> the binary bi...
ko1 (Koichi Sasada)
07:15 AM Misc #11276 (Closed): [RFC] compile.c: convert to use ccan/list
ko1 (Koichi Sasada)
06:54 AM Revision 95273072 (git): * signal.c: should also clear ruby_disable_gc.
[Bug #11692]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ko1 (Koichi Sasada)
06:33 AM Bug #11676 (Closed): Missing inspect for T_IMEMO during make with -DCPDEBUG=2
Applied in changeset r52667.
----------
* compile.c (iseq_compile_each): T_IMEMO/iseq objects should be
wrap with ...
ko1 (Koichi Sasada)
06:33 AM Revision 7ae65d01 (git): * compile.c (iseq_compile_each): T_IMEMO/iseq objects should be
wrap with ISeq wrappers. [Bug #11676]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52667 b2dd03c8-39d4-4d8f-...
ko1 (Koichi Sasada)
06:16 AM Revision 5f671527 (git): * lib/rubygems: Update to RubyGems 2.5.0+ HEAD(c6b4946).
this version includes #1114, #1314, #1322, #1375, #1383, #1387
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby...
hsbt (Hiroshi SHIBATA)
05:58 AM Revision 9c065a4b (git): ruby.c: set compile options at once
* ruby.c (process_options): set instruction compilation options at
once, and set disabled options to false explicit...
nobu (Nobuyoshi Nakada)
05:16 AM Revision 2e865ba8 (git): * win32/win32.c (finish_overlapped_socket): return value of this
function should be only 0 or SOCKET_ERROR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52664 b2dd03c8-39d4-4d...
U.Nakamura
05:12 AM Revision 3e867209 (git): compile.c: tailcall before specialize
* compile.c (iseq_tailcall_optimize): apply tail call optimization
before conversion to specialized instructions. ...
nobu (Nobuyoshi Nakada)
04:59 AM Revision 01a54cf4 (git): * win32/win32.c (finish_overlapped_socket): ignore EMSGSIZE when input,
because POSIX platforms just do so. fixes test errors revealed by
r52647.
git-svn-id: svn+ssh://ci.ruby-lang.org...
U.Nakamura
01:15 AM Bug #11481: Segmentation fault when thread is killed during `require`.
Backport r51445 into `ruby_2_2` branch at r52661 to suppress warning in CI. nagachika (Tomoyuki Chikanaga)
01:15 AM Bug #11404: Segfault when 'throw' occurs while loading a Ruby source file [PATCH]
Backport r51445 into `ruby_2_2` branch at r52661 to suppress warning in CI. nagachika (Tomoyuki Chikanaga)
01:14 AM Revision 74eb4cab (git): merge revision(s) 51445: [Backport #11404] [Backport #11481]
envutil.rb: -w for assert_separately
* test/lib/envutil.rb (assert_separately): always add -w option
for w...
nagachika (Tomoyuki Chikanaga)

11/18/2015

11:33 PM Revision 8a3423d3 (git): gc.c: use BUILTIN_TYPE
* gc.c (rb_raw_obj_info): BUILTIN_TYPE works fro non-special_const
objects.
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)
11:26 PM Revision 3dcd9270 (git): fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
09:47 PM Misc #11712 (Closed): [PATCH] ext/openssl/ossl_ssl.c: nodoc for private methods
Private methods are implementation details which may change in
the future. Avoid cluttering our API documentation w...
normalperson (Eric Wong)
07:28 PM Feature #11710: [PATCH] Replace Set#merge with Set#merge! and make Set#merge non-mutating.
(updating patch with a better change to the | method) tiegz (Tieg Zaharia)
05:16 PM Feature #11710 (Assigned): [PATCH] Replace Set#merge with Set#merge! and make Set#merge non-mutating.
The Set#merge method currently mutates its caller. I propose changing its behavior to non-mutating, and replace its ... tiegz (Tieg Zaharia)
07:13 PM Feature #11690: Update Hash during multiple assignment
If we wanted to avoid chomping the equals sign on methods that have the equals already we'd have to write in a check ... danielpclark (Daniel P. Clark)
06:41 PM Feature #11690: Update Hash during multiple assignment
I was thinking of what word(s) may best clarify this and not conflict with other potential uses. One issue about the... danielpclark (Daniel P. Clark)
05:53 PM Revision 3006e5ea (git): * ext/socket/ancdata.c (bsock_recvmsg_internal): stretch the buffer size
only when vmaxdatlen is nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52658 b2dd03c8-39d4-4d8f-98ff-823fe6...
U.Nakamura
05:31 PM Bug #11711 (Closed): Documentation for ARGV behavior is incorrect
http://ruby-doc.org/core-2.2.3/Object.html#ARGV
The above documentation states that ARGV[0] will contain the name ...
trevrosen (Trevor Rosen)
05:22 PM Bug #11709 (Closed): TestSocket#test_udp_recvmsg_truncation failure on Solaris 10
Applied in changeset r52657.
----------
* test/socket/test_socket.rb (test_udp_recvmsg_truncation): rflags is
nil ...
akr (Akira Tanaka)
04:07 PM Bug #11709 (Closed): TestSocket#test_udp_recvmsg_truncation failure on Solaris 10
On Solaris 10, the following failure occurs.
(observed in r52648)
~~~
1) Failure:
TestSocket#test_udp_recvmsg...
ngoto (Naohisa Goto)
05:22 PM Revision 1ca59723 (git): * test/socket/test_socket.rb (test_udp_recvmsg_truncation): rflags is
nil on Solaris 10 which have no HAVE_STRUCT_MSGHDR_MSG_CONTROL.
Reported by Naohisa Goto. [ruby-core:71557] [Bug #1...
akr (Akira Tanaka)
04:48 PM Revision f74c229c (git): * configure.in: add -static-libgcc for mingw automatically if available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:15 PM Bug #11481: Segmentation fault when thread is killed during `require`.
r51292, r51439 and r51440 were backported into `ruby_2_2` branch at r52655. nagachika (Tomoyuki Chikanaga)
04:15 PM Bug #11404: Segfault when 'throw' occurs while loading a Ruby source file [PATCH]
r51292, r51439 and r51440 were backported into `ruby_2_2` branch at r52655.
r51292 seems required to r51440 works well.
nagachika (Tomoyuki Chikanaga)
04:13 PM Revision f79eaf19 (git): merge revision(s) 51292,51439,51440: [Backport #11404] [Backport #11481]
* load.c (rb_load_internal0): do not raise any exceptions but
return the result tag state.
* load....
nagachika (Tomoyuki Chikanaga)
03:55 PM Revision 3c075955 (git): * 2015-11-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:55 PM Revision adbf8723 (git): * ext/extmk.rb (--extflags): new option to pass EXTLDFLAGS to children,
expecially exts.mk.
* common.mk (EXTMK_ARGS): use above option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
U.Nakamura
03:50 PM Bug #11486: euc-jpな文字列に対してgsubするとSEGVします
r52016, r52017, r52019, r52020 and r52021 were backported into `ruby_2_2` branch at r52652. nagachika (Tomoyuki Chikanaga)
03:49 PM Revision 478cdf49 (git): merge revision(s) 52016,52017,52019,52020,52021: [Backport #10735]
* enc/euc_jp.c (mbc_case_fold): check given string is valid or not,
and if invalid, return 1. [Bug #11486]
...
nagachika (Tomoyuki Chikanaga)
03:38 PM Bug #10735: Memory leak in openssl ossl_pkey_sign
Backported into `ruby_2_2` branch at r52651. nagachika (Tomoyuki Chikanaga)
11:39 AM Bug #10735: Memory leak in openssl ossl_pkey_sign
ruby_2_1 r52643 merged revision(s) 52556,52557. usa (Usaku NAKAMURA)
03:37 PM Revision bd210ff1 (git): merge revision(s) 52556,52557: [Backport #10735]
* ext/openssl/ossl_pkey.c: Merge ruby/openssl@b9ea8ef [Bug #10735]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bran...
nagachika (Tomoyuki Chikanaga)
03:12 PM Bug #11637: SEGV
Backported into `ruby_2_2` branch at r52650. nagachika (Tomoyuki Chikanaga)
03:11 PM Bug #11610: Segfault when assigning to ARGV
Backported into `ruby_2_2` branch at r52650. nagachika (Tomoyuki Chikanaga)
03:10 PM Revision 0181fbc4 (git): merge revision(s) 52211: [Backport #11610] [Backport #11637]
* io.c (argf_next_argv): check ARGV element type, and try
conversion if necessary. [ruby-core:71140] [Bug ...
nagachika (Tomoyuki Chikanaga)
02:39 PM Bug #11376: Stop using SSLv3 methods
Backported into `ruby_2_2` branch at r52649. nagachika (Tomoyuki Chikanaga)
11:34 AM Bug #11376: Stop using SSLv3 methods
ruby_2_1 r52642 merged revision(s) 51722,51724. usa (Usaku NAKAMURA)
02:38 PM Revision 557ba3fe (git): merge revision(s) 51722,51724: [Backport #11376]
* ext/openssl/ossl_ssl.c (static const struct): Only add SSLv3 support
if the SSL library supports it. Tha...
nagachika (Tomoyuki Chikanaga)
02:02 PM Feature #11708 (Closed): Specify a way to override Struct-subclass constructor
It's common to create simple data-object with some constraints. One can either implement custom class or use `Struct`... prijutme4ty (Ilya Vorontsov)
02:00 PM Bug #11672 (Closed): refinement
Applied in changeset r52648.
----------
* vm_method.c (rb_class_clear_method_cache): should clear all
RCLASS_CALLA...
ko1 (Koichi Sasada)
01:59 PM Revision fa3affad (git): * vm_method.c (rb_class_clear_method_cache): should clear all
RCLASS_CALLABLE_M_TBLs of all sub-classes (T_ICLASS).
RCLASS_CALLABLE_M_TBL() caches complemented method entries.
...
ko1 (Koichi Sasada)
01:19 PM Revision 1f2b9a46 (git): add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e akr (Akira Tanaka)
12:10 PM Revision 03efb7de (git): * vm_method.c (prepare_callable_method_entry): use
RCLASS_CALLABLE_M_TBL() instead of accessing a filed directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
ko1 (Koichi Sasada)
11:57 AM Bug #10906: Problem building on Solaris 10 - symbol rb_infinity not found
ruby_2_1 r52645 merged revision(s) 50104,50105. usa (Usaku NAKAMURA)
11:57 AM Revision 18d73ae8 (git): merge revision(s) 50104,50105: [Backport #10906]
* ext/date/extconf.rb: try_cflags("-std=iso9899:1999") [Bug #10906]
ruby itself (including numeric.c) is bu...
U.Nakamura
11:48 AM Bug #11366: Don't force SSLv3 in test, as it is insecure and may not be supported
ruby_2_1 r52638 merged revision(s) 51569,51649. usa (Usaku NAKAMURA)
11:48 AM Bug #11693: Backport r50985. (don't close others for rubyspec)
ruby_2_1 r52644 merged revision(s) 50985. usa (Usaku NAKAMURA)
11:48 AM Revision 5d428a7e (git): merge revision(s) 50985: [Backport #11693]
runruby.rb: don't close other fds
* tool/runruby.rb: rubyspec now requires other FDs not to be
closed sinc...
U.Nakamura
11:39 AM Revision dacb9169 (git): merge revision(s) 52556,52557: [Backport #10735]
* ext/openssl/ossl_pkey.c: Merge ruby/openssl@b9ea8ef [Bug #10735]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/bran...
U.Nakamura
11:34 AM Revision 936a2775 (git): merge revision(s) 51722,51724: [Backport #11376]
* ext/openssl/ossl_ssl.c (static const struct): Only add SSLv3 support
if the SSL library supports it. Tha...
U.Nakamura
11:26 AM Bug #11603: Count trace_running for internal event
ruby_2_1 r52641 merged revision(s) 52476,52477. usa (Usaku NAKAMURA)
11:26 AM Revision 3233891d (git): merge revision(s) 52476,52477: [Backport #11603]
* vm_trace.c (rb_threadptr_exec_event_hooks_orig):
maintain trace_running counter on internal events.
...
U.Nakamura
11:24 AM Bug #10449: [TracePoint API] Duplicated line events when using parenthesis
ruby_2_1 r52640 merged revision(s) 48609. usa (Usaku NAKAMURA)
11:24 AM Revision 9f8d00ff (git): merge revision(s) 48609: [Backport #10449] [Backport #11651]
* compile.c (iseq_compile_each): remove duplicated line event.
[Bug #10449]
* test/ruby/test_settr...
U.Nakamura
11:17 AM Bug #11492: TracePoint API report extra return for defined method
ruby_2_1 r52639 merged revision(s) 51713. usa (Usaku NAKAMURA)
11:17 AM Revision bc090868 (git): merge revision(s) 51713: [Backport #11492] [Backport #11646]
* vm.c (hook_before_rewind): prevent kicking :return event while
finishing vm_exec func because invoke_bloc...
U.Nakamura
11:13 AM Bug #11367: Use OP_NO_TICKET when testing SSL session cache callbacks
ruby_2_1 r52638 merged revision(s) 51569,51649. usa (Usaku NAKAMURA)
11:13 AM Revision 69e671aa (git): merge revision(s) 51569,51649: [Backport #11367]
test_ssl_session.rb: check SSL method
* test/openssl/test_ssl_session.rb (test_ctx_server_session_cb):
ens...
U.Nakamura
11:08 AM Bug #10046: OpenSSL::TestSSLSession#test_ctx_server_session_cb and OpenSSL::TestSSLSession#test_ctx_client_session_cb test failures
ruby_2_1 r52637 merged revision(s) 49099. usa (Usaku NAKAMURA)
11:08 AM Revision 7e9ce9f5 (git): merge revision(s) 49099: [Backport #10046]
* test/openssl/test_ssl_session.rb (OpenSSL#test_ctx_client_session_cb):
fix test failure with OpenSSL disa...
U.Nakamura
08:46 AM Feature #11633: NilLogger class
```
logger = Logger.new(nil)
logger.fatal { 'foo' } # no print
```
Is this not enough?
sonots (Naotoshi Seo)
02:56 AM Feature #11633 (Assigned): NilLogger class
naruse (Yui NARUSE)
08:15 AM Revision 3f7c0e9f (git): * method.h: introduce the folliwing field and macros.
* rb_method_definition_t::complemented_count to count shared method
entries because of complemented method entrie...
ko1 (Koichi Sasada)
08:08 AM Revision e2f0af57 (git): * gc.c (rb_raw_obj_info): fix trivial issues.
* support SPECIAL_CONSTs.
* fix IMEMO/ment outputs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52635 b2d...
ko1 (Koichi Sasada)
07:51 AM Bug #11707 (Rejected): (a * b) / b yields incorrect result when a is BigDecimal & b is Rational with large terms
When performing arithmetic on BigDecimals and Rationals, (a * b) / b sometimes doesn't yield a result that is equal t... yipdw (David Yip)
07:09 AM Revision 40b0dd1c (git): comment for r52633 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:04 AM Bug #11706 (Closed): Clean up files etc/unicode/name2ctype.{h.blt,kwd,src}
The files name2ctype.{h.blt,kwd,src} in etc/unicode are intermediate products that are not needed in the repository, ... duerst (Martin Dürst)
02:32 AM Revision 4a23f069 (git): compile.c: optimize useless branches
* compile.c (iseq_peephole_optimize): eliminate always/never
branches after a literal object. this sequence typica...
nobu (Nobuyoshi Nakada)
02:08 AM Feature #11339: [PATCH] io.c: avoid kwarg parsing in C API
Eric Wong <[email protected]> wrote:
> Will followup with other IO/Socket/SSL methods

Done for normal socket...
normalperson (Eric Wong)
02:08 AM Revision e4fc85df (git): compile.c: check type before checking insn_id
* compile.c (iseq_peephole_optimize): check element type before
checking insn_id which is valid only for INSN eleme...
nobu (Nobuyoshi Nakada)
01:52 AM Bug #11692: [PATCH] Re-enable GC if stack overflow was caught from signal handler
Edgars Beigarts wrote:
> Do I need to open a new issue for this?
I think it is the same problem. I wrote small ex...
gazay (Alex Gaziev)
01:37 AM Revision d8e19392 (git): * ext/socket/ancdata.c (bsock_recvmsg_internal): stretch the buffer size
when EMSGSIZE occurs on non HAVE_STRUCT_MSGHDR_MSG_CONTROL platforms
(such as, Windows). fixes a test error reveal...
U.Nakamura
01:18 AM Revision ca5f5871 (git): socket: fix typo for default size
* ext/socket/ancdata.c (bsock_recvmsg_internal): use 4096 as
default size to match pre-r52610, which also maps to a...
Eric Wong
01:08 AM Revision 46425732 (git): * doc/syntax/refinements.rdoc: update documentation to reflect
recent changes.
[ci skip] [ruby-core:71466] [Misc #11681] Patch by James Adam
git-svn-id: svn+ssh://ci.ruby-lang.o...
shugo (Shugo Maeda)
12:59 AM Bug #10984: Hash#contain? to check whether hash contains other hash
I've missed absence of `<=>` first. Yes, you are right. And it can slightly reduce damage.
But anyway it doesn't r...
prijutme4ty (Ilya Vorontsov)
12:55 AM Bug #11702: errors in tests of logger on Windows
Thanks, I will try with vs2013, but anyway committed :) sonots (Naotoshi Seo)
12:53 AM Bug #11702 (Closed): errors in tests of logger on Windows
Applied in changeset r52628.
----------
* test/logger/test_logdevice.rb: Fix tests of logger to make it work on
wi...
sonots (Naotoshi Seo)
12:53 AM Revision 98763770 (git): * test/logger/test_logdevice.rb: Fix tests of logger to make it work on
windows (windows can not remove opened file) [Bug #11702]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52628 b2...
sonots (Naotoshi Seo)
12:26 AM Revision 3b91ff89 (git): configure.in: fix help message
* configure.in (ruby-pc): fix help message for --with-ruby-pc
option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
12:25 AM Revision 54850e46 (git): configure.in: additional flags
* configure.in: add additional flag variable descriptions, which
are appended to common flags, e.g., CFLAGS, CPPFLA...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom