summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-04-23Bump up 3.1.5v3_1_5Hiroshi SHIBATA
2024-04-23merge revision(s) 989a2355808a63fc45367785c82ffd46d18c900a:Hiroshi SHIBATA
Fix Use-After-Free issue for Regexp Co-authored-by: Isaac Peka <7493006+isaac-peka@users.noreply.github.com> --- regexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2024-04-23merge revision(s) 33e5b47c16f1fd3382186e6ffe73cfc6e00946f7:Hiroshi SHIBATA
Fix handling of reg->dmin in Regex matching --- regexec.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
2024-04-23* 2024-04-23 [ci skip]git
2024-04-23Merge RDoc-6.4.1.1Hiroshi SHIBATA
2024-04-23Merge StringIO 3.0.1.2Hiroshi SHIBATA
2024-04-15* 2024-04-15 [ci skip]git
2024-04-15We no longer use Cirrus CIHiroshi SHIBATA
2024-04-15[MSWin] Install libffi using vcpkgNobuyoshi Nakada
2024-04-15Skip c99 and c2x compilers because Ruby 3.1 couldn't build openssl gem with ↵Hiroshi SHIBATA
them. https://github.com/ruby/ruby/actions/runs/8657971535/job/23741841371?pr=10512 https://github.com/ruby/ruby/actions/runs/8657971535/job/23741841091?pr=10512
2024-04-15merge revision(s) 64b6a018a38f200c957fdbbe7d0cbe0e64781c9f:nagachika
Fix test session reuse but expire (#9824) * OpenSSL 3.2.1 30 Jan 2024 is also broken Import 45064610725ddd81a5ea3775da35aa46985bc789 from ruby_3_3 branch tentatively. --- test/net/http/test_https.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2024-04-15Try to fix ↵Hiroshi SHIBATA
https://github.com/ruby/ruby/actions/runs/8370868368/job/22918952425?pr=10321 ruby_3_2 fixed that with https://github.com/ruby/ruby/commit/e777064e4b064fd77aca65c123f1919433f6732d
2024-01-11Omit test_session_reuse_but_expire if OpenSSL 3.2.0Nobuyoshi Nakada
2024-01-11Omit a broken https test on MinGWTakashi Kokubun
This started to reliably fail on MinGW at an irrelevant commit: https://github.com/ruby/ruby/actions/runs/6981002841/job/18997302124 https://github.com/ruby/ruby/actions/runs/6981946473/job/19000104223 https://github.com/ruby/ruby/actions/runs/6983823136/job/19005613809 https://github.com/ruby/ruby/actions/runs/6983912116/job/19005844596 https://github.com/ruby/ruby/actions/runs/6984215921/job/19006649495 https://github.com/ruby/ruby/actions/runs/6984383103/job/19007100446 https://github.com/ruby/ruby/actions/runs/6986489509/job/19012000642 So this failure is not detecting a new bug. Let's skip this until we fix this test for MinGW.
2024-01-11* 2024-01-11 [ci skip]git
2024-01-11No longer download zlib sourceNobuyoshi Nakada
Although zlib package in vcpkg is still 1.2.12, it should be no problem in ruby tests.
2024-01-11Bump up net-http to 0.3.0.1Hiroshi SHIBATA
2024-01-11[ruby/net-http] Renew test certificatesSorah Fukumori
The private key is replaced with a public known test key published at [RFC 9500]. Also lifetime has been extended to 10 years from 4 years. [RFC 9500]: https://www.rfc-editor.org/rfc/rfc9500.html https://github.com/ruby/net-http/commit/4ab6c4a500
2024-01-11Bump up net-imap to 0.2.4Hiroshi SHIBATA
2024-01-11Bump up net-smtp to 0.3.1.1Hiroshi SHIBATA
2024-01-11Bump up net-ftp to 0.1.4Hiroshi SHIBATA
2023-12-03Fix patch mistakeNAKAMURA Usaku
2023-12-03* 2023-12-03 [ci skip]git
2023-12-03[CI] windows.yml - use MSYS2 bison instead of ChocolateyMSP-Greg
2023-11-20merge revision(s) 9eac9d71786a8dbec520d0541a91149f01adf8ea: [Backport #19969]U.Nakamura
[Bug #19969] Compact st_table after deleted if possible --- hash.c | 19 +++++++++++++++++++ st.c | 40 +++++++++++++++++++++++++++++----------- test/ruby/test_hash.rb | 9 +++++++++ 3 files changed, 57 insertions(+), 11 deletions(-)
2023-11-14* 2023-11-14 [ci skip]git
2023-11-14Lock gem versions for C ext dependencies (#8918)Hiroshi SHIBATA
* Lock rubocop and standard versions for json dependencies https://github.com/ruby/actions/actions/runs/6854220854/job/18636881910 current directory: /home/runner/work/actions/actions/snapshot-ruby_3_1/tmp/7/gems/rubocop/ruby/3.1.0/gems/json-2.6.1/ext/json/ext/generator /usr/local/bin/ruby -I /home/runner/work/actions/actions/snapshot-ruby_3_1/lib extconf.rb extconf failed No such file or directory - /usr/local/bin/ruby * Lock parser version to remove racc dependency
2023-11-10Use bundler-2.3.27 for Ruby 3.1 (#8895)Hiroshi SHIBATA
Use bundler-2.3.27
2023-11-10* 2023-11-10 [ci skip]git
2023-11-10Merge RubyGems-3.3.27 and Bundler-2.3.27 (#8889)Hiroshi SHIBATA
2023-11-07Ease the `Encoding::CompatibilityError` test failureNobuyoshi Nakada
At the time this test first started using `assert_raise_with_message`, it did not touch `Encoding.default_internal`.
2023-11-06merge revision(s) 4329554f171fdb483cafa672df5f2a08741940c5: [Backport #19985]U.Nakamura
[Bug #19985] Raise LoadError with the converted feature name `Kernel#require` converts feature name objects that have the `to_path` method such as `Pathname`, but had used the original object on error and had resulted in an unexpected `TypeError`. --- load.c | 14 +++++++++++--- test/ruby/test_require.rb | 26 +++++++++++++++++++++----- 2 files changed, 32 insertions(+), 8 deletions(-)
2023-11-06merge revision(s) 19346c2336053b351673da030b00c704138252d8: [Backport #19754]U.Nakamura
[Bug #19754] Make `IO::Buffer#get_string` check `offset` range (#8016) --- io_buffer.c | 3 +++ test/ruby/test_io_buffer.rb | 8 ++++++++ 2 files changed, 11 insertions(+)
2023-11-06merge revision(s) 4a7d6c2852aa734506be83c932168e8f974687b5: [Backport #18991]U.Nakamura
Fix false LocalJumpError when branch coverage is enabled `throw TAG_BREAK` instruction makes a jump only if the continuation of catch of TAG_BREAK exactly matches the instruction immediately following the "send" instruction that is currently being executed. Otherwise, it seems to determine break from proc-closure. Branch coverage may insert some recording instructions after "send" instruction, which broke the conditions for TAG_BREAK to work properly. This change forces to set the continuation of catch of TAG_BREAK immediately after "send" (or "invokesuper") instruction. [Bug #18991] --- compile.c | 25 ++++++++++++++++++++++++- test/coverage/test_coverage.rb | 14 ++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-)
2023-10-30* 2023-10-30 [ci skip]git
2023-10-30 Relax matching pattern for rake version for Ruby 3.1 (#8798)Hiroshi SHIBATA
[rubygems/rubygems] Relax matching pattern for rake version https://github.com/rubygems/rubygems/commit/a89f74c27e
2023-10-17merge revision(s) ↵U.Nakamura
bcb3247072e6973d0f6b50ca5fed238d5824bd28,fe0225ff4d5af8b1f54009727b39d0d9b821eea3: [Backport #19778] [Bug #19778] Pass additional include options to INCFLAGS in common.mk --- common.mk | 2 +- configure.ac | 1 + template/Makefile.in | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) [Bug #19778] Add `-I` options for opt-dir to `$INCFLAGS` These options have been separated from `$CFLAGS` already in the other places. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2023-10-17merge revision(s) 96c5a4be7b0d72502001734770af0f4a735c544c: [Backport #19894]U.Nakamura
Fix memory leak in complemented method entries [Bug #19894] When a copy of a complemented method entry is created, there are two issues: 1. IMEMO_FL_USER3 is not copied, so the complemented status is not copied over. 2. In rb_method_entry_clone we increment both alias_count and complemented_count. However, when we free the method entry in rb_method_definition_release, we only decrement one of the two counters, resulting in the rb_method_definition_t being leaked. Co-authored-by: Adam Hess <adamhess1991@gmail.com> --- method.h | 5 +++-- test/ruby/test_module.rb | 29 +++++++++++++++++++++++++++++ vm_method.c | 8 +++++--- 3 files changed, 37 insertions(+), 5 deletions(-)
2023-10-10merge revision(s) ada9f8a9f78b3ccd8a5187775d06f45eb9f636f5: [Backport #18914]U.Nakamura
[ruby/fiddle] closure: follow variable name change GitHub: GH-102 https://github.com/ruby/fiddle/commit/2530496602 --- ext/fiddle/closure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
2023-10-10Fix missing write barrier in iseq instruction listPeter Zhu
[Bug #19880] There's a missing write barrier for operands in the iseq instruction list, which can cause crashes. It can be reproduced when Ruby is compiled with `-DRUBY_DEBUG_ENV=1`. Using the following command: ``` RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=0 RUBY_DEBUG=gc_stress ruby -w --disable=gems -Itool/lib -W0 test.rb ``` The following script crashes: ``` require "test/unit" ```
2023-10-10Should not do `brew upgrade`U.Nakamura
See 1b0da1e6236ad9a380abfe4ca8b51f06c34bb6f9
2023-10-10merge revision(s) a28c5151f567cada0d2f5c0c3ec4df7f97b80784: [Backport #19855]U.Nakamura
Fix Array#bsearch when block returns a non-integer numeric value --- array.c | 4 ++-- test/ruby/test_array.rb | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-)
2023-09-19Fix an ommission of previous fixU.Nakamura
2023-09-05merge revision(s) 1f115f141dd17f75049a5e17107906c5bcc372e1: [Backport #19246]U.Nakamura
Speed up rebuilding the loaded feature index Rebuilding the loaded feature index slowed down with the bug fix for #17885 in 79a4484a072e9769b603e7b4fbdb15b1d7eccb15. The slowdown was extreme if realpath emulation was used, but even when not emulated, it could be about 10x slower. This adds loaded_features_realpath_map to rb_vm_struct. This is a hidden hash mapping loaded feature paths to realpaths. When rebuilding the loaded feature index, look at this hash to get cached realpath values, and skip calling rb_check_realpath if a cached value is found. Fixes [Bug #19246] --- load.c | 27 +++++++++++++++++++++++---- vm.c | 2 ++ vm_core.h | 1 + 3 files changed, 26 insertions(+), 4 deletions(-)
2023-09-05merge revision(s) 382678d4112f4afc6272244c22924d2b004274b1: [Backport #19788]U.Nakamura
[Bug #19788] Use the result of `tCOLON2` event --- parse.y | 16 ++++++++-------- test/ripper/test_parser_events.rb | 17 +++++++++++++++++ test/ripper/test_scanner_events.rb | 5 +++++ 3 files changed, 30 insertions(+), 8 deletions(-)
2023-09-05* 2023-09-05 [ci skip]git
2023-09-05Allow waitpid(-1) to be woken if a waitpid(pid) call is pendingKJ Tsanaktsidis
If two threads are running, with one calling waitpid(-1), and another calling waitpid($some_pid), and then $some_other_pid exits, we would expect the waitpid(-1) call to retrieve that exit status; however, it cannot actually do so until $some_pid _also_ exits. This patch fixes the issue by unconditionally checking for pending process group waits on SIGCHLD, and then allowing pending pid-only waits to "steal" the notification. [Fixes #19387]
2023-07-26* 2023-07-26 [ci skip]git
2023-07-26Revert "merge revision(s) 91c004885fc75a93cadf0094fa86ec3bd0ec25f5: ↵U.Nakamura
[Backport #19025]" This reverts commit e55dde3bdddbc595be12e7184a23e729647eb989.
2023-07-25merge revision(s) 91c004885fc75a93cadf0094fa86ec3bd0ec25f5: [Backport #19025]U.Nakamura
[Bug #19025] Numbered parameter names are always local variables --- parse.y | 2 +- test/ruby/test_syntax.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)