Philipp Wiesemann
45abe97d21
Fixed typo in message of alert dialog for not loaded libraries on Android.
2014-10-23 16:34:48 +02:00
Philipp Wiesemann
402661665d
Fixed writing new errors to standard output instead of error output on Android.
2014-10-23 16:33:27 +02:00
Philipp Wiesemann
28e6e9079b
Fixed documentation in source for Android.
2014-10-23 16:31:02 +02:00
Gabriel Jacobo
ec40387505
[Android] #2759 : Show a message on failure to load a .so library (by Sylvain)
2014-10-21 11:44:35 -03:00
Gabriel Jacobo
366cc5b763
Clarify (lack of) support for desktop OpenGL on the Raspberry Pi
2014-10-21 11:27:06 -03:00
Philipp Wiesemann
ab7bcfc0a3
Fixed setting of screen saver state crashing on some version of Android.
...
Setting Window flags seems to affect Views and must be handled on UI thread.
2014-10-20 22:19:09 +02:00
Gabriel Jacobo
32120029aa
Bug 2739 - [Android] No support for SDL_DisableScreenSaver by Martin Gerhardy
2014-10-20 10:10:39 -03:00
Philipp Wiesemann
fa7abca4ec
Fixed bug 2476 - Allow custom main() arguments
...
rettichschnidi
I would like to pass custom arguments from my Java code (subclass of SDLActivity) to the native SDL2 binary.
2014-10-17 23:36:45 +02:00
Philipp Wiesemann
d4d1f23355
Fixed typo in source comment.
2014-10-17 23:26:02 +02:00
Philipp Wiesemann
a18debdc6a
Fixed syntax error in cmake file.
2014-10-17 23:10:33 +02:00
Sam Lantinga
5cc584ac32
Added a platform cleanup function for the Vivante video driver
2014-10-16 09:54:13 -07:00
Gabriel Jacobo
d9bcf961c1
[udev] Fixes #2654 , ID_INPUT_KEY devices are ignored.
...
Also added some references to udev code where these flags are set.
2014-10-16 09:41:42 -03:00
Gabriel Jacobo
c3aa3618f7
[X11] Obey DISPLAY environment variable when selecting screen (Steaphan Greene)
...
Discussed in bug #2192 , tested with Xvfb in dual head configuration.
2014-10-15 18:33:43 -03:00
David Ludwig
cb3ef93994
WinRT build fix
2014-10-15 15:50:35 -04:00
Sam Lantinga
2e1b197024
Updated configure based on recent configure.in changes
2014-10-15 16:26:51 +00:00
Sam Lantinga
a2b98844f2
Expanded the iMX6 video driver into a general Vivante video driver that works across multiple SoCs
2014-10-15 09:18:17 -07:00
Sam Lantinga
cf83cad757
Better error reporting for video drivers with less than full functionality.
2014-10-15 09:14:09 -07:00
Sam Lantinga
a06170f593
Fixed bug where EGL function pointers wouldn't get saved in optimized gcc builds
2014-10-15 09:13:36 -07:00
Sam Lantinga
67cbb818a0
Fixed spurious SDL error on shutdown if mouse capture isn't supported
2014-10-15 09:11:15 -07:00
Sam Lantinga
33e438b7be
Fixed input device detection on systems that aren't running the udev daemon
2014-10-15 09:10:50 -07:00
Sam Lantinga
2af49b5e11
Fixed crash if the event subsystem didn't initialize properly
2014-10-15 09:09:57 -07:00
David Ludwig
d244d7c756
WinRT: fixed bug whereby offscreen-rendered content could get improperly rotated
...
Attributes on the host device's rotation were getting applied to offscreen
textures in an invalid manner. This was causing some apps to look different,
depending on how the device was rotated.
2014-10-14 09:53:46 -04:00
Sam Lantinga
573933a9dd
Fixed log typo
2014-10-13 14:10:41 -07:00
Sam Lantinga
bd3bb2468f
Minor cleanups
2014-10-13 10:46:27 -07:00
Sam Lantinga
61b523d071
Added configure options to disable OpenGL ES 1.1 and 2.0 individually
2014-10-13 10:43:10 -07:00
David Ludwig
da8df5f00c
WinRT: expanded the documentation on SDL_HINT_WINRT_HANDLE_BACK_BUTTON
2014-10-04 14:59:41 -04:00
Jørgen P. Tjernø
52538ec24d
Mac: Fix build with clang from Xcode 6.
2014-09-30 11:20:50 -07:00
Philipp Wiesemann
a992769e0a
Fixed broken layout for buttons with configured color in messagebox on Android.
2014-09-25 20:56:27 +02:00
Philipp Wiesemann
87dede4f00
Added setting configured color to button texts for messagebox on Android.
2014-09-24 23:46:46 +02:00
David Ludwig
36801e9d0d
WinRT: cleaned up the opening section of the README
2014-09-19 12:09:51 -04:00
David Ludwig
37b859fab8
WinRT: fixed broken emphasis formatting in README, when rendering it with Doxygen
2014-09-19 11:27:18 -04:00
Gabriel Jacobo
723a0bc355
[Android] Better fix for #2480 , pause/resume audio
2014-09-18 11:03:34 -03:00
Ryan C. Gordon
4563873c18
Haptic: Deal with negative periodic magnitudes (thanks, Elias!).
...
A negative periodic magnitude doesn't exist in Windows' and MacOS' FF APIs
The periodic magnitude parameter of the SDL Haptic API is based on the Linux
FF API, so it means they are not directly compatible:
'dwMagnitude' is a 'DWORD', which is unsigned.
Fixes Bugzilla #2701 .
2014-09-17 14:49:36 -04:00
Ryan C. Gordon
95aab99aee
Fixed haptic documentation typos (thanks, Elias!).
...
Partially fixes Bugzilla #2701 .
2014-09-17 14:47:42 -04:00
Gabriel Jacobo
bcce626c90
[Android] Fixes #2480 , music does not pause when process backgrounded
...
This modifies SDL_PauseAudio behavior to pause all audio devices instead of
just the default one (required on Android, at least for testmultiaudio on my
Nexus 4 which reported 2 audio devices).
It also changes SDL_PauseAudioDevice to retain the device lock from pause until
resume in order to save battery in mobile devices.
2014-09-17 11:41:12 -03:00
Gabriel Jacobo
c8bc78fd0f
[Android] Fixes #2679 - Crash resuming from screen off
...
Before destroying the static Java-side data, wait for the SDL native thread,
*and* the listener thread that waits on it to trigger a clean up.
2014-09-17 08:59:43 -03:00
Philipp Wiesemann
97664185dc
Fixed doxygen warning and markdown formatting.
...
Three backticks for blocks are not supported by doxygen.
2014-09-16 23:09:32 +02:00
Alex Szpakowski
010a5e6850
Enabling highdpi mode on an iPhone 6 Plus should now create a 1080x1920 OpenGL view, rather than 1242x2208 (414x736@3x.)
...
--HG--
branch : iOS-improvements
2014-09-14 17:04:54 -03:00
Philipp Wiesemann
e13a86c874
Fixed key down closing messagebox dialog instead of key up on Android.
...
This fixed sending key up event to SDL a dialog closed by down did not consume.
2014-09-14 19:44:53 +02:00
David Ludwig
b4a654d334
WinRT: made README note that Win 8.0 targeting via MSVC 2013 Express is not possible
2014-09-14 13:10:21 -04:00
David Ludwig
8f128a199a
WinRT: expanded and updated the README section on MSVC requirements
2014-09-14 12:57:26 -04:00
David Ludwig
80ac555e0f
WinRT: added manual, app-setup instructions to the README
...
A number of other parts of the WinRT README were edited, either for clarity, or to help with Markdown rendering.
2014-09-14 11:36:24 -04:00
David Ludwig
83b86b3a11
WinRT: added a note to README regarding need for a MS account
2014-09-14 10:31:18 -04:00
David Ludwig
eb5f8c0c65
WinRT: cleaned up section headers
2014-09-14 10:29:54 -04:00
Alex Szpakowski
622181a861
Merged default into iOS-improvements
...
--HG--
branch : iOS-improvements
2014-09-10 18:10:37 -03:00
Sam Lantinga
005a73b5e1
DSCAPS_GL was added for DirectFB 1.6
2014-09-10 14:05:27 -07:00
Sam Lantinga
4854eb19b7
Report the correct desktop video mode on the iMX6
2014-09-10 08:59:19 -07:00
mastermind
30f3e0e84c
Freescale i.MX6 video driver
...
---
CMakeLists.txt | 2 +
cmake/sdlchecks.cmake | 20 +++
configure | 51 +++++++
configure.in | 28 ++++
include/SDL_config.h.cmake | 1 +
include/SDL_config.h.in | 1 +
src/video/SDL_sysvideo.h | 3 +
src/video/SDL_video.c | 3 +
src/video/mx6/SDL_mx6events.c | 45 ++++++
src/video/mx6/SDL_mx6events_c.h | 31 +++++
src/video/mx6/SDL_mx6opengles.c | 211 ++++++++++++++++++++++++++++
src/video/mx6/SDL_mx6opengles.h | 68 +++++++++
src/video/mx6/SDL_mx6video.c | 301 ++++++++++++++++++++++++++++++++++++++++
src/video/mx6/SDL_mx6video.h | 78 +++++++++++
14 files changed, 843 insertions(+)
create mode 100644 src/video/mx6/SDL_mx6events.c
create mode 100644 src/video/mx6/SDL_mx6events_c.h
create mode 100644 src/video/mx6/SDL_mx6opengles.c
create mode 100644 src/video/mx6/SDL_mx6opengles.h
create mode 100644 src/video/mx6/SDL_mx6video.c
create mode 100644 src/video/mx6/SDL_mx6video.h
2014-09-10 08:54:01 -07:00
Ryo Munakata
f8cfa5d0a0
video: waylandmouse: handle mmap error properly
...
Signed-off-by: Ryo Munakata <ryomnktml@gmail.com>
2014-09-09 17:26:16 +09:00
Sam Lantinga
f8f74bdd97
Fixed bug 2415 - Message Boxes aren't implemented on Android
...
Philipp Wiesemann
I attached a patch for an incomplete implementation of the messagebox parts.
It was not tested on lots of devices yet and features a very fragile workaround to block the calling SDL thread while the dialog is handled on Android's UI thread. Although it works for testmessage.c I assume there are lot of situations were it may fail (standby, device rotation and other changes). Also not all flags and colors are implemented.
On the other hand most uses of the messagebox are to show an error on start and fragility (or working at all) may not matter there.
2014-09-13 02:15:18 -07:00