2006-08-07 Richard Hughes ==== Version 2.15.91 ==== 2006-08-07 Richard Hughes * src/gpm-manager.c: (screensaver_auth_request_cb): Turn on the monitor unconditionally, as we may be using a smartcard to authenticate and DPMS might still be on. Should fix #350291. 2006-08-07 Richard Hughes * docs/Makefile.am: Fix the build, by removing the roadmap stuff. OOps. 2006-08-07 Richard Hughes * src/gpm-info.c: (gpm_info_show_window): Hide the 'Device Information' window if we have no devices. 2006-08-07 Richard Hughes * src/.cvsignore: * src/run-gpm.sh: * src/run-valgrind-gpm.sh: Add these debugging files (not installed) as it makes starting g-p-m easier from CVS. 2006-08-07 Richard Hughes * src/gpm-manager.c: Add in an extra battery charged check to avoid repetition in the battery charged notification. Should fix #348938 2006-08-07 Richard Hughes * src/gpm-brightness.c: * src/gpm-brightness.h: Add gpm_brightness_has_hardware() so we can find out if we have lcd hardware. Also do some more error checking here like we did for the screensaver. * src/gpm-debug.c: (gpm_syslog): Reduce the log level from LOG_ALERT to LOG_NOTICE. We'll leave this hardcoded for now, as syslog is meant to be a simple debugging aid, not a full blown logging system. Also add the username into the syslog to fix #349971 * src/gpm-manager.c: Only try to change the LCD if we have the hardware. 2006-08-07 Richard Hughes * src/gpm-debug.c: (gpm_syslog): 2006-08-07 Richard Hughes * src/gpm-manager.c: Make sure we check input for NULL (that Jon found in #350058). This should stop a g-p-m segfault with a misconstructed dbus packet. 2006-08-07 Richard Hughes * src/gpm-brightness.c: * src/gpm-debug.c: * src/gpm-graph-widget.c: * src/gpm-info.c: * src/gpm-inhibit.c: * src/gpm-manager.c: * src/gpm-power.c: * src/gpm-prefs-core.c: * src/gpm-tray-icon.c: This should fix all cases reported by sparse/gcc. This should make gnome-power-manager compile on gcc 2.95 and earlier. Patch from Kjartan Maraas, many thanks. Fixes #350058 2006-08-06 Richard Hughes * TODO: * docs/gnome-power-manager.xml.in: * docs/roadmap.html: * docs/roadmap.xml: Move the TODO to the file TODO to be more inline with other projects. You may have to re-configure afte this change. 2006-08-04 Richard Hughes * src/gpm-screensaver.c: * src/gpm-screensaver.h: Apply fix so that we do not crash when g-s is stopped and we change power source (and thus unthrottling). The fix makes the g-s module much more resilient to screensaver or proxy becoming NULL and handling the error. Should fix #349794. 2006-08-03 Richard Hughes * src/gpm-manager.c: (sync_dpms_policy): Make sure we free the error and be much more robust. Pointed out by William Jon McCann , many thanks. 2006-07-30 Richard Hughes * src/gpm-manager.c: Add manager_rescan_buttons() to poll all the buttons every minute. This should fix #346082 2006-07-30 Richard Hughes * src/gpm-manager.c: Reset the action timer after an ac_adapter event has been recieved. This should fix #348201 2006-07-30 Richard Hughes Commit a slightly modified patch from William Waghorn many thanks. * data/gnome-power-manager.schemas.in: * src/gpm-manager.c: * src/gpm-prefs.h: Add in two new gconf keys battery_dpms_sleep_method and ac_dpms_sleep_method to support systems that only support a specific DPMS sleep mode. * docs/faq.xml: Add a entry about the dpms sleep modes and broken monitors. 2006-07-30 Richard Hughes * data/gnome-power-manager.schemas.in: Make a difficult to translate string easier to understand. 2006-07-30 Richard Hughes * data/icons/22x22/Makefile.am: Fix 'make distcheck' by deleting the correct directory and also using destdir for the install location. 2006-07-30 Richard Hughes * docs/calculate-video-fdi.sh: Correct a typo in the header. * src/gpm-power.c: Reduce the precision to 100mW as the big numbers are too clumsy. The new format will be '24.5 W' rather than '24520mWh' 2006-07-29 Richard Hughes * help/sv/.cvsignore: Add to keep CVS happy. 2006-07-29 Richard Hughes * src/gpm-power.c: * src/gpm-stock-icons.h: Fix a typo where we were trying to assign the wrong icon names so the missing icon didn't show up (instead showed a gtk-broken-image) Fixes #348710 2006-07-29 Richard Hughes * configure.in: * data/icons/22x22/Makefile.am: Generate the 24x24 icons by using imagemagick to add a 1px border around the installed icons. This makes gnome generally happier, and should fix the fuzzyness for some people. Fixes #348994 2006-07-28 Richard Hughes * src/gpm-hal.c: Add some more error checking, and module sanity checking. * src/gpm-prefs-core.c: Fix a crasher where the g-s timeout is larger than the max range for gnome-power-preferences. #347932 2006-07-23 Richard Hughes * configure.in: Post release bump to 2.15.91