Frank Praznik
36c209080c
wayland: Refactor some shell surface related names
2024-10-28 14:30:08 -04:00
Frank Praznik
2b7dc55364
wayland: Check the WM capabilities before sending a minimize event
...
Wayland gives no feedback to windows regarding whether a minimize request was successful, so we would universally send the minimize event and assume that the request succeeded.
Check the window manager capabilities, if available, for whether window minimization is supported, and don't send the minimized event in the case that it is unsupported.
2024-10-28 14:30:08 -04:00
Frank Praznik
1abbd13414
wayland: Throttle interactive user resize events
...
Excessive resize events generated during interactive window resizing can cause applications to lag, severely in some cases. Throttle interactive resize events to once per frame callback interval.
2024-10-28 14:30:08 -04:00
SDL Wiki Bot
e0d019c941
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-28 07:00:30 +00:00
Petar Popovic
cb0c7c9680
SDL_CreateDirectory(): directory tree creation for absolute paths for non-Windows platforms
2024-10-28 01:56:48 -04:00
Petar Popovic
a10578acbd
SDL_SYS_RenamePath(): Fix error message.
2024-10-27 16:54:13 -07:00
SDL Wiki Bot
3922bcec95
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-27 21:42:48 +00:00
Petar Popovic
04a478b6a9
SDL_Enumerate[Storage]Directory() comments: Use enum constant names instead of integers.
2024-10-27 14:41:33 -07:00
Glenn Watson
5c3d42aade
Update README-linux.md for openSUSE Tumbleweed dependencies
2024-10-27 08:01:13 -07:00
Petar Popovic
8468c372b2
SDL_EnumerateDirectory(): (posix) Fix return value when directory is invalid
2024-10-25 22:52:56 -07:00
Roman Frołow
97b924f985
typo: maxOS -> macOS
2024-10-26 01:59:44 +02:00
Sam Lantinga
a851c5b648
create-release.py uses python3
2024-10-25 15:08:57 -07:00
Sam Lantinga
47411d8007
build-release.py uses python3
2024-10-25 14:31:49 -07:00
Dan Ginsburg
4f160d69a6
Closes #10318 - implement Android prerotation in the Vulkan renderer
2024-10-25 14:21:29 -07:00
Ozkan Sezer
93471cf78d
video/openvr: minor clean-up:
...
- make all of function pointers static
- make EGLint context_attribs[] static
- comment out unused function pointer ov_wglGetCurrentContext
- remove unused SDL_DisplayMode openvr_dm_default
- move SDL_VideoDisplay openvr_vd_default to OPENVR_VideoInit()
context and eliminate its C99 initializers
- replace atoi() calls with SDL_atoi()
- replace atof() calls with SDL_atof()
2024-10-25 23:20:24 +03:00
Anonymous Maarten
8bf1a84200
ci: add include headers of build directory to ci artifacts
...
[sdl-ci-artifacts]
2024-10-25 17:47:26 +02:00
Anonymous Maarten
590e1196d0
snake: check allocated memory before use
2024-10-25 17:47:26 +02:00
Anonymous Maarten
20e01c6fbe
android: add (disabled) android.permission.INTERNET to AndroidManifest.xml
...
It's required for SDL3_net
2024-10-25 17:47:26 +02:00
Sam Lantinga
850158f83f
testcontroller: fixed incorrect usage of memcpy()
2024-10-24 18:12:01 -07:00
Ryan C. Gordon
344546b4ea
cocoa: Make sure GL context destruction happens on the main thread.
...
Fixes #10900 .
2024-10-24 16:27:58 -04:00
SDL Wiki Bot
dcd4ddb043
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-24 18:38:45 +00:00
Ryan C. Gordon
8d3bec99a7
audio: Make SDL_GetAudioStreamProperties() thread safe.
2024-10-24 14:37:23 -04:00
Ryan C. Gordon
10e52e1899
docs: Added more '\threadsafety` tags.
...
Reference Issue #7140 .
2024-10-24 14:37:23 -04:00
Frank Praznik
731853077a
Send drop complete events when the drop leaves the window on Cocoa, Wayland, and X11
...
This is already done on win32, however, other platforms were left in a state of limbo if a drop operation began, then never completed due to the drop leaving the window.
2024-10-24 13:36:24 -04:00
Petar Popovic
db4e2ccbac
Allow redefinition of only one macro SDL_SINT64_C SDL_UINT64_C
2024-10-24 07:37:44 -07:00
Son Phan Trung
c0bad724a7
README-ios.md: Add info about UIApplicationSupportsIndirectInputEvents on iOS 17
2024-10-24 07:36:45 -07:00
Ryan C. Gordon
4ea26a7771
emscripten: scale mousewheel X coordinates correctly, not just Y coordinates.
...
Fixes #10454 .
2024-10-23 23:35:02 -04:00
Susko3
d0cf2c19d1
Allow defining custom SDL_SINT64_C and SDL_UINT64_C macros ( #11315 )
2024-10-23 17:03:13 -07:00
Ryan C. Gordon
7108291d0b
video: Change SDL_GLattr to SDL_GLAttr.
2024-10-23 18:50:52 -04:00
Ryan C. Gordon
c0e9205a92
video: Change capitalization on various OpenGL attribute typedefs.
2024-10-23 18:50:52 -04:00
Ryan C. Gordon
3c506630c3
video: Turn several OpenGL attribute enums into integer typedefs.
...
Fixes #11308 .
2024-10-23 18:50:52 -04:00
SDL Wiki Bot
a04fda211c
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-23 21:01:26 +00:00
SDL Wiki Bot
4e33440c04
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-23 20:59:19 +00:00
Anonymous Maarten
e8b69b03fe
cmake: fail configuring when no X11 or wayland could be found ( #11310 )
...
It's still possible to build SDL by configuring with -DSDL_NO_UNIX_DESKTOP_SANITY_CHECK=ON
2024-10-23 20:19:40 +00:00
Petar Popovic
540db0d164
Bumped version of macro 'main' to 3.1.3
2024-10-23 16:16:07 -04:00
SDL Wiki Bot
370521363a
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-23 19:57:33 +00:00
Frank Praznik
924f719b97
wayland: Get the window content scale from the backend
...
The window content scale may change independently of the display it is on if scaling or accessibility features are involved, so query it directly from the backend instead of inferring it.
2024-10-23 15:49:26 -04:00
SDL Wiki Bot
299587fa64
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-23 19:31:40 +00:00
Petar Popovic
5e855d82e3
Manually bump versions of non-function identifiers introduced after 3.1.3 to 3.2.0
2024-10-23 11:17:46 -07:00
kyle-sylvestre
22bc430bbb
Set error using function hresult
2024-10-23 10:53:46 -07:00
Sam Lantinga
6eca02a0e7
evdev: correctly handle composite devices
...
These can be both mouse and keyboard and should be initialized and exposed to the application as both.
2024-10-23 10:52:50 -07:00
Sam Lantinga
ba1412cb9f
evdev: fixed devices not being removed on disconnect
2024-10-23 10:52:00 -07:00
Sam Lantinga
370c0426ce
testspriteminimal: only quit when escape is pressed
2024-10-23 10:51:14 -07:00
SDL Wiki Bot
acfc223e15
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-23 16:37:46 +00:00
Evan Hemsley
423337796c
GPU Vulkan: Use dedicated allocation for download buffers ( #11298 )
2024-10-23 09:37:06 -07:00
SDL Wiki Bot
24b376ef18
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-23 16:30:58 +00:00
Ryan C. Gordon
1c1706a00b
fnsince: update \since
policy for documentation.
...
Everything in SDL3 up to the ABI lock is reported as available since 3.1.3.
Everything else will be reported as since 3.2.0 (what will be the first
official release).
Also ran a Perl script over the headers to change everything to 3.1.3 that
wasn't an API function, since fnsince.pl can't manage those. If there's a
macro or datatype that has snuck in that needs to be 3.2.0 instead, we'll
have to manually fix it up, but it shouldn't be a big deal in any case.
Reference PR #11304 .
2024-10-23 12:22:43 -04:00
Michael Palomas
21c91d5535
examples now using SDL_ALPHA_OPAQUE(_FLOAT) for opaque alpha value
2024-10-23 07:28:33 -07:00
SDL Wiki Bot
63ef5a2369
Sync SDL3 wiki -> header
...
[ci skip]
2024-10-23 05:42:03 +00:00
Petar Popovic
fd530d029f
Fixed typo in SDL_clipboard.h
2024-10-22 22:41:30 -07:00