Mon, 20 Apr 2015 20:03:40 +0200Fixed SDL_GameControllerOpen() and SDL_JoystickOpen() documentation in header.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Mon, 20 Apr 2015 20:03:40 +0200] rev 9569
Fixed SDL_GameControllerOpen() and SDL_JoystickOpen() documentation in header.

Mon, 20 Apr 2015 20:03:26 +0200Fixed unsupported doxygen tag in header file.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Mon, 20 Apr 2015 20:03:26 +0200] rev 9568
Fixed unsupported doxygen tag in header file.

Mon, 20 Apr 2015 13:43:24 -0400Cleaned up the macro salsa in the Windows timer code.
Ryan C. Gordon <icculus@icculus.org> [Mon, 20 Apr 2015 13:43:24 -0400] rev 9567
Cleaned up the macro salsa in the Windows timer code.

- Removed USE_GETTICKCOUNT code; it's never used now.
- Reduced the number of preprocessor checks for WinRT.
- Renamed timeSetPeriod() so it doesn't look like a Win32 API call.

Mon, 20 Apr 2015 12:22:44 -0400Windows: Always set the system timer resolution to 1ms by default.
Ryan C. Gordon <icculus@icculus.org> [Mon, 20 Apr 2015 12:22:44 -0400] rev 9566
Windows: Always set the system timer resolution to 1ms by default.

An existing hint lets apps that don't need the timer resolution changed avoid
this, to save battery, etc, but this fixes several problems in timing, audio
callbacks not firing fast enough, etc.

Fixes Bugzilla #2944.

Fri, 17 Apr 2015 21:41:11 +0200Allocate audio buffer for application mixing in FastRAM if available. Contributed by Daniel Illgen. SDL-1.2
Patrice Mandin <patmandin@gmail.com> [Fri, 17 Apr 2015 21:41:11 +0200] rev 9565
Allocate audio buffer for application mixing in FastRAM if available. Contributed by Daniel Illgen.

Fri, 17 Apr 2015 21:32:45 +0200Do not allocate in STRAM if TTRAM allocation is mandatory SDL-1.2
Patrice Mandin <patmandin@gmail.com> [Fri, 17 Apr 2015 21:32:45 +0200] rev 9564
Do not allocate in STRAM if TTRAM allocation is mandatory

Thu, 16 Apr 2015 22:04:35 +0200Fixed return value of SDL_SaveBMP_RW() depending on set errors after NULL input.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Thu, 16 Apr 2015 22:04:35 +0200] rev 9563
Fixed return value of SDL_SaveBMP_RW() depending on set errors after NULL input.

If SDL_SaveBMP_RW() was called with NULL passed as SDL_RWops argument, different
values were returned depending on SDL_GetError(). If no error was set before the
call (or SDL_ClearError() was called) then 0 was returned. This is wrong because
nothing was saved. If an error was set before the call then -1 was returned.

This was fixed by directly returning -1 for NULL input instead of deciding based
on SDL_GetError(). No new error is set because this would otherwise override a
maybe more useful error set in SDL_RWFromFile() which is used by SDL_SaveBMP().

Thu, 16 Apr 2015 22:02:03 +0200Linux: Removed not needed platform info from two entries of controller database.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Thu, 16 Apr 2015 22:02:03 +0200] rev 9562
Linux: Removed not needed platform info from two entries of controller database.

Not needed because entries of this file are selected by conditional compilation.

Wed, 15 Apr 2015 21:29:55 +0200Fixed typo in internal joystick documentation comments.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Wed, 15 Apr 2015 21:29:55 +0200] rev 9561
Fixed typo in internal joystick documentation comments.

Wed, 15 Apr 2015 21:27:10 +0200Emscripten: Simplified implementation of joystick update function.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Wed, 15 Apr 2015 21:27:10 +0200] rev 9560
Emscripten: Simplified implementation of joystick update function.

The function was implemented using four loops but only needed two.