summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2019-05-29Colorize compile_error as same as on_parse_errorNobuyoshi Nakada
2019-05-29parse.y: flush invalid charNobuyoshi Nakada
2019-05-29Revert "Colorize error part more"Koichi Sasada
This reverts commit c7f3c222c9b82736c993419daa6bfb643e5c0793.
2019-05-29Colorize error part moreNobuyoshi Nakada
Colorize `compile_error` parts as well as `on_parse_error` parts.
2019-05-29Remove extra items because Reline::HISTORY is a sized queueaycabta
2019-05-29Revert 3b7862c8e88cd7838a53ec083ac5733386400956 causing various CI hangsTakashi Kokubun
and dependent commits c67934b1c3b40dda5f170b032423e520511c68dd and f0d1dc5cee87dfb023cb43a2db9bcdef5a8dee8f. RubyCI and ci.rvm.jp are almost dead by timeout since this commit. --- Revert "Skip a reline test hanging on Wercker since 3b7862c8e8" This reverts commit f0d1dc5cee87dfb023cb43a2db9bcdef5a8dee8f. Revert "Remove extra items because Reline::HISTORY is a sized queue" This reverts commit c67934b1c3b40dda5f170b032423e520511c68dd. Revert "Use existing instances for LineEditor and Config" This reverts commit 3b7862c8e88cd7838a53ec083ac5733386400956.
2019-05-29Use IO.copy_streamaycabta
2019-05-29Check RUBY_YES_I_AM_NOT_A_NORMAL_USER env to access RubyVM docaycabta
2019-05-29IRB never show RubyVM's docaycabta
2019-05-29Encode completed strings corecctlyaycabta
2019-05-29Remove extra items because Reline::HISTORY is a sized queueaycabta
2019-05-29Use existing instances for LineEditor and Configaycabta
2019-05-28Fix condition..."and" is lowest priority operator, than "="aycabta
2019-05-28Use Reline.completer_quote_characters to completeaycabta
2019-05-28Fix reversed row and column get_screen_size on Windowsaycabta
2019-05-28Use Shift+Enter as Meta+Enter on Windowsaycabta
2019-05-28Use VK_MENU instead of VK_LMENU to check ALT on Windowsaycabta
2019-05-28Remove unused variable from IRB::InputCompletoraycabta
2019-05-28Treat :@1, :@@1, @1, and @@1 correctly to check terminationaycabta
2019-05-28Join next line if deletes newline at end of lineaycabta
2019-05-28Exit only when blank inputaycabta
2019-05-28Supress duplicated warningKazuki Tsujimoto
2019-05-28Support OSC and treat \1 \2 correctlyaycabta
2019-05-28Revert "Support OSC and treat \1 \2 correctly"aycabta
This reverts commit 77bfebebc44c5e46ebd156d074081846c037f882.
2019-05-28Support OSC and treat \1 \2 correctlyaycabta
2019-05-27Colorize error partNobuyoshi Nakada
2019-05-27CSI allows empty digit which equals 0Nobuyoshi Nakada
2019-05-27context.rb: hide wrapping linesNobuyoshi 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-27Use IRB::InputMethod#eof? to quitaycabta
2019-05-27Fix rendering bug of ^Daycabta
2019-05-27Move to next of last line by ^Daycabta
2019-05-27Check blank historyaycabta
2019-05-27Move to next of last line by ^Caycabta
2019-05-27Reline should move to next line after finished in Readline modeaycabta
2019-05-27Add support for history with Reline backendSutou Kouhei
2019-05-27Move to the other line when press <- at head or -> at tailaycabta
2019-05-27Implement J to join lines in vi command modeaycabta
2019-05-27Remove \1 and \2 that escape CSI before renderaycabta
2019-05-26Highlight global variable on IRBTakashi Kokubun
2019-05-26Simplify lexer state matching in #dispatch_seqTakashi Kokubun
for improving readability of the condition. It may be slightly faster, or may not.
2019-05-26Refactor IRB color dispatchTakashi 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-27Support op, cvar, iver, gvar and kw that follow on symbeg in IRBaycabta
2019-05-27Support :@@cvar and : on colorizeaycabta
2019-05-26Make the imaginary color on IRB close to pryTakashi Kokubun
and sorted the token names alphabetically.
2019-05-27Fix indexes in comments of vi_insert.rbaycabta
Previous fix was 2993b361333147f6dfb86a153971c22329ffbaf4.
2019-05-27Fix number literal regexp of IRB completionaycabta
2019-05-27Use correctly RI output in IRB completionaycabta
2019-05-26Colorize imaginary and rational literalsNobuyoshi Nakada
2019-05-25Handle keyword symbol in IRB::Color::SymbolStateTakashi Kokubun
2019-05-25Deal with more syntax highlight edge casesTakashi Kokubun
Please refer to the tests again.