lp:~carlos-mazieri/ubuntu-filemanager-app/model

Created by Carlos Jose Mazieri and last modified
Get this branch:
bzr branch lp:~carlos-mazieri/ubuntu-filemanager-app/model
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:
Development

Recent revisions

66. By Carlos Jose Mazieri

remade C++ UI

65. By Carlos Jose Mazieri

added moveToTrash, removeFromTrash, restoreFromTrash and emptyTrash facilities.
Test View remade to use selection.

64. By Carlos Jose Mazieri

Preparation for Move/Restore to/from Trash and Undo Actions:
 * Some information from Action data structure were moved into ActionEntry data structure.
 * Actions used to have "targetPath" saying all items (ActionEntry items) were copied/moved into a unique path.
   Now having ActionEntry more indenpendent allows to move/copy items to different paths inside an Action.
   This is required for Restore items from Trash.

63. By Carlos Jose Mazieri

Redesign:
    * Created Location class which represents a URL supported in the File Manager
      - DiskLocation represents any url/path like file:/// or normal /
      - TrashLocation represents any url/path like trash:///
      - There will be a SmbLocation for samba/cifs network sharing
    * Browsing items (IOReuest/IOWorkerThread) moved into the Location
    * External File system watcher handling was moved into DiskLocation class
    * Navigation into child folders and up to parent folder were delegated to the Location
    * Created LocationsFactory class which keeps the supported Locations, it provides a URL
      parser that sets the current Location.
Trash:
    * implemented browsing: missing carry orignal item properties
    * implemented a specific External File system watcher for trash
    * missing Move/Restore to/from Trash (NOT YET IMPLEMENTED)

OBS:
     * due to current File Manager UI typing method both: "file:" and "trash:" are supported.

62. By Carlos Jose Mazieri

DirSelection class:
  Added DirSelection::selectRange()
  Added DirSelection::select()
  //as we do NOT want to select names, just indexes
  Removed DirSelection::set()
  Removed DirSelection::toggle()

61. By Carlos Jose Mazieri

removed xdgHomeTrash() and localHomeTrash()
homeTrash() now uses QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) which works for $XDG_DATA_HOME

60. By Carlos Jose Mazieri

improved QTrashDir::localHomeTrash()

59. By Carlos Jose Mazieri

changed QTrashDir::localHomeTrash()() to use QStandardPaths::GenericDataLocation
improved TestDirModel::trashDiretories()

58. By Carlos Jose Mazieri

Implemented creation/identification of Trash Dir areas following freedesktop.org

57. By Carlos Jose Mazieri

removed most of Qt4 code between QT_VERSION macros
changed IsSelecteRole role to IsSelectedRole
enclosed QBrush and QColor includes in macro REGRESSION_TEST_FOLDERLISTMODEL

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.