Commit Graph

  • 047b20e3b6 Fixed compile warnings on platforms without hidapi support Sam Lantinga 2020-12-23 16:11:16 -08:00
  • 9838611a8b Fixed compiler crash building for iOS with clang 11.0.3 Sam Lantinga 2020-12-23 15:52:12 -08:00
  • 2b760c3697 attempt to fix emscripten-buildbot: s/wasm/wasm32/ Ozkan Sezer 2020-12-24 01:55:00 +03:00
  • b9eb43a5c6 build-scripts: update install-sh and mkinstalldirs from automake-1.16.3 Ozkan Sezer 2020-12-24 01:32:10 +03:00
  • 3c4103b87d fix config.guess permissions Ozkan Sezer 2020-12-24 01:20:00 +03:00
  • fd3cb20b0f Fixed bug 5411 - config.guess and config.sub outdated Sam Lantinga 2020-12-23 14:09:01 -08:00
  • 5ed3d21f6e testsem.c: fix -Wmissing-braces warnings. Ozkan Sezer 2020-12-24 00:55:30 +03:00
  • 4aebad77bd SDL_SoftStretchLowerLinear: try to make xcode buildbot compile (Bug 5313) Sylvain Becker 2020-12-23 22:50:50 +01:00
  • 93ccdee8c1 Fixed bug 5404 - stdlib: Added SDL_round, SDL_roundf, SDL_lround and SDL_lroundf Sam Lantinga 2020-12-23 13:47:49 -08:00
  • d0b8295c0d Add SDL_sem implementation using Atomics and WaitOnAddress API. Keep Semaphore Kernel Object impl for Windows 7 and older - choose at runtime Joel Linn 2020-12-23 13:36:46 -08:00
  • 2b040cebbe Atomic test: Fix use after free SDL_SemPost() was called by the FIFO threads after the semaphore was freed because the main thread actually synchronized on the writerRunning/readersRunning count and not the semaphores itself. Joel Linn 2020-12-23 13:36:23 -08:00
  • 6267b95177 Semaphore test: Add overhead tests. Joel Linn 2020-12-23 13:36:02 -08:00
  • 95a6d4e848 Semaphore test: Put test into separate function. Joel Linn 2020-12-23 13:35:35 -08:00
  • 548cb90893 Add SDL_mutex implementation using Windows Slim Reader/Writer Locks Keep Critical Section impl for Windows XP/Vista - choose at runtime v2: - Add SRW definitions as suggested by Ozkan Sezer Allows building against older platform headers. - Rename "hidden" function parameter mutex_ to _mutex Joel Linn 2020-12-23 13:33:36 -08:00
  • 090fffac6a test/Makefile.os2: add warning switches to CFLAGS. Ozkan Sezer 2020-12-24 00:29:40 +03:00
  • 239c8f1f4c testvulkan.c: fix -Wmissing-braces warnings. also fix whitespace. Ozkan Sezer 2020-12-24 00:28:50 +03:00
  • 20ca1192d2 testgesture.c: comment out unused drawLine() Ozkan Sezer 2020-12-24 00:26:32 +03:00
  • b064028c2d testatomic.c: fix warnings due to SDL_AtomicDecRef() use Ozkan Sezer 2020-12-24 00:25:40 +03:00
  • 8e20376f1a SDL_SoftStretchLinear: use SDL_INLINE (bug 5313) Sylvain Becker 2020-12-23 22:09:01 +01:00
  • 7b8d5b7dc3 SDL_SoftStretchLinear: fix implicit conversion (bug 5313) Sylvain Becker 2020-12-23 22:02:28 +01:00
  • 15fea33915 ran gendynapi.pl after addition of SDL_SoftStretchLinear Ozkan Sezer 2020-12-23 23:47:10 +03:00
  • ae8a270f61 Add SDL_SoftStretchLowerLinear() (Bug 5313) Sylvain Becker 2020-12-23 21:37:40 +01:00
  • 050ee9a410 Split SDL_SoftStretch in Lower and Uppler functions (Bug 5313) Sylvain Becker 2020-12-23 21:32:01 +01:00
  • 09fcc9ed17 [KMS/DRM][Vulkan] Fix small warning, thanks to Ozkan Sezer for spotting it. Manuel Alfayate Corchete 2020-12-23 16:45:23 +01:00
  • a6dc838d52 [KMS/DRM][Vulkan] Only try to create a display mode when no suitable mode is found. Manuel Alfayate Corchete 2020-12-23 16:22:46 +01:00
  • 0ed4d92938 Fixed setting player LEDs for PS5 controllers over Bluetooth Sam Lantinga 2020-12-23 04:53:23 -08:00
  • 6341bb35a5 Fixed controller disconnect detection for PS4 and PS5 controllers over Bluetooth Sam Lantinga 2020-12-22 21:51:59 -08:00
  • a30adae567 Make it possible to turn on PS4 rumble effects at runtime using the hint Sam Lantinga 2020-12-22 20:58:32 -08:00
  • 390b2cf0d3 Enable PS5 enhanced functionality for testgamecontroller Sam Lantinga 2020-12-22 20:53:27 -08:00
  • c93947a2cb Make it possible to turn on PS5 rumble effects at runtime using the hint Sam Lantinga 2020-12-22 20:12:03 -08:00
  • 058a0ab47f Set the pad lights on the PS5 controller corresponding to the player index Sam Lantinga 2020-12-22 14:38:32 -08:00
  • 6a57072eef Only add the touchpad and sensors to the PS5 controller if effects are enabled Sam Lantinga 2020-12-22 14:10:08 -08:00
  • 4ec776c334 Don't switch the PS5 controller out of DirectInput mode by default Sam Lantinga 2020-12-22 13:29:23 -08:00
  • b4b674dabb CMakeLists.txt: sync DYLIB_CURRENT_VERSION to Xcode project Ozkan Sezer 2020-12-22 22:10:50 +03:00
  • 350f1b0d16 Updated SDL to version 2.0.15 for development Sam Lantinga 2020-12-22 10:36:15 -08:00
  • 13244de5c2 [Buildsystem] Only build KMSDRM support if EGL+OpenGL is detected by CMake. Manuel Alfayate Corchete 2020-12-22 17:17:30 +01:00
  • a19c008a7f use GetModuleHandleW() to retrieve kernel32.dll handle (bug #5390.) Ozkan Sezer 2020-12-22 17:10:02 +03:00
  • 9f655fe522 regenerated configure Ozkan Sezer 2020-12-22 17:03:20 +03:00
  • 5ad5645757 acinclude/pkg.m4: update from mainstream pkgconfig tree. Ozkan Sezer 2020-12-22 17:01:50 +03:00
  • 86191351c0 acinclude & sdl2.m4 updates: Ozkan Sezer 2020-12-22 17:00:28 +03:00
  • f117db5186 sdl2.m4 updates: Ozkan Sezer 2020-12-22 17:00:11 +03:00
  • 087de97b56 acinclude/esd.m4: update from mainstream esound tree, Ozkan Sezer 2020-12-22 17:00:00 +03:00
  • 15abab9cf8 regenerated configure Ozkan Sezer 2020-12-22 16:25:00 +03:00
  • 2fc987c28f [Buildsystem] Add guards for not building with KMSDRM support if EGL is not available. Manuel Alfayate Corchete 2020-12-22 14:15:33 +01:00
  • 05dcec0ae1 Added tag release-2.0.14 for changeset 97dfa8874ea0 Sam Lantinga 2020-12-21 14:43:38 -08:00
  • 4cd981609b Fixed whitespace release-2.0.14 Sam Lantinga 2020-12-21 09:44:25 -08:00
  • 537f824f38 test/Makefile.os2: wlib must run case-sensitively. Ozkan Sezer 2020-12-21 20:40:10 +03:00
  • 8766d6040b [Video/KMSDRM] Fix potetial access to freed structure and complete errorchecks. Manuel Alfayate Corchete 2020-12-21 17:29:24 +01:00
  • b06ef3a18c [Video/KMSDRM] Manually re-show the cursor on window creation, if needed. Manuel Alfayate Corchete 2020-12-21 01:53:11 +01:00
  • 4198f0e52c fix uninitialized warnings in KMSDRM_CreateCursor() Ozkan Sezer 2020-12-21 01:20:30 +03:00
  • a8dbcab132 [Video/KMSDRM] Don't copy the cursor bitmap to the cursor GBM BO until we're showing it. Manuel Alfayate Corchete 2020-12-20 21:48:05 +01:00
  • 67e9132dd5 Fixed circular dependency problem when building in the test directory Sam Lantinga 2020-12-20 12:22:28 -08:00
  • ee180efda7 Fixed bug 5406 - Upstreaming DragonFlyBSD changes from DeltaPorts (patch from David Carlier) Sam Lantinga 2020-12-20 12:08:49 -08:00
  • 22275b35e4 cmake: fix building for mac (bug #5407.) Ozkan Sezer 2020-12-20 21:55:02 +03:00
  • 2756b0f337 [Video/KMSDRM] Init and deinit mouse stuff at the same time that GBM stuff. Manuel Alfayate Corchete 2020-12-20 14:29:58 +01:00
  • e91153f278 fix non-ARM h/w on FreeBSD builds (bug #5405, patch from David Carlier.) Ozkan Sezer 2020-12-20 03:03:21 +03:00
  • cf71e01734 [Video/KMSDRM] Remove auxiliary AMDGPU compatibility workarounds not needed anymore. Manuel Alfayate Corchete 2020-12-19 23:32:09 +01:00
  • af1f91cb36 [Video/KMSDRM] Correct typo. Manuel Alfayate Corchete 2020-12-19 20:21:07 +01:00
  • cf48955680 [Video/KMSDRM] Honor the device index in Vulkan. Add notes about the display index. Manuel Alfayate Corchete 2020-12-19 20:15:50 +01:00
  • ab3a390e26 [Video/KMSDRM] Better ATOMIC caps testing: patch by Oskan Sezer. Manuel Alfayate Corchete 2020-12-19 17:35:04 +01:00
  • 436499f3ec [Video/KMSDRM] Comment out some debug info, adjust comments for future work. Manuel Alfayate Corchete 2020-12-19 02:08:59 +01:00
  • 6b81cac420 remove duplicated SDL_SetError after calling check_atomic_modesetting() Ozkan Sezer 2020-12-19 01:25:50 +03:00
  • 8952a61324 [Video/KMSDRM] Re-arrange display members setup. Manuel Alfayate Corchete 2020-12-18 23:17:42 +01:00
  • f60f8d5d84 [Video/KMSDRM]: Add Vulkan support to the KMSDRM backend. Manuel Alfayate Corchete 2020-12-18 22:53:51 +01:00
  • cbe13d232d Fixed controller hotplug detection when joystick thread is not enabled Sam Lantinga 2020-12-18 13:10:36 -08:00
  • 6ac0b23d3a SDL_DirectFB_video.c: DSPF_ABGR requires directfb >= 1.5.0 -- add guard. Ozkan Sezer 2020-12-18 21:37:20 +03:00
  • f0577bc9ea ControllerList: setup the ps5 default deadzone to match PS4 instead of defaulting to same a XboxOne/Switch Sam Lantinga 2020-12-18 10:09:06 -08:00
  • 5f7cd1fa88 Added hints to control whether SDL updates joystick and sensor state in the main event loop Sam Lantinga 2020-12-18 10:08:59 -08:00
  • 6c4ab48471 SDL_kmsdrmvideo.c: check atomic modesetting in check_modesetting() Ozkan Sezer 2020-12-18 17:50:02 +03:00
  • 5c654d0df4 tests: regenerate configure using autoconf patched for AC_PATH_X11 Ozkan Sezer 2020-12-18 17:00:00 +03:00
  • 6bd4c717a1 Fixed bug 5402 - ARM support little update proposal Sam Lantinga 2020-12-17 21:41:23 -08:00
  • 10625f9d89 SDL_windowsmessagebox.c: go back to hg rev 14458 state. Ozkan Sezer 2020-12-17 23:50:00 +03:00
  • 4d6eb30523 SDL_windowsmessagebox.c (AddDialogControl): add back NULL caption check. Ozkan Sezer 2020-12-17 23:28:20 +03:00
  • 90456670b5 more "'for' loop initial declarations are only allowed in C99 mode" fixes Ozkan Sezer 2020-12-17 14:11:00 +03:00
  • ed4fcb2cfc kmsdrm_legacy build fixes: Ozkan Sezer 2020-12-16 03:24:10 +03:00
  • f484abbdc8 Added Android mapping for the Xbox One Series X controller over Bluetooth Sam Lantinga 2020-12-15 14:57:51 -08:00
  • cdd397118f Fixed the Xbox Series X controller showing up twice on Android Sam Lantinga 2020-12-15 14:57:49 -08:00
  • 14f977348d Fixed whitespace Sam Lantinga 2020-12-15 14:57:47 -08:00
  • 9940e71088 Import two post-2.0.12 fixes to kmsdrm_legacy: Ozkan Sezer 2020-12-16 00:10:30 +03:00
  • f8839289b0 Potential fix for bug 5393 - KMSDRM: using atomic mode setting breaks GPU compatibility Sam Lantinga 2020-12-15 12:22:48 -08:00
  • c02d88dd12 configury whitespace cleanup (no actual change.) Ozkan Sezer 2020-12-15 23:01:10 +03:00
  • 6cb78120d4 Fixed bug 5399 - make install is broken as it depends on missing rule build Sam Lantinga 2020-12-15 00:42:17 -08:00
  • 716ac535d8 test/acinclude.m4: rename SDL_CONFIG to SDL2_CONFIG, regenerate configure Ozkan Sezer 2020-12-15 01:20:00 +03:00
  • 637d425e3e whitespace. Ozkan Sezer 2020-12-15 00:11:10 +03:00
  • f1c7cc710b winrt: Buildfix for older UWP SDKs Ethan Lee 2020-12-14 12:36:04 -05:00
  • e65e4fd3ef Fixed detecting the guide button on Xbox One S controllers over Bluetooth on Linux Sam Lantinga 2020-12-14 09:48:51 -08:00
  • 169cfe5a7c winrt: EffectiveLocation still needs an ifdef, IsApiContractPresent is for runtime Ethan Lee 2020-12-14 11:52:09 -05:00
  • bfffa275ef Fixed bug 5397 - Fcitx input is truncated Sam Lantinga 2020-12-14 09:23:53 -08:00
  • 8795ca7067 Fixed bug 5241 - SDL on Linux needs a way to turn deadzones off Sam Lantinga 2020-12-14 09:15:47 -08:00
  • 44d4a61d92 minor cleanups to configure.ac to reduce autoconf-2.70 warnings a bit. Ozkan Sezer 2020-12-14 08:11:40 +03:00
  • f8078d3d6c configure.ac: use AC_DEFINE for SDL_VIDEO_DRIVER_ANDROID Ozkan Sezer 2020-12-14 05:55:20 +03:00
  • 3c2757ff89 windows SDL_LoadObject: fix warning after commit 2ff650230d96 Ozkan Sezer 2020-12-13 18:25:02 +03:00
  • 15cbddf497 linux/SDL_threadprio.c: fix build on older systems: Ozkan Sezer 2020-12-13 18:00:20 +03:00
  • 3b92933ac6 SDL_LoadObject (windows, os/2): prevent crash if dll name is NULL. Ozkan Sezer 2020-12-13 17:37:50 +03:00
  • f674009c56 fix typo from commit 63349df2610a (fixes bug 5396) Ozkan Sezer 2020-12-13 16:51:20 +03:00
  • b6e63625c8 fix bug #5395: handle old systems where inotify_init1 is not available Ozkan Sezer 2020-12-13 15:32:24 +03:00
  • ee85a41a32 Fixed compile warning Sam Lantinga 2020-12-13 02:10:46 -08:00
  • 64f448b26c libusb hid.c is already included in SDL_hidapi.c Sam Lantinga 2020-12-13 02:01:39 -08:00
  • 706f63759c Fixed build for platforms with only libusb hidapi implementations Sam Lantinga 2020-12-13 01:58:05 -08:00
  • 80e5c689eb Fixed the PS5 controller not disconnecting when powered off Sam Lantinga 2020-12-13 01:20:38 -08:00