summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2021-12-21[ruby/reline] Split off set_signal_handler methodaycabta
In some tests, the LineEditor#reset method is always called, but doesn't need to set the signal handlers there, so cuts it out to a separate method. https://github.com/ruby/reline/commit/b143c4f5f9
2021-12-21[ruby/reline] Remove unnecessary clearing signal handleraycabta
https://github.com/ruby/reline/commit/7a758e73dc
2021-12-20[ruby/logger] Bump version to 1.5.0Hiroshi SHIBATA
https://github.com/ruby/logger/commit/cdeddb2f67
2021-12-20[ruby/irb] Add East Asian Ambiguous Width to irb_info commandaycabta
https://github.com/ruby/irb/commit/4cade4b7e5
2021-12-20[ruby/reline] Rename an unused variable name for CIaycabta
https://github.com/ruby/reline/commit/ba97f3bd87
2021-12-20[ruby/reline] Add support for overwriting dialog proc with the same nameaycabta
https://github.com/ruby/reline/commit/16aa20c380
2021-12-20[ruby/reline] Add Reline.dialog_proc(name_sym)aycabta
https://github.com/ruby/reline/commit/7e5dbe4750
2021-12-20[ruby/reline] Add spaceaycabta
https://github.com/ruby/reline/commit/4b7fa6b213
2021-12-20[ruby/reline] windows jruby issueYO4
jruby needs terminal control with Windows API on classic console https://github.com/ruby/reline/commit/b61bc43374
2021-12-20[ruby/reline] windows clear screen with \e 2 JYO4
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
2021-12-20[ruby/reline] windows improve scrollingYO4
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
2021-12-20[ruby/reline] Revert "Add a space after a comma"aycabta
This reverts commit https://github.com/ruby/reline/commit/6009b3ef7ab7. To merge a Pull Request... https://github.com/ruby/reline/commit/83021f4267
2021-12-20[ruby/reline] Revert "Add space"aycabta
This reverts commit https://github.com/ruby/reline/commit/1bb071bcf5a9. To merge a Pull Request... https://github.com/ruby/reline/commit/e9fe1b1305
2021-12-20[ruby/pp] Bump version to 0.3.0Hiroshi SHIBATA
https://github.com/ruby/pp/commit/c66d1b9cdc
2021-12-20[rubygems/rubygems] Add support in binstubs for trampolining bundlerDavid Rodríguez
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
2021-12-20[rubygems/rubygems] Error tracing should be printed to stderrDavid Rodríguez
https://github.com/rubygems/rubygems/commit/23178f7d7b
2021-12-19[ruby/irb] Add information about --extra-doc-dir option in the commentsKaíque Kandy Koga
https://github.com/ruby/irb/commit/ac3d4b9e79
2021-12-19[ruby/reline] Load correct version.rb from gemspecNobuyoshi Nakada
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
2021-12-19[ruby/reline] Clear dialog in pastingaycabta
https://github.com/ruby/reline/commit/dabf5313e0
2021-12-19Manually sync ↵Yusuke Endoh
https://github.com/ruby/error_highlight/commit/d2140d795ad0a06398db81739201877d431755db
2021-12-19Make RubyVM::AbstractSyntaxTree.of raise for backtrace location in evalYusuke Endoh
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.
2021-12-18[ruby/reline] Remove unnecessary "*"aycabta
https://github.com/ruby/reline/commit/7b50638e24
2021-12-18[ruby/reline] Add a space after a commaaycabta
https://github.com/ruby/reline/commit/6009b3ef7a
2021-12-18[ruby/reline] Add spaceaycabta
https://github.com/ruby/reline/commit/1bb071bcf5
2021-12-18[ruby/pp] Use etc instead of .so for broader compatibilityCharles Oliver Nutter
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
2021-12-18[ruby/pp] Only do RubyVM patches if class existsCharles Oliver Nutter
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
2021-12-18[ruby/benchmark] Freeze VERSIONrm155
https://github.com/ruby/benchmark/commit/89b889b109
2021-12-18[ruby/logger] Changes to datetime formattingBaron Bloomer
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
2021-12-17[rubygems/rubygems] Improve errors a bit moreDavid Rodríguez
https://github.com/rubygems/rubygems/commit/f481e8f41a
2021-12-17[rubygems/rubygems] Share gem not found logic with transitive dependencies tooDavid Rodríguez
https://github.com/rubygems/rubygems/commit/e4a1a9663d
2021-12-17[rubygems/rubygems] Remove unnecessary line breakDavid Rodríguez
https://github.com/rubygems/rubygems/commit/84e2d6a955
2021-12-17[rubygems/rubygems] Fix crash when no matching variants are found for the ↵David Rodríguez
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
2021-12-17[rubygems/rubygems] Improve error message if only platform doesn't matchDavid Rodríguez
https://github.com/rubygems/rubygems/commit/077e3c2e4d
2021-12-17[rubygems/rubygems] Improve resolver error messagesDavid Rodríguez
Use a more standard naming for gems. https://github.com/rubygems/rubygems/commit/75121e83f1
2021-12-15[rubygems/rubygems] Pass `:bimode` explicitly to `File.open`David Rodríguez
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
2021-12-15Merge RubyGems and Bundler masterHiroshi SHIBATA
Merge from https://github.com/rubygems/rubygems/commit/793ad95ecb40e84a1dcb4cb60f2686843ed90de5 Notes: Merged: https://github.com/ruby/ruby/pull/5265
2021-12-15[ruby/cgi] Extract CGI::Session#new_store_fileNobuyoshi Nakada
https://github.com/ruby/cgi/commit/b3e2ff9164
2021-12-14[ruby/securerandom] Use String#unpack1Nobuyoshi Nakada
https://github.com/ruby/securerandom/commit/5460a18c35
2021-12-14[ruby/securerandom] Drop support for old ruby versionsNobuyoshi Nakada
https://github.com/ruby/securerandom/commit/46943a991c
2021-12-14[DOC] Fix a type [ci skip]Nobuyoshi Nakada
2021-12-13[ruby/reline] Remove unnecessary variables, lower_spaceaycabta
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
2021-12-13[DOC] Improve Random::Formatter description and exampleNobuyoshi Nakada
2021-12-13[DOC] Exclude Bundler only [ci skip]Nobuyoshi Nakada
2021-12-11[ruby/reline] Prefer wait_readable for fiber scheduler.Samuel Williams
https://github.com/ruby/reline/commit/06b4aa31fd
2021-12-11[rubygems/rubygems] Add `github` and `ref` options to `bundle add`Vyacheslav Alexeev
https://github.com/rubygems/rubygems/commit/c3e54acab0
2021-12-10[ruby/reline] @convert_meta is true unless 8-bit charactersima1zumi
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
2021-12-10[ruby/reline] Execute compress_meta_key if convert_meta is onima1zumi
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>
2021-12-10[ruby/reline] unleash real pasting speedYO4
2700msec -> 410msec read 80 console inputs at once https://github.com/ruby/reline/commit/eb3ef7af98
2021-12-10[ruby/reline] unleash pasting speedYO4
https://github.com/ruby/reline/commit/074e407c62
2021-12-10[ruby/reline] support input surrogate paird codepointYO4
support surrogate pair input https://github.com/ruby/reline/commit/0b4acedc6a