2007-01-22  Richard Hughes  <richard@hughsie.com>

	==== Version 2.17.90 ====

2007-01-21  Richard Hughes  <richard@hughsie.com>

	* src/gpm-button.c:
	* src/gpm-button.h:
	* src/gpm-manager.c:
	* src/gpm-srv-backlight.c: (idle_changed_cb):
	* src/gpm-srv-screensaver.c: (ac_adapter_changed_cb):
	Don't poke the screensaver when we remove the ac adapter when the lid
	is closed. Fixes #384254.

2007-01-19  Denis Washington <dwashington@gmx.net>

	Fixes #394701

	* data/gnome-power-preferences.desktop.in: use correct category name.

2007-01-13  Richard Hughes  <richard@hughsie.com>

	* docs/dbus-interface.xml:
	* po/POTFILES.in:
	* src/Makefile.am:
	* src/dbus/Makefile.am:
	* src/dbus/gpm-dbus-backlight.xml:
	* src/dbus/gpm-dbus-brightness-lcd.xml:
	* src/dbus/gpm-dbus-dpms.xml:
	* src/gpm-manager.c: (gpm_manager_init), (gpm_manager_finalize):
	* src/gpm-powermanager.c: (gpm_powermanager_init):
	* src/gpm-powermanager.h:
	As discussed, having two interfaces for backlight control is crazy.
	Merge BrightnessLcd and Dpms into Backlight so we can use this interface
	in a more generic way.

	* src/gpm-srv-brightness-lcd.c:
	* src/gpm-srv-brightness-lcd.h:
	* src/gpm-srv-dpms.c:
	* src/gpm-srv-dpms.h:
	* src/gpm-srv-backlight.c:
	* src/gpm-srv-backlight.h:
	Merge the two interfaces into one new GObject.

2007-01-13  Richard Hughes  <richard@hughsie.com>

	* src/dbus/gpm-dbus-brightness-lcd.xml:
	* src/dbus/gpm-dbus-control.xml:
	* src/dbus/gpm-dbus-dpms.xml:
	* src/dbus/gpm-dbus-inhibit.xml:
	* src/dbus/gpm-dbus-statistics.xml:
	* src/dbus/gpm-dbus-ui.xml:
	Add scoping information. Whoops.

	* src/gpm-self-test.c: (test_proxy), (main):
	Add tests for the GpmProxy class.

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

	Patch by: William Jon McCann <mccann@jhu.edu>

	* src/gpm-brightness-lcd.c:
	GPM uses UINT32 for brightness but HAL uses INT32. Fix the crasher
	of #395174. This is only become apparent as the new DELL smbios addon
	enforces correct signedness but the old method did not.

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

	* src/gpm-brightness-kbd.c: (gpm_brightness_kbd_get_hw),
	* src/gpm-brightness-kbd.h:
	* src/gpm-brightness-lcd.c: (gpm_brightness_lcd_class_init),
	* src/gpm-brightness-lcd.h:
	Clear up some more guint and gint problems.

	* src/gpm-proxy.c:
	Make sure an invalid proxy doesn't segfault gnome-power-manager.
	This is due to a critical log message, where we should probably
	only be a developer warning.

2007-01-12  Thomas Wood  <thos@gnome.org>

	Patch by: Denis Washington <dwashington@gmx.net>

	* data/gnome-power-preferences.desktop.in: Categorize
	gnome-power-preferences for the control center shell. Fixes bug 394701.

2007-01-10  Richard Hughes  <richard@hughsie.com>

	* docs/dbus-interface.xml:
	* docs/dbus-interface.html:
	* src/gpm-powermanager.c: (gpm_powermanager_init):
	* src/gpm-powermanager.h:
	* src/gpm-prefs-core.c: (gpm_dbus_method_bool):
	* src/gpm-statistics-core.c: (gpm_statistics_init):
	Move back to the indervidual interface definition after Rob pointed out
	this breaks glib bindings. OOps.

2007-01-10  Richard Hughes  <richard@hughsie.com>

	* docs/dbus-interface.xml:
	Update docs.

