|
e6cca5e9
|
2014-11-15T10:12:36
|
|
WinRT: build fix for Visual C++ 2013 Update 4
Visual C++ 2013 Update 4 re-introduced the Sleep() function to WinRT apps (for
code that targets Windows 8.1 and Windows Phone 8.1). This led to a build
error, as SDL was defining it's own Sleep() function (to make up for the lack
of a public Sleep() function). The fix makes sure that SDL's custom Sleep()
function is only used when Windows' Sleep() is not available.
Many thanks go out to Sergiu Marian Gaina for the fix!
|
|
8366bbdd
|
2014-11-14T11:21:15
|
|
Fixed gcc-fat.sh failing to build Objective-C sources correctly.
This would fail if the compiler was given a .m file _and_ no "-o" option; it
would fail to automatically calculate the correct .o filename in this
situation.
Thanks to Ethan Lee for the help tracking this one down!
|
|
49c9b48e
|
2014-11-09T14:20:53
|
|
WinRT: fixed multi-touch bug whereby 2nd, 3rd, etc. fingers weren't moving
Only the first-pressed finger wpuld get reported as having moved (via SDL's
touch APIs). Subsequently pressed fingers wouldn't report as being moved, even
though the OS was reporting (to SDL) that they had moved.
|
|
743ba2f4
|
2014-11-07T10:02:45
|
|
Added missing brackets in test source assert messages.
|
|
e11969a7
|
2014-11-07T10:01:20
|
|
Fixed two typos in test source.
|
|
b561f203
|
2014-11-03T13:07:51
|
|
WinRT: removed '-' from build script file names
Most of the other build scripts don't include a '-' in their file names. This
change makes the WinRT build scripts use the same convention.
|
|
f055ea70
|
2014-11-03T08:58:49
|
|
WinRT: added scripts to build Release copies of SDL for all WinRT variants
These variants include:
- Windows 8.0 for x86
- Windows 8.0 for x64
- Windows 8.0 for ARM
- Windows 8.1 for x86
- Windows 8.1 for x64
- Windows 8.1 for ARM
- Windows Phone 8.0 for x86 (for use with the Windows Phone emulator)
- Windows Phone 8.0 for ARM
- Windows Phone 8.1 for x86 (for use with the Windows Phone emulator)
- Windows Phone 8.1 for ARM
|
|
167b3bb4
|
2014-11-02T11:26:54
|
|
WinRT: updated docs to include details of recently-expanded GLES2 support
|
|
577ef5e0
|
2014-11-02T10:38:29
|
|
WinRT: fixed crash when trying, and failing, to load the opengles2 renderer
The crash would occur when a WinRT app explicitly tried to create an
SDL_Renderer using the "opengles2" renderer (via SDL_HINT_RENDER_DRIVER), but
OpenGL ES 2 / ANGLE .dlls weren't packaged in the app.
|
|
bbe1df0d
|
2014-11-02T10:32:25
|
|
WinRT: enabled OpenGL ES 2 support on Windows Phone
The "future-dev" branch of MSOpenTech's ANGLE/WinRT repository (at
https://github.com/msopentech/angle) includes support for Windows Phone 8.1.
This change allows it to be used in conjunction with SDL's OpenGL functions.
|
|
18ecc34d
|
2014-11-02T09:02:01
|
|
WinRT: updated an OpenGL-related code-comment
|
|
0bcc254e
|
2014-11-02T08:47:05
|
|
WinRT: expanded OpenGL ES 2 support to enable recent updates to ANGLE/WinRT
ANGLE for WinRT has at least two versions:
- an older version, which supports Windows 8.0 and 8.1. This is currently
the "winrt" branch in MSOpenTech's ANGLE repository (at
https://github.com/msopentech/angle)
- a newer version, which drops support for Windows 8.0, but is under more
active development (via MSOpenTech's "future-dev" branch), and which was
recently merged into the ANGLE project's official "master" branch
(at https://chromium.googlesource.com/angle/angle)
Both versions are setup using slightly different APIs. SDL/WinRT will now
attempt to detect which version is being used, and configure it appropriately.
|
|
1c85ba23
|
2014-11-01T11:41:18
|
|
WinRT: moved documentation + setup related TODO items out of README-winrt.md
The TODO items were moved to SDL Bugzilla, case 2775 (https://bugzilla.libsdl.org/show_bug.cgi?id=2775).
|
|
796f7bbf
|
2014-11-01T11:17:07
|
|
WinRT: made README-winrt.md slightly easier to read in an 80-column text editor
|
|
438a55a4
|
2014-11-01T11:14:46
|
|
WinRT: added details of the port's status, to README-winrt.md
|
|
43ad9670
|
2014-10-30T13:44:31
|
|
Patched to compile on pre-C99 compilers.
|
|
3a916c6d
|
2014-10-29T22:55:40
|
|
X11: Fixed SDL_GetGlobalMouseState() to work better with multimonitor configs.
Fixes Bugzilla #2770.
Thanks to Epic Games for contributing this fix.
|
|
37720dd5
|
2014-10-29T22:44:35
|
|
Fixed gamecontroller database sorting script not sorting the whole database.
The script was originally written for an SDL_gamecontrollerdb.h which had groups
of mappings separated by single lines starting with a "#". This was changed some
time ago to #endif/#if pairs. Because the script assumed only a single #endif in
the whole file it no longer worked correctly and only processed the first group.
|
|
0c60f023
|
2014-10-29T22:41:01
|
|
Removed unnecessary NULL check.
|
|
2bdc5c9d
|
2014-10-29T20:35:21
|
|
Updated gamecontroller database sorting script to work with Python 3.
|
|
032b14e7
|
2014-10-29T20:29:32
|
|
Fixed SDL_AddHintCallback() crashing if no more memory available.
The return value of SDL_malloc() was not checked and NULL therefore not handled.
Also added setting of error message for the other SDL_malloc() in this function.
|
|
2a46a9df
|
2014-10-29T20:20:47
|
|
Fixed bug 2647 - Memory leak in SDL_AddHintCallback function - SDL_hints.c
Nitz
Variable entry going out of scope leaks the storage it points to, at:
/* Need to add a hint entry for this watcher */
hint = (SDL_Hint *)SDL_malloc(sizeof(*hint));
if (!hint) {
return;
}
Patch is attached.
|
|
f2bd99da
|
2014-10-27T19:53:44
|
|
WinRT: detailed steps, via the WinRT README, to fix a common build error
|
|
3d2ca92e
|
2014-10-27T12:53:47
|
|
Fixed two typos in header file comment.
|
|
7268eabb
|
2014-10-26T23:28:45
|
|
Added handling of NULL as input for SDL_GameControllerAddMapping().
|
|
33a2b58c
|
2014-10-26T23:22:53
|
|
Fixed SDL_GameControllerMappingForGUID() crashing if no more memory available.
The return value of SDL_malloc() was not checked and NULL therefore not handled.
NULL returned by SDL_GameControllerMapping()/SDL_GameControllerMappingForGUID()
now either means "no mapping" (as before) or "no memory" (just crashed before).
|
|
30d6cec1
|
2014-10-26T17:53:16
|
|
Added handling of NULL as input for SDL_GameControllerMapping().
For consistency with the similar functions getting SDL_GameController as input.
Also NULL is no SDL_GameController and therefore can not have a mapping anyway.
|
|
90387daf
|
2014-10-26T17:46:11
|
|
Removed two wrong documentation comments from gamecontroller source.
No replacement because correct documentation is already in SDL_gamecontroller.h.
|
|
0a053ed6
|
2014-10-26T17:44:00
|
|
Fixed wording in SDL_GameControllerAddMappingsFromRW() error message.
|
|
01f3498c
|
2014-10-26T12:33:10
|
|
WinRT: more keyboard code cleanups
- made keycode listings a bit easier to read
- listed VK_ keycode names, where appropriate
- removed a few pieces of dead + commented-out code
- applied a common 'WINRT_' prefix to internal function names
|
|
e057c7dd
|
2014-10-25T08:54:23
|
|
WinRT: Fixed bug whereby key-detection code could call SDL_Log
|
|
ed2fff6b
|
2014-10-25T08:50:41
|
|
WinRT: fallback to scancode key detection, if VirtualKey/VK detection fails
|
|
20b19aac
|
2014-10-25T08:43:51
|
|
WinRT: more keyboard code cleanups
- use SDL_arraysize where appropriate
- made long lines of debug-logging code span multiple lines, for easier reading
|
|
a1bac50d
|
2014-10-24T22:09:47
|
|
WinRT: Fixed bug whereby a right-shift key might get reported as left-shift
|
|
e9c79620
|
2014-10-24T21:25:21
|
|
WinRT: minor keyboard code cleanup
An internally-used hash table was replaced with a plain switch statement.
|
|
d5d3721b
|
2014-10-24T19:50:29
|
|
Added new key codes from Android 4.4 (API 20) and 5.0 (API 21).
|
|
a1dcebb2
|
2014-10-24T06:52:54
|
|
Remove unused variable.
|
|
04dbc492
|
2014-10-24T06:50:09
|
|
Merge patch for bug 2750. Thanks Sylvain!
|
|
1745116f
|
2014-10-24T11:53:34
|
|
Fixed bug 2759 - Android findLibrary() returns NULL
Sylvain
extra patch with minor modifications:
- typo
- cancel-able set to false
- add the error message, so that the user can report it.
|
|
bc382e39
|
2014-10-23T16:45:18
|
|
Added an option to define libraries to be loaded on Android in a derived class.
This way it is no more needed to modify SDLActivity.java to add own libraries.
|
|
775a8026
|
2014-10-23T16:41:01
|
|
Fixed alert dialog for not loaded libraries on Android being cancelable.
If the alert dialog could be canceled the Activity would not be finished here.
Also setting the property to "true" would be redundant because that is default.
|
|
425a06a9
|
2014-10-23T16:39:15
|
|
Fixed missing @Override annotation warning in source for Android.
|
|
4a67627e
|
2014-10-23T16:38:03
|
|
Fixed upper case button in alert dialog for not loaded libraries on Android.
This is more consistent with the buttons of other dialogs on Android.
|
|
d4bdd246
|
2014-10-23T16:34:48
|
|
Fixed typo in message of alert dialog for not loaded libraries on Android.
|
|
391c31cf
|
2014-10-23T16:33:27
|
|
Fixed writing new errors to standard output instead of error output on Android.
|
|
85bed095
|
2014-10-23T16:31:02
|
|
Fixed documentation in source for Android.
|
|
34a85f4d
|
2014-10-21T11:44:35
|
|
[Android] #2759: Show a message on failure to load a .so library (by Sylvain)
|
|
96fd9cef
|
2014-10-21T11:27:06
|
|
Clarify (lack of) support for desktop OpenGL on the Raspberry Pi
|
|
5f193f0c
|
2014-10-20T22:19:09
|
|
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.
|
|
79035b39
|
2014-10-20T10:10:39
|
|
Bug 2739 - [Android] No support for SDL_DisableScreenSaver by Martin Gerhardy
|
|
ec4dfdfc
|
2014-10-17T23:36:45
|
|
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.
|
|
7cabaebe
|
2014-10-17T23:26:02
|
|
Fixed typo in source comment.
|
|
0302bb77
|
2014-10-17T23:10:33
|
|
Fixed syntax error in cmake file.
|
|
38f94e21
|
2014-10-16T09:54:13
|
|
Added a platform cleanup function for the Vivante video driver
|
|
5df970a6
|
2014-10-16T09:41:42
|
|
[udev] Fixes #2654, ID_INPUT_KEY devices are ignored.
Also added some references to udev code where these flags are set.
|
|
29eb6e9b
|
2014-10-15T18:33:43
|
|
[X11] Obey DISPLAY environment variable when selecting screen (Steaphan Greene)
Discussed in bug #2192, tested with Xvfb in dual head configuration.
|
|
1b341f58
|
2014-10-15T15:50:35
|
|
WinRT build fix
|
|
839be304
|
2014-10-15T16:26:51
|
|
Updated configure based on recent configure.in changes
|
|
251ca855
|
2014-10-15T09:18:17
|
|
Expanded the iMX6 video driver into a general Vivante video driver that works across multiple SoCs
|
|
f7abb7c4
|
2014-10-15T09:14:09
|
|
Better error reporting for video drivers with less than full functionality.
|
|
3b70f65d
|
2014-10-15T09:13:36
|
|
Fixed bug where EGL function pointers wouldn't get saved in optimized gcc builds
|
|
348cf3ee
|
2014-10-15T09:11:15
|
|
Fixed spurious SDL error on shutdown if mouse capture isn't supported
|
|
89127c2d
|
2014-10-15T09:10:50
|
|
Fixed input device detection on systems that aren't running the udev daemon
|
|
639b39c4
|
2014-10-15T09:09:57
|
|
Fixed crash if the event subsystem didn't initialize properly
|
|
20a6c623
|
2014-10-14T09:53:46
|
|
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.
|
|
72f703e3
|
2014-10-13T14:10:41
|
|
Fixed log typo
|
|
557d43e6
|
2014-10-13T10:46:27
|
|
Minor cleanups
|
|
bebc8d12
|
2014-10-13T10:43:10
|
|
Added configure options to disable OpenGL ES 1.1 and 2.0 individually
|
|
411e0f9d
|
2014-10-04T14:59:41
|
|
WinRT: expanded the documentation on SDL_HINT_WINRT_HANDLE_BACK_BUTTON
|
|
498690ff
|
2014-09-30T11:20:50
|
|
Mac: Fix build with clang from Xcode 6.
|
|
51a07ade
|
2014-09-25T20:56:27
|
|
Fixed broken layout for buttons with configured color in messagebox on Android.
|
|
788a2e45
|
2014-09-24T23:46:46
|
|
Added setting configured color to button texts for messagebox on Android.
|
|
53feb228
|
2014-09-19T12:09:51
|
|
WinRT: cleaned up the opening section of the README
|
|
16773fd4
|
2014-09-19T11:27:18
|
|
WinRT: fixed broken emphasis formatting in README, when rendering it with Doxygen
|
|
47658057
|
2014-09-18T11:03:34
|
|
[Android] Better fix for #2480, pause/resume audio
|
|
5f9ea7ed
|
2014-09-17T14:49:36
|
|
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.
|
|
266c0023
|
2014-09-17T14:47:42
|
|
Fixed haptic documentation typos (thanks, Elias!).
Partially fixes Bugzilla #2701.
|
|
4544343b
|
2014-09-17T11:41:12
|
|
[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.
|
|
e7f2f85c
|
2014-09-17T08:59:43
|
|
[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.
|
|
60df8130
|
2014-09-16T23:09:32
|
|
Fixed doxygen warning and markdown formatting.
Three backticks for blocks are not supported by doxygen.
|
|
0fbd904a
|
2014-09-14T19:44:53
|
|
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.
|
|
df37d1d5
|
2014-09-14T13:10:21
|
|
WinRT: made README note that Win 8.0 targeting via MSVC 2013 Express is not possible
|
|
75d0396e
|
2014-09-14T12:57:26
|
|
WinRT: expanded and updated the README section on MSVC requirements
|
|
0903aa3f
|
2014-09-14T11:36:24
|
|
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.
|
|
11d865b8
|
2014-09-14T10:31:18
|
|
WinRT: added a note to README regarding need for a MS account
|
|
4eef8bbc
|
2014-09-14T10:29:54
|
|
WinRT: cleaned up section headers
|
|
5f39ea89
|
2014-09-13T02:15:18
|
|
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.
|
|
2bfb3c3e
|
2014-09-12T15:09:33
|
|
Fixed using uninitialized display data in iMX6 initialization
|
|
24c86b55
|
2014-09-11T19:24:42
|
|
[X11] Reconcile logical keyboard state with physical state on FocusIn
since the window system doesn't do it for us like other platforms.
This prevents sticky keys and missed keys when going in and out
of focus, for example Alt would appear to stick if switching away
from an SDL app with Alt-Tab and had to be pressed again.
CR: Sam
|
|
7798b4d6
|
2014-09-09T17:26:16
|
|
video: waylandmouse: handle mmap error properly
Signed-off-by: Ryo Munakata <ryomnktml@gmail.com>
|