Sam Lantinga
8298d60e4a
Dynamically load CreateWaitableTimerExW and SetWaitableTimerEx
...
These functions are not available on Windows XP
2025-01-29 05:40:49 -08:00
Sam Lantinga
409f3ade88
Removed SDF test program
...
There's a much better example of SDF support in testgputext in SDL_ttf
2025-01-29 04:15:27 -08:00
Sam Lantinga
4176e188bf
Enable testgles2 on all platforms
...
We use SDL's headers so we're not dependent on system OpenGL header availability.
2025-01-29 04:03:31 -08:00
Timothee Besset
cf249b0cb2
fix -Wformat problem in 32 bit builds
2025-01-28 16:57:25 -08:00
SDL Wiki Bot
11dbff246f
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-28 19:01:16 +00:00
Ryan C. Gordon
ccd5fcef12
audio: Fix potential NULL dereference in AudioStream gain adjustment.
...
You can end up with a NULL scratch buffer, which is otherwise not needed on
this path, then ConvertAudio will end up needing that scratch space to move
to float32 to apply gain.
Fixes #12091 .
(I assume.)
2025-01-28 13:14:25 -05:00
Frank Praznik
48f5550651
wayland: Don't send keyboard and mouse added events during initialization
...
Only send them when a device is added post-initialization, as is done on other platforms.
2025-01-28 13:02:29 -05:00
Sam Lantinga
2a946e91bc
android: updated release build SDK to match documented requirements
2025-01-28 06:03:37 -08:00
Sam Lantinga
44edbf7137
Use templates for the package support files
...
This makes them more easy to reuse in other projects.
2025-01-28 06:03:37 -08:00
Adam Kewley
1c008d8ed0
Change DBUS introspection timer from INFINITE -> DEFAULT when introspecting available dialog services
2025-01-28 05:13:35 -08:00
Carl Åstholm
c21bc48a70
Fix undefined behavior in SDL_windowsmouse.c
...
This fix prevents C undefined behavior from being invoked on Windows
if the user's configured cursor speed is below 6.
2025-01-28 05:12:16 -08:00
Sam Lantinga
1c7cc60286
Skip IsRegularFileOrPipe() check on Emscripten
...
The sandbox guarantees that this will be true.
Fixes https://github.com/libsdl-org/SDL/issues/12108
2025-01-27 22:25:12 -08:00
Ryan C. Gordon
8f958953f1
audio: Fix audio stream gain going wrong in certain scenarios.
...
Fixes #12091 .
2025-01-27 20:20:17 -05:00
Ryan C. Gordon
3b3af7105b
audio: Fix a minor code style thing.
2025-01-27 20:20:17 -05:00
mausimus
725ee7665c
Documentation: fixed typos around floats precision
2025-01-27 14:12:24 -05:00
Petar Popovic
6f098a920e
Avoid a crash when a tray without a menu is clicked on Windows.
2025-01-26 23:27:28 -08:00
Ryan C. Gordon
09f900f66e
audio: Remove resampling limits.
...
Audio streams used to accept audio with a src or dest frequency between
4000Hz and 384000Hz. It was arbitrary (or perhaps a relic of older
resampler revisions), and testing shows unnecessary, so remove it.
Fixes #12098 .
2025-01-27 01:13:54 -05:00
Sam Lantinga
5f8e0ebf58
Fixed memory leak at shutdown
2025-01-26 19:30:29 -08:00
Cameron Gutman
913e0a5e53
SDL_migration.cocci: handle more renamed event fields
2025-01-25 23:50:44 -06:00
Cameron Gutman
628130ec8f
SDL_migration.cocci: fix incorrect SDL3 API name
2025-01-25 23:50:04 -06:00
SDL Wiki Bot
fa8c0f0552
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-26 03:57:15 +00:00
SDL Wiki Bot
17c4bdd754
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-24 21:19:18 +00:00
SDL Wiki Bot
ad8a09000f
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-24 20:06:31 +00:00
cosmonaut
8df17c97d1
GPU: Add notes about shader resource requirements to documentation
2025-01-24 12:04:00 -08:00
Anonymous Maarten
303fd5ed5a
release: rename resources/cmake -> resources/CMake in dmg
2025-01-24 20:08:25 +01:00
Anonymous Maarten
fdf33f9047
xcode+cmake: Use SDL3.framework/SDL3 as IMPORTED_LOCATION
...
Not adding /SDL3 causes CMake to no longer set the RUNPATh on
binaries in the build directory.
It also breaks compatibility with CMake versions older then 3.28.
reverts c56a3f60fe
(xcode+cmake: use SDL3.framework folder as IMPORTED_LOCATION)
reverts ad3c7b92f8
(xcode+cmake: use SDL3.framework folder as IMPORTED_LOCATION)
2025-01-24 20:07:51 +01:00
Ryan C. Gordon
cb3d6dc467
.wikiheaders-options: Removed wikipreamble setting.
...
Reference https://github.com/libsdl-org/sdlwiki/issues/713 .
2025-01-24 01:53:51 -05:00
SDL Wiki Bot
84c4ff2f10
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-24 04:47:03 +00:00
nightmareci
2e381a717f
Fix possible integer overflow of size + 1
2025-01-23 15:57:23 -08:00
SDL Wiki Bot
129ebc77b9
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-23 23:20:22 +00:00
Petar Popovic
a336b62d8b
Remove newlines from error messages
2025-01-23 11:45:04 -08:00
Frank Praznik
d0ae093681
x11: Don't force position windows with an undefined position
...
An undefined position means that the window manager can handle placement, so SDL shouldn't override that by forcing a position when showing a window.
Allows for removing a fair bit of now-unnecessary code as well.
2025-01-23 14:36:26 -05:00
hspir404
72a3eae0da
Fix buffer overrun in ConvertAudio with different src/dst channel count
...
- Source or destination format also has to not be F32 to trigger bug
2025-01-23 13:52:31 -05:00
Petar Popovic
983cfe8b1c
Remove even more newlines from log messages
2025-01-23 09:32:50 -08:00
nightmareci
718034f5fa
Remove newlines from log messages
2025-01-22 20:25:04 -08:00
Sam Lantinga
17625e20df
Removed redundant step in Visual Studio instructions
2025-01-22 13:26:11 -08:00
Sam Lantinga
c806c271c5
Tweaked emscripten introduction
2025-01-22 13:05:44 -08:00
Sam Lantinga
74536243dd
Emscripten works well using the normal CMake workflow
2025-01-22 12:56:32 -08:00
Anonymous Maarten
98c447802f
ci: bump to NetBSD 10.1
2025-01-22 19:39:17 +01:00
nightmareci
a437dbc7e3
Improve log documentation
2025-01-22 10:37:54 -08:00
SDL Wiki Bot
1c21a72bda
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-22 17:20:25 +00:00
Susko3
73fc2b03a3
Copy pen handling code from SDLSurface
to SDLControllerManager
2025-01-21 21:33:11 -08:00
Sam Lantinga
6f3d0b3cdb
Fixed build when using an older Xcode SDK
...
Fixes https://github.com/libsdl-org/SDL/issues/12048
2025-01-21 18:17:02 -08:00
Anonymous Maarten
cb3cc28809
emscripten: pass --no-sandbox to the chrome web driver
...
This fixes running the Emscripten tests on Ubuntu 24.04.
2025-01-22 02:48:32 +01:00
SDL Wiki Bot
df3cfbc797
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-21 23:08:39 +00:00
cosmonaut
799093799a
GPU: Note buffer alignment requirements
2025-01-21 15:07:34 -08:00
SDL Wiki Bot
5bf077f1f1
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-21 23:04:33 +00:00
SDL Wiki Bot
5d6a780453
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-21 23:00:08 +00:00
Sam Lantinga
77b520e93e
Updated to version 3.2.1 for development
2025-01-21 14:02:06 -08:00
Klayism
bb3c5b4f3a
Fix multiple occurences of typo "an simple" to "a simple"
2025-01-21 14:00:54 -08:00