ce30d518 | 23-Sep-2022 |
Patrick Monnerat |
tool: remove dead code Add a debug assertion to verify protocols included/excluded in a set are always tokenized. Follow-up to commit 677266c. Closes #9576 |
91e06e68 | 22-Sep-2022 |
Patrick Monnerat |
lib: prepare the incoming of additional protocols Move the curl_prot_t to its own conditional block. Introduce symbol PROTO_TYPE_SMALL to control it. Fix a cast in a curl_prot_t
lib: prepare the incoming of additional protocols Move the curl_prot_t to its own conditional block. Introduce symbol PROTO_TYPE_SMALL to control it. Fix a cast in a curl_prot_t assignment. Remove an outdated comment. Follow-up to cd5ca80. Closes #9534
show more ...
|
d4b1ad59 | 21-Sep-2022 |
Daniel Stenberg |
msh3: change the static_assert to make the code C89 |
5263bbb3 | 21-Sep-2022 |
Daniel Stenberg |
bearssl: make it proper C89 compliant |
b23ce2ce | 20-Sep-2022 |
Daniel Stenberg |
curl-compilers.m4: for gcc + want warnings, set gnu89 standard To better verify that the code is C89 Closes #9542 |
549032df | 22-Sep-2022 |
Patrick Monnerat |
lib517: fix C89 constant signedness In C89, positive integer literals that overflow an int but not an unsigned int may be understood as a negative int. lib517.c:129:3: warning:
lib517: fix C89 constant signedness In C89, positive integer literals that overflow an int but not an unsigned int may be understood as a negative int. lib517.c:129:3: warning: this decimal constant is unsigned only in ISO C90 {"Sun, 06 Nov 2044 08:49:37 GMT", 2362034977 }, ^ Closes #9572
show more ...
|
935b1bd4 | 22-Sep-2022 |
Daniel Stenberg |
mprintf: use snprintf if available This is the single place in libcurl code where it uses the "native" s(n)printf() function. Used for writing floats. The use has been reviewed and v
mprintf: use snprintf if available This is the single place in libcurl code where it uses the "native" s(n)printf() function. Used for writing floats. The use has been reviewed and vetted and uses a HUGE target buffer, but switching to snprintf() still makes this safer and removes build-time warnings. Reported-by: Philip Heiduck Fixes #9569 Closes #9570
show more ...
|
bf1571eb | 22-Sep-2022 |
Daniel Stenberg |
docs: tag curl options better in man pages As it makes them links in the HTML versions. Verified by the extended test 1176 |
70b6c701 | 22-Sep-2022 |
Daniel Stenberg |
symbols-in-versions: CURLOPT_ENCODING is deprecated since 7.21.6 |
a34610b9 | 22-Sep-2022 |
Daniel Stenberg |
manpage-syntax.pl: all libcurl option symbols should be \fI-tagged ... as that makes them links to their corresponding man page. This script is used for test 1173. Closes #
manpage-syntax.pl: all libcurl option symbols should be \fI-tagged ... as that makes them links to their corresponding man page. This script is used for test 1173. Closes #9574
show more ...
|
a0688185 | 22-Sep-2022 |
Daniel Stenberg |
RELEASE-NOTES: synced |
677266c7 | 21-Sep-2022 |
Patrick Monnerat |
tool: remove protocol count limitation Replace bit mask protocol sets by null-terminated arrays of protocol tokens. These are the addresses of the protocol names returned by curl_ver
tool: remove protocol count limitation Replace bit mask protocol sets by null-terminated arrays of protocol tokens. These are the addresses of the protocol names returned by curl_version_info(). Protocol names are sorted case-insensitively before output to satisfy CI tests matches consistency. The protocol list returned by curl_version_info() is augmented with all RTMP protocol variants. Test 1401 adjusted for new alpha ordered output. Closes #9546
show more ...
|
fb11e45f | 21-Sep-2022 |
Daniel Stenberg |
test972: verify the output without using external tool It seems too restrictive to assume and use an external tool to verify the JSON. This now verifies the outut byte per byte. We could
test972: verify the output without using external tool It seems too restrictive to assume and use an external tool to verify the JSON. This now verifies the outut byte per byte. We could consider building a local "JSON verifyer" in a future. Remove 'jsonlint' from the CI job. Reported-by: Marcel Raad Fixes #9563 Closes #9564
show more ...
|
46f3fe0e | 21-Sep-2022 |
Daniel Stenberg |
hostip: lazily wait to figure out if IPv6 works until needed The check may take many milliseconds, so now it is performed once the value is first needed. Also, this change makes sure tha
hostip: lazily wait to figure out if IPv6 works until needed The check may take many milliseconds, so now it is performed once the value is first needed. Also, this change makes sure that the value is not used if the resolve is set to be IPv4-only. Closes #9553
show more ...
|
7295e62c | 20-Sep-2022 |
Daniel Stenberg |
curl.h: fix mention of wrong error code in comment The same error and comment were also used and is now corrected in CURLOPT_SSH_KEYFUNCTION.3 |
34c598a9 | 20-Sep-2022 |
Daniel Stenberg |
symbol-scan.pl: scan and verify .3 man pages This script now also finds all .3 man pages in docs/include and docs/include/opts, extracts all uses of CURL* symbols and verifies that all
symbol-scan.pl: scan and verify .3 man pages This script now also finds all .3 man pages in docs/include and docs/include/opts, extracts all uses of CURL* symbols and verifies that all symbols mentioned in docs are defined in public headers. A "global symbol" is one of those matching a known prefix and the script makes an attempt to check all/most of them. Just using *all* symbols that match CURL* proved matching a little too many other references as well and turned difficult turning into something useful. Closes #9544
show more ...
|
16814d8f | 20-Sep-2022 |
Daniel Stenberg |
symbols-in-versions: add missing LIBCURL* symbols |
c3feb8e1 | 20-Sep-2022 |
Daniel Stenberg |
symbol-scan.pl: also check for LIBCURL* symbols Closes #9544 |
4c8d1803 | 20-Sep-2022 |
Daniel Stenberg |
docs/libcurl/symbols-in-versions: add several missing symbols |
6c951c42 | 20-Sep-2022 |
Daniel Stenberg |
test1119: scan all public headers Previously this test only scanned a subset of the headers, which made us accidentally miss symbols that were provided in the others. Now, the script
test1119: scan all public headers Previously this test only scanned a subset of the headers, which made us accidentally miss symbols that were provided in the others. Now, the script iterates over all headers present in include/curl. Closes #9544
show more ...
|
c3e634d0 | 21-Sep-2022 |
Patrick Monnerat |
examples/chkspeed: improve portability The example program chkspeed uses strncasecmp() which is not portable across systems. Replace calls to this function by tests on characters.
examples/chkspeed: improve portability The example program chkspeed uses strncasecmp() which is not portable across systems. Replace calls to this function by tests on characters. Closes #9562
show more ...
|
1998f34d | 21-Sep-2022 |
Daniel Stenberg |
easy: fix the #include order The mentioned "last 3 includes" order should be respected. easy_lock.h should be included before those three. Reported-by: Yuriy Chernyshov Fixe
easy: fix the #include order The mentioned "last 3 includes" order should be respected. easy_lock.h should be included before those three. Reported-by: Yuriy Chernyshov Fixes #9560 Closes #9561
show more ...
|
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 ...
|