curl/src
Viktor Szakats 998b17ea7f
windows: fix UWP builds, add GHA job
Add new job to test building for UWP (aka `CURL_WINDOWS_APP`).

Fix fallouts when building for UWP:
- rand: do not use `BCryptGenRandom()`.
- cmake: disable using win32 LDAP.
- cmake: disable telnet.
- version_win32: fix code before declaration.
- schannel: disable `HAS_MANUAL_VERIFY_API`.
- schannel: disable `SSLSUPP_PINNEDPUBKEY`
  and make `schannel_checksum()` a stub.
  Ref: e178fbd40a #1429
- schannel: make `cert_get_name_string()` a failing stub.
- system_win32: make `Curl_win32_impersonating()` a failing stub.
- system_win32: try to fix `Curl_win32_init()` (untested).
- threads: fix to use `CreateThread()`.
- src: disable searching `PATH` for the CA bundle.
- src: disable bold text support and capability detection.
- src: disable `getfiletime()`/`setfiletime()`.
- tests: make `win32_load_system_library()` a failing stub.
- tests/server/util: make it compile.
- tests/server/sockfilt: make it compile.
- tests/lib3026: fix to use `CreateThread()`.

See individual commits for build error details.

Some of these fixes may have better solutions, and some may not work
as expected. The goal of this patch is to make curl build for UWP.

