Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ruby/reline] Use IO#raw to read one byte | Nobuyoshi Nakada | 2019-12-23 | 2 | -19/+5 |
| | | | | https://github.com/ruby/reline/commit/be17740e82 | ||||
* | * 2019-12-23 [ci skip] | git | 2019-12-23 | 1 | -1/+1 |
| | |||||
* | Changed behavior on windows platforms too [ci skip] | Kazuhiro NISHIYAMA | 2019-12-23 | 1 | -2/+1 |
| | | | | at 61aff0cd189e67fa6f2565639ad0128fa33b88fc [Bug #15267] | ||||
* | Enhance docs for Module#deprecate_constant | zverok | 2019-12-22 | 1 | -1/+13 |
| | |||||
* | Enhance Range docs | zverok | 2019-12-22 | 1 | -10/+24 |
| | | | | | | | | * 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 | ||||
* | Actualize Time#inspect docs | zverok | 2019-12-22 | 1 | -5/+6 |
| | |||||
* | Actualize Method#inspect docs | zverok | 2019-12-22 | 1 | -2/+21 |
| | |||||
* | Fix FrozenError#receiver and #initialize docs | zverok | 2019-12-22 | 1 | -1/+2 |
| | |||||
* | Update private visibility explanation | zverok | 2019-12-22 | 1 | -3/+35 |
| | |||||
* | Document numbered block parameters | zverok | 2019-12-22 | 1 | -0/+50 |
| | |||||
* | Enhancements for ENV doc | BurdetteLamar | 2019-12-22 | 1 | -13/+55 |
| | |||||
* | [Doc] Fix sample in Encoding#names | QuestionDriven | 2019-12-22 | 1 | -1/+1 |
| | |||||
* | [Doc] Fix wrong example in Encoding.aliases | QuestionDriven | 2019-12-22 | 1 | -2/+2 |
| | |||||
* | Fixed misspellings | Nobuyoshi Nakada | 2019-12-22 | 4 | -4/+4 |
| | | | | | Fixed misspellings reported at [Bug #16437], missed and a new typo. | ||||
* | Move version guard outside to make it clear the method was added in Ruby 2.5 | Benoit Daloze | 2019-12-22 | 1 | -2/+2 |
| | |||||
* | RDoc of Warning.[] and .[]= [Feature #16345] [ci skip] | Nobuyoshi Nakada | 2019-12-22 | 1 | -0/+25 |
| | |||||
* | Manage deprecation warning by the flag | Nobuyoshi Nakada | 2019-12-22 | 1 | -2/+4 |
| | |||||
* | [ruby/io-console] bump up to 0.5.3 | Nobuyoshi Nakada | 2019-12-22 | 1 | -1/+1 |
| | |||||
* | add NEWS about cache improvement [ci skip] | 卜部昌平 | 2019-12-22 | 1 | -0/+4 |
| | |||||
* | Support multibyte input | Nobuyoshi Nakada | 2019-12-22 | 1 | -1/+2 |
| | |||||
* | fix a thread test. | Koichi Sasada | 2019-12-22 | 1 | -7/+7 |
| | | | | | | * 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. | ||||
* | [ruby/reline] Support Ctrl+right as em_next_word, and Ctrl+left as ed_prev_word | Yusuke Endoh | 2019-12-22 | 1 | -0/+2 |
| | | | | https://github.com/ruby/reline/commit/e98ad3b486 | ||||
* | add a NEWS entry for [Feature #16163] | Koichi Sasada | 2019-12-22 | 1 | -0/+5 |
| | |||||
* | compile.c: avoid newarraykwsplat for argumentsv2_7_0_rc2 | Yusuke Endoh | 2019-12-22 | 2 | -1/+14 |
| | | | | | | | | | | | | | | `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] | ||||
* | Move stats under a dict | NARUSE, Yui | 2019-12-22 | 1 | -6/+7 |
| | |||||
* | Should return "." for File.extname("file.") also on Windows | NAKAMURA Usaku | 2019-12-22 | 4 | -15/+23 |
| | | | | | But not changes another cases, such as "file.rb." [Bug #15267] | ||||
* | * 2019-12-22 [ci skip] | git | 2019-12-22 | 1 | -1/+1 |
| | |||||
* | Remove TODO comment | aycabta | 2019-12-22 | 1 | -1/+1 |
| | |||||
* | [ruby/irb] Make nesting level up for `1.times do` | Yusuke Endoh | 2019-12-22 | 1 | -1/+1 |
| | | | | | | Follow up of the previous commit https://github.com/ruby/irb/commit/ab207353d3 | ||||
* | [ruby/irb] Fix auto-indent for `1.times do` | Yusuke Endoh | 2019-12-22 | 1 | -1/+1 |
| | | | | | | Fixes #47 https://github.com/ruby/irb/commit/6b8eca4635 | ||||
* | [ruby/reline] Preserve the input buffer across cursor_pos | Yusuke Endoh | 2019-12-22 | 1 | -1/+5 |
| | | | | | | | | | 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 | ||||
* | [ruby/reline] Consider Reline::ANSI.input at prep | Nobuyoshi Nakada | 2019-12-22 | 1 | -7/+16 |
| | | | | https://github.com/ruby/reline/commit/b111cde3c3 | ||||
* | Kernel#lambda: return forwarded block as non-lambda proc | Alan Wu | 2019-12-21 | 4 | -3/+40 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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] | ||||
* | Add spec for capturing Kernel#lambda with Kernel#method | Alan Wu | 2019-12-21 | 1 | -0/+7 |
| | |||||
* | Add specs for calling into Kernel#lambda with super | Alan Wu | 2019-12-21 | 2 | -1/+38 |
| | |||||
* | test/ruby/test_pattern_matching.rb: suppress "unused variable" warning | Yusuke Endoh | 2019-12-21 | 1 | -0/+17 |
| | |||||
* | Add Array#minmax, Range#minmax, and Proc#ruby2_keywords to NEWS | Jeremy Evans | 2019-12-20 | 1 | -1/+20 |
| | |||||
* | * 2019-12-21 [ci skip] | git | 2019-12-21 | 1 | -1/+1 |
| | |||||
* | Added `-W:experimental` command line option | Nobuyoshi Nakada | 2019-12-20 | 2 | -0/+9 |
| | | | | [Feature #16420] | ||||
* | Added `experimental` warning category | Nobuyoshi Nakada | 2019-12-20 | 5 | -5/+29 |
| | | | | [Feature #16420] | ||||
* | Hoisted out new_case3 | Nobuyoshi Nakada | 2019-12-20 | 1 | -4/+12 |
| | |||||
* | Added -W: command line option | Nobuyoshi Nakada | 2019-12-20 | 3 | -1/+45 |
| | | | | | To manage `Warning[category]` flags. Only `-W:deprecated` and `-W:no-deprecated` are available now. [Feature #16345] | ||||
* | Added `FEATURE_SET_RESTORE` macro | Nobuyoshi Nakada | 2019-12-20 | 1 | -1/+2 |
| | |||||
* | NEWS: Update the explanation of pattern matching | Yusuke Endoh | 2019-12-20 | 1 | -4/+14 |
| | | | | | | Add an example of "<expr> in <pattern>", an example of NoMatchingPatternError, and mention that the slides are slightly obsolete. | ||||
* | vm_args.c: rephrase the warning message of keyword argument separation | Yusuke Endoh | 2019-12-20 | 12 | -357/+357 |
| | | | | | | | | | | (old) test.rb:4: warning: The last argument is used as the keyword parameter test.rb:1: warning: for `foo' defined here; maybe ** should be added to the call? (new) test.rb:4: warning: The last argument is used as keyword parameters; maybe ** should be added to the call test.rb:1: warning: The called method `foo' is defined here | ||||
* | Refined the warning message for $, and $; | Nobuyoshi Nakada | 2019-12-20 | 3 | -3/+3 |
| | | | | [Bug #16438] | ||||
* | Refined the warning message for numbered-parameter like variables | Nobuyoshi Nakada | 2019-12-20 | 3 | -3/+3 |
| | | | | [Bug #16438] | ||||
* | Refined the warning message for numbered-parameter like variables | Nobuyoshi Nakada | 2019-12-20 | 2 | -7/+8 |
| | | | | [Bug #16438] | ||||
* | Makes the receiver to FrozenError.new a keyword parameter | Nobuyoshi Nakada | 2019-12-20 | 3 | -10/+17 |
| | | | | [Feature #16419] | ||||
* | use UTC to use previous day in midnight | NARUSE, Yui | 2019-12-20 | 1 | -2/+2 |
| |