summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-11-05sync_default_gems.rb: gracefully handle merge commitsKazuki Yamaguchi
Find interesting commits by following parents instead of relying on "git log". If we encounter a merge commit that may contain a conflict resolution, fall back to cherry-picking the merge commit as a whole rather than replaying each individual commit. The sync commit will include a shortlog for the squashed commits in that case.
2025-11-05sync_default_gems.rb: update paths and then do cherry-pickKazuki Yamaguchi
Currently, we try to git cherry-pick the upstream commit and then resolve merge conflicts in the working tree with the help of Git's rename detection. By the nature of heuristics, it does not work reliably when the upstream adds or removes files. Instead, first prepare temporary commit objects with uninteresting files removed and file paths adjusted for ruby/ruby, and then cherry-pick it. The cherry-pick should succeed as long as the mapping rules are correct, the upstream does not contain a funny merge that strictly depends on merge order, and there are no local changes in ruby/ruby.
2025-11-05sync_default_gems.rb: use declarative mapping rulesKazuki Yamaguchi
No behavior change is intended by this change.
2025-11-05sync_default_gems.rb: simplify rewriting commit messageKazuki Yamaguchi
Use "git commit --amend" instead of "git filter-branch" since we only need to handle one commit at HEAD.
2025-11-05sync_default_gems.rb: fix release check on case-sensitive filesystemsKazuki Yamaguchi
This fixes it for the English gem.
2025-11-05Support passing a #to_str object to Pathname.new for compatibilityBenoit Daloze
* See https://github.com/ruby/pathname/pull/57#issuecomment-3485646510
2025-11-05[ruby/strscan] Deprecate undocumented toplevel constant `ScanError`Nobuyoshi Nakada
https://github.com/ruby/strscan/commit/b4ddc3a2a6
2025-11-05[ruby/strscan] ISO C90 forbids mixed declarations and codeNobuyoshi Nakada
Cannot use C99 syntax, as far as supporting Ruby 2.6 and earlier. https://github.com/ruby/strscan/commit/f6d178fda5
2025-11-05Use the exception class mentioned in the docNobuyoshi Nakada
Instead of an undocumented constant.
2025-11-04ZJIT: Allow Store with 8-bit Opnd::MemTakashi Kokubun
2025-11-04ZJIT: Split LShift in arm64_scratch_splitTakashi Kokubun
2025-11-04ZJIT: Count caller side features for `complex_arg_pass`Alan Wu
After 34b0ac68b31, we use a fallback instead of side exit for splats. Count splats under `send_fallback_one_or_more_complex_arg_pass`.
2025-11-04ZJIT: Fallback counter rename: s/fancy/complex/Alan Wu
Kokubun bought up that "complex" is a more fitting name for what these counters count. Thanks! Also: - make the SendFallbackReason enum name consistent with the counter name - rewrite the printout prompt in zjit.rb
2025-11-04Don't run global variable hook functions with VM lock held (#15053)Luke Gruber
We can't run arbitrary ruby code with the VM lock held.
2025-11-05[ruby/strscan] [DOC] Remove the statement `rest?` is obsoleteNobuyoshi Nakada
`eos?` is opposite, cannot be used instead of `rest?`. https://github.com/ruby/strscan/commit/bee8cc547b
2025-11-05[ruby/stringio] [DOC] Tweaks for StringIO#string=Burdette Lamar
(https://github.com/ruby/stringio/pull/172) https://github.com/ruby/stringio/commit/17ae4daf9a
2025-11-04ZJIT: Use a shared trampoline across all ISEQs (#15042)Takashi Kokubun
2025-11-05[ruby/stringio] [DOC] Tweaks for StringIO#flushBurdette Lamar
(https://github.com/ruby/stringio/pull/169) https://github.com/ruby/stringio/commit/bef6541b55
2025-11-05[ruby/stringio] [DOC] Tweaks for StringIO#isattyBurdette Lamar
(https://github.com/ruby/stringio/pull/167) https://github.com/ruby/stringio/commit/94303ace95
2025-11-05[ruby/stringio] [DOC] Tweaks for StringIO#fsyncBurdette Lamar
(https://github.com/ruby/stringio/pull/170) https://github.com/ruby/stringio/commit/da338d7e5d
2025-11-05[ruby/stringio] [DOC] Tweaks for StringIO#filenoBurdette Lamar
(https://github.com/ruby/stringio/pull/168) https://github.com/ruby/stringio/commit/9f10c7ae86
2025-11-05[ruby/stringio] [DOC] Tweaks for StringIO#internal_encodingBurdette Lamar
(https://github.com/ruby/stringio/pull/166) https://github.com/ruby/stringio/commit/5eeb61df34
2025-11-04[ruby/stringio] [DOC] Doc for StringIO.getcBurdette Lamar
(https://github.com/ruby/stringio/pull/163) https://github.com/ruby/stringio/commit/a126fe252f
2025-11-04ZJIT: Fix --zjit-mem-size and add --zjit-exec-mem-size (#15041)Takashi Kokubun
ZJIT: Fix --zjit-mem-size and resurrect --zjit-exec-mem-size
2025-11-04Resurrect tests for StringScanner#rest?Takashi Kokubun
that has not been obsolete. Partially reverting https://github.com/ruby/ruby/pull/15049.
2025-11-04[ruby/strscan] Resurrect a method that has not been obsoleteTakashi Kokubun
(https://github.com/ruby/strscan/pull/169) Partially revert https://github.com/ruby/strscan/pull/168 because strscan_rest_p did not have `rb_warning("StringScanner#rest? is obsolete")`. It is actively used by the latest tzinfo.gem, and we shouldn't remove it without deprecating it. https://github.com/ruby/strscan/commit/f3fdf21189
2025-11-04ZJIT: Add test to reproduce binarytrees crash (#15054)Randy Stauner
2025-11-04Release VM lock before running finalizers (#15050)Luke Gruber
We shouldn't run any ruby code with the VM lock held.
2025-11-04[ruby/strscan] Remove methods have been obsolete over two decadesNobuyoshi Nakada
https://github.com/ruby/strscan/commit/1387def685
2025-11-05Remove tests for obsolete StringScanner methodsNobuyoshi Nakada
ruby/strscan#168
2025-11-04[ruby/stringio] fix: (jruby) failing to clean buffer's code-rangekares
same bug as: https://github.com/jruby/jruby/issues/9035 https://github.com/ruby/stringio/commit/65b144b175
2025-11-04[ruby/strscan] Remove no longer used variableNobuyoshi Nakada
Since https://github.com/ruby/strscan/commit/92961cde2b42. https://github.com/ruby/strscan/commit/911f9c682a
2025-11-04[DOC] Mention on top of `vm_*.c` files the VM translation unit they're in ↵Alan Wu
(#15048) vm_method.c already mentions it.
2025-11-04Fix rb_gc_impl_checking_shareable for modular GCJohn Hawthorn
This implements it the same as the other modular GC functions
2025-11-04Update default gems list at 29847070f00184d7c0a97f8e1f18f5 [ci skip]git
2025-11-04[ruby/io-wait] bump up to 0.3.3Nobuyoshi Nakada
https://github.com/ruby/io-wait/commit/57bc0b752b
2025-11-04Tweak ENC_TRANS_SO_DNobuyoshi Nakada
It corresponds to TRANSSODIR, that contains `$(arch)`, so should contain it as well.
2025-11-04[ruby/json] Tentative fix for RHEL8 compilerJean Boussier
``` parser.c:87:77: error: missing binary operator before token "(" #if JSON_CPU_LITTLE_ENDIAN_64BITS && defined(__has_builtin) && __has_builtin(__builtin_bswap64) ``` https://github.com/ruby/json/commit/fce1c7e84a
2025-11-04[ruby/json] Micro-optimize `rstring_cache_fetch`Jean Boussier
Closes: https://github.com/ruby/json/pull/888 - Mark it as `inline`. - Use `RSTRING_GETMEM`, instead of `RSTRING_LEN` and `RSTRING_PTR`. - Use an inlinable version of `memcmp`. ``` == Parsing activitypub.json (58160 bytes) ruby 3.4.6 (2025-09-16 revision https://github.com/ruby/json/commit/dbd83256b1) +YJIT +PRISM [arm64-darwin24] Comparison: before: 11766.6 i/s after: 12272.1 i/s - 1.04x faster == Parsing twitter.json (567916 bytes) ruby 3.4.6 (2025-09-16 revision https://github.com/ruby/json/commit/dbd83256b1) +YJIT +PRISM [arm64-darwin24] Comparison: before: 1333.2 i/s after: 1422.0 i/s - 1.07x faster == Parsing citm_catalog.json (1727030 bytes) ruby 3.4.6 (2025-09-16 revision https://github.com/ruby/json/commit/dbd83256b1) +YJIT +PRISM [arm64-darwin24] Comparison: before: 656.3 i/s after: 673.1 i/s - 1.03x faster == Parsing float parsing (2251051 bytes) ruby 3.4.6 (2025-09-16 revision https://github.com/ruby/json/commit/dbd83256b1) +YJIT +PRISM [arm64-darwin24] Comparison: before: 276.8 i/s after: 276.4 i/s - same-ish: difference falls within error ``` https://github.com/ruby/json/commit/a67d1a1af4 Co-Authored-By: Scott Myron <samyron@gmail.com>
2025-11-04[ruby/json] Extract `JSON_CPU_LITTLE_ENDIAN_64BITS` definitionJean Boussier
Only apply these definitions on 64 bits archs, as it's unclear if they have performance benefits or compatibility issues on 32bit archs. https://github.com/ruby/json/commit/ddad00b746
2025-11-04Update default gems list at 83c2e3b92e25b766615600913cdca8 [ci skip]git
2025-11-04[ruby/uri] v1.1.1Sorah Fukumori
https://github.com/ruby/uri/commit/f1b05c89ab
2025-11-04[ruby/uri] Re-allow consecutive, leading and trailing dots in EMAIL_REGEXPDaisuke Aritomo
Effectively reverts commit https://github.com/ruby/uri/commit/788274b180d6 and https://github.com/ruby/uri/commit/0abac721d8fe. EMAIL_REGEXP was mostly drawn from WHATWG HTML LS. This spec states that it intentionally violates RFC 5322 to provide a practical regex for validation. > This requirement is a willful violation of RFC 5322, which defines a > syntax for email addresses that is simultaneously too strict (before the > "@" character), too vague (after the "@" character), and too lax > (allowing comments, whitespace characters, and quoted strings in manners > unfamiliar to most users) to be of practical use here. The allowing of consecutive dot s(`a..a@`) and leading/trailing dots (`.a@`, `a.@`) is not the only derivation from RFC 5322. If a truly RFC 5322-compliant regexp is needed, tt should be organized under a different name, since too much departure from the original EMAIL_REGEXP must be introduced. https://github.com/ruby/uri/commit/c551d7020b
2025-11-04[ruby/io-wait] Select packging files by pathspecsNobuyoshi Nakada
https://github.com/ruby/io-wait/commit/c66a90f5b1
2025-11-03Bump gacts/run-and-post-run in /.github/actions/setup/directoriesdependabot[bot]
Bumps [gacts/run-and-post-run](https://github.com/gacts/run-and-post-run) from 1.4.2 to 1.4.3. - [Release notes](https://github.com/gacts/run-and-post-run/releases) - [Commits](https://github.com/gacts/run-and-post-run/compare/d803f6920adc9a47eeac4cb6c93dbc2e2890c684...81b6ce503cde93862cec047c54652e45c5dca991) --- updated-dependencies: - dependency-name: gacts/run-and-post-run dependency-version: 1.4.3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2025-11-04[ruby/stringio] [DOC] Doc for StringIO#getsBurdette Lamar
(https://github.com/ruby/stringio/pull/164) https://github.com/ruby/stringio/commit/10e991e31d
2025-11-04Revert "[ruby/rubygems] Fix constants in TAR to be frozen"Hiroshi SHIBATA
This reverts commit 2c2eaa3103e5cf1cbfc2b16d9db975a9b8a0399a.
2025-11-04[ruby/stringio] [DOC] Doc for StringIO#getbyteBurdette Lamar
(https://github.com/ruby/stringio/pull/162) https://github.com/ruby/stringio/commit/95a7dd592c
2025-11-03ZJIT: Implement register spill (#14936)Takashi Kokubun
2025-11-04[ruby/stringio] [DOC] Tweaks for StringIO#external_encodingBurdette Lamar
(https://github.com/ruby/stringio/pull/161) https://github.com/ruby/stringio/commit/92656f5c66