aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 2019-12-18 [ci skip]v2_7_0_rc1git2019-12-181-1/+1
|
* Revert "Skip interruptible raw mode test on Travis-CI"Nobuyoshi Nakada2019-12-181-1/+0
| | | | This reverts commit 65731a1330ed02691e3c343d2feeb8d0a72af3fd.
* [ruby/io-console] Skip interruptNobuyoshi Nakada2019-12-181-1/+1
| | | | https://github.com/ruby/io-console/commit/8ed5a2bcc3
* [ruby/io-console] Timeout in the child processNobuyoshi Nakada2019-12-171-2/+3
| | | | https://github.com/ruby/io-console/commit/b8411689a5
* [ruby/io-console] Use IO.console instead of STDINNobuyoshi Nakada2019-12-171-3/+4
| | | | https://github.com/ruby/io-console/commit/9e3ec5b936
* Squelch filter-branch warning and sleepingNobuyoshi Nakada2019-12-171-0/+2
|
* [rubygems/rubygems] Move `require uri` to source_listmihaibuzgau2019-12-172-1/+2
| | | | https://github.com/rubygems/rubygems/commit/c6b4df5bfc
* Use while instead of loopKazuhiro NISHIYAMA2019-12-171-12/+4
|
* disable assertion.Koichi Sasada2019-12-171-1/+1
| | | | | This assertion is not needed because we found the bug. ba11a74745.
* Skip interruptible raw mode test on Travis-CINobuyoshi Nakada2019-12-171-0/+1
|
* [rubygems/rubygems] require `uri` in source.rbmihaibuzgau2019-12-171-0/+1
| | | | https://github.com/rubygems/rubygems/commit/8de4d0272e
* convert macros into inline functions卜部昌平2019-12-171-10/+13
| | | | For better readability.
* Remove an unnecessary variableaycabta2019-12-171-6/+1
|
* Remove unnecessary double bangs from Pathname#root?Masataka Pocke Kuwabara2019-12-171-1/+1
|
* [ruby/logger] Fixed leaked tempfileNobuyoshi Nakada2019-12-171-1/+1
| | | | https://github.com/ruby/logger/commit/fb3eff153f
* Remove unnecessary branchesaycabta2019-12-171-24/+6
|
* [ruby/io-console] bump up to 0.5.2Nobuyoshi Nakada2019-12-171-1/+1
|
* [ruby/io-console] Use TCSANOW to prevent from discarding the input bufferYusuke Endoh2019-12-171-1/+1
| | | | | | | | TCSAFLUSH discards the buffer read before the mode change, which makes IRB ignore the buffer input immediately after invoked. TCSANOW preserves the buffer. https://github.com/ruby/io-console/commit/b362920182
* [ruby/io-console] Disable implementation-defined special control charactersNobuyoshi Nakada2019-12-172-1/+11
| | | | | | In raw mode with interrupt enabled. https://github.com/ruby/io-console/commit/e9e8e3ff17
* [ruby/io-console] Added the test for intr optionNobuyoshi Nakada2019-12-171-0/+36
| | | | https://github.com/ruby/io-console/commit/4f01db102d
* [ruby/io-console] Removed dead codeNobuyoshi Nakada2019-12-171-1/+0
| | | | https://github.com/ruby/io-console/commit/a49462ed97
* Fix return condition according to the condition to skipaycabta2019-12-171-1/+1
|
* [ruby/reline] Implement completion_append_characterThomas Leitner2019-12-172-2/+5
| | | | | | | There is already the possibility to set Reline.completion_append_character. However, it is not used by the line editor. https://github.com/ruby/reline/commit/ab798931b9
* [ruby/reline] Disable any implementation-defined special control charactersNobuyoshi Nakada2019-12-171-5/+1
| | | | | | Including dsusp, lnext, and so on. https://github.com/ruby/reline/commit/a44abe586b
* add debug counter to count `call` reusing cases.Koichi Sasada2019-12-172-0/+2
|
* Support change search directionaycabta2019-12-172-7/+94
|
* Support forward-search-history by C-saycabta2019-12-174-26/+102
|
* Added a test for [Bug #16159]Nobuyoshi Nakada2019-12-171-0/+6
|
* Reduce tzset callsNobuyoshi Nakada2019-12-171-7/+10
| | | | Set up-to-date flag always when calling tzset().
* time.c (find_time_t): fix round-to-zero bugYusuke Endoh2019-12-171-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | `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, `TIme.new(1933)` 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 Time.new(1933)' 1932-12-31 00:00:00 +0700 ``` This change fixes the issue by using `DIV` macro instead of `/`. Now `Time.new(1933)` returns a time in 1933. ``` $ TZ=Asia/Kuala_Lumpur ruby -e 'p Time.new(1933)' 1933-01-01 00:20:00 +0720 ``` [Bug #16159]
* close datasocket on stor of server sideNARUSE, Yui2019-12-171-1/+1
|
* ensure to close the data connection [Bug #16413]NARUSE, Yui2019-12-171-16/+28
|
* Check wether Readline.completion_append_character= existsaycabta2019-12-171-1/+1
|
* thread.c: avoid needless read after select|ppollEric Wong2019-12-161-4/+9
| | | | | We do not need to issue pipe|eventfd read(2) syscall unless select, ppoll|poll declares the FD needs reading.
* test/ruby/test_process.rb: suppress "unused variable" warningYusuke Endoh2019-12-171-1/+1
|
* * 2019-12-17 [ci skip]git2019-12-171-1/+1
|
* Make prettyprint’s cycle detection aware of Delegator instancesRichard Viney2019-12-162-0/+16
| | | | | | Fixes [Bug #13144] Co-Authored-By: Nobuyoshi Nakada <nobu@ruby-lang.org>
* Revert "lib/net/http/response.rb: support raw deflate correctly"Yusuke Endoh2019-12-162-19/+19
| | | | | | | | | | | | | | | | 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]
* lib/net/http/response.rb: support raw deflate correctlyYusuke Endoh2019-12-162-19/+19
| | | | | | | | | | | | | | Net::HTTP had used `Zlib::Inflate.new(32 + 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 `Zlib::Inflate.new`. All deflate-mode tests are fixed too. [Bug #11268]
* Enhancements for ENV docBurdetteLamar2019-12-161-46/+194
|
* Merge RubyGems 3.1.1 and update the NEWS entry for RubyGemsHiroshi SHIBATA2019-12-162-3/+3
|
* ensure cc->def == cc->me->def卜部昌平2019-12-163-18/+29
| | | | | | | 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.
* Use CDN instead of raw.githubusercontent.comKazuhiro NISHIYAMA2019-12-161-1/+1
|
* Fix open without close [ci skip]Kazuhiro NISHIYAMA2019-12-161-1/+1
|
* Get rid of infinite recursion at loading transcoderNobuyoshi Nakada2019-12-161-1/+1
| | | | | Disable encoding US-ASCII path to filesystem on Windows too. [Bug #16392]
* Kernel#abort without arguments should print error infoNobuyoshi Nakada2019-12-164-5/+16
| | | | [Bug #16424]
* Update the NEWS entry for Bundler 2.1.0Hiroshi SHIBATA2019-12-161-2/+2
|
* * 2019-12-16 [ci skip]git2019-12-161-1/+1
|
* gc.h: Add SET_MACHINE_STACK_END specific for Powerpc64 (#1767)Breno Leitao2019-12-161-0/+2
| | | | | | | | | | | | | | | 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 <leitao@debian.org>
* IO#set_encoding_by_bom should err when encoding is already setNobuyoshi Nakada2019-12-152-0/+14
| | | | Except for ASCII-8BIT. [Bug #16422]