Fri, 20 Jun 2014 11:01:05 -0300Ooops, code that resists erasure, I've seen that in a movie.
Gabriel Jacobo <gabomdq@gmail.com> [Fri, 20 Jun 2014 11:01:05 -0300] rev 8878
Ooops, code that resists erasure, I've seen that in a movie.

Fri, 20 Jun 2014 10:59:51 -0300Initialize nacl_io, removes SDL_NaClMount/Umount
Gabriel Jacobo <gabomdq@gmail.com> [Fri, 20 Jun 2014 10:59:51 -0300] rev 8877
Initialize nacl_io, removes SDL_NaClMount/Umount

It's just easier to use nacl_io's mount/umount directly.

Thu, 19 Jun 2014 00:40:09 -0400Make autoconf-based build quiet by default.
Sam Clegg <sbc@chromium.org> [Thu, 19 Jun 2014 00:40:09 -0400] rev 8876
Make autoconf-based build quiet by default.

Add V=1 to the make command line will show the full commands but by default
we just show the tool-type and the output file. This is generally much easier
on the eye and makes warnings and errors more clearly visible.

Wed, 18 Jun 2014 10:04:21 -0300Fix file name typo, thanks Sam Clegg!
Gabriel Jacobo <gabomdq@gmail.com> [Wed, 18 Jun 2014 10:04:21 -0300] rev 8875
Fix file name typo, thanks Sam Clegg!

Mon, 16 Jun 2014 10:58:09 -0300Add suport for "make uninstall" to cmake.
Wander Lairson Costa <wander.lairson@gmail.com> [Mon, 16 Jun 2014 10:58:09 -0300] rev 8874
Add suport for "make uninstall" to cmake.

Mon, 16 Jun 2014 09:54:33 -0300Assorted fixes for NaCl. Hat tip to Sylvain Becker
Gabriel Jacobo <gabomdq@gmail.com> [Mon, 16 Jun 2014 09:54:33 -0300] rev 8873
Assorted fixes for NaCl. Hat tip to Sylvain Becker

Mon, 16 Jun 2014 09:47:23 -0300Fixes #2583, clean up EGL initialization
Gabriel Jacobo <gabomdq@gmail.com> [Mon, 16 Jun 2014 09:47:23 -0300] rev 8872
Fixes #2583, clean up EGL initialization

Sun, 15 Jun 2014 19:32:39 -0700Fixed bug 2558 - Missing FINGERUP in Android
Sam Lantinga <slouken@libsdl.org> [Sun, 15 Jun 2014 19:32:39 -0700] rev 8871
Fixed bug 2558 - Missing FINGERUP in Android

Sylvain

If you play with the TouchScreen with +3 fingers randomly / pressing simultaneously all fingers.

You triggers FINGER DOWN events, but not always all the associated FINGER UP events.

So, after a while SDL_GetNumFingers() can report a wrong number of fingers pressed !


The explanation is hidden there : http://developer.android.com/reference/android/view/MotionEvent.html

Each pointer has a unique id that is assigned when it first goes down (indicated by ACTION_DOWN or ACTION_POINTER_DOWN).
A pointer id remains valid until the pointer eventually goes up (indicated by ACTION_UP or ACTION_POINTER_UP) or when the gesture is canceled (indicated by ACTION_CANCEL).

in ACTION_CANCEL :

The current gesture has been aborted. You will not receive any more points in it. You should treat this as an up event, but not perform any action that you normally would.
Constant Value: 3 (0x00000003)

Sun, 15 Jun 2014 18:31:30 -0700Fixed bug 2567 - x11: Local dropped files are not URI-decoded
Sam Lantinga <slouken@libsdl.org> [Sun, 15 Jun 2014 18:31:30 -0700] rev 8870
Fixed bug 2567 - x11: Local dropped files are not URI-decoded

Melker Narikka

Local files that are dropped onto a window under X11
are not going through a URI decoding step, resulting in the following
in my test application:

Dropped file /home/meklu/Pictures/Screenshot%20from%202013-10-30%2014:04:50.png
Couldn't load /home/meklu/Pictures/Screenshot%20from%202013-10-30%2014:04:50.png

Expected result:

Dropped file /home/meklu/Pictures/Screenshot from 2013-10-30 14:04:50.png
Loaded /home/meklu/Pictures/Screenshot from 2013-10-30 14:04:50.png successfully

I've attached a patch that fixes the issue by doing URI decoding in-place on
the file string buffer.

Sun, 15 Jun 2014 18:09:39 -0700Fixed bug 2575 - Current GL context tracking fails
Sam Lantinga <slouken@libsdl.org> [Sun, 15 Jun 2014 18:09:39 -0700] rev 8869
Fixed bug 2575 - Current GL context tracking fails

Ronie Salgado

The GL Renderer current context tracking fails when one window is used with an SDL renderer but another separate window is used with a user handled OpenGL context.

Attached is a small program that reproduces this bug, at least in some Linux machines where an OpenGL renderer is provided by default.

Expected Output:
-"First window" should be blue.
-"Second window" should be green.

Gotten Output:
- "First window" black.
- "Second window" blue.

What happened:
The renderer created for the "first window" ends rendering into the "second window" OpenGL context.

Bug location:

SDL_render_gl.c - line 286 on hg:
static SDL_GLContext SDL_CurrentContext = NULL;

When making SDL_GL_MakeCurrent from the user perspective, that variable or the GL renderer is not notified about the OpenGL context change.

Solution proposal:
- Move the current GL context cache into another place global.