summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2023-03-12RJIT: Implement --rjit-trace-exitsTakashi Kokubun
2023-03-12RJIT: Give up freezing InsnCompilerTakashi Kokubun
for memoization
2023-03-11RJIT: Handle Mod 10 for CMP r/m64, r64Takashi Kokubun
2023-03-11RJIT: Use lambda constants to match operandsTakashi Kokubun
2023-03-11RJIT: Define QwordPtr for in-clause readabilityTakashi Kokubun
2023-03-11RJIT: Leave it to NoMatchingPatternErrorTakashi Kokubun
instead of manually implementing NotImplementedError
2023-03-11RJIT: Use case-in for exhaustive matchesTakashi Kokubun
2023-03-11RJIT: Migrate SIZET values to RJIT::C constantsTakashi Kokubun
2023-03-11RJIT: Introduce constants under RubyVM::RJIT::CTakashi Kokubun
2023-03-11RJIT: Automate function pointer importsTakashi Kokubun
2023-03-10RJIT: Write initial tests for AssemblerTakashi Kokubun
2023-03-10RJIT: Start testing AssemblerTakashi Kokubun
2023-03-10RJIT: Remove unused code from headersTakashi Kokubun
2023-03-10RJIT: Introduce --rjit-exec-mem-sizeTakashi Kokubun
2023-03-10[rubygems/rubygems] Use `RbSys::ExtensionTask` when creating new rust gemsIan Ker-Seymer
https://github.com/rubygems/rubygems/commit/125f9fece9
2023-03-09RJIT: Use imemo_type_p insteadTakashi Kokubun
which seems safer. It seems like imemo_type can cause SEGV.
2023-03-09RJIT: Lazily compile global ocbTakashi Kokubun
2023-03-10[rubygems/rubygems] Removed needless optionHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/4489361a21
2023-03-10[rubygems/rubygems] Added only missing extensions option into pristine commandHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/cfd0e615d7
2023-03-09[rubygems/rubygems] Drop to support Psych 3.0 bundled at Ruby 2.5Hiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/a6650c2c96
2023-03-08[rubygems/rubygems] rubocop -a lib/rubygems/specification.rbHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/85d60e9886
2023-03-08[rubygems/rubygems] Detect extension files under full_required_pathsHiroshi SHIBATA
When we use this methods with local gemspec, we don't handle build status of extension correctly. So We need to find extension files in require_paths. Example with ruby/erb repository: ``` $ bundle exec irb Ignoring erb-4.0.2 because its extensions are not built. Try: gem pristine erb --version 4.0.2 >> ``` https://github.com/rubygems/rubygems/commit/f90e43cf3f
2023-03-08[ruby/net-http] Enhanced RDoc for Net::HTTPBurdette Lamar
(https://github.com/ruby/net-http/pull/130) https://github.com/ruby/net-http/commit/698e18cfc1
2023-03-07[rubygems/rubygems] Respect --no-install option for git: sourcesJulie Haehn
Currently, the --no-install option to `bundle package` is totally ignored for git sources. This can have very strange effects if you have: - a git-sourced gem, - with native extensions, - whose extconf.rb script depends on another gem, - which is installed from Rubygems in the gemfile. In that circumstance, `bundle package --no-install --all` will download the Rubygems dependencies to `vendor/cache` but NOT install them. It will also check out the git gems to `vendor/cache` (good), and attempt to build their native extensions (bad!). The native extension build will fail because the extconf.rb script crashes, since the dependency it needs is missing. I implemented a fix for this in `source/git.rb`, since this is analogous to what's happening in `source/rubygems.rb`. I do admit though the whole thing is a little strange though - an "install" method that.... proceeds to look at a global flag to not install anything. Add test to confirm cache respects the --no-install flag https://github.com/rubygems/rubygems/commit/5a77d1c397 Co-authored-by: KJ Tsanaktsidis <kj@kjtsanaktsidis.id.au>
2023-03-07[rubygems/rubygems] Add TarReader::Entry#seek to seek within the tar file entryMartin Emde
TarReader#each previously implemented a partial version of seek. This code moved to Entry#seek for use from TarReader#each. Entry#close now returns nil instead of true, like IO#close. Closing an Entry now seeks to the end of the Entry, seeking past any remaining zero byte tar file padding and moving the io to the correcty position to read the next file in the archive. Uses seek for Entry#rewind and #pos=, fixing the tar->gzip->tar nested rewind that would break previous to this change. Add Entry.open that behaves more like File.open. https://github.com/rubygems/rubygems/commit/f5149565d5
2023-03-07[rubygems/rubygems] Avoid calling String#dup in Gem::Version#marshal_dumpSamuel Giddins
Might potentially save a second every time RubyGems.org creates a specs index https://github.com/rubygems/rubygems/commit/d6e4d50f8d
2023-03-07Use proper memoized var name for Gem.state_home.Josef Šimánek
2023-03-07[rubygems/rubygems] Fix gemspec file filterDavid Rodríguez
Explicitly match directory separator to not match files in repo root accidentally. https://github.com/rubygems/rubygems/commit/b936805ea9 Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2023-03-07[rubygems/rubygems] Better suggestion when `bundler/setup` fails due to ↵David Rodríguez
missing gems If the original `BUNDLE_GEMFILE` is different from the default, then the suggestion wouldn't work as is. Before: ``` $ util/rubocop Could not find rubocop-1.30.1 in locally installed gems Run `bundle install` to install missing gems. $ rubygems git:(better-cmd-suggestion) ✗ bundle install Could not locate Gemfile ``` After: ``` $ util/rubocop Could not find rubocop-1.30.1 in locally installed gems Run `bundle install --gemfile /path/to/rubygems/bundler/tool/bundler/lint_gems.rb` to install missing gems. $ bundle install --gemfile /path/to/rubygems/bundler/tool/bundler/lint_gems.rb Fetching gem metadata from https://rubygems.org/......... Using ast 2.4.2 Using bundler 2.4.7 Using parser 3.1.2.0 Using rainbow 3.1.1 Using parallel 1.22.1 Using regexp_parser 2.5.0 Using rubocop-ast 1.18.0 Using rexml 3.2.5 Using ruby-progressbar 1.11.0 Using unicode-display_width 2.1.0 Fetching rubocop 1.30.1 Installing rubocop 1.30.1 Using rubocop-performance 1.14.2 Bundle complete! 2 Gemfile dependencies, 12 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. $ util/rubocop Inspecting 345 files ......................................................................................................................................................................................................................................................................................................................................................... 345 files inspected, no offenses detected ``` https://github.com/rubygems/rubygems/commit/bf1320d805
2023-03-07[rubygems/rubygems] Let git source use default cloned repo branchDavid Rodríguez
https://github.com/rubygems/rubygems/commit/d8af770379
2023-03-06s/mjit/rjit/Takashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7462
2023-03-06s/MJIT/RJIT/Takashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7462
2023-03-06Rename MJIT filenames to RJITTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7462
2023-03-07[ruby/irb] Bump version to 1.6.3Stan Lo
(https://github.com/ruby/irb/pull/537) https://github.com/ruby/irb/commit/110e4a3219
2023-03-07[ruby/net-http] Re-applyHiroshi SHIBATA
https://github.com/ruby/net-http/commit/d22ca54904de after testing https://github.com/ruby/net-http/commit/7ac7401a9c
2023-03-06[ruby/net-http] Exclude git related filesNobuyoshi Nakada
https://github.com/ruby/net-http/commit/2767df580d
2023-03-06[ruby/net-http] Read in binary mode to get rid of invalid byte sequenceNobuyoshi Nakada
https://github.com/ruby/net-http/commit/38de3d17a7
2023-03-06[ruby/net-http] Test building packagesNobuyoshi Nakada
Also revert commit https://github.com/ruby/net-http/commit/d22ca54904de "Replaced non-ascii charactor. It fails version detection at `net-http.gemspec`." https://github.com/ruby/net-http/commit/fbeb247d93
2023-03-05Avoid crashing at a random ISEQ accessTakashi Kokubun
[Feature #19420] Notes: Merged: https://github.com/ruby/ruby/pull/7448
2023-03-05Fix a BytePtr check of testTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7448
2023-03-05Add Mod 10 to test r/m64, imm32Takashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7448
2023-03-05Add Mod 10 to cmp r/m64, imm8Takashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7448
2023-03-05Remove unused variablesTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7448
2023-03-05Optimize String#getbyteTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7448
2023-03-05Optimize Module#===Takashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7448
2023-03-05Implement struct arefTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7448
2023-03-05Implement bmethodTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7448
2023-03-05Implement aliasTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7448
2023-03-05Reset chain_depth in more placesTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7448
2023-03-05Implement optimized callTakashi Kokubun
Notes: Merged: https://github.com/ruby/ruby/pull/7448