summaryrefslogtreecommitdiffstats
path: root/tdecore
Commit message (Collapse)AuthorAgeFilesLines
* Update version number for R14.0.11 final release.r14.0.11Slávek Banko2021-10-221-1/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* tdehwlib: Prevent potential crash, when building without Network Manager ↵Slávek Banko2021-09-301-3/+8
| | | | | | | support. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 2b3ea27bdf4879933d46aba24c457382398c998f)
* tdehw lib: make the call to close the file explicit.Michele Calgaro2021-08-091-0/+1
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit a2edae37ace5b2b9172721a8ca9f63b9b441aacf)
* Update Windows Generic Device IDs.gregory guy2021-06-161-138/+330
| | | | | Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit 23303e3cc02b5651221b21b0fa0f4061f97ad15c)
* As default behaviour, use hwdata files for pci and usb ids files.gregory guy2021-06-161-2/+2
| | | | | Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit d7fad5b469b32b685151cbc50370488134378202)
* Fixed handling of arcs in non conforming svg files.Michele Calgaro2021-05-161-30/+48
| | | | | | | This resolves issue TDE/tde#46. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 35d3a3c50440b34f0fcc6ed56c630f74de41c32a)
* Update version number to R14.0.11.Slávek Banko2021-05-021-2/+2
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Update version number for R14.0.10 final release.r14.0.10Slávek Banko2021-04-231-1/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Removed dbus access rules for invalid "send_destination".Slávek Banko2021-02-101-16/+0
| | | | | | | | | | | 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 9a99527f0c4d7bccd0e0d61349167f0cc39a43bf)
* tdehwlib: Allow everyone to read the status of input switches.Slávek Banko2021-02-101-0/+4
| | | | | | | | | | 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 78b21360119cb806370befa301b7bca671884eb0)
* tdecore/tdehw: disable SW_RADIO switch if it's the same as SW_RFKILL_ALLAlexander Golubev2021-02-091-0/+4
| | | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit ce09b7d5e8a8df11ba58723dbce8e1ea6278b54f)
* Fixed more uncrustify's code formatting offending files.Michele Calgaro2021-01-032-4/+47
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 05ee12e2df827059e6f1d01524c19905501cf105)
* Fixed second pass uncrustify's code formatting offending files.Michele Calgaro2020-12-272-14/+20
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9468d05e3d2c56d4287ef464a31f21a689ad7e14)
* Drop weird macro and use memcpy/memset instead.Michele Calgaro2020-12-201-99/+9
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 60ef8289ae01945f48aefd2e03cf1abead4d177d)
* Fixed some uncrustify's code formatting offending files.Michele Calgaro2020-12-192-16/+12
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 491e1c72c7e2a19b58772fd285284e974d489501)
* Renaming of files in preparation for code style tools.Michele Calgaro2020-12-062-5/+5
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 4f99f868f09bbffa2e15733b8b7c78eba07a199e)
* Update translation template.Automated System2020-11-251-0/+2
|
* Add CMakeL10n rules to update all_languages.desktopSlávek Banko2020-11-251-0/+68
| | | | | | | according to the entry.desktop files from tde-i18n. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit cb418ed3fd61c1ab6496861df597bb1b26d412dc)
* Unify language names between all_languages.desktop in tdelibsSlávek Banko2020-11-251-8/+8
| | | | | | | and entry.desktop files in tde-i18n. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit e659dfe3b0e466f8da2dc634ed0e88d9df2e9a13)
* tdehw lib: fixed detection of mountable optical disks with incompleteMichele Calgaro2020-11-241-6/+8
| | | | | | | partition table. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 99b855062b2a684a88b4c2b85a4a548ce66793be)
* Update version number to R14.0.10.Slávek Banko2020-11-041-2/+2
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Update version number for R14.0.9 final release.r14.0.9Slávek Banko2020-10-171-1/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* tdehwlib: Add regular monitoring of power supply device status,Slávek Banko2020-10-071-1/+10
| | | | | | | | | | 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 fb1316c785f2e026316a48b7cade322026490ee2)
* Removed additional code formatting modelines.Michele Calgaro2020-09-272-2/+1
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c07a6bab9d188f08c89696a415983f430412b21d)
* Removed code formatting modelines.Michele Calgaro2020-09-2758-74/+45
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ed8e30bc6dd18716b42087183e57a481d6ec5fa4)
* kpty: prevent to open pseudo ttys twice for openpty(3) platformsOBATA Akio2020-08-311-25/+38
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 8f7371cddfa402a5561f46007985832b32383728)
* Add support of posix_openpt(2) to open master pseudo terminal deviceOBATA Akio2020-08-311-1/+5
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 8e542575e044baf23ae636d32f1c6d4e3b8dea18)
* Add `getservbyname_r` prototype detection to CMakeOBATA Akio2020-08-171-2/+0
| | | | | | | 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 6886dd7e96d475b64ac3c41a96a759c7d5fa2be9)
* Link external library for backtrace in tdecore.Slávek Banko2020-08-171-0/+1
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 59debdf4f0f76222d69ad4f64c38f85f5d08313b)
* Allow to use backtrace(3) external library for kdebugOBATA Akio2020-08-171-1/+5
| | | | | Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 2167207adc49b498536a5a8533c27fc67e0c6e9c)
* Fix to use configured openpty usability conditionOBATA Akio2020-08-121-1/+1
| | | | | | | No reason to restrict only on OpenBSD and FreeBSD here. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 12364c9cc38c1561e5c0b2784c7ed6af4360cb74)
* Fixed handling of svg images that caused an infinite loop (most notablyMichele Calgaro2020-07-061-2/+9
| | | | | | | Kicker was hanging with 100% CPU usage). Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ffe8e495d7e99cc2e235a5f5ac776b72a31627ff)
* Simplify CMake rules for desktop file translations.Slávek Banko2020-06-251-1/+1
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 42f3a62161d1b0c7047d1edfdcb8af72b7314f1b)
* Use private linking for exported CMake targets.Slávek Banko2020-06-121-3/+3
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 158b6e1152413e4fa973b70b7469bb1f256a1f38)
* Desktop file translations:Slávek Banko2020-06-074-14202/+23
| | | | | | | | + 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 4b7a4e17362206fd2eade35ba947a850263b0ea1)
* Drop explicit dependencies on dcopidl and dcopidl2cpp,Slávek Banko2020-06-071-1/+0
| | | | | | | | 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 c2b90055a581e9fb95a281fab53b6c56a96a4f2d)
* Adjusted to TQPtrStack class. This is a minor change.Michele Calgaro2020-05-231-1/+1
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 12602af9287b055dcca2e469f07f554a2e223ffc)
* Check existing XDG folders before localization of the name.Slávek Banko2020-05-181-16/+48
| | | | | | | | | 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 dc699b4fd407fe4e4f887b8f2b3f44a096c9f761)
* Update version number to R14.0.9 development version.Michele Calgaro2020-04-291-2/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Update version number for R14.0.8 final release.r14.0.8Slávek Banko2020-04-111-1/+1
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Removed unnecessary comment.Michele Calgaro2020-03-121-2/+0
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 922e81bf4548dcaf96b4e6b4dcfd90f3390a76e5)
* tdehwlib: Add a read of the current switch state before invokingSlávek Banko2020-02-261-0/+1
| | | | | | | | | 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 8bfa123fb66d2765b7cce78415831a499b4e9e9d)
* tdehwlib: Add event device classification according to the provided switches.Slávek Banko2020-02-231-3/+9
| | | | | | | | 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 f68fadda81d0e107d904a08db30bd8cccbbd1a21)
* Prevent tdenetworkmanager from crashing when using unmanaged devices.Michele Calgaro2020-02-221-37/+46
| | | | | | | This relates to bug 2929. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 3192a72a465d6e5051ab77a43e75716bb641441c)
* Remove remaining 'register' instructions.Michele Calgaro2020-02-202-3/+3
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 30606e55f1a570463d837cb110b0bd4adba6643b)
* tdehwlib: Unify units of battery values.Slávek Banko2020-02-161-8/+42
| | | | | | | | | | | 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 c088fbf55bde4faa68a6d51ba44085bd97c1e4e2)
* tdehwlib: Add allowed access for plugdev group members.Slávek Banko2020-02-091-0/+28
| | | | | | | 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 7f7f7322f9986a25ceef33dc2f47853846e2ec88)
* Removed explicit usage of the 'register' keyword.Michele Calgaro2020-01-309-25/+25
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit aa98dbfe80580169f3df12489a77e8b904a1d9b9)
* Fix private API compatibility in TDEGlobalSettings.Slávek Banko2020-01-302-0/+13
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit f29aa92d38e9e1f353ed48f7952150437db8c890)
* Make sure XDG folders are created prior to their usage.Michele Calgaro2020-01-301-1/+36
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit de79e754fa8118d34ea804d6b4fb7056b65487fd)