Ryan C. Gordon
46f43c2e6e
asyncio: Remove SDL_AsyncIOTask
from the public API.
2024-12-03 17:32:20 -05:00
Ryan C. Gordon
4745aa3324
asyncio: Windows IoRing support, other tweaks and fixes.
2024-12-03 17:32:20 -05:00
Ryan C. Gordon
3ca629ceb5
asyncio: Allow file closes to request a flush/fsyncdata.
2024-12-03 17:32:20 -05:00
Ryan C. Gordon
022a6a9f97
asyncio: Added Linux io_uring support.
2024-12-03 17:32:20 -05:00
Ryan C. Gordon
e79ce2a200
asyncio: Added async i/o APIs.
2024-12-03 17:32:20 -05:00
Sam Lantinga
6aab5a089d
Fixed potential buffer overflow
2024-12-03 08:33:51 -08:00
Ryan C. Gordon
65c9a58f5e
audio: Make sure a few bitflag checks convert to bools correctly.
...
This might just be defensive coding, but better safe than sorry on this.
2024-12-03 11:04:52 -05:00
Anonymous Maarten
ec2ef5f9b5
dynapi: order headers for reproducible behavior
2024-12-02 18:25:48 +01:00
Frank Praznik
2762644e96
video: Don't error when setting an unbounded max window size while a minimum is set
...
If the maximum size was changed to 0 (unbounded) while a minimum was set, the sanity check ensuring that the max size isn't less than the minimum size would incorrectly cause the operation to error out.
2024-12-02 09:55:19 -05:00
Ryan C. Gordon
ce573b01f8
audio: Added SDL_IsAudioDevicePhysical and SDL_IsAudioDevicePlayback.
...
Fixes #11529 .
2024-11-29 17:31:37 -05:00
Ryan C. Gordon
f5ad66ef4b
audio: Allow channel maps to specify -1 to mute a channel.
...
Fixes #11373 .
2024-11-28 00:00:30 -05:00
Ryan C. Gordon
f852038384
filesystem: Added SDL_GetCurrentDirectory().
...
Fixes #11531 .
2024-11-27 23:42:11 -05:00
Ivan Epifanov
b8233aff8e
Vita: implement mousewheel and buttons 4/5
2024-11-27 08:23:16 -08:00
Frank Praznik
bbc9c75618
x11: Fix memory leaks in clipboard event handler
...
XGetWindowProperty and XGetAtomName return data which must be freed by the client, and was being leaked.
2024-11-26 10:54:59 -05:00
Caleb Cornett
5c8bed3780
GPU: Fix D3D12 tearing query
2024-11-25 22:33:48 -05:00
expikr
d55e6dfc5e
hint for which system cursor to use as default
...
Co-Authored-By: Sam Lantinga <slouken@libsdl.org >
2024-11-25 13:08:37 -08:00
Susko3
e0e61775b8
Add missing SDL_WindowFlags to SDL_test_common.c
...
This fixes some flags not printing in testwm.c
2024-11-25 10:56:16 -08:00
Sam Lantinga
6fab61b69d
hidapi: check each usage on a device before ignoring it completely
2024-11-25 10:49:05 -08:00
Sam Lantinga
c508396e33
Avoid usage of CreateEventEx in WASAPI code
...
This also uses FALSE as parameters consistently for CreateEvent()
2024-11-24 17:49:17 -08:00
Starbuck5
7a3f5ef129
Speed up full-surface fills
2024-11-24 17:44:00 -08:00
Anonymous Maarten
88926f2b73
emscripten: send drag and drop events
2024-11-24 13:22:46 -05:00
Clownacy
79f6f766d4
Avoid usage of CreateEventEx
in D3D12 GPU backend
...
Unavailable in Windows XP.
2024-11-24 01:02:06 +00:00
Ryan C. Gordon
465881d560
android: patched to compile.
2024-11-22 15:01:09 -05:00
Ryan C. Gordon
c135386f58
events: Add render category to SDL_EventCategory.
2024-11-22 15:01:09 -05:00
Ryan C. Gordon
615c935d11
events: Added SDL_RenderEvent.
...
Fixes #11465 .
2024-11-22 15:01:09 -05:00
Wouter Wijsman
3a2b595c4f
PSP: Add locale support
2024-11-22 08:37:14 -08:00
Frank Praznik
df73cae2b0
cocoa: Clear the pending flags on non-spaces fullscreen transitions
...
Transitions to or from a non-spaces fullscreen state are synchronous, so clear both the enter and leave pending flags when changing the state.
2024-11-21 11:47:21 -05:00
Sam Lantinga
5ee4d176f1
Added support for the Razer Wolverine V3 Pro
2024-11-21 05:51:57 -08:00
Marcin Serwin
587384756f
render: use nearest pixel scaling for debug text
...
The debug text font is less legible when scaled linearly.
2024-11-20 18:06:53 -08:00
Ryan C. Gordon
2b744c7df3
cocoa: Refuse to SDL_Init(SDL_INIT_VIDEO) from background thread.
...
Fixes #11437 .
Reference PR #11502 .
2024-11-20 20:22:36 -05:00
Sam Lantinga
932bb968d7
Fixed infinite recursion when the microphone is unavailable
2024-11-20 16:07:43 -08:00
Sam Lantinga
1413848f41
Fixed crash if a window ends up without a display
2024-11-20 13:27:43 -08:00
Sam Lantinga
35e6c92c3c
Added the ROG Ally X to the list of Xbox controllers
...
This prevents Steam from opening the DirectInput versions of this controller that are added by installing Zenless Zone Zero.
2024-11-20 12:09:30 -08:00
Frank Praznik
aa352837d5
cocoa: Don't sync on a pending fullscreen event if the window is miniaturized
...
The fullscreen event will be processed after deminiaturization is complete. Fixes a delay when restoring a miniaturized window that will return to fullscreen.
2024-11-19 16:53:31 -05:00
Frank Praznik
18b7a2315c
cocoa: Restore fullscreen state on the window regaining key status
...
Ensure that fullscreen state is restored if a non-minimized fullscreen window regains key status. This can happen if a fullscreen window was requested to minimize on loss of key status, but the minimization didn't actually occur.
2024-11-19 12:10:31 -05:00
Frank Praznik
014196d98d
cocoa: Fix minimizing fullscreen windows on Sequoia
...
Sequoia seems to require that the window briefly be made key when minimizing it after coming out of fullscreen.
2024-11-19 12:10:31 -05:00
Sam Lantinga
7a074f582e
Steam Controller handling improvements
...
* Only handle the controller interfaces on a Steam Controller and wireless dongle
* Wait until we get the connected status when initializing a wireless dongle
2024-11-18 21:36:23 -08:00
Sam Lantinga
0c53d9a1ee
Implemented SendEffect for Steam Controllers
2024-11-18 18:26:07 -08:00
Sam Lantinga
d8f8cf3e99
Added SDL_HINT_JOYSTICK_HIDAPI_STEAM_HOME_LED
2024-11-18 14:50:37 -08:00
Sam Lantinga
184da780f5
Fixed a crash when unplugging a Steam Controller dongle
2024-11-18 12:13:42 -08:00
Frank Praznik
70fe38bcb2
wayland: Rename some display related variables to better reflect their purpose
...
Use the 'logical' prefix for the logical width and height, and clarify that the physical dimensions reflect the width/height in millimeters.
2024-11-18 11:39:27 -05:00
Sam Lantinga
e027b85cc4
Validate that pixel formats have the correct attributes
...
Also added a test to save and load as BMP format to make sure pixel transformations are working correctly.
Fixes https://github.com/libsdl-org/SDL/issues/11483
2024-11-17 11:58:57 -08:00
Ozkan Sezer
0f9e551d71
joystick/gdk/SDL_gameinputjoystick.c: fix build errors due to -Wformat
2024-11-17 00:45:02 +03:00
Sam Lantinga
af6ce629c4
Make sure pairing remains enabled for the entire time dongle pairing is active
2024-11-16 13:42:12 -08:00
Sam Lantinga
2b10a040ff
Fixed rare case of wireless Steam Controller not being detected at startup
2024-11-16 13:10:02 -08:00
expikr
e9f7a1b359
fix relative system scale function on Windows
...
source: https://web.archive.org/web/20161202223814/https://ihme.org/~orbik/random_stuff/donewmouseaccel.png
Co-Authored-By: Sam Lantinga <slouken@libsdl.org >
2024-11-15 16:00:19 -08:00
expikr
25390d6c21
fix relative warp emulation broken by #11460
2024-11-15 15:58:09 -08:00
Cameron Gutman
e0166256ff
joystick: Fix connection type for Steam Controller and Xbox 360 dongles
2024-11-15 17:54:14 -06:00
Sam Lantinga
8657fa8b3b
Improved reliability of the Steam Controller driver
2024-11-15 15:55:13 -08:00
expikr
f8468d580d
add brace for contitional
...
Co-authored-by: Sam Lantinga <slouken@libsdl.org >
2024-11-15 10:20:17 -08:00