Source

perl-XML-LibXML / dom.c

Author Commit Message Labels Comments Date
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: dom.c [fix] domGetNodeValue() handles now entity references and entity declarations correctly.
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs dom.c [fix] attribute handling with validating parser.
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: Changes + version information LibXML.pm LibXML.xs [fix] importNode(), adoptNode() bug fixed + setOwnerDocument() - stupid warnings dom.c [fix] domImportNode() shows correct DOM behaviour example/libxml.xml + documentation for adoptNode() o updated docs for setOwnerDocument() and importNode() t/04node.t + import and adoptation tests
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs perl-libxml-mm.h perl-libxml-mm.c dom.c dom.h moved all general functions and possibly shared functions into perl-libxml-mm.* . dom.* contains now only the really DOM specific functions.
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: dom.c [fix] HTML documents are now accessable via the XML::LibXML::Document interface
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
memory fix merge the mm_fix branch becomes obsolete Modified Files: Changes LibXML.pm LibXML.xs MANIFEST Makefile.PL dom.c dom.h perl-libxml-mm.c perl-libxml-mm.h typemap xpath.c example/article.xml example/article_bad.xml example/article_internal.xml example/article_internal_bad.xml example/bad.xml example/cb_example.pl example/dromeds.xml example/dtd.xml example/libxml.xml example/ns.xml example/test.xml example/test2.xml example/xml2pod.pl lib/X…
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs dom.c [fix] insertBefore and insertAfter with undefined $refNode
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: dom.c + fixes insertPI bug t/05dombasic.t + more PI tests
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
Modified Files: dom.c + fixes a libxml2 oddity, that occours with parsing of balanced chunks: nested nodes will contain a reference to an internal, but no longer existing document. the newly created internal function fixes the wrong pointer to the correct ones.
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: dom.c this is the correct commit, since i commited the wrong file :/ (check the last log message) for non conform encodings we still need some examples to test. but it should work :)
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: dom.c + added iconv encoding for non spec conform encodings in domEncodeString() and domDecodeString()
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
A bunch of functionality moved from LibXML.pm into the C-layer again. this time i did not change the interface though :) Modified Files: LibXML.pm - parser initialisation - parse_html functions (no use for an extra perl layer anymore) LibXML.xs + parser initialisation the current implementation is more straight, but still has to make use of global LibXML_*_cb variables for the private callbacks. this is ONLY because parse_xml_chunk is not implemented with a parser context, so we can't r…
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
More SAX fixes For decoding, if we get no encoder, copy input to output verbatim. Comment out some warnings
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.pm LibXML.xs dom.c + appendChild works now with document fragments without segfaulting + parse_xml_chunk parses a well balanced string and returns a document fragment. This function can be used to test the well balanceness of a string. Changes so we know that :)
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.pm LibXML.xs o cannot do appendChild, insertBefore or insertAfter of Elements to document nodes o fixed PI code for encoding + renamed setData to _setData in .xs + setData does PI interface + PI docu in phish english ;) dom.c (timestamp update) ;) t/05dombasic.t + PI tests and document tests
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: dom.c + PI class string
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: dom.c + domSetNodeValue does set the node value again (sorry, forgot to change variable names)
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs dom.c + FIX double entity encoding + FIX textnodes will not be merged on insert anymore (dom.c)
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Allow for XML::LibXML::Dtd nodes
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Fixed a small memory leak Added support for Namespace nodes
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()
ma...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
0.94 changes Some DOM Level 2 cleanups (when passed a NULL/blank nsURI) getParentNode returns a XML::LibXML::Document if we get the doc node
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…
  1. Prev
  2. 1
  3. 2
  4. Next