aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* reject bundled gems if they are declared in GemfileHiroshi SHIBATA2023-10-182-2/+3
|
* Bump actions/checkout from 4.1.0 to 4.1.1dependabot[bot]2023-10-1718-21/+21
| | | | | | | | | | | | | | | Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/8ade135a41bc03ea155e62e844d188df1ea18608...b4ffde65f46336ab88eb53be808477a3936bae11) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* Fix total count when filters givenNobuyoshi Nakada2023-10-181-5/+8
|
* Escape method names containing control charactersNobuyoshi Nakada2023-10-181-1/+1
|
* Prefer RbConfig.ruby over the 3.times fallback (#8691)Takashi Kokubun2023-10-171-15/+14
| | | | It seems saner to use RbConfig.ruby than using ruby in a random ancestor directory.
* YJIT: Use RbConfig.ruby instead of EnvUtil.rubybin (#8689)Takashi Kokubun2023-10-181-4/+8
| | | | | | | | | | | | Some people encounter an issue that test_yjit uses the installed Ruby instead of the currently-running Ruby. It's fixed when they remove the installed Ruby. However, test_yjit should run the currently-running Ruby for testing YJIT in subprocesses. EnvUtil is unfortunately used outside tests as well, so for compatibility reasons, this commit only changes the argument given to EnvUtil.invoke_ruby to always use RbConfig.ruby. Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
* YJIT: Fix clippy::redundant_localsAlan Wu2023-10-171-3/+1
| | | | | | > note: `#[deny(clippy::redundant_locals)]` on by default On Rust 1.73.0.
* YJIT: Remove call to compile() on empty AssemblerAlan Wu2023-10-171-4/+1
|
* Manage parallel test workers after timeoutNobuyoshi Nakada2023-10-185-13/+39
|
* Add `jobs` optional keyword argumentNobuyoshi Nakada2023-10-181-7/+3
|
* [ruby/prism] Ensure last encoding flag winseileencodes2023-10-172-4/+19
| | | | | | | You can't encoding a string with more than one encoding so ensure that the last one wins. https://github.com/ruby/prism/commit/4182c988c9
* YJIT: Add a few missing counters for send fallback (#8681)Takashi Kokubun2023-10-173-4/+7
|
* YJIT: Lookup IDs on boot instead of binding to themAlan Wu2023-10-176-222/+57
| | | | | | | | | | Previously, the version-controlled `cruby_bindings.inc.rs` file contained the build-time artifact `id.h`, which nobu mentioned hinders the goal of having fewer magic numbers in the repository. Lookup the IDs YJIT needs on boot. It costs cycles, but it's fine since YJIT only uses a handful of IDs at the moment. No perceptible degradation to boot time found in my testing.
* YJIT: Add a cargo job for Arm64 and remove .cirrus.yml (#8679)Takashi Kokubun2023-10-173-111/+30
| | | | | | | | | | * YJIT: Add a cargo job for Arm64 * YJIT: Use command names as job names They look more consistent with jobs that use the command name as a job name, such as `make (check)`, `make (test-bundled-gems)`, etc. * Remove .cirrus.yml
* Separate `test-precheck` targetNobuyoshi Nakada2023-10-171-1/+4
| | | | So that the tests can run without updating other than the programs.
* Wait for `showflag` to finish to prevent interspersed outputsNobuyoshi Nakada2023-10-171-2/+2
|
* [ruby/rdoc] Delay DidYouMean until NotFoundError#message is calledtompng2023-10-171-8/+9
| | | | https://github.com/ruby/rdoc/commit/b59ca2f981
* Use rb_getnameinfo instead of directly using getnameinfoYusuke Endoh2023-10-171-9/+9
|
* "+MN" in descriptionKoichi Sasada2023-10-174-29/+24
| | | | | | | | | | | | | | If `RUBY_MN_THREADS=1` is given, this patch shows `+MN` in `RUBY_DESCRIPTION` like: ``` $ RUBY_MN_THREADS=1 ./miniruby --yjit -v ruby 3.3.0dev (2023-10-17T04:10:14Z master 908f8fffa2) +YJIT +MN [x86_64-linux] ``` Before this patch, a warning is displayed if `$VERBOSE` is given. However it can make troubles with tests (with `$VERBOSE`), do not show any warning with a MN threads configuration.
* Get rid of `set` with empty argument which dumps all definitionsNobuyoshi Nakada2023-10-171-1/+2
|
* [rubygems/rubygems] Don't hide original error in `after(:suite)` hookDavid Rodríguez2023-10-171-1/+1
| | | | | | | | | | For some reason, Windows builds are failing quite consistently now. However, it seems that errors are happening before this directory is even created, so removal fails, hiding the original error. Instead, don't let this removal fail due to files not existing. https://github.com/rubygems/rubygems/commit/7669d6c96e
* Fix a typo [ci skip]Kazuhiro NISHIYAMA2023-10-171-1/+1
|
* [ruby/prism] Fix up super with a blockargKevin Newton2023-10-173-13/+105
| | | | https://github.com/ruby/prism/commit/0ea19ed823
* Remove duplicated optionyui-knk2023-10-171-1/+1
| | | | | | `-d` option is basically same with `-h` (`--header`). The difference is `-h` accept header file name. Therefore remove `-d` option.
* [ruby/prism] Load magic comments in javaKevin Newton2023-10-162-5/+5
| | | | https://github.com/ruby/prism/commit/5d189ce33e
* [ruby/prism] Additionally handle encoding comments in vim modeKevin Newton2023-10-163-17/+105
| | | | https://github.com/ruby/prism/commit/bf9bdb9d82
* [ruby/prism] Attach magic comments to the parse resultKevin Newton2023-10-168-16/+136
| | | | https://github.com/ruby/prism/commit/c7ef25a79a
* [ruby/prism] Parse all magic commentsKevin Newton2023-10-162-79/+179
| | | | https://github.com/ruby/prism/commit/2b3d59f424
* Revert "[ruby/prism] Change ScopeNode to point to previous ScopeNode"Jemma Issroff2023-10-163-18/+3
| | | | This reverts commit 67a987f82bc8a2b7ec15581306873530821fcf9e.
* [ruby/prism] Change ScopeNode to point to previous ScopeNodeJemma Issroff2023-10-163-3/+18
| | | | | | | Amend ScopeNode to point to previous ScopeNode, and to have void* pointers to constants and index_lookup_table https://github.com/ruby/prism/commit/0534324312
* [ruby/net-http] Force TLS version to 1.2 when using LibreSSLJeremy Evans2023-10-161-1/+1
| | | | | | | | | | This comment previously specified TLS 1.2, but actually set the version to TLS 1.0. LibreSSL 3.8.1 (included in OpenBSD 7.4) dropped support for TLS 1.0/1.1 for security reasons, which broke this test. Switch the test to use TLS 1.2 as documented so it will continue to work on OpenBSD 7.4+. https://github.com/ruby/net-http/commit/97be4de53a
* [PRISM] Compile AliasGlobalVariableNode (#8675)Jemma Issroff2023-10-162-0/+27
|
* Just skip the job if not on ruby/rubyTakashi Kokubun2023-10-161-2/+2
| | | | | | | | | Using the same `runs-os` across all jobs in the same workflow makes it more likely to pass in case one of these runners is experiencing an outage. macos-arm-oss is generally not available outside ruby/ruby, so it's fair to skip it for forks.
* Remove YJIT --repeat-count=2 job (#8669)Takashi Kokubun2023-10-161-3/+0
|
* [PRISM] Fix more bugs in the compiler (#8658)Jemma Issroff2023-10-162-25/+33
| | | | * Fixed ConstantPathWriteNode * FIxed FlipFlopNode
* [PRISM] prevent underflow on popped splatarray (#8657)Adam Hess2023-10-162-3/+7
| | | | | prevent underflow on popped splatarray This only emits the splat array node when not popped
* [ruby/irb] Suppress "Switch to inspect mode" messagesNobuyoshi Nakada2023-10-161-0/+1
| | | | | | | This message is displayed if STDIN is not a tty. The parallel test is the case. https://github.com/ruby/irb/commit/e26e90e3fb
* Update default gems list at d1f781b0d49f16d996e3ba848f386e [ci skip]git2023-10-161-1/+1
|
* [ruby/psych] Bump up v5.1.1.1Hiroshi SHIBATA2023-10-161-1/+1
| | | | https://github.com/ruby/psych/commit/51cc86ff3f
* Wait on ubuntu [ci skip]Nobuyoshi Nakada2023-10-161-1/+1
| | | | | macos-arm-oss is unavailable for forked reopsitories other than ruby/ruby.
* Build `rb_dynamic_description` at runtimeNobuyoshi Nakada2023-10-161-21/+24
| | | | To avoid creating literals for all combinations.
* [ruby/prism] Avoid unnecessary delete_prefix in LibRubyParser.resolve_typeMau Magnaguagno2023-10-161-2/+2
| | | | | | Only remove const prefix from non-pointer types. https://github.com/ruby/prism/commit/97c9ffeb42
* Fix typos [ci skip]Kazuhiro NISHIYAMA2023-10-161-2/+2
|
* Give needed tools via the environment variable [ci skip]Nobuyoshi Nakada2023-10-161-1/+4
|
* Check if any tools needed [ci skip]Nobuyoshi Nakada2023-10-161-5/+7
| | | | | Because of a trap of cmd.exe that `echo something > output` prints not only "something" also the space before `>`, remove unexpected spaces.
* [rubygems/rubygems] Raise an error when top level dependency does not ↵David Rodríguez2023-10-163-2/+77
| | | | | | resolve under all locked platforms https://github.com/rubygems/rubygems/commit/25304f3e8d
* [rubygems/rubygems] Automatically remove invalid platforms before re-resolvingDavid Rodríguez2023-10-163-11/+77
| | | | https://github.com/rubygems/rubygems/commit/40989271dd
* [rubygems/rubygems] Tweak platform mismatch resolution errorsDavid Rodríguez2023-10-162-5/+11
| | | | https://github.com/rubygems/rubygems/commit/20460bc1ee
* [rubygems/rubygems] Consistent usage of `local_platform` in DefinitionDavid Rodríguez2023-10-161-4/+4
| | | | https://github.com/rubygems/rubygems/commit/5f28a68d79
* [rubygems/rubygems] The `lock` command should not be affected by frozen settingDavid Rodríguez2023-10-162-23/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `lock` command is specifically designed to manage the lockfile, so running it should take precedence over any "frozen" setting. Besides that, "frozen" is not specifically designed as "lockfile cannot be updated" but as "installation of gems should be prevented if gemfile is not in sync with the lockfile". The lock command does not install any gems and preserves the property of the lockfile being in sycn with its gemfile, so I think frozen should not influence it. The current behavior is quite confusing when frozen is set. On an app where rubocop can get lockfile updates ``` $ bundle lock --update rubocop Writing lockfile to /path/to/Gemfile.lock ``` Completely silent, it makes you think that it has written the lockfile, but still no updates. In verbose mode, it gives a bit more information, but still confusing and unexpected, and does not change the lockfile: ``` $ bundle lock --update rubocop --verbose Running `bundle lock --update "rubocop" --verbose` with bundler 2.4.20 Frozen, using resolution from the lockfile Writing lockfile to /path/to/Gemfile.lock ``` With this commit, it updates the lockfile as expected. https://github.com/rubygems/rubygems/commit/1d501ae8ea