aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [rubygems/rubygems] Split out Gem::PathSupport#default_home_dir to fix ↵Ellen Marie Dash2023-10-112-7/+19
| | | | | | "bundle doctor" specs. https://github.com/rubygems/rubygems/commit/d7f3f901f1
* [rubygems/rubygems] Allow test_gem_install_update_options to raise ↵Ellen Marie Dash2023-10-111-1/+1
| | | | | | Errno::ACCES, in addition to Gem::FilePermissionError. https://github.com/rubygems/rubygems/commit/784fe2a814
* [rubygems/rubygems] Update tests to match new implementation of falling back ↵Ellen Marie Dash2023-10-111-4/+4
| | | | | | to user-writable directories. https://github.com/rubygems/rubygems/commit/a06e657ac6
* [rubygems/rubygems] [test_gem_install_update_options.rb] Fix linter warnings.Ellen Marie Dash2023-10-111-3/+3
| | | | https://github.com/rubygems/rubygems/commit/cdcb8394f6
* [rubygems/rubygems] Try a different approach for fallback to --user-install.Ellen Marie Dash2023-10-112-16/+14
| | | | https://github.com/rubygems/rubygems/commit/13e0704c40
* [rubygems/rubygems] If GEM_HOME exists + isn't writable, use --user-install.Ellen Marie Dash2023-10-112-1/+43
| | | | https://github.com/rubygems/rubygems/commit/6d20585645
* [ruby/prism] Allow Scope nodes to be created for a For loopMatt Valentine-House2023-10-111-0/+5
| | | | https://github.com/ruby/prism/commit/ded8711807
* `RUBY_DEBUG_LOG` supports `%p` for pidKoichi Sasada2023-10-121-1/+40
|
* [ruby/prism] Add Node::typeKevin Newton2023-10-111-0/+10
| | | | https://github.com/ruby/prism/commit/ca4943e3f9
* [ruby/irb] Rename current completor to RegexpCompletor andtomoya ishida2023-10-114-337/+376
| | | | | | | | | | | | | | | | | | | | | | | | | refactored for future extension (https://github.com/ruby/irb/pull/707) * Move completion implementation to completion/regexp_completor for future extension * Remove constant CompletionProc and PerfectMatchedProc and add a class method * Move document display logic to InputCompletor. Each completor only need to implement `completion_caididates` and `doc_namespace` * Move display_document logic to RelineInputMethod * Use RegexpCompletor directly. Not through class method of InputCompletor. * RegexpCompletor extends BaseCompletor, move back definition to completion.rb * Move display_document test to input_method test * Stop re-initialize completor on each completion phase * Store completor to ReadlineInputMethod's iver https://github.com/ruby/irb/commit/1e98521483
* [rubygems/rubygems] Don't delete the release version from pre-release string ↵Martin Emde2023-10-112-1/+9
| | | | | | more than once https://github.com/rubygems/rubygems/commit/6485adda54
* [ruby/irb] Avoid locking the debug UI to a single threadStan Lo2023-10-112-8/+4
| | | | | | | | | | (https://github.com/ruby/irb/pull/725) Since `debug` stores and updates the target thread via its Session's `@tc` variable, we don't need to and shouldn't lock the UI to the thread that activates the integration. https://github.com/ruby/irb/commit/202efdbf0c
* Adjust indent [ci skip]Nobuyoshi Nakada2023-10-111-77/+77
|
* Extract NODE_FL_NEWLINE access to macroyui-knk2023-10-114-11/+15
|
* [flori/json] skip TruffleRubyHiroshi SHIBATA2023-10-111-0/+3
| | | | https://github.com/flori/json/commit/bab704eb49
* [flori/json] define_method is also private at Ruby 2.3 and 2.4Hiroshi SHIBATA2023-10-111-1/+1
| | | | https://github.com/flori/json/commit/3804f38bf4
* [flori/json] remove_method of Module is private at Ruby 2.3 and 2.4Hiroshi SHIBATA2023-10-111-3/+3
| | | | https://github.com/flori/json/commit/6cbadf6b6e
* shape.h: Make attr_index_t uint8_tJean Boussier2023-10-114-10/+9
| | | | | | | | | | Given `SHAPE_MAX_NUM_IVS 80`, we transition to TOO_COMPLEX way before we could overflow a 8bit counter. This reduce the size of `rb_shape_t` from 32B to 24B. If we decide to raise `SHAPE_MAX_NUM_IVS` we can always increase that type again.
* Update default gems list at 8f6a96e6ada05b2716ee6f441fd246 [ci skip]git2023-10-111-1/+1
|
* [ruby/psych] Bump up v5.1.1Hiroshi SHIBATA2023-10-111-1/+1
| | | | https://github.com/ruby/psych/commit/f306512d60
* Skip test_bug_13526 with High SierraHiroshi SHIBATA2023-10-111-0/+5
|
* Fix error when gems/src is read-onlyKazuhiro NISHIYAMA2023-10-111-3/+5
| | | | | | | | | | | | | When I shared srcdir as read-only in lima-vm, `make install` causes following error: ``` Update rbs to 33813a60752624d58dfe5ae770b39bfaf29fbaf1 error: cannot open .git/FETCH_HEAD: Read-only file system ``` I cannot find any ignore option for `git checkout --detach` when already checked out. So I add `if`.
* Semicolon after `SWITCH_BY_COND_TYPE` for auto-indent [ci skip]Nobuyoshi Nakada2023-10-111-7/+8
|
* YJIT: Allow --yjit-trace-exits on release builds (#8619)Takashi Kokubun2023-10-102-22/+1
|
* Integer#times is not a C method [ci skip]Takashi Kokubun2023-10-101-1/+1
|
* Update yjit.mdMaxime Chevalier-Boisvert2023-10-101-5/+6
|
* Refactor rb_shape_transition_shape_capa to not accept capacityJean Boussier2023-10-107-24/+21
| | | | | This way the groth factor is encapsulated, which allows rb_shape_transition_shape_capa to be smarter about ideal sizes.
* [rubygems/rubygems] Update bundle-plugin man pageCody Cutrer2023-10-102-21/+21
| | | | | | | The formatting was odd, and it hadn't been updated for how the global source is handled. https://github.com/rubygems/rubygems/commit/bf19a266ab
* Extract numparam ntermsNobuyoshi Nakada2023-10-101-31/+26
|
* Use `rb_node_exits_t` instead of `NODE`Nobuyoshi Nakada2023-10-101-49/+46
|
* Forward declaration of `struct RNode_DEF_TEMP` and its typedefNobuyoshi Nakada2023-10-101-3/+5
|
* Update bundled gems list at 2023-10-10git2023-10-102-2/+2
|
* Remove not used fields from DEFNyui-knk2023-10-102-2/+0
|
* LLDB: Print actual node structure [ci skip]yui-knk2023-10-101-1/+211
|
* [rubygems/rubygems] Exempt default gem 'etc' in setup tests for rubies ↵Martin Emde2023-10-091-0/+1
| | | | | | before 3.2 on windows https://github.com/rubygems/rubygems/commit/834ae8a29a
* Pre-allocate `NODE_DEFN`/`NODE_DEFS` nodesNobuyoshi Nakada2023-10-101-10/+17
| | | | To fix the order of node IDs, for typeprof tests.
* Refactor NODE_DEF_TEMPNobuyoshi Nakada2023-10-101-80/+91
| | | | | Use `NODE_DEF_TEMP` as the wrapper of `NODE_DEFS` in ripper, not only of `NODE_DEFN`, so that `endless_method_name` works consistently.
* ripper: Support member references in the DSLNobuyoshi Nakada2023-10-101-1/+1
|
* testing_ruby.md: Document running test suites on s390x CPU architecture [ci ↵Jun Aruga2023-10-091-0/+12
| | | | skip] (#8589)
* [rubygems/rubygems] Avoid duplicates -rbundler/setup in RUBYOPT with Ruby ↵Jacopo2023-10-092-11/+32
| | | | | | | | | | | | | | preview When using a Ruby preview the require path of `bundler/setup` is similar to `-r/opt/ruby3.3.0-preview2/lib/ruby/3.3.0+0/bundler/setup`. The special character `+` in the string makes the Regexp fail, leading to multiple addition of the same require statement each time `set_rubyopt` is called (e.g. server reloading). Escaping the characters in the string esure a correct match with all the different Ruby versions. https://github.com/rubygems/rubygems/commit/dd43dfa709
* [ruby/prism] Attach the ast node to the scopeMatt Valentine-House2023-10-092-0/+2
| | | | | | | | | So when building instruction sequences for a scope we can reference items from the ast node that requires the scope. This is useful for for loops, where the local variable tables from the parent scope will need to be referenced. https://github.com/ruby/prism/commit/426b1ca094
* Fix cast node typeyui-knk2023-10-091-1/+1
|
* Differentiate VAR nodesyui-knk2023-10-091-2/+6
|
* Differentiate CALL nodesyui-knk2023-10-091-2/+8
|
* Take care of internal node typeyui-knk2023-10-091-7/+20
| | | | | | | In parse.y, node can be NODE_DEF_TEMP or NODE_EXITS. Hit "unknown node" without taking care of them. For example `ruby --dump=y lib/cgi/util.rb` causes "[BUG] unknown node: 107".
* Bump ruby/setup-ruby from 1.154.0 to 1.155.0dependabot[bot]2023-10-094-4/+4
| | | | | | | | | | | | | | Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.154.0 to 1.155.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Commits](https://github.com/ruby/setup-ruby/compare/52b8784594ec115fd17094752708121dc5dabb47...d37167af451eb51448db3354e1057b75c4b268f7) --- 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>
* Bump ossf/scorecard-action from 2.2.0 to 2.3.0dependabot[bot]2023-10-091-1/+1
| | | | | | | | | | | | | | | Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.2.0 to 2.3.0. - [Release notes](https://github.com/ossf/scorecard-action/releases) - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md) - [Commits](https://github.com/ossf/scorecard-action/compare/08b4669551908b1024bb425080c797723083c031...483ef80eb98fb506c348f7d62e28055e49fe2398) --- updated-dependencies: - dependency-name: ossf/scorecard-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* Remove not used fields from EVSTRyui-knk2023-10-082-4/+0
|
* [rubygems/rubygems] Reduce allocations when parsing compact indexSamuel Giddins2023-10-084-10/+23
| | | | | | | | | | | | | | | | | | This still allocates a ton (a string for each line, plus a bunch of splits into arrays), but it helps a bit when Bundler has to go through dependency resolution. ``` ==> memprof.after.txt <== Total allocated: 194.14 MB (2317172 objects) Total retained: 60.81 MB (593164 objects) ==> memprof.before.txt <== Total allocated: 211.97 MB (2404890 objects) Total retained: 62.85 MB (640342 objects) ``` https://github.com/rubygems/rubygems/commit/c68b41b0e5
* [rubygems/rubygems] Optimize allocations in Gem::VersionSamuel Giddins2023-10-072-20/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From running in a random rails app I have locally, here are the changes 1) for `bundle lock --update --bundler` (forcing Bundler to go through dependency resolution) ``` ==> memprof.after.txt <== Total allocated: 2.98 MB (48307 objects) Total retained: 1.21 MB (16507 objects) ==> memprof.before.txt <== Total allocated: 12.62 MB (198506 objects) Total retained: 1.30 MB (23133 objects) ``` 2) for `bin/rails runner true` (essentially only bundler/setup) ``` ==> memprof.after.txt <== Total allocated: 59.50 kB (1017 objects) Total retained: 25.08 kB (362 objects) ==> memprof.before.txt <== Total allocated: 561.82 kB (8575 objects) Total retained: 27.28 kB (513 objects) ``` https://github.com/rubygems/rubygems/commit/35c8ed2cb8