Commit Graph

  • aaec90e5c5 Fixed bug 4789 - Linux accelerometers no longer available as joysticks Sam Lantinga 2019-09-06 08:42:54 -07:00
  • 8a394209c4 SDL_windowsevents.c: remove isVistaOrNewer (not used since 8cb1dc50bb28) Ozkan Sezer 2019-09-05 20:47:20 +03:00
  • 51df932efb fix permissions Ozkan Sezer 2019-09-05 13:21:02 +03:00
  • bf2f4703f2 SDL_windowsmessagebox.c: remove unused variable Sylvain Becker 2019-09-05 10:49:53 +02:00
  • 1b5e3c19a2 SDL_bmp.c: remove unused variable warnings Sylvain Becker 2019-09-05 10:08:47 +02:00
  • e5580e18ba x11: add a hint to force the VisualID used when creating a window. Sam Lantinga 2019-09-04 09:27:58 -07:00
  • f49c07b5c4 stdinc: On macOS and iOS, use memset_pattern4() for SDL_memset4(). Ryan C. Gordon 2019-09-04 00:39:47 -04:00
  • 892c8d5058 Fixed bug 4536 - Heap-Buffer Overflow in SDL_GetRGB pertaining to SDL_pixels.c Sam Lantinga 2019-09-03 11:55:20 -07:00
  • b21338eb54 SDL_bmp.c: restore most of the original formatting. Ozkan Sezer 2019-09-02 12:35:00 +03:00
  • 847bd8d983 direct3d: Be more aggressive about resetting state when textures go away. Ryan C. Gordon 2019-09-02 00:11:58 -04:00
  • a3804ba1da d3d11: Fixed VB state, avoiding unnecessary recreation (Thanks, Alex!). Ryan C. Gordon 2019-09-01 22:41:44 -04:00
  • 6c295129ba LoadBMP: fix some warnings Sylvain Becker 2019-08-31 22:58:11 +02:00
  • 830979c555 LoadBMP: use code from SDL_image which allows loading compressed BMP files Sylvain Becker 2019-08-31 22:52:15 +02:00
  • cc64b369fb Allow mouse messages from Wacom pens, e.g. right click pen buttons, etc. Sam Lantinga 2019-08-30 15:32:15 -07:00
  • afb9ff9507 Fixed bug where the Steam overlay would generate an event and stop input processing for the frame. Sam Lantinga 2019-08-30 08:03:19 -07:00
  • 9c8e403f6b use 'U' suffix on constants instead of (unsigned int) cast. Ozkan Sezer 2019-08-30 11:35:20 +03:00
  • d52080c0ab Android: minor warning Sylvain Becker 2019-08-30 09:00:06 +02:00
  • 70dc8d1648 Android: fix corresponding warnings Sylvain Becker 2019-08-30 08:55:20 +02:00
  • 6794ec6670 Android: add more warning flags Sylvain Becker 2019-08-30 08:43:13 +02:00
  • 0a9c74aa9a Fixed bug 3918 - HIDAPI, CMake support for android project Sylvain Becker 2019-08-27 11:38:43 +02:00
  • 13c4d5e7e3 Fixed Windows relative mouse coordinates when capturing the mouse over RDP Sam Lantinga 2019-08-26 17:43:01 -07:00
  • 0c26373842 gl/gles/gles2 render: fix SDL_RenderClear being affected by the clip rect in some situations. Alex Szpakowski 2019-08-26 18:49:04 -03:00
  • ce3b16fc9e Fixed bug 4475 - add Gasia Co. Ltd PS(R) Gamepad support Sam Lantinga 2019-08-26 10:08:25 -07:00
  • 1e47790c8d RPI_FreeCursor: set global_cursor to NULL to prevent double-free (bug 4769) Ozkan Sezer 2019-08-26 18:41:40 +03:00
  • 2cb26188e1 Fixed bug 1663 - SDL_EventState(SDL_DOLLARGESTURE,SDL_IGNORE) etc. has no effect Sylvain Becker 2019-08-24 20:40:37 +02:00
  • 7d6f7e8d34 fix permissions Ozkan Sezer 2019-08-23 03:01:10 +03:00
  • 455944c870 Fixed whitespace Sam Lantinga 2019-08-22 16:12:16 -07:00
  • b521df66c3 [SDL][IOS] Audio fix - applies stream to sound data when resampling or reformatting is required. Sam Lantinga 2019-08-22 16:09:42 -07:00
  • 5c15e81cfb Prevent the SPEEDLINK COMPETITION PRO joystick from switching into Android controller mode when enumerated over HID on Windows 10. Sam Lantinga 2019-08-22 15:58:00 -07:00
  • dd29abb478 macOS: Use the proper type (NSSize instead of CGSize) for the bounds of metal views. Alex Szpakowski 2019-08-22 19:23:52 -03:00
  • 2937317f12 Fixed bug 4172 - remove logging Gesture error "NumPoints = 0" - not necessary when app isn't recording gesture. - happen when gesture path has less than 2 different points Sylvain Becker 2019-08-22 10:15:33 +02:00
  • 05f35c2420 Fix audio conversion U16_to_F32_SSE2 (bug 4186) Sylvain Becker 2019-08-19 21:23:47 +02:00
  • 1d220401ce Fixed bug 4186 - ARM/NEON audio converters cause strange clicking noises reverse the order when storing ouput buffer Sylvain Becker 2019-08-19 20:35:02 +02:00
  • c0fc94f2de Fixed bug 4186 - ARM/NEON audio converters cause strange clicking noises reverse the order when storing ouput buffer Sylvain Becker 2019-08-19 16:57:15 +02:00
  • bfdb0e9743 metal renderer: optimize SDL_RenderFillRect slightly. Alex Szpakowski 2019-08-18 10:38:32 -03:00
  • ff7888e698 render: fix colors not being set properly after the previous change Alex Szpakowski 2019-08-18 09:35:11 -03:00
  • 1be03b4089 render: avoid a couple redundant memcmp calls in all drawing functions. Improves performance slightly. Alex Szpakowski 2019-08-17 22:26:33 -03:00
  • e8278d0d5b metal renderer: use vertex attributes instead of indexing into a buffer with the vertex id in the shader. Allows for more flexibility with vertex setup in the future. Alex Szpakowski 2019-08-17 16:53:08 -03:00
  • 55a46abf0a metal renderer: more closely match buffer data alignment requirements from the metal specification. Alex Szpakowski 2019-08-17 01:09:30 -03:00
  • 69c6924ccc render: simplify vertex and uniform data allocation. Improves performance of various SDL_Render functions (bug #4764). Alex Szpakowski 2019-08-17 00:43:44 -03:00
  • 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