Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1198 commits
Select commit Hold shift + click to select a range
7837dcc
Adapt doc guide to new GFM features (#6504)
BurdetteLamar Oct 6, 2022
fa2e1b6
[ruby/open-uri] Support 308 status redirect
janko Oct 6, 2022
43e87c7
YJIT: fix ARM64 bitmask encoding for 32 bit registers (#6503)
XrXr Oct 6, 2022
0472eff
YJIT: add an assert for branch_stub_hit() (#6505)
XrXr Oct 6, 2022
deaa656
[ruby/rdoc] Escape TIDYLINKs
nobu Mar 28, 2022
9e3ab9d
[ruby/rdoc] Escape RDOCLINKs
nobu Apr 13, 2022
586e18b
[ruby/rdoc] Escape HYPERLINKs
nobu Apr 13, 2022
8d0b216
[ruby/rdoc] Escape main title
nobu Apr 13, 2022
a3cb09c
[ruby/rdoc] Escape file names
nobu Aug 28, 2021
39909d8
[ruby/rdoc] Escape search results
nobu Sep 7, 2021
a87de5e
[ruby/rdoc] Special characters are prohibited as filename on Windows
nobu Oct 7, 2022
94d4bea
[ruby/psych] --enable-bundled-libyaml config has been removed
hsbt Oct 7, 2022
fc218e5
[ruby/psych] Removed the related condition of --enable-bundled-libyaml
hsbt Oct 7, 2022
1b7c5c3
[ruby/date] Fix misplaced time zone offset checks
nobu Oct 7, 2022
6d01b66
[ruby/fiddle] test: ensure GC-ing closures
kou Sep 9, 2022
48a6498
[ruby/fiddle] Add constants for unsigned values (https://github.com/r…
tenderlove Sep 12, 2022
755d99e
[ruby/fiddle] Move "type" constants to `Fiddle::Types` (https://githu…
tenderlove Sep 13, 2022
0097c7f
[ruby/fiddle] Add `sym_defined?` methods to test if a symbol is defin…
tenderlove Sep 13, 2022
191b91f
[ruby/fiddle] test: suppress a warning
kou Sep 14, 2022
255e617
[ruby/fiddle] Add Fiddle::Closure.create and Fiddle::Closure.free
kou Sep 14, 2022
7c33141
[ruby/fiddle] test: ensure freeing closure
kou Sep 14, 2022
dfca6a8
[ruby/fiddle] test: don't use power-assert
kou Sep 14, 2022
824c474
[ruby/fiddle] test: ensure freeing closure
kou Sep 14, 2022
9f62768
[ruby/fiddle] test: ensure freeing closure
kou Sep 14, 2022
a4ad6bd
[ruby/fiddle] closure: free resources when an exception is raised in …
kou Sep 14, 2022
ada9f8a
[ruby/fiddle] closure: follow variable name change
kou Sep 14, 2022
92f0c53
[ruby/fiddle] test: don't use assert_true/assert_false
kou Sep 15, 2022
4f78560
Add --with-libffi-source-dir feature and removed --enable-bundled-lib…
hsbt Oct 7, 2022
c3a87e1
Bundle RBS 2.7.0 (#6506)
soutaro Oct 7, 2022
e76217a
Update bundled gems list at c3a87e16d8edea1496eebc60d7514f [ci skip]
matzbot Oct 7, 2022
e4f91bb
Add IO#timeout attribute and use it for blocking IO operations. (#5653)
ioquatix Oct 7, 2022
a081fe7
Simplify default argument specification. (#6507)
ioquatix Oct 7, 2022
1e6cdc7
[ruby/logger] Fix the Logger::Formatter documentation
liijunwei Aug 20, 2022
24f3e39
Add spec for `Coverage.supported?` and `start(eval: true)`. (#6499)
ioquatix Oct 7, 2022
ad0def7
Add more debugging output to test_thrashing_for_young_objects
peterzhu2118 Oct 7, 2022
d76854f
Update NEWS about [Feature #18589]
XrXr Oct 6, 2022
83a9b91
[ruby/irb] Add tests for primitive types' method completion
st0012 Oct 6, 2022
3e18bb9
[ruby/irb] Regroup completion tests
st0012 Oct 6, 2022
afc1f4f
[ruby/irb] Add constant completion test
st0012 Oct 6, 2022
7be5e9b
[ruby/irb] Correct assert_equal's usage in completion tests
st0012 Oct 6, 2022
7cafe09
[ruby/irb] Lazily evaluate candidates locals
st0012 Oct 6, 2022
5b3079a
[ruby/irb] Sort constant completion's candidates
st0012 Oct 6, 2022
844a9df
Try `nil` as default for 'default timeout'. (#6509)
ioquatix Oct 8, 2022
1fe2e34
Fix a typo Denail-of-Service => Denial-of-Service [ci skip]
sampatbadhe Oct 8, 2022
7775d14
Update bundled gems list at 2022-10-08
matzbot Oct 8, 2022
fbbdbdd
Add error_tolerant option to RubyVM::AST
yui-knk Sep 25, 2022
52eaffd
Support "+error-tolerant" as ruby option
yui-knk Sep 25, 2022
342d4c1
Generates "end" tokens if parser hits end of input
yui-knk Sep 25, 2022
4f24f3e
Treat "end" as reserved word with consideration of indent
yui-knk Oct 1, 2022
4bfdf6d
Move `error` from top_stmts and top_stmt to stmt
yui-knk Oct 1, 2022
3531086
"expr_value" can be error
yui-knk Oct 1, 2022
0f231f2
[ruby/optparse] Don't treat empty string as an option description
mrzasa Oct 8, 2022
50f5223
Fix SEGV of dump parsetree
yui-knk Oct 8, 2022
8483737
Fix typos
yui-knk Oct 8, 2022
b22a280
Fix flaky test test_thrashing_for_young_objects
peterzhu2118 Oct 8, 2022
561b6c4
Remove unused macro
yui-knk Oct 9, 2022
43f6922
Set AST prettyprint width to 80 explicitly
nobu Oct 9, 2022
f178ff3
Allow abbreviated dump options with additional options
nobu Oct 9, 2022
d9e2ef6
Extract `assert_error_tolerant`
nobu Oct 9, 2022
546566d
Do not set `$!` to `SyntaxError` when error tolerant
nobu Oct 9, 2022
4954c9f
Add MatchData#deconstruct/deconstruct_keys
palkan Aug 6, 2022
0a98dd1
Should use dedecated function `Check_Type`
nobu Oct 10, 2022
2dd1a03
* expand tabs. [ci skip]
matzbot Oct 10, 2022
6c5a8c2
Ignore excessive precisions
nobu Oct 10, 2022
f1c89c8
Reuse `with_warning_string_from` macro
S-H-GAMELINKS Oct 10, 2022
1a7e7bb
object.c: rb_eql returns int not VALUE
byroot Oct 7, 2022
1bafa4a
Ignore failure to set nonblock mode. (#6524)
ioquatix Oct 10, 2022
1dd774f
[ruby/open-uri] Remove unused files from the packages
nobu Oct 11, 2022
1a66d42
[DOC] use the local rdoc reference than the external URI
nobu Oct 11, 2022
ccf61c0
[rubygems/rubygems] Bump rb-sys in /test/rubygems/test_gem_ext_cargo_…
dependabot[bot] Oct 3, 2022
5ffbb2b
[rubygems/rubygems] Bump rb-sys
dependabot[bot] Oct 3, 2022
ad63b66
Revert "Revert "This commit implements the Object Shapes technique in…
jemmaissroff Oct 3, 2022
913979b
Make inline cache reads / writes atomic with object shapes
jemmaissroff Oct 3, 2022
467992e
Implement optimize send in yjit (#6488)
jimmyhmiller Oct 11, 2022
ced1d17
Improvements to IO::Buffer implementation and documentation. (#6525)
ioquatix Oct 11, 2022
4e29ca0
Add :ssl_min_version and :ssl_max_version options
rhenium Oct 7, 2022
04d291a
Simplify implementation of scheduler `io_read` and `io_write`. (#6527)
ioquatix Oct 12, 2022
c67e496
sync_default_gems: Should match with the beginning of the strings
nobu Oct 12, 2022
df58844
sync_default_gems: Replace the external URIs to docs with rdoc-ref
nobu Oct 12, 2022
2b5d4fe
sync_default_gems: Add rdoc-ref command to test
nobu Oct 12, 2022
3539da6
[DOC] Replace the external URIs to docs with rdoc-ref
nobu Oct 12, 2022
b57ecc3
sync_default_gems: Replace the URIs to be redirected
nobu Oct 12, 2022
0360fca
[DOC] Replace the external URIs to docs with rdoc-ref
nobu Oct 12, 2022
ed01bac
[ruby/psych] Abandon when libyaml is not found
nobu Oct 12, 2022
66a650e
[ruby/psych] Fix missing `abort` call
nobu Oct 12, 2022
7a9f865
Do not read cached_id from callcache on stack
mame Oct 12, 2022
9cfc45d
Suppress warnings in test/ruby/test_ast.rb
mame Oct 12, 2022
504e388
Suppress a "warning: method redefined" in test/ruby/test_method.rb
mame Oct 12, 2022
70bc8cc
Adjust indents [ci skip]
nobu Oct 12, 2022
80da725
file2lastrev.rb: Refactor VCS directory search
nobu Oct 12, 2022
b55e3b8
Initialize shape attr index also in non-markable CC
nobu Oct 12, 2022
1075315
Unwrap shape id as unsigned int
tenderlove Oct 12, 2022
166140a
YJIT: Set RUST_BACKTRACE=1 in every Cirrus script (#6526)
k0kubun Oct 12, 2022
dd5118f
URI.parse should set empty string in host instead of nil
nurse Jan 12, 2019
751ffb2
FreeBSD make uses the target under srcdir [ci skip]
nobu Oct 13, 2022
c50623f
Revert "FreeBSD make uses the target under srcdir [ci skip]"
nobu Oct 13, 2022
1cda414
Raise ArgumentError with empty host url again.
hsbt Oct 13, 2022
b734832
Skip utime example with Intel C Compiler suite
hsbt Oct 13, 2022
765ee82
Add missing `f.resume` to fiber test. (#6539)
ioquatix Oct 13, 2022
4b1504a
[ruby/uri] Fix splitting relative URI
nobu Oct 13, 2022
2cc3963
Prevent wrong integer expansion
mame Oct 13, 2022
1b0c9d0
YJIT: No need to fill to get UDF on ARM64
XrXr Oct 12, 2022
e5058b5
Only expose Ruby Shape API if VM_CHECK_MODE is enabled
tenderlove Oct 12, 2022
93a87f4
Make op_ext an optional for code clarity (#6542)
jimmyhmiller Oct 13, 2022
3c0b4ef
fixes more clippy warnings (#6543)
jimmyhmiller Oct 13, 2022
5e554d3
Upgrade zlib_version on AppVeyor
k0kubun Oct 13, 2022
ee8bcbf
Reuse ins_methods_type_i function
S-H-GAMELINKS Oct 12, 2022
5ccb625
Use `roomof` macro for rounding up divisions
nobu Oct 4, 2022
7b7e515
[ruby/pp] [Feature #19045] Add support Data#pretty_print
osyo-manga Oct 10, 2022
d416205
Copy `IO#timeout` on `IO#dup`. (#6546)
ioquatix Oct 14, 2022
6061003
[ruby/delegate] Fix DelegateClass block "method redefined" warning
jonathanhefner Oct 11, 2022
ee6cc25
Remove wrong dollar
nobu Oct 14, 2022
7e24ebc
Disable msystem: MINGW64 job on GitHub Actions (#6545)
k0kubun Oct 14, 2022
7e81dd9
Update yjit docs (#6548)
eileencodes Oct 14, 2022
fb99227
More clippy fixes (#6547)
jimmyhmiller Oct 14, 2022
9a5684b
Add test for ractor race condition on ivar sets
jemmaissroff Oct 4, 2022
cbd3d65
Add a test for transition order
tenderlove Oct 14, 2022
53e0e5e
YJIT: Avoid creating payloads for non-JITed ISEQs (#6549)
k0kubun Oct 14, 2022
1acc1a5
YJIT doesn't need rb_obj_ensure_iv_index_mapping
tenderlove Oct 14, 2022
8a42067
Introduce `Fiber::Scheduler#io_select` hook for non-blocking `IO.sele…
ioquatix Oct 15, 2022
52fcb3a
Add missing `#close` call to `test_dup_timeout` test. (#6560)
ioquatix Oct 15, 2022
7fcad1f
Update `Fiber::Scheduler` documentation. (#6562)
ioquatix Oct 15, 2022
1e3fa63
Explicitly cast to uint32_t and suppress warnings by VC
nobu Oct 15, 2022
d56301c
No longer download zlib source
nobu Oct 15, 2022
8d20632
[DOC] Packed data (#6520)
BurdetteLamar Oct 15, 2022
f0654b1
More precisely iterate over Object instance variables
tenderlove Oct 15, 2022
15488fc
Update bundled gems list at 2022-10-16
nobu Oct 16, 2022
ba9c0d0
Allow run bundled_gems manually [ci skip]
nobu Oct 16, 2022
e4191ac
Change a tab to spaces
yui-knk Oct 16, 2022
7cf37a5
[DOC] Add the polar form in String#to_c
nobu Oct 17, 2022
0d7292e
Leave only the oldest Visual Studio in AppVeyor (#6561)
k0kubun Oct 17, 2022
fb6a965
Do not run CodeQL on dependabot PRs
k0kubun Oct 17, 2022
bfc6c1f
Bump necojackarc/auto-request-review from 0.7.0 to 0.8.0 (#6571)
dependabot[bot] Oct 17, 2022
b7de04d
Disable dependabot for auto-request-review for now
k0kubun Oct 17, 2022
63234ed
openssl: use the old rb_ary_tmp_new() alias
rhenium Oct 17, 2022
a211b32
[ruby/openssl] Check for OpenSSL functions in headers
XrXr Jun 27, 2022
5dae78b
[ruby/openssl] Pass arguments to check macro presence
XrXr Jul 11, 2022
c865e8d
[ruby/openssl] [CI] TestHMAC#test_dup - remove 'pend' for OpenSSL 3
MSP-Greg Jul 26, 2022
a980963
[ruby/openssl] Check if the option is an Hash in `pkey_ctx_apply_opti…
no6v Aug 5, 2022
79543b9
[ruby/openssl] ssl: enable generating keying material from SSL sessions
Aug 3, 2022
bee383d
[ruby/openssl] x509*: fix error queue leak in #extensions= and #attri…
rhenium Sep 2, 2022
65bba0e
[ruby/openssl] hmac: use EVP_PKEY_new_raw_private_key() if available
rhenium Sep 1, 2022
10f93a8
[ruby/openssl] pkey/dsa: let PKey::DSA.generate choose appropriate q …
rhenium Jan 4, 2022
4fb2845
[ruby/openssl] pkey: clear error queue before each OSSL_DECODER_from_…
rhenium Sep 2, 2022
0677b2f
[ruby/openssl] pkey: restore support for decoding "openssl ecparam -g…
rhenium Sep 2, 2022
b69d41e
[ruby/openssl] pkey/ec: check existence of public key component befor…
rhenium Sep 2, 2022
33d30a8
[ruby/openssl] Ruby/OpenSSL 2.1.4
rhenium Sep 8, 2022
15a966a
[ruby/openssl] Ruby/OpenSSL 2.2.2
rhenium Sep 8, 2022
cd83f5b
[ruby/openssl] Ruby/OpenSSL 3.0.1
rhenium Sep 8, 2022
04bf83d
[ruby/openssl] bump version number to 3.1.0.pre
rhenium Sep 8, 2022
e4b1627
[ruby/openssl] ssl: fix "warning: ‘ctx’ may be used uninitialized"
rhenium Sep 9, 2022
17998ad
[ruby/openssl] Add support to SSL_CTX_set_keylog_callback
cdelafuente-r7 Aug 29, 2022
aecc470
[ruby/openssl] Use default `IO#timeout` if possible.
ioquatix Oct 7, 2022
6166fa6
[ruby/openssl] Call out insecure PKCS #1 v1.5 default padding for RSA
bdewater Oct 8, 2022
85cee29
Update default gems list at 6166fa612cf798930863c7cca23dc9 [ci skip]
matzbot Oct 17, 2022
f08fcd0
Fix possible use of undefined macros on very old macOS [ci skip]
nobu Oct 17, 2022
b584c10
Fix debug messages [ci skip]
nobu Oct 17, 2022
f6bf5e2
Respect `USE_COMMON_RANDOM` macro by a command line option [ci skip]
nobu Oct 17, 2022
e037731
[ruby/openssl] define BIGNUM_2cr macro for BN function that takes con…
btoews Oct 17, 2022
149cb04
[ruby/openssl] add BN#mod_sqrt
btoews Oct 17, 2022
7db29de
[ruby/openssl] add document-method for BN#mod_inverse
btoews Oct 17, 2022
60defe0
thread_sync.c: Clarify and document the behavior of timeout == 0
byroot Oct 6, 2022
637144b
Adjust indents [ci skip]
nobu Oct 17, 2022
ad3d210
YJIT: call free_block to cleanup block when out of memory
XrXr Oct 14, 2022
07a93b1
YJIT: Do not call `mprotect` when `mem_size` is zero (#6563)
tatsuya6502 Oct 17, 2022
e7c71c6
Make mjit_cont sharable with YJIT (#6556)
k0kubun Oct 17, 2022
64c52c4
YJIT: Interleave inline and outlined code blocks (#6460)
k0kubun Oct 17, 2022
f11765a
YJIT: Allow --yjit-dump-disasm to dump into a file (#6552)
k0kubun Oct 17, 2022
1c83469
[ruby/irb] Remove unnecessary coloring support check
st0012 Oct 7, 2022
1865ed4
Fix an outdated notification message
k0kubun Oct 17, 2022
b54c8ba
Simplified rb_obj_copy_ivar implementation
jemmaissroff Oct 17, 2022
995bdd6
Try --x-use-aria2 for better retries (#6574)
k0kubun Oct 17, 2022
329d542
[Bug #19042] Fix Dir.glob brace with '/'
shirosaki Oct 18, 2022
ab3b1b2
sync_default_gems.rb: fix links to GitHub issues
nobu Oct 18, 2022
134acf9
ruby/ruby-commit-hook has been renamed [ci skip]
k0kubun Oct 18, 2022
344e6c9
[ruby/irb] Fix code terminated check with heredoc and backtick (https…
tompng Oct 18, 2022
a09f764
[ruby/irb] Always use local variables in current context to parse cod…
tompng Oct 18, 2022
931bcd1
[ruby/irb] Assert lvars_code doesn't include \n
k0kubun Oct 18, 2022
4205190
[rubygems/rubygems] Remove dead code
deivid-rodriguez Sep 29, 2022
da1981f
[rubygems/rubygems] Remove unused parameter to `SharedHelpers.pretty_…
deivid-rodriguez Sep 29, 2022
0b6f2af
[rubygems/rubygems] Avoid unnecessary dependency expansion
deivid-rodriguez Jul 6, 2022
60670b1
[rubygems/rubygems] Remove another unnecessary dependency expansion
deivid-rodriguez Jul 4, 2022
8c4bd1e
[rubygems/rubygems] Remove another `expand_dependencies` instance
deivid-rodriguez Jul 6, 2022
cef7f6b
[rubygems/rubygems] Remove now unnecessary parameter to `expand_depen…
deivid-rodriguez Jul 6, 2022
71dede3
[rubygems/rubygems] Remove one more `expand_dependencies` call
deivid-rodriguez Aug 23, 2022
b99010f
[rubygems/rubygems] Use `flat_map`
deivid-rodriguez Jul 4, 2022
67de000
[rubygems/rubygems] Inline helper method
deivid-rodriguez Jul 4, 2022
804ae4e
[rubygems/rubygems] Simplify SpecGroup creation
deivid-rodriguez Sep 12, 2022
56ad796
[rubygems/rubygems] Simplify fetching spec group dependencies
deivid-rodriguez Sep 12, 2022
e956cae
[rubygems/rubygems] Extract matcher for slow perf spec
deivid-rodriguez Oct 5, 2022
5fa18a7
[rubygems/rubygems] Fix bad spec wording
deivid-rodriguez Oct 5, 2022
74dbb0d
[rubygems/rubygems] Remove unnecessary generic
deivid-rodriguez Oct 10, 2022
4d3dbbe
[rubygems/rubygems] Remove unnecessary receiver
deivid-rodriguez Oct 10, 2022
cb63a3f
[rubygems/rubygems] Materialize platforms strictly on Windows too
deivid-rodriguez Oct 10, 2022
cbddc91
[rubygems/rubygems] Set Subject Key Identifier in test to correspond …
jackorp Sep 9, 2022
b7debaa
[rubygems/rubygems] TestGemSecurity#test_class_re_sign: Correct signa…
jackorp Sep 9, 2022
2ab7bb8
[rubygems/rubygems] TestGemSecuritySigner#test_sign: Correct the expe…
jackorp Sep 9, 2022
f5df47d
Merge RubyGems/Bundler master
hsbt Oct 18, 2022
007946c
[rubygems/rubygems] Bundler: github DSL has used https protocol over git
tnir Oct 18, 2022
091e352
fiddle: use the old rb_ary_tmp_new() alias
nobu Oct 18, 2022
08ec656
[ruby/fiddle] Bump version
kou Nov 24, 2021
93da67d
[ruby/fiddle] Fix filenames for glibc SO files on alpha and ia64
glaubitz Mar 19, 2022
e84ea4a
[ruby/fiddle] Add support for linker script on Linux
kou Apr 10, 2022
dffca50
[ruby/fiddle] Free closures immediately
tenderlove Jul 14, 2022
93d73cf
Update default gems list at dffca50bb609661f04660221834c48 [ci skip]
matzbot Oct 18, 2022
e1ca90c
sync_default_gems.rb: fold too long subject [ci skip]
nobu Oct 18, 2022
1b235dc
Ignore manual files only commits [ci skip]
nobu Oct 18, 2022
d67b631
[DOC] Link to packed data doc (#6567)
BurdetteLamar Oct 18, 2022
e7166c9
Allow passing a Rust closure to rb_iseq_callback (#6575)
k0kubun Oct 18, 2022
b2ba71d
Code clean around unused code for some architectures or features (#6581)
jimmyhmiller Oct 18, 2022
6bd72a6
[DOC] Enhanced RDoc for StringIO (#34)
BurdetteLamar Oct 18, 2022
12c30f2
Fixes remaining issues and turns back on dead code and unused (#6584)
jimmyhmiller Oct 18, 2022
01d56b9
[DOC] Fix rdoc-ref
nobu Oct 18, 2022
1654f88
sync_default_gems.rb: commit all after replaced rdoc-ref [ci skip]
nobu Oct 19, 2022
18b96d8
[ruby/stringio] [DOC] StringIO doc enhancements
BurdetteLamar Oct 16, 2022
f982a26
[DOC] Fix typo in Enumerable#slice_before
kyanagi Oct 18, 2022
fc3137e
Add support for anonymous shared IO buffers. (#6580)
ioquatix Oct 19, 2022
567725e
Fix and improve coroutines for Darwin (macOS) ppc/ppc64. (#5975)
barracuda156 Oct 19, 2022
dae843f
Bypass git submodule add/update with git config protocol.file.allow=a…
hsbt Oct 19, 2022
a25c033
Suppress warning for fgrep
hsbt Oct 19, 2022
86096a9
[rubygems/rubygems] Use [] instead of double-quotes
hsbt Oct 19, 2022
412e3c7
Assert for RTEST that Qnil and Qfalse differ just 1 bit
nobu Oct 19, 2022
eeea633
Stop zeroing memory on allocation / copy
tenderlove Sep 27, 2022
c32180d
[ruby/stringio] [DOC] Enhanced RDoc for StringIO
BurdetteLamar Oct 19, 2022
bc939d2
[DOC] More about line number (#6582)
BurdetteLamar Oct 19, 2022
5ca23ca
YJIT: fold the "asm_comments" feature into "disasm" (#6591)
XrXr Oct 19, 2022
0aaa613
Transition frozen string to frozen root shape
jemmaissroff Oct 19, 2022
9da0d4c
YJIT: fix a #[warn(unused_parens)]
XrXr Oct 19, 2022
0d360ee
YJIT: Skip dumping code for the other cb on --yjit-dump-disasm (#6592)
k0kubun Oct 19, 2022
d9d9005
MJIT: Stop using the VM barrier for jit_cont
k0kubun Oct 20, 2022
7f175e5
Avoid missed wakeup with fiber scheduler and Fiber.blocking. (#6588)
ioquatix Oct 20, 2022
2e3b764
Remove a leftover comment [ci skip]
k0kubun Oct 20, 2022
b963fb2
YJIT: Respect writable_addrs on --yjit-dump-iseq-disasm as well (#6596)
k0kubun Oct 20, 2022
0a43a04
[DOC] Fix RUBY_SYMBOL_FLAG comment [ci skip]
nobu Oct 20, 2022
4f1e0bf
Followed up CVE-2022-39253 for bundler examples
hsbt Oct 20, 2022
7563604
[Bug #18998] Honor `#to_str` next to `#to_int` in `Kernel#Integer`
nobu Oct 20, 2022
e35c528
push dummy frame for loading process
ko1 Oct 17, 2022
1e66d3b
Ignore manual files only commits [ci skip]
nobu Oct 18, 2022
f55212b
Move "special consts" so `Qundef` and `Qnil` differ just 1 bit
nobu Oct 20, 2022
192bc72
Define `UNDEF_P` and `NIL_OR_UNDEF_P` [EXPERIMENTAL]
nobu Oct 20, 2022
0378e2f
Add Class#attached_object
paracycle Sep 26, 2022
6aed5b0
Unmark Internal IV test as pending
jemmaissroff Oct 19, 2022
245ad2b
YJIT: incorporate ruby_special_consts
nobu Oct 20, 2022
9a0a165
Check writebarrier arguments
nobu Oct 20, 2022
2930302
YJIT: remove some stale comments [ci skip]
XrXr Oct 20, 2022
39f7edd
YJIT: Fix gen_expandarray treating argument as VALUE
XrXr Oct 20, 2022
e72c504
Check writebarrier arguments only when RGENGC_CHECK_MODE [ci skip]
nobu Oct 21, 2022
e026368
Range#size returns nil for (.."a") and (nil..)
mame Oct 21, 2022
f88bff7
[ruby/net-http] Revert "Replace Timeout.timeout in Net:HTTP#connect"
hsbt Oct 21, 2022
35e03a4
[ruby/stringio] [DOC] Enhanced RDoc for StringIO
BurdetteLamar Oct 21, 2022
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
  •  
  •  
  •  
19 changes: 8 additions & 11 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ skip_commits:
- doc/*
- '**/*.md'
- '**/*.rdoc'
- '**/.document'
- '**/*.[1-8]'
- '**/*.ronn'
environment:
ruby_version: "24-%Platform%"
zlib_version: "1.2.12"
matrix:
# Test only the oldest supported version because AppVeyor is unstable, its concurrency
# is limited, and compatibility issues that happen only in newer versions are rare.
# You may test some other stuff on GitHub Actions instead.
- build: vs
vs: 120
ssl: OpenSSL
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
GEMS_FOR_TEST: ""
- build: vs
vs: 140
ssl: OpenSSL-v111
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
GEMS_FOR_TEST: ""
Expand All @@ -48,7 +48,7 @@ for:
- git pull -q
- .\bootstrap-vcpkg.bat
- cd %APPVEYOR_BUILD_FOLDER%
- vcpkg --triplet %Platform%-windows install libffi libyaml readline zlib
- vcpkg --triplet %Platform%-windows install --x-use-aria2 libffi libyaml readline zlib
- CALL SET vcvars=%%^VS%VS%COMNTOOLS^%%..\..\VC\vcvarsall.bat
- SET vcvars
- '"%vcvars%" %Platform:x64=amd64%'
Expand All @@ -68,9 +68,6 @@ for:
- mkdir \usr\local\bin
- mkdir \usr\local\include
- mkdir \usr\local\lib
- SET ZLIB_ZIP=.downloaded-cache\zlib%zlib_version:.=%.zip
- if not exist %ZLIB_ZIP% curl -fsSL -o %ZLIB_ZIP% --retry 10 https://zlib.net/zlib%zlib_version:.=%.zip
- 7z x -aos -o%APPVEYOR_BUILD_FOLDER%\ext\zlib %ZLIB_ZIP%
- for %%I in (%OPENSSL_DIR%\*.dll) do mklink /h \usr\local\bin\%%~nxI %%I
- for %%I in (c:\Tools\vcpkg\installed\%Platform%-windows\bin\*.dll) do (
if not %%~nI == readline mklink \usr\local\bin\%%~nxI %%I
Expand Down Expand Up @@ -123,7 +120,7 @@ notifications:
{{^isPullRequest}}
{
"ci": "AppVeyor CI",
"env": "Visual Studio 2013 / 2015",
"env": "Visual Studio 2013",
"url": "{{buildUrl}}",
"commit": "{{commitId}}",
"branch": "{{branch}}"
Expand Down
77 changes: 73 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:

task:
name: Arm64 Graviton2 / $CC
skip: "changesIncludeOnly('doc/**', '**.{md,rdoc}')"
skip: "changesIncludeOnly('doc/**', '**.{md,rdoc,ronn,[1-8]}', '.document')"
arm_container:
# We use the arm64 images at https://github.com/ruby/ruby-ci-image/pkgs/container/ruby-ci-image .
image: ghcr.io/ruby/ruby-ci-image:$CC
Expand Down Expand Up @@ -39,9 +39,8 @@ task:
# the `make` environment variable used in compilers.yml causes some rubygems
# tests to fail.
# https://github.com/rubygems/rubygems/issues/4921
- echo "GNUMAKEFLAGS=-s -j$((1 + $CIRRUS_CPU))" >> $CIRRUS_ENV
print_env_script:
- echo "GNUMAKEFLAGS=$GNUMAKEFLAGS"
- echo "GNUMAKEFLAGS=-s -j$((1 + $CIRRUS_CPU))" >> "$CIRRUS_ENV"
- cat "$CIRRUS_ENV"
# Arm containers are executed in AWS's EKS, and it's not yet supporting IPv6
# See https://github.com/aws/containers-roadmap/issues/835
disable_ipv6_script: sudo ./tool/disable_ipv6.sh
Expand All @@ -62,3 +61,73 @@ task:
make_test-tool_script: make test-tool
make_test-all_script: make test-all
make_test-spec_script: make test-spec

# The following is to test YJIT on ARM64 CPUs available on Cirrus CI
yjit_task:
name: Arm64 Graviton2 / $CC YJIT
auto_cancellation: $CIRRUS_BRANCH != 'master'
skip: "changesIncludeOnly('doc/**', '**.{md,rdoc,ronn,[1-8]}', '.document')"
arm_container:
# We use the arm64 images at https://github.com/ruby/ruby-ci-image/pkgs/container/ruby-ci-image .
image: ghcr.io/ruby/ruby-ci-image:$CC
# Define the used cpu core in each matrix task. We can use total 16 cpu
# cores in entire matrix. [cpu] = [total cpu: 16] / [number of tasks]
cpu: 8
# We can request maximum 4 GB per cpu.
# [memory per task] = [memory per cpu: 4 GB] * [cpu]
memory: 32G
env:
CIRRUS_CLONE_DEPTH: 50
optflags: '-O1'
debugflags: '-ggdb3'
RUBY_PREFIX: /tmp/ruby-prefix
RUBY_DEBUG: ci rgengc
RUBY_TESTOPTS: >-
-q
--color=always
--tty=no
matrix:
- CC: clang-12
configure: --enable-yjit=dev
rustup_init: --default-toolchain=1.58.1
- CC: gcc-11
configure: --enable-yjit
id_script: id
set_env_script:
# Set `GNUMAKEFLAGS`, because the flags are GNU make specific. Note using
# the `make` environment variable used in compilers.yml causes some rubygems
# tests to fail.
# https://github.com/rubygems/rubygems/issues/4921
- echo "GNUMAKEFLAGS=-s -j$((1 + $CIRRUS_CPU))" >> "$CIRRUS_ENV"
- echo RUST_BACKTRACE=1 >> "$CIRRUS_ENV"
- cat "$CIRRUS_ENV"
# Arm containers are executed in AWS's EKS, and it's not yet supporting IPv6
# See https://github.com/aws/containers-roadmap/issues/835
disable_ipv6_script: sudo ./tool/disable_ipv6.sh
install_rust_script:
- sudo apt-get update -y
- sudo apt-get install -y curl
- "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y $rustup_init"
autogen_script: ./autogen.sh
configure_script: >-
source $HOME/.cargo/env && ./configure -C
--enable-debug-env
--disable-install-doc
--with-ext=-test-/cxxanyargs,+
--prefix="$RUBY_PREFIX"
$configure
make_miniruby_script: source $HOME/.cargo/env && make miniruby
make_bindgen_script: |
if [[ "$CC" = "clang-12" ]]; then
source $HOME/.cargo/env && make yjit-bindgen
else
echo "only running bindgen on clang image"
fi
boot_miniruby_script: ./miniruby --yjit-call-threshold=1 -e0
test_dump_insns_script: ./miniruby --yjit-call-threshold=1 --yjit-dump-insns -e0
output_stats_script: ./miniruby --yjit-call-threshold=1 --yjit-stats -e0
full_build_script: source $HOME/.cargo/env && make
cargo_test_script: source $HOME/.cargo/env && cd yjit && cargo test
make_test_script: source $HOME/.cargo/env && make test RUN_OPTS="--yjit-call-threshold=1 --yjit-verify-ctx"
make_test_all_script: source $HOME/.cargo/env && make test-all RUN_OPTS="--yjit-call-threshold=1" TESTOPTS="$RUBY_TESTOPTS"
make_test_spec_script: source $HOME/.cargo/env && make test-spec RUN_OPTS="--yjit-call-threshold=1"
10 changes: 5 additions & 5 deletions .gdbinit
Original file line number Diff line number Diff line change
Expand Up @@ -544,13 +544,13 @@ end

define rp_class
printf "(struct RClass *) %p", (void*)$arg0
if ((struct RClass *)($arg0))->ptr.origin_ != $arg0
printf " -> %p", ((struct RClass *)($arg0))->ptr.origin_
if RCLASS_ORIGIN((struct RClass *)($arg0)) != $arg0
printf " -> %p", RCLASS_ORIGIN((struct RClass *)($arg0))
end
printf "\n"
rb_classname $arg0
print/x *(struct RClass *)($arg0)
print *((struct RClass *)($arg0))->ptr
print *RCLASS_EXT((struct RClass *)($arg0))
end
document rp_class
Print the content of a Class/Module.
Expand Down Expand Up @@ -979,8 +979,8 @@ end

define rb_ps_vm
print $ps_vm = (rb_vm_t*)$arg0
set $ps_thread_ln = $ps_vm->living_threads.n.next
set $ps_thread_ln_last = $ps_vm->living_threads.n.prev
set $ps_thread_ln = $ps_vm->ractor.main_ractor.threads.set.n.next
set $ps_thread_ln_last = $ps_vm->ractor.main_ractor.threads.set.n.prev
while 1
set $ps_thread_th = (rb_thread_t *)$ps_thread_ln
set $ps_thread = (VALUE)($ps_thread_th->self)
Expand Down
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ d7ffd3fea402239b16833cc434404a7af82d44f3
f28287d34c03f472ffe90ea262bdde9affd4b965
0d842fecb4f75ab3b1d4097ebdb8e88f51558041
4ba2c66761d6a293abdfba409241d31063cefd62

# Make benchmark indentation consistent
fc4acf8cae82e5196186d3278d831f2438479d91
11 changes: 0 additions & 11 deletions .github/CODEOWNERS

This file was deleted.

9 changes: 9 additions & 0 deletions .github/auto_request_review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
files:
'yjit*': [team:yjit]
'yjit/**/*': [team:yjit]
'doc/yjit/*': [team:yjit]
'bootstraptest/test_yjit*': [team:yjit]
'test/ruby/test_yjit*': [team:yjit]
'.github/workflows/yjit*': [team:yjit]
options:
ignore_draft: true
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ updates:
directory: '/'
schedule:
interval: 'weekly'
ignore:
# It doesn't update the version comment for us
- dependency-name: 'necojackarc/auto-request-review'
14 changes: 14 additions & 0 deletions .github/workflows/auto_request_review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Auto Request Review
on:
pull_request_target:
types: [opened, ready_for_review, reopened]
jobs:
auto-request-review:
name: Auto Request Review
runs-on: ubuntu-latest
steps:
- name: Request review based on files changes and/or groups the author belongs to
uses: necojackarc/auto-request-review@b5e81876454003a4ccb9b89cb205c67d77d7035b # v0.8.0, checking sha
with:
# scope: public_repo
token: ${{ secrets.MATZBOT_GITHUB_TOKEN }}
6 changes: 6 additions & 0 deletions .github/workflows/baseruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,17 @@ on:
- 'doc/**'
- '**.md'
- '**.rdoc'
- '**/.document'
- '**.[1-8]'
- '**.ronn'
pull_request:
paths-ignore:
- 'doc/**'
- '**.md'
- '**.rdoc'
- '**/.document'
- '**.[1-8]'
- '**.ronn'

concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/bundled_gems.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
- 'gems/bundled_gems'
schedule:
- cron: '45 6 * * *'
workflow_dispatch:

jobs:
update:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/check_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ on:
- 'doc/**'
- '**.md'
- '**.rdoc'
- '**/.document'
- '**.[1-8]'
- '**.ronn'
pull_request:
paths-ignore:
- 'doc/**'
- '**.md'
- '**.rdoc'
- '**/.document'
- '**.[1-8]'
- '**.ronn'

concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/check_misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,17 @@ jobs:
GIT_AUTHOR_NAME: git
GIT_COMMITTER_NAME: git
if: ${{ github.repository == 'ruby/ruby' && !startsWith(github.event_name, 'pull') && steps.diff.outcome == 'failure' }}

- uses: k0kubun/[email protected]
with:
payload: |
{
"ci": "GitHub Actions",
"env": "${{ github.workflow }}",
"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' }}
9 changes: 8 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,17 @@ on:
- 'doc/**'
- '**.md'
- '**.rdoc'
- '**/.document'
- '**.[1-8]'
- '**.ronn'
pull_request:
paths-ignore:
- 'doc/**'
- '**.md'
- '**.rdoc'
- '**/.document'
- '**.[1-8]'
- '**.ronn'
schedule:
- cron: '0 12 * * 4'

Expand All @@ -23,7 +29,8 @@ jobs:

# CodeQL runs on ubuntu-latest and windows-latest
runs-on: ubuntu-latest
if: ${{ !contains(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}
# CodeQL fails to run pull requests from dependabot due to missing write access to upload results.
if: ${{ !contains(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') && github.event.head_commit.pusher.name != 'dependabot[bot]' }}

env:
enable_install_doc: no
Expand Down
13 changes: 11 additions & 2 deletions .github/workflows/compilers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,17 @@ on:
- 'doc/**'
- '**.md'
- '**.rdoc'
- '**/.document'
- '**.[1-8]'
- '**.ronn'
pull_request:
paths-ignore:
- 'doc/**'
- '**.md'
- '**.rdoc'
- '**/.document'
- '**.[1-8]'
- '**.ronn'

concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
Expand All @@ -20,7 +26,7 @@ concurrency:
# environment variables (plus the "echo $GITHUB_ENV" hack) is to reroute that
# restriction.
env:
default_cc: clang-14
default_cc: clang-15
append_cc: ''

# -O1 is faster than -O3 in our tests... Majority of time are consumed trying
Expand Down Expand Up @@ -89,6 +95,7 @@ jobs:
# https://sourceware.org/annobin/annobin.html/Test-pie.html
TEST_ANNOCHECK_OPTS: "--skip-pie"
check: true
- { name: clang-16, env: { default_cc: clang-16 } }
- { name: clang-15, env: { default_cc: clang-15 } }
- { name: clang-14, env: { default_cc: clang-14 } }
- { name: clang-13, env: { default_cc: clang-13 } }
Expand Down Expand Up @@ -212,7 +219,7 @@ jobs:
name: ${{ matrix.entry.name }}
runs-on: ubuntu-latest
container:
image: ghcr.io/ruby/ruby-ci-image:${{ matrix.entry.container || matrix.entry.env.default_cc || 'clang-14' }}
image: ghcr.io/ruby/ruby-ci-image:${{ matrix.entry.container || matrix.entry.env.default_cc || 'clang-15' }}
options: --user root
if: ${{ !contains(github.event.head_commit.message, '[DOC]') && !contains(github.event.pull_request.labels.*.name, 'Documentation') }}
env: ${{ matrix.entry.env || matrix.env }}
Expand Down Expand Up @@ -255,6 +262,8 @@ jobs:
- run: make test-all TESTS='-- ruby -ext-'
if: ${{ matrix.entry.check }}
- run: make test-spec
env:
CHECK_LEAKS: true
if: ${{ matrix.entry.check }}
- run: make test-annocheck
if: ${{ matrix.entry.check && endsWith(matrix.entry.name, 'annocheck') }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ on:
- 'doc/**'
- '**.md'
- '**.rdoc'
- '**/.document'
- '**.[1-8]'
- '**.ronn'
pull_request:
paths-ignore:
- 'doc/**'
- '**.md'
- '**.rdoc'
- '**/.document'
- '**.[1-8]'
- '**.ronn'

concurrency:
group: ${{ github.workflow }} / ${{ startsWith(github.event_name, 'pull') && github.ref_name || github.sha }}
Expand Down
Loading