2006-12-04  Richard Hughes  <richard@hughsie.com>

	==== Version 2.17.3 ====

2006-12-01  Richard Hughes  <richard@hughsie.com>

	* TODO:
	Update info about interfaces.

	* src/gpm-manager.c: (gpm_manager_is_inhibit_valid):
	Add another string I'll need translating soon.

2006-11-30  Stuart Hood  <stuhood@gmail.com>

	* src/gpm-power.c:
	Instead of showing "missing" as the catchall, show "discharging".
	Fixes #364450

2006-11-30  Stuart Hood  <stuhood@gmail.com>

	* src/gpm-power.c:
	* src/gpm-power.h:
	Calculate the smoothed rate from device caches,
	instead of devices. Fixes #361583

2006-11-27  Richard Hughes  <richard@hughsie.com>

	* applets/Makefile.am:
	* applets/inhibit/.cvsignore:
	* applets/inhibit/GNOME_InhibitApplet.server.in.in:
	* applets/inhibit/GNOME_InhibitApplet.xml:
	* applets/inhibit/Makefile.am:
	* applets/inhibit/inhibit-applet.c:
	* applets/inhibit/inhibit-applet.h:
	* configure.in:
	* po/POTFILES.in:
	Add the initial version of the inhibit applet. Needs work.

2006-11-27  Richard Hughes  <richard@hughsie.com>

	* configure.in:
	* src/Makefile.am:
	* src/gpm-interface-brightness-lcd.xml:
	* src/gpm-interface-manager.xml:
	* src/gpm-interface-statistics.xml:
	* src/gpm-main.c:
	* src/gpm-manager.c:
	* src/dbus/.cvsignore:
	* src/dbus/Makefile.am:
	* src/dbus/gpm-dbus-brightness-lcd.xml:
	* src/dbus/gpm-dbus-manager.xml:
	* src/dbus/gpm-dbus-statistics.xml:
	Move the interface files into thier own directory.

2006-11-27  Richard Hughes  <richard@hughsie.com>

	* TODO:
	Add some notes about the new DBUS API.

	* applets/brightness/brightness-applet.c: (retrieve_icon):
	Fix comment style.

	* src/gpm-powermanager.c:
	* src/gpm-powermanager.h:
	Add the inhibit methods needed for the new applet.

2006-11-26  Richard Hughes  <richard@hughsie.com>

	* docs/faq.html:
	* docs/faq.xml:
	* docs/index.html:
	Add a new FAQ from Olivier Berger about debian etch.
	Also remove the obsolete entries that no longer apply.

2006-11-26  Richard Hughes  <richard@hughsie.com>

	* applets/brightness/.cvsignore:
	* applets/brightness/brightness-applet.c:
	Apply a patch from Benjamin Canou:
	Correct the bonobo leak and the crash when removing the
	applet from the panel.

2006-11-25  Richard Hughes  <richard@hughsie.com>

	* applets/brightness/brightness-applet.c:
	A few minor changes:
	- Use the global g-p-m version, not 0.1
	- Use the gnome-power-manager yelp file.
	- Set the applet name prefix to be 'Power Manager' to
	indicate it's part of the same package.
	- Make some localised text a little nicer.

2006-11-25  Richard Hughes  <richard@hughsie.com>

	* applets/brightness/GNOME_BrightnessApplet.server.in.in:
	* applets/brightness/brightness-applet.c:
	Use the correct icon name so we show up in the panel.

2006-11-25  Richard Hughes  <richard@hughsie.com>

	* AUTHORS:
	* applets/Makefile.am:
	* applets/brightness/.cvsignore:
	* applets/brightness/GNOME_BrightnessApplet.server.in.in:
	* applets/brightness/GNOME_BrightnessApplet.xml:
	* applets/brightness/Makefile.am:
	* applets/brightness/brightness-applet.c:
	* applets/brightness/brightness-applet.h:
	* configure.in:
	Apply patch from Benjamin Canou <bookeldor@gmail.com> to add
	the new brightness applet. Many thanks for this great new
	feature, and really good chunk of code.

