summaryrefslogtreecommitdiff
path: root/lib/irb
AgeCommit message (Collapse)Author
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
2019-07-02Keyword token that follows EXPR_FNAME must be a method nameaycabta
2019-06-28Remove auto indent of continuation lineaycabta
2019-06-28Removed unused variableNobuyoshi Nakada
2019-06-27EXPR_LABEL also indicates non-continuation lineaycabta
Example: [ 1, # this is not continuation line 2 ]
2019-06-27bc mode is already removed [ci skip]Kazuhiro NISHIYAMA
2019-06-27EXPR_CMDARG also indicates the end of an expressionaycabta
2019-06-27Increase indent of continuation lineaycabta
v = 3 # auto indent
2019-06-26Decrease nesting level when closing token comes at a non-first token of lineaycabta
2019-06-26`ensure` is not a continuos lineNobuyoshi Nakada
2019-06-26Decrease indent at "elsif" tooNobuyoshi Nakada
2019-06-26Remove other debug printsNobuyoshi Nakada
2019-06-26Remove debug print...sorryaycabta
2019-06-25Treat auto indent with newline correctlyaycabta
2019-06-25Decrease indent when "else", "rescue", "ensure", "when", or "in" comeaycabta
2019-06-25Refactor calculation of corresponding token depthaycabta
2019-06-22Treat closing token with starting token at head of 2nd line correctlyaycabta
v = if true # starting token at head of 2nd line 3 end # closing token