Commit Graph

3577 Commits

Author SHA1 Message Date
Tim Angus
1a4abacaff Fix incorrect architecture detection on Windows 2025-07-30 12:31:44 +01:00
Tim Angus
b512b786ec Move Linux ARCH_STRING definition out of Makefile 2025-07-29 21:53:21 +01:00
Martin Gerhardy
2e753008d5 CLIENT: restore older curl version support 2025-07-29 18:17:45 +01:00
Tim Angus
d2f209fbda Remove USE_LOCAL_HEADERS 2025-07-29 18:12:31 +01:00
Pan7
96fefcb7c9 Replace USE_LOCAL_HEADERS with USE_INTERNAL_* 2025-07-29 17:32:18 +01:00
Tim Angus
7962686d2d Adjust resource path to quake3.ico
I'm aware this probably breaks the MSVC build, but

a) I think it's probably broken already
b) I have good reasons that will hopefully make this a non-issue anyway
2025-07-29 16:26:40 +01:00
Tim Angus
19f53d6fbe Cleanup opus and vorbis more 2025-07-29 16:11:46 +01:00
J.Ingram
934e7b9372 Call SHGetFolderPathA directly
Removing shfolder.h satisfies MSVC, and calling the function directly makes PFNSHGETFOLDERPATHA unnecessary.
2025-07-29 14:41:57 +01:00
Tim Angus
4303784442 *Don't* configure zlib so we get the generic zconf.h 2025-07-25 17:19:38 +01:00
Tim Angus
322883b65c *Don't* configure SDL so that we get the generic SDL_config.h 2025-07-25 14:45:42 +01:00
Tim Angus
69ad3699ea Update SDL 2025-07-24 20:29:53 +01:00
Tim Angus
3b6eff505b Add SDL to update script 2025-07-24 20:27:28 +01:00
Tim Angus
0992c149b5 Move library versions to lib-versions.sh 2025-07-24 20:26:53 +01:00
Tim Angus
8cd71ff797 Add macOS SDL build script 2025-07-24 20:25:36 +01:00
Tim Angus
a4d4b1743e Remove macOS ppc support 2025-07-24 18:41:52 +01:00
Tim Angus
1a256983ad Update OpenAL (headers) 2025-07-24 12:23:43 +01:00
Tim Angus
cc4ddc6098 Match literal . 2025-07-24 11:18:02 +01:00
Zack Middleton
1132abe3dc Replace strncpy usage with Q_strncpyz 2025-07-24 09:47:13 +01:00
Zack Middleton
c8553223ec Add range check for UI text buffer
It can't overflow because buff and text have the same max length (1024
and MAX_TOKENLENGTH).
2025-07-24 09:47:13 +01:00
Zack Middleton
797168fa08 Fix possible CGame network buffer overflow 2025-07-24 09:47:13 +01:00
Zack Middleton
84715f421b Ignore CHAR_WIDTH from C23 spec 2025-07-24 09:43:28 +01:00
Zack Middleton
ed2c470f50 Revert "Rename CHAR_WIDTH to CHARACTER_WIDTH"
This reverts commit 526edd37f9.
2025-07-24 09:43:28 +01:00
Zack Middleton
3d255758ff Fix server compile flags for unzip.c and ioapi.c 2025-07-24 09:41:35 +01:00
Tim Angus
fd0d65c439 Remove more dead 3rd party code 2025-07-22 20:32:11 +01:00
Tim Angus
9814f5f42f Implement WinINet based HTTP downloads 2025-07-22 14:57:01 +01:00
Tim Angus
94c9be05c9 Pull out non curl specific code from the curl backend 2025-07-22 14:57:01 +01:00
Tim Angus
8fb30de7af Disable USE_HTTP on Emscripten 2025-07-22 14:57:01 +01:00
Tim Angus
1cbba07fc3 Add abstract frontend to HTTP support and stop using curl on Windows 2025-07-22 14:57:01 +01:00
Tim Angus
bc30e0186b Fix curl deprecations and remove FTP support 2025-07-22 14:57:01 +01:00
Tim Angus
dfa0e23395 Update curl 2025-07-22 14:57:01 +01:00
Tim Angus
279f4e5239 Be slightly more targetted in cleaning up jpeg source 2025-07-20 22:14:04 +01:00
Tim Angus
c3248e54a4 Undefine real error codes to fix warnings 2025-07-18 14:53:02 +01:00
Tim Angus
dede9aa79a Revert "define guards to prevent warnings" (fixes #737)
This reverts commit 20634976e9.
2025-07-18 14:53:02 +01:00
J.Ingram
465f72dcd4 Use PFNGETFOLDERPATHA typedef
FARPROC is defined with an empty parameter list, which newer versions of GCC consider equivalent to (void). Compilation fails when qSHGetFolderPath gets called with arguments.
2025-07-17 17:46:44 +01:00
Tim Angus
abc448faec Selectively disable -Warray-bounds 2025-07-14 17:47:18 +01:00
Tim Angus
2dc5fc674e Add CC_VERSION to info message 2025-07-14 17:42:18 +01:00
Tim Angus
75fb0ddccc Use correct abs function in FBO_FastBlit 2025-07-14 17:42:18 +01:00
Tim Angus
124000104e Treat unzip.c and ioapi.c as third party code 2025-07-14 17:42:18 +01:00
Tim Angus
7095006414 Update libjpeg 2025-07-14 17:42:14 +01:00
Tim Angus
3978a5078e Separate out CFLAGS so that third party code is compiled with warnings disabled 2025-07-14 17:41:53 +01:00
Tim Angus
7af17542d2 Update zlib 2025-07-14 13:17:17 +01:00
Tim Angus
20634976e9 define guards to prevent warnings 2025-07-14 12:24:16 +01:00
Tim Angus
d89925ffba Fix a few misleading indentation warnings 2025-07-13 22:57:33 +01:00
Tim Angus
ac239a68fa Fix GCC warning 2025-07-13 22:57:32 +01:00
Tim Angus
28929ad213 Update xiph.org internal libs 2025-07-13 22:57:32 +01:00
Tim Angus
ae143a4912 Add a script for updating 3rd party libraries 2025-07-13 22:57:32 +01:00
Jack Slater
d8b1769de8 Update build.yml to replace deprecated windows-2019 with windows-2022
GitHub is ending support for the windows-2019 runner image and windows-2022 will be the minimum supported version by the end of June, 2025. We need to update before this date. More information about this change is here: https://github.com/actions/runner-images/issues/12045
2025-07-13 13:29:50 +01:00
Tim Angus
d793e38f58 Expand buffers to prevent potential truncation 2025-07-13 13:29:50 +01:00
Tim Angus
aea99aa3a3 Replace various sprintf calls with snprintf calls 2025-07-13 13:29:50 +01:00
cake
ab18167a09 fix minor spelling errors 2025-06-12 18:10:37 -04:00