Sun, 10 Sep 2017 10:25:36 -0700Fixed the include path for khronos with Visual Studio
Sam Lantinga <slouken@libsdl.org> [Sun, 10 Sep 2017 10:25:36 -0700] rev 11487
Fixed the include path for khronos with Visual Studio

Sun, 10 Sep 2017 09:19:10 -0700Correction: copysign has been supported by windows several toolchains
Sam Lantinga <slouken@libsdl.org> [Sun, 10 Sep 2017 09:19:10 -0700] rev 11486
Correction: copysign has been supported by windows several toolchains
for a very long time, including MSVC6, MinGW, LCC-Win32, (no released
watcom versions though, but that's of no concern.)

Patch from Ozkan Sezer

Sat, 09 Sep 2017 21:17:46 -0400alsa: removed snd_pcm_wait() call before writing to playback device.
Ryan C. Gordon <icculus@icculus.org> [Sat, 09 Sep 2017 21:17:46 -0400] rev 11485
alsa: removed snd_pcm_wait() call before writing to playback device.

This would cause playback problems in certain situations, such as on the
Raspberry Pi. The device that the wait was added for seems to not benefit from
it in modern times, and standard desktop Linux seems to do the right thing
when a USB device is unplugged now, without this patch.

Fixes Bugzilla #3599.

Sat, 09 Sep 2017 11:04:35 -0700Updated documentation so it's clear you should use SDL_SetWindowDisplayMode() to change the size of fullscreen windows.
Sam Lantinga <slouken@libsdl.org> [Sat, 09 Sep 2017 11:04:35 -0700] rev 11484
Updated documentation so it's clear you should use SDL_SetWindowDisplayMode() to change the size of fullscreen windows.

Sat, 09 Sep 2017 11:00:25 -0700Fixed bug 3809 - Restore after maximize leads to wrong size
Sam Lantinga <slouken@libsdl.org> [Sat, 09 Sep 2017 11:00:25 -0700] rev 11483
Fixed bug 3809 - Restore after maximize leads to wrong size

Andreas Falkenhahn

My app opens a 640x480 window. When I click on the window's maximize button, the window correctly fills the entire screen and loses its borders. But clicking on the restore button now doesn't restore the window to its original 640x480 size. Instead, the window size is identical to the screen size now. The only difference to the previous state is that the window now has borders again but it isn't restored to 640x480.

Sat, 09 Sep 2017 10:31:44 -0700Fixed bug 3719 - Cocoa - Incorrect window size when leaving fullscreen
Sam Lantinga <slouken@libsdl.org> [Sat, 09 Sep 2017 10:31:44 -0700] rev 11482
Fixed bug 3719 - Cocoa - Incorrect window size when leaving fullscreen

bastien.bouclet

The window is now resized to its specified size, but it moves to the top left corner of the screen. That is unexpected because neither the user nor the program moved it there. Test program attached (the same one as before).

Sat, 09 Sep 2017 09:31:12 -0700Fixed window size when leaving fullscreen mode (thanks Eric!)
Sam Lantinga <slouken@libsdl.org> [Sat, 09 Sep 2017 09:31:12 -0700] rev 11481
Fixed window size when leaving fullscreen mode (thanks Eric!)

Sat, 09 Sep 2017 08:36:37 -0700Fixed bug 3760 - RWops doesn't check for integer overflow when stdio_fseek only supports 32 bits
Sam Lantinga <slouken@libsdl.org> [Sat, 09 Sep 2017 08:36:37 -0700] rev 11480
Fixed bug 3760 - RWops doesn't check for integer overflow when stdio_fseek only supports 32 bits

Simon Hug

When RWops seeks with fseek or fseeko it uses the types long or off_t which can be 32 bits on some platforms. stdio_seek does not check if the 64-bit integer for the offset fits into a 32-bit integer. Offsets equal or larger than 2 GiB will have implementation-defined behavior and failure states would be very confusing to debug.

The attached patch adds range checking by using the macros from limits.h for long type and some bit shifting for off_t because POSIX couldn't be bothered to specify min and max macros.

It also defines HAVE_FSEEKI64 in SDL_config_windows.h so that the Windows function gets picked up automatically with the default config.

And there's an additional error message for when ftell fails.

Sat, 09 Sep 2017 08:34:46 -0700Make sure the libtool archives are installed
Sam Lantinga <slouken@libsdl.org> [Sat, 09 Sep 2017 08:34:46 -0700] rev 11479
Make sure the libtool archives are installed

Sat, 09 Sep 2017 08:20:56 -0700Fixed bug 3808 - fix a typo in SDL_stretch.c
Sam Lantinga <slouken@libsdl.org> [Sat, 09 Sep 2017 08:20:56 -0700] rev 11478
Fixed bug 3808 - fix a typo in SDL_stretch.c

Ozkan Sezer

The following patch fixes a minor _MSC_VER typo in SDL_stretch.c,
and also does a tiny tidy-up for assembly opcodes cpp checks.