curl/lib
Viktor Szakats a3585c9576
Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3)
`Makefile.mk` supported MS-DOS and Amiga, but `./configure` also
supported them in a better tested and more flexible way.

This patch also adds CMake support for MS-DOS/DJGPP and Amiga OS 3.

`Makefile.mk` was not maintained. Delete it in favour of first-tier
build methods.

Also include some non-MS-DOS/AmigaOS-specific tidy-up, see details at
the end of this message.

Details:

- fix/silence all MS-DOS/DJGPP build warnings and issues.
- add MS-DOS support to cmake.
  - default to `ENABLE_THREADED_RESOLVER=OFF` for MS-DOS.
  - add support for `WATT_ROOT`.
  - use static libcurl with MS-DOS.
  - fixup default CMake suffixes/prefixes for DJGPP.
  - disable hidden symbols for MS-DOS. Not supported on MS-DOS.
  - opt-in MS-DOS into `USE_UNIX_SOCKETS`.
- improve MS-DOS support in autotools.
  - default to `--disable-threaded-resolver` for MS-DOS.
- make sure to use `close_s()` (from Watt-32) with autotools and cmake.
  `Makefile.mk` used it before this patch.
- GHA: add DJGPP cmake (~30s) and autotools (~60s) build jobs.
  Also build tests and examples with cmake.
- improve AmigaOS support in autotools:
  - configure: detect `CloseSocket()` when it's a macro.
  - configure: fix `IoctlSocket` detection on AmigaOS.
  - curl-amissl.m4: pass AmiSSL libs to tests/servers.
- add AmigaOS3 support to cmake:
  - cmake: fix `HAVE_IOCTLSOCKET_CAMEL` and
    `HAVE_IOCTLSOCKET_CAMEL_FIONBIO` detections.
  - set necessary system libs.
  - add AmiSSL support.
  - inet_ntop, inet_pton: fix using it for AmigaOS. cmake detects them,
    and they did not compile with AmigaOS.
  - cmake: better sync `gethostname` detection with autotools.
    Fixes detection for AmigaOS, where `gethostname` is a macro.
  - cmake: fix `sys/utime.h` detection on AmigaOS.
  - cmake: force-disable `getaddrinfo` for AmigaOS.
  - cmake: tweak threading and static/shared default for AmigaOS.
  - cmake: rely on manual variable `AMIGA` to enable the platform.
- GHA: add AmigaOS cmake and autotools (~45s) jobs.
  Also build tests and examples with cmake.
- INSTALL: update MS-DOS and AmigaOS build instructions.
- amigaos: fix `-Wpointer-sign` and
  `zero or negative size array '_args'` in `Printf()`.
- amigaos: fix `-Wpointer-sign`
- amigaos: fix `-Wredundant-decls` `errno` and `h_errno`.
- amigaos: brute-force silence `lseek()` size warnings.
- amigaos: server/resolve: silence `-Wdiscarded-qualifiers`.
- amigaos: server/resolve: fix `-Wpointer-sign`.
- amigaos: fix `CURL_SA_FAMILY_T` type.
- nonblock: prefer `HAVE_IOCTLSOCKET_CAMEL_FIONBIO` for AmigaOS.
  `ioctl` is also detected, but fails when used. Make the above override
  it for a successful build.
  Authored-by: Darren Banfi
  Fixes #15537
  Closes #15603
- tftpd: prefer `HAVE_IOCTLSOCKET_CAMEL_FIONBIO` for AmigaOS.
- tftpd: tidy-up conditional code.
- curl: set stack size to 16384 for AmigaOS3/4
  Overriding the default 4096.
  Suggested-by: Darren Banfi
  Ref: https://github.com/curl/curl/pull/15543#issuecomment-2498783123
  Ref: https://wiki.amigaos.net/wiki/Controlling_Application_Stack
- functypes.h: fix `SEND_QUAL_ARG2` for AmigaOS.
- tftp: add missing cast in sendto() call for AmigaOS.
- getinfo: fix warning with AmigaOS.
- tool_operate: silence warning with AmigaOS
- amigaos: fix building libtests due to missing `RLIMIT_NOFILE`.
- curl_gethostname: silence warning for AmigaOS.
- ftp: silence `-Wtype-limits` for AmigaOS.
- libtest: fix timeval initialization for AmigaOS.
- examples: fix `timeval` initialization for AmigaOS.
- examples: silence warning for AmigaOS.
- configure: fix IPv6 detection for cross-builds.
- netrc: fix to build with AmigaOS cleanly.
- buildinfo: detect and add `DOS` tag for MS-DOS builds.
- buildinfo: add `AMIGA` to buildinfo.txt in auttools.
- build: move `USE_WATT32` macro definition to cmake/configure.

Non-MS-DOS/AmigeOS-specific tidy-ups:

- configure: sync `sa_family_t` detection with cmake.
- configure: sync `ADDRESS_FAMILY` detection signals with cmake.
- doh: use `CURL_SA_FAMILY_T`.
- lib: drop mingw-specific `CURL_SA_FAMILY_T` workaround.
- cmake: extend instead of override check-specific
  configurations/requirements.
  This allows to honor global requirements added earlier.
  Necessary for AmigaOS for example.
- cmake: omit warning on disabled IPv6 for MS-DOS and AmigaOS.
  No IPv6 support on these platforms. Also sync with autotools.
- lib1960: use libcurl `inet_pton()` wrapper.
- cmake: detect LibreSSL (to match autotools).
- cmake: say the specific OpenSSL flavour detected.
- hostip: add missing `HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID` guard.
- lib: simplify classic mac feature guards.

Follow-up to a8861b6ccd #9764

Closes #15543
2024-12-16 23:20:55 +01:00
..
vauth digest: produce a shorter cnonce in Digest headers 2024-12-04 15:34:25 +01:00
vquic vquic: recv_mmsg, use fewer, but larger buffers 2024-10-31 23:40:51 +01:00
vssh libssh: use libssh sftp_aio to upload file 2024-12-02 21:33:24 +01:00
vtls sectransp: free certificate on error 2024-12-11 13:09:44 +01:00
.checksrc checksrc: add STRNCPY as an opt-in rule to detect and error on strncpy 2024-09-09 13:47:50 +02:00
.gitattributes copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
.gitignore build: remove MacOSX-Framework script 2024-04-08 22:46:51 +02:00
altsvc.c altsvc: avoid integer overflow in expire calculation 2024-12-15 00:11:24 +01:00
altsvc.h llist: remove direct struct accesses, use only functions 2024-08-12 13:18:10 +02:00
amigaos.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
amigaos.h tidy-up: mostly whitespace nits 2023-08-31 23:02:10 +00:00
arpa_telnet.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
asyn-ares.c asyn-ares: remove typecast, fix expire 2024-10-04 14:08:09 +02:00
asyn-thread.c async-thread: avoid closing eventfd twice 2024-12-12 15:58:47 +01:00
asyn.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
base64.c lib: silence -Wsign-conversion in base64, strcase, mprintf 2024-04-24 23:29:30 +02:00
bufq.c bufq: unwrite fix 2024-10-03 13:27:36 +02:00
bufq.h websocket: introduce blocking sends 2024-08-12 19:19:28 +02:00
bufref.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
bufref.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
c-hyper.c WebSockets: make support official (non-experimental) 2024-09-27 13:20:25 +02:00
c-hyper.h http: expect 100 rework 2024-03-18 12:41:56 +01:00
cf-h1-proxy.c src/lib: remove redundant ternary operators 2024-10-29 08:18:30 +01:00
cf-h1-proxy.h proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
cf-h2-proxy.c nghttp2: use custom memory functions 2024-11-08 23:20:32 +01:00
cf-h2-proxy.h proxy: http2 proxy tunnel implementation 2023-04-06 13:04:46 +02:00
cf-haproxy.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
cf-haproxy.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
cf-https-connect.c TLS: TLSv1.3 earlydata support for curl 2024-10-11 12:28:22 +02:00
cf-https-connect.h lib: give source files cf-http.* better fitting names 2023-03-02 08:48:34 +01:00
cf-socket.c socket: handle binding to "host!<ip>" 2024-11-17 11:34:40 +01:00
cf-socket.h ftp: move listen handling to socket filter 2024-10-13 23:15:28 +02:00
cfilters.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
cfilters.h connect: limit update IP info 2024-08-28 13:58:10 +02:00
CMakeLists.txt cmake: namespace functions and macros 2024-12-16 21:55:00 +01:00
config-mac.h build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
config-os400.h build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
config-plan9.h config: rename the OS define to CURL_OS to reduce collision risk 2024-10-30 14:59:54 +01:00
config-riscos.h build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
config-win32.h build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
config-win32ce.h build: drop unused feature macros, update exception list 2024-12-16 18:05:24 +01:00
conncache.c tidy-up: whitespace, fix CI spacecheck for docs 2024-10-30 23:15:28 +01:00
conncache.h conncache: result_cb comment removed from function docs 2024-12-11 13:07:18 +01:00
connect.c source: avoid use of 'very' in comments 2024-10-17 13:36:33 +02:00
connect.h connect: limit update IP info 2024-08-28 13:58:10 +02:00
content_encoding.c build: fix clang-cl builds, add CI job 2024-10-30 23:15:32 +01:00
content_encoding.h content_encoding: make Curl_all_content_encodings allocless 2023-11-07 16:35:30 +01:00
cookie.c cookie: parse only the exact expire date 2024-12-11 09:31:53 +01:00
cookie.h cookie: overhaul and cleanup 2024-10-11 09:01:03 +02:00
curl_addrinfo.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
curl_addrinfo.h curl_addrinfo: support operating systems with only getaddrinfo(3) 2024-11-02 22:28:59 +01:00
curl_base64.h tool: add "variable" support 2023-07-31 11:51:34 +02:00
curl_config.h.cmake Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
curl_ctype.h strparse: string parsing helper functions 2024-12-12 16:00:52 +01:00
curl_des.c lib: fix building with wolfSSL without DES support 2024-08-13 09:28:27 +02:00
curl_des.h lib: fix building with wolfSSL without DES support 2024-08-13 09:28:27 +02:00
curl_endian.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
curl_endian.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_fnmatch.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
curl_fnmatch.h tidy-up: OS names 2024-08-04 19:17:45 +02:00
curl_get_line.c lib: convert Curl_get_line to use dynbuf 2024-02-07 09:22:10 +01:00
curl_get_line.h lib: convert Curl_get_line to use dynbuf 2024-02-07 09:22:10 +01:00
curl_gethostname.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
curl_gethostname.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_gssapi.c tidy-up: whitespace, fix CI spacecheck for docs 2024-10-30 23:15:28 +01:00
curl_gssapi.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_hmac.h lib: remove function pointer typecasts for hmac/sha256/md5 2024-10-15 14:32:39 +02:00
curl_krb5.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_ldap.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_md4.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
curl_md5.h lib: remove function pointer typecasts for hmac/sha256/md5 2024-10-15 14:32:39 +02:00
curl_memory.h lib: memdebug comment fixup [ci skip] 2024-09-21 01:27:43 +02:00
curl_memrchr.c singleuse: drop Curl_memrchr() for no-HTTP builds 2024-09-15 16:33:24 +02:00
curl_memrchr.h singleuse: drop Curl_memrchr() for no-HTTP builds 2024-09-15 16:33:24 +02:00
curl_multibyte.c curl_multibyte: remove access() function wrapper for Windows 2024-05-07 02:28:10 -04:00
curl_multibyte.h tidy-up: OS names 2024-08-04 19:17:45 +02:00
curl_ntlm_core.c liub: fixes for wolfSSL OPENSSL_COEXIST 2024-12-04 08:25:14 +01:00
curl_ntlm_core.h cmake: fix building unit1600 due to missing ssl/openssl.h 2024-07-13 12:00:14 +02:00
curl_printf.h printf: fix mingw-w64 format checks 2024-09-02 21:03:01 +02:00
curl_range.c lib: use FMT_ as prefix instead of CURL_FORMAT_ 2024-09-03 08:45:45 +02:00
curl_range.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl_rtmp.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
curl_rtmp.h curl_version_info: provide librtmp version 2024-04-15 16:48:34 +02:00
curl_sasl.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
curl_sasl.h misc: reduce struct and struct field sizes 2023-01-04 15:36:36 +01:00
curl_setup_once.h Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
curl_setup.h Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
curl_sha256.h lib: remove function pointer typecasts for hmac/sha256/md5 2024-10-15 14:32:39 +02:00
curl_sha512_256.c lib: replace inline redefine with CURL_INLINE macro 2024-12-16 19:26:22 +01:00
curl_sha512_256.h curl_sha512_256: fix symbol collisions with nettle library 2024-08-13 10:04:06 +02:00
curl_sspi.c lib: make SSPI global symbols use Curl_ prefix 2024-09-04 14:55:10 +02:00
curl_sspi.h lib: make SSPI global symbols use Curl_ prefix 2024-09-04 14:55:10 +02:00
curl_threads.c tidy-up: rename CURL_WINDOWS_APP to CURL_WINDOWS_UWP 2024-09-19 19:24:12 +02:00
curl_threads.h tidy-up: rename CURL_WINDOWS_APP to CURL_WINDOWS_UWP 2024-09-19 19:24:12 +02:00
curl_trc.c strtok: use namespaced strtok_r macro instead of redefining it 2024-11-14 09:55:45 +01:00
curl_trc.h lib: fix disabled-verbose-strings + enable-debug build warnings 2024-09-27 13:20:25 +02:00
curlx.h tidy-up: indent, whitespace, comment in sources 2024-09-22 09:51:14 +02:00
cw-out.c lib/cw-out: initialize 'flush_all' directly 2024-09-26 16:55:01 +02:00
cw-out.h cw-out: improved error handling 2024-04-16 15:52:10 +02:00
dict.c lib: add eos flag to send methods 2024-08-03 19:53:54 +02:00
dict.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
dllmain.c dllmain: Call OpenSSL thread cleanup for Windows and Cygwin 2024-04-24 04:04:25 -04:00
doh.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
doh.h doh: cleanups 2024-09-06 08:58:52 +02:00
dynbuf.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
dynbuf.h build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
dynhds.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
dynhds.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
easy_lock.h lib: replace inline redefine with CURL_INLINE macro 2024-12-16 19:26:22 +01:00
easy.c duphandle: also init netrc 2024-11-07 09:47:53 +01:00
easygetopt.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
easyif.h WebSockets: make support official (non-experimental) 2024-09-27 13:20:25 +02:00
easyoptions.c tcpkeepalive: add CURLOPT_TCP_KEEPCNT and --keepalive-cnt 2024-06-12 09:31:17 +02:00
easyoptions.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
escape.c curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
escape.h lib: provide and use Curl_hexencode 2023-09-30 11:45:39 +02:00
file.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
file.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
fileinfo.c ftplistparser: replace realloc with dynbuf 2023-03-28 10:11:33 +02:00
fileinfo.h llist: remove direct struct accesses, use only functions 2024-08-12 13:18:10 +02:00
fopen.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
fopen.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
formdata.c build: use _fseeki64() on Windows, drop detections 2024-11-11 14:25:04 +01:00
formdata.h curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
ftp.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
ftp.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
ftplistparser.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
ftplistparser.h wildcard: remove files and move functions into ftplistparser.c 2023-03-03 23:25:30 +01:00
functypes.h Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
getenv.c tidy-up: rename CURL_WINDOWS_APP to CURL_WINDOWS_UWP 2024-09-19 19:24:12 +02:00
getinfo.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
getinfo.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
gopher.c lib: add eos flag to send methods 2024-08-03 19:53:54 +02:00
gopher.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
hash.c hash: provide asserts to verify API use 2024-08-15 08:54:19 +02:00
hash.h hash: provide asserts to verify API use 2024-08-15 08:54:19 +02:00
headers.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
headers.h llist: remove direct struct accesses, use only functions 2024-08-12 13:18:10 +02:00
hmac.c lib: remove function pointer typecasts for hmac/sha256/md5 2024-10-15 14:32:39 +02:00
hostasyn.c url: dns_entry related improvements 2024-08-03 19:51:02 +02:00
hostip4.c curl_addrinfo: support operating systems with only getaddrinfo(3) 2024-11-02 22:28:59 +01:00
hostip6.c tidy-up: OS names 2024-08-04 19:17:45 +02:00
hostip.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
hostip.h tidy-up: OS names 2024-08-04 19:17:45 +02:00
hostsyn.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
hsts.c strparse: string parsing helper functions 2024-12-12 16:00:52 +01:00
hsts.h strparse: string parsing helper functions 2024-12-12 16:00:52 +01:00
http1.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
http1.h http: h1/h2 proxy unification 2023-09-25 20:12:18 +02:00
http2.c nghttp2: use custom memory functions 2024-11-08 23:20:32 +01:00
http2.h nghttp2: use custom memory functions 2024-11-08 23:20:32 +01:00
http_aws_sigv4.c strparse: string parsing helper functions 2024-12-12 16:00:52 +01:00
http_aws_sigv4.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
http_chunks.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
http_chunks.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
http_digest.c src/lib: remove redundant ternary operators 2024-10-29 08:18:30 +01:00
http_digest.h lib: add ability to disable auths individually 2023-09-07 17:45:06 +02:00
http_negotiate.c http_negotiate: allow for a one byte larger channel binding buffer 2024-12-05 23:09:28 +01:00
http_negotiate.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
http_ntlm.c lib: make SSPI global symbols use Curl_ prefix 2024-09-04 14:55:10 +02:00
http_ntlm.h tidy-up: OS names 2024-08-04 19:17:45 +02:00
http_proxy.c http_proxy: move dynhds_add_custom here from http.c 2024-12-03 15:02:58 +01:00
http_proxy.h http_proxy: move dynhds_add_custom here from http.c 2024-12-03 15:02:58 +01:00
http.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
http.h http_proxy: move dynhds_add_custom here from http.c 2024-12-03 15:02:58 +01:00
idn.c configure: fix WinIDN builds targeting old Windows 2024-08-27 23:40:48 +02:00
idn.h idn: add native AppleIDN (icucore) support for macOS/iOS 2024-04-17 00:24:09 +02:00
if2ip.c lib: fix AIX build issues 2024-08-09 10:45:40 +02:00
if2ip.h if2ip: make the buf_size arg a size_t 2024-04-30 14:22:11 +02:00
imap.c src/lib: remove redundant ternary operators 2024-10-29 08:18:30 +01:00
imap.h misc: reduce struct and struct field sizes 2023-01-04 15:36:36 +01:00
inet_ntop.c tidy-up: OS names 2024-08-04 19:17:45 +02:00
inet_ntop.h Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
inet_pton.c tidy-up: OS names 2024-08-04 19:17:45 +02:00
inet_pton.h Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
krb5.c krb5: fix socket/sockindex confusion, MSVC compiler warnings 2024-11-16 00:12:08 +01:00
ldap.c strtok: use namespaced strtok_r macro instead of redefining it 2024-11-14 09:55:45 +01:00
libcurl.def libcurl.def: move from / into lib 2024-09-05 17:05:40 +02:00
libcurl.rc (lib)curl.rc: set debug flag also for CURLDEBUG and UNITTESTS 2024-05-22 08:38:12 +02:00
libcurl.vers.in build: tidy up and improve versioned-symbols options 2024-09-21 12:21:14 +02:00
llist.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
llist.h cpool: rename "connection cache/conncache" to "Connection Pools/cpool" 2024-08-28 13:52:49 +02:00
macos.c tidy-up: misc build, tests, lib/macos.c 2024-08-16 16:05:36 +02:00
macos.h macOS: fix target detection more 2023-07-29 23:42:53 +02:00
Makefile.am Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
Makefile.inc strparse: string parsing helper functions 2024-12-12 16:00:52 +01:00
Makefile.soname build: tidy up and improve versioned-symbols options 2024-09-21 12:21:14 +02:00
md4.c liub: fixes for wolfSSL OPENSSL_COEXIST 2024-12-04 08:25:14 +01:00
md5.c liub: fixes for wolfSSL OPENSSL_COEXIST 2024-12-04 08:25:14 +01:00
memdebug.c source: avoid use of 'very' in comments 2024-10-17 13:36:33 +02:00
memdebug.h lib: memdebug comment fixup [ci skip] 2024-09-21 01:27:43 +02:00
mime.c mime: fix reader stall on small read lengths 2024-12-05 15:44:51 +01:00
mime.h code: language cleanup in comments 2024-07-01 22:58:55 +02:00
mprintf.c mprintf: fix the integer overflow checks 2024-12-06 16:38:30 +01:00
mqtt.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
mqtt.h mqtt, remove remaining use of data->state.buffer 2024-01-27 12:42:19 +01:00
multi.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
multihandle.h vquic: recv_mmsg, use fewer, but larger buffers 2024-10-31 23:40:51 +01:00
multiif.h vquic: recv_mmsg, use fewer, but larger buffers 2024-10-31 23:40:51 +01:00
netrc.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
netrc.h netrc: cache the netrc file in memory 2024-10-11 14:40:12 +02:00
nonblock.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
nonblock.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
noproxy.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
noproxy.h noproxy: patterns need to be comma separated 2024-06-01 12:25:13 +02:00
openldap.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
optiontable.pl curl.h: make CURLOPT_WRITEINFO and CURLOPT_CLOSEPOLICY compile 2024-09-02 10:43:34 +02:00
parsedate.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
parsedate.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
pingpong.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
pingpong.h ftp: flush pingpong before response 2024-08-08 17:52:25 +02:00
pop3.c src/lib: remove redundant ternary operators 2024-10-29 08:18:30 +01:00
pop3.h pop3: use the protocol handler ->write_resp 2024-08-26 14:59:50 +02:00
progress.c TLS: TLSv1.3 earlydata support for curl 2024-10-11 12:28:22 +02:00
progress.h TLS: TLSv1.3 earlydata support for curl 2024-10-11 12:28:22 +02:00
psl.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
psl.h curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
rand.c tidy-up: rename CURL_WINDOWS_APP to CURL_WINDOWS_UWP 2024-09-19 19:24:12 +02:00
rand.h vtls/rustls: support strong CSRNG data 2024-09-13 14:11:56 +02:00
rename.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
rename.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
request.c request: on shutdown send, proceed normally on timeout 2024-09-20 23:43:43 +02:00
request.h request: on shutdown send, proceed normally on timeout 2024-09-20 23:43:43 +02:00
rtsp.c rtsp: check EOS in the RTSP receive and return an error code 2024-11-25 18:36:41 +01:00
rtsp.h http: remove "struct HTTP" 2024-06-12 16:04:53 +02:00
select.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
select.h multi: prepare multi_wait() for future shutdown usage 2024-06-10 13:11:05 +02:00
sendf.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
sendf.h transfer: do not use EXPIRE_NOW while blocked 2024-06-13 15:13:43 +02:00
setopt.c setopt: fix missing options for builds without HTTP & MQTT 2024-11-29 12:49:55 -05:00
setopt.h setopt: warn on Curl_set*opt() uses not using the return value 2024-05-12 17:27:51 +02:00
setup-os400.h os400: workaround an IBM ASCII run-time library bug 2024-07-27 00:17:13 +02:00
setup-vms.h tidy-up: misc spelling (bit, ASCII) 2024-08-15 15:30:09 +02:00
setup-win32.h tidy-up: OS names 2024-08-04 19:17:45 +02:00
sha256.c wolfssl: no more use of the OpenSSL API 2024-11-04 10:23:05 +01:00
share.c curl.h: remove the struct pointer for CURL/CURLSH/CURLM typedefs 2024-10-15 14:33:40 +02:00
share.h cpool: rename "connection cache/conncache" to "Connection Pools/cpool" 2024-08-28 13:52:49 +02:00
sigpipe.h transfer: Curl_sendrecv() and event related improvements 2024-08-17 10:52:53 +02:00
slist.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
slist.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
smb.c build: fix MSVC UWP builds 2024-11-28 14:24:03 +01:00
smb.h lib: further send/upload handling polish 2024-03-04 08:42:56 +01:00
smtp.c src/lib: remove redundant ternary operators 2024-10-29 08:18:30 +01:00
smtp.h lib: further send/upload handling polish 2024-03-04 08:42:56 +01:00
sockaddr.h build: prefer USE_IPV6 macro internally (was: ENABLE_IPV6) 2024-04-13 08:33:26 +00:00
socketpair.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
socketpair.h socketpair: fix enabling USE_EVENTFD 2024-11-14 09:55:45 +01:00
socks_gssapi.c socks_gssapi: switch to dynbuf from buffer with strcpy 2024-09-26 23:24:14 +02:00
socks_sspi.c lib/src: white space edits to comply better with code style 2024-09-19 14:59:12 +02:00
socks.c src/lib: remove redundant ternary operators 2024-10-29 08:18:30 +01:00
socks.h lib: remove unused functions, make single-use static 2023-05-23 11:08:51 +02:00
speedcheck.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
speedcheck.h tests: fix callback signatures to please UndefinedBehaviorSanitizer 2024-10-15 14:33:47 +02:00
splay.c source: avoid use of 'very' in comments 2024-10-17 13:36:33 +02:00
splay.h splay: use access functions, add asserts, use Curl_timediff 2024-08-16 09:12:13 +02:00
strcase.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
strcase.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
strdup.c lib: rename Curl_strndup to Curl_memdup0 to avoid misunderstanding 2023-12-08 17:22:33 +01:00
strdup.h lib: rename Curl_strndup to Curl_memdup0 to avoid misunderstanding 2023-12-08 17:22:33 +01:00
strerror.c curl.h: mark two error codes as obsolete 2024-11-16 23:39:04 +01:00
strerror.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
strparse.c strparse: string parsing helper functions 2024-12-12 16:00:52 +01:00
strparse.h strparse: string parsing helper functions 2024-12-12 16:00:52 +01:00
strtok.c code: language cleanup in comments 2024-07-01 22:58:55 +02:00
strtok.h strtok: use namespaced strtok_r macro instead of redefining it 2024-11-14 09:55:45 +01:00
strtoofft.c tidy-up: misc spelling (bit, ASCII) 2024-08-15 15:30:09 +02:00
strtoofft.h docs: misc language polish 2024-07-01 16:45:17 +02:00
system_win32.c tidy-up: rename CURL_WINDOWS_APP to CURL_WINDOWS_UWP 2024-09-19 19:24:12 +02:00
system_win32.h asyn-thread: stop using GetAddrInfoExW on Windows 2024-09-08 11:39:30 -04:00
telnet.c telnet: avoid two strcpy() by pointing to the strings instead 2024-10-08 15:40:00 +02:00
telnet.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
tftp.c Makefile.mk: drop in favour of autotools and cmake (MS-DOS, AmigaOS3) 2024-12-16 23:20:55 +01:00
tftp.h setopt: check CURLOPT_TFTP_BLKSIZE range on set 2023-11-22 07:44:05 +01:00
timediff.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
timediff.h lib: use FMT_ as prefix instead of CURL_FORMAT_ 2024-09-03 08:45:45 +02:00
timeval.c tidy-up: OS names 2024-08-04 19:17:45 +02:00
timeval.h multi: round the timeout up to prevent early wakeups 2023-09-28 09:52:20 +02:00
transfer.c lib: remove Curl_ prefix from static functions 2024-10-27 10:57:21 +01:00
transfer.h multi: convert Curl_follow to static multi_follow 2024-10-11 12:26:36 +02:00
url.c strparse: string parsing helper functions 2024-12-12 16:00:52 +01:00
url.h cpool: rename "connection cache/conncache" to "Connection Pools/cpool" 2024-08-28 13:52:49 +02:00
urlapi-int.h build: untangle UNITTESTS and DEBUGBUILD macros 2024-05-27 21:15:50 +02:00
urlapi.c urlapi: normalize the IPv6 address 2024-10-03 16:05:03 +02:00
urldata.h source: avoid use of 'very' in comments 2024-10-17 13:36:33 +02:00
version_win32.c lib: use bool/TRUE/FALSE properly 2024-10-03 09:31:56 +02:00
version_win32.h tidy-up: OS names 2024-08-04 19:17:45 +02:00
version.c tidy-up: indentation [ci skip] 2024-11-15 22:05:06 +01:00
warnless.c warnless: remove curlx_sktosi and curlx_sitosk 2024-10-05 00:28:06 +02:00
warnless.h warnless: remove curlx_sktosi and curlx_sitosk 2024-10-05 00:28:06 +02:00
ws.c curl_ws_recv: return recv 0 and point meta to NULL on all errors 2024-10-20 22:57:24 +02:00
ws.h WebSockets: make support official (non-experimental) 2024-09-27 13:20:25 +02:00