Age | Commit message (Collapse) | Author |
|
https://github.com/ruby/io-console/commit/74567376c4
|
|
Now io/console is loaded from test-unit indirectly, test-unit
requires power_assert which requires io/console.
https://github.com/ruby/io-console/commit/8817d07951
https://github.com/ruby/io-console/commit/639cce89de
|
|
At least check_dependencies.yml has not failed here yet.
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4104
|
|
|
|
`rb_define_const` can add objects as "mark objects". This is to make
code like this work:
https://github.com/ruby/ruby/blob/33d6e92e0c6eaf1308ce7108e653c53bb5fb106c/ext/etc/etc.c#L1201
```
rb_define_const(rb_cStruct, "Passwd", sPasswd); /* deprecated name */
```
sPasswd is a heap allocated object that is also a C global, so we can't
move it (it needs to be pinned). However, we have many calls to
`rb_define_const` that just pass in an integer like this:
```
rb_define_const(rb_cDBM, "WRITER", INT2FIX(O_RDWR|RUBY_DBM_RW_BIT));
```
Non heap allocated objects like integers will never move, so there is no
reason to waste time in the GC marking / pinning them.
Notes:
Merged: https://github.com/ruby/ruby/pull/4152
|
|
https://github.com/ruby/irb/commit/adbba19adf
|
|
This reverts commit 6985bfb72c8d7e7d94f1aad1f0902b602bbfa6da.
Now it should work on riscv by the previous commit. [Bug #17609]
|
|
Fixes [Bug #17609]
Co-Authored-By: xtkoba (Tee KOBAYASHI) <xtkoba+ruby@gmail.com>
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4151
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4150
|
|
Stop using logarithm to compute the number of components.
Instead, use the theoretical maximum number of components for buffer,
and count up the actual number of components during conversion.
https://github.com/ruby/bigdecimal/commit/9067b353ac
|
|
https://github.com/ruby/bigdecimal/commit/7479923fdb
|
|
It is questionable whether we can change a public API but this function
does not exist today. No way.
|
|
I think this is breaking something
This reverts commit 1be84e53d76cff30ae371f0b397336dee934499d.
|
|
|
|
The caller should be responsible for holding a pinned reference (if they
need that)
Notes:
Merged: https://github.com/ruby/ruby/pull/4144
|
|
Chaining aliased methods increases searching cost linearly.
Notes:
Merged: https://github.com/ruby/ruby/pull/4149
|
|
This change is for preventing the false-positive alert by CoverityScan.
See CID-1471770 for the detail.
https://github.com/ruby/bigdecimal/commit/4d5b97125b
|
|
|
|
|
|
"alias" type method entries can chain another aliased method
so that machine stack can be overflow on nested alias chain.
http://ci.rvm.jp/results/trunk-repeat20@phosphorus-docker/3344209
This patch fix this issue by use goto instead of recursion if possible.
TODO: Essentially, the alias method should not points another aliased
method entry. Try to fix it later.
Notes:
Merged: https://github.com/ruby/ruby/pull/4148
|
|
On macOS with EditLine:
```
$ ruby -r readline -e 'Readline.readline("> "); p Readline::VERSION' < /dev/null
"EditLine wrapper"
```
On Linux with GNU readline:
```
$ ruby -r readline -e 'Readline.readline("> "); p Readline::VERSION' < /dev/null
> "8.0"
```
|
|
|
|
vm->ubf_async_safe is VM global resource and only main thread
can manipulate it.
[Bug #17482]
Notes:
Merged: https://github.com/ruby/ruby/pull/4147
|
|
|
|
https://github.com/ruby/irb/commit/7aed8fe3b1
|
|
Notes:
Merged-By: nurse <naruse@airemix.jp>
|
|
timer_posix mode is managed by timer_posix.state. This patch
adds some debug code for the transition of the state.
Notes:
Merged: https://github.com/ruby/ruby/pull/4145
|
|
|
|
to improve performance
|
|
I want to push another repo/branch to run CI before pushing it to
official branch.
|
|
The installation script fault seems fixed at 2.5.23.20200904.
|
|
|
|
|
|
This value should either be pinned, or looked up when needed at runtime.
Without pinning, the GC may move the encoding object, and that could
cause a crash.
In this case it is easier to find the value at runtime, and there is no
performance penalty (as Ruby caches encoding indexes). We can shorten
the code, be compaction friendly, and incur no performance penalty.
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4124
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4124
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4124
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4124
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4124
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4142
|
|
For already preprocessed header, -Werror=misleading-indentation
doesn't make sense.
|
|
Add --preprocessor and --preprocessor-arg for each preprocessor
command arguments, as windres 2.36 requires preprocessor name and
arguments to be separated to respect spaces in these paths.
|
|
`File.absolute_path?` has been added since Ruby 2.7.0, but it isn't
mentioned in the NEWS. So this patch adds a NEWS entry.
ref: https://bugs.ruby-lang.org/issues/15868
Co-authored-by: nagachika <nagachika@ruby-lang.org>
Notes:
Merged: https://github.com/ruby/ruby/pull/4139
Merged-By: nobu <nobu@ruby-lang.org>
|
|
|
|
|
|
It always branches by `obj` is `Qundef` or not, which is invariant
for each functions; `obj_method` is the latter, and the other two
are the former.
|
|
It is unable where unaligned word access is disallowed and
`double` is wider than pointers.
|