AgeCommit message (Collapse)Author
2021-01-16[ruby/io-console] Delegate to JRuby versionNobuyoshi Nakada
Add `--platform` option tentatively.
2021-01-16[ruby/io-console] bump up to 0.5.7Nobuyoshi Nakada
2021-01-15Don't try to clear cache on garbage objectsAaron Patterson
Method cache can be cleared during lazy sweeping. An object that will be collected during lazy sweep *should not* have it's method cache cleared. Soon-to-be-collected objects can be in an inconsistent state and this can lead to a crash. This patch just leaves early if the object is going to be collected. Fixes [Bug #17536] Co-Authored-By: John Hawthorn <> Co-Authored-By: Alan Wu <> Notes: Merged:
2021-01-15Additions to method_documentation.rdoc (#4065)Burdette Lamar
* Additions to method_documentation.rdoc Notes: Merged-By: BurdetteLamar <>
2021-01-15Add What's Here to Array RDoc (#4062)Burdette Lamar
* Add What's Here to Array RDoc Notes: Merged-By: BurdetteLamar <>
2021-01-16* 2021-01-16 [ci skip]git
2021-01-16[ruby/bigdecimal] Fix for the coerce cases in divide and DoDivmodKenta Murata
2021-01-16[ruby/bigdecimal] Use pre-allocated special values in BigDecimal_DoDivmodKenta Murata
2021-01-16[ruby/bigdecimal] Use new conversion functions in BigDecimal_DoDivmodKenta Murata
2021-01-15[ruby/time] Use Time#strftime to formatNobuyoshi Nakada
2021-01-15Keep encoding in the result of File.expand_path [Bug #17517]Nobuyoshi Nakada
Notes: Merged:
2021-01-14Make Module#prepend affect ancestor chain even if argument already included ↵Jeremy Evans
in receiver Previously, if a class included a module and then prepended the same module, the prepend had no effect. This changes the behavior so that the prepend has an effect unless the module is already prepended the receiver. While here, rename the origin_seen variable in include_modules_at, since it is misleading. The variable tracks whether c has been seen, not whether the origin of klass has been. Fixes [Bug #17423] Notes: Merged:
2021-01-15[ruby/time] No document for private methodsNobuyoshi Nakada
2021-01-15Sort filenames [ci skip]Kazuhiro NISHIYAMA
2021-01-15Add timev.rb to .documentKazuhiro NISHIYAMA
2021-01-15extlibs.rb: make patch command selectable [ci skip]Nobuyoshi Nakada
Some Windows ports fail an assertion on patch files with LF EOL code. MSys2 patch.exe 2.7.6 seems fine, at least.
2021-01-15[ruby/bigdecimal] Use new conversion functions in BigDecimal_divideKenta Murata
2021-01-15[ruby/bigdecimal] Reorder the arguments of BigDecimal_divideKenta Murata
2021-01-15* 2021-01-15 [ci skip]git
2021-01-14Fix WB for callinfoAaron Patterson
The WB for callinfo needs to be executed *after* the reference is written. Otherwise we get a WB miss.
2021-01-14[DOC] Fixed indent [ci skip]Nobuyoshi Nakada
2021-01-14Return new NODE_LITNobuyoshi Nakada
As NODE_ZLIST/NODE_LIST are not markable, cannot be reused as NODE_LIT. Notes: Merged:
2021-01-14Ensure symbol list node is either NODE_STR or NODE_DSTRNobuyoshi Nakada
Notes: Merged:
2021-01-14NODE markability should not change by nd_set_typeNobuyoshi Nakada
Notes: Merged:
2021-01-13Rename RubyVM::MJIT to RubyVM::JITTakashi Kokubun
because the name "MJIT" is an internal code name, it's inconsistent with --jit while they are related to each other, and I want to discourage future JIT implementation-specific (e.g. MJIT-specific) APIs by this rename. [Feature #17490]
2021-01-14[ruby/bigdecimal] Explicitly cast size_t to intKenta Murata
2021-01-14[ruby/bigdecimal] Explicitly cast uint64_t to doubleKenta Murata
2021-01-14[ruby/bigdecimal] Suppress warning at NO_SANITIZE on gccKenta Murata
2021-01-13Guard callinfoAaron Patterson
Callinfo was being written in to an array and the GC would not see the reference on the stack. `new_insn_send` creates a new callinfo object, then it calls `new_insn_core`. `new_insn_core` allocates a new INSN linked list item, which can end up calling `xmalloc` which will trigger a GC: Since the callinfo object isn't on the stack, the GC won't see it, and it can get collected. This patch just refactors `new_insn_send` to keep the object on the stack Co-authored-by: John Hawthorn <> Notes: Merged:
2021-01-14delete negative cache from the table correctlyKoichi Sasada
negative cache entry should be removed from vm->negative_cme_table even if the redefined class has no subclasses. Notes: Merged:
2021-01-13only add the trailing nop if the catch table is not break / next / redoAaron Patterson
We don't need nop padding when the catch tables are only for break / next / redo, so lets avoid them. This eliminates nop padding in many lambdas. Co-authored-by: Alan Wu <> Notes: Merged:
2021-01-13fix ASAN errorsAaron Patterson
Notes: Merged:
2021-01-14* 2021-01-14 [ci skip]git
2021-01-14mkmf.rb: remove at distcleanNobuyoshi Nakada
2021-01-13Moved Fiber methods into core [Feature #17407]Nobuyoshi Nakada
Notes: Merged:
2021-01-13Capture to reserved name variables if already defined [Bug #17533]Nobuyoshi Nakada
Notes: Merged:
2021-01-13Positional and keyword arguments for timezone are exclusiveNobuyoshi Nakada
[Feature #17485] Notes: Merged:
2021-01-13Added `in:` timezone option to `` [Feature #17485]Nobuyoshi Nakada
Notes: Merged:
2021-01-13Make warning values consistent [Bug #17523]Nobuyoshi Nakada
They should be affected, as well as `$VERBOSE`, by `-w`/`-W` options, not only in the main script but in scripts loaded by `-r` option too. Notes: Merged:
2021-01-13Revert "[Bug #11213] let defined?(super) call respond_to_missing?"Nobuyoshi Nakada
This reverts commit fac2498e0299f13dffe4f09a7dd7657fb49bf643 for now, due to [Bug #17509], the breakage in the case `super` is called in `respond_to?`. Notes: Merged:
2021-01-13Allow UTC offset without colons per ISO-8601 [Bug #17504]Nobuyoshi Nakada
Notes: Merged:
2021-01-13[ruby/ostruct] Bump versionMarc-Andre Lafortune
Notes: Merged:
2021-01-12Typo fixes [doc]Marc-Andre Lafortune
2021-01-12Fix method protection for modules in the ancestry chain.Marc-Andre Lafortune
[Fixes ruby/ostruct#23]
2021-01-12Update wording in (#4056) [doc]Adam Pogwizd
Notes: Merged-By: marcandre <>
2021-01-13Removed excess stringizations on regstr [Bug #17532]Nobuyoshi Nakada
2021-01-13Check stack overflow in recursive glob_helper [Bug #17162]Nobuyoshi Nakada
Notes: Merged:
2021-01-13[ruby/bigdecimal] Allow digits=0 in BigDecimal(flt) and Float#to_dKenta Murata
Using dtoa of mode=0, we can determine the number of digits in decimal that is necessary to represent the given Float number without errors. This change permits digits=0 in BigDecimal(flt) and Float#to_d, and these methods use dtoa of mode=0 when the given digits is 0. Internal implicit conversion from Float also uses digits=0. [Fix GH-70]
2021-01-13Skip test when UDP server is no response.Hiroshi SHIBATA
2021-01-13Update ext/bigdecimal/dependKenta Murata