Slávek Banko
6af3551328
testing: run tdeio/kmimetypetest with temporary profile
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 4d3d8d8653
)
7 years ago
Slávek Banko
3c559266a6
testing: fix bash specific syntax in dcop test
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 30d5bd4d72
)
7 years ago
Slávek Banko
a62d3fbeee
testing: fix build of tdewallet tests with hidden visibility
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 5c6425de42
)
7 years ago
Alexander Golubev
73423048c5
tdeui & tdewallet: add tests
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 16a176dab1
)
7 years ago
Alexander Golubev
933dc8a3f8
tdeio: add tests
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit ed74769bfa
)
7 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
)
7 years ago
Alexander Golubev
30c0e86109
dcop/tests: run dcop tests in a safer manner
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit f2d8e88f09
)
7 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
)
7 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
)
7 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
)
7 years ago
Alexander Golubev
398e96f211
tdeabc: update the tests for vcardparser to run them in a new way
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 64b2c52817
)
7 years ago
Alexander Golubev
90e7e48e10
tdeabc: make the testldapclient app non-gui
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 37c9f23df5
)
7 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
)
7 years ago
Alexander Golubev
b1a20aabbe
Include module into test names
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 6c1b8a75f2
)
7 years ago
Alexander Golubev
6cab453afd
Make dcop tests run without X
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 7f6c0b1c7d
)
7 years ago
Alexander Golubev
311e027bb8
Add tdeabc tests to cmake
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 8e14cc0e4a
)
7 years ago
Alexander Golubev
26522796ee
Fix a couple of harmless warnings
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit e0b892796d
)
7 years ago
Alexander Golubev
f96187e5d8
Add dcop tests to cmake
...
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 26d76a4c04
)
7 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
)
7 years ago
Slávek Banko
9fde716a8c
kimgio: Enable STDC_LIMIT_MACROS for jasper
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit d9ca160680
)
7 years ago
Alexander Golubev
6061d2a185
tdeinit: make lnusertemp respect HOME for root
...
This resolves bug 2739
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit d23ac70c47
)
7 years ago
Slávek Banko
e90d3f57cd
Added support for OpenSSL 1.1
...
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>
(cherry picked from commit e1861cb681
)
7 years ago
Michele Calgaro
ee1ab98d12
tdeui: fixed handling of setPrecision() for KDoubleSpinBox. This resolves bug 2717.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit f32bc51762
)
7 years ago
Slávek Banko
c888240961
Fix FTBFS with clang
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 1ae867ab67
)
7 years ago
Slávek Banko
9459c09772
Fix security issue CVE-2016-6232
...
Based on https://quickgit.kde.org/?p=karchive.git&a=commitdiff&h=0cb243f6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 261a3b7a12
)
7 years ago
Emanoil Kotsev
c4838c3247
tdeio: fixed up certificate handling when certificate has expired. Also clean
...
up the code.
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit f3fadb884d
)
7 years ago
Michele Calgaro
0d8ad909c8
Kate syntax highlighting files update - Oct 2016
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit fddd4b7f8b
)
7 years ago
Emanoil Kotsev
35a651ae82
Fixed handling of certificate "permanent" acceptance. This relates to
...
bug 1287.
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Partially cleaned up and modified.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7406ed0563
)
7 years ago
Slávek Banko
759db62fcf
Fix FTBFS on vcardparser tests from prior commit
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 1571e61744
)
7 years ago
Emanoil Kotsev
6b9a3998f0
Fixed vcardparser tests during building. This resolves bug 2695.
...
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
Removed not-required part of the patch from original Emanoil's patch (empty spaces at the end of line)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 13e032939e
)
7 years ago
Timothy Pearson
af445343bd
Parse GENERALIZEDTIME ASN structures
...
This fixes certificate dates beyond year 2049.
(cherry picked from commit 07dbb3b5c9
)
7 years ago
Slávek Banko
a5a389936c
Fix FTBFS with GCC6
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 0d8345e6f7
)
7 years ago
Slávek Banko
9de3d7917b
Fix FTBFS on CUPS 2.2
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 52a1b55368
)
7 years ago
Emanoil Kotsev
787be02d86
Fix utf8 support in tdeabc vCard parser
...
This resolves bug 2625
Signed-off-by: Emanoil Kotsev <deloptes@gmail.com>
(cherry picked from commit 4ceb2b158b
)
7 years ago
Slávek Banko
2deafc4971
cmake: Add tdeabc tests
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 51efac909d
)
7 years ago
Timothy Pearson
6a8935327b
Fix crash on KSSLCertificate deallocation when a CRL is held in the KSSLCertificate object
...
(cherry picked from commit 62a597d752
)
7 years ago
Timothy Pearson
f4726e5f8d
Fix memory leak when deleting a KSSLCertificate that holds a CRL
...
(cherry picked from commit 9bf244dd97
)
7 years ago
Timothy Pearson
56e5891a95
Add initial CRL support to KSSLCertificate
...
(cherry picked from commit 5896a404bc
)
7 years ago
Alexander Golubev
cc48df2a09
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>
(cherry picked from commit f54496a1f2
)
7 years ago
Slávek Banko
a8e88fd005
Compile MIME magic file
...
This partially resolves Bug 2217
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 026a0ccdcd
)
7 years ago
Slávek Banko
b334cc03d5
Fix mimetype detection using magic library
...
for mime types not contained in TDE settings
This resolves Bug 2392
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit b0ac7d2879
)
7 years ago
Timothy Pearson
dab5e4adcb
Properly identify desktop files
...
This resolves a rather major glitch with Device Links noted on the mailing list
(cherry picked from commit 6ddd04baca
)
7 years ago
François Andriot
2ab53ffee4
Fix FTBFS with libmagic < 4.23
...
(cherry picked from commit 8f11758253
)
7 years ago
Slávek Banko
3138567410
Fix FTBFS on missing magic_getpath
...
(cherry picked from commit 03a61295af
)
7 years ago
Timothy Pearson
6a26452382
Do not use magic_version function if magic version support not available
...
This relates to Bug 656
(cherry picked from commit 58c3aed2bb
)
7 years ago
Timothy Pearson
90d4721aa4
Fix certain shell scripts not being identified
...
This relates to Bug 656
Clean up some old development debug statements
(cherry picked from commit f8790c70f8
)
7 years ago
Timothy Pearson
099aa9f362
Fix libmime database load once and for all
...
This relates to Bug 656
(cherry picked from commit e5f898219a
)
7 years ago
Timothy Pearson
562d0b7642
Fix loading of additional mime magic files
...
This resolves Bug 656
(cherry picked from commit 62bfcbe478
)
7 years ago
Timothy Pearson
602501b7b8
Use libmagic for mime type determination
...
This relates to Bug 656, Bug 661, and others
(cherry picked from commit 8066e87c6c
)
7 years ago
Timothy Pearson
a515deffb8
Remove unused KMimeMagic::mergeBufConfig method in preparation for converting to libmagic
...
This relates to Bug 656
(cherry picked from commit 6d268f3c55
)
7 years ago