4484270a | 26-Oct-2022 |
Ayesh Karunaratne |
misc: typo and grammar fixes - Replace `Github` with `GitHub`. - Replace `windows` with `Windows` - Replace `advice` with `advise` where a verb is used. - A few fixes on removing
misc: typo and grammar fixes - Replace `Github` with `GitHub`. - Replace `windows` with `Windows` - Replace `advice` with `advise` where a verb is used. - A few fixes on removing repeated words. - Replace `a HTTP` with `an HTTP` Closes #9802
show more ...
|
b7260c4f | 27-Oct-2022 |
Viktor Szakats |
windows: fix linking .rc to shared curl with autotools `./configure --enable-shared --disable-static` fails when trying to link a shared `curl.exe`, due to `libtool` magically changing t
windows: fix linking .rc to shared curl with autotools `./configure --enable-shared --disable-static` fails when trying to link a shared `curl.exe`, due to `libtool` magically changing the output filename of `windres` to one that it doesn't find when linking: ``` /bin/sh ../libtool --tag=RC --mode=compile windres -I../../curl/include -DCURL_EMBED_MANIFEST -i ../../curl/src/curl.rc -o curl.o libtool: compile: windres -I../../curl/include -DCURL_EMBED_MANIFEST -i ../../curl/src/curl.rc -o .libs/curl.o [...] CCLD curl.exe clang: error: no such file or directory: 'curl.o' ``` Let's resolve this by skipping `libtool` and calling `windres` directly when building `src` (aka `curl.exe`). Leave `lib` unchanged, as it does need the `libtool` magic. This solution is compatible with building a static `curl.exe`. This build scenario is not CI-tested. While here, delete an obsolete comment about a permanent `libtool` warning that we've resolved earlier. Regression from 6de7322c03d5b4d91576a7d9fc893e03cc9d1057 Reported-by: Christoph Reiter Fixes #9803 Closes #9805
show more ...
|
811c799f | 26-Oct-2022 |
Viktor Szakats |
cmake: really enable warnings with clang Even though `PICKY_COMPILER=ON` is the default, warnings were not enabled when using llvm/clang, because `CMAKE_COMPILER_IS_CLANG` was always
cmake: really enable warnings with clang Even though `PICKY_COMPILER=ON` is the default, warnings were not enabled when using llvm/clang, because `CMAKE_COMPILER_IS_CLANG` was always false (in my tests at least). This is the single use of this variable in curl, and in a different place we already use `CMAKE_C_COMPILER_ID MATCHES "Clang"`, which works as expected, so change the condition to use that instead. Also fix the warnings uncovered by the above: - lib: add casts to silence clang warnings - schannel: add casts to silence clang warnings in ALPN code Assuming the code is correct, solve the warnings with a cast. This particular build case isn't CI tested. There is a chance the warning is relevant for some platforms, perhaps Windows 32-bit ARM7. Closes #9783
show more ...
|
df77eff2 | 26-Oct-2022 |
Joel Depooter |
sendf: remove unnecessary if condition At this point, the psnd->buffer will always exist. We have already allocated a new buffer if one did not previously exist, and returned from th
sendf: remove unnecessary if condition At this point, the psnd->buffer will always exist. We have already allocated a new buffer if one did not previously exist, and returned from the function if the allocation failed. Closes #9801
show more ...
|
b51560b9 | 26-Oct-2022 |
Viktor Szakats |
winidn: drop WANT_IDN_PROTOTYPES `WANT_IDN_PROTOTYPES` was necessary to avoid using a header that came via an optional package. MS stopped distributing this package some years ago an
winidn: drop WANT_IDN_PROTOTYPES `WANT_IDN_PROTOTYPES` was necessary to avoid using a header that came via an optional package. MS stopped distributing this package some years ago and the winidn definitions are part of standard headers (via `windows.h`) since Vista. Auto-detect Vista inside `lib/idn_win32.c` and enable the manual definitions if building for an older Windows. This allows to delete this manual knob from all build-systems. Also drop the `_SAL_VERSION` sub-case: Our manual definitions are now only enabled with old systems. We assume that code analysis is not run on such systems, allowing us to delete the SAL-friendly flavour of these. Reviewed-by: Jay Satiro Closes #9793
show more ...
|
279834dd | 24-Oct-2022 |
Daniel Stenberg |
misc: remove duplicated include files Closes #9796 |
3678336b | 24-Oct-2022 |
Daniel Stenberg |
scripts/checksrc.pl: detect duplicated include files After an idea by Dan Fandrich in #9794 Closes #9796 |
6092eaa3 | 26-Oct-2022 |
Daniel Stenberg |
RELEASE-NOTES: synced And bumped version to 7.86.1 for now |
716ad5ea | 25-Oct-2022 |
Daniel Stenberg |
CURLMOPT_SOCKETFUNCTION.3: clarify CURL_POLL_REMOVE The removal is brief or long, don't assume. Reported-by: Luca Niccoli Fixes #9799 Closes #9800 |
cd95ee9f | 24-Oct-2022 |
Daniel Stenberg |
RELEASE: synced The 7.86.0 release |
934ecfae | 26-Oct-2022 |
Daniel Stenberg |
THANKS: added from the 7.86.0 release |
86c00290 | 25-Oct-2022 |
Viktor Szakats |
noproxy: include netinet/in.h for htonl() Solve the Amiga build warning by including `netinet/in.h`. `krb5.c` and `socketpair.c` are using `htonl()` too. This header is already
noproxy: include netinet/in.h for htonl() Solve the Amiga build warning by including `netinet/in.h`. `krb5.c` and `socketpair.c` are using `htonl()` too. This header is already included in those sources. Regression from 1e9a538e05c0107c54ef81d9de7cd0b27cd13309 Reviewed-by: Daniel Stenberg Closes #9787
show more ...
|
0e6e5693 | 24-Oct-2022 |
Marc Hoersken |
CI: fix AppVeyor status failing for starting jobs |
038bfb85 | 06-Oct-2022 |
Daniel Stenberg |
test445: verifies the protocols-over-http-proxy flaw and fix |
55e18757 | 06-Oct-2022 |
Daniel Stenberg |
http_proxy: restore the protocol pointer on error Reported-by: Trail of Bits Closes #9790 |
9d0869d2 | 24-Oct-2022 |
Daniel Stenberg |
multi: remove duplicate include of connect.h Reported-by: Martin Strunz Fixes #9794 Closes #9795 |
d4a4d540 | 24-Oct-2022 |
Daniel Gustafsson |
idn: fix typo in test description s/enabked/enabled/i |
53bcf55b | 12-Oct-2022 |
Daniel Stenberg |
url: use IDN decoded names for HSTS checks Reported-by: Hiroki Kurosawa Closes #9791 |
809c81b9 | 24-Oct-2022 |
Daniel Stenberg |
unit1614: fix disabled-proxy build Follow-up to 1e9a538e05c01 Closes #9792 |
8f384577 | 24-Oct-2022 |
Daniel Gustafsson |
cookies: optimize control character check When checking for invalid octets the strcspn() call will return the position of the first found invalid char or the first NULL byte. This me
cookies: optimize control character check When checking for invalid octets the strcspn() call will return the position of the first found invalid char or the first NULL byte. This means that we can check the indicated position in the search- string saving a strlen() call. Closes: #9736 Reviewed-by: Jay Satiro <raysatiro@yahoo.com>
show more ...
|
c97ec984 | 04-Oct-2022 |
Daniel Stenberg |
netrc: replace fgets with Curl_get_line Make the parser only accept complete lines and avoid problems with overly long lines. Reported-by: Hiroki Kurosawa Closes #9789 |
84c6b1a0 | 23-Oct-2022 |
Daniel Stenberg |
RELEASE-NOTES: add "Planned upcoming removals include" URL: https://curl.se/mail/archive-2022-10/0001.html Suggested-by: Dan Fandrich |
b9a8da4e | 23-Oct-2022 |
Viktor Szakats |
ci: bump to gcc-11 for macos Ref: https://github.blog/changelog/2022-10-03-github-actions-jobs-running-on-macos-latest-are-now-running-on-macos-12/ Ref: https://github.com/actions/runner
ci: bump to gcc-11 for macos Ref: https://github.blog/changelog/2022-10-03-github-actions-jobs-running-on-macos-latest-are-now-running-on-macos-12/ Ref: https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md Reviewed-by: Max Dymond Closes #9785
show more ...
|
a0d8a1aa | 22-Oct-2022 |
Viktor Szakats |
Makefile.m32: reintroduce CROSSPREFIX and -W -Wall [ci skip] - Reintroduce `CROSSPREFIX`: If set, we add it to the `CC` and `AR` values, and to the _default_ value of `RC`,
Makefile.m32: reintroduce CROSSPREFIX and -W -Wall [ci skip] - Reintroduce `CROSSPREFIX`: If set, we add it to the `CC` and `AR` values, and to the _default_ value of `RC`, which is `windres`. This allows to control each of these individidually, while also allowing to simplify configuration via `CROSSPREFIX`. This variable worked differently earlier. Hopefully this new solution hits a better compromise in usefulness/complexity/flexibility. Follow-up to: aa970c4c08775afcd0c2853be89b0a6f02582d50 - Enable warnings again: This time with an option to override it via `CFLAGS`. Warnings are also enabled by default in CMake, `makefile.dj` and `makefile.amiga` builds (not in autotools though). Follow-up to 10fbd8b4e3f83b967fd9ad9a41ab484c0e7e7ca3 Closes #9784
show more ...
|
9b63dda1 | 22-Oct-2022 |
Viktor Szakats |
noproxy: silence unused variable warnings with no ipv6 Follow-up to 36474f1050c7f4117e3c8de6cc9217cfebfc717d Reviewed-by: Daniel Stenberg Closes #9782 |