summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-10-17Get rid of `set` with empty argument which dumps all definitionsNobuyoshi Nakada
2023-10-17[rubygems/rubygems] Don't hide original error in `after(:suite)` hookDavid Rodríguez
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
2023-10-17Fix a typo [ci skip]Kazuhiro NISHIYAMA
2023-10-17[ruby/prism] Fix up super with a blockargKevin Newton
https://github.com/ruby/prism/commit/0ea19ed823
2023-10-17Remove duplicated optionyui-knk
`-d` option is basically same with `-h` (`--header`). The difference is `-h` accept header file name. Therefore remove `-d` option.
2023-10-16[ruby/prism] Load magic comments in javaKevin Newton
https://github.com/ruby/prism/commit/5d189ce33e
2023-10-16[ruby/prism] Additionally handle encoding comments in vim modeKevin Newton
https://github.com/ruby/prism/commit/bf9bdb9d82
2023-10-16[ruby/prism] Attach magic comments to the parse resultKevin Newton
https://github.com/ruby/prism/commit/c7ef25a79a
2023-10-16[ruby/prism] Parse all magic commentsKevin Newton
https://github.com/ruby/prism/commit/2b3d59f424
2023-10-16Revert "[ruby/prism] Change ScopeNode to point to previous ScopeNode"Jemma Issroff
This reverts commit 67a987f82bc8a2b7ec15581306873530821fcf9e.
2023-10-16[ruby/prism] Change ScopeNode to point to previous ScopeNodeJemma Issroff
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
2023-10-16[ruby/net-http] Force TLS version to 1.2 when using LibreSSLJeremy Evans
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
2023-10-16[PRISM] Compile AliasGlobalVariableNode (#8675)Jemma Issroff
2023-10-16Just skip the job if not on ruby/rubyTakashi Kokubun
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.
2023-10-16Remove YJIT --repeat-count=2 job (#8669)Takashi Kokubun
2023-10-16[PRISM] Fix more bugs in the compiler (#8658)Jemma Issroff
* Fixed ConstantPathWriteNode * FIxed FlipFlopNode
2023-10-16[PRISM] prevent underflow on popped splatarray (#8657)Adam Hess
prevent underflow on popped splatarray This only emits the splat array node when not popped
2023-10-16[ruby/irb] Suppress "Switch to inspect mode" messagesNobuyoshi Nakada
This message is displayed if STDIN is not a tty. The parallel test is the case. https://github.com/ruby/irb/commit/e26e90e3fb
2023-10-16Update default gems list at d1f781b0d49f16d996e3ba848f386e [ci skip]git
2023-10-16[ruby/psych] Bump up v5.1.1.1Hiroshi SHIBATA
https://github.com/ruby/psych/commit/51cc86ff3f
2023-10-16Wait on ubuntu [ci skip]Nobuyoshi Nakada
macos-arm-oss is unavailable for forked reopsitories other than ruby/ruby.
2023-10-16Build `rb_dynamic_description` at runtimeNobuyoshi Nakada
To avoid creating literals for all combinations.
2023-10-16[ruby/prism] Avoid unnecessary delete_prefix in LibRubyParser.resolve_typeMau Magnaguagno
Only remove const prefix from non-pointer types. https://github.com/ruby/prism/commit/97c9ffeb42
2023-10-16Fix typos [ci skip]Kazuhiro NISHIYAMA
2023-10-16Give needed tools via the environment variable [ci skip]Nobuyoshi Nakada
2023-10-16Check if any tools needed [ci skip]Nobuyoshi Nakada
Because of a trap of cmd.exe that `echo something > output` prints not only "something" also the space before `>`, remove unexpected spaces.
2023-10-16[rubygems/rubygems] Raise an error when top level dependency does not ↵David Rodríguez
resolve under all locked platforms https://github.com/rubygems/rubygems/commit/25304f3e8d
2023-10-16[rubygems/rubygems] Automatically remove invalid platforms before re-resolvingDavid Rodríguez
https://github.com/rubygems/rubygems/commit/40989271dd
2023-10-16[rubygems/rubygems] Tweak platform mismatch resolution errorsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/20460bc1ee
2023-10-16[rubygems/rubygems] Consistent usage of `local_platform` in DefinitionDavid Rodríguez
https://github.com/rubygems/rubygems/commit/5f28a68d79
2023-10-16[rubygems/rubygems] The `lock` command should not be affected by frozen settingDavid Rodríguez
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
2023-10-16[rubygems/rubygems] Use instantiated definition directlyDavid Rodríguez
https://github.com/rubygems/rubygems/commit/bc233af4d2
2023-10-16[rubygems/rubygems] [PathSupport] Simplify logic: If `Gem.default_dir` is ↵Ellen Marie Dash
writable, use it. I couldn't find a cross-platform way to check "can I create this directory?" So I removed that, and went back to the original simpler logic of "if the directory is writable, use it." https://github.com/rubygems/rubygems/commit/3aa86a56db
2023-10-16[rubygems/rubygems] Remove kludge that should be unnecessary.Ellen Marie Dash
https://github.com/rubygems/rubygems/commit/f1d44ecb62
2023-10-16[rubygems/rubygems] Remove outdated/incorrect comment.Ellen Marie Dash
The function is also significantly simpler than it used to be, to the point I'm not sure it needs a comment. https://github.com/rubygems/rubygems/commit/29a0551e37
2023-10-16[rubygems/rubygems] Rephrase "Defaulting to user installation" message.Ellen Marie Dash
https://github.com/rubygems/rubygems/commit/b7c531347e Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
2023-10-16Re-resolve when lockfile is invalidDavid Rodriguez
Move the check for unmet dependencies in lockfile just in time to be able to re-resolve if unmet dependencies are found.
2023-10-16Fix method coverage comparisonsNobuyoshi Nakada
Although Ruby's hashes preserve the insertion order, the ordering of method coverage results is inherently nondeterministic, because they are collected using `ObjectSpace`.
2023-10-16Remove unneeded checksYusuke Endoh
Follow up of 591336a0f278bf963d01b6e9810cfc86a5b50620
2023-10-15Remove not used fields from STRyui-knk
2023-10-15Check node type before accessing nd_nextyui-knk
This is also a preparation for removing not_used members from STR NODE. Current codes work without node type check because NODE_STR has not_used2 member corresponding to nd_next of NODE_LIST and NODE_DSTR. However it causes problme once not_used members are removed from NODE_STR.
2023-10-15Stop updating node type from NODE_STR to NODE_DSTRyui-knk
This is a preparation for removing not_used members from STR NODE. Once not_used members are removed from STR NODE, STR NODE is smaller than DSTR NODE. Therefore allocate NODE_DSTR instead of reusing NODE_STR.
2023-10-15Remove not used fields from XSTRyui-knk
2023-10-15Remove not used fields from LITyui-knk
2023-10-15Remove not used fields from MATCHyui-knk
2023-10-15Avoid the pointer hack in RCLASS_EXTYusuke Endoh
... because GCC 13 warns it. ``` In file included from class.c:24: In function ‘RCLASS_SET_ALLOCATOR’, inlined from ‘class_alloc’ at class.c:251:5, inlined from ‘rb_module_s_alloc’ at class.c:1045:17: internal/class.h:159:43: warning: array subscript 0 is outside array bounds of ‘rb_classext_t[0]’ {aka ‘struct rb_classext_struct[]’} [-Warray-bounds=] 159 | RCLASS_EXT(klass)->as.class.allocator = allocator; | ^ ``` https://rubyci.s3.amazonaws.com/arch/ruby-master/log/20231015T030003Z.log.html.gz
2023-10-14Revert an unneeded if on check_miscTakashi Kokubun
nobu says he wants to run this on [DOC] commits as well.
2023-10-14[DOC] testing_ruby.md: Add spec/ for the explanation of the `make check`.Jun Aruga
2023-10-14[DOC] testing_ruby.md: Remove the command prompt '$ ` aligning with other parts.Jun Aruga
Remove the command prompt '$ ` aligning with other parts in the document.
2023-10-14Use the same if: guard for all jobsTakashi Kokubun