Commit Graph

7336 Commits (e65a6583201ee1a9a3bc3064655b186fc16ef719)

Author SHA1 Message Date
Fabrice Fontaine b55b11af88 src/thread/pthread/SDL_systhread.c: drop include of SDL_platform.h
Drop include of SDL_platform.h as SDL_plaform.h is already included by
SDL_internal.h -> SDL_config.h -> SDL_platform.h

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2021-03-23 11:33:00 +03:00
Sam Lantinga 0bdf4f95bf Disable system gestures on MFi controllers while they're open, so we get access to the back button, etc. 2021-03-22 19:19:01 -07:00
Sam Lantinga 1133ea0349 Fixed crash on macOS when AirPods are connected 2021-03-22 19:18:57 -07:00
Sam Lantinga 38b61a3dfa Merge commit 'c12f46b100d22a0e06a64c5b6d1baa3f446d34e6' into main 2021-03-22 19:16:40 -07:00
Sam Lantinga 258b7bc095 Merge commit '100166d7d7b9ed2e486841498bbc585975630e02' into main 2021-03-22 19:16:38 -07:00
Sam Lantinga f82aa7f5d1 Merge commit '3f40396d33df64326756648c3b8e1e6c922efe5a' into main 2021-03-22 19:16:36 -07:00
Sam Lantinga 9332006c13 Merge commit '3c78c211d57de4e9d953bf71d49d2ee313bbff34' into main 2021-03-22 19:16:34 -07:00
Sam Lantinga 8a6810e906 Merge commit '599edaaf935aab69a13b5643566adc652a27e268' into main 2021-03-22 19:16:33 -07:00
Sam Lantinga b0a047e5a9 Merge commit '1899844952756e932ee29e887501a9b9e39066a6' into main 2021-03-22 19:16:31 -07:00
Sam Lantinga de832227c2 Merge commit 'cf7eef37b045bb3f841e26879fdc6d865c8aaf9a' into main 2021-03-22 19:16:29 -07:00
Sam Lantinga 4b0b39a34a Merge commit '4acd1dcad41d154093ca14eb0adf35f4f99bd06a' into main 2021-03-22 19:16:28 -07:00
Sam Lantinga f68ba3cc02 Merge commit '8638674a87c5ea92a87240f8f562ed1c437d1e0c' into main 2021-03-22 19:16:26 -07:00
Sam Lantinga 3ee89ac02e Merge commit '82ff6045fa0aa7ff2f861f20512e30688c7b51c3' into main 2021-03-22 19:16:25 -07:00
Sam Lantinga 4b1dfb14e1 Merge commit 'c35e71892e6aa7dc2ce697b9ac44e541b3f4caef' into main 2021-03-22 19:16:23 -07:00
Sam Lantinga d27c6c11c2 Merge commit '281a7bdbb32a2ba124f8a6f6f9555135fd529599' into main 2021-03-22 19:16:21 -07:00
Sam Lantinga 4fa42cab7f Merge commit 'e5821bf27668a5e54c699743c2b97aa55e7bdd93' into main 2021-03-22 19:16:19 -07:00
Sam Lantinga f83ce7c5fb Merge commit 'e6b87005c1da22a0d354619eebca53c6e2639cdd' into main 2021-03-22 19:16:18 -07:00
Sam Lantinga e62a25184a Merge commit '7d1b9c9f15eb3a9f2f253e5b88e091192a894bcf' into main 2021-03-22 19:16:16 -07:00
Sam Lantinga 49eb7c6b6b Merge commit 'db2ad6fa73adec1ffa364d21d130b69533b30ade' into main 2021-03-22 19:16:15 -07:00
Sam Lantinga e944e404c0 Merge commit 'e7e519a466167b7a3ef9aa9b28535e436139936a' into main 2021-03-22 19:16:13 -07:00
Sam Lantinga 4c412d2956 Merge commit '559be8aab4a0e666fa6fc9104570c9c9d3c54f12' into main 2021-03-22 19:16:11 -07:00
Sam Lantinga 9ffd477dfc Merge commit '07fc1bb883f4c3d9b603d3a3be8c0f2dfa88c285' into main 2021-03-22 19:16:10 -07:00
Sam Lantinga 7ed20094d8 Merge commit '96cc49857dcda68910b8ae068de41983da625de2' into main 2021-03-22 19:16:08 -07:00
Sam Lantinga f5253b708d Merge commit 'e14fb54e3f409aaf1e10b94f681677c59b1b7e0d' into main 2021-03-22 19:16:06 -07:00
Sam Lantinga 4ef1527071 Merge commit '7a2a1a85e9738f127d9f6cd600aa6e1c4459bf2e' into main 2021-03-22 19:16:05 -07:00
Sam Lantinga 2b65588193 Merge commit '108bb5aabec27f41f977bdf7a4d2ed3f3a3962eb' into main 2021-03-22 19:16:03 -07:00
Sam Lantinga 0727acd6ba Merge commit 'e213f37a450ca6b0746aa3acd2e5e76635e13468' into main 2021-03-22 19:16:01 -07:00
Paul Cercueil c12f46b100 [KMSDRM] Fix segmentation fault
Deference the windata pointer *after* checking that it's non-NULL.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
2021-03-22 22:20:01 +03:00
vanfanel 100166d7d7 [KMSDRM] Improve cursor management. 2021-03-22 10:48:02 -07:00
Ryan C. Gordon 3f40396d33
First shot at merging the wiki documentation into the headers. 2021-03-21 14:19:53 -04:00
Ryan C. Gordon 3c78c211d5
Update and rename README.txt to README.md
This mostly just makes this look nice in web browsers with small displays,
like cell phones reading the GitHub project page.
2021-03-20 18:46:37 -04:00
Sylvain Becker 599edaaf93
Merge pull request #4212 from Cacodemon345/patch-11
Fix GitHub display of README-android.md
2021-03-20 21:07:32 +01:00
Cacodemon345 1899844952
Fix GitHub display of README-android.md 2021-03-21 01:15:14 +06:00
vanfanel cf7eef37b0 [KMSDRM] Better error handling: no more segfaults on window creation failure. 2021-03-20 11:03:52 -07:00
Vanfanel 4acd1dcad4 [KMSDRM] Improve the way to test if last window is being destroyed. 2021-03-18 11:04:28 -07:00
Vanfanel 8638674a87 [KMSDRM] Correct comment typo. 2021-03-18 11:04:28 -07:00
vanfanel 82ff6045fa [KMSDRM] Unload GL/EGL libs and destroy GBM only when we are destroying the last window. 2021-03-18 11:04:28 -07:00
vanfanel c35e71892e [KMSDRM] All non-vulkan windows have to be marked as OPENGL, not only the first created one. 2021-03-18 11:04:28 -07:00
vanfanel 281a7bdbb3 [KMSDRM] Make the gbm_init flag a viddata member to avoid GBM re-init when several displays are connected. 2021-03-18 11:04:28 -07:00
Ozkan Sezer e5821bf276 regenerated configure. 2021-03-18 00:10:00 +03:00
Vanfanel e6b87005c1 Fix tests configuration and building when only GLVND full OpenGL implementation is present. 2021-03-17 12:33:22 -07:00
Vanfanel 7d1b9c9f15 [KMSDRM] Remove unneeded function calls and improve comments for future reference. 2021-03-17 11:29:13 -07:00
Ryan C. Gordon db2ad6fa73
git-pre-push-hook: remove ".git" from URL. 2021-03-17 13:36:38 -04:00
Ryan C. Gordon e7e519a466
dsp: Refuse to initialize if there aren't any Open Sound System devices.
This prevents the dsp target from stealing the audio subsystem but not
being able to produce sound, so other audio targets further down the list
can make an attempt instead.

