2007-05-14 Richard Hughes ==== Version 2.19.2 ==== 2007-05-14 Richard Hughes * src/gpm-graph-widget.c: Make 400% sure we can't dereference a null pointer. 2007-05-14 Richard Hughes * data/gnome-power-manager.schemas.in: Change the /apps/gnome-power-manager/battery/event_when_closed key to default to true. This means that if you shut the lid and then remove the AC power then the system will by default suspend. This may make systems that have dodgey lid reporting to immediatly suspend when removed from AC, but we can blacklist (or fix) them as they are reported. Fixes fedora:214404 2007-05-13 Richard Hughes * src/gpm-dpms.c: (gpm_dpms_init): Add a note about the DPMS polling, and default to once every 10 seconds rather than once every 500ms as this wakes up X a lot. 2007-05-13 Richard Hughes * src/gpm-array.c: (gpm_array_check_max_and_size), (gpm_array_add): Abstract out a method, should be no logic changes. 2007-05-13 Richard Hughes * src/gpm-load.c: (gpm_load_get_current), (gpm_load_init): Fix a build failure with -Werror, where we were ignoring the return value of gpm_load_get_cpu_values, possibly leading to uninitialised values of the counters. Thanks to Ed Catmur for the patch. Fixes #437920. 2007-05-09 Richard Hughes * src/gpm-brightness-lcd.c: (gpm_brightness_lcd_dim_hw_step): If we failed the last brightness set command, don't keep trying; This fixes a long "hang" when we resume from suspend when on PPC, although the real problem is the HAL method dying for some reason. 2007-05-09 Richard Hughes * src/gpm-graph-widget.c: (gpm_graph_widget_init): Comment out pango_context_set_base_gravity as this requires pango 1.16 when FC6 only supports version 1.14 2007-05-09 Richard Hughes * tools/gnome-power-bugreport.sh: Add process information for HAL and g-p-m so I can see what is running. 2007-05-09 Richard Hughes * src/gpm-engine.c: (gpm_engine_icon_clear_delay), (gpm_engine_recalculate_state_icon): Don't send the action for the icon to clear for a few seconds so that any notification can be shown pointing to the icon. Fixes #437042 2007-05-08 Richard Hughes * src/dbus/xdg-power-management-stats.xml: Add a comment about adding a type field. * src/gpm-graph-widget.c: (gpm_graph_widget_draw_event_dots): Fix a potential crasher where the wrong event data was being processed. 2007-05-07 Richard Hughes * applets/brightness/brightness-applet.c: (update_level): Don't chicken out when brightness access fails in the addon. Continue to try to connect, hopefully trying to fix #436704. 2007-05-07 Richard Hughes * src/gpm-dpms.c: (x11_sync_server_dpms_settings), (x11_get_mode), (x11_set_mode), (sync_settings), (gpm_dpms_init): DPMSCapable() can never change for a given display, so cache the result and cut our wakeups in half. Change modified from a similar patch by Adam Jackson , many thanks. 2007-05-04 Richard Hughes * src/gpm-button.c: (coldplug_buttons), (hal_daemon_start_cb), (hal_daemon_stop_cb), (gpm_button_init): Reconnect the buttons after HAL has been restarted. 2007-05-04 Richard Hughes * src/gpm-info.c: (gpm_info_event_log), (gpm_info_log_do_poll), (gpm_info_init), (gpm_info_finalize): Don't use gettimeofday-type functions, instead use GTimer as it now has monotonic clock support. Thanks to Jon McCann for the pointer. This should fix #419403 where ntp clock adjustment made the graphs go screwy. 2007-05-03 Richard Hughes * data/gnome-power-manager.schemas.in: * data/gpm-graph.glade: * src/gpm-conf.h: * src/gpm-graph-widget.c: * src/gpm-statistics-core.c: Make the UI of the graph program a little more sane. 2007-05-03 Richard Hughes * src/gpm-graph-widget.c: Convert gnome-power-statistics to use Pango for text rendering. This is based heavily on a patch by Young-Ho Cha and fixes #418605. Many thanks. 2007-05-03 Richard Hughes * configure.in: Post release bump to 2.19.2