Project

General

Profile

Activity

From 02/05/2017 to 02/11/2017

02/11/2017

07:54 PM Feature #13208 (Closed): Vector.zero(n) and vector.zero?
Found that I need this recently, and class `Matrix` has these two function while `Vector` not.
So I add two function based on `Matrix` counterpart and also add test.
Usage
``` ruby
require 'matrix'
v = Vector.zero(3) # => Vecto...
qitar888 (Chia-sheng Chen)
03:47 PM Feature #13207 (Feedback): Allow keyword local variable names like `class` or `for`
Sometimes when trying to write expressive Ruby you enevitably hit a case
that would sound just right if the variable name matches a Ruby keyword.
E.g. writing a method to output HTML tags:
```ruby
def label_tag(text, class:)
%...
kaspth (Kasper Timm Hansen)
03:08 PM Revision 6d0f7c3c (git): * 2017-02-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:08 PM Revision 6b1c6e0e (git): Merge Onigmo 6.1.1
* Support absent operator https://github.com/k-takata/Onigmo/issues/82
* https://github.com/k-takata/Onigmo/blob/Onigmo-6.1.1/HISTORY
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
11:37 AM Revision 238b9276 (git): appveyor.yml: extract zlib_version
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:33 AM Revision 0da70829 (git): fiddle/depend: build-libffi
* ext/fiddle/depend (build-libffi): get rid of making $(LIBFFI_A)
a sole target, which may be empty when installed libffi is
found.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
09:05 AM Misc #13072: Current state of date standard library
Just wanted to add - for a new user of ruby, it may be confusing to
know the difference between Time, Date, DateTime and DuckTime (ok
the last one is made up but you get the point).
So from that point of view, it may be easier to un...
shevegen (Robert A. Heiler)
08:59 AM Feature #5481: Gemifying Ruby standard library
Looks as if this ticket may soon be resolved/finished after 5 years. :)
The only one on the todo list above is "Related to Ruby trunk - Misc #13072:
Current state of date standard library", or is there something else missing
that ha...
shevegen (Robert A. Heiler)
03:12 AM Revision 78295b6b (git): appveyor.yml: Update zlib
* Update zlib to 1.2.11
* Use https instead of http
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
znz (Kazuhiro NISHIYAMA)
02:14 AM Revision 8a4382a7 (git): * 2017-02-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:14 AM Revision 58e97c4e (git): parse.y: TOKEN2ID
* parse.y (TOKEN2ID): add macro which maps static tokens to IDs.
* template/id.h.tmpl (TOKEN2*ID, DEFINE_*ID_FROM_TOKEN): separate
into macros, token to ID mapping and enum definitions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tru...
nobu (Nobuyoshi Nakada)
02:03 AM Bug #13187 (Third Party's Issue): In rails console ,excute "User.all" or "User.new",remind a bugreport
marcandre (Marc-Andre Lafortune)

02/10/2017

