Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ignore history file without saving if permissions cannot be changed | Jeremy Evans | 2019-07-27 | 1 | -0/+2 |
| | | | | Fixes [Ruby Bug 13907] | ||||
* | Use JRuby equivalent of RubyVM.compile. | Charles Oliver Nutter | 2019-07-27 | 1 | -1/+6 |
| | | | | | RubyVM is specific to CRuby and not supported on JRuby. This is the equivalent operation. | ||||
* | Some keywords, "true", "false", and "nil" should be treated as a variable | aycabta | 2019-07-20 | 1 | -1/+1 |
| | |||||
* | Fix showing doc of "nil.to_s", nil doesn't have #name | aycabta | 2019-07-19 | 1 | -1/+1 |
| | |||||
* | Require Ruby 2.4 or later because needs lex_state from Ripper | aycabta | 2019-07-15 | 1 | -0/+2 |
| | |||||
* | Change PROMPT_S of simple-prompt | Kazuhiro NISHIYAMA | 2019-07-15 | 1 | -1/+1 |
| | | | | | | | | | | | | When input `"` or `/` with simple-prompt, Before: `"` or `/` (prompt disappeared and indent is changed) After: `"> "` or `/> /` (indent is unchanged since `>> `) | ||||
* | Simplify history saving code | aycabta | 2019-07-15 | 1 | -8/+1 |
| | |||||
* | Use #to_a for Readline::HISTORY directly | aycabta | 2019-07-15 | 1 | -1/+1 |
| | |||||
* | Add lib/irb/color.rb to destribution file list | aycabta | 2019-07-15 | 1 | -1/+1 |
| | |||||
* | Remove debug print | aycabta | 2019-07-15 | 1 | -1/+0 |
| | |||||
* | Support multiline irb_history | aycabta | 2019-07-15 | 1 | -2/+18 |
| | | | | | A history line ends with "\" to escape newline if it's a continuous line. | ||||
* | Save history in IRB is enabled by default | aycabta | 2019-07-15 | 1 | -1/+1 |
| | |||||
* | Auto indent in IRB is enabled by default | aycabta | 2019-07-15 | 2 | -5/+5 |
| | |||||
* | Version 1.1.0.pre.2 | aycabta | 2019-07-15 | 1 | -2/+2 |
| | |||||
* | Need reline-0.0.1 or later for some features | aycabta | 2019-07-15 | 1 | -1/+1 |
| | |||||
* | Suppress warnings | Masataka Pocke Kuwabara | 2019-07-15 | 3 | -2/+6 |
| | |||||
* | Fix showing document of ClassName.method_name in IRB | aycabta | 2019-07-06 | 1 | -1/+1 |
| | | | | | | 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. | ||||
* | Check code_block_open for whether code continues | aycabta | 2019-07-03 | 1 | -2/+2 |
| | |||||
* | Keyword token that follows EXPR_FNAME must be a method name | aycabta | 2019-07-02 | 1 | -3/+6 |
| | |||||
* | Remove auto indent of continuation line | aycabta | 2019-06-28 | 1 | -3/+0 |
| | |||||
* | Removed unused variable | Nobuyoshi Nakada | 2019-06-28 | 1 | -1/+1 |
| | |||||
* | EXPR_LABEL also indicates non-continuation line | aycabta | 2019-06-27 | 1 | -1/+1 |
| | | | | | | | | | Example: [ 1, # this is not continuation line 2 ] | ||||
* | bc mode is already removed [ci skip] | Kazuhiro NISHIYAMA | 2019-06-27 | 2 | -2/+2 |
| | |||||
* | EXPR_CMDARG also indicates the end of an expression | aycabta | 2019-06-27 | 1 | -1/+1 |
| | |||||
* | Increase indent of continuation line | aycabta | 2019-06-27 | 1 | -0/+3 |
| | | | | | v = 3 # auto indent | ||||
* | Decrease nesting level when closing token comes at a non-first token of line | aycabta | 2019-06-26 | 1 | -0/+2 |
| | |||||
* | `ensure` is not a continuos line | Nobuyoshi Nakada | 2019-06-26 | 1 | -1/+1 |
| | |||||
* | Decrease indent at "elsif" too | Nobuyoshi Nakada | 2019-06-26 | 1 | -2/+2 |
| | |||||
* | Remove other debug prints | Nobuyoshi Nakada | 2019-06-26 | 1 | -3/+0 |
| | |||||
* | Remove debug print...sorry | aycabta | 2019-06-26 | 1 | -2/+0 |
| | |||||
* | Treat auto indent with newline correctly | aycabta | 2019-06-25 | 1 | -10/+42 |
| | |||||
* | Decrease indent when "else", "rescue", "ensure", "when", or "in" come | aycabta | 2019-06-25 | 1 | -0/+2 |
| | |||||
* | Refactor calculation of corresponding token depth | aycabta | 2019-06-25 | 1 | -18/+33 |
| | |||||
* | Treat closing token with starting token at head of 2nd line correctly | aycabta | 2019-06-22 | 1 | -1/+1 |
| | | | | | | | v = if true # starting token at head of 2nd line 3 end # closing token | ||||
* | Do auto indent only when closing token at first of line | aycabta | 2019-06-22 | 1 | -4/+16 |
| | | | | | if true 3; end # this isn't auto-indented | ||||
* | Support irregular auto indent | aycabta | 2019-06-21 | 1 | -8/+24 |
| | | | | | | | v = if true 3 end # this "end" is auto-indented correctly | ||||
* | Use IRB.conf[:AUTO_INDENT] setting in multiline mode | aycabta | 2019-06-19 | 2 | -18/+21 |
| | |||||
* | Fix auto indent crash when blank input | aycabta | 2019-06-18 | 1 | -1/+2 |
| | |||||
* | Implement auto indent for multiline | aycabta | 2019-06-18 | 2 | -2/+44 |
| | |||||
* | Implement line_no correctly | aycabta | 2019-06-16 | 1 | -3/+3 |
| | |||||
* | Use Reline.prompt_proc in IRB | aycabta | 2019-06-14 | 2 | -6/+28 |
| | |||||
* | make sync-default-gems GEM=irb | Takashi Kokubun | 2019-06-13 | 3 | -29/+44 |
| | | | | | | Upgrade IRB to https://github.com/ruby/irb/commit/41ea43a4a732e094acfa1b0fc1473fdcda9e6227 Mostly backport changes. | ||||
* | Ripper::Lexer: fallback parse error token to the previous one | Nobuyoshi Nakada | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | Treat "begin rescue end" correctly | aycabta | 2019-06-12 | 1 | -1/+1 |
| | |||||
* | irb/cmd/help.rb: return nil after the redefinition | Nobuyoshi Nakada | 2019-06-10 | 1 | -0/+1 |
| | |||||
* | irb: defer requiring rdoc to improve the start up time | Nobuyoshi Nakada | 2019-06-10 | 2 | -7/+10 |
| | |||||
* | Reflect behavior changes to argument name | Takashi Kokubun | 2019-06-04 | 1 | -3/+3 |
| | | | | | 0c459af7c233adb5f44022350bfe8fa132d8053e changed the meaning of `detect_compile_error`, and this commit lets it follow the change. | ||||
* | colorize_code must return escaped text | Takashi Kokubun | 2019-06-04 | 1 | -1/+3 |
| | | | | | This was needed before 0c459af7c233adb5f44022350bfe8fa132d8053e but it could be actually useless now. But I added this anyway just in case. | ||||
* | Colorize error characters | Nobuyoshi Nakada | 2019-06-04 | 1 | -29/+15 |
| | | | | | | * 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. | ||||
* | Bump irb version to 1.1.0.pre.1. | Hiroshi SHIBATA | 2019-05-31 | 1 | -2/+2 |
| | | | | Becausee the current irb support reline and have many of changes. |