Commit graph

5070 commits

Author SHA1 Message Date
David Edmundson
25cc15a5a2 Port all instances of Kauthorized action/shell_command to shell_command
The KAuthorized key to prevent shell access according the documentation
is simply "shell_action" not "action/shellAction" so should use
authorize not authorizeKAction

This appears to have come about as part of a porting bug when going from
KApplication::authorize to KAuthorized in kdelibs3 to kdelibs4.

To currently block shell access a sysadmin currently needs to
have both keys set already, so we can be confident it won't have any
actual compatibility problems.
2016-05-26 13:51:35 +01:00
Martin T. H. Sandsmark
bed16191b5 Fix crash when closing split view with ownCloud plugin loaded
KPluginLoader::instantiatePlugins() wraps QPluginLoader::instace(),
which doesn't return a new object for each call, so if we set the
KFileItemModelRolesUpdater instance as parent to the plugin the shared
instance will be deleted leading to crashes when other instances of
KFileItemModelRolesUpdater tries to use their plugin objects.

To fix this, set the QApplication as a parent.

BUG: 357479

REVIEW: 127930
2016-05-21 18:16:41 +02:00
Martin T. H. Sandsmark
b1471bbd09 Fix crash when closing split view with ownCloud plugin loaded
KPluginLoader::instantiatePlugins() wraps QPluginLoader::instace(),
which doesn't return a new object for each call, so if we set the
KFileItemModelRolesUpdater instance as parent to the plugin the shared
instance will be deleted leading to crashes when other instances of
KFileItemModelRolesUpdater tries to use their plugin objects.

To fix this, set the QApplication as a parent.

BUG: 357479

REVIEW: 127930
2016-05-21 18:11:46 +02:00
David Edmundson
b7ad5fb99d Merge branch 'Applications/16.04' 2016-05-18 10:13:16 +01:00
David Edmundson
3b95644fa1 Don't allow opening the terminal if shell_access Kiosk mode is set
DolphinPart already did this. Dolphin itself didn't have this feature.

REVIEW: 127951
2016-05-18 10:11:36 +01:00
Andre Woebbeking
62534f260f Don't use old (not existing) names in the documentation. 2016-05-16 19:06:32 +02:00
Marco Martin
4453d62f8b use selected icon state for selected sidebar item
Since now the breeze icons can be recolored by kiconloader
with svg stylesheets, use this feature to recolor the
currently selected icon in the sidebar and in the
details view (not the icon view)
look wouldn't change if used with icon themes that
don't support this feature
This makes it look more in line with the breeze style

REVIEW:127877
2016-05-13 11:48:30 +02:00
Frederik Schwarzer
1649a0f890 Change wording of Directory to Folder. 2016-05-05 13:43:02 +02:00
Albert Astals Cid
d0777bc791 GIT_SILENT Upgrade KDE Applications version to 16.04.1. 2016-04-27 20:55:15 +02:00
l10n daemon script
bef1ceb4f5 SVN_SILENT made messages (after extraction) 2016-04-27 10:40:01 +00:00
l10n daemon script
28f3b29695 SVN_SILENT made messages (after extraction) 2016-04-27 07:15:37 +00:00
Wolfgang Bauer
16e3d669de Merge branch 'Applications/16.04' 2016-04-26 16:17:59 +02:00
Wolfgang Bauer
44d4d2ea71 Specify a fallback icon to QIcon::fromTheme()
The default fallback of QIcon::fromTheme() is QIcon(), i.e. a null icon.
Set the generic "unknown" icon as fallback to prevent missing icons for
filetypes that specify an icon name that doesn't exist.

This also gets rid of "QPixmap::scaled: Pixmap is a null pixmap"
warnings in that case.

BUG: 358958
BUG: 361034
FIXED-IN: 16.04.1
REVIEW: 127713
2016-04-26 16:11:26 +02:00
l10n daemon script
130bc9fbc1 SVN_SILENT made messages (after extraction) 2016-04-26 13:01:05 +00:00
l10n daemon script
2798edfb5a SVN_SILENT made messages (after extraction) 2016-04-26 08:46:29 +00:00
Andrius da Costa Ribas
c6d4cae263 Fix exports and linkage, remove sources from tests which are already being linked.
REVIEW: 127709
2016-04-22 14:30:32 -03:00
Albert Astals Cid
bea2529c4f GIT_SILENT Upgrade KDE Applications version to 16.04.0. 2016-04-13 18:49:42 +02:00
Emmanuel Pescosta
8b9811694d Selection toggle: Use emblem-remove and emblem-added icons from Breeze
This raises the minimum KF5 version to 5.21.0

BUG: 357587
FIXED-IN: 16.08.0
REVIEW: 127400
CCMAIL: kainz.a@gmail.com
2016-04-09 14:23:10 +02:00
Emmanuel Pescosta
e9a254b46a Merge branch 'Applications/16.04' 2016-04-09 14:19:33 +02:00
Emmanuel Pescosta
5d6b5d882f Fix crash caused by a out-of-bounds access in KItemListViewAccessible::cell
BUG: 359738
FIXED-IN: 16.04.0
REVIEW: 127397
2016-04-09 14:08:53 +02:00
Albert Astals Cid
b101d49bb4 GIT_SILENT Upgrade KDE Applications version to 16.03.90. 2016-04-06 19:05:04 +02:00
l10n daemon script
0c90433478 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-04-03 09:50:58 +00:00
l10n daemon script
e1fa0d7a93 SVN_SILENT made messages (.desktop file) 2016-03-25 13:03:43 +00:00
l10n daemon script
32db592309 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-03-21 10:58:51 +00:00
Albert Astals Cid
496a2cce6b GIT_SILENT Upgrade KDE Applications version to 16.07.70. 2016-03-19 18:05:40 +01:00
Albert Astals Cid
aa582d0524 GIT_SILENT Upgrade KDE Applications version to 16.03.80. 2016-03-19 17:45:11 +01:00
Artur Puzio
5593c252e8 [CLAZY] Fixed all level 1 and level 2 warnings with small exceptions
REVIEW: 126771
2016-03-16 22:17:37 +01:00
Emmanuel Pescosta
59811f849e Merge branch 'Applications/15.12' 2016-03-16 21:01:52 +01:00
Arnav Dhamija
92c0ecde90 Add case sensitive sorting mode
Dolphin users can now choose between 3 different sorting modes:
* natural sorting
* case insensitive sorting
* case sensitive sorting

