Commit graph

5242 commits

Author SHA1 Message Date
l10n daemon script eb31ded156 GIT_SILENT made messages (after extraction) 2017-02-05 06:54:55 +01:00
l10n daemon script e3ea9b558e 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"
2017-02-05 05:58:09 +01:00
l10n daemon script 5c74fc0666 GIT_SILENT made messages (after extraction) 2017-02-05 03:46:09 +01:00
l10n daemon script 01edd6480c GIT_SILENT made messages (after extraction) 2017-02-03 07:02:22 +01:00
l10n daemon script 92cd757733 GIT_SILENT made messages (after extraction) 2017-02-03 03:56:59 +01:00
arnav dhamija 36bd947233 Added a comment 2017-02-02 21:48:58 +05:30
arnav dhamija 41156288b2 Added a comment 2017-02-02 21:48:51 +05:30
arnav dhamija 8f28ceaad1 More happy with this patch 2017-02-02 21:46:54 +05:30
Kai Uwe Broulik c7a2e55df9 Merge branch 'Applications/16.12' 2017-01-31 20:52:28 +01:00
Kai Uwe Broulik e582b13f84 Hide progress info for rename jobs in rename dialog
When mass-renaming files, you could end up with a a gazillion notifications of a finished move job.
This fixes this. Ideally we would have one job which had the rename jobs as subjobs to still get
progress info for the overall task.

Differential Revision: https://phabricator.kde.org/D4372
2017-01-31 20:50:47 +01:00
arnav dhamija e8a4868943 Made more changes 2017-01-29 23:31:43 +05:30
arnav dhamija 68cda76aa8 Time to get back to business 2017-01-29 22:00:08 +05:30
Elvis Angelaccio a874e52b15 Merge branch 'Applications/16.12' 2017-01-21 23:43:09 +01:00
Elvis Angelaccio c1d9becda2 informationpanel: don't change color of scrollarea's viewport
This code was added a long time ago in b1c9b5126d, but the commit
message doesn't explain why. If we remove it nothing seems to change and
we fix the ugly background on the scrollbar when Breeze draws a frame
around dockable panels.

BUG: 366203
FIXED-IN: 16.12.2
REVIEW: 129861
2017-01-21 23:38:16 +01:00
Albert Astals Cid a67dab505a Merge remote-tracking branch 'origin/Applications/16.12' 2017-01-21 01:38:26 +01:00
Marc André Wittorf 2e8e30026a Fix missing audio duration in details view
Enabling the 'duration' column in a folder with audio files did only show empty information. Properly initializing the QTime object fixes this.

 Testing Done

    Find a folder with audio files
    Make sure that Baloo has indexed this folder
    Open this folder in Dolphin, detail view, enable the Audio/Duration column
    Unpatched Dolphin does not display audio duration, patched Dolphin does

Tested on Gentoo x86_64 with Qt 5.5.1, KF 5.21.0 and Arch x86_64 with Qt 5.6.0 and KF 5.21.0.

REVIEW: 127799
2017-01-21 01:37:35 +01:00
Gregor Mi 728e6712b8 DolphinSearchBox: Add a "More search tools..." menu button
Additionally, moves the "More/Fewer options" button from right to left to reduce the mouse travelling distance when the dolphin is maximized on a large screen (see screenshots)

The current location url will be passed to the search tool to set the initial search root directory.

REVIEW: 123883
2017-01-21 00:07:49 +01:00
Don Nguyen 0aed243beb Change "Date" to "Modified" and allow access to new "Accessed" time field
This is merge of #128964 and #128942.  This will impelement changing the "Date" field to "Modified" and allow a new "Accessed" time field to be available.  This also includes changes to update configuration files.

REVIEW: 129077
2017-01-21 00:04:38 +01:00
Don Nguyen d8ffea2476 Dolphin: directory loading progress
Everything is already set up to show the directory loading progress in the status bar, but the signal KFileItemModel::directoryLoadingProgress is never emmited anywhere.  I connected it to KFileItemModelDirLister::percent.

This was difficult to test because I had a hard time finding a directory that didn't load almost immediately.  I was able to verify the fix by listing a remote directory of 20,000 files (see screenshot)

REVIEW: 129619
2017-01-21 00:00:34 +01:00
Elvis Angelaccio 97b5435b6b Remove extra semicolon
GIT_SILENT
2017-01-18 23:49:41 +01:00
Elvis Angelaccio 1be2704214 Port away from deprecated KIO::Job::ui()
It's equivalent to KJob::uiDelegate() from kcoreaddons.
2017-01-18 23:45:39 +01:00
Kai Uwe Broulik 215bed085b In doubt use URL scheme for place
If we neither have a filename nor a host, we might be in a foo:/ URL, use the scheme then.

Differential Revision: https://phabricator.kde.org/D3935
2017-01-16 15:45:09 +01:00
John Salatas 63a591f32a Show full path in title bar
BUG: 229810

Differential Revision: https://phabricator.kde.org/D4078
2017-01-14 04:26:14 -08:00
Elvis Angelaccio 97415005de Merge branch 'Applications/16.12' 2017-01-14 13:00:33 +01:00
Elvis Angelaccio 85121a8115 Don't overwrite custom icons for the show_hidden_files action
BUG: 374508
FIXED-IN: 16.12.2
REVIEW: 129789
2017-01-14 12:52:58 +01:00
l10n daemon script c1eeb0e115 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"
2017-01-13 05:50:46 +01:00
l10n daemon script 82c944f63f GIT_SILENT made messages (after extraction) 2017-01-13 03:38:21 +01:00
Kai Uwe Broulik 0cad00c39a Add document title to additional information
Allows showing the document title of e.g. a PDF alongside the file name

BUG: 321356

Differential Revision: https://phabricator.kde.org/D3972
2017-01-12 14:23:12 +01:00
Montel Laurent 726515cfd4 Add missing Q_DECL_OVERRIDE 2017-01-03 13:18:07 +01:00
Ilya Bizyaev 962f6d7160 Fix 2 container-anti-pattern clazy warnings
REVIEW: 129752
2017-01-03 11:28:20 +01:00
Ilya Bizyaev 67c007889e Add missing Q_OBJECT macros
REVIEW: 129738
2017-01-03 11:24:13 +01:00
Kai Uwe Broulik 5107523249 Merge branch 'Applications/16.12' 2017-01-03 09:49:02 +01:00
Kai Uwe Broulik 996f8520e7 Explicitly pass iconNameForUrl when creating new places entry
Once KIO::iconNameForUrl returns special icons for standard paths (e.g. Video folder)
this will ensure when adding such a folder to places it will automatically get the proper icon.

