summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-02-11Make a cyclic prepend not modify ancestors for the receiverJeremy Evans
Check for cyclic prepend before making any changes. This requires scanning the module ancestor chain twice, but in general modules do not have large numbers of ancestors. Notes: Merged: https://github.com/ruby/ruby/pull/4165
2021-02-12* 2021-02-12 [ci skip]git
2021-02-12[ruby/irb] Fix inverse separator conditionNobuyoshi Nakada
https://github.com/ruby/irb/commit/33f933196f
2021-02-11Fixed time_t conversion modifiers for debugNobuyoshi Nakada
2021-02-11Merged too-short salt conditions instead of UNREACHABLE_RETURNNobuyoshi Nakada
2021-02-11[DOC] Improved regexp.rdoc [ci skip]Nobuyoshi Nakada
* Sub-sectioned "Repetition" section * Added examples of "Possessive match"
2021-02-11Comment in sh needs to be the beginning of a wordNobuyoshi Nakada
2021-02-11[ruby/irb] The command "irb_info" should show RUBY_PLATFORMaycabta
https://github.com/ruby/irb/commit/39d1cd874f
2021-02-11[ruby/irb] Suppress colorize on Windows testsaycabta
https://github.com/ruby/irb/commit/5be9354cf9
2021-02-11[ruby/irb] Suppress error when File::ALT_SEPARATOR is nilaycabta
https://github.com/ruby/irb/commit/96accf3b95
2021-02-11The Queue constructor should take an initial set of objectsChris Seaton
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Notes: Merged: https://github.com/ruby/ruby/pull/4140 Merged-By: nobu <nobu@ruby-lang.org>
2021-02-11Do not run File.write while Ractors are runningTakashi Kokubun
also make sure all local variables have the __bmdv_ prefix.
2021-02-10Add a benchmark-driver runner for Ractor (#4172)Takashi Kokubun
* Add a benchmark-driver runner for Ractor * Process.clock_gettime(Process:CLOCK_MONOTONIC) could be slow in Ruby 3.0 Ractor * Fetching Time could also be slow * Fix a comment * Assert overriding a private method Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2021-02-11Fix 404 linkS-H-GAMELINKS
Notes: Merged: https://github.com/ruby/ruby/pull/4169
2021-02-10Update class documentation for StringScannerJeremy Evans
The [] wasn't being displayed, and try to fix formatting for bol? and << (even if they aren't linked). Fixes [Bug #17620]
2021-02-11* 2021-02-11 [ci skip]git
2021-02-10Don't document that Thread#group can return nilJeremy Evans
Thread's are assigned a group at initialization, and no API exists for them to unassign them from a group without assigning them to another group. Fixes [Bug #17505] Notes: Merged: https://github.com/ruby/ruby/pull/4163
2021-02-10[DOC] Update README files to use autoreconf [ci skip]Nobuyoshi Nakada
2021-02-10Compile debugging code for time alwaysNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4168
2021-02-10Fixed the signature of find_time_numguess_getterNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4168
2021-02-10Fixed race in dtoa [Bug #17612]Nobuyoshi Nakada
Fixed the race condition when replacing `freelist` entry with its chained next element. At acquiring an entry, hold the entry once with the special value, then release by replacing it with the next element again after acquired. If another thread is holding the same entry at that time, spinning until the entry gets released. Co-Authored-By: Koichi Sasada <ko1@atdot.net> Notes: Merged: https://github.com/ruby/ruby/pull/4167
2021-02-10Simple benchmark of Float#to_sNobuyoshi Nakada
2021-02-10.github/workflows/compilers.yml: clang-13卜部昌平
LLVM made release/122.x branch. Its master is now version 12. Notes: Merged: https://github.com/ruby/ruby/pull/4166
2021-02-10[ruby/zlib] Don't use gemspec for gem dependecyHiroshi SHIBATA
https://github.com/ruby/zlib/commit/7d3d19710f
2021-02-10[ruby/zlib] test-unit didn't provide __name__ attributeHiroshi SHIBATA
https://github.com/ruby/zlib/commit/7d3fc1f325
2021-02-09Fix documentation for Module#ruby2_keywordsJeremy Evans
It returns nil, not self. Fixes [Bug #17560]
2021-02-09Fix broken linkUse amazing-print instead
The document should point to doc/syntax/comments.rdoc (with an "s") as there currently no `doc/syntax/comment.rdoc` Notes: Merged: https://github.com/ruby/ruby/pull/4162
2021-02-10* 2021-02-10 [ci skip]git
2021-02-10vm_dump.c: Dump machine registers on RISC-V LinuxYusuke Endoh
Fixes [Bug #17615] Co-Authored-By: xtkoba (Tee KOBAYASHI) <xtkoba+ruby@gmail.com>
2021-02-09Improve the wording surrounding `Proc#isolate`Use amazing-print instead
This change moves the statement that `Proc#isolate` isn't yet exposed for Ruby users to the first time the method is mentioned. This is so that readers don't waste time trying to look it up in Ruby docs. There was also unnecessary duplication: ``` Paragraph 1: "Given block will be isolated from outer scope by Proc#isolate." Paragraph 2: "Given block will be isolated by Proc#isolate method" ``` So I combined the two sentences and slightly improved the wording for clarity. Notes: Merged: https://github.com/ruby/ruby/pull/4161
2021-02-09[ruby/console] Updated dependNobuyoshi Nakada
2021-02-09[ruby/io-console] Fixed typoNobuyoshi Nakada
2021-02-09[ruby/io-console] Fixed regression against 3.0Nobuyoshi Nakada
2021-02-09Define macro for fiber/scheduler.hNobuyoshi Nakada
2021-02-09Updated pre-prototype declarationsNobuyoshi Nakada
2021-02-09strip trailing spaces [ci skip]Nobuyoshi Nakada
2021-02-09Expose scheduler as public interface & bug fixes. (#3945)Samuel Williams
* Rename `rb_scheduler` to `rb_fiber_scheduler`. * Use public interface if available. * Use `rb_check_funcall` where possible. * Don't use `unblock` unless the fiber was non-blocking. Notes: Merged-By: ioquatix <samuel@codeotaku.com>
2021-02-09Fixed default coroutine selection for musl.Andrew Aladjev
Notes: Merged: https://github.com/ruby/ruby/pull/3567 Merged-By: ioquatix <samuel@codeotaku.com>
2021-02-08Improve performance Float#positive? and Float#negative? [Feature #17614] (#4160)S.H
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2021-02-09Copy va_list of exception classesNobuyoshi Nakada
The list is reused when an exception raised again after retrying in the rescue procedure. Notes: Merged: https://github.com/ruby/ruby/pull/4159
2021-02-09Also `eclass` loop can raise in `rb_obj_is_kind_of`Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4159
2021-02-09Adjusted indent [ci skip]Nobuyoshi Nakada
2021-02-09Do not allocate ractor-local storage in dfree function during GCNobuyoshi Nakada
2021-02-09Assign TAG_NONE to ruby_tag_type instead of 0Nobuyoshi Nakada
2021-02-09* 2021-02-09 [ci skip]git
2021-02-08vcs.rb: update the given option to VCS.detect by keyword argumentsNobuyoshi Nakada
2021-02-08vcs.rb: added `base_url` keyword option to GIT#export_changelogNobuyoshi Nakada
2021-02-08vcs.rb: improved export_changelogNobuyoshi Nakada
* arguments are optional * `path` may be passed as a keyword argument * `nil` or `"-"` path means stdout
2021-02-08Revert a part of "[DOC] refined" [ci skip]Nobuyoshi Nakada
This reverts commit 478716f49a19cdd86f629c6a0673c1ff53630c96 partially -- "Removed unnecessary parentheses" part -- because of a lambda, see 9e25eb308d4fae9a10e120c2b4601916cc38336c.
2021-02-07[ruby/benchmark] Adds `Tms#to_h`Keith Bennett
[Feature #17601]