Sam Lantinga
fa24d868ac
Updated to version 2.30.11 for release
2025-01-01 09:09:38 -08:00
Wolfywolfy
2e99b6e9ce
Remove EXTRA_CFLAGS.
...
(cherry picked from commit 9491389baf )
2024-12-20 15:19:46 -08:00
Sam Lantinga
826c56b67c
Updated to version 2.30.10 for release
2024-12-06 14:35:53 -08:00
Anonymous Maarten
616923c1b0
cmake: fix building UWP with non-MSVC generator
...
(cherry picked from commit 7fb8b62a4d )
2024-11-23 23:28:29 +01:00
Wouter Wijsman
dccd23e6fb
PSP: Add locale support
...
(cherry picked from commit f39c5cf989 )
2024-11-22 08:38:31 -08:00
Anonymous Maarten
7217771458
cmake: Compatibility with CMake < 3.10 will be removed in a future CMake version
2024-11-17 21:56:09 +01:00
Ozkan Sezer
3ee780ce9c
build system: disable 3dNow! support by default
...
Closes: https://github.com/libsdl-org/SDL/issues/11472 .
(cherry picked from commit 51570d9257 )
2024-11-17 17:55:32 +03:00
Anonymous Maarten
9eca707549
cmake: releases have a REVISION.txt instead of VERSION.txt
2024-11-04 19:20:23 +01:00
Sam Lantinga
c98c4fbff6
Updated to version 2.30.9 for release
2024-11-01 14:24:51 -07:00
Sam Lantinga
e9f5f3ac1f
Updated to version 2.30.8 for release
2024-10-01 09:25:57 -07:00
Sam Lantinga
9519b9916c
Updated to version 2.30.7 for release
2024-09-01 08:11:12 -07:00
Anonymous Maarten
b7457ff61b
cmake: SDL2 target is not always available
...
(cherry picked from commit 7cf3234efe )
2024-08-04 15:53:17 +02:00
Sam Lantinga
ba2f78a006
Updated to version 2.30.6 for release
2024-08-01 14:16:41 -07:00
Anonymous Maarten
5a072d38db
cmake: only add SDL_LIBC=0 compile options to SDL2 libraries
2024-07-12 23:18:06 +02:00
Sam Lantinga
2eef7ca475
Updated to version 2.30.5 for release
2024-07-03 14:21:42 -07:00
Ganael Laplanche
f08f458896
Fix joystick (/dev/input/xxx) support on FreeBSD
...
Backport f8ad4abe from main branch.
When switching to CMake, src/joystick/linux/SDL_sysjoystick.c file got
excluded from FreeBSD builds, losing support for /dev/input/xxx devices.
See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279907
and: https://github.com/libsdl-org/SDL/pull/10087
(cherry picked from commit ab5740bde2 )
2024-06-23 00:07:35 -07:00
Sam Lantinga
92fe3b19c8
Updated to version 2.30.4 for release
2024-06-17 12:32:13 -07:00
Anonymous Maarten
faa9bbdc8e
cmake: direct3d12 renderer needs d3d12.h and d3d12sdklayers.h
...
Older MinGW releases don't ship d3d12sdklayers.h
backport of 3af4f120d0
(cherry picked from commit 6c10201e58 )
2024-05-27 02:43:29 +02:00
Anonymous Maarten
cf6c760cd3
d3d12: older Windows SDK headers contain wrong function prototypes
...
Declare correct function pointers ourselves.
Backport of:
- 98fcf112e7
- 89a4d9ae67
(cherry picked from commit c79e616806 )
2024-05-25 00:43:46 +02:00
Ozkan Sezer
dd42795131
autotools, cmake, macOS: Do not use the system iconv() by default
...
backport from PR #9676 by @flibitijibibo
(cherry picked from commit d8fbeec096 )
2024-05-03 09:52:59 -07:00
Sam Lantinga
fb1497566c
Updated to version 2.30.3 for release
2024-05-01 09:14:37 -07:00
yuanhecai
5570d846ea
loongarch: Delete the configuration of the compilation option "mlasx"
...
(cherry picked from commit 75340b827d )
2024-04-25 20:33:53 -07:00
Sam Lantinga
f461d91cd2
Updated to version 2.30.2 for release
2024-04-01 16:56:15 -07:00
Frank Praznik
d849036927
wayland: Allocate the cursor shared memory buffer entirely in memory, if possible.
...
Use memfd_create() to allocate the temporary SHM backing file in memory, and set the size with posix_fallocate(), which will return an error on insufficient space vs ftruncate(), which will silently succeed and allow a SIGBUS error to occur if the unbacked memory is accessed.
Additionally, make the legacy path more robust by unlinking the temp file, so it won't persist after close, and unmapping the shared memory buffer.
(cherry picked from commit 9bdb992925 )
(cherry picked from commit d3c89bb479 )
2024-03-12 21:17:29 -07:00
Sam Lantinga
5adbf3765a
Updated to version 2.30.1 for release
2024-03-05 14:33:57 -08:00
Sam Lantinga
859844eae3
Updated to version 2.30.0 for release
2024-02-01 16:02:20 -08:00
Sam Lantinga
857b9848d2
Don't use the system iconv on Apple mobile platforms
...
Fixes https://github.com/libsdl-org/SDL/issues/8964
(cherry picked from commit d6a48e4958 )
(cherry picked from commit 8eed915dfa )
2024-02-01 15:55:20 -08:00
Sam Lantinga
4a62e1c0ca
Updated to version 2.29.3 for RC build
2024-01-27 22:50:08 -08:00
Sam Lantinga
ef7261bc41
Updated to version 2.29.2 for RC build
2024-01-22 08:43:05 -08:00
yuanhecai
ed5d3d9f82
Fix compilation on loongarch
2024-01-21 19:27:59 -08:00
Sam Lantinga
b4f99deb9e
Updated to version 2.29.1 for RC build
2024-01-19 19:58:24 -08:00
Julian Uy
884c21c565
Use common generic syscond for platforms with no cond implementation
2023-12-24 06:35:59 -08:00
Ozkan Sezer
bbcf40e811
cmake: fixed iconv detection test program
...
Fixes https://github.com/libsdl-org/SDL/issues/8614
2023-11-26 01:55:24 +03:00
Ozkan Sezer
8cf7e9e7da
autotools, cmake: set SDL_SYSTEM_ICONV to OFF for windows (like SDL3.)
2023-11-23 03:32:04 +03:00
Ozkan Sezer
17e62abb6d
revise iconv detection:
...
- check libiconv with a linkage test with iconv.h included
- check libc iconv with a linkage test with iconv.h included
and LIBICONV_PLUG defined (in case libiconv header is in
include path)
- add new configuration option to prefer iconv from libiconv,
if available, over the libc version, defaults to disabled:
SDL_LIBICONV for cmake, --enable-libiconv for autotools.
- change FreeBSD specific LIBICONV_PLUG define in SDL_iconv.c
to configuration result.
2023-11-22 23:29:00 +03:00
Ozkan Sezer
3fb5124174
cmake: add openbsd wscons sources to build, if supported
2023-11-22 05:10:02 +03:00
Anonymous Maarten
d81d986858
cmake: fix uses of undefined macro identifiers (-Wundef)
2023-11-17 03:06:26 +00:00
Anonymous Maarten
adc0880520
cmake: also install pdb files of static libraries
2023-11-09 03:23:24 +01:00
Sam Lantinga
e8f4045d0b
Use XINPUT_STATE instead of XINPUT_STATE_EX (thanks Andrew!)
...
XINPUT_STATE_EX isn't actually a thing, we can just use the normal XINPUT_STATE
Fixes https://github.com/libsdl-org/SDL/issues/2797
2023-11-04 22:24:55 -07:00
Anonymous Maarten
8b1b6734f6
cmake: fold HAVE_INPUT_EVENTS into HAVE_LINUX_INPUT_H
2023-11-02 21:28:39 +01:00
Anonymous Maarten
517db6d887
cmake: reset check state before testing -fobjc-arc
2023-10-30 21:08:30 +01:00
Anonymous Maarten
20630b2e6c
cmake: check -fobjc-arc compiler flag on Apple platforms
2023-10-30 19:56:46 +01:00
Anonymous Maarten
7774de0fe3
cmake: file(RELATIVE_PATH) needs 2 absolute paths
2023-10-30 19:45:49 +01:00
Anonymous Maarten
90255914a8
cmake: install pdb's when present
2023-10-22 18:53:34 +02:00
Anonymous Maarten and elahav
933ec9e978
cmake: add qnx support
...
Co-authored-by: elahav <elahav@users.noreply.github.com >
2023-09-30 16:48:51 +02:00
Anonymous Maarten
b388f6e32d
cmake: use MSVC_RUNTIME_LIBRARY to force MT
2023-09-09 19:16:31 +02:00
Anonymous Maarten
fcae9cd210
cmake: build with -Wdocumentation
2023-08-09 02:53:48 +02:00
Christopher Wellons and Ozkan Sezer
8231278817
Unaligned stacks on i686-w64-mingw32, may lead to crashes ( #7607 )
...
Co-authored-by: Ozkan Sezer <sezeroz@gmail.com >
2023-07-10 03:05:32 +03:00
Joshua Barnett
547c8c288b
Add kernel32 to SDL_EXTRA_LIBS required for cross-compilation to Win32 native
...
Linking error experienced while compiling with the following toolchain
due to lack of kernel32.lib
https://github.com/llvm-mirror/llvm/blob/d35e5f8dded4c884ca25ca88f184e1505cad106c/cmake/platforms/WinMsvc.cmake#L317-L321
2023-07-09 14:02:32 +02:00
Anonymous Maarten
0262f757e1
cmake: check whether libunwind can be compiled and linked against
2023-07-05 00:25:24 +02:00