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
...
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
...
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
...
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
3b0b95c509
2022-12-20 13:15:02 +09:00
Josef Šimánek
8eb6618013
[rubygems/rubygems] Turn --ext
option into string. Deprecate usage without explicit value.
...
- this is preparation for onboarding Rust based extension gem generator
d32801bdbc
2022-12-20 13:15:02 +09:00
Josef Šimánek
eaf0157dd1
[rubygems/rubygems] Regenerate bundler man pages for December 2022.
...
17037fe32c
2022-12-20 13:15:02 +09:00
Josef Šimánek
f270aa3eda
[rubygems/rubygems] Use safe Marshal deserialization for dependency API response. - adds Bundler#safe_load_marshal and Bundler::SAFE_MARSHAL_CLASSES listing safe classes to deserialize
...
e947c608cc
2022-12-20 13:15:02 +09:00
David Rodríguez
efd103f3e5
[rubygems/rubygems] Fix crash when showing some resolution errors
...
If the conflict explanation includes empty ranges and version unions,
Pub Grub was crashing.
eb360b77a2
2022-12-20 13:15:02 +09:00
David Rodríguez
1db9bcfeaf
[rubygems/rubygems] Fix crash when building resolution errors with OR requirements
...
8f287479bc
2022-12-20 13:15:02 +09:00
David Rodríguez
8293489564
[rubygems/rubygems] Slight tweak to error message building
...
Let Pub Grub decide how the constraint should be displayed.
4f651b6429
2022-12-20 13:15:02 +09:00
Michael Siegfried
beef72965e
[rubygems/rubygems] Clarify flag description
...
Prerelease versions are already considered in a certain circumstance,
and the 'if updating' is redundant in the update case anyway.
8d68635f8c
2022-12-20 13:15:02 +09:00
Michael Siegfried
32e72b78b3
[rubygems/rubygems] Add tests for bundle lock
...
Ensure `bundle lock` handles pre flag just like bundle update does.
b9e85e3157
2022-12-20 13:15:02 +09:00
Michael Siegfried
42972bdd92
[rubygems/rubygems] Test the public interface
...
With `GemVersionPromoter#sort_versions` being so simple, we no longer
need to reach into the class's internals to make private methods public
in order to effectively test. We can just allow both cases to go through
the main method.
6cbe891003
2022-12-20 13:15:02 +09:00
Michael Siegfried
c436f52fe8
[rubygems/rubygems] Fix tiny typo
...
390e3e1ebd
2022-12-20 13:15:02 +09:00