| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
RHASH_AR_TABLE_SIZE() has assertion that it is a ar_talbe.
The last commit breaks this assumption so check ar_table first.
(cherry picked from commit c3584dfacce4d0f2058d8403de6fdce4fd4d686b)
|
|
|
|
|
|
|
|
|
| |
ar_table can be converted to st_table just after `ar_do_hash()`
function which calls `#hash` method. We need to check
the representation to detect this mutation.
[Bug #16676]
(cherry picked from commit 4c019f5a626523e99e2827ed917802e3097c380d)
|
|
|
|
|
|
|
|
| |
RB_NOGVL_UBF_ASYNC_SAFE is wrongly specified because flags
is not checked.
[Bug #15499] 23444302
(cherry picked from commit ff98931daca1265e5bd33025d160c77e452c399e)
|
|
|
|
|
|
|
|
|
| |
21994b7fd686f263544fcac1616ecf3189fb78b3 removed the write barrier that
was present in rb_hash_aset(). Re-insert it to not crash during GC.
[Bug #16689]
(cherry picked from commit 713dc619f5372a645b66bef9dacee217c4101cb4)
|
|
|
|
| |
(cherry picked from commit 8a6ba10f9dd456cf54de800203cf04bbe42271fb)
|
|
|
|
|
|
|
|
| |
Mainly for pry compatibility in test
https://github.com/k-tsj/power_assert/commit/dcc14cbef48d9790187fa400a5df7531d81a5971
Also include "Show full_message if available"
https://github.com/k-tsj/power_assert/commit/53ce0400bf47f722830d6604be0a2e30cccabf34
|
|
|
|
|
|
|
| |
[Bug #16497]
https://github.com/ruby/stringio/commit/4958a5ccab
(cherry picked from commit e257c08f2ec27e2d66cdfa7e2415deb492522e22)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With the removal of the splatted argument when using an empty
keyword splat, the autosplat code considered an empty keyword
splat the same as no argument at all. However, that results
in autosplat behavior changing dependent on the content of
the splatted hash, which is not what anyone would expect or
want. This change always skips an autosplat if keywords were
provided.
Fixes [Bug #16560]
(cherry picked from commit c1d8829ef515ee51fadeadd7dd022b5c47a71cdd)
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Fixing SEGVs like:
http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/2744905
http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/2744420
http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/2741400
[Bug #16664]
(cherry picked from commit adcf0316d1ecedae2a9157ad941550e0c0fb510b)
|
|
|
|
| |
(cherry picked from commit a8dcab723316997d9e01c89d6df969edce75bdca)
|
|
|
|
|
|
|
|
|
|
|
| |
In 2.6, SimpleDelegator would always use the target `respond_to?`
In 2.7.0 it doesn't if the target does not inherit from Object.
This breaks compatibility for delegated objects that inherit
from BasicObject and redefine `respond_to?`. [Bug #16606]
(cherry picked from commit f2552216d43040cd42bbb9fd484eab6c70856fe6)
|
|
|
|
|
|
|
| |
`Delegator.delegating_block` should delegate keyword arguments
separately. [ruby-core:96949]
(cherry picked from commit 9bcf4f3db26249772c983896ebbc9ff41f4614db)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, this code:
ruby2_keywords def foo(*a) a.last end
foo(**{})
Returned an empty frozen hash. However, the final hash should
not be frozen in this case, as it wouldn't be if foo accepted
a keyword splat.
Use a new unfrozen empty hash instead of reusing the frozen empty
hash in this case.
Fixes [Bug #16642]
|
| |
|
|
|
|
|
|
| |
in favor of #2791
(cherry picked from commit b00418732c89ce42c1c4cef57d08344659fbdd2b)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, if an object has a singleton class, and you call
Object#method on the object, the resulting string would include
the object's singleton class, even though the method was not
defined in the singleton class.
Change this so the we only show the singleton class if the method
is defined in the singleton class.
Fixes [Bug #15608]
(cherry picked from commit e02bd0e713ef920e6d12c27f16548f48ec5c2cf0)
|
|
|
|
|
|
|
| |
As `command_rhs` is always a "value expression", `command_asgn`
does not need the same check. [Bug #16619]
(cherry picked from commit 6e6844320de989cb88a154e2ac75066ccea1bba2)
|
|
|
|
|
|
|
| |
`rb_funcallv_public` and `rb_respond_to` require an `ID`, not a
`Symbol`. [Bug #16649]
(cherry picked from commit 8b6e2685a4b7c7de905f7ed60c02ef85e0724754)
|
|
|
|
| |
(cherry picked from commit 041c2932e336b509b0ddc1fdbd9f160bce8d4893)
|
|
|
|
|
|
| |
[Bug #16634]
(cherry picked from commit fb472ca7adbaceb35aae1b3a6b948720ffc9eb53)
|
|
|
|
|
|
|
| |
Retrying after rescued `require` should try to load the same
library again. [Bug #16607]
(cherry picked from commit 7d6903dc476f982e7b432adbeef3a3d9372a309f)
|
| |
|
|
|
|
|
|
| |
Because the package provided by GitHub releases is different from sourceware.
(cherry picked from commit 47a1872cd8b901b8aab6dedce7fa3807c97d290d)
|
|
|
|
|
| |
[Bug #16681]
(cherry picked from commit 86022167461dc90b70164e2bb23316959bbfd6ba)
|
|
|
|
|
|
|
|
|
|
| |
To enable implementation-defined output processing, for the
compatibility with readline. [Bug #16509]
https://bugs.ruby-lang.org/issues/16509
https://github.com/ruby/io-console/commit/8c8b0b6757
(cherry picked from commit 4e56ec4ef74cf77dbcb4ce7c669e0595cd0d12fa)
|
|
|
|
| |
(cherry picked from commit aeaf0dc55595b8a5bfdd92007fb85ef13855c632)
|
|
|
|
| |
(cherry picked from commit 33d02e6bc7502c5a3f09c59908a8c9f08a474b8d)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
commit c98c492578d898dc07a04b8240d8d5b1508ffafa
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
Date: Fri Jan 17 16:56:53 2020 +0900
Added test for f38b3e8c707ebdcad05aa9485cf1760640b74fbb
commit f38b3e8c707ebdcad05aa9485cf1760640b74fbb
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
Date: Thu Jan 16 18:34:31 2020 +0900
Fixed the location of args node with numbered parameter
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
It was set to 1000 in a4a2b9be7a55bb61d17cf9673ed0d2a93bb52d31.
However on ruby-2.7.0p0, there are much more than 1k frozen string right after boot:
```
$ ruby -robjspace -e 'p ObjectSpace.each_object(String).select { |s| s.frozen? && ObjectSpace.dump(s).include?(%{"fstring":true})}.uniq.count'
5948
```
|
| |
|
|
|
|
| |
[Bug #16514]
|
| |
|
| |
|
|
|
|
| |
when the next insn is already compiled by former branches.
|
| |
|
| |
|
|
|
| |
In #2818, `Hash.ruby2_keywords!` has renamed to `Hash.ruby2_keywords_hash`.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It was found that a feature to check and add ruby2_keywords flag to an
existing Hash is needed when arguments are serialized and deserialized.
It is possible to do the same without explicit APIs, but it would be
good to provide them as a core feature.
https://github.com/rails/rails/pull/38105#discussion_r361863767
Hash.ruby2_keywords_hash?(hash) checks if hash is flagged or not.
Hash.ruby2_keywords_hash(hash) returns a duplicated hash that has a
ruby2_keywords flag,
[Bug #16486]
|
| |
|
|
|
|
|
| |
Block for `create_makefile` is expected to return the content of
the makefile.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BSD make can run parallel more aggressively than GNU make. It communicate
with other make process through -J option in MAKEFLAGS environment variable
to notify a build failure happend in an other pararell make process.
https://www.freebsd.org/cgi/man.cgi?make
It usually works well but ext/-test-/cxxanyargs/Makefile has two targets
which are expected to fail (failure.o and failurem1.o).
Additional note:
To test and debug this issue, following command will speed up it.
`make -f exts.mk -j8 clean all`
|
|
|
|
|
| |
If the timer thread is left stopped, memory crash or segfault can
happen. [Bug #16624]
|
| |
|
|
|
|
|
| |
And revert "Stop test-bundled-gems on macOS for now",
28b290f7f4cb332dab3ddf3132e1916d413ea65c.
|
| |
|
|
|
|
|
|
| |
There is no active maintainer for cygwin. The CI failure is too noisy.
[Misc #16407]
|