OBATA Akio
965a808b91
Improve progname detection portability
...
`getprogname()` of FreeBSD is based on NetBSD's one, no reason to
prevent using it on NetBSD.
glibc also has own special variable for progname.
Signed-off-by: OBATA Akio <obache@wizdas.com>
4 years ago
Slávek Banko
42f3a62161
Simplify CMake rules for desktop file translations.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Slávek Banko
158b6e1152
Use private linking for exported CMake targets.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko
080c061b15
For templates from CMake, use the TDE CMAKE TEMPLATES variable.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko
4b7a4e1736
Desktop file translations:
...
+ Creation of POT template for desktop files added to CMakeL10n rules.
+ Added creation of translated desktop files during build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 years ago
Slávek Banko
c2b90055a5
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>
5 years ago
Michele Calgaro
9cd27dbaa3
Fixed tde branding of services in tdebuildsycoca. This was creating old
...
kde-* entries in profilerc when updating file type preferences. This
relates to bug 3083.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
8b8f5064f7
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>
5 years ago
Michele Calgaro
e5256a1bd6
Removed beagle related code.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
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
aa98dbfe80
Removed explicit usage of the 'register' keyword.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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
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
aa9b9581a9
Fix LibreSSL detection at tdeio/kssl/
...
Signed-off-by: Matías Fonzo <selk@dragora.org>
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
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>
5 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>
5 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>
5 years ago
Chris
0e071064b9
Fix remaining brandings in tdelibs and adopt to modern age.
...
Signed-off-by: Chris <xchrisx@uber.space>
5 years ago
Michele Calgaro
aaaf378033
Adjusted to use new TQStringVariantMap type.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro
352c8f6a21
Adjusted to latest TQVariant::TQVariant(bool) function.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Mavridis Philippe
86fea6f5c5
Added some checks in KSSL (in TDEIO) to correctly recognize LibreSSL (which is a fork of OpenSSL 1.0.1b)
...
This resolves issue #28 .
Signed-off-by: Mavridis Philippe <mfilippos@yandex.ru>
6 years ago
Slávek Banko
8a859540c3
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>
6 years ago
Slávek Banko
43609c8a21
Fix SSL initialization for OpenSSL >= 1.1.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
ebf0115af1
Use common test for large files support.
...
Drop hardcoded definition -D_LARGEFILE64_SOURCE=1.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
OBATA Akio
08b7645468
Change to always build and install KACL
...
It is used by others even if missing POSIX ACL support.
6 years ago
Michele Calgaro
6b3ce66088
Fixed access to TDE wallets created before R14.0.6 that uses special non-ascii characters in their password.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Emanoil Kotsev
cfb7075fa2
Fixed problem with access to tdewallet caused by commit 6ec26d85
.
...
This resolves issue #11
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko
e532d9345d
Add CMakeL10n rules.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
0e892bc700
Deleted blank line at the beginning of the file.
...
This prevented proper processing by extractrc.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Michele Calgaro
6ec26d859b
KPasswordEdit::password() now returns a TQString instead of a const char *. This relates to bug 2961.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
2e0398f755
QT_NO_* -> TQT_NO_* renaming.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
8d88f31f74
Replaced _BSD_SOURCE, _SVID_SOURCE with _DEFAULT_SOURCE. Removed AC_CHECK_GNU_EXTENSIONS.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
8d07cff840
qt -> tqt conversion:
...
kdeqt -> kdetqt
qtkde -> tqtkde
qtdesigner -> tqtdesigner
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
89389861b3
qt -> tqt conversion:
...
QT_NO_ASCII_CAST -> TQT_NO_ASCII_CAST
QT_NO_STL -> TQT_NO_STL
QT_NO_COMPAT -> TQT_NO_COMPAT
QT_NO_TRANSLATION -> TQT_NO_TRANSLATION
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
2518c29202
qt -> tqt conversion:
...
QTDIR -> TQTDIR
QTDOC -> TQTDOC
INCDIR_QT -> INCDIR_TQT
LIBDIR_QT -> LIBDIR_TQT
QT_INC -> TQT_INC
QT_LIB -> TQT_LIB
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
0c5985ae03
LIB_QT -> LIB_TQT conversion to align to updated admin module
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko
a3b86c2690
Fix security issue CVE-2017-6410
...
[taken from RedHat kdelibs patches]
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
aa83c86cd3
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>
6 years ago
Michele Calgaro
c18840c76f
Fix previous commit typo.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro
bcdfbb95e9
Fixed service lookup in KOpenWithDlg. Default is now to lookup by
...
desktop path and not by name, to avoid returning the wrong service when
two or more .desktop files where using the same "Name" field.
This resolves bug 2734 (together with the changes made in applications/kcmautostart)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko
45cf7d13eb
KSSL: Set hostname in TLSext to enable SNI support
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko
adb9d9d2b0
KSSL: Use TLS_client_method instead of TLSv1_client_method
...
This enables TLS protocols newer than v1.0
This resolves bug 2764
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Michele Calgaro
05bcfa76fc
Fixed code for tdefiledialog which caused the problem explained in bug
...
2743. Using the new code, editing the path information in a
tdefiledialog and pressing the "open/save" button will behave exactly in
the same way as if ENTER was pressed after editing the path and before
pressing "open/save".
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 years ago
Michele Calgaro
00051ff7dd
Reverted commit 53e36f6d
(master), c8ff908d
(r14.0.x)
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
8 years ago
Slávek Banko
df203a23f4
testing: Run tests that use DCOP in a temporary home
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko
4d3d8d8653
testing: run tdeio/kmimetypetest with temporary profile
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Alexander Golubev
ed74769bfa
tdeio: add tests
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago
Alexander Golubev
f54496a1f2
tdeio/kmimemagic: remove MAGIC_CONTINUE flag
...
This resolves bug 2713
The MAGIC_CONTINUE flag resulted in a malformed mimemagic responses
like "application/x-executable\012- application/octet-stream"
instead of just "application/x-executable".
This string being unparsed then caused the KMimeType::findByURL() to
fallback to application/octet-stream for nearly every mimetype.
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
8 years ago