aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* YJIT: Optimize local variables when EP == BP (take 2) (#10607)Takashi Kokubun2024-04-2511-32/+222
| | | | | | | | | | | | | * Revert "Revert "YJIT: Optimize local variables when EP == BP" (#10584)" This reverts commit c8783441952217c18e523749c821f82cd7e5d222. * YJIT: Take care of GC references in ISEQ invariants Co-authored-by: Alan Wu <alansi.xingwu@shopify.com> --------- Co-authored-by: Alan Wu <alansi.xingwu@shopify.com>
* Embed rb_gc_function_map_t in rb_vm_tPeter Zhu2024-04-252-8/+5
| | | | Avoids a pointer indirection and memory allocation.
* [PRISM] Enable more passing testsKevin Newton2024-04-253-7/+0
|
* [rubygems/rubygems] Don't upcase Windows ENV when backing it upDavid Rodriguez2024-04-253-11/+22
| | | | | | | I apparently did that to fix some issue with case insensitivity but I didn't add a spec, and I think not upcasing should not cause issues. https://github.com/rubygems/rubygems/commit/1b6f23275a
* [rubygems/rubygems] Remove unnecessary workaroundDavid Rodriguez2024-04-251-12/+1
| | | | | | All supported rubies include the fix. https://github.com/rubygems/rubygems/commit/9d74b699f5
* [rubygems/rubygems] Properly resolve aliases when `bundle help` is runDavid Rodríguez2024-04-252-1/+9
| | | | https://github.com/rubygems/rubygems/commit/5d9bf03c59
* false is not a pointer卜部昌平2024-04-251-3/+3
| | | | | This function returned VALUE before. False made sense back then. Now that it returns a pointer. NULL should be used instead.
* [ruby/net-http] Skip test_session_reuse_but_expire with OpenSSL 3.3Xi Ruoyao2024-04-251-0/+1
| | | | | | | | OpenSSL 3.3.0 9 Apr 2024 is also broken. Signed-off-by: Xi Ruoyao <xry111@xry111.site> https://github.com/ruby/net-http/commit/ab525c956d
* [Bug #20450] Remove rubyarchdir from bootsnap pathsEugene Kenny2024-04-253-2/+20
|
* Bump actions/checkout in /.github/actions/setup/directoriesdependabot[bot]2024-04-241-1/+1
| | | | | | | | | | | | | | | Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/1d96c772d19495a3b5c517cd2bc0cb401ea0529f...0ad4b8fadaa221de15dcec353f45205ec38ea70b) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* Bump actions/checkout from 4.1.3 to 4.1.4dependabot[bot]2024-04-2419-22/+22
| | | | | | | | | | | | | | | Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/1d96c772d19495a3b5c517cd2bc0cb401ea0529f...0ad4b8fadaa221de15dcec353f45205ec38ea70b) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0dependabot[bot]2024-04-241-1/+1
| | | | | | | | | | | | | | Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 2.0.0 to 2.1.0. - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](https://github.com/dependabot/fetch-metadata/compare/0fb21704c18a42ce5aa8d720ea4b912f5e6babef...5e5f99653a5b510e8555840e80cbf1514ad4af38) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* We don't need to check if the ci is markable anymoreAaron Patterson2024-04-243-22/+5
| | | | It doesn't matter if CI's are stack allocated or not.
* Update common.mk dependenciesKevin Newton2024-04-241-0/+4
|
* [ruby/prism] Warn for nested hashes as wellKevin Newton2024-04-243-21/+53
| | | | https://github.com/ruby/prism/commit/76e802f59e
* [ruby/prism] Remove static literals dependence on parser definitionKevin Newton2024-04-244-45/+133
| | | | https://github.com/ruby/prism/commit/b3e104e8a2
* Add ruby_mimcallocPeter Zhu2024-04-246-10/+34
| | | | | Many places call ruby_mimmalloc then MEMZERO. This can be reduced by using ruby_mimcalloc instead.
* [ruby/irb] Memoize helper method instances with Singleton moduleStan Lo2024-04-243-4/+33
| | | | | | | | | | (https://github.com/ruby/irb/pull/931) Some helpers, like Rails console's `app`, requires memoization of the helper's ivars. To support it IRB needs to memoize helper method instances as well. https://github.com/ruby/irb/commit/a96c7a6668
* Pass a callinfo object to global call cache searchAaron Patterson2024-04-242-26/+37
| | | | Global call cache can be used with only a CI
* pass CI to gccct_method_search_slowpathAaron Patterson2024-04-241-33/+26
| | | | | | Also the slow path only needs to look up the method once: via vm_search_method_slowpath0. gccct just returns whatever cc normal method lookup does.
* [PRISM] Generate inspect_visitor in common.mkKevin Newton2024-04-242-0/+6
|
* [ruby/prism] Change inspect from recursive to a queueKevin Newton2024-04-247-146/+182
| | | | | | | | We would previously cause a stack overflow if we parsed a file that was too deeply nested when we were calling inspect. Instead, we now use a queue of commands to do it linearly so we don't. https://github.com/ruby/prism/commit/0f21f5bfe1
* [ruby/reline] Long line performancetomoya ishida2024-04-243-6/+13
| | | | | | | | | | (https://github.com/ruby/reline/pull/688) * Improve C-e (ed_move_to_end) performance for long line * Reline::Unicode.split_by_width optimization for RESET_SGR https://github.com/ruby/reline/commit/0c8d3c827a
* Change dln_open in dmydln.c to return error instead of raisePeter Zhu2024-04-241-4/+3
|
* Pass string error buffer into dln_openPeter Zhu2024-04-244-17/+18
| | | | | On Windows, the error exists on the stack so we should pass an error buffer from the caller.
* Reuse slow path method search for gccctAaron Patterson2024-04-243-57/+41
| | | | | This way all code paths use the same search code for finding call caches for a particular method.
* [ruby/irb] Revert "Memoize helper method instances with Singleton module"Stan Lo2024-04-243-33/+4
| | | | | | This reverts commit https://github.com/ruby/irb/commit/169a9a2c3097. https://github.com/ruby/irb/commit/221b0a4928
* [ruby/irb] Memoize helper method instances with Singleton moduleStan Lo2024-04-243-4/+33
| | | | | | | | Some helpers, like Rails console's `app`, requires memoization of the helper's ivars. To support it IRB needs to memoize helper method instances as well. https://github.com/ruby/irb/commit/169a9a2c30
* YJIT: Add a specialized codegen function for `Class#superclass`. (#10613)Kevin Menard2024-04-244-0/+50
| | | | | | | | Add a specialized codegen function for `Class#superclass`. Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> Co-authored-by: Takashi Kokubun (k0kubun) <takashikkbn@gmail.com> Co-authored-by: Randy Stauner <randy.stauner@shopify.com> Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
* Add macro load_external_gc_func for loading functions from external GCPeter Zhu2024-04-242-20/+30
|
* Fix dllimport warningsNobuyoshi Nakada2024-04-242-2/+2
| | | | | | | | | | | | | | | | | | | | | From Visual C: ``` ../../../../../src/ext/-test-/load/resolve_symbol_target/resolve_symbol_target.c(5): warning C4273: 'rst_any_method': inconsistent dll linkage D:\a\ruby\ruby\src\ext\-test-\load\resolve_symbol_target\resolve_symbol_target.h(4): note: see previous definition of 'rst_any_method' ../../../../../src/ext/-test-/load/stringify_target/stringify_target.c(5): warning C4273: 'stt_any_method': inconsistent dll linkage D:\a\ruby\ruby\src\ext\-test-\load\stringify_target\stringify_target.h(4): note: see previous definition of 'stt_any_method' ``` From MinGW gcc: ``` ../../../../../src/ext/-test-/load/resolve_symbol_target/resolve_symbol_target.c:5:1: warning: 'rst_any_method' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] compiling ../../../../../src/ext/-test-/marshal/compat/usrcompat.c 5 | rst_any_method(VALUE klass) | ^~~~~~~~~~~~~~ ../../../../../src/ext/-test-/load/stringify_target/stringify_target.c:5:1: warning: 'stt_any_method' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes] 5 | stt_any_method(VALUE klass) | ^~~~~~~~~~~~~~ ```
* Removed obsoleted section because make docs is removed from default make taskHiroshi SHIBATA2024-04-241-2/+0
|
* Bump ruby/setup-ruby from 1.174.0 to 1.175.0dependabot[bot]2024-04-2310-10/+10
| | | | | | | | | | | | | | Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.174.0 to 1.175.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/6bd3d993c602f6b675728ebaecb2b569ff86e99b...70da3bbf44ac06db1b0547ce2acc9380a5270d1e) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* [DOC] Wait for `docs` to complete before installing allNobuyoshi Nakada2024-04-241-2/+2
| | | | | The document directories may be incomplete or empty before `docs` is completed.
* Remove unused functions from `struct rb_parser_config_struct`yui-knk2024-04-243-9/+0
|
* Sync IRB f9347b1 (#10611)Stan Lo2024-04-238-7/+190
|
* Get error from dln_open when USE_SHARED_GCPeter Zhu2024-04-234-26/+22
| | | | | | | | | Before, if dln_open failed to open RUBY_GC_LIBRARY_PATH, it would segfault because it would try to raise an error, which cannot happen because the GC has not been initialized yet. This commit changes dln_open to return the error that occurred so the caller can handle the error.
* [ruby/prism] srange_find should only look on current lineKevin Newton2024-04-231-8/+12
| | | | https://github.com/ruby/prism/commit/3604aa15e7
* [ruby/prism] Fix recursive multiply when values are switched in ↵Kevin Newton2024-04-231-2/+9
| | | | | | karatsuba_multiply https://github.com/ruby/prism/commit/4dc6ea960d
* [ruby/prism] Use GC-able symbols for ASTKevin Newton2024-04-231-10/+8
| | | | https://github.com/ruby/prism/commit/801117e45a
* Skip test_inspect_under_gc_compact_stress w/ RJIT tooTakashi Kokubun2024-04-231-0/+1
|
* Update default gems list at 981a8e89a3542e0a29206d7e159cb5 [ci skip]git2024-04-231-1/+1
|
* [ruby/reline] Bump version to 0.5.3Mari Imaizumi2024-04-231-1/+1
| | | | | | (https://github.com/ruby/reline/pull/686) https://github.com/ruby/reline/commit/e9d5236c74
* [ruby/prism] Document UnlessNode fieldsMatheus Richard2024-04-231-0/+38
| | | | https://github.com/ruby/prism/commit/eee8276ae6
* [ruby/prism] Document `IfNode` fieldsDaniel Gollahon2024-04-231-1/+62
| | | | | | | - Adds documentation for the fields of the `IfNode`. Also updates the overall description to mention ternary expressions. - Part of #2123 https://github.com/ruby/prism/commit/fd17c0733d
* [ruby/prism] Document BreakNode fieldsMatheus Richard2024-04-231-0/+10
| | | | https://github.com/ruby/prism/commit/7a3ed22f14
* [ruby/reline] Separate prompt and input line in renderingtomoya ishida2024-04-232-12/+19
| | | | | | | | | | | | | (https://github.com/ruby/reline/pull/652) * Separate prompt and input line in rendering Often, only one of prompt and input changes. Split prompt+input_line to a separate rendering item will improve differential rendering performance. * Rename method wrapped_prompt_lines to more descriptive name https://github.com/ruby/reline/commit/16d82f1f23
* [ruby/prism] Implement case equality on nodesPhilip Mueller2024-04-232-4/+34
| | | | https://github.com/ruby/prism/commit/dc121e4fdf
* [ruby/prism] Document the `AliasGlobalVariableNode` fieldsCory Hutchison2024-04-231-0/+15
| | | | https://github.com/ruby/prism/commit/35bc711069
* [ruby/prism] Document `ArrayNode`, `SourceFileNode` fieldsSanjay Karukamanna2024-04-231-0/+16
| | | | https://github.com/ruby/prism/commit/0bdc566f67