summaryrefslogtreecommitdiff
path: root/lib/irb
AgeCommit message (Collapse)Author
2019-11-21Version 1.1.0aycabta
2019-11-21Add a warning message and --legacy of an alias of --singlelineaycabta
2019-11-21Refactor filter_backtraceY. Ushiki
2019-11-21Fix filter_backtrace for context-mode 0Y. Ushiki
2019-11-21Use singleline/multiline instead of readline/reidlineaycabta
2019-11-20Replace typo "bock" with "block"aycabta
2019-11-20A preceding token of "do" of block has EXPR_CMDARG or EXPR_ENDFNaycabta
meth do # the preceding token of "do" has EXPR_CMDARG end meth() do # the preceding token of "do" has EXPR_ENDFN end
2019-11-20Number sign comment (# bla bla) is a kind of newline characteraycabta
2019-11-20Generate history file path correctly when $HOME/.irbrc doesn't existaycabta
2019-11-17[ruby/irb] Remove ruby-token.rb from spec.filesaycabta
https://github.com/ruby/irb/commit/0180dc74bc
2019-11-17[ruby/irb] Version 1.1.0.pre.4aycabta
https://github.com/ruby/irb/commit/4945d0e676
2019-11-13Suppress warnings except for when last evaluationaycabta
Co-authored-by: Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
2019-11-11Remove ruby-token.rbaycabta
2019-11-10qsymbols and symbols should be colored as SymbolTakashi Kokubun
2019-11-10Colorize on_symbols_beg (%I)Takashi Kokubun
2019-11-10Colorize string quotes as boldTakashi Kokubun
like pry
2019-10-26IRB: Document command evaluation history.zverok
Notes: Merged: https://github.com/ruby/ruby/pull/2615
2019-10-24Remove unsused output_method argumentJeremy Evans
Fixes Ruby Bug 9876.
2019-10-15Fixed the key to delete [Bug #16250]Nobuyoshi Nakada
https://github.com/ruby/ruby/commit/f94202fcc228d0348ca050a7b18a8f8a538a7305#commitcomment-35505076 Co-Authored-By: Ary Borenszweig <asterite@gmail.com>
2019-10-15Use compare_by_identity hash [Bug #16250]Nobuyoshi Nakada
2019-10-14Simplify circular reference check of IRB::ColorTakashi Kokubun
2019-10-14IRB colorize: take into account recursive arrays and hashes (#2555)Ary Borenszweig
[Bug #16250]
2019-09-16Folded files in gemspecNobuyoshi Nakada
2019-09-01IRB 1.1.0.pre.3aycabta
2019-08-28Adjusted indents and supplied last commasNobuyoshi Nakada
Fixed unmatched indent of the closing bracket for `:irb_current_working_workspace`, and adjusted following elements.
2019-08-27Handle binding.irb for frozen objects and BasicObjects using a delegateJeremy Evans
Fixes Ruby Bug 13264
2019-08-27Move private call without arguments inside methodJeremy Evans
This code did not have the desired effect. I'm not sure if irb_binding is supposed to be private or not. If not, the private call can just be removed.
2019-08-22IRB's multiline history is enable only when Reidline modeaycabta
2019-08-20Treat two types "do" correctlyaycabta
A "do" what has followed a token what has EXPR_CMDARG is for a block, and in other cases "do" is for "while", "until" or "for".
2019-08-16Don't echo results of assignment expressionsSteven Willis
2019-08-06Revert "Don't echo results of assignment expressions"aycabta
This reverts commit 1ee88c51b3c319b74b69540e111e4a1c24833cad.
2019-08-06Don't echo results of assignment expressionsSteven Willis
2019-07-27Ignore history file without saving if permissions cannot be changedJeremy Evans
Fixes [Ruby Bug 13907]
2019-07-27Use JRuby equivalent of RubyVM.compile.Charles Oliver Nutter
RubyVM is specific to CRuby and not supported on JRuby. This is the equivalent operation.
2019-07-20Some keywords, "true", "false", and "nil" should be treated as a variableaycabta
2019-07-19Fix showing doc of "nil.to_s", nil doesn't have #nameaycabta
2019-07-15Require Ruby 2.4 or later because needs lex_state from Ripperaycabta
2019-07-15Change PROMPT_S of simple-promptKazuhiro NISHIYAMA
When input `"` or `/` with simple-prompt, Before: `"` or `/` (prompt disappeared and indent is changed) After: `"> "` or `/> /` (indent is unchanged since `>> `)
2019-07-15Simplify history saving codeaycabta
2019-07-15Use #to_a for Readline::HISTORY directlyaycabta
2019-07-15Add lib/irb/color.rb to destribution file listaycabta
2019-07-15Remove debug printaycabta
2019-07-15Support multiline irb_historyaycabta
A history line ends with "\" to escape newline if it's a continuous line.
2019-07-15Save history in IRB is enabled by defaultaycabta
2019-07-15Auto indent in IRB is enabled by defaultaycabta
2019-07-15Version 1.1.0.pre.2aycabta
2019-07-15Need reline-0.0.1 or later for some featuresaycabta
2019-07-15Suppress warningsMasataka Pocke Kuwabara
2019-07-06Fix showing document of ClassName.method_name in IRBaycabta
In IRB, Time.new is split as "Time", ".", and "new". The receiver "Time" is processed by #class method but it means that "Time" changes to "Class". This commit fixes it.
2019-07-03Check code_block_open for whether code continuesaycabta