2006-11-25  Richard Hughes  <richard@hughsie.com>

	* src/gpm-powermanager.h:
	Move all the duplicated DBUS defines here.

	* src/Makefile.am:
	* src/gpm-manager.c:
	* src/gpm-prefs-core.c:
	* src/gpm-statistics-core.c:
	Use gpm-powermanager.h rather than defining them ourselves.

	* src/gpm-powermanager.c:
	Provide a simple accessor class so that the brightness applet
	can easily talk to g-p-m. Just create an instance of this
	class, and then don't worry about DBUS. ;-)

2006-11-25  Richard Hughes  <richard@hughsie.com>

	* src/.cvsignore:
	* src/Makefile.am:
	* src/gpm-interface-brightness-lcd.xml:
	* src/gpm-manager.c: (gpm_manager_init):
	* src/gpm-srv-brightness-lcd.c:
	* src/gpm-srv-brightness-lcd.h:
	Add the DBUS service org.gnome.PowerManager.BrightnessLcd
	This name might change, as might the method names, so don't
	use this outside of gnome-power-manager for now.

2006-11-25  Richard Hughes  <richard@hughsie.com>

	* Makefile.am:
	* applets/.cvsignore:
	* applets/Makefile.am:
	* applets/brightness-applet/.cvsignore:
	* configure.in:
	Add some initial build files for the new applet stuff.
	This is half of a patch from Benjamin Canou, and the other
	bits will be merged tomorrow. Many thanks Benjamin!

2006-11-24  Richard Hughes  <richard@hughsie.com>

	* configure.in:
	Add --enable-applets. Currently disabled.

2006-11-24  Pascal Terjan  <pterjan@linuxfr.org>

	* src/gpm-button.c: (emit_button_pressed):
	don't crash if hal tell us that a button was pressed but then can
	not give the type.

2006-11-24  Richard Hughes  <richard@hughsie.com>

	* src/gpm-prefs-core.c: (prefs_setup_notification):
	Hide the 'When battery present' option when there is no
	primary batteries or UPS's in the system.
	This does mean neither option will be selected in the GUI for
	desktop PC's from first-install, which is why a better
	solution should probably be found. Fixes #363757

2006-11-24  Richard Hughes  <richard@hughsie.com>

	* src/gpm-prefs-core.c: (gpm_prefs_enable_widget),
	As per GNOME HIG, don't hide the disabled sliders, but
	grey them out instead.

2006-11-24  Richard Hughes  <richard@hughsie.com>

	* src/gpm-debug.c:
	Don't try to use the global buffer recursively. Fixes #378171

	* src/gpm-hal.c: (gpm_hal_filter_error):
	Don't filter remote exceptions. Fixes #378179

	* src/gpm-manager.c:
	Save to syslog when suspend or hibernate failed.

2006-11-19  Richard Hughes  <richard@hughsie.com>

	* src/gpm-hal.c: (gpm_hal_filter_error):
	Fix a crasher when suspend or hibernate failed.

2006-11-19  Richard Hughes  <richard@hughsie.com>

	* src/gpm-graph-widget.c:
	* src/gpm-graph-widget.h:
	* src/gpm-info.c:
	* src/gpm-info.h:
	* src/gpm-manager.c:
	* src/gpm-statistics-core.c:
	Complete the GpmGraphWidget separation, so now event policy is
	not enforced in the graph, but in the object that initializes
	the graph. This means we can have a dynamic key that only
	displays relevant entries, which I've done as well.
	Added DPMS state change entries also, so we now display all
	the events on the graph.

2006-11-18  Richard Hughes  <richard@hughsie.com>

	* src/gpm-ac-adapter.c: (gpm_ac_adapter_new):
	* src/gpm-battery.c: (gpm_battery_new):
	* src/gpm-brightness-lcd.c: (gpm_brightness_lcd_new):
	* src/gpm-button.c: (gpm_button_new):
	* src/gpm-conf.c: (gpm_conf_new):
	* src/gpm-cpufreq.c: (gpm_cpufreq_new):
	* src/gpm-dbus-monitor.c: (gpm_dbus_monitor_new):
	* src/gpm-dpms.c: (gpm_dpms_new):
	* src/gpm-hal.c: (gpm_hal_init), (gpm_hal_new):
	* src/gpm-idle.c: (gpm_idle_new):
	* src/gpm-power.c: (gpm_power_new):
	Convert all singletons to use a local static.

	* src/gpm-manager.c: (gpm_manager_init):
	Make sure we don't warn we on battery at startup.

