Commit graph

101 commits

Author SHA1 Message Date
Ivailo Monev
8cc2eab7fd generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-02 04:32:40 +02:00
Ivailo Monev
3634770269 generic: build system cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-11-02 03:38:51 +02:00
Ivailo Monev
1f58bf760b generic: stop using obsolete code paths 2015-10-28 05:23:15 +02:00
Ivailo Monev
af1824d08c generic: stop using obsolete code paths
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-10-27 18:47:05 +02:00
Ivailo Monev
9f362672a6 generic: headers inclusion cleanup 2015-10-14 22:38:09 +03:00
Ivailo Monev
fcd32a6955 kio: remove unused enumerators from kdirlister 2015-10-13 13:04:37 +03:00
Ivailo Monev
01e088a229 generic: cleanup remains of deprecated DocPath 2015-10-10 09:01:28 +03:00
Ivailo Monev
3d14a4b88b generic: code shrinks 2015-09-30 10:37:53 +03:00
Ivailo Monev
f5050913b7 kio: make good use of the translator in the metadata provider
in the original KDE implementation it was used along with Nepomuk,
but Nepomuk support was dropped yet some semantic URIs are still
used across the KDE applications (e.g. dolphin, gwenview) for
info other than size, date of modification, etc. thus keeping a
local static mini-hash for the kfileitem properties is not very
good as knfotranslator has its own hash mechanisms thus the
translator items got merged into the translator and is now fully
utilized hopefully dropping the memory usage a little bit of the
metadata provider.
2015-09-29 06:44:54 +00:00
Ivailo Monev
60d9402fe4 generic: misc cleanups 2015-09-29 06:10:49 +00:00
Ivailo Monev
2fb74439bd generic: code shrinks 2015-09-29 05:49:46 +00:00
Ivailo Monev
7b82170623 generic: misc cleanups 2015-09-28 16:08:18 +00:00
Ivailo Monev
69f2daf774 generic: code shrinks 2015-09-28 15:50:22 +00:00
Ivailo Monev
e31da1d693 generic: misc cleanups 2015-09-25 01:45:51 +00:00
Ivailo Monev
7e6bd222da generic: cleanup headers inclusions 2015-09-24 17:34:26 +00:00
Ivailo Monev
a8a54f0484 generic: proper support for icon and caption in .desktop files 2015-09-21 00:26:31 +00:00
Ivailo Monev
c0da30760b generic: misc cleanups 2015-09-06 14:43:27 +03:00
Ivailo Monev
4d683ae8b3 generic: cleanups remains of custom apps resources support 2015-09-06 14:42:29 +03:00
Ivailo Monev
e7133114e1 generic: misc cleanups 2015-09-05 05:16:46 +00:00
Ivailo Monev
a45755d5a1 generic: misc cleanups 2015-09-04 21:57:46 +00:00
Ivailo Monev
eeba19d4c4 generic: misc cleanups 2015-09-04 13:06:11 +00:00
Ivailo Monev
37cd62ca47 generic: misc cleanups 2015-09-01 21:22:19 +03:00
Ivailo Monev
007a44cd2f generic: major build system cleanup
the test are broken!
2015-09-01 01:05:33 +03:00
Ivailo Monev
c931b9a201 generic: mostly win cruft removal 2015-08-28 04:47:19 +03:00
Ivailo Monev
950cb05839 kio: minor metadata provider cleanup 2015-08-28 04:14:43 +03:00
Ivailo Monev
0a78c4ef65 generic: misc cleanups 2015-08-27 20:35:05 +03:00
Ivailo Monev
2dcb9b1cad kio: fix hang in kdirlister test 2015-08-27 02:25:18 +03:00
Ivailo Monev
a3ec7d5356 generic: misc cleanups 2015-08-25 22:10:31 +03:00
Ivailo Monev
06bb32bd92 generic: fix build against katie 2015-08-23 05:30:32 +03:00
Ivailo Monev
1a0dfb4704 generic: misc cleanups 2015-08-19 01:38:20 +03:00
Ivailo Monev
e89235680d kio: make checkDesktopFile in kfileitem operation
it was always returning false because it was checking if a local
scope variable (set to false) was not NULL or 0.
2015-08-18 23:52:33 +03:00
Ivailo Monev
1ae0537be5 kio: check return codes for methods called in ksslkeygen 2015-08-18 19:33:26 +03:00
Ivailo Monev
b2a318b3ba kio: fix regression in directory lister since 21ad0df4 2015-08-11 14:52:08 +03:00
Ivailo Monev
21ad0df488 generic: make changes required for building against katie 2015-08-11 05:56:07 +03:00
Ivailo Monev
b24f8387bb kio: bump kmetainformationrc version 2015-07-27 02:02:50 +03:00
Ivailo Monev
cfe63851aa kio: restore kfileitemactionplugin service file
with bea1df1c the service file was removed but it is actually
needed, only the deprecated API is not since it is re-implemented
in another form as KFileItemActions (KAbstractFileItemActionPlugin)
2015-07-21 22:10:35 +03:00
Ivailo Monev
e21ad887c4 generic: optimize png images with optipng 2015-07-20 17:35:19 +03:00
Ivailo Monev
efe1ac83b3 kio: fix crash due to exposing inconsistent views of internal data
From: Simeon Bird <bladud@gmail.com>
Date: Thu, 18 Dec 2014 03:54:32 +0000
Subject: Fix crash in KIO due to exposing inconsistent views of internal data.
X-Git-Tag: v4.14.8
X-Git-Url: http://quickgit.kde.org/?p=kdelibs.git&a=commitdiff&h=4288d7e7c81839d6bdb25b1197c6e614f0259036
---
Fix crash in KIO due to exposing inconsistent views of internal data.

