| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-05-28 | Use Shift+Enter as Meta+Enter on Windows | aycabta | |
| 2019-05-28 | Use VK_MENU instead of VK_LMENU to check ALT on Windows | 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 | Join next line if deletes newline at end of line | aycabta | |
| 2019-05-28 | Exit only when blank input | aycabta | |
| 2019-05-28 | Supress duplicated warning | Kazuki Tsujimoto | |
| 2019-05-28 | Support OSC and treat \1 \2 correctly | aycabta | |
| 2019-05-28 | Revert "Support OSC and treat \1 \2 correctly" | aycabta | |
| This reverts commit 77bfebebc44c5e46ebd156d074081846c037f882. | |||
| 2019-05-28 | Support OSC and treat \1 \2 correctly | aycabta | |
| 2019-05-27 | Colorize error part | Nobuyoshi Nakada | |
| 2019-05-27 | CSI allows empty digit which equals 0 | 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 | Fix rendering bug of ^D | aycabta | |
| 2019-05-27 | Move to next of last line by ^D | aycabta | |
| 2019-05-27 | Check blank history | aycabta | |
| 2019-05-27 | Move to next of last line by ^C | aycabta | |
| 2019-05-27 | Reline should move to next line after finished in Readline mode | aycabta | |
| 2019-05-27 | Add support for history with Reline backend | Sutou Kouhei | |
| 2019-05-27 | Move to the other line when press <- at head or -> at tail | aycabta | |
| 2019-05-27 | Implement J to join lines in vi command mode | aycabta | |
| 2019-05-27 | Remove \1 and \2 that escape CSI before render | aycabta | |
| 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 indexes in comments of vi_insert.rb | aycabta | |
| Previous fix was 2993b361333147f6dfb86a153971c22329ffbaf4. | |||
| 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 | |
| 2019-05-25 | Handle keyword symbol in IRB::Color::SymbolState | Takashi Kokubun | |
| 2019-05-25 | Deal with more syntax highlight edge cases | Takashi Kokubun | |
| Please refer to the tests again. | |||
| 2019-05-25 | Fix more unintended syntax highlights | Takashi Kokubun | |
| See tests for what kind of things are fixed. | |||
| 2019-05-25 | Always color Symbol as Yellow on IRB::Color | Takashi Kokubun | |
| Symbol color was made blue as a workaround because it was hard to distinguish `foo`s in `:foo` and `def foo; end` (both are :on_ident). But I wanted to make it yellow like pry. `:Struct` had the same problem in :on_const. Because the :on_const was also blue (but underlined and bold), it was not a big issue. While they're not so problematic since we got a workaround, we also had a more serious issue for highlighting a symbol like `:"a#{b}c"`. The first half was considered as Symbol and the last half was considered as String, because the colorizer did not have a state like a parser. To approach the last issue, I introduced `IRB::Color::SymbolState` which is a thin state manager knowing only "the token is Symbol or not". Having this module magically solves the first two problems as well. So now we can highlight Symbol as yellow in the perfect manner. | |||
| 2019-05-25 | Colorize empty embexpr more on IRB::Color | Takashi Kokubun | |
| 2019-05-26 | Fix completion menu state calculation | aycabta | |
| 2019-05-26 | Fix indexes in comments | Nobuyoshi Nakada | |
| 2019-05-25 | Support some unhandled syntax highlight | Takashi Kokubun | |
| Heredoc, %i, :Foo, { 'a': ... }, ... :'a' is still half-broken. | |||
| 2019-05-26 | Use Reline.completer_word_break_characters to complete | aycabta | |
| 2019-05-25 | Clear IRB::Color escape sequence before newline | Takashi Kokubun | |
| because otherwise prompt and other things could be polluted. | |||
| 2019-05-25 | Add and use Reline::Unicode.escape_for_print | Takashi Kokubun | |
| 2019-05-25 | Respect --nocolorize on REPL source highlight | Takashi Kokubun | |
| 2019-05-25 | Drop method obsoleted by b83119be9e9a8611063142541993e4823a025622 | Takashi Kokubun | |
| We might need to do the same thing in IRB::Color now, but I'm not doing that as I assume ANSI escape sequence does not come from a user input though Reline. | |||
| 2019-05-24 | Incremental syntax highlight for IRB source lines | Takashi Kokubun | |
| Closes: https://github.com/ruby/ruby/pull/2202 | |||
| 2019-05-25 | JSON like label ends by differs from the start | aycabta | |
| pp Ripper.lex('{ "a": 3 }') => [[[1, 0], :on_lbrace, "{", EXPR_BEG|EXPR_LABEL], [[1, 1], :on_sp, " ", EXPR_BEG|EXPR_LABEL], [[1, 2], :on_tstring_beg, "\"", EXPR_BEG|EXPR_LABEL], [[1, 3], :on_tstring_content, "a", EXPR_BEG|EXPR_LABEL], [[1, 4], :on_label_end, "\":", EXPR_BEG|EXPR_LABEL], [[1, 6], :on_sp, " ", EXPR_BEG|EXPR_LABEL], [[1, 7], :on_int, "3", EXPR_END], [[1, 8], :on_sp, " ", EXPR_END], [[1, 9], :on_rbrace, "}", EXPR_END]] | |||
| 2019-05-25 | Fix wrong variable name | aycabta | |
| 2019-05-25 | Add round-robin variable | aycabta | |
