aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/reline] Reline::Windows.erase_after_cursor erases attributes tooaycabta2021-01-181-0/+1
| | | | https://github.com/ruby/reline/commit/68b961dfc7
* [ruby/reline] Support for change in Windows-specific behavior at eolaycabta2021-01-181-15/+7
| | | | | | | The behavior of automatically moving the cursor to the next line when displaying a char at the eol on Windows suddenly disappeared. https://github.com/ruby/reline/commit/cad4de6ee8
* [ruby/reline] Windows needs more times to wait renderingaycabta2021-01-181-1/+3
| | | | https://github.com/ruby/reline/commit/53ff2b09c7
* [ruby/reline] Tests with yamatanooroti don't need chdiraycabta2021-01-181-2/+0
| | | | | | Because of chdir, log files ware created in temporary directries on Windows. https://github.com/ruby/reline/commit/200b469a68
* [ruby/reline] Initialize a variable just in caseaycabta2021-01-181-0/+1
| | | | https://github.com/ruby/reline/commit/29b10f6e98
* Use the dedicated assertionNobuyoshi Nakada2021-01-171-2/+2
|
* random generator update for Mac proposalDavid CARLIER2021-01-172-2/+19
| | | | | using getentropy for seeding, reading 256 bytes at a time to avoid the EIO errno since this is the maximum.
* Warn Struct#initialize with only keyword args (#4070)Takashi Kokubun2021-01-173-7/+34
| | | | | | | | | | | | | | | * Warn Struct#initialize with only keyword args A part of [Feature #16806] * Do not warn if `keyword_init: false` is explicitly specified * Add a NEWS entry * s/in/from/ * Make sure all fields are initialized
* Include missing AvailabilityMacros.hNobuyoshi Nakada2021-01-171-0/+4
|
* Suppress the warning for the invalid method_explorer caseNobuyoshi Nakada2021-01-171-1/+1
|
* 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>