Skip to content

Update ruby 3 #116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 495 commits into from
Nov 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
495 commits
Select commit Hold shift + click to select a range
927a377
[flori/json] Fix JSON.load_file doc
byroot Sep 9, 2020
e30d1b0
Fix pure parser with unclosed arrays / objects [Fix #314]
marcandre Jun 30, 2020
81dc37b
assert_true is not provided by test-unit
hsbt Sep 25, 2020
cd44feb
Add check_dependencies workflow
znz Sep 25, 2020
8705dba
Update dependencies
znz Sep 25, 2020
6eeacbb
Extract assert assertion to assert_include and assert_not_include.
hsbt Sep 25, 2020
890bc2c
Buffer protocol proposal (#3261)
mrkn Sep 25, 2020
caaa36b
prohibi method call by defined_method in other racotrs
ko1 Sep 25, 2020
56012d2
NEWS.md: Add memory view entry
mrkn Sep 25, 2020
c04c34d
memory_view.h: brush up the description in the comment
mrkn Sep 25, 2020
f4328d7
[ruby/readline-ext] Remove unnecessary header files from depend
aycabta Sep 25, 2020
0096d2b
freeze all Range objects.
ko1 Sep 25, 2020
e4b2c4f
t/json/json_common_interface_test.rb: fix wrong indentation
mame Sep 25, 2020
79063d8
test/ruby/test_enumerator.rb: remove capture_io that is no longer needed
mame Sep 25, 2020
0db5324
test/ruby/test_memory_view.rb: prevent "assigned but unused variable …
mame Sep 25, 2020
abdd3c5
test/ruby/test_enumerator.rb: check the deprecation warning
mame Sep 25, 2020
8119e5b
memory_view.c: prevent "warning: instance variable __memory_view__ no…
mrkn Sep 25, 2020
b271bd7
test/net/smtp/test_smtp.rb: Stop io leaks
mame Sep 25, 2020
f7c4118
* 2020-09-26 [ci skip]
matzbot Sep 25, 2020
722a1e4
RBIMPL_ALIGNAS: reorder #ifdef blocks
shyouhei Sep 25, 2020
3a00f2a
ext/readline/depend: update-deps --fix
mrkn Sep 25, 2020
24820d5
Return nil when argument to ObjectSpace.internal_class_of is T_IMEMO
XrXr Sep 2, 2020
8b42474
Enhanced RDoc for String#succ (#3590)
BurdetteLamar Sep 25, 2020
137fa5b
Fibers should update themselves on compaction
tenderlove Sep 25, 2020
ce92d15
fix typo [Bug #17194]
nurse Sep 26, 2020
4e31cbc
update-deps
nurse Sep 26, 2020
dead747
Use Tempfile.create instead of Tempfile.open in test_io.rb
eregon Sep 26, 2020
cdb5258
Fix `ENV.except`'s docs
bogdanvlviv Sep 26, 2020
089b769
* 2020-09-27 [ci skip]
matzbot Sep 26, 2020
48b5319
Add links to the tickets [ci skip]
znz Sep 26, 2020
70d7e4c
Fix a typo [ci skip]
znz Sep 26, 2020
950614b
ext/socket/ipsocket.c: prevent "warning: unused variable 'resolv_time…
mame Sep 26, 2020
5e91b4b
fix typo [ci skip]
ko1 Sep 27, 2020
9a951c0
Remove outdated comment [ci skip]
znz Sep 27, 2020
41eba95
Revert the first diff of "Use Tempfile.create instead of Tempfile.ope…
eregon Sep 27, 2020
1c95436
* 2020-09-28 [ci skip]
matzbot Sep 27, 2020
ee7c260
thread_win32.c: native_mutex_trylock is not used right now
nobu Sep 28, 2020
36d1bb7
sprintf.c: Removed conflicting definition
nobu Sep 28, 2020
67ae1d4
Do not use clang on cygwin
nobu Sep 28, 2020
0629e69
Added `--platform` option to `build` command
nobu Jan 10, 2020
b83787b
[rubygems/rubygems] Make --dry-run flag consistent across rubygems co…
bronzdoc Aug 31, 2020
be980dd
[rubygems/rubygems] Deprecate --dryrun
bronzdoc Aug 31, 2020
777840a
[rubygems/rubygems] We don't need shortucts for a deprecated flag
bronzdoc Aug 31, 2020
828cefd
[rubygems/rubygems] Add --dryrun to the deprecated options when showi…
bronzdoc Aug 31, 2020
c6bdf75
Disallow downgrades to too old versions
deivid-rodriguez Apr 28, 2020
ab5e951
[rubygems/rubygems] Added Ruby version for oldest supported version o…
hsbt Aug 7, 2020
7fc8f83
[rubygems/rubygems] Have "gem update --system" pass through the --sil…
duckinator Jul 4, 2020
e8274a7
[rubygems/rubygems] Add test for "gem update --system --silent"
duckinator Jul 30, 2020
9bbca93
[rubygems/rubygems] Remove last remaining line of output from `gem up…
duckinator Jul 30, 2020
9186523
[rubygems/rubygems] Eval defaults with frozen_string_literal: true
byroot Jul 23, 2020
c55b5f1
[rubygems/rubygems] Avoid duplicated generation of APISpecification o…
mame Sep 11, 2020
ac3f80a
[rubygems/rubygems] Add writable check for cache dir
xndcn Aug 4, 2020
18c642d
[rubygems/rubygems] Fix ls-files matching regexp
nobu Jul 22, 2020
8863bfb
[rubygems/rubygems] Move comment below shebang in bin/console template
speckins Sep 3, 2020
d6a94a0
Removed useless RCS revisions
hsbt Feb 27, 2020
3da3c27
fixup d6a94a0c4b416d4e4a5b25ab8d5482bad00f9765
hsbt Sep 28, 2020
97d1a38
[Fixes #137] Improve reporting
marcandre Aug 14, 2020
245ed57
[ruby/racc] Turn debugging off
marcandre Aug 19, 2020
f2c6a35
Clarify spec description for Hash#{each,each_pair}
eregon Sep 28, 2020
8772614
Fixed the wrong variable for --executable flag
hsbt Sep 28, 2020
4de32b3
Removed unused option on racc
hsbt Sep 28, 2020
ac41413
Remove unnecessary executable bit [ci skip]
znz Sep 28, 2020
18b3f0f
Make ext/objspace ASAN friendly
tenderlove Sep 25, 2020
b328b83
make ext/coverage ASAN friendly
tenderlove Sep 25, 2020
b9488ac
Fix ASAN support when invalidating CCs
tenderlove Sep 25, 2020
0b0e2d8
Refactor common heap iteration code
tenderlove Sep 25, 2020
0164ac7
* 2020-09-29 [ci skip]
matzbot Sep 28, 2020
5d7953f
Switch conflicting chdir warning to RuntimeError
jeremyevans Sep 25, 2020
92c3ad9
Make Warning.warn accept only category keyword
jeremyevans Sep 2, 2020
346301e
Add rb_category_warn{,ing} for warning messages with categories
jeremyevans Sep 3, 2020
0767d38
Pass ASAN options to child environments
tenderlove Sep 28, 2020
664eeda
Fix ASAN errors when updating call cache
tenderlove Sep 28, 2020
d598654
Fix ASAN and don't check SPECIAL_CONST_P
tenderlove Sep 28, 2020
0555bd8
Enhanced RDoc for String#succ! (#3596)
BurdetteLamar Sep 28, 2020
85e9cc2
Unpoison THEAP header before reading
tenderlove Sep 28, 2020
0a3099a
bit table information when printing an object
tenderlove Sep 28, 2020
06099e4
fix typo [ci skip]
shyouhei Sep 29, 2020
40a499d
test/racc/test_racc_command.rb: prevent a warning
mame Sep 29, 2020
b971f14
Fix up dependencies on internal/sanitizers.h
nobu Sep 29, 2020
a9ff390
Fixed installation failure [Bug #17191]
nobu Sep 29, 2020
2e947bc
doc/syntax/literals.rdoc: explain `#@foo` and `#$foo`
mame Sep 29, 2020
dcb705a
doc/syntax/literals.rdoc: explain `#@@foo` too [ci skip]
nobu Sep 29, 2020
d23d2f3
[ruby/webrick] Make it more strict to interpret some headers
mame Sep 29, 2020
cece71b
Add call-seq of [Feature #16274]
znz Sep 29, 2020
f7bd9f0
Fix unsigned int overflow in error message for chr
peterzhu2118 Sep 28, 2020
c38605d
* 2020-09-30 [ci skip]
matzbot Sep 29, 2020
0fb1a67
Reference process PID using the Process#pid
mensfeld Sep 28, 2020
48b94b7
Enhanced RDoc for String#upto (#3603)
BurdetteLamar Sep 30, 2020
388281c
Fix order of operations during `rb_ec_finalize`.
ioquatix Sep 30, 2020
1484b78
Suppress warnings
znz Sep 30, 2020
30bb040
Fix `Leaked tempfile`s
znz Sep 30, 2020
ce986b4
Remove unneeded `begin` and `end`
znz Sep 30, 2020
201d501
Update to ruby/spec@9277d27
eregon Sep 30, 2020
31636bb
Update to ruby/mspec@4120a62
eregon Sep 30, 2020
8dab56e
Update to ruby/spec@681e8cf
eregon Sep 30, 2020
9501b34
strip trailing spaces [ci skip]
nobu Sep 30, 2020
bbecf1e
Update to ruby/mspec@e154fa1
eregon Sep 30, 2020
65e8a29
Update to ruby/spec@bfd843a
eregon Sep 30, 2020
7b2bea4
Unfreeze string-literal-only interpolated string-literal
nobu Sep 2, 2020
4bc6190
Enhanced RDoc for String#[] (#3607)
BurdetteLamar Sep 30, 2020
f4733b2
* 2020-10-01 [ci skip]
matzbot Sep 30, 2020
fb16c3d
Remove trailing whitespace [doc]
marcandre Sep 26, 2020
df4d08c
[ruby/ostruct] Avoid calling initialize
marcandre Sep 26, 2020
083fa6e
[ruby/ostruct] Protect subclass' methods and our bang methods.
marcandre Sep 26, 2020
0977040
[ruby/ostruct] Add test that frozen OpenStructs are Ractor-shareable
marcandre Sep 26, 2020
0e93118
[ruby/ostruct] Update NEWS
marcandre Sep 26, 2020
b36a45c
[ruby/ostruct] Improved YAML serialization.
marcandre Sep 26, 2020
152ba86
[ruby/ostruct] Remove unused condition
marcandre Sep 26, 2020
bb2ba72
[ruby/ostruct] Tweak doc
marcandre Sep 26, 2020
bc23216
stop Ractor test in test-all
ko1 Sep 30, 2020
1366010
Don't call `Scheduler#close` if it doesn't exist.
ioquatix Oct 1, 2020
7f29020
Raise an exception if the scheduler was already closed.
ioquatix Oct 1, 2020
dd2e95f
Remove `Thread.scheduler` from public interface.
ioquatix Oct 1, 2020
a88fe61
Rework `rb_ec_scheduler_finalize` to ensure exceptions are printed.
ioquatix Oct 1, 2020
c893aa0
Add links to the tickets [ci skip]
znz Oct 1, 2020
ab99a2a
spec/ruby/core/process/spawn_spec.rb: skip a test on Android
mame Oct 1, 2020
0e98a9c
break around function definition [ci skip]
nobu Oct 1, 2020
0d37ed5
rb_thread_scheduler is no longer used
nobu Oct 1, 2020
257007a
Added a fallback return
nobu Oct 1, 2020
eef12cd
strip trailing spaces [ci skip]
nobu Oct 1, 2020
1d3024d
Refined assertions for better failure messages
nobu Oct 1, 2020
2db081b
Don't use `th->scheduler` directly because it's not always valid to d…
ioquatix Oct 1, 2020
9fb6067
Fix a use-after-free bug reported by ASAN
tenderlove Sep 24, 2020
d959987
* 2020-10-02 [ci skip]
matzbot Oct 1, 2020
8dd9a23
Make minor improvements to super
eileencodes Sep 24, 2020
c827cac
memory_view.c: Use ssize_t for ndim in memory_view (#3615)
mrkn Oct 1, 2020
c881678
Removed meaningless system dependent tests
nobu Oct 1, 2020
8d76b72
Put same frozen Range literal if possible
ko1 Sep 25, 2020
4b41ee1
Update the thread's self / wrapper address
tenderlove Oct 2, 2020
89ca842
Ensure that the comparison succeeded [Bug #17205]
nobu Oct 2, 2020
74aaa8e
Update marshal.rdoc
Gwitr Sep 23, 2020
dd77796
Hoisted out ensure_cmp which checks the comparison succeeded
nobu Oct 2, 2020
d0a7189
Fix ObjectSpace.dump(obj, output: :stdout)
znz Oct 2, 2020
0d62e32
* 2020-10-03 [ci skip]
matzbot Oct 2, 2020
174ae0f
Remove known use-after-poison bug
nobu Oct 2, 2020
112254d
Improve docs of the Warning module
eregon Oct 2, 2020
873c8a1
Fix assert_ruby_status usage in 174ae0f5775cc7af7d197963a8f87b7d1972c268
znz Oct 2, 2020
6aa466b
mark regex internal to string scanner
tenderlove Oct 2, 2020
5a665f6
Check builtin inline function index overflow
nobu Oct 2, 2020
fced98f
Added the room for builtin inline prefix
nobu Oct 3, 2020
d0778cb
Update example to handle keywords passed to Warning.warn
eregon Oct 3, 2020
0406898
add NULL check.
ko1 Oct 3, 2020
ef4ba51
Adjusted default gems paths
nobu Oct 4, 2020
f8c5010
* 2020-10-04 [ci skip]
matzbot Oct 4, 2020
9718ff6
Show stdout and stderr when history tests fail
aycabta Oct 4, 2020
d5ab197
* 2020-10-05 [ci skip]
matzbot Oct 4, 2020
82f496a
Put an empty line before the original URL
nobu Oct 5, 2020
20ad101
Remove system method for E2E testing because depends on ruby command
aycabta Oct 5, 2020
3a3000f
Fix traditional Ring example in Actor-model
skryukov Oct 3, 2020
7d8b43d
[ruby/tempfile] Improve the documentation for Tempfile.create and rec…
eregon Sep 25, 2020
49bfd88
* 2020-10-06 [ci skip]
matzbot Oct 5, 2020
29c54b5
Add missing fileutils require
deivid-rodriguez Aug 28, 2020
68d24bc
Moved rb_callable_receiver internal
nobu Oct 6, 2020
f9df340
Remove unused commit_info
znz Oct 6, 2020
45fd443
Use $GITHUB_ENV instead of set-env
znz Oct 6, 2020
56a4545
include/ruby/random.h: eliminate extern "C"
shyouhei Oct 6, 2020
78e27ce
rb_rand_if: convert into an inline function
shyouhei Oct 6, 2020
81068b1
RB_RANDOM_DATA_INIT_PARENT: convert into an inline function
shyouhei Oct 6, 2020
7d59439
memory_view.h: use bool
shyouhei Oct 6, 2020
ae94c5b
STRUCT_ALIGNOF: use RUBY_ALIGNOF
shyouhei Oct 6, 2020
62ddbfe
rb_memory_view_is_contiguous: convert into an inline function
shyouhei Oct 6, 2020
2d20e68
include/ruby/memory_view.h: annotate functions
shyouhei Oct 6, 2020
21b199b
Appended a newline to suppress newline-eof warning
nobu Oct 6, 2020
ed01cc8
No longer need libtool
nobu Oct 6, 2020
260322f
* 2020-10-07 [ci skip]
matzbot Oct 6, 2020
1486785
[lib/ostruct] Fix Marshal loading
marcandre Oct 6, 2020
ee7cc6a
Make `marshal_load` public
tenderlove Oct 6, 2020
fef5212
Use proc_binding rather than rb_funcall
chrisseaton Oct 5, 2020
c839168
Don't export rb_callable_receiver
chrisseaton Oct 5, 2020
cdc4084
Prevent objects from moving while iterating the heap
tenderlove Oct 6, 2020
62abdba
Revert "Don't export rb_callable_receiver"
nobu Oct 7, 2020
d528254
Add missing WB for iseq
tenderlove Oct 7, 2020
0807d05
* 2020-10-08 [ci skip]
matzbot Oct 8, 2020
2711e3b
Promote pp to default gems
hsbt Oct 6, 2020
0f9edf2
Promote prettyprint to default gems
hsbt Oct 6, 2020
533bca5
Expose assert, assert_respond_to and assert_not_respond_to for defaul…
hsbt Oct 6, 2020
3377659
Enhanced RDoc for String#insert (#3643)
BurdetteLamar Oct 8, 2020
c857d0d
* 2020-10-09 [ci skip]
matzbot Oct 8, 2020
bca8952
Fix lldb disassembler so it works with core files
tenderlove Oct 8, 2020
6944b92
rb_class_real never returns Qnil
nobu Oct 8, 2020
9ee99fb
rb_const_set sets the class path now
nobu Oct 9, 2020
8d1b188
Refactored lex_context management
nobu Oct 8, 2020
02e17d4
Let bundled_gems specify commits to test (#3641)
soutaro Oct 9, 2020
a770b9c
remove debug code
ko1 Oct 9, 2020
5ea2ea7
* 2020-10-10 [ci skip]
matzbot Oct 9, 2020
df25007
Fixed typo in comment
eltociear Oct 10, 2020
5e120a2
Improve doc in rb_class_real doc (#3637)
S-H-GAMELINKS Oct 10, 2020
9eccf07
Update RBS to 0.13.1 (#3645)
soutaro Oct 10, 2020
bfc1c72
Add Ractor#receive and Ractor.receive and use it in all places
eregon Oct 3, 2020
b59640e
[ruby/io-console] Fixed "Rework console to use `rb_io_wait`."
nobu Oct 10, 2020
e10d4dc
* 2020-10-11 [ci skip]
matzbot Oct 10, 2020
a799667
[ruby/io-console] Fix timeout type error (#18)
nobu Oct 10, 2020
37259e8
[ruby/io-console] Relaxed min: option warning
nobu Oct 10, 2020
71428ac
[ruby/io-console] Refined getch warnings
nobu Oct 10, 2020
fddffa4
Respect the original styles [ci skip]
nobu Oct 11, 2020
27b4808
Adjusted indents [ci skip]
nobu Oct 11, 2020
4ed0c33
Prohibit setter method names in all kinds of endless methods
nobu Oct 11, 2020
20d78fd
* 2020-10-12 [ci skip]
matzbot Oct 11, 2020
1336698
Respectively, instead of respentively
kotp Oct 12, 2020
8a39e6d
bignum.c (rb_int_powm): Integer#pow(0, 1) should return 0
mame Oct 12, 2020
eb21e8a
bignum.c (bary_sparse_p): do not comsume Random::DEFAULT
mame Oct 12, 2020
c6652f2
ractor.rb - indent comment code [ci skip]
MSP-Greg Oct 11, 2020
e8d03c9
change rb_ractor_queue to ring buffer
tompng Oct 7, 2020
6527411
[ci skip] Minor documentation fix.
cristiangreco Oct 11, 2020
2fd7111
Make the test suite pass on real Android/Termux environment
mame Oct 12, 2020
bf3b2a4
relax Fiber#transfer's restriction
ko1 Oct 7, 2020
0b1b0f1
spec/ruby/library/socket/socket/listen_spec.rb: Allow both EACCES and…
mame Oct 12, 2020
76e0981
test/ruby/test_fiber.rb: Suppress "assigned but unused variable" warn…
mame Oct 13, 2020
10e09cc
* 2020-10-13 [ci skip]
matzbot Oct 13, 2020
a75ab11
Use %VCVARS%
nobu Oct 12, 2020
fc8b68a
remove useless semicolons
ko1 Oct 13, 2020
d7de342
* 2020-10-14 [ci skip]
matzbot Oct 13, 2020
c3ba3fa
support exception when lock_rec > 0
ko1 Oct 13, 2020
11c2f0f
sync enc_table and rb_encoding_list
ko1 Oct 13, 2020
102c2ba
freeze Encoding objects
ko1 Oct 13, 2020
1e316ed
Promote drb to the default gems
hsbt Oct 13, 2020
9aab916
Promote pathname to default gems
hsbt Oct 13, 2020
0714cb7
Remove duplicated line [ci skip]
znz Oct 14, 2020
ae693ff
fix releasing timing.
ko1 Oct 14, 2020
fad97f1
sync generic_ivtbl
ko1 Oct 14, 2020
278450d
ruby_vm_global_method_state is no longer needed.
ko1 Oct 14, 2020
2e8b596
remove uneffective test
ko1 Oct 14, 2020
8a06af5
Mostly recover a Ruby stack trace from a core file
tenderlove Oct 14, 2020
f0c7a05
* 2020-10-15 [ci skip]
matzbot Oct 14, 2020
ab6c4f8
Merge rubygems-3.2.0.rc.2
hsbt Oct 15, 2020
7ffd14a
Check encoding name to replicate
nobu Aug 13, 2020
d386a58
Merge bundler-2.2.0.rc.2
hsbt Oct 15, 2020
b68c22b
Partly reverted test failing with https://github.com/rubygems/rubygem…
hsbt Oct 15, 2020
ce7a053
Adjust sp for `x = false; y = (return until x unless x)` [Bug #16695]
wanabe Aug 7, 2020
65ae7f3
Adjust sp for `if true or ...`/`if false and ...`
wanabe Aug 8, 2020
c34539d
* 2020-10-16 [ci skip]
matzbot Oct 15, 2020
1cbb1f1
test/ruby/test_syntax.rb: avoid "warning: assigned but unused variable"
mame Oct 16, 2020
de5e8d0
test/rinda/test_rinda.rb: try debugging TestRingServer#test_do_reply
mame Oct 16, 2020
0d17cdd
Abort on system stack overflow during GC
XrXr Oct 15, 2020
ac803ab
test/rinda/test_rinda.rb: Add more debugging code
mame Oct 16, 2020
26e8db6
* 2020-10-17 [ci skip]
matzbot Oct 16, 2020
ff9dc10
keep proc on the stack so it does not move
tenderlove Sep 17, 2020
91ec5f9
remove rb_obj_iv_index_tbl
ko1 Oct 14, 2020
f6661f5
sync RClass::ext::iv_index_tbl
ko1 Oct 16, 2020
5c003b4
test/rinda/test_rinda.rb: Prevent a callback Proc from being GC'ed
mame Oct 17, 2020
6a9e098
Revert "test/rinda/test_rinda.rb: Add more debugging code"
mame Oct 17, 2020
09dd9d8
Revert "test/rinda/test_rinda.rb: try debugging TestRingServer#test_d…
mame Oct 17, 2020
ce62850
Fix typos [ci skip]
znz Oct 19, 2020
f1f8f38
* 2020-10-19 [ci skip]
matzbot Oct 19, 2020
de17e2d
reduce lock for encoding
ko1 Oct 17, 2020
7084138
Revisit to promote digest to default gems.
hsbt Oct 15, 2020
3f97940
Followed up with 708413807ae958afb79257b18475424e0a8a4a56
hsbt Oct 19, 2020
319afed
Use language TLS specifier if it is possible.
ko1 Oct 19, 2020
dac3677
* 2020-10-20 [ci skip]
matzbot Oct 19, 2020
a76a307
Revert "reduce lock for encoding"
ko1 Oct 19, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
55 changes: 55 additions & 0 deletions .github/workflows/check_dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Check Dependencies
on: [push, pull_request]
jobs:
update-deps:
strategy:
matrix:
os: [ubuntu-20.04]
fail-fast: true
runs-on: ${{ matrix.os }}
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Install libraries
run: |
set -x
sudo apt-get update -q || :
sudo apt-get install --no-install-recommends -q -y build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm-dev bison autoconf ruby
- name: git config
run: |
git config --global advice.detachedHead 0
- uses: actions/checkout@v2
with:
path: src
- name: Fixed world writable dirs
run: |
chmod -v go-w $HOME $HOME/.config
sudo chmod -R go-w /usr/share
sudo bash -c 'IFS=:; for d in '"$PATH"'; do chmod -v go-w $d; done' || :
- name: Set ENV
run: |
echo "JOBS=-j$((1 + $(nproc --all)))" >> $GITHUB_ENV
- run: autoconf
working-directory: src
- name: Run configure
run: ./configure -C --disable-install-doc --disable-rubygems --with-gcc 'optflags=-O0' 'debugflags=-save-temps=obj -g'
working-directory: src
- name: Run make
run: make all golf
working-directory: src
- run: ruby tool/update-deps --fix
working-directory: src
- run: git diff --no-ext-diff --ignore-submodules --exit-code
working-directory: src
- uses: k0kubun/action-slack@v2.0.0
with:
payload: |
{
"ci": "GitHub Actions",
"env": "${{ matrix.os }} / Dependencies need to update",
"url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}",
"commit": "${{ github.sha }}",
"branch": "${{ github.ref }}".split('/').reverse()[0]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SIMPLER_ALERTS_URL }} # ruby-lang slack: ruby/simpler-alerts-bot
if: failure() && github.event_name == 'push'
4 changes: 2 additions & 2 deletions .github/workflows/compilers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ jobs:
steps:
- name: setenv
run: |
echo ::set-env name=${{ matrix.entry.key }}::${{ matrix.entry.value }}
echo ::set-env name=make::make -sj$((1 + $(nproc --all)))
echo "${{ matrix.entry.key }}=${{ matrix.entry.value }}" >> $GITHUB_ENV
echo "make=make -sj$((1 + $(nproc --all)))" >> $GITHUB_ENV
- run: mkdir build
- uses: actions/checkout@v2
with:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
- uses: actions/checkout@v2
with:
path: src
- run: ./src/tool/actions-commit-info.sh
id: commit_info
- name: Install libraries
run: |
export WAITS='5 60'
Expand All @@ -31,7 +29,7 @@ jobs:
working-directory: src
- name: Set ENV
run: |
echo '::set-env name=JOBS::'-j$((1 + $(sysctl -n hw.activecpu)))
echo "JOBS=-j$((1 + $(sysctl -n hw.activecpu)))" >> $GITHUB_ENV
- run: autoconf
working-directory: src
- run: mkdir build
Expand All @@ -50,7 +48,6 @@ jobs:
working-directory: build
env:
RUBY_TESTOPTS: "-q --tty=no"
# Remove minitest from TEST_BUNDLED_GEMS_ALLOW_FAILURES if https://github.com/seattlerb/minitest/pull/798 is resolved
TEST_BUNDLED_GEMS_ALLOW_FAILURES: "rexml"
- uses: k0kubun/action-slack@v2.0.0
with:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ jobs:
- uses: actions/checkout@v2
with:
path: src
- run: ./src/tool/actions-commit-info.sh
shell: bash
id: commit_info
- name: Set up Ruby & MSYS2
uses: MSP-Greg/setup-ruby-pkgs@v1
with:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/mjit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,14 @@ jobs:
- uses: actions/checkout@v2
with:
path: src
- run: ./src/tool/actions-commit-info.sh
id: commit_info
- name: Fixed world writable dirs
run: |
chmod -v go-w $HOME $HOME/.config
sudo chmod -R go-w /usr/share
sudo bash -c 'IFS=:; for d in '"$PATH"'; do chmod -v go-w $d; done' || :
- name: Set ENV
run: |
echo '::set-env name=JOBS::'-j$((1 + $(nproc --all)))
echo "JOBS=-j$((1 + $(nproc --all)))" >> $GITHUB_ENV
- run: autoconf
working-directory: src
- run: mkdir build
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,14 @@ jobs:
- uses: actions/checkout@v2
with:
path: src
- run: ./src/tool/actions-commit-info.sh
id: commit_info
- name: Fixed world writable dirs
run: |
chmod -v go-w $HOME $HOME/.config
sudo chmod -R go-w /usr/share
sudo bash -c 'IFS=:; for d in '"$PATH"'; do chmod -v go-w $d; done' || :
- name: Set ENV
run: |
echo '::set-env name=JOBS::'-j$((1 + $(nproc --all)))
echo "JOBS=-j$((1 + $(nproc --all)))" >> $GITHUB_ENV
- run: autoconf
working-directory: src
- run: mkdir build
Expand All @@ -73,7 +71,6 @@ jobs:
working-directory: build
env:
RUBY_TESTOPTS: "-q --tty=no"
# Remove minitest from TEST_BUNDLED_GEMS_ALLOW_FAILURES if https://github.com/seattlerb/minitest/pull/798 is resolved
TEST_BUNDLED_GEMS_ALLOW_FAILURES: ""
- uses: k0kubun/action-slack@v2.0.0
with:
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
runs-on: ${{ matrix.os }}
env:
GITPULLOPTIONS: --no-tags origin ${{github.ref}}
VCVARS: C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- uses: actions/cache@v2
Expand Down Expand Up @@ -40,20 +41,17 @@ jobs:
- uses: actions/checkout@v2
with:
path: src
- run: ./src/tool/actions-commit-info.sh
shell: bash
id: commit_info
- run: md build
shell: cmd
- name: Configure
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
call "%VCVARS%"
../src/win32/configure.bat --disable-install-doc --without-ext=+,dbm,gdbm --enable-bundled-libffi --with-opt-dir=C:/vcpkg/installed/x64-windows --with-openssl-dir="C:/Program Files/OpenSSL-Win64"
working-directory: build
shell: cmd
- name: nmake
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
call "%VCVARS%"
set YACC=win_bison
echo on
nmake incs
Expand All @@ -64,7 +62,7 @@ jobs:
- name: nmake test
timeout-minutes: 30
run: |
call "C:\Program Files (x86)\Microsoft Visual Studio\${{ matrix.vs }}\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
call "%VCVARS%"
nmake ${{ matrix.test_task }}
working-directory: build
shell: cmd
Expand Down
82 changes: 0 additions & 82 deletions KNOWNBUGS.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,85 +5,3 @@
# This test file includes tests which point out known bugs.
# So all tests will cause failure.
#

assert_normal_exit %q{
using Module.new
}

=begin
=================================================================
==43397==ERROR: AddressSanitizer: use-after-poison on address 0x62d000004028 at pc 0x000107ffd8b2 bp 0x7ffee87380d0 sp 0x7ffee87380c8
READ of size 8 at 0x62d000004028 thread T0
#0 0x107ffd8b1 in invalidate_all_cc vm_method.c:243
#1 0x107a891bf in objspace_each_objects_without_setup gc.c:3074
#2 0x107ab6d4b in objspace_each_objects_protected gc.c:3084
#3 0x107a5409b in rb_ensure eval.c:1137
#4 0x107a88bcb in objspace_each_objects gc.c:3152
#5 0x107a8888a in rb_objspace_each_objects gc.c:3136
#6 0x107ffd843 in rb_clear_method_cache_all vm_method.c:259
#7 0x107a55c9f in rb_using_module eval.c:1483
#8 0x107a57dcf in top_using eval.c:1829
#9 0x10806f65f in call_cfunc_1 vm_insnhelper.c:2439
#10 0x108062ea5 in vm_call_cfunc_with_frame vm_insnhelper.c:2601
#11 0x1080491b7 in vm_call_cfunc vm_insnhelper.c:2622
#12 0x108048136 in vm_call_method_each_type vm_insnhelper.c:3100
#13 0x108047507 in vm_call_method vm_insnhelper.c:3204
#14 0x10800c03c in vm_call_general vm_insnhelper.c:3240
#15 0x10803858e in vm_sendish vm_insnhelper.c:4194
#16 0x107feb993 in vm_exec_core insns.def:799
#17 0x1080223db in rb_vm_exec vm.c:1944
#18 0x108026d2f in rb_iseq_eval_main vm.c:2201
#19 0x107a4e863 in rb_ec_exec_node eval.c:296
#20 0x107a4e323 in ruby_run_node eval.c:354
#21 0x1074c2c94 in main main.c:50
#22 0x7fff6b093cc8 in start (libdyld.dylib:x86_64+0x1acc8)

0x62d000004028 is located 40 bytes inside of 16384-byte region [0x62d000004000,0x62d000008000)
allocated by thread T0 here:
#0 0x1086bf1c0 in wrap_posix_memalign (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x461c0)
#1 0x107a9be2f in rb_aligned_malloc gc.c:9748
#2 0x107ab26fd in heap_page_allocate gc.c:1771
#3 0x107ab24a4 in heap_page_create gc.c:1875
#4 0x107ab23e8 in heap_assign_page gc.c:1895
#5 0x107a88093 in heap_add_pages gc.c:1908
#6 0x107a87f8f in Init_heap gc.c:3030
#7 0x107a4afd6 in ruby_setup eval.c:85
#8 0x107a4b64c in ruby_init eval.c:108
#9 0x1074c2c02 in main main.c:49
#10 0x7fff6b093cc8 in start (libdyld.dylib:x86_64+0x1acc8)

SUMMARY: AddressSanitizer: use-after-poison vm_method.c:243 in invalidate_all_cc
Shadow bytes around the buggy address:
0x1c5a000007b0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x1c5a000007c0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x1c5a000007d0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x1c5a000007e0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x1c5a000007f0: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
=>0x1c5a00000800: 00 00 00 00 00[f7]00 00 00 00 f7 00 00 00 00 f7
0x1c5a00000810: 00 00 00 00 f7 00 00 00 00 f7 00 00 00 00 f7 00
0x1c5a00000820: 00 00 00 f7 00 00 00 00 f7 00 00 00 00 f7 00 00
0x1c5a00000830: 00 00 f7 00 00 00 00 f7 00 00 00 00 f7 00 00 00
0x1c5a00000840: 00 f7 00 00 00 00 f7 00 00 00 00 f7 00 00 00 00
0x1c5a00000850: f7 00 00 00 00 f7 00 00 00 00 f7 00 00 00 00 f7
Shadow byte legend (one shadow byte represents 8 application bytes):
Addressable: 00
Partially addressable: 01 02 03 04 05 06 07
Heap left redzone: fa
Freed heap region: fd
Stack left redzone: f1
Stack mid redzone: f2
Stack right redzone: f3
Stack after return: f5
Stack use after scope: f8
Global redzone: f9
Global init order: f6
Poisoned by user: f7
Container overflow: fc
Array cookie: ac
Intra object redzone: bb
ASan internal: fe
Left alloca redzone: ca
Right alloca redzone: cb
Shadow gap: cc
==43397==ABORTING
=end
Loading