|
49ec8db5
|
2022-07-19T22:04:49
|
|
audio: Generate the channel converter code from a program.
|
|
f06cc3e9
|
2022-07-19T22:03:56
|
|
audio: "SL" means "surround left" not "side left", etc.
|
|
fe160840
|
2022-07-19T16:04:48
|
|
audio: LOG_DEBUG_CONVERT should use SDL_Log, not fprintf(stderr).
|
|
25727790
|
2022-07-19T02:16:08
|
|
audio: first attempt at rewriting the channel converters.
This is not ready for production use!
|
|
5a0c8198
|
2022-07-19T22:03:02
|
|
audio: Add channel convert filter _after_ choosing an SIMD version.
|
|
be3a945a
|
2022-07-20T11:05:55
|
|
Added support for the 8BitDo Ultimate Wired Controller for Xbox
|
|
6e210d37
|
2022-07-20T07:01:10
|
|
audio, pipewire: pipewire_version_xx globals out of dynamic loading
Fixes build with --disable-pipewire-shared
Reference issue: https://github.com/libsdl-org/SDL/issues/5938
|
|
b700a326
|
2022-07-20T07:01:10
|
|
audio, pipewire: fix signatures of pw_get_library_version and pw_init.
Reference issue: https://github.com/libsdl-org/SDL/issues/5938
|
|
78bad667
|
2022-07-16T22:12:08
|
|
video: wayland: Resize the window before sending the SDL_RESIZE event
Currently, the SDL_WINDOWEVENT_RESIZED event is sent before the actual
window is resized (and various internal state, such as the desired
GL/Vulkan backbuffer size, are updated). This makes sense, as SDL will
discard a no-op resize, which would be the case if we had resized before
sending the event (indeed, there are existing hacks to prevent this).
However, this means that SDL_{GL,Vulkan}_GetDrawableSize() will still
use the old size in the SDL_WINDOWEVENT_RESIZED handler. In the case of
SDL_Renderer, this means the drawable size it uses will be wrong, and
the viewport will get "updated" to the old value.
This then results in bug #5899.
|
|
53e68516
|
2022-07-18T07:31:23
|
|
Fixed declaration-after-statement warning
|
|
6ad7fdec
|
2022-07-18T07:26:29
|
|
Fixed infinite loop for values bigger than 0x40000000
Fixes https://github.com/libsdl-org/SDL/issues/5930
|
|
98681814
|
2022-07-18T07:20:58
|
|
Fixed missing imports in SDLActivity (thanks @guusw!)
|
|
2be93014
|
2022-07-18T07:18:56
|
|
Fixed comment (thanks @pionere!)
|
|
cef1514b
|
2022-07-17T09:07:04
|
|
Fixed some Xcode warnings
|
|
e3916993
|
2022-07-17T08:47:06
|
|
Added SDL_utils.c to the Xcode project
|
|
b299cb3d
|
2022-07-17T08:31:16
|
|
Added a utility function to calculate the next power of 2 for a value
|
|
90b86b13
|
2022-07-17T10:35:09
|
|
audio: Handle non-power-of-two spec.samples when unsupported
Fixes #3685
|
|
d21a18c6
|
2022-07-17T01:06:16
|
|
WhatsNew.txt: Add line for Shield HIDAPI driver
|
|
cdf9010a
|
2022-07-16T12:39:30
|
|
Added new audio features to WhatsNew.txt
|
|
a09d62e4
|
2022-07-15T23:45:56
|
|
directsound: Remove redundant SubFormat copy
|
|
c5e408ae
|
2022-07-15T11:31:59
|
|
directsound: For channel counts > 2, generate a dwChannelMask for CreateSoundBuffer
|
|
fff34f63
|
2022-07-15T09:46:53
|
|
windows: SDL_IMMDevice needed more deinit code from the Win32 path.
Fixes #5919
|
|
37aecda2
|
2022-07-14T11:38:51
|
|
pipewire: Use PW_KEY_TARGET_OBJECT to specify stream connection nodes
Pipewire 0.3.44 introduced PW_KEY_TARGET_OBJECT, which is to be used to specify target connection nodes for streams. This parameter takes either a node path (PW_KEY_NODE_NAME) or serial number (PW_KEY_OBJECT_SERIAL) to specify a target node. The former is used in this case since the path is already being retrieved and stored for other purposes.
The target_id parameter in pw_stream_connect() is now deprecated and should always be PW_ID_ANY when PW_KEY_TARGET_OBJECT is used.
|
|
2201d802
|
2022-07-14T02:40:00
|
|
avoid -Werror=declaration-after-statement after last commit.
|
|
24b3efd0
|
2022-07-12T04:33:56
|
|
(OpenBSD) Exe Path: Use PWD instead of CWD and use CWD as fallback
|
|
883409ea
|
2022-07-13T11:26:42
|
|
Added support for the misc1 button on the Nintendo Switch Pro Controller
when using hid_nintendo kernel driver
|
|
9a4f200d
|
2022-06-04T14:57:49
|
|
gamecontrollerdb: Linux, add mappings for hid-nintendo driver and more
Taken from https://github.com/gabomdq/SDL_GameControllerDB/blob/master/gamecontrollerdb.txt
|
|
7e2a9969
|
2022-07-13T08:57:40
|
|
Added a virtual joystick automated test
Useful to verify https://github.com/libsdl-org/SDL/commit/4fa2653394150140c4d69cf66a78cd83e1175f99 on a big-endian system
|
|
06c7d226
|
2022-07-12T18:53:53
|
|
Added mappings for the HORI Fighting Stick mini 4 on Linux and macOS
|
|
27d8cbf0
|
2022-07-12T18:17:32
|
|
Added PowerA and Qanba vendors for Android USB device support
|
|
e24b971a
|
2022-07-12T17:53:03
|
|
Added support for the NVIDIA Shield controller guide button
|
|
c92ddddd
|
2022-07-12T13:00:43
|
|
Sort libraries by version and pick the shortest symlink (thanks @jpalus!)
Fixes https://github.com/libsdl-org/SDL_image/issues/289
|
|
b321eae5
|
2022-07-11T19:43:25
|
|
joystick: Fix spurious battery empty events when opening a Shield controller
|
|
a0d8848b
|
2022-07-11T19:37:25
|
|
joystick: Plumb SDL_JoystickSendEffect() for the Shield HIDAPI driver
The effect data format consists of one command byte followed by zero or more
payload bytes.
|
|
deca77c1
|
2022-07-11T15:55:14
|
|
Regenerated configure
|
|
d5b8cf72
|
2022-07-11T15:54:15
|
|
Revert "autotools: relax soname pattern for dynamic loading"
This reverts commit 85536328272d754277febd010e82d89b04e68b6d.
An issue with choosing the shortest one, is that it will prefer development libraries: libfoo.so is shorter then libfoo.so.0.6.
|
|
36d8460c
|
2022-07-11T16:59:23
|
|
pipewire: Dynamically allocate the buffer for node strings
Calculate and allocate the buffer for the IO node name and path strings dynamically instead of using arbitrary sized static buffers.
|
|
996cea31
|
2022-07-11T15:15:48
|
|
pipewire: Update default audio devices during runtime
Make the default device metadata node persist for the lifetime of the hotplug loop so the default source/sink devices will be updated if they change during runtime.
|
|
60da11f0
|
2022-07-11T14:31:20
|
|
pipewire: Remove deprecated configuration key
With Pipewire now requiring a minimum version 0.3.24, the PW_KEY_CONTEXT_PROFILE_MODULES value is no longer required for legacy compatability and can be safely removed.
|
|
4fa26533
|
2022-07-12T00:55:00
|
|
SDL_GetJoystickGUIDInfo: byte-swap vendor, product and version values.
Reference issue: https://github.com/libsdl-org/SDL/issues/5907
|
|
b8f30c02
|
2022-07-12T00:55:00
|
|
SDL_endian.h: check for __powerpc__ and __PPC__ in big endian decision.
Also remove the _M_PPC check from there.
Reference issue: https://github.com/libsdl-org/SDL/issues/5907
|
|
5d09b631
|
2022-07-11T17:35:11
|
|
Sync SDL wiki -> header
|
|
ecfbdce6
|
2022-07-11T13:09:48
|
|
pipewire: Require version 0.3.24 or newer at runtime
|
|
2f0816ad
|
2022-07-11T13:08:30
|
|
Add SDL_GetDefaultAudioInfo.
This API is supported on pipewire, pulseaudio, wasapi, and directsound.
Co-authored-by: Frank Praznik <frank.praznik@gmail.com>
|
|
15d06180
|
2022-07-11T01:06:57
|
|
SDL_IMMDevice: Fix a WASAPI-specific leak, clean up Add()
|
|
ae105ae1
|
2022-07-10T12:59:33
|
|
windows: Move IMMDevice work to common file, implement DirectSound enumeration support
|
|
2373da5d
|
2022-07-11T09:49:00
|
|
Exposed SDL_ResetKeyboard() as a public function
This will be used by Source 2 titles to reset keyboard state before showing assertion dialogs
|
|
739155c4
|
2022-07-11T08:55:49
|
|
We want to ship the CMake input file, not the generated file
Fixes https://github.com/libsdl-org/SDL/issues/5905
|
|
2c22d720
|
2022-07-11T08:44:49
|
|
Fixed typo in description
|
|
cd2dcf54
|
2022-07-10T21:10:00
|
|
regenerated configure script.
|
|
85536328
|
2022-07-10T18:02:46
|
|
autotools: relax soname pattern for dynamic loading
SDL makes assumption that each dynamically loaded library must have
SONAME matching pattern <libname>.so.<digit>+ hence it discards any file
that has two (or more) digits after ".so". in practice however SONAME
might be in the form of ie <libname>.so.<major>.<minor>.
as a solution keep requirement for dynamically loaded files to be named
<libname>.so.* but consider all the possibilities and prefer the shortest
one.
|
|
6e712d24
|
2022-07-09T22:55:36
|
|
joystick: Add HIDAPI driver for NVIDIA SHIELD 2017 controller
Basic input already works using the OS HID driver, but this enables
force feedback and battery state reporting.
|
|
3242265f
|
2022-07-10T12:22:47
|
|
joystick: Fix endianness issues in Xbox HIDAPI drivers
|
|
2f216485
|
2022-07-08T20:56:40
|
|
SDL_os2video.c: silenced -Wempty-body warning, along with minor tidy-up.
|
|
531647ef
|
2022-07-08T09:45:37
|
|
Regenerated configure with latest autotools release
|
|
4aad594a
|
2022-07-08T16:17:46
|
|
Update SDL_qsa_audio.c
Fix qnx platform compile error, change SDL_Bool to SDL_bool.
|
|
c0eada20
|
2022-07-06T17:00:16
|
|
Fix assumption that DRI_DEVNAME begins at 0 (#5865)
* Fix assumption that DRI_DEVNAME begins at 0
The existing logic of the code was to count every possible entry in
KMSDRM_DRI_PATH. After this a for loop would start trying to open
filename0, filename1, filename2, etc. In recent Linux kernels (say
5.18) with simpledrm, the lowest KMSDRM_DRI_DEVNAME is often
/dev/dri/card1, rather than /dev/dri/card0, causing the code to fail
once /dev/dri/card0 has failed to open. Running:
modprobe foodrm && modprobe bardrm && rmmod foodrm
before you try to run an application with SDL KMSDRM would have also
made this fail.
* Various changes from review
- Removed newline and period from SDL error
- Explicitely compare memcmp to zero (also changed to SDL_memcmp)
- Changed memcpy to strncpy
- Less aggressive line wrapping
* Various changes from review
- strncpy to SDL_strlcpy
- removed size hardcodings for KMSDRM_DRI_PATHSIZE and
KMSDRM_DRI_DEVNAMESIZE
- made all KMSDRM_DRI defines, run-time variables to reduce bugs caused
by these defines being more build-time on Linux and more run-rime on
OpenBSD
- renamed openbsd69orgreater variable to moderndri
- altered comment from "if on OpenBSD" to add difference in 6.9
* Various changes from review
- Use max size of destination, rather than max size of source
- Less hardcodings
|
|
adf3ce7c
|
2022-07-05T21:42:24
|
|
Don't drop mouse focus on WM_MOUSELEAVE if the mouse is in relative mode; mouse-level is not meaningful for that case.
Do drop mouse focus when keyboard focus is lost if the mouse is in relative mode.
|
|
0253a450
|
2022-07-05T21:42:20
|
|
Fix format specifiers for WPARAM/LPARAM values, they are UINT_PTR.
|
|
f5cbc440
|
2022-07-05T21:41:34
|
|
Merge commit 'ad0b91302d34336f8af8787fefeeddb553606ec6' into main
|
|
001969b3
|
2022-07-05T21:41:32
|
|
Merge commit '98411c0d338933e75221cc9c25bf3d5b9ec977b9' into main
|
|
b76393f1
|
2022-07-05T21:41:30
|
|
Merge commit '6187edd41e318f9c434ba178fb32a8ef2b07e5da' into main
|
|
d16a7bb9
|
2022-07-05T21:41:28
|
|
Merge commit 'fdb86b8266947e225f058b32ebb77fa949f6ae42' into main
|
|
c3602532
|
2022-07-05T21:41:26
|
|
Merge commit 'b085c18251bc0298b1a78a621025978702ca07f7' into main
|
|
8db084d5
|
2022-07-05T21:41:24
|
|
Merge commit '51f75b8b309992252a1e18643e310f2774dec4ef' into main
|
|
21437ad3
|
2022-07-05T21:41:22
|
|
Merge commit 'fcb99d783090cc15bc04cdebe877ab36a3697e3d' into main
|
|
8d7ea151
|
2022-07-05T21:41:20
|
|
Merge commit '85bbf8eec9f5e422447807b6cabec8c9ec0859d9' into main
|
|
b0c91397
|
2022-07-05T21:41:19
|
|
Merge commit '643f9e56d03d8be9adf774c4931fe95742225006' into main
|
|
e09233cd
|
2022-07-05T21:41:17
|
|
Merge commit '7d7c5b803cecdb87673b824103e4c1c0b3e29fac' into main
|
|
92218402
|
2022-07-05T21:41:15
|
|
Merge commit '2a25b69ba580ff63ede93f2b19fa1bca09dab484' into main
|
|
c218b55c
|
2022-07-05T21:41:13
|
|
Merge commit '0a600b1df45558c16812995aa2c03f0b5f636afb' into main
|
|
89c39330
|
2022-07-05T21:41:11
|
|
Merge commit 'cd79e9c4e25ffd15010953b15ae8cbc25b7e7a90' into main
|
|
23ff1c60
|
2022-07-05T21:41:09
|
|
Merge commit 'f317d619ccd22e60cebf1b09d716d3985359c981' into main
|
|
95405d96
|
2022-07-05T21:39:44
|
|
Merge commit '0025621b8064f5c72561d5d7b7a1fbdde860c236' into main
|
|
4615494f
|
2022-07-05T21:39:42
|
|
Merge commit '391dd0d94b625ae9f7edec2b7514a2f6ba9fb670' into main
|
|
85d6d83b
|
2022-07-05T21:39:40
|
|
Merge commit '89624485ccffa9e9b9f1743d431034297daaf251' into main
|
|
a9a79ddf
|
2022-07-05T21:39:38
|
|
Merge commit 'e9d5060c4c2df66e8d4ef4f748f80e8ef32fc233' into main
|
|
91c7329c
|
2022-07-05T21:39:36
|
|
Merge commit '209f457ea4eed6a2a3816f42049a17101c049d9c' into main
|
|
acc03716
|
2022-07-05T21:39:35
|
|
Merge commit 'bdbf90e3fc27c123e699c03f54de3e35e51861dc' into main
|
|
6d3ce729
|
2022-07-05T21:39:33
|
|
Merge commit '7ac5d616f3732b4d98010331d2ae0a24f883092d' into main
|
|
7ef298f7
|
2022-07-05T21:39:31
|
|
Merge commit '37a517dc36b7ba8f703c82a408bef6e44e5786ba' into main
|
|
6b0e1adf
|
2022-07-05T21:39:29
|
|
Merge commit '78089e6598240178b62d6720eec041cc698a5e7c' into main
|
|
fbc98003
|
2022-07-05T21:39:27
|
|
Merge commit '3e114872e842879c048b2a7808f2cdbfeb2228fe' into main
|
|
d514f248
|
2022-07-05T21:39:25
|
|
Merge commit '4f732197947d39cf13b4e3de1811d9bcace3798c' into main
|
|
eaeaf55f
|
2022-07-05T21:39:23
|
|
Merge commit '24251fb5442296b8066ccc7af6cda430bf2017db' into main
|
|
ad0b9130
|
2022-07-05T22:29:43
|
|
android: Add missing entries to SDL_category_prefixes table.
Add static assert so this shouldn't happen in the future.
Fixes #5883
|
|
98411c0d
|
2022-07-05T06:52:04
|
|
Added include: libkern/OSAtomic.h
When building on macOS without gcc (e.g. clang) where HAVE_GCC_ATOMICS
is not defined, `SDL_AtomicTryLock` will call
`OSAtomicCompareAndSwap32Barrier` which is not yet declared.
Including OSAtomic.h on OSX resolves this error/warning:
SDL_spinlock.c:125:12: error: implicit declaration of function
'OSAtomicCompareAndSwap32Barrier' is invalid in
C99 [-Werror,-Wimplicit-function-declaration]
return OSAtomicCompareAndSwap32Barrier(0, 1, lock);
This was reported in issue #3885 but marked Invalid and closed - possibly
because the default CMake build uses gcc instead of clang.
|
|
6187edd4
|
2022-07-04T23:57:05
|
|
Sync SDL wiki -> header
|
|
fdb86b82
|
2022-07-04T12:48:32
|
|
x11: Don't try to use XInput2 multitouch if not supported.
Fixes #5889.
|
|
b085c182
|
2022-07-04T16:38:05
|
|
make SDL_SetTextInputRect take a pointer to const
The documentation doesn't state that the argument is ever modified,
and no implementation does so currently.
This is a non-breaking change to guarantee as much to callers.
|
|
51f75b8b
|
2022-07-04T16:42:46
|
|
Fix fallback implementations of SDL_strchr and SDL_strrchr for '\0'
strchr and strrchr return a pointer to the first/last occurrence of a
character in a string, or NULL if the character is not found. According
to the C standard, the final null terminator is part of the string, and
it should thus be possible to get a pointer to the final null with
these functions. The fallback implementations of SDL_strchr and
SDL_strrchr would always return NULL if trying to find '\0', and this
commit fixes that.
|
|
fcb99d78
|
2022-07-04T13:42:05
|
|
Sync SDL wiki -> header
|
|
85bbf8ee
|
2022-07-03T12:19:33
|
|
Fixed coment after #endif
|
|
643f9e56
|
2022-07-03T16:20:26
|
|
Rename folder created in test_filesystem
|
|
7d7c5b80
|
2022-06-29T01:26:27
|
|
Improving mkdir creating parents folder
|
|
2a25b69b
|
2022-07-02T20:50:51
|
|
Check if GNC is defined before checking its value to solve warns in msvc
|
|
0a600b1d
|
2022-07-02T00:27:51
|
|
Merge testguid into testautomation (#5873)
|
|
cd79e9c4
|
2022-07-01T14:04:07
|
|
Removed comment text that looks like doxygen commands
|
|
f317d619
|
2022-07-01T13:59:14
|
|
Xbox GDKX support (#5869)
* Xbox GDK support (14 squashed commits)
* Added basic keyboard testing
* Update readme
* Code review fixes
* Fixed issue where controller add/removal wasn't working (since the device notification events don't work on Xbox, have to use the joystick thread to poll XInput)
|
|
0025621b
|
2022-07-01T19:59:06
|
|
Add a default URL in testurl
|