[prev in list] [next in list] [prev in thread] [next in thread]
List: xerces-cvs
Subject: cvs commit: xml-xerces/c/src/dom Makefile.in
From: lehors () locus ! apache ! org
Date: 2000-04-27 16:19:39
[Download RAW message or body]
lehors 00/04/27 09:19:39
Modified: c/src/dom Makefile.in
Log:
global reorganization similar to what I've done in Java,
nodes now are much smaller.
The main changes are:
renamed NodeContainer to ParentNode,
introduced ChildNode and ChildAndParentNode,
all the boolean attributes have been changed to bit flags,
ownerDocument is no longer an attribute of NodeImpl, only Parent nodes have
it, leave nodes rely on their parent to get it, or get it from ownerNode when
they do not have a parent,
parent Nodes no longer have a direct pointer to the last child
instead the last child is stored as the previous sibling of
the first child.
I also added support for importing a DocumentType as it's done in Java,
and got the importNode mechanism back in sync with Java as well.
Here are the most significant changes in size:
ElementImpl 52 -> 48
TextImpl 44 -> 32
AttrImpl 52 -> 36
Revision Changes Path
1.11 +7 -2 xml-xerces/c/src/dom/Makefile.in
Index: Makefile.in
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/dom/Makefile.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Makefile.in 2000/04/06 02:21:21 1.10
+++ Makefile.in 2000/04/27 16:19:37 1.11
@@ -54,7 +54,7 @@
# <http://www.apache.org/>.
#
#
-# $Id: Makefile.in,v 1.10 2000/04/06 02:21:21 lehors Exp $
+# $Id: Makefile.in,v 1.11 2000/04/27 16:19:37 lehors Exp $
#
PLATFORM = @platform@
@@ -104,6 +104,8 @@
AttrNSImpl.hpp \
CDATASectionImpl.hpp \
CharacterDataImpl.hpp \
+ ChildAndParentNode.hpp \
+ ChildNode.hpp \
CommentImpl.hpp \
DStringPool.hpp \
DeepNodeListImpl.hpp \
@@ -119,12 +121,12 @@
MemDebug.hpp \
NameNodeFilter.hpp \
NamedNodeMapImpl.hpp \
- NodeContainer.hpp \
NodeImpl.hpp \
NodeIteratorImpl.hpp \
NodeListImpl.hpp \
NodeVector.hpp \
NotationImpl.hpp \
+ ParentNode.hpp \
ProcessingInstructionImpl.hpp \
RefCountedImpl.hpp \
TextImpl.hpp \
@@ -138,6 +140,8 @@
AttrNSImpl.$(TO) \
CDATASectionImpl.$(TO) \
CharacterDataImpl.$(TO) \
+ ChildAndParentNode.$(TO) \
+ ChildNode.$(TO) \
CommentImpl.$(TO) \
DOMString.$(TO) \
DOM_Attr.$(TO) \
@@ -179,6 +183,7 @@
NodeListImpl.$(TO) \
NodeVector.$(TO) \
NotationImpl.$(TO) \
+ ParentNode.$(TO) \
ProcessingInstructionImpl.$(TO) \
RefCountedImpl.$(TO) \
TextImpl.$(TO) \
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic