Activity
From 12/14/2018 to 12/20/2018
12/20/2018
- 11:29 PM Revision ccdba542 (git): Import bigdecimal-1.4.0.pre.20181220a
- * https://github.com/ruby/bigdecimal/compare/v1.4.0.pre.20181214a..v1.4.0.pre.20181220a
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:22 PM Bug #15444 (Assigned): finite Ranges over Rationals are not iterable
-
08:45 PM Bug #15444 (Closed): finite Ranges over Rationals are not iterable
- Under 2.5.3, finite ranges over rational values are iterable, given a valid step size:
~~~
((1/10r)..(1/2r)).step(1/10r).to_a
# => [(1/10), (1/5), (3/10), (2/5), (1/2)]
~~~
Under 2.6.0, this is not the case (StopIteration is rai... -
11:21 PM Revision feb78840 (git): iseq.c: resurrect literal hash operands
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:54 PM Revision 97587ed4 (git): NEWS: small improvements
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 09:17 PM Revision b430aa3a (git): * 2018-12-21
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:17 PM Revision 75584ceb (git): A couple of small English fixes [ci skip]
- [Fix GH-2052]
From: Jon Burgess <jkburges@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:05 PM Feature #9894 (Open): [RFC] README.EXT: document rb_gc_register_mark_object
-
03:17 PM Bug #15441: undefined method `union' and `difference' in Ruby 2.6
- "ruby -v" probably provides more information than the in-ruby
constant RUBY_VERSION alone does. -
09:47 AM Bug #15441: undefined method `union' and `difference' in Ruby 2.6
- I have just downloaded trunk again and it seems to work now... Maybe there was some related changes or maybe I didn't have the current version and I though I had
Anyway, it seems fixed, sorry for the mess -
09:27 AM Bug #15441 (Rejected): undefined method `union' and `difference' in Ruby 2.6
- Please use the latest revision of Ruby 2.6.
```
~ > ruby -v
ruby 2.6.0dev (2018-12-20 trunk 66456) +JIT [x86_64-darwin18]
~ > irb
>> [1,3,5,7,9].union([2,3,4,5,6])
=> [1, 3, 5, 7, 9, 2, 4, 6]
``` -
09:25 AM Bug #15441: undefined method `union' and `difference' in Ruby 2.6
- @ana06 what is your build day or revision number?
because this methods where added with #14097 3 months ago -
08:55 AM Bug #15441 (Rejected): undefined method `union' and `difference' in Ruby 2.6
- Using `irb` with using current Ruby trunk version:
```
irb(main):008:0> RUBY_VERSION
=> "2.6.0"
irb(main):009:0> [1,3,5,7,9].union([2,3,4,5,6])
Traceback (most recent call last):
2: from /usr/local/bin/irb:11:in `<main>'
... -
03:01 PM Bug #15443: Hash#slide with infinite range gives unexpective result
- It sound reasonable ;) this can be closed then
-
02:53 PM Bug #15443 (Rejected): Hash#slide with infinite range gives unexpective result
- Not a bug but a spec of `Hash#slice`. Consider the case where the keys are a range:
{ (1..) => :a, (2..) => :b, (3..) => :c }.slice(2..) #=> {2..=>:b}
Note that this behavior is not specific to endless range:
{ 1 => :a,... -
02:46 PM Bug #15443: Hash#slide with infinite range gives unexpective result
- `Hash#slice` takes an array of keys via *keys
each parameter is checked as a key in the Hash
```ruby
{ 1 => :a, 2 => :b, 3 => :c }.slice(2, 3) #=> { 2 => :b, 3 => :c }
{ 1 => :a, 2 => :b, 3 => :c }.slice([2, 3]) #=> {} [2,3]... -
02:29 PM Bug #15443 (Rejected): Hash#slide with infinite range gives unexpective result
- `{ 1 => :a, 2 => :b, 3 => :c }.slice(2..)` returns `{}`. I had expected that it retuns `{2=>:b, 3=>:c}` instead.
-
02:27 PM Feature #15435: Float の Infinity に生成済みの値を使用する
- 確認していただいてありがとうございます。
\# 順番がいろいろ前後して回答します。
> 以下、その他のコメントです。
> ...
なるほどー。オブジェクトに対する間接参照が減るということですね (これは
doc/extention.rdoc に載っていると嬉しいのではと思って調べて見たところ、#9894
で提案があったみたいですね)。
修正したパッチを添付します。
> (2) Infinity じゃなくて、いっそ NegativeInfin... -
12:52 AM Feature #15435: Float の Infinity に生成済みの値を使用する
- (コードのご提案時には、アイディア(アルゴリズム)を書いて頂けるとありがたいです)
パッチを見たところ、Flonum 生成時に、範囲外で heap から生成する直前に `isinf()` でチェックして、inf であれば、事前に allocate した inf オブジェクトを返す、と理解しました。
```C
if (isinf(d)) {
return d < 0 ? rb_float_negative_infinity : rb_float... -
01:24 PM Feature #15438: Threads can't switch faster than TIME_QUANTUM_(NSEC|USEC|MSEC)
- This is the implementation of option (4) on 2.5.3 (since that's what I am using). If it has a chance to be accepted, I will forward-port it to 2.6.
-
10:17 AM Revision ab2da43c (git): ext/coverage/lib/coverage.rb (Coverage.line_stub): use only line events
- It wrongly used all linenos of ISeq#trace_points which includes not only
line events but also call, return, and other events. So, the result
included some linenos that can not be covered at all by line coverage.
git-svn-id: svn+ssh://c... -
09:55 AM Revision 1d13610d (git): [DOC] Update CI build status badges [ci skip]
- copy from README.md
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
09:48 AM Bug #15442: irb behaves strange in Ruby 2.6
- I think I didn't have current trunk version. It seems to work no. Sorry
-
09:45 AM Bug #15442: irb behaves strange in Ruby 2.6
- You can check the availability of readline by this command line:
```
ruby -rreadline -ep
``` -
09:42 AM Bug #15442: irb behaves strange in Ruby 2.6
- The keyboard line editing behaviors are based on GNU Readline. Please install GNU Readline before you build Ruby.
For example, if you're using Ubuntu 18.10, run `sudo apt install libreadline-dev` and re-build Ruby. -
08:59 AM Bug #15442 (Closed): irb behaves strange in Ruby 2.6
- When trying to press the UP, DOWN, LEFT and RIGHT keys in Ruby 2.6 strange characters are printed instead of moving (or showing the last executed instruction). This works properly for me in Ruby 2.5.
```
irb(main):004:0> ^[[A^[[A^[[B... -
09:44 AM Bug #15436: Tests failing in `make check`
- @shevegen I had the package install.
I have just downloaded trunk again and it seems to work now... Maybe there was some related changes or maybe I didn't have the current version and I though I had
Anyway, it seems fixed -
09:22 AM Bug #15430: test_fork_while_parent_locked is failing status on Ruby CI
- > But I cant reproduce it atm...
OK, I need a break and get some sleep (but I realize 2.6 release is
is very soon).
I can reproduce [Bug #15383] with "rb_mutex_t.fork_gen" field
removed, but fork_gen shouldn't be necessary in mu... -
08:04 AM Bug #15430: test_fork_while_parent_locked is failing status on Ruby CI
- > It still exists. https://rubyci.org/logs/rubyci.s3.amazonaws.com/centos7/ruby-trunk/log/20181218T230003Z.fail.html.gz
:< I am now thinking the r66230 for [Bug #15383] is
unnecessary and [Bug #15383] is a bug somewhere else.
Bu... -
08:42 AM Bug #15383: Reproducible crash: crash.rb:6: [BUG] unexpected THREAD_KILLED
- > > https://bugs.ruby-lang.org/issues/15383
> r66230 should fix it in trunk and should be backported
No, actually. r66230 hides an existing problem in the fix
for https://bugs.ruby-lang.org/issues/14578
...
Still working on th... -
07:18 AM Bug #15440 (Closed): Freeze hash literals embedded in duphash instructions
- Applied in changeset trunk|r66466.
----------
hide iseq operand object for duphash. [Bug #15440]
* compile.c (compile_array): hide source Hash object.
* hash.c (rb_hash_resurrect): introduced to dup Hash object
using rb_cHash. -
06:24 AM Bug #15440 (Closed): Freeze hash literals embedded in duphash instructions
- Previously, these hash literals were not frozen, and thus could be
modified by ObjectSpace, resulting in undesired behavior. Example
(run with --disable-gems):
~~~ ruby
require 'objspace'
def a(b={0=>1,1=>4,2=>17})
b
end
... -
07:17 AM Revision 2a70f68c (git): hide iseq operand object for duphash. [Bug #15440]
- * compile.c (compile_array): hide source Hash object.
* hash.c (rb_hash_resurrect): introduced to dup Hash object
using rb_cHash.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
06:59 AM Revision fe8475d7 (git): Test separately to get rid of risk to modify unrelated hash
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:44 AM Revision ec7b1e47 (git): Freeze hash literals embedded in duphash instructions
- Previously, these hash literals were not frozen, and thus could be
modified by ObjectSpace, resulting in undesired behavior. Example:
```ruby
require 'objspace'
def a(b={0=>1,1=>4,2=>17})
b
end
p a
ObjectSpace.each_object(Hash) do ... -
05:43 AM Bug #15437 (Closed): 正規表現の名前付きキャプチャでASCII以外の大文字で定義したクラスが上書きされる
- Applied in changeset trunk|r66463.
----------
parse.y: ignore constant name captures
* parse.y (reg_named_capture_assign_iter): ignore non-local name
captures, including non-ASCII constant names.
[ruby-dev:50719] [Bug #15437] -
05:43 AM Revision f89238ec (git): parse.y: ignore constant name captures
- * parse.y (reg_named_capture_assign_iter): ignore non-local name
captures, including non-ASCII constant names.
[ruby-dev:50719] [Bug #15437]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
04:28 AM Feature #14844: Future of RubyVM::AST?
- After playing around with the RC2 release, I think it's pretty good.
The only thing I'd like to see, is the use of Node instances even for cases where Array is currently used. Rather than Node.type, use explicit classes.
In additio... -
04:19 AM Bug #595: Fiber ignores ensure clause
- After discussion, we decided that:
- Doing this in the GC is probably a bad idea.
- Ruby's general model for resource management is explicit, e.g. `f = File.open; f.close` or `File.open do |f| ... end`. The same model should apply to... -
01:15 AM Bug #595: Fiber ignores ensure clause
- While it's not possible unless we invoke functionality from the GC, if/when we merge https://bugs.ruby-lang.org/issues/10344 it should become simple to do the following
```
while fiber.alive?
fiber.raise(Exception, "Time to die"... - 04:03 AM Revision 766f9b4a (git): Really ensure loading REXML in tests
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:03 AM Revision 5a846eb6 (git): rbinstall.rb: purge %x[git ls-files] too
- [Bug #13423]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:51 AM Revision 4df4b484 (git): rbinstall.rb: syntax error in gemspec
- * tool/rbinstall.rb (load_gemspec): do not hide syntax errors in
a gemspec file. check if the result instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:29 AM Bug #15439 (Closed): Time object's zone generated by Time.getlocal returns a strange value
- Time object's zone generated by Time.getlocal returns a strange value in Ruby 2.6
```
$ ruby -v -e 'p Time.new.utc.getlocal(0).zone; p Time.new.utc.getlocal(0).utc?
ruby 2.6.0dev (2018-12-17 trunk 66427) [x86_64-linux]
"UTC"
fal... - 03:08 AM Revision 3ea72d25 (git): Ensure loading REXML
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 02:49 AM Revision 0d1abb90 (git): rexml: upgrade to 3.1.8
- See https://github.com/ruby/rexml/blob/master/NEWS.md for change summary.
Changes for spec/ has been reported: https://github.com/ruby/spec/pull/639
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66458 b2dd03c8-39d4-4d8f-98ff-823fe... -
01:11 AM Feature #10344 (Assigned): [PATCH] Implement Fiber#raise
- We will experiment and aim to merge this into 2.7
-
12:16 AM Bug #14542 (Third Party's Issue): syswrite spuriously empties the given string
- 12:07 AM Revision 0b38221d (git): thread_pthread.c (ubf_timer_disarm): ignore EINVAL iff timer is dead
- The following race may happen if ubf_timer_destroy calls
timer_delete before ubf_timer_disarm gets called from
a different thread. Consider the following timelines:
ubf_timer_destroy | ubf_timer_disarm
----------...
12/19/2018
-
11:40 PM Feature #15438 (Closed): Threads can't switch faster than TIME_QUANTUM_(NSEC|USEC|MSEC)
- Thread#priority can be set to negative values, which when looking at the code is meant to reduce the time allocated to the thread. However, as far as I could understand in the codebase, the quantum of time is definitely hard-coded to 100...
-
11:33 PM Bug #14542: syswrite spuriously empties the given string
- Could someone close this report ? It's been solved as 'not a bug in Ruby'
-
08:30 PM Bug #15437 (Closed): 正規表現の名前付きキャプチャでASCII以外の大文字で定義したクラスが上書きされる
- ASCIIの大文字で定義したクラスは正規表現の名前付きキャプチャで上書きされませんが、ASCII以外の大文字で定義したクラスは上書きされてしまうようです。
これは意図的ですか?
```ruby
# rewrite_constant_by_named_capture.rb
class C
end
/(?<C>C)/ =~ "C"
p C
class 𝐂
end
/(?<𝐂>𝐂)/ =~ "𝐂"
p 𝐂
C.new
𝐂.... -
08:02 PM Bug #15436: Tests failing in `make check`
- ffi could be found here as source package: ftp://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz
That one also provides ffi.h; I assume opensuse has this also packaged up somewhere, possibly
a -dev/-devel package or something.
I don... -
04:05 PM Bug #15436: Tests failing in `make check`
- ana06 (Ana Maria Martinez Gomez) wrote:
> The following tests fail when running `check make` (after `make`) in my openSUSE Tumbleweed using current Ruby trunk version:
> ...
This failure also occurs in OpenBSD. It appears to be relate... -
03:30 PM Bug #15436 (Closed): Tests failing in `make check`
- The following tests fail when running `check make` (after `make`) in my openSUSE Tumbleweed using current Ruby trunk version:
```
[ 1080/19451] OpenSSL::TestEC#test_ec_point_mul = 0.00 s
... - 07:01 PM Revision cb3393ad (git): * 2018-12-20
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66456 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:01 PM Revision 4760b6b5 (git): * gems/bundled_gems: Upgrade the did_you_mean gem to 1.3.0
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:32 PM Feature #11266: [PATCH] WEBrick: allow subclassing of Response and Request
- me@julik.nl wrote:
> It has been... a very long time. Nobu, is there something else I can do?
>
> https://bugs.ruby-lang.org/issues/11266#change-74992
Committed as r66452. Sorry for the delays, I wasn't webrick
maintainer at the... -
11:08 AM Feature #11266 (Closed): [PATCH] WEBrick: allow subclassing of Response and Request
- Applied in changeset trunk|r66452.
----------
webrick: add the ability to override res, req creation
So that a customized HTTPServer subclass can use it's own
Request/Response classes.
To apply the override, make a subclass of WEBrick... -
12:57 PM Revision 097ee409 (git): Update entry of Psych on NEWS file.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:46 PM Revision f43a333d (git): Update entry of RubyGems on NEWS file.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
11:30 AM Feature #13581: Syntax sugar for method reference
- From [developer's meeting log](https://docs.google.com/document/d/1q22gVRNbCIYOQw2djH4UPmT0gxVoBKvjvs0MqX5ILcU/pub):
> 2.7 or later
> ...
The last Matz's notice makes a lot of sense for me, so I withdraw my petition for `self`-less o... - 11:08 AM Revision 4038d013 (git): webrick: add the ability to override res, req creation
- So that a customized HTTPServer subclass can use it's own
Request/Response classes.
To apply the override, make a subclass of WEBrick::HTTPServer
and override the
`create_request_and_response(with_webrick_config)` method. The
method sho... -
09:41 AM Bug #15434 (Closed): Fix up for r66448 - add option to deal with Unicode beta data files
- Hello Greg,
Many thanks for this fix. I think it's good to have one or two ci instances somewhere to not cache these files, but we should try to reduce the actual downloads as much as possible to reduce the load on the Unicode Consort... -
02:41 AM Bug #15434 (Closed): Fix up for r66448 - add option to deal with Unicode beta data files
- Appveyor build failed, Travis passed. I believe Travis is caching files, Appveyor is not.
See attached patch.
Thanks & Happy Holidays, Greg -
08:08 AM Feature #15435 (Open): Float の Infinity に生成済みの値を使用する
- Float の Infinity はしばしば使われると思うのですが、Flonum が有効でも即値に
ならないので、演算の結果や C から DBL2NUM で返却される場合などに毎回オブ
ジェクトが生成されます。
Ruby リポジトリーで、Infinity オブジェクトが生成されると明確に分かる場所を簡
単に調べた限りでは20数箇所ありました。
~~~
$ grep 'DBL2NUM.*HUGE_VAL' $(git ls-files | awk '/... -
07:59 AM Bug #15390: Error installing nokogiri on ruby-2.6.0-rc1
- Don't mind, one-line comment may be overlooked easily.
I'll paste the content not only a link, next time. -
07:20 AM Revision 92e72662 (git): Merge RubyGems 3.0.0 from upstream.
- https://blog.rubygems.org/2018/12/19/3.0.0-released.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
07:02 AM Revision b0f6781e (git): Update metadata of Bundler 1.17.2
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:08 AM Revision 13c15beb (git): avoid passing unnecessary options to download method
- The option --unicode-beta for tool/downloader.rb introduced in
r66448 must not be passed as an option to actual download machinery.
Thanks to MSP-Greg (Greg L.) for bug report and patch.
This closes issue #15434.
git-svn-id: svn+ssh://c... -
02:03 AM Bug #15430 (Assigned): test_fork_while_parent_locked is failing status on Ruby CI
- @normalperson
It still exists. https://rubyci.org/logs/rubyci.s3.amazonaws.com/centos7/ruby-trunk/log/20181218T230003Z.fail.html.gz -
01:42 AM Feature #14757: [PATCH] thread_pthread.c: enable thread cache by default
- Eric Wong wrote:
> ko1 brought up a good point: this may interact badly with
> 3rd-party libraries which use thread-local storage via
> pthread_getspecific/pthread_setspecific (or compiler
> extensions).
> So, we might need to d... -
01:13 AM Bug #15427: Assertion Failed: vm_method.c:858:prepare_callable_method_entry:callable_method_entry_p(cme)
- Thank you, ko1 and nobu :)
-
12:26 AM Revision eb2e931f (git): add option to deal with Unicode beta data files
- Unicode uses file names with explicit versions for beta publication.
This commit introduces a variable on the makefile level to distinguish
between beta and regular versions of file names.
common.mk: Define new variable UNICODE_BETA, us...
12/18/2018
-
11:36 PM Revision d1dce26b (git): sample/fib.py: Fix syntax error in Python 3 [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
10:33 PM Bug #15428: Refactor Proc#>> and #<<
- Are you sure that .call had the same meaning as to_proc?
I vaguely remember the old pickaxe having mentioned .call a
lot, but I can not recall it having mentioned to_proc much
at all. It has been quite some years since I last had a ... -
07:35 PM Bug #15390: Error installing nokogiri on ruby-2.6.0-rc1
- Thank you Nobuyoshi!
As you know, I indeed was overlooking something, specifically your comment and link on note #2 when you correctly changed the Status to "Third Party's Issue." I saw the workaround in note #1 and the confirmation ... -
06:56 PM Bug #15427: Assertion Failed: vm_method.c:858:prepare_callable_method_entry:callable_method_entry_p(cme)
- Thank you for your report.
This issue was from Ruby 2.0 :p
-
08:33 AM Bug #15427 (Closed): Assertion Failed: vm_method.c:858:prepare_callable_method_entry:callable_method_entry_p(cme)
- Applied in changeset trunk|r66436.
----------
should use defined_class.
* vm_insnhelper.c (vm_call_method_each_type): we should use me->defined_class
instead of me->owner because me->owner doesn't has correct ancestors list.
[Bug #... - 06:25 PM Revision a57acb73 (git): thread_pthread.c (ubf_timer_destroy): more careful state transition
- We must not call timer_destroy while another thread is
calling timer_settime to arm the timer.
cf. http://ci.rvm.jp/results/trunk-iseq_binary@silicon-docker/1541578
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66446 b2dd03c8-39d4-... -
06:25 PM Bug #15433 (Closed): OpenStruct NameError vs NoMethodError spec fails for method_missing
- ```
I've hit this with parallel tests on a bare trunk on all my Debian stable
machines, not sure why, yet:
1)
OpenStruct#method_missing when passed additional arguments raises a NoMethodErro
r ERROR
NameError: undefined local var... -
05:14 PM Feature #15393: Add compilation flags to freeze Array and Hash literals - > I would like to add VM compilation options to freeze array and hash literals. For example:
My two samples:
~~~ ruby
#!/usr/local/bin/ruby -w
def frequency(text)
def prepare_string(text)
text.gsub!(",", "") ... -
04:11 PM Revision 75f36bdc (git): Constified to fix warning at r66442
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:01 PM Revision 278648b5 (git): CHDIR to follow symlink [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:11 PM Revision 7b6f2e2c (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:11 PM Revision a80cc953 (git): Expand cross-recursion to a loop
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:06 PM Revision 011bee2d (git): * 2018-12-19
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:06 PM Revision eff78408 (git): Freeze and hide callback arguments holder
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:59 PM Bug #15114 (Closed): Ruby で定義したメソッドに `&:hoge` を渡しても refinements が有効にならない
- Applied in changeset trunk|r66439.
----------
Enable refinements on symbol-proc in ruby-level methods
* vm_args.c (refine_sym_proc_call): resolve refinements when the
proc is invoked, instead of resolving at making the proc, to
ena... -
01:59 PM Revision 188b6739 (git): Enable refinements on symbol-proc in ruby-level methods
- * vm_args.c (refine_sym_proc_call): resolve refinements when the
proc is invoked, instead of resolving at making the proc, to
enable refinements on symbol-proc in ruby-level methods
* vm.c (vm_cref_dup): clear cached symbol-procs wh... -
11:05 AM Misc #15431: Hashes and arrays should not require commas to seperate values when using new lines
- I like the idea from one point of view - **convenience**. A bit
similar to changes such as require 'pp' being available by default;
of course it is not the same as the proposal here, since the
proposal here refers to a syntax change, ... -
07:14 AM Misc #15431: Hashes and arrays should not require commas to seperate values when using new lines
- It has been already proposed at #10528.
-
04:14 AM Misc #15431 (Open): Hashes and arrays should not require commas to seperate values when using new lines
- Ruby should not require commas for hash and array values if using new lines. I think the syntax would look cleaner without.
**Example**
~~~
myHash = {
:key => “value”,
:anotherKey => “another value”
}
~~~
**Could be**
~~~
... -
09:52 AM Bug #15424: Ruby 2.6.0rc1 & 2.6.0rc2 mutex exception
- r66438 should fix it. Sorry for the bugs :x
-
09:21 AM Bug #15424 (Closed): Ruby 2.6.0rc1 & 2.6.0rc2 mutex exception
- Applied in changeset trunk|r66438.
----------
thread_sync.c (mutex_ptr): only reinitalize waitqueue at fork
Mutexes need to remain locked after forking.
This fixes "[BUG] invalid keeping_mutexes: Attempt to unlock a
mutex which is loc... -
09:52 AM Bug #15430: test_fork_while_parent_locked is failing status on Ruby CI
- r66438 should fix it. Ugh, I clearly shouldn't be allowed near
a keyboard anymore :< -
09:21 AM Bug #15430 (Closed): test_fork_while_parent_locked is failing status on Ruby CI
- Applied in changeset trunk|r66438.
----------
thread_sync.c (mutex_ptr): only reinitalize waitqueue at fork
Mutexes need to remain locked after forking.
This fixes "[BUG] invalid keeping_mutexes: Attempt to unlock a
mutex which is loc... -
04:32 AM Bug #15430: test_fork_while_parent_locked is failing status on Ruby CI
- Thanks. Maybe related to [Bug #15430]. Will investigate in coming days.
-
01:11 AM Bug #15430 (Closed): test_fork_while_parent_locked is failing status on Ruby CI
- After r66230, TestThread#test_fork_while_parent_locked is failing status on Ruby CI.
See
* CentOS 7 https://rubyci.org/logs/rubyci.s3.amazonaws.com/centos7/ruby-trunk/log/20181217T230002Z.fail.html.gz
* Amazon Lunux 2 https://ruby... - 09:21 AM Revision 1df9c2bc (git): thread_sync.c (mutex_ptr): only reinitalize waitqueue at fork
- Mutexes need to remain locked after forking.
This fixes "[BUG] invalid keeping_mutexes: Attempt to unlock a
mutex which is locked by another thread" and should
fix test_fork_while_parent_locked failures in CI
[ruby-core:90581] [Bug #15... -
08:46 AM Bug #15432 (Closed): Float の NaN のみを含む配列比較のテスト
- Float の NaN のみを含む配列比較のテストが以下にあります。
~~~ ruby
## spec/ruby/core/array/equal_value_spec.rb:47
# As per bug #1720
it "returns false for [NaN] == [NaN]" do
[nan_value].should_not == [nan_value]
end
~~~
しかし、これは #1720 で未定義動作とすると... - 08:33 AM Revision 47127762 (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:33 AM Revision 2103333e (git): should use defined_class.
- * vm_insnhelper.c (vm_call_method_each_type): we should use me->defined_class
instead of me->owner because me->owner doesn't has correct ancestors list.
[Bug #15427]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66436 b2dd03c8-... - 08:11 AM Revision 84b49707 (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
08:11 AM Revision 542e63b9 (git): rb_raw_obj_info() support T_MODULE and T_ICLASS.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
06:49 AM Revision 301ae01b (git): Bump version to 1.0.0.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:10 AM Feature #14820 (Closed): [PATCH] ipaddr.rb: use frozen_string_literal
- Merged in r66432, thanks!
-
05:09 AM Feature #11210 (Closed): IPAddr has no public method to get the current subnet mask
- 05:09 AM Revision ab364fb5 (git): Import ipaddr 1.2.2
- - Enable frozen_string_literal and do a bit of code cleanup
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:09 AM Revision 78dc3da2 (git): Pathname#relative_path_from uses is_a?
- I reconsidered because simpler code would have better maintainablity.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:01 AM Revision 623c6d97 (git): Bump version to psych 3.1.0.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:46 AM Bug #15426 (Assigned): BigDecimal: "1.2.3".to_d が 0.0 になる
-
01:45 AM Bug #15426: BigDecimal: "1.2.3".to_d が 0.0 になる
- こんなところでしょうか。
```diff
diff --git i/ext/bigdecimal/bigdecimal.c w/ext/bigdecimal/bigdecimal.c
index 64d7f20078..052fdc57b9 100644
--- i/ext/bigdecimal/bigdecimal.c
+++ w/ext/bigdecimal/bigdecimal.c
@@ -4271,7 +4271,7 @@ VpAlloc(siz...
12/17/2018
-
11:06 PM Bug #15429 (Closed): Fix test failure if ENV["USER"] doesn't match Process.euid
- Thanks. r66428
Oops, forgot to edit commit message before committing :x
-
10:07 PM Bug #15429 (Closed): Fix test failure if ENV["USER"] doesn't match Process.euid
- When dropping privileges to run tests, ENV["USER"] could be set
to a user that doesn't match Process.euid, which causes
test_seteuid_name to fail with Errno::EPERM.
Attached is a patch that fixes this issue by trying to get the
nam... - 10:49 PM Revision 04a9b0da (git): * 2018-12-18
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 10:48 PM Revision 5245ed6b (git): Fix test failure if ENV["USER"] doesn't match Process.euid
- When dropping privileges to run tests, ENV["USER"] could be set
to a user that doesn't match Process.euid, which causes this
test to fail with Errno::EPERM. Try to get the name for the
current euid, and only fallback to ENV["USER"] if t... -
10:00 PM Bug #15428: Refactor Proc#>> and #<<
- BTW, having `>>` and `<<` convert objects via `to_proc` would have a nice (?) addition of chaining symbols too:
```ruby
PROCESS = ->(url) { get(url) } >> JSON.method(:parse) >> :symbolize_keys >> :invert
``` -
09:56 PM Bug #15428 (Feedback): Refactor Proc#>> and #<<
- #6284 introduced `Proc#>>` and `Proc#<<`, but the requirements to the argument is totally inconsistent with ANY other place in Ruby.
Currently, it is the **only** place in Ruby where coercing argument to `Proc` is done with `#call` me... -
05:16 PM Feature #15301: Symbol#call, returning method bound with arguments
- @zverok wrote:
> I don't believe it is possible at all (both from the technical and organizational points of view).
Ah ok bummer if true! Can you please clarify what you meant by `organizational` above?
Note to future self (or oth... -
04:08 PM Bug #15427 (Closed): Assertion Failed: vm_method.c:858:prepare_callable_method_entry:callable_method_entry_p(cme)
- 以下のようなコードで Ruby(trunk) が SEGV しました。
## 再現コード
```ruby
module M1
def bar
"bar"
end
end
module M2
include M1
# これをコメントアウトすると落ちない
private(*M1.instance_methods(false))
def meth
bar
end
end
sel... -
03:54 PM Bug #15426 (Closed): BigDecimal: "1.2.3".to_d が 0.0 になる
- Ruby 2.6.0-rc2 で "1.2.3".to_d が 0.0 になります。
```
% ruby -v -rbigdecimal -rbigdecimal/util -e 'p "1.2.3".to_d'
ruby 2.6.0rc2 (2018-12-15 trunk 66408) [x86_64-linux]
0.0
```
Ruby 2.5.3p105 では 0.12e1 を返してました。
```
% ruby -v -rbig... -
03:08 PM Feature #15425: Store MJIT header into Ruby versioned directory.
- I am using `--with-rubyhdrdir=/usr/include --with-rubyarchhdrdir=/usr/include --enable-multiarch` configuration options. This is the output:
~~~
$ tree
.
`-- ruby-2.6.0
|-- ruby
| |-- backward
| | |-- classext.... -
02:29 PM Feature #15425 (Feedback): Store MJIT header into Ruby versioned directory.
- It should be placed under the directory which has the version and architecture name.
How did you configure it? -
12:19 PM Feature #15425 (Closed): Store MJIT header into Ruby versioned directory.
- This is a followup of #15391 which fixes JIT to respect the configuration options. However, I still wonder, why the file is versioned and why it is not stored in the versioned directory alongside all other internal Ruby headers. I believ...
-
07:42 AM Feature #14813: [PATCH] gc.c: make gc_enter+gc_exit pairs dtrace probes, too
- On 2018/12/16 21:20, Eric Wong wrote:
> I think the caps change is a minor issue. It's more important to
> use ALL_CAPS to help identify macros (because of side-effects).
I mean, to reach "gc_enter" function is a bit difficult bec... -
06:03 AM Bug #15424: Ruby 2.6.0rc1 & 2.6.0rc2 mutex exception
- mat999@gmail.com wrote:
> /.../config/application.rb:107: [BUG] invalid keeping_mutexes: Attempt to unlock a mutex which is locked by another thread
> ruby 2.6.0rc2 (2018-12-15 trunk 66408) [armv8l-linux-eabihf]
Are you able to rep... -
03:13 AM Bug #15424 (Closed): Ruby 2.6.0rc1 & 2.6.0rc2 mutex exception
- Steps to reproduce
At the end of a bootstraped rails application (tested with a postgres database) put the following code:
pid = fork do
STDOUT.sync = true
STDERR.sync = true
require('rake')
Application.load_tasks
Rake::Task... -
05:57 AM Revision b824c871 (git): Split test_fnmatch
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:58 AM Revision 713f360d (git): Already nlink is properly set on Windows
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:58 AM Revision 990c8759 (git): Split test_expand_path, test_basename, test_dirname
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:43 AM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map
- tny (Tony Sunny) wrote:
> Could't we use reduce for this?
> ...
Yep, that's mentioned in the original ticket too. There's also #each_with_object that lets you write the block almost the same as in the proposal:
~~~ruby
(1..10).each... - 03:08 AM Revision 7d4bfb53 (git): NEWS: Note for the bigdecimal versions
- The differences between bigdecimal 1.3.5, 1.4.0, and 1.5.0 are explained.
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
01:36 AM Bug #15154 (Closed): OpenBSD make(1) can't build node_name.inc
- Applied in changeset trunk|r66423.
----------
Workaround for OpenBSD make
* common.mk: read from node.h in the source directly, without
VPATH. [ruby-core:89151] [Bug #15154]
From: kernigh (George Koehler) <xkernigh@netscape.net> -
01:36 AM Revision 6da6492d (git): Workaround for OpenBSD make
- * common.mk: read from node.h in the source directly, without
VPATH. [ruby-core:89151] [Bug #15154]
From: kernigh (George Koehler) <xkernigh@netscape.net>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66423 b2dd03c8-39d4-4d8f-98... - 12:43 AM Revision 89955d54 (git): * 2018-12-17
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
12:43 AM Revision 95fbd87f (git): Range check is only for interaval
- * time.c (time_timespec): range check is only for time interval
value if time_t is signed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/16/2018
-
10:09 PM Bug #14018 (Third Party's Issue): Sidekiq rejects output of Marshal.dump
-
09:58 PM Feature #15301: Symbol#call, returning method bound with arguments
- I don't believe it is possible at all (both from the technical and organizational points of view).
If you do, probably you should create another ticket, not turning this one, pretty short and focused on _one particular proposal_ into th... -
09:55 PM Feature #15301: Symbol#call, returning method bound with arguments
- zverok (Victor Shepelev) wrote:
> ...but instead will require the change of ALL the methods in standard library accepting a block? Or what do you mean?..
Exactly - no new method/operator, just changes at the parser/compiler level -
09:44 PM Feature #15301: Symbol#call, returning method bound with arguments
- > ...which wouldn't require a new method/operator?
...but instead will require the change of ALL the methods in standard library accepting a block? Or what do you mean?.. -
09:24 PM Feature #15301: Symbol#call, returning method bound with arguments
- @matz @zverok
What do you think of this alternative syntax which wouldn't require a new method/operator?
```ruby
[1, 2, 3, 4].map(&:**, 2) #=> [1, 4, 9, 16]
[1, 2, 3].tap(&:delete, 1) #=> [2, 3]
``` -
07:47 PM Feature #15301: Symbol#call, returning method bound with arguments
- @matz (Yukihiro Matsumoto) wrote:
> Interesting idea of partial evaluation, but `call` is too generic, and could cause confusion. I am not positive about the expression.
Believe this concept is called [partial application](https://en... -
09:57 PM Bug #15219 (Closed): Backport: Ruby 2.5.X to support OpenSSL 1.1.1 and TLS 1.3
- Close to be on tracking on backport process.
-
09:52 PM Misc #15342 (Closed): DevelopersMeeting20181212Japan
-
09:52 PM Feature #15344 (Feedback): Being proactive about Ruby security
-
09:46 PM Bug #15414 (Closed): backport #14571 (File descriptor leak in resolv.rb)
- Changed backport field of #14571, thank you for reporting!
-
08:02 PM Feature #15419: Allow Kernel#tap to be invoked with arguments like Kernel#send
- > Eregon (Benoit Daloze) wrote:
> ...
Perfect thanks @Eregon, [pull request](https://github.com/ruby/ruby/pull/2050) updated!
> oleynikov (Alexander Oleynikov) wrote:
> ...
Thanks for the links to the other discussions @oleynikov, p... -
10:58 AM Feature #15419: Allow Kernel#tap to be invoked with arguments like Kernel#send - It is not backward compatible.
And I'm not sure why we need to change just `#tap` and not other methods.
There are some discussions going on about passing arguments whith `Symbol#to_proc` shorthand: #12115, #15301, etc. Personally I'... -
10:44 AM Feature #15419: Allow Kernel#tap to be invoked with arguments like Kernel#send
- shuber (Sean Huber) wrote:
> The `ruby/spec on Ruby 2.3` check is failing in this PR - I'm not sure what the existing conventions are for adding specs for new features like this.
> ...
Yes, in such a case you need to use `ruby_version_... -
06:53 PM Feature #15215: HTTPS server name indication (SNI): explicit server_name in Net::HTTP - I still like to have this feature. Any opinion on this? Especially @naruse as a maintainer of lib/net/http(s).rb?
Thanks! -
04:32 PM Misc #15275: [DOCs] Documentation for ruby's jit model - from the ruby "end user" perspective
- I know these explanations are obviously not end-user friendly yet. To be improved.
-
04:31 PM Misc #15275: [DOCs] Documentation for ruby's jit model - from the ruby "end user" perspective
- For the initial version of (3) and (4), I added a few Advantages/Disadvantages explanations on that page.
-
04:18 PM Misc #15275 (Closed): [DOCs] Documentation for ruby's jit model - from the ruby "end user" perspective
- In https://bugs.ruby-lang.org/projects/ruby/wiki/MJIT, I finished the following parts:
(1) Done.
(5) Linked from https://bugs.ruby-lang.org/projects/ruby/wiki. Also I'll add a link to it in the final release note.
Closing this tic... -
03:07 PM Misc #15275 (Feedback): [DOCs] Documentation for ruby's jit model - from the ruby "end user" perspective
- I'm struggling to remember the contents of this ticket in my small memory, so I'll summarize what I interpreted here:
## terminology
* end user: semi-advanced ruby user
## missing documentation
* how such a "end user" may ben... -
02:54 PM Revision 968fcd83 (git): [DOC] Update Object#=~ [ci skip]
- see r65989
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:28 PM Bug #15423 (Open): fork leapfrog leaks memory on FreeBSD 11.2
- It happens on 2.4.5, too; so it's not a new problem.
fork leap-frogging (without exec) is an uncommon case,
so I'll let somebody else fix it.
-
02:26 PM Bug #15421: erb コマンドの -P オプションの説明
- おっしゃる通りと思いましたので、そのままパッチを取り込まさせていただきました。
が、パッチ作成者の情報をコミットメッセージに入れ忘れたままコミットしてしまいました…すみません。 -
02:24 PM Bug #15421 (Closed): erb コマンドの -P オプションの説明
- Applied in changeset trunk|r66419.
----------
bin/erb: improve documentation of -P flag
man/erb.1: ditto
[Bug #15421] -
11:49 AM Bug #15421 (Closed): erb コマンドの -P オプションの説明
- `erb` コマンドの `-P` オプションは、`%` で始まる行を Ruby コードとして評価する機能を無効にする、という意味だと思うのですが、man ページの説明は以下のようになっていて正しくないように思います。
~~~
-P Evaluates lines starting with % as Ruby code and removes
the tailing EOLs.
~~~
また、`erb --help` の説明は以下のよ... -
02:24 PM Revision f84ae88b (git): bin/erb: improve documentation of -P flag
- man/erb.1: ditto
[Bug #15421]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:13 PM Bug #15422 (Closed): Re: [ruby-cvs:73514] normal:r66413 (trunk): thread_pthread.c: fix memory leak from fork loop leapfrog (v3)
- > https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66413
Finally fixed for GNU/Linux. Not on FreeBSD 11.2,
but it was also present in 2.4.5:
==> fork_leapfrog_freebsd.rb <==
require 'io/wait'
prev =... -
01:04 PM Bug #9367 (Closed): REXML::XmlDecl doesn't use user specified quotes
- I've implemented `:prologue_quote` context option. Available values are `:quote` and `:apostrophe`.
https://github.com/ruby/rexml/commit/e89702294881a8aedb15905d8a85137876749f7f -
01:04 PM Bug #11176 (Closed): Hardcoded settings in REXML
- I've implemented `:prologue_quote` context option. Available values are `:quote` and `:apostrophe`.
https://github.com/ruby/rexml/commit/e89702294881a8aedb15905d8a85137876749f7f -
12:56 PM Bug #15420 (Closed): Kernel#sleep などに負数を渡したときのエラーメッセージ
- Applied in changeset trunk|r66418.
----------
Refine error message for time interval
* time.c (time_timespec): Time interval value can be zero, not
only positive. [ruby-dev:50709] [Bug #15420]
From: shuujii (Shuji KOBAYASHI) <shuuj... -
05:23 AM Bug #15420 (Closed): Kernel#sleep などに負数を渡したときのエラーメッセージ
- `sleep` に負数を渡した場合のエラーメッセージは以下のようになります。
~~~
$ ruby -e 'sleep(-1)'
Traceback (most recent call last):
1: from -e:1:in `<main>'
-e:1:in `sleep': time interval must be positive (ArgumentError)
~~~
しかし、0 は許容されているので "must not be n... -
12:55 PM Revision 9446db40 (git): Refine error message for time interval
- * time.c (time_timespec): Time interval value can be zero, not
only positive. [ruby-dev:50709] [Bug #15420]
From: shuujii (Shuji KOBAYASHI) <shuujii@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66418 b2dd03c8-39d4-4d... - 12:33 PM Revision bb1e08e7 (git): thread_pthread (ubf_timer_destroy): use VM_ASSERT
- Don't need the overhead at runtime
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:26 PM Revision 4cf82863 (git): Pathname#relative_path_from compatible with mock.
- [Fix GH-2049]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
12:22 PM Feature #14813: [PATCH] gc.c: make gc_enter+gc_exit pairs dtrace probes, too
- > https://bugs.ruby-lang.org/issues/14813#change-75529
>
> I have no strong idea. If it will help for systemtap user. I don't care.
> (I feel changinge "gc_enter" to "GC_ENTER" is a bit difficult to read, but I understand why...).
... -
12:09 PM Bug #15411 (Closed): Enhance Tempfile docs
- Applied in changeset trunk|r66415.
----------
Enhance Tempfile docs [ci skip]
[ruby-core:90525] [Bug #15411]
From: zverok (Victor Shepelev) <zverok.offline@gmail.com> -
12:09 PM Revision 13fd78c2 (git): Enhance Tempfile docs [ci skip]
- [ruby-core:90525] [Bug #15411]
From: zverok (Victor Shepelev) <zverok.offline@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
11:00 AM Feature #15408: Deprecate ObjectSpace._id2ref
- Let's deprecate `ObjectSpace._id2ref` in 2.7 then.
I think we also need to address the usage in DRb. cc @seki -
10:57 AM Feature #15408: Deprecate ObjectSpace._id2ref
- Eregon (Benoit Daloze) wrote:
> @naruse @matz Is it still time to deprecate `ObjectSpace._id2ref` for 2.6, or is it too late already in the release cycle?
For 2.6, it's too late because people don't have a chance to check the breakag... -
10:49 AM Feature #15408: Deprecate ObjectSpace._id2ref
- @naruse @matz Is it still time to deprecate `ObjectSpace._id2ref` for 2.6, or is it too late already in the release cycle?
-
10:50 AM Bug #15390: Error installing nokogiri on ruby-2.6.0-rc1
- Try nokogiri v1.9.0.rc1.
https://github.com/sparklemotion/nokogiri/issues/1833#issuecomment-445699368 - 07:51 AM Revision 3b13bc63 (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 07:51 AM Revision f547d391 (git): thread_pthread.c: fix memory leak from fork loop leapfrog (v3)
- Constantly forking a single-threaded process in a loop leads to
a memory leak when using POSIX timers. This fixes the leak for
GNU/Linux systems running glibc.
v2: disarm before timer_delete
v3: ubf_timer_arm prevents double-arming
Th... -
12:55 AM Revision 9fa6af24 (git): spec/../initialize_spec.rb: skip fd-specific spec
- https://gist.github.com/ko1/72c03695e81a54d40649f29d0c421f26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
12/15/2018
-
11:34 PM Feature #15419: Allow Kernel#tap to be invoked with arguments like Kernel#send
- The `ruby/spec on Ruby 2.3` check is failing in this PR - I'm not sure what the existing conventions are for adding specs for new features like this.
* Should the new tests be wrapped in `unless RUBY_VERSION <= "2.3"` conditions?
* O... -
08:51 PM Feature #15419 (Open): Allow Kernel#tap to be invoked with arguments like Kernel#send
- Tapping methods without any arguments already has nice shorthand via `Symbol#to_proc`:
```ruby
object.tap { |o| o.example }
# vs
object.tap(&:example)
```
Unfortunately once other arguments are involved we have to switch back t... -
11:30 PM Bug #15390: Error installing nokogiri on ruby-2.6.0-rc1
- I have confirmed that this bug is still present in rc2.
I have not changed the Status from "Third Party's Issue" to "Open", but unless I'm overlooking something, I do think that would be appropriate.
I'm hoping that someone who is ... -
09:48 PM Feature #8896: #tap with missing block
- `Kernel#tap` related: Allow `Kernel#tap` to be invoked with arguments like `Kernel#send` - https://bugs.ruby-lang.org/issues/15419
If the `LocalJumpError` breaking change from this ticket is not an issue then it'd be pretty easy to ad... - 09:28 PM Revision 5c130f94 (git): * 2018-12-16
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:28 PM Revision 52a71df0 (git): time.c: [DOC] improve docs for tz argument of Time.new
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:17 PM Misc #15418: Date.parse('2018')
- I can understand you to some extent.
I live in Europe and we tend to use the dd.mm.yyyy notation a lot,
at the least in central europe; so I would have assumed that
Date.parse('2018') would mean Date.parse('01.01.2018'), even
thoug... -
06:43 PM Misc #15418 (Open): Date.parse('2018')
- Date.parse('2018')
ArgumentError: invalid date
I did expect that to return the same as:
Date.parse('2018-1-1')
=> Mon, 01 Jan 2018
working with dates and times is really weird and complicated,
so it makes sense to be strict wit... -
02:45 PM Revision c3641d5b (git): Revert "* expand tabs."
- This reverts commit 298180f0450df6e975057cc7e90b3ae3248586fc.
It looks like we should not expand ext/nkf:
https://git.ruby-lang.org/ruby-commit-hook.git/commit/?id=91fd9708b7cf04a4dcddd9614c24e27ddef5d43b
git-svn-id: svn+ssh://ci.ruby-... -
02:29 PM Feature #15408: Deprecate ObjectSpace._id2ref
- I agree with removing `_id2ref` (gradually for not breaking existing code, of course).
I am against removing `object_id` since it is used widely. But by removing `_id2ref`, the implementation of `object_id` can be separated from pointer... -
01:27 PM Feature #15393: Add compilation flags to freeze Array and Hash literals
- tenderlovemaking (Aaron Patterson) wrote:
> I thought about doing this with ".freeze", introducing a special instruction the same way we do for the `"string".freeze` optimization, but dealing with deoptization in the case someone monkey... -
01:20 PM Bug #15416: 配列リテラル内の引数を伴う括弧なしのメソッド呼び出しで syntax error
- 1.8でも -w オプション付きなら警告が出るようになったはずだったんですが、結局その1.8.8はリリースされず1.9になってしまったんですよね…。
-
03:01 AM Bug #15416: 配列リテラル内の引数を伴う括弧なしのメソッド呼び出しで syntax error
- もうちょっと調べてみたんですが `#[]` だと `[meth(1, 2)]` として扱われるんですね、なるほど。
```ruby
class X
def [](*args)
args
end
end
def meth a, b = 42
a + b
end
def hoge
X.new[meth 1, 2] # => [meth(1, 2)]
end
hoge # => [3]
``` -
02:55 AM Bug #15416: 配列リテラル内の引数を伴う括弧なしのメソッド呼び出しで syntax error
- これですが、メソッド呼び出しに `()` を付けると問題ないようですね
```shell
$ ruby -ce '[p(1)]'
Syntax OK
```
また、 `()` をつけない場合、次のような問題があるかと思います。
```ruby
def meth a, b = 42
a + b
end
def hoge
[meth 1, 2] # => [meth(1), 2] or [meth(1, 2)] ?
end
... -
02:42 AM Bug #15416 (Closed): 配列リテラル内の引数を伴う括弧なしのメソッド呼び出しで syntax error
- 以下のような配列リテラル内の引数を伴う括弧なしのメソッド呼び出しで syntax error が発生します。
~~~
$ ruby -ce '[p 1]'
-e:1: syntax error, unexpected tINTEGER, expecting do or '{' or '('
[p 1]
^
~~~
メソッドの `[]` や `[]=` の中ではエラーにならないので許容されたほうが良いと思います。
~~~
$ ruby... -
12:22 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
- > https://bugs.ruby-lang.org/issues/13618
Rebased against r66407, fixed fork+GC bug on th->interrupt_lock
and added RDoc for Thread::Light class
https://80x24.org/ruby.git thread-light-r66407
(also, the "thread-light" branch is ... -
10:44 AM Bug #15407 (Closed): bundle, bundler, irb, rdoc, ri commands broken if --program-suffix configure option is used
- It's fixed by r66384
- 09:55 AM Revision 298180f0 (git): * expand tabs.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
09:55 AM Revision 96b32a01 (git): Merge nkf v2.1.5
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:04 AM Revision 2812ffc6 (git): use System Monitor Control for spec of Win32OLE.
- * spec/ruby/library/win32ole/win32ole_method/event_interface_spec.rb:
use System Monitor Control instead of Microsoft Internet Control
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 04:40 AM Revision 05da6568 (git): test/lib/test/unit.rb: do not propagate MAKEFLAGS to children
- Propagating MAKEFLAGS to children running test/unit caused stuck
tests with GNU make when "-jN" is passed in both the make(1)
command-line and the "TESTS=" variable; because the forked child
process would see MAKEFLAGS and try to use job... -
04:35 AM Bug #15417 (Closed): Pathname case insensitive comparison
- While fixing some issues with Pathname, I noticed the following comparison:
```
SAME_PATHS = if File::FNM_SYSCASE.nonzero?
# Avoid #zero? here because #casecmp can return nil.
proc {|a, b| a.casecmp(b) == 0}
else
... -
03:03 AM Feature #15195: Deal with new Japanese era
- According to https://www.japantimes.co.jp/news/2018/12/06/national/politics-diplomacy/japan-mulls-announcing-new-era-name-april-11-sources/#.XBQPC6qWxD8, the announcement of the new area name may be postponed until about April 11.
-
01:13 AM Feature #15413: unmarkable C stack (3rd stack)
- Koichi Sasada <ko1@atdot.net> wrote:
> On 2018/12/15 6:32, normalperson@yhbt.net wrote:
> > We should experiment a bump allocator for temporary allocations which
> > behaves like the stack, but does not get marked by GC. VALUEs will... -
01:04 AM Feature #15413: unmarkable C stack (3rd stack)
- On 2018/12/15 6:32, normalperson@yhbt.net wrote:
> We should experiment a bump allocator for temporary allocations which
> behaves like the stack, but does not get marked by GC. VALUEs will continue
> to be allocated on normal C sta... -
12:27 AM Feature #15415 (Closed): [PATCH] fileutils (mv): fall back to copy + unlink on EPERM
- fileutils (mv): fall back to copy + unlink on EPERM
With ext4 encrypted directories, renaming a file from an
unencrypted directory to an encrypted directory gives EPERM.
Fall back to copying and unlink in that case, since it's
simi...
12/14/2018
-
09:50 PM Bug #15414 (Closed): backport #14571 (File descriptor leak in resolv.rb)
- https://bugs.ruby-lang.org/issues/14571 was merged to 2.6 and backported to 2.3 and 2.4
it should be also backported to 2.5 -
09:32 PM Bug #15362: [PATCH] Avoid GCing dead stack after switching away from a fiber
- Did this get backported to ruby_2_5? I don't see a corresponding commit in the github mirror https://github.com/ruby/ruby/commits/ruby_2_5
-
09:32 PM Feature #15413 (Open): unmarkable C stack (3rd stack)
- The current machine (C) stack can get pretty big for some C functions
(rb_ensure, rb_f_select/rb_thread_fd_select/...). This is harmful when we stop
a fiber/thread and all that stack becomes eligible for marking.
We should experime... -
08:32 PM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map - nardonykolyszyn@gmail.com wrote:
> (1..10).map { |e| e.even? ? (e * 2) : e }
Yeah, but without `#filter` this is still an array with 10 elements. -
07:58 PM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map
- (1..10).map { |e| e.even? ? (e * 2) : e }
-
07:51 PM Feature #15393: Add compilation flags to freeze Array and Hash literals
- I've been waiting this for a while. I'm completely agree.
-
05:35 PM Feature #11076: Enumerable method count_by
- For me the definition of tally does seem to fit the use case, so +1 to `tally(_by)`.
Couple of alternatives, how about:
- [census](https://www.merriam-webster.com/dictionary/census) (as in `census_by(&:downcase)`)
- [inventory](h... - 03:18 PM Revision 347ed211 (git): * 2018-12-15
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:18 PM Revision 4113b303 (git): proc.c: [DOC] fix typos
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:50 PM Bug #15392: Crash in RubyVM::InstructionSequence#to_binary
- shyouhei (Shyouhei Urabe) wrote:
> It seems fixed on my machine. Can be a dup of #14897 ?
The symptoms I observed are the same as #15200, so I expect it is a duplicate of that issue. -
12:08 PM Bug #15412 (Closed): backport r66401 (Move autoload to toplevel)
- チケットの backport 管理用です。
r66401 は ruby_2_4、ruby_2_5 でも autoload が module 内に書かれているので backport が必要かと思います。
-
09:44 AM Revision 6ecafe0c (git): Move autoload to toplevel
- So that classes which uses Net::HTTP with https can use OpenSSL
namespace for example exception classes like OpenSSL::SSL::SSLError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
08:01 AM Revision 67f59eb4 (git): fix r66163
- OpenSSL maybe aren't loaded in rubygems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e - 05:44 AM Revision 69ab98ff (git): * remove trailing spaces. [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
05:44 AM Revision 5a5dafb7 (git): tweak syntax of Proc documentation [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
04:10 AM Revision cbcc148e (git): Suppress deprecation warnings
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
03:50 AM Feature #14594: Rethink yield_self's name
- FYI: mruby 2.0 has been already released with `Kernel#then`. I think we've gone beyond the point of no return.
-
03:30 AM Feature #14594: Rethink yield_self's name
- So we will have the questionable (as confusing for promise library users) `then` in 2.6? There were a lot of concerns mentioned above. `to_be` (or other suggestions) wouldn't have these problems. I would advice to re-think this one final...
- 03:45 AM Revision 308360f1 (git): NEWS: Fix description of BigDecimal.new [ci skip]
- BigDecimal.new is restored, and will be removed on bigdecimal 1.5
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
03:36 AM Revision d1152572 (git): No document of Tempfile::Remover [ci skip]
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:33 AM Revision 48d1f45b (git): * properties.
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
- 03:33 AM Revision 62b55d94 (git): Import bigdecimal-1.4.0.pre.20181214a
- * https://github.com/ruby/bigdecimal/compare/v1.4.0.pre.20181205a..v1.4.0.pre.20181214a
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e -
02:27 AM Revision bb0eb3bf (git): separte NULL and EMPTY check.
- * hash.c: separate NULL and EMPTY check functions.
`RHASH_TABLE_EMPTY` function checks NULL table or not,
but it should be named "NULL_P".
Introduce `RHASH_TABLE_EMPTY_P` function to check size == 0.
There are cases that hash has... -
01:29 AM Revision 65dd1434 (git): Suppress uninitialized instance variable warnings
- git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-
01:10 AM Revision e4c79d0d (git): rename li_table->ar_table (and related names).
- * internal.h: rename the following names:
* li_table -> ar_table. "li" means linear (from linear search),
but we use the word "array" (from data layout).
* RHASH_ARRAY -> RHASH_AR_TABLE. AR_TABLE is more clear.
* rb_hash_array_...