Since KIO already depends on KBookmarks it can't depend the other way round, otherwise
this would have been fixed in KBookmarks directly.

Differential Revision: https://phabricator.kde.org/D3896
2017-01-03 09:46:43 +01:00
Kai Uwe Broulik 2a7090728b [DolphinView] Update view palette on palette change
Everything was handling palette change already but for the visual distinction between
active and non-active view (in case of split view), a custom palette was set which was
then never updated. This could be seen by the label text color changing but not the view background.

Differential Revision: https://phabricator.kde.org/D3909
2017-01-03 09:45:33 +01:00
Elvis Angelaccio 331c8bc89e Merge branch 'Applications/16.12' 2017-01-02 14:57:57 +01:00
Elvis Angelaccio 24ed38d77f Properly disable create_dir action in Trash
`isFolderWritable` is set in DolphinView::updateWritableState() according to
KFileItemListProperties::supportsWriting().
However, `writing=true` does not imply `makedir=true`,
in an ioslave's .protocol file. An example is the trash protocol.

So we need to enable the `create_dir` action only if the protocol is
actually able to create folders.

CCBUG: 332463
REVIEW: 129712
2017-01-02 14:54:38 +01:00
Anthony Fieroni c456c5d528 [DolphinSearchBox] Stop search timer on hide
REVIEW: 129705

Signed-off-by: Anthony Fieroni <bvbfan@abv.bg>
2017-01-01 21:47:10 +02:00
Martin T. H. Sandsmark 6af0dad2ee Fix updating of new item menu when changing tabs
Correctly set the active status of views when changing tabs.

Before: Right click in home folder, see create new enabled, open tab, go
to /usr, right click and see it is disabled, switch back to first tab
and right click, and it is still disabled.

After: It is enabled and disabled as appropriate when switching tab.

REVIEW: 129664
2016-12-28 13:49:37 +01:00
l10n daemon script ae935d36b1 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-12-20 12:38:21 +01:00
l10n daemon script d690b0719f GIT_SILENT made messages (after extraction) 2016-12-20 08:11:02 +01:00
Jonathan Marten 16db90c793 Dolphin Part: Update the paste action at the end of the listing
Fixes a problem with the paste action not being enabled, only seen in
Konqueror.

BUG:369523
REVIEW:129448
2016-12-06 06:59:49 +00:00
Elvis Angelaccio abb7799f7e Fix viewpropertiestest when GlobalViewProps is true
The test was not saving its changes to the global settings, so it was
passing on the CI only because the default value of GlobalViewProps is
already false. If GlobalViewProps was set to true instead, testAutoSave()
would fail because save() was not called and GlobalViewProps was not
2016-12-03 18:04:24 +01:00
Spencer Brown 73a6bf4e10 Fix 5 clazy warnings
This bumps the minimum Qt version to 5.5 (because of Q_ENUM usage).

REVIEW: 129604
2016-12-03 15:58:39 +01:00
R.J.V. Bertin b6e76f006d Add application icon for Mac and MS Windows.
Uses the Oxygen theme because it fits in better with prevailent icons
on those platforms.
2016-11-22 18:15:42 +01:00
R.J.V. Bertin ded92cc32a Use the current window icon in QIcon::fromTheme()
This prevents removing the application icon when icon lookup fails, on
Mac or MS Windows.
2016-11-22 17:55:34 +01:00
Don Nguyen 88805f7fad Call columnWidthChanged with actual previous width
REVIEW: 129334
2016-11-21 17:41:01 +01:00
Elvis Angelaccio 90beb4a5e3 Fix slow scrolling in dock panels
Commit f688bcd1f1 fixed slow scrolling with xf86-input-libinput on DolphinView.

However the commit also exposed a bug in the Dolphin scrolling
algorithm, which was previously hidden. This resulted in slow
scrolling in dock panels (Places and Folders), with both
xf86-input-evdev and xf86-input-libinput drivers, as well as libinput on
Wayland.

KItemListContainer::updateScrollOffsetScrollBar() relied on the view's
itemSize() method to compute the scrollbar's singleStep, but this QSize
was invalid for the dock panels' views.

We use a new itemSizeHint() method instead, which is always valid and
also adapts to the current icon size set in the view.

BUG: 365968
FIXED-IN: 16.12.0
REVIEW: 129409
2016-11-20 12:59:51 +01:00
arnav dhamija fa9cc1333a This seems to work. Though it could be better 2016-11-03 09:35:15 +05:30
arnav dhamija e7f6a1010a Changed default arg for the setSplitViewEnabled 2016-11-02 21:49:11 +05:30
Kai Uwe Broulik bffb1c4d60 Merge branch 'Applications/16.08' 2016-10-28 13:42:28 +02:00
Kai Uwe Broulik 95e1505c9f [Places Item Edit Dialog] Fix accepting dialog with Return
By setting a parent for the QDialogButtonBox we let QDialog handle everything by itself.
Also, store the dialog button box as a member rather than just the OK button.

