Commit Graph

  • e5acccc7c3 metal renderer: use the device address space instead of the constant address space for colors. Alex Szpakowski 2019-08-17 00:37:22 -03:00
  • 3fb5cabe5e metal: Update compiled shaders based on compilation script changes Alex Szpakowski 2019-08-16 22:13:30 -03:00
  • 9e57e3e595 metal: Update shader compilation script with fixes for newer xcode versions and for running on older platforms Alex Szpakowski 2019-08-16 22:11:50 -03:00
  • 79cd6cfc94 iOS: Fix issues with Split VIew on iPad (bugs #4586, #4705). Alex Szpakowski 2019-08-15 19:38:12 -03:00
  • 7f9016f265 Android: remove tabs/indent Sylvain Becker 2019-08-15 20:38:25 +02:00
  • 412775f5a8 Android: SDL_image/SDL_mixer/SDL_ttf partially compiling with CMake (bug 3918) Sylvain Becker 2019-08-13 16:00:08 +02:00
  • 7a84dd4277 Disable HIDAPI by default, as it breaks on Linux when trying to use libusb with non-root permissions on some distributions Sam Lantinga 2019-08-12 13:35:36 -07:00
  • 155087d106 Fixed bug 3918 - CMake support for android project Sylvain Becker 2019-08-11 15:23:37 +02:00
  • 7f5fc74c57 fix permissions Ozkan Sezer 2019-08-08 23:35:02 +03:00
  • cbdee4d656 [ SDL ] Fix compile error building for Windows/ARM64 on Visual Studio 2017 Win10 SDK 10.0.18362.0 which requires ar,74intr.h/arm64_neon.h header instead of armintr.h/arm_neon.h for intrinsics. Sam Lantinga 2019-08-08 13:26:05 -07:00
  • c76f0f5b6b hidapi: Explicitly include locale.h, for setlocale Ethan Lee 2019-08-06 23:08:01 -04:00
  • 2a1adf71ab Fixed bug 4747 - [Patch] SDL_ShowMessageBox ignores BUTTON_RETURNKEY_DEFAULT flag Sam Lantinga 2019-08-05 23:52:16 -07:00
  • e9ec7d41b3 Fixed bug 4354 - CMake builds do not correctly enable IME on Linux Sam Lantinga 2019-08-05 23:46:09 -07:00
  • afdb40af61 Fixed bug 4689 - SDL fails to detect compositor shutdown on Wayland -- program keeps running Sam Lantinga 2019-08-05 23:38:48 -07:00
  • aa09e61223 Port libusb hid.c to SDL, add to MinGW configure Ethan Lee 2019-08-04 00:01:38 -04:00
  • aebaa316c7 Add public APIs for creating a Metal view attached to an SDL window. Add SDL_metal.h. Alex Szpakowski 2019-08-05 12:35:32 -03:00
  • f3683d3a09 macOS: fix a typo in touch handling code. Alex Szpakowski 2019-08-04 23:30:55 -03:00
  • 109cbd6e8b Fix touch-related compile errors on Linux. Alex Szpakowski 2019-08-04 16:56:40 -03:00
  • 6f8910e398 minor warning fixes. Ozkan Sezer 2019-08-04 14:56:02 +03:00
  • 2fb71ac52d Implement touch window IDs on x11/xinput2. Alex Szpakowski 2019-08-04 00:34:23 -03:00
  • 42e4219c1a fix permissions Ozkan Sezer 2019-08-03 12:50:28 +03:00
  • edc158894c remove test/aclocal.m4 Ozkan Sezer 2019-08-03 12:49:50 +03:00
  • 67fa8601d9 Fixed building on Mac OS X without libusb Sam Lantinga 2019-08-02 18:14:31 -07:00
  • e92fe23c83 Fix nullptr crash on android Sam Lantinga 2019-08-02 17:20:00 -07:00
  • 63197c4338 Fix bug where the wrong button was the default in the old message box because buttons were added backwards, breaking the indexing used by GetButtonIndex. Sam Lantinga 2019-08-02 17:19:50 -07:00
  • d52ffcf985 Added support for a few controllers on Android Sam Lantinga 2019-08-02 17:12:49 -07:00
  • d5ec735a33 Add a windowID field to SDL_TouchFingerEvent (bug #4331). Alex Szpakowski 2019-08-01 18:22:12 -03:00
  • 59ea0735f0 configury: allow libusb-less hidapi for macosx. Ozkan Sezer 2019-08-01 17:41:40 +03:00
  • c37c6cbbca use WIN_IsWindowsVistaOrGreater() from core/windows for isVistaOrNewer Ozkan Sezer 2019-07-31 23:37:02 +03:00
  • f7d82e5616 hidapi: Add SDL_hidapi.c, allows support for multiple hidapi backends. Ethan Lee 2019-07-31 12:20:55 -04:00
  • c10a87429d Make sure HIDAPI is initialized whenever we call HIDAPI_IsDevicePresent() Sam Lantinga 2019-07-31 10:20:37 -07:00
  • c172f36bf4 joystick: Ensure HIDAPI is initialized before calling it Andrew Eikum 2019-07-31 11:14:48 -05:00
  • e149f4c4b0 cmake: Fix locating libusb header at configure-time Andrew Eikum 2019-07-31 11:34:00 -05:00
  • 1b7fc81e3f minor whitespace tidy-up. Ozkan Sezer 2019-07-31 19:40:50 +03:00
  • f8400cbba9 Fixed bug 4692 - Command line parsing Sam Lantinga 2019-07-31 09:11:20 -07:00
  • 4953e050f5 use SDL_zeroa at more places where the argument is an array. Ozkan Sezer 2019-07-31 05:11:40 +03:00
  • 7a47c292c0 Fix bug 4746 - introduce SDL_zeroa macro. Ozkan Sezer 2019-07-31 01:22:02 +03:00
  • f96d7cc0fd minor build fix. Ozkan Sezer 2019-07-31 01:19:26 +03:00
  • fdc67c3c60 MS_ADPCM_Decode: fix assigning an array to a pointer (lose '&'). Ozkan Sezer 2019-07-31 00:10:00 +03:00
  • 2ea0ec6207 better readability.. Ozkan Sezer 2019-07-31 00:07:15 +03:00
  • 5f04ed5fbd SDL_iconv_string: add (char*) casts before SDL_malloc() calls. Ozkan Sezer 2019-07-31 00:06:50 +03:00
  • ceee7def84 minor build fixes. Ozkan Sezer 2019-07-31 00:05:28 +03:00
  • 97fefd0509 Fixed bug 4538 - validate image size when loading BMP files Sam Lantinga 2019-07-30 11:00:00 -07:00
  • 738dff4bbc hidapi: Update repository URLs Andrew Eikum 2019-07-25 08:05:13 -05:00
  • a543361003 Fixed bug 4742 - SDL 2.0.10 DMG has duplicated files (instead of symlinks) Sam Lantinga 2019-07-30 10:15:49 -07:00
  • 31cb854f98 Fixed bug 4745 - 2.0.10 fails to build against macOS 10.11 SDK Sam Lantinga 2019-07-30 10:04:46 -07:00
  • 18bcafffce Fixed bug 4739 - Android: loading native libs, generated by bundletool (Thanks akk0rd87) Sylvain Becker 2019-07-27 20:21:42 +02:00
  • 39e8b007a7 macOS: fix atomics using deprecated functions instead of compiler intrinsics, when SDL is built with the Xcode project. Alex Szpakowski 2019-07-27 14:08:51 -03:00
  • dc714389f0 Don't call hid_enumerate() if the HIDAPI drivers are all disabled Sam Lantinga 2019-07-25 15:21:44 -07:00
  • aaffbb2ef6 Added tag release-2.0.10 for changeset 969a6f84b061 Sam Lantinga 2019-07-25 11:04:36 -07:00
  • 0e9560aea2 hidapi: Zero out new hid_device_info structs release-2.0.10 Andrew Eikum 2019-07-23 14:41:00 -05:00
  • bf9bf602e7 Copypaste SDL_NSLog to UIKit backend, document it as such Ethan Lee 2019-07-17 23:20:57 -04:00
  • e954e32b0e Fixed bug 4726 - Fix for tvOS GetPrefPath Sam Lantinga 2019-07-18 19:33:17 -07:00
  • 52e62329c8 Fixed build error Sam Lantinga 2019-07-17 16:47:19 -07:00
  • a06d8cd0d4 Merged latest changes from Steam into controller_type.h Sam Lantinga 2019-07-17 16:47:17 -07:00
  • 1dc24160a1 Add linked list of opened HID devices to prevent accessing already freed devices in device removal callback that is sometimes called even after being unregistered Sam Lantinga 2019-07-17 16:47:13 -07:00
  • 89de2512e5 Added support for the Victrix Pro Fight Stick for PS4 Sam Lantinga 2019-07-17 13:01:44 -07:00
  • a4bfe2a4ae Allow hotplugging joysticks without udev Cameron Gutman 2019-06-24 21:08:26 -07:00
  • e7c2cf107a Fixed bug 4704 - SDL_HINT_ANDROID_SEPERATE_MOUSE_AND_TOUCH on Windows? Sam Lantinga 2019-07-15 09:36:53 -07:00
  • 064d1223f0 Fixed bug 4723 - Generic Xbox pad controller bindings seem odd/broken Sam Lantinga 2019-07-14 16:59:39 -07:00
  • 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