diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-04-15 17:53:42 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-04-15 17:53:42 -0500 |
commit | 3c32b869c2208758c2027d094c8930592370858a (patch) | |
tree | 39724674d33faf4a09f28fce507c7ccbbf79a9a3 /ChangeLog | |
parent | 3ec8230e9f10645de684b5e03471e293481183d7 (diff) | |
download | tdepowersave-3c32b869c2208758c2027d094c8930592370858a.tar.gz tdepowersave-3c32b869c2208758c2027d094c8930592370858a.zip |
Rename dbusHAL class to something more sensible
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 114 |
1 files changed, 57 insertions, 57 deletions
@@ -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/dbusHAL.cpp: Replaced int variables with dbus_bool_t. - * src/dbusHAL.h: included dbus/dbus.h + * src/dbusInterface.cpp: Replaced int variables with dbus_bool_t. + * src/dbusInterface.h: included dbus/dbus.h * src/hardware.cpp: Replaced int variables with dbus_bool_t. 2007-09-11 Danny Kukawka <danny.kukawka@web.de> @@ -104,7 +104,7 @@ Changed return value types due to changes in HAL (s/DBUS_TYPE_UINT32/DBUS_TYPE_INT32): - * src/dbusHAL.cpp: Changed for suspend calls. + * src/dbusInterface.cpp: Changed for suspend calls. * src/hardware.cpp: Changed for GetBrightness and for SetPowerSave() calls. @@ -183,11 +183,11 @@ 2007-08-20 Danny Kukawka <danny.kukawka@web.de> - * src/dbusHAL.[cpp,h]: Added function to check if the + * src/dbusInterface.[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 - dbusHAL::isPolicyPowerIfaceOwned(). + dbusInterface::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/dbusHAL.[cpp,h]: + * src/dbusInterface.[cpp,h]: * src/hardware.cpp: 2007-08-20 Danny Kukawka <danny.kukawka@web.de> - * src/dbusHAL.[cpp,h]: Split up the code to aquire the + * src/dbusInterface.[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/dbusHAL.[cpp,h]: Listen to D-Bus if the state of the + * src/dbusInterface.[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/dbusHAL.cpp: + * src/dbusInterface.cpp: * src/inactivity.cpp: * src/kpowersave.cpp: @@ -328,7 +328,7 @@ 2007-08-16 Danny Kukawka <danny.kukawka@web.de> - * src/dbusHAL.cpp: Show some debug messages only if + * src/dbusInterface.cpp: Show some debug messages only if kpowersave started with --dbg-trace. 2007-08-16 Danny Kukawka <danny.kukawka@web.de> @@ -388,11 +388,11 @@ 2007-08-13 Danny Kukawka <danny.kukawka@web.de> - * src/dbusHAL.[cpp,h]: Extended isUserPrivileged() + * src/dbusInterface.[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 - dbusHAL::isUserPrivileged() to changed function param. + dbusInterface::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 <danny.kukawka@web.de> - * src/dbusHAL.h: Code docu update. + * src/dbusInterface.h: Code docu update. 2007-07-25 Danny Kukawka <danny.kukawka@web.de> @@ -512,7 +512,7 @@ warning: deprecated conversion from string constant to 'char*' - * src/dbusHAL.[cpp,h]: in dbusMethodCallSuspend() + * src/dbusInterface.[cpp,h]: in dbusMethodCallSuspend() * src/hardware.[cpp,h]: in setCPUFreqGovernor() 2007-07-25 Danny Kukawka <danny.kukawka@web.de> @@ -686,7 +686,7 @@ Fixed debug messages: - * src/dbusHAL.cpp: + * src/dbusInterface.cpp: * src/hardware.cpp: 2007-06-17 Danny Kukawka <danny.kukawka@web.de> @@ -722,7 +722,7 @@ 2007-06-13 Danny Kukawka <danny.kukawka@web.de> - * src/dbusHAL.cpp: Make the code easier by group initial checks + * src/dbusInterface.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/dbusHAL.cpp: + * src/dbusInterface.cpp: * src/detaileddialog.cpp: * src/hardware.cpp: * src/hardware_battery.cpp: @@ -765,7 +765,7 @@ 2007-05-10 Danny Kukawka <danny.kukawka@web.de> - * src/dbusHAL.cpp: Added code to check if the returned + * src/dbusInterface.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 <danny.kukawka@web.de> - * src/dbusHAL.cpp: added TODO + * src/dbusInterface.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/dbusHAL.cpp: + * src/dbusInterface.cpp: * src/hardware.cpp: * src/hardware_battery.cpp: * src/hardware_batteryCollection.cpp: @@ -959,7 +959,7 @@ parallel build issues: * src/autosuspend.cpp: - * src/dbusHAL.cpp: + * src/dbusInterface.cpp: * src/hardware.cpp: * src/hardware_battery.cpp: * src/hardware_batteryCollection.cpp: @@ -989,7 +989,7 @@ 2007-04-09 Danny Kukawka <danny.kukawka@web.de> - * src/dbusHAL.cpp: make isUserPrivileged() more robust to + * src/dbusInterface.cpp: make isUserPrivileged() more robust to avoid possible segmentation faults. 2007-04-03 Danny Kukawka <danny.kukawka@web.de> @@ -1130,7 +1130,7 @@ Updated dates in copyright headers: - * src/dbusHAL.[cpp,h]: + * src/dbusInterface.[cpp,h]: * src/detaileddialog.cpp: * src/hardware*.[cpp,h]: * src/inactivity.cpp: @@ -1140,7 +1140,7 @@ 2007-03-09 Danny Kukawka <danny.kukawka@web.de> - * src/dbusHAL.cpp: emit signal about resume first if the + * src/dbusInterface.cpp: emit signal about resume first if the pending call and the messages get unrefed. 2007-02-28 Danny Kukawka <danny.kukawka@web.de> @@ -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/dbusHAL.[cpp,h]: + * src/dbusInterface.[cpp,h]: * src/dummy.cpp: * src/hardware.[cpp,h]: * src/kpowersave.cpp: @@ -1805,7 +1805,7 @@ 2006-12-08 Danny Kukawka <danny.kukawka@web.de> - * src/dbusHAL.cpp: fixed compiler warning from b.n.c bug + * src/dbusInterface.cpp: fixed compiler warning from b.n.c bug #226875 with proposed change from David Binderman <dcb314@hotmail.com> @@ -1860,7 +1860,7 @@ Make KPowersave more stable (hopefully), added some checks and (re)set some variables in error cases. - * src/dbusHAL.cpp: + * src/dbusInterface.cpp: * src/hardware.cpp: 2006-11-22 Danny Kukawka <danny.kukawka@web.de> @@ -1946,7 +1946,7 @@ Fixed code comments, added missing function parameter docu, removed file-version tags, update date of some files: - * src/dbusHAL.[cpp,h]: + * src/dbusInterface.[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/dbusHAL.cpp: + * src/dbusInterface.cpp: * src/hardware.cpp: * src/hardware.h: * src/kpowersave.cpp: @@ -2011,7 +2011,7 @@ 2006-11-19 Danny Kukawka <danny.kukawka@web.de> * TODO: removed done issues - * src/dbusHAL.[cpp,h]: Added code to claim/aquire the + * src/dbusInterface.[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 <danny.kukawka@web.de> * src/kpowersave.cpp: Reduced function calls to - dbusHAL with updateTooltip(). + dbusInterface with updateTooltip(). 2006-11-16 Danny Kukawka <danny.kukawka@web.de> @@ -2086,7 +2086,7 @@ 2006-11-16 Danny Kukawka <danny.kukawka@web.de> - * src/dbusHAL.cpp: Fixed free() error, if D-Bus is not + * src/dbusInterface.cpp: Fixed free() error, if D-Bus is not running on startup. 2006-11-16 Danny Kukawka <danny.kukawka@web.de> @@ -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 dbusHAL class. + signal from the dbusInterface class. 2006-11-14 Danny Kukawka <danny.kukawka@web.de> - * src/dbusHAL.[cpp,h]: added new functions to be able + * src/dbusInterface.[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 <danny.kukawka@web.de> - * src/dbusHAL.cpp: Fixed dbusHAL::isUserPrivileged() + * src/dbusInterface.cpp: Fixed dbusInterface::isUserPrivileged() to use 'const char *' instead of QString. 2006-11-06 Danny Kukawka <danny.kukawka@web.de> @@ -2369,7 +2369,7 @@ 2006-11-06 Danny Kukawka <danny.kukawka@web.de> - * src/dbusHAL.cpp: set dbus_is_connected to false if + * src/dbusInterface.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 <danny.kukawka@web.de> - * src/dbusHAL.cpp: Removed include of powersave_dbus.h. + * src/dbusInterface.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/dbusHAL.cpp: fixed debug message + * src/dbusInterface.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/dbusHAL.cpp: + * src/dbusInterface.cpp: * src/dbusPowersave.cpp: 2006-10-25 Danny Kukawka <danny.kukawka@web.de> @@ -2627,7 +2627,7 @@ Cleanup: removed not handled msg_type NAME_AQUIRED. - * src/dbusHAL.[cpp,h]: + * src/dbusInterface.[cpp,h]: * src/hardware.cpp: 2006-10-24 Danny Kukawka <danny.kukawka@web.de> @@ -2643,13 +2643,13 @@ 2006-10-24 Danny Kukawka <danny.kukawka@web.de> - * src/dbusHAL.[cpp,h]: changed return type of new function + * src/dbusInterface.[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 <danny.kukawka@web.de> - * src/dbusHAL.[cpp,h]: Added function to check PolicyKit + * src/dbusInterface.[cpp,h]: Added function to check PolicyKit for a privilege for a given user. 2006-10-23 Danny Kukawka <danny.kukawka@web.de> @@ -2807,7 +2807,7 @@ 2006-10-19 Danny Kukawka <danny.kukawka@web.de> - * src/dbusHAL.h: removed unused event type HAL_EVENT + * src/dbusInterface.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 <danny.kukawka@web.de> - * src/dbusHAL.[cpp,h]: changed DBus method call functions for + * src/dbusInterface.[cpp,h]: changed DBus method call functions for easier usage than the old one and removed one no longer needed function. - * src/dbusHAL.h: Changed function params to show also the + * src/dbusInterface.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 <danny.kukawka@web.de> - * src/dbusHAL.h: s/HAL_DEVICE_UDI/HAL_COMPUTER_UDI/ + * src/dbusInterface.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 <danny.kukawka@web.de> - * src/dbusHAL.[cpp,h]: removed HAL specific function to call + * src/dbusInterface.[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 <danny.kukawka@web.de> - * src/dbusHAL.[cpp,h]: added function to check the supported + * src/dbusInterface.[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 <frank.seidel@web.de> - * src/dbusHAL.cpp: Fixed typo in halQueryCapability (libhal + * src/dbusInterface.cpp: Fixed typo in halQueryCapability (libhal function call). 2006-09-28 Danny Kukawka <danny.kukawka@web.de> @@ -3002,11 +3002,11 @@ 2006-09-26 Danny Kukawka <danny.kukawka@web.de> - * src/dbusHAL.[cpp,h]: code comments + * src/dbusInterface.[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 dbusHAL + and functions to class dbusInterface 2006-09-25 Danny Kukawka <danny.kukawka@web.de> @@ -3028,10 +3028,10 @@ 2006-09-25 Danny Kukawka <danny.kukawka@web.de> - * src/dbusHAL.cpp: init HAL context in constructor + * src/dbusInterface.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 dbusHAL class. + via signal from dbusInterface class. 2006-09-23 Danny Kukawka <danny.kukawka@web.de> @@ -3051,8 +3051,8 @@ 2006-09-23 Danny Kukawka <danny.kukawka@web.de> * Doxyfile: changed version string - * src/Makefile.am: added dbusHAL class to make - * src/dbusHAL.[cpp,h]: Changed name of the class to dbusHAL and + * src/Makefile.am: added dbusInterface class to make + * src/dbusInterface.[cpp,h]: Changed name of the class to dbusInterface 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/dbusHAL.cpp: - * src/dbusHAL.h: + * src/dbusInterface.cpp: + * src/dbusInterface.h: 2006-09-04 Danny Kukawka <danny.kukawka@web.de> |