2007-01-10  Richard Hughes  <richard@hughsie.com>

	* src/dbus/gpm-dbus-brightness-lcd.xml:
	* src/gpm-brightness-lcd.c: (gpm_brightness_lcd_set_hw):
	* src/gpm-powermanager.c: (gpm_powermanager_get_brightness_lcd),
	* src/gpm-srv-brightness-lcd.c:
	* src/gpm-srv-brightness-lcd.h:
	Make sure we always use an unsigned int for brightness.
	This should fix #395174.

2007-01-08  Richard Hughes  <richard@hughsie.com>

	* docs/dbus-interface.html:
	* docs/dbus-interface.xml:
	* docs/index.html:
	Update to reflect the current API.
	NOTE TO PEOPLE STRESSING OUT: The old API still exists as a
	compatibility API, it's just not documented.

	* src/dbus/gpm-dbus-inhibit.xml:
	* src/dbus/gpm-dbus-statistics.xml:
	Add some more comments, no functional changes.	

2007-01-08  Richard Hughes  <richard@hughsie.com>

	* src/dbus/gpm-dbus-brightness-lcd.xml:
	* src/gpm-srv-brightness-lcd.c:
	* src/gpm-srv-brightness-lcd.h:
	Add a BrightnessChanged signal, and convert the method names to similar
	style to DPMS.

	* src/gpm-powermanager.c:
	Use the new method names.

2007-01-07  Richard Hughes  <richard@hughsie.com>

	* data/gnome-power-manager.schemas.in:
	* src/gpm-conf.h:
	Add /apps/gnome-power-manager/show_cpufreq_ui GConf key.
	It's not something I wanted to do, as 99% of people don't need to
	ever change this, but the 1% will need to for specific systems.
	Default to hiding the control. Distros can patch this if required.

	* src/gpm-prefs-core.c:
	Add 'Do nothing' back as a valid UI object, else this policy is
	reverted to ondemand the first time the prefs tool is run.
	By default we don't show the UI. This is not a new string as we
	already use it for the action text.

2007-01-07  Richard Hughes  <richard@hughsie.com>

	* help/C/gnome-power-manager.xml:
	Fix a metric ton of spelling errors.

2007-01-04  Richard Hughes  <richard@hughsie.com>

	* src/gpm-brightness-kbd.c: (gpm_brightness_kbd_up),
	* src/gpm-brightness-lcd.c: (gpm_brightness_lcd_up),
	* src/gpm-button.c: (emit_button_pressed):
	* src/gpm-hal.c: (reattach_property_modified_in_hash),
	* src/gpm-notify.c: (notify_recall_action_cb):
	* src/gpm-power.c: (battery_kind_cache_update):
	Replace instances of g_debug with gpm_debug.

2007-01-04  Richard Hughes  <richard@hughsie.com>

	* BRANCHES:
	* README:
	Update to better reflect release dependencies.

	* src/gpm-hal.c: (proxy_status_cb):
	Emit the DAEMON_START and DAEMON_STOP signals when HAL
	disconnects or connects. This fixes the problem where the
	icon does not change when HAL is restarted.

2007-01-03  Richard Hughes  <richard@hughsie.com>

	* src/gpm-self-test.c:
	Remove all the _("foo") strings for gnome program init as
	they are not required and I don't want to be accused of
	breaking string freeze.

	* po/POTFILES.in:
	Add gpm-self-test.c - no string additions - this is a new
	test module that should not be translated and only used by
	developers.

2007-01-03  Richard Hughes  <richard@hughsie.com>

	* src/gpm-inhibit.c: (gpm_inhibit_is_valid):
	* src/gpm-self-test.c:
	Add some more self tests.

