include/libxml/tree.h


Log

Author Commit Date CI Message
Kasimier T. Buchcik 978039bb 2006-06-16T19:46:26 Fixed a bug in xmlDOMWrapAdoptNode(); the tree traversal stopped if the * tree.c include/libxml/tree.h: Fixed a bug in xmlDOMWrapAdoptNode(); the tree traversal stopped if the very first given node had an attribute node :-( This was due to a missed check in the traversal mechanism. Expanded the xmlDOMWrapCtxt: it now holds the namespace map used in xmlDOMWrapAdoptNode() and xmlDOMWrapCloneNode() for reusal; so the map-items don't need to be created for every cloning/adoption. Added a callback function to it for retrieval of xmlNsPtr to be set on node->ns; this is needed for my custom handling of ns-references in my DOM wrapper. Substituted code which created the XML namespace decl on the doc for a call to xmlTreeEnsureXMLDecl(). Removed those nastly "warnigns" from the docs of the clone/adopt functions; they work fine on my side.
Daniel Veillard b2f8f1de 2006-04-28T16:30:48 preparing 2.6.24 release, fixed Python paths at the last moment fix some * NEWS configure.in doc//*: preparing 2.6.24 release, fixed Python paths at the last moment * relaxng.c testapi.c tree.c: fix some comments Daniel
Kasimier T. Buchcik a81d9199 2006-02-03T16:37:44 Added the xmlDOMWrapCloneNode() to the header file. * include/libxml/tree.h: Added the xmlDOMWrapCloneNode() to the header file.
Daniel Veillard 465a000b 2005-08-22T12:07:04 fixed an uninitialized variable extended the API to add the parser, * valid.c: fixed an uninitialized variable * xmlregexp.c include/libxml/xmlregexp.h: extended the API to add the parser, serializer and some debugging * include/libxml/xmlversion.h.in: made the new support compiled by default if Schemas is included * testRegexp.c: cleanup and integration of the first part of the new code with a special switch * xmllint.c: show up Expr in --version if compiled in * include/libxml/tree.h: moved the xmlBuffer definition up Daniel
Daniel Veillard 1f33c4d6 2005-07-10T21:38:31 preparing to make testsuite releases along with code source releases fixed * xstc/Makefile.am README README.tests Makefile.tests Makefile.am: preparing to make testsuite releases along with code source releases * gentest.py testapi.c: fixed a couple of problem introduced by the new Schemas support for Readers * xpath.c: fixed the XPath attribute:: bug #309580, #309864 in a crude but simple way. * xmlschemas.c include/libxml/tree.h: fixed a couple of problems raised by the doc builder. * doc/*: made rebuild Daniel
Kasimier T. Buchcik 4d9c948f 2005-06-27T15:04:46 Added allocation/deallocation functions for the DOM-wrapper context. * tree.c include/libxml/tree.h: Added allocation/deallocation functions for the DOM-wrapper context.
Kasimier T. Buchcik bc0e3c6b 2005-06-27T10:28:23 Added xmlDOMWrapReconcileNamespaces(), xmlDOMWrapAdoptNode() and * tree.c include/libxml/tree.h: Added xmlDOMWrapReconcileNamespaces(), xmlDOMWrapAdoptNode() and xmlDOMWrapRemoveNode() to the API. These are functions intended to be used with DOM-wrappers.
William M. Brack 21e4ef20 2005-01-02T09:53:13 Re-examined the problems of configuring a "minimal" library. Synchronized the header files with the library code in order to assure that all the various conditionals (LIBXML_xxxx_ENABLED) were the same in both. Modified the API database content to more accurately reflect the conditionals. Enhanced the generation of that database. Although there was no substantial change to any of the library code's logic, a large number of files were modified to achieve the above, and the configuration script was enhanced to do some automatic enabling of features (e.g. --with-xinclude forces --with-xpath). Additionally, all the format errors discovered by apibuild.py were corrected. * configure.in: enhanced cross-checking of options * doc/apibuild.py, doc/elfgcchack.xsl, doc/libxml2-refs.xml, doc/libxml2-api.xml, gentest.py: changed the usage of the <cond> element in module descriptions * elfgcchack.h, testapi.c: regenerated with proper conditionals * HTMLparser.c, SAX.c, globals.c, tree.c, xmlschemas.c, xpath.c, testSAX.c: cleaned up conditionals * include/libxml/[SAX.h, SAX2.h, debugXML.h, encoding.h, entities.h, hash.h, parser.h, parserInternals.h, schemasInternals.h, tree.h, valid.h, xlink.h, xmlIO.h, xmlautomata.h, xmlreader.h, xpath.h]: synchronized the conditionals with the corresponding module code * doc/examples/tree2.c, doc/examples/xpath1.c, doc/examples/xpath2.c: added additional conditions required for compilation * doc/*.html, doc/html/*.html: rebuilt the docs
Daniel Veillard 03a53c34 2004-10-26T16:06:51 added checking for names values and dictionnaries generates a tons of * debugXML.c include/libxml/xmlerror.h: added checking for names values and dictionnaries generates a tons of errors * SAX2.ccatalog.c parser.c relaxng.c tree.c xinclude.c xmlwriter.c include/libxml/tree.h: fixing the errors in the regression tests Daniel
William M. Brack a3215c7a 2004-07-31T16:24:01 many further little changes for OOM problems. Now seems to be getting * SAX2.c, encoding.c, error.c, parser.c, tree.c, uri.c, xmlIO.c, xmlreader.c, include/libxml/tree.h: many further little changes for OOM problems. Now seems to be getting closer to "ok". * testOOM.c: added code to intercept more errors, found more problems with library. Changed method of flagging / counting errors intercepted.
Daniel Veillard 67f8b1cd 2004-04-09T21:51:49 adding xml:id draft support adding 4 first regression tests Daniel * SAX2.c include/libxml/tree.h: adding xml:id draft support * Makefile.am test/xmlid/id_tst* result/xmlid/id_tst*: adding 4 first regression tests Daniel
William M. Brack a9c612c3 2004-02-01T10:04:05 moved serialization of attribute text data (xmlSerializeContent) into a * tree.c, include/libxml/tree.h: moved serialization of attribute text data (xmlSerializeContent) into a separate routine (xmlSerializeTxtContent) so it can be used by xmlwriter.c * xmlwriter.c: changed handling of attribute string to use the routine above (fixed bug 131548)
William M. Brack a2e844a3 2004-01-06T11:52:13 moved string and UTF8 routines out of parser.c and encoding.c into a new * encoding.c, parser.c, xmlstring.c, Makefile.am, include/libxml/Makefile.am, include/libxml/catalog.c, include/libxml/chvalid.h, include/libxml/encoding.h, include/libxml/parser.h, include/libxml/relaxng.h, include/libxml/tree.h, include/libxml/xmlwriter.h, include/libxml/xmlstring.h: moved string and UTF8 routines out of parser.c and encoding.c into a new module xmlstring.c with include file include/libxml/xmlstring.h mostly using patches from Reid Spencer. Since xmlChar now defined in xmlstring.h, several include files needed to have a #include added for safety. * doc/apibuild.py: added some additional sorting for various references displayed in the APIxxx.html files. Rebuilt the docs, and also added new file for xmlstring module. * configure.in: small addition to help my testing; no effect on normal usage. * doc/search.php: added $_GET[query] so that persistent globals can be disabled (for recent versions of PHP)
MST 2003 John Fleck a0e7e934 2003-12-19T03:13:47 tree.c fix misc. typos in doc comments include/libxml/tree.h elaborate on Thu Dec 18 20:10:34 MST 2003 John Fleck <jfleck@inkstain.net> * tree.c fix misc. typos in doc comments * include/libxml/tree.h elaborate on macro define doc
Daniel Veillard c76440fc 2003-11-26T20:39:47 stefan on IRC pointed out that XML_GET_LINE is broken on 2.6.x Daniel * include/libxml/tree.h: stefan on IRC pointed out that XML_GET_LINE is broken on 2.6.x Daniel
Daniel Veillard be586972 2003-11-18T20:56:51 modified the file header to add more informations, painful... updated to * include/libxml/*.h include/libxml/*.h.in: modified the file header to add more informations, painful... * genChRanges.py genUnicode.py: updated to generate said changes in headers * doc/apibuild.py: extract headers, add them to libxml2-api.xml * *.html *.xsl *.xml: updated the stylesheets to flag geprecated APIs modules. Updated the stylesheets, some cleanups, regenerated * doc/html/*.html: regenerated added back book1 and libxml-lib.html Daniel
Daniel Veillard 8d7b5c7e 2003-11-15T18:24:36 fixed some wording make sure doc/examples is packaged fixed the really * Copyright: fixed some wording * libxml.spec.in: make sure doc/examples is packaged * include/libxml/tree.h valid.c xmlreader.c: fixed the really annoying problem about xmlRemoveID and xmlReader streaming. Thing looks fixed now, add to add a doc reference to the xmlID structure though... Daniel
Daniel Veillard 1d211e22 2003-10-20T22:32:39 added the xmlWriter module contributed by Alfred Mickautsch added room for * configure.in xmlwriter.c Makefile.am include/libxml/xmlwriter.h include/libxml/Makefile.am include/libxml/xmlversion.h.in: added the xmlWriter module contributed by Alfred Mickautsch * include/libxml/tree.h: added room for line and extra information * xmlreader.c python/tests/reader6.py: bugfixing some problem some of them introduced in September * win32/libxml2.def.src doc/libxml2-api.xml: regenerated the API Daniel
Daniel Veillard 7869729c 2003-10-19T20:44:43 adding xmlNodeBufGetContent() allowing to grab the content without forcing * tree.c include/libxml/tree.h: adding xmlNodeBufGetContent() allowing to grab the content without forcing allocations. * python/libxml2class.txt doc/libxml2-api.xml: rebuilt the API * xpath.c xmldwalk.c: removed a couple of comment errors. Daniel
Daniel Veillard d8850403 2003-10-10T14:24:12 make room in Doc, Element, Attributes for PSVI type informations. Daniel * include/libxml/tree.h: make room in Doc, Element, Attributes for PSVI type informations. Daniel
Daniel Veillard 652327a7 2003-09-29T18:02:38 Adding a configure option to remove tree manipulation code which is not * configure.in entities.c tree.c valid.c xmllint.c include/libxml/tree.h include/libxml/xmlversion.h.in: Adding a configure option to remove tree manipulation code which is not strictly needed by the parser. Daniel
Daniel Veillard a9cce9cd 2003-09-29T13:20:24 Okay this is scary but it is just adding a configure option to disable * HTMLtree.c SAX2.c c14n.c catalog.c configure.in debugXML.c encoding.c entities.c nanoftp.c nanohttp.c parser.c relaxng.c testAutomata.c testC14N.c testHTML.c testRegexp.c testRelax.c testSchemas.c testXPath.c threads.c tree.c valid.c xmlIO.c xmlcatalog.c xmllint.c xmlmemory.c xmlreader.c xmlschemas.c example/gjobread.c include/libxml/HTMLtree.h include/libxml/c14n.h include/libxml/catalog.h include/libxml/debugXML.h include/libxml/entities.h include/libxml/nanohttp.h include/libxml/relaxng.h include/libxml/tree.h include/libxml/valid.h include/libxml/xmlIO.h include/libxml/xmlschemas.h include/libxml/xmlversion.h.in include/libxml/xpathInternals.h python/libxml.c: Okay this is scary but it is just adding a configure option to disable output, this touches most of the files. Daniel
Daniel Veillard f85ce8e3 2003-09-22T10:24:45 the uri arg to xmlNodeSetBase is really a const xmlChar* addin the * tree.c include/libxml/tree.h: the uri arg to xmlNodeSetBase is really a const xmlChar* * xmlreader.c include/libxml/xmlreader.h: addin the xmlTextReaderConstString() to get an interned string from the reader Daniel
Daniel Veillard 5335055e 2003-09-18T13:35:51 add streaming on memory regression tests, found bad bugs in the reader * Makefile.am: add streaming on memory regression tests, found bad bugs in the reader interface * xmlreader.c: fixing bugs w.r.t. very large names, and special condition in end of file. * xmlIO.c tree.c include/libxml/tree.h include/libxml/xmlIO.h: adding immutable buffers, and parser input based on those, but this should not be used (yet) for general parsing * parser.c: added a comment about using immutable buffers for general parsing. * result/bigname.xml.rdr result/bigname2.xml.rdr: fixing the output of the regression tests * xmllint.c: using the immutable buffers when streaming on mmaped file (--stream --memory) Daniel
Daniel Veillard 40412cda 2003-09-03T13:28:32 when creating a DOCTYPE use "html" lowercase by default instead of "HTML" * HTMLparser.c: when creating a DOCTYPE use "html" lowercase by default instead of "HTML" * parser.c xmlreader.c: optimization, gain a few % parsing speed by avoiding calls to "areBlanks" when not needed. * include/libxml/parser.h include/libxml/tree.h: some structure extensions for future work on using per-document dictionaries. Daniel
Igor Zlatkovic aa3cfbd0 2003-08-27T08:59:58 realigned parameters after taint
Igor Zlatkovic 76874e45 2003-08-25T09:05:12 Exportability taint of the headers
Daniel Veillard 6155d8aa 2003-08-19T15:01:28 optimization when freeing hash tables. some tuning of buffer allocations * dict.c hash.c: optimization when freeing hash tables. * parser.c xmlIO.c include/libxml/tree.h: some tuning of buffer allocations * parser.c parserInternals.c include/libxml/parser.h: keep a single allocated block for all the attributes callbacks, avoid useless malloc()/free() * tree.c: do not realloc() when growing a buffer if the buffer ain't full, malloc/memcpy/free avoid copying memory. Daniel
Daniel Veillard 8d73bcb5 2003-08-04T01:06:15 added a new API to split a QName without generating any memory allocation * tree.c include/libxml/tree.h: added a new API to split a QName without generating any memory allocation * valid.c: fixed another problem with namespaces on element in mixed content case * python/tests/reader2.py: updated the testcase with Bjorn Reese fix to reader for unsignificant white space * parser.c HTMLparser.c: cleanup. Daniel
Daniel Veillard a76fe5ca 2003-04-24T16:06:47 integrated the Out Of Memory test from Havoc Pennington #109368 a lot of * Makefile.am testOOM.c testOOMlib.[ch] : integrated the Out Of Memory test from Havoc Pennington #109368 * SAX.c parser.c parserInternals.c tree.c uri.c valid.c xmlmemory.c xmlreader.c xmlregexp.c include/libxml/tree.h include/libxml/parser.h: a lot of memory allocation cleanups based on the results of the OOM testing * check-relaxng-test-suite2.py: seems I forgot to commit the script. Daniel
Daniel Veillard c00cda8c 2003-04-07T10:22:39 fixing bug #107129, removing excessive allocation and calls to *printf in * tree.c valid.c xpath.c include/libxml/tree.h include/libxml/valid.h: fixing bug #107129, removing excessive allocation and calls to *printf in the code to build QName strings. Daniel
Daniel Veillard d431074c 2003-02-18T21:12:46 float/double check bugfix exported a function for NMTOKEN validation add a * xmlschemastypes.c: float/double check bugfix * tree.c include/libxml/tree.h: exported a function for NMTOKEN validation * xmlreader.c: add a TODO for Jody * relaxng.c: bugfix bugfix bugfix found 373 test schemas: 300 success 73 failures found 529 test instances: 507 success 10 failures * result/relaxng/*: updated the results Daniel
Daniel Veillard d2298791 2003-02-14T16:54:11 more testing on the Relax-NG front, cleaning up the regression tests * check-relaxng-test-suite.py relaxng.c: more testing on the Relax-NG front, cleaning up the regression tests failures current state and I forgot support for "mixed": found 373 test schemas: 280 success 93 failures found 529 test instances: 401 success 68 failures * tree.c include/libxml/tree.h xmlschemastypes.c: finished and moved the Name, NCName and QName validation routine in tree.c * uri.c: fixed handling of URI ending up with #, i.e. having an empty fragment ID. * result/relaxng/*: updated the results Daniel
Daniel Veillard 71531f33 2003-02-05T13:19:53 comments cleanups use xmllint for doing the RelaxNG tests preparing 2.5.2 * HTMLparser.c tree.c xmlIO.c: comments cleanups * Makefile.am: use xmllint for doing the RelaxNG tests * configure.in: preparing 2.5.2 made schemas support default to on instead of off * relaxng.c: removed the verbosity * xmllint.c: added --relaxng option * python/generator.py python/libxml_wrap.h: prepared the integration of the new RelaxNG module and schemas * result/relaxng/*: less verbose output Daniel
Daniel Veillard ea7751d5 2002-12-20T00:16:24 working on DTD validation on top of xml reader interfaces. Allows to * testReader.c xmlreader.c valid.c include/libxml/tree.h include/libxml/valid.h include/libxml/xmlreader.h: working on DTD validation on top of xml reader interfaces. Allows to validate arbitrary large instances. This required some extensions to the valid module interface and augmenting the size of xmlID and xmlRef structs a bit. * uri.c xmlregexp.c: simple cleanup. Daniel
Daniel Veillard a9b66d00 2002-12-11T14:23:49 new API building Python script, does the C parsing directly, generates a * doc/apibuild.py doc/libxml2-api.xml doc/Makefile.am: new API building Python script, does the C parsing directly, generates a better API description including structure fieds defs and enums. Still a couple of bugs, but good enough for the python wrappers now. * DOCBparser.c SAX.c nanohttp.c parser.c parserInternals.c tree.c valid.c xmlIO.c xmlmemory.c xmlreader.c xmlregexp.c xmlschemas.c include/libxml/schemasInternals.h include/libxml/tree.h: more cleanup based on the python analysis script reports. * libxml.spec.in: make sure the API XML description is part of the devel package. Daniel
Daniel Veillard ebc4ca94 2002-11-27T11:43:05 refactored the XML dump of a node to a buffer API to reuse the generic * tree.c include/libxml/tree.h: refactored the XML dump of a node to a buffer API to reuse the generic dump to an OutputIO layer, this reduces code, fixes xmlNodeDump() for XHTML, also made xmlNodeDump() now return the number of byte written. Daniel
Daniel Veillard d5c2f92d 2002-11-21T14:10:52 modified the existing APIs to handle XHTML1 serialization rules * tree.c include/libxml/tree.h: modified the existing APIs to handle XHTML1 serialization rules automatically, also add xmlIsXHTML() to libxml2 API. Some tweaking to make sure libxslt serialization uses it when needed without changing the library API. * test/xhtml1 result/noent/xhtml1 result/valid/xhtml1.xhtml result/xhtml1: added a new test specifically for xhtml1 output and updated the result of one XHTML1 test Daniel
Igor Zlatkovic 7ae91bcd 2002-11-08T17:18:52 retired xmlwin32version.h
Daniel Veillard e645e8c1 2002-10-22T17:35:37 Applied the VMS update patch from Craig A. Berry update Daniel * vms/build_libxml.com vms/config.vms vms/readme.vms include/libxml/parser.h include/libxml/parserInternals.h include/libxml/tree.h include/libxml/xmlIO.h HTMLparser.c catalog.c debugXML.c parser.c parserInternals.c tree.c triodef.h trionan.c uri.c xmlIO.c xpath.c: Applied the VMS update patch from Craig A. Berry * doc/*.html: update Daniel
Daniel Veillard aeb258a9 2002-09-13T14:48:12 cosmetic cleanup started integrating a DTD validation layer based on the * hash.c: cosmetic cleanup * valid.c include/libxml/tree.h include/libxml/valid.h: started integrating a DTD validation layer based on the regexps Daniel
PDT 2002  Aleksey Sanin 8e8a703c 2002-07-22T18:03:11 added _private member to xmlNs struct Mon Jul 22 11:04:48 PDT 2002 Aleksey Sanin <aleksey@aleksey.com> * include/libxml/tree.h: added _private member to xmlNs struct
Daniel Veillard 9e412302 2002-06-10T15:59:44 patch from Richard Jinks for XPath substring() function new set of tests * xpath.c: patch from Richard Jinks for XPath substring() function * result/XPath/expr/strings test/XPath/expr/strings: new set of tests Daniel
Daniel Veillard 46de64e9 2002-05-29T08:21:33 performance patch from Peter Jacobi Daniel * SAX.c parser.c tree.c include/libxml/tree.h: performance patch from Peter Jacobi Daniel
Igor Zlatkovic 648b8e97 2002-04-17T18:35:57 *** empty log message ***
Igor Zlatkovic a6f2d906 2002-04-16T17:57:17 *** empty log message ***
Daniel Veillard 561b7f88 2002-03-20T21:55:57 dohh I really didn't intended to commit this test version :-( Daniel * HTMLparser.c error.c parser.c parserInternals.c tree.c xmlIO.c include/libxml/tree.h: dohh I really didn't intended to commit this test version :-( Daniel
Daniel Veillard e50f3b5d 2002-03-20T19:24:21 I wanted to see the real speed at the SAX interface after a little too * testSAX.c: I wanted to see the real speed at the SAX interface after a little too many Ximianer started complaining about the parser speed. added a --quiet option: paphio:~/XML -> ls -l db100000.xml -rw-rw-r-- 1 veillard www 20182040 Mar 20 10:30 db100000.xml paphio:~/XML -> time ./testSAX --quiet db100000.xml 3200006 callbacks generated real 0m1.270s Which means 16MBytes/s and 3Mcallback/s Daniel
Daniel Veillard 61f26174 2002-03-12T18:46:39 Heiko W. Rupp fixed a lot of comments to generate better API descriptions * include/libxml/*.h: Heiko W. Rupp fixed a lot of comments to generate better API descriptions etc... Daniel
Daniel Veillard 9ff8817e 2002-03-11T09:15:32 Fixing #74186, made sure all boolean expressions get fully parenthesized, * c14n.c: Fixing #74186, made sure all boolean expressions get fully parenthesized, ran indent on the output * configure.in HTMLtree.c SAX.c c14n.c debugXML.c tree.c xpointer.c include/libxml/tree.h: also #74186 related, removed the --with-buffers option, and all the preprocessor conditional sections that were resulting from it. Daniel
Daniel Veillard 6c4ffafd 2002-02-11T08:54:05 trying to fix the include mess Daniel * include/libxml/encoding.h include/libxml/entities.h include/libxml/globals.h include/libxml/parser.h include/libxml/threads.h include/libxml/tree.h include/libxml/xmlmemory.h: trying to fix the include mess Daniel
Daniel Veillard 0ba59239 2002-02-10T13:20:39 Tentatively fixed #69655 , make compiling with -Wredundant-decls clean. * HTMLtree.c Makefile.am build_glob.py configure.in debugXML.c globals.c parser.c threads.c tree.c valid.c xmlmemory.c xpath.c xpointer.c include/libxml/globals.h include/libxml/parser.h include/libxml/parserInternals.h include/libxml/tree.h include/libxml/xmlmemory.h include/libxml/xpathInternals.h: Tentatively fixed #69655 , make compiling with -Wredundant-decls clean. * python/libxml.c: fixed a warning. Daniel
Daniel Veillard d2897fde 2002-01-30T16:37:32 commited early version of a python binding for private use only ATM Daniel * python/generator.py python/libxml.c python/libxml.py python/libxml_wrap.h: commited early version of a python binding for private use only ATM Daniel
Daniel Veillard 9d06d300 2002-01-22T18:15:52 Build a new version hopefully near complete and fully documented of the * doc/libxml2-api.xml doc/parsedecl.py: Build a new version hopefully near complete and fully documented of the API in XML * HTMLtree.c SAX.c debugXML.c error.c globals.c parser.c tree.c xmlIO.c xmlmemory.c include/libxml/catalog.h include/libxml/hash.h include/libxml/list.h include/libxml/parser.h include/libxml/tree.h include/libxml/parserInternals.h include/libxml/valid.hi include/libxml/xmlIO.h include/libxml/xmlerror.hi include/libxml/xmlmemory.h include/libxml/xmlversion.h.ini include/libxml/xpath.h include/libxml/xpathInternals.h: Cleaned up the doc comments a lot in the process, the interface coverage is now 100% Daniel
Daniel Veillard 963d2ae4 2002-01-20T22:08:18 cleanup patch from Anthony Jones fix the headers to avoid in make scan * SAX.c: cleanup patch from Anthony Jones * doc/Makefile.am: fix the headers to avoid in make scan * parserInternals.c xpath.c include/libxml/*.h: cleanup of the includes, * vs Ptr and general cleanup * parsedecl.py: first version of a script to extract the module interfaces, the goal will be to provide .decl or XML specification of the interfaces to build wrappers. Daniel
Daniel Veillard cbaf3995 2001-12-31T16:16:02 applied 42 documentation patches from Charlie Bozeman. Regenerated the * *.c include/libxml/*.h doc/html/*: applied 42 documentation patches from Charlie Bozeman. Regenerated the HTML docs. Daniel
Daniel Veillard d1640920 2001-12-17T15:30:10 applied documentation patches from Charlie Bozeman Daniel * include/libxml/tree.h tree.c: applied documentation patches from Charlie Bozeman Daniel
Daniel Veillard 8faa7836 2001-11-26T15:58:08 moved xmlGetLineNo() and xmlGetNodePath() into the main tree module, they * tree.c debugXML.c include/libxml/tree.h include/libxml/debugXML.h: moved xmlGetLineNo() and xmlGetNodePath() into the main tree module, they are not really tied to debugging Daniel
Daniel Veillard 566d4dfa 2001-11-22T13:00:53 Fixed a couple of macro errors pointed out by Denis Beurive, closes #65111 * include/libxml/tree.h: Fixed a couple of macro errors pointed out by Denis Beurive, closes #65111 Daniel
Daniel Veillard 0ec98635 2001-11-14T15:04:32 better comments for _private fields removed a problem when copying an * include/libxml/tree.h: better comments for _private fields * tree.c: removed a problem when copying an entity reference. Daniel
Daniel Veillard be480fbb 2001-11-08T23:36:42 trying to fix namespaces + validation problems for good, closing #63619 in * valid.c include/libxml/tree.h: trying to fix namespaces + validation problems for good, closing #63619 in the process * result/valid/dia.xml test/valid/dia.xml: the Dia test was wrong in this respect, fixed it. Daniel
CET 2001 Daniel Veillard 5a37bde3 2001-11-01T14:31:22 more include cleanups, export cleanly one html output + format function. Thu Nov 1 15:29:31 CET 2001 Daniel Veillard <daniel@veillard.com> * HTMLtree.c tree.c include/libxml/HTMLtree.h include/libxml/tree.h include/libxml/xmlIO.h: more include cleanups, export cleanly one html output + format function. Thu Nov 1 14:12:12 CET 2001 Daniel Veillard <daniel@veillard.com> * parser.c: removed initGenericErrorDefaultFunc call from xmlInitParser() since it could destroy previous calls to xsltSetGenericErrorFunc() effects Daniel
Daniel Veillard 8bdb91dd 2001-10-31T17:52:43 cleanup cleanup too added xmlNoNetExternalEntityLoader() from xsltproc * Makefile.am: cleanup * threads.c: cleanup too * xmlIO.c include/libxml/xmlIO.h: added xmlNoNetExternalEntityLoader() from xsltproc * include/libxml/tree.h include/libxml/parser.h: trying to break a dependancy loop. Daniel
Daniel Veillard d0463560 2001-10-13T09:15:48 Applied the last patches from Gary, cleanup, activated threading all user * include/libxml/SAX.h include/libxml/globals.h include/libxml/parser.h include/libxml/parserInternals.h include/libxml/tree.h include/libxml/xmlerror.h HTMLparser.c SAX.c error.c globals.c nanoftp.c nanohttp.c parser.c parserInternals.c testDocbook.c testHTML.c testSAX.c tree.c uri.c xlink.c xmlmemory.c: Applied the last patches from Gary, cleanup, activated threading all user accessible global variables are now handled in globals.[ch] Still a bit rought but make tests passes with either --with-threads defined at configure time or not. * Makefile.am example/Makefile.am: added globals.[ch] and threads linking options Daniel
Daniel Veillard 2ebd7a7a 2001-08-28T21:07:03 added fix to the header Daniel * include/libxml/tree.h: added fix to the header Daniel
Daniel Veillard f012a64d 2001-07-23T19:10:52 get rid of the readline and libhistory dependancies by default, release * configure.in: get rid of the readline and libhistory dependancies by default, release 2.4.1 with IA64 fix * nanohttp.c tree.c xmlIO.c include/libxml/nanohttp.h include/libxml/tree.h include/libxml/xmlIO.h: incorporated John Kroll fixes to allow saving to HTTP via PUT (or POST of needed). * doc/html/*.html: regenerated the docs Daniel
Daniel Veillard 5e2dace1 2001-07-18T19:30:27 Cleanup, cleanup .. removed libxml softlink for good cleanup to get 100% Cleanup, cleanup .. * configure.in Makefile.am: removed libxml softlink for good * include/libxml/*.h *.c doc/Makefile.am: cleanup to get 100% coverage by gtk-doc Daniel
Daniel Veillard 7db3773a 2001-07-12T01:20:08 store the line numbder in element->content, may break some software, need * DOCBparser.c HTMLparser.c HTMLtree.c SAX.c debugXML.c parser.c tree.c xpointer.c: store the line numbder in element->content, may break some software, need a configuration mechanism Daniel
Daniel Veillard c5d64345 2001-06-24T12:13:24 Summer's cleanup, a really big one: * AUTHORS: added William and Bjorn * include/libxml/*.h *.c README doc/*.html etc.: changed old email to daniel@veillard.com hopefully I won't have to do this again * doc/Makefile.am doc/html/*.html: cleanup makefile, checked that docs can be rebuilt cleanly now * include/libxml/xml*version.h*: removed include/libxml/xmlversion.h from CVs it's generated, added include/libxml/xmlwin32version.h also generated but which should change far less frequently. * catalog.c nanoftp.c: made sure to include libxml.h not libxml/xmlversion.h directly * include/libxml/*.h: include xmlwin32version.h instead of xmlversion.h when compiling on WIN32 and MSC Daniel
Daniel Veillard 017b108f 2001-06-21T11:20:21 - Makefile.am: cleanup when --without-debug is specified - xinclude.c xpath.c xpathInternals.h xpointer.c: cleanup w.r.t. --without-debug and other include points - catalog.h testCatalog.c: a bit of cleanup and prepare for XML Catalogs - configure.in entities.h tree.h HTMLparser.c: removed --without-corba, made the _private field mandatory Daniel
Daniel Veillard ca2366aa 2001-06-11T12:09:01 grrr ... namespace is a C++ reserved keyword Daniel * tree.[ch]: grrr ... namespace is a C++ reserved keyword Daniel
Daniel Veillard 9cc6dc62 2001-06-11T08:09:20 - xmlversion.h.in libxml.h: Cygwin patches - tree.c: xmlFreeNodeList patch similar to xmlFreeNode one - tree.h: cleanup Daniel
Daniel Veillard e95e2396 2001-06-06T10:46:28 - DOCBparser.c: implemented the <?sgml-declaration encoding="xxx"?> hack - tree.[ch]: added xmlHasNsProp as suggested in bug report #55653 - uri.c: fixed a warning Daniel
Daniel Veillard 9403a049 2001-05-28T11:00:53 - TODO: updated - nanohttp.[ch] : started adding APIs to get the - TODO: updated - nanohttp.[ch] : started adding APIs to get the redirected URL when this occurs (needed for further base computation - tree.h: cleanup - encoding.c: cleanup - SAX.c: minor change around ctxt->loadsubset Daniel
Daniel Veillard bed7b052 2001-05-19T14:59:49 - HTMLtree.h debugXML.h parserInternals.h tree.h valid.c xmlversion.h.in xpathInternals.h xpath.h: some cleanup for gtk-doc - doc/html/* : rebuilt the docs - valid.c: small patch which may improve some case when validating. Daniel
Daniel Veillard f69bb4b5 2001-05-19T13:24:56 - HTMLparser.c: Closed bug #54891 - result/HTML/cf_128.html* test/HTML/cf_128.html: added the test to the suite forgot to commit this one yesterday - encoding.h hash.c nanoftp.h parser.h tree.h uri.h xlink.h xpointer.c: applied a documentation patch from LotR and filled in a few missing descriptions Daniel
Daniel Veillard 75bea548 2001-05-11T17:41:21 - tree.[ch]: fixing bug #54446, by cleaning some bugs in the attributes handling and #54433 by adding xmlUnsetProp() and xmlUnsetNsProp() Daniel
Daniel Veillard eefd4494 2001-04-28T16:55:50 - tree.[ch] xmlIO.h: applied patch from Joe McAlerney to add xmlSaveFormatFileTo() Daniel
Daniel Veillard 67fee94e 2001-04-26T18:59:03 - tree.[ch]: added xmlSaveFormatFile interface for saving and indenting a file. Daniel
Daniel Veillard eae522a0 2001-04-23T13:41:34 Time to work on helping the Gnome Doc project, first step is reintegrating the SGML DocBook parser in libxml2 distrib: - DOCBparser.c DOCBparser.h testDocbook.c configure.in Makefile.am xmlversion.h.in: started (re)integrating the DocBook SGML parser. - SAX.[ch]: cleanup and updates for DocBook - debugXML.c parser.h tree.[ch] valid.c xpath.c: small macro or ex SGML identifier changes - valid.c: removed a static unused function. Daniel
Daniel Veillard dab4cb37 2001-04-20T13:03:48 Geez, this one was painful ! I still need to handle entities references for the validation step but I have a clean way to add this without touching the algorithm: - valid.[ch] tree.h: worked *hard* to get non-determinist content validation without using an ugly NFA -> DFA algo in the source. Made a specific algorithm easier to maintain, using a single stack and without recursion. - Makefile.am test/VCM/*.xml: added more tests to "make Validtests" - hash.c: made the growing routine static - tree.h parser.c: added the parent information to an xmlElementContent node. Daniel
Daniel Veillard a10efa8a 2001-04-18T13:09:01 - debugXML.c hash.c tree.h valid.c : some changes related to the validation suport to improve speed with DocBook - result/VC/OneID2 result/VC/OneID3 : this slightly changes the way validation errors get reported Daniel
Daniel Veillard 82daa81a 2001-04-12T08:55:36 - tree.[ch] : added xmlDocCopyNode for gdome2 support Daniel
Daniel Veillard 67a21303 2001-04-11T14:39:16 - tree.h: include xmlmemory.h this seems to havoid a nasty glibc bug where the linktime verions of free() won't work ... Daniel
Daniel Veillard 56a4cb8c 2001-03-24T17:00:36 Huge cleanup, I switched to compile with -Wall -g -O -ansi -pedantic -W -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline - HTMLparser.[ch] HTMLtree.c SAX.c debugXML.c encoding.[ch] encoding.h entities.c error.c list.[ch] nanoftp.c nanohttp.c parser.[ch] parserInternals.[ch] testHTML.c testSAX.c testURI.c testXPath.c tree.[ch] uri.c valid.[ch] xinclude.c xmlIO.[ch] xmllint.c xmlmemory.c xpath.c xpathInternals.h xpointer.[ch] example/gjobread.c: Cleanup, staticfied a number of non-exported functions, detected and cleaned up a dozen of problem found this way, avoided a lot of public function name/typedef/system names clashes - doc/xml.html: updated - configure.in: switched private flags to the really pedantic ones. Daniel
Daniel Veillard 9e7160d4 2001-03-18T23:17:47 Completely changed the way the XPath evaluation is done, likely to break stuff like libxslt right now: - Makefile.am: detect XPath memleaks in regreson tests - error.c: fixed and error w.r.t. error reporting still using stderr - hash.c: added new line at end of file - tree.h: minor cleanup - xpath.[ch] xpointer.[ch]: Major changes ! Separated XPath expression parsing from evaluation, resulted in a number of changes internally, and in XPointer. Likely to break stuff using xpathInternals.h but should remain binary compatible, new interfaces will be added. Daniel
Daniel Veillard e356c280 2001-03-10T12:32:04 Preparing for 2.3.4 release: - configure.in: bumped to 2.3.4 - error.c: fixed bug #51860 - tree.c: fixed bug #51861 - valid.c: cleanup, more debug, failed to fix one bug crap ... - tree.[ch] : added xmlDefaultBufferSize - nanoftp.c: typo in function name header block - doc/xml.html : updated, added link to XML::LibXSLT - doc/html/* : rebuilt the docs Daniel
Owen Taylor 3473f88a 2001-02-23T17:55:21 Revert directory structure changes
CET 2001 Tomasz Kłoczko 64636e7f 2001-02-23T01:37:32 moved to libxml directory - this allow simplify automake/autoconf. Now Thu Feb 23 02:03:56 CET 2001 Tomasz Kłoczko <kloczek@pld.org.pl> * *.c *.h libxml files: moved to libxml directory - this allow simplify automake/autoconf. Now isn't neccessary hack on am/ac level for make and remove libxml symlink (modified for this also configure.in and main Makefile.am). Now automake abilities are used in best way (like in many other projects with libraries). * include/win32config.h: moved to libxml directory (now include directory isn't neccessary). * Makefile.am, examples/Makefile.am, libxml/Makefile.am: added empty DEFS and in INCLUDES rest only -I$(top_builddir) - this allow minimize parameters count passed to libtool script (now compilation is also slyghtly more quiet). * configure.in: simplifies libzdetestion - prepare separated variables for keep libz name and path to libz header files isn't realy neccessary (if someone have libz installed in non standard prefix path to header files ald library can be passed as: $ CFALGS="-I</libz.h/path>" LDFLAGS="-L</libz/path>" ./configure * autogen.sh: check now for libxml/entities.h. After above building libxml pass correctly and also pass "make install DESTDIR=</install/prefix>" from tar ball generated by "make dist". Seems ac/am reorganization is finished. This changes not touches any other things on *.{c,h} files level.
Daniel Veillard e0e26513 2001-02-16T00:11:46 - tree.[ch] parser.c xpath.c: fixed the problem of addressing attributes within the XML-1.0 namespace Daniel
Daniel Veillard 5a2b697a 2001-01-20T21:15:50 - xpath.c: seems I finally killed that ugly path evaluation context bug (tagged 9999 in case is is wrong) Daniel
Daniel Veillard 4a6845df 2001-01-03T13:32:39 Restarted hacking :-) : - xmllint.c: Made is so if the file name is "-" is will read form standard input. Sven Heinicke <sven@zen.org> - tree.c: fixed a problem when growing buffer - tree.h: fixed the comment of the node types following andersca comment - TODO: updated Daniel
Daniel Veillard a6d8eb62 2000-12-27T10:46:47 Finally had a bit of time to resynch both trees: - HTMLparser.[ch]: added a way to avoid adding automatically omitted tags. htmlHandleOmittedElem() allows to change the default handling. - tree.[ch] xmllint.c: added xmlDocDumpFormatMemory() and xmlDocDumpFormatMemoryEnc(), uses memory functions for output of xmllint too when using --memory flag, added a memory test suite at the Makefile level. - xpathInternals.h xpath.[ch] xpointer.c: fixed problems with namespace use when encountering QNames in XPath evalation, added xmlns() scheme in XPointer. - nanoftp.c : incorporated a fix - parser.c xmlIO.c: fixed problems raised with encoding when using the memory I/O - parserInternals.c: closed bug 25934 reported by torsten.landschoff@innominate.de - TODO: updated Daniel
Daniel Veillard ce6e98d6 2000-11-25T09:54:49 Big OpenVMS patch: - nanohttp.c parser.[ch] tree.[ch] xmlIO.[ch] xmllint.c Big OpenVMS patch: - nanohttp.c parser.[ch] tree.[ch] xmlIO.[ch] xmllint.c xpath.c parserInternals.h vms/build_libxml.com vms/config.vms Makefile.am: integrated a set of OpenVMS changes from Howard Taylor <Howard.Taylor@pacoast.com> Daniel
Daniel Veillard 58770e76 2000-11-25T00:48:47 Fixes/enhancements: - tree.[ch] xmlIO.c: added xmlDocDumpMemoryEnc() from Fixes/enhancements: - tree.[ch] xmlIO.c: added xmlDocDumpMemoryEnc() from John Kroll - error.c: applied fix suggested by "Leo Davidson" <leo@ox.compsoc.net> Daniel
Daniel Veillard c2def84b 2000-11-07T14:21:01 Various patches and bug fixes, and XInclude progresses: - nanohttp.[ch]: applied Wayne Davison patches to access the WWW-Authorization header. - parser.c: Closed Bug#30847: Problems when switching encoding in short files by applying Simon Berg's patch. - valid.c: fixed a validation problem - hash.c parser.h parserInternals.h testHTML.c testSAX.c tree.h xmlerror.h xmlmemory.h xmlversion.h.in: applied a DLL patch from Wayne Davison - xpointer.[ch]: added first version of xmlXPtrBuildNodeList() need to be extended to non full nodes selections. - xinclude.c: starts to work decently Daniel
Daniel Veillard 9e8bfae5 2000-11-06T16:43:11 XInclude and other stuff while travelling. Contributed patches: - tree.[ch] xinclude.[ch] xmllint.c configure.in valid.c debugXML.c xmlversion.h.in: Started adding XInclude support, this is a new xmllint option - tree.c xpath.c: applied TOM patches for XPath - xpointer.c: fixed a couple of errors. - uri.c: added an escaping function needed for xinclude - testXPath.c hash.c HTMLtree.c: minor cleanups raised by new warning from RH70 gcc's version Daniel
Daniel Veillard a4964b75 2000-10-31T18:23:44 - HTMLparser.c: fixed loop on invalid char in scripts - parser.c: update to description of xmlIOParseDTD() - libxml.m4 xmlversion.h.in: changes contributed by Michael Schmeing <m.schmeing@internet-factory.de> - configure.in: preparing for 2.2.7 - Makefile.am: trying to avoid config.h and acconfig.h being included in the distrib - rebuilt the docs - configure.in: released 2.2.7 Daniel
Daniel Veillard be9ec4b6 2000-10-25T11:01:53 Applying provided patches :-) - nanohttp.c : applied Wayne HTTP cleanup patch - tree.[ch]: applied TOM <ptittom@free.fr> for xmlNodeSetBase() and xmlNodeSetSpacePreserve() Daniel
Daniel Veillard 52afe800 2000-10-22T16:56:02 Started working on the hash table module integration, fixed a bug: - entities.[ch] xpath.[ch] hash.[ch] debugXML.c tree.h: added/hacked hash tables from Bjorn Reese <breese@mail1.stofanet.dk>. Switched XPath functions and XML entities table to them. More to come... - xmlIO.c: fixed libxml closing FILEs it didn't open. Daniel