Tue, 15 Aug 2017 23:00:54 -0300More cleanup of the iOS keyboard demo.
Alex Szpakowski [Tue, 15 Aug 2017 23:00:54 -0300] rev 11307
More cleanup of the iOS keyboard demo.

Tue, 15 Aug 2017 22:53:57 -0300Improve iOS keyboard demo code a bit.
Alex Szpakowski [Tue, 15 Aug 2017 22:53:57 -0300] rev 11306
Improve iOS keyboard demo code a bit.

Tue, 15 Aug 2017 18:29:47 -0300Address a compiler warning.
Alex Szpakowski [Tue, 15 Aug 2017 18:29:47 -0300] rev 11305
Address a compiler warning.

Tue, 15 Aug 2017 16:30:26 -0400rwops: Fixed 64-bit file i/o on QNX.
Ryan C. Gordon [Tue, 15 Aug 2017 16:30:26 -0400] rev 11304
rwops: Fixed 64-bit file i/o on QNX.

Mon, 14 Aug 2017 23:45:06 -0700Fixed bug 2137 - SDL Message Boxes don't cope with fixed width fonts (in windows at least)
Sam Lantinga [Mon, 14 Aug 2017 23:45:06 -0700] rev 11303
Fixed bug 2137 - SDL Message Boxes don't cope with fixed width fonts (in windows at least)

Pegasus Epsilon

With the system dialog font set to Arial or Tahoma or another variable-width font, everything works just as expected. When using a fixed-width font, like Courier or DejaVu Sans Mono, the text gets cut off. Example screenshots attached.

Mon, 14 Aug 2017 21:40:40 -0700Fixed bug 2263 - Event timestamp members are undocumented
Sam Lantinga [Mon, 14 Aug 2017 21:40:40 -0700] rev 11302
Fixed bug 2263 - Event timestamp members are undocumented

Charles Huber

The event timestamp members should be documented to indicate their meaning and units.

Currently the timestamps are populated using SDL_GetTicks() in SDL_PushEvent() in SDL_events.c.

Mon, 14 Aug 2017 21:35:16 -0700Hopefully fixed Wayland build
Sam Lantinga [Mon, 14 Aug 2017 21:35:16 -0700] rev 11301
Hopefully fixed Wayland build

Mon, 14 Aug 2017 21:28:04 -0700Fixed bug 2293 - Precise scrolling events
Sam Lantinga [Mon, 14 Aug 2017 21:28:04 -0700] rev 11300
Fixed bug 2293 - Precise scrolling events

Martijn Courteaux

I implemented precise scrolling events. I have been through all the folders in /src/video/[platform] to implement where possible. This works on OS X, but I can't speak for others. Build farm will figure that out, I guess. I think this patch should introduce precise scrolling on OS X, Wayland, Mir, Windows, Android, Nacl, Windows RT.

The way I provide precise scrolling events is by adding two float fields to the SDL_MouseWheelScrollEvent datastructure, called "preciseX" and "preciseY". The old integer fields "x" and "y" are still present. The idea is that every platform specific code normalises the scroll amounts and forwards them to the SDL_SendMouseWheel function. It is this function that will now accumulate these (using a static variable, as I have seen how it was implemented in the Windows specific code) and once we hit a unit size, set the traditional integer "x" and "y" fields.

I believe this is pretty solid way of doing it, although I'm not the expert here.

There is also a fix in the patch for a typo recently introduced, that might need to be taken away by the time anybody merges this in. There is also a file in Nacl which I have stripped a horrible amount of trailing whitespaces. (Leave that part out if you want).

Mon, 14 Aug 2017 20:45:14 -0700Fixed Android build warning
Sam Lantinga [Mon, 14 Aug 2017 20:45:14 -0700] rev 11299
Fixed Android build warning

Mon, 14 Aug 2017 20:37:07 -0700Fixed build warning
Sam Lantinga [Mon, 14 Aug 2017 20:37:07 -0700] rev 11298
Fixed build warning