Commit Graph

235 Commits (e521dcc15f569ef1cacea5722d5b612e52b64281)

Author SHA1 Message Date
Slávek Banko ab9f8038de
Fix compatibility with C++17.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ab599e34e8)
11 months ago
Alexander Golubev d658f64554
tdeio/kdirlister: better handle if TDEIO::localURL() failed
This shouldn't generally happend, but better safe than sorry.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 3b32c2fa89)
1 year ago
Alexander Golubev 25f8669542
tdeio/kdirlister: reset complete flag earlier for remote URLs
Bug: https://mirror.git.trinitydesktop.org/gitea/TDE/gwenview/issues/20
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 3b1b97d7fe)
1 year ago
Alexander Golubev 63999d7126
tdeio/kdirlister: add some cleanups for LocalURLJob's
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 f34601e77a)
1 year ago
Alexander Golubev 26274cb617
tdeio/KDirLister: add url validity check
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 2c18d241d8)
1 year ago
Alexander Golubev 9d4be4eb13
tdeio/kdirlister: some refactoring
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit c4ebd9d0e7)
1 year ago
Alexander Golubev ddaf1402a4
tdeio/Mainpage.dox: fix an incorrect reference to KDE as Trinity
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 6f9f01b2f4)
1 year ago
Michele Calgaro 5e51787f9a
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 03aa7238b3)
1 year ago
Michele Calgaro ff1741283b
Replace Q_SIGNALS and Q_SLOTS
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7f1af8e826)
1 year ago
Michele Calgaro 7f03918f8d
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ba3b5b77e1)
1 year ago
Michele Calgaro 2a3a62bb99
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d5688771d8)
1 year ago
Michele Calgaro af8caeadf3
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 44e712a770)
1 year ago
Michele Calgaro 9fc074fcb2 Replaced various '#define' with actual strings - part 4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 138bb80efa)
1 year ago
Michele Calgaro 4c9f3f02c0
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8d79c40791)
1 year ago
Michele Calgaro 89c8032171
Replaced various '#define' with actual strings - part 2
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit d42f9ae842)
1 year ago
Michele Calgaro 3373b45cc2
Replace various tq* strings with TQt::* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 80c2465371)
1 year ago
Michele Calgaro 303b644501 Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c8ece3630d)
1 year ago
OBATA Akio 141ced0c41
Prevent to use conditional inclusion preprocessor feature (since C++23)
`#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 419c185be7)
1 year ago
Michele Calgaro 04d3532360
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 4c0dae60b2)
1 year ago
Michele Calgaro 5cb1ea0827
Replace various tqtinterface's TQ_* defines with actual types
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0f36f89663)
1 year ago
Michele Calgaro 7f3bcfe100
Replace TQ_*Focus* and TQ_Scale* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1e5d5c92c3)
1 year ago
Michele Calgaro e8f6750e65
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 57af4f9d87)
2 years ago
Michele Calgaro 09e466f879
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 48b07a0ff1)
2 years ago
Michele Calgaro 34a191d96f
Drop TQT_TQ*_CONST defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 23278d2593)
2 years ago
Michele Calgaro 18c573e806
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c0b74ba868)
2 years ago
Michele Calgaro 55cd4e5c56
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8eb500c4e8)
2 years ago
Michele Calgaro 7073100361
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 36c049e135)
2 years ago
Michele Calgaro 41336d84c9
Rework and fix commit 4d90cc61
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 54b5898649)
2 years ago
Michele Calgaro 605ad06ae3
Fix FTBFS caused by previous commit
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 9440fb5585)
2 years ago
Denis Kozadaev e02f27b042
SunOS spesific SSL pathes
Signed-off-by: Denis Kozadaev <denis@dilos.org>
(cherry picked from commit ee09921685)
2 years ago
Denis Kozadaev 227cd7b44b
Add SunOS specific patches
Signed-off-by: Denis Kozadaev <denis@dilos.org>
(cherry picked from commit e5acdb1b39)
2 years ago
Michele Calgaro ea10b6290d
tdeio: only create the internal guarded pointer for TDEIO::Job if it is 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>
2 years ago
Michele Calgaro 4d90cc6117
Add single TQObject root parent for all TDEIO::Job objects.
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>
2 years ago
Michele Calgaro 9189a0e97f
tdefile: autocalculate folder size in KPropertiesDialog only for real local items.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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