aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reduce ONIG_NREGION from 10 to 4: power of 2 and testing revealed most ↵Lourens Naudé2019-05-075-1/+20
| | | | | | pattern matches are less than or equal to 4 results Closes: https://github.com/ruby/ruby/pull/2135
* Avoid triggering autoload in Module#const_defined?(String)Jean Boussier2019-05-073-0/+10
| | | | [Bug #15780]
* * 2019-05-07git2019-05-071-1/+1
|
* add new debug_counters about is_pointer_to_heap().Koichi Sasada2019-05-072-0/+11
| | | | | is_pointer_to_heap() is used for conservative marking. To analyze this function's behavior, introduce some debug_counters.
* Load OptionParser defaults from XDG and Haiku standardsNobuyoshi Nakada2019-05-061-5/+18
|
* * 2019-05-06git2019-05-061-1/+1
|
* Revert "UTF-8 is one of byte based encodings"Nobuyoshi Nakada2019-05-061-1/+1
| | | | | | This reverts commit 5776ae347540ac19c40d146a3566a806cd176bf1. Mistaken `max` as `min`.
* Improve description of Ruby in READMEMarcus Stollsteimer2019-05-051-3/+4
| | | | | Use improved description as suggested by Olivier Lacan (@olivierlacan), see https://github.com/ruby/www.ruby-lang.org/pull/1888.
* Improve documentation for String#{dump,undump}Marcus Stollsteimer2019-05-051-4/+6
|
* Fix use of numbered parameter inside proc that is default value of optargJeremy Evans2019-05-051-0/+1
| | | | | | | | | | | | | | | | 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]
* Fix use of numbered parameter inside proc that is default value of optargJeremy Evans2019-05-051-0/+2
| | | | | | | | | | | | | | | | 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]
* Fix a case where numbered parameters should not be allowedJeremy Evans2019-05-052-0/+3
| | | | | | | | | | | | | | | | | | 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]
* Fixed about ARGF.linenoNobuyoshi Nakada2019-05-051-2/+10
| | | | [Bug #15823]
* * 2019-05-05git2019-05-051-1/+1
|
* * expand tabs.git2019-05-051-3/+3
|
* parse.y: duplicated when clause warningNobuyoshi Nakada2019-05-054-22/+108
| | | | | * parse.y (case_args): moved "duplicated when clause" warning from compile phase, so that `ruby -wc` shows them.
* ignore test_RangeErrorMasatoshi SEKI2019-05-041-8/+0
|
* Fix typos, grammar, and styleMarcus Stollsteimer2019-05-041-12/+11
|
* Fix grammarMarcus Stollsteimer2019-05-041-2/+2
|
* Add a pathologic checkNobuyoshi Nakada2019-05-041-0/+3
|
* * remove trailing spaces.git2019-05-041-2/+2
|
* add DRb::WeakIdConv (Bug #15711)Masatoshi SEKI2019-05-042-0/+76
|
* Update broken URL in Float documentation.Hiroshi SHIBATA2019-05-041-1/+1
| | | | [Misc #15775][ruby-core:92332]
* * 2019-05-04git2019-05-041-1/+1
|
* * expand tabs.git2019-05-031-2/+2
|
* Improve performance of case-conversion methodsNobuyoshi Nakada2019-05-035-57/+200
|
* Fix typoMarcus Stollsteimer2019-05-031-1/+1
|
* UTF-8 is one of byte based encodingsNobuyoshi Nakada2019-05-031-2/+2
|
* * 2019-05-03git2019-05-031-1/+1
|
* Nil cannot and should not convert to a stringNAKAMURA Usaku2019-05-031-1/+1
|
* * expand tabs.git2019-05-021-2/+2
|
* Fix potential memory leakNobuyoshi Nakada2019-05-021-17/+32
|
* * 2019-05-02git2019-05-021-1/+1
|
* Fix a typoKazuhiro NISHIYAMA2019-05-021-1/+1
|
* Silence a (probable) debug printNobuyoshi Nakada2019-05-011-0/+2
|
* No last commit when up-to-dateNobuyoshi Nakada2019-05-011-1/+3
| | | | | | 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.
* Ignore ChangeLogNobuyoshi Nakada2019-05-011-0/+1
|
* Windows simply causes an error to open invalid pathNAKAMURA Usaku2019-05-011-1/+19
|
* guard include with has_featureNARUSE, Yui2019-05-011-1/+3
| | | | | clang's sanitizer/msan_interface.h has fallback macros. It causes redefinition of __msan_unpoison().
* Add Reline.delete_text that raises NotImplementedErroraycabta2019-05-011-0/+4
|
* * 2019-05-01git2019-05-011-2/+2
|
* Add exception support in `Range#first`.manga_osyo2019-05-012-0/+5
| | | | Closes: https://github.com/ruby/ruby/pull/2163
* Change Accept-Encoding from `*` to `identity`Kazuhiro NISHIYAMA2019-04-301-1/+1
| | | | | | When `Accept-Encoding` is `*`, http://www.unicode.org/Public/12.1.0/ucd/ returns gzipped content now. So set `identity`.
* Use redirect keyword arguments instead of ">"NAKAMURA Usaku2019-04-302-2/+2
|
* Use array mode of `system` instead of `shellescape`Nobuyoshi Nakada2019-04-301-2/+3
| | | | `&.` is not available in ruby 2.0.
* String#[] with index to extract matched substring safelyNobuyoshi Nakada2019-04-301-1/+1
|
* Must use IO::NULL instead of platform dependent filenameNAKAMURA Usaku2019-04-301-1/+1
|
* Skip on Windows now when using reline because it causes hang of whole testsNAKAMURA Usaku2019-04-301-1/+2
|
* **Must** use IO::NULL for null deviceNAKAMURA Usaku2019-04-301-1/+1
|
* `from` is not nil but `""` on shallow clone [ci skip]Kazuhiro NISHIYAMA2019-04-301-1/+1
|