Michele Calgaro
ed8e30bc6d
Removed code formatting modelines.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
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
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>
4 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
Michele Calgaro
aa98dbfe80
Removed explicit usage of the 'register' keyword.
...
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
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>
5 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
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
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
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
Slávek Banko
e1861cb681
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>
8 years ago
Slávek Banko
261a3b7a12
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>
8 years ago
Slávek Banko
0b90885d90
Fix FTBFS due to non-existent include
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko
491c2e4503
Remove warnings about missing embedded ELF icons
...
Add file name for which the issue occurs into debug message
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko
1540a5aade
Revert a small portion of commit e0b1bfb0
...
This resolves Bug 2562
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko
b0ac7d2879
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>
9 years ago
Timothy Pearson
5e9959ef85
Fix compiler warnings
9 years ago
Nikolaus Klepp
3be9f300c9
Fix FTBFS on freebsd
...
This resolves Bug 2431
Signed-off-by: Nikolaus Klepp <office@klepp.biz>
9 years ago
Slávek Banko
6ebff39751
Improve ACL detection for CMake build
...
Fix hidden visibility in posixacladdons
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Slávek Banko
dfd680030c
Add include directory for internal libltdl
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Timothy Pearson
e0b1bfb014
Fix a number of build warnings
10 years ago
Timothy Pearson
6c097e6ff1
Read from X-DocPath only
10 years ago
Timothy Pearson
207e134713
Fix exec icon location and bring it into XDG compliance
10 years ago
Timothy Pearson
6111385e9a
Fix remaining issues from mimetype icon rename
10 years ago
Timothy Pearson
2cd1515186
Bring most mimetypes in line with XDG specifications. The following are not fully verified in source as of this commit due to ubiquity: html, empty, info, make, man, misc, source, unknown
10 years ago
Timothy Pearson
bab4f22f92
Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance
10 years ago
Timothy Pearson
ff57382179
Second part of prior commit
10 years ago
Timothy Pearson
e95efe5790
Second part of prior commit
10 years ago
François Andriot
8f11758253
Fix FTBFS with libmagic < 4.23
10 years ago
Slávek Banko
03a61295af
Fix FTBFS on missing magic_getpath
10 years ago
Timothy Pearson
58c3aed2bb
Do not use magic_version function if magic version support not available
...
This relates to Bug 656
10 years ago
Timothy Pearson
f8790c70f8
Fix certain shell scripts not being identified
...
This relates to Bug 656
Clean up some old development debug statements
10 years ago
Timothy Pearson
30c2b7e4bd
Autodetect downloaded mime type and compare against category; if wallpaper downloads something other than image abort
...
This relates to Bug 2127
10 years ago
Timothy Pearson
e5f898219a
Fix libmime database load once and for all
...
This relates to Bug 656
10 years ago
Timothy Pearson
62bfcbe478
Fix loading of additional mime magic files
...
This resolves Bug 656
10 years ago
Timothy Pearson
9cb7d73182
Push the following patches to GIT from Bug 1499:
...
tdelibs: disable kfiledialogbox OK button if user has no permission on file
tdelibs: fix https loop
tdelibs: fix groups in kdialogpropertiesdialog
tdelibs: avoid assertion in tdeio karchive
10 years ago
Thomas McGuire
ddbe23e90d
Support writing empty directories to ZIP files.
10 years ago
François Andriot
78a66b11dd
Disable environment-based completion in kurlcompletion on openbsd
10 years ago
François Andriot
9c7a8637ed
Fix FTBFS because undefined __progname in tdeio_connection
10 years ago
Timothy Pearson
54578ce023
Add mimeTypePtrFast method to KFileItem
...
This relates to Bug 699
Clean up a couple of minor build warnings
Classify usbmisc devices
10 years ago
Timothy Pearson
8066e87c6c
Use libmagic for mime type determination
...
This relates to Bug 656, Bug 661, and others
10 years ago