Sam Lantinga
0f27c3aabd
Added SDL_PROP_PROCESS_CREATE_WORKING_DIRECTORY_STRING
...
Fixes https://github.com/libsdl-org/SDL/issues/12654
2025-03-27 11:30:00 -07:00
Rémy Tassoux
7a10fcdccc
Add progress bar support for Windows ( #12530 )
2025-03-22 08:04:10 -07:00
Edu Garcia
365b7837c2
add private definitions to SDL_build_config.h.cmake
2025-03-20 16:55:51 -07:00
Sam Lantinga
794ff283e2
Added support for using XTest to warp the mouse
2025-03-05 13:23:02 -08:00
Sam Lantinga
f2074d7af3
Updated copyright for 2025
2025-01-01 07:45:52 -08:00
L zard
052cb5773e
build_configs: remove HAVE_LIBUNWIND_H
...
It is only used in SDL_test, which does not use the config header.
2024-12-24 07:19:38 -08:00
L zard
42c67756cc
build_configs: fix spacing
...
I messed up some spacing, so I thought I might as well strip all those unnecessary spaces.
2024-12-24 07:19:38 -08:00
L zard
286cc2ebd0
build_config: change unnecessary replacement variables to 1
...
Makes all macros only used in `#ifdef`s defined as `1` when they exist, instead of the CMake value of the corresponding variable.
2024-12-24 07:19:38 -08:00
L zard
ade829d7ca
build_config: fix SDL_DEFAULT_ASSERT_LEVEL
...
Currently, `SDL_DEFAULT_ASSERT_LEVEL` is commented out by CMake when its value is 0, setting the assertions level to the default value instead of disabling them.
This change:
- defines `SDL_DEFAULT_ASSERT_LEVEL_CONFIGURED` when its value is non-zero.
- defines `SDL_DEFAULT_ASSERT_LEVEL`, regardless of its value, when `SDL_DEFAULT_ASSERT_LEVEL_CONFIGURED` is defined.
2024-12-24 07:19:38 -08:00
L zard
e73d98ad72
build_config: add missing macros
...
Those are defined in other build_configs files and used elsewhere in SDL.
2024-12-24 07:19:38 -08:00
L zard
7f1c9c9053
build_config: move unconditionally defined macros
2024-12-24 07:19:38 -08:00
L zard
6f462e244f
build_config: remove unused SIZEOF_VOIDP
2024-12-24 07:19:38 -08:00
L zard
ddd7d0f927
build_configs: remove unused macros
...
Those are only used in build_config files that define them themselves, or not used at all.
2024-12-24 07:19:38 -08:00
Ryan C. Gordon
f45ce45603
ngage: Remove Nokia N-Gage support.
...
This can be reverted if a toolchain arrives that can handle C99 features like
variables declared in the middle of a scope, but for now we literally can't
compile SDL3 for this platform.
Fixes #11243 .
2024-12-11 13:29:43 -05:00
Anonymous Maarten
1d5d948ccf
Fix building SDL3 without dialog support
2024-12-08 14:31:19 +00:00
numzero
123306b18c
X11: support _NET_WM_SYNC_REQUEST
2024-12-04 11:59:46 -05:00
Ryan C. Gordon
022a6a9f97
asyncio: Added Linux io_uring support.
2024-12-03 17:32:20 -05:00
Caleb Cornett
feb10434a1
Order by subsystem
2024-10-29 08:50:50 -07:00
Caleb Cornett
b2f216f9e2
Add GPU to iOS build config
2024-10-29 08:50:50 -07:00
Sam Lantinga
e81e917c5e
Added an OpenVR video driver (thanks @cnlohr!)
2024-10-17 19:38:04 -07:00
Ivan Epifanov
6da4d94abf
VITA: implement camera subsystem
2024-10-17 10:24:17 -07:00
Daniel Ludwig
9a5420118a
Define SDL_DIALOG_DUMMY in SDL_build_config_xbox.h
2024-10-17 12:45:37 +03:00
Sam Lantinga
dd955332a2
Removed SDL_build_config_emscripten.h
...
The Emscripten build uses cmake, so we don't need the standalone config header.
Fixes https://github.com/libsdl-org/SDL/issues/11236
2024-10-16 18:16:46 -07:00
Sam Lantinga
9cf388f260
Re-added HAVE_FDATASYNC and HAVE_GETHOSTNAME for platforms that have them.
2024-10-16 11:25:57 -07:00
Sam Lantinga
ed1ec236c1
Removed fdatasync and gethostname definitions from platforms that don't have them
...
As verified by CMake builds in CI
2024-10-16 07:39:30 -07:00
Caleb Cornett
9af5ffcfbe
Improve support for private platforms ( #11220 )
2024-10-15 18:02:07 -04:00
Anonymous Maarten
45dfdfbb7b
Add parametrized build script
...
[ci skip]
2024-10-14 21:30:48 +02:00
Cameron Cawley
aebb64efa1
Remove leftover ARM SIMD code
2024-10-12 11:13:37 -07:00
Sam Lantinga
f6fa617139
Define SDL_DIALOG_DUMMY in SDL_build_config.h as needed
2024-10-07 19:52:50 -07:00
Sam Lantinga
4627283eca
Allow building both Cocoa and dummy dialog implementations
...
This allows us to remove platformFilters from the Xcode project, which is not supported in Xcode 12.
2024-10-07 18:01:39 -07:00
Petar Popovic
4392233007
Removed tabs from headers
2024-09-21 10:39:53 -07:00
Semphris
9eea8234e6
Add SDL_Process subsystem
2024-09-13 15:19:32 -07:00
Ethan Lee
371cfaf8fe
gpu: Implement support for SDL_GPU_DISABLED
2024-09-13 10:32:12 -04:00
Ryan C. Gordon
154452a726
winrt: Removed WinRT/Windows Phone/UWP support.
...
Fixes #10724 .
2024-09-06 13:28:39 -04:00
Anonymous Maarten
baa1a5e2f4
Add SDL_strpbrk
2024-09-06 01:35:43 +02:00
Sam Lantinga
387774ab8a
Build config flags are either defined or undefined, never 0
...
This is for consistency with CMake build configuration
Also added SDL_VIDEO_RENDER_GPU to the non-CMake build configurations
2024-09-05 09:52:40 -07:00
Sam Lantinga
d86f504637
Fix potential cases where we define SDL_GPU_* as an undefined symbol
2024-08-29 17:33:52 -07:00
cosmonaut
2e7d5bb429
Add the SDL_GPU API
...
Project Lead: Evan Hemsley <evan@moonside.games >
Co-designer, Metal Port, Console Ports:
Co-authored-by: Caleb Cornett <caleb.cornett@outlook.com >
Production, QA, Debug:
Co-authored-by: Ethan Lee <flibitijibibo@gmail.com >
SDL_Render Driver, Bugfixes:
Co-authored-by: Andrei Alexeyev <akari@taisei-project.org >
Additional D3D12 Programming, Bugfixes:
Co-authored-by: Bart van der Werf <bluelive@gmail.com >
Bugfixes and Feedback:
Co-authored-by: Zakary Strange <zakarystrange@gmail.com >
Co-authored-by: meyraud705 <meyraud705@gmail.com >
Co-authored-by: Joshua T. Fisher <playmer@gmail.com >
Co-authored-by: Topi Ritala <ritalat@fastmail.com >
Co-authored-by: David Gow <david@ingeniumdigital.com >
Original API Proposal:
Co-authored-by: Ryan C. Gordon <icculus@icculus.org >
2024-08-29 15:57:29 -07:00
Sam Lantinga
8f546bb3c9
Use C99 bool internally in SDL
2024-08-22 13:30:02 -07:00
Sam Lantinga
058781f514
Include GameInput.h as gameinput.h for compatibility with non-MSVC toolchains
2024-08-08 09:14:38 -07:00
Sam Lantinga
a38cd7a067
Added checks for GameInput.h to the build system
2024-08-07 17:57:33 -07:00
Anonymous Maarten
68fb07787b
cmake: Remove HAVE_D3D12_H from sources and introduce SDL_RENDER_D3D(11|12)
2024-08-01 17:49:02 +00:00
Sam Lantinga
691cf15e75
Removed the ancient Android audio driver
...
OpenSLES is well supported on Android 4.0 and later.
2024-07-29 08:05:36 -07:00
Sam Lantinga
473feab2a4
Added SDL_unsetenv()
2024-07-27 09:10:08 -07:00
captain0xff
0506cf18ab
android: enable vulkan renderer
2024-07-13 08:16:26 -07:00
Anonymous Maarten
d52ea20916
cmake: check for valid isinf/isinff/isnan/isnanf macros
2024-06-24 22:00:53 +02:00
Sam Lantinga
89cdadf7c3
Added SDL_isinf(), SDL_isinff(), SDL_isnan(), and SDL_isnanf()
2024-06-24 11:49:15 -07:00
Frank Praznik
974bbea20b
x11: Add keymap support
...
XkbKeycodeToKeySym is replaced with XkbLookupKeySym, which can take the modifier states. The associated cmake check has been renamed for consistency.
Only the XKB path is currently handled. The deprecated XKeycodeToKeysym path is TODO.
2024-06-23 15:40:55 -04:00
Sam Lantinga
fa5367d379
Enable virtual joystick support for Emscripten
2024-06-21 12:06:53 -07:00
Anthony
e9982bf1b5
Filter Android drivers according to SDL_***_DISABLED macros to help reduce APK size ( #9986 )
2024-06-08 08:55:15 -07:00