Commit Graph

  • fe97f01bc6 configure: corretly print --enable-arm-simd default value. Ozkan Sezer 2020-07-05 22:33:10 +03:00
  • 6aec6da4c3 stdinc: Let Clang static analysis see more C runtime functions. Ryan C. Gordon 2020-06-28 17:45:07 -04:00
  • 0e98040d43 joystick: Linux joysticks now recover better from dropped events. Ryan C. Gordon 2020-06-28 16:23:05 -04:00
  • e594a6738a emscripten: Introduce SDL_HINT_EMSCRIPTEN_ASYNCIFY Sylvain Beucler 2020-06-27 16:25:47 -04:00
  • 01af7b0254 emscripten: support pseudo-synchronous screen refresh and events update using asyncify Sylvain Beucler 2020-06-27 16:22:50 -04:00
  • 3b71ebecd6 configure: Accidentally deleted a ')' Ryan C. Gordon 2020-06-27 02:38:13 -04:00
  • e294639a6d cmake: Fix Metal detection on macOS/iOS. Ryan C. Gordon 2020-06-27 02:00:58 -04:00
  • 363fd52b41 configure/cmake: Disable ARM SIMD and NEON by default. Ryan C. Gordon 2020-06-26 23:30:59 -04:00
  • 694fea8ad8 video: Make SDL_CreateWindow use SDL_Init(SDL_INIT_VIDEO), not SDL_VideoInit. Ryan C. Gordon 2020-06-26 21:37:29 -04:00
  • 50fd0dd143 test: testspriteminimal wasn't calling SDL_Quit() on exit. Ryan C. Gordon 2020-06-26 21:35:54 -04:00
  • 1947ca7028 video: Changed SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS to default to FALSE. Ryan C. Gordon 2020-06-26 20:16:43 -04:00
  • 21482c1582 cmake: Bump minimum required CMake to 3.0.0 and mark link libraries PRIVATE. Ryan C. Gordon 2020-06-26 20:11:32 -04:00
  • 718e1fb8b1 cmake: Fix building with -DSDL_SENSOR=Off stfx 2020-06-26 22:45:15 +02:00
  • d955d63b03 cmake: Build Linux-specific files like the configure script does. Ryan C. Gordon 2020-06-26 17:42:30 -04:00
  • dd753ce7e3 cmake: Fix building with -DSDL_POWER=Off Ryan C. Gordon 2020-06-26 15:04:57 -04:00
  • ce293eed8d Fixed bug 5208 - Fix libGL loading on OpenBSD Sam Lantinga 2020-06-23 10:12:24 -07:00
  • c2b8530591 Fixed bug 5209 - cpuinfo recognize OpenBSD ARM Sam Lantinga 2020-06-23 10:09:29 -07:00
  • 4ba0a84718 core/linux/SDL_threadprio.c: fix build against older glibc versions Ozkan Sezer 2020-06-22 23:24:02 +03:00
  • b9f55b6d80 Fixed bug 5199 - Fix KMSDRM_CreateWindow() segfault when starting L?VE2D engine. Sam Lantinga 2020-06-19 10:37:14 -07:00
  • 56622f9c92 Fixed bug 5126 - MinGW compile error SDL_windowssensor.c Sam Lantinga 2020-06-17 10:09:07 -07:00
  • f1d5ced167 x11: Fix spurious keyboard focus events James Legg 2020-06-17 12:48:40 +01:00
  • 48989e2a87 Reverted comment change in previous commit Sam Lantinga 2020-06-17 08:47:27 -07:00
  • a7ff6e9615 Fixed overflow in surface pitch calculation Sam Lantinga 2020-06-17 08:44:45 -07:00
  • efe0935904 Fix compile without DIRECTX stfx 2020-06-15 10:31:16 +02:00
  • 9db16a6557 fix permissions of some project files Ozkan Sezer 2020-06-14 12:21:02 +03:00
  • 163896543f fix watcom build of SDL_test_common.c Ozkan Sezer 2020-06-14 12:05:56 +03:00
  • 7c0986fba4 Fixed bug 4938 - Suggestion: rename SDL_PIXELFORMAT_BGR888 to SDL_PIXELFORMAT_XBGR8888 Sam Lantinga 2020-06-12 10:30:46 -07:00
  • 2aa8974f97 Add SDL_SIMDRealloc Ethan Lee 2020-06-11 12:03:33 -04:00
  • 20aada0efc Fixed bug 5170 - Build fails when using Visual Studio 2017 with Windows 10 SDK 10.0.19041.0 in uwp Sam Lantinga 2020-06-10 09:38:43 -07:00
  • 4d15b5b893 Fixed building with Visual Studio 2019 Sam Lantinga 2020-06-10 09:36:10 -07:00
  • 44f50c647e Fixed bug 5171 - PollEvent impacts performance in 2.0.12 Sam Lantinga 2020-06-09 21:47:41 -07:00
  • 511a9702fc Fixed whitespace Sam Lantinga 2020-06-09 21:43:00 -07:00
  • aefe19ff08 Added support for the NACON Revolution Pro Controller 3 and the GameStop PS4 Fun Controller Sam Lantinga 2020-06-09 11:31:39 -07:00
  • 6f241bd520 Fixed build Sam Lantinga 2020-06-09 10:47:29 -07:00
  • 086be21e7a ControllerList: add support for NACON asymetric controller and Revolution 3, Hori mini wireless ps4 controller, and 2 PDP switch controllers Sam Lantinga 2020-06-09 10:47:27 -07:00
  • 3b76109f64 ControllerList: remove giotek controller from list - vid/pid appears to be reused in bunch of devies including ones with different fw/protocol and treating as ps4 controller breaks them. Sam Lantinga 2020-06-09 10:47:25 -07:00
  • a9cfac3835 Controller: Deadzone improvements Sam Lantinga 2020-06-09 10:47:23 -07:00
  • 9fa8d6d0be Define constants not available on older kernels Sam Lantinga 2020-06-08 17:07:55 -07:00
  • 3ac24bfc1a Fixed mouse drag with an external mouse on iOS Sam Lantinga 2020-06-08 17:01:50 -07:00
  • d0947c1483 Fixed exception if getManifestEnvironmentVariables() is called without a current SDL activity Sam Lantinga 2020-06-04 12:30:25 -07:00
  • ff53521bc6 Fixed Bluetooth audio output on Apple TV Sam Lantinga 2020-06-04 12:26:57 -07:00
  • cced5eb937 Fixed bug 5169 - Can not build current sources because of recent thread management changes Sam Lantinga 2020-06-04 09:23:18 -07:00
  • 958c42827c Fixed build warning Sam Lantinga 2020-06-04 09:13:49 -07:00
  • 49501a9860 Updated configure with changes from configure.ac Sam Lantinga 2020-06-04 09:10:49 -07:00
  • 22ce194b17 Make sure SDL_locale.h is included in the Xcode Framework for macOS Sam Lantinga 2020-06-03 14:58:38 -07:00
  • b9d5aebb3a Make sure SDL_locale.h is included in the Xcode Framework for tvOS Sam Lantinga 2020-06-03 14:56:35 -07:00
  • 550b209e90 Make sure SDL_locale.h is included in the Xcode Framework Sam Lantinga 2020-06-03 14:26:37 -07:00
  • 60435712f2 video: Set window->surface NULL after freeing it. Ryan C. Gordon 2020-06-03 16:42:19 -04:00
  • eea0b0e088 Fixed bug 5168 - Memory leak in RAWINPUT_JoystickOpen Sam Lantinga 2020-06-02 17:08:31 -07:00
  • 134362e745 Enable Xbox One HIDAPI driver on macOS Cameron Gutman 2020-04-25 19:15:51 -07:00
  • ac1f174ad5 Fixed bug 5167 - Memory leak in GuessXInputDevice Sam Lantinga 2020-06-02 17:02:37 -07:00
  • 06267f5028 Fixed whitespace in SDL_vulkan.h Sam Lantinga 2020-06-02 16:59:54 -07:00
  • d48c97c4a4 Fixed bug 5147 - KMSDRM: SetWindowFullscreen() failing with SDL_WINDOW_FULLSCREEN_DESKTOP Sam Lantinga 2020-06-02 16:57:20 -07:00
  • 9325b22ef0 Fixed bug 5113 - SDL_UpdateWindowSurfaceRects BitBlt the entire surface on Win32 Sam Lantinga 2020-05-29 21:26:32 -07:00
  • d000c1cd6d Fixed bug 5155 - HIDAPI_JoystickDisconnected incorrect array shift Sam Lantinga 2020-05-29 21:22:11 -07:00
  • a8400dc3bf Fixed bug 5105 - sndio support not working in dynamic mode (dlopen) Sam Lantinga 2020-05-29 16:31:05 -07:00
  • 2303d92188 Fixed bug 5145 - Fix whitespace in SDL_vulkan.h Sam Lantinga 2020-05-29 16:28:56 -07:00
  • 77b0dad271 cocoa: Change Caps Lock behavior to toggle instead of locking Cameron Gutman 2020-05-25 20:55:29 -07:00
  • bdfd1b68ba Fixed bug 5146 - SDL_RenderFillRect doesn't work in DirectFB Sam Lantinga 2020-05-29 16:02:49 -07:00
  • a6ca61d732 wayland: update pointer position on initial enter event Tudor Brindus 2020-05-21 00:06:09 -04:00
  • 68e1731e02 Don't bother logging security exception getting the device serial number Sam Lantinga 2020-05-29 15:40:17 -07:00
  • eea450bc99 - Added exception handler for the new SecurityException in USBDevice getSerialNumber Sockmonsters 2020-05-29 15:37:03 -07:00
  • ae9ff11bae The zero happens at a higher level now Sam Lantinga 2020-05-29 14:54:07 -07:00
  • 39c958bbaa Initialize the raw_map before getting controller mappings from the driver Sam Lantinga 2020-05-29 14:48:39 -07:00
  • 2db049473b Fixed variable names to be consistent across functions Sam Lantinga 2020-05-29 14:48:05 -07:00
  • 345b4d7e14 Fixed bug 5161 - Autodetect controller mappings based on the Linux Gamepad Specification Sam Lantinga 2020-05-29 13:37:21 -07:00
  • e2dbed9cfe SDL_blit: Fix undefined bitshift operations James Legg 2020-05-29 13:05:37 +01:00
  • 032fa681a8 Add Logitech G29 to steering wheel list Brendan Shanks 2020-04-24 14:03:30 -07:00
  • aa259ed52d wayland: Changed output removal in handle_surface_leave() Ryan C. Gordon 2020-05-28 15:18:41 -04:00
  • ce7ae4ec8d wayland: Move buffer copy into mime_data_list_add() Ryan C. Gordon 2020-05-28 14:57:10 -04:00
  • 22da9d4d77 wayland: assert that mmap() didn't return NULL. Ryan C. Gordon 2020-05-28 14:47:55 -04:00
  • 1a1f1704a2 Don't include the iOS joystick driver if joysticks are disabled Sam Lantinga 2020-05-27 10:35:43 -07:00
  • 57149c2410 Fixed building with --disable-joystick on iOS Sam Lantinga 2020-05-27 10:27:20 -07:00
  • cf01ee1694 Fixed building with --disable-joystick on Linux Sam Lantinga 2020-05-27 10:27:04 -07:00
  • e9f567c707 Fixed building on iOS with MFI controllers disabled Sam Lantinga 2020-05-27 10:14:08 -07:00
  • 97ca96bdee Use nil instead of NULL for Objective-C objects Sam Lantinga 2020-05-27 10:13:01 -07:00
  • 2aec184e36 Fixed mkdir warning when running iosbuild.sh multiple times Sam Lantinga 2020-05-27 09:57:51 -07:00
  • 03a7abf80c Fixed building with --disable-joystick on macOS Sam Lantinga 2020-05-27 09:57:26 -07:00
  • af5eb56c76 Fixed uninitialized variable warning Sam Lantinga 2020-05-27 09:28:03 -07:00
  • 31916f11aa Fixed compiler warning building on FreeBSD Sam Lantinga 2020-05-27 09:22:12 -07:00
  • bcbaa4ec1f If there isn't a GetGlobalMouseState() implementation, fall back to the normal one. Sam Lantinga 2020-05-26 16:34:50 -07:00
  • 437577f91e Fixed bug 5141 - KMSDRM: manage SDL_GetGlobalMouseState() Sam Lantinga 2020-05-26 16:29:26 -07:00
  • 1df0a1e497 Fixed bug 5140 - KMSDRM: Dynamic vsync toggle does not work Sam Lantinga 2020-05-26 16:27:00 -07:00
  • 15294e2121 Fixed iOS build Sam Lantinga 2020-05-26 13:54:47 -07:00
  • cc2fe84d73 Getting closer. Sam Lantinga 2020-05-26 13:19:48 -07:00
  • 0713c5790d More Linux fixes. Sam Lantinga 2020-05-26 13:19:44 -07:00
  • c7d1dab1fe Rename Linux-only variable. Sam Lantinga 2020-05-26 13:19:41 -07:00
  • b820a81ffb Include SDL_hints.h. Sam Lantinga 2020-05-26 13:19:35 -07:00
  • de866e6606 Include SDL_hint.h. Sam Lantinga 2020-05-26 13:19:29 -07:00
  • abd5841850 Make some changes to SDL_SetThreadPriority to try and have SDL transparently handle more of the work. 1. Comment that SDL_SetThreadPriority will make any necessary system changes when applying priority. 2. Add a hint to override SDL's default behavior for scheduler policy. 3. Modify the pthreads SDL_SetThreadPriority so that instead of just using the current thread scheduler policy it will change it to a policy that should work best for the requested priority. 4. Add hint checks in SDL_SetThreadPriority so that #3 can be overridden if desired. 5. Modify the Linux SDL_SetThreadPriority so that in the case that policy, either by SDL defaults or from the hint, is a realtime policy it uses the realtime rtkit API. 6. Prior to calling rtkit on Linux make the necessary thread state changes that rtkit requires. Currently this is done every time as it isn't expected that SDL_SetThreadPriority will be called repeatedly for a thread. Sam Lantinga 2020-05-26 13:19:19 -07:00
  • f16e6bfa8e Fixed creating a metal renderer without specifying a metal window Sam Lantinga 2020-05-25 14:10:51 -07:00
  • f176d7fda0 Added a note not to use XinputUap.dll for XInput support Sam Lantinga 2020-05-22 16:45:02 -07:00
  • 600a2fc7c3 locale: Removed unused variable. Ryan C. Gordon 2020-05-21 04:01:37 -04:00
  • a299fdd789 sensor: Fixed compiler warnings on mingw64. Ryan C. Gordon 2020-05-21 03:52:48 -04:00
  • ba11122ea0 locale: Fixed compiler warning on Visual Studio. Ryan C. Gordon 2020-05-21 03:48:56 -04:00
  • b4e76b58e7 sensor: Fix overaggressive search/replace. :) Ryan C. Gordon 2020-05-20 17:32:23 -04:00
  • 27c38eb22e sensor: Correct fix for redefinition of various symbols. Ryan C. Gordon 2020-05-20 17:22:52 -04:00
  • 5fe34a4079 hidapi: Fix compiler warning. Ryan C. Gordon 2020-05-20 17:01:25 -04:00
  • c9d358bce9 sensor: Fix build on various Windows compilers with various predefinitions. Ryan C. Gordon 2020-05-20 16:59:35 -04:00
  • 68777406e5 windows: Fix calls to CoCreateInstance() so last parameter is a LPVOID *. Ryan C. Gordon 2020-05-20 16:58:33 -04:00