summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* disable remote tests in debug.gem on macOS.nagachika2022-11-232-3/+9
|
* Merge CGI-0.3.5Hiroshi SHIBATA2022-11-229-194/+460
|
* Merge RubyGems-3.3.26 and Bundler-2.3.26Hiroshi SHIBATA2022-11-2218-19/+133
|
* Merge RubyGems-3.3.25 and Bundler-2.3.25Hiroshi SHIBATA2022-11-2252-81/+183
|
* Merge RubyGems-3.3.24 and Bundler-2.3.24Hiroshi SHIBATA2022-11-2266-787/+691
|
* merge revision(s) 36f297e62108072b9377d927321928b994f66a93:nagachika2022-11-223-13/+13
| | | | | | | | | Use valid tokens as cookie names --- spec/ruby/library/cgi/cookie/name_spec.rb | 12 ++++++------ spec/ruby/library/cgi/cookie/parse_spec.rb | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-)
* merge revision(s) b8f0dc59d52266d9fbfc039e2f4b0f727c62baa0: [Backport #18599]nagachika2022-11-132-1/+5
| | | | | | | | | | | | | | | | | | | | | rb_provide_feature: Prevent $LOADED_FEATURES from being copied [Bug #18599] `vm->loaded_features` and `vm->loaded_features_snapshot` both share the same root. When a feature is pushed into `loaded_features`, the sharing is broken and `loaded_features` is copied. So an application requiring 1000 files, will allocate 1000 arrays of increasing size, which is very wasteful. To avoid this, we first clear the snapshot, so that `loaded_features` can directly be pushed into. Co-Authored-By: Peter Zhu <peter.zhu@shopify.com> --- load.c | 4 ++++ 1 file changed, 4 insertions(+)
* merge revision(s) 131c31a9209c61f84d318aa18b61f468f48b8219: [Backport #19081]nagachika2022-11-134-7/+11
| | | | | | | | | | | | | | | [Bug #19081] Show the caller location in warning for Ractor The internal location in ractor.rb is not usefull at all. ``` $ ruby -e 'Ractor.new {}' <internal:ractor>:267: warning: Ractor is experimental, ... ``` --- bootstraptest/test_ractor.rb | 6 ++++++ ractor.c | 6 ------ ractor.rb | 4 ++++ 3 files changed, 10 insertions(+), 6 deletions(-)
* merge revision(s) 011d4c57d21220249600dfb76db84840550da019: [Backport #19106]nagachika2022-11-133-9/+22
| | | | | | | | | [Bug #19106] Normalize time at 24:00:00 with a timezone object --- test/ruby/test_time_tz.rb | 5 +++++ time.c | 24 ++++++++++++++++-------- 2 files changed, 21 insertions(+), 8 deletions(-)
* merge revision(s) eacedcfe44a0ae22bf54ddb7df193c48d4c857c6: [Backport #19105]nagachika2022-11-133-2/+26
| | | | | | | | | | | | | | | | mutex: Raise a ThreadError when detecting a fiber deadlock (#6680) [Bug #19105] If no fiber scheduler is registered and the fiber that owns the lock and the one that try to acquire it both belong to the same thread, we're in a deadlock case. Co-authored-by: Jean Boussier <byroot@ruby-lang.org> --- test/fiber/test_mutex.rb | 22 +++++++++++++++++++++- thread_sync.c | 4 ++++ 2 files changed, 25 insertions(+), 1 deletion(-)
* merge revision(s) 199b59f065ce6f1c13b8424f35a70c513523211b: [Backport #19116]nagachika2022-11-133-4/+11
| | | | | | | | | | | Fix bug in array pack with shared strings If string literals are long and they become shared, we need to make them independent before we can write to them. [Bug #19116] --- pack.c | 1 + test/ruby/test_array.rb | 6 ++++++ 2 files changed, 7 insertions(+)
* bump patchlevelnagachika2022-11-051-1/+1
|
* Merge reline-0.3.1Hiroshi SHIBATA2022-11-059-10/+92
|
* merge revision(s) 2bb89b7f114e4beb3012f63e12e726ae23005e6f: [Backport #19101]nagachika2022-11-052-4/+19
| | | | | | | | Lower priority of `POSIX_MADV_DONTNEED`. (#6671) --- cont.c | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-)
* merge revision(s) 16953867ed8fc951364f05fdf0c9267799e3087a: [Backport #18380]nagachika2022-11-052-2/+2
| | | | | | | | | We don't care about actual hostname resolution. (#6652) https://bugs.ruby-lang.org/issues/18380 --- test/fiber/test_address_resolve.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* merge revision(s) ↵nagachika2022-11-056-5/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 35c794b26d406c39f90e188e3884003fe6aca532,725626d8905fe1ac4a2cf1c3e2db6412bf8f381f,b32a3f1275a8c7748f2134492ce3c532f277d261: [Backport #18964] Fixed by [Bug #18964] --- file.c | 3 --- 1 file changed, 3 deletions(-) [Bug #18964] Update the code range of appended portion --- ext/-test-/econv/append.c | 15 +++++++++++++++ ext/-test-/econv/extconf.rb | 3 +++ ext/-test-/econv/init.c | 11 +++++++++++ transcode.c | 34 ++++++++++++++++++++++++++++++---- 4 files changed, 59 insertions(+), 4 deletions(-) create mode 100644 ext/-test-/econv/append.c create mode 100644 ext/-test-/econv/extconf.rb create mode 100644 ext/-test-/econv/init.c [Bug #18964] Add test for `rb_econv_append` --- test/-ext-/econv/test_append.rb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 test/-ext-/econv/test_append.rb
* merge revision(s) 54cad3123a07583c90e85bcfc55ebd87124c1250: [Backport #19004]nagachika2022-11-053-11/+26
| | | | | | | | | | | | | | | | | | | | | | [Bug #19004] `Complex.polar` handles complex singular `abs` argument `Complex.polar` accepts Complex values as arguments for the polar form as long as the value of the complex has no imaginary part (ie it is 'real'). In `f_complex_polar` this is handled by extracting the real part of the arguments. However in the case `polar` is called with only a single argument, the absolute value (abs), then the Complex is created without applying a check on the type of abs, meaning it is possible to create a Complex where the real part is itself an instance of a Complex. This change removes the short circuit for the single argument case meaning the real part extraction is performed correctly (by f_complex_polar). Also adds an example to `spec/ruby/core/complex/polar_spec.rb` to check that the real part of a complex argument is correctly extracted and used in the resulting Complex real and imaginary parts. --- complex.c | 13 ++++++------- spec/ruby/core/complex/polar_spec.rb | 16 ++++++++++++++++ 2 files changed, 22 insertions(+), 7 deletions(-)
* Bump up net-http 0.3.0Hiroshi SHIBATA2022-10-2412-293/+855
|
* merge revision(s) 399747926c323aca4f477ac3f8870b19229f4212:nagachika2022-10-242-2/+2
| | | | | | | | | Update bundled gems list at 2022-10-24 --- NEWS.md | 2 +- gems/bundled_gems | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
* merge revision(s) c506ddac6c88b14daf4a18bddf1c1e57be8d2225:nagachika2022-10-242-2/+18
| | | | | | | | Added assert_true and assert_false same as test-unit gem --- tool/lib/test/unit/assertions.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)
* merge revision(s) 329d5424a479bb08e75bd750c51a5382e382731c: [Backport #19042]nagachika2022-10-233-2/+16
| | | | | | | | | | | | | | [Bug #19042] Fix Dir.glob brace with '/' Dir.glob brace pattern with '/' after '**' does not match paths in recursive expansion process. We expand braces with '/' before expanding a recursive. Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> --- dir.c | 2 +- test/ruby/test_dir.rb | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-)
* merge revision(s) bbe5ec78463f8d6ef2e1a3571f17357a3d9ec8e4: [Backport #18994]nagachika2022-10-233-5/+11
| | | | | | | | | | rb_int_range_last: properly handle non-exclusive range [Bug #18994] --- range.c | 8 ++++---- spec/ruby/core/range/last_spec.rb | 6 ++++++ 2 files changed, 10 insertions(+), 4 deletions(-)
* merge revision(s) 280b805d040fa537d5a459b40d4bfa6d49700905: [Backport #18909]nagachika2022-10-232-6/+6
| | | | | | | | | [DOC] Fix documentation for ARGF#readlines [Bug #18909] --- io.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
* merge revision(s) f88bff770578583a708093f4a0d8b1483a1d2039:nagachika2022-10-222-8/+9
| | | | | | | | | | | [ruby/net-http] Revert "Replace Timeout.timeout in Net:HTTP#connect" This reverts commit https://github.com/ruby/net-http/commit/753cae3bbccc. https://github.com/ruby/net-http/commit/98caa38204 --- lib/net/http.rb | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)
* merge revision(s) ac1bb6b51032ad8d34a1060f5f6b5b10b60dc183:nagachika2022-10-222-17/+20
| | | | | | | | | | | | | | [ruby/net-http] Rename `D` to `debug` in `Net::HTTP` Renames `D` to `debug` in `Net::HTTP` and introduces an alias for backwards compatibility. This was done for readability reasons, in that `D` did not clearly reflect what the method was doing and can cause some confusion. https://github.com/ruby/net-http/commit/582d6e87d6 --- lib/net/http.rb | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-)
* Revert "merge revision(s) b9083c206aa02a824970e809d66607dd2c1a90f1:"nagachika2022-10-212-8/+1
| | | | This reverts commit 97e50a056e795f6551cae2f07a9996f4adf73a1f.
* merge revision(s) 7e24ebc649b9b12e5fc704d7fc7563aeaf589e03:nagachika2022-10-212-4/+2
| | | | | | | | Disable msystem: MINGW64 job on GitHub Actions (#6545) --- .github/workflows/mingw.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
* merge revision(s) 881bc2a1765e7c19ab389c53841adc5ac329f1aa:nagachika2022-10-214-2/+7
| | | | | | | | | | | | | | | | | Skip running a DRb test on MinGW It hangs even after a retry https://github.com/ruby/ruby/runs/7966439530?check_suite_focus=true We contacted GitHub Suppport about this before, and we concluded that the problem is on our end. Unfortunately we don't have a bandwidth to fix this MinGW problem, so until we get to work on it, this should be just skipped to avoid a sporadic CI timeout. --- test/drb/drbtest.rb | 1 + test/drb/test_drbssl.rb | 4 ++++ test/rinda/test_rinda.rb | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-)
* merge revision(s) 232e2f598103c8eda37d08913665b72b6f787e3f:nagachika2022-10-212-2/+2
| | | | | | | | | | | Skip TupleSpaceProxyTest on MINGW64 too It wasn't specific to UCRT64 https://github.com/ruby/ruby/runs/7062992464 --- test/rinda/test_rinda.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* merge revision(s) 49d59215506a30c8a11766627f7af0cdfe0de9d4:nagachika2022-10-212-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | Fix Rinda test teardown for omitted tests New test failures on MINGW appeared after c2e37c8ff7da395f33fae546d9ae9e2408fc9236. 1) Error: Rinda::TupleSpaceProxyTest#test_00_template: NoMethodError: undefined method `stop_service' for nil:NilClass D:/a/ruby/ruby/src/test/rinda/test_rinda.rb:516:in `teardown' 2) Error: Rinda::TupleSpaceProxyTest#test_ruby_talk_264062: NoMethodError: undefined method `stop_service' for nil:NilClass D:/a/ruby/ruby/src/test/rinda/test_rinda.rb:516:in `teardown' Teardown happens even when the test is omitted. See: https://github.com/ruby/ruby/runs/7058984522 --- test/rinda/test_rinda.rb | 4 ++++ 1 file changed, 4 insertions(+)
* merge revision(s) c2e37c8ff7da395f33fae546d9ae9e2408fc9236:nagachika2022-10-212-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Try skipping TupleSpaceProxyTest on MinGW UCRT64 As you all know, MinGW UCRT64 CI has randomly got stuck despite its "Finished tests" output. Looking at the logs closely, it seems like all of the recent such reproductions end with the following output: ``` Retrying hung up testcases... [ 1/14] Rinda::TupleSpaceProxyTest#test_ruby_talk_264062 = 0.21 s [ 2/14] Rinda::TupleSpaceProxyTest#test_00_template = 0.01 s [ 3/14] Rinda::TupleSpaceProxyTest#test_inp_rdp = 0.00 s [ 4/14] Rinda::TupleSpaceProxyTest#test_core_03_notify = 0.01 s [ 5/14] Rinda::TupleSpaceProxyTest#test_00_renewer = 0.01 s [ 6/14] Rinda::TupleSpaceProxyTest#test_cancel_02 = 0.11 s [ 7/14] Rinda::TupleSpaceProxyTest#test_00_DRbObject = 0.00 s [ 8/14] Rinda::TupleSpaceProxyTest#test_core_02 = 0.11 s [ 9/14] Rinda::TupleSpaceProxyTest#test_core_01 = 0.11 s [10/14] Rinda::TupleSpaceProxyTest#test_remote_array_and_hash = 0.01 s [11/14] Rinda::TupleSpaceProxyTest#test_00_tuple = 0.00 s [12/14] Rinda::TupleSpaceProxyTest#test_take_bug_8215 = 0.41 s [13/14] Rinda::TupleSpaceProxyTest#test_cancel_01 = 0.11 s [14/14] Rinda::TupleSpaceProxyTest#test_symbol_tuple = 0.01 s Finished tests in 719.252845s, 29.4292 tests/s, 3838.7154 assertions/s. 21167 tests, 2761007 assertions, 0 failures, 0 errors, 708 skips ``` https://github.com/ruby/ruby/runs/7057789554 While it seems to be retried successfully, given that it hungs up once and this appears all the time, this test class seems a bit suspicious. To check if it's related, let me try disabling this for now. --- test/rinda/test_rinda.rb | 3 +++ 1 file changed, 3 insertions(+)
* merge revision(s) 137e69b48153dfd47851a1548eeefc6c7c843e92:nagachika2022-10-2112-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump actions/checkout from 2 to 3 Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> --- .github/workflows/baseruby.yml | 2 +- .github/workflows/bundled_gems.yml | 2 +- .github/workflows/check_dependencies.yml | 2 +- .github/workflows/check_misc.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/compilers.yml | 2 +- .github/workflows/mingw.yml | 2 +- .github/workflows/mjit.yml | 2 +- .github/workflows/spec_guards.yml | 2 +- .github/workflows/ubuntu.yml | 2 +- .github/workflows/wasm.yml | 2 +- .github/workflows/windows.yml | 2 +- .github/workflows/yjit-ubuntu.yml | 2 +- .github/workflows/yjit_asm_tests.yml | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-)
* merge revision(s) 9deacb31552e01f1688cc95774c8de735d711443:nagachika2022-10-2110-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bump actions/cache from 2 to 3 Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> --- .github/workflows/baseruby.yml | 2 +- .github/workflows/bundled_gems.yml | 2 +- .github/workflows/check_dependencies.yml | 2 +- .github/workflows/check_misc.yml | 2 +- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/compilers.yml | 2 +- .github/workflows/mingw.yml | 2 +- .github/workflows/mjit.yml | 2 +- .github/workflows/ubuntu.yml | 2 +- .github/workflows/windows.yml | 8 ++++---- .github/workflows/yjit-ubuntu.yml | 2 +- 11 files changed, 14 insertions(+), 14 deletions(-)
* merge revision(s) b9083c206aa02a824970e809d66607dd2c1a90f1:nagachika2022-10-212-1/+8
| | | | | | | | [MSWin] Cache installed vcpkg packages --- .github/workflows/windows.yml | 7 +++++++ 1 file changed, 7 insertions(+)
* merge revision(s) 7ce3a100f2aef897ee1062dcda23b70cd5574866:nagachika2022-10-213-6/+31
| | | | | | | | | Fold command line items --- .appveyor.yml | 28 +++++++++++++++++++++++++--- .github/workflows/windows.yml | 7 +++++-- 2 files changed, 30 insertions(+), 5 deletions(-)
* merge revision(s) c54eac661350be3c5b991eff349080910966add3:nagachika2022-10-212-1/+13
| | | | | | | | Show tool versions --- .github/workflows/mingw.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+)
* bump patchlevelnagachika2022-10-211-1/+1
|
* Bump up rbs-2.7.0Hiroshi SHIBATA2022-10-211-1/+1
|
* merge revision(s) 41516b35418d6108c75d9f2190a846ded6a47108:nagachika2022-10-212-3/+3
| | | | | | | | Extract bundled gems by BASERUBY --- common.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
* merge revision(s) 91c05b34cd9ca9120c4a5e5e9fe772f2f0d1f6a3:nagachika2022-10-215-9/+7
| | | | | | | | | | | | | | Bundled gems test needs `prepare-gems` `prepare-gems` downloads and extracts the bundled gems, and these gems are built by `build-exts` now. --- .github/workflows/bundled_gems.yml | 5 +++++ .github/workflows/compilers.yml | 2 -- .github/workflows/macos.yml | 4 ++-- .github/workflows/ubuntu.yml | 4 ++-- .github/workflows/yjit-ubuntu.yml | 4 ++-- 5 files changed, 11 insertions(+), 8 deletions(-)
* merge revision(s) 44a0a66559ee4a03a84c27feca05e9b1b0f59df8:nagachika2022-10-214-7/+9
| | | | | | | | | | | | | Move to tool/lib/bundled_gem.rb --- common.mk | 6 +++--- defs/gmake.mk | 4 ++-- tool/gem-unpack.rb | 53 ----------------------------------------------- tool/lib/bundled_gem.rb | 55 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 60 insertions(+), 58 deletions(-) delete mode 100644 tool/gem-unpack.rb create mode 100644 tool/lib/bundled_gem.rb
* merge revision(s) abfd859b139545110e1fcdd8e99575d5e0bfb4e4:nagachika2022-10-213-2/+4
| | | | | | | | | Remove github and git related files from extracted bundled gems --- common.mk | 3 ++- defs/gmake.mk | 1 + 2 files changed, 3 insertions(+), 1 deletion(-)
* merge revision(s) de9c612d6342ae2ea5ae1e46b27abecf17c439b5:nagachika2022-10-212-3/+3
| | | | | | | | Also the tests should use the configured pkg-config --- test/mkmf/test_pkg_config.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
* merge revision(s) 518301883edee12218657c77ba977e2bde1b17d0:nagachika2022-10-213-3/+4
| | | | | | | | | | | | | | | | | | | | | | | Fix parallel build on MINGW When the build is running with a base ruby then generating `x64-ucrt-ruby320.rc` could fail due to a missing dependency to `x64-mingw-ucrt-fake.rb`. This commit adds this dependency. A failing build looks like so: ``` generating x64-mingw-ucrt-fake.rb generating x64-ucrt-ruby320.rc ../snapshot-master/win32/resource.rb:in `require': cannot load such file -- ./x64-mingw-ucrt-fake (LoadError) make: *** [GNUmakefile:57: x64-ucrt-ruby320.rc] Error 1 make: *** Waiting for unfinished jobs.... linking miniruby.exe x64-mingw-ucrt-fake.rb updated ``` --- cygwin/GNUmakefile.in | 4 ++-- template/Makefile.in | 1 + 2 files changed, 3 insertions(+), 2 deletions(-)
* merge revision(s) 6f5305e0d2b4711b186ece8160716c7f9439ea8d:nagachika2022-10-214-4/+6
| | | | | | | | | | Exclude LIBPATHENV wrapper from PREP --- common.mk | 4 ++-- configure.ac | 2 +- template/Makefile.in | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-)
* merge revision(s) bc5b9be1ee44817614bc8311e671fc79ca730625:nagachika2022-10-214-8/+3
| | | | | | | | | | Move duplicate dependencies --- common.mk | 2 ++ template/Makefile.in | 5 ----- win32/Makefile.sub | 2 -- 3 files changed, 2 insertions(+), 7 deletions(-)
* merge revision(s) cdfb0272131ed8ef078d371556c2cad40b31d2fb:nagachika2022-10-212-2/+2
| | | | | | | | Run find in PATH [ci skip] --- template/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* merge revision(s) 0114c72df0dd4c6df3766bc32f4cadd939b3b0f4:nagachika2022-10-212-1/+2
| | | | | | | | Clean intermediate files for update-deps [ci skip] --- template/Makefile.in | 1 + 1 file changed, 1 insertion(+)
* merge revision(s) 97ce030954dab3f219779e235bee53ba408fbaca:nagachika2022-10-215-8/+9
| | | | | | | | | | | | | Load fake.rb at `BTESTRUBY` So that `mkmf` checks work from `make run`, and also remove duplicate `$(MINIRUBYOPT)` which is used in `$(MINIRUBY)`. --- common.mk | 8 ++++---- template/Makefile.in | 3 +-- template/fake.rb.in | 2 ++ win32/Makefile.sub | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-)
* merge revision(s) 9de11fe796e8caca2d87650278028eb95c1e09a0:nagachika2022-10-213-2/+8
| | | | | | | | | Quiet if the target is already linked the same source --- ext/extmk.rb | 2 +- tool/ln_sr.rb | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-)