Ozkan Sezer
d86a746542
SDL_video.c: fix whitespace
2020-10-09 02:55:00 +03:00
Ozkan Sezer
3aa418f451
SDL_video.h (SDL_DisplayEventID): remove comma at end of enumerator list
2020-10-09 02:50:15 +03:00
Sam Lantinga
76980e30f2
Added events for dynamically connecting and disconnecting displays, with an iOS implementation
2020-10-08 16:42:20 -07:00
Sam Lantinga
cd703b5628
Fixed whitespace
2020-10-08 16:41:48 -07:00
Ozkan Sezer
54bb9aaccb
k_rem_pio2.c: fix typo in second memset(): iq, not q. fixes bug #5309 .
2020-10-08 11:51:02 +03:00
Ryan C. Gordon
061256a3b3
metal: Clear the framebuffer if presenting without any other operations.
2020-10-07 14:45:24 -04:00
Sylvain Becker
b7b8ef59a3
Fixed bug 5307 - Crash when joysticks hats number is odd (Thanks Sockmonsters!)
2020-10-07 17:32:07 +02:00
Sylvain Becker
bffbc7e316
Android: better readibility for pollHapticDevices()
2020-10-07 14:55:23 +02:00
Sylvain Becker
20c070d869
Android: better readibility for pollInputDevices()
...
and move isDeviceSDLJoystick() test at first since there are
always non-joystick devices present.
2020-10-07 14:41:37 +02:00
Ryan C. Gordon
003a16980c
wav: Make sure the data size is a multiple of blockalign, not an exact match.
...
I _think_ this is a right thing to do; it fixes a .wav file I have here that
has blockalign==2 when channels==2 and bitspersample==16, which otherwise
would fail.
2020-10-06 11:07:50 -04:00
Ryan C. Gordon
4627426994
url: WinRT actually works now (and has been tested, hooray!).
2020-10-06 00:42:17 -04:00
Ryan C. Gordon
fc05a696ad
url: Attempt #23235 at WinRT support...
2020-10-05 18:08:58 -04:00
Ryan C. Gordon
02addf135d
url: Another attempt at WinRT implementation.
2020-10-05 18:01:47 -04:00
Ozkan Sezer
1f4b5d54ca
windows/SDL_syslocale.c: make it build against older SDKs.
2020-10-06 00:20:20 +03:00
Ryan C. Gordon
6c6d2bdd35
url: Build WinRT-specific code as C++/CX instead of plain C++.
2020-10-05 16:25:48 -04:00
Ryan C. Gordon
7bec9df11a
url: Add to Xcode project files, iOS/mac fixes.
2020-10-05 16:10:10 -04:00
Ryan C. Gordon
57e3003d3f
url: Attempt at WinRT support.
2020-10-05 15:47:47 -04:00
Ryan C. Gordon
566479c8ef
url: ShellExecuteW returns an HINSTANCE, so deal with that more correctly.
2020-10-05 15:37:37 -04:00
Ryan C. Gordon
b7b2995fbe
url: Added to Visual Studio project files.
2020-10-05 15:27:32 -04:00
Ryan C. Gordon
ee56090d3d
url: Cleanups and compiler warning fixes.
2020-10-05 15:03:44 -04:00
Ryan C. Gordon
cc158f2983
url: removed "extern" from function declaration.
2020-10-05 14:36:37 -04:00
Ryan C. Gordon
a3802cc533
url: Patched to compile on C89 compilers.
2020-10-05 14:30:33 -04:00
Ozkan Sezer
66d847bd5c
url: Patched to compile on OS/2.
2020-10-05 21:30:00 +03:00
Ryan C. Gordon
0099e38a9a
url: More win32 fixes.
2020-10-05 14:21:03 -04:00
Ryan C. Gordon
3fe5ce7b9a
url: Patched to compile on OS/2.
2020-10-05 14:08:45 -04:00
Ryan C. Gordon
1f4fecc5c1
url: Patched to compile on Windows.
2020-10-05 14:07:32 -04:00
Ryan C. Gordon
777d0f19f8
url: patched to compile on macOS.
2020-10-05 14:06:25 -04:00
Ryan C. Gordon
d068d05aa5
url: Make sure Haiku's C++ implementation is flagged as 'extern "C"'
2020-10-05 14:01:08 -04:00
Ryan C. Gordon
bf9fcb539a
url: The function is "SDL_Unsupported" not "SDL_Unimplemented"
2020-10-05 14:00:08 -04:00
Ryan C. Gordon
2d82cf78e1
url: put the Android bits in core/android
2020-10-05 13:59:03 -04:00
Ryan C. Gordon
efd665e2c7
Backed out changeset a43cb4e54949
...
Trying this a different way.
2020-10-05 13:56:45 -04:00
Ryan C. Gordon
913aa610b5
url: Include SDL_misc.h to get public function declaration.
2020-10-05 13:53:15 -04:00
Ryan C. Gordon
5f68812249
url: patched to compile on Android.
2020-10-05 13:52:52 -04:00
Ryan C. Gordon
84f1b95008
url: fixed wrong include.
2020-10-05 13:39:39 -04:00
Ryan C. Gordon
77c9d73b63
Removed SDL_AndroidOpenURL, added SDL_OpenURL.
...
Still needs to be wired into Xcode and Visual Studio projects.
2020-10-05 11:30:33 -04:00
Sylvain Becker
a70bb58d4b
Android: fix joystick allocation that can be never used
2020-10-05 14:09:31 +02:00
Sylvain Becker
2e38c94950
Fix bug 5303 - Touch/Mouse events simulation doesn't work on Android 11
2020-10-05 09:56:03 +02:00
Sylvain Becker
cd6670bff3
SDL_Surface refcount: fix memory leak when blitting between stack'ed surfaces
...
(see bug 5226)
2020-10-02 10:48:27 +02:00
Ozkan Sezer
883509fc84
ran gendynapi.pl after new (android-only) api additions.
2020-10-01 17:01:00 +03:00
Sylvain Becker
0467e332af
Android: small change to access to device diagonal value
2020-10-01 15:11:28 +02:00
Sylvain Becker
62b029f33b
Android: missing import class Uri
2020-10-01 14:43:59 +02:00
Sylvain Becker
dd55bfe89c
Android: add helper function to open an URL/URI (see bug 2783)
2020-10-01 14:41:09 +02:00
Sam Lantinga
45c644cc99
Added support for the MOGA XP5-X Plus
2020-09-28 21:19:45 -07:00
Manuel Alfayate Corchete
78c274cb5d
kmsdrm: merge patches from Ozkan Sezer for removing c-99'isms and raising libgbm version reqeriments.
2020-09-26 19:18:09 +02:00
Sylvain Becker
7ad71563ce
Android: be sure shared libraries are loaded in onConfigurationChanged()
...
This could fix a rare crash if:
- onConfigurationChanged is called before onCreate();
or
shared libraries failed to load and onConfigurationChanged() is called
2020-09-25 10:42:07 +02:00
Sylvain Becker
955f3184f9
Fixed bug 5239 - Play audio on Android while backgrounded (Thanks Superfury)
...
Add hint SDL_HINT_ANDROID_BLOCK_ON_PAUSE_PAUSEAUDIO not to pause audio when
the app goes to background.
(It requires SDL_ANDROID_BLOCK_ON_PAUSE as "Non blocking")
2020-09-25 10:14:42 +02:00
Ryan C. Gordon
7ef188a1fb
jack: Fixed memory leak on device close.
2020-09-19 14:01:57 -04:00
Ozkan Sezer
ebfc98377b
ac_check_define.m4: remove stray AC_DEFINE outside of the macro definition
...
cf.: bug #5234 -- generated configure script does not change.
2020-09-16 22:20:02 +03:00
Ozkan Sezer
3544bd9e78
ac_check_define.m4: AC_REQUIRE([AC_PROG_CPP]) -- fixes bug #5234 .
2020-09-16 08:00:20 +03:00
Cameron Gutman
9a769da04a
X11: Remove our X11 error callback in X11_DeleteDevice()
...
If we don't remove it, we will infinitely recurse if X11_CreateDevice() is
called again and orig_x11_errhandler becomes X11_SafetyNetErrHandler().
2020-09-07 20:10:50 -07:00