summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
8 days[ruby/time] Document exception thrown by `Time.strptime`Artur
https://github.com/ruby/time/commit/f9d078082f
8 daysSuppress useless linker warnings totally on macOSNobuyoshi Nakada
8 daysBump actions/upload-artifact from 4.3.1 to 4.3.2dependabot[bot]
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.1 to 4.3.2. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/5d5d22a31266ced268874388b861e4b58bb5c2f3...1746f4ab65b179e0ea60a494b83293b640dd5bba) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
8 days`RUBY_TRY_UNUSED_BLOCK_WARNING_STRICT`Koichi Sasada
`RUBY_TRY_UNUSED_BLOCK_WARNING_STRICT=1 ruby ...` will enable strict check for unused block warning. This option is only for trial to compare the results so the envname is not considered well. Should be removed before Ruby 3.4.0 release.
8 days[rubygems/rubygems] Keep backword compatibility of Bundler.requireHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/f6f79f4c37
8 days[rubygems/rubygems] Removed needless class nameHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/a2f43d3756
8 days[rubygems/rubygems] Track HEAD changes for old PR proposalHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/e3d180620c
8 days[rubygems/rubygems] Removed redundant beginHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/a9d22e5f46
8 days[rubygems/rubygems] Add plugin hooks for Bundler.requirefatkodima
https://github.com/rubygems/rubygems/commit/b373b7ed0d
8 daysPreserve old encinit.c if unchangedNobuyoshi Nakada
8 daysMake `Output.new` accepts keyword argumentsNobuyoshi Nakada
8 daysRemove UPDATE_LIBRARIESNobuyoshi Nakada
It has not been used since e48375c112022fa321786ccd95dd4e718efd78a3.
8 daysFix rubyspec-capiext dependencyNobuyoshi Nakada
Not to build the rubyspec-capiext extension libraries again on the next build after the build all extensions get built, ensure these extensions are up to date when recursively building from exts.mk.
8 daysRefer autoconfigured endian macro (#10572)Nobuyoshi Nakada
Remove the case `RB_IO_BUFFER_HOST_ENDIAN` is not defined.
8 daysUpdate turbo_tests to 2.2.3 or higherilyazub
commands/pristine_spec.rb is passed with the turbo_tests 2.2.3 because it the removed json dependency. Related to https://github.com/ruby/ruby/pull/10496 Related to d60b2caa95b01f37d35db9ef8be1d035d14b408d
8 daysDon't mark empty singleton cc'seileencodes
These cc's aren't managed by the garbage collector so we shouldn't try to mark and move them.
8 daysRemove markable guard before pushing on ccs listAaron Patterson
CCS list doesn't mark CI objects, so it doesn't matter whether or not they are markable before pushing.
8 daysInclude coderange.h in encoding.hPeter Zhu
ruby_coderange_type is defined in ruby/internal/encoding/coderange.h so we need to include it.
8 daysUpdate default gems list at a51139230bfbd509b300fafc48e9a1 [ci skip]git
8 days[ruby/prism] Bump to v0.26.0Kevin Newton
https://github.com/ruby/prism/commit/eadb09ef36
8 days[ruby/prism] "Fix" transpose issue in parser compilerKevin Newton
https://github.com/ruby/prism/commit/593d637178
8 daysImplement equality for CI comparison when CC searchingAaron Patterson
When we're searching for CCs, compare the argc and flags for CI rather than comparing pointers. This means we don't need to store a reference to the CI, and it also naturally "de-duplicates" CC objects. We can observe the effect with the following code: ```ruby require "objspace" hash = {} p ObjectSpace.memsize_of(Hash) eval ("a".."zzz").map { |key| "hash.merge(:#{key} => 1)" }.join("; ") p ObjectSpace.memsize_of(Hash) ``` On master: ``` $ ruby -v test.rb ruby 3.4.0dev (2024-04-15T16:21:41Z master d019b3baec) [arm64-darwin23] test.rb:3: warning: assigned but unused variable - hash 3424 527736 ``` On this branch: ``` $ make runruby compiling vm.c linking miniruby builtin_binary.inc updated compiling builtin.c linking static-library libruby.3.4-static.a ln -sf ../../rbconfig.rb .ext/arm64-darwin23/rbconfig.rb linking ruby ld: warning: ignoring duplicate libraries: '-ldl', '-lobjc', '-lpthread' RUBY_ON_BUG='gdb -x ./.gdbinit -p' ./miniruby -I./lib -I. -I.ext/common ./tool/runruby.rb --extout=.ext -- --disable-gems ./test.rb 2240 2368 ``` Co-authored-by: John Hawthorn <jhawthorn@github.com>
8 dayschore: remove repetitive words (#10573)careworry
Signed-off-by: careworry <worrycare@outlook.com>
8 days[ruby/irb] Fix % escape in prompt formattomoya ishida
(https://github.com/ruby/irb/pull/927) https://github.com/ruby/irb/commit/08eee25d28
8 daysRemove unused rb_size_pool_slot_sizePeter Zhu
8 daysYJIT: Fix canary crash with Array#<< (#10568)Alan Wu
Previously, we got "We are killing the stack canary set by opt_ltlt" from `$./miniruby --yjit-call-threshold=1 -e 'a = [].freeze; a << 1'` Found by running ruby-spec with yjit-call-threshold=1.
9 days[ruby/irb] Accept " " for colorizing "\t" testtomoya ishida
(https://github.com/ruby/irb/pull/924) https://github.com/ruby/irb/commit/c8182fa490
9 days[ruby/irb] Prompt specifiers documentation improvementsLorenzo Zabot
(https://github.com/ruby/irb/pull/926) https://github.com/ruby/irb/commit/e8ea8f253d
9 daysAdd a hint of `ASCII-8BIT` being `BINARY`Jean Boussier
[Feature #18576] Since outright renaming `ASCII-8BIT` is deemed to backward incompatible, the next best thing would be to only change its `#inspect`, particularly in exception messages.
9 daysBump github/codeql-action from 3.25.0 to 3.25.1dependabot[bot]
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.0 to 3.25.1. - [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/df5a14dc28094dc936e103b37d749c6628682b60...c7f9125735019aa87cfc361530512d50ea439c71) --- 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>
9 daysExplicily lock turbo_tests to 2.2.0 in GemfileNobuyoshi Nakada
Ruby-core CI is having issues with turbo_tests 2.2.1. This version adds json as a dependency and the `bundle install` command ruby-core uses is not able to compile it for some reason. I was not able to reproduce the issue locally, so this needs more investigation. We're already locked to 2.2.0, but ruby-core does not use a `Gemfile.lock` so we need to lock explicitly in the Gemfile for now.
9 days[rubygems/rubygems] Never write credentials to lockfilesDavid Rodriguez
https://github.com/rubygems/rubygems/commit/e8a363713e
9 days[ruby/reline] Remove unused variableKenichi Kamiya
(https://github.com/ruby/reline/pull/684) https://github.com/ruby/reline/commit/ce30c23730
9 days[ruby/optparse] Fix typo [ci skip]Nobuyoshi Nakada
https://github.com/ruby/optparse/commit/0aec9adfc5
9 days[ruby/optparse] [DOC] Package files for RDocNobuyoshi Nakada
https://github.com/ruby/optparse/commit/b49cb996af
9 days[ruby/ipaddr] Add IPAddr.cidr to return ip address in cidr notationBen Fritsch
https://github.com/ruby/ipaddr/commit/f5b006741f
9 daysTry increasing timeout-minutes for YJIT UbuntuTakashi Kokubun
9 daysgitignore lib/prism/reflection.rbHiroshi SHIBATA
9 daysUpdate refs [ci skip]Kazuhiro NISHIYAMA
9 daysSupport Misc tracker [ci skip]Kazuhiro NISHIYAMA
9 daysDon't verify during gc_enter when gc is disabled.Matt Valentine-House
RGENGC_CHECK_MODE >=3 fails with an incinsistency in the old object count during ec_finalization. This is due to inconsistency introduced to the object graph using T_DATA finalizers. This is explained in commit 79df14c04b452411b9d17e26a398e491bca1a811, which disabled gc during finalization to work around this. ``` /* prohibit GC because force T_DATA finalizers can break an object graph consistency */ dont_gc_on() ``` This object graph inconsistency also seems to break RGENGC_CHECK_MODE >= 3, when it attempt to verify the object age relationships during finalization at VM shutdown (gc_enter is called during finalization). This commit stops the internal consistency check during gc_enter only when RGENGC_CHECK_MODE >= 3 and when gc is disabled. This fixes `make btest` with `-DRGENGC_CHECK_MODE=3`
9 daysYJIT: A64: Use CBZ/CBNZ to check for zeroAlan Wu
* YJIT: A64: Add CBZ and CBNZ encoding functions * YJIT: A64: Use CBZ/CBNZ to check for zero Instead of emitting `cmp x0, #0` plus `b.z #target`, A64 offers Compare and Branch on Zero for us to just do `cbz x0, #target`. This commit utilizes that and the related CBNZ instruction when appropriate. We check for zero most commonly in interrupt checks: ```diff # Insn: 0003 leave (stack_size: 1) # RUBY_VM_CHECK_INTS(ec) ldur w11, [x20, #0x20] -tst w11, w11 -b.ne #0x109002164 +cbnz w11, #0x1049021d0 ``` * fix copy paste error Co-authored-by: Randy Stauner <randy@r4s6.net> --------- Co-authored-by: Randy Stauner <randy@r4s6.net>
9 daysadd #2709’s new RBIs to `.gemspec`ParadoxV5
9 daysReduce the number of references to need_major_gcMatt Valentine-House
9 daysYJIT: Optimize local variables when EP == BP (#10487)Takashi Kokubun
9 days[ruby/irb] Remove internal-only methods from Command::Basetomoya ishida
(https://github.com/ruby/irb/pull/922) * Remove internal-only methods from Command::Base Command#ruby_args and Command#unwrap_string_literal are used for default command's argument backward compatibility. Moved these methods to another module to avoid being used from custom commands. * Update lib/irb/command/edit.rb --------- https://github.com/ruby/irb/commit/7405a841e8 Co-authored-by: Stan Lo <stan001212@gmail.com>
9 days[rubygems/rubygems] Excluding local platform from lockfile should not affect ↵Mike Dalessio
musl vs gnu case This case is for not locking things like `arm-darwin-23` when the lockfile already includes `arm-darwin`, so that we don't infinitely keep redundant versioned platforms in the lockfile when not necessary. We detect this with `Gem::Platform#===`. For example, `Gem::Platform.new("arm-darwin-23") === Gem::Platform.new("arm-darwin")` but they're not `==`. However, in the case of `-musl` vs `-gnu`, those act as the platform "version", but `===` is not commutative for them. This is explained in `===` docs. We only want to exclude the local platform in situations when `Gem::Platform#===` is actually commutative. https://github.com/rubygems/rubygems/commit/8099c4face
9 daysRemove unused ruby_sighandler_tPeter Zhu
9 days[PRISM] Generate the reflection fileKevin Newton
9 days[ruby/prism] Add a reflection API for determining the fields of a nodeKevin Newton
https://github.com/ruby/prism/commit/f3f9950a74