Ozkan Sezer
cd1bb6247b
video/windows/SDL_surface_utils.c: replace ZeroMemory() with SDL_zero()
2024-12-27 06:03:37 +03:00
SDL Wiki Bot
a773558517
Sync SDL3 wiki -> header
...
[ci skip]
2024-12-27 02:32:08 +00:00
Ozkan Sezer
50fbae9302
tray, windows: define NOTIFYICON_VERSION_4 and NIF_SHOWTIP, if missing.
2024-12-27 05:30:50 +03:00
Sam Lantinga
c744c8fc0b
Document how to check for gamepad capabilities
...
Fixes https://github.com/libsdl-org/SDL/issues/10593
2024-12-26 17:49:56 -08:00
Sam Lantinga
a8d585aac3
Don't try to enumerate possible texture failure reasons.
...
This can cause misunderstanding about how texture creation works, as seen in https://github.com/libsdl-org/SDL/issues/9504 . Instead let people check the error for more information on why creation may have failed.
2024-12-26 17:17:08 -08:00
Sam Lantinga
ca17d19f90
Updated iOS file path documentation
...
Fixes https://github.com/libsdl-org/SDL/issues/10290
2024-12-26 17:00:01 -08:00
Ryan C. Gordon
7bbe6025be
misc: Make SDL_OpenURL work with VisionOS, tvOS, etc.
2024-12-26 16:50:52 -08:00
Ryan C. Gordon
ffed1c50c0
misc: Fix SDL_OpenURL on newer iOS releases.
...
Apparently as of iOS 18.2, the deprecated API we were using just refuses to
work at all.
Fixes #11728 .
2024-12-26 16:50:52 -08:00
Frank Praznik
1a6e139dde
win32: Only recalculate the position on show for popup windows
...
Regular child windows aren't positioned relative to the parent.
2024-12-26 18:18:46 -05:00
Frank Praznik
cf220ea4f1
win32: Fix popup positioning
2024-12-26 17:12:14 -05:00
Ozkan Sezer
17ef0c1237
SDL_video.c: replace strlcpy with memcpy in SDL_ShowMessageBox()
2024-12-27 00:01:56 +03:00
Ryan C. Gordon
8fde28813e
SDL_tray.h: Filled in doxygen for a few minor missing things.
2024-12-26 14:10:53 -05:00
SDL Wiki Bot
17df3fe836
Sync SDL3 wiki -> header
...
[ci skip]
2024-12-26 18:26:48 +00:00
Sam Lantinga
eb1be89e70
Cleaned up thread state handling and added thread object validation
2024-12-26 10:26:08 -08:00
SDL Wiki Bot
7647f16ae1
Sync SDL3 wiki -> header
...
[ci skip]
2024-12-26 18:03:51 +00:00
Salman Alshamrani
eadc64973a
Reset text field content on text input stop
2024-12-26 10:03:34 -08:00
Lucas Murray
b2c2a483e8
GPU: Rename HDR10_ST2048 to HDR10_ST2084
2024-12-26 09:47:13 -08:00
Lucas Murray
fe39509b85
GPU: Doc touch ups
2024-12-26 09:47:13 -08:00
SDL Wiki Bot
b8036bdd41
Sync SDL3 wiki -> header
...
[ci skip]
2024-12-25 21:15:58 +00:00
Moritz
ca4f5dd40d
Added SDL_GetThreadState
2024-12-25 13:15:18 -08:00
lunasorcery
b7dac5072b
correct termination of windows openfiledialog filters
2024-12-25 11:42:32 -08:00
Maia
0becdad392
Add missing includes to SDL_tray.h
2024-12-25 07:54:54 -08:00
Brody Eller
5bf742daa6
Fix documentation for SDL_sinf
2024-12-24 20:41:41 -08:00
Anonymous Maarten
bed16f77d1
cmake: define HAVE_MALLOC_H when malloc.h is found
2024-12-25 02:10:53 +01:00
Sam Lantinga
b2178857dc
Corrected CoreAudio surround sound channel layouts
...
Fixes https://github.com/libsdl-org/SDL/issues/11709
2024-12-24 15:03:25 -08:00
expikr
f40a530fd9
subclass the builtin system message class instead
2024-12-24 12:06:47 -08:00
Semphris
cf946e32ba
Fix memory management for Windows dialog title
2024-12-24 12:06:05 -08:00
SDL Wiki Bot
4c70aa33ae
Sync SDL3 wiki -> header
...
[ci skip]
2024-12-24 18:50:21 +00:00
Sam Lantinga
76920a230f
Fixed Xcode build
2024-12-24 10:49:58 -08:00
Semphriss
01b9b0edb7
Add system tray support ( #10873 )
2024-12-24 10:36:39 -08:00
SDL Wiki Bot
17a029502a
Sync SDL3 wiki -> header
...
[ci skip]
2024-12-24 17:37:33 +00:00
Caleb Cornett
a27c139b12
GPU: Explicitly check Metal hardware support on device creation
2024-12-24 12:36:52 -05:00
Caleb Cornett
aa817a67d1
GPU: Document system requirements for each driver
2024-12-24 12:36:52 -05:00
Sam Lantinga
8653a5821b
Fixed mingw64 Windows build
2024-12-24 08:58:08 -08:00
Sam Lantinga
60dce94583
Fixed building with older Windows SDKs
2024-12-24 08:26:05 -08:00
L zard
440d5754f8
build_configs: remove unused symbols_to_check, added Windows ones
2024-12-24 07:19:38 -08:00
L zard
052cb5773e
build_configs: remove HAVE_LIBUNWIND_H
...
It is only used in SDL_test, which does not use the config header.
2024-12-24 07:19:38 -08:00
L zard
42c67756cc
build_configs: fix spacing
...
I messed up some spacing, so I thought I might as well strip all those unnecessary spaces.
2024-12-24 07:19:38 -08:00
L zard
286cc2ebd0
build_config: change unnecessary replacement variables to 1
...
Makes all macros only used in `#ifdef`s defined as `1` when they exist, instead of the CMake value of the corresponding variable.
2024-12-24 07:19:38 -08:00
L zard
c2508d5d99
Fix various #if defined
s
2024-12-24 07:19:38 -08:00
L zard
f2b7495adc
SDL_camera_pipewire: use SDL_CAMERA_DRIVER_PIPEWIRE_DYNAMIC
2024-12-24 07:19:38 -08:00
L zard
ade829d7ca
build_config: fix SDL_DEFAULT_ASSERT_LEVEL
...
Currently, `SDL_DEFAULT_ASSERT_LEVEL` is commented out by CMake when its value is 0, setting the assertions level to the default value instead of disabling them.
This change:
- defines `SDL_DEFAULT_ASSERT_LEVEL_CONFIGURED` when its value is non-zero.
- defines `SDL_DEFAULT_ASSERT_LEVEL`, regardless of its value, when `SDL_DEFAULT_ASSERT_LEVEL_CONFIGURED` is defined.
2024-12-24 07:19:38 -08:00
L zard
e73d98ad72
build_config: add missing macros
...
Those are defined in other build_configs files and used elsewhere in SDL.
2024-12-24 07:19:38 -08:00
L zard
7f1c9c9053
build_config: move unconditionally defined macros
2024-12-24 07:19:38 -08:00
L zard
6f462e244f
build_config: remove unused SIZEOF_VOIDP
2024-12-24 07:19:38 -08:00
L zard
ddd7d0f927
build_configs: remove unused macros
...
Those are only used in build_config files that define them themselves, or not used at all.
2024-12-24 07:19:38 -08:00
Sam Lantinga
483e79bf82
Fixed mouse click count for relative mode and multiple mice
...
We'll track the click count separately for each input source, and the click distance is calculated using a point on an infinite plane that is pushed around by mouse motion deltas, unclamped by the window edge.
2024-12-23 19:00:14 -08:00
Sam Lantinga
ed75d9d22a
Document that the mouse ID is only valid in mouse relative mode
...
Fixes https://github.com/libsdl-org/SDL/issues/11259
2024-12-23 17:12:50 -08:00
Sam Lantinga
024e5da6fb
Mouse events only get a mouse ID in relative mode
2024-12-23 17:12:50 -08:00
evertonse
8a0f649363
windows: fix BITMAPINFOHEADER values when getting bitmap from Clipboard
2024-12-23 17:00:47 -08:00