Skip to content

Commit bb86ecd

Browse files
committed
updated notes
1 parent 7a2e244 commit bb86ecd

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

Implementation Notes.odt

-1.17 KB
Binary file not shown.

src/org/argmap/client/ArgMap.java

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,20 @@
2121
import com.google.gwt.user.client.ui.TabLayoutPanel;
2222
import com.google.gwt.user.client.ui.Widget;
2323

24+
/*TODO: client throws an exception when removing a link and re-adding it (at least if you make a single change to the link in the interim
25+
* I haven't tested other scenarios yet)
26+
*/
27+
/*TODO: what happens in ModeVersions if I first link to a node as negated, then delete it, then link to it as non-negated and delete that
28+
* (or vice-versa)? Nodes are stores by ID in the deletedNodes list. Since its stored in a hashmap, storing the same deleted node twice will
29+
* result in only one copy. Will that work for storing the history? One thing I want to work out below is only storing the history for a
30+
* link that is relevant to the time that it exists in the tree so there aren't a lot of extra changes in the change list. Will having
31+
* only one copy complicate that? If so maybe I could save in a list or a hashmap keyed on date instead of ID (or ID and date, or something)...
32+
*
33+
* Regardless, as far as negation is concerned, if there is only one copy, I can't depend on it to have the right negated value when
34+
* it is re-added to the tree for the first time.
35+
*/
2436
//TODO: test opening negated links in versions mode (probably won't work!!!)
25-
//TODO: fix versions mode formating
37+
//TODO: fix versions mode formating of links
2638
//TODO: versioning root node with no modifications/adds throws exception because of empty change list
2739
//TODO: do some basic testing of versioning of deleted top level nodes
2840
/*TODO: fix exceptions when opening circular links in versions mode and continue testings version mode's handling of circular linking*/

src/org/argmap/client/ModeVersions.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,7 @@ public void mergeLoadedNodes(ViewNodeVer viewNodeVer,
690690
dummyIDs.add(child.getNodeID());
691691
child.remove();
692692
}
693+
693694
/* for each dummy create a real and append it to the node */
694695
for (Long id : dummyIDs) {
695696
NodeWithChanges nodeWithChanges = nodesWithChanges.get(id);

war/WEB-INF/appengine-generated/datastore-indexes-auto.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
<!-- Indices written at Wed, 15 Dec 2010 17:39:37 EST -->
1+
<!-- Indices written at Thu, 16 Dec 2010 10:48:25 EST -->
22

33
<datastore-indexes>
44

5-
<!-- Used 11 times in query history -->
5+
<!-- Used 14 times in query history -->
66
<datastore-index kind="Proposition" ancestor="false" source="auto">
77
<property name="root" direction="asc"/>
88
<property name="created" direction="desc"/>

0 commit comments

Comments
 (0)