Kazuki Yamaguchi
fb12522b00
sync_default_gems.rb: ensure that commit messages end with \n
...
Commit messages written on GitHub's Web UI apparently use \r\n as a
line separator and do not have a \n at the end of message, unlike those
normally made with the git CLI. This breaks the expectation of the
regexps used later.
2023-07-12 23:40:12 +09:00
Nobuyoshi Nakada
c8d0470bb0
Use `File::NULL` instead of hard coded null device names
2023-07-10 19:21:47 +09:00
Nobuyoshi Nakada
cceb410087
leaked-globals: check leaked symbols in libruby.so if enable-shared
2023-07-08 11:31:17 +09:00
Nobuyoshi Nakada
28ae4e4628
leaked-globals: ignore Address Sanitizer symbols
2023-07-08 11:31:17 +09:00
Jemma Issroff
9614a61379
Fixed build scripts for YARP
2023-07-05 16:58:55 -04:00
Janosch Müller
08b3fb1152
[Bug #19728 ] Auto-generate unicode property docs
...
https://bugs.ruby-lang.org/issues/19728
2023-07-01 23:22:17 +09:00
Aaron Patterson
7ce6bcaf8b
Expose rb_hash_resurrect
...
This is for implementing the `duphash` instruction
2023-06-23 11:46:21 -07:00
Takashi Kokubun
fcf2f5a522
Let yarp use main branch instead
2023-06-21 11:35:36 -07:00
Jemma Issroff
d53e1f42ff
[Feature #19741 ] Add yarp to builds
...
Add yarp to common.mk and windows builds to enable us to run yarp
correctly with CI.
2023-06-21 11:25:39 -07:00
Jemma Issroff
03f1a6c4c5
[Feature #19741 ] Add yarp to `tool/sync_default_gems.rb` sync script
...
The default gems sync script now includes YARP, found in the
ruby/yarp repo. This script primarily syncs over the src, test, lib
directories. It also migrates all encoding files to be prefixed
with `yp_` in order to deconflict from existing encoding files.
2023-06-21 11:25:39 -07:00
Hiroshi SHIBATA
1edbaa850f
Merge rubygems/rubygems HEAD
...
Pick from 880dd95996
2023-06-20 13:35:13 +09:00
Hiroshi SHIBATA
c2f4b41480
Merge rubygems/rubygems HEAD
...
Pick from 7a7b234721
2023-06-15 07:02:03 +09:00
Hiroshi SHIBATA
551b8a31a9
Update directory layout of rubygems/rubygems
2023-06-15 07:01:06 +09:00
Nobuyoshi Nakada
c5c15a565b
Allow test-unit-ruby-core files to be loaded from bundled gems
...
Separate the directly from the customized test-unit, since it may not
work with bundled gems.
2023-06-14 12:14:20 +09:00
yui-knk
8722342ca9
Lrama v0.5.2
2023-06-14 10:40:25 +09:00
yui-knk
b481b673d7
[Feature #19719 ] Universal Parser
...
Introduce Universal Parser mode for the parser.
This commit includes these changes:
* Introduce `UNIVERSAL_PARSER` macro. All of CRuby related functions
are passed via `struct rb_parser_config_struct` when this macro is enabled.
* Add CI task with 'cppflags=-DUNIVERSAL_PARSER' for ubuntu.
2023-06-12 18:23:48 +09:00
Hiroshi SHIBATA
f6e6d52b22
Try to skip Prime_test.rb
2023-06-12 13:18:28 +09:00
Hiroshi SHIBATA
8be4659b60
Run test-unit test without rake task to avoid yard dependency
2023-06-12 13:18:28 +09:00
Hiroshi SHIBATA
55e0f8cfe0
Removed sync task for racc
2023-06-08 17:25:38 +09:00
Nobuyoshi Nakada
4589056384
Exit with a failure if any test files failed to load
2023-06-03 20:22:10 +09:00
Hiroshi SHIBATA
4bbeed6134
Merge RubyGems/Bundler master from 4076391fce5847689bf2ec402b17133fe4e32285
2023-05-30 21:50:07 +09:00
yui-knk
41512cd1bf
Lrama v0.5.1
2023-05-20 16:42:39 +09:00
Yuichiro Kaneko
41dccb6a7b
Lrama v0.5.0 ( #7814 )
2023-05-15 19:01:07 +09:00
Nobuyoshi Nakada
bdaa491565
Add user argument to some macros used by bison
2023-05-14 15:38:48 +09:00
Yuichiro Kaneko
a1b01e7701
Use Lrama LALR parser generator instead of Bison
...
https://bugs.ruby-lang.org/issues/19637
Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2023-05-12 18:25:10 +09:00
Janosch Müller
b742fb029d
[DOC] Update how to run tool/enc-unicode.rb
2023-05-12 14:15:47 +09:00
Hiroshi SHIBATA
8866e08207
Removed sync task for ext/readline
2023-05-10 15:03:58 +09:00
Hiroshi SHIBATA
59646e8798
Allow to use development version of bundled gems for packaging
2023-05-09 12:57:12 +09:00
Hiroshi SHIBATA
bb75e83d9f
We should not validate development version of bundled gems with fetch timing.
...
We want to notify above situation when release time. So, I move this check into ruby/actions.
2023-05-09 12:57:12 +09:00
Nobuyoshi Nakada
31774bd565
Remove `sync_tool` task from Rakefile when syncing [ci skip]
2023-05-02 18:27:10 +09:00
Hiroshi SHIBATA
90baadb904
Ignore to sync used_cassettes.txt
2023-05-01 17:38:49 +09:00
Nobuyoshi Nakada
d239643603
core_assertions.rb: Support old rubies
...
Some symbol argument might not be accepted by Process.clock_gettime.
2023-04-29 11:28:26 +09:00
Nobuyoshi Nakada
ecd42cfe39
Skip added tool files
...
Get rid of accidents like 966f0d91e2
.
2023-04-29 10:40:39 +09:00
Nobuyoshi Nakada
74028c210c
sync_tool.rake: Fold too long message [ci skip]
...
Split into title and body, like as the pull-request.
2023-04-29 00:46:35 +09:00
Nobuyoshi Nakada
d887cd5ea1
sync_tool.rake: Add --update and --keep options [ci skip]
2023-04-29 00:39:59 +09:00
Nobuyoshi Nakada
08608be7f0
sync_tool.rake: Adjust the location [ci skip]
2023-04-28 22:31:07 +09:00
Nobuyoshi Nakada
9ea1281a76
Add sync_tool.rake [ci skip]
2023-04-28 22:05:09 +09:00
Nobuyoshi Nakada
afc98e3b55
Copy also helper.rb [ci skip]
2023-04-28 22:05:09 +09:00
Nobuyoshi Nakada
0bd2782384
Improve sync_test_lib.rb [ci skip]
...
- read files to copy once at first
- take the destination top directory from command line arguments
- fix a typo
2023-04-28 22:05:09 +09:00
Nobuyoshi Nakada
35da0d4a6e
Support older git
...
The -b flag is available since 2.28, but Ubuntu 20.04 uses 2.25.
2023-04-28 18:29:31 +09:00
Soutaro Matsumoto
f6694b5bc8
Bundle rbs-3.1.0 ( #7766 )
2023-04-28 11:04:03 +09:00
Hiroshi SHIBATA
b90d87bf25
We need to checkout before BundledGem.dummy_gemspec checking.
...
When newer version released rather than gems/bundled_gems defined,
`spec.version == Gem::Version.new(v)` always abort like:
```
Unexpected versions between bundled_gems:3.0.4 and gemspec:3.1.0
```
2023-04-26 17:22:03 +09:00
Nobuyoshi Nakada
de5cd5a635
Use shorter path as `SPEC_TEMP_DIR`
...
The temporary directory under the build directory may be too long as a
UNIX socket path. On macOS, the default `TMPDIR` per user is also
very long.
2023-04-21 22:24:55 +09:00
Aaron Patterson
bdffcd6df3
Update RJIT to support newarray_send
...
This also adds max / hash support
2023-04-18 17:16:22 -07:00
Nobuyoshi Nakada
eab1f1ef18
Avoid diffutils 3.8 bug#61193 [ci skip]
2023-04-14 13:51:59 +09:00
Nobuyoshi Nakada
08324ab9eb
Include `--no-llvm-bc` option in `NM` macro only if usable
2023-04-08 12:47:27 +09:00
Aaron Patterson
a9bfb64153
Expose rb_sym_to_proc via RJIT
...
This is needed for getblockparamproxy
2023-04-07 09:49:15 -07:00
Nobuyoshi Nakada
533423ebe4
core_assertions.rb: Prefer CPU time clocks
...
To prevent influence from other processes.
2023-04-06 00:19:03 +09:00
Nobuyoshi Nakada
f9eb2515a3
core_assertions.rb: Extract common code block
2023-04-06 00:19:03 +09:00
Nobuyoshi Nakada
f07c756494
core_assertions.rb: Tweak timeout limit
...
Increase the timeout limit when variance at rehearsal is small.
2023-04-06 00:19:03 +09:00