Project

General

Profile

Activity

From 02/17/2018 to 02/23/2018

02/23/2018

07:59 PM Feature #14548 (Assigned): Allow some_array&.[1] to be a valid syntax
Currently, Ruby allows accessing an array's index while testing whether the array is not nil with this syntax: `my_ar... rosenfeld (Rodrigo Rosenfeld Rosas)
07:28 PM Bug #14547 (Closed): segfault on Rational() with positive exponent in a string
~~~ ruby
Rational('1.11e1')
~~~
results in segmentation fault
pb (pumbur _)
06:52 PM Feature #14546 (Assigned): Hash#delete!
Hash#delete currently returns nil if a given key is not found in the hash. It would be nice to have a way to check th... rringler (Ryan Ringler)
05:53 PM Feature #14473: Add Range#subrange?
Good point v.ox, I did consider implementing `subset?` as an overloading of `include?` (or possibly `cover?` ?), as o... owst (Owen Stephens)
05:43 PM Feature #14473: Add Range#subrange?
Thanks for your thoughts al2o3cr, your "bigger point" is interesting:
> So range_1 claims to be a subset of range_...
owst (Owen Stephens)
05:09 PM Feature #14473: Add Range#subrange?
Why not modify Range#include? to accept Range object. Anyway, there is missing any justification for the RFE. vo.x (Vit Ondruch)
04:30 PM Feature #14473: Add Range#subrange?
Minor point: IMO a "Range with steps" isn't a Range, it's something else. It doesn't seem relevant to the discussion.... al2o3cr (Matt Jones)
12:43 PM Feature #14473: Add Range#subrange?
Attached updated patch, the former had a syntax error (a missing `)`). owst (Owen Stephens)
12:30 PM Feature #14473: Add Range#subrange?
Good questions duerst. I wonder if I should have stuck with the `subrange` naming rather than `subset`, due to the Nu... owst (Owen Stephens)
01:39 AM Feature #14473: Add Range#subrange?
As long as we only consider ranges starting and ending with integers, concepts such as subset and superset make sense... duerst (Martin Dürst)
03:58 PM Bug #14544 (Closed): crash on gem update
vo.x (Vit Ondruch)
03:57 PM Bug #14544: crash on gem update
This is the same as #14343, but the real solution is #14261 vo.x (Vit Ondruch)
10:42 AM Bug #14544 (Closed): crash on gem update
After a clean install using rbenv on a new MacBook Pro running High Sierra 10.13.3, gem update fails:
~: gem update
...
allank (Allan Kinnaird)
02:41 PM Bug #14545 (Closed): Backport r62071 to ruby 2.5
Please backport r62071 (https://bugs.ruby-lang.org/issues/14407) to ruby 2.5 to make toplevel constant lookup consist... grzuy (Gonzalo Rodriguez)
01:16 PM Bug #14357: thread_safe tests suite segfaults
Thank you for the patch. I applied it to Ruby in Fedora and so far like 10 builds of thread_safe passed without issue... vo.x (Vit Ondruch)
12:58 PM Feature #8158: lightweight structure for loaded features index
Hi all.
I did create an account of funny_falcon on svn.ruby-lang.org.
hsbt (Hiroshi SHIBATA)
11:41 AM Bug #14542: syswrite spuriously empties the given string
> For 2.4.3, can you try removing the rb_str_tmp_frozen_release call in the rb_io_syswrite function in io.c?
With ...
sylvain.joyeux (Sylvain Joyeux)
08:39 AM Revision daad6187 (git): eval_error.c: rb_error_write flags
* eval_error.c (rb_error_write): add highlight and reverse mode
flags. defaulted to rb_stderr_tty_p() if Qnil.
gi...
nobu (Nobuyoshi Nakada)
08:32 AM Revision 28278b83 (git): groups_spec.rb: get rid of limit on macOS
* spec/ruby/core/process/groups_spec.rb: on macOS, getgroups(2)
has a variant which has no limit but not setgroups(...
nobu (Nobuyoshi Nakada)
08:24 AM Bug #14480: miniruby crashing when compiled with -O2 or -O1 on aarch64
This appears to be longstanding GCC issue on aarch64, which was recently exposed by change in GCC defaults [1]. Howev... vo.x (Vit Ondruch)
06:17 AM Misc #14414: Move https://ruby-talk.trydiscourse.com/ to talk.ruby-lang.org
Ok, Matz we will move this to a proper domain for now.
We will see if something like ruby-talk-archive.com is ava...
sam.saffron (Sam Saffron)
05:03 AM Misc #14414: Move https://ruby-talk.trydiscourse.com/ to talk.ruby-lang.org
>ruby-talk.trydiscourse.com is a bad domain name
I don't think so. `Problem: All mailing list discussion is not se...
hsbt (Hiroshi SHIBATA)
04:36 AM Misc #14414: Move https://ruby-talk.trydiscourse.com/ to talk.ruby-lang.org
Sounds reasonable. @hsbt do you have any additional concern?
Matz.
matz (Yukihiro Matsumoto)
05:12 AM Bug #14543 (Closed): `make commit` show error of `common-srcs`
When I use `make commit`, it shows following error.
```
~/D/g/r/ruby (trunk) > mk commit
make: Entering director...
hsbt (Hiroshi SHIBATA)
05:09 AM Revision 2e1b0064 (git): Update minitest-5.11.3 on bundled gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:45 AM Revision 26741c97 (git): Use Process::Tms
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:18 AM Revision 96db72ce (git): [DOC] missing docs at toplevel
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:16 AM Revision b9d01e22 (git): [DOC] obsolete classes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:16 AM Revision 16ef24ac (git): [DOC] nodoc internal methods/classes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:16 AM Revision 4739266a (git): [DOC] hide declaration from rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:16 AM Revision 44c53ee4 (git): process.c: deprecated Struct::Tms
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:59 AM Bug #14334 (Open): Segmentation fault after running rspec (ruby/2.5.0/erb.rb:885 / simplecov/source_file.rb:85)
Some additional information. We're encountering the same segmentation fault, with the same C backtrace from inside th... dazuma (Daniel Azuma)

02/22/2018

11:03 PM Bug #14542: syswrite spuriously empties the given string
[email protected] wrote:
> https://bugs.ruby-lang.org/issues/14542
>
> * Target version:
> * ruby -v: 2.3...
normalperson (Eric Wong)
01:56 PM Bug #14542 (Third Party's Issue): syswrite spuriously empties the given string
I'm doing a bit of buffer management to write on a socket. The main method looks like this:
~~~ ruby
@write_buffe...
sylvain.joyeux (Sylvain Joyeux)
10:26 PM Misc #14414: Move https://ruby-talk.trydiscourse.com/ to talk.ruby-lang.org
I think I did a terrible job explaining this and believe it is a language barrier.
### Problem
- All mailing l...
sam.saffron (Sam Saffron)
07:24 AM Misc #14414 (Rejected): Move https://ruby-talk.trydiscourse.com/ to talk.ruby-lang.org
Hi, Sam.
Thank you for your offer. But I can not care about discourse.com as *.ruby-lang.org.
For example, When t...
hsbt (Hiroshi SHIBATA)
10:04 PM Bug #14368: backport r61862 (Fix SEGV of `/#{"\u3042"}#{'い'}/` in non UTF-8)
ruby_2_5 r62539 merged revision(s) 61862. naruse (Yui NARUSE)
10:04 PM Revision 86613d13 (git): merge revision(s) 61862: [Backport #14368]
parse.y (new_regexp): Fix SEGV of `/#{"\u3042"}#{'?'}/` in non UTF-8
Mixing other encoding string literals i...
naruse (Yui NARUSE)
09:41 PM Bug #14420: [BUG] Unnormalized Fixnum value on Rational#hash.to_s
ruby_2_5 r62538 merged revision(s) 62107. naruse (Yui NARUSE)
09:41 PM Revision 4724dea4 (git): merge revision(s) 62107: [Backport #14420]
force fixable
* complex.c (nucomp_hash): force hash values fixable.
[ruby-core:85224] [Bug #14420]...
naruse (Yui NARUSE)
09:29 PM Bug #14356: Backport 61605
ruby_2_5 r62537 merged revision(s) 61605,62359,62361. naruse (Yui NARUSE)
09:29 PM Revision c442dd60 (git): merge revision(s) 61605,62359,62361: [Backport #14356]
Try to fix Travis CI configuration.
.travis.yml: send notification to #alerts
instead of #commits.
...
naruse (Yui NARUSE)
09:26 PM Bug #14459: Unexpected compile error in 2.5.0
ruby_2_5 r62527 merged revision(s) 62333. naruse (Yui NARUSE)
06:10 PM Feature #14473: Add Range#subrange?
Thank you nobu, I came to the same realisation when writing the tests for my attempt at an implementation (patch atta... owst (Owen Stephens)
07:21 AM Feature #14473: Add Range#subrange?
It should consider `exclude_end?` too. nobu (Nobuyoshi Nakada)
03:34 PM Revision abf3d25d (git): test/ruby/test_rubyoptions.rb: fix typo and only expect +JIT for CRuby
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eregon (Benoit Daloze)
03:29 PM Revision 2d1a4154 (git): ruby.c: fix typo in r62530
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
03:11 PM Revision c273cbca (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:11 PM Revision 666cafbe (git): test_rubyoptions.rb: don't test --jit if not supported
test/lib/jit_support.rb: carved out JITSupport
test/ruby/test_jit.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/r...
k0kubun (Takashi Kokubun)
03:03 PM Revision 073c8cfe (git): * 2018-02-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:03 PM Revision 8038bb2f (git): tool/generic_erb.rb: check ERB version
instead of Ruby's.
When older ERB is installed but Ruby is still 2.6.0, this may cause
error like:
```
Traceback (m...
k0kubun (Takashi Kokubun)
02:53 PM Feature #14462 (Closed): MJIT enabled should be displayed in the version string
Applied in changeset trunk|r62530.
----------
version.c: show +JIT when --jit is passed
in version output.
version....
k0kubun (Takashi Kokubun)
02:53 PM Revision 171c496e (git): version.c: show +JIT when --jit is passed
in version output.
version.h: ditto
ruby.c: propagate option for it
common.mk: updated dependency for version.c
mjit...
k0kubun (Takashi Kokubun)
02:16 PM Bug #14541: Class variables have broken semantics, let's fix them
Eregon (Benoit Daloze) wrote:
> Moreover, manually defining class-level instance variables with
>
> ```ruby
>...
dsferreira (Daniel Ferreira)
01:42 PM Bug #14541: Class variables have broken semantics, let's fix them
shevegen (Robert A. Heiler) wrote:
> I'd rather just remove them altogether. :P
That might be possible in Ruby 3,...
Eregon (Benoit Daloze)
01:19 PM Bug #14541: Class variables have broken semantics, let's fix them
I'd rather just remove them altogether. :P
However had, since I myself do not use them anyway, it is not really
i...
shevegen (Robert A. Heiler)
11:49 AM Bug #14541: Class variables have broken semantics, let's fix them
To clarify, "setting a class var on Object removes class vars in subclasses" means:
Setting a class variable in so...
Eregon (Benoit Daloze)
11:47 AM Bug #14541 (Closed): Class variables have broken semantics, let's fix them
Class variables have the weird semantics of being tied to the class hierarchy and being inherited between classes.
I...
Eregon (Benoit Daloze)
01:28 PM Feature #14256 (Closed): Deprecate $SAFE support in ERB and let ERB.new take keyword arguments for it
Applied in changeset trunk|r62529.
----------
erb.rb: deprecate safe_level of ERB.new
Also, as it's in the middle o...
k0kubun (Takashi Kokubun)
01:28 PM Revision cc777d09 (git): erb.rb: deprecate safe_level of ERB.new
Also, as it's in the middle of the list of 4 arguments, 3rd and 4th arguments
(trim_mode, eoutvar) are changed to key...
k0kubun (Takashi Kokubun)
12:51 PM Feature #14506 (Closed): Possible bug in cmdarg_stack
Applied in changeset trunk|r62528.
----------
Fix CMDARG manipulation
* parse.y: Fix CMDARG manipulation. Use CMDAR...
nobu (Nobuyoshi Nakada)
12:50 PM Feature #14506: Possible bug in cmdarg_stack
ibylich (Ilya Bylich) wrote:
> > Maybe, `lambda` and `brace_body` parts aren't needed?
>
> Maybe, I didn't have a...
nobu (Nobuyoshi Nakada)
11:55 AM Feature #14506: Possible bug in cmdarg_stack
nobu (Nobuyoshi Nakada) wrote:
> Seems nice.
> Maybe, `lambda` and `brace_body` parts aren't needed?
Maybe, I di...
ibylich (Ilya Bylich)
11:21 AM Feature #14506: Possible bug in cmdarg_stack
Seems nice.
Maybe, `lambda` and `brace_body` parts aren't needed?
And, just curiosity, what do you mean by "dual ...
nobu (Nobuyoshi Nakada)
09:54 AM Feature #14506: Possible bug in cmdarg_stack

This patch does not introduce any logical changes (at least I don't expect any).
mame (Yusuke Endoh) wrote:
>...
ibylich (Ilya Bylich)
02:27 AM Feature #14506 (Assigned): Possible bug in cmdarg_stack
I think that this is not a bug, and that your patch is for refactoring. Am I right?
Please clarify your motivatio...
mame (Yusuke Endoh)
12:48 AM Feature #14506: Possible bug in cmdarg_stack
I've sent a PR https://github.com/ruby/ruby/pull/1823 ibylich (Ilya Bylich)
12:51 PM Revision 1727c835 (git): Fix CMDARG manipulation
* parse.y: Fix CMDARG manipulation. Use CMDARG_P to identify
keyword_do/keyword_do_block. [Feature #14506] [Fix GH...
nobu (Nobuyoshi Nakada)
11:01 AM Revision 526cc900 (git): merge revision(s) 62333: [Backport #14459]
compile.c: popped hash
* compile.c (compile_array): skip creating new hash if preceeding
elements ...
naruse (Yui NARUSE)
07:34 AM Revision 95208d59 (git): Ignore rb_mjit_min_header- instead of rb_mjit_header-
[Fix GH-1822]
From: hkdnet <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62526 b2dd03c8...
nobu (Nobuyoshi Nakada)
07:34 AM Revision 8a1706a4 (git): Ignore /mjit_config.h
[Fix GH-1822]
From: hkdnet <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62525 b2dd03c8...
nobu (Nobuyoshi Nakada)
07:11 AM Bug #14505 (Feedback): IO.popen / Open3.popen2 / backtick subprocess remains blocked
That python code isn't equivalent, as it does not capture the output.
Does `system("ruby", "-r", "oci8", "-e", "puts...
nobu (Nobuyoshi Nakada)
06:36 AM Bug #11943 (Rejected): Segmentation fault ruby 2.0.0p645
Ruby 2.0.0 is outdated status. Please try with Ruby 2.4+ hsbt (Hiroshi SHIBATA)
06:36 AM Bug #11856 (Rejected): Segmentation fault
Ruby 2.0.0 is outdated status. Please try with Ruby 2.4+ hsbt (Hiroshi SHIBATA)
05:06 AM Revision 74009968 (git): NEWS: fixed unintentional description list [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:55 AM Revision 5d874cf1 (git): NEWS: fixed unintentional description list [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:13 AM Revision 5fe33f07 (git): NEWS: adjust layout [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:33 AM Revision a1fb880f (git): Add KeyError, NameError and NoMethodError changes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Sutou Kouhei
03:14 AM Revision 24294c7d (git): NEWS: fixed a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:58 AM Revision 9ffa3795 (git): test_process.rb: assert minimum maxgroups
* test/ruby/test_process.rb (TestProcess#test_maxgroups):
maxgroups should be one at least.
git-svn-id: svn+ssh://...
nobu (Nobuyoshi Nakada)
12:45 AM Misc #14210 (Assigned): maintain net/protocol, net/smtp, tempfile, tmpdir
hsbt (Hiroshi SHIBATA)

02/21/2018

11:51 PM Bug #14539: Duplicate range in character class warning
Agreed. Your code did not use more than one \X so the warning is
incorrect as it is (because you did not use more th...
shevegen (Robert A. Heiler)
10:56 PM Bug #14539 (Closed): Duplicate range in character class warning
~~~ ruby
#!/usr/bin/env ruby -w
puts RUBY_VERSION
puts "👍".match?(/\X/).inspect
puts '--------------'
~~~
~~~...
Anonymous
08:10 PM Bug #14480: miniruby crashing when compiled with -O2 or -O1 on aarch64
It seems they are getting further:
~~~
With -fomit-frame-pointer on *everything*, and hacking out the call to rb_...
vo.x (Vit Ondruch)
12:51 AM Bug #14480: miniruby crashing when compiled with -O2 or -O1 on aarch64
I confirmed it can be reproduced with docker + qemu-aarch64-static + binfmt.
Dockerfile is attached.
(Note that it ...
wanabe (_ wanabe)
05:26 PM Feature #14506 (Closed): Possible bug in cmdarg_stack
cmdarg stack is a stack of bytes that has 1 on top of it when the parser is in the command mode.
But for this code...
ibylich (Ilya Bylich)
05:06 PM Revision b6f290f2 (git): * 2018-02-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:06 PM Revision 3095f4ec (git): * NEWS: add NEWS entry about Binding#source_location [Feature #14230]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e mame (Yusuke Endoh)
04:54 PM Feature #14473: Add Range#subrange?
So, something like (naive implementation in Ruby):
~~~ ruby
Range.class_exec do
def subset?(other)
raise...
owst (Owen Stephens)
04:48 PM Feature #14473: Add Range#subrange?
+1 for this suggestion - we have a similar method in our code base, implemented approximately as follows:
~~~ ruby...
owst (Owen Stephens)
02:55 PM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Pass a new arg to create GreenThread maybe introduce more problems.
For example:
```
g_thr = Thread.create(green...
jjyr (Jinyang Jiang)
08:42 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
On 2018/02/21 17:07, Eric Wong wrote:
>> Or `Thread.create(keyword_args...)` ? (`.create` is an example name).
>
...
ko1 (Koichi Sasada)
08:12 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
Koichi Sasada <[email protected]> wrote:
> On 2018/02/20 18:06, Eric Wong wrote:
> >Also, what do you think about havi...
normalperson (Eric Wong)
02:12 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
On 2018/02/20 18:06, Eric Wong wrote:
> Also, what do you think about having a way to pass options to
> thread cre...
ko1 (Koichi Sasada)
02:41 PM Feature #3187: Allow dynamic Fiber stack size
How about
``` ruby
Thread.with_configure(stack_size: 1024).new(a: 1, b: 2){}
# or
Thread::Config.new(stack_s...
jjyr (Jinyang Jiang)
10:55 AM Bug #14505 (Closed): IO.popen / Open3.popen2 / backtick subprocess remains blocked
The following ruby code never returns
~~~ ruby
`ruby -r oci8 -e puts 'hello'`
IO.popen(%w(ruby -r oci8 -e)+["put...
lionel_perrin (Lionel PERRIN)
09:04 AM Revision a2384238 (git): test_process.rb: unlimited getgroups on darwin
* test/ruby/test_process.rb (TestProcess#test_maxgroups): Darwin
extension of getgroups(2) which is not limited to ...
nobu (Nobuyoshi Nakada)
08:51 AM Revision 19a18994 (git): use `--version`.
* benchmark/driver.rb: use `--version` instead of `-v` to get version
information.
git-svn-id: svn+ssh://ci.ruby-...
ko1 (Koichi Sasada)
08:14 AM Revision 633b4638 (git): add NEWS entries about [Feature #14318] and [Feature #14330].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
07:51 AM Misc #14211: maintain etc, fcntl, and zlib
[email protected] wrote:
> I agreed with naruse.
>
> * zlib: naruse
> * etc/fcntl: same as core team member(...
normalperson (Eric Wong)
06:31 AM Misc #14211 (Closed): maintain etc, fcntl, and zlib
Applied in changeset trunk|r62512.
----------
Update maintainers of unmaintained libraries.
[Misc #14211]
From: ...
hsbt (Hiroshi SHIBATA)
06:25 AM Misc #14211 (Assigned): maintain etc, fcntl, and zlib
I agreed with naruse.
* zlib: naruse
* etc/fcntl: same as core team member(includes normal)
I will handle ge...
hsbt (Hiroshi SHIBATA)
07:44 AM Bug #10212: MRI is not for lambda calculus
One more:
```
target 0: ruby250 (ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]) at "~/ruby/install/v2_5...
ko1 (Koichi Sasada)
07:32 AM Bug #10212: MRI is not for lambda calculus
with [Feature #14318]
```
name ruby241 ruby250 trunk
app_lc_fizzbuzz 29.140 27.950 20.056
Speedup ratio:...
ko1 (Koichi Sasada)
07:17 AM Bug #12762: missing links in LEGAL
ライセンス自体に URL が埋め込まれているものはそのままにして The Wayback Machine の URL を追加、新しい先があるものはそれらを更新などしました。
hsbt (Hiroshi SHIBATA)
07:12 AM Bug #12762 (Closed): missing links in LEGAL
Applied in changeset trunk|r62513.
----------
Update url with 404 status on LEGAL file.
* Update redirected and u...
hsbt (Hiroshi SHIBATA)
07:12 AM Revision 322d0d93 (git): Update url with 404 status on LEGAL file.
* Update redirected and upstream url.
* Added the Wayback Machine url for missing link.
[Bug #12762][ruby-dev:49...
hsbt (Hiroshi SHIBATA)
06:39 AM Feature #13821: Allow fibers to be resumed across threads
Sorry for long absent.
The point is the gap between native-thread and Ruby's thread/fibers.
Ruby can use C-exte...
ko1 (Koichi Sasada)
06:35 AM Bug #13882: Exception in `ensure` stops threads from exiting
Sorry for long absent.
The point is "when should we check `to_kill` flag"?
It is not clear.
This is a issue th...
ko1 (Koichi Sasada)
06:31 AM Revision d5eef538 (git): Update maintainers of unmaintained libraries.
[Misc #14211]
From: SHIBATA Hiroshi <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62512 b2...
hsbt (Hiroshi SHIBATA)
06:22 AM Bug #14464 (Assigned): MJIT & MinGW / gcc 7.3.0 seemed ok as of 62337, fail or skip after
hsbt (Hiroshi SHIBATA)
06:16 AM Bug #14232: Unused refinement still breaks method search
ruby_2_5 r62511 merged revision(s) 61484. naruse (Yui NARUSE)
06:16 AM Revision a7cef95f (git): merge revision(s) 61484: [Backport #14232]
vm_method.c: fix super in refined module
* vm_method.c (rb_method_entry_complement_defined_class): clone
...
naruse (Yui NARUSE)
06:11 AM Feature #14370: Directly mark instruction operands and avoid mark_ary usage on rb_iseq_constant_body
I realize my misunderstanding on aaron's proposal and now I'm very positive on it.
Thank you aaron!
(my misunders...
ko1 (Koichi Sasada)
06:08 AM Bug #14343: Segfault during generating documentation
ruby_2_5 r62509 merged revision(s) 61523. naruse (Yui NARUSE)
06:07 AM Bug #14226 (Closed): Revert line number of "return", "b-return" and "end" events
ko1 (Koichi Sasada)
06:02 AM Feature #14492: iseq loading + caching should be in core
I agree on it.
rubygems and did-you-mean are the first targets of this goal.
https://github.com/rubygsoc/rubygs...
ko1 (Koichi Sasada)
06:00 AM Bug #14427: Backport r61469
ruby_2_5 r62510 merged revision(s) 61469. naruse (Yui NARUSE)
06:00 AM Revision 1c52a98f (git): merge revision(s) 61469: [Backport #14427]
irb.rb: fix highlight
* lib/irb.rb (IRB::Irb#eval_input): fix highlight for multiple
lines excepti...
naruse (Yui NARUSE)
05:42 AM Bug #14261: invalid syntax segfaults: "x, true"
ruby_2_5 r62509 merged revision(s) 61523. naruse (Yui NARUSE)
05:42 AM Revision 2292ea6a (git): merge revision(s) 61523: [Backport #14261]
parse.y: assignable_error
* parse.y (assignable_gen): should return valid NODE always even
on erro...
naruse (Yui NARUSE)
05:37 AM Revision 3a56b957 (git): test_time_tz.rb: past Japanese DST tzdata fix
* test/ruby/test_time_tz.rb (TestTimeTZ#test_asia_tokyo): fix
the expected data at the end of DST. [Bug #14438]
g...
nobu (Nobuyoshi Nakada)
05:14 AM Feature #4910 (Rejected): Classes as factories
It can lead to unreadable code.
Matz.
matz (Yukihiro Matsumoto)
05:13 AM Feature #14498 (Rejected): Class#to_proc
Nice try. But I think it's too concise that could lead to unreadable code.
Matz.
matz (Yukihiro Matsumoto)
05:07 AM Bug #14500 (Closed): Missing Regexp documentation and clarification on behavior of \K for edge case
**Capturing** section (https://ruby-doc.org/core-2.5.0/Regexp.html#class-Regexp-label-Capturing)
* formatting issu...
Sundeep (Sundeep Agarwal)
04:36 AM Bug #14421: super_method segfaults when called on a re-bound Method
ruby_2_5 r62507 merged revision(s) 62115. naruse (Yui NARUSE)
04:36 AM Revision aa58701d (git): merge revision(s) 62115: [Backport #14421]
proc: fix super_method segfault after bind
* proc.c: handle undefined iclass
[ruby-core:85231] [Bu...
naruse (Yui NARUSE)
02:21 AM Bug #14438 (Closed): TestTimeTZ: failures with recent version of tzdata
Applied in changeset trunk|r62506.
----------
test_time_tz.rb: past Japanese DST tzdata fix
* test/ruby/test_time_t...
nobu (Nobuyoshi Nakada)
02:21 AM Revision d6ac1213 (git): test_time_tz.rb: past Japanese DST tzdata fix
* test/ruby/test_time_tz.rb (TestTimeTZ#test_asia_tokyo): follow
the tzdata 2018 fix of Japanese DST transitions (1...
nobu (Nobuyoshi Nakada)
02:07 AM Bug #14499 (Third Party's Issue): [win32-service] "ruby.exe" crashes har
It crashes inside the extension library of ffi gem.
You should ask the authors of those (win32-service and ffi) gems.
nobu (Nobuyoshi Nakada)
12:55 AM Revision ef04d43f (git): vm_insnhelper.c: no insns_info in jit
* vm_insnhelper.c: instructions info are not used in jit source
code. resolved a warning by transform_mjit_header....
nobu (Nobuyoshi Nakada)
12:36 AM Revision 4eaf6985 (git): Makefile.in (mjit_config.h): fix duplicated output
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
12:26 AM Bug #14400: IO#ungetc and IO#ungetbyte documentation is inconsistent with the behavior
I think it is possible to glow the IO read buffer (rbuf) if it is properly locked.
Since the IO buffer is modified...
akr (Akira Tanaka)
12:17 AM Revision 83b428d9 (git): * 2018-02-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:17 AM Revision 9e42f781 (git): Makefile.in: empty comment
* Makefile.in (mjit_config.h): add an empty comment if no content,
to tell the empty content explicitly.
git-svn-i...
nobu (Nobuyoshi Nakada)

02/20/2018

08:11 PM Bug #14425: rb_funcall too strict on extra args
ruby_2_5 r62501 merged revision(s) 62116,62151. naruse (Yui NARUSE)
08:11 PM Revision 18b6b672 (git): merge revision(s) 62116,62151: [Backport #14425]
ruby.h: relax rb_funcall check on extra args for clang
clang 5.+ (tested clang 7.0.0) seems to be attempting...
naruse (Yui NARUSE)
07:08 PM Feature #14392: Pipe operator
Hanmac (Hans Mackowiak) wrote:
> Symbol#pri and others will never work because you failed to understand how Object w...
joelvh (Joel Van Horn)
03:59 PM Bug #14499 (Third Party's Issue): [win32-service] "ruby.exe" crashes har
Hello can someone help me? I have a problem with the Ruby-Gem "win32-service".
Here the "ruby.exe" crashes hard.
...
[email protected] (Pascal Michel)
03:24 PM Feature #14498: Class#to_proc
Hanmac (Hans Mackowiak) wrote:
> Duplicate of #4910
>
> PS: might be a bit more complicated in C,
> but i would ...
Nondv (Dmitry Non)
03:13 PM Feature #14498: Class#to_proc

Duplicate of #4910
PS: might be a bit more complicated in C,
but i would like this:
~~~ruby
proc { |*args,...
Hanmac (Hans Mackowiak)
03:01 PM Feature #14498 (Rejected): Class#to_proc
Hello!
I was creating a list of class instances via `some_list.map { |e| SomeClass.new(e) }` and wondered if there...
Nondv (Dmitry Non)
03:13 PM Feature #12967: Add a default for RUBY_GC_HEAP_GROWTH_MAX_SLOTS out-of-the-box
IMHO this should be reconsidered, as it provides a huge memory saving for a typical Rails app and it's so easy and un... nnc (Nemanja Chorlya)
02:13 PM Bug #14400: IO#ungetc and IO#ungetbyte documentation is inconsistent with the behavior
Could the buffer grow automatically to allow pushing multiple bytes/characters back?
That's the current implementati...
Eregon (Benoit Daloze)
01:03 PM Bug #14400: IO#ungetc and IO#ungetbyte documentation is inconsistent with the behavior
Even worse, I found an example which ungetc can not push back
a character which just returned by getc.
```
% ./r...
akr (Akira Tanaka)
07:23 AM Bug #14400 (Feedback): IO#ungetc and IO#ungetbyte documentation is inconsistent with the behavior
Basically, ungetbyte/ungetc works if there is enough space in the IO buffer.
Since the IO buffer is not dynamicall...
akr (Akira Tanaka)
06:25 AM Bug #14400 (Assigned): IO#ungetc and IO#ungetbyte documentation is inconsistent with the behavior
mame (Yusuke Endoh)
10:49 AM Feature #8158: lightweight structure for loaded features index
normalperson (Eric Wong) wrote:
> > https://bugs.ruby-lang.org/issues/8158
>
> I am curious, what is the sign...
funny_falcon (Yura Sokolov)
10:40 AM Feature #8158: lightweight structure for loaded features index
@matz , yes I will.
Excuse me for the delay. I'll try to proceed with steps from CommitterHowto this week.
With r...
funny_falcon (Yura Sokolov)
06:34 AM Feature #8158: lightweight structure for loaded features index
@funny_falcon? Will you be a committer?
Matz.
matz (Yukihiro Matsumoto)
10:08 AM Revision 55515ef4 (git): error.c: bypass Exception.new
* error.c (rb_exc_new, rb_exc_new_str): instantiate exception
object directly without Exception.new method call.
R...
nobu (Nobuyoshi Nakada)
09:45 AM Feature #14491: MJIT needs internal debugging methods
> My #1 motivation is that I am trying to figure out why --jit is making discourse bench slower even after everything... k0kubun (Takashi Kokubun)
09:20 AM Feature #14491: MJIT needs internal debugging methods
My #1 motivation is that I am trying to figure out why --jit is making discourse bench slower even after everything i... sam.saffron (Sam Saffron)
07:55 AM Feature #14491: MJIT needs internal debugging methods
> I would say the most critical piece though is MJIT.pause cause I need to properly measure additional overhead that ... k0kubun (Takashi Kokubun)
01:33 AM Feature #14491: MJIT needs internal debugging methods
Yes I ran with it during my testing and confirm jit-verbose helps somewhat. But compared to GC type instrumentation t... sam.saffron (Sam Saffron)
01:18 AM Feature #14491 (Feedback): MJIT needs internal debugging methods
> Measure how long it takes to JIT all methods (avg, median, max, total)
> Measure how many methods got JITted
> Me...
k0kubun (Takashi Kokubun)
01:15 AM Feature #14491: MJIT needs internal debugging methods
> Measure impact of --jit when all jitting is disabled
This can be achieved by not passing --jit, can't it?
> D...
k0kubun (Takashi Kokubun)
09:39 AM Revision 64072aa8 (git): mjit.c: separate call from macro
* mjit.c (convert_unit_to_func): separate a function call from a
macro, which evaluates the argument multiple times...
nobu (Nobuyoshi Nakada)
09:38 AM Revision b2033b8b (git): Signature of rb_uint2inum and rb_int2inum
* include/ruby/ruby.h (rb_int2inum, rb_uint2inum): adjust
declarations. [ruby-core:83424] [Bug #14036]
git-svn-id...
nobu (Nobuyoshi Nakada)
09:30 AM Misc #14497 (Closed): [PATCH] thread*: all condvars are monotonic
thread*: all condvars are monotonic
There's no reason to use CLOCK_REALTIME for any condvars in Ruby.
Indeed, we ...
normalperson (Eric Wong)
09:26 AM Feature #4938 (Closed): Add Random.bytes [patch]
Applied in changeset trunk|r62497.
----------
random.c: Random.bytes
* random.c (random_s_bytes): new method Random...
nobu (Nobuyoshi Nakada)
08:57 AM Feature #4938: Add Random.bytes [patch]
Accepted. Better later than never.
Matz.
matz (Yukihiro Matsumoto)
09:26 AM Revision 1cd9c3ce (git): random.c: Random.bytes
* random.c (random_s_bytes): new method Random.bytes, which is
equivalent to Random::DEFAULT.bytes. [Feature #4938...
nobu (Nobuyoshi Nakada)
09:16 AM Revision 74bf1767 (git): Makefile.in: fix for Solaris
* Makefile.in (mjit_config.h): expand for each words.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62496 b2dd03...
nobu (Nobuyoshi Nakada)
09:12 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
[email protected] wrote:
> May I add two new candidates (IoThread and Thread::Coop)?

Thanks for the ideas. I l...
normalperson (Eric Wong)
06:42 AM Feature #13618: [PATCH] auto fiber schedule for rb_wait_for_single_fd and rb_waitpid
May I add two new candidates (IoThread and Thread::Coop)?
Matz.
matz (Yukihiro Matsumoto)
08:47 AM Feature #5044 (Rejected): #zip with block return mapped results
We cannot change the behavior. The change would increase the memory consumption (and decrease the performance).
Ma...
matz (Yukihiro Matsumoto)
08:44 AM Bug #14494 (Closed): [PATCH] tool/m4/ruby_replace_type.m4 use AC_CHECK_TYPES for HAVE_* macros
Applied in changeset trunk|r62495.
----------
tool/m4/ruby_replace_type.m4: use AC_CHECK_TYPES for HAVE_* macros
AC...
Anonymous
12:20 AM Bug #14494: [PATCH] tool/m4/ruby_replace_type.m4 use AC_CHECK_TYPES for HAVE_* macros
I have no particular opinion on it, probably it'd be convenient. nobu (Nobuyoshi Nakada)
08:44 AM Revision e691d4d7 (git): tool/m4/ruby_replace_type.m4: use AC_CHECK_TYPES for HAVE_* macros
AC_CHECK_TYPE (no "S") does not define HAVE_* macros for types,
so use AC_CHECK_TYPES (with "S") instead. Without th...
Eric Wong
08:39 AM Feature #4541 (Rejected): Inconsistent Array.slice()
We don't want to change the behavior of basic methods. That would break existing code.
FYI, the slice is `nil` when ...
matz (Yukihiro Matsumoto)
08:33 AM Feature #5120 (Rejected): String#split needs to be logical
At least some of your points are rational. Those behaviors are inherited from Perl.
I don't think we can change the ...
matz (Yukihiro Matsumoto)
08:26 AM Feature #5206: ruby -K should warn
It warns as follows on -w option:
ruby: warning: -K is specified; it is for 1.8 compatibility and may cause odd beha...
naruse (Yui NARUSE)
08:24 AM Feature #5206 (Closed): ruby -K should warn
Keep compatibility for a while. naruse (Yui NARUSE)
08:21 AM Feature #4513 (Feedback): allow whitespace following EOL continuation backslash
nobu (Nobuyoshi Nakada)
08:21 AM Feature #4513: allow whitespace following EOL continuation backslash
Warning for a backslash followed by spaces is:
Old:
```
$ ruby2.5 -e ' \ '
-e:1: syntax error, unexpected $un...
nobu (Nobuyoshi Nakada)
08:20 AM Feature #4921 (Rejected): Remove intern.h
naruse (Yui NARUSE)
08:19 AM Feature #5123 (Rejected): Alias Hash 1.9 as OrderedHash
Today, everyone knows Ruby's Hash is a OrderedHash.
Matz.
matz (Yukihiro Matsumoto)
08:01 AM Bug #14036 (Closed): Signature of rb_uint2big and rb_int2big
Applied in changeset trunk|r62494.
----------
Signature of rb_uint2big and rb_int2big
* include/ruby/ruby.h (rb_uin...
nobu (Nobuyoshi Nakada)
08:01 AM Revision d77e8a7d (git): Signature of rb_uint2big and rb_int2big
* include/ruby/ruby.h (rb_uint2big, rb_int2big): declare with
uintptr_t and intptr_t instead of VALUE and SIGNED_VA...
nobu (Nobuyoshi Nakada)
07:51 AM Revision 87234557 (git): mjit.c: fix compile error
* mjit.c (check_tmpdir): W_OK and S_ISDIR may not defined on
Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
nobu (Nobuyoshi Nakada)
07:12 AM Bug #14062: Top-level return allows an argument
I am against making it a syntax error. Adding warnings is OK (but maybe we can rely on Rubocop etc. to detect them).
...
matz (Yukihiro Matsumoto)
06:09 AM Feature #14468 (Rejected): Add Proc#dig
The original intention for `dig` is a short-hand traversal of array-hash trees. I don't think it's normal to use `pro... matz (Yukihiro Matsumoto)
05:54 AM Feature #14478: String #uminus should de-dupe unconditionally
I agree with de-duping. I also want the reference document to be updated.
Matz.
matz (Yukihiro Matsumoto)
05:53 AM Feature #14462: MJIT enabled should be displayed in the version string
I agree with adding `+JIT`.
Matz.
matz (Yukihiro Matsumoto)
05:32 AM Bug #14496 (Closed): MJIT, Windows, MinGW and tmp dir
Applied in changeset trunk|r62492.
----------
mjit.c: prefer $TMPDIR and $TMP
* mjit.c (system_tmpdir): prefer `$TM...
nobu (Nobuyoshi Nakada)
05:32 AM Revision 18af42d5 (git): mjit.c: prefer $TMPDIR and $TMP
* mjit.c (system_tmpdir): prefer `$TMPDIR` and `$TMP` over system
defulat temporary directory, if exists, writable,...
nobu (Nobuyoshi Nakada)
05:32 AM Revision 04178d39 (git): mjit.c: dldflags on mingw
* mjit.c (CC_DLDFLAGS_ARGS): default libraries are necessary on
Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ru...
nobu (Nobuyoshi Nakada)
05:00 AM Feature #12589: VM performance improvement proposal
No problems, thank you Vladimir, let me know when you are ready for me to test again! sam.saffron (Sam Saffron)
04:42 AM Feature #12589: VM performance improvement proposal
On 02/19/2018 05:17 PM, [email protected] wrote:
> Issue #12589 has been updated by sam.saffron (Sam Saffron).
...
vmakarov (Vladimir Makarov)
04:32 AM Feature #12589: VM performance improvement proposal
On 02/19/2018 07:40 PM, [email protected] wrote:
> Issue #12589 has been updated by k0kubun (Takashi Kokubun).
...
vmakarov (Vladimir Makarov)
12:40 AM Feature #12589: VM performance improvement proposal
Great work on rtl_gen, Vladimir! Keeping both stack insns and RTL insns would be good for safe migration.
> There ...
k0kubun (Takashi Kokubun)
04:05 AM Revision eb816385 (git): mjit.c: fix memory leak
* mjit.c (system_tmpdir): rb_w32_wstr_to_mbstr returns the pointer
to `malloc`ed region. allocate with `xmalloc` i...
nobu (Nobuyoshi Nakada)
03:15 AM Revision 49f52937 (git): vm.c: disable dtrace in jit source
* vm.c: include dummy dtrace probes header in jit header.
* vm_insnhelper.c: probes headers are included by vm.c.
g...
nobu (Nobuyoshi Nakada)
03:00 AM Feature #14489: MJIT needs a reusable cache
Btw, I commented:
> I've thought the default way of ISeq serialization costs and bootsnap improves the performance...
k0kubun (Takashi Kokubun)
02:37 AM Revision fe5d65f1 (git): common.mk: moved macros to mjit_config.h
* Makefile.in, common.mk, win32/Makefile.sub: moved MJIT macros to
mjit_config.h from XCFLAGS.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
01:23 AM Revision 2124cb65 (git): * 2018-02-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:23 AM Revision 3dd9b878 (git): Makefile.in: function to quote for mjit_config.h
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)

02/19/2018

10:17 PM Feature #12589: VM performance improvement proposal
I just measured your branch using Discourse bench at: https://github.com/discourse/discourse/blob/master/script/bench... sam.saffron (Sam Saffron)
09:32 PM Feature #12589: VM performance improvement proposal
Last 4 months I've been working on generation of RTL from stack
insns. The reason for this is that stack insns ar...
vmakarov (Vladimir Makarov)
09:12 PM Feature #14492: iseq loading + caching should be in core
In general bootsnap has had significantly more dev time. The actual technique it uses does not require and c extensio... sam.saffron (Sam Saffron)
12:07 PM Feature #14492: iseq loading + caching should be in core
> So not such a big difference.
I also ran it just because I was curious.
> time ruby -e exit
real 0m0.109s
...
shevegen (Robert A. Heiler)
09:40 AM Feature #14492: iseq loading + caching should be in core
FWIW, here are number on a laptop from 2014 with a i7-4702HQ @ 2.20GHz:
$ ruby -v
ruby 2.5.0p0 (2017-12-2...
Eregon (Benoit Daloze)
04:14 AM Feature #14492 (Assigned): iseq loading + caching should be in core
```
... And not in a RubyGem like yomikomu(*)
RubyGems itself is responsible for over 100ms of startup time on my...
normalperson (Eric Wong)
08:51 PM Feature #14489: MJIT needs a reusable cache
> By the way, one thing I want to share is that currently JIT-ed function is not reusable for another process. That's... sam.saffron (Sam Saffron)
02:13 PM Feature #14489 (Feedback): MJIT needs a reusable cache
By the way, one thing I want to share is that currently JIT-ed function is not reusable for another process. That's b... k0kubun (Takashi Kokubun)
02:42 AM Feature #14489: MJIT needs a reusable cache
[email protected] wrote:
> sam.saffron (Sam Saffron) wrote:
> > It can use an ISEQ SHA1 hash as the ke...
normalperson (Eric Wong)
02:14 AM Feature #14489: MJIT needs a reusable cache
sam.saffron (Sam Saffron) wrote:
> It can use an ISEQ SHA1 hash as the key to the cache.
If this feature is added...
jeremyevans0 (Jeremy Evans)
01:10 AM Feature #14489 (Rejected): MJIT needs a reusable cache
Currently on Discourse boot I notice a few minutes of jitting every time you boot it:
This is a redacted output: h...
sam.saffron (Sam Saffron)
08:44 PM Feature #14491: MJIT needs internal debugging methods
### MJIT.pause use cases
1. Measure impact of --jit when all jitting is disabled
2. Disable MJIT in large appli...
sam.saffron (Sam Saffron)
02:22 PM Feature #14491: MJIT needs internal debugging methods
> MJIT.enable, MJIT.disable, MJIT.pause, MJIT.trace
Could you describe some detailed use cases (some possible prob...
k0kubun (Takashi Kokubun)
07:50 AM Feature #14491: MJIT needs internal debugging methods
Not sure about the method-names above, but I agree with the reasoning;
we have methods on "GC." too so I think it wo...
shevegen (Robert A. Heiler)
01:40 AM Feature #14491 (Closed): MJIT needs internal debugging methods
### Issue
Doing careful analysis of MJIT performance is very hard cause there is no way of instrumenting this in r...
sam.saffron (Sam Saffron)
07:44 PM Misc #14493: begin-rescue-end and def-rescue-end stacktraces inconsistent
Thank you. Sorry for the duplicate. david.drakard (David Drakard)
06:18 AM Misc #14493 (Rejected): begin-rescue-end and def-rescue-end stacktraces inconsistent
It is fixed in 2.3.6. nobu (Nobuyoshi Nakada)
04:59 AM Misc #14493 (Rejected): begin-rescue-end and def-rescue-end stacktraces inconsistent
I have filed this as type Misc because I don't know whether the current behaviour is intended or a true bug. Please r... david.drakard (David Drakard)
06:12 PM Bug #14494: [PATCH] tool/m4/ruby_replace_type.m4 use AC_CHECK_TYPES for HAVE_* macros
[email protected] wrote:
> Indeed, it was a mistake.
> Do you think `HAVE_` macros should be defined for all `RUB...
normalperson (Eric Wong)
01:54 PM Bug #14494: [PATCH] tool/m4/ruby_replace_type.m4 use AC_CHECK_TYPES for HAVE_* macros
Indeed, it was a mistake.
Do you think `HAVE_` macros should be defined for all `RUBY_REPLACE_TYPE`?
nobu (Nobuyoshi Nakada)
09:12 AM Bug #14494: [PATCH] tool/m4/ruby_replace_type.m4 use AC_CHECK_TYPES for HAVE_* macros
Eric Wong wrote:
> On a side note, I also realized we have no use for realtime
> condvars, only monotonic ones.......
normalperson (Eric Wong)
08:33 AM Bug #14494: [PATCH] tool/m4/ruby_replace_type.m4 use AC_CHECK_TYPES for HAVE_* macros
[email protected] wrote:
> Without this, HAVE_CLOCKID_T goes undefined and I can't
> USE_MONOTONIC_COND in thr...
normalperson (Eric Wong)
06:10 AM Bug #14494 (Closed): [PATCH] tool/m4/ruby_replace_type.m4 use AC_CHECK_TYPES for HAVE_* macros
tool/m4/ruby_replace_type.m4: use AC_CHECK_TYPES for HAVE_* macros
Without this, HAVE_CLOCKID_T goes undefined and...
normalperson (Eric Wong)
04:51 PM Bug #14496 (Closed): MJIT, Windows, MinGW and tmp dir
For the time being, I've shut off testing MJIT on ruby-loco, as (at least when I did so) tests seemed to be timing ou... MSP-Greg (Greg L)
01:01 PM Bug #14495: Enumerator::Lazy#uniq invalid state
Solution https://github.com/ruby/ruby/pull/1820 chopraanmol1 (Anmol Chopra)
12:57 PM Bug #14495 (Closed): Enumerator::Lazy#uniq invalid state

Currently
~~~ ruby
2.5.0-preview1 :001 > arr = (0..100).lazy.uniq{|i| i % 10}
=> #<Enumerator::Lazy: #<Enumer...
chopraanmol1 (Anmol Chopra)
10:46 AM Bug #12548: Rounding modes inconsistency between round versus sprintf
Hi again
After I raised this bug and saw the comment from matz I stopped watching assuming that sprintf would be "...
unclekiki (Kieran McCusker)
10:02 AM Feature #14332 (Assigned): Module.used_refinements to list refinement modules
Eregon (Benoit Daloze) wrote:
> Module.used_modules was added in #7418.
> But I think `Module.used_refinements` is ...
shugo (Shugo Maeda)
09:52 AM Bug #14466: Errno::ECONNRESET or Errno::EPIPE raised instead of HTTPResponse returned when POSTing with large body
I have just confirmed with wireshark that a 404 is returned before the connection aborts. sk (SK Liew)
09:46 AM Bug #14420: [BUG] Unnormalized Fixnum value on Rational#hash.to_s
I believe this should be backported to 2.4 and 2.5. Eregon (Benoit Daloze)
09:28 AM Revision 92dd6d84 (git): thread_pthread.c: spelling ("cancellation")
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Eric Wong
09:28 AM Revision 4651ef77 (git): thread_pthread.c: fix thread cache for non-monotonic clock
I noticed this because of https://bugs.ruby-lang.org/issues/14494
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
Eric Wong
06:58 AM Bug #14388: 不正エンコーディング文字列から切り出した正当なエンコーディング文字列が invalid encoding になる
ruby_2_5 r62483 merged revision(s) 62040. naruse (Yui NARUSE)
06:51 AM Revision c1d4e3fe (git): merge revision(s) 62040: [Backport #14388]
string.c: clear substring code range
* string.c (str_substr): substring of broken code range string may
...
naruse (Yui NARUSE)
06:36 AM Bug #14333: Backport r61645
ruby_2_5 r62482 merged revision(s) 61645. naruse (Yui NARUSE)
06:36 AM Revision f75b6d21 (git): merge revision(s) 61645: [Backport #14333]
Added bundler for `test-bundled-gems` dependency.
rake, did_you_mean, test-unit depends on bundler.
git-s...
naruse (Yui NARUSE)
06:35 AM Bug #14312: backport r61591
ruby_2_5 r62472 merged revision(s) 61591. naruse (Yui NARUSE)
06:33 AM Revision c1dc8a13 (git): merge revision(s) 61711:
compile.c (iseq_compile_each0): remove irrelevant tracecoverage
This change removes tracecoverage instructio...
naruse (Yui NARUSE)
06:28 AM Revision 628be3b7 (git): mjit.c: fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
04:56 AM Bug #10864 (Assigned): REXML adds white space to text property when indent > -1
hsbt (Hiroshi SHIBATA)
02:38 AM Bug #14490: MJIT slows down Rails applications
> This was reported earlier but I would like to add some test methodology here: (tested using Discourse)
Ah, som...
k0kubun (Takashi Kokubun)
02:14 AM Bug #14490: MJIT slows down Rails applications
Yes, I recognize this problem and will investigate the cause for sure. I don't know a clear cause for this yet.
> ...
k0kubun (Takashi Kokubun)
01:36 AM Bug #14490 (Closed): MJIT slows down Rails applications
This was reported earlier but I would like to add some test methodology here: (tested using Discourse)
### What I ...
sam.saffron (Sam Saffron)
01:45 AM Bug #14486 (Closed): MINIRUBY not quoted in template/configure-ext.mk.tmpl
Applied in changeset trunk|r62479.
----------
Escape MINIRUBY in --make-flags to extmk.rb
If MINIRUBY had arguments...
nobu (Nobuyoshi Nakada)
01:45 AM Revision 14693ba5 (git): Escape MINIRUBY in --make-flags to extmk.rb
If MINIRUBY had arguments, which is the case of cross compiling
they wouldn't be parsed correctly and compiling would...
nobu (Nobuyoshi Nakada)
12:30 AM Revision 3cadd10a (git): thread_pthread.c (native_thread_create): remove needless attrp
Followup-to: r61719 (commit e8f40bd8f83e1b22ef9c22f0e5d7a1fc0b07f94c)
("thread_pthread: remove HAVE_PTHREAD_ATTR_IN...
Eric Wong
12:23 AM Revision cfeb344b (git): thread_pthread.c (rb_thread_create_mjit_thread): destroy attr
This is required on some platforms to avoid leaks.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62477 b2dd03c8-...
Eric Wong

02/18/2018

11:58 PM Revision bff57efc (git): thread_pthread.c (thread cache): destroy cond after unlock
No need to hold a lock while destroying a condition variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6247...
Eric Wong
11:58 PM Revision 7a8460ed (git): thread_pthread.c (rb_thread_create_mjit): set detach before create
This should be slightly cheaper on NPTL as it does not rely on
atomics to set pd->joinid. We already use pthread_at...
Eric Wong
11:02 PM Bug #14488 (Closed): Unicode characters prevent [[:punct:]] character class from matching certain characters in subsequent matches
In 2.3.5, `[[:punct:]]` doesn't match `+`. In 2.5.0, it does. In 2.4.3, it matches, but not after you match against a... patbl (Patrick Brinich-Langlois)
09:28 PM Feature #14487 (Closed): [PATCH] simplify altstack and enable reuse with thread cache
simplify altstack and enable reuse with thread cache
Instead of allocating and registering the altstack in differe...
normalperson (Eric Wong)
09:03 PM Revision 1ad2db38 (git): * 2018-02-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
09:03 PM Revision eac50243 (git): thread.c: remove redundant USE_SIGALTSTACK #define
thread.c already includes vm_core.h where USE_SIGALTSTACK is
defined, #include it explicitly (eval_intern.h already i...
Eric Wong
05:26 PM Bug #14486 (Closed): MINIRUBY not quoted in template/configure-ext.mk.tmpl
MINIRUBY is not quoted in template/configure-ext.mk.tmpl, which made cross compiling, when MINIRUBY is something like... carl.hoerberg (Carl Hörberg)
05:25 PM Bug #14485 (Closed): For File#path.tainted? and File#to_path.tainted? should match original.tainted?
Problem: if you create a File object using an untainted path, File#path and File#to_path return identical strings exc... tscheingeld (Terry Scheingeld)
02:25 PM Revision 2fdf83ba (git): merge revision(s) 61591: [Backport #14312]
iseq.c (rb_iseq_new_with_opt): handle the case where node is imemo_func
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/...
naruse (Yui NARUSE)
11:54 AM Bug #14273: Stack Consistency Error from return in loop
reverted ruby_2_5 r62426. it caused test failure naruse (Yui NARUSE)
11:53 AM Revision f9ead597 (git): * 2018-02-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
11:53 AM Revision d191339b (git): Revert r62426
it cause test failure
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@62470 b2dd03c8-39d4-4d8f-98ff-8...
naruse (Yui NARUSE)
09:33 AM Revision 247ec65a (git): mjit.c: pch file argument
* mjit.c (compile_c_to_so): pass pch file only when using
"-include-pch" option.
git-svn-id: svn+ssh://ci.ruby-lan...
nobu (Nobuyoshi Nakada)
09:23 AM Revision ae62ab33 (git): adjust indent
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
08:11 AM Revision 189b4a4e (git): README.ja.md: Mac OS X -> macOS [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
07:54 AM Revision 4a57b88b (git): thread_pthread.c: shorten and fix thread cache implementation
Update to use ccan/list for constant-time delete on expiry and
avoid malloc. We must also initialize th->thread_id u...
Eric Wong
06:21 AM Revision f3cc10b6 (git): mjit.c: place DLDFLAGS at last
* mjit.c (compile_c_to_so): place DLDFLAGS at last, as compilers
other than cl.exee don't care the order of flag ar...
nobu (Nobuyoshi Nakada)
05:12 AM Revision 32213cc8 (git): aclocal.m4: remove ruby_check_va_copy.m4
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:10 AM Revision 0f0c32f2 (git): mjit.c: no va_copy
* mjit.c (form_args): do not use va_copy, which cannot detect
appropriate way to simulate when cross compiling.
gi...
nobu (Nobuyoshi Nakada)
03:44 AM Feature #14476: Adding same_all? for checking whether all items in an Array are same
I agree with Martin. Perhaps alternatives such as `all_same?` or
even better, `all_equal?` could be explored/used.
N...
shevegen (Robert A. Heiler)
03:00 AM Revision ecd2c08a (git): thread.c (thread_join_m): handle negative timeouts correctly
Users may subtract and round into negative values when using
Thread#join, so clamp the timeout to zero to avoid infin...
Eric Wong
03:00 AM Revision fbad2c55 (git): thread.c (double2timespec): adjust to use NULL for infinity
Using:
strace ruby -e 'Thread.new { sleep }.join(Float::INFINITY)'
Will show a difference in futex() syscall args ...
Eric Wong
02:51 AM Revision cd0673e6 (git): Fixed the order of arguments for cl.exe
* mjit.c (compile_c_to_so): `CC_DLDFLAGS_ARGS` must be after `-link` for cl.exe.
git-svn-id: svn+ssh://ci.ruby-lang...
U.Nakamura
02:12 AM Revision 8f47542d (git): thread_pthread.c (native_cond_timeout): simplify
Rely on getclockofday for CLOCK_MONOTONIC, avoid needless
variables, and rely on overflow protection from timespec_ad...
Eric Wong
02:12 AM Revision f65ee1e8 (git): thread.c: stop updating timespec when timeout is unspecified
No need to waste cycles updating timespecs if there's no expiry.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6...
Eric Wong
02:12 AM Revision e6bf0128 (git): thread.c (update_timespec): use timespec_update_expire
Rename "end" as a appropriate for readability.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62457 b2dd03c8-39d4...
Eric Wong
12:38 AM Revision 014e9a4a (git): thread.c: introduce timespec_cmp for timespec comparisons
This hopefully improves readability when comparing timespecs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6245...
Eric Wong
12:38 AM Revision b160a113 (git): thread.c (timespec_update_expire): improve naming
Naming the constant timespec as "end" should make it more
apparent is is an absolute time. Update callers, too.
git...
Eric Wong
12:38 AM Revision 63d19f6b (git): * 2018-02-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:38 AM Revision 604a96d9 (git): ext/fiddle/lib/fiddle/pack.rb: pack "void *" properly on 32-bit
Fixes: r62450 (commit 1aaeeb326e754c5c5db83fbf35f780f729a9dfed)
("long long is a C99ism")
git-svn-id: svn+ssh...
Eric Wong

02/17/2018

10:11 PM Bug #14484: Error - using - ruby 2.2.1
Thank you. I need to run app on 2.2.1. Will check this extensions libraries. Januszpl (Janusz Janczy)
06:06 AM Bug #14484 (Rejected): Error - using - ruby 2.2.1
2.2.1 is outdated.
```
-- C level backtrace information -------------------------------------------
0 libruby....
nobu (Nobuyoshi Nakada)
02:03 PM Revision 8e76a4bf (git): Remove unnecessary `[]`s
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
10:04 AM Revision a5c76f8c (git): a C source code must end with EOL
cf: ISO 9899 section 5.1.1.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62451 b2dd03c8-39d4-4d8f-98ff-823fe6...
shyouhei (Shyouhei Urabe)
09:51 AM Revision 1aaeeb32 (git): long long is a C99ism
so SIZEOF_LONG_LONG is not always available.
We have to check its defined?-ness before using.
git-svn-id: svn+ssh:/...
shyouhei (Shyouhei Urabe)
07:54 AM Revision 131dc831 (git): socket.rb: protected connect_internal
* ext/socket/lib/socket.rb (Addrinfo#connect_internal): make
protected for Addrinfo#connect_to, instead of private ...
nobu (Nobuyoshi Nakada)
05:52 AM Revision a4f2606b (git): LIBRUBY_A with exts
* Makefile.in, win32/Makefile.sub (LIBRUBY_A): link with extension
libraries if EXTSTATIC is set, so that static-ru...
nobu (Nobuyoshi Nakada)
05:52 AM Revision e28a7c20 (git): separate PRE_LIBRUBY_UPDATE
* Makefile.in, win32/Makefile.sub (PRE_LIBRUBY_UPDATE): separate
definitions without miniruby.
git-svn-id: svn+ssh...
nobu (Nobuyoshi Nakada)
05:22 AM Revision 673ae0e3 (git): configure.ac: check clockid_t with necessary headers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
01:30 AM Revision def3714b (git): prefixed functions exported for mjit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
 

Also available in: Atom