aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reuse `SpecSet#materialize` logicDavid Rodríguez2023-03-231-5/+3
|
* Refactor incomplete specs handlingDavid Rodríguez2023-03-234-13/+39
| | | | | | | | Recent bugs fixed made me realize we were relying on state too much here. We only need to keep incomplete specs to be able to expire them and retry resolution without them locked. If we use a separate class, we can do that more transparently and handle them just like we handle "missing specs".
* Don't remove RUBY platform when healing a lockfile with missing specsDavid Rodríguez2023-03-232-39/+55
|
* Don't remove RUBY platform when healing a lockfile with missing specsDavid Rodríguez2023-03-233-2/+8
|
* util/rubocop -A --only Style/AsciiCommentsHiroshi SHIBATA2023-03-236-12/+22
|
* util/rubocop -A --only Layout/EmptyLineAfterMagicCommentHiroshi SHIBATA2023-03-23290-0/+290
|
* util/rubocop -A --only Style/FrozenStringLiteralCommentHiroshi SHIBATA2023-03-2315-3/+18
|
* util/rubocop -A --only Lint/NonLocalExitFromIteratorHiroshi SHIBATA2023-03-232-2/+2
|
* [rubygems/rubygems] Enabled Style/RedundantReturn copHiroshi SHIBATA2023-03-2326-45/+43
| | | | https://github.com/rubygems/rubygems/commit/05cc97bdf8
* [rubygems/rubygems] util/rubocop -A --only ↵Hiroshi SHIBATA2023-03-239-13/+15
| | | | | | | | | Lint/BinaryOperatorWithIdenticalOperands Many of class of RubyGems have original <=> methods. We should ignore these cops for testing. https://github.com/rubygems/rubygems/commit/0a8645dc3b
* [rubygems/rubygems] util/rubocop -A --only Lint/VoidHiroshi SHIBATA2023-03-232-3/+0
| | | | https://github.com/rubygems/rubygems/commit/9d25906e44
* [rubygems/rubygems] util/rubocop -A --only Lint/RequireParenthesesHiroshi SHIBATA2023-03-231-1/+1
| | | | https://github.com/rubygems/rubygems/commit/ee6814afbc
* [rubygems/rubygems] util/rubocop -A --only Style/NextHiroshi SHIBATA2023-03-239-102/+88
| | | | https://github.com/rubygems/rubygems/commit/e5868e92f7
* [rubygems/rubygems] util/rubocop -A --only Style/MultilineMemoizationHiroshi SHIBATA2023-03-232-15/+13
| | | | https://github.com/rubygems/rubygems/commit/c1f6e4a97b
* [rubygems/rubygems] util/rubocop -A --only Style/MultilineTernaryOperatorHiroshi SHIBATA2023-03-233-6/+10
| | | | https://github.com/rubygems/rubygems/commit/be853dfe3b
* [rubygems/rubygems] util/rubocop -A --only Lint/ShadowingOuterLocalVariableHiroshi SHIBATA2023-03-232-5/+5
| | | | https://github.com/rubygems/rubygems/commit/82ed77178d
* [rubygems/rubygems] util/rubocop -A --only Lint/UnreachableCodeHiroshi SHIBATA2023-03-231-1/+0
| | | | https://github.com/rubygems/rubygems/commit/f06047f52a
* [rubygems/rubygems] util/rubocop -A --only Lint/UnderscorePrefixedVariableNameHiroshi SHIBATA2023-03-233-24/+24
| | | | https://github.com/rubygems/rubygems/commit/6dc4bc3a5b
* [rubygems/rubygems] util/rubocop -A --only Lint/ReturnInVoidContextHiroshi SHIBATA2023-03-231-1/+1
| | | | https://github.com/rubygems/rubygems/commit/021823a331
* [rubygems/rubygems] util/rubocop -A --only Lint/RescueExceptionHiroshi SHIBATA2023-03-239-11/+11
| | | | https://github.com/rubygems/rubygems/commit/e8a5db50af
* [rubygems/rubygems] util/rubocop -A --only Lint/EmptyExpressionHiroshi SHIBATA2023-03-231-1/+1
| | | | | | Thread.report_on_exception is always defined after Ruby 2.4 or later. https://github.com/rubygems/rubygems/commit/274da54f38
* [rubygems/rubygems] util/rubocop -A --only Lint/DuplicateCaseConditionHiroshi SHIBATA2023-03-231-2/+0
| | | | https://github.com/rubygems/rubygems/commit/df2b192e47
* core_assertions.rb: Raise `Timeout::Error` explicitlyNobuyoshi Nakada2023-03-231-1/+1
| | | | So that `assert_raise` inside the block works.
* `Array#first` and `Array#last` in RubyKoichi Sasada2023-03-232-17/+56
|
* `vm_call_single_noarg_inline_builtin`Koichi Sasada2023-03-238-15/+114
| | | | | | | | If the iseq only contains `opt_invokebuiltin_delegate_leave` insn and the builtin-function (bf) is inline-able, the caller doesn't need to build a method frame. `vm_call_single_noarg_inline_builtin` is fast path for such cases.
* should not restore builtin_inline_indexKoichi Sasada2023-03-231-3/+0
| | | | | | | | `builtin_inline_index` is restored because THEN clause on `Primitive.mandatory_only?` was compiled twice. However, f29c9d6d36 skips to compile THEN clause so we don't need to restore `builtin_inline_index`.
* Bump github/codeql-action from 2.2.7 to 2.2.8dependabot[bot]2023-03-232-5/+5
| | | | | | | | | | | | | | | Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.7 to 2.2.8. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/168b99b3c22180941ae7dbdd5f5c9678ede476ba...67a35a08586135a9573f4327e904ecbf517a882d) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* Suppress a compiler warning on GCC in process.cPeter Zhu2023-03-221-0/+8
| | | | | | | rb_pid_t is 32 bits on some platforms, which will cause a warning on GCC due to POSFIXABLE always returning true. include/ruby/internal/arithmetic/fixnum.h:43:31: warning: comparison is always true due to limited range of data type [-Wtype-limits]
* [rubygems/rubygems] Use indented heredocNobuyoshi Nakada2023-03-229-20/+20
| | | | https://github.com/rubygems/rubygems/commit/085d2776d8
* Lazily allocate id tables for childrenAaron Patterson2023-03-222-22/+92
| | | | | | | | | | This patch lazily allocates id tables for shape children. If a shape has only one single child, it tags the child with a bit. When we read children, if the id table has the bit set, we know it's a single child. If we need to add more children, then we create a new table and evacuate the child to the new table. Co-Authored-By: Matt Valentine-House <matt@eightbitraptor.com>
* pull child allocation in to a different functionAaron Patterson2023-03-221-17/+25
|
* combine allocation functionsAaron Patterson2023-03-221-13/+6
|
* Make shape functions staticAaron Patterson2023-03-222-46/+41
| | | | | These functions don't need to be in the header file, we can declare them as static.
* Fix shape allocation limitsAaron Patterson2023-03-223-4/+5
| | | | | | | | | | We can only allocate enough shapes to fit in the shape buffer. MAX_SHAPE_ID was based on the theoretical maximum number of shapes we could have, not on the amount of memory we can actually consume. This commit changes the MAX_SHAPE_ID to be based on the amount of memory we're allowed to consume. Co-Authored-By: Jemma Issroff <jemmaissroff@gmail.com>
* core_assertions.rb: Fix backward compatibility with pre 2.7Nobuyoshi Nakada2023-03-221-1/+1
|
* [DOC] Update comment of assert_pattern_listNobuyoshi Nakada2023-03-221-2/+2
| | | | `pattern_list` may contain string since d903e7672637.
* [rubygems/rubygems] @orig_RUBY_ENGINE is always provided nowHiroshi SHIBATA2023-03-221-2/+1
| | | | https://github.com/rubygems/rubygems/commit/c5e8ad4823
* [rubygems/rubygems] Fix test failure with missing RUBY_REVISION constantsHiroshi SHIBATA2023-03-221-16/+1
| | | | https://github.com/rubygems/rubygems/commit/c5b80945c6
* [rubygems/rubygems] ditto: RUBY_ENGINE_VERSIONHiroshi SHIBATA2023-03-221-4/+4
| | | | https://github.com/rubygems/rubygems/commit/dc82ebeac6
* [rubygems/rubygems] RUBY_REVISION is also provided by supported platformsHiroshi SHIBATA2023-03-223-8/+8
| | | | https://github.com/rubygems/rubygems/commit/71a237aeec
* [rubygems/rubygems] RUBY_DESCRIPTION is always provided by supported platformsHiroshi SHIBATA2023-03-221-1/+1
| | | | https://github.com/rubygems/rubygems/commit/8a7028bc7e
* [rubygems/rubygems] FixupHiroshi SHIBATA2023-03-221-1/+1
| | | | | | https://github.com/rubygems/rubygems/pull/6486 https://github.com/rubygems/rubygems/commit/ad50221acf
* core_assertions.rb: Refine `assert_linear_performance`Nobuyoshi Nakada2023-03-221-1/+1
| | | | | * Calculate each timeout from the ratio of each factor to the first factor.
* Should not reach end of non-void functionNobuyoshi Nakada2023-03-221-6/+2
|
* Fixup 43d20596b8fefadc309348448352bf13615129c6Hiroshi SHIBATA2023-03-221-1/+2
|
* [rubygems/rubygems] Remove reference to `pry` gem from generated ↵Justin Searls2023-03-221-4/+0
| | | | | | `bin/console` file This is just a suggestion, but since recent versions of Ruby have shipped with a `binding.irb` that provides almost all of the features that `pry` pioneered, it may be time to remove this suggestion in the name of simplicity and not confusing newer developers who aren't familiar with what to use.
* Relax timeout limit for FreeBSDHiroshi SHIBATA2023-03-221-1/+1
| | | | | * http://rubyci.s3.amazonaws.com/freebsd12/ruby-master/log/20230322T063002Z.fail.html.gz * http://rubyci.s3.amazonaws.com/freebsd13/ruby-master/log/20230322T063002Z.fail.html.gz
* Added assertion values for Amazon Linux 2023Hiroshi SHIBATA2023-03-221-3/+5
|
* RJIT: Update bindingTakashi Kokubun2023-03-211-1/+2
|
* RJIT: Follow a recent CALLER_SETUP_ARG changeTakashi Kokubun2023-03-212-6/+10
|