2007-01-02  Richard Hughes  <richard@hughsie.com>

	* src/Makefile.am:
	* src/gpm-self-test.c:
	Add the start of a self-test framework.

	* src/gpm-powermanager.c: (gpm_powermanager_inhibit),
	* src/gpm-powermanager.h:
	* src/dbus/gpm-dbus-inhibit.xml:
	Convert to the new API, and remove the incorrect interface.

	* src/gpm-inhibit.c: (gpm_inhibit_is_valid), (gpm_inhibit_check):
	* src/gpm-inhibit.h:
	Add IsValid method to Inhibit interface so we can test the
	inhibit status in the self-test framework.

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

	* README.cvs:
	* README.svn:
	* autogen.sh:
	Remove some cvs'isms.

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

	* .cvsignore:
	* applets/.cvsignore:
	* applets/brightness/.cvsignore:
	* applets/inhibit/.cvsignore:
	* data/.cvsignore:
	* data/icons/.cvsignore:
	* data/icons/16x16/.cvsignore:
	* data/icons/22x22/.cvsignore:
	* data/icons/24x24/.cvsignore:
	* data/icons/scalable/.cvsignore:
	* data/sounds/.cvsignore:
	* docs/.cvsignore:
	* help/.cvsignore:
	* help/es/.cvsignore:
	* help/hu/.cvsignore:
	* help/ru/.cvsignore:
	* help/sv/.cvsignore:
	* man/.cvsignore:
	* po/.cvsignore:
	* src/.cvsignore:
	* src/dbus/.cvsignore:
	* tools/.cvsignore:
	Remove obsolete .cvsignore files.

2006-12-31  Pascal Terjan  <pterjan@linuxfr.org>

	* src/gpm-power.c: (gpm_power_kind_to_string):
	Don't localise string as this is used internally for icon name.

2006-12-30  Christian Persch  <chpe@cvs.gnome.org>

	* applets/brightness/brightness-applet.c: (create_popup):
	Use octal UTF-8, not \uxxxx. Bug #390809.

