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

85453 Коммитов

Автор SHA1 Сообщение Дата
Kevin Newton 69d0a3b033 [ruby/irb] Simplify regexp to account for prism error messages
(https://github.com/ruby/irb/pull/954)

https://github.com/ruby/irb/commit/e0c29be074

Co-authored-by: Stan Lo <stan001212@gmail.com>
2024-05-10 09:39:11 +00:00
Kevin Newton 2f915e729a [PRISM] Enable passing test_string 2024-05-10 00:54:31 -04:00
Kevin Newton 346f7bf33e [ruby/prism] Fix escaping control+x
https://github.com/ruby/prism/commit/0f0b4c1161
2024-05-10 00:54:31 -04:00
dependabot[bot] f53b46e9df Bump ossf/scorecard-action from 2.3.1 to 2.3.3
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.1 to 2.3.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](0864cf1902...dc50aa9510)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-09 20:16:08 -07:00
KJ Tsanaktsidis fd2876e6a2 Update ASAN docs to refer to Clang 18's release
Clang 18 has the bugfix we need, so we no longer need to tell people to
compile Clang from source.
2024-05-10 10:55:28 +10:00
Kevin Newton 444030fc61 [PRISM] Enable passing tests 2024-05-09 09:38:43 -04:00
Jean Boussier 74c911dfa9 Add a ruby_bug spec for String#index clearing $~
[Bug #20421]

The bug was fixed in Ruby 3.3 via 9dcdffb8bf
2024-05-09 12:37:25 +02:00
Jean Boussier e82138e48a Stabilize TestObjSpace#test_dump_special_consts
The test assumes `:foo` is a static symbol, but that is only true
if a literal `:foo` was parsed before `"foo".to_sym` was evaled:

```ruby
require 'objspace'
foo_sym = "foo".to_sym
puts ObjectSpace.dump(eval(":foo"))
```

```
{"address":"0x100fb46d0", "type":"SYMBOL", "shape_id":10, "slot_size":40, "class":"0x100d3e9c8", "frozen":true, "bytesize":3, "value":"foo", "memsize":40, "flags":{"wb_protected":true, "marking":true, "marked":true}}
```
2024-05-09 12:23:34 +02:00
git 8b3280bebd Update default gems list at fba7bdb710 [ci skip] 2024-05-09 09:53:28 +00:00
Mari Imaizumi fba7bdb710 [ruby/reline] Bump version to 0.5.6
(https://github.com/ruby/reline/pull/700)

https://github.com/ruby/reline/commit/1b6c29a2b1
2024-05-09 09:52:29 +00:00
Hiroshi SHIBATA fb6cfb413d
Mark rdoc as bundled gems at Ruby 3.5 2024-05-09 17:39:57 +09:00
git 6bff0707e8 Update bundled gems list as of 2024-05-08 2024-05-09 06:59:48 +00:00
Hiroshi SHIBATA 9df3f205b1 test-syntax-suggest is not working with mswin environment 2024-05-09 15:22:53 +09:00
dependabot[bot] 43b18dac91 Bump github/codeql-action from 3.25.3 to 3.25.4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.3 to 3.25.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](d39d31e687...ccf74c9479)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-08 20:28:51 -07:00
Nobuyoshi Nakada d10615c064
[DOC] Update `--dump` option arguments in the ruby man page
Related to [Feature #20329].
2024-05-09 11:40:02 +09:00
Nobuyoshi Nakada 58bde0169d
[DOC] Fix the pattern for man pages 2024-05-09 10:45:45 +09:00
Nobuyoshi Nakada d6564615e7
Fix format specifier for `DWORD` 2024-05-09 10:11:19 +09:00
Nobuyoshi Nakada d224bfdc32
`redblack_cache_ancestors` is enabled only when `mmap` is available 2024-05-09 10:11:18 +09:00
Josef Šimánek 8bd6ae4c40 [rubygems/rubygems] Monthly man update for May 2024.
https://github.com/rubygems/rubygems/commit/9ee7069841
2024-05-08 23:58:45 +00:00
Kevin Newton 442e398e62 [ruby/prism] Ensure keyword parameters are not constants
https://github.com/ruby/prism/commit/fd210115c1
2024-05-08 18:56:14 +00:00
Kevin Newton 128c9a92dd [ruby/prism] Enhance def params term error message
https://github.com/ruby/prism/commit/3af1acd5da
2024-05-08 17:58:46 +00:00
Kevin Newton 2d631cf428 [ruby/prism] Fix line number of unreachable statement warning
https://github.com/ruby/prism/commit/62f6b1f2e2
2024-05-08 17:30:18 +00:00
Kevin Newton 61829eec65 [ruby/prism] Ensure keyword parameters do not end in ! or ?
https://github.com/ruby/prism/commit/57d86a8545
2024-05-08 16:52:07 +00:00
Kevin Newton 84ba35e8c2 [ruby/prism] Invalid escape character syntax for nested unicode escapes
https://github.com/ruby/prism/commit/623a0bb995
2024-05-08 16:38:22 +00:00
Kevin Newton 7c1e11fe02 [ruby/prism] Validate Unicode escape sequences are not surrogates
https://github.com/ruby/prism/commit/64d2ce2622
2024-05-08 16:26:50 +00:00
Nobuyoshi Nakada e937878883
Revert "Update revision.h if branch unmatch not only revision"
This reverts commit 5a332940ed.
Something does not work well on Github Actions.
2024-05-09 01:02:59 +09:00
tomoya ishida 26446cccc9 [ruby/reline] Implement bracketed paste insert
(https://github.com/ruby/reline/pull/655)

https://github.com/ruby/reline/commit/e92dcbf514
2024-05-08 16:00:30 +00:00
git ad9c89fab8 Update default gems list at 548a72e537 [ci skip] 2024-05-08 14:22:18 +00:00
Kevin Newton 548a72e537
[PRISM] Sync prism version bump 2024-05-08 10:20:48 -04:00
Kevin Newton 06a1df3ef9 [PRISM] Enable more passing tests 2024-05-08 10:18:57 -04:00
Kevin Newton 74d948a617 [ruby/prism] Better error message on missing hash value
https://github.com/ruby/prism/commit/b20e37e82e
2024-05-08 12:52:54 +00:00
Nobuyoshi Nakada 5a332940ed
Update revision.h if branch unmatch not only revision [ci skip] 2024-05-08 21:39:32 +09:00
Kevin Newton ba062a6231 [PRISM] Use correct warning encoding 2024-05-08 08:12:17 -04:00
Nobuyoshi Nakada 5bb656e4f0
[Bug #20474] Keep spaces in leading blank line 2024-05-08 19:25:37 +09:00
Samuel Giddins 841b45a442 [ruby/openssl] Add to_text for PKCS7 and Timestamp::Response
https://github.com/ruby/openssl/commit/71cd1e3f5c
2024-05-08 09:39:13 +00:00
Nobuyoshi Nakada aabe718e64
Show the caller location of assertion methods
Not only defined in `Test::Unit` or `CoreAssertions`, also show the
caller location of assertion methods defined in the current class or
ancestors.
2024-05-08 17:24:36 +09:00
Kevin Newton b4b39a6199 [PRISM] Enable test_methoddef_endless_command 2024-05-07 14:24:31 -04:00
Kevin Newton 2bfc48755e [PRISM] Enable more passing tests 2024-05-07 14:24:31 -04:00
Kevin Newton 21b94ae0d1 [ruby/prism] Extend error message for unterminated HEREDOC
https://github.com/ruby/prism/commit/c1b07ec11b
2024-05-07 18:03:03 +00:00
Kevin Newton dcbe0edb83 [ruby/prism] Better error message for contents of hash pattern
https://github.com/ruby/prism/commit/60dbf60f48
2024-05-07 17:22:50 +00:00
Kevin Newton 5d44846815 [ruby/prism] Disallow implicit hash in array pattern
https://github.com/ruby/prism/commit/bdd509c6ac
2024-05-07 17:15:14 +00:00
Jeremy Evans ef3803ed40 Ignore the result of pthread_kill in ubf_wakeup_thread
After an upgrade to Ruby 3.3.0, I experienced reproducible production crashes
of the form:

[BUG] pthread_kill: No such process (ESRCH)

This is the only pthread_kill call in Ruby. The result of pthread_kill was
previously ignored in Ruby 3.2 and below. Checking the result was added in
be1bbd5b7d (MaNy).

I have not yet been able to create a minimal self-contained example,
but it should be safe to remove the checks.
2024-05-07 09:44:25 -07:00
Kevin Newton 8ec1c416f7 [ruby/prism] Specific error message for symbol literal with interpolation in hash patterns
https://github.com/ruby/prism/commit/31f0201bae
2024-05-07 16:31:05 +00:00
Kevin Newton 8cc733dff7 [ruby/prism] Add error for invalid implicit local writes
https://github.com/ruby/prism/commit/ab21882561
2024-05-07 16:31:05 +00:00
Kevin Newton eb8efa42f0 [ruby/prism] shareable_constant_value line warnings
https://github.com/ruby/prism/commit/8c984b6922
2024-05-07 14:56:48 +00:00
git e1e6b4972f Update bundled gems list as of 2024-05-07 2024-05-07 06:59:36 +00:00
Yuta Saito 80adf6a18c [rubygems/rubygems] Accept WASI as an OS name in Gem::Platform
https://github.com/rubygems/rubygems/commit/1209d3c6b0
2024-05-07 05:36:35 +00:00
dependabot[bot] 7c8903d014 Bump actions/checkout from 4.1.4 to 4.1.5
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](0ad4b8fada...44c2b7a8a4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 20:37:42 -07:00
dependabot[bot] e9356bec96 Bump actions/checkout in /.github/actions/setup/directories
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](0ad4b8fada...44c2b7a8a4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 19:55:11 -07:00
Kevin Newton 481e16d58b [PRISM] Support for compiling ractor constant path writes 2024-05-06 19:06:13 -04:00