Log

Author Commit Date CI Message
Alex Szpakowski fb6d185a 2014-10-28T18:36:29 Merged default into iOS-improvements
Alex Szpakowski 28fe9f0c 2014-10-28T01:34:40 Switched to the core versions of OpenGL ES framebuffer object and renderbuffer functions. Both the extension (OES) and the core versions work, but the core versions are more correct for GLES2+ and they're less verbose.
David Ludwig f2bd99da 2014-10-27T19:53:44 WinRT: detailed steps, via the WinRT README, to fix a common build error
Philipp Wiesemann 3d2ca92e 2014-10-27T12:53:47 Fixed two typos in header file comment.
Philipp Wiesemann 7268eabb 2014-10-26T23:28:45 Added handling of NULL as input for SDL_GameControllerAddMapping().
Philipp Wiesemann 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).
Philipp Wiesemann 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.
Philipp Wiesemann 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.
Philipp Wiesemann 0a053ed6 2014-10-26T17:44:00 Fixed wording in SDL_GameControllerAddMappingsFromRW() error message.
David Ludwig 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
David Ludwig e057c7dd 2014-10-25T08:54:23 WinRT: Fixed bug whereby key-detection code could call SDL_Log
David Ludwig ed2fff6b 2014-10-25T08:50:41 WinRT: fallback to scancode key detection, if VirtualKey/VK detection fails
David Ludwig 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
David Ludwig a1bac50d 2014-10-24T22:09:47 WinRT: Fixed bug whereby a right-shift key might get reported as left-shift
David Ludwig e9c79620 2014-10-24T21:25:21 WinRT: minor keyboard code cleanup An internally-used hash table was replaced with a plain switch statement.
Philipp Wiesemann d5d3721b 2014-10-24T19:50:29 Added new key codes from Android 4.4 (API 20) and 5.0 (API 21).
Brandon Schaefer a1dcebb2 2014-10-24T06:52:54 Remove unused variable.
Brandon Schaefer 04dbc492 2014-10-24T06:50:09 Merge patch for bug 2750. Thanks Sylvain!
Philipp Wiesemann 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.
Alex Szpakowski d89620a8 2014-10-24T04:06:45 Removed the codepath that gets compiled if IPHONE_TOUCH_EFFICIENT_DANGEROUS is not defined. The "dangerous" codepath relies on the fact that UITouch objects are persistent for the entire touch sequence, which is always guaranteed by Apple.
Alex Szpakowski a0481bb1 2014-10-24T03:56:34 Completely removed custom splash screen code. iOS 8 introduced yet another official way to do launch images (via a Storyboard), and the custom splash screen code was broken on newer devices and caused bugs for all devices anyway.
Philipp Wiesemann 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.
Philipp Wiesemann 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.
Philipp Wiesemann 425a06a9 2014-10-23T16:39:15 Fixed missing @Override annotation warning in source for Android.
Philipp Wiesemann 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.
Philipp Wiesemann d4bdd246 2014-10-23T16:34:48 Fixed typo in message of alert dialog for not loaded libraries on Android.
Philipp Wiesemann 391c31cf 2014-10-23T16:33:27 Fixed writing new errors to standard output instead of error output on Android.
Philipp Wiesemann 85bed095 2014-10-23T16:31:02 Fixed documentation in source for Android.
Gabriel Jacobo 34a85f4d 2014-10-21T11:44:35 [Android] #2759: Show a message on failure to load a .so library (by Sylvain)
Gabriel Jacobo 96fd9cef 2014-10-21T11:27:06 Clarify (lack of) support for desktop OpenGL on the Raspberry Pi
Philipp Wiesemann 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.
Gabriel Jacobo 79035b39 2014-10-20T10:10:39 Bug 2739 - [Android] No support for SDL_DisableScreenSaver by Martin Gerhardy
Philipp Wiesemann 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.
Philipp Wiesemann 7cabaebe 2014-10-17T23:26:02 Fixed typo in source comment.
Philipp Wiesemann 0302bb77 2014-10-17T23:10:33 Fixed syntax error in cmake file.
Sam Lantinga 38f94e21 2014-10-16T09:54:13 Added a platform cleanup function for the Vivante video driver
Gabriel Jacobo 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.
Gabriel Jacobo 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.
David Ludwig 1b341f58 2014-10-15T15:50:35 WinRT build fix
Sam Lantinga 839be304 2014-10-15T16:26:51 Updated configure based on recent configure.in changes
Sam Lantinga 251ca855 2014-10-15T09:18:17 Expanded the iMX6 video driver into a general Vivante video driver that works across multiple SoCs
Sam Lantinga f7abb7c4 2014-10-15T09:14:09 Better error reporting for video drivers with less than full functionality.
Sam Lantinga 3b70f65d 2014-10-15T09:13:36 Fixed bug where EGL function pointers wouldn't get saved in optimized gcc builds
Sam Lantinga 348cf3ee 2014-10-15T09:11:15 Fixed spurious SDL error on shutdown if mouse capture isn't supported
Sam Lantinga 89127c2d 2014-10-15T09:10:50 Fixed input device detection on systems that aren't running the udev daemon
Sam Lantinga 639b39c4 2014-10-15T09:09:57 Fixed crash if the event subsystem didn't initialize properly
David Ludwig 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.
Sam Lantinga 72f703e3 2014-10-13T14:10:41 Fixed log typo
Sam Lantinga 557d43e6 2014-10-13T10:46:27 Minor cleanups
Sam Lantinga bebc8d12 2014-10-13T10:43:10 Added configure options to disable OpenGL ES 1.1 and 2.0 individually
David Ludwig 411e0f9d 2014-10-04T14:59:41 WinRT: expanded the documentation on SDL_HINT_WINRT_HANDLE_BACK_BUTTON
J?rgen P. Tjern? 498690ff 2014-09-30T11:20:50 Mac: Fix build with clang from Xcode 6.
Philipp Wiesemann 51a07ade 2014-09-25T20:56:27 Fixed broken layout for buttons with configured color in messagebox on Android.
Philipp Wiesemann 788a2e45 2014-09-24T23:46:46 Added setting configured color to button texts for messagebox on Android.
David Ludwig 53feb228 2014-09-19T12:09:51 WinRT: cleaned up the opening section of the README
David Ludwig 16773fd4 2014-09-19T11:27:18 WinRT: fixed broken emphasis formatting in README, when rendering it with Doxygen
Gabriel Jacobo 47658057 2014-09-18T11:03:34 [Android] Better fix for #2480, pause/resume audio
Ryan C. Gordon 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.
Ryan C. Gordon 266c0023 2014-09-17T14:47:42 Fixed haptic documentation typos (thanks, Elias!). Partially fixes Bugzilla #2701.
Gabriel Jacobo 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.
Gabriel Jacobo 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.
Philipp Wiesemann 60df8130 2014-09-16T23:09:32 Fixed doxygen warning and markdown formatting. Three backticks for blocks are not supported by doxygen.
Alex Szpakowski ba565622 2014-09-14T17:04:54 Enabling highdpi mode on an iPhone 6 Plus should now create a 1080x1920 OpenGL view, rather than 1242x2208 (414x736@3x.)
Philipp Wiesemann 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.
David Ludwig df37d1d5 2014-09-14T13:10:21 WinRT: made README note that Win 8.0 targeting via MSVC 2013 Express is not possible
David Ludwig 75d0396e 2014-09-14T12:57:26 WinRT: expanded and updated the README section on MSVC requirements
David Ludwig 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.
David Ludwig 11d865b8 2014-09-14T10:31:18 WinRT: added a note to README regarding need for a MS account
David Ludwig 4eef8bbc 2014-09-14T10:29:54 WinRT: cleaned up section headers
Sam Lantinga 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.
Sam Lantinga 2bfb3c3e 2014-09-12T15:09:33 Fixed using uninitialized display data in iMX6 initialization
Pierre-Loup A. Griffais 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
Alex Szpakowski 3071128d 2014-09-10T18:10:37 Merged default into iOS-improvements
Sam Lantinga bf8ac8e7 2014-09-10T14:05:27 DSCAPS_GL was added for DirectFB 1.6
Sam Lantinga 0e65e623 2014-09-10T08:59:19 Report the correct desktop video mode on the iMX6
mastermind 50cc4efe 2014-09-10T08:54:01 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
Ryo Munakata 7798b4d6 2014-09-09T17:26:16 video: waylandmouse: handle mmap error properly Signed-off-by: Ryo Munakata <ryomnktml@gmail.com>
Ryan C. Gordon bcaae0b5 2014-09-08T01:36:22 Deal with various .bmp file format variants in SDL_LoadBMP_RW(). This helps when modern versions of The Gimp (and lots of other things) produces a 32-bit bitmap with an alpha channel, or anything with "BI_BITFIELDS" format, since that data is now embedded in the bitmap info header instead of directly following it and we would accidentally skip over embedded versions of it. Fixes Bugzilla #2714.
Philipp Wiesemann 0b98d0cb 2014-09-06T23:20:14 Fixed example in header file. Did not compile because of typo in function name and missing argument.
Philipp Wiesemann c363bffa 2014-09-04T22:59:32 Changed version displayed in documentation generated by doxygen.
J?rgen Tjern? 782d590b 2014-09-02T14:14:23 Fix non-power-of-two shaped windows. This fixes a bug where SDL_SetWindowShape would render artifacts if the image was not a power of two image, due to rounding of width / 2.
Sam Lantinga 7242e814 2014-09-02T06:55:47 Updated version to 2.0.4
Ryan C. Gordon 724d24d9 2014-08-31T11:21:10 Mac: Don't add the same joystick twice if IOKit reports a duplicate device. Fixes Bugzilla #2704.
Philipp Wiesemann 7e515963 2014-08-27T23:27:42 Corrected hint documentation.
Sam Lantinga 66a88c6c 2014-08-25T10:55:54 Fixed memory leak getting the X11 window title
Sam Lantinga 05cff792 2014-08-24T00:02:12 Fixed bug 2699 - possible memory leak in GL_RenderReadPixels Benoit Pierre If glReadPixels returns an error, than the temporary buffer is not deallocated
Sam Lantinga 9d54a900 2014-08-23T19:06:54 May have fixed the Linux build again
Sam Lantinga fe4bc5ab 2014-08-23T11:00:16 Fixed Linux build
Sam Lantinga 059579e4 2014-08-23T10:47:50 Fixed bug 2696 - Mac: fix display mode refresh rate calculation Alex Szpakowski SDL's Cocoa backend uses the CGDisplayMode API to get refresh rate information about a display mode, but CGDisplayModeGetRefreshRate will return 0 on most non-CRT monitors. The only way I know of to get correct refresh rate information in OS X is via the CoreVideo DisplayLink API. I have attached a patch which tries to use the CVDisplayLinkGetNominalOutputVideoRefreshPeriod function if CGDisplayModeGetRefreshRate fails, which fixes display mode refresh rate information on the monitors I tested. The CVDisplayLink API requires linking with the CoreVideo framework, and the patch updates the various build files to do so.
Ryan C. Gordon a79ed6ce 2014-08-21T23:22:46 Fix declaration-after-statement errors in ibus code.
Ryan C. Gordon 5e1f1589 2014-08-21T23:15:17 Adjusted code style slightly for SDL_ibus.c
Ryan C. Gordon da4c3d54 2014-08-21T23:03:38 Added note about libibus-1.0-dev to the Linux README.
Philipp Wiesemann 96d23f6a 2014-08-20T22:51:56 Fixed typos in test program.
Philipp Wiesemann aaefa6a8 2014-08-20T22:49:59 Fixed not needed standard includes in test program.
Philipp Wiesemann ed543503 2014-08-20T22:47:07 Fixed warnings about unused value in test program.
Philipp Wiesemann a0cdcb0a 2014-08-20T22:44:15 Fixed warnings about unused functions in test program.
Philipp Wiesemann 005da280 2014-08-20T22:40:56 Fixed warnings about missing initializers in test program.
Alex Szpakowski b1a0bd10 2014-08-20T17:20:22 Merged default into iOS-improvements
Ryan C. Gordon 41728b3c 2014-08-20T01:21:45 Fixed the cmake-guided static analysis and use it by default. The configure script fails on it on Mac OS X, now, for whatever reason. Hopefully gets our static analysis buildslave running again!
Sam Lantinga 2d2f9020 2014-08-19T22:04:54 Better check for __has_feature