2006-11-15  Richard Hughes  <richard@hughsie.com>

	* configure.in:
	* help/C/gnome-power-manager.xml:
	* src/gpm-manager.c:
	Add gnome-keyring functionality to lock keyrings when
	sleeping. This fixes #375681 - but means gnome-power-manager
	must have gnome-keyring development files to build from
	now on.

	* src/gpm-notify.c: (power_perhaps_recall_cb):
	Change 'don't' to 'do not'.

	* src/gpm-srv-dpms.c: (gpm_srv_dpms_sync_policy):
	Fix a typo in a comment.

	* src/gpm-manager.c: (battery_status_changed_primary):
	Fix a race where percentage_charge can be momentarily zero
	at startup. This fixes an incorrect 'fully charged'
	notification on startup.

2006-11-15  Richard Hughes  <richard@hughsie.com>

	* help/C/gnome-power-manager.xml:
	Add missing abstract. Fixes #374780

2006-11-15  Richard Hughes  <richard@hughsie.com>

	* po/POTFILES.in:
	* src/Makefile.am:
	* src/gpm-notify.c:
	* src/gpm-notify.h:
	Create this notification abstraction class and add the code
	needed for the battery recall buttons.

	* src/gpm-manager.c:
	* src/gpm-tray-icon.c:
	* src/gpm-tray-icon.h:
	Remove duplicated and muddled code.

2006-11-15  Richard Hughes  <richard@hughsie.com>

	* help/C/gnome-power-manager.xml:
	Fix the maintainers field.

	* .cvsignore:
	* src/gpm-tray-icon.c: (libnotify_event):
	Add *.log, and a demo of what I want.

2006-11-15  Richard Hughes  <richard@hughsie.com>

	* data/gnome-power-manager.schemas.in:
	* src/gpm-conf.h:
	* src/gpm-manager.c: (power_battery_status_perhaps_recall_cb):
	* src/gpm-power.c:
	Allow the distribution or user to turn off the recall warning.

2006-11-14  Richard Hughes  <richard@hughsie.com>

	* src/gpm-prefs.c: (gtkuniqueapp_command_cb):
	* src/gpm-statistics.c: (gtkuniqueapp_command_cb):
	Another s/libguniqueapp/GtkUnique.

2006-11-14  Richard Hughes  <richard@hughsie.com>

	* configure.in:
	* src/Makefile.am:
	* src/gpm-prefs.c: (gtkuniqueapp_command_cb):
	* src/gpm-statistics.c: (gtkuniqueapp_command_cb):
	Use GtkUnique rather than libguiqueapp.

2006-11-14  Richard Hughes  <richard@hughsie.com>

	* src/gpm-graph-widget.c: (gpm_graph_widget_key_add):
	* src/gpm-graph-widget.h:
	* src/gpm-statistics-core.c: (gpm_statistics_init):
	Begin to abstract out the events from the graph code.
	No functional changes.

2006-11-12  Richard Hughes  <richard@hughsie.com>

	* docs/dbus-interface.html:
	* docs/faq.html:
	* docs/icon-scheme.html:
	* docs/index.html:
	* docs/sleep-names.html:
	Regenerate.
	
	* src/.cvsignore:
	* src/run-gpm.sh:
	* src/valgrind-gpm.sh:
	Save the output in .log files.

	* src/gpm-ac-adapter.c:
	Tab fixes.

	* src/gpm-brightness-kbd.c:
	* src/gpm-brightness-kbd.h:
	* src/gpm-brightness-lcd.c:
	* src/gpm-brightness-lcd.h:
	Send a signal when the brightness is manually changed.
	
	* src/gpm-hal.c:
	Only try to clear the error if we are using a new HAL.
	
	* src/gpm-manager.c:
	Don't re-use the manager object on atexit as it produces an
	invalid read using valgrind.

	* src/gpm-srv-brightness-kbd.c:
	* src/gpm-srv-brightness-lcd.c:
	* src/gpm-srv-brightness-lcd.h:
	Add back the brightness changed UI by connecing to the
	brightness-changed signal.

	* src/gpm-srv-cpufreq.c:
	Set the policy before the nice, else we get a warning.

