Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| b8480ae7 | 2014-07-26 21:14:53 | Remove a couple of dead conditions For https://bugzilla.gnome.org/show_bug.cgi?id=733711 | ||
| 31aa3815 | 2014-06-20 21:11:40 | xmlIO: Fix an FD leak on gzdopen() failure According to the documentation, gzdopen() does not close the FD on failure (but does effectively close it on success, since gzclose() closes it). Coverity issues: #60440, #60441 https://bugzilla.gnome.org/show_bug.cgi?id=731990 | ||
| 147aaf21 | 2013-12-12 15:02:40 | Portability fix Don't assume fileno for stdin and stdout are 0 and 1 | ||
| 63588f47 | 2013-05-10 14:01:46 | Fix a regression in xmlGetDocCompressMode() The switch to xzlib had for consequence that the compression level of the input was not gathered anymore in ctxt->input->buf, then the parser compression flags was left to -1 and propagated to the resulting document. Fix the I/O layer to get compression detection in xzlib, then carry it in the input buffer and the resulting document This should fix https://lsbbugs.linuxfoundation.org/show_bug.cgi?id=3456 | ||
| 8e2098ae | 2013-03-27 11:00:31 | Fix an output buffer flushing conversion bug for https://bugzilla.gnome.org/show_bug.cgi?id=694982 On a flush operation, everything must be converted | ||
| bf058dce | 2013-02-13 18:19:42 | Fix the flushing out of raw buffers on encoding conversions https://bugzilla.gnome.org/show_bug.cgi?id=692915 the new set of converting functions tried to limit the encoding conversion of the raw buffer to the consumption one to work in a more progressive fashion. Unfortunately this was bad for performances and led to errors on progressive parsing when a very large chunk was close to the end of the document. Fix the new internal function and switch back to the old way of converting. Fix another bug in the process. | ||
| 153cf159 | 2012-10-26 13:50:47 | Fix large parse of file from memory https://bugzilla.redhat.com/show_bug.cgi?id=862969 The new code trying to detect excessive input lookup would just get wrong sometimes in the case of very large file parsed directly from memory. | ||
| f8e3db04 | 2012-09-11 13:26:36 | Big space and tab cleanup Remove all space before tabs and space and tabs at end of lines. | ||
| 55b899a2 | 2012-09-07 12:14:00 | Support long path names on WNT so we've got this patch to libxml2 2.7.6 in the LibreOffice code base, inherited from OOo. it fixes a definite problem, which is that Windows has a rather low maximum path length restriction, and there is a special trick on NT whereby path names can be prefixed with "\\?\", in which case the maximum length is 32k, which ought to be sufficient even for bloated office suites :) I'll attach the patch to the xmlCanonicPath function. note that i didn't write this and am by no means an expert on either Microsoftean platforms or libxml so maybe it's not the best way to do it. | ||
| 89b6f73a | 2012-08-04 05:09:56 | use xmlBuf... if DEBUG_INPUT is defined | ||
| e258adec | 2012-08-06 11:16:30 | Provide new accessors for xmlOutputBuffer To avoid digging into buf->buffer insternal strcuture the two new entry points xmlOutputBufferGetContent() and xmlOutputBufferGetSize() should make the ode cleaner. * include/libxml/xmlIO.h: add two new functions * xmlIO.c: impement the 2 functions based on the new buffer entry points | ||
| a6a6e70c | 2012-07-16 14:22:54 | Convert xmlIO.c to the new input and output buffers Relatively mechanical changes, this also led to a couple of fixes upon review of the I/O code on buffer usage. | ||
| adf5ec94 | 2012-01-26 16:56:22 | Cleanups of lzma support - fix inclusion of the separated file - use namespaced name for the 4 non-static routines - add padding after external structures included in-situ - add new requirement to spec file - general cleanup of code | ||
| 6bdc7743 | 2011-09-19 09:53:20 | move xz/lzma helpers to separate included files | ||
| eae52617 | 2011-09-18 16:59:13 | add lzma compression support | ||
| a7e79f28 | 2010-01-19 16:28:48 | libxml violates the zlib interface and crashes * xmlIO.c: remove an abuse of zlib API and use a clean interface available in zlib >= 1.2.3 | ||
| 0d5e58f3 | 2009-08-24 13:52:23 | 542394 xmlRegisterOutputCallbacks MAX_INPUT_CALLBACK * xmlIO.c: trivial fix, wrong constant | ||
| 6c61e020 | 2009-08-12 11:41:27 | Fix windows build | ||
| 2ad41cad | 2009-08-11 17:51:22 | 574393 – utf-8 filename magic for compressed files * xmlIO.c: windows specific magic to have UTF-8 file name work with compressed files too. | ||
| 43bc89c1 | 2009-03-23 19:32:04 | add a missing check in xmlAddSibling, patch by Kris Breuker avoid * tree.c: add a missing check in xmlAddSibling, patch by Kris Breuker * xmlIO.c: avoid xmlAllocOutputBuffer using XML_BUFFER_EXACT which leads to performances problems especially on Windows. daniel svn path=/trunk/; revision=3820 | ||
| da3fee40 | 2008-09-01 13:08:57 | Borland C fix from Moritz Both regenerate, workaround a problem for buffer * trionan.c: Borland C fix from Moritz Both * testapi.c: regenerate, workaround a problem for buffer testing * xmlIO.c HTMLtree.c: new internal entry point to hide even better xmlAllocOutputBufferInternal * tree.c: harden the code around buffer allocation schemes * parser.c: restore the warning when namespace names are not absolute URIs * runxmlconf.c: continue regression tests if we get the expected number of errors * Makefile.am: run the python tests on make check * xmlsave.c: handle the HTML documents and trees * python/libxml.c: convert python serialization to the xmlSave APIs and avoid some horrible hacks Daniel svn path=/trunk/; revision=3790 | ||
| 1572425c | 2008-08-30 15:01:04 | preparing 2.7.0 release remove some testing traces remove some warnings * configure.in, doc/*: preparing 2.7.0 release * tree.c: remove some testing traces * parser.c xmlIO.c xmlschemas.c: remove some warnings Daniel svn path=/trunk/; revision=3788 | ||
| e83e93e7 | 2008-08-30 12:52:26 | make a new kind of buffer where shrinking and adding in head can avoid * include/libxml/tree.h tree.c: make a new kind of buffer where shrinking and adding in head can avoid reallocation or full buffer memmoves * encoding.c xmlIO.c: use the new kind of buffers for output buffers Daniel svn path=/trunk/; revision=3787 | ||
| c4ba8a42 | 2008-02-16 10:08:14 | fix output bug reported by Petr Pajas and analyzed by Bill Daniel * xmlIO.c: fix output bug reported by Petr Pajas and analyzed by Bill Daniel svn path=/trunk/; revision=3695 | ||
| f779da31 | 2007-08-14 09:41:21 | fixed windows path determination (patch from Roland Schwarz, bug #462877) * xmlIO.c: fixed windows path determination (patch from Roland Schwarz, bug #462877) * win32/Makefile.mingw win32/configure.js: fixed mingw build (patch from Roland Schwarz, bug #462877) svn path=/trunk/; revision=3648 | ||
| 5cdbbd2c | 2007-06-12 09:39:14 | workaround misgenerated file: URIs c.f. #437385 daniel * xmlIO.c: workaround misgenerated file: URIs c.f. #437385 daniel svn path=/trunk/; revision=3630 | ||
| 38d452ac | 2007-05-22 16:00:06 | Fixed typo in xmlCharEncFirstLine pointed out by Mark Rowe (bug #440159) * encoding.c: Fixed typo in xmlCharEncFirstLine pointed out by Mark Rowe (bug #440159) * include/libxml/xmlversion.h.in: Added check for definition of _POSIX_C_SOURCE to avoid warnings on Apple OS/X (patch from Wendy Doyle and Mark Rowe, bug #346675) * schematron.c, testapi.c, tree.c, xmlIO.c, xmlsave.c: minor changes to fix compilation warnings - no change to logic. svn path=/trunk/; revision=3618 | ||
| 59d3ed8f | 2007-04-17 12:44:58 | applied patch from Andreas Stricke to ease the compilation on Windows CE * catalog.c libxml.h win32/wince/wincecompat.h win32/wince/wincecompat.c xmlIO.c nanohttp.c nanoftp.c trio.c triostr.c triostr.h: applied patch from Andreas Stricke to ease the compilation on Windows CE Daniel svn path=/trunk/; revision=3600 | ||
| bd672bc5 | 2007-03-30 12:39:25 | applied change from Michael Day to avoid a problem when compiled without * xmlIO.c: applied change from Michael Day to avoid a problem when compiled without zlib support. Daniel svn path=/trunk/; revision=3596 | ||
| 6460f925 | 2006-10-12 21:08:29 | fix Windows compile - missing xmlWrapOpen. * xmlIO.c: fix Windows compile - missing xmlWrapOpen. | ||
| 6ad5c4af | 2006-10-11 16:43:06 | fixed a weird error where validity context whould not show up if warnings * valid.c: fixed a weird error where validity context whould not show up if warnings were disabled pointed out by Bob Stayton * xmlIO.c doc/generator.py: cleanup and fix to regenerate the docs * doc//* testapi.c: rebuilt the docs Daniel | ||
| e8967e0d | 2006-10-11 09:15:00 | applied patch from Mikhail Zabaluev fixing the conditions of unescaping * xmlIO.c: applied patch from Mikhail Zabaluev fixing the conditions of unescaping from URL to filepath, should fix #344588. Daniel | ||
| 0da41666 | 2006-10-10 09:05:36 | applied a portability patch from Emelyanov Alexey Daniel * xmlIO.c: applied a portability patch from Emelyanov Alexey Daniel | ||
| ad4e2963 | 2006-09-21 08:36:38 | applied patch from Michael Day doing some refactoring for the catalog * xmlIO.c: applied patch from Michael Day doing some refactoring for the catalog entity loaders. Daniel | ||
| 8ca85b25 | 2006-09-01 09:56:07 | another patch from Emelyanov Alexey to clean up a few things in the * xmlIO.c: another patch from Emelyanov Alexey to clean up a few things in the previous patch. Daniel | ||
| e5a3f37f | 2006-08-30 13:11:36 | applied patch from Roland Schwingel to fix the problem with file names in * xmlIO.c: applied patch from Roland Schwingel to fix the problem with file names in UTF-8 on Windows, and compat on older win9x versions. Daniel | ||
| 0b309954 | 2006-05-02 20:34:38 | fix a mix of code and declarations showing up on Windows patch from * xmlIO.c: fix a mix of code and declarations showing up on Windows patch from Kjartan Maraas, fixing #340404 Daniel | ||
| f741601c | 2006-04-27 08:15:20 | applied patch from Roland Schwingel to allow UTF-8 file paths on Windows * xmlIO.c: applied patch from Roland Schwingel to allow UTF-8 file paths on Windows Daniel | ||
| 4d3866cf | 2005-11-13 12:43:59 | applied patch from Geert Jansen to remove xmlBufferClose() which is not * xmlIO.c: applied patch from Geert Jansen to remove xmlBufferClose() which is not needed. Daniel | ||
| a44f234d | 2005-11-09 18:03:45 | function consolidation when writing to xmlBuffer. Return error condition * xmlIO.c xmlwriter.c: function consolidation when writing to xmlBuffer. Return error condition not len if xmlwriter fails writing to buffer. | ||
| 9a00fd29 | 2005-11-09 08:56:26 | applied patch from Geert Jansen to implement the save function to a * xmlsave.c xmlIO.c include/libxml/xmlIO.h include/libxml/xmlsave.h: applied patch from Geert Jansen to implement the save function to a xmlBuffer, and a bit of cleanup. Daniel | ||
| 9b693b48 | 2005-10-28 14:54:17 | more portability patches from Albert Chin for HP-UX and AIX Daniel * xmlIO.c xmlmodule.c: more portability patches from Albert Chin for HP-UX and AIX Daniel | ||
| 336a8e13 | 2005-08-07 10:46:19 | get rid of the dependancy on a locally installed DTD try to cleanup the * test/relaxng/docbook_0.xml: get rid of the dependancy on a locally installed DTD * uri.c include/libxml/uri.h xmlIO.c nanoftp.c nanohttp.c: try to cleanup the Path/URI conversion mess, needed fixing in various layers and a new API to the uri module which also fixes #306861 * runtest.c: integrated a regression test specific to check the URI conversions done before calling the I/O handlers. Daniel | ||
| 24505b0f | 2005-07-28 23:49:35 | a lot of small cleanups based on Linus' sparse check output. Daniel * HTMLparser.c SAX2.c encoding.c globals.c parser.c relaxng.c runsuite.c runtest.c schematron.c testHTML.c testReader.c testRegexp.c testSAX.c testThreads.c valid.c xinclude.c xmlIO.c xmllint.c xmlmodule.c xmlschemas.c xpath.c xpointer.c: a lot of small cleanups based on Linus' sparse check output. Daniel | ||
| 8fcd2cac | 2005-07-03 14:42:56 | fixed bug #307503 misplaced #ifdef Daniel * xmlIO.c: fixed bug #307503 misplaced #ifdef Daniel | ||
| 5d4644ef | 2005-04-01 13:11:58 | revamped the elfgcchack.h format to cope with gcc4 change of aliasing * doc/apibuild.py doc/elfgcchack.xsl: revamped the elfgcchack.h format to cope with gcc4 change of aliasing allowed scopes, had to add extra informations to doc/libxml2-api.xml to separate the header from the c module source. * *.c: updated all c library files to add a #define bottom_xxx and reimport elfgcchack.h thereafter, and a bit of cleanups. * doc//* testapi.c: regenerated when rebuilding the API Daniel | ||
| 66e40b14 | 2004-11-26 15:45:19 | added a check within xmlOutputBufferWriteEscape to prevent a dead loop on * xmlIO.c: added a check within xmlOutputBufferWriteEscape to prevent a dead loop on bad data (bug 159550) | ||
| 5ea30d7f | 2004-11-08 11:54:28 | more fixes. Daniel * parser.c testapi.c xmlIO.c xmlstring.c: more fixes. Daniel | ||
| 42595323 | 2004-11-08 10:52:06 | more types, more coverage more problems fixed Daniel * gentest.py testapi.c: more types, more coverage * parser.c parserInternals.c relaxng.c valid.c xmlIO.c xmlschemastypes.c: more problems fixed Daniel | ||
| ce682bc2 | 2004-11-05 17:22:25 | autogenerate a minimal NULL value sequence for unknown pointer types This * gentest.py testapi.c: autogenerate a minimal NULL value sequence for unknown pointer types * HTMLparser.c SAX2.c chvalid.c encoding.c entities.c parser.c parserInternals.c relaxng.c valid.c xmlIO.c xmlreader.c xmlsave.c xmlschemas.c xmlschemastypes.c xmlstring.c xpath.c xpointer.c: This uncovered an impressive amount of entry points not checking for NULL pointers when they ought to, closing all the open gaps. Daniel | ||
| ce244ad5 | 2004-11-05 10:03:46 | fixed the way the generator works, extended the testing, especially with * gentest.py testapi.c: fixed the way the generator works, extended the testing, especially with more real trees and nodes. * HTMLtree.c tree.c valid.c xinclude.c xmlIO.c xmlsave.c: a bunch of real problems found and fixed. * entities.c: fix error reporting to go through the new handlers Daniel | ||
| 34099b40 | 2004-11-04 17:34:35 | changing the way the .c is generated, extending the tests coverage fixing * gentest.py testapi.c: changing the way the .c is generated, extending the tests coverage * include/libxml/nanoftp.h nanoftp.c elfgcchack.h doc/*: fixing some function signatures, regenerating stuff * SAX2.c parser.c xmlIO.c: another set of bug fixes and API hardening Daniel | ||
| b1b3a3e9 | 2004-11-03 23:25:47 | more fixes and extending the tests coverage more fixes and hardening * gentest.py testapi.c: more fixes and extending the tests coverage * nanoftp.c xmlIO.c: more fixes and hardening Daniel | ||
| 36e5cd50 | 2004-11-02 14:52:23 | adding xmlMemBlocks() work on generator of an automatic API regression * xmlmemory.c include/libxml/xmlmemory.h: adding xmlMemBlocks() * Makefile.am gentest.py testapi.c: work on generator of an automatic API regression test tool. * SAX2.c nanoftp.c parser.c parserInternals.c tree.c xmlIO.c xmlstring.c: various API hardeing changes as a result of running teh first set of automatic API regression tests. * test/slashdot16.xml: apparently missing from CVS, commited it Daniel | ||
| c7e3cc49 | 2004-09-28 12:33:52 | another patch from Malcolm Tredinnick fixing warning generated by the * acconfig.h config.h.in configure.in xmlIO.c xmlregexp.c xmlschemas.c xmlschemastypes.c: another patch from Malcolm Tredinnick fixing warning generated by the Nonstop Kernel Open System Services compiler #151710 Daniel | ||
| 71b95638 | 2004-08-31 12:15:36 | fixing #151456, an encoding error could generate a serialization loop. * xmlIO.c: fixing #151456, an encoding error could generate a serialization loop. Daniel | ||
| 29b17482 | 2004-08-16 00:39:03 | small typo pointed out by Mike Hommey slightly improved the --c14n * xmlIO.c: small typo pointed out by Mike Hommey * doc/xmllint.xml, xmllint.html, xmllint.1: slightly improved the --c14n description, c.f. #144675 . * nanohttp.c nanoftp.c: applied a first simple patch from Mike Hommey for $no_proxy, c.f. #133470 * parserInternals.c include/libxml/parserInternals.h include/libxml/xmlerror.h: cleanup to avoid 'error' identifier in includes # * parser.c SAX2.c debugXML.c include/libxml/parser.h: first version of the inplementation of parsing within the context of a node in the tree #142359, new function xmlParseInNodeContext(), added support at the xmllint --shell level as the "set" function * test/scripts/set* result/scripts/* Makefile.am: extended the script based regression tests to instrument the new function. Daniel | ||
| 4e3a9fa1 | 2004-08-03 22:41:11 | elaborated on description of xmlValidityWarningFunc and * include/libxml/valid.h: elaborated on description of xmlValidityWarningFunc and xmlValidityErrorFunc (bug 144760) * xmlIO.c, xmlschemastypes.c, include/libxml/schemasinternals.h: minor fixes to comments for doc rebuilding errors. * doc/*.html: rebuilt the docs | ||
| a3215c7a | 2004-07-31 16:24:01 | many further little changes for OOM problems. Now seems to be getting * SAX2.c, encoding.c, error.c, parser.c, tree.c, uri.c, xmlIO.c, xmlreader.c, include/libxml/tree.h: many further little changes for OOM problems. Now seems to be getting closer to "ok". * testOOM.c: added code to intercept more errors, found more problems with library. Changed method of flagging / counting errors intercepted. | ||
| 42331a90 | 2004-07-29 07:07:16 | further fixes for out of memory condition, mostly from Olivier Andrieu. * SAX2.c, tree.c, uri.c, xmlIO.c, xmlreader.c: further fixes for out of memory condition, mostly from Olivier Andrieu. * testOOM.c: some further improvement by Olivier, with a further small enhancement for easier debugging. | ||
| 1b243b4f | 2004-06-08 10:16:42 | applied patch from Rob Richards for the per thread I/O mappings Daniel * globals.c xmlIO.c include/libxml/globals.h include/libxml/xmlIO.h: applied patch from Rob Richards for the per thread I/O mappings Daniel | ||
| 0335a846 | 2004-06-02 16:18:40 | applied patch from Rob Richards for custom I/O BufferCreateFilenane fixes * globals.c xmlIO.c include/libxml/globals.h: applied patch from Rob Richards for custom I/O BufferCreateFilenane fixes bug #143366 Daniel | ||
| 83a75e05 | 2004-05-14 21:50:42 | third pass at the escaping refactoring. Daniel * xmlIO.c xmlsave.c: third pass at the escaping refactoring. Daniel | ||
| ee8960bc | 2004-05-14 03:25:14 | second pass on escaping handling, start to looks better, need to be * xmlIO.c xmlsave.c include/libxml/xmlIO.h: second pass on escaping handling, start to looks better, need to be completed and added directly at the saving context level. Daniel | ||
| 5d1a4d81 | 2004-05-13 14:31:25 | first pass at refactoring the escape on save routines for better * xmlIO.c xmlsave.c include/libxml/xmlIO.h: first pass at refactoring the escape on save routines for better performances (less malloc) and more flexibility using the new saving context. Preliminary work, interface will change. Daniel | ||
| 18a65095 | 2004-05-11 15:57:42 | fix to the fix for #141864 from Paul Elseth apply fix from David Gatwood * xmlIO.c: fix to the fix for #141864 from Paul Elseth * HTMLparser.c result/HTML/doc3.htm: apply fix from David Gatwood for #141195 about text between comments. Daniel | ||
| 966a31e2 | 2004-05-09 02:58:44 | fixing some problems in URI unescaping and output buffer opening, this * uri.c xmlIO.c: fixing some problems in URI unescaping and output buffer opening, this should fix #141864 Daniel | ||
| aecc0dc1 | 2004-05-08 02:32:07 | fixes the use of 'list' as a parameter added xmlPopInputCallback for Matt * valid.c include/libxml/valid.h: fixes the use of 'list' as a parameter * xmlIO.c include/libxml/xmlIO.h: added xmlPopInputCallback for Matt Sergeant Daniel | ||
| 500a1de5 | 2004-03-22 15:22:58 | applied patch from Alfred Mickautsch for better DTD support. fixed bug * xmlwriter.c include/libxml/xmlwriter.h doc/* : applied patch from Alfred Mickautsch for better DTD support. * SAX2.c HTMLparser.c parser.c xinclude.c xmllint.c xmlreader.c xmlschemas.c: fixed bug #137867 i.e. fixed properly the way reference counting is handled in the XML parser which had the side effect of removing a lot of hazardous cruft added to try to fix the problems associated as they popped up. * xmlIO.c: FILE * close fixup for stderr/stdout Daniel | ||
| 3671190b | 2004-02-11 13:25:26 | added xmlByteConsumed() interface updated the benchmark rebuilt the docs * parserInternals.c xmlIO.c encoding.c include/libxml/parser.h include/libxml/xmlIO.h: added xmlByteConsumed() interface * doc/*: updated the benchmark rebuilt the docs * python/tests/Makefile.am python/tests/indexes.py: added a specific regression test for xmlByteConsumed() * include/libxml/encoding.h rngparser.c tree.c: small cleanups Daniel | ||
| 61b9338c | 2003-11-03 14: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 | ||
| 157fee01 | 2003-10-31 10:36:03 | previous fix for #124044 was broken, correct fix provided. fix * python/libxml.c: previous fix for #124044 was broken, correct fix provided. * HTMLparser.c parser.c parserInternals.c xmlIO.c: fix xmlStopParser() and the error handlers to address #125877 Daniel | ||
| c5cbf99d | 2003-10-29 22:15:13 | enhanced to bypass compression detection code when input file is stdin * xmlIO.c: enhanced to bypass compression detection code when input file is stdin (bug 125801) | ||
| 28232438 | 2003-10-29 17:23:05 | fix needed when HTTP is not compiled in by Mark Vakoc Daniel * xmlIO.c: fix needed when HTTP is not compiled in by Mark Vakoc Daniel | ||
| e8039dfe | 2003-10-27 11:25:13 | make sure we report errors if xmlNewInputFromFile() fails. avoid using * libxml.h parserInternals.c xmlIO.c: make sure we report errors if xmlNewInputFromFile() fails. * xmlreader.c: avoid using _private for the node or document elements. Daniel | ||
| d61e8fbc | 2003-10-19 21:59:17 | fixes for compiling using --with-minimum Daniel * valid.c xmlIO.c: fixes for compiling using --with-minimum Daniel | ||
| a840b692 | 2003-10-19 13: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 | ||
| 9ca682f5 | 2003-10-19 10:01:59 | fixed segfault when input file not present changed output formatting of * xmlIO.c: fixed segfault when input file not present * tree.c: changed output formatting of XML_CDATA_SECTION (bug 120917) | ||
| 847332a0 | 2003-10-18 11: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 | ||
| 2b0f8799 | 2003-10-10 19: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 | ||
| 659e71ec | 2003-10-10 14: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 | ||
| cd6ff282 | 2003-10-08 22: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 | ||
| a8856220 | 2003-10-08 19:26:03 | Oops, Daniel | ||
| 828ce83d | 2003-10-08 19: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 | ||
| 97bf4d02 | 2003-10-08 18:58:28 | better handling of error cases Daniel * xmlIO.c: better handling of error cases Daniel | ||
| 05d987b4 | 2003-10-08 11: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 | ||
| 8127390f | 2003-09-30 00: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 | ||
| a9cce9cd | 2003-09-29 13: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 | ||
| 4432df23 | 2003-09-28 18: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 | ||
| 9ec2653a | 2003-09-23 07: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 | ||
| e72c508c | 2003-09-19 12: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 | ||
| 5335055e | 2003-09-18 13: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 | ||
| 8d8bf2c5 | 2003-09-17 19: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 | ||
| 07cb8226 | 2003-09-10 10: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 | ||
| c07329e2 | 2003-09-08 01: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). | ||
| 4811ba3b | 2003-09-06 18:02:53 | fixed bug #121210 (callback to sax->error, sax->warning with wrong * SAX2.c, xmlIO.c: fixed bug #121210 (callback to sax->error, sax->warning with wrong params). | ||
| 6155d8aa | 2003-08-19 15:01:28 | optimization when freeing hash tables. some tuning of buffer allocations * dict.c hash.c: optimization when freeing hash tables. * parser.c xmlIO.c include/libxml/tree.h: some tuning of buffer allocations * parser.c parserInternals.c include/libxml/parser.h: keep a single allocated block for all the attributes callbacks, avoid useless malloc()/free() * tree.c: do not realloc() when growing a buffer if the buffer ain't full, malloc/memcpy/free avoid copying memory. Daniel | ||
| 779af007 | 2003-08-01 15:55:39 | =Bug 118559 (continued) | ||
| 78637da0 | 2003-07-31 14:47:38 | fixing bug 118559 | ||
| cbbd78da | 2003-07-20 15:21:30 | Applied fix for "wb" open flag, Daniel |