Ozkan Sezer
cc9937201e
x11: fix a typo after PR/13855 and kill lots of trailing whitespace
2025-09-03 04:37:56 +03:00
Sam Lantinga
ef19c72015
Set the texture scale and address mode when creating a texture
...
Fixes https://github.com/libsdl-org/sdl2-compat/issues/506
2025-09-02 18:05:31 -07:00
eafton
d14cbd7b50
Introduce X11 toolkit and make message dialogs use it ( #13855 )
2025-09-02 13:22:48 -07:00
Ryan C. Gordon
af74b1fe84
wikiheaders: Generate a current list of supported environment variables.
...
Fixes #13827 .
2025-09-02 15:49:52 -04:00
Ozkan Sezer
83bb0f9105
cmake: simd detection clean-up for Apple multi-arch configs.
2025-09-02 22:34:10 +03:00
Anonymous Maarten
c0fb71f2a9
cmake: fix SDL_UNINSTALL post-configuration report
2025-09-02 21:29:50 +02:00
Anonymous Maarten
e15e2808f2
cmake: use 'TargetConditionals.h' on Apple for SIMD tests
2025-09-02 21:29:50 +02:00
Anonymous Maarten
1e7d3b51de
cmake: use APPLE in dep_option
...
expands to <nothing> on e.g. Windows, which will be interpreted as true by cmake_dependent_option.
2025-09-02 21:29:50 +02:00
Sam Lantinga
84af0bb53a
Updated the 8BitDo Ultimate 2 Wireless Controller dongle update rate
...
The latest dongle firmware appears to update at 1000Hz
2025-09-02 09:53:09 -07:00
Sam Lantinga
a562e40d2c
Revert "Disable rumble for the Ultimate 2 Wireless Controller in dongle mode"
...
This reverts commit 065fdca953
.
8BitDo has fixed the rumble issue with dongle firmware update V1.05
2025-09-02 09:53:09 -07:00
Sam Lantinga
b47572c9bb
Fixed build warning with Visual Studio
2025-09-02 09:53:09 -07:00
Ethan Lee
689049f8ec
gpu: VK_KHR_get_physical_device_properties2 can be optional
2025-09-02 09:53:01 -07:00
Sylvain
7920e48386
Fixed bug #13849 - Intent always explicit
2025-09-02 09:37:41 -07:00
DominusExult
a223481ed3
xcFramework: Removing the simulators' debug symbols to reduce file size.
2025-09-02 08:57:18 -07:00
Maia
5938dce5de
Add missing include
2025-09-02 12:52:53 +02:00
Sylvain
814f0b7d41
Android: more simplification since min API supported is 21
2025-09-02 12:34:38 +02:00
Sam Lantinga
1f007ad5cd
Added support for the player LED on Nintendo Switch 2 controllers
2025-09-01 21:11:16 -07:00
Sam Lantinga
4b93e7488f
Added support for the Switch 2 Joy-Cons with charging grip
2025-09-01 21:11:16 -07:00
Sylvain
6136ba7a74
Android: simplification since min API supported is 21
2025-09-01 14:24:42 -07:00
Ryan C. Gordon
7323104f97
openslES: Patched to compile.
...
(whoops.)
2025-09-01 11:10:02 -04:00
Ryan C. Gordon
0b2a003a35
openslES: OpenSL ES on Android only supports two formats, limit to that.
...
(Three with the floating point extension, which we use.)
This is according to:
https://developer.android.com/ndk/guides/audio/opensl/opensl-for-android
Previously, this would accept a request for Sint8 or Sint32 and disaster
would ensue.
Fixes #13779 .
2025-09-01 10:30:29 -04:00
SDL Wiki Bot
4587bc385e
Sync SDL3 wiki -> header
...
[ci skip]
2025-08-31 22:35:36 +00:00
DominusExult
5f39288523
Restructuring the iOS readme to list the recommended xcFramework before embedding the SDL3 Xcode project with some rewording.
...
Furthermore a script to that is necessary for distributing an SDL3 app on the AppStore when embedding the SDL3 Xcode project.
2025-08-31 15:33:58 -07:00
DominusExult
98c03c644a
Adding dSYMs (DWARF debug symbols) to the xcFramework.
...
Needed to generate debug symbols for both release and debug builds and explicitly set the format so all arches actually generate the dSYMs.
This allows distributing an SDL3 app to the AppStore without the need to generate the dSYMs via script when using either the xcFramework or embedding the SDL3 Xcode project.
Fixes #13573
2025-08-31 15:33:58 -07:00
Frank Praznik
1c8f1e0b4c
wayland: Update pointer warp protocol checks and error message
2025-08-31 13:19:32 -04:00
SDL Wiki Bot
ee532e3b66
Sync SDL3 wiki -> header
...
[ci skip]
2025-08-31 14:29:15 +00:00
Ozkan Sezer
875653658a
cmake: revert commit 5d1bbd9
and change sse4.2 test
...
clang doesn't support -mcrc32 until version 14.0, therefore drop -mcrc32
use in sse 4.2 test, and change it to check _mm_cmpgt_epi64() instead of
_mm_crc32_u32(). without this, sse4.2 check was failing with clang <= 13
Fixes https://github.com/libsdl-org/SDL/pull/12223
2025-08-31 03:20:20 +03:00
Sam Lantinga
7c8df4ea52
Fixed warnings building with Visual Studio
2025-08-30 10:15:58 -07:00
Sam Lantinga
3cf2350f21
Fixed build
2025-08-30 10:15:32 -07:00
Jordan Saunders
265236d952
Fix two uninitialized variables
...
Found when running in valgrind looking at another issue.
- RenderPass' depth_stencil_target
Tripped in SDL_BindGPUFragmentSamplers when not binding a DS target
- VulkanCommandBuffer's swapchainRequested
Tripped in VULKAN_Submit for the end transition barrier when
creating an image. The field is only reset when reused, not on first
use
2025-08-30 06:05:22 -07:00
Frank Praznik
fdfde42db1
fs: Fix OpenBSD path retrieval
...
Set the path start pointer to point to a valid string.
2025-08-29 19:03:44 -04:00
Ozkan Sezer
c0e5fd55d2
CI: add OpenBSD workflow
2025-08-30 01:55:02 +03: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
Xander
dc7a3a1219
Add SDL_SENSOR_COUNT to SDL_SensorType
2025-08-29 07:31:02 -07:00
Ryan C. Gordon
ee69cdc1fe
README-emscripten.md: Fixed cmake commmand line for enabling pthreads.
...
Fixes #13190 .
2025-08-29 09:39:14 -04:00
Vicki Pfau
184f6fa231
switch2: Read calibration data
2025-08-29 05:46:19 -07:00
William Horvath
d15e531bad
dialog: Fix compilation with pre-Vista headers.
...
Closes #13823
2025-08-29 05:26:01 -07:00
SDL Wiki Bot
edfbfa27b4
Sync SDL3 wiki -> header
...
[ci skip]
2025-08-29 03:02:44 +00:00
Matthew Zavislak
4f11feb708
Add elf alignment check for Android artifacts ( #13818 )
2025-08-28 16:31:03 -07:00
Anonymous Maarten
2734248544
Remove superfluous '/utf-8' from MSBuild projects
2025-08-28 23:26:48 +02:00
Sam Lantinga
fa52949529
Added a note that we dynamically load libusb
2025-08-28 09:13:01 -07:00
Sam Lantinga
1a653f7f89
Exported SDL_hid_get_properties()
2025-08-28 09:13:01 -07:00
SDL Wiki Bot
c1e7b1a540
Sync SDL3 wiki -> header
...
[ci skip]
2025-08-28 16:12:34 +00:00
Sam Lantinga
ac5ccbe386
Moved Nintendo Switch 2 Controller initialization from hid.c to SDL_hidapi_switch2.c
2025-08-28 09:10:47 -07:00
Sam Lantinga
65c1fc1b42
Added SDL_hid_get_properties()
2025-08-28 09:10:47 -07:00
Sam Lantinga
09ca7e8f64
Move libusb support into a shared location
2025-08-28 09:10:47 -07:00
Sam Lantinga
cdae0d10d1
Fixed button mapping for the Nintendo Switch 2 Pro Controller
2025-08-28 09:10:47 -07:00
Sam Lantinga
fb9fcfa37b
Fixed controller name when hotplugging the Nintendo Switch 2 Pro Controller
2025-08-28 09:10:47 -07:00
Sam Lantinga
2bb51e1340
Claim the interface before doing bulk transfers
2025-08-28 09:10:47 -07:00
Ethan Lee
a798da2ec7
hidapi: Add support for NSO GameCube controller via libusb.
...
Thanks to Nohzockt for the initial libusb init and hidapi polling work!
2025-08-28 09:10:47 -07:00