include


Log

Author Commit Date CI Message
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 bd2904b9 2003-11-25T15:38:59 added xsd:include support, fixed testSchemas behaviour when a schemas * include/libxml/schemasInternals.h include/libxml/xmlerror.h testSchemas.c xmlschemas.c: added xsd:include support, fixed testSchemas behaviour when a schemas failed to parse. * test/schemas/vdv-* result/schemas/vdv-first5_0_0*: added one test for xsd:include from Eric Van der Vlist Daniel
Daniel Veillard be9c6320 2003-11-22T20:37:51 lot of bug fixes, cleanup, starting to add proper namespace support too. * xmlschemas.c xmlschemastypes.c include/libxml/xmlerror.h include/libxml/schemasInternals.h: lot of bug fixes, cleanup, starting to add proper namespace support too. * test/schemas/* result/schemas/*: added a number of tests fixed the result from some regression tests too. Daniel
Daniel Veillard 5841f0e0 2003-11-20T11:59:09 applied patch from Alfred Mickautsch, bugfixes and comments added his test * xmlwriter.c include/libxml/xmlwriter.h: applied patch from Alfred Mickautsch, bugfixes and comments * doc/examples/*: added his test as the xmlWriter example * doc/html/ doc/*.html: this resulted in some improvements * include/libxml/hash.h: fixed an inclusion problem when <libxml/hash.h> wasn't preceeded by <xml/parser.h> 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
William M. Brack b1d53165 2003-11-18T06:54:40 minor enhancement to prevent comment with unreferenced variable. edited * genChRanges.py, chvalid.c, include/libxml/chvalid.h: minor enhancement to prevent comment with unreferenced variable. * threads.c xmlreader.c xmlwriter.c: edited some comments to improve auto-generation of documentation * apibuild.py: minor change to an error message
William M. Brack 60f394e9 2003-11-16T06:25:42 Finally - found the problem with the page generation (XMLPUBFUN not * doc/html/*.html: Finally - found the problem with the page generation (XMLPUBFUN not recognized by gtkdoc). Re-created the pages using a temporary version of include/libxml/*.h. * testOOMlib.c,include/libxml/encoding.h, include/libxml/schemasInternals.h,include/libxml/valid.h, include/libxml/xlink.h,include/libxml/xmlwin32version.h, include/libxml/xmlwin32version.h.in, include/libxml/xpathInternals.h: minor edit of comments to help automatic documentation generation * doc/docdescr.doc: small elaboration * doc/examples/test1.c,doc/examples/Makefile.am: re-commit (messed up on last try) * xmlreader.c: minor change to clear warning.
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
William M. Brack 2ad1dfff 2003-11-15T10:35:20 rebuilt the generated pages (again), manually restored doc/html/index.html * doc/Makefile.am doc/*.html doc/html/*.html: rebuilt the generated pages (again), manually restored doc/html/index.html and manually edited generated file doc/gnome-xml.xml to put in appropriate headings. * doc/docdescr.doc: new file to describe details of the document generation (helps my memory for the next time) * genChRanges.py,chvalid.c,include/libxml/chvalid.h: minor enhancement to please the automatic documentation generation.
William M. Brack 272693c7 2003-11-14T16:20:34 minor error cleanup for gcc-3.3.[12] compilation warnings. * catalog.c,relaxng.c,testAutomata.c,xpointer.c,genChRanges.py, chvalid.c,include/libxml/chvalid.h,doc/examples/test1.c: minor error cleanup for gcc-3.3.[12] compilation warnings.
William M. Brack 8763df8d 2003-11-10T15:49:27 fixed missing '-' in block names, enhanced the hack for ABI aliasing. * genUnicode.py, xmlunicode.c, include/libxml/xmlunicode.h: fixed missing '-' in block names, enhanced the hack for ABI aliasing.
William M. Brack ea939087 2003-11-09T12:45:26 enhanced for range checking, updated to Unicode version 4.0.1 (API docs * genUnicode.py, xmlunicode.c, include/libxml/xmlunicode.h, python/libxml2class.txt: enhanced for range checking, updated to Unicode version 4.0.1 (API docs also updated) * python/generator.py: minor change to fix a warning
William M. Brack 30ce0dd0 2003-11-04T23:57:30 changed macro ATTRIBUTE_UNUSED for gcc so that, if undefined, it's defined * include/libxml/xmlversion.h.in: changed macro ATTRIBUTE_UNUSED for gcc so that, if undefined, it's defined as __attribute__((unused))
Daniel Veillard 61b9338c 2003-11-03T14:28:31 implemented the XML_PARSE_NONET parser option. converted xmllint.c to use * parser.c xmlIO.c include/libxml/parserInternals.h: implemented the XML_PARSE_NONET parser option. * xmllint.c: converted xmllint.c to use the option instead of relying on the global resolver variable. Daniel
Daniel Veillard 7899c5c5 2003-11-03T12:31:38 adding XInclude support to the reader interface. Lot of testing of the * xinclude.c xmlreader.c include/libxml/xinclude.h: adding XInclude support to the reader interface. Lot of testing of the walker, various bug fixes. * xmllint.c: added --walker and made sure --xinclude --stream --debug works as expected * Makefile.am result/dtd11.rdr result/ent6.rdr test/dtd11 test/ent6 result/XInclude/*.rdr: added regression tests for the walker and XInclude xmlReader support, had to slightly change a couple of tests because the walker can't distinguish <foo/> from <foo></foo> Daniel
Daniel Veillard 94394cd1 2003-10-29T17:07:51 more fixes about unregistering objects applied patch from Mark Vakoc * xpath.c: more fixes about unregistering objects * include/libxml/relaxng.h: applied patch from Mark Vakoc missing _cplusplus processing clause Daniel
Aleksey Sanin b5a46da4 2003-10-29T15:51:17 added xmlStrVPrintf function
Daniel Veillard 9d751504 2003-10-29T13:21:47 applied patch from Steve Ball to make a schema parser from a preparsed * xmlschemas.c include/libxml/xmlschemas.h: applied patch from Steve Ball to make a schema parser from a preparsed document. Daniel
Daniel Veillard 9ba8e389 2003-10-28T21:31:45 included a new function to reuse a Push parser context, based on Graham * parser.c include/libxml/parser.h: included a new function to reuse a Push parser context, based on Graham Bennett original code * valid.c: in HTML, a name in an input is not an ID * TODO: bug list update Daniel
Daniel Veillard 72b9e29e 2003-10-28T15:44:17 cleanup fixing bug #125653 sometimes the error handlers can get a parser * Makefile.am: cleanup * error.c valid.c include/libxml/xmlerror.h: fixing bug #125653 sometimes the error handlers can get a parser context on DTD errors, and sometime they don't. So be very careful when trying to grab those informations. Daniel
Daniel Veillard f5cb3cd9 2003-10-28T13:58:13 fixed #123263, the encoding is mandatory in a textdecl. Daniel * parser.c: fixed #123263, the encoding is mandatory in a textdecl. Daniel
Daniel Veillard 4772af6c 2003-10-27T16:23:43 fix bug #125592 need a NULL check rename a parameter Daniel * testSAX.c: fix bug #125592 need a NULL check * include/libxml/chvalid.h: rename a parameter 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 198c1bfc 2003-10-20T17:07:41 removing xmldwalk module since it got merged with the xmlreader. cleanup * Makefile.am configure.in xmldwalk.c xmlreader.c include/libxml/Makefile.am include/libxml/xmldwalk.h include/libxml/xmlversion.h.in: removing xmldwalk module since it got merged with the xmlreader. * parser.c: cleanup * win32/libxml2.def.src python/libxml2class.txt doc/libxml2-api.xml: rebuilt the API * python/tests/Makefile.am python/tests/reader7.py python/tests/walker.py: adding regression testing for the new xmlreader APIs, new APIs for reader creation, including makeing reader "walker" operating on preparsed document trees. 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 a840b692 2003-10-19T13:35:37 Fixed the HTTP<->parser interraction, which should fix 2 long standing * include/libxml/nanohttp.h include/libxml/parserInternals.h include/libxml/xmlIO.h nanohttp.c parserInternals.c xmlIO.c: Fixed the HTTP<->parser interraction, which should fix 2 long standing bugs #104790 and #124054 , this also fix the fact that HTTP error code (> 400) should not generate data, we usually don't want to parse the HTML error information instead of the resource looked at. Daniel
William M. Brack 76e95df0 2003-10-18T16:20:14 Changed all (?) occurences where validation macros (IS_xxx) had * 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.
William M. Brack 196b3886 2003-10-18T12:42:41 enhanced to include enough comments to make the api doc generation happy. * genChRanges.py, chvalid.c, include/libxml/chvalid.h, doc/apibuild.py: enhanced to include enough comments to make the api doc generation happy.
Daniel Veillard 847332a0 2003-10-18T11:29:40 starting work to fix the HTTP/XML parser integration. Daniel * nanohttp.c xmlIO.c include/libxml/nanohttp.h: starting work to fix the HTTP/XML parser integration. Daniel
Daniel Veillard fc8dc355 2003-10-18T09:07:46 added new APIs for creating reader from sources or reusing a reader with a * xmlreader.c include/libxml/xmlreader.h: added new APIs for creating reader from sources or reusing a reader with a new source, like the xmlReadxx and xmlCtxtReadxxx * win32/libxml2.def.src doc/libxml2-api.xml doc/apibuild.py doc/Makefile.am: regenerated the APIs * doc/xml.html: applied a patch from Stefan Kost for namesapce docs Daniel
William M. Brack 871611bb 2003-10-18T04:53:14 enhanced macros to avoid breaking ABI from previous versions. modified to * genChRanges.py, chvalid.c, include/libxml/chvalid.h, include/libxml/parserInternals.h: enhanced macros to avoid breaking ABI from previous versions. * catalog.c, parser.c, tree.c: modified to use IS_* macros defined in parserInternals.h. Makes maintenance much easier. * testHTML.c, testSAX.c, python/libxml.c: minor fixes to avoid compilation warnings * configuration.in: fixed pushHTML test error; enhanced for better devel (me) testing
Daniel Veillard 4aede2e6 2003-10-17T12:43:59 remove the warning for startDocument(), as it is used by glade (or * legacy.c: remove the warning for startDocument(), as it is used by glade (or glade-python) * parser.c relaxng.c xmlschemastypes.c: fixed an assorted set of invalid accesses found by running some Python based regression tests under valgrind. There is still a few leaks reported by the relaxng regressions which need some attention. * doc/Makefile.am: fixed a make install problem c.f. #124539 * include/libxml/parserInternals.h: addition of xmlParserMaxDepth patch from crutcher Daniel
William M. Brack c4b8189a 2003-10-12T10:42:46 fixed a bug in the range search; enhanced range generation (inline code if * genChRanges.py, chvalid.c, include/libxml/chvalid.h: fixed a bug in the range search; enhanced range generation (inline code if a small number of intervals); enhanced the readability of the output files.
Daniel Veillard ea887cfd 2003-10-11T22:53:44 rebuilt chvalid.def from scratch based on XML 2nd edition REC and * chvalid.def chvalid.c include/libxml/chvalid.h: rebuilt chvalid.def from scratch based on XML 2nd edition REC and regenerated the code. Daniel
Daniel Veillard 1a99396b 2003-10-11T20:58:06 removed some annoying warnings fixed a bug in the PubidChars definition, * check-xml-test-suite.py: removed some annoying warnings * chvalid.def chvalid.c include/libxml/chvalid.h: fixed a bug in the PubidChars definition, regenerated, there is still a bug left somewhere * genChRanges.py: save the header directly in include/libxml/ * configure.in: I generated a 2.6.0beta6 earlier today Daniel
William M. Brack 418342bc 2003-10-11T15:35:40 fixed small error on previous commit (chvalid.h in base dir instead of * fixed small error on previous commit (chvalid.h in base dir instead of include directory)
William M. Brack 68aca051 2003-10-11T15:22:13 new files for a different method for doing range validation of character * genChRange.py, chvalid.def, chvalid.c, include/libxml/chvalid.h: new files for a different method for doing range validation of character data. * Makefile.am, parserInternals.c, include/libxml/Makefile.am, include/libxml/parserInternals.h: modified for new range method. * catalog.c: small enhance for warning message (using one of the new range routines)
Daniel Veillard 73000574 2003-10-11T11:26:42 adding an serror field to the validation context breaks the ABI for the * valid.c include/libxml/valid.h: adding an serror field to the validation context breaks the ABI for the xmlParserCtxt structure since it's embedded by content and not by reference Daniel
Daniel Veillard 2b0f8799 2003-10-10T19:36:36 fixed a nasty bug with interning some text strings prepare for beta5 of * SAX2.c: fixed a nasty bug with interning some text strings * configure.in: prepare for beta5 of 2.6.0 * libxml.h nanoftp.c nanohttp.c xmlIO.c include/libxml/xmlerror.h: better error handling for I/O and converted FTP and HTTP * parser.c: fixed another bug 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 659e71ec 2003-10-10T14:10:40 Setting up the framework for structured error reporting, touches a lot of * HTMLparser.c c14n.c catalog.c error.c globals.c parser.c parserInternals.c relaxng.c valid.c xinclude.c xmlIO.c xmlregexp.c xmlschemas.c xpath.c xpointer.c include/libxml/globals.h include/libxml/parser.h include/libxml/valid.h include/libxml/xmlerror.h: Setting up the framework for structured error reporting, touches a lot of modules, but little code now the error handling trail has been cleaned up. Daniel
Daniel Veillard d96cce1a 2003-10-10T12:30:37 converted the C14N module too Daniel * c14n.c include/libxml/xmlerror.h: converted the C14N module too Daniel
Daniel Veillard fcf719ce 2003-10-10T11:42:17 cleanup migrated XPointer module to the new error mechanism Daniel * xpath.c: cleanup * xpointer.c include/libxml/xmlerror.h: migrated XPointer module to the new error mechanism Daniel
Daniel Veillard d0c9c32f 2003-10-10T00:49:42 cleanup fix a funny typo converted the Schemas code to the new error * Makefile.am: cleanup * encoding.c: fix a funny typo * error.c xmlschemas.c xmlschemastypes.c include/libxml/xmlerror.h: converted the Schemas code to the new error handling. PITA, still need to check output from regression tests. Daniel
Daniel Veillard e2238d56 2003-10-09T13:14:55 converted too small cleanup Daniel * HTMLtree.c include/libxml/xmlerror.h: converted too * tree.c: small cleanup Daniel
Daniel Veillard 69d2c171 2003-10-09T11:46:07 comment fix migrating the catalog code to the new infrastructure Daniel * xinclude.c: comment fix * catalog.c include/libxml/xmlerror.h: migrating the catalog code to the new infrastructure Daniel
Daniel Veillard cd6ff282 2003-10-08T22:38:13 final error handling cleanup converted XInclude to the new error handling * xmlIO.c: final error handling cleanup * xinclude.c error.c: converted XInclude to the new error handling * include/libxml/xmlerror.h: added XInclude errors Daniel
Daniel Veillard 97bf4d02 2003-10-08T18:58:28 better handling of error cases Daniel * xmlIO.c: better handling of error cases Daniel
Daniel Veillard 05d987b4 2003-10-08T11:54:57 first pass at cleaning up error handling in the I/O module. Daniel * xmlIO.c xmllint.c include/libxml/xmlerror.h: first pass at cleaning up error handling in the I/O module. Daniel
Daniel Veillard ff46a044 2003-10-08T08:53:17 error handling cleanup of the Regexp module. Daniel * xmlregexp.c include/libxml/xmlerror.h: error handling cleanup of the Regexp module. Daniel
Daniel Veillard 18ec16e7 2003-10-07T23:16:40 converting the tree module too created a simpler internal error reporting * tree.c: converting the tree module too * error.c include/libxml/xmlerror.h: created a simpler internal error reporting function. Daniel
Daniel Veillard d96f6d34 2003-10-07T21:25:12 cleaning up XPath error reporting that time. applied the two patches for * error.c include/libxml/xmlerror.h include/libxml/xpath.h include/libxml/xpathInternals.h xpath.c: cleaning up XPath error reporting that time. * threads.c: applied the two patches for TLS threads on Windows from Jesse Pelton * parser.c: tiny safety patch for xmlStrPrintf() make sure the return is always zero terminated. Should also help detecting passing wrong buffer size easilly. * result/VC/* result/valid/rss.xml.err result/valid/xlink.xml.err: updated the results to follow the errors string generated by last commit. Daniel
Daniel Veillard 6edbfbbe 2003-10-07T12:17:44 last cleanup of error handling in the Relax-NG module. Daniel * relaxng.c include/libxml/xmlerror.h: last cleanup of error handling in the Relax-NG module. Daniel
Daniel Veillard 4c004147 2003-10-07T11:33:24 switched Relax-NG module to teh new error reporting. Better default * error.c relaxng.c include/libxml/xmlerror.h: switched Relax-NG module to teh new error reporting. Better default report, adds the element associated if found, context and node are included in the xmlError * python/tests/reader2.py: the error messages changed. * result/relaxng/*: error message changed too. Daniel
Daniel Veillard ce9457f3 2003-10-05T21:33:18 more cleanup of error handling in parserInternals, sharing the routine for * parserInternals.c parser.c valid.c include/libxml/parserInternals.h: more cleanup of error handling in parserInternals, sharing the routine for memory errors. Daniel
Daniel Veillard f403d298 2003-10-05T13:51:35 more code cleanup, especially around error messages, the HTML parser has * HTMLparser.c Makefile.am legacy.c parser.c parserInternals.c include/libxml/xmlerror.h: more code cleanup, especially around error messages, the HTML parser has now been upgraded to the new handling. * result/HTML/*: a few changes in the resulting error messages Daniel
Daniel Veillard 24eb9785 2003-10-04T21:08:09 more error/warning handling cleanups, the XML parser module should be okay * parser.c include/libxml/xmlerror.h: more error/warning handling cleanups, the XML parser module should be okay now. Daniel
Daniel Veillard 1ae42d65 2003-10-03T23:59:20 integrated the xmlDocWalker API given by Alfred Mickautsch, and providing * Makefile.am configure.in xmldwalk.c include/libxml/Makefile.am include/libxml/xmldwalk.h include/libxml/xmlversion.h.in: integrated the xmlDocWalker API given by Alfred Mickautsch, and providing an xmlReader like API but working on a xmlDocPtr. Daniel
Daniel Veillard bb5ababa 2003-10-03T22:21:51 more cleanup in make tests more work in the transition to the new error * Makefile.am: more cleanup in make tests * error.c valid.c parser.c include/libxml/xmlerror.h: more work in the transition to the new error reporting strategy. * python/tests/reader2.py result/VC/* result/valid/*: few changes in the strings generated by the validation output Daniel
Daniel Veillard 2b8c4a15 2003-10-02T22:28:19 changed 'make tests' to use a concise output, scrolling to see where thing * Makefile.am: changed 'make tests' to use a concise output, scrolling to see where thing broke wasn't pleasant * configure.in: some beta4 preparation, but not ready yet * error.c globals.c include/libxml/globals.h include/libxml/xmlerror.h: new error handling code, last error informations are stored in the parsing context or a global variable, new APIs to handle the xmlErrorPtr type. * parser.c parserInternals.c valid.c : started migrating to the new error handling code, it's a royal pain. * include/libxml/parser.h include/libxml/parserInternals.h: moved the definition of xmlNewParserCtxt() * parser.c: small potential buffer access problem in push code provided by Justin Fletcher * result/*.sax result/VC/PENesting* result/namespaces/* result/valid/*.err: some error messages were sligthly changed. Daniel
Aleksey Sanin e7acf431 2003-10-02T20:05:27 introduced xmlStrPrintf function - wrapper for snprintf
Daniel Veillard 3648fcb5 2003-10-01T12:21:31 let's see how much of a pain murrayc is really gonna be. Daniel * DOCBparser.c include/libxml/DOCBparser.h: let's see how much of a pain murrayc is really gonna be. Daniel
Daniel Veillard 73b013fc 2003-09-30T12:36:01 added a new configure option --with-push, some cleanups, chased code size * HTMLparser.c Makefile.am configure.in legacy.c parser.c parserInternals.c testHTML.c xmllint.c include/libxml/HTMLparser.h include/libxml/parser.h include/libxml/parserInternals.h include/libxml/xmlversion.h.in: added a new configure option --with-push, some cleanups, chased code size anomalies. Now a library configured --with-minimum is around 150KB, sounds good enough. Daniel
Daniel Veillard 8127390f 2003-09-30T00:43:48 added 2 new configure option: --with-reader --with-sax1 to allow removing * Makefile.am SAX.c SAX2.c configure.in globals.c parser.c parserInternals.c testReader.c testSAX.c xmlIO.c xmllint.c xmlreader.c example/gjobread.c include/libxml/xmlversion.h.in: added 2 new configure option: --with-reader --with-sax1 to allow removing the reader or non-xmlReadxxx() interfaces. 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 4432df23 2003-09-28T18:58:27 cleanup, creating a new legacy.c module, made sure make tests ran in * Makefile.am: cleanup, creating a new legacy.c module, made sure make tests ran in reduced conditions * SAX.c SAX2.c configure.in entities.c globals.c parser.c parserInternals.c tree.c valid.c xlink.c xmlIO.c xmlcatalog.c xmlmemory.c xpath.c xmlmemory.c include/libxml/xmlversion.h.in: increased the modularization, allow to configure out validation code and legacy code, added a configuration option --with-minimum compiling only the mandatory code which then shrink to 200KB. Daniel
Daniel Veillard 9ee35f36 2003-09-28T00:19:54 fix a bug raised by the Mips compiler. move the SAXv1 block definitions to * parser.c: fix a bug raised by the Mips compiler. * include/libxml/SAX.h include/libxml/parser.h: move the SAXv1 block definitions to parser.h fixes bug #123380 * xmlreader.c include/libxml/xmlreader.h: reinstanciate the attribute and element pool borken 2 commits ago. Start playing with an entry point to preserve a subtree. * entities.c: remove a warning. Daniel
Daniel Veillard 9475a352 2003-09-26T12:47:50 added the same htmlRead APIs than their XML counterparts new parser * HTMLparser.c testHTML.c xmllint.c include/libxml/HTMLparser.h: added the same htmlRead APIs than their XML counterparts * include/libxml/parser.h: new parser options, not yet implemented, added an options field to the context. * tree.c: patch from Shaun McCance to fix bug #123238 when ]]> is found within a cdata section. * result/noent/cdata2 result/cdata2 result/cdata2.rdr result/cdata2.sax test/cdata2: add one more cdata test Daniel
Daniel Veillard 60942def 2003-09-25T21:05:58 Changed the new xmlRead/xmlCtxtRead APIs to have an extra base URL * parser.c xmllint.c doc/libxml2-api.xml include/libxml/parser.h: Changed the new xmlRead/xmlCtxtRead APIs to have an extra base URL parameter when not loading from a file or URL. Daniel
Daniel Veillard 092643b5 2003-09-25T14:29:29 preparing a beta3 solving the ABI problems make sure the global variables * configure.in: preparing a beta3 solving the ABI problems * globals.c parser.c parserInternals.c testHTML.c HTMLparser.c SAX.c include/libxml/globals.h include/libxml/SAX.h: make sure the global variables for the default SAX handler are V1 ones to avoid ABI compat problems. * xmlreader.c: cleanup of uneeded code * hash.c: fix a comment Daniel
Daniel Veillard 7a02cfe0 2003-09-25T12:18:34 fixing some comments to avoid warnings from apibuild.py Daniel * SAX2.c hash.c parser.c include/libxml/xmlexports.h include/libxml/xmlmemory.h include/libxml/xmlversion.h.in: fixing some comments to avoid warnings from apibuild.py Daniel
Daniel Veillard e96a2a4b 2003-09-24T21:23:56 adding repeated parsing and validating tests make the new DOM tree * Makefile.am: adding repeated parsing and validating tests * SAX2.c parser.c tree.c include/libxml/parser.h: make the new DOM tree building interfaces use the dictionary from the parsing context to build the element and attributes names as well as formatting spaces and short text nodes * include/libxml/dict.h dict.c: added some reference counting for xmlDictPtr because they can be shared by documents and a parser context. * xmlreader.c: a bit of cleanup, remove the specific tree freeing functions and use the standard ones now. * xmllint.c: add --nodict * python/libxml.c: fix a stupid bug so that ns() works on attribute nodes. Daniel
Daniel Veillard 16fa96c5 2003-09-23T21:50:54 adding a new set of API for parsing xmlReadDoc() xmlReadFile() ... * parser.c include/libxml/parser.h: adding a new set of API for parsing xmlReadDoc() xmlReadFile() ... xmlReadIO() and xmlCtxtReadDoc() ... xmlCtxtReadIO(). That with a clear define of xmlParserOption, xmlCtxtUseOptions() should simplify custom parsing without being tempted to use global variables, and xmlCtxtReset() should allow reuse of a context for multiple parsing. * xmllint.c: switched to use xmlReadXXX, allow options to be used simultaneously with less troubles. * tree.c: simple warning removal * doc/apibuild.py: small fix * doc/libxml2-api.xml win32/libxml2.def.src: updated Daniel
Daniel Veillard 9ec2653a 2003-09-23T07:43:19 applied patch from Markus Keim fixing a problem with I/O callback * xmlIO.c: applied patch from Markus Keim fixing a problem with I/O callback registration. * include/libxml/xmlerror.h: fixed #122994 comment numbering for xmlParserErrors 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 e72c508c 2003-09-19T12:44:05 preparing a 2.6.0-beta2 release avoid a warning avoid duplicate code in * configure.in: preparing a 2.6.0-beta2 release * xmlIO.c: avoid a warning * tree.c: avoid duplicate code in xmlReplaceNode as pointed out by Chris Ryland * include/libxml/dict.h: add a QName access lookup to the dictionary. * xmlreader.c include/libxml/xmlreader.h: adding const access based on the dictionary interface for string read from the reader, the node content access is still TODO, it's too different 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 1989505a 2003-09-17T13:59:32 more performance hunting reducing memory allocation and free and avoiding * SAX2.c xmlreader.c include/libxml/parser.h: more performance hunting reducing memory allocation and free and avoiding expensive routines Daniel
Daniel Veillard 81514ba4 2003-09-16T23:17:26 do string allocations in large pools, allowing to find if a string pertain * dict.c include/libxml/dict.h: do string allocations in large pools, allowing to find if a string pertain to a dict quickly * xmllint.c: fix --stream --repeat --timing * Makefile.am: the testThreads run output should be seen. Daniel
Daniel Veillard 8a44e59d 2003-09-15T14:50:06 starting work on reusing the parser dictionary for the element and * SAX2.c include/libxml/parser.h: starting work on reusing the parser dictionary for the element and attribute tag names. Add pools for Element and Attributes in the parser context, which should help speeding up the reader. * Makefile.am result/*.rdr : adding non-python reader regression tests. Daniel
Daniel Veillard bdbe0d4e 2003-09-14T19:56:14 factoring of more error handling code, serious size reduction and more * parser.c include/libxml/xmlerror.h: factoring of more error handling code, serious size reduction and more lisibility of the resulting code. * parserInternals.c parser.c include/libxml/parserInternals.h include/libxml/parser.h: changing the way VC:Proper Group/PE Nesting checks are done, use a counter for entities. Entities where freed and reallocated at the same address failing the check. * tree.c: avoid a warning * result/valid/* result/VC/*: this slightly changes some validation error messages. Daniel
Daniel Veillard 1afc9f33 2003-09-13T12:44:05 starting cleaning up error handling, factorize error processing update of * parser.c include/libxml/xmlerror.h: starting cleaning up error handling, factorize error processing * doc/xmllint.html: update of the page, remove --sgml Daniel
Daniel Veillard 877a7bd6 2003-09-13T00:16:32 removing the broken pseudo SGML DocBook parser code. Daniel * Makefile.am DOCBparser.c parserInternals.c testDocbook.c xmllint.c doc/xmllint.xml doc/xmllint.1: removing the broken pseudo SGML DocBook parser code. Daniel
Daniel Veillard 3b7840cd 2003-09-11T23:42:01 adding namespace checkings while making sure they still parse as * parser.c parserInternals.c tree.c include/libxml/parser.h include/libxml/xmlerror.h: adding namespace checkings while making sure they still parse as wellformed documents. Add an nsWellFormed status report to the context, and provide new appropriate error codes. * Makefile.am result/namespaces/* test/namespaces/*: add specific regression testing for the new namespace support * test/att5 result/noent/att5 result/att5 result/att5.sax: add more coverage for the attribute parsing and normalization code. Daniel
Daniel Veillard 07cb8226 2003-09-10T10:51:05 Time to commit 3 days of work rewriting the parser internal, fixing bugs and migrating to SAX2 interface by default. There is some work letf TODO, like namespace validation and attributes normalization (this break C14N right now) * Makefile.am: fixed the test rules * include/libxml/SAX2.h include/libxml/parser.h include/libxml/parserInternals.h SAX2.c parser.c parserInternals.c: changing the parser, migrating to SAX2, adding new interface to switch back to SAX1 or initialize a SAX block for v1 or v2. Most of the namespace work is done below SAX, as well as attribute defaulting * globals.c: changed initialization of the default SAX handlers * hash.c tree.c include/libxml/hash.h: added QName specific handling * xmlIO.c: small fix * xmllint.c testSAX.c: provide a --sax1 switch to test the old version code path * result/p3p result/p3p.sax result/noent/p3p test/p3p: the new code pointed out a typo in a very old test namespace Daniel
William M. Brack c07329e2 2003-09-08T01:57:30 Implemented detection of compressed files, setting doc->compressed * xmlIO.c include/libxml/xmlIO.h parser.c: Implemented detection of compressed files, setting doc->compressed appropriately (bug #120503).
Daniel Veillard 0fb18935 2003-09-07T09:14:37 allow to give -1 for undefined length in lookups first round of work on * dict.c: allow to give -1 for undefined length in lookups * include/libxml/parser.h parser.c parserInternals.c testSAX.c: first round of work on the new SAX2 interfaces, the API will change but commiting before changing for historical reference. Daniel
Daniel Veillard 93625d30 2003-09-05T08:36:12 patch from Stéphane Bidoul to export globals entry points to the python * include/libxml/globals.h: patch from Stéphane Bidoul to export globals entry points to the python bindings 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 5e483c86 2003-09-02T14:01:32 additional macros, mingw section
Igor Zlatkovic 01d99951 2003-08-28T16:26:39 fixed typos reported by Mark Vakoc
Igor Zlatkovic aa3cfbd0 2003-08-27T08:59:58 realigned parameters after taint
Igor Zlatkovic 5b316cd1 2003-08-27T08:01:18 fixed defs for Borland compiler, as reported by Eric Zurcher
Daniel Veillard 68f8fad7 2003-08-25T11:28:07 make sure the new header will be included when generating a new * include/libxml/Makefile.am: make sure the new header will be included when generating a new distribution. Daniel
Igor Zlatkovic 93f984af 2003-08-25T10:34:41 realigned the parameters after taint
Igor Zlatkovic cd38635d 2003-08-25T10:05:36 changed default var export to extern
Igor Zlatkovic f05e5d14 2003-08-25T09:15:36 moved export defs to a separate file for consistency
Igor Zlatkovic 76874e45 2003-08-25T09:05:12 Exportability taint of the headers
Daniel Veillard 1af9a41f 2003-08-20T22:54:39 Adding new version of the SAX interface, it's not there yet, currently * Makefile.am SAX2.c include/libxml/Makefile.am include/libxml/SAX2.h: Adding new version of the SAX interface, it's not there yet, currently just preparing the work * globals.c parser.c SAX.c include/libxml/SAX.h include/libxml/globals.h include/libxml/parser.h: doing some refactoring of the SAXv1 interfaces, obsoleting a bunch of them while keeping functionalities, preparing SAX2 integration. * dict.c: small cleanup. Daniel