summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-09-25merge revision(s) 86d061294d3cc1656e18d0e1fd4b4f290da16944: [Backport #18928]nagachika
[Bug #18928] Fix crash in WeakMap In wmap_live_p, if is_pointer_to_heap returns false, then the page is either in the tomb or has already been freed, so the object is dead. In this case, wmap_live_p should return false. --- gc.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-)
2022-09-25merge revision(s) 68903df6f6fc548f3bf68fb09ee8b2495dcd28f0: [Backport #18922]nagachika
[Bug #18922] Normalize time at 24:00:00 UTC --- test/ruby/test_time.rb | 2 ++ time.c | 14 ++++++++++++++ 2 files changed, 16 insertions(+)
2022-09-25merge revision(s) 65ae2bb2e045aa8b668d3c30515f5a6cb3eb68ad: [Backport #18902]nagachika
Thread#value: handle threads killed by a fork [Bug #18902] When a thread is killed because we forked, the `value` if left to `Qundef`. Returning it woudl crash the VM. --- test/ruby/test_thread.rb | 14 ++++++++++++++ thread.c | 4 ++++ 2 files changed, 18 insertions(+)
2022-09-20merge revision(s) ↵nagachika
035978d7be9bc3819f42f964fe6193d983cce63f,2e324b645e16e67c14de80ea34b1d61165045f22,b6a9e683917745df2822a611fce64df9ae8090a7: Pass job-server FDs to bundler tests --- common.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Manage paths for bundler tests --- common.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) Add noarch-fake.rb target `yes-fake` depends on it when `arch=noarch` is given, but the rule to generate it from fake.rb.in is ignored now. --- common.mk | 3 +++ 1 file changed, 3 insertions(+)
2022-09-20merge revision(s) c8d94d2797f798e2666a057bb1940e1ffe41b717:nagachika
Now test-bundler nees fake.rb --- common.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2022-09-20merge revision(s) ↵nagachika
8794cc62899c6447fa4451489b9e308e2a890595,3ff53c8e04ecc91e0190de6d5950ecce2a2ea188: Tentatively put macOS CIs back with adding macOS 12 --- .github/workflows/macos.yml | 99 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 .github/workflows/macos.yml Remove macOS 10.15 from CI macOS 10.15 is deprecated on GitHub Actions and will have periodic brownouts. See actions/virtual-environments#5583. --- .github/workflows/macos.yml | 1 - 1 file changed, 1 deletion(-)
2022-09-17Merge RubyGems-3.3.22 and Bundler-2.3.22Hiroshi SHIBATA
2022-09-17Merge openssl-3.0.1Kazuki Yamaguchi
The changes can be found at: https://github.com/ruby/openssl/compare/v3.0.0...v3.0.1
2022-09-17merge revision(s) de51bbcb544651fb499dd4cc757a2bf6f3b439cf: [Backport #18816]nagachika
Use VM Lock when mutating waiting threads list `rb_thread_wait_for_single_fd` needs to mutate the `waiting_fds` list that is stored on the VM. We need to delete the FD from the list before returning, and deleting from the list requires a VM lock (because the list is a global). [Bug #18816] [ruby-core:108771] Co-Authored-By: Alan Wu <alanwu@ruby-lang.org> --- thread.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
2022-09-16merge revision(s) a28e7871e54d7a87afbfd686291c500d71edb7cb:nagachika
Update bundled_gems Try latest patch to avoid some race on Mac OS X. --- gems/bundled_gems | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2022-09-10merge revision(s) b7577b4d9e0fd92522fc30e10fe712e245adee8c:nagachika
The tzdata 2022c removed Amsterdam Mean Time --- spec/ruby/core/time/shared/local.rb | 2 ++ 1 file changed, 2 insertions(+)
2022-09-10merge revision(s) 261753249996d46e00c2549fff2527816bf387db: [Backport #18936]nagachika
Free cached mark stack chunks when freeing objspace Cached mark stack chunks should also be freed when freeing objspace. --- gc.c | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-)
2022-09-10merge revision(s) db0e0dad1171456253ebd899e7e878823923d3d8: [Backport #18990]nagachika
Fix unexpected "duplicated key name" error in paren-less one line pattern matching [Bug #18990] --- parse.y | 16 ++++++++++++---- test/ruby/test_pattern_matching.rb | 12 ++++++++++++ 2 files changed, 24 insertions(+), 4 deletions(-)
2022-09-04revision up for https://github.com/ruby/ruby/pull/6296nagachika
2022-09-04Backport https://github.com/ruby/ruby/pull/6193Hiroshi SHIBATA
Co-authored-by: Yuta Saito <kateinoigakukun@gmail.com>
2022-09-04merge revision(s) ↵nagachika
ef525b012a709077ea2797e8642fae0b61234063,dc9a13abeef5a2b936fbb55edc112b8b382a05e7: [Backport #18775] Explicit handling of frozen strings in `IO::Buffer#for`. (#5892) --- io_buffer.c | 122 +++++++++++++++++++++++++++++++++++--------- test/ruby/test_io_buffer.rb | 36 +++++++------ 2 files changed, 117 insertions(+), 41 deletions(-) Fix rdoc of IO::Buffer [ci skip] --- io_buffer.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-)
2022-09-04merge revision(s) 6d3f447aecfb56f7d3edbdf9cc68e748e150d7d8: [Backport #18631]nagachika
Fix multiplex backreferencs near end of string in regexp match Idea from Jirka Marsik. Fixes [Bug #18631] --- regexec.c | 6 ++++-- test/ruby/test_regexp.rb | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-)
2022-09-04merge revision(s) d8189ed23f02dd197453279aeee9be1785337d4f: [Backport #18670]nagachika
Return only captured range in `MatchData` [Bug #18670] --- re.c | 2 +- test/ruby/test_regexp.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
2022-09-03revision up for https://github.com/ruby/ruby/pull/6125nagachika
2022-09-03Bump typeprof version to 0.21.3Hiroshi SHIBATA
2022-09-03Bump rbs version to 2.6.0+Hiroshi SHIBATA
2022-09-03Merge csv-3.2.5Hiroshi SHIBATA
2022-09-03Merge csv-3.2.4Hiroshi SHIBATA
2022-09-03Merge csv-3.2.3Hiroshi SHIBATA
2022-09-03Merge RubyGems-3.3.21 and Bundler-2.3.21Hiroshi SHIBATA
2022-09-03Merge RubyGems-3.3.20 and Bundler-2.3.20Hiroshi SHIBATA
2022-09-03Merge RubyGems-3.3.19 and Bundler-2.3.19Hiroshi SHIBATA
2022-09-03Merge RubyGems-3.3.18 and Bundler-2.3.18Hiroshi SHIBATA
2022-09-03Merge RubyGems-3.3.17 and Bundler-2.3.17Hiroshi SHIBATA
2022-09-03Merge RubyGems-3.3.16 and Bundler-2.3.16Hiroshi SHIBATA
2022-09-03Merge RubyGems-3.3.15 and Bundler-2.3.15Hiroshi SHIBATA
2022-09-03Merge RubyGems-3.3.14 and Bundler-2.3.14Hiroshi SHIBATA
2022-09-03merge revision(s) 08b6aacc1a14440e0f1644a05238559c6c585e38: [Backport #18739]nagachika
Fix the wrong index of the previous component [Bug #18739] --- parse.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2022-09-03merge revision(s) ↵nagachika
8212aab81a77a2a91fb7c1681b4968171193b48f,209631a45f9682dedf718f4b4a140efe7d21a6fc: [Backport #18435] Make Object#method and Module#instance_method not skip ZSUPER methods Based on https://github.com/jeremyevans/ruby/commit/c95e7e5329140f640b6497905485761f3336d967 Among other things, this fixes calling visibility methods (public?, protected?, and private?) on them. It also fixes #owner to show the class the zsuper method entry is defined in, instead of the original class it references. For some backwards compatibility, adjust #parameters and #source_location, to show the parameters and source location of the method originally defined. Also have the parameters and source location still be shown by #inspect. Clarify documentation of {Method,UnboundMethod}#owner. Add tests based on the description of https://bugs.ruby-lang.org/issues/18435 and based on https://github.com/ruby/ruby/pull/5356#issuecomment-1005298809 Fixes [Bug #18435] [Bug #18729] Co-authored-by: Benoit Daloze <eregontp@gmail.com> --- proc.c | 63 +++++++++++++++++++++++++++++++++++------------- test/ruby/test_method.rb | 59 +++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 100 insertions(+), 22 deletions(-) Consider resolved-through-zsuper methods equal for compatibility * Fixes https://bugs.ruby-lang.org/issues/18751 --- proc.c | 65 +++++++++++------------- spec/ruby/core/unboundmethod/equal_value_spec.rb | 37 ++++++++++++++ test/ruby/test_method.rb | 18 +++++++ 3 files changed, 86 insertions(+), 34 deletions(-)
2022-07-27merge revision(s) 456e1d1eaa9bb11adaed1acde488d7da3c88704b:nagachika
Try the tag without "v" prefix to checkout upstream repositories --- gems/bundled_gems | 4 ++-- tool/fetch-bundled_gems.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
2022-07-15Remove GitHub Actions bundled_gems workflow in stable branch.nagachika
2022-07-13Update bundled gem debug-1.6.1.nagachika
2022-07-13Update bundled gem debug-1.6.0.nagachika
2022-06-20Revert "merge revision(s) 5c1b76a3a55afeb07116bbd3492303c6b6cd890d: ↵nagachika
[Backport #18373]" This reverts commit d56b2e8820efd40840443ce3a5d16cff32a090c7.
2022-06-18merge revision(s) 5c1b76a3a55afeb07116bbd3492303c6b6cd890d: [Backport #18373]nagachika
Install built gem extension binaries --- tool/rbinstall.rb | 56 ++++++++++++++++--------------------------------------- 1 file changed, 16 insertions(+), 40 deletions(-)
2022-06-18merge revision(s) 3bb70a6924ddd83f90b508b5bbc4d5629b8a41c6: [Backport #18673]nagachika
Fix using anonymous block in method accepting explicit keywords Record block ID before vtable_pop, so the incorrect one doesn't override it. Fixes [Bug #18673] --- parse.y | 1 + test/ruby/test_syntax.rb | 54 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+)
2022-06-18merge revision(s) 222203297966f312109e8eaa2520f2cf2f59c09d: [Backport #18672]nagachika
Remove dependency on libcapstone We have received reports of build failures due to this configuration check modifying compile flags. Since only YJIT devs use this library we can remove it to make Ruby easier to build for users. See: https://github.com/rbenv/ruby-build/discussions/1933 --- configure.ac | 9 --------- 1 file changed, 9 deletions(-)
2022-06-18merge revision(s) 97426e15d721119738a548ecfa7232b1d027cd34: [Backport #18627]nagachika
[Bug #18627] Fix crash when including module During lazy sweeping, the iclass could be a dead object that has not yet been swept. However, the chain of superclasses of the iclass could already have been swept (and become a new object), which would cause a crash when trying to read the object. --- class.c | 48 ++++++++++++++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 18 deletions(-)
2022-06-18merge revision(s) 0c6e24d102e894a7211a596e6aa95828b1cf4406: [Backport #18600]nagachika
Fix visibility of alias of zsuper methods This was broken by 71c746379d5872e250d90ae45c585760afaf9516. Fixes [Bug #18600] --- test/ruby/test_alias.rb | 10 ++++++++++ vm_method.c | 1 + 2 files changed, 11 insertions(+)
2022-05-18Merge RubyGems-3.3.13 and Bundler-2.3.13Hiroshi SHIBATA
2022-05-18[Actions] mingw - use ruby/setup-ruby@v1 againMSP-Greg
2022-05-18Try previous ruby-setup-rubyNobuyoshi Nakada
The commits between db14f2dde9ceeaa8acbcd31884475a7ce97ae9d3 and 11cc84264a91d42bc873f39d70678e44042322d2 seems breaking OpenSSL::TestConfig#test_s_parse_include.
2022-05-18Merge Psych-4.0.4Hiroshi SHIBATA
2022-05-18Ignore rubyspec_temp fot GitHiroshi SHIBATA
2022-05-18[rubygems/rubygems] Skip test for cargo builderHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/60ca4ad9c6