Sam Lantinga
ae8df1dcbd
Note that the primary monitor isn't always at 0,0
2025-01-17 11:52:33 -08:00
Sam Lantinga
4b429b9fa7
Updated README-platforms.md
...
Also added platform specific README files
2025-01-16 16:21:18 -08:00
Sam Lantinga
616ae99069
Removed README-git.md
...
We're fully hosted on GitHub, no need for additional explanation.
2025-01-16 15:45:51 -08:00
Ryan C. Gordon
c2dac95f58
Revert "Add CategoryAPICategory to the complete API index"
...
This reverts commit 21a42d2b0d
.
It doesn't work like this, sorry. :)
2025-01-16 18:02:01 -05:00
Anonymous Maarten
dd4f5df824
release: support android-X-ext-Y directories
...
[ci skip]
2025-01-16 20:59:13 +01:00
ROllerozxa
cdc5483cf9
Vita: Fix off-by-one error for synthetic mouse events
2025-01-16 11:58:01 -08:00
SDL Wiki Bot
07a5c144c6
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-16 19:43:08 +00:00
Sam Lantinga
eb168e410c
Updated to version 3.1.11 for development
2025-01-16 11:41:28 -08:00
Frank Praznik
b96bb152c2
wayland: Don't redundantly set the border state when showing a window
...
They are now set before the initial configure.
prerelease-3.1.10
2025-01-16 13:54:39 -05:00
Frank Praznik
5a564a718d
wayland: Add a dummy function for the libdecor dismiss popup callback
...
This was never added, and we've been lucky that it's never called as libdecor doesn't check the function pointer for null before doing so.
2025-01-16 13:48:16 -05:00
Frank Praznik
9f6eeb1095
wayland: Set the border state before the initial configure
...
This allows the toplevel bounds to be set correctly on borderless windows.
2025-01-16 13:40:31 -05:00
SDL Wiki Bot
274bc95dfd
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-16 18:29:57 +00:00
SDL Wiki Bot
07f7c40464
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-16 18:18:47 +00:00
Ryan C. Gordon
22d8e73530
include: filled in category documentation for SDL_messagebox.h.
...
Reference Issue #11847 .
2025-01-16 13:16:18 -05:00
Sam Lantinga
21a42d2b0d
Add CategoryAPICategory to the complete API index
2025-01-16 09:26:00 -08:00
Anonymous Maarten
1006236aa6
ci: add summary to release.yml
...
[ci skip]
2025-01-16 18:24:13 +01:00
Ethan Lee
326ce9bb8d
gpu: D3D12 buildfix for Xbox
2025-01-16 12:19:59 -05:00
Ethan Lee
c95b842b30
video: Xbox does not use CreateIconFromSurface
2025-01-16 12:19:46 -05:00
Sam Lantinga
d8e1ad0ebc
release: skip extended Android SDK versions
2025-01-16 09:07:00 -08:00
Frank Praznik
7ee2ab3830
wayland: Fix return value check from int-to-bool conversion
2025-01-16 11:52:16 -05:00
Sam Lantinga
1dd8fadca2
Updated to version 3.1.10 for the release candidate
2025-01-16 08:33:18 -08:00
SDL Wiki Bot
9225a421b7
Sync SDL3 wiki -> header
...
[ci skip]
2025-01-16 13:20:18 +00:00
Ryan C. Gordon
3ffb1a8cbd
storage: generic title storage allows override paths without '/' appended.
...
Fixes #11299 .
2025-01-16 08:19:28 -05:00
Ryan C. Gordon
874c07f8de
storage: Don't allow "." and ".." paths, enforce '/' dir separators.
...
Also clarify what characters are valid for Storage paths in the category docs.
Fixes #11079 .
Fixes #11370 .
Fixes #11369 .
2025-01-16 08:19:28 -05:00
Ryan C. Gordon
67664a0427
testfilesystem: test some Storage APIs, too.
2025-01-16 08:19:28 -05:00
Ryan C. Gordon
eb793dede7
filesystem: SDL_GetCurrentDirectory() should add a path separator at the end.
2025-01-16 08:19:28 -05:00
Ryan C. Gordon
87e1b0eb89
filesystem: SDL_EnumerateDirectory() gives dirs with path seperators appended.
...
Fixes #11065 .
Fixes #11427 .
2025-01-16 08:19:28 -05:00
Ramez Ragaa
e98ee9bb04
Adjust testgl.c to test gl_release_behavior
2025-01-16 08:19:05 -05:00
Ryan C. Gordon
3424ec948c
video: SDL_GL_GetAttribute gets correct SDL_GL_CONTEXT_RELEASE_BEHAVIOR value.
...
Original patch was from @ramezgerges (thanks!).
Fixes #11697 .
2025-01-16 08:19:05 -05:00
Ryan C. Gordon
05877f2cea
cmake: Add the IoRing async i/o code to the Windows build.
...
The Visual Studio projects have been compiling this for awhile, but apparently
we haven't tested this through CMake before. Toolchains without access to
the latest Windows 11 SDK headers have been preprocessing out the dependency
on this code, so we never noticed.
2025-01-16 08:18:40 -05:00
Ryan C. Gordon
4d63a2b882
io: Renamed src/file to src/io
...
Fixes #11980 .
2025-01-16 08:18:40 -05:00
Sam Lantinga
ea642fe9ff
cocoa: clear mouse focus based on NSEventTypeMouseExited events ( #11991 )
...
We can't directly set the mouse focus since we may get spammed by entered/exited events,
but we can process the current focus later in the mouseMoved handler in line with the
mouse motion event sequence.
Fixes https://github.com/libsdl-org/SDL/issues/8188
2025-01-15 23:34:20 -08:00
Sam Lantinga
5f4696ce63
Updating documentation for the 3.2.0 release
...
* Simplified and updated the mingw release archive
* Simplified and updated the msvc release archive
* Updated the Xcode release archive
* Updated the Android release archive
2025-01-15 20:38:16 -08:00
Sam Lantinga
2c7b7d1d33
Keep the lifecycle observer active while there are windows active
...
Fixes https://github.com/libsdl-org/SDL/issues/11627
2025-01-15 17:10:49 -08:00
cosmonaut
355f69ebfe
GPU: Ensure thread safety of Vulkan resource creation
2025-01-15 13:45:43 -08:00
Frank Praznik
c9d602307c
cocoa: Only process hit tests on left clicks
...
Otherwise, right-click events over drag areas will be eaten.
2025-01-15 15:44:01 -05:00
Frank Praznik
dd0bdc2561
win32: Pass through non-left mouse button presses when over draggable areas
...
Returning anything other an HTCLIENT result will cause windows to eat the button press, so ensure that non-left presses are passed through to the client over draggable areas.
2025-01-15 15:44:01 -05:00
Ryan C. Gordon
84d35587ee
filesystem: SDL_SYS_EnumerateDirectory inexplicably takes the same arg twice.
2025-01-15 14:09:33 -05:00
Sam Lantinga
fc9b2478d8
windows: don't set focus click pending if SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH is set
...
Fixes https://github.com/libsdl-org/SDL/issues/11976
2025-01-15 10:54:12 -08:00
Sam Lantinga
18d21b36fe
windows: use the initial rect to anchor fixed aspect ratio resizing
...
Fixes https://github.com/libsdl-org/SDL/issues/11688
2025-01-15 10:33:22 -08:00
Sam Lantinga
1995471927
cocoa: fixed resizing windows with fixed aspect ratio
...
The existing algorithm works well for min-max ratios, but didn't allow edge expansion of fixed aspect ratio windows. Use NSWindow setContentAspectRatio instead.
2025-01-15 10:05:34 -08:00
Sam Lantinga
67382e9c83
Fixed detection of function keys on Emscripten
...
Fixes https://github.com/libsdl-org/SDL/issues/11973
2025-01-15 08:07:38 -08:00
Sam Lantinga
23410debf7
SDL_GetKeyboardNameForID(): Set an error message for invalid keyboard IDs
2025-01-15 00:01:06 -08:00
Petar Popovic
8ce176b59a
SDL_GetMouseNameForID(): Set an error message for invalid mouse IDs.
2025-01-14 23:59:49 -08:00
Sam Lantinga
51fa076fdc
Don't send normal keyboard events if no application window has focus
...
This can happen if all the windows shown have the SDL_WINDOW_NOT_FOCUSABLE flag. We'll still accept modifier state changes though, so you can do Control-click actions.
2025-01-14 23:44:43 -08:00
Sam Lantinga
a446381ea9
Tooltips and unfocusable windows can't become main windows
2025-01-14 23:44:43 -08:00
Ryan C. Gordon
ebb24eedc8
mouse: Clean up virtual touch devices as appropriate.
2025-01-15 02:19:59 -05:00
Ryan C. Gordon
dabc93a631
pen: Send virtual mouse and touch events for pen input.
...
Fixes #11948 .
2025-01-15 02:19:59 -05:00
ImThour
169c8d5140
Fix incorrect hotspot calculation for cursor positioning
...
Corrected the calculation of the vertical hotspot position in the `GetCachedCursor` function.
Changed the variable from `data->hot_x` to `data->hot_y` to ensure the correct vertical position of the cursor's hotspot is used when scaling.
2025-01-14 22:37:24 -08:00
Sam Lantinga
8e9c44bc3b
Fixed accidental removal of optional delegate interface check
...
Fixes https://github.com/libsdl-org/SDL/issues/11970
2025-01-14 22:35:13 -08:00