Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-07-02 | Keyword token that follows EXPR_FNAME must be a method name | aycabta | |
2019-06-28 | Remove auto indent of continuation line | aycabta | |
2019-06-28 | Removed unused variable | Nobuyoshi Nakada | |
2019-06-27 | EXPR_LABEL also indicates non-continuation line | aycabta | |
Example: [ 1, # this is not continuation line 2 ] | |||
2019-06-27 | bc mode is already removed [ci skip] | Kazuhiro NISHIYAMA | |
2019-06-27 | EXPR_CMDARG also indicates the end of an expression | aycabta | |
2019-06-27 | Increase indent of continuation line | aycabta | |
v = 3 # auto indent | |||
2019-06-26 | Decrease nesting level when closing token comes at a non-first token of line | aycabta | |
2019-06-26 | `ensure` is not a continuos line | Nobuyoshi Nakada | |
2019-06-26 | Decrease indent at "elsif" too | Nobuyoshi Nakada | |
2019-06-26 | Remove other debug prints | Nobuyoshi Nakada | |
2019-06-26 | Remove debug print...sorry | aycabta | |
2019-06-25 | Treat auto indent with newline correctly | aycabta | |
2019-06-25 | Decrease indent when "else", "rescue", "ensure", "when", or "in" come | aycabta | |
2019-06-25 | Refactor calculation of corresponding token depth | aycabta | |
2019-06-22 | Treat closing token with starting token at head of 2nd line correctly | aycabta | |
v = if true # starting token at head of 2nd line 3 end # closing token | |||
2019-06-22 | Do auto indent only when closing token at first of line | aycabta | |
if true 3; end # this isn't auto-indented | |||
2019-06-21 | Support irregular auto indent | aycabta | |
v = if true 3 end # this "end" is auto-indented correctly | |||
2019-06-19 | Use IRB.conf[:AUTO_INDENT] setting in multiline mode | aycabta | |
2019-06-18 | Fix auto indent crash when blank input | aycabta | |
2019-06-18 | Implement auto indent for multiline | aycabta | |
2019-06-16 | Implement line_no correctly | aycabta | |
2019-06-14 | Use Reline.prompt_proc in IRB | aycabta | |
2019-06-13 | make sync-default-gems GEM=irb | Takashi Kokubun | |
Upgrade IRB to https://github.com/ruby/irb/commit/41ea43a4a732e094acfa1b0fc1473fdcda9e6227 Mostly backport changes. | |||
2019-06-12 | Ripper::Lexer: fallback parse error token to the previous one | Nobuyoshi Nakada | |
2019-06-12 | Treat "begin rescue end" correctly | aycabta | |
2019-06-10 | irb/cmd/help.rb: return nil after the redefinition | Nobuyoshi Nakada | |
2019-06-10 | irb: defer requiring rdoc to improve the start up time | Nobuyoshi Nakada | |
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 | 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-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-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-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-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 | |||
2019-05-29 | ripper: Ripper::Lexer#scan | Nobuyoshi Nakada | |
* ext/ripper/lib/ripper/lexer.rb (Ripper::Lexer#scan): parses the code and returns the result elements including errors. [EXPERIMENTAL] | |||
2019-05-29 | Colorize compile_error as same as on_parse_error | Nobuyoshi Nakada | |
2019-05-29 | parse.y: flush invalid char | Nobuyoshi Nakada | |
2019-05-29 | Revert "Colorize error part more" | Koichi Sasada | |
This reverts commit c7f3c222c9b82736c993419daa6bfb643e5c0793. | |||
2019-05-29 | Colorize error part more | Nobuyoshi Nakada | |
Colorize `compile_error` parts as well as `on_parse_error` parts. | |||
2019-05-29 | Use IO.copy_stream | aycabta | |
2019-05-29 | Check RUBY_YES_I_AM_NOT_A_NORMAL_USER env to access RubyVM doc | aycabta | |
2019-05-29 | IRB never show RubyVM's doc | aycabta | |
2019-05-29 | Encode completed strings corecctly | aycabta | |
2019-05-28 | Remove unused variable from IRB::InputCompletor | aycabta | |
2019-05-28 | Treat :@1, :@@1, @1, and @@1 correctly to check termination | aycabta | |