REVIEW: 126467
BUG: 148550
FIXED-IN: 16.04.0
2016-03-16 20:53:52 +01:00
Albert Astals Cid
14f9a4a59e GIT_SILENT Upgrade KDE Applications version to 15.12.3. 2016-03-09 21:38:21 +01:00
l10n daemon script
b12989300f SVN_SILENT made messages (after extraction) 2016-03-07 11:52:25 +00:00
l10n daemon script
189d5cd0f9 SVN_SILENT made messages (after extraction) 2016-03-07 08:19:21 +00:00
l10n daemon script
20cb1492e7 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-02-19 09:23:18 +00:00
Frank Reininghaus
6bc4f18f60 Make KFileMetaData optional again
In 15b20cd077, I added KFileMetaData to
the required build dependencies in order to make the version increase
in 6c5930c229 effective, and ensure that
the build fails at the CMake stage if the KFileMetaData version is too
old.

However, I had missed that KFileMetaData was already an optional
dependency. This commit makes it optional again and adjusts the
required version.

Thanks to Christoph Feck for notifying me about this issue and sorry
for the stupid mistake.

CCMAIL: cfeck@kde.org
2016-02-17 22:10:54 +01:00
Albert Astals Cid
ab3afbbf22 GIT_SILENT Upgrade KDE Applications version to 15.12.2. 2016-02-12 06:10:46 +01:00
Frank Reininghaus
6c5930c229 Increase the required KF5 version
Dolphin needs version 5.19 of kfilemetadata since
2257b94e4f
2016-02-10 22:36:28 +01:00
Frank Reininghaus
15b20cd077 Detect FileMetaData framework at CMake stage becasuse Dolphin needs it 2016-02-10 22:36:28 +01:00
Frank Reininghaus
d094c8ffe6 DolphinContextMenu: Do not check if the clicked folder is in the Places
This prevents that the setup of the PlacesItemModel queries Solid for
the available devices, which can take some time.

Places can be added multiple times now using the context menu, but this
has always been possible with drag and drop anyway.

See https://forum.kde.org/viewtopic.php?f=223&t=130617 for a dicsussion
on this topic.

REVIEW: 126904
2016-02-10 22:36:01 +01:00
Kai Uwe Broulik
2257b94e4f Support KFileMetadata OriginUrl as "Downloaded From"
This brings back the functionality to show where a file originally was downloaded
from using xattr originUrl.

REVIEW: 126927
2016-02-09 22:11:00 +01:00
Wolfgang Bauer
08819ca3b1 Merge branch 'Applications/15.12' 2016-01-28 21:10:05 +01:00
Wolfgang Bauer
bf1dbee1d6 Fix check whether window is closed by session management
qApp->isSessionRestored() specifies whether the application has been
restored by session management. This is obviously wrong here. Use
qApp->isSavingSession() instead.

BUG: 353548
FIXED-IN: 15.12.2
REVIEW: 126917
2016-01-28 21:03:14 +01:00
l10n daemon script
3b8623b040 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-01-20 12:38:42 +00:00
Aleix Pol
7c343f21dd include KDEFrameworksCompilerSettings as suggested in the documentation 2016-01-19 13:14:00 +01:00
l10n daemon script
b336066e1d SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2016-01-15 09:54:42 +00:00
Frank Reininghaus
adb7c47885 Update copyright year 2016-01-14 20:45:49 +01:00
Frank Reininghaus
0743843ebb Merge branch 'Applications/15.12' 2016-01-14 20:41:32 +01:00
Frank Reininghaus
ddc050f235 Do not delete sub menus of the control menu explicitly
This is not necessary because the sub menus are children of the main
menu, such that they are deleted together with the other actions by
QMenu::clear().

This prevents a crash that can happen if a sub menu is open while
another menu action is clicked.

Thanks to Fabian Vogt and Wolfgang Bauer for investigating this issue!

BUG: 354558
FIXED-IN: 15.12.2
REVIEW: 126693
2016-01-14 20:36:28 +01:00
Marco Martin
570d0e55b6 Take into account QApplication::wheelScrollLines() in wheel events
when setting a different "mouse wheel scrolls by" value in the
mouse kcm, the user expects every view to scroll more or less
accordingly (even if it's not strictlya text view)
This makes the scroll in dolphin take that into account

REVIEW:126718
2016-01-12 14:01:51 +01:00
Roman Gilg
a3acc36a66 Adding icon for hidden files
REVIEW: 125094
2016-01-12 10:35:56 +01:00
l10n daemon script
508ad6cbd0 SVN_SILENT made messages (.desktop file) 2016-01-10 14:42:09 +00:00