aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix Ripper with heredoc.manga_osyo2021-01-172-0/+11
|
* [ruby/fileutils] Removed code for dead versionsNobuyoshi Nakada2021-01-171-13/+3
| | | | https://github.com/ruby/fileutils/commit/1f707d8cc6
* [ruby/fileutils] Drop support for dead old versionsNobuyoshi Nakada2021-01-171-1/+1
| | | | https://github.com/ruby/fileutils/commit/4526148c67
* Update the maintainer of net-smtpHiroshi SHIBATA2021-01-171-1/+1
|
* * 2021-01-17 [ci skip]git2021-01-171-1/+1
|
* Remove samples for test-unitSutou Kouhei2021-01-175-68/+0
| | | | They are no longer needed.
* Move rss samples to ruby/rssSutou Kouhei2021-01-175-388/+0
|
* [ruby/io-console] Rubygems 3.2 supports `--platform` optionNobuyoshi Nakada2021-01-161-5/+0
| | | | https://github.com/ruby/io-console/commit/c8046fde84
* [ruby/io-console] Moved JRuby version files into particular pathNobuyoshi Nakada2021-01-161-0/+6
| | | | https://github.com/ruby/io-console/commit/b0691d2c20
* [ruby/io-console] Delegate to JRuby versionNobuyoshi Nakada2021-01-161-0/+15
| | | | | | Add `--platform` option tentatively. https://github.com/ruby/io-console/commit/3bf1a7b753
* [ruby/io-console] bump up to 0.5.7Nobuyoshi Nakada2021-01-161-1/+1
| | | | https://github.com/ruby/io-console/commit/f55d7ebff6
* Don't try to clear cache on garbage objectsAaron Patterson2021-01-151-0/+1
| | | | | | | | | | | | | 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 <john@hawthorn.email> Co-Authored-By: Alan Wu <XrXr@users.noreply.github.com>
* Additions to method_documentation.rdoc (#4065)Burdette Lamar2021-01-151-2/+30
| | | * Additions to method_documentation.rdoc
* Add What's Here to Array RDoc (#4062)Burdette Lamar2021-01-151-0/+174
| | | | * Add What's Here to Array RDoc
* * 2021-01-16 [ci skip]git2021-01-161-1/+1
|
* [ruby/bigdecimal] Fix for the coerce cases in divide and DoDivmodKenta Murata2021-01-162-10/+29
| | | | https://github.com/ruby/bigdecimal/commit/1cb92487f7
* [ruby/bigdecimal] Use pre-allocated special values in BigDecimal_DoDivmodKenta Murata2021-01-161-21/+26
| | | | https://github.com/ruby/bigdecimal/commit/d2746121cf
* [ruby/bigdecimal] Use new conversion functions in BigDecimal_DoDivmodKenta Murata2021-01-161-5/+12
| | | | https://github.com/ruby/bigdecimal/commit/68c20200d5
* [ruby/time] Use Time#strftime to formatNobuyoshi Nakada2021-01-151-26/+2
| | | | https://github.com/ruby/time/commit/6b8cc4799e
* Keep encoding in the result of File.expand_path [Bug #17517]Nobuyoshi Nakada2021-01-152-6/+22
|
* Make Module#prepend affect ancestor chain even if argument already included ↵Jeremy Evans2021-01-143-23/+73
| | | | | | | | | | | | | | | 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]
* [ruby/time] No document for private methodsNobuyoshi Nakada2021-01-151-0/+2
| | | | https://github.com/ruby/time/commit/44a55daa70
* Sort filenames [ci skip]Kazuhiro NISHIYAMA2021-01-151-2/+3
|
* Add timev.rb to .documentKazuhiro NISHIYAMA2021-01-151-0/+1
|
* extlibs.rb: make patch command selectable [ci skip]Nobuyoshi Nakada2021-01-151-1/+1
| | | | | Some Windows ports fail an assertion on patch files with LF EOL code. MSys2 patch.exe 2.7.6 seems fine, at least.
* [ruby/bigdecimal] Use new conversion functions in BigDecimal_divideKenta Murata2021-01-151-6/+14
| | | | https://github.com/ruby/bigdecimal/commit/3b55ad1c42
* [ruby/bigdecimal] Reorder the arguments of BigDecimal_divideKenta Murata2021-01-151-2/+2
| | | | https://github.com/ruby/bigdecimal/commit/1e03da7076
* * 2021-01-15 [ci skip]git2021-01-151-1/+1
|
* Fix WB for callinfoAaron Patterson2021-01-141-0/+1
| | | | | The WB for callinfo needs to be executed *after* the reference is written. Otherwise we get a WB miss.
* [DOC] Fixed indent [ci skip]Nobuyoshi Nakada2021-01-141-1/+1
|
* Return new NODE_LITNobuyoshi Nakada2021-01-141-5/+2
| | | | | As NODE_ZLIST/NODE_LIST are not markable, cannot be reused as NODE_LIT.
* Ensure symbol list node is either NODE_STR or NODE_DSTRNobuyoshi Nakada2021-01-141-3/+8
|
* NODE markability should not change by nd_set_typeNobuyoshi Nakada2021-01-142-6/+37
|
* Rename RubyVM::MJIT to RubyVM::JITTakashi Kokubun2021-01-1334-81/+86
| | | | | | | | 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]
* [ruby/bigdecimal] Explicitly cast size_t to intKenta Murata2021-01-141-1/+1
| | | | https://github.com/ruby/bigdecimal/commit/b1f1ed26c9
* [ruby/bigdecimal] Explicitly cast uint64_t to doubleKenta Murata2021-01-141-1/+1
| | | | https://github.com/ruby/bigdecimal/commit/f0d94e6843
* [ruby/bigdecimal] Suppress warning at NO_SANITIZE on gccKenta Murata2021-01-141-0/+10
| | | | https://github.com/ruby/bigdecimal/commit/f6765b8071
* Guard callinfoAaron Patterson2021-01-132-2/+15
| | | | | | | | | | | | | | | | 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: https://github.com/ruby/ruby/blob/70cd351c7c71c48ee18d7c01e851a89614086f8f/compile.c#L968-L969 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 <john@hawthorn.email>
* delete negative cache from the table correctlyKoichi Sasada2021-01-141-9/+19
| | | | | | negative cache entry should be removed from vm->negative_cme_table even if the redefined class has no subclasses.
* only add the trailing nop if the catch table is not break / next / redoAaron Patterson2021-01-131-5/+13
| | | | | | | | 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 <XrXr@users.noreply.github.com>
* fix ASAN errorsAaron Patterson2021-01-131-4/+17
|
* * 2021-01-14 [ci skip]git2021-01-141-1/+1
|
* mkmf.rb: remove exts.mk at distcleanNobuyoshi Nakada2021-01-141-1/+1
|
* Moved Fiber methods into core [Feature #17407]Nobuyoshi Nakada2021-01-134-26/+5
|
* Capture to reserved name variables if already defined [Bug #17533]Nobuyoshi Nakada2021-01-132-2/+14
|
* Positional and keyword arguments for timezone are exclusiveNobuyoshi Nakada2021-01-132-3/+14
| | | | [Feature #17485]
* Added `in:` timezone option to `Time.new` [Feature #17485]Nobuyoshi Nakada2021-01-133-87/+70
|
* Make warning values consistent [Bug #17523]Nobuyoshi Nakada2021-01-132-2/+11
| | | | | | 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.
* Revert "[Bug #11213] let defined?(super) call respond_to_missing?"Nobuyoshi Nakada2021-01-134-41/+10
| | | | | | This reverts commit fac2498e0299f13dffe4f09a7dd7657fb49bf643 for now, due to [Bug #17509], the breakage in the case `super` is called in `respond_to?`.
* Allow UTC offset without colons per ISO-8601 [Bug #17504]Nobuyoshi Nakada2021-01-132-15/+35
|