2006-11-10  Richard Hughes <richard@hughsie.com>

	* po/POTFILES.in:
	* src/Makefile.am:
	* src/README:
	* src/gpm-sound.c:
	* src/gpm-sound.h:
	Make a new GpmSound class.

	* src/gpm-common.c:
	* src/gpm-common.h:
	* src/gpm-manager.c:
	Use the GpmSound class.

2006-11-10  Richard Hughes <richard@hughsie.com>

	* po/POTFILES.in:
	* src/Makefile.am:
	* src/gpm-policy.c:
	* src/gpm-policy.h:
	Create a policy class so we can get at it from other than
	the manager class.

	* src/gpm-manager.c:
	* src/gpm-tray-icon.c:
	Use GpmPolicy. More code out of manager. Yay.

2006-11-10  Richard Hughes <richard@hughsie.com>

	* po/POTFILES.in:
	* src/Makefile.am:
	* src/README:
	* src/gpm-brightness-kbd.c:
	* src/gpm-brightness-kbd.h:
	* src/gpm-brightness-lcd.c:
	* src/gpm-brightness-lcd.h:
	* src/gpm-cpufreq.c:
	* src/gpm-cpufreq.h:
	* src/gpm-dpms.c:
	* src/gpm-dpms.h:
	* src/gpm-manager.c:
	* src/gpm-screensaver.c:
	* src/gpm-screensaver.h:
	* src/gpm-srv-brightness-kbd.c:
	* src/gpm-srv-brightness-kbd.h:
	* src/gpm-srv-brightness-lcd.c:
	* src/gpm-srv-brightness-lcd.h:
	* src/gpm-srv-cpufreq.c:
	* src/gpm-srv-cpufreq.h:
	* src/gpm-srv-dpms.c:
	* src/gpm-srv-dpms.h:
	* src/gpm-srv-screensaver.c:
	* src/gpm-srv-screensaver.h:
	Split the policy and the action of each state machine.
	GpmSrv* is the policy, and Gpm* is the action.
	src/README will explain more.
	I've also broken the brightness UI in the process.
	I'll fix that real soon, I promise.

2006-11-10  Richard Hughes <richard@hughsie.com>

	* src/screensaver.c (gpm_screensaver_auth_begin):
	Fix a crasher when unlocking the screen. #373278

2006-11-10  Richard Hughes <richard@hughsie.com>

	Adapted from a patch from David Zeuthen <david@fubar.dk>:

	* src/gpm-hal.c:
	* src/gpm-hal.h:
	Add gpm_hal_has_suspend_error, gpm_hal_has_hibernate_error
	gpm_hal_clear_suspend_error, gpm_hal_clear_hibernate_error
	to support the new suspend error reporting.

	* src/gpm-main.c: (main):
	Don't register the dbus interface twice.

	* src/gpm-manager.c:
	Add in logic and translations for detecting a resume failure.

	* src/gpm-screensaver.c:
	Cosmetic changes.

2006-11-09  Richard Hughes <richard@hughsie.com>

	* src/gpm-graph-widget.c:
	* src/gpm-graph-widget.h:
	* src/gpm-info.c: (idle_changed_cb):
	Don't refer to screen dim when we are talking about session
	idle and resume.

2006-11-09  Richard Hughes <richard@hughsie.com>

	* src/gpm-proxy.h:
	* src/gpm-proxy.c: (gpm_proxy_is_connected):
	Add this new method to see if the proxy if connected.

	* src/gpm-statistics-core.c: (gpm_statistics_init):
	Check if the proxy is valid, and if not warn the user.

	* src/gpm-statistics-core.c: (gpm_statistics_refresh_data):
	Only get the data for non-null data. Should fix #372703.

2006-11-09  Richard Hughes <richard@hughsie.com>

	* po/POTFILES.in:
	* src/Makefile.am:
	* src/gpm-manager.c:
	* src/gpm-warning.c:
	* src/gpm-warning.h:
	Abstract some of the warning code to GpmWarning - we can make
	a few optimisations while we are here also.

