Fri, 05 Jul 2013 01:09:27 -0400 Fixed some __BEOS__ vs __HAIKU__ preprocessor tests (thanks, Axel!).
Ryan C. Gordon <icculus@icculus.org> [Fri, 05 Jul 2013 01:09:27 -0400] rev 7346
Fixed some __BEOS__ vs __HAIKU__ preprocessor tests (thanks, Axel!). Fixes Bugzilla #1773.
Fri, 05 Jul 2013 00:54:00 -0400 Don't crash if SDL_AudioQuit() is called twice in a row.
Ryan C. Gordon <icculus@icculus.org> [Fri, 05 Jul 2013 00:54:00 -0400] rev 7345
Don't crash if SDL_AudioQuit() is called twice in a row. Fixes Bugzilla #1396.
Fri, 05 Jul 2013 00:41:34 -0400 Strip newlines from messages in SDL_Log*() before calling logging function.
Ryan C. Gordon <icculus@icculus.org> [Fri, 05 Jul 2013 00:41:34 -0400] rev 7344
Strip newlines from messages in SDL_Log*() before calling logging function.
Fri, 05 Jul 2013 00:41:01 -0400 Added a FIXME.
Ryan C. Gordon <icculus@icculus.org> [Fri, 05 Jul 2013 00:41:01 -0400] rev 7343
Added a FIXME.
Fri, 05 Jul 2013 00:30:23 -0400 Don't close already-closed audio devices during SDL_Quit().
Ryan C. Gordon <icculus@icculus.org> [Fri, 05 Jul 2013 00:30:23 -0400] rev 7342
Don't close already-closed audio devices during SDL_Quit(). Otherwise, we spam a bunch of unnecessary SDL_SetError() calls. Fixes Bugzilla #1791.
Wed, 03 Jul 2013 12:31:40 -0700 Added SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS to the documentation for the joystick and game controller APIs
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Jul 2013 12:31:40 -0700] rev 7341
Added SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS to the documentation for the joystick and game controller APIs
Tue, 04 Jun 2013 12:02:18 -0400 add in alt+enter keyboard shortcut to test common to toggle fullscreen desktop
Edward Rudd <urkle@outoforder.cc> [Tue, 04 Jun 2013 12:02:18 -0400] rev 7340
add in alt+enter keyboard shortcut to test common to toggle fullscreen desktop
Sat, 29 Jun 2013 14:40:55 -0700 Fixed the logical size for rendering to texture, thanks to Mason Wheeler.
Sam Lantinga <slouken@libsdl.org> [Sat, 29 Jun 2013 14:40:55 -0700] rev 7339
Fixed the logical size for rendering to texture, thanks to Mason Wheeler. Mason Wheeler The SDL_RenderGetLogicalSize function should always return the amount of pixels that are currently available for rendering to. But after updating to the latest SDL2, I started getting crashes because it was returning (0,0) as the logical size! After a bit of debugging, I tracked it down to the following code in SDL_SetRenderTarget: if (texture) { renderer->viewport.x = 0; renderer->viewport.y = 0; renderer->viewport.w = texture->w; renderer->viewport.h = texture->h; renderer->scale.x = 1.0f; renderer->scale.y = 1.0f; renderer->logical_w = 0; renderer->logical_h = 0; } This is obviously wrong; 0 is never the correct value for a valid renderer. Those last two lines should read: renderer->logical_w = texture->w; renderer->logical_h = texture->h;
Sat, 29 Jun 2013 22:08:38 +0200 Changed paths and name of header file in text of VisualC.html.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 29 Jun 2013 22:08:38 +0200] rev 7338
Changed paths and name of header file in text of VisualC.html.
Fri, 28 Jun 2013 23:29:13 -0700 Only check for keyboard focus if the video subsystem was initialized.
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Jun 2013 23:29:13 -0700] rev 7337
Only check for keyboard focus if the video subsystem was initialized. Check the hint at initialization time, as an optimization. This isn't something we expect the application to change at runtime, and if it is we should add an API for it.
Fri, 28 Jun 2013 22:49:03 -0700 Removing old dangerous signal catching code.
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Jun 2013 22:49:03 -0700] rev 7336
Removing old dangerous signal catching code. * None of the supported platforms are hosed if the program crashes without cleaning up the graphics display connection. * It's very likely to be unsafe to call SDL_Quit() at an arbitrary point from an arbitrary thread. * Catching signals can prevent applications from getting correct stack traces from crashes.
Fri, 28 Jun 2013 22:44:49 -0700 Not using SDLmain on Windows is just fine, don't fail the initialization if the program implements WinMain() and then doesn't call SDL_SetMainReady().
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Jun 2013 22:44:49 -0700] rev 7335
Not using SDLmain on Windows is just fine, don't fail the initialization if the program implements WinMain() and then doesn't call SDL_SetMainReady(). This broke Steam's Big Picture game controller support. I also added some more documentation so people know why main() is overridden on various platforms.
Fri, 28 Jun 2013 22:42:10 -0700 Added testgamecontroller to the Visual Studio 2012 solution.
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Jun 2013 22:42:10 -0700] rev 7334
Added testgamecontroller to the Visual Studio 2012 solution.
Fri, 28 Jun 2013 20:46:11 -0700 Merged
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Jun 2013 20:46:11 -0700] rev 7333
Merged
Sat, 15 Jun 2013 02:46:32 -0700 Fixed some Visual Studio analyze warnings
Sam Lantinga <slouken@libsdl.org> [Sat, 15 Jun 2013 02:46:32 -0700] rev 7332
Fixed some Visual Studio analyze warnings
Fri, 28 Jun 2013 09:53:13 -0700 Merged
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Jun 2013 09:53:13 -0700] rev 7331
Merged
Fri, 28 Jun 2013 09:52:36 -0700 Updated the name of the copyright file
Sam Lantinga <slouken@libsdl.org> [Fri, 28 Jun 2013 09:52:36 -0700] rev 7330
Updated the name of the copyright file
Thu, 27 Jun 2013 17:53:05 -0700 Merged
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Jun 2013 17:53:05 -0700] rev 7329
Merged
Thu, 27 Jun 2013 17:07:24 -0700 Remove / update references to 1.2.
Jørgen P. Tjernø <jorgen@valvesoftware.com> [Thu, 27 Jun 2013 17:07:24 -0700] rev 7328
Remove / update references to 1.2.
Thu, 27 Jun 2013 17:07:18 -0700 sdl - added comment with URL to windows scancode definition document
Jørgen P. Tjernø <jorgen@valvesoftware.com> [Thu, 27 Jun 2013 17:07:18 -0700] rev 7327
sdl - added comment with URL to windows scancode definition document
Thu, 27 Jun 2013 17:49:22 -0700 Whoops, this controller had already been added.
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Jun 2013 17:49:22 -0700] rev 7326
Whoops, this controller had already been added.
Thu, 27 Jun 2013 16:32:45 -0700 Added game controller support for an older XBox Controller
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Jun 2013 16:32:45 -0700] rev 7325
Added game controller support for an older XBox Controller
Thu, 27 Jun 2013 11:49:19 -0700 We don't want to save the alpha modulation, we want to save the blend mode.
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Jun 2013 11:49:19 -0700] rev 7324
We don't want to save the alpha modulation, we want to save the blend mode.
Thu, 27 Jun 2013 11:44:07 -0700 Updated testshader for the SDL 2.0 API
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Jun 2013 11:44:07 -0700] rev 7323
Updated testshader for the SDL 2.0 API
Thu, 27 Jun 2013 11:27:19 -0700 Fixed bug updating the clip rect for the software renderer
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Jun 2013 11:27:19 -0700] rev 7322
Fixed bug updating the clip rect for the software renderer
Thu, 27 Jun 2013 11:21:37 -0700 Fixed bug: SDL2 Xinput joystick axis jumps from positive to negative
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Jun 2013 11:21:37 -0700] rev 7321
Fixed bug: SDL2 Xinput joystick axis jumps from positive to negative Franz Schrober Attached is my patch. It ensures that the values are correctly limitted between -32767 and 32767 (otherwise the negator - and the conversion to sint16 would corrupt the result) I am using Motioninjoy (Dualshock 3 Sixaxxis controller on Windows 7) together with a recent SDL2 (post rc1) and noticed with the testjoystick binary that the axis 3 (left analog up/down) jumps when going in down direction from 32257 to -32768. This seems obviously wrong and I have never seen this before. In my games the people are now going backwards before they start to sprint forward when the player actually wants to run as fast as possible backwards. This also happens on the axis 2 (right analog stick up/down) This problem doesn't happen in DX mode
Thu, 27 Jun 2013 11:17:48 -0700 Fixed warning about unused variable.
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Jun 2013 11:17:48 -0700] rev 7320
Fixed warning about unused variable.
Thu, 27 Jun 2013 10:59:30 -0700 Fixed initializing the haptic system from an XInput joystick
Sam Lantinga <slouken@libsdl.org> [Thu, 27 Jun 2013 10:59:30 -0700] rev 7319
Fixed initializing the haptic system from an XInput joystick Thanks to Franz Schrober for the fix inspiration.
Tue, 25 Jun 2013 20:21:31 -0700 Fixed bug 1929 - SDL_Texture* from SDL_CreateTexture() causes GL_BindTexture() to segfault
Sam Lantinga <slouken@libsdl.org> [Tue, 25 Jun 2013 20:21:31 -0700] rev 7318
Fixed bug 1929 - SDL_Texture* from SDL_CreateTexture() causes GL_BindTexture() to segfault Charles Huber If SDL_CreateTexture() takes the !IsSupportedFormat() path it will return a SDL_Texture* with a NULL driverdata member. If you then SDL_GL_BindTexture() this will cause a segfault in GL_BindTexture() when it unconditionally dereferences driverdata.
Mon, 24 Jun 2013 22:06:50 -0700 Better text printing for UTF-8 characters
Sam Lantinga <slouken@libsdl.org> [Mon, 24 Jun 2013 22:06:50 -0700] rev 7317
Better text printing for UTF-8 characters
Sun, 23 Jun 2013 22:19:38 -0700 Updated timer test and fixed performance counter on Mac OS X
Sam Lantinga <slouken@libsdl.org> [Sun, 23 Jun 2013 22:19:38 -0700] rev 7316
Updated timer test and fixed performance counter on Mac OS X
Sun, 23 Jun 2013 15:00:23 -0700 Update testsprite2 for visual testing: user fuzzer and add --iteration parameter to enable deterministic screen end-state
Andreas Schiffler <aschiffler@ferzkopp.net> [Sun, 23 Jun 2013 15:00:23 -0700] rev 7315
Update testsprite2 for visual testing: user fuzzer and add --iteration parameter to enable deterministic screen end-state
Sun, 23 Jun 2013 14:05:27 -0700 Add VS Express Edition sln files (drop the unsupported solution folders for tests); update VisualC documentation
Andreas Schiffler <aschiffler@ferzkopp.net> [Sun, 23 Jun 2013 14:05:27 -0700] rev 7314
Add VS Express Edition sln files (drop the unsupported solution folders for tests); update VisualC documentation
Tue, 18 Jun 2013 00:50:35 -0700 Fixed bug 1913 - state->index may get negative in SDL_wave.c file.
Sam Lantinga <slouken@libsdl.org> [Tue, 18 Jun 2013 00:50:35 -0700] rev 7313
Fixed bug 1913 - state->index may get negative in SDL_wave.c file. Nitz In function: static Sint32 IMA_ADPCM_nibble(struct IMA_ADPCM_decodestate *state, Uint8 nybble) { const Sint32 max_audioval = ((1 << (16 - 1)) - 1); const Sint32 min_audioval = -(1 << (16 - 1)); const int index_table[16] = { -1, -1, -1, -1, 2, 4, 6, 8, -1, -1, -1, -1, 2, 4, 6, 8 }; const Sint32 step_table[89] = { 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 19, 21, 23, 25, 28, 31, 34, 37, 41, 45, 50, 55, 60, 66, 73, 80, 88, 97, 107, 118, 130, 143, 157, 173, 190, 209, 230, 253, 279, 307, 337, 371, 408, 449, 494, 544, 598, 658, 724, 796, 876, 963, 1060, 1166, 1282, 1411, 1552, 1707, 1878, 2066, 2272, 2499, 2749, 3024, 3327, 3660, 4026, 4428, 4871, 5358, 5894, 6484, 7132, 7845, 8630, 9493, 10442, 11487, 12635, 13899, 15289, 16818, 18500, 20350, 22385, 24623, 27086, 29794, 32767 }; Sint32 delta, step; /* Compute difference and new sample value */ step = step_table[state->index]; // Some Code } Here step_table array have the state->index, which might be negative, so it is unsafe to assign this index to step_table array directly. There would be a check before that to confirm its value.
Tue, 18 Jun 2013 00:39:47 -0700 Fixed bug 1916 - SDL_Keysym contains a deprecated field for unicode which may be removed.
Sam Lantinga <slouken@libsdl.org> [Tue, 18 Jun 2013 00:39:47 -0700] rev 7312
Fixed bug 1916 - SDL_Keysym contains a deprecated field for unicode which may be removed. Philipp Wiesemann SDL_Keysym contains a deprecated field for unicode which may be removed for SDL 2.0 release. As far as I can tell the field is not set on all "major" platforms and therefore will not be useful for most users. Its existence in a public header therefore becomes (in my opinion) only confusing.
Mon, 17 Jun 2013 07:14:20 -0700 Improved include paths for projects using SDL on Android
Sam Lantinga <slouken@libsdl.org> [Mon, 17 Jun 2013 07:14:20 -0700] rev 7311
Improved include paths for projects using SDL on Android Isaac Burns I wanted to suggest a few changes I've found that help the Android build. By adding LOCAL_EXPORT_C_INCLUDES to the Android.mk file, anything that references the SDL Android project will inherit the include paths.
Mon, 17 Jun 2013 06:35:41 -0700 Removed obsolete Xcode templates and documentation
Sam Lantinga <slouken@libsdl.org> [Mon, 17 Jun 2013 06:35:41 -0700] rev 7310
Removed obsolete Xcode templates and documentation
Sun, 16 Jun 2013 12:00:54 +0200 Changed comment to be used by doxygen.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sun, 16 Jun 2013 12:00:54 +0200] rev 7309
Changed comment to be used by doxygen.
Thu, 13 Jun 2013 22:30:02 -0700 Allow users to define SDL_STDINC_NO_INLINES if they don't want the inline functions defined.
Sam Lantinga <slouken@libsdl.org> [Thu, 13 Jun 2013 22:30:02 -0700] rev 7308
Allow users to define SDL_STDINC_NO_INLINES if they don't want the inline functions defined. This is useful, for example, if the standard config defines HAVE_SETENV but you're building with C99 that doesn't include that feature.
Thu, 13 Jun 2013 22:10:10 -0700 Fixed SDL building with the minimal configuration
Sam Lantinga <slouken@libsdl.org> [Thu, 13 Jun 2013 22:10:10 -0700] rev 7307
Fixed SDL building with the minimal configuration
Tue, 11 Jun 2013 08:37:03 -0700 Added an arbitrary limit to the number of queued events so it doesn't grow unbounded.
Sam Lantinga <slouken@libsdl.org> [Tue, 11 Jun 2013 08:37:03 -0700] rev 7306
Added an arbitrary limit to the number of queued events so it doesn't grow unbounded.
Tue, 11 Jun 2013 08:32:55 -0700 Update the queued event wmmsg pointer to point to the queued event data.
Sam Lantinga <slouken@libsdl.org> [Tue, 11 Jun 2013 08:32:55 -0700] rev 7305
Update the queued event wmmsg pointer to point to the queued event data.
Mon, 10 Jun 2013 23:24:02 -0700 Made the SDL event queue dynamically allocated so we don't ever drop events.
Sam Lantinga <slouken@libsdl.org> [Mon, 10 Jun 2013 23:24:02 -0700] rev 7304
Made the SDL event queue dynamically allocated so we don't ever drop events.
Sun, 09 Jun 2013 11:58:31 +0200 Updated names of README files in source comments.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sun, 09 Jun 2013 11:58:31 +0200] rev 7303
Updated names of README files in source comments.
Sun, 09 Jun 2013 11:51:59 +0200 Fixed Android Lint warning in AndroidManifest.xml.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sun, 09 Jun 2013 11:51:59 +0200] rev 7302
Fixed Android Lint warning in AndroidManifest.xml. If targetSdkVersion not set it becomes same as minSdkVersion and causes warning.
Fri, 07 Jun 2013 21:50:29 -0700 Updated configure
Sam Lantinga <slouken@libsdl.org> [Fri, 07 Jun 2013 21:50:29 -0700] rev 7301
Updated configure
Fri, 07 Jun 2013 21:47:23 -0700 Improved find_lib, gets the latest version of libpng, etc.
Sam Lantinga <slouken@libsdl.org> [Fri, 07 Jun 2013 21:47:23 -0700] rev 7300
Improved find_lib, gets the latest version of libpng, etc.
Fri, 07 Jun 2013 18:26:55 -0700 Check for well known XInput device GUIDs before enumerating the device list.
Sam Lantinga <slouken@libsdl.org> [Fri, 07 Jun 2013 18:26:55 -0700] rev 7299
Check for well known XInput device GUIDs before enumerating the device list.
Fri, 07 Jun 2013 09:40:07 -0700 Removed redundant "Controller" names from gamepads, added mapping for Logitech F710 in DirectInput mode
Sam Lantinga <slouken@libsdl.org> [Fri, 07 Jun 2013 09:40:07 -0700] rev 7298
Removed redundant "Controller" names from gamepads, added mapping for Logitech F710 in DirectInput mode
Fri, 07 Jun 2013 09:39:10 -0700 Slightly more efficient to check the event type first
Sam Lantinga <slouken@libsdl.org> [Fri, 07 Jun 2013 09:39:10 -0700] rev 7297
Slightly more efficient to check the event type first
Fri, 07 Jun 2013 08:48:25 -0700 It's better not to have the full range of the axis (by 1 on the negative side) than turn 0 value into -1
Sam Lantinga <slouken@libsdl.org> [Fri, 07 Jun 2013 08:48:25 -0700] rev 7296
It's better not to have the full range of the axis (by 1 on the negative side) than turn 0 value into -1
Thu, 06 Jun 2013 23:18:36 -0700 Fixed bug 1897 - CPU spike on Windows with WM_EVENT and OpenGL
Sam Lantinga <slouken@libsdl.org> [Thu, 06 Jun 2013 23:18:36 -0700] rev 7295
Fixed bug 1897 - CPU spike on Windows with WM_EVENT and OpenGL buckyballreaction On some Windows systems, when switching from fullscreen to windowed mode in my game, the CPU will spike and the application never shows the window again. See the part of the e-mail thread here: http://lists.libsdl.org/pipermail/sdl-libsdl.org/2013-June/088626.html I change the window by calling: SDL_SetWindowFullscreen(gScreenInfo.sdlWindow, SDL_FALSE); SDL_SetWindowSize(gScreenInfo.sdlWindow, sdlWindowWidth, sdlWindowHeight); which you can see in our source: https://code.google.com/p/bitfighter/source/browse/zap/VideoSystem.cpp#377 Then all of a sudden the application gets stuck in WIN_PumpEvents() in SDL_windowsevents.c. I turned on WMMSG_DEBUG and found that there was an endless stream of WM_EVENT messages. I also found that where WM_PAINT is being handled in the callback WIN_WindowProc(), ValidateRect is somehow not clearing, or it is persisting, the WM_EVENT message like it's supposed to (according to the docs). This may be a hardware issue. The issue has appeared on three different systems, one of them sporadically: - Windows XP SP3 running in VMware 9.0 (without VMWare 3D acceleration, but with the tools and drivers installed), Host: openSUSE 12.3 x86_64, NVidia NVS 3100M - Windows XP SP3 64bit running in VirtualBox, Host: Debian Wheezy (stable), Mobility Radeon HD 4100 (this was the sporadic one) - Windows 7 64 bit, Radeon 6770
Thu, 06 Jun 2013 18:20:06 -0700 Fixed crash trying to get the GUID of an invalid joystick index
Sam Lantinga <slouken@libsdl.org> [Thu, 06 Jun 2013 18:20:06 -0700] rev 7294
Fixed crash trying to get the GUID of an invalid joystick index
Thu, 06 Jun 2013 17:59:01 -0700 The triggers should be expanded out to the full range to match DirectInput behavior.
Sam Lantinga <slouken@libsdl.org> [Thu, 06 Jun 2013 17:59:01 -0700] rev 7293
The triggers should be expanded out to the full range to match DirectInput behavior. The game controller code will scale them back to 0 - 32767 when it converts the triggers axes.
Thu, 06 Jun 2013 07:25:41 -0700 Remove unnecessary debugger detection logic again from Win32 SDL_LogOutput
Andreas Schiffler <aschiffler@ferzkopp.net> [Thu, 06 Jun 2013 07:25:41 -0700] rev 7292
Remove unnecessary debugger detection logic again from Win32 SDL_LogOutput
Sun, 02 Jun 2013 20:48:53 +0600 Fix compilation with libX11 >= 1.5.99.902. SDL-1.2
Azamat H. Hackimov <azamat.hackimov@gmail.com> [Sun, 02 Jun 2013 20:48:53 +0600] rev 7291
Fix compilation with libX11 >= 1.5.99.902. These changes fixes bug #1769 for SDL 1.2 (http://bugzilla.libsdl.org/show_bug.cgi?id=1769).
Wed, 05 Jun 2013 23:11:20 -0700 Fixed compiling iOS demos
Sam Lantinga <slouken@libsdl.org> [Wed, 05 Jun 2013 23:11:20 -0700] rev 7290
Fixed compiling iOS demos
Wed, 05 Jun 2013 23:09:13 -0700 Removed obsolete testsdl target
Sam Lantinga <slouken@libsdl.org> [Wed, 05 Jun 2013 23:09:13 -0700] rev 7289
Removed obsolete testsdl target
Wed, 05 Jun 2013 22:56:42 -0700 Fixed building tests on iOS
Sam Lantinga <slouken@libsdl.org> [Wed, 05 Jun 2013 22:56:42 -0700] rev 7288
Fixed building tests on iOS
Wed, 05 Jun 2013 22:35:13 -0700 Removed obsolete NoStdio configurations.
Sam Lantinga <slouken@libsdl.org> [Wed, 05 Jun 2013 22:35:13 -0700] rev 7287
Removed obsolete NoStdio configurations.
(0) -3000 -1000 -300 -100 -60 +60 +100 +300 +1000 tip