aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* solve "duplicate :raise event" [Bug #15877]Koichi Sasada2019-08-084-36/+24
| | | | | | | Without this patch, "raise" event invoked twice when raise an exception in "load"ed script. This patch by danielwaterworth (Daniel Waterworth). [Bug #15877]
* main.c: Add doxygen mainpageYusuke Endoh2019-08-081-0/+8
| | | | | The document is experimentally produced in: https://rubyci.s3.amazonaws.com/doxygen/modules.html
* Aliases capture_output to capture_io for test-unit compatiblity.Hiroshi SHIBATA2019-08-085-9/+6
|
* Add *_clear methods to VM_COLLECT_USAGE_DETAILS APIGannon McGibbon2019-08-081-0/+53
| | | | | | | Add RubyVM::USAGE_ANALYSIS_INSN_CLEAR, RubyVM::USAGE_ANALYSIS_OPERAND_CLEAR, and RubyVM::USAGE_ANALYSIS_REGISTER_CLEAR to clear VM instruction hash constants. Closes: https://github.com/ruby/ruby/pull/2258
* Add *_start and *_running methods to VM_COLLECT_USAGE_DETAILS APIGannon McGibbon2019-08-081-3/+63
| | | | | | | | | | | Add RubyVM::USAGE_ANALYSIS_INSN_START, RubyVM::USAGE_ANALYSIS_OPERAND_START, and RubyVM::USAGE_ANALYSIS_REGISTER_START to begin collecting VM instructions. Add RubyVM::USAGE_ANALYSIS_INSN_RUNNING, RubyVM::USAGE_ANALYSIS_OPERAND_RUNNING, and RubyVM::USAGE_ANALYSIS_REGISTER_RUNNING to check if VM instructions are being collected. Closes: https://github.com/ruby/ruby/pull/2258
* Add a way to print debug counters without exitingAaron Patterson2019-08-073-0/+9
| | | | | | | | I am trying to study debug counters inside a Rails application. Accessing debug counters by killing the process is hard because child processes don't get the same TRAP as the parent, and Rails seems to intercept calls to `exit`. Adding this method lets me print the debug counters when I want (at the end of requests for example)
* * 2019-08-08git2019-08-081-1/+1
|
* Debug appveyor mingw failureTakashi Kokubun2019-08-081-1/+1
| | | | | | | It has been unstable for recent builds: https://ci.appveyor.com/project/ruby/ruby/builds/26531442/job/0ycp7woekqqx97x9 https://ci.appveyor.com/project/ruby/ruby/builds/26531687/job/xui3rctcvi7r49iv https://ci.appveyor.com/project/ruby/ruby/builds/26532019/job/1q0n46ci4g8dplwx
* array.c: gc.h is not neededYusuke Endoh2019-08-071-1/+0
|
* hash.c: gc.h is needed when HASH_DEBUG modeYusuke Endoh2019-08-071-0/+4
|
* hash.c: gc.h is no longer neededYusuke Endoh2019-08-071-1/+0
|
* Added separator for failing commits from default gems.Hiroshi SHIBATA2019-08-071-0/+1
|
* Skip merge commit created by bundlerbot.Hiroshi SHIBATA2019-08-071-1/+1
|
* fix spellingDaniel Radetsky2019-08-071-2/+2
| | | | Closes: https://github.com/ruby/ruby/pull/2323
* enum.c: Remove unused #includeYusuke Endoh2019-08-071-1/+0
| | | | transient_heap.h is no longer needed.
* Upgrade benchmark-driver versionTakashi Kokubun2019-08-071-1/+1
| | | | | as I already started to use --runner=block introduced in v0.14.20 like: https://github.com/ruby/ruby/pull/2321#issuecomment-518638663
* Refactor .travis.yml by introducing travis_retry.shTakashi Kokubun2019-08-072-79/+66
| | | | | | | | | | | | Not using official travis_retry.bash, because it's not supporting to modify backoff seconds. https://github.com/travis-ci/travis-build/blob/0ad8f1886b2c31994d847e126dc5842b7b3513e3/lib/travis/build/bash/travis_retry.bash Not using official `travis_apt_get_update` function because it does not propagate exit status to be used by retries. https://github.com/travis-ci/travis-build/blob/0ad8f1886b2c31994d847e126dc5842b7b3513e3/lib/travis/build/bash/travis_apt_get_update.bash Co-Authored-By: Nobuyoshi Nakada <nobu@ruby-lang.org>
* Fixed deprecation messageNobuyoshi Nakada2019-08-071-1/+1
|
* Fix Date#step testNobuyoshi Nakada2019-08-071-2/+4
| | | | The document states that "the limit should be a date object".
* Simplify break logic of Travis retriesTakashi Kokubun2019-08-071-10/+13
| | | | Co-Authored-By: Nobuyoshi Nakada <nobu@ruby-lang.org>
* .travis.yml: Use `-eq` instead `=` to compare integersKazuhiro NISHIYAMA2019-08-071-5/+5
|
* ext/ripper/lib/ripper/lexer.rb: Consistently use `Array#push`Yusuke Endoh2019-08-071-1/+1
| | | | instead of <<. All the other callsites use `push`.
* ext/ripper/lib/ripper/lexer.rb: fix a wrong delegationYusuke Endoh2019-08-071-1/+1
| | | | The target method name is a typo.
* Retry ubuntu-toolchain-r-test apt source setupTakashi Kokubun2019-08-071-14/+20
| | | | | | | | | | | | In 614c90fe21cf1d9cf6fb18684187d8c7e2f61de6, I assumed apt-add-repository has been stable recently, but I saw PR randomly failed for it today. This commit only deals with "ubuntu-toolchain-r-test" and does NOT deal with `llvm-toolchain-xenial-8` intentionally, because what it does (mainly curl from build.travis-ci.org) seems to be more reliable than "ubuntu-toolchain-r-test". Also `&clang-8` jobs are basically allow_failures and it's less important to be stabilized.
* * 2019-08-07git2019-08-071-1/+1
|
* Deprecate Float::ROUNDS, which should not be a constantNobuyoshi Nakada2019-08-071-1/+4
| | | | [Bug #16044]
* Refine time_to_rNobuyoshi Nakada2019-08-061-5/+16
| | | | | * time.c (time_to_r): get rid canonicalize and uncanonicalize one-denominator rational, by rb_time_unmagnify_to_rational.
* Extracted wmap_live_pNobuyoshi Nakada2019-08-061-7/+14
|
* * expand tabs.git2019-08-061-1/+1
|
* leafify opt_plus卜部昌平2019-08-064-4/+34
| | | | | | Inspired by 346aa557b31fe96760e505d30da26eb7a846bac9 Closes: https://github.com/ruby/ruby/pull/2321
* Revert "Don't echo results of assignment expressions"aycabta2019-08-065-189/+1
| | | | This reverts commit 1ee88c51b3c319b74b69540e111e4a1c24833cad.
* Don't echo results of assignment expressionsSteven Willis2019-08-065-1/+189
|
* Use host_os from RbConfig to detect host OS.Charles Oliver Nutter2019-08-061-1/+1
| | | | | | | | RUBY_PLATFORM on JRuby is always "java", so it will not reflect the host operating system. This regex appears to be the consensus way to detect Windows based on a search of Ruby code on Github: https://github.com/search?q=%2Fmswin%7Cmsys%7Cmingw%7Ccygwin%7Cbccwin%7Cwince%7Cemc%2F&type=Code
* Remove obsolete TODO commentaycabta2019-08-061-1/+1
|
* Update Unicode URL to 12.1.0aycabta2019-08-061-1/+1
|
* The value of rb_scan_args_verify is never usedNobuyoshi Nakada2019-08-061-5/+5
|
* Distinguish bad scan format from no argument variablesNobuyoshi Nakada2019-08-061-2/+2
|
* Removing duplicated assertions on test_array.rb - MINUS methodEspartaco Palma2019-08-061-4/+0
| | | | Closes: https://github.com/ruby/ruby/pull/1790
* Improve same directory detection in FileUtilsJustin Collins2019-08-062-2/+15
| | | | Closes: https://github.com/ruby/ruby/pull/1425
* Document that RubyVM::InstructionSequence methods are implementation and ↵Jeremy Evans2019-08-051-1/+3
| | | | | | version dependent Fixes [Bug #6785]
* Remove documentation of %m in SyslogJeremy Evans2019-08-051-4/+0
| | | | Fixes [Bug #6726]
* Let prev EP move againAaron Patterson2019-08-051-2/+2
| | | | | | | | The last time we committed this, we were asking the VM to write to the ep. But VM assertions check if the ENV data is the correct type, which if it's a T_MOVED pointer it's not the correct type. So the vm assertions would fail. This time we just directly write to it from the GC and that bypasses the vm assertion checks.
* * expand tabs.git2019-08-061-1/+1
|
* add compaction support to weak mapsAaron Patterson2019-08-051-12/+6
|
* Use gcc-8 for BASERUBY testTakashi Kokubun2019-08-061-0/+1
| | | | | | | | as it failed https://travis-ci.org/ruby/ruby/jobs/567942969, unlike my fork CI. This just rollbacks a minor change in 798474deaf10dbea70c02724b5acf4487bbed660.
* Give up stabilizing TestProcess on Travis osxTakashi Kokubun2019-08-062-2/+9
| | | | | | | | | | They have been too unstable. Revert "Extend sleep before sending USR1 in TestProcess" This reverts commit aaf69a8ba866193863a7eafe5c6044844bd71bc3. Revert "Extend sleep before sending USR1 in TestProcess" This reverts commit 076f3fcf11a061394d3d5f8c671512df1e983023.
* * 2019-08-06git2019-08-061-1/+1
|
* Control Travis apt retries on our ownTakashi Kokubun2019-08-061-94/+120
| | | | | | | | | | | | | | | | | | | because Travis team does not do it for us: https://github.com/travis-ci/travis-build/pull/1712 The retried part has failed often even in one day: https://travis-ci.org/ruby/ruby/jobs/567802384 https://travis-ci.org/ruby/ruby/jobs/567802388 https://travis-ci.org/ruby/ruby/jobs/567695879 https://travis-ci.org/ruby/ruby/jobs/567666931 For doing it easily, this also changes major aliases to compiler-specific ones, because partially updating `before_install` logic using `env` key was too hard and we needed to directly write `before_install` for each package set. As a bonus of it, it may also skip installing unnecessary packages when just `os: linux` is needed. I'll revert this if this patch does not contribute to stabilize CI.
* Use negative-sized array instead of zero-divisionNobuyoshi Nakada2019-08-051-21/+7
|
* Unused macro argument `varc`Nobuyoshi Nakada2019-08-051-23/+23
|