diff options
Diffstat (limited to 'Build/source/texk/web2c/cwebdir')
-rw-r--r-- | Build/source/texk/web2c/cwebdir/ChangeLog | 7 | ||||
-rw-r--r-- | Build/source/texk/web2c/cwebdir/comm-w2c.ch | 2 | ||||
-rw-r--r-- | Build/source/texk/web2c/cwebdir/comm-w2c.h | 1 | ||||
-rw-r--r-- | Build/source/texk/web2c/cwebdir/ctang-w2c.ch | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/cwebdir/ctwill-w2c.ch | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/cwebdir/cweav-w2c.ch | 6 | ||||
-rw-r--r-- | Build/source/texk/web2c/cwebdir/po/de/cweb.po | 3 | ||||
-rw-r--r-- | Build/source/texk/web2c/cwebdir/po/de/web2c-help.po | 62 | ||||
-rw-r--r-- | Build/source/texk/web2c/cwebdir/po/it/cweb.po | 3 | ||||
-rw-r--r-- | Build/source/texk/web2c/cwebdir/po/web2c-help.pot | 60 |
10 files changed, 90 insertions, 66 deletions
diff --git a/Build/source/texk/web2c/cwebdir/ChangeLog b/Build/source/texk/web2c/cwebdir/ChangeLog index 012f317b23b..52c36e1345f 100644 --- a/Build/source/texk/web2c/cwebdir/ChangeLog +++ b/Build/source/texk/web2c/cwebdir/ChangeLog @@ -1,3 +1,10 @@ +2020-03-30 Andreas Scherer <https://ascherer.github.io> + + * comm-w2c.ch, comm-w2c.h, ctang-w2c.ch, ctwill-w2c.ch, cweav-w2c.ch, + * po/de/cweb.po, po/de/web2c-help.po, + * po/it/cweb.po, + * po/web2c-help.pot: Add new option '-t'. + 2020-02-01 Andreas Scherer <https://ascherer.github.io> * ctang-w2c.ch: Fix verbosity bug in ctangle. diff --git a/Build/source/texk/web2c/cwebdir/comm-w2c.ch b/Build/source/texk/web2c/cwebdir/comm-w2c.ch index ed87a71e9b4..1b5201897de 100644 --- a/Build/source/texk/web2c/cwebdir/comm-w2c.ch +++ b/Build/source/texk/web2c/cwebdir/comm-w2c.ch @@ -854,6 +854,7 @@ overflow( @d show_happiness flags['h'] /* should lack of errors be announced? */ @y @d show_happiness flags['h'] /* should lack of errors be announced? */ +@d temporary_output flags['t'] /* should temporary output take precedence? */ @d make_xrefs flags['x'] /* should cross references be output? */ @z @@ -874,6 +875,7 @@ const char *use_language=""; /* prefix of \.{cwebmac.tex} in \TEX/ output */ @x show_banner=show_happiness=show_progress=1; @y +temporary_output=1; /* Check temporary output for changes */ @z @x diff --git a/Build/source/texk/web2c/cwebdir/comm-w2c.h b/Build/source/texk/web2c/cwebdir/comm-w2c.h index be99ea8658d..09939bb2bc9 100644 --- a/Build/source/texk/web2c/cwebdir/comm-w2c.h +++ b/Build/source/texk/web2c/cwebdir/comm-w2c.h @@ -195,6 +195,7 @@ extern boolean print_where; /* tells \.{CTANGLE} to print line and file info */ @d show_banner flags['b'] /* should the banner line be printed? */ @d show_progress flags['p'] /* should progress reports be printed? */ @d show_happiness flags['h'] /* should lack of errors be announced? */ +@d temporary_output flags['t'] /* should temporary output take precedence? */ @d make_xrefs flags['x'] /* should cross references be output? */ @<Common code...@>= diff --git a/Build/source/texk/web2c/cwebdir/ctang-w2c.ch b/Build/source/texk/web2c/cwebdir/ctang-w2c.ch index 9f8136d9ac2..3397c8a4856 100644 --- a/Build/source/texk/web2c/cwebdir/ctang-w2c.ch +++ b/Build/source/texk/web2c/cwebdir/ctang-w2c.ch @@ -778,20 +778,20 @@ if((C_file=fopen(C_file_name,"r"))!=NULL) { @ @<Set up the comparison of temporary output@>= char x[BUFSIZ],y[BUFSIZ]; - int x_size,y_size,comparison; + int x_size,y_size,comparison=false; if((check_file=fopen(check_file_name,"r"))==NULL) fatal(_("! Cannot open output file "),check_file_name); @.Cannot open output file@> - @<Compare the temporary output to the previous output@>@; + if (temporary_output) @<Compare the temporary output...@>@; fclose(C_file); C_file=NULL; fclose(check_file); check_file=NULL; @ We hope that this runs fast on most systems. -@<Compare the temp...@>= +@<Compare the temporary output to the previous output@>= do { x_size = fread(x,1,BUFSIZ,C_file); y_size = fread(y,1,BUFSIZ,check_file); diff --git a/Build/source/texk/web2c/cwebdir/ctwill-w2c.ch b/Build/source/texk/web2c/cwebdir/ctwill-w2c.ch index 4434b9a4f51..2dde67b3ee0 100644 --- a/Build/source/texk/web2c/cwebdir/ctwill-w2c.ch +++ b/Build/source/texk/web2c/cwebdir/ctwill-w2c.ch @@ -3163,13 +3163,13 @@ be found in the program \.{NUWEB} by Preston Briggs, to whom credit is due. @<Update the result...@>= if((tex_file=fopen(tex_file_name,"r"))!=NULL) { char x[BUFSIZ],y[BUFSIZ]; - int x_size,y_size,comparison; + int x_size,y_size,comparison=false; if((check_file=fopen(check_file_name,"r"))==NULL) fatal(_("! Cannot open output file "),check_file_name); @.Cannot open output file@> - @<Compare the temporary output to the previous output@>@; + if (temporary_output) @<Compare the temporary output...@>@; fclose(tex_file); tex_file=NULL; fclose(check_file); check_file=NULL; @@ -3182,7 +3182,7 @@ strcpy(check_file_name,""); /* We want to get rid of the temporary file */ @ We hope that this runs fast on most systems. -@<Compare the temp...@>= +@<Compare the temporary output to the previous output@>= do { x_size = fread(x,1,BUFSIZ,tex_file); y_size = fread(y,1,BUFSIZ,check_file); diff --git a/Build/source/texk/web2c/cwebdir/cweav-w2c.ch b/Build/source/texk/web2c/cwebdir/cweav-w2c.ch index 795b5fcb6db..bf52c91a45c 100644 --- a/Build/source/texk/web2c/cwebdir/cweav-w2c.ch +++ b/Build/source/texk/web2c/cwebdir/cweav-w2c.ch @@ -1926,13 +1926,13 @@ be found in the program \.{NUWEB} by Preston Briggs, to whom credit is due. @<Update the result...@>= if((tex_file=fopen(tex_file_name,"r"))!=NULL) { char x[BUFSIZ],y[BUFSIZ]; - int x_size,y_size,comparison; + int x_size,y_size,comparison=false; if((check_file=fopen(check_file_name,"r"))==NULL) fatal(_("! Cannot open output file "),check_file_name); @.Cannot open output file@> - @<Compare the temporary output to the previous output@>@; + if (temporary_output) @<Compare the temporary output...@>@; fclose(tex_file); tex_file=NULL; fclose(check_file); check_file=NULL; @@ -1945,7 +1945,7 @@ strcpy(check_file_name,""); /* We want to get rid of the temporary file */ @ We hope that this runs fast on most systems. -@<Compare the temp...@>= +@<Compare the temporary output to the previous output@>= do { x_size = fread(x,1,BUFSIZ,tex_file); y_size = fread(y,1,BUFSIZ,check_file); diff --git a/Build/source/texk/web2c/cwebdir/po/de/cweb.po b/Build/source/texk/web2c/cwebdir/po/de/cweb.po index 71930326bc4..7665a113ad6 100644 --- a/Build/source/texk/web2c/cwebdir/po/de/cweb.po +++ b/Build/source/texk/web2c/cwebdir/po/de/cweb.po @@ -425,6 +425,7 @@ msgstr "" "h [+] Bestätige einen fehlerfreien Lauf\n" "p [+] Zeige einen Zwischenbericht\n" "s [-] Melde die Verbrauchsstatistik\n" +"t [+] Vergleiche temporäre Ausgabe nach Änderungen\n" #: comm-i18n.ch:287 msgid "" @@ -442,6 +443,7 @@ msgstr "" "x [+] Füge Indexe und Inhaltsverzeichnisse ein\n" "lX [] Verwende die Makros für Sprache X aus Xcwebmac.tex\n" "s [-] Melde die Verbrauchsstatistik\n" +"t [+] Vergleiche temporäre Ausgabe nach Änderungen\n" #: comm-i18n.ch:290 msgid "" @@ -460,6 +462,7 @@ msgstr "" "P [-] Benutze 'proofmac.tex' statt 'ctwimac.tex'\n" "lX [] Verwende die Makros für Sprache X aus X{ctwimac|proofmac}.tex\n" "s [-] Melde die Verbrauchsstatistik\n" +"t [+] Vergleiche temporäre Ausgabe nach Änderungen\n" #: ctang-i18n.ch:131 cweav-i18n.ch:53 cweav-i18n.ch:119 msgid "! Use @l in limbo only" diff --git a/Build/source/texk/web2c/cwebdir/po/de/web2c-help.po b/Build/source/texk/web2c/cwebdir/po/de/web2c-help.po index f7db142698d..84d6b2a33a0 100644 --- a/Build/source/texk/web2c/cwebdir/po/de/web2c-help.po +++ b/Build/source/texk/web2c/cwebdir/po/de/web2c-help.po @@ -1,14 +1,14 @@ # International version of CWEB (CWEBbin, TeXLive). -# Copyright (C) 2018 Andreas Scherer et al. +# Copyright (C) 2020 Andreas Scherer et al. # This file is distributed under the same license as the CWEB package. -# Andreas Scherer <https://ascherer.github.io>, 2018. +# Andreas Scherer <https://ascherer.github.io>, 2020. # msgid "" msgstr "" -"Project-Id-Version: CWEBbin 2018\n" +"Project-Id-Version: CWEBbin 2020\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-19 23:24+0100\n" -"PO-Revision-Date: 2019-01-19 23:24+0100\n" +"POT-Creation-Date: 2020-03-30 12:09+0100\n" +"PO-Revision-Date: 2020-03-30 12:09+0100\n" "Last-Translator: Andreas Scherer <andreas_github@freenet.de>\n" "Language-Team: German\n" "Language: de\n" @@ -25,7 +25,7 @@ msgstr "Aufruf: ctangle [OPTIONS] WEBFILE[.w] [{CHANGEFILE[.ch]|-} [OUTFILE[.c]] msgid " Tangle WEBFILE with CHANGEFILE into a C/C++ program." msgstr " Verknüpfe WEBFILE mit CHANGEFILE in ein C/C++ Programm." -#: help.h:54 help.h:73 help.h:98 +#: help.h:54 help.h:74 help.h:100 msgid " Default CHANGEFILE is /dev/null;" msgstr " Vorgabe für CHANGEFILE ist /dev/null;" @@ -33,94 +33,98 @@ msgstr " Vorgabe für CHANGEFILE ist /dev/null;" msgid " C output goes to the basename of WEBFILE extended with `.c'" msgstr " C Ausgabe geht in den Hauptnamen des WEBFILE erweitert um `.c'," -#: help.h:56 help.h:75 help.h:100 +#: help.h:56 help.h:76 help.h:102 msgid " unless otherwise specified by OUTFILE; in this case, '-' specifies" msgstr " sofern nicht ein anderes OUTFILE angegeben ist; in diesem Fall" -#: help.h:57 help.h:76 help.h:101 +#: help.h:57 help.h:77 help.h:103 msgid " a null CHANGEFILE." msgstr " bezeichnet '-' ein leeres CHANGEFILE." -#: help.h:59 help.h:78 help.h:103 +#: help.h:59 help.h:79 help.h:105 msgid "+b print banner line on terminal" msgstr "+b schreibe die Startmeldung" -#: help.h:60 help.h:79 help.h:104 +#: help.h:60 help.h:80 help.h:106 msgid "+h print success message on completion" msgstr "+h schreibe die Erfolgsmeldung am Ende" -#: help.h:61 help.h:80 help.h:105 +#: help.h:61 help.h:81 help.h:107 msgid "+p print progress report messages" msgstr "+p schreibe die Fortschrittsmeldungen" -#: help.h:62 help.h:81 help.h:106 +#: help.h:62 help.h:82 help.h:108 msgid "+/-q shortcut for '-bhp'; also '--quiet' (default)" msgstr "+/-q Kurzform für '-bhp'; auch '--quiet' (Vorgabe)" -#: help.h:63 help.h:82 help.h:107 +#: help.h:63 help.h:83 help.h:109 msgid "+/-v shortcut for '+bhp'; also '--verbose'" msgstr "+/-v Kurzform für '+bhp'; auch '--verbose'" -#: help.h:64 help.h:89 help.h:115 +#: help.h:64 help.h:90 help.h:117 msgid "+s print usage statistics" msgstr "+s melde die Verbrauchsstatistik" -#: help.h:65 help.h:90 help.h:116 +#: help.h:65 help.h:91 help.h:118 +msgid "-t ignore temporary output irrespective of changes" +msgstr "-t ignoriere temporäre Ausgabe unabhängig von Änderungen" + +#: help.h:65 help.h:91 help.h:118 msgid "--help display this help and exit" msgstr "--help zeige diesen Hilfetext und ende" -#: help.h:66 help.h:91 help.h:117 +#: help.h:66 help.h:92 help.h:119 msgid "--version output version information and exit" msgstr "--version zeige die Versionsinformation und ende" -#: help.h:71 +#: help.h:72 msgid "Usage: cweave [OPTIONS] WEBFILE[.w] [{CHANGEFILE[.ch]|-} [OUTFILE[.tex]]]" msgstr "Aufruf: cweave [OPTIONS] WEBFILE[.w] [{CHANGEFILE[.ch]|-} [OUTFILE[.tex]]]" -#: help.h:72 +#: help.h:73 msgid " Weave WEBFILE with CHANGEFILE into a TeX document." msgstr " Verwebe WEBFILE mit CHANGEFILE in ein TeX Dokument." -#: help.h:74 help.h:99 +#: help.h:75 help.h:101 msgid " TeX output goes to the basename of WEBFILE extended with `.tex'" msgstr " TeX Ausgabe geht in den Hauptnamen des WEBFILE erweitert um `.tex'," -#: help.h:83 help.h:108 +#: help.h:84 help.h:110 msgid "-e do not enclose C material in \\PB{...}" msgstr "-e schließe C Material nicht in \\PB{...} ein" -#: help.h:84 help.h:109 +#: help.h:85 help.h:111 msgid "-f do not force a newline after every C statement in output" msgstr "-f erzwinge keinen Zeilenumbruch nach jedem C Statement" -#: help.h:85 help.h:110 +#: help.h:86 help.h:112 msgid "-i suppress indentation of parameter declarations" msgstr "-i unterdrücke die Einrückung von Parameterdeklarationen" -#: help.h:86 help.h:111 +#: help.h:87 help.h:113 msgid "-o suppress separation of declarations and statements" msgstr "-o unterdrücke die Trennung von Deklarationen und Statements" -#: help.h:87 help.h:112 +#: help.h:88 help.h:114 msgid "-x omit indices, section names, table of contents" msgstr "-x verzichte auf Indexe, Abschnittnamen und Inhaltsverzeichnis" -#: help.h:88 +#: help.h:89 msgid "+lX use macros for language X as of Xcwebmac.tex" msgstr "+lX benutze Macros für Sprache X aus Xcwebmac.tex" -#: help.h:96 +#: help.h:98 msgid "Usage: ctwill [OPTIONS] WEBFILE[.w] [{CHANGEFILE[.ch]|-} [OUTFILE[.tex]]]" msgstr "Aufruf: ctwill [OPTIONS] WEBFILE[.w] [{CHANGEFILE[.ch]|-} [OUTFILE[.tex]]]" -#: help.h:97 +#: help.h:99 msgid " Weave WEBFILE with CHANGEFILE into a TeX document with mini-indexes." msgstr " Verwebe WEBFILE mit CHANGEFILE in ein TeX Dokument mit Miniindexen." -#: help.h:113 +#: help.h:115 msgid "+P \\input ctproofmac.tex instead of ctwimac.tex" msgstr "+P \\input ctproofmac.tex an Stelle von ctwimac.tex" -#: help.h:114 +#: help.h:116 msgid "+/-lX use macros for language X as of Xct{wi|proof}mac.tex" msgstr "+/-lX benutze Macros für Sprache X aus Xct{wi|proof}mac.tex" diff --git a/Build/source/texk/web2c/cwebdir/po/it/cweb.po b/Build/source/texk/web2c/cwebdir/po/it/cweb.po index d2f2a89623f..104253110f4 100644 --- a/Build/source/texk/web2c/cwebdir/po/it/cweb.po +++ b/Build/source/texk/web2c/cwebdir/po/it/cweb.po @@ -426,6 +426,7 @@ msgstr "" "h [+] stampa un messaggio di \"buon fine\"\n" "p [+] mostra andamento elaborazione\n" "s [-] mostra statistiche\n" +"t [+] compare temporary output for changes\n" #: comm-i18n.ch:287 msgid "" @@ -443,6 +444,7 @@ msgstr "" "x [+] include indici\n" "lX [] usa macro in lingua X contenute in Xcwebmac.tex\n" "s [-] mostra statistiche\n" +"t [+] compare temporary output for changes\n" #: comm-i18n.ch:290 msgid "" @@ -461,6 +463,7 @@ msgstr "" "P [-] include 'proofmac.tex' invece di 'ctwimac.tex'\n" "lX [] usa macro in lingua X contenute in X{ctwi|proof}mac.tex\n" "s [-] mostra statistiche\n" +"t [+] compare temporary output for changes\n" #: ctang-i18n.ch:131 cweav-i18n.ch:53 cweav-i18n.ch:119 msgid "! Use @l in limbo only" diff --git a/Build/source/texk/web2c/cwebdir/po/web2c-help.pot b/Build/source/texk/web2c/cwebdir/po/web2c-help.pot index 6eef47ddf3f..0d04df3265a 100644 --- a/Build/source/texk/web2c/cwebdir/po/web2c-help.pot +++ b/Build/source/texk/web2c/cwebdir/po/web2c-help.pot @@ -1,14 +1,14 @@ # International version of CWEB (CWEBbin, TeXLive). -# Copyright (C) 2019 Andreas Scherer et al. +# Copyright (C) 2020 Andreas Scherer et al. # This file is distributed under the same license as the CWEB package. -# Andreas Scherer <https://ascherer.github.io>, 2019. +# Andreas Scherer <https://ascherer.github.io>, 2020. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: CWEBbin 2019\n" +"Project-Id-Version: CWEBbin 2020\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-01-19 23:24+0100\n" +"POT-Creation-Date: 2020-03-30 12:09+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -26,7 +26,7 @@ msgstr "" msgid " Tangle WEBFILE with CHANGEFILE into a C/C++ program." msgstr "" -#: help.h:54 help.h:73 help.h:98 +#: help.h:54 help.h:74 help.h:100 msgid " Default CHANGEFILE is /dev/null;" msgstr "" @@ -34,96 +34,100 @@ msgstr "" msgid " C output goes to the basename of WEBFILE extended with `.c'" msgstr "" -#: help.h:56 help.h:75 help.h:100 +#: help.h:56 help.h:76 help.h:102 msgid " unless otherwise specified by OUTFILE; in this case, '-' specifies" msgstr "" -#: help.h:57 help.h:76 help.h:101 +#: help.h:57 help.h:77 help.h:103 msgid " a null CHANGEFILE." msgstr "" -#: help.h:59 help.h:78 help.h:103 +#: help.h:59 help.h:79 help.h:105 msgid "+b print banner line on terminal" msgstr "" -#: help.h:60 help.h:79 help.h:104 +#: help.h:60 help.h:80 help.h:106 msgid "+h print success message on completion" msgstr "" -#: help.h:61 help.h:80 help.h:105 +#: help.h:61 help.h:81 help.h:107 msgid "+p print progress report messages" msgstr "" -#: help.h:62 help.h:81 help.h:106 +#: help.h:62 help.h:82 help.h:108 msgid "+/-q shortcut for '-bhp'; also '--quiet' (default)" msgstr "" -#: help.h:63 help.h:82 help.h:107 +#: help.h:63 help.h:83 help.h:109 msgid "+/-v shortcut for '+bhp'; also '--verbose'" msgstr "" -#: help.h:64 help.h:89 help.h:115 +#: help.h:64 help.h:90 help.h:117 msgid "+s print usage statistics" msgstr "" -#: help.h:65 help.h:90 help.h:116 +#: help.h:65 help.h:91 help.h:118 +msgid "-t ignore temporary output irrespective of changes" +msgstr "" + +#: help.h:66 help.h:92 help.h:119 msgid "--help display this help and exit" msgstr "" -#: help.h:66 help.h:91 help.h:117 +#: help.h:67 help.h:93 help.h:120 msgid "--version output version information and exit" msgstr "" -#: help.h:71 +#: help.h:72 msgid "" "Usage: cweave [OPTIONS] WEBFILE[.w] [{CHANGEFILE[.ch]|-} [OUTFILE[.tex]]]" msgstr "" -#: help.h:72 +#: help.h:73 msgid " Weave WEBFILE with CHANGEFILE into a TeX document." msgstr "" -#: help.h:74 help.h:99 +#: help.h:75 help.h:101 msgid " TeX output goes to the basename of WEBFILE extended with `.tex'" msgstr "" -#: help.h:83 help.h:108 +#: help.h:84 help.h:110 msgid "-e do not enclose C material in \\PB{...}" msgstr "" -#: help.h:84 help.h:109 +#: help.h:85 help.h:111 msgid "-f do not force a newline after every C statement in output" msgstr "" -#: help.h:85 help.h:110 +#: help.h:86 help.h:112 msgid "-i suppress indentation of parameter declarations" msgstr "" -#: help.h:86 help.h:111 +#: help.h:87 help.h:113 msgid "-o suppress separation of declarations and statements" msgstr "" -#: help.h:87 help.h:112 +#: help.h:88 help.h:114 msgid "-x omit indices, section names, table of contents" msgstr "" -#: help.h:88 +#: help.h:89 msgid "+lX use macros for language X as of Xcwebmac.tex" msgstr "" -#: help.h:96 +#: help.h:98 msgid "" "Usage: ctwill [OPTIONS] WEBFILE[.w] [{CHANGEFILE[.ch]|-} [OUTFILE[.tex]]]" msgstr "" -#: help.h:97 +#: help.h:99 msgid " Weave WEBFILE with CHANGEFILE into a TeX document with mini-indexes." msgstr "" -#: help.h:113 +#: help.h:115 msgid "+P \\input ctproofmac.tex instead of ctwimac.tex" msgstr "" -#: help.h:114 +#: help.h:116 msgid "+/-lX use macros for language X as of Xct{wi|proof}mac.tex" msgstr "" |