7267835842
iOS: Fixed crashes when rotating the screen after destroying a window.
Alex Szpakowski
2015-11-12 20:58:11 -04:00
faee628941
Added Linux support for the Razer Sabertooth game controller
Sam Lantinga
2015-11-12 13:13:36 -08:00
0da59802aa
iOS: Set the 'player index' of MFi game controllers when they're opened for use.
Alex Szpakowski
2015-11-09 18:13:47 -04:00
84f6bc41b8
iOS: Fixed MFi game controller triggers to report the proper range of values.
Alex Szpakowski
2015-11-09 17:41:54 -04:00
5103ae9fd6
one last SDL fix: restore menu bar if we destroy a fullscreen window without transitioning it back to a non-fullscreen window first
Sam Lantinga
2015-11-09 08:55:07 -08:00
ebfb2ecb68
don't toggle SDL fullscreen state on OSX if we're destroying the window
Sam Lantinga
2015-11-09 08:55:01 -08:00
eeddb7c534
more SDL fullscreen state tracking fixes, don't update fullscreen flags on failure to change fullscreen state
Sam Lantinga
2015-11-09 08:54:56 -08:00
792354d6f0
SDL OSX implementation must account for the fact that going fullscreen can fail. improve the logic around retrying, make a few attempts before failing.
Sam Lantinga
2015-11-09 08:54:49 -08:00
2d884656c4
add hacky support for failed fullscreen transitions. SDL doesn't have the concept of a fullscreen transition that failed. if the user is actively changing spaces while the app goes fullscreen, it fails to go fullscreen; now it will just try again instead of hanging around with the wrong window styles.
Sam Lantinga
2015-11-09 08:54:42 -08:00
7ce64372c8
iOS MFi game controllers: inverted the thumbstick y axis values to match the behavior of other controllers.
Alex Szpakowski
2015-11-09 02:32:37 -04:00
cef2242025
Added Linux binding for Wii-U Pro controller
Sam Lantinga
2015-11-05 18:10:19 -08:00
38edc1779a
Add SDL_HINT_VIDEO_X11_NET_WM_PING to allow disabling _NET_WM_PING protocol handling in CreateWindow if desired.
Sam Lantinga
2015-10-27 11:18:04 -07:00
2b0140a91f
Add a new SDL_KEYMAPCHANGED SDL event to abstract notification of keyboard layout or input language changes.
Sam Lantinga
2015-10-27 11:17:32 -07:00
f8824cb99b
Mac: Fix returning to the window's Space in OS X 10.11+ when SDL_WINDOW_FULLSCREEN_DESKTOP is used (bug #3152.)
Alex Szpakowski
2015-10-23 03:37:53 -03:00
4c72d39ce7
D3D11: Fixed SDL_RenderDrawPoints() ignoring input after the first 128 points.
Philipp Wiesemann
2015-10-15 22:26:21 +02:00
82603b6058
Fix some Android keyboards that didn't work properly.
Ryan C. Gordon
2015-10-15 12:52:00 -04:00
ceb43129ac
Added SDL_JoystickCurrentPowerLevel() to WhatsNew.txt for 2.0.4.
Philipp Wiesemann
2015-10-07 21:18:08 +02:00
d80f45666b
Fixed freeing uninitialized pointers on failure cleanup in tests.
Philipp Wiesemann
2015-10-07 21:16:59 +02:00
5bc93cc5c6
Android: Added a new method in SDLSurface.
Philipp Wiesemann
2015-10-07 21:16:40 +02:00
86711041f2
Android: Added new key codes without mapping.
Philipp Wiesemann
2015-10-07 21:16:18 +02:00
5b1741132f
Converted tabs to spaces for SDL style
Sam Lantinga
2015-10-06 21:40:50 -07:00
9bd640e1a0
Fixed sending a size event while setting up a window (fix for DOTA 2 on Source 2)
Sam Lantinga
2015-10-06 21:16:21 -07:00
c5e68d68e7
Mac: Reset display if going from fullscreen to a fullscreen Space or vice-versa.
Ryan C. Gordon
2015-10-06 00:10:54 -04:00
7bc72eaf84
Fixed forcing the window size when creating a non-resizable window on Windows.
Sam Lantinga
2015-10-01 11:21:06 -07:00
667783ba88
Fixed swapped Windows and Linux entries for the Cideko AK08b
Sam Lantinga
2015-09-30 16:00:21 -07:00
a0c4b56ff9
SDL - added new SDL_JoystickCurrentPowerLevel() API that returns the battery level of the selected joystick. Currently only implemented for XInput devices, other platforms are a TODO.
Sam Lantinga
2015-09-30 15:39:30 -07:00
c2f0394831
Fix crash on controller hotplug on linux.
Sam Lantinga
2015-09-30 15:38:30 -07:00
e015140af3
SDL - add dynapi entry points for SDL_JoystickCurrentPowerLevel
Sam Lantinga
2015-09-30 15:38:18 -07:00
ed23a3f887
Added support for the Cideko AK08b
Sam Lantinga
2015-09-30 15:33:33 -07:00
10daf1f4d3
Android: Removed three internal functions not used by SDL.
Philipp Wiesemann
2015-09-27 20:12:47 +02:00
ab2a350033
iOS: show message boxes using the new UIAlertController APIs when supported, rather than the deprecated UIAlertView.
Alex Szpakowski
2015-09-25 15:17:20 -03:00
774b077513
iOS: Fixed pointer dereference after free.
Philipp Wiesemann
2015-09-21 21:19:37 +02:00
7805c1bc52
Updated configure.in file.
Philipp Wiesemann
2015-09-21 21:16:54 +02:00
2bf6f1bcb7
Added initial support for MFi game controllers on iOS.
Alex Szpakowski
2015-09-20 23:08:36 -03:00
d338f46512
Added copyright information on test/sample.wav; the mystery is solved! :)
Ryan C. Gordon
2015-09-18 16:22:23 -04:00
cdfec382c6
Added more entries to WhatsNew.txt for 2.0.4.
Philipp Wiesemann
2015-09-18 21:27:00 +02:00
efad04c317
Android: Added check if Java method for APK expansion file exists.
Philipp Wiesemann
2015-09-18 21:26:46 +02:00
40364541f5
Android: Improved last error message for failed APK expansion file use.
Philipp Wiesemann
2015-09-18 21:26:28 +02:00
625d39b164
Android: Added additional error messages for APK expansion file use.
Philipp Wiesemann
2015-09-17 22:36:11 +02:00
6e7c479ec2
Android: Fixed trying to read from APK expansion files without version hint set.
Philipp Wiesemann
2015-09-17 22:30:24 +02:00
92ca42d940
Android: Renamed SDLActivity's Java method used for APK expansion files.
Philipp Wiesemann
2015-09-17 22:24:54 +02:00
5e5936822f
Android: Added to APK expansion file hint documentation in header file.
Philipp Wiesemann
2015-09-17 22:21:12 +02:00
68b3b5423e
Android: Removed empty onDraw() override method from SDLActivity.
Philipp Wiesemann
2015-09-17 22:14:37 +02:00
ecfdb10cfa
iOS SDL_GL_CreateContext: Clamp the multisample sample count when the requested value is too high, rather than failing to create the context.
Alex Szpakowski
2015-09-15 00:25:07 -03:00
a506f1cbc7
Windows: Try to use xinput9_1_0.dll if XInput 1.4 and 1.3 are not available.
Alex Szpakowski
2015-09-14 22:50:55 -03:00
76fc378837
Fixed the header guard in the darwin SDL_sysjoystick_c.h file.
Alex Szpakowski
2015-09-14 22:44:20 -03:00
08ce12c4e3
Fixed divide by zero if the application has run out of GDI handles and is trying to show an error dialog
Sam Lantinga
2015-09-14 11:15:25 -07:00
4295a6fe47
Mac: Fixed off-by-one bug when plugging in a joystick (thanks, Konstantin!).
Ryan C. Gordon
2015-09-13 11:29:45 -04:00
82c8825cb5
iOS: Added support for force-touch on capable devices.
Alex Szpakowski
2015-09-09 19:08:52 -03:00
6a32ca7a39
Mac: Fixed SDL_SetWindowSize to set the size of the content area of the window, rather than the total size including decorations.
Alex Szpakowski
2015-09-09 13:55:11 -03:00
c964ac91bf
Fix Bug 3114: SDL's MSVC-2010+ projects can fail to build via a custom VS .sln
David Ludwig
2015-09-07 13:25:36 -04:00
e8757e873e
Android: Changed return type of four JNI functions from int to jint.
Philipp Wiesemann
2015-09-05 20:21:52 +02:00
628d8edb95
SDL - add a new SDL_HINT_MAC_BACKGROUND_APP hint, when set or set to 1 don't force the app to be foreground
Alfred Reynolds
2015-07-29 17:19:15 -07:00
5aaf81c84e
Fix up monitor enumeration for Windows 8.1 case.
Alfred Reynolds
2015-07-29 17:19:13 -07:00
e09d95c36a
Fix SDL_GetWindowPosition to be properly monitor-aware and return the monitor x,y when fullscreened.
Alfred Reynolds
2015-07-29 17:19:11 -07:00
6ebbf7ddd0
Turn on debug info generation for release configs.
Alfred Reynolds
2015-07-29 17:19:09 -07:00
b0e145b3e1
Move GetDisplayDPI to the end of the file.
Alfred Reynolds
2015-07-29 17:19:06 -07:00
dc2e9ba13b
Fix build.
Alfred Reynolds
2015-07-29 17:19:04 -07:00
51c72e10f7
Add X11 implementation of SDL_GetDisplayDPI.
Alfred Reynolds
2015-07-29 17:19:02 -07:00
61c7415071
Add SDL_GetDisplayDPI routine and implement for Windows.
Alfred Reynolds
2015-07-29 17:18:56 -07:00
f5cf86769a
x11: Catch fatal X errors when calling glXMakeCurrent().
Ryan C. Gordon
2015-07-28 00:12:50 -04:00
c344b734f4
iOS: Avoid generating an OpenGL error (but still fail to create the context) if the specified MSAA sample count is unsupported.
Alex Szpakowski
2015-07-19 19:56:16 -03:00