Slávek Banko
fbc1804196
tdehwlib: Prevent potential crash, when building without Network Manager support.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 2b3ea27bdf
)
3 years ago
Michele Calgaro
86a973eba2
tdehw lib: make the call to close the file explicit.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a2edae37ac
)
3 years ago
gregory guy
48b35ad49b
Update Windows Generic Device IDs.
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
(cherry picked from commit 23303e3cc0
)
4 years ago
gregory guy
8e1b27eebf
As default behaviour, use hwdata files for pci and usb ids files.
...
Signed-off-by: gregory guy <gregory-tde@laposte.net>
(cherry picked from commit d7fad5b469
)
4 years ago
Michele Calgaro
c5cd192617
Fixed handling of arcs in non conforming svg files.
...
This resolves issue TDE/tde#46 .
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 35d3a3c504
)
4 years ago
Slávek Banko
0515ed3da5
Update version number to R14.0.11.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko
f0c601105e
Update version number for R14.0.10 final release.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko
8b7187ed36
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>
(cherry picked from commit 9a99527f0c
)
4 years ago
Slávek Banko
36dc94f04d
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>
(cherry picked from commit 78b2136011
)
4 years ago
Alexander Golubev
94881853aa
tdecore/tdehw: disable SW_RADIO switch if it's the same as SW_RFKILL_ALL
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit ce09b7d5e8
)
4 years ago
Michele Calgaro
b3012975a4
Fixed more uncrustify's code formatting offending files.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 05ee12e2df
)
4 years ago
Michele Calgaro
bde06503d5
Fixed second pass uncrustify's code formatting offending files.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 9468d05e3d
)
4 years ago
Michele Calgaro
be563528e5
Drop weird macro and use memcpy/memset instead.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 60ef8289ae
)
4 years ago
Michele Calgaro
df2eb7afd1
Fixed some uncrustify's code formatting offending files.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 491e1c72c7
)
4 years ago
Michele Calgaro
84498d97e2
Renaming of files in preparation for code style tools.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 4f99f868f0
)
4 years ago
Slávek Banko
3150466695
Update translation template.
4 years ago
Slávek Banko
dc9adc1b0f
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>
(cherry picked from commit cb418ed3fd
)
4 years ago
Slávek Banko
b58ef27fa5
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>
(cherry picked from commit e659dfe3b0
)
4 years ago
Michele Calgaro
383d54fdcf
tdehw lib: fixed detection of mountable optical disks with incomplete
...
partition table.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 99b855062b
)
4 years ago
Slávek Banko
53b8ba3f5b
Update version number to R14.0.10.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko
173336958c
Update version number for R14.0.9 final release.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko
cb796c51ca
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>
(cherry picked from commit fb1316c785
)
4 years ago
Michele Calgaro
3932891e3b
Removed additional code formatting modelines.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c07a6bab9d
)
4 years ago
Michele Calgaro
5b32da3ab3
Removed code formatting modelines.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ed8e30bc6d
)
4 years ago
OBATA Akio
ad371ca0b5
kpty: prevent to open pseudo ttys twice for openpty(3) platforms
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 8f7371cddf
)
4 years ago
OBATA Akio
bde317d2cd
Add support of posix_openpt(2) to open master pseudo terminal device
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 8e542575e0
)
4 years ago
OBATA Akio
3dee97b870
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>
(cherry picked from commit 6886dd7e96
)
4 years ago
Slávek Banko
08c2252bda
Link external library for backtrace in tdecore.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 59debdf4f0
)
4 years ago
OBATA Akio
a6be89461f
Allow to use backtrace(3) external library for kdebug
...
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 2167207adc
)
4 years ago
OBATA Akio
24a2027ee7
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>
(cherry picked from commit 12364c9cc3
)
4 years ago
Michele Calgaro
050589bc4f
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>
(cherry picked from commit ffe8e495d7
)
4 years ago
Slávek Banko
3e4279ead3
Simplify CMake rules for desktop file translations.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 42f3a62161
)
5 years ago
Slávek Banko
fc2c3c9ca0
Use private linking for exported CMake targets.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 158b6e1152
)
5 years ago
Slávek Banko
9756408b0e
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>
(cherry picked from commit 4b7a4e1736
)
5 years ago
Slávek Banko
74f9c923f7
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>
(cherry picked from commit c2b90055a5
)
5 years ago
Michele Calgaro
e51e14cdd1
Adjusted to TQPtrStack class. This is a minor change.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 12602af928
)
5 years ago
Slávek Banko
79bf82135e
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>
(cherry picked from commit dc699b4fd4
)
5 years ago
Michele Calgaro
fe89ae7209
Update version number to R14.0.9 development version.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko
527dcf77d4
Update version number for R14.0.8 final release.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro
93e9da4a74
Removed unnecessary comment.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 922e81bf45
)
5 years ago
Slávek Banko
2f2ed5c1ae
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>
(cherry picked from commit 8bfa123fb6
)
5 years ago
Slávek Banko
1945986691
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>
(cherry picked from commit f68fadda81
)
5 years ago
Michele Calgaro
f3cd325032
Prevent tdenetworkmanager from crashing when using unmanaged devices.
...
This relates to bug 2929.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3192a72a46
)
5 years ago
Michele Calgaro
d94da50a46
Remove remaining 'register' instructions.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 30606e55f1
)
5 years ago
Slávek Banko
6350327928
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>
(cherry picked from commit c088fbf55b
)
5 years ago
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