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

75439 Коммитов

Автор SHA1 Сообщение Дата
BurdetteLamar 172dc98c94 [ruby/net-http] Adding links to references
https://github.com/ruby/net-http/commit/71bae5c0fe
2022-12-21 09:17:19 -05:00
BurdetteLamar 276b84f8ed [ruby/net-http] Adding links to references
https://github.com/ruby/net-http/commit/e4df80f299
2022-12-21 09:17:19 -05:00
BurdetteLamar 86f0128efe [ruby/net-http] Adding links to references
https://github.com/ruby/net-http/commit/df5a554fa8
2022-12-21 09:17:18 -05:00
Soutaro Matsumoto 6af6857ecf
Set up RBS_SKIP_TESTS (#6862)
* Set up RBS_SKIP_TESTS
2022-12-21 22:11:51 +09:00
Nobuyoshi Nakada befc99c008
[DOC] tool/update-NEWS-refs.rb: Align footnotes 2022-12-21 20:48:51 +09:00
Nobuyoshi Nakada c7c006cc68
[DOC] tool/update-NEWS-refs.rb: Remove extra brackets
Surrounding with brackets is just a convention for the bugs tracker
links.
2022-12-21 20:48:51 +09:00
Akinori MUSHA cc4c28ec2e Make Enumerartor.product return nil when called with a block 2022-12-21 19:13:15 +09:00
Akinori MUSHA 308ccbaeb2 Make product consistently yield an array of N elements instead of N arguments
Inconsistency pointed out by @mame:

```
>> Enumerator.product([1], [2], [3]).to_a
=> [[1, 2, 3]]
>> Enumerator.product([1], [2]).to_a
=> [[1, 2]]
>> Enumerator.product([1]).to_a
=> [1]
>> Enumerator.product().to_a
=> [nil]
```

Got fixed as follows:

```
>> Enumerator.product([1], [2], [3]).to_a
=> [[1, 2, 3]]
>> Enumerator.product([1], [2]).to_a
=> [[1, 2]]
>> Enumerator.product([1]).to_a
=> [[1]]
>> Enumerator.product().to_a
=> [[]]
```

This was due to the nature of the N-argument funcall in Ruby.
2022-12-21 18:19:19 +09:00
Hiroshi SHIBATA 684fa46ee6
Removed empty section 2022-12-21 18:57:37 +09:00
Hiroshi SHIBATA e894ff5ec1
Update bundled_gems 2022-12-21 18:57:36 +09:00
Nobuyoshi Nakada 1a24442193
test/socket/test_addrinfo.rb: Suppress Errno::EACCES on Windows 2022-12-21 15:18:34 +09:00
Nobuyoshi Nakada 9f42ee3e52
[DOC] Fix formatting 2022-12-21 14:34:40 +09:00
Mau Magnaguagno 1e989c49a8
MJIT: Refactor Compiler#cast_offset (#6967)
Subtract max value from offset when sign bit is set, without string operations.
2022-12-20 21:28:48 -08:00
Nobuyoshi Nakada 502ca37dde [ruby/optparse] The encoding argument of `Regexp.new` has been ignored since 1.9
https://github.com/ruby/optparse/commit/766f567405
2022-12-21 14:09:12 +09:00
Yuta Saito afd46429fc tool/m4/ruby_wasm_tools.m4: force passing WASI_SDK_PATH when building for wasi
Make the WASI_SDK_PATH variable mandatory when building for wasi host.
This requirement prevents developers from being stuck due to unfriendly
configuration's error message.
2022-12-21 11:19:23 +09:00
Nobuyoshi Nakada 2b96119fc0 [DOC] fix unintentional verbatim 2022-12-21 09:48:42 +09:00
Sorah Fukumori 47988e63d6 test_readline#test_without_tty: Use EnvUtil.rubybin
`ruby` is not always available in certain build environments and
configure options. Choose appropriate command line using EnvUtil.
2022-12-21 09:40:09 +09:00
sampatbadhe 2c3475d96e correct typo [ci skip] 2022-12-21 08:20:23 +09:00
Benoit Daloze 33debffdd3 Use "Fiber storage variables" consistently 2022-12-20 23:05:56 +01:00
Benoit Daloze 4495dea153 Improve documentation for fiber-scoped variables
* Especially around Enumerator.
2022-12-20 23:05:56 +01:00
Peter Zhu 39e70eef72 [DOC] Fix formatting for GC.compact 2022-12-20 15:18:36 -05:00
Peter Zhu 9f4472cad7 [DOC] Escape all usages of GC
RDoc was making every usage of the word "GC" link to the page for GC
(which is the same page).
2022-12-20 15:16:36 -05:00
Peter Zhu 63fe03aa4e [DOC] Fix call-seq for GC methods
RDoc parses the last arrow in the call-seq as the arrow for the return
type. It was getting confused over the arrow in the hash.
2022-12-20 15:09:14 -05:00
Peter Zhu 790b3f7bbd [DOC] Fix formatting for GC#latest_gc_info 2022-12-20 15:07:11 -05:00
Peter Zhu ae53986834 [DOC] Fix formatting for GC#latest_compact_info 2022-12-20 15:06:06 -05:00
Benoit Daloze 0efa36ac06 Ensure Fiber storage is only accessed from the Fiber it belongs to 2022-12-20 19:32:23 +01:00
Benoit Daloze d557f17974 Use an experimental warning for Fiber#storage= 2022-12-20 19:32:23 +01:00
Benoit Daloze 45175962a6 Never use the storage of another Fiber, that violates the whole design
* See https://bugs.ruby-lang.org/issues/19078#note-30
2022-12-20 19:32:23 +01:00
Jean Boussier 88040063d0 Array#pack: document silent truncation
Ref: [Feature #19245]

At the very least this behavior should be documented.
2022-12-20 19:17:57 +01:00
git 3ded50a36c Update default gems list at b2bf5d237b [ci skip] 2022-12-20 17:08:54 +00:00
Takashi Kokubun b2bf5d237b [ruby/irb] Version 1.6.2
https://github.com/ruby/irb/commit/a8ea9963c6
2022-12-20 09:07:55 -08:00
Takashi Kokubun cf0b413ef8 [ruby/irb] Respect DLEXT to force-load debug.so
(https://github.com/ruby/irb/pull/481)

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2022-12-20 09:07:54 -08:00
Peter Zhu 80e56d1438 Fix thrashing of major GC when size pool is small
If a size pooll is small, then `min_free_slots < heap_init_slots` is true.
This means that min_free_slots will be set to heap_init_slots. This
causes `swept_slots < min_free_slots` to be true in a later if statement.
The if statement could trigger a major GC which could cause major GC
thrashing.
2022-12-20 11:32:51 -05:00
Nobuyoshi Nakada c72a748b27
Win32: add dependency of revision.h
When out-of-place build, and revision.h does not exist in the source
directory, `VPATH` fallbacks to the current directory.
2022-12-21 00:50:32 +09:00
Yuta Saito 25635bbcee Add links to Wasm port resources to NEWS.md 2022-12-21 00:10:27 +09:00
Yusuke Endoh 950dc16989 Move Coverage-related items to Stdlib section 2022-12-17 19:04:55 +09:00
Yusuke Endoh c00f7cfb9b Move Socket-related changes to stdlib section 2022-12-17 18:29:24 +09:00
Nobuyoshi Nakada 90c8f7ca6b
Ignore man directories entirely [ci skip] 2022-12-20 17:53:45 +09:00
Nobuyoshi Nakada 5716c0f1f8
MSVS lacks `touch` [ci skip] 2022-12-20 17:53:41 +09:00
Nobuyoshi Nakada 031bc21abb
expand-config.rb: search revision.h to extract release date 2022-12-20 17:40:19 +09:00
Nobuyoshi Nakada 0344283fd3
Fix missing parentheses [ci skip] 2022-12-20 16:07:10 +09:00
Nobuyoshi Nakada 0ccc498e6e
loadpath.c does not depend on revision.h since 947ebd0ac5 2022-12-20 16:06:32 +09:00
Mike Dalessio 5c21cc3970 configure.ac: limit miniruby dep to when bundle_loader needs it
See also e7bffe0

https://bugs.ruby-lang.org/issues/19239

Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2022-12-20 15:57:22 +09:00
git a5a40259e4 Update default gems list at 20f9316f9d [ci skip] 2022-12-20 05:50:57 +00:00
Hiroshi SHIBATA 20f9316f9d [ruby/syntax_suggest] Bump version to 1.0.2
https://github.com/ruby/syntax_suggest/commit/92ea00650a
2022-12-20 14:50:08 +09:00
Nobuyoshi Nakada 2e7e153a2a [Bug #19242] Prohibit circular causes to be loaded 2022-12-20 14:12:38 +09:00
Hiroshi SHIBATA 18ba89093a Merge RubyGems/Bundler master
Pick from ba3adad4d8
2022-12-20 13:15:02 +09:00
dependabot[bot] ad1f61fe80 [rubygems/rubygems] Bump rb-sys
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.48 to 0.9.52.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases)
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.48...v0.9.52)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-20 13:15:02 +09:00
dependabot[bot] ae30b42621 [rubygems/rubygems] Bump rb-sys in /test/rubygems/test_gem_ext_cargo_builder/custom_name
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.48 to 0.9.52.
- [Release notes](https://github.com/oxidize-rb/rb-sys/releases)
- [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.48...v0.9.52)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-20 13:15:02 +09:00
Mark Burns 870bcc96ba [rubygems/rubygems] fix
https://github.com/rubygems/rubygems/pull/6147 when --parseable and
--groups used
together

https://github.com/rubygems/rubygems/commit/3b0b95c509
2022-12-20 13:15:02 +09:00