summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-03-05[ruby/fiddle] always use ffi_closure_alloc on WindowsNobuyoshi Nakada
2020-03-04Fixed FD leakNobuyoshi Nakada
2020-03-04[ruby/fiddle] use ffi_closure_alloc only with 3.2 or laterNobuyoshi Nakada
2020-03-04[win32] suppress false warning by mingw gccNobuyoshi Nakada
2020-03-04[win32] suppress false warning by MSVCNobuyoshi Nakada
2020-03-04Fixed never-defined symbol nameNobuyoshi Nakada
2020-03-04[ruby/fiddle] ffi_closure_free is available in the bundled libffiNobuyoshi Nakada
2020-03-04[ruby/fiddle] Use ffi_closure_free if availableNobuyoshi Nakada
2020-03-04Revert "Revert "Revert "[ruby/fiddle] Use ffi_closure_free by default. (#20)"""Yusuke Endoh
This reverts commit 87f6154bb4c67ca77ee353bb1fe25a922036c0e5. It turned out that the change fails to build on macOS https://rubyci.org/logs/rubyci.s3.amazonaws.com/osx1014/ruby-master/log/20200304T074503Z.fail.html.gz ``` + make 'TESTS=--hide-skip -v fiddle' RUBYOPT=-w test-all dyld: lazy symbol binding failed: Symbol not found: _ffi_closure_alloc Referenced from: /Users/hsbt/Documents/cb/tmp/build/20200304T074503Z/ruby/.ext/x86_64-darwin18/fiddle.bundle Expected in: flat namespace dyld: Symbol not found: _ffi_closure_alloc Referenced from: /Users/hsbt/Documents/cb/tmp/build/20200304T074503Z/ruby/.ext/x86_64-darwin18/fiddle.bundle Expected in: flat namespace make: *** [yes-test-all] Abort trap: 6 ```
2020-03-04Revert "Revert "[ruby/fiddle] Use ffi_closure_free by default. (#20)""Yusuke Endoh
This reverts commit efd641ffab34e433a8d8a7d78914576f2425aa90. This changeset seems to be needed to suppress a warning on Ubuntu 20.04 https://rubyci.org/logs/rubyci.s3.amazonaws.com/ubuntu/ruby-master/log/20200304T033004Z.log.html.gz ``` closure.c:264:5: warning: 'ffi_prep_closure' is deprecated: use ffi_prep_closure_loc instead [-Wdeprecated-declarations] 264 | result = ffi_prep_closure(pcl, cif, callback, (void *)self); | ^~~~~~ ``` I guess there was a reason why the commit was reverted (maybe some CIs failed?), so try it again.
2020-03-04test/lib/jit_support.rb: The path to icc was changedYusuke Endoh
2020-03-04suppress uninitialized variable warnings卜部昌平
Starting GCC 7, warnings about uninitialized variables are issued around them. Such warnings could be false positives (all versions of clang do not warn), but adding initializers there could never be bad things.
2020-03-04tool/lib/test/unit: support TESTS='-- -ext-' again卜部昌平
There is a test directory named test/-ext-. Because this directry starts with a hyphen, we have to cheat test/unit in order for it to run the tests underneath. TESTS='-- -ext' worked for a long time. Let's not break that maneuver.
2020-03-04%p is for void *卜部昌平
See also 35eb12c06397e770392a41343cbffc4b204e15c9 6f5eb285077d9abf8f97056531996c58674b570c 687308cf0dab0af675e40da2b6ab8ccd5f77c072 b6a2d63eb3dbc31e110e8cb95e054dd71d49a611
2020-03-04fix 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-04fix compile error w/ -DCALC_EXACT_MALLOC_SIZE卜部昌平
2020-03-04fix 6e271e4cbbe6a8bc4d4f75dc553ce054eae7af00Koichi Sasada
2020-03-04Run major GC to make sure the minor GC reasonKoichi Sasada
GC.latest_gc_info[:major_by] can return `oldmalloc` because of last GC status.
2020-03-04Run major GC to make sure the minor GC next time.Koichi Sasada
`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-04Narrow the check target.Koichi Sasada
Call GC.verify_internal_consistency only for Gem related test on i386-solaris.
2020-03-04* 2020-03-04 [ci skip]git
2020-03-03Don't tweak RubyVM compile options if it's not definedCharles Oliver Nutter
2020-03-03Limit the debug code conditon so that it runs only under i386-solarisYusuke Endoh
2020-03-03Suppress an "assigned but unused variable" warningYusuke Endoh
2020-03-03[DOC] Separated parenthesized notes from subsection headingsNobuyoshi Nakada
As the headings become link anchors, remove less useful notes. [ci skip]
2020-03-03Preserve `kwarg` flag and fix up f5c904c2a9Nobuyoshi Nakada
2020-03-03add debug code for SolarisKoichi Sasada
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-03Ignore incompatible convert of symbolsKoichi Sasada
2020-03-03Convert incompatible encoding symbol namesaycabta
2020-03-03* 2020-03-03 [ci skip]git
2020-03-03method_missing_reason should be set.Koichi Sasada
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-02Suppress "assigned but unused variable" warningsYusuke Endoh
2020-03-02Reduced parser stack usage by merging non-result actionsNobuyoshi Nakada
2020-03-02Packed stacked bit flags into one structNobuyoshi Nakada
2020-03-02Add `#write` and `#binwrite` to IO section [ci skip]Kazuhiro NISHIYAMA
2020-03-02Allow newlines inside braced patternNobuyoshi Nakada
2020-03-02.github/workflows: name the configure runs卜部昌平
Explicit `name:` entry was requested by @nobu. Notes: Merged: https://github.com/ruby/ruby/pull/2927
2020-03-02.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. Notes: Merged: https://github.com/ruby/ruby/pull/2927
2020-03-02.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 Notes: Merged: https://github.com/ruby/ruby/pull/2927
2020-03-02.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 Notes: Merged: https://github.com/ruby/ruby/pull/2927
2020-03-02.travis.yml, .github: delete environmental dumps卜部昌平
They were necessary when developing YAMLs, but not useful any longer. Notes: Merged: https://github.com/ruby/ruby/pull/2927
2020-03-02.travis.yml: favor >- over |- and backslash卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/2927
2020-03-02.travis.yml: mandate UBSAN卜部昌平
It seems UBSAN is quite stable now. Notes: Merged: https://github.com/ruby/ruby/pull/2927
2020-03-02.travis.yml delete darwin debug code卜部昌平
Darwin is no longer tested using Travis CI. See also commit 91aa8bfff8a9f9c0af96915c120d863fc474e8d5 Notes: Merged: https://github.com/ruby/ruby/pull/2927
2020-03-02.travis.yml: ruby_2_7 is travis ready.卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/2927
2020-03-02Reset Reline.pointKoichi Sasada
TestRelineAsReadline#test_insert_text expects Readline.point == 0 at the beginning of the test, but a test violate this assumption.
2020-03-02vm_cc_fill() need to clear aux.Koichi Sasada
vm_cc_fill() fills CC information into stack allocated memory so it is not cleared. So we need to clear CC->aux.
2020-03-02skip test if Reline.completion_proc is nil.Koichi Sasada
Some other tests can set Reline.completion_proc, so if it is nil, simply skip this test.
2020-03-02Revert "show debug info."Koichi Sasada
This reverts commit 0bfee2397ba59112902d2b49f08461db3a637b46.
2020-03-02need to restore $stdin.Koichi Sasada