Log

Author Commit Date CI Message
Ryan C. Gordon 39bad809 2014-06-15T11:59:16 Mac: Fixed crash when returning from a fullscreen Space on shutdown.
Ryan C. Gordon 70cebc7d 2014-06-15T01:19:01 Add coreaudio to the configure script's summary output.
Ryan C. Gordon 446d19c4 2014-06-14T23:31:23 Removed SDL_SYS_JoystickNeedsPolling(). It was simpler to just have the polling (actually: hotplug detection) functions return immediately if it's not an appropriate time to poll. Note that previously, if any joystick/controller was opened, we would poll every time anyhow, skipping this function.
Ryan C. Gordon 9e5504f8 2014-06-13T14:52:26 Mac: Run the CFRunLoop in joystick mode during SDL_SYS_JoystickNeedsPolling(). This fixes hotplugging failing to detect devices.
Alfred Reynolds 8c2c744a 2014-06-13T10:50:24 - fixed crash if you removed a device twice, the deviceRef is invalid if removed from the removed device callback (added in http://hg.libsdl.org/SDL/rev/d4e4d0fcda03 ).
Ryan C. Gordon 8719a765 2014-06-10T19:39:33 Regenerated SDL_audiotypecvt.c with updated perl script.
Ryan C. Gordon 91b7fb00 2014-06-10T19:37:59 Fix audio resampling in some cases. Fixes Bugzilla #2389.
Philipp Wiesemann 78d40e09 2014-06-09T17:37:59 Fixed nesting of HTML elements in documentation. The code element may only contain inline but the pre element is block.
Philipp Wiesemann f4df5425 2014-06-09T17:28:08 Fixed typos in documentation.
Philipp Wiesemann ea93820e 2014-06-09T17:25:03 Fixed format string faults in audio tests. They were found by the recent code annotations.
Gabriel Jacobo 7467e30b 2014-06-08T18:50:40 Forgot a piece of README-nacl.txt
Gabriel Jacobo efa2d058 2014-06-08T18:18:13 Fixes audio for Native Client, and other fixes... - SDL_NaClMount, SDL_NaClUmount - Default mounting of https at / in SDL's main function - More documentation in README-nacl.txt
Sam Lantinga 5ae12b46 2014-06-08T12:05:17 The NaCL mount/unmount functions need to be in SDL_system.h and specific to NaCL
Sam Lantinga be74705f 2014-06-08T12:00:29 Visual Studio 2013 Express Edition can load the standard solution, so we don't need special Express Edition solutions.
Sam Lantinga d639d031 2014-06-08T11:59:36 Ignore Visual Studio test data files
Philipp Wiesemann ef3887ec 2014-06-08T13:14:20 Changed two Java nested classes into static nested classes. Both do not need an implicitly created reference to enclosing class.
Philipp Wiesemann d2220917 2014-06-08T13:03:45 Fixed typo in log message.
Philipp Wiesemann 2b95c4c4 2014-06-08T13:01:04 Fixed doxygen comment in header.
Philipp Wiesemann 0ad1dc18 2014-06-08T12:51:02 Fixed typo in source comment.
Sam Lantinga 85cae478 2014-06-07T21:58:18 Updated projects for Visual Studio 2010, 2012 and 2013 * Test programs use project references instead of hard-coding SDL library dependencies * Test data files are copied only when needed. * Copying SDL2.dll is no longer necessary * Fixed /SAFESEH warning * Fixed attempted rebuild of SDL every time a test program is run
Sam Lantinga 47e0aa0e 2014-06-07T20:43:12 Fixed building on command line Mac OS X
Sam Lantinga cde32ccc 2014-06-07T18:20:25 Fixed compile warnings
Sam Lantinga 6101e4b2 2014-06-07T18:20:01 Added SDL_sqrtf(), SDL_tan(), SDL_tanf()
Sam Lantinga 40538446 2014-06-07T17:31:50 Fixed crash with SDL_SetError(NULL)
Sam Lantinga 0ddd252f 2014-06-07T17:25:56 Fixed initializing test event queue
Sam Lantinga 5907cfaa 2014-06-07T17:25:35 Fixed another loopwave crash with no command line arguments
Sam Lantinga a93474a2 2014-06-07T17:09:32 Fixed loopwave crash with no command line arguments
Sam Lantinga 9fb2cc10 2014-06-07T11:36:08 dront78 implemented YUV texture support for OpenGL ES 2.0
Gabriel Jacobo 93aabd32 2014-06-06T18:33:17 Adds missing Makefile for NACL test and a couple of smaller fixes
Gabriel Jacobo 1e352d79 2014-06-06T15:45:59 Chrome's Native Client backend implementation
Brandon Schaefer 04a0836b 2014-06-05T15:37:33 Turns out visualstudio does not like PRIu64, soo lets just cast it to llu.
Brandon Schaefer 1f716769 2014-06-05T15:29:23 Fix warnings, only major one being an SDL_SetError not providing enough arguments.
Sam Lantinga 6671aa2a 2014-06-05T09:49:45 Code analysis annotations found a legitimate bug!
Sam Lantinga d0146cfc 2014-06-05T09:27:06 Added missing headers that should be installed.
Ryan C. Gordon 4f7329a1 2014-06-05T11:04:07 Don't link directly against OpenGL.framework on Mac OS X. We dlopen() it as appropriate already.
Ryan C. Gordon c294130f 2014-06-05T10:28:08 Added SDL_opengl_glext.h to the list of headers to install.
Ryan C. Gordon 3dedcf29 2014-06-05T01:55:52 Corrected package list for Wayland/Mir support (was missing libxkbcommon-dev).
Sam Lantinga 1188c174 2014-06-04T16:35:07 Fixed Mac OS X build
Brandon Schaefer d829af78 2014-06-04T12:55:18 Assume all motion events are mouse events unless tool_type states otherwise.
Sam Lantinga 4fd03b95 2014-06-04T10:57:52 Setting the window size changes the fullscreen display mode, unless a window display mode has been set. Testing: * Ran testsprite2 --fullscreen, used Ctrl+ and Ctrl- to change window sizes, verified that the display mode changed as well.
Sam Lantinga c15e26d7 2014-06-04T10:57:40 Fixed crash and lost pixel data when recovering from a lost device situation (e.g. alt-tab from fullscreen)
Sam Lantinga 947a0b8b 2014-06-04T10:57:12 Ryan C. Gordon <icculus@icculus.org> 2014-05-24 01:23 -0400 Generated dynapi stuff for the new WinRT entry points. http://hg.libsdl.org/SDL/rev/d54306e2b8a7
Sam Lantinga da6d9a9f 2014-06-04T10:56:56 Added annotations to help code analysis tools CR: Bruce Dawson
Sam Lantinga 529bcf62 2014-06-04T10:56:43 Fixed bug 2526, but regressed delivering dead key presses
Sam Lantinga 4750fe73 2014-06-04T10:56:37 When the window fullscreen mode changes, update the display resolution
Sam Lantinga 707fd9f0 2014-06-04T10:56:30 Fixed bug where changing the window border would change the window size on Windows.
Sam Lantinga 1e00c03f 2014-06-04T10:56:17 Fixed Mac OS X build
Sam Lantinga 45ed5ee4 2014-06-04T10:55:26 Added an API function to warp the mouse cursor in global screen space: SDL_WarpMouseGlobal()
Sam Lantinga 3e3b34ad 2014-06-04T10:52:34 Added a hint to disable windows message processing in SDL_PumpEvents() SDL_SetHint( SDL_HINT_WINDOWS_ENABLE_MESSAGELOOP, "0" );
Sam Lantinga 0d1f0fed 2014-06-04T10:50:32 Added a hint to disable window frame and title bar interaction when the cursor is hidden
J?rgen P. Tjern? d3418446 2014-06-04T10:33:23 SDL_opengl: Fix Mac build for SDK 10.9 too.
J?rgen P. Tjern? d623c0b4 2014-06-04T09:59:10 SDL_opengl: Fix Mac build with new glext.h
Sam Lantinga 65133ebc 2014-06-04T09:39:08 Wait for the fullscreen transition to complete before allowing the application to continue. This fixes Alt-Enter in the Steam streaming client, which sets the window size and position immediately after switching out of fullscreen mode.
Sam Lantinga 16360b19 2014-06-04T01:56:14 Fixed escape cancelling fullscreen mode now that the SDL window is the first res ponder.
J?rgen P. Tjern? a2085da2 2014-06-04T01:35:36 SDL_opengles2: Update to latest Khronos headers. This updates to the latest Khronos headers, which gives the latest headers for MSVC. The following files were retrieved on 2014-06-04: http://www.khronos.org/registry/gles/api/GLES2/gl2.h http://www.khronos.org/registry/gles/api/GLES2/gl2ext.h http://www.khronos.org/registry/gles/api/GLES2/gl2platform.h http://www.khronos.org/registry/egl/api/KHR/khrplatform.h And they were modified to not include each other themselves.
J?rgen P. Tjern? 0887f518 2014-06-04T01:32:52 SDL_opengl: Update to glext.h from Khronos dated 2014-05-21. This updates to the latest glext.h from Khorons that includes the OpenGL 4.4 specification. It was retrieved from http://www.opengl.org/registry/api/GL/glext.h at 2014-06-04.
J?rgen P. Tjern? f45a2fd0 2014-06-04T01:27:13 SDL_opengles2: Separate out GLES2 headers.
J?rgen P. Tjern? 8793657d 2014-06-04T01:21:00 SDL_opengl: Move glext.h to a separate file.
J?rgen P. Tjern? c1e11f69 2014-06-03T21:13:00 X11: Provide specific X error when SDL_GL_CreateContext fails. This makes the X error handler used for GL context creation handle *all* errors and provide the user with specific error messages when SDL_GL_CreateContext fails. CR: icculus@icculus.org
Sam Lantinga ece2a9bf 2014-06-02T09:20:09 Hopefully really fixed the Android build
Sam Lantinga 5186be4a 2014-06-02T09:12:51 Fixed Android build
Sam Lantinga a8fcbc46 2014-06-02T09:09:40 Fixed bug 2534 - Mac: black bar at top of screen in SDL_WINDOW_FULLSCREEN mode Alex Szpakowski Patch to fix the y component of the position of fullscreen windows in OS X. In Mac OS X with the latest Mercurial code, when a window is in exclusive-fullscreen the y component of its position is offset by the same amount that is normally taken up by the menubar, resulting in a black bar at the top of the screen. The recent changes to the internal ConvertNSRect function make it treat the bottom of the menubar as 0 for the y component of window positions, even when the window is fullscreen and 'above' the menubar. I have attached a patch which fixes the issue by only making the window position relative to the menubar in windowed modes.
Sam Lantinga 6b90d7f5 2014-06-02T09:06:38 Fixed bug 2550 - [OS X 10.9] Enabling SDL_WINDOW_FULLSCREEN after relative mouse mode leaves cursor visible Eric Wasylishen Steps to reproduce: - Run testwm2 app in the SDLTest Xcode project - Press Control+R to enable relative mouse mode. The mouse cursor should disappear. - Press Control+Enter to enter fullscreen. - Expected: a black screen with no cursor visible. Observed: a black screen, but the mouse cursor is visible in the middle of the screen. It doesn't move when I move the mouse. Reproduced with latest sdl2 hg (changeset f6010ead184f) on OS X 10.9.2. Can't reproduce the problem on OS X 10.6.8 or 10.7.5. I'm speculating that this really an Apple bug.. but anyway, the attached workaround seems to fix it for me, and I think it's fairly safe. A more obvious idea, sticking a call SDL_SetCursor(NULL) at the end of Cocoa_SetWindowFullscreen, didn't work.
Sam Lantinga 32665131 2014-06-02T09:01:26 Added a way to get the native Android window and EGL context
Sam Lantinga 3905b910 2014-06-02T09:01:10 Fixed bug 2479 - [OS X] SDL_SetWindowFullscreen fails to switch to windowed Eric Wasylishen The problem seems to be the spaces handling code in -setFullscreenSpace: (SDL_cocoawindow.m) is incorrectly reporting that the SDL_WINDOW_FULLSCREEN -> windowed transition has already happened. i.e. I saw this case was getting hit when trying to leave SDL_WINDOW_FULLSCREEN: "else if (state == isFullscreenSpace) { return YES; /* already there. */ }" With the attached patch, both Control+Enter (SDL_WINDOW_FULLSCREEN toggle) and Option+Enter (SDL_WINDOW_FULLSCREEN_DESKTOP toggle) work in an sdl test app (I tried testwm2). Tested on OS X 10.9.2.
Sam Lantinga 75c57f8d 2014-06-02T08:58:07 Don't use D3D9Ex by default, since it can change behavior for games which rely on D3D9 classic.
Sam Lantinga 9d00f75a 2014-05-31T14:03:04 Fixed bug 2520 - Held double-click app startup creates a stuck MOUSEBUTTONDOWN event snake5creator When starting application with the usual "double click on file" method on Windows, only holding the last click, an unnecessary MOUSEBUTTONDOWN event is sent before the initial MOUSEMOTION event, and mouse button state is stuck in the sense that it takes a subsequent button release, followed by another press for the system to resume sending events (beginning with the next button release / MOUSEBUTTONUP event). Input event log with held double-click startup: http://i.imgur.com/nypGKR2.png Without: http://i.imgur.com/yaIqAvV.png
Sam Lantinga 70df9cd0 2014-05-31T12:21:55 Fullscreen to windowed mode switch From Melesie I noticed that when user switches from fullscreen mode to windowed mode and exits application while in windowed mode, Windows performs an additional change of display settings, even though desktop resolution is the same as current one. This causes short black screen to show up. The only way I know of avoiding this is to explicitly switch to default display settings found in registry. MSDN documentation for ChangeDisplaySettingsEx states: Passing NULL for the lpDevMode parameter and 0 for the dwFlags parameter is the easiest way to return to the default mode after a dynamic mode change.
Sam Lantinga 18c31dec 2014-05-31T11:53:19 Fixed Direct3DCreate9Ex prototype
Sam Lantinga 0c6b99d5 2014-05-31T11:48:52 Fixed cast
Sam Lantinga 49c53fd2 2014-05-31T11:37:12 Use D3D9Ex when available This hopefully works around crashes in Intel D3D9 support in Windows 8.1.
Sam Lantinga 52222db2 2014-05-31T11:33:25 Fixed SDL error when filtering events after shutdown. This can happen when restoring video modes during video system shutdown
Philipp Wiesemann f29ac399 2014-05-29T23:05:18 Added javadoc comments to document methods used by JNI.
Philipp Wiesemann eac27bcd 2014-05-29T22:58:06 Added javadoc comments to prevent unused parameter warning.
Philipp Wiesemann 1f111f3d 2014-05-29T22:53:53 Fixed implicit boxing and unboxing of Java Objects warning.
Philipp Wiesemann 8d11db2f 2014-05-29T22:48:10 Added missing stdio include in test program.
Philipp Wiesemann 3a803358 2014-05-29T22:44:08 Fixed use of uninitialized variable warning in test program.
Ryan C. Gordon dd5277d6 2014-05-24T21:06:40 Fixed stack overflow in X11_CreateWindow() (thanks, rapha and Brad!). This should be a "long" which on a 64-bit system is likely to be > 32-bits, causing XGetICValues() to write past the end of the variable (and stack). Fixes Bugzilla #2513.
Ryan C. Gordon 4db368e6 2014-05-24T19:49:03 Added note about Wayland and Mir packages for Ubuntu 14.04.
Ryan C. Gordon 846a3e07 2014-05-24T01:27:19 Added some FIXMEs.
Ryan C. Gordon f0e0f4ca 2014-05-24T01:25:27 Fixed whitespace.
Ryan C. Gordon a2710516 2014-05-24T01:23:57 Generated dynapi stuff for the new WinRT entry points.
Philipp Wiesemann 9bc47465 2014-05-18T21:11:30 Changed C++ style comments.
Philipp Wiesemann f5c77149 2014-05-18T21:05:39 Fixed typo in header comment.
Philipp Wiesemann ca11d7c8 2014-05-17T22:02:25 Changed C++ style comments to fix pedantic warnings.
Philipp Wiesemann 0d196c30 2014-05-17T21:52:05 Removed unused standard library includes from gesture source.
Gabriel Jacobo 660a57f9 2014-05-13T19:42:40 Fixes #2541, build failure with Wayland enabled, OpenGL ES disabled Also includes an attempt at fixing building SDL on Ubuntu 13.10, which hopefully won't break 14.04
Sam Lantinga e772f0df 2014-05-13T12:10:37 Added a binding for the NVIDIA Shield controller
Sam Lantinga 67350973 2014-05-13T11:32:36 Updated coding style to match the rest of SDL
Philipp Wiesemann 81c574b8 2014-05-11T15:59:22 Fixed typo in header comment.
David Ludwig 49cef77e 2014-05-10T23:39:54 WinRT: fixed the max-button count for WinPhone 8.1 message boxes Doh. The max button count on WinPhone 8.1 was set to three, not two. Any more than two leads to a crash.
David Ludwig ea99e0c0 2014-05-10T23:28:53 Added limited message-box support for Windows Phone 8.1 The Windows Phone 8.1 'MessageDialog' API only seems to support two buttons, despite the documentation for such mentioning support for three. Trying to use three or more buttons leads to an exception being thrown. As such, any attempt to use more than two buttons via SDL_ShowMessageBox (on Windows Phone 8.1) will lead to no message box getting shown, and the call returning an error. The Win32 MessageBox and dialog APIs are not available in WinRT apps, to note. More extensive message dialog support might be available at some point, if and when XAML support is more fully fleshed-out. I'm not certain of this, though.
Yuri Kunde Schlesner d12d7952 2014-05-10T21:48:46 Align pointer in SDL_memset before doing Uint32 loop Some more recent compilers emit SSE aligned store instructions for the loop, causing crashes if the destination buffer isn't aligned on a 32-bit boundary. This would also crash on platforms like ARM that require aligned stores. This fixes a crash inside SDL_FillRect that happens with the official x64 mingw build.
Gabriel Jacobo d5a2e55d 2014-05-10T18:24:39 Improve handling of focus behaviour on Android. Patch by Alexey Petruchik
Gabriel Jacobo b701175a 2014-05-10T17:00:37 Include gl2platform.h in SDL_opengles2.h so we play nice with GLEW. Based on feedback from Sven Bergstr?m
Gabriel Jacobo de0d349e 2014-05-10T16:50:05 Fixes #2512, handle configuration change messages sent by Wayland. Patch by Bryan Cain.
Sam Lantinga d57d99a1 2014-05-10T12:34:16 Updated iOS deployment target to iOS 5.1
Gabriel Jacobo fb389950 2014-05-10T16:23:06 Fixes #2529, guard SDL_d3math.* with the proper defines
Gabriel Jacobo 536dd013 2014-05-10T16:13:22 Fixes #2519, clear error if using the default library path for EGL succeeds.
Gabriel Jacobo f565d81a 2014-05-10T15:57:09 A few more ANDROID for __ANDROID__ replacements