2005-11-28  Richard Hughes  <richard@hughsie.com>

	* src/gpm-notification.c (gpn_icon_update): Don't try to free a
	constant, i.e. use g_strdup so we unconditionally free the string.
	This bug only appears when the gconf schema isn't being applied,
	which is probably a packaging bug.

2005-11-28  Ignacio Casal Quinteiro  <nacho.resa@gmail.com>

	* configure.in: Added 'gl' to ALL_LINGUAS.

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

	* src/gpm-main.c (perform_power_policy): Create this new function
	so we can put all the common code together. This also lets us sets
	all the settings in one place, so we can now do every power saving
	action simply when we are booted from battery. This fixes the bug where
	the brightness wasn't being set on boot.

	* src/gpm-main.c (perform_sleep_methods): Put all the common code in
	one place so we can set the password resume policy in one place.

	* gnome-power-manager.schemas.in: Add general/require_password to
	signify if we require a password when resuming from suspend.

	* src/gpm-prefs.c, src/gpm-prefs.glade:
	Add the required widgets to control "general/require_password"

	* configure.in: Bump HAL dep to 0.5.4 as using 0.5.3 doesn't work
	correctly with Ubuntu breezy HAL, which is causing lots of bug reports.

	* gnome-power-manager.spec.in: Remove the prefix line as it's not
	correct, and the rpm builds fine without it.

	* src/gpm-notification.h, src/gpm-notification.c:
	Fix the problem where the About window's content is not localizable.
	Apply a patch from Gabor Kelemen that makes it localizable.
	Fixes http://bugzilla.gnome.org/show_bug.cgi?id=322547

2005-11-26  Marcel Telka  <marcel@telka.sk>

	* configure.in (ALL_LINGUAS): Added sk.

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

	* gnome-power-manager.schemas.in:
	Default to suspend on lid close on advice of Havoc Pennington, to
	address bug https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=174160
	Also make /apps/gnome-power-manager/policy/sleep_type to type suspend
	as nothing is no longer a valid option.

	* configure.in:
	Bump to 0.3.1

	* src/gpm-notification.c:
	Disable 'Power Info' from the menu until we show something interesting.

	* gnome-power-preferences.desktop.in:
	Rename "Power Preferences" to "Power Management" to better fit in with
	the other menu items.

2005-11-21  Richard Hughes  <richard@hughsie.com>

	* src/gpm-prefs.c, src/gpm-prefs.glade:
	Merge a patch by Jaap Haitsma <jaap@haitsma.org>:
	- Changed vertical spacing between some items in dialog from 4 to 6 
	pixels (HIG says it should be 6)
	- All capplets have the dialog hint set for the window so they don't 
	have a minimize button.
	- Removed the setting from the icon from the glade file to the C file. 

2005-11-21  Richard Hughes  <richard@hughsie.com>

	* src/gpm-prefs.c, src/gpm-prefs.glade:
	Merge a patch by Jaap Haitsma <jaap@haitsma.org>:
	Split the General section in the options Tab to two sections: 
	General and Actions. Tweaked by me.
	Furthermore it changes accesskeys of some labels to more sensible keys.
	Also remove the gnome-screensaver button now g-p-m is less tied into
	g-s with the DPMS settings.

	* src/gpm-core.{c|h}:
	Add the core, abstracted interfaces so we can use them with a console
	program. Taken from gpm-main.c.

	* src/gpm-console.c:
	Add the beginning of a console g-p-m for GDM.

	* src/gpm-common.{c|h}:
	Re-organise with the console muddle.

	* src/gpm-idle.c, src/gpm-info.c, src/gpm-main.c,
	src/gpm-screensaver.{c|h}:
	s/gscreensaver_/gpm_screensaver/g for consistancy.
	Also add gpm_screensaver_poke so we can interrupt the screensaver
	instead of waiting for a keypress.

2005-11-17  Richard Hughes  <richard@hughsie.com>

	* src/gpm-networkmanager.{c|h}:
	Add methods to call NetworkManager to tell it to sleep or wake during
	the suspend/resume calls. This isn't connected into the build yet
	as we have to solve 3 sec timeout problem when NM isn't running.

	* src/glibhal-extras.c:
	If the manufacturer is IBM, then assume we are a ThinkPad,
	and don't do the new-fangled dimming routine. The ThinkPad dims
	gently itself. This fixes the bug:
	http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173382

	* src/gpm-dbus-common.{c|h}:
	Add dbus_is_active_service so we can print and search the services
	on the system bus.

	* src/gpm-screensaver.{c|h}, src/gpm-prefs.c, src/gpm-idle.c:
	First, do s\gscreensaver_\gpm_screensaver_\g to be consistant.
	Also add gpm_screensaver_poke() to allow us to "poke" g-s so we can
	displays the unlock dialogue, so the user doesn't have to move the
	mouse or press any key.

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

	* src/gpm-main.c, src/gpm-info.c, src/gpm-prefs.c, src/gpm-prefs.glade,
	src/icons/Makefile.am: 
	Merge a patch by Jaap Haitsma <jaap@haitsma.org>:
	- "Never" on the right of the sleep sliders
	- Sleep sliders range from 1 to 60 minutes with steps of 1 minute
	- In Makefiles GPM_DATA had a trailing slash. This is not common.
	- Some code refactoring: There was now one callback handling all the 
	different sliders. Since there are three types of sliders:
	1. Setting sleep time
	2. Setting disply brightness
	3. The low and critical threshold
	That callback became quite messy. So instead of 1 difficult to 
	understand I made 3 of them which should be quite easy to understand.

	* src/gpm-notification.c: display the charged icon whenever we are
	not discharging and not charging as opposed to when at 100% as some
	batteries will never get to the maximum value.
	Should fix http://bugzilla.gnome.org/show_bug.cgi?id=321034

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

	* src/gpm-main.c, src/gpm-prefs.c: 
	Merge a patch by Jaap Haitsma <jaap@haitsma.org>:
	- Make gpm use the standard gnome way to do command line parsing
	(using popt).
	- Furthermore after a gnome_program_init there is no need to do a 
	gtk_init, g_type_init etc. because gnome_program_init already does this.
	- Also, gpm-prefs did not have the standard calls to bindtextdomain etc.

2005-11-13  Richard Hughes  <richard@hughsie.com>

	* src/gpm-screensaver.{c|h}: Add gscreensaver_set_dpms() to solve the
	case where the laptop backlight isn't being turned off when the
	lid goes down. For the time being, we'll use the hack that is xset,
	but when (if?) gnome-screensaver supports a DBUS method we'll switch
	to that. Should solve http://bugzilla.gnome.org/show_bug.cgi?id=321313

	* src/gpm-main.c: Use gscreensaver_set_dpms on the lid events.

	* po/nl.po: Updated, thanks Theetjuh.

	* src/Makefile.am: Add the extra director defines.

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

	* src/gpm-sysdev.c: Create a helper function sysDevGetIndex so we don't
	have to bounds check every request, and cast in every call.

	* src/icons/gnome-power-ac-charged.png,	src/gpm-notification.c,
	src/gpm-stock-icons.{c|h}:
	Remove the charging symbol when the battery is at 100% and not charging.

	* docs/www/packages.html: Add info about running HAL as root in breezy.

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

	* src/gpm-notification.h: Give credit to the translators.

	* src/gpm-main.c, gpm-sysdev.c: Rearrange the icon processing so it's
	done *after* the sysdev update.

2005-11-10  Alexander Shopov  <ash@contact.bg>

	* configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS

2005-11-10  Fabio Marzocca  <thesaltydog@gmail.com>

	* po/ChangeLog:
	* po/it.po:

	Updated italian translation

2005-11-10  Ilkka Tuohela  <hile@iki.fi>

	* configure.in: Added Finnish (fi) to ALL_LINGUAS.

2005-11-10  Satoru SATOH <ss@gnome.gr.jp>

	* configure.in: Added Japanese (ja) to ALL_LINGUAS.

2005-11-10  Žygimantas Beručka  <zygis@gnome.org>

	* configure.in: Added Lithuanian to ALL_LINGUAS.

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

	* po/: Update all the po files with the latest translations.

	* src/gpm-sysdev.c (sysDevUpdate): The ac_adapter charging thing was
	causing more trouble than it's worth...

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

	* src/gpm-main.c, src/gpm-libnotify.{c|h}:
	Clear the libnotify box for where we add back the ac_adapter before
	the "AC Power unplugged" message times out.

	* src/gpm-notification.c, src/gpm-main.c, src/gpm-prefs.glade,
	gpm-common.{c|h}, gpm-prefs.c:
	Make the notification icons into radio boxes and make the options sane.

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

	* src/gpm-sysdev.c: Shortcut for the single battery case so we don't
	average over 1 each time. Might save a few CPU cycles.
	Also try to start to fix:
	https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169158
	by multiplying the remainingTime by the number of devices present
	if one battery is discharging and others not. This assumes they have
	the same capacity, and needs to be fixed properly.

	* src/gpm-main.c: Don't use sysDevUpdateAll when we have the UDI and
	can work out the system device to do a specific sysDevUpdate.
	This should make g-p-m less processor hungry.

2005-11-06  Richard Hughes  <richard@hughsie.com>

	* src/gpm-notification.c, src/gpm-sysdev.c:
	Do not segfault when battery bay is empty, and only add present
	batteries to the calculations.
	Fixes http://bugzilla.gnome.org/show_bug.cgi?id=320658

	* src/gpm-notification.c: Check for discharging and charging instead
	of checking for 100%.
	Should fix http://bugzilla.gnome.org/show_bug.cgi?id=320836

	* src/gpm-sysdev.{c|h}, src/gpm-main.c: Add sd link to parent so we
	can find our device type. Update the correct battery type, not just
	BATT_PRIMARY on HAL event.

	* src/gpm-notification.c: Do not leak eggtrayicon by just hiding it,
	but properly unrealize it. This fixes the bug where the icon "moved"
	across the notification area when it was repeatedly shown/hidden.

	* src/gpm-sysdev.{c|h}, gpm-main.c (hal_device_property_modified):
	Check that the battery is at 100%, AND of type "primary" before
	notifying the user that their battery is charged :-)

