summaryrefslogtreecommitdiff
path: root/debugXML.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixing a head build problem, damn ... DanielDaniel Veillard2004-03-041-1/+1
|
* fixing compilation bug with some options disabled as well asDaniel Veillard2004-03-041-0/+4
| | | | | | | * debugXML.c testHTML.c tree.c doc/examples/*.c include/libxml/xmlsave.h: fixing compilation bug with some options disabled as well as --with-minimum should fix #134695 Daniel
* fixing compilation and link option when configuring with --without-validDaniel Veillard2004-02-251-0/+6
| | | | | | | * debugXML.c relaxng.c valid.c xinclude.c xmllint.c xmlreader.c: fixing compilation and link option when configuring with --without-valid should fix #135309 Daniel
* added "relaxng" option to the debugging shell some regression tests forDaniel Veillard2004-02-211-0/+66
| | | | | | | * debugXML.c: added "relaxng" option to the debugging shell * Makefile.am test/errors/* result/errors/*: some regression tests for some error tests cases. Daniel
* Changed all (?) occurences where validation macros (IS_xxx) hadWilliam M. Brack2003-10-181-1/+1
| | | | | | | | | | | | * include/libxml/parserInternals.h HTMLparser.c HTMLtree.c SAX2.c catalog.c debugXML.c entities.c parser.c relaxng.c testSAX.c tree.c valid.c xmlschemas.c xmlschemastypes.c xpath.c: Changed all (?) occurences where validation macros (IS_xxx) had single-byte arguments to use IS_xxx_CH instead (e.g. IS_BLANK changed to IS_BLANK_CH). This gets rid of many warning messages on certain platforms, and also high- lights places in the library which may need to be enhanced for proper UTF8 handling.
* Okay this is scary but it is just adding a configure option to disableDaniel Veillard2003-09-291-4/+18
| | | | | | | | | | | | | | | | | | * 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
* fixed 2 bugs pointed in #116448 DanielDaniel Veillard2003-07-061-1/+8
| | | | | * debugXML.c xpath.c: fixed 2 bugs pointed in #116448 Daniel
* included libxml/uri.h for xmlCanonicPath declarationIgor Zlatkovic2003-04-271-0/+1
|
* try to find more places where xmlCanonicPath() must be used to convertDaniel Veillard2003-04-231-1/+1
| | | | | | | * DOCBparser.c SAX.c catalog.c debugXML.c parser.c: try to find more places where xmlCanonicPath() must be used to convert filenames to URLs, trying to fix #111088 Daniel
* fixed Red Hat bug #86118 use libxml2.spec instead of libxml.spec fixedDaniel Veillard2003-03-211-6/+6
| | | | | | | | | | | * configure.in Makefile.am: fixed Red Hat bug #86118 use libxml2.spec instead of libxml.spec * relaxng.c: fixed some of the error reporting excessive verbosity * catalog.c debugXML.c valid.c xmlreader.c xmlschemas.c xpath.c xmlschemastypes.c: removed some warnings from gcc * doc/libxml2-api.xml: rebuilt Daniel
* code cleanup, especially the function comments. fixed a small bug whenDaniel Veillard2002-12-101-1/+1
| | | | | | | | | | * DOCBparser.c HTMLparser.c c14n.c debugXML.c encoding.c hash.c nanoftp.c nanohttp.c parser.c parserInternals.c testC14N.c testDocbook.c threads.c tree.c valid.c xmlIO.c xmllint.c xmlmemory.c xmlreader.c xmlregexp.c xmlschemas.c xmlschemastypes.c xpath.c: code cleanup, especially the function comments. * tree.c: fixed a small bug when freeing nodes which are XInclude ones. Daniel
* Applied the VMS update patch from Craig A. Berry update DanielDaniel Veillard2002-10-221-4/+4
| | | | | | | | | | | * 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
* adding a grep command to --shell in xmllint for T.V. Raman DanielDaniel Veillard2002-10-221-0/+81
| | | | | | * debugXML.c: adding a grep command to --shell in xmllint for T.V. Raman Daniel
* Joe Marcus Clarke reported a segfault on FBsd this was due toDaniel Veillard2002-10-091-5/+11
| | | | | | * valid.c: Joe Marcus Clarke reported a segfault on FBsd this was due to uninitialized parts of the validation context Daniel
* applied patch from Mark Vakoc except the API change, preserved it. updatedDaniel Veillard2002-10-081-67/+105
| | | | | | | | * debugXML.c: applied patch from Mark Vakoc except the API change, preserved it. * doc/*: updated the docs to point to the search engine for information lookup or before bug/help reports. Daniel
* replaced sprintf() with snprintf() to prevent possible buffer overflowAleksey Sanin2002-06-141-2/+2
| | | | | | | | * DOCBparser.c HTMLparser.c debugXML.c encoding.c nanoftp.c nanohttp.c parser.c tree.c uri.c xmlIO.c xmllint.c xpath.c: replaced sprintf() with snprintf() to prevent possible buffer overflow (the bug was pointed out by Anju Premachandran)
* preparing 2.4.18 updated and rebuilt the web site implement the newLIBXML_2_4_18Daniel Veillard2002-03-181-0/+1
| | | | | | | | | | | | | * configure.in: preparing 2.4.18 * doc/*: updated and rebuilt the web site * *.c libxml.h: implement the new IN_LIBXML scheme discussed with the Windows and Cygwin maintainers. * parser.c: humm, changed the way the SAX parser work when xmlSubstituteEntitiesDefault(1) is set, it will then do the entity registration and loading by itself in case the user provided SAX getEntity() returns NULL. * testSAX.c: added --noent to test the behaviour. Daniel
* speedup some node selection operations, this can have a significant impactDaniel Veillard2002-03-131-1/+1
| | | | | | | | | * xpath.c: speedup some node selection operations, this can have a significant impact on DocBook Norm's stylesheets * nanohttp.c: someone reported that SOCKLEN_T may not be defined make sure it's always the case * debugXML.c: distinguish CDATA and comments in ls operations Daniel
* Fixing #74186, made sure all boolean expressions get fully parenthesized,Daniel Veillard2002-03-111-12/+0
| | | | | | | | | | * 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
* Tentatively fixed #69655 , make compiling with -Wredundant-decls clean.Daniel Veillard2002-02-101-0/+1
| | | | | | | | | | | | * 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
* cleanup always use stdout if output is NULL don't close filedescriptorsDaniel Veillard2002-02-071-0/+12
| | | | | | | | | | | | * Makefile.am: cleanup * debugXML.c: always use stdout if output is NULL * xmlIO.c: don't close filedescriptors passed to outputBuffers * python/Makefile.am python/generator.py python/libxml2class.txt python/libxml_wrap.h python/types.c: augmented the number of bindings handling FILE * and XPath contexts * python/tests/Makefile.am: avoid a stupid problem due to the use of TEST. Daniel
* added an xpath function to the shell for T. V. Raman DanielDaniel Veillard2002-01-221-0/+15
| | | | | * debugXML.c: added an xpath function to the shell for T. V. Raman Daniel
* patch from Anthony Jones to catch NULL nodes in debug routines. DanielDaniel Veillard2002-01-221-3/+79
| | | | | | * debugXML.c: patch from Anthony Jones to catch NULL nodes in debug routines. Daniel
* Build a new version hopefully near complete and fully documented of theDaniel Veillard2002-01-221-2/+2
| | | | | | | | | | | | | | | * 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
* fixed the funxtion to set the xml: attributes added "setbase" to test it.Daniel Veillard2002-01-171-0/+24
| | | | | | * tree.c: fixed the funxtion to set the xml: attributes * debugXML.c: added "setbase" to test it. Daniel
* some cleanup after an unsuccessful attempt at fixing #61290 :-( DanielDaniel Veillard2002-01-141-8/+25
| | | | | | * debugXML.c tree.c: some cleanup after an unsuccessful attempt at fixing #61290 :-( Daniel
* applied 42 documentation patches from Charlie Bozeman. Regenerated theDaniel Veillard2001-12-311-21/+39
| | | | | | * *.c include/libxml/*.h doc/html/*: applied 42 documentation patches from Charlie Bozeman. Regenerated the HTML docs. Daniel
* moved xmlGetLineNo() and xmlGetNodePath() into the main tree module, theyDaniel Veillard2001-11-261-149/+0
| | | | | | | * 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
* some cleanups when chasing unappropriate stdout output. DanielDaniel Veillard2001-11-221-27/+27
| | | | | | * debugXML.c tree.c xmlIO.c xmlmemory.c: some cleanups when chasing unappropriate stdout output. Daniel
* add xmlGetNodePath() a cleaned up version of the Pwd shell stringDaniel Veillard2001-11-101-71/+136
| | | | | | * debugXML.c include/libxml/debugXML.h: add xmlGetNodePath() a cleaned up version of the Pwd shell string generation. Daniel
* Stefan Kost provided an help command for the shell DanielDaniel Veillard2001-11-081-1/+18
| | | | | * debugXML.c: Stefan Kost provided an help command for the shell Daniel
* Heiko Rupp pointed that the shell would crash on empty nodesets returns.Daniel Veillard2001-11-071-5/+16
| | | | | | * debugXML.c: Heiko Rupp pointed that the shell would crash on empty nodesets returns. Daniel
* applied an improvement to xmlGetLineNo() from Keith Isdale DanielDaniel Veillard2001-11-051-4/+6
| | | | | | * debugXML.c: applied an improvement to xmlGetLineNo() from Keith Isdale Daniel
* bool can be a reserved keyword. DanielDaniel Veillard2001-11-011-3/+3
| | | | | | * debugXML.c include/libxml/debugXML.h: bool can be a reserved keyword. 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
* started integrating the non-controversial parts of Gary PenningtonDaniel Veillard2001-10-111-1/+1
| | | | | | | | | * HTMLtree.c catalog.c debugXML.c entities.c nanoftp.c parser.c valid.c xmlmemory.c xpath.c xpointer.c: started integrating the non-controversial parts of Gary Pennington multithread patches * catalog.c: corrected a small bug introduced Daniel
* integrating Keith Isdale patches for the XSLT debugger interfaces. SomeDaniel Veillard2001-10-111-512/+734
| | | | | | | * include/libxml/debugXML.h debugXML.c tree.c: integrating Keith Isdale patches for the XSLT debugger interfaces. Some cleanup Daniel
* deprecate the non-boundchecking Sprintf functions, add Snprintf thisDaniel Veillard2001-08-151-1/+1
| | | | | | | * include/libxml/valid.h debugXML.c valid.c: deprecate the non-boundchecking Sprintf functions, add Snprintf this should close bug #57984 Daniel
* fixed a bug when walking the descendants and the current node has noDaniel Veillard2001-08-011-4/+5
| | | | | | | * xpath.c: fixed a bug when walking the descendants and the current node has no children * debugXML.c: show up when a text node is supposed to not be escaped Daniel
* Cleanup, cleanup .. removed libxml softlink for good cleanup to get 100%Daniel Veillard2001-07-181-256/+366
| | | | | | | | 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
* store the line numbder in element->content, may break some software, needDaniel Veillard2001-07-121-3/+6
| | | | | | | * 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-3/+35
| | | | | | | | * 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
* 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
* - parserInternals.c xpath.[ch]: some UTF8 cleanup onDaniel Veillard2001-04-271-0/+6
| | | | | | | | | | xmlXPathParseName - xpath.c: Igor Zlatkovic suggested a change for NAN and MSC - debugXML.c: avoid compilation problems if compiling without HTML support, Igor Zlatkovic - win32/libxml2/libxml2.def.src: being able to compile without XPath on Windows Daniel
* Time to work on helping the Gnome Doc project, first step is reintegratingDaniel Veillard2001-04-231-2/+2
| | | | | | | | | | | 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
* trio upgrade and integrationBjorn Reese2001-04-211-8/+1
|
* - debugXML.c hash.c tree.h valid.c : some changes related toDaniel Veillard2001-04-181-0/+3
| | | | | | | the validation suport to improve speed with DocBook - result/VC/OneID2 result/VC/OneID3 : this slightly changes the way validation errors get reported Daniel
* Spring cleanup ...: - configure.in Makefile.am config.h.inDaniel Veillard2001-03-271-12/+0
| | | | | | | | | | | | | | | | | | | Spring cleanup ...: - configure.in Makefile.am config.h.in xmlversion.h.in: detect if we need string functions - trio.[ch] strio.[ch]: embedded the Trio-0.23 string functions to be able to use them where needed. Applied some changes to reduce name linking pollution and compile in only what's needed. - HTMLtree.c debugXML.c entities.c error.c nanoftp.c valid.c xlink.c xmlversion.h.in xpath.c: got rid of the #ifdef for the string manipulation functions - xmlmemory.[ch]: removed DEBUG_MEMORY_FREED and added it automatically to the free() function of xmlmemory.c - entities.c HTMLtree.c parserInternals.c tree.c uri.c valid.c xinclude.c xmlIO.c xpath.c xpointer.c: removed the MEM_CLEANUP usage. Daniel
* - HTMLparser.c HTMLtree.c SAX.c debugXML.c error.c parserInternals.cDaniel Veillard2001-03-261-29/+17
| | | | | | | | | testHTML.c testSAX.c tree.c valid.c xmlIO.c xmlmemory.c xmlversion.h.in xpointer.c: of course the way I defined UNUSED breaks on old gcc version. Try to be smart and also define it directly in xmlversion.h - configure.in: removed -ansi flag from the pedantic set Daniel
* Huge cleanup, I switched to compile withDaniel Veillard2001-03-241-46/+68
| | | | | | | | | | | | | | | | | | | | -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