Commit Graph

209 Commits (feat/tdeio-xattr-support)

Author SHA1 Message Date
Alex Kent Hajnal d022bed22e
Additional sanity checks, Removed quote() and quote_free() functions since they can't cleanly handle errors
Signed-off-by: Alex Kent Hajnal <software@alephnull.net>
9 months ago
Alex Kent Hajnal 2efb6404b9
Additional notes regarding supporting additional platforms and testing
Signed-off-by: Alex Kent Hajnal <software@alephnull.net>
9 months ago
Alex Kent Hajnal 000075c071
Code clean-up, proper CMake integration
Signed-off-by: Alex Kent Hajnal <software@alephnull.net>
9 months ago
Alexander Hajnal c1755d5200
Update job.cpp: Corrected errors in comments
Signed-off-by: Alexander Hajnal <trinitydesktop@alephnull.net>
2 years ago
Alexander Hajnal b77dcf0a14
Added test for libattr; Renamed macros
Signed-off-by: Alexander Hajnal <trinitydesktop@alephnull.net>
2 years ago
Alexander Hajnal a545725e86 Update README.xattr: fixed typos
Signed-off-by: Alexander Hajnal <trinitydesktop@alephnull.net>
2 years ago
Alexander Hajnal 7ac93c4b96
Update README.xattr: fixed typos
Signed-off-by: Alexander Hajnal <trinitydesktop@alephnull.net>
2 years ago
Alexander Hajnal c383a347ea
Adds user extended attribute copying support to libkio. See tdeio/tdeio/README.xattr for more info.
Signed-off-by: Alexander Hajnal <trinitydesktop@alephnull.net>
2 years ago
Slávek Banko cb87252f7d
KSSL: Add names for OpenSSL 3.x libraries to SSL libraries search.
Use OPENSSL_SHLIB_VERSION for default libraries version.

This relates to issue #176.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Michele Calgaro 682b8acae4
KSSL: fixed detection of correct 'SSL_get_peer_certificate' method. This resolves incompatibility with openSSL 3.0.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Slávek Banko eaa7f3e3d4
Fix the last wrong condition from commit 99739b6114.
Revert the wrong fix from commit 3d3e77773d.

If desktop file does not include X-TDE-Protocols property, use X-KDE-Protocols
property to limit the use of TDEIO protocols for non-TDE programs.

This resolves issue TDE/tdebase#224.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Mavridis Philippe 49ea1c8db2
KSSL: Rebuilt local certificates bundle
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Mavridis Philippe 3b873f0258
KSSL: Added ISRG root certs for LetsEncrypt
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
3 years ago
Michele Calgaro b5fad55e8b
Replaced 'includehints' with 'includes' in *.ui files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 77de34391c
Fixed enabling of Ok button in advanced permission property dialog. This resolves bug 2375.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko a5def4f9a4
Add a definition of MIME type application/x-pie-executable.
This resolves incorrect identification of binary executables with libmagick >= 5.33.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Mavridis Philippe 646661d0be
iconForURL(): Fix root directory (/) icon.
This resolves issue #128.
This also resolves issue TDE/tdebase#1.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
4 years ago
Alexander Golubev 9cc0522efd tdeio: minor simplification of plurals in translation
A fixup for the d3d85b65

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
4 years ago
Alexander Golubev d3d85b6550 tdeio: minor improvement of translatability of a message
* added plural forms

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
4 years ago
Michele Calgaro 3d3e77773d
krun: prevent media:/ or system:/media urls to be replaced by their respective /media/... path.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 90bf877604
Fixed handling of files containing an # in the name when using the system:/media or media:/ protocol. This resolves bug 3022 and bug 3063.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 9468d05e3d
Fixed second pass uncrustify's code formatting offending files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 491e1c72c7
Fixed some uncrustify's code formatting offending files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 4f99f868f0
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Slávek Banko 19f44e5ff3
tests: Wait for the dcop server to be ready.
Use a separate ICEAUTHORITY for tests.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
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>
5 years ago
Slávek Banko 42f3a62161
Simplify CMake rules for desktop file translations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
5 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>
6 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>
6 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>
6 years ago
Chris 0e071064b9 Fix remaining brandings in tdelibs and adopt to modern age.
Signed-off-by: Chris <xchrisx@uber.space>
6 years ago
Michele Calgaro aaaf378033
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 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