e841b066fd
cocoa: Another attempt at mouse vs touch support.
Ryan C. Gordon
2019-07-08 13:41:01 -04:00
680e7937e0
Fixed bug 4710 - audio/alsa: avoid configuring hardware parameters with only a single period
Sam Lantinga
2019-07-07 09:10:56 -07:00
67bb882e13
Fixed bug 4707 - SDL_SetRelativeMouseMode fails on Vivante
Sam Lantinga
2019-07-03 15:57:55 -07:00
f994da0ef0
Fixed bug 4702 - Android back button does not send SDL_KEYDOWN event fallback when event.getSource() is SOURCE_UNKNOWN
Sylvain Becker
2019-07-03 13:37:54 +02:00
b46c771994
raspberry: Actually commit the whole patch. :) (Thanks, Joe!)
Ryan C. Gordon
2019-07-02 16:49:35 -04:00
d2d06f4443
cocoa: Don't report trackpad mouse events as synthesized touches.
Ryan C. Gordon
2019-07-02 12:29:36 -04:00
d2058b45ae
raspberry: Fixed missing mouse cursor (thanks, Joe!)
Ryan C. Gordon
2019-07-02 10:26:54 -04:00
d5ebbcb4e5
dbus: Don't SimulateUserActivity if we're already inhibiting the screensaver.
Ryan C. Gordon
2019-07-02 09:43:26 -04:00
94658099e5
dbus: Add org.freedesktop.ScreenSaver.SimulateUserActivity support.
Ryan C. Gordon
2019-07-02 09:38:31 -04:00
027887da15
iOS: Fix the window size not being set properly when Split View is used on an iPad (bug #4586).
Alex Szpakowski
2019-07-01 14:52:56 -03:00
972bdfb47f
Made it more explicit that 2.0.10 and newer are required for the SDL_RW* functions
Sam Lantinga
2019-07-01 09:05:15 -07:00
60606dfb31
Documented that the SDL_RW* macros no longer exist, and you can't use an older SDL library if you build with SDL 2.0.10.
Sam Lantinga
2019-07-01 09:02:04 -07:00
959cfc428e
Fixed memory barrier macro check so it isn't quite so fragile
Sam Lantinga
2019-06-30 23:58:31 -07:00
a8bea85810
Limit the compile error to the case where we actually define the memory barrier macro as the function
Sam Lantinga
2019-06-30 23:55:28 -07:00
cc47810d36
Fixed bug 4683 - SDL_atomic infinite recursion on armv6/armv5 w/ thumb
Sam Lantinga
2019-06-30 23:26:16 -07:00
22a2decf64
Android: concurrency issues, make sure Activity is in running State when calling functions like SDL_CreateWindow, SDL_CreateRenderer, Android_GLES_CreateContext
Sylvain Becker
2019-06-28 16:38:42 +02:00
cfed0b7738
Add an "error" label in SDL_CreateRenderer (no op)
Sylvain Becker
2019-06-28 16:14:50 +02:00
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
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