aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/logger] Bump version to 1.5.0Hiroshi SHIBATA2021-12-201-1/+1
| | | | https://github.com/ruby/logger/commit/cdeddb2f67
* [ruby/irb] Add East Asian Ambiguous Width to irb_info commandaycabta2021-12-201-0/+1
| | | | https://github.com/ruby/irb/commit/4cade4b7e5
* [ruby/reline] Rename an unused variable name for CIaycabta2021-12-201-1/+1
| | | | https://github.com/ruby/reline/commit/ba97f3bd87
* [ruby/reline] Add support for overwriting dialog proc with the same nameaycabta2021-12-202-10/+12
| | | | https://github.com/ruby/reline/commit/16aa20c380
* [ruby/reline] Add Reline.dialog_proc(name_sym)aycabta2021-12-201-0/+7
| | | | https://github.com/ruby/reline/commit/7e5dbe4750
* [ruby/reline] Add spaceaycabta2021-12-201-1/+1
| | | | https://github.com/ruby/reline/commit/4b7fa6b213
* [ruby/reline] windows jruby issueYO42021-12-201-14/+46
| | | | | | jruby needs terminal control with Windows API on classic console https://github.com/ruby/reline/commit/b61bc43374
* [ruby/reline] windows clear screen with \e 2 JYO42021-12-201-10/+1
| | | | | | | | Windows Terminal does smart screen clearing when \e 2 J (not clear entire screen but scrolls down just needed) On consoles not support sequences, ruby still converts it to API call. https://github.com/ruby/reline/commit/c00930dab9
* [ruby/reline] windows improve scrollingYO42021-12-201-7/+17
| | | | | | | | | | | | ScrollConsoleScreenBuffer can't scroll window of Windows Terminal. Use LF to sctoll. Microsoft says ```In the virtual terminal sequences world, the size of the window and the size of the screen buffer are fixed to the same value. ``` https://docs.microsoft.com/en-us/windows/console/window-and-screen-buffer-size https://github.com/ruby/reline/commit/9ff3c70732
* [ruby/reline] Revert "Add a space after a comma"aycabta2021-12-201-1/+1
| | | | | | | | This reverts commit https://github.com/ruby/reline/commit/6009b3ef7ab7. To merge a Pull Request... https://github.com/ruby/reline/commit/83021f4267
* [ruby/reline] Revert "Add space"aycabta2021-12-201-1/+1
| | | | | | | | This reverts commit https://github.com/ruby/reline/commit/1bb071bcf5a9. To merge a Pull Request... https://github.com/ruby/reline/commit/e9fe1b1305
* [ruby/pp] Bump version to 0.3.0Hiroshi SHIBATA2021-12-201-1/+1
| | | | https://github.com/ruby/pp/commit/c66d1b9cdc
* [rubygems/rubygems] Add support in binstubs for trampolining bundlerDavid Rodríguez2021-12-201-1/+11
| | | | | | | | | | | If `bundler _<version>_` is given, I guess the most reasonable approach is to completely skip version switching, because the user is technically opting out of it. But since binstubs completely remove this argument from `ARGV` after processing it, we have no way of detecting that it was actually passed in the first place in order to skip the feature. So we set `BUNDLER_VERSION` explicitly in this case. https://github.com/rubygems/rubygems/commit/e0f360d6d7
* [rubygems/rubygems] Error tracing should be printed to stderrDavid Rodríguez2021-12-201-1/+1
| | | | https://github.com/rubygems/rubygems/commit/23178f7d7b
* [ruby/irb] Add information about --extra-doc-dir option in the commentsKaíque Kandy Koga2021-12-191-0/+1
| | | | https://github.com/ruby/irb/commit/ac3d4b9e79
* [ruby/reline] Load correct version.rb from gemspecNobuyoshi Nakada2021-12-191-3/+5
| | | | | | | | | | When merged to ruby/ruby, reline.gemspec file is located under lib/reline, as the same as reline/version.rb. That is the latter path relative from the former differs from the ruby/reline case, and the reline/version.rb in the default load path will be loaded. Try `require_relative` not to load unexpected files. https://github.com/ruby/reline/commit/54905d0e1b
* [ruby/reline] Clear dialog in pastingaycabta2021-12-191-0/+1
| | | | https://github.com/ruby/reline/commit/dabf5313e0
* Manually sync ↵Yusuke Endoh2021-12-191-1/+3
| | | | https://github.com/ruby/error_highlight/commit/d2140d795ad0a06398db81739201877d431755db
* Make RubyVM::AbstractSyntaxTree.of raise for backtrace location in evalYusuke Endoh2021-12-191-1/+1
| | | | | | | | | This check is needed to fix a bug of error_highlight when NameError occurred in eval'ed code. https://github.com/ruby/error_highlight/pull/16 The same check for proc/method has been already introduced since 64ac984129a7a4645efe5ac57c168ef880b479b2.
* [ruby/reline] Remove unnecessary "*"aycabta2021-12-181-2/+2
| | | | https://github.com/ruby/reline/commit/7b50638e24
* [ruby/reline] Add a space after a commaaycabta2021-12-181-1/+1
| | | | https://github.com/ruby/reline/commit/6009b3ef7a
* [ruby/reline] Add spaceaycabta2021-12-181-1/+1
| | | | https://github.com/ruby/reline/commit/1bb071bcf5
* [ruby/pp] Use etc instead of .so for broader compatibilityCharles Oliver Nutter2021-12-181-1/+1
| | | | | | | | | | | The use of `etc.so` here requires that etc is always implemented as a C extension on-disk. However at least one impl – JRuby – currently implements it as an internal extension, loaded via a Ruby script. This require should simply use the base name of the library, `etc`, to allow Ruby-based implementations to load as well. https://github.com/ruby/pp/commit/2061f994e0
* [ruby/pp] Only do RubyVM patches if class existsCharles Oliver Nutter2021-12-181-28/+30
| | | | | | | | | | This class does not exist in any implementation except CRuby. I would recommend moving this code somewhere else, like a separate file loaded only on CRuby or into CRuby itself. For now this change is sufficient to load the library on other implementations. https://github.com/ruby/pp/commit/7d5a220f64
* [ruby/benchmark] Freeze VERSIONrm1552021-12-181-0/+1
| | | | https://github.com/ruby/benchmark/commit/89b889b109
* [ruby/logger] Changes to datetime formattingBaron Bloomer2021-12-181-2/+3
| | | | | | | Formatting a datetime should only pertain to itself and valid datetimes do not contain a space. Should there be a desire to show show a space between the datetime and the process pid in the formatted log, this formatting logic should take place there. Furthermore, the default datetime format is moved to a class variable to allowing this variable to be overwritten by subclasses. https://github.com/ruby/logger/commit/7cbd434349
* [rubygems/rubygems] Improve errors a bit moreDavid Rodríguez2021-12-171-1/+6
| | | | https://github.com/rubygems/rubygems/commit/f481e8f41a
* [rubygems/rubygems] Share gem not found logic with transitive dependencies tooDavid Rodríguez2021-12-171-28/+30
| | | | https://github.com/rubygems/rubygems/commit/e4a1a9663d
* [rubygems/rubygems] Remove unnecessary line breakDavid Rodríguez2021-12-171-2/+1
| | | | https://github.com/rubygems/rubygems/commit/84e2d6a955
* [rubygems/rubygems] Fix crash when no matching variants are found for the ↵David Rodríguez2021-12-171-1/+2
| | | | | | | | | | current platform If we are resolving a dependency against a particular platform, and there are no platform specific variants of the candidates that match that platform, we should not consider those candidates. https://github.com/rubygems/rubygems/commit/f6077fe27d
* [rubygems/rubygems] Improve error message if only platform doesn't matchDavid Rodríguez2021-12-171-2/+12
| | | | https://github.com/rubygems/rubygems/commit/077e3c2e4d
* [rubygems/rubygems] Improve resolver error messagesDavid Rodríguez2021-12-171-13/+1
| | | | | | Use a more standard naming for gems. https://github.com/rubygems/rubygems/commit/75121e83f1
* [rubygems/rubygems] Pass `:bimode` explicitly to `File.open`David Rodríguez2021-12-151-1/+1
| | | | | | | The `File::BINARY` flag is apparently ignored due to a ruby bug, and thus writing can cause encoding issues. https://github.com/rubygems/rubygems/commit/db4efbebf2
* Merge RubyGems and Bundler masterHiroshi SHIBATA2021-12-156-43/+37
| | | | Merge from https://github.com/rubygems/rubygems/commit/793ad95ecb40e84a1dcb4cb60f2686843ed90de5
* [ruby/cgi] Extract CGI::Session#new_store_fileNobuyoshi Nakada2021-12-152-29/+45
| | | | https://github.com/ruby/cgi/commit/b3e2ff9164
* [ruby/securerandom] Use String#unpack1Nobuyoshi Nakada2021-12-141-1/+1
| | | | https://github.com/ruby/securerandom/commit/5460a18c35
* [ruby/securerandom] Drop support for old ruby versionsNobuyoshi Nakada2021-12-141-1/+1
| | | | https://github.com/ruby/securerandom/commit/46943a991c
* [DOC] Fix a type [ci skip]Nobuyoshi Nakada2021-12-141-1/+1
|
* [ruby/reline] Remove unnecessary variables, lower_spaceaycabta2021-12-131-3/+2
| | | | | | | | The number of lines below the cursor position was known by "@rest_height" alone, but the problem was caused by adding "lower_space". Remove "lower_space" as it is unnecessary. https://github.com/ruby/reline/commit/a575cef6a3
* [DOC] Improve Random::Formatter description and exampleNobuyoshi Nakada2021-12-131-0/+2
|
* [DOC] Exclude Bundler only [ci skip]Nobuyoshi Nakada2021-12-132-26/+1
|
* [ruby/reline] Prefer wait_readable for fiber scheduler.Samuel Williams2021-12-112-2/+3
| | | | https://github.com/ruby/reline/commit/06b4aa31fd
* [rubygems/rubygems] Add `github` and `ref` options to `bundle add`Vyacheslav Alexeev2021-12-115-4/+24
| | | | https://github.com/rubygems/rubygems/commit/c3e54acab0
* [ruby/reline] @convert_meta is true unless 8-bit charactersima1zumi2021-12-101-0/+5
| | | | | | | | | | | | If Reline::IOGate.encoding contains 7-bit characters, convert-meta will set it On. Because in readline(3): > The default is On, but readline will set it to Off if the locale contains eight-bit characters. As far as I know, 7-bit encoding used in terminals is only US-ASCII. https://github.com/ruby/reline/commit/b71d1fa496
* [ruby/reline] Execute compress_meta_key if convert_meta is onima1zumi2021-12-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | fix `#357` When using 8-bit characters, it is better not to use `compress_meta_key`. I believe not to use `compress_meta_key` unless `set convert-meta on` is written in the `.inputrc`. The following is a quote from tmtm's comments. > The behavior of this compress_meta_key method is similar to the behavior of convert-meta=on in readline, but readline turns off convert-meta if the locale contains 8bit characters. > In readline(3): > convert-meta (On) > If set to On, readline will convert characters with the eighth > bit set to an ASCII key sequence by stripping the eighth bit and > prefixing it with an escape character (in effect, using escape > as the meta prefix). The default is On, but readline will set > it to Off if the locale contains eight-bit characters. https://github.com/ruby/reline/commit/9491cc8542 Co-authored-by: TOMITA Masahiro <tommy@tmtm.org>
* [ruby/reline] unleash real pasting speedYO42021-12-101-16/+20
| | | | | | | | 2700msec -> 410msec read 80 console inputs at once https://github.com/ruby/reline/commit/eb3ef7af98
* [ruby/reline] unleash pasting speedYO42021-12-101-1/+1
| | | | https://github.com/ruby/reline/commit/074e407c62
* [ruby/reline] support input surrogate paird codepointYO42021-12-101-0/+21
| | | | | | support surrogate pair input https://github.com/ruby/reline/commit/0b4acedc6a
* [ruby/reline] follow consolemode changeYO42021-12-101-1/+5
| | | | | | fix 'https://github.com/ruby/reline/issues/300' https://github.com/ruby/reline/commit/b2cc6805a8
* [rubygems/rubygems] Properly fetch Gem#latest_spec_for with multiple sourcesKevin Logan2021-12-102-2/+2
| | | | https://github.com/rubygems/rubygems/commit/a93ec63df3