Commit Graph

178 Commits (bb46328fb4c38de5168b2aa498403e55e1550e24)

Author SHA1 Message Date
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 188e2b9e2d
Remove remaining 'register' instructions.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 30606e55f1)
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
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
Slávek Banko f41c1bba8b
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 kconfig $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 1074eb0336)
6 years ago
Slávek Banko db60dede7d
Fix CMake build dependencies for tests.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 8fc2a6ca26)
6 years ago
Slávek Banko cfa79f06e2
Use system libdir when searching for dynamically loaded libraries.
This prevents finding an incorrect architecture on multi-arch systems.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 8a859540c3)
6 years ago
Slávek Banko 92a29f00ef Fix bug reports link in about dialog
Update bug reports url to bugs.trinitydesktop.org
This resolves bug 2935

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit aa83c86cd3)
7 years ago
Slávek Banko 6c68e92d38 Add search for utempter helper
This resolves Bug 2841

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a14adb9ab9)
7 years ago
Roman Savochenko 8193acc745 Add brightness keys support
This relates to bug 2781

Signed-off-by: Roman Savochenko <rom_as@oscada.org>
(cherry picked from commit 4dd179aaa3)
8 years ago
Slávek Banko d330c431b4 Fix memory leak after use XGetAtomName
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ab525f2baa)
8 years ago
Alexander Golubev a6435d8bbc fixup! tdecore/tdeconfig_compiler: add check/test executables
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit d556a8752c)
8 years ago
Slávek Banko 8e0f94f7d9 tdecore/tdeconfig_compiler: Always use tqt names of objects in the generated files
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 68d315af10)
8 years ago
Alexander Golubev eac6bd0980 tdecore/tdeconfig_compiler: add check/test executables
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 57e73e9e4c)
8 years ago
Alexander Golubev b285b4e15f testing: add TEST argument to tde_add_check_executable() macro
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 7e73e618d0)
8 years ago
Alexander Golubev 0b91193d5d tdecore: fix a crash of dcop non-GUI apps without X
Previously non-GUI apps crashed on TDEApplication::updateUserTimestamp
callback when receiving a DCOP message.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 5842fb37df)
8 years ago
Alexander Golubev b1a20aabbe Include module into test names
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 6c1b8a75f2)
8 years ago
Alexander Golubev f088e39885 Initial add for check target for cmake
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 0c64a776dd)
8 years ago
Timothy Pearson fc073bef59 Fix a number of build warnings
(cherry picked from commit e0b1bfb014)
8 years ago
Timothy Pearson ee59867766 Fix tdebindings FTBFS
(cherry picked from commit 3c06aad156)
9 years ago
Timothy Pearson f05253b5e0 Allow session manager to be disable on creation when argc and argv are not passed to TDEApplication
This relates to Bug 760
(cherry picked from commit 7cc3a975d2)
9 years ago
Timothy Pearson 83e71b4192 Allow TDEApplication objects to be constructed without a session manager
This relates to Bug 760
(cherry picked from commit 6f4fd5e563)
9 years ago
Timothy Pearson 3825ec9e3f Add tdelfeditor
(small portion of original commit)
(cherry picked from commit d6a4fe9ca8)
9 years ago
Slávek Banko 6b2da2581d Fix quotedPrintablecodec to support lower-case letters in hex codes
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 912e4866ef)
9 years ago
Timothy Pearson 1a8b4a9539 Fix prior commits
(cherry picked from commit 6e6464537c)
9 years ago
Timothy Pearson d1a4ef36b1 Fix prior commit
(cherry picked from commit 4e04b0a438)
9 years ago
Timothy Pearson a59d0892a2 Add GPL v3 license to TDEAboutData options
(cherry picked from commit 85c0e479c1)
9 years ago
Nikolaus Klepp 4928612f61 Fix FTBFS due to missing export lt_dlopen_flag
Signed-off-by: Nikolaus Klepp <office@klepp.biz>
(cherry picked from commit 022a297ed7)
9 years ago
Slávek Banko 1a68e615e1 Fix several issues on freebsd
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit e469e42c76)
9 years ago
Slávek Banko e4ef4e00f9 Fix FTBFS on freebsd due to utmpx
[taken from FreeBSD kdelibs3 patches]

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit e443c9e0b2)
9 years ago
Slávek Banko d7ca37b4b1 Force to handle DCOP requests in KUniqueApplication (newInstance call)
This resolves Bug 2437

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit c6c1d781a5)
9 years ago
Timothy Pearson f416e6d8f2 Remove unneeded check and handler for broken TQt DnD
Application of patch 0037-dnd-timestamp-fix.patch to TQt3 verified before removal
(cherry picked from commit bbd5f4476c)
9 years ago
François Andriot 0c90f47458 Fix FTBFS on openbsd because missing link to "util" library
(cherry picked from commit 8e7888b857)
9 years ago
François Andriot 2e79465b10 Add support for openbsd in kresolver
(cherry picked from commit 439f3ba7ea)
9 years ago
François Andriot 4ade6a8e20 Add support for openbsd pty in kpty
(cherry picked from commit e61585edf0)
9 years ago
Timothy Pearson 83cdf8affa Fix another case of undefined behaviour
(cherry picked from commit 20e7ea1336)
9 years ago
François Andriot c8164e3a5c Added support for XDG directories: music, pictures, videos, download.
This relates to bug 1499.
(cherry picked from commit 4ca479102d)
9 years ago
Slávek Banko c19a10f20f Fix tdecore directories of linked libraries
(cherry picked from commit 62ac96e110)
9 years ago
Michele Calgaro 5529b46d24 Update kate syntax highlight files
(cherry picked from commit bf4e405e03)
9 years ago
Timothy Pearson bfb89e3efe Do not grab wrong key when AltGr sequence is required to access global accelerator sequence character
This resolves Bug 1676
(cherry picked from commit 05e764aa4c)
9 years ago
Darrell Anderson 7bd7fe3ff9 Add source code module name to stdout/stderr messages to improve readability.
(cherry picked from commit a53b185855)
9 years ago
Timothy Pearson 04148b4a02 Print additional information when symbol not found by KLibLoader
(cherry picked from commit ef3c8ab413)
9 years ago
Slávek Banko fbf7deabdc Cleanup KPty warnings
(cherry picked from commit cfe43899ca)
9 years ago
Timothy Pearson 630a9a81ae Disable constant generation of backtraces in TDEIconLoader
This relates to Bug 1674
(cherry picked from commit cced03e1d4)
9 years ago
Alexander Golubev 37c097719c Add new build option WITH_XCOMPOSITE
Fix build without xcomposite
This resolves Bug 1289
(cherry picked from commit 6e81fa9ce1)
9 years ago