OBATA Akio
12364c9cc3
Fix to use configured openpty usability condition
...
No reason to restrict only on OpenBSD and FreeBSD here.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
Michele Calgaro
ffe8e495d7
Fixed handling of svg images that caused an infinite loop (most notably
...
Kicker was hanging with 100% CPU usage).
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko
42f3a62161
Simplify CMake rules for desktop file translations.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Michele Calgaro
cc1cd17f01
Fixed up incomplete qtplugins -> tqtplugins renaming.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
aneejit1
324a2b9f34
Rename tde-config option 'qtplugins' to 'tqtplugins'
...
FindTDE.cmake was amended to pass an option of 'tqtplugins' to the tde-config command. The tde-config command is now modified to accept that parameter in place of 'qtplugins'.
Signed-off-by: aneejit1 <aneejit1@gmail.com>
4 years ago
Slávek Banko
158b6e1152
Use private linking for exported CMake targets.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko
4b7a4e1736
Desktop file translations:
...
+ Creation of POT template for desktop files added to CMakeL10n rules.
+ Added creation of translated desktop files during build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko
c2b90055a5
Drop explicit dependencies on dcopidl and dcopidl2cpp,
...
because thanks to the replacement of KDE3 CMake macros
with TDE macros, this is no longer needed.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro
d78af7ef55
Minor code refactoring of previous 2 commits.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
444839e053
tdehwlib: Re-enable OpenSSL < 1.1 compatibility
...
in tdecryptographiccarddevice.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Timothy Pearson
3f6bef6371
Update for OpenSSL >= 1.1.0
...
Signed-off-by: Timothy Pearson <kb9vqf@pearsoncomputing.net>
5 years ago
Michele Calgaro
12602af928
Adjusted to TQPtrStack class. This is a minor change.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
dc699b4fd4
Check existing XDG folders before localization of the name.
...
Some standard XDG folders may exist before the information is stored
in ~/.config/user-dirs.dirs. Checking existing folders will prevent
the creation of localized folders in addition to existing English ones.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro
922e81bf45
Removed unnecessary comment.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
8bfa123fb6
tdehwlib: Add a read of the current switch state before invoking
...
a switchChanged() signal for an EV_SW input event.
This resolves the detection of closing the lid on some hardware.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko
f68fadda81
tdehwlib: Add event device classification according to the provided switches.
...
This will resolve event device detection on special hardware, for example,
the LID switch on Pinebook Pro.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro
3192a72a46
Prevent tdenetworkmanager from crashing when using unmanaged devices.
...
This relates to bug 2929.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
30606e55f1
Remove remaining 'register' instructions.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
c088fbf55b
tdehwlib: Unify units of battery values.
...
The values from energy_* and power_now are converted
from mWh and mW to Ah and A, so that the units are
equal to values from charge_* and current_now.
This resolves issue #68 .
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro
b6953843f5
Added back build options for UDISKS2, UDISKS and UDEVIL as requested by
...
some users.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
7f7f7322f9
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>
5 years ago
Michele Calgaro
aa98dbfe80
Removed explicit usage of the 'register' keyword.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
f29aa92d38
Fix private API compatibility in TDEGlobalSettings.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro
de79e754fa
Make sure XDG folders are created prior to their usage.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
394c9f5c0e
Improved support for XDG folders without requiring xdg-user-dirs to be installed.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
ecd1e4bd40
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>
5 years ago
Matías Fonzo
c2adce2e13
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>
5 years ago
Michele Calgaro
aca6b3d424
Added support for XDG_PICTURES_DIR and XDG_TEMPLATES_DIR in TDE global settings.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
3a4f7f51cf
Fix handling of XDG directories in TDEConfigBase. This relates to issue #60 .
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
ba82cdf5be
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>
5 years ago
Slávek Banko
8856d5dde1
tdehw: Fix wrong merge location in prior commit.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko
86c1d896c7
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>
5 years ago
Slávek Banko
3b0f07f2cd
tdehwlib: Classify the charger as an AC adapter, not as a battery.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
François Andriot
82e214c84f
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>
5 years ago
Chris
038c996bec
Replace Qt branding with TQt ones.
...
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Slávek Banko
1074eb0336
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>
5 years ago
Chris
90562f7b8a
Replace Qt branding with TQt ones.
...
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Anton Repko
dd36ea0a09
Fix incorrect translations of language names.
...
Signed-off-by: Anton Repko <anton@a-repko.sk>
5 years ago
Anton Repko
eeb8782f05
Fix incorrect translations of language names.
...
Signed-off-by: Anton Repko <anton@a-repko.sk>
5 years ago
Michele Calgaro
edcf1665f0
Removed sync dbus call code in tdenetworkmanager to align to latest
...
dbus-1-tqt code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
e1ef15d04d
Fix small typo in prior commit.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Chris
e53c04d5d3
Update and promote new TDE websites, replace branding and do slight refactoring.
...
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Michele Calgaro
11935291c7
Normalized names of devices to avoid unintentional mixed used of icons from different
...
icon themes.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
aaaf378033
Adjusted to use new TQStringVariantMap type.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
bf68342793
Reworked code for eject/mount/unmount operations to support new TDEStorageOpResult return type.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
7214a7b6b5
tdehw: code restructuring for tdestoragedevice.
...
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>
5 years ago
Michele Calgaro
c76553c4fb
tdehw: TRUE/FALSE --> true/false renaming.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
32566accda
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>
5 years ago
Michele Calgaro
09835dceb7
tdehw: improved code for mount table.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
7fcf24fa4e
Extended kcharset API with new utility function.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
352c8f6a21
Adjusted to latest TQVariant::TQVariant(bool) function.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
080948356f
Adapted to latest dbus-1-tqt version (TQT_DBusObjectPath inheriting from TQString).
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
536cfddc84
Use new function TQT_DBusData::getAsVariantData() instead of local
...
version of it.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko
dadafca880
Fixed moc inclusion after last changes in dbus-1-tqt.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
0e7f9b8db1
Added timestamp to debug backend (kdDebug, kdWarning, ...).
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko
8fc2a6ca26
Fix CMake build dependencies for tests.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
dfe3c9649f
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>
6 years ago
Slávek Banko
8a859540c3
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>
6 years ago
Michele Calgaro
c49ee53043
Fixed support for logind power state calls.
...
This resolves bug 2661 and bug 2975.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
75d48a810c
Conversion exitkde -> exittde in knotify.evertsrc file. This relates to
...
bug 2283.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
2e0398f755
QT_NO_* -> TQT_NO_* renaming.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
8d07cff840
qt -> tqt conversion:
...
kdeqt -> kdetqt
qtkde -> tqtkde
qtdesigner -> tqtdesigner
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
89389861b3
qt -> tqt conversion:
...
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>
6 years ago
Michele Calgaro
50087701ab
qt -> tqt conversion:
...
qtlib -> tqtlib
libqt -> libtqt
QTLIB -> TQTLIB
LIBQT -> LIBTQT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
f67512dd4b
Remove QT_CLEAN_NAMESPACE/TQT_CLEAN_NAMESPACE unnecessary define.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
0c5985ae03
LIB_QT -> LIB_TQT conversion to align to updated admin module
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko
aa83c86cd3
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>
6 years ago
Michele Calgaro
706098c452
Fixed FTBFS caused by libcryptsetup 2.0
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko
a14adb9ab9
Add search for utempter helper
...
This resolves Bug 2841
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko
051acc7df5
Fix crash in tdehwlib if /sys/devices/system/cpu/cpu* is not accessible
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Roman Savochenko
4dd179aaa3
Add brightness keys support
...
This relates to bug 2781
Signed-off-by: Roman Savochenko <rom_as@oscada.org>
7 years ago
Slávek Banko
68d315af10
tdecore/tdeconfig_compiler: Always use tqt names of objects in the generated files
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
7 years ago
Slávek Banko
e0fd34a1bd
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>
8 years ago
Slávek Banko
eb6f8213d4
tdehwlib: Add a rule for classifying parport device
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko
cc4f1996df
tdehwlib: Add a rule for classifying remote control devices
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko
d1280c31d9
tdehwlib: Allow to gather connection information on virtual net devices
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko
a73511a98d
tdehwlib: Allow to classify virtual devices by subsystem
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko
d2b61ae9da
Fix memory leak after processing udev_monitor
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko
1a5bc0e4ff
Fix memory leak after processing udev_device
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko
ab525f2baa
Fix memory leak after use XGetAtomName
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Alexander Golubev
d556a8752c
fixup! tdecore/tdeconfig_compiler: add check/test executables
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago
Alexander Golubev
57e73e9e4c
tdecore/tdeconfig_compiler: add check/test executables
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago
Alexander Golubev
7e73e618d0
testing: add TEST argument to tde_add_check_executable() macro
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago
Alexander Golubev
5842fb37df
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>
8 years ago
Alexander Golubev
6c1b8a75f2
Include module into test names
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago
Alexander Golubev
0c64a776dd
Initial add for check target for cmake
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago
Timothy Pearson
30c008d551
Probe partitions to get filesystem type
...
This fixes problems with LUKS partitions not being detected
8 years ago
Timothy Pearson
b18bff9ad8
Properly classify Lenovo USB camera platform subdevices
8 years ago
Timothy Pearson
125cf0a7f2
Make cryptographic card reader detection on single readers sytems more robust
8 years ago
Timothy Pearson
2872549499
Add fallback to match udev cryptographic card reader name with PCSC vendor strings
8 years ago
Timothy Pearson
d82b64cbbd
Add IBM VIO device
8 years ago
Timothy Pearson
d15fe834b1
Add nvmem device type
8 years ago
Michele Calgaro
c7171b93f4
tdecore: Fixed hybrid suspend (aka suspend to RAM + suspend to disk) support using HAL.
...
org.freedesktop.Hal.Device.SystemPowerManagement/SuspendHybrid requires a parameter when invoked.
This relates to bug 2601.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Michele Calgaro
92394e2850
tdecore: Improved code for hybrid suspend (aka suspend to RAM + suspend to disk).
...
Now code is more consistent. This relates to bug 2601.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Michele Calgaro
a29712773b
tdecore: complete previous commit, one file was forgotten by mistake.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Michele Calgaro
ba3ed714c6
tdecore: Added DBus support for hybrid suspend (aka suspend to RAM + suspend to disk).
...
This relates to bug 2601.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Michele Calgaro
3b095cf3cd
tdecore: Initial support for hybrid suspend (aka suspend to RAM + suspend to disk).
...
Update to dbus interface and hardware device manager will be commit separately.
This relates to bug 2601.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
9 years ago
Slávek Banko
36481f68c1
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>
9 years ago
Slávek Banko
ff469a69ff
Fix mountable flag for disk partitions
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko
613eadbbc3
Add a rule for classifying ATA Compact Flash Adapter
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago