summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2022-05-18[rubygems/rubygems] Move testing_ruby_repo into test helperHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/6590debe55
2022-05-18Merge RubyGems-3.3.12 and Bundler-2.3.12Hiroshi SHIBATA
2022-05-18Merge RubyGems-3.3.11 and Bundler-2.3.11Hiroshi SHIBATA
2022-05-18Merge RubyGems-3.3.10 and Bundler-2.3.10Hiroshi SHIBATA
2022-05-18Merge RubyGems-3.3.9 and Bundler-2.3.9Hiroshi SHIBATA
2022-05-18backport the latest version of sync_default_gemsHiroshi SHIBATA
2022-05-18Bump cgi version to 0.3.2Hiroshi SHIBATA
2022-05-18Merge RubyGems-3.3.8 and Bundler-2.3.8Hiroshi SHIBATA
2022-05-18[ruby/securerandom] Bump up v0.2.0Hiroshi SHIBATA
https://github.com/ruby/securerandom/commit/62ca2828f3
2022-05-18bump patchlevelnagachika
2022-05-05merge revision(s) 1cbdedec895070df1df96d05370cf8da084ab6fa:nagachika
[ruby/zlib] Mask checksums to lower 32bits Upper bits affect the result of `crc32` in zlib 1.2.12. https://github.com/ruby/zlib/commit/9ab6d04af1 --- ext/zlib/zlib.c | 12 +++++++++--- test/zlib/test_zlib.rb | 2 ++ 2 files changed, 11 insertions(+), 3 deletions(-)
2022-05-03merge revision(s) 44c44b9b4af14f42a0dc6df9287c45d9689847bb:nagachika
Ignore warnings at reading debug info for now Something seems changed on FreeBSD 13. --- test/ruby/test_rubyoptions.rb | 1 + 1 file changed, 1 insertion(+)
2022-05-03merge revision(s) ↵nagachika
17e09f033c4d3b786672ba16d2c5d935482a2fad,bfc697f1e26f1406c45ec7309ca0d4c0b5ecedd6: Skip three tests on FreeBSD 13 Some tests that use signals frequently fail randomly on FreeBSD 13. Maybe something around signals has changed in FreeBSD 13. This change skips them tentatively. --- test/excludes/TestThread.rb | 9 +++++++++ test/excludes/TestThreadQueue.rb | 9 +++++++++ test/io/console/test_io_console.rb | 9 ++++++++- 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 test/excludes/TestThreadQueue.rb test/io/console/test_io_console.rb: parens needed --- test/io/console/test_io_console.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2022-05-03merge revision(s) ↵nagachika
b4fd0e0c73aac0cae23237743bbf7dc1b1315b6b,dfe7faa6b60464c184fede59f227341f6c57cc97: Exclude TestThread#test_signal_at_join on FreeBSD 13 for now [ci skip] --- test/excludes/TestThread.rb | 3 +++ 1 file changed, 3 insertions(+) exclude name must be Regexp or Symbol https://github.com/ruby/ruby/blob/fdf0f8d81487560f5837dc7e3888a96f7c2b4ec9/tool/lib/test/unit.rb#L1273-L1290 --- test/excludes/TestThread.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2022-05-03merge revision(s) 63932ec33e720f006204adfd90ca67d364742b48:nagachika
Bump github/codeql-action from 1 to 2 Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1 to 2. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v1...v2) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> --- .github/workflows/codeql-analysis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
2022-05-01merge revision(s) 1ff174bfd17f80433f2cb9888eafd1c297efd2a5:nagachika
[rubygems/rubygems] Fix a test for `bin/bundle update --bundler` to pass on ruby/ruby. Consider the case that the latest Bundler version on RubyGems is higher than the `system_bundler_version` (= `Bundler::VERSION`) in `make test-bundler` on ruby/ruby. See <https://bugs.ruby-lang.org/issues/18643>. https://github.com/rubygems/rubygems/commit/bfa2f72cfa --- spec/bundler/commands/binstubs_spec.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
2022-05-01remove bundled zlib patch file for mswin platform. It's already applied at ↵nagachika
zlib-1.2.12.
2022-05-01merge revision(s) 035b75c8f4097a48cde3cebc5db5e2efddc21546:nagachika
Update zlib version to 1.2.12 --- .appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2022-05-01bump teeny version to 3.1.3.nagachika
2022-05-01merge cf2bbcfff2985c116552967c7c4522f4630f2d18 partially.nagachika
Add the relevant test code for 73f45e5e96ccc13a131f7c0122cf8600ce5b930f.
2022-04-16* 2022-04-16 [ci skip]git
2022-04-12teenyupv3_1_2NARUSE, Yui
2022-04-12Fix dtoa buffer overrunNARUSE, Yui
2022-04-12Just free compiled pattern if no space is usedNARUSE, Yui
2022-02-18teenyupv3_1_1NARUSE, Yui
2022-02-17merge revision(s) 496591de96b261b8789332c7f8b2bfbd17658955: [Backport #18578]NARUSE, Yui
st.c: Do not clear entries_bound when calling Hash#shift for empty hash tab->entries_bound is used to check if the bins are full in rebuild_table_if_necessary. Hash#shift against an empty hash assigned 0 to tab->entries_bound, but didn't clear the bins. Thus, the table is not rebuilt even when the bins are full. Attempting to add a new element into full-bin hash gets stuck. This change stops clearing tab->entries_bound in Hash#shift. [Bug #18578] --- st.c | 1 - test/ruby/test_hash.rb | 13 +++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-)
2022-02-14* 2022-02-14 [ci skip]git
2022-02-14Merge RubyGems-3.3.7 and Bundler-2.3.7 (#5543)Hiroshi SHIBATA
2022-02-08Fixed path for ipaddr.rb (#5533)Hiroshi SHIBATA
2022-02-08* 2022-02-08 [ci skip]git
2022-02-08Merge ipaddr-1.2.4 (#5526)Hiroshi SHIBATA
[Bug #18570]
2022-02-07merge revision(s) c79d2e54748f52c5023b0a1ee441561df9826c17: [Backport #18562]NARUSE, Yui
Fix TAG_THROW through require [Bug #18562] Previously this was being incorrectly swapped with TAG_RAISE in the next line. This would end up checking the T_IMEMO throw_data to the exception handling (which calls Module#===). This happened to not break existing tests because Module#=== returned false when klass is NULL. This commit handles throw from require correctly by jumping to the tag retaining the TAG_THROW state. --- load.c | 2 +- test/ruby/test_exception.rb | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-)
2022-02-07merge revision(s) 2a76440fac62b: [Backport #18501]NARUSE, Yui
[Bug #18501] Fire write barrier after hash has been written Before this change the write barrier was executed before the key and value were actually reachable via the Hash. This could cause inconsistencies in object coloration which would lead to accidental collection of dup'd keys. Example: 1. Object O is grey, Object P is white. 2. Write barrier fires O -> P 3. Write barrier does nothing 4. Malloc happens, which starts GC 5. GC colors O black 6. P is written in to O (now we have O -> P reference) 7. P is now accidentally treated as garbage --- hash.c | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-)
2022-02-07merge revision(s) 67f4729: [Backport #18556]NARUSE, Yui
[Bug#18556] Fallback `MAP_ ANONYMOUS` Define `MAP_ANONYMOUS` to `MAP_ANON` if undefined on old systems. --- gc.c | 4 ++++ 1 file changed, 4 insertions(+)
2022-02-03* 2022-02-03 [ci skip]git
2022-02-03merge revision(s) ↵NARUSE, Yui
7ff1bf317887c0d7b21e91ad548d07b9f05c540c,e89d80702bd98a8276243a7fcaa2a158b3bfb659: [Backport #18516] An alias can suppress method redefinition warning --- test/ruby/test_alias.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) Fix memory leak at the same named alias [Bug #18516] When aliasing a method to the same name method, set a separate bit flag on that method definition, instead of the reference count increment. Although this kind of alias has no actual effect at runtime, is used as the hack to suppress the method re-definition warning. --- method.h | 1 + test/ruby/test_alias.rb | 18 ++++++++++++++++++ vm_method.c | 9 ++++++++- 3 files changed, 27 insertions(+), 1 deletion(-)
2022-02-02Update bundled gems list at 2022-02-02git
2022-02-02Merge pull request #5482 from hsbt/rubygems-3-3-bundler-2-3Hiroshi SHIBATA
Merge RubyGems 3.3.x and Bundler 2.3.x
2022-02-02* 2022-02-02 [ci skip]git
2022-02-02Remove "Miscellaneous checks" from CINARUSE, Yui
It is expected to use on master branch
2022-02-01merge revision(s) ↵NARUSE, Yui
f27eb8148f5a72bbacfebfecc7de9305471bb5c9,d75f7078c831d45ab5ba2fae4fbb308d01a21e46,d5836db1b398a7936b0461b3011db66f6cc8c490: [Backport #18443] Sync io-console gem. --- ext/io/console/console.c | 8 ++++++-- test/io/console/test_io_console.rb | 8 ++++++++ 2 files changed, 14 insertions(+), 2 deletions(-) [ruby/io-console] bump up to 0.5.11 https://github.com/ruby/io-console/commit/ad3805200c --- ext/io/console/io-console.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Fix `Leaked file descriptor: TestIO_Console#test_console_kw` ``` Leaked file descriptor: TestIO_Console#test_console_kw: 10 : #<File:/dev/tty> ``` --- test/io/console/test_io_console.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
2022-02-01Revert "Fix console.c usage of `rb_io_wait`."NARUSE, Yui
This reverts commit aa3b2c81c8de2e70bd100e92436f15c03523eaf7.