summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2019-11-21Consider escape sequence to calculate prompt widthaycabta
2019-11-21Add a warning message and --legacy of an alias of --singlelineaycabta
2019-11-21Refactor filter_backtraceY. Ushiki
2019-11-21Fix filter_backtrace for context-mode 0Y. Ushiki
2019-11-21Use singleline/multiline instead of readline/reidlineaycabta
2019-11-21Change argument `Proc` to `#call` defined object.manga_osyo
This is the same as the behavior of Readline.
2019-11-21Add <Home> <End> keys.manga_osyo
2019-11-20Mintty on Cygwin isn't a kind of command prompt, can process ANSI escape codeaycabta
2019-11-20Fix indent of a line when a newline is inserted to the nextaycabta
2019-11-20Replace typo "bock" with "block"aycabta
2019-11-20A preceding token of "do" of block has EXPR_CMDARG or EXPR_ENDFNaycabta
meth do # the preceding token of "do" has EXPR_CMDARG end meth() do # the preceding token of "do" has EXPR_ENDFN end
2019-11-20Number sign comment (# bla bla) is a kind of newline characteraycabta
2019-11-20Generate history file path correctly when $HOME/.irbrc doesn't existaycabta
2019-11-19Suppress `stty` error on Apple TerminalNobuyoshi Nakada
`stty` called in `Reline::ANSI.deprep` command shows the following error message on macOS Apple Terminal, with some settings. ``` $ LANG=C irb irb(main):001:0> stty: 'standard input': unable to perform all requested operations stty: 'standard input': unable to perform all requested operations ```
2019-11-18[ruby/rss] Only check taint on Ruby <2.7Jeremy Evans
Ruby 2.7 deprecates taint and it no longer has an effect. Notes: Merged: https://github.com/ruby/ruby/pull/2476
2019-11-18[ruby/rexml] Only taint on Ruby <2.7Jeremy Evans
Ruby 2.7 deprecates taint and it no longer has an effect. Notes: Merged: https://github.com/ruby/ruby/pull/2476
2019-11-18Deprecate taint/trust and related methods, and make the methods no-opsJeremy Evans
This removes the related tests, and puts the related specs behind version guards. This affects all code in lib, including some libraries that may want to support older versions of Ruby. Notes: Merged: https://github.com/ruby/ruby/pull/2476
2019-11-18Warn on access/modify of $SAFE, and remove effects of modifying $SAFEJeremy Evans
This removes the security features added by $SAFE = 1, and warns for access or modification of $SAFE from Ruby-level, as well as warning when calling all public C functions related to $SAFE. This modifies some internal functions that took a safe level argument to no longer take the argument. rb_require_safe now warns, rb_require_string has been added as a version that takes a VALUE and does not warn. One public C function that still takes a safe level argument and that this doesn't warn for is rb_eval_cmd. We may want to consider adding an alternative method that does not take a safe level argument, and warn for rb_eval_cmd. Notes: Merged: https://github.com/ruby/ruby/pull/2476
2019-11-18Remove unnecessary checkaycabta
2019-11-17[ruby/irb] Remove ruby-token.rb from spec.filesaycabta
https://github.com/ruby/irb/commit/0180dc74bc
2019-11-17[ruby/irb] Version 1.1.0.pre.4aycabta
https://github.com/ruby/irb/commit/4945d0e676
2019-11-17[ruby/reline] Version 0.0.5aycabta
https://github.com/ruby/reline/commit/d57c7ea252
2019-11-17Fix typosKazuhiro NISHIYAMA
2019-11-15[ruby/reline] Restore left cursor key support on Unix like OSes...aycabta
https://github.com/ruby/reline/commit/98b72af751
2019-11-15Implement em_set_mark and em_exchange_markaycabta
2019-11-15Fix a typo [ci skip]Kazuhiro NISHIYAMA
2019-11-13Suppress warnings except for when last evaluationaycabta
Co-authored-by: Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
2019-11-13Fix a typoKazuhiro NISHIYAMA
2019-11-13Merge released version of RubyGems 3.1.0.pre3Hiroshi SHIBATA
2019-11-13Merge Bundler 2.1.0.pre3 released versionHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/2674
2019-11-12Reline#readline and Reline#readmultiline to private.osyo-manga
2019-11-12Only enabled mon_owned condition with Ruby 2.5+Hiroshi SHIBATA
2019-11-12Revert "Method reference operator"Nobuyoshi Nakada
This reverts commit 67c574736912003c377218153f9d3b9c0c96a17b. [Feature #16275]
2019-11-12check more.Koichi Sasada
2019-11-12Monitor owner state check correctly.Koichi Sasada
Monitor can be owned at the beginning of this method.
2019-11-12Revert "Use untaint for File.symlink in kernel_require.rb"Yusuke Endoh
This reverts commit d9978ce5d397866afae536db2aa708af3b7a4b2f. Untaint was tentatively restored due to test failures. But now, the failed tests have been removed, so we can revert the tentative fix.
2019-11-12Use untaint for File.symlink in kernel_require.rbHiroshi SHIBATA
Partly reverted 7d463e360b9c4718b17378eb52783116a01b884b
2019-11-12release RUBYGEMS_ACTIVATION_MONITOR correctly.Koichi Sasada
`File.symlink? safe_lp` can raise SecurityError and raising an exception can leave RUBYGEMS_ACTIVATION_MONITOR locking. This patch release it correctly.
2019-11-12more messagesKoichi Sasada
2019-11-12check monitor is owning for debugKoichi Sasada
2019-11-12lib/rubygems.rb: Suppress "Resolving dependencies..."Yusuke Endoh
And suppress "Leaked file descriptor" again.
2019-11-11Remove ruby-token.rbaycabta
2019-11-11Revert "Revert "Promote uri to default gems""Hiroshi SHIBATA
This reverts commit fdfad905227a0e2e4c224d87181041fb75d5082e. f1f27da6c457684fdbfc0352297e6847f675ce4c resolved this.
2019-11-11Revert "Try to revert the test failure with Ruby CI"Hiroshi SHIBATA
This reverts commit 8b27c23b5d55bd707a89bb5d95d2bdba9e132c1a.
2019-11-11Try to revert the test failure with Ruby CIHiroshi SHIBATA
https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian9/ruby-master/log/20191111T093005Z.fail.html.gz
2019-11-11Merge Bundler 2.1.0.pre.3Hiroshi SHIBATA
Features: - Add caller information to some deprecation messages to make them easier to fix [#7361](https://github.com/bundler/bundler/pull/7361) - Reconcile `bundle cache` vs `bundle package` everywhere. Now in docs, CLI help and everywhere else `bundle cache` is the preferred version and `bundle package` remains as an alias [#7389](https://github.com/bundler/bundler/pull/7389) - Display some basic `bundler` documentation together with ruby's RDoc based documentation [#7394](https://github.com/bundler/bundler/pull/7394) Bugfixes: - Fix typos deprecation message and upgrading docs [#7374](https://github.com/bundler/bundler/pull/7374) - Deprecation warnings about `taint` usage on ruby 2.7 [#7385](https://github.com/bundler/bundler/pull/7385) - Fix `--help` flag not correctly delegating to `man` when used with command aliases [#7388](https://github.com/bundler/bundler/pull/7388) - `bundle add` should cache newly added gems if an application cache exists [#7393](https://github.com/bundler/bundler/pull/7393) - Stop using an insecure folder as a "fallback home" when user home is not defined [#7416](https://github.com/bundler/bundler/pull/7416) - Fix `bundler/inline` warning about `Bundler.root` redefinition [#7417](https://github.com/bundler/bundler/pull/7417) Notes: Merged: https://github.com/ruby/ruby/pull/2668
2019-11-11Merge RubyGems 3.1.0.pre3Hiroshi SHIBATA
* Fix gem pristine not accounting for user installed gems. Pull request #2914 by Luis Sagastume. * Refactor keyword argument test for Ruby 2.7. Pull request #2947 by SHIBATA Hiroshi. * Fix errors at frozen Gem::Version. Pull request #2949 by Nobuyoshi Nakada. * Remove taint usage on Ruby 2.7+. Pull request #2951 by Jeremy Evans. * Check Manifest.txt is up to date. Pull request #2953 by David Rodríguez. * Clarify symlink conditionals in tests. Pull request #2962 by David Rodríguez. * Update command line parsing to work under ps. Pull request #2966 by David Rodríguez. * Properly test `Gem::Specifications.stub_for`. Pull request #2970 by David Rodríguez. * Fix Gem::LOADED_SPECS_MUTEX handling for recursive locking. Pull request #2985 by MSP-Greg. Notes: Merged: https://github.com/ruby/ruby/pull/2666
2019-11-10qsymbols and symbols should be colored as SymbolTakashi Kokubun
2019-11-10Colorize on_symbols_beg (%I)Takashi Kokubun
2019-11-10Colorize string quotes as boldTakashi Kokubun
like pry