badbd4eb | 06-Aug-2024 |
Daniel Stenberg |
manpage: ensure a maximum width for the text version ... using the new script 'maxline' to which we specify the maximum number of columns we allow any single line to be, or it will cause
manpage: ensure a maximum width for the text version ... using the new script 'maxline' to which we specify the maximum number of columns we allow any single line to be, or it will cause an error. Starting out with a max width at 100 columns. Bonus: shorten the long line in the --ipfs-gateway section. Closes #14423
show more ...
|
919394ee | 07-Aug-2024 |
Viktor Szakats |
cmake: more small tidy-ups and fixes - tidy up two `MATCHES` expression by avoiding macros expansion and adding quotes. Then convert then to `STREQUAL` to match other places in t
cmake: more small tidy-ups and fixes - tidy up two `MATCHES` expression by avoiding macros expansion and adding quotes. Then convert then to `STREQUAL` to match other places in the code doing the same checks. - fix setting `_ALL_SOURCE` for AIX to match what autotools does. - delete stray `_ALL_SOURCE` reference from `lib/config_riscos.h` - simplify/fix two `STREQUAL ""` checks. The one in the `openssl_check_symbol_exists()` macro succeeded regardless of the value. The other could return TRUE when `CMAKE_OSX_SYSROOT` was undefined. - delete code for CMake versions (<3.7) we no longer support. - prefer `LIST(APPEND ...)` to extend `CURL_LIBS`. - use `CURL_LIBS` to add the `network` lib for Haiku. Before this patch it was done via raw C flags. I could not test this. - move `_WIN32_WINNT`-related code next to each other. It also moves detection to the top, allowing more code to use the result. - merge two `WIN32` blocks. - rename internal variables to underscore + lowercase. - unwrap a line, indent, whitespace. Closes #14450
show more ...
|
d3f6b2ff | 07-Aug-2024 |
Viktor Szakats |
krb5: add Linux/macOS CI tests, fix cmake GSS detection - GHA/macos: enable GSS krb5 in a cmake job. Uses CMake-native detection. - GHA/linux: enable GSS krb5 in autotools job
krb5: add Linux/macOS CI tests, fix cmake GSS detection - GHA/macos: enable GSS krb5 in a cmake job. Uses CMake-native detection. - GHA/linux: enable GSS krb5 in autotools job and add a cmake job to match. CMake uses `pkg-config`-based detection. - GHA/linux: add step to dump configure logs. - fix and simplify logic digesting FindGSS output. - cmake: add `heimdal-gssapi` to `libcurl.pc`. Closes #14447
show more ...
|
e042073f | 08-Aug-2024 |
Viktor Szakats |
cmake: detect and show VCPKG in platform flags Use `VCPKG_TOOLCHAIN` to detect a vcpkg build environment. Closes #14451 |
daf9fdc4 | 08-Aug-2024 |
Viktor Szakats |
GHA/non-native: ignore FTP results in OpenBSD job They are flaky. |
2d6fb0f5 | 07-Aug-2024 |
Viktor Szakats |
cmake: tidy up more value comparisons - unquote numeric value. - `NOT LESS` -> `GREATER_EQUAL`. - replace macro with variable name. It also avoids this error when the
cmake: tidy up more value comparisons - unquote numeric value. - `NOT LESS` -> `GREATER_EQUAL`. - replace macro with variable name. It also avoids this error when the variable is undefined: ``` CMake Error at CMakeLists.txt:1529 (if): if given arguments: "GREATER" "4" Unknown arguments specified ``` https://github.com/curl/curl/actions/runs/10289921657/job/28478722584#step:30:356 Follow-up to 72ae0d86a42fea83612d8baf59cff2f945aca22a #14409 Follow-up to acbc6b703f6b0ee568d053f6f2565fbc107b5fd3 #14197 Closes #14449
show more ...
|
a3155db4 | 07-Aug-2024 |
Viktor Szakats |
cmake: fix version variable references in FindGSS Assign the value of the variable instead of the name of the variable when detecting GSS version via `pkg-config` on old (?) CMake.
cmake: fix version variable references in FindGSS Assign the value of the variable instead of the name of the variable when detecting GSS version via `pkg-config` on old (?) CMake. (On recent CMake, there is an empty value in these variables.) Closes #14445
show more ...
|
c2889a7b | 04-Aug-2024 |
Viktor Szakats |
cmake: more syntax tidy-up - quote string literals. In the hope it improves syntax-highlighting and readability. - use lowercase, underscore-prefixed local var names. As
cmake: more syntax tidy-up - quote string literals. In the hope it improves syntax-highlighting and readability. - use lowercase, underscore-prefixed local var names. As a hint for scope, to help readability. - prefer `pkg_search_module` (over `pkg_check_modules`). They are the same, but `pkg_search_module` stops searching at the first hit. - more `IN LISTS` in `foreach()`. - OtherTests.cmake: clear `CMAKE_EXTRA_INCLUDE_FILES` after use. - add `PROJECT_LABEL` for http/client and unit test targets. - sync `Find*` module comments and formatting. - drop a few local variables. - drop bogus `CARES_LIBRARIES` from comment. - unquote numeric literal. Follow-up to acbc6b703f6b0ee568d053f6f2565fbc107b5fd3 #14197 Closes #14388
show more ...
|
63e9e067 | 07-Aug-2024 |
Alex Snast |
wolfssl: avoid taking cached x509 store ref if sslctx already using it Closes #14442 |
3ac1569c | 07-Aug-2024 |
Stefan Eissing |
tracing: allow CURL_DEBUG override On debug builds, allow environment variable CURL_DEBUG to override any setting done via '-v' or '--no-verbose'. Closes #14436 |
0bc5b2e3 | 07-Aug-2024 |
Stefan Eissing |
http/2: simplify eos/blocked handling - rely on the new flush to handle blocked sends. No longer do simulated EAGAIN on (partially) blocked sends with their need to handle repeat
http/2: simplify eos/blocked handling - rely on the new flush to handle blocked sends. No longer do simulated EAGAIN on (partially) blocked sends with their need to handle repeats. - fix some debug handling CURL_SMALLREQSEND env var - add some assertings in request.c for affirming we do it right - enhance assertion output in test_16 for easier analysis Closes #14435
show more ...
|
1e9c1e8f | 07-Aug-2024 |
Jan Venekamp <1422460+jan2000@users.noreply.github.com> |
curl: fix --proxy-pinnedpubkey This option was added in #2268 but never connected in tool_operate.c. Closes #14438 |
cf7a080c | 07-Aug-2024 |
Daniel Stenberg |
verbose.md: polish, mostly remove back-ticks To make the page render nicer as manpage and text-only. Closes #14441 |
d41916c4 | 07-Aug-2024 |
Daniel Stenberg |
max-filesize.md: mention zero disables the limit Reported-by: MasterInQuestion on github Fixes #14440 Closes #14443 |
14675971 | 06-Aug-2024 |
Viktor Szakats |
cmake: fix `pkg-config`-based detection in `FindGSS.cmake` Before this patch `pkg-config`-based detection was ignored, and used solely as a path hint for native detection. - fix
cmake: fix `pkg-config`-based detection in `FindGSS.cmake` Before this patch `pkg-config`-based detection was ignored, and used solely as a path hint for native detection. - fix `pkg_search_module()` result prefix to match what code expects: `_GSS` (was: `_GSS_PKG`). Update variable that were in sync with old prefix. - update the pkg-config codepath to use `_GSS_MODULE_NAME` to detect GSS flavour. This requires CMake 3.16. Otherwise fall back to the old method. (The old method doesn't seem to work anymore (?) as of CMake 3.30.1. Documented `<prefix>_<modulename>_VERSION` variable is defined, but empty.) - update the pkg-config codepath to use `_GSS_VERSION` set by CMake. Resort to the old code when this variable is empty. (The old code doesn't seem to work anymore (?) as of CMake 3.30.1) - fix pkg-config codepath to set the documented result variables. - align native detection variable names with those generated by `pkg_search_module()` in the pkg-config codepath. - GHA/macos: enable GSS Heimdal in a cmake job. Uses the native detection. - GHA/linux: enable GSS Heimdal in cmake and autotools jobs. CMake uses `pkg-config`-based detection. - suppress test 2077 and 2078 results on Linux + Heimdal. ``` FAIL-IGNORED 2077: 'curl --fail --negotiate to unauthenticated service fails' HTTP, HTTP GET, GSS-API FAIL-IGNORED 2078: 'curl --negotiate should not send empty POST request only' HTTP, HTTP GET, GSS-API ``` Failing with valgrind errors in both autotools and cmake builds: https://github.com/curl/curl/actions/runs/10282222581/job/28453472068?pr=14430#step:38:3638 https://github.com/curl/curl/actions/runs/10282222581/job/28453473398?pr=14430#step:38:7831 Closes #14430
show more ...
|
2154f7c5 | 07-Aug-2024 |
Viktor Szakats |
krb5: fix `-Wcast-align` ``` lib/krb5.c:343:39: warning: cast from 'void **' to 'unsigned char **' increases required alignment from 2 to 8 [-Wcast-align]
krb5: fix `-Wcast-align` ``` lib/krb5.c:343:39: warning: cast from 'void **' to 'unsigned char **' increases required alignment from 2 to 8 [-Wcast-align] (unsigned char **)&_gssresp.value, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ``` Seen on macOS Intel with Apple clang and brew heimdal 7.8.0_1. Closes #14433
show more ...
|
cd51bb50 | 07-Aug-2024 |
Viktor Szakats |
cmake: add debug function to dump all variables Place a `curl_dumpvars()` call anywhere in the CMake code to use it. Closes #14439 |
e2041398 | 07-Aug-2024 |
Viktor Szakats |
GHA/macos: tweak toolchain dump steps - use documented flavour of `xcrun` option. - show SDK version with a dedicated command. (Sometimes the SDK path is a symlink and doesn't
GHA/macos: tweak toolchain dump steps - use documented flavour of `xcrun` option. - show SDK version with a dedicated command. (Sometimes the SDK path is a symlink and doesn't tell the version. This is not at the moment the case in CI, but handle it anyway.) - align group header with reality. Preinstalled vs. installed Homebrew packages can be recognized by their directory timestamps. Installed ones have a current date. Closes #14434
show more ...
|
588a6e33 | 07-Aug-2024 |
Bo Anderson |
idn: more strictly check AppleIDN errors UIDNA API returns two error values but we were only checking one. Checking both better aligns the behaviour with that of libidn2. Closes
idn: more strictly check AppleIDN errors UIDNA API returns two error values but we were only checking one. Checking both better aligns the behaviour with that of libidn2. Closes #14431
show more ...
|
a3568783 | 07-Aug-2024 |
Bo Anderson |
idn: support non-UTF-8 input under AppleIDN This aligns the behaviour with libidn2 and the curl documentation. Closes #14431 |
07843d81 | 07-Aug-2024 |
Jiacai Liu |
BINDINGS: add zig binding Closes #14437 |
493c6d79 | 06-Aug-2024 |
Viktor Szakats |
cmake: delete MSVC warning suppression for tests/server Server code no longer produces this warning. Closes #14428 |
b1153820 | 06-Aug-2024 |
Viktor Szakats |
dist: add missing `test_*.py` scripts Closes #14427 |
5f9426ec | 06-Aug-2024 |
Dan Fandrich |
tests: show snapshot commit in testcurl This disambiguates the source code being tested. The output format is the same as when testing out of a git repo, but with no description and
tests: show snapshot commit in testcurl This disambiguates the source code being tested. The output format is the same as when testing out of a git repo, but with no description and a long hash. Ref: #14363 Closes #14429
show more ...
|
0011df47 | 05-Aug-2024 |
Pete Cordell |
ws: flags to opcodes should ignore CURLWS_CONT flag When converting WebSocket flags such as CURLWS_TEXT | CURLWS_CONT we want to exclude CURLWS_CONT from the lookup. Closes #143
ws: flags to opcodes should ignore CURLWS_CONT flag When converting WebSocket flags such as CURLWS_TEXT | CURLWS_CONT we want to exclude CURLWS_CONT from the lookup. Closes #14397
show more ...
|