Commit Graph

769 Commits (bb46328fb4c38de5168b2aa498403e55e1550e24)
 

Author SHA1 Message Date
Slávek Banko bb46328fb4
dcopidlng fixes:
+ includes may use quotation marks
+ argument types can contain multiple words
+ avoid use long, short, int or char type as the argument name
+ avoid use type as the argument name if the const qualifier is used
+ use long notation of int types
+ the arguments can be nameless
+ return types can have qualifiers
+ do not warn on inherit of the DCOPObject and TQObject classes
+ the documentation comment does not have to end on a separate line

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 49614d38c9)
4 years ago
Slávek Banko 2ad5c999a7
Enable the use of dcopidlng during build tdelibs.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ef23612c56)
4 years ago
Slávek Banko eba282f397
Fix typo in the SSL library check rules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit aa244c3700)
4 years ago
Slávek Banko f659403a3a
Check existing XDG folders before localization of the name.
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 dc699b4fd4)
4 years ago
Michele Calgaro b34eba6147
KJobViewer: make sure the printer lists is correctly updated when printers are added or removed. This relates to bug 1362.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 69c2d469b8)
4 years ago
Michele Calgaro df6c901347
Fixed unresponsive behavior of the shortcut setting dialog in recent
ditros. This resolves bug 2955.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8ea3d4dd87)
4 years ago
Michele Calgaro a860d82bef
kjobviewer: fixed initial value of KeepWindow checkbox. This was causing KJobViewer to not autostart unless the user first toggled the checkbox at least once. Relates to bug 1362.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a57ae64c11)
4 years ago
Michele Calgaro 188e2b9e2d
Remove remaining 'register' instructions.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 30606e55f1)
4 years ago
Michele Calgaro 58b490adcc
Security: remove support for $(...) in KRun which could have allowed
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 8b8f5064f7)
4 years ago
Michele Calgaro 5523d65792
Removed kerry related code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 94515be234)
4 years ago
Michele Calgaro e58c536dd1
Removed beagle related code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e5256a1bd6)
4 years ago
Slávek Banko fbd64ec386
Improve folder icons on the speedbar.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 017a50624b)
4 years ago
Michele Calgaro 5dad8abdc3
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>
(cherry picked from commit 9dc23edee3)
4 years ago
Michele Calgaro 05dbf5c0b1
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit aa98dbfe80)
4 years ago
Slávek Banko 119bb12503
Fix private API compatibility in TDEGlobalSettings.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f29aa92d38)
4 years ago
Michele Calgaro b3a875f92e
Make sure XDG folders are created prior to their usage.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit de79e754fa)
4 years ago
Michele Calgaro 54800d9de6
Improved support for XDG folders without requiring xdg-user-dirs to be installed.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 394c9f5c0e)
4 years ago
Matías Fonzo d5b27c1f51
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>
(cherry picked from commit c2adce2e13)
4 years ago
Matías Fonzo 319d2b0943
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>
(cherry picked from commit 8d74c9c44f)
4 years ago
Matías Fonzo a1d5228ba2
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>
(cherry picked from commit 8ae17a5d9d)
4 years ago
Matías Fonzo 7fe5760c2a
Fix LibreSSL detection at tdeio/kssl/
Signed-off-by: Matías Fonzo <selk@dragora.org>
(cherry picked from commit aa9b9581a9)
4 years ago
Slávek Banko 46ecddaeff
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>
(cherry picked from commit 281e2da7f1)
4 years ago
Michele Calgaro a9bf439608
Added support for XDG_PICTURES_DIR and XDG_TEMPLATES_DIR in TDE global settings.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit aca6b3d424)
4 years ago
Michele Calgaro fb65a4b212
Fix handling of XDG directories in TDEConfigBase. This relates to issue #60.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3a4f7f51cf)
4 years ago
TDE Gitea f2c4b9b2fc Reset submodule main/core/tdelibs/cmake to latest HEAD 4 years ago
TDE Gitea becb8f7b92 Reset submodule main/core/tdelibs/cmake to latest HEAD 4 years ago
TDE Gitea 710c105057 Reset submodule main/core/tdelibs/admin to latest HEAD 4 years ago
TDE Gitea 9263dda957 Reset submodule main/core/tdelibs/cmake to latest HEAD 4 years ago
TDE Gitea 76e7ce8165 Reset submodule main/core/tdelibs/cmake to latest HEAD 4 years ago
TDE Gitea 475b3f9151 Reset submodule main/core/tdelibs/admin to latest HEAD 4 years ago
TDE Gitea 3182791c64 Reset submodule main/tdelibs/cmake to latest HEAD 4 years ago
TDE Gitea bed57b80d7 Reset submodule main/tdelibs/admin to latest HEAD 4 years ago
TDE Gitea b82c15155c Reset submodule main/tdelibs/cmake to latest HEAD 4 years ago
TDE Gitea 08b148b7e0 Reset submodule main/tdelibs/admin to latest HEAD 4 years ago
TDE Gitea 025acdb3fc Reset submodule main/tdelibs/cmake to latest HEAD 4 years ago
TDE Gitea 559311fbe6 Reset submodule main/tdelibs/admin to latest HEAD 4 years ago
TDE Gitea 8e6648f033 Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 90033833c9 Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 97d17684b6 Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea b683d7f72d Reset submodule main/tdelibs/admin to latest HEAD 5 years ago
TDE Gitea e0527d4cac Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 179efff131 Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 29259b467a Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 8b9c870f38 Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 7b5ea7b536 Reset submodule main/tdelibs/admin to latest HEAD 5 years ago
TDE Gitea 08975fdfa7 Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 23868d22bf Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 60dcc3f138 Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 6f70ee78e0 Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago
TDE Gitea 591dc1e006 Reset submodule main/tdelibs/cmake to latest HEAD 5 years ago