1. Shlomi Fish
  2. perl-XML-LibXML

Source

perl-XML-LibXML / dom.c

Author Commit Message Date Builds
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: dom.c [fix] segfault while appending a entity reference to a document (reported by Petr Pajas)
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs perl-libxml-mm.c perl-libxml-sax.c dom.c code cleanings (mainly type casts) (no warnings with solaris 8 and cc (!= gcc))
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: Changes + version notes LibXML.xs [fix] multiple parse initialization perl-libxml-sax.c - memory leaking in my test environments now it leaks only with non default namespaces. this can be related to old versions of the other SAX packages i use (?) dom.c + corrected ns fixing on imports, so all tests will pass lib/XML/LibXML/SAX.pm + will not recreate a parser instance, if there alread…
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: dom.c + imports reconciliate namespaces, too.
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: dom.c [fix] made insertBefore() work as documented (reported by Petr Pajas) t/04node.t + insertBefore test with undefined reference node
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.pm updated catalog interface and docs LibXML.xs + extended XML::LibXML entity loader, so libxml2 catalog interface can be used if no external entity loader was declared. [fix] all croak() and warn() calls that call generic strings directly are changed to 'xxx("%s", string)' this reduces the risks of buffer overflows. + corrected catalog interface. dom.c added xmlReconciliateNs() calls again. …
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
the last commit on perl-libxml-mm was broken. the bug is fixed with this release. Modified Files: Changes + version notes LibXML.pm LibXML.xs - encode* decode* functions moved to XML::LibXML::Common - node type constants moved to XML::LibXML::Common + prepared error handling for global use dom.c + started error handling perl-libxml-mm.c perl-libxml-mm.h + performance updates for nodeC2Sv() and nodeSv2C() this requires a tiny extension of the Pro…
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: LibXML.xs o cloneNode() handles now namespaces dom.c o some extra xmlReconciliedNs() calls
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: dom.c dom.h LibXML.xs LibXML.pm + added libxml dom recovering for the XML parsers. prepared dom.c to recover chunks, too. Changes version notes
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: dom.c perl-libxml-mm.c + variable initialization perl-libxml-sax.c + makes all perl-scalars mortals now README added download information for windows PPMs
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: dom.c - annoying warning
ph...@9ae0c189-cd1f-4510-a509-f4891f5cf20d
Modified Files: dom.c [fix] appendChild will now work correctly with empty nodes
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
  1. Prev
  2. 1
  3. 2
  4. Next