Commit Graph

187 Commits (be8ea9c41a14c8b1f8624f238b37f78043022b83)

Author SHA1 Message Date
OBATA Akio be8ea9c41a
kpty: prevent to open pseudo ttys twice for openpty(3) platforms
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 8f7371cddf)
4 years ago
OBATA Akio 1d9cf8e717
Add support of posix_openpt(2) to open master pseudo terminal device
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 8e542575e0)
4 years ago
OBATA Akio 3242ddae6c
Add `getservbyname_r` prototype detection to CMake
OpenBSD's prototype is differ than glibc's one, but it is declared.

Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 6886dd7e96)
4 years ago
Slávek Banko 0ac62424d2
Link external library for backtrace in tdecore.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 59debdf4f0)
4 years ago
OBATA Akio 3241cab0cf
Allow to use backtrace(3) external library for kdebug
Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 2167207adc)
4 years ago
OBATA Akio c2b391d828
Fix to use configured openpty usability condition
No reason to restrict only on OpenBSD and FreeBSD here.

Signed-off-by: OBATA Akio <obache@wizdas.com>
(cherry picked from commit 12364c9cc3)
4 years ago
Michele Calgaro 02424237c8
Fixed handling of svg images that caused an infinite loop (most notably
Kicker was hanging with 100% CPU usage).

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ffe8e495d7)
4 years ago
Slávek Banko d37bb843d1
Use private linking for exported CMake targets.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 158b6e1152)
4 years ago
Slávek Banko b2ff598b34
Drop explicit dependencies on dcopidl and dcopidl2cpp,
because thanks to the replacement of KDE3 CMake macros
with TDE macros, this is no longer needed.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit c2b90055a5)
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 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