Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-04 | Add some documentation to Timeout#timeout about possible issues | Jeremy Evans | |
Documentation requested in [Bug #15886]. | |||
2019-06-04 | Add aliases for commands for changing text macro | aycabta | |
2019-06-04 | Implement transpose-words | aycabta | |
2019-06-04 | Reflect behavior changes to argument name | Takashi Kokubun | |
0c459af7c233adb5f44022350bfe8fa132d8053e changed the meaning of `detect_compile_error`, and this commit lets it follow the change. | |||
2019-06-04 | Simplify matching | Nobuyoshi Nakada | |
2019-06-04 | colorize_code must return escaped text | Takashi Kokubun | |
This was needed before 0c459af7c233adb5f44022350bfe8fa132d8053e but it could be actually useless now. But I added this anyway just in case. | |||
2019-06-04 | Colorize error characters | Nobuyoshi Nakada | |
* lib/irb/color.rb (IRB::Color.scan): ignore "incomplete end of input" error only, to colorize invalid characters, e.g., control characters, and invalid symbols, as errors. | |||
2019-06-03 | Erase VI_OPERATORS | aycabta | |
The operators are using @waiting_operator_proc in vi mode. | |||
2019-06-03 | The C-q is also quoted insert in emacs mode | aycabta | |
2019-06-03 | Add aliases for commands for moving macro | aycabta | |
2019-06-03 | The ed_move_to_beg is different from vi_first_print | aycabta | |
2019-06-03 | Reline::LineEditor::ARGUMENTABLE is no longer used | Nobuyoshi Nakada | |
2019-06-03 | Fix ArgumentError in aliased macro | Nobuyoshi Nakada | |
Closes: https://github.com/ruby/ruby/pull/2221 | |||
2019-06-02 | Check conditional nestings in INPUTRC | Nobuyoshi Nakada | |
Closes: https://github.com/ruby/ruby/pull/2222 | |||
2019-06-02 | Prefer $INPUTRC over the default in the home | Nobuyoshi Nakada | |
Closes: https://github.com/ruby/ruby/pull/2222 | |||
2019-06-02 | Add true condition `Reline` | Nobuyoshi Nakada | |
2019-06-02 | Add Reline test for unknown macro | aycabta | |
2019-06-02 | Add new test for Reline within pipe | aycabta | |
2019-06-02 | Add comments to key bindings vars of Reline::Config | aycabta | |
2019-06-02 | Reline.readmultiline always needs block to confirm termination | aycabta | |
2019-06-02 | Suppress error of macro not found | aycabta | |
2019-06-02 | delegate.rb: markup method names | Nobuyoshi Nakada | |
2019-06-01 | Merge rubygems master from upstream. | Hiroshi SHIBATA | |
I picked the commit from 3c469e0da538428a0ddd94f99aa73c32da22e8ba | |||
2019-06-01 | Remove an unnecessary argument | aycabta | |
2019-06-01 | Just use `File.readlines` | Nobuyoshi Nakada | |
2019-06-01 | Use inputrc data for keystroke setting | aycabta | |
2019-06-01 | Seprate raw keystroke config for each platforms | Nobuyoshi Nakada | |
2019-06-01 | Support Home and End key to move to beg and end | aycabta | |
2019-05-31 | Use IO#sync= instead of a monkey patch | aycabta | |
2019-05-31 | Flush I/O immediately if RELINE_STDERR_TTY is set | aycabta | |
2019-05-31 | Bump irb version to 1.1.0.pre.1. | Hiroshi SHIBATA | |
Becausee the current irb support reline and have many of changes. | |||
2019-05-30 | Fix visibility of some methods when using DelegateClass | Jeremy Evans | |
Public instance methods added to a delegated class after the creation of the delegate class were not returned by the public_instance_methods class method of the delegate class. Protected instance methods in the delegated class when the delegate class is created were returned by the public_methods instance method of the delegate class. Patch mostly from Kenichi Kamiya <kachick1@gmail.com> in GitHub pull request 926. Minor changes to get it to apply, and to fix tests after applying by me. Fixes [Bug #11512] | |||
2019-05-30 | Allow DelegateClass() to module_eval given block | Jeremy Evans | |
Methods that return classes often module_eval the given block (e.g. Class.new and Struct.new). This allows DelegateClass to work similarly. This makes it easier to use DelegateClass directly without subclassing, so as not to create an unnecessary subclass. Implements [Feature #15842] | |||
2019-05-31 | Fix typo :bug: [ci skip] | Takashi Kokubun | |
2019-05-31 | Warn compile_error only when input is finished | Takashi Kokubun | |
Let's say we are in progress to write `"foo"`: ``` irb> "fo ``` at this moment, nothing is wrong. It would be just a normal way to write `"foo"`. Prior to this commit, the `fo` part was warned because of 5b64d7ac6e7cbf759b859428f125539e58bac0bd. But I think warning such a normal input is not valuable for users. However, we'd like to warn `:@1` or `@@1` which is also a syntax error. Then this commit switches the syntax highlight based on whether the input text is finished or not. When it's not finished yet, it does not warn compile_error. | |||
2019-05-31 | Abstract away Ripper::Lexer#scan in IRB::Color#scan | Takashi Kokubun | |
because 5b64d7ac6e7cbf759b859428f125539e58bac0bd made it hard to understand #colorize_code for me and this change is needed for my next commit. | |||
2019-05-31 | Finish with ^D only when input is completely empty in vi insert mode | aycabta | |
2019-05-30 | Use rebuilt buffer data to rerender all | aycabta | |
2019-05-30 | Use start_with? for escaped quote too | aycabta | |
2019-05-30 | Use negative lookahead and start_with? | aycabta | |
2019-05-30 | Fix strange vertical cursor moving when adding a newline at bottom | aycabta | |
2019-05-30 | Do not rely on IRB.conf[:MAIN_CONTEXT] before initialize | Takashi Kokubun | |
so that we can colorize binding.irb source lines. | |||
2019-05-30 | Check the end token of heredoc correctly | aycabta | |
2019-05-30 | Calculate vertical position correctly when rerendering all lines | aycabta | |
2019-05-30 | Fix broken rendering when the last line is auto-wrapped | aycabta | |
2019-05-30 | Rerender following lines when line number increased | aycabta | |
2019-05-30 | Clear remaining lines when line number decreased | aycabta | |
2019-05-30 | Fix the auto-wrap behabior that was too buggy | aycabta | |
2019-05-29 | Colorize errors more | Nobuyoshi Nakada | |
* lib/irb/color.rb (IRB::Color.colorize_code): colorize `compile_error` part as same as `on_parse_error`. | |||
2019-05-29 | Get rid of nested string interpolations | Nobuyoshi Nakada | |
* lib/irb/color.rb (IRB::Color.colorize): get rid of nesting string interpolations not to confuse ruby-mode.el |