Mon, 21 Oct 2013 00:15:24 -0700 Better cleanup if OpenGL initialization fails
Sam Lantinga <slouken@libsdl.org> [Mon, 21 Oct 2013 00:15:24 -0700] rev 7865
Better cleanup if OpenGL initialization fails
Sun, 20 Oct 2013 23:52:02 -0700 Fixed bug 2156 - Android: Accelerometer values fed to joystick driver are inverted for the X axis and wrong for Z
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Oct 2013 23:52:02 -0700] rev 7864
Fixed bug 2156 - Android: Accelerometer values fed to joystick driver are inverted for the X axis and wrong for Z Denis Bernard Background information: http://developer.android.com/reference/android/hardware/SensorEvent.html#values Steps to reproduce: compile testjoystick.c as an android app (change screen size according to your device). While running the app, also run: adb logcat -c; adb logcat -s 'SDL:*' 'SDL/APP:*' When tilting the device left/right, the joystick moves in the opposite direction of what one would expect. Or at least, the behaviour is not consistent with the Y axis. Also when the device sits on a table (obviously not moving), the Z axis value oscillates between -32000 and +32000 (by overflow): I/SDL/APP ( 1994): Joystick 0 axis 2 value: 32511 I/SDL/APP ( 1994): Joystick 0 axis 2 value: 32575 I/SDL/APP ( 1994): Joystick 0 axis 2 value: 32383 I/SDL/APP ( 1994): Joystick 0 axis 2 value: -32386 I/SDL/APP ( 1994): Joystick 0 axis 2 value: -32450 I/SDL/APP ( 1994): Joystick 0 axis 2 value: -32578 This is caused by the accelerometer yielding a constant value around 9.81 for Z and feeding something like 0.9 to 1.1 to the joystick driver, resulting in the overflow. Proposed fix in SDLActivity.java (swap X and subtract G from Z reading)
Sun, 20 Oct 2013 23:23:25 -0700 Fixed a crash initializing Android touch IDs
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Oct 2013 23:23:25 -0700] rev 7863
Fixed a crash initializing Android touch IDs
Sun, 20 Oct 2013 23:05:53 -0700 Fixed the status bar visibility in iOS 7
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Oct 2013 23:05:53 -0700] rev 7862
Fixed the status bar visibility in iOS 7
Sun, 20 Oct 2013 22:23:09 -0700 Fixed Y axis inversion on iOS; positive is up, negative is down.
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Oct 2013 22:23:09 -0700] rev 7861
Fixed Y axis inversion on iOS; positive is up, negative is down.
Sun, 20 Oct 2013 21:56:15 -0700 Fixed bug 2129 - fix for bug 2121 breaks linking for mingw and throws multiple warnings
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Oct 2013 21:56:15 -0700] rev 7860
Fixed bug 2129 - fix for bug 2121 breaks linking for mingw and throws multiple warnings Andreas Ertelt The problem in question is caused by changeset 7771 (http://hg.libsdl.org/SDL/rev/4434498bf4b9 / https://bugzilla.libsdl.org/show_bug.cgi?id=2121) The redefinition of __inline__ (introduced by the addition of begin_code.h:128's "|| __STRICT_ANSI__") results in mingw's gcc throwing multiple warning: always_inline function might not be inlinable [-Wattributes] as well as a whole bunch of redefinitions of mingw internals which break linking of projects including the SDL2 headers.
Sun, 20 Oct 2013 21:34:38 -0700 Prevent conflicts when linking both SDL2 and SDL2_gfx
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Oct 2013 21:34:38 -0700] rev 7859
Prevent conflicts when linking both SDL2 and SDL2_gfx
Sun, 20 Oct 2013 20:49:36 -0700 Fixed windows compile
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Oct 2013 20:49:36 -0700] rev 7858
Fixed windows compile
Sun, 20 Oct 2013 20:42:55 -0700 Added a macro SDL_TICKS_PASSED() to correctly compare two 32-bit tick values.
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Oct 2013 20:42:55 -0700] rev 7857
Added a macro SDL_TICKS_PASSED() to correctly compare two 32-bit tick values. Went through the code and used the macro and fixed a couple places that were using incorrect timestamp comparisons.
Sun, 20 Oct 2013 20:41:30 -0700 Added __WINDOWS__ to reflect both 32 and 64-bit windows platforms
Sam Lantinga <slouken@libsdl.org> [Sun, 20 Oct 2013 20:41:30 -0700] rev 7856
Added __WINDOWS__ to reflect both 32 and 64-bit windows platforms
(0) -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 tip