summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2019-06-12Ripper::Lexer: fallback parse error token to the previous oneNobuyoshi Nakada
2019-06-12Treat "begin rescue end" correctlyaycabta
2019-06-10irb/cmd/help.rb: return nil after the redefinitionNobuyoshi Nakada
2019-06-10irb: defer requiring rdoc to improve the start up timeNobuyoshi Nakada
2019-06-09Revert to change for filelist of bundler gemspec.Hiroshi SHIBATA
2019-06-09Merge bundler master from upstream.Hiroshi SHIBATA
Pick from 8dd59e3ba97eb80a599f8149f31bf40773b69dc0
2019-06-08Make Resolv::DNS#each_name accept Resolv::IPv{4,6} argumentsJeremy Evans
These arguments were previously documented as supported, but not actually supported. Patch from Toru Iwase Fixes [Bug #15900]
2019-06-08Fix broken `gem unpack`Nobuyoshi Nakada
* lib/rubygems/commands/unpack_command.rb: 'rubygems/package' is required here, to fix broken `gem unpack` command.
2019-06-08Revert "require rubygems/package where used"Hiroshi SHIBATA
This reverts commit b76630f73e8362d3072bfa7178471ddc5d21c235. It fails with `make test-bundler BUNDLER_SPECS=runtime/setup_spec.rb:1204`
2019-06-07require rubygems/package where usedNobuyoshi Nakada
* lib/rubygems/commands/unpack_command.rb: 'rubygems/package' is required. fix the failure of `gem unpack` command. * lib/rubygems/source/local.rb: ditto. * lib/rubygems/source/specific_file.rb: ditto.
2019-06-07ripper_state_lex.rb: chomp CRNobuyoshi Nakada
* lib/rdoc/parser/ripper_state_lex.rb (RDoc::Parser::RipperStateLex): chomp newline, including CR, from here document terminator. Closes: ruby/rdoc#694 Closes: ruby/rdoc#697 Closes: ruby/rdoc#705
2019-06-06Revert "Stop `circular require` warning"Kazuhiro NISHIYAMA
This reverts commit c2a9c350249588677cf68b506539093504927eac. It cannot stop `circular require` warning.
2019-06-06Stop `circular require` warningKazuhiro NISHIYAMA
2019-06-06lib/rubygems.rb: Stop "Leaked file descriptor" warningYusuke Endoh
Bundler.setup changes Gem::DefaultUserInteraction.ui and does not close it. This change makes sure that it is closed.
2019-06-06Skip transpose-words if less than 2 wordaycabta
2019-06-05Move I/O access from Reline::KeyStroke to Relineaycabta
2019-06-04Add some documentation to Timeout#timeout about possible issuesJeremy Evans
Documentation requested in [Bug #15886].
2019-06-04Add aliases for commands for changing text macroaycabta
2019-06-04Implement transpose-wordsaycabta
2019-06-04Reflect behavior changes to argument nameTakashi Kokubun
0c459af7c233adb5f44022350bfe8fa132d8053e changed the meaning of `detect_compile_error`, and this commit lets it follow the change.
2019-06-04Simplify matchingNobuyoshi Nakada
2019-06-04colorize_code must return escaped textTakashi Kokubun
This was needed before 0c459af7c233adb5f44022350bfe8fa132d8053e but it could be actually useless now. But I added this anyway just in case.
2019-06-04Colorize error charactersNobuyoshi Nakada
* 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.
2019-06-03Erase VI_OPERATORSaycabta
The operators are using @waiting_operator_proc in vi mode.
2019-06-03The C-q is also quoted insert in emacs modeaycabta
2019-06-03Add aliases for commands for moving macroaycabta
2019-06-03The ed_move_to_beg is different from vi_first_printaycabta
2019-06-03Reline::LineEditor::ARGUMENTABLE is no longer usedNobuyoshi Nakada
2019-06-03Fix ArgumentError in aliased macroNobuyoshi Nakada
Closes: https://github.com/ruby/ruby/pull/2221
2019-06-02Check conditional nestings in INPUTRCNobuyoshi Nakada
Closes: https://github.com/ruby/ruby/pull/2222
2019-06-02Prefer $INPUTRC over the default in the homeNobuyoshi Nakada
Closes: https://github.com/ruby/ruby/pull/2222
2019-06-02Add true condition `Reline`Nobuyoshi Nakada
2019-06-02Add Reline test for unknown macroaycabta
2019-06-02Add new test for Reline within pipeaycabta
2019-06-02Add comments to key bindings vars of Reline::Configaycabta
2019-06-02Reline.readmultiline always needs block to confirm terminationaycabta
2019-06-02Suppress error of macro not foundaycabta
2019-06-02delegate.rb: markup method namesNobuyoshi Nakada
2019-06-01Merge rubygems master from upstream.Hiroshi SHIBATA
I picked the commit from 3c469e0da538428a0ddd94f99aa73c32da22e8ba
2019-06-01Remove an unnecessary argumentaycabta
2019-06-01Just use `File.readlines`Nobuyoshi Nakada
2019-06-01Use inputrc data for keystroke settingaycabta
2019-06-01Seprate raw keystroke config for each platformsNobuyoshi Nakada
2019-06-01Support Home and End key to move to beg and endaycabta
2019-05-31Use IO#sync= instead of a monkey patchaycabta
2019-05-31Flush I/O immediately if RELINE_STDERR_TTY is setaycabta
2019-05-31Bump irb version to 1.1.0.pre.1.Hiroshi SHIBATA
Becausee the current irb support reline and have many of changes.
2019-05-30Fix visibility of some methods when using DelegateClassJeremy Evans
Public instance methods added to a delegated class after the creation of the delegate class were not returned by the public_instance_methods class method of the delegate class. Protected instance methods in the delegated class when the delegate class is created were returned by the public_methods instance method of the delegate class. Patch mostly from Kenichi Kamiya <kachick1@gmail.com> in GitHub pull request 926. Minor changes to get it to apply, and to fix tests after applying by me. Fixes [Bug #11512]
2019-05-30Allow DelegateClass() to module_eval given blockJeremy Evans
Methods that return classes often module_eval the given block (e.g. Class.new and Struct.new). This allows DelegateClass to work similarly. This makes it easier to use DelegateClass directly without subclassing, so as not to create an unnecessary subclass. Implements [Feature #15842]
2019-05-31Fix typo :bug: [ci skip]Takashi Kokubun