summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-09-10core_assertions.rb: Extract common code blockNobuyoshi Nakada
2024-09-10core_assertions.rb: Tweak timeout limitNobuyoshi Nakada
Increase the timeout limit when variance at rehearsal is small.
2024-09-10Skip assert_linear_performance for RJITTakashi Kokubun
2024-09-10Bump up REXML-3.3.7Hiroshi SHIBATA
2024-08-08* 2024-08-08 [ci skip]git
2024-08-08Added bootstrap job for release workflow for Ruby 3.1Hiroshi SHIBATA
2024-08-07* 2024-08-07 [ci skip]git
2024-08-07Adjust indentHiroshi SHIBATA
2024-08-07Try to find gemspec from `.bundle/specificationsHiroshi SHIBATA
2024-08-07Try to load original gemspec from `.bundle/gems/foo-x.y.z/foo.gemspec`.Hiroshi SHIBATA
`.bundle/specification/foo-x.y.z.gemspec` may be changed our toolchain
2024-08-07Use gemspec that keeps original dependenciesHiroshi SHIBATA
2024-08-07Make installation messages verbose a little [ci skip]Nobuyoshi Nakada
2024-08-07Revert "Backport https://github.com/ruby/ruby/pull/7321"Hiroshi SHIBATA
This reverts commit 76c61c9993e59af0b4c400b44f169f4af99c3efa.
2024-08-07Bump up REXML-3.3.4 and rss-0.3.1Hiroshi SHIBATA
2024-07-16* 2024-07-16 [ci skip]git
2024-07-16Skip old compilersHiroshi SHIBATA
https://github.com/ruby/ruby/actions/runs/9950835382/job/27489339598?pr=11172#step:6:31
2024-07-16Bump up REXML-3.3.2Hiroshi SHIBATA
2024-06-19* 2024-06-19 [ci skip]git
2024-06-19merge revision(s) ↵nagachika
9f708d48f6df37ee9600db9d51b57a156609a13b,0301473fb523c71d8cdc4966971f31f502001185,7f0e26b7f99bf76408569892ce20318501f74729: [Backport #20516] Clear runtime dependencies if default gems is specified. The current build system uses runtime dependencies from only `.bundle` directory. We shouldn't install runtime dependencies from rubygems.org when `make test-bundled-gems` is invoked. Fixed dependencies list format Re-use strscan with ruby repo
2024-06-19added redirect wrapper for envutilHiroshi SHIBATA
2024-06-19Load Rake::TaskLib when missing itHiroshi SHIBATA
2024-06-19Show prerequisites for compile taskNobuyoshi Nakada
2024-06-19Allow test-unit-ruby-core files to be loaded from bundled gemsNobuyoshi Nakada
Separate the directly from the customized test-unit, since it may not work with bundled gems.
2024-06-19Bump up rexml-3.2.9Hiroshi SHIBATA
2024-06-19Bump up rexml-3.2.8Hiroshi SHIBATA
2024-05-30* 2024-05-30 [ci skip]git
2024-05-30Sync merger.rb and redmine-backporter.rbHiroshi SHIBATA
2024-05-29Bump up 3.1.6v3_1_6Hiroshi SHIBATA
2024-05-24Revert "[ruby/openssl] Use EVP_Digest{Sign,Verify} when available"Hiroshi SHIBATA
This reverts commit 63f40a5be59ac898e87528630568b7890ffcf5fb.
2024-05-24Revert "[ruby/openssl] Enable HKDF support for LibreSSL 3.6 and later"Hiroshi SHIBATA
This reverts commit b6da54c7219197eacdbfdca53739686f0bb2d06a.
2024-05-24* 2024-05-24 [ci skip]git
2024-05-24[ruby/openssl] Enable HKDF support for LibreSSL 3.6 and laterTheo Buehler
LibreSSL 3.6 added support for HKDF in EVP. Enable this in ossl_kdf.c. https://github.com/ruby/openssl/commit/9bdd39a7e2
2024-05-24[ruby/openssl] Use EVP_Digest{Sign,Verify} when availableTheo Buehler
LibreSSL 3.4 added EVP_DigestSign() and EVP_DigestVerify(). Use them when available to prepare for the addition of Ed25519 support in LibreSSL 3.7. https://github.com/ruby/openssl/commit/475b2bf766
2024-05-24LibreSSL 3.5 and later provide and need to use ↵Hiroshi SHIBATA
PEM_write_bio_PrivateKey_traditional() Co-authored-by: "Jeremy Evans" <code@jeremyevans.net>
2024-05-23merge revision(s) ae8990aef098410ecc2b5f48fea9d7d171a3c5f6:Hiroshi SHIBATA
Alias init functions The extension library has each initialization function named "Init_" + basename. If multiple extensions have the same base name (such as cgi/escape and erb/escape), the same function will be registered for both names. To fix this conflict, rename the initialization functions under sub directories using using parent names, when statically linking. --- ext/extmk.rb | 16 +++++++++++++++- template/extinit.c.tmpl | 2 +- 2 files changed, 16 insertions(+), 2 deletions(-)
2024-05-23merge revision(s) 7f87ad9fc4bc45faf8cd33602a025f27c094b2fd:Hiroshi SHIBATA
Refer autoconfigured endian macro (#10572) Remove the case `RB_IO_BUFFER_HOST_ENDIAN` is not defined. --- include/ruby/io/buffer.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)
2024-05-23merge revision(s) 1faeb44dfcf777ace28321e80d0ebf942161a0a7:Hiroshi SHIBATA
Check if macros are defined before using Assume macros with the same prefix would be defined together. --- include/ruby/io/buffer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
2024-05-23[Bug #19751] Remove linemarkers in middleNobuyoshi Nakada
2024-05-23merge revision(s) 48644e71096c70132be9dfdcbfb414ec2e68d18b:Hiroshi SHIBATA
tool/runruby.rb: remove LD_PRELOAD-like env-var options from runruby.rb LD_PRELOAD sometimes forces loading libraries into unrelated executables. For example, macOS on recent Apple Silicon can execute arm64 and arm64e binaries by default, and /usr/bin/clang is built as arm64e. If Ruby is built as arm64, and mkmf launched through runruby.rb spawns /usr/bin/clang, dynamic loader tries to load libruby (arm64e) into clang (arm64). This force-load causes library load failure. In theory, we don't need both LD_PRELOAD and LD_LIBRARY_PATH at the same time, because executables requiring libruby already have libruby dependency, so LD_LIBRARY_PATH is enough for this case. --- tool/runruby.rb | 9 --------- 1 file changed, 9 deletions(-)
2024-05-23* 2024-05-23 [ci skip]git
2024-05-23macos-11 will be retired at Jun, 2024Hiroshi SHIBATA
2024-05-23merge revision(s) a4ad6bd9aac564e93219284c912b26a72f9e82fc:Sutou Kouhei
[ruby/fiddle] closure: free resources when an exception is raised in Closure.new GitHub: GH-102 https://github.com/ruby/fiddle/commit/81a8a56239 --- ext/fiddle/closure.c | 56 ++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 43 insertions(+), 13 deletions(-)
2024-05-21merge revision(s) cfc564ac40496a392f463658ea33954ea76d6b11:Hiroshi SHIBATA
Include headers for `ruby_qsort` only if needed If GNU `qsort_r` is available, we use the function and these headers are not used. --- util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
2024-05-21merge revision(s) ed3d8f74ec2eee43d50f9826e2f11ceea279823e:Hiroshi SHIBATA
Delete a macro that has never been used, probably added by mistake --- util.c | 7 ------- 1 file changed, 7 deletions(-)
2024-05-21merge revision(s) 7400628cb054a9a9651d69411a100fc9d518099f:Hiroshi SHIBATA
[Bug #18997] Don't define ruby_qsort when POSIX qsort_r is available The current code would define ruby_qsort as a wrapper of qsort_s when it is available. When both qsort_s and POSIX (GNU) qsort_r are available, we should call qsort_r directly instead, and the qsort_s wrapper is redundant. --- util.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
2024-05-17* 2024-05-17 [ci skip]git
2024-05-17AppVeyor is retired at 2024Hiroshi SHIBATA
2024-05-17[ruby/openssl] test_asn1.rb: Remove the assertions of the time string format ↵Jun Aruga
without second. This commit fixes the following errors in the tests. Because the OpenSSL project changed the code to make the time string format without second invalid. So, we drop the assertions. ``` 1) Error: test_generalizedtime(OpenSSL::TestASN1): OpenSSL::ASN1::ASN1Error: generalizedtime is too short /home/runner/work/ruby-openssl/ruby-openssl/test/openssl/test_asn1.rb:698:in `decode' /home/runner/work/ruby-openssl/ruby-openssl/test/openssl/test_asn1.rb:698:in `decode_test' /home/runner/work/ruby-openssl/ruby-openssl/test/openssl/test_asn1.rb:433:in `test_generalizedtime' 430: OpenSSL::ASN1::GeneralizedTime.new(Time.utc(9999, 9, 8, 23, 43, 39)) 431: # LibreSSL 3.6.0 requires the seconds element 432: return if libressl? => 433: decode_test B(%w{ 18 0D }) + "201612081934Z".b, 434: OpenSSL::ASN1::GeneralizedTime.new(Time.utc(2016, 12, 8, 19, 34, 0)) 435: # not implemented 436: # decode_test B(%w{ 18 13 }) + "https://github.com/ruby/openssl/commit/201612081934+0930".b, 2) Error: test_utctime(OpenSSL::TestASN1): OpenSSL::ASN1::ASN1Error: utctime is too short /home/runner/work/ruby-openssl/ruby-openssl/test/openssl/test_asn1.rb:698:in `decode' /home/runner/work/ruby-openssl/ruby-openssl/test/openssl/test_asn1.rb:698:in `decode_test' /home/runner/work/ruby-openssl/ruby-openssl/test/openssl/test_asn1.rb:411:in `test_utctime' 408: end 409: # Seconds is omitted. LibreSSL 3.6.0 requires it 410: return if libressl? => 411: decode_test B(%w{ 17 0B }) + "1609082343Z".b, 412: OpenSSL::ASN1::UTCTime.new(Time.utc(2016, 9, 8, 23, 43, 0)) 413: # not implemented 414: # decode_test B(%w{ 17 11 }) + "https://github.com/ruby/openssl/commit/500908234339+0930".b, ``` https://github.com/ruby/openssl/commit/2e826d5715
2024-05-17[ruby/openssl] test/openssl/test_asn1.rb: skip failing tests on LibreSSL 3.6.0Kazuki Yamaguchi
LibreSSL 3.6.0 expects the seconds part in UTCTime and GeneralizedTime to be always present. LibreSSL 3.6.0 release note [1] says: > - The ASN.1 time parser has been refactored and rewritten using CBS. > It has been made stricter in that it now enforces the rules from > RFC 5280. [1] https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-3.6.0-relnotes.txt https://github.com/ruby/openssl/commit/bbc540fe83
2024-05-17[ruby/net-http] Skip test_session_reuse_but_expire with OpenSSL 3.3Xi Ruoyao
OpenSSL 3.3.0 9 Apr 2024 is also broken. Signed-off-by: Xi Ruoyao <xry111@xry111.site> https://github.com/ruby/net-http/commit/ab525c956d