Project

General

Profile

Activity

From 04/20/2019 to 04/26/2019

04/26/2019

11:46 PM Bug #15798 (Closed): Fix threads not waking up on SIGINT when using UBF_TIMER_PTHREAD
When using UBF_TIMER_PTHREAD, the timer_pthread_fn function will
not signal the main thread with SIGVTALRM in cases where
timer_pthread is armed before consume_communication_pipe is called.
This is because consume_communication_pipe w...
jeremyevans0 (Jeremy Evans)
09:12 PM Misc #15723: Reconsider numbered parameters
I think the new proposition by @jeremyevans0 is much better than the current state, and sounds good to me.
`@` might not be ideal, but at least it's less confusing than `@` and doesn't have complicated compatibility problems.
From my...
Eregon (Benoit Daloze)
07:54 PM Misc #15723: Reconsider numbered parameters
sawa (Tsuyoshi Sawada) wrote:
> This looks to me like splitting Ruby into two dialects and letting the programmer declare when using the non-default one. I think it would be a start of a nightmare in which Ruby has many dialects.
`...
chocolateboy (Chocolate Boy)
09:00 PM Feature #15797 (Closed): Use realpath(3) instead of custom realpath implementation if available
One reason to do this is simplicity, as this approach is ~30 lines of
code instead of ~200.
Performance wise, this performs 25%-115% better, using the following
benchmark on OpenBSD 6.5:
```ruby
require 'benchmark'
f = File
...
jeremyevans0 (Jeremy Evans)
08:21 PM Bug #15792: GC can leave strings used as hash keys in a corrupted state
I guess it is caused by the combination of `str_duplicate` and `rb_fstring` from r52074.
```
$ cat bug15792.rb
a = ('a' * 24).b.strip
->{ eval "", binding, a, 1 }.call
puts "Before garbage_collection: a=#{a.inspect}"
4.times...
wanabe (_ wanabe)
03:08 PM Bug #15792: GC can leave strings used as hash keys in a corrupted state
Édouad Chin bisected the script against the MRI repository, and found https://bugs.ruby-lang.org/issues/15251 the first commit to trigger the problem.
That being said it's unlikely to really be the source of the bug. It's much more li...
byroot (Jean Boussier)
12:05 AM Bug #15792: GC can leave strings used as hash keys in a corrupted state
Actually, even simpler repro script:
```
#!/usr/bin/env ruby --disable-gems
a = ('a' * 24).encode(Encoding::ASCII).strip
hash = {}
hash[a] = true
puts "Before garbage_collection: a=#{a.inspect}"
4.times { GC.start }
puts "A...
byroot (Jean Boussier)
12:00 AM Bug #15792 (Closed): GC can leave strings used as hash keys in a corrupted state
The following script showcase the issue:
```
#!/usr/bin/env ruby --disable-gems
a = ('a' * 24).encode(Encoding::ASCII).gsub('x', '')
b = ('b' * 24).encode(Encoding::ASCII).gsub('x', '')
hash = {}
hash[a] = true
hash[b] = true
...
byroot (Jean Boussier)
04:47 PM Bug #15796 (Third Party's Issue): Ramdon console crashes
This is the error log, followed by the one in the Library folder
-- Control frame information -----------------------------------------------
c:0078 p:---- s:0444 e:000443 CFUNC :initialize
c:0077 p:---- s:0441 e:000440 CFUNC :new...
jorge (Jorge Iriso)
01:55 PM Feature #15778: Expose an API to pry-open the stack frames in Ruby
> This is current situation.
Thanks for the summary.
> ...
I think it's fair enough for usages of Binding.of_caller to have to care about this.
@ko1 The `debug_inspector` gem just makes the Bindings of the stack available to Rub...
Eregon (Benoit Daloze)
01:28 PM Bug #15795 (Closed): Some test fails on Haiku
```/sources/ruby-2.6.3/.ext/common/fiddle/import.rb:89:in `rescue in block in dlload': can't load /sources/ruby-2.6.3/test/-ext-/arith_seq/test_arith_seq_extract.rb (Fiddle::DLError)``` extrowerk (Zoltán Mizsei)
09:54 AM Revision e804fcb4 (git): Fix rdoc in 52cfb17086
nobu (Nobuyoshi Nakada)
09:46 AM Revision a429b360 (git): Revert "Class instance should be also colorable on IRB"
This reverts commit 6669c966d2744f21315047d1725ad4494d15b8ba.
It seems to make tests fail... let me fix this later.
k0kubun (Takashi Kokubun)
09:42 AM Revision 6669c966 (git): Class instance should be also colorable on IRB
inspect.
Change is made with: `$ make -C .ruby sync-default-gems GEM=irb`
k0kubun (Takashi Kokubun)
09:28 AM Revision 52cfb170 (git): make sync-default-gems GEM=irb
from https://github.com/ruby/irb/commit/e6739d8c66dc78562930adb0b96935c9b38acf74 k0kubun (Takashi Kokubun)
09:25 AM Revision a6805771 (git): Define `make sync-default-gems`
to run tool/sync_default_gems.rb k0kubun (Takashi Kokubun)
09:18 AM Revision a93f5556 (git): tool/sync_default_gems.rb: Check prerequisites
k0kubun (Takashi Kokubun)
09:14 AM Bug #15794 (Third Party's Issue): Can not start Puma with Rails after bundle install
I have big issue and I don't know how to resole.
``` ruby
rails s -p 5000
=> Booting Puma
=> Rails 4.2.10 application starting in development on http://localhost:5000
=> Run `rails server -h` for more startup options
=> Ctrl-C t...
dohaibac (Bac Do)
08:47 AM Revision 1cef6a0c (git): Add more debug print for random CI failure on osx Travis
see r67347 znz (Kazuhiro NISHIYAMA)
08:04 AM Bug #15745: There is no symmetry in the beginless range and the endless range using `Range#inspect`
I have no strong opinion about this, but `(nil..nil).inspect #=> ".."` looks less reasonable because we cannot actually write the literal as is, so we need to decide the behavior of this corner case. mame (Yusuke Endoh)
07:19 AM Bug #15793 (Closed): Please backport 7b7043e5da8589e01b94575d4ed647e909e5c875
7b7043e5da8589e01b94575d4ed647e909e5c875 is a fix of use-after-free. Worth backporting methinks. shyouhei (Shyouhei Urabe)
07:11 AM Misc #15782: DevelopersMeeting20190522Japan
* [Bug #15745] There is no symmetry in the beginless range and the endless range using `Range#inspect` (koic)
* I think that the symmetry of beginless range and endless range becomes more clear by unifying whether it displays `nil` or...
koic (Koichi ITO)
06:59 AM Revision 0523b02f (git): yaml cannot deep-merge arrays
The configuration cannot but be written here and there.... shyouhei (Shyouhei Urabe)
06:59 AM Revision 267ac062 (git): make test needs no gems
shyouhei (Shyouhei Urabe)
06:59 AM Revision d700a8a0 (git): update travis clang
Seems clang-7 has false-positives around memory sanitizer.
This line should not be reported because the memory region is
correctly unpoisoned beforehand:
https://travis-ci.org/ruby/ruby/jobs/524766381
Clang 8 seems to fix it.
shyouhei (Shyouhei Urabe)
06:59 AM Revision 3175c54c (git): new travis setting to enable assertions
shyouhei (Shyouhei Urabe)
06:59 AM Revision 2a49a479 (git): sanitizer compiler flag update
shyouhei (Shyouhei Urabe)
06:59 AM Revision 7b7043e5 (git): eliminate use of freed memory
rb_io_fptr_finalize_internal frees the memory region.
=================================================================
==85264==ERROR: AddressSanitizer: heap-use-after-free on address 0x610000000d8c at pc 0x5608e38077f7 bp 0x7ffee12d54...
shyouhei (Shyouhei Urabe)
06:59 AM Revision 2a863d4b (git): avoid buffer overflow in vm_check_canary
ec->cfp->iseq might not exist at the very beginning of a thread.
=================================================================
==82954==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7fc86f334810 at pc 0x55ceaf013125 bp ...
shyouhei (Shyouhei Urabe)
06:59 AM Revision aa190abe (git): newptr should not be NULL
obj_ivar_heap_alloc already handles that situation. shyouhei (Shyouhei Urabe)
06:59 AM Revision 1aa05fdd (git): unpoison header before touching
This header is poisoned to detect unintentional buffer overrun.
However in this (and forthcoming) function, we are intentionally
looking at the header. We have to unpoison before anything.
shyouhei (Shyouhei Urabe)
06:59 AM Revision 40b5f2b8 (git): memo.c might not always be initialized
memo.float_value might change inside of hash_sum. In case it
flipped from false to true there, and the calculated sum is Inf,
memo.c might not be initialized at all. This is bad.
Found using memory sanitizer:
==55293==WARNING: Memory...
shyouhei (Shyouhei Urabe)
06:59 AM Revision f02760fc (git): avoid reading uninitialized variable
autoload_reset() can read this state.result. Because autoload_reset
is a function passed to rb_ensure, there is a chance when an
execption raises before actually filling this memory region.
test/ruby/test_defined.rb:test_autoload_noloa...
shyouhei (Shyouhei Urabe)
06:59 AM Revision 3ba485c0 (git): zero-fill before GC mark
Depending on architectures, setjmp might not fully fill a jmp_buf.
On such machines the union can contain wobbly bits. They are then
scanned during mark_locations_array(). This is bad.
shyouhei (Shyouhei Urabe)
06:59 AM Revision 504ce460 (git): give up sanitizing BSD_vfprintf
Sanitizers report something inside of this function but it is
beyond my brain capacity. Also the code is proven to work.
Let me ignore.
shyouhei (Shyouhei Urabe)
06:59 AM Revision b11b26bc (git): fix size of allocated memory
The size of `ptr` here is not the same as the variable `size`.
We were counting the size of header twice.
shyouhei (Shyouhei Urabe)
06:59 AM Revision 6201a89b (git): mark verify functions non-sanitizable
These functions purposefully read from memory regions potentially
not handled well. Should let sanitizers avoid checking them.
shyouhei (Shyouhei Urabe)
06:59 AM Revision 572f2ddf (git): use __attribute__((__no_sanitize__("memory")))
shyouhei (Shyouhei Urabe)
06:59 AM Revision fa09acaf (git): extend machine stacks when sanitizers are there
It seems sanitizers require extra amount of machine stacks. Without
extending them the process tends to stack overflow.
shyouhei (Shyouhei Urabe)
06:59 AM Revision 1f4204a7 (git): disable assertion when MSAN is active
These assertions check if a newly allocated object (which is marked
as an uninitialized memory region in MSAN) is in fact a T_NONE.
Thus they intentionally read uninitialized memory regions, which do
not interface well with MSAN. Just ...
shyouhei (Shyouhei Urabe)
06:59 AM Revision bdd1b300 (git): __asan_region_is_poisoned takes void *
while heap->obj is a VALUE. A cast should be there. shyouhei (Shyouhei Urabe)
06:59 AM Revision 171a6ad1 (git): print the disasm
It seems to be my fault to leave the variable disasm unused. shyouhei (Shyouhei Urabe)
06:59 AM Revision b6ebbee5 (git): suppress warning [ci skip]
shyouhei (Shyouhei Urabe)
04:26 AM Bug #15786 (Closed): numbered parameterを使ったprocのparametersに記号が現れる
Closed at https://git.ruby-lang.org/ruby.git/commit/?id=54eac83b2ad77ddea84fa6d66c09e0bb014cf61e nobu (Nobuyoshi Nakada)
12:33 AM Revision 54eac83b (git): Hide internal IDs
* parse.y (internal_id): number the ID serial for internal use by
counting down from the neary maximum value, not to accidentally
match permanent IDs.
[Bug #15768]
nobu (Nobuyoshi Nakada)

04/25/2019

11:16 PM Bug #15774 (Closed): OptionParser doesn't accept Date options as stated in the docs
nagachika (Tomoyuki Chikanaga)
06:37 PM Bug #15774: OptionParser doesn't accept Date options as stated in the docs
Oh, thanks, I wasn't aware of that. Now that you said I re-read the documentation and found the instructions to use those built-in conversions. Thanks. This ticket can be closed. I'm not allowed to close it myself. rosenfeld (Rodrigo Rosenfeld Rosas)
06:44 PM Bug #15791: Clarify reason for RbConfig's ruby_version not reflecting "teeny" value
I always consider `RbConfig::CONFIG['ruby_version']` as the ABI version, which is used in naming `--user-install` gem folders, etc.
If the version with 'teeny' was used, one would be recompiling extension gems everytime a 'teeny' rele...
MSP-Greg (Greg L)
03:44 PM Bug #15791 (Closed): Clarify reason for RbConfig's ruby_version not reflecting "teeny" value
I did not realize that MRI always reports `RbConfig::CONFIG['ruby_version']` without the "teeny" value. Instead, it makes it always 0:
```
$ rvm ruby-2.6.2 do ruby -v -e 'p RbConfig::CONFIG["ruby_version"]'
ruby 2.6.2p47 (2019-03-13...
headius (Charles Nutter)
04:43 PM Revision 5689c464 (git): * 2019-04-26
git[bot]
04:43 PM Revision 0408b8b3 (git): Syntax-highlight yield in IRB
k0kubun (Takashi Kokubun)
04:18 PM Revision 2422316a (git): NEWS: Credit goes to Pry [ci skip]
We must note this feature is heavily inspired by Pry. k0kubun (Takashi Kokubun)
04:15 PM Revision 5fe99aef (git): Support highlighting Regexp in inspect
k0kubun (Takashi Kokubun)
03:53 PM Revision e64bab5f (git): Add NEWS entry about IRB syntax highlight [ci skip]
Details: https://github.com/ruby/ruby/pull/2150
Note that this introduction is discussed with @aycabta who is allowed to
make some changes to IRB by the IRB maintainer, keiju.
k0kubun (Takashi Kokubun)
03:48 PM Misc #15723: Reconsider numbered parameters
I'm +1 for single variable using `@`. headius (Charles Nutter)
03:47 PM Revision 0c54d2e2 (git): Force IRB::Color to recognize TERM
Closes: https://github.com/ruby/ruby/pull/2150 k0kubun (Takashi Kokubun)
03:47 PM Revision 022cbb27 (git): Do not color IRB output on 'dumb' TERM
Co-Authored-By: k0kubun <takashikkbn@gmail.com>
Closes: https://github.com/ruby/ruby/pull/2150
Pocket7878
03:47 PM Revision b55201dd (git): Colorize IRB's inspect result
Closes: https://github.com/ruby/ruby/pull/2150 k0kubun (Takashi Kokubun)
03:47 PM Revision 94af6cd3 (git): Colorize IRB's code_around_binding
Closes: https://github.com/ruby/ruby/pull/2150 k0kubun (Takashi Kokubun)
02:46 PM Revision 790f6709 (git): Mention warning of `$,`
see [r67606](https://github.com/ruby/ruby/commit/3ee0648dc7a5465b2cbadd7246fc2edbd676d759) znz (Kazuhiro NISHIYAMA)
01:05 PM Feature #12698: Method to delete a substring by regex match
The suggestion by @knu is pretty cool if you think about it: Since both `sub` and `gsub` exist, the uncertainty whether only one or all occurrences are deleted is gone. Also, with this in place, `delete` could be deprecated IMO (and remo... svoop (Sven Schwyn)
11:33 AM Revision 2272cb00 (git): Ripper does not use internal IDs directly
nobu (Nobuyoshi Nakada)
11:02 AM Revision c9715eb4 (git): Add more debug print for random CI failure on osx Travis
see r67347 znz (Kazuhiro NISHIYAMA)
10:42 AM Revision 3581a642 (git): BSD's mktemp does not have `-p`
k0kubun (Takashi Kokubun)
10:25 AM Revision 57225dc0 (git): Show `make checkout-github/merge-github` in help
k0kubun (Takashi Kokubun)
09:54 AM Revision b2e92bfd (git): Resurrect `make xxx-github PR=1234` interface
`call xxx, yyy` seems to pass " yyy" instead of "yyy". k0kubun (Takashi Kokubun)
09:54 AM Feature #15323: [PATCH] Proposal: Add Enumerable#filter_map
I've updated the patch file increasing the ruby version in *spec/ruby/core/enumerable/filter_map_spec.rb*
`Enumerable#filter_map` was already accepted in the last developers meeting: https://docs.google.com/document/u/2/d/e/2PACX-1vTU...
alfonsojimenez (Alfonso Jiménez)
09:29 AM Revision 70adfdcd (git): Added pr-%
May merge multiple github pull requests at once. e.g.,
$ make pr-123456789 pr-987654321
nobu (Nobuyoshi Nakada)
09:27 AM Revision 44bb429b (git): Cache git config values
nobu (Nobuyoshi Nakada)
09:05 AM Revision 6de9128f (git): Add `make checkout-github` too
You can use this like `make checkout-github PR=1234` k0kubun (Takashi Kokubun)
06:33 AM Revision 116f91ab (git): Make working tree under the source directory
nobu (Nobuyoshi Nakada)
06:03 AM Revision 09ce223b (git): Rebase the pull request in a worktree
A pull request based on an old commit may rewind too many files,
even if unnecessary. As rewinding some files, e.g., common header
files, configure.ac, will result in full-rebuild, rebase in a
separate directory to get rid of such rewind.
nobu (Nobuyoshi Nakada)
04:59 AM Bug #15788: minyruby crashes on Haiku
shyouhei (Shyouhei Urabe) wrote:
> Thank you for posting the issue! Tell us any updates when you want us to know.
Solved in Haiku: https://git.haiku-os.org/haiku/commit/?id=0e4b529df5c65d51d81f998055c6aac52f55437f
Thanks and sorr...
extrowerk (Zoltán Mizsei)
04:22 AM Revision d0ba4abf (git): Add RB_ID_SERIAL_MAX
nobu (Nobuyoshi Nakada)
03:37 AM Revision 99084f54 (git): Lazy allocate the compile data catch table array
Closes: https://github.com/ruby/ruby/pull/2119 methodmissing (Lourens Naudé)

04/24/2019

08:28 PM Revision 9bfc185a (git): Upgrade test-unit to 3.3.2
Sutou Kouhei
08:03 PM Feature #14183: "Real" keyword argument
jeremyevans0 (Jeremy Evans) wrote:
> More work should be done if this is accepted. Specifically, we need to decide:
> ...
I've updated my branch (https://github.com/jeremyevans/ruby/tree/keyword-argument-separation) to add support for...
jeremyevans0 (Jeremy Evans)
07:57 PM Bug #15790 (Closed): Strange interaction between autoload and $LOADED_FEATURES
If an autoload fails and we remove its associated file from `$LOADED_FEATURES`, the autoload is back:
```
$ cat x.rb
Y = 1 # should be X, emulates a typo
$ cat test.rb
def au
Object.autoload?(:X).inspect
end
x_rb = File.r...
fxn (Xavier Noria)
07:23 PM Bug #15766: Crash in 2.4, 2.5 involving at_exit
It is indeed an exact duplicate of #15282, which you backported to 2.5.
However, you didn't backport it then to 2.4. I understand that now it's probably a bit too late for a backport.
Nevertheless, as I didn't see you closing this ...
christian.boos@free.fr (Christian Boos)
05:48 PM Bug #15787: LoadError by EPERM on read-only volume
wishdev (John Higgins) wrote:
> The file you mention is required to be readable because it is the core of the rubygems module - but there is nothing written to that file at all.
Well, it's trying to lock the file, which is readonly, ...
extrowerk (Zoltán Mizsei)
01:47 PM Bug #15787: LoadError by EPERM on read-only volume
There is no such requirement as rubygems.rb in that folder being written to. I run locked down lxc containers on a daily basis that have no such writing ability (read only roots) and ruby works just fine. That folder is also not generall... wishdev (John Higgins)
06:51 AM Bug #15787: LoadError by EPERM on read-only volume
shevegen (Robert A. Heiler) wrote:
> This is indeed unfortunate but I guess the code could be changed. Keep in mind that the ruby core
> ...
I know, this is why i am here :) Our ruby port is way too old and needs to be updated, but for...
extrowerk (Zoltán Mizsei)
04:18 PM Bug #15789 (Closed): Parse error when numbered parameter is used in a lambda that is a default value of other optarg
Sorry if the name of the ticket is not desccriptive
While working on backporting these commits into a parser gem:
https://github.com/ruby/ruby/commit/6ca9e7cc0785c33f6d382176dbd79d6c91db72fe
https://github.com/ruby/ruby/commit/ae07b...
ibylich (Ilya Bylich)
04:09 PM Revision 7d2cb60e (git): * 2019-04-25
git[bot]
04:08 PM Revision 68e3f819 (git): add DRbObject dereference test (Preparation for investigation of Bug #15711)
Masatoshi SEKI
03:52 PM Revision dd5b6c71 (git): Fix typos [ci skip]
znz (Kazuhiro NISHIYAMA)
03:31 PM Bug #15773: Net::HTTP doesn't try next IP address in case of timeout
I thought long and hard about how to reply to this.
Let's put it this way: the fact that you are using glibc isn't the problem at all. The fact that you are badly using its results is.
Any other big piece of code out there that is...
nicolasnoble (Nicolas Noble)
03:12 PM Revision 6061aa0a (git): Automatically gpg-sign rebase when commit.gpgsign
is true
Closes: https://github.com/ruby/ruby/pull/2148
k0kubun (Takashi Kokubun)
01:48 PM Revision daff4cbd (git): Add `make fetch-github` and `make merge-github`
Closes: https://github.com/ruby/ruby/pull/2147 k0kubun (Takashi Kokubun)
09:19 AM Revision 2642f220 (git): Add more debug print for random CI failure on osx Travis
see r67347 znz (Kazuhiro NISHIYAMA)
08:34 AM Revision 1613917a (git): Defer setting gc_stress instead of setting dont_gc
[Bug #15784] nobu (Nobuyoshi Nakada)
07:46 AM Feature #15778: Expose an API to pry-open the stack frames in Ruby
Now we are not publishing Ruby API because we shouldn't use this kind of API on application code.
For example, if people rely on Binding.of_caller, we can't use delegation code freely.
I understand debugger like tools require the API, ...
ko1 (Koichi Sasada)
06:02 AM Bug #15788 (Third Party's Issue): minyruby crashes on Haiku
Thank you for posting the issue! Tell us any updates when you want us to know. shyouhei (Shyouhei Urabe)
05:58 AM Bug #15788: minyruby crashes on Haiku
Seems to be a bug in Haiku: https://dev.haiku-os.org/ticket/15025 extrowerk (Zoltán Mizsei)
06:00 AM Bug #15270: [PATCH] Fix TracePoint for code loaded using ISeq.load_from_binary
I'll set Backport field for 2.5 as REQUIRED since https://bugs.ruby-lang.org/issues/15717 claims the issue was not fixed on ruby_2_5. nagachika (Tomoyuki Chikanaga)
05:49 AM Misc #15723: Reconsider numbered parameters
jeremyevans0 (Jeremy Evans) wrote:
> As I expressed in the developer meeting today, after a lot of thought, I believe if we want to support implicit block arguments, we should limit support to a single argument, and use `@` to represent...
jeremyevans0 (Jeremy Evans)
02:57 AM Misc #15723: Reconsider numbered parameters
chocolateboy (Chocolate Boy) wrote:
> [P]ragmas by overloading comments ... could be used here as well e.g.:
> ...
This looks to me like splitting Ruby into two dialects and letting the programmer declare when using the non-default one...
sawa (Tsuyoshi Sawada)
04:28 AM Bug #15780: Module#const_defined?(String) executes autoloads
All stable versions have this bug. Eregon (Benoit Daloze)
04:26 AM Bug #15780: Module#const_defined?(String) executes autoloads
I can confirm the bug. Here is a single-line reproducer:
```
$ ruby -e 'autoload :X, "foo"; p Object.const_defined?("X")'
Traceback (most recent call last):
3: from -e:1:in `<main>'
2: from -e:1:in `const_defined?'
1: from /home...
Eregon (Benoit Daloze)
04:02 AM Revision f1a52d96 (git): Defer setting gc_stress until inits done
[Bug #15784] nobu (Nobuyoshi Nakada)
12:30 AM Revision 2ef66737 (git): force 10 chars SHA1 display.
`make update-src` shows latest commit hash for convinience.
However, `rev-parse --short` option shows different length
(maybe) between git versions. This fix force 10 chars
with `--short=10`.
ko1 (Koichi Sasada)

04/23/2019

10:47 PM Bug #15787: LoadError by EPERM on read-only volume
This is indeed unfortunate but I guess the code could be changed. Keep in mind that the ruby core
team probably has not that much experience with haiku - most will use linux or mac OSX, some
windows or one of the BSDs.
Your problem...
shevegen (Robert A. Heiler)
07:39 PM Bug #15787 (Feedback): LoadError by EPERM on read-only volume
On Haiku the package management just virtually extracts/populates the files, and as it doesn't have write-overlay feature, the populated files are read-only.
Issue: Ruby has to maintain a list of installed gems in a single file, in ru...
extrowerk (Zoltán Mizsei)
10:26 PM Revision 19d454a9 (git): syntax error can move, so do not cache
tenderlovemaking (Aaron Patterson)
09:21 PM Revision 75061f46 (git): Fix complex hash keys to work with compaction
For example when an array containing objects is a hash key, the contents
of the array may move which can cause the hash value for the array to
change. This commit makes the default `hash` value based off the
object id, so the hash valu...
tenderlovemaking (Aaron Patterson)
07:56 PM Bug #15788 (Third Party's Issue): minyruby crashes on Haiku
```
~ » uname -a
Haiku shredder 1 hrev53091 Apr 22 2019 22:17:21 x86_64 x86_64 Haiku
```
miniruby crashes during the compilation phase in pthread_attr_get_np.See the attachements for more information.
Current (WIP) ruby recipe...
extrowerk (Zoltán Mizsei)
05:02 PM Revision cf930985 (git): Remove member char_offset_updated from struct rmatch as member char_offset_num_allocated can serve the same purpose as that predicate
methodmissing (Lourens Naudé)
04:10 PM Revision 82ef172a (git): The step should not fail when isolated tests
do not exist k0kubun (Takashi Kokubun)
03:41 PM Revision bc8e5491 (git): Isolate test_gc_compact for osx Travis
After `GC.compact`, test/shell/test_command_processor.rb seems to be made
unstable on osx Travis like https://travis-ci.org/ruby/ruby/jobs/523487997.
For investigating whether it's impacting that or not, let me try isolating
that for os...
k0kubun (Takashi Kokubun)
03:40 PM Revision 9629f4c0 (git): * 2019-04-24
git[bot]
03:40 PM Revision 31cf1306 (git): Only define history_root member of the Oniguruma re_registers struct if USE_CAPTURE_HISTORY is enabled
methodmissing (Lourens Naudé)
03:02 PM Misc #15782: DevelopersMeeting20190522Japan
* [Feature #15323] [PATCH] Proposal: Add `Enumerable#filter_map`
* It's expressive as Ruby lang itself
* Make `filter_map(&:predicate) { |elem| elem * 2 }` syntax possible
* Should also consider adding `#filter_map!`
* It enables...
greggzst (Grzegorz Jakubiak)
04:42 AM Misc #15782: DevelopersMeeting20190522Japan
* [Feature #15281] Speed up `Set#intersect` with size check.
* Everyone likes faster code. But the question is: are Sets ordered? I think Matz must decide.
tenderlovemaking (Aaron Patterson)
02:12 PM Bug #15786 (Closed): numbered parameterを使ったprocのparametersに記号が現れる
~~~ruby
->{@100}.parameters.map{@2}.join
#=> "!\"\#$%&'()*+,-./:;<=>?@[\\]^`"
~~~
`proc{@100}.parameters` の場合はそれに加え、`[[:opt, nil]...]` になる
`RubyVM::InstructionSequence.of(->{@100}).to_a`
`RubyVM::InstructionSequence.disasm(->{@...
tompng (tomoya ishida)
01:44 PM Bug #15785: GitHub - all tags are gone?
@hsbt wrote:
> I restored now. Thanks for your notification.
Thanks, but I didn't do much. You fixed it, and very quickly. Thank you.
Greg
MSP-Greg (Greg L)
01:28 PM Bug #15785 (Closed): GitHub - all tags are gone?
I restored now. Thanks for your notification. hsbt (Hiroshi SHIBATA)
01:28 PM Bug #15785: GitHub - all tags are gone?
They seem to be back now qyliss (Alyssa Ross)
01:18 PM Bug #15785: GitHub - all tags are gone?
This has broken the “commit logs” links in Ruby release notes, e.g.
https://www.ruby-lang.org/en/news/2019/04/17/ruby-2-6-3-released/,
which is from less than a week ago.
qyliss (Alyssa Ross)
12:55 PM Bug #15785 (Closed): GitHub - all tags are gone?
There are also no tags at https://git.ruby-lang.org/ruby.git... MSP-Greg (Greg L)
01:26 PM Revision 14dd8d6b (git): Added cgit url.
hsbt (Hiroshi SHIBATA)
12:55 PM Revision f4f66bd1 (git): Revert "IRB is improved with Reline and RDoc, take 2"
Accidentally merged when 89271d4a3733bc5e70e9c56b4bd12f277e699c42
"Adjusted indents".
nobu (Nobuyoshi Nakada)
12:01 PM Misc #14632 (Closed): [ANN] git.ruby-lang.org
I announced https://www.ruby-lang.org/en/news/2019/04/23/move-to-git-from-svn/
We still have some issues. But I will close this.
If you find the issues, Please file them to bugs.ruby-lang.org or https://github.com/ruby/b.r-l.o espe...
hsbt (Hiroshi SHIBATA)
11:55 AM Misc #14470 (Closed): Use Commit together with co-authors Github feature in svn commits
Today, We move to Git from Subversion.
https://www.ruby-lang.org/en/news/2019/04/23/move-to-git-from-svn/
We can keep your original commit now.
hsbt (Hiroshi SHIBATA)
11:27 AM Revision 89271d4a (git): Adjusted indents
nobu (Nobuyoshi Nakada)
11:08 AM Revision f2cd4f4c (git): IRB is improved with Reline and RDoc, take 2
aycabta (aycabta .)
09:53 AM Bug #15784 (Closed): RUBY_DEBUG=gc_stress dumps core
```
% RUBY_DEBUG=gc_stress gdb --args ./miniruby -vep
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
T...
shyouhei (Shyouhei Urabe)
09:14 AM Bug #15675 (Feedback): "fatal - exception reentered" error after installing Ruby 2.5.5
Could you please show us the reproducible code? nagachika (Tomoyuki Chikanaga)
09:03 AM Bug #15727 (Feedback): [BUG] Segmentation fault at 0x0000000000000000 ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
nagachika (Tomoyuki Chikanaga)
07:50 AM Revision 87cf45a5 (git): Fix a typo
znz (Kazuhiro NISHIYAMA)
07:25 AM Bug #15766 (Closed): Crash in 2.4, 2.5 involving at_exit
Thank you for reporting and investigations.
I'll close this ticket because it was fixed on trunk and the stable maintainers watch Closed tickets for backport.
[Bug #15282] seems related.
nagachika (Tomoyuki Chikanaga)
06:43 AM Revision 2ae5f6f9 (git): Add VCS::GIT#commit
nobu (Nobuyoshi Nakada)
06:39 AM Revision 2fb83a0a (git): Split git-svn dependent methods
nobu (Nobuyoshi Nakada)
06:13 AM Revision 18eb9e58 (git): Use an exclusive range for ruby_version_is
nobu (Nobuyoshi Nakada)
05:12 AM Revision 0d41adf6 (git): Split long expression
nobu (Nobuyoshi Nakada)
05:09 AM Revision 4946c3e4 (git): Add tool/format-release to .gitattributes
znz (Kazuhiro NISHIYAMA)
03:39 AM Revision 2e1ac220 (git): Oops, bad merge 🙇‍♂️
tenderlovemaking (Aaron Patterson)
03:34 AM Revision e50e60b9 (git): * expand tabs.
git[bot]
03:33 AM Revision 5a58318a (git): T_MOVED can live on the stack, so make sure we can do book keeping
Unused T_MOVED objects can live on the stack, so we need to make sure
that they can be accounted for in book keeping
tenderlovemaking (Aaron Patterson)
03:16 AM Bug #15783 (Closed): 引数のデフォルト値にNumbered parameterを書ける、キーワード引数の場合デフォルト値にNumbered parameterを書くとSEGVする
Applied in changeset commit:ruby-git|ae07b66aaa092c59ac9d544c9b582712290dc357.
----------
Fix internal error of `->x:@2{}`
[Fix GH-2139] [Bug #15783]
hanachin (Seiei Miyagi)
03:16 AM Revision 6ca9e7cc (git): Disallow numbered parameter as the default value of optional argument
[Fix GH-2139] [Bug #15783] hanachin (Seiei Miyagi)
03:16 AM Revision ae07b66a (git): Fix internal error of `->x:@2{}`
[Fix GH-2139] [Bug #15783] hanachin (Seiei Miyagi)
03:08 AM Revision ea520ca9 (git): Prevent rb_define_(class|module) classes from moving
Before this commit, classes and modules would be registered with the
VM's `defined_module_hash`. The key was the ID of the class, but that
meant that it was possible for hash collisions to occur. The compactor
doesn't allow classes in ...
tenderlovemaking (Aaron Patterson)
01:49 AM Bug #15774: OptionParser doesn't accept Date options as stated in the docs
You need to `require 'optparse/time'` to use built-in Time conversion (it doesn't seem to be stated explicitly in the documentation, but it is demonstrated throughout the examples) and you need to `require 'optparse/date'` to use Date or... Anonymous
01:27 AM Revision 660c0716 (git): [ci skip] grammers in comments
shyouhei (Shyouhei Urabe)
01:24 AM Revision 9cdb7366 (git): Missing semicolon
nobu (Nobuyoshi Nakada)
01:19 AM Revision a9b57862 (git): * 2019-04-23
git[bot]
01:19 AM Revision a8d4dc28 (git): * expand tabs.
git[bot]
01:19 AM Revision 98ee6369 (git): Symbols can move, so don't cache in static pointer
This changes the static pointers to use IDs then look up the symbols
with the ID. Symbols can move, so we don't want to keep static
references to them.
Aaron Patterson

04/22/2019

11:09 PM Misc #15723: Reconsider numbered parameters
TL; DR: a keyword (e.g. `it`) could be used without breaking backwards-compatibility via a **pragma** e.g.:
```ruby
# implicit_parameter: true
http.get(url).then { JSON.parse(it) }
```
---
I don't mind `@1, @2` etc., given ...
chocolateboy (Chocolate Boy)
06:52 PM Bug #15508: Mutex recursive lock error when combined with Thread#raise
I verified that this issue is fixed by [PR #2131](https://github.com/ruby/ruby/pull/2131). larskanis (Lars Kanis)
04:27 PM Bug #15783 (Closed): 引数のデフォルト値にNumbered parameterを書ける、キーワード引数の場合デフォルト値にNumbered parameterを書くとSEGVする
キーワード引数のデフォルト値にNumbered parameterを使うとSEGVしました。
再現コードです
```ruby
->x:@2{}
```
キーワードじゃない引数でも以下のような感じでNumbered parameterを使えるようです。
```ruby
->x=@1{}
```
以下のようにまぜて使った場合はシンタックスエラーになるのに、デフォルト値として書いた場合はシンタックスエラーにならないのはバグだと思います。
...
hanachin (Seiei Miyagi)
02:11 PM Revision 6fbf4e22 (git): Adds a reference to `TracePoint` to `binding` docs
This change adds an explicit reference to `TracePoint` in the
documentation for `binding`. Currently it only refers to the now
deprecated `Kernel#set_trace_func`. This reference is left alone for
continuity in the documentation.
[Fix GH-...
znz (Kazuhiro NISHIYAMA)
01:45 PM Revision 8c689e21 (git): Merge branch 'patch-5' of https://github.com/sos4nt/ruby into trunk
[Fix GH-2084] znz (Kazuhiro NISHIYAMA)
01:32 PM Misc #14632: [ANN] git.ruby-lang.org
k0kubun (Takashi Kokubun) wrote:
> * Verify committer email from SSH user (@mame)
Done.
* I've created a script named [check-email.rb](https://github.com/ruby/ruby-commit-hook/blob/master/bin/check-email.rb) which includes the cor...
mame (Yusuke Endoh)
12:53 PM Misc #14632: [ANN] git.ruby-lang.org
## Remaining tasks related to Git migration
* Add more git support in:
* Git support to backport to future `ruby_2_7` branch:
* `tool/merger.rb`
* Discuss the timing to rename the branch "trunk" to "master"? (#15782)
k0kubun (Takashi Kokubun)
05:23 AM Misc #14632: [ANN] git.ruby-lang.org
naruse (Yui NARUSE) wrote:
> Anyway chat is out of this topic.
Yes please. Don't let the chat involve this kind of things.
shyouhei (Shyouhei Urabe)
04:33 AM Misc #14632: [ANN] git.ruby-lang.org
In this ticket, there's a list of pre and post tasks.
You can always add "pre-announcement" and "post-announcement" in these 3 months.
About git migration, investigation and organizing tasks themselves are also hard work.
I'm very a...
naruse (Yui NARUSE)
03:56 AM Misc #14632: [ANN] git.ruby-lang.org
hsbt (Hiroshi SHIBATA) wrote:
> >Next time tell us BEFORE you disable something, OK?
> ...
I now feel I am excluded from the community because I was not on the chat. Does this mean anyone _must_ join the slack if they have to be consi...
shyouhei (Shyouhei Urabe)
03:28 AM Misc #14632: [ANN] git.ruby-lang.org
>Next time tell us BEFORE you disable something, OK?
I will make an effort next time. Can you join ruby-lang slack team again?
We discuss the internal workflow on this slack.
hsbt (Hiroshi SHIBATA)
03:19 AM Misc #14632: [ANN] git.ruby-lang.org
hsbt (Hiroshi SHIBATA) wrote:
> done. I disabled the writable operation of trunk branch on svn.ruby-lang.org
Next time tell us BEFORE you disable something, OK?
shyouhei (Shyouhei Urabe)
12:16 AM Misc #14632: [ANN] git.ruby-lang.org
@k0kubun Thanks to your works.
I enabled and disabled some changes on our repository.
>Operations
> ...
done. I disabled the writable operation of trunk branch on svn.ruby-lang.org
> Also prohibit force-push to git.ruby-lang.o...
hsbt (Hiroshi SHIBATA)
01:00 PM Revision 4cd67a84 (git): Fix RUBY_REVISION spec
broken by 5da52d1210625fb00acd573b3f32281b4bde1730 k0kubun (Takashi Kokubun)
12:45 PM Revision 87261cf5 (git): Omit last_commit=RUBY_LAST_COMMIT_TITLE without local commits
znz (Kazuhiro NISHIYAMA)
12:43 PM Misc #15782: DevelopersMeeting20190522Japan
* [Misc #14632] git.ruby-lang.org
* See [5da52d1210](https://github.com/ruby/ruby/commit/5da52d1210625fb00acd573b3f32281b4bde1730). I committed tentative `RUBY_REVISION`/`RUBY_DESCRIPTION` behaviors for preview1 as follows. Is it okay...
k0kubun (Takashi Kokubun)
12:36 PM Misc #15782 (Closed): DevelopersMeeting20190522Japan
Please comment your favorite ticket numbers you want to ask to discuss with your *SHORT* comment or summary.
(your summary/comment will help us because we don't need to read all of ticket comments)
*DO NOT* discuss then on this ticke...
k0kubun (Takashi Kokubun)
12:34 PM Misc #15459 (Closed): DevelopersMeeting before/after RubyKaigi2019
k0kubun (Takashi Kokubun)
12:27 PM Revision 5da52d12 (git): Migrate RUBY_VERSION/RUBY_DESCRIPTION to Git
from Subversion.
This behavior is tentative and not discussed well. The point of
discussion will be just the length of commit hash, and I thought we
should include this kind of change in 2.7.0-preview1 release even before
the length is ...
k0kubun (Takashi Kokubun)
12:02 PM Revision dd0b5163 (git): Tk is already removed from stdlib at r55844
https://github.com/ruby/ruby/commit/303dc3c591e324b6bbc691326d8bea76fe3b8fda znz (Kazuhiro NISHIYAMA)
11:37 AM Bug #15766: Crash in 2.4, 2.5 involving at_exit
On ruby_2_5, I bisected the fix to be ruby_2_5|r65582.
With r65581:
```
../Bug-15766.rb: unexpected return
C:/Dev/msys64-20161025/opt/ruby_2_5/lib/ruby/gems/2.5.0/gems/minitest-5.11.3/lib/minitest.rb:60: [BUG] Segmentation fault
...
christian.boos@free.fr (Christian Boos)
11:01 AM Revision c697bade (git): Ignore VSCode configuration from git.
hsbt (Hiroshi SHIBATA)
11:00 AM Revision 6a2c8e46 (git): Use github url instead of ViewVC.
hsbt (Hiroshi SHIBATA)
10:37 AM Revision 184447d9 (git): ViewVC of svn.ruby-lang.org was shutdown status.
hsbt (Hiroshi SHIBATA)
10:32 AM Bug #15728 (Feedback): error compiling C - file under Ruby
This issue depends what compiler is used.
Could you show what is your compiler and environment?
naruse (Yui NARUSE)
10:04 AM Misc #15630 (Closed): Clarification on Comparable documentation
Applied in changeset commit:ruby-git|f005ccc771574e8e4e17b7a35c19b352e0b7dc73.
----------
Clarify requirements of <=>
A return value of <=> is automatically converted to -1, 0, or 1, so
other values can be returned. [Misc #15630]
shugo (Shugo Maeda)
10:02 AM Revision ae3f38dc (git): CRuby trunk uses git instead of subversion now
znz (Kazuhiro NISHIYAMA)
08:15 AM Revision f005ccc7 (git): Clarify requirements of <=>
A return value of <=> is automatically converted to -1, 0, or 1, so
other values can be returned. [Misc #15630]
shugo (Shugo Maeda)
07:48 AM Bug #15764: Whitespace and control characters should not be permitted in tokens
Whether an issue is "Bug" or "Feature" practically depends whether the fix should be backported or not.
Anyway as far as I understand, Ruby has following categories of characters.
* First character for constants (upper case)
* First...
naruse (Yui NARUSE)
02:39 AM Revision 6013e41a (git): Support of Ruby 2.3 has ended
https://www.ruby-lang.org/en/news/2019/03/31/support-of-ruby-2-3-has-ended/ znz (Kazuhiro NISHIYAMA)
02:33 AM Revision beaddd1d (git): Now only supports Git repository
U.Nakamura
01:06 AM Revision b26a7c8d (git): * remove trailing spaces.
svn[bot]
01:06 AM Revision e949c084 (git): README.ja.md: Update description about Git repository
Backported 4c570abf77 to Japanese k0kubun (Takashi Kokubun)
12:55 AM Revision 44a468cc (git): * remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
12:55 AM Revision 4c570abf (git): README.md: Update description about Git repository
We started to switch from SVN to Git. Because GitHub would be more
reliable than our single-host cgit, I continued to list GitHub mirror
repository in the first place.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67700 b2dd03c8-39d...
k0kubun (Takashi Kokubun)

04/21/2019

11:16 PM Feature #15781: Unify Method List Introspection?
Another idea - partially related perhaps. Or just totally random ...
If we were to ignore the current API, then we could have:
Object#methods
To obtain all methods, as an Array. And then we could still apply filtering
on th...
shevegen (Robert A. Heiler)
11:08 PM Feature #15781: Unify Method List Introspection?
Now this is for matz to consider, so I'll not comment much on the suggestion itself.
I would, however had, still like to point out a few things:
(1) Even if we assume that there may be confusion (let's only assume so for now), I th...
shevegen (Robert A. Heiler)
08:43 PM Feature #15781 (Open): Unify Method List Introspection?
Although Ruby has many core methods for retrieving the list of methods available to an object, or to the instances of a class, I believe they have gotten a little confusing ([also see](https://idiosyncratic-ruby.com/25-meta-methodology.h... rbjl (Jan Lelis)
03:10 PM Misc #14632: [ANN] git.ruby-lang.org
Progress:
* I migrated svn hooks repository to https://github.com/ruby/ruby-commit-hook, and supported git in all features.
* Backport tools (`tool/merger.rb` and `tool/redmine-backporter.rb`) supported to specify git revision in r67...
k0kubun (Takashi Kokubun)
03:04 PM Revision 693c28d5 (git): * 2019-04-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:04 PM Revision fdd30912 (git): Fix a typo [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:24 PM Revision b6fd7b1b (git): tool/redmine-backporter.rb: Git support in backport/rel
close https://github.com/ruby/ruby/pull/2138
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67697 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
02:13 PM Bug #15780 (Closed): Module#const_defined?(String) executes autoloads
The documentation of `Module#const_defined?` says that autoloads are not executed:
> [...] if the constant is not present but there is an autoload for it, true is returned directly without autoloading.
While this seems to work as d...
fxn (Xavier Noria)
01:05 PM Revision c7db05d2 (git): tool/redmine-backporter.rb: Remove unused methods
They seem to have never been used from the beginning (r45081).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:26 PM Revision 72be46f1 (git): Drop tool/generate-backport-changelog.rb
because we're not writing ChangeLog since ruby_2_4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
12:03 PM Revision 2c31e6de (git): tool/merger.rb: Guard match failure properly
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
11:49 AM Revision de537823 (git): tool/merger.rb: Support fetching patch from cgit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
10:01 AM Revision 47676e96 (git): tool/merger.rb: Drop ChangeLog handling
We're not writing ChangeLog since ruby_2_4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
09:13 AM Revision 51cec009 (git): Revert "IRB is improved with Reline and RDoc"
This reverts commit 7f273ac6d0f05208b5b228da95205e20c0e8286c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
aycabta (aycabta .)
08:34 AM Revision 683834eb (git): Drop MJIT_FUNC_EXPORTED from rb_hash_bulk_insert
it's official API after r67677
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
08:19 AM Revision add82b7e (git): Drop obsoleted feature from help
I understand this is dropped in r67569
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
07:37 AM Revision 9c51ef5b (git): Merge upstream of Reline
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e aycabta (aycabta .)
07:27 AM Revision ea1835ca (git): Drop unnecessary newline in short line [ci skip]
I'm commiting safe things to test commit hooks on production...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
07:21 AM Revision 60455b39 (git): Fold too-long line for readability [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
07:17 AM Revision 0d23d02a (git): Use consistent comma in .ja [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
07:14 AM Revision c23b258d (git): Drop created at in .ja like en version [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
07:12 AM Revision 96147b3a (git): Slightly modify ja sentence [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
07:08 AM Revision 0d972252 (git): Backport README change to .ja.md [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
07:08 AM Revision 221e2937 (git): Add test/reline/ again, I'm back
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e aycabta (aycabta .)
06:08 AM Revision d9a01bc1 (git): Remove unused variable and check if successed
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
05:48 AM Revision 9a83922b (git): suppress redefinition warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
05:48 AM Revision 7f09b5e9 (git): suppress warning in test/irb
https://rubyci.org/logs/rubyci.s3.amazonaws.com/centos7/ruby-trunk/log/20190421T040003Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
naruse (Yui NARUSE)
05:37 AM Revision d3df725f (git): Make rb_hash_bulk_insert public
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e naruse (Yui NARUSE)
04:54 AM Revision d9c17c1a (git): git.ruby-lang.org may be slow than github.com from oversea
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
04:53 AM Revision 5906bcc9 (git): Remove debug lines
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:52 AM Revision 66b6d766 (git): Show/unshow executing command as specified by `V`
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
04:02 AM Revision 03c6cb5e (git): Note about cgit url [ci skip]
testing svn hook by this commit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
03:56 AM Revision 710e763e (git): test/ruby/test_pattern_matching.rb: add missing tests for NODE_DASGN, NODE_LASGN
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
03:51 AM Revision 2dc51bf4 (git): Remove test/reline temporary, I'll come back
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e aycabta (aycabta .)
03:46 AM Revision 2a5ea435 (git): add ensure to restore $stdout correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ko1 (Koichi Sasada)
03:38 AM Revision d0e50b7d (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
03:38 AM Revision b02f368c (git): Restore pwd
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:35 AM Revision 72cbc314 (git): Revert "Try dropping const qualifier to suppress msiwn warning"
This reverts commit b023c1cc07b2fd6e201bf3aeb4a1df9af3854888.
in favor of r67666.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
03:33 AM Revision e6a7b8a4 (git): Get rid of warinings of VC
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e U.Nakamura
03:32 AM Revision b023c1cc (git): Try dropping const qualifier to suppress msiwn warning
https://ci.appveyor.com/project/ruby/ruby/builds/23995093/job/qo728n1uorepkx16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
03:31 AM Revision 4cb2dcdf (git): ubygems.rb is already removed from ruby repository.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e hsbt (Hiroshi SHIBATA)
03:30 AM Revision a3adb11f (git): test/reline/helper.rb: define RELINE_TEST_ENCODING always
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:30 AM Revision 0db89a38 (git): Show the latest commit hash after update
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
03:12 AM Revision 2c6e2414 (git): Remove obsoleted TODO comment [ci skip]
looks like it's updated sufficiently
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
03:11 AM Bug #15384 (Closed): ssl_certs are duplicated in RubyGems and Bundler
I fixed it at r67539 hsbt (Hiroshi SHIBATA)
03:11 AM Revision 01efa5d9 (git): Add missing test for p_var_ref
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
02:58 AM Revision e7d76e3f (git): tool/merger.rb: Drop some revision notations.
Maintainer use merger mainly from redmine-backporter.rb.
[Fix GH-2136]
From: Chikanaga Tomoyuki <t-chikanaga@groovenauts.jp>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
02:58 AM Revision ffc93316 (git): tool/merger.rb: Remove unused command line format.
I believe no-one use this notation for years.
[Fix GH-2136]
From: Chikanaga Tomoyuki <t-chikanaga@groovenauts.jp>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
02:51 AM Revision dad30476 (git): Remove redundant cast
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e znz (Kazuhiro NISHIYAMA)
02:43 AM Revision bb77cc18 (git): Add missing tests for p_args
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
02:40 AM Bug #15764: Whitespace and control characters should not be permitted in tokens
Some points from a discussion at the Fukuoka post-RubyKaigi event:
- It might make sense to allow emoji as variable names (just for fun)
- Python also limits non-ASCII identifiers. See https://docs.python.org/3/reference/lexical_an...
duerst (Martin Dürst)
02:33 AM Revision 1a0990cb (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
02:33 AM Revision 65f1b811 (git): Fix test library name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e nobu (Nobuyoshi Nakada)
02:18 AM Revision eeee4f40 (git): Remove unnecessary condition
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e ktsj (Kazuki Tsujimoto)
01:39 AM Revision ecf4e8fb (git): * 2019-04-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:06 AM Revision 985192f0 (git): Make README.md similar to README.ja.md [ci skip]
making safe commit to debug svn hook
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)

04/20/2019

10:25 PM Revision 838f1f61 (git): skip test until we can guarantee movement of certain objects
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
03:49 PM Feature #15778: Expose an API to pry-open the stack frames in Ruby
Yeah, it could be used to implement `Binding.of_caller`, but if we have the proposed API, we may not need actual `Binding.of_caller` as the tools can use `Kernel.caller_locations(debug: true)`. Our caller can be a C Frame in the case of ... gsamokovarov (Genadi Samokovarov)
03:12 PM Feature #15778: Expose an API to pry-open the stack frames in Ruby
So this could be used to implement `Binding.of_caller` as `caller_locations(1, 1, debug: true).first.binding`? chrisseaton (Chris Seaton)
02:43 PM Feature #15778: Expose an API to pry-open the stack frames in Ruby
I discussed with @gsamokovarov at RubyKaigi and I think this is a good idea and `Thread::Backtrace::Location#binding` is a natural fit for it.
chrisseaton (Chris Seaton) wrote:
> Is your idea that all exception backtraces always come...
Eregon (Benoit Daloze)
10:21 AM Feature #15778: Expose an API to pry-open the stack frames in Ruby
Is your idea that all exception backtraces always come with the bindings attached? Or just when you call `Kernel#caller_locations` you then get the bindings attached? chrisseaton (Chris Seaton)
02:27 AM Feature #15778 (Assigned): Expose an API to pry-open the stack frames in Ruby
Hello,
I'm the maintainer of the web-console (https://github.com/rails/web-console/) gem, where one of our features is to jump between the frames in which an error occurred. To accomplish this, I currently use the Debug Inspector CRub...
gsamokovarov (Genadi Samokovarov)
12:40 PM Bug #15779: After NoMemoryError, ruby freezes and takes 100% CPU
I rewrote this issue to English. buzztaiki (Taiki Sugawara)
12:15 PM Bug #15779: After NoMemoryError, ruby freezes and takes 100% CPU
Sorry, I wote bug report in Japanese to ruby-core.
In English:
Subject: After NoMemoryError, ruby freezes and takes 100% CPU
Description:
Run following reproduce code, ruby freezes and takes 100% CPU.
```
require 'open-uri'...
buzztaiki (Taiki Sugawara)
11:57 AM Bug #15779 (Closed): After NoMemoryError, ruby freezes and takes 100% CPU
Run following reproduce code, ruby freezes and takes 100% CPU.
```
require 'open-uri'
begin
"a" * 10000000000
ensure
p open('https://www.ruby-lang.org/')
end
```
But interestingly, the following code does not reproduce...
buzztaiki (Taiki Sugawara)
11:35 AM Bug #14918 (Closed): Use Reline for fallback of ext/readline
r67645 introduces this feature. naruse (Yui NARUSE)
09:32 AM Revision 3863b777 (git): Remove IRB's old test files
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e aycabta (aycabta .)
09:29 AM Misc #9006 (Rejected): build and host binary rubies
I've been shipped the binary ruby named snaps.
https://snapcraft.io/ruby
hsbt (Hiroshi SHIBATA)
09:29 AM Revision 66ae3bd5 (git): skip test if mjit is enabled
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
09:23 AM Revision d4a555d4 (git): Add "require 'stringio'"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e aycabta (aycabta .)
09:16 AM Revision ffaee7b3 (git): Use require_relative for tests of Reline
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e aycabta (aycabta .)
08:51 AM Revision 7f273ac6 (git): IRB is improved with Reline and RDoc
Reline is a readline stdlib compatible library. It also supports
multiline input. IRB is improved with Reline and supports multiline.
Besides, supports showing documents when completed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@...
aycabta (aycabta .)
07:52 AM Revision 91faab7f (git): Fix wrong critical section label
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
07:37 AM Revision ef73bee8 (git): Prefix rb_ to MJIT wait call since it's exported
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
07:16 AM Revision e4a0304a (git): Workaround Wercker check which is not working now
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
06:54 AM Revision 9c587d22 (git): Skip test_find_collided_object on problematic CIs for now
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
06:08 AM Revision 78d3e439 (git): Make sure the has_remembered_objects flag is correctly set
Remembered objects can move between pages, so we need to make sure the
flags on the page are set correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
05:50 AM Revision c2b8cd42 (git): Revert "Revert "Skip ISeq reference for stale_units for debugging""
This reverts commit b79899b56a9ebadf5c493c4df2419ebf63934381.
I wanted to test r67638 first. Now let me try this as well.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
05:48 AM Revision b2ffafd2 (git): Invalidate JIT-ed code if ISeq is moved by GC.compact
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
05:45 AM Revision b79899b5 (git): Revert "Skip ISeq reference for stale_units for debugging"
This reverts commit 4bd4d4e4cfd164f767e88f844cf10b06faee14b9.
Sorry, let me test another one first
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
05:44 AM Revision 4bd4d4e4 (git): Skip ISeq reference for stale_units for debugging
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
05:11 AM Revision 109633b1 (git): Always pin stack zombie and moved slots
We should always pin stack zombies and moved
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
05:00 AM Feature #15653 (Closed): Proposal: Add Time#floor
Applied in changeset trunk|r67632.
----------
Add `Time#floor`
[Feature #15653]
[Fix GH-2092]
From: manga_osyo <manga.osyo@gmail.com>
nobu (Nobuyoshi Nakada)
05:00 AM Revision b25bf66a (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:00 AM Revision 5d9acf07 (git): * expand tabs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
05:00 AM Revision 1686c0d4 (git): Add `Time#floor`
[Feature #15653]
[Fix GH-2092]
From: manga_osyo <manga.osyo@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
nobu (Nobuyoshi Nakada)
04:50 AM Revision b914bea8 (git): Check ISeq references in stale_units too
This is a possible bug from recent "JIT recompile" introduction.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
k0kubun (Takashi Kokubun)
04:13 AM Revision c98d1f18 (git): add more assertions around moved object
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
03:37 AM Revision 243842f6 (git): Avoid usage of the dummy empty BEGIN node
Use NODE_SPECIAL_NO_NAME_REST instead.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ktsj (Kazuki Tsujimoto)
03:29 AM Revision 27f75cf3 (git): Update ISeq references in stale_units as well
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e k0kubun (Takashi Kokubun)
03:25 AM Revision b8b503d6 (git): Add symbol to the result of `RubyVM::AbstractSyntaxTree#children`.
Add symbol to the result to make pattern match easily.
For example:
(1) NODE_MASGN * NODE_SPECIAL_NO_NAME_REST
```
$ ./miniruby -e 'p RubyVM::AbstractSyntaxTree.parse("a, * = b").children[-1].children'
[#<RubyVM::AbstractSyntaxTree::N...
yui-knk (Kaneko Yuichiro)
03:00 AM Revision 91557d0c (git): check the index rather than include
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
03:00 AM Revision 79accaf8 (git): fix strict compile errors
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e tenderlovemaking (Aaron Patterson)
02:40 AM Revision c784da17 (git): Update MJIT references
ISeq can move, so we need to tell MJIT where the new location is.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
01:59 AM Revision 6c4fd432 (git): Try harder to make objects move
Sometimes the objects we allocated may not get compacted. This change
is to increase the likelyhood that they will move
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
01:44 AM Feature #15663: Documenting autoload semantics
Let me share some thoughts that won't help much, but would like to contribute anyway :).
To me it is a surprise that constants for which there is an autoload are treated as existing by the constants API. My basic observation is that y...
fxn (Xavier Noria)
01:20 AM Revision db14ceae (git): * 2019-04-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:20 AM Revision c74a44d6 (git): * properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e svn[bot]
01:19 AM Revision 91793b89 (git): Add `GC.compact` again.
🙏
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
tenderlovemaking (Aaron Patterson)
 

Also available in: Atom