Log

Author Commit Date CI Message
Alex Szpakowski ea5d1a8a 2015-01-15T01:15:24 Merged default into iOS-improvements
Alex Szpakowski 01bfc215 2015-01-15T01:06:14 Several improvements to the iOS backend: - Added new custom launch screen code. It uses the launch screen nib when available on iOS 8+, the launch images dictionary if the launch screen nib isn't available, and the old standard image names if the launch image dictionary isn't in the plist. The launch screen is now hidden during the first call to SDL_PumpEvents rather than SDL_CreateWindow so apps can have the launch screen still visible if they do time-consuming loading after creating their window. It also fades out in roughly the same way as the system launch screen behavior. It can be disabled by setting the SDL_IPHONE_LAUNCHSCREEN define in SDL_config_iphoneos.h to 0. - A blank UIView is now created and displayed when the window is first created. The old behavior was to defer creating any view until SDL_GL_CreateContext, which prevented rotation, touch events, and other windowing-related things from working until then. This also makes it easier to use SDL_GetWindowWMInfo after creating a window. - Moved the keyboard and animation callback code from SDL's UIView subclasses to its UIViewController subclass, which lets them work properly in all cases when a SDL window is valid, even before SDL_GL_CreateContext is called and after SDL_GL_DeleteContext is called. - SDL_GL_CreateContext, SDL_GL_SwapWindow, SDL_GL_MakeCurrent, and SDL_GL_DeleteContext are more robust. - Fixed some edge cases where SDL windows weren't rotating properly or their reported sizes were out of sync with their actual sizes. - Removed all calls to [UIApplication setStatusBarOrientation:]. It doesn't seem to work as expected in all cases in recent iOS versions. - Some code style cleanup.
Philipp Wiesemann 775a5aa5 2015-01-12T23:20:52 Added and fixed doxygen markup in header file.
Philipp Wiesemann 86c5c3f2 2015-01-08T21:45:46 Replaced include of SDL_types.h with SDL_stdinc.h in internal header file. SDL_types.h is deprecated and currently only includes SDL_stdinc.h itself.
Ryan C. Gordon a823982e 2015-01-05T01:41:42 Clang static analysis builds should use C runtime directly. This is a little macro magic to use malloc() directly instead of SDL_malloc(), etc, so static analysis tests that know about the C runtime can function properly, and understand that we are dealing with heap allocations, etc. This changed our static analysis report from 5 outstanding bugs to 30. 5x as many bugs were hidden by SDL_malloc() not being recognized as malloc() by the static analyzer!
Ryan C. Gordon 2a1e4223 2015-01-05T01:07:36 Dynamic API: don't leak if a library loaded but didn't have the entry point.
Philipp Wiesemann f5fa9a59 2014-12-31T21:00:32 Removed unused enumeration and constant from internal header file.
Philipp Wiesemann 3cfe0abe 2014-12-28T22:10:24 Fixed copyright date.
Philipp Wiesemann 69f18b62 2014-12-28T22:02:17 Linked README-emscripten.md in README.md and added markdown formatting.
Philipp Wiesemann 3e8040f3 2014-12-28T22:00:24 Renamed README-emscripten.txt to README-emscripten.md.
Ryan C. Gordon 16f3cbfc 2014-12-26T23:16:54 Cleaned up some compiler warnings.
Ryan C. Gordon f5bbbe41 2014-12-26T22:30:19 GLES2: Only use VBOs for Emscripten (for now). This is causing a regression on actual iOS hardware, which we should revisit after 2.0.4 ships.
Philipp Wiesemann d8c60342 2014-12-26T20:11:28 Added three missing checks for return values of SDL_calloc().
Philipp Wiesemann 31832d2a 2014-12-25T22:47:04 Removed missing test program from Makefile.
Philipp Wiesemann f4dcc246 2014-12-25T22:43:17 Changed Emscripten entry in gamecontroller database to allow sorting by script.
Philipp Wiesemann 22855927 2014-12-25T22:08:48 Removed unnecessary call to SDL_free().
Philipp Wiesemann 2cde19c6 2014-12-25T22:07:15 Fixed typos in a README.
Philipp Wiesemann 80d19b7e 2014-12-25T22:05:48 Fixed typo in header file documentation comment.
Philipp Wiesemann 79b3221b 2014-12-25T22:03:07 Fixed compile warnings about unused variables. Found by buildbot.
Philipp Wiesemann 97e87667 2014-12-25T21:42:56 Fixed compile errors in example programs.
Ryan C. Gordon e8467cbc 2014-12-24T22:22:35 Maybe actually patched to compile this time?
Ryan C. Gordon 629c13fb 2014-12-24T13:23:48 Actually fix Unix scripts this time. :)
Ryan C. Gordon 9c38244f 2014-12-24T13:21:28 Really patched to compile this time?
Ryan C. Gordon 9f111ce4 2014-12-24T13:16:27 Patched to compile.
Ryan C. Gordon 20863682 2014-12-24T13:13:19 I don't know if Unix scripts are useful at all on Emscripten, but fix them up.
Ryan C. Gordon fc405167 2014-12-24T13:03:20 A little more work on the Emscripten buildbot script. Should upload tarballs now, etc.
Ryan C. Gordon f4bd828a 2014-12-24T12:49:35 Added buildbot script for Emscripten port.
David Ludwig bbaaa777 2014-12-24T11:33:42 WinRT: hiding SDL_WinRTRunApp's XAML functionality, until it's ready for use SDL_WinRTRunApp() is used on WinRT to launch a main(int, char **)-style function. It has optional, and experimental support for launching content inside a XAML control, backed by a main() function running on a separate thread. This is provided via it's 2nd parameter, which can be a pointer to a XAML control. (If NULL, XAML support will not be used.) This change renames the experimental feature's parameter (to SDL_WinRTRunApp()) as "reserved", until such time as the functionality is ready for use. It will likely be renamed again in the future, when running SDL on top of a XAML control via a separate thread, becomes reasonably usable.
Ryan C. Gordon eab2433f 2014-12-24T02:12:16 Maybe patched to compile on Windows for real now?
Ryan C. Gordon b0ebfabf 2014-12-24T02:06:38 Patched to compile on Windows.
Ryan C. Gordon 707c11f6 2014-12-24T02:01:12 Patched to compile on non-Emscripten targets.
Ryan C. Gordon fe40a172 2014-12-18T00:19:52 Initial merge of Emscripten port! With this commit, you can compile SDL2 with Emscripten ( http://emscripten.org/ ), and make your SDL-based C/C++ program into a web app. This port was due to the efforts of several people, including: Charlie Birks, Sathyanarayanan Gunasekaran, Jukka Jyl?nki, Alon Zakai, Edward Rudd, Bruce Mitchener, and Martin Gerhardy. (Thanks, everyone!)
Sam Lantinga 708a43f5 2014-12-13T13:20:19 Treat any key device as a keyboard This matches commit d325f1bbbab4 for when udev is not running
Ryan C. Gordon 77ccc412 2014-12-13T02:40:52 CMake: Minor cleanup up on the new SDL_*_ENABLED_BY_DEFAULT vars.
Ryan C. Gordon a228b67d 2014-12-13T02:33:52 CMake: Replace "else(condition)" with "else()", etc. Bumped required CMake version to 2.8. Thanks to the SDL/Emscripten porting team for this cleanup.
Philipp Wiesemann b9707732 2014-12-12T21:51:30 Removed unused includes and functions from test program.
Philipp Wiesemann 269c2476 2014-12-12T21:02:46 Replaced sqrt() with SDL_sqrt() in test program.
Philipp Wiesemann 701c9707 2014-12-12T21:00:25 Removed global variable from test program. On Android starting the application after a previous quit did not always work. Android keeps VM processes for a faster restart and therefore the loaded *.so.
Philipp Wiesemann e2a5c1d2 2014-12-11T23:38:02 Removed extern declaration of not existing SDL_numhaptics from internal header.
Philipp Wiesemann 0f87761b 2014-12-10T21:20:41 Removed dependency to stdbool.h in implementation file for Android. This reduced mixing of different types in the file (bool, jboolean, SDL_bool).
Philipp Wiesemann d9991154 2014-12-10T21:13:43 Fixed setting text to clipboard in controllermap program.
Philipp Wiesemann 45fa5642 2014-12-10T21:10:55 Added comments in example program.
Philipp Wiesemann fbbd5932 2014-12-09T22:49:16 Fixed bug 2811 - [patch] Android core: Fix JNI 'nativeGetHint' symbol not being exported Jonas Kulla I don't see a reason why this shouldn't be exported. Currently a strip -s on the final application library eats it.
Philipp Wiesemann a830fbc7 2014-12-06T00:17:52 Fixed warnings about possible loss of data in conversion.
Philipp Wiesemann 4f26e776 2014-12-04T21:41:30 Replaced free() with SDL_free() because related allocation also uses wrapper.
Philipp Wiesemann 8dc56f2b 2014-12-04T21:33:59 Corrected header file guard comment.
Ryan C. Gordon ec6b9b27 2014-12-04T02:24:22 Fixed some paths in the new buildbot windows zipper script.
Ryan C. Gordon 5789cb4a 2014-12-04T02:09:07 Added a script to handle packing up Windows builds for the buildbot.
Edward Rudd 623b9d6d 2014-12-03T12:47:39 ugh.. stray character
Edward Rudd 06d357fb 2014-12-03T12:45:04 fix SDL_PRIs64 on windows compilers.. (should end in d)
Edward Rudd 73daadb7 2014-12-03T12:23:17 switch to use SDL_PRI* macros for long long formatting everywhere.
Edward Rudd 7810d198 2014-12-03T11:04:07 fix incorrect struct member name in test code for wheel direction
David Ludwig 70438be2 2014-12-03T10:55:23 WinRT: fixed bug whereby SDL would override an app's default orientation WinRT apps can set a default, preferred orientation via a .appxmanifest file. SDL was overriding this on app startup, and making the app use all possible orientations (landscape and portrait). Thanks to Eric Wing for the heads up on this!
Alex Szpakowski cc0631a0 2014-12-02T02:52:45 Merged default into iOS-improvements
Alex Szpakowski ba6392d7 2014-12-01T07:31:22 Fixed SDL_GetRendererOutputSize on iOS when high-DPI mode is enabled on a Retina device.
Andreas Schiffler 52760dcd 2014-11-30T20:55:27 Fix assert format strings/parameters in testautomation modules; improve output of SDL_CompareSurfaces to aid debugging; update platform_testSetErrorInvalidInput for SDL changes
Philipp Wiesemann 0d38073a 2014-11-30T22:17:12 Removed generated doxygen output of visual test suite. The files may be generated again by running doxygen locally (like SDL's docs).
Sam Lantinga f86af130 2014-11-29T14:41:18 Fixed bug 2795 - SDL library detection selects the wrong lib Chris Beck When creating a homebrew recipe for wesnoth, I discovered that the SDL image configuration routine does not detect libpng properly -- if you have multiple instances of libpng on your system, and you use environment variables to select an instance which is not in your system directory, the build can be broken, because it will run configuration tests against the system installed version, but deduce that it should use the filename of the system-installed version. In a vanilla build of wesnoth using homebrew, this results in segfaults at runtime, because you end up linking against two different versions of libpng, which is also needed independently of SDL. The problem is essentially in the "find_lib" routine in the configure file: find_lib() { gcc_bin_path=[`$CC -print-search-dirs 2>/dev/null | fgrep programs: | sed 's/[^=]*=\(.*\)/\1/' | sed 's/:/ /g'`] gcc_lib_path=[`$CC -print-search-dirs 2>/dev/null | fgrep libraries: | sed 's/[^=]*=\(.*\)/\1/' | sed 's/:/ /g'`] env_lib_path=[`echo $LIBS $LDFLAGS | sed 's/-L[ ]*//g'`] for path in $gcc_bin_path $gcc_lib_path $env_lib_path /usr/lib /usr/local/lib; do lib=[`ls -- $path/$1 2>/dev/null | sort -r | sed 's/.*\/\(.*\)/\1/; q'`] if test x$lib != x; then echo $lib return fi done } Because the for loop goes over the system directories before the environment directories, any system-installed lib will shadow the lib selected via environment variables. This is contrary to the behavior of the configuration tests earlier in the script, which prefers the environment variable libs over the system-installed libs. The 'for' loop should instead be: for path in $env_lib_path $gcc_bin_path $gcc_lib_path /usr/lib /usr/local/lib; do You can see the full discussion on the Homebrew / linuxbrew issue tracker here: https://github.com/Homebrew/linuxbrew/issues/172 I have checked that this bug also affects SDL 1.2.15, SDL_mixer and SDL_ttf 1.2, which all use this same "find_lib" routine. I have not determined if the bug affects SDL 2.0, which seems not to use this exact routine.
Sam Lantinga 265b219e 2014-11-29T11:51:13 Fixed bug 2766 - Haptic coding bugs and fixes for Linux FF: periodic.phase handled as time instead of angle; + direction clarification Elias Vanderstuyft Remove the dependency of the calculation of Linux "phase" on "period", currently the "phase" parameter is interpreted as a time shift, instead of a phase shift. The Linux input documentation is not clear about the exact units of the "phase" parameter (see http://lxr.free-electrons.com/source/include/uapi/linux/input.h?v=3.17#L1075 ), but we're about to standardize the 'phase shift' interpretation into the Linux input documentation, since this will ease the job of a driver to recalculate the effect's state when the user dynamically updates the "period" parameter.
Sam Lantinga a5ce9c11 2014-11-29T11:49:58 Fixed bug 2766 - Haptic coding bugs and fixes for Linux FF: periodic.phase handled as time instead of angle; + direction clarification Elias Vanderstuyft "Horizontal" is not very precise, use "Positive phase" instead. "Positive" because it's actually waveform(2*pi*t + phase) instead of waveform(2*pi*t - phase).
Sam Lantinga ef8c3d89 2014-11-29T11:48:43 Fixed bug 2766 - Haptic coding bugs and fixes for Linux FF: periodic.phase handled as time instead of angle; + direction clarification Elias Vanderstuyft It's not obvious from the general "haptic direction" description what the SDL direction actually means in terms of force magnitude sign, currently its meaning is only reflected by the example.
Sam Lantinga 48481c8e 2014-11-29T11:18:49 Improved the pitch variable description
David Ludwig ce64b4ad 2014-11-29T10:09:30 WinRT: bug and data-integrity fixes for SDL_GetPrefPath() This change does a few things, all with regards to the WinRT implementation of SDL_GetPrefPath(): 1. it fixes a bug whereby SDL_GetPrefPath() did not create the directory it returned. On other SDL platforms, SDL_GetPrefPath() will create separate directories for its 'org' and 'app' folders. Without this, attempts to create files in the pref-path would fail, unless those directories were first created by the app, or by some other library the app used. This change makes sure that these directories get created, before SDL_GetPrefPath() returns to its caller(s). 2. it defaults to having SDL_GetPrefPath() return a WinRT 'Local' folder on all platforms. Previously, for Windows Store apps, it would have used a different, 'Roaming' folder. Files in Roaming folders can be automatically, and synchronized across multiple devices by Windows. This synchronization can happen while the app runs, with new files being copied into a running app's pref-path. Unless an app is specifically designed to handle this scenario, there is a chance that save-data could be overwritten in unwanted or unexpected ways. The default is now to use a Local folder, which does not get synchronized, and which is arguably a bit safer to use. Apps that wish to use Roaming folders can do so by setting SDL_HINT_WINRT_PREF_PATH_ROOT to "roaming", however it is recommended that one first read Microsoft's documentation for Roaming files, a link to which is provided in README-winrt.md. To preserve older pref-path selection behavior (found in SDL 2.0.3, as well as many pre-2.0.4 versions of SDL from hg.libsdl.org), which uses a Roaming path in Windows Store apps, and a Local path in Windows Phone, set SDL_HINT_WINRT_PREF_PATH_ROOT to "old". Please note that Roaming paths are not supported on Windows Phone 8.0, due to limitations in the OS itself. Attempts to use this will fail. (Windows Phone 8.1 does not have this limitation, however.) 3. It makes SDL_GetPrefPath(), when on Windows Phone 8.0, and when SDL_HINT_WINRT_PREF_PATH_ROOT is set to "roaming", return NULL, rather than silently defaulting to a Local path (then switching to a Roaming path if and when the user upgraded to Windows Phone 8.1).
Sam Lantinga 4dab32a2 2014-11-28T04:51:33 Fixed bug 2786 - "UCS-2-INTERNAL" iconv encoding is not supported everywhere, use UTF-16LE instead Jonas Kulla src/main/windows/SDL_windows_main.c:137: cmdline = SDL_iconv_string("UTF-8", "UCS-2-INTERNAL", (char *)(text), (SDL_wcslen(text)+1)*sizeof(WCHAR)); I'm trying to compile an SDL2 application for windows using the mingw-w64 32bit toolchain provided by my distro (Fedora 19). However, even the simplest test program that does nothing at all fails to startup with a "Fatal error - out of memory" message because the mingw iconv library provided by my distro does not support the "UCS-2-INTERNAL" encoding and the conversion returns null. From my little bit of research, it turns out that even though this encoding is supported by the external GNU libiconv library, some glibc versions (?) don't support it with their internal iconv routines, and will instead provide the native endian encoding when "UCS-2" is specified. Nonetheless, I wonder why the native endianness is considered in the first place when Windows doesn't even run on any big endian archs (to my knowledge). And true enough, 'WIN_StringToUTF8' from core/windows/SDL_windows.h is used everywhere else in the windows backend, which is just a macro to iconv with "UTF-16LE" as source. Therefore it would IMO make sense to use this macro here as well, which would solve my problem (patch attached).
Sam Lantinga 767bb363 2014-11-28T04:42:46 Fixed bug 2676 - xdnd_version check issue in case ClientMessage Nitz I added xdnd_version check to XdndPosition case also under DEBUG_XEVENTS macro. by this we can get the action requested by user. I analysed further and found out that removing xdnd_version check at XdndDrop case is a bad idea because in XConvertSelection API timestamp should be passed if(xdnd_version >= 1) otherwise CurrentTime should be passed So xdnd_version check is important at XdndDrop case I made xdnd_version as a static so that it can store the version in other cases also.
Sam Lantinga 7ed41da0 2014-11-28T04:37:50 Fixed bug 2411 - Even if built with --enable-clock_gettime, SDL2 still calls gettimeofday() Ben Swick Makes SDL_syscond.c and SDL_syssem.c use clock_gettime(CLOCK_REALTIME) when HAVE_CLOCK_GETTIME is defined.
Alex Szpakowski bc4b6f06 2014-11-27T20:25:54 Minor Objective-C code tweaks.
David Ludwig ecc01474 2014-11-27T09:55:34 WinRT: added SDL_HINT_WINRT_PREF_PATH_ROOT SDL_HINT_WINRT_PREF_PATH_ROOT allows WinRT apps to alter the path that SDL_GetPrefPath() returns. Setting it to "local" uses the app's OS-defined Local folder, setting it to "roaming" uses the app's OS-defined Roaming folder. Roaming folder support is not available in Windows Phone 8.0. Attempts to make SDL_GetPrefPath() return a Roaming folder on this OS will be ignored. Various bits of documentation on this were added to SDL_hints.h, and to README-winrt.md
David Ludwig 506a1efc 2014-11-27T08:50:11 WinRT: removed a completed TODO item from an inline comment
David Ludwig 6a5b3bb4 2014-11-26T21:34:15 WinRT: added initial SDL_TEXTINPUT support Further support regarding IME and on-screen keyboards is pending, some of which might not be 100% compatible with other platforms, given WinRT platform restrictions. An MSDN article at http://msdn.microsoft.com/en-us/library/windows/apps/hh465404.aspx indicates that on-screen keyboard display requires that the user first tap on a Windows/XAML text control. This change adds basic SDL_TEXTINPUT support, with input coming from hardware keyboards, at a minimum, and without the need for XAML integration (which is still pending integration into SDL, by and large).
Philipp Wiesemann 5bdc9913 2014-11-25T22:37:12 Corrected header file guard comments.
Philipp Wiesemann 8cab5ae3 2014-11-25T22:31:14 Fixed limitation for number of custom main() arguments on Android. Limitation was size of the reference table because local refs were not deleted.
J?rgen P. Tjern? 94539137 2014-11-24T11:46:20 Mac: Add drag & drop support. Fixes bug https://bugzilla.libsdl.org/show_bug.cgi?id=2757 Thanks to Alex Szpakowski for the patch!
Alex Szpakowski 6df55c66 2014-11-23T23:29:24 Removed an ugly hack to make windows rotate properly on iOS 8+. Recent commits apparently resolved the issue that made the hack necessary.
Alex Szpakowski 9b8a1768 2014-11-23T23:23:47 Cleaned up the iOS text input code, fixed the orientation of the view offset when the onscreen keyboard is shown in iOS 8+, and changed UIKit_SetTextInputRect to update the view offset if the keyboard is currently visible.
Edward Rudd bd4dd2b5 2014-11-23T21:10:55 update logging of events in test core - log unknown as HEX instead of int (makes it easier to identify) - add dollar gesture and multi gesture events - add scroll reverse for mouse wheel
Edward Rudd 5b5823ee 2014-11-23T21:09:54 add in support for passing down the "natural" (or flipped) scrolling direction in the MouseWheelEvent event
Edward Rudd 084642d3 2014-11-23T15:48:52 Cocoa: add in handling of "lost" touches on OS X. [bug #2635] This scenario can occur, for example, when the 4-finger touch sequence is used to switch spaces. the SDL window does not receive the touch up events and ends up thinking there are far more fingers on the pad than there are. So the solution here is everytime a new "touch" appears we can through and check if there are any existing known touches by the OS and if there are none, abut SDL things there are, we simply go through and cancel the SDL touches. Side affects. - the "touch up" won't occur until the users sends a new touch (could be well after the actual release really did occur)
Edward Rudd 8c9341b9 2014-11-23T15:39:28 add "i" shortcut to testgesture tool to log # of fingers down on the touch devices.
Edward Rudd d7cc6fab 2014-11-23T15:21:49 add controllermap program to SDLTest xcode project
Philipp Wiesemann 43e5c9ee 2014-11-23T20:46:34 Fixed doxygen tags in header file documentation comments.
Philipp Wiesemann c0165972 2014-11-23T20:40:48 Fixed typos in header file documentation comments.
Philipp Wiesemann 097ad550 2014-11-23T20:38:18 Fixed local reference leaks in messagebox implementation for Android.
Philipp Wiesemann c121ff7f 2014-11-23T20:35:51 Added name for second Java Thread on Android.
David Ludwig d9a42c76 2014-11-23T08:59:01 WinRT: fixed an invalid comment in SDL_GetPrefPath() (for WinRT)
David Ludwig 13c51169 2014-11-23T08:52:10 WinRT: allowed 'roaming' and 'temp' folder paths to be retrieved on WinPhone 8.1 Windows Phone 8.0 either did not define, or provide access to, a 'RoamingFolder' or 'TemporaryFolder' for apps to use. Windows 8.0 and 8.1 do, as does Windows Phone 8.1. This change allows SDL-based Windows Phone 8.1 apps to access these folders, via either the SDL_WinRTGetFSPathUNICODE() or SDL_WinRTGetFSPathUTF8() functions. SDL_GetPrefPath(), which on WinRT, is based on SDL_WinRTGetFSPathUTF8(), will continue to return the app's 'local' folder, despite Windows 8.x counterpart apps using the 'roaming' folder, in order to preserve compatibility when 8.0-based Phone apps upgrade to 8.1-based Phone apps.
Philipp Wiesemann a690944e 2014-11-23T11:26:46 Fixed typo in header file documentation comment.
David Ludwig 5575948b 2014-11-22T21:13:46 Fixed bug 2726 - WinRT touches not setting 'which' field in virtual mouse events This patch makes sure that any SDL_MOUSEBUTTONDOWN, SDL_MOUSEBUTTONUP, and SDL_MOUSEMOTION events, as triggered by a touch event in a WinRT app, set the event's 'which' field to SDL_TOUCH_MOUSEID. Previously, this was getting set to the same value as events from a real mouse, '0'. Thanks to Diego for providing information on this bug, and to Tamas Hamor for sending over a patch!
Philipp Wiesemann 9c398852 2014-11-22T22:20:40 Corrected header file documentation comment.
Alex Szpakowski 6d85f522 2014-11-21T10:03:02 The iOS OpenGL ES context's color Renderbuffer Object is no longer completely destroyed and recreated in layoutSubviews. Its storage is now only reallocated when the actual size of the layer changes. The framebuffer object and renderbuffer object binding states are no longer clobbered by the storage reallocation code in layoutSubviews.
Alex Szpakowski 38c6e9d1 2014-11-21T03:29:57 Added debug labels for the OpenGL ES objects created with SDL_GL_CreateContext on iOS. More misc. code cleanup.
Alex Szpakowski feb2ab1e 2014-11-20T18:45:04 Minor objective-c code style improvements
Alex Szpakowski 650ace88 2014-11-20T17:19:26 Fixed mismatching orientations for the window width and height on iOS when the window is created or the app is brought to the foreground, when SDL_HINT_ORIENTATIONS or SDL_WINDOW_FULLSCREEN is used.
Alex Szpakowski 0b02de75 2014-11-15T22:59:16 Merged default into iOS-improvements
David Ludwig e695ec90 2014-11-15T15:07:55 WinRT: updated README-winrt.md to detail Visual Studio 2013 Community support
David Ludwig 646025b6 2014-11-15T10:19:39 WinRT: made SDL_GetPlatform() return "WinRT" and not 'Unknown' Thanks to Eric Wing for the heads-up on this!
David Ludwig 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!
Ryan C. Gordon 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!
David Ludwig 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.
Philipp Wiesemann 743ba2f4 2014-11-07T10:02:45 Added missing brackets in test source assert messages.