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

78260 Коммитов

Автор SHA1 Сообщение Дата
Nobuyoshi Nakada 60cf48ca4f Suppress redefined macro warnings 2023-06-16 22:32:52 +09:00
zzak 80dfe2bc4d [ruby/rdoc] Fix missing closing colon for `:notnew:`
https://github.com/ruby/rdoc/commit/1e550b7d02
2023-06-16 08:54:12 +00:00
Hiroshi SHIBATA 5bc1b56c14 [rubygems/rubygems] Auto-correct Performance/FlatMap
https://github.com/rubygems/rubygems/commit/b696edcd73
2023-06-16 04:10:38 +00:00
tomoya ishida 364a6d56d7 [ruby/irb] Rewrite RubyLex to fix some bugs and make it possible to
add new features easily
(https://github.com/ruby/irb/pull/500)

* Add nesting level parser for multiple use (indent, prompt, termination check)

* Rewrite RubyLex using NestingParser

* Add nesting parser tests, fix some existing tests

* Add description comment, rename method to NestingParser

* Add comments and tweak code to RubyLex

* Update NestingParser test

* Extract list of ltype tokens to constants
2023-06-15 15:39:58 +00:00
Nobuyoshi Nakada c1c926219d
[Cirrus] Run only if nightly [ci skip]
Recently Cirrus-CI does not start over 10 hours.  Maybe we have too
many runs.
2023-06-15 14:26:06 +09:00
Nobuyoshi Nakada 1cdae888a8
[Cirrus] Auto cancelation for non-yjit task [ci skip] 2023-06-15 14:24:51 +09:00
dependabot[bot] 1e55ac4937 Bump ruby/setup-ruby from 1.151.0 to 1.152.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.151.0 to 1.152.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](bc1dd263b6...250fcd6a74)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-15 12:39:53 +09:00
Petrik 0c55ef1150 [ruby/rdoc] Use flat_map for better performance
https://github.com/ruby/rdoc/commit/76192a280d
2023-06-14 23:47:25 +00:00
Hiroshi SHIBATA c2f4b41480
Merge rubygems/rubygems HEAD
Pick from 7a7b234721
2023-06-15 07:02:03 +09:00
Hiroshi SHIBATA 827d66266b [rubygems/rubygems] auto-correct Style/YodaCondition
https://github.com/rubygems/rubygems/commit/6d9e8025dc
2023-06-15 07:01:28 +09:00
Hiroshi SHIBATA 503b9bf1d4 [rubygems/rubygems] Removed unnecessary disabling of Lint/DuplicateMethods
https://github.com/rubygems/rubygems/commit/225fdf0b2e
2023-06-15 07:01:28 +09:00
Hiroshi SHIBATA 2c219ab215 [rubygems/rubygems] Rubocop 1.51.0 or later didn't support Ruby 2.6
https://github.com/rubygems/rubygems/commit/522b5f1ecd
2023-06-15 07:01:27 +09:00
David Rodríguez 3e7f5b02ae [rubygems/rubygems] Improve error message in frozen mode edge case
When a top level dependency is missing from the lockfile, and we're in
frozen mode, we should also print a "frozen error".

https://github.com/rubygems/rubygems/commit/3e82b835e3
2023-06-15 07:01:25 +09:00
David Rodríguez e86f4c581b [rubygems/rubygems] Improve frozen mode error message
This error message is also printed when using `bundler/setup` in frozen
model, so we're not necessarily installing any gems when it happens.

This new message play nicer with all situations.

https://github.com/rubygems/rubygems/commit/6874bbacce
2023-06-15 07:01:25 +09:00
David Rodríguez 23ecaab8dd [rubygems/rubygems] Use "frozen" rather than "deployment" in error message
I think it communicates better what's going on.

https://github.com/rubygems/rubygems/commit/07a25767a4
2023-06-15 07:01:24 +09:00
David Rodríguez 2ff9b7b93d [rubygems/rubygems] Show missing spec in lockfile incomplete error message
https://github.com/rubygems/rubygems/commit/b86caaa3d5
2023-06-15 07:01:24 +09:00
David Rodríguez 21238f38a8 [rubygems/rubygems] Extract `Definition#no_resolved_needed?`
https://github.com/rubygems/rubygems/commit/1ff8626571
2023-06-15 07:01:23 +09:00
David Rodríguez 4f1b1817a8 [rubygems/rubygems] There should always be a reason
https://github.com/rubygems/rubygems/commit/4180008c2d
2023-06-15 07:01:23 +09:00
David Rodríguez c12168185e [rubygems/rubygems] Show relative path to Gemfile in error message
For conciseness and consistency with printing the relative path to the
lockfile just before.

