1. Shlomi Fish
  2. perl-XML-LibXML

Source

perl-XML-LibXML / dom.h

Author Commit Message Date Builds
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: Tag: mm_fix LibXML.pm LibXML.xs + _find + _findnodes both functions adopted to the new code. both function will now return elements that are set to mortal, so they will not leak anymore. also the node will be normalized *before* the xpath expression is executed dom.c dom.h brand new normalization function. just like xmlTextMerge() jsut keeps the second node ... :) + domNodeNormalize() + domNodeNormalizeList()
Branches
mm_fix
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: Tag: mm_fix branch with the fixed memory management This is an almost complete reimplementation of the module. the current implementation is closer to libxml2 than before. only the parts, where libxml2 may cause memory problems, the package uses a special implementation. LibXML.xs LibXML.pm - follows the new memory layer the interface is basicly restructured towards DOM Level3 conformity - implements namespaces correctly. - node import is fixed. - most memory problems are removed. - node destruction is simplified - ownerDocument works now correctly perl-libxml-mm.h perl-libxml-mm.c cleaned interface all proxy …
Branches
mm_fix
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: dom.c dom.h + new: domGetNodeValue() returns the nodeValue of a node if available.
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
ok, this is a mid release commit. i cleaned the code a lot. as a result the entire module should be more stable now and more easy to maintain. this version does not implement the memory management code, i still have in my mind. because everytime a node is retured a new scalar is created, this version leaks as hell (probably all earlier versions did as well). this will change with one of the next commits. one other thing left to do, is to make a switch for toString available, so a user may decide wether to recieve the string as UTF8 or as the DOM encoding. Modified Files: LibXML.xs + over all cleanup + recognize s…
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs now frees unused strings allocated by the module (thanks to Andrew Kreiling who sent me a patch for some of the leaks) dom.c dom.h + updated the interface
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
LibXML.pm + XML::LibXML::DocumentFragment isa Node + improved iterator function + changed version number to 0.95 LibXML.xs + fixed some more memory leaks + introduced XML::LibXML::DocumentFragment Class + new Node::getOwner function + better array handling + DOM L2 conform naming aliases + fixed some entity encoding + make unbound nodes to be part of Document fragments, so they can get destroyed + more proxy fixes and securety checks + setAttributeNode works now PHI…
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs LibXML.pm dom.h dom.c + document destruction memory leaks fixed (no segfaulting, no attenpts of freeing uninitialized scalars) + Element::getAttributes() added + Element::getAttributesNS(URI) added + Element::setAttributeNode() finished + dom.c/dom.h: domSetAttributeNode() added + some security fixes
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs LibXML.pm dom.c dom.h + garbage collection problems with documents fixed. + encoding bugs fixed (the DOM is definitly in UTF-8 now) + encodeToUTF8() + decodeFromUTF8()
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.pm LibXML.xs dom.c dom.h + extensive use of ProxyObjects (less segfaults) + Document is now a Node + Node::setName() (its not aware about namespaces, yet) + minor bugfixes example/libxml.xml + documentation updates t/06nodetypes.t + attrbibute tests
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs dom.c dom.h + segfault fix in importNode + namespace related fixes + getAttributeNodeNS + domName( node ) is aware about namespaces now example/libxml.xml + documentation updates
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.pm + iterator function LibXML.xs dom.c dom.h + fixed namespace functions (originally by steve tinney) + XML::LibXML::Attr + new + getValue + setValue + getOwnerElement + createAttribute in XML::LibXML::Document + encoding in domSetNodeValue (e.g. in text nodes) example/libxml.xml + some docu for namespaces and attribute nodes t/06nodetypes.t + attribute tests t/08findno…
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Merge changes with phish's and correct his 2 space tabs (grr! :-)
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs dom.c dom.h + setOwnerDocument does not unbind anymore + importNode (imports a node from a different document) + it is not possible anymore to create circular DOMs + XML::LibXML::Document::getEncoding and ~::getVersion + isEqual function for XML::LibXML::Node and XML::LibXML::Document, so two node/ documents can get tested if they are equal on C level. + cor…
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs dom.c dom.h + insertBefore + insertAfter o XML::LibXML::Document::DESTROY segfault error removed todo: proxy objects for Documents example/libxml.xml + documentation t/05dombasic.t + segfault tests Added Files: t/09append.t tests insertBefore and insertAfter
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Initial revision