CVS commit by mornfall: - biggish refactoring of Tree stuff: add a new layer of indirection between the TreeNode and cache: CElem; more about this in the TODO - reduces code redundancy significantly, allows for united TreeNode - use visitors to avoid downcasting (downcast functions provided for convenience tho); maybe groupers should switch to visitor ;) - half the stuff is half-broken now; will fix later today (after i get up, that is ;p)
A libcapture/celem.cpp 1.1 [LGPL (v2+)] A libcapture/celem.h 1.1 [LGPL (v2+)] A tests/libcapture/celem-test.cpp 1.1 [no copyright] M +43 -18 TODO 1.29 M +6 -0 debian/changelog 1.6 M +5 -5 kapture/kapture.cpp 1.19 M +3 -5 libcapture/Makefile.am 1.15 M +30 -29 libcapture/depgroupers.cpp 1.12 M +27 -29 libcapture/filters.cpp 1.15 M +15 -14 libcapture/grouper.cpp 1.23 M +2 -0 libcapture/pkggroup.cpp 1.9 M +2 -0 libcapture/pkggroup.h 1.9 M +2 -1 libcapture/tree.cpp 1.18 M +1 -3 libcapture/treebranchnode.cpp 1.9 M +0 -1 libcapture/treebranchnode.h 1.9 M +1 -3 libcapture/treedepnode.cpp 1.4 M +0 -1 libcapture/treedepnode.h 1.4 M +4 -13 libcapture/treefactory.h 1.5 M +0 -1 libcapture/treegroupnode.h 1.5 M +2 -2 libcapture/treenode.cpp 1.7 M +9 -22 libcapture/treenode.h 1.9 M +1 -3 libcapture/treepkgnode.cpp 1.4 M +0 -1 libcapture/treepkgnode.h 1.7 M +1 -3 libcapture/treevernode.cpp 1.3 M +0 -1 libcapture/treevernode.h 1.3 M +3 -3 libcapture/treevisitor.h 1.2 M +35 -47 libkapture/listtreewidget.cpp 1.20 M +13 -5 libkapture/listtreewidget.h 1.12 M +2 -1 libkapture/pkgnodeview.cpp 1.24 M +1 -1 tests/libcapture/Makefile.am 1.3 M +4 -4 tests/libcapture/tree-test.cpp 1.4