summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2024-07-11[ruby/prism] Add Node#breadth_first_searchKevin Newton
https://github.com/ruby/prism/commit/1ffb141199
2024-07-11[ruby/prism] Expose common flags in inspect outputKevin Newton
https://github.com/ruby/prism/commit/d0143865c2
2024-07-11[ruby/prism] Expose flags on every node typeKevin Newton
https://github.com/ruby/prism/commit/9f12a56fd6
2024-07-11[ruby/prism] Move location to second position for node initializersKevin Newton
https://github.com/ruby/prism/commit/4cc0eda4ca
2024-07-11[ruby/prism] Reconfigure error testsKevin Newton
https://github.com/ruby/prism/commit/fb7e1ebb7f
2024-07-11[ruby/logger] Add reraise_write_errors keyword argument to Logger and LogDeviceJeremy Evans
This allows the user to specify exception classes to treat as regular exceptions instead of being swallowed. Among other things, it is useful for having Logger work with Timeout. Fixes Ruby Bug 9115. https://github.com/ruby/logger/commit/436a7d680f
2024-07-11IBM864 single-byte transcoding (#10518)Jeremy Daer
Include € euro sign from CCSID 864
2024-07-11Enumerable#all?: Stop optimizing when a given block is not optimizableYusuke Endoh
This is a follow up to 182822683f86c8f8d63b05765addf5a04d112aa2. Co-Authored-By: Aaron Patterson <tenderlove@ruby-lang.org>
2024-07-11[rubygems/rubygems] fix s3 source configuration issueDmitriy Ivliev
https://github.com/rubygems/rubygems/commit/356726bd1a
2024-07-11[ruby/net-http] implement talking SSL to the proxy tooEvgeni Golov
https://bugs.ruby-lang.org/issues/16482 https://github.com/ruby/net-http/commit/ae2d83f88b
2024-07-11[ruby/net-http] Add ability to configure default settings for new connectionsfatkodima
https://github.com/ruby/net-http/commit/fed3dcd0c2
2024-07-11[ruby/net-http] test_https.rb - fix test_session_reuse_but_expireMSP-Greg
https://github.com/ruby/net-http/commit/5544243c41
2024-07-10Avoid a hash allocation when keyword splatting empty hash when calling ↵Jeremy Evans
ruby2_keywords method Treat this similar to keyword splatting nil, using goto ignore. However, keep previous behavior if the method accepts a keyword splat, to avoid double hash allocation. This also can avoid an array allocation when calling a method that doesn't have any splat parameters but supports literal keyword parameters, because ignore_keyword_hash_p was not ignoring the keyword hash in that case. This change doesn't remove the empty ruby2_keywords hash from the array, which caused an assertion failure if the method being called accepted keywords in some cases. Modify the assertion to handle this case. An alternative approach would add a flag to the args struct so the args_argc calculation could handle this case and report the correct argc, but such an approach would likely be slower.
2024-07-10* append newline at EOF. [ci skip]git
2024-07-10[ruby/net-http] Commented out unfinished chunked testHiroshi SHIBATA
https://github.com/ruby/net-http/commit/6376592cb4
2024-07-10[ruby/net-http] Removed needless warningHiroshi SHIBATA
https://github.com/ruby/net-http/commit/d867edc0fe
2024-07-10[ruby/net-http] Split POST test because new dummy server can't handle ↵Hiroshi SHIBATA
continuouse POST request https://github.com/ruby/net-http/commit/54a99b9f0c
2024-07-10[ruby/net-http] Write log after server start, not handling requestHiroshi SHIBATA
https://github.com/ruby/net-http/commit/205bac757a
2024-07-10[ruby/net-http] Split test class because TCPServer couldn't accept localhost ↵Hiroshi SHIBATA
and 127.0.0.1 both https://github.com/ruby/net-http/commit/749a1b3197
2024-07-10[ruby/net-http] Support chunked data and fixed test failure with ↵Hiroshi SHIBATA
multipart/form-data https://github.com/ruby/net-http/commit/b38c2795a9
2024-07-10[ruby/net-http] Removed server-side log testHiroshi SHIBATA
https://github.com/ruby/net-http/commit/9c16c383ce
2024-07-10[ruby/net-http] Fix wrong hostname with test_max_version testHiroshi SHIBATA
https://github.com/ruby/net-http/commit/f00d198433
2024-07-10[ruby/net-http] Rewrite WEBrick server with TCPServer and ↵Hiroshi SHIBATA
OpenSSL::SSL::SSLServer https://github.com/ruby/net-http/commit/b01bcf6d7f
2024-07-10Eliminate array allocations for single splat followed by mutable keywordsJeremy Evans
For calls such as: m(*ary, a: 2, **h) m(*ary, **h, **h, **h) Where m does not take a positional argument splat, there was previously an array allocation (splatarray true) to dup ary, even though it was not necessary to do so. This is because the elimination of the array allocation (splatarray false) was performed in the optimizer, and the optimizer didn't handle this case, because the instructions for the keywords can be of arbitrary length. Move part of the optimization from the optimizer to the compiler, detecting parse trees of the form: ARGS_PUSH: head: SPLAT tail: HASH (without brace) And using splatarray false instead of splatarray true for them. Unfortunately, moving part of the optimization to the compiler broke the hash allocation elimination optimization for calls of the form: m(*ary, a: 2) That's because the compiler had already set splatarray false, and the optimizer code was looking for splatarray true. Split the array allocation elimination and hash allocation elimination in the optimizer so that the hash allocation elimination will still apply if the compiler performs the splatarray false optimization.
2024-07-09[rubygems/rubygems] Bump rb-sysdependabot[bot]
Bumps [rb-sys](https://github.com/oxidize-rb/rb-sys) from 0.9.97 to 0.9.98. - [Release notes](https://github.com/oxidize-rb/rb-sys/releases) - [Commits](https://github.com/oxidize-rb/rb-sys/compare/v0.9.97...v0.9.98) --- updated-dependencies: - dependency-name: rb-sys dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> https://github.com/rubygems/rubygems/commit/d2846130bc
2024-07-09[rubygems/rubygems] Suppress SSLError warning because it's only for debugging.Hiroshi SHIBATA
http://ci.rvm.jp/logfiles/brlog.trunk.20240709-010435#L1554 https://github.com/rubygems/rubygems/commit/a1a46f413b
2024-07-09[ruby/open-uri] Try Windows tests againHiroshi SHIBATA
https://github.com/ruby/open-uri/commit/50f265ba29
2024-07-09Removed duplicate server threadHiroshi SHIBATA
2024-07-09Reapply "Reverts related commits with https://github.com/ruby/open-uri/pull/37"Hiroshi SHIBATA
This reverts commit 02c4f0c89db3689c5272f00c548ca3008120459b.
2024-07-08Reverts related commits with https://github.com/ruby/open-uri/pull/37Hiroshi SHIBATA
It caused Timeout failure with RJIT and chkbuild http://rubyci.s3.amazonaws.com/debian11/ruby-master/log/20240708T063006Z.fail.html.gz https://github.com/ruby/ruby/actions/runs/9836594303/job/27152644853
2024-07-08Load net-http explicitly for SimpleHTTPProxyServerHiroshi SHIBATA
2024-07-08[ruby/tempfile] typofixHiroshi SHIBATA
https://github.com/ruby/tempfile/commit/82a74b017e
2024-07-08Load socket explicitly for TCPServerHiroshi SHIBATA
2024-07-08Load OpenSSL on TestOpenURIUtils for with_httpsHiroshi SHIBATA
2024-07-08[ruby/open-uri] Don't use Base64 libraryHiroshi SHIBATA
https://github.com/ruby/open-uri/commit/c8c0452d53
2024-07-08[ruby/open-uri] Test with WindowsHiroshi SHIBATA
https://github.com/ruby/open-uri/commit/2606892a43
2024-07-08[ruby/open-uri] Move certificates under the TestOpenURIUtilsHiroshi SHIBATA
https://github.com/ruby/open-uri/commit/a28c2da5d2
2024-07-08[ruby/open-uri] Load stringio with the correct filesHiroshi SHIBATA
https://github.com/ruby/open-uri/commit/cb17a907a2
2024-07-08[ruby/open-uri] Removed needless class definition and variablesHiroshi SHIBATA
https://github.com/ruby/open-uri/commit/ab0e916997
2024-07-08[ruby/open-uri] Don't use URI libraryHiroshi SHIBATA
https://github.com/ruby/open-uri/commit/15989970b6
2024-07-08[ruby/open-uri] support CONNECT method for SimpleHTTPProxyHiroshi SHIBATA
https://github.com/ruby/open-uri/commit/2e36793bd5
2024-07-08[ruby/open-uri] Added SimpleHTTPSServer by TCPServer and OpenSSLHiroshi SHIBATA
https://github.com/ruby/open-uri/commit/57c80e1576
2024-07-08[ruby/open-uri] Added SimpleHTTPProxyServer by TCPServerHiroshi SHIBATA
https://github.com/ruby/open-uri/commit/ad47529306
2024-07-08[ruby/open-uri] Extract SimpleHTTPServer and with_http to TestOpenURIUtils ↵Hiroshi SHIBATA
module for other tests https://github.com/ruby/open-uri/commit/489a1e9006
2024-07-08[ruby/open-uri] Added SimpleHTTPSServer by TCPServerHiroshi SHIBATA
https://github.com/ruby/open-uri/commit/a2b1ebe465
2024-07-08[ruby/open-uri] Removed needless setup and teardown, tmpdir variablesHiroshi SHIBATA
https://github.com/ruby/open-uri/commit/b2d7fc4ff3
2024-07-08[ruby/open-uri] Extract FTP tests from test_open-uri.rbHiroshi SHIBATA
https://github.com/ruby/open-uri/commit/324111eb41
2024-07-08[ruby/open-uri] Extract HTTP Proxy tests from test_open-uri.rbHiroshi SHIBATA
https://github.com/ruby/open-uri/commit/e9e6bd2779
2024-07-05[ruby/irb] Return only commands when completing help command'sStan Lo
argument (https://github.com/ruby/irb/pull/973) The command only takes command names as arguments, so we should only return command names as candidates. This will help users find a command faster as completion will be another useful hint too. https://github.com/ruby/irb/commit/7b6557cc24
2024-07-05Fix flaky test_stat_heap_allPeter Zhu
We only collect GC.stat_heap(nil, stat_heap_all) once, outside of the loop, but assert_equal could allocate objects which can cause a GC to run and cause stat_heap_all to be out-of-sync.