summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-12-22[ruby/ostruct] Move gemspecMarc-Andre Lafortune
2019-12-22[ruby/matrix] Bump versionMarc-Andre Lafortune
2019-12-23Add NEWS about Warning.[] [Feature #16345] [ci skip]Nobuyoshi Nakada
2019-12-23Fixed a typo in an exception class nameNobuyoshi Nakada
2019-12-23make-snapshot: fixed modeNobuyoshi Nakada
"X" must be used in conjunction with "+".
2019-12-23Fix typo in commit logs by log-fix notesNobuyoshi Nakada
2019-12-22Re-apply f85e8d2a8b keeping characters < 80Takashi Kokubun
2019-12-23Revert "Fixed misspellings"Yusuke Endoh
This reverts commit f85e8d2a8b2a37740334db4fd92ef820f05ddbc5. It violated the limit of width (> 80) and caused the test failure
2019-12-23Fixed misspellingsNobuyoshi Nakada
Fixed misspellings reported at [Bug #16437]
2019-12-23Fix typos of previous docs PRzverok
In #2612 I made two typos (extra ,, and copy-pasted same line of code instead of showing two different ones), fixing them. Notes: Merged: https://github.com/ruby/ruby/pull/2771
2019-12-23Document Module#const_source_locationzverok
Notes: Merged: https://github.com/ruby/ruby/pull/2750
2019-12-22Adjust sentence in doc [ci skip]Alan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/2773 Merged-By: XrXr
2019-12-22[DOC] Improve documentation for Enumerable#tallyMarcus Stollsteimer
2019-12-22Some fixes in Enumerator::Lazy docsMarcus Stollsteimer
* fix list in #flat_map * fix wrong indentation in #filter_map and #with_index * other small fixes
2019-12-23[ruby/reline] Use IO#raw to read one byteNobuyoshi Nakada
https://github.com/ruby/reline/commit/be17740e82
2019-12-23* 2019-12-23 [ci skip]git
2019-12-23Changed behavior on windows platforms too [ci skip]Kazuhiro NISHIYAMA
at 61aff0cd189e67fa6f2565639ad0128fa33b88fc [Bug #15267]
2019-12-22Enhance docs for Module#deprecate_constantzverok
Notes: Merged: https://github.com/ruby/ruby/pull/2768
2019-12-22Enhance Range docszverok
* Change === docs to mention it uses cover? * Add different example to === docs to showcase behavior better * Change include? docs to mention cover? and clarify the difference Notes: Merged: https://github.com/ruby/ruby/pull/2768
2019-12-22Actualize Time#inspect docszverok
Notes: Merged: https://github.com/ruby/ruby/pull/2768
2019-12-22Actualize Method#inspect docszverok
Notes: Merged: https://github.com/ruby/ruby/pull/2768
2019-12-22Fix FrozenError#receiver and #initialize docszverok
Notes: Merged: https://github.com/ruby/ruby/pull/2768
2019-12-22Update private visibility explanationzverok
Notes: Merged: https://github.com/ruby/ruby/pull/2768
2019-12-22Document numbered block parameterszverok
Notes: Merged: https://github.com/ruby/ruby/pull/2767
2019-12-22Enhancements for ENV docBurdetteLamar
Notes: Merged: https://github.com/ruby/ruby/pull/2757
2019-12-22[Doc] Fix sample in Encoding#namesQuestionDriven
Notes: Merged: https://github.com/ruby/ruby/pull/2760
2019-12-22[Doc] Fix wrong example in Encoding.aliasesQuestionDriven
Notes: Merged: https://github.com/ruby/ruby/pull/2760
2019-12-22Fixed misspellingsNobuyoshi Nakada
Fixed misspellings reported at [Bug #16437], missed and a new typo.
2019-12-22Move version guard outside to make it clear the method was added in Ruby 2.5Benoit Daloze
2019-12-22RDoc of Warning.[] and .[]= [Feature #16345] [ci skip]Nobuyoshi Nakada
2019-12-22Manage deprecation warning by the flagNobuyoshi Nakada
2019-12-22[ruby/io-console] bump up to 0.5.3Nobuyoshi Nakada
2019-12-22add NEWS about cache improvement [ci skip]卜部昌平
2019-12-22Support multibyte inputNobuyoshi Nakada
2019-12-22fix a thread test.Koichi Sasada
* Use Queue for synchronization. * Don't use `sleep 0.2` and use `th.join` because created thread can raise an exception after 0.2 seconds.
2019-12-22[ruby/reline] Support Ctrl+right as em_next_word, and Ctrl+left as ed_prev_wordYusuke Endoh
https://github.com/ruby/reline/commit/e98ad3b486
2019-12-22add a NEWS entry for [Feature #16163]Koichi Sasada
2019-12-22compile.c: avoid newarraykwsplat for argumentsv2_7_0_rc2Yusuke Endoh
`foo(*rest, post, **empty_kw)` is compiled like `foo(*rest + [post, **empty_kw])`, and `**empty_kw` is removed by "newarraykwsplat" instruction. However, the method call still has a flag of KW_SPLAT, so "post" is considered as a keyword hash, which caused a segfault. Note that the flag cannot be removed if "empty_kw" is not always empty. This change fixes the issue by compiling arguments with "newarray" instead of "newarraykwsplat". [Bug #16442]
2019-12-22Move stats under a dictNARUSE, Yui
2019-12-22Should return "." for File.extname("file.") also on WindowsNAKAMURA Usaku
But not changes another cases, such as "file.rb." [Bug #15267]
2019-12-22* 2019-12-22 [ci skip]git
2019-12-22Remove TODO commentaycabta
2019-12-22[ruby/irb] Make nesting level up for `1.times do`Yusuke Endoh
Follow up of the previous commit https://github.com/ruby/irb/commit/ab207353d3
2019-12-22[ruby/irb] Fix auto-indent for `1.times do`Yusuke Endoh
Fixes #47 https://github.com/ruby/irb/commit/6b8eca4635
2019-12-22[ruby/reline] Preserve the input buffer across cursor_posYusuke Endoh
The old version of cursor_pos discards the input buffer, which made IRB ignore the input immediately after IRB is invoked. This change keeps the input before cursor_pos by using ungetc. https://github.com/ruby/reline/commit/4a8cca331f
2019-12-22[ruby/reline] Consider Reline::ANSI.input at prepNobuyoshi Nakada
https://github.com/ruby/reline/commit/b111cde3c3
2019-12-21Kernel#lambda: return forwarded block as non-lambda procAlan Wu
Before this commit, Kernel#lambda can't tell the difference between a directly passed literal block and one passed with an ampersand. A block passed with an ampersand is semantically speaking already a non-lambda proc. When Kernel#lambda receives a non-lambda proc, it should simply return it. Implementation wise, when the VM calls a method with a literal block, it places the code for the block on the calling control frame and passes a pointer (block handler) to the callee. Before this commit, the VM forwards block arguments by simply forwarding the block handler, which leaves the slot for block code unused when a control frame forwards its block argument. I use the vacant space to indicate that a frame has forwarded its block argument and inspect that in Kernel#lambda to detect forwarded blocks. This is a very ad-hoc solution and relies *heavily* on the way block passing works in the VM. However, it's the most self-contained solution I have. [Bug #15620] Notes: Merged: https://github.com/ruby/ruby/pull/2289
2019-12-21Add spec for capturing Kernel#lambda with Kernel#methodAlan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/2289
2019-12-21Add specs for calling into Kernel#lambda with superAlan Wu
Notes: Merged: https://github.com/ruby/ruby/pull/2289
2019-12-21test/ruby/test_pattern_matching.rb: suppress "unused variable" warningYusuke Endoh