Commit Graph

  • eec373c007 Fixed build Sam Lantinga 2018-04-23 22:17:56 -07:00
  • d1956793bb Added SDL_THREAD_PRIORITY_TIME_CRITICAL Sam Lantinga 2018-04-23 22:07:56 -07:00
  • 3ea848abc9 Fixed bug 4144 - CMake complains about trailing spaces in sdl2.pc Sam Lantinga 2018-04-23 21:55:59 -07:00
  • 32d3153c84 TryLockMutex: Fix error handling for TryLockMutex Sam Lantinga 2018-04-23 21:50:03 -07:00
  • 1c94e1c378 Handle NULL return from SDL_DBus_GetContext() Sam Lantinga 2018-04-23 20:24:12 -07:00
  • d012620349 Handle NULL return from SDL_DBus_GetContext() Sam Lantinga 2018-04-23 19:20:12 -07:00
  • f25a7fa870 Added SDL_LinuxSetThreadPriority() to directly set the priority of a Linux thread (tid) This function tries using RealtimeKit connecting over DBUS as needed. Sam Lantinga 2018-04-23 19:18:52 -07:00
  • 383a65ef51 Added support for adjusting thread priorities using Linux RealtimeKit Sam Lantinga 2018-04-23 17:10:36 -07:00
  • 54293de279 coreaudio: Use the standard SDL audio thread instead of spinning a new one. Ryan C. Gordon 2018-04-16 02:11:09 -04:00
  • 054b5a9675 wayland: zxdg_shell_v6 needs a configure event before using a surface at all. Ryan C. Gordon 2018-04-15 17:42:09 -04:00
  • 3919704342 Fixed bug 4135 - Broken symlink libSDL2.so since rev11940 Sam Lantinga 2018-04-15 09:37:51 -07:00
  • d87b58a2b5 Added support for the GameSir G3w Sam Lantinga 2018-04-11 18:28:03 -07:00
  • 3011d1a898 Fix the include path in the installed CMake target import file Bastien Bouclet 2018-04-11 06:16:23 +02:00
  • 92209a9546 Added debug postfix to install command and fixed library path Saad Khattak 2018-04-10 08:03:54 -07:00
  • 6c28aad333 SDL: Sam Lantinga 2018-04-09 10:37:31 -07:00
  • 1aeeb6e96a Fixed bug where an SDL window that was activated while hidden could never be shown. Sam Lantinga 2018-03-26 12:38:29 -07:00
  • 7779507bbb Fixed bug 3804 - Message box on Windows truncates button ID Sam Lantinga 2018-03-24 10:26:40 -07:00
  • 56eb8b6f9f Fixed return value Sam Lantinga 2018-03-19 14:52:53 -07:00
  • 38aec73941 Generalized the handling of instantaneous guide button presses so there's a minimum of 100 ms between guide button press and release. This happens with at least the following controllers: All Apple MFI controllers, ASUS Gamepad, XiaoMi Bluetooth Controller Sam Lantinga 2018-03-19 14:42:51 -07:00
  • 3ba64acaa0 Added mapping for the ASUS Gamepad removing the guide button, which doesn't generate events even though it's reported in the Android APIs. Sam Lantinga 2018-03-19 13:16:11 -07:00
  • 84b38f9ecf Reimplemented Android cursor API support using reflection so it builds with older SDKs Sam Lantinga 2018-03-16 11:08:53 -07:00
  • e99c0c8b98 Added Android custom cursor implementation This is commented out in SDLActivity.java, with the note #CURSORIMPLEENTATION because it requires API 24, which is higher than the minimum required SDK Sam Lantinga 2018-03-15 18:22:48 -07:00
  • 1edcd8eb06 Added Mac OpenGL ES configure support Sam Lantinga 2018-03-12 18:41:06 -07:00
  • 962b1ba77a Fixed bug 4102 - define _WIN32_WINNT_WIN7 if not already defined Sam Lantinga 2018-03-10 21:22:42 -08:00
  • b997193f84 Fixed bug 4103 - SDL_cpuinfo.h provokes warnings with -Wundef on non-x86 hosts Sam Lantinga 2018-03-10 21:20:25 -08:00
  • 25e604777b Fix ARM builds with MSVC Michał Janiszewski 2018-03-10 21:16:14 -08:00
  • b71091e995 Temporary fix for bug 3432 - macOS 10.12: small scrolls (1 wheel notch) don't generate events Sam Lantinga 2018-03-10 21:13:50 -08:00
  • 2d1cc7c433 Delay delivery of the pause button release on MFI controllers so it doesn't happen in the same frame as the button press Sam Lantinga 2018-03-08 16:32:22 -08:00
  • c72a9b6316 Added a mapping for the latest firmware for the Xbox One S controller on Android Sam Lantinga 2018-03-07 18:10:01 -08:00
  • 06f42c984f Include a USB VID/PID for Apple MFI controllers This is just placeholder VID/PID, but allows code that works with VID/PID to identify the MFI controllers easily. Sam Lantinga 2018-03-07 18:09:58 -08:00
  • 86de973b6c Added SDL_GameControllerMappingForDeviceIndex() to get the mapping for a controller before it's opened Sam Lantinga 2018-03-07 13:30:40 -08:00
  • 542e3d764e Try to dynamically create a default Android game controller mapping based on the buttons and axes on the controller. Include the controller USB VID/PID in the GUID where possible, as we do on other platforms. Sam Lantinga 2018-03-06 14:51:50 -08:00
  • 905bda571f Progress fixing bug 4100 - errors and warnings after changeset 11917 Sam Lantinga 2018-03-02 22:53:25 -08:00
  • dadaecde09 Fixed bug 4101 - configure needs regenerating after changeset 11894 Sam Lantinga 2018-03-02 22:48:15 -08:00
  • f57d19612d Fixed setting the layer drawable size Without this change the drawable had a size of 0 and the metal renderer asserted because the projection matrix wasn't set. Sam Lantinga 2018-03-02 12:08:18 -08:00
  • a2512cf2bf windows: Restore patches for Task Dialogs and TerminateProcess(). Ryan C. Gordon 2018-03-02 14:10:25 -05:00
  • 72193122e2 Use the real controller name for game controllers on iOS and Apple TV Sam Lantinga 2018-03-02 10:56:21 -08:00
  • def1e86f96 Added tag release-2.0.8 for changeset f1084c419f33 Sam Lantinga 2018-03-01 09:32:53 -08:00
  • 014a8fa3d7 Added patch note for Android Studio support release-2.0.8 Sam Lantinga 2018-03-01 08:26:10 -08:00
  • 47c07044ad Temporarily disabled fullscreen switching code on Android, until we can resolve bug 4096 - Enabling fullscreen on Android causes the app to toggle fullscreen mode continuously in a loop Sam Lantinga 2018-03-01 08:22:56 -08:00
  • f01f3c5108 Added a patch note for OpenGL ES support on Mac Sam Lantinga 2018-03-01 08:08:20 -08:00
  • b0c07f9651 Back out Task Dialog and TerminateProcess patches for 2.0.8. Ryan C. Gordon 2018-02-28 10:39:41 -05:00
  • 389266de93 windows: dos2unix'd messagebox code, and (hopefully) fixed on MingW. Ryan C. Gordon 2018-02-28 02:14:15 -05:00
  • f6f520a20e windows: Message boxes use Task Dialogs if possible (thanks, Jack!). Ryan C. Gordon 2018-02-28 01:54:22 -05:00
  • e6b2c42ff7 assert: Use TerminateProcess() on Windows, vs ExitProcess (thanks, Jack!). Ryan C. Gordon 2018-02-28 01:23:49 -05:00
  • 444362ab02 Added patch note about the Vulkan Mac SDK Sam Lantinga 2018-02-26 08:39:25 -08:00
  • 278df7ed20 Support official Vulkan SDK for macOS. Mark Callow 2018-02-25 23:02:09 -08:00
  • 2fe58eb892 Fixed bug 4097 - Segmentation fault by SDL_CreateThreadWithStackSize Sam Lantinga 2018-02-25 19:51:34 -08:00
  • 849df2df25 cmake: Set debug library name suffix per target instead of setting it globally. Don't add a suffix on android Olli Kallioinen 2018-02-25 19:22:47 +02:00
  • 6ea66f8302 SDL_test_fuzzer.c: fix strict aliasing warnings by using a union. Ozkan Sezer 2018-02-25 10:15:00 +03:00
  • 6cb267dc85 Moved Android patch note into the Android section Sam Lantinga 2018-02-24 09:09:20 -08:00
  • 09681aa6bd Fixed bug 4092 - CMake support for building everything in the "test" directory Sam Lantinga 2018-02-24 08:59:58 -08:00
  • 7c987672d4 Fixed bug 4091 - Undefined references to Android audio functions when SDL_AUDIO_DISABLED is on Sam Lantinga 2018-02-24 08:58:22 -08:00
  • 41641d93cf Added patch note for Ryan's work Sam Lantinga 2018-02-24 08:42:04 -08:00
  • 4e5a087703 Added missing file to tvOS build Sam Lantinga 2018-02-24 08:40:30 -08:00
  • bcfa3a73b8 Fixed MinGW-w64 build Sam Lantinga 2018-02-24 08:23:44 -08:00
  • 2ebbb5f3c2 Updated documentation with API changes in SDL 2.0.8 Sam Lantinga 2018-02-24 08:18:09 -08:00
  • 149c55a3fd Backout the vulkan change in cd67e676bca7 breaks Mir builds Brandon Schaefer 2018-02-23 19:12:04 -05:00
  • 1e7c6e97ff mir: Disable Mir by default as Mir supports Wayland clients Brandon Schaefer 2018-02-23 11:24:26 -05:00
  • 5117e52a11 Backed out changeset bd976b7b2b43 Ryan C. Gordon 2018-02-21 22:53:52 -05:00
  • b32b2a680c android: apparently they fixed this header at some point. Ryan C. Gordon 2018-02-21 22:35:17 -05:00
  • 3dbbb39132 vulkan: Possibly fix a compiler warning (-Wstrict-prototypes). Ryan C. Gordon 2018-02-21 22:27:09 -05:00
  • 7d92099fee wasapi: let Windows do the resampling for us if possible. Ryan C. Gordon 2018-02-21 21:34:06 -05:00
  • b3d32bb003 wasapi: fixed typo in an assert message. Ryan C. Gordon 2018-02-21 21:34:35 -05:00
  • 73e151fc52 windows: added WIN_IsWindows7OrGreater(). Ryan C. Gordon 2018-02-21 21:36:10 -05:00
  • 9b4912815b Use new XInput mapping for Win10+ (Bugzilla #3960) Ethan Lee 2018-02-21 12:42:30 -05:00
  • 220ef7f3b9 Fix high-dpi support on macOS and simplify it and iOS variant. Mark Callow 2018-02-21 09:58:21 -08:00
  • 986b771c30 Fixed bug 4034 - Don't include _DllMainCRTStartup() if SDL_STATIC_LIB is defined. Sam Lantinga 2018-02-21 09:40:47 -08:00
  • a78f8d9231 Fixed bug 4088 - Fix Metal link errors with test programs in SDLTest.xcodeproj Sam Lantinga 2018-02-20 09:04:31 -08:00
  • c6bc5d1904 Actually, this is needed for building with Visual Studio with both /MT and /MD. With the previous change, I get: 1> Creating library C:\projects\SDL\VisualC\Win32\Debug\SDL2.lib and object C:\projects\SDL\VisualC\Win32\Debug\SDL2.exp 1>LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12 Sam Lantinga 2018-02-18 09:09:56 -08:00
  • f6a5126a8f Fixed bug 4034 - Do we really need _DllMainCRTStartup() in every Windows build? Sam Lantinga 2018-02-18 08:57:01 -08:00
  • 2c26c27543 pthread: fix error code checks (thanks, Andreas!). Ryan C. Gordon 2018-02-17 23:57:57 -05:00
  • b3687328f2 yuv: patched to compile. Ryan C. Gordon 2018-02-17 20:18:48 -05:00
  • 002b5892bb yuv: fixed variable declaration shadowing warnings. Ryan C. Gordon 2018-02-17 20:10:13 -05:00
  • 3050b440f8 pulseaudio: Just read/dump captured data in FlushCapture. Ryan C. Gordon 2018-02-17 18:30:21 -05:00
  • 3e76436bcf video: put a spinlock around a global linked list. Ryan C. Gordon 2018-02-16 14:56:28 -05:00
  • f8023f1dd4 Fixed bug 4085 - X11: Allow configuring _NET_WM_BYPASS_COMPOSITOR through SDL hints Sam Lantinga 2018-02-16 10:23:10 -08:00
  • 7eaf8603c7 bug #3739: handle %lu, %li and %ld in SDL_SetError. Ozkan Sezer 2017-10-29 14:15:00 +03:00
  • e465610bd4 Don't attempt WM_NCCALCSIZE adjustment when in fullscreen window transition Sam Lantinga 2018-02-13 22:58:20 -08:00
  • c181d919af fix building SDL_audiotypecvt.c with gcc < 4.0 sezero 2018-02-12 10:47:00 +03:00
  • 7287068da5 revert the recent typecast assignment changes (see bug #4079) sezero 2018-02-12 17:00:00 +03:00
  • c938610654 Fixed bug 4027 - CheckLibSampleRate macro in sdlchecks.cmake never defines HAVE_LIBSAMPLERATE{,_SHARED}, so they're always reported as disabled by MESSAGE_TESTED_OPTION macro in macros.cmake Sam Lantinga 2018-02-13 13:25:59 -08:00
  • 9d193f9109 Fixed bug 3920 - IBus not work with SDL 2.0.7 Sam Lantinga 2018-02-13 08:15:39 -08:00
  • add5711436 Fixed bug 3947 - replace strlcpy with memcpy in SDL_strdup() Sam Lantinga 2018-02-13 08:13:29 -08:00
  • eb6e89e3fd Fixed bug 3950 - Don't always call dbus_shutdown in SDL_DBus Sam Lantinga 2018-02-13 08:07:52 -08:00
  • fccd7b4b9d Fixed bug 4081 - sdlchecks.cmake: typo introduced by rev11848 breaks building with wayland support Sam Lantinga 2018-02-13 07:59:45 -08:00
  • 42a6c0d693 kill C99'ism in SDL_waylandvulkan.c sezero 2018-02-12 10:00:00 +03:00
  • 6fcd640364 On Android show the system UI when an SDL window is windowed, hide the system UI when it's fullscreen, like we do on iOS. We're increasing the Android SDK minimum version to API 19, this doesn't increase the minimum target API, which is API 14. Sam Lantinga 2018-02-11 18:23:37 -08:00
  • f0b206ee06 Fixed bug 4075 - configury adds Metal.framework to linkage even if it is not available Sam Lantinga 2018-02-11 17:25:51 -08:00
  • d89ff59577 ISO C correct fix for casting void* to function pointer Sam Lantinga 2018-02-11 15:29:36 -08:00
  • e3528b63d0 vulkan: Fix assignment of vkGetInstanceProcAddr on Windows. Ryan C. Gordon 2018-02-11 18:16:01 -05:00
  • a9196a5280 Fixed bug 4073 - Unquoted Unicode argument parsing broken on Windows due to incorrect usage of SDL_isspace() Sam Lantinga 2018-02-10 12:43:11 -08:00
  • 8a477f57e7 Fixed compile warning Sam Lantinga 2018-02-09 16:31:57 -08:00
  • 7ceef7fd16 Fixed compiler warning on Android Sam Lantinga 2018-02-09 16:01:11 -08:00
  • 114454d370 Windows Phone 8.0 is no longer supported Sam Lantinga 2018-02-09 08:03:03 -08:00
  • dec734e510 Fixed min/max window size handling for borderless resizable windows Sam Lantinga 2018-02-08 18:07:14 -08:00
  • 4afad75308 add SDL_log10 and SDL_log10f to include and dynapi sezero 2018-02-08 17:07:47 +03:00
  • f1e0f8998a Fixed bug 4021 - Android, hard-coded Keycode value Sam Lantinga 2018-02-07 15:10:50 -08:00
  • 29b9c44a4b Allow Android Java shim to be built as an AAR Cole Campbell 2018-01-09 19:11:34 -05:00
  • 1b533d9836 Fixed bug 4054 - Raspberry Pi refresh rate detection Sam Lantinga 2018-02-07 15:05:30 -08:00