| View Changeset
/hippo
Jump to revision: Previous Next
Author: fvlankvelt
Date: Fri Dec 16 15:09:28 2011 UTC (8 years, 9 months ago)
Log Message:
CMS7-5688: support updates

Much improved patch generation & application.  Is able to diff & patch matched
trees with random matching (tested up to 1700 matches, using random trees of
3400 nodes).  The patcher now maintains a map of target paths to target items.

Same-name-siblings and node ordering are not yet supported, property updates are.

Inserts now only serialize the inserted content.  It's offspring can be moved
in from existing locations.

Changed paths

Path Details
Directoryhippo-components/jcrdiff/trunk/client/src/main/java/org/onehippo/cms7/jcrdiff/delta/Delete.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/client/src/main/java/org/onehippo/cms7/jcrdiff/delta/Insert.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/client/src/main/java/org/onehippo/cms7/jcrdiff/delta/Move.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/client/src/main/java/org/onehippo/cms7/jcrdiff/delta/Operation.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/client/src/main/java/org/onehippo/cms7/jcrdiff/delta/Patch.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/client/src/main/java/org/onehippo/cms7/jcrdiff/delta/PatchItem.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/client/src/main/java/org/onehippo/cms7/jcrdiff/delta/Update.java added
Directoryhippo-components/jcrdiff/trunk/client/src/main/java/org/onehippo/cms7/jcrdiff/match/PatchFactory.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/client/src/main/java/org/onehippo/cms7/jcrdiff/patch/Patcher.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/client/src/test/java/org/onehippo/cms7/jcrdiff/delta/PatchSerializationTest.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/client/src/test/java/org/onehippo/cms7/jcrdiff/match/PatchFactoryTest.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/client/src/test/java/org/onehippo/cms7/jcrdiff/patch/JcrPatcherTest.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/client/src/test/java/org/onehippo/cms7/jcrdiff/patch/PatcherTest.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/client/src/test/resources/log4j.dtd added
Directoryhippo-components/jcrdiff/trunk/client/src/test/resources/log4j.xml added
Directoryhippo-components/jcrdiff/trunk/core/src/main/java/org/onehippo/cms7/jcrdiff/content/ChildId.java
(Copied from hippo-components/jcrdiff/trunk/core/src/main/java/org/onehippo/cms7/jcrdiff/match/ChildId.java, r31842)
added , text changed
Directoryhippo-components/jcrdiff/trunk/core/src/main/java/org/onehippo/cms7/jcrdiff/content/Node.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/core/src/main/java/org/onehippo/cms7/jcrdiff/content/Property.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/core/src/main/java/org/onehippo/cms7/jcrdiff/content/TreeItem.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/core/src/main/java/org/onehippo/cms7/jcrdiff/content/TreeNode.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/core/src/main/java/org/onehippo/cms7/jcrdiff/content/jcr/JcrTreeItem.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/core/src/main/java/org/onehippo/cms7/jcrdiff/content/jcr/JcrTreeNode.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/core/src/main/java/org/onehippo/cms7/jcrdiff/content/jcr/JcrTreeProperty.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/core/src/main/java/org/onehippo/cms7/jcrdiff/content/mem/MemTreeItem.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/core/src/main/java/org/onehippo/cms7/jcrdiff/content/mem/MemTreeNode.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/core/src/main/java/org/onehippo/cms7/jcrdiff/content/mem/MemTreeProperty.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/core/src/main/java/org/onehippo/cms7/jcrdiff/match/ChildId.java deleted
Directoryhippo-components/jcrdiff/trunk/core/src/main/java/org/onehippo/cms7/jcrdiff/match/ItemInfo.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/core/src/main/java/org/onehippo/cms7/jcrdiff/match/MatcherItemInfo.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/core/src/main/java/org/onehippo/cms7/jcrdiff/transport/MatcherTreeNode.java modified , text changed
Directoryhippo-components/jcrdiff/trunk/core/src/main/java/org/onehippo/cms7/jcrdiff/transport/MatcherTreeProperty.java modified , text changed