summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-06-21Skip protected ancestry guard for FCALLs in YJITJohn Hawthorn
Notes: Merged: https://github.com/ruby/ruby/pull/5643
2022-06-21Allow method caching of protected FCALLsJohn Hawthorn
Notes: Merged: https://github.com/ruby/ruby/pull/5643
2022-06-21Don't check protected method ancestry on fcallJohn Hawthorn
If we are making an FCALL, we know we are calling a method on self. This is the same check made for private method visibility, so it should also guarantee we can call a protected method. Notes: Merged: https://github.com/ruby/ruby/pull/5643
2022-06-21Add T_STRUCT to lldb inspect helperJemma Issroff
Notes: Merged: https://github.com/ruby/ruby/pull/6052
2022-06-22vcs.rb: ignore configuration files get rid of aliases [ci skip]Nobuyoshi Nakada
2022-06-22vcs.rb: just one log to check if `--date` option works [ci skip]Nobuyoshi Nakada
2022-06-22vcs.rb: show diagnostic/progressing messages when debugging [ci skip]Nobuyoshi Nakada
2022-06-22[ruby/fileutils] Clarify difference between cp_r and install ↵Burdette Lamar
(https://github.com/ruby/fileutils/pull/95) https://github.com/ruby/fileutils/commit/94a599e69f
2022-06-22* 2022-06-22 [ci skip]git
2022-06-21Clarify documentation of Kernel#require_relativeBenoit Daloze
2022-06-21[ruby/fileutils] Correct method references for secure removal ↵Burdette Lamar
(https://github.com/ruby/fileutils/pull/93) https://github.com/ruby/fileutils/commit/42c9685826
2022-06-21[ruby/fileutils] [DOC] Adding 'Related' ↵Burdette Lamar
(https://github.com/ruby/fileutils/pull/92) https://github.com/ruby/fileutils/commit/fc3cc28397
2022-06-21Added readline wrapper entries under the doc directoryHiroshi SHIBATA
2022-06-21Added error_highlight entries under the doc directoryHiroshi SHIBATA
2022-06-21Added reline entry to standard_library docHiroshi SHIBATA
2022-06-21Update bundled gems list at 2022-06-21git
2022-06-21[CI] add gcc-12卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/6050
2022-06-21[ruby/io-wait] Remove redundant forward declarationsNobuyoshi Nakada
These were needed before prototype declarations were used. https://github.com/ruby/io-wait/commit/35f016833a
2022-06-21regparse.c: Suppress false-positive warnings of GCC 12.1Yusuke Endoh
http://rubyci.s3.amazonaws.com/arch/ruby-master/log/20220613T030003Z.log.html.gz ``` regparse.c:264:15: warning: array subscript 56 is outside array bounds of ‘Node[1]’ {aka ‘struct _Node[1]’} [-Warray-bounds] ``` and ``` /usr/include/bits/string_fortified.h:29:10: warning: ‘__builtin_memcpy’ pointer overflow between offset 32 and size [9223372036854775792, 9223372036854775807] [-Warray-bounds] ``` Notes: Merged: https://github.com/ruby/ruby/pull/6013
2022-06-21On FreeBSD omit the test to close a pipe while reading [ci skip]Nobuyoshi Nakada
2022-06-20Document that Regexp#source does not retain lexer escapesJeremy Evans
Related to [Feature #18838] Notes: Merged: https://github.com/ruby/ruby/pull/6047
2022-06-21* 2022-06-21 [ci skip]git
2022-06-21.github/workflows/compilers.yml: annocheck: Fix gaps and notes test.Jun Aruga
This commit fixes on the annocheck gaps and notes tests on Ubuntu focal on CI. Added the gcc `-Wa,--generate-missing-build-notes=yes` flag. See the links below. * -Wa,option: <https://gcc.gnu.org/onlinedocs/gcc-11.3.0/gcc/Assembler-Options.html#Assembler-Options>. * --generate-missing-build-notes=yes: <https://www.man7.org/linux/man-pages/man1/as.1.html>. Notes: Merged: https://github.com/ruby/ruby/pull/6045
2022-06-20Include JIT information in crash reportsChris Seaton
Since enabling YJIT or MJIT drastically changes what could go wrong at runtime, it's good to be front and center about whether they are enabled when dumping a crash report. Previously, `RUBY_DESCRIPTION` and the description printed when crashing can be different when a JIT is on. Introduce a new internal data global, `rb_dynamic_description`, and set it to be the same as `RUBY_DESCRIPTION` during initialization; use it when crashing. * version.c: Init_ruby_description(): Initialize and use `rb_dynamic_description`. * error.c: Change crash reports to use `rb_dynamic_description`. * ruby.c: Call `Init_ruby_description()` earlier. Slightly more work for when we exit right after printing the description but that was deemed acceptable. * include/ruby/version.h: Talk about how JIT info is not in `ruby_description`. * test/-ext-/bug_reporter/test_bug_reporter.rb: Remove handling for crash description being different from `RUBY_DESCRIPTION`. * test/ruby/test_rubyoptions.rb: ditto Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Co-authored-by: Alan Wu <alanwu@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/5872
2022-06-20[ruby/irb] [DOC] Fix formatting in docsPeter Zhu
https://github.com/ruby/irb/commit/3ddc89e38c
2022-06-20[ruby/irb] Commands should respect `USE_COLORIZE` config ↵Stan Lo
(https://github.com/ruby/irb/pull/362) https://github.com/ruby/irb/commit/534688dfc4
2022-06-20test_instrumentation_api.rb: Allow one less exitJean Boussier
I suspect that sometimes on CI the last thread is prempted before eaching the exit hook causing the test to flake. I can't find a good way to force it to run.
2022-06-20[Feature #18788] [DOC] String options to `Regexp.new`Nobuyoshi Nakada
Co-Authored-By: Janosch Müller <janosch.mueller@betterplace.org> Notes: Merged: https://github.com/ruby/ruby/pull/6039
2022-06-20[Feature #18788] Spec for options as `String` to `Regexp.new`Nobuyoshi Nakada
Co-Authored-By: Janosch Müller <janosch.mueller@betterplace.org> Notes: Merged: https://github.com/ruby/ruby/pull/6039
2022-06-20[Feature #18788] Support options as `String` to `Regexp.new`Nobuyoshi Nakada
`Regexp.new` now supports passing the regexp flags not only as an `Integer`, but also as a `String. Unknown flags raise errors. Notes: Merged: https://github.com/ruby/ruby/pull/6039
2022-06-20Spec update for warnning suspicious flag to `Regexp.new`Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6039
2022-06-20Warn suspicious flag to `Regexp.new`Nobuyoshi Nakada
Now second argument should be `true`, `false`, `nil` or Integer. This flag is confused with third argument some times. Notes: Merged: https://github.com/ruby/ruby/pull/6039
2022-06-20Allow to just warn as bool expected, without an exceptionNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6039
2022-06-20Prevent a warning "possibly useless use of a literal in void context"Yusuke Endoh
2022-06-20.github/workflows/compilers.yml: Skip gaps test on annocheck 10.76.Jun Aruga
This commit is to skip a failure with annocheck 10.76 on the annocheck test case on the CI. Previously The test worked with annocheck 10.73. The issue was reported at <https://bugs.ruby-lang.org/issues/18061#note-24>. > Hardened: ruby: MAYB: test: gaps because no notes found > Hardened: ruby: info: For more information visit: https://sourceware.org/annobin/annobin.html/Test-gaps.html It seems that the annocheck added the gaps test at 10.76. Maybe the upstream commit is below. The annocheck is a part of the annobin project: https://sourceware.org/annobin/ ``` $ git clone git://sourceware.org/git/annobin.git $ git show 61184ae1180a134bfbbd125e9fe339baedd67c18 commit 61184ae1180a134bfbbd125e9fe339baedd67c18 Author: Nick Clifton <nickc@redhat.com> Date: Mon Jun 13 16:56:46 2022 +0100 Annocheck: Add TEST_GAPS. Add MAYB for TEST_NOTES if DWARF info could not be found ... ``` Notes: Merged: https://github.com/ruby/ruby/pull/6043
2022-06-20[DOC] Refine Regexp.new argument descriptionsNobuyoshi Nakada
2022-06-20[DOC] Regexp timeout is float or nilNobuyoshi Nakada
2022-06-20Prevent a warning "Expected ... to define AutoloadTest but it didn't"Yusuke Endoh
related: [Bugs #18813] and eca31d24d606a73def3674938112dc3c5b79c445
2022-06-20[rubygems/rubygems] Fix extension paths in generated standalone scriptcitrusmoose
The paths for extensions of gems would contain the hardcoded ruby version on which the extension was built. This will replace it with runtime ruby version like the parent version directory. It will make the standalone script compatible between different ruby version installations. https://github.com/rubygems/rubygems/commit/a9dae93d5d
2022-06-20[Feature #18839] Drop support for gcc 3 [ci skip]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/6037
2022-06-20Update bundled gems list at 150bd6e2427a8a6178aa5f8ebc39ce [ci skip]git
2022-06-20Bundle RBS 2.5.1 (#6041)Soutaro Matsumoto
* Bundle RBS 2.5.1 Notes: Merged-By: soutaro <matsumoto@soutaro.com>
2022-06-20[DOC] Fixed omissions in Regexp.new argumentsNobuyoshi Nakada
2022-06-20* 2022-06-20 [ci skip]git
2022-06-20[rubygems/rubygems] Improve performance of Bundler::SpecSet#for by using ↵Josh Nichols
hash lookup of handled deps I was looking at (yet another) flamegraph in speedscope, and used the 'left hand heavy' and was shocked to realize that 0.5s of the 1.7s is spent in DepProxy#name. This method _only_ delegates the name to an underlying spec, so it's not complex at all. It seems to be of how often this line ends up calling it: next if handled.any?{|d| d.name == dep.name && (match_current_platform || d.__platform == dep.__platform) } || dep.name == "bundler" The `handled` array is built up as dependencies are handled, so this get slower as more dependencies are installed. This change changes how `handled` is track. Instead of just an array, I've tried using a Hash, with the key being a dep's name, and the value being a list of deps with that name. This means it's constant time to find the dependencies with the same name. I saw a drop from 1.7s to 1.0s against master, and from 0.95s to 0.24s when used with https://github.com/rubygems/rubygems/pull/5533 https://github.com/rubygems/rubygems/commit/844dac30d4
2022-06-19Scale the time to wait native threads to run hookNobuyoshi Nakada
2022-06-19Remove unnecessary `*` before the function nameNobuyoshi Nakada
2022-06-19[ruby/etc] [DOC] Markup constant path namesNobuyoshi Nakada
https://github.com/ruby/etc/commit/6c9a0b4e5d
2022-06-19Skip CIs if the head commit message contains '[DOC]'Nobuyoshi Nakada
2022-06-19* 2022-06-19 [ci skip]git