Fri, 06 Mar 2015 21:26:37 +0100Emscripten: Partially fixed not removing key event callbacks if hint was used.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Fri, 06 Mar 2015 21:26:37 +0100] rev 9377
Emscripten: Partially fixed not removing key event callbacks if hint was used.

The key event callbacks were always removed from the same target although it is
possible to set them to different targets using the hint. This is only a partial
fix because it assumes that the hint is not changed to a different value later.

Mon, 02 Mar 2015 21:36:45 -0500Fixed SDL_PRI?64 for 64-bit Linux.
Ryan C. Gordon <icculus@icculus.org> [Mon, 02 Mar 2015 21:36:45 -0500] rev 9376
Fixed SDL_PRI?64 for 64-bit Linux.

64-bit Linux uses a "long" instead of "long long" for 64-bit ints.

Added a special-case this so SDL_PRI?64 doesn't trigger compiler warnings
when used with SDL's 64-bit datatypes on 64-bit Linux.

Mon, 02 Mar 2015 11:43:24 -0800SDL
Alfred Reynolds <alfred@valvesoftware.com> [Mon, 02 Mar 2015 11:43:24 -0800] rev 9375
SDL
- fix crash on OSX when removing a device. If the remove happened due to the CFRunLoopRunInMode call in SDL_SYS_JoystickDetect then we would delete the device right away, before SDL_SYS_JoystickUpdate could clean it up. So move the CFRunLoopRunInMode to after the cleanup logic, preventing this case. This does mean that adds and removes of joysticks now take 1 extra frame to show up.

Sun, 22 Feb 2015 20:34:08 -0500Fixed bug 2868 - SDL_FillRect can crash if surface's clip-rect is out-of-bounds
David Ludwig <dludwig@pobox.com> [Sun, 22 Feb 2015 20:34:08 -0500] rev 9374
Fixed bug 2868 - SDL_FillRect can crash if surface's clip-rect is out-of-bounds

Thanks to John Skaller for the research into this, and for the fix!

Sun, 22 Feb 2015 23:21:32 +0100Emscripten: Fixed out of range joystick device index after joystick disconnect.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sun, 22 Feb 2015 23:21:32 +0100] rev 9373
Emscripten: Fixed out of range joystick device index after joystick disconnect.

After disconnecting a joystick the remaining kept their original device index.
This was not correct because the device index must be a number between 0 and
SDL_NumJoysticks(). It was fixed with ideas from SDL's joystick implementation
for Android. Some range checks were removed as the caller already checks them.

Sun, 22 Feb 2015 21:00:35 +0100Emscripten: Fixed sending button and motion events for not opened joysticks.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sun, 22 Feb 2015 21:00:35 +0100] rev 9372
Emscripten: Fixed sending button and motion events for not opened joysticks.

SDL_SYS_JoystickUpdate() was implemented incorrectly. For every call to it all
attached joysticks were checked. But actually only the given SDL_Joystick should
be checked then. This allowed sending broken events for attached but not opened
joysticks. It also checked the opened joysticks more often than actually needed.

Sat, 21 Feb 2015 00:33:25 -0500Fixed naming conventions in some SDL_assert types, added compat #defines.
Ryan C. Gordon <icculus@icculus.org> [Sat, 21 Feb 2015 00:33:25 -0500] rev 9371
Fixed naming conventions in some SDL_assert types, added compat #defines.

Fixes Bugzilla #1997.

Thu, 19 Feb 2015 23:52:10 -0500Mac OS X: Better way to stop duplicate joystick reports (thanks, Kyungdahm!).
Ryan C. Gordon <icculus@icculus.org> [Thu, 19 Feb 2015 23:52:10 -0500] rev 9370
Mac OS X: Better way to stop duplicate joystick reports (thanks, Kyungdahm!).

Fixes Bugzilla #2822.

Thu, 19 Feb 2015 21:51:13 -0500Windows: Added a FIXME.
Ryan C. Gordon <icculus@icculus.org> [Thu, 19 Feb 2015 21:51:13 -0500] rev 9369
Windows: Added a FIXME.

Thu, 19 Feb 2015 21:50:40 -0500Windows: Free the argv we allocated for console_wmain().
Ryan C. Gordon <icculus@icculus.org> [Thu, 19 Feb 2015 21:50:40 -0500] rev 9368
Windows: Free the argv we allocated for console_wmain().