Project

General

Profile

Activity

From 02/02/2017 to 02/08/2017

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 usual...
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... 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...
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://...
nobu (Nobuyoshi Nakada)
12:41 AM Bug #13188: Reinitialize Ruby VM.
SASADA Koichi <[email protected]> wrote:
> On 2017/02/08 7:18, Eric Wong wrote:
> > But yeah, having VM struct passed ...
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_stat...
ko1 (Koichi Sasada)
12:41 AM Feature #12967: Add a default for RUBY_GC_HEAP_GROWTH_MAX_SLOTS out-of-the-box
[email protected] wrote:
> Issue #12967 has been updated by Koichi Sasada.
>
> Status changed from Open to Rejected
...
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/...
martin_vahi (Martin Vahi)
10:21 PM Bug #13188: Reinitialize Ruby VM.
SASADA Koichi <[email protected]> wrote:
> On 2017/02/06 10:10, [email protected] wrote:
> > VM-stored pointers
...
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 o...
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 #...
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 devic...
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. ...
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::rege...
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_s...
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 n...
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 writ...
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 "Wro...
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`, `R... 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...
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 pro...
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 uninte...
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.
http...
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/ru...
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 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....
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::Uni...
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.
...
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@57...
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 >> ...
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...
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#toda...
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
+ * ...
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)...
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/...
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 s... 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 Dat...
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 a...
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 to...
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 t...
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 chang...
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, [email protected] wrote:
> VM-stored pointers

More correctly, thread-local variables (...
ko1 (Koichi Sasada)
01:10 AM Bug #13188: Reinitialize Ruby VM.
Martin Dürst wrote:
> Shyouhei Urabe wrote:
> > AFAIK the ruby interpreter uses lots of global variables, which mak...
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 c...
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 ...
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 d...
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 ...
nobu (Nobuyoshi Nakada)
01:34 PM Bug #13194 (Closed): LIBRUBY_ALIASESのアクセス権が所有者のみになっている
LIBRUBY_ALIASESとして作成されるシンボリックリンクの
アクセス権が所有者のみになっています。
たぶん意図された変更ではないと思うのですが、いかがでしょうか?
~~~
/Users/kimuraw/tmp/ru...
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...
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
...
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.geta...
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 b2dd...
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 a...
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
...
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._strp...
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.o...
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 no...
Eric Wong

02/04/2017

06:14 PM Revision 559b51ff (git): * 2017-02-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:14 PM Revision 68e10755 (git): fix description for current implementation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
12:25 PM Bug #13192 (Closed): [DOC] 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 ...
stomar (Marcus Stollsteimer)
12:22 PM Bug #13189: [DOC] Restore class documentation for Struct
Thanks for the explanation and the hint to `git format-patch`; I'll try that for the next PR. stomar (Marcus Stollsteimer)
09:11 AM Bug #13189: [DOC] Restore class documentation for Struct
[email protected] wrote:
> @normal (@Anonymous)
>
> Regarding commit messages / further explanations:
>
> I wasn...
normalperson (Eric Wong)
08:12 AM Bug #13189: [DOC] Restore class documentation for Struct
@normal (@Anonymous)
Regarding commit messages / further explanations:
I wasn't aware that the complete descrip...
stomar (Marcus Stollsteimer)
10:48 AM Bug #13191 (Closed): sample/pty/shl.rb がうまく動かない
Applied in changeset r57531.
----------
pty/shl.rb: update [ci skip]
* sample/pty/shl.rb: stop writer loop when the...
nobu (Nobuyoshi Nakada)
07:12 AM Bug #13191 (Closed): sample/pty/shl.rb がうまく動かない
sample/pty/shl.rb で c で起動したシェルを exit で終了した時に終了がうまく検知できないようです。
r57530 の修正がないと 1.8.6 でも動かなかったので、その修正をしたもので試したのですが、1....
znz (Kazuhiro NISHIYAMA)
10:48 AM Revision b163b3ff (git): pty/shl.rb: update [ci skip]
* sample/pty/shl.rb: do not manage array length separately.
[ruby-dev:49974] [Bug #13191]
git-svn-id: svn+ssh://ci...
nobu (Nobuyoshi Nakada)
10:48 AM Revision 69b64711 (git): pty/shl.rb: update [ci skip]
* sample/pty/shl.rb: use io/console instead of stty.
[ruby-dev:49974] [Bug #13191]
git-svn-id: svn+ssh://ci.ruby-l...
nobu (Nobuyoshi Nakada)
10:48 AM Revision 0d98fd88 (git): pty/shl.rb: update [ci skip]
* sample/pty/shl.rb: stop writer loop when the child exited.
PTY::ChildExited no longer raises asynchronously since...
nobu (Nobuyoshi Nakada)
08:19 AM Bug #13188: Reinitialize Ruby VM.
Shyouhei Urabe wrote:
> AFAIK the ruby interpreter uses lots of global variables, which makes it practically impossi...
duerst (Martin Dürst)
05:43 AM Bug #13188: Reinitialize Ruby VM.
AFAIK the ruby interpreter uses lots of global variables, which makes it practically impossible to re-initialize.
...
shyouhei (Shyouhei Urabe)
06:49 AM Revision 5b540799 (git): sample/pty/shl.rb: update sample
* Specify frozen_string_literal: true.
* Fix TypeError of raise.
* Use a character literal instead of Integer.
git-s...
znz (Kazuhiro NISHIYAMA)
06:49 AM Revision af2009a5 (git): sample/pty/script.rb: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
06:49 AM Revision 2cc0461b (git): sample/pty/expect_sample.rb: Update sample
* Fix regexp capture scope bug.
* Specify frozen_string_literal: true.
* Use passive mode.
git-svn-id: svn+ssh://ci....
znz (Kazuhiro NISHIYAMA)
06:49 AM Revision 411083a9 (git): ext/pty: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
05:23 AM Revision d4502a67 (git): test/unit.rb: jobserver for workers
* test/lib/test/unit.rb (Test::Unit::Parallel#process_args):
initialize @run_options to pass jobserver auth pipes t...
nobu (Nobuyoshi Nakada)
03:28 AM Revision 1f23dd01 (git): test/unit.rb: job tokens
* test/lib/test/unit.rb (_run_parallel): deal with job tokens for
each workers.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
02:17 AM Revision 36037442 (git): test/unit.rb: initialize instance variable
* test/lib/test/unit.rb (Test::Unit::Parallel#non_options):
initialize @jobserver instance variable to suppress war...
nobu (Nobuyoshi Nakada)
01:33 AM Feature #7882 (Closed): Allow rescue/else/ensure in do..end
nobu (Nobuyoshi Nakada)
01:04 AM Revision fbdec818 (git): test_gem.rb: exclude default gems
* test/rubygems/test_gem.rb: check difference to exclude default
gems from the expected results. [Feature #13186]
...
nobu (Nobuyoshi Nakada)

02/03/2017

11:58 PM Bug #13189 (Closed): [DOC] Restore class documentation for Struct
Applied in changeset r57522.
----------
doc: restore class documentation for Struct
* struct.c: restore class docum...
Anonymous
08:47 PM Bug #13189 (Closed): [DOC] Restore class documentation for Struct
```
* struct.c: restore class documentation for Struct
that disappeared with r46663.
```
Due to r46663, the c...
stomar (Marcus Stollsteimer)
11:58 PM Revision 02887a56 (git): doc: restore class documentation for Struct
* struct.c: restore class documentation for Struct
that disappeared with r46663.
Due to r46663, the class document...
Eric Wong
11:55 PM Revision b0cfa46b (git): symbol.c (rb_id2str): eliminate branch to set class
Since the fstring table encompasses all strings in the
symbol table, we may reuse the fstring table walk to set
the c...
Eric Wong
11:50 PM Bug #13184 (Closed): unused parameter in ruby.h - native ruby extension compilation failure on ruby 2.4
Applied in changeset r57520.
----------
ruby.h: unused parameter
* include/ruby/ruby.h (rb_scan_args_set): remove u...
nobu (Nobuyoshi Nakada)
12:45 AM Bug #13184 (Closed): unused parameter in ruby.h - native ruby extension compilation failure on ruby 2.4
platform and version:
x86_64-darwin14
2.4.0
When compiling a ruby c-extension on the above ruby platform and ver...
apolcyn (alex polcyn)
11:50 PM Revision 257bf9c0 (git): ruby.h: unused parameter
* include/ruby/ruby.h (rb_scan_args_set): remove unused parameter
for more pedantic extension libraries.
[ruby-co...
nobu (Nobuyoshi Nakada)
11:40 PM Revision 0e987881 (git): .gitignore: add ext/rbconfig/sizeof/limits.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
11:40 PM Revision bd09f790 (git): ext/rbconfig/sizeof: add limits.c to svn:ignore
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
11:34 PM Bug #13190 (Closed): [DOC] Fix error for escape sequences in string literals
Applied in changeset r57517.
----------
doc: Fix error for escape sequences in string literals
Backslash goes first...
Anonymous
10:12 PM Bug #13190 (Closed): [DOC] Fix error for escape sequences in string literals
Small change:
Backslash goes first in escape sequences, so it must be "any other character following a backslash i...
stomar (Marcus Stollsteimer)
11:34 PM Revision 90fdfec1 (git): doc: Fix error for escape sequences in string literals
Backslash goes first in escape sequences, so it must be
"any other character following a backslash is interpreted as ...
Eric Wong
11:28 PM Bug #13187 (Feedback): In rails console ,excute "User.all" or "User.new",remind a bugreport
No necessary information.
Maybe [Bug #12781]?
nobu (Nobuyoshi Nakada)
02:22 PM Bug #13187: In rails console ,excute "User.all" or "User.new",remind a bugreport
In rails console ,excute "User.all" or "User.new",remind a bugreport
1670 /Users/xiaodong/.rvm/rubies/ruby-2.3....
dongge (dongge dongge)
02:19 PM Bug #13187 (Third Party's Issue): In rails console ,excute "User.all" or "User.new",remind a bugreport
In rails console ,excute "User.all" or "User.new",remind a bugreport dongge (dongge dongge)
11:25 PM Bug #13175 (Closed): Building --with-jemalloc on FreeBSD fails
nobu (Nobuyoshi Nakada)
09:03 PM Bug #13159: [DOC] Revise documentation for OpenStruct
Patch updated to reflect r57515 (return value of each_pair). stomar (Marcus Stollsteimer)
06:27 PM Bug #13169: Fix OpenStruct#each_pair return value
Thank you for the great patch :-) marcandre (Marc-Andre Lafortune)
06:25 PM Bug #13169 (Closed): Fix OpenStruct#each_pair return value
Applied in changeset r57515.
----------
lib/ostruct.rb: Fix returned value of each_pair.
From a patch by Marcus Sto...
marcandre (Marc-Andre Lafortune)
06:25 PM Revision d1d79f17 (git): * 2017-02-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:25 PM Revision 4d7b999c (git): lib/ostruct.rb: Fix returned value of each_pair.
From a patch by Marcus Stollsteimer. [Fixes #13169]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57515 b2dd03c8...
Marc-Andre Lafortune
05:58 PM Bug #13188 (Rejected): Reinitialize Ruby VM.
It appears that by following what appears to be a pretty standard setup procedure:
~~~
ruby_init_stack(variable_...
joedaniels29 (Joe Daniels)
04:47 PM Feature #7882: Allow rescue/else/ensure in do..end
So... Is there any movement? Nondv (Dmitry Non)
02:31 PM Bug #13150: TestMarshal failures on FreeBSD with gcc7 because of GC
It would be nice to backport this, so we don't need to carry the patch around in Fedora. vo.x (Vit Ondruch)
02:30 PM Bug #13168 (Closed): Marshaling broken with GCC 7.x
vo.x (Vit Ondruch)
12:52 PM Revision 0fe47fad (git): test/unit.rb: share job slots
* test/lib/test/unit.rb (Test::Unit::Parallel#_run_parallel):
share job slots with GNU 'make'.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
12:52 PM Revision 953093e2 (git): test/unit.rb: job testing flag
* test/lib/test/unit.rb (Parallel#non_options): split testing flag
and job count by OptionParser.
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
12:39 PM Feature #13186 (Closed): Gemify zlib
Applied in changeset r57512.
----------
Added initial gemspec for zlib module.
[Feature #13186]
hsbt (Hiroshi SHIBATA)
12:38 PM Feature #13186 (Closed): Gemify zlib
This issue is tracking for gem release of zlib module. hsbt (Hiroshi SHIBATA)
12:39 PM Revision 367acdaa (git): Added initial gemspec for zlib module.
[Feature #13186]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
06:48 AM Revision bb3d7949 (git): ensured.c: fix conflict
* ext/-test-/exception/ensured.c (exc_raise): get rid of conflict
with raise(2) in the standard. [ruby-core:79371]...
nobu (Nobuyoshi Nakada)
06:28 AM Bug #13185 (Third Party's Issue): Message: You may have encountered a bug in the Ruby interpreter or extension libraries.
Seems embedded in something called NWNX.
Please ask the author of nwnx_ruby.
nobu (Nobuyoshi Nakada)
06:06 AM Bug #13185 (Third Party's Issue): Message: You may have encountered a bug in the Ruby interpreter or extension libraries.
```
NWNX2lib: Init
NWNX2lib: org SetString() at 81f41b4, new SetString() at f769a5c1
NWNX2lib: org GetObj() at 81f...
MetaPhaze (Gabriel Homeier)
06:23 AM Bug #13176 (Closed): Segfault during exception raising because rb_thread_t.errinfo is set to IMEMO object
Applied in changeset r57510.
----------
eval.c: hide internal objects
* eval.c (rb_ensure): veil internal exception...
nobu (Nobuyoshi Nakada)
05:48 AM Bug #13176: Segfault during exception raising because rb_thread_t.errinfo is set to IMEMO object
`Timeout.timeout` doesn't appear to be called directly, though I didn't audit all code involved. The problematic cod... jeremyevans0 (Jeremy Evans)
04:40 AM Bug #13176: Segfault during exception raising because rb_thread_t.errinfo is set to IMEMO object
Nor `Timeout.timeout`? nobu (Nobuyoshi Nakada)
06:23 AM Revision 2aaca105 (git): eval.c: hide internal objects
* eval.c (rb_ensure): veil internal exception objects not to leak
in ensure functions. [ruby-core:79371] [Bug #131...
nobu (Nobuyoshi Nakada)
06:11 AM Revision c2a6adc5 (git): internal.h: fix r57507
* internal.h (rb_overflowed_fix_to_int): invert sign bit. should
not set LSB of fixnum value, which is always set,...
nobu (Nobuyoshi Nakada)
05:05 AM Feature #13179: Deep Hash Update Method
Any method name four or less characters long is a big win. Using bury would be much nicer than my current update_deep... bettisworth (wurde _)
04:22 AM Feature #13179: Deep Hash Update Method
> Regarding the name, bury occurred to me.
.dig and .bury - I can already feel on Halloween the .zombies() coming up!
shevegen (Robert A. Heiler)
03:11 AM Feature #13045: Passing a Hash with String keys as keyword arguments
Robert A. Heiler wrote:
> Perhaps this would also reduce the need for strange things such as
> HashWithIndifferent...
nobu (Nobuyoshi Nakada)

02/02/2017

06:59 PM Revision 0db6b623 (git): io.c: remove rb_ensure usage for rb_str_tmp_frozen_* calls
Using rb_ensure pessimizes the common case and makes the code
more difficult to read and follow. If we hit an except...
Eric Wong
06:32 PM Bug #13176: Segfault during exception raising because rb_thread_t.errinfo is set to IMEMO object
Neither sequel, sequel_pg, nor pg appear to use throw according to grep.
I can confirm that the patch does fix the...
jeremyevans0 (Jeremy Evans)
02:25 PM Bug #13176 (Feedback): Segfault during exception raising because rb_thread_t.errinfo is set to IMEMO object
`IMEMO` as an exception is `struct vm_throw_data`, which is used by `Kernel#throw`.
Does sequel use `throw`?
```d...
nobu (Nobuyoshi Nakada)
05:07 PM Revision c0837cb7 (git): fix typo and argument of r57506
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
03:54 PM Revision 038ccbd1 (git): Use carry flag to reduce instructions
NOTE:
(1) Fixnum's LSB is always 1.
It means you can always run `x - 1` without overflow.
(2) Of course `z = x + ...
naruse (Yui NARUSE)
03:19 PM Bug #13180: 'superclass mismatch for class' on nested classes
Thanks for the quick patches. Would those likely be released in upcoming bug fixes? I can keep using my forked versio... adamdecaf (Adam Shannon)
04:27 AM Bug #13180 (Third Party's Issue): 'superclass mismatch for class' on nested classes
(Assuming you are using Bundler...) It is because openssl is loaded two times.
https://github.com/bundler/bundle...
rhenium (Kazuki Yamaguchi)
04:07 AM Bug #13180: 'superclass mismatch for class' on nested classes
I wonder if it has something to do with issue #11547? Might be fixed in the latest trunk if that is the case. shyouhei (Shyouhei Urabe)
03:12 PM Revision b36f5ba1 (git): * 2017-02-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:12 PM Revision 5eb5afb6 (git): ext/fcntl: Specify frozen_string_literal: true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
12:51 PM Feature #6602: Tail call optimization: enable by default?
Benoit Daloze wrote:
> I think losing the backtrace is fairly bad in a mostly-imperative language.
> Tail calls wou...
mame (Yusuke Endoh)
12:38 PM Revision 14ccf126 (git): Add class name to assert messages
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
08:39 AM Feature #13183 (Closed): Gemify date
Applied in changeset r57502.
----------
Added initial gemspec for Date module.
[Feature #13183]
hsbt (Hiroshi SHIBATA)
08:36 AM Feature #13183 (Closed): Gemify date
This issue is tracking for gem release of date module. hsbt (Hiroshi SHIBATA)
08:38 AM Revision c3d27b59 (git): Added initial gemspec for Date module.
[Feature #13183]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
08:04 AM Feature #13166: Feature Request: Byte Arrays for Ruby 3
Usually on such use case I use String as a Int8Array.
I can access a Nth bit by `str.getbyte(n/8)[n%8]`.
If you n...
naruse (Yui NARUSE)
06:56 AM Feature #13166: Feature Request: Byte Arrays for Ruby 3
How about:
```ruby
class Array8 < String
def initialize(size, value = 0)
[value].pack("C") * size
end
...
nobu (Nobuyoshi Nakada)
08:02 AM Revision c3738664 (git): escape.c: check argument
* ext/cgi/escape/escape.c (optimized_unescape): check
accept_charset encoding argument.
git-svn-id: svn+ssh://ci.r...
nobu (Nobuyoshi Nakada)
07:49 AM Feature #13182 (Closed): Gemify cmath
Applied in changeset r57500.
----------
Added initial gemspec for CMath module.
[Feature #13182]
hsbt (Hiroshi SHIBATA)
07:28 AM Feature #13182 (Closed): Gemify cmath
This issue is tracking for gem release of cmath module. hsbt (Hiroshi SHIBATA)
07:49 AM Revision ffcb389d (git): Added initial gemspec for CMath module.
[Feature #13182]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
hsbt (Hiroshi SHIBATA)
07:03 AM Revision 7d0d0d58 (git): test_cgi_util.rb: encoding tests
* test/cgi/test_cgi_util.rb (test_cgi_unescape): \u is useless on
old versions.
* test/cgi/test_cgi_util.rb (test_...
nobu (Nobuyoshi Nakada)
06:50 AM Feature #13179 (Feedback): Deep Hash Update Method
`dig` is not only for `Hash` but also for `Array`, `Struct`, and `OpenStruct`.
What objects would you expect as inte...
nobu (Nobuyoshi Nakada)
05:56 AM Revision c4770f1a (git): compile.c: restore catch entry sp
* compile.c (iseq_build_from_ary_exception): restore stack depth
of catch entries. accurate stack depths cannot be...
nobu (Nobuyoshi Nakada)
05:54 AM Bug #13181 (Closed): Unexpected line in rescue backtrace
~~~ ruby
def foo # 1
puts 'hello' # 2
raise 'x' # 3
puts 'goodbye' # 4
rescue ...
tsmith (Tim Smith)
05:45 AM Revision 4de49603 (git): compile.c: restore misc params
* compile.c (rb_iseq_build_from_ary): restore misc params.
accurate stack depths cannot be calculated from dumped a...
nobu (Nobuyoshi Nakada)
05:45 AM Revision 6bff3ce3 (git): compile.c: keyword table for required kwarg
* compile.c (iseq_build_kw): keyword table is necessary also when
required keyword argumetns only.
git-svn-id: svn...
nobu (Nobuyoshi Nakada)
05:43 AM Revision 57b6d603 (git): test_iseq_load.rb: refine test_require_integration
* test/-ext-/iseq_load/test_iseq_load.rb (test_require_integration):
assert with diff.
[ci skip]
git-svn-id: svn+...
nobu (Nobuyoshi Nakada)
01:34 AM Bug #13178: CGI.unescape change in behavior
It's an older bug than it.
```
$ ruby2.1 -rcgi -e 'CGI.accept_charset = "ISO-8859-15"; p CGI.unescape("foo").enco...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom