lp:~carlos-mazieri/ubuntu-filemanager-app/app-devel-pre4

Created by Carlos Jose Mazieri and last modified
Get this branch:
bzr branch lp:~carlos-mazieri/ubuntu-filemanager-app/app-devel-pre4
Only Carlos Jose Mazieri can upload to this branch. If you are Carlos Jose Mazieri please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Carlos Jose Mazieri
Project:
Ubuntu File Manager App
Status:
Merged

Recent revisions

175. By Carlos Jose Mazieri

removed row no necessary const_cast<Location*>

174. By Carlos Jose Mazieri

* changed destructor to virtual from classes Location() and DiskLocation
* changed Location::setFromInfoItem(const DirItemInfo *itemInfo) to:
          Location::setInfoItem(DireItemInfo *itemInfo)
* changed const Location * LocationsFactory::setNewPath(const QString& uPath) to
                Location * LocationsFactory::setNewPath(const QString& uPath)
* changed const Location * LocationsFactory::parse(const QString& urlPath) to
                Location * LocationsFactory::parse(const QString& urlPath)
* changed const Location * LocationsFactory::location() const to
                Location * LocationsFactory::location() const

173. By Carlos Jose Mazieri

Fixed using m_info when it can be null.

172. By Carlos Jose Mazieri

Introduces Location, it basicaly handles Urls and their internal paths.

IORequest/DirListWorker and ExternalFSWatcher calls/handling were moved from DirModel class to DiskLocation class.

Location provides:
         current path/url -> Location::urlPath()
         its content -> Location::fetchItems()
         navigation -> up=Location::becomeParent() into sub-folders=Location::setFromInfoItem()
         notification about external changes in its current path.

Changed navigation in the file manager:
  DirModel::setPath() now calls LocationsFactory::setNewPath() which can change the location or set a path in the current location.
  DirModel::cdUp()
  DirModel::cdIntoIndex()
  DirModel::openPath()

171. By Carlos Jose Mazieri

Disk loading classes modified to allow reusing code for Trash:

* introduced class IORequestLoader
* add ExternalFileSystemChangesWorker::compareItems()
* comparing moved from ExternalFileSystemChangesWorker::run() to ExternalFileSystemChangesWorker::compareItems()

170. By Carlos Jose Mazieri

class ExternalFSWatcher changed to allow watching more than a path.
reason: It is intended to watch external changes in the Trash and Trash can be compounded for more than one path.

169. By Carlos Jose Mazieri

structure DirItemPrivate moved from diriteminfo.cpp do diriteminfo.h
added DirItemInfo::isContentReadable() to extend DirItemInfo::isReadable(),
DirModel::data() still uses DirItemInfo::isReadable(), DirModel::cdIntoIndex() uses DirItemInfo::isContentReadable()
## test mode only
DirModel::columnCount() moved from dirmodel.h to dirmodel.cpp
added DirModel::getExternalFSWatcher()

168. By Arash Badie Modiri

Trivial fix to make a string properly translatable.

Approved by Ubuntu Phone Apps Jenkins Bot, Alan Pope ㋛.

167. By Victor Thompson

Install icons directory. Fixes: https://bugs.launchpad.net/bugs/1312879.

Approved by David Planella, Ubuntu Phone Apps Jenkins Bot.

166. By David Planella

Fixed desktop run, renamed installation paths to just filemanager. Fixes: https://bugs.launchpad.net/bugs/1312712.

Approved by Ubuntu Phone Apps Jenkins Bot, Nicholas Skaggs, Alan Pope ㋛.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu-filemanager-app
This branch contains Public information 
Everyone can see this information.