summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make sure XDG folders are created prior to their usage.Michele Calgaro2020-01-302-28/+53
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit de79e754fa8118d34ea804d6b4fb7056b65487fd)
* Improved support for XDG folders without requiring xdg-user-dirs to be ↵Michele Calgaro2020-01-305-185/+179
| | | | | | | installed. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 394c9f5c0e1b464aa8bc22bd65c5268acd43994d)
* tdehwlib: Adjusted parsing of battery informationSlávek Banko2020-01-231-8/+24
| | | | | | | | | | | | + 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 ecd1e4bd401a00be11f4d8bbaff01718f29f9118)
* Redirect some headers noticed by the compilerMatías Fonzo2020-01-232-2/+1
| | | | | | | | | | | | /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 c2adce2e133c167567df8607a32a420a9825f695)
* Added missing headers for tdeinit/start_tdeinit.cMatías Fonzo2020-01-231-0/+3
| | | | | | | | | | | | | | | | | | | | Error found when compiling against GCC9+Musl: Scanning dependencies of target start_tdeinit [ 51%] Building C object tdeinit/CMakeFiles/start_tdeinit.dir/start_tdeinit.c.o /usr/src/qi/build/tdelibs-trinity-14.0.7/tdeinit/start_tdeinit.c: In function ‘set_protection’: /usr/src/qi/build/tdelibs-trinity-14.0.7/tdeinit/start_tdeinit.c:47:16: error: storage size of ‘st’ isn’t known 47 | struct stat st; | ^~ /usr/src/qi/build/tdelibs-trinity-14.0.7/tdeinit/start_tdeinit.c:51:9: warning: implicit declaration of function ‘lstat’ [-Wimplicit-function-declaration] 51 | if ( lstat (buf, &st) == 0) { | ^~~~~ make[2]: *** [tdeinit/CMakeFiles/start_tdeinit.dir/build.make:63: tdeinit/CMakeFiles/start_tdeinit.dir/start_tdeinit.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:10421: tdeinit/CMakeFiles/start_tdeinit.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 Signed-off-by: Matías Fonzo <selk@dragora.org> (cherry picked from commit 8d74c9c44f75bb427808da876650a074b1319467)
* Use the correct macros isnan, isinf for libc compatibilityMatías Fonzo2020-01-234-91/+2
| | | | | | | | | | | | | Changes related to this commit: - Clean up #if mess. - Use unconditionally the correct macros isnan, isinf. - Remove redudant macros from the build system. Signed-off-by: Matías Fonzo <selk@dragora.org> (cherry picked from commit 8ae17a5d9d77d489a2d16529f16680d31374537e)
* Fix LibreSSL detection at tdeio/kssl/Matías Fonzo2020-01-201-4/+4
| | | | | Signed-off-by: Matías Fonzo <selk@dragora.org> (cherry picked from commit aa9b9581a97daa50855d815b6724b9112448c96f)
* Fix building with avahi supportSlávek Banko2020-01-124-12/+12
| | | | | | | | | + Avahi detection was not performed at all + Added missing avahi-client detection + Fixed FTBFS in avahi related code Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 281e2da7f14eca57104dbd3f7da39506011729a8)
* Added support for XDG_PICTURES_DIR and XDG_TEMPLATES_DIR in TDE global settings.Michele Calgaro2020-01-122-3/+38
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit aca6b3d42409234a19e2910443d511328c0b025a)
* Fix handling of XDG directories in TDEConfigBase. This relates to issue #60.Michele Calgaro2020-01-121-6/+32
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 3a4f7f51cfb88ab6b34918e8f79dea027d02b411)
* Fix camera device icon in hwmanager and other places.Chris2020-01-103-0/+0
| | | | | Signed-off-by: Chris <xchrisx@uber.space> (cherry picked from commit d4845ced49193b59890e010ed4821b0682c2ba44)
* tdehwlib: Fix parsing of CPU cores frequency informationSlávek Banko2020-01-091-77/+71
| | | | | | | | | | | | | | | | | + 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 ba82cdf5be78b46889dc0d1e3906e353489925ad)
* tdehw: Fix wrong merge location in prior commit.Slávek Banko2020-01-081-3/+3
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 8856d5dde1a086f94b6875fd96fa6d3e479de170)
* tdehwlib: Adjusted parsing of battery informationSlávek Banko2020-01-082-10/+36
| | | | | | | | | | | | | | | | | | | | | | | + 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 86c1d896c748bf5117ccfe28b20e48a7e2a70c8d)
* tdehwlib: Classify the charger as an AC adapter, not as a battery.Slávek Banko2020-01-081-0/+1
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 3b0f07f2cdf3c5228b6d38b33fb5f2bc8fa0542d)
* Fix icons for some MIME types.Chris2020-01-0320-20/+21
| | | | | Signed-off-by: Chris <xchrisx@uber.space> (cherry picked from commit b09eb3a1c0d68a9b4c1f0cf75b4257d67b3336ea)
* Updated version number to R14.0.8 [DEVELOPMENT].Slávek Banko2020-01-023-6/+6
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Update version number for R14.0.7 final release.r14.0.7Slávek Banko2019-12-184-5/+5
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Synchronize German translation of desktop files with the rest.Chris2019-12-172-2/+5
| | | | | Signed-off-by: Chris <xchrisx@uber.space> (cherry picked from commit 03b08e594c9b5e62435871aca1c2487234666f24)
* Fix wrong XDG patch for tdelibs, which resulted in missing icons.Chris2019-12-161-1/+1
| | | | | | | This partially reverts commit 4e765ab579. Signed-off-by: Chris <xchrisx@uber.space> (cherry picked from commit bc5150d64efee75e1b79b80011b33a51225270f5)
* Reset submodule main/tdelibs/cmake to latest HEADAutomated System2019-12-081-0/+0
|
* Switch all submodules to https.Slávek Banko2019-12-081-3/+3
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fix missing return values in kopenssl.François Andriot2019-12-041-0/+7
| | | | | | Signed-off-by: François Andriot <francois.andriot@free.fr> Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit a6bbb9e7bc21382b504c8c6fe408a766a3890bb6)
* Fix FTBFS for build without tdehwlib.François Andriot2019-12-041-0/+4
| | | | | | Signed-off-by: François Andriot <francois.andriot@free.fr> Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 82e214c84f333e6b22093ab8ff5afe53aa732cc8)
* Process the new location of the ICEauthority fileSlávek Banko2019-12-034-32/+82
| | | | | | | | | | | | | | | | + our internal implementation of IceAuthFileName tests whether the ICEauthority file exists in the folder specified by the XDG_RUNTIME_DIR variable + DCOP client tests whether the ICEauthority file for a specific user exists in the user's folder based on the XDG_RUNTIME_DIR variable + tdeinit uses the IceAuthFileName() function instead of building the file name This relates to bug 3027. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 38b2b0be7840d868c21093a406ab98a646212de1)
* Improve TDEResources icon and name.Chris2019-11-281-69/+69
| | | | | Signed-off-by: Chris <xchrisx@uber.space> (cherry picked from commit 0810a81ba195c1a45c4377aa30f483184e098348)
* cmake: Avoid double generating of dcop/tests files.Slávek Banko2019-11-051-14/+7
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 83d02c95a1edfc69f303d838f904dc142bdb2f41)
* Fix missing button icons in dialogs.Chris2019-11-031-13/+13
| | | | | Signed-off-by: Chris <xchrisx@uber.space> (cherry picked from commit 34aa72861f8bdcb153a534e10f19c729c1754cfa)
* Add icon to switch language menu entry.Chris2019-10-191-1/+1
| | | | | Signed-off-by: Chris <xchrisx@uber.space> (cherry picked from commit 82f2aa6b13cbedb1fdb9f0747f19799f2ac1f735)
* Add TQt branding to Qt ones for designer files.Chris2019-10-101-80/+80
| | | | | Signed-off-by: Chris <xchrisx@uber.space> (cherry picked from commit e098e4600fc89b4ae63888f1295289f5f89af96d)
* Fixed type in LIBRESSL usage. This relates to a comment made on issue #28.Michele Calgaro2019-09-191-1/+1
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 8b66a5759a6735bfcc7a94e6ba539f0bea55d587)
* Fix SSL initialization for OpenSSL >= 1.1.Slávek Banko2019-09-041-2/+2
| | | | | | | | | | | The first argument of the OPENSSL_init_ssl and OPENSSL_init_crypto functions must be a 64-bit int, not a 32-bit int, as this caused unpredictable OpenSSL behavior. This resolves bug 3024. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit a2ad929640f62ee1f854564366ce1cd8547de455)
* Removed .lsm files. lsm database is outdated and unmaintained.Michele Calgaro2019-09-041-14/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix ordered list tag.Chris2019-08-181-1/+1
| | | | | Signed-off-by: Chris <xchrisx@uber.space> (cherry picked from commit 7187b9971214fefa7f8c7c4affc105d20e56ca2f)
* Fixed missing update of mime comment in refreshed KFileItem. ThisMichele Calgaro2019-08-142-5/+8
| | | | | | | resolves issue #35. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d3119bb794953d2c8c85a2c805fbe0a0bc8fcbaa)
* Replace Qt branding with TQt ones.Chris2019-08-111-1/+1
| | | | | Signed-off-by: Chris <xchrisx@uber.space> (cherry picked from commit 038c996bec50007829807a09bd1eeaea19516897)
* Followup on previous commit to drop qt-messages.pot file.Michele Calgaro2019-08-091-17/+2
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 952fb5624176cdd1f80d252dcd03cc38716fb409)
* Remove now unneeded *.pot file.Chris2019-08-091-1355/+0
| | | | | Signed-off-by: Chris <xchrisx@uber.space> (cherry picked from commit 2e055ab5ed1b0403a59c17cbc8227308c22c64c4)
* Security: remove support for $(...) in config keys with [$e] marker.Slávek Banko2019-08-092-32/+1
| | | | | | | | | | | | | | | | 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 1074eb033654bd5462677ffe694eda7805390284)
* Fix translations of "TDE Classic" for ar, bn, hi, ta and te languages.Chris2019-07-311-10/+10
| | | | | Signed-off-by: Chris <xchrisx@uber.space> (cherry picked from commit 38198900a49c5fe8cb9c7e9a9af9bba858e30f39)
* CMakeL10n: Extract strings from tdeabc/scripts/entrylistSlávek Banko2019-07-291-15/+47
| | | | | | | instead of generating addressee source files. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 298bd920d17320718c733030c02ad6bc8ed43c93)
* Fix branding of TDE Classic style in tdestyle selection.Chris2019-07-271-137/+137
| | | | | Signed-off-by: Chris <xchrisx@uber.space> (cherry picked from commit 9768cf120a0d1ea492934140e26909900baa0bb5)
* Replace Qt branding with TQt ones.Chris2019-07-241-1/+1
| | | | | Signed-off-by: Chris <xchrisx@uber.space> (cherry picked from commit 90562f7b8a02f050dbe5fffec3d8c709b10713c4)
* Fix incorrect translations of language names.Anton Repko2019-07-211-1/+1
| | | | | Signed-off-by: Anton Repko <anton@a-repko.sk> (cherry picked from commit dd36ea0a096fded7473ad4e64bd88252737012fe)
* Fix remaining brandings in tdelibs and adopt to modern age.Chris2019-07-215-13/+13
| | | | | Signed-off-by: Chris <xchrisx@uber.space> (cherry picked from commit 0e071064b91e64638e14f3756d477f9e2fd3317e)
* Fix incorrect translations of language names.Anton Repko2019-07-211-2/+2
| | | | | Signed-off-by: Anton Repko <anton@a-repko.sk> (cherry picked from commit eeb8782f05517d4cbcfb059ff855384dfd4c0383)
* Fix small typo in prior commit.Slávek Banko2019-07-131-1/+1
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit e1ef15d04d1a3f5fcfb07bcf99c6647580b32b6f)
* Update and promote new TDE websites, replace branding and do slight refactoring.Chris2019-07-134-26/+28
| | | | | Signed-off-by: Chris <xchrisx@uber.space> (cherry picked from commit e53c04d5d3f91cc4857d647d0a39c350a1c9eed7)
* Replace Qt branding with TQt ones.Chris2019-07-131-1/+1
| | | | | Signed-off-by: Chris <xchrisx@uber.space> (cherry picked from commit 894e9e5e87f9f315040ac8cf1d30f9ea34931df8)
* Fix typos in texts.Slávek Banko2019-07-111-2/+2
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 960a08e853eab3797959154fe416932d319c410e)