summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix an out of bound accessNobuyoshi Nakada2022-10-011-0/+6
|
* Add macros for assertionsNobuyoshi Nakada2022-10-011-3/+8
|
* Do not define the method only for RDocNobuyoshi Nakada2022-10-011-0/+2
| | | | `Data.members` fails an assertion.
* Fix YJIT args for rb_vm_set_ivar_idxJohn Hawthorn2022-09-301-1/+1
| | | | | This was broken accidentally with the revert of shapes (it conflicted with some unrelated cleanup).
* Fix YJIT build after shapes-revertJohn Hawthorn2022-09-301-1/+1
| | | | | An variable had been renamed in between the merge and revert, so the build was broken. This restores it.
* Revert "This commit implements the Object Shapes technique in CRuby."Aaron Patterson2022-09-3041-2298/+880
| | | | This reverts commit 68bc9e2e97d12f80df0d113e284864e225f771c2.
* Fix frozen object inspecteileencodes2022-09-302-2/+10
| | | | | | | | | | | | | In the rails/rails CI build for Ruby master we found that some tests were failing due to inspect on a frozen object being incorrect. An object's instance variable count was incorrect when frozen causing the object's inspect to not splat out the object. This fixes the issue and adds a test for inspecting frozen objects. Co-Authored-By: Jemma Issroff <jemmaissroff@gmail.com> Co-Authored-By: Aaron Patterson <tenderlove@ruby-lang.org>
* [rubygems/rubygems] Add notes to make sure we don't forget to backport ↵David Rodríguez2022-10-011-0/+6
| | | | | | | | changes to Bundler https://github.com/rubygems/rubygems/commit/1ac5b14c78 Co-authored-by: André Arko <andre@arko.net>
* [rubygems/rubygems] Fix matching of eabihf platformsDavid Rodríguez2022-10-013-4/+12
| | | | https://github.com/rubygems/rubygems/commit/a03d30cd58
* [rubygems/rubygems] Fix matching of linux platforms with eabi modifiersDavid Rodríguez2022-10-013-8/+28
| | | | | | https://github.com/rubygems/rubygems/commit/89362c18ef Co-authored-by: Mike Dalessio <mike.dalessio@gmail.com>
* [rubygems/rubygems] Refactor platform matching on LinuxDavid Rodríguez2022-10-012-2/+22
| | | | | | I think this highlights better how musl is special. https://github.com/rubygems/rubygems/commit/4075771697
* Only assert ractor_shareable is consistent on ivar_set for T_OBJECTJemma Issroff2022-09-301-1/+1
| | | | | | | | Before d594a5a8bd0756f65c078fcf5ce0098250cba141, we were only asserting that the value on an ivar_get was ractor_sharable if the object was a T_OBJECT and also ractor shareable. We should still be doing this check only if the object is a T_OBJECT and ractor shareable
* [ruby/irb] Fix ripper_lex_without_warning duplicated heredoc tokentompng2022-10-012-8/+17
| | | | https://github.com/ruby/irb/commit/45b539af39
* A bunch of clippy auto fixes for yjit (#6476)Jimmy Miller2022-09-3016-52/+53
|
* Add Data class implementation: Simple immutable value objectVictor Shepelev2022-09-306-6/+716
|
* Split `with_warning_string_from` for the last named parameterNobuyoshi Nakada2022-09-301-1/+3
|
* [rubygems/rubygems] Prevent a "warning: assigned but unused variable - data"Yusuke Endoh2022-09-301-1/+1
| | | | https://github.com/rubygems/rubygems/commit/ec3fd55d40
* Add `--zone` option to `VCS`Nobuyoshi Nakada2022-09-301-1/+3
| | | | Which controls the timezone offset for `RUBY_RELEASE_DATE`.
* Introduce `VCS::Null` for fallbackNobuyoshi Nakada2022-09-303-15/+18
|
* Check for the availability of the command when detectingNobuyoshi Nakada2022-09-301-0/+3
|
* Pull up `VCS.short_revision` from `VCS::SVN`Nobuyoshi Nakada2022-09-301-4/+4
|
* Reduce diff to proc.c @ b0b9f7201acab05c2a3ad92c3043a1f01df3e17fBenoit Daloze2022-09-292-49/+34
| | | | | | * So it's easy to review https://github.com/ruby/ruby/pull/6242 + https://github.com/ruby/ruby/pull/6467 and there are less changes overall.
* Extend tests for a zsuper method of which the method it resolved to has been ↵Benoit Daloze2022-09-291-0/+41
| | | | removed
* Resolve zsuper method during lookup but preserve owner separatelyBenoit Daloze2022-09-292-61/+114
| | | | | * See https://bugs.ruby-lang.org/issues/18729#note-34 * See [Bug #18729]
* Add specs for {Method,UnboundMethod}#owner of a zsuper methodBenoit Daloze2022-09-292-0/+13
|
* Fix {Method,UnboundMethod}#super_method for zsuper methodsBenoit Daloze2022-09-293-34/+22
| | | | | * We need to resolve the zsuper method first, and then look the super method of that.
* [Bug #19029] Don't start GC during compactionMatt Valentine-House2022-09-291-5/+9
| | | | | | | | | | | | | | RARRAY_PTR when called with a transient array detransients the array before returning its pointer which allocates in the heap. Because RARRAY_PTR was being used during compaction (when re-embedding arrays that have moved between size pools) this introduces the possibility that we can hit a malloc threshold, triggering GC, while in the middle of compaction. We should avoid this by using safer functions to get hold of the pointer. Since we know that the array is not embedded here, we can use ARY_HEAP_PTR and ARY_EMBED_PTR directly
* Update bundled gems list at 866cfb248e269f64951c8521707322 [ci skip]git2022-09-291-1/+1
|
* Update bundled_gemsShugo Maeda2022-09-291-1/+1
|
* [rubygems/rubygems] Refine error message to check the push URL instead of ↵Jenny Shen2022-09-294-7/+7
| | | | | | just the host https://github.com/rubygems/rubygems/commit/46990f3292
* [rubygems/rubygems] Refactor tests to use Net::HTTPResponse instances for ↵Jenny Shen2022-09-296-83/+87
| | | | | | | | fetcher.data[:path] https://github.com/rubygems/rubygems/commit/4d91cacb1f Co-authored-by: Jacques Chester <jacques.chester@shopify.com>
* [rubygems/rubygems] Surface entire redirect uri in permanent redirectionsJenny Shen2022-09-295-43/+105
| | | | https://github.com/rubygems/rubygems/commit/da7837630b
* [rubygems/rubygems] Add error message when api response is a permanent redirectJenny Shen2022-09-294-1/+95
| | | | | | https://github.com/rubygems/rubygems/commit/ccca30c77a Co-authored-by: Nick Schwaderer <nick.schwaderer@shopify.com>
* Skip unpack_sockaddr_in with http at Solaris platformHiroshi SHIBATA2022-09-291-3/+5
| | | | http://rubyci.s3.amazonaws.com/solaris10-gcc/ruby-master/log/20220929T050003Z.fail.html.gz
* [ruby/date] The shrunk words to be copied is limitedNobuyoshi Nakada2022-09-292-3/+3
| | | | | | Th buffer size is small enough and no need to allocate dynamically. https://github.com/ruby/date/commit/f62bf0a01d
* bootstraptest/runner: run in parallel if in parallel buildNobuyoshi Nakada2022-09-291-5/+5
|
* [ruby/date] Narrow ALLOCV region for shrunk wordsNobuyoshi Nakada2022-09-292-8/+20
| | | | https://github.com/ruby/date/commit/f51b038074
* Update bundled gems list at 8c4e52fbe8a07da76c4038e4c5dc51 [ci skip]git2022-09-291-1/+3
|
* Update bundled_gemsHiroshi SHIBATA2022-09-291-3/+3
|
* Update NEWS.md with updated coverage interfaces.Samuel Williams2022-09-291-3/+7
|
* Add `Coverage.supported?` to detect what modes are supported.Samuel Williams2022-09-292-0/+37
|
* Add `eval: true/false` flag to `Coverage.setup`.Samuel Williams2022-09-294-17/+21
|
* [rubygems/rubygems] Put bundler gemspec stub at the right placeDavid Rodríguez2022-09-291-25/+28
| | | | | | | So that it's found when needed, rather than dynamically modifying loaded stubs and thus messing with RubyGems internals. https://github.com/rubygems/rubygems/commit/cd3e7cb9e5
* [rubygems/rubygems] Only activate bundler when neededDavid Rodríguez2022-09-292-213/+266
| | | | | | | | | | Loading Bundler beforehand was actually replacing ENV with a backup of the pre-Bundler environment through `Bundler::EnvironmentPreserver`. I think that was making a bug in `ENV.replace` not bite our tests, because Bundler includes proper patches to workaround that issue. So this commit also includes these patches in RubyGems tests. https://github.com/rubygems/rubygems/commit/8e079149b9
* [rubygems/rubygems] Test a pure RubyGems methodDavid Rodríguez2022-09-291-5/+5
| | | | | | `Gem::Specification#load_paths` is actually a Bundler thing. https://github.com/rubygems/rubygems/commit/d20b4d1950
* [rubygems/rubygems] Little refactor to keep things consistentDavid Rodríguez2022-09-292-4/+6
| | | | https://github.com/rubygems/rubygems/commit/3934deb4e4
* [rubygems/rubygems] Remove unnecessary `ensure`David Rodríguez2022-09-291-1/+0
| | | | https://github.com/rubygems/rubygems/commit/6c0c02c533
* [rubygems/rubygems] Require bundler consistentlyDavid Rodríguez2022-09-291-6/+1
| | | | | | | The `$LOAD_PATH` should be properly setup so that the local version is used. https://github.com/rubygems/rubygems/commit/03c0ab4082
* [rubygems/rubygems] Remove unnecessary constantDavid Rodríguez2022-09-291-2/+1
| | | | https://github.com/rubygems/rubygems/commit/4bd77488ad
* [rubygems/rubygems] Cleaup unnecessary codeDavid Rodríguez2022-09-292-20/+0
| | | | https://github.com/rubygems/rubygems/commit/2e05dadbc5