Log

Author Commit Date CI Message
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
Daniel Veillard 520f5854 2003-10-17T09:21:57 Removed deprecated Win32 compilation tools, Daniel
Daniel Veillard 04054bec 2003-10-15T10:48:54 Marc Liyanage pointed out that xmlCleanupParser() was missing * parser.c: Marc Liyanage pointed out that xmlCleanupParser() was missing xmlCleanupInputCallbacks and xmlCleanupOutputCallbacks calls. Daniel
Daniel Veillard 9339b74c 2003-10-15T08:18:00 VMS patch from Craig A. Berry Daniel * vms/build_libxml.com trionan.c: VMS patch from Craig A. Berry Daniel
Daniel Veillard 903cd385 2003-10-13T19:47:09 small fix from Bjorn Reese Daniel * Makefile.am: small fix from Bjorn Reese Daniel
Daniel Veillard 0cc72777 2003-10-13T14:00:21 fix a call missing arguments Daniel * valid.c: fix a call missing arguments Daniel
William M. Brack 0850b87d 2003-10-12T23:55:46 *** empty log message ***
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 6819a4e3 2003-10-11T15:59:36 fixed problem with include path (third time's a charm?) * genChRange.py, chvalid.c: fixed problem with include path (third time's a charm?)
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 9bcc7c5a 2003-10-11T10:57:05 Dohhh ! Daniel Dohhh ! Daniel
Daniel Veillard c790bf4b 2003-10-11T10:50:10 patch from Mike Hommey applied Windows patch from Jesse Pelton and * configure.in: patch from Mike Hommey * threads.c: applied Windows patch from Jesse Pelton and Stephane Bidoul * parser.c: fix the potentially nasty access to ctxt->serror without checking first that the SAX block is version 2 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 ffbbed42 2003-10-10T14:46:54 fixed uninitialized new field. fixed a typo updating all messages Daniel * SAX2.c: fixed uninitialized new field. * result/VC/OneID2 result/relaxng/*.err: fixed a typo updating all messages 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 87db3a84 2003-10-10T10:52:58 a bit of cleanup updated with the new result strings Daniel * error.c xmlschemas.c: a bit of cleanup * result/schemas/*.err: updated with the new result strings Daniel
William M. Brack 40c22b47 2003-10-10T03:58:39 fixed bug 124061 (problem with namespace eval) * xpath.c: fixed bug 124061 (problem with namespace eval)
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 b65e12e3 2003-10-08T21:33:28 bug in compression saving was crashing galeon, reported by teuf Daniel * parser.c: bug in compression saving was crashing galeon, reported by teuf Daniel
Daniel Veillard a8856220 2003-10-08T19:26:03 Oops, Daniel
Daniel Veillard 828ce83d 2003-10-08T19:19:10 more cleanup through the I/O error path Daniel * error.c tree.c xmlIO.c xmllint.c: more cleanup through the I/O error path 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 141310af 2003-10-06T08:47:56 applied patch from Stéphane Bidoul to fix the compilation of 2.6.0 code on * win32/Makefile.bcb win32/Makefile.mingw win32/Makefile.msvc win32/configure.js: applied patch from Stéphane Bidoul to fix the compilation of 2.6.0 code on Win32 Daniel
Daniel Veillard 8f597c3b 2003-10-06T08:19:27 fixing the script replace sequences of RAW && NXT(.) == '.' with memcmp * check-xml-test-suite.py: fixing the script * parser.c: replace sequences of RAW && NXT(.) == '.' with memcmp calls, seems to not break conformance, slightly inflate the size of the gcc generated code though. 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 b2517d85 2003-10-01T19:13:56 Fix error on output of high codepoint charref like  , reported * entities.c: Fix error on output of high codepoint charref like  , reported by Eric Hanchrow Daniel
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 f96cf4ec 2003-10-01T09:05:25 Applied fix for bug #123481 reported by Peter Derr Daniel * xmlreader.c: Applied fix for bug #123481 reported by Peter Derr Daniel
Daniel Veillard d3a2e4c2 2003-09-30T13:38:04 made the predefined entities static predefined structures to avoid the * entities.c legacy.c parser.c: made the predefined entities static predefined structures to avoid the work, memory and hazards associated to initialization/cleanup. 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
AEST 2003 Malcolm Tredinnick cd101049 2003-09-30T02:40:39 Ignore the new generated *.pc file. Tue Sep 30 12:31:00 AEST 2003 Malcolm Tredinnick <malcolm@commsecure.com.au> * .cvsignore: Ignore the new generated *.pc file.
AEST 2003 Malcolm Tredinnick 0643112b 2003-09-30T02:36:08 New file for building against uninstalled libxml2 builds. Support the Tue Sep 30 12:31:00 AEST 2003 Malcolm Tredinnick <malcolm@commsecure.com.au> * libxml-2.0-uninstalled.pc.in: New file for building against uninstalled libxml2 builds. * configure.in, Makefile.am: Support the *-uninstalled.pc file.
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 89f7f27a 2003-09-29T13:29:09 last finishing touch to the BeOS patch from Marcin 'Shard' Konicki Daniel * nanoftp.c nanohttp.c: last finishing touch to the BeOS patch from Marcin 'Shard' Konicki 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 c064b476 2003-09-29T10:55:05 better fix, avoids breaking the python bindings Daniel * xmlmemory.c: better fix, avoids breaking the python bindings Daniel
Daniel Veillard fb43bd6f 2003-09-29T09:22:39 fix a compilation problem when configuring with debug but without * xmlmemory.c: fix a compilation problem when configuring with debug but without mem-debug Daniel
Daniel Veillard 8940fd51 2003-09-29T09:07:08 Forgot to commit the new file !!! 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
William M. Brack 7b9154b0 2003-09-27T19:23:50 further (final?) minor changes for compilation warnings. No change to * encoding.c, parser.c, relaxng.c: further (final?) minor changes for compilation warnings. No change to logic.
William M. Brack b670e2eb 2003-09-27T01:05:55 fixed small problem with missing entities (test/ent2) * parser.c: fixed small problem with missing entities (test/ent2)
Daniel Veillard 9d8c1dfb 2003-09-26T23:27:25 William's change allowed to spot a nasty bug in xmlDoRead if the result is * parser.c: William's change allowed to spot a nasty bug in xmlDoRead if the result is well formed that ctxt->myDoc is not NULL and uses the context dictionnary. Daniel
Daniel Veillard 7d515754 2003-09-26T19:12:37 other patches from William Brack to avoid compilation warnings on AIX. * parser.c: other patches from William Brack to avoid compilation warnings on AIX. Daniel
William M. Brack 899e64aa 2003-09-26T18:03:42 minor change to avoid compilation warnings on some (e.g. AIX) systems * HTMLparser.c, entities.c, xmlreader.c: minor change to avoid compilation warnings on some (e.g. AIX) systems
Daniel Veillard 11476b4e 2003-09-26T14:51:39 fixed a backward compatibility problem when formatting "deprecated SAXv1 * parserInternals.c: fixed a backward compatibility problem when formatting "deprecated SAXv1 function ignorableWhitespace" could be reproduced by xmllint --format Daniel
Daniel Veillard dca8cc79 2003-09-26T13:53:14 rebuilt the API added the new options --nocdata and --nsclean to remove * doc/libxml2-api.xml: rebuilt the API * xmllint.c doc/xmllint.1 doc/xmllint.xml: added the new options --nocdata and --nsclean to remove CDATA section and surperfluous namespace declarations * parser.c SAX2.c: implementation of the 2 new options 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 70b18564 2003-09-24T21:45:21 patch from Stephane Bidoul for configuring the beta2 version #123104 * win32/configure.js: patch from Stephane Bidoul for configuring the beta2 version #123104 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 1f40d680 2003-09-23T09:16:56 revert xmlCreateDocParserCtxt() since this break the parseDoc() python * parser.c: revert xmlCreateDocParserCtxt() since this break the parseDoc() python bindings Daniel
Daniel Veillard 309f81d5 2003-09-23T09:02:53 make sure xmlDetectSAX2() is called only at parsing time to avoid breaking * parser.c: make sure xmlDetectSAX2() is called only at parsing time to avoid breaking apps changing the SAX callbacks after context allocation, change xmlCreateDocParserCtxt() to use an immutable buffer instead of a copy 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
William M. Brack 6984830a 2003-09-22T00:24:51 fixed a warning message (trivial) removed incorrect warning message when * error.c: fixed a warning message (trivial) * doc/search.php: removed incorrect warning message when word search not found in last of multiple tables (bug 119535)
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 d9e9c9d8 2003-09-18T22:03:46 fixing namespace DTD validations the output of defaulted namespaces is * SAX2.c: fixing namespace DTD validations * result/valid/ns2.xml result/valid/ns.xml: the output of defaulted namespaces is slightly different now. * Makefile.am: report the memory used in Timingtests (as well as time) Daniel
Daniel Veillard 4ac494b8 2003-09-18T15:08:00 Added a link to XSH, 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 c44cfdd7 2003-09-18T10:12:02 the last patch broke unicity of returned strings, removed Daniel * dict.c: the last patch broke unicity of returned strings, removed Daniel
Daniel Veillard 536fad5a 2003-09-18T10:05:56 valgrind found a newly introduced bug Daniel * dict.c: valgrind found a newly introduced bug Daniel
Daniel Veillard f6bc7c24 2003-09-17T22:33:22 add a Timingtests target to check bad behaviour from the streaming engine * Makefile.am: add a Timingtests target to check bad behaviour from the streaming engine * dbgen.pl dbgenattr.pl: perl script to generate big instances * xmlreader.c: fix a bad behaviour on large buffer inputs Daniel
Daniel Veillard ccc4d2b6 2003-09-17T21:27:31 two small improvements Daniel * dict.c xmlreader.c: two small improvements Daniel
Daniel Veillard a66b1d1a 2003-09-17T20:54:38 avoid a leak with previous patch Daniel * parserInternals.c: avoid a leak with previous patch Daniel
Daniel Veillard 007d51eb 2003-09-17T20:07:28 use stderr and not stdout for default errors in python environment bug * python/libxml.c: use stderr and not stdout for default errors in python environment bug #122552 Daniel
Daniel Veillard 8d8bf2c5 2003-09-17T19:36:25 small fix from Rob Richards for input filename fixes for --repeat and * parserInternals.c: small fix from Rob Richards for input filename * xmllint.c: fixes for --repeat and --memory/--stream for speed tests * xmlIO: adding a guard in one function 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 9f7eb0bb 2003-09-17T10:26:25 started messing seriously with per-document dict and element and attribute * SAX2.c parser.c parserInternals.c xmlreader.c: started messing seriously with per-document dict and element and attribute nodes reuse in the xmlReader. This seems to lead to an interesting speedup of the xmlReader already. 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 9582d6ca 2003-09-16T11:40:04 Added link to IRC channel, Daniel