summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-06Revert "UTF-8 is one of byte based encodings"Nobuyoshi Nakada
This reverts commit 5776ae347540ac19c40d146a3566a806cd176bf1. Mistaken `max` as `min`.
2019-05-05Improve description of Ruby in READMEMarcus Stollsteimer
Use improved description as suggested by Olivier Lacan (@olivierlacan), see https://github.com/ruby/www.ruby-lang.org/pull/1888.
2019-05-05Improve documentation for String#{dump,undump}Marcus Stollsteimer
2019-05-05Fix use of numbered parameter inside proc that is default value of optargJeremy Evans
This allows cases such as: ```ruby m ->(a = ->{@1}) {a} m.call.call(1) m2 ->(a: ->{@1}) {a} m2.call.call(2) ``` Previously, this would cause a syntax error. [Bug#15789]
2019-05-05Fix use of numbered parameter inside proc that is default value of optargJeremy Evans
This allows cases such as: ```ruby m ->(a = ->{@1}) {a} m.call.call(1) m2 ->(a: ->{@1}) {a} m2.call.call(2) ``` Previously, this would cause a syntax error. [Bug#15789]
2019-05-05Fix a case where numbered parameters should not be allowedJeremy Evans
Because `proc{|| @1}` is a syntax error, the following should also be syntax errors: ```ruby proc { | | @1} ``` ```ruby proc { |; a| @1 } ``` This fixes both cases. [Bug #15825]
2019-05-05Fixed about ARGF.linenoNobuyoshi Nakada
[Bug #15823]
2019-05-05* 2019-05-05git
2019-05-05* expand tabs.git
2019-05-05parse.y: duplicated when clause warningNobuyoshi Nakada
* parse.y (case_args): moved "duplicated when clause" warning from compile phase, so that `ruby -wc` shows them.
2019-05-04ignore test_RangeErrorMasatoshi SEKI
2019-05-04Fix typos, grammar, and styleMarcus Stollsteimer
2019-05-04Fix grammarMarcus Stollsteimer
2019-05-04Add a pathologic checkNobuyoshi Nakada
2019-05-04* remove trailing spaces.git
2019-05-04add DRb::WeakIdConv (Bug #15711)Masatoshi SEKI
2019-05-04Update broken URL in Float documentation.Hiroshi SHIBATA
[Misc #15775][ruby-core:92332]
2019-05-04* 2019-05-04git
2019-05-03* expand tabs.git
2019-05-03Improve performance of case-conversion methodsNobuyoshi Nakada
2019-05-03Fix typoMarcus Stollsteimer
2019-05-03UTF-8 is one of byte based encodingsNobuyoshi Nakada
2019-05-03* 2019-05-03git
2019-05-03Nil cannot and should not convert to a stringNAKAMURA Usaku
2019-05-02* expand tabs.git
2019-05-02Fix potential memory leakNobuyoshi Nakada
2019-05-02* 2019-05-02git
2019-05-02Fix a typoKazuhiro NISHIYAMA
2019-05-01Silence a (probable) debug printNobuyoshi Nakada
2019-05-01No last commit when up-to-dateNobuyoshi Nakada
Get the last commit title from the upstream to the head, so that no `last_commit` line will be shown when the branch is up to date with the upstream.
2019-05-01Ignore ChangeLogNobuyoshi Nakada
2019-05-01Windows simply causes an error to open invalid pathNAKAMURA Usaku
2019-05-01guard include with has_featureNARUSE, Yui
clang's sanitizer/msan_interface.h has fallback macros. It causes redefinition of __msan_unpoison().
2019-05-01Add Reline.delete_text that raises NotImplementedErroraycabta
2019-05-01* 2019-05-01git
2019-05-01Add exception support in `Range#first`.manga_osyo
Closes: https://github.com/ruby/ruby/pull/2163
2019-04-30Change Accept-Encoding from `*` to `identity`Kazuhiro NISHIYAMA
When `Accept-Encoding` is `*`, http://www.unicode.org/Public/12.1.0/ucd/ returns gzipped content now. So set `identity`.
2019-04-30Use redirect keyword arguments instead of ">"NAKAMURA Usaku
2019-04-30Use array mode of `system` instead of `shellescape`Nobuyoshi Nakada
`&.` is not available in ruby 2.0.
2019-04-30String#[] with index to extract matched substring safelyNobuyoshi Nakada
2019-04-30Must use IO::NULL instead of platform dependent filenameNAKAMURA Usaku
2019-04-30Skip on Windows now when using reline because it causes hang of whole testsNAKAMURA Usaku
2019-04-30**Must** use IO::NULL for null deviceNAKAMURA Usaku
2019-04-30`from` is not nil but `""` on shallow clone [ci skip]Kazuhiro NISHIYAMA
2019-04-30Forgotten to removeNAKAMURA Usaku
2019-04-30Use Ripper for IRBaycabta
The debug option of IRB is deleted because it's just for IRB's pure Ruby parser.
2019-04-30Use Encoding::UTF_8 if RELINE_TEST_ENCODING doesn't existaycabta
2019-04-30Move Win32API to Reline::Win32APIaycabta
2019-04-30Use Encoding::UTF_8 if Encoding.default_external is Encoding::IBM437aycabta
2019-04-30Add Reline as a fallback library for Readlineaycabta
* lib/reine.rb, lib/reline/*: Reline is a readline stdlib compatible library. * lib/readline.rb: Readline uses a fallback to Reline when ext/readline doesn't exist. * tool/sync_default_gems.rb: add ruby/reline as a default gem. * appveyor.yml: add "set RELINE_TEST_ENCODING=Windows-31J" for test suit of Reline, and add "--exclude readline" to "nmake test-all" on Visual Studio builds because of strange behavior. * spec/ruby/library/readline/spec_helper.rb: skip Reline as with RbReadline.