summaryrefslogtreecommitdiff
path: root/lib/irb
AgeCommit message (Collapse)Author
2021-09-08[ruby/irb] Show lib name first because it's the most common use caseaycabta
https://github.com/ruby/irb/commit/74d635758b
2021-09-08[ruby/irb] Define absolute_path? by myself for backward compatibilityaycabta
https://github.com/ruby/irb/commit/d9c0dc043e
2021-09-08[ruby/irb] Use gem paths to complete "require"aycabta
https://github.com/ruby/irb/commit/c870b23455
2021-09-06[ruby/irb] Version 1.3.8.pre.8aycabta
https://github.com/ruby/irb/commit/9ff0b1bba0
2021-09-06[ruby/irb] Update dependency, reline >= 0.2.8.pre.8aycabta
https://github.com/ruby/irb/commit/79ad1f5a6d
2021-09-06[ruby/irb] Pass RI options to helpFilip Pyda
https://github.com/ruby/irb/commit/9b98d1afab
2021-09-06[ruby/irb] Add comments for Alt+d key sequencesaycabta
https://github.com/ruby/irb/commit/4cb5f7e546
2021-09-06[ruby/irb] Use multiple trap_keyaycabta
https://github.com/ruby/irb/commit/416abe2524
2021-09-04[ruby/irb] Remove commeted out codeaycabta
https://github.com/ruby/irb/commit/7dda1f803e
2021-09-04[ruby/irb] Show doc at the same height as the autocompletion dialogaycabta
https://github.com/ruby/irb/commit/a9db71e6bc
2021-09-04[ruby/irb] Render properly if both autocomplete and show doc dialogs are ↵aycabta
left of the cursor https://github.com/ruby/irb/commit/0090203107
2021-09-04[ruby/irb] Retrieve completed receiver that is a module or class correctlyaycabta
https://github.com/ruby/irb/commit/b2324727e1
2021-09-04[ruby/irb] Version 1.3.8.pre.7aycabta
https://github.com/ruby/irb/commit/02c4a8d3b6
2021-09-04[ruby/irb] Update dependency, reline >= 0.2.8.pre.7aycabta
https://github.com/ruby/irb/commit/39593fb4d0
2021-09-03[ruby/irb] Use Reline::Key for trap_key in dialog callbackaycabta
https://github.com/ruby/irb/commit/b05ce3c72d
2021-09-03[ruby/irb] Add message to show full docaycabta
https://github.com/ruby/irb/commit/6370a5d974
2021-09-03[ruby/irb] Add Alt+d trap from show doc dialog to show full docaycabta
https://github.com/ruby/irb/commit/368327b082
2021-09-02[ruby/irb] Version 1.3.8.pre.6aycabta
https://github.com/ruby/irb/commit/7dc98df80b
2021-09-02[ruby/irb] Update dependency, reline >= 0.2.8.pre.6aycabta
https://github.com/ruby/irb/commit/7896296ae2
2021-09-02[ruby/irb] Detect the variable class to show docaycabta
https://github.com/ruby/irb/commit/33b9bec954
2021-08-31[ruby/irb] Version 1.3.8.pre.5aycabta
https://github.com/ruby/irb/commit/968422799c
2021-08-31[ruby/irb] Update dependency, reline >= 0.2.8.pre.5aycabta
https://github.com/ruby/irb/commit/657bd3fd12
2021-08-31[ruby/irb] Set the dialog width to render with a fixed widthaycabta
https://github.com/ruby/irb/commit/80c4329643
2021-08-31[ruby/irb] Follow that Dialog#contents_width has been renamed to #widthaycabta
https://github.com/ruby/irb/commit/49a73d929e
2021-08-31[ruby/irb] Make show doc dialog appears on the left at the right edgeaycabta
https://github.com/ruby/irb/commit/6480eddd31
2021-08-31[ruby/irb] Rename a variable "dialog" with "autocomplete_dialog"aycabta
Because it's just used to receive data from the autocomplete dialog, not for show doc dialog. https://github.com/ruby/irb/commit/f8b752bd98
2021-08-31[ruby/irb] Version 1.3.8.pre.4aycabta
https://github.com/ruby/irb/commit/61fe6cfa43
2021-08-31[ruby/irb] Update dependency, reline >= 0.2.8.pre.4aycabta
https://github.com/ruby/irb/commit/24315382d0
2021-08-31[ruby/irb] Use DialogRenderInfoaycabta
https://github.com/ruby/irb/commit/5bc3a72ca3
2021-08-31[ruby/irb] Take dialog to get scroll_topaycabta
https://github.com/ruby/irb/commit/7209082a11
2021-08-31[ruby/irb] Don't show doc when pointer is negativeaycabta
https://github.com/ruby/irb/commit/48af34bfc2
2021-08-30[ruby/irb] Version 1.3.8.pre.3aycabta
https://github.com/ruby/irb/commit/a1fc68abaa
2021-08-30[ruby/irb] [].name to display the doc for Array.nameaycabta
https://github.com/ruby/irb/commit/7c2abc14d8
2021-08-30[ruby/irb] Rescue unknown error to quash crashingaycabta
https://github.com/ruby/irb/commit/92cce941cb
2021-08-30Add --autocomplete / --noautocomplete optionsaycabta
2021-08-30[ruby/irb] Version 1.3.8.pre.2aycabta
https://github.com/ruby/irb/commit/ff111173fd
2021-08-30[ruby/irb] Update dependency, reline >= 0.2.8.pre.3aycabta
https://github.com/ruby/irb/commit/2f1d989d7c
2021-08-30[ruby/irb] Update dependency to "reline >= 0.2.7.pre.2" for ↵aycabta
Reline.autocomplete=() https://github.com/ruby/irb/commit/66178f34b9
2021-08-29[ruby/irb] Version 1.3.8.pre.1aycabta
https://github.com/ruby/irb/commit/9f82ae66fc
2021-08-29[ruby/irb] Update dependency to "reline >= 0.2.7.pre.1" for use dialog ↵aycabta
feature in tests https://github.com/ruby/irb/commit/df04a9a881
2021-08-29[ruby/irb] Rescue NotFoundError of RDoc::RI::Driver#expand_nameaycabta
https://github.com/ruby/irb/commit/c5f13b23d7
2021-08-29[ruby/irb] Add show doc dialog for Relineaycabta
https://github.com/ruby/irb/commit/026700499d
2021-08-12[ruby/irb] Version 1.3.7aycabta
https://github.com/ruby/irb/commit/98610236ec
2021-08-12[ruby/irb] Update dependency, reline >= 0.2.7aycabta
https://github.com/ruby/irb/commit/5a0c8dc9e6
2021-07-23[ruby/irb] Fix #256manga_osyo
Support int that follow on symbeg in IRB https://github.com/ruby/irb/commit/90cb27b1bd
2021-07-20[ruby/irb] Support non-English code page messageaycabta
https://github.com/ruby/irb/commit/e7d71fea46
2021-07-16[ruby/irb] Show code page by irb_info on Windowsaycabta
https://github.com/ruby/irb/commit/6160d74199
2021-07-13[ruby/irb] Add an explanation of default sub commands of "measure", which ↵aycabta
are :time and :stackprof https://github.com/ruby/irb/commit/759be5a344
2021-07-11[ruby/irb] Show LANG and LC_ALL env by irb_infoaycabta
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> https://github.com/ruby/irb/commit/b431742430
2021-07-10[ruby/irb] Pass local variables from workspace binding to lexerJeremy Evans
This fixes at least an issue where irb will incorrectly assume code opens a heredoc when it does not, such as this code: ```ruby s1 = 'testing' s2 = 'this' s2 <<s1 p s1 s1 ``` Ruby parses the `s2 <<s1` as `s2.<<(s1)`, not as a heredoc, because `s2` is a local variable in scope. irb was using ripper without letting ripper know that `s2` was a local variable, so ripper would lex it as a heredoc instead of a method call. Fix the situation by prepending a line at line 0 with all local variable definitions in scope whenever lexing. This fixes the heredoc issue, and potentially other issues that depend on whether an identifier is a local variable or not. Fixes [Bug #17530] https://github.com/ruby/irb/commit/4ed2187f76