monotone-commits-nodiffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-nodiffs] Revision 43717275e29d3dc31f4ac7c3be8eba90946d


From: monotone
Subject: [Monotone-commits-nodiffs] Revision 43717275e29d3dc31f4ac7c3be8eba90946d414b
Date: Sat, 12 Jan 2008 15:06:19 +0100

-----------------------------------------------------------------
Revision: 43717275e29d3dc31f4ac7c3be8eba90946d414b
Ancestor: caa82dc0633c59f75c0c012defca154741dc9bb9
Author: address@hidden
Date: 2008-01-06T01:42:25
Branch: net.venge.monotone.guitone

Modified files:
        src/model/Inventory.cpp src/model/Inventory.h
        src/model/InventoryItem.cpp src/model/InventoryItem.h
        src/view/InventoryView.cpp src/view/InventoryView.h
        src/view/WorkspaceWindow.cpp

ChangeLog: 

* load on request seems to work, however I still have to fight the 
flickering when clicking on new, not yet read items. Lets see if Qt
can guide me how that can be resolved easier.
* PseudoItem::Root is gone, replaced by isRoot() member in ModelItem
* Inventory.h/cpp: signal modelCreated() is gone, we can need modelReset()
for this equally well which is fired internally after reset(); removed
debug noteRowsInserted() and noteRowsRemoved() slots; added two new
methods fetchMore() and refresh() which both call readInventory() which
is private now - the code to check for a valid item to query was moved
from WorkspaceWindow.cpp to fetchMore(); the pseudo item is attached to
a directory node just before this one gets its first child, rather than
directly after its original creation, since we don't know at this case if
the node will have children at all at this point and its far more logical
this way; major bugfix in indexFromItem (forgot to set the recursive return
value of indexFromItem); major bugfix in removeRowsRecursive as well - 
we're deleting items up to a specific count, rather than their placement
in the children vector of their parent, since this is about to change for
every previous deletion!
* InventoryItem.h/cpp: removed isExpanded() and setExpanded() from
ModelItem, wrote a new InventoryItem::isExpaned() method which queries its
return value not from a simple boolean but the actual contents of its
children vector; new ModelItem::isRoot() member; removed PseudoItem::Root
specific code
* InventoryView.h/cpp: merge delegateModelReset() and modelReset() into
resetViewAfterModelReset() (the former was just calling the latter
exclusively anyways); call new Inventory class handlers


monotone --db={your.database} diff 
--revision=caa82dc0633c59f75c0c012defca154741dc9bb9 
--revision=43717275e29d3dc31f4ac7c3be8eba90946d414b
----------------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]