Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
878 commits
Select commit Hold shift + click to select a range
72bbf60
do not assume GCC for __builtin_setjmp
shyouhei Jan 30, 2020
34fd724
fine-grained #ifdef guard for Sparc systems
shyouhei Jan 31, 2020
b223a78
this ternary operator is an undefined behaviour
shyouhei Jan 31, 2020
ce4ea95
function pointers are not void*
shyouhei Jan 31, 2020
34f8e75
rb_vm_t::postponed_job_index shall be rb_atomic_t
shyouhei Jan 31, 2020
3d83e64
[ruby/spec] Check by Thread#stop?
nobu Feb 6, 2020
32adae4
[ruby/spec] Just test that sleep completes
nobu Feb 6, 2020
739fdb7
[ruby/spec] Don't care about return values
nobu Feb 6, 2020
f1c230f
Add separated assertion count
nobu Feb 6, 2020
5fac54a
Fixed the output from separated test in parallel test
nobu Feb 6, 2020
e323f50
Fix readline-ext sync
aycabta Feb 6, 2020
054d99d
[rubygems/rubygems] Allow releasing with a rubygems pre version
deivid-rodriguez Feb 3, 2020
c6b5881
[rubygems/rubygems] Make non "test_" method private
deivid-rodriguez Feb 4, 2020
d767da4
[rubygems/rubygems] Fix require issue with file extension priority
deivid-rodriguez Feb 4, 2020
bd0a02d
Revert to remove the query command of rubygems.
hsbt Feb 6, 2020
8c67080
Revert "[rubygems/rubygems] Fix require issue with file extension pri…
hsbt Feb 6, 2020
3d21a75
No crafted backtrace for SystemExit
nobu Feb 7, 2020
a3fb974
Stop auto runner
nobu Feb 7, 2020
aece5ba
Removed useless empty lines
nobu Feb 7, 2020
dedcf62
* 2020-02-07 [ci skip]
matzbot Feb 7, 2020
6ed1a5e
Made a test more robust
nobu Feb 7, 2020
115fec0
more on NULL versus functions.
shyouhei Feb 7, 2020
b64b0f3
Show unmatched sequence on failure
nobu Feb 7, 2020
38ed8cb
remove warning & support multi-run test for test/psych/visitors/test_…
S-H-GAMELINKS Feb 7, 2020
59a40fe
remove warning & support multi-run test for test/psych_test_yaml.rb (…
S-H-GAMELINKS Feb 7, 2020
b76a21a
support multi-run test for test/did_you_mean/spell_checking/test_clas…
S-H-GAMELINKS Feb 4, 2020
07c9853
Clarified documentation in rb_integer_unpack [ci skip]
Lykos Feb 8, 2020
c76484c
* 2020-02-08 [ci skip]
matzbot Feb 8, 2020
80cbf97
[DOC] Added 2.7.x to the latest stable versions [ci skip]
nobu Feb 8, 2020
97b583d
[ruby/reline] Organize special keys escape sequences
aycabta Feb 8, 2020
acb9b73
* 2020-02-09 [ci skip]
matzbot Feb 8, 2020
2173ae7
spec/ruby/core/file/utime_spec.rb: far future timestamp may be trancated
mame Feb 9, 2020
92c86e3
Removed a useless guard
nobu Feb 9, 2020
a28c166
gc.c: make the stack overflow detection earlier under s390x
mame Feb 9, 2020
e077a91
Fix message of ExceptionForMatrix::ErrOperationNotDefined
znz Feb 9, 2020
b7e0831
Enhance rdoc for ENV
BurdetteLamar Feb 9, 2020
c47cd4b
Removed duplicated code
nobu Feb 9, 2020
aeaf0dc
Separate objspace argument for rb_gc_disable and rb_gc_enable
nobu Feb 9, 2020
0f05b23
Disable GC until VM objects get initialized [Bug #16616]
nobu Feb 9, 2020
e3e96e3
Check if bindable against the refined target [Bug #16617]
nobu Feb 9, 2020
9dcb324
Revert "[ruby/readline-ext] Include ruby/assert.h in ruby/ruby.h so t…
aycabta Feb 9, 2020
05711ad
[ruby/readline-ext] Remove unnecessary -I$(top_srcdir) when it's an i…
aycabta Feb 9, 2020
ac0658e
[ruby/readline-ext] Check TestRelineAsReadline existance
aycabta Feb 9, 2020
a629f14
[ruby/readline-ext] The ruby/assert.h is adopted by Ruby 2.7 or later
aycabta Feb 9, 2020
fd6746c
[ruby/readline-ext] Use require check instead of DONT_RUN_RELINE_TEST…
aycabta Feb 9, 2020
108a288
[ruby/readline-ext] Add spec.extensions
aycabta Feb 9, 2020
f347117
[ruby/readline-ext] Use rake/extensiokntask to build
aycabta Feb 9, 2020
26532c7
doc/make_cheatsheet.md: add a memo about how to run one rubyspec file
mame Feb 9, 2020
6f04f0c
test/ruby/test_thread_queue.rb: add a wait to yield a thread
mame Feb 9, 2020
9c5a2fe
Fix readline build dependency
XrXr Feb 9, 2020
2079f43
* 2020-02-10 [ci skip]
matzbot Feb 9, 2020
6e5e6a4
Deduplicate objects efficiently when dumping iseq to binary
Dec 18, 2019
e443f23
compile.c: Drop iseq_list from ibf_dump
Feb 6, 2020
a2845ad
compile.c: Drop obj_list from ibf_dump
Feb 6, 2020
f83781c
rb_enc_str_asciionly_p expects T_STRING
shyouhei Feb 10, 2020
442c6de
Added commands of test-bundler to cheatsheet.
hsbt Feb 10, 2020
6e68443
Fixed duplicated warning
nobu Feb 10, 2020
912ef0b
Revert "gc.c: make the stack overflow detection earlier under s390x"
mame Feb 10, 2020
8474e6a
Use github.run_id in notification payload URL
znz Feb 10, 2020
6891fd1
Don't use upstream ext/readline/depend
aycabta Feb 10, 2020
2d1cb93
Update readline-ext entry at docs
hsbt Feb 10, 2020
2dea81f
Don't refer Date in the document for Time.
akr Feb 10, 2020
d83d61c
Removed unused variable
nobu Feb 11, 2020
de4caa3
* 2020-02-11 [ci skip]
matzbot Feb 11, 2020
a5d7b8e
Expose assert_normal_exit for weakref
hsbt Feb 11, 2020
9b2e671
Expose assert_no_memory_leak for weakref
hsbt Feb 11, 2020
56f6973
Promote weakref to the default gems
hsbt Feb 11, 2020
66e636a
ignore revision.tmp with in-place build
hsbt Feb 11, 2020
3e78824
Update the documentation for weakref
hsbt Feb 11, 2020
f905f69
Monitor is extention library now
hsbt Feb 11, 2020
de3883e
Restart timer thread even after preparation failed
nobu Feb 11, 2020
50065da
Remove rb_eval_cmd
jeremyevans Feb 10, 2020
28bff9d
* 2020-02-12 [ci skip]
matzbot Feb 11, 2020
ea32715
Add backwards compatibility example macro for rb_eval_cmd_kwd [ci skip]
jeremyevans Feb 11, 2020
7a288df
Make yield in singleton class definitions in methods a SyntaxError
jeremyevans Feb 11, 2020
155ab9c
Removed unnecessary conversion
nobu Feb 12, 2020
985d1b9
Fixed a potential memory leak
nobu Feb 12, 2020
3af3431
[ruby/irb] Add test_complete_symbol
aycabta Feb 10, 2020
0719e1b
[ruby/irb] Check doc namespace correctly
aycabta Feb 10, 2020
8b8cc01
[ruby/irb] Fix auto indent with closed brace
aycabta Feb 10, 2020
16f5d63
[ruby/irb] Use 0.step instead of (..0).each for Ruby 2.5
aycabta Feb 2, 2020
166c4a6
Revert "[ruby/irb] Add test_complete_symbol"
hsbt Feb 12, 2020
921916f
Isolate the test for Encoding#replicate
nobu Feb 11, 2020
52cdf40
Workaround of instance variable on hidden object
nobu Feb 11, 2020
2090011
test/etc/test_etc.rb: skip some tests on Android
mame Feb 12, 2020
65201c0
test/rubygems: Try not only /usr/bin/env but also /bin/env
mame Feb 12, 2020
775e31c
Add array.rb to .document
S-H-GAMELINKS Feb 12, 2020
15cacf1
Add test_complete_symbol
aycabta Feb 12, 2020
b8e7bd9
Promote tempfile to the default gems.
hsbt Feb 12, 2020
1b219f1
Move the entries of tempfile on docs
hsbt Feb 12, 2020
bdf3032
Make temporary lock string encoding free
nobu Feb 12, 2020
160d316
Copy non-inlined encoding index
nobu Feb 12, 2020
bbd1ed6
Promote tmpdir to the default gems
hsbt Feb 12, 2020
a91ce05
Move the entries of tempfile on docs
hsbt Feb 12, 2020
ed7b46b
Use inline cache for super calls
jhawthorn Jan 19, 2020
bc1dbed
* 2020-02-13 [ci skip]
matzbot Feb 12, 2020
99a8742
should be compared with called_id
ko1 Feb 12, 2020
53a8b14
skip SEGV test if RUBY_ON_BUG is specified
ko1 Feb 12, 2020
377c633
test/rubygems/test_gem_commands_setup_command.rb: Allow /bin/env
mame Feb 13, 2020
572d9b9
support multi-run test for test/webrick/test_filehandler.rb
S-H-GAMELINKS Feb 10, 2020
778c397
Fix remove warning & support multi-run test for test/psych/visitors/t…
S-H-GAMELINKS Feb 9, 2020
b1b155f
support multi-run test for test/did_you_mean/test_verbose_formatter.rb
S-H-GAMELINKS Feb 9, 2020
fce667e
Get rid of warnings/exceptions at cleanup
nobu Feb 13, 2020
aeddffa
Add "test-all TESTS=--repeat-count=2" to test_task
znz Feb 13, 2020
2c5764e
Promote English to the default gems.
hsbt Feb 13, 2020
4a2b997
Move the English entries to the default gems at docs
hsbt Feb 13, 2020
a11fa7d
spec/ruby/core/dir/home_spec.rb: exclude Android
mame Feb 13, 2020
022268a
spec/ruby/core/encoding/locale_charmap_spec.rb: locale_charmap is UTF…
mame Feb 13, 2020
ed549f8
spec/ruby/core/process/clock_getres_spec.rb: skip on Android
mame Feb 13, 2020
02233e1
spec/ruby/core/process/spawn_spec.rb: Use / instead of /tmp
mame Feb 13, 2020
ca53ab5
spec/ruby/library/etc/confstr_spec.rb: skip on Android
mame Feb 13, 2020
c6ebbbd
spec/ruby: skip the specs that use /etc/passwd on Android
mame Feb 13, 2020
89bfad1
spec/ruby/library/syslog: skip the specs that use LOG_PERROR on Android
mame Feb 13, 2020
db8c8c0
spec/ruby/library/socket/addrinfo: skip the specs that uses SOCK_SEQP…
mame Feb 13, 2020
09a042a
spec/ruby/library/etc/: skip the specs related to group on Android
mame Feb 13, 2020
bbc6799
spec/ruby/library/socket/addrinfo/getnameinfo_spec.rb: skip on Android
mame Feb 13, 2020
6bfc576
spec/ruby/library/socket/constants/constants_spec.rb: skip on Android
mame Feb 13, 2020
fad98c6
test/irb/test_completion.rb: suppress a warning: unused literal ignored
mame Feb 13, 2020
c0ebf64
* 2020-02-14 [ci skip]
matzbot Feb 13, 2020
b9129da
Enhanced doc for ENV
BurdetteLamar Feb 14, 2020
36b7e95
Fix typos and add a space [ci skip]
znz Feb 14, 2020
0742585
Consitified `rb_scan_args_set`
nobu Feb 14, 2020
9bc815a
Hoisted out `rb_scan_args_result`
nobu Feb 14, 2020
95c58d3
MinGW - rename OpenSSL dll's in system32 directory
MSP-Greg Feb 6, 2020
1df2c8c
Revert "MinGW - rename OpenSSL dll's in system32 directory"
hsbt Feb 14, 2020
78282d4
[ruby/io-console] Prefer keyword arguments
nobu Feb 14, 2020
2efb38e
[ruby/reline] Use IO#write instead of IO#print
aycabta Feb 14, 2020
79ad50d
Fix call-seq of Pathname#{,l}ch{mod,own} [ci skip]
znz Feb 15, 2020
2bcfdad
* 2020-02-15 [ci skip]
matzbot Feb 15, 2020
fb472ca
lib/drb/drb.rb: Use ruby2_keywords for keyword separation
mame Feb 15, 2020
125bcdb
[DOC] use local variable like names [ci skip]
nobu Feb 15, 2020
0548586
Workaround for bison provided by scoop on mswin environment
hsbt Feb 15, 2020
12ae7b3
[ruby/reline] Version 0.1.3
aycabta Feb 14, 2020
8749a67
[ruby/irb] Version 1.2.2
aycabta Feb 14, 2020
38f1e84
[ruby/irb] Include easter-egg.rb in gemspec
nicklewis Feb 14, 2020
9616301
[ruby/irb] fix reserved words and completion for them
no6v Feb 12, 2020
5278294
Reduce begin-less/end-less range allocation
pocke Feb 15, 2020
07179c5
* 2020-02-16 [ci skip]
matzbot Feb 15, 2020
0bfa479
Split the optimizable range item conditions
nobu Feb 16, 2020
b99775b
Import openssl-2.2.0 (#2693)
hsbt Feb 16, 2020
3014574
Guard for OpenSSL::PKey::EC::Group::Error with unsupported platforms
hsbt Feb 16, 2020
0b55f8a
ext/openssl/extconf.rb: avoid -Werror=deprecated-declarations
mame Feb 16, 2020
01138f5
Make OpenSSL::OSSL#test_memcmp_timing robust
mame Feb 16, 2020
e37e0bf
test/openssl/test_ssl.rb: skip a test on OpenSSL 1.1.d or later
mame Feb 16, 2020
a6d007c
test/openssl/test_ts.rb: tentatively skip a failing test on CentOS 6.9
mame Feb 16, 2020
331755c
Revert "test/openssl/test_ts.rb: tentatively skip a failing test on C…
mame Feb 16, 2020
3281f70
NEWS.md: fix method references; remove surplus brackets
stomar Feb 16, 2020
1126f58
NEWS.md: remove leading whitespace
stomar Feb 16, 2020
6ca0a62
NEWS.md: improve language; markup as list item
stomar Feb 16, 2020
a9e10d3
NEWS.md: add missing ticket links
stomar Feb 16, 2020
21ab483
* 2020-02-17 [ci skip]
matzbot Feb 16, 2020
dec802d
[ruby/io-console] [DOC] Improved about `intr:`
nobu Feb 17, 2020
3fbcdac
test/openssl/test_ssl.rb: skip OpenSSL::TestSSL#test_fallback_scsv
mame Feb 17, 2020
99b191d
[ruby/openssl] ts: simplify OpenSSL::Timestamp::Request#algorithm
rhenium Feb 17, 2020
8f91dc7
[ruby/openssl] test/openssl/test_ssl: skip test_fallback_scsv if nece…
rhenium Feb 17, 2020
2032432
Partially revert "test/openssl/test_ssl.rb: skip OpenSSL::TestSSL#tes…
mame Feb 17, 2020
0ae9780
Promote net-protocol to default gems
hsbt Feb 17, 2020
c42c6a5
Move the entry of net-protocol on docs
hsbt Feb 17, 2020
9239226
* append newline at EOF. [ci skip]
matzbot Feb 17, 2020
dcb0517
[ruby/irb] Version 1.2.3
aycabta Feb 15, 2020
5ef3835
[ruby/io-console] Just ignore the extension on other than CRuby
nobu Feb 17, 2020
2115a39
[ruby/io-console] bump up to 0.5.6
nobu Feb 18, 2020
38070cc
* 2020-02-18 [ci skip]
matzbot Feb 18, 2020
041c293
Pass keyword arguments to IOs properly [Bug #16639]
nobu Feb 18, 2020
5fd5666
support multi-run test for test_readline.rb
S-H-GAMELINKS Feb 18, 2020
90d082e
* 2020-02-19 [ci skip]
matzbot Feb 19, 2020
f0b815d
`Proc` made by `Symbol#to_proc` should be a lambda [Bug #16260]
nobu Nov 28, 2019
c4794ed
Avoid jumping to a wrong destination
k0kubun Feb 19, 2020
57c2623
Use `brew upgrade` instead of `brew update`
znz Feb 19, 2020
4bc1624
* 2020-02-20 [ci skip]
matzbot Feb 19, 2020
97e8212
doc/make_cheatsheet.md: fix typos
stomar Feb 19, 2020
eed7235
hash.c: [DOC] fix typos
stomar Feb 19, 2020
036a68a
[DOC] Fixed `ENV.rassoc` result order [ci skip]
nobu Feb 19, 2020
6788c37
suppress clang warnings
shyouhei Feb 18, 2020
984e023
TestTime#test_memsize: skip when on GC_DEBUG
shyouhei Feb 17, 2020
c7e6dbd
fix arity mismatch
shyouhei Feb 13, 2020
8920e20
hide vm_ep_in_heap_p_
shyouhei Feb 15, 2020
7aa3f1f
printf can be a macro
shyouhei Feb 13, 2020
4e6bae4
ext/-test-/cxxanyargs: prevent have_devel check
shyouhei Feb 13, 2020
49bb2e6
avoid defining inline
shyouhei Feb 15, 2020
7586355
comma at the end of enum is a C++11ism
shyouhei Feb 13, 2020
56d33b3
Fixed missing `return`
nobu Feb 20, 2020
f5abcf7
[ruby/rdoc] Removed `RDoc::Context::Section#sequence`
nobu Feb 13, 2020
e9d872a
Promote net-imap to the default gems
hsbt Feb 20, 2020
a326b4b
Move an entry of net-imap to the default gems section
hsbt Feb 20, 2020
3e12b65
Fallback to load version file in ruby core repository
hsbt Feb 20, 2020
df26d36
Prefer alignas() over _Alignas()
mame Feb 20, 2020
59c2a11
Fix typo in NEWS-2.7.0
pocke Feb 21, 2020
4643bf5
* 2020-02-21 [ci skip]
matzbot Feb 21, 2020
f08d8e5
Promote net-ftp to default gems
hsbt Feb 21, 2020
a294ec1
Move an entry of net-ftp to the default gems section
hsbt Feb 21, 2020
9cb1ffa
Promote net-http to the default gems.
hsbt Feb 21, 2020
fa1cf77
Move an entry of net-ftp to the default gems section
hsbt Feb 21, 2020
e7f8724
Fixed net-ftp sync task and resync from standalone repo
hsbt Feb 21, 2020
8d3b7f0
Fixed net-pop, smtp, protocol and imap task for sync tool
hsbt Feb 21, 2020
5e7322b
[ruby/irb] `yield` outside method definition is a syntax error
nobu Feb 19, 2020
0b4500d
Adjusted indent [ci skip]
nobu Feb 21, 2020
5cab86f
`Proc` made by `Symbol#to_proc` should be a lambda [Bug #16260]
nobu Feb 21, 2020
8c5ca31
`Proc` made by `Symbol#to_proc` should be a lambda [Bug #16260]
nobu Feb 21, 2020
5a89c05
* 2020-02-22 [ci skip]
matzbot Feb 21, 2020
a1eb1fa
use RUBY_FUNCTION_NAME_STRING instead of __func__ for rp()
ko1 Feb 21, 2020
f228692
VALUE size packed callinfo (ci).
ko1 Jan 7, 2020
b9007b6
Introduce disposable call-cache.
ko1 Jan 8, 2020
d7984d0
* remove trailing spaces. [ci skip]
matzbot Feb 22, 2020
da31035
test/readline - allow ENV control of test class creation
MSP-Greg Feb 19, 2020
af12e38
More ENV rdoc [ci skip]
BurdetteLamar Feb 22, 2020
31748e6
CI can be NULL.
ko1 Feb 22, 2020
5b29ea0
Proc from Symbol needs a receiver
nobu Feb 22, 2020
f744d80
check USE_MJIT
ko1 Feb 22, 2020
c7b71af
Prefer `exe/ruby` to execute from it
nobu Feb 22, 2020
4aebb49
Expand Symbol#to_proc specs to be clearer
eregon Feb 22, 2020
77dcc2c
hash.c: [DOC] fix examples for ENV.merge!
stomar Feb 22, 2020
f85ca4c
* 2020-02-23 [ci skip]
matzbot Feb 22, 2020
0ed3384
Revert "Prefer `exe/ruby` to execute from it"
nobu Feb 23, 2020
588a86e
Warn non-nil `$,` in `IO#print` too
nobu Jan 20, 2020
6298ec2
Warn non-nil `$\` [Feature #14240]
nobu Jan 20, 2020
8a7e0aa
Warn non-nil `$/` [Feature #14240]
nobu Jan 20, 2020
281b350
Add pattern matching documentation
zverok Dec 25, 2019
f88d209
* 2020-02-24 [ci skip]
matzbot Feb 23, 2020
6f92c62
Update bundled gems
nobu Feb 24, 2020
116b9e6
Retry checking out the version
nobu Feb 24, 2020
f840173
Try with and without "v" prefix for numeric tag
nobu Feb 24, 2020
8b6e268
Fixed symbol misused as ID
nobu Feb 24, 2020
fa1ec60
Fix wrong documentation for return value of Pathname#fnmatch
pocke Feb 24, 2020
82d2760
* 2020-02-25 [ci skip]
matzbot Feb 25, 2020
7ec2359
prevent GC from mjit worker.
ko1 Feb 25, 2020
670b7be
should count only string.
ko1 Feb 25, 2020
84d1a99
should be initialize jit_unit->cc_entries.
ko1 Feb 25, 2020
0febd07
ext/-test-/cxxanyargs: use try_link instead
shyouhei Feb 25, 2020
a504535
Prefer dedicated assertion method
nobu Feb 25, 2020
55bf0ef
Share extracted bundled gems with gems for bundler
nobu Feb 23, 2020
66d1900
Increase timeout for CSV test with --jit-wait
k0kubun Feb 25, 2020
6c66761
* 2020-02-26 [ci skip]
matzbot Feb 25, 2020
672213e
Document that Array#index and find_index are aliases [ci skip]
seachel Feb 25, 2020
0686e41
Fixed for older versions
nobu Feb 26, 2020
e960ef6
Use `Gem::Package` like object instead of monkey patching.
voxik Oct 1, 2019
6609940
Use `$script_mode` instead of `$prog_mode` for gem inistallation.
voxik Oct 1, 2019
c9fab1a
Use local `{dir,prog,data}_mode` variables instead of globals.
voxik Oct 1, 2019
e087b02
Use class variable `@src_dir` instead of local `path`.
voxik Oct 11, 2019
b8a8fdb
Properly detect mode for binaries.
voxik Oct 14, 2019
9d6d531
Cache destination dir.
voxik Oct 15, 2019
acf6b95
.travis.yml: ruby_2_7 is travis ready.
shyouhei Feb 26, 2020
cec7ef5
.travis.yml delete darwin debug code
shyouhei Feb 26, 2020
9a9f991
.travis.yml: mandate UBSAN
shyouhei Feb 26, 2020
041f460
.travis.yml: favor >- over |- and backslash
shyouhei Feb 26, 2020
344c449
.travis.yml, .github: delete environmental dumps
shyouhei Feb 26, 2020
2177a52
.github: less verbose on: specifier
shyouhei Feb 26, 2020
732442f
.github: make use of working-directory
shyouhei Feb 26, 2020
7edf91e
.github: let "make leaked-globals" run in parallel
shyouhei Feb 26, 2020
20045b3
test CI
shyouhei Feb 26, 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
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .dir-locals.el
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

(c-mode . ((c-file-style . "ruby")))

(c++-mode . ((c-file-style . "ruby")))

(change-log-mode .
((buffer-file-coding-system . us-ascii)
(indent-tabs-mode . t)
Expand Down
9 changes: 5 additions & 4 deletions .document
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,13 @@
# prelude
prelude.rb
rbconfig.rb

trace_point.rb
array.rb
ast.rb
io.rb
gc.rb
io.rb
pack.rb
trace_point.rb
warning.rb

# the lib/ directory (which has its own .document file)
lib
Expand All @@ -24,7 +25,7 @@ lib
ext

# rdoc files
NEWS
NEWS.md

README.md
README.ja.md
Expand Down
2 changes: 1 addition & 1 deletion .gdbinit
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@ document rb_count_objects
Counts all objects grouped by type.
end

# Details: https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/MachineInstructionsTraceWithGDB
# Details: https://bugs.ruby-lang.org/projects/ruby-master/wiki/MachineInstructionsTraceWithGDB
define trace_machine_instructions
set logging on
set height 0
Expand Down
78 changes: 0 additions & 78 deletions .github/workflows/cygwin.yml

This file was deleted.

61 changes: 24 additions & 37 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
name: macOS
on:
push:
branches:
- master
pull_request:
branches:
- '*'
on: [push, pull_request]
jobs:
make:
runs-on: macos-latest
strategy:
matrix:
test_task: [ "check", "test-bundler", "test-bundled-gems" ]
test_task: [ "check", "test-bundler", "test-bundled-gems", "leaked-globals" ]
fail-fast: false
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
Expand All @@ -20,59 +14,52 @@ jobs:
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate
# Not using official actions/checkout because it's unstable and sometimes doesn't work for a fork.
- name: Checkout ruby/ruby
- name: Checkout ruby
run: |
git clone --single-branch --shallow-since=yesterday https://github.com/ruby/ruby src
git clone --single-branch --shallow-since=yesterday --branch=${GITHUB_REF#refs/heads/} https://github.com/${{ github.repository }} src
git -C src reset --hard "$GITHUB_SHA"
if: github.event_name == 'push'
- name: Checkout a pull request
run: |
git clone --single-branch --shallow-since=yesterday "--branch=$GITHUB_BRANCH" "https://github.com/${GITHUB_REPO}" src
git -C src reset --hard "$GITHUB_REV"
env:
GITHUB_REV: ${{ github.event.pull_request.head.sha }}
GITHUB_BRANCH: ${{ github.event.pull_request.head.ref }}
GITHUB_REPO: ${{ github.event.pull_request.head.repo.full_name }}
git clone --single-branch --shallow-since=yesterday --branch=${{ github.event.pull_request.head.ref }} https://github.com/${{ github.event.pull_request.head.repo.full_name }} src
git -C src reset --hard ${{ github.event.pull_request.head.sha }}
if: github.event_name == 'pull_request'
- run: ./src/tool/actions-commit-info.sh
id: commit_info
- name: Install libraries
run: |
export WAITS='5 60'
cd src
tool/travis_retry.sh brew update
tool/travis_retry.sh brew upgrade
tool/travis_retry.sh brew install gdbm gmp libffi openssl@1.1 zlib autoconf automake libtool readline
working-directory: src
- name: Set ENV
run: |
echo '::set-env name=JOBS::'-j$((1 + $(sysctl -n hw.activecpu)))
- name: Autoconf
run: |
cd src
autoconf
- name: Configure
run: |
mkdir build
cd build
../src/configure -C --disable-install-doc --with-openssl-dir=$(brew --prefix openssl@1.1) --with-readline-dir=$(brew --prefix readline)
- name: Make
run: make -C build $JOBS
- name: Extract gems
run: make -C build update-gems extract-gems
- run: autoconf
working-directory: src
- run: mkdir build
- run: ../src/configure -C --disable-install-doc --with-openssl-dir=$(brew --prefix openssl@1.1) --with-readline-dir=$(brew --prefix readline)
working-directory: build
- run: make $JOBS
working-directory: build
- run: make update-gems extract-gems
working-directory: build
if: matrix.test_task == 'check'
- name: Tests
run: make -C build $JOBS -s ${{ matrix.test_task }}
- run: make $JOBS -s ${{ matrix.test_task }}
working-directory: build
env:
RUBY_TESTOPTS: "-q --tty=no"
- name: Leaked Globals
run: make -C build -s leaked-globals
# Remove minitest from TEST_BUNDLED_GEMS_ALLOW_FAILURES if https://github.com/seattlerb/minitest/pull/798 is resolved
# rss needs to add workaround for the non rexml environment
TEST_BUNDLED_GEMS_ALLOW_FAILURES: "minitest,xmlrpc,rss,rexml"
- uses: k0kubun/action-slack@v2.0.0
with:
payload: |
{
"attachments": [{
"text": "${{ job.status }}: ${{ github.workflow }} / ${{ matrix.test_task }} <https://github.com/${{ github.repository }}/commit/${{ github.sha }}/checks|${{ steps.commit_info.outputs.COMMIT_DATE }} #${{ steps.commit_info.outputs.COMMIT_NUMBER_OF_DAY }}> " +
"text": "${{ github.workflow }} / ${{ matrix.test_task }} <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ steps.commit_info.outputs.COMMIT_DATE }} #${{ steps.commit_info.outputs.COMMIT_NUMBER_OF_DAY }}> " +
"(<https://github.com/${{ github.repository }}/commit/${{ github.sha }}|" + "${{ github.sha }}".substring(0, 10) + ">) " +
"of ${{ github.repository }}@" + "${{ github.ref }}".split('/').reverse()[0] + " by ${{ github.event.head_commit.committer.name }}",
"of ${{ github.repository }}@" + "${{ github.ref }}".split('/').reverse()[0] + " by ${{ github.event.head_commit.committer.name }} failed",
"color": "danger"
}]
}
Expand Down
154 changes: 154 additions & 0 deletions .github/workflows/mingw.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
name: MinGW
on: [push, pull_request]

# Notes:
# Action ENV TEMP and TMP are short 8.3 paths, but the long path differs.
# Code uses TMPDIR, which is Ruby's 'first' check
#
# Console encoding causes issues, see test-all & test-spec steps
#
jobs:
make:
runs-on: windows-2019
env:
MSYSTEM: MINGW64
MSYSTEM_PREFIX: /mingw64
MSYS2_ARCH: x86_64
CHOST: "x86_64-w64-mingw32"
CFLAGS: "-march=x86-64 -mtune=generic -O3 -pipe -fstack-protector-strong"
CXXFLAGS: "-march=x86-64 -mtune=generic -O3 -pipe"
CPPFLAGS: "-D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048"
LDFLAGS: "-pipe -fstack-protector-strong"
UPDATE_UNICODE: "UNICODE_FILES=. UNICODE_PROPERTY_FILES=. UNICODE_AUXILIARY_FILES=. UNICODE_EMOJI_FILES=."
strategy:
matrix:
test_task: [ "check" ] # to make job names consistent
fail-fast: false
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: git config
run: |
git config --system core.autocrlf false
git config --system core.eol lf
# Not using official actions/checkout@v2 because it's unstable.
- name: Checkout ruby
run: |
git clone --single-branch --shallow-since=yesterday --branch=${GITHUB_REF#refs/heads/} https://github.com/${{ github.repository }} src
git -C src reset --hard "$GITHUB_SHA"
if: github.event_name == 'push'
shell: bash
- name: Checkout a pull request
run: |
git clone --single-branch --shallow-since=yesterday --branch=${{ github.event.pull_request.head.ref }} https://github.com/${{ github.event.pull_request.head.repo.full_name }} src
git -C src reset --hard ${{ github.event.pull_request.head.sha }}
if: github.event_name == 'pull_request'
- run: ./src/tool/actions-commit-info.sh
shell: bash
id: commit_info
- name: Set up Ruby & MSYS2
uses: MSP-Greg/actions-ruby@master
with:
ruby-version: 2.6.x
base: update
mingw: gdbm gmp libffi libyaml openssl ragel readline
msys2: automake1.16 bison
- name: where check
run: |
# show where
Write-Host
$where = 'gcc.exe', 'ragel.exe', 'make.exe', 'bison.exe', 'libcrypto-1_1-x64.dll', 'libssl-1_1-x64.dll'
foreach ($e in $where) {
$rslt = where.exe $e 2>&1 | Out-String
if ($rslt.contains($e)) { Write-Host $rslt }
else { Write-Host "`nCan't find $e" }
}
- name: misc setup, autoreconf
run: |
mkdir build
mkdir install
mkdir temp
cd src
sh -c "autoreconf -fi"

- name: configure
working-directory: build
run: |
# Actions uses UTF8, causes test failures, similar to normal OS setup
$PSDefaultParameterValues['*:Encoding'] = 'utf8'
[Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
[Console]::InputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
$config_args = "--build=$env:CHOST --host=$env:CHOST --target=$env:CHOST"
Write-Host $config_args
sh -c "../src/configure --disable-install-doc --prefix=/install $config_args"
# Write-Host "-------------------------------------- config.log"
# Get-Content ./config.log | foreach {Write-Output $_}

- name: download unicode, gems, etc
working-directory: build
run: |
$jobs = [int]$env:NUMBER_OF_PROCESSORS + 1
make -j $jobs update-unicode
make -j $jobs update-gems

- name: make all
timeout-minutes: 20
working-directory: build
run: |
$jobs = [int]$env:NUMBER_OF_PROCESSORS + 1
make -j $jobs V=1

- name: make install
working-directory: build
run: |
# Actions uses UTF8, causes test failures, similar to normal OS setup
$PSDefaultParameterValues['*:Encoding'] = 'utf8'
[Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
[Console]::InputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
make DESTDIR=.. install-nodoc

- name: test
timeout-minutes: 5
working-directory: build
run: |
$env:TMPDIR = "$pwd/temp"
make test

- name: test-all
timeout-minutes: 25
working-directory: build
run: |
$env:TMPDIR = "$pwd/temp"
# Actions uses UTF8, causes test failures, similar to normal OS setup
$PSDefaultParameterValues['*:Encoding'] = 'utf8'
[Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
[Console]::InputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
$jobs = [int]$env:NUMBER_OF_PROCESSORS
make test-all TESTOPTS="-j $jobs --retry --job-status=normal --show-skip --timeout-scale=1.5"

- name: test-spec
timeout-minutes: 10
working-directory: src/spec/ruby
run: |
$env:TMPDIR = "$pwd/temp"
$env:PATH = "$pwd/install/bin;$env:PATH"
# Actions uses UTF8, causes test failures, similar to normal OS setup
$PSDefaultParameterValues['*:Encoding'] = 'utf8'
[Console]::OutputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
[Console]::InputEncoding = [System.Text.Encoding]::GetEncoding("IBM437")
ruby -v
ruby ../mspec/bin/mspec -j

- uses: k0kubun/action-slack@v2.0.0
with:
payload: |
{
"attachments": [{
"text": "${{ github.workflow }} / ${{ matrix.test_task }} <https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ steps.commit_info.outputs.COMMIT_DATE }} #${{ steps.commit_info.outputs.COMMIT_NUMBER_OF_DAY }}> " +
"(<https://github.com/${{ github.repository }}/commit/${{ github.sha }}|" + "${{ github.sha }}".substring(0, 10) + ">) " +
"of ${{ github.repository }}@" + "${{ github.ref }}".split('/').reverse()[0] + " by ${{ github.event.head_commit.committer.name }} failed",
"color": "danger"
}]
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
if: failure() && github.event_name == 'push'
Loading