2006-11-08  Richard Hughes <richard@hughsie.com>

	* src/gpm-manager.c: (ac_adapter_changed_cb):
	Reset the event time only after we have checked for
	event_when_closed so we actually perform the action rather
	than fail the check. Should fix #366526.

2006-11-08  Richard Hughes <richard@hughsie.com>

	* src/Makefile.am:
	* src/gpm-brightness-kbd.c:
	* src/gpm-brightness-lcd.c:
	* src/gpm-dpms.c:
	* src/gpm-info.c:
	* src/gpm-manager.c:
	Move more of the idle functionality into gpm-dpms and make
	a few other cosmetic changes. I should have done this
	state machine stuff ages ago, it's made the code much easier
	for my little brain to comprehend.

2006-11-08  Richard Hughes <richard@hughsie.com>

	* src/gpm-idle.c:
	* src/gpm-idle.h:
	Change the signal name from 'changed' to 'idle-changed'.

	* src/gpm-brightness-kbd.c:
	* src/gpm-manager.c:
	Move the keyboard dim functionality into the GpmBrightnessKbd
	module where it belongs.

2006-11-08  Richard Hughes <richard@hughsie.com>

	* src/gpm-screensaver.c:
	* src/gpm-screensaver.h:
	Emit an event when idle mode is changed.

	* src/gpm-idle.c:
	* src/gpm-idle.h:
	Use a GpmScreensaver object rather than trying (wrongly) to
	handle the dbus connection ourselves.
	Also make into singleton, and tidy up.

	* src/gpm-manager.c:
	Small tidy-up.

	* src/gpm-tray-icon.c:
	Use gpm_debug in one case rather than g_debug.

2006-11-08  Richard Hughes <richard@hughsie.com>

	* data/gnome-power-manager.schemas.in:
	* src/gpm-conf.h:
	* src/gpm-manager.c: (idle_changed_cb):
	* src/gpm-screensaver.c: (update_lid_throttle):
	Apply a patch from Johannes Hansen (slightly tweaked by me)
	to better support using a laptop with an external monitor and
	keyboard connected. This uses a gconf key for now, but support
	should be added to HAL in the future to detect this docked
	case automatically. Fixes #365016.

2006-11-07  Richard Hughes <richard@hughsie.com>

	* src/gpm-screensaver.c:
	When we add a DPMS state throttle, remove the last one if set.
	This fixes the bug where the screensaver would not show if
	DPMS had been allowed to activate. Fixes #355279.

2006-11-07  Richard Hughes <richard@hughsie.com>

	* data/gpm-prefs.glade:
	Fix the duplicated action table name that was causing the
	battery item to show on desktops.

2006-11-07  Richard Hughes <richard@hughsie.com>

	* data/gnome-power-manager.schemas.in:
	Make the shutdown when critical levels a little less critical.

	* data/gpm-prefs.glade:
	Fix the duplicated table names that was causing the battery
	items to show on desktops.

	* src/gpm-manager.c:
	* src/gpm-tray-icon.c:
	Move the tray sync on HAL restart code into GpmTrayIcon.

	* src/gpm-info-data.c:
	* src/gpm-info-data.h:
	Move the gonject init stuff to the end of the file.

2006-11-02  Richard Hughes <richard@hughsie.com>

	* src/gpm-manager.c: (power_battery_status_perhaps_recall_cb)
	Add a translated string that I'll be using soon.

	* src/gpm-power.c:
	* src/gpm-power.h:
	Don't proxy the battery removed signal, we should use the GpmBattery
	class directly.

	* src/gpm-manager.c:
	* src/gpm-tray-icon.c:
	Use the GpmBattery class directly, and move funcionality from
	GpmManager class.

2006-11-02  Richard Hughes <richard@hughsie.com>

	* src/gpm-battery.c:
	Only add and remove batteries if sane. This uses a hashtable to keep
	track of what batteries we are watching and should fix #369488.

	* src/gpm-refcount.c: (gpm_refcount_set_timeout):
	In an error, just assume 1000ms else we don't get refcount timeouts.

