summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-09* 2019-05-09git
2019-05-09* expand tabs.git
2019-05-08Calling `obj_info` during sweep is unsafeAaron Patterson
`obj_info` will look at references of objects in some cases (for example it will try to access path information on ISeq objects). But during the sweep phase, if the referenced object is collected before `obj_info` is called, then it could be a bad ref and a segv will occur. For example: A -> B Sweep phase: 1. obj_info(B) 2. Sweep and free B 3. obj_info(A); A tries to read B 4. SEGV This commit simply removes the call to `obj_info` during the sweep phase.
2019-05-08Trim MJIT output from TestHideSkipTakashi Kokubun
to prevent failure like https://app.wercker.com/ruby/ruby/runs/mjit-test1/5cd28aa6ab79a30008ee819b?step=5cd28b2403f44600070db083 with --jit-verbose=1.
2019-05-08Fixed a typoNobuyoshi Nakada
2019-05-08Configure directories for headers and libraries automaticallyNobuyoshi Nakada
[EXPERIMENTAL]
2019-05-08Escape $@ in mjit-debug-on-failTakashi Kokubun
2019-05-08Add workaround for `Permission denied` of `cp`Kazuhiro NISHIYAMA
see r67347 recent log: https://travis-ci.org/ruby/ruby/jobs/529640417
2019-05-08Add missing chmod for mjit-debug-on-failTakashi Kokubun
2019-05-08Wrap mjit-debug-on-fail for Wercker failureTakashi Kokubun
for debugging failure like https://app.wercker.com/ruby/ruby/runs/mjit-test1/5cc98936ab79a30008eb86fa?step=5cc990d73d81fb0007bb04c3 https://app.wercker.com/ruby/ruby/runs/mjit-test1/5cd18efa23fcb70008ddfd45?step=5cd1908603f4460007076c5a
2019-05-08Use ruby_bug guardNobuyoshi Nakada
2019-05-08Do not break rubyspec for old RubyTakashi Kokubun
Fixing 7d805e67f3275aef066d77aa9c32bef715c362ed
2019-05-08Drop -fs from rubyspec to see test results easilyTakashi Kokubun
Recently `ruby/spec on Ruby 2.4` seems stable.
2019-05-08* 2019-05-08git
2019-05-08Use `start_with?(quoted)` instead of `[0] == char literal`Kazuhiro NISHIYAMA
2019-05-07Use cgit instead of svn.Hiroshi SHIBATA
2019-05-07Update the canonical repository url.Hiroshi SHIBATA
2019-05-07Recent commits of trunk do not have svn revisionKazuhiro NISHIYAMA
2019-05-07Reduce ONIG_NREGION from 10 to 4: power of 2 and testing revealed most ↵Lourens Naudé
pattern matches are less than or equal to 4 results Closes: https://github.com/ruby/ruby/pull/2135
2019-05-07Avoid triggering autoload in Module#const_defined?(String)Jean Boussier
[Bug #15780]
2019-05-07* 2019-05-07git
2019-05-07add new debug_counters about is_pointer_to_heap().Koichi Sasada
is_pointer_to_heap() is used for conservative marking. To analyze this function's behavior, introduce some debug_counters.
2019-05-06Load OptionParser defaults from XDG and Haiku standardsNobuyoshi Nakada
2019-05-06* 2019-05-06git
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