https://github.com/rubygems/rubygems/commit/74cf6aea7c
2023-06-15 07:01:22 +09:00
David Rodríguez e7749c4dea [rubygems/rubygems] Remove weird line breaks in the middle of error message
https://github.com/rubygems/rubygems/commit/22b8caf42f
2023-06-15 07:01:21 +09:00
David Rodríguez 90c60e8138 [rubygems/rubygems] Simplify checking Gemfile vs lockfile sources
https://github.com/rubygems/rubygems/commit/251e80aec6
2023-06-15 07:01:21 +09:00
David Rodríguez 96e3f31c1e [rubygems/rubygems] Make frozen mode spec also pass on Bundler 3
https://github.com/rubygems/rubygems/commit/ad52f840f2
2023-06-15 07:01:20 +09:00
David Rodríguez e1038f943f [rubygems/rubygems] This spec is independent from global sources
https://github.com/rubygems/rubygems/commit/d91c245921
2023-06-15 07:01:20 +09:00
Hiroshi SHIBATA 551b8a31a9
Update directory layout of rubygems/rubygems 2023-06-15 07:01:06 +09:00
Peter Zhu 813a5f4fc4 Directly allocate FrozenCore as an ICLASS
It's a bad idea to overwrite the flags as the garbage collector may have
set other flags.
2023-06-14 10:42:40 -04:00
Nobuyoshi Nakada 3751349044
[Cirrus] Cache the bundled gems in advance 2023-06-14 17:52:49 +09:00
git 58b8e217e1 Update bundled gems list at bd019ac87a [ci skip] 2023-06-14 05:25:02 +00:00
Hiroshi SHIBATA bd019ac87a Removed rake-compiler dependency for test-bundled-gems
It's needless with racc-1.7.1
2023-06-14 14:24:29 +09:00
Hiroshi SHIBATA 6e93320c1b
Update RDoc::RD parsers generated by racc-1.7.1 2023-06-14 12:56:34 +09:00
Nobuyoshi Nakada f9deff32a3 Show prerequisites for compile task 2023-06-14 12:14:20 +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
Samuel Williams 5a69e8bcef
Add tests to `String#byteslice` memory allocation behaviour. (#1909) 2023-06-13 23:55:38 +09:00
Stan Lo 91b106fe4b [ruby/irb] Stanardise test class names with `Test` postfix instead
of prefix
(https://github.com/ruby/irb/pull/603)

https://github.com/ruby/irb/commit/359cb28def
2023-06-13 11:02:26 +00:00
Hiroshi SHIBATA 27d581ea6c rexml is also bundled gems 2023-06-13 19:49:32 +09:00
Hiroshi SHIBATA e5cf6b6dbe Don't install bundled gems for test-bundled-gems and test-syntax-suggest 2023-06-13 19:49:32 +09:00
tomoya ishida 5d91be7c1f [ruby/irb] Use symbol.inspect instead of ":"+symbol.id2name to avoid
completion candidates including newline characters
(https://github.com/ruby/irb/pull/539)

https://github.com/ruby/irb/commit/aaf0c46645
2023-06-13 10:46:38 +00:00
Samuel Williams 27b07776c9 [rubygems/rubygems] Autoload shellwords when it's needed.
https://github.com/rubygems/rubygems/commit/e916ccb2d9
2023-06-13 09:32:47 +00:00
git c74f42a4fb Update bundled gems list at 2023-06-13 2023-06-13 06:59:40 +00:00
Nobuyoshi Nakada 6d734a8975 [ruby/uri] Fix RFC3986 regexps
https://github.com/ruby/uri/commit/8e38592241
2023-06-13 05:57:17 +00:00
Hiroshi SHIBATA 3924dba552
Update the current URI maintainer 2023-06-13 12:28:33 +09:00
Nobuyoshi Nakada 57c5b0a980 [ruby/uri] Refactor RFC3986 regexps to make more readable
https://github.com/ruby/uri/commit/3dfa19e920
2023-06-13 03:25:45 +00:00
Peter Zhu 3168f618cb hash.c no longer needs the transient heap 2023-06-12 14:38:56 -04:00
Takashi Kokubun 78ca085785 Revert "YJIT: Break register cycles for C arguments (#7918)"
This reverts commit 888ba29e46.

It caused a CI failure
http://ci.rvm.jp/results/trunk-yjit@ruby-sp2-docker/4598881
and I'm investigating it.
2023-06-12 11:30:25 -07:00
Takashi Kokubun 888ba29e46
YJIT: Break register cycles for C arguments (#7918) 2023-06-12 12:54:06 -04:00
Matt Valentine-House 6fe46ff967 When alloc size is too large, only allocate struct 2023-06-12 16:20:05 +02:00
Nobuyoshi Nakada 31e24a42f3 [ruby/psych] Comment out the code used to expand the file list [ci skip]
https://github.com/ruby/psych/commit/715f3bfad0
2023-06-12 12:31:52 +00:00
Nobuyoshi Nakada 81836c6cb9
Fix duplicate symbol errors when statically linking ripper 2023-06-12 20:22:01 +09:00
Nobuyoshi Nakada 41035273d4
[DOC] Should use `NULL` instead of zero
Since no type information is available for variadic arguments, 0 is
passed as `int` without promoting to pointer.  On platforms where
`sizeof(int) < sizeof(void*)`, the terminator argument may be read
together with an adjoining word, and may not be found.
2023-06-12 19:10:42 +09:00
Nobuyoshi Nakada 70483f6ca4
Add missing dependencies 2023-06-12 19:10:29 +09:00