2006-11-02  Richard Hughes <richard@hughsie.com>

	* data/gnome-power-manager.schemas.in:
	Use /apps/gnome-power-manager/enable_sounds rather than mentioning
	the pc beeper as we are now using gstreamer.

	* data/gnome-power-manager.schemas.in:
	* src/gpm-conf.h:
	* src/gpm-power.c: (gpm_power_init):
	Add /apps/gnome-power-manager/invalid_timeout as some machines take
	a massive amount of time to settle down after an ac adapter event.
	I don't want to penalise correct machines with a lag when it's only
	a small proportion that have this problem.

	* src/gpm-refcount.c: (gpm_refcount_set_timeout):
	Check for a refcount of zero, and warn if set.

2006-11-02  Richard Hughes <richard@hughsie.com>

	* po/POTFILES.in:
	* src/Makefile.am:
	* src/gpm-battery.c:
	* src/gpm-battery.h:
	* src/gpm-hal-monitor.c:
	* src/gpm-hal-monitor.h:
	* src/gpm-manager.c:
	* src/gpm-power.c:
	Rename GpmHalMonitor to GpmBattery as this is all we do now.
	My renaming spree has ended now, the sanity can continue.

	* src/gpm-tray-icon.c:
	Set the libnotify to NULL after we unref it, which will probably fix
	the crash in #365279

2006-11-02  Richard Hughes <richard@hughsie.com>

	* src/gpm-button.c:
	* src/gpm-hal-monitor.c:
	* src/gpm-power.c:
	Move the HAL button code from gpm-hal-monitor to gpm-button.

2006-11-02  Richard Hughes <richard@hughsie.com>

	* po/POTFILES.in:
	* src/Makefile.am:
	* src/gpm-ac-adapter.c:
	* src/gpm-ac-adapter.h:
	Create a new class for the AC adapter. Simple and easy.

	* src/gpm-brightness-kbd.c:
	* src/gpm-brightness-lcd.c:
	* src/gpm-cpufreq.c:
	* src/gpm-dpms.c:
	* src/gpm-info.c:
	* src/gpm-manager.c:
	* src/gpm-screensaver.c:
	* src/gpm-tray-icon.c:
	Use the new GpmAcAdapter class and get rid of the GpmPower dep.

	* src/gpm-hal.c:
	* src/gpm-hal.h:
	Remove the silly hardcoded function.

	* src/gpm-hal-monitor.c:
	* src/gpm-hal-monitor.h:
	* src/gpm-power.c:
	* src/gpm-power.h:
	Rip out the *three-times-layered* ac-adapter handling.

	* src/gpm-power.c:
	Change the settling timeout to be 500ms so we don't get so much of
	a delay on unplug before we hear the click.	

	* src/gpm-tray-icon.c:
	Make sure we actually get rid of any notification on AC.

2006-10-30  Richard Hughes <richard@hughsie.com>

	* src/gpm-common.c: (gpm_event_sound):
	* src/gpm-common.h:
	* src/gpm-manager.c:
	Only make a sound if we are allowed to in gconf.

	* src/gpm-tray-icon.c: (libnotify_event):
	Set the notification NULL if we cleared if to avoid an error if the
	user clicks two notifications at once.

2006-10-30  Richard Hughes <richard@hughsie.com>

	* data/sounds/Makefile.am:
	* data/sounds/gpm-critical-power.wav:
	* data/sounds/gpm-suspend-failure.wav:
	* data/sounds/gpm-unplugged.wav:
	Add some sample sounds done by me.

2006-10-30  Richard Hughes <richard@hughsie.com>

	* configure.in:
	* data/Makefile.am:
	* data/sounds/.cvsignore:
	* data/sounds/Makefile.am:
	* src/gpm-common.c:
	* src/gpm-common.h:
	* src/gpm-manager.c:
	Add really basic support for gpm_event_sound() so we can make a sound
	when critical events happen.

2006-10-30  Richard Hughes <richard@hughsie.com>

	* src/gpm-hal.c:
	Make suspend and hibernate work by using the correct power interface
	rather than the manager interface.
	Find/replace can bite you in the ass sometimes. :-)

2006-10-28  Richard Hughes <richard@hughsie.com>

	* src/gpm-button.c:
	* src/gpm-button.h:
	* src/gpm-info.c:
	* src/gpm-manager.c:
	* src/gpm-screensaver.c:
	Move the lid detection into the button class.

