Commit Graph

1641 Commits (017a50624b40f1d24a3a3ab98ee622d906531e12)
 

Author SHA1 Message Date
Slávek Banko 017a50624b
Improve folder icons on the speedbar.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro 9dc23edee3
KJobviewer: keep "permanent window" option across sessions.
Taken from https://bugs.trinitydesktop.org/show_bug.cgi?id=1362 proposed
patch.

Signed-off-by: Roman Savochenko <roman@roman.home>
5 years ago
Michele Calgaro aa98dbfe80
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko f29aa92d38
Fix private API compatibility in TDEGlobalSettings.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Michele Calgaro de79e754fa
Make sure XDG folders are created prior to their usage.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro 394c9f5c0e
Improved support for XDG folders without requiring xdg-user-dirs to be installed.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Slávek Banko ecd1e4bd40
tdehwlib: Adjusted parsing of battery information
+ 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>
5 years ago
Matías Fonzo c2adce2e13
Redirect some headers noticed by the compiler
/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>
5 years ago
Matías Fonzo 8d74c9c44f
Added missing headers for tdeinit/start_tdeinit.c
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>
5 years ago
Matías Fonzo 8ae17a5d9d Use the correct macros isnan, isinf for libc compatibility
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>
5 years ago
Matías Fonzo aa9b9581a9
Fix LibreSSL detection at tdeio/kssl/
Signed-off-by: Matías Fonzo <selk@dragora.org>
5 years ago
Slávek Banko 281e2da7f1
Fix building with avahi support
+ 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>
5 years ago
Michele Calgaro aca6b3d424
Added support for XDG_PICTURES_DIR and XDG_TEMPLATES_DIR in TDE global settings.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro 3a4f7f51cf
Fix handling of XDG directories in TDEConfigBase. This relates to issue #60.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Chris d4845ced49 Fix camera device icon in hwmanager and other places.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Slávek Banko ba82cdf5be
tdehwlib: Fix parsing of CPU cores frequency information
+ 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>
5 years ago
Slávek Banko 8856d5dde1
tdehw: Fix wrong merge location in prior commit.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko 86c1d896c7
tdehwlib: Adjusted parsing of battery information
+ 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>
5 years ago
Slávek Banko 3b0f07f2cd
tdehwlib: Classify the charger as an AC adapter, not as a battery.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Chris b09eb3a1c0 Fix icons for some MIME types.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Chris 03b08e594c Synchronize German translation of desktop files with the rest.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Chris bc5150d64e Fix wrong XDG patch for tdelibs, which resulted in missing icons.
This partially reverts commit 4e765ab579.

Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
TDE Gitea a4c0fd7ee8 Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
Slávek Banko 17c2273353
Switch all submodules to https.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
François Andriot a6bbb9e7bc
Fix missing return values in kopenssl.
Signed-off-by: François Andriot <francois.andriot@free.fr>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
François Andriot 82e214c84f
Fix FTBFS for build without tdehwlib.
Signed-off-by: François Andriot <francois.andriot@free.fr>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko 38b2b0be78
Process the new location of the ICEauthority file
+ 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>
5 years ago
Chris 0810a81ba1 Improve TDEResources icon and name.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Slávek Banko 83d02c95a1
cmake: Avoid double generating of dcop/tests files.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Chris 34aa72861f Fix missing button icons in dialogs.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Chris 82f2aa6b13 Add icon to switch language menu entry.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Chris e098e4600f Add TQt branding to Qt ones for designer files.
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Michele Calgaro 8b66a5759a
Fixed type in LIBRESSL usage. This relates to a comment made on issue #28.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko a2ad929640
Fix SSL initialization for OpenSSL >= 1.1.
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>
6 years ago
Michele Calgaro ec74ee4d12
Removed .lsm files. lsm database is outdated and unmaintained. 6 years ago
Chris 7187b99712 Fix ordered list tag.
Signed-off-by: Chris <xchrisx@uber.space>
6 years ago
Michele Calgaro d3119bb794
Fixed missing update of mime comment in refreshed KFileItem. This
resolves issue #35.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Chris 038c996bec Replace Qt branding with TQt ones.
Signed-off-by: Chris <xchrisx@uber.space>
6 years ago
Michele Calgaro 952fb56241
Followup on previous commit to drop qt-messages.pot file.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Chris 2e055ab5ed Remove now unneeded *.pot file.
Signed-off-by: Chris <xchrisx@uber.space>
6 years ago
Slávek Banko 1074eb0336
Security: remove support for $(...) in config keys with [$e] marker.
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>
6 years ago
Chris 38198900a4 Fix translations of "TDE Classic" for ar, bn, hi, ta and te languages.
Signed-off-by: Chris <xchrisx@uber.space>
6 years ago
Slávek Banko 298bd920d1
CMakeL10n: Extract strings from tdeabc/scripts/entrylist
instead of generating addressee source files.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Chris 9768cf120a Fix branding of TDE Classic style in tdestyle selection.
Signed-off-by: Chris <xchrisx@uber.space>
6 years ago
Chris 90562f7b8a Replace Qt branding with TQt ones.
Signed-off-by: Chris <xchrisx@uber.space>
6 years ago
Anton Repko dd36ea0a09
Fix incorrect translations of language names.
Signed-off-by: Anton Repko <anton@a-repko.sk>
6 years ago
Chris 0e071064b9 Fix remaining brandings in tdelibs and adopt to modern age.
Signed-off-by: Chris <xchrisx@uber.space>
6 years ago
Anton Repko eeb8782f05
Fix incorrect translations of language names.
Signed-off-by: Anton Repko <anton@a-repko.sk>
6 years ago
Michele Calgaro edcf1665f0
Removed sync dbus call code in tdenetworkmanager to align to latest
dbus-1-tqt code.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko e1ef15d04d
Fix small typo in prior commit.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago