1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

revamped the XML debugging module and prepare for a new checking mode

* configure.in debugXML.c include/libxml/xmlversion.h.in
  include/libxml/xmlwin32version.h.in: revamped the XML debugging
  module and prepare for a new checking mode
Daniel
This commit is contained in:
Daniel Veillard
2004-10-04 14:09:17 +00:00
parent c93a19fc10
commit 22cdb842fd
6 changed files with 1256 additions and 896 deletions

View File

@ -1,3 +1,9 @@
Mon Oct 4 16:09:07 CEST 2004 Daniel Veillard <daniel@veillard.com>
* configure.in debugXML.c include/libxml/xmlversion.h.in
include/libxml/xmlwin32version.h.in: revamped the XML debugging
module and prepare for a new checking mode
Mon Oct 4 13:53:24 CEST 2004 Daniel Veillard <daniel@veillard.com> Mon Oct 4 13:53:24 CEST 2004 Daniel Veillard <daniel@veillard.com>
* parser.c: applied patch from Malcolm Tredinnick fixing bug #152426 * parser.c: applied patch from Malcolm Tredinnick fixing bug #152426

20
NEWS
View File

@ -15,9 +15,27 @@ ChangeLog.html
to the CVS at to the CVS at
http://cvs.gnome.org/viewcvs/libxml2/ http://cvs.gnome.org/viewcvs/libxml2/
code base.There is the list of public releases: code base.There is the list of public releases:
2.6.14: Sep 29 2004:
- build fixes: configure paths for xmllint and xsltproc, compilation
without HTML parser, compilation warning cleanups (William Brack &
Malcolm Tredinnick), VMS makefile update (Craig Berry),
- bug fixes: xmlGetUTF8Char (William Brack), QName properties (Kasimier
Buchcik), XInclude testing, Notation serialization, UTF8ToISO8859x
transcoding (Mark Itzcovitz), lots of XML Schemas cleanup and fixes
(Kasimier), ChangeLog cleanup (Stepan Kasal), memory fixes (Mark Vakoc),
handling of failed realloc(), out of bound array adressing in Schemas
date handling, Python space/tabs cleanups (Malcolm Tredinnick), NMTOKENS
E20 validation fix (Malcolm),
- improvements: added W3C XML Schemas testsuite (Kasimier Buchcik), add
xmlSchemaValidateOneElement (Kasimier), Python exception hierearchy
(Malcolm Tredinnick), Python libxml2 driver improvement (Malcolm
Tredinnick), Schemas support for xsi:schemaLocation,
xsi:noNamespaceSchemaLocation, xsi:type (Kasimier Buchcik)
2.6.13: Aug 31 2004: 2.6.13: Aug 31 2004:
- build fixes: Windows and zlib (Igor Zlatkovic), -O flag with gcc, - build fixes: Windows and zlib (Igor Zlatkovic), -O flag with gcc,
Solaris compiler warning, fixing RPM BuildRequires, Solaris compiler warning, fixing RPM BuildRequires,
- fixes: DTD loading on Windows (Igor), Schemas error reports APIs - fixes: DTD loading on Windows (Igor), Schemas error reports APIs
(Kasimier Buchcik), Schemas validation crash, xmlCheckUTF8 (William Brack (Kasimier Buchcik), Schemas validation crash, xmlCheckUTF8 (William Brack
and Julius Mittenzwei), Schemas facet check (Kasimier), default namespace and Julius Mittenzwei), Schemas facet check (Kasimier), default namespace

View File

@ -440,6 +440,7 @@ if [[ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XML" ]] || \
then then
if test "${with_mem_debug}" = "" ; then if test "${with_mem_debug}" = "" ; then
with_mem_debug="yes" with_mem_debug="yes"
with_run_debug="yes"
fi fi
if test "${with_docbook}" = "" ; then if test "${with_docbook}" = "" ; then
with_docbook="yes" with_docbook="yes"
@ -1031,6 +1032,19 @@ else
fi fi
AC_SUBST(WITH_MEM_DEBUG) AC_SUBST(WITH_MEM_DEBUG)
AC_ARG_WITH(run_debug,
[ --with-run-debug add the runtime debugging module (off)])
if test "$with_minimum" = "yes" -a "$with_run_debug" = ""
then
with_run_debug=no
fi
if test "$with_run_debug" = "yes" ; then
echo Enabling runtime debug support
WITH_RUN_DEBUG=1
else
WITH_RUN_DEBUG=0
fi
AC_SUBST(WITH_RUN_DEBUG)
WIN32_EXTRA_LIBADD= WIN32_EXTRA_LIBADD=
WIN32_EXTRA_LDFLAGS= WIN32_EXTRA_LDFLAGS=

2094
debugXML.c

File diff suppressed because it is too large Load Diff

View File

@ -294,6 +294,15 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
#define DEBUG_MEMORY_LOCATION #define DEBUG_MEMORY_LOCATION
#endif #endif
/**
* LIBXML_DEBUG_RUNTIME:
*
* Whether the runtime debugging is configured in
*/
#if @WITH_MEM_DEBUG@
#define LIBXML_DEBUG_RUNTIME
#endif
/** /**
* LIBXML_UNICODE_ENABLED: * LIBXML_UNICODE_ENABLED:
* *

View File

@ -201,6 +201,15 @@ extern void xmlCheckVersion(int version);
#define DEBUG_MEMORY_LOCATION #define DEBUG_MEMORY_LOCATION
#endif #endif
/**
* LIBXML_DEBUG_RUNTIME:
*
* Whether the runtime debugging is configured in
*/
#if 0
#define LIBXML_DEBUG_RUNTIME
#endif
/** /**
* LIBXML_DLL_IMPORT: * LIBXML_DLL_IMPORT:
* *