2006-12-29  Christian Persch  <chpe@cvs.gnome.org>

	* src/gpm-tray-icon.c: (gpm_tray_icon_popup_menu_cb):
	Fix popup_menu callback signature. Bug #390172.

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

	* applets/brightness/brightness-applet.c: (create_popup):
	Use "\u2212" rather than "-" for a bigger horizontal line,
	complementing the plus sign.

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

	* src/gpm-control.c:
	* src/gpm-control.h:
	Add the request signal to the GpmControl class.
	This prevents a warning on startup.

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

	* src/gpm-tray-icon.c:
	* src/gpm-tray-icon.h:
	Add the icon changed and description changed signals to the
	UI class. This prevents a warning on startup.

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

	* src/dbus/gpm-dbus-control.xml:
	Add the file I missed off the last commit. Fixes #389121.
	Sometimes, I wish I tested things harder. Apologies.

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

	* src/gpm-hal.c:
	Add some more debugging.

	* src/gpm-control.c:
	* src/gpm-control.h:
	* src/gpm-manager.c:
	Move some stuff from the manager to GpmControl.

	* src/gpm-sound.c:
	* src/gpm-info.c:
	* src/gpm-power.c:
	* src/gpm-srv-dpms.c:
	* src/gpm-tray-icon.c:
	Move to the signal event model of GpmControl, rather than the
	monolithic GpmManager.

	* src/gpm-screensaver.c:
	* src/gpm-screensaver.h:
	Move the defines from the C to the H. Also make a singleton.

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

	* po/POTFILES.in:
	* src/gpm-control.c:
	* src/gpm-control.h:
	* src/gpm-policy.c:
	* src/gpm-policy.h:
	Rename GpmPolicy to GpmControl.

	* src/Makefile.am:
	* src/dbus/Makefile.am:
	* src/gpm-info.c:
	* src/gpm-info.h:
	* src/gpm-manager.c:
	* src/gpm-manager.h:
	* src/gpm-powermanager.h:
	* src/gpm-tray-icon.c:
	Use the new GpmControl interface, and start to add the
	registrations interface.

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

	* TODO:
	* src/dbus/gpm-dbus-brightness-lcd.xml:
	* src/dbus/gpm-dbus-dpms.xml:
	* src/dbus/gpm-dbus-statistics.xml:
	* src/dbus/gpm-dbus-ui.xml:
	* src/gpm-inhibit-test.c:
	* src/gpm-powermanager.c:
	* src/gpm-powermanager.h:
	* src/gpm-srv-brightness-lcd.c:
	* src/gpm-srv-brightness-lcd.h:
	* src/gpm-statistics-core.c:
	Remove the custom suffix for each of the interfaces.
	As we have a custom path for each one, we have no need for
	indervidual interfaces.

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

	* src/dbus/Makefile.am:
	* src/dbus/gpm-dbus-inhibit.xml:
	Add the new inhibit interface.

	* src/gpm-inhibit-test.c:
	* src/gpm-inhibit.c:
	* src/gpm-inhibit.h:
	Deal with the DBUS interface here, rather than using the
	manager class to proxy requests.

	* src/gpm-manager.c:
	Proxy the old Inhibit and UnInihibit calls to the new
	interface.

	* src/gpm-powermanager.h:
	Add the Inhibit DBUS path.

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

	* data/gnome-power-manager.schemas.in:
	* src/gpm-conf.h:
	* src/gpm-manager.c: (battery_status_changed_primary):
	Add the notify_low_power gconf key to supress the low battery
	warnings. Fixes #350018.

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

	* help/C/figures/applet-brightness.png:
	* help/C/figures/applet-inhibit.png:
	* help/C/gnome-power-manager.xml:
	Add a section in the help file for the applets.

	* applets/brightness/brightness-applet.c: (help_cb):
	* applets/inhibit/inhibit-applet.c: (help_cb):
	Point to the applets section in the help file.
	Should fix #388904.

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

	* applets/brightness/Makefile.am:
	* applets/inhibit/Makefile.am:
	Make the applets look in the right place for the help file.
	Not that one exists: we need to write then or remove the
	help option. Starts fixing #388904.

	* applets/brightness/brightness-applet.c: (help_cb):
	* applets/inhibit/inhibit-applet.c: (help_cb):
	* src/gpm-tray-icon.c: (gpm_tray_icon_show_help_cb):
	Correct the name of the XML yelp file. Not sure who changed
	this, but it was wrong. Fixes #388905.

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

	* src/gpm-manager.c:
	When running in a custom root Elijah gets:
	'gnome-keyring-1/gnome-keyring.h: No such file or directory'
	The fix is trivial, just remove the 'gnome-keyring-1/'
	from the #include line.
	I'm not sure why no body has mentioned this before, but
	it seems to work either with or without on FC6.
	Fixes #388815.

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

	* docs/dbus-interface.html:
	* docs/faq.html:
	* docs/icon-scheme.html:
	* docs/index.html:
	* docs/sleep-names.html:
	Update with new version number.

	* src/dbus/Makefile.am:
	* src/dbus/gpm-dbus-ui.xml:
	* src/gpm-manager.c: (gpm_manager_init):
	* src/gpm-powermanager.h:
	* src/gpm-tray-icon.c: (gpm_ui_get_description), (gpm_ui_get_icon):
	* src/gpm-tray-icon.h:
	Add this new dbus interface so we can provide an alternate UI
	environment, for instance for XFCE or OLPC.

	* src/gpm-cpufreq.c: (gpm_cpufreq_get_governors):
	Use ondemand, not conservative.

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

	* data/gnome-power-manager.schemas.in:
	Change default to be ondemand at 85 performance on AC and
	ondemand at 25 performance on battery. Ubuntu set ondemand
	by default, and have had no bad reports.
	The rationale for this change is that we should still save
	power on AC, there's no point having the processor run at
	100 percent when the system is idle.

	* src/gpm-cpufreq.c: (gpm_cpufreq_set_performance):
	Allow setting the performance for the dynamic policies.

2006-12-19  Francisco Javier F. Serrador  <serrador@openshine.com>

	* applets/inhibit/inhibit-applet.c (GPM_INHIBIT_APPLET_NAME):
	Fixed typo

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

	* data/gpm-prefs.glade:
	Change the accesskeys to be unique.

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

	* configure.in: Post release bump to 2.17.5