summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Use more strict regexp to avoid to match naninanirb.rbKazuhiro NISHIYAMA2019-11-212-3/+3
|
* Support %U/%u/%W/%w/%V/%g/%G formats in Time.strptimeJeremy Evans2019-11-211-1/+12
| | | | | | | | | | | | | | | | Most of these formats were documented as supported, but were not actually supported. Document that %g and %G are supported. If %U/%W is specified without yday and mon/mday are not specified, then Date.strptime is used to get the appropriate yday. If cwyear is specifier without the year, or cwday and cweek are specified without mday and mon, then use Date.strptime and convert the resulting value to Time, since Time.make_time cannot handle those conversions Fixes [Bug #9836] Fixes [Bug #14241]
* [ruby/reline] Version 0.0.7aycabta2019-11-211-1/+1
| | | | https://github.com/ruby/reline/commit/09d370bdc19e62f0a27c2240e19b07963afd922f
* Version 0.0.6aycabta2019-11-211-1/+1
|
* Version 1.1.0aycabta2019-11-211-2/+2
|
* Consider escape sequence to calculate prompt widthaycabta2019-11-211-1/+1
|
* Add a warning message and --legacy of an alias of --singlelineaycabta2019-11-212-1/+7
|
* Refactor filter_backtraceY. Ushiki2019-11-211-13/+3
|
* Fix filter_backtrace for context-mode 0Y. Ushiki2019-11-211-1/+2
|
* Use singleline/multiline instead of readline/reidlineaycabta2019-11-215-56/+66
|
* Change argument `Proc` to `#call` defined object.manga_osyo2019-11-211-5/+5
| | | | This is the same as the behavior of Readline.
* Add <Home> <End> keys.manga_osyo2019-11-211-0/+2
|
* Mintty on Cygwin isn't a kind of command prompt, can process ANSI escape codeaycabta2019-11-201-8/+8
|
* Fix indent of a line when a newline is inserted to the nextaycabta2019-11-201-0/+20
|
* Replace typo "bock" with "block"aycabta2019-11-201-2/+2
|
* A preceding token of "do" of block has EXPR_CMDARG or EXPR_ENDFNaycabta2019-11-201-2/+2
| | | | | | | | meth do # the preceding token of "do" has EXPR_CMDARG end meth() do # the preceding token of "do" has EXPR_ENDFN end
* Number sign comment (# bla bla) is a kind of newline characteraycabta2019-11-201-2/+2
|
* Generate history file path correctly when $HOME/.irbrc doesn't existaycabta2019-11-201-5/+5
|
* Suppress `stty` error on Apple TerminalNobuyoshi Nakada2019-11-191-1/+1
| | | | | | | | | | | | `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 ```
* [ruby/rss] Only check taint on Ruby <2.7Jeremy Evans2019-11-181-1/+1
| | | | Ruby 2.7 deprecates taint and it no longer has an effect.
* [ruby/rexml] Only taint on Ruby <2.7Jeremy Evans2019-11-181-2/+2
| | | | Ruby 2.7 deprecates taint and it no longer has an effect.
* Deprecate taint/trust and related methods, and make the methods no-opsJeremy Evans2019-11-1812-70/+15
| | | | | | 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.
* Warn on access/modify of $SAFE, and remove effects of modifying $SAFEJeremy Evans2019-11-186-106/+25
| | | | | | | | | | | | | | | | | 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.
* Remove unnecessary checkaycabta2019-11-181-1/+1
|
* [ruby/irb] Remove ruby-token.rb from spec.filesaycabta2019-11-171-1/+0
| | | | https://github.com/ruby/irb/commit/0180dc74bc
* [ruby/irb] Version 1.1.0.pre.4aycabta2019-11-171-1/+1
| | | | https://github.com/ruby/irb/commit/4945d0e676
* [ruby/reline] Version 0.0.5aycabta2019-11-171-1/+1
| | | | https://github.com/ruby/reline/commit/d57c7ea252
* Fix typosKazuhiro NISHIYAMA2019-11-173-3/+3
|
* [ruby/reline] Restore left cursor key support on Unix like OSes...aycabta2019-11-151-1/+1
| | | | https://github.com/ruby/reline/commit/98b72af751
* Implement em_set_mark and em_exchange_markaycabta2019-11-152-1/+20
|
* Fix a typo [ci skip]Kazuhiro NISHIYAMA2019-11-151-1/+1
|
* Suppress warnings except for when last evaluationaycabta2019-11-133-5/+17
| | | | Co-authored-by: Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
* Fix a typoKazuhiro NISHIYAMA2019-11-131-1/+1
|
* Merge released version of RubyGems 3.1.0.pre3Hiroshi SHIBATA2019-11-131-1/+0
|
* Merge Bundler 2.1.0.pre3 released versionHiroshi SHIBATA2019-11-1318-89/+118
|
* Reline#readline and Reline#readmultiline to private.osyo-manga2019-11-121-0/+2
|
* Only enabled mon_owned condition with Ruby 2.5+Hiroshi SHIBATA2019-11-121-4/+8
|
* Revert "Method reference operator"Nobuyoshi Nakada2019-11-121-1/+1
| | | | | This reverts commit 67c574736912003c377218153f9d3b9c0c96a17b. [Feature #16275]
* check more.Koichi Sasada2019-11-121-2/+2
|
* Monitor owner state check correctly.Koichi Sasada2019-11-121-1/+2
| | | | Monitor can be owned at the beginning of this method.
* Revert "Use untaint for File.symlink in kernel_require.rb"Yusuke Endoh2019-11-121-4/+1
| | | | | | | 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.
* Use untaint for File.symlink in kernel_require.rbHiroshi SHIBATA2019-11-121-1/+4
| | | | Partly reverted 7d463e360b9c4718b17378eb52783116a01b884b
* release RUBYGEMS_ACTIVATION_MONITOR correctly.Koichi Sasada2019-11-121-2/+10
| | | | | | `File.symlink? safe_lp` can raise SecurityError and raising an exception can leave RUBYGEMS_ACTIVATION_MONITOR locking. This patch release it correctly.
* more messagesKoichi Sasada2019-11-121-1/+1
|
* check monitor is owning for debugKoichi Sasada2019-11-121-0/+5
|
* lib/rubygems.rb: Suppress "Resolving dependencies..."Yusuke Endoh2019-11-121-5/+4
| | | | And suppress "Leaked file descriptor" again.
* Remove ruby-token.rbaycabta2019-11-111-267/+0
|
* Revert "Revert "Promote uri to default gems""Hiroshi SHIBATA2019-11-113-5/+36
| | | | | | This reverts commit fdfad905227a0e2e4c224d87181041fb75d5082e. f1f27da6c457684fdbfc0352297e6847f675ce4c resolved this.
* Revert "Try to revert the test failure with Ruby CI"Hiroshi SHIBATA2019-11-111-3/+7
| | | | This reverts commit 8b27c23b5d55bd707a89bb5d95d2bdba9e132c1a.
* Try to revert the test failure with Ruby CIHiroshi SHIBATA2019-11-111-7/+3
| | | | https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian9/ruby-master/log/20191111T093005Z.fail.html.gz