Sun, 24 Mar 2013 09:51:01 -0700The palette unused value is treated as alpha and updated when setting the colorkey.
Sam Lantinga <slouken@libsdl.org> [Sun, 24 Mar 2013 09:51:01 -0700] rev 7023
The palette unused value is treated as alpha and updated when setting the colorkey.
This fixes issues loading palettized images that have a colorkey with the same RGB values as another entry in the palette (e.g. bug 1746)

Sat, 23 Mar 2013 13:03:36 -0700Updated the license listed in the header, fixing bug 1768
Sam Lantinga <slouken@libsdl.org> [Sat, 23 Mar 2013 13:03:36 -0700] rev 7022
Updated the license listed in the header, fixing bug 1768

Fri, 22 Mar 2013 11:42:31 -0700Make SDL support the X11 clipboard TARGETS protocol, which advertises what formats text is available in from the application. This is necessary for many Linux programs to interact well with the clipboard.
Sam Lantinga <slouken@libsdl.org> [Fri, 22 Mar 2013 11:42:31 -0700] rev 7021
Make SDL support the X11 clipboard TARGETS protocol, which advertises what formats text is available in from the application. This is necessary for many Linux programs to interact well with the clipboard.

Tue, 19 Mar 2013 23:24:24 -0700Removed old file from the Android build
Sam Lantinga <slouken@libsdl.org> [Tue, 19 Mar 2013 23:24:24 -0700] rev 7020
Removed old file from the Android build

Tue, 19 Mar 2013 23:07:49 -0700Added missing files for the Android build
Sam Lantinga <slouken@libsdl.org> [Tue, 19 Mar 2013 23:07:49 -0700] rev 7019
Added missing files for the Android build

Tue, 19 Mar 2013 23:03:57 -0700Fixed bug 1700 - Joysticks not supported in Android
Sam Lantinga <slouken@libsdl.org> [Tue, 19 Mar 2013 23:03:57 -0700] rev 7018
Fixed bug 1700 - Joysticks not supported in Android

Tue, 19 Mar 2013 22:25:02 -0700Fixed bug 1759 - Updates to testjoystick.c
Sam Lantinga <slouken@libsdl.org> [Tue, 19 Mar 2013 22:25:02 -0700] rev 7017
Fixed bug 1759 - Updates to testjoystick.c

ny00

A minor patch is attached, with the following few changes to testjoystick.c:
- Unused constant definitions have been removed.
- Output for all analog axes is drawn, even when there is an odd number of axes. (I have a controller with 5 analog axes.)
- Buttons are now drawn on two rows, so there's room for more. In fact, it has been used for testing a proposed joystick patch for Android, where large button ID numbers have been involved (20 and up). For more details see http://bugzilla.libsdl.org/show_bug.cgi?id=1700.
- A few adaptations have been done for the Android platform, assuming joystick support is ever applied to it. One of them is that the very first joystick (in the enumeration of all joysticks) is opened for testing, if there is any.
- It is now possible to quit from the calibration by pressing on a mouse button, tapping on a touchscreen or pressing/tapping on the "Back" button of an Android device. Technically, a press on a key identified by key code SDLK_AC_BACK results in that.

Tue, 19 Mar 2013 22:15:07 -0700Fixed bug 1760 - Update README.android about local.properties
Sam Lantinga <slouken@libsdl.org> [Tue, 19 Mar 2013 22:15:07 -0700] rev 7016
Fixed bug 1760 - Update README.android about local.properties

ny00

At the moment, the README.android file mentions this as one step in building an app:

"
5. Edit <project>/local.properties to point to the Android SDK directory
"

However, the local.properties file has recently been removed from the repository, so an update is desired. For instance:

"
5. Create <project>/local.properties and use that to point to the Android SDK directory, by writing a line with the following form:
sdk.dir=/Users/slouken/android-sdk-macosx

Tue, 19 Mar 2013 22:02:34 -0700Fixed bug 1764 - Integer Precision Loss During Compilation
Sam Lantinga <slouken@libsdl.org> [Tue, 19 Mar 2013 22:02:34 -0700] rev 7015
Fixed bug 1764 - Integer Precision Loss During Compilation

Phil Sampson

/Library/Frameworks/SDL2.framework/Headers/SDL_stdinc.h:345:28: Implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'unsigned int'

Tue, 19 Mar 2013 21:53:33 -0700Fixed bug 1763 - Constify SDL_UpdateWindowSurfaceRects()
Sam Lantinga <slouken@libsdl.org> [Tue, 19 Mar 2013 21:53:33 -0700] rev 7014
Fixed bug 1763 - Constify SDL_UpdateWindowSurfaceRects()

Ryan C. Gordon

With this function...
SDL_UpdateWindowSurfaceRects(SDL_Window * window, SDL_Rect * rects, int numrects);
...is there any reason rects isn't "const SDL_Rect *" ?