2005-11-05  Richard Hughes  <richard@hughsie.com>

	* configure.in: Change libwnck dep to 2.10.0. Not sure what happened
	with that... Update version 0.2.10 as I have made MASSIVE changes
	to the internals of g-p-m.

	* src/gpm-sysdev.{c|h}: New files to abstract away the multiple device
	problem. We are not using the shitty slotData and VirtualType system
	anymore as it is not flexible and it not understandable.
	Imagine ripping out the Ford Fiesta engine and replacing it with a
	Ferrarri engine and you get the idea of the changes...
	This will let us support multi-batteries *much* better.

	* src/gpm-common.{c|h}: Rip out the old device structures and functions.
	This makes hughsie happy.

	* src/gpm-notification.c: Now we show the icons if low, or if we want
	to overrride for the primary battery. Anything else is crack.

	* src/gpm-libnotify.c: Now make all notifications replace the former,
	to stop notifications from piling up the screen. Also point to the
	bottom middle part of the icon, not the top left most point.

	* src/gpm-dbus-server.c, gpm-main.c: Replace use of statedata
	with onAcPower.

	* src/gpm-prefs.glade, gnome-power-manager.schemas.in, src/gpm-prefs.c:
	Remove the configurable option for ac_adapter removal
	(warning hardcoded). Also remove the Always Display textbox.

