Slávek Banko
a10cf06d1f
tdehwlib: Add allowed access for plugdev group members.
...
This is useful if the system no longer supports policy at_console.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 7f7f7322f9
)
5 years ago
Michele Calgaro
41e0f335b5
Removed explicit usage of the 'register' keyword.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit aa98dbfe80
)
5 years ago
Slávek Banko
9c1e136983
Fix private API compatibility in TDEGlobalSettings.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f29aa92d38
)
5 years ago
Michele Calgaro
d46ec74e77
Make sure XDG folders are created prior to their usage.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit de79e754fa
)
5 years ago
Michele Calgaro
ea1da131d3
Improved support for XDG folders without requiring xdg-user-dirs to be installed.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 394c9f5c0e
)
5 years ago
Slávek Banko
352be1b977
tdehwlib: Adjusted parsing of battery information
...
+ Added reading of estimated time to fully charged battery
(time_to_full_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 ecd1e4bd40
)
5 years ago
Matías Fonzo
ee113c26fb
Redirect some headers noticed by the compiler
...
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
/usr/include/sys/signal.h:1:2: warning: #warning redirecting incorrect #include <sys/signal.h> to <signal.h> [-Wcpp]
1 | #warning redirecting incorrect #include <sys/signal.h> to <signal.h>
Note: <sys/signal.h> has been removed from the tdeio/tdeio/connection.cpp source - it was already declared.
Signed-off-by: Matías Fonzo <selk@dragora.org>
(cherry picked from commit c2adce2e13
)
5 years ago
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
)
5 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
)
5 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
)
5 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
)
5 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
)
5 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
)
5 years ago
Slávek Banko
22cc22b82f
Updated version number to R14.0.8 [DEVELOPMENT].
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 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>
5 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
)
5 years ago
Chris
5551f81376
Replace Qt branding with TQt ones.
...
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 038c996bec
)
5 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
)
5 years ago
Chris
5617d914f3
Replace Qt branding with TQt ones.
...
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 90562f7b8a
)
5 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
)
5 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
)
5 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
)
5 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
)
5 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
)
5 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
)
5 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
)
6 years ago
Michele Calgaro
086cc055d4
Updated version number to R14.0.6 [DEVELOPMENT].
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 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
.
6 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>
6 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
.
6 years ago
Michele Calgaro
dcb480334c
Revert "Fix bug reports link in about dialog"
...
This reverts commit 69fc44f5d5
.
6 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>
6 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
)
7 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
)
7 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
)
7 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
)
7 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
)
8 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
)
8 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
)
8 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
)
8 years ago
Alexander Golubev
ab10c24ace
Include module into test names
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 6c1b8a75f2
)
8 years ago
Alexander Golubev
297691c5b8
Initial add for check target for cmake
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 0c64a776dd
)
8 years ago
Slávek Banko
32f820e4ba
Update version number for new target R14.0.5
8 years ago
Slávek Banko
d1bc52338f
Update version numbers for R14.0.4 final release
8 years ago
Timothy Pearson
dc7e40a1a9
Probe partitions to get filesystem type
...
This fixes problems with LUKS partitions not being detected
(cherry picked from commit 30c008d551
)
8 years ago
Timothy Pearson
f66944e531
Properly classify Lenovo USB camera platform subdevices
...
(cherry picked from commit b18bff9ad8
)
8 years ago
Slávek Banko
c5fb34d10e
Update version number for new target R14.0.4
9 years ago
Slávek Banko
72efbe384e
Fix crash in tdehwlib on partitions without parent disk
...
This applies for example to the software RAID defined in the BIOS
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 36481f68c1
)
9 years ago
Slávek Banko
a5ba98c6e8
Update version numbers for R14.0.3 final release
9 years ago
Slávek Banko
6958076530
Fix mountable flag for disk partitions
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ff469a69ff
)
9 years ago
Slávek Banko
97e220ed39
Add a rule for classifying ATA Compact Flash Adapter
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 613eadbbc3
)
9 years ago
Slávek Banko
90ed3e409b
Fix icon of mounted camera in tdehwlib
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ef7180dad9
)
9 years ago
Slávek Banko
c7ba84312e
Set partition disk type and status based on the parent device
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 5104679806
)
9 years ago
Slávek Banko
762f90beac
Set hotpluggable flag for flash disks instead of removable
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f8fbb3bd78
)
9 years ago
Slávek Banko
9b33264c99
Force removable flag for flask disks in tdehwlib
...
This resolves Bug 2473
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit dc350e6c64
)
9 years ago
Slávek Banko
fd96a6c2a8
Fix crash in tdehwlib if not exists /sys/devices/system/cpu
...
This resolves Bug 2584
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f4fb3a8e71
)
9 years ago
Slávek Banko
111cc009ea
Fix ZIP drive classification in tdehwlib
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 6dfc04c51a
)
9 years ago
Slávek Banko
107e863644
Classify flash drives as HDD in tdehwlib
...
This relates to Bug 2473
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 6a2a9de49c
)
9 years ago
Slávek Banko
0151f8494a
Fix using of custom mountpoints with pmount in tdehwlib
...
This partially resolves Bug 2576
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit c10124c965
)
9 years ago
Slávek Banko
cec0b42a3c
Prefer encoded disk labels in tdehwlib
...
because it contains unadjusted disk labels
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 893ac9fad0
)
9 years ago
Slávek Banko
bec14c7a28
Add floppy into disk type clasification in tdehwlib
...
This resolves Bug 2567
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ba2a3bc188
)
9 years ago
Slávek Banko
ad6b5add68
Fix disk type clasification in tdehwlib
...
This resolves Bug 2473
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 68102d50e9
)
9 years ago
Slávek Banko
43b1218e15
Fix calculation of remaining charging time in TDE hardware library
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 075cf11458
)
9 years ago
Slávek Banko
76adbedc16
Update version number for new target R14.0.3
9 years ago
Slávek Banko
5b7b83b490
Update version numbers for R14.0.2 final release
9 years ago
Slávek Banko
48c3adf7bd
Fix quotedPrintablecodec to support lower-case letters in hex codes
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 912e4866ef
)
9 years ago
Timothy Pearson
bc746bd059
Fix hardware class file matching algorithm
...
Fix overly broad floppy device matching rules
This resolves Bug 2534
(cherry picked from commit fd0de2b581
)
9 years ago
Timothy Pearson
55c60ed152
Add mount indicator to tdehwlib storage device icons
...
(cherry picked from commit feaced1b3c
)
9 years ago
Timothy Pearson
e767976945
Fix prior commits
...
(cherry picked from commit 6e6464537c
)
9 years ago
Timothy Pearson
269cebc715
Fix prior commit
...
(cherry picked from commit 4e04b0a438
)
9 years ago
Timothy Pearson
61602b95ce
Add GPL v3 license to TDEAboutData options
...
(cherry picked from commit 85c0e479c1
)
9 years ago
Slávek Banko
07665de5d8
Update version number for new target R14.0.2
9 years ago
Slávek Banko
4c186c78ee
Update version numbers for R14.0.1 final release
10 years ago
Michele Calgaro
a3e422826d
Minor typo and style corrections.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ce9d4765cc
)
10 years ago
Nikolaus Klepp
94b43a90c0
Fix FTBFS due to missing export lt_dlopen_flag
...
Signed-off-by: Nikolaus Klepp <office@klepp.biz>
(cherry picked from commit 022a297ed7
)
10 years ago
Slávek Banko
d809139616
Fix several issues on freebsd
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit e469e42c76
)
10 years ago
Slávek Banko
50b2ec5046
Fix FTBFS on freebsd due to utmpx
...
[taken from FreeBSD kdelibs3 patches]
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit e443c9e0b2
)
10 years ago
Slávek Banko
ef12830170
Fix hang in TDENetMask::fromCIDRMask() due to point-to-point connections
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a0189f32f7
)
10 years ago
Slávek Banko
a4f6021ace
Force to handle DCOP requests in KUniqueApplication (newInstance call)
...
This resolves Bug 2437
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit c6c1d781a5
)
10 years ago
Timothy Pearson
08e045c17a
Classify memstick_host devices
...
(cherry picked from commit 669345d6b8
)
10 years ago
Timothy Pearson
799c91ef96
Bring keyboard icon into XDG compliance
...
(cherry picked from commit 3e23bfa58d
)
10 years ago
Timothy Pearson
1a2f871729
Bring printer1 icon into XDG compliance
...
(cherry picked from commit 61f6eb5a1e
)
10 years ago
Timothy Pearson
1646faa695
Bring mouse icon into XDG compliance
...
(cherry picked from commit 891dbd6b98
)
10 years ago
Timothy Pearson
394f67b84c
Rename most device icons to comply with XDG standards
...
(cherry picked from commit 86686421b5
)
10 years ago