summaryrefslogtreecommitdiffstats
path: root/tdecore
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix handling of XDG directories in TDEConfigBase. This relates to issue #60.Michele Calgaro2020-01-121-6/+32
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* tdehwlib: Fix parsing of CPU cores frequency informationSlávek Banko2020-01-091-77/+71
| | | | | | | | | | | | | | | | + The current frequency is parsed from the scaling_cur_freq file If the current frequency is not found in /proc/cpuinfo, the attempt to read value from cpuinfo_cur_freq failed because only root can read this file. + The have_frequency flag is not set when parsing current frequency from sysfs Setting the have_frequency flag after parsing current frequency for the first core caused the current frequency not to be parsed for other cores. + Frequency characteristics are parsed for all cores The assumption that the frequency characteristics for all cores will be the same as the first core is no longer reliable. There are heterogeneous architectures - for example ARM big.LITTLE. Signed-off-by: Slávek Banko <[email protected]>
* tdehw: Fix wrong merge location in prior commit.Slávek Banko2020-01-081-3/+3
| | | | Signed-off-by: Slávek Banko <[email protected]>
* tdehwlib: Adjusted parsing of battery informationSlávek Banko2020-01-082-10/+36
| | | | | | | | | | | | | | | | | | | | | | + Added initialization of all values Some batteries do not provide all values and, without initialization, values may contain dubious data. + Added reading of current battery capacity value in percent (capacity) Some batteries may provide the current capacity value in percent instead of the current energy value. + Added check whether the battery provides current energy value (charge_now or energy_now) The current energy is calculated if the value is not provided in the battery information. + Added reading of estimated time to empty battery (time_to_empty_now) The remaining time is calculated if the value is not provided in the battery information. If the battery does not provide charging current information, the estimated time to charge the battery cannot be calculated. Signed-off-by: Slávek Banko <[email protected]>
* tdehwlib: Classify the charger as an AC adapter, not as a battery.Slávek Banko2020-01-081-0/+1
| | | | Signed-off-by: Slávek Banko <[email protected]>
* Fix FTBFS for build without tdehwlib.François Andriot2019-12-041-0/+4
| | | | | Signed-off-by: François Andriot <[email protected]> Signed-off-by: Slávek Banko <[email protected]>
* Replace Qt branding with TQt ones.Chris2019-08-111-1/+1
| | | | Signed-off-by: Chris <[email protected]>
* Security: remove support for $(...) in config keys with [$e] marker.Slávek Banko2019-08-082-32/+1
| | | | | | | | | | | | | | | It is very unclear at this point what a valid use case for this feature would possibly be. The old documentation only mentions $(hostname) as an example, which can be done with $HOSTNAME instead. Note that $(...) is still supported in Exec lines of desktop files, this does not require [$e] anyway (and actually works better without it, otherwise the $ signs need to be doubled to obey tdeconfig $e escaping rules...). Based on KDE Frameworks 5 kconfig patch for CVE-2019-14744. This resolves issue #45. Signed-off-by: Slávek Banko <[email protected]>
* Replace Qt branding with TQt ones.Chris2019-07-241-1/+1
| | | | Signed-off-by: Chris <[email protected]>
* Fix incorrect translations of language names.Anton Repko2019-07-211-1/+1
| | | | Signed-off-by: Anton Repko <[email protected]>
* Fix incorrect translations of language names.Anton Repko2019-07-211-2/+2
| | | | Signed-off-by: Anton Repko <[email protected]>
* Removed sync dbus call code in tdenetworkmanager to align to latestMichele Calgaro2019-07-201-50/+0
| | | | | | dbus-1-tqt code. Signed-off-by: Michele Calgaro <[email protected]>
* Fix small typo in prior commit.Slávek Banko2019-07-131-1/+1
| | | | Signed-off-by: Slávek Banko <[email protected]>
* Update and promote new TDE websites, replace branding and do slight refactoring.Chris2019-07-131-3/+5
| | | | Signed-off-by: Chris <[email protected]>
* Normalized names of devices to avoid unintentional mixed used of icons from ↵Michele Calgaro2019-07-082-5/+8
| | | | | | | | different icon themes. Signed-off-by: Michele Calgaro <[email protected]>
* Adjusted to use new TQStringVariantMap type.Michele Calgaro2019-07-075-39/+36
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Reworked code for eject/mount/unmount operations to support new ↵Michele Calgaro2019-07-074-255/+260
| | | | | | TDEStorageOpResult return type. Signed-off-by: Michele Calgaro <[email protected]>
* tdehw: code restructuring for tdestoragedevice.Michele Calgaro2019-07-074-483/+442
| | | | | | | | 1. added disk helper source files 2. removed WITH_UDISKS2, WITH_UDISK, WITH_UDEVIL defines. The respective code is always included 3. order of execution for mount/umount activities: udisks2, udisk, udevil, pmount. Signed-off-by: Michele Calgaro <[email protected]>
* tdehw: TRUE/FALSE --> true/false renaming.Michele Calgaro2019-07-0720-161/+159
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* tdehw: avoid crashing kded when using udisks/udisks2 to operate onMichele Calgaro2019-07-071-0/+6
| | | | | | drives that contain dashes. This relates to issue #32. Signed-off-by: Michele Calgaro <[email protected]>
* tdehw: improved code for mount table.Michele Calgaro2019-07-052-20/+18
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Extended kcharset API with new utility function.Michele Calgaro2019-06-132-0/+18
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Adjusted to latest TQVariant::TQVariant(bool) function.Michele Calgaro2019-05-243-3/+3
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Adapted to latest dbus-1-tqt version (TQT_DBusObjectPath inheriting from ↵Michele Calgaro2019-05-212-4/+5
| | | | | | TQString). Signed-off-by: Michele Calgaro <[email protected]>
* Use new function TQT_DBusData::getAsVariantData() instead of localMichele Calgaro2019-05-163-148/+127
| | | | | | version of it. Signed-off-by: Michele Calgaro <[email protected]>
* Fixed moc inclusion after last changes in dbus-1-tqt.Slávek Banko2019-05-021-11/+8
| | | | | Signed-off-by: Slávek Banko <[email protected]> Signed-off-by: Michele Calgaro <[email protected]>
* Added timestamp to debug backend (kdDebug, kdWarning, ...).Michele Calgaro2019-04-271-5/+7
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Fix CMake build dependencies for tests.Slávek Banko2019-03-031-0/+6
| | | | Signed-off-by: Slávek Banko <[email protected]>
* tdehwlib: Fix the flag setting whether the storage device contains the file ↵Slávek Banko2019-02-271-1/+1
| | | | | | | | system. This resolves bug 2232, bug 2607 and bug 2946. Signed-off-by: Slávek Banko <[email protected]>
* Use system libdir when searching for dynamically loaded libraries.Slávek Banko2019-02-241-4/+4
| | | | | | This prevents finding an incorrect architecture on multi-arch systems. Signed-off-by: Slávek Banko <[email protected]>
* Fixed support for logind power state calls.Michele Calgaro2019-02-241-46/+39
| | | | | | This resolves bug 2661 and bug 2975. Signed-off-by: Michele Calgaro <[email protected]>
* Conversion exitkde -> exittde in knotify.evertsrc file. This relates toMichele Calgaro2018-11-011-1/+1
| | | | | | bug 2283. Signed-off-by: Michele Calgaro <[email protected]>
* QT_NO_* -> TQT_NO_* renaming.Michele Calgaro2018-10-176-9/+9
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* qt -> tqt conversion:Michele Calgaro2018-09-281-1/+1
| | | | | | | | kdeqt -> kdetqt qtkde -> tqtkde qtdesigner -> tqtdesigner Signed-off-by: Michele Calgaro <[email protected]>
* qt -> tqt conversion:Michele Calgaro2018-09-271-2/+2
| | | | | | | | | QT_NO_ASCII_CAST -> TQT_NO_ASCII_CAST QT_NO_STL -> TQT_NO_STL QT_NO_COMPAT -> TQT_NO_COMPAT QT_NO_TRANSLATION -> TQT_NO_TRANSLATION Signed-off-by: Michele Calgaro <[email protected]>
* qt -> tqt conversion:Michele Calgaro2018-09-272-2/+2
| | | | | | | | | qtlib -> tqtlib libqt -> libtqt QTLIB -> TQTLIB LIBQT -> LIBTQT Signed-off-by: Michele Calgaro <[email protected]>
* Remove QT_CLEAN_NAMESPACE/TQT_CLEAN_NAMESPACE unnecessary define.Michele Calgaro2018-09-251-5/+0
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* LIB_QT -> LIB_TQT conversion to align to updated admin moduleMichele Calgaro2018-09-174-14/+14
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Fix bug reports link in about dialogSlávek Banko2018-06-301-2/+4
| | | | | | | Update bug reports url to bugs.trinitydesktop.org This resolves bug 2935 Signed-off-by: Slávek Banko <[email protected]>
* Fixed FTBFS caused by libcryptsetup 2.0Michele Calgaro2018-02-252-22/+0
| | | | Signed-off-by: Michele Calgaro <[email protected]>
* Add search for utempter helperSlávek Banko2018-02-131-2/+2
| | | | | | This resolves Bug 2841 Signed-off-by: Slávek Banko <[email protected]>
* Fix crash in tdehwlib if /sys/devices/system/cpu/cpu* is not accessibleSlávek Banko2017-09-231-3/+5
| | | | Signed-off-by: Slávek Banko <[email protected]>
* Add brightness keys supportRoman Savochenko2017-07-311-0/+10
| | | | | | This relates to bug 2781 Signed-off-by: Roman Savochenko <[email protected]>
* tdecore/tdeconfig_compiler: Always use tqt names of objects in the generated ↵Slávek Banko2017-07-221-9/+9
| | | | | | files Signed-off-by: Slávek Banko <[email protected]>
* tdehwlib: Use TDENetworkDevice in TDENetworkConnectionManager instead of MAC ↵Slávek Banko2017-06-175-159/+51
| | | | | | | | | | | | | | | | | address Use interface name in TDENetworkConnectionManager_BackendNM instead of MAC address This relates to bug 2748 The name of the network interface seems to be a more stable identifier than the MAC address because the MAC address can be changed easily or even automatically - see randomization of MAC addresses on wireless interfaces. Therefore, the use of the MAC address as a network interface identifier was abandoned. Beware, this change is an API / ABI change! However, most changes are internal and the only one affected is application TDENetworkManager. Signed-off-by: Slávek Banko <[email protected]>
* tdehwlib: Add a rule for classifying parport deviceSlávek Banko2017-06-171-1/+2
| | | | Signed-off-by: Slávek Banko <[email protected]>
* tdehwlib: Add a rule for classifying remote control devicesSlávek Banko2017-06-171-0/+4
| | | | Signed-off-by: Slávek Banko <[email protected]>
* tdehwlib: Allow to gather connection information on virtual net devicesSlávek Banko2017-06-171-1/+2
| | | | Signed-off-by: Slávek Banko <[email protected]>
* tdehwlib: Allow to classify virtual devices by subsystemSlávek Banko2017-06-171-3/+3
| | | | Signed-off-by: Slávek Banko <[email protected]>
* Fix memory leak after processing udev_monitorSlávek Banko2017-03-251-0/+3
| | | | Signed-off-by: Slávek Banko <[email protected]>