This removes the need to set the OK button as default manually (which didn't work anyway)
and fixes pressing Return while the input is focused erroneously opening the folder browser
rather than accepting the dialog.

REVIEW: 129213
2016-10-28 13:40:50 +02:00
Safa AlFulaij 57a19efe93 The tab navigation shortcut workaround for RTL layouts is not needed anymore, as Qt supports that by default.
Before this, pressing Ctrl+Tab makes the previous tab (in RTL layout) the
activated one, and vice versa.

REVIEW: 128853
2016-10-12 14:31:35 +03:00
l10n daemon script 8828e686e9 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-10-10 12:24:39 +00:00
l10n daemon script 82cfc125f4 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-10-10 09:41:54 +00:00
Elvis Angelaccio 0e5e43aa9d Hide message widgets only when reloading the view
Otherwise an error message might be hidden before it's even shown.

BUG: 357651
FIXED-IN: 16.08.2
REVIEW: 129061
2016-10-04 17:30:51 +02:00
David Faure 0309bb1818 Pass current dir explicitly to QUrl::fromUserInput
It works with QString() but that's a bug, I didn't expect it to
work with my fromUserInput code and wrote otherwise in its documentation...
2016-10-03 01:05:42 +02:00
David Faure f54174f9f6 Popupmenu: use KIO 5.27's new addPluginActionsTo method
REVIEW: 129085
2016-10-02 22:28:03 +02:00
David Faure 345e3e7a82 Follow changes in konqpopupmenu: no longer back/forward/up in part's contextmenu. 2016-09-28 16:44:22 +02:00
arnav dhamija ee1231541a Fixed async conditions 2016-09-27 13:53:53 +05:30
arnav dhamija 3e32ee5e8c need to fix async conditions 2016-09-27 10:55:35 +05:30
arnav dhamija a097a1277a Changed shortcut, but need to fix async conditions 2016-09-27 10:37:08 +05:30
arnav dhamija 45d90a61f8 Found an icon for the button 2016-09-27 10:11:44 +05:30
arnav dhamija 2704b3693f Added the GUI button for quick stashing 2016-09-26 22:25:42 +05:30
arnav dhamija 1710304e9b Used KUrlMimeData::setUrls for kfileitemmodel's createMimeData for implementing the upcoming stash:/ ioslave 2016-09-25 19:46:22 +05:30
Elvis Angelaccio 478de35175 Merge branch 'Applications/16.08'
* Applications/16.08:
  Properly check Shift toggling in DolphinRemoveAction
2016-09-21 18:26:28 +02:00
Elvis Angelaccio 3775ef19ea Properly check Shift toggling in DolphinRemoveAction
Documentation of QGuiApplication::keyboardModifiers() says that "It should
be noted this may not reflect the actual keys held on the input device at
the time of calling but rather the modifiers as last reported in one of
the above events".

Since this method is called in DolphinContextMenu's keyPressEvent()
and keyReleaseEvent(), the first time that keyboardModifiers() is
called it doesn't report that shift has been pressed.

Replacing this method with queryKeyboardModifiers() does the job
because the latter doesn't care about the event queue.

BUG: 354301
FIXED-IN: 16.08.2
REVIEW: 128972
2016-09-21 18:13:29 +02:00
Elvis Angelaccio ca53974181 Add Donate standard action to control menu
REVIEW: 128946
2016-09-20 11:24:15 +02:00
Elvis Angelaccio 87ddbf770e Merge branch 'Applications/16.08'
* Applications/16.08:
  Don't load twice kfileitemaction plugins with json metadata
  Fix logic for loading kfileitemaction plugins
2016-09-10 22:01:09 +02:00
Elvis Angelaccio e93e6d4cc5 Don't load twice kfileitemaction plugins with json metadata 2016-09-10 21:59:16 +02:00
Elvis Angelaccio abaf20f114 Fix logic for loading kfileitemaction plugins
Since dolphin is now loading also plugins with json metadata, it is
wrong to return here, as those plugins could be missed.
2016-09-10 21:55:32 +02:00
Martin T. H. Sandsmark b706108206 Use tab for switching active split
REVIEW: 128564
REVIEW: 110970
BUGS: 171743
2016-09-04 14:12:53 +02:00
Elvis Angelaccio 5d684bea8b Merge branch 'Applications/16.08' 2016-08-23 18:12:20 +02:00
Elvis Angelaccio 809ba74695 Filter json-only KFileItemAction plugins by mimetype
Commit d48b733 introduced support for kfileitemaction plugins with json
metadata, but forgot to filter them by the commonMimeType (like
KMimeTypeTrader::query() does with old-style plugins).

So we need to load a plugin only when commonMimeType is equal to (or child of) one
of the mimetypes supported by the plugin.
2016-08-23 18:06:40 +02:00
l10n daemon script 438ede27dc 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-08-19 12:04:22 +00:00
l10n daemon script 50e366431d 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-08-19 09:28:24 +00:00
Martin T. H. Sandsmark 676cdcbbdb Fix some low-hanging warning fruits 2016-08-06 13:03:48 +02:00
Martin T. H. Sandsmark 8d61c9c7b6 Fix scrolling on hidpi screens
Scrolling with libinput was unbearably slow.

QScrollBar is much better at scrolling than us, so let it handle it.

REVIEW: 128432
BUG: 357618
2016-07-16 19:01:53 +02:00
Martin T. H. Sandsmark f688bcd1f1 Fix scrolling on hidpi screens
Scrolling with libinput was unbearably slow.

QScrollBar is much better at scrolling than us, so let it handle it.

REVIEW: 128432
BUG: 357618
2016-07-16 18:47:02 +02:00
Christoph Feck 4fad4405a7 Give FileMetaDataConfigurationDialog a parent
REVIEW: 128439
2016-07-14 17:19:21 +02:00
Kai Uwe Broulik c2c075011c Merge branch 'Applications/16.04' 2016-07-01 11:37:01 +02:00
Kai Uwe Broulik 6bda60f1dd [DBusInterface] Use %U instead of %u to indicate multiple URLs are supported
Otherwise KRun opens a separate instance for every URL passed although Dolphin
already has logic to open different folders in tabs if neccessary.

REVIEW: 128306
2016-07-01 11:36:10 +02:00
l10n daemon script f92da4f341 SVN_SILENT made messages (after extraction) 2016-06-28 08:18:56 +00:00
David Faure e615bfaed4 add_definitions(-DQT_NO_URL_CAST_FROM_STRING) + fix compilation
This fixes some URLs built from local paths without scheme.
2016-06-25 16:40:18 +02:00
Elvis Angelaccio 6bb62f17b5 Look for kfileitemaction plugins in the expected subfolder
For a rationale, see https://git.reviewboard.kde.org/r/128225/
2016-06-18 17:47:07 +02:00
David Faure f2772c4fe6 Fix DnD onto desktop:/ app desktop file.
We need to resolve from desktop:/ to file:/ so that DropJob
can handle application .desktop files.

CCBUG: 363991
2016-06-16 15:34:44 +02:00
l10n daemon script 0cbc3d195b 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-06-10 09:41:49 +00:00
Elvis Angelaccio d48b733492 Load KFileItemAction plugins with json metadata
REVIEW: 128088
2016-06-08 15:30:52 +02:00
l10n daemon script bf8a3a3a03 SVN_SILENT made messages (after extraction) 2016-06-05 10:48:01 +00:00
l10n daemon script a11d551c2b SVN_SILENT made messages (after extraction) 2016-06-05 07:18:28 +00:00
l10n daemon script f8230d65e3 SVN_SILENT made messages (after extraction) 2016-06-04 11:03:54 +00:00
l10n daemon script d8fc408611 SVN_SILENT made messages (after extraction) 2016-06-04 07:22:48 +00:00
l10n daemon script fe6a7ac9f8 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-05-29 12:20:08 +00:00
l10n daemon script 82af09127d 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-05-29 09:27:44 +00:00
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
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
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
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
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
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
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 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
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
l10n daemon script ce14d709c7 SVN_SILENT made messages (.desktop file) 2015-12-30 12:12:44 +00:00
l10n daemon script 889a574fcd 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"
2015-12-30 09:19:37 +00:00
l10n daemon script 0004b0dd0a SVN_SILENT made messages (after extraction) 2015-12-30 06:45:51 +00:00
l10n daemon script 013a854aca SVN_SILENT made messages (after extraction) 2015-12-17 10:36:05 +00:00
l10n daemon script 8b66fa05a7 SVN_SILENT made messages (after extraction) 2015-12-17 07:20:35 +00:00
Valentin Rusu e5b3a37f66 Fix compilation when baloo is not present 2015-12-13 16:14:53 +02:00
l10n daemon script 2d8448f88d 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"
2015-12-09 09:04:05 +00:00
l10n daemon script 4b97e6fc80 SVN_SILENT made messages (.desktop file) 2015-12-08 12:50:49 +00:00
l10n daemon script bb3bfa8989 SVN_SILENT made messages (after extraction) 2015-12-08 11:11:12 +00:00
l10n daemon script c0d5537afb 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"
2015-12-08 10:05:01 +00:00
l10n daemon script 9c432e6905 SVN_SILENT made messages (after extraction) 2015-12-08 07:55:54 +00:00
l10n daemon script 0fc2c24039 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"
2015-12-07 10:14:12 +00:00
l10n daemon script d3c9d3c31f 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"
2015-11-30 10:26:25 +00:00
Albert Astals Cid 090f3e90ea Merge remote-tracking branch 'origin/Applications/15.12' 2015-11-29 19:32:15 +01:00
Albert Astals Cid d00b531c74 Call KLocalizedString::setApplicationDomain("dolphin");
dolphin is using
   -DTRANSLATION_DOMAIN=\"dolphin\"
that is wrong for applications, apps need to use
   KLocalizedString::setApplicationDomain
since that makes some other things like the transltators tab in the about
dialog show.

I have not removed -DTRANSLATION_DOMAIN=\"dolphin\" because on the other hand
this code is also a library (i.e. the dolphin kpart).

The "being pedandly correct" fix would be using -DTRANSLATION_DOMAIN=\"dolphin\"
only to compile the files that are part of the kpart but that's prone to
break at some point and using both KLocalizedString::setApplicationDomain and
-DTRANSLATION_DOMAIN does not create any problem so i went that route

CCMAIL: kfm-devel@kde.org
2015-11-29 19:19:33 +01:00
David Faure 35b35d0c5f Fix wrong path->URL conversion. 2015-11-28 23:45:07 +01:00
Vishesh Handa 34aaff4124 Fix -Wunused-const-variable 2015-11-27 01:32:07 +01:00
David Faure 3a50ef642a Fix incorrect QString -> QUrl conversion. 2015-11-26 00:01:46 +01:00
l10n daemon script 0587f994dc 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"
2015-11-21 18:58:19 +00:00
Weng Xuetian ed3bb94ea0 Fix search in places panel.
addType("File") will create a invalid query for baloo. Currently seems
there is no replacement for it, so just remove it.

REVIEW: 126109
FIXED-IN: 15.12
BUG: 348902
2015-11-19 09:40:51 -08:00
l10n daemon script f3269481ec SVN_SILENT made messages (after extraction) 2015-11-19 08:54:08 +00:00
l10n daemon script e0dfcb9e1d 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"
2015-11-17 12:50:56 +00:00
l10n daemon script c96add9c68 SVN_SILENT made messages (after extraction) 2015-11-17 09:42:50 +00:00
l10n daemon script c4f3c40b83 SVN_SILENT made messages (.desktop file) 2015-11-16 13:50:57 +00:00
Andreas Cord-Landwehr 3c09528f3c Enable KCrash crash handler. 2015-11-14 22:37:40 +01:00
Emmanuel Pescosta 727d2513c0 Merge branch 'Applications/15.08' 2015-11-09 09:33:20 +01:00
l10n daemon script f304ede366 SVN_SILENT made messages (.desktop file) 2015-11-04 19:51:39 +00:00
l10n daemon script c8ffbd0139 SVN_SILENT made messages (after extraction) 2015-11-04 18:27:33 +00:00
l10n daemon script bc8f3373fd 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"
2015-11-04 16:55:32 +00:00
l10n daemon script 536d6ec866 SVN_SILENT made messages (after extraction) 2015-11-04 14:03:54 +00:00
Olivier Goffart 800d5114cb Use the new KOverlayIconPlugin interface from KIO::Widgets
REVIEW: 125675
2015-11-04 14:21:39 +01:00
l10n daemon script 7b273bb4c6 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"
2015-11-01 10:40:09 +00:00
l10n daemon script 07dae709d9 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"
2015-10-26 10:04:54 +00:00
Emmanuel Pescosta 5dd5eaf08d Allow home directories with non-local file paths.
Paths like file:/home/me work now instead of showing
an error message.

BUG: 352743
BUG: 353550
FIXED-IN: 15.08.3
REVIEW: 125586
2015-10-21 13:45:45 +02:00
Emmanuel Pescosta 4d6cd761d8 Fix detach tab not working when path contains spaces.
BUG: 352420
FIXED-IN: 15.08.3
REVIEW: 125587
2015-10-21 13:45:01 +02:00
Vishesh Handa f5fd8e5cfb Only perform operations with Baloo if it is enabled
REVIEW: 125584
2015-10-10 18:33:06 +02:00
David Rosca fb9ca1399d Merge branch 'Applications/15.08' 2015-09-25 22:40:08 +02:00
David Rosca e6af789224 Fix layout of ViewPropertiesDialog
In case of GlobalViewProps, propsBox == this and it already has layout.

REVIEW: 125373
2015-09-25 22:39:36 +02:00
Michael Palimaka 8a56637663 Merge branch 'Applications/15.08' 2015-09-26 05:38:06 +10:00
andreas kainz 51f75371c4 Change Dolphin Preferences Sidebar Icons 2015-09-10 21:03:04 +02:00
l10n daemon script c9770e6083 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"
2015-09-08 12:47:01 +00:00
Emmanuel Pescosta 4143a69c05 Rename dialog: Set focus to input text box on dialog show event.
BUG: 351708
FIXED-IN: 15.08.1
REVIEW: 125078
2015-09-07 22:58:38 +02:00
Emmanuel Pescosta 389c909aff Remove the dummy widget, which assured that the dialog layout was not stretched vertically (vbox align top does the same), to make the uncheckable "Open archives as folder" checkbox checkable again.
BUG: 349148
FIXED-IN: 15.08.1
REVIEW: 125077
2015-09-07 22:57:44 +02:00
Matthias Klumpp 2a18f45025 Name AppStream metainfo file like the .desktop file 2015-09-07 17:20:35 +02:00
Frank Reininghaus d4fafe5290 Merge branch 'Applications/15.08' 2015-09-03 20:33:48 +02:00
Frank Reininghaus 5ce01c864f Only store modified columns widths after the mouse button was released
This prevents that the new widths are written to disk multiple times in
quick succession, which can make column resizing quite slow.

BUG: 351846
REVIEW: 351846
FIXED-IN: 15.08.1
2015-09-03 20:26:12 +02:00
andreas kainz 90fd2be751 Breeze: wrong icon usage Request 124971 2015-09-01 22:10:40 +02:00
Montel Laurent bfa4274f58 Pedantic-- 2015-09-01 22:02:47 +02:00
Montel Laurent 6eae544e29 Reduce dependancy 2015-09-01 22:02:47 +02:00
Maxim Mikityanskiy 10944d4194 Scrolling fixes for Dolphin
KItemListSmoothScroller::handleWheelEvent has some issues:
1. When I scroll file list holding mouse over the list, one mouse wheel tick corresponds
   to 1/4 page interval, but when I hover on QScrollBar, one wheel tick corresponds to
   1 page interval.
2. In KItemListSmoothScroller::eventFilter we don't return true, so that QScrollBar also
   handles this event, and total scroll interval is m_scrollBar->pageStep() +
   m_scrollBar->singleStep().
3. When I use touchpad that supports smooth scrolling via XInput2, and I hover it over
   QScrollBar, I can only scroll content if I move my fingers very fast, because
   numSteps = event->delta() / 8 / 15 is just zero unless I move very fast
   (event->delta() in this case is less than 120).
4. Holding Shift while scrolling has no effect when holding mouse over QScrollBar in
   contrast to scrolling faster when holding mouse over file list.

The patch eliminates all these issues making the behavior of KItemListSmoothScroller the
same as in KItemListContainer::wheelEvent, adding support for QWheelEvent::pixelDelta()
and removing usage of deprecated QWheelEvent::delta().

REVIEW: 124670
FIXED-IN: 15.12.0
2015-09-01 20:55:28 +02:00
andreas kainz 9ed9689cca Icons: wrong icon usaeg for balloo Review Request #124972 2015-08-30 22:55:11 +02:00
Michael Palimaka 4c0d110b2d Update dependencies.
It appears that KF5TextEditor was added for KTextEdit, but that is actually
provided by KF5TextWidgets. It's then necessary to explicitly link to KF5Parts
(it was previously brought in implicitly by KF5TextEditor).

REVIEW: 124932
2015-08-27 20:33:10 +10:00
Harald Sitter 31f0acc726 do not install namelink for private library
there are no headers being installed for the private library so it cannot
be linked anyway, so we can also skip the namelink creation (.so symlink)

REVIEW: 124812
2015-08-19 10:59:46 +02:00
Emmanuel Pescosta 8797d704b6 Remove unused KBookmarkManager::bookmarksChanged signal-slot connection, because we don't use KBoomark's D-Bus signaling anymore.
REVIEW: 124497
2015-07-31 19:09:07 +02:00
Ragnar Thomsen 7d1a054267 Enable automatic update of version number
Use CMake variables autoupdated by release script. Dolphin version is
automatically updated to KDE Applications version.
2015-07-29 22:54:54 +02:00
Christian Butcher 52136255d8 Change the Dolphin places icons:
* folder-txt => folder-text
* folder-video => folder-videos
* folder-image => folder-images

Thanks to andreas_k and Christian Butcher!

BUG: 347257
FIXED-IN: 15.08.0
2015-07-27 22:32:15 +02:00
l10n daemon script c7b19c587f SVN_SILENT made messages (after extraction) 2015-07-27 11:01:31 +00:00
l10n daemon script 3748e80deb SVN_SILENT made messages (.desktop file) 2015-07-26 21:43:38 +00:00
l10n daemon script 8d2a8a0f92 SVN_SILENT made messages (after extraction) 2015-07-03 08:27:31 +00:00
l10n daemon script da7a6a16f8 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"
2015-06-24 10:34:19 +00:00
l10n daemon script b07a63797b SVN_SILENT made messages (after extraction) 2015-06-20 09:39:15 +00:00
l10n daemon script a8a4981b2c 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"
2015-06-16 13:31:20 +00:00
l10n daemon script 1c1efb983c 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"
2015-06-04 11:19:31 +00:00
l10n daemon script 586252341e 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"
2015-05-31 10:13:13 +00:00
l10n daemon script 8b12612bbf 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"
2015-05-13 11:01:45 +00:00
Raymond Wooninck a72543484b Remove unneeded include to fix build
CCMAIL: me@vhanda.in
2015-05-11 21:45:07 +02:00
Vishesh Handa 9d4ad66abe Move away from Baloo::Term
Baloo is set to become a framework and wants to only export the bare
minimum number of classes as it will need to provide ABI + API
guarentees forever. The Term class is now no longer exported. It can be
added back again.

REVIEW: 123643
2015-05-11 10:31:49 +02:00
Frank Reininghaus e69d348975 Fix KFileItemModel performance regression
Commit 119f7a3f fixed a crash that was caused by the porting of the
natural sorting code to QCollator. QCollator is not thread-safe, so
every thread needs its own instance. However, that commit made every
recursive call in the sorting code create a new deep-copied QCollator
instance, which is quite expensive and thus made inserting any items
into the model very slow (this could also be seen in the KFileItemModel
benchmark).

This commit avoids unnecessary QCollator copying by forcing all sorting
functions which are called in the same thread to pass the 'lessThan'
object by const reference, such that no unnecessary copying of that
object, including a deep copy of the QCollator, takes place.

REVIEW: 123620
2015-05-07 22:14:00 +02:00
Frank Reininghaus 5bde333ca7 Simplify the KFileItemModel benchmark
The benchmark inserted KFileItemLists of different sizes in the model.
The intention was to verify that an O(N^2) complexity issue was fixed.
However, now that this original problem does not exist any more, the
benchmark results are much easier to read, and regressions are much
easier to spot at first sight, if only a single list size is used.
2015-05-07 22:06:42 +02:00
l10n daemon script c035fb0a5c SVN_SILENT made messages (after extraction) 2015-05-07 08:33:58 +00:00
Ashish Bansal 1fe148805d Scroll by page if Shift Key is pressed
If shift key is pressed along with scroll, scroll up/down by whole page.

REVIEW: 123596
2015-05-06 15:47:18 +05:30
l10n daemon script c1a2c0f1a7 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"
2015-05-05 14:00:14 +00:00
l10n daemon script f1c5cd302a 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"
2015-05-04 10:09:13 +00:00
Gregor Mi ece6650ecd Remove SpaceInfoToolsMenu and use KMoreToolsMenuFactory instead
Reduces the amount of needed code.
NEW: by using KMoreTools the menu is now user-configurable and
will automatically extended when KMoreToolsPresets gets new tools.
REVIEW: 122911
2015-05-03 20:42:23 +02:00
Vishesh Handa 9456584597 SearchBox: Baloo now only searches through Files
We no longer need to explicitly state files
2015-04-29 16:06:10 +02:00
Emmanuel Pescosta 44ac6bd5f8 Use KPropertiesDialog::showDialog(urls) in DBusInterface::ShowItemProperties
instead of showing a new properties dialog for each url.

REVIEW: 123524
2015-04-29 15:41:13 +02:00
Emmanuel Pescosta 7550ef0299 Use user-places.xbel instead of bookmarks.xml in places model.
REVIEW: 123526
CCBUG: 345174
FIXED-IN: 15.08.0
2015-04-29 15:39:49 +02:00
Emmanuel Pescosta 06f2cd58b8 Reorder code in main.cpp ("cluster definitions and setters") 2015-04-27 13:01:18 +02:00
Emmanuel Pescosta 5acfb27760 Simplify startup split view handling
* Instead of setting and resetting GeneralSettings's split view option, just pass it on to openFiles/openDirectories.
* Require at least one url in openFiles/openDirectories

REVIEW: 123395
2015-04-27 12:55:53 +02:00
l10n daemon script 06776451a7 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"
2015-04-26 09:44:42 +00:00
l10n daemon script 0daae53367 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"
2015-04-24 09:52:38 +00:00
Frank Reininghaus 975d0d7bfa Remove obsolete benchmark for inserting many child items
I added this benchmark quite a long time ago in order to check that the
changes in dc6322dc09 do not make
inserting many child items into the model slower. The test tries to
insert child items of different subfolders at the same time, which
cannot happen during normal usage because KDirLister only tells us about
one subfolder at a time.

The code was commented out a long time ago because it is no longer
compatible with the (greatly improved) new internal structure of
KFileItemModel. I think that it's not worth porting the benchmark
because it fulfilled its intended purpose a long time ago. Even if
someone decides to make a simplified working new benchmark out of it at
some point, it does not make much sense to keep this commented-out code
around for years. It can still be found in the git history - after all,
that's what version control systems are for.
2015-04-24 01:44:31 +02:00
Lasse Liehu 82bf562c34 Enable translation scripting for date groups
This allows to work around limitations in Qt's date formatting.

Examples:

* Uppercasing the first character in a string because it's a title:
  Day of the week and month names returned by QDateTime::toString
  are usually lowercase.
* Correcting the noun case of a month name from "of [month]" to
  "in [month]" in Finnish: "of [month]" is correct when talking
  about a specific day, but wrong when talking about a specific month.

REVIEW: 123278
2015-04-23 17:40:33 +03:00
Lasse Liehu d4475653db Rewrap lines in KFileItemModel::dateRoleGroups
Now they are under 100 characters.
2015-04-23 17:40:33 +03:00
Ashish Bansal 7042c6c289 Add dbus interface to dolphin
Implemented org.freedesktop.FileManager1 dbus interface in dolphin
http://www.freedesktop.org/wiki/Specifications/file-manager-interface/

REVIEW: 123313
BUG: 343016
2015-04-22 18:59:39 +05:30
l10n daemon script 807230882b SVN_SILENT made messages (after extraction) 2015-04-18 08:56:17 +00:00
l10n daemon script 4e96b1a42f 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"
2015-04-04 11:02:00 +00:00
David Edmundson de84f223d4 Remove deprecated X scaling of QPixmaps
QPixmaps are no longer X pixmaps so this won't ever work anymore

REVIEW: 123138
2015-03-31 15:20:02 +02:00
Kai Uwe Broulik 029f3e4732 Show kdeconnect devices under "Devices"
We probably need a more sophisticated heuristic for identifying devices in the places
panel but given we already did that for Bluetooth should do for the foreseeable future.

REVIEW: 123189
BUG: 337222
2015-03-31 12:30:36 +02:00
David Edmundson 4ed0b82b02 Merge branch 'davidedmundson/highdpi'
REVIEW: 123137
2015-03-30 13:39:17 +02:00
David Edmundson 1b6ee5d6cd review comments 2015-03-27 16:28:57 +01:00
David Edmundson 35c0972671 Make KPixmapModifier::applyFrame handle high DPI images 2015-03-26 16:06:52 +01:00
David Edmundson 00b00d2371 Paint icons at the correct size 2015-03-25 18:31:40 +01:00
David Edmundson ebd03cc205 squash me with a some other commit in kitemlistwidgetinformant 2015-03-25 18:31:40 +01:00
David Edmundson ff8c61dbca Copy device pixel ratio from original pixmap inside KPixmapModifier::scale 2015-03-25 18:31:40 +01:00
David Edmundson 1fac8a7bba Create drag pixmaps which match the device pixel ratio 2015-03-25 18:31:40 +01:00
David Edmundson 6a4d4463b8 Provide scaled pixmaps in the main file model 2015-03-25 18:31:39 +01:00
David Edmundson 172d41f9da Enable high DPI pixmaps in Dolphin 2015-03-25 18:31:39 +01:00
David Edmundson 78cb2cf14a Center align pixmaps in a high DPR friendly way 2015-03-25 12:31:49 +01:00
Emmanuel Pescosta fba5dd58a5 Save bookmarks when adding them via the context menu.
CCBUG: 345347
REVIEW: 123080
2015-03-21 17:39:20 +01:00
Yuri Chornoivan e63b1de286 Fix some EBN issues 2015-03-19 20:13:40 +02:00
l10n daemon script a7484d2ce5 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"
2015-03-15 09:54:53 +00:00
David Rosca 068c6e7320 Make obexftp places group under devices
REVIEW: 122935
2015-03-14 11:26:10 +01:00
l10n daemon script 5d115201af SVN_SILENT made messages (.desktop file) 2015-03-12 10:17:33 +00:00
l10n daemon script 1c32701d54 SVN_SILENT made messages (after extraction) 2015-03-12 08:49:38 +00:00
l10n daemon script 157df4b4a6 SVN_SILENT made messages (.desktop file) 2015-03-11 09:43:09 +00:00
l10n daemon script 5431aff4df SVN_SILENT made messages (.desktop file) 2015-03-10 13:14:42 +00:00
l10n daemon script 6b760e926d SVN_SILENT made messages (.desktop file) 2015-03-09 09:36:36 +00:00
Montel Laurent 22898cc955 Use new KDE_ macro 2015-03-08 18:57:23 +01:00
l10n daemon script 42e52a1eea SVN_SILENT made messages (.desktop file) 2015-03-08 09:41:37 +00:00
l10n daemon script 340bf76f2a SVN_SILENT made messages (after extraction) 2015-03-08 08:09:58 +00:00
Chusslove Illich (Часлав Илић) ad562d09c2 i18n: All visible text must be wrapped. 2015-03-07 12:01:42 +01:00
l10n daemon script 06bd36e225 SVN_SILENT made messages (.desktop file) 2015-03-07 10:01:52 +00:00
l10n daemon script 585e986617 SVN_SILENT made messages (after extraction) 2015-03-07 08:32:09 +00:00
l10n daemon script 51181dad2b SVN_SILENT made messages (.desktop file) 2015-03-06 04:32:04 +00:00
Hrvoje Senjan adeaab9745 Fix build in a kdelibs4-free enviroment
If one had kdelibs includes in /usr, they would get magically
picked up, so the build would succeed.
2015-02-27 20:17:59 +01:00
Emmanuel Pescosta 9aee5d2251 Merge branch 'frameworks' 2015-02-27 11:30:27 +01:00
l10n daemon script e2f37f3aeb SVN_SILENT made messages (after extraction) 2015-02-27 01:58:33 +00:00
Heiko Becker d452a56ce1 Use QT_GUILESS_MAIN
REVIEW: 122730
2015-02-26 19:54:52 +01:00
Emmanuel Pescosta 832e157ecd Port away from KDELibs4Support (we only use KDELibs4Support when baloo isn't present, because KFileMetaDataWidget is in KDELibs4Support)
Reviewed-By: Vishesh Handa
2015-02-26 18:10:42 +01:00
Emmanuel Pescosta 41424d0109 Next QUrl porting bug found: search include directories 2015-02-26 17:15:18 +01:00
Emmanuel Pescosta 6787467a7b Revert "Use the Baloo Query Builder widget to add syntax-highlighting in Dolphin search"
The natural query parser is too unstable for the release atm, we'll readd the
query parser when the code is mature enough.

This reverts commit e3578ee3b7.
2015-02-26 17:09:46 +01:00
Emmanuel Pescosta 7f4c3976c0 Merge branch 'master' into frameworks 2015-02-25 21:55:46 +01:00
Emmanuel Pescosta f923bda58b Merge branch 'Applications/14.12' 2015-02-25 21:53:21 +01:00
Emmanuel Pescosta 8a7d9b6d2c Bump the Qt version to 5.4 and the KF5 version to 5.7
Added all required components

Reviewed-By: David Edmundson
2015-02-25 21:46:49 +01:00
Emmanuel Pescosta 67ccf75ef2 readded missing isVersioned check in VersionControlObserver::actions() 2015-02-25 17:32:30 +01:00
Emmanuel Pescosta 25751088c3 Move the KVersionControlPlugin2 interface from konqlib to Dolphin and remove the deprecated KVersionControlPlugin interface from konqlib
REVIEW: 122687
2015-02-25 17:21:10 +01:00
Hrvoje Senjan f6b4f56216 Fix build on Jenkins (or with BUILD_TESTING=ON) 2015-02-24 17:07:55 +01:00
Emmanuel Pescosta b2ad2c076c Fix the build of kde-baseapps temporarily (categorized logging in DolphinPart) 2015-02-24 15:52:45 +01:00
Luca Beltrame f8d8256cbb Fix the build temporarily
The port of Dolphin to categorized logging created errors in one
specific point only, in main.cpp:

 undefined reference to `DolphinDebug()'

 I couldn't spot any obvious error, so for now I did it the bad way
 (warnings should not be commented out!) to keep it building while a
 real solution is found.

 CCMAIL: emmanuelpescosta099@gmail.com
2015-02-24 14:14:36 +01:00
Emmanuel Pescosta 169cca55b9 Replace kDebug/kWarning by categorized logging (org.kde.dolphin) 2015-02-24 13:07:35 +01:00
Emmanuel Pescosta 6d9f5b2131 Removed unused KGlobal includes and use KIO/Job instead of KIO/JobClasses 2015-02-24 12:51:24 +01:00
Emmanuel Pescosta b3a0c25314 include KFileItem instead of KFileItemList 2015-02-24 12:25:28 +01:00
Emmanuel Pescosta 092ddf7702 Port away from KLocale 2015-02-24 12:22:16 +01:00
l10n daemon script 688ce32e45 SVN_SILENT made messages (after extraction) 2015-02-21 06:26:31 +00:00
l10n daemon script 03cd86e478 SVN_SILENT made messages (after extraction) 2015-02-21 01:59:29 +00:00
Emmanuel Pescosta 13a4c5ed4c Fix a QDateTime porting bug (different format expressions) in KFileItemModel::dateRoleGroups
REVIEW: 122625
2015-02-20 14:16:27 +01:00
Emmanuel Pescosta 5bfc7cd36c Missed a saveBookmarks call in the PlacesItemModel's deconstructor (see commit 2a79feaea0088730bbf4fd4b65baa1c4a91b84b9) 2015-02-20 10:47:23 +01:00
Emmanuel Pescosta 8679115552 Merge branch 'master' into frameworks 2015-02-19 20:34:35 +01:00
Emmanuel Pescosta 1ef5434572 Merge branch 'Applications/14.12' 2015-02-19 20:15:49 +01:00
Emmanuel Pescosta a8f4f01eaa Increase the version number to 14.12.3 2015-02-19 20:09:47 +01:00
Emmanuel Pescosta f7c85b4225 Sync bookmark manager only if the change was done by the current process
Adoption of http://commits.kde.org/kdelibs/2b5c6e42fc8114c6854ce490b9cdd4356be683d9

FIXED-IN: 14.12.3
BUG: 343620
BUG: 310080
REVIEW: 122640
2015-02-19 20:05:55 +01:00
Emmanuel Pescosta 9221362cea QUrl porting bug: Added a missing QUrl::fromLocalFile in FoldersPanel::loadTree to make the FoldersPanel work again
REVIEW: 122631
BUG: 344204
FIXED-IN: 15.04
2015-02-19 12:08:07 +01:00
Andreas Sturmlechner 23e8995771 Make tests optional
REVIEW: 122212
2015-02-18 01:28:25 +01:00
Elias Probst 4a86644b95 Update desktop filename for filelight. 2015-02-11 11:48:23 +01:00
Arjun AK 2305e34cc3 Assume links passed via cmdline args are local files
If not, when the user types 'dolphin nonexistantfile' he will be
taken to 'http://nonexistantfile'

BUG: 343906
2015-02-10 11:21:53 +05:30
Arjun AK b86d0def39 Construct URLs passed via cmdline args using QUrl::fromUserInput()
Otherwise user will have to type "dolphin file:///tmp" instead of
"dolphin /tmp"

REVIEW: 122475
BUG: 343906
2015-02-09 18:15:37 +05:30
l10n daemon script 9f3ac5f941 SVN_SILENT made messages (after extraction) 2015-02-09 01:56:39 +00:00
Montel Laurent f67bdd0fb7 kdelibs4support-- 2015-02-06 13:21:27 +01:00
Montel Laurent 3dbee30c1a Clean up includes 2015-02-06 09:37:24 +01:00
Montel Laurent 159234944c Fix includes 2015-02-06 09:35:26 +01:00
Montel Laurent 85cc0e78c7 Migrate settings 2015-02-06 09:32:39 +01:00
Montel Laurent c61cfc9860 Fix includes 2015-02-06 09:22:34 +01:00
l10n daemon script 4cc444b8ba SVN_SILENT made messages (.desktop file) 2015-02-05 06:55:16 +00:00
l10n daemon script 021e23d734 SVN_SILENT made messages (.desktop file) 2015-02-05 03:50:56 +00:00
Hrvoje Senjan db0cc8d548 Try to fix the build 2015-02-04 12:56:29 +01:00
Emmanuel Pescosta 1b3ea64abb Add dolphin dbus service 2015-02-04 10:29:33 +01:00
Mathieu Tarral c725848709 Port Dolphin away from KApplication, KCmdLineArgs and K4AboutData 2015-02-04 10:22:03 +01:00
Emmanuel Pescosta b15ee4cf70 Port away from KGlobal::mainComponent() 2015-02-04 09:39:40 +01:00
Emmanuel Pescosta 900b523d2b Solved TODO: KWindowConfig::saveWindowSize/restoreWindowSize in DolphinSettingsDialog 2015-02-04 09:10:23 +01:00
Emmanuel Pescosta 50c0aa3b07 Port KonqCopyToMenu to KFileCopyToMenu 2015-02-04 08:56:17 +01:00
Emmanuel Pescosta 3515582495 Ported Dolphin from KDialog to QDialog and save/restoreDialogSize to KWindowConfig::save/restoreWindowSize with the help of the porting scripts.
REVIEW: 122305
2015-02-03 09:25:33 +01:00
Emmanuel Pescosta 122e1c6288 Port away from KGlobalSettings::completionMode()
REVIEW: 122347
2015-02-03 09:13:11 +01:00
Emmanuel Pescosta 5100c20c0d Port away from KGlobalSettings::singleClick() and use the mouse kcm module instead of implementing the single/double click settings on our one.
REVIEW: 122311
2015-02-01 16:16:13 +01:00
Emmanuel Pescosta fdb5c0d33e Port away from KGlobalSettings::naturalSorting() by moving it to Dolphin's GeneralSettings
REVIEW: 122310
2015-01-31 21:05:28 +01:00
Emmanuel Pescosta 6d0f2554cb Port KGlobalSettings::smallestReadableFont() to QFontDatabase::systemFont(QFontDatabase::SmallestReadableFont)
REVIEW: 122308
2015-01-30 09:04:11 +01:00
Emmanuel Pescosta 08252ffc69 Port away from KGlobalSettings::graphicEffectsLevel()
REVIEW: 122309
2015-01-30 09:02:08 +01:00
Emmanuel Pescosta f8187b982a Revert commit 0c6c76b038e868e225f7816fae39635d472bce0a and make the
QWeakPointer a QPointer (+comment) to make it clear, that we must track the lifetime of the context menu instead of doing "only" out of scope deleting.

Thanks to Frank for pointing out this problem!

CCMAIL: frank78ac@googlemail.com
2015-01-29 13:45:14 +01:00
Emmanuel Pescosta a06ee3399b Merge branch 'Applications/14.12' into frameworks
Conflicts:
	dolphin/src/main.cpp
	kdepasswd/kcm/kcm_useraccount.desktop
	konqueror/settings/ebrowsing/ebrowsing.desktop
	konqueror/settings/kio/cache.desktop
	konqueror/settings/kio/cookies.desktop
	konqueror/settings/kio/netpref.desktop
	konqueror/settings/kio/proxy.desktop
	konqueror/settings/kio/smb.desktop
	konqueror/settings/kio/uasproviders/firefox30oncurrent.desktop
	konqueror/settings/kio/uasproviders/ie90onwinnt71.desktop
	konqueror/settings/kio/useragent.desktop
	lib/konq/konq_operations.cpp
2015-01-28 17:13:59 +01:00
Emmanuel Pescosta 7745a93547 Make the QWeakPointer<DolphinContextMenu> a QScopedPointer<DolphinContextMenu> 2015-01-28 16:25:41 +01:00