Commit Graph

459 Commits (edab2eca49ca082c5b51b6820b48042cc763f898)

Author SHA1 Message Date
Michele Calgaro edab2eca49
Added support for XDG_PICTURES_DIR and XDG_TEMPLATES_DIR in TDE global settings.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit aca6b3d424)
6 years ago
Michele Calgaro 5e120c0e2c
Fix handling of XDG directories in TDEConfigBase. This relates to issue #60.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3a4f7f51cf)
6 years ago
Slávek Banko ddf0666f4c
tdehwlib: Fix parsing of CPU cores frequency information
+ 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>
(cherry picked from commit ba82cdf5be)
6 years ago
Slávek Banko d51d6d349d
tdehw: Fix wrong merge location in prior commit.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 8856d5dde1)
6 years ago
Slávek Banko 53381ab391
tdehwlib: Adjusted parsing of battery information
+ 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>
(cherry picked from commit 86c1d896c7)
6 years ago
Slávek Banko 2e7ef95663
tdehwlib: Classify the charger as an AC adapter, not as a battery.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 3b0f07f2cd)
6 years ago
Slávek Banko 22cc22b82f
Updated version number to R14.0.8 [DEVELOPMENT].
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko 6ef58927d2
Update version number for R14.0.7 final release.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
François Andriot c35e6e8cce
Fix FTBFS for build without tdehwlib.
Signed-off-by: François Andriot <francois.andriot@free.fr>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 82e214c84f)
6 years ago
Chris 5551f81376
Replace Qt branding with TQt ones.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 038c996bec)
6 years ago
Slávek Banko b992188d7d
Security: remove support for $(...) in config keys with [$e] marker.
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>
(cherry picked from commit 1074eb0336)
6 years ago
Chris 5617d914f3
Replace Qt branding with TQt ones.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 90562f7b8a)
6 years ago
Anton Repko 1a46b7dbd2
Fix incorrect translations of language names.
Signed-off-by: Anton Repko <anton@a-repko.sk>
(cherry picked from commit dd36ea0a09)
6 years ago
Anton Repko 9a830d4d8b
Fix incorrect translations of language names.
Signed-off-by: Anton Repko <anton@a-repko.sk>
(cherry picked from commit eeb8782f05)
6 years ago
Slávek Banko 543cffbeac
Fix small typo in prior commit.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit e1ef15d04d)
6 years ago
Chris e0acaa2976
Update and promote new TDE websites, replace branding and do slight refactoring.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit e53c04d5d3)
6 years ago
Michele Calgaro c90f6c3e50
tdehw: avoid crashing kded when using udisks/udisks2 to operate on
drives that contain dashes. This relates to issue #32.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 32566accda)
6 years ago
Michele Calgaro 0f7cda9d52
tdehw: improved code for mount table.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 09835dceb7)
6 years ago
Michele Calgaro fe423b35a8
Added timestamp to debug backend (kdDebug, kdWarning, ...).
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0e7f9b8db1)
6 years ago
Slávek Banko 7150ed488d
Updated version number to R14.0.7 [DEVELOPMENT].
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko 38601b30c9
Fix CMake build dependencies for tests.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 8fc2a6ca26)
6 years ago
Michele Calgaro ca2507adc7
Removed "DEVELOPMENT" from TDE version in preparation for R14.0.6 release.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko 9ce98047ff
tdehwlib: Fix the flag setting whether the storage device contains the file system.
This resolves bug 2232, bug 2607 and bug 2946.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit dfe3c9649f)
6 years ago
Slávek Banko 33c3818ac5
Use system libdir when searching for dynamically loaded libraries.
This prevents finding an incorrect architecture on multi-arch systems.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 8a859540c3)
6 years ago
Michele Calgaro 89609911f8
Fixed support for logind power state calls.
This resolves bug 2661 and bug 2975.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c49ee53043)
6 years ago
Michele Calgaro d5b109ab3d
Conversion exitkde -> exittde in knotify.evertsrc file. This relates to
bug 2283.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 75d48a810c)
7 years ago
Michele Calgaro 086cc055d4
Updated version number to R14.0.6 [DEVELOPMENT].
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro 74686afc04 Revert "Revert "Fix bug reports link in about dialog""
The reversion was done by mistake and inadvertently. Sorry for the
mess :-(

This reverts commit dcb480334c.
7 years ago
Michele Calgaro 02639199e2 Removed "DEVELOPMENT" from TDE version in preparation for R14.0.5
release (this time ok).

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro d06b03ad49 Revert "Removed "DEVELOPMENT" from TDE version in preparation for R14.0.5"
due to unwanted change inclusion.

This reverts commit 398bc87ef9.
7 years ago
Michele Calgaro dcb480334c Revert "Fix bug reports link in about dialog"
This reverts commit 69fc44f5d5.
7 years ago
Michele Calgaro 398bc87ef9 Removed "DEVELOPMENT" from TDE version in preparation for R14.0.5
release.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko 69fc44f5d5 Fix bug reports link in about dialog
Update bug reports url to bugs.trinitydesktop.org
This resolves bug 2935

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit aa83c86cd3)
7 years ago
Slávek Banko 1e22a0ce39 Add search for utempter helper
This resolves Bug 2841

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a14adb9ab9)
8 years ago
Slávek Banko 7d83a0cb92 Fix crash in tdehwlib if /sys/devices/system/cpu/cpu* is not accessible
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 051acc7df5)
8 years ago
Roman Savochenko 03781b6f47 Add brightness keys support
This relates to bug 2781

