Commit Graph

  • b669a6546f iOS: Don't ignore the requested alpha bit size when determining whether to use an RGBA8 backbuffer. Alex Szpakowski 2018-10-14 17:26:10 -03:00
  • da8a1e0ebc Emscripten: Load eglQueryString and eglGetError This prevents an assertion on context creation failure (calling a null function pointer). Charlie Birks 2018-10-13 17:18:59 +01:00
  • 18b397b215 metal: Fix SDL_RenderReadPixels to wait for the GPU to finish rendering to the active texture before reading its pixels. Alex Szpakowski 2018-10-13 03:36:42 -03:00
  • a7fd679c7e macOS: Fixed MoltenVK dynamic library loading code. Alex Szpakowski 2018-10-12 23:23:52 -03:00
  • c13bc99b59 metal: Fix high dpi and resizing on macOS, and clean up iOS code. Fixes bug #4250. Alex Szpakowski 2018-10-12 17:55:42 -03:00
  • 0043547514 Allow Android haptics to work when SDL is reinitialized (thanks Rachel!) Sam Lantinga 2018-10-11 15:14:48 -07:00
  • 6ab66823e3 SDL_thread.h: undefine SDL_CreateThreadWithStackSize before redefining. Ozkan Sezer 2018-10-12 01:03:40 +03:00
  • 0ba20a58d2 thread: make SDL_CreateThreadWithStackSize() a public API. Ryan C. Gordon 2018-10-11 16:40:01 -04:00
  • cdff8bd687 Implement SuspendScreenSaver for Win32 Cameron Gutman 2018-10-09 23:01:43 -07:00
  • 5c738788f3 audio: All device names reported by SDL must be unique. Ryan C. Gordon 2018-10-10 15:20:56 -04:00
  • b6e444f3dd audio: clean_out_device_list() already sets this flag to false for us. Ryan C. Gordon 2018-10-10 14:55:24 -04:00
  • 4f85986c8e Added support for surround sound and float audio on Android Sam Lantinga 2018-10-09 20:12:43 -07:00
  • cac5f5fa8b Removed unneeded variable qualifiers Sam Lantinga 2018-10-09 20:12:40 -07:00
  • 98d5b10188 Fixed bug 4188 - Software renderer SDL_RenderCopyEx blits corrupt image under certain cases Sam Lantinga 2018-10-09 17:41:40 -07:00
  • e44b5f8aa2 kmsdrm: find available card if called without index. Ryan C. Gordon 2018-10-09 00:27:55 -04:00
  • eccd166b35 This device gets Xinput driver loaded on windows. Sam Lantinga 2018-10-08 19:46:01 -07:00
  • 130dae8a40 Fixed life-cycle issues with two activities sharing HIDDeviceManager Sam Lantinga 2018-10-08 12:49:30 -07:00
  • 62ac025f0b Close on shutdown, for consistency Sam Lantinga 2018-10-08 12:49:28 -07:00
  • 38086116b8 Trying to track down NullPointerException in USB input thread Sam Lantinga 2018-10-08 12:49:26 -07:00
  • 0be5f1f8d8 Don't flash the navigation bar when destroying a fullscreen SDL window Sam Lantinga 2018-10-08 12:49:25 -07:00
  • 52b2c00b2a There are legitimate reasons to skip full cleanup at shutdown, don't assert in that case. Sam Lantinga 2018-10-08 12:49:23 -07:00
  • 21d91075cf Fixed bug 4296 - kmsdrm video driver leaks 1 bo in KMSDRM_GLES_SetupCrtc() Sam Lantinga 2018-10-05 17:06:05 -07:00
  • 8426375738 wayland: Fixed missing window sizing events. Ryan C. Gordon 2018-10-05 17:24:03 -04:00
  • 2aa2d0b997 It turns out HIDAPI for Xbox controllers doesn't allow background input, so we won't enable it by default on Windows. Sam Lantinga 2018-10-05 01:41:59 -07:00
  • 8fb86fe25f Allow SDL to use ReLinker if present. This fixes issues for applications that have a large number of shared libraries For more information, see https://github.com/KeepSafe/ReLinker for ReLinker's repository. Sam Lantinga 2018-10-04 16:29:17 -07:00
  • 539cec6f63 Fixed updating bindings for controllers using the wildcard mappings Sam Lantinga 2018-10-04 15:23:42 -07:00
  • f8a899b9ab Update documentation to note that this hint works on Android too (thanks Trent!) Sam Lantinga 2018-10-03 15:48:26 -07:00
  • 9d3632e209 evdev: Don't initialize struct sigaction with "{ 0 }". Ryan C. Gordon 2018-10-03 16:54:24 -04:00
  • c32e1a368f Make sure we don't read and write to HIDAPI at the same time, it's not thread-safe on Windows Sam Lantinga 2018-10-02 20:51:33 -07:00
  • 8a1ded041c The Amlogic X96 is a set-top box Sam Lantinga 2018-10-02 13:17:31 -07:00
  • 2c37fd6dbb Fixed UnsatisfiedLinkError when initializing the HIDDeviceManager in some cases Sam Lantinga 2018-10-01 14:52:28 -07:00
  • f0aff81f0a Working on bug 3921 - Add some Fastpath to BlitNtoNKey and BlitNtoNKeyCopyAlpha Sam Lantinga 2018-10-01 14:43:03 -07:00
  • 3ba8283560 SDL_blit_N.c (BlitNtoNKeyCopyAlpha): fix -Wshadow warnings by adding _ suffix to the temp Pixel local in the DUFFS_LOOP. SDL_blit.h (ASSEMBLE_RGB): add _ prefix to temp Pixel locals to avoid any possible shadowings. Ozkan Sezer 2018-10-01 21:29:11 +03:00
  • 44070e739d commit c6b28f46b8116552ec2b38d1d3c8535df28ba7a1 Author: Anthony Pesch <inolen@gmail.com> Date: Fri May 4 20:21:21 2018 -0400 Sam Lantinga 2018-10-01 09:47:10 -07:00
  • 258371154f Fix Linux haptic scaling, add 2.1 FIXME Ethan Lee 2018-05-04 21:58:39 -04:00
  • e7dc34deb8 Filter both SIZE_CHANGED and RESIZED on any SIZE_CHANGED Ethan Lee 2018-08-13 12:52:52 -04:00
  • b31712c445 Fixed bug 4220 - SDL_GL_CONTEXT_DEBUG_FLAG can fail silently on some Android devices Sam Lantinga 2018-10-01 09:40:58 -07:00
  • 5b3831197d Corrected PS4 controller entry Sam Lantinga 2018-09-30 22:43:12 -07:00
  • 114ac108ad Re-enable drag-and-drop events by default Sam Lantinga 2018-09-30 19:53:26 -07:00
  • 44bd9b9bff macOS: Fix a crash when the video subsystem quits, if SDL_MAC_NO_SANDBOX was defined when SDL was compiled. Alex Szpakowski 2018-09-30 11:26:41 -03:00
  • a39c254424 audio: disable NEON converters for now. Ryan C. Gordon 2018-09-29 16:48:15 -04:00
  • b23a65deb2 Fixed tablet detection on Android Sam Lantinga 2018-09-29 02:14:46 -07:00
  • d5305bcd65 fix permissions Ozkan Sezer 2018-09-29 09:20:50 +03:00
  • adeec3f1ca Mark a subsystem as dummy, not disabled, if it was intended to be compiled in. Sam Lantinga 2018-09-28 21:19:27 -07:00
  • bfe46b22f8 commit 8f4dedc039190f5e734c47dcc4fc021b5793b659 Author: Michał Janiszewski <janisozaur+signed@gmail.com> Date: Fri Sep 28 20:38:04 2018 +0200 Sam Lantinga 2018-09-28 21:03:39 -07:00
  • 9fc360ae14 Fixed bug 4283 - SDL's version of memset is different from libc's Sam Lantinga 2018-09-28 20:48:18 -07:00
  • 8bb9fc0467 Ensure we wait on the surface resize before returning from setting fullscreen mode. Sam Lantinga 2018-09-28 20:39:57 -07:00
  • be55d5101a SDL_vsnprintf: implemented '+' flag for signed integers printing. Ozkan Sezer 2018-09-29 01:24:10 +03:00
  • 6e7826b49c SDL_vsnprintf: fix numerics if both zero-padding and a field are given. Ozkan Sezer 2018-09-29 00:51:24 +03:00
  • 7134a34e6f replace bool stuff in controller_type.h with SDL_bool. Ozkan Sezer 2018-09-28 17:01:24 +03:00
  • f54b8648e5 SDL_hidapi_ps4.c: add HAVE_ENDPOINTVOLUME_H check to win32 volume code. Ozkan Sezer 2018-09-28 14:01:40 +03:00
  • 04357dc42b hidapi/windows/hid.c: comment out ntdef.h include after windows.h. Ozkan Sezer 2018-09-28 13:44:10 +03:00
  • e2590c813a configury, cmake: add check for endpointvolume.h : Ozkan Sezer 2018-09-28 13:41:04 +03:00
  • 7cf78d7476 configury, cmake: make wasapi option independent of directx. Ozkan Sezer 2018-09-28 11:30:50 +03:00
  • d023dff8a5 Fixed building with Xcode 10.0 Sam Lantinga 2018-09-28 01:18:54 -07:00
  • cfedb77376 hidapi/windows/hid.c: fix misplaced #if 0 Ozkan Sezer 2018-09-28 11:04:55 +03:00
  • 890ade0074 Fixed mingw-w64 build Sam Lantinga 2018-09-28 01:00:47 -07:00
  • 6b08f121d8 Fixed mingw-w64 build Sam Lantinga 2018-09-28 00:40:35 -07:00
  • b5ac7cdfce Added patch notes for SDL 2.0.9 Sam Lantinga 2018-09-27 23:54:40 -07:00
  • f1173c73cb Fixed bug 4277 - warnings patch Sam Lantinga 2018-09-27 14:56:29 -07:00
  • dcf1597db1 SDL_atomic.c, SDL_spinlock.c: use lock prefix with xchg in Watcom asm. Ozkan Sezer 2018-09-27 11:55:02 +03:00
  • 5d3b29940e SDL_vsnprintf() updates for zero-padding: Ozkan Sezer 2018-09-27 09:37:36 +03:00
  • e263c7d84a cocoa: Force an OpenGL context update when the window becomes key. Ryan C. Gordon 2018-09-26 20:10:32 -04:00
  • 8d8ae9b0c0 SDL_string.c (SDL_PrintString): avoid MSVC signed/unsigned mismatch warning Ozkan Sezer 2018-09-27 01:10:50 +03:00
  • ec0e4edc8d SDL_string.c (SDL_IntPrecisionAdjust): avoid MSVC generating a memset() Ozkan Sezer 2018-09-27 01:00:50 +03:00
  • 38b504d966 SDL_vsnprintf: implement precision for the integral value printers. Ozkan Sezer 2018-09-27 00:32:15 +03:00
  • c89345260c Fixed bug 4265 - SDL window falls to the bottom of the screen when dragged down and stuck there Sam Lantinga 2018-09-26 11:17:43 -07:00
  • c7f80df3ba SDL_string.c: added comments to three SDL_FormatInfo members. Ozkan Sezer 2018-09-26 20:47:34 +03:00
  • 8f20146d89 Updated version to 2.0.9 Sam Lantinga 2018-09-26 10:08:14 -07:00
  • e15e153eef SDL_vsnprintf: when '.' is specified, take precision as 0 if it is < 0. Ozkan Sezer 2018-09-26 17:11:40 +03:00
  • d5e5c6c90d SDL_vsnprintf: string printer now honors the precision. (bug #4263.) Ozkan Sezer 2018-09-26 10:40:02 +03:00
  • 5ca98d3506 SDL_vsnprintf: %.* and %* now parse precision and width. (bug #4263.) Ozkan Sezer 2018-09-26 10:38:40 +03:00
  • 00aad31722 Fixed bug 4270 - Android HIDDeviceManager function needs to be public Sam Lantinga 2018-09-25 20:11:52 -07:00
  • d2c63256f8 Fixed bug 4268 - Android_JNI_OpenAudioDevice function has error Sam Lantinga 2018-09-25 20:08:51 -07:00
  • de4f287d7f Removed redundant SDL_GetColorKey() call. (thanks Sylvain!) Sam Lantinga 2018-09-25 19:53:16 -07:00
  • d62e66030e WinRT: Wait until audio device activation is complete and PrepDevice during OpenAudio Ethan Lee 2018-09-25 01:45:12 -04:00
  • 84dcf914ec Added 8bitdo SF 30 PRO controller support for Linux / DInput mode (thanks Frank Hartung) Sam Lantinga 2018-09-25 19:41:33 -07:00
  • 8fbb4a7c28 Fixed building with newer Android NDK Sam Lantinga 2018-09-25 08:23:57 -07:00
  • 6812a42fbb safer this way, just in case.. Ozkan Sezer 2018-09-25 09:20:56 +03:00
  • 018357cfcc Fixed rare null pointer dereference Sam Lantinga 2018-09-24 20:31:24 -07:00
  • 2a05f4681b Fixed bug 4264 - SDL_CreateTextureFromSurface generates error message but returns ok Sam Lantinga 2018-09-24 16:41:55 -07:00
  • 6d35b7a054 Fixed bug 4267 - linkage failure with --enable-hidapi because of missing libudev symbols Sam Lantinga 2018-09-24 16:33:14 -07:00
  • 175f9bc0e2 Support relative mouse for Samsung DeX on Samsung Experience 9.5 or later (Android 8.1 or later) Sam Lantinga 2018-09-24 11:53:04 -07:00
  • 85b2a541a6 Fixed whitespace Sam Lantinga 2018-09-24 11:49:25 -07:00
  • 11a6e91c74 Correct the name of the SDL shared library in CMake for Mac OS Drew Pirrone-Brusse 2018-08-18 17:23:40 -04:00
  • fe4b2aa419 Fixed bug 3166 - It would be nice, if SDL would support including SDL project as a subdirectory into another CMake project Sam Lantinga 2018-09-24 08:41:59 -07:00
  • 162e9755c0 Removed button logging message Sam Lantinga 2018-09-21 09:41:21 -07:00
  • 5c51894da0 Added missing call to WindowsDeleteString() Sam Lantinga 2018-09-20 15:55:52 -07:00
  • 9cc586608e Added experimental support for Windows.Gaming.Input Sam Lantinga 2018-09-19 10:03:40 -07:00
  • 26215bb307 cmake: correctly report Vulkan support at configure time (thanks, Tiago!). Ryan C. Gordon 2018-09-18 11:49:42 -04:00
  • 70b54e55ba Fixed NullPointerException if there's no singleton Sam Lantinga 2018-09-17 12:08:05 -07:00
  • c37adc91b5 Store the API device refcount on the device itself, so if the device is disconnected and we have multiple application references to it, we only free it once. Sam Lantinga 2018-09-17 11:35:24 -07:00
  • b59054a215 Fixed creating an Android game controller mapping for HIDAPI devices on initialization Sam Lantinga 2018-09-17 11:35:22 -07:00
  • 0839e5f252 do not export hidapi symbols from SDL dlls (bug #4259). Ozkan Sezer 2018-09-15 14:28:10 +03:00
  • d40d6c9e6c acinclude: rename ax_gcc_x86_cpuid.m4.htm to ax_gcc_x86_cpuid.m4 Ozkan Sezer 2018-09-15 09:24:04 +03:00
  • 17c050cf15 fix permissions Ozkan Sezer 2018-09-15 08:11:50 +03:00
  • 75f396a107 Added hints SDL_HINT_MOUSE_DOUBLE_CLICK_TIME and SDL_HINT_MOUSE_DOUBLE_CLICK_RADIUS to allow tuning double-click sensitivity. Also increased the default double-click radius to 32 pixels to be more forgiving for touch interfaces Sam Lantinga 2018-09-14 19:26:26 -07:00
  • 393f3ab5c4 Guard against Steam Controller input when we're shutting down. Sam Lantinga 2018-09-14 18:31:03 -07:00
  • f6e4a90c39 Use atomic reference counting for the HID device object Sam Lantinga 2018-09-14 18:31:01 -07:00
  • 75ef160c65 Fixed crash launching under Steam on Mac OS X Sam Lantinga 2018-09-14 12:41:29 -07:00