summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2021-01-19Replace "iff" with "if and only if"Gannon McGibbon
iff means if and only if, but readers without that knowledge might assume this to be a spelling mistake. To me, this seems like exclusionary language that is unnecessary. Simply using "if and only if" instead should suffice. Notes: Merged: https://github.com/ruby/ruby/pull/4035
2021-01-19[ruby/irb] Rescue Errno::EINVAL on IRB ppTakashi Kokubun
http://rubyci.s3.amazonaws.com/solaris11-gcc/ruby-master/log/20210119T070008Z.log.html.gz is caused by: /export/home/chkbuild/chkbuild-gcc/tmp/build/20210119T150010Z/ruby/lib/reline/ansi.rb:157:in `winsize': Invalid argument - <STDIN> (Errno::EINVAL) from /export/home/chkbuild/chkbuild-gcc/tmp/build/20210119T150010Z/ruby/lib/reline/ansi.rb:157:in `get_screen_size' from /export/home/chkbuild/chkbuild-gcc/tmp/build/20210119T150010Z/ruby/lib/reline.rb:168:in `get_screen_size' from /export/home/chkbuild/chkbuild-gcc/tmp/build/20210119T150010Z/ruby/lib/forwardable.rb:238:in `get_screen_size' from /export/home/chkbuild/chkbuild-gcc/tmp/build/20210119T150010Z/ruby/lib/irb/color_printer.rb:7:in `pp' from -e:1:in `<main>' https://github.com/ruby/irb/commit/1719514598
2021-01-18[ruby/irb] Use a real screen size for pp by defaultTakashi Kokubun
https://github.com/ruby/irb/commit/9b9300dec2
2021-01-19Use real-case version number for the result of `gem list`Hiroshi SHIBATA
2021-01-19Added empty ruby2_keywords gem to suffice dependenciesNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4090
2021-01-18Added ruby2_keywords for Ruby 2.5 and 2.6Hiroshi SHIBATA
2021-01-18[ruby/irb] Version 1.3.2aycabta
https://github.com/ruby/irb/commit/a7699026cc
2021-01-18[ruby/irb] handle repeated exception separatelyNobuhiro IMAI
https://github.com/ruby/irb/commit/fcf6b34bc5
2021-01-18[ruby/irb] handle `__ENCODING__` as a keyword as wellNobuhiro IMAI
https://github.com/ruby/irb/commit/a6a33d908f
2021-01-18[ruby/irb] [ruby/irb] [ruby/reline] Version 0.2.2aycabta
https://github.com/ruby/reline/commit/dfb710946f https://github.com/ruby/irb/commit/1a1cdf9628 https://github.com/ruby/irb/commit/fe99faf8bd
2021-01-18[ruby/reline] Reline::Windows.erase_after_cursor erases attributes tooaycabta
https://github.com/ruby/reline/commit/68b961dfc7
2021-01-18[ruby/reline] Support for change in Windows-specific behavior at eolaycabta
The behavior of automatically moving the cursor to the next line when displaying a char at the eol on Windows suddenly disappeared. https://github.com/ruby/reline/commit/cad4de6ee8
2021-01-18[ruby/reline] Initialize a variable just in caseaycabta
https://github.com/ruby/reline/commit/29b10f6e98
2021-01-17[ruby/fileutils] Removed code for dead versionsNobuyoshi Nakada
https://github.com/ruby/fileutils/commit/1f707d8cc6
2021-01-17[ruby/fileutils] Drop support for dead old versionsNobuyoshi Nakada
https://github.com/ruby/fileutils/commit/4526148c67
2021-01-15[ruby/time] Use Time#strftime to formatNobuyoshi Nakada
https://github.com/ruby/time/commit/6b8cc4799e
2021-01-15[ruby/time] No document for private methodsNobuyoshi Nakada
https://github.com/ruby/time/commit/44a55daa70
2021-01-14mkmf.rb: remove exts.mk at distcleanNobuyoshi Nakada
2021-01-13[ruby/ostruct] Bump versionMarc-Andre Lafortune
Notes: Merged: https://github.com/ruby/ruby/pull/4054
2021-01-12Fix method protection for modules in the ancestry chain.Marc-Andre Lafortune
[Fixes ruby/ostruct#23]
2021-01-13[ruby/reline] Version 0.2.1aycabta
https://github.com/ruby/reline/commit/a3b3c6ee60
2021-01-13[ruby/reline] Move the cursor correctly when deleting at eolaycabta
This fixes ruby/reline#246. https://github.com/ruby/reline/commit/07a73ba601
2021-01-13[ruby/reline] Handle ed_search_{prev,next}_history in multiline correctlyaycabta
The current line was being handled incorrectly when displaying the hit history, so it has been fixed to be correct. https://github.com/ruby/reline/commit/a3df4343b3
2021-01-13[ruby/irb] Version 1.3.1aycabta
https://github.com/ruby/irb/commit/c230d08911
2021-01-10[ruby/matrix] Fix 0-th power [Bug #17521] (#4047)Marc-André Lafortune
Notes: Merged-By: marcandre <github@marc-andre.ca>
2021-01-07[ruby/irb] Make IRB::ColorPrinter.pp compatible with PP.ppTakashi Kokubun
The incompatible interface is not helpful, again if you want to use it as a standalone library, falling it back to PP. Original PP.pp also ends with `out << "\n"`. https://github.com/ruby/irb/commit/4c74c7d84c
2021-01-07[ruby/irb] Add missing requireTakashi Kokubun
This is useful if you want to use IRB::ColorPrinter as a library like: ``` begin require 'irb/color_printer' IRB::ColorPrinter.pp(obj) rescue LoadError pp(obj) end ``` https://github.com/ruby/irb/commit/f8461691c7
2021-01-08[ruby/irb] Fix comment, irb gem supports 2.5.0 or olderaycabta
https://github.com/ruby/irb/commit/36118015ba
2021-01-08[ruby/reline] Add acknowledgments and license for rb-readlineaycabta
https://github.com/ruby/reline/commit/19df59b916
2021-01-08[ruby/reline] Suppress auto indent for adding newlines in pastingaycabta
Co-authored-by: Juanito Fatas <me@juanitofatas.com> https://github.com/ruby/reline/commit/074bb017a7
2021-01-08[ruby/reline] Suppress crashing when dynamic_prompt_proc returns a broken ↵aycabta
prompt list Co-authored-by: Juanito Fatas <me@juanitofatas.com> https://github.com/ruby/reline/commit/558f7be168
2021-01-08[ruby/reline] Suppress crashing when auto_indent_proc returns broken indent infoaycabta
Co-authored-by: Juanito Fatas <me@juanitofatas.com> https://github.com/ruby/reline/commit/7c24276275
2021-01-08[ruby/reline] Correct var names in Reline were different from vi-*-mode-stringaycabta
https://github.com/ruby/reline/commit/8255fc93b9
2021-01-08[ruby/reline] Update cursor correctly when just cursor movingaycabta
This fixes ruby/reline#236 and ruby/reline#239. https://github.com/ruby/reline/commit/3e3c89d00b
2021-01-08irb: Drop lines from backtrace for tests in Ruby repositoryaycabta
2021-01-08[ruby/irb] Fix BACK_TRACE_LIMIT logicaycabta
https://github.com/ruby/irb/commit/30dc5d43fe
2021-01-08[ruby/irb] Use Exception#full_message to show backtrace in the correct orderaycabta
[Bug #17466] https://github.com/ruby/irb/commit/1c76845cca
2021-01-08[ruby/irb] refactoring an error handling in `IRB::Inspector`Nobuhiro IMAI
* moved rescue clause to `#inspect_value` to catch all failures in inspectors * test with all (currently five kind of) inspect modes - tweaked the input due to only `Marshal` can inspect(dump) a `BasicObject` https://github.com/ruby/irb/commit/9d112fab8e
2021-01-08[ruby/irb] do not escape a predicate method for doc namespaceNobuhiro IMAI
* Fixes #88 https://github.com/ruby/irb/commit/d431a30af4
2021-01-08[ruby/irb] fix typo in `IRB::Irb#convert_invalid_byte_sequence`Nobuhiro IMAI
https://github.com/ruby/irb/commit/d09d3c3d68
2021-01-07We don't need "require 'uri'" after "require 'net/http'".Igor Zubkov
2021-01-05[ruby/ostruct] Bump versionMarc-Andre Lafortune
2021-01-05[ruby/ostruct] Allow ostruct to return a value on super (#4028)Adam Hess
This fixes cases where you can super in something that inherits from OpenStruct Co-authored-by: John Hawthorn <john@hawthorn.email> Notes: Merged-By: marcandre <github@marc-andre.ca>
2021-01-05[ruby/irb] Ensure to restore $VERBOSENobuyoshi Nakada
https://github.com/ruby/irb/commit/cef474a76a
2021-01-05[ruby/irb] Use error tokens if there are no correct tokens in the same placeaycabta
For example, the broken code "%www" will result in only one error token. https://github.com/ruby/irb/commit/9fa39a7cf3
2021-01-05[ruby/irb] Use Ripper::Lexer#scan to take broken tokensaycabta
ref. https://github.com/ruby/reline/pull/242 https://github.com/ruby/irb/commit/54f90cb6c9
2021-01-05[ruby/irb] Heredoc may contain multiple newlines in a single tokenaycabta
Use the start token as the indentation criteria so that it works properly in heredoc. ref. https://github.com/ruby/reline/pull/242 https://github.com/ruby/irb/commit/9704808dfd
2021-01-05[ruby/irb] Handle indentations related to keyword "do" correctlyaycabta
This fixes ruby/irb#158. https://github.com/ruby/irb/commit/964643400b
2021-01-05[ruby/irb] Escape invalid byte sequence in Exceptionaycabta
This fixes ruby/irb#141. https://github.com/ruby/irb/commit/0815317d42
2021-01-05[ruby/irb] Newline in oneliner def doesn't reset indentaycabta
This closes ruby/irb#132. https://github.com/ruby/irb/commit/43456dcf5e