AgeCommit message (Collapse)Author
2019-12-17[ruby/io-console] Disable implementation-defined special control charactersNobuyoshi Nakada
In raw mode with interrupt enabled.
2019-12-17[ruby/io-console] Added the test for intr optionNobuyoshi Nakada
2019-12-17[ruby/io-console] Removed dead codeNobuyoshi Nakada
2019-12-17Fix return condition according to the condition to skipaycabta
2019-12-17[ruby/reline] Implement completion_append_characterThomas Leitner
There is already the possibility to set Reline.completion_append_character. However, it is not used by the line editor.
2019-12-17[ruby/reline] Disable any implementation-defined special control charactersNobuyoshi Nakada
Including dsusp, lnext, and so on.
2019-12-17add debug counter to count `call` reusing cases.Koichi Sasada
2019-12-17Support change search directionaycabta
2019-12-17Support forward-search-history by C-saycabta
2019-12-17Added a test for [Bug #16159]Nobuyoshi Nakada
2019-12-17Reduce tzset callsNobuyoshi Nakada
Set up-to-date flag always when calling tzset().
2019-12-17time.c (find_time_t): fix round-to-zero bugYusuke Endoh
`find_time_t` did not work correctly for year older than the Epoch because it used C's integer division (which rounds negative to zero). For example, `` returned a wrong time whose year is 1922 in Asia/Kuala_Lumpur because there is no 00:00:00 1st Jan. 1933 in the time zone. ``` $ TZ=Asia/Kuala_Lumpur ruby -e 'p' 1932-12-31 00:00:00 +0700 ``` This change fixes the issue by using `DIV` macro instead of `/`. Now `` returns a time in 1933. ``` $ TZ=Asia/Kuala_Lumpur ruby -e 'p' 1933-01-01 00:20:00 +0720 ``` [Bug #16159]
2019-12-17close datasocket on stor of server sideNARUSE, Yui
2019-12-17ensure to close the data connection [Bug #16413]NARUSE, Yui
2019-12-17Check wether Readline.completion_append_character= existsaycabta
2019-12-16thread.c: avoid needless read after select|ppollEric Wong
We do not need to issue pipe|eventfd read(2) syscall unless select, ppoll|poll declares the FD needs reading.
2019-12-17test/ruby/test_process.rb: suppress "unused variable" warningYusuke Endoh
2019-12-17* 2019-12-17 [ci skip]git
2019-12-16Make prettyprint’s cycle detection aware of Delegator instancesRichard Viney
Fixes [Bug #13144] Co-Authored-By: Nobuyoshi Nakada <>
2019-12-16Revert "lib/net/http/response.rb: support raw deflate correctly"Yusuke Endoh
This reverts commit 5105240b1e851410020b3b3f1a2bead7ffdd4291. In RFC 2616: ``` deflate The "zlib" format defined in RFC 1950 [31] in combination with the "deflate" compression mechanism described in RFC 1951 [29]. ``` So "Content-Encoding: deflate" means zlib format, not raw deflate. [Bug #11268]
2019-12-16lib/net/http/response.rb: support raw deflate correctlyYusuke Endoh
Net::HTTP had used ` + Zlib::MAX_WBITS)` for all content encoding (deflate, zlib, and gzip). But the argument `32 + Zlib::MAX_WBITS` means zlib and gzip decoding with automatic header detection, so (raw) deflate compression had not been supported. This change makes it support raw deflate correctly by passing an argument `-Zlib::MAX_WBITS` (which means raw deflate) to ``. All deflate-mode tests are fixed too. [Bug #11268]
2019-12-16Enhancements for ENV docBurdetteLamar
Notes: Merged:
2019-12-16Merge RubyGems 3.1.1 and update the NEWS entry for RubyGemsHiroshi SHIBATA
2019-12-16ensure cc->def == cc->me->def卜部昌平
The equation shall hold for every call cache. However prior to this changeset cc->me could be updated without also updating cc->def. Let's make it sure by introducing new macro named CC_SET_ME which sets cc->me and cc->def at once.
2019-12-16Use CDN instead of raw.githubusercontent.comKazuhiro NISHIYAMA
2019-12-16Fix open without close [ci skip]Kazuhiro NISHIYAMA
2019-12-16Get rid of infinite recursion at loading transcoderNobuyoshi Nakada
Disable encoding US-ASCII path to filesystem on Windows too. [Bug #16392] Notes: Merged:
2019-12-16Kernel#abort without arguments should print error infoNobuyoshi Nakada
[Bug #16424] Notes: Merged:
2019-12-16Update the NEWS entry for Bundler 2.1.0Hiroshi SHIBATA
2019-12-16* 2019-12-16 [ci skip]git
2019-12-16gc.h: Add SET_MACHINE_STACK_END specific for Powerpc64 (#1767)Breno Leitao
Currently we are not able to grab the correct end/top of the stack on powerpc64 due to the fact that it uses the fallback function. The fallback function does not return the correct top of the stack because it adds a new frame and the returned top of the stack contains this frame overhead that could be something around 112 bytes on Powerpc64. This patch simply gets the correct top of the stack pointer, which is always on r1 register according to both ABI v1 and ABI v2 (Little endian). Signed-off-by: Breno Leitao <>
2019-12-15IO#set_encoding_by_bom should err when encoding is already setNobuyoshi Nakada
Except for ASCII-8BIT. [Bug #16422]
2019-12-15tool/gen-mailmap.rb: odaira is removed as he is added in upstreamYusuke Endoh
2019-12-15tool/gen-mailmap.rb: Added for generating git `.mailmap` fileYusuke Endoh
`.mailmap` can be used To show canonical names and email addresses. It is helpful for statistics of committers.
2019-12-15Add more debug infoKazuhiro NISHIYAMA
closed server doesn't have useful info. So call inspect before close. And add local debug code in comment. ``` 1) Failure: IMAPTest#test_connection_closed_without_greeting [/export/home/rubyci/chkbuild-tmp/tmp/build/20191215T092405Z/ruby/test/net/imap/test_imap.rb:483]: [Net::IMAP::Error] exception expected, not #<RuntimeError: {:e=>#<Errno::EINVAL: Invalid argument - connect(2) for [::1]:41748>, :server=>#<TCPServer:(closed)>, :port=>41748, :server_addr=>"::1"}>. ```
2019-12-15Prepare to release rubygems-3.1.0Hiroshi SHIBATA
2019-12-15Delegate should be supported nowDavid Rodríguez
Since `did_you_mean` dropped its dependency on it. Notes: Merged:
2019-12-15Fixed test failures with gem command path on ruby core repo.Hiroshi SHIBATA
Notes: Merged:
2019-12-15Vendor thor 1.0.0David Rodríguez
Notes: Merged:
2019-12-15Prepare to release bundler-2.1.0Hiroshi SHIBATA
Notes: Merged:
2019-12-15rand(beginless_range) raise Errno::EDOM instead of TypeErrorKazuhiro NISHIYAMA
same as `rand(endless_range)` Before: ``` $ ruby -e 'rand(..1)' Traceback (most recent call last): 2: from -e:1:in `<main>' 1: from -e:1:in `rand' -e:1:in `-': nil can't be coerced into Integer (TypeError) ``` After: ``` $ ruby -e 'rand(..1)' Traceback (most recent call last): 1: from -e:1:in `<main>' -e:1:in `rand': Numerical argument out of domain (Errno::EDOM) ```
2019-12-15[DOC] Fixed the class name in FrozenError#receiverNobuyoshi Nakada
2019-12-15Revert "[DOC] Fixed the class name in FrozenError#receiver"Nobuyoshi Nakada
This reverts commit 5f56a5fc9be9ea7b088795c2d3871c2352a020c2. `, nil).receiver` should not raise an ArgumentError.
2019-12-15* 2019-12-15 [ci skip]git
2019-12-15[DOC] Fixed the class name in FrozenError#receiverNobuyoshi Nakada
2019-12-15[DOC] Fixed the result [ci skip]Nobuyoshi Nakada
2019-12-14Improve highlighting in RubyVM::AbstractSyntaxTree docs when using `ri`Benoit Daloze
2019-12-14Clarify in the documentation that RubyVM::AbstractSyntaxTree is not stable APIBenoit Daloze
* See [Feature #14844].
2019-12-14[Feature #13083] is already revertedKazuhiro NISHIYAMA
2019-12-14Update warnings in NEWSKazuhiro NISHIYAMA