eafton
36976ecb43
X11TK: Introduce Thai support and rewrite/cleanup messagebox positioning code ( #14474 )
2025-11-20 15:26:46 -08:00
antonegas
33f1008d01
Added Emscripten support for Sensor API
2025-10-26 07:58:28 -07:00
Frank Praznik
427f838f58
unix: Add ppoll support
...
Allows for finer grained timeout values, and fixes a FIXME.
This also drops the legacy select() fallback path in favor of presuming that poll() is always available. poll() is part of the POSIX.1-2001 standard, has been available in Unix since some time in the 1980s, the BSDs since at least the early 90s, and Linux since kernel 2.1, which predates kernel support for Pthreads. glibc also has its own emulation using select(), if necessary.
2025-10-17 14:30:10 -04:00
Sylvain Becker
71bf56c9e4
Add SDL Pinch events ( #9445 )
2025-10-12 14:44:23 -07:00
Sam Lantinga
ee622c570a
Made SDL_dlopennote.h a public header
2025-10-10 12:47:42 -07:00
eafton
c2429e85ec
X11TK: Add Arabic/Hebrew/Farsi support by increasing font size slightly and using FriBidi. ( #14134 )
2025-10-03 19:08:24 -07:00
Frank Praznik
1049426a76
wayland: Add a sigtimedwait() implementation for OpenBSD
...
sigtimedwait() is an optional part of POSIX.1-2001, and OpenBSD doesn't implement it. Add a replacement implementation based on https://comp.unix.programmer.narkive.com/rEDH0sPT/sigtimedwait-implementation
2025-08-29 18:32:29 -04:00
Anonymous Maarten
0a6b80717c
Record dynamic dependencies in .note.dlopen elf section
2025-08-27 16:11:39 +00:00
Sam Lantinga
da6e9bbf7c
Allow building the tray subsystem without the video subsystem
...
Fixes https://github.com/libsdl-org/SDL/issues/13235
2025-08-27 08:15:24 -07:00
ceski
270737584e
Fix vsync-off support for direct3d11
2025-08-24 21:33:02 +03:00
Frank Praznik
f439e44771
x11: Modernize and optimize key handling
...
- Use modern Xkb functions where appropriate and cleanly separate the modern and legacy paths.
- Remove the deprecated XKeycodeToKeysym function in favor of directly querying the keymap on the legacy path.
- Look up virtual modifiers by name on the Xkb path to better handle remapping (equivalent to the modifier handling under Wayland).
- Optimize keymap creation on the Xkb path to cut keymap build times and enable fast group switching (equivalent to keymap handling on Wayland).
- Enable and handle Xkb events to handle changes to the group, mapping, and modifier states. This is more reliable than using the legacy events (group changes may not arrive if the window lacks pointer focus), and better handles cases where modifiers are latched, locked, or activated externally rather than physically pressed.
2025-08-06 13:35:32 -07:00
Frank Praznik
483b8d4d98
x11: Implement precision/pixel scrolling
...
Manual rebase of #5382 with some changes for SDL3 (thanks @wooosh).
2025-08-04 12:50:06 -04:00
Ozkan Sezer
f241e8e8fd
windows: replace shobjidl_core.h usage with shobjidl.h except for when targeting xbox
...
Closes https://github.com/libsdl-org/SDL/pull/13571
2025-08-01 17:11:49 -07:00
Edu García
d9af41b5ac
cmake: more private definitions
2025-06-06 10:29:20 -07:00
Frank Praznik
c764e8864b
wayland: Update xkbcommon to avoid using deprecated modifier names
...
xkbcommon 1.10.0 declared certain modifier names to be deprecated, and the current plan is to remove them in 1.12.0. Use the new recommended names and modifier mask retrieval function when building against version 1.10.0 and higher.
2025-05-31 13:40:58 -04:00
Michael Fitzmayer
7ae64592c9
Restore support for the Nokia N-Gage ( #12148 )
2025-05-22 11:07:22 -07:00
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
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
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
Caleb Cornett
9af5ffcfbe
Improve support for private platforms ( #11220 )
2024-10-15 18:02:07 -04: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
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
+1
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
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
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