Граф коммитов

60514 Коммитов

Автор SHA1 Сообщение Дата
卜部昌平 2325017477 fix compile error w/ -DUSE_TRANSIENT_HEAP=0
rb_transient_heap_managed_ptr_p is available only when USE_TRANSIENT_HEAP.
Need #if guards.
2020-03-04 12:30:42 +09:00
卜部昌平 97fa6468dc fix compile error w/ -DCALC_EXACT_MALLOC_SIZE 2020-03-04 12:30:42 +09:00
Koichi Sasada ce586107d8 fix 6e271e4cbb 2020-03-04 11:36:34 +09:00
Koichi Sasada 02705b27be Run major GC to make sure the minor GC reason
GC.latest_gc_info[:major_by] can return `oldmalloc` because of
last GC status.
2020-03-04 11:33:55 +09:00
Koichi Sasada 6e271e4cbb Run major GC to make sure the minor GC next time.
`GC.start(full_mark: false)` can run full GC because of last
GC status. Just after major GC, the possibility to run major GC
next time is too small (not a zero, but too small possibility).
2020-03-04 11:31:07 +09:00
Koichi Sasada cf52f37cae Narrow the check target.
Call GC.verify_internal_consistency only for Gem related test
on i386-solaris.
2020-03-04 11:25:43 +09:00
git 14dd377e51 * 2020-03-04 [ci skip] 2020-03-04 00:11:35 +09:00
Charles Oliver Nutter 03f9e8746e
Don't tweak RubyVM compile options if it's not defined 2020-03-03 08:42:25 -06:00
Yusuke Endoh 43ed4eb6d1 Limit the debug code conditon so that it runs only under i386-solaris 2020-03-03 21:00:03 +09:00
Yusuke Endoh 501f2c44e6 Suppress an "assigned but unused variable" warning 2020-03-03 20:54:31 +09:00
Nobuyoshi Nakada a8c5b9a2fd
[DOC] Separated parenthesized notes from subsection headings
As the headings become link anchors, remove less useful notes.
[ci skip]
2020-03-03 17:38:00 +09:00
Nobuyoshi Nakada c8d0bf0156
Preserve `kwarg` flag and fix up f5c904c2a9 2020-03-03 16:19:49 +09:00
Koichi Sasada 1ad9364440 add debug code for Solaris
Check heap consistency after each test to debug.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/unstable11x/ruby-master/log/20200303T012406Z.fail.html.gz
2020-03-03 15:53:46 +09:00
Koichi Sasada aa9a38c0ed Ignore incompatible convert of symbols 2020-03-03 15:27:23 +09:00
aycabta 91440ff13f Convert incompatible encoding symbol names 2020-03-03 14:43:14 +09:00
git 485ef0bdc1 * 2020-03-03 [ci skip] 2020-03-03 02:44:38 +09:00
Koichi Sasada 91de0daaa2 method_missing_reason should be set.
send() has special method launcher in VM and it has special
method_missing caller. This path doesn't set
ec->method_missing_reason which is used at exception creation,
so setup this information. Without this setting, NoMethodError
exception becomes NameError.

This patch will fix:
http://ci.rvm.jp/results/trunk-random1@phosphorus-docker/2761643
2020-03-03 02:44:02 +09:00
Yusuke Endoh 65dd50fc25 Suppress "assigned but unused variable" warnings 2020-03-02 22:37:04 +09:00
Nobuyoshi Nakada 85620ffaa6
Reduced parser stack usage by merging non-result actions 2020-03-02 16:45:46 +09:00
Nobuyoshi Nakada 20a2ab0825
Packed stacked bit flags into one struct 2020-03-02 16:34:33 +09:00
Kazuhiro NISHIYAMA 761528e8aa
Add `#write` and `#binwrite` to IO section [ci skip] 2020-03-02 16:05:44 +09:00
Nobuyoshi Nakada f5c904c2a9
Allow newlines inside braced pattern 2020-03-02 15:49:03 +09:00
卜部昌平 0711ceeb37 .github/workflows: name the configure runs
Explicit `name:` entry was requested by @nobu.
2020-03-02 14:53:05 +09:00
卜部昌平 2bfa1025a9 .github: let "make leaked-globals" run in parallel
This target can be a build matrix.  Also it does not make sense to test
it on mjit.
2020-03-02 14:53:05 +09:00
卜部昌平 888e736524 .github: make use of working-directory
One can specify working directory of a step, no by `cd foo` inside of
the run. See also
https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsrun
2020-03-02 14:53:05 +09:00
卜部昌平 e06ad731f0 .github: less verbose on: specifier
The `branch:` specifier was necessary before, to prevent double-testing
master and trunk.  Now that we no longer have trunk, we can slim the
expressions.

