Log

Author Commit Date CI Message
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 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.
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.
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.
Ryan C. Gordon db2ad6fa 2021-03-17T13:36:38 git-pre-push-hook: remove ".git" from URL.
Ryan C. Gordon e7e519a4 2021-03-17T13:04:05 dsp: Refuse to initialize if there aren't any Open Sound System devices. This prevents the dsp target from stealing the audio subsystem but not being able to produce sound, so other audio targets further down the list can make an attempt instead. Thanks to Frank Praznik who did a lot of the research on this problem!
Ankith 559be8aa 2021-03-15T15:18:10 fix invalid out of bounds UTF8 handling
Ankith 07fc1bb8 2021-03-15T15:10:49 Fix invalid UTF-8 handling of extra bytes
Vanfanel 96cc4985 2021-03-16T22:41:26 [Build system] Report differentiated glx and glvnd OpenGL implementation detection.
Vanfanel e14fb54e 2021-03-16T10:47:57 [KMSDRM] Undo SDL_CreateRenderer() modifications aimed at create opengles2 when KMSDRM is in use because it's a harmful solution.
Ryan C. Gordon 7a2a1a85 2021-03-16T13:46:03 documentation: initial script to merge header comments and the wiki. This is a work-in-progress, but the idea is it can convert between our wiki and the SDL header's doxygen comments, so we can attempt to keep them in sync. This might be a fool's errand, but I'm optimistic it'll work enough that we can clean up little issues as we go, as long as we have some discipline about how we write documentation. If nothing else, it's going to result in a solid spring-cleaning of both the wiki and the headers!
Vanfanel 108bb5aa 2021-03-16T00:51:17 [KMSDRM] Modify SDL_CreateRenderer() to create an opengles2 renderer when the KMSDRM backend is being used and no renderer name has been specified.
vanfanel e213f37a 2021-03-15T12:53:16 [KMSDRM] Enable full OpenGL detection (MESA/libglvnd) on both the make and cmake buildsystems.
Sam Lantinga 5f596d1a 2021-03-15T09:00:44 Merge commit 'b98b5adcaea159fc6a9753f808875acf7d3ee945' into main
Sam Lantinga b1b93df8 2021-03-15T09:00:42 Merge commit '8ba735c208388159477bf0ccb06a8573a273fb02' into main
Sam Lantinga aa00fe4b 2021-03-15T09:00:40 Merge commit '3853531f6d11d1824b6a0ce0212c06e79483d22d' into main
Sam Lantinga 7acafda7 2021-03-15T09:00:39 Merge commit '9996cecc726a8d8900fd817d58f9505b3490d1bc' into main
Sam Lantinga 30bef5dc 2021-03-15T09:00:37 Merge commit '5f7eb88ae0990f89ec3a4bf697ec03aafee1a9a8' into main
Sam Lantinga 00f93e40 2021-03-15T09:00:35 Merge commit 'b49e0953b14be38cdeada86df84a59c92e38aeff' into main
Sam Lantinga 4a39d896 2021-03-15T09:00:33 Merge commit '1957ffd21ab5a3be6f347def510fcb8f985d3b8b' into main
Sam Lantinga 3313c67c 2021-03-15T09:00:32 Merge commit '34de3b57a101f8d885041add5e21311a153bb1bf' into main
Sam Lantinga 2bd0a718 2021-03-15T09:00:30 Merge commit 'dacf6cfbaa8c66ea6150f95aadad2954f116836c' into main
Sam Lantinga 082394c6 2021-03-15T09:00:25 Merge commit 'a5f3ea14487f1a36b1d421d02e86f25704f8bdc8' into main
Sam Lantinga 7ca94f59 2021-03-15T09:00:23 Merge commit '4fbd60b81714f8f93946520147cb0c1f05faee64' into main
Sam Lantinga 713a0472 2021-03-15T09:00:22 Merge commit 'cd3809c03e6d41a73cdb7c4a2e84c56e3d45cd7a' into main
Sam Lantinga 61589463 2021-03-15T09:00:20 Merge commit '9e23c65237b480c74a0a2537b9927f6e52ca22aa' into main
Sam Lantinga b53f06cc 2021-03-15T09:00:18 Merge commit '72bcf546f90423f05eda0fa08510e340683ff6f4' into main
Sam Lantinga 5b34a265 2021-03-15T09:00:16 Merge commit '3d22731d94d6259255ef3fd5006c8c6c80e377b4' into main
Sam Lantinga d84df04f 2021-03-15T09:00:15 Merge commit '51345623e888d7bc4131cd8f015c339f757ea68a' into main
Ryan C. Gordon b98b5adc 2021-03-15T10:21:36 wasapi: Don't use the system's resampler.