Commit graph

4338 commits

Author SHA1 Message Date
Ivailo Monev
b5f562888d mimetypes: translate web archive to Bulgarian 2015-07-20 02:19:47 +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
b6890712c7 generic: misc cleanups 2015-07-18 14:33:42 +00:00
Ivailo Monev
a06af6bdcf interfaces: merge all TerminalInterface APIs into single one 2015-07-18 12:10:28 +00:00
Ivailo Monev
fcc2023d73 kdeui: remove dead code, followup on 16daf623 2015-07-18 00:04:13 +00:00
Ivailo Monev
e347573752 kdeui: merge all KCategoryDrawer APIs into single one 2015-07-17 23:13:20 +00:00
Ivailo Monev
c32c76114a kdeui: drop unused and deprecated KFloatValidator 2015-07-17 22:14:03 +00:00
Ivailo Monev
bea1df1c0a kio: remove dummy kfileitemactionplugin 2015-07-15 21:15:08 +00:00
Ivailo Monev
b5924b8057 kdecore: fixup kurl test after the automated cleanup 2015-07-15 21:03:30 +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
3ce9d19d22 interfaces: fix terminal example 2015-07-15 20:20:08 +00:00
Ivailo Monev
55ae073a63 kinit: do not reset the environment for shell and kwrapper procs
fixes KDE bug 324256
2015-07-15 12:00:10 +00:00
Ivailo Monev
fe4ba2202f kdeui: sort locales by country code in KLanguageButton widget 2015-07-15 01:02:16 +00:00
Ivailo Monev
610f06586e kdeui: make use of ret in compositingActive() 2015-07-14 22:36:33 +00:00
Ivailo Monev
d17cfcde10 kdeui: prevent segmentation fault due to failed XOpenDisplay() 2015-07-14 22:33:55 +00:00
Ivailo Monev
0f11be04d2 kparts: make mainwindow header guard less generic
this fixes the filelight (from kde-extraaps) build because it does
the same thing for its own header.
2015-07-13 20:06:34 +03: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
e896874b00 generic: bump version to 4.17.0 2015-07-13 13:52:34 +03:00
Ivailo Monev
3114ed1e31 kded: partitially revert 68d04274
altought the KIO library is not needed I faced some linking
problems during build, almost as if the libraries requested for
the kded4 building were ignored. this needs further investigation
but for now that will do.
2015-07-13 13:43:08 +03:00
Ivailo Monev
4d98a666ac plasma: remove redudant KDNSSD linking entry 2015-07-12 22:41:13 +03:00
Ivailo Monev
5decfd65ea kdecore: misc cleanups 2015-07-11 20:30:43 +03:00
Ivailo Monev
b34ddb1593 kdecore: remove unused DNotify enumerator from kdirwatch 2015-07-11 20:26:33 +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
f64673c9ea kdesu: make the optional sudo support obvious
previously one had to set KDESU_USE_SUDO_DEFAULT to build kdesu
with sudo support and no message has been printed to show that it
was/was not found in the features log.
2015-07-11 15:58:07 +03:00
Ivailo Monev
145724a53b plasma: remove redudant contentsHash method
it was used only with the remote widgets support that has been
dropped with ca50f743 so no point in keeping it
2015-07-11 01:08:56 +03:00
Ivailo Monev
e20b50634d plasma: remove applets publishing support
remote widgets support has been droppped with ca50f743
2015-07-10 17:43:50 +03:00
Ivailo Monev
583052b6e4 kinit: do not preload libraries 2015-07-10 14:45:13 +03:00
Ivailo Monev
b2bc64c750 cmake: cleanup KDE4Macros module 2015-07-10 09:06:38 +03:00
Ivailo Monev
68d04274f0 kded: link to kdecore instead of kio as kio library is not used 2015-07-10 07:13:32 +03:00
Ivailo Monev
5df8745aa8 kdeui: fix a compiler warning 2015-07-10 07:08:55 +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
a8ac3f9cd9 generic: drop kconf_update and support for it in kded
since most of the settings are "frozen" now there is little to no
chance that it will be needed. CMake files that reference paths
for installing .upd files are left intact for now.
2015-07-08 05:13:12 +03:00
Ivailo Monev
3c76c9532f Revert "cmake: cleanup KDE4Macros"
This reverts commit 9add78ad5e.
2015-07-08 04:24:17 +03:00
Ivailo Monev
810fcc5566 experimental: stop looking for platform components 2015-07-07 15:07:52 +03:00
Ivailo Monev
b05b741640 generic: cleanup libkdcraw and libkexiv CMakeLists files 2015-06-25 01:13:40 +03:00
Ivailo Monev
e5332fef2b plasma: fix a compiler warning 2015-06-25 01:03:16 +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
4e3d881f55 cmake: partially revert 9add78ad 2015-06-22 19:22:59 +03:00
Ivailo Monev
d648d47927 solid: make CPU features backend C++11 standard compliant 2015-06-22 18:49:57 +03:00
Ivailo Monev
256c02513c generic: adjust libkdcraw and libkexiv2 for in tree build 2015-06-21 00:24:34 +03:00
Ivailo Monev
94e03f074c generic: make libkexiv2 and libkdcraw look for internal KDE 2015-06-20 22:49:18 +03:00
Ivailo Monev
9add78ad5e cmake: cleanup KDE4Macros 2015-06-16 17:20:12 +03:00
Ivailo Monev
37d3f6374b kpty: use tcgetattr & tcsetattr if available
From: Pino Toscano <pino@kde.org>
Date: Sat, 16 May 2015 13:25:56 +0000
Subject: Use tcgetattr & tcsetattr if available
X-Git-Tag: v5.11.0
X-Git-Url: http://quickgit.kde.org/?p=kpty.git&a=commitdiff&h=35ea45b588db9afcbd796576833ac338c6b4b8e8
---
Use tcgetattr & tcsetattr if available

Look for tcgetattr & tcsetattr, and use them if found before trying the
own OS checks. They are specified by POSIX.1-2008, so they should be
available on platforms implementing modern POSIX interfaces.

The rest of the fallback code is left as is for platforms not previously
using tcgetattr & tcsetattr.

REVIEW: 123811
---
2015-06-16 15:47:55 +03:00
Ivailo Monev
5d35d99e99 cmake: stop using deprecated PKGCONFIG macro in FindKexiv2 module 2015-06-15 23:45:41 +03:00
Ivailo Monev
2ec9c61790 libkexiv: add to default install target 2015-06-15 23:41:29 +03:00