aboutsummaryrefslogtreecommitdiffstats
path: root/lib/irb/ext
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/irb] Discard newlines at end of fileaycabta2020-08-286-8/+0
| | | | https://github.com/ruby/irb/commit/0b2773d91d
* [ruby/irb] Workaround a bug of ruby-mode.elNobuyoshi Nakada2020-08-181-1/+1
| | | | https://github.com/ruby/irb/commit/6dfd59400d
* [ruby/irb] Yet another unnecessary readlineNobuyoshi Nakada2020-08-181-2/+0
| | | | https://github.com/ruby/irb/commit/933841af11
* [ruby/irb] Make history infinite if set SAVE_HISTORY to negativeaycabta2020-08-181-2/+2
| | | | https://github.com/ruby/irb/commit/824473e880
* [ruby/irb] Suppress crash when bignum is set to SAVE_HISTORYaycabta2020-08-181-1/+6
| | | | https://github.com/ruby/irb/commit/5044eb2730
* [DOC] get rid of parsing as TIDYLINK unintentionallyNobuyoshi Nakada2020-04-071-1/+1
|
* Use Reline.encoding_system_needs if existsaycabta2020-01-141-2/+2
|
* Remove e2mmap dependencyaycabta2019-11-251-7/+7
|
* Remove debug code...aycabta2019-11-241-1/+0
|
* Disable tracer ext of IRB when tracer doesn't foundaycabta2019-11-241-1/+15
|
* IRB: Document command evaluation history.zverok2019-10-261-8/+45
|
* IRB's multiline history is enable only when Reidline modeaycabta2019-08-221-1/+1
|
* Ignore history file without saving if permissions cannot be changedJeremy Evans2019-07-271-0/+2
| | | | Fixes [Ruby Bug 13907]
* Simplify history saving codeaycabta2019-07-151-8/+1
|
* Use #to_a for Readline::HISTORY directlyaycabta2019-07-151-1/+1
|
* Remove debug printaycabta2019-07-151-1/+0
|
* Support multiline irb_historyaycabta2019-07-151-2/+18
| | | | | A history line ends with "\" to escape newline if it's a continuous line.
* Suppress warningsMasataka Pocke Kuwabara2019-07-153-2/+6
|
* Add support for history with Reline backendSutou Kouhei2019-05-271-4/+6
|
* lib/*: Prefer require_relative over require.marcandre2018-11-021-2/+2
| | | | | | [#15206] [Fix GH-1976] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Remove unnecessary `require 'thread'`kazu2017-10-081-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Removed math mode from irb.hsbt2017-04-201-48/+0
| | | | | | mathn is deprecated from Ruby 2.2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ext/save-history.rb: Fix NoMethodError when method is not defined.hsbt2016-04-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ext/save-history.rb: suppress warning: method redefined;naruse2016-04-141-0/+1
| | | | | | discarding old save_history=. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add frozen_string_literal: false for all filesnaruse2015-12-169-0/+9
| | | | | | When you change this to true, you may need to add more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/e2mmap.rb: remove needless instance variables.hsbt2014-08-244-4/+0
| | | | | | | | * lib/irb.rb: ditto. * lib/irb/**/*.rb: ditto. * lib/shell.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ext/multi-irb.rb: fixed indent.hsbt2014-08-101-69/+69
| | | | | | * lib/irb/output-method.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ext/multi-irb.rb: removed commented-out code.hsbt2014-08-101-19/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb: removed commented-out code.hsbt2014-08-095-44/+1
| | | | | | * lib/irb/**/*.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cmath.rb: fixed indent.hsbt2014-08-099-169/+169
| | | | | | | * lib/drb/ssl.rb: ditto. * lib/irb/**/*.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb, lib/irb/ext/save-history.rb: Add documentation on how tozzak2013-02-041-0/+7
| | | | | | | enabled irb history [ruby-core:51347] [Bug #7679] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ext/save-history.rb: identify rightly a status of akeiju2013-01-151-1/+1
| | | | | | | | | history file that already exists [Bug #7694]. Thanks Nobuhiro IMAI for this patch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ext/save-history.rb: outputs its history tokeiju2013-01-141-1/+12
| | | | | | | | | owner-only-readable file and change the permission of a file that already exists [Bug #7694]. Thanks Nobuhiro IMAI for bug reports. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ext/math-mode.rb: make not able to change math-modekeiju2012-12-261-1/+1
| | | | | | | | after irb starting [Bug #6302]. Patched by sho-h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb, lib/irb/*: Documentation for IRBzzak2012-12-218-10/+80
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb*: merge doc from doc/irb/ird.rd and improve overallzzak2012-12-137-5/+56
| | | | | | | | documentation of IRB * doc/irb/irb.rd: remove stale documentation git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/*.rb: Remove unused variable warnings.marcandre2010-11-081-3/+3
| | | | | | Patch by Run Paint [ruby-core:30991] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ext/multi-irb.rb: fix multi-irb runningkeiju2010-04-221-6/+8
| | | | | | | | parallelly. [ruby-dev:41031] [Bug #3182] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb, lib/irb/init.rb, lib/irb/ext/save-history.rb: addkeiju2009-07-211-15/+29
| | | | | | | | IRB::irb_at_exit. no use finalizer saving history. [ruby-dev-38563] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bin/irb, lib/irb.rb lib/irb/*: irb-0.9.6, extend inspect-modekeiju2009-07-079-9/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/**/*.rb: removed unnecessary shbang lines.nobu2009-03-061-3/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {ext,lib,test}/**/*.rb: removed trailing spaces.nobu2009-03-069-33/+33
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse/version.rb: remove variable shadowing to stopmatz2008-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | warning. [ruby-core:20612] * lib/irb/completion.rb, lib/net/imap.rb, lib/prime.rb, lib/rinda/ring.rb, lib/racc/parser.rb, lib/shell/command-processor.rb, lib/yaml/yamlnode.rb: ditto. * lib/racc/parser.rb: remove space before parentheses. * lib/shell/command-processor.rb, lib/shell/process-controller.rb: use parentheses around arguments. * lib/irb/ext/change-ws.rb, lib/rexml/validation/relaxng.rb, lib/yaml/baseemitter.rb: indentation fix. * lib/matrix.rb: small cosmetic change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * irb/ext/save-history.rb: typokeiju2008-10-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/irb/ext/save-history.rb: change load_history using ↵keiju2008-10-041-8/+10
| | | | | | | | | | File.expand_path. see [ruby-dev:36660]. Thanks Kouhei Sutou. * lib/irb/irb/context.rb: convert string Symbol of instance variable names in IRB:Context#inspect. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/extend-command.rb (def_extend_command): check number ofmame2008-08-251-4/+4
| | | | | | | | | | arguments. [ruby-dev:35074] * lib/irb/ext/multi-irb.rb (search): check if a corresponding job is found. [ruby-dev:35074] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * $Date$ keyword removed to avoid inclusion of locale dependentakr2008-01-069-9/+0
| | | | | | | string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ruby-lex.rb, lib/irb/slex.rb: bug fix of [ruby-Bugs-1745]keiju2005-04-142-4/+5
| | | | | | | | | | * lib/irb/ext/loader.rb, lib/irb/ext/save-history.rb: fix location of @RCS_ID * lib/irb/cmd/help.rb: a lost of release IRB 0.9.5. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/notifier.rb, lib/irb/output-method.rb, lib/irb/ext/history.rbkeiju2005-04-141-1/+1
| | | | | | | fixed warning of 'ruby -w' git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bin/irb lib/irb.rb lib/irb/...: IRB 0.9.5(new files)keiju2005-04-131-0/+83
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e