| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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 | |
| 2019-05-28 | Supress duplicated warning | Kazuki Tsujimoto | |
| 2019-05-27 | Colorize error part | Nobuyoshi Nakada | |
| 2019-05-27 | context.rb: hide wrapping lines | Nobuyoshi Nakada | |
| * lib/irb/context.rb (IRB::Context#evaluate): separate the code from wrapping lines to propagate the given exception, not to show the wrapping lines when SyntaxError. | |||
| 2019-05-27 | Use IRB::InputMethod#eof? to quit | aycabta | |
| 2019-05-27 | Add support for history with Reline backend | Sutou Kouhei | |
| 2019-05-26 | Highlight global variable on IRB | Takashi Kokubun | |
| 2019-05-26 | Simplify lexer state matching in #dispatch_seq | Takashi Kokubun | |
| for improving readability of the condition. It may be slightly faster, or may not. | |||
| 2019-05-26 | Refactor IRB color dispatch | Takashi Kokubun | |
| The reason why we were checking lexer state in addition to token was that we do not want to colorize local variable, method call, etc., while they share the :on_ident token with a name of method definition which should be colored as blue. It means that we're concerned about the lexer state only for :on_ident. Thus we can skip checking lexer state for non-:on_ident tokens. This refactoring is based on that idea. Also, now we manage Ripper's lexer state as Integer (use `|` if you need to check multiple states). It should be faster than using Array of Integer because #any? block call is not needed. | |||
| 2019-05-27 | Support op, cvar, iver, gvar and kw that follow on symbeg in IRB | aycabta | |
| 2019-05-27 | Support :@@cvar and : on colorize | aycabta | |
| 2019-05-26 | Make the imaginary color on IRB close to pry | Takashi Kokubun | |
| and sorted the token names alphabetically. | |||
| 2019-05-27 | Fix number literal regexp of IRB completion | aycabta | |
| 2019-05-27 | Use correctly RI output in IRB completion | aycabta | |
| 2019-05-26 | Colorize imaginary and rational literals | Nobuyoshi Nakada | |
