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().

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

Thu, 19 Feb 2015 21:49:15 -0500Windows: Make a distinction between ANSI mainline and UTF-8 mainline.
Ryan C. Gordon <icculus@icculus.org> [Thu, 19 Feb 2015 21:49:15 -0500] rev 9366
Windows: Make a distinction between ANSI mainline and UTF-8 mainline.

Thu, 19 Feb 2015 21:44:41 -0500Windows: Support unicode arguments for console applications (thanks, Jorgen!).
Ryan C. Gordon <icculus@icculus.org> [Thu, 19 Feb 2015 21:44:41 -0500] rev 9365
Windows: Support unicode arguments for console applications (thanks, Jorgen!).

Fixes Bugzilla #2864.

Thu, 19 Feb 2015 19:55:30 -0500Mac OS X: replace some deprecated APIs with modern equivalents (thanks, Alex!).
Ryan C. Gordon <icculus@icculus.org> [Thu, 19 Feb 2015 19:55:30 -0500] rev 9364
Mac OS X: replace some deprecated APIs with modern equivalents (thanks, Alex!).

Fixes Bugzilla #2858.