Commit Graph

  • 6a7161dceb Blacklist Corsair device causing hang Jimb Esser 2019-07-14 16:48:31 -07:00
  • 8fb8adfc90 macOS: Fix SDL_GL_CreateContext/MakeCurrent on non-main threads causing a Main Thread Checker warning when built with Xcode 11 / the macOS 10.15 SDK. Alex Szpakowski 2019-07-13 17:04:02 -03:00
  • 73536d93ea ios: Fixed MFi guide button not being detected (thanks, Caleb!). Ryan C. Gordon 2019-07-12 21:28:43 -04:00
  • 70f0b093ff cmake: Add setupapi library to Windows build dependencies (hidapi needs it). Ryan C. Gordon 2019-07-12 13:40:58 -04:00
  • 27ad8e5d72 cocoa: Set keyboard mod state correctly when turning off capslock. Ryan C. Gordon 2019-07-11 01:07:14 -04:00
  • 86965eecd3 x11: prevent a synthetic mouse event when using a touchscreen Sylvain Becker 2019-07-10 10:06:28 +02:00
  • 6ef01e5236 x11: set some modality things on message boxes with parent windows. Ryan C. Gordon 2019-07-09 17:28:02 -04:00
  • 6625203514 SDL_Mouse/Touch: discard synthetic events when hints are not set. Those are generated/flagged by platform layer. Sylvain Becker 2019-07-09 11:46:42 +02:00
  • d550867aef fix permissions Ozkan Sezer 2019-07-09 08:55:00 +03:00
  • 66d4d8e25d cmake: Added HIDAPI support. Ryan C. Gordon 2019-07-08 16:46:52 -04:00
  • 4df22d812c configure: Windows and macOS now respect --enable-hidapi. Ryan C. Gordon 2019-07-08 16:08:16 -04:00
  • 7e09718dfe Ignore synthetic mouse events generated for touchscreens Cameron Gutman 2019-07-07 11:23:16 -07:00
  • e841b066fd cocoa: Another attempt at mouse vs touch support. Ryan C. Gordon 2019-07-08 13:41:01 -04:00
  • 680e7937e0 Fixed bug 4710 - audio/alsa: avoid configuring hardware parameters with only a single period Sam Lantinga 2019-07-07 09:10:56 -07:00
  • 67bb882e13 Fixed bug 4707 - SDL_SetRelativeMouseMode fails on Vivante Sam Lantinga 2019-07-03 15:57:55 -07:00
  • f994da0ef0 Fixed bug 4702 - Android back button does not send SDL_KEYDOWN event fallback when event.getSource() is SOURCE_UNKNOWN Sylvain Becker 2019-07-03 13:37:54 +02:00
  • 3fc447dfc9 Fixed bug 4708 - testdropfile: double-free Sam Lantinga 2019-07-03 02:37:15 -07:00
  • b46c771994 raspberry: Actually commit the whole patch. :) (Thanks, Joe!) Ryan C. Gordon 2019-07-02 16:49:35 -04:00
  • d2d06f4443 cocoa: Don't report trackpad mouse events as synthesized touches. Ryan C. Gordon 2019-07-02 12:29:36 -04:00
  • d2058b45ae raspberry: Fixed missing mouse cursor (thanks, Joe!) Ryan C. Gordon 2019-07-02 10:26:54 -04:00
  • d5ebbcb4e5 dbus: Don't SimulateUserActivity if we're already inhibiting the screensaver. Ryan C. Gordon 2019-07-02 09:43:26 -04:00
  • 94658099e5 dbus: Add org.freedesktop.ScreenSaver.SimulateUserActivity support. Ryan C. Gordon 2019-07-02 09:38:31 -04:00
  • 027887da15 iOS: Fix the window size not being set properly when Split View is used on an iPad (bug #4586). Alex Szpakowski 2019-07-01 14:52:56 -03:00
  • 972bdfb47f Made it more explicit that 2.0.10 and newer are required for the SDL_RW* functions Sam Lantinga 2019-07-01 09:05:15 -07:00
  • 60606dfb31 Documented that the SDL_RW* macros no longer exist, and you can't use an older SDL library if you build with SDL 2.0.10. Sam Lantinga 2019-07-01 09:02:04 -07:00
  • 959cfc428e Fixed memory barrier macro check so it isn't quite so fragile Sam Lantinga 2019-06-30 23:58:31 -07:00
  • a8bea85810 Limit the compile error to the case where we actually define the memory barrier macro as the function Sam Lantinga 2019-06-30 23:55:28 -07:00
  • cc47810d36 Fixed bug 4683 - SDL_atomic infinite recursion on armv6/armv5 w/ thumb Sam Lantinga 2019-06-30 23:26:16 -07:00
  • 797d2c5957 Fixed bug 4436 - [OpenBSD] fix D-pad Sam Lantinga 2019-06-30 22:48:13 -07:00
  • 22a2decf64 Android: concurrency issues, make sure Activity is in running State when calling functions like SDL_CreateWindow, SDL_CreateRenderer, Android_GLES_CreateContext Sylvain Becker 2019-06-28 16:38:42 +02:00
  • cfed0b7738 Add an "error" label in SDL_CreateRenderer (no op) Sylvain Becker 2019-06-28 16:14:50 +02:00
  • aa45af7fcb Android: explicitly expand Android_GLES_MakeCurrent/Android_GLES_CreateContext from SDL_egl_c.h Sylvain Becker 2019-06-28 16:05:20 +02:00
  • 57e08c27ef cocoa: Check for capslock in -[NSResponder flagsChanged], not with IOKit. Ryan C. Gordon 2019-06-26 13:21:43 -04:00
  • 0beadea574 windows: Call GetWindowText() with the correct parameters (thanks, Zebediah!) Ryan C. Gordon 2019-06-26 01:29:01 -04:00
  • 282b2b9395 define __ARM_NEON for Windows only if _M_ARM or _M_ARM64 is defined. fixes Visual Studio builds. Ozkan Sezer 2019-06-25 11:47:02 +03:00
  • 83a713f1a0 update version in os/2 makefile Ozkan Sezer 2019-06-24 23:51:10 +03:00
  • bcb357d451 fix permissions Ozkan Sezer 2019-06-24 23:50:20 +03:00
  • ccba8d4691 Android: export Lock/Unlock activity API Sylvain Becker 2019-06-24 18:08:11 +02:00
  • 7f78d0f0d3 Fixed bug 4684 - GLES1 variables missing under Android with CMake Sam Lantinga 2019-06-21 22:01:27 -07:00
  • 31bb95f11f direct3d: Use D3DPOOL_DEFAULT for vertex buffers after all, release correctly. Ryan C. Gordon 2019-06-21 15:07:39 -04:00
  • 51555a85cc Enable Raspberry Pi video by default Sam Lantinga 2019-06-21 10:58:30 -07:00
  • e681623cb2 direct3d: Fix dirty textures failing to update Cameron Gutman 2019-06-20 19:51:00 -07:00
  • f3226457e0 Fixed bug 4672 - Warnings in SDL_LogEvent() Sam Lantinga 2019-06-19 17:11:20 -07:00
  • be6cda9f95 Rolling back GameCube HIDAPI support It causes the HIDAPI devices to always be opened on enumeration, which causes crashes in the Windows drivers when multiple applications are reading and writing at the same time. We can revisit this after 2.0.10 release. Sam Lantinga 2019-06-19 15:54:21 -07:00
  • 56e2b9a4ee Handle GameCube WaveBird controller differences Make wireless GameCube controllers use unknown power level instead of wired and don't allow rumble (it doesn't have hardware for it). Zack Middleton 2019-06-19 06:43:54 -07:00
  • 6f63c1c37f Make GameCube controllers only rumble if both USB cables are connected The Nintendo USB GameCube Adapter has two USB connectors. Black for data and grey for additional power for rumble. The Wii U and other software require both cables to use rumble. The rumble is weaker without the second USB cable. Other than that I don't know if there is any negative side affects from using rumble with only one cable. Zack Middleton 2019-06-19 06:43:36 -07:00
  • b23cce282e Fix GameCube controller power level being reset to unknown HIDAPI_DriverGameCube_OpenJoystick() set power level to wired and then it was set to unknown in SDL_JoystickOpen(). Zack Middleton 2019-06-19 06:43:04 -07:00
  • bd95290075 Use SDL C runtime functions Sam Lantinga 2019-06-19 06:40:50 -07:00
  • faed7f836d KMSDRM: fix inverted strcmp, remove useless if test (Bug 4624) Sylvain Becker 2019-06-19 10:11:38 +02:00
  • 5998c51324 KMSDRM: fix compilation on linux, no d_namlen (Bug 4624) Sylvain Becker 2019-06-19 09:16:53 +02:00
  • d0fa93d63c wayland: Fixed C99-style variable declaration inside for-loop. Ryan C. Gordon 2019-06-19 00:52:34 -04:00
  • 667c872b42 Fixed building DMG archive on Mac OS X Sam Lantinga 2019-06-18 21:50:57 -07:00
  • 7162649f78 opengl: Be more robust in failing cases. Ryan C. Gordon 2019-06-18 18:58:39 -04:00
  • 8ab907baa6 Only warp the mouse to set focus if we're definitely going into relative mode Sam Lantinga 2019-06-18 14:24:26 -07:00
  • 14e8b93e37 Fixed compiler warning Sam Lantinga 2019-06-18 14:24:24 -07:00
  • 99abcbb2bc Fixed bug 4624 - KMS/DRM fails on FreeBSD because /dev/dri/card* nodes are symlinks Sam Lantinga 2019-06-18 14:15:10 -07:00
  • d3bedda4df cocoa: Patched to compile and also handle possible malloc failure. Ryan C. Gordon 2019-06-18 16:53:49 -04:00
  • 3e720d2a80 Fixed potential double-free in mouse cleanup code Sam Lantinga 2019-06-18 13:41:38 -07:00
  • 5dcac4ccdf Fixed 4669 - Using the software SDL_Renderer on Android leads to GL errors & black screen when window resizes Sam Lantinga 2019-06-18 10:08:19 -07:00
  • e96d4760ac Android: resize with software rendering, reverted again (Bug 4669) Sylvain Becker 2019-06-18 18:53:58 +02:00
  • 12b92260cc Android: try to fix resize with software rendering (bug 4669) Sylvain Becker 2019-06-18 18:40:40 +02:00
  • 8a20d40d90 Android: revert commit SW_GetOutputSize, again (Bug 4669) Sylvain Becker 2019-06-18 18:22:18 +02:00
  • 63506ae195 Added a patch note about batched rendering Sam Lantinga 2019-06-18 08:35:31 -07:00
  • e89789bb4b Added patch notes for 2.0.10 Sam Lantinga 2019-06-18 07:55:30 -07:00
  • eb71cd800d Make sure we haven't changed the size of the SDL_Event structure and broken binary compatibility. Sam Lantinga 2019-06-18 06:53:32 -07:00
  • 5418d41626 Android: prevent ignoring surfaceChanged() in MultiWindow Sylvain Becker 2019-06-18 11:35:30 +02:00
  • 98cc7589b1 Android: prevent using SW_GetOutputSize with software renderer (Bug 4669) Sylvain Becker 2019-06-18 10:41:11 +02:00
  • a55c0e1479 Android: revert previous commit (Bug 4669) (Refs #1) Sylvain Becker 2019-06-18 10:23:19 +02:00
  • f2157b6c25 Fixed bug 4669: Android software renderer, black screen when window resizes Sylvain Becker 2019-06-17 22:31:36 +02:00
  • 6c4765a17a Removed extraneous fprintf() call Sam Lantinga 2019-06-17 11:10:20 -07:00
  • 67c67f3a6b Updated version to 2.0.10 Sam Lantinga 2019-06-17 10:13:28 -07:00
  • 93a5e4ce06 Fixed bug 4667 - Build errors on Linux when building without Threads support Sam Lantinga 2019-06-17 08:38:33 -07:00
  • 9306ef9b10 Fix synthetically generated mouse events getting lost forever after the device orientation changes (or the window is otherwise resized) while a finger is touching the screen. Alex Szpakowski 2019-06-16 14:10:30 -03:00
  • f4625f52f2 iOS: remove some code which could affect the state of UIViews that aren't owned by SDL. Alex Szpakowski 2019-06-16 13:52:27 -03:00
  • fffa791fce assert: Another attempt to quiet compiler warnings. Ryan C. Gordon 2019-06-14 22:29:13 -04:00
  • 59e510b0b6 assert: Possibly fixing compiler warning on Android. Ryan C. Gordon 2019-06-14 21:39:51 -04:00
  • ed8b78d36b cocoa: ignore compiler warnings about OpenGL being deprecated. Ryan C. Gordon 2019-06-14 21:18:53 -04:00
  • 90e2dc9891 A few minor changes to placate static analysis. Ryan C. Gordon 2019-06-14 18:23:51 -04:00
  • 4eb3c0c387 Added support for Xbox and PS4 wireless controllers on iOS and tvOS Also implemented SDL_JoystickGetDevicePlayerIndex() on iOS and tvOS, and added support for reading the new menu button state available in iOS and tvOS 13. Sam Lantinga 2019-06-14 13:56:52 -07:00
  • 1213fe79d8 Worked around "Undefined symbol: ___isPlatformVersionAtLeast()" link error on Xcode 11 beta Sam Lantinga 2019-06-14 13:56:42 -07:00
  • 289d109245 audio: Attempt to fix build on ARM versions of Visual Studio. Ryan C. Gordon 2019-06-14 16:52:42 -04:00
  • 33b235f4c3 audio: Fix ARM NEON audio converter bugs. Ryan C. Gordon 2019-06-14 15:52:48 -04:00
  • 5c56c88824 audio: patched to compile. Ryan C. Gordon 2019-06-14 15:47:32 -04:00
  • 5bd9b8b167 Check src alignment for S32_to_F32 conversions Ethan Lee 2019-06-14 09:51:22 -04:00
  • d9a2eff26f cocoa: Another attempt at synthesized mouse/touch events. Ryan C. Gordon 2019-06-13 21:31:03 -04:00
  • 294574647d cocoa: Revised synthesized mouse/touch event strategy. Ryan C. Gordon 2019-06-13 01:57:13 -04:00
  • 50f5123190 macOS: Fix the coordinate space of SDL_GetDisplayUsableBounds (thanks Tim!) Alex Szpakowski 2019-06-12 19:57:30 -03:00
  • 74e86a51d8 iOS: Remove didAddSubview override in NSWindow, its code breaks things which rely on focus changing within SDL's UIWindow (bug #4659). Alex Szpakowski 2019-06-12 19:15:56 -03:00
  • 2fa33d6f98 wave: Fixed static analysis warning about dead assignment. Ryan C. Gordon 2019-06-12 15:43:08 -04:00
  • 32ead2cb46 vulkan: Fixed use-after-free bug. Ryan C. Gordon 2019-06-12 15:37:07 -04:00
  • b530d75afb assert: Fixed some compiler warnings. Ryan C. Gordon 2019-06-12 15:35:06 -04:00
  • 747df96eb0 Better patch to make it more clear what's going on Sam Lantinga 2019-06-12 10:38:49 -07:00
  • 3fbaa5da05 The hat index passed to the application should be zero-based with no holes Sam Lantinga 2019-06-12 10:35:47 -07:00
  • a1a2f9b9f8 Fixed bug 4486 - Segfault when pressing a trigger on the Steam Controller (Linux) Sam Lantinga 2019-06-12 10:32:36 -07:00
  • d01150abc2 Fixed bug 4665 - Add support for single touch evdev devices Sam Lantinga 2019-06-12 07:55:48 -07:00
  • 797b28133c wayland: HiDPI support Sebastian Krzyszkowiak 2019-06-12 00:55:05 +02:00
  • 09142eb715 fix permissions Ozkan Sezer 2019-06-12 13:56:20 +03:00
  • cd011bb1e7 SDL_Wave: missing field 'length' initializer Sylvain Becker 2019-06-12 10:42:02 +02:00
  • f5a347853d assert: mark SDL_ExitProcess as SDL_NORETURN again. Ryan C. Gordon 2019-06-11 21:57:30 -04:00
  • 04b50f6c6b cocoa: Backed out CVDisplayLink code for macOS vsync. Ryan C. Gordon 2019-06-11 16:19:01 -04:00