|
8800d404
|
2023-02-01T19:05:44
|
|
cmake: assume autotools static libraries with lib prefix and .a suffix
|
|
7ac43cfb
|
2023-01-29T11:43:59
|
|
Note that version.rc is public domain.
This avoids potential concerns that customizing would qualify a build
of SDL as an "altered source version" under the zlib license.
|
|
dfc56cfc
|
2023-01-05T11:54:27
|
|
Fix For issue #6948 (#6991)
MessageBoxes attached to a window in macOS should use modal APIs and not
use a poll/sleep pattern on the main thread. Sleeping the main thread
makes the NSWindow message loop sluggish and interferes with external
applications that need to send messages to that window, such as
VoiceOver.
|
|
c8342847
|
2023-01-26T14:45:12
|
|
wikiheaders: Link to the SDL3 wiki in the preamble.
Reference Issue #6568.
|
|
d5680c5d
|
2023-01-26T10:19:23
|
|
wikiheaders: Allow markdown in the wikipreamble string.
Reference Issue #6568.
(cherry picked from commit a089b2ea19404f6dacd083327e13cae888b58993)
|
|
1069c893
|
2023-01-24T22:13:25
|
|
wikiheaders: Add a `\threadsafety` tag to document threading details.
Reference Issue #7140.
(cherry picked from commit 01cba48d18f9002e5aae66d4b009f5f0195dc8d7)
|
|
507fc462
|
2023-01-26T15:00:02
|
|
SDL_atomic.h: Update SDL_CPUPauseInstruction for Watcom. (#7157)
Appropriate CPU directive can be used in #pragma aux so that it is not
necessary to hardcode instruction bytes.
|
|
d9d84c8d
|
2023-01-23T20:42:00
|
|
ci: test PVR_PSP2 (gles/gl) and gib (gles)
|
|
e927e5d4
|
2023-01-24T04:52:44
|
|
vita: add missing static libraries for using gles with pib
|
|
33ec2a5e
|
2023-01-23T20:41:23
|
|
vita: fix reformatting error in SDL_vtagl_pvr.c
|
|
a8a5bd3d
|
2023-01-23T20:41:00
|
|
cmake: allow disabling OpenGL support when building with GLES using PSP2-PVR
|
|
038ccd76
|
2023-01-22T17:16:13
|
|
Support MIN/MAX blend on opengles2
|
|
c0445c23
|
2023-01-23T05:08:59
|
|
vita: PVR needs to link to sceIme_stub library
|
|
9670f233
|
2023-01-22T12:27:52
|
|
Support MIN/MAX blend on OpenGL + ES
|
|
ea179abd
|
2023-01-16T13:39:26
|
|
wayland: Enforce or override libdecor minimum window size
libdecor plugins can change the min/max window size values internally to enforce a minimum window size, and errors and crashes can result if the window size is below the internal limit.
On versions of libdecor >= 0.1.1, the minimum width and height can be queried and the minimum required window size will be enforced. The application requested window size is still respected, however, the actual window may be slightly larger than the drawable area to accommodate the required libdecor minimum size.
On version 0.1.0 of libdecor, which lacks the function to retrieve the minimum size, the internal limits are overridden before committing a frame, so that the internal limits always match the window size as a workaround, even if the window is technically smaller than the plugin would normally allow.
(cherry picked from commit 423a82cd4b65cf72668551093bfdf58d49bce9ce)
|
|
eabd88ed
|
2023-01-22T08:09:24
|
|
Update SDL_vitagles_pvr.c
This was broken unintentionally during #6545.(cherry picked from commit 9211c0b639ad32865efa4980d07fc24f3f4a1577)
|
|
a44b6461
|
2023-01-21T19:37:22
|
|
Blacklist Konami Amusement Controllers From HIDAPI.
Fixes issue #7118 by adding all Konami Amusement controllers to the
blacklist. Additionally, the blacklist is changed to exclude a whole
vendor when the PID 0x0000 is used.
|
|
880ac537
|
2023-01-21T10:15:02
|
|
typo fix to config.sub,
from https://lists.gnu.org/archive/html/config-patches/2023-01/msg00001.html
|
|
7b8f0ba8
|
2023-01-19T21:12:51
|
|
wayland: Set `APPLICATION` scancode name to `Menu`
This mimics the behavior of the other platforms.
(cherry picked from commit 6c06f5ce93c55fe0f5779d5aeb68bec1bd935455)
|
|
73a68c6e
|
2023-01-18T21:56:10
|
|
regenerated configure script.
|
|
44dc90dc
|
2023-01-18T13:03:04
|
|
autotools: Add check for libdecor get min/max functions
|
|
8efa1f8f
|
2023-01-16T15:17:26
|
|
add support for libsamplerate's "linear" resampling mode
Fixes #6998
|
|
5d1e6b28
|
2023-01-16T10:28:16
|
|
SDL_test_harness: fix memory leak when generated seed
|
|
c638b4a6
|
2023-01-16T09:21:24
|
|
SDL_CreateAudioStream: check for invalid parameters
|
|
01a4cf8a
|
2023-01-15T16:54:22
|
|
ci: don't require EXTRA_ prefix on input environment variables
|
|
f51f7fbb
|
2023-01-15T15:57:56
|
|
n3ds: fix exported libraries of n3ds
|
|
b47b6e02
|
2023-01-14T23:49:06
|
|
fix prefix path not resolving symlinks
|
|
381312a0
|
2023-01-13T16:37:54
|
|
Use filesystem drivers
|
|
f836b465
|
2023-01-12T20:44:16
|
|
Revert "wayland: Don't try to restore non-resizable windows"
This reverts commit e35c3872dc6a8f7741baba8b786b202cef7503ac.
(cherry picked from commit 180afcdf3998e5175b744d3f2d87147802809450)
|
|
a47a0451
|
2023-01-12T16:32:04
|
|
wayland: Don't try to restore non-resizable windows
Libdecor can crash if attempting to un-maximize a window that was not set as resizable.
(cherry picked from commit e35c3872dc6a8f7741baba8b786b202cef7503ac)
|
|
e8ae1555
|
2023-01-12T15:36:35
|
|
wayland: Perform a round trip when maximizing and restoring windows
Perform a round trip when maximizing and restoring windows so the changes have already taken effect when the associated functions return.
(cherry picked from commit 50f2eb7d41fbba7c82630e55ead4ecf9c32f4c69)
|
|
2cb42236
|
2023-01-10T20:36:13
|
|
Fixed the hat_map to avoid segmentation fault
(cherry picked from commit 57e78f4cf53b0fc84900a047120263c3c71e721c)
|
|
fa934dd4
|
2023-01-09T17:42:17
|
|
hidapi: switch: Add user calibration support
(cherry picked from commit 9fa55d9cabc93532cd5cf44105ec589a4db1d097)
|
|
6a520177
|
2023-01-12T14:01:02
|
|
SDL_dynapi.c: add extern "C" guards, just in case..
|
|
32fd45cf
|
2023-01-11T23:26:22
|
|
Using UV instead of STQ
|
|
c5a09ca7
|
2023-01-10T23:12:25
|
|
Remove dummy flag
|
|
b4250368
|
2023-01-11T05:42:59
|
|
SDLAudioManager.java: Fixed the support for Android older than API 23
|
|
0479df53
|
2023-01-09T09:48:21
|
|
Updated copyright for 2023
|
|
0b0d256a
|
2023-01-09T15:52:07
|
|
Fix loongarch64 support
HAS_LSX/LASX is modified as HAVE_LSX/LASX.
(cherry picked from commit 50af65a7ddf65fd685dc0e2658016f950360c473)
|
|
d09d0aaa
|
2023-01-09T01:30:50
|
|
cmake (CheckPTHREAD): remove _GNU_SOURCE define after bug #7026 fix
|
|
460b7b24
|
2023-01-08T19:12:11
|
|
cmake: do all compile tests with -D_GNU_SOURCE=1
|
|
ebc2fb41
|
2023-01-08T09:32:31
|
|
Fixed infinite loop shutting down WGI controllers
We are guaranteed that the lock will be held during shutdown, so if we are in InvokeRemoved(), it's because we're shutting down controllers and need to remove them from our internal list.
Fixes https://github.com/libsdl-org/SDL/issues/7016
(cherry picked from commit ac99db9fc8d528a79abb98a5641e0fd94aa20a9e)
|
|
0d5467a6
|
2023-01-07T14:25:04
|
|
cmake: check for math library functions even in the absence of libm
(Reference issue: https://github.com/libsdl-org/SDL/issues/7011)
|
|
305e7b55
|
2023-01-07T14:25:04
|
|
cmake: fix detection of library functions when -Werror is enabled.
(Reference issue: https://github.com/libsdl-org/SDL/issues/7011)
|
|
ad0d1e2a
|
2023-01-04T18:47:16
|
|
wayland: Fallback to default cursor if chosen one wasn't found
(cherry picked from commit 5a4283134542d4bdb3d968a836387a750ce80517)
|
|
7bf4319e
|
2023-01-06T21:24:24
|
|
fix computation of alpha in BlitRGBtoRGBPixelAlphaMMX3DNOW (see #6990)
( same as BlitRGBtoRGBPixelAlphaMMX )
|
|
0ebda874
|
2023-01-06T13:27:53
|
|
Fixed bug #6990: fix computation of alpha in BlitRGBtoRGBPixelAlphaMMX
|
|
a0991727
|
2023-01-03T15:23:38
|
|
Added support for the ThrustMaster eSwap PRO Controller Xbox
(cherry picked from commit 0357390fc2dcc7c772ac3041c1148882f6fe2137)
|
|
988866ca
|
2023-01-03T15:12:47
|
|
Fixed line wrapping for HID packet dump
(cherry picked from commit e85839cd5694a79f69ac16f48a5d845cdc62f809)
|
|
2cb7a0a0
|
2023-01-03T15:12:18
|
|
Added support for the ThrustMaster eSwap PRO Controller Xbox
(cherry picked from commit dacdb1c310d97ca3c3e6492cae0611f86b281b34)
|
|
b8d5fa4a
|
2023-01-03T12:47:40
|
|
Improved handling of binding buttons and axes
(cherry picked from commit 71f3bf90edce26083056215124e65881f6c6ad26)
|
|
0a9f61fb
|
2023-01-03T16:35:51
|
|
Wayland / Drag and Drop: find the current window
|
|
c7f22f03
|
2023-01-02T20:51:56
|
|
render/SDL_yuv_sw.c: fix build after commit d234f7a
|
|
d234f7a4
|
2023-01-02T18:09:57
|
|
SDL2: backport SDL_CalculateYUVSize() that checks for YUV size overflow (#6972)
|
|
2fd9e63f
|
2023-01-01T18:47:13
|
|
Android: orientation, check for exact match to "Portrait". (see #6959)
(Portrait is also contained in PortraitUpsideDown)
|
|
874ebed1
|
2023-01-01T18:41:55
|
|
Android: inverse LandscapeLeft and LandscapeRight (see #6959)
LandscapeLeft has now been set to ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE and LandscapeRight to ActivityInfo.SCREEN_ORIENTATION_REVERSE_LANDSCAPE in order to reflect the docs: https://wiki.libsdl.org/SDL2/SDL_HINT_ORIENTATIONS
|
|
5b904a10
|
2022-12-31T08:00:00
|
|
windows: more HANDLE -> HMODULE changes.
|
|
0a8f9777
|
2022-12-30T11:11:10
|
|
SDL_dynapi.c: LoadLibraryA() returns HMODULE.
|
|
78d3a713
|
2022-12-29T15:00:32
|
|
Fixed documentation for SDL_JoystickGetDeviceInstanceID
Fixes https://github.com/libsdl-org/SDL/issues/6946
|
|
74229d4a
|
2022-12-29T14:52:28
|
|
Fixed keyboard scancode mapping for parenthesis
(thanks to @meyraud705 for tracking down the root cause!)
Fixes https://github.com/libsdl-org/SDL/issues/6787
Closes https://github.com/libsdl-org/SDL/pull/6937
(cherry picked from commit e1bd5bd071d066e7009261f96c896423f6fd8fd0)
|
|
29a4c5eb
|
2022-12-28T12:51:36
|
|
Fixed getting the VID/PID of a virtual joystick
(cherry picked from commit e40a96155fc488feaeeeb79f947eb43399faa481)
|
|
903df79b
|
2022-12-27T12:14:43
|
|
Make sure we match the same way when adding a mapping and looking up a mapping
Fixes https://github.com/libsdl-org/SDL/issues/6898
(cherry picked from commit 3db9112ef4cbb936b11f941f8a98c1704e37e140)
|
|
d47ff8ae
|
2022-12-27T00:14:00
|
|
SDL_thread.h: fix SDL_CreateThreadWithStackSize macro for OS/2
|
|
738442b8
|
2022-12-27T00:10:00
|
|
SDL_thread.h: fix beginthread param of SDL_CreateThreadWithStackSize for win32
(cherry-picked from commit 29ba5f5d6426f36ee84304dc8a0e111416450aab)
|
|
68073c62
|
2022-12-26T10:57:29
|
|
Fix SDL_CreateThreadWithStackSize not passing staacksize with win32 static api
|
|
920acb75
|
2022-12-26T10:34:07
|
|
editorconfig: remove trailing whitespace in source code
(cherry picked from commit 7c67213cefd0404232ef758a1dc33751e717a3f1)
|
|
3dbc6a40
|
2022-12-26T10:24:25
|
|
render: only enable clipping when the rectangle is valid
Fixes https://github.com/libsdl-org/SDL/issues/6896
(cherry picked from commit 00f05dcf49602889733262fc810386592ff51736)
|
|
af54c821
|
2022-12-23T09:52:45
|
|
kmsdrm: Fix wrong check on KMSDRM_CreateWindow.
A previous cleanup commit inverted a statement that checked the return value of
a KMSDRM_CreateSurfaces call during KMSDRM_CreateWindow, which causes the video
backend to always fail despite success.
This commit restores the intended behavior.
Fixes: 3c501b963dd8 ("Clang-Tidy fixes (#6725)").
(cherry picked from commit 0187209f461b84d22fc49a03369506e06448f47f)
|
|
232ed540
|
2022-12-02T07:22:31
|
|
Add SDL_HINT_WINDOWS_ENABLE_MENU_MNEMONICS.
|
|
c542aef6
|
2022-12-20T23:22:55
|
|
Fix GDK OpenGL build error
|
|
abffa119
|
2022-12-20T23:05:31
|
|
Fix dynapi signature for SDL_GDKSuspendComplete
|
|
3b3c141f
|
2022-12-19T17:38:44
|
|
gdk: Add support for building with OpenGL on Xbox
|
|
6969b3be
|
2022-12-19T09:14:04
|
|
Don't send Razer devices the Sony third-party query feature report
Some of them lock up or reset, and the vast majority of devices are not actually game controllers.
Fixes https://github.com/libsdl-org/SDL/issues/6733
(cherry picked from commit 83b29f9ce1fe6caa06769544c3b5f6c10ea97a0f)
|
|
311b02f0
|
2022-12-19T17:02:10
|
|
Android active driver check (#6850)
Check if a driver is active before attempting to handle the devices.
Otherwise an assertion will fail.
|
|
36c87d9f
|
2022-12-18T16:55:59
|
|
Android JAVA DetectDevices: 'is_capture' is inverted (#6845)
* Android JAVA DetectDevices: 'is_capture' is inversed
* Android Audio: adding audio device. also inverted capture, from jni side
|
|
4e3fc0c1
|
2022-12-18T12:07:38
|
|
Android: make Detect devices common between aaudio and android driver. (#6828)
remove VLA, dynamic alloc, check max length get using GetIntArrayRegion
|
|
187708e5
|
2022-12-17T06:58:02
|
|
Fixed compiler warning
```
./src/thread/pthread/SDL_syssem.c:140:12: warning: variable 'retval' is used uninitialized whenever 'while' loop exits because its condition is false [-Wsometimes-uninitialized]
while (sem_trywait(&sem->sem) != 0) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/thread/pthread/SDL_syssem.c:149:12: note: uninitialized use occurs here
return retval;
^~~~~~
./src/thread/pthread/SDL_syssem.c:140:12: note: remove the condition if it is always true
while (sem_trywait(&sem->sem) != 0) {
```
This was a legitimate bug, thank you clang!
Fixes https://github.com/libsdl-org/SDL/issues/6830
(cherry picked from commit b678a9802435152324e0603055e4bb190d0ae526)
|
|
3b0cd441
|
2022-12-17T06:51:02
|
|
Fixed compiler warning
```
./src/joystick/SDL_joystick.c:105:12: warning: no previous extern declaration for non-static variable 'SDL_joystick_lock' [-Wmissing-variable-declarations]
SDL_mutex *SDL_joystick_lock = NULL; /* This needs to support recursive locks */
^
./src/joystick/SDL_joystick.c:105:1: note: declare 'static' if the variable is not intended to be used outside of this translation unit
SDL_mutex *SDL_joystick_lock = NULL; /* This needs to support recursive locks */
^
```
1 warning generated.
|
|
741499de
|
2022-12-16T17:38:57
|
|
Android audio device selection (#6824)
Make it possible to select a specific audio device for Android
|
|
a53382e4
|
2022-12-15T18:00:51
|
|
Sorted PS4 controllers, note that the NACON Wireless Controller for PS4 actually reports as an XInput device
|
|
e99b9ca9
|
2022-12-15T17:58:29
|
|
Note that the NACON Daija Arcade Stick is an arcade stick
|
|
8e72be31
|
2022-12-15T14:26:18
|
|
testime.c: fix wrong {} in switch
|
|
7a9966af
|
2022-12-14T14:24:58
|
|
Fixed crash in SDL_PrivateGameControllerRefreshMapping()
|
|
d59caffe
|
2022-12-13T14:03:40
|
|
Added support for clang thread-safety analysis
The annotations have been added to SDL_mutex.h and have been made public so applications can enable this for their own code.
Clang assumes that locking and unlocking can't fail, but SDL has the concept of a NULL mutex, so the mutex functions have been changed not to report errors if a mutex hasn't been initialized. We do have mutexes that might be accessed when they are NULL, notably in the event system, so this is an important change.
This commit cleans up a bunch of rare race conditions in the joystick and game controller code so now everything should be completely protected by the joystick lock.
To test this, change the compiler to "clang -Wthread-safety -Werror=thread-safety -DSDL_THREAD_SAFETY_ANALYSIS"
|
|
582fb390
|
2022-12-14T17:41:35
|
|
DBus: add a reference to the connection
Fixed bug #6712
|
|
c7097418
|
2022-12-12T20:26:17
|
|
Detect display change when fullscreen desktop windows move displays
This happens when using Win+Alt+Left/Right on a resizable fullscreen desktop window on Windows
(cherry picked from commit 650e16a8245f3fb5056fc7f6b398fb88244b3477)
|
|
817454cf
|
2022-12-12T18:00:57
|
|
Don't try to open the Razer Huntsman Elite keyboard as a controller
|
|
e986c798
|
2022-12-12T16:07:48
|
|
wasapi: Fixed incorrect assertions.
Fixes #6795.
(cherry picked from commit 12486e144be0e7a37abd87b8bf90547a992ff66b)
|
|
dfd7efaf
|
2022-12-05T15:33:01
|
|
wayland: Set xdg surface geometry
It was previously thought that these function calls were unnecessary as the initial bug and reproduction case that necessitated their addition seemed to be fixed, but apparently there are still cases where this needs to be set explicitly. Set the xdg surface geometry at creation time and when the window size changes.
Partially reverts #6361. This is not needed in the libdecor path, as libdecor calls this for the content surface internally.
(cherry picked from commit 90a964f132c63b07cf85e5687041d214fdea60f6)
|
|
802b5ef7
|
2022-12-12T10:54:29
|
|
Added support for the STRIKEPAD PS4 Grip Add-on to the HIDAPI driver
(cherry picked from commit 618340bf990512247ed29a1beb38606e371d60e8)
|
|
e580e087
|
2022-12-06T17:53:01
|
|
N3DS: Backport semaphore fixes from #6776.
|
|
b79732b9
|
2022-12-11T22:23:45
|
|
cmake: use FindALSA.cmake to find ALSA library
|
|
faa7e3cc
|
2022-12-10T17:54:16
|
|
Update DYNAPI SDL_WinRTRunApp() prototype which was wrong (see #6783)
|
|
5efc9bd1
|
2022-12-10T17:45:56
|
|
SDL_dynapi_procs: fixed SDL_UIKitRunApp prototype (see #6783)
|
|
4bae7538
|
2022-12-09T22:07:22
|
|
docs: Note that you don't need to free SDL_GetDefaultCursor's results.
Reference Issue #6777.
(cherry picked from commit 16f8dfcef944019ce4474061aa06c2a1997e601e)
|
|
f5777683
|
2022-12-09T10:22:18
|
|
Fixed build
|
|
569fa3f5
|
2022-12-09T10:13:18
|
|
Added test event logging for SDL_WINDOWEVENT_ICCPROF_CHANGED and SDL_WINDOWEVENT_DISPLAY_CHANGED
|
|
be3b1cff
|
2022-12-08T17:03:29
|
|
Added logging for SDL_DISPLAYEVENT_MOVED
|
|
ab479b49
|
2022-12-08T17:01:18
|
|
Make sure the display list is up to date for window placement
|
|
264da8c1
|
2022-12-08T12:46:13
|
|
Added SDL_DISPLAYEVENT_MOVED to detect when display positioning changes
|