Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| 4a7799be | 2021-07-28 17:01:02 | --disable-wayland-shared implies --disable-libdecor-shared for now. C.f.: https://github.com/libsdl-org/SDL/issues/4543 | ||
| 18303c92 | 2021-07-28 18:06:34 | Wayland: Fix building with --disable-wayland-shared with libdecor. When wayland is not dynamically loaded (--enable-wayland-shared=no) libdecor.h is not included unless SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC is set, so it fails to build. We can't simply move the libdecor.h include above the #ifdef SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC block, as libdecor.h itself #includes wayland headers we need to replace with #defines. Instead, duplicate the #include. Fixes https://github.com/libsdl-org/SDL/issues/4543 Note that this doesn't fix any of the underlying issues of libdecor being treated as part of wayland, it just fixes the build. A better solution would probably be to decouple the wayland dynamic loading from the libdecor dynamic loading completely, though that is a lot more work... | ||
| 21cba924 | 2021-07-28 16:54:23 | wayland: Don't create zxdg toplevel decoration twice Each window can have at most one zxdg toplevel decoration, but as of [1], we accidentally create two. (If libdecor is not in use). This causes wayland windows with server-side decorations (e.g. on KDE/KWin) to crash with the message: zxdg_decoration_manager_v1@7: error 1: decoration has been already constructed This extra zxdg_decoration_manager_v1.get_toplevel_decoration() call was introduced while deprecating wl-shell and xdg-shell-stable[1] support, and possibly was a bad interaction with [2], which moved the decoration creation around. Fixes: 6aae5b44f8 ("Remove wl-shell and xdg-shell-unstable-v6 support (#4323)") [1]: https://github.com/libsdl-org/SDL/pull/4323 [2]: https://github.com/libsdl-org/SDL/pull/4374 | ||
| 7b239edb | 2021-07-28 01:00:00 | wayland: Assign frame_callback on window creation. Fixes a crash when creating and destroying a window without calling SwapWindow. | ||
| 41e1a236 | 2021-07-27 16:50:06 | Correct the maximized size and position for borderless resizable windows This fixes bug https://github.com/libsdl-org/SDL/issues/4043 | ||
| 03185e74 | 2021-07-27 18:35:00 | wayland: Tag/Check wl_output objects as well, fixes crashes when libdecor is in use | ||
| 871c1119 | 2021-07-27 18:24:09 | wayland: handle pending resizes immediately, not on SwapWindow. This was originally a workaround for an old Mesa bug, since fixed, apparently, and causes other problems. Fixes #4326. | ||
| 51c61d7c | 2021-07-27 14:57:18 | Run the entire Cocoa messagebox function on the main thread. This fixes bug https://github.com/libsdl-org/SDL/issues/4420 | ||
| dfd3f30e | 2021-07-27 14:27:37 | Make Cocoa_HandleTitleButtonEvent() static since it's not used anywhere else | ||
| 14d58dc8 | 2021-07-27 14:23:40 | Fixed the parameter documentation | ||
| a3eb297e | 2021-07-27 17:17:19 | wayland: Rework enter/leave and update_scale_factor to avoid bogus wl_output data. Also remove get_window_scale_factor() which was just pointless indirection. | ||
| 6aae5b44 | 2021-07-27 17:12:26 | Remove wl-shell and xdg-shell-unstable-v6 support (#4323) * wayland-protocol: update wayland.xml to 1.19.0 * wayland: remove shell_surface field from SDL_SysWMinfo * wayland: remove wl_shell support * waypand-protocols: update xdg-shell.xml to 1.20 * wayland: remove xdg-shell-unstable-v6 support * wayland: deprecate wl shell surface syswm info, add xdg surface | ||
| 65dc4edb | 2021-07-27 12:51:44 | Reverted accidental Visual Studio version bump in SDL.sln | ||
| 88e4755c | 2021-07-27 12:43:00 | Make sure we don't try to turn on relative mouse mode while clicking on the window title bar. This fixes bug https://github.com/libsdl-org/SDL/issues/4469 | ||
| 7df6a9ea | 2021-07-27 10:44:04 | Add a test case for bug https://github.com/libsdl-org/SDL/issues/4469 | ||
| c72aef26 | 2021-05-01 23:56:23 | Fixed microphone randomly stop working WASAPI_WaitDevice is used for audio playback and capture, but needs to behave slighty different. For playback `GetCurrentPadding` returns the padding which is already queued, so WaitDevice should return when buffer length falls below the buffer threshold (`maxpadding`). For capture `GetCurrentPadding` returns the available data which can be read, so WaitDevice can return as soon as any data is available. In the old implementation WaitDevice could suddenly hang. This is because on many capture devices the buffer (`padding`) wasn't filled fast enough to surpass `maxpadding`. But if at one point (due to unlucky timing) more than maxpadding frames were available, WaitDevice would not return anymore. Issue #3234 is probably related to this. | ||
| 4ef8674d | 2021-07-27 14:18:44 | Revert "wasapi: Open capture devices the way we used to." This reverts commit 0d0fee7569803ddc41985bfc249418b02dd8cd97. | ||
| 0d0fee75 | 2021-07-27 14:12:18 | wasapi: Open capture devices the way we used to. This should work around the regression in #3234, since it basically reverts the problem change, but only for capture devices. Fixes #3234. | ||
| b2d77e63 | 2021-07-27 10:57:40 | Added testwm2 to the Visual Studio test programs | ||
| f4eb7f32 | 2021-07-27 13:45:33 | spinlock: Favor gcc-style atomics over MSVC interfaces. This resolves a problem when using Clang on Windows. Fixes #4346. | ||
| 9bcb5e7b | 2021-07-27 20:20:28 | configure: move CheckLibDecor into CheckWayland | ||
| 736a424f | 2021-07-27 13:12:57 | pulseaudio: Optionally add "monitor" sources to device list. There's a new hint to enable this. Fixes #2917. | ||
| 8d790b10 | 2021-07-27 12:23:46 | audiocvt: stereo-to-mono SSE3 now uses unaligned accesses. On modern CPUs, there's no penalty for using the unaligned instruction on aligned memory, but now it can vectorize unaligned data too, which even if it's not optimal, is still going to be faster than the scalar fallback. Fixes #4532. | ||
| a894ce4c | 2021-07-27 08:34:46 | Include README.md in the distribution archive | ||
| e16fb603 | 2021-07-27 17:10:24 | tweak HAVE_IMMINTRIN_H in SDL_config_windows.h, add to SDL_config_macosx.h | ||
| 2a53f831 | 2021-07-26 23:29:20 | Fixed controllers showing up under both MFI and HIDAPI drivers The Game Controller Kit doesn't show the controllers at startup, so the HIDAPI driver sees them first and therefore gets preference when a controller is supported by both drivers. This fixes bug https://github.com/libsdl-org/SDL/issues/4209 | ||
| 46869db0 | 2021-07-26 23:27:13 | Fixed controller rumble on macOS Needed to add a strong reference to the haptics engine | ||
| e94d4b8c | 2021-07-27 00:08:05 | Sync wiki -> header | ||
| a850fec7 | 2021-07-26 15:05:02 | Added missing mapping for the Xbox Elite Controller on Linux This fixes https://github.com/ValveSoftware/steam-for-linux/issues/7826 | ||
| d80ef3e5 | 2021-07-26 22:51:24 | SDL_VideoInit: silence 'may be used uninitialized' warning src/video/SDL_video.c:475: warning: 'i' may be used uninitialized in this function | ||
| 5ec69285 | 2021-04-02 06:16:09 | Support comma-separated lists in SDL_VIDEODRIVER | ||
| 45de0a1d | 2021-04-02 06:28:10 | Support comma-separated lists in SDL_AUDIODRIVER | ||
| ba8bc143 | 2021-07-26 12:09:33 | Sort joystick entries in /dev/input This fixes https://github.com/libsdl-org/SDL/issues/4430 | ||
| 8d527def | 2021-07-26 10:18:18 | Revert "hidapi_switch: Implement HD rumble effect (#4538)" This reverts commit 19082b115b8ba3fff93e1c317c380718086a509c, which broke rumble on the Nintendo Switch Pro controller | ||
| 19082b11 | 2021-07-26 12:00:53 | hidapi_switch: Implement HD rumble effect (#4538) | ||
| 3b7649c5 | 2021-07-26 01:29:10 | regenerated configure | ||
| ac904b8e | 2021-06-21 01:25:25 | wayland: ignore resize in fullscreen or maximised mode | ||
| ee062c64 | 2021-05-19 00:13:39 | wayland: implement toggling decorations | ||
| 2b3cf36f | 2021-05-22 00:49:10 | wayland: forward window events | ||
| 48066984 | 2021-04-05 14:09:03 | wayland: enable/disable ACTION_RESIZE for fullscreen | ||
| 9e6fcbe7 | 2020-06-11 22:10:28 | wayland: client-side decoration | ||
| f4f9c6bc | 2021-03-11 00:40:43 | CI: add 'libdecor' dependency from upstream | ||
| e5f9fae0 | 2021-05-16 23:19:45 | wayland: don't flush after setting fullscreen | ||
| c0601d01 | 2021-07-25 10:15:03 | SDL: Updated patches for HAIKU | ||
| 761d3837 | 2021-07-25 10:14:26 | SDL: Updated patches for HAIKU | ||
| 8e604a5f | 2021-07-25 18:44:33 | Fix error handling in X11_SetWindowTitle X11_XChangeProperty return 1 on success. | ||
| bc3b98f3 | 2021-07-25 03:33:44 | Replace with SDL_SendKeyboardKeyAutoRelease | ||
| 5cd37c0a | 2021-07-25 01:04:51 | Add Enter Key support to PSVita IME keyboard | ||
| 10ec4c86 | 2021-07-24 22:11:22 | Added support for the PowerA Nintendo Switch Spectra Controller | ||
| 3c9559f7 | 2021-07-24 19:43:56 | Don't try to rumble third-party Nintendo Switch Pro controllers Sending rumble to the PowerA Spectra Nintendo Switch controller hangs input reports for a couple of seconds. | ||
| cc19b13b | 2021-07-24 19:21:29 | Fixed missing return statement | ||
| 89bdc6ba | 2021-07-24 13:57:59 | Fix MSVC builds in paths with spaces | ||
| b0daa9f1 | 2021-07-24 13:33:54 | Automatically select the default platform toolset for MSVC builds | ||
| d4ac6b5e | 2021-07-24 15:58:33 | Detect buffer overflow when getting DirectInput device state This fixes bug https://github.com/libsdl-org/SDL/issues/4528 | ||
| 3b85e3fd | 2021-07-24 15:47:11 | Fixed internal Windows key state when using Windows+Space or Windows+G shortcuts This fixes bugs: https://github.com/libsdl-org/SDL/issues/4369 https://github.com/libsdl-org/SDL/issues/4500 | ||
| 03c19efb | 2021-07-24 15:25:50 | Added support for multiple seats with touch input on Wayland This fixes bug https://github.com/libsdl-org/SDL/issues/4517 | ||
| ff1b5e1b | 2021-07-24 15:10:57 | Implemented the window flash operations for X11 | ||
| 5ae0dd4b | 2021-07-24 17:44:35 | joystick: Split out Linux opening code for reuse by querying code. This prevents an assertion whem LINUX_JoystickGetGamepadMapping tried to open the stick temporarily and messed with global state by doing so. Now the global state is only set in LINUX_JoystickOpen, but the common code is shared by both interfaces. Fixes #4198. | ||
| 6c92bf54 | 2021-07-24 15:34:53 | Add more filters to the MSVC project | ||
| f1633127 | 2021-07-24 13:41:55 | Added a window flash operation to be explicit about window flash behavior | ||
| db56526f | 2021-06-10 13:07:27 | audiocvt: Replace divisions Division is expensive and the compiler can not replace it themselves. Though we now we will be ok in terms of floating point edge behaviour. | ||
| b2c8d3e9 | 2021-06-11 22:14:54 | audiocvt: 5.1 to Stereo conversion utilizing AVX | ||
| 20eea021 | 2021-06-12 01:25:40 | Windows: set HAVE_IMMINTRIN_H for AVX intrinsics | ||
| 638befc1 | 2021-06-10 17:22:39 | audiocvt: 5.1 to Stereo conversion utilizing SSE | ||
| e1c3a250 | 2021-07-24 12:11:27 | Changed SDL_FlashWindow() so it doesn't take a flash count, and added the hint SDL_HINT_WINDOW_FLASH_COUNT to control behavior on Windows | ||
| 09d1cea7 | 2021-07-24 11:15:09 | Use the new controller type for the Luna and Stadia controllers | ||
| 2147e7bf | 2021-07-24 11:01:58 | Sorted the hints alphabetically | ||
| 808c3ae6 | 2021-07-24 10:36:56 | Allow mapping Android controllers that just have a D-PAD and face buttons This fixes bug https://github.com/libsdl-org/SDL/issues/4327 | ||
| 856c87fc | 2021-07-24 17:32:05 | Sync wiki -> header | ||
| d89f4b3a | 2021-07-24 10:29:34 | Note that mouse warping doesn't work over Microsoft Remote Desktop Fixes the documentation portion of bug https://github.com/libsdl-org/SDL/issues/4206 | ||
| 94b7a876 | 2021-07-24 09:10:18 | Added SDL_GameControllerType enumerations for the Amazon Luna and Google Stadia controllers Fixes bug https://github.com/libsdl-org/SDL/issues/4019 | ||
| 6956f4aa | 2021-07-24 11:06:40 | cmake: use CMAKE_INSTALL_LIBDIR instead of hardcoding "lib", etc. These came from HaikuPorts, specifically this patchset: https://github.com/haikuports/haikuports/blob/462947dd4f285a885d8011cade7cd0f7151cfe74/media-libs/libsdl2/patches/libsdl2-2.0.14.patchset This is just the part that is _not_ Haiku-specific. I wanted this in a separate commit though, since I'm not really a CMake expert; if this causes problems and we need to bisect to it, we won't be confused about it being a Haiku issue when we get here. Fixes #4092. (and probably others.) | ||
| 403afdb5 | 2021-07-24 11:02:27 | cmake: Haiku fixes. These came from HaikuPorts, specifically this patchset: https://github.com/haikuports/haikuports/blob/462947dd4f285a885d8011cade7cd0f7151cfe74/media-libs/libsdl2/patches/libsdl2-2.0.14.patchset This is just the Haiku-specific bits; the more general parts about install dirs will be split into a different commit here. Reference issue #4092. | ||
| 7d8f34cb | 2021-07-24 01:19:58 | Updated .gitignore from @Zangetsu38 - thanks! | ||
| e6e8fe6d | 2021-07-23 10:45:03 | hidapi_switch: Implement analog rumble | ||
| 669714ca | 2021-07-23 23:51:35 | Added the ThrustMaster T.16000M as a flightstick | ||
| 384d86b5 | 2021-07-23 23:48:23 | Fixed compile warnings with Visual Studio | ||
| adb75d64 | 2021-07-23 23:45:18 | Fixed hotplug detection not working on UWP or when SDL isn't pumping Windows events This fixes bugs: https://github.com/libsdl-org/SDL/issues/4321 https://github.com/libsdl-org/SDL/issues/4147 Thanks to DJm00n for the suggestion! | ||
| 7b0092db | 2021-07-23 18:58:25 | vita: touch: Mark the back panel as an indirect absolute touch device It's not a touchscreen, but an additional touch panel on the back of the device. | ||
| 422b053b | 2021-07-23 16:32:35 | Added support for the full line of current PowerA Xbox Series X controllers | ||
| 7edffc57 | 2021-07-23 18:29:04 | Sync wiki -> header | ||
| 9632fb33 | 2021-07-23 12:48:28 | README-dynapi.md: Cleaned up markdown formatting. | ||
| c06448fe | 2021-07-23 16:39:05 | Sync wiki -> header | ||
| 48993a7f | 2021-07-23 16:14:49 | Sync wiki -> header | ||
| 15ed6653 | 2021-07-22 20:50:02 | Fixes to kmsdrm dynamic loading support. Fixes: https://github.com/libsdl-org/SDL/issues/4520 | ||
| 48bbe31b | 2021-07-20 21:45:21 | Add PreSwapCallback for updating SceCommonDialog | ||
| 9c1306bc | 2021-07-20 21:44:16 | Add elgext.h header | ||
| 4ada14a2 | 2021-07-21 13:39:10 | Replace libc functions to SDL equivalent in wayland video subsystem Wayland video subsystem uses a mix of libc and SDL function. This patch switches libc functions to SDL ones and fixes a mismatch in memory allocation/dealoccation of SDL_Cursor in SDL_waylandmouse.c (calloc on line 201 and SDL_free on line 313) which caused memory corruption if custom memory allocator where provided to SDL. | ||
| f806064e | 2021-07-19 13:12:10 | Remove 'support' for rgb/bgr textures, that was causing issues with them | ||
| d6641d71 | 2021-07-19 11:52:57 | kmsdrm: Explicitly set the surface transform and alpha mode This is required by the specification. Set these to sensible defaults. Fixes a validation layer error that occurs otherwise. | ||
| 76007427 | 2021-07-19 11:26:54 | kmsdrm: Properly zero-initialize CreateInfo structs As written, these contain undefined stack contents, which in practice causes crashes/hangs and/or triggers the validation layers (they complain about `pNext` and `flags` not being NULL). | ||
| 9170c0c7 | 2021-07-15 18:35:20 | CI: Add Windows ARM64 builds | ||
| 37d4f003 | 2021-07-14 17:09:05 | doxygen: Removed some cruft that accumulated during wiki migration. | ||
| c07e5e99 | 2021-07-14 17:07:41 | wikiheaders.pl: Add --copy-to-header option. ...because I keep mistyping it without the 's' on the end. :/ | ||
| c88eb7a8 | 2021-07-14 17:07:04 | Sync wiki -> header. | ||
| f8c1fc49 | 2021-07-14 14:15:30 | doxygen: Fix all the "\returns" so they work as part of complete sentences. | ||
| 8ec9fbdd | 2021-07-14 11:58:57 | wikiheaders.pl: pull in full sections from headers, fix more whitespace. | ||
| 17b4a67a | 2021-07-14 11:45:06 | doxygen: We use "\returns" as part of the sentence. | ||
| bab0eb71 | 2021-07-14 10:03:31 | wikiheaders.pl: Fix some wordwrap whitespace issues. | ||
| 04196a46 | 2021-07-14 09:59:52 | doxygen: wrap some game controller code examples in "```c" blocks. |