summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-29[ruby/set] Allow Set#intersect? and #disjoint? to accept array argumentJeremy Evans
Implements [Feature #17838] https://github.com/ruby/set/commit/d9b389bafa
2021-07-29test/socket/test_socket.rb: skip on SolarisYusuke Endoh
The test fails on Solaris 10. Maybe due to the IPv6 configuration on the server, but I have no idea at all. I've asked @ngoto to investigate the issue, so will tentatively skip the tests on Solaris http://rubyci.s3.amazonaws.com/solaris10-gcc/ruby-master/log/20210729T040002Z.fail.html.gz
2021-07-29Add RBOOL macro and use itS.H
Notes: Merged: https://github.com/ruby/ruby/pull/4677 Merged-By: nobu <nobu@ruby-lang.org>
2021-07-29Bundle RBS 1.3.3 (#4688)Soutaro Matsumoto
Notes: Merged-By: soutaro <matsumoto@soutaro.com>
2021-07-28Don't export rb_gc_ractor_newobj_cache_clearPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/4690
2021-07-29should not share same `def` for specialized methodKoichi Sasada
Because the key of redefine table is `def`, `def` should be unique for each optimized method (`alias` is not allowed). Notes: Merged: https://github.com/ruby/ruby/pull/4493
2021-07-29use me->def instead of me for opt_tableKoichi Sasada
`vm_opt_method_table` is me=>bop table to manage the optimized methods (by specialized instruction). However, `me` can be invalidated to invalidate the method cache entry. [Bug #17725] To solve the issue, use `me-def` instead of `me` which simply copied at invalidation timing. A test by @jeremyevans https://github.com/ruby/ruby/pull/4376 Notes: Merged: https://github.com/ruby/ruby/pull/4493
2021-07-29* 2021-07-29 [ci skip]git
2021-07-28Handle Timeout::Error instead of NoMemoryError in testJeremy Evans
Solaris 11 CI times out instead of raising NoMemoryError for large allocations, so it cannot test ensure after NoMemoryError.
2021-07-28Update bundled_gemsKazuhiro NISHIYAMA
2021-07-28Support document sync for optparseHiroshi SHIBATA
2021-07-28Manually picking https://github.com/ruby/optparse/pull/14Hiroshi SHIBATA
2021-07-28[ruby/optparse] Remove an errant { character ↵Olle Jonsson
(https://github.com/ruby/optparse/pull/26) https://github.com/ruby/optparse/commit/47417f1b4c
2021-07-28[ruby/optparse] Fix link in included fileBurdette Lamar
https://github.com/ruby/optparse/commit/bf03038d95
2021-07-28[ruby/optparse] More on tutorial (https://github.com/ruby/optparse/pull/24)Burdette Lamar
- Adds section "Parsing" to tutorial.rdoc. - Removes section "Terminators" from option_params.rdoc. (Terminator '--' is not an option parameter.) https://github.com/ruby/optparse/commit/40d51ccbad
2021-07-28[ruby/optparse] More on tutorial (https://github.com/ruby/optparse/pull/23)Burdette Lamar
- Removed a largish block of repeated text. - Added sections "Top List and Base List" and "Methods for Defining Options" (on, define, etc.). - Linked from class OptionParser doc to the tutorial. https://github.com/ruby/optparse/commit/7f3195b9db
2021-07-28[ruby/optparse] Removed a duplicate sectionNobuyoshi Nakada
https://github.com/ruby/optparse/commit/7ef3d89e78
2021-07-28[ruby/optparse] More on tutorial (https://github.com/ruby/optparse/pull/22)Burdette Lamar
Adds argument abbreviation in option_params.rdoc. Adds entire Argument Values section to tutorial.rdoc. https://github.com/ruby/optparse/commit/9c5b3f244b
2021-07-28[ruby/optparse] Rdoc for help (https://github.com/ruby/optparse/pull/21)Burdette Lamar
https://github.com/ruby/optparse/commit/d07cb96a96
2021-07-28[ruby/optparse] Tutorial: explain custom argument converters ↵Burdette Lamar
(https://github.com/ruby/optparse/pull/19) https://github.com/ruby/optparse/commit/385dd4322d
2021-07-28[ruby/optparse] nodoc private methodsNobuyoshi Nakada
https://github.com/ruby/optparse/commit/f23d750d14
2021-07-28[ruby/optparse] Fixed mismatched <tt> tagNobuyoshi Nakada
https://github.com/ruby/optparse/commit/7e65ef3cfa
2021-07-28[ruby/optparse] Enhanced doc for option parameters ↵Burdette Lamar
(https://github.com/ruby/optparse/pull/11) https://github.com/ruby/optparse/commit/5618eeb49e
2021-07-28[ruby/optparse] More on tutorial (https://github.com/ruby/optparse/pull/9)Burdette Lamar
* More on tutorial * More on tutorial * More on tutorial * More on tutorial: clearer example output https://github.com/ruby/optparse/commit/84dfd92d2a
2021-07-28[ruby/optparse] Beginnings of tutorialBurdetteLamar
https://github.com/ruby/optparse/commit/f209276f79
2021-07-28Update to latest uriBenoit Daloze
* https://github.com/ruby/uri/commit/bc47bf71df2b2e9cea09d0b2684ceac7355e42a0 * To include the fix from https://github.com/ruby/uri/pull/27
2021-07-28Fix a comment [ci skip]Nobuyoshi Nakada
2021-07-28Remove duplicate declarationsNobuyoshi Nakada
Also defined in include/ruby/internal/core/rarray.h which always will be included.
2021-07-28[ruby/zlib] Synchronize access to zstream to prevent segfault in ↵Jeremy Evans
multithreaded use I'm not sure whether this handles all multithreaded use cases, but this handles the example that crashes almost immediately and does 10,000,000 total deflates using 100 separate threads. To prevent the tests from taking forever, the committed test for this uses only 10,000 deflates across 10 separate threads, which still causes a segfault in the previous implementation almost immediately. Fixes [Bug #17803] https://github.com/ruby/zlib/commit/4b1023b3f2
2021-07-28[ruby/readline] Improve the gem's descriptionMarcus Stollsteimer
Improve the language in the gem's summary and description; also remove U+00A0 (no-break space) characters from post-install box. https://github.com/ruby/readline/commit/5037cf7ffc
2021-07-28[ruby/resolv-replace] gemspec: Drop executables directiveOlle Jonsson
This gem exposes no executables. https://github.com/ruby/resolv-replace/commit/fa405185f7
2021-07-28[ruby/resolv] Bump version to 0.2.1Hiroshi SHIBATA
https://github.com/ruby/resolv/commit/095f1c003f
2021-07-28[ruby/getoptlong] RDoc: escape to avoid links to the word SetOlle Jonsson
We would like to avoid linking to the Set class for these words. https://github.com/ruby/getoptlong/commit/33b56d6141
2021-07-28[ruby/getoptlong] gemspec: Drop executables directivesOlle Jonsson
This gem exposes 0 executables. https://github.com/ruby/getoptlong/commit/4522163cbd
2021-07-28Avoid pointless attempts to open .so file if already requiredJeremy Evans
When attempting to require a file without an extension that has already been required or provided with an .so extension, only look for files with an .rb extension. There is no point in trying to find files with an .so extension, since we already know one has been loaded. Previously, attempting to require such a file scanned the load path twice, once for .rb and once for .so. Now it only scans once for .rb. The scan once for .rb cannot be avoided, since the .rb file would take precedence and should be loaded if it exists. Fixes [Bug #10902] Notes: Merged: https://github.com/ruby/ruby/pull/4687
2021-07-28[ruby/digest] Also drop to support Ruby 2.4Hiroshi SHIBATA
https://github.com/ruby/digest/commit/360a7de366
2021-07-28[ruby/digest] Use Gemfile instead of ↵Hiroshi SHIBATA
Gem::Specification#add_development_dependency https://github.com/ruby/digest/commit/460a6f807e
2021-07-28[ruby/digest] Drop to support Ruby 2.3Hiroshi SHIBATA
https://github.com/ruby/digest/commit/23dc9c7425
2021-07-28[ruby/digest] Use pend instead of skipHiroshi SHIBATA
https://github.com/ruby/digest/commit/82fb618157
2021-07-28[ruby/digest] gemspec: Avoid distributing extraneous filesOlle Jonsson
https://github.com/ruby/digest/commit/0a451e0c94
2021-07-28[ruby/digest] gemspec: Explicitly have 0 executablesOlle Jonsson
https://github.com/ruby/digest/commit/086d54ba94
2021-07-28[ruby/digest] Experiment: Use a .pre version in gemspecOlle Jonsson
This makes it slightly more explicit that this is not a definite new version. https://github.com/ruby/digest/commit/2bb5bb78a3
2021-07-28[ruby/digest] Experiment: bump patch versionOlle Jonsson
This is a test, to see if the build failures are about the shipped Ruby master version of this gem. https://github.com/ruby/digest/commit/d2606b2cce
2021-07-28Suppress "possibly useless use of * in void context" warningNobuyoshi Nakada
2021-07-28Revert "Fix potential hang when joining threads."Yusuke Endoh
This reverts commit 13f8521c630a15c87398dee0763e95f59c032a94. http://rubyci.s3.amazonaws.com/solaris11-gcc/ruby-master/log/20210727T230009Z.fail.html.gz http://rubyci.s3.amazonaws.com/solaris11-sunc/ruby-master/log/20210728T000009Z.fail.html.gz This revert is to confirm whether the commit is the cause. If the failures consistently occur after this revert, I'll reintroduce the commit.
2021-07-27Update Capturing and Anchors sections of regexp documentionJeremy Evans
Document that only first 9 numbered capture groups can use the \n backreference syntax. Document \0 backreference. Document \K anchor. Fixes [Bug #14500]
2021-07-27Make Float#floor with ndigits argument handle errorJeremy Evans
The previous implementation could result in a returned float that is 1/(10**ndigits) too low. First try adding one before dividing, and if that results in a value that is greater than the initial number, then try the original calculation. Spec added for ciel, but the issue doesn't appear to affect ciel, at least not for the same number. If the issue does effect ciel, a similar fix could probably work for it. Fixes [Bug #18018] Notes: Merged: https://github.com/ruby/ruby/pull/4681
2021-07-28* 2021-07-28 [ci skip]git
2021-07-27Fix infinite loop in ensure after NoMemoryErrorJeremy Evans
VM patch from wanabe. Test based on example from buzztaiki (Taiki Sugawara). Test fails when compiles with -DRUBY_DEBUG, as that can can use rb_bug instead of NoMemoryError, which doesn't allow testing this case. Test also fails on MingW, as RangeError is used instead of NoMemoryError. Skip the test in either case. Fixes [Bug #15779] Notes: Merged: https://github.com/ruby/ruby/pull/4577
2021-07-27[ruby/find] Add Errno::EINVAL to list of ignored errorsJeremy Evans
This error can occur on Windows for certain filenames on certain code pages. Fixes [Bug #14591] https://github.com/ruby/find/commit/0a474d1027