summaryrefslogtreecommitdiffstats
path: root/tdeio
Commit message (Collapse)AuthorAgeFilesLines
...
* Removed explicit usage of the 'register' keyword.Michele Calgaro2020-01-302-29/+29
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Make sure XDG folders are created prior to their usage.Michele Calgaro2020-01-291-27/+17
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Improved support for XDG folders without requiring xdg-user-dirs to be ↵Michele Calgaro2020-01-282-70/+12
| | | | | | installed. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Redirect some headers noticed by the compilerMatías Fonzo2020-01-221-1/+0
| | | | | | | | | | | /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>
* Fix LibreSSL detection at tdeio/kssl/Matías Fonzo2020-01-181-4/+4
| | | | Signed-off-by: Matías Fonzo <selk@dragora.org>
* Fix missing return values in kopenssl.François Andriot2019-12-041-0/+7
| | | | | Signed-off-by: François Andriot <francois.andriot@free.fr> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fixed type in LIBRESSL usage. This relates to a comment made on issue #28.Michele Calgaro2019-09-191-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix SSL initialization for OpenSSL >= 1.1.Slávek Banko2019-09-041-2/+2
| | | | | | | | | | 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>
* Fixed missing update of mime comment in refreshed KFileItem. ThisMichele Calgaro2019-08-132-5/+8
| | | | | | resolves issue #35. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix remaining brandings in tdelibs and adopt to modern age.Chris2019-07-212-6/+5
| | | | Signed-off-by: Chris <xchrisx@uber.space>
* Adjusted to use new TQStringVariantMap type.Michele Calgaro2019-07-074-12/+9
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Adjusted to latest TQVariant::TQVariant(bool) function.Michele Calgaro2019-05-242-2/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Added some checks in KSSL (in TDEIO) to correctly recognize LibreSSL (which ↵Mavridis Philippe2019-05-102-3/+4
| | | | | | | | is a fork of OpenSSL 1.0.1b) This resolves issue #28. Signed-off-by: Mavridis Philippe <mfilippos@yandex.ru>
* Use system libdir when searching for dynamically loaded libraries.Slávek Banko2019-02-241-33/+8
| | | | | | This prevents finding an incorrect architecture on multi-arch systems. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fix SSL initialization for OpenSSL >= 1.1.Slávek Banko2019-02-211-2/+24
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Use common test for large files support.Slávek Banko2019-01-282-8/+0
| | | | | | Drop hardcoded definition -D_LARGEFILE64_SOURCE=1. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Change to always build and install KACLOBATA Akio2019-01-271-7/+3
| | | | It is used by others even if missing POSIX ACL support.
* Fixed access to TDE wallets created before R14.0.6 that uses special ↵Michele Calgaro2018-12-281-2/+7
| | | | | | non-ascii characters in their password. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fixed problem with access to tdewallet caused by commit 6ec26d85.Emanoil Kotsev2018-12-271-1/+1
| | | | | | | This resolves issue #11 Signed-off-by: Emanoil Kotsev <deloptes@gmail.com> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Add CMakeL10n rules.Slávek Banko2018-12-092-0/+11
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Deleted blank line at the beginning of the file.Slávek Banko2018-12-021-1/+0
| | | | | | This prevented proper processing by extractrc. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* KPasswordEdit::password() now returns a TQString instead of a const char *. ↵Michele Calgaro2018-11-272-17/+14
| | | | | | This relates to bug 2961. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* QT_NO_* -> TQT_NO_* renaming.Michele Calgaro2018-10-172-5/+5
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Replaced _BSD_SOURCE, _SVID_SOURCE with _DEFAULT_SOURCE. Removed ↵Michele Calgaro2018-10-131-4/+0
| | | | | | AC_CHECK_GNU_EXTENSIONS. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* qt -> tqt conversion:Michele Calgaro2018-09-281-1/+1
| | | | | | | | kdeqt -> kdetqt qtkde -> tqtkde qtdesigner -> tqtdesigner Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* qt -> tqt conversion:Michele Calgaro2018-09-271-2/+2
| | | | | | | | | 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>
* qt -> tqt conversion:Michele Calgaro2018-09-271-3/+3
| | | | | | | | | | | 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>
* LIB_QT -> LIB_TQT conversion to align to updated admin moduleMichele Calgaro2018-09-1712-14/+14
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix security issue CVE-2017-6410Slávek Banko2018-07-261-2/+10
| | | | | | [taken from RedHat kdelibs patches] Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fix bug reports link in about dialogSlávek Banko2018-06-305-12/+12
| | | | | | | Update bug reports url to bugs.trinitydesktop.org This resolves bug 2935 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fix previous commit typo.Michele Calgaro2018-04-301-1/+1
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fixed service lookup in KOpenWithDlg. Default is now to lookup byMichele Calgaro2018-04-303-30/+41
| | | | | | | | 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>
* KSSL: Set hostname in TLSext to enable SNI supportSlávek Banko2017-04-091-0/+6
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* KSSL: Use TLS_client_method instead of TLSv1_client_methodSlávek Banko2017-04-091-7/+9
| | | | | | | This enables TLS protocols newer than v1.0 This resolves bug 2764 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Fixed code for tdefiledialog which caused the problem explained in bugMichele Calgaro2017-02-061-3/+9
| | | | | | | | | 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>
* Reverted commit 53e36f6d (master), c8ff908d (r14.0.x)Michele Calgaro2017-02-061-18/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* testing: Run tests that use DCOP in a temporary homeSlávek Banko2017-02-011-6/+6
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* testing: run tdeio/kmimetypetest with temporary profileSlávek Banko2017-01-292-1/+33
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* tdeio: add testsAlexander Golubev2017-01-2930-50/+143
| | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* tdeio/kmimemagic: remove MAGIC_CONTINUE flagAlexander Golubev2017-01-191-2/+2
| | | | | | | | | | | | | 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>
* Added support for OpenSSL 1.1Slávek Banko2017-01-0113-365/+978
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some KOpenSSLProxy methods have been renamed to be consistent with OpenSSL 1.1 API names and to prevent hidden API changes. To ensure API / ABI compatibility, the original methods are still included but have been marked as deprecated. + SSLv23_client_method => TLS_client_method + X509_STORE_CTX_set_chain => X509_STORE_CTX_set0_untrusted + sk_dup => OPENSSL_sk_dup + sk_free => OPENSSL_sk_free + sk_new => OPENSSL_sk_new + sk_num => OPENSSL_sk_num + sk_pop => OPENSSL_sk_pop + sk_push => OPENSSL_sk_push + sk_value => OPENSSL_sk_value Additional methods have been added to KOpenSSLProxy to support the new OpenSSL 1.1 API functions that provide access to the (now) opaque SSL structures. Compatibility with OpenSSL < 1.1 is handled internally in KOpenSSLProxy. + BIO_get_data + DSA_get0_key + DSA_get0_pqg + EVP_PKEY_base_id + EVP_PKEY_get0_DSA + EVP_PKEY_get0_RSA + RSA_get0_key + X509_CRL_get0_lastUpdate + X509_CRL_get0_nextUpdate + X509_OBJECT_get0_X509 + X509_OBJECT_get_type + X509_STORE_CTX_get_current_cert + X509_STORE_CTX_get_error + X509_STORE_CTX_get_error_depth + X509_STORE_CTX_set_error + X509_STORE_get0_objects + X509_STORE_set_verify_cb + X509_get0_signature + X509_getm_notAfter + X509_getm_notBefore + X509_subject_name_cmp + _SSL_session_reused + _SSL_set_options Method "KSSL::setSession" has been renamed to "KSSL::takeSession" and its functionality has changed: the session is now transferred from the argument object to the invoked object. Since it is only used internally in TDE and the functionality is different, the method with the previous name has not been preserved. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix security issue CVE-2016-6232Slávek Banko2016-10-231-2/+12
| | | | | | Based on https://quickgit.kde.org/?p=karchive.git&a=commitdiff&h=0cb243f6 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* tdeio: fixed up certificate handling when certificate has expired. Also cleanEmanoil Kotsev2016-10-221-96/+18
| | | | | | | up the code. Signed-off-by: Emanoil Kotsev <deloptes@gmail.com> Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fixed handling of certificate "permanent" acceptance. This relates toEmanoil Kotsev2016-10-161-10/+27
| | | | | | | | bug 1287. Signed-off-by: Emanoil Kotsev <deloptes@gmail.com> Partially cleaned up and modified. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fixed two issues with KFileDialog:Michele Calgaro2016-10-011-2/+18
| | | | | | | | | | - if the user types a new path manually, the new location was not used. Instead the older path was taken. In case the typed path does not exists, an error message is displayed - if the user selected a path from the autocompletion lists using the mouse, the new selected location was not used when slotOK was invoked. This resolves bug 2654. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Parse GENERALIZEDTIME ASN structuresTimothy Pearson2016-09-061-12/+21
| | | | This fixes certificate dates beyond year 2049.
* Fix invalid headers in PNG files and optimize for sizeTimothy Pearson2016-07-231-0/+0
|
* Fix FTBFS due to non-existent includeSlávek Banko2016-04-142-1/+4
| | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Remove warnings about missing embedded ELF iconsSlávek Banko2016-03-242-3/+3
| | | | | | Add file name for which the issue occurs into debug message Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Compile MIME magic fileSlávek Banko2016-01-112-2/+17
| | | | | | This partially resolves Bug 2217 Signed-off-by: Slávek Banko <slavek.banko@axis.cz>