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 *" ?

Sun, 17 Mar 2013 09:47:25 -0700Removed unused window size constants
Sam Lantinga <slouken@libsdl.org> [Sun, 17 Mar 2013 09:47:25 -0700] rev 7013
Removed unused window size constants

Sun, 17 Mar 2013 09:45:40 -0700The platform define for the PSP is __PSP__
Sam Lantinga <slouken@libsdl.org> [Sun, 17 Mar 2013 09:45:40 -0700] rev 7012
The platform define for the PSP is __PSP__

Sun, 17 Mar 2013 09:44:58 -0700Removed Nintendo DS support since nobody has volunteered to maintain it for over a year.
Sam Lantinga <slouken@libsdl.org> [Sun, 17 Mar 2013 09:44:58 -0700] rev 7011
Removed Nintendo DS support since nobody has volunteered to maintain it for over a year.

Sun, 17 Mar 2013 09:21:08 -0700We have a new platform, yay!
Sam Lantinga <slouken@libsdl.org> [Sun, 17 Mar 2013 09:21:08 -0700] rev 7010
We have a new platform, yay!

Sun, 17 Mar 2013 20:07:02 +0800Add PSP support
Captain Lex <kimonline@126.com> [Sun, 17 Mar 2013 20:07:02 +0800] rev 7009
Add PSP support

Sat, 16 Mar 2013 11:00:04 -0700Fixed more const issues with C++
Sam Lantinga <slouken@libsdl.org> [Sat, 16 Mar 2013 11:00:04 -0700] rev 7008
Fixed more const issues with C++