Katelyn Gadd
90707c019c
Fix pointer-size mismatch
2025-01-12 18:25:49 -08:00
Katelyn Gadd
253b424cb4
Okay, that didn't satisfy gcc either
2025-01-12 18:13:47 -08:00
Katelyn Gadd
94b6734a84
Object handles are uint64_t
2025-01-12 18:02:05 -08:00
Katelyn Gadd
54bb24e424
Assign debug names to command pools and command buffers identifying their SDL_GPU pointers and what thread they have affinity to
2025-01-12 17:56:55 -08:00
Anonymous Maarten
4ba4f0a106
release: add Android aar to devel zip archive
...
[ci skip]
2025-01-12 16:28:00 -08:00
Sam Lantinga
c4f2f7b352
Removed redundant information in example pages
...
This is large text and is already covered by the header and breadcrumb
2025-01-12 15:57:48 -08:00
SDL Wiki Bot
949ec0c501
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-12 23:52:58 +00:00
SDL Wiki Bot
839227b4b0
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-12 22:24:11 +00:00
cosmonaut
c04b739df6
GPU: Note that resource naming functions are not thread safe.
2025-01-12 14:22:26 -08:00
Ethan Lee
3df0767e34
gpu: Initialize Metal stencil format even if stencil test is disabled
2025-01-12 13:05:27 -08:00
Ozkan Sezer
307dac97ac
testcontroller.c: fix build errors due to -Wformat after commit b524af1
2025-01-12 22:00:02 +03:00
Sam Lantinga
21cc1878f1
Reset enhanced mode state when closing a controller
...
Fixes https://github.com/libsdl-org/SDL/issues/11912
2025-01-12 10:45:54 -08:00
Sam Lantinga
b524af1b43
testcontroller: log the ID of gamepads as they are added and removed
2025-01-12 10:02:39 -08:00
expikr
9a83fa026d
apply multiplier scale after system scale
2025-01-12 08:24:41 -08:00
SDL Wiki Bot
ea859fba3a
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-12 16:07:12 +00:00
Sam Lantinga
551510c0eb
SDL_HINT_MOUSE_RELATIVE_SYSTEM_SCALE can be combined with SDL_HINT_MOUSE_RELATIVE_SPEED_SCALE
2025-01-12 08:05:51 -08:00
Ryan C. Gordon
95c1584386
README-migration: note SDL2 brightness/gamma ramp APIs that have been removed.
...
Fixes #11918 .
2025-01-12 04:35:56 -05:00
Ryan C. Gordon
f0af6c348a
emscripten: Add SDL_EVENT_DISPLAY_ORIENTATION support.
...
Reference Issue #11389 .
2025-01-12 02:23:00 -05:00
Ryan C. Gordon
3ad9c38a46
emscripten: Don't set OpenGL swap intervals until first PumpEvents.
...
Any requested swap interval will be saved and set on the first PumpEvents.
Once PumpEvents has been called at least once, swap intervals are set
immediately.
This assumes that events won't be pumped until after an Emscripten main loop
has been defined, and so prevents a warning on the javascript console:
"emscripten_set_main_loop_timing: Cannot set timing mode for main loop since
a main loop does not exist! Call emscripten_set_main_loop first to set one
up."
Fixes #9969 .
2025-01-11 15:19:09 -05:00
Anonymous Maarten
d42b4ed961
Leave SDL_TriggerBreakpoint undefined on unknown platforms
2025-01-11 17:29:27 +01:00
Anthony
9a7cfbc2d0
Add onNativePen to proguard-rules.pro
2025-01-11 07:44:55 -08:00
Ryan C. Gordon
82125ec1d8
x11: Be more aggressive about finding _any_ usable messagebox font.
...
Fixes #4800 .
Fixes #11910 .
2025-01-11 00:35:39 -05:00
Sam Lantinga
4231848791
Revert "Separate android initialization from Activity ( #11891 )"
...
This reverts commit d14c93c4b1 .
This is a major breaking change for activities that inherit SDLActivity
2025-01-10 15:27:08 -08:00
Ozkan Sezer
61f13b94d1
add a fallback SDL_TriggerBreakpoint() for MSVC after commit ebaa30d3.
2025-01-11 02:11:50 +03:00
Xander
d14c93c4b1
Separate android initialization from Activity ( #11891 )
2025-01-10 15:05:58 -08:00
SDL Wiki Bot
c64197be1a
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-10 20:56:33 +00:00
Sam Lantinga
042898995c
Added SDL_ClickTrayEntry()
...
Also removed the app delegate from the tray code on Cocoa and folded that into SDL3AppDelegate.
Fixes https://github.com/libsdl-org/SDL/issues/11906
2025-01-10 12:55:50 -08:00
Ryan C. Gordon
fb0f6a1196
cocoa: Display mode changes set Desktop display mode, not current.
2025-01-10 15:35:43 -05:00
Ryan C. Gordon
38176bfe9a
cocoa: Implemented display hotplugging support.
...
Fixes #7764 .
2025-01-10 13:25:34 -05:00
Frank Praznik
0e2ca934b5
events: Remove unused function declaration
2025-01-10 11:23:54 -05:00
Sam Lantinga
715897aea7
Added support for displaying XIM composition strings
...
Fixes https://github.com/libsdl-org/SDL/issues/6437
2025-01-10 03:26:42 -08:00
Sam Lantinga
a8a65b6fca
Use XIM for IME input on X11
...
Tested with fcitx5 and ibus on Xorg and Xwayland
* Used US English with dead keys and verified that ` followed by a results in à
* Used Hangul to enter Korean and got text in the expected order
* Used the mozc IM to enter Japanese and was able to generate candidates and so forth
Fixes https://github.com/libsdl-org/SDL/issues/3907
Fixes https://github.com/libsdl-org/SDL/issues/6164
Fixes https://github.com/libsdl-org/SDL/issues/11894
2025-01-10 03:26:42 -08:00
SDL Wiki Bot
1f3b40797d
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-10 06:39:06 +00:00
Ryan C. Gordon
fb94a79f89
stdinc: define SDL_NOLONGLONG for old Visual Studios, document the symbol.
...
Reference PR #11900 .
2025-01-10 01:37:25 -05:00
Anonymous Maarten
bda90c3cb6
cmake: rename SDL_DISABLE_* CMake options to SDL_xxx
2025-01-10 04:23:32 +01:00
Ethan Lee
90aff306c1
gpu: Show a debug error when pipelines are not given the right shader stages
2025-01-09 20:17:21 -05:00
SDL Wiki Bot
00b23a012c
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-09 22:27:31 +00:00
Frank Praznik
6b776a9989
keyboard: Add some SDL keycodes for common Xkb keys
...
Add SDL keycodes for keys found commonly found in the default Xkb layout, such as left tab and compose, and keys frequently used for custom modifiers such as Meta, Hyper, and Level5 Shift.
As these keys aren't Unicode code points and don't have associated scancodes (at least on modern keyboards), they are placed in the new extended key code space, with bit 30 set as a flag.
2025-01-09 17:26:41 -05:00
Frank Praznik
e5966bbdb1
x11: Add support for Mod3 and more esoteric Xkb configurations
...
Adds support for Mod3, which is usually Level 5 shift, as well as not altering the functionality of the more esoteric modifier keys, such as meta and hyper.
Also use the system modifier state instead of setting them based on key presses, which may be incorrect due to remapping, or toggled in some other manner.
2025-01-09 17:26:41 -05:00
Frank Praznik
73ee99978d
wayland: Add support for Mod3 and more esoteric Xkb configurations
...
Adds support for Mod3, which is usually Level 5 shift, but can vary, as well as not altering the functionality of the more esoteric modifier keys, such as meta and hyper.
2025-01-09 17:26:41 -05:00
Anonymous Maarten
ebaa30d339
__debugbreak was introduced in Microsoft Visual Studio 2003
2025-01-09 16:04:14 -05:00
Anonymous Maarten
c8f3f1b461
_BitScanReverse was introduced in Microsoft Visual Studio 2005
2025-01-09 16:04:14 -05:00
Anonymous Maarten
a78104a47f
Disable long long support in the headers with SDL_NOLONGLONG
...
Some older toolchains don't support 'long long'.
2025-01-09 16:04:14 -05:00
Ethan Lee
6cdde10edb
gpu: Metal depth write should behave like Vulkan/D3D12
2025-01-09 15:28:26 -05:00
SDL Wiki Bot
dd0dc64d51
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-09 20:15:17 +00:00
SDL Wiki Bot
c688853a82
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-09 19:47:47 +00:00
Ryan C. Gordon
507593f485
wikiheaders: Allow symbols to be filtered from manpage generation by regex.
...
This is specifically to prevent generating a manpage for "Uint32" and friends.
Fixes #11898 .
2025-01-09 14:13:00 -05:00
Ethan Lee
7acf78ba92
storage: Trim the title storage root from enumerated paths
2025-01-09 13:50:52 -05:00
Frank Praznik
037cd25a22
win32: Use the pending size during NCCALCSIZE
...
Non-resizable windows still need to apply the pending size, as they can be resized programmatically.
Fixes programmatically resizing windows without the WS_THICKFRAME style.
2025-01-09 12:27:05 -05:00
Cameron Cawley
e8916b2608
pipewire: Use byte order pixel format aliases
2025-01-09 09:52:30 -05:00