summaryrefslogtreecommitdiffstats
path: root/tdeio
Commit message (Collapse)AuthorAgeFilesLines
* Fixed enabling of Ok button in advanced permission property dialog. This ↵Michele Calgaro2021-06-101-4/+7
| | | | | | | resolves bug 2375. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 77de34391ccb667b81dd54e5af17ce660ed99a25)
* Add a definition of MIME type application/x-pie-executable.Slávek Banko2021-04-112-2/+5
| | | | | | | This resolves incorrect identification of binary executables with libmagick >= 5.33. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit a5def4f9a471a83465be8918a443fe96e49e3029)
* iconForURL(): Fix root directory (/) icon.Mavridis Philippe2021-03-291-0/+4
| | | | | | | | This resolves issue #128. This also resolves issue TDE/tdebase#1. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com> (cherry picked from commit 646661d0be690c44355f56ffba873f842b291aa0)
* tdeio: minor simplification of plurals in translationAlexander Golubev2021-01-211-9/+9
| | | | | | | A fixup for the d3d85b65 Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 9cc0522efd153263570b5f9c4287b4c001022a31)
* tdeio: minor improvement of translatability of a messageAlexander Golubev2021-01-201-11/+23
| | | | | | | * added plural forms Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit d3d85b655031a5998b8c9ff0ac2f191e2773a403)
* krun: prevent media:/ or system:/media urls to be replaced by their ↵Michele Calgaro2021-01-041-1/+2
| | | | | | | respective /media/... path. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 3d3e77773df70317267c2d471c37e9374256590d)
* Fixed handling of files containing an # in the name when using the ↵Michele Calgaro2021-01-011-43/+40
| | | | | | | system:/media or media:/ protocol. This resolves bug 3022 and bug 3063. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 90bf87760453c5fb32e6b135dfcfadc2d7700886)
* Fixed second pass uncrustify's code formatting offending files.Michele Calgaro2020-12-271-0/+4
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9468d05e3d2c56d4287ef464a31f21a689ad7e14)
* Fixed some uncrustify's code formatting offending files.Michele Calgaro2020-12-191-0/+2
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 491e1c72c7e2a19b58772fd285284e974d489501)
* Renaming of files in preparation for code style tools.Michele Calgaro2020-12-0649-50/+50
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 4f99f868f09bbffa2e15733b8b7c78eba07a199e)
* tests: Wait for the dcop server to be ready.Slávek Banko2020-12-062-0/+6
| | | | | | | Use a separate ICEAUTHORITY for tests. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 19f44e5ff3756172540e768fc0d08d761f0c374e)
* Removed code formatting modelines.Michele Calgaro2020-09-2787-146/+9
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ed8e30bc6dd18716b42087183e57a481d6ec5fa4)
* Improve progname detection portabilityOBATA Akio2020-08-171-1/+3
| | | | | | | | | `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> (cherry picked from commit 965a808b91b6542208b24af18e55193e5f929c37)
* Simplify CMake rules for desktop file translations.Slávek Banko2020-06-256-22/+16
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 42f3a62161d1b0c7047d1edfdcb8af72b7314f1b)
* Use private linking for exported CMake targets.Slávek Banko2020-06-121-1/+2
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 158b6e1152413e4fa973b70b7469bb1f256a1f38)
* For templates from CMake, use the TDE CMAKE TEMPLATES variable.Slávek Banko2020-06-121-1/+1
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 080c061b15cfcb11e26a2ede1c8082afb0c5d329)
* Desktop file translations:Slávek Banko2020-06-0724-1946/+75
| | | | | | | | + 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> (cherry picked from commit 4b7a4e17362206fd2eade35ba947a850263b0ea1)
* Drop explicit dependencies on dcopidl and dcopidl2cpp,Slávek Banko2020-06-077-7/+0
| | | | | | | | 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> (cherry picked from commit c2b90055a581e9fb95a281fab53b6c56a96a4f2d)
* Fixed tde branding of services in tdebuildsycoca. This was creating oldMichele Calgaro2020-04-041-5/+5
| | | | | | | | kde-* entries in profilerc when updating file type preferences. This relates to bug 3083. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9cd27dbaa3e866ab5befdbcaadddf13b34e7b0bf)
* Security: remove support for $(...) in KRun which could have allowedMichele Calgaro2020-02-161-20/+1
| | | | | | | | execution of malicious code. This is similar to issue #45 for .desktop files. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 8b8f5064f7094a713a16ade3bf37d8efec601949)
* Removed beagle related code.Michele Calgaro2020-02-093-16/+1
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit e5256a1bd6b1ee6eb909041c7fecc01d3d6d4be6)
* Improve folder icons on the speedbar.Slávek Banko2020-01-311-4/+4
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 017a50624b40f1d24a3a3ab98ee622d906531e12)
* Removed explicit usage of the 'register' keyword.Michele Calgaro2020-01-302-29/+29
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit aa98dbfe80580169f3df12489a77e8b904a1d9b9)
* Make sure XDG folders are created prior to their usage.Michele Calgaro2020-01-301-27/+17
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit de79e754fa8118d34ea804d6b4fb7056b65487fd)
* Improved support for XDG folders without requiring xdg-user-dirs to be ↵Michele Calgaro2020-01-302-70/+12
| | | | | | | installed. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 394c9f5c0e1b464aa8bc22bd65c5268acd43994d)
* Redirect some headers noticed by the compilerMatías Fonzo2020-01-231-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> (cherry picked from commit c2adce2e133c167567df8607a32a420a9825f695)
* Fix LibreSSL detection at tdeio/kssl/Matías Fonzo2020-01-201-4/+4
| | | | | Signed-off-by: Matías Fonzo <selk@dragora.org> (cherry picked from commit aa9b9581a97daa50855d815b6724b9112448c96f)
* 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> (cherry picked from commit a6bbb9e7bc21382b504c8c6fe408a766a3890bb6)
* 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> (cherry picked from commit 8b66a5759a6735bfcc7a94e6ba539f0bea55d587)
* 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> (cherry picked from commit a2ad929640f62ee1f854564366ce1cd8547de455)
* Fixed missing update of mime comment in refreshed KFileItem. ThisMichele Calgaro2019-08-142-5/+8
| | | | | | | resolves issue #35. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d3119bb794953d2c8c85a2c805fbe0a0bc8fcbaa)
* Fix remaining brandings in tdelibs and adopt to modern age.Chris2019-07-212-6/+5
| | | | | Signed-off-by: Chris <xchrisx@uber.space> (cherry picked from commit 0e071064b91e64638e14f3756d477f9e2fd3317e)
* 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> (cherry picked from commit 86fea6f5c542ba7113dbc598d8b4c18be69901f2)
* Use system libdir when searching for dynamically loaded libraries.Slávek Banko2019-02-271-33/+8
| | | | | | | This prevents finding an incorrect architecture on multi-arch systems. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 8a859540c3cb306844288144a06028dc302408d6)
* Fix SSL initialization for OpenSSL >= 1.1.Slávek Banko2019-02-211-2/+24
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 43609c8a21144b56a53d53757639fc6c6298c10d)
* 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> (cherry picked from commit ebf0115af1c52612e02fd8908b4240501bd34c60)
* Change to always build and install KACLOBATA Akio2019-01-271-7/+3
| | | | | | It is used by others even if missing POSIX ACL support. (cherry picked from commit 08b76454681e565ad5e0fe55f3e76380caa39aca)
* Fixed access to TDE wallets created before R14.0.6 that uses specialMichele Calgaro2018-12-301-2/+8
| | | | | | | non-ascii characters in their password. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* Add CMakeL10n rules.Slávek Banko2018-12-092-0/+11
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 707d60c602a5bed23be354ea362ea7c24a87fb0b)
* 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> (cherry picked from commit 0e892bc70070640f68a09bb4897a7c0fd7bfe929)
* 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> (cherry picked from commit a3b86c26903ade446ac57afc8c3f8a9c1bd66390)
* Revert "Revert "Fix bug reports link in about dialog""Michele Calgaro2018-07-265-12/+12
| | | | | | | The reversion was done by mistake and inadvertently. Sorry for the mess :-( This reverts commit dcb480334c2e8a53fd5ca421b6bd686ea594d4ac.
* Revert "Fix bug reports link in about dialog"Michele Calgaro2018-07-265-12/+12
| | | | This reverts commit 69fc44f5d55b813aeeb0c06473ceede28400e7bf.
* 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> (cherry picked from commit aa83c86cd30e77bad7fdb2b047ce256a24c883b5)
* Fix previous commit typo.Michele Calgaro2018-04-301-1/+1
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c18840c76f3cadeff5f1279f1ea8c1920194ea6e)
* 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> (cherry picked from commit bcdfbb95e94db26bf984443ce583d919a330058c)
* 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> (cherry picked from commit 45cf7d13eb68be0fd469fd49275c000a2c7bcc2f)
* 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> (cherry picked from commit adb9d9d2b0bfbb0f856673e663aad7c4a63020eb)
* 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> (cherry picked from commit 05bcfa76fc9bd5dcf7267f2b5a26436566a9cf82)
* Reverted commit 53e36f6d (master), c8ff908d (r14.0.x)Michele Calgaro2017-02-061-18/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>