Project

General

Profile

Activity

From 12/17/2017 to 12/23/2017

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)

12/18/2017

08:54 PM Bug #14202 (Closed): gem install rails fails
When running 'gem install rails' I get the attached error and printed core dump. mattadoren (Mikael Mattsson)
08:27 PM Bug #14201 (Closed): Regression due to over optimization of hash splat
The following doesn't print anything nor raise anything in 2.5.0-rc1 or trunk:
```
$ ruby -e "{**puts('hello')}; ...
marcandre (Marc-Andre Lafortune)
06:01 PM Bug #14198: Error forwarding standard input to subprocess
Using `Process.spawn` indeed works :) Unfortunately, I cannot figure out a way to forward the standard output and sta... betabandido (Victor Jimenez)
01:46 PM Bug #14198: Error forwarding standard input to subprocess
I din't have a windows machine right now so not sure this is the solution for you. But JFYI you can reroute the IOs ... shyouhei (Shyouhei Urabe)
01:33 PM Bug #14198 (Closed): Error forwarding standard input to subprocess
I am developing a wrapper for Terraform (https://www.terraform.io/), which at some point during its execution, it may... betabandido (Victor Jimenez)
04:52 PM Bug #14073: Crash on boot sice Ruby 2.4.0
ruby_2_4 r61328 merged revision(s) 59748. nagachika (Tomoyuki Chikanaga)
04:52 PM Revision 3d4a3973 (git): merge revision(s) 59748: [Backport #14073]
st.c: fix num_entries
* st.c (st_insert2): should manage num_entries when the key is
undefined, as...
nagachika (Tomoyuki Chikanaga)
04:41 PM Revision 494b3aea (git): Use syswrite to avoid potential buffering in IO#select spec
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
04:17 PM Bug #14200 (Closed): addr2line.c compile error with C89 compilers on Solaris 10
Applied in changeset trunk|r61326.
----------
Support C89 if possible
* addr2line.c: Because stdbool.h is a C99 fea...
ngoto (Naohisa Goto)
03:40 PM Bug #14200 (Closed): addr2line.c compile error with C89 compilers on Solaris 10
r60841 にて、 addr2line.c では stdbool.h を使用するようになりましたが、
stdbool.h は C99 にて追加された仕様のため、
デフォルトが C89 になっている Solaris 10 上の古め...
ngoto (Naohisa Goto)
04:17 PM Revision b75828fd (git): Support C89 if possible
* addr2line.c: Because stdbool.h is a C99 feature, compile error
occurs with some old compilers without specifying ...
ngoto (Naohisa Goto)
04:02 PM Bug #14199: eval_error.c compile error with Oracle Solaris Studio (Oracle Developer Studio) 12.4 on Solaris 10
とりあえず、ここ(redmine)で該当リビジョンを表示し、「関連するチケット」の「追加」をしてやれば、ここでの見た目上だけは、なんかうまくやったように誤魔化すことができます :)
(なお将来バックポートが必要とかになったときに...
usa (Usaku NAKAMURA)
03:58 PM Bug #14199 (Closed): eval_error.c compile error with Oracle Solaris Studio (Oracle Developer Studio) 12.4 on Solaris 10
Applied in changeset r61324
しかし、svnのコミットログに `[Bug #14199] [ruby-dev:50365]` を含めるのをうっかり忘れていました。
ngoto (Naohisa Goto)
03:03 PM Bug #14199 (Closed): eval_error.c compile error with Oracle Solaris Studio (Oracle Developer Studio) 12.4 on Solaris 10
おそらく r61154 以降、Solaris 10 上の Oracle Solaris Studio 12.4 にて、
下記のエラーにより eval.c のコンパイルに失敗します。
write_warn, write_warn...
ngoto (Naohisa Goto)
03:46 PM Revision 5a2a9577 (git): * 2017-12-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:46 PM Revision d088cb27 (git): eval_error.c: Fix compile error on Solaris 10
* eval_error.c (write_warn, write_warn2, write_warn_str): Fix compile
error "operands have incompatible types" with...
ngoto (Naohisa Goto)
03:27 PM Bug #13358: OpenStruct overriding allocate
Any chance this could be backported to ruby 2.3? It's creating issues because we're loading OpenStruct from the datab... PSchambacher (Pierre Schambacher)
03:04 PM Feature #9992: Access Modifiers (Internal Interfaces)
Sorry. The previous code was with a bug. I corrected it but here it is again:
What about this use case:
~~~ruby...
dsferreira (Daniel Ferreira)
02:49 PM Feature #9992: Access Modifiers (Internal Interfaces)
What about this use case:
~~~ruby
module Foo; end
##
# Template class
#
# ==== Example
#
# ...
dsferreira (Daniel Ferreira)
12:42 PM Feature #14197 (Open): `Enumerable#{select,reject}` accept a pattern argument
`#all?`, `#any?`, `#none?`, and `#one?` accept pattern arguments since 2.5.0.
`#grep`, and `#grep_v` have such fea...
znz (Kazuhiro NISHIYAMA)
12:19 PM Bug #14186 (Closed): cannot build ruby with tarball on noruby environment
nobu (Nobuyoshi Nakada)
09:11 AM Bug #14192: rb_frame_method_id_and_class not exported, breaks ruby-prof and other gems
Assuming the method gets removed with 2.6, how should we replace it?
Can it be replaced now?
I haven't found a ...
drkaes (Stefan Kaes)
09:08 AM Bug #14189: Webrick 1.4.0. release requires unreleased ruby version 2.5.0dev
[email protected] wrote:
> I tried the attached patch to remove the :uplevel parameter
> for ruby < 2.5, and it ...
normalperson (Eric Wong)
08:54 AM Bug #14189 (Closed): Webrick 1.4.0. release requires unreleased ruby version 2.5.0dev
Applied in changeset trunk|r61322.
----------
webrick 1.4.1 release
* lib/webrick/version.rb: bump version
* lib/we...
Anonymous
08:51 AM Bug #14189: Webrick 1.4.0. release requires unreleased ruby version 2.5.0dev
[email protected] wrote:
> Issue #14189 has been updated by hsbt (Hiroshi SHIBATA).
>
> Status changed from Ope...
normalperson (Eric Wong)
06:32 AM Bug #14189 (Assigned): Webrick 1.4.0. release requires unreleased ruby version 2.5.0dev
>Personally, I do not like version guards, either.
A current implementation of webrick works with Ruby 2.3/2.4
...
hsbt (Hiroshi SHIBATA)
09:03 AM Revision 027b576b (git): suppress warning: 'const' attribute on function returning 'void'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
08:54 AM Revision 74ceabb3 (git): webrick 1.4.1 release
* lib/webrick/version.rb: bump version
* lib/webrick/webrick.gemspec: support Ruby 2.3+
[Bug #14189]
git-svn-id: s...
Eric Wong
07:39 AM Revision 7d42b6fa (git): test_io.rb: EINVAL on Windows
* test/ruby/test_io.rb (test_read_command): unusable character
causes Errno::EINVAL on Windows.
From: Nobuyoshi Na...
nobu (Nobuyoshi Nakada)
07:15 AM Revision d2f685ee (git): io.c: opening external command
* io.c (rb_io_open_generic): try to open the named file as usual,
if klass is not IO nor File, so that Errno::ENOEN...
nobu (Nobuyoshi Nakada)
07:10 AM Revision 6b718de1 (git): io.c: open generic in binread
* io.c (rb_io_s_binread): fix r61317, unintentional change.
From: Nobuyoshi Nakada <[email protected]>
git-svn-id:...
nobu (Nobuyoshi Nakada)
06:15 AM Bug #14196 (Third Party's Issue): Signal.trap overrides pre-existing "SIG_IGN" handler on a process
Closing. Thanks anyway! shyouhei (Shyouhei Urabe)
06:08 AM Bug #14196: Signal.trap overrides pre-existing "SIG_IGN" handler on a process
shyouhei (Shyouhei Urabe) wrote:
> shayonj (Shayon Mukherjee) wrote:
> > I believe, if a process already has a `SIG...
shayonj (Shayon Mukherjee)
05:53 AM Bug #14196: Signal.trap overrides pre-existing "SIG_IGN" handler on a process
shayonj (Shayon Mukherjee) wrote:
> I believe, if a process already has a `SIG_IGN` then the same should be respecte...
shyouhei (Shyouhei Urabe)
05:26 AM Bug #14196 (Third Party's Issue): Signal.trap overrides pre-existing "SIG_IGN" handler on a process
Came across while debugging an issue with bundler https://github.com/bundler/bundler/issues/6150
The issue is, if ...
shayonj (Shayon Mukherjee)
05:15 AM Feature #14187: `make test` and `make check` to run all test suites
I think it would be good to have a table for this proposal, with three columns:
1) What is tested
2) What is the ta...
duerst (Martin Dürst)
05:02 AM Bug #14180: error: ‘RUBY_BIGDECIMAL_VERSION’ undeclared
nobu (Nobuyoshi Nakada) wrote:
> There would be old Makefile, remove it and retry.
I removed the Makefile. When I...
duerst (Martin Dürst)
04:42 AM Revision c740951f (git): check EOPNOTSUPP.
* test/ruby/test_file.rb (test_open_tempfile_path): skip EOPNOTSUPP
(observed on Ubuntu 16 on Docker).
git-svn-id...
ko1 (Koichi Sasada)
04:32 AM Revision 2ad35b31 (git): io.c: opening external command
* io.c (rb_io_open_generic): when external command will be invoked
as other than IO singleton method, probably unin...
nobu (Nobuyoshi Nakada)
04:23 AM Revision 570642bf (git): envutil.rb: define flush method
* test/lib/envutil.rb (verbose_warning): flush is called on STDOUT
and STDERR sometimes.
From: Nobuyoshi Nakada <n...
nobu (Nobuyoshi Nakada)
04:12 AM Revision 9940a8d1 (git): test/ruby/test_io.rb: test for r61314
From: Nobuyoshi Nakada <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61315 b2dd03c8-39d4-4d...
nobu (Nobuyoshi Nakada)
03:38 AM Revision 7d24c27d (git): io.c: open_key_args by rb_io_open
* io.c (open_key_args): open by rb_io_open always also when
open_args: option is given.
From: Nobuyoshi Nakada <no...
nobu (Nobuyoshi Nakada)
02:57 AM Bug #14191: Coverage decreased between 2.4.3 and 2.5.0rc1
I have just fixed the issue. I'd appreciate if you could try r61313 and tell me if the coverage is measured correctl... mame (Yusuke Endoh)
02:44 AM Bug #14191 (Closed): Coverage decreased between 2.4.3 and 2.5.0rc1
Applied in changeset trunk|r61313.
----------
iseq.c (finish_iseq_build): fix coverage leakage [Bug #14191]
Before ...
mame (Yusuke Endoh)
02:44 AM Revision 2e24a66b (git): iseq.c (finish_iseq_build): fix coverage leakage [Bug #14191]
Before this change, coverage.so had failed to measure some multiple-line
code fragments. This is because removing tr...
mame (Yusuke Endoh)
01:55 AM Revision fb6db414 (git): vcs.rb: --add-author-from option
From: Nobuyoshi Nakada <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61312 b2dd03c8-39d4-4d...
nobu (Nobuyoshi Nakada)
01:54 AM Revision 7766fcc7 (git): st.c: no C99 comment
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:51 AM Revision a531c579 (git): Requiring pp is not required now [ci skip]
- Followup of https://bugs.ruby-lang.org/issues/14123
From: Prathamesh Sonpatki <[email protected]>
git-svn-id: s...
nobu (Nobuyoshi Nakada)
01:49 AM Feature #14146 (Closed): Improve performance of creating Hash object
Applied in changeset trunk|r61309.
----------
Improve performance of creating Hash object
When generate Hash object...
watson1978 (Shizuo Fujita)
12:04 AM Feature #14146: Improve performance of creating Hash object
watson1978 (Shizuo Fujita) wrote:
> > Any chances you tried --with-jemalloc ? It might perhaps exhibit something dif...
shyouhei (Shyouhei Urabe)
01:49 AM Revision 07d48bbe (git): Improve performance of creating Hash object
When generate Hash object, the heap area of st_table will be always allocated in internally
and seems it take a time....
watson1978 (Shizuo Fujita)
01:45 AM Feature #13129: Refinements cannot refine method_missing and respond_to_missing?
I think this is a feature but a bug.
https://github.com/nobu/ruby/tree/feature/13129-refine-method_missing
nobu (Nobuyoshi Nakada)
12:35 AM Feature #8257: Exception#cause to carry originating exception along with new one
Is there a reason not to do caused-by stack trace printing? Or has it just not been implemented by anyone yet? peterfaiman (Peter Faiman)
12:05 AM Bug #14159: [BUG] Segmentation fault at 0x0000000000000000 ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux] - Mailcatcher
moskkitow (Marcelo Cruz) wrote:
> shyouhei (Shyouhei Urabe) wrote:
> > moskkitow (Marcelo Cruz) wrote:
> > > c:001...
shyouhei (Shyouhei Urabe)

12/17/2017

10:32 PM Bug #14195: [PATCH] IO#pwrite uses tmp buffer to avoid parallel modification
[email protected] wrote:
> I think some ext/socket methods (sendmsg, setsockopt) may need this, too;
> and fcn...
normalperson (Eric Wong)
10:28 PM Bug #14195 (Closed): [PATCH] IO#pwrite uses tmp buffer to avoid parallel modification
Since we release GVL, we must freeze a duplicate the string buffer
to prevent other threads from modifying our buffe...
normalperson (Eric Wong)
06:43 PM Revision 73da429c (git): `BASERUBY` may be not available when building from tarball
* common.mk ($(REVISION_H)): revert a part of r61055 because this obstructs
building ruby from tarball in clean (no...
U.Nakamura
06:21 PM Feature #12753: Useful operator to check bit-flag is true or false
When writing specs, I discovered that coercion was failing for allbits.
I modified all three methods to apply coer...
marcandre (Marc-Andre Lafortune)
06:19 PM Revision ae1d6cdd (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:19 PM Revision 22ee6b2c (git): * 2017-12-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
06:19 PM Revision 907508b2 (git): Integer#{any|all|no}_bits: Fix coercion. Add specs [#12753]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Marc-Andre Lafortune
05:36 PM Bug #14194 (Closed): --enable-frozen-string-literal ruby runner.rb cgi
Assuming `--enable-frozen-string-literal`, `ruby runner.rb cgi`
Running without patch:
```
1) Failure:
CGIM...
MSP-Greg (Greg L)
04:51 PM Bug #14193: --enable-frozen-string-literal and rubygems, erb, & rdoc
> I'd certainly appreciate it if someone familiar with RDoc had a look, as it seems that both its code and its tests ... k0kubun (Takashi Kokubun)
04:47 PM Bug #14193 (Open): --enable-frozen-string-literal and rubygems, erb, & rdoc
k0kubun (Takashi Kokubun)
04:20 PM Bug #14193: --enable-frozen-string-literal and rubygems, erb, & rdoc
k0kubun (Takashi Kokubun) wrote:
> > frozen_erb.patch
>
> Thank you for your work to fix it, but I'm strongly aga...
MSP-Greg (Greg L)
11:07 AM Bug #14193 (Feedback): --enable-frozen-string-literal and rubygems, erb, & rdoc
> frozen_erb.patch
Thank you for your work to fix it, but I'm strongly against silently suppressing all StandardEr...
k0kubun (Takashi Kokubun)
03:02 PM Feature #14142: Add Method#===
返信が遅れてしまいましたが、ありがとうございました。 osyo (manga osyo)
11:13 AM Revision 66bef9d2 (git): common.mk: exts-note [ci skip]
* common.mk (exts-note): show notes of non-configured extension
libraries.
git-svn-id: svn+ssh://ci.ruby-lang.org/...
nobu (Nobuyoshi Nakada)
09:40 AM Revision cb26d0d9 (git): thread.c: adjusted [ci skip]
* thread.c (timeval_add): adjusted indent and parenthesized in
braces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby...
nobu (Nobuyoshi Nakada)
08:32 AM Bug #14181: hangs or deadlocks from waitpid, threads, and trapping SIGCHLD
[email protected] wrote:
> LGTM, and `timeval_add()` and `timeval_update_expire()` seem
> to worth extracting fir...
normalperson (Eric Wong)
01:56 AM Bug #14181: hangs or deadlocks from waitpid, threads, and trapping SIGCHLD
LGTM, and `timeval_add()` and `timeval_update_expire()` seem to worth extracting first. nobu (Nobuyoshi Nakada)
08:26 AM Revision db9523ef (git): thread.c: fix overly long Thread#join w/ timeout
* test/ruby/test_thread.rb (test_signal_at_join): test with timeout
* thread.c (sleep_wait_for_interrupt): remove
(...
Eric Wong
08:26 AM Revision 78cc1491 (git): thread.c: hoist out timeval arithmetic functions
timeval arithmetic may be reused in other places and this
makes sleep_timeval easier-to-read.
* thread.c (timeval_ad...
Eric Wong
05:35 AM Revision 1389cdab (git): * 2017-12-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:35 AM Revision 3b060b22 (git): vm_method.c: empty table
* vm_method.c (prepare_callable_method_entry): empty method table
has no entries.
git-svn-id: svn+ssh://ci.ruby-la...
nobu (Nobuyoshi Nakada)
05:35 AM Revision 639fd087 (git): vm_method.c: debug message
* vm_method.c (method_definition_addref_complement): fix debug
message, show complemented_count instead of alias_co...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom