curl-curl/lib
Viktor Szakats ccb65643b6
cmake: omit clang-tidy on internal libs curlu and curltool
Skip clang-tidy while compiling curlu and curltool internal libraries.
To save about 1 minute per run. These libraries compile the lib and src
sources a second time, with the `UNITTESTS` macro enabled, which makes
tiny difference, for internal use. I figure it's not worth the extra CI
(and local) time because finding extra issues in these passes is
unlikely, and if found, not critical.

autotools also doesn't check curlu and curltool with clang-tidy.

Ref: https://github.com/curl/curl/pull/17680#issuecomment-2991730158
Ref: https://stackoverflow.com/questions/61867616/ignore-certain-files-when-using-clang-tidy
Ref: https://cmake.org/cmake/help/latest/prop_tgt/LANG_CLANG_TIDY.html

Follow-up to fabfa8e402 #15825

Closes #17693
2025-06-21 10:43:32 +02:00
..
curlx warnless: drop parts of the read/write preprocessor hack (Windows) 2025-06-19 17:09:43 +02:00
vauth digest: fix build with disabled digest auth 2025-06-15 12:07:22 +02:00
vquic connection: eliminate member remote_addr 2025-06-20 12:54:36 +02:00
vssh lib: unify recv/send function signatures 2025-06-11 11:21:10 +02:00
vtls vtls: change send/recv signatures of tls backends 2025-06-21 10:34:02 +02:00
.checksrc lib: use Curl_str_* instead of strtok_r() 2025-02-17 13:18:28 +01:00
.gitignore
altsvc.c spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
altsvc.h lib: use BIT() instead of bool in structs more 2025-04-22 08:01:08 +02:00
amigaos.c core: stop redefining E* macros on Windows, map EACCES, related fixes 2025-03-13 00:03:25 +01:00
amigaos.h
arpa_telnet.h
asyn-ares.c asyn-ares: remove obsolete reference to local_ip6 2025-05-26 10:12:28 +02:00
asyn-base.c asyn-base: remove the HTTPSRR_WORKS define 2025-04-24 08:40:52 +02:00
asyn-thrdd.c asyn-thrdd: free the previous name before strdup'ing the new 2025-06-12 12:53:57 +02:00
asyn.h c-ares: really lazy init channel 2025-04-24 14:07:01 +02:00
bufq.c
bufq.h
bufref.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
bufref.h
cf-h1-proxy.c lib: unify recv/send function signatures 2025-06-11 11:21:10 +02:00
cf-h1-proxy.h
cf-h2-proxy.c lib: unify recv/send function signatures 2025-06-11 11:21:10 +02:00
cf-h2-proxy.h
cf-haproxy.c lib: unify recv/send function signatures 2025-06-11 11:21:10 +02:00
cf-haproxy.h
cf-https-connect.c url: fix connection lifetime checks 2025-06-11 08:07:57 +02:00
cf-https-connect.h dns_entry: move from conn to data->state 2025-05-20 14:49:17 +02:00
cf-socket.c connection: eliminate member remote_addr 2025-06-20 12:54:36 +02:00
cf-socket.h curlx: move nonblock.[ch] into curlx/ 2025-05-08 13:22:02 +02:00
cfilters.c connection: eliminate member remote_addr 2025-06-20 12:54:36 +02:00
cfilters.h connection: eliminate member remote_addr 2025-06-20 12:54:36 +02:00
CMakeLists.txt cmake: omit clang-tidy on internal libs curlu and curltool 2025-06-21 10:43:32 +02:00
config-mac.h build: drop HAVE_SYS_SOCKET_H and HAVE_SYS_TIME_H macros 2025-06-15 18:44:39 +02:00
config-os400.h build: drop HAVE_SYS_SOCKET_H and HAVE_SYS_TIME_H macros 2025-06-15 18:44:39 +02:00
config-plan9.h build: drop HAVE_SYS_SOCKET_H and HAVE_SYS_TIME_H macros 2025-06-15 18:44:39 +02:00
config-riscos.h build: drop HAVE_SYS_SOCKET_H and HAVE_SYS_TIME_H macros 2025-06-15 18:44:39 +02:00
config-win32.h build: drop HAVE_SYS_SOCKET_H and HAVE_SYS_TIME_H macros 2025-06-15 18:44:39 +02:00
conncache.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
conncache.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
connect.c url: fix connection lifetime checks 2025-06-11 08:07:57 +02:00
connect.h dns_entry: move from conn to data->state 2025-05-20 14:49:17 +02:00
content_encoding.c CURLOPT_HTTP_TRANSFER_DECODING: fixed 2025-04-06 11:31:22 +02:00
content_encoding.h
cookie.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
cookie.h
cshutdn.c vauth: move auth structs to conn meta data 2025-06-10 15:57:44 +02:00
cshutdn.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
curl_addrinfo.c spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
curl_addrinfo.h
curl_config.h.cmake build: drop HAVE_SYS_SOCKET_H and HAVE_SYS_TIME_H macros 2025-06-15 18:44:39 +02:00
curl_ctype.h
curl_des.c TLS: remove support for Secure Transport and BearSSL 2025-06-11 07:54:19 +02:00
curl_des.h TLS: remove support for Secure Transport and BearSSL 2025-06-11 07:54:19 +02:00
curl_endian.c
curl_endian.h
curl_fnmatch.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
curl_fnmatch.h
curl_get_line.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
curl_get_line.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
curl_gethostname.c
curl_gethostname.h
curl_gssapi.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
curl_gssapi.h
curl_hmac.h
curl_krb5.h curl_krb5: only use functions if FTP is still enabled 2025-04-03 10:52:47 +02:00
curl_ldap.h
curl_md4.h
curl_md5.h
curl_memory.h windows: fixup fopen() in CURLDEBUG builds 2025-06-16 12:29:05 +02:00
curl_memrchr.c curl_memrchr: enable in all builds 2025-03-10 23:10:31 +01:00
curl_memrchr.h urlapi: fix redirect from file:// with query, and simplify 2025-02-27 11:51:19 +01:00
curl_ntlm_core.c TLS: remove support for Secure Transport and BearSSL 2025-06-11 07:54:19 +02:00
curl_ntlm_core.h vauth: move auth structs to conn meta data 2025-06-10 15:57:44 +02:00
curl_printf.h mprintf: provide hex digits for escape.c to use 2025-05-12 07:44:35 +02:00
curl_range.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
curl_range.h
curl_rtmp.c lib: unify recv/send function signatures 2025-06-11 11:21:10 +02:00
curl_rtmp.h
curl_sasl.c vauth: move auth structs to conn meta data 2025-06-10 15:57:44 +02:00
curl_sasl.h vauth: move auth structs to conn meta data 2025-06-10 15:57:44 +02:00
curl_setup_once.h memdebug: include in unity batch 2025-06-16 09:35:01 +02:00
curl_setup.h windows: fixup fopen() in CURLDEBUG builds 2025-06-16 12:29:05 +02:00
curl_sha256.h
curl_sha512_256.c TLS: remove support for Secure Transport and BearSSL 2025-06-11 07:54:19 +02:00
curl_sha512_256.h
curl_sspi.c windows: reduce/stop loading DLLs at runtime 2025-06-11 05:39:09 +02:00
curl_sspi.h windows: reduce/stop loading DLLs at runtime 2025-06-11 05:39:09 +02:00
curl_threads.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
curl_threads.h async-threaded resolver: use ref counter 2025-04-03 16:43:37 +02:00
curl_trc.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
curl_trc.h build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
cw-out.c xfer: manage pause bits 2025-06-20 22:59:08 +02:00
cw-out.h lib: add const to clientwriter tables 2025-04-03 12:45:54 -07:00
cw-pause.c lib: add const to clientwriter tables 2025-04-03 12:45:54 -07:00
cw-pause.h lib: add const to clientwriter tables 2025-04-03 12:45:54 -07:00
dict.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
dict.h
dllmain.c dllmain: exclude from Cygwin builds 2025-06-03 14:30:31 -04:00
doh.c tls: remove Curl_ssl false_start 2025-06-12 08:29:15 +02:00
doh.h doh: reduce the DNS request buffer size 2025-04-18 23:10:29 +02:00
dynhds.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
dynhds.h spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
easy_lock.h
easy.c xfer: manage pause bits 2025-06-20 22:59:08 +02:00
easygetopt.c lib: make Curl_easyopts const 2025-04-03 13:43:26 -07:00
easyif.h
easyoptions.c TLS: add CURLOPT_SSL_SIGNATURE_ALGORITHMS and --sigalgs 2025-04-30 17:47:22 +02:00
easyoptions.h lib: make Curl_easyopts const 2025-04-03 13:43:26 -07:00
escape.c mprintf: provide hex digits for escape.c to use 2025-05-12 07:44:35 +02:00
escape.h lib: unify conversions to/from hex 2025-04-02 14:17:56 +02:00
fake_addrinfo.c lib: provide a getaddrinfo wrapper 2025-04-28 23:48:02 +02:00
fake_addrinfo.h lib: provide a getaddrinfo wrapper 2025-04-28 23:48:02 +02:00
file.c file: use easy handle meta for protocol struct 2025-05-08 13:18:45 +02:00
file.h file: use easy handle meta for protocol struct 2025-05-08 13:18:45 +02:00
fileinfo.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
fileinfo.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
fopen.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
fopen.h
formdata.c formdata: fix memory leak in OOM situation 2025-05-20 10:44:53 +02:00
formdata.h formdata: cleanups 2025-05-19 13:26:02 +02:00
ftp.c ftp: fix prequotes for a directory in URL 2025-06-20 23:22:24 +02:00
ftp.h ftp: fix prequotes for a directory in URL 2025-06-20 23:22:24 +02:00
ftplistparser.c ftplistparser: split parse_unix into sub functions 2025-06-20 23:30:04 +02:00
ftplistparser.h
functypes.h
getenv.c build: add Windows CE / CeGCC support, with CI jobs 2025-02-21 13:56:34 +01:00
getinfo.c lib: change progress bitwise ops to bitfields 2025-05-23 23:13:03 +02:00
getinfo.h
gopher.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
gopher.h
hash.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
hash.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
headers.c spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
headers.h
hmac.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
hostip4.c asyn resolver code improvements 2025-04-16 09:34:20 +02:00
hostip6.c curlx: move curlx_inet_pton 2025-05-09 13:45:24 +02:00
hostip.c lib: make curlx_inet_ntop() 2025-06-09 13:16:01 +02:00
hostip.h dns_entry: move from conn to data->state 2025-05-20 14:49:17 +02:00
hsts.c spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
hsts.h lib: use BIT() instead of bool in structs more 2025-04-22 08:01:08 +02:00
http1.c spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
http1.h lib: use BIT() instead of bool in structs more 2025-04-22 08:01:08 +02:00
http2.c http2: do not delay RST send on aborted transfer 2025-06-17 11:57:56 +02:00
http2.h
http_aws_sigv4.c license: update some copyright links to curl.se 2025-06-01 13:44:15 +02:00
http_aws_sigv4.h license: update some copyright links to curl.se 2025-06-01 13:44:15 +02:00
http_chunks.c http_chunks: narrow variable scope for 'trlen' 2025-05-12 11:02:00 +02:00
http_chunks.h spelling: 'a' vs 'an' 2025-05-30 11:38:35 +02:00
http_digest.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
http_digest.h
http_negotiate.c vauth: move auth structs to conn meta data 2025-06-10 15:57:44 +02:00
http_negotiate.h vauth: move auth structs to conn meta data 2025-06-10 15:57:44 +02:00
http_ntlm.c http_ntlm: remove unreachable code 2025-06-11 23:06:06 +02:00
http_ntlm.h vauth: move auth structs to conn meta data 2025-06-10 15:57:44 +02:00
http_proxy.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
http_proxy.h
http.c http: explicitly ignore parsing errors for Retry-After 2025-06-20 21:54:27 +02:00
http.h headers: enforce a max number of response header to accept 2025-05-08 08:17:56 +02:00
httpsrr.c asyn resolver code improvements 2025-04-16 09:34:20 +02:00
httpsrr.h lib: use BIT() instead of bool in structs more 2025-04-22 08:01:08 +02:00
idn.c lib: move multibyte.[ch] to curlx/ 2025-05-08 10:19:19 +02:00
idn.h
if2ip.c lib: make curlx_inet_ntop() 2025-06-09 13:16:01 +02:00
if2ip.h
imap.c vauth: move auth structs to conn meta data 2025-06-10 15:57:44 +02:00
imap.h imap: use easy handle/connection meta for proto structs 2025-05-07 10:25:18 +02:00
krb5.c connection: eliminate member remote_addr 2025-06-20 12:54:36 +02:00
ldap.c lib: move multibyte.[ch] to curlx/ 2025-05-08 10:19:19 +02:00
libcurl.def
libcurl.rc
libcurl.vers.in
llist.c build: enable -Wcast-qual, fix or silence compiler warnings 2025-03-10 22:30:15 +01:00
llist.h
macos.c
macos.h
Makefile.am build: tidy up header paths, use srcdir where possible 2025-06-19 13:27:17 +02:00
Makefile.inc lib: make CURLX_SET_BINMODE() and use it 2025-06-19 15:57:37 +02:00
Makefile.soname tests: always make bundles, adapt build and tests 2025-06-14 21:08:23 +02:00
md4.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
md5.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
memdebug.c windows: fixup fopen() in CURLDEBUG builds 2025-06-16 12:29:05 +02:00
memdebug.h memdebug: include in unity batch 2025-06-16 09:35:01 +02:00
mime.c xfer: manage pause bits 2025-06-20 22:59:08 +02:00
mime.h
mprintf.c mprintf: move outputs into separate functions 2025-05-21 22:56:02 +02:00
mqtt.c lib: unify recv/send function signatures 2025-06-11 11:21:10 +02:00
mqtt.h mqtt: use conn/easy meta hash 2025-04-29 14:25:25 +02:00
multi_ev.c misc: fix spelling 2025-05-29 10:21:05 +02:00
multi_ev.h lib: add meta_hash to connection, eliminate hash_offt 2025-04-22 15:57:18 +02:00
multi.c xfer: manage pause bits 2025-06-20 22:59:08 +02:00
multihandle.h multi: do transfer book keeping using mid 2025-04-17 17:28:38 +02:00
multiif.h multi: do transfer book keeping using mid 2025-04-17 17:28:38 +02:00
netrc.c netrc: deal with null token better 2025-05-15 00:48:10 +02:00
netrc.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
noproxy.c spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
noproxy.h
openldap.c lib: unify recv/send function signatures 2025-06-11 11:21:10 +02:00
optiontable.pl scripts: fix perl indentation, whitespace, semicolons 2025-04-29 19:35:55 +02:00
parsedate.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
parsedate.h
pingpong.c openssl: fix handling of buffered data 2025-06-13 00:32:06 +02:00
pingpong.h smtp: use easy handle/connectin meta for proto structs 2025-05-07 16:01:05 +02:00
pop3.c vauth: move auth structs to conn meta data 2025-06-10 15:57:44 +02:00
pop3.h pop3: use meta hashes at easy handle and connection 2025-05-06 09:08:47 +02:00
progress.c system.h: remove some macros 2025-06-05 10:56:31 +02:00
progress.h lib: change progress bitwise ops to bitfields 2025-05-23 23:13:03 +02:00
psl.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
psl.h lib: use BIT() instead of bool in structs more 2025-04-22 08:01:08 +02:00
rand.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
rand.h
rename.c lib: move multibyte.[ch] to curlx/ 2025-05-08 10:19:19 +02:00
rename.h
request.c xfer: manage pause bits 2025-06-20 22:59:08 +02:00
request.h file: use easy handle meta for protocol struct 2025-05-08 13:18:45 +02:00
rtsp.c rtsp: remove redundant condition 2025-05-12 11:03:44 +02:00
rtsp.h rtsp: move easy handle/connection protoocol structs into meta data 2025-05-06 17:13:24 +02:00
select.c lib: make curlx_wait_ms() and use it 2025-06-19 15:57:37 +02:00
select.h lib: make curlx_wait_ms() and use it 2025-06-19 15:57:37 +02:00
sendf.c xfer: manage pause bits 2025-06-20 22:59:08 +02:00
sendf.h client writer: handle pause before deocding 2025-02-20 15:53:18 +01:00
setopt.c lib: remove superfluous setopt break for CURLOPT_SSL_FALSESTART 2025-06-15 01:38:25 +02:00
setopt.h
setup-os400.h
setup-vms.h openssl: drop support for old OpenSSL/LibreSSL versions 2025-02-21 12:02:35 +01:00
setup-win32.h build: drop HAVE_SYS_SOCKET_H and HAVE_SYS_TIME_H macros 2025-06-15 18:44:39 +02:00
sha256.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
share.c multi: do transfer book keeping using mid 2025-04-17 17:28:38 +02:00
share.h dnscache: slight refactoring 2025-04-03 16:40:56 +02:00
sigpipe.h lib: use BIT() instead of bool in structs more 2025-04-22 08:01:08 +02:00
slist.c
slist.h
smb.c lib: unify recv/send function signatures 2025-06-11 11:21:10 +02:00
smb.h smb: use easy handle/connection meta hash to keep structs 2025-05-06 09:10:07 +02:00
smtp.c vauth: move auth structs to conn meta data 2025-06-10 15:57:44 +02:00
smtp.h smtp: use easy handle/connectin meta for proto structs 2025-05-07 16:01:05 +02:00
sockaddr.h
socketpair.c curlx: move nonblock.[ch] into curlx/ 2025-05-08 13:22:02 +02:00
socketpair.h eventfd: fix feature guards 2025-04-03 01:12:19 +02:00
socks_gssapi.c lib: unify recv/send function signatures 2025-06-11 11:21:10 +02:00
socks_sspi.c lib: unify recv/send function signatures 2025-06-11 11:21:10 +02:00
socks.c lib: unify recv/send function signatures 2025-06-11 11:21:10 +02:00
socks.h lib: unify recv/send function signatures 2025-06-11 11:21:10 +02:00
speedcheck.c xfer: manage pause bits 2025-06-20 22:59:08 +02:00
speedcheck.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
splay.c curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
splay.h curlx: move into to curlx/ 2025-05-07 11:01:15 +02:00
strcase.c spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
strcase.h
strdup.c spelling: call it null-terminate consistently 2025-05-30 17:29:45 +02:00
strdup.h
strequal.c
strerror.c curl.h: remove the "RESERVED" error codes 2025-06-09 23:57:23 +02:00
strerror.h curlx: add curlx_winapi_ functions 2025-05-09 10:45:36 +02:00
system_win32.c windows: reduce/stop loading DLLs at runtime 2025-06-11 05:39:09 +02:00
system_win32.h windows: reduce/stop loading DLLs at runtime 2025-06-11 05:39:09 +02:00
telnet.c lib: unify recv/send function signatures 2025-06-11 11:21:10 +02:00
telnet.h
tftp.c connection: eliminate member remote_addr 2025-06-20 12:54:36 +02:00
tftp.h
transfer.c xfer: manage pause bits 2025-06-20 22:59:08 +02:00
transfer.h xfer: manage pause bits 2025-06-20 22:59:08 +02:00
uint-bset.c system.h: remove some macros 2025-06-05 10:56:31 +02:00
uint-bset.h multi: do transfer book keeping using mid 2025-04-17 17:28:38 +02:00
uint-hash.c lib: add meta_hash to connection, eliminate hash_offt 2025-04-22 15:57:18 +02:00
uint-hash.h lib: add meta_hash to connection, eliminate hash_offt 2025-04-22 15:57:18 +02:00
uint-spbset.c multi: do transfer book keeping using mid 2025-04-17 17:28:38 +02:00
uint-spbset.h multi: do transfer book keeping using mid 2025-04-17 17:28:38 +02:00
uint-table.c multi: do transfer book keeping using mid 2025-04-17 17:28:38 +02:00
uint-table.h misc: fix spelling 2025-05-29 10:21:05 +02:00
url.c url: fix NULL deref with bad password when no user is provided 2025-06-20 23:13:49 +02:00
url.h dns_entry: move from conn to data->state 2025-05-20 14:49:17 +02:00
urlapi-int.h test1658: add unit test for the HTTPS RR decoder 2025-04-05 21:03:47 +02:00
urlapi.c urlapi: simplify and split into sub functions 2025-06-11 07:58:52 +02:00
urldata.h connection: eliminate member remote_addr 2025-06-20 12:54:36 +02:00
version.c
ws.c ws: tests and fixes 2025-06-02 11:15:38 +02:00
ws.h ws: store protocol context as connection meta data 2025-04-28 09:15:05 +02:00