gregory guy
23303e3cc0
Update Windows Generic Device IDs.
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
3 years ago
gregory guy
d7fad5b469
As default behaviour, use hwdata files for pci and usb ids files.
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
3 years ago
Slávek Banko
ac7e0fac53
Fix definitions of slot constants for old cryptsetup API.
...
This resolves issue #137 .
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Michele Calgaro
35d3a3c504
Fixed handling of arcs in non conforming svg files.
...
This resolves issue TDE/tde#46 .
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko
c7b651a6ca
Build tdehw library as a standalone library.
...
This causes tdecore API change!
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko
9a99527f0c
Removed dbus access rules for invalid "send_destination".
...
For the tde_dbus_hardwarecontrol daemon, the destination is always
"org.trinitydesktop.hardwarecontrol", which provides interfaces for
individual components. The permissions for the standard dbus Introspectable
and Properties calls are therefore set together on one destination,
regardless of the interfaces for the individual components.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko
78b2136011
tdehwlib: Allow everyone to read the status of input switches.
...
Reading the status of input switches seems safe so that it can be allowed
to everyone. This will prevent the log from being filled with unauthorized
access messages if the user is not a member of the plugdev group - this
resolve issue TDE/tde#44 .
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Alexander Golubev
ce09b7d5e8
tdecore/tdehw: disable SW_RADIO switch if it's the same as SW_RFKILL_ALL
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
4 years ago
Michele Calgaro
05ee12e2df
Fixed more uncrustify's code formatting offending files.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
9468d05e3d
Fixed second pass uncrustify's code formatting offending files.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
60ef8289ae
Drop weird macro and use memcpy/memset instead.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
491e1c72c7
Fixed some uncrustify's code formatting offending files.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
4f99f868f0
Renaming of files in preparation for code style tools.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko
a86485c2da
Update translation template.
4 years ago
Slávek Banko
cb418ed3fd
Add CMakeL10n rules to update all_languages.desktop
...
according to the entry.desktop files from tde-i18n.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko
e659dfe3b0
Unify language names between all_languages.desktop in tdelibs
...
and entry.desktop files in tde-i18n.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Michele Calgaro
99b855062b
tdehw lib: fixed detection of mountable optical disks with incomplete
...
partition table.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
07200a5475
tdehw lib: reworked code for eject operation to support return type TQStringVariantMap.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
7bdb6be95c
Added support for locking/unlocking of LUKS disks using pmount/pumount.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
9bc16841d1
Fixed mounting and unmounting of mapped storage devices.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
33794c4ec3
Fixed displaying of encrypted disks.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
fe08361f7e
Added udisks2 support for unlocking/locking of encrypted disks.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko
fb1316c785
tdehwlib: Add regular monitoring of power supply device status,
...
to be able to generate a signal when the power state changes,
if the signal is not generated from udev.
This resolves issue TDE/tde#30 .
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Michele Calgaro
c07a6bab9d
Removed additional code formatting modelines.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
ed8e30bc6d
Removed code formatting modelines.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
OBATA Akio
8f7371cddf
kpty: prevent to open pseudo ttys twice for openpty(3) platforms
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
8e542575e0
Add support of posix_openpt(2) to open master pseudo terminal device
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
OBATA Akio
6886dd7e96
Add `getservbyname_r` prototype detection to CMake
...
OpenBSD's prototype is differ than glibc's one, but it is declared.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
Slávek Banko
59debdf4f0
Link external library for backtrace in tdecore.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
OBATA Akio
2167207adc
Allow to use backtrace(3) external library for kdebug
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
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>
4 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