summaryrefslogtreecommitdiff
path: root/doc/apibuild.py
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2004-01-06 11:52:13 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2004-01-06 11:52:13 +0000
commita2e844a3b3503367a4418187e77ccc977f186909 (patch)
tree1f61d44d5ede68eda096eb1730bb2ebef2173881 /doc/apibuild.py
parent0f124fdd805e63a1f261fa104aca2958a4ce62c2 (diff)
downloadlibxml2-a2e844a3b3503367a4418187e77ccc977f186909.tar.gz
moved string and UTF8 routines out of parser.c and encoding.c into a new
* encoding.c, parser.c, xmlstring.c, Makefile.am, include/libxml/Makefile.am, include/libxml/catalog.c, include/libxml/chvalid.h, include/libxml/encoding.h, include/libxml/parser.h, include/libxml/relaxng.h, include/libxml/tree.h, include/libxml/xmlwriter.h, include/libxml/xmlstring.h: moved string and UTF8 routines out of parser.c and encoding.c into a new module xmlstring.c with include file include/libxml/xmlstring.h mostly using patches from Reid Spencer. Since xmlChar now defined in xmlstring.h, several include files needed to have a #include added for safety. * doc/apibuild.py: added some additional sorting for various references displayed in the APIxxx.html files. Rebuilt the docs, and also added new file for xmlstring module. * configure.in: small addition to help my testing; no effect on normal usage. * doc/search.php: added $_GET[query] so that persistent globals can be disabled (for recent versions of PHP)
Diffstat (limited to 'doc/apibuild.py')
-rwxr-xr-xdoc/apibuild.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/apibuild.py b/doc/apibuild.py
index 541e838e..a0b3f28d 100755
--- a/doc/apibuild.py
+++ b/doc/apibuild.py
@@ -1666,11 +1666,11 @@ class docBuilder:
module = self.modulename_file(file)
output.write(" <file name='%s'>\n" % (module))
dict = self.headers[file]
- ids = dict.functions.keys() + dict.variables.keys() + \
+ ids = uniq(dict.functions.keys() + dict.variables.keys() + \
dict.macros.keys() + dict.typedefs.keys() + \
- dict.structs.keys() + dict.enums.keys()
+ dict.structs.keys() + dict.enums.keys())
ids.sort()
- for id in uniq(ids):
+ for id in ids:
output.write(" <ref name='%s'/>\n" % (id))
output.write(" </file>\n")
pass
@@ -1787,7 +1787,7 @@ class docBuilder:
tokens = index[id];
tokens.sort()
tok = None
- for token in index[id]:
+ for token in tokens:
if tok == token:
continue
tok = token