summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* The date for updating the release information in docbookSlávek Banko2020-03-251-11/+19
| | | | | | | | | | | entities is converted exclusively by cmake code instead of calling the "date" binary because it may have different options on different systems. If the file modification date is to be determined, GNU find is necessary. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Reset submodule main/tdelibs/cmake to latest HEADAutomated System2020-03-231-0/+0
|
* Use the source package date or the source git repository dateSlávek Banko2020-03-154-107/+80
| | | | | | | | | | | instead of the current build date. The use of a stable date is necessary to achieve reproducible builds. Updating release information in docbook entities is done directly in CMake rules. Entities will no longer be duplicated during repeated updates. 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>
* 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>
* 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>
* 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>
* Remove remaining 'register' instructions.Michele Calgaro2020-02-2010-19/+19
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* 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>
* Security: remove support for $(...) in KRun which could have allowedMichele Calgaro2020-02-161-20/+1
| | | | | | | execution of malicious code. This is similar to issue #45 for .desktop files. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Add a sub-menu "Logic Games" in Games.gregory guy2020-02-141-0/+12
| | | | | | This relates to bug 2882. Signed-off-by: gregory guy <gregory-tde@laposte.net>
* Added back build options for UDISKS2, UDISKS and UDEVIL as requested byMichele Calgaro2020-02-105-24/+79
| | | | | | some users. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Removed kerry related code.Michele Calgaro2020-02-091-1/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Removed beagle related code.Michele Calgaro2020-02-093-16/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdehwlib: Add allowed access for plugdev group members.Slávek Banko2020-02-051-0/+28
| | | | | | This is useful if the system no longer supports policy at_console. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Improve folder icons on the speedbar.Slávek Banko2020-01-311-4/+4
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* KJobviewer: keep "permanent window" option across sessions.Michele Calgaro2020-01-312-0/+13
| | | | | | | Taken from https://bugs.trinitydesktop.org/show_bug.cgi?id=1362 proposed patch. Signed-off-by: Roman Savochenko <roman@roman.home>
* Removed explicit usage of the 'register' keyword.Michele Calgaro2020-01-3050-415/+415
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix private API compatibility in TDEGlobalSettings.Slávek Banko2020-01-302-0/+13
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Make sure XDG folders are created prior to their usage.Michele Calgaro2020-01-292-28/+53
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Improved support for XDG folders without requiring xdg-user-dirs to be ↵Michele Calgaro2020-01-285-185/+179
| | | | | | installed. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* 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>
* Redirect some headers noticed by the compilerMatías Fonzo2020-01-222-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>
* Added missing headers for tdeinit/start_tdeinit.cMatías Fonzo2020-01-221-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>
* Use the correct macros isnan, isinf for libc compatibilityMatías Fonzo2020-01-224-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>
* Fix LibreSSL detection at tdeio/kssl/Matías Fonzo2020-01-181-4/+4
| | | | Signed-off-by: Matías Fonzo <selk@dragora.org>
* 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>
* 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>
* 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>
* Fix camera device icon in hwmanager and other places.Chris2020-01-103-0/+0
| | | | Signed-off-by: Chris <xchrisx@uber.space>
* 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>
* 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>
* 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>
* 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>
* Fix icons for some MIME types.Chris2019-12-1920-20/+21
| | | | Signed-off-by: Chris <xchrisx@uber.space>
* Synchronize German translation of desktop files with the rest.Chris2019-12-172-2/+5
| | | | Signed-off-by: Chris <xchrisx@uber.space>
* 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>
* 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>
* 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>
* Process the new location of the ICEauthority fileSlávek Banko2019-12-024-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>
* Improve TDEResources icon and name.Chris2019-11-081-69/+69
| | | | Signed-off-by: Chris <xchrisx@uber.space>
* 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>
* Fix missing button icons in dialogs.Chris2019-10-291-13/+13
| | | | Signed-off-by: Chris <xchrisx@uber.space>
* Add icon to switch language menu entry.Chris2019-10-131-1/+1
| | | | Signed-off-by: Chris <xchrisx@uber.space>
* Add TQt branding to Qt ones for designer files.Chris2019-10-071-80/+80
| | | | Signed-off-by: Chris <xchrisx@uber.space>
* 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>
* 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>
* Removed .lsm files. lsm database is outdated and unmaintained.Michele Calgaro2019-09-011-14/+0
|