2006-10-28  Richard Hughes <richard@hughsie.com>

	* src/gpm-info.c:
	* src/gpm-manager.c:
	Move some logging out of the manager and into the GpmInfo class.

2006-10-28  Richard Hughes <richard@hughsie.com>

	* po/POTFILES.in:
	* src/Makefile.am:
	* src/gpm-dpms.c:
	* src/gpm-hal-monitor.c: 
	* src/gpm-hal-power.c:
	* src/gpm-hal-power.h:
	* src/gpm-hal.c:
	* src/gpm-hal.h:
	* src/gpm-info.c:
	* src/gpm-manager.c:
	* src/gpm-power.c:
	Remove GpmHalPower and add the functionality to GpmHal - there's no
	point having two gobjects doing basically the same thing.

2006-10-28  Richard Hughes <richard@hughsie.com>

	* src/gpm-hal-brightness-sensor.c:
	* src/gpm-hal-brightness-sensor.h:
	Remove these spare files that escaped the cvs rm session.

2006-10-28  Richard Hughes <richard@hughsie.com>

	* src/gpm-manager.c:
	* src/gpm-tray-icon.c:
	* src/gpm-tray-icon.h:
	Move some stuff out of the manager into the tray icon class.
	This one was easy. :-)

2006-10-28  Richard Hughes <richard@hughsie.com>

	* src/gpm-dpms.c:
	Make into singleton.

	* src/Makefile.am:
	* src/gpm-manager.c:
	* src/gpm-screensaver.c:
	Move some more functionality away from the manager class into the
	screensaver class. The idea is that GpmScreensaver should handle
	all interactions with the screensaver, even dimming and undimming the
	screen when the screensaver wants.	

	* src/gpm-brightness-lcd.c:
	Make into a singleton so we can use this in the screensaver class.

2006-10-28  Richard Hughes <richard@hughsie.com>

	* src/Makefile.am:
	* src/gpm-brightness-kbd.c:
	* src/gpm-brightness-lcd.c:
	* src/gpm-button.c:
	* src/gpm-button.h:
	Abstract the button class further so that we don't need to setup
	callbacks on GpmPower to get hal buttons.

	* src/gpm-manager.c:
	* src/gpm-screensaver.c:
	* src/gpm-screensaver.h:
	Detect the lock button here, not in the manager.

2006-10-28  Richard Hughes <richard@hughsie.com>

	* src/gpm-dpms.c:
	* src/gpm-dpms.h:
	* src/gpm-manager.c:
	Actually handle the DPMS policy in the dpms class. Removes a chunk of
	code from the manager.

2006-10-28  Richard Hughes <richard@hughsie.com>

	* src/Makefile.am:
	Add a couple of modules to the prefs program for deps.

	* po/POTFILES.in:
	* src/gpm-brightness-kbd.c:
	* src/gpm-brightness-kbd.h:
	* src/gpm-brightness-lcd.c:
	* src/gpm-brightness-lcd.h:
	* src/gpm-cpufreq.c:
	* src/gpm-cpufreq.h:
	* src/gpm-inhibit.c:
	* src/gpm-light-sensor.c:
	* src/gpm-light-sensor.h:
	* src/gpm-prefs-core.c:
	Remove the HAL prefix from these classes.

	* src/gpm-manager.c:
	Move some of the state functionality from the manager into the
	objects. The manager is a mess and stuff needs to be better contained
	in thier own classes.
	The idea is that a class, say for instance the cpufreq class, is aware
	of what to do on ac-state-change and does it itself. Therefore all the
	functionality is in this module rather than half in the module and half
	in the manager.
	All the multiply used classes are singletons and so we don't use any
	more memory.

2006-10-28  Richard Hughes <richard@hughsie.com>

	* src/gpm-main.c: (main):
	Daemonize earlier than we connect to the system messagebus to fix
	#366057 so we can support PolicyKit and ConsoleKit.

	* .cvsignore:
	Add NEWS.new, the way I keep track of changes internally.

	* configure.in:
	Bump to 2.17.3, this was never done after the bodge release.
	
	* src/gpm-button.c: (gpm_button_new):
	Make into a singleton for future work.