11:21 PM Bug #13188: Reinitialize Ruby VM.
Eric Wong <normalperson@yhbt.net> wrote:
> SASADA Koichi <ko1@atdot.net> wrote:
> > On 2017/02/08 7:18, Eric Wong wrote:
> > > But yeah, having VM struct passed with every function call
> > > (like mrb_state in mruby) is probably mo...
normalperson (Eric Wong)
07:53 PM Bug #13187: In rails console ,excute "User.all" or "User.new",remind a bugreport
This should be closed as it's seemingly unrelated to ruby core as evidence by the fact that it is happening in `rails console` and nothing would indicate that it's a ruby issue. snood1205 (Eli Sadoff)
01:25 PM Bug #13195 (Closed): bigdecimal/util.rb: [DOC] Fix documentation errors
mrkn (Kenta Murata)
01:23 PM Revision 70f772c3 (git): bigdecimal: version 1.3.1
Import bigdecimal version 1.3.1. The full commit log is here:
https://github.com/ruby/bigdecimal/compare/v1.3.0...v1.3.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Kenta Murata
11:22 AM Bug #8996: pthread_mutex_lock EINVAL
I filled Backport field according to the reported version. nagachika (Tomoyuki Chikanaga)
08:17 AM Bug #8996 (Closed): pthread_mutex_lock EINVAL
r57595 fixes this problem. Sorry for late response and thank you for your great simple reproducing code! ko1 (Koichi Sasada)
09:41 AM Feature #13206 (Closed): Gemify fcntl
Applied in changeset r57596.
----------
Added initial gemspec for Fcntl module.
[Feature #13206]
* ext/fcntl/fcntl.gemspec: initial commit.
* doc/maintainers.rdoc, doc/standard_library.rdoc: Move Fcntl module
to Default gems...
hsbt (Hiroshi SHIBATA)
09:39 AM Feature #13206 (Closed): Gemify fcntl
This issue is tracking for gem release of Fcntl module. hsbt (Hiroshi SHIBATA)
09:41 AM Revision 5d906263 (git): Added initial gemspec for Fcntl module.
[Feature #13206]
* ext/fcntl/fcntl.gemspec: initial commit.
* doc/maintainers.rdoc, doc/standard_library.rdoc: Move Fcntl module
to Default gems section.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57596 b2dd03c8-39d4-4d8...
hsbt (Hiroshi SHIBATA)
08:17 AM Bug #13205 (Closed): Backport r57589 (parallel.rb: fix intervention)
以前から稀にワーカープロセスからの出力が混じることがあったのですが、r57555で_reportを呼ぶ回数が増えたことで確率が上がって頻繁に起きるようになったようです。 nobu (Nobuyoshi Nakada)
08:15 AM Revision 38bc085f (git): check thread deadness correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
06:12 AM Revision 92b710e6 (git): MFLAGS for nmake
* common.mk (mflags): pass make flags to sub-makes, for nmake
which cannot pass them by the environment variable.
* defs/gmake.mk (mflags): filter out -j option for sub-makes.
* template/exts.mk.tmpl (MFLAGS): extract MFLAGS from sub...
nobu (Nobuyoshi Nakada)
06:07 AM Bug #13204: Search order of constant is different
Thank you for response! okkez (okkez _)
04:31 AM Bug #13204 (Closed): Search order of constant is different
Intentional.
Top level constants are constants defined in `Object`, but `BasicObject` does not inherit `Object`.
nobu (Nobuyoshi Nakada)
02:31 AM Bug #13204 (Closed): Search order of constant is different
```ruby
class CleanRoom < BasicObject
def call
instance_eval(<<-CODE)
$stdout.puts ::ENV.size
CODE
end
def call2
instance_eval(<<-CODE)
$stdout.puts ENV.size
CODE
end
def call3
insta...
okkez (okkez _)
04:24 AM Revision 35533d03 (git): fiddle: fix $(SUBMAKE_PRE)
* ext/fiddle/extconf.rb: fix $(SUBMAKE_PRE) to chdir to
$(LIBFFI_DIR) instead of $(@D), since $(LIBFFI_A) is not
underneath libffi but under .libs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57593 b2dd03c8-39d4-4d8f-98ff-823f...
nobu (Nobuyoshi Nakada)
03:59 AM Revision ef004b1a (git): openssl: fix broken openssl check
* ext/openssl/deprecation.rb: check for broken OpenSSL only on mac
OS. [ruby-core:79475] [Bug #13200]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:58 AM Bug #13200 (Closed): Ruby 2.4.0 Stable Fails to Build from Source on openSUSE
Applied in changeset r57590.
----------
extmk.rb: split notes
* ext/extmk.rb: split notes and echo per lines, for multiple lines
messages. [ruby-core:79475] [Bug #13200]
nobu (Nobuyoshi Nakada)
03:57 AM Bug #13200: Ruby 2.4.0 Stable Fails to Build from Source on openSUSE
Fix of openssl/extconf.rb should be backported to older versions, not only 2.4. nobu (Nobuyoshi Nakada)
03:58 AM Revision 9101875d (git): openssl: fix broken openssl check
* ext/openssl/extconf.rb: check for broken OpenSSL only on mac OS.
[ruby-core:79475] [Bug #13200]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:58 AM Revision f9694cdb (git): extmk.rb: split notes
* ext/extmk.rb: split notes and echo per lines, for multiple lines
messages. [ruby-core:79475] [Bug #13200]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:58 AM Bug #13203 (Third Party's Issue): mysql2-0.4.1/mysql2/mysql2.so: [BUG] Segmentation fault
Please report it to mysql2.
Note that 2.1.2 is outdated and 2.1 EOL is soon.
nobu (Nobuyoshi Nakada)
01:13 AM Revision 0f9554ef (git): parallel.rb: fix intervention
* test/lib/test/unit/parallel.rb (_report): send a response and a
newline atomically, to get rid of intervention with "p" which
runs in a separate thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57589 b2dd03c8-39d4-4d8f-98...
nobu (Nobuyoshi Nakada)
12:58 AM Revision 97795849 (git): Use `unpack1` instead of `unpack` and `first`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:58 AM Revision 07b88b26 (git): lib/base64.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)

02/09/2017

08:38 PM Bug #13200: Ruby 2.4.0 Stable Fails to Build from Source on openSUSE

For a quick glance the file MIGHT be also available from
[http://temporary.softf1.com/2017/bugs/2017_02_09_bugs_ruby-lang_org_issues_13200_exts_mk.txt](http://temporary.softf1.com/2017/bugs/2017_02_09_bugs_ruby-lang_org_issues_1320...
martin_vahi (Martin Vahi)
08:36 PM Bug #13200: Ruby 2.4.0 Stable Fails to Build from Source on openSUSE
Nobuyoshi Nakada wrote:
> Please show lines around the line 1468 in file exts.mk.
The exts.mk is attatched as
~~~
2017_02_09_bugs_ruby-lang_org_issues_13200_exts_mk.txt
~~~
but some of the lines are:
~~~
ext/zlib/realcle...
martin_vahi (Martin Vahi)
03:50 AM Bug #13200 (Feedback): Ruby 2.4.0 Stable Fails to Build from Source on openSUSE
Please show lines around the line 1468 in file exts.mk. nobu (Nobuyoshi Nakada)
08:00 PM Bug #13196: Improve keyword argument errors when non-keyword arguments given
Nobuyoshi Nakada wrote:
> wrong number of arguments (given 1, expected 0 with required keyword code)
IMO still unclear, sounds somewhat like _"given 1 argument with required keyword code, but expected 0"_. Also, `code` would have to ...
stomar (Marcus Stollsteimer)
05:18 PM Bug #13203 (Third Party's Issue): mysql2-0.4.1/mysql2/mysql2.so: [BUG] Segmentation fault
Trying to install a ruby app on a server. Whenever the gem mysql2 is invoked, I get a segmentation fault. Please see attached file for details. In addition to mysql2-0.4.1, I have also tried mysql2-0.3.18 and mysql2-0.3.10. I have also t... jack (jack connors)
04:12 PM Revision bb262d0f (git): * 2017-02-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:12 PM Revision b15f8b6d (git): lib/abbrev.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:28 PM Bug #13202 (Closed): Enumerable#slice_before does not take both argument and block at the same time, as it ought to.
Applied in changeset r57584.
----------
[DOC] Update an obsolete example for slice_before.
The argument for Enumerable#slice_before is is removed at Ruby 2.3.
Reported by Shyouhei Urabe. [Bug #13202]
akr (Akira Tanaka)
10:14 AM Bug #13202 (Closed): Enumerable#slice_before does not take both argument and block at the same time, as it ought to.
Both RDoc and Rurema have descriptions of Enumerable#slice_before with this example:
```ruby
# split mails in mbox (slice before Unix From line after an empty line)
open("mbox") { |f|
f.slice_before(emp: true) { |line, h|
pr...
shyouhei (Shyouhei Urabe)
02:28 PM Revision cd5f5715 (git): [DOC] Update an obsolete example for slice_before.
The argument for Enumerable#slice_before is is removed at Ruby 2.3.
Reported by Shyouhei Urabe. [Bug #13202]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
akr (Akira Tanaka)
12:08 PM Revision 3c06d3a6 (git): fiddle: jobserver for libffi
* ext/fiddle/depend (libffi): use $(MAKE) explicitly for recursive
make, so that jobserver works.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:46 AM Revision f2e1c710 (git): Update maintainers list.
* Added Default gems section and move some libraries to it section.
* Added Bundled gems section and added upstream repositories of bundled gems.
* Added upstream repositories to some default gems.
git-svn-id: svn+ssh://ci.ruby-lang.o...
hsbt (Hiroshi SHIBATA)
11:26 AM Revision ab29cd80 (git): Update latest infomation of standard libraries.
* Added Bundled gems section.
* Added IO::console to Default gems.
* Move XMLRPC to Bundled gems section.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
10:49 AM Revision 6de9cae6 (git): Separated default gems section.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
07:53 AM Revision e54a7919 (git): * 2017-02-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
07:53 AM Revision 715094c2 (git): parse.y: fix idCOLON2
* defs/id.def: remove idDSTAR and idCOLON3.
* parse.y (tCOLON2): make same as id.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
01:42 AM Feature #5555: rename #include? to #includes?
Please stop beating this dead horse. shyouhei (Shyouhei Urabe)

02/08/2017

05:59 PM Feature #5555: rename #include? to #includes?
Steve Bachmair wrote:
> Then we could just write whatever is most readable in a given circumstance (which will usually be the third-person form).
I just wanted to point out that "usual" depends: I almost always use names in pluralize...
stomar (Marcus Stollsteimer)
02:56 PM Feature #5555: rename #include? to #includes?
The `include?`, `start_with?`, etc. issue is one of my very few gripes about this most beautiful of all languages. Is this the last word on this?
I'm puzzled at the the no third-person-singular naming convention, since 90% of my vari...
astrokitty (Steve Bachmair)
10:05 AM Feature #13201 (Closed): Gemify dbm
Applied in changeset r57577.
----------
Added initial gemspec for DBM module.
[Feature #13201]
hsbt (Hiroshi SHIBATA)
09:56 AM Feature #13201 (Closed): Gemify dbm
This issue is tracking for gem release of DBM module.
hsbt (Hiroshi SHIBATA)
10:05 AM Revision f72e43a4 (git): Added initial gemspec for DBM module.
[Feature #13201]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
07:06 AM Revision b4ac19f7 (git): parse.y: named caputre into match_op_gen
* parse.y (match_op_gen): move making named capture assignment
nodes. remove repeated conditions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:59 AM Revision 47056433 (git): remove warning about enum and int comparison.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
01:18 AM Revision 5c548689 (git): * 2017-02-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:18 AM Revision d1b386a2 (git): node.c: compress logop sequence
* node.c (dump_node): compress sequence of same logical binary
operators, NODE_AND/NODE_OR.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:41 AM Bug #13188: Reinitialize Ruby VM.
SASADA Koichi <ko1@atdot.net> wrote:
> On 2017/02/08 7:18, Eric Wong wrote:
> > But yeah, having VM struct passed with every function call
> > (like mrb_state in mruby) is probably most portable and fast.
>
> Yes. Ruby 3 will use...
normalperson (Eric Wong)
12:05 AM Bug #13188: Reinitialize Ruby VM.
On 2017/02/08 7:18, Eric Wong wrote:
> But yeah, having VM struct passed with every function call
> (like mrb_state in mruby) is probably most portable and fast.

Yes. Ruby 3 will use it.

--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
12:41 AM Feature #12967: Add a default for RUBY_GC_HEAP_GROWTH_MAX_SLOTS out-of-the-box
ko1@atdot.net wrote:
> Issue #12967 has been updated by Koichi Sasada.
>
> Status changed from Open to Rejected
>
> > My suggestion is to ship with a far safer default of: RUBY_GC_HEAP_GROWTH_MAX_SLOTS=100000
>
> To define "s...
normalperson (Eric Wong)

02/07/2017

11:47 PM Bug #13200 (Closed): Ruby 2.4.0 Stable Fails to Build from Source on openSUSE

An excerpt of a "make" console output
from a LLVM/clang based build session of the
https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.0.tar.gz
that has the SHA256 sum of
152fd0bd15a90b4a18213448f485d4b53e9f7662e1508190aa5b702446b...
martin_vahi (Martin Vahi)
10:21 PM Bug #13188: Reinitialize Ruby VM.
SASADA Koichi <ko1@atdot.net> wrote:
> On 2017/02/06 10:10, shyouhei@ruby-lang.org wrote:
> > VM-stored pointers
>
> More correctly, thread-local variables (on pthread).

Was it function call overhead from pthread_getspecific?

...
normalperson (Eric Wong)
09:07 PM Bug #13195: bigdecimal/util.rb: [DOC] Fix documentation errors

I guess the GitHub repo is now the correct place for issues concerning bigdecimal...? Or isn't it?
Anyhow, I opened a PR there, see https://github.com/ruby/bigdecimal/pull/57.
_Update: merged upstream_
stomar (Marcus Stollsteimer)
05:39 PM Bug #12613: iseq_set_sequence: adjust bug -1 < 0 (retry inside begin/rescue)
ruby_2_3 r57572 merged revision(s) 57368. nagachika (Tomoyuki Chikanaga)
05:39 PM Revision 8e25d645 (git): merge revision(s) 57368: [Backport #12613]
compile.c: check err_info
* compile.c (iseq_setup): bail out if any errors found.
[ruby-core:76531] [Bug #12613]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@57572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nagachika (Tomoyuki Chikanaga)
05:29 PM Bug #12604: Win32::Resolv.get_resolv_info returns unavailable DNS servers
ruby_2_3 r57571 merged revision(s) 55781,55783. nagachika (Tomoyuki Chikanaga)
05:28 PM Revision c59b3913 (git): merge revision(s) 55781,55783: [Backport #12604]
* ext/win32/resolv/resolv.c (get_dns_server_list): [Win32] get DNS
servers only for connected network devices by GetNetworkParams
API. [Bug #12604]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@5757...
nagachika (Tomoyuki Chikanaga)
05:18 PM Bug #12478: ruby2.2.5でオブジェクトに対して def_delegatorを行うとNoMethodError undefined method `method_defined?' が発生する。
ruby_2_3 r57570 merged revision(s) 53383,55366. nagachika (Tomoyuki Chikanaga)
05:18 PM Revision 1034b6d2 (git): merge revision(s) 53383,55366: [Backport #12478]
* lib/forwardable.rb (def_instance_delegator): adjust backtrace of
method body by tail call optimization. adjusting the delegated
target is still done by deleting backtrace.
* lib/forwardable.rb (def_single_...
nagachika (Tomoyuki Chikanaga)
05:02 PM Bug #13054: MatchData segfaults if RMatch::regexp is nil
ruby_2_3 r57569 merged revision(s) 57123. nagachika (Tomoyuki Chikanaga)
05:02 PM Revision 161f08ba (git): merge revision(s) 57123: [Backport #13054]
re.c: consider the case of RMatch::regexp is nil
Follow r49675, r57098 and r57110. Don't assume RMatch::regexp always
contains a valid Regexp instance; it will be Qnil if the MatchData is
created by rb_backref_se...
nagachika (Tomoyuki Chikanaga)
04:45 PM Bug #12991: Documentation of Thread.abort_on_exception is wrong: it raises error again in main thread
ruby_2_3 r57568 merged revision(s) 56928. nagachika (Tomoyuki Chikanaga)
04:45 PM Revision 13a55f43 (git): merge revision(s) 56928: [Backport #12991]
thread.c: fix doc of abort_on_exception [ci skip]
* thread.c (rb_thread_s_abort_exc, rb_thread_s_abort_exc_set):
[DOC] the raised exception will be re-raised in the main thread,
and then follows the ordinary exception sequen...
nagachika (Tomoyuki Chikanaga)
04:44 PM Bug #13066: 2.4.0-rc1, VC14, Segmentation fault on RSS::TestRSS10Core#test_to_xml
ruby_2_3 r57567 merged revision(s) 57172. nagachika (Tomoyuki Chikanaga)
04:44 PM Revision 15fbd0aa (git): merge revision(s) 57172: [Backport #13066]
time.c: fix type of usec2subsecx
* time.c (usec2subsecx): fix return type, which is a numeric
object but not a long int. [ruby-dev:49912] [Bug #13066]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@57567 b2dd0...
nagachika (Tomoyuki Chikanaga)
04:42 PM Bug #12910: TestFileUtils#test_chown_R_force might get stuck when process has no supplementary groups
ruby_2_3 r57566 merged revision(s) 56892. nagachika (Tomoyuki Chikanaga)
04:42 PM Revision 24a57580 (git): merge revision(s) 56892: [Backport #12910]
test_fileutils.rb: fix deadlock
* test/fileutils/test_fileutils.rb (assert_output_lines): ensure
that write pipe is closed, not the reader thread to deadlock
when an exception raised in the given block.
[ruby-core:78053] [...
nagachika (Tomoyuki Chikanaga)
04:38 PM Bug #12785: misc/test_ruby_mode.rb failed with emacs 25.1.1
ruby_2_3 r57565 merged revision(s) 56224. nagachika (Tomoyuki Chikanaga)
04:38 PM Revision 7d3b03f9 (git): merge revision(s) 56224: [Backport #12785]
* test/misc/test_ruby_mode.rb (assert_indent): since write-region
in Emacs 25.1 no longer displays the "Wrote file" message, shows
the explicit message to check if successfully finished.
[ruby-core:77355] [B...
nagachika (Tomoyuki Chikanaga)
12:49 PM Revision 026ded93 (git): {ext,test}/zlib: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
11:56 AM Feature #12732: An option to pass to `Integer`, `Float`, to return `nil` instead of raise an exception
Although it does not solve Aaron's use case, I would suggest to have a `Integer.try_convert`, `Float.try_convert`, `Rational.try_convert`, and `Complex.try_convert` which do not raise exceptions, but just return `nil`. To keep consistenc... rbjl (Jan Lelis)
10:13 AM Feature #13199 (Closed): Gemify strscan
Commited at r57560 hsbt (Hiroshi SHIBATA)
07:09 AM Feature #13199 (Closed): Gemify strscan
This issue is tracking for gem release of StringScanner class. hsbt (Hiroshi SHIBATA)
08:16 AM Revision 75111307 (git): test/unit.rb: old GNU make
* test/lib/test/unit.rb (Test::Unit::Parallel#non_options):
support old GNU make, which uses --jobserver-fds option instead
of --jobserver-auth.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57563 b2dd03c8-39d4-4d8f-98ff-823fe69...
nobu (Nobuyoshi Nakada)
08:09 AM Revision d686b022 (git): test_parallel.rb: match the count
* test/testunit/test_parallel.rb (test_should_run_all_without_any_leaks):
match the final test count instead of progressing indicators.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
07:55 AM Bug #13198 (Assigned): Tempfile#size is nil when nothing is written, expected 0
It is because `Fie.size?` is used instead of `File.size`, since r50682.
I suspect that it would be a typo and unintentional.
```diff
diff --git i/lib/tempfile.rb w/lib/tempfile.rb
index d068dd603c..b36c6638b6 100644
--- i/lib/temp...
nobu (Nobuyoshi Nakada)
07:14 AM Revision 2507e900 (git): Fix a required ruby version on gemspec of gemified libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
07:14 AM Revision 4a02608b (git): Added initial gemspec for StringScanner class.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
06:35 AM Feature #13197: Gemify fileutils
Note: Pathname class depends FileUtils. If we added breaking changes to `FileUtils`, Pathname is also broken.
https://github.com/ruby/ruby/blob/trunk/ext/pathname/lib/pathname.rb#L569
So, We need to add dependency FileUtils to Path...
hsbt (Hiroshi SHIBATA)
02:49 AM Feature #13197 (Assigned): Gemify fileutils
hsbt (Hiroshi SHIBATA)
05:19 AM Revision a02a8dfa (git): test/unit.rb: most-asserted
* test/lib/test/unit.rb (Statistics#record): record most asserted
tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:24 AM Revision 950d15bc (git): TRUE is not defined here...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
04:14 AM Revision 361edea7 (git): remove compare with enum value.
* vm_core.h (vm_block_handler_verify): some compilers warn about comparison
with enum value and 0. Real assertion is in vm_block_handler_type() so
we only need to call vm_block_handler_type() and the value should be TRUE.
git-svn-i...
ko1 (Koichi Sasada)
03:58 AM Revision 8dedf08b (git): test/unit.rb: defined
* test/lib/test/unit.rb (Test::Unit::Statistics#record): check if
@longest is set first.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
03:55 AM Revision 406c5252 (git): test/unit: record in parallel
* test/lib/test/unit.rb (Test::Unit::Parallel#deal): deal with
record.
* test/lib/test/unit/parallel.rb (Test::Unit::Worker#record):
report test records to the master.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57555 b2dd03c...
nobu (Nobuyoshi Nakada)
02:49 AM Revision 10c51ff5 (git): test/unit.rb: statistics
* test/lib/test/unit.rb (Test::Unit::Statistics): show statistics.
only --longest option is implemented right now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
02:49 AM Revision ad57f92f (git): * 2017-02-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:49 AM Revision 8ebdec34 (git): rbinstall.rb: umask hack
* tool/rbinstall.rb (Gem::Installer#install): moved umask hack.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)

02/06/2017

09:10 PM Bug #13193: [DOC] Revise docs for Date and DateTime
A shorter version:
```
Date.new(2001,1,31) >> 2 # => #<Date: 2001-03-31 ...>
Date.new(2001,1,31) >> 1 >> 1 # => #<Date: 2001-03-28 ...>
```
_Update:_ See #13225.
stomar (Marcus Stollsteimer)
09:05 PM Bug #13193: [DOC] Revise docs for Date and DateTime
Nobuyoshi Nakada wrote:
> To "demonstrate that different dates can result in the same return value", isn't `Date.new(2001,1,28)` better?
Agreed.
Maybe there even should be an extra paragraph that explicitly points this out.
And m...
stomar (Marcus Stollsteimer)
07:34 AM Bug #13193 (Closed): [DOC] Revise docs for Date and DateTime
Applied in changeset r57549.
----------
date_core.c: [DOC] revise docs [ci skip]
* fix malformed rdoc for Date#today, Date._strptime,
and DateTime._strptime
* add code examples for Date#<< and Date#>> to demonstrate
that different ...
nobu (Nobuyoshi Nakada)
02:48 AM Bug #13193: [DOC] Revise docs for Date and DateTime
To "demonstrate that different dates can result in the same return value", isn't `Date.new(2001,1,28)` better? nobu (Nobuyoshi Nakada)
02:44 AM Bug #13193: [DOC] Revise docs for Date and DateTime
Thank you for the great contribution.
Just curious what differs in examples of Jan 30 and Jan 31.
```diff
+ * Date.new(2001,1,30) >> 1 #=> #<Date: 2001-02-28 ...>
+ * Date.new(2001,1,31) >> 1 #=> #<Date: 2001-02-28 ...>...
nobu (Nobuyoshi Nakada)
07:03 PM Bug #13198 (Closed): Tempfile#size is nil when nothing is written, expected 0
~~~ ruby
require 'tempfile'
tmp = Tempfile.new
tmp.write ''
tmp.close
tmp.size # => nil
File.size(tmp.path) # => 0
~~~
I'm not sure if this is actually a bug, but this behavior really surprised me. I think it would be bette...
kyledrake (Kyle Drake)
01:45 PM Feature #8631: Add a new method to ERB to allow assigning the local variables from a hash
Another implementation:
```diff
diff --git a/lib/erb.rb b/lib/erb.rb
index 9483711024..9813b4dc71 100644
--- a/lib/erb.rb
+++ b/lib/erb.rb
@@ -887,6 +887,11 @@
# code evaluation.
#
def result(b=new_toplevel)
+ if ...
nobu (Nobuyoshi Nakada)
01:23 PM Revision a4fde3b6 (git): {ext,test}/strscan: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:21 PM Feature #8643: Add Binding.from_hash
If #8631 was accepted, I think it could be okay to close this one as this is the only use-case for this I've needed so far. But before #8631 is accepted, this one would be also a good alternative... rosenfeld (Rodrigo Rosenfeld Rosas)
03:29 AM Feature #8643 (Feedback): Add Binding.from_hash
Can I close this issue?
ko1 (Koichi Sasada)
09:51 AM Feature #13197 (Closed): Gemify fileutils
Applied in changeset r57550.
----------
Added initial gemspec for FileUtils module.
[Feature #13197]
hsbt (Hiroshi SHIBATA)
09:43 AM Feature #13197 (Closed): Gemify fileutils
This issue is tracking for gem release of FileUtils module. hsbt (Hiroshi SHIBATA)
09:51 AM Revision 52dbede2 (git): Added initial gemspec for FileUtils module.
[Feature #13197]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
08:54 AM Feature #12760: Optional block argument for `itself`
Hello.
Is there any movement?
Nondv (Dmitry Non)
07:34 AM Revision bcad5a51 (git): date_core.c: [DOC] revise docs [ci skip]
* fix malformed rdoc for Date#today, Date._strptime,
and DateTime._strptime
* add code examples for Date#<< and Date#>> to demonstrate
that different dates can result in the same return value
* use Date::ITALY in call-seq instead of ...
nobu (Nobuyoshi Nakada)
04:09 AM Bug #13196: Improve keyword argument errors when non-keyword arguments given
How about this?
```
$ ./miniruby -e 'def explode(code:)end' -e 'explode(1)'
-e:1:in `explode': wrong number of arguments (given 1, expected 0 with required keyword code) (ArgumentError)
from -e:2:in `<main>'
```
```diff
diff ...
nobu (Nobuyoshi Nakada)
03:24 AM Bug #13196: Improve keyword argument errors when non-keyword arguments given
I guess the error-reporting there did not yet account for the possibility that keyword arguments can be
mandatory too, so I agree that the message "wrong number of arguments (given 1, expected 0)" appears to
be incorrect, since one ind...
shevegen (Robert A. Heiler)
03:46 AM Bug #9262 (Closed): global_method_cache should be configurable or grow automatically
I close this issue because I want to try another approach.
Otherwise, current MRI has global variable to configure this size.
ko1 (Koichi Sasada)
03:19 AM Feature #8576: Add optimized method type for constant value methods
Actually, I tried this approach, but I couldn't find good improvement. I'll try it again. ko1 (Koichi Sasada)
03:17 AM Feature #8556 (Rejected): MutexedDelegator as a trivial way to make an object thread-safe
Sorry for long absence.
> The only way to ever make +=, ||=, and others be atomic in Ruby proper would be to change the way they're parsed and potentially add a method that could be called. But this is even unpredictable because for v...
ko1 (Koichi Sasada)
02:58 AM Feature #8263: Support discovering yield state of individual Fibers
It seems nice. ko1 (Koichi Sasada)
02:55 AM Bug #10232 (Rejected): Trivial change of IMMEDIATE VALUE bits layout
Reject it and revisit sometime. ko1 (Koichi Sasada)
02:49 AM Bug #10212 (Closed): MRI is not for lambda calculus
ko1 (Koichi Sasada)
02:41 AM Bug #13188: Reinitialize Ruby VM.
On 2017/02/06 10:10, shyouhei@ruby-lang.org wrote:
> VM-stored pointers

More correctly, thread-local variables (on pthread).

--
// SASADA Koichi at atdot dot net
ko1 (Koichi Sasada)
01:10 AM Bug #13188: Reinitialize Ruby VM.
Martin Dürst wrote:
> Shyouhei Urabe wrote:
> ...
Nobu and myself each once tried to move those global variables into the VM struct, to make it possible to have multiple VMs at once (mvm). My try changed hundreds of thousands of lines...
shyouhei (Shyouhei Urabe)
02:35 AM Revision 84012757 (git): rdoc: suppress warnings in eval
* lib/rdoc/markup/to_html.rb (RDoc::Markup::ToHtml): the argument
text may contain warnings, which are useless to check if
parseable. merge rdoc/rdoc#440.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57548 b2dd03c8-39d4-4d8f-9...
nobu (Nobuyoshi Nakada)
02:35 AM Revision 65e5321a (git): common.mk: suppress debugging messages
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

02/05/2017

11:52 PM Revision fa20fd84 (git): rbinstall.rb: Gem::Installer lacks dir_mode option
* tool/rbinstall.rb (bundle-gems): Gem::Installer does not support
directory permission option, set umask to owner writable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
11:52 PM Revision b9eb7063 (git): rbinstall.rb: rename tags
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:18 PM Bug #13196 (Closed): Improve keyword argument errors when non-keyword arguments given
Given the following method definition:
```ruby
def explode(code:)
puts "Boom!"
end
```
If a Ruby user doesn't provide any arguments when calling the `explode` method, the following helpful feedback is given:
```ruby
exp...
olivierlacan (Olivier Lacan)
04:23 PM Bug #13194 (Closed): LIBRUBY_ALIASESのアクセス権が所有者のみになっている
Applied in changeset r57543.
----------
rbinstall.rb: default umask
* tool/rbinstall.rb: revert r49841 and default umask to just
prohibit all from writing. symlink(2) has no argument to set
permissions but is affected by umask.
...
nobu (Nobuyoshi Nakada)
01:34 PM Bug #13194 (Closed): LIBRUBY_ALIASESのアクセス権が所有者のみになっている
LIBRUBY_ALIASESとして作成されるシンボリックリンクの
アクセス権が所有者のみになっています。
たぶん意図された変更ではないと思うのですが、いかがでしょうか?
~~~
/Users/kimuraw/tmp/ruby-2.5-dev/lib:
total 8392
drwxr-xr-x 7 kimuraw staff 238 Feb 5 20:34 ./
drwxr-xr-x 6 kimuraw staff 20...
kimuraw (Wataru Kimura)
04:23 PM Revision 604df3e2 (git): tool/rbinstall.rb: add new tags
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:23 PM Revision 00742d2c (git): rbinstall.rb: default umask
* tool/rbinstall.rb: revert r49841 and default umask to just
prohibit all from writing. symlink(2) has no argument to set
permissions but is affected by umask.
[ruby-dev:49975] [Bug #13194]
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
04:07 PM Revision 48732df5 (git): * 2017-02-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:07 PM Revision 643a935e (git): @job_tokens is defined iff @jobserver is true
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:34 PM Bug #13195 (Closed): bigdecimal/util.rb: [DOC] Fix documentation errors
```
bigdecimal/util.rb: [DOC] Fix documentation errors
* ext/bigdecimal/lib/bigdecimal/util.rb: [DOC] fix errors
in rdoc for 'bigdecimal/util'.
Fix two errors in the docs: it's bigdecimal/util that does
extend the native class...
stomar (Marcus Stollsteimer)
02:45 PM Feature #13097: Deprecate Socket.gethostbyaddr and Socket.gethostbyname
```
$ ruby -rsocket -e 'host = "ci.ruby-lang.org"; ai = Addrinfo.ip(host); p Socket.gethostbyname(host), Socket.getaddrinfo(host, nil), ai, ai.canonname'
["ci.ruby-lang.org", [], 2, "4\xC0P\xDB"]
[["AF_INET", 0, "52.192.80.219", "52.1...
nobu (Nobuyoshi Nakada)
01:02 PM Feature #13097: Deprecate Socket.gethostbyaddr and Socket.gethostbyname
https://github.com/ruby/ruby/compare/trunk...nobu:feature/deprecate_method nobu (Nobuyoshi Nakada)
02:16 PM Revision 48d61170 (git): node.c: Fix a typo
* node.c (dump_node): Fix a typo of || operator example
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
yui-knk (Kaneko Yuichiro)
11:15 AM Bug #11752 (Closed): Bug in Rational documentation
Applied in changeset r57539.
----------
rational.c: fix rdoc [ci skip]
* rational.c (rb_rational_plus): [DOC] fix an example.
A patch by Trygve Flathen <at.ruby-lang AT flathen.net> in
[ruby-core:71755]. [Bug #11752]
nobu (Nobuyoshi Nakada)
10:02 AM Bug #11752: Bug in Rational documentation
Any reason not to apply?
An obvious typo, but already 2 issues, one of them more than a year old...
stomar (Marcus Stollsteimer)
11:15 AM Revision 93254f4a (git): rational.c: fix rdoc [ci skip]
* rational.c (rb_rational_plus): [DOC] fix an example.
A patch by Trygve Flathen <at.ruby-lang AT flathen.net> in
[ruby-core:71755]. [Bug #11752]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57539 b2dd03c8-39d4-4d8f-98ff-823fe...
nobu (Nobuyoshi Nakada)
11:01 AM Feature #13122: Special syntax for Hash#default_proc
Maybe both of elements and a block would be nice. nobu (Nobuyoshi Nakada)
09:51 AM Bug #13193 (Closed): [DOC] Revise docs for Date and DateTime
```
ext/date/date_core.c: [DOC] revise docs for Date and DateTime
* fix malformed rdoc for Date#today, Date._strptime,
and DateTime._strptime
* add code examples for Date#<< and Date#>> to demonstrate
that different dates can ...
stomar (Marcus Stollsteimer)
07:54 AM Revision e3300dce (git): {ext,test}/ripper: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:26 AM Revision cd6d9193 (git): pty/shl.rb: update [ci skip]
* sample/pty/shl.rb: leap exited child process.
[ruby-dev:49974] [Bug #13191]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
12:35 AM Bug #13192 (Closed): [DOC] Add example for Symbol#to_s
Applied in r57536 (oops, forgot bug number in commit :x)
normalperson (Eric Wong)
12:22 AM Revision a6b9b360 (git): doc: Add example for Symbol#to_s
* string.c: add example for Symbol#to_s.
The docs for Symbol#to_s only include an example for
Symbol#id2name, but not for #to_s which is an alias;
the docs should include examples for both methods.
From: Marcus Stollsteimer <sto.mar@we...
Eric Wong
 

Also available in: Atom