Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix an out of bound access | Nobuyoshi Nakada | 2022-10-01 | 1 | -0/+6 |
| | |||||
* | Add macros for assertions | Nobuyoshi Nakada | 2022-10-01 | 1 | -3/+8 |
| | |||||
* | Do not define the method only for RDoc | Nobuyoshi Nakada | 2022-10-01 | 1 | -0/+2 |
| | | | | `Data.members` fails an assertion. | ||||
* | Fix YJIT args for rb_vm_set_ivar_idx | John Hawthorn | 2022-09-30 | 1 | -1/+1 |
| | | | | | This was broken accidentally with the revert of shapes (it conflicted with some unrelated cleanup). | ||||
* | Fix YJIT build after shapes-revert | John Hawthorn | 2022-09-30 | 1 | -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 Patterson | 2022-09-30 | 41 | -2298/+880 |
| | | | | This reverts commit 68bc9e2e97d12f80df0d113e284864e225f771c2. | ||||
* | Fix frozen object inspect | eileencodes | 2022-09-30 | 2 | -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íguez | 2022-10-01 | 1 | -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 platforms | David Rodríguez | 2022-10-01 | 3 | -4/+12 |
| | | | | https://github.com/rubygems/rubygems/commit/a03d30cd58 | ||||
* | [rubygems/rubygems] Fix matching of linux platforms with eabi modifiers | David Rodríguez | 2022-10-01 | 3 | -8/+28 |
| | | | | | | https://github.com/rubygems/rubygems/commit/89362c18ef Co-authored-by: Mike Dalessio <mike.dalessio@gmail.com> | ||||
* | [rubygems/rubygems] Refactor platform matching on Linux | David Rodríguez | 2022-10-01 | 2 | -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_OBJECT | Jemma Issroff | 2022-09-30 | 1 | -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 token | tompng | 2022-10-01 | 2 | -8/+17 |
| | | | | https://github.com/ruby/irb/commit/45b539af39 | ||||
* | A bunch of clippy auto fixes for yjit (#6476) | Jimmy Miller | 2022-09-30 | 16 | -52/+53 |
| | |||||
* | Add Data class implementation: Simple immutable value object | Victor Shepelev | 2022-09-30 | 6 | -6/+716 |
| | |||||
* | Split `with_warning_string_from` for the last named parameter | Nobuyoshi Nakada | 2022-09-30 | 1 | -1/+3 |
| | |||||
* | [rubygems/rubygems] Prevent a "warning: assigned but unused variable - data" | Yusuke Endoh | 2022-09-30 | 1 | -1/+1 |
| | | | | https://github.com/rubygems/rubygems/commit/ec3fd55d40 | ||||
* | Add `--zone` option to `VCS` | Nobuyoshi Nakada | 2022-09-30 | 1 | -1/+3 |
| | | | | Which controls the timezone offset for `RUBY_RELEASE_DATE`. | ||||
* | Introduce `VCS::Null` for fallback | Nobuyoshi Nakada | 2022-09-30 | 3 | -15/+18 |
| | |||||
* | Check for the availability of the command when detecting | Nobuyoshi Nakada | 2022-09-30 | 1 | -0/+3 |
| | |||||
* | Pull up `VCS.short_revision` from `VCS::SVN` | Nobuyoshi Nakada | 2022-09-30 | 1 | -4/+4 |
| | |||||
* | Reduce diff to proc.c @ b0b9f7201acab05c2a3ad92c3043a1f01df3e17f | Benoit Daloze | 2022-09-29 | 2 | -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 Daloze | 2022-09-29 | 1 | -0/+41 |
| | | | | removed | ||||
* | Resolve zsuper method during lookup but preserve owner separately | Benoit Daloze | 2022-09-29 | 2 | -61/+114 |
| | | | | | * See https://bugs.ruby-lang.org/issues/18729#note-34 * See [Bug #18729] | ||||
* | Add specs for {Method,UnboundMethod}#owner of a zsuper method | Benoit Daloze | 2022-09-29 | 2 | -0/+13 |
| | |||||
* | Fix {Method,UnboundMethod}#super_method for zsuper methods | Benoit Daloze | 2022-09-29 | 3 | -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 compaction | Matt Valentine-House | 2022-09-29 | 1 | -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] | git | 2022-09-29 | 1 | -1/+1 |
| | |||||
* | Update bundled_gems | Shugo Maeda | 2022-09-29 | 1 | -1/+1 |
| | |||||
* | [rubygems/rubygems] Refine error message to check the push URL instead of ↵ | Jenny Shen | 2022-09-29 | 4 | -7/+7 |
| | | | | | | just the host https://github.com/rubygems/rubygems/commit/46990f3292 | ||||
* | [rubygems/rubygems] Refactor tests to use Net::HTTPResponse instances for ↵ | Jenny Shen | 2022-09-29 | 6 | -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 redirections | Jenny Shen | 2022-09-29 | 5 | -43/+105 |
| | | | | https://github.com/rubygems/rubygems/commit/da7837630b | ||||
* | [rubygems/rubygems] Add error message when api response is a permanent redirect | Jenny Shen | 2022-09-29 | 4 | -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 platform | Hiroshi SHIBATA | 2022-09-29 | 1 | -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 limited | Nobuyoshi Nakada | 2022-09-29 | 2 | -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 build | Nobuyoshi Nakada | 2022-09-29 | 1 | -5/+5 |
| | |||||
* | [ruby/date] Narrow ALLOCV region for shrunk words | Nobuyoshi Nakada | 2022-09-29 | 2 | -8/+20 |
| | | | | https://github.com/ruby/date/commit/f51b038074 | ||||
* | Update bundled gems list at 8c4e52fbe8a07da76c4038e4c5dc51 [ci skip] | git | 2022-09-29 | 1 | -1/+3 |
| | |||||
* | Update bundled_gems | Hiroshi SHIBATA | 2022-09-29 | 1 | -3/+3 |
| | |||||
* | Update NEWS.md with updated coverage interfaces. | Samuel Williams | 2022-09-29 | 1 | -3/+7 |
| | |||||
* | Add `Coverage.supported?` to detect what modes are supported. | Samuel Williams | 2022-09-29 | 2 | -0/+37 |
| | |||||
* | Add `eval: true/false` flag to `Coverage.setup`. | Samuel Williams | 2022-09-29 | 4 | -17/+21 |
| | |||||
* | [rubygems/rubygems] Put bundler gemspec stub at the right place | David Rodríguez | 2022-09-29 | 1 | -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 needed | David Rodríguez | 2022-09-29 | 2 | -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 method | David Rodríguez | 2022-09-29 | 1 | -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 consistent | David Rodríguez | 2022-09-29 | 2 | -4/+6 |
| | | | | https://github.com/rubygems/rubygems/commit/3934deb4e4 | ||||
* | [rubygems/rubygems] Remove unnecessary `ensure` | David Rodríguez | 2022-09-29 | 1 | -1/+0 |
| | | | | https://github.com/rubygems/rubygems/commit/6c0c02c533 | ||||
* | [rubygems/rubygems] Require bundler consistently | David Rodríguez | 2022-09-29 | 1 | -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 constant | David Rodríguez | 2022-09-29 | 1 | -2/+1 |
| | | | | https://github.com/rubygems/rubygems/commit/4bd77488ad | ||||
* | [rubygems/rubygems] Cleaup unnecessary code | David Rodríguez | 2022-09-29 | 2 | -20/+0 |
| | | | | https://github.com/rubygems/rubygems/commit/2e05dadbc5 |