Fri, 19 Apr 2013 10:51:21 -0700 Make gamecontroller triggers have values in 0 - 32767.
Jørgen P. Tjernø <jorgen@valvesoftware.com> [Fri, 19 Apr 2013 10:51:21 -0700] rev 7080
Make gamecontroller triggers have values in 0 - 32767. This changes the old behavior of having values in the -32768 - 32767 range, like regular joystick axis. Now "button as axis" triggers (like on Logitech controllers) and regular axis triggers (like on Xbox controllers) have the same resting value, 0.
Fri, 19 Apr 2013 14:40:39 -0300 Fix for bug #1776 by Jonathan Dearborn
Gabriel Jacobo <gabomdq@gmail.com> [Fri, 19 Apr 2013 14:40:39 -0300] rev 7079
Fix for bug #1776 by Jonathan Dearborn
Fri, 19 Apr 2013 13:25:39 -0300 Fixes bug #1709, pthread tests fixes for CMake (Thanks Scott Percival!)
Gabriel Jacobo <gabomdq@gmail.com> [Fri, 19 Apr 2013 13:25:39 -0300] rev 7078
Fixes bug #1709, pthread tests fixes for CMake (Thanks Scott Percival!)
Fri, 19 Apr 2013 11:58:38 -0400 Fixed using the event queue lock before the mutex was created.
Ryan C. Gordon <icculus@icculus.org> [Fri, 19 Apr 2013 11:58:38 -0400] rev 7077
Fixed using the event queue lock before the mutex was created. This has the benefit of ending the otherwise-bogus complaints that SDL_GetError() reports "Passed a NULL mutex" if you call it instead of checking if SDL_CreateWindow() actually succeeded. :)
Tue, 16 Apr 2013 01:38:08 -0400 Cleaned up the const_cast mess a little.
Ryan C. Gordon <icculus@icculus.org> [Tue, 16 Apr 2013 01:38:08 -0400] rev 7076
Cleaned up the const_cast mess a little.
Wed, 17 Apr 2013 11:45:50 -0400 Don't use glDisable(GL_TEXTURE_2D) in GLES2 renderer.
Ryan C. Gordon <icculus@icculus.org> [Wed, 17 Apr 2013 11:45:50 -0400] rev 7075
Don't use glDisable(GL_TEXTURE_2D) in GLES2 renderer. Fixes Bugzilla #1799.
Wed, 17 Apr 2013 08:09:11 -0700 Fix bug 1789: SDL_IntersectRect intersection with empty rect does not set result to empty; add test coverage to Rect suite
Andreas Schiffler <aschiffler@ferzkopp.net> [Wed, 17 Apr 2013 08:09:11 -0700] rev 7074
Fix bug 1789: SDL_IntersectRect intersection with empty rect does not set result to empty; add test coverage to Rect suite
Wed, 17 Apr 2013 07:35:30 -0700 Fix bug 1764: incorrect variable assignment in RenderDrawLinesWithRects
Andreas Schiffler <aschiffler@ferzkopp.net> [Wed, 17 Apr 2013 07:35:30 -0700] rev 7073
Fix bug 1764: incorrect variable assignment in RenderDrawLinesWithRects
Wed, 17 Apr 2013 01:38:59 -0700 Fixed bug 1805 - Memory Leak issue in src/video/x11/edid-parse.c file
Sam Lantinga <slouken@libsdl.org> [Wed, 17 Apr 2013 01:38:59 -0700] rev 7072
Fixed bug 1805 - Memory Leak issue in src/video/x11/edid-parse.c file Nitz In Function, MonitorInfo * decode_edid (const uchar *edid) In this function "info" is going out of scope and leaks the storage it points to, if the first if condition get true: if (!decode_header (edid)) return NULL; So while returning from this if statement there should be free for "info" pointer.
Wed, 17 Apr 2013 01:35:10 -0700 Fixed bug 1804 - Memory leak issue in src/video/x11/SDL_x11mouse.c
Sam Lantinga <slouken@libsdl.org> [Wed, 17 Apr 2013 01:35:10 -0700] rev 7071
Fixed bug 1804 - Memory leak issue in src/video/x11/SDL_x11mouse.c Nitz In SDL_x11mouse.c file there is function named static Cursor X11_CreatePixmapCursor(SDL_Surface * surface, int hot_x, int hot_y) { // Some code data_bits = SDL_calloc(1, surface->h * width_bytes); mask_bits = SDL_calloc(1, surface->h * width_bytes); if (!data_bits || !mask_bits) { SDL_OutOfMemory(); return None; } // Some code } Here is the problem in if statement, suppose if !data_bits is false and !mask_bits is true then, data_bits will go out of scope and leaks the memory it points to. Solution is that data_bits and mask_bits should be checked separately, not by using OR operator.
(0) -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 +3000 tip