Граф коммитов

3153 Коммитов

Автор SHA1 Сообщение Дата
Kazuhiro NISHIYAMA a6a67b0524
Do not append latest_date to gems/bundled_gems [ci skip] 2023-10-25 13:10:28 +09:00
Nobuyoshi Nakada c86c6a84f5 [Bug #19968] Revert RBS revision to test
This reverts the commits for the master branch of RBS:

- commit f717faac632dd8664d0967f8e639b84d5d032854: "Update rbs
  revision to test"

    The target revision to test is in master branch, not for 3.2.x.

- commit 9e93af5329f35092c3de3ea37d4e9e181b800bb2: "Skip RBS
  `RbConfig::TOPDIR` test that is `nil` before installation"

    RbConfig_test.rb is not updated in 3.2.x branch.
2023-10-24 22:59:09 +09:00
Nobuyoshi Nakada bf93ceb26b
Set date in message to the latest gem date [ci skip] 2023-10-23 23:13:55 +09:00
Hiroshi SHIBATA df5bf5bb59
Removed unnecessary libraries of sync_tool 2023-10-23 17:28:50 +09:00
Hiroshi SHIBATA 9844371c6f
sync_tool is unnecessary now.
We can use https://github.com/ruby/test-unit-ruby-core for testing the default gems.
2023-10-23 17:22:27 +09:00
yui-knk 2d468358a5 Lrama v0.5.7 2023-10-23 13:14:15 +09:00
Nobuyoshi Nakada 9e93af5329 Skip RBS `RbConfig::TOPDIR` test that is `nil` before installation 2023-10-22 08:44:52 +09:00
Nobuyoshi Nakada 0ca5182ae5 RBS no longer has test/stdlib/Prime_test.rb 2023-10-22 08:44:52 +09:00
Nobuyoshi Nakada 361bce8d2c
[Bug #19967] Ignore library before build 2023-10-21 23:47:29 +09:00
Nobuyoshi Nakada 38b79b05fd
Fallback job status to normal if no tty 2023-10-21 19:47:05 +09:00
Nobuyoshi Nakada 54b9b80b84
[Bug #19967] Delete real path 2023-10-21 16:45:03 +09:00
Nobuyoshi Nakada 5e24a4e392
Strip universal_archnames 2023-10-21 15:42:41 +09:00
Nobuyoshi Nakada 665b4c5b2a
[Bug #19967] Reset `LIBPATHENV` env after started
Not to affect other tools invoked as child processes.
2023-10-21 14:05:20 +09:00
Hiroshi SHIBATA bb849ffdb1
Added explicitly begin-end block for Ruby 2.4.
strscan, ipaddr and some default gems still support Ruby 2.4.

  After this, I extract this CoreAssertions to their repositories.
2023-10-20 14:34:08 +09:00
Takashi Kokubun bd2aee67c1 [DOC] "is now bundled" is ambiguous
I think it meant it's now a bundled "gem", but "is now bundled" implies
it's a new gem that was neither default nor bundled gems. So I changed
wording.

I also want to change the subjects and reorder them so that it will read:
"The following default gem" (new) -> "The following default gem" (updated) ->
"The following bundled gem" (new) -> "The following bundled gem" (updated).
2023-10-19 16:37:11 -07:00
Takashi Kokubun c221af2c3d [DOC] Prism is a new default gem 2023-10-19 16:25:33 -07:00
Takashi Kokubun 6d42f4dd2d Avoid using a system Ruby if possible
in tool/update-NEWS-gemlist.rb
2023-10-19 16:10:14 -07:00
Nobuyoshi Nakada 4f4016497e
Handle `Timeout::Error` reported from workers 2023-10-18 23:41:23 +09:00
Nobuyoshi Nakada ff4c98f125
Fix total count when filters given 2023-10-18 12:19:52 +09:00
Nobuyoshi Nakada f13068afaa
Escape method names containing control characters 2023-10-18 10:36:42 +09:00
Takashi Kokubun 6c46ccf226
Prefer RbConfig.ruby over the 3.times fallback (#8691)
It seems saner to use RbConfig.ruby than using ruby in a random ancestor
directory.
2023-10-17 17:57:39 -07:00
Nobuyoshi Nakada 776d4dec69 Manage parallel test workers after timeout 2023-10-18 02:55:42 +09:00
Nobuyoshi Nakada 8b520bd3fb Add `jobs` optional keyword argument 2023-10-18 02:55:42 +09:00
Nobuyoshi Nakada 96cd73d78f
Ignore symbols even in empty shared library
On some platforms, such as FreeBSD and Oracle Linux, symbols defined
in the crt0 setup routine are exported from shared libraries.  So
ignore the symbols that would be exported even in an empty shared
library.
2023-10-14 18:38:24 +09:00
Maxime Chevalier-Boisvert b2e1ddffa5
YJIT: port call threshold logic from Rust to C for performance (#8628)
* Port call threshold logic from Rust to C for performance

* Prefix global/field names with yjit_

* Fix linker error

* Fix preprocessor condition for rb_yjit_threshold_hit

* Fix third linker issue

* Exclude yjit_calls_at_interv from RJIT bindgen

---------

Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
2023-10-12 10:05:34 -04:00
Nobuyoshi Nakada 9859dbc7fd
Fix leaked symbols on FreeBSD [ci skip] 2023-10-12 15:07:42 +09:00
Takashi Kokubun 8705e734ed Remove a binding.irb in rjit-bindgen 2023-10-04 11:43:29 -07:00
Nobuyoshi Nakada 94bcae1b2a
Special treat when the first line ends with a dot [ci skip] 2023-10-04 19:27:34 +09:00
Nobuyoshi Nakada 10379ebf90
Support regexp in log-fix [ci skip] 2023-10-03 22:02:02 +09:00
Nobuyoshi Nakada 4909747e5a
Use the hexdigit character class 2023-10-02 00:49:05 +09:00
Nobuyoshi Nakada be09c8370b
tool/enc-unicode.rb: make the condition concice with flip-flop
And regexps are not necessary here.
2023-10-01 22:33:31 +09:00
Kevin Newton a213d21448 Move CRuby-specific prism files to top level 2023-09-28 09:44:16 -04:00
Kevin Newton 3d0a46796b Rename YARP symbols to prism 2023-09-27 13:57:38 -04:00
Kevin Newton 8ab56869a6 Rename YARP filepaths to prism filepaths 2023-09-27 13:57:38 -04:00
Kevin Newton 3cec94624b Rename compiler test to iseq test 2023-09-27 12:10:23 -04:00
Nobuyoshi Nakada d80002c902
Improve VCS::GIT#format_changelog addessing [ci skip] 2023-09-23 16:34:20 +09:00
Nobuyoshi Nakada 7c98d520f4 [Bug #19892] Clean intermediate files regardless `-keep_temp`
Not to include such files in the result packages.
2023-09-21 12:19:00 +09:00
Nobuyoshi Nakada 7ba88e13e0 Make `clean.create` to accept a block
Like `File.open`, yield an IO to write the file.
2023-09-21 12:19:00 +09:00
Nobuyoshi Nakada 3c11cdbcfe Fix the case of file to be ignored with to be removed
The case of 7fc73ab5f6, which modified
`.gitignore` and `.github/workflows/main.yml`.  Both files need to be
rejected and restored, but since the latter file was not there before,
`git checkout` failed and the former file could not be restored along
with it.  To fix this failure, restore the ignored files one by one.
2023-09-20 13:00:18 +09:00
Nobuyoshi Nakada afaa164a05 Add a successful sync test case 2023-09-20 13:00:18 +09:00
Takashi Kokubun 5b00314868 Ignore JRuby extension sync
Avoid alerting on failing with commits like
fb97d899c5
2023-09-19 14:10:38 -07:00
Nobuyoshi Nakada 88262875fd
Fix `git cat-file` condition
When multiple files changed in the same directory to be removed, the
first file only was removed from changed set.
2023-09-18 02:23:59 +09:00
Nobuyoshi Nakada 8d219a9bd7
Refactor test_sync_default_gems.rb 2023-09-18 02:11:48 +09:00
Nobuyoshi Nakada 2dffd36504
Move special patterns to the common pattern 2023-09-17 21:11:54 +09:00
Nobuyoshi Nakada 67dedf8cf6
Ignore changed files under removed paths
This fixes the issue commit 43ab2acf82
"Resurrect gem-specific patterns for sync" described.
2023-09-16 12:00:06 +09:00
Takashi Kokubun 43ab2acf82 Resurrect gem-specific patterns for sync
Yet another partial revert of https://github.com/ruby/ruby/pull/8329,
similar to 00f263e6c4.

Repro: On ruby/ruby@1be64e34d0, `tool/sync_default_gems.rb yarp
162c2088eec6ec8f0558559e082cd661c18ee02a` should exist successfully, but
it doesn't without this gem-specific handling.
2023-09-15 16:54:20 -07:00
yui-knk 4655d2108e Lrama v0.5.6 2023-09-13 18:03:49 +09:00
Hiroshi SHIBATA f1c78b2331 Suppress warning for shadowing outer local variable 2023-09-12 15:10:16 +09:00
Takashi Kokubun 00f263e6c4 sync_default_gems.rb: Deal with conflicts on ignored files
that do not exist in the ruby/ruby side.

This resurrects a line that had existed prior to #8329.
2023-09-01 16:17:59 -07:00
Nobuyoshi Nakada 2ce1b77ce0
sync_default_gems.rb: Discard some error messages
These messages are expected:
- `cat-file -e` at newly added entries.
- `commit --amend` when all changes removed.
2023-08-31 11:32:29 +09:00