summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-08-31merge revision(s) f9eb2515a3221cced611b4de971b72a78a7a566f:nagachika
core_assertions.rb: Extract common code block
2024-08-31merge revision(s) 3fe134759cc4904c74306e0832c22fa518a5bea2:nagachika
Skip assert_linear_performance for RJIT
2024-08-31merge revision(s) f07c756494b0e473ff8e4ece6f04c7ababe93b01:nagachika
core_assertions.rb: Tweak timeout limit Increase the timeout limit when variance at rehearsal is small.
2024-08-27Merge URI-0.12.3Hiroshi SHIBATA
2024-08-27Revert "merge revision(s) 29500e3034681a30045dea462d6bb653e8600738: ↵nagachika
[Backport #20698]" This reverts commit 3a3784a197383046537e66a9c567b96a52f0f86f.
2024-08-25merge revision(s) 29500e3034681a30045dea462d6bb653e8600738: [Backport #20698]nagachika
Update bundled gems list as of 2024-08-22
2024-08-18merge revision(s) 992596fb7af18a7f472589a607d0eb3fbb03b49a: [Backport #20344]nagachika
Fix next inside block argument stack underflow [Bug #20344] Fix compile_next adding removable adjust label
2024-08-18Allow waitpid(-1, Process::WNOHANG) to be woken if a waitpid(pid) isStan Hu
...pending If two threads are running, with one calling waitpid(-1, Process::WNOHANG), and another calling waitpid($some_pid), and then $some_other_pid exits, we would expect the waitpid(-1, Process::WNOHANG) call to retrieve that exit status. However, it cannot actually do so until $some_pid _also_ exits. This patch fixes the issue by calling do_waitpid unconditionally in waitpid_wait; this will ensure that a waitpid -1 actually reaps something (after first checking that no PID-directed call wants the process). [Bug #20490]
2024-08-18merge revision(s) 1870505f478cc75993b296b7144a45137ace6937: [Backport ↵nagachika
#20651] [Backport #20571] Fix wrong unreachable chunk remove when jump destination label is unremovable
2024-08-18merge revision(s) 97449338d6cb42d9dd7c9ca61550616e7e6b6ef6: [Backport #20649]nagachika
[Bug #20649] Allow `nil` as 2nd argument of `assign_error` Fallback to the last token element in that case, for the backward compatibilities.
2024-08-17merge revision(s) 2a7da0b6e76929c684cd948630a897c1d5b16c26: [Backport #20667]nagachika
Update bundled gems list as of 2024-08-12
2024-08-10merge revision(s) 657f4b99f61a15e21584b87f7b206933d116589b:nagachika
Update bundled gems list as of 2024-08-02
2024-08-10merge revision(s) 54d26221b4c4cfc46048f30892c626db69ce9244:nagachika
.travis.yml: Allow failures for ppc64le and s390x. Because Travis ppc64le/s390x are unstable. ppc64le: * https://app.travis-ci.com/github/ruby/ruby/builds/269211469 * https://app.travis-ci.com/github/ruby/ruby/builds/269204073 s390x: * https://app.travis-ci.com/github/ruby/ruby/builds/269201221
2024-08-08Added bootstrap job for release workflowHiroshi SHIBATA
2024-08-07Fix installation failure of rssHiroshi SHIBATA
2024-08-06Revert "skip bundled gem rss test for a while."Hiroshi SHIBATA
This reverts commit 0cc98ae353fd231bcd0e704c251198abc4406247.
2024-08-06Reapply "merge revision(s) ↵Hiroshi SHIBATA
9f708d48f6df37ee9600db9d51b57a156609a13b,0301473fb523c71d8cdc4966971f31f502001185,7f0e26b7f99bf76408569892ce20318501f74729: [Backport #20516]" This reverts commit 367ad5055c3d5210c884d4611e08ffa32ec608ee.
2024-08-06Adjust indentHiroshi SHIBATA
2024-08-06Try to find gemspec from `.bundle/specificationsHiroshi SHIBATA
2024-08-06Try to load original gemspec from `.bundle/gems/foo-x.y.z/foo.gemspec`.Hiroshi SHIBATA
`.bundle/specification/foo-x.y.z.gemspec` may be changed our toolchain
2024-08-06Use gemspec that keeps original dependenciesHiroshi SHIBATA
2024-08-06Make installation messages verbose a little [ci skip]Nobuyoshi Nakada
2024-08-06Revert "Backport [Bug #19158] for Ruby 3.2 (#7356)"Hiroshi SHIBATA
This reverts commit 65ab2c1ef23bd4a02120a27c371dce12ea9024d4.
2024-08-02Fix ceil when ndigits is largePeter Zhu
[Bug #20654] This commit fixes Integer#ceil and Float#ceil when the number is negative and ndigits is large such that 10**ndigits is a bignum. Previously, it would return 0 in such cases. However, this would cause unexpected behaviour such as: puts 1.ceil(-5) # => 100000 puts 1.ceil(-10) # => 10000000000 puts 1.ceil(-20) # => 0 This commit changes the last result so that it will return 100000000000000000000.
2024-08-02Fix floor when ndigits is largePeter Zhu
[Bug #20654] This commit fixes Integer#floor and Float#floor when the number is negative and ndigits is large such that 10**ndigits is a bignum. Previously, it would return 0 in such cases. However, this would cause unexpected behaviour such as: puts -1.floor(-5) # => -100000 puts -1.floor(-10) # => -10000000000 puts -1.floor(-20) # => 0 This commit changes the last result so that it will return -100000000000000000000.
2024-07-26skip bundled gem rss test for a while.nagachika
2024-07-26bump patchlevel.v3_2_5nagachika
2024-07-26Revert "merge revision(s) ↵nagachika
9f708d48f6df37ee9600db9d51b57a156609a13b,0301473fb523c71d8cdc4966971f31f502001185,7f0e26b7f99bf76408569892ce20318501f74729: [Backport #20516]" This reverts commit 56c311aa0b20dee13ab43309ae3386f57f8cb797.
2024-07-26bump teenynagachika
2024-07-22bump rexml version to 3.3.2.nagachika
2024-07-21merge revision(s) b15e88e0fcccb03b9cc5e4c1478ec9b10e26c961: [Backport #19619]nagachika
[Bug #19619] Preserve numbered parameters context Preserve numbered parameters context across method definitions
2024-07-20merge revision(s) e1104017e3080fd432c0b5fdc3ae6e004ffd0834: [Backport #19781]nagachika
YJIT: Fix cfp inconsistency on tailcall (#8107) [Bug #19781]
2024-07-20merge revision(s) a3eb5e5c70eaee12964cdd807b8f19950003141f: [Backport #20573]nagachika
Don't call `Warning.warn` unless the category is enabled (#10981) Don't call `Warning.warn` unless the category is enabled The warning category should be enabled if we want to call `Warning.warn`. This commit speeds up the following benchmark: ```ruby eval "def test; " + 1000.times.map { "' '.chomp!" }.join(";") + "; end" def run_benchmark count i = 0 while i < count start = Process.clock_gettime(Process::CLOCK_MONOTONIC) yield ms = Process.clock_gettime(Process::CLOCK_MONOTONIC) - start puts "itr ##{i}: #{(ms * 1000).to_i}ms" i += 1 end end run_benchmark(25) do 250.times do test end end ``` On `master` this runs at about 92ms per iteration. With this patch, it is 7ms per iteration. [Bug #20573]
2024-07-20merge revision(s) fba8aff7af450e476e97b62385427dfa51850955, ↵nagachika
d8c6e91748871ab2287d7703347847fe18a292d2: [Backport #20592] [Bug #20592] Fix segfault when sending NULL to freeaddrinfo On alpine freeaddrinfo does not accept NULL pointer Fix dangling `else`
2024-07-20merge revision(s) 2dd46bb82ffc4dff01d7ea70922f0e407acafb4e: [Backport #20468]nagachika
[Bug #20468] Fix safe navigation in `for` variable
2024-07-15Revert "merge revision(s) 5fa6ba9568e87e43e08a4daeba1572254c589fb1: ↵nagachika
[Backport #20500]" This reverts commit fc5b9ffad1b0710bd999521d0bf9631af6b762c2.
2024-07-15merge revision(s) 05553cf22d43dd78b8f30cc4591230b5c000c538: [Backport #20517]nagachika
[Bug #20517] Make a multibyte character one token at meta escape
2024-07-15merge revision(s) d503e1b95a40e45d7767e0175de60092de4ba54e: [Backport #20030]nagachika
[Bug #20030] dispatch invalid escaped character without ignoring it
2024-07-15merge revision(s) 5fa6ba9568e87e43e08a4daeba1572254c589fb1: [Backport #20500]nagachika
[Bug #20500] Search non-default directories for jemalloc Co-Authored-by: lish82 (Hiroki Katagiri)
2024-07-15[Bug #20633] Fix the condition for `atomic_signal_fence`kimuraw (Wataru Kimura)
`AC_CHECK_DECLS` defines `HAVE_DECL_SYMBOL` to 1 if declared, 0 otherwise, not undefined.
2024-07-15merge partially d292a9b98ce03c76dbe13138d20b9fbf613cc02d. Just add the test ↵nagachika
to ensure the issue doesn't exit in ruby_3_2 branch.
2024-07-15merge revision(s) 58918788abd63901588e4aa1e39b5c057321c10a: [Backport #20342]nagachika
[Bug #20342] Consider wrapped load in `main` methods
2024-07-15update GitHub Action spec_guards workflow.nagachika
2024-07-15follow-up for a6b7aad954680e23e7db81d69a7e8e44583bf8b4. suppress compiler ↵nagachika
warning.
2024-07-15merge revision(s) 7e4b1f8e1935a10df3c41ee60ca0987d73281126: [Backport #20322]nagachika
[Bug #20322] Fix rb_enc_interned_str_cstr null encoding The documentation for `rb_enc_interned_str_cstr` notes that `enc` can be a null pointer, but this currently causes a segmentation fault when trying to autoload the encoding. This commit fixes the issue by checking for NULL before calling `rb_enc_autoload`.
2024-07-15merge revision(s) c7ce2f537f96ab2cf2f5fc2982d6147866ff5340: [Backport #20304]nagachika
Fix memory leak in setting encodings There is a memory leak in Encoding.default_external= and Encoding.default_internal= because the duplicated name is not freed when overwriting. 10.times do 1_000_000.times do Encoding.default_internal = nil end puts `ps -o rss= -p #{$$}` end Before: 25664 41504 57360 73232 89168 105056 120944 136816 152720 168576 After: 9648 9648 9648 9680 9680 9680 9680 9680 9680 9680
2024-07-15merge revision(s) 1faeb44dfcf777ace28321e80d0ebf942161a0a7, ↵nagachika
7f87ad9fc4bc45faf8cd33602a025f27c094b2fd: [Backport #20431] Check if macros are defined before using Assume macros with the same prefix would be defined together. Refer autoconfigured endian macro (#10572) Remove the case `RB_IO_BUFFER_HOST_ENDIAN` is not defined.
2024-07-15Revert "merge revision(s) 5e0c17145131e073814c7e5b15227d0b4e73cabe: ↵nagachika
[Backport #20169]" This reverts commit 6b73406833dd22e489114fa77c1c80c4b7af2ed0.
2024-07-15Revert "merge revision(s) e04146129ec6898dd6a9739dad2983c6e9b68056, ↵nagachika
d5080f6e8b77364483ff6727b1065e45e180f05d: [Backport #20292]" This reverts commit a54c717c7a74b91a3cdf20742c355e3ea42052d1.
2024-07-15Revert "follow-up for a54c717c7a74b91a3cdf20742c355e3ea42052d1."nagachika
This reverts commit 715633ba6e982dc5404abeafc5246c31af92ac10.