summaryrefslogtreecommitdiff
path: root/lib/irb
AgeCommit message (Collapse)Author
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
2021-07-01[ruby/irb] Update ls.rb without requiring Set, because Set is one of ↵Keiko Kaneko
standard libraries https://github.com/ruby/irb/commit/7092ad2ab5
2021-06-30[ruby/irb] Rescue a specific errorTakashi Kokubun
Rescuing StandardError is prone to bugs caused by a typo or obsoleted methods. https://github.com/ruby/irb/commit/eb5260fcd5
2021-06-30[ruby/irb] Fix error on `ls object_cant_define_singleton`Masataka Pocke Kuwabara
such as `ls 42`, `ls :sym` and so on https://github.com/ruby/irb/commit/b1d436a853
2021-06-27[ruby/irb] Optimize show_source command furtherTakashi Kokubun
https://github.com/ruby/irb/pull/249 actually slowed down how `code` is concatenated. The original way of creating `code` is faster. [before] user system total real 2.420137 0.005364 2.425501 ( 2.426264) [after] user system total real 1.000221 0.007454 1.007675 ( 1.008295) Theoretically, this implementation might skip lines that don't appear in Ripper tokens, but this assumes such lines don't impact whether the code passes compilation or not. At least normal blank lines seem to have an `on_ignored_nl` token anyway though. https://github.com/ruby/irb/commit/27dd2867cd
2021-06-27[ruby/irb] Improve performance of `show_source` for large classMasataka Pocke Kuwabara
https://github.com/ruby/irb/commit/2b79e9ad21
2021-06-22[ruby/irb] Sort ls result ordered by anscestryKeiko Kaneko
https://github.com/ruby/irb/commit/fdd5c0a71e
2021-06-21[ruby/irb] Improve stackprof measureUlysse Buonomo
Allow usage of more detailed args when setting stackprof callback. Signed-off-by: Ulysse Buonomo <buonomo.ulysse@gmail.com> https://github.com/ruby/irb/commit/c9d101f450
2021-06-21[ruby/irb] Version 1.3.6aycabta
https://github.com/ruby/irb/commit/75aa8d159b
2021-05-24[ruby/irb] respect NO_COLOR environment variableMark Delk
When `NO_COLOR` is set to any non-nil value, output is not colorized. See https://no-color.org/ https://github.com/ruby/irb/commit/401d0916fe
2021-05-15[ruby/irb] IRB should use the latest Reline, 0.2.5aycabta
https://github.com/ruby/irb/commit/34496e20e8
2021-05-08[ruby/irb] Dump ancestors' methods by ls commandMasataka Pocke Kuwabara
https://github.com/ruby/irb/commit/73edff287c
2021-04-30[ruby/irb] Need reline >= 0.1.6ima1zumi
irb 1.3.5 need reline >= 0.1.6 because irb use `Reline::IOGate.in_pasting?`. This method defined after reline 0.1.6. fix #228. https://github.com/ruby/irb/commit/6b7b8fc324
2021-04-26[ruby/irb] Added `colorable` keyword optionNobuyoshi Nakada
Currently `IRB::Color.colorize` and `IRB::Color.colorize_code` refer `$stdin.tty?` internally. This patch adds `colorable` keyword option which overrides it. https://github.com/ruby/irb/commit/402e3f1907
2021-04-26[ruby/irb] Fix typo ture -> true [ci skip]Ryuta Kamizono
https://github.com/ruby/irb/commit/783a0569e8
2021-04-08[ruby/irb] Moved development dependencies to GemfileNobuyoshi Nakada
As expressions in a gemspec file are evaluated at the build time, but not the run time, the conditional in the gemspec will not work as intended. https://github.com/ruby/irb/commit/42f364ea23
2021-04-08[ruby/irb] Ripper::Lexer::Elem#state is defined since Ruby 2.5Nobuyoshi Nakada
And the required ruby version is 2.5 or later. https://github.com/ruby/irb/commit/ac496d4c78
2021-04-04[ruby/irb] Check WITH_VTERM env to add vterm gem as dependencyaycabta
https://github.com/ruby/irb/commit/23c8b73cb1
2021-04-03[ruby/irb] Use vterm 0.0.5 or newer on Unix like OSes because suppresses SEGVaycabta
https://github.com/ruby/irb/commit/b034bd22b0
2021-04-03[ruby/irb] Use yamatanooroti gem for testsaycabta
https://github.com/ruby/irb/commit/f053f49c29