Sat, 14 Jan 2017 21:35:18 +0100Changed Bugzilla link in README.md to HTTPS like in BUGS.txt.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 14 Jan 2017 21:35:18 +0100] rev 10811
Changed Bugzilla link in README.md to HTTPS like in BUGS.txt.

Sat, 14 Jan 2017 21:34:45 +0100Fixed warnings about missing initializers in testoverlay2 program.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 14 Jan 2017 21:34:45 +0100] rev 10810
Fixed warnings about missing initializers in testoverlay2 program.

Fri, 13 Jan 2017 11:37:12 -0800Fixed comment
Sam Lantinga <slouken@libsdl.org> [Fri, 13 Jan 2017 11:37:12 -0800] rev 10809
Fixed comment

Thu, 12 Jan 2017 10:58:35 -0800fixed SENSOR_LANDSCAPE and SENSOR_PORTRAIT mode false nativeResume bug
dmuratshin <frankinshtein85@gmail.com> [Thu, 12 Jan 2017 10:58:35 -0800] rev 10808
fixed SENSOR_LANDSCAPE and SENSOR_PORTRAIT mode false nativeResume bug

Tue, 10 Jan 2017 23:23:32 -0800We don't actually build with the Xt library
Sam Lantinga <slouken@libsdl.org> [Tue, 10 Jan 2017 23:23:32 -0800] rev 10807
We don't actually build with the Xt library

Tue, 10 Jan 2017 08:54:33 -0800Fixed bugs 2570, 3145, improved OpenGL ES context support on Windows and X11
Sam Lantinga <slouken@libsdl.org> [Tue, 10 Jan 2017 08:54:33 -0800] rev 10806
Fixed bugs 2570, 3145, improved OpenGL ES context support on Windows and X11

Mark Callow

The attached patch does the following for the X11 and Windows platforms, the only ones where SDL attempts to use context_create_es_profile:

- Adds SDL_HINT_OPENGL_ES_DRIVER by which the application can
say to use the OpenGL ES driver & EGL rather than the Open GL
driver. (For bug #2570)
- Adds code to {WIN,X11}_GL_InitExtensions to determine the maximum
OpenGL ES version supported by the OpenGL driver (for bug #3145)
- Modifies the test that determines whether to use the OpenGL
driver or the real OpenGL ES driver to take into account the
hint, the requested and supported ES version and whether ES 1.X
is being requested. (For bug #2570 & bug #3145)
- Enables the testgles2 test for __WINDOWS__ and __LINUX__ and adds
the test to the VisualC projects.

With the fix in place I have run testdraw2, testgl and testgles2 without any issues and have run my own apps that use OpenGL, OpenGL ES 3 and OpenGL ES 1.1.

Mon, 09 Jan 2017 20:37:52 -0800Fixed bug 3552 - Building SDL in release mode fails under VS 2017 RC
Sam Lantinga <slouken@libsdl.org> [Mon, 09 Jan 2017 20:37:52 -0800] rev 10805
Fixed bug 3552 - Building SDL in release mode fails under VS 2017 RC

Lukasz Biel

Tried to compile SDL2 using newest version of VS.

Got:
SDL_audiocvt.obj : error LNK2019: unresolved external symbol memcpy referenced in function SDL_ResampleCVT
1>E:\Users\dotPo\Lib\SDL\VisualC\x64\Release\SDL2.dll : fatal error LNK1120: 1 unresolved externals

whole compilation process: http://pastebin.com/eWDAvBce

Steps to reproduce:
clone http://hg.libsdl.org/SDL using tortoise hg,
open SDL\VisualC\SDL.sln,
when promted if should retarget solution click ok,
select release x64 build type,
Build/Build Solution

attempt 2, using Visual Studio cmake support:
open folder SDL\
select release x64 build type,
run CMake\Build CMakeLists.txt
build fails

When switched to debug build type, buils succeeds in both cases.
VS 2017 is still beta.

Mon, 09 Jan 2017 16:31:57 -0500audio: Don't ever use libsamplerate in the SDL_AudioCVT codepath.
Ryan C. Gordon <icculus@icculus.org> [Mon, 09 Jan 2017 16:31:57 -0500] rev 10804
audio: Don't ever use libsamplerate in the SDL_AudioCVT codepath.

It causes audio pops if you're converting in chunks (and needs to
allocate/initialize/free on each convert). We'll either adjust this interface
when we break ABI for 2.1 to make this usable, or publish the SDL_AudioStream
API for those that want a streaming solution.

In the meantime, the "simple" resampler produces "good enough" audio without
pops and doesn't have to be initialized, so that'll do for now on the
SDL_AudioCVT interface.

Mon, 09 Jan 2017 15:56:11 -0500testresample: write correct length to the .wav header.
Ryan C. Gordon <icculus@icculus.org> [Mon, 09 Jan 2017 15:56:11 -0500] rev 10803
testresample: write correct length to the .wav header.

Mon, 09 Jan 2017 11:58:01 -0800We only need the first few keymaps corresponding to the following constants:
Sam Lantinga <slouken@libsdl.org> [Mon, 09 Jan 2017 11:58:01 -0800] rev 10802
We only need the first few keymaps corresponding to the following constants:
K_NORMTAB, K_SHIFTTAB, K_ALTTAB, K_ALTSHIFTTAB

In the normal case we'll load all the keymaps from the kernel, but this reduces the size of the SDL library for the fallback case when we can't get to the tty.