Closes #13870
2024-06-05 00:52:24 +02:00
..
.checksrc
.gitignore
CMakeLists.txt cmake: whitespace, formatting/tidy-up in comments 2024-05-27 18:07:10 +02:00
curl.rc (lib)curl.rc: set debug flag also for CURLDEBUG and UNITTESTS 2024-05-22 08:38:12 +02:00
Makefile.am build: untangle CURLDEBUG and DEBUGBUILD macros 2024-05-28 08:12:00 +02:00
Makefile.inc curl: make warnings and other messages aware of terminal width 2024-05-28 23:12:32 +02:00
Makefile.mk Makefile.mk: drop Windows support 2023-12-16 13:12:22 +00:00
mkhelp.pl mkhelp: rename variable to fix compiler warnings 2024-03-07 19:03:30 +00:00
slist_wc.c
slist_wc.h
terminal.c windows: fix UWP builds, add GHA job 2024-06-05 00:52:24 +02:00
terminal.h curl: make warnings and other messages aware of terminal width 2024-05-28 23:12:32 +02:00
tool_binmode.c
tool_binmode.h
tool_bname.c
tool_bname.h
tool_cb_dbg.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
tool_cb_dbg.h
tool_cb_hdr.c tool_cb_hdr: return error for failed header writes 2024-06-02 23:24:19 +02:00
tool_cb_hdr.h
tool_cb_prg.c curl: make warnings and other messages aware of terminal width 2024-05-28 23:12:32 +02:00
tool_cb_prg.h curl: make warnings and other messages aware of terminal width 2024-05-28 23:12:32 +02:00
tool_cb_rea.c tool_cb_rea: limit rate unpause for -T . uploads 2024-05-02 09:43:30 +02:00
tool_cb_rea.h
tool_cb_see.c tool: move tool_ftruncate64 to tool_util.c 2024-04-25 09:20:38 +02:00
tool_cb_see.h tool: move tool_ftruncate64 to tool_util.c 2024-04-25 09:20:38 +02:00
tool_cb_wrt.c src: tidy up types, add necessary casts 2024-05-17 12:32:04 +02:00
tool_cb_wrt.h
tool_cfgable.c tool_cfgable: free {proxy_}cipher13_list on exit 2024-05-05 11:13:06 +02:00
tool_cfgable.h build: untangle CURLDEBUG and DEBUGBUILD macros 2024-05-28 08:12:00 +02:00
tool_dirhie.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
tool_dirhie.h
tool_doswin.c windows: fix UWP builds, add GHA job 2024-06-05 00:52:24 +02:00
tool_doswin.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
tool_easysrc.c build: delete/replace clang warning pragmas 2024-01-27 21:19:41 +00:00
tool_easysrc.h build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
tool_filetime.c windows: fix UWP builds, add GHA job 2024-06-05 00:52:24 +02:00
tool_filetime.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
tool_findfile.c windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
tool_findfile.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
tool_formparse.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
tool_formparse.h
tool_getparam.c build: untangle CURLDEBUG and DEBUGBUILD macros 2024-05-28 08:12:00 +02:00
tool_getparam.h tool: make parser reject blank arguments if not supported 2024-01-03 23:21:29 +01:00
tool_getpass.c src: tidy up types, add necessary casts 2024-05-17 12:32:04 +02:00
tool_getpass.h
tool_help.c curl: make warnings and other messages aware of terminal width 2024-05-28 23:12:32 +02:00
tool_help.h TLS: add support for ECH (Encrypted Client Hello) 2024-04-16 08:10:53 +02:00
tool_helpers.c src: tidy up types, add necessary casts 2024-05-17 12:32:04 +02:00
tool_helpers.h src: tidy up types, add necessary casts 2024-05-17 12:32:04 +02:00
tool_hugehelp.c.cvs
tool_hugehelp.h
tool_ipfs.c tool: follow-up getenv fix 2024-03-31 11:04:00 +02:00
tool_ipfs.h
tool_libinfo.c
tool_libinfo.h
tool_listhelp.c TLS: add support for ECH (Encrypted Client Hello) 2024-04-16 08:10:53 +02:00
tool_main.c src: tidy up types, add necessary casts 2024-05-17 12:32:04 +02:00
tool_main.h
tool_msgs.c curl: make warnings and other messages aware of terminal width 2024-05-28 23:12:32 +02:00
tool_msgs.h build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
tool_operate.c build: untangle CURLDEBUG and DEBUGBUILD macros 2024-05-28 08:12:00 +02:00
tool_operate.h lib: fix comment typos 2023-11-23 12:35:59 +01:00
tool_operhlp.c curl: use curl_getenv instead of the curlx_ version 2024-03-30 22:45:47 +01:00
tool_operhlp.h
tool_paramhlp.c tool_paramhlp: remove duplicate assign 2024-04-21 10:51:12 +02:00
tool_paramhlp.h tool_getparam: replace malloc + copy by dynbuf for --data 2024-01-08 22:38:22 +01:00
tool_parsecfg.c src: tidy up types, add necessary casts 2024-05-17 12:32:04 +02:00
tool_parsecfg.h
tool_progress.c
tool_progress.h
tool_sdecls.h windows: use built-in _WIN32 macro to detect Windows 2023-11-22 15:42:25 +00:00
tool_setopt.c NTLM_WB: drop support 2024-04-08 13:58:58 +02:00
tool_setopt.h curl: make --libcurl output better CURLOPT_*SSLVERSION 2024-03-14 17:59:22 +01:00
tool_setup.h tool: move tool_ftruncate64 to tool_util.c 2024-04-25 09:20:38 +02:00
tool_sleep.c src: tidy up types, add necessary casts 2024-05-17 12:32:04 +02:00
tool_sleep.h
tool_stderr.c
tool_stderr.h
tool_strdup.c
tool_strdup.h
tool_urlglob.c build: enable missing OpenSSF-recommended warnings, with fixes 2023-12-16 13:12:37 +00:00
tool_urlglob.h
tool_util.c tool: move tool_ftruncate64 to tool_util.c 2024-04-25 09:20:38 +02:00
tool_util.h
tool_version.h
tool_vms.c
tool_vms.h
tool_writeout_json.c src: tidy up types, add necessary casts 2024-05-17 12:32:04 +02:00
tool_writeout_json.h
tool_writeout.c src: tidy up types, add necessary casts 2024-05-17 12:32:04 +02:00
tool_writeout.h write-out: add '%{proxy_used}' 2024-02-22 08:38:53 +01:00
tool_xattr.c tool_xattr: "guess" URL scheme if none is provided 2024-03-28 16:28:23 +01:00
tool_xattr.h
var.c curl: when allocating variables, add the name into the struct 2024-02-07 23:11:40 +01:00
var.h curl: when allocating variables, add the name into the struct 2024-02-07 23:11:40 +01:00