summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-10-11Semicolon after `SWITCH_BY_COND_TYPE` for auto-indent [ci skip]Nobuyoshi Nakada
2023-10-10YJIT: Allow --yjit-trace-exits on release builds (#8619)Takashi Kokubun
2023-10-10Integer#times is not a C method [ci skip]Takashi Kokubun
2023-10-10Update yjit.mdMaxime Chevalier-Boisvert
2023-10-10Refactor rb_shape_transition_shape_capa to not accept capacityJean Boussier
This way the groth factor is encapsulated, which allows rb_shape_transition_shape_capa to be smarter about ideal sizes.
2023-10-10[rubygems/rubygems] Update bundle-plugin man pageCody Cutrer
The formatting was odd, and it hadn't been updated for how the global source is handled. https://github.com/rubygems/rubygems/commit/bf19a266ab
2023-10-10Extract numparam ntermsNobuyoshi Nakada
2023-10-10Use `rb_node_exits_t` instead of `NODE`Nobuyoshi Nakada
2023-10-10Forward declaration of `struct RNode_DEF_TEMP` and its typedefNobuyoshi Nakada
2023-10-10Update bundled gems list at 2023-10-10git
2023-10-10Remove not used fields from DEFNyui-knk
2023-10-10LLDB: Print actual node structure [ci skip]yui-knk
2023-10-09[rubygems/rubygems] Exempt default gem 'etc' in setup tests for rubies ↵Martin Emde
before 3.2 on windows https://github.com/rubygems/rubygems/commit/834ae8a29a
2023-10-10Pre-allocate `NODE_DEFN`/`NODE_DEFS` nodesNobuyoshi Nakada
To fix the order of node IDs, for typeprof tests.
2023-10-10Refactor NODE_DEF_TEMPNobuyoshi Nakada
Use `NODE_DEF_TEMP` as the wrapper of `NODE_DEFS` in ripper, not only of `NODE_DEFN`, so that `endless_method_name` works consistently.
2023-10-10ripper: Support member references in the DSLNobuyoshi Nakada
2023-10-09testing_ruby.md: Document running test suites on s390x CPU architecture [ci ↵Jun Aruga
skip] (#8589)
2023-10-09[rubygems/rubygems] Avoid duplicates -rbundler/setup in RUBYOPT with Ruby ↵Jacopo
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
2023-10-09[ruby/prism] Attach the ast node to the scopeMatt Valentine-House
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
2023-10-09Fix cast node typeyui-knk
2023-10-09Differentiate VAR nodesyui-knk
2023-10-09Differentiate CALL nodesyui-knk
2023-10-09Take care of internal node typeyui-knk
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".
2023-10-09Bump ruby/setup-ruby from 1.154.0 to 1.155.0dependabot[bot]
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>
2023-10-09Bump ossf/scorecard-action from 2.2.0 to 2.3.0dependabot[bot]
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>
2023-10-08Remove not used fields from EVSTRyui-knk
2023-10-08[rubygems/rubygems] Reduce allocations when parsing compact indexSamuel Giddins
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
2023-10-07[rubygems/rubygems] Optimize allocations in Gem::VersionSamuel Giddins
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
2023-10-07Remove not used fields from asgn nodesyui-knk
2023-10-07Differentiate ASGN nodesyui-knk
2023-10-07Correctly casting node for accessing nd_value and nd_vid in compile.cyui-knk
2023-10-07Correctly casting node for accessing nd_value and nd_vid in parse.yyui-knk
2023-10-07Pass nd_value to NODE_REQUIRED_KEYWORD_Pyui-knk
2023-10-07Use rb_node_masgn_t instead of NODEyui-knk
2023-10-06[ruby/prism] Emit error when assigning to a numbered parameterHaldun Bayhantopcu
https://github.com/ruby/prism/commit/66248ac2f6
2023-10-06[DOC] Fix platform-dependent directives and modifiersNobuyoshi Nakada
* 'j' and 'J' are not pointer directives. * size of 'j' and 'J' are platform-dependent, may not be 64-bit. * mention corresponding C types when native-size modifier is added. Co-Authored-By: BurdetteLamar <burdettelamar@yahoo.com>
2023-10-06[ruby/prism] Introduce transparent scopes.Matt Valentine-House
A transparent scope is a scope that cannot have local variables added to it's local table. When a local is added to it's table, it instead gets added to the first non-transparent parent scope. This is used in for loops to ensure the correct depth for local variables inside the body https://github.com/ruby/prism/commit/ddb8e82253 Co-Authored-By: Kevin Newton <kddnewton@gmail.com>
2023-10-06[ruby/openssl] Exact checks with `assert_include`Nobuyoshi Nakada
Where `assert_match` converts string matcher argument to regexp first with escaping, `assert_include` does the same thing simpler. https://github.com/ruby/openssl/commit/81007e0a49
2023-10-06[ruby/openssl] Exact checks with `assert_include`Nobuyoshi Nakada
https://github.com/ruby/openssl/commit/9a6e24daaf
2023-10-06Reuse `natstr` if it equals `endstr`Nobuyoshi Nakada
2023-10-06Use size of `uintptr_t` for `j` and `J` testsNobuyoshi Nakada
`RbConfig::SIZEOF` has been added later than the time this check was committed first.
2023-10-06Move rbconfig to the topNobuyoshi Nakada
It is required in the always defined class level.
2023-10-06Remove not used fields from MATCH3yui-knk
2023-10-06[rubygems/rubygems] Update man page for bundle exec to reflect default flag ↵Manu
value `--keep-file-descriptors` is true by default. https://github.com/rubygems/rubygems/commit/b28e88e228
2023-10-06[ruby/prism] Add full_name to ConstantPathNode and ConstantPathTargetNodeVinicius Stock
https://github.com/ruby/prism/commit/b390553028
2023-10-06Remove not used fields from YIELDyui-knk
2023-10-06Remove not used fields from ZLISTyui-knk
2023-10-05YJIT: Simplify linker flavor checkAlan Wu
By not allowlisting every OS that could have a GNU flavor linker, it's also a bigger tent
2023-10-05YJIT: shink local types from 8 to 4 bytes (#8597)Maxime Chevalier-Boisvert
* Shink local types from 8 to 4 bytes, context from 21 to 17 bytes Use repr(packed) * Add comment about Type being limited to 4 bits
2023-10-05YJIT: Run bindgenAlan Wu