xmlIO.c


Log

Author Commit Date CI Message
Nick Wellnhofer a697ed1e 2020-06-15T14:49:22 Fix return value of xmlCharEncOutput Commit 407b393d introduced a regression caused by xmlCharEncOutput returning 0 in case of success instead of the number of bytes written. Always use its return value for nbchars in xmlOutputBufferWrite. Fixes #166.
Nick Wellnhofer 20c60886 2020-03-08T17:19:42 Fix typos Resolves #133.
Nick Wellnhofer c2e09f44 2020-02-11T11:32:23 Add xmlPopOutputCallbacks Add function to pop a single set of output callbacks from the stack. This was only implemented for input callbacks before. Fixes #135.
Nick Wellnhofer 40e00bc5 2019-10-14T16:56:59 Fix integer overflow when counting written bytes Check for integer overflow when updating the `written` member of struct xmlOutputBuffer in xmlIO.c. Closes #112. Resolves !54 and !55.
Jared Yanovich 2a350ee9 2019-09-30T17:04:54 Large batch of typo fixes Closes #109.
Nick Wellnhofer 6705f4d2 2019-09-16T15:45:27 Remove executable bit from non-executable files
zhouzhongyuan 4f67dbb0 2019-07-09T15:11:01 fix memory leak in xmlAllocOutputBuffer
Nick Wellnhofer f824a4bd 2019-05-20T13:26:08 Fix memory leak in xmlAllocOutputBufferInternal error path Thanks to Anish K Kurian for the report. Closes #60.
Nick Wellnhofer 407b393d 2019-05-15T12:47:28 Fix return value of xmlOutputBufferWrite When using memory buffers, the total size of the buffer was added again and again, potentially leading to an integer overflow. Found by OSS-Fuzz.
Nick Wellnhofer 7a1bd7f6 2018-03-17T00:03:24 Revert "Change calls to xmlCharEncInput to set flush false" This reverts commit 6e6ae5daa6cd9640c9a83c1070896273e9b30d14 which broke decoding of larger documents with ICU. See https://bugs.chromium.org/p/chromium/issues/detail?id=820163
Joel Hockey 6e6ae5da 2018-01-02T21:47:35 Change calls to xmlCharEncInput to set flush false when not final call. Having flush incorrectly set to true causes errors for ICU.
Nick Wellnhofer cb5541c9 2017-11-13T17:08:38 Fix libz and liblzma detection If libz or liblzma are detected with pkg-config, AC_CHECK_HEADERS must not be run because the correct CPPFLAGS aren't set. It is actually not required have separate checks for LIBXML_ZLIB_ENABLED and HAVE_ZLIB_H. Only check for LIBXML_ZLIB_ENABLED and remove HAVE_ZLIB_H macro. Fixes bug 764657, bug 787041.
Nick Wellnhofer 86615e43 2017-11-09T17:47:47 Fix IO callback signatures
Vlad Tsyrklevich 28f52fe8 2017-08-10T15:08:48 Refactor name and type signature for xmlNop Update xmlNop's name to xmlInputReadCallbackNop and its type signature to match xmlInputReadCallback. Fixes bug 786134.
Nick Wellnhofer 56723974 2017-10-09T15:35:32 Simplify Windows IO functions Remove "native" non-Unicode functions which were only needed for pre-NT systems like Windows 95/98. Don't redefine `stat` but use `struct _stat` and `_stat()` instead.
Nick Wellnhofer e3890546 2017-10-09T00:20:01 Fix the Windows header mess Don't include windows.h and wsockcompat.h from config.h but only when needed. Don't define _WINSOCKAPI_ manually. This was apparently done to stop windows.h from including winsock.h which is a problem if winsock2.h wasn't included first. But on MinGW, this causes compiler warnings. Define WIN32_LEAN_AND_MEAN instead which has the same effect. Always use the compiler-defined _WIN32 macro instead of WIN32.
Nick Wellnhofer d422b954 2017-10-09T13:37:42 Fix pointer/int cast warnings on 64-bit Windows On 64-bit Windows, `long` is 32 bits wide and can't hold a pointer. Switch to ptrdiff_t instead which should be the same size as a pointer on every somewhat sane platform without requiring C99 types like intptr_t. Fixes bug 788312. Thanks to J. Peter Mugaas for the report and initial patch.
Stéphane Michaut 454e397e 2017-08-28T14:30:43 Porting libxml2 on zOS encoding of code First set of patches for zOS - entities.c parser.c tree.c xmlschemas.c xmlschemastypes.c xpath.c xpointer.c: ask conversion of code to ISO Latin 1 to avoid having the compiler assume EBCDIC codepoint for characters. - xmlmodule.c: make sure we have support for modules - xmlIO.c: zOS path names are special avoid dsome of the expectstions from Unix/Windows
Nick Wellnhofer 5a0ae66d 2017-06-17T23:20:38 Documentation fixes Fixes bug 347465, bug 599433, bug 624550, bug 698253.
Nick Wellnhofer 81c01ee9 2017-06-17T14:12:53 Fix unused-parameter warnings
Nick Wellnhofer 94f6ce83 2017-06-08T22:36:09 Allow zero sized memory input buffers Useful for a fuzz target I'm working on.
Nick Wellnhofer 030b1f7a 2017-06-06T15:53:42 Revert "Add an XML_PARSE_NOXXE flag to block all entities loading even local" This reverts commit 2304078555896cf1638c628f50326aeef6f0e0d0. The new flag doesn't work and the change even broke the XML_PARSE_NONET option.
Doran Moppert 23040785 2017-04-07T16:45:56 Add an XML_PARSE_NOXXE flag to block all entities loading even local For https://bugzilla.gnome.org/show_bug.cgi?id=772726 * include/libxml/parser.h: Add a new parser flag XML_PARSE_NOXXE * elfgcchack.h, xmlIO.h, xmlIO.c: associated loading routine * include/libxml/xmlerror.h: new error raised * xmllint.c: adds --noxxe flag to activate the option
Nick Wellnhofer c2545cbb 2016-08-22T11:44:18 Fix format string warnings Also fixes bug #768199: https://bugzilla.gnome.org/show_bug.cgi?id=768199
David Kilzer 4472c3a5 2016-05-13T15:13:17 Fix some format string warnings with possible format string vulnerability For https://bugzilla.gnome.org/show_bug.cgi?id=761029 Decorate every method in libxml2 with the appropriate LIBXML_ATTR_FORMAT(fmt,args) macro and add some cleanups following the reports.
Daniel Veillard 18b89885 2015-11-03T15:46:29 Reenable xz support by default For https://bugzilla.gnome.org/show_bug.cgi?id=757466 problem was introduced by commit f3f86ff465c92c79f834d7b981f3c7274a8bb5c8 for https://bugzilla.gnome.org/show_bug.cgi?id=711026
Daniel Veillard 7a72f4af 2014-10-13T16:23:24 Fix a couple of issues raised by make dist
Philip Withnall 21699937 2014-08-24T23:10:13 xmlIO: Handle error returns from dup() If dup() fails and returns -1, gzdopen() will transparently return NULL, but then close() will fail after being called on an invalid FD. Change the code to only call close() on valid FDs. Coverity issue: #72382
Gaurav Gupta b8480ae7 2014-07-26T21:14:53 Remove a couple of dead conditions For https://bugzilla.gnome.org/show_bug.cgi?id=733711
Philip Withnall 31aa3815 2014-06-20T21: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
Patrick Monnerat 147aaf21 2013-12-12T15:02:40 Portability fix Don't assume fileno for stdin and stdout are 0 and 1
Daniel Veillard 63588f47 2013-05-10T14: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
Mikhail Titov 8e2098ae 2013-03-27T11: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
Daniel Veillard bf058dce 2013-02-13T18: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.
Daniel Veillard 153cf159 2012-10-26T13: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.
Daniel Veillard f8e3db04 2012-09-11T13:26:36 Big space and tab cleanup Remove all space before tabs and space and tabs at end of lines.
Michael Stahl 55b899a2 2012-09-07T12: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.
Roumen Petrov 89b6f73a 2012-08-04T05:09:56 use xmlBuf... if DEBUG_INPUT is defined
Daniel Veillard e258adec 2012-08-06T11: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
Daniel Veillard a6a6e70c 2012-07-16T14: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.
Daniel Veillard adf5ec94 2012-01-26T16: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
Anders F Bjorklund 6bdc7743 2011-09-19T09:53:20 move xz/lzma helpers to separate included files
Anders F Bjorklund eae52617 2011-09-18T16:59:13 add lzma compression support
Mark Adler a7e79f28 2010-01-19T16: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
Daniel Veillard 0d5e58f3 2009-08-24T13:52:23 542394 xmlRegisterOutputCallbacks MAX_INPUT_CALLBACK * xmlIO.c: trivial fix, wrong constant
Rob Richards 6c61e020 2009-08-12T11:41:27 Fix windows build
Hans Breuer 2ad41cad 2009-08-11T17: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.
Daniel Veillard 43bc89c1 2009-03-23T19: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
Daniel Veillard da3fee40 2008-09-01T13: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
Daniel Veillard 1572425c 2008-08-30T15: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
Daniel Veillard e83e93e7 2008-08-30T12: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
Daniel Veillard c4ba8a42 2008-02-16T10: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
Rob Richards f779da31 2007-08-14T09: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
Daniel Veillard 5cdbbd2c 2007-06-12T09: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
William M. Brack 38d452ac 2007-05-22T16: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
Daniel Veillard 59d3ed8f 2007-04-17T12: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
Daniel Veillard bd672bc5 2007-03-30T12: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
Rob Richards 6460f925 2006-10-12T21:08:29 fix Windows compile - missing xmlWrapOpen. * xmlIO.c: fix Windows compile - missing xmlWrapOpen.
Daniel Veillard 6ad5c4af 2006-10-11T16: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
Daniel Veillard e8967e0d 2006-10-11T09: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
Daniel Veillard 0da41666 2006-10-10T09:05:36 applied a portability patch from Emelyanov Alexey Daniel * xmlIO.c: applied a portability patch from Emelyanov Alexey Daniel
Daniel Veillard ad4e2963 2006-09-21T08: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
Daniel Veillard 8ca85b25 2006-09-01T09: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
Daniel Veillard e5a3f37f 2006-08-30T13: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
Daniel Veillard 0b309954 2006-05-02T20: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
Daniel Veillard f741601c 2006-04-27T08: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
Daniel Veillard 4d3866cf 2005-11-13T12: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
Rob Richards a44f234d 2005-11-09T18: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.
Daniel Veillard 9a00fd29 2005-11-09T08: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
Daniel Veillard 9b693b48 2005-10-28T14: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
Daniel Veillard 336a8e13 2005-08-07T10: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
Daniel Veillard 24505b0f 2005-07-28T23: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
Daniel Veillard 8fcd2cac 2005-07-03T14:42:56 fixed bug #307503 misplaced #ifdef Daniel * xmlIO.c: fixed bug #307503 misplaced #ifdef Daniel
Daniel Veillard 5d4644ef 2005-04-01T13: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
William M. Brack 66e40b14 2004-11-26T15: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)
Daniel Veillard 5ea30d7f 2004-11-08T11:54:28 more fixes. Daniel * parser.c testapi.c xmlIO.c xmlstring.c: more fixes. Daniel
Daniel Veillard 42595323 2004-11-08T10: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
Daniel Veillard ce682bc2 2004-11-05T17: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
Daniel Veillard ce244ad5 2004-11-05T10: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
Daniel Veillard 34099b40 2004-11-04T17: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
Daniel Veillard b1b3a3e9 2004-11-03T23: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
Daniel Veillard 36e5cd50 2004-11-02T14: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
Daniel Veillard c7e3cc49 2004-09-28T12: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
Daniel Veillard 71b95638 2004-08-31T12: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
Daniel Veillard 29b17482 2004-08-16T00: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
William M. Brack 4e3a9fa1 2004-08-03T22: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
William M. Brack a3215c7a 2004-07-31T16: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.
William M. Brack 42331a90 2004-07-29T07: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.
Daniel Veillard 1b243b4f 2004-06-08T10: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
Daniel Veillard 0335a846 2004-06-02T16: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
Daniel Veillard 83a75e05 2004-05-14T21:50:42 third pass at the escaping refactoring. Daniel * xmlIO.c xmlsave.c: third pass at the escaping refactoring. Daniel
Daniel Veillard ee8960bc 2004-05-14T03: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
Daniel Veillard 5d1a4d81 2004-05-13T14: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
Daniel Veillard 18a65095 2004-05-11T15: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
Daniel Veillard 966a31e2 2004-05-09T02: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
Daniel Veillard aecc0dc1 2004-05-08T02: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
Daniel Veillard 500a1de5 2004-03-22T15: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
Daniel Veillard 3671190b 2004-02-11T13: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
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 157fee01 2003-10-31T10: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