Fri, 07 Jun 2013 21:47:23 -0700Improved 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 -0700Check 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 -0700Removed 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 -0700Slightly 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 -0700It'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 -0700Fixed 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 -0700Fixed 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 -0700The 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 -0700Remove 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 +0600Fix 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).