X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=MODULES.html.sh;h=5a0405c87c9b0b0573f44bed7c2febda8c761007;hb=23eecb48e39afd0d267d64d40ba6bf97aa865e13;hp=c356b0157f670d4d5701c4ac5206abc089ad1c51;hpb=a88d2561c2cdb9bde56bec1c858a5f64c6ad28c0;p=gnulib.git diff --git a/MODULES.html.sh b/MODULES.html.sh index c356b0157..5a0405c87 100755 --- a/MODULES.html.sh +++ b/MODULES.html.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (C) 2002-2010 Free Software Foundation, Inc. +# Copyright (C) 2002-2013 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 @@ -1512,19 +1512,26 @@ func_module () # parentheses (as per GNU standards, section "GNU Manuals"). # - Flag the remaining symbol() constructs as errors. # - Change 'xxx' to xxx. + sed_extract_element=' + '$sed_lt' + '$sed_gt' + '$sed_remove_trailing_empty_line' + s,^, , + s,$, , + s,\([^a-zA-Z_]\)'$posix_functions'() \(function\|macro\),\1\2 \3,g + s,\([^a-zA-Z_]\)'$posix_functions' \(function\|macro\),\1\2 \3,g + s,\([^a-zA-Z_]\)'$posix_functions'(),\1\2 what?? If you mean a function\, please say so.,g + s,\([^a-zA-Z_]\)'$posix2001_functions'() \(function\|macro\),\1\2 \3,g + s,\([^a-zA-Z_]\)'$posix2001_functions' \(function\|macro\),\1\2 \3,g + s,\([^a-zA-Z_]\)'$posix2001_functions'(),\1\2 what?? If you mean a function\, please say so.,g + s,\([^a-zA-Z_]\)\([a-zA-Z_][a-zA-Z0-9_]*\)() \(function\|macro\),\1\2 \3,g + s,\([^a-zA-Z_]\)\([a-zA-Z_][a-zA-Z0-9_]*\)(),\1\2 what?? If you mean a function\, please say so.,g + s, '"'"'\([a-zA-Z0-9_ -]*\)'"'"'\([^a-zA-Z0-9_]\), \1\2,g + s,^ ,, + s, $,, + ' element=`gnulib-tool --extract-description $1 \ - | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \ - -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_]\)'"${posix2001_functions}"'() \(function\|macro\),\1\2 \3,g' \ - -e 's,\([^a-zA-Z_]\)'"${posix2001_functions}"' \(function\|macro\),\1\2 \3,g' \ - -e 's,\([^a-zA-Z_]\)'"${posix2001_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, $,,'` + | LC_ALL=C sed -e "$sed_extract_element"` func_echo "$element" func_end TR @@ -1539,13 +1546,19 @@ func_module () includes=`gnulib-tool --extract-include-directive $1` files=`gnulib-tool --extract-filelist $1 \ | grep -v '^m4/gnulib-common\.m4$'` + sed_extract_element=' + '$sed_lt' + '$sed_gt' + '$sed_remove_trailing_empty_line' + s,^#include "\(.*\)"$,#include "\1", + s,^#include <'$posix_headers'\.h>$,#include \<\1.h\>, + s,,, + s,^#include <'$posix2001_headers'\.h>$,#include \<\1.h\>, + s/$/
/ + ' element=`echo "$includes" \ - | sed -e "$sed_lt" -e "$sed_gt" -e "$sed_remove_trailing_empty_line" \ - -e 's,^#include "\(.*\)"$,#include "\1",' \ - -e 's,^#include <'"${posix_headers}"'\.h>$,#include \<\1.h\>,' \ - -e 's,,,' \ - -e 's,^#include <'"${posix2001_headers}"'\.h>$,#include \<\1.h\>,' \ - -e 's/$/
/' | tr -d "$trnl" | sed -e 's/
$//'` + | LC_ALL=C sed -e "$sed_extract_element" | tr -d "$trnl" \ + | sed -e 's/
$//'` test -n "$element" || element='---' func_echo "$element" @@ -1554,21 +1567,28 @@ func_module () | sed -n -e "$sed_choose_unconditional_nonstandard_include" \ | sed -e "$sed_escape_dot" | tr -d "$trnl"` sed_choose_lib_files='s,^lib/\(.*\)$,\1,p' + sed_extract_include=' + \|^'"$includefile"'$|d + s,^\(.*\)$,\1, + s/$/
/ + ' element=`echo "$files" \ | sed -e '/^$/d' \ | sed -n -e "$sed_choose_lib_files" \ - | sed -e '\|^'"${includefile}"'$|d' \ - -e 's,^\(.*\)$,\1,' \ - -e 's/$/
/' | tr -d "$trnl" | sed -e 's/
$//'` + | sed -e "$sed_extract_include" \ + | tr -d "$trnl" | sed -e 's/
$//'` test -n "$element" || element='---' func_echo "$element" sed_choose_m4_files='s,^m4/\(.*\)$,\1,p' + sed_extract_repo_url=' + /^onceonly/d + s,^\(.*\)$,\1, + ' element=`(echo "$files" \ | sed -e "$sed_remove_trailing_empty_line" \ | sed -n -e "$sed_choose_m4_files" \ - | sed -e '/^onceonly/d' \ - -e 's,^\(.*\)$,\1,'; \ + | sed -e "$sed_extract_repo_url"; \ gnulib-tool --extract-autoconf-snippet $1 \ | sed -e "$sed_remove_trailing_empty_line") \ | sed -e 's/$/
/' | tr -d "$trnl" | sed -e 's/
$//'` @@ -1604,7 +1624,6 @@ func_all_modules () func_begin_table func_module stdlib - func_module exit func_module strtol func_module strtoul func_module memcmp @@ -1627,6 +1646,7 @@ func_all_modules () func_module atexit func_module strtod func_module strerror + func_module strerror-override func_module mktime func_end_table @@ -1735,7 +1755,12 @@ func_all_modules () func_echo "$element" func_begin_table + func_module count-leading-zeros func_module count-one-bits + func_module count-trailing-zeros + func_module ffs + func_module ffsl + func_module ffsll func_module gcd func_module minmax func_end_table @@ -1748,6 +1773,7 @@ func_all_modules () func_begin_table func_module putenv + func_module secure_getenv func_module setenv func_module unsetenv func_module xsetenv @@ -1790,6 +1816,7 @@ func_all_modules () func_module strcasestr-simple func_module strchrnul func_module streq + func_module strerror_r-posix func_module strnlen func_module strnlen1 func_module strndup @@ -1835,7 +1862,8 @@ func_all_modules () func_echo "$element" func_begin_table - func_module get_date + func_module mktime-internal + func_module parse-datetime func_module timegm func_module tzset func_end_table @@ -1953,7 +1981,7 @@ func_all_modules () element="Compiler warning management" element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"` - func_section_wrap ansic_ext_misc + func_section_wrap ansic_ext_compwarn func_wrap H3 func_echo "$element" @@ -1968,11 +1996,13 @@ func_all_modules () func_echo "$element" func_begin_table + func_module base32 func_module base64 func_module check-version func_module crc func_module diacrit func_module diffseq + func_module execinfo func_module getline func_module getdelim func_module getnline @@ -1983,6 +2013,7 @@ func_all_modules () func_module obstack-printf func_module obstack-printf-posix func_module hash-pjw + func_module hash-pjw-bare func_module hash func_module readline func_module readtokens @@ -2009,7 +2040,7 @@ func_all_modules () func_module func func_module inline func_module longlong - func_module unused-parameter + func_module snippet/unused-parameter func_module va-args func_module vararrays func_end_table @@ -2281,8 +2312,11 @@ func_all_modules () func_echo "$element" func_begin_table + func_module dtoastr + func_module ftoastr func_module intprops func_module inttostr + func_module ldtoastr func_module xstrtoimax func_module xstrtoumax func_end_table @@ -2300,6 +2334,21 @@ func_all_modules () func_module mbfile func_end_table + element="Support for systems lacking ISO C11" + func_section_wrap c11_sup + func_wrap H2 + func_echo "$element" + + element="Core language properties" + element=`printf "%s" "$element" | sed -e "$sed_lt" -e "$sed_gt"` + func_section_wrap c11_core_properties + func_wrap H3 + func_echo "$element" + + func_begin_table + func_module stdalign + func_end_table + element="Support for obsolete systems lacking POSIX:2008" func_section_wrap posix_sup_obsolete func_wrap H2 @@ -2337,6 +2386,7 @@ func_all_modules () func_module fclose func_module fcntl-h func_module fcntl + func_module fdatasync func_module flock func_module fopen func_module fprintf-posix @@ -2350,6 +2400,7 @@ func_all_modules () func_module futimens func_module getaddrinfo func_module getcwd + func_module getcwd-lgpl func_module getgroups func_module gethostname func_module getlogin @@ -2382,6 +2433,7 @@ func_all_modules () func_module mkfifo func_module mknod func_module mkstemp + func_module net_if func_module netdb func_module netinet_in func_module nl_langinfo @@ -2389,6 +2441,7 @@ func_all_modules () func_module perror func_module poll func_module popen + func_module posix_openpt func_module posix_spawn func_module posix_spawnattr_destroy func_module posix_spawnattr_getflags @@ -2413,6 +2466,7 @@ func_all_modules () func_module posix_spawnp func_module pread func_module printf-posix + func_module pselect func_module pthread func_module ptsname func_module pwrite @@ -2429,7 +2483,7 @@ func_all_modules () func_module servent func_module setsockopt func_module shutdown - func_module signal + func_module signal-h func_module sleep func_module snprintf-posix func_module socket @@ -2445,6 +2499,7 @@ func_all_modules () func_module times func_module timespec func_module nanosleep + func_module pthread_sigmask func_module regex func_module rename func_module renameat @@ -2461,6 +2516,7 @@ func_all_modules () func_module sys_stat func_module sys_time func_module sys_times + func_module sys_uio func_module sys_utsname func_module sys_wait func_module tsearch @@ -2495,6 +2551,7 @@ func_all_modules () func_module link-follow func_module rename-dest-slash func_module rmdir-errno + func_module timer-time func_module unlink-busy func_module winsz-ioctl func_module winsz-termios @@ -2580,6 +2637,7 @@ func_all_modules () func_module filenamecat-lgpl func_module fts func_module isdir + func_module largefile func_module lchmod func_module lchown func_module mkancesdirs @@ -2649,6 +2707,7 @@ func_all_modules () func_module full-write func_module binary-io func_module isapipe + func_module pipe-posix func_module pipe2 func_module pipe2-safer func_end_table @@ -3131,6 +3190,13 @@ func_all_modules () func_module unictype/property-bidi-segment-separator func_module unictype/property-bidi-whitespace func_module unictype/property-byname + func_module unictype/property-case-ignorable + func_module unictype/property-cased + func_module unictype/property-changes-when-casefolded + func_module unictype/property-changes-when-casemapped + func_module unictype/property-changes-when-lowercased + func_module unictype/property-changes-when-titlecased + func_module unictype/property-changes-when-uppercased func_module unictype/property-combining func_module unictype/property-composite func_module unictype/property-currency-symbol @@ -3323,7 +3389,7 @@ func_all_modules () func_module findprog-lgpl func_module wait-process func_module execute - func_module pipe + func_module spawn-pipe func_module pipe-filter-gi func_module pipe-filter-ii func_module sh-quote @@ -3387,6 +3453,7 @@ func_all_modules () func_module physmem func_module posixver func_module progname + func_module ptsname_r func_module pty func_module quotearg func_module quote @@ -3406,11 +3473,10 @@ func_all_modules () func_begin_table func_module absolute-header - func_module arg-nonnull + func_module snippet/arg-nonnull func_module config-h func_module configmake func_module dummy - func_module elisp-comp func_module gperf func_module havelib func_module include_next @@ -3418,7 +3484,7 @@ func_all_modules () func_module lib-ignore func_module lib-msvc-compat func_module lib-symbol-versions - func_module link-warning + func_module snippet/link-warning func_module manywarnings func_module no-c++ func_module relocatable-lib @@ -3426,7 +3492,7 @@ func_all_modules () func_module relocatable-prog func_module relocatable-prog-wrapper func_module relocatable-script - func_module warn-on-use + func_module snippet/warn-on-use func_module warnings func_end_table @@ -3443,6 +3509,7 @@ func_all_modules () func_module gpl-2.0 func_module gpl-3.0 func_module lgpl-2.1 + func_module lgpl-3.0 func_module pmccabe2html func_module regexprops-generic func_end_table @@ -3463,6 +3530,9 @@ func_all_modules () func_module gnupload func_module maintainer-makefile func_module mktempd + func_module non-recursive-gnulib-prefix-hack + func_module readme-release + func_module test-framework-sh func_module update-copyright func_module useless-if-before-free func_module vc-list-files @@ -3546,7 +3616,7 @@ if test -n "$missed_modules"; then fi -{ 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" +{ find lib -type f -print; find m4 -type f -print; } | LC_ALL=C sort | sed -e '/\/\./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"` @@ -3559,7 +3629,7 @@ if test -n "$missed_files"; then func_echo "$element" func_echo '
'
-  echo "$missed_files" | sed -e 's,^\(.*\)$,\1,'
+  echo "$missed_files" | sed -e 's,^\(.*\)$,\1,'
   echo '
' fi