Sun, 26 May 2013 12:20:23 -0700 Fixed compiling XAudio2 code with mingw64
Sam Lantinga <slouken@libsdl.org> [Sun, 26 May 2013 12:20:23 -0700] rev 7226
Fixed compiling XAudio2 code with mingw64
Sun, 26 May 2013 11:44:03 -0700 Fixed compiler warning
Sam Lantinga <slouken@libsdl.org> [Sun, 26 May 2013 11:44:03 -0700] rev 7225
Fixed compiler warning
Sun, 26 May 2013 11:39:19 -0700 Don't assume the XAudio2 APIs will never be available
Sam Lantinga <slouken@libsdl.org> [Sun, 26 May 2013 11:39:19 -0700] rev 7224
Don't assume the XAudio2 APIs will never be available
Sun, 26 May 2013 11:34:04 -0700 Fixed compile errors building with mingw64
Sam Lantinga <slouken@libsdl.org> [Sun, 26 May 2013 11:34:04 -0700] rev 7223
Fixed compile errors building with mingw64
Sun, 26 May 2013 11:06:17 -0700 Renamed documentation files to .txt and converted them to DOS line endings so they would open properly on all systems.
Sam Lantinga <slouken@libsdl.org> [Sun, 26 May 2013 11:06:17 -0700] rev 7222
Renamed documentation files to .txt and converted them to DOS line endings so they would open properly on all systems. Updated Makefile.in so "make dist" includes everything necessary for release.
Sun, 26 May 2013 12:30:52 +0200 Corrected documentation errors in header file.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sun, 26 May 2013 12:30:52 +0200] rev 7221
Corrected documentation errors in header file.
Sun, 26 May 2013 12:15:15 +0200 Fixed wrong documentation for haptic implementation.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sun, 26 May 2013 12:15:15 +0200] rev 7220
Fixed wrong documentation for haptic implementation.
Sun, 26 May 2013 12:12:52 +0200 Fixed test description in test suite for standard library.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sun, 26 May 2013 12:12:52 +0200] rev 7219
Fixed test description in test suite for standard library.
Sun, 26 May 2013 11:54:17 +0200 Changed three similar error messages to contain more context.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sun, 26 May 2013 11:54:17 +0200] rev 7218
Changed three similar error messages to contain more context.
Fri, 24 May 2013 03:29:31 -0700 Fixed Windows build
Sam Lantinga <slouken@libsdl.org> [Fri, 24 May 2013 03:29:31 -0700] rev 7217
Fixed Windows build
Fri, 24 May 2013 03:23:21 -0700 Added the beginning of automated tests for the standard C library routines.
Sam Lantinga <slouken@libsdl.org> [Fri, 24 May 2013 03:23:21 -0700] rev 7216
Added the beginning of automated tests for the standard C library routines. Implemented more SDL_snprintf format specifiers.
Thu, 23 May 2013 23:27:48 -0700 Added a newline to OutputDebugString(), fixes output on Visual Studio 2008
Sam Lantinga <slouken@libsdl.org> [Thu, 23 May 2013 23:27:48 -0700] rev 7215
Added a newline to OutputDebugString(), fixes output on Visual Studio 2008
Thu, 23 May 2013 18:45:14 -0400 Only free EventData if it's successfully retrieved.
Edward Rudd <urkle@outoforder.cc> [Thu, 23 May 2013 18:45:14 -0400] rev 7214
Only free EventData if it's successfully retrieved. - straight from http://who-t.blogspot.com/2009/07/xi2-and-xlib-cookies.html - hopefully fixes random crash on some systems
Tue, 21 May 2013 22:48:50 -0700 Fixed Haiku build issue with missing extension support.
Sam Lantinga <slouken@libsdl.org> [Tue, 21 May 2013 22:48:50 -0700] rev 7213
Fixed Haiku build issue with missing extension support. The visibility attribute warnings in Haiku gl.h can be fixed by editing gl.h and changing the line: #elif defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) to #elif (defined(__GNUC__) && __GNUC__ >= 4) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) as described in: http://dev.haiku-os.org/ticket/8882
Wed, 22 May 2013 01:36:37 -0400 Patched to compile with older glext.h that don't have GL_NUM_EXTENSIONS.
Ryan C. Gordon <icculus@icculus.org> [Wed, 22 May 2013 01:36:37 -0400] rev 7212
Patched to compile with older glext.h that don't have GL_NUM_EXTENSIONS.
Tue, 21 May 2013 22:35:13 -0700 The Haiku install location fix needs to get into configure
Sam Lantinga <slouken@libsdl.org> [Tue, 21 May 2013 22:35:13 -0700] rev 7211
The Haiku install location fix needs to get into configure
Wed, 22 May 2013 01:31:04 -0400 Use glGetStringi() for extension lookup on OpenGL contexts >= version 3.0.
Ryan C. Gordon <icculus@icculus.org> [Wed, 22 May 2013 01:31:04 -0400] rev 7210
Use glGetStringi() for extension lookup on OpenGL contexts >= version 3.0. Fixes Bugzilla #1620.
Tue, 21 May 2013 22:04:14 -0700 Fixed macro line endings after whitespace was fixed
Sam Lantinga <slouken@libsdl.org> [Tue, 21 May 2013 22:04:14 -0700] rev 7209
Fixed macro line endings after whitespace was fixed
Tue, 21 May 2013 22:01:18 -0700 Fixed bug 1534 - SIGSEGV in SDL_ConvertSurface() for certain formats in SDL2
Sam Lantinga <slouken@libsdl.org> [Tue, 21 May 2013 22:01:18 -0700] rev 7208
Fixed bug 1534 - SIGSEGV in SDL_ConvertSurface() for certain formats in SDL2 Don't assume that 8 bit formats are indexed. Thanks to Gabriel Jacobo for research and potential patches.
Tue, 21 May 2013 23:35:45 -0400 Backed out changeset b69dfd56e1b0
Ryan C. Gordon <icculus@icculus.org> [Tue, 21 May 2013 23:35:45 -0400] rev 7207
Backed out changeset b69dfd56e1b0 This was clearly not the right fix.
Tue, 21 May 2013 23:13:52 -0400 Attempt to fix Haiku buildbot (and other systems with an old glext.h).
Ryan C. Gordon <icculus@icculus.org> [Tue, 21 May 2013 23:13:52 -0400] rev 7206
Attempt to fix Haiku buildbot (and other systems with an old glext.h).
Tue, 21 May 2013 23:02:16 -0400 Patched to compile on older Mac OS X devtools (thanks, D B!).
Ryan C. Gordon <icculus@icculus.org> [Tue, 21 May 2013 23:02:16 -0400] rev 7205
Patched to compile on older Mac OS X devtools (thanks, D B!).
Tue, 21 May 2013 00:49:31 -0700 Fixed bug Bug 1817 - Haiku uses wrong default install prefix
Sam Lantinga <slouken@libsdl.org> [Tue, 21 May 2013 00:49:31 -0700] rev 7204
Fixed bug Bug 1817 - Haiku uses wrong default install prefix Axel Dörfler Currently, the default install target for Haiku is /boot/develop/tools/gnupro. However, this is not the expected install place. Instead, /boot/common should be used.
Mon, 20 May 2013 23:57:10 -0700 Fixed bug 1856 - (Patch) More bits for SDL_MouseMotionEvent.state
Sam Lantinga <slouken@libsdl.org> [Mon, 20 May 2013 23:57:10 -0700] rev 7203
Fixed bug 1856 - (Patch) More bits for SDL_MouseMotionEvent.state Gerry JJ The state bitmask in SDL_MouseMotionEvent is stored in an Uint8. Unfortunately this doesn't actually have room for 8 buttons because SDL skips 4 button indices after the third mouse button (at least here on Linux x86-64, probably related to wheel handling?), so it's really just enough to track 4 buttons. For example, on a Logitech MX310 mouse I've got, even though the mouse has 6 buttons total, the left and right side buttons and extra middle button have indexes 8, 9 and 10, and the last two won't fit in the 8 bit button state. The source of the button state (in SDL_Mouse) is already 32-bit, and the state field in SDL_MouseMotionEvent is 32-bit aligned and followed by three 8-bit padding fields. So simply changing the SDL_MouseMotionEvent state to an Uint32 and removing the padding fields fixes this, and I think it should be binary compatible, at least for little endian.
Mon, 20 May 2013 23:30:08 -0700 Fixed bug 1148 - SDL window white upon first appearing
Sam Lantinga <slouken@libsdl.org> [Mon, 20 May 2013 23:30:08 -0700] rev 7202
Fixed bug 1148 - SDL window white upon first appearing To be consistent with other platforms, we'll use black as the background color.
Mon, 20 May 2013 23:04:25 -0700 Fixed bug 1113 - SDL_SetEventFilter()'s event deletion process is not safe against intervening event push.
Sam Lantinga <slouken@libsdl.org> [Mon, 20 May 2013 23:04:25 -0700] rev 7201
Fixed bug 1113 - SDL_SetEventFilter()'s event deletion process is not safe against intervening event push. This is not completely thread-safe since it's possible for an event to come in and be unfiltered between the flush call and the setting of the new filter, but it's much better than it was.
Mon, 20 May 2013 22:05:49 -0700 Fixed bug 731 - No mechanism to extract the NSView for 3d library
Sam Lantinga <slouken@libsdl.org> [Mon, 20 May 2013 22:05:49 -0700] rev 7200
Fixed bug 731 - No mechanism to extract the NSView for 3d library
Mon, 20 May 2013 12:25:16 -0700 Fixed losing ALT key modifiers on Unity
Sam Lantinga <slouken@libsdl.org> [Mon, 20 May 2013 12:25:16 -0700] rev 7199
Fixed losing ALT key modifiers on Unity
Mon, 20 May 2013 12:01:31 -0700 It turns out that GL_ARB_debug_output is really only useful on debug contexts, so for consistency and performance we'll only check and report errors on debug contexts.
Sam Lantinga <slouken@libsdl.org> [Mon, 20 May 2013 12:01:31 -0700] rev 7198
It turns out that GL_ARB_debug_output is really only useful on debug contexts, so for consistency and performance we'll only check and report errors on debug contexts. I added a --gldebug command line option for the test programs to easily test this, and we may want a hint as well to enable OpenGL error checking.
Sun, 19 May 2013 22:57:01 -0700 Fixed declaration of GL_HandleDebugMessage
Sam Lantinga <slouken@libsdl.org> [Sun, 19 May 2013 22:57:01 -0700] rev 7197
Fixed declaration of GL_HandleDebugMessage
Sun, 19 May 2013 22:45:52 -0700 Fixed windows build
Sam Lantinga <slouken@libsdl.org> [Sun, 19 May 2013 22:45:52 -0700] rev 7196
Fixed windows build
Sun, 19 May 2013 22:36:54 -0700 Fixed bug 1842 - [patch] SDL_SetWindowPosition sets bad position values when given SDL_WINDOWPOS_CENTERED args
Sam Lantinga <slouken@libsdl.org> [Sun, 19 May 2013 22:36:54 -0700] rev 7195
Fixed bug 1842 - [patch] SDL_SetWindowPosition sets bad position values when given SDL_WINDOWPOS_CENTERED args Alex Szpakowski When calling SDL_SetWindowPosition(window, SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED), the window moves to the correct position but it seems to internally set its x/y position values to the literal value of the SDL_WINDOWPOS_CENTERED define. This causes all sorts of problems when SDL functions which use the window position (e.g. SDL_SetWindowGrab) are called after the aforementioned SDL_SetWindowPosition call. Looking at the SDL_SetWindowPosition code, it seems that SDL_SendWindowEvent with the SDL_WINDOWEVENT_MOVED event is called at the end of the function using the literal value of the SDL_WINDOWPOS_CENTERED define, instead of the newly set window->x and window->y values. SDL_SendWindowEvent then sets the values of window->windowed.x and window->windowed.y to that value (0x2FFF0000, aka 805240832.) I have attached a patch which changes SDL_SetWindowPosition to make sure SDL_SendWindowEvent is called with the correct coordinate values, if SDL_WINDOWPOS_CENTERED is used (fixes the issue for me.) Tested with Mac OS 10.8.3.
Sun, 19 May 2013 22:28:10 -0700 Fixed bug 1837 - Use error extension instead of glGetError()
Sam Lantinga <slouken@libsdl.org> [Sun, 19 May 2013 22:28:10 -0700] rev 7194
Fixed bug 1837 - Use error extension instead of glGetError() Implemented support for GL_ARB_debug_output, but was unable to test it on Mac OS X.
Sat, 18 May 2013 23:32:53 -0700 Deprecate test/automated and test/test-automation (replaced by test/testautomation*.*)
Andreas Schiffler <aschiffler@ferzkopp.net> [Sat, 18 May 2013 23:32:53 -0700] rev 7193
Deprecate test/automated and test/test-automation (replaced by test/testautomation*.*)
Sat, 18 May 2013 14:51:29 -0700 Fixed black screen on iOS
Sam Lantinga <slouken@libsdl.org> [Sat, 18 May 2013 14:51:29 -0700] rev 7192
Fixed black screen on iOS
Sat, 18 May 2013 14:17:52 -0700 File style cleanup for the SDL 2.0 release
Sam Lantinga <slouken@libsdl.org> [Sat, 18 May 2013 14:17:52 -0700] rev 7191
File style cleanup for the SDL 2.0 release
Sat, 18 May 2013 12:48:50 -0700 Added mobile application events, with implementations for iOS and Android
Sam Lantinga <slouken@libsdl.org> [Sat, 18 May 2013 12:48:50 -0700] rev 7190
Added mobile application events, with implementations for iOS and Android
Sat, 18 May 2013 09:35:09 -0700 Update test harness to handle test return codes; fix comment format in harness; update Main test suite to handle globally disabled features
Andreas Schiffler <aschiffler@ferzkopp.net> [Sat, 18 May 2013 09:35:09 -0700] rev 7189
Update test harness to handle test return codes; fix comment format in harness; update Main test suite to handle globally disabled features
Sat, 18 May 2013 14:48:19 +0200 Fixed Doxygen warnings.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 18 May 2013 14:48:19 +0200] rev 7188
Fixed Doxygen warnings.
Sat, 18 May 2013 14:04:37 +0200 Corrected comment in Java file.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 18 May 2013 14:04:37 +0200] rev 7187
Corrected comment in Java file.
Sat, 18 May 2013 14:03:45 +0200 Changed import statements in Java file.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sat, 18 May 2013 14:03:45 +0200] rev 7186
Changed import statements in Java file.
Thu, 16 May 2013 12:16:12 -0400 Made SDL_RectEmpty and SDL_RectEquals macros into SDL_FORCE_INLINE functions.
Ryan C. Gordon <icculus@icculus.org> [Thu, 16 May 2013 12:16:12 -0400] rev 7185
Made SDL_RectEmpty and SDL_RectEquals macros into SDL_FORCE_INLINE functions. Fixes compiler warnings for things like this... if (SDL_RectEmpty(&rect)) {} ...where the macro turned into "if ( (!(&rect)) && etc )" which some compilers thought might be a programmer mistake, as "&rect" is always "true".
Thu, 16 May 2013 01:03:28 -0700 Fixed bug 1829 - sdl2-config is not executable
Sam Lantinga <slouken@libsdl.org> [Thu, 16 May 2013 01:03:28 -0700] rev 7184
Fixed bug 1829 - sdl2-config is not executable leighmanthegreat@hotmail.com I downloaded SDL2 from hg source. I built to a ./build directory. I downloaded SDL_image 2 hg and attempted to build. When it cannot find a sdl2-config the SDL_image configure correctly suggests setting SDL_CONFIG variable. Setting this the configure still fails with 'Permission denied' on the call to sdl2-config. Setting execute permission solves the problem. If possible, sdl2-config should have executable bit set when it is created.
Thu, 16 May 2013 00:56:19 -0700 Fixed bug 1838 - [Patch] Direct3D resource leak on SDL_DestroyRenderer()
Sam Lantinga <slouken@libsdl.org> [Thu, 16 May 2013 00:56:19 -0700] rev 7183
Fixed bug 1838 - [Patch] Direct3D resource leak on SDL_DestroyRenderer()
Thu, 16 May 2013 00:52:33 -0700 Fixed bug 1839 - SDL2 Cmake: VIDEO_COCOA check fails on OS X; VIDEO_COCOA sources aren't compiled.
Sam Lantinga <slouken@libsdl.org> [Thu, 16 May 2013 00:52:33 -0700] rev 7182
Fixed bug 1839 - SDL2 Cmake: VIDEO_COCOA check fails on OS X; VIDEO_COCOA sources aren't compiled.
Thu, 16 May 2013 00:48:20 -0700 Martin Gerhardy added support for the Jess Technology USB Game Controller
Sam Lantinga <slouken@libsdl.org> [Thu, 16 May 2013 00:48:20 -0700] rev 7181
Martin Gerhardy added support for the Jess Technology USB Game Controller
Thu, 16 May 2013 00:43:22 -0700 Fixed bug 1846 - _allmul implementation in SDL_stdlib.c doesn't clean up the stack
Sam Lantinga <slouken@libsdl.org> [Thu, 16 May 2013 00:43:22 -0700] rev 7180
Fixed bug 1846 - _allmul implementation in SDL_stdlib.c doesn't clean up the stack Colin Barrett I see this manifest itself (VS2012 x86) as: "Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention." in the first call to SDL_GetTicks in my application. The disassembly at the problem line is: hires_now.QuadPart *= 1000; 00AD0792 push 0 00AD0794 push 3E8h 00AD0799 mov eax,dword ptr [ebp-10h] 00AD079C push eax 00AD079D mov ecx,dword ptr [hires_now] 00AD07A0 push ecx 00AD07A1 call _allmul (0AE7D40h) 00AD07A6 mov dword ptr [hires_now],eax 00AD07A9 mov dword ptr [ebp-10h],edx Apparently _allmul should be popping the stack but isn't (other similar functions in SDL_stdlib.c - _alldiv and whatnot - DO pop the stack). A 'ret 10h' at the end of _allmul appears to do the trick
Wed, 15 May 2013 23:18:29 -0700 There's no need to keep these private. If you extend SDLActivity, you should know what you're doing.
Sam Lantinga <slouken@libsdl.org> [Wed, 15 May 2013 23:18:29 -0700] rev 7179
There's no need to keep these private. If you extend SDLActivity, you should know what you're doing.
Wed, 15 May 2013 22:25:00 +0200 Corrected internal function prototype.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Wed, 15 May 2013 22:25:00 +0200] rev 7178
Corrected internal function prototype.
Wed, 15 May 2013 22:24:23 +0200 Corrected internal function prototype.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Wed, 15 May 2013 22:24:23 +0200] rev 7177
Corrected internal function prototype.
Wed, 15 May 2013 22:10:06 +0200 Changed spelling for consistency.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Wed, 15 May 2013 22:10:06 +0200] rev 7176
Changed spelling for consistency.
Wed, 15 May 2013 22:00:28 +0200 Fixed Doxygen warnings.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Wed, 15 May 2013 22:00:28 +0200] rev 7175
Fixed Doxygen warnings.
Mon, 13 May 2013 23:00:50 +0200 Corrected spelling in header file.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Mon, 13 May 2013 23:00:50 +0200] rev 7174
Corrected spelling in header file.
Mon, 13 May 2013 22:45:06 +0200 Inlined expression for consistency in render source.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Mon, 13 May 2013 22:45:06 +0200] rev 7173
Inlined expression for consistency in render source.
Sun, 12 May 2013 15:00:00 -0700 Fix fuzzer/fuzzer tests on 64bit Linux; remove invalid negative SDL_Scancode test; disable failing surface/render test cases
Andreas Schiffler <aschiffler@ferzkopp.net> [Sun, 12 May 2013 15:00:00 -0700] rev 7172
Fix fuzzer/fuzzer tests on 64bit Linux; remove invalid negative SDL_Scancode test; disable failing surface/render test cases
Sun, 12 May 2013 14:25:38 +0200 Fixed building on Visual Studio.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sun, 12 May 2013 14:25:38 +0200] rev 7171
Fixed building on Visual Studio. Buildbot
Sun, 12 May 2013 13:42:20 +0200 Fixed bug 1845 - SDL_GetNumTouchDevices() has incorrect prototype
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sun, 12 May 2013 13:42:20 +0200] rev 7170
Fixed bug 1845 - SDL_GetNumTouchDevices() has incorrect prototype nfxjfg SDL_touch.h:63:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] Is: extern DECLSPEC int SDLCALL SDL_GetNumTouchDevices(); Should be: extern DECLSPEC int SDLCALL SDL_GetNumTouchDevices(void);
Sun, 12 May 2013 13:40:02 +0200 Fixed bug 1844 - glScissor calls are wrong - Patch attached
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sun, 12 May 2013 13:40:02 +0200] rev 7169
Fixed bug 1844 - glScissor calls are wrong - Patch attached Martin Gerhardy the coordinate system from sdl is not correctly transformed to the coordinate system of opengl. glScissor expects them to be a little bit different. Attached is a patch that fixes this
Sun, 12 May 2013 13:25:34 +0200 Fixed bug 1843 - SDL_RenderClear prototype doxygen missing
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sun, 12 May 2013 13:25:34 +0200] rev 7168
Fixed bug 1843 - SDL_RenderClear prototype doxygen missing Martin Gerhardy SDL_RenderClear prototype misses documentation for the return value
Sun, 12 May 2013 13:02:07 +0200 Corrected spelling in internal include file.
Philipp Wiesemann <philipp.wiesemann@arcor.de> [Sun, 12 May 2013 13:02:07 +0200] rev 7167
Corrected spelling in internal include file.
(0) -3000 -1000 -300 -100 -60 +60 +100 +300 +1000 +3000 tip