1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-28 00:21:53 +03:00

- added xmlRemoveID() and xmlRemoveRef()

- added check and handling when possibly removing an ID
- fixed some entities problems
- added xmlParseTryOrFinish()
- changed the way struct aredeclared to allow gtk-doc to expose those
- closed #4960
- fixes to libs detection from Albert Chin-A-Young
- preparing 1.8.3 release
Daniel
This commit is contained in:
Daniel Veillard
2000-01-05 14:46:17 +00:00
parent 437b87b8cc
commit 71b656e067
44 changed files with 2414 additions and 6045 deletions

View File

@ -4,7 +4,7 @@
>xmlmemory</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK
CONTENT="Modular DocBook HTML Stylesheet Version 1.44"><LINK
REL="HOME"
TITLE="Gnome XML Library Reference Manual"
HREF="book1.html"><LINK
@ -17,6 +17,9 @@ HREF="gnome-xml-debugxml.html"></HEAD
><BODY
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
@ -99,19 +102,22 @@ ALIGN="right"
></TABLE
></DIV
><H1
>xmlmemory</H1
><A
NAME="GNOME-XML-XMLMEMORY"
>xmlmemory</A
></H1
><DIV
CLASS="REFNAMEDIV"
><A
NAME="AEN11788"
NAME="AEN10660"
></A
><H2
>Name</H2
>xmlmemory &#8212; </DIV
>xmlmemory&nbsp;--&nbsp;</DIV
><DIV
CLASS="REFSYNOPSISDIV"
><A
NAME="AEN11791"
NAME="AEN10663"
></A
><H2
>Synopsis</H2
@ -172,14 +178,6 @@ HREF="gnome-xml-xmlmemory.html#XMLMEMDISPLAY"
HREF="FILE"
>FILE</GTKDOCLINK
> *fp);
void <A
HREF="gnome-xml-xmlmemory.html#XMLMEMSHOW"
>xmlMemShow</A
> (<GTKDOCLINK
HREF="FILE"
>FILE</GTKDOCLINK
> *fp,
int nr);
#define <A
HREF="gnome-xml-xmlmemory.html#DEBUG-MEMORY-LOCATION"
>DEBUG_MEMORY_LOCATION</A
@ -218,7 +216,7 @@ HREF="gnome-xml-xmlmemory.html#XMLMEMSTRDUPLOC"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN11814"
NAME="AEN10684"
></A
><H2
>Description</H2
@ -228,14 +226,14 @@ NAME="AEN11814"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN11817"
NAME="AEN10687"
></A
><H2
>Details</H2
><DIV
CLASS="REFSECT2"
><A
NAME="AEN11819"
NAME="AEN10689"
></A
><H3
><A
@ -251,7 +249,7 @@ CELLPADDING="6"
><TD
><PRE
CLASS="PROGRAMLISTING"
>#define NO_DEBUG_MEMORY</PRE
>#define NO_DEBUG_MEMORY</PRE
></TD
></TR
></TABLE
@ -261,7 +259,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11824"
NAME="AEN10694"
></A
><H3
><A
@ -324,7 +322,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11840"
NAME="AEN10710"
></A
><H3
><A
@ -390,7 +388,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11857"
NAME="AEN10727"
></A
><H3
><A
@ -474,7 +472,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11878"
NAME="AEN10748"
></A
><H3
><A
@ -542,7 +540,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>a pointer to the new string or NULL if allocation error occured.</TD
>&nbsp;</TD
></TR
></TABLE
><P
@ -552,7 +550,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11898"
NAME="AEN10768"
></A
><H3
><A
@ -600,7 +598,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>0 on success</TD
>&nbsp;</TD
></TR
></TABLE
><P
@ -610,7 +608,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11913"
NAME="AEN10783"
></A
><H3
><A
@ -658,7 +656,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>an int representing the amount of memory allocated.</TD
>&nbsp;</TD
></TR
></TABLE
><P
@ -668,7 +666,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11928"
NAME="AEN10798"
></A
><H3
><A
@ -696,7 +694,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11934"
NAME="AEN10804"
></A
><H3
><A
@ -749,8 +747,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> a FILE descriptor used as the output file, if NULL, the result is
written to the file .memorylist</TD
>&nbsp;</TD
></TR
></TABLE
><P
@ -760,94 +757,7 @@ written to the file .memorylist</TD
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11950"
></A
><H3
><A
NAME="XMLMEMSHOW"
></A
>xmlMemShow ()</H3
><TABLE
BORDER="0"
BGCOLOR="#D6E8FF"
WIDTH="100%"
CELLPADDING="6"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>void xmlMemShow (<GTKDOCLINK
HREF="FILE"
>FILE</GTKDOCLINK
> *fp,
int nr);</PRE
></TD
></TR
></TABLE
><P
>show a show display of the memory allocated, and dump
the <TT
CLASS="PARAMETER"
><I
>nr</I
></TT
> last allocated areas which were not freed</P
><P
></P
><DIV
CLASS="INFORMALTABLE"
><P
></P
><TABLE
BORDER="0"
WIDTH="100%"
BGCOLOR="#FFD0D0"
CELLSPACING="0"
CELLPADDING="4"
CLASS="CALSTABLE"
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>fp</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> a FILE descriptor used as the output file</TD
></TR
><TR
><TD
WIDTH="20%"
ALIGN="RIGHT"
VALIGN="TOP"
><TT
CLASS="PARAMETER"
><I
>nr</I
></TT
>&nbsp;:</TD
><TD
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> number of entries to dump</TD
></TR
></TABLE
><P
></P
></DIV
></DIV
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11971"
NAME="AEN10820"
></A
><H3
><A
@ -863,7 +773,7 @@ CELLPADDING="6"
><TD
><PRE
CLASS="PROGRAMLISTING"
>#define DEBUG_MEMORY_LOCATION</PRE
>#define DEBUG_MEMORY_LOCATION</PRE
></TD
></TR
></TABLE
@ -873,7 +783,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11976"
NAME="AEN10825"
></A
><H3
><A
@ -889,7 +799,7 @@ CELLPADDING="6"
><TD
><PRE
CLASS="PROGRAMLISTING"
>#define DEBUG_MEMORY</PRE
>#define DEBUG_MEMORY</PRE
></TD
></TR
></TABLE
@ -899,7 +809,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11981"
NAME="AEN10830"
></A
><H3
><A
@ -915,7 +825,7 @@ CELLPADDING="6"
><TD
><PRE
CLASS="PROGRAMLISTING"
>#define MEM_LIST /* keep a list of all the allocated memory blocks */</PRE
>#define MEM_LIST</PRE
></TD
></TR
></TABLE
@ -925,7 +835,7 @@ CLASS="PROGRAMLISTING"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN11986"
NAME="AEN10835"
></A
><H3
><A
@ -980,7 +890,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> an int specifying the size in byte to allocate.</TD
>&nbsp;</TD
></TR
><TR
><TD
@ -997,13 +907,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> the file name or NULL
<TT
CLASS="PARAMETER"
><I
>file</I
></TT
>: the line number</TD
>&nbsp;</TD
></TR
><TR
><TD
@ -1030,7 +934,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12011"
NAME="AEN10859"
></A
><H3
><A
@ -1086,7 +990,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> the initial memory block pointer</TD
>&nbsp;</TD
></TR
><TR
><TD
@ -1103,7 +1007,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> an int specifying the size in byte to allocate.</TD
>&nbsp;</TD
></TR
><TR
><TD
@ -1120,7 +1024,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> the file name or NULL</TD
> the line number</TD
></TR
><TR
><TD
@ -1147,7 +1051,7 @@ VALIGN="TOP"
><HR><DIV
CLASS="REFSECT2"
><A
NAME="AEN12039"
NAME="AEN10887"
></A
><H3
><A
@ -1219,7 +1123,7 @@ CLASS="PARAMETER"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
> the file name or NULL</TD
> the line number</TD
></TR
><TR
><TD
@ -1251,7 +1155,7 @@ CLASS="EMPHASIS"
WIDTH="80%"
ALIGN="LEFT"
VALIGN="TOP"
>a pointer to the new string or NULL if allocation error occured.</TD
>&nbsp;</TD
></TR
></TABLE
><P