| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
This relates to bug 2929.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3192a72a465d6e5051ab77a43e75716bb641441c)
|
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 30606e55f1a570463d837cb110b0bd4adba6643b)
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
execution of malicious code. This is similar to issue #45 for .desktop
files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8b8f5064f7094a713a16ade3bf37d8efec601949)
|
|
|
|
|
|
|
| |
This relates to bug 2882.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
(cherry picked from commit d77acb6ca555fabd6f06a0bfbe7e458653f5b38c)
|
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 94515be234e926611355ec174f91b3abdf1cf13a)
|
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e5256a1bd6b1ee6eb909041c7fecc01d3d6d4be6)
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 017a50624b40f1d24a3a3ab98ee622d906531e12)
|
|
|
|
|
|
|
|
| |
Taken from https://bugs.trinitydesktop.org/show_bug.cgi?id=1362 proposed
patch.
Signed-off-by: Roman Savochenko <roman@roman.home>
(cherry picked from commit 9dc23edee3aa192f99ac56161a341d38374aaacf)
|
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit aa98dbfe80580169f3df12489a77e8b904a1d9b9)
|
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f29aa92d38e9e1f353ed48f7952150437db8c890)
|
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit de79e754fa8118d34ea804d6b4fb7056b65487fd)
|
|
|
|
|
|
|
| |
installed.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 394c9f5c0e1b464aa8bc22bd65c5268acd43994d)
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ 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)
|
|
|
|
|
|
|
|
|
|
|
|
| |
/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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Signed-off-by: Matías Fonzo <selk@dragora.org>
(cherry picked from commit aa9b9581a97daa50855d815b6724b9112448c96f)
|
|
|
|
|
|
|
|
|
| |
+ 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)
|
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit aca6b3d42409234a19e2910443d511328c0b025a)
|
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3a4f7f51cfb88ab6b34918e8f79dea027d02b411)
|
|
|
|
|
| |
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit d4845ced49193b59890e010ed4821b0682c2ba44)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ 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)
|
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 8856d5dde1a086f94b6875fd96fa6d3e479de170)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ 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)
|
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 3b0f07f2cdf3c5228b6d38b33fb5f2bc8fa0542d)
|
|
|
|
|
| |
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit b09eb3a1c0d68a9b4c1f0cf75b4257d67b3336ea)
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
|
| |
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 03b08e594c9b5e62435871aca1c2487234666f24)
|
|
|
|
|
|
|
| |
This partially reverts commit 4e765ab579.
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit bc5150d64efee75e1b79b80011b33a51225270f5)
|
| |
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ 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)
|
|
|
|
|
| |
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 0810a81ba195c1a45c4377aa30f483184e098348)
|
|
|
|
|
| |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 83d02c95a1edfc69f303d838f904dc142bdb2f41)
|
|
|
|
|
| |
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 34aa72861f8bdcb153a534e10f19c729c1754cfa)
|
|
|
|
|
| |
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 82f2aa6b13cbedb1fdb9f0747f19799f2ac1f735)
|
|
|
|
|
| |
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit e098e4600fc89b4ae63888f1295289f5f89af96d)
|
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8b66a5759a6735bfcc7a94e6ba539f0bea55d587)
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
|
|
|
|
|
| |
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 7187b9971214fefa7f8c7c4affc105d20e56ca2f)
|
|
|
|
|
|
|
| |
resolves issue #35.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d3119bb794953d2c8c85a2c805fbe0a0bc8fcbaa)
|
|
|
|
|
| |
Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 038c996bec50007829807a09bd1eeaea19516897)
|