┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2012-05-28Implement dropping of items into the Places PanelPeter Penz
Some polishing regarding the icons and group-alignment must still be done, but at least the basic functionality is back again.
2012-05-26Fix triggering of Q_ASSERT in PlacesItemModelPeter Penz
Check the group-type of an item to decide whether the item should be inserted as device or not. BUG: 300671 FIXED-IN: 4.9.0
2012-05-26Make tooltip background blurred.Mark Gaiser
REVIEW: 105061
2012-05-26Show all items in the directory when the name filter is clearedFrank Reininghaus
The problem was the following: While a QMutableSetIterator iterates the items in the QSet m_filteredItems, all items that match the new filter are removed from the set. However, to ensure that the iterator still reaches all items in the set, one must not use QSet::remove(), but rather the iterator's remove() method (see QMutableSetIterator docs). CCBUG: 300504 (cherry picked from commit 288473a96cdd8888f7fc91d0a551d6cbde5fd5dc)
2012-05-26Use an italic font for symbolic linksFrank Reininghaus
BUG: 298218 FIXED-IN: 4.9.0
2012-05-26Minor coding style fixesPeter Penz
2012-05-26Further preperations for drag & drop support in the places panelPeter Penz
2012-05-24Removed unused list iteratorsDawit Alemayehu
2012-05-25Use KService to lookup the library name of konsolepartJekyll Wu
See https://git.reviewboard.kde.org/r/105028/
2012-05-21Enable the "Empty Trash" action if items are deleted by non-KDE appsFrank Reininghaus
To achieve this, the Places Panel context menu now checks the icon of the "Trash" item (which is updated by a dir lister that watches the state of the trash), rather then reading a config file which is only used by KDE applications. BUG: 293651 FIXED-IN: 4.9.0
2012-05-21Colorize icons when an item is selectedPeter Penz
BUG: 295515 FIXED-IN: 4.9.0
2012-05-21Places Panel: Show drop indicatorPeter Penz
The dropping itself has not been implemented yet.
2012-05-19Use flat control-buttonsPeter Penz
2012-05-19Show video previews according to file content instead of the mimetype-stringPeter Penz
Show a video widget depending on the video content instead of the mimetype string: There are container formats which can be either audios or videos. Besides, the rmvb video files have a mimetype of "application/vnd.rn-realmedia", and these files can be recognized as videos correctly now. The patch has been provided by Hui Ni. REVIEW: 104988 FIXED-IN: 4.9
2012-05-18Enable basic drag and drop support for the Places PanelPeter Penz
The dropping has not been implemented yet, however in the context of this step the creating of the drag-pixmap is now forwarded to the item-widgets. This allows creating some optimized dragging-pixmaps e.g. for the details-view, where only the name and icon should be provided as drag-pixmap.
2012-05-18Don't create a .directory-file for each directoryPeter Penz
This regression has been introduced on master and has not been released yet: Due to the changed properties-format an update has been done which resulted in writing a .directory file into each newly entered directory. The patch updates the view-properties and version only in the constructor so that it is assured that reading properties never accidently will change the internal version. A unit-test has been added to catch regressions like this in future. BUG: 300240 FIXED-IN: 4.9.0
2012-05-17Fix index-range issuePeter Penz
2012-05-17Create unit-test for KStandardItemModelPeter Penz
2012-05-17KStandardItemModel: Fix inconsistent internal statePeter Penz
Assure that the index-cache is kept consistent with the items when a removing or inserting is done. A unit-test will be created as soon as possible.
2012-05-17Add unit-test to test a possible crash when updating group-headersPeter Penz
2012-05-17Fix crash related to group-headersPeter Penz
If multiple ranges are inserted or removed, the updating of the group-headers may only be done after _all_ ranges have been inserted/removed and not after each individual range. Otherwise the layouter-cache is not in a consistent state yet.
2012-05-16Shorten the "path" content if possiblePeter Penz
Replace the home-path by '~' for having a shorter content.
2012-05-16Fix default sort-rolePeter Penz
The default sort-role property internally has been renamed from "name" to "text" to be open for more generic usecases like in the KStandardItemModel.
2012-05-16Provide default view properties for system-placesPeter Penz
For the "Recently Accessed"-places and "Search For"-places like documents, images, audio-files and videos proper default properties are created now (e.g. previews and images-sizes are shown when searching for "images" etc).
2012-05-16Update trash-icon dependent on whether the thrash is empty or notPeter Penz
The class PlacesItemStorageAccessListener has been renamed to PlacesItemSignalHandler and represents a generic signal handler for the PlacesItem.
2012-05-16Fix possible crash when hiding itemsPeter Penz
2012-05-16Implement bookmark synchronizationPeter Penz
Whenever the bookmarks are changed by another application, the state must be synchronized within the model.
2012-05-14Let the places-item determine the group itselfPeter Penz
Related improvements: When loading the bookmarks assure in any case that items having the same group are inserted as one single group.
2012-05-14Fix several bookmark synchronization issuesPeter Penz
2012-05-14Translation improvementsPeter Penz
Thanks to Frederik Schwarzer for the suggestions!
2012-05-14PlacesItemModel: Automatically save bookmarksPeter Penz
Prevent that a manual call to save changed bookmarks is necessary.
2012-05-13PlacesItemModel: Remove setItemHidden and isItemHiddenPeter Penz
This should be handled automatically when the hidden-state of the item itself gets toggled.
2012-05-13Places Panel: Prepare code to save state of bookmarksPeter Penz
The saving is still disabled currently until 100 % backward compatibility with KFilePlacesView has been reached.
2012-05-12Remove obsolete signal/slot connectionPeter Penz
2012-05-12Fix faulty signal/slot connectionPeter Penz
2012-05-11Places Panel: Implement eject and teardown actionsPeter Penz
Further fixes: - Add/remove item when device has been added/removed - Update emblem if the accessibility-state has been changed
2012-05-11Allow moving items to trash also for non-local filesPeter Penz
See bug 188032 for an ongoing discussion. In case if this behavior is really not wanted by users (the feedback on bugs.kde.org will show), the review-request https://git.reviewboard.kde.org/r/104915/ should be merged too (after adjusting some parts of the code).
2012-05-10Allow to remember view-properties for the search-modePeter Penz
Per default Dolphin remembers the view-properties for each search-URL individually. However when being in the search-mode, where the search-URL is different each time by definition, it should also be possible for the user to adjust the view-properties. The DolphinView is not aware about any "search-mode", so an interface has been added to provide a "context" for storing the view-properties. The context will be adjusted by the DolphinViewContainer in case if the search-mode is active.
2012-05-10Reimplement search-filtersPeter Penz
BUG: 270721 BUG: 280377 FIXED-IN: 4.9.0
2012-05-10SVN_SILENT made messages (.desktop file)Script Kiddy
2012-05-09Assure backward compatibility for the sort-rolePeter Penz
Dolphin 2.1 uses "text" instead of "name" as default-role. Provide backward compatibility with older .directory files and assure that they get updated.
2012-05-09Let the group-headers respect the item-offsetPeter Penz
2012-05-09Create items for devices that have not been added as bookmarks yetPeter Penz
2012-05-08Remove unimplemented declarationPeter Penz
2012-05-07Places Panel: Add missing translation stringsPeter Penz
Provide a temporary dummy-implementation with the missing translation strings, so that the translation-string-freeze gets respected.
2012-05-06Remove workaround to start/stop the resource watcherPeter Penz
Using the latest resource-watcher from kde-runtime does not make this workaround necessary anymore.
2012-05-06Remove kde-runtime dependency "nepomukdatamanagement"Peter Penz
Follow the suggestion from Vishesh Handa and copy the ResourceWatcher code from kde-runtime instead of creating a dependency. This will of course get removed again as soon as Nepomuk's resource watcher will get a public API.
2012-05-06Show "duration" in the format hh::mm::ssPeter Penz
2012-05-06Fix sorting issues for Nepomuk-rolesPeter Penz
Just use a string-comparison as default-compare.
2012-05-06Fix issue that no Nepomuk-data is shown when searchingPeter Penz