X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=MODULES.html.sh;h=e61a64459791992304da7cdd1418d9ba8318083b;hb=0494ee29c036b7109c3c8a87cdd31d1ee34b820f;hp=68a11282400c493320c2bd8b38edec88b86272f7;hpb=57fdfd3f8ec62b105c53bcdf6f127c35c7fe7391;p=gnulib.git diff --git a/MODULES.html.sh b/MODULES.html.sh index 68a112824..e61a64459 100755 --- a/MODULES.html.sh +++ b/MODULES.html.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2002-2007 Free Software Foundation, Inc. +# Copyright (C) 2002-2008 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 @@ -16,7 +16,7 @@ # along with this program. If not, see . # -# Usage: MODULES.html.sh [--cvs-urls|--git-urls] > MODULES.html +# Usage: MODULES.html.sh [--git-urls] > MODULES.html # Extend the PATH so that gnulib-tool is found. PATH=`dirname "$0"`:$PATH; export PATH @@ -31,11 +31,6 @@ repo_url_prefix= repo_url_suffix= if test $# != 0; then case "$1" in - --cvs-urls) - # Generate URLs to the official gnulib CVS repository. - repo_url_prefix='http://cvs.sv.gnu.org/viewcvs/*checkout*/gnulib/' - repo_url_suffix='?root=gnulib&content-type=text/plain' - ;; --git-urls) # Generate URLs to the official gnulib git repository. repo_url_prefix='http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=blob_plain;f=' @@ -401,6 +396,7 @@ fgets fgetwc fgetws fileno +flock flockfile floor floorf @@ -1406,11 +1402,21 @@ func_module () element=''$1'' func_echo "$element" + # Rendering the description: + # - Change the symbol() syntax as suitable for documentation, removing the + # parentheses (as per GNU standards, section "GNU Manuals"). + # - Flag the remaining symbol() constructs as errors. + # - Change 'xxx' to xxx. element=`gnulib-tool --extract-description $1 \ | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \ - -e 's,^, ,' \ - -e 's,\([^a-zA-Z]\)'"${posix_functions}"'(),\1\2(),g' \ - -e 's,^ ,,'` + -e 's,^, ,' -e 's,$, ,' \ + -e 's,\([^a-zA-Z_]\)'"${posix_functions}"'() \(function\|macro\),\1\2 \3,g' \ + -e 's,\([^a-zA-Z_]\)'"${posix_functions}"' \(function\|macro\),\1\2 \3,g' \ + -e 's,\([^a-zA-Z_]\)'"${posix_functions}"'(),\1\2 what?? If you mean a function\, please say so.,g' \ + -e 's,\([^a-zA-Z_]\)\([a-zA-Z_][a-zA-Z0-9_]*\)() \(function\|macro\),\1\2 \3,g' \ + -e 's,\([^a-zA-Z_]\)\([a-zA-Z_][a-zA-Z0-9_]*\)(),\1\2 what?? If you mean a function\, please say so.,g' \ + -e 's, '"'"'\([a-zA-Z0-9_ -]*\)'"'"'\([^a-zA-Z0-9_]\), \1\2,g' \ + -e 's,^ ,,' -e 's, $,,'` func_echo "$element" func_end TR @@ -1481,16 +1487,14 @@ func_end_table () # func_all_modules func_all_modules () { - element="Support for systems lacking ANSI C 89" - func_section_wrap ansic_sup + element="Support for obsolete systems lacking ANSI C 89" + func_section_wrap ansic_sup_obsolete func_wrap H2 func_echo "$element" func_begin_table func_module stdlib func_module exit - func_module atexit - func_module strtod func_module strtol func_module strtoul func_module memchr @@ -1500,12 +1504,23 @@ func_all_modules () func_module memset func_module strcspn func_module strpbrk + func_end_table + + func_echo 'These modules are not listed among dependencies below, for simplicity.' + func_echo 'If your package requires portability to old, obsolete systems, you need to list these modules explicitly among the modules to import through gnulib-tool.' + + element="Support for systems lacking ANSI C 89" + func_section_wrap ansic_sup + func_wrap H2 + func_echo "$element" + + func_begin_table + func_module atexit + func_module strtod func_module strerror func_module mktime func_end_table - 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 @@ -1599,6 +1614,7 @@ func_all_modules () func_module alloca-opt func_module malloca func_module xmalloca + func_module xmemdup0 func_end_table element="Integer arithmetic functions " @@ -1622,6 +1638,7 @@ func_all_modules () func_begin_table func_module putenv func_module setenv + func_module unsetenv func_module xsetenv func_end_table @@ -1643,9 +1660,12 @@ func_all_modules () func_begin_table func_module bcopy + func_module memchr2 func_module memmem + func_module memmem-simple func_module mempcpy func_module memrchr + func_module rawmemchr func_module stpcpy func_module stpncpy func_module c-strcase @@ -1653,13 +1673,14 @@ func_all_modules () func_module c-strcaseeq func_module c-strcasestr func_module strcasestr + func_module strcasestr-simple func_module strchrnul - func_module strdup func_module streq func_module strnlen func_module strnlen1 func_module strndup func_module strsep + func_module strstr func_module c-strstr func_module trim func_module fstrcmp @@ -1713,6 +1734,7 @@ func_all_modules () func_module fwriteerror func_module vasnprintf func_module vasprintf + func_module xprintf func_module xvasprintf func_end_table @@ -1725,6 +1747,7 @@ func_all_modules () func_begin_table func_module fatal-signal func_module raise + func_module strsignal func_end_table element="Command-line arguments" @@ -1780,6 +1803,8 @@ func_all_modules () func_module crypto/md5 func_module crypto/rijndael func_module crypto/sha1 + func_module crypto/sha256 + func_module crypto/sha512 func_end_table element="Cryptographic computations (high-level)" @@ -1792,6 +1817,7 @@ func_all_modules () func_module crypto/gc func_module crypto/gc-arcfour func_module crypto/gc-arctwo + func_module crypto/gc-camellia func_module crypto/gc-des func_module crypto/gc-hmac-md5 func_module crypto/gc-hmac-sha1 @@ -1804,6 +1830,16 @@ func_all_modules () func_module crypto/gc-sha1 func_end_table + element="Compiler warning management" + element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"` + func_section_wrap ansic_ext_misc + func_wrap H3 + func_echo "$element" + + func_begin_table + func_module ignore-value + func_end_table + element="Misc" element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"` func_section_wrap ansic_ext_misc @@ -1813,6 +1849,7 @@ func_all_modules () func_begin_table func_module base64 func_module check-version + func_module crc func_module diacrit func_module diffseq func_module getline @@ -1820,13 +1857,17 @@ func_all_modules () func_module getnline func_module getndelim2 func_module linebuffer + func_module memxor func_module obstack + func_module obstack-printf + func_module obstack-printf-posix func_module hash-pjw func_module hash func_module readline func_module readtokens func_module readtokens0 func_module strverscmp + func_module filevercmp func_end_table element="Support for systems lacking ISO C 99" @@ -1843,7 +1884,9 @@ func_all_modules () func_begin_table func_module flexmember func_module fpucw + func_module func func_module inline + func_module longlong func_module vararrays func_end_table @@ -1944,6 +1987,16 @@ func_all_modules () func_module wctype func_end_table + element="Characteristics of floating types " + element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"` + func_section_wrap isoc_sup_float + func_wrap H3 + func_echo "$element" + + func_begin_table + func_module float + func_end_table + element="Mathematics " element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"` func_section_wrap isoc_sup_math @@ -1951,14 +2004,35 @@ func_all_modules () func_echo "$element" func_begin_table + func_module ceil + func_module ceilf + func_module ceill + func_module floor + func_module floorf + func_module floorl func_module frexp + func_module frexp-nolibm func_module frexpl - func_module isnan-nolibm + func_module frexpl-nolibm + func_module isfinite + func_module isinf + func_module isnan + func_module isnanf + func_module isnanf-nolibm + func_module isnand + func_module isnand-nolibm func_module isnanl func_module isnanl-nolibm func_module ldexpl func_module math func_module mathl + func_module round + func_module roundf + func_module roundl + func_module signbit + func_module trunc + func_module truncf + func_module truncl func_end_table element="Enhancements for ISO C 99 functions" @@ -1966,7 +2040,14 @@ func_all_modules () func_wrap H2 func_echo "$element" + element="Input/output " + element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"` + func_section_wrap isoc_enh_stdio + func_wrap H3 + func_echo "$element" + func_begin_table + func_module printf-safe func_end_table element="Extra functions based on ISO C 99" @@ -2010,16 +2091,41 @@ func_all_modules () func_module mbfile func_end_table + element="Support for obsolete systems lacking POSIX:2001" + func_section_wrap posix_sup_obsolete + func_wrap H2 + func_echo "$element" + + func_begin_table + func_module strdup + func_end_table + + func_echo 'These modules are not listed among dependencies below, for simplicity.' + func_echo 'If your package requires portability to old, obsolete systems, you need to list these modules explicitly among the modules to import through gnulib-tool.' + element="Support for systems lacking POSIX:2001" func_section_wrap posix_sup func_wrap H2 func_echo "$element" func_begin_table + func_module arpa_inet + func_module calloc-posix func_module chown func_module dup2 + func_module environ + func_module errno func_module fchdir + func_module fcntl + func_module flock + func_module fopen func_module fprintf-posix + func_module freopen + func_module fseek + func_module fseeko + func_module fsync + func_module ftell + func_module ftello func_module ftruncate func_module getaddrinfo func_module getcwd @@ -2028,28 +2134,42 @@ func_all_modules () func_module getlogin_r func_module getsubopt func_module gettimeofday + func_module iconv_open func_module inet_ntop func_module inet_pton + func_module locale func_module lseek func_module lstat + func_module malloc-posix func_module mkdir func_module mkdtemp func_module mkstemp + func_module netdb + func_module netinet_in + func_module open + func_module perror func_module poll func_module printf-posix func_module readlink + func_module realloc-posix + func_module signal + func_module sleep func_module snprintf-posix func_module sprintf-posix + func_module strdup-posix func_module string + func_module strings func_module tempname func_module time func_module time_r + func_module times func_module timespec func_module nanosleep func_module regex func_module rename func_module rmdir func_module search + func_module sigaction func_module sigprocmask func_module socklen func_module ssize_t @@ -2059,6 +2179,7 @@ func_all_modules () func_module sys_socket func_module sys_stat func_module sys_time + func_module sys_times func_module tsearch func_module unistd func_module utime @@ -2077,6 +2198,7 @@ func_all_modules () func_echo "$element" func_begin_table + func_module clock-time func_module d-ino func_module d-type func_module link-follow @@ -2093,8 +2215,10 @@ func_all_modules () func_echo "$element" func_begin_table + func_module chdir-long func_module dirname func_module getopt + func_module iconv_open-utf func_module unistd-safer func_module fnmatch func_module fnmatch-posix @@ -2108,6 +2232,17 @@ func_all_modules () func_wrap H2 func_echo "$element" + element="Input/output" + element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"` + func_section_wrap posix_ext_stdio + func_wrap H3 + func_echo "$element" + + func_begin_table + func_module xprintf-posix + func_module xvasprintf-posix + func_end_table + element="Numeric conversion functions" element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"` func_section_wrap posix_ext_conv @@ -2126,13 +2261,14 @@ func_all_modules () func_begin_table func_module acl + func_module areadlink func_module areadlink-with-size func_module backupfile func_module canonicalize func_module canonicalize-lgpl + func_module chdir-safer func_module clean-temp func_module copy-file - func_module cycle-check func_module fsusage func_module dirfd func_module double-slash-root @@ -2152,11 +2288,14 @@ func_all_modules () func_module modechange func_module mountlist func_module openat + func_module openat-die func_module pathmax + func_module read-file func_module same func_module save-cwd func_module savedir func_module savewd + func_module stat-macros func_module stat-time func_module tmpdir func_module unlinkdir @@ -2167,6 +2306,21 @@ func_all_modules () func_module xreadlink func_end_table + element="File system as inode set" + element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"` + func_section_wrap posix_ext_inodeset + func_wrap H3 + func_echo "$element" + + func_begin_table + func_module cycle-check + func_module dev-ino + func_module file-set + func_module hash-triple + func_module i-ring + func_module same-inode + func_end_table + element="File descriptor based Input/Output" element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"` func_section_wrap posix_ext_filedesc @@ -2200,6 +2354,8 @@ func_all_modules () func_module freadable func_module freadahead func_module freading + func_module freadptr + func_module freadseek func_module fwritable func_module fwriting func_module getpass @@ -2228,6 +2384,7 @@ func_all_modules () func_echo "$element" func_begin_table + func_module gethrxtime func_module gettime func_module settime func_module posixtm @@ -2243,6 +2400,7 @@ func_all_modules () func_begin_table func_module xgethostname func_module canon-host + func_module sockets func_end_table element="Multithreading" @@ -2252,8 +2410,26 @@ func_all_modules () func_echo "$element" func_begin_table + func_module threadlib func_module lock func_module tls + func_module thread + func_module yield + func_module cond + func_module openmp + func_end_table + + element="Signal handling" + element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"` + func_section_wrap posix_ext_signal + func_wrap H3 + func_echo "$element" + + func_begin_table + func_module c-stack + func_module libsigsegv + func_module sig2str + func_module sigpipe-die func_end_table element="Internationalization functions" @@ -2265,6 +2441,7 @@ func_all_modules () func_begin_table func_module gettext func_module gettext-h + func_module propername func_module iconv func_module striconv func_module xstriconv @@ -2272,6 +2449,7 @@ func_all_modules () func_module striconveha func_module localcharset func_module hard-locale + func_module localename func_module mbslen func_module mbsnlen func_module mbschr @@ -2293,7 +2471,6 @@ func_all_modules () func_module unicodeio func_module rpmatch func_module yesno - func_module linebreak func_module bison-i18n func_end_table @@ -2339,6 +2516,9 @@ func_all_modules () func_module unistr/u8-mblen func_module unistr/u16-mblen func_module unistr/u32-mblen + func_module unistr/u8-mbsnlen + func_module unistr/u16-mbsnlen + func_module unistr/u32-mbsnlen func_module unistr/u8-mbtouc-unsafe func_module unistr/u16-mbtouc-unsafe func_module unistr/u32-mbtouc-unsafe @@ -2511,6 +2691,168 @@ func_all_modules () func_module unistdio/u32-u32-vsprintf func_module uniname/base func_module uniname/uniname + func_module unictype/base + func_module unictype/bidicategory-byname + func_module unictype/bidicategory-name + func_module unictype/bidicategory-of + func_module unictype/bidicategory-test + func_module unictype/bidicategory-all + func_module unictype/block-list + func_module unictype/block-of + func_module unictype/block-test + func_module unictype/block-all + func_module unictype/category-C + func_module unictype/category-Cc + func_module unictype/category-Cf + func_module unictype/category-Cn + func_module unictype/category-Co + func_module unictype/category-Cs + func_module unictype/category-L + func_module unictype/category-Ll + func_module unictype/category-Lm + func_module unictype/category-Lo + func_module unictype/category-Lt + func_module unictype/category-Lu + func_module unictype/category-M + func_module unictype/category-Mc + func_module unictype/category-Me + func_module unictype/category-Mn + func_module unictype/category-N + func_module unictype/category-Nd + func_module unictype/category-Nl + func_module unictype/category-No + func_module unictype/category-P + func_module unictype/category-Pc + func_module unictype/category-Pd + func_module unictype/category-Pe + func_module unictype/category-Pf + func_module unictype/category-Pi + func_module unictype/category-Po + func_module unictype/category-Ps + func_module unictype/category-S + func_module unictype/category-Sc + func_module unictype/category-Sk + func_module unictype/category-Sm + func_module unictype/category-So + func_module unictype/category-Z + func_module unictype/category-Zl + func_module unictype/category-Zp + func_module unictype/category-Zs + func_module unictype/category-and + func_module unictype/category-and-not + func_module unictype/category-byname + func_module unictype/category-name + func_module unictype/category-none + func_module unictype/category-of + func_module unictype/category-or + func_module unictype/category-test + func_module unictype/category-test-withtable + func_module unictype/category-all + func_module unictype/combining-class + func_module unictype/ctype-alnum + func_module unictype/ctype-alpha + func_module unictype/ctype-blank + func_module unictype/ctype-cntrl + func_module unictype/ctype-digit + func_module unictype/ctype-graph + func_module unictype/ctype-lower + func_module unictype/ctype-print + func_module unictype/ctype-punct + func_module unictype/ctype-space + func_module unictype/ctype-upper + func_module unictype/ctype-xdigit + func_module unictype/decimal-digit + func_module unictype/digit + func_module unictype/mirror + func_module unictype/numeric + func_module unictype/property-alphabetic + func_module unictype/property-ascii-hex-digit + func_module unictype/property-bidi-arabic-digit + func_module unictype/property-bidi-arabic-right-to-left + func_module unictype/property-bidi-block-separator + func_module unictype/property-bidi-boundary-neutral + func_module unictype/property-bidi-common-separator + func_module unictype/property-bidi-control + func_module unictype/property-bidi-embedding-or-override + func_module unictype/property-bidi-eur-num-separator + func_module unictype/property-bidi-eur-num-terminator + func_module unictype/property-bidi-european-digit + func_module unictype/property-bidi-hebrew-right-to-left + func_module unictype/property-bidi-left-to-right + func_module unictype/property-bidi-non-spacing-mark + func_module unictype/property-bidi-other-neutral + func_module unictype/property-bidi-pdf + func_module unictype/property-bidi-segment-separator + func_module unictype/property-bidi-whitespace + func_module unictype/property-byname + func_module unictype/property-combining + func_module unictype/property-composite + func_module unictype/property-currency-symbol + func_module unictype/property-dash + func_module unictype/property-decimal-digit + func_module unictype/property-default-ignorable-code-point + func_module unictype/property-deprecated + func_module unictype/property-diacritic + func_module unictype/property-extender + func_module unictype/property-format-control + func_module unictype/property-grapheme-base + func_module unictype/property-grapheme-extend + func_module unictype/property-grapheme-link + func_module unictype/property-hex-digit + func_module unictype/property-hyphen + func_module unictype/property-id-continue + func_module unictype/property-id-start + func_module unictype/property-ideographic + func_module unictype/property-ids-binary-operator + func_module unictype/property-ids-trinary-operator + func_module unictype/property-ignorable-control + func_module unictype/property-iso-control + func_module unictype/property-join-control + func_module unictype/property-left-of-pair + func_module unictype/property-line-separator + func_module unictype/property-logical-order-exception + func_module unictype/property-lowercase + func_module unictype/property-math + func_module unictype/property-non-break + func_module unictype/property-not-a-character + func_module unictype/property-numeric + func_module unictype/property-other-alphabetic + func_module unictype/property-other-default-ignorable-code-point + func_module unictype/property-other-grapheme-extend + func_module unictype/property-other-id-continue + func_module unictype/property-other-id-start + func_module unictype/property-other-lowercase + func_module unictype/property-other-math + func_module unictype/property-other-uppercase + func_module unictype/property-paired-punctuation + func_module unictype/property-paragraph-separator + func_module unictype/property-pattern-syntax + func_module unictype/property-pattern-white-space + func_module unictype/property-private-use + func_module unictype/property-punctuation + func_module unictype/property-quotation-mark + func_module unictype/property-radical + func_module unictype/property-sentence-terminal + func_module unictype/property-soft-dotted + func_module unictype/property-space + func_module unictype/property-terminal-punctuation + func_module unictype/property-test + func_module unictype/property-titlecase + func_module unictype/property-unassigned-code-value + func_module unictype/property-unified-ideograph + func_module unictype/property-uppercase + func_module unictype/property-variation-selector + func_module unictype/property-white-space + func_module unictype/property-xid-continue + func_module unictype/property-xid-start + func_module unictype/property-zero-width + func_module unictype/property-all + func_module unictype/scripts + func_module unictype/scripts-all + func_module unictype/syntax-c-ident + func_module unictype/syntax-c-whitespace + func_module unictype/syntax-java-ident + func_module unictype/syntax-java-whitespace func_module uniwidth/base func_module uniwidth/u8-strwidth func_module uniwidth/u8-width @@ -2519,6 +2861,17 @@ func_all_modules () func_module uniwidth/u32-strwidth func_module uniwidth/u32-width func_module uniwidth/width + func_module unilbrk/base + func_module unilbrk/tables + func_module unilbrk/ulc-common + func_module unilbrk/u8-possible-linebreaks + func_module unilbrk/u16-possible-linebreaks + func_module unilbrk/u32-possible-linebreaks + func_module unilbrk/ulc-possible-linebreaks + func_module unilbrk/u8-width-linebreaks + func_module unilbrk/u16-width-linebreaks + func_module unilbrk/u32-width-linebreaks + func_module unilbrk/ulc-width-linebreaks func_end_table element="Executing programs" @@ -2574,9 +2927,9 @@ func_all_modules () func_begin_table func_module argp func_module argz + func_module bitrotate func_module byteswap func_module exitfail - func_module c-stack func_module error func_module extensions func_module getdomainname @@ -2590,7 +2943,7 @@ func_all_modules () func_module quotearg func_module quote func_module readutmp - func_module sig2str + func_module random_r func_module sysexits func_module verror func_module visibility @@ -2607,6 +2960,7 @@ func_all_modules () func_module configmake func_module dummy func_module elisp-comp + func_module gperf func_module havelib func_module include_next func_module ldd @@ -2626,11 +2980,13 @@ func_all_modules () func_echo "$element" func_begin_table + func_module agpl-3.0 func_module fdl func_module gendocs func_module gpl-2.0 func_module gpl-3.0 func_module lgpl-2.1 + func_module pmccabe2html func_module regexprops-generic func_end_table @@ -2642,8 +2998,14 @@ func_all_modules () func_begin_table func_module announce-gen func_module autobuild + func_module git-version-gen + func_module gitlog-to-changelog + func_module gnumakefile func_module gnupload func_module maintainer-makefile + func_module mktempd + func_module useless-if-before-free + func_module vc-list-files func_end_table element="Misc" @@ -2652,8 +3014,11 @@ func_all_modules () func_echo "$element" func_begin_table + func_module gnu-make func_module host-os + func_module nocrash func_module perl + func_module posix-shell func_module uptime func_end_table } @@ -2721,7 +3086,7 @@ if test -n "$missed_modules"; then fi -LC_ALL=C ls -d lib/* m4/* | sed -e /CVS/d -e /README/d -e /ChangeLog/d -e /Makefile/d -e /TODO/d -e '/tags$/d' -e '/TAGS$/d' -e '/~$/d' > "$tmp/all-files" +{ find lib -type f -print; find m4 -type f -print; } | LC_ALL=C sort | sed -e '/\/\./d' -e /CVS/d -e /README/d -e /ChangeLog/d -e /Makefile/d -e /TODO/d -e '/tags$/d' -e '/TAGS$/d' -e '/~$/d' > "$tmp/all-files" missed_files=`for file in $seen_files; do echo $file; done \ | LC_ALL=C sort -u \ | LC_ALL=C join -v 2 - "$tmp/all-files"`