Commit Graph

  • 2c92c8e85a Android: add static variable initialization in non blocking event loop Sylvain Becker 2019-04-23 14:24:58 +02:00
  • cb18117c92 Added a helper function to tell whether or not a window can be minimized Sam Lantinga 2019-04-22 16:34:42 -07:00
  • f1b57f3785 Only leave fullscreen mode if we're actually going to minimize Sam Lantinga 2019-04-22 16:25:49 -07:00
  • 9950271bb6 Fixed bug 4580 - Android 8: immersive fullscreen notification causes flickering between fullscreen and non-fullscreen and app is unresponsive Sam Lantinga 2019-04-22 16:19:52 -07:00
  • 2f6c988e7c configure: Cleaned up audio/video summaries when building for Windows. Ryan C. Gordon 2019-04-21 21:34:14 -04:00
  • 90b08881ab iOS: Remove code trying to support compilation on the iOS 7 SDK, the deployment target has been set to iOS 8 for years and there's other unconditionally compiled code that depends on newer SDKs so that code is useless. Alex Szpakowski 2019-04-17 20:41:05 -03:00
  • 9d7b26155a macOS: Fix compilation when using the 10.9 SDK or older. Alex Szpakowski 2019-04-17 20:14:40 -03:00
  • cf87d5764d Explicitly load hidapi as a dependency of the SDL library This fixes loading on Android 4.2 Sam Lantinga 2019-04-16 20:00:14 -07:00
  • f07c992bb8 hidapi: Add GCN L/R buttons, just in case someone wants them... Ethan Lee 2019-03-17 12:36:40 -04:00
  • bd344c2287 Android: when event loop is not blocking in pause, backup EGL context (Bug 4578) Backup the EGL context when SDL_APP_DIDENTERBACKGROUND has been removed from the event queue. Sylvain Becker 2019-04-12 23:15:26 +02:00
  • 00c824a8b0 Fix disabling OpenGL vsync on macOS 10.14.4+ (bug #4575). Alex Szpakowski 2019-04-10 22:30:58 -03:00
  • aae49015da Fixed bug 4581 - generate synthetic mouse events at window boundaries when real touch events are actually outside the window. Sylvain Becker 2019-04-10 10:59:53 +02:00
  • cfefe5434a Fixed bug 4581 - mouse events with SDL_TOUCH_MOUSEID make window lost focus Virtual mouse events should never leave the window or change focus for single window applications. Sylvain Becker 2019-04-08 21:27:24 +02:00
  • d68e501db4 Fixed bug 4582 - Maximize/Resize not working on Windows 10 When viewport is set, projectionAndView changes, but ID3D11DeviceContext_UpdateSubresource was not called. Sylvain Becker 2019-04-08 13:43:48 +02:00
  • eb7affeeb8 SDL_HINT_MOUSE_TOUCH_EVENTS: move tracking appart in case of 'window' is null Sylvain Becker 2019-04-06 21:52:51 +02:00
  • a1a9fd50c6 Bug 4581: move tracking appart so it doesn't require the window to have focus Sylvain Becker 2019-04-06 21:43:16 +02:00
  • a46af76b07 Fixed bug 4579 - SDL_android.c s_active not being atomic Sam Lantinga 2019-04-05 08:15:01 -07:00
  • 9eac91dd29 Set SDL_HINT_MOUSE_TOUCH_EVENTS for iPhone and iPad as well Sam Lantinga 2019-04-05 08:10:12 -07:00
  • b6f33a6870 https://bugzilla.libsdl.org/show_bug.cgi?id=4577 Sam Lantinga 2019-04-05 07:51:11 -07:00
  • 05333a6e9f Android: add hint SDL_HINT_ANDROID_BLOCK_ON_PAUSE to set whether the event loop will block itself when the app is paused. Sylvain Becker 2019-04-05 09:16:30 +02:00
  • b470cd9b09 Android: default SDL_HINT_MOUSE_TOUCH_EVENTS to 1 as previous behaviour Sylvain Becker 2019-04-05 08:36:31 +02:00
  • 6f732d4ee8 Update WhatsNew.txt Sylvain Becker 2019-04-04 20:24:22 +02:00
  • 458c60e6a4 Update WhatsNew.txt Sylvain Becker 2019-04-04 20:10:55 +02:00
  • bfdd0b228a Android: remove SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH java layer runs as if separate mouse and touch was 1, Use SDL_HINT_MOUSE_TOUCH_EVENTS and SDL_HINT_TOUCH_MOUSE_EVENTS for generating synthetic touch/mouse events Sylvain Becker 2019-04-04 17:01:02 +02:00
  • e41576188d Add hint SDL_HINT_MOUSE_TOUCH_EVENTS for mouse events to generate touch events Sylvain Becker 2019-04-04 16:51:50 +02:00
  • ab03892ddf Bug 4576: track both FingerId and TrackId Sylvain Becker 2019-04-04 15:19:00 +02:00
  • e39c0a1f7d Bug 4576: fix wrong scaling Sylvain Becker 2019-04-03 10:14:42 +02:00
  • 236b86067f Bug 4576: one more warning Sylvain Becker 2019-04-02 18:07:27 +02:00
  • b45abbb2a7 Bug 4576: fix warning and compile Sylvain Becker 2019-04-02 17:57:27 +02:00
  • 9b3c2258aa Bug 4576: remove touch/mouse duplication for Android Sylvain Becker 2019-04-02 17:23:55 +02:00
  • 9d28156f12 Bug 4576: remove touch/mouse duplication for IOS Sylvain Becker 2019-04-02 17:18:47 +02:00
  • 42de5f97cc Bug 4576: remove touch/mouse duplication for WinRT Sylvain Becker 2019-04-02 17:13:22 +02:00
  • b086edc915 Bug 4576: remove touch/mouse duplication for Emscripten Sylvain Becker 2019-04-02 17:10:29 +02:00
  • b8e5c561d8 Bug 4576: remove touch/mouse duplication for Wayland Sylvain Becker 2019-04-02 17:07:54 +02:00
  • 6bc2d9de1f Bug 4576: remove touch/mouse duplication for linux/EVDEV Sylvain Becker 2019-04-02 17:03:58 +02:00
  • 1a4c3b57b7 Bug 4576: remove touch/mouse duplication for Windows Sylvain Becker 2019-04-02 16:58:11 +02:00
  • a3f2c446ef Bug 4576: handle mapping of TouchEvents to MouseEvents at higher level Sylvain Becker 2019-04-02 16:46:17 +02:00
  • 1febfedf85 configure.in: Rename configure.ac to fix an 'aclocal' warning Sam Lantinga 2019-04-02 05:31:08 -07:00
  • 14b385f2bf docs: Replace references to configure.in with configure.ac Hugh McMaster 2019-03-27 20:58:33 +11:00
  • af4bbb3064 configure.in: Rename to configure.ac to fix an 'aclocal' warning Hugh McMaster 2019-03-25 23:01:32 +11:00
  • 9a8d5215c6 Handle potentially calling SDL_JoystickUpdate() and SDL_JoystickQuit() at the same time. Sam Lantinga 2019-03-27 08:17:05 -07:00
  • 2fbfe8b912 coreaudio: Set audio callback thread priority. Ryan C. Gordon 2019-03-25 12:59:30 -04:00
  • 6a3356ab3f Backed out changeset cec31de4e126 Ryan C. Gordon 2019-03-25 12:24:38 -04:00
  • 8ab698af15 opengles2: Fix static analysis warning. Ryan C. Gordon 2019-03-21 10:39:49 -04:00
  • 01c924fa9e Hopefully fixed the mingw32 build Sam Lantinga 2019-03-19 17:20:54 -07:00
  • deb7d08c28 Fixed Visual Studio build Sam Lantinga 2019-03-19 17:05:22 -07:00
  • ac23d78f7a Didn't need to add SDL_windows.h include, that was already included Sam Lantinga 2019-03-19 16:53:55 -07:00
  • b2e76d860f Fixed Windows RT build Sam Lantinga 2019-03-19 16:52:09 -07:00
  • a71489221b Fixed archiving the SDL dynamic library on iOS and tvOS Sam Lantinga 2019-03-19 11:02:43 -07:00
  • a0ac5ffc9f Fixed building with C++ Sam Lantinga 2019-03-19 10:59:41 -07:00
  • 03fc5eebcb Fixed building with C++ Sam Lantinga 2019-03-19 10:56:46 -07:00
  • 8177388e5e Fixed declaration of SDL_main_func for C++ Sam Lantinga 2019-03-19 08:29:34 -07:00
  • 4d8ac6b8b2 Added support for building SDL as a dynamic library on tvOS Sam Lantinga 2019-03-19 07:53:39 -07:00
  • de82759c84 Added support for building SDL as a dynamic library on iOS Sam Lantinga 2019-03-19 07:53:33 -07:00
  • edebdeb47f testgesture: Make the background gray. Ryan C. Gordon 2019-03-17 12:45:19 -04:00
  • 82ebe63f9a Fixed Visual Studio build Sam Lantinga 2019-03-16 19:46:37 -07:00
  • d49f1faeb1 Fixed iOS build Sam Lantinga 2019-03-16 19:46:27 -07:00
  • cf7c05c282 Fixed Mac OS X build Sam Lantinga 2019-03-16 19:44:04 -07:00
  • fd946a48dc Fixed configure error if pkg modules aren't available Sam Lantinga 2019-03-16 19:32:59 -07:00
  • 6311c7cf95 emscripten: force resize event when pixel ratio changes Without this, applications can't react to changed canvas size on window zoom. Sebastian Krzyszkowiak 2019-03-16 19:08:59 -07:00
  • b8bd0aa0bd Fixed bug 4450 - SDL_mouse.c fails to compile with CMake generated Visual Studio files if SDL_VIDEO_VULKAN 0/undefined Sam Lantinga 2019-03-16 19:07:34 -07:00
  • faf97978ea Fixed bug 4511 - SDL_gamecontrollerdb Mapping for Sony Playstation USB controller Sam Lantinga 2019-03-16 19:03:13 -07:00
  • b6a45f1a8d Fixed DualShock 3 mapping Silent 2019-02-14 20:46:58 +01:00
  • 35255342cd Fixed bug 4525 - Fix crash in ALSA_HotplugThread caused by bad return value check Sam Lantinga 2019-03-16 18:48:21 -07:00
  • 55f18d3625 Fixed bug 4544 - SDL2.m4 SDL2.framework patch made it impossible to fail detection Sam Lantinga 2019-03-16 18:45:10 -07:00
  • 8bc59f87ec Fixed CVE-2019-7635 and bug 4498 - Heap-Buffer Overflow in Blit1to4 pertaining to SDL_blit_1.c Sam Lantinga 2019-03-16 18:34:33 -07:00
  • 0f148eb651 Fix polling left trigger reporting right trigger's values. Jimb Esser 2019-03-16 18:12:26 -07:00
  • 58ca76bee3 Fix DirectInput error codes being lost Jimb Esser 2019-03-16 18:11:09 -07:00
  • c528615626 hidapi: Add support for Wii U/Switch USB GameCube controller adapter. Ethan Lee 2019-03-12 20:27:54 -04:00
  • 938a5508d1 Fixed bug 4452 - Please replace AC_HELP_STRING with AS_HELP_STRING Sam Lantinga 2019-03-16 17:47:59 -07:00
  • 40e3c015f1 Added missing PKG_CONFIG macros Sam Lantinga 2019-03-16 17:39:15 -07:00
  • cada4b8b8e Use host system pkg-config when (cross-)compiling and convert to PKG_CHECK_MODULES Hugh McMaster 2019-02-03 20:06:18 +11:00
  • 12c5cda6bf Fix compiler warnings. Ryan C. Gordon 2019-03-16 00:08:19 -04:00
  • 08dc8cc20a testgesture: Add dependency to SDLtest to Visual Studio project. Ryan C. Gordon 2019-03-15 23:54:42 -04:00
  • 6727408d2c testgesture: cleaned up code formatting, etc. Ryan C. Gordon 2019-03-15 22:39:31 -04:00
  • 7cc0a606d8 testgesture: minor cleanups. Ryan C. Gordon 2019-03-15 22:17:21 -04:00
  • 5897ed85f5 test: Moved testgesture.c over to the common SDLtest framework. Ryan C. Gordon 2019-03-15 22:16:02 -04:00
  • f95ca7bb8e events: Disable all the signal-handling code on platforms without support. Ryan C. Gordon 2019-03-15 16:13:19 -04:00
  • 8a5a05c168 events: Let arbitrary signals to simulate iOS/Android backgrounding events. Ryan C. Gordon 2019-03-15 15:51:05 -04:00
  • 911bf6241b events: Make debug logging of the event queue a hint instead of an #ifdef. Ryan C. Gordon 2019-03-15 14:08:30 -04:00
  • cbe80d4708 KMSDRM: valid file descriptors could positive or 0. -1 is invalid. (Bug 4530) Sylvain Becker 2019-03-13 14:54:51 +01:00
  • 3bc1a8b619 Android: minor comment update Sylvain Becker 2019-03-13 14:08:21 +01:00
  • 063c0c2a73 Android: check SDL is initialized before sending the event Avoid error message: SDLActivity thread ends (error=Video subsystem has not been initialized) Sylvain Becker 2019-03-13 09:39:30 +01:00
  • 82758efc46 [iOS DAC] Fix touch events getting from SDL2 to source2. Sam Lantinga 2019-03-12 14:45:04 -07:00
  • d05eec7207 Fixed initial display orientation at Android app start Sam Lantinga 2019-03-12 14:44:25 -07:00
  • 1a8e3a0270 HIDAPI: fix bug that caused non-HID class parts of composite devices to have windows HID functions called on them. Sam Lantinga 2019-03-12 14:44:12 -07:00
  • cddb285cdb Fixed bug 4513 - Wayland, fix crash when remove event is sent (from Sebastian Krzyszkowiak) Sylvain Becker 2019-03-12 20:04:08 +01:00
  • 052b4f2969 SDL_EVDEV_kbd_init: uninitialized data for ioctl (Bug 4530) Sylvain Becker 2019-03-12 14:20:37 +01:00
  • b28e956b8c Fixed bug 4542 - Image flipped vertically when rendering on texture Sylvain Becker 2019-03-12 07:59:53 +01:00
  • 28f54ee439 SDL_MouseQuit(): clear mouse->cur_cursor (Bug 4530) Sylvain Becker 2019-03-11 15:31:46 +01:00
  • 7b27594274 KMSDRM: missing return value in VideoInit() (Bug 4530) Sylvain Becker 2019-03-11 15:27:42 +01:00
  • 3b49ee5261 KMSDRM: change calls free() to SDL_free() (Bug 4529) Sylvain Becker 2019-03-11 15:22:40 +01:00
  • 2fd4aee149 Un-activate some routine on mips because they are slowers (Bug 4503) Sylvain Becker 2019-02-23 09:36:56 +01:00
  • 47fb781b94 BlitNtoN BlitNtoNKey: remove non-aligned word read/store (bpp 3<->4) (Bug 4503) Sylvain Becker 2019-02-22 09:30:45 +01:00
  • 6fbe9e23fa raspberry: expose second display. Ryan C. Gordon 2019-02-19 23:46:54 -05:00
  • 90a075d75f Fix windows build Sylvain Becker 2019-02-18 22:48:14 +01:00
  • e9a7b6973a Fix bug 4053: Blit issues on Big Endian CPU Sylvain Becker 2019-02-18 22:06:53 +01:00
  • ea4c4cfc28 Fixed bug 4500 - Heap-Buffer Overflow in Map1toN pertaining to SDL_pixels.c Sam Lantinga 2019-02-18 07:50:33 -08:00
  • afd1b3dae4 Fix invalid memory access and optimise Blit_3or4_to_3or4__* Sylvain Becker 2019-02-17 16:20:23 +01:00
  • 1aa2ad2fe8 Better naming for the blit permutation variables Sylvain Becker 2019-02-09 17:40:32 +01:00