fd1ce3d4 | 20-Sep-2022 |
Daniel Stenberg |
docs: spellfixes Pointed by the new CI job |
72c41f7c | 20-Sep-2022 |
Daniel Stenberg |
GHA: spellcheck This spellchecker checks markdown files. For this reason this job converts all man pages in the repository to markdown with pandoc before the check runs. The
GHA: spellcheck This spellchecker checks markdown files. For this reason this job converts all man pages in the repository to markdown with pandoc before the check runs. The perl script 'cleanspell' filters out details from the man page in the process, to avoid the spellchecker trying to spellcheck things it can't. Like curl specific symbols and the SYNOPSIS and EXAMPLE sections of libcurl man pages. The spell checker does not check words in sections that are within pre, strong and em tags. 'spellcheck.words' is a custom word list with additional accepted words. Closes #9523
show more ...
|
62672441 | 21-Sep-2022 |
Daniel Stenberg |
connect: fix the wrong error message on connect failures The "Failed to connect to" message after a connection failure would include the strerror message based on the presumed previous s
connect: fix the wrong error message on connect failures The "Failed to connect to" message after a connection failure would include the strerror message based on the presumed previous socket error, but in times it seems that error number is not set when reaching this code and therefore it would include the wrong error message. The strerror message is now removed from here and the curl_easy_strerror error is used instead. Reported-by: Edoardo Lolletti Fixes #9549 Closes #9554
show more ...
|
9eec7545 | 21-Sep-2022 |
Daniel Stenberg |
httpput-postfields.c: shorten string for C89 compliance httpput-postfields.c:41:3: error: string length ‘522’ is greater than the length ‘509’ ISO C90 compilers are required to support [-Wov
httpput-postfields.c: shorten string for C89 compliance httpput-postfields.c:41:3: error: string length ‘522’ is greater than the length ‘509’ ISO C90 compilers are required to support [-Woverlength-strings] 41 | "this chapter."; | ^~~~~~~~~~~~~~~ Closes #9555
show more ...
|
a2fa5f86 | 20-Sep-2022 |
Daniel Stenberg |
ws: fix a C89 compliance nit Closes #9541 |
6fbf7d34 | 21-Sep-2022 |
Patrick Monnerat |
unit test 1655: make it C89-compliant Initializations performed in unit test 1655 use automatic variables in aggregates and thus can only be computed at run-time. Using gcc in C89 di
unit test 1655: make it C89-compliant Initializations performed in unit test 1655 use automatic variables in aggregates and thus can only be computed at run-time. Using gcc in C89 dialect mode produces warning messages like: unit1655.c:96:7: warning: initializer element is not computable at load time [-Wpedantic] 96 | { toolong, DOH_DNS_NAME_TOO_LONG }, /* expect early failure */ | ^~~~~~~ Fix the problem by converting these automatic pointer variables to static arrays. Closes #9551
show more ...
|
8e5b1b66 | 20-Sep-2022 |
Tobias Schaefer |
curl_strequal.3: fix typo Closes #9548 |
1902e8fc | 19-Sep-2022 |
Dmitry Karpov |
resolve: make forced IPv4 resolve only use A queries This protects IPv4-only transfers from undesired bad IPv6-related side effects and make IPv4 transfers in dual-stack libcurl behave t
resolve: make forced IPv4 resolve only use A queries This protects IPv4-only transfers from undesired bad IPv6-related side effects and make IPv4 transfers in dual-stack libcurl behave the same way as in IPv4 single-stack libcurl. Closes #9540
show more ...
|
ae9e713c | 20-Sep-2022 |
Daniel Stenberg |
RELEASE-NOTES: synced |
8bc6a38c | 19-Sep-2022 |
Daniel Stenberg |
winbuild/MakefileBuild.vc: handle spaces in libssh(2) include paths Patched-by: Mark Itzcovitz Bug: https://curl.se/mail/lib-2022-09/0038.html Closes #9536 |
e9a85c46 | 19-Sep-2022 |
Daniel Stenberg |
TODO: Reduce CA certificate bundle reparsing By adding some sort of cache. Reported-by: Michael Drake Closes #9379 Closes #9538 |
4e689330 | 17-Sep-2022 |
Marc Hoersken |
CI/GHA: cancel outdated CI runs on new PR changes Avoid letting outdated CI runs continue if a PR receives new changes. Outside a PR we let them continue running by tying the concurr
CI/GHA: cancel outdated CI runs on new PR changes Avoid letting outdated CI runs continue if a PR receives new changes. Outside a PR we let them continue running by tying the concurrency to the commit hash instead. Also only let one CodeQL or Hacktoberfest job run at a time. Other CI platforms we use have this build in, but GitHub unfortunately neither by default nor with a simple option. This saves CI resources and therefore a little energy. Approved-by: Daniel Stenberg Approved-by: Max Dymond Closes #9533
show more ...
|
fda897f5 | 19-Sep-2022 |
Daniel Stenberg |
docs: fix proselint complaints |
6e0dbe84 | 19-Sep-2022 |
Daniel Stenberg |
GHA: run proselint on markdown files Co-authored-by: Marc Hörsken Closes #9520 |
660cf3d4 | 18-Sep-2022 |
Daniel Stenberg |
lib: the number four in a sequence is the "fourth" Spelling is hard Closes #9535 |
a46e4124 | 17-Sep-2022 |
John Bampton |
misc: fix spelling in two source files Closes #9529 |
6de7322c | 18-Sep-2022 |
Viktor Szakats |
windows: add .rc support to autotools builds After this update autotools builds will compile and link `.rc` resources to Windows executables. Bringing this feature on par with CMake and
windows: add .rc support to autotools builds After this update autotools builds will compile and link `.rc` resources to Windows executables. Bringing this feature on par with CMake and Makefile.m32 builds. And also making it unnecessary to improvise these steps manually, while monkey patching build files, e.g. [0]. You can customize the resource compiler via the `RC` envvar, and its options via `RCFLAGS`. This harmless warning may appear throughout the build, even though the autotools manual documents [1] `RC` as a valid tag, and it fails when omitting one: `libtool: error: ignoring unknown tag RC` [0] https://github.com/curl/curl-for-win/blob/535f19060d4b708f72e75dd849409ce50baa1b84/curl-autotools.sh#L376-L382 [1] https://www.gnu.org/software/libtool/manual/html_node/Tags.html Closes #9521
show more ...
|
e3a533f5 | 17-Sep-2022 |
Marc Hoersken |
CI/linkcheck: only run if a Markdown file is changed This saves CI resources and therefore a little energy. Reviewed-by: Max Dymond Closes #9531 |
f315b540 | 17-Sep-2022 |
Marc Hoersken |
README.md: add GHA status badges for Linux and macOS builds This makes sense now that Linux builds are being consolidated. Approved-by: Daniel Stenberg Closes #9530 [sk
README.md: add GHA status badges for Linux and macOS builds This makes sense now that Linux builds are being consolidated. Approved-by: Daniel Stenberg Closes #9530 [skip ci]
show more ...
|
307b7543 | 17-Sep-2022 |
Daniel Stenberg |
misc: null-terminate Make use of this term consistently. Closes #9527 |
db02e0e9 | 15-Sep-2022 |
Marc Hoersken |
CI/GHA: merge intel CC and more TLS libs into linux workflow Continue work on merging all Linux workflows into one file. Reviewed-by: Max Dymond Follow up to #9501 Closes #9
CI/GHA: merge intel CC and more TLS libs into linux workflow Continue work on merging all Linux workflows into one file. Reviewed-by: Max Dymond Follow up to #9501 Closes #9514
show more ...
|
7ca36f49 | 17-Sep-2022 |
Patrick Monnerat |
lib1597: make it C89-compliant again Automatic variable addresses cannot be used in an initialisation aggregate. Follow-up to 9d51329 Reported-by: Daniel Stenberg F
lib1597: make it C89-compliant again Automatic variable addresses cannot be used in an initialisation aggregate. Follow-up to 9d51329 Reported-by: Daniel Stenberg Fixes: #9524 Closes #9525
show more ...
|
9eccc613 | 17-Sep-2022 |
Daniel Stenberg |
tool_libinfo: silence "different 'const' qualifiers" in qsort() MSVC 15.0.30729.1 warned about it Follow-up to dd2a024323dcc Closes #9522 |
5261efae | 13-Sep-2022 |
Patrick Monnerat |
docs: tell about disabled protocols in CURLOPT_*PROTOCOLS_STR. Disabled protocols are now handled as if they were unknown. Also update the possible protocol list. |
dd2a0243 | 15-Sep-2022 |
Patrick Monnerat |
cli tool: do not use disabled protocols As they are now rejected by the library, take care of not passing disabled protocol names to CURLOPT_PROTOCOLS_STR and CURLOPT_REDIR_PROTOCOLS
cli tool: do not use disabled protocols As they are now rejected by the library, take care of not passing disabled protocol names to CURLOPT_PROTOCOLS_STR and CURLOPT_REDIR_PROTOCOLS_STR. Rather than using the CURLPROTO_* constants, dynamically assign protocol numbers based on the order they are listed by curl_version_info(). New type proto_set_t implements prototype bit masks: it should therefore be large enough to accomodate all library-enabled protocols. If not, protocol numbers beyond the bit count of proto_set_t are recognized but "inaccessible": when used, a warning is displayed and the value is ignored. Should proto_set_t overflows, enabled protocols are reordered to force those having a public CURLPROTO_* representation to be accessible. Code has been added to subordinate RTMP?* protocols to the presence of RTMP in the enabled protocol list, being returned by curl_version_info() or not.
show more ...
|