Tue, 24 Mar 2015 14:29:25 -0400Added a hint to prevent SDL from installing signal handlers.
Ryan C. Gordon <icculus@icculus.org> [Tue, 24 Mar 2015 14:29:25 -0400] rev 9434
Added a hint to prevent SDL from installing signal handlers.

Fixes Bugzilla #2431.

Tue, 24 Mar 2015 13:52:01 -0400Cleanups in the joystick code.
Ryan C. Gordon <icculus@icculus.org> [Tue, 24 Mar 2015 13:52:01 -0400] rev 9433
Cleanups in the joystick code.

Removed some redundant state and other confusions.

Fixes Bugzilla #2738.

Tue, 24 Mar 2015 03:24:57 -0400Mac: patched to compile with haptic subsystem disabled (thanks, Rodrigo!).
Ryan C. Gordon <icculus@icculus.org> [Tue, 24 Mar 2015 03:24:57 -0400] rev 9432
Mac: patched to compile with haptic subsystem disabled (thanks, Rodrigo!).

Fixes Bugzilla #2717.

Tue, 24 Mar 2015 03:21:57 -0400Better fixes for CMake subsystem enabling (thanks, Sebastian!).
Ryan C. Gordon <icculus@icculus.org> [Tue, 24 Mar 2015 03:21:57 -0400] rev 9431
Better fixes for CMake subsystem enabling (thanks, Sebastian!).

Fixes Bugzilla #2875.

Tue, 24 Mar 2015 03:12:35 -0400Make SDL error string formatting deal with nasty corner cases.
Ryan C. Gordon <icculus@icculus.org> [Tue, 24 Mar 2015 03:12:35 -0400] rev 9430
Make SDL error string formatting deal with nasty corner cases.

We continued looping while maxlen > 0, but maxlen was unsigned, so an overflow
would make it a large number instead of negative. Fixed.

Some snprintf() implementations might return a negative value if there isn't
enough space, and we now check for that.

Don't overrun the SDL error message buffer, if snprintf() returned the number
of chars it wanted to write instead of the number it did.

snprintf is a portability mess, we should just never use the C runtime for it.

Fixes Bugzilla #2049.

Tue, 24 Mar 2015 02:48:16 -0400Ran hardcoded game controller database through sort_controllers.py.
Ryan C. Gordon <icculus@icculus.org> [Tue, 24 Mar 2015 02:48:16 -0400] rev 9429
Ran hardcoded game controller database through sort_controllers.py.

Tue, 24 Mar 2015 02:47:25 -0400Added Logitect RumblePad 2 controller mapping for Linux (thanks, Nicholas!).
Ryan C. Gordon <icculus@icculus.org> [Tue, 24 Mar 2015 02:47:25 -0400] rev 9428
Added Logitect RumblePad 2 controller mapping for Linux (thanks, Nicholas!).

Fixes Bugzilla #2091.

Tue, 24 Mar 2015 02:13:25 -0400winmm: Let audio callback buffer size be less than 1/4 second (thanks, Jon!).
Ryan C. Gordon <icculus@icculus.org> [Tue, 24 Mar 2015 02:13:25 -0400] rev 9427
winmm: Let audio callback buffer size be less than 1/4 second (thanks, Jon!).

Maybe this was here for Win9x? There's no reason to insert this much latency
by default.

Fixes Bugzilla #2835.

Mon, 23 Mar 2015 20:11:18 -0400SDL-1.2: Reenable _GNU_SOURCE define for Linux. Apparently it broke things. SDL-1.2
Ryan C. Gordon <icculus@icculus.org> [Mon, 23 Mar 2015 20:11:18 -0400] rev 9426
SDL-1.2: Reenable _GNU_SOURCE define for Linux. Apparently it broke things.

Mon, 23 Mar 2015 20:10:08 -0400SDL-1.2: Fixed recursive mutexes on Linux (thanks, Ozkan!). SDL-1.2
Ryan C. Gordon <icculus@icculus.org> [Mon, 23 Mar 2015 20:10:08 -0400] rev 9425
SDL-1.2: Fixed recursive mutexes on Linux (thanks, Ozkan!).