summaryrefslogtreecommitdiffstats
path: root/tdeio
Commit message (Collapse)AuthorAgeFilesLines
* Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORTMichele Calgaro2024-05-028-13/+13
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit bba3128085abe1a32cca43d9fb8ac02c2a29bf6b)
* Fix compatibility with C++17.Slávek Banko2024-04-121-1/+1
| | | | | Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit ab599e34e847d8db1560b8c5809e02be62060c58)
* tdeio/kdirlister: better handle if TDEIO::localURL() failedAlexander Golubev2024-02-161-4/+3
| | | | | | | This shouldn't generally happend, but better safe than sorry. Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 3b32c2fa89463064b91553a13f1a30a45c5841f7)
* tdeio/kdirlister: reset complete flag earlier for remote URLsAlexander Golubev2024-02-161-0/+3
| | | | | | Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/gwenview/issues/20 Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 3b1b97d7fe7cf05ec4d05397f613300fd49b222d)
* tdeio/kdirlister: add some cleanups for LocalURLJob'sAlexander Golubev2024-02-161-0/+16
| | | | | | | | Theoretically the lack of those could lead to segfaults and data corruptions, hard to debug but very rare. Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit f34601e77a6960ffe67bef5436063fe3605987c6)
* tdeio/KDirLister: add url validity checkAlexander Golubev2024-02-161-0/+4
| | | | | | | | | | Before 0756aab51 and 4d6667159 this validity check was done for all URLs inside KDirListerCache::listDir(). But since those two commits the result of this check for remote URLs is impossible to propagate to the user. So implicit check is in order. Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 2c18d241d85fd09c72dc219c8816275c3e7cd59a)
* tdeio/kdirlister: some refactoringAlexander Golubev2024-02-162-27/+34
| | | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit c4ebd9d0e7a54fedf79dcb959ad65c9e679b370c)
* tdeio/Mainpage.dox: fix an incorrect reference to KDE as TrinityAlexander Golubev2024-02-161-1/+1
| | | | | Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 6f9f01b2f4534e0f4f61f19097de7b9975cd91e8)
* Replace Q_WS_* defines with TQ_WS_* equivalentsMichele Calgaro2024-02-1527-61/+61
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 03aa7238b34bb438632b6d572b008e32960f0895)
* Replace Q_SIGNALS and Q_SLOTSMichele Calgaro2024-02-062-4/+4
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7f1af8e826b566543f6a86ad3c08337ce3e9ab2c)
* Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT definesMichele Calgaro2024-01-1591-1204/+1204
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7)
* Replace various '#define' strings - part 6Michele Calgaro2023-12-2615-48/+48
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d5688771d8a6837975be512ee37f61bad7dbd345)
* Replaced various '#define' with actual strings - part 5Michele Calgaro2023-12-058-16/+16
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 44e712a770ad0ab59d33790a80b5f6235cff6921)
* Replaced various '#define' with actual strings - part 4Michele Calgaro2023-11-263-4/+4
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 138bb80efac020c7e78871d3f05127eb37f18274)
* Replaced various '#define' with actual strings - part 3Michele Calgaro2023-11-251-2/+2
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 8d79c40791fa0bcac4d4ce1dc7385b19e523ba08)
* Replaced various '#define' with actual strings - part 2Michele Calgaro2023-11-235-11/+11
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit d42f9ae842840a825c4ad4f7341f82003127c8f6)
* Replace various tq* strings with TQt::* equivalentsMichele Calgaro2023-11-212-3/+3
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 80c2465371e5a7ab2dd6adb3c2bc32baa1c9b4ee)
* Replace Qt with TQtMichele Calgaro2023-11-1517-61/+61
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c8ece3630d4d21acaf1749fc2cf660a0463070c3)
* Prevent to use conditional inclusion preprocessor feature (since C++23)OBATA Akio2023-11-141-1/+1
| | | | | | | | `#elifdef` is supported since C23 and C++23, but such newer compiler is not required here. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 419c185be746df8bba59fe5de991b4a2b3977897)
* Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, ↵Michele Calgaro2023-09-2517-46/+46
| | | | | | | QIODevice with TQ* version Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 4c0dae60b2fbc60996fc8f4bd29ee6219b869527)
* Replace various tqtinterface's TQ_* defines with actual typesMichele Calgaro2023-09-123-4/+4
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0f36f8966371d24decc0740ccf9f8b0cc2c57838)
* Replace TQ_*Focus* and TQ_Scale* definesMichele Calgaro2023-09-043-3/+3
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 1e5d5c92c374c8c950f01fa5aa916b3f722f98c1)
* Drop USE_TQT4 codeMichele Calgaro2023-08-317-25/+0
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 57af4f9d87ac88216a3bbcebaeed55db07a8948d)
* Drop TQT_BASE_OBJECT* definesMichele Calgaro2023-08-185-6/+6
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 48b07a0ff120e8b4479bcac912d8a8f043e22ae4)
* Drop TQT_TQ*_CONST definesMichele Calgaro2023-08-091-1/+1
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 23278d259378e17087bf9aeaa5e45974dfb74bce)
* Drop TQT_TQ*_OBJECT definesMichele Calgaro2023-08-081-2/+2
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c0b74ba868682f39c41a9f70ae11297425b711e1)
* Replace Q_OBJECT with TQ_OBJECTMichele Calgaro2023-07-20115-163/+163
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 8eb500c4e81229a9853e2f9bac4f39450083f3d7)
* Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the ↵Michele Calgaro2023-07-137-16/+16
| | | | | | | merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 36c049e135b0cec7cf97b41888860186813df5f0)
* Rework and fix commit 4d90cc61Michele Calgaro2023-06-131-2/+11
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 54b58986491c48408c720d706e5cbfd1043d3ee6)
* Fix FTBFS caused by previous commitMichele Calgaro2023-06-121-1/+1
| | | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9440fb5585daea464012451a5afd358e785826d2)
* SunOS spesific SSL pathesDenis Kozadaev2023-06-121-2/+11
| | | | | Signed-off-by: Denis Kozadaev <denis@dilos.org> (cherry picked from commit ee09921685589497c72a3cb7c11d5c3e1605631d)
* Add SunOS specific patchesDenis Kozadaev2023-05-222-0/+8
| | | | | Signed-off-by: Denis Kozadaev <denis@dilos.org> (cherry picked from commit e5acdb1b39fa7d97d7153741202709e078b463a6)
* tdeio: only create the internal guarded pointer for TDEIO::Job if it is ↵Michele Calgaro2023-02-141-7/+25
| | | | | | really required. This fix avoid creation and destruction of unnecessary TQObjects and helps speeding up operations which requires lot of Jobs. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Add single TQObject root parent for all TDEIO::Job objects.Michele Calgaro2023-02-131-1/+3
| | | | | | | This helps keeping the object root list shorter, speeding up operations which require lot of TQObject trees. This relates to TDE/tdebase#309. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* tdefile: autocalculate folder size in KPropertiesDialog only for real local ↵Michele Calgaro2023-02-091-2/+2
| | | | | | items. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* KSSL: Add names for OpenSSL 3.x libraries to SSL libraries search.Slávek Banko2022-08-231-23/+33
| | | | | | | | Use OPENSSL_SHLIB_VERSION for default libraries version. This relates to issue #176. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
* KSSL: fixed detection of correct 'SSL_get_peer_certificate' method. This ↵Michele Calgaro2022-07-031-1/+2
| | | | | | resolves incompatibility with openSSL 3.0. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fix the last wrong condition from commit ↵Slávek Banko2022-05-311-6/+10
| | | | | | | | | | | | | 99739b61143c05f7fb1157dc145e19e9c090de6e. Revert the wrong fix from commit 3d3e77773df70317267c2d471c37e9374256590d. 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>
* KSSL: Rebuilt local certificates bundleMavridis Philippe2022-02-012-0/+1233
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* KSSL: Added ISRG root certs for LetsEncryptMavridis Philippe2022-02-014-0/+50
| | | | Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
* Replaced 'includehints' with 'includes' in *.ui files.Michele Calgaro2022-01-081-3/+0
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* 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>
* 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>
* 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>
* 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>
* tdeio: minor improvement of translatability of a messageAlexander Golubev2021-01-201-11/+23
| | | | | | * added plural forms Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
* krun: prevent media:/ or system:/media urls to be replaced by their ↵Michele Calgaro2021-01-031-1/+2
| | | | | | respective /media/... path. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fixed handling of files containing an # in the name when using the ↵Michele Calgaro2020-12-311-43/+40
| | | | | | system:/media or media:/ protocol. This resolves bug 3022 and bug 3063. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fixed second pass uncrustify's code formatting offending files.Michele Calgaro2020-12-271-0/+4
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
* Fixed some uncrustify's code formatting offending files.Michele Calgaro2020-12-191-0/+2
| | | | Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>