Log

Author Commit Date CI Message
okuoku 7b8c7509 2021-04-03T22:21:35 CMake: Enable WASAPI on WinRT WASAPI backend on WinRT was implemented with 2.0.8 https://github.com/libsdl-org/SDL/commit/351d6d478443fe8a1ede1e993712f07cb369d483 but CMake source here was written for 2.0.7 in vcpkg https://github.com/microsoft/vcpkg/commit/e6c65b93b125cf0be13254cf2f5a9d27cb009707
okuoku 8fa2ce56 2021-04-03T22:47:47 WinRT: Rename Interface ID symbols Rename locally-defined Interface ID symbols to avoid conflict with locally linked dxgi library. Prefixed with `SDL_` to match with other references in render_d3d11 or wasapi.
Nicholas "LB" Braden 3dbc4cf2 2021-03-30T17:49:51 Fix compilation error for Windows SDK 8.1+ https://docs.microsoft.com/en-us/windows/win32/api/shellscalingapi/ne-shellscalingapi-monitor_dpi_type
Philippe Coval 9634070b 2021-04-03T15:04:12 debian: Update README file in doc package Signed-off-by: Philippe Coval <rzr@users.sf.net> Change-Id: I7cd02e3094cb60328a24702afecb13f61beb67a1
meyraud705 413a2306 2021-04-04T10:47:06 NULL passed to strcmp in Wayland_ShowMessageBox
Ozkan Sezer 573c5a5b 2021-04-04T11:55:50 regenerated configure.
Ryan C. Gordon 49141996 2021-04-04T00:29:26 ibus: make sure we don't pass a NULL path string over D-Bus. Fixes #2941.
Ryan C. Gordon e0068723 2021-04-04T00:23:52 hints: SDL_HINT_TIMER_RESOLUTION applies to all versions of Windows. Fixes #3654.
Ryan C. Gordon a81fe272 2021-04-04T00:16:30 configure/cmake: Hook up Emscripten threads (disabled by default). Fixes #3795.
Ryan C. Gordon 354cabd4 2021-04-03T18:15:50 egl: favor truecolor configurations. If app requested <= 16 color depth and there is a 24-bit config available, favor that. This fixes things that quietly expect to get truecolor output but don't request it (...like SDL's render api...) and things that are probably requesting 16-bit color as a fallback but expecting reasonable systems to give them full depth. Specifically, this fixes Life is Strange on Wayland, which uses the latter approach, and anything using SDL_Render on Wayland, which uses the former. Fixes #4056. Fixes #4132.
Ryan C. Gordon 95e5f058 2021-04-03T13:24:10 audio: make SDL_OpenAudioDevice declaration look less squashed.
Ryan C. Gordon 4abe3446 2021-04-03T10:10:58 SDL_EGL_ChooseConfig: cleanups and minor optimizations. - Move an immutable condition out of a for loop. - Add a break statement to that loop when we find what we're looking for. - Add an assert to make sure we don't overflow a buffer. - Wrap a single-statement if block in braces. - Adjust some whitespace.
Ryan C. Gordon 7d02248c 2021-04-02T14:36:53 tls: wrap reference to a mutex into an #if !SDL_THREADS_DISABLED test.
Ryan C. Gordon dbdbae44 2021-04-02T14:35:11 linux: (de)initialize d-bus at init and quit. Previously we had different subsystems quitting it, in conflict, and risked multiple threads racing to init it at the same time. Fixes #3643.
Ryan C. Gordon 57c2a456 2021-04-02T14:01:41 render: draw when hidden, except on iOS and Android. Fixes #2979.
Ryan C. Gordon b42bf2a7 2021-04-02T12:58:12 configure: Don't use "-Wl,--no-undefined" in "sdl2-config --static-libs" Fixes #3788.
Ryan C. Gordon 2689e844 2021-04-01T16:36:06 Delete gh-pages.yml This shouldn’t exist, let alone make commits to the repo. Kind of annoyed this is here and ran today.
Ryan C. Gordon da667554 2021-04-01T12:20:04 Fixed up legacy MoinMoin URLs at wiki.libsdl.org Fixes #4064.
Ryan C. Gordon 2542977b 2021-04-01T12:15:28 Revert "Update wiki.libsdl.org urls to libsdl-org/SDL/wiki (#4069)" This reverts commit 82a96afa70212da94de758df859e94cccdb2c805. We ended up not moving to GitHub's wiki after all and built https://github.com/icculus/ghwikipp to fill the gap...since the wiki is back at https://wiki.libsdl.org/, put back the original URLs.
Vanfanel fa818834 2021-03-30T13:25:09 [KMSDRM] Fake refresh rate precision on Vulkan display mode creation.
Vanfanel 942aa7bd 2021-03-30T11:41:26 [KMSDRM] No need to use an SDL_VideoDisplay pointer to access display index.
Learath 033c0abb 2021-03-27T14:04:00 Use dispatch_async for -[NSOpenGLContext update]. Fixes #3680
Ethan Lee eeee7308 2021-03-29T16:57:03 wayland: Implement IME support. Note that this is purely to make it possible to enter text that requires composition - for example, before this commit Kanji input didn't work at all. The big problem this still has is that we need the window position, and this is still not implemented. Once we have this information we can do the equivalent of XTranslateCoordinates to put the rectangle where we want it.
vanfanel 733b3278 2021-03-29T19:22:26 [KMSDRM] Minor Vulkan code adjustments regarding pointers and display index.
Christian Rauch 570768f6 2021-03-26T22:52:30 test: fix shadowing variables
Christian Rauch b972258d 2021-03-26T22:49:28 test: remove unused variables and typedefs
Christian Rauch 3f257045 2021-03-26T23:46:31 test: portable 64bit address format specifier
Ethan Lee 9d294f1f 2021-03-27T00:53:10 audio: Allow AudioStreamGet to return 0 in RunAudio. While we should normally expect _something_ from the stream based on the AudioStreamAvailable check, it's possible for a device change to flush the stream at an inconvenient time, causing this function to return 0. Thing is, this is harmless. Either data will be NULL and the result won't matter anyway, or the data buffer will be zeroed out and the output will just be silence for the brief moment that the device change is occurring. Both scenarios work themselves out, and testing on Windows shows that this behavior is safe.
Ethan Lee 9b7babf9 2021-03-27T00:47:54 wasapi: Remove assert added by 67e8522d
Xing Ji fb283a73 2021-03-24T22:42:47 Squashed commit of the following: commit 6b8f933589aa3925978a23e77a305a7e89c6ae4a Author: Xing Ji <jixingcn@gmail.com> Date: Wed Mar 24 22:31:29 2021 +0800 update the dynapi by `gendynapi.pl` commit ebd1790c19983b652713f40ab1e139e485e1a2b7 Author: Xing Ji <jixingcn@gmail.com> Date: Wed Mar 24 22:17:48 2021 +0800 revert the change in src/dynapi commit 734b5f85c1613070081e39238e84198128971b53 Merge: 5a56e5a8 5ac6bd54 Author: Xing Ji <jixingcn@gmail.com> Date: Wed Mar 24 22:14:40 2021 +0800 Merge remote-tracking branch 'libsdl/main' into jixingcn commit 5a56e5a8227d9cff6b497b681c618a76bec1cae1 Author: Xing Ji <jixingcn@gmail.com> Date: Mon Mar 22 23:55:10 2021 +0800 Fix #3596, can call the `SDL_TLSCleanup` to cleanup the TLS data when closing the application
Ethan Lee 5ceb6744 2021-03-28T14:58:41 linux: Fix ibus support on Wayland/XWayland
David Gow 1cd97e26 2021-03-29T18:12:33 testmessage: Create a renderer for window display on Wayland On Wayland -- or at least on some Wayland implementations -- windows aren't shown until something has been rendered into them. For the 'testmessage' test program, this means that the final messagebox (a modal one) is blocking an "invisible window", which can then be difficult to close. By creating a renderer and presenting once, the window is properly displayed, and the test behaves as it does under X11 (including XWayland).
Frank Praznik 5f9effaa 2021-03-28T17:45:41 audio: pipewire: Block while waiting on stream state info Initializing streams, particularly capture streams, can take many milliseconds, which is a bit much for a busy wait. Use a blocking wait instead.
Frank Praznik 8deb4063 2021-03-28T17:22:59 audio: pipewire: Avoid redundant locking The pw_thread_loop already locks and unlocks the thread mutex at the start and end of each loop iteration, so these locks are unnecessary.
Frank Praznik 5bb2bbd4 2021-03-28T17:17:00 audio: pipewire: Don't use uninitialized variables in callbacks Some of the SDL_AudioDevice struct members aren't initialized until after returning from the OpenDevice function. Since Pipewire uses it's own processing threads, the callbacks can be entered before all members of SDL_AudioDevice are initialized, such as work_buffer, callbackspec and the processing stream, which creates a race condition. Don't use these members when in the paused state to avoid potentially using uninitialized values and memory.
Vanfanel 9de7eaf9 2021-03-28T01:30:26 [KMSDRM] Change error message.
Vanfanel 1ec60a38 2021-03-27T23:52:51 [KMSDRM] Remove unnecessary space.
Vanfanel c13c3c37 2021-03-27T22:50:18 [KMSDRM] For Vulkan, use a mode with the same exact size as the window, if possible, or create a new one.
Ethan Lee 07ba13b7 2021-03-26T00:40:05 wayland: Pass --no-wrap to Zenity. There seems to be a bug where it can wrap the text based on the minimum possible window size, which can be worked around with --no-wrap. This technically uncaps the width entirely, but this isn't wildly different from what other backends do.
Ethan Lee 54719a9d 2021-03-25T23:58:12 wayland: Assign output_len in ShowMessageBox
Sam Lantinga 6d9c4f6c 2021-03-26T15:07:10 Added support for the wired Amazon Luna gamepad on Android
Sam Lantinga 40b0509e 2021-03-26T14:34:58 Fixed header documentation errors
Sam Lantinga 4a07c73b 2021-03-26T13:53:58 Added mapping for the Amazon Luna controller on Linux
Sam Lantinga 07af9baa 2021-03-26T13:05:38 Use the correct name for the Amazon Luna Gamepad
Sam Lantinga ef363555 2021-03-26T13:03:29 Added mapping for the Amazon Luna controller on macOS
Sam Lantinga 8b87b438 2021-03-26T13:01:06 Don't try to map the touchpad button, since we don't have any art for that at the moment.
Sam Lantinga 3377861a 2021-03-26T11:57:19 Added support for the Amazon Game Controller to the HIDAPI driver
Ethan Lee 27b74d33 2021-03-25T23:25:34 Implement Wayland_ShowMessageBox using Zenity
Ozkan Sezer 5262b52d 2021-03-25T23:56:56 SDL_kmsdrmvideo.c: define EGL_PLATFORM_GBM_MESA if it's missing. Fixes: https://github.com/libsdl-org/SDL/issues/4232
Ryan C. Gordon ab7944f9 2021-03-25T12:52:15 wikiheaders: fixed regex for converting markdown bold+italic to mediawiki.
Ryan C. Gordon f5544542 2021-03-25T12:50:18 wikiheaders: when merging into headers, wordwrap in Markdown style.
Ryan C. Gordon 45d128db 2021-03-24T22:36:06 wikiheaders: Fixed double-wikify call.
Ryan C. Gordon 5753fd73 2021-03-24T12:52:48 wikiheaders.pl: Whitespace fixes.
Ryan C. Gordon c486959e 2021-03-24T10:47:03 headers: Fix up bullet lists, now that wikiheaders.pl can handle them.
Ryan C. Gordon c2152928 2021-03-24T10:46:05 wikiheaders.pl: Mark some sections as wiki-only so we don't lose them.
Ryan C. Gordon 231b849c 2021-03-24T10:45:27 wikiheaders.pl: Properly handle and wordwrap bullet lists.
vanfanel 5ac6bd54 2021-03-24T02:54:36 [KMSDRM] Ask for videomode on the correct display when creating a window.
Ryan C. Gordon 7c08b049 2021-03-23T15:36:12 headers: a few minor documentation corrections.
Fabrice Fontaine b55b11af 2021-03-23T08:07:56 src/thread/pthread/SDL_systhread.c: drop include of SDL_platform.h Drop include of SDL_platform.h as SDL_plaform.h is already included by SDL_internal.h -> SDL_config.h -> SDL_platform.h Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Sam Lantinga 0bdf4f95 2021-03-22T19:19:01 Disable system gestures on MFi controllers while they're open, so we get access to the back button, etc.
Sam Lantinga 1133ea03 2021-03-22T19:18:57 Fixed crash on macOS when AirPods are connected
Sam Lantinga 38b61a3d 2021-03-22T19:16:40 Merge commit 'c12f46b100d22a0e06a64c5b6d1baa3f446d34e6' into main
Sam Lantinga 258b7bc0 2021-03-22T19:16:38 Merge commit '100166d7d7b9ed2e486841498bbc585975630e02' into main
Sam Lantinga f82aa7f5 2021-03-22T19:16:36 Merge commit '3f40396d33df64326756648c3b8e1e6c922efe5a' into main
Sam Lantinga 9332006c 2021-03-22T19:16:34 Merge commit '3c78c211d57de4e9d953bf71d49d2ee313bbff34' into main
Sam Lantinga 8a6810e9 2021-03-22T19:16:33 Merge commit '599edaaf935aab69a13b5643566adc652a27e268' into main
Sam Lantinga b0a047e5 2021-03-22T19:16:31 Merge commit '1899844952756e932ee29e887501a9b9e39066a6' into main
Sam Lantinga de832227 2021-03-22T19:16:29 Merge commit 'cf7eef37b045bb3f841e26879fdc6d865c8aaf9a' into main
Sam Lantinga 4b0b39a3 2021-03-22T19:16:28 Merge commit '4acd1dcad41d154093ca14eb0adf35f4f99bd06a' into main
Sam Lantinga f68ba3cc 2021-03-22T19:16:26 Merge commit '8638674a87c5ea92a87240f8f562ed1c437d1e0c' into main
Sam Lantinga 3ee89ac0 2021-03-22T19:16:25 Merge commit '82ff6045fa0aa7ff2f861f20512e30688c7b51c3' into main
Sam Lantinga 4b1dfb14 2021-03-22T19:16:23 Merge commit 'c35e71892e6aa7dc2ce697b9ac44e541b3f4caef' into main
Sam Lantinga d27c6c11 2021-03-22T19:16:21 Merge commit '281a7bdbb32a2ba124f8a6f6f9555135fd529599' into main
Sam Lantinga 4fa42cab 2021-03-22T19:16:19 Merge commit 'e5821bf27668a5e54c699743c2b97aa55e7bdd93' into main
Sam Lantinga f83ce7c5 2021-03-22T19:16:18 Merge commit 'e6b87005c1da22a0d354619eebca53c6e2639cdd' into main
Sam Lantinga e62a2518 2021-03-22T19:16:16 Merge commit '7d1b9c9f15eb3a9f2f253e5b88e091192a894bcf' into main
Sam Lantinga 49eb7c6b 2021-03-22T19:16:15 Merge commit 'db2ad6fa73adec1ffa364d21d130b69533b30ade' into main
Sam Lantinga e944e404 2021-03-22T19:16:13 Merge commit 'e7e519a466167b7a3ef9aa9b28535e436139936a' into main
Sam Lantinga 4c412d29 2021-03-22T19:16:11 Merge commit '559be8aab4a0e666fa6fc9104570c9c9d3c54f12' into main
Sam Lantinga 9ffd477d 2021-03-22T19:16:10 Merge commit '07fc1bb883f4c3d9b603d3a3be8c0f2dfa88c285' into main
Sam Lantinga 7ed20094 2021-03-22T19:16:08 Merge commit '96cc49857dcda68910b8ae068de41983da625de2' into main
Sam Lantinga f5253b70 2021-03-22T19:16:06 Merge commit 'e14fb54e3f409aaf1e10b94f681677c59b1b7e0d' into main
Sam Lantinga 4ef15270 2021-03-22T19:16:05 Merge commit '7a2a1a85e9738f127d9f6cd600aa6e1c4459bf2e' into main
Sam Lantinga 2b655881 2021-03-22T19:16:03 Merge commit '108bb5aabec27f41f977bdf7a4d2ed3f3a3962eb' into main
Sam Lantinga 0727acd6 2021-03-22T19:16:01 Merge commit 'e213f37a450ca6b0746aa3acd2e5e76635e13468' into main
Paul Cercueil c12f46b1 2021-03-22T19:03:25 [KMSDRM] Fix segmentation fault Deference the windata pointer *after* checking that it's non-NULL. Signed-off-by: Paul Cercueil <paul@crapouillou.net>
vanfanel 100166d7 2021-03-22T18:00:41 [KMSDRM] Improve cursor management.
Ryan C. Gordon 3f40396d 2021-03-21T14:18:39 First shot at merging the wiki documentation into the headers.
Ryan C. Gordon 3c78c211 2021-03-20T18:46:37 Update and rename README.txt to README.md This mostly just makes this look nice in web browsers with small displays, like cell phones reading the GitHub project page.
Sylvain Becker 599edaaf 2021-03-20T21:07:32 Merge pull request #4212 from Cacodemon345/patch-11 Fix GitHub display of README-android.md
Cacodemon345 18998449 2021-03-21T01:15:14 Fix GitHub display of README-android.md
vanfanel cf7eef37 2021-03-19T04:25:40 [KMSDRM] Better error handling: no more segfaults on window creation failure.
Vanfanel 4acd1dca 2021-03-18T14:04:38 [KMSDRM] Improve the way to test if last window is being destroyed.
Vanfanel 8638674a 2021-03-18T13:55:58 [KMSDRM] Correct comment typo.
vanfanel 82ff6045 2021-03-18T12:02:54 [KMSDRM] Unload GL/EGL libs and destroy GBM only when we are destroying the last window.
vanfanel c35e7189 2021-03-18T11:47:23 [KMSDRM] All non-vulkan windows have to be marked as OPENGL, not only the first created one.
vanfanel 281a7bdb 2021-03-18T11:20:18 [KMSDRM] Make the gbm_init flag a viddata member to avoid GBM re-init when several displays are connected.
Ozkan Sezer e5821bf2 2021-03-18T00:10:00 regenerated configure.
Vanfanel e6b87005 2021-03-17T20:10:31 Fix tests configuration and building when only GLVND full OpenGL implementation is present.
Vanfanel 7d1b9c9f 2021-03-17T14:40:41 [KMSDRM] Remove unneeded function calls and improve comments for future reference.