Commit Graph

  • e8abb3a0e6 Removed extraneous fprintf() call Sam Lantinga 2019-06-17 11:10:20 -07:00
  • f58c5223ab Updated version to 2.0.10 Sam Lantinga 2019-06-17 10:13:28 -07:00
  • 74b4f7a68d Fixed bug 4667 - Build errors on Linux when building without Threads support Sam Lantinga 2019-06-17 08:38:33 -07:00
  • beb04e599a Fix synthetically generated mouse events getting lost forever after the device orientation changes (or the window is otherwise resized) while a finger is touching the screen. Alex Szpakowski 2019-06-16 14:10:30 -03:00
  • d111cfcf38 iOS: remove some code which could affect the state of UIViews that aren't owned by SDL. Alex Szpakowski 2019-06-16 13:52:27 -03:00
  • f9f51a7c38 assert: Another attempt to quiet compiler warnings. Ryan C. Gordon 2019-06-14 22:29:13 -04:00
  • 5f36780e0b assert: Possibly fixing compiler warning on Android. Ryan C. Gordon 2019-06-14 21:39:51 -04:00
  • f1c7594adc cocoa: ignore compiler warnings about OpenGL being deprecated. Ryan C. Gordon 2019-06-14 21:18:53 -04:00
  • 03aa6bb81a A few minor changes to placate static analysis. Ryan C. Gordon 2019-06-14 18:23:51 -04:00
  • 4b0e4b0723 Added support for Xbox and PS4 wireless controllers on iOS and tvOS Also implemented SDL_JoystickGetDevicePlayerIndex() on iOS and tvOS, and added support for reading the new menu button state available in iOS and tvOS 13. Sam Lantinga 2019-06-14 13:56:52 -07:00
  • 7739392c5b Worked around "Undefined symbol: ___isPlatformVersionAtLeast()" link error on Xcode 11 beta Sam Lantinga 2019-06-14 13:56:42 -07:00
  • e5de00e2f4 audio: Attempt to fix build on ARM versions of Visual Studio. Ryan C. Gordon 2019-06-14 16:52:42 -04:00
  • 87e83dedca audio: Fix ARM NEON audio converter bugs. Ryan C. Gordon 2019-06-14 15:52:48 -04:00
  • b39a960ada audio: patched to compile. Ryan C. Gordon 2019-06-14 15:47:32 -04:00
  • 658ca3b693 Check src alignment for S32_to_F32 conversions Ethan Lee 2019-06-14 09:51:22 -04:00
  • a50565a4c8 cocoa: Another attempt at synthesized mouse/touch events. Ryan C. Gordon 2019-06-13 21:31:03 -04:00
  • aa5ff2ddc9 cocoa: Revised synthesized mouse/touch event strategy. Ryan C. Gordon 2019-06-13 01:57:13 -04:00
  • 28ab2c3bf9 macOS: Fix the coordinate space of SDL_GetDisplayUsableBounds (thanks Tim!) Alex Szpakowski 2019-06-12 19:57:30 -03:00
  • d67b2f65b5 iOS: Remove didAddSubview override in NSWindow, its code breaks things which rely on focus changing within SDL's UIWindow (bug #4659). Alex Szpakowski 2019-06-12 19:15:56 -03:00
  • 681110957b wave: Fixed static analysis warning about dead assignment. Ryan C. Gordon 2019-06-12 15:43:08 -04:00
  • 79f8e338e3 vulkan: Fixed use-after-free bug. Ryan C. Gordon 2019-06-12 15:37:07 -04:00
  • 749e6f3d57 assert: Fixed some compiler warnings. Ryan C. Gordon 2019-06-12 15:35:06 -04:00
  • b8e9726cbf Better patch to make it more clear what's going on Sam Lantinga 2019-06-12 10:38:49 -07:00
  • b303331fcc The hat index passed to the application should be zero-based with no holes Sam Lantinga 2019-06-12 10:35:47 -07:00
  • 18c4a67ed4 Fixed bug 4486 - Segfault when pressing a trigger on the Steam Controller (Linux) Sam Lantinga 2019-06-12 10:32:36 -07:00
  • 1c0ef5fce7 Fixed bug 4665 - Add support for single touch evdev devices Sam Lantinga 2019-06-12 07:55:48 -07:00
  • a8a9495de0 wayland: HiDPI support Sebastian Krzyszkowiak 2019-06-12 00:55:05 +02:00
  • 75bcbc75e4 fix permissions Ozkan Sezer 2019-06-12 13:56:20 +03:00
  • e4bd9f8584 SDL_Wave: missing field 'length' initializer Sylvain Becker 2019-06-12 10:42:02 +02:00
  • 25318f73ed assert: mark SDL_ExitProcess as SDL_NORETURN again. Ryan C. Gordon 2019-06-11 21:57:30 -04:00
  • a7cc71a362 cocoa: Backed out CVDisplayLink code for macOS vsync. Ryan C. Gordon 2019-06-11 16:19:01 -04:00
  • eab211d0b3 Fixed bug 4615 - RPM Build fails due to unpackaged files Sam Lantinga 2019-06-11 19:58:10 -07:00
  • d860174c04 Fixed bug 4570 - Support Vulkan Portability rather than MoltenVK specifically Sam Lantinga 2019-06-11 18:13:46 -07:00
  • 2cab37bb4b software: Fixed compiler warning and dos2unix'd the endlines. Ryan C. Gordon 2019-06-11 15:06:35 -04:00
  • 8d3646604b software: Correctly track viewport and cliprect. Ryan C. Gordon 2019-06-11 14:09:53 -04:00
  • ac3dae1fbd direct3d: Use D3DPOOL_MANAGED for vertex buffers. Ryan C. Gordon 2019-06-11 13:02:56 -04:00
  • 999aaf0905 Fix build with the 10.10 SDK Sam Lantinga 2019-06-11 08:33:30 -07:00
  • 4a5112ca53 direct3d: Fixed SDL_RenderSetClipRect usage. Ryan C. Gordon 2019-06-11 10:12:47 -04:00
  • e4272c78f4 direct3d: don't dereference bogus pointer if current texture was destroyed. Ryan C. Gordon 2019-06-11 09:29:48 -04:00
  • cf6dbce1c1 Android: fix coordinates for Surface.ROTATION_180 https://discourse.libsdl.org/t/android-screen-orientation-issues-2-0-9/26262 Sylvain Becker 2019-06-11 11:01:15 +02:00
  • 8902a3ae63 Android: revert wrong fix typo calling onBackPressed() (Bug 4657) Sylvain Becker 2019-06-11 10:19:26 +02:00
  • 22ac8341d7 testoverlay2: Changed some C runtime calls to be SDL equivalents. Ryan C. Gordon 2019-06-11 02:32:43 -04:00
  • 73a673e2af direct3d: Fixed more compiler warnings on Visual Studio 64-bit builds. Ryan C. Gordon 2019-06-11 02:31:57 -04:00
  • 3b6534f88a video: fixed compiler warning on Visual Studio. Ryan C. Gordon 2019-06-11 02:14:59 -04:00
  • 8e97afaf01 windows: Don't let Visual Studio insert an implicit dependency on memset(). Ryan C. Gordon 2019-06-11 02:08:31 -04:00
  • c1cf3ef9f4 windows: Drop WM_ACTIVATE when window is hidden, but only if being activated. Ryan C. Gordon 2019-06-11 01:14:24 -04:00
  • cc9dcfef9c Android: add MinimizeWindow function (Bug 4580, 4657) shouldMinimizeOnFocusLoss is un-activated (return false) Sylvain Becker 2019-06-10 21:58:03 +02:00
  • f104c9d856 Android: fix typo calling onBackPressed() (Bug 4657) Sylvain Becker 2019-06-10 21:41:22 +02:00
  • 7c188e1f0b Add mapping for Chinese-made Xbox Controller Benjamin Valentin 2019-03-17 23:47:12 +01:00
  • 020dd64a02 Fixed bug 4662 - SDL failed to build due to error LNK2019: unresolved external symbol _memset referenced in function _IMA_ADPCM_Decode with MSVC on Windows Sam Lantinga 2019-06-10 08:49:26 -07:00
  • 8212243318 Fixed bug 4641 - clang and clang-cl builds on windows create -Wpragma-pack warnings Sam Lantinga 2019-06-10 08:46:20 -07:00
  • 881f1fa8e9 cocoa: report proper input IDs for mouse/touch events. Ryan C. Gordon 2019-06-09 19:27:25 -04:00
  • ddf8e8fd1a Fixed bug 4658 - iOS 12 fullscreen flag and SDL_HINT_IOS_HIDE_HOME_INDICATOR not working Sam Lantinga 2019-06-09 14:08:18 -07:00
  • bc94d31e06 Add notes for SDL_WinRTRunApp and SDL2-WinRTResources for non-C++ projects Ethan Lee 2019-06-09 11:54:51 -04:00
  • 75fad8222b Cleanup on bug 3894 - Fuzzing crashes for SDL_LoadWAV Sam Lantinga 2019-06-09 12:46:10 -07:00
  • c17aa515bd Fixed compiler warning warning C4018: '<' : signed/unsigned mismatch Sam Lantinga 2019-06-08 19:12:05 -07:00
  • 0f2dbcfa18 Fixed build Sam Lantinga 2019-06-08 19:09:43 -07:00
  • d842fe91a3 Fixed bug 3894 - Fuzzing crashes for SDL_LoadWAV Sam Lantinga 2019-06-08 19:02:42 -07:00
  • a96d686f02 Fixed bug 4041 - Android, SDL_Renderer OpenGLES 1 is loading GLESv2 library Sam Lantinga 2019-06-08 18:40:11 -07:00
  • 99f2220502 Temporary fix for bug 4254 - a _lot_ of strict aliasing warnings Sam Lantinga 2019-06-08 18:32:29 -07:00
  • 287695c0e4 Fixed bug 4294 - Audio: perform more validation on conversion request Sam Lantinga 2019-06-08 18:22:18 -07:00
  • ddd814f59d CVE-2019-7578: Fix a buffer overread in InitIMA_ADPCM If IMA ADPCM format chunk was too short, InitIMA_ADPCM() parsing it could read past the end of chunk data. This patch fixes it. Sam Lantinga 2019-06-08 18:07:58 -07:00
  • b874f17348 Fixed bug 4526 - replace SDL_RW* macros with functions for using in bindings Sam Lantinga 2019-06-08 17:43:23 -07:00
  • bf91cd89ce Fixed bug 4533 - Update ANGLE to load d3dcompiler_47.dll instead of d3dcompiler_46.dll Sam Lantinga 2019-06-08 15:10:20 -07:00
  • 4c268a751c cocoa: Fix assert to use SDL_assert Ethan Lee 2019-03-04 12:16:43 -05:00
  • 9ea8d12b4c Backed out Ben's chinese Xbox controller patch, as the generic catch-all for Xbox controllers should handle it. Sam Lantinga 2019-06-08 14:58:49 -07:00
  • 4e13f9906c Add mapping for Chinese-made Xbox Controller Benjamin Valentin 2019-03-17 23:47:12 +01:00
  • 94a5b9d6bc Fixed bug 4557 - SDL_SIMDAlloc and *Free should be in the public interface Sam Lantinga 2019-06-08 14:54:37 -07:00
  • 24ff75f9be Fixed bug 4583 - PollAllValues appears to use an incorrect index for all axes above 0x18 Sam Lantinga 2019-06-08 14:40:27 -07:00
  • 7d607fe3ae Fixed bug 4593 - Respect CMake's BUILD_SHARED_LIBS default behavior Sam Lantinga 2019-06-08 14:36:03 -07:00
  • 9d3108642f Fixed bug 4594 - Fix install location of CMake targets on Apple platforms Sam Lantinga 2019-06-08 14:34:38 -07:00
  • 3d9f8e0741 Fixed bug 4600 - Dualshock 4 touchpad press is not detectable with SDL_JoystickGetButton Sam Lantinga 2019-06-08 14:32:19 -07:00
  • d0d1c1b7c2 Fixed bug 4603 - The iOS Test Xcode project file needs to add the metal framework Sam Lantinga 2019-06-08 14:29:05 -07:00
  • 27b2481b81 Fixed bug 4605 - WASAPI_WaitDevice hang Sam Lantinga 2019-06-08 13:41:46 -07:00
  • 11ddce7290 hidapi: Use GameCube adapter controller port for player index The Nintendo USB GameCube adapter has four controller ports. Return the port number as 0 to 3 from SDL_JoystickGetPlayerIndex() and SDL_JoystickGetDevicePlayerIndex(). Zack Middleton 2019-06-08 13:36:59 -07:00
  • a15f1bbc30 riscos: Fix iconv warnings Cameron Cawley 2019-01-13 23:36:31 +00:00
  • cc5578659b Fixed bug 4642 - Rework SDL_netbsdaudio to improve performance Sam Lantinga 2019-06-08 13:03:36 -07:00
  • baa575e7a5 Fixed bug 4443 - Incorrect scan code reported for numpad 5 Sam Lantinga 2019-06-08 10:47:43 -07:00
  • 70df05098c Ignore Xbox One S gamepads with older firmware in HIDAPI Cameron Gutman 2019-04-30 20:37:49 -07:00
  • f272db3469 Fixed Android build warning Sam Lantinga 2019-06-08 10:23:52 -07:00
  • 34e70cbfa2 OpenSL ES audio cleanup and added a note with low latency audio discussion Sam Lantinga 2019-06-08 10:21:38 -07:00
  • 260040e125 Fixed surround sound channel setup for Android OpenSL ES audio driver Sam Lantinga 2019-06-07 15:09:15 -07:00
  • 05de5b19fd Protect against NULL device in the Android hidapi implementation Sam Lantinga 2019-06-07 09:00:26 -07:00
  • b7a2fa801e Potential fix for a crash we're seeing on Android that should in theory never happen. Sam Lantinga 2019-06-07 09:00:24 -07:00
  • 372ad9356f Added support for the Rotor Riot gamepad, and upcoming Xbox and PS4 controller support on iOS and tvOS Patch contributed by Nat Brown Sam Lantinga 2019-06-06 08:20:53 -07:00
  • 4dd7552371 Fixed bug 4655 - evdev is available on FreeBSD, check in 'configure' limited to Linux Sam Lantinga 2019-06-05 12:03:45 -07:00
  • 71ca948b6e Use SDL sized types Sam Lantinga 2019-06-05 12:01:26 -07:00
  • 29654d1425 Fixed bug 4656 - SDL_evdev.c uses Linux specific integer types Sam Lantinga 2019-06-05 08:54:07 -07:00
  • 1082b26267 Fixed bug 4171 - SDL_GetQueuedAudioSize is broken with WASAPI Sam Lantinga 2019-06-04 17:32:15 -07:00
  • 128288a92f test: unify all the command line usage logging. Ryan C. Gordon 2019-05-28 17:39:13 -04:00
  • fbfcaf35a1 iOS: return SDL_GetWindowSize from SDL_GL_GetDrawableSize if there's no GLES view in the window (matches the behaviour of SDL_GL_GetDrawableSize on other platforms). Addresses bug #4629. Alex Szpakowski 2019-05-26 18:53:36 -03:00
  • ee0c5855e5 Added a function to get the current Android SDK version at runtime Sam Lantinga 2019-05-23 14:19:00 -07:00
  • fa5de9fc87 Use the OpenSL ES audio driver by default on Android, as it has the lowest latency. Sam Lantinga 2019-05-23 13:47:30 -07:00
  • 35f0b7ff48 Fixed static and buzzing when trying to use floating point audio on the OpenSL ES audio driver. Sam Lantinga 2019-05-23 13:47:27 -07:00
  • f011849c94 Return an error if both mouse relative mode and mouse warping are unavailable, instead of asserting. Sam Lantinga 2019-05-23 11:32:36 -07:00
  • 05df7b7b7e Fixed hiding the Android virtual keyboard when the return key is pressed Sam Lantinga 2019-05-23 11:05:43 -07:00
  • f44944bb73 Android: minimum size for IME, so that it takes focus Sylvain Becker 2019-05-23 09:08:40 +02:00
  • 8bad9c90eb Improved iOS Bluetooth keyboard support * Don't stop text input after the return key is pressed * Handle arrow and escape keys Sam Lantinga 2019-05-22 17:39:51 -07:00
  • c77cbee027 Fixed bug 4639 - CMake build does not generate libhidapi.so for Android Sam Lantinga 2019-05-21 17:33:31 -07:00
  • e962685ebf Fix use-after-free when pumping the event loop after SDL_DestroyWindow() Cameron Gutman 2019-04-28 17:37:49 -07:00