New module 'tsearch'.
[gnulib.git] / MODULES.html.sh
index 9d660ff..9f77cf6 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# Copyright (C) 2002-2004 Free Software Foundation, Inc.
+# Copyright (C) 2002-2006 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -14,7 +14,7 @@
 #
 # You should have received a copy of the GNU General Public License
 # along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 #
 
 # Usage: MODULES.html.sh > MODULES.html
 # Extend the PATH so that gnulib-tool is found.
 PATH=`dirname "$0"`:$PATH; export PATH
 
-POSIX2001_URL='http://www.opengroup.org/onlinepubs/007904975/'
+POSIX2001_URL='http://www.opengroup.org/susv3'
 case $USER in
   bruno )
-    POSIX2001_URL='file:/packages/www/www.opengroup.org/susv3/' ;;
+    POSIX2001_URL='file:/packages/www/www.opengroup.org/susv3' ;;
 esac
 
 sed_lt='s,<,\&lt;,g'
@@ -1337,7 +1337,11 @@ func_module ()
     element='<A HREF="#module='$1'">'$1'</A>'
     func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"20%\">$element"
 
-    element=`gnulib-tool --extract-description $1 | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" | sed -e 's,^, ,' | sed -e 's,\([^a-zA-Z]\)'"${posix_functions}"'(),\1<A HREF="'"$POSIX2001_URL"'functions/\2.html">\2</A>(),g' | sed -e 's,^ ,,'`
+    element=`gnulib-tool --extract-description $1 \
+             | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
+             | sed -e 's,^, ,' \
+             | sed -e 's,\([^a-zA-Z]\)'"${posix_functions}"'(),\1<A HREF="'"$POSIX2001_URL"'xsh/\2.html">\2</A>(),g' \
+             | sed -e 's,^ ,,'`
     func_echo "<TD ALIGN=LEFT VALIGN=TOP WIDTH=\"80%\">$element"
 
     func_end TR
@@ -1349,23 +1353,43 @@ func_module ()
     element='<A NAME="module='$1'"></A><A HREF="modules/'$1'">'$1'</A>'
     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
 
-    element=`gnulib-tool --extract-include-directive $1 | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" | sed -e 's,^#include "\(.*\)"$,#include "<A HREF="lib/\1">\1</A>",' -e 's,^#include &lt;'"${posix_headers}"'\.h&gt;$,#include \&lt;<A HREF="'"$POSIX2001_URL"'basedefs/\1.h.html">\1.h</A>\&gt;,' | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
+    element=`gnulib-tool --extract-include-directive $1 \
+             | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \
+             | sed -e 's,^#include "\(.*\)"$,#include "<A HREF="lib/\1">\1</A>",' \
+                    -e 's,^#include &lt;'"${posix_headers}"'\.h&gt;$,#include \&lt;<A HREF="'"$POSIX2001_URL"'xbd/\1.h.html">\1.h</A>\&gt;,' \
+             | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
     test -n "$element" || element='---'
     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
 
     sed_choose_unconditional_nonstandard_include='s,^#include "\(.*\)"$,\1,p'
-    includefile=`gnulib-tool --extract-include-directive $1 | sed -n -e "$sed_choose_unconditional_nonstandard_include" | sed -e "$sed_escape_dot" | tr -d "$trnl"`
+    includefile=`gnulib-tool --extract-include-directive $1 \
+                 | sed -n -e "$sed_choose_unconditional_nonstandard_include" \
+                 | sed -e "$sed_escape_dot" | tr -d "$trnl"`
     sed_choose_lib_files='s,^lib/\(.*\)$,\1,p'
-    element=`gnulib-tool --extract-filelist $1 | sed -e '/^$/d' | sed -n -e "$sed_choose_lib_files" | sed -e '/^'"${includefile}"'$/d' | sed -e 's,^\(.*\)$,<A HREF="lib/\1">\1</A>,' | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
+    element=`gnulib-tool --extract-filelist $1 \
+             | sed -e '/^$/d' \
+             | sed -n -e "$sed_choose_lib_files" \
+             | sed -e '/^'"${includefile}"'$/d' \
+             | sed -e 's,^\(.*\)$,<A HREF="lib/\1">\1</A>,' \
+             | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
     test -n "$element" || element='---'
     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
 
     sed_choose_m4_files='s,^m4/\(.*\)$,\1,p'
