summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-08-10* 2022-08-10 [ci skip]git
2022-08-09Do not enable RUBY_DEVEL by RUBY_PATCHLEVELJeremy Evans
This makes RUBY_DEVEL not enabled automatically. It still can be enabled manually. Test manually using RUBY_DEVEL in CI. Implements [Feature #17468] Notes: Merged: https://github.com/ruby/ruby/pull/4993
2022-08-09Skip poisoned regionsNobuyoshi Nakada
Poisoned regions cannot be accessed without unpoisoning outside gc.c. Specifically, debug.gem is terminated by AddressSanitizer. ``` SUMMARY: AddressSanitizer: use-after-poison iseq_collector.c:39 in iseq_i ```
2022-08-09Merge rubygems/bundler HEAD.Hiroshi SHIBATA
Pick from https://github.com/rubygems/rubygems/commit/dfbb5a38114640e0d8d616861607f3de73ee0199 Notes: Merged: https://github.com/ruby/ruby/pull/6224
2022-08-08Remove documentation about devTakashi Kokubun
dev is Shopify's internal tool that doesn't work if you use Intel Homebrew on M1 (or rbenv, btw). Now that we maintain this outside Shopify's repository, we should stop talking about it here.
2022-08-09[rubygems/rubygems] Bump rb-sys in ↵dependabot[bot]
/test/rubygems/test_gem_ext_cargo_builder/custom_name Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.28 to 0.9.29. - [Release notes](https://github.com/oxidize-rb/rb-sys/releases) - [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.28...v0.9.29) --- updated-dependencies: - dependency-name: rb-sys dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> https://github.com/rubygems/rubygems/commit/77a945f0e8
2022-08-09Tentatively exclude the test that triggers ruby/psych#572Nobuyoshi Nakada
2022-08-09[rubygems/rubygems] Bump rb-sysdependabot[bot]
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.28 to 0.9.29. - [Release notes](https://github.com/oxidize-rb/rb-sys/releases) - [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.28...v0.9.29) --- updated-dependencies: - dependency-name: rb-sys dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> https://github.com/rubygems/rubygems/commit/d5d96f6bae
2022-08-09[ruby/psych] Raise specific error when an anchor isn't definedAlexander Momchilov
https://github.com/ruby/psych/commit/98fbd5247a
2022-08-09[ruby/psych] Update to squiggly heredocs in the fileAlexander Momchilov
https://github.com/ruby/psych/commit/42b43de997
2022-08-09[ruby/psych] Add test for missing anchorAlexander Momchilov
https://github.com/ruby/psych/commit/5f08137ae6
2022-08-09[ruby/psych] Add test for anchor reuseAlexander Momchilov
The spec calls this a "reuse" of an anchor https://yaml.org/spec/1.2.2/#71-alias-nodes https://github.com/ruby/psych/commit/57e3b70a56
2022-08-09[ruby/psych] Raise specific error when aliases are not enabledAlexander Momchilov
https://github.com/ruby/psych/commit/0c11ddcf46
2022-08-09[ruby/psych] Don't hardcode expected alias namesAlexander Momchilov
https://github.com/ruby/psych/commit/b9ab19094f
2022-08-09[ruby/psych] Test that recursive refs dump as aliasesAlexander Momchilov
https://github.com/ruby/psych/commit/d9f7289190
2022-08-09[ruby/psych] Clarify tests about parsing aliasesAlexander Momchilov
https://github.com/ruby/psych/commit/0bc30cb4cb
2022-08-09* 2022-08-09 [ci skip]git
2022-08-08Update default gems list at 5c9ce5475736756891238a3e3fe581 [ci skip]git
2022-08-08[ruby/date] bump up to 3.2.3Nobuyoshi Nakada
https://github.com/ruby/date/commit/dff37b3dd1
2022-08-08[ruby/date] Fix Time#to_datetime before calendar reformNobuyoshi Nakada
Time is always in the proleptic Gregorian calendar. Also DateTime#to_time should convert to the Gregorian calendar first, before extracting its components. https://bugs.ruby-lang.org/issues/18946#change-98527 https://github.com/ruby/date/commit/b2aee75248
2022-08-08[Bug #18946] New tests for fixed Time/DateTime conversionsNobuyoshi Nakada
2022-08-08[Bug #18946] Use Gregorian dates to testNobuyoshi Nakada
2022-08-08[DOC] Fix formatting issue in EnumerablePeter Zhu
2022-08-08Update IO::Buffer#get_value benchmarkJean Boussier
- The method was renamed from `get` to `get_value` - Comparing to `String#unpack` isn't quite equivalent, `unpack1` is closer. - Use frozen_string_literal to avoid allocating a format string every time. - Use `N` format which is equivalent to `:U32` (`uint_32_t` big-endian). - Disable experimental warnings to not mess up the output. Notes: Merged: https://github.com/ruby/ruby/pull/6221
2022-08-08[ruby/date] [DOC] Fix about calendars differenceNobuyoshi Nakada
https://github.com/ruby/date/commit/0ae93e26aa
2022-08-07[DOC] New doc about Julian/Gregorian (#70)Burdette Lamar
2022-08-08* 2022-08-08 [ci skip]git
2022-08-08[ruby/rdoc] Allow multiple footnotes without in-between blank linesNobuyoshi Nakada
https://github.com/ruby/ruby/commit/e4e054e3ce40 used four footnotes without blank lines. And the ChangeLog generated from that commit resulted in ``undefined method `parts' for nil`` error. For now, let a footnote terminated by the next footnote mark. Also refined the error message when undefined footnote is used. https://github.com/ruby/rdoc/commit/a7f290130b
2022-08-07[ruby/rdoc] [DOC] Removes remaining old Markup Reference ↵Burdette Lamar
(https://github.com/ruby/rdoc/pull/910) https://github.com/ruby/rdoc/commit/4e44c9c6cf
2022-08-07Create temporary file exclusively and cleanNobuyoshi Nakada
2022-08-07Silent backtrace from cve_2019_8325_spec.rbNobuyoshi Nakada
Since the change at f310ac1cb2964f635f582862763b2155aacf2c12 to show the backtraces by default, this test started to show the backtraces. As the backtraces are not the subject of this test, silence them by using Gem::SilentUI. Notes: Merged: https://github.com/ruby/ruby/pull/6220 Merged-By: nobu <nobu@ruby-lang.org>
2022-08-07Fix files for gemspec files direct-under libNobuyoshi Nakada
Collected `files` lacked `lib` prefix. Notes: Merged: https://github.com/ruby/ruby/pull/6219 Merged-By: nobu <nobu@ruby-lang.org>
2022-08-07Duplicate libruby self pathNobuyoshi Nakada
When LOAD_RELATIVE, as `sopath` is truncated to the prefix path, make the duplicate before it. Also make `rb_libruby_selfpath` frozen and hidden.
2022-08-07[DOC] Add return values of rb_enc_mbcputNobuyoshi Nakada
2022-08-07* 2022-08-07 [ci skip]git
2022-08-07Stop using casted `rb_syswait` as `proc_syswait`Nobuyoshi Nakada
The argument of `rb_syswait` is now `rb_pid_t` which may differ from `int`. Also it is an undefined behavior to take the result of casted void function (in `rb_protect`).
2022-08-06Fix the sizes comparisonNobuyoshi Nakada
`proc_syswait` will be called with a `VALUE` argument.
2022-08-06[rubygems/rubygems] Fix yanked gems being unintentionally update when other ↵David Rodríguez
gems are unlocked This is a regression from a change intended to raise errors when user puts a gem under an incorrect source in the Gemfile by mistake. To fix the issue, we revert the change that caused it and implement it in a different way that restores the resolver independency from real specifications. Now it deals only with names and versions and does not try to materialize anything into real specifications before resolving. https://github.com/rubygems/rubygems/commit/d2bf1b86eb
2022-08-06[rubygems/rubygems] Move comment where the actual replacement happensDavid Rodríguez
https://github.com/rubygems/rubygems/commit/d60acdf80d
2022-08-06[rubygems/rubygems] Remove unclear commentDavid Rodríguez
https://github.com/rubygems/rubygems/commit/3a843c1ac7
2022-08-06[rubygems/rubygems] Extract `SourceList#get_with_fallback`David Rodríguez
https://github.com/rubygems/rubygems/commit/9dbc4757a8
2022-08-06Allow `RUBY_DEBUG_LOG` format to be emptyNobuyoshi Nakada
GCC warns of empty format strings, perhaps because they have no effects in printf() and there are better ways than sprintf(). However, ruby_debug_log() adds informations other than the format, this warning is not the case.
2022-08-06Adjust styles [ci skip]Nobuyoshi Nakada
2022-08-05Test that File.read defaults to text modeAlan Wu
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/6212
2022-08-05[DOC] Mention Windows text mode EOF marker interpretationAlan Wu
I don't think this is super well known so it's worth mentioning as it can be a pitfall. See: https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/fopen-wfopen?view=msvc-170 Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/6212
2022-08-05[DOC] Clarify that `IO.read` uses text modeAlan Wu
See: https://bugs.ruby-lang.org/issues/18882#note-13 [Bug #18882] Notes: Merged: https://github.com/ruby/ruby/pull/6212
2022-08-06* 2022-08-06 [ci skip]git
2022-08-05Sync new doc in Date (#6215)Burdette Lamar
Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2022-08-05Get rid of `-C` option for very old `git`Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6214
2022-08-05[DOC] Process._fork does not get called by Process.daemonIvo Anjo
As discussed in [Bug #18911], I'm adding some documentation to `Process._fork` to clarify that it is not expected to cover calls to `Process.daemon`. [Bug #18911]: https://bugs.ruby-lang.org/issues/18911 Co-authored-by: Yusuke Endoh <mame@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/6170 Merged-By: nobu <nobu@ruby-lang.org>