aboutsummaryrefslogtreecommitdiffstats
path: root/tree.c
Commit message (Collapse)AuthorAgeFilesLines
* applied 42 documentation patches from Charlie Bozeman. Regenerated theDaniel Veillard2001-12-311-5/+5
| | | | | | * *.c include/libxml/*.h doc/html/*: applied 42 documentation patches from Charlie Bozeman. Regenerated the HTML docs. Daniel
* applied documentation patches from Charlie Bozeman DanielDaniel Veillard2001-12-171-93/+95
| | | | | | * include/libxml/tree.h tree.c: applied documentation patches from Charlie Bozeman Daniel
* fix the xmlStrdup() used in the previous patch. added --dropdtd fixedDaniel Veillard2001-12-131-0/+8
| | | | | | | | * valid.c: fix the xmlStrdup() used in the previous patch. * valid.c: added --dropdtd * tree.c: fixed xmlUnlinkNode so it also removes the references from the document if the node is a DTD Daniel
* moved xmlGetLineNo() and xmlGetNodePath() into the main tree module, theyDaniel Veillard2001-11-261-0/+149
| | | | | | | * 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
* fixed a couple of problems in xmlSetProp() DanielDaniel Veillard2001-11-251-4/+7
| | | | | * tree.c: fixed a couple of problems in xmlSetProp() Daniel
* some cleanups when chasing unappropriate stdout output. DanielDaniel Veillard2001-11-221-1/+2
| | | | | | * debugXML.c tree.c xmlIO.c xmlmemory.c: some cleanups when chasing unappropriate stdout output. Daniel
* better comments for _private fields removed a problem when copying anDaniel Veillard2001-11-141-2/+4
| | | | | | * include/libxml/tree.h: better comments for _private fields * tree.c: removed a problem when copying an entity reference. Daniel
* more include cleanups, export cleanly one html output + format function.CET 2001 Daniel Veillard2001-11-011-2/+2
| | | | | | | | | | | | | | | 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
* - include/libxml/globals.h include/libxml/threads.h threads.cDaniel Veillard2001-10-171-0/+1
| | | | | | testThreads.c: far more testing, cleaning up bugs - *.c : make sure globals.h is always included. Daniel
* Applied the last patches from Gary, cleanup, activated threading all userDaniel Veillard2001-10-131-16/+3
| | | | | | | | | | | | | | | * 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
* integrating Keith Isdale patches for the XSLT debugger interfaces. SomeDaniel Veillard2001-10-111-0/+5
| | | | | | | * include/libxml/debugXML.h debugXML.c tree.c: integrating Keith Isdale patches for the XSLT debugger interfaces. Some cleanup Daniel
* preparing 2.4.6 release updated and rebuilt the docs fixed a number ofDaniel Veillard2001-10-101-7/+7
| | | | | | | * configure.in: preparing 2.4.6 release * doc/xml.html doc/html/*: updated and rebuilt the docs * include/libxml/*.h *.c: fixed a number of teh/the widht/width typos Daniel
* applied fix from Mathias Hasselmann about a bug in URI parsing. fix bugDaniel Veillard2001-10-051-0/+3
| | | | | | | | | * uri.c: applied fix from Mathias Hasselmann about a bug in URI parsing. * xpath.c: fix bug #61291 the default XML namespace node is missing from the namespace axis. * tree.c: refuse to create namespaces nodes with prefix "xml" Daniel
* Armin Sander pointed a possible text coalescing problem, completed hisDaniel Veillard2001-08-311-2/+4
| | | | | | * tree.c: Armin Sander pointed a possible text coalescing problem, completed his patch. Daniel
* applied patch from Armin Sander to make some pointers const inDaniel Veillard2001-08-281-4/+4
| | | | | | * tree.c: applied patch from Armin Sander to make some pointers const in xmlCopyNode() Daniel
* fixed xmlCopyNode() for documents DanielDaniel Veillard2001-07-261-10/+9
| | | | | * tree.c: fixed xmlCopyNode() for documents Daniel
* get rid of the readline and libhistory dependancies by default, releaseDaniel Veillard2001-07-231-53/+30
| | | | | | | | | | | * 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
* Cleanup, cleanup .. removed libxml softlink for good cleanup to get 100%Daniel Veillard2001-07-181-2/+17
| | | | | | | | 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
* cleanup of global variables, marking some const or private. DanielDaniel Veillard2001-07-161-4/+11
| | | | | | | | * include/libxml/parserInternals.h include/libxml/HTMLparser.h xmlIO.c tree.c parserInternals.c entities.c encoding.c HTMLparser.c: cleanup of global variables, marking some const or private. Daniel
* store the line numbder in element->content, may break some software, needDaniel Veillard2001-07-121-100/+45
| | | | | | | * 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
* fixed XML Base computation which was broken added a base function to theDaniel Veillard2001-07-091-7/+30
| | | | | | | | * tree.c: fixed XML Base computation which was broken * debugXML.c: added a base function to the shell * Makefile.am result/scripts/* test/scripts/*: added scripts based regression tests, and adding 2 XML Base tests Daniel
* set properties doc and call xmlSetListDoc for properties content whenDaniel Veillard2001-07-091-9/+9
| | | | | | | * tree.c: set properties doc and call xmlSetListDoc for properties content when grafting them in a different tree. * aclocal.m4: remove from CVS Daniel
* xmlStrstr args are both const small cleanup reformated, fixed problems ifDaniel Veillard2001-06-291-34/+42
| | | | | | | * include/libxml/parser.h parser.c: xmlStrstr args are both const * xpath.c: small cleanup * xmlGetNsList: reformated, fixed problems if used on Entities Daniel
* Summer's cleanup, a really big one:Daniel Veillard2001-06-241-1/+1
| | | | | | | | | | | | | | | | * 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
* attempt to work around what seemed a gcc optimizer bug when handlingDaniel Veillard2001-06-211-2/+2
| | | | | | | | * xpath.c: attempt to work around what seemed a gcc optimizer bug when handling floats on i386 http://veillard.com/gcc.bug * tree.c entities.c encoding.c: doing some cleanups while chasing it Daniel
* - tree.c xinclude.c xpointer.c: bug #56402 exposed a number ofDaniel Veillard2001-06-191-0/+32
| | | | | | weakness in the node copy the XPointer and the XInclude implementations. Serious cleanup. Daniel
* - valid.c tree.c parserInternals.c parser.c: Stephan KulowDaniel Veillard2001-06-191-4/+8
| | | | | | | provided another failing case found in KDE, the way the ctxt->vctxt.nodeTab was allocated and freed changed over time but it wasn't completely cleaned up. This should fix it. Daniel
* - tree.c: fixed xmlHasNsProp() accordingly to bug #55683Daniel Veillard2001-06-171-5/+2
| | | | | - doc/xml.html: updated with 2.3.11 Daniel
* grrr ... namespace is a C++ reserved keyword DanielDaniel Veillard2001-06-111-11/+11
| | | | | * tree.[ch]: grrr ... namespace is a C++ reserved keyword Daniel
* - xmlversion.h.in libxml.h: Cygwin patchesDaniel Veillard2001-06-111-2/+21
| | | | | | - tree.c: xmlFreeNodeList patch similar to xmlFreeNode one - tree.h: cleanup Daniel
* - tree.c: patched xmlFreeNode() to avoid freeing() a staticDaniel Veillard2001-06-091-2/+22
| | | | | | memory block in a strange case where libxml is linked twice in the binary. Daniel
* - xinclude.c: Raphael Hertzog had a trouble with DTD nodesDaniel Veillard2001-06-091-0/+4
| | | | | | being processed, applied his patch - tree.c: fixed a bug raised in xmlStaticCopyNodeList() Daniel
* - tree.c: applied Steve Tinney patch to xmlNewNsProp to fix bug #55810Daniel Veillard2001-06-071-4/+7
| | | | Daniel
* - tree.c: fixed xmlGetNsProp() to close bug #55683Daniel Veillard2001-06-071-6/+2
| | | | | Note this requires libxslt to use it's own function instead. Daniel
* - DOCBparser.c: implemented the <?sgml-declaration encoding="xxx"?>Daniel Veillard2001-06-061-0/+72
| | | | | | | hack - tree.[ch]: added xmlHasNsProp as suggested in bug report #55653 - uri.c: fixed a warning Daniel
* - HTMLtree.c: applied patch from Jaroslaw Kolakowski to close bugDaniel Veillard2001-05-301-0/+1
| | | | | | #55380 - tree.c: patch to xmlNodeGetContent() to get CDATA section content Daniel
* - tree.c: fixed a gross mistake in base computation, xml:base isDaniel Veillard2001-05-221-3/+7
| | | | | | | not completely correct yet (need cascade). - xpath.[ch]: added the few things needed to find a function name and URI from the XPath context when it is called. Daniel
* - catalog.[ch]: fixes and add xmlLoadCatalogs()Daniel Veillard2001-05-221-3/+2
| | | | | | | | | - DOCBparser.c: small cleanup - xmllint.c: added a --catalogs option to load catalogs from $SGML_CATALOG_FILES - tree.c: cleanup - configure.in: iconv library fixup, ICONV_LIBS Daniel
* - xpath.c tree.c parser.c: speed optimizations at the parser levelDaniel Veillard2001-05-161-8/+26
| | | | | document tree freeing and xpath evaluation Daniel
* - tree.[ch]: fixing bug #54446, by cleaning some bugs in theDaniel Veillard2001-05-111-3/+71
| | | | | | attributes handling and #54433 by adding xmlUnsetProp() and xmlUnsetNsProp() Daniel
* - tree.c: zb@bisp.com reported an error in xmlNodeGetLang()Daniel Veillard2001-05-091-1/+1
| | | | Daniel
* - strio.h trio.c: Dan McNichol suggested a couple of smallDaniel Veillard2001-04-301-2/+4
| | | | | fixes for AIX 4.3.3 using Visual Age 5.0.2 compiler Daniel
* - tree.c parser.c encoding.c: spent a bit more time lookingDaniel Veillard2001-04-301-6/+25
| | | | | | at the parsing speed and DOM handling. Added a few more speedups. Daniel
* - tree.[ch] xmlIO.h: applied patch from Joe McAlerney to addDaniel Veillard2001-04-281-0/+21
| | | | | xmlSaveFormatFileTo() Daniel
* - tree.[ch]: added xmlSaveFormatFile interface for savingDaniel Veillard2001-04-261-4/+21
| | | | | and indenting a file. Daniel
* - tree.c: trying to fix #53574, not completely complete,Daniel Veillard2001-04-251-8/+34
| | | | | | | I would like xmllint --copy --debug test/ent1 and xmllint --debug test/ent1 to show the same result. - xpath.c: fix a bug when trying to sort namespace nodes Daniel
* Time to work on helping the Gnome Doc project, first step is reintegratingDaniel Veillard2001-04-231-16/+16
| | | | | | | | | | | 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
* - tree.c: fixed #53388 with the provided patchDaniel Veillard2001-04-221-1/+1
| | | | Daniel
* trio upgrade and integrationBjorn Reese2001-04-211-6/+1
|
* - xpath.c: fixed xmlXPathNodeCollectAndTest() to do properDaniel Veillard2001-04-161-1/+1
| | | | | | | prefix lookup. - parserInternals.c: fixed the bug reported by Morus Walter due to an off by one typo in xmlStringCurrentChar() Daniel