-    element=`(gnulib-tool --extract-filelist $1 | sed -e "$sed_remove_trailing_empty_line" | sed -n -e "$sed_choose_m4_files" | sed -e '/^onceonly/d' | sed -e 's,^\(.*\)$,<A HREF="m4/\1">\1</A>,'; gnulib-tool --extract-autoconf-snippet $1 | sed -e "$sed_remove_trailing_empty_line") | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
+    element=`(gnulib-tool --extract-filelist $1 \
+              | sed -e "$sed_remove_trailing_empty_line" \
+              | sed -n -e "$sed_choose_m4_files" \
+              | sed -e '/^onceonly/d' \
+              | sed -e 's,^\(.*\)$,<A HREF="m4/\1">\1</A>,'; \
+              gnulib-tool --extract-autoconf-snippet $1 \
+              | sed -e "$sed_remove_trailing_empty_line") \
+              | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
     test -n "$element" || element='---'
     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
 
-    element=`gnulib-tool --extract-dependencies $1 | sed -e "$sed_remove_trailing_empty_line" | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
+    element=`gnulib-tool --extract-dependencies $1 \
+             | sed -e "$sed_remove_trailing_empty_line" \
+             | sed -e 's/$/<BR>/' | tr -d "$trnl" | sed -e 's/<BR>$//'`
     test -n "$element" || element='---'
     func_echo "<TD ALIGN=LEFT VALIGN=TOP>$element"
 
@@ -1376,7 +1400,13 @@ func_module ()
     files=`gnulib-tool --extract-filelist $1`
     sed_removal_prefix='s,^,/^,'
     sed_removal_suffix='s,$,\$/d,'
-    sed_remove_files=`echo '{'; for file in $files; do echo $file | sed -e "$sed_escape_dot" -e "$sed_escape_slash" | sed -e "$sed_removal_prefix" -e "$sed_removal_suffix"; done; echo '}'`
+    sed_remove_files=`echo '{'; \
+                      for file in $files; do \
+                        echo $file \
+                        | sed -e "$sed_escape_dot" -e "$sed_escape_slash" \
+                        | sed -e "$sed_removal_prefix" -e "$sed_removal_suffix"; \
+                      done; \
+                      echo '}'`
     missed_files=`echo "$missed_files" | sed -e "$sed_remove_files"`
 
   fi
@@ -1397,9 +1427,6 @@ func_all_modules ()
   func_echo "$element"
 
   func_begin_table
-  func_module c-bs-a
-  func_module assert
-  func_module dummy
   func_module exit
   func_module atexit
   func_module strtod
@@ -1417,13 +1444,24 @@ func_all_modules ()
   func_module mktime
   func_end_table
 
-  func_echo 'These modules are not listed among dependencies below, for simplicity.'
+  func_echo 'Most of these modules are not listed among dependencies below, for simplicity.'
 
   element="Enhancements for ANSI C 89 functions"
   func_section_wrap ansic_enh
   func_wrap H2
   func_echo "$element"
 
+  element="Diagnostics <assert.h>"
+  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+  func_section_wrap ansic_enh_assert_diagnostics
+  func_wrap H3
+  func_echo "$element"
+
+  func_begin_table
+  func_module assert
+  func_module verify
+  func_end_table
+
   element="Memory management functions <stdlib.h>"
   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
   func_section_wrap ansic_enh_stdlib_memory
@@ -1436,6 +1474,7 @@ func_all_modules ()
   func_module free
   func_module malloc
   func_module realloc
+  func_module pagealign_alloc
   func_end_table
 
   element="Date and time <time.h>"
@@ -1445,6 +1484,7 @@ func_all_modules ()
   func_echo "$element"
 
   func_begin_table
+  func_module fprintftime
   func_module strftime
   func_end_table
 
@@ -1510,15 +1550,23 @@ func_all_modules ()
 
   func_begin_table
   func_module bcopy
+  func_module memmem
   func_module mempcpy
   func_module memrchr
   func_module stpcpy
   func_module stpncpy
+  func_module c-strcase
   func_module strcase
+  func_module c-strcasestr
+  func_module strcasestr
   func_module strchrnul
   func_module strdup
   func_module strnlen
+  func_module strnlen1
   func_module strndup
+  func_module strsep
+  func_module c-strstr
+  func_module trim
   #func_module fstrcmp
   func_module xstrndup
   func_end_table
@@ -1534,6 +1582,7 @@ func_all_modules ()
   func_module c-strtold
   func_module xstrtod
   func_module xstrtol
+  func_module xstrtold
   func_end_table
 
   element="Date and time <time.h>"
@@ -1582,9 +1631,32 @@ func_all_modules ()
   func_begin_table
   func_module argmatch
   func_module version-etc
+  func_module version-etc-fsf
   func_module long-options
   func_end_table
 
+  element="Container data structures"
+  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+  func_section_wrap ansic_ext_container
+  func_wrap H3
+  func_echo "$element"
+
+  func_begin_table
+  func_module list
+  func_module array-list
+  func_module carray-list
+  func_module linked-list
+  func_module avltree-list
+  func_module rbtree-list
+  func_module linkedhash-list
+  func_module avltreehash-list
+  func_module rbtreehash-list
+  func_module oset
+  func_module array-oset
+  func_module avltree-oset
+  func_module rbtree-oset
+  func_end_table
+
   element="Cryptographic computations"
   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
   func_section_wrap ansic_ext_crypto
@@ -1603,14 +1675,18 @@ func_all_modules ()
   func_echo "$element"
 
   func_begin_table
+  func_module base64
+  func_module check-version
   func_module diacrit
   func_module getline
+  func_module getdelim
   func_module getnline
   func_module getndelim2
   func_module linebuffer
   func_module obstack
   func_module hash-pjw
   func_module hash
+  func_module readline
   func_module readtokens
   func_module readtokens0
   func_module strverscmp
@@ -1621,14 +1697,34 @@ func_all_modules ()
   func_wrap H2
   func_echo "$element"
 
-  element="Keywords"
+  element="Core language properties"
   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
-  func_section_wrap isoc_sup_keywords
+  func_section_wrap isoc_core_properties
   func_wrap H3
   func_echo "$element"
 
   func_begin_table
-  func_module restrict
+  func_module vararrays
+  func_end_table
+
+  element="Sizes of integer types <limits.h>"
+  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+  func_section_wrap isoc_sup_limits
+  func_wrap H3
+  func_echo "$element"
+
+  func_begin_table
+  func_module size_max
+  func_end_table
+
+  element="Variable arguments <stdarg.h>"
+  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+  func_section_wrap isoc_sup_stdarg
+  func_wrap H3
+  func_echo "$element"
+
+  func_begin_table
+  func_module stdarg
   func_end_table
 
   element="Boolean type and values <stdbool.h>"
@@ -1651,6 +1747,17 @@ func_all_modules ()
   func_module stdint
   func_end_table
 
+  element="Input/output <stdio.h>"
+  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+  func_section_wrap isoc_sup_stdio
+  func_wrap H3
+  func_echo "$element"
+
+  func_begin_table
+  func_module snprintf
+  func_module vsnprintf
+  func_end_table
+
   element="Numeric conversion functions <stdlib.h>"
   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
   func_section_wrap isoc_sup_stdlib_conv
@@ -1703,11 +1810,25 @@ func_all_modules ()
   func_echo "$element"
 
   func_begin_table
+  func_module intprops
   func_module inttostr
   func_module xstrtoimax
   func_module xstrtoumax
   func_end_table
 
+  element="Extended multibyte and wide character utilities <wchar.h>"
+  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+  func_section_wrap isoc_ext_wchar_mb
+  func_wrap H3
+  func_echo "$element"
+
+  func_begin_table
+  func_module mbchar
+  func_module mbiter
+  func_module mbuiter
+  func_module mbfile
+  func_end_table
+
   element="Support for systems lacking POSIX:2001"
   func_section_wrap posix_sup
   func_wrap H2
@@ -1717,26 +1838,52 @@ func_all_modules ()
   func_module chown
   func_module dup2
   func_module ftruncate
+  func_module getaddrinfo
   func_module getcwd
   func_module getgroups
   func_module gethostname
+  func_module getlogin_r
   func_module getsubopt
   func_module gettimeofday
+  func_module inet_ntop
+  func_module inet_pton
   func_module mkdir
-  func_module mkstemp
   func_module mkdtemp
+  func_module mkstemp
   func_module poll
   func_module readlink
-  func_module stat
   func_module lstat
+  func_module tempname
   func_module time_r
   func_module timespec
   func_module nanosleep
   func_module regex
   func_module rename
   func_module rmdir
-  func_module snprintf
+  func_module sigprocmask
+  func_module ssize_t
+  func_module strtok_r
+  func_module sys_stat
+  func_module tsearch
+  func_module unistd
   func_module utime
+  func_module wcwidth
+  func_end_table
+
+  element="Compatibility checks for POSIX:2001 functions"
+  func_section_wrap posix_compat
+  func_wrap H2
+  func_echo "$element"
+
+  func_begin_table
+  func_module d-ino
+  func_module d-type
+  func_module link-follow
+  func_module rename-dest-slash
+  func_module rmdir-errno
+  func_module unlink-busy
+  func_module winsz-ioctl
+  func_module winsz-termios
   func_end_table
 
   element="Enhancements for POSIX:2001 functions"
@@ -1747,11 +1894,11 @@ func_all_modules ()
   func_begin_table
   func_module dirname
   func_module getopt
-  func_module fcntl-safer
   func_module unistd-safer
   func_module fnmatch
   func_module fnmatch-posix
   func_module fnmatch-gnu
+  func_module glob
   func_module exclude
   func_end_table
 
@@ -1780,6 +1927,7 @@ func_all_modules ()
   func_module acl
   func_module backupfile
   func_module canonicalize
+  func_module clean-temp
   func_module copy-file
   func_module cycle-check
   func_module fsusage
@@ -1788,17 +1936,25 @@ func_all_modules ()
   func_module file-type
   func_module fileblocks
   func_module filemode
+  func_module filenamecat
+  func_module fts
+  func_module fts-lgpl
   func_module isdir
+  func_module lchmod
   func_module lchown
-  func_module makepath
+  func_module mkancesdirs
+  func_module mkdir-p
   func_module modechange
   func_module mountlist
-  func_module path-concat
   func_module pathname
   func_module pathmax
   func_module same
   func_module save-cwd
   func_module savedir
+  func_module savewd
+  func_module stat-time
+  func_module tmpdir
+  func_module unlinkdir
   func_module utimecmp
   func_module utimens
   func_module xgetcwd
@@ -1812,11 +1968,13 @@ func_all_modules ()
   func_echo "$element"
 
   func_begin_table
+  func_module fcntl-safer
   func_module safe-read
   func_module safe-write
   func_module full-read
   func_module full-write
   func_module binary-io
+  func_module isapipe
   func_end_table
 
   element="File stream based Input/Output"
@@ -1826,11 +1984,14 @@ func_all_modules ()
   func_echo "$element"
 
   func_begin_table
-  func_module fpending
+  func_module close-stream
   func_module closeout
-  func_module stdio-safer
+  func_module fopen-safer
+  func_module fpending
   func_module getpass
   func_module getpass-gnu
+  func_module stdlib-safer
+  func_module tmpfile-safer
   func_end_table
 
   element="Users and groups"
@@ -1870,6 +2031,17 @@ func_all_modules ()
   func_module canon-host
   func_end_table
 
+  element="Multithreading"
+  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+  func_section_wrap posix_ext_thread
+  func_wrap H3
+  func_echo "$element"
+
+  func_begin_table
+  func_module lock
+  func_module tls
+  func_end_table
+
   element="Internationalization functions"
   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
   func_section_wrap posix_ext_i18n
@@ -1878,7 +2050,11 @@ func_all_modules ()
 
   func_begin_table
   func_module gettext
+  func_module gettext-h
   func_module iconv
+  func_module striconv
+  func_module xstriconv
+  func_module iconvme
   func_module localcharset
   func_module hard-locale
   func_module mbswidth
@@ -1893,6 +2069,7 @@ func_all_modules ()
   func_module utf8-ucs4
   func_module utf16-ucs4
   func_module linebreak
+  func_module bison-i18n
   func_end_table
 
   element="Executing programs"
@@ -1907,7 +2084,7 @@ func_all_modules ()
   func_module wait-process
   func_module execute
   func_module pipe
-  #func_module sh-quote
+  func_module sh-quote
   func_end_table
 
   element="Java"
@@ -1916,12 +2093,24 @@ func_all_modules ()
   func_wrap H3
   func_echo "$element"
 
-  #func_begin_table
-  #func_module classpath
-  #func_module javacomp
-  #func_module javaexec
+  func_begin_table
+  func_module classpath
+  func_module javacomp
+  func_module javaexec
+  func_module javaversion
   #func_module gcj
-  #func_end_table
+  func_end_table
+
+  element="C#"
+  element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
+  func_section_wrap posix_ext_csharp
+  func_wrap H3
+  func_echo "$element"
+
+  func_begin_table
+  func_module csharpcomp
+  func_module csharpexec
+  func_end_table
 
   element="Misc"
   element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"`
