Thu, 11 Jul 2013 12:44:03 -0400 Fixed compiler warnings on Haiku.
Ryan C. Gordon <icculus@icculus.org> [Thu, 11 Jul 2013 12:44:03 -0400] rev 7404
Fixed compiler warnings on Haiku.
Thu, 11 Jul 2013 12:27:39 -0400 Removed some unused variables.
Ryan C. Gordon <icculus@icculus.org> [Thu, 11 Jul 2013 12:27:39 -0400] rev 7403
Removed some unused variables.
Thu, 11 Jul 2013 12:26:18 -0400 Fixed compiler warning.
Ryan C. Gordon <icculus@icculus.org> [Thu, 11 Jul 2013 12:26:18 -0400] rev 7402
Fixed compiler warning.
Thu, 11 Jul 2013 12:17:13 -0400 Cleaned up WGL_ACCELERATION_ARB usage.
Ryan C. Gordon <icculus@icculus.org> [Thu, 11 Jul 2013 12:17:13 -0400] rev 7401
Cleaned up WGL_ACCELERATION_ARB usage. We now do FULL or NO accel based on the app's preference. If the app didn't specify, we do FULL then fall back to NO. (Not specifying anything--a true "don't care" scenario--breaks some ATI drivers, so we try to keep to the spirit of it while forcing a specific state.) Previously, it would always do FULL, and try NO if it failed and the app had requested NO or DONTCARE. This is a transplant of hg changesets a04171d6fa11 and d0b7c45e982e from the SDL-1.2 branch. Fixes Bugzilla #1254.
Thu, 11 Jul 2013 01:09:45 -0400 Added src/thread/pthread/SDL_systls.c to the CMake scripts.
Ryan C. Gordon <icculus@icculus.org> [Thu, 11 Jul 2013 01:09:45 -0400] rev 7400
Added src/thread/pthread/SDL_systls.c to the CMake scripts.
Wed, 10 Jul 2013 22:13:19 -0700 Catch out of memory errors creating a window
Sam Lantinga <slouken@libsdl.org> [Wed, 10 Jul 2013 22:13:19 -0700] rev 7399
Catch out of memory errors creating a window
Wed, 10 Jul 2013 22:06:11 -0700 Fixed compile
Sam Lantinga <slouken@libsdl.org> [Wed, 10 Jul 2013 22:06:11 -0700] rev 7398
Fixed compile
Wed, 10 Jul 2013 22:01:24 -0700 Fixed bug 1949 - Pulseaudio 32 bit audio formats support
Sam Lantinga <slouken@libsdl.org> [Wed, 10 Jul 2013 22:01:24 -0700] rev 7397
Fixed bug 1949 - Pulseaudio 32 bit audio formats support Matt Scheirer Pulse has supported (since version 0.8, at least) 32 bit audio formats that are now becoming available in SDL2. This patch adds those format conversions to the switch clause in the pulseaudio backend.
Wed, 10 Jul 2013 21:57:31 -0700 Fixed bug 1953 - Crash at memcpy X11_DispatchEvent(_THIS) Function
Sam Lantinga <slouken@libsdl.org> [Wed, 10 Jul 2013 21:57:31 -0700] rev 7396
Fixed bug 1953 - Crash at memcpy X11_DispatchEvent(_THIS) Function Nitz In Function X11_DispatchEvent(_THIS), case SelectionNotify : static void X11_DispatchEvent(_THIS) { // Some Code case SelectionNotify: { //Some Code SDL_bool expect_lf = SDL_FALSE; char *start = NULL; // Initialised with NULL char *scan = (char*)p.data; char *fn; char *uri; int length = 0; while (p.count--) { if (!expect_lf) { if (*scan==0x0D) { expect_lf = SDL_TRUE; } else if(start == NULL) { start = scan; length = 0; } length++; } else { if (*scan==0x0A && length>0) { uri = malloc(length--); memcpy(uri, start, length); // Problem is Here, start is still NULL if control comes to else statement without initialising the start pointer, which is wrong uri[length] = 0; fn = X11_URIToLocal(uri); if (fn) SDL_SendDropFile(fn); free(uri); } expect_lf = SDL_FALSE; start = NULL; } scan++; } } As shown above how start pointer remains NULL, Patch for this issue would be: if (*scan==0x0D) { expect_lf = SDL_TRUE; } if(start == NULL) { start = scan; length = 0; } Just replace else if statement with if.
Wed, 10 Jul 2013 23:43:35 -0400 Added src/thread/windows/SDL_systls.c to CMakeLists.txt (thanks, Charles!).
Ryan C. Gordon <icculus@icculus.org> [Wed, 10 Jul 2013 23:43:35 -0400] rev 7395
Added src/thread/windows/SDL_systls.c to CMakeLists.txt (thanks, Charles!). Fixes Bugzilla #1955.
(0) -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 tip