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 <michele.calgaro@yahoo.it>
* 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 <slavek.banko@axis.cz>
* tdehw: Fix wrong merge location in prior commit.Slávek Banko2020-01-081-3/+3
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* 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 <slavek.banko@axis.cz>
* 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 <slavek.banko@axis.cz>
* Fix FTBFS for build without tdehwlib.François Andriot2019-12-041-0/+4
| | | | | Signed-off-by: François Andriot <francois.andriot@free.fr> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Replace Qt branding with TQt ones.Chris2019-08-111-1/+1
| | | | Signed-off-by: Chris <xchrisx@uber.space>
* 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 <slavek.banko@axis.cz>
* Replace Qt branding with TQt ones.Chris2019-07-241-1/+1
| | | | Signed-off-by: Chris <xchrisx@uber.space>
* Fix incorrect translations of language names.Anton Repko2019-07-211-1/+1
| | | | Signed-off-by: Anton Repko <anton@a-repko.sk>
* Fix incorrect translations of language names.Anton Repko2019-07-211-2/+2
| | | | Signed-off-by: Anton Repko <anton@a-repko.sk>
* 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 <michele.calgaro@yahoo.it>
* Fix small typo in prior commit.Slávek Banko2019-07-131-1/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Update and promote new TDE websites, replace branding and do slight refactoring.Chris2019-07-131-3/+5
| | | | Signed-off-by: Chris <xchrisx@uber.space>
* 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 <michele.calgaro@yahoo.it>
* Adjusted to use new TQStringVariantMap type.Michele Calgaro2019-07-075-39/+36
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Reworked code for eject/mount/unmount operations to support new ↵Michele Calgaro2019-07-074-255/+260
| | | | | | TDEStorageOpResult return type. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* 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 <michele.calgaro@yahoo.it>
* tdehw: TRUE/FALSE --> true/false renaming.Michele Calgaro2019-07-0720-161/+159
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* 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 <michele.calgaro@yahoo.it>
* tdehw: improved code for mount table.Michele Calgaro2019-07-052-20/+18
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Extended kcharset API with new utility function.Michele Calgaro2019-06-132-0/+18
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Adjusted to latest TQVariant::TQVariant(bool) function.Michele Calgaro2019-05-243-3/+3
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Adapted to latest dbus-1-tqt version (TQT_DBusObjectPath inheriting from ↵Michele Calgaro2019-05-212-4/+5
| | | | | | TQString). Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Use new function TQT_DBusData::getAsVariantData() instead of localMichele Calgaro2019-05-163-148/+127
| | | | | | version of it. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fixed moc inclusion after last changes in dbus-1-tqt.Slávek Banko2019-05-021-11/+8
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Added timestamp to debug backend (kdDebug, kdWarning, ...).Michele Calgaro2019-04-271-5/+7
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix CMake build dependencies for tests.Slávek Banko2019-03-031-0/+6
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* 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 <slavek.banko@axis.cz>
* 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 <slavek.banko@axis.cz>
* 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 <michele.calgaro@yahoo.it>
* Conversion exitkde -> exittde in knotify.evertsrc file. This relates toMichele Calgaro2018-11-011-1/+1
| | | | | | bug 2283. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* QT_NO_* -> TQT_NO_* renaming.Michele Calgaro2018-10-176-9/+9
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* qt -> tqt conversion:Michele Calgaro2018-09-281-1/+1
| | | | | | | | kdeqt -> kdetqt qtkde -> tqtkde qtdesigner -> tqtdesigner Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* 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 <michele.calgaro@yahoo.it>
* qt -> tqt conversion:Michele Calgaro2018-09-272-2/+2
| | | | | | | | | qtlib -> tqtlib libqt -> libtqt QTLIB -> TQTLIB LIBQT -> LIBTQT Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Remove QT_CLEAN_NAMESPACE/TQT_CLEAN_NAMESPACE unnecessary define.Michele Calgaro2018-09-251-5/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* LIB_QT -> LIB_TQT conversion to align to updated admin moduleMichele Calgaro2018-09-174-14/+14
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* 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 <slavek.banko@axis.cz>
* Fixed FTBFS caused by libcryptsetup 2.0Michele Calgaro2018-02-252-22/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Add search for utempter helperSlávek Banko2018-02-131-2/+2
| | | | | | This resolves Bug 2841 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* 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 <slavek.banko@axis.cz>
* Add brightness keys supportRoman Savochenko2017-07-311-0/+10
| | | | | | This relates to bug 2781 Signed-off-by: Roman Savochenko <rom_as@oscada.org>
* 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 <slavek.banko@axis.cz>
* 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 <slavek.banko@axis.cz>
* tdehwlib: Add a rule for classifying parport deviceSlávek Banko2017-06-171-1/+2
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* tdehwlib: Add a rule for classifying remote control devicesSlávek Banko2017-06-171-0/+4
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* tdehwlib: Allow to gather connection information on virtual net devicesSlávek Banko2017-06-171-1/+2
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* tdehwlib: Allow to classify virtual devices by subsystemSlávek Banko2017-06-171-3/+3
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fix memory leak after processing udev_monitorSlávek Banko2017-03-251-0/+3
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>