Commit graph

3333 commits

Author SHA1 Message Date
yui-knk
c5045830b7 Lrama v0.6.4 2024-03-22 11:53:15 +09:00
Nobuyoshi Nakada
f5497203b6
Highlight messages in fetch-bundled_gems 2024-03-18 23:29:54 +09:00
Nobuyoshi Nakada
6ccc04cf45
Add more abstract decorations for messaging 2024-03-18 23:29:53 +09:00
Nobuyoshi Nakada
823727538e
Deprecate --dryrun options in favor of --dry-run 2024-03-15 14:12:08 +09:00
Nobuyoshi Nakada
eceb36c7b9
downloader.rb: Add --help option 2024-03-15 14:11:16 +09:00
Nobuyoshi Nakada
f082605735
outdate-bundled-gems.rb: Add --help option 2024-03-15 13:55:47 +09:00
Jean Boussier
09d8c99cdc Ensure test suite is compatible with --frozen-string-literal
As preparation for https://bugs.ruby-lang.org/issues/20205
making sure the test suite is compatible with frozen string
literals is making things easier.
2024-03-14 17:56:15 +01:00
Nobuyoshi Nakada
1ad366134d
[Feature #20293] Add Warning.categories 2024-03-14 17:56:55 +09:00
Nobuyoshi Nakada
d94ad00252
Report non-empty directories [ci skip]
No longer used or generated files/directories sometimes remain
unremoved.
2024-03-09 23:08:37 +09:00
Nobuyoshi Nakada
2976d91aff
Include default gems directories in installed list 2024-03-09 19:34:36 +09:00
Nobuyoshi Nakada
e9f77da54e
Reorder and move install? blocks after method definitions 2024-03-09 19:17:38 +09:00
Nobuyoshi Nakada
6bfb6e6045
Merged intermediate class GemInstaller to UnpackedInstaller 2024-03-09 18:45:00 +09:00
Nobuyoshi Nakada
ced648f96f
Shorten too long message at uninstalling 2024-03-09 18:04:42 +09:00
Kevin Newton
e13fd48f55 [PRISM] Update dependencies for prism diagnostics 2024-03-06 21:42:54 -05:00
Jean Boussier
b4a69351ec Move FL_SINGLETON to FL_USER1
This frees FL_USER0 on both T_MODULE and T_CLASS.

Note: prior to this, FL_SINGLETON was never set on T_MODULE,
so checking for `FL_SINGLETON` without first checking that
`FL_TYPE` was `T_CLASS` was valid. That's no longer the case.
2024-03-06 13:11:41 -05:00
Nobuyoshi Nakada
e9a7801a93
Drop support for old ERB 2024-03-03 00:55:45 +09:00
Takashi Kokubun
607b86ed1f Update a stubbed type for RJIT
cfunc.func is actually used by RJIT
2024-03-01 15:10:26 -08:00
Hiroshi SHIBATA
874e9fc34d Don't need to remove ruby2_keywords dependency from drb 2024-03-01 12:32:40 +09:00
Nobuyoshi Nakada
114c0b71be
Inform failures in parallel tests before retrying
Displays for each failure which test it actually occurred in.  The
output destination follows the --{stdout,stderr}-on-failure option.
2024-02-29 18:05:00 +09:00
Hiroshi SHIBATA
75a4aa2052 Support file listing with IO.poepn style 2024-02-28 13:30:16 +09:00
KJ Tsanaktsidis
fe0b704df5 Skip assert_no_memory_leak when ASAN is enabled
ASAN greatly increases the memory footprint of Ruby, so these static
thresholds are not appropriate. There's no real need to run these tests
under ASAN.

[Bug #20274]
2024-02-28 14:41:03 +11:00
Nobuyoshi Nakada
3c4d0b1313
Exclude .mailmap from snapshots [ci skip]
It is only for old commits, useless without full repository logs.
2024-02-25 19:12:55 +09:00
Naoto Ono
3371936b6f Add Launchable into CI 2024-02-23 14:10:01 +01:00
Takashi Kokubun
bccf4b30fa
Skip under_gc_compact_stress on s390x (#10073) 2024-02-22 14:34:19 -08:00
Nobuyoshi Nakada
5f7f229ae7
Adjust indent [ci skip] 2024-02-22 22:22:56 +09:00
Nobuyoshi Nakada
183c574d54
Save the performance warning flag 2024-02-22 22:05:04 +09:00
Nobuyoshi Nakada
1fa4d15ca7
Add Test::Unit::TestCase#method_name
For the compatibility with test-unit gem.
2024-02-21 15:45:53 +09:00
Takashi Kokubun
c0e5de9567 Fix the version in missing-baseruby 2024-02-20 09:13:36 -08:00
Nobuyoshi Nakada
4e864d0a82
Architecture-dependent files must not pollute libdir [ci skip]
Copying compiled binaries to libdir is a really evil practice.
2024-02-20 13:14:09 +09:00
Hiroshi SHIBATA
cdf39ed673
Don't sync prism.{so,bundle,dll} from ruby/prism 2024-02-20 09:56:05 +09:00
Nobuyoshi Nakada
120c291faf
Link ruby.pc to pkg-config data directory 2024-02-18 15:08:27 +09:00
Nobuyoshi Nakada
87c4c6c082
Install binary executable files to architecture dependent path 2024-02-18 15:07:42 +09:00
Nobuyoshi Nakada
104100f554
Split path.rb from mkrunnable.rb 2024-02-18 00:18:19 +09:00
Hiroshi SHIBATA
0301473fb5
Fixed dependencies list format 2024-02-16 17:59:38 +09:00
Hiroshi SHIBATA
e3f452e5d7
Adjust indent 2024-02-16 17:57:38 +09:00
Hiroshi SHIBATA
9f4d5eb1f4 Try to find gemspec from `.bundle/specifications 2024-02-16 17:28:00 +09:00
Hiroshi SHIBATA
9f708d48f6 Clear runtime dependencies if default gems is specified.
The current build system uses runtime dependencies from only
`.bundle` directory. We shouldn't install runtime dependencies
from rubygems.org when `make test-bundled-gems` is invoked.
2024-02-16 17:28:00 +09:00
Hiroshi SHIBATA
4047222aca Try to load original gemspec from .bundle/gems/foo-x.y.z/foo.gemspec.
`.bundle/specification/foo-x.y.z.gemspec` may be changed our toolchain
2024-02-16 17:28:00 +09:00
Takashi Kokubun
bc7266c5ce
Bump the required BASERUBY version to 3.0 (#9976) 2024-02-15 23:13:45 -08:00
Yusuke Endoh
9d1b000bd1 Show the method owner in backtraces
```
test.rb:1:in 'Object#toplevel_meth': unhandled exception
        from test.rb:4:in 'Foo.class_meth'
        from test.rb:6:in 'Foo#instance_meth'
        from test.rb:11:in 'singleton_meth'
        from test.rb:13:in '<main>'
```

[Feature #19117]
2024-02-15 19:11:58 +09:00
yui-knk
06ad00adc2 Lrama v0.6.3 2024-02-15 07:44:30 +09:00
Hiroshi SHIBATA
007c75ce4c
Skip to install bundled gems that is C extension and build failed.
Ex. We can't build syslog gem in Windows platform. We should skip install
syslog as bundled gems.
2024-02-09 14:40:12 +09:00
Hiroshi SHIBATA
908cedf703
Removed accidentally commit for lockfile 2024-02-08 15:29:16 +09:00
KJ Tsanaktsidis
565ef06e91 Ignore _odr_asan symbols in leaked-globals
ASAN includes these to detect violations of the ODR rule.

[Bug #20221]
2024-02-07 19:42:07 +11:00
Yuta Saito
02c88477ce [wasm] tool/m4/ruby_wasm_tools.m4: Add default value for OBJCOPY
The tool is used to build shared libraries but system installed
tools usually don't support WebAssembly, so use WASI SDK's tools by default.
2024-02-06 01:08:18 +09:00
Nobuyoshi Nakada
c0629a055a
Prefer IO.popen over IO.foreach with | 2024-02-02 10:42:53 +09:00
Nobuyoshi Nakada
f22bec79fe
leaked-globals: More accurately extract checked function names 2024-02-02 10:42:53 +09:00
Naoto Ono
a7ebe467a7 Add newline between end and def 2024-01-31 16:14:50 +09:00
Naoto Ono
45b53dd897 Add the ability to generate Launchable test reports 2024-01-31 16:14:50 +09:00
Nobuyoshi Nakada
4e72c9af87
rbinstall.rb: Fix a closing parenthesis [ci skip] 2024-01-30 23:45:43 +09:00