diff options
-rw-r--r-- | Build/source/texk/README | 4 | ||||
-rw-r--r-- | Build/source/texk/chktex/Makefile.in | 4 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3-PATCHES/ChangeLog (renamed from Build/source/texk/chktex/chktex-1.7.2-PATCHES/ChangeLog) | 4 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3-PATCHES/TL-Changes (renamed from Build/source/texk/chktex/chktex-1.7.2-PATCHES/TL-Changes) | 4 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3-PATCHES/patch-01-sequence-point (renamed from Build/source/texk/chktex/chktex-1.7.2-PATCHES/patch-01-sequence-point) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3-PATCHES/patch-02-unsigned (renamed from Build/source/texk/chktex/chktex-1.7.2-PATCHES/patch-02-unsigned) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/COPYING (renamed from Build/source/texk/chktex/chktex-1.7.2/COPYING) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/ChkTeX.c (renamed from Build/source/texk/chktex/chktex-1.7.2/ChkTeX.c) | 18 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/ChkTeX.h (renamed from Build/source/texk/chktex/chktex-1.7.2/ChkTeX.h) | 4 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/ChkTeX.pdf (renamed from Build/source/texk/chktex/chktex-1.7.2/ChkTeX.pdf) | bin | 226751 -> 226751 bytes | |||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/ChkTeX.tex.in (renamed from Build/source/texk/chktex/chktex-1.7.2/ChkTeX.tex.in) | 58 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/ChkTeX.texrc (renamed from Build/source/texk/chktex/chktex-1.7.2/ChkTeX.texrc) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/FindErrs.c (renamed from Build/source/texk/chktex/chktex-1.7.2/FindErrs.c) | 96 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/FindErrs.h (renamed from Build/source/texk/chktex/chktex-1.7.2/FindErrs.h) | 2 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/MakeHTML.pl (renamed from Build/source/texk/chktex/chktex-1.7.2/MakeHTML.pl) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/NEWS (renamed from Build/source/texk/chktex/chktex-1.7.2/NEWS) | 13 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/OpSys.c (renamed from Build/source/texk/chktex/chktex-1.7.2/OpSys.c) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/OpSys.h (renamed from Build/source/texk/chktex/chktex-1.7.2/OpSys.h) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/README (renamed from Build/source/texk/chktex/chktex-1.7.2/README) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/Resource.c (renamed from Build/source/texk/chktex/chktex-1.7.2/Resource.c) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/Resource.h (renamed from Build/source/texk/chktex/chktex-1.7.2/Resource.h) | 2 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/Test.nore.out (renamed from Build/source/texk/chktex/chktex-1.7.2/Test.nore.out) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/Test.pcre.out (renamed from Build/source/texk/chktex/chktex-1.7.2/Test.pcre.out) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/Test.posix-ere.out (renamed from Build/source/texk/chktex/chktex-1.7.2/Test.posix-ere.out) | 21 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/Test.tex (renamed from Build/source/texk/chktex/chktex-1.7.2/Test.tex) | 9 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/Utility.c (renamed from Build/source/texk/chktex/chktex-1.7.2/Utility.c) | 31 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/Utility.h (renamed from Build/source/texk/chktex/chktex-1.7.2/Utility.h) | 0 | ||||
-rwxr-xr-x | Build/source/texk/chktex/chktex-1.7.3/autogen.sh (renamed from Build/source/texk/chktex/chktex-1.7.2/autogen.sh) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/chktex.1 (renamed from Build/source/texk/chktex/chktex-1.7.2/chktex.1) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/chktex.el (renamed from Build/source/texk/chktex/chktex-1.7.2/chktex.el) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/chktexrc (renamed from Build/source/texk/chktex/chktex-1.7.2/chktexrc) | 28 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/chkweb.1 (renamed from Build/source/texk/chktex/chktex-1.7.2/chkweb.1) | 0 | ||||
-rwxr-xr-x | Build/source/texk/chktex/chktex-1.7.3/chkweb.sh (renamed from Build/source/texk/chktex/chktex-1.7.2/chkweb.sh) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/configure.in (renamed from Build/source/texk/chktex/chktex-1.7.2/configure.in) | 27 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/deweb.1 (renamed from Build/source/texk/chktex/chktex-1.7.2/deweb.1) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/deweb.in (renamed from Build/source/texk/chktex/chktex-1.7.2/deweb.in) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/input.tex (renamed from Build/source/texk/chktex/chktex-1.7.2/input.tex) | 0 | ||||
-rwxr-xr-x | Build/source/texk/chktex/chktex-1.7.3/lacheck (renamed from Build/source/texk/chktex/chktex-1.7.2/lacheck) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/m4/ax_cflags_strict_prototypes.m4 (renamed from Build/source/texk/chktex/chktex-1.7.2/m4/ax_cflags_strict_prototypes.m4) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/m4/vl_prog_cc_warnings.m4 (renamed from Build/source/texk/chktex/chktex-1.7.2/m4/vl_prog_cc_warnings.m4) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/rmeheader.in (renamed from Build/source/texk/chktex/chktex-1.7.2/rmeheader.in) | 0 | ||||
-rw-r--r-- | Build/source/texk/chktex/chktex-1.7.3/types.h (renamed from Build/source/texk/chktex/chktex-1.7.2/types.h) | 0 | ||||
-rwxr-xr-x | Build/source/texk/chktex/chktex.test | 4 | ||||
-rwxr-xr-x | Build/source/texk/chktex/configure | 30 | ||||
-rw-r--r-- | Build/source/texk/chktex/version.ac | 4 |
45 files changed, 249 insertions, 114 deletions
diff --git a/Build/source/texk/README b/Build/source/texk/README index adfe3af25ab..32fbbceaf02 100644 --- a/Build/source/texk/README +++ b/Build/source/texk/README @@ -1,5 +1,5 @@ $Id$ -Copyright 2006-2012 TeX Users Group. +Copyright 2006-2015 TeX Users Group. You may freely use, modify and/or distribute this file. This TeX Live directory contains the programs that use the kpathsea @@ -27,7 +27,7 @@ bibtex-x - maintained here, contains bibtexu http://omega.enstb.org/yannis/bibtexu/ -chktex 1.7.2 - checked 30may13 +chktex 1.7.3 - checked 11apr15 http://mirror.ctan.org/support/chktex/ http://download.savannah.gnu.org/releases/chktex/ diff --git a/Build/source/texk/chktex/Makefile.in b/Build/source/texk/chktex/Makefile.in index d4ae59b4f54..892efa2f709 100644 --- a/Build/source/texk/chktex/Makefile.in +++ b/Build/source/texk/chktex/Makefile.in @@ -424,7 +424,7 @@ am__DIST_COMMON = $(srcdir)/../../am/dist_hook.am \ $(top_srcdir)/../../build-aux/ltmain.sh \ $(top_srcdir)/../../build-aux/missing \ $(top_srcdir)/../../build-aux/test-driver \ - $(top_srcdir)/chktex-1.7.2/deweb.in ../../build-aux/compile \ + $(top_srcdir)/chktex-1.7.3/deweb.in ../../build-aux/compile \ ../../build-aux/config.guess ../../build-aux/config.sub \ ../../build-aux/depcomp ../../build-aux/install-sh \ ../../build-aux/ltmain.sh ../../build-aux/missing \ @@ -683,7 +683,7 @@ $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) distclean-hdr: -rm -f config.h stamp-h1 -deweb.pl: $(top_builddir)/config.status $(top_srcdir)/chktex-1.7.2/deweb.in +deweb.pl: $(top_builddir)/config.status $(top_srcdir)/chktex-1.7.3/deweb.in cd $(top_builddir) && $(SHELL) ./config.status $@ install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) diff --git a/Build/source/texk/chktex/chktex-1.7.2-PATCHES/ChangeLog b/Build/source/texk/chktex/chktex-1.7.3-PATCHES/ChangeLog index eb1f0d5d0a4..dc217524673 100644 --- a/Build/source/texk/chktex/chktex-1.7.2-PATCHES/ChangeLog +++ b/Build/source/texk/chktex/chktex-1.7.3-PATCHES/ChangeLog @@ -1,3 +1,7 @@ +2015-04-11 Karl Berry <karl@tug.org> + + * Import chktex-1.7.3. + 2014-06-19 Peter Breitenlohner <peb@mppmu.mpg.de> * patch-01-sequence-point (new): Avoid an undefined operation. diff --git a/Build/source/texk/chktex/chktex-1.7.2-PATCHES/TL-Changes b/Build/source/texk/chktex/chktex-1.7.3-PATCHES/TL-Changes index 3d5d2a14792..653deda6a1f 100644 --- a/Build/source/texk/chktex/chktex-1.7.2-PATCHES/TL-Changes +++ b/Build/source/texk/chktex/chktex-1.7.3-PATCHES/TL-Changes @@ -1,5 +1,5 @@ -Changes applied to the chktex-1.7.2 tree as obtained from: - http://mirror.ctan.org/support/chktex/chktex-1.7.2.tar.gz +Changes applied to the chktex-1.7.3 tree as obtained from: + http://mirror.ctan.org/support/chktex/ http://download.savannah.gnu.org/releases/chktex/chktex-1.7.2.tar.gz Remove: diff --git a/Build/source/texk/chktex/chktex-1.7.2-PATCHES/patch-01-sequence-point b/Build/source/texk/chktex/chktex-1.7.3-PATCHES/patch-01-sequence-point index 469c1fa77ca..469c1fa77ca 100644 --- a/Build/source/texk/chktex/chktex-1.7.2-PATCHES/patch-01-sequence-point +++ b/Build/source/texk/chktex/chktex-1.7.3-PATCHES/patch-01-sequence-point diff --git a/Build/source/texk/chktex/chktex-1.7.2-PATCHES/patch-02-unsigned b/Build/source/texk/chktex/chktex-1.7.3-PATCHES/patch-02-unsigned index bced537d868..bced537d868 100644 --- a/Build/source/texk/chktex/chktex-1.7.2-PATCHES/patch-02-unsigned +++ b/Build/source/texk/chktex/chktex-1.7.3-PATCHES/patch-02-unsigned diff --git a/Build/source/texk/chktex/chktex-1.7.2/COPYING b/Build/source/texk/chktex/chktex-1.7.3/COPYING index d4e8cec1128..d4e8cec1128 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/COPYING +++ b/Build/source/texk/chktex/chktex-1.7.3/COPYING diff --git a/Build/source/texk/chktex/chktex-1.7.2/ChkTeX.c b/Build/source/texk/chktex/chktex-1.7.3/ChkTeX.c index 596bba26e83..c83c0d84208 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/ChkTeX.c +++ b/Build/source/texk/chktex/chktex-1.7.3/ChkTeX.c @@ -292,11 +292,12 @@ NoCommon(struct WordList *a, const char *aName, * TSize. */ -static void ExpandTabs(char *From, char *To, long TSize) +static void ExpandTabs(char *From, char *To, long TSize, long MaxDiff) { char *Next; char *Orig; unsigned long Diff; + static short HasExpandedTooLong = 0; Next = From; Orig = To; @@ -312,6 +313,19 @@ static void ExpandTabs(char *From, char *To, long TSize) else Diff = TSize; + /* Make sure we don't expand this buffer out of the memory we + * have allocated for it. */ + if ( Diff > MaxDiff+1 ) + { + Diff = MaxDiff+1; + if ( !HasExpandedTooLong ) + { + PrintPrgErr(pmTabExpands, BUFSIZ); + } + HasExpandedTooLong = 1; + } + MaxDiff -= (Diff-1); + memset(To, ' ', Diff); To += Diff; @@ -473,7 +487,7 @@ int main(int argc, char **argv) strrep(ReadBuffer, '\n', ' '); strrep(ReadBuffer, '\r', ' '); - ExpandTabs(ReadBuffer, TmpBuffer, Tab); + ExpandTabs(ReadBuffer, TmpBuffer, Tab, BUFSIZ - 1 - strlen(ReadBuffer) ); strcpy(ReadBuffer, TmpBuffer); strcat(ReadBuffer, " "); diff --git a/Build/source/texk/chktex/chktex-1.7.2/ChkTeX.h b/Build/source/texk/chktex/chktex-1.7.3/ChkTeX.h index 6372d212ed9..a5865d6695a 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/ChkTeX.h +++ b/Build/source/texk/chktex/chktex-1.7.3/ChkTeX.h @@ -255,7 +255,9 @@ DEBUGBITS(Debug_BIT) MSG(pmSuppTooHigh, etWarn, TRUE, 0,\ "Warning %d is numbered too high (max %d) and won't be suppressed.\n") \ MSG(pmLongLines, etWarn, TRUE, 0,\ - "ChkTeX does not handle lines over %d bytes correctly. Some errors and line numbers may be wrong in this file.") + "ChkTeX does not handle lines over %d bytes correctly. Some errors and line numbers may be wrong in this file.") \ +MSG(pmTabExpands, etWarn, TRUE, 0,\ + "ChkTeX could not fully expand tabs because the resulting line would be more than %d bytes. Some errors and line numbers may be wrong in this file.") #undef MSG #define MSG(num, type, inuse, ctxt, text) num, diff --git a/Build/source/texk/chktex/chktex-1.7.2/ChkTeX.pdf b/Build/source/texk/chktex/chktex-1.7.3/ChkTeX.pdf Binary files differindex 246c2a502a1..246c2a502a1 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/ChkTeX.pdf +++ b/Build/source/texk/chktex/chktex-1.7.3/ChkTeX.pdf diff --git a/Build/source/texk/chktex/chktex-1.7.2/ChkTeX.tex.in b/Build/source/texk/chktex/chktex-1.7.3/ChkTeX.tex.in index 8cb0750556f..3f68e866ca7 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/ChkTeX.tex.in +++ b/Build/source/texk/chktex/chktex-1.7.3/ChkTeX.tex.in @@ -109,8 +109,8 @@ Full source included. The program also supports output formats suitable for further processing by editors or other programs, making errors easy to cycle through. -Software is provided for beautifully interfacing with the -AUC\TeX\ Emacs mode. +For example, recent versions of AUC\TeX\ (the Emacs mode) interface +beautifully with \chktex. The program itself does not have any machine requirements; However compiling for other platforms has not been done for a long time now so the code has been @@ -183,7 +183,7 @@ and configurations. \item Flexible output handling. Has some predefined formats and lets the user specify his own format. Uses a \Cmd{printf()} similar syntax. \Cmd{lacheck} compatible mode included for interfacing with - the AUC\TeX\ Emacs mode. + systems which only support lacheck. \item Written in ANSI C\@. \Cmd{configure} script included for easy setup and installation on UNIX systems. \end{itemize} @@ -272,30 +272,11 @@ A few words on installation on various platforms: \texttt{UserWarnRegex} in the \rsrc\ file. See warning~44 for more information. - \item[\Cmd{-{}-enable-emacs-hack}:] Install a small file which - adds \chktex\ to the command menu of AUC\TeX. This is to be - considered as a hack, and may break in future versions of - AUC\TeX. It works fine under AUC\TeX\ v2.9, though. - - This option needs the path of your elisp directory as argument, - e.g. \Cmd{-{}-enable-emacs-hack=/home/myself/elisp} or similar. - - You'll also have to add the following line to your \Cmd{.emacs} - file: -\begin{verbatim} -(require 'chktex) -\end{verbatim} - You can now access \chktex\ from the \Cmd{Command} menu in - AUC\TeX. To cycle through the messages, type \verb#C-x `#. - \item[\Cmd{-{}-enable-lacheck-replace}] This enables a quick - hack for making the AUC\TeX\ Emacs mode use \chktex\ instead of - lacheck. This is done by installing a stub script which - ``overrides'' the original lacheck executable. - - While more stable than the previous solution, this is also - significantly less elegant --- in computing terms, this is the - ``brute force'' approach. + hack for using \chktex\ instead of lacheck. This is done by + installing a stub script which ``overrides'' the original + lacheck executable. In this way, tools which support lacheck + can be easily made to support chktex instead. \item[\Cmd{-{}-enable-debug-info}] \chktex\ has an ability to spit out various diagnostic messages using the \Cmd{-d} flag. This @@ -719,7 +700,7 @@ can use \LaTeX{} comments to suppress a certain message on a single line. This can be done by adding a (case-insensitive) comment at the end of the line of the form \begin{center} - \verb+% checktex ##+ + \verb+% chktex ##+ \end{center} where \verb+##+ is the number of the message to be suppressed. For example the line @@ -755,7 +736,7 @@ In addition to line-specific suppressions, you can create a suppression which wi This can be used, for example, to turn off warning 18 (about \verb+"+) in a file which uses a package (like \Cmd{babel}) where \verb+"+ is an active character. The syntax is nearly the same, namely \begin{center} - \verb+% checktex-file ##+ + \verb+% chktex-file ##+ \end{center} \subsubsection{Hints} @@ -767,7 +748,7 @@ favourite hint, feel free to send it to me! which use \verb+"+ as an active character; it may be wise to put \Cmd{-n18} in the \Cmd{CmdLine} entry in the \rsrc\ file. This will probably reduce the amount of false warnings significantly. Alternately, you can put - \verb+% checktex-file 18+ in your files which use one of these packages so + \verb+% chktex-file 18+ in your files which use one of these packages so that other files will still have these checks performed. \item Put \Cmd{-v} in the \Cmd{CmdLine} entry of the \rsrc\ file; this makes the fancy printing the default. @@ -894,10 +875,11 @@ keyword in the \rsrc\ file which controls the discussed warning. You can also specify regular expressions to match commands which can safely be terminated with a space. They are specified in the \rsrc\ file in \texttt{[]}, which in some other cases is used to - indicate case-insensitive matching. + indicate case-insensitive matching. This is used for example to + support the \verb+\startXXX+ macros of Con\TeX t. \begin{errexam} - \verb@\LaTeX@\underline{\tt }\verb@is a typesetter.@ \\* + \verb@\LaTeX@\underline{\tt\ }\verb@is a typesetter.@ \\* \LaTeX is a typesetter. \\* \smallskip \verb@\LaTeX\ is a typesetter.@ \\* @@ -995,7 +977,7 @@ keyword in the \rsrc\ file which controls the discussed warning. \end{errexam} \end{errdesc} -\Keyword{HyphDash\\NumDash\\WordDash} +\Keyword{HyphDash\\NumDash\\WordDash\\DashExcpt} \begin{errdesc}{Wrong length of dash may have been used.} This warning suggests that a wrong number of dashes may have been used. It does this by classifying the dash according to the the @@ -1018,9 +1000,14 @@ keyword in the \rsrc\ file which controls the discussed warning. required. This is the case for theorems named after two people e.g.\ Jordan--H\"older. A hyphen would indicate that it was one person with a hyphenated name e.g.\ Gregorio Ricci-Curbastro. - In my experience this is rare enough to be dealt with via line - based suppressions. There is still the problem that no warning - will be raised for Jordan-H\"older, so care must still be taken. + If this is rare enough, it can be dealt with via line based suppressions. + However, exceptions can also be handled by adding them to the + \texttt{DashExcpt} list. The ``words'' in this list are + considered to be correct regardless of any other settings. + Adding \verb+Jordan--H\"older+ to this list will cause no warning + to be issued. There is still the problem that no warning will be + raised for Jordan-H\"older (unless added explicitly via regular + expression), so care must still be taken. Some manuals---particularly American manuals---also suggest \emph{not} adding space around an m-dash (triple dash). @@ -1833,7 +1820,6 @@ Have fun. \end{document} -% Rudimentary support for AUCTeX. % The "Make" target is my own. % Local Variables: % TeX-command-default: "Make" diff --git a/Build/source/texk/chktex/chktex-1.7.2/ChkTeX.texrc b/Build/source/texk/chktex/chktex-1.7.3/ChkTeX.texrc index e990c71d1be..e990c71d1be 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/ChkTeX.texrc +++ b/Build/source/texk/chktex/chktex-1.7.3/ChkTeX.texrc diff --git a/Build/source/texk/chktex/chktex-1.7.2/FindErrs.c b/Build/source/texk/chktex/chktex-1.7.3/FindErrs.c index ad4a6d944fa..36cd2f77184 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/FindErrs.c +++ b/Build/source/texk/chktex/chktex-1.7.3/FindErrs.c @@ -148,7 +148,7 @@ static uint64_t UserLineSuppressions; static unsigned long Line; static const char *RealBuf; -static char *LineCpy; +static char *LineCpy = NULL; static char *BufPtr; static int ItFlag = efNone; @@ -657,6 +657,7 @@ static void PerformBigCmd(char *CmdPtr) } } + /* LaTeX environment tracking */ if (!strcmp(CmdBuffer, "\\begin") || !strcmp(CmdBuffer, "\\end")) { if (ArgEndPtr) @@ -695,6 +696,41 @@ static void PerformBigCmd(char *CmdPtr) PSERR(CmdPtr - Buf, CmdLen, emNoArgFound); } + /* ConTeXt \start \stop tracking */ + if (!strncmp(CmdBuffer, "\\start", 6) || !strncmp(CmdBuffer, "\\stop", 5)) + { + if (CmdBuffer[3] == 'a') /* start */ + { + TmpPtr = CmdBuffer + 6; + if (!(PushErr(TmpPtr, Line, CmdPtr - Buf + 6, + CmdLen - 6, MakeCpy(), &EnvStack))) + PrintPrgErr(pmNoStackMem); + } + else + { + TmpPtr = CmdBuffer + 5; + if ((ei = PopErr(&EnvStack))) + { + if (strcmp(ei->Data, TmpPtr)) + PrintError(CurStkName(&InputStack), RealBuf, + CmdPtr - Buf + 5, + (long) strlen(TmpPtr), + Line, emExpectC, ei->Data, TmpPtr); + + FreeErrInfo(ei); + } + else + { + PrintError(CurStkName(&InputStack), RealBuf, + CmdPtr - Buf, + (long) strlen(CmdBuffer), + Line, emSoloC, TmpPtr); + } + } + /* TODO: Do I need to call PerformEnv? */ + /* It handles math and verbatim environments */ + } + CheckItal(CmdBuffer); if ((ErrNum = PerformCommand(CmdBuffer, BufPtr))) @@ -1009,6 +1045,42 @@ static void CheckDash(void) break; } } + + if (Errored) + { + struct WordList *el = &DashExcpt; + + FORWL(i, *el) + { + char *exception = el->Stack.Data[i]; + + char *e = exception; + while ( *e ) + { + if ( *e == '-' && 0 == strncmp( BufPtr, e, strlen(e) ) ) + { + TmpPtr = BufPtr; + char *f = e; + while ( f > exception && *(--f) == *(--TmpPtr) ) + { + /* Nothing */ + } + + if ( f <= exception && *f == *TmpPtr ) + { + Errored = FALSE; + break; + } + } + + ++e; + } + + if ( !Errored ) + break; + } + } + if (Errored) HERE(TmpCount, emWrongDash); } @@ -1237,8 +1309,6 @@ int FindErr(const char *_RealBuf, const unsigned long _Line) enum DotLevel dotlev; - LineCpy = NULL; - if (_RealBuf) { RealBuf = _RealBuf; @@ -1371,15 +1441,12 @@ int FindErr(const char *_RealBuf, const unsigned long _Line) break; case '.': - /* .. or ... should be ellipses */ - if ((Char == *BufPtr) && (Char != PrePtr[0])) + if ((Char == *BufPtr) && (Char == BufPtr[1])) { const char *cTmpPtr; - const int NumDots = (Char == BufPtr[1]) ? 3 : 2; - dotlev = CheckDots(&PrePtr[1], - &BufPtr[NumDots-1]); + dotlev = CheckDots(&PrePtr[1], &BufPtr[2]); cTmpPtr = Dot2Str(dotlev); - HEREA(NumDots, emEllipsis, cTmpPtr); + HEREA(3, emEllipsis, cTmpPtr); } /* Regexp: "([^A-Z@.])\.[.!?:]*\s+[a-z]" */ @@ -1631,6 +1698,12 @@ int FindErr(const char *_RealBuf, const unsigned long _Line) } + /* Free and reset LineCpy if it was used */ + if ( LineCpy != NULL ) + { + free(LineCpy); + LineCpy = NULL; + } return (TRUE); } @@ -1704,6 +1777,11 @@ void PrintStatus(unsigned long Lines) Transit(stderr, WarnPrint, "warning%s printed; "); Transit(stderr, UserSupp, "user suppressed warning%s; "); Transit(stderr, LineSupp, "line suppressed warning%s.\n"); + + /* Print how to suppress warnings. */ + if ( ErrPrint + WarnPrint > 0 ) { + fprintf(stderr, "See the manual for how to suppress some or all of these warnings/errors.\n" ); + } } } diff --git a/Build/source/texk/chktex/chktex-1.7.2/FindErrs.h b/Build/source/texk/chktex/chktex-1.7.3/FindErrs.h index 5b04f336d89..9932d93e861 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/FindErrs.h +++ b/Build/source/texk/chktex/chktex-1.7.3/FindErrs.h @@ -73,7 +73,7 @@ "Number of `%c' doesn't match the number of `%c'!")\ MSG(emUseQuoteLiga, etWarn, iuOK, ctNone,\ "Use either `` or '' as an alternative to `\"'.")\ - MSG(emUseOtherQuote, etWarn, iuOK, ctNone,\ + MSG(emUseOtherQuote, etWarn, iuNotSys, ctNone,\ "Use \"'\" (ASCII 39) instead of \"\xB4\" (ASCII 180).")\ MSG(emUserWarn, etWarn, iuOK, ctNone,\ "User-specified pattern found: %s.")\ diff --git a/Build/source/texk/chktex/chktex-1.7.2/MakeHTML.pl b/Build/source/texk/chktex/chktex-1.7.3/MakeHTML.pl index 6bdbadcf127..6bdbadcf127 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/MakeHTML.pl +++ b/Build/source/texk/chktex/chktex-1.7.3/MakeHTML.pl diff --git a/Build/source/texk/chktex/chktex-1.7.2/NEWS b/Build/source/texk/chktex/chktex-1.7.3/NEWS index 3b42ee0a806..f3999f4f9e9 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/NEWS +++ b/Build/source/texk/chktex/chktex-1.7.3/NEWS @@ -1,6 +1,19 @@ Development of ChkTeX is now in a maintainance mode. All versions 1.6.x are essentially bug fixes. Version 1.7 added some new features. +1.7.3 (2015-04-09), released by Ivan Andrus <darthandrus@gmail.com> + + * Fixed memory leaks and a crashing bug #42813 + * Added ConTeXt \start... \stop... tracking #44517 + * Added DashExcpt list for exceptions to dash rules #42237 + * Support \cite with two optional arguments (biblatex) #44413 + * Removed warning about using \dots instead of .. #40731 + This incorrectly warns about relative paths + * Removed check for intro since it's common in file names #43013 + * Turn off warning 19 by default #44226 + Warning 19 is about Latin-1 quotes, but gives false positives + for some utf-8 characters. + 1.7.2 (2013-04-17), released by Ivan Andrus <darthandrus@gmail.com> * Fixed display bug on platforms where sizeof(int) != sizeof(regoff_t) diff --git a/Build/source/texk/chktex/chktex-1.7.2/OpSys.c b/Build/source/texk/chktex/chktex-1.7.3/OpSys.c index 7d055b72284..7d055b72284 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/OpSys.c +++ b/Build/source/texk/chktex/chktex-1.7.3/OpSys.c diff --git a/Build/source/texk/chktex/chktex-1.7.2/OpSys.h b/Build/source/texk/chktex/chktex-1.7.3/OpSys.h index 7ce3f1b5270..7ce3f1b5270 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/OpSys.h +++ b/Build/source/texk/chktex/chktex-1.7.3/OpSys.h diff --git a/Build/source/texk/chktex/chktex-1.7.2/README b/Build/source/texk/chktex/chktex-1.7.3/README index ba098014666..ba098014666 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/README +++ b/Build/source/texk/chktex/chktex-1.7.3/README diff --git a/Build/source/texk/chktex/chktex-1.7.2/Resource.c b/Build/source/texk/chktex/chktex-1.7.3/Resource.c index f301c6aff27..f301c6aff27 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/Resource.c +++ b/Build/source/texk/chktex/chktex-1.7.3/Resource.c diff --git a/Build/source/texk/chktex/chktex-1.7.2/Resource.h b/Build/source/texk/chktex/chktex-1.7.3/Resource.h index 232e8e58932..c0ebed0bd17 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/Resource.h +++ b/Build/source/texk/chktex/chktex-1.7.3/Resource.h @@ -44,7 +44,7 @@ LCASE(Silent) LIST(Linker) LIST(IJAccent) LIST(Italic)\ LIST(ItalCmd) LIST(PostLink) LIST(WipeArg) LIST(VerbEnvir)\ LIST(MathEnvir) LIST(MathCmd) LIST(TextCmd) LIST(MathRoman)\ - LIST(HyphDash) LIST(NumDash) LIST(WordDash)\ + LIST(HyphDash) LIST(NumDash) LIST(WordDash) LIST(DashExcpt)\ LIST(CenterDots) LIST(LowDots) LIST(OutFormat)\ LIST(Primitives) LIST(NotPreSpaced) LIST(NonItalic) LIST(NoCharNext)\ LNEMPTY(CmdLine) LNEMPTY(TeXInputs)\ diff --git a/Build/source/texk/chktex/chktex-1.7.2/Test.nore.out b/Build/source/texk/chktex/chktex-1.7.3/Test.nore.out index 2bb60c76992..2bb60c76992 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/Test.nore.out +++ b/Build/source/texk/chktex/chktex-1.7.3/Test.nore.out diff --git a/Build/source/texk/chktex/chktex-1.7.2/Test.pcre.out b/Build/source/texk/chktex/chktex-1.7.3/Test.pcre.out index cb785daa16c..cb785daa16c 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/Test.pcre.out +++ b/Build/source/texk/chktex/chktex-1.7.3/Test.pcre.out diff --git a/Build/source/texk/chktex/chktex-1.7.2/Test.posix-ere.out b/Build/source/texk/chktex/chktex-1.7.3/Test.posix-ere.out index c2bd4bddcc1..6cdc394ef55 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/Test.posix-ere.out +++ b/Build/source/texk/chktex/chktex-1.7.3/Test.posix-ere.out @@ -13,6 +13,9 @@ Message 22 in Test.tex: Comment displayed. Message 1 in Test.tex: Command terminated with space. \foo This is an error. ^ +Message 9 in Test.tex: `section' expected, found `text'. +\stoptext + ^^^^ Message 22 in Test.tex: Comment displayed. % Warning 2 ^ @@ -104,6 +107,15 @@ Message 22 in Test.tex: Comment displayed. % "How TeX Breaks Paragraphs into Lines", fourth paragraph: ^ Message 22 in Test.tex: Comment displayed. +% Using DashExcpt +^ +Message 8 in Test.tex: Wrong length of dash may have been used. +The Birch--Swinnerton--Dyer conjecture is not correct. + ^^ +Message 8 in Test.tex: Wrong length of dash may have been used. +The Birch--Swinnerton--Dyer conjecture is not correct. + ^^ +Message 22 in Test.tex: Comment displayed. % Warning 9-10 ^ Message 22 in Test.tex: Comment displayed. @@ -199,15 +211,9 @@ Message 12 in Test.tex: Interword spacing (`\ ') should perhaps be used. Message 12 in Test.tex: Interword spacing (`\ ') should perhaps be used. 1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob.: joe.! frank.? james.. george ^ -Message 11 in Test.tex: You should use \ldots to achieve an ellipsis. -1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob.: joe.! frank.? james.. george - ^^ Message 12 in Test.tex: Interword spacing (`\ ') should perhaps be used. 1st. Foo Inc. Ab.cd. foo ab.cd. Foo. bar baz., billy.; bob.: joe.! frank.? james.. george ^ -Message 11 in Test.tex: You should use \ldots to achieve an ellipsis. -1st.\ foo Inc.\ ab.cd.\ foo ab.cd.\ Foo.\ bar baz., billy.; bob.:\ joe.!\ frank.?\ james..\ george - ^^ Message 22 in Test.tex: Comment displayed. % Warning 13 ^ @@ -424,9 +430,6 @@ This one triggers warning 22 $\left\{x\right\}$. Message 22 in Test.tex: Comment displayed. % Warning 44 -- user regex -- default message ^ -Message 44 in Test.tex: User Regex: intro.. -You should always write a good intro. - ^^^^^^^ Message 22 in Test.tex: Comment displayed. % Warning 44 -- user regex -- user message ^ diff --git a/Build/source/texk/chktex/chktex-1.7.2/Test.tex b/Build/source/texk/chktex/chktex-1.7.3/Test.tex index 503e95ea6e4..376ea0d5e0c 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/Test.tex +++ b/Build/source/texk/chktex/chktex-1.7.3/Test.tex @@ -12,6 +12,10 @@ are nonsense in a TeXnical manner. \foo This is an error. \smallskip This is a not. $\foo Neither$ is this. +\startsection[title={Testing ConTeXt}] +These should now be an error. +\stoptext + % Warning 2 This is a faulty reference to \ref{foo} @@ -47,6 +51,11 @@ is also used to send cross-calls (xc) and cross-traps (xt) to other % "How TeX Breaks Paragraphs into Lines", fourth paragraph: in plain TeX---are the key +% Using DashExcpt +The Birch--Swinnerton-Dyer conjecture is correct. +The Birch--Swinnerton--Dyer conjecture is not correct. +The Birch-Swinnerton-Dyer conjecture is not correct (but not caught). + % Warning 9-10 % Brackets: diff --git a/Build/source/texk/chktex/chktex-1.7.2/Utility.c b/Build/source/texk/chktex/chktex-1.7.3/Utility.c index 39beaa6cc83..0f7c6c073df 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/Utility.c +++ b/Build/source/texk/chktex/chktex-1.7.3/Utility.c @@ -468,8 +468,24 @@ char *HasHash(const char *a, const struct Hash *h) void ClearHash(struct Hash *h) { + int i; + struct HashEntry *he, *next; if (h && h->Index) + { + /* Free all the memory */ + for ( i = 0; i < HASH_SIZE; ++i ) + { + he = h->Index[i]; + while ( he ) + { + next = he->Next; + free( he ); + he = next; + } + } + /* Reset the hash table */ memset(h->Index, '\0', HASH_SIZE * sizeof(struct HashEntry *)); + } } /* @@ -522,8 +538,13 @@ int InsertWord(const char *Word, struct WordList *WL) void ClearWord(struct WordList *WL) { + char *Word; if (WL) { + while ( (Word = StkPop( &WL->Stack )) ) + { + free(Word); + } WL->Stack.Used = 0; WL->MaxLen = 0; ClearHash(&WL->Hash); @@ -726,6 +747,8 @@ char *FGetsStk(char *Dest, unsigned long len, struct Stack *stack) fn = StkPop(stack); fclose(fn->fh); + if ( fn->Name != NULL ) + free(fn->Name); free(fn); HasSeenLong = 0; } @@ -745,7 +768,13 @@ const char *CurStkName(struct Stack *stack) else { if ((fn = StkTop(stack))) - return (LastName = fn->Name); + { + if ( stack->Used == 1 && strlen(LastName) == 0 && fn->Name ) + { + LastName = strdup(fn->Name); + } + return (fn->Name); + } else return (LastName); } diff --git a/Build/source/texk/chktex/chktex-1.7.2/Utility.h b/Build/source/texk/chktex/chktex-1.7.3/Utility.h index b1b31ec7739..b1b31ec7739 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/Utility.h +++ b/Build/source/texk/chktex/chktex-1.7.3/Utility.h diff --git a/Build/source/texk/chktex/chktex-1.7.2/autogen.sh b/Build/source/texk/chktex/chktex-1.7.3/autogen.sh index 0982233b129..0982233b129 100755 --- a/Build/source/texk/chktex/chktex-1.7.2/autogen.sh +++ b/Build/source/texk/chktex/chktex-1.7.3/autogen.sh diff --git a/Build/source/texk/chktex/chktex-1.7.2/chktex.1 b/Build/source/texk/chktex/chktex-1.7.3/chktex.1 index a3dcc13e3dc..a3dcc13e3dc 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/chktex.1 +++ b/Build/source/texk/chktex/chktex-1.7.3/chktex.1 diff --git a/Build/source/texk/chktex/chktex-1.7.2/chktex.el b/Build/source/texk/chktex/chktex-1.7.3/chktex.el index e61334796ca..e61334796ca 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/chktex.el +++ b/Build/source/texk/chktex/chktex-1.7.3/chktex.el diff --git a/Build/source/texk/chktex/chktex-1.7.2/chktexrc b/Build/source/texk/chktex/chktex-1.7.3/chktexrc index f14c2522972..da28a5dcfad 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/chktexrc +++ b/Build/source/texk/chktex/chktex-1.7.3/chktexrc @@ -248,8 +248,8 @@ UserWarnRegex (?!#1:Capitalize! before! references)POSIX:([^[:alnum:]]|^)(chapter|(sub)?section|theorem|lemma|proposition|corollary|appendix)~\\ref # spell it out. - PCRE:(?i)\bintro\b(?!#Spell! it! out.! This! comment! is! not! used.) - POSIX:([^[:alnum:]]|^)intro([^[:alnum:]]|$) + # PCRE:(?i)\bintro\b(?!#Spell! it! out.! This! comment! is! not! used.) + # POSIX:([^[:alnum:]]|^)intro([^[:alnum:]]|$) # Pretty tables--see http://texdoc.net/texmf-dist/doc/latex/booktabs/booktabs.pdf (?!#-2:Use! \toprule,! midrule,! or! \bottomrule! from! booktabs)\\hline @@ -391,7 +391,9 @@ Silent # designed for the case where you have many custom macros sharing a # common prefix, but can of course be used for other things. -# \\my.* +# Support ConTeXt to at least some extent +\\start.* \\stop.* + ] ##################################################################### @@ -440,6 +442,24 @@ WordDash ##################################################################### # +# Here are exceptions to the dash rules above. For example, an +# n-dash -- between words is usually wrong, but in some cases it is +# correct, such as when naming a theorem. The Birch--Swinnerton-Dyer +# conjecture is one example where the difference matters. You can +# tell that Birch is one person and Swinnerton-Dyer is another. +# +# Adding line suppressions for these is possible, but can quickly +# become tedious if a certain theorem is referenced often. For this +# reason exceptions can be specified here. They are case-sensitive. +# + +DashExcpt +{ + Birch--Swinnerton-Dyer +} + +##################################################################### +# # This keyword indicates commands whose argument isn't LaTeX code, # and thus should be ignored. # @@ -460,7 +480,7 @@ WordDash WipeArg { \label:{} \ref:{} \eqref:{} \vref:{} \pageref:{} \index:[]{} - \cite:[]{} \nocite:{} + \cite:[][]{} \nocite:{} \input:{} \verbatiminput:[]{} \listinginput:[]{}{} \verbatimtabinput:[]{} \include:{} \includeonly:{} \bibitem:[]{} diff --git a/Build/source/texk/chktex/chktex-1.7.2/chkweb.1 b/Build/source/texk/chktex/chktex-1.7.3/chkweb.1 index 5cb7063f786..5cb7063f786 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/chkweb.1 +++ b/Build/source/texk/chktex/chktex-1.7.3/chkweb.1 diff --git a/Build/source/texk/chktex/chktex-1.7.2/chkweb.sh b/Build/source/texk/chktex/chktex-1.7.3/chkweb.sh index 8d6361d1097..8d6361d1097 100755 --- a/Build/source/texk/chktex/chktex-1.7.2/chkweb.sh +++ b/Build/source/texk/chktex/chktex-1.7.3/chkweb.sh diff --git a/Build/source/texk/chktex/chktex-1.7.2/configure.in b/Build/source/texk/chktex/chktex-1.7.3/configure.in index 930819575d6..085f81e1877 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/configure.in +++ b/Build/source/texk/chktex/chktex-1.7.3/configure.in @@ -27,11 +27,9 @@ dnl dnl Process this file with autoconf to produce a configure script. -AC_INIT(ChkTeX, 1.7.2) +AC_INIT(ChkTeX, 1.7.3) AC_SUBST(SCRIPTS) AC_SUBST(BUILT_SCRIPTS) -AC_SUBST(ELISPDIR) -ELISPDIR= AC_SUBST(CLEAN) CLEAN= @@ -46,18 +44,9 @@ AC_ARG_ENABLE(posixre,[ enable_posixre=yes) AC_ARG_ENABLE(lacheck-replace,[ - --enable-lacheck-replace: Installs a lacheck replacement for the - AUC-TeX interface. (Default: no).],, + --enable-lacheck-replace: Installs a lacheck replacement. (Default: no).],, enable_lacheck_replace=no) -AC_ARG_ENABLE(emacs-hack,[ - --enable-emacs-hack: Installs a Elisp file, which makes ChkTeX - available in Emacs. Must be followed by - the path of your elisp files (e.g. - "--enable-emacs-hack=/usr/lib/emacs/"). - (Default: no).],, -enable_emacs_hack=no) - AC_ARG_ENABLE(debug-info,[ --enable-debug-info: Compile in miscellaneous runtime debugging information. (Default: yes).],, @@ -83,18 +72,6 @@ else AC_MSG_RESULT(no) fi -AC_MSG_CHECKING(whether the emacs hack should be installed) -case $enable_emacs_hack in - no) AC_MSG_RESULT(no) - ;; - /*|*/*) ELISPDIR=$enable_emacs_hack - AC_MSG_RESULT(yes) - ;; - *) echo; - AC_MSG_ERROR(--enable-emacs-hack needs the *full path* of Elisp files) - ;; -esac - AC_MSG_CHECKING(whether coverage testing is enabled) if test "$enable_coverage_testing" = "yes"; then AC_MSG_RESULT(yes) diff --git a/Build/source/texk/chktex/chktex-1.7.2/deweb.1 b/Build/source/texk/chktex/chktex-1.7.3/deweb.1 index 43770aa1fd3..43770aa1fd3 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/deweb.1 +++ b/Build/source/texk/chktex/chktex-1.7.3/deweb.1 diff --git a/Build/source/texk/chktex/chktex-1.7.2/deweb.in b/Build/source/texk/chktex/chktex-1.7.3/deweb.in index 91750e636a2..91750e636a2 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/deweb.in +++ b/Build/source/texk/chktex/chktex-1.7.3/deweb.in diff --git a/Build/source/texk/chktex/chktex-1.7.2/input.tex b/Build/source/texk/chktex/chktex-1.7.3/input.tex index 76bc301ff25..76bc301ff25 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/input.tex +++ b/Build/source/texk/chktex/chktex-1.7.3/input.tex diff --git a/Build/source/texk/chktex/chktex-1.7.2/lacheck b/Build/source/texk/chktex/chktex-1.7.3/lacheck index da75d360dee..da75d360dee 100755 --- a/Build/source/texk/chktex/chktex-1.7.2/lacheck +++ b/Build/source/texk/chktex/chktex-1.7.3/lacheck diff --git a/Build/source/texk/chktex/chktex-1.7.2/m4/ax_cflags_strict_prototypes.m4 b/Build/source/texk/chktex/chktex-1.7.3/m4/ax_cflags_strict_prototypes.m4 index 06ec9e2f27b..06ec9e2f27b 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/m4/ax_cflags_strict_prototypes.m4 +++ b/Build/source/texk/chktex/chktex-1.7.3/m4/ax_cflags_strict_prototypes.m4 diff --git a/Build/source/texk/chktex/chktex-1.7.2/m4/vl_prog_cc_warnings.m4 b/Build/source/texk/chktex/chktex-1.7.3/m4/vl_prog_cc_warnings.m4 index fe2f6145450..fe2f6145450 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/m4/vl_prog_cc_warnings.m4 +++ b/Build/source/texk/chktex/chktex-1.7.3/m4/vl_prog_cc_warnings.m4 diff --git a/Build/source/texk/chktex/chktex-1.7.2/rmeheader.in b/Build/source/texk/chktex/chktex-1.7.3/rmeheader.in index 56ca58ae76e..56ca58ae76e 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/rmeheader.in +++ b/Build/source/texk/chktex/chktex-1.7.3/rmeheader.in diff --git a/Build/source/texk/chktex/chktex-1.7.2/types.h b/Build/source/texk/chktex/chktex-1.7.3/types.h index a26b95295e4..a26b95295e4 100644 --- a/Build/source/texk/chktex/chktex-1.7.2/types.h +++ b/Build/source/texk/chktex/chktex-1.7.3/types.h diff --git a/Build/source/texk/chktex/chktex.test b/Build/source/texk/chktex/chktex.test index 43dd8578fc6..963f373eb96 100755 --- a/Build/source/texk/chktex/chktex.test +++ b/Build/source/texk/chktex/chktex.test @@ -1,6 +1,6 @@ -#! /bin/sh +#! /bin/sh -x -# Copyright (C) 2009-2013 Peter Breitenlohner <tex-live@tug.org> +# Copyright (C) 2009-2015 Peter Breitenlohner <tex-live@tug.org> # You may freely use, modify and/or distribute this file. rm -f chktest diff --git a/Build/source/texk/chktex/configure b/Build/source/texk/chktex/configure index 63022e31bd2..00e8648f3b4 100755 --- a/Build/source/texk/chktex/configure +++ b/Build/source/texk/chktex/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for ChkTeX (TeX Live) 1.7.2. +# Generated by GNU Autoconf 2.69 for ChkTeX (TeX Live) 1.7.3. # # Report bugs to <tex-k@tug.org>. # @@ -590,12 +590,12 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='ChkTeX (TeX Live)' PACKAGE_TARNAME='chktex--tex-live-' -PACKAGE_VERSION='1.7.2' -PACKAGE_STRING='ChkTeX (TeX Live) 1.7.2' +PACKAGE_VERSION='1.7.3' +PACKAGE_STRING='ChkTeX (TeX Live) 1.7.3' PACKAGE_BUGREPORT='tex-k@tug.org' PACKAGE_URL='' -ac_unique_file="chktex-1.7.2/ChkTeX.c" +ac_unique_file="chktex-1.7.3/ChkTeX.c" # Factoring default headers for most tests. ac_includes_default="\ #include <stdio.h> @@ -1336,7 +1336,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures ChkTeX (TeX Live) 1.7.2 to adapt to many kinds of systems. +\`configure' configures ChkTeX (TeX Live) 1.7.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1407,7 +1407,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of ChkTeX (TeX Live) 1.7.2:";; + short | recursive ) echo "Configuration of ChkTeX (TeX Live) 1.7.3:";; esac cat <<\_ACEOF @@ -1526,7 +1526,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -ChkTeX (TeX Live) configure 1.7.2 +ChkTeX (TeX Live) configure 1.7.3 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2182,7 +2182,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by ChkTeX (TeX Live) $as_me 1.7.2, which was +It was created by ChkTeX (TeX Live) $as_me 1.7.3, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -7867,7 +7867,7 @@ fi # Define the identity of the package. PACKAGE='chktex--tex-live-' - VERSION='1.7.2' + VERSION='1.7.3' cat >>confdefs.h <<_ACEOF @@ -13639,7 +13639,7 @@ fi -CHKTEX_TREE=chktex-1.7.2 +CHKTEX_TREE=chktex-1.7.3 PERL5='/usr/bin/env perl' @@ -14058,7 +14058,7 @@ Usage: $0 [OPTIONS] Report bugs to <bug-libtool@gnu.org>." lt_cl_version="\ -ChkTeX (TeX Live) config.lt 1.7.2 +ChkTeX (TeX Live) config.lt 1.7.3 configured by $0, generated by GNU Autoconf 2.69. Copyright (C) 2011 Free Software Foundation, Inc. @@ -15106,7 +15106,7 @@ fi ac_config_files="$ac_config_files Makefile" -ac_config_files="$ac_config_files deweb.pl:chktex-1.7.2/deweb.in" +ac_config_files="$ac_config_files deweb.pl:chktex-1.7.3/deweb.in" cat >confcache <<\_ACEOF @@ -15655,7 +15655,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by ChkTeX (TeX Live) $as_me 1.7.2, which was +This file was extended by ChkTeX (TeX Live) $as_me 1.7.3, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -15721,7 +15721,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -ChkTeX (TeX Live) config.status 1.7.2 +ChkTeX (TeX Live) config.status 1.7.3 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -16140,7 +16140,7 @@ do "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; - "deweb.pl") CONFIG_FILES="$CONFIG_FILES deweb.pl:chktex-1.7.2/deweb.in" ;; + "deweb.pl") CONFIG_FILES="$CONFIG_FILES deweb.pl:chktex-1.7.3/deweb.in" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac diff --git a/Build/source/texk/chktex/version.ac b/Build/source/texk/chktex/version.ac index 3bdbfc6cbd5..8a540c18f02 100644 --- a/Build/source/texk/chktex/version.ac +++ b/Build/source/texk/chktex/version.ac @@ -1,5 +1,5 @@ dnl -dnl Copyright (C) 2012, 2013 Peter Breitenlohner <tex-live@tug.org> +dnl Copyright 2012-2015 Peter Breitenlohner <tex-live@tug.org> dnl dnl This file is free software; the copyright holder dnl gives unlimited permission to copy and/or distribute it, @@ -8,4 +8,4 @@ dnl dnl -------------------------------------------------------- dnl dnl m4-include this file to define the current chktex version -m4_define([chktex_version], [1.7.2]) +m4_define([chktex_version], [1.7.3]) |