SDL Wiki Bot
c7584df999
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-06 16:17:26 +00:00
Ryan C. Gordon
1f54b228ff
video: Convert some EGL environment variables to SDL hints.
...
Fixes #10479 .
2025-01-06 11:15:26 -05:00
Sam Lantinga
7c9f6c6313
Remove debug logging
2025-01-05 20:06:50 -08:00
SDL Wiki Bot
19ddb29d2d
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-06 02:54:14 +00:00
Ryan C. Gordon
d16f76e3d4
wasapi: Don't crash/hang if transitioning to/from a Remote Desktop Connection.
...
Fixes #9673 .
2025-01-05 21:53:35 -05:00
Ryan C. Gordon
742f2a2fad
SDL_render.h: Improve SDL_ConvertEventToRenderCoordinates documentation.
...
Fixes #9424 .
2025-01-05 20:55:42 -05:00
Frank Praznik
2b375d9704
wayland: Don't enable the text-input protocol when using Fcitx
...
Otherwise, key repeat will be broken. Enabling it under Wayland isn't recommended anyway.
2025-01-05 17:53:58 -05:00
Semphris
dcc645e413
Fix HTML examples template tabs
...
Tab labels now follow their drawer again. Also, to avoid tabs covering
up code or debugging logs, the tab label that's on top (and therefore
not automatically hidden behind the other drawer when that drawer
opens) will now automatically hide itself when the other drawer is
opened.
2025-01-05 11:39:20 -08:00
SDL Wiki Bot
ece6a6ed8f
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-05 19:12:20 +00:00
Ryan C. Gordon
7f9ee31024
include: Fill in more category documentation.
...
Reference Issue #11874 .
2025-01-05 14:11:11 -05:00
Anonymous Maarten
16ad3e5af6
cmake: consider X11 as not available when xext.h is not found
...
This is user friendlier than straight up erroring
2025-01-05 16:05:25 +01:00
David Gow
0ae57f1d90
tray: unix: Shutdown the GTK thread when not in use
...
When using the libappindicator/gtk/unix Tray backend, the background
thread which calls gtk_main() is never destroyed. This means that we
detect a leaked thread as SDL_Quit().
Instead, tell gtk to shut down its main loop when no tray icons are
active. This fixes the issue here: SDL notices no leak, and repeatedly
creating / destroying tray icons seems to work fine.
Signed-off-by: David Gow <david@ingeniumdigital.com >
2025-01-05 02:51:12 -08:00
Ryan C. Gordon
6a0405b933
testautomation: Added a test to stdlib_swprintf that previously would fail.
2025-01-05 02:45:15 -05:00
Kim Giseo
9f2186ad52
Removed outdated comment in AndroidManifest.xml
2025-01-04 19:25:00 -08:00
Ryan C. Gordon
181995b44f
stdlib: Reworked SDL_vswprintf to be more efficient and return correct values.
...
Fixes #11729 .
2025-01-04 21:55:07 -05:00
Erik Soma
8509041a09
video: Fix SDL_GL_GetAttribute depth/stencil size when 0
2025-01-04 18:57:48 -05:00
Ryan C. Gordon
344e394bf4
camera: Favor v4l2 over pipewire, for now.
...
Reference Issue #11473 .
Reference Issue #9776 .
Reference Issue #11819 .
Reference Issue #9989 .
Reference Issue #10842 .
2025-01-04 16:11:57 -05:00
SDL Wiki Bot
d8c679416b
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-04 19:04:41 +00:00
Semphris
b6dc44b133
Support dark theme for tray menus on Windows
2025-01-04 11:04:21 -08:00
Semphris
7673b84f52
Make SDL_GetTrayEntires() NULL-terminated
2025-01-04 10:56:19 -08:00
Katelyn Gadd
a58bc3eaf4
[GPU] Fix crash in nvidia user-mode win32 driver when game window is minimized during swapchain resize ( #11848 )
2025-01-04 10:25:08 -08:00
Susko3
0a5d2f3da2
Handle pen eraser button as a second button
2025-01-04 05:27:06 -05:00
Ryan C. Gordon
3519ef3b3b
SDL_asyncio.h: Fixed various datatype's \since
documentation.
2025-01-04 04:10:15 -05:00
Ryan C. Gordon
56d7cc7a02
SDL_video.h: Added a note about platform quirks to SDL_DestroyWindow docs.
...
Fixes #10081 .
2025-01-04 03:48:10 -05:00
SDL Wiki Bot
04f3bdb118
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-04 08:24:05 +00:00
Ryan C. Gordon
18c6958cae
SDL_vulkan.h: Improve SDL_Vulkan_LoadLibrary/SDL_Vulkan_UnloadLibrary docs.
...
Fixes #9541 .
2025-01-04 03:22:34 -05:00
Daniel Wymark
522682cd6e
Add detailed documentation on building with MinGW64 ( #11780 )
2025-01-03 21:07:38 -08:00
Sam Lantinga
a4cd17cce5
Fixed building on macOS with the dialog subsystem disabled
2025-01-03 16:17:16 -08:00
Anonymous Maarten
efba42a67b
tests: avoid undefined signed overflow
2025-01-04 01:06:29 +01:00
Sam Lantinga
156b3b4a8c
Fixed language detection on iOS
...
On iOS you might see traditional Chinese on a US phone as: "zh-Hans_US"
2025-01-03 15:27:08 -08:00
Anonymous Maarten
53aaf8c26b
cmake: custom generate-XXX targets must depend on outputs
2025-01-04 00:19:45 +01:00
SDL Wiki Bot
9b40d43b1f
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-03 22:37:37 +00:00
Frank Praznik
85851459d6
docs: Note that using the Wayland display scaling mode can have imprecision when positioning due to unit conversion and rounding
2025-01-03 17:36:36 -05:00
Anonymous Maarten
db97da4ccb
ci: bump FreeBSD to 14.2
...
[sdl-ci-filter netbsd]
[sdl-ci-filter freebsd]
2025-01-03 23:24:41 +01:00
Frank Praznik
5579010b6a
wayland: Adjust the scaled popup position even if the dimensions didn't change
...
Otherwise, the unscaled position will be sent.
2025-01-03 17:17:16 -05:00
Ryan C. Gordon
2d37903323
pen: implement pen support for Windows.
...
Fixes #10516 .
2025-01-03 12:58:49 -05:00
Sam Lantinga
ef21ccf080
Create a separate metal shader for NV12 textures
...
Also unify the color output function so it works with the various combinations of input and output colorspaces.
Fixes https://github.com/libsdl-org/SDL/issues/11727
2025-01-03 09:30:47 -08:00
Sam Lantinga
49663bfb58
Make Windows dialogs DPI aware
...
Fixes https://github.com/libsdl-org/SDL/issues/4775
Fixes https://github.com/libsdl-org/SDL/issues/9691
2025-01-03 09:25:10 -08:00
Sam Lantinga
a8c41135aa
Enable themed Windows dialogs when building with Visual Studio
2025-01-03 09:25:10 -08:00
Anonymous Maarten
8b83a57847
Check that dll's built by MinGW do not link to unwanted runtime libraries
2025-01-03 16:56:22 +01:00
Ryan C. Gordon
e484182765
testcamera: Log the camera backend in use.
2025-01-03 03:46:22 -05:00
SDL Wiki Bot
011454b237
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-03 03:10:47 +00:00
Sam Lantinga
efc390d7e2
Don't log SDL errors by default
...
There are many recoverable errors that may happen internally and can be safely ignored if the public API doesn't return an error code. Seeing them causes lots of developer anxiety and they generally aren't helpful.
Fixes https://github.com/libsdl-org/SDL/issues/11813
2025-01-02 17:32:10 -08:00
Sam Lantinga
c077b7a918
Fixed the version availability of SDL_HINT_JOYSTICK_ENHANCED_REPORTS
2025-01-02 17:28:45 -08:00
SDL Wiki Bot
0b520cd4b4
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-03 01:18:56 +00:00
Sam Lantinga
9f7b2c3595
Fixed incorrect error message when a joystick can't be opened
2025-01-02 17:18:09 -08:00
Sam Lantinga
2c0a8363a5
Added SDL_HINT_JOYSTICK_ENHANCED_REPORTS
...
This hint defaults on, enabling advanced controller features.
This replaces SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE and SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE, and is supported by PlayStation and Nintendo Switch controllers.
Fixes https://github.com/libsdl-org/SDL/issues/10086
2025-01-02 17:18:09 -08:00
SDL Wiki Bot
95d44f11c7
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-02 20:40:15 +00:00
SDL Wiki Bot
16dfaca728
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-02 20:06:39 +00:00
SDL Wiki Bot
32ab09ba21
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-02 19:44:57 +00:00