Log

Author Commit Date CI Message
Gabriel Jacobo 61959aa6 2013-11-22T13:24:53 OpenGL ES support for Windows
Gabriel Jacobo 45dbff2e 2013-11-22T10:26:28 [Android] Fixes #2247, enable hardware acceleration by default. Setting android:hardwareAccelerated="true" seems to fix some random behaviors in certain devices like the XperiaE. Ref: http://developer.android.com/guide/topics/graphics/hardware-accel.html
Ryan C. Gordon a2187171 2013-11-20T21:17:26 Query version for X11 XInput2 multitouch separately from base XInput2.
Gabriel Jacobo 9095952a 2013-11-20T12:51:18 Clean up X11 OpenGL ES backend If you really need to switch between OpenGL and GLES context types, just issue a SDL_GL_UnloadLibrary manually.
Ryan C. Gordon 2f301404 2013-11-19T15:25:00 Fixed SONAME lookup for runtime loading of shared libraries in CMake project. Fixes Bugzilla #2249.
Ryan C. Gordon 825a6898 2013-11-19T15:00:39 -fvisibility=hidden is no longer a requirement for dynamic X11. We don't clash with Xlib symbols anymore.
Gabriel Jacobo 131a0725 2013-11-19T11:04:05 Find the best EGL config available between those returned by eglChooseConfig This existed in the old Android Java code, it got lost in the migration to the commong EGL code.
Gabriel Jacobo 47139fb3 2013-11-19T10:56:38 Adds testgles2 Source code copied from: https://github.com/fantasydr/sdl-2.0-gles (thanks!) Minor fixes, configure script changes done by me.
Gabriel Jacobo fdfea4ad 2013-11-19T10:00:05 [Android] Try to improve handling of DPAD|GAMEPAD + KEYBOARD devices It seems some devices report themselves as DPAD or GAMEPAD and KEYBOARD as well, and we need to route different keycodes to different parts of SDL.
Sam Lantinga 48954ba1 2013-11-18T20:22:36 Accidentally committed debug code
Sam Lantinga d75498f6 2013-11-18T20:21:45 Textures need to be freed before renderers
Philipp Wiesemann 48cffe33 2013-11-18T23:45:46 Added missing resource release in test source.
Philipp Wiesemann 3cba7997 2013-11-18T23:43:15 Fixed unreachable return statement warning in gamecontroller source.
Philipp Wiesemann b5c68111 2013-11-18T23:38:59 Fixed implicit function declaration warning in joystick source for Android.
Gabriel Jacobo 2f6198ed 2013-11-17T11:07:55 Fixes building for RPi using --no-undefined
Gabriel Jacobo ec080ff8 2013-11-17T10:41:16 Restore evdev sources to configure script
Sam Lantinga 9dd923fb 2013-11-16T21:19:16 When the mouse is grabbed it's constrained to the client area, not the window frame.
Sam Lantinga e4146267 2013-11-16T18:56:02 Fixed bug 2245 - add SDL_acos and SDL_asin Sylvain Here's some code to add arc cosine, and arc sin functions to SDL_stdlib.c There are plainly written using SDL_atan.
Ryan C. Gordon 923709a6 2013-11-16T21:52:56 Turn off --no-undefined on OpenBSD again. Leave it on everywhere else for now.
Sam Lantinga 5a68214b 2013-11-16T12:11:19 Fixed bug 2232 - Version Mismatch in VS2013 Solution File Joe LeVeque Line 3 of SDL_VS2013.sln file reads "# Visual Studio 2012" instead of "# Visual Studio 2013" which causes Windows to associate the file with Visual Studio 2012, if installed, instead of Visual Studio 2013.
Sam Lantinga 8acec42a 2013-11-16T12:04:00 Fixed up configure so it doesn't reference input/evdev anymore
Sam Lantinga 4e1ee557 2013-11-16T12:02:09 Fixed bug 2231 - Move src/input/evdev into src/core/linux Ryan C. Gordon To keep the directory layout sane, we should probably move this one piece of source to the linux catch-all directory, instead of making it look like this is part of an SDL "input" subsystem.
Sam Lantinga 744cd465 2013-11-16T11:58:21 Fixed bug 2238 - Enable GCC atomics for clang Marcus von Appen clang provides support for optimized atomics. The attached patch enables the cmake build system to take clang into account on checking for atomics.
Sam Lantinga 3b52058f 2013-11-16T11:54:16 Fixed bug 2241 - SSE intrinsic in fillrect MMX path norfanin The MMX path in SDL_fillrect.c uses the SSE intrinsic _mm_stream_pi. The function or symbol provided by the compiler will not be present because the SSE header may not get included. The linker will complain about an undefined reference. Since this is the only intrinsic used here (and someone forgot to create one for MOVQ), I think the MMX path can be removed completely. At least I don't see another way to move 64-bits from an MMX register to memory.
Sam Lantinga 517747d5 2013-11-16T10:27:46 Added information on reporting bugs to the README.txt file
Sam Lantinga 104ceb86 2013-11-16T10:25:46 Fixed compile warning, thanks to Michael Pohoreski
Sam Lantinga 8093cfd8 2013-11-15T22:07:35 Better fix for bug 2207 - SDL_RenderSetViewport behavior is different/incorrect on OpenGL renderer vs DirectX renderer At least, it works better here on my Mac. :)
Sam Lantinga 44959a21 2013-11-15T22:05:26 Added viewport test, contributed by Andreas Schiffler and improved by me and Ryan Gordon. If it works correctly you should see a square moving from the upper left to the lower right, with a little yellow box at the top of the moving square. You can pass --target as a command line option to have it use a render target instead of rendering directly to the screen. The output should be identical in this case.
Sam Lantinga 30f7e868 2013-11-15T22:01:58 Added space in the common state structure for render targets
Ryan C. Gordon 4f39f011 2013-11-15T23:20:50 Fix viewport being upside down in OpenGL renderer. Fixes Bugzilla #2207.
Sam Lantinga 4295a92f 2013-11-14T22:26:49 Fixed bug 2240 - On OS/X after calling SDL_SetWindowBordered right mouse clicks no longer register philhassey On OS/X after calling SDL_SetWindowBordered right mouse clicks no longer register. Steps to Reproduce: 1. Open a windowed window on OS/X. (With the border on.) 2. e.button.button will give values 1,2,3 depending on which mouse button I click. 3. Call SDL_SetWindowBordered to disable the border. 4. e.button.button will only give values 1,2. 3 (right mouse button) stops coming through. Expected result: I expect all mouse buttons to register.
Sam Lantinga ef97aab9 2013-11-14T21:39:54 Backed out changeset 6c59f7c8ec17 - it didn't actually do anything useful
Ryan C. Gordon b2f8b351 2013-11-14T20:24:40 Fixed comment typo.
Ryan C. Gordon 346ebbb4 2013-11-14T20:24:15 Turning --no-undefined back on, to see what platforms are still broken.
Gabriel Jacobo 35915d4f 2013-11-14T20:14:02 Clean up the EGL related video backends (X11, Android, RPi)
Ryan C. Gordon a4a7c78c 2013-11-14T14:45:00 Apparently Haiku is removing /boot/common (thanks, scottmc!). See http://lists.libsdl.org/pipermail/sdl-libsdl.org/2013-November/091877.html
Ryan C. Gordon e899f0c4 2013-11-14T14:42:20 Haiku: fixed uninitialized variable.
Apoorv Upreti f9f064d5 2013-11-14T22:35:28 merged with repo
Ryan C. Gordon 00003e8c 2013-11-14T11:51:24 Renamed things named after BeOS to be named after Haiku instead.
Apoorv Upreti 1c138785 2013-11-14T22:19:07 Fixed visualtest build on VS2012 SDL2, SDL2main and SDL2test had to be added as dependencies to the testquit project to get it to build properly.
Gabriel Jacobo 85dd689f 2013-11-14T10:19:07 Adds joystick/udev troubleshooting information to README-linux.txt
Ryan C. Gordon dd325b97 2013-11-14T01:00:08 Patched to compile on Haiku.
Ryan C. Gordon 8d6e03f3 2013-11-14T00:52:39 Added SDL_DetachThread() API.
Sam Lantinga b36d98bd 2013-11-13T21:50:59 Diagonal flipping with RenderCopyEx Ivan Rubinson As it turns out, it was impossible to render a texture flipped diagonally (both vertically and horizontally) with one RenderCopyEx call. With help from #SDL @ freenode, we came up with a fix.
Ryan C. Gordon 7550ddcc 2013-11-13T22:35:26 Started BeOS removal: merged BeOS thread and pthread code. Haiku uses most of the standard pthread API, with a few #ifdefs where we still need to fallback onto the old BeOS APIs. BeOS, however, does not support pthreads (or maybe doesn't support it well), so I'm unplugging support for the platform with this changeset. Be Inc went out of business in 2001.
Gabriel Jacobo 5b8b403e 2013-11-13T11:18:37 [Windows] Fixes bug #1555, handle ALT+F4 on Windows
Gabriel Jacobo f8e1d350 2013-11-13T09:41:21 Updated androidbuild.sh to enable parallel builds and ndk-build parameters
Gabriel Jacobo ad4ba2d5 2013-11-12T11:31:13 Added a few notes from Ryan's email to README-linux.txt
Gabriel Jacobo bcece01c 2013-11-12T11:28:42 Linux README explaining build vs runtime, and build deps for Ubuntu 13.04 Build dependencies list for Ubuntu 13.04 provided by Ryan.
Sam Lantinga 397f5a85 2013-11-12T02:18:52 Retain the high dpi flag when recreating the window (e.g when creating a renderer context)
Sam Lantinga 12961352 2013-11-12T02:04:12 Fixed build error with SDK < 10.7
Sam Lantinga 253b9ba8 2013-11-12T02:02:12 We still want to generally minimize on focus loss, but not when we're in a fullscreen space on Mac OS X.
Sam Lantinga 75145ea0 2013-11-12T01:52:54 Added a hint SDL_HINT_VIDEO_FULLSCREEN_SPACES to specify that windows go fullscreen into their own spaces on Mac OS X.
Sam Lantinga 5f8a0b18 2013-11-12T00:32:29 Fullscreen space naming cleanup to avoid confusion with normal fullscreen mode
Sam Lantinga 7459b159 2013-11-11T23:42:43 Made sure the window had the correct border when manually being brought back from fullscreen mode.
Sam Lantinga cb190b82 2013-11-11T22:43:05 Fixed assertion when quickly toggling from fullscreen back to fullscreen: "Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'backgroundWindows not nil in enterFullScreenTransitionWithOptions:animated:activatingIt:'" To reproduce this, run testsprite2, press Alt-Enter once, again while it's animating to fullscreen, and then again while it's animating out of fullscreen.
Sam Lantinga 8f8070db 2013-11-11T21:38:11 Fixed window resizing when entering and leaving fullscreen mode
Sam Lantinga 7cf76ffb 2013-11-11T21:21:18 Fixed assertion failure when minimizing a fullscreen window.
Sam Lantinga 75a23d99 2013-11-11T20:51:19 Fixed bug 2212 - SDL_SetTextInputRect has no effect on iOS philhassey Overview: While SDL_SetTextInputRect works perfectly to move my window out of the way of the virtual keyboard using SDL2/Android, on iOS this function has no effect. Steps to Reproduce: Call SDL_SetTextInputRect with a rect near the bottom of the screen before calling SDL_StartTextInput. Actual Results: The iOS virtual keyboard is displayed after calling SDL_StartTextInput, but the screen is not shifted to reveal the TextInputRect region. Expected Results: The screen should be shifted to reveal the TextInputRect region (like with SDL2/Android.) This patch implements SDL_SetTextInputRect for uikit/iOS. It sets up notification handlers to respond to changes in the display of the keyboard. These handlers then change the frame of the view so it is moved out of the way of the keyboard as per SetTextInputRect.
Sam Lantinga cb31a80d 2013-11-11T20:42:59 Properly handle toggling fullscreen state when another fullscreen state change is in progress.
Gabriel Jacobo 819148a8 2013-11-11T19:17:32 [X11] Fix up compilation when EGL headers are not present.
Gabriel Jacobo 04afd61c 2013-11-11T11:12:43 [Android] Try to improve handling of some dpad+gamepad+keyboard corner cases
Gabriel Jacobo 6dbed827 2013-11-11T10:59:15 [Android] Fixes Bug 2031 - Backspace Not Sending Events From On-Screen Keyboard Thanks Joe LeVeque!
Gabriel Jacobo d37bad52 2013-11-11T10:49:48 [Android] Improve handling of keyboard, dpad and gamepad events Thanks Dimitris Zenios for the report!
Gabriel Jacobo 45a88b6a 2013-11-11T10:15:35 [Android] Fixes bug 2217, better joystick axes handling on Android.
Sam Lantinga f0692d65 2013-11-11T03:29:11 Fixed compiling with older Mac OS X SDK
Sam Lantinga 2384ad5b 2013-11-11T03:12:50 Fixed compiling with ISO C90
Sam Lantinga 2ceeb74e 2013-11-11T03:02:42 Don't minimize by default when in fullscreen desktop mode. This fixes behavior with the new Mac OS X fullscreen space code, as well as improve behavior on Linux desktops. The default for normal fullscreen mode is still to minimize because we're likely doing a mode switch and don't want to stick around as a borderless window in the background.
Sam Lantinga 4c1322f6 2013-11-11T02:53:00 Added support for new style fullscreen transitions on Mac OS X
Sam Lantinga 2b93fa08 2013-11-11T02:00:58 Turn off resizable flag by default, you can always pass the --resize command line option if you need it.
Sam Lantinga 6ec3e690 2013-11-11T01:59:40 Fixed whitespace style
Sam Lantinga 77a0d3fe 2013-11-11T01:59:20 Toggling fullscreen now takes fullscreen flags
Sam Lantinga 893afbaf 2013-11-10T19:19:44 Fixed pool memory leak
Sam Lantinga b30e396b 2013-11-10T17:56:07 Fixed bug 1965 - Mac: dead code for supporting OS 10.4 Alex Szpakowski The new patch removes all the truly obsolete code I could find. I tested on OS 10.8 and OS 10.5.
Sam Lantinga 5821466c 2013-11-10T17:40:35 Fixed bug 2176 - SDL_CreateWindow(w=INT_MAX, h=INT_MAX) causes program to hang Catch exceptions generated when trying to create a Cocoa window.
Gabriel Jacobo 15a3bbcb 2013-11-10T20:38:50 [X11] Ignore both NotifyGrab and NotifyUngrab modes in FocusIn/FocusOut events
Gabriel Jacobo d21640e9 2013-11-10T20:13:27 Fixes bugs #2213 and #2214, improves the Android joystick code button handling
Sam Lantinga 9228c845 2013-11-10T14:48:44 Fixed issue with dead key press/release events being filtered out.
Sam Lantinga 0d39d090 2013-11-10T14:33:01 Hopefully fixed focus problems when handling a global hotkey on X11. See this thread for details: https://bugzilla.mozilla.org/show_bug.cgi?id=578265
Sam Lantinga e19f15dd 2013-11-10T14:10:00 Fixed bug 2067 - Window size limit calculation issue when exiting fullscreen on Windows Also fixed minimize and maximize state detection for Windows.
Sam Lantinga b7553ae7 2013-11-10T11:51:06 Added project files for Visual Studio 2013 Added /arch:SSE code generation option to prevent SSE2 floating point functions from being implicitly called (which aren't linked in SDL)
Philipp Wiesemann 842a9898 2013-11-10T17:50:40 Fixed joystick crash on Android if joystick subsystem not initialized.
Philipp Wiesemann 305f64ba 2013-11-10T17:44:51 Replaced search loop with indexOf() in Java file.
Philipp Wiesemann bbf0f62b 2013-11-10T17:42:01 Replaced implicit boxing with explicit boxing in Java file.
Philipp Wiesemann 2d671781 2013-11-10T17:40:26 Renamed a class in Java file for consistency.
Philipp Wiesemann 802f83ff 2013-11-10T17:38:03 Removed not needed imports from Java file.
Philipp Wiesemann d6c1e381 2013-11-10T17:35:07 Added missing @Override annotations in Java file.
Philipp Wiesemann 26ce68e8 2013-11-10T15:04:58 Changed motion listener implementation not to inherit from Activity class.
Philipp Wiesemann fda8d934 2013-11-10T14:58:48 Moved two function calls so they are only called if needed. If the MotionEvent is not from joystick the return values are not needed.
Philipp Wiesemann aa337980 2013-11-10T14:50:37 Added a new unused key code from Android 4.4 (API 19).
Philipp Wiesemann 0ab7624c 2013-11-10T14:47:05 Changed function to return -1 through SDL_Error() instead of plain -1.
Philipp Wiesemann 82b3e7d2 2013-11-10T14:44:50 Changed function to be static. The function keycode_to_SDL() is only used in this file.
Philipp Wiesemann 6e3558cf 2013-11-10T14:42:41 Removed unused local variable to fix warning.
Philipp Wiesemann 3f2e942f 2013-11-10T14:39:38 Fixed implicit function declarations by including the missing header.
Philipp Wiesemann bd1e1a93 2013-11-10T14:36:41 Corrected source comment.
Ryan C. Gordon 92b12812 2013-11-10T00:38:37 Added Ben Henning's GSoC2013 work: premake build system.
Ryan C. Gordon 52069757 2013-11-10T00:32:23 Added Apoorv Upreti's GSoC2013 work: visual test suite. See visualtest/README.txt for details.
Sam Lantinga 24731317 2013-11-09T01:15:17 Updated notes about building with the Windows 8 SDK: Get the DirectX SDK.
Sam Lantinga 33cf925c 2013-11-09T01:08:21 Fixed signed/unsigned warning
Sam Lantinga 550676d0 2013-11-09T00:56:05 Fixed signed/unsigned warning