2009-02-12 Richard Hughes ==== Version 2.24.4 ==== 2009-02-12 Josselin Mouette * src/gpm-brightness-xrandr.c: (gpm_brightness_xrandr_output_get_internal): Use memcpy instead of casting a char* to an int* without alignment guarantees. Fixes #566115 (fails to build on sparc) 2009-02-12 Richard Hughes * configure.ac: Add Wno-strict-aliasing to fix the compile thanks to GCC 4.4 * src/gpm-brightness-xrandr.c: (gpm_brightness_xrandr_output_set): Don't step through each brightness state when we fade modes, some devices using XRandR have an insane number of steps. Use the step value we calculated for the _up and _down logic. Fixes #566095 2009-01-28 Richard Hughes * src/gpm-brightness-xrandr.c: (gpm_brightness_xrandr_output_down): When the minimum reported brightness is not zero don't wraparound 0 when we try to step down a large number of brightness levels. Instead truncate to the minimum to fix a hang. Fixes #569100 Patch from Fortunato Ventre, many thanks. 2009-01-23 Richard Hughes * src/gpm-cell-unit.h: * src/gpm-cell.c: (gpm_cell_refresh_hal_all), (gpm_cell_get_id): We have to include capacity in the profile name as some vendors create different sized batteries with the same serial number. This break batteries that use the current voltage for the mAh to mWh conversion when the design voltage is also invalid. In this case use the reporting string as we don't care about units. Patch from Stephen Gildea and Joe, many thanks. Fixes #562576 2009-01-16 Richard Hughes * RELEASE: * configure.ac: Post release bump.