From 8fa9569a7ffa278496fcadbeb495262eb1ddf7fe Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sun, 26 Aug 2012 13:39:39 -0500 Subject: [PATCH] Restore inadvertent changes to the Changelog text file. --- ChangeLog | 114 +++++++++++++++++++++++++++--------------------------- 1 file changed, 57 insertions(+), 57 deletions(-) diff --git a/ChangeLog b/ChangeLog index d0c9899..2908cd0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -50,8 +50,8 @@ When use DBUS_TYPE_BOOLEAN use as variable type dbus_bool_t to avoid possible trouble on big endian machines: - * src/dbusInterface.cpp: Replaced int variables with dbus_bool_t. - * src/dbusInterface.h: included dbus/dbus.h + * src/dbusHAL.cpp: Replaced int variables with dbus_bool_t. + * src/dbusHAL.h: included dbus/dbus.h * src/hardware.cpp: Replaced int variables with dbus_bool_t. 2007-09-11 Danny Kukawka @@ -104,7 +104,7 @@ Changed return value types due to changes in HAL (s/DBUS_TYPE_UINT32/DBUS_TYPE_INT32): - * src/dbusInterface.cpp: Changed for suspend calls. + * src/dbusHAL.cpp: Changed for suspend calls. * src/hardware.cpp: Changed for GetBrightness and for SetPowerSave() calls. @@ -183,11 +183,11 @@ 2007-08-20 Danny Kukawka - * src/dbusInterface.[cpp,h]: Added function to check if the + * src/dbusHAL.[cpp,h]: Added function to check if the org.freedesktop.Policy.Power has an owner (new function is isPolicyPowerIfaceOwned()). * src/hardware.[cpp,h]: Added helper to call - dbusInterface::isPolicyPowerIfaceOwned(). + dbusHAL::isPolicyPowerIfaceOwned(). * src/kpowersave.[cpp,h]: Added active session handling for schemes (don't react on AC state changes if the session get inactive and apply default schemes based on @@ -225,12 +225,12 @@ from DBus for org.freedesktop.Policy.Power and check if this KPowersave instance caused the signal. - * src/dbusInterface.[cpp,h]: + * src/dbusHAL.[cpp,h]: * src/hardware.cpp: 2007-08-20 Danny Kukawka - * src/dbusInterface.[cpp,h]: Split up the code to aquire the + * src/dbusHAL.[cpp,h]: Split up the code to aquire the org.freedesktop.Policy.Power name service to a new own function. Added new function to release the service name again. Call now dbus_bus_release_name() if close() @@ -285,7 +285,7 @@ current desktop session is active and monitor if the state change. - * src/dbusInterface.[cpp,h]: Listen to D-Bus if the state of the + * src/dbusHAL.[cpp,h]: Listen to D-Bus if the state of the session change and inform class HardwareInfo about the change. * src/hardware.[cpp,h]: Added new function to get the name @@ -303,7 +303,7 @@ and remove no longer needed checks to prevent compiler warnings: - * src/dbusInterface.cpp: + * src/dbusHAL.cpp: * src/inactivity.cpp: * src/kpowersave.cpp: @@ -328,7 +328,7 @@ 2007-08-16 Danny Kukawka - * src/dbusInterface.cpp: Show some debug messages only if + * src/dbusHAL.cpp: Show some debug messages only if kpowersave started with --dbg-trace. 2007-08-16 Danny Kukawka @@ -388,11 +388,11 @@ 2007-08-13 Danny Kukawka - * src/dbusInterface.[cpp,h]: Extended isUserPrivileged() + * src/dbusHAL.[cpp,h]: Extended isUserPrivileged() depending on USE_LIBHAL_POLICYCHECK to ask HAL if the user is privileged to call a interface. * src/hardware.[cpp,h]: Ported existing calls of - dbusInterface::isUserPrivileged() to changed function param. + dbusHAL::isUserPrivileged() to changed function param. Added new checks for Brightness/SetPowersave HAL calls if USE_LIBHAL_POLICYCHECK is defined (because they didn't exist in the old HAL < 0.5.10) @@ -497,7 +497,7 @@ 2007-07-26 Danny Kukawka - * src/dbusInterface.h: Code docu update. + * src/dbusHAL.h: Code docu update. 2007-07-25 Danny Kukawka @@ -512,7 +512,7 @@ warning: deprecated conversion from string constant to 'char*' - * src/dbusInterface.[cpp,h]: in dbusMethodCallSuspend() + * src/dbusHAL.[cpp,h]: in dbusMethodCallSuspend() * src/hardware.[cpp,h]: in setCPUFreqGovernor() 2007-07-25 Danny Kukawka @@ -686,7 +686,7 @@ Fixed debug messages: - * src/dbusInterface.cpp: + * src/dbusHAL.cpp: * src/hardware.cpp: 2007-06-17 Danny Kukawka @@ -722,7 +722,7 @@ 2007-06-13 Danny Kukawka - * src/dbusInterface.cpp: Make the code easier by group initial checks + * src/dbusHAL.cpp: Make the code easier by group initial checks for HAL/D-Bus connection and parameter checks, add goto's to reduce kdDebugFuncOut() codelines before each return. This include also some whitespace/tab replacements. @@ -740,7 +740,7 @@ * src/autosuspend.cpp: * src/configuredialog.cpp: - * src/dbusInterface.cpp: + * src/dbusHAL.cpp: * src/detaileddialog.cpp: * src/hardware.cpp: * src/hardware_battery.cpp: @@ -765,7 +765,7 @@ 2007-05-10 Danny Kukawka - * src/dbusInterface.cpp: Added code to check if the returned + * src/dbusHAL.cpp: Added code to check if the returned message is really DBUS_MESSAGE_TYPE_METHOD_RETURN as expected. * src/hardware.cpp: Changed debug message due to a bug in @@ -774,7 +774,7 @@ 2007-05-10 Danny Kukawka - * src/dbusInterface.cpp: added TODO + * src/dbusHAL.cpp: added TODO * src/hardware.[cpp,h]: Fixed call for SetPowerSave to get also the returnvalue from the HAL method. @@ -945,7 +945,7 @@ * src/autosuspend.[cpp,h]: * src/blacklisteditdialog.cpp: * src/configuredialog.cpp: - * src/dbusInterface.cpp: + * src/dbusHAL.cpp: * src/hardware.cpp: * src/hardware_battery.cpp: * src/hardware_batteryCollection.cpp: @@ -959,7 +959,7 @@ parallel build issues: * src/autosuspend.cpp: - * src/dbusInterface.cpp: + * src/dbusHAL.cpp: * src/hardware.cpp: * src/hardware_battery.cpp: * src/hardware_batteryCollection.cpp: @@ -989,7 +989,7 @@ 2007-04-09 Danny Kukawka - * src/dbusInterface.cpp: make isUserPrivileged() more robust to + * src/dbusHAL.cpp: make isUserPrivileged() more robust to avoid possible segmentation faults. 2007-04-03 Danny Kukawka @@ -1130,7 +1130,7 @@ Updated dates in copyright headers: - * src/dbusInterface.[cpp,h]: + * src/dbusHAL.[cpp,h]: * src/detaileddialog.cpp: * src/hardware*.[cpp,h]: * src/inactivity.cpp: @@ -1140,7 +1140,7 @@ 2007-03-09 Danny Kukawka - * src/dbusInterface.cpp: emit signal about resume first if the + * src/dbusHAL.cpp: emit signal about resume first if the pending call and the messages get unrefed. 2007-02-28 Danny Kukawka @@ -1441,7 +1441,7 @@ Fixed usage of D-Bus in strings and code comments (s/DBUS/D-Bus/ and s/D-BUS/D-Bus/). - * src/dbusInterface.[cpp,h]: + * src/dbusHAL.[cpp,h]: * src/dummy.cpp: * src/hardware.[cpp,h]: * src/kpowersave.cpp: @@ -1805,7 +1805,7 @@ 2006-12-08 Danny Kukawka - * src/dbusInterface.cpp: fixed compiler warning from b.n.c bug + * src/dbusHAL.cpp: fixed compiler warning from b.n.c bug #226875 with proposed change from David Binderman @@ -1860,7 +1860,7 @@ Make KPowersave more stable (hopefully), added some checks and (re)set some variables in error cases. - * src/dbusInterface.cpp: + * src/dbusHAL.cpp: * src/hardware.cpp: 2006-11-22 Danny Kukawka @@ -1946,7 +1946,7 @@ Fixed code comments, added missing function parameter docu, removed file-version tags, update date of some files: - * src/dbusInterface.[cpp,h]: + * src/dbusHAL.[cpp,h]: * src/hardware.[cpp,h]: * src/hardware_battery.[cpp,h]: * src/hardware_batteryCollection.[cpp,h]: @@ -1959,7 +1959,7 @@ Fixed code comments and documentation (e.g. undocumented function parameter): - * src/dbusInterface.cpp: + * src/dbusHAL.cpp: * src/hardware.cpp: * src/hardware.h: * src/kpowersave.cpp: @@ -2011,7 +2011,7 @@ 2006-11-19 Danny Kukawka * TODO: removed done issues - * src/dbusInterface.[cpp,h]: Added code to claim/aquire the + * src/dbusHAL.[cpp,h]: Added code to claim/aquire the org.freedesktop.Policy.Power interface from D-Bus to stop the powersave daemon/client and to be allowed to handle the powermanagement policy. @@ -2077,7 +2077,7 @@ 2006-11-17 Danny Kukawka * src/kpowersave.cpp: Reduced function calls to - dbusInterface with updateTooltip(). + dbusHAL with updateTooltip(). 2006-11-16 Danny Kukawka @@ -2086,7 +2086,7 @@ 2006-11-16 Danny Kukawka - * src/dbusInterface.cpp: Fixed free() error, if D-Bus is not + * src/dbusHAL.cpp: Fixed free() error, if D-Bus is not running on startup. 2006-11-16 Danny Kukawka @@ -2148,11 +2148,11 @@ use the new pending calls instead of the old, normal methodCalls. Added code to fetch, forward and handle the resume - signal from the dbusInterface class. + signal from the dbusHAL class. 2006-11-14 Danny Kukawka - * src/dbusInterface.[cpp,h]: added new functions to be able + * src/dbusHAL.[cpp,h]: added new functions to be able to handle suspend as pending D-Bus calls. This should allow us to get a resume signal etc. Added a new signal to be emitted if we resumed and @@ -2348,7 +2348,7 @@ 2006-11-06 Danny Kukawka - * src/dbusInterface.cpp: Fixed dbusInterface::isUserPrivileged() + * src/dbusHAL.cpp: Fixed dbusHAL::isUserPrivileged() to use 'const char *' instead of QString. 2006-11-06 Danny Kukawka @@ -2369,7 +2369,7 @@ 2006-11-06 Danny Kukawka - * src/dbusInterface.cpp: set dbus_is_connected to false if + * src/dbusHAL.cpp: set dbus_is_connected to false if D-Bus is gone * src/kpowersave.cpp: fixed display D-Bus error message and avoid display HAL related error msg if D-Bus is @@ -2481,7 +2481,7 @@ 2006-11-05 Danny Kukawka - * src/dbusInterface.cpp: Removed include of powersave_dbus.h. + * src/dbusHAL.cpp: Removed include of powersave_dbus.h. Replaced usage of dbusGetMessageString() from old powersave library with dbus_message_get_args() and fixed code to fetch event if HAL go down. @@ -2518,7 +2518,7 @@ Replaced usage of pdaemon class in the detailed dialog with class HardwareInfo: - * src/dbusInterface.cpp: fixed debug message + * src/dbusHAL.cpp: fixed debug message * src/dbusPowersave.cpp: comment out some code to get the applet run temporary, before remove the class complete. * src/detaileddialog.[cpp,h]: replaced complete pdaemon code @@ -2593,7 +2593,7 @@ anymore. Simply call dbus_bus_get() instead. This should fix b.n.c #214881. - * src/dbusInterface.cpp: + * src/dbusHAL.cpp: * src/dbusPowersave.cpp: 2006-10-25 Danny Kukawka @@ -2627,7 +2627,7 @@ Cleanup: removed not handled msg_type NAME_AQUIRED. - * src/dbusInterface.[cpp,h]: + * src/dbusHAL.[cpp,h]: * src/hardware.cpp: 2006-10-24 Danny Kukawka @@ -2643,13 +2643,13 @@ 2006-10-24 Danny Kukawka - * src/dbusInterface.[cpp,h]: changed return type of new function + * src/dbusHAL.[cpp,h]: changed return type of new function isUserPrivileged() from bool to int to get a info if we can't connect to the PolicyKit interface on DBUS. 2006-10-24 Danny Kukawka - * src/dbusInterface.[cpp,h]: Added function to check PolicyKit + * src/dbusHAL.[cpp,h]: Added function to check PolicyKit for a privilege for a given user. 2006-10-23 Danny Kukawka @@ -2807,7 +2807,7 @@ 2006-10-19 Danny Kukawka - * src/dbusInterface.h: removed unused event type HAL_EVENT + * src/dbusHAL.h: removed unused event type HAL_EVENT * src/hardware.cpp: Added initial code to filter the DBUS and HAL events we need in KPowersave. @@ -2927,16 +2927,16 @@ 2006-10-09 Danny Kukawka - * src/dbusInterface.[cpp,h]: changed DBus method call functions for + * src/dbusHAL.[cpp,h]: changed DBus method call functions for easier usage than the old one and removed one no longer needed function. - * src/dbusInterface.h: Changed function params to show also the + * src/dbusHAL.h: Changed function params to show also the variable names in code completion of KDevelop. * src/hardware.cpp: Adapted exsting code the new functions. 2006-10-06 Danny Kukawka - * src/dbusInterface.h: s/HAL_DEVICE_UDI/HAL_COMPUTER_UDI/ + * src/dbusHAL.h: s/HAL_DEVICE_UDI/HAL_COMPUTER_UDI/ * src/hardware.[cpp,h]: Replaced strings with defines HAL_COMPUTER_UDI and HAL_PM_IFACE. Added new initial function to trigger a suspend and added new @@ -2965,7 +2965,7 @@ 2006-10-03 Danny Kukawka - * src/dbusInterface.[cpp,h]: removed HAL specific function to call + * src/dbusHAL.[cpp,h]: removed HAL specific function to call a powermanagement related function and added three generic functions to call a method on a DBUS interface (taked and adapted code from current powersave code base). @@ -2976,7 +2976,7 @@ 2006-10-01 Danny Kukawka - * src/dbusInterface.[cpp,h]: added function to check the supported + * src/dbusHAL.[cpp,h]: added function to check the supported powermanagement/suspend functions and store the information if e.g. suspend2disk is available as HAL interface and if not if the machine support this via the kernel in general. @@ -2991,7 +2991,7 @@ 2006-09-28 Frank Seidel - * src/dbusInterface.cpp: Fixed typo in halQueryCapability (libhal + * src/dbusHAL.cpp: Fixed typo in halQueryCapability (libhal function call). 2006-09-28 Danny Kukawka @@ -3002,11 +3002,11 @@ 2006-09-26 Danny Kukawka - * src/dbusInterface.[cpp,h]: code comments + * src/dbusHAL.[cpp,h]: code comments * src/hardware.[cpp,h]: addes some empty functions and a QDicr for udis of devices except batteries (e.g. AC, Lid, buttons ...) * src/pdaemon.cpp: added comments about the state of port code - and functions to class dbusInterface + and functions to class dbusHAL 2006-09-25 Danny Kukawka @@ -3028,10 +3028,10 @@ 2006-09-25 Danny Kukawka - * src/dbusInterface.cpp: init HAL context in constructor + * src/dbusHAL.cpp: init HAL context in constructor * src/hardware.[cpp/h]: conntect to DBUS/HAL in constructor and added initial function to filter and handle events from DBUS/HAL - via signal from dbusInterface class. + via signal from dbusHAL class. 2006-09-23 Danny Kukawka @@ -3051,8 +3051,8 @@ 2006-09-23 Danny Kukawka * Doxyfile: changed version string - * src/Makefile.am: added dbusInterface class to make - * src/dbusInterface.[cpp,h]: Changed name of the class to dbusInterface and + * src/Makefile.am: added dbusHAL class to make + * src/dbusHAL.[cpp,h]: Changed name of the class to dbusHAL and added connection to HAL and code to hold LibHalContext. The class contains now mew functions to search for devices and to get device information from HAL. Also added: new function to call @@ -3069,8 +3069,8 @@ TODO: add code to init and hold hal_context for libhal. - * src/dbusInterface.cpp: - * src/dbusInterface.h: + * src/dbusHAL.cpp: + * src/dbusHAL.h: 2006-09-04 Danny Kukawka