This can be triggered by renaming a directory while one of the files in
it is open in gwenview.

It occurs because when KCoreDirListerCache::emitRedirections is called,
itemsInUse contains the old url. However, KDirLister::Private::redirect
changes lstDirs to the new url. Thus at this point lstDirs contains an
item not in itemsInUse, which causes an assertion if forgetDirs is
called.

In gwenview, the redirection signal is connected to openURL. This calls
forgetDirs, and causes the assertion.

The solution: update itemsInUse *before* emitting redirections.

This fixes the crash, but gwenview opens the first file in
the new directory instead of the file open before renaming.
This is probably an unrelated gwenview bug.

REVIEW: 117345
---
2015-07-20 02:14:52 +03:00
Ivailo Monev
bea1df1c0a kio: remove dummy kfileitemactionplugin 2015-07-15 21:15:08 +00:00
Ivailo Monev
16daf6233d generic: remove code for Qt4 versions older than 4.8 2015-07-15 20:41:31 +00:00
Ivailo Monev
adf0bfef8f kio: fix an issue with the metadata displaying
sometimes with metadata that has many small value entries the
widget rows were overlapping. in the process of fixing this a
minor cleanup was done - two less temporary variables are assigned
2015-07-13 15:57:49 +03:00
Ivailo Monev
123432aec9 kio: do not show some metadata fields by default 2015-07-13 15:42:49 +03:00
Ivailo Monev
43faae2d4c kio: do not show some metadata fields by default
namely "Part of" and an extra "Type". The "Part of" filed is not
very obvious and in most cases just a null (empty string), the
extra "Type" refers to some sorta Semantic spec thing is not more
than useless as two other MIME information fileds are show - one
with a human friendly and one with programmers friendly string in
it and are more than enough in most if not all cases.
2015-07-13 15:29:55 +03:00
Ivailo Monev
5ddc190ce0 generic: normalize include guards 2015-07-11 18:42:46 +03:00
Ivailo Monev
e05886723a generic: normalize include guards 2015-07-11 18:20:46 +03:00
Ivailo Monev
f8bb8be8b7 Revert "kio: remove unused http filter sources"
This reverts commit 5c7da13273.

it seems that these sources are required for the tests
2015-07-10 06:07:03 +03:00
Ivailo Monev
5c7da13273 kio: remove unused http filter sources 2015-07-09 11:16:51 +03:00
Ivailo Monev
4db628c798 kio: use one less lookup for kioexec 2015-07-09 09:58:22 +03:00
Ivailo Monev
a7064db00e generic: deal with LINK_INTERFACE_LIBRARIES, cmake >=2.8.11 required now 2015-06-25 00:27:48 +03:00
Ivailo Monev
732148f49b generic: partitially revert 22db5ad6 2015-06-14 18:49:20 +03:00