Thanks to Frank Praznik who did a lot of the research on this problem!
2021-03-17 13:04:05 -04:00
Ankith 559be8aab4 fix invalid out of bounds UTF8 handling 2021-03-16 18:51:28 -07:00
Ankith 07fc1bb883 Fix invalid UTF-8 handling of extra bytes 2021-03-16 18:51:28 -07:00
Vanfanel 96cc49857d [Build system] Report differentiated glx and glvnd OpenGL implementation detection. 2021-03-16 18:35:39 -07:00
Vanfanel e14fb54e3f [KMSDRM] Undo SDL_CreateRenderer() modifications aimed at create opengles2 when KMSDRM is in use because it's a harmful solution. 2021-03-16 11:07:54 -07:00
Ryan C. Gordon 7a2a1a85e9
documentation: initial script to merge header comments and the wiki.
This is a work-in-progress, but the idea is it can convert between our
wiki and the SDL header's doxygen comments, so we can attempt to keep them
in sync.

This might be a fool's errand, but I'm optimistic it'll work enough that we
can clean up little issues as we go, as long as we have some discipline
about how we write documentation. If nothing else, it's going to result in
a solid spring-cleaning of both the wiki and the headers!
2021-03-16 13:49:35 -04:00
Vanfanel 108bb5aabe [KMSDRM] Modify SDL_CreateRenderer() to create an opengles2 renderer when the KMSDRM backend is being used and no renderer name has been specified. 2021-03-15 18:47:22 -07:00