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
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
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
8a37848de9
Fixed bug 4605 - WASAPI_WaitDevice hang
Sam Lantinga
2019-06-08 13:41:46 -07:00
82af42761e
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
15bae953b1
Fixed bug 4642 - Rework SDL_netbsdaudio to improve performance
Sam Lantinga
2019-06-08 13:03:36 -07:00
f2c8d8e9c4
Fixed bug 4443 - Incorrect scan code reported for numpad 5
Sam Lantinga
2019-06-08 10:47:43 -07:00
5cb14f4467
Ignore Xbox One S gamepads with older firmware in HIDAPI
Cameron Gutman
2019-04-30 20:37:49 -07:00
b1100ec18c
Fixed Android build warning
Sam Lantinga
2019-06-08 10:23:52 -07:00
03cf24162f
OpenSL ES audio cleanup and added a note with low latency audio discussion
Sam Lantinga
2019-06-08 10:21:38 -07:00
166d15fd75
Fixed surround sound channel setup for Android OpenSL ES audio driver
Sam Lantinga
2019-06-07 15:09:15 -07:00
23a2b47790
Protect against NULL device in the Android hidapi implementation
Sam Lantinga
2019-06-07 09:00:26 -07:00
9261e473d6
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
20ec866484
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
6c0b304c93
Fixed bug 4655 - evdev is available on FreeBSD, check in 'configure' limited to Linux
Sam Lantinga
2019-06-05 12:03:45 -07:00
23569362dc
Use SDL sized types
Sam Lantinga
2019-06-05 12:01:26 -07:00
3e3294645f
Fixed bug 4656 - SDL_evdev.c uses Linux specific integer types
Sam Lantinga
2019-06-05 08:54:07 -07:00
723d014336
Fixed bug 4171 - SDL_GetQueuedAudioSize is broken with WASAPI
Sam Lantinga
2019-06-04 17:32:15 -07:00
b5d3b6fc25
test: unify all the command line usage logging.
Ryan C. Gordon
2019-05-28 17:39:13 -04:00
9b5811592d
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
dce56ab9fa
Added a function to get the current Android SDK version at runtime
Sam Lantinga
2019-05-23 14:19:00 -07:00
f3e76ea1d0
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
02f9667a08
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
e401b95025
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
8b57331e71
Fixed hiding the Android virtual keyboard when the return key is pressed
Sam Lantinga
2019-05-23 11:05:43 -07:00
f91b87859c
Android: minimum size for IME, so that it takes focus
Sylvain Becker
2019-05-23 09:08:40 +02:00
7ec514d48f
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
50aab19877
Fixed bug 4639 - CMake build does not generate libhidapi.so for Android
Sam Lantinga
2019-05-21 17:33:31 -07:00
9b2202828a
Fix use-after-free when pumping the event loop after SDL_DestroyWindow()
Cameron Gutman
2019-04-28 17:37:49 -07:00
a4e33b9cc4
Added support for Bluetooth keyboards on iOS In this case the keyboard is shown and immediately hidden, but we still want to accept text input
Sam Lantinga
2019-05-20 14:31:03 -07:00
582a3c994d
Fixed mouse focus for touch events on iOS
Sam Lantinga
2019-05-20 14:08:35 -07:00
4bd808346a
vulkan: Swapped out a free() that should have been an SDL_free().
Ryan C. Gordon
2019-05-20 00:41:18 -04:00
ebbb295e85
vulkan: Patched to compile on Visual Studio.
Ryan C. Gordon
2019-05-19 23:29:50 -04:00
d778b26dd1
Patched to compile in C89 mode.
Ryan C. Gordon
2019-05-19 20:25:02 -04:00
5f34162030
Fixed bug 4474 - Add support for an ASUS Gamepad variation
Sam Lantinga
2019-05-19 12:06:58 -07:00
41c718db85
Fixed bug 4469 - make SDL_CreateTextureFromSurface pick a more appropriate format
Sam Lantinga
2019-05-19 12:04:06 -07:00
ee0a482a87
Fixed bug 4401 - SDL_GetWindowPosition() wrong after SDL_SetWindowPosition() until window is moved on macOS
Sam Lantinga
2019-05-19 11:52:25 -07:00
2ee9b1ddce
Fixed bug 4025 - SDL_Renderer OpenGL : add support for textures ABGR, RGB, BGR
Sam Lantinga
2019-05-19 11:01:36 -07:00
8dea23c705
Fixed bug 3911 - SYSWM generic X11 events missing event data
Sam Lantinga
2019-05-19 10:44:14 -07:00
29f3445316
video: Add Vulkan support for vivante fb Vivante drivers use the VK_KHR_display extension for rendering directly to the frame buffer. This patch adds support to the video driver for Vulkan rendering using that method.
Wladimir J. van der Laan
2019-05-19 10:36:44 -07:00
00e5eeb40e
test: added SDLTest_CommonDefaultArgs()
Ryan C. Gordon
2019-05-19 01:45:15 -04:00
18d83093a8
test: configure/make shouldn't build GL/GLES1/GLES2 programs if unsupported.
Ryan C. Gordon
2019-05-18 23:47:57 -04:00
abcfe80480
[SDL] iOS fix bug with audio interrupted by a phone call not restoring.
Sam Lantinga
2019-05-14 14:20:54 -07:00
59da5b7202
[SDL] ios Touch Fix.
Sam Lantinga
2019-05-14 07:55:42 -07:00
ba0fc92ded
Patched to compile.
Ryan C. Gordon
2019-05-11 12:41:21 -04:00
6eb0521131
Emscripten: Use EMSCRIPTEN_EVENT_TARGET_*
Charlie Birks
2019-05-09 12:09:45 +01:00
4e5b5cba12
Emscripten: Switch from canvas[XY] to target[XY] Allows mouse/touch events to work on non-default canvases
Charlie Birks
2019-05-09 12:09:40 +01:00
60c48ed787
Emscripten: Store canvas id in WindowData Also replace all hardcoded uses of "#canvas" or NULL
Charlie Birks
2019-05-09 12:09:34 +01:00
f0a4fea89f
Fixed bug 4608 - Android: not getting SDL_WINDOWEVENT_FOCUS_GAINED on start of our app
Sam Lantinga
2019-04-25 14:17:07 -07:00
1a38853e02
Fixed bug 4566 - Hot-plugging Bluetooth controller causes force-quit on Android
Sam Lantinga
2019-04-24 12:53:15 -07:00
53a6196b32
Don't redefine __SSE__ and related macros if they're already defined
Sam Lantinga
2019-04-23 16:57:34 -07:00
f5252530d2
Change my previous fix based on feedback from dev @saml
Sam Lantinga
2019-04-23 14:08:14 -07:00
624f8ca80d
Created Xcode schemes for building on iOS and tvOS
Sam Lantinga
2019-04-23 14:08:09 -07:00
ecce803d54
Fix compile errors I hit when building org.libsdl in source2 (part 2 of 2) @saml
Sam Lantinga
2019-04-23 12:59:28 -07:00
45b5453b16
Fix compile errors I hit when building org.libsdl in source2 (part 1 of 2)
Sam Lantinga
2019-04-23 12:59:20 -07:00
f79190f407
Use _Exit() when available
Sam Lantinga
2019-04-23 07:59:31 -07:00
46af90d8c3
Add a configure option allowing users to choose whether to install sdl2-config
Hugh McMaster
2019-04-07 23:01:07 +10:00
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