Commit Graph

241 Commits (a1b7068de70e2652705fc8b6cba8584b751119ca)

Author SHA1 Message Date
Michele Calgaro a1b7068de7
Fix display of icon for filenames with multiple dots in the icon dialog window.
This patch has been adapted from the equivalent patch in the Suse's KDE3 repositories created by Yasuhiko Kamata.
https://build.opensuse.org/projects/KDE:KDE3/packages/kdelibs3/files/kdelibs-multiple-dot-iconfile.patch

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 6bf5277015)
6 months ago
Michele Calgaro 417373531b
Rename kdemacros.* files to tdemacros.*
A dummy 'kdemacros.h' has been added to allow TDE to built till renaming is carried out across the whole code base. It will then be removed.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 1307964495)
8 months ago
Mavridis Philippe 750384b955
KDirOperator: add support for history navigation mouse buttons
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
(cherry picked from commit 4911fcf841)
9 months ago
Michele Calgaro 4864f9daf6
Replace KDE_Q_EXPORT_PLUGIN, KDE_PACKED and KDE_WEAK_SYMBOL with TDE_* equivalent
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0f0c5a4d07)
9 months ago
Michele Calgaro f23f0ef919
Replace KDE_DEPRECATED with TDE_DEPRECATED
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 43e38f2c0a)
9 months ago
Michele Calgaro 62949e0a61
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit bba3128085)
10 months ago
Slávek Banko ab9f8038de
Fix compatibility with C++17.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit ab599e34e8)
10 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)
1 year 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