2005-11-01  Richard Hughes  <richard@hughsie.com>

	* configure.in: Bump to 0.2.9.2 as we have lots of new stuff to test.

	* src/gpm-notification.c: Replace create_icon_pixbuf () with
	get_stock_id_for_slot_data so we can use the new stock icons.

	* src/gpm-stock-icons.{c|h}: Add the extra icons.

	* src/gpm-common.{c|h}: Remove gpm_set_icon_with_theme () and
	gpm_icon_theme_fallback () as Jaap has provided a proper framework for
	us to use.

	* src/icons/*.png: Refactor icons to 24x24 to keep the HIG people happy
	and also so we can use the stock icons functionality.

	* src/icons/Makefile.am: Add new files gnome-power-mouse.png and
	gnome-power-keyboard.png as we will use these files soon for low
	device warning.

2005-10-31  Christopher Aillon  <caillon@redhat.com>

	* src/gpm-common.c:
	* src/gpm-common.h:
	Signature of get_time_string () and get_timestring_from_minutes ()
	now return gchar* instead of GString*
	Also, handle the case when we have multiple hours but only 1 minute
	and use commas to separate the units.

	* src/gpm-main.c:
	* src/gpm-notification.c:
	* src/gpm-prefs.c:
	Use gchar* instead of GString* for calls to get_time_string ()
	and get_timestring_from_minutes ()

2005-10-31  Richard Hughes  <richard@hughsie.com>

	* configure.in: Spring clean this file so it's readable.

	* CodingStyle: Update.

	* gnome-power-manager.spec.in: Use the dep values from autoconf.

	* gnome-power-manager.sgml,
	* gnome-power-preferences.sgml,
	* gnome-power-info.sgml: Move to docs/man/

2005-10-31  Dennis Cranston  <dennis_cranston@yahoo.com>

	* src/gpm-prefs.glade:  GNOME HIG fixes (spacing, mnemonics,
	and capitalization)

2005-10-31  Richard Hughes  <richard@hughsie.com>

	* src/gpm-main.c (main): Disable GNOME_RESTART_IMMEDIATELY as a couple
	of users are getting constant crashes that they can't kill.

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

	* src/gpm-notification.c,
	* src/gpm-main.c,
	* src/gpm-common.h,
	* README,
	* gnome-power-manager.spec.in,
	* gnome-power-manager.sgml,
	* gnome-power-preferences.sgml,
	* gnome-power-info.sgml,
	* doc/www/*:
	s/gnome-power.sf.net/http://www.gnome.org/projects/gnome-power-manager/

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

	* Configure.in: Default to off for doxygen documentation as most users
	do not need these (and this saves us time for each compile).
	Also bump to 0.2.9, as we are introducing new functionality.

	* src/gpm-notification.c: Fix up the menu to be more in line with
	GNOME HIG. Thanks to Jaap Haitsma <jaap@haitsma.org> for the patch.

	* src/gpm-main.c: remove the last bits of the "registered" gslist.
	Also invalidate the remaining time on battery.rechargeable.is_charging
	as we need to wait for the next HAL update. This is a HAL bug I think.

	* src/gpm-prefs.c: Use gtk_image_set_from_icon_name rather than
	our inbuilt functions.

	* src/gpm-stock-icons.{c|h}: This is the start for generic stock
	icons functionality. At the moment it just adds the ac_adapter icon,
	but it's expected to work for all the other icons too.
	Initial patch by Jaap Haitsma.

	* src/icons/: Move gnome-dev-acadapter.png and gnome-power.png here.

	* src/pixmaps/: Remove this directory as it is now not required.

2005-10-29  Christopher Aillon  <caillon@redhat.com>

	* src/gpm-libnotify.c:
	* src/gpm-libnotify.h:
	(libnotify_event) Add a new argument for setting the
	primary text of a notify event, and use it for calls to
	libnotify and its GtkMessageDialog fallback.

	* src/gpm-main.c:
	* src/gpm-prefs.c:
	Send descriptive primary text with libnotify_event () calls.

2005-10-29  Richard Hughes  <richard@hughsie.com>

	* gpm-notification.c (get_object_tooltip): Do not display
	"Unknown remaining" for missing remaining time.
	Fixes http://bugzilla.gnome.org/show_bug.cgi?id=320135

	* src/icons/gnome-power-keyboard.png,
	src/icons/gnome-power-mouse.png: New icons from Diana Fong to convey
	a low power USB mouse and keyboard. Many thanks!

	* docs/www: Update to the new HTML website design, in prep for moving
	to gnome.org hosting.

2005-10-27  Richard Hughes  <richard@hughsie.com>

	* docs/www/report_bug.php, src/gpm-main.c (main): don't ask people to
	report bugs directly to me, but use bugzilla.

2005-10-27  JP Rosevear  <jpr@novell.com>

	* src/gpm-dbus-server.c (gpm_object_register): don't assert for
	things not related to our internal state
	
	* src/gpm-prefs.c (callback_gconf_key_changed): ditto
	(callback_combo_changed): ditto
	(callback_hscale_changed): ditto
	(callback_check_changed): ditto
	(format_value_callback_percent): ditto
	(format_value_callback_percent_lcd): ditto
	(format_value_callback_time): ditto

	* src/gpm-notification.c (callback_actions_activated): ditto
	(tray_icon_release): ditto
	(tray_icon_press): ditto

2005-10-26  JP Rosevear  <jpr@novell.com>
	
	* src/gpm-main.c (callback_gconf_key_changed): don't assert for
	things not related to our internal state

	* src/gpm-notification.c (create_icon_pixbuf): do not assert
	before freeing, g_free handles null pointers

	* src/gpm-main.c (get_policy_string): ditto
	(gpm_exit): ditto
	(add_battery): ditto
	(hal_device_condition): ditto

	* src/glibhal-main.c (is_hald_running): ditto
	(hal_free_capability): ditto
	(hal_num_devices_of_capability_with_value): ditto

	* src/glibhal-callback.c (glibhal_watch_remove_device_property_modified): ditto
	(glibhal_watch_remove_device_condition): ditto

2005-10-26  JP Rosevear  <jpr@jprosevear.org>

	* src/pixmaps/Makefile.am: ditto

	* src/icons/Makefile.am: ditto

	* src/Makefile.am: ditto

	* docs/Makefile.am: don't explicitly clean Makefile and
	Makefile.in

	* Makefile.am: remove extraneous tab; don't dist autogen,
	configure is all you need; don't dist mkinstalldirs, thats done
	automatically; don't explicitly clean Makefile and Makefile.in and
	other automatically handled files

2005-10-26  Richard Hughes  <richard@hughsie.com>

	* docs/www/dbus_interface.php, src/gpm-dbus-server.{c|h},
	src/gnome-power-service.xml: Make the DBUS interface much simpler.

	* src/gpm-dbus-test.c, src/Makefile.am: Remove gpm-dbus-test as part
	of making the interface simpler.

	* src/gpm-common.{c|h}, src/gpm-main.c: Remove some obsolete code.

	* configure.in: Bump to 0.2.8.2

	* src/gpm-notification.c: Add patch from Jaap Haitsma
	<jaap@haitsma.org> so that the menu just shows below/above the
	top/bottom panel.

2005-10-25  Richard Hughes  <richard@hughsie.com>

	* src/gpm-prefs.glade: Remove trailing dot from checkboxes to confirm
	to GNOME HIG. Spotted by Mark Rosenstand <mark@borkware.net>, thanks.

	* src/gpm-prefs.c (combo_setup_dynamic) : Don't leak policyoption.

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

	* Makefile: Ship autogen.sh

	* gnome-power-info.sgml: Add this file to keep the ubuntu build quiet.

	* configure.in: Change hal dep from 0.5.4 to 0.5.3 so we can build on
	ubuntu breezy. 0.5.3 will work with g-p-m, but there are lots of bugs
	in 0.5.3 fixed in later releases.
	Also bump to 0.2.8.1, and release.

	* src/gpm-info.glade : Don't hide this window, make it "normal" like
	the others.

	* src/gpm-main.c (main) : Register the name of the application rather
	than something random (to the session-manager).
	Patch from Matthew Garrett <mjg59@srcf.ucam.org>

	* Makefile.am: Delete the Makefile.in's in MAINTAINERCLEAN rather
	than DISTCLEAN so we can build on ubuntu.

2005-10-22  Christopher Aillon  <caillon@redhat.com>

	* src/gpm-libnotify.c:
	Use GtkMessageDialog instead of GnomeMessageBox since the former
	supports PangoMarkup and the latter is deprecated.

2005-10-20  Richard Hughes  <richard@hughsie.com>

	* src/gpm-main.c, gpm-common.c: Fix a NULL pointer dereference where
	the remaining_time isn't known, and the battery is low.
	Also don't crash when we do not have gnome-dev-memory in our theme.
	Reported by Andrey Tuev, thanks!

2005-10-17  Richard Hughes  <richard@hughsie.com>

	* src/*.c: Lots of doxygen additions and cleanups.

2005-10-15  Richard Hughes  <richard@hughsie.com>

	* po/POTFILES.in: Added the new translatable files. Lots more stuff
	to translate, sorry! (but I *really* appreciate your work...)

	* src/gpm-main.c, src/glibhal-callback.{c|h}: Added the
	NameOwnerChanges callback infrastructure, so we can now detect when
	HAL disappears from the system bus.

2005-10-12  Robert Love  <rml@novell.com>

	* src/gpm-info.c: Fix various compiler warnings.

2005-10-10  Richard Hughes  <richard@hughsie.com>

	* src/gpm-common.c, src/gpm-main.c: Little tidy-ups.
	Moved the functions gpm_set_icon_with_theme () and
	gpm_icon_theme_fallback () here from gpm-notification.c

	* src/gpm-prefs.c, src/gpm-prefs.glade: Adds the estimated time
	property to the slider widgets. Add themed icons for Rodrigo Moya.

2005-10-06  Richard Hughes  <richard@hughsie.com>

	* src/gpm-gtk-utils.{c|h} (gpm_gtk_set_sensitive): Add new function
	to let us quickly set widget sensitivity.

	* src/gpm-prefs.c, src-gpm-main.c, gnome-power-schemas.in,
	src/gpm-prefs.glade, src/gpm-notification.c: Add the new
	display_icon_others functionality so we can support desktops with
	wireless mice. This is turned off by default.

2005-10-06  Richard Hughes  <richard@hughsie.com>

	* src/gpm-main.c (read_battery_data): Try to get an debug report if
	we are missing battery.remaining_time or
	battery.charge_level.percentage.
	Also add a newline after the version string -- patch thanks to
	Wouter Bolsterlee <uws+gnome@xs4all.nl>

	* src/gpm-notificiation.c (get_notification_icon): Check before
	dereferencing eggtrayicon.

	* src/pixmaps/stock_about.png, src/pixmaps/stock_notebook.png
	src/pixmaps/stock-properties.png, src/pixmaps/Makefile.am: Add default
	fallbacks as not present on debian.

2005-10-04  Richard Hughes  <richard@hughsie.com>

	* src/gpm-dbus-client.{c|h}: Abstract this away from gpm-prefs.c

	* src/gpm-gtk-utils.{c|h}: Abstract this away from gpm-prefs.c

	* src/gpm-prefs.c: Make lots smaller :-) This is in prep for another
	program, g-p-i.

	* src/gpm-info.c: The start of another program, GNOME Power Info

	* src/Makefile.am: Add these extra files, and add gnome-power-info
	to the built files.

	* src/dbus-common.{c|h}: Rename to gpm-dbus-common.{c|h}

2005-10-04  Rodrigo Moya <rodrigo@novell.com>

	* src/gpm-main.c (hal_device_property_modified): display a notification
	when the battery is fully charged.

2005-10-04  Richard Hughes  <richard@hughsie.com>

	* configure.in: Update docs and remove sounds.

	* src/sounds: Remove.

	* src/icons, src/gpm-notification.c: Rename icons to better suit gpm.

	* src/preferences.glade: Remove

	* src/gpm-prefs.glade, src/gpm-info.glade: Add these new files.
	I've split the information stuff into it's own glade file as requested
	by Robert Love.

	* src/compiler.h: Add this file to hold all the GCC4 check ifdefs.

	* src/gpm-prefs.c, src/Makefile.am: Update glade file reference.
	Remove the information page refresher stuff and move to gpm-info.c

	* src/gpm-notification.c: Use run_bin_program to lauch (all) our
	external programs.
	Also coalesce all the custom functions in (menu_main_create) to use
	just menu_add_action_item (which lets us group the callbacks too)
	Also fix so the seporator is shown...

	* src/gpm-common.{c|h}: Add run_bin_program to allow us to run
	g-p-p and the new g-p-i (to come... :-) programs.

	* doc/*: Update so www has it's own directory, and move down html into
	a lower level doxygen directory.

2005-10-02  Richard Hughes  <richard@hughsie.com>

	* configure.in: Bump to 0.2.7. Add in Doxygen configure logic.

	* docs/code: New directory for the Doxygen generated pages

	* docs/Makefile.am, docs/.cvsignore: Add these files so we can
	build ./code.

	* docs/code/Makefile.am, docs/code/Doxygen.in: Add Doxygen build files.

	* src/*.c, src/*.h: Add Doxygen comments. Phew!

2005-10-02  Richard Hughes  <richard@hughsie.com>

	* configure.in: Bump to 0.2.6.1

	* src/gpm-idle.c (gpm_idle_update): Don't return FALSE is timeout is
	set to zero, as the polling will stop. The polling needs to continue
	in case the value is changed in g-conf.

	* src/gpm-notification.c (gtk_icon_theme_fallback): Do the icon
	fallback is a more robust way (so sizes are unimportant).
	(create_icon_pixbuf): Return the pixmap for type POWER_AC_ADAPTER.
	Fixes problems reported by Dumitru Ciobarcianu.

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

	* src/gpm-idle.c (update_idle_function): Actually print the return
	value of gscreensaver_get_idle ();
	Also check the value of the timeout to check it's not set to zero.

	* src/gpm-notification.c: Moved callback_gconf_key_changed () to
	src/gpm-main.c so we can do clever stuff. Not sure why it was ever in
	this file in the first place...

	* src/gpm-main.c: Fix two typos in the gconf keys threshold_low and
	threshold_critical, and one thinko in the order of calculating the
	old and new charges. The warnings and auto-action should now work
	again now. Found as a co-incidence of running out of battery power...
	(callback_gconf_key_changed): Add case where g-p-p should force an
	update to dmps_suspend without having to change state.
	Reported by Theetjuh <theetjuh@gmail.com>.

	* src/gpm-main.c, src/gpm-idle.c: Add in the full idle functionality,
	so that we can either suspend or hibernate when we are deemed idle.

	* src/gpm-screensaver.c: setThrottleEnabled now doesn't return us a value.
	Fix our calling function to also return the value of getIdleTime,
	rather than just the success.

	* docs/gnome_power_manager.php, docs/gnome_power_preferences.php:
	Add a couple of new images and update the text a bit.

	* src/glibhal-extras.c: Return a success value, and pass in steps by
	reference.

	* src/gpm-prefs.c: make sure hscale_batteries_display and
	hscale_ac_display are set to 5 minute divisions.
	Also, only set the LCD slider points if we have LCD hardware.
	This removes a warning on desktop systems.

2005-09-30  Richard Hughes  <richard@hughsie.com>

	* configure.in: Bump to 0.2.5.4

	* src/gpm-common.c (get_widget_position): new function to get center
	point of a widget.

	* src/gpm-libnotify.c: Added back (in a better way) the
	libnotify-points-to-icon feature.

	* src/gpm-prefs.c: Turn on DPMS if not enabled at start.

	* src/gpm-screensaver.c: Attempt to get return val right.

	* src/gpm-idle.c: Do not continue to poll gnome-screensaver if the
	first call failed. This will avoid a warning every minute.

	* src/gpm-main.c, src/gpm-notification.c: Use the new libnotify
	widget centering functionality.

	* src/*.c: Use new the macros G_GNUC_WARNUNCHECKED for a few vital
	functions (where we MUST check the return value), and then fix up
	all my sloppy programming...

2005-09-29  Richard Hughes  <richard@hughsie.com>

	* configure.in: Bump to 0.2.5.3

	* src/glibhal-extras.c (hal_is_laptop): Factor out this code into it's
	own function so we can use it in a different way...

	* src/gpm-prefs.c (gtk_set_label): Make a simple wrapper...

	* src/gpm-prefs.c (refresh_info_page) Make a function to populate the
	new "Information" tab present in the glade file.

	* src/preferences.glade: Add the new "Information" tab with system
	information. This is all very immature, and likely to change.

	* src/gpm-prefs.c (combo_setup_dynamic),
	src/gpm-main.c (get_policy_string): Make sure we check for a null
	gconf return string. This was reported by Myk Melez <myk@mozilla.org>
	where the gconf schema installation was incorrect. This means we
	shouldn't trigger the assert in gpm_common.c (convert_string_to_policy).

2005-09-28  Richard Hughes  <richard@hughsie.com>

	* src/gpm-libnotify.{c|h}: Factor out the notification stuff into
	these two new files.

	* src/gpm-prefs.c, src/gpm-prefs.c: use the new libnotify stuff and
	delete the local functions which do the same thing.
	Also fix desktops that do not have an LCD panel. Oops.

	* src/*.{c|h}: I've audited these files and added complete NULL
	dereference assert checks, and made sure *all* local pointers are
	always setup with deault value NULL. This may break stuff, but will
	make debugging easier.

	* src/gpm-notification.c (callback_about_activated): Use the
	gtk_about_dialog functionality instead of replying on depreciated
	functionality. Also add GNU licence and the translators.

2005-09-26  Robert Love  <rml@novell.com>

	* src/gpm-main.c: Daemonize by default, via daemon(3).  Add
	  "--no-daemon" flag.

2005-09-26  Richard Hughes  <richard@hughsie.com>

	* src/gpm-prefs.c, src/gpm-idle.c, src/gpm-screensaver.{c|h},
	src/glibhal-extras.c, .cvsignore, src/Makefile.am: Fix build warnings.
	Patch from Robert Love <rml@novell.com>, Many thanks.

	* src/configure.in: Apply many fixes from Robert Love, many thanks.

2005-09-26  Richard Hughes  <richard@hughsie.com>

	* gnome-power-manager.spec.in: Now kill gconfd-2 on update to force
	schema, and use @VERSION@ to make my life easier.

	* docs/compile.php, docs/faq.php: Add new information

	* src/glibhal-extras.c (hal_get_brightness_item): New function, to
	get the LCD brightness value.
	(hal_set_brightness_dim): New function, allows us to dim the screen
	slowly, rather than one big jump.
	We now support ONLY the new SetBrightness HAL API in HAL CVS.
	http://article.gmane.org/gmane.comp.freedesktop.hal/3280

	* src/gpm-notification.c: Remove some #if 0 stuff.

	* src/gpm-prefs.c: make the new functionality of format_value_callback_percent_lcd () so the slider can step only to allowed values.

	* src/preferences.glade: Make percentages have no decimal points.

	* src/gpm-main.c: Use the hal_set_brightness_dim functionality.

	* configure.in: Bump to 0.2.5.1

2005-09-22  Rodrigo Moya <rodrigo@novell.com>

	* src/gpm-prefs.c:
	* src/glibhal-extras.c: added missing string.h for 64bit compilation.

	* src/gpm-notification.c (callback_about_activated): fixed 64bit
	warning.

2005-09-21  Richard Hughes  <richard@hughsie.com>

	* src/gpm-prefs.c (main): Actually make gnome-screensaver detection
	work, and tie the sliders into divisions of 5 minutes.

	* gnome-power-manager.spec.in: Add dep on gnome-screensaver
	Also fix the directory owning problem, where we couldn't access our
	shared files on some machines.
	Reported by Ben Liblit <liblit@cs.wisc.edu> -- Thanks.

	* configure.in: Bump to 0.2.5 (odd = unstable).

2005-09-21  Richard Hughes  <richard@hughsie.com>

	* src/gpm-common.{c|h}: remove unused function
	convert_powerdevice_to_gnomeicon.

	* src/gpm-notification.c: remove the LCD sub menu as the icons have
	now gone. This belongs in an applet, if at all.

	* gnome-power-manager.spec.in: Add back the libnotify stuff as we are
	not building locally for redhat, and we provide libnotify rpm's.

	* configure.in: Bump to 0.2.4.

2005-09-21  Rodrigo Moya <rodrigo@novell.com>

	* src/gpm-main.c: include dbus-glib-lowlevel for
	dbus_g_connection_get_connection for clean 64bit compilation.

2005-09-20  Richard Hughes  <richard@hughsie.com>

	* src/glibhal-extras.c (hal_setlowpowermode): Only call SetPowerSave
	if system.formfactor is "laptop". Patch pending for PMU for HAL.

	* src/gpm-prefs.c: Remove all the GSCREENSAVER #ifdefs and switch to
	runtime detection of the dbus service.

	* configure.in: Remove detection for gnome-screensaver as we now do
	this at runtime.

	* src/Makefile.am: Add gpm-screensaver.{c|h} to gnome_power_preferences.

	* src/gpm-screensaver.{c|h}: Add funtion gscreensaver_is_running ().

2005-09-13  Richard Hughes  <richard@hughsie.com>

	* configure.in: bump to 0.2.3.2
	Also add the command line --enable-glibhal to try out the new code.

	* gnome-power-manager.spec.in: Updated with davidz's (redhat) changes.

	* docs/contact.php : Add Matthias Grimm, and Matthew Garrett to the
	credits - thanks guys!

	* docs/faq.php: Add "Why do events take so long to register?"

	* docs/gnome_power_manager.php : Move content from index.

	* docs/index.php: Add content from Matthias Grimm.

	* src/gpm-screensaver.{c|h}: New files for the GNOME Screensaver stuff.

	* src/gpm-idle.{c|h}: New files for the idle calculation stuff.

	* src/Makefile.am : Add these new files to gnome_power_manager

	* src/glibhal-* : Some tidying up, and wightspace fixes.

	* src/glibhal-main.{c|h} : Add is_hald_running (), hal_pm_check ().

	* src/gpm-main.c : Add calls to gscreensaver_set_throttle.
	Also check that we can connect to HAL before we start issuing commands,
	thanks to Trond Husø for pointing this out!
	Call the idle calculation function every 5 seconds.

	* src/gpm-prefs.{c|h} : Wightspace fixes.

2005-09-13  Richard Hughes  <richard@hughsie.com>

	* configure.in: bump to 0.2.3.1

	* Makefile.am, gnome-power-manager.service.in : Make DBUS
	auto-launch services work.

	* docs/compile.php : Add note about pmscripts and rawhide kernel

	* glibhal-callback : Rename registered to reg to avoid GCC complaining.

	* src/gpm-main.c : Add info to check the FAQ page before reporting
	emailing me with bugs.

	* src/gpm-notification.c : Change #if to #if defined(foo) to shut up
	GCC's extra warnings. Add note about running on a desktop machine.

	* src/gpm-prefs.c : Add config.h - this was causing libnotify not to
	be defined.
	Also add gpm_is_on_ac () so we can jumpstart g-p-m if not running, and
	display a warning if impossible.
	Also convert to the dynamic option comboboxes. This allows us to choose
	more sane options for each combo.

2005-09-09  Richard Hughes  <richard@hughsie.com>

	* src/glibhal-callback.{c|h} : Finish the backend code.

	* src/gpm-main.c : use the swanky new backend code. (still disabled by
	default)

	*  src/gpm-prefs.c, src/preferences.glade: Patch from
	Jaap Haitsma <jaap@haitsma.org> to remove the obsolete hdd spindown
	checkbox. Thanks!

2005-09-08  Richard Hughes  <richard@hughsie.com>

	* src/hal-glib.{c|h} : Removed these files.

	* src/dbus-common.{c|h} : New files providing the basic dbus glib
	functionality, e.g. dbus_get_service.

	* src/glibhal-main.{c|h} : New files providing the core glibhal
	functionality, e.g. reading a boolean value.

	* src/glibhal-extras.{c|h} : New files providing the extra glibhal
	functionality, e.g. changing the screen brightness.

	* src/glibhal-callback.{c|h} : New files providing the callback
	functionality of glibhal, e.g. libhal_device_removed.

	* src/*.c : Adjusted to new glibhal framework
	(which we still don't use yet - working with the old libhal)

	* src/Makefile.am : Adjusted to new glibhal framework.

2005-09-08  Richard Hughes  <richard@hughsie.com>

	* docs/faq.php, docs/index.css: Update, and make a quick table for all
	new faq's at the top of the page.

	* src/hal-glib.c (dbus_glib_error): Do not print to warning level for
	a missing key, only print to debug. This was causing false bugreports.

	* src/gpm-main.c (main): Fix the typo for session connection checks.
	This was the reason 0.2.2.1 was pushed out the door so fast. Thanks to
	Mike Bydalek for testing and reporting the problem so fast.

	* src/gpm-notification.c (get_tooltip_state): removed and inlined as
	only one user.

	* gnome-power-manager.spec.in: Fix the problem where stderr wasn't
	being redirected in the gconf section.

2005-09-07  Richard Hughes  <richard@hughsie.com>

	* configure.in: bump to 0.2.3

	* docs/pm.php, docs/menu.php: Remove PowerManager docs as obsolete.

2005-09-06  Richard Hughes  <richard@hughsie.com>

	* gnome-power-manager.schemas.in: Fixed the problem where the
	noticiation icon wasn't being shown by default.
	(Add the missing general/display_icon)

	* src/gpm-main.c: Warn user when dbus session server is not running

	* doc/faq.php: Add FAQ entry for the libnotify dbus problem.

	* src/hal-glib.c: Make get_system_connection and get_session_connection
	not abort on failed connection (as we wan't to trap the error.)

	* po/pl.po: New Polish translation by Michał Kastelik
	<mkastelik@gmail.com> - Many thanks.

	* configure.in: add pl translation.

	* configure.in, Makefile.am: Make docbook2man a automatic configurable.
	If this program is missing, the man files will not be built.
	Suggested by Eugenia Loli-Queru.

	* gnome-power-manager.conf, src/gnome-power-service.xml,
	src/gpm-common.h: s/net.sf.PowerManager/org.gnome.GnomePowerManager

	* docs/dbus_interface.php, src/gnome-power-service.xml, src/gpm-main.c:
	Add isOnBattery, isOnUps, isOnAC and remove isRunningOnMains.

	* src/gpm-common.h: Remove last bits of CVSHAL (obs. now we depend on
	0.5.4). Also make GPM_SIMULATE half-logical.

	* src/gpm-main.c: make more of LIBHAL_EXPERIMENT work -
	a future libhal replacement. (note, still disabled)

	* src/gpm-prefs.c: new function, gpm_is_on_mains() - so we can adjust
	the correct LCD slider depending if we are on AC or batteries.

	NEWS: Update, and format to standards, not just a random dumping ground
	for all my pre-paste news :-)

	doc/faq.php, doc/report_bug.php: Update with latest FAQ's :-)

2005-09-05  Richard Hughes  <richard@hughsie.com>

	* configure.in: bump to 0.2.2

	* src/makefile.am: Fix from wrobell <wrobell@pld-linux.org> to fix
	compilation on PLD Linux.

2005-09-05  Richard Hughes  <richard@hughsie.com>

	* gnome-power-manager.schema.in: Fix the problem where reboot or halt
	weren't being called correctly. i.e. do s/usb/usr. oops.

2005-09-04  Richard Hughes  <richard@hughsie.com>

	* configure.in: Add -fstack-check -pedantic -Wfloat-equal -Wundef
	-Wpointer-arith -Wbad-function-cast -Wredundant-decls to check code.

	* docs/images/drop-down.png, docs/gnome_power_manager.php:
	Remove surpus image.

	* docs/images/gpm-taskbar.png, docs/images/pref-advanced.png,
	docs/images/pref-main.png, docs/images/pref-options.png: Update.

	* src/gpm-common.c, src/gpm-common.h, src/gpm-dbus-test.c,
	src/gpm-main.c, src/gpm-notification.c, src/gpm-prefs.c,
	hal-glib.c, hal-glib.h: Fix up *lots* of compiler warnings, and make
	more C99 compliant. Also refactored code a little.

	* src/gpm-main.c: Add --version switch to just print the version.

	* doc/report_bug.php: New file, how to file a perfect bug.

2005-09-01  Richard Hughes  <richard@hughsie.com>

	* configure.in: Bump to 0.2.1
	Add new Italian translation by Daniele Medri <daniele@medri.org>.

	* src/gpm-common.h, gpm-main.c: s/LCDPanel/LaptopPanel to match HAL CVS.
	Move g-p-p enums to gpm-prefs.h.

	* src/gpm-main.c: Fix a problem for Andrew Duggan where the incorrect
	ACPI reading was tripping up our over-zealous checks. I've removed the
	check that was the issue, which should hopefully fix the issue.

	* src/gpm-prefs.c: Move get_devices_capability and
	get_devices_capability_with_value to src/hal-glib.c (
	hal_num_devices_of_capability, hal_num_devices_of_capability_with_value)
	Also do s/POLICY_NONE/POLICY_SLEEP.

	src/hal-glib.c: s/LCDPanel/LaptopPanel to match HAL CVS.

	src/preferences.glade: Fix combobox_sleep_type, and move to options tab.

2005-08-30  Richard Hughes  <richard@hughsie.com>

	* src/icons/gnome-power-system-ups-{0..8}-of-8.png: Added back by
	popular request.

	* NEWS: Update.

	* src/icons/Makefile.am: Add UPS icons.

	* src/gpm-notification.c: use UPS icons. Also fix a bug where {junk}%
	was dislayed when primary battery not present.

2005-08-30  Richard Hughes  <richard@hughsie.com>

	* configure.in: Bump to 0.2.0, signifying the obsolete of PowerManager.
	Also raise hal dep to 0.5.4

	* src/gpm-main.c: Remove code using USE_POWERMANAGER.

	* gnome-power-manager.schemas.in: Use "halt -s", not shutdown.

	* doc/faq.php: Explain the obsolete PowerManager.

	* gnome-power-manager.spec.in: Add "Obsoletes: PowerManager" so that
	we uninstall the PowerManager Daemon.

2005-08-30  Richard Hughes  <richard@hughsie.com>

	* src/preferences.glade: Fix the combobox padding, and make all siders
	update policy to "continous" so we can do some clever stuff with steps.

	* src/gpm-prefs.c: Rename capability to lcdpanel.

	* src/gpm-main.c: fix a warning for:
	"g_value_set_uint: assertion `G_VALUE_HOLDS_UINT (value)' failed"
	by switching to return a G_TYPE_UINT value.

	* src/gpm-main: (hal_set_brightness, hal_set_brightness_item):
	Create new functions to support the new
	org.freedesktop.Hal.Device.LCDPanel.SetBrightness method.

	* src/gpm-common.h: Add HAL_DBUS_INTERFACE_LCD

	* src/hal-glib.{c|h}: Move hal specificy code into here from gpm-main.

	* src/gpm-prefs: (format_value_callback_percent): Set to 1 digit
	precision, e.g. 56.3% so we can do steps.

	* src/gpm-prefs: (callback_hscale_changed): Add divisions support so
	we can lock to correct values for LCD brightness.
	This also lets us snap to 5 minute intervals for the sleep hscale's.

2005-08-26  Richard Hughes  <richard@hughsie.com>

	* doc/compile.php: Add information about CVS and Fedora core, and
	Fedora rawhide.

	* doc/faq.php, doc/menu.php, doc/index.css: Add FAQ page.

2005-08-21  Richard Hughes  <richard@hughsie.com>

	* src/gpm-common.c: removed update_percentage_charge as we now depend on
	CVS HAL.

	* src/gpm-main.c: Remove all code paths that rely on !CVSHAL.

2005-08-21  Richard Hughes  <richard@hughsie.com>

	* src/gpm-main.c, src/preferences.glade: removed the user setting of
	hard drive spindown time, and double click action.
	This was agued by many as having no place in the UI.

	* src/gpm-main.c (hal_setlowpowermode): add a new funtion to call
	SetPowerSave on the HAL root computer object.

	* Makefile.am: Use the new define, DBUS_SYS_DIR

	* configure.in: Add configuration for DBUS_SYS_DIR and DBUS_SERVICES_DIR
	I hope these don't break the RPM :-)

	* gnome-power-manager.service.in: new file, will act as a future service
	file for the dbus service.

2005-08-23  Richard Hughes  <richard@hughsie.com>

	* po/*.po, src/gpm-main.c: Changed explaination to explanation.

2005-08-21  Richard Hughes  <richard@hughsie.com>

	* src/gpm-main.c (update_has_logic): removed as we can trivially move the
	remaining checks into the state check function.
	Fix detection of onBatteryPower so that it's instantaneous.

	* src/gpm-prefs.c (get_devices_capability_with_value): New function, so
	that we can match a capability with a key string. Useful for buttons
	and ide drives.

2005-08-20  Richard Hughes  <richard@hughsie.com>

	* Make the gnome-power.foo files into gnome-power-manager.foo files.
	CVS churn...

	* src/gpm-common.h, src/hal-glib.c, src/hal-glib.h, src/gpm-main.c: Make
	hal_device_get_* to return success value rather than data so we can
	test for the tag not existing. This is needed for CVSHAL.
	Also add hal_free_capability convenience function.

	* src/gpm-prefs.c, src/gpm-main.c, src/gpm-common.h: Start getting rid of has*
	gconf data keys	- all that remain are hasBatteries and hasAcAdaptor -
	also need to make proper the solution in gpm-prefs w.r.t. the
	button handling.

	* gnome-power.schemas.in: Remove all the has* keys as we are not setting
	or reading these values now.

2005-08-19  Richard Hughes  <richard@hughsie.com>

	* src/gpm-notification.c, src/gpm-main.c, gpm-notification.h, src/gpm-common.h:
	Add a warning when show_icon is set to false.
	Remove the struct IconData as the show and show_if_full gconf values
	can now be read for each icon refresh as they are quick. The global
	variable main_icon could be reduced in scope to one function, so I did
	that too.
	Remove the setupData field as we can now set GPM_SIMULATE (instead of
	doActions) and verbose is just a global now.

	* src/gpm-notification.c: Removed the ability to generate our own icons,
	so we'll rely on the packaged ones. This desision wasn't taken lightly,
	but a11y considerations meant this had to be removed.

	* src/gpm-common.h: Add the HAL dbus defines.

	* src/gpm-main.c: Start adding the CVS HAL method support in. Also
	un-#if the GSCREENSAVER stuff - worst case we get a dbus warning if
	not present.

	* gnome-power.spec.in, doc/index.html: Bump to dep of hal 0.5.4

	* src/gpm-dbus-test.c: s/GPM_DBUS_POWEROFF/GPM_DBUS_SHUTDOWN to match.

	* gnome-power.schemas.in: Add general/cmd_reboot and
	general/cmd_shutdown so that we can get rid of PowerManager.

	* doc/index.html: Remove pmscripts as this has been taken over with
	pm-utils carried upstream.

2005-08-17  Richard Hughes  <richard@hughsie.com>

	* gnome-power.schemas.in: Remove /apps/gnome-power/lockdown/* as we can
	now use hald. Remove /apps/gnome-power-manager/policy/UPSCritical as we
	can use BatteryCritical. Improved lots of short descriptions.
	Do s/gnome-power/gnome-power-manager and s/AC/ac and
	s/Batteries/batteries (and convert StudlyCaps to usual_style) so that
	we are more consistant as a Gnome application. Fixes suggested by
	David Zeuthen.

	* src/gpm-notification.c, src/gpm-main.c, src/gpm-common.h: remove
	lockdown stuff,	and also use the new gconf keynames.

	* gpm-prefs.c: Remove combobox_ups_critical

	* TODO: Update.

	* src/gpm-main.c: Remove the GPMGLIB stuff as we don't compile anymore
	with !GPMGLIB thanks to all the new code.
	Also refactored the signal stuff into nice inline functions.

2005-08-16  Richard Hughes  <richard@hughsie.com>

	* src/gpm-dbus-common.{c|h}: Now the GLIB signal stuff is working,
	remove these empty files. The GLIB dbus stuff allows us to clean up the
	source substantially. I will be making the GPMGLIB stuff enforced,
	i.e. removing compatability with the older dbus's.

	* src/gpm-main.c (action_policy_do): New function (gscreensaver_lock).
	Add the commands to lock the screen using gnome-screensaver. Thanks to
	Diego González for the basis for this patch.

	* src/gpm-common.h: Add the GS_DBUS_SERVICE, GS_DBUS_PATH, and
	GS_DBUS_INTERFACE defines here.

2005-08-15  Richard Hughes  <richard@hughsie.com>

	* Apply patch from Steev Klimaszewski to change a TIMOUT to TIMEOUT
	- which I blame entirely on this laptop keyboard.

	* configure.in: Add --enable-gscreensaver to configure arguments so that
	we do not try to read in the gconf values and throw an error if this
	program is not built. We still need to write the auto check for
	gnome-screensaver in configure.in. Spotted by Steev Klimaszewski.
	

	
	* src/gpm-main.c, src/gpm-main.c: Sprinkle with #if HAVE_GSCREENSAVER
	so that we disable the un-needed parts.

	* src/gpm-dbus-common.c: Fix the PowerManager interface line. Note that
	this file is going when we go 100% glib.
	Also PowerManager support is going when HAL gets event support (soon).

	* src/gpm-notification.c: Remove setup.hasQuit and setup.hasActions and
	the associated logic.

2005-08-14  Richard Hughes  <richard@hughsie.com>

	* Update src/pixmaps/gnome-dev-acadapter.png so that it matches the
	"dfong" bluecurve theme.

	* gpm-main.c: Continue playing with LIBHAL_EXPERIMENT so that we can
	remove the libhal dep and use the pure glib bindings. With this we are
	uncovering lots of problems with the glib dbus bindings and so is a good
	thing :-) If you use LIBHAL_EXPERIMENT then please use CVS dbus, else
	little will work. Thanks to davidz and walters for all the help so far.

	* src/gpm_marshal.list: Added marshal file for use by glib-genmarshal

	* src/Makefile.am: Add support for gpm_marshall.c and gpm_marshall.h

2005-08-09  Maxim Dziumanenko <mvd@mylinux.ua>

	* configure.in: Added "uk" to ALL_LINGUAS.

2005-08-04  Richard Hughes  <richard@hughsie.com>

	* gpm-common.h: Add GPMURL define

	* gpm-dbus-common.{c|h}: Remove the signal stuff we don't use and we
	now use the glib method stuff unconditionally, so remove them.

	* gpm-main.c: Use the libnotify glib initialisation stuff.
	Also start experimenting with GLIB methods.

	* gpm-prefs.c: Use the libnotify glib initialisation stuff.

	* configure.in: Bump to 0.2.1

	* Makefile.am: Add the glib glue stuff.

2005-07-28  Richard Hughes  <richard@hughsie.com>

	* src/gnome-power-service.xml: Comment out stuff we are not using.

	* src/gpm-main.c: Continue playing with glib.

	* src/gpm-dbus-common.{c|h}: Remove the obsolete method functions
	Signals are next on the hit-list.

2005-07-28  Richard Hughes  <richard@hughsie.com>

	* src/hal-glib.c, src/hal-glib.h: new files for the glib libhal functions

	* src/Makefile.am: add hal-glib.{c|h} into the build.
	
	* src/gpm-main.c: use the glib libhal functions as it makes everything
	easier to read and debug.

	* src/gpm-main.c (pm_do_action, set_hdd_spindown_device): Communicate
	with PowerManager using the glib bindings. Try and initialise as much
	as we can with dbus-glib. Notice a trend?

	* src/gpm-main.h: put all constants in gpm-common.c

	* Makefile.am: Remove Makefile.in's on maintainer-clean

	* src/gnome-power-service.xml: Update without the veto prefix,
	and add signals - this will prepare for the glib bindings in the future.

2005-07-25  Richard Hughes  <richard@hughsie.com>

	* src/gpm-prefs.c: Make sure we only use GCONF_ROOT once.
	Add libnotify box informing user that they do not have gnome-screensaver
	DPMS support.

	* src/gpm-common.h: Move NOTIFY_TIMOUT here.

	* src/gpm-main.c: Remove invalid gconf check.
	Added support for writing /apps/gnome-screensaver/dpms_suspend for
	gnome-screensaver.

	* configure.in, src/Makefile.am, src/gpm-notification.c,
	src/prefs.c: Make libnotify a configurable build option, on the advice
	of David Zeuthen.

	* gnome-power.spec.in: Add --enable-libnotify.

2005-07-25  Richard Hughes  <richard@hughsie.com>

	* gnome-power.spec.in: Do not restart messagebus on install

	* src/gnome-power-service.xml: new file, prepare for dbus glib'ification.
	We will be able to remove lots of code when we use the glib bindings.

2005-07-21  Richard Hughes  <richard@hughsie.com>

	* src/gpm-dbus-test.c: Added back the NameOwnerChanged signals.
	Add some #ifdefs to allow test.c to use gpm-dbus-common.h
	Added some help text in the --help screen.

2005-07-21  Richard Hughes  <richard@hughsie.com>

	* README, docs/index.html: updated dep information.

	* src/preferences.glade: Add some new sexy stuff.

2005-07-21  Richard Hughes  <richard@hughsie.com>

	* dbus-interface.html: Removed as information is more up to date in docs/

	* autogen.sh: Changed to use gnome-common

	* src/sounds/critial.wav: New sound file from GAIM for critical notification

	* src/sounds/normal.wav: New sound file from Iagno for other notifications

	* src/gpm-main.c (use_libnotify): Now do a sound for the notifications.
	I don't think libnotify supports this yet, but when it does, this should
	"just-work" :-)

	* src/gpm-prefs.c (recalc): Add support for missing lid/power/sleep buttons.
	Also add the GCONF_ROOT prefix to the keys manually, so we can use
	gnome-screensaver ones in the future.

	* src/preferences.glade: Name the labels so that the above works correctly.

	* gnome-power.spec.in: Add gnome-common dep, and update others.

	* configure.in: Add src/sounds/Makefile and src/icons/Makefile

	* src/sounds/Makefile.am: New file, to add the wave files.

	* src/icons/Makefile.am: New file, and move over the icons. This means we
	can install different icon sets, e.g. bluecurve, gnome or LowContrast if
	people don't like the icons.

	* src/gpm-notification.c (callback_about_activated): No point displaying
	"Unknown Translator" for un-translated files.

2005-07-20  Richard Hughes  <richard@hughsie.com>

	* src/pixmaps/gnome-power-system*.png: New icons thanks to Diana Fong
	and David Zeuthen. They look great - thanks!

	* docs/images/*.png: Update screenshots to a bit more recent.

	* src/gpm-notification.c (get_icon_position): New function, tell libnotify
	where to point to. This is a bit rough-and-ready at the moment but seems to
	work well.

	* src/gpm-main.c (use_libnotify): Now setting an image with position, lets
	see what people think.

	* src/gpm-dbus-server.c (dbus_method_handler): Add in all the existing
	signals as methods. dbus-glib, where for art thou. :-)

	* src/gpm-dbus-server.c (dbus_signal_filter): Removed support for the
	signal API.

2005-07-19  Richard Hughes  <richard@hughsie.com>

	* src/pixmaps/gnome-power.png: New file (we now have an icon thanks to
	Diana Fong)

	* src/pixmaps/Makefile.am: Added gnome-power.png

	* configure.in: We now require dbus-glib-0.35.2 (an unpopular move).
	I want to use the new glib bindings throughout the programs. There is too
	many dbus wrapper-type functions that add to bloat and make the program
	generally difficult to read. After reading the dbus-glib sample code,
	I'm sure this is the way to go. For all you FC4 users, rawhide's DBUS seems
	to work well with no ill effects.

	* doc/*: Updated documentation with new logo, and a few new screenshots.

	* src/gpm-dbus-test.c: Converted to just use the glib bindings - this file
	is a bit of a mess at the moment, but you see the plan. I'm thinging making
	ACK, NACK etc, into methods instead of signals. Methods seem more the right
	thing to use, so I'll start converting gpm-dbus-server.c to accept these
	methods instead.

	* src/gpm-dbus-server.c: Add in method support for ACK, others to follow.

2005-07-18  Richard Hughes  <richard@hughsie.com>

	* configure.in: Changed module name to gnome-power-manager to better
	reflect the gnome module name. The next release will have a tarball
	gnome-power-manager.tar.gz instead of gnome-power.tar.gz

	* src/pixmaps/Makefile.am: New file, splitting from src/Makefile.am -
	I should have done this a long time ago.

	* Makefile.am, src/Makefile.am: Tidy up, and move the build of
	preferences.glade to src/ - it never belonged here anyway.
	Also, we'll now use /usr/share/gnome-power-manager to be more specific.

2005-07-18  Adam Weinberger  <adamw@gnome.org>

	* configure.in: Added en_CA to ALL_LINGUAS. I think it's important
	  right now to note that nearly every single source string in the
	  entire program has at least one grammar or spelling error.

2005-07-17  Richard Hughes  <richard@hughsie.com>

	* src/gpm-notification.c: Made eggtrayicon a global, and got rid of the
	complicated icon->td structure. We don't need to be so complicated now
	we only have one icon.

	* src/*dbus*.c: Added note that we will be changing to glib bindings soon.

	* TODO: updated.

2005-07-17  Christophe Merlet  <redfox@redfoxcenter.org>

	* configure.in: Added "fr" to ALL_LINGUAS.

2005-07-16  Christian Rose  <menthos@menthos.com>

	* configure.in: Added "sv" to ALL_LINGUAS.

2005-07-15  Richard Hughes  <richard@hughsie.com>

	* src/gpm-dbus-server.c (vetoActionUnregisterInterest): Add an option so we
	can supress the error (for random client disconnections)

	* src/gpm-prefs.c (main): set hscale_battery_critical on load, not just on
	change,	else we get the slider changing in unpredictable ways.

	* src/gpm-*.c: s/g_assert/g_return_if_fail and g_return_val_if_fail
	This will make the programs a little more error friendly (we still get
	critical errors, but the program doesn't die)

	* src/gpm-notification.c: Finish removing the low_icon mess.

	* src/gpm-notification.c (callback_about_activated): Added translatable
	string "Unknown Translator" for all you translators to get a bit of credit.

2005-07-15  Terance Sola  <terance@lyse.net>

	* configure.in: Added "nb" and "no" to ALL_LINGUAS.

2005-07-14  Richard Hughes  <richard@hughsie.com>

	* gnome-power.preferences.desktop.in:
	Replace "GNOME Power Preferences" with "Power Preferences" - we shouldn't
	have "GNOME" in the Preferences menu title.

	* src/gpm-main.c (read_battery_data): Re-arrange the initialisation to
	known defaults so that valgrind doesn't get upset with a UPS attached.

	* gnome-power.schemas.in: Added criticalThreshold value

	* gpm-prefs.c (callback_hscale_changed): Add in new code for
	criticalThreshold, and make sure that criticalThreshold > lowThreshold
	by changing the limits of the criticalThreshold slider.

	* src/gpm-main.c (property_modified): Added notification and action for
	battery critical. Now we are cooking with gas.
	p.s. Thanks to the translators for all the recent work. Appreciated.

2005-07-15  Abel Cheung  <maddog@linuxhall.org>

	* configure.in: Added "mk" to ALL_LINGUAS.

2005-07-13  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

	* configure.in Added to LINGUAS "es" and missing  "pa" and "zh_CN".

2005-07-13  Richard Hughes  <richard@hughsie.com>

	* configure.in: Add check for libnotify.

	* src/gpm-common.c: Add initial code for libnotify support. Patches for
	libnotify and DBUS 0.33 have been sent upstream, along with a spec file
	for FC4. Ubuntu is also packaging this in the next few weeks, so the
	extra dep shouldn't be a problem.

	* src/gpm-main.c (use_libnotify): new function, convenience. Added lots more
	notifications where we used to have dialogues, for the warning states.

	* src/gpm-common.c (property_modified): Fix bug where update_state_logic
	was being called with coldplug TRUE, when it quite plainly isn't.

	* src/gpm-common.c (get_timestring_from_minutes): Fix translationable string
	to be constant number. Fix from Hendrik Brandt, thanks.

	* gnome-power.schemas.in : Change tense of a description to be less like the
	borg :-) Fix from Hendrik Brandt, thanks.

	* doc/*: Added lots more information and other images.

	* src/preferencs.glade: Name the new label label_double_click so we can
	disable it :-)

	* src/gpm-prefs.c: Disable the double click stuff for now

	* src/gpm-main.c (property_modified): Add the code where the user is
	informed of the low battery state. This works for any rechargeable device.

2005-07-12  Richard Hughes  <richard@hughsie.com>

	* src/gpm-main.c (set_hdd_spindown): New stub function that sets the
	spindown for all hard-drives attached to the system.

	* MAINTAINERS, README.cvs: new files, needed for movement to GNOME CVS
	servers. I'll update the help when they allow anonymous checkouts.

	* doc/*: New folder with quite a bit of documentation in HTML form.

2005-07-12  David Zeuthen  <davidz@redhat.com>

	* src/gpm-notification.c (create_icon_pixbuf): Use the new icons
	for system-wide power state so it's much easier to theme

	* src/Makefile.am:
	(Data_DATA): Add pixmaps/gnome-power-system[-ac]-[0-8]-of-8.png

	* src/pixmaps/gnome-power-system[-ac]-[0-8]-of-8.png: New files

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

	* gnome-power.spec.in : Added depend of PowerManager - this is now the
	only way we can call root scripts. PowerManager is only a temp fix,
	HAL will have the required actions soon.
	Fedora Extras fixes from Andreas Thienemann, thanks!

	* gnome-power.schemas.in : Removed the scripts/ gconf directory.
	Removed the ShowIconLow boolean as we don't support this anymore.

	* src/gpm-dbus-common.c : Add convert_dbus_enum_to_string () so we can make
	the interactive prompts more user-friendly.

	* src/gpm-dbus-list.c : Removed, as we can use the dbus tools instead.

	gnome-power-manager.sgml, gnome-power-preferences.sgml : New files from
	Oliver Grawert <ogra@ubuntu.com> for man support. Still need to fill these
	in to be complete, and up to date (and to patch Makefile and spec) but
	I've uploaded them so people can see them and improve them.

2005-07-07 Richard Hughes  <richard@hughsie.com>

	* src/gpm-dbus-common.h : Renamed net.sf.PowerManager to
	net.sf.GnomePower so we can use a desktop agnostic backend.
	Add PM_DBUS_INTERFACE as a test.

	* src/gpm-dbus-common.h : Create pm_do_action () as a test using PM_DBUS.

2005-07-04 Richard Hughes  <richard@hughsie.com>

	* dbus-interface.html : New file, detailing the DBUS interface and
	progress.

	* src/gpm-dbus-server.c : Continue to impliment the spec (above)

	* src/gpm-dbus-test.c : Start writing lots of tests so we can really
	pound the PowerManager DBUS interface.

	* src/gpm-main.c : Now does action ACPower fail. Noticed by Ow Mun Heng.

	* .cvsignore, po/.cvsignore, src/.cvsignore : New files to help me
	keep on top of the CVS directories.

2005-07-02 Richard Hughes  <richard@hughsie.com>

	* src/gpm-dbus-test.[c|h] New files for test DBUS service.
	* src/gpm-dbus-list.[c|h] New files for test DBUS service.
	* src/gpm-dbus-server.[c|h] New files for test DBUS service.
	* src/gpm-dbus-test.[c|h] New files for test DBUS service.
	* gnome-power.conf : New DBUS conf file
	(belongs in /etc/dbus-1/system.d/)

	* src/Makefile.am : Added the above files to build the new DBUS bits.

	* src/clipboard.{c|h} : Removed these files as we can use DBUS for
	startup checking.

	* Makefile.am : Installed /etc/dbus-1/system.d/gnome-power.conf
	* gnome-power.spec.in : Install /etc/dbus-1/system.d/gnome-power.conf
	and restart messagebus.

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

	* src/gpm-notification.c : Removed the low icon code in prep for
	DavidZ and Andrei's patches. Code is simpler and less complicated.
	Also created create_virtual_of_type() to play with. May be usefull for
	multi-instance devices like batteries where we want to average the values.

2005-06-30 Richard Hughes  <richard@hughsie.com>

	* src/prefs.glade : split some options into a new tab.

	* src/gpm-notification.c : After discussing with Paul Ionescu, I've
	created the new funtion get_percentagecharge_batteries () that
	understands multibattery setups. Hopefully this should be useful.
	Also made this function work. += is the correct line, =+ is incorrect!

	* src/gpm-notification.c : Also added the new functions
	get_tooltip_state () and get_object_tooltip () which will hopefully
	help the work Andrei is doing with the new left click menu.

2005-06-28 Richard Hughes  <richard@hughsie.com>

	* Makefile.am : Fix typo that was tripping up intltool-*
	* src/Makefile.am : Add *.h files so that we pass make distcheck
	Patches from Andrew Duggan - thanks.

2005-06-27 Richard Hughes  <richard@hughsie.com>

	* PATCH: Converted names to be clearer on advice of Jaap Haitsma:
	common 	-> 	gpm-common
	gpm 	-> 	gpm-main
	gpn 	-> 	gpm-notification
	prefs 	-> 	gpm-prefs

	You can get the old versions using:
	http://www.cs.utexas.edu/users/almstrum/cs373/general/cvsguide.html#revision

	* Removed icons.{c|h} as we don't need stub functions.

2005-06-22 Richard Hughes  <richard@hughsie.com>

	* src/gpn.{h|c} : Add showIfFull to IconData struct so we can update
	on the fly.

	* src/prefs.c : Fix a bug where we automatically overwrite the value of
	displayIconFull and displayIconLow (to true) on g-p-p startup.

	* src/Makefile.am : Remove discharging.png as it's no longer part of
	the build.

	* src/gpn.c : new function get_object_of_powertype () - helps us with
	the displayIconFull problem. We should do the right thing with the
	main icon now. Reported by Paul Ionescu - Thanks.

2005-06-21 Richard Hughes  <richard@hughsie.com>

	* src/common.c : Add POWER_AC_ADAPTER to convert_powerdevice_to_gnomeicon

	* src/gpm.c (add_ac_adapter) : Make sure we set struct fields
	(like isRechargeable) to a known value. Fixes the problem of a desktop
	showing an ac_adapter icon with an overlay.
	Also create a new funtion (read_battery_data)to seporate creating the
	battery object and populating it. Solves the crash at boot with no
	batteries inserted. We can also populate known data if the battery isn't
	present like we did for ac_adapter.
	Reported by Paul Ionescu. - Thanks.

	* src/Makefile.am : Change ac_adapter.png to gnome-dev-acadapter.png

2005-06-19 Richard Hughes  <richard@hughsie.com>

	* po/de.po : New file - translation from Hendrik Brandt - thanks!

	* src/{gpm|prefs|gpn|common}.c : Mark some strings translatable

	* po/POTFILES.in : Add the above files for translation.

	* configure.in : add translation de.

	* src/gpn.c : Add initial LCD work, but don't enable it yet.

2005-06-19 Richard Hughes  <richard@hughsie.com>

	* src/{gpm|prefs|gpn}.c : replace /apps/gnome-power/ with GCONF_ROOT

	* src/common.c : make some simple functions return gchar rather than
	GString to speed them up. We don't need to be overly clever for no gain.
	Removed convert_powerdevice_to_haltype () as unused.

	* gnome-power.schemas.in : Add /apps/gnome-power/general/displayIconFull
	so we can ignore a fully charged device. Requested as feature.
	Also add:
	/schemas/apps/gnome-power/lockdown/{shutdown|suspend|hibernate|reboot}
	so we can use sabayon to lock down users to not do specific things.
	Distros can use this (e.g. Fedora) if they consider an action dangerous.
	We could use HAL in the future for this information, and we definatly
	need to work out what the hardware can do. No point displaying
	"Hibernate" if the machine is of type APM, for instance.

	* src/prefs.c : Added variable displayIconFull and added in checks for
	the new checkbox checkbutton_display_icon_full.

	* src/common.h : Added lockdown stuff to SetupData.

	* src/gpm.c, src/gpn.c : Read in lockdown information to SetupData, and
	apply when needed. Only refreshed on program invocation as the data
	isn't going to change frequently, if at all.

2005-06-18 Richard Hughes  <richard@hughsie.com>

	* configure.in : Bump to 0.0.6 as I released 0.0.5 today.

	* src/prefs.c : Remove the horror that was getPolicyFromWidgetname ()
	- replace with sexy g_object pointers.

	* gnome-power.schemas.in : Add /schemas/apps/gnome-power/scripts/
	{shutdown|suspend|hibernate|reboot} after talking to David Zeuthen about
	HAL events (which might not be used on all distros/archs..)
	We can always use:
		dbus-send --system --dest=org.freedesktop.Hal  \
		/org/freedesktop/Hal/devices/computer \
		org.freedesktop.Hal.Device.SystemPower.Suspend
	When HAL event support is added, this can be patched in by distros.

	* src/common.h : Added ACTION_REBOOT

	* src/gpn.c : Added callback_actions_activated so we can get some
	callbacks for the actions such as "Shutdown"
	Also add menu_add_separator_item to split the menu up a bit,
	Add menu_add_action_item's for all the states. At the moment all the
	states are shown (irrespective to whether supported) but this is mainly
	for my testing.

	* src/Makefile.am, src/pixmaps/gnome-* : Add icons for actions.

	* src/common.c, src/prefs.c : Remove stdio.h includes as not required.

	* src/info.c : Removed as unused.

	* src/gpm.c : Added call to g_type_init () as some users were getting:
	GLib-GObject-CRITICAL **: gtype.c:2254: initialization assertion failed,
	use IA__g_type_init() prior to this function.
	- lets hops this fixes it.

	* src/gnome-power.spec.in : Fixed a typo where integer should be int.

2005-06-16 Richard Hughes  <richard@hughsie.com>

	* src/gpm.c, src/common.c : valgrind doesn't like "Conditional jump or
	move depends on uninitialised value(s)" when ->present is assumed true.
	Add check in add_ac_adapter () just use the ->percentageCharge directly.

	* src/gpn.c (create_icon_pixbuf) : Use gtk_icon_info_free () as we
	leak memory otherwise. Thanks valgrind.

	* src/gpm.c : Add check for battery.charge_level.rate so we don't spew
	g_message's.

2005-06-15 Richard Hughes  <richard@hughsie.com>

	* src/*.[ch] : Fix from David Zeuthen to get rid of DOS newlines.
	The moral of the story is not to email yourself code from outlook.

	* src/*.[ch] : Add in GPLv2 text to make licencing clearer.

	* src/*.c : Make code better fit in 80 char line.

	* src/gpm.c : Remove UPS hack as patch is upstream.

	* src/logger.* : Removed these files as we are swiching to glib
	based logging.

	* src/gpn.c, src/gpm.c, src/common.c, src/icons.c, src/prefs.c : Switch
	to g_log functions from GPM_ type macros. Smaller code, yay.

	* src/common.c : New function, g_log_ignore (this will ignore messages
	for us when non-verbose)

2005-06-13 Richard Hughes  <richard@hughsie.com>

	* src/gpn.c, src/gpm.c, src/common.c, src/icons.c, src/prefs.c :
	Remove "!= NULL" from g_assert statements as not needed.

	* Added code from Andrei Yurkevich for dynamic icons,
	e.g. icons that do not have the colour bar hardcoded. Big thank you.

	* src/gpn.c : New functions: level_bar_get_color, create_icon_pixbuf

	* src/icons.c : new function: icon_modify_image_pixbuf

	* src/common.c : New function: convert_powerdevice_to_gnomeicon
	Removed : get_icon_filename, get_powerstate_discrete

	* src/Makefile.am : Remove all the icons, and move some to pixmaps,
	also removed reference to object_table.c

	* src/icons/* : Removed thanks to Andrei!

	* src/pixmaps/* : Removed existing, replaced with GNOME default
	device icons so we are portable without complicated
	configue.in checks.

	* src/gpn.* : Removed filename field as it's not needed.

	* src/object_table.* : removed array functions, g_ptr_array is quick
	and more efficient than an array ,and gives us smaller, more
	elegant code.

	* src/common.h : removed MAX_ICONS for good :-)

	* configure.in : Bumped version to 0.0.5 (as we have had a
	LOT of new code in the last few weeks)

2005-05-31 Richard Hughes  <richard@hughsie.com>

	* src/gpn.c, src/gpn.c : New files - takes the notification
	functions out of gpm.c and make it more manageable in size.
	For the moment, use shared variables (no need for IPC as we
	are still one program..)

	* src/gpm.c : Convert to use the new gpn_ functions provided
	by gpn.c - also allow us to use the new constants ICON_MAIN,
	ICON_LOW and ICON_ALL.

2005-05-29 Richard Hughes  <richard@hughsie.com>

	* src/object_table.c : make object_table_find return void, and
	convert slotData to NULL if we do not find object - this will
	trigger the g_assert'ion, rather than seg-faulting in
	gpm.c:property_modified

	* src/gpm.c : To prevent g_assert'ing when first adding an
	ac_adapter after we have booted, add ac_adapter
	unconditionaly on present state.

2005-05-25 Richard Hughes  <richard@hughsie.com>

	* src/gpm.c : Add new functon "powerDeviceToHalType" to convert
	the powerDevice to the HAL name.
	Get action_policy_do working again, so that *Shutdown* events
	are triggered.
	Simplify property_modified so that we only check battery* and
	ac_adapter* keys. Also BUG when we can't find the device, as
	this signifies a bug in HAL.

	* src/icons/primary* : Rename the battery- icons to primary to
	avoid confusion with other types of batteries (this lets us use
	powerDeviceToHalType and simplify getIconFilenameFromSlot)

	* src/icons/pda*-c|-d* : Create the PDA charging/discharging
	icons so we could use them in the future if we wish.

	* src/Makefile.am : Add new PDA icons, and stop installing
	icons that we no longer use!

	* src/*.c : Changed some StudlyCaps function names to be more
	C-like, and consistant e.g.
	"getHoursStringFromMinutes" -> "get_timestring_from_minutes"
	Also changed a lot of int's to gint's and chars to gchars for
	glib portibility (makes no difference at the moment).

2005-05-25 Richard Hughes  <richard@hughsie.com>

	* src/common.c, src/common.h, src/gpm.c : Add a patch from
	Andrei Yurkevich for PDA support, see http://synce.sf.net
	for the hal-addon. Thanks!

	* src/common.c : refactored a lump of code to the function
	HalTypeToPowerDevice to abstract gpm.c a little.

2005-05-17 Richard Hughes  <richard@hughsie.com>

	* src/gpm.c : AC_ADAPTER should not be a valid choice for
	icon_low - check for this. Also document a few functions while
	I'm here.

2005-05-16 Richard Hughes  <richard@hughsie.com>

	* src/gpm.c, src/common.c, src/icons.c, src/prefs.c : Add a
	load of g_assert's to try and find all the funny crashes and get
	rid of the unneeded error paths where abort would be the best
	solution.

	* src/gpm.c : Be a lot more careful with freeing memory.
	Remove kludgey string logic in getIconFilenameFromSlot and use
	itegers and %03i format.

	* src/preferences.glade : Add the low threshold slider.

	* src/prefs.c : Support the new slider, adding new callback tools
	and modifying policy lookup function (getPolicyFromWidgetname)

	* src/gpm.c : Make threshold slider dynamically add/remove low icon.

2005-05-14 Richard Hughes  <richard@hughsie.com>

	* src/gpm.c : Fix a segfault in the situation on having no low
	power devices attached. Should also sort the problem of running
	GPM on a PC without any powerdevices, but this I'll have to check.
	Fixed a memory-leak where we were not calling free_icon_structure
	after removing an icon.

2005-05-13 Richard Hughes  <richard@hughsie.com>

	* src/gpm.c : fixed the saving of remaining_time for batteries.
	Rename the function mememe as it's a point of embarrassment. :-)
	Make get_main_tooltip use powerDeviceToString for consistency.

	* gnome-power.schemas.in : Added lowThreshold to the schema

2005-05-12 Richard Hughes  <richard@hughsie.com>

	* src/common.*, src/gpm.c : FINALLY sorted out the mess that was icon
	and tooltip generation. Next on my list is the actions support which
	is a mess as well. Lots of changes.

	* src/icons.* : Removed the filename parameter from icon_create to
	avoid having to do clever things before creating the icon. This may
	display the GTK broken image for a split second while loading,
	although I can't see it on my laptop at all.

	* src/object_table.c : Removed use of removed properties. Less junk.

	* gnome-power.schemas.in : Added displayIconLow to the schema

	* src/prefs.c, src/preferences.glade : Added displayIconLow support.

2005-05-11  Richard Hughes  <richard@hughsie.com>

	* src/common.* : Got rid of the ACPI calculation as the patch is now
	in HAL CVS that makes time_remaining part of the interface. Nice.

	* src/gpm.c : Got rid of the special case ACPI calculations.

	* gnome-power.schemas.in : Updates policy to reflect what we are
	actually using, and choose some defaults.

	* src/common.c : policyoption_to_enum, enum_to_policyoption :
	new functions to convert the enum ACTION_HIBERNATE into a string
	"hibernate" and vice versa, for use in gconf to prettyfy names.
	Still needs some work.

2005-05-09  Richard Hughes  <richard@hughsie.com>

	* src/* : Changed printf => g_print and fprintf(stderr) => GPM_ERROR
	on advice of Jaap Haitsma, thanks.

	* ../hal : Fixed up so that UPS's always set battery.present = TRUE.
	Also making progress on moving battery.time_remaining into HAL, rather
	than the mess of special cases we have in GPM at the moment.

	* src/common.* : New function, powerDeviceToString to make easy work
	of converting a magic number into a human string.

2005-05-08  Richard Hughes  <richard@hughsie.com>

	* src/icons.c, src/icons.h : Re-implimented the notification area
	icon destroy/create/modify functions to be more logical and
	segfault friendly as these functions have caused lots of crashes.
	Also made the dropdown menu icon specific rather than global for the
	different types of icon.

	* src/gpm.c : Changed to use new icon functions and misc cleanups.

	* src/common.h : Removed redundant icon checking fields.

	* src/prefs.c : Make the icon checkbox get it's value from gconf.

2005-05-05  Richard Hughes  <richard@hughsie.com>

	* New frontend according the GNOME HIG (2 weeks work!)

	* Backend displaying multiline tooltip and single icon, unless
	battery device is low (todo!)

	* Begin switching char* functions into GString functions.

2005-04-19  Richard Hughes  <richard@hughsie.com>

	* src/preferences.glade : misc grammar/spelling fixes from
	Simon Howard, Thanks!

	* src/icons/ups-*-*.png, src/Makefile.am: New UPS discharge and
	charge icons to match battery.

	* src/common.c : Support new UPS charging and discharging icons.

2005-04-18  Richard Hughes  <richard@hughsie.com>

	* configure.in, NEWS : Bumped version to 0.0.4

	* src/prefs.c : Removed the users ability to show/hide the
	ac-adapter icon as this is going away in 0.0.4

	* src/gpm.c, src/alert.c : Removed the alert checkbox on the
	advice of Paul Ionescu.

	* src/common.c : Removed getFilenameNumberFormat to simplify logic.

	* src/common.h : Added isDischarging property because
	isDischarging != isCharging :-)

	* src/icons/battery-*-*.png, src/Makefile.am: New discharge and
	charge icons, thanks to Paul Ionescu for the mockup and
	David Zeuthen for the idea.

2005-04-07  Richard Hughes  <richard@hughsie.com>

	* src/gpm.c : Fix some seg-faulting goodness when we try to modify
	a tooltip of an icon that was never created.
	Also added lots of function comments.

	* src/prefs.c : Make checkboxes use a SList like the combos.
	This neatens things up, and means gconf policy name doesn't have to
	match the libglade widgetname.
	Made the "help" button lauch a web-browser displaying g-p-m homepage.
	Also added lots of function comments.

2005-04-06  Richard Hughes  <richard@hughsie.com>

	* src/Makefile.am : Tidy up, don't include .h files here.

	* src/prefs.c : Got rid of the nasty, nasty arrays.

	* src/prefs.h : New file, just for preferences stuff

2005-04-05  Richard Hughes  <richard@hughsie.com>

	* src/gpm.c : Patch from Andrei Yurkevich to fix seg-fault on DBUS
	initialisation, thanks!

	* src/prefs.c : Massive overhaul so that gconf ky name is decoupled
	from libglade name - this lets us choose pretty names in gconf.
	Also made so that lcd_brightness is measured in percent in gconf
	so power-users could make changes without looking up the enum.
	Added error checking and suitable framework.

	* gnome-power.schemas.in, src/gpm.c, src/prefs.c : Make gconf names
	pretty, not ones derived from libglade.

2005-04-04  Richard Hughes  <richard@hughsie.com>

	* src/alert.c, src/alert.glade : New files for the about dialogue for
	battery low notification.

	* src/Makefile.am, Makefile.am : added information for gnome-power-alert,
	Uncommented the gconf install line, install .desktop file.

	* src/pixmaps/* : Added new icons with battery icons superimposed.

	* src/common.*, src/gpm.* : Removed .enabled from the struct, now using
	POWER_NONE to signify that there is no device. Also done lots more checking
	for NULL for the slotBase structures being passed around.

	* gnome-power-preferences.desktop.in : New file, create launcher to modify
	GNOME Power Preferences from the GNOME system menu.

	* gnome-power.spec.in : First version of the RPM spec, based mainly on
	GNOME Volume Manager's spec file. Produces RPM's ok, I think.

2005-04-03  Richard Hughes  <richard@hughsie.com>

	* autogen.sh : Made to automatically run ./configure on the advice of
	Jaap Haitsma.

	* src/gpm.c src/common.c : Add tweaks, and start to make interface suitable
	for DBUS.

	* src/common.h, src/icons.h, src/object_table.h : Split prototypes for
	header files to clean up include mess.

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

	* src/logger.c, src/logger.h : New files for logging
	Shamelessly copied from hald, by David Zeuthen

	* src/gpm.c, src/common.c : Updated to better support Logitech mice and
	changed all the printing to stdout to use the new logging functions.

	* src/gpm.c, src/prefs.c, src/common.h, src/preferences.glade :
	Implemented the /icons/icon* gconf properties so that users can hide
	or show icons.

	* src/common.h : Removed type for battery, now we'll use a string for speed.

	* Makefile.am : Removed local-build powermanager.c - oops.

2005-03-30  Richard Hughes  <richard@hughsie.com>

	* doc/ : removed the temporary directory and split into the new
	CVS module www.

	* src2/ : removed the developmental directory and split into the new
	CVS module power-manager. The code is in flux, and probably will
	not compile or run for a while. I'm concentrating on PowerManager before
	I work anymore on the GNOME GUI.

	* www/* : Updated the directory with new php based layout from Jaap.

2005-03-25  Richard Hughes  <richard@hughsie.com>

	* prefs.c, preferences.glade : rebuild menus...
	New file structure, with tabbed layout and more options. There are
	no schemes now, as they make no logical sense in the current format.

	* g-p-m.schemas.in, added new properties for policy, and removed schemes.

	* docs/index.html, change references to module head to gnome-power
	For GNOME Power Manager to build in jhbuild, the CVS module name must
	be similar to the project. Renamed head to gnome-power.

	* gnome-power.modules, new file:
	Added template for jhbuild users, thanks Jaap Haitsma!

	* TODO, Added list of things to do!
	* NEWS, Added list of releases, well, both of them.
	* README, Added link to website.
	* HACKING, Added plea for help!

2005-03-24  Richard Hughes  <richard@hughsie.com>

	* src/common.c, new function : updateLogic()
	This function runs through the old state, calculates the new
	state, then performs and notification actions. It obsoletes
	most of do_action() and all of the hasBatteriesCheck type code.

	* src/gpm.c, Misc, Hooks added to most of the update code to support
	updateLogic (where appropriate).

	* src/common.h, make enums match CodingStyle, also added lots more
	states to the StateData structure to support updateLogic().

	* src/common.c, Made the percentage/mWh calculations more common, and more
	resistant to errors.

	* src/prefs.c, Made the PowerState ComboBox change the others according to
	policy. Also values now populated dynamically, not in the glade file.
	Static policy in use, and documentation has been updated.

2005-03-23  Richard Hughes  <richard@hughsie.com>

	* src/prefs.c, new file:  - also imported all the pixmaps into
	cvs and worked trying to connect up all the signals.

	* src/gpm.c: Added new option to drop-down on all the icons for preferences
	dialogue, and set the file to execute.

	* src/common.c: Also added preliminary gconf backend, "Preferences" will
	dynamically adjust it's output depending on the gconf settings.

	* Removed some compiled files that snuck into CVS.

2005-03-22  Richard Hughes  <richard@hughsie.com>

	* src/properties.glade, new file:
	Added preliminary glade properties file, with thanks to David Zeuthen
	for the original.

	* mkinstalldirs, new file: Add a needed file for "make install". Oops.

2005-03-21  Richard Hughes  <richard@hughsie.com>

	* Initial release of 0.0.2
