summaryrefslogtreecommitdiff
path: root/lib/irb
AgeCommit message (Collapse)Author
2020-09-19[ruby/irb] Version 1.2.7aycabta
https://github.com/ruby/irb/commit/0eaa06838b
2020-09-19[ruby/irb] Drop OMIT_ON_ASSIGNMENT and add :truncate option for ↵aycabta
ECHO_ON_ASSIGNMENT https://github.com/ruby/irb/commit/4c89b0775b
2020-09-14[ruby/irb] Version 1.2.6aycabta
https://github.com/ruby/irb/commit/5a7dd8c3bf
2020-09-14[ruby/irb] Need calculate_width and split_by_width of Reline::Unicode of ↵aycabta
reline 0.1.5 or later https://github.com/ruby/irb/commit/c05bc9e595
2020-09-14[ruby/irb] Add OMIT_ON_ASSIGNMENTaycabta
Omit the results evaluated at assignment if they are too long. The behavior of ECHO_ON_ASSIGNMENT being on by default is hard to understand, so I change it to off by default. Instead, we turn OMIT_ON_ASSIGNMENT on by default. The result is displayed on assignment, but it will always be short and within one line of the screen. https://github.com/ruby/irb/commit/c5ea79d5ce
2020-09-14[ruby/irb] Version 1.2.5aycabta
https://github.com/ruby/irb/commit/07beb3964d
2020-08-28[ruby/irb] Discard newlines at end of fileaycabta
https://github.com/ruby/irb/commit/0b2773d91d
2020-08-18Update the license for the default gems to dual licensesHiroshi SHIBATA
2020-08-18[ruby/irb] Support shortening lambda notetion for nesting level of promptaycabta
https://github.com/ruby/irb/commit/f1a775af47
2020-08-18[ruby/irb] Support shortening lambda notationaycabta
https://github.com/ruby/irb/commit/8e3f81d428
2020-08-18[ruby/irb] Expand path to run separated test correctlyaycabta
https://github.com/ruby/irb/commit/be2937abd5
2020-08-18[ruby/irb] Workaround a bug of ruby-mode.elNobuyoshi Nakada
https://github.com/ruby/irb/commit/6dfd59400d
2020-08-18[ruby/irb] Yet another unnecessary readlineNobuyoshi Nakada
https://github.com/ruby/irb/commit/933841af11
2020-08-18[ruby/irb] Directly check if the method is available instead of versionNobuyoshi Nakada
https://github.com/ruby/irb/commit/3ea9fd9ed0
2020-08-18[ruby/irb] Get rid of loading readline unnecessarilyNobuyoshi Nakada
https://github.com/ruby/irb/commit/420e7d2270
2020-08-18[ruby/irb] Prefer require_relative to load the files in this libraryNobuyoshi Nakada
https://github.com/ruby/irb/commit/0ac3bc7296
2020-08-18[ruby/irb] Make history infinite if set SAVE_HISTORY to negativeaycabta
https://github.com/ruby/irb/commit/824473e880
2020-08-18[ruby/irb] Suppress crash when bignum is set to SAVE_HISTORYaycabta
https://github.com/ruby/irb/commit/5044eb2730
2020-08-18[ruby/irb] Symbol.all_symbols was adopted by Ruby 1.8.0 or lateraycabta
https://github.com/ruby/irb/commit/71ba754e8e
2020-08-18[ruby/irb] Support oneline method definitionaycabta
https://github.com/ruby/irb/commit/826ae909c9
2020-07-23Suppress "assigned but unused variable" warningsYusuke Endoh
2020-07-22Add require 'irb/ruby-lex' to use RubyLexaycabta
2020-07-22[ruby/irb] handle rescue modifier properlyNobuhiro IMAI
https://github.com/ruby/irb/commit/6de1341f5e
2020-07-22[ruby/irb] Fix error when `inspect` is called but not found in inspectorMasataka Pocke Kuwabara
https://github.com/ruby/irb/commit/ce6d53e6d9
2020-07-22[ruby/irb] Simplify RubyLex.compile_with_errors_suppressedaycabta
nobu-san reviewed, https://github.com/ruby/irb/pull/106#pullrequestreview-423400033 > How about lexer = Ripper::Lexer.new(";\n#{code}", nil, 0)? > Encoding pragma is effective only at the beginning. > And the semicolon and newline will be skipped because the position is before > the initial pos. I employ the way. Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> https://github.com/ruby/irb/commit/e593cc65b7
2020-07-22[ruby/irb] Suppress incomplete encoding magic comment erroraycabta
https://github.com/ruby/irb/commit/443e90af80
2020-07-22[ruby/irb] Suppress incomplete coding magic comment erroraycabta
https://github.com/ruby/irb/commit/6a457edbd1
2020-05-17[ruby/irb] Version 1.2.4aycabta
https://github.com/ruby/irb/commit/d7c5fb0273
2020-04-29[ruby/irb] Suppress "method redefined" warningaycabta
https://github.com/ruby/irb/commit/5f0aee56fa
2020-04-29[ruby/irb] Check existence of rc files in irb_info commandaycabta
https://github.com/ruby/irb/commit/cdbb9dfc9f
2020-04-29[ruby/irb] Add irb_info commandaycabta
https://github.com/ruby/irb/commit/a6fe58e916
2020-04-23Support XDG_* (#2174)Hiroshi SHIBATA
* Support XDG_CONFIG_HOME for gemrc. * Support XDG_DATA_HOME for .gem * Added test for XDG_DATA_HOME * Do not reuse environmental variable. * Unify .rdoc path to RDoc.home. * Support XDG_DATA_HOME for .rdoc * Ignore exists? * Extracted config_home path * Use XDG_CONFIG_HOME for default credential path * Fixed inconsistency location. * Fixed the broken tests. * Support XDG_CONFIG_HOME for irbrc * Introduce Gem.cache_home as XDG_CACHE_HOME * Use Gem.cache_home instead of Gem.config_home for the credential file of RubyGems. * Initialized the old configurations * Fixed test failure related the configuration initialization * restore XDG_DATA_HOME * Fixed the broken examples of bundler with XDG_* * Do not modify environmental variable on test file * Use XDG_DATA_HOME insted of XDG_CACHE_HOME for credential file * stub out Gem.data_home * Move dir accessor to defaults.rb file * Use XDG_DATA_HOME for signed gem features * Use XDG_DATA_HOME for spec cache * Do not rely on Gem.user_home * Gem.user_home is always exists. Don't need to use FileUitls.mkdir_p * Bump support version to RubyGems 3.2.0+ * Removed the needless fallback configuration * Fixed the inconsistency methods that are find_config_file and config_file * Use Gem.configuration.credentials_path instead of hard-coded path * gem_path is always provided * Removed the duplicated code of find_home * Also removed the duplicated code of user_home * use Gem::UNTAINT instead of untaint for surpressing the warnings * Use File.directory * Restore XDG_DATA_HOME * Use File.write Notes: Merged-By: hsbt <hsbt@ruby-lang.org>
2020-04-07[DOC] get rid of parsing as TIDYLINK unintentionallyNobuyoshi Nakada
2020-03-29[ruby/irb] Require jruby lib to get JRuby.compile_irCharles Oliver Nutter
https://github.com/ruby/irb/commit/dc59afe4f6
2020-03-26[ruby/irb] Suppress crashing when EncodingError has occurred without linenoaycabta
https://github.com/ruby/irb/commit/13572d8cdc
2020-03-26[ruby/irb] Unnamed groups are not captured when named groups are usedNobuyoshi Nakada
https://github.com/ruby/irb/commit/0a641a69b0
2020-03-03Ignore incompatible convert of symbolsKoichi Sasada
2020-03-03Convert incompatible encoding symbol namesaycabta
2020-02-17[ruby/irb] Version 1.2.3aycabta
https://github.com/ruby/irb/commit/dd56e06df5
2020-02-15[ruby/irb] fix reserved words and completion for themNobuhiro IMAI
https://github.com/ruby/irb/commit/6184b227ad
2020-02-15[ruby/irb] Include easter-egg.rb in gemspecNick Lewis
`irb` doesn't run because this file isn't included in the gem. https://github.com/ruby/irb/commit/73cda56d25
2020-02-15[ruby/irb] Version 1.2.2aycabta
https://github.com/ruby/irb/commit/a71753f15a
2020-02-12[ruby/irb] Use 0.step instead of (..0).each for Ruby 2.5aycabta
https://github.com/ruby/irb/commit/5d628ca40e
2020-02-12[ruby/irb] Fix auto indent with closed braceaycabta
A closed brace in auto-indent shouldn't affect the next brace in the same line, but it behaves like below: p() { } It's a bug. https://github.com/ruby/irb/commit/fbe59e344f
2020-02-12[ruby/irb] Check doc namespace correctlyaycabta
IRB::InputCompletor::PerfectMatchedProc crashes when doc not found because a variable name was incorrect. https://github.com/ruby/irb/commit/889fd4928f
2020-02-02[ruby/irb] Exclude useless files from RDocNobuyoshi Nakada
https://github.com/ruby/irb/commit/8f1ab2400c
2020-02-02[ruby/irb] Add a new easter egg: dancing rubyYusuke Endoh
https://github.com/ruby/irb/commit/e37dc7e58e
2020-02-01[ruby/irb] Exclude useless files from RDocNobuyoshi Nakada
2020-01-21[ruby/irb] Add newline_before_multiline_outputKenta Murata
https://github.com/ruby/irb/commit/9eb1801a66
2020-01-20[ruby/irb] Fix compatibility with rails before 5.2Lars Kanis
Rails before 5.2 added Array#append as an alias to Array#<< , so that it expects only one argument. However ruby-2.5 added Array#append as an alias to Array#push which takes any number of arguments. If irb completion is used in `rails c` (for example "IO.<tab>") it fails with: irb/completion.rb:206:in `<<': wrong number of arguments (given 3, expected 1) (ArgumentError) Using Array#push instead of Array#append fixes compatibility. https://github.com/ruby/irb/commit/5b7bbf9c34