2006-10-24  Harry Lu  <harry.lu@sun.com>

	* configure.in: enable '-Wall' only for gcc. Add '-lresolv -lXext'
	to GPM_EXTRA_LIBS.
	* src/Makefile.am: Add GPM_EXTRA_LIBS to gnome_power_manager_LDADD.

2006-10-24  Richard Hughes <richard@hughsie.com>

	* data/icons/16x16/gpm-primary-100-charging.png:
	Add charging flash to match the other charging icons. Fixes #364574.

2006-10-24  Richard Hughes <richard@hughsie.com>

	* docs/faq.xml:
	Add note mentioning that 2.6.19-rc3 does not need experimental flag.
	Many thanks to Stefan Schmidt for the info.

2006-10-23  Richard Hughes <richard@hughsie.com>

	* src/gpm-feedback-widget.c:
	* src/gpm-hal-brightness-kbd.c:
	* src/gpm-hal-brightness-lcd.c:
	* src/gpm-hal-light-sensor.c:
	* src/gpm-inhibit.c:
	* src/gpm-refcount.c:
	Remove a few non-required includes.

	* src/gpm-prefs-core.c: (gpm_prefs_init):
	Warn if glade file not found.

2006-10-23  Richard Hughes <richard@hughsie.com>

	* data/gpm-prefs.glade:
	Change the checkbox text to 'Dim the display when the computer is idle'
	to fix #363765.

2006-10-22  Richard Hughes <richard@hughsie.com>

	* src/gpm-manager.c: (battery_status_changed_primary):
	Don't do *any* action until the battery data is marked as valid.
	Patch from Stu Hood <stuhood@gmail.com>, many thanks.

	* src/gpm-info.c: (gpm_info_log_do_poll):
	Sanity check the rate and time values in case the hardware really
	goes screwy for a few seconds, and gets the values wrong.

2006-10-22  Richard Hughes <richard@hughsie.com>

	* data/gpm-graph.glade:
	Update The window title to be Power History rather than Power Graphs
	to match the drop down menu. Fixes #364200.

2006-10-22  Richard Hughes <richard@hughsie.com>

	* src/gpm-debug.c:
	Only allocate the var_args buffer once, globally. This stops us
	allocating and then deallocating 1024 byte chunks on each debug line.
	Fixes #363991, many thanks to Stu Hood.

2006-10-19  Richard Hughes <richard@hughsie.com>

	* src/gpm-tray-icon.c: (gpm_tray_icon_init):
	Oops. Fix compilation without libnotify. I hate #ifdefs.

2006-10-19  Richard Hughes <richard@hughsie.com>

	* src/gpm-tray-icon.c: (gpm_tray_icon_init):
	Properly initialise icon->priv->notify in the tray icon.
	This might fix #363446.

2006-10-18  Richard Hughes <richard@hughsie.com>

	* data/gpm-prefs.glade:
	Add a 'Make default' button in readyness for changing the system wide
	policy for all users.

	* po/POTFILES.in:
	* src/Makefile.am:
	* src/gpm-conf.c:
	* src/gpm-conf.h:
	* src/gpm-gconf.h:
	Replace the statatic header with a new GpmConf gobject to abstract
	getting and setting values from gconf.
	We'll need this for headless use where we might not have gconf
	available running as root.

	* src/gpm-common.c:
	* src/gpm-common.h:
	* src/gpm-hal-power.c:
	* src/gpm-info.c:
	* src/gpm-manager.c:
	* src/gpm-networkmanager.c:
	* src/gpm-polkit.c:
	* src/gpm-power.c:
	* src/gpm-prefs-core.c:
	* src/gpm-prefs.h:
	* src/gpm-screensaver.c:
	* src/gpm-statistics-core.c:
	* src/gpm-statistics.c:
	Looks a lot of changes, but basically use the GpmConf singleton rather
	than create a new copy of gconf_client for each object.
	This probably saves a little bit of memory, but it also makes the code
	look a lot better. ;-)

2006-10-18  Richard Hughes <richard@hughsie.com>

	* configure.in
	Change release to 2.17.2.1 so we can be included in the GNOME
	development release. See #363169 for details.