summaryrefslogtreecommitdiff
path: root/tool
AgeCommit message (Collapse)Author
2022-02-14Merge RubyGems-3.3.7 and Bundler-2.3.7 (#5543)Hiroshi SHIBATA
2022-02-02Merge pull request #5482 from hsbt/rubygems-3-3-bundler-2-3Hiroshi SHIBATA
Merge RubyGems 3.3.x and Bundler 2.3.x
2021-12-25Revert "Do not include external library sources into packages"v3_1_0NARUSE, Yui
This reverts commit a042043487eb4c7d39307b8e784ede1856455c3e. (cherry picked from commit 8325094177de60d365b2b5507488f0b53d11c736)
2021-12-25Revert "make-snapshot: add -extlibs option"NARUSE, Yui
This reverts commit afa9d65d61857792508b1405835b07b78e24449c. It prevents installing libffi. (cherry picked from commit 1cc02078e503a18f6d1fcbd3e4d29c574895957d)
2021-12-25fix tool/format-releaseNARUSE, Yui
Pass ruby directory path (cherry picked from commit 05faa36028a0a00788e2416a91e0bba21bd6f6ad)
2021-12-25Merge RubyGems-3.3.3 and Bundler-2.3.3Hiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/5342
2021-12-24sync_default_gems.rb: Expand GH-xxxx style GitHub links [ci skip]Nobuyoshi Nakada
2021-12-24sync_default_gems.rb: GitHub links at word boundary only [ci skip]Nobuyoshi Nakada
2021-12-24Merge RubyGems-3.3.2 and Bundler-2.3.2Hiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/5334
2021-12-23Merge RubyGems-3.3.1 and Bundler-2.3.1Hiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/5325
2021-12-21Merge RubyGems-3.3.0 and Bundler-2.3.0Hiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/5317
2021-12-21rbinstall.rb: install ext only when it's configured [Bug #18414]Yuta Saito
Notes: Merged: https://github.com/ruby/ruby/pull/5297
2021-12-21Fix location of extensions in bundled gems when static-linked-extNobuyoshi Nakada
Install bundled gem extension files to the gem extension directory under DESTDIR, when static-linked-ext as well as non-static case. Notes: Merged: https://github.com/ruby/ruby/pull/5308
2021-12-16Install gemspec even though no .rb and no .soYuta Saito
When building with --with-static-linked-ext, some exts without rb file doesn't produce neither .so or .rb under .ext/common. Therefore, change rbinstall.rb to install gemspec even if there is no .so or .rb for that case. Notes: Merged: https://github.com/ruby/ruby/pull/5206
2021-12-15Merge RubyGems and Bundler masterHiroshi SHIBATA
Merge from https://github.com/rubygems/rubygems/commit/793ad95ecb40e84a1dcb4cb60f2686843ed90de5 Notes: Merged: https://github.com/ruby/ruby/pull/5265
2021-12-13Prepare for removing RubyVM::JIT (#5262)Takashi Kokubun
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2021-12-14Merge to one regexpKazuhiro NISHIYAMA
2021-12-09Followed up f5d80c26d493c14241d4e3320437e62d7f54eabb for sync_default_gems.rbHiroshi SHIBATA
2021-12-06sync_default_gems.rb: convert commit hashes to github URLs [ci skip]Nobuyoshi Nakada
2021-12-05Make `leaf` const in VM generatorAlan Wu
Assigning to `leaf` in insns.def would give undesirable results.
2021-12-02update-bundled_gems.rb: Fix typo and version comparisonNobuyoshi Nakada
2021-12-01Merge rubygems master fd676ac464491afaa0baf5435cb11b3f86229cbdHiroshi SHIBATA
2021-11-30Let pretty_inspect work once at firstNobuyoshi Nakada
For older pp.rb which did not need io/console, and dealing with `LoadError`.
2021-11-30Load io/console earlierNobuyoshi Nakada
Something goes wrong at loading libraries inside `mu_pp` in the test overriding `Class.inherited`.
2021-11-30Recent systems prohibit symlink for relative loadingNobuyoshi Nakada
2021-11-29Consider environment variable case-insensitivenessNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5188
2021-11-26Move win32ole.gemspec to the proper placeNobuyoshi Nakada
2021-11-25Add win32ole to sync_default_gems.rbNobuyoshi Nakada
2021-11-24No need to link and install .pdb anymoreAlan Wu
With /Z7, no .pdb file is generated, so trying to link it during build fails on my machine even though it's okay on CI. By the way, in my local testing, no .pdb is generated in cwd at runtime even without the /Fd option. I guess we can pass it just in case. Notes: Merged: https://github.com/ruby/ruby/pull/5058
2021-11-16Ignore LUCENSE files of standard libraries for sync targetHiroshi SHIBATA
2021-11-16Added LICENSE entry of vendored net-http-persistent to LEGALHiroshi SHIBATA
2021-11-16Added LICENSE entry of vendored connection_pool to LEGALHiroshi SHIBATA
2021-11-16Added LICENSE entry of vendored molinillo to LEGALHiroshi SHIBATA
2021-11-16Added LICENSE entry of vendored thor to LEGALHiroshi SHIBATA
2021-11-16Merge digest-3.0.3.pre3 and ↵Hiroshi SHIBATA
https://github.com/ruby/digest/commit/efd76821b8a467c193c753104c29b476debbb2c9
2021-11-16Support preview releaseNARUSE, Yui
Also add tag property.
2021-11-15Relax extention name for macOSHiroshi SHIBATA
2021-11-15`Primitive.mandatory_only?` for fast pathKoichi Sasada
Compare with the C methods, A built-in methods written in Ruby is slower if only mandatory parameters are given because it needs to check the argumens and fill default values for optional and keyword parameters (C methods can check the number of parameters with `argc`, so there are no overhead). Passing mandatory arguments are common (optional arguments are exceptional, in many cases) so it is important to provide the fast path for such common cases. `Primitive.mandatory_only?` is a special builtin function used with `if` expression like that: ```ruby def self.at(time, subsec = false, unit = :microsecond, in: nil) if Primitive.mandatory_only? Primitive.time_s_at1(time) else Primitive.time_s_at(time, subsec, unit, Primitive.arg!(:in)) end end ``` and it makes two ISeq, ``` def self.at(time, subsec = false, unit = :microsecond, in: nil) Primitive.time_s_at(time, subsec, unit, Primitive.arg!(:in)) end def self.at(time) Primitive.time_s_at1(time) end ``` and (2) is pointed by (1). Note that `Primitive.mandatory_only?` should be used only in a condition of an `if` statement and the `if` statement should be equal to the methdo body (you can not put any expression before and after the `if` statement). A method entry with `mandatory_only?` (`Time.at` on the above case) is marked as `iseq_overload`. When the method will be dispatch only with mandatory arguments (`Time.at(0)` for example), make another method entry with ISeq (2) as mandatory only method entry and it will be cached in an inline method cache. The idea is similar discussed in https://bugs.ruby-lang.org/issues/16254 but it only checks mandatory parameters or more, because many cases only mandatory parameters are given. If we find other cases (optional or keyword parameters are used frequently and it hurts performance), we can extend the feature. Notes: Merged: https://github.com/ruby/ruby/pull/5112
2021-11-12Bundle RBS 1.7.0 (#5105)Soutaro Matsumoto
* Bundle RBS 1.7.0 * tool/test-bundled-gems.rb: Use a correct path to Check if rbs is built * tool/test-bundled-gems.rb: lib/rbs/parse.y is no longer created Co-authored-by: Yusuke Endoh <mame@ruby-lang.org> Notes: Merged-By: soutaro <matsumoto@soutaro.com>
2021-11-10Disable experimental warnings in test/runner.rbNobuyoshi Nakada
2021-11-10Mark IO::Buffer as experimental.Samuel Williams
Notes: Merged: https://github.com/ruby/ruby/pull/4621
2021-11-09Filter method names only if filtering method name onlyNobuyoshi Nakada
If sole `filter` option doesn't seem including test case name, match with method name only. And if the filter is a Regexp or String, it never matches method name symbols.
2021-11-09Bundle rbs 1.7.0.beta.5Yusuke Endoh
Notes: Merged: https://github.com/ruby/ruby/pull/5042
2021-11-05Skip bundled gem with an extension library under with-static-linked-extYusuke Endoh
.. mainly to fix emscripten CI http://rubyci.s3.amazonaws.com/crossruby/crossruby-master-wasm64_emscripten/log/20211104T024621Z.fail.html.gz Notes: Merged: https://github.com/ruby/ruby/pull/5078
2021-10-30Allow the thread-model to be switched by configure optionYuta Saito
This change adds --with-thread=IMPL option to the configure. If not supplied, default implementation for each platform will be used. Notes: Merged: https://github.com/ruby/ruby/pull/5043
2021-10-30Select including thread impl file at config timeYuta Saito
Notes: Merged: https://github.com/ruby/ruby/pull/5043
2021-10-30Split thread-model config into another ac fileYuta Saito
This is a first step to allow the thread-model implementation to be switched by configure's option Notes: Merged: https://github.com/ruby/ruby/pull/5043
2021-10-30Get rid of exponential backtracks found by CodeQLNobuyoshi Nakada
Since these regexps are used at build/installation, they are not vulnerabilities. Notes: Merged: https://github.com/ruby/ruby/pull/5056
2021-10-29vm_core.h: Avoid unaligned access to ic_serial on 32-bit machineYusuke Endoh
This caused Bus error on 32 bit Solaris Notes: Merged: https://github.com/ruby/ruby/pull/5049
2021-10-28Downloader: retry when RFC 2616 noncompliant dates [ci skip]Nobuyoshi Nakada
zlib.net rarely returns the current time in RFC 2616 noncompliant format in the response header, and the checksum does not match in that case (maybe creating the tarball on the fly?).