Signed-off-by: Roman Savochenko <rom_as@oscada.org>
(cherry picked from commit 4dd179aaa3)
8 years ago
Slávek Banko bd11ca19e5 tdecore/tdeconfig_compiler: Always use tqt names of objects in the generated files
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 68d315af10)
8 years ago
Slávek Banko 234f323f7b tdehwlib: Use TDENetworkDevice in TDENetworkConnectionManager instead of MAC 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>
(cherry picked from commit e0fd34a1bd)
8 years ago
Slávek Banko a8e587a973 tdehwlib: Add a rule for classifying parport device
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit eb6f8213d4)
8 years ago
Slávek Banko 2b8dc1971b tdehwlib: Add a rule for classifying remote control devices
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit cc4f1996df)
8 years ago
Slávek Banko b0c326c2d0 tdehwlib: Allow to gather connection information on virtual net devices
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit d1280c31d9)
8 years ago
Slávek Banko 69112fe54a tdehwlib: Allow to classify virtual devices by subsystem
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a73511a98d)
8 years ago
Slávek Banko a7009dd252 Fix memory leak after processing udev_monitor
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit d2b61ae9da)
8 years ago
Slávek Banko 9ef769d0e5 Fix memory leak after processing udev_device
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 1a5bc0e4ff)
8 years ago
Slávek Banko 164063ce4e Fix memory leak after use XGetAtomName
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ab525f2baa)
8 years ago
Alexander Golubev de48b4a218 fixup! tdecore/tdeconfig_compiler: add check/test executables
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit d556a8752c)
9 years ago
Alexander Golubev cbd9e3ba0b tdecore/tdeconfig_compiler: add check/test executables
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 57e73e9e4c)
9 years ago
Alexander Golubev fa50fd0125 testing: add TEST argument to tde_add_check_executable() macro
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 7e73e618d0)
9 years ago
Alexander Golubev 575df654fe tdecore: fix a crash of dcop non-GUI apps without X
Previously non-GUI apps crashed on TDEApplication::updateUserTimestamp
callback when receiving a DCOP message.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 5842fb37df)
9 years ago
Alexander Golubev ab10c24ace Include module into test names
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 6c1b8a75f2)
9 years ago