54fd903f | 19-Sep-2024 |
Viktor Szakats |
GHA/torture: bump test parallelism to `-j10` - Linux !FTP: 21m43 -> 5m15 - Linux FTP: 14m55 -> 3m34 before: https://github.com/curl/curl/actions/runs/10944468673 after: http
GHA/torture: bump test parallelism to `-j10` - Linux !FTP: 21m43 -> 5m15 - Linux FTP: 14m55 -> 3m34 before: https://github.com/curl/curl/actions/runs/10944468673 after: https://github.com/curl/curl/actions/runs/10945446163 Closes #14970
show more ...
|
cf2f4ca5 | 19-Sep-2024 |
Viktor Szakats |
cmake: sync torture test parallelism with autotools Follow-up to 8ad3597d2dca4209fb19563b0a611a9944fa579b #14960 Closes #14969 |
bc2f72b9 | 12-Sep-2024 |
Viktor Szakats |
tidy-up: rename `CURL_WINDOWS_APP` to `CURL_WINDOWS_UWP` Rename internal macro to make its purpose more obvious. After this patch `grep -i uwp` shows all the code related to UWP.
tidy-up: rename `CURL_WINDOWS_APP` to `CURL_WINDOWS_UWP` Rename internal macro to make its purpose more obvious. After this patch `grep -i uwp` shows all the code related to UWP. Ref: https://curl.se/mail/lib-2024-09/0014.html Closes #14881
show more ...
|
445fb812 | 02-Sep-2024 |
Viktor Szakats |
cmake, `Makefile.mk`: use `-isystem` for dep headers, silence BearSSL issues Patch started out for working around compiler warnings in BearSSL latest tarball release v0.6 (2018-08-14) an
cmake, `Makefile.mk`: use `-isystem` for dep headers, silence BearSSL issues Patch started out for working around compiler warnings in BearSSL latest tarball release v0.6 (2018-08-14) and Apple clang 14 with CMake. Then turned into patching CMake and `Makefile.mk` builds to use `-isystem` instead `-I` when adding header directories for dependencies. This avoids compiler warnings in dependency headers, syncing behaviour with autotools. Also: - `Makefile.mk`: add support for BearSSL. - delete warning suppression for mbedTLS headers. No longer necessary after this patch. Follow-up to 434db995a7566a76f6a16391897816ddd1011adc #12720 Silenced BearSSL warnings: ``` In file included from curl/lib/vtls/bearssl.c:28: In file included from bearssl/inc/bearssl.h:127: bearssl/inc/bearssl_hash.h:727:5: warning: 'BR_DOXYGEN_IGNORE' is not defined, evaluates to 0 [-Wundef] ^ bearssl/inc/bearssl_hash.h:745:5: warning: 'BR_DOXYGEN_IGNORE' is not defined, evaluates to 0 [-Wundef] ^ In file included from curl/lib/vtls/bearssl.c:28: In file included from bearssl/inc/bearssl.h:136: bearssl/inc/bearssl_ssl.h:1253:20: warning: implicit conversion loses integer precision: 'unsigned int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion] cc->version_min = version_min; ~ ^~~~~~~~~~~ bearssl/inc/bearssl_ssl.h:1254:20: warning: implicit conversion loses integer precision: 'unsigned int' to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion] cc->version_max = version_max; ~ ^~~~~~~~~~~ bearssl/inc/bearssl_ssl.h:1327:28: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint16_t' (aka 'unsigned short') [-Wimplicit-int-conversion] ctx->protocol_names_num = num; ~ ^~~ 5 warnings generated. ``` (These warnings were fixed in BearSSL Git master in 2019 via 2893441f2efd4603ddd6d7f49011bdda096a4a87 and ecdf89770ee82dfea6186fb4369cff3d06cd852e.) Also these two cases, which are caused by an unidentified component (outside curl) cranking up MSVC warnings in external headers to `/W4` when ZLIB is deselected: https://github.com/curl/curl/pull/14859#issuecomment-2351809153 mbedTLS 3.6.1: ``` C:\vcpkg\installed\x64-windows\include\psa\crypto_struct.h(254,13): error C2220: the following warning is treated as an error [D:\a\curl\curl\bld\lib\libcurl_object.vcxproj] (compiling source file 'CMakeFiles/libcurl_object.dir/Unity/unity_0_c.c') C:\vcpkg\installed\x64-windows\include\psa\crypto_struct.h(254,13): warning C4200: nonstandard extension used: zero-sized array in struct/union [D:\a\curl\curl\bld\lib\libcurl_object.vcxproj] (compiling source file 'CMakeFiles/libcurl_object.dir/Unity/unity_0_c.c') ``` Ref: https://github.com/curl/curl/actions/runs/10842694205/job/30107466989?pr=14859#step:10:29 nghttp3 1.5.0: ``` C:\vcpkg\installed\x64-windows\include\nghttp3\nghttp3.h(2678,1): error C2220: the following warning is treated as an error [D:\a\curl\curl\bld\lib\libcurl_object.vcxproj] (compiling source file 'CMakeFiles/libcurl_object.dir/Unity/unity_0_c.c') C:\vcpkg\installed\x64-windows\include\nghttp3\nghttp3.h(2678,1): warning C4324: 'nghttp3_pri': structure was padded due to alignment specifier [D:\a\curl\curl\bld\lib\libcurl_object.vcxproj] (compiling source file 'CMakeFiles/libcurl_object.dir/Unity/unity_0_c.c') ``` Ref: https://github.com/curl/curl/actions/runs/10871875297/job/30166233862?pr=14859#step:10:28 Closes #14763
show more ...
|
8d32e878 | 26-Aug-2024 |
Viktor Szakats |
cmake: delete unused `NEED_LBER_H`, `HAVE_LDAP_H` Both are used by `./configure` internally, not by curl C code. CMake adds `NEED_LBER_H` to `CURL_TEST_DEFINES`, which is used by `cu
cmake: delete unused `NEED_LBER_H`, `HAVE_LDAP_H` Both are used by `./configure` internally, not by curl C code. CMake adds `NEED_LBER_H` to `CURL_TEST_DEFINES`, which is used by `curl_internal_test()`, but there is no LDAP-related test made with that call. Thus, stop detecting and publishing these from CMake. `NEED_LBER_H` added in 7320e53d9e17b22cacea77a89ecaa8348513f0e1. `HAVE_LDAP_H` added in 4c5307b45655ba75ab066564afdc0c111a8b9291 (initial CMake commit). Closes #14690
show more ...
|
94139493 | 19-Sep-2024 |
Stefan Eissing |
tets: testrunner fairness Collect all ready runners from select() and process in a loop. This assures fairness in processing among all runners. Formerly, only the first ready ru
tets: testrunner fairness Collect all ready runners from select() and process in a loop. This assures fairness in processing among all runners. Formerly, only the first ready runner in the list of all was processed, leading to later runners being delayed in processing and reporting overly long test durations. Also, reduce the backend idle timeout for the h2/h3 test servers so that process shutdowns take less time. Closes #14967
show more ...
|
8498b1b9 | 12-Sep-2024 |
Viktor Szakats |
cmake/FindNGTCP2: use library path as hint for finding the crypto module It allows finding the ngtcp2 crypto interface library automatically when using a custom `NGTCP2_LIBRARY`.
cmake/FindNGTCP2: use library path as hint for finding the crypto module It allows finding the ngtcp2 crypto interface library automatically when using a custom `NGTCP2_LIBRARY`. Before this patch the library location had to be added via `CMAKE_LIBRARY_PATH` or by other means. Also add empty lines for readability / uniformity. Fixes https://github.com/curl/curl-for-win/blob/8b8909e1206de1dcca356a8dd33eb1e4ffeea7fd/curl.sh#L289 Closes #14905
show more ...
|
50e2cb58 | 07-Sep-2024 |
Viktor Szakats |
build: `buildinfo.txt` improvements - cmake: drop `configure.os`. This also includes OS version, but thus far it's not important enough to include it. - autotools: drop redun
build: `buildinfo.txt` improvements - cmake: drop `configure.os`. This also includes OS version, but thus far it's not important enough to include it. - autotools: drop redundant, autotools-only `{target|host}.vendor`. (it's part of the triplet in `{target|host}`.) - swap order to `*.cpu` -> `*.os` to match triplet-order. - cmake: drop redundant `target`. It's manually filled and only in a (so far) few CI jobs. Let's revisit when this becomes useful. - move `buildinfo.txt` to build root. - dist: add `buildinfo.txt` to `DISTCLEANFILES`. - autotools: detect human readable compiler version. - autotools: replace `XXYY` `compiler.version` with "X.Y"-style. (also to match cmake.) - autotools: use distinct `compiler_id` for Apple clang: `APPLECLANG`. To match cmake and also because the the "X.Y"-style version number is the Apple version, while `XXYY` was a value roughly translated to mainline llvm/clang version. - show buildinfo at the end of the configure stage, when run in CI, or when `CURL_BUILDINFO` or `CURL_CI` env is set. Follow-up to 1fdea1684602a1ae2870c67b5f3e8fd34f63da95 #14802 Assisted-by: Dan Fandrich Ref: https://github.com/curl/curl/pull/14802#issuecomment-2334942991 Closes #14822
show more ...
|
fdb8b40f | 06-Sep-2024 |
Viktor Szakats |
autotools: tidy-ups in `src/Makefile.inc` - move `EXTRA_DIST` to the top of file. - move `checksrc` init next to use. - use variable `HUGE` instead of repeating a literal. C
autotools: tidy-ups in `src/Makefile.inc` - move `EXTRA_DIST` to the top of file. - move `checksrc` init next to use. - use variable `HUGE` instead of repeating a literal. Cherry-picked from #14815 Closes #14933
show more ...
|
d1bf4479 | 14-Sep-2024 |
Viktor Szakats |
build: limit `arc4random` detection to no-SSL configs `arc4random()` is no longer used if any TLS backend is active. Limit feature detection to builds with no TLS backend. Close
build: limit `arc4random` detection to no-SSL configs `arc4random()` is no longer used if any TLS backend is active. Limit feature detection to builds with no TLS backend. Closes #14909
show more ...
|
44f9ce02 | 08-Sep-2024 |
Viktor Szakats |
cmake: disable default OpenSSL if BearSSL, GnuTLS or Rustls is enabled Disable OpenSSL by default if any of these alterntive TLS backends were explicitly selected. Following the
cmake: disable default OpenSSL if BearSSL, GnuTLS or Rustls is enabled Disable OpenSSL by default if any of these alterntive TLS backends were explicitly selected. Following the logic already in place for Schannel, Secure Transport, mbedTLS and wolfSSL. Closes #14828
show more ...
|
fc708ea9 | 07-Sep-2024 |
Viktor Szakats |
dist: drop `.in` files from `EXTRA_DIST` Some of the `.in` files were listed in `EXTRA_DIST`. Delete them. `.in` files (passed to `AC_CONFIG_FILES`) are added automatically to t
dist: drop `.in` files from `EXTRA_DIST` Some of the `.in` files were listed in `EXTRA_DIST`. Delete them. `.in` files (passed to `AC_CONFIG_FILES`) are added automatically to the distro by autotools. Closes #14821
show more ...
|
e666a678 | 18-Sep-2024 |
Daniel Stenberg |
checksrc: check for spaces around '?', '>' and '<' Closes #14921 |
fbf5d507 | 18-Sep-2024 |
Daniel Stenberg |
lib/src: white space edits to comply better with code style ... as checksrc now finds and complains about these. Closes #14921 |
a57b45c3 | 19-Sep-2024 |
Daniel Stenberg |
TODO: IMAP upload unread Proposed-by: Nicolas George Ref: https://curl.se/mail/archive-2024-09/0003.html Closes #14964 |
c4f781e6 | 15-Sep-2024 |
Viktor Szakats |
cmake: drop redundant assigments No need to set them `ON` again. Closes #14924 |
abf737b3 | 13-Sep-2024 |
Viktor Szakats |
cmake: drop redundant zlib var, rename function (internals) - drop redundant internal variable `USE_ZLIB`, rely on `HAVE_LIBZ`. - rename `optional_dependency()` -> `curl_dependency_
cmake: drop redundant zlib var, rename function (internals) - drop redundant internal variable `USE_ZLIB`, rely on `HAVE_LIBZ`. - rename `optional_dependency()` -> `curl_dependency_option()` Make `grep 'option('` hit this option. Namespaced. It has a single use with `ZLIB`. Closes #14918
show more ...
|
56b0442e | 11-Sep-2024 |
Viktor Szakats |
urlapi: drop unused header Closes #14867 |
c997f3e0 | 18-Sep-2024 |
Viktor Szakats |
processhelp.pm: improve `taskkill` calls (Windows) - drop `tasklist` call before `taskkill`. `taskkill` offers two ways to kill a `pid`: 1. `-pid <pid>` If `<pid>` is mi
processhelp.pm: improve `taskkill` calls (Windows) - drop `tasklist` call before `taskkill`. `taskkill` offers two ways to kill a `pid`: 1. `-pid <pid>` If `<pid>` is missing it returns 128 and outputs: ``` ERROR: The process "<pid>" not found. ``` 2. `-fi "PID eq <pid>"` If `<pid>` is missing, it returns 0 and outputs: ``` INFO: No tasks running with the specified criteria. ``` The curl runner script doesn't check the result of the call and both stdout and stderr are redirected to NUL. Meaning the `tasklist` calls pre-verifying if the PID exists are not necessary and we can drop them to put less strain on the runner environment. - log a `taskkill` call missed earlier. Follow-up to e53523fef07894991c69d907a7c7794c7ada4ff4 #14859 - streamline `taskkill` calls by using the `-pid` option (was `-fi <filter-expression>`). - make `taskkill` in `pidterm()` use `-t` to kill the process tree. Ref: #11009 Closes #14959
show more ...
|
888662b7 | 19-Sep-2024 |
Viktor Szakats |
tests: delete duplicate macro check Follow-up to e9a7d4a1c8377dbcf9a2d94365f60e3e5dff48f8 #12376 Closes #14963 |
84452857 | 18-Sep-2024 |
Daniel Stenberg |
CURLMOPT_PIPELINING.md: clarify that CURLPIPE_NOTHING is not default Fixes #14961 Reported-by: Pavel Kropachev Closes #14962 |
8ad3597d | 18-Sep-2024 |
Stefan Eissing |
tests: testrunner reliability improvements - perform torture tests with '-j2' for shorter runtime - when waiting on test results overly long, log the tests waited for and eventuall
tests: testrunner reliability improvements - perform torture tests with '-j2' for shorter runtime - when waiting on test results overly long, log the tests waited for and eventually log the test log directories for easier analysis what is wrong in CI jobs. - sockfilt.c: treat the windows errno 109 (ERROR_BROKEN_PIPE) as a socket closed by the client and do not exit. - when verifying https server, do not in addition check the http server behind it also - when tearing down the stunnel of a non-responsive https server, tear down the http server with it Closes #14960
show more ...
|
5a263710 | 14-Sep-2024 |
Gabriel Marin |
lib, src, tests: added space around ternary expressions Closes #14912 |
0236276c | 18-Sep-2024 |
Daniel Stenberg |
RELEASE-NOTES: synced And bump to 8.10.2 for now |
1ec5336b | 18-Sep-2024 |
Jon Rumsey |
negotiate: conditional check around GSS & SSL specific code Fixes #14938 Reported-by: lomberd2 on github Fixes #14952 Closes #14954 |