2010-02-26 Peter Breitenlohner * types.h: Don't #include for KPATHSEA. 2010-02-20 Peter Breitenlohner * types.h: Do not #include for MinGW32. Moved #undef DT_RIGHT and #define EndPage after kpathsea includes. 2009-08-22 Peter Breitenlohner Avoid maximal compiler warnings. * error.c (readback), gripes1.c (dfn): Constify return type. * dvibook.c, dviconcat.c, dviselect.c, dvitodvi.c: Constify global string DVIFileName and param2 of message(). * error.[ch]: Constify param2 of trap_fn(). * gripes.h, gripes[01].c: Constify extern string DVIFileName and move declaration to header. Constify string params of all functions. * dviconcat.c (doit): Constify string param. * dvibook.c (PutEmptyPage), dviconcat.c (PutEmptyPage), seek.c (CopyFile), tempfile.c (MakeRWTempFile): Constify local string vars. 2009-07-16 Peter Breitenlohner * seek.c (__CYGWIN32__): #include for setmode. 2009-06-23 Peter Breitenlohner * dvibook.c, dvitodvi.c: drop #ifdef HAVE_PROTOTYPES, unconditionally use prototypes. 2009-06-22 Peter Breitenlohner * Makefile.am (AM_CPPFLAGS): remove -DNeedFunctionPrototypes. * dviconcat.c, dviselect.c, types.h: always use prototypes. 2009-06-17 Peter Breitenlohner * Makefile.am (AM_CFLAGS): enable compiler warnings. * use ANSI C prototypes for all functions. * tempfile.h (new): prototype for MakeRWTempFile. * Makefile.am: distribute tempfile.h. * avoid unused variables, remove rcsid's. * remove unnecessary prototypes for static functions (some with long/i32 discrepancies). * dvibook.c, dviconcat.c, dviselect.c, dvitodvi.c: (HandleFontDef) add explicit braces to avoid ambiguous `else'. * dviselect.c (main): add parentheses around && within ||. * font.h: guard against multiple inclusion. * gripes.h: #include "font.h", for struct font. * tempfile.c: #include for unlink and getpid. 2009-06-02 Peter Breitenlohner * tempfile.c: define __cdecl only when used, to avoid warnings on cygwin. 2009-05-27 Peter Breitenlohner Adapt to TL2009 build system. 2009-02-03 Peter Breitenlohner * error.c: Include instead of as everywhere else. 2008-02-29 Peter Breitenlohner * configure.in: added AC_CONFIG_HEADERS (moved from ../kpathsea/common.ac to here). 2008-01-30 Peter Breitenlohner Convert from autoconf-2.13 to autoconf-2.59+: * Makefile.in: Add @configure_input@ line. * aclocal.m4 (new): Generated (aclocal -I ../m4). * configure: Regenerated (autoconf). 2004-12-30 Peter Breitenlohner * dvibook.c(main): Removed prototype, explicit int return type, changed exit at end into return. * dviconcat.c(main): Changed return type void into int, changed exit at end into return. * dviselect.c(main): Explicit int return type, changed exit at end into return. * dvitodvi.c(main): Removed prototype, changed return type void into int, changed exit at end into return. 1998-03-26 Eli Zaretskii * tempfile.c: Use text/binary parameterization from Kpathsea. (RemoveTempFile): New function, to remove temporary file on exit. (MakeRWTempFile): Use "." as directory for temporary file on MSDOS as well. Call RemoveTempFile instead of relying on it being unlinked when it is closed, on DOSISH systems. * seek.c: Use text/binary parameterization from Kpathsea. (CopyFile): Make sure the temporary file is put into the same mode (text or binary) as the original input handle. * dvitodvi.c: Use text/binary parameterization from Kpathsea. (main): Switch standard streams to binary mode when necessary. * dviselect.c: Use text/binary parameterization from Kpathsea. * dviconcat.c: Use text/binary parameterization from Kpathsea. (main): Switch standard streams to binary mode when necessary. * dvibook.c: Use text/binary parameterization from Kpathsea. * Makefile.in (prog_cflags): Add HAVE_CONFIG_H and -I with paths to Kpathsea directory. Tue Feb 24 11:56:33 1998 Sebastian Rahtz * error.c: cleanup for win32 from Fabrice Popineau Mon Feb 2 11:15:48 1998 Sebastian Rahtz * more fixes to error.* from Peter Breitenlohner * Makefile.in: install man pages for dvibook and dvitodvi Wed Jan 28 09:46:59 1998 Sebastian Rahtz * application programs and error.*: prototyping improved by Fabrice Popineau Tue Jan 27 14:32:25 1998 Sebastian Rahtz * rewrite of error function by Thomas Esser. needed check of strerror in configure.in * configure etc: new configure.in, c-auto.in, Makefile.in from Olaf Weber Tue Jan 20 10:14:41 1998 Sebastian Rahtz * fiddled about with NeedVarargs etc to use HAVE_PROTOTYPES. Depended all the malloc etc declarations on #ifndef KPATHSEA * added check of function prototypes to c-auto.in; added additional Amiga check to dvibook and dvitodvi Mon Jan 19 20:45:47 1998 Sebastian Rahtz * cut down contents of libtex.a to bare minimum Sat Jan 17 15:08:03 1998 Sebastian Rahtz * assorted patches from Olaf Weber, Peter Breitenlohner, Fabrice Popineau etc. va_start drove me mad. I never want to see this again. Wed Jan 7 14:46:38 1998 Sebastian Rahtz * Added Angus Duggan's dvibook and dvitodvi programs. Thu Jan 1 11:00:52 1998 Sebastian Rahtz * Started ChangeLog for seetexk. This is a very rough addition to the texk family to allow us to have just dviconcat and dviselect. No attempt to compile xtex! Made a configure file.