@@ -1932,6 +2121,7 @@ func_all_modules ()
   func_begin_table
   func_module argp
   func_module argz
+  func_module byteswap
   func_module exitfail
   func_module c-stack
   func_module error
@@ -1949,6 +2139,56 @@ func_all_modules ()
   func_module readutmp
   func_module sig2str
   func_module sysexits
+  func_module verror
+  func_module visibility
+  func_end_table
+
+  element="Support for building libraries and executables"
+  func_section_wrap build_lib
+  func_wrap H2
+  func_echo "$element"
+
+  func_begin_table
+  func_module config-h
+  func_module configmake
+  func_module dummy
+  func_module elisp-comp
+  func_module ldd
+  func_module lib-ignore
+  func_end_table
+
+  element="Support for building documentation"
+  func_section_wrap build_doc
+  func_wrap H2
+  func_echo "$element"
+
+  func_begin_table
+  func_module fdl
+  func_module gendocs
+  func_module gpl
+  func_module lgpl
+  func_module regexprops-generic
+  func_end_table
+
+  element="Support for maintaining and release projects"
+  func_section_wrap maintain
+  func_wrap H2
+  func_echo "$element"
+
+  func_begin_table
+  func_module gnupload
+  func_module maintainer-makefile
+  func_end_table
+
+  element="Misc"
+  func_section_wrap misc
+  func_wrap H2
+  func_echo "$element"
+
+  func_begin_table
+  func_module host-os
+  func_module perl
+  func_module uptime
   func_end_table
 }
 
@@ -2021,9 +2261,9 @@ func_echo '<LI>A header file: lib/<VAR>module</VAR>.h'
 func_echo '<LI>One or more implementation files: lib/<VAR>module</VAR>.c et al.'
 func_echo '<LI>One or more autoconf macro files: m4/<VAR>module</VAR>.m4 et al.'
 func_echo '<LI>A configure.ac fragment, Makefile.am fragment, dependency list: modules/<VAR>module</VAR>'
+func_echo '<LI>A testsuite: source files in tests/ and metainformation (a configure.ac fragment, Makefile.am fragment, dependency list) in modules/<VAR>module</VAR>-tests'
 func_echo '<LI>Some documentation'
 func_echo '<LI>A POT file and some PO files'
-func_echo '<LI>A testsuite'
 func_end UL
 
 func_echo '<HR>'