Commit graph

17 commits

Author SHA1 Message Date
Ivailo Monev
d4fb98cc28 generic: KIO protocols classification optimization
unfortunate as it is the class for getting protocol information is not
part of kio library so generic..

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-04-14 09:54:36 +03:00
Ivailo Monev
b43339cf19 kio: drop proxy support
because curl internally checks the environment for proxy-related variables
it is redundant to duplicate that feature, that however is possible due to
the rewrite of the ftp, sftp and http slaves that I did. some other changes
were made while at it such enable automatic resuming by default, if KIO
slaves cannot resume or do not resume transfers that is different thing

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-29 09:54:38 +02:00
Ivailo Monev
5498e78c34 kdecore: drop internal helper protocol info
the check refers to services only, there are no helper protocols now

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-21 06:02:38 +02:00
Ivailo Monev
590546bda8 kdecore: remove references to the old ftp and sftp slaves
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2024-03-17 21:51:35 +02:00
Ivailo Monev
5545cb7e2f kio: remove unused KProtocolManager::supportsOpening() method
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-07-31 20:35:46 +00:00
Ivailo Monev
f6b8759d51 kdecore: remove unused KProtocolInfo::isFilterProtocol() methods
opposite of KProtocolManager::isSourceProtocol()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-01-01 03:27:41 +02:00
Ivailo Monev
bb23c25fb2 kdecore: format and indent kprotocolinfo source and header files
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-01-01 03:23:31 +02:00
Ivailo Monev
4cb8afa14d generic: remove unused KIO protocol input/output information
KIO slaves are either helper (e.g. vnc/rdp), not source (e.g. thumbnail
which is also helper in a way) or have listing capability (e.g. file
which is filesystem type)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-01-01 02:46:51 +02:00
Ivailo Monev
5e7a19f6f7 generic: store KIO slaves listing capability as boolean
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-01-01 00:57:27 +02:00
Ivailo Monev
f53360be62 kdecore: remove unused KProtocolInfo::capabilities() getter
no .protocol file specifies Capabilities and there are
KProtocolManager::supportsListing(), KProtocolManager::supportsReading(),
etc. capability getters (altought reading multiple config entries is
sub-optimal)

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2023-01-01 00:39:34 +02:00
Ivailo Monev
bfa8788988 kfile: remove archive KIO slaves leftovers
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-08 09:24:52 +02:00
Ivailo Monev
bc067dbdfa kio: drop support for putting slaves on hold
with klauncher no longer responsible for KIO slave the next step is to
make them plugins and the feature to put them on hold will be of no value
because QLibrary reuses library/plugin instances and creating a new
slave object will be cheap

in other words the performance will be similar to that of KFileMetaInfo
for which I also wrote the plugins myself - they are pretty quick
compared to what strigi was doing and with more flexible configuration
interface but it took some effort to get there

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-12-06 04:22:23 +02:00
Ivailo Monev
8bb2fec99a generic: drop support for archive KIO slaves
KIO was designed around remote protocols and is very much not suitable for
archive browsing for example

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-10-06 14:41:24 +03:00
Ivailo Monev
2f89c3a427 kdecore: drop extra protocol fields support
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2022-09-22 02:54:55 +03:00
Ivailo Monev
61333c4671 generic: namespaced Qt4/Katie build fixes
most of the changes were done trought Katie's namefsck script which
convertes forward class declarations to include directives, however
other fixes here and there were needed as well as some questionable
changes to Q_DECLARE_TYPEINFO() macro calls because they most likely
have to do the namespacing themselfs (QT_BEGIN/END_NAMESPACE, and
probably will be in Katie) meaning that some of the changes may be
temporary and reverted later.

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2017-08-04 09:24:39 +00:00
Ivailo Monev
5f025e2a91 kdecore: remove unnecessary headers inclusions
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2016-04-08 14:27:46 +00:00
Ivailo Monev
814163a8dc initial import 2014-11-13 01:04:59 +02:00