Commit Graph

  • f3226457e0 Fixed bug 4672 - Warnings in SDL_LogEvent() Sam Lantinga 2019-06-19 17:11:20 -07:00
  • be6cda9f95 Rolling back GameCube HIDAPI support It causes the HIDAPI devices to always be opened on enumeration, which causes crashes in the Windows drivers when multiple applications are reading and writing at the same time. We can revisit this after 2.0.10 release. Sam Lantinga 2019-06-19 15:54:21 -07:00
  • 56e2b9a4ee Handle GameCube WaveBird controller differences Make wireless GameCube controllers use unknown power level instead of wired and don't allow rumble (it doesn't have hardware for it). Zack Middleton 2019-06-19 06:43:54 -07:00
  • 6f63c1c37f Make GameCube controllers only rumble if both USB cables are connected The Nintendo USB GameCube Adapter has two USB connectors. Black for data and grey for additional power for rumble. The Wii U and other software require both cables to use rumble. The rumble is weaker without the second USB cable. Other than that I don't know if there is any negative side affects from using rumble with only one cable. Zack Middleton 2019-06-19 06:43:36 -07:00
  • b23cce282e Fix GameCube controller power level being reset to unknown HIDAPI_DriverGameCube_OpenJoystick() set power level to wired and then it was set to unknown in SDL_JoystickOpen(). Zack Middleton 2019-06-19 06:43:04 -07:00
  • bd95290075 Use SDL C runtime functions Sam Lantinga 2019-06-19 06:40:50 -07:00
  • faed7f836d KMSDRM: fix inverted strcmp, remove useless if test (Bug 4624) Sylvain Becker 2019-06-19 10:11:38 +02:00
  • 5998c51324 KMSDRM: fix compilation on linux, no d_namlen (Bug 4624) Sylvain Becker 2019-06-19 09:16:53 +02:00
  • d0fa93d63c wayland: Fixed C99-style variable declaration inside for-loop. Ryan C. Gordon 2019-06-19 00:52:34 -04:00
  • 667c872b42 Fixed building DMG archive on Mac OS X Sam Lantinga 2019-06-18 21:50:57 -07:00
  • 7162649f78 opengl: Be more robust in failing cases. Ryan C. Gordon 2019-06-18 18:58:39 -04:00
  • 8ab907baa6 Only warp the mouse to set focus if we're definitely going into relative mode Sam Lantinga 2019-06-18 14:24:26 -07:00
  • 14e8b93e37 Fixed compiler warning Sam Lantinga 2019-06-18 14:24:24 -07:00
  • 99abcbb2bc Fixed bug 4624 - KMS/DRM fails on FreeBSD because /dev/dri/card* nodes are symlinks Sam Lantinga 2019-06-18 14:15:10 -07:00
  • d3bedda4df cocoa: Patched to compile and also handle possible malloc failure. Ryan C. Gordon 2019-06-18 16:53:49 -04:00
  • 3e720d2a80 Fixed potential double-free in mouse cleanup code Sam Lantinga 2019-06-18 13:41:38 -07:00
  • 5dcac4ccdf Fixed 4669 - Using the software SDL_Renderer on Android leads to GL errors & black screen when window resizes Sam Lantinga 2019-06-18 10:08:19 -07:00
  • e96d4760ac Android: resize with software rendering, reverted again (Bug 4669) Sylvain Becker 2019-06-18 18:53:58 +02:00
  • 12b92260cc Android: try to fix resize with software rendering (bug 4669) Sylvain Becker 2019-06-18 18:40:40 +02:00
  • 8a20d40d90 Android: revert commit SW_GetOutputSize, again (Bug 4669) Sylvain Becker 2019-06-18 18:22:18 +02:00
  • 63506ae195 Added a patch note about batched rendering Sam Lantinga 2019-06-18 08:35:31 -07:00
  • e89789bb4b Added patch notes for 2.0.10 Sam Lantinga 2019-06-18 07:55:30 -07:00
  • eb71cd800d Make sure we haven't changed the size of the SDL_Event structure and broken binary compatibility. Sam Lantinga 2019-06-18 06:53:32 -07:00
  • 5418d41626 Android: prevent ignoring surfaceChanged() in MultiWindow Sylvain Becker 2019-06-18 11:35:30 +02:00
  • 98cc7589b1 Android: prevent using SW_GetOutputSize with software renderer (Bug 4669) Sylvain Becker 2019-06-18 10:41:11 +02:00
  • a55c0e1479 Android: revert previous commit (Bug 4669) (Refs #1) Sylvain Becker 2019-06-18 10:23:19 +02:00
  • f2157b6c25 Fixed bug 4669: Android software renderer, black screen when window resizes Sylvain Becker 2019-06-17 22:31:36 +02:00
  • 6c4765a17a Removed extraneous fprintf() call Sam Lantinga 2019-06-17 11:10:20 -07:00
  • 67c67f3a6b Updated version to 2.0.10 Sam Lantinga 2019-06-17 10:13:28 -07:00
  • 93a5e4ce06 Fixed bug 4667 - Build errors on Linux when building without Threads support Sam Lantinga 2019-06-17 08:38:33 -07:00
  • 9306ef9b10 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
  • f4625f52f2 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
  • fffa791fce assert: Another attempt to quiet compiler warnings. Ryan C. Gordon 2019-06-14 22:29:13 -04:00
  • 59e510b0b6 assert: Possibly fixing compiler warning on Android. Ryan C. Gordon 2019-06-14 21:39:51 -04:00
  • ed8b78d36b cocoa: ignore compiler warnings about OpenGL being deprecated. Ryan C. Gordon 2019-06-14 21:18:53 -04:00
  • 90e2dc9891 A few minor changes to placate static analysis. Ryan C. Gordon 2019-06-14 18:23:51 -04:00
  • 4eb3c0c387 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
  • 1213fe79d8 Worked around "Undefined symbol: ___isPlatformVersionAtLeast()" link error on Xcode 11 beta Sam Lantinga 2019-06-14 13:56:42 -07:00
  • 289d109245 audio: Attempt to fix build on ARM versions of Visual Studio. Ryan C. Gordon 2019-06-14 16:52:42 -04:00
  • 33b235f4c3 audio: Fix ARM NEON audio converter bugs. Ryan C. Gordon 2019-06-14 15:52:48 -04:00
  • 5c56c88824 audio: patched to compile. Ryan C. Gordon 2019-06-14 15:47:32 -04:00
  • 5bd9b8b167 Check src alignment for S32_to_F32 conversions Ethan Lee 2019-06-14 09:51:22 -04:00
  • d9a2eff26f cocoa: Another attempt at synthesized mouse/touch events. Ryan C. Gordon 2019-06-13 21:31:03 -04:00
  • 294574647d cocoa: Revised synthesized mouse/touch event strategy. Ryan C. Gordon 2019-06-13 01:57:13 -04:00
  • 50f5123190 macOS: Fix the coordinate space of SDL_GetDisplayUsableBounds (thanks Tim!) Alex Szpakowski 2019-06-12 19:57:30 -03:00
  • 74e86a51d8 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
  • 2fa33d6f98 wave: Fixed static analysis warning about dead assignment. Ryan C. Gordon 2019-06-12 15:43:08 -04:00
  • 32ead2cb46 vulkan: Fixed use-after-free bug. Ryan C. Gordon 2019-06-12 15:37:07 -04:00
  • b530d75afb assert: Fixed some compiler warnings. Ryan C. Gordon 2019-06-12 15:35:06 -04:00
  • 747df96eb0 Better patch to make it more clear what's going on Sam Lantinga 2019-06-12 10:38:49 -07:00
  • 3fbaa5da05 The hat index passed to the application should be zero-based with no holes Sam Lantinga 2019-06-12 10:35:47 -07:00
  • a1a2f9b9f8 Fixed bug 4486 - Segfault when pressing a trigger on the Steam Controller (Linux) Sam Lantinga 2019-06-12 10:32:36 -07:00
  • d01150abc2 Fixed bug 4665 - Add support for single touch evdev devices Sam Lantinga 2019-06-12 07:55:48 -07:00
  • 797b28133c wayland: HiDPI support Sebastian Krzyszkowiak 2019-06-12 00:55:05 +02:00
  • 09142eb715 fix permissions Ozkan Sezer 2019-06-12 13:56:20 +03:00
  • cd011bb1e7 SDL_Wave: missing field 'length' initializer Sylvain Becker 2019-06-12 10:42:02 +02:00
  • f5a347853d assert: mark SDL_ExitProcess as SDL_NORETURN again. Ryan C. Gordon 2019-06-11 21:57:30 -04:00
  • 04b50f6c6b cocoa: Backed out CVDisplayLink code for macOS vsync. Ryan C. Gordon 2019-06-11 16:19:01 -04:00
  • 39733dc6b9 Fixed bug 4615 - RPM Build fails due to unpackaged files Sam Lantinga 2019-06-11 19:58:10 -07:00
  • 69d27a69cd Fixed bug 4570 - Support Vulkan Portability rather than MoltenVK specifically Sam Lantinga 2019-06-11 18:13:46 -07:00
  • 3e9bf28413 software: Fixed compiler warning and dos2unix'd the endlines. Ryan C. Gordon 2019-06-11 15:06:35 -04:00
  • 04fedce0e8 software: Correctly track viewport and cliprect. Ryan C. Gordon 2019-06-11 14:09:53 -04:00
  • a2f2b73554 direct3d: Use D3DPOOL_MANAGED for vertex buffers. Ryan C. Gordon 2019-06-11 13:02:56 -04:00
  • aa80d279d3 Fix build with the 10.10 SDK Sam Lantinga 2019-06-11 08:33:30 -07:00
  • f7b7a9727b direct3d: Fixed SDL_RenderSetClipRect usage. Ryan C. Gordon 2019-06-11 10:12:47 -04:00
  • 4f59d372f8 direct3d: don't dereference bogus pointer if current texture was destroyed. Ryan C. Gordon 2019-06-11 09:29:48 -04:00
  • 4392c6ff14 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
  • 45a3dd171d Android: revert wrong fix typo calling onBackPressed() (Bug 4657) Sylvain Becker 2019-06-11 10:19:26 +02:00
  • f71454c0ad testoverlay2: Changed some C runtime calls to be SDL equivalents. Ryan C. Gordon 2019-06-11 02:32:43 -04:00
  • a6af0b8291 direct3d: Fixed more compiler warnings on Visual Studio 64-bit builds. Ryan C. Gordon 2019-06-11 02:31:57 -04:00
  • 5fb20b3093 video: fixed compiler warning on Visual Studio. Ryan C. Gordon 2019-06-11 02:14:59 -04:00
  • 254eb67775 windows: Don't let Visual Studio insert an implicit dependency on memset(). Ryan C. Gordon 2019-06-11 02:08:31 -04:00
  • 399df540e3 windows: Drop WM_ACTIVATE when window is hidden, but only if being activated. Ryan C. Gordon 2019-06-11 01:14:24 -04:00
  • f9a9193e2c Android: add MinimizeWindow function (Bug 4580, 4657) shouldMinimizeOnFocusLoss is un-activated (return false) Sylvain Becker 2019-06-10 21:58:03 +02:00
  • 3f4e189b27 Android: fix typo calling onBackPressed() (Bug 4657) Sylvain Becker 2019-06-10 21:41:22 +02:00
  • 1e8d9e01dc Add mapping for Chinese-made Xbox Controller Benjamin Valentin 2019-03-17 23:47:12 +01:00
  • d8da33c03f 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
  • 9891c31ba0 Fixed bug 4641 - clang and clang-cl builds on windows create -Wpragma-pack warnings Sam Lantinga 2019-06-10 08:46:20 -07:00
  • 781692c03c cocoa: report proper input IDs for mouse/touch events. Ryan C. Gordon 2019-06-09 19:27:25 -04:00
  • e43550c039 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
  • 225ae6909e Add notes for SDL_WinRTRunApp and SDL2-WinRTResources for non-C++ projects Ethan Lee 2019-06-09 11:54:51 -04:00
  • 762b788f67 Cleanup on bug 3894 - Fuzzing crashes for SDL_LoadWAV Sam Lantinga 2019-06-09 12:46:10 -07:00
  • b5e9ebbafa Fixed compiler warning warning C4018: '<' : signed/unsigned mismatch Sam Lantinga 2019-06-08 19:12:05 -07:00
  • a21b5b3018 Fixed build Sam Lantinga 2019-06-08 19:09:43 -07:00
  • 990e166a3b Fixed bug 3894 - Fuzzing crashes for SDL_LoadWAV Sam Lantinga 2019-06-08 19:02:42 -07:00
  • 48ac92af54 Fixed bug 4041 - Android, SDL_Renderer OpenGLES 1 is loading GLESv2 library Sam Lantinga 2019-06-08 18:40:11 -07:00
  • 1b73d578f3 Temporary fix for bug 4254 - a _lot_ of strict aliasing warnings Sam Lantinga 2019-06-08 18:32:29 -07:00
  • 31765242d6 Fixed bug 4294 - Audio: perform more validation on conversion request Sam Lantinga 2019-06-08 18:22:18 -07:00
  • 3f19a6d5e8 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
  • 316ff3847b Fixed bug 4526 - replace SDL_RW* macros with functions for using in bindings Sam Lantinga 2019-06-08 17:43:23 -07:00
  • 2b6473dc05 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
  • 0442d19fc8 cocoa: Fix assert to use SDL_assert Ethan Lee 2019-03-04 12:16:43 -05:00
  • a73dacbf62 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
  • f3c6b1f51a Add mapping for Chinese-made Xbox Controller Benjamin Valentin 2019-03-17 23:47:12 +01:00
  • 8728ce4448 Fixed bug 4557 - SDL_SIMDAlloc and *Free should be in the public interface Sam Lantinga 2019-06-08 14:54:37 -07:00
  • 56b7f4cf31 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
  • 59483c6446 Fixed bug 4593 - Respect CMake's BUILD_SHARED_LIBS default behavior Sam Lantinga 2019-06-08 14:36:03 -07:00
  • 68bb8d6c13 Fixed bug 4594 - Fix install location of CMake targets on Apple platforms Sam Lantinga 2019-06-08 14:34:38 -07:00
  • d97387ccff Fixed bug 4600 - Dualshock 4 touchpad press is not detectable with SDL_JoystickGetButton Sam Lantinga 2019-06-08 14:32:19 -07:00
  • 30a5e90ba8 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