Wed, 25 Mar 2015 10:19:10 -0400Keep track of maximum number of events in-flight in the SDL queue at once.
Ryan C. Gordon [Wed, 25 Mar 2015 10:19:10 -0400] rev 9437
Keep track of maximum number of events in-flight in the SDL queue at once.

Tue, 24 Mar 2015 14:40:31 -0400Patched to compile on C89 compilers.
Ryan C. Gordon [Tue, 24 Mar 2015 14:40:31 -0400] rev 9436
Patched to compile on C89 compilers.

Tue, 24 Mar 2015 14:36:36 -0400Make the signal handler hint more generic.
Ryan C. Gordon [Tue, 24 Mar 2015 14:36:36 -0400] rev 9435
Make the signal handler hint more generic.

Tue, 24 Mar 2015 14:29:25 -0400Added a hint to prevent SDL from installing signal handlers.
Ryan C. Gordon [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 [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 [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 [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 [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 [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 [Tue, 24 Mar 2015 02:47:25 -0400] rev 9428
Added Logitect RumblePad 2 controller mapping for Linux (thanks, Nicholas!).

Fixes Bugzilla #2091.