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.

Sat, 09 Sep 2017 08:03:23 -0700Updated config.guess and config.sub, added config.sub.patch for NaCl and Emscripten build support
Sam Lantinga <slouken@libsdl.org> [Sat, 09 Sep 2017 08:03:23 -0700] rev 11477
Updated config.guess and config.sub, added config.sub.patch for NaCl and Emscripten build support

Sat, 09 Sep 2017 07:45:31 -0700Updated documentation to note that libvulkan-dev is no longer needed
Sam Lantinga <slouken@libsdl.org> [Sat, 09 Sep 2017 07:45:31 -0700] rev 11476
Updated documentation to note that libvulkan-dev is no longer needed

Sat, 09 Sep 2017 07:42:29 -0700Fixed bug 3807 - Remove restriction from DECLSPEC macro for OS/2
Sam Lantinga <slouken@libsdl.org> [Sat, 09 Sep 2017 07:42:29 -0700] rev 11475
Fixed bug 3807 - Remove restriction from DECLSPEC macro for OS/2

Ozkan Sezer

The following patch removes the unnecessary / wrong
Watcom restriction from the DECLSPEC macro for OS/2.

Sat, 09 Sep 2017 07:35:55 -0700We don't need libvulkan-dev to build Vulkan support
Sam Lantinga <slouken@libsdl.org> [Sat, 09 Sep 2017 07:35:55 -0700] rev 11474
We don't need libvulkan-dev to build Vulkan support

Sat, 09 Sep 2017 07:30:25 -0700Updated Debian changelog for 2.0.6 release
Sam Lantinga <slouken@libsdl.org> [Sat, 09 Sep 2017 07:30:25 -0700] rev 11473
Updated Debian changelog for 2.0.6 release

Fri, 08 Sep 2017 22:21:01 -0700Fixed bug 3805 - Why is there no --enable-video-rpi option in configure?
Sam Lantinga <slouken@libsdl.org> [Fri, 08 Sep 2017 22:21:01 -0700] rev 11472
Fixed bug 3805 - Why is there no --enable-video-rpi option in configure?

Andreas Falkenhahn

When compiling SDL for the Raspberry Pi, I have to use the --host parameter to enable compilation of the native Raspberry Pi video driver, like so:

--host=arm-raspberry-linux-gnueabihf

It took me a while to figure out that this was necessary in order to have the native Raspberry Pi video driver compiled in. I think it would be better if there was an option like --enable-video-rpi that could be passed to configure and that would also show up when saying configure --help. Currently, it’s rather difficult to figure out that you have to use the --host parameter with arm-raspberry-linux-gnueabihf in order to get Raspberry Pi video support. It’s also somewhat inconsistent because most other video drivers can in fact be enabled/disabled through specific configure parameters but there is no such parameter for the native Raspberry Pi video driver.

Fri, 08 Sep 2017 18:26:25 -0700Fixed bug 3806 - Fixes for MSVC compiler warnings
Sam Lantinga <slouken@libsdl.org> [Fri, 08 Sep 2017 18:26:25 -0700] rev 11471
Fixed bug 3806 - Fixes for MSVC compiler warnings

Simon Hug

These are the remaining compiler warnings I see in the current tip b3bb3855bc41.

- SDL_test_log.c defines _CRT_SECURE_NO_WARNINGS without checking if it was already set.

- SDL_windowskeyboard.c converts integers to pointers without going over the (U)INT_PTR types. That bothers MSVC.