Log

Author Commit Date CI Message
Sam Lantinga e24b971a 2022-07-12T17:53:03 Added support for the NVIDIA Shield controller guide button
Sam Lantinga 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
Cameron Gutman b321eae5 2022-07-11T19:43:25 joystick: Fix spurious battery empty events when opening a Shield controller
Cameron Gutman 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.
Sam Lantinga deca77c1 2022-07-11T15:55:14 Regenerated configure
Sam Lantinga 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.
Frank Praznik 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.
Frank Praznik 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.
Frank Praznik 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.
Ozkan Sezer 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
Ozkan Sezer 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
SDL Wiki Bot 5d09b631 2022-07-11T17:35:11 Sync SDL wiki -> header
Ethan Lee ecfbdce6 2022-07-11T13:09:48 pipewire: Require version 0.3.24 or newer at runtime
Ethan Lee 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>
Ethan Lee ae105ae1 2022-07-10T12:59:33 windows: Move IMMDevice work to common file, implement DirectSound enumeration support
Ethan Lee 15d06180 2022-07-11T01:06:57 SDL_IMMDevice: Fix a WASAPI-specific leak, clean up Add()
Sam Lantinga 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
Sam Lantinga 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
Sam Lantinga 2c22d720 2022-07-11T08:44:49 Fixed typo in description
Ozkan Sezer cd2dcf54 2022-07-10T21:10:00 regenerated configure script.
Jan Palus 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.
Cameron Gutman 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.
Cameron Gutman 3242265f 2022-07-10T12:22:47 joystick: Fix endianness issues in Xbox HIDAPI drivers
Ozkan Sezer 2f216485 2022-07-08T20:56:40 SDL_os2video.c: silenced -Wempty-body warning, along with minor tidy-up.
Sam Lantinga 531647ef 2022-07-08T09:45:37 Regenerated configure with latest autotools release
285424336 4aad594a 2022-07-08T16:17:46 Update SDL_qsa_audio.c Fix qnx platform compile error, change SDL_Bool to SDL_bool.
Eric Curtin 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
Sam Lantinga 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.
Sam Lantinga 0253a450 2022-07-05T21:42:20 Fix format specifiers for WPARAM/LPARAM values, they are UINT_PTR.
Sam Lantinga f5cbc440 2022-07-05T21:41:34 Merge commit 'ad0b91302d34336f8af8787fefeeddb553606ec6' into main
Sam Lantinga 001969b3 2022-07-05T21:41:32 Merge commit '98411c0d338933e75221cc9c25bf3d5b9ec977b9' into main
Sam Lantinga b76393f1 2022-07-05T21:41:30 Merge commit '6187edd41e318f9c434ba178fb32a8ef2b07e5da' into main
Sam Lantinga d16a7bb9 2022-07-05T21:41:28 Merge commit 'fdb86b8266947e225f058b32ebb77fa949f6ae42' into main
Sam Lantinga c3602532 2022-07-05T21:41:26 Merge commit 'b085c18251bc0298b1a78a621025978702ca07f7' into main
Sam Lantinga 8db084d5 2022-07-05T21:41:24 Merge commit '51f75b8b309992252a1e18643e310f2774dec4ef' into main
Sam Lantinga 21437ad3 2022-07-05T21:41:22 Merge commit 'fcb99d783090cc15bc04cdebe877ab36a3697e3d' into main
Sam Lantinga 8d7ea151 2022-07-05T21:41:20 Merge commit '85bbf8eec9f5e422447807b6cabec8c9ec0859d9' into main
Sam Lantinga b0c91397 2022-07-05T21:41:19 Merge commit '643f9e56d03d8be9adf774c4931fe95742225006' into main
Sam Lantinga e09233cd 2022-07-05T21:41:17 Merge commit '7d7c5b803cecdb87673b824103e4c1c0b3e29fac' into main
Sam Lantinga 92218402 2022-07-05T21:41:15 Merge commit '2a25b69ba580ff63ede93f2b19fa1bca09dab484' into main
Sam Lantinga c218b55c 2022-07-05T21:41:13 Merge commit '0a600b1df45558c16812995aa2c03f0b5f636afb' into main
Sam Lantinga 89c39330 2022-07-05T21:41:11 Merge commit 'cd79e9c4e25ffd15010953b15ae8cbc25b7e7a90' into main
Sam Lantinga 23ff1c60 2022-07-05T21:41:09 Merge commit 'f317d619ccd22e60cebf1b09d716d3985359c981' into main
Sam Lantinga 95405d96 2022-07-05T21:39:44 Merge commit '0025621b8064f5c72561d5d7b7a1fbdde860c236' into main
Sam Lantinga 4615494f 2022-07-05T21:39:42 Merge commit '391dd0d94b625ae9f7edec2b7514a2f6ba9fb670' into main
Sam Lantinga 85d6d83b 2022-07-05T21:39:40 Merge commit '89624485ccffa9e9b9f1743d431034297daaf251' into main
Sam Lantinga a9a79ddf 2022-07-05T21:39:38 Merge commit 'e9d5060c4c2df66e8d4ef4f748f80e8ef32fc233' into main
Sam Lantinga 91c7329c 2022-07-05T21:39:36 Merge commit '209f457ea4eed6a2a3816f42049a17101c049d9c' into main
Sam Lantinga acc03716 2022-07-05T21:39:35 Merge commit 'bdbf90e3fc27c123e699c03f54de3e35e51861dc' into main
Sam Lantinga 6d3ce729 2022-07-05T21:39:33 Merge commit '7ac5d616f3732b4d98010331d2ae0a24f883092d' into main
Sam Lantinga 7ef298f7 2022-07-05T21:39:31 Merge commit '37a517dc36b7ba8f703c82a408bef6e44e5786ba' into main
Sam Lantinga 6b0e1adf 2022-07-05T21:39:29 Merge commit '78089e6598240178b62d6720eec041cc698a5e7c' into main
Sam Lantinga fbc98003 2022-07-05T21:39:27 Merge commit '3e114872e842879c048b2a7808f2cdbfeb2228fe' into main
Sam Lantinga d514f248 2022-07-05T21:39:25 Merge commit '4f732197947d39cf13b4e3de1811d9bcace3798c' into main
Sam Lantinga eaeaf55f 2022-07-05T21:39:23 Merge commit '24251fb5442296b8066ccc7af6cda430bf2017db' into main
Eddy Jansson 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
Chris Mumford 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.
SDL Wiki Bot 6187edd4 2022-07-04T23:57:05 Sync SDL wiki -> header
Ryan C. Gordon fdb86b82 2022-07-04T12:48:32 x11: Don't try to use XInput2 multitouch if not supported. Fixes #5889.
rohlem 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.
Dav999-v 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.
SDL Wiki Bot fcb99d78 2022-07-04T13:42:05 Sync SDL wiki -> header
chalonverse 85bbf8ee 2022-07-03T12:19:33 Fixed coment after #endif
Francisco Javier Trujillo Mata 643f9e56 2022-07-03T16:20:26 Rename folder created in test_filesystem
Francisco Javier Trujillo Mata 7d7c5b80 2022-06-29T01:26:27 Improving mkdir creating parents folder
Anthony Heathcoat 2a25b69b 2022-07-02T20:50:51 Check if GNC is defined before checking its value to solve warns in msvc
Cameron Cawley 0a600b1d 2022-07-02T00:27:51 Merge testguid into testautomation (#5873)
Sam Lantinga cd79e9c4 2022-07-01T14:04:07 Removed comment text that looks like doxygen commands
chalonverse 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)
Cameron Cawley 0025621b 2022-07-01T19:59:06 Add a default URL in testurl
Sam Lantinga 391dd0d9 2022-07-01T13:35:41 Don't spin as quickly as possible in the checkkeys rendering loop
Sam Lantinga 89624485 2022-07-01T13:32:56 Updated the test bitmap font to cover the Latin-1 character set Based on Marcel Sondaar's font8_8.asm, in the public domain
Sam Lantinga e9d5060c 2022-07-01T12:56:47 checkkeys will now render text that is input Also added test functions for multi-line debug text display Currently this only supports ASCII, as the font doesn't have the correct Latin-1 characters
Sam Lantinga 209f457e 2022-07-01T10:13:19 Generate backspaces for the text we're going to replace when committing text
Sam Lantinga bdbf90e3 2022-07-01T09:17:30 on-screen keyboard newline is reported as an Enter key
Sam Lantinga 7ac5d616 2022-07-01T08:58:08 Fixed backspace being delivered after committed text on Android 12 Testing: Enter "hello ", followed by "?" - the events generated are: : commitText hello : Key pressed : scancode 11 = H, keycode 0x00000068 = H modifiers: (none) : Key released: scancode 11 = H, keycode 0x00000068 = H modifiers: (none) : Key pressed : scancode 8 = E, keycode 0x00000065 = E modifiers: (none) : Key released: scancode 8 = E, keycode 0x00000065 = E modifiers: (none) : Key pressed : scancode 15 = L, keycode 0x0000006C = L modifiers: (none) : Key released: scancode 15 = L, keycode 0x0000006C = L modifiers: (none) : Key pressed : scancode 15 = L, keycode 0x0000006C = L modifiers: (none) : Key released: scancode 15 = L, keycode 0x0000006C = L modifiers: (none) : Key pressed : scancode 18 = O, keycode 0x0000006F = O modifiers: (none) : Key released: scancode 18 = O, keycode 0x0000006F = O modifiers: (none) : Key pressed : scancode 44 = Space, keycode 0x00000020 = Space modifiers: (none) : Key released: scancode 44 = Space, keycode 0x00000020 = Space modifiers: (none) : INPUT Text (\x68\x65\x6c\x6c\x6f\x20): "hello " : finishComposingText : deleteSurroundingText 1 / 0 : Key pressed : scancode 42 = Backspace, keycode 0x00000008 = Backspace modifiers: (none) : Key released: scancode 42 = Backspace, keycode 0x00000008 = Backspace modifiers: (none) : commitText ? : Key pressed : scancode 225 = Left Shift, keycode 0x400000E1 = Left Shift modifiers: LSHIFT : Key pressed : scancode 56 = /, keycode 0x0000002F = / modifiers: (none) : Key released: scancode 56 = /, keycode 0x0000002F = / modifiers: (none) : Key released: scancode 225 = Left Shift, keycode 0x400000E1 = Left Shift modifiers: (none) : INPUT Text (\x3f): "?" : setComposingText , at 1 : EDIT Text (): "" Previously, the backspace would be delivered after the "?"
Sam Lantinga 37a517dc 2022-06-29T18:10:01 Re-enable IME text input on Android In my testing, this results in text edit events followed by text input events. Any ASCII characters will generate scancode events based on a hypothetical US keyboard layout. Fixes https://github.com/libsdl-org/SDL/issues/3377
Cameron Cawley 78089e65 2022-07-01T13:08:31 Remove unused internal header SDL_sysevents.h
Cameron Gutman 3e114872 2022-06-30T20:36:45 joystick: Fix redetection of HIDAPI joysticks after reinitializing The HIDAPI joystick driver doesn't properly reset the change counter it uses to track if re-enumeration is needed when the joystick subsystem is quit and then reinitialized. The first SDL_Init(SDL_INIT_JOYSTICK) will result in the expected HIDAPI joysticks appearing, but subsequent calls will result in no joysticks being enumerated until another HIDAPI joystick is added or removed from the system.
chalonverse 4f732197 2022-06-30T00:25:26 Fixed D3D12 renderer not working with batching, and got rid of the vertex buffer size limit
Sam Lantinga 24251fb5 2022-06-29T17:40:45 Fixed checkkeys closing when tapping the screen on a phone
Sam Lantinga 0ad65277 2022-06-29T17:26:09 Refactored code to send scancodes for an ASCII on-screen keyboard key
Sam Lantinga b51330ab 2022-06-29T17:25:57 Merge commit '0ad65277ce7ca025438694caf39f83b80d4eea4c' into main
Sam Lantinga 47c43249 2022-06-29T17:25:55 Merge commit 'a054a5f7f2dde31431cf890e421886faacdf5f54' into main
Sam Lantinga d54931e2 2022-06-29T17:25:53 Merge commit '6a2e6c82a0764a00123447d93999ebe14d509aa8' into main
Sam Lantinga f0313044 2022-06-29T17:25:51 Merge commit 'db7dfece16565352224ac534d6975b85f12d962f' into main
Sam Lantinga 55840423 2022-06-29T17:25:49 Merge commit '43555bd1a9f8188b6f83a7c7d45861a35df6a54b' into main
Sam Lantinga 11c6c8c0 2022-06-29T17:25:47 Merge commit '1d1fb95a61e6815ba08cd25ab954165a4d693e96' into main
Sam Lantinga 3adf6bac 2022-06-29T17:25:45 Merge commit 'f815580dde2de9667af5ca8b43f9590f2fac1aab' into main
Sam Lantinga d3b2e62e 2022-06-29T17:25:43 Merge commit 'd4e6047e3cc73698a0d6b3b4a2ce7b9b5e025b2f' into main
Sam Lantinga 302a863a 2022-06-29T17:25:41 Merge commit '7a02dcf3e662d2a087908a8b378872aee8c83587' into main
Sam Lantinga e022b12a 2022-06-29T17:25:39 Merge commit 'cddf095a16263734bef07cefbbac1a42bf70d171' into main
Sam Lantinga c2ba2e23 2022-06-29T17:25:37 Merge commit 'b6f1c91862ae5b260f80cca2968cd9baefe41523' into main
Sam Lantinga ca18ab00 2022-06-29T17:25:35 Merge commit 'cbd01874759dad39718e1496d241c4ae5eceaff1' into main
Sam Lantinga c75e780f 2022-06-29T17:25:33 Merge commit 'f25b4b27743d4b018393a3083e9d9061ab5ce07a' into main
Sam Lantinga 48f2d2f8 2022-06-29T17:25:31 Merge commit '6c536afdb7bdc9cece4152c7e1f9a18306976b46' into main
Sam Lantinga 241755f4 2022-06-29T17:25:30 Merge commit 'e4a80875519617775184e9f6be5ede51772850fa' into main
Sam Lantinga 9bc2021c 2022-06-29T17:25:28 Merge commit '972391763790134796a353487faeadd451ccc046' into main
Sam Lantinga d800f95d 2022-06-29T17:25:26 Merge commit '0a9a0a79e0a40a2843c1f6d33f7fa45bb1042fc0' into main
Sam Lantinga 2170301c 2022-06-29T17:25:24 Merge commit '3b191580c392b7a2f7ee7c8a586020817dc7dc05' into main