Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-04-17 | iOS: Remove code trying to support compilation on the iOS 7 SDK, the ↵ | Alex Szpakowski | 4 | -13/+4 | |
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. | |||||
2019-04-17 | macOS: Fix compilation when using the 10.9 SDK or older. | Alex Szpakowski | 1 | -1/+1 | |
2019-03-17 | hidapi: Add GCN L/R buttons, just in case someone wants them... | Ethan Lee | 1 | -2/+7 | |
2019-04-12 | Android: when event loop is not blocking in pause, backup EGL context (Bug 4578) | Sylvain Becker | 1 | -12/+27 | |
Backup the EGL context when SDL_APP_DIDENTERBACKGROUND has been removed from the event queue. | |||||
2019-04-10 | Fix disabling OpenGL vsync on macOS 10.14.4+ (bug #4575). | Alex Szpakowski | 1 | -1/+6 | |
2019-04-10 | Fixed bug 4581 - generate synthetic mouse events at window boundaries | Sylvain Becker | 1 | -12/+12 | |
when real touch events are actually outside the window. | |||||
2019-04-08 | Fixed bug 4581 - mouse events with SDL_TOUCH_MOUSEID make window lost focus | Sylvain Becker | 1 | -4/+12 | |
Virtual mouse events should never leave the window or change focus for single window applications. | |||||
2019-04-08 | Fixed bug 4582 - Maximize/Resize not working on Windows 10 | Sylvain Becker | 1 | -3/+7 | |
When viewport is set, projectionAndView changes, but ID3D11DeviceContext_UpdateSubresource was not called. | |||||
2019-04-06 | SDL_HINT_MOUSE_TOUCH_EVENTS: move tracking appart in case of 'window' is null | Sylvain Becker | 1 | -5/+5 | |
2019-04-06 | Bug 4581: move tracking appart so it doesn't require the window to have focus | Sylvain Becker | 1 | -4/+11 | |
2019-04-05 | Fixed bug 4579 - SDL_android.c s_active not being atomic | Sam Lantinga | 1 | -4/+9 | |
Isaias Brunet This bug cause a false assert due to multiple threads modifying the same variable without any atomic operation. | |||||
2019-04-05 | Set SDL_HINT_MOUSE_TOUCH_EVENTS for iPhone and iPad as well | Sam Lantinga | 1 | -1/+1 | |
2019-04-05 | https://bugzilla.libsdl.org/show_bug.cgi?id=4577 | Sam Lantinga | 1 | -9/+10 | |
SDL_GetWindowDisplayMode was returning an incorrect result on iPhone Plus devices (tested on iOS 12.1/12.2). The problem was that the value returned by UIScreenMode was assumed to be the physical pixels on the display, rather than the scaled retina pixels. The fix is to use the scale returned by UIScreen.scale rather than the nativeScale. | |||||
2019-04-05 | Android: add hint SDL_HINT_ANDROID_BLOCK_ON_PAUSE | Sylvain Becker | 3 | -16/+13 | |
to set whether the event loop will block itself when the app is paused. | |||||
2019-04-05 | Android: default SDL_HINT_MOUSE_TOUCH_EVENTS to 1 as previous behaviour | Sylvain Becker | 1 | -4/+12 | |
2019-04-04 | Android: remove SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH | Sylvain Becker | 3 | -31/+1 | |
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 | |||||
2019-04-04 | Add hint SDL_HINT_MOUSE_TOUCH_EVENTS for mouse events to generate touch events | Sylvain Becker | 3 | -22/+76 | |
controlling whether mouse events should generate synthetic touch events By default SDL will *not* generate touch events for mouse events | |||||
2019-04-04 | Bug 4576: track both FingerId and TrackId | Sylvain Becker | 3 | -41/+34 | |
2019-04-03 | Bug 4576: fix wrong scaling | Sylvain Becker | 1 | -2/+2 | |
2019-04-02 | Bug 4576: one more warning | Sylvain Becker | 1 | -1/+0 | |
2019-04-02 | Bug 4576: fix warning and compile | Sylvain Becker | 4 | -7/+5 | |
2019-04-02 | Bug 4576: remove touch/mouse duplication for Android | Sylvain Becker | 1 | -39/+1 | |
2019-04-02 | Bug 4576: remove touch/mouse duplication for IOS | Sylvain Becker | 1 | -27/+2 | |
2019-04-02 | Bug 4576: remove touch/mouse duplication for WinRT | Sylvain Becker | 1 | -21/+0 | |
2019-04-02 | Bug 4576: remove touch/mouse duplication for Emscripten | Sylvain Becker | 2 | -20/+0 | |
2019-04-02 | Bug 4576: remove touch/mouse duplication for Wayland | Sylvain Becker | 2 | -18/+0 | |
2019-04-02 | Bug 4576: remove touch/mouse duplication for linux/EVDEV | Sylvain Becker | 1 | -23/+0 | |
2019-04-02 | Bug 4576: remove touch/mouse duplication for Windows | Sylvain Becker | 1 | -14/+17 | |
2019-04-02 | Bug 4576: handle mapping of TouchEvents to MouseEvents at higher level | Sylvain Becker | 1 | -0/+42 | |
2019-03-27 | Handle potentially calling SDL_JoystickUpdate() and SDL_JoystickQuit() at ↵ | Sam Lantinga | 1 | -3/+7 | |
the same time. | |||||
2019-03-25 | coreaudio: Set audio callback thread priority. | Ryan C. Gordon | 1 | -0/+2 | |
Fixes Bugzilla #4155. | |||||
2019-03-25 | Backed out changeset ffd52bb02bcc | Ryan C. Gordon | 3 | -95/+125 | |
This was meant to migrate CoreAudio onto the same SDL_RunAudio() path that most other audio drivers are on, but it introduced a bug because it doesn't deal with dropped audio buffers...and fixing that properly just introduces latency. I might revisit this later, perhaps by reworking SDL_RunAudio to allow for this sort of API better, or redesigning the whole subsystem or something, I don't know. I'm not super-thrilled that this has to exist outside of the usual codepaths, though. Fixes Bugzilla #4481. | |||||
2019-03-21 | opengles2: Fix static analysis warning. | Ryan C. Gordon | 1 | -2/+4 | |
Not clear if this could ever dereference NULL in real life, but better safe than sorry! | |||||
2019-03-19 | Hopefully fixed the mingw32 build | Sam Lantinga | 1 | -0/+5 | |
2019-03-19 | Fixed Visual Studio build | Sam Lantinga | 1 | -1/+1 | |
2019-03-19 | Didn't need to add SDL_windows.h include, that was already included | Sam Lantinga | 1 | -1/+0 | |
2019-03-19 | Fixed Windows RT build | Sam Lantinga | 13 | -19/+28 | |
2019-03-19 | Added support for building SDL as a dynamic library on iOS | Sam Lantinga | 5 | -4/+37 | |
2019-03-16 | emscripten: force resize event when pixel ratio changes | Sebastian Krzyszkowiak | 1 | -1/+11 | |
Without this, applications can't react to changed canvas size on window zoom. | |||||
2019-03-16 | Fixed bug 4450 - SDL_mouse.c fails to compile with CMake generated Visual ↵ | Sam Lantinga | 1 | -0/+3 | |
Studio files if SDL_VIDEO_VULKAN 0/undefined Max Waine SDL_mouse.c, if compiled for Windows, requires GetDoubleClickTime to compile (available from winuser.h). Without Vulkan present this fails to compile as the include chain for winuser.h is the following. SDL_mouse.c -> SDL_sysvideo.h -> SDL_vulkan_internal.h -> SDL_windows.h -> windows.h -> winuser.h. Problem is that SDL_vulkan_internal.h doesn't include SDL_windows.h if Vulkan isn't present, so under MinGW/GCC it will give a -Wimplicit-function-declaration warning for GetDoubleClickTime, and under MSVC fails to compile completely. The solution to this would be to simplify the include chain: including SDL_windows.h under the same condition as GetDoubleClickTime (#ifdef __WIN32__) in SDL_mouse.c (or another file that isn't quite so indirectly included). | |||||
2019-03-16 | Fixed bug 4511 - SDL_gamecontrollerdb Mapping for Sony Playstation USB ↵ | Sam Lantinga | 1 | -2/+3 | |
controller Renaud Lepage Simply submitting a new mapping. | |||||
2019-02-14 | Fixed DualShock 3 mapping | Silent | 1 | -1/+1 | |
2019-03-16 | Fixed bug 4525 - Fix crash in ALSA_HotplugThread caused by bad return value ↵ | Sam Lantinga | 1 | -1/+1 | |
check Anthony Pesch Fix snd_device_name_hint return value check According to the ALSA documentation, snd_device_name_hint returns 0 on success, otherwise a negative error code. The code previously only considered -1 to be an error, which let other error codes through resulting in a segfault when hints (which was NULL) was dereferenced | |||||
2019-03-16 | Fixed CVE-2019-7635 and bug 4498 - Heap-Buffer Overflow in Blit1to4 ↵ | Sam Lantinga | 1 | -3/+24 | |
pertaining to SDL_blit_1.c Petr Pisar The root cause is that the POC BMP file declares 3 colors used and 4 bpp palette, but pixel at line 28 and column 1 (counted from 0) has color number 3. Then when the image loaded into a surface is passed to SDL_DisplayFormat(), in order to convert it to a video format, a used bliting function looks up a color number 3 in a 3-element long color bliting map. (The map obviously has the same number entries as the surface format has colors.) Proper fix should refuse broken BMP images that have a pixel with a color index higher than declared number of "used" colors. Possibly more advanced fix could try to relocate the out-of-range color index into a vacant index (if such exists). | |||||
2019-03-16 | Fix polling left trigger reporting right trigger's values. | Jimb Esser | 1 | -0/+2 | |
2019-03-16 | Fix DirectInput error codes being lost | Jimb Esser | 1 | -2/+2 | |
2019-03-12 | hidapi: Add support for Wii U/Switch USB GameCube controller adapter. | Ethan Lee | 12 | -175/+712 | |
Note that a single USB device is responsible for all 4 joysticks, so a large rewrite of the DeviceDriver functions was necessary to allow a single device to produce multiple joysticks. | |||||
2019-03-16 | Fix compiler warnings. | Ryan C. Gordon | 2 | -4/+3 | |
2019-03-15 | events: Disable all the signal-handling code on platforms without support. | Ryan C. Gordon | 1 | -19/+31 | |
So on Windows, for example, this mostly becomes a few empty functions. | |||||
2019-03-15 | events: Let arbitrary signals to simulate iOS/Android backgrounding events. | Ryan C. Gordon | 3 | -47/+92 | |
This lets you build a custom embedded device that roughly offers the "this process is going to the background NOW" semantics of SDL on a mobile device. |