See also: https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#on
2020-03-02 14:53:05 +09:00
卜部昌平 bdf2d91326 .travis.yml, .github: delete environmental dumps
They were necessary when developing YAMLs, but not useful any longer.
2020-03-02 14:53:05 +09:00
卜部昌平 f4a3830ff2 .travis.yml: favor >- over |- and backslash 2020-03-02 14:53:05 +09:00
卜部昌平 01fc48c26f .travis.yml: mandate UBSAN
It seems UBSAN is quite stable now.
2020-03-02 14:53:05 +09:00
卜部昌平 9086f6bfc8 .travis.yml delete darwin debug code
Darwin is no longer tested using Travis CI.  See also commit
91aa8bfff8
2020-03-02 14:53:05 +09:00
卜部昌平 cdf8471aec .travis.yml: ruby_2_7 is travis ready. 2020-03-02 14:53:05 +09:00
Koichi Sasada 648eb31b9a Reset Reline.point
TestRelineAsReadline#test_insert_text expects Readline.point == 0
at the beginning of the test, but a test violate this assumption.
2020-03-02 14:42:33 +09:00
Koichi Sasada 4fd51f848a vm_cc_fill() need to clear aux.
vm_cc_fill() fills CC information into stack allocated memory so
it is not cleared. So we need to clear CC->aux.
2020-03-02 14:25:35 +09:00
Koichi Sasada d348b4adef skip test if Reline.completion_proc is nil.
Some other tests can set Reline.completion_proc, so if it is nil,
simply skip this test.
2020-03-02 13:42:35 +09:00
Koichi Sasada fb377e8f3a Revert "show debug info."
This reverts commit 0bfee2397b.
2020-03-02 13:16:10 +09:00
Koichi Sasada 31c55b6725 need to restore $stdin. 2020-03-02 13:14:38 +09:00
git 5d3b38d697 * 2020-03-02 [ci skip] 2020-03-02 11:44:21 +09:00
Koichi Sasada 0bfee2397b show debug info.
https://gist.github.com/ko1/a71f7cbcfbd61ba004bffdfedab9f5f2#file-brlog-trunk-random0-20200302-020213-L2127
2020-03-02 11:43:17 +09:00
Kazuki Tsujimoto d25a4f413d
Allow trailing comma in hash pattern 2020-03-01 14:35:48 +09:00
Koichi Sasada 356e032e1a require enc/trans/single_byte in advance.
enc/trans/single_byte is needed to run some tests, however
it will fail to require because $: is empty.
2020-03-01 04:59:27 +09:00
git a70aa5998c * 2020-03-01 [ci skip] 2020-03-01 03:03:16 +09:00
Koichi Sasada 413c98003b show backtrace.
assert_nothing_raised doesn't show the backtrace if an exception
is thrown in a block. This patch shows this backtrace.
2020-03-01 03:02:05 +09:00
Nobuyoshi Nakada af1863734c
Adjust types 2020-02-29 21:42:38 +09:00
Nobuyoshi Nakada 403675e8dc
Named `tLABEL` token 2020-02-29 21:42:38 +09:00
Takashi Kokubun adcf0316d1
Prevent unloading methods used in root_fiber while calling another Fiber (#2939)
Fixing SEGVs like:
http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/2744905
http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/2744420
http://ci.rvm.jp/results/trunk-mjit-wait@silicon-docker/2741400
2020-02-28 23:58:33 -08:00
Takashi Kokubun a8dcab7233
Avoid infinite loop on --jit-wait 2020-02-28 23:20:44 -08:00
Nobuyoshi Nakada 5e897227ff
Added more benchmarks for String 2020-02-29 15:42:24 +09:00
Kazuhiro NISHIYAMA f5b7896921
Fix a typo [ci skip] 2020-02-29 15:14:01 +09:00
Takashi Kokubun 7da11ed738
Suppress security alerts
https://github.com/advisories/GHSA-jppv-gw3r-w3q8
2020-02-28 21:05:08 -08:00
Nobuyoshi Nakada 2b85591943
Fix up mark-ups in NEWS [ci skip] 2020-02-29 13:24:29 +09:00