Log

Author Commit Date CI Message
Ryan C. Gordon 5224dfcc 2015-11-17T12:15:35 X11: Let XRandR respect multiple screens (DISPLAY=:0.0 vs :0.1, etc).
Sam Lantinga 11f2a9f8 2015-11-16T21:20:38 Fixed bug 3168 - xinput build failure with dxsdk Ozkan Sezer Yes, the annotations can actually be removed. They are used only by MSVC and aren't vital.
David Ludwig dc804c0e 2015-11-14T21:29:14 WinRT: fixed build error in latest XInput code This change has also been tested as buildable + runnable on Win32 + MSVC 2015, 2013, 2012, and 2010. It may fix similar build errors (in XInput code) that are appearing in MingW builds (on buildbot).
Ryan C. Gordon f09d3750 2015-11-14T14:53:44 Minor whitespace fix.
Ryan C. Gordon e6ad29ae 2015-11-14T12:35:45 Added SDL_JoystickFromInstanceID() and SDL_GameControllerFromInstanceID().
Alex Szpakowski 998a54f9 2015-11-14T04:24:39 Mac: Fix a warning about implicit declaration of SDL_SendKeymapChangedEvent (bug #3167.)
Sam Lantinga dee61c5a 2015-11-13T14:26:00 Added support for the Gamestop Logic3 Controller
Alex Szpakowski 2816d447 2015-11-12T22:53:37 Mac: Added SDL_GameController mappings for the Steelseries Stratus XL and Nimbus gamepads.
Alex Szpakowski 9c51c4a6 2015-11-12T22:44:32 Mac: Detect the d-pad and pause buttons on Steelseries MFi gamepads (bug #3124.)
Alex Szpakowski 72678358 2015-11-12T20:58:11 iOS: Fixed crashes when rotating the screen after destroying a window.
Sam Lantinga faee6289 2015-11-12T13:13:36 Added Linux support for the Razer Sabertooth game controller
Alex Szpakowski 0da59802 2015-11-09T18:13:47 iOS: Set the 'player index' of MFi game controllers when they're opened for use. MFi controllers display their player index via LEDs on the controller.
Alex Szpakowski 84f6bc41 2015-11-09T17:41:54 iOS: Fixed MFi game controller triggers to report the proper range of values.
Sam Lantinga 5103ae9f 2015-11-09T08:55:07 one last SDL fix: restore menu bar if we destroy a fullscreen window without transitioning it back to a non-fullscreen window first
Sam Lantinga ebfb2ecb 2015-11-09T08:55:01 don't toggle SDL fullscreen state on OSX if we're destroying the window
Sam Lantinga eeddb7c5 2015-11-09T08:54:56 more SDL fullscreen state tracking fixes, don't update fullscreen flags on failure to change fullscreen state
Sam Lantinga 792354d6 2015-11-09T08:54:49 SDL OSX implementation must account for the fact that going fullscreen can fail. improve the logic around retrying, make a few attempts before failing.
Sam Lantinga 2d884656 2015-11-09T08:54:42 add hacky support for failed fullscreen transitions. SDL doesn't have the concept of a fullscreen transition that failed. if the user is actively changing spaces while the app goes fullscreen, it fails to go fullscreen; now it will just try again instead of hanging around with the wrong window styles.
Alex Szpakowski 7ce64372 2015-11-09T02:32:37 iOS MFi game controllers: inverted the thumbstick y axis values to match the behavior of other controllers.
Sam Lantinga cef22420 2015-11-05T18:10:19 Added Linux binding for Wii-U Pro controller
Sam Lantinga 38edc177 2015-10-27T11:18:04 Add SDL_HINT_VIDEO_X11_NET_WM_PING to allow disabling _NET_WM_PING protocol handling in CreateWindow if desired.
Sam Lantinga 2b0140a9 2015-10-27T11:17:32 Add a new SDL_KEYMAPCHANGED SDL event to abstract notification of keyboard layout or input language changes.
Alex Szpakowski f8824cb9 2015-10-23T03:37:53 Mac: Fix returning to the window's Space in OS X 10.11+ when SDL_WINDOW_FULLSCREEN_DESKTOP is used (bug #3152.)
Philipp Wiesemann 4c72d39c 2015-10-15T22:26:21 D3D11: Fixed SDL_RenderDrawPoints() ignoring input after the first 128 points. If a limit would be needed then count should be adapted before stack allocation.
Philipp Wiesemann 2a4855f9 2015-10-15T22:26:00 Android: Added missing import statement. It did not compile without.
Ryan C. Gordon 82603b60 2015-10-15T12:52:00 Fix some Android keyboards that didn't work properly. This conversation came from Joshua Granick on Twitter, starting here: https://twitter.com/singmajesty/status/653640543675641857 "We found an issue where certain Android keyboards (like the S6 with predictive text) wouldn't work ... Certain keyboards use a predictive text mode that does not dispatch a traditional onKey events, which is troublesome ... but telling the OS to use a "visible password" keyboard helps deal with this problem ... perhaps there's some other way (onKeyPreIme?) to do "textediting" events, but for now, this should be a fast fix ... I hear it affects the Galaxy Tab A 8.0", Galaxy S6, Asus ZenPhone 2, maybe others"
Philipp Wiesemann ceb43129 2015-10-07T21:18:08 Added SDL_JoystickCurrentPowerLevel() to WhatsNew.txt for 2.0.4.
Philipp Wiesemann d80f4566 2015-10-07T21:16:59 Fixed freeing uninitialized pointers on failure cleanup in tests.
Philipp Wiesemann 5bc93cc5 2015-10-07T21:16:40 Android: Added a new method in SDLSurface.
Philipp Wiesemann 86711041 2015-10-07T21:16:18 Android: Added new key codes without mapping.
Sam Lantinga 5b174113 2015-10-06T21:40:50 Converted tabs to spaces for SDL style
Sam Lantinga 9bd640e1 2015-10-06T21:16:21 Fixed sending a size event while setting up a window (fix for DOTA 2 on Source 2)
Ryan C. Gordon c5e68d68 2015-10-06T00:10:54 Mac: Reset display if going from fullscreen to a fullscreen Space or vice-versa. Otherwise, bad things happen.
Sam Lantinga 7bc72eaf 2015-10-01T11:21:06 Fixed forcing the window size when creating a non-resizable window on Windows.
Sam Lantinga 667783ba 2015-09-30T16:00:21 Fixed swapped Windows and Linux entries for the Cideko AK08b
Sam Lantinga a0c4b56f 2015-09-30T15:39:30 SDL - added new SDL_JoystickCurrentPowerLevel() API that returns the battery level of the selected joystick. Currently only implemented for XInput devices, other platforms are a TODO. CR: Sam
Sam Lantinga c2f03948 2015-09-30T15:38:30 Fix crash on controller hotplug on linux. CR: Sam
Sam Lantinga e015140a 2015-09-30T15:38:18 SDL - add dynapi entry points for SDL_JoystickCurrentPowerLevel
Sam Lantinga ed23a3f8 2015-09-30T15:33:33 Added support for the Cideko AK08b
Philipp Wiesemann 10daf1f4 2015-09-27T20:12:47 Android: Removed three internal functions not used by SDL. They were not needed internally since the switch to the common EGL backend. Thanks to the SDL mailing list for pointing out that the functions seem unused.
Alex Szpakowski ab2a3500 2015-09-25T15:17:20 iOS: show message boxes using the new UIAlertController APIs when supported, rather than the deprecated UIAlertView. UIAlertController is also supported on tvOS, whereas UIAlertView is not.
Philipp Wiesemann 774b0775 2015-09-21T21:19:37 iOS: Fixed pointer dereference after free.
Philipp Wiesemann 7805c1bc 2015-09-21T21:16:54 Updated configure.in file.
Alex Szpakowski 2bf6f1bc 2015-09-20T23:08:36 Added initial support for MFi game controllers on iOS.
Ryan C. Gordon d338f465 2015-09-18T16:22:23 Added copyright information on test/sample.wav; the mystery is solved! :)
Philipp Wiesemann cdfec382 2015-09-18T21:27:00 Added more entries to WhatsNew.txt for 2.0.4.
Philipp Wiesemann efad04c3 2015-09-18T21:26:46 Android: Added check if Java method for APK expansion file exists.
Philipp Wiesemann 40364541 2015-09-18T21:26:28 Android: Improved last error message for failed APK expansion file use.
Philipp Wiesemann 625d39b1 2015-09-17T22:36:11 Android: Added additional error messages for APK expansion file use.
Philipp Wiesemann 6e7c479e 2015-09-17T22:30:24 Android: Fixed trying to read from APK expansion files without version hint set. This also fixed overwriting the asset error message which is more useful if no APK expansion files are available and the requested file was not found.
Philipp Wiesemann 92ca42d9 2015-09-17T22:24:54 Android: Renamed SDLActivity's Java method used for APK expansion files. The name was not correct.
Philipp Wiesemann 5e593682 2015-09-17T22:21:12 Android: Added to APK expansion file hint documentation in header file.
Philipp Wiesemann 68b3b542 2015-09-17T22:14:37 Android: Removed empty onDraw() override method from SDLActivity. It was redundant because SDLActivity already inherits an empty method from the base class SurfaceView (which does not implement it but inherits it from View). Visibility of onDraw() in SDLActivity is now protected again instead of public.
Alex Szpakowski ecfdb10c 2015-09-15T00:25:07 iOS SDL_GL_CreateContext: Clamp the multisample sample count when the requested value is too high, rather than failing to create the context. This matches the SDL_GL_CreateContext behavior in OS X.
Alex Szpakowski a506f1cb 2015-09-14T22:50:55 Windows: Try to use xinput9_1_0.dll if XInput 1.4 and 1.3 are not available. XInput "9.1.0" ships with Windows Vista and 7 systems, but it lacks some features, including support for detecting Guide button presses.
Alex Szpakowski 76fc3788 2015-09-14T22:44:20 Fixed the header guard in the darwin SDL_sysjoystick_c.h file.
Sam Lantinga 08ce12c4 2015-09-14T11:15:25 Fixed divide by zero if the application has run out of GDI handles and is trying to show an error dialog
Ryan C. Gordon 4295a6fe 2015-09-13T11:29:45 Mac: Fixed off-by-one bug when plugging in a joystick (thanks, Konstantin!).
Alex Szpakowski 82c8825c 2015-09-09T19:08:52 iOS: Added support for force-touch on capable devices.
Alex Szpakowski 6a32ca7a 2015-09-09T13:55:11 Mac: Fixed SDL_SetWindowSize to set the size of the content area of the window, rather than the total size including decorations.
David Ludwig c964ac91 2015-09-07T13:25:36 Fix Bug 3114: SDL's MSVC-2010+ projects can fail to build via a custom VS .sln
Philipp Wiesemann e8757e87 2015-09-05T20:21:52 Android: Changed return type of four JNI functions from int to jint.
Philipp Wiesemann a4a5483f 2015-09-05T20:21:35 Android: Fixed unused variable warning.
Philipp Wiesemann 2b6f6422 2015-09-05T20:21:06 Android: Fixed missing break warning.
Philipp Wiesemann 440d6cc0 2015-09-05T20:20:35 Added another entry to WhatsNew.txt for 2.0.4.
Alex Szpakowski 42f282cc 2015-08-28T19:10:46 Fix bug 3081: CMake configuration auto-disables OpenGL ES support on Windows. Thanks to EntranceJew for the patch.
Alex Szpakowski d154e6c6 2015-08-28T19:05:24 Fixed bug 3098: CMake project never enables xinput support on Windows. Thanks to EntranceJew for debugging the issue.
Philipp Wiesemann 212e9963 2015-08-24T22:35:01 PSP: Replaced use of SDLKey with SDL_Keycode.
Philipp Wiesemann 991feafa 2015-08-24T22:31:36 PSP: Fixed a syntax error. Found by Cppcheck.
Philipp Wiesemann 83e94e25 2015-08-21T23:50:59 Corrected documentation of the SDL_CreateTexture() functions in header file.
Philipp Wiesemann 0856a7ef 2015-08-21T23:50:37 Changed an error return value from 0 to NULL for consistency.
Alex Szpakowski 2d63af8e 2015-08-21T00:19:36 Updated SDL_egl.h to have the latest EGL version and extension information.
Philipp Wiesemann 2fa03948 2015-08-19T22:29:37 Corrected documentation of SDL_AddTimer() in header file.
Philipp Wiesemann 98986f39 2015-08-15T21:21:29 Removed not needed call to pthread_attr_getstacksize() for SDL_CreateThread().
Ryan C. Gordon 81457603 2015-08-15T00:36:39 X11: Handle keyboard layout changing during app's run on Ubuntu 12.04 (etc). Fixes Bugzilla #3050 (in addition to Jason Wyatt's patch, prior to this).
Ryan C. Gordon 0d8c3a0b 2015-08-14T23:38:40 Patched to compile.
Ryan C. Gordon 0cf81fbd 2015-08-14T23:30:46 Minor coding convention fix.
Jason Wyatt fb37956d 2015-08-14T16:23:31 Supply current group when translating X11 Keycodes to Keysyms.
Ryan C. Gordon 9e2b90e2 2015-08-14T01:20:41 Cocoa: Keep the window's screen position through SDL_SetWindowSize(). The Y coordinate is flipped in Cocoa, so if you change the height, the window will move and maybe clip against the screen edge if you don't adjust its Y coordinate to match. Possibly fixes Bugzilla #3066.
Ryan C. Gordon f2f8e6f5 2015-08-13T21:40:32 X11: only send mouse button up events if not a mousewheel "button" (Brackets in the wrong place, my bad!)
Ryan C. Gordon 874bf865 2015-08-13T17:40:28 X11: Simplified mousewheel event handling. Under load, this would race and report an incorrect mouse button event instead of a wheel event. Fixes Bugzilla #2987.
Ryan C. Gordon da6f2221 2015-08-13T17:37:09 X11: isConfigureNotify() isn't used at the moment, comment it out.
Ryan C. Gordon 8a1fd982 2015-08-13T14:56:16 X11: don't block on a ConfigureNotify event during SDL_SetWindowBordered(). Unity's window manager is (legitimately, since it moves the client window's position) sending one, and SDL was incorrectly trying to mask it out. Other window managers (KWin, apparently) don't move the window and would hang here indefinitely. Fixes Bugzilla #3052.
Philipp Wiesemann eb57d752 2015-08-09T20:01:01 Added missing SDL_Quit() in test program.
Philipp Wiesemann 3362c9f1 2015-08-09T20:00:51 Emscripten: Changed return -1 after SDL_SetError() to return SDL_SetError().
Ryan C. Gordon c67213f3 2015-08-07T01:02:35 X11: Fixed XRandR display detection. Previously this only worked on X11 when Xinerama was carrying the weight. Fixes Bugzilla #3062.
Ryan C. Gordon 344fbe61 2015-08-07T01:00:14 testdisplayinfo.c forgot to SDL_Quit() at the end.
Ryan C. Gordon ca468042 2015-08-07T00:59:31 X11: Fixed a memory leak when adding duplicate display modes.
Philipp Wiesemann fcc59409 2015-08-05T21:04:10 Emscripten: Added missing error messages for audio and joystick init failures.
Philipp Wiesemann 2d8c49fd 2015-08-05T21:03:31 Added more entries to WhatsNew.txt for 2.0.4.
andrewb a702c338 2015-08-03T11:37:03 Add SDL_HINT_WINDOWS_NO_CLOSE_ON_ALT_F4 to SDL so that Reborn can keep running through Alt+F4.
Sam Lantinga 270f38db 2015-08-01T22:03:50 Fixed bug 3083 - Android JNIEXPORT and JNICALL missing Martin Gerhardy Just a minor thing, but a huge outcome. All the other jni related functions already have those flags, but the nativeInit function lacks them - so it might be stripped away.
Alex Szpakowski 5a3cc7f5 2015-08-01T15:16:57 EGL: Added support for sRGB system framebuffers, when the required EGL extension is present.
Philipp Wiesemann c57f409f 2015-07-31T20:16:58 Mac: Fixed check for SDL_HINT_MAC_BACKGROUND_APP.
Philipp Wiesemann c509e798 2015-07-31T20:16:18 Fixed documentation of SDL_DropEvent in header file.
Philipp Wiesemann d79bfa0d 2015-07-31T20:15:39 Added filesystem to list of paths in porting README.
Philipp Wiesemann 682604b2 2015-07-31T20:15:02 Android: Changed androidbuild.sh to use path from variable.
Alfred Reynolds 0aa2a6df 2015-07-31T09:16:21 SDL - fix hint check, we want or not and
Sam Lantinga e93f90ae 2015-07-30T10:01:04 Trivial integer truncation warning fixes.
Alfred Reynolds 628d8edb 2015-07-29T17:19:15 SDL - add a new SDL_HINT_MAC_BACKGROUND_APP hint, when set or set to 1 don't force the app to be foreground