Commit graph

5033 commits

Author SHA1 Message Date
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
Emmanuel Pescosta ee879cf353 use addActions instead of doing addAction in a loop 2015-01-28 15:25:09 +01:00
Emmanuel Pescosta 297a67aad8 forward requestItemInfo signal 2015-01-28 15:10:28 +01:00
Emmanuel Pescosta 7a7e8ee819 undo should be disabled by default 2015-01-28 15:04:32 +01:00
Emmanuel Pescosta 7e03c99ebb use DolphinMainWindow::showErrorMessage instead of DolphinMainWindow::slotPanelErrorMessage because the implementation is exactly the same 2015-01-28 14:54:47 +01:00
l10n daemon script 6363e7f32a SVN_SILENT made messages (.desktop file) 2015-01-25 04:11:13 +00:00
Emmanuel Pescosta 9cdbd1eb09 Removed old (<= 4.6) settings upgrading code (jpegrotatedthumbnail to jpegthumbnail) from PreviewsSettingsPage 2015-01-24 23:11:02 +01:00
Emmanuel Pescosta 617e1b378b Port ConfigurePreviewPluginDialog away from KLibrary, KIO::NetAccess::del and ThumbCreatorV2 2015-01-24 23:07:30 +01:00
l10n daemon script cf6bb7bdb8 SVN_SILENT made messages (.desktop file) 2015-01-24 07:14:40 +00:00
l10n daemon script fd32a674d3 SVN_SILENT made messages (.desktop file) 2015-01-23 04:19:27 +00:00