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

77735 Коммитов

Автор SHA1 Сообщение Дата
Nobuyoshi Nakada 0e5aecea11
[DOC] Move docs of `Array#first` and `Array#last` to array.rb 2023-05-10 15:47:39 +09:00
Hiroshi SHIBATA 8866e08207
Removed sync task for ext/readline 2023-05-10 15:03:58 +09:00
Hiroshi SHIBATA 0ef6e718d9
Merge https://github.com/rubygems/rubygems/pull/6655 manually. 2023-05-10 15:02:29 +09:00
Samuel Giddins 9ed189e9aa
Update SPDX license list 2023-05-10 14:58:55 +09:00
Hiroshi SHIBATA 71dc88df38
Added entry about ext/readline 2023-05-10 09:56:54 +09:00
Hiroshi SHIBATA 172077232e
readline or libedit is no longer required to build ruby 2023-05-10 09:55:27 +09:00
Hiroshi SHIBATA aec4e2d678
Removed duplicated entry of readline.rb 2023-05-10 09:53:02 +09:00
Hiroshi SHIBATA 507801c6d7
ext/readline is retired 2023-05-10 09:52:33 +09:00
Noah Gibbs e1c84e8ee6
For YJIT stats, set avg_len_in_yjit to 0 if denominator would be 0 (#7793) 2023-05-10 04:40:26 +09:00
Jeremy Evans 986268afae Document that Array#{&,intersection,intersect?} use hash method [ci skip]
Fixes [Bug #19622]
2023-05-09 02:25:56 -07:00
git 091d04ccce Update bundled gems list at 9d6bfe3815 [ci skip] 2023-05-09 03:57:54 +00:00
Jemma Issroff 6404a0f2f8 Fix broken link to maintainers page 2023-05-09 12:57:36 +09:00
Hiroshi SHIBATA 9d6bfe3815 Use debug-1.8.0 2023-05-09 12:57:12 +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
Hiroshi SHIBATA 7397642021 Use HEAD version of ruby/debug for testing 2023-05-09 12:57:12 +09:00
Hiroshi SHIBATA 9d3ab15827 Relax regexp for console assertion 2023-05-09 12:57:12 +09:00
Hiroshi SHIBATA 59fd67fc3d Extract ext/readline 2023-05-09 12:57:12 +09:00
Takumasa Ochi 5831f7c831 [rubygems/rubygems] Simplify code by Gem::Specification#runtime_dependencies
https://github.com/rubygems/rubygems/commit/324139af8f
2023-05-08 08:56:22 +00:00
Nobuyoshi Nakada 6987ec45b1 [ruby/stringio] Drop support for ruby 2.6 or earlier
(https://github.com/ruby/stringio/pull/47)

`rb_io_extract_modeenc` has been exported since ruby 2.7.
2023-05-08 07:21:21 +00:00
卜部昌平 fb23fba082 add CI matrix for clang 17 / GCC 13
- 603c286334
- cc035c5d86
2023-05-08 12:23:39 +09:00
tomoya ishida 5eca327fc5 [ruby/reline] Fix dialog corrupts rendering by pushing up input line
too much
(https://github.com/ruby/reline/pull/524)

* Do not render dialog where it overflows screen

* Dialog rendering should Scroll down only when needed

* Refactor screen_y_range calculation

Co-authored-by: Stan Lo <stan001212@gmail.com>

---------

https://github.com/ruby/reline/commit/bc0e3d1310

Co-authored-by: Stan Lo <stan001212@gmail.com>
2023-05-07 13:18:13 +00:00
zzak 8b2884c0b5 [ruby/rdoc] Isolate root dir if specified
This ensures only files from the root directory are chosen, in order to allow a clean build from outside the source directory.

https://github.com/ruby/rdoc/commit/f3b389aa9e
2023-05-06 07:39:24 +00:00
Nobuyoshi Nakada 40438fc4d3 [ruby/rdoc] Drop the support for 2.5 or earlier because of CVE-2021-31799
https://github.com/ruby/rdoc/commit/26136138aa
2023-05-05 14:01:50 +00:00
Nobuyoshi Nakada da75560b6c
Continue checking all gemspec files after errors 2023-05-05 18:52:37 +09:00
Nobuyoshi Nakada cfa6a892d0
Redirect to `IO::NULL` for the portability 2023-05-05 18:52:36 +09:00
dependabot[bot] 085a8709b5 Bump github/codeql-action from 2.3.2 to 2.3.3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](f3feb00acb...29b1f65c5e)

---
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>
2023-05-05 12:43:58 +09:00
Nobuyoshi Nakada cc4c28d0ce [ruby/uri] Define test cases as qualified class names
https://github.com/ruby/uri/commit/aaa22a2443
2023-05-05 00:46:11 +00:00
Nobuyoshi Nakada c598bc4603 [ruby/uri] Increase repeat orders of magnitude
https://github.com/ruby/uri/commit/cfbeade935
2023-05-05 00:46:10 +00:00
Takashi Kokubun b4e4ad9545 Write up NEWS entries for RJIT [ci skip] 2023-05-04 16:10:14 -07:00
Takashi Kokubun 60eb181c37 Merge a YJIT release notes draft into NEWS [ci skip] 2023-05-04 15:59:46 -07:00
Takashi Kokubun 546093e8d9 Add YJIT-related NEWS entries [ci skip] 2023-05-04 15:52:59 -07:00
Nobuyoshi Nakada caa2180be0 test_default_gems.rb: Stop using `git ls-files`
Just validate syntax and the result class instead.

Not only `git ls-files` doesn't make sence under ruby's repository,
some gemspec files hardcode `2>/dev/null`, which doesn't work of
course on other than Unix-like platforms.
2023-05-04 18:05:24 +09:00
Ian Ker-Seymer 2f9f44f077
Ensure the VM is alive before accessing objspace in C API (Feature #19627)
[Feature #19627]
2023-05-04 08:48:34 +02:00
Nobuyoshi Nakada e135a21a85
Define `RubyVM::Shape` dependent test only if available 2023-05-04 13:41:30 +09:00
TSUYUSATO Kitsune ac730d3e75
Delay start of the match cache optimization (#7738) 2023-05-04 13:15:51 +09:00
Nobuyoshi Nakada 18b27185c3
[DOC] regexp absent operator 2023-05-04 12:32:43 +09:00
Jean Boussier 04ee666aab Make the maximum shapes variation warning non-verbose
[Feature #19538]

Since that category is not enabled by default, making it a
verbose warning is redundant. Enabling performance warning should
work with the default verbosity level.
2023-05-03 10:43:46 +02:00
Nobuyoshi Nakada 409a13e9ea [ruby/stringio] Update write-barrier at copying
http://ci.rvm.jp/results/trunk-asserts@ruby-sp2-docker/4552803

```
verify_internal_consistency_reachable_i: WB miss (O->Y) 0x00007f752ddd5550 [3LM    ] strio (StringIO)strio -> 0x00007f752d19b7d0 [0      ] T_STRING (String) len: 8, capa: 15 "to_strio"
<internal:/tmp/ruby/src/trunk-asserts/lib/rubygems/core_ext/kernel_require.rb>:53: [BUG] gc_verify_internal_consistency: found internal inconsistency.
```

https://github.com/ruby/stringio/commit/2e8ab43cba
2023-05-03 05:38:27 +00:00
Nobuyoshi Nakada 32cc6301b3 [ruby/rdoc] [DOC] stop documenting fallback `MatchData#match_length`
Also empty document of `Object`.

https://github.com/ruby/rdoc/commit/ce32a3102b
2023-05-02 17:06:36 +00:00
Nobuyoshi Nakada 5dfeffc614
Allow EPIPE when the child process has exited before interrupt 2023-05-02 22:40:43 +09:00
Nobuyoshi Nakada 31774bd565
Remove `sync_tool` task from Rakefile when syncing [ci skip] 2023-05-02 18:27:10 +09:00
Nobuyoshi Nakada b15e88e0fc
[Bug #19619] Preserve numbered parameters context
Preserve numbered parameters context across method definitions
2023-05-02 17:39:18 +09:00
Nobuyoshi Nakada e47aa27dc7 [ruby/rdoc] Section may not have `label`
https://github.com/ruby/rdoc/commit/945f0cb3e9
2023-05-02 05:42:37 +00:00
Nobuyoshi Nakada 3833d0fee6 [ruby/rdoc] Fix references to nested label in table_of_contents
Fixes https://github.com/ruby/rdoc/pull/1000

https://github.com/ruby/rdoc/commit/291e2b7e8b
2023-05-02 04:19:46 +00:00
dependabot[bot] 83a822f70f Bump advanced-security/filter-sarif from 1.0.0 to 1.0.1
Bumps [advanced-security/filter-sarif](https://github.com/advanced-security/filter-sarif) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/advanced-security/filter-sarif/releases)
- [Commits](bc96d9fb93...f3b8118a93)

---
updated-dependencies:
- dependency-name: advanced-security/filter-sarif
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-02 12:37:13 +09:00
dependabot[bot] cf861c9477 [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.74 to 0.9.75.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases)
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.74...v0.9.75)

---
updated-dependencies:
- dependency-name: rb-sys
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-02 00:04:44 +00:00
Jimmy Miller bd532fe3ae
YJIT: Move exits in gen_send_iseq to functions and use ? (#7725) 2023-05-01 17:01:06 -04:00
tomoya ishida 13dfbcf7bf [ruby/reline] Rewrite dialog rendering
(https://github.com/ruby/reline/pull/492)

* Rewrite dialog rendering

* Fix failing test of dialog with small screen

* Add multiple-dialog rendering test

* Add description comments for each part of render_dialog_changes
2023-05-01 12:20:20 +00:00
Nobuyoshi Nakada dd5ba1b725
Update generate_spdx_license_list.rb
- Follow up RegexpLiteral at 9264d834215aa7ce14b0273032a7686c20141db9.
- Split the code to be generated so that `REGEXP` does not need
  escapes.
- Use `REGEXP.match?` since support for Ruby 2.3 or earlier has been
  dropped.
2023-05-01 17:40:02 +09:00