Project

General

Profile

Activity

From 12/19/2017 to 12/25/2017

12/25/2017

11:59 PM Revision de11e472 (git): prelude.c.tmpl: get rid of errors with old gcc
* template/prelude.c.tmpl: moved diagnostic pragmas outside
prelude_eval() for very old gcc. [ruby-core:84449] [Bu...
nobu (Nobuyoshi Nakada)
11:47 PM Bug #14233: syntax error caused by paren-less method call with kwargs and block
Does not work for me on 2.4.3:
syntax error, unexpected '{', expecting end-of-input
3.step by: 3, to: 9 {...
shevegen (Robert A. Heiler)
09:38 PM Bug #14233 (Rejected): syntax error caused by paren-less method call with kwargs and block
Example:
~~~ ruby
3.step by: 3, to: 9 {|i| p i}
~~~
Expected result (before 2.5.0):
~~~
3
6
9
~~~
A...
cremno (cremno phobia)
11:42 PM Misc #14222: Mutex.lock is not safe inside signal handler: what is?
[email protected] wrote:
> normalperson (Eric Wong) wrote:
> > In fact, it is never safe to
> > use locking such as ...
normalperson (Eric Wong)
10:41 PM Misc #14222: Mutex.lock is not safe inside signal handler: what is?
normalperson (Eric Wong) wrote:
> In fact, it is never safe to
> use locking such as `pthread_mutex_lock` inside a ...
kirs (Kir Shatrov)
11:40 PM Bug #14234 (Closed): Failed to build on CentOS 6.9
CentOS 6.9(gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18)) にてrbenv - ruby-buildを使ってRuby 2.5.0のビルドを試みると失敗します。
~~~ text...
miyohide (Hidenori Miyoshi)
11:36 PM Feature #2447 (Assigned): reduce GC pressure by symbol table without String instance
パッチ自体は適用不能だと思いますが、全シンボルに対応する文字列オブジェクトはいまでも作られているので、最適化の選択肢として残ってるという認識です。効果は減ってるかもしれませんが。
近いうちに検証したいと思っていたのでしばらく残し...
mame (Yusuke Endoh)
05:59 PM Feature #2447 (Rejected): reduce GC pressure by symbol table without String instance
これもうobsoleteですよね naruse (Yui NARUSE)
11:33 PM Revision fff3fd9a (git): * 2017-12-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:33 PM Revision 67fd0773 (git): test/ruby/test_process.rb: get rid of timing issue
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
11:31 PM Bug #14229: An exception in eval has strange message
phluid61 (Matthew Kerwin) wrote:
> shevegen (Robert A. Heiler) wrote:
> >
> > I get "undefined local variable or ...
mame (Yusuke Endoh)
10:14 PM Bug #14229: An exception in eval has strange message
shevegen (Robert A. Heiler) wrote:
>
> I get "undefined local variable or method `e' for main:Object"
> for a new...
phluid61 (Matthew Kerwin)
12:54 PM Bug #14229: An exception in eval has strange message
Is this only with miniruby?
I get "undefined local variable or method `e' for main:Object"
for a newly created "t...
shevegen (Robert A. Heiler)
08:24 AM Bug #14229 (Closed): An exception in eval has strange message
Is this intentional? If so, I'm curious what purpose it is for.
begin
eval("raise")
rescue
...
mame (Yusuke Endoh)
02:22 PM Revision 65d3461e (git): cont.c: fix comment to follow field name change
saved_thread was renamed to saved_ec in r59831 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61475 b2d...
k0kubun (Takashi Kokubun)
02:05 PM Revision 0af05099 (git): version.h (RUBY_VERSION): 2.6.0 development has started.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e matz (Yukihiro Matsumoto)
12:51 PM Feature #14230: Binding#source_location
I like introspection so I am usually in agreement with all ways
to inspect ruby's behaviour.
+1
I also agree t...
shevegen (Robert A. Heiler)
09:38 AM Feature #14230 (Closed): Binding#source_location
How about providing `Binding#source_location`?
b = binding
p binding.source_location #=> ["test.rb", 1]
...
mame (Yusuke Endoh)
12:41 PM Revision baa53f62 (git): hash.c: prime2
* hash.c (prime2): turned into a uint32_t prime, as the lower
32bits, non-prime part only was used always.
git-svn...
nobu (Nobuyoshi Nakada)
12:34 PM Bug #14232 (Closed): Unused refinement still breaks method search
Given the following t.rb:
```
module A
def foo
puts "A#foo"
super
end
end
class B
def foo
...
shugo (Shugo Maeda)
12:32 PM Bug #14231 (Closed): __uint128_t check in hash.c is broken, use
Applied in changeset trunk|r61471.
----------
Use UINT128_T support flag from configure
Current check for __uint128...
nobu (Nobuyoshi Nakada)
12:20 PM Bug #14231: __uint128_t check in hash.c is broken, use
Does this mean something is broken, or just performance improvement? nobu (Nobuyoshi Nakada)
11:26 AM Bug #14231: __uint128_t check in hash.c is broken, use
Looks like this version affects all ruby versions, though I tested only on 2.4.2 and trunk.
bircoph (Andrew Savchenko)
11:19 AM Bug #14231 (Closed): __uint128_t check in hash.c is broken, use
Current check for __uint128_t in hash.c is not valid, since it ignores
compilers other than gcc. We hit this on lcc ...
bircoph (Andrew Savchenko)
12:32 PM Revision ce52dfde (git): hash.c: use uint128_t
* hash.c (mult_and_mix): use uint128_t instead of __uint128_t.
[ruby-core:84438] [Bug #14231]
From: Nobuyoshi Naka...
nobu (Nobuyoshi Nakada)
12:32 PM Revision 8880af9a (git): Use UINT128_T support flag from configure
Current check for __uint128_t in hash.c is not valid, since it ignores
compilers other than gcc. We hit this on lcc o...
nobu (Nobuyoshi Nakada)
09:44 AM Bug #4352: [patch] Fix eval(s, b) backtrace; make eval(s, b) consistent with eval(s)
matz (Yukihiro Matsumoto) wrote:
> I agree with the rationale behind the proposal. I am slightly concerned about inc...
mame (Yusuke Endoh)
07:56 AM Revision 135f24c0 (git): Add ruby_2_5 branch to .travis.yml
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
07:55 AM Revision 72ac5986 (git): irb.rb: fix highlight
* lib/irb.rb (IRB::Irb#eval_input): fix highlight for multiple
lines exception messages.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
06:56 AM Revision 37af4b6d (git): v2.5.0p0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@61467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
06:51 AM Revision a1f9f76c (git): Release branch of Ruby 2.5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@61466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:54 AM Revision efee0c87 (git): fix leaked fds
* lib/rubygems/command.rb (Gem::Command#invoke_with_build_args):
restore UI and close the created SilentUI.
git-sv...
nobu (Nobuyoshi Nakada)
05:16 AM Revision 2c74fe11 (git): doc/contributing.rdoc: Update platform maintainers
* mswin32 and Symbian OS are no longer supported
* Mac OS X was renamed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
mame (Yusuke Endoh)
04:40 AM Revision d7c6776f (git): Disasm output contains code range.
* iseq.c (iseq_inspect): show also code range information.
Note that `iseq_inspect` is used only for header of disa...
ko1 (Koichi Sasada)
03:25 AM Revision 05d4ee86 (git): prelude.rb: block passing
* prelude.rb (Thread.exclusive): pass the block as a block
argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/t...
nobu (Nobuyoshi Nakada)
03:01 AM Revision 1ef15578 (git): NEWS: Fix typos [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:42 AM Revision d66f2d44 (git): prelude.c.tmpl: static literals
* template/prelude.c.tmpl (PRELUDE_STR): make string objects with
static literals not to copy them.
git-svn-id: sv...
nobu (Nobuyoshi Nakada)
02:09 AM Revision d9c76c5b (git): prelude.c.tmpl: fix optimization options
* template/prelude.c.tmpl (prelude_eval): fix optimization
options. trace_instruction member has been removed. fi...
nobu (Nobuyoshi Nakada)
01:42 AM Bug #14228 (Rejected): mswin build - ruby 2.5.0dev (2017-12-25 trunk 61451) [x64-mingw32] test-all failure
hsbt (Hiroshi SHIBATA)
01:39 AM Bug #14228: mswin build - ruby 2.5.0dev (2017-12-25 trunk 61451) [x64-mingw32] test-all failure
I just built `2.5.0dev (2017-12-25 trunk 61458) [x64-mswin64_140]` locally, and using `nmake` or `runner.rb`, `ruby/t... MSP-Greg (Greg L)
12:33 AM Revision 6c71bdbc (git): Added gemification entry to NEWS file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:27 AM Revision 360c0057 (git): Set first line numbers for empty iseqs.
* compile.c (iseq_compile_each): for empty method, block and so on,
`last_line` is not set so that line number of `...
ko1 (Koichi Sasada)

12/24/2017

08:07 PM Bug #13957: readline が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
ruby_2_4 r61456 merged revision(s) 60071. nagachika (Tomoyuki Chikanaga)
08:07 PM Bug #13955: NKF.nkf のオプション文字列が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
ruby_2_4 r61456 merged revision(s) 60071. nagachika (Tomoyuki Chikanaga)
08:07 PM Bug #13954: Etc.getpwnam, getgrnam が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
ruby_2_4 r61456 merged revision(s) 60071. nagachika (Tomoyuki Chikanaga)
08:06 PM Bug #13953: gdbm が SHARABLE_MIDDLE_SUBSTRING=1 を考慮していない
ruby_2_4 r61456 merged revision(s) 60071. nagachika (Tomoyuki Chikanaga)
08:06 PM Revision 76940d8a (git): merge revision(s) 60071: [Backport #13953] [Backport #13954] [Backport #13955] [Backport #13957]
ext: check if null byte is contained
[ruby-dev:50267] [Bug #13953]
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nagachika (Tomoyuki Chikanaga)
07:14 PM Bug #13952: String#succ not updating code range
ruby_2_4 r61455 merged revision(s) 60066. nagachika (Tomoyuki Chikanaga)
07:14 PM Revision 58d3ef77 (git): merge revision(s) 60066: [Backport #13952]
string.c: fix ASCII-only on succ
* string.c (str_succ): clear coderange cache when no alpha-numeric
...
nagachika (Tomoyuki Chikanaga)
07:09 PM Bug #14228 (Rejected): mswin build - ruby 2.5.0dev (2017-12-25 trunk 61451) [x64-mingw32] test-all failure
ruby-loco (MinGW) is passing. Since I'm test focused, I can generate a log of test-all failures and errors while par... MSP-Greg (Greg L)
06:59 PM Bug #13949: String#unpack with 'M' directive can create strings with wrong code range
ruby_2_4 r61454 merged revision(s) 60059. nagachika (Tomoyuki Chikanaga)
06:59 PM Revision 8916f020 (git): merge revision(s) 60059: [Backport #13949]
pack.c: unpack "M" may be ASCII only
* pack.c (pack_unpack_internal): set ASCII only properly on "M",
...
nagachika (Tomoyuki Chikanaga)
06:46 PM Bug #13950: String#tr incorrectly marks strings as CR_7BIT
ruby_2_4 r61453 merged revision(s) 60060. nagachika (Tomoyuki Chikanaga)
06:46 PM Revision ac604686 (git): merge revision(s) 60060: [Backport #13950]
string.c: ASCII-incompatible is not ASCII only
* string.c (tr_trans): ASCII-incompatible encoding strings ca...
nagachika (Tomoyuki Chikanaga)
05:55 PM Revision 7361587f (git): NEWS: use of copy_file_range(2) isn't a new method
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
05:20 PM Revision 6ea6e972 (git): NEWS: move the section to note ERB performance
I heard that notable performance improvements should be written to
"Implementation Improvements". So I put the senten...
k0kubun (Takashi Kokubun)
05:07 PM Revision cbac40b3 (git): Remove "trace_instruction" compile option.
* iseq.h (rb_compile_option_struct): trace instruction is removed so that
remove the trace_instruction compile opti...
ko1 (Koichi Sasada)
04:43 PM Revision 973e39a3 (git): * 2017-12-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:43 PM Revision 6915ffc9 (git): NEWS: note about ERB's rendering performance
improvement.
There is no specific ticket for it, but improving the ERB's performance
was my largest passion that mad...
k0kubun (Takashi Kokubun)
03:09 PM Feature #8661: Add option to print backtrace in reverse order (stack frames first and error last)
Although I am not a Ruby committer, IMHO, I do not think the current implementation
is the best way to fully address...
aeroastro (Takumasa Ochi)
02:52 PM Revision 65850432 (git): NEWS: Add a brief explanation for branch and method coverage
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
10:12 AM Revision 874da405 (git): fix grammatical mistake [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:45 AM Revision 5461fa37 (git): NEWS: updates for WEBrick [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
08:40 AM Revision acdbb5c0 (git): NEWS: fix typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
08:38 AM Revision 7d10b978 (git): webrick 1.4.2
This release removes uses of Kernel#open to avoid unintended
behaviors and make future auditing easier. [Misc #14216]...
Eric Wong
06:24 AM Revision 1b0b42db (git): NEWS: update for bigdecimal 1.3.4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Kenta Murata
06:22 AM Revision ea68278f (git): bigdecimal: version 1.3.4
Import bigdecimal version 1.3.4. The full commit log is here:
https://github.com/ruby/bigdecimal/compare/v1.3.3.....
Kenta Murata
03:01 AM Bug #13945: Backport r60024
ruby_2_4 r61440 merged revision(s) 60024. nagachika (Tomoyuki Chikanaga)
03:01 AM Revision 04aa6a81 (git): merge revision(s) 60024: [Backport #13945]
vm.c: fetch retval iff necessary
* vm.c (rb_vm_make_jump_tag_but_local_jump): get rid of fetching
...
nagachika (Tomoyuki Chikanaga)
02:45 AM Bug #13964: [BUG] Stack consistency error
ruby_2_4 r61439 merged revision(s) 60099,60100. nagachika (Tomoyuki Chikanaga)
02:45 AM Revision 1a3bca1d (git): merge revision(s) 60099,60100: [Backport #13964]
compile.c: fix stack consitency error
* compile.c (iseq_compile_each0): fix stack consitency error on
...
nagachika (Tomoyuki Chikanaga)
02:41 AM Revision 9f68d0f5 (git): [DOC] Improve example of IO#pread [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:38 AM Revision 2e5cf0b7 (git): compile.c: toplevel return arguments
* compile.c (compile_return): evaluate arguments to top-level
return but ignore the results.
git-svn-id: svn+ssh:/...
nobu (Nobuyoshi Nakada)
02:29 AM Bug #13776: Refined methods ignore visibility of inherited methods
ruby_2_4 r61436 merged revision(s) 59444,59445. nagachika (Tomoyuki Chikanaga)
02:29 AM Revision db22ab15 (git): merge revision(s) 59444,59445: [Backport #13776]
adjust indent [ci skip]
* vm_insnhelper.c (vm_call_method_each_type): adjust indent of a
block in ...
nagachika (Tomoyuki Chikanaga)
02:26 AM Revision c03c03cc (git): lib/irb.rb: highlight exceptions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:06 AM Bug #12684: Delegator#eql? missing
I think this is a spec change because of existence of the test in rubyspec about this behavior.
I will change WONTFI...
nagachika (Tomoyuki Chikanaga)
01:52 AM Revision 43e64b85 (git): lib/irb.rb: simplified backtrace filtering
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:26 AM Revision 13247fa4 (git): [DOC] Use File.open with block instead of File.new without close [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)

12/23/2017

11:33 PM Revision 9fe26ef8 (git): Merge rdoc-6.0.1.
It fixes an installation error of activerecord.
https://github.com/ruby/rdoc/issues/571
git-svn-id: svn+ssh://ci....
hsbt (Hiroshi SHIBATA)
11:20 PM Bug #13754: bigdecimal with lower precision that Float
https://github.com/ruby/bigdecimal/issues/94 mrkn (Kenta Murata)
10:51 PM Bug #14227: [PATCH] tool/rbinstall.rb: allow owner to have write permissions
[email protected] wrote:
> Denying ownership permissions to the owner seems bogus.

s/ownership/write/ :x
normalperson (Eric Wong)
10:42 PM Bug #14227 (Closed): [PATCH] tool/rbinstall.rb: allow owner to have write permissions
```
Denying write permissions to the owner seems bogus.
Oddly, this problem only manifests in the "ruby_2_4" bran...
normalperson (Eric Wong)
06:17 PM Revision daaebaec (git): Print backtrace in reverse order on IRB too
[Feature #8861]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
sorah (Sorah Fukumori)
04:18 PM Bug #14221 (Closed): Fix ruby.h behaviour in old compilers: __builtin_choose_expr is different before 4.8.5
Applied in changeset trunk|r61429.
----------
undef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P on GCC 4.8
GCC 4....
naruse (Yui NARUSE)
04:17 PM Revision 953385c6 (git): * 2017-12-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
04:17 PM Revision 98bddfef (git): undef HAVE_BUILTIN___BUILTIN_CHOOSE_EXPR_CONSTANT_P on GCC 4.8
GCC 4.8 with optimization causes error if it compiles following code.
[Bug #14221]
```c
__builtin_choose_expr(__buil...
naruse (Yui NARUSE)
02:48 PM Revision 0c8e6ae0 (git): fix last commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
02:46 PM Revision 3044138b (git): RubyVM::InstructionSequence#trace_points.
* iseq.c (iseqw_trace_points): add `RubyVM::InstructionSequence#trace_points`
method for tools which want to manipu...
ko1 (Koichi Sasada)
02:31 PM Revision ac40fc99 (git): test_io_console.rb: get rid of sporadic failures
* test/io/console/test_io_console.rb (test_getpass): try to get
rid of timing issues.
* test/io/console/test_io_co...
nobu (Nobuyoshi Nakada)
12:48 PM Revision eb8c2773 (git): RubyVM::InstructionSequence#each_child.
* iseq.c (iseqw_each_child): add RubyVM::InstructionSequence#each_child
method for tools which want to manipulate I...
ko1 (Koichi Sasada)
12:00 PM Bug #14226: Revert line number of "return", "b-return" and "end" events
I take the chance to ask here about something I have been thinking for a very long time.
Doesn’t it make sense to ha...
dsferreira (Daniel Ferreira)
10:57 AM Bug #14226: Revert line number of "return", "b-return" and "end" events
Modify title.
Not "c-return" but "end" (end of class/module statements) event.
ko1 (Koichi Sasada)
10:53 AM Bug #14226 (Closed): Revert line number of "return", "b-return" and "end" events
[Feature #14104] changes line numbers of several events,
> Line numbers on :return/:b_return events show the last ...
ko1 (Koichi Sasada)
11:04 AM Bug #14023 (Rejected): SyntaxError on array argument and block
naruse (Yui NARUSE)
11:00 AM Revision 919fa894 (git): revert line number spec of *return events.
* compile.c (rb_iseq_compile_node): line number spec of :return, :b_return
and :end events of 'TracePoint` is chang...
ko1 (Koichi Sasada)
09:10 AM Revision 1942e925 (git): iseq.c: show first_lineno on iseq inspect
My motivation was to improve the output of `ruby --dump=insns xxx.rb`.
When one file has many iseqs, it's hard to fin...
k0kubun (Takashi Kokubun)
08:08 AM Misc #14222: Mutex.lock is not safe inside signal handler: what is?
[email protected] wrote:
> `Thread.handle_interrupt` doesn't work.

Oops, the main thread may already have a Mut...
normalperson (Eric Wong)
07:43 AM Misc #14222: Mutex.lock is not safe inside signal handler: what is?
`Thread.handle_interrupt` doesn't work.
You can use `Queue` inside trap context.
```ruby
require 'logger'
L...
nobu (Nobuyoshi Nakada)
01:08 AM Misc #14222: Mutex.lock is not safe inside signal handler: what is?
[email protected] wrote:
> As mentioned in #7917, Mutex.lock is not safe inside signal
> handler. As mentioned in...
normalperson (Eric Wong)
06:08 AM Bug #14220: WEBrick changes - failures on MSWIN, MinGW
Eric Wong <[email protected]> wrote:
> [email protected] wrote:
> > Windows is kind of crashing & burning wi...
normalperson (Eric Wong)
05:07 AM Feature #14224 (Rejected): Boolean class
This was already discussed and rejected in #12515. jeremyevans0 (Jeremy Evans)
02:08 AM Feature #14225 (Closed): untaint hash key strings
Since we are working on deprecating and removing $SAFE for [Feature #5455],
I propose untainting all string keys use...
normalperson (Eric Wong)
01:53 AM Revision a747834a (git): iseq.c: Remove unused macro in r61395
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:12 AM Bug #7917: Can't write to a Logger in a signal handler
[email protected] wrote:
> What IS the recommended way to fix this if Mutex nor Thread
> are safe in signal handler...
normalperson (Eric Wong)
12:55 AM Revision 2a723132 (git): iseq.c: local variable names
* iseq.c (rb_insn_operand_intern): simplified the condition for
local variable names, assume TS_LINDEX and TS_NUM c...
nobu (Nobuyoshi Nakada)
12:51 AM Revision e3f46b1d (git): insns.def: adjust type
* insns.def (checkkeyword): adjust argument type to
vm_check_keyword as lindex_t.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
12:38 AM Revision a1799f1f (git): Avoid to warnings about gemspec loadings in rubygems tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
12:35 AM Feature #12733 (Assigned): Bundle bundler to ruby core
I postpone merging bundler to stdlib.
I reverted this feature ar r61416
hsbt (Hiroshi SHIBATA)
12:30 AM Revision d783148c (git): * 2017-12-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:30 AM Revision 1e85e42b (git): fix unicode data directory
* test/ruby/enc/test_regex_casefold.rb: fix searching unicode data
directory, like as test_case_comprehensive.rb.
...
nobu (Nobuyoshi Nakada)

12/22/2017

11:08 PM Revision 7825e836 (git): Postponing the Bundler merge.
I faced a big issue about Bundler with ruby core.
I have no time to resolve it issue before 2.5 final release.
git...
hsbt (Hiroshi SHIBATA)
07:10 PM Feature #14224 (Rejected): Boolean class
Suggestion: TrueClass and FalseClass inheriting from Boolean (new superclass).
This would make true/false checking...
sobrinho (Gabriel Sobrinho)
05:07 PM Feature #14217: Expose RUBY_PATCHLEVEL_STR or similar with patch level info for rc/preview as a constant
Agreed that it may appear as long. I chose this as a proposal, because it was already defined and was simpler to expo... shayonj (Shayon Mukherjee)
12:07 PM Feature #14217: Expose RUBY_PATCHLEVEL_STR or similar with patch level info for rc/preview as a constant
I can't say whether the name that you haved picked for the constant is good or bad - it seems a
bit long. But I agre...
shevegen (Robert A. Heiler)
12:51 AM Feature #14217: Expose RUBY_PATCHLEVEL_STR or similar with patch level info for rc/preview as a constant
I am happy to a patch/create a Github PR, if this sounds like a good option. shayonj (Shayon Mukherjee)
12:46 AM Feature #14217 (Closed): Expose RUBY_PATCHLEVEL_STR or similar with patch level info for rc/preview as a constant
## Problem
When ruby is in release candidate or preview, `RUBY_PATCHLEVEL` is `-1`. Without parsing `RUBY_DESCRIPTIO...
shayonj (Shayon Mukherjee)
04:46 PM Feature #14223 (Closed): Refinements で定義した #to_proc が &hoge 時に呼ばれないのを緩和する提案
Refinements に関する提案です。
現行の仕様では Refinements で定義された `#to_proc` は `&hoge` 時に暗黙的に呼びだされません。
```ruby
using Module.n...
osyo (manga osyo)
02:03 PM Bug #14207: Failed to build 2.5.0-rc1 on CircleCI
ありがとうございます。
CircleCIのDocker上で最新の trunk をビルドできることと、
2.5.0-rc1 に r61412 のパッチを当てる方法でもビルドできることを確認しました。
minimum2scp (Tsuyoshi YAMADA)
08:52 AM Bug #14207: Failed to build 2.5.0-rc1 on CircleCI
バグレポートありがとうございます。
copy_file_range(2)でerrnoがEPERMだった場合は、sendfile(2)またはread/writeにフォールバックする実装にしました。
これで修正できているかと思います。
Glass_saga (Masaki Matsushita)
08:47 AM Bug #14207 (Closed): Failed to build 2.5.0-rc1 on CircleCI
Applied in changeset trunk|r61412.
----------
io.c: ignore EPERM
* io.c (nogvl_copy_file_range): ignore EPERM and f...
Anonymous
08:25 AM Bug #14207 (Assigned): Failed to build 2.5.0-rc1 on CircleCI
Glass_saga (Masaki Matsushita)
01:11 PM Misc #14222: Mutex.lock is not safe inside signal handler: what is?
Few more questions: is adding key to hash safe? Pushing variable to array as used in http://www.mikeperham.com/2013/0... hkmaly (Honza Maly)
01:00 PM Misc #14222 (Closed): Mutex.lock is not safe inside signal handler: what is?
As mentioned in #7917, Mutex.lock is not safe inside signal handler. As mentioned in #6416, neither is Thread.join. B... hkmaly (Honza Maly)
01:05 PM Bug #7917: Can't write to a Logger in a signal handler
What IS the recommended way to fix this if Mutex nor Thread are safe in signal handler? Also created question for wha... hkmaly (Honza Maly)
12:39 PM Revision 73bed031 (git): update unicode data files directory
* test/ruby/enc/test_case_comprehensive.rb: search ucd directory
first if exists.
* test/ruby/enc/test_regex_casef...
nobu (Nobuyoshi Nakada)
11:43 AM Bug #13305: Occasional segfaults after defining methods while running coverage
ruby_2_4 r61414 merged revision(s) 57971. nagachika (Tomoyuki Chikanaga)
11:43 AM Revision 6f1dc851 (git): merge revision(s) 57971: [Backport #13305]
Fix a consistency bug of ISEQ_COVERAGE [Bug #13305]
There is an invariant that ISEQ_COVERAGE(iseq) must be Q...
nagachika (Tomoyuki Chikanaga)
10:42 AM Bug #14221 (Closed): Fix ruby.h behaviour in old compilers: __builtin_choose_expr is different before 4.8.5
Link to GH PR: https://github.com/ruby/ruby/pull/1778
When trying to install some native gems in a ruby-25-rc1 com...
silviofdez (Silvio Fernandez)
08:52 AM Bug #14218 (Closed): Addition of negative Object#hash values can overflow
Applied in changeset trunk|r61413.
----------
force hash values fixable
* include/ruby/ruby.h (RB_ST2FIX): force fi...
usa (Usaku NAKAMURA)
08:24 AM Bug #14218 (Assigned): Addition of negative Object#hash values can overflow
usa (Usaku NAKAMURA)
01:11 AM Bug #14218 (Closed): Addition of negative Object#hash values can overflow
Script to reproduce:
~~~ ruby
p 1_000_000.times.count{a=Object.new.hash; b=Object.new.hash; a < 0 && b < 0 && a +...
honnza (John Dvořák)
08:52 AM Revision 52220154 (git): force hash values fixable
* include/ruby/ruby.h (RB_ST2FIX): force fixable on LLP64 environment.
* hash.c (any_hash): ditto.
[ruby-core:8439...
U.Nakamura
08:47 AM Revision 072ed558 (git): io.c: ignore EPERM
* io.c (nogvl_copy_file_range): ignore EPERM and fallback to
sendfile(2) or read/write. copy_file_range(2) may not ...
Glass_saga (Masaki Matsushita)
08:08 AM Bug #14215 (Closed): result_with_hash change local variable by hash value.
Applied in changeset trunk|r61411.
----------
erb.rb: shadow by keys
* lib/erb.rb (ERB#new_toplevel): shadow alread...
nobu (Nobuyoshi Nakada)
08:08 AM Revision 161f4a51 (git): erb.rb: shadow by keys
* lib/erb.rb (ERB#new_toplevel): shadow already defined local
variables by block local variabes, not to overwrite t...
nobu (Nobuyoshi Nakada)
08:00 AM Revision 84e46275 (git): Bump up fileutils-1.0.2
Added `FileUtils::VERSION` const variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61410 b2dd03c8-39d4-4d8...
hsbt (Hiroshi SHIBATA)
06:12 AM Bug #14220: WEBrick changes - failures on MSWIN, MinGW
[email protected] wrote:
> Eric,
>
> > Hopefully this isn't controversial
>
> What? If someone thinks it i...
normalperson (Eric Wong)
05:59 AM Bug #14220 (Closed): WEBrick changes - failures on MSWIN, MinGW
Applied in changeset trunk|r61409.
----------
webrick/httpservelet/cgi_runner: avoid IO#reopen on pathname
IO#reope...
Anonymous
05:28 AM Bug #14220 (Closed): WEBrick changes - failures on MSWIN, MinGW
@normalperson
Eric,
> Hopefully this isn't controversial
What? If someone thinks it is, maybe they can volu...
MSP-Greg (Greg L)
05:59 AM Revision 0d92f156 (git): webrick/httpservelet/cgi_runner: avoid IO#reopen on pathname
IO#reopen seems to behave strangely on Win32 based on the logs
posted by Greg for [Bug #14420]. Lets try to fix the ...
Eric Wong
05:15 AM Revision 14d44c89 (git): fix a test for debugging.
* test/rdoc/test_rdoc_markup_pre_process.rb: show
`RDoc::Markup::PreProcess.post_processors` as a failure message
...
ko1 (Koichi Sasada)
03:51 AM Bug #14219: package size of Ruby 2.5 is larger than 2.4
[email protected] wrote:
> Bug #14219: package size of Ruby 2.5 is larger than 2.4
> https://bugs.ruby-lang.org/i...
normalperson (Eric Wong)
03:19 AM Bug #14219 (Rejected): package size of Ruby 2.5 is larger than 2.4
A package of Ruby 2.5 was increased file size (about 15MB) from Ruby 2.4.
* ruby-2.4.3.tar.xz: 9.6M
* ruby-2.5.0-...
hsbt (Hiroshi SHIBATA)
03:35 AM Revision 6265a1a7 (git): [DOC] StringIO#write accepts multiple arguments since r60377 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:35 AM Revision 82796995 (git): [DOC] Fix indent [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
03:35 AM Revision 71749e26 (git): [DOC] Remove unmatched parenthesis [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
01:49 AM Revision 70001d5f (git): ifaddr.c: get_ifaddrs
* ext/socket/ifaddr.c (get_ifaddrs): extract ifaddrs from
Socket::Ifaddr.
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
nobu (Nobuyoshi Nakada)
01:12 AM Revision 6e0074d0 (git): iseq.c (rb_insn_operand_intern): needs parenthesies
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:08 AM Revision f2aa7f40 (git): webrick/httputils: note Kernel#open behavior
I don't know who uses the load_mime_types method; but it is
conceivable that a user would want to read the results of...
Eric Wong
01:08 AM Revision 1ad355bd (git): webrick/httpservlet/*handler: use File.open
This makes future code audits easier. None of these changes
fix realistic remote code execution vulnerabilities beca...
Eric Wong
01:07 AM Revision 1989371d (git): webrick: WEBrick::Log requires path arg when given string
Allowing a user to specify "| command" via Kernel#open is
nonsensical since we never read from the resultant IO.
* l...
Eric Wong
01:07 AM Revision 1895a488 (git): webrick: add test for WEBrick::HTTPServlet::ERBHandler
This previously had no coverage.
* test/webrick/test_filehandler.rb (test_erbhandler): new test
* test/webrick/webri...
Eric Wong
01:07 AM Revision 646b83af (git): webrick/httpservlet/cgi_runner.rb: remove unnecessary open
IO#reopen already takes string path names as well as IO objects
(but not "| command" strings)
This makes further aud...
Eric Wong
01:07 AM Misc #14216 (Closed): webrick: audit and fix Kernel#open misuse
Applied in changeset trunk|r61397.
----------
webrick: httpauth requires regular files
Be sure we do not try to ope...
Anonymous
01:07 AM Revision edddc28f (git): webrick: httpauth requires regular files
Be sure we do not try to open a pipe to read from, since we care
about mtime in all cases.
* lib/webrick/httpauth/ht...
Eric Wong
01:03 AM Revision e2479cc4 (git): encoding.c: rb_enc_find_index2
* string.c (str_undump): use rb_enc_find_index2 to find encoding
by unterminated string. check the format before e...
nobu (Nobuyoshi Nakada)
12:29 AM Revision b4dc51ce (git): iseq.c: defined insn operand
* iseq.c (rb_insn_operand_intern): improve operands of defined
instruction.
git-svn-id: svn+ssh://ci.ruby-lang.org...
nobu (Nobuyoshi Nakada)

12/21/2017

11:28 PM Revision 93dcc40b (git): * 2017-12-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:28 PM Revision c5520076 (git): Extend timeout for CI.
http://ci.rvm.jp/results/trunk-asserts-nopara@ruby-sky1/266962
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@613...
shugo (Shugo Maeda)
02:15 PM Revision bf287424 (git): open-uri defines URI.open defined as an alias.
open-uri's Kernel.open will be deprecated in future.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61392 b2dd0...
akr (Akira Tanaka)
12:05 PM Misc #14216: webrick: audit and fix Kernel#open misuse
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/14216

I don't think there's actual bugs in webr...
normalperson (Eric Wong)
11:54 AM Misc #14216 (Closed): webrick: audit and fix Kernel#open misuse
Based on [Bug #14205] (resolv) and [Bug #14212] (logger),
webrick also needs to be checked for Kernel#open misuse.
normalperson (Eric Wong)
11:59 AM Revision 7a54b5b4 (git): test for [Bug #14214]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
10:55 AM Bug #14215 (Closed): result_with_hash change local variable by hash value.
When there is a local variable with the same name as the hash key,
ERB#result_with_hash changes the local variable b...
ota42y (ota ota)
09:43 AM Bug #14213: cross build fails
Thank you @nobu ! larskanis (Lars Kanis)
07:50 AM Bug #14213 (Closed): cross build fails
Applied in changeset trunk|r61385.
----------
common.mk: revert r58542 [Bug #14213]
nobu (Nobuyoshi Nakada)
06:58 AM Bug #14213 (Closed): cross build fails
For [rake-compiler-dock](https://github.com/rake-compiler/rake-compilder-dock) Ruby is built per cross compiler for L... larskanis (Lars Kanis)
09:29 AM Revision 72230626 (git): Added detailed version of Bundler on NEWS.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
09:29 AM Revision 82d63fca (git): Simplify Thread#[]= spec
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
09:22 AM Revision 4525cf2c (git): Merge release version of bundler-1.16.1 from upstream.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:30 AM Bug #14214 (Closed): The direction of branch instruction is broken when block argument is used.
Applied in changeset trunk|r61387.
----------
revert r61371 for [Bug #14214]
Reverted patch doesn't check overwritt...
ko1 (Koichi Sasada)
08:12 AM Bug #14214 (Closed): The direction of branch instruction is broken when block argument is used.
The result of this code is changed
```ruby
def a(&block)
block = 1
p block
p 2 if block
end
a()
```...
yui-knk (Kaneko Yuichiro)
08:29 AM Revision 85277d5b (git): revert r61371 for [Bug #14214]
Reverted patch doesn't check overwritten value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61387 b2dd03c8-39...
ko1 (Koichi Sasada)
07:59 AM Revision 168c0199 (git): string.c: fix memory leak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:50 AM Revision c3642529 (git): common.mk: revert r58542 [Bug #14213]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
07:27 AM Feature #12318 (Closed): Returning the evaluated value of a block
avit (Andrew Vit) wrote:
> This is now implemented as `yield_self`
>
> Close please?
Yes. Closing.
shyouhei (Shyouhei Urabe)
06:15 AM Feature #12318: Returning the evaluated value of a block
This is now implemented as `yield_self`
Close please?
avit (Andrew Vit)
07:09 AM Revision 69ae0f0f (git): iseq.c (rb_iseq_code_range): Remove needless `;`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e yui-knk (Kaneko Yuichiro)
06:52 AM Revision c2f10299 (git): parse.y: change NODE_SCOPE's nd_loc to one of the parent NODE
This change (ad-hocly) adjusts the code range of NODE_SCOPE in
class/module definition because the same adjust is alr...
mame (Yusuke Endoh)
06:40 AM Revision e9a184ed (git): add experimental API.
* iseq.c (rb_iseq_code_range): added to access iseq's code range.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk...
ko1 (Koichi Sasada)
05:09 AM Revision 05d1d29d (git): Don't allow mixed escape
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:09 AM Revision 188d8593 (git): move dump format validation into parsing epilogue
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:08 AM Revision 29c6ca42 (git): fix escapes in undump
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:07 AM Bug #14212 (Closed): Logger uses Kernel.#open to open a file, so it can open something more than files
Applied in changeset trunk|r61378.
----------
* lib/logger.rb (Logger::LogDevice#open_logfile, #create_logfile):
L...
sonots (Naotoshi Seo)
04:36 AM Bug #14212 (Closed): Logger uses Kernel.#open to open a file, so it can open something more than files
It is not intended behavior. sonots (Naotoshi Seo)
05:07 AM Revision 7176eb2d (git): * lib/logger.rb (Logger::LogDevice#open_logfile, #create_logfile):
Logger should be able to open only files [Bug #14212]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61378 b2dd03...
sonots (Naotoshi Seo)
01:26 AM Misc #14211 (Closed): maintain etc, fcntl, and zlib
I use all of these and am more than willing to maintain them
from ruby-core mailing list <=> https://bugs.ruby-lang....
normalperson (Eric Wong)
01:16 AM Misc #14210 (Rejected): maintain net/protocol, net/smtp, tempfile, tmpdir
I use all of these and would be willing to maintain them if
nobody else steps up.
I can probably maintain net/pop...
normalperson (Eric Wong)
01:11 AM Bug #14209 (Rejected): 61351 - Fixup for test-all resolv failures on mswin & MinGW
hsbt (Hiroshi SHIBATA)
12:40 AM Revision 2c075d38 (git): Fix `imemo_name` to dump new imemo types
New IMEMO types were introduced, this just fixes the function that
converts the type to support the new types.
git-s...
tenderlovemaking (Aaron Patterson)
12:26 AM Bug #14195 (Closed): [PATCH] IO#pwrite uses tmp buffer to avoid parallel modification
Applied in changeset trunk|r61376.
----------
io.c: IO#pwrite uses tmp buffer to avoid parallel modification
Since ...
Anonymous
12:26 AM Revision 3b174fb7 (git): io.c: IO#pwrite uses tmp buffer to avoid parallel modification
Since we release GVL, we must freeze and duplicate the string buffer
to prevent other threads from modifying our buff...
Eric Wong

12/20/2017

11:49 PM Revision b895c402 (git): fix threading bug.
* spec/ruby/core/thread/element_set_spec.rb: `t` can be uninitialized.
Use `Thread.current` explicitly.
git-svn-i...
ko1 (Koichi Sasada)
11:42 PM Bug #13305: Occasional segfaults after defining methods while running coverage
Can this fix be backported to the Ruby 2.4 release series? 2.4.3 is still affected by this crash. nelhage (Nelson Elhage)
11:33 PM Bug #13493: `make realclean` removes aclocal.m4 and enc/jis/props.h
r58439 is needed. nobu (Nobuyoshi Nakada)
02:35 PM Bug #13493: `make realclean` removes aclocal.m4 and enc/jis/props.h
I'm sorry I added r58440 as related revision to this ticket, but it may be a mistake.
Anyway, after backporting r5...
nagachika (Tomoyuki Chikanaga)
09:29 PM Feature #14197: `Enumerable#{select,reject}` accept a pattern argument
I think this suggestion looks ok, unless I may have missed something.
The main difference Kazuhiro is suggesting, ...
shevegen (Robert A. Heiler)
06:10 PM Bug #14193: --enable-frozen-string-literal and rubygems, erb, & rdoc
aycabta (aycabta .) wrote:
> Then, lib/rdoc/rd/block_parser.rb and lib/rdoc/rd/inline_parser.rb are generated from *...
MSP-Greg (Greg L)
05:09 PM Bug #14193: --enable-frozen-string-literal and rubygems, erb, & rdoc
k0kubun (Takashi Kokubun) wrote:
> I believe RDoc upstream is https://github.com/ruby/rdoc and it's just copied from...
aycabta (aycabta .)
01:20 PM Bug #14193: --enable-frozen-string-literal and rubygems, erb, & rdoc
znz (Kazuhiro NISHIYAMA) wrote:
> I think `''.dup` is better than `String.new` in most cases. Because `String.new.en...
MSP-Greg (Greg L)
01:00 PM Bug #14193: --enable-frozen-string-literal and rubygems, erb, & rdoc
I think `''.dup` is better than `String.new` in most cases. Because `String.new.encoding` is ASCII-8BIT, so it may be... znz (Kazuhiro NISHIYAMA)
05:35 PM Feature #8257: Exception#cause to carry originating exception along with new one
ko1 (Koichi Sasada) wrote:
> What happen on exception from deep backtrace, occurred by other more
> deeper except...
Eregon (Benoit Daloze)
04:11 PM Bug #14209: 61351 - Fixup for test-all resolv failures on mswin & MinGW
Fixed by @usa in 61374, thank you, Greg
Please close...
MSP-Greg (Greg L)
01:55 PM Bug #14209 (Rejected): 61351 - Fixup for test-all resolv failures on mswin & MinGW
See attached. I assume that Errno::EINVAL is acceptable as an error, along with Errno::ENOENT...
Thanks, Greg
MSP-Greg (Greg L)
04:04 PM Revision 098c8d54 (git): fix test errors on Windows
* test/resolv/test_addr.rb (test_hosts_by_command): on Windows, `|` is
invalid charactor for path and raise...
U.Nakamura
03:59 PM Bug #13926: Non UTF response headers raise an Argument error since 2.4.2p198
ruby_2_4 r61373 merged revision(s) 60021. nagachika (Tomoyuki Chikanaga)
03:59 PM Revision d2b5c16e (git): merge revision(s) 60021: [Backport #13926]
HTTPHeader#add_field should allow binary [Bug #13926]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@...
nagachika (Tomoyuki Chikanaga)
03:45 PM Revision ac6db01f (git): * 2017-12-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:45 PM Revision a94ede7a (git): compile.c: branch on block param
* compile.c (compile_branch_condition): replace block param value
in branch conditions with `defined(yield)`, to ge...
nobu (Nobuyoshi Nakada)
03:34 PM Bug #13487: Update ri man page (and others)
ruby_2_4 r61370 merged revision(s) 58410,58411. nagachika (Tomoyuki Chikanaga)
03:34 PM Revision 888f1f24 (git): merge revision(s) 58410,58411: [Backport #13487]
ri.1: rewrite ri man page
* man/ri.1: update the (very outdated) ri man page:
* update document da...
nagachika (Tomoyuki Chikanaga)
03:31 PM Bug #13649: Net::IMAP doesn't support response from a Microsoft Exchange server (which is not compliant with RFC standards)
ruby_2_4 r61369 merged revision(s) 59372. nagachika (Tomoyuki Chikanaga)
03:31 PM Revision b9b7cf6d (git): merge revision(s) 59372: [Backport #13649]
lib/net/imap.rb: Ignore trailing space for Microsoft Exchange Server
Based on the patch by keysen (Jeremy Ca...
nagachika (Tomoyuki Chikanaga)
03:22 PM Bug #13386: Improve Process::CLOCK_* RDoc
ruby_2_4 r61368 merged revision(s) 58208. nagachika (Tomoyuki Chikanaga)
03:21 PM Revision 3fa52656 (git): merge revision(s) 58208: [Backport #13386]
Add documents on Process::CLOCK_* constants
* process.c: Add documents on Process::CLOCK_* constants.
...
nagachika (Tomoyuki Chikanaga)
03:20 PM Bug #13276: Dir.glob returns empty array when OS has no more file handles (expected exception)
ruby_2_4 r61367 merged revision(s) 58146,58150,58156. nagachika (Tomoyuki Chikanaga)
03:20 PM Revision b20e9ebe (git): merge revision(s) 58146,58150,58156: [Backport #13276]
error.c: refactor warning messages
* error.c (with_warning_string): extract building warning message
...
nagachika (Tomoyuki Chikanaga)
02:59 PM Bug #10838: ri's man page and options are wrong
ruby_2_4 r61366 merged revision(s) 58409. nagachika (Tomoyuki Chikanaga)
02:58 PM Revision 83b2ba3c (git): merge revision(s) 58409: [Backport #10838]
ri.1: fix errors in ri man page
* man/ri.1: fix some errors in ri man page (add missing options,
r...
nagachika (Tomoyuki Chikanaga)
02:57 PM Bug #10936: Error in Rubydoc for DateTime#rfc3339
ruby_2_4 r61365 merged revision(s) 58020. nagachika (Tomoyuki Chikanaga)
02:57 PM Revision 4a494a0b (git): merge revision(s) 58020: [Backport #10936]
date_core.c: fix error in DateTime docs
* ext/date/date_core.c: [DOC] fix format string for DateTime#rfc3339...
nagachika (Tomoyuki Chikanaga)
02:56 PM Bug #13159: [DOC] Revise documentation for OpenStruct
ruby_2_4 r61364 merged revision(s) 57887. nagachika (Tomoyuki Chikanaga)
02:56 PM Revision 82f0265c (git): merge revision(s) 57887: [Backport #13159]
lib/ostruct.rb: [DOC] revise docs for OpenStruct
* update paragraph on implementation:
define_sing...
nagachika (Tomoyuki Chikanaga)
02:55 PM Bug #13233: [DOC] Fix rdoc for Rational
ruby_2_4 r61363 merged revision(s) 57686. nagachika (Tomoyuki Chikanaga)
02:55 PM Revision 36490953 (git): merge revision(s) 57686: [Backport #13233]
rational.c: fix rdoc
* rational.c: [DOC] fix wrong indentations and comment out some lines
in code...
nagachika (Tomoyuki Chikanaga)
02:55 PM Bug #13192: [DOC] Add example for Symbol#to_s
ruby_2_4 r61362 merged revision(s) 57536. nagachika (Tomoyuki Chikanaga)
02:54 PM Revision fb5f4573 (git): merge revision(s) 57536: [Backport #13192]
doc: Add example for Symbol#to_s
* string.c: add example for Symbol#to_s.
The docs for Symbol#to_s ...
nagachika (Tomoyuki Chikanaga)
02:54 PM Bug #13222: Array#sum inconsistency when init value is non-numeric
ruby_2_4 r61361 merged revision(s) 57649,57651. nagachika (Tomoyuki Chikanaga)
02:53 PM Revision d77b1756 (git): merge revision(s) 57649,57651: [Backport #13222]
array.c: finish_exact_sum
* array.c (finish_exact_sum): extract duplicate code from
rb_ary_sum.
...
nagachika (Tomoyuki Chikanaga)
02:10 PM Revision e105ee2b (git): iseq.c: block param name
* iseq.c (rb_insn_operand_intern): show local variable name at
getblockparam/setblockparam too.
git-svn-id: svn+ss...
nobu (Nobuyoshi Nakada)
12:07 PM Bug #14208 (Closed): raise error if value contains CR/LF in iniheader of initialize_http_header
Applied in changeset trunk|r61359.
----------
raise error if value contains CR/LF in iniheader of initialize_http_he...
naruse (Yui NARUSE)
12:04 PM Bug #14208 (Closed): raise error if value contains CR/LF in iniheader of initialize_http_header
like r59693, initialize_http_header also should raise error.
https://twitter.com/DouweM/status/943441930142220289
naruse (Yui NARUSE)
12:06 PM Revision 0078e401 (git): raise error if value contains CR/LF in iniheader of initialize_http_header
like r59693, initialize_http_header also should raise error. [Bug #14208]
git-svn-id: svn+ssh://ci.ruby-lang.org/rub...
naruse (Yui NARUSE)
11:55 AM Bug #14009: macOS High Sierra and “fork” compatibility
ruby_2_4 r61358 merged revision(s) 60182. nagachika (Tomoyuki Chikanaga)
03:50 AM Bug #14009: macOS High Sierra and “fork” compatibility
@nagachika thank you for the update! I am glad it hasn’t been forgotten. :) ticky (Jessica Stokes)
03:24 AM Bug #14009: macOS High Sierra and “fork” compatibility
Thank you for your notice.
It's just due to my laziness that the backport has been delayed.
I will backport this soon.
nagachika (Tomoyuki Chikanaga)
01:45 AM Bug #14009: macOS High Sierra and “fork” compatibility
Just for reference, people seem confused about the fact this patch hasn’t made it into Ruby 2.4.3; as far as I can te... ticky (Jessica Stokes)
11:54 AM Revision 1a028670 (git): merge revision(s) 60182: [Backport #14009]
configure.ac: link Foundation framework
* configure.ac (XLDFLAGS): link against Foundation framework and
...
nagachika (Tomoyuki Chikanaga)
09:51 AM Revision 677c539d (git): NEWS: update news for Psych
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61357 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
09:31 AM Revision d51151cf (git): NEWS: "absent operator" is now called "absence operator"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
09:31 AM Revision efe8be73 (git): NEWS: grammar fixes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e stomar (Marcus Stollsteimer)
08:50 AM Revision 71e5c125 (git): Update rdoc-6.0.0 entry on NEWS file
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61354 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
08:27 AM Bug #14207: Failed to build 2.5.0-rc1 on CircleCI
patch にゴミが混ざっていたので差し替え sorah (Sorah Fukumori)
08:26 AM Bug #14207: Failed to build 2.5.0-rc1 on CircleCI
copy_file_range の man みる限り EPERM は来なそうなので、こういう救いかたは出来ない事はないのだけれど…。
やはりその環境だと apt-get で降ってくるバイナリとかも同じ目にあいそうな気がするので ...
sorah (Sorah Fukumori)
08:11 AM Bug #14207: Failed to build 2.5.0-rc1 on CircleCI
補足すると、ビルド時 configure チェックしたところで結局新しいユーザーランドのパッケージマネージャから降ってくるバイナリはそういうのが含まれる可能性が高いので難しい話になってきた。
個人的にはホストより新しいカーネルを...
sorah (Sorah Fukumori)
07:55 AM Bug #14207: Failed to build 2.5.0-rc1 on CircleCI
1. ビルド環境にある unistd の __NR_copy_file_range のマクロの有無だけで判断している
2. ユーザーランドにある unistd は Docker 等コンテナホスト側のカーネルのバージョンなんて知らな...
sorah (Sorah Fukumori)
03:39 AM Bug #14207: Failed to build 2.5.0-rc1 on CircleCI
sorah (Sorah Fukumori) wrote:
> 手元で大丈夫な時の Linux カーネルバージョンって 4.5 以降ですかね?
はい、4.5 以降です。
~~~
tsuyoshi@wezen% unam...
minimum2scp (Tsuyoshi YAMADA)
03:25 AM Bug #14207: Failed to build 2.5.0-rc1 on CircleCI
手元で大丈夫な時の Linux カーネルバージョンって 4.5 以降ですかね?
Ubuntu 16.04 および CircleCI (v2) は 4.4.0 系なので当該システムコールは動かないものの、Debian 9.x はそ...
sorah (Sorah Fukumori)
03:11 AM Bug #14207 (Closed): Failed to build 2.5.0-rc1 on CircleCI
CircleCI の docker 上で ruby 2.5.0-rc1 をビルドしてみたらエラーになりました。
make 時に多くの拡張ライブラリが "Could not be configured. It will not b...
minimum2scp (Tsuyoshi YAMADA)
07:38 AM Revision be343902 (git): iseq.c (get_insn_info): use binary search instead of linear search
This change introduces get_insn_info_binary_search, which is (should be)
equivalent to the old get_insn_info.
The old...
mame (Yusuke Endoh)
04:45 AM Revision 799db969 (git): test/coverage/test_coverage.rb: make the expected value the same as 2.4
A follow up of r61350
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
04:35 AM Bug #14191: Coverage decreased between 2.4.3 and 2.5.0rc1
Sangyong Sim told me that 2.5's line coverage measurement was slower than 2.4 because of some reasons. I talked with... mame (Yusuke Endoh)
04:25 AM Revision cdf1b85a (git): Fixed command Injection
* lib/resolv.rb (Resolv::Config.parse_resolv_conf): fixed
potential command injection by use of Kernel#open.
[rub...
nobu (Nobuyoshi Nakada)
04:24 AM Revision c08e8886 (git): compile.c: add a RUBY_EVENT_COVERAGE_LINE event for line coverage
2.5's line coverage measurement was about two times slower than 2.4
because of two reasons; (1) vm_trace uses rb_iseq...
mame (Yusuke Endoh)
04:18 AM Bug #14205 (Closed): Unsanitizied filename leads to command injection in 'resolv.rb'
Applied in changeset trunk|r61349.
----------
Fixed command Injection
* resolv.rb (Resolv::Hosts#lazy_initialize): ...
nobu (Nobuyoshi Nakada)
04:18 AM Revision e7464561 (git): Fixed command Injection
* resolv.rb (Resolv::Hosts#lazy_initialize): fixed potential
command Injection in Hosts::new() by use of Kernel#ope...
nobu (Nobuyoshi Nakada)
01:51 AM Revision 6df552ea (git): vm_insnhelper.c (vm_trace): fix a typo
Typical code clone bug.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mame (Yusuke Endoh)
12:24 AM Revision cc2f9828 (git): extend timeout limit.
* test/ruby/test_process.rb (test_threading_works_after_exec_fail):
extend timeout limit from 30 to 90 because some...
ko1 (Koichi Sasada)
12:20 AM Bug #14206: Null-byte ignored inside class/module/method bodies
It's a bug since 1.9, by "fluent style". nobu (Nobuyoshi Nakada)
12:09 AM Bug #14206 (Closed): Null-byte ignored inside class/module/method bodies
Applied in changeset trunk|r61346.
----------
parse.y: end of script at newline
* parse.y (parser_yylex): deal with...
nobu (Nobuyoshi Nakada)
12:09 AM Revision 032e8fdf (git): parse.y: end of script at newline
* parse.y (parser_yylex): deal with end of script chars just after
ignored newline as other places. [ruby-core:843...
nobu (Nobuyoshi Nakada)
12:01 AM Feature #13129: Refinements cannot refine method_missing and respond_to_missing?

matz (Yukihiro Matsumoto)
12:00 AM Feature #13129: Refinements cannot refine method_missing and respond_to_missing?
Currently, I feel negative about the proposal.
First, as Shugo commented, `method_missing` etc. are considered ind...
matz (Yukihiro Matsumoto)

12/19/2017

05:09 PM Revision b37fc5aa (git): skip test_aspawn_too_long_path on Solaris 10 or earlier
* test/ruby/test_process.rb (TestProcess#test_aspawn_too_long_path):
skip test_aspawn_too_long_path on Solaris 10 o...
ngoto (Naohisa Goto)
04:55 PM Bug #11684 (Closed): Pack#unpack test failure on Solaris 10 with Oracle Solaris Studio 12.4
Applied in changeset trunk|r61344.
----------
Workaround for optimization bug of Oracle Developer Studio 12.4-12.6
...
ngoto (Naohisa Goto)
04:47 PM Bug #11684 (Open): Pack#unpack test failure on Solaris 10 with Oracle Solaris Studio 12.4
Reopen because this is also observed with Oracle Developer Studio 12.6. ngoto (Naohisa Goto)
04:55 PM Revision 504842d8 (git): Workaround for optimization bug of Oracle Developer Studio 12.4-12.6
* pack.c (pack_unpack, AVOID_CC_BUG): Very ugly workaround for
optimization bug of Oracle Developer Studio (Oracle ...
ngoto (Naohisa Goto)
03:42 PM Bug #14171: can't alloc thread (ThreadError) in DRbServer#main_loop
I also applied @seki's fix in r61342. Eregon (Benoit Daloze)
03:40 PM Revision 8c34a8a1 (git): * 2017-12-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:40 PM Revision 06c7693c (git): Break out of the loop after shutdown in DRbServer
* Patch by @seki:
https://gist.github.com/seki/ae8bef20238c37c94a91b5461c4bfbdd
git-svn-id: svn+ssh://ci.ruby-lang...
Eregon (Benoit Daloze)
03:37 PM Bug #14206 (Closed): Null-byte ignored inside class/module/method bodies
I would have expected the following code to not be accepted by the Ruby parser, but instead it acts as if the zero-by... grddev (Gustav Munkby)
02:26 PM Bug #14203 (Closed): miniruby crashes just after r61309 on mswin CI
Applied in changeset trunk|r61341.
----------
Revert "Improve performance of creating Hash object"
This reverts com...
watson1978 (Shizuo Fujita)
02:17 PM Bug #14203: miniruby crashes just after r61309 on mswin CI
調査が難しそうなので、いったん r61309 は revert しておきます。お騒がせしました。 watson1978 (Shizuo Fujita)
09:38 AM Bug #14203 (Assigned): miniruby crashes just after r61309 on mswin CI
usa (Usaku NAKAMURA)
07:20 AM Bug #14203 (Closed): miniruby crashes just after r61309 on mswin CI
r61309 のマージ後、mswin CIで、minirubyがクラッシュするようになっています。
http://mswinci.japaneast.cloudapp.azure.com/vc12-x64/ruby-trunk/re...
usa (Usaku NAKAMURA)
02:26 PM Revision 2e6235aa (git): Revert "Improve performance of creating Hash object"
This reverts commit r61309
Because it was unstable on mswin CI.
[ruby-dev:50370][Bug #14203]
git-svn-id: svn+ssh://...
watson1978 (Shizuo Fujita)
12:28 PM Revision 26529d3d (git): Update version number of Psych
From: SHIBATA Hiroshi <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61340 b2dd03c8-39d4-4d8...
hsbt (Hiroshi SHIBATA)
12:23 PM Revision 0c530ddd (git): Update RubyGems entry on NEWS file.
From: SHIBATA Hiroshi <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61339 b2dd03c8-39d4-4d8...
hsbt (Hiroshi SHIBATA)
12:20 PM Revision d20f4eb1 (git): st.c: fix up
* st.c (_st_table_list, _st_table_pool): symbols beginning with an
underscore and a lower letter are preserved by t...
nobu (Nobuyoshi Nakada)
10:46 AM Revision 602fda25 (git): thread_sync.c: fix rdoc
* thread_sync.c (define_thread_class): hide rb_define_class_under
from rdoc, so that fake code to teach rdoc takes ...
nobu (Nobuyoshi Nakada)
10:08 AM Bug #14205: Unsanitizied filename leads to command injection in 'resolv.rb'
PoC Concept Code
~~~ ruby
require 'resolv'
a = Resolv::Hosts::new("|echo 1 > /tmp/rce")
a.getaddress("test")
~~~
drigg3r (Jasraj Bedi)
10:07 AM Bug #14205 (Closed): Unsanitizied filename leads to command injection in 'resolv.rb'
Here is the pull request
https://github.com/ruby/ruby/pull/1777
drigg3r (Jasraj Bedi)
09:44 AM Revision def7fab8 (git): Merge psych-3.0.2 from ruby/psych.
It version changed fallback option to keywoad argument
on `Yaml.load` method. It break backword compatiblity.
se...
hsbt (Hiroshi SHIBATA)
07:49 AM Bug #14204 (Closed): [PATCH] socket: use frozen string buffer when releasing GVL
```
socket: use frozen string buffer when releasing GVL
Using a non-frozen string buffer when GVL is released is
...
normalperson (Eric Wong)
07:18 AM Feature #13199: Gemify strscan
I updated gemspec at r61333.
But I couldn't ship strscan gem to rubygems.org:
https://github.com/rubygems/rubyg...
hsbt (Hiroshi SHIBATA)
06:57 AM Bug #14023: SyntaxError on array argument and block
https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/19197
Matz's intention is very clear that this...
shyouhei (Shyouhei Urabe)
04:57 AM Revision 373babea (git): error.c: KeyError docs [ci skip]
* error.c (key_err_receiver, key_err_key): [DOC] documents of
KeyError methods.
git-svn-id: svn+ssh://ci.ruby-lang...
nobu (Nobuyoshi Nakada)
03:17 AM Revision 92bfddff (git): vcs: --add-author-from
* tool/vcs.rb (VCS::GIT#commit): no --add-author-from option if
author equals committer.
git-svn-id: svn+ssh://ci....
nobu (Nobuyoshi Nakada)
03:12 AM Revision 5590ec8a (git): Update version of strscan to 1.0.0.
But we couldn't ship strscan (and stringio) gem. Because rubygems.org
still masked them.
https://github.com/ruby...
hsbt (Hiroshi SHIBATA)
02:43 AM Revision f39021be (git): Remove digest.gemspec for default gems.
It needs to support header file installation and uninstallation.
But current RubyGems didn't support it feature yet...
hsbt (Hiroshi SHIBATA)
02:41 AM Revision 23beb594 (git): compile.c: pop splat result
* compile.c (compile_array): pop splat result without creating a
new hash if the whole hash is popped.
[ruby-core...
nobu (Nobuyoshi Nakada)
01:08 AM Revision 0d09ee1e (git): Improve Array#- efficiency [Fixes GH-1756]
When doing the difference of a small array with a big one it is not
efficient in both time and memory to convert the ...
nobu (Nobuyoshi Nakada)
12:45 AM Bug #14201 (Closed): Regression due to over optimization of hash splat
Applied in changeset trunk|r61329.
----------
compile.c: side effect in splat
* compile.c (compile_array): splat wh...
nobu (Nobuyoshi Nakada)
12:45 AM Revision 5c3f9641 (git): compile.c: side effect in splat
* compile.c (compile_array): splat which may have side effects
should be compiled even if the result will be popped...
nobu (Nobuyoshi Nakada)
12:30 AM Bug #13670: [BUG] Bus Error at 0xefce7b (armv7l) (ruby 2.3.4p301)
Can confirm this occurs with 2.4.1, just install bootsnap and try and launch a rails application.
Tested on a H3 (...
splitice (Mathew Heard)
12:15 AM Bug #14198 (Feedback): Error forwarding standard input to subprocess
nobu (Nobuyoshi Nakada)
12:12 AM Bug #14198: Error forwarding standard input to subprocess
`system` also accepts redirections.
And child processes inherit STDIN/STDOUT/STDERR from their parent process by the...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom