summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Make product consistently yield an array of N elements instead of N argumentsAkinori MUSHA2022-12-212-6/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Removed empty sectionHiroshi SHIBATA2022-12-211-2/+0
|
* Update bundled_gemsHiroshi SHIBATA2022-12-211-2/+2
|
* test/socket/test_addrinfo.rb: Suppress Errno::EACCES on WindowsNobuyoshi Nakada2022-12-211-2/+2
|
* [DOC] Fix formattingNobuyoshi Nakada2022-12-211-2/+4
|
* MJIT: Refactor Compiler#cast_offset (#6967)Mau Magnaguagno2022-12-201-3/+2
| | | Subtract max value from offset when sign bit is set, without string operations.
* [ruby/optparse] The encoding argument of `Regexp.new` has been ignored since 1.9Nobuyoshi Nakada2022-12-212-3/+19
| | | | https://github.com/ruby/optparse/commit/766f567405
* tool/m4/ruby_wasm_tools.m4: force passing WASI_SDK_PATH when building for wasiYuta Saito2022-12-211-5/+8
| | | | | | 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.
* [DOC] fix unintentional verbatimNobuyoshi Nakada2022-12-211-1/+1
|
* test_readline#test_without_tty: Use EnvUtil.rubybinSorah Fukumori2022-12-211-1/+3
| | | | | `ruby` is not always available in certain build environments and configure options. Choose appropriate command line using EnvUtil.
* correct typo [ci skip]sampatbadhe2022-12-211-1/+1
|
* Use "Fiber storage variables" consistentlyBenoit Daloze2022-12-202-10/+10
|
* Improve documentation for fiber-scoped variablesBenoit Daloze2022-12-203-11/+42
| | | | * Especially around Enumerator.
* [DOC] Fix formatting for GC.compactPeter Zhu2022-12-201-1/+1
|
* [DOC] Escape all usages of GCPeter Zhu2022-12-202-29/+29
| | | | | RDoc was making every usage of the word "GC" link to the page for GC (which is the same page).
* [DOC] Fix call-seq for GC methodsPeter Zhu2022-12-202-2/+2
| | | | | 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.
* [DOC] Fix formatting for GC#latest_gc_infoPeter Zhu2022-12-201-1/+1
|
* [DOC] Fix formatting for GC#latest_compact_infoPeter Zhu2022-12-201-1/+1
|
* Ensure Fiber storage is only accessed from the Fiber it belongs toBenoit Daloze2022-12-203-13/+35
|
* Use an experimental warning for Fiber#storage=Benoit Daloze2022-12-203-2/+25
|
* Never use the storage of another Fiber, that violates the whole designBenoit Daloze2022-12-205-33/+4
| | | | * See https://bugs.ruby-lang.org/issues/19078#note-30
* Array#pack: document silent truncationJean Boussier2022-12-201-0/+4
| | | | | | Ref: [Feature #19245] At the very least this behavior should be documented.
* Update default gems list at b2bf5d237ba5f2d1ebaf12d164064c [ci skip]git2022-12-201-1/+1
|
* [ruby/irb] Version 1.6.2Takashi Kokubun2022-12-201-1/+1
| | | | https://github.com/ruby/irb/commit/a8ea9963c6
* [ruby/irb] Respect DLEXT to force-load debug.soTakashi Kokubun2022-12-201-4/+5
| | | | | | | (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>
* Fix thrashing of major GC when size pool is smallPeter Zhu2022-12-201-6/+12
| | | | | | | | 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.
* Win32: add dependency of revision.hNobuyoshi Nakada2022-12-211-0/+4
| | | | | When out-of-place build, and revision.h does not exist in the source directory, `VPATH` fallbacks to the current directory.
* Add links to Wasm port resources to NEWS.mdYuta Saito2022-12-211-1/+3
|
* Move Coverage-related items to Stdlib sectionYusuke Endoh2022-12-171-6/+8
|
* Move Socket-related changes to stdlib sectionYusuke Endoh2022-12-171-17/+17
|
* Ignore man directories entirely [ci skip]Nobuyoshi Nakada2022-12-2012-49/+24
|
* MSVS lacks `touch` [ci skip]Nobuyoshi Nakada2022-12-203-5/+7
|
* expand-config.rb: search revision.h to extract release dateNobuyoshi Nakada2022-12-201-1/+11
|
* Fix missing parentheses [ci skip]Nobuyoshi Nakada2022-12-201-1/+1
|
* loadpath.c does not depend on revision.h since 947ebd0ac5baNobuyoshi Nakada2022-12-201-1/+0
|
* configure.ac: limit miniruby dep to when bundle_loader needs itMike Dalessio2022-12-201-1/+1
| | | | | | | | See also e7bffe0 https://bugs.ruby-lang.org/issues/19239 Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
* Update default gems list at 20f9316f9dd5c77f96f1c08adb8da7 [ci skip]git2022-12-201-1/+1
|
* [ruby/syntax_suggest] Bump version to 1.0.2Hiroshi SHIBATA2022-12-201-1/+1
| | | | https://github.com/ruby/syntax_suggest/commit/92ea00650a
* [Bug #19242] Prohibit circular causes to be loadedNobuyoshi Nakada2022-12-204-0/+31
|
* Merge RubyGems/Bundler masterHiroshi SHIBATA2022-12-2011-67/+169
| | | | Pick from https://github.com/rubygems/rubygems/commit/ba3adad4d80038ffd7bea015da2f11d3e8a2ff82
* [rubygems/rubygems] Bump rb-sysdependabot[bot]2022-12-202-5/+5
| | | | | | | | | | | | | | 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>
* [rubygems/rubygems] Bump rb-sys in ↵dependabot[bot]2022-12-202-5/+5
| | | | | | | | | | | | | | | | /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>
* [rubygems/rubygems] fixMark Burns2022-12-202-3/+47
| | | | | | | | https://github.com/rubygems/rubygems/pull/6147 when --parseable and --groups used together https://github.com/rubygems/rubygems/commit/3b0b95c509
* [rubygems/rubygems] Turn `--ext` option into string. Deprecate usage without ↵Josef Šimánek2022-12-205-13/+69
| | | | | | | | explicit value. - this is preparation for onboarding Rust based extension gem generator https://github.com/rubygems/rubygems/commit/d32801bdbc
* [rubygems/rubygems] Regenerate bundler man pages for December 2022.Josef Šimánek2022-12-2029-29/+29
| | | | https://github.com/rubygems/rubygems/commit/17037fe32c
* [rubygems/rubygems] Use safe Marshal deserialization for dependency API ↵Josef Šimánek2022-12-204-4/+38
| | | | | | response. - adds Bundler#safe_load_marshal and Bundler::SAFE_MARSHAL_CLASSES listing safe classes to deserialize https://github.com/rubygems/rubygems/commit/e947c608cc
* [rubygems/rubygems] Fix crash when showing some resolution errorsDavid Rodríguez2022-12-201-2/+2
| | | | | | | If the conflict explanation includes empty ranges and version unions, Pub Grub was crashing. https://github.com/rubygems/rubygems/commit/eb360b77a2
* [rubygems/rubygems] Fix crash when building resolution errors with OR ↵David Rodríguez2022-12-202-7/+49
| | | | | | requirements https://github.com/rubygems/rubygems/commit/8f287479bc
* [rubygems/rubygems] Slight tweak to error message buildingDavid Rodríguez2022-12-201-3/+3
| | | | | | Let Pub Grub decide how the constraint should be displayed. https://github.com/rubygems/rubygems/commit/4f651b6429
* [rubygems/rubygems] Clarify flag descriptionMichael Siegfried2022-12-201-2/+2
| | | | | | | Prerelease versions are already considered in a certain circumstance, and the 'if updating' is redundant in the update case anyway. https://github.com/rubygems/rubygems/commit/8d68635f8c