beta-0.89.2
[luatex.git] / source / texk / web2c / lib / ChangeLog
bloba0ea61120ec818e9c89f60462c2ffee0cc5d06a6
1 2016-01-26  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
3         * texmfmp.c: Improve to skip BOM (win32 only).
5 2016-01-02  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
7         * printversion.c: 2015 ---> 2016.
9 2015-11-15  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
11         * texmfmp.c: Show return code of system() if it is not zero.
13 2015-11-01  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
15         * texmfmp.c: Improve restricted shell escape for w32 a little.
17 2015-08-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
19         * texmfmp.c: Another minor modification (unused static).
21 2015-08-18  The Thanh Han  <hanthethanh@gmail.com>
23         * texmfmp.c: Patch from Maria with some minor modification.
25 2015-07-09  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
27         * texmfmp.c: Add \pdfmdfivesum to XeTeX.
29 2015-07-02  Hironori Kitagawa  <h_kitagawa2001@yahoo.co.jp>
31         * texmfmp.c: Moved convertStringToHexString() and getmd5sum()
32         from ../pdftexdir/utils.c to here.
34 2015-06-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
36         Integrate MFLua and MFLuaJIT.
37         * texmfmp.c: Adapted.
39 2015-03-16  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
41         * printversion.c: 2014 ---> 2015.
43 2014-11-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
45         * texmfmp.c: Avoid MinGW64 warnings (INVALID_SOCKET => -1).
47 2014-11-03  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
49         * texmfmp.c: Indentation.
51 2014-10-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
53         * texmfmp.c: Use the decision about tex*.dll from ../texmfmp.h.
55 2014-10-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
57         * texmfmp.c: Apply some code from W32TeX.
59 2014-08-22  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
61         * texmfmp.c: Symplify support of multibyte characters, by
62         updating fsyscp_popen in kpathsea (Windows only).
64 2014-08-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
66         * texmfmp.c: Avoid several compiler warnings (Windows only).
68 2014-08-22  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
70         * texmfmp.c: Support multibyte characters in pipe (Windows only).
72 2014-07-23  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
74         * texmfmp.c: Short-file-name convention is incompatible with
75         --src-specials (Windows only).
77 2014-07-21  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
79         * texmfmp.c: Use getnullstr() in maketexstring(), also in aleph.
81 2014-07-19  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
83         * texmfmp.c: Use getnullstr() in maketexstring(), as in pdfTeX,
84         in most cases in order to avoid an assertion error.
86 2014-07-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
88         * texmfmp.c: Replace the deprecated spawnvp() by _spawnvp(),
89         they differ for 64-bit MinGW.
91 2014-07-04  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
93         * texmfmp.c: Remove redundant cpp macros (w32 only).
95 2014-06-20  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
97         * texmfmp.c: Support short-file-name convention (w32 only).
99 2014-05-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
101         Update to e-pTeX and e-upTeX from Akira Kakuto.
102         * texmfmp.c (getfiledump): Move definition of this function
103         also used by e-(u)pTeX from ../pdftexdir/utils.c to here.
105 2014-01-20  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
107         * printversion.c: 2013 ---> 2014.
109 2014-01-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
111         * texmfmp.c: Do not declare dump_name, now done in change files.
113 2014-01-14  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
115         * texmfmp.c: use fsyscp_system instead of system (Windows only).
117 2013-12-31  TANAKA Takuji  <KXD02663@nifty.ne.jp>
119         * openclose.c: bug fix about error check when fopen.
120         Use fsyscp_fopen() instead of fsyscp_xfopen() (Windows only)
121         * texmfmp.c: Use get_command_line_args_utf8() (Windows only)
123 2013-12-03  TANAKA Takuji  <KXD02663@nifty.ne.jp>
125         * openclose.c, texmfmp.c: Support KANJI file name in (e)upTeX and
126         XeTeX on Windows.
128 2013-06-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
130         Update to e-pTeX and e-upTeX 130605 from Hironori Kitagawa.
131         * texmfmp.c (pdftex_fail): Adapted from ../pdftexdir/utils.c.
132         (initstarttime, makecstring, makecfilename, getcreationdate,
133         getfilemoddate, getfilesize): Move definition of these functions
134         also used by e-(u)pTeX from ../pdftexdir/utils.c to here.
136 2013-04-09  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
138         * printversion.c: 2012 ---> 2013.
140 2013-01-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
142         * texmfmp.c (mk_shellcmdlist): Simplify.
144 2013-01-06  Khaled Hosny  <khaledhosny@eglug.org>
146         * texmfmp.c [XeTeX]: Support input pipes.
148 2012-11-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
150         * Makefile.am: Avoid use of deprecated INCLUDES.
152 2012-10-14  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
154         * texmfmp.c: Use _IONBF for unbuffered stream.
156 2012-10-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
158         * texmfmp.c (mk_shellcmdlist): The argument is not constant.
160 2012-10-10  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
162         * texmfmp.c: Modify determination of fullpath for restricted shell
163         escape commands.
165 2012-09-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
167         * texmfmp.c: Since normalize_quotes() is declared static,
168         the forward declaration should also be static.
170 2012-09-11  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
172         * texmfmp.c (maininit): On Windows, latex "\input" "a b c", for example,
173         was not allowed. Allow file name with spaces in these cases.
175 2012-08-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
177         * main.c [WIN32]: Added _setmaxstdio() (from W32TeX).
179         * openclose.c (recorder_start): Reduce TL/W32TeX diffs.
180         Avoid using pid_t lacking in WIN32 (MSVC).
182 2012-08-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
184         * texmfmp.c [IS_pTeX]: Rename initdefaultkanji() => initkanji().
186 2012-08-06  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
188         * texmfmp.c [WIN32]: bug fix. use rewind (f) to clear error and
189         EOF indicators.
191 2012-07-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
193         * texmfmp.c (runpopen): Binary mode for popen() on Windows now
194         done in kpathsea.
196 2012-06-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
198         * texmfmp.c [WIN32]: Ignore DLLPROC for __MINGW32__.
200 2012-06-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
201 2012-06-27  Norbert Preining  <preining@logic.at>
203         * texmfmp.c (runpopen): Append "b" on Windows.
204         (open_{in,out}_or_pipe): Do not use the "b" here.
206 2012-06-27  Karl Berry  <karl@tug.org>
208         * texmfmp.c (generic_synctex_get_current_name): return the
209         empty string if passed null (can happen with -ini).
211 2012-06-26  Peter Breitenlohner  <peb@mppmu.mpg.de>
213         * texmfmp.c (open_{in,out}_or_pipe): Use popen() modes "rb" and
214         "wb" only for Windows, Posix allows them only for fopen().
215         (This makes pdftex's \input"|..." feature work again,
216         unintentionally broken.)
217         tex-live mail, 26 Jun 2012 06:24:11.
219 2012-05-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
221         * printversion.c (printversionandexit): Update 'Copyright 2012'.
223 2012-04-08  Peter Breitenlohner  <peb@mppmu.mpg.de>
225         * texmfmp.c (mk_shellcmdlist, init_shell_escape,
226         shell_cmd_is_allowed, normalize_quotes): Declare as static.
227         (get_seconds_and_micros): Define only for pdfTeX.
228         (getrandomseed): Removed, MP only.
230 2012-03-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
232         Avoid 'differ in signedness' warnings.
233         * texmfmp.c (input_line): Cast buffer to 'unsigned char *'.
235 2012-02-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
237         * eofeoln.c (eof): Fix a typo in comment.
239 2012-01-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
241         * printversion.c, texmfmp.c: Drop report of file offset bits.
243 2012-01-17  Peter Breitenlohner  <peb@mppmu.mpg.de>
245         * lib.h, printversion.c, texmfmp.c: Report file offset bits.
247 2011-12-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
249         * setupvar.c (setupboundvariable): Warning message: the bad
250         value can be from the environment or from texmf.cnf.
252 2011-10-11  Peter Breitenlohner  <peb@mp.mpg.de>
254         * texmfmp.c [WIN32]: Slightly reformulate Byte order marks.
256 2011-10-07  Peter Breitenlohner  <peb@mp.mpg.de>
258         * texmfmp.c: More changes to reduce diffs with W32TeX.
260 2011-10-04  Peter Breitenlohner  <peb@mp.mpg.de>
262         * texmfmp.c: More changes to reduce diffs with W32TeX,
263         for compilation with MS Visual Studio 2005.
265 2011-10-05  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
267         * texmfmp.c : remove unused free_shellcmdlist()
269 2011-10-04  Peter Breitenlohner  <peb@mp.mpg.de>
271         * texmfmp.c (calledit): More changes to reduce diffs with W32TeX.
273 2011-10-01  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
275         * texmfmp.c: write (sock, buff, n) and send (sock, buff, n, 0)
276         for ipc_snd () are different in winsock.
278 2011-09-30  Peter Breitenlohner  <peb@mp.mpg.de>
280         * texmfmp.c [Aleph]: Remove unused variable `eightbitp'.
282 2011-09-21  Peter Breitenlohner  <peb@mp.mpg.de>
284         * texmfmp.c [IPC]: More changes to reduce diffs with W32TeX.
286 2011-09-11  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
288         * texmfmp.c: Disable options -translate-file, -default-translate-file,
289         and -8bit for Aleph. The option -kanji-internal=STRING is effective
290         also for pTeX and epTeX.
292 2011-09-02  Peter Breitenlohner  <peb@mp.mpg.de>
294         * texmfmp.c: More changes to reduce diffs with W32TeX.
296 2011-09-01  Peter Breitenlohner  <peb@mp.mpg.de>
298         * texmfmp.c [WIN32]: Minor rewrite to reduce diffs with W32TeX.
300 2011-08-30  Akira Kakuto <kakuto@fuk.kindai.ac.jp>
302         * texmfmp.c [WIN32]: Remove a semicolon.
304 2011-08-29  Peter Breitenlohner  <peb@mp.mpg.de>
306         * texmfmp.c [WIN32]: Allow to build TeX & Co as DLL.
308 2011-08-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
310         * texmfmp.c: Remove some (e-)pTeX cruft.
312         * openclose.c [PTEX]: No nkf_open() and nkf_close() for WIN32.
314 2011-08-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
316         * texmfmp.c: Options for (e-)pTeX and (e-)upTeX.
318 2011-08-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
320         * texmfmp.c: Add upTeX and e-upTeX.
322 2011-08-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
324         * texmfmp.c: Do not #include empty file <kpathsea/recorder.h>.
326 2011-08-03  Magnus Granberg  <zorry@gentoo.org>
328         * texmfmp.c: Use C code for i?86 when -fPIC.
330 2011-07-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
332         * texmfmp.c: Drop `#warning SyncTeX: -synctex command line...'.
334 2011-05-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
336         * texmfmp.c (ipcpage): Add 'free(cwd)'.
337         (generic_synctex_get_current_name): Use xgetcwd().
339 2011-05-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
341         * texmfmp.c: Change arg2 of kpse_absolute_p() from `0' to `false'.
343 2011-05-11  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
345         * texmfmp.c: add a function generic_synctex_get_current_name()
346         in order to get full path names for SyncTeX.
348 2011-05-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
350         * texmfmp.c (ipc_open_out): Avoid to #define SOCK_NONBLOCK which
351         conflicts with newer GNU C library headers.
353 2011-05-04  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
355         * openclose.c (recorder_change_filename): on windows, an opened file
356         cannot be renamed.
358 2011-05-02  Karl Berry  <karl@tug.org>
360         * openclose.c (recorder_change_filename): take output_directory
361         into account.  Report/patch from 
362         Philipp Stephani, 30 Apr 2011 16:11:53,
363         http://tracker.luatex.org/view.php?id=615
365 2011-04-28  Karl Berry  <karl@tug.org>
367         * printversion.c (printversionandexit): it is 2011.
369 2011-04-27  Karl Berry  <karl@tug.org>
371         * texmfmp.c (initscreen): do not mention mfw, which is no more.
372         Suggestion from Reinhard Kotucha, tex-k mail 21 Jul 2010 11:40:36.
374 2011-04-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
376         Avoid 'differ in signedness' warnings.
377         texmfmp.c (input_line): Caat input_line2() arg2 to 'char *'.
379 2011-03-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
381         * texmfmp.c (calledit): [__MINGW32__] Drop win32_system() and
382         use system() as for all other systems.
384 2011-03-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
386         * setupvar.c (setupboundvariable): `program_invocation_name' has
387         been renamed into `kpse_invocation_name'.
389 2010-06-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
391         Reorganize web2c headers.
392         * alloca.c, basechsuffix.c, chartostring.c, coredump.c,
393         eofeoln.c, fprintreal.c, input2int.c, inputint.c, main.c,
394         openclose.c, printversion.c, setupvar.c, uexit.c, usage.c,
395         zround.c:
396         #include <w2c/config.h> instead of <config.h> or "config.h".
397         * version.c: #include <w2c/c-auto.h> instead of "c-auto.h".
399 2010-06-06  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
401         * texmfmp.c: include kpathsea/concatn.h if WIN32 is defined.
403 2010-06-04  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
405         * texmfmp.c: include kpathsea/concatn.h and remove cast
406         for concatn ().
408 2010-05-24  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
410         * texmfmp.c: on win32, all restricted shell escape commands are
411         executed by fullpath.
413 2010-05-18  Karl Berry  <karl@tug.org>
415         * printversion.c (printversionandexit): 2010.
417 2010-05-10  Karl Berry  <karl@tug.org>
419         * input2int.c (zinput2ints, zinput3ints): don't bother
420         to cast result of fprintf.
422 2010-04-25  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
424         * lib.h:
425         * texmfmp.c: remove TEXDLL.
427 2010-04-21  Karl Berry  <karl@tug.org>
429         * Makefile.am (EXTRA_DIST),
430         * win32main.c: rm per Akira.
432 2010-04-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
434         * texmfmp.c, lib.h: Remove luaTeX specific code.
436         * lib.h: Move extern declaration of ptexbanner from here
437         to ../pdftexdir/ptexlib.h (instatiated in texmfmp.c).
439 2010-04-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
441         * main.c, texmfmp.c: Remove extern declaration of mainbody,
442         is in lib.h.
443         * openclose.c (recorder_enabled, output_directory): Remove
444         extern declarations, are in lib.h.
445         * lib.h: Move extern declaration of fullnameoffile to here ...
446         * texmfmp.c: ... from here ...
447         * openclose.c: ... and from here.
448         * texmfmp.c [XeTeX]: Move extern declarations of papersize and
449         outputdriver from here to ../xetexdir/XeTeX_ext.h.
451         * Makefile.am, openclose.c, printversion.c:
452         Integrate libp.a for pTeX.
454 2010-04-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
456         * texmfmp.c (maininit) [__SyncTeX__]: omit warning about no
457         SyncTeX for pTeX.
459 2010-04-11  Karl Berry  <karl@tug.org>
461         * texmfmp.c,
462         * printversion.c,
463         * openclose.c,
464         * chartostring.c,
465         * basechsuffix.c: remove useless casts to (string) or (char *),
466         etc. of xmalloc.
468 2010-03-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
470         * openclose.c (open_input): Fixed a typo.
471         From Akira Kakuto <kakuto@fuk.kindai.ac.jp>, 30 Mar 2010 12:33:33.
473 2010-03-30  Karl Berry  <karl@tug.org>
475         * (recorder_start): throw in pid in recorder_name so parallel builds
476         have a chance of working.  Report from
477         Kirill Smelkov, Debian bug 575731, tex-k mail 29 Mar 2010 06:18:35.
479 2010-03-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
481         * setupvar.c (setupboundvariable): Fix off by one error in msg.
483 2010-03-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
485         * texmfmp.c (setupboundvariable): Moved from here ...
486         * setupvar.c (new): ... to here for use in non-engine programs.
487         * lib.h (setupboundvariable): Moved from ../texmfmp.h to here.
488         * Makefile.am (lib_a_SOURCES): Added setupvar.c.
490 2010-02-24  Peter Breitenlohner  <peb@mppmu.mpg.de>
492         * texmfmp.c (IPC) [WIN32]: #include <winsock2.h> instead of
493         <sys/socket.h> and <fcntl.h>, use ioctlsocket() instead of
494         fcnt() for non-blocking, and use Sleep() instead of sleep().
496 2010-02-21  Peter Breitenlohner  <peb@mppmu.mpg.de>
498         * texmfmp.c: #include <window/mfdisplay.h> instead of externs.
500 2010-02-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
502         * texmfmp.c (calledit): Use win32_system() with two args only
503         for MinGW32, native WIN32 uses only one arg.
504         (catch_interrupt) [WIN32]: Declare as static.
506 2010-02-01  Karl Berry  <karl@tug.org>
508         * openclose.c (open_input): do not try prepending TEXMFOUTPUT for
509         reading if the filename is absolute.
511 2010-01-24  Peter Breitenlohner  <peb@mppmu.mpg.de>
513         * texmfmp.c (mk_shellcmdlist): Declare string param as const.
515 2010-01-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
517         * texmfmp.c (maininit) [__SyncTeX__]: omit warning about no
518         SyncTeX for luaTeX.
519         (gettexstring): Declare as static for luaTeX.
521 2010-01-16  Karl Berry  <karl@tug.org>
523         * texmfmp.c (do_dump, do_undump): give full name of file
524         in fatal message when something cannot be (un)dumped.
526 2010-01-02  Karl Berry  <karl@tug.org>
528         * texmfmp.c (runsystem): doc fix.
530 2009-12-23  Karl Berry  <karl@tug.org>
532         * usage.c (usagehelp)
533         * texmfmp.c (BUG_ADDRESS): default to tex-k@tug.org, no @mail.
535 2009-12-01  Alexander Cherepanov  <cherepan@mccme.ru>
537         * texmfmp.c (parse_first_line): initialize s to NULL.
538         * usage.c: doc fix.
540 2009-11-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
542         * texmfmp.c (shell_cmd_is_allowed): Check for invalid single
543         quote also within quoted arguments.
544         Reported by Akira Kakuto <kakuto@fuk.kindai.ac.jp>,
545         diagnosed by Manuel P\'egouri\'e-Gonnard <mpg@elzevir.fr>.
547 2009-10-24  Peter Breitenlohner  <peb@mppmu.mpg.de>
549         * texmfmp.c (openinnameok, openoutnameok): Moved to Kpathsea
550         and renamed kpse_{in,out}_name_ok.
552 2009-09-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
554         * texmfmp.c (last_lineno): MAYBE_STATIC for luaTeX.
555         (srcspecialsoption, parse_src_specials_option): static but not
556         used for luaTeX.
558 2009-09-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
560         * texmfmp.c (runpopen): Used only for pdfTeX and luaTeX.
561         (last_source_name etc): Not used by MF.
562         (ipcpage): Avoid unconstifying cast.
563         (compare_paths): Declare as static.
564         (mfwin_sw): Constify member string.
566 2009-09-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
568         * texmfmp.c (initscreen): Add explicit braces.
569         (getrandomseed, makefullnamestring): ANSI C definition.
571 2009-08-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
573         * lib.h (NOT_WEB2C): New preprocessor macro, if defined prevents
574         declaration of argc, argv, cmdline, and mainbody (from main.c).
576 2009-08-24  Peter Breitenlohner  <peb@mppmu.mpg.de>
578         * openclose.c (open_output): Bugfix? local var 'fname' was
579         shadowed by a second one.  Avoid memory leak.
581 2009-08-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
583         * lib.h, texmfmp.c, version.c: Constify ptexbanner and
584         versionstring.
586 2009-08-21  Peter Breitenlohner  <peb@mppmu.mpg.de>
588         Avoid maximal compiler warnings.
589         * openclose.c (recorder_record_name): Constify string param1.
590         (recorder_record_{name,input,output}): Rename param
591         nameoffile=>name, not to shadow global var.
593 2009-08-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
595         * lib.h (ptexbanner): Add decl for pdfTeX and luaTeX.
596         * texmfmp.c (ptexbanner): Drop decl but keep initializer.
597         * printversion.c (kpathsea_version_string):
598         #include <kpathsea/version.h> and drop extern declaration.
600 2009-08-17  Peter Breitenlohner  <peb@mppmu.mpg.de>
602         * texmfmp.c (shell_cmd_is_allowed): Change param1 from 'char **'
603         to 'const char *'.
604         (runsystem, runpopen): Constify string params.
606 2009-07-24  Martin Schröder  <martin@oneiros.de>
608         * printversion.c: don't nest extern declarations
610 2009-06-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
612         * basechsuffix.c, chartostring.c, coredump.c, eofeoln.c,
613         fprintreal.c, input2int.c, inputint.c, main.c, openclose.c,
614         printversion.c, texmfmp.c, uexit.c, usage.c, win32main.c,
615         zround.c: drop P?C, P?H, use ANSI C function declarations.
617 2009-06-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
619         * Makefile.am (AM_CFLAGS): enable compiler warnings.
620         * lib.h (new): declarations for *.c from ../cpascal.h.
621         * basechsuffix.c, chartostring.c, eofeoln.c, fprintreal.c,
622         input2int.c, inputint.c, main.c, openclose.c, printversion.c,
623         zround.c: #include "lib.h" to declare function prototypes.
624         * openclose.c: declare internal function recorder_record_name as
625         static; declare param of recorder_record_input and
626         recorder_record_output as const_string as from ../cpascal.h.
628 2009-06-01  Karl Berry  <karl@tug.org>
630         * printversion.c (printversionandexit): it's 2009.
631         Also, remove special references to kpathsea author(s) etc.
633 2009-03-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
635         * texmfmp.c: remove all references to (Web2C version of) MP.
637 2009-05-18  Karl Berry  <karl@tug.org>
639         * openclose.c (recorder_start): use output_directory for the .fls
640           file, if it has been specified with --output-directory.
641           metapost mail from Nicola, 16 May 2009 13:41:36.
643 2009-03-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
645         * texmfmp.c: remove all references to Omega, eOmega, and pdfeTeX.
647 2009-03-28  Karl Berry  <karl@tug.org>
649         * texmfmp.c (mk_shellcmdlist, shell_cmd_is_allowed): not static,
650         so luatex can access.  From Taco.
652 2009-03-27  Taco Hoekwater  <taco@luatex.org>
654         * texmfmp.c (parse_options): add #ifndef luaTeX guard for 
655         --src-specials, because luaTeX does not implement it.
656         (parse_src_specials_option): add #ifndef luaTeX guard for
657          the same reason.
659 2009-03-02  Karl Berry  <karl@tug.org>
661         * texmfmp.c (long_options): make -enable-write18 and -disable-write18
662         synonyms for -shell-escape and -no-shell-escape.
664 2009-02-26  Karl Berry  <karl@tug.org>
666         * texmfmp.c: Implementation of restricted shell escapes from Akira.
667         (mk_shellcmdlist, init_shell_escape, char_needs_quote, Isspace,
668         shell_cmd_is_allowed, runsystem, runpopen): new fns.
669         (long_options, parse_cmd_line): new option --shell-restricted.
670         (main): call init_shell_escape.
671         (open_in_or_pipe, open_out_or_pipe): call runpopen.
673 2009-02-06  Karl Berry  <karl@tug.org>
675         * texmfmp.c (maininit) [__SyncTeX__]: omit warning about no
676         SyncTeX for Omega and MF/MP.
678 2008-03-24  Karl Berry  <karl@tug.org>
680         * printversion.c: it's 2008.
682 2008-03-16  Karl Berry  <karl@tug.org>
684         * texmfmp.c (maininit): don't append DUMP_EXT if it's already
685         there.  Report from Hans.
687 2008-03-09  Karl Berry  <karl@tug.org>
689         * texmfmp.c (maketexstring) [!MP]: only define this fn if !MP,
690         since MetaPost has its own in mpdir/utils.c.
691         (input_line): initialize i = EOF.  From Taco.
693 2008-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
695         * Makefile.in: Add @configure_input@ line.
697 2007-12-28  Karl Berry  <karl@tug.org>
699         * texmfmp.c (parse_options): do not set user_progname at
700         DUMP_OPTION or efmt.
701         (maininit): instead, do it here, after options are read.
703 2007-09-05  Karl Berry  <karl@tug.org>
705         * texmfmp.c (long_options): move output-directory output to be
706         enabled for MF and MP too.  From Akira.
708 2007-08-20  Karl Berry  <karl@tug.org>
710         * texmfmp.c (main) [WIN32]: _setmaxstdio(2048), to increase
711         open files limit.  From Akira, 19 Aug 2007 09:30:30 +0900.
713 2007-07-26  Karl Berry  <karl@tug.org>
715         * openclose.c (recorder_record_name): fflush the recorder file,
716         since this is for debugging.  Suggested by George White.
718 2006-12-28  Martin Schröder <martin@oneiros.de>
720         * texmfmp.c: fixed some warnings raised by gcc for unused variables
721         and different signedness of arguments
723 2006-07-16  Karl Berry  <karl@tug.org>
725         * mfmpi386.asm: missing " chars.
727 2006-07-15  Karl Berry  <karl@tug.org>
729         * mfmpi386.asm (asm): prepend with .text to avoid seg fault with
730         -g3 or -ggdb3 due to the symbols ending up in the data section.
731         tex-k report by Edward Catmur, 29 Mar 2006 00:09:15 +0100.
733 2006-06-19  Karl Berry  <karl@tug.org>
735         * texmfmp.c (open_in_or_pipe) [!pdfTeX && !pdfeTeX]: track
736         fullnameoffile; from Akira and Jonathan.
738 2005-08-13  Olaf Weber  <olaf@infovore.xs4all.nl>
740         * printversion.c: Update copyright messages.
742 2005-08-03  Olaf Weber  <olaf@infovore.xs4all.nl>
744         * texmfmp.c: Implement -etex switch.
746 2005-07-29  Olaf Weber  <olaf@infovore.xs4all.nl>
748         * texmfmp.c (opennameok): Check all occurrences of ".." in a
749         filename, not just the first.  Reported by Yutaka OIWA
750         <y.oiwa@aist.go.jp>.
752 2005-07-27  Olaf Weber  <olaf@infovore.xs4all.nl>
754         * printversion.c: libkpathsea is covered by the LGPL, not the GPL,
755         and is the common factor that brings in the *GPL to all
756         web2c-based programs.
758         * texmfmp.c (get_seconds_and_micros): New function, gets high-res
759         time if possible.  Remove references to pdfxtex.
761 2005-07-22  Olaf Weber  <olaf@infovore.xs4all.nl>
763         * input2int.c: The correct format string to use depends on whether
764         integer is an int or a long int.  Reported by M.J. Rutter
765         <mjr19@cus.cam.ac.uk>.
767 2005-06-26  Olaf Weber  <olaf@infovore.xs4all.nl>
769         * Makefile.in: Replace ac_include with kpse_include.  From Peter
770         Breitenlohner.
772 2005-06-22  Olaf Weber  <olaf@infovore.xs4all.nl>
774         * texmfmp.c [MP][BANNER]: Update for MetaPost 0.901.
776 2005-06-21  Olaf Weber  <olaf@infovore.xs4all.nl>
778         * texmfmp.c (opennameok,openinnameok,openoutnameok): Add new
779         parameter to opennameok() so its diagnostics are correct wrt to
780         whether we are testing a file name for reading or writing.
782 2005-04-12  Olaf Weber  <olaf@infovore.xs4all.nl>
784         * texmfmp.c (getjobname): Add a parameter, the string to return if
785         --jobname wasn't given.
786         This is part of a group of changes that fix pdftex bug 302.
787         http://sarovar.org/tracker/?func=detail&atid=493&aid=302&group_id=106
789         * openclose.c (open_input): kpse_find_file() always returns a new
790         string, so we can unconditionally deallocate it.
792         * texmfmp.c (maininit): Factor out common code into texmf_yesno().
793         (texmf_yesno): New function, return true if a variable is set and set
794         to 't', 'y', or '1' in texmf.cnf or the environment.
796 2004-12-20  Olaf Weber  <olaf@infovore.xs4all.nl>
798         * texmfmp.c [pdfTeX,pdfeTeX,pdfxTeX]: New variable ptexbanner.
800 2004-12-19  Olaf Weber  <olaf@infovore.xs4all.nl>
802         * texmfmp.c [TeX] (maininit): For all TeX variants, recognize
803         "initex" and "virtex" program names, just in case.
805 2004-09-16  Olaf Weber  <olaf@infovore.xs4all.nl>
807         * printversion.c (printversionandexit): Hartmut Henkel
808         <hartmut_henkel@gmx.de> noticed that the engines start running
809         like this: "This is TeX, Version 3.141592 (Web2C 7.5.3)" but the
810         -version output looks like this "TeX (Web2C 7.5.3) 3.141592".
811         He supplied a small patch to rectify this.
813 2004-08-28  Olaf Weber  <olaf@infovore.xs4all.nl>
815         * openclose.c (open_input,open_output): Implement output_directory
816         option.
818         * texmfmp.c: Accept -output-directory option.
820 2004-07-14  Olaf Weber  <olaf@infovore.xs4all.nl>
822         * texmfmp.c (setupcharset): Remove this fuction.  The
823         initialization is performed is done by the engine.
824         (read_char_translation_file): Rename to readtcxfile.
825         (readtcxfile): Some comment changes compared to its previous
826         incarnation.
828         * usage.c (usagehelp): Add second argument, email address for bug
829         reports.  Requested by the pdftex team.
831         * texmfmp.c: Add -output-format to the long_options array.
832         Also add BUG_ADDRESS to the macros defined for each engine.
833         Call usagehelp with BUG_ADDRESS as second argument.
834         
835 2004-07-03  Olaf Weber  <olaf@infovore.xs4all.nl>
837         * texmfmp.c (parse_options): Make it so that aleph and omega also
838         parse the -translate-file and -8bit options, even though they now
839         silently ignore them.  (They have to ignore them in any case, as
840         neither makes sense for these programs.)
842 2004-07-02  Olaf Weber  <olaf@infovore.xs4all.nl>
844         * texmfmp.c [TeX]: Implement -efmt as alternate spelling for -fmt.
845         This option is only present for backward compatibility, and will
846         go away in the future.
848 2004-06-29  Olaf Weber  <olaf@infovore.xs4all.nl>
850         * Makefile.in: Don't include alloca.o in the objects.  It
851         shouldn't be used anywhere.
853 2004-06-16  Olaf Weber  <olaf@infovore.xs4all.nl>
855         * texmfmp.c (get_input_name): Off-by-one errors when
856         erasing/restoring the final quote.  From Akira Kakuto
857         <kakuto@fsci.fuk.kindai.ac.jp>.
859 2004-06-15  Olaf Weber  <olaf@infovore.xs4all.nl>
861         * texmfmp.c: (normalize_quotes): New function, takes a filename
862         and returns an allocated string with the name quoted iff it
863         contains a space.
864         (get_input_file_name): Factor out normalize_quotes.
865         (getjobname): Add quotes if needed.  callmakempx: Add quotes if
866         needed.
868 2004-06-04  Olaf Weber  <olaf@infovore.xs4all.nl>
870         * texmfmp.c (get_input_file_name): New function.  Get the name of
871         the input file for use by parse_first_line(), and if the filename
872         contains spaces make sure a properly quoted version will be given
873         to TeX.
874         (parse_first_line): Now takes the name of the input file (or NULL) as
875         an argument, instead of looking for it.
877 2004-05-26  Olaf Weber  <olaf@infovore.xs4all.nl>
879         * texmfmp.c: Remove -oem code.
881 2004-05-14  Olaf Weber  <olaf@infovore.xs4all.nl>
883         * texmfmp.c: Remove much of the locale-dependent code.  Some
884         pieces remain because they are related to the Win32 '-oem' option,
885         where I do not know yet whether that option should go as well.
887 2004-05-10  Olaf Weber  <olaf@infovore.xs4all.nl>
889         * texmfmp.c (setupcharset): Fixing a regression.  When a line in a
890         TCX file contains two numbers and a comment, set printable=1.
891         Reported by Staszek Wawrykiewicz <staw@gust.org.pl>.
893 2004-05-08  Olaf Weber  <olaf@infovore.xs4all.nl>
895         * texmfmp.c (main): We can now put TEXMFENGINENAME into the
896         environment for $engine in all cases.
898         * texmfmp.c: Add -halt-on-error option.
900 2004-05-07  Olaf Weber  <olaf@infovore.xs4all.nl>
902         * texmfmp.c (maininit): Set $engine appropriately.
904         * texmfmp.c: Implement -8bit option.
906         * texmfmp.c (makesrcspecial): Always put a space after the line
907         number.
909 2004-04-16  Olaf Weber  <olaf@infovore.xs4all.nl>
911         * texmfmp.c (setupcharset): More compact xprn assignment.
913 2004-03-28  Olaf Weber  <olaf@infovore.xs4all.nl>
915         * texmfmp.c: Implement -no-shell-escape, -no-parse-first-line,
916         -no-file-line-error.
918 2004-03-25  Olaf Weber  <olaf@infovore.xs4all.nl>
920         * texmfmp.c [eTeX](maininit): e-TeX will no longer treat being
921         called as "initex" or "virtex" special.
922         (tcx_get_num): Additional argument, upper bound we're accepting.
923         (read_char_translation_file): Allow for a third integer, 0 or 1, to
924         set printable status.  This way you can translate characters
925         without making them printable.  However, enforce that 7bit ASCII
926         remains printable.
928         * texmfmp.c (maininit): Add sanity check for -enc or -mltex
929         without -ini.
931 2004-03-24  Olaf Weber  <olaf@infovore.xs4all.nl>
933         * zround.c: Add public domain notice.
935         * win32main.c: Add public domain notice.
937         * version.c: Add public domain notice.
939         * uexit.c: Add public domain notice.
941         * printversion.c: Bump 2003 to 2004 in copyright notices.
943         * main.c: Add public domain notice.
945         * inputint.c: Add public domain notice.
947         * input2int.c: Add public domain notice.
949         * fprintreal.c: Add public domain notice.
951         * eofeoln.c: Add public domain notice.
953 2004-03-22  Olaf Weber  <olaf@infovore.xs4all.nl>
955         * texmfmp.c (parse_options): Add -output-format for the pdf*TeX
956         family.
958         * texmfmp.c: Changes for Aleph.
960         * texmfmp.c (long_options): Enable "enc" option.
962 2004-03-16  Olaf Weber  <olaf@infovore.xs4all.nl>
964         * texmfmp.c: Allow file:line:error style messages to be enabled
965         from texmf.cnf.  From Akira Kakuto <kakuto@fsci.fuk.kindai.ac.jp>.
967 2004-02-26  Olaf Weber  <olaf@infovore.xs4all.nl>
969         * texmfmp.c: Rename isprintable to xprn.
971         * win32main.c: Sync with TeXlive.
973         * texmfmp.c: Add -enc option.
975         * texmfmp.c: Add support for pdfxTeX.
977 2003-02-16  Olaf Weber  <olaf@infovore.xs4all.nl>
979         * texmfmp.c: Update banners for TeX 3.141592, MF 2.71828.
981 2003-02-07  Olaf Weber  <olaf@infovore.xs4all.nl>
983         * texmfmp.c: e-Omega support.
985 2003-01-24  Olaf Weber  <olaf@infovore.xs4all.nl>
987         * texmfmp.c (setupcharset): Do not adapt the isprintable array to
988         the locale.
990 2003-01-10  Olaf Weber  <olaf@infovore.xs4all.nl>
992         * printversion.c (printversionandexit): Update copyright notice
993         years.
995 2002-12-14  Olaf Weber  <olaf@infovore.xs4all.nl>
997         * texmfmp.c: Remove some unsused variables.
999 2002-11-11  Olaf Weber  <olaf@infovore.xs4all.nl>
1001         * texmfmp.c: Implement a -parse-first-line option.  With the
1002         current code it is possible to switch %&-line parsing on from the
1003         command line.  To switch it off when it is enabled in texmf.cnf
1004         requires the use of an environment variable.
1006 2002-10-20  Olaf Weber  <olaf@infovore.xs4all.nl>
1008         * texmfmp.c: Add support for -jobname option.
1010 2002-10-06  Olaf Weber  <olaf@infovore.xs4all.nl>
1012         * texmfmp.c (maybe_parse_first_line): Split
1013         maybe_parse_first_line: maybe_parse_first_line is called to set
1014         parse_first_line_p for TeX, MF, MP, and parse_first_line is called
1015         to do the actual parsing.
1017         * texmfmp.c: Add support for mktexfmt; from Fabrice Popineau.
1019 2002-06-04  Olaf Weber  <olaf@infovore.xs4all.nl>
1021         * texmfmp.c: Do not allow texmf.cnf to set the src_specials
1022         option.
1024 2002-06-02  Olaf Weber  <olaf@infovore.xs4all.nl>
1026         * texmfmp.c: Change handling of source specials so that there is a
1027         single flag, src_specials_p, which can be used to see if any
1028         source specials are generated.
1030         * win32main.c: From Fabrice.
1032 2002-04-02  Olaf Weber  <olaf@infovore.xs4all.nl>
1034         * texmfmp.c [Omega] (ipcpage,gettexstring): Correction of the way
1035         the strstartar array is handled.  Reported by Akira Kakuto
1036         <kakuto@fsci.fuk.kindai.ac.jp>
1038 2001-11-27  Olaf Weber  <olaf@infovore.xs4all.nl>
1040         * texmfmp.c (initscreen): Clarify message generated when an X
1041         window cannot be opened.
1043 2001-11-25  Olaf Weber  <olaf@infovore.xs4all.nl>
1045         * texmfmp.c: Remove unnecessary casts to (int*).  If C++ ->
1046         NO_MF_ASM.
1048         * alloca.c: Changes to allow this file to compile with C++.
1050 2001-11-19  Olaf Weber  <olaf@infovore.xs4all.nl>
1052         * texmfmp.c: Changes to keep C++ compilers from choking.
1054         * openclose.c: Remove double declaration of recorder_name, make
1055         prototype of open_input consistent with cpascal.h.
1057 2001-11-18  Olaf Weber  <olaf@infovore.xs4all.nl>
1059         * uexit.c: Changes to keep C++ compilers from choking.
1061         * texmfmp.c: Changes to keep C++ compilers from choking.  Changes
1062         to support the filename recorder.
1064         * printversion.c: Changes to keep C++ compilers from choking.
1066         * openclose.c: Changes to keep C++ compilers from choking.
1067         (recorder_start): New function, starts filename recorder.
1068         (recorder_change_filename): New function, change the name of the file
1069         used by the filename recorder.
1070         (open_input,open_output): Record filename, starting recorder if
1071         necessary.
1073         * chartostring.c: Changes to keep C++ compilers from choking.
1075         * basechsuffix.c: Changes to keep C++ compilers from choking.
1077 2001-11-14  Olaf Weber  <olaf@infovore.xs4all.nl>
1079         * texmfmp.c (getrandomseed): If available use gettimeofday or
1080         ftime to obtain a random seed number.  These functions have a
1081         higher resolution, so fix the problem that subsequent MF or MP
1082         runs could have the same seed.
1084 2001-10-30  Olaf Weber  <olaf@infovore.xs4all.nl>
1086         * texmfmp.c: Add support for source specials.
1088         * openclose.c: Add support for file:line:style messages.
1090 2001-10-26  Olaf Weber  <olaf@infovore.xs4all.nl>
1092         * texmfmp.c: Implement -tex=program option for mp.
1094 2001-10-24  Olaf Weber  <olaf@infovore.xs4all.nl>
1096         * usage.c (usage): Remove first argument, should now only be
1097         called on abnormal exit.
1098         (usage_help): Print help message, implies a normal exit.
1100         * texmfmp.c: Modify usage/usage_help invocation.
1102         * eofeoln.c (readln): New function, read a line and accept CRNL,
1103         CR, and NL as end-of-line delimiters.
1105 2001-04-23  Olaf Weber  <olaf@infovore.xs4all.nl>
1107         * eofeoln.c (eoln): Accept both CR and LF as end-of-line
1108         characters.
1110 2000-08-25  Olaf Weber  <olaf@infovore.xs4all.nl>
1112         * texmfmp.c (setupboundvariable): Add parentheses for clarity, and
1113         to silence stupid compilers.
1115 2000-05-03  Olaf Weber  <olaf@infovore.xs4all.nl>
1117         * texmfmp.c (calledit): The first argument should be a pointer to
1118         packedASCIIcode.  This matters for Omega.  From "C.M. Connelly"
1119         <c@eskimo.com>.
1121 2000-04-21  Olaf Weber  <olaf@infovore.xs4all.nl>
1123         * texmfmp.c [WIN32]: Add support for -oem option.  From Fabrice.
1125 2000-04-13  Olaf Weber  <olaf@infovore.xs4all.nl>
1127         * openclose.c: Disabled the supporting code for remembering the
1128         full name while the code for C style error messages and source
1129         specials is under review.
1131 2000-04-03  Olaf Weber  <olaf@infovore.xs4all.nl>
1133         * openclose.c (open_input): Save full name of found file in
1134         full_name_of_file variable.  For "C-style" error messages and
1135         source-file specials.  After Stefan Ulrich
1136         <ulrich@cis.uni-muenchen.de> and Fabrice Popineau
1137         <Fabrice.Popineau@supelec.fr>.
1139 2000-01-13  Olaf Weber  <olaf@infovore.xs4all.nl>
1141         * texmfmp.c (parse_options): Stop option-processing at the first
1142         non-option, so that a command line like 'tex \&sgmlbase
1143         -lhtmlbase.tex -ousing.html using.html' feeds the '-lhtmlbase.tex'
1144         and '-ousing.html' to the format.  Reported by Jonathan Fine
1145         <fine@active-tex.demon.co.uk>.
1147 1999-07-12  Olaf Weber  <olaf@infovore.xs4all.nl>
1149         * texmfmp.c (maininit): Add a --default-translate-file option, to
1150         facilitate CSTeX.  Suggestion (relayed?) by Petr Olsak
1151         <olsak@math.feld.cvut.cz>.
1152         (input_line): Make sure that catching a SIGINT won't be seen as a EOF
1153         on the terminal.  Problem noticed by DEK.
1155 1999-06-28  Olaf Weber  <olaf@infovore.xs4all.nl>
1157         * openclose.c (open_input): The pdfTeX people asked that the disk
1158         not be pounded for .vf files.
1160 1999-05-29  Olaf Weber  <olaf@infovore.xs4all.nl>
1162         * texmfmp.c (opennameok): Allow ./ or its equivalent.  Use
1163         IS_DIR_SEP rather than comparing against DIR_SEP.
1165         * openclose.c (open_input): Correct comment.
1167 1999-03-15  Olaf Weber  <olaf@infovore.xs4all.nl>
1169         * texmfmp.c (parse_options): Explicit --progname override the
1170         inferred programe of the --fmt option.  Suggested by Sebastian.
1171         (ztakefraction,ztakescaled,zmakescaled,blankrectangle,paintrow): Add
1172         prototypes.  From Thomas.
1174 1999-02-14  Olaf Weber  <olaf@infovore.xs4all.nl>
1176         * texmfmp.c: The translate_filename variable is now external.  Use
1177         kpse_web2c_format to find tcx files.
1179 1999-02-06  Olaf Weber  <olaf@infovore.xs4all.nl>
1181         * texmfmp.c: Remove include for kpathsea/config.h because it is
1182         superfluous.
1183         (calledit): Use P?C macro in definition.
1185 1999-02-04  Olaf Weber  <olaf@infovore.xs4all.nl>
1187         * texmfmp.c (maybe_parse_first_line): Allow both --translate-file
1188         and -translate-file in first line.
1190         * main.c (main): Remove __cdecl, from Fabrice.
1192 1999-01-27  Olaf Weber  <olaf@infovore.xs4all.nl>
1194         * zround.c (zround): Add cast to quiet compiler.  By Fabrice.
1196         * usage.c (usage): Use KPSEDLL for kpse_bug_address.  By Fabrice.
1198         * texmfmp.c [WIN32]: include sys/timeb.h.
1199         (mainbody): Add TEXDLL to declaration.
1200         (maininit): The old main function renamed.
1201         (main): A new main function, stripped to the bones.
1202         (getrandomseed): Get a random seed from the current time.
1203         All after Fabrice.
1205         * printversion.c (printversionandexit): Add KPSEDLL for
1206         kpathsea_version_string, by Fabrice.
1208         * main.c (main): Add __cdecl, from Fabrice.
1210 1999-01-24  Olaf Weber  <olaf@infovore.xs4all.nl>
1212         * texmfmp.c: Support for pdfeTeX.  From Thomas Esser.
1214         * texmfmp.c (maybe_parse_first_line): Default to parsing if
1215         maybe_parse_first_line is not defined in texmf.cnf.
1216         (opennameok): Add an argument to specify default.
1217         (openinok): Default to "a" if no openin_any found.
1218         (openoutok): Default to "p" if no openout_any found.
1220         * mfmpw32.c: Change CRNL to NL line-endings.
1222 1999-01-14  Olaf Weber  <olaf@infovore.xs4all.nl>
1224         * texmfmp.c: Further changes and fixes for maybe_parse_first_line.
1225         Add openinnameok and openoutnameok, which call opennameok.
1226         (opennameok): Change implementation to reflect this.
1228 1999-01-13  Olaf Weber  <olaf@infovore.xs4all.nl>
1230         * texmfmp.c: Rename maybe_set_dump_default_from_input to
1231         maybe_parse_first_line.  Add TCX support in the form of allowing a
1232         --translate-file pseudo-option, as proposed by Wlodzimierz Bzyl
1233         <matwb@monika.univ.gda.pl>.
1235         * printversion.c: Correct --version output.
1237         * Makefile.in: Rename kpathsea.make to kpathsea.mk.
1239 1999-01-10  Olaf Weber  <olaf@infovore.xs4all.nl>
1241         * texmfmp.c: Update banners, add MFNOWIN ifdef.
1243         * printversion.c (printversionandexit): Improve & update message.
1245         * Makefile.in: Change of ../make/*.make to ../make/*.mk.
1247 1998-12-04  Olaf Weber  <olaf@infovore.xs4all.nl>
1249         * texmfmp.c: Replace isblank with ISBLANK, to improve handling of
1250         whitespace.
1252 1998-07-26  Olaf Weber  <olaf@infovore.xs4all.nl>
1254         * texmfmp.c (parse_options): Make --progname a no-op after --fmt
1255         has been seen.  Thus the order of these options no longer matters.
1257         * texmfmp.c: Rename openoutnameok to opennameok.
1259 Sun May 31 17:27:22 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
1261         * texmfmp.c: Add a parse_first_line configuration entry, so the
1262         %&format construct can be switched off when desired.  Suggested by
1263         Denis B Roegel.
1264         Add a --debug-format option.
1266 Mon May  4 19:41:22 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
1268         * basechsuffix.c (basenamechangesuffix): Replace call of basename
1269         with xbasename.
1271         * texmfmp.c (openoutnameok): Replace call of basename with
1272         xbasename.
1274 Tue Mar 10 06:37:51 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
1276         * texmfmp.c [TeX & IPC] (ipcpage): Remember to set begun to true
1277         once we've begun.
1279 Sun Mar  8 18:21:46 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
1281         * printversion.c (printversionandexit): Copyright year is 1998.
1283 Tue Feb 10 17:56:36 1998  Olaf Weber  <infovore@xs4all.nl>
1285         * texmfmp.c: Provide the hooks for the epsf server.  From Mathias
1286         Herberts.
1288         * eofeoln.c: Prototype eoln.  Spotted by Andreas Scherer
1289         <Andreas.Scherer@Pobox.Com>
1291         * fprintreal.c: Prototype fprintreal.  Spotted by Andreas Scherer
1292         <Andreas.Scherer@Pobox.Com>
1294 Fri Jan 23 15:01:31 1998  Olaf Weber  <infovore@xs4all.nl>
1296         * texmfmp.c: Various patches for Omega from John Plaice.
1297         (ipcpage [Omega]): Fix because string handling in Omega differs.
1298         (maybe_set_dump_default): Fix to get %& to work in more cases.
1300 Thu Dec 18 20:37:20 1997  Olaf Weber  <infovore@xs4all.nl>
1302         * texmfmp.c: Change spelling of -maketex option to -mktex.
1304 Fri Dec 12 10:22:52 1997  Olaf Weber  <infovore@xs4all.nl>
1306         * openclose.c (open_output): Don't use TEXMFOUTPUT value if it is
1307         the empty string.
1309         * texmfmp.c (openoutnameok): Rewritten to support three levels of
1310         permissiveness.
1311         (main): Assignment to shellenabledp has been rewritten: we now
1312         enable only if certain values are found.
1314 Mon Dec  1 19:05:06 1997  Olaf Weber  <infovore@xs4all.nl>
1316         * texmfmp.c (maybe_set_dump_default_from_input): Reset the program
1317         name if the dump_name changes.
1319         * texmfmp.c [WIN32 && !NO_MF_ASM]: Include "lib/mfmpw32.c" instead
1320         of "../win32/mfmpi386.c".
1322         * texmfmp.c (main, parse_options): Add support for --interaction
1323         option.
1325         * texmfmp.c (main) [eTeX]: Make sure calling e-TeX as initex or
1326         virtex works as it should.
1328 Sat Nov 29 13:06:53 1997  Olaf Weber  <infovore@xs4all.nl>
1330         * texmfmp.c (main): We assume "plain" for the dump_name iff the
1331         program was called as ini* or vir*.  And in the case of ini*, the
1332         file name will override this anyway.
1334         * texmfmp.c (callmakempx): Add xstrdup, because we end up
1335         potentially freeing a static string otherwise.  From Fabrice
1336         Popineau.
1338 Sun Nov 23 19:43:57 1997  Olaf Weber  <infovore@xs4all.nl>
1340         * texmfmp.c (openoutnameok): When we're trying to be safe, add
1341         some extra paranoia supplied by Charles Karney <karney@pppl.gov>.
1343 Sat Nov 22 19:26:13 1997  Olaf Weber  <infovore@xs4all.nl>
1345         * texmfmp.c (main): Use kpse_set_program_name and
1346         kpse_program_name instead of kpse_set_progname and
1347         program_invocation_short_name.
1349 Sat Nov 15 21:27:23 1997  Olaf Weber  <infovore@xs4all.nl>
1351         * texmfmp.c: Various changes to support Omega.
1353 Fri Nov 14 16:43:28 1997  Olaf Weber  <infovore@xs4all.nl>
1355         * texmfmp.c [eTeX,PDFTeX]: Inclusion of header file with
1356         appropriate banner.
1358 Fri Oct 24 13:41:56 1997  Olaf Weber  <infovore@xs4all.nl>
1360         * texmfmp.c: Prototypes for the mf_*_{blankrectangle,paintrow}
1361         functions.
1363 Mon Oct 20 08:16:40 1997  Olaf Weber  <infovore@xs4all.nl>
1365         * texmfmp.c [WIN32]: Added support for WIN32WIN.  Added suppport
1366         for redirection of stderr to a logfile.  Added support for asm
1367         routines.  Prototyped mainbody.
1368         (setupboudvariable): Don't try to free expansion if it is NULL.
1369         From Fabrice Popineau.
1370         
1371         * main.c (main): Prototype mainbody.  From Fabrice Popineau.
1373 Sun Oct 19 10:57:43 1997  Olaf Weber  <infovore@xs4all.nl>
1375         * printversion.c (printversionandexit): Removed web2c maintainer's
1376         name from version info.
1378 Fri Oct 17 10:33:06 1997  Olaf Weber  <infovore@xs4all.nl>
1380         * texmfmp.c: Correct prototypes for all the varieties of
1381         ...initscreen and ...updatescreen.  No prototypes for
1382         ...blankrectangle and ...paintrow.
1384         * texmfmp.c (main) [MSDOS, WIN32]: Use case-insensitive comparison
1385         for filenames on MS-DOS/MS-Windows.
1386         (openoutnameok): When testing for `unix' make sure `MSDOS' is NOT
1387         defined since DJGPP defines both.
1388         (initscreen): Use "mftalk" for DJGPP as well.
1389         From Eli Zaretskii <eliz@is.elta.co.il>.
1391 Thu Oct 16 20:34:25 1997  Olaf Weber  <infovore@xs4all.nl>
1393         * texmfmp.c (parseoptions [TeX], main): Remove everything related
1394         to the -extend-jobname option.
1396 Fri Oct  3 11:46:15 1997  Olaf Weber  <infovore@xs4all.nl>
1398         * texmfmp.c: Add prototypes for the mf_trap_* functions.  After
1399         Fabrice Popineau.
1401 Thu Oct  2 18:07:24 1997  Olaf Weber  <infovore@xs4all.nl>
1403         * texmfmp.c (main): Added locale support.  From Bernd Raichle
1404         <raichle@informatik.uni-stuttgart.de>.
1406 Tue Sep 30 12:00:13 1997  Olaf Weber  <infovore@xs4all.nl>
1408         * version.c: use version string from c-auto.h.
1410         * texmfmp.c: Changed return type of main int.
1412 Fri Mar 21 16:38:48 1997  Karl Berry  <karl@cs.umb.edu>
1414         * texmfmp.c (struct msg): Do not try to declare the zero-length
1415                 array, just leave it out.
1416         Bug from: jumper@lens.sri.com (Greg Jumper)
1418 Wed Feb 12 08:18:07 1997  Fabrice POPINEAU  <popineau@ese-metz.fr>
1420         * texmfmp.c (catch_interrupt): Win32, differentiate between user
1421         interrupt and console closing. 
1423 Mon Feb  3 18:01:42 1997  Karl Berry  <karl@cs.umb.edu>
1425         * texmfmp.c (parse_options): Check for -1, not EOF,
1426         per new getopt.
1428 Mon Jan 27 22:44:29 1997  Ulrik vieth  <vieth@thphy.uni-duesseldorf.de>
1430         * texmfmp.c (BANNER) [MP]: Update to version 0.632.
1432 Sat Jan 18 13:04:34 1997  Karl Berry  <karl@cs.umb.edu>
1434         * texmfmp.c: Update len.
1435         From: Gregor Hoffleit <flight@mathi.uni-heidelberg.de>.
1437 Thu Jan 16 14:29:50 1997  Karl Berry  <karl@cs.umb.edu>
1439         * alloca.c: New version from /gd/gnu/lib.
1441         * texmfmp.c (funny_core_dump): Move to new file.
1442         * coredump.c: New file.
1443         * Makefile.in (objects): Add coredump.o.
1444         This makes it possible for BibTeX to find the function
1445         (not that it needs it).
1446         From: Richard Walker <Richard.Walker@cs.anu.edu.au>
1448 Sun Jan  5 16:11:12 1997  Karl Berry  <karl@cs.umb.edu>
1450         * printversion.c: It's 1997 now.
1452 Sun Dec 29 17:11:03 1996  Karl Berry  <karl@cs.umb.edu>
1454         * basechsuffix.c (basenamechangesuffix): Filename comparison may
1455                 be case-insensitive.  From Fabrice.
1457 Sat Dec 28 17:37:14 1996  Karl Berry  <karl@cs.umb.edu>
1459         * texmfmp.c (ipcpage): Pass the whole DVI filename to the other
1460         end of the connection, not just the relative name.  (It may have
1461         been already started up.)
1463 Sun Dec 15 16:50:25 1996  Karl Berry  <karl@cs.umb.edu>
1465         * texmfmp.c: #if 0-out all the TCX file stuff.
1466         Suggested by David Carlisle et al.
1468 Sun Dec  8 16:40:57 1996  Karl Berry  <karl@cs.umb.edu>
1470         * openclose.c (standardinput, standardoutput): Remove these;
1471         make them globals in bibtex.ch itself.
1473         * printversion.c, texmfmp.c, usage.c: WIN32 changes.
1474         From Fabrice.
1476 Sat Dec  7 11:10:39 1996  Karl Berry  <karl@cs.umb.edu>
1478         * texmfmp.c (topenin): Rewrite to avoid strcat, for Omega.
1479         From: John Plaice <plaice@iad.ift.ulaval.ca>.
1481 Fri Dec  6 17:44:45 1996  Karl Berry  <karl@cs.umb.edu>
1483         * texmfmp.c (main) [TeX && Omega]: Initialize MakeTeX{OCP,OFM}.
1484         * openclose.c (ocptemp): New global.
1485         (open_input): Read ahead in ofm and ocp files.
1487 Tue Dec  3 15:15:14 1996  Ulrik Vieth  <vieth@thphy.uni-duesseldorf.de>
1489         * Makefile.in: Remove spurious targets for wsun.c and wx11.c.
1491 Tue Dec  3 15:15:14 1996  Ulrik Vieth  <vieth@thphy.uni-duesseldorf.de>
1493         * texmfmp.c (long_options): mpost -T or -troff doesn't take an
1494         optional argument.
1496         * Makefile.in: Remove spurious targets for wsun.c and wx11.c.
1498 Wed Nov 27 10:02:21 1996  Karl Berry  <karl@cs.umb.edu>
1500         * texmfmp.c (NO_MF_ASM) [__sun__]: Define; our assembler code
1501         doesn't work with the Solaris/x86 assembler.
1502         * mfmpi386.asm: Doc fix.
1504 Sat Nov 23 14:42:53 1996  Karl Berry  <karl@cs.umb.edu>
1506         * texmfmp.c (openoutok): Allow .tex as a special case.
1508 Fri Nov 15 16:15:32 1996  Karl Berry  <karl@cs.umb.edu>
1510         * texmfmp.c (openoutnameok): Do not free the result of basename;
1511         it's never dynamically allocated anyway.
1513 Sun Nov 10 16:37:19 1996  Karl Berry  <karl@cs.umb.edu>
1515         * texmfmp.c: Check for inimpost and virmpost instead of 
1516         inimp and virmp.
1518 Mon Oct 14 17:27:34 1996  Karl Berry  <karl@cs.umb.edu>
1520         * texmfmp.c (DUMP_EXT) [DOS]: Only truncate to .bas if DOS,
1521         not DOSISH; WinNT/Win95 support long filenames (at long last).
1522         (initscreen) [WIN32]: Use mftalk a la OS2.
1523         (get_date_and_time): Include parameter in old_handler decl.
1525 Mon Oct  7 12:49:38 1996  Karl Berry  <karl@cs.umb.edu>
1527         * Makefile.in (objects): Include printversion.o.
1528         * printversion.c: New file.
1530         * texmfmp.c: Oops, iniversion doesn't it, it's global.
1531         (parse_options): Call printversionandexit.
1533 Sun Oct  6 10:17:00 1996  Karl Berry  <karl@cs.umb.edu>
1535         * texmfmp.c (main): Initialize iniversion and virversion.
1537 Sat Sep  7 16:14:41 1996  Karl Berry  <karl@cs.umb.edu>
1539         * usage.c: Include the bug reporting address.
1541 Sun Aug  4 15:48:03 1996  Karl Berry  <karl@cs.umb.edu>
1543         * texmfmp.c (parse_options): Print the Kpathsea version string, too.
1544         * version.c: Do `Web2c VERSION' instead of `C version VERSION'.
1546 Fri Jul 26 15:47:29 1996  Karl Berry  <karl@cs.umb.edu>
1548         * Makefile.in: Remove co.make.
1550 Sat Jun  1 13:17:09 1996  Karl Berry  <karl@cs.umb.edu>
1552         * texmfmp.c (openoutnameok): Change #ifdef to TeX || MP.
1554 Fri May 24 11:38:59 1996  Karl Berry  <karl@cs.umb.edu>
1556         * texmfmp.c (main): Initialize extend_jobname.
1557         (parse_options) [TeX]: New option -extend-jobname.
1559 Sun Apr 28 15:13:22 1996  Karl Berry  <karl@cs.umb.edu>
1561         * mfmpi386.asm [ASM_NEEDS_UNDERSCORE]: #ifdef labels on new
1562         configure condition.
1563         From: Peter Breitenlohner <peb@MPPMU.MPG.DE>.
1565 Tue Apr 23 08:26:11 1996  Karl Berry  <karl@cs.umb.edu>
1567         * texmfmp.c (callmakempx): Always pass -troff, even if we got the
1568         command name from texmf.cnf.
1570 Sun Apr 21 16:59:44 1996  Karl Berry  <karl@cs.umb.edu>
1572         * texmfmp.c (parse_options): New options -maketex and -no-maketex
1573         for TeX and MF.
1575 Sat Apr 20 17:55:37 1996  Karl Berry  <karl@cs.umb.edu>
1577         * texmfmp.c [IPC_DEBUG]: Text changes.
1579 Fri Mar 22 15:30:45 1996  Karl Berry  <karl@cs.umb.edu>
1581         * Remove GPL from these files; Web2c proper can stay p.d.
1583 Sun Mar 10 16:12:14 1996  Karl Berry  <karl@cs.umb.edu>
1585         * openclose.c: Oops, forgot to #include variable.h.
1587 Fri Mar  8 16:00:20 1996  Karl Berry  <karl@cs.umb.edu>
1589         * texmfmp.c (init_maketex): Remove this; we will do it in Kpathsea
1590         instead now, in the format initialization tex-file.c.
1592         * openclose.c (open_output): Look for TEXMFOUTPUT in texmf.cnf.
1594 Wed Feb 21 11:45:02 1996  Karl Berry  <karl@cs.umb.edu>
1596         * openclose.c: Don't abort if the TFM file is empty.
1598 Sat Feb 17 15:22:52 1996  Karl Berry  <karl@cs.umb.edu>
1600         * texmfmp.c (openoutnameok): New function.
1602 Fri Feb 16 17:51:53 1996  Karl Berry  <karl@cs.umb.edu>
1604         * texmfmp.c (long_options) [NONASCII]: Include --translate
1605         conditionally.  (Really should change the help message, too.)
1607 Sat Feb 10 15:22:59 1996  Karl Berry  <karl@cs.umb.edu>
1609         * texmfmp.c (parse_options): Make DUMP_OPTION also set the user
1610         progname, since -progname sets the dump name.
1612 Fri Dec 29 17:16:42 1995  Karl Berry  <karl@cs.umb.edu>
1614         * Makefile.in: misc.make is now clean.make.
1616 Sun Dec 17 15:09:44 1995  Karl Berry  <karl@cs.umb.edu>
1618         * texmfmp.c (long_options): New option --debug-format, suggested
1619         by David Carlisle.
1621 Sun Dec 10 16:13:46 1995  Karl Berry  <karl@cs.umb.edu>
1623         * mfmpi386.asm: Remove _'s. From Wayne.
1625         * texmfmp.c (PROGRAM_VERSION) [MP]: Now at 0.631.
1626         [TeX] No asm stuff. From Gregor Hoffleit, et al.
1628 Sun Nov 26 13:39:00 1995  Karl Berry  <karl@cs.umb.edu>
1630         * texmfmp.c (main): Enable mltex extensions if --mltex option or
1631         the program name is mltex.
1633 Fri Nov 17 14:35:45 1995  Karl Berry  <karl@cs.umb.edu>
1635         * texmfmp.c (-program): New option for TeX, MF, MP. Suggested by Bernd.
1637 Thu Nov 16 16:20:03 1995  Karl Berry  <karl@cs.umb.edu>
1639         * texmfmp.c (argv, argc): Do not define as static, as we declare
1640         them extern in cpascal.h. From Andreas Scherer.
1642 Sun Nov 12 16:32:27 1995  Karl Berry  <karl@cs.umb.edu>
1644         * Makefile.in (sysopt_o): Remove this stuff. From Wayne.
1645         * texmfmp.c [i386 && GNUC && !NO_MF_ASM]: #include mfmpi386.asm
1646         instead of using the C code.
1648         * texmfmp.c: Disable shell escapes by default.
1650 Fri Oct  6 16:23:03 1995  Karl Berry  <karl@cs.umb.edu>
1652         * texmfmp.c (maybe_set_dump_default_from_input): Make %&ini set
1653         iniversion. Suggested by Wayne.
1655 Mon Oct  2 15:48:21 1995  Karl Berry  <karl@cs.umb.edu>
1657         * texmfmp.c (init_maketex): Really disable if the value is zero.
1659 Sat Sep 30 16:02:56 1995  Karl Berry  <karl@cs.umb.edu>
1661         * texmfmp.c (main) [TeX]: Look up the `noshell' config variable.
1662         (parse_options): No options -noshell and -output-comment.
1664 Sat Sep 23 15:04:54 1995  Karl Berry  <karl@cs.umb.edu>
1666         * Makefile.in (objects): Remove strtol.o, this is in kpathsea now.
1668 Fri Sep 22 15:51:13 1995  Karl Berry  <karl@cs.umb.edu>
1670         * texmfmp.c (init_maketex): New routine.
1671         (main): Call it, instead of repeating the weird code.
1673 Mon Sep  4 17:16:06 1995  Karl Berry  <karl@cs.umb.edu>
1675         * Makefile.in (objects): Remove xopenfile.o.
1676         * xopenfile.c: Move to kpathsea.
1678 Thu Aug 31 13:35:47 1995  Karl Berry  <karl@cs.umb.edu>
1680         * texmfmp.c [!MF_ASM_FRACTION] (takefraction, ...): Conditionalize
1681         the floating-point definitions on this, too.
1682         * Makefile.in (optx86.o): New target.
1683         * optx86.s: New file.
1685 Tue Aug 22 14:11:27 1995  Karl Berry  <karl@cs.umb.edu>
1687         * Makefile.in: Include rdepend.make, instead of repeating the code.
1689 Mon Jul 31 17:46:31 1995  Karl Berry  <karl@cs.umb.edu>
1691         * texmfmp.c (setupboundvariable): Call kpse_var_value, so we don't
1692         have to pass in the $. Similarly everywhere else.
1694 Sat Jul 29 19:26:33 1995  Karl Berry  <karl@cs.umb.edu>
1696         * texmfmp.c (callmakempx): Rewrite to pass -troff flag, instead of
1697         invoking troff script. And use new kpse_var_value.
1699 Fri Jul 28 11:10:26 1995  Karl Berry  <karl@cs.umb.edu>
1701         * Makefile.in (depend): Comment out this target in the
1702         distribution, it doesn't work when $srcdir != build-dir.
1704         * texmfmp.c (callmakempx): Don't call anything if the command is
1705         `none'.
1707 Tue Jul 25 13:39:04 1995  Karl Berry  <karl@cs.umb.edu>
1709         * texmfmp.c (callmakempx): Free the variable expansion.
1711 Mon Jul 24 11:48:35 1995  Karl Berry  <karl@cs.umb.edu>
1713         * texmfmp.c (callmakempx): New fn.
1715 Sun Jul 23 11:39:51 1995  Karl Berry  <karl@cs.umb.edu>
1717         * texmfmp.c (edit_value): Remove this #define.
1718         (calledit): Call kpse_var_expand for TEXEDIT et al., instead of
1719         just getenv.
1720         (ztakefraction, zmakefraction, ztakescaled, zmakescaled): Include
1721         Hobby's C code from mpmath.c.
1723 Sat Jul 22 14:20:38 1995  Karl Berry  <karl@cs.umb.edu>
1725         * openclose.c (open_input) [FUNNY_CORE_DUMP]: Recognize
1726         HackyInput... for MetaPost. Doc fixes.
1728         * texmf.c: Rename to texmfmp.c for MetaPost support.
1729         (long_options) [MP]: Add -T and -troff.
1731 Thu Jul 20 13:40:39 1995  Karl Berry  <karl@cs.umb.edu>
1733         * texmf.c (setupboundvariable) [TeX]: Remove conditional, since MF
1734         sets a couple simple variables dynamically now.
1735         (initscreen): Get MFTERM from texmf.cnf file if it's there,
1736         instead of just calling getenv.
1738 Tue Jul 18 13:40:25 1995  Karl Berry  <karl@cs.umb.edu>
1740         * texmf.c (initscreen): Give warning if they're using X, but there
1741         is no X support.
1743 Mon Jul 17 13:10:37 1995  Karl Berry  <karl@cs.umb.edu>
1745         * texmf.c (NO_FMTBASE_SHARE): Rename to NO_DUMP_SHARE.
1746         [MF]: Declare return types for window routines.
1747         Also, move trap support to another file, window/trap.c.
1749 Sun Jul 16 14:35:33 1995  Karl Berry  <karl@cs.umb.edu>
1751         * texmf.c (main): Rewrite enabling of MakeTeX* to match new
1752         configure stuff.
1754 Sat Jul 15 16:05:37 1995  Karl Berry  <karl@cs.umb.edu>
1756         * texmf.c: Doc fix.
1758 Fri Jul 14 14:31:57 1995  Karl Berry  <karl@cs.umb.edu>
1760         * texmf.c (read_char_translation_file): Compute `charssavedbycharset'.
1761         (setupcharset): Do not allow dynamic translation in initex.
1763 Thu Jul 13 14:05:24 1995  Karl Berry  <karl@cs.umb.edu>
1765         * texmf.c (setupcharset, read_char_translation_file,
1766         tcx_get_num): New functions to implement dynamic char translations.
1767         (parse_options): Add -translate-file option.
1769 Sun Jul  9 15:28:09 1995  Karl Berry  <karl@cs.umb.edu>
1771         * texmf.c (maybe_set_dump_default_from_input): Don't index
1772         argv[optind] if optind is >= argc.
1774 Tue Jul  4 16:58:54 1995  Karl Berry  <karl@cs.umb.edu>
1776         * texmf.c (maybe_set_dump_default_from_input): Finish implementing
1777         this (%&FNAME on first line => use FNAME for dump file).
1779 Thu Jun 29 17:50:38 1995  Karl Berry  <karl@cs.umb.edu>
1781         * texmf.c (parse_options) [TeX && IPC]: Concatenate TEX_IPC_HELP
1782         to the help string.
1784         * openclose.c (open_input): Detect nonexistent files correctly again.
1786 Wed Jun 21 15:54:45 1995  Karl Berry  <karl@cs.umb.edu>
1788         * texmf.c (parse_options): Add --fmt (TeX) and --base (MF).
1789         (DUMP_OPTION): #ifdef'd #define to determine which.
1791 Mon Jun 19 20:09:34 1995  Karl Berry  <karl@cs.umb.edu>
1793         * texmf.c: Add IPC support.
1794         From: Shamim Mohamed <shamim@howland.isu.edu>
1795         From: Tomas G. Rokicki <rokicki@CS.Stanford.EDU>
1797 Sat Jun 10 16:06:06 1995  Karl Berry  <karl@cs.umb.edu>
1799         * openclose.c: Doc fix.
1801 Fri Jun  9 19:36:12 1995  Karl Berry  <karl@cs.umb.edu>
1803         * main.c, texmf.c (main) [__EMX__]: Add _wildcard and _response calls.
1804         * texmf.c: Add mftalk support.
1805         (funny_core_dump, catch_interrupt) [__EMX__]: OS2 support.
1806         From: rs@purple.in-ulm.de (Ralph Schleicher).
1808 Sun Jun  4 10:30:36 1995  Karl Berry  <karl@cs.umb.edu>
1810         * eofeoln.c (eof): Return true if the file doesn't exist.
1812         * texmf.c: Add support for AMIGAWIN.  From Andreas Scherer.
1814         * alloca.c (NULL, xmalloc): Do not define these here, they're
1815         (indirectly) in config.h. From Andreas Scherer.
1817         * texmf.c (setupboundvariable): Don't complain about 0 in the cnf
1818         file if the default is also 0.
1820 Sat Jun  3 11:54:28 1995  Karl Berry  <karl@cs.umb.edu>
1822         * xopenfile.c: Include the program name in the error message.
1824         * texmf.c (setupboundvariable): If the variable is unset in
1825         texmf.cnf, the expansion is the empty string, not NULL. Also, free
1826         the expansion.
1828 Fri Jun  2 13:41:41 1995  Karl Berry  <karl@cs.umb.edu>
1830         * texmf.c (DUMP_EXT) [DOSISH]: Must be `.bas'.  From Wayne.
1831         (input_line): Cast buf_size in printf to avoid warning.
1832         (setupboundvariable): New routine for lookup of dynamic bounds.
1834 Sun May 28 17:41:49 1995  Karl Berry  <karl@cs.umb.edu>
1836         * zround.c: Compare against TeX's boundary integers (as floating
1837         point constants), instead of INTEGER_{MIN,MAX}.
1839 Fri May 26 17:47:47 1995  Karl Berry  <karl@cs.umb.edu>
1841         * strtol.c: New file, from textutils.
1842         * Makefile.in (objects): Add strtol.o.
1844 Wed May 24 17:07:39 1995  Karl Berry  <karl@cs.umb.edu>
1846         * texmf.c (parse_options): New routine for TeX & MF.
1847         (PROGRAM_VERSION, PROGRAM_HELP): Define these.
1848         (main): Call it.
1850 Sat May 20 17:28:51 1995  Karl Berry  <karl@cs.umb.edu>
1852         * xopenfile.c: Do perror if we had a full filename to try.
1854         * basechsuffix.c: Take old suffix, and only do the change if the
1855         old suffix matches.
1857         * usage.c (usage): If bad status, construct the --help message.
1859 Tue May  9 15:46:25 1995  Karl Berry  <karl@cs.umb.edu>
1861         * usage.c: Doc fix.
1863 Sat May  6 11:23:23 1995  Karl Berry  <karl@cs.umb.edu>
1865         * usage.c: New file.
1866         * Makefile.in (objects): Add it.
1868 Tue Apr 25 14:02:10 1995  Karl Berry  <karl@cs.umb.edu>
1870         * Makefile.in (library): Set to lib instead of lib.a, to match the
1871         other Makefile conventions.
1873 Sun Apr 23 10:54:35 1995  Karl Berry  <karl@cs.umb.edu>
1875         * texmf.c: Have to include {tex,mf}d.h before #ifdef TeX, so do it
1876         from the Makefile.
1878 Sat Apr 22 10:26:10 1995  Karl Berry  <karl@cs.umb.edu>
1880         * main.c (main): Call mainbody, not main_body.
1882         * openclose.c (aclose): Don't complain if the file is already closed.
1883         (texinputtype): Define this.
1885         * texmf.c (main): Do program_name stuff unconditionally, not just
1886         in vir*, and rewrite it to use program_invocation_short_name.
1888 Fri Apr 21 11:39:14 1995  Karl Berry  <karl@cs.umb.edu>
1890         * main.c: Doc fix.
1892         * input2int.c: Split off from inputint.c.
1894 Sun Apr 16 11:47:37 1995  Karl Berry  <karl@cs.umb.edu>
1896         * openclose.c (open_input, open_output): Retrieve and store the
1897         filename from name_of_file + 1, not name_of_file, to avoid extra
1898         hassles in the change files.
1900 Fri Apr 14 15:28:47 1995  Karl Berry  <karl@cs.umb.edu>
1902         * Makefile.in (objects): Include openclose.o.
1903         * openclose.c: New file, from openinout.c.
1905 Tue Feb 21 13:51:58 1995  Karl Berry  <karl@cs.umb.edu>
1907         * xopenfile.c: Have to take another arg, the original name.
1909 Mon Feb 20 17:18:59 1995  Karl Berry  <karl@cs.umb.edu>
1911         * xopenfile.c: New file.
1912         * Makefile.in (objects): Add it, and remove xfopen-pas.o.
1914 Sun Feb  5 15:33:29 1995  Karl Berry  <karl@cs.umb.edu>
1916         * basechsuffix.c: New file.
1917         * Makefile.in (objects): Add it.
1919 Tue Jan 10 13:20:47 1995  Karl Berry  <karl@cs.umb.edu>
1921         * Makefile.in (objects): Remove strpascal.o (no longer needed) and
1922         getopt.o (in kpathsea).
1924 Sun Dec 18 16:38:03 1994  Karl Berry  <karl@cs.umb.edu>
1926         * strpascal.c (errprintpascalstring, etc.): Don't need these any more?
1928 Sat Dec 17 13:42:03 1994  Karl Berry  <karl@cs.umb.edu>
1930         * mksuffixchar.c: This was short-lived.
1931         * chartostring.c: This replaces it.
1932         * Makefile.in (objects): Ditto. Also remove ourpaths.o.
1934 Mon Nov 14 15:13:50 1994  Karl Berry  <karl@cs.umb.edu>
1936         * mksuffixchar.c: New file.
1937         * Makefile.in (objects): Add it.
1939 Sun Nov 13 16:43:40 1994  Karl Berry  <karl@cs.umb.edu>
1941         * Makefile.in (objects): Add w*.o.
1942         (wsun.c, wx11.c): Add links for these.
1944 Fri Oct 28 11:14:08 1994  Karl Berry  <karl@cs.umb.edu>
1946         * strpascal.c (extendfilename): Remove this.
1948 Thu Oct 27 17:59:07 1994  Karl Berry  <karl@cs.umb.edu>
1950         * main.c (argv): Return a regular C string, instead of a Pascal string.
1952 Fri May 27 09:50:14 1994  Karl Berry  (karl@cs.umb.edu)
1954         * texmf.c (main): Don't look for USE_MAKETEX*.
1956         * c-auto.h.top, texmf.c (NO_FMTBASE_SHARE): Rename from
1957         NO_FMTBASE_SWAP.
1959 Thu May 26 20:37:24 1994  Karl Berry  (karl@cs.umb.edu)
1961         * c-auto.h.top: Why did I take out the #ifndef's? Put them back.
1963 Tue May 24 14:43:12 1994  Karl Berry  (karl@cs.umb.edu)
1965         * texmf.c (funny_core_dump): No need to declare, since we define
1966         it later in this file.
1968 Mon Apr 18 17:31:59 1994  Karl Berry  (karl@ra.cs.umb.edu)
1970         * c-auto.h.top: Rename from c-auto.h.in for autoheader convention,
1971         and don't #ifndef the #undef's.
1972         * Makefile.in: autoheader/autoconf changes.
1974 Thu Feb 24 11:00:53 1994  Karl Berry  (karl@cs.umb.edu)
1976         * ourpaths.c: Include tex-file.h instead of init-path.h.
1978 Mon Feb 21 14:29:52 1994  Karl Berry  (karl@cs.umb.edu)
1980         * Makefile.in: srcdir changes from simon.
1982         * gftodmem.h: Move here from fontutil, to simplify srcdir stuff.
1984 Wed Feb  2 11:00:47 1994  Karl Berry  (karl@cs.umb.edu)
1986         * Version 6.1.
1988 Tue Feb  1 11:25:44 1994  Karl Berry  (karl@cs.umb.edu)
1990         * Makefile.in (c-auto.h.in): New target.
1992         * common.defines (rh): Declare as a field, for TeX--Xet.
1994 Mon Jan 24 07:33:49 1994  Karl Berry  (karl@cs.umb.edu)
1996         * Version 6.0.
1998 Thu Jan 20 14:22:07 1994  Karl Berry  (karl@cs.umb.edu)
2000         * c-auto.h.in: Doc fix.
2002         * MakeTeX{TFM,MF}: Include these as samples, from
2003         pnoma@wk.estec.esa.nl.
2005 Fri Dec 24 13:48:46 1993  Karl Berry  (karl@cs.umb.edu)
2007         * getopt.c (_NO_PROTO): Define before including config.h.
2009 Tue Dec  7 10:23:59 1993  Karl Berry  (karl@cs.umb.edu)
2011         * Makefile.in (objs): Ah, flexfatal is in the library now.
2013 Sun Dec  5 15:23:47 1993  Karl Berry  (karl@cs.umb.edu)
2015         * ourpaths.c (setpaths): Remove the KPSE_MAKE_* enables, this file
2016         is not compiled in the tex/mf/bibtex directories.
2017         * texmf.c (main): Set them here.
2019         * c-auto.h.in (XVIEWWIN): Remove this, as x11-Xt should work
2020         with OpenWindows. (But leave it in configure, just for old-times'
2021         sake.)
2023 Sat Dec  4 11:29:57 1993  Karl Berry  (karl@cs.umb.edu)
2025         * flexfatal.c: New file.
2026         * Makefile.in (flexfatal.o): New target.
2027         (objs): Include it.
2029         * texmf.h (NO_DEBUG) [!TEXMF_DEBUG]: Define this.
2031         * openinout.c (make_tex_file): Pass address of nameoffile, as required.
2033 Sun Nov 14 02:30:34 1993  Karl Berry  (karl@cs.umb.edu)
2035         * version.c (VERSION_STRING) [!VERSION_STRING]: Define and protect.
2037 Fri Nov 12 19:38:26 1993  Karl Berry  (karl@cs.umb.edu)
2039         * cpascal.h (reset, rewrite): Use FOPEN_[RW]BIN_MODE instead of
2040         "r" and "w". Still not 100% right, but at least something of an
2041         improvement.
2043 Sun Nov  7 14:17:24 1993  Karl Berry  (karl@cs.umb.edu)
2045         * Makefile.in (.c.o): Use $< instead of $*.c; maybe it will help
2046         with $(srcdir) stuff?
2048         * texmf.c (input_line): Trim trailing spaces, tabs, and \r's.
2050         * lib.h: Remove, this is in Kpathsea now.
2052         * config.h (INTEGER_TYPE) [LONG_64_BITS && !NO_FMTBASE_SWAP]:
2053         Define as int in this case.
2054         (INTEGER_MAX,INTEGER_MIN): Define these as well.
2055         * zround.c (zround): Use INTEGER_{MAX,MIN}.
2056         From raichle@informatik.uni-stuttgart.de.
2058 Sat Nov  6 13:21:11 1993  Karl Berry  (karl@cs.umb.edu)
2060         * c-auto.h.in (NEXTWIN, REGISWIN): #undef by default.
2061         * texmf.c (mfwin_sw): Add cases for regis and next.
2062         (mf_{next,regis}_*) [NEXT,REGISWIN]: Declare.
2064 Tue Oct 12 14:03:23 1993  Karl Berry  (karl@cs.umb.edu)
2066         * openinout.c (open_input): Allow HackyCoreDump's for MF, too.
2068         * ourpaths.c (testreadaccess): Update fontmap stuff, use it for GF
2069         and PK as well as TFM.
2071         * texmf.c: Doc fix.
2073         * common.defines (cinttype): Declare.
2074         * cpascal.h (cinttype): Define.
2076 Sun Oct 10 16:17:48 1993  Karl Berry  (karl@cs.umb.edu)
2078         * ourpaths.c: Rewrite for new kpathsea facilities.
2080 Sun Oct  3 13:49:40 1993  Karl Berry  (karl@cs.umb.edu)
2082         * ourpaths.c: kpathsea/pathsrch.h has been renamed to pathsearch.h.
2084         * config.h [ibm032]: Remove all this stuff; I don't think it's
2085         needed any longer.
2087         * Makefile.in (*clean): Include standard targets.
2089 Mon Jun  7 08:29:45 1993  Karl Berry  (karl@cs.umb.edu)
2091         * cpascal.h (addressofint): Do not cast to int first.
2093 Mon May 31 09:40:00 1993  Karl Berry  (karl@cs.umb.edu)
2095         * config.h (EXIT_SUCCESS): Move to c-std.h.
2097 Tue May 25 14:37:16 1993  Karl Berry  (karl@cs.umb.edu)
2099         * config.h (EXIT_SUCCESS): Rename from EXIT_SUCCESS_CODE.
2100         Change callers in various files.
2102 Fri May 21 11:56:02 1993  Karl Berry  (karl@cs.umb.edu)
2104         * texmf.c (paintrow): Put args in the printf for paintrow.
2106         * texmf.c (custom_default) [INI]: Declare conditionally, since
2107         it's used conditionally.
2108         (main): Declare as void.
2110         * openinout.c (open_input): Rename IS_PATH_SEP to IS_DIR_SEP.
2112         * alloca.c: Replace with version from gcc 2.4.0.
2114         * config.h (testreadaccess): Declare.
2116         * xfopen-pas.c: Remove unused variable `cp'.
2118         * main.c (main): Return 0 instead of using uexit.
2120 Tue May 18 13:43:07 1993  Karl Berry  (karl@cs.umb.edu)
2122         * texmf.c (do_undump) [VMS]: Remove this.  barabash says it works ok.
2124 Thu May 13 16:53:47 1993  Karl Berry  (karl@cs.umb.edu)
2126         * getopt.c (my_index): Return const char *, and change callers.
2128         * Not quite all of Bill's changes below have been merged (not the
2129         new descrip.mms or convert.com files, in particular), but just to
2130         get the gist, I'll include the whole log.
2132 Wed Mar 24 12:28:25 1993  Bill Barabash  (barabash@ops5.lmo.dec.com)
2134         * c-auto.h : It's too complicated to convert the big hairy config
2135         shell script;  I just created a VMS-acceptable c-auto.h manually.
2137         * c-std.h : Declare VMS's unix-compatibillity routines by including
2138         <unixlib.h> and <unixio.h>;  don't declare popen() on VMS.
2140         * common.h : Declare EXIT_SUCCESS_CODE to be 1 on VMS, 0 elsewhere.
2141         Throw away the VMS system library's getname() declaration, it steps
2142         on a WEB procedure and is not needed.  Declare routines eof(),
2143         testreadaccess(), zinput2ints(), extendfilename(), and uexit().
2145         * convert.com : VMS command procedure based on the shell script
2146         "convert" (new file).
2148         * descrip.mms : VMS equivalent of makefile (new file).
2150         * dirio.h : Don't declare xopendir and xclosedir on VMS.
2152         * getopt.h : Make my_index accept and return a const character
2153         pointer.  Have it return NULL instead of 0 when necessary.
2155         * main.c : Add function prototype for main_body().
2157         * openinout.c, pascal.h, c-auto.h : For BibTeX, use stdin and stdout
2158         on VMS (standardinput and standardoutput become macros).
2160         * pascal.h : On VMS use system-defined abs() and fabs().
2162         * paths.h : Hand-coded for VMS.
2164         * pathsrch.c : On VMS, don't compile routine expand_subdir(), and
2165         look in current directory for input file if path searching fails.
2166         Routine absolute_p() can now deal with VMS directory specifications.
2168         * texmf.c : Declare argc so that it links cleanly.  Add an unused
2169         formal parameter to catch_interrupt so that it can be passed to
2170         signal without the compiler complaining.  Cast argument to time()
2171         as a (time_t *) rather than as a (long *).  Get rid of the VMS
2172         undump code contributed by joe%ril3.decnet@hydra.tamri.com -- it
2173         causes the TRAP test to fail.
2175         * texmf.h : Add function prototypes for routines in texmf.c and
2176         openinout.c.
2178 Thu May 13 14:43:42 1993  Karl Berry  (karl@cs.umb.edu)
2180         * cpascal.h (fabs) [fabs]: Undefine if it's already defined.
2182 Sun May  9 09:53:05 1993  Karl Berry  (karl@cs.umb.edu)
2184         * convert: Redirect error echo to stderr; exit 0 if no error.
2186         * config.h: Changes for kpathsea.  Toss volatile defn.
2188         * Makefile.in (objs): Remove kpathsea files.
2190 Fri Apr 30 15:06:29 1993  Karl Berry  (karl@cs.umb.edu)
2192         * openinout.c (make_tex_file): Free cmd.
2194 Fri Apr 16 19:42:15 1993  Karl Berry  (karl@cs.umb.edu)
2196         * find-suffix.c: Declare arg and return string const.
2197         * lib.h (find_suffix): Change decl.
2199         * c-pathch.h (IS_PATH_SEP) [DOS & otherwise]: New defn.
2200         * pathsrch.c, openinout.c, find-suffix.c: Consequent changes.
2202 Mon Apr 12 06:14:42 1993  Karl Berry  (karl@cs.umb.edu)
2204         * Makefile.in (clean): Remove core here.
2206 Sat Apr 10 15:20:25 1993  Karl Berry  (karl@cs.umb.edu)
2208         * openinout.c (make_tex_file): Throw away all output.
2210         * texmf.c (swap_items): Add case for 16-byte items.  
2211         (From james@miller.cs.uwm.edu.)
2213         * texmf.c (get_date_and_time): Cast arg to time_t *, not long *.
2214         (From james@miller.cs.uwm.edu.)
2216         * texmf.c (get_date_and_time) [SA_INTERRUPT]: Add code for SunOS
2217         4.1, from ken@cs.toronto.edu.
2219         * pathsrch.c (expand_subdir) [UNIX_ST_NLINK]: Don't check st_link
2220         if we don't have Unix semantics.
2221         * c-auto.h.in (UNIX_ST_NLINK): Define if not DOS or VMS or VMCMS.
2222         (Suggested by buers@dg1.chemie.uni-konstanz.de.)
2224         * texmf.c (catch_interrupt): Declare a(n unused) parameter `arg'
2225         (from beebe).
2226         (get_date_and_time): Don't do assignment in if condition.
2228 Fri Apr  9 16:10:06 1993  Karl Berry  (karl@cs.umb.edu)
2230         * xrealloc.c (xrealloc): Don't print old_ptr.
2232         * c-std.h (stddef.h): Don't include.
2234         * openinout.c (make_tex_file): cmd is a string, not a character.
2236 Mon Mar 29 08:33:51 1993  Karl Berry  (karl@cs.umb.edu)
2238         * cpascal.h (abs) [abs]: Undef.
2240 Sat Mar 13 10:22:54 1993  Karl Berry  (karl@cs.umb.edu)
2242         * Makefile.in (CPPFLAGS): Add @DEFS@, for -DHAVE_CONFIG_H.
2244         * texmf.h: Include cpascal.h instead of config.h.
2246         * common.h: Merge into config.h and remove.
2248         * common.h (pascal.h): Don't include this.
2249         * cpascal.h: Rename from pascal.h.
2251         * convert: Exit with bad status if the pipeline failed; use
2252         cpascal.h instead of config.h.
2254         * openinout.c (make_tex_file): Call xmalloc instead of declaring
2255         an array; put quotes around the arg of sh -c.
2257 Sun Feb 28 11:10:48 1993  Karl Berry  (karl@cs.umb.edu)
2259         * c-auto.h.in (MAKE_TEX_*): Replace single NO_MAKETEX with
2260         individual symbols.
2262         * openinout.c (maketex*) [MAKE_TEX*]: Make them individually
2263         selectable. 
2265 Sun Feb 21 08:28:06 1993  Karl Berry  (karl@cs.umb.edu)
2267         * Version 5.851d.
2269         * common.defines (maketexmf): New defn.
2271         * Makefile.in (.c.o): Put $(CFLAGS) after $(CPPFLAGS).
2273         * openinout.c: Include c-namemx.h.
2275 Tue Feb 16 17:53:54 1993  Karl Berry  (karl@cs.umb.edu)
2277         * Makefile.in (install-exec, install-data): New targets.
2279 Mon Feb 15 10:19:02 1993  Karl Berry  (karl@cs.umb.edu)
2281         * c-auto.h.in (NO_MAKETEX): New #define for installers.
2283         * openinout.c (maketex*): New routines, rewrite from yesterday.
2285         * common.defines (maketextex): Define.
2287 Sun Feb 14 11:54:30 1993  Karl Berry  (karl@cs.umb.edu)
2289         * openinout.c (open_input) [BibTeX]: Only do NO_FILE_PATH stuff if
2290         we are BibTeX; declare tfmtemp only when we need it, instead of at
2291         the outer level; add support for MakeTeX{TeX,MF,TFM}.
2293 Fri Feb 12 07:33:49 1993  Karl Berry  (karl@cs.umb.edu)
2295         * c-auto.h.in (const): Add defn for Autoconf to use.
2297         * paths.h.in (TEXFORMATS): Only define once.
2299 Sat Jan 30 09:46:04 1993  Karl Berry  (karl@cs.umb.edu)
2301         * fontmap.c (map_lookup): Only extend the filename if we have one.
2303 Tue Jan 26 16:07:21 1993  Karl Berry  (karl@cs.umb.edu)
2305         * version.c: New file to define web2c version.
2306         * common.h (versionstring): Declare it here.
2307         * common.defines (versionstring): And here.
2308         * Makefile.in (objs): Add it.
2310         * c-auto.h.in (X11WIN) [XVIEWWIN]: Undefine.
2312 Mon Jan 25 12:04:28 1993  Karl Berry  (karl@cs.umb.edu)
2314         * ourpaths.c (testreadaccess.c): Don't free `found' after copying,
2315         as it might not be malloc-ed.
2317 Sun Jan 24 11:04:37 1993  Karl Berry  (karl@cs.umb.edu)
2319         * lib.h (FATAL*, WARNING*): Use `str' instead of `s' for macro formals.
2321         * xcalloc.c: Remove prototypes.
2322         * remove-suffx.c, line.c, fontmap.c: Cast *alloc calls to avoid
2323           silly warnings.
2325         * texmf.c (swap_items): Rewrite as four while loops, since `size'
2326         is invariant.  (From Tom.)
2328 Sat Jan 23 10:13:51 1993  Karl Berry  (karl@cs.umb.edu)
2330         * remove-suffx.c: New file.
2332 Thu Jan 21 11:21:14 1993  Karl Berry  (karl@cs.umb.edu)
2334         * Makefile.in (objs5): New variable.
2335         ($(lib)): Include it in the archive.
2337         * extend-fname.c, find-suffix.c, xfopen.c, fontmap.[ch]: New files.
2339         * ourpaths.c, fontmap.[ch]: Implement a mapping file.
2341 Sat Jan 16 08:36:36 1993  Karl Berry  (karl@cs.umb.edu)
2343         * c-auto.h.in, paths.h.in: Doc fix.
2345 Sun Jan  3 13:27:37 1993  Karl Berry  (karl@cs.umb.edu)
2347         * config.h: Move some includes to c-std.h.
2349         * xcalloc.c: New file.
2350         * Makefile.in (objs): Add it.
2352         * Makefile.in (distclean): Remove Makefile; depend on clean.
2354 Fri Jan  1 14:17:37 1993  Karl Berry  (karl@cs.umb.edu)
2356         * c-auto.h.in, c-memstr.h, dirio.h: Changes for new Autoconf.
2358         * texmf.c (RETSIGTYPE): Don't default to void.
2360 Fri Dec 18 13:16:47 1992  Karl Berry  (karl@cs.umb.edu)
2362         * strpascal.c (makesuffixpas): Rename to `extendfilename'.
2363         * common.defines (extendfilename): Declare.
2365 Wed Dec 16 18:12:51 1992  Karl Berry  (karl@cs.umb.edu)
2367         * common.defines (atoi): Declare.
2369 Mon Dec 14 07:25:03 1992  Karl Berry  (karl@cs.umb.edu)
2371         * ourpaths.c: Include paths.h.
2373 Sun Dec 13 17:06:15 1992  Karl Berry  (karl@cs.umb.edu)
2375         * c-auto.h.in: Merge stuff from site.h.
2376         * site.h: Delete.
2377         * config.h: Don't include site.h.
2379 Sat Dec 12 13:08:52 1992  Karl Berry  (karl@cs.umb.edu)
2381         * Makefile.in: Rewrite from Makefile.
2383         * openinout.c (open_{in,out}put): Take an extra arg for the fopen mode.
2384         * texmf.h ([bw]open{in,out}): Use appropriate fopen modes.
2385         * pascal.h (aopen{in,out}): Likewise.
2387 Fri Dec 11 15:19:25 1992  Karl Berry  (karl@cs.umb.edu)
2389         * texmf.c: Change ctype references to use uppercase macros.
2391 Sat Dec  5 15:21:24 1992  Karl Berry  (karl@cs.umb.edu)
2393         * texmf.h (writedvi, writegf): Check the return status of the write.
2395         * config.h (UNSIGNED_SHORT_STRING): Toss; I think everyone
2396         understands `unsigned short' now.
2398 Thu Dec  3 13:21:06 1992  Karl Berry  (karl@cs.umb.edu)
2400         * texmf.c: include c-pathch.h.
2402 Sun Nov 29 14:50:04 1992  Karl Berry  (karl@cs.umb.edu)
2404         * strpascal.c: include c-pathch.h.
2406 Mon Nov 16 08:12:16 1992  Karl Berry  (karl@cs.umb.edu)
2408         * openinout.c: include c-pathch.h.
2410 Tue Nov 10 06:49:33 1992  Karl Berry  (karl@cs.umb.edu)
2412         * texmf.c (main): Change '/' to PATH_SEP.
2413         * openinout.c (open_input): Likewise.
2414         * strpascal.c (makesuffixpas): And here.
2416 Mon Nov  9 09:38:58 1992  Karl Berry  (karl@cs.umb.edu)
2418         * openinout.c (open_input): Use FOPEN_RBIN_MODE instead of simply "r".
2419         (open_output): Analogously.
2421         * c-auto.h.in (DOS): New definition, #undef'd by default.
2423 Fri Nov  6 14:52:34 1992  Karl Berry  (karl@cs.umb.edu)
2425         * Makefile (lib): Use $(AR) and $(ARFLAGS) several times.
2426         (AR, ARFLAGS): New variables.
2427         (objs1..4): New variables, breaking up the old $(objs).
2429 Tue Oct 27 08:16:41 1992  Karl Berry  (karl@cs.umb.edu)
2431         * openinout.c (open_output): Remove `openable', just use *f !=
2432         NULL; also, don't chdir to the envvar's directory, just prepend
2433         the value and change nameoffile.
2435         * site.h (TEXPOOLNAME): More instructions for MLTeX.
2437 Sun Oct 25 06:26:22 1992  Karl Berry  (karl@cs.umb.edu)
2439         * getopt.c: New version.
2441 Tue Oct  6 08:17:45 1992  Karl Berry  (karl@cs.umb.edu)
2443         * site.h.in: Doc fix.
2445 Thu Sep 24 11:06:14 1992  Karl Berry  (karl@cs.umb.edu)
2447         * site.h.in: change instructions for OpenWindows.  (mroth@afit.af.mil)
2449 Thu Sep 17 08:29:53 1992  Karl Berry  (karl@hayley)
2451         * texmf.c (initscreen): if DISPLAY is set, assume we're running
2452           under X11 for MF online output.
2454         * texmf.c: remove BibTeX conditionals.
2456 Tue Sep  8 17:06:54 1992  Karl Berry  (karl@hayley)
2458         * c-auto.h.in (_MINIX, _{ALL,POSIX,POSIX_1}_SOURCE): add #undef's
2459           for configure to define.
2461 Fri Sep  4 09:01:59 1992  Karl Berry  (karl@hayley)
2463         * Makefile (extraclean): new target.
2465 Fri Aug 14 07:02:41 1992  Karl Berry  (karl@hayley)
2467         * ourpaths.h (path_constant_type): remove trailing comma from
2468           enum, since ANSI stupidly disallows this.
2470 Wed Aug 12 16:20:10 1992  Karl Berry  (karl@hayley)
2472         * texmf.c (catch_interrupt): change return type to `RETSIGTYPE'.
2474         * config.h: remove conditional include of c-memstr if `index' is
2475           defined.
2477 Sat Aug  8 10:11:18 1992  Karl Berry  (karl@hayley)
2479         * openinout.c (EXTERN) [!BibTeX]: define as `extern'.  How did
2480           this ever work?
2482 Fri Jul  3 11:23:32 1992  Karl Berry  (karl@hayley)
2484         * texmf.c (input_line): ignore \r's at the end of the line.
2486         * site.h.in (XVIEWWIN): undef by default.
2487         * texmf.c (X11WIN) [MF && (TRAP || INI)]: #undef.
2489 Thu Jul  2 16:11:46 1992  Karl Berry  (karl@hayley)
2491         * Makefile (CPPFLAGS): new variable
2492         (.c.o): use it.
2493         (cflags): change to CFLAGS.
2495 Tue Jun 23 09:09:49 1992  Karl Berry  (karl@hayley)
2497         * Makefile (CC): change default to `gcc -posix'.
2499         * site.h.in (NONASCII): document that xord and xchr are ignored
2500           unless this is defined.
2502 Thu Jun 11 09:20:51 1992  Karl Berry  (karl@hayley)
2504         * zround.c (zround): return LONG_MAX or LONG_MIN if the double
2505           being rounded is outside the range of `integer'.
2506         * c-minmax.h (LONG_{MIN,MAX}): define these if they aren't defined
2507           by the system.
2509 Fri May 15 10:23:47 1992  Karl Berry  (karl@hayley)
2511         * getopt.[ch]: new versions.
2513 Thu May 14 19:21:40 1992  Karl Berry  (karl@claude.cs.umb.edu)
2515         * Version 5.851c.
2517 Wed May 13 14:32:14 1992  Karl Berry  (karl@hayley)
2519         * pathsrch.c (initalize_path_list): initialize path to the
2520           original path.
2522 Mon May  4 14:50:20 1992  Karl Berry  (karl@hayley)
2524         * c-auto.h.in: doc fix.
2526 Sun May  3 08:06:07 1992  Karl Berry  (karl@hayley)
2528         * main.c (argv): use a prototype if possibile.
2530         * texmf.ch (*dumpthings): parenthesize `len'.
2532 Wed Apr 29 16:07:52 1992  Karl Berry  (karl@hayley)
2534         * texmfmem.h (memoryword): had mutually exclusive #if's.
2535         (twohalves.u): don't need junk at the end?
2537 Sat Apr 25 08:55:34 1992  Karl Berry  (karl@hayley)
2539         * c-auto.h.in (__CHAR_UNSIGNED__): protect with #ifndef.
2541         * site.h.in: remove #ifndef's from around the #define's.  I don't
2542           think these help anything.
2544 Thu Apr 23 07:49:18 1992  Karl Berry  (karl@hayley)
2546         * c-auto.h.in: new file.
2548 Wed Apr 22 12:43:30 1992  Karl Berry  (karl@hayley)
2550         * texmf.c: SIGTYPE is now RETSIGTYPE.
2552 Sun Apr 19 10:26:16 1992  Karl Berry  (karl@hayley)
2554         * texmf.c: had sense of tests on FMTBASE_SWAP reversed.
2556 Thu Apr 16 13:49:36 1992  Karl Berry  (karl@ra.cs.umb.edu)
2558         * Version 5.851b.
2560 Tue Apr 14 17:06:57 1992  Karl Berry  (karl@hayley)
2562         * common.defines (BSTINPUTPATHBIT): define.
2564 Sun Apr 12 11:42:14 1992  Karl Berry  (karl@hayley)
2566         * common.defines (BSTINPUTPATH): define.
2567         * ourpaths.h (path_constant_type): add BSTINPUTPATH.
2568         (BSTINPUTPATHBIT): define.
2569         * site.h-dist (BSTINPUTS): default is TEXINPUTS.
2570         * ourpaths.c (setpaths): add stuff for BSTINPUTS.
2572 Sat Apr 11 09:26:55 1992  Karl Berry  (karl@hayley)
2574         * uexit.c: include config.h, for EXIT_SUCCESS_CODE.
2576 Fri Apr 10 16:56:18 1992  Karl Berry  (karl@hayley)
2578         * ourpaths.c (setpaths): don't pass cwd to initialize_path_list.
2580         * site.h-dist (*INPUTS, TEXFONTS): add . to these paths.
2582 Wed Apr  8 15:34:21 1992  Karl Berry  (karl@hayley)
2584         * texmf.c [FMTBASE_SWAP]: make swapping conditional.
2585         * site.h-dist: add it here for configuration.
2587         * main.c (do_undump) [VMS]: add code from joe.
2589         * main.c: use exit, not exit.
2591         * Makefile (objs): add uexit.o.
2592         * uexit.c: new file.
2593         * pascal.h (uexit): remove this, as it's now a function.
2595 Fri Apr  3 09:55:00 1992  Karl Berry  (karl at hayley)
2597         * Version 5.851a.
2599 Thu Apr  2 11:57:06 1992  Karl Berry  (karl at apollo.cs.umb.edu)
2601         * c-memstr.h (memcpy) [!NEED_MEMORY_H]: conditionalize.
2603 Thu Apr  2 10:51:11 1992  Karl Berry  (karl at ra.cs.umb.edu)
2605         * xstat.c (xlstat): (un)prototype-ize.
2607         * c-limits.h: test for FLOAT_H_MISSING instead of relying on
2608           _POSIX_VERSION to include <float.h>.
2610         * c-pathmx.h [_POSIX_VERSION]: don't do pathconf stuff.
2612 Wed Apr  1 16:57:30 1992  Karl Berry  (karl at hayley)
2614         * common.h (FATAL): use `str' as the arg name, not `s', since we
2615           need to do `%s'.
2617         * xopendir.c (xclosedir): prototype-ize it.
2619         * dir-p (leaf_dir_p): don't initialize a structure (!).
2621         * {concat,pathsrch,texmf,xmalloc,xstrdup,xrealloc}.c: cast results from
2622           xmalloc/malloc/realloc (argh).
2624         * alloca.c: comment things after #endif.
2626         * site.h-dist (REGFIX): put this back.
2628         * c-proto.h (P5C) [!__STDC__]: insert missing backslash.
2630 Mon Mar 30 07:28:25 1992  Karl Berry  (karl at hayley)
2632         * texmfmem.h (u, v, twohalves) [big MF]: define the halfword junks
2633           again.
2635 Sun Mar 29 15:33:29 1992  Karl Berry  (karl at hayley)
2637         * alloca.c: new version from gcc 2.1.
2639 Sat Mar 28 09:46:53 1992  Karl Berry  (karl at hayley)
2641         * main.c (main): return int, exit (EXIT_SUCCESS_CODE).
2642         * texmf.c (main): likewise.
2644         * config.h (SCHAR_TYPE): use `__CHAR_UNSIGNED__' again.
2646 Thu Mar 26 06:57:38 1992  Karl Berry  (karl at hayley)
2648         * Makefile (clean, realclean): depend on mostlyclean.
2650 Sun Mar 22 09:16:04 1992  Karl Berry  (karl at hayley)
2652         * common.h [BibTeX]: remove the include of <setjmp.h>, as
2653           bibtex/convert does it.
2655 Sat Mar 21 11:09:55 1992  Karl Berry  (karl at hayley)
2657         * common.defines (input2ints): for patgen2.
2658         * inputint.c (zinput2ints): new routine.
2659         * pascal.h (input2ints): new macro to call it.
2661         * config.h: include c-pathmx.h.
2663         * common.defines (TEXPOOLNAME): declare as a constant.
2665 Fri Mar 20 16:10:44 1992  Karl Berry  (karl at hayley)
2667         * paths.h: new file.
2669         * config.h: update for new files c-*.h.
2670         * common.h: remove stuff that is now in lib.h.
2672 Thu Mar 19 11:52:17 1992  Karl Berry  (karl at hayley)
2674         * ourpaths.c (append_path_list): remove this.
2676         * ourpaths.c (setpaths): use the envvar TEXFONTS if VFFONTS isn't set.
2678 Tue Feb 11 10:27:38 1992  Karl Berry  (karl at hayley)
2680         * config.h [NEED_MEMORY_H]: include <memory.h>.
2682         * config.h [LIMITS_H_MISSING]: include <sys/param.h>.
2684 Sun Feb  2 07:54:53 1992  Karl Berry  (karl at hayley)
2686         * pathsearch.c (parse_envpath): remove the second / before doing
2687           subdirectories.
2689         * pascal.h (optiontable): remove, as getopt no longer has a global
2690           table for the long options.
2692 Sat Feb  1 15:32:50 1992  Karl Berry  (karl at hayley)
2694         * ourpaths.c (setpaths): use TEXFONTS if PKFONTS/GFFONTS is not
2695           set for GF/PK files, as the documentation claims.
2697         * ourpaths.c (setpaths): remove subdirectory stuff.
2698         * pathsearch.[ch]: new versions to integrate subdirectories into
2699           the main paths.
2701         * texmf{,mem}.c (WEB2C_BIGENDIAN): rename to WORDS_BIGENDIAN.
2703 Fri Jan 31 11:54:46 1992  Karl Berry  (karl at hayley)
2705         * strpascal.c ({null,space}_terminate): do not translate using
2706           xord/xchr (from raichle@azu.informatik.uni-stuttgart.de).
2708 Fri Jan 24 07:14:05 1992  Karl Berry  (karl at hayley)
2710         * Makefile (cflags): don't include -I../config.
2712         * config.h (__CHAR_UNSIGNED__) [CHAR_UNSIGNED]: define as autoconf
2713           uses the latter and gcc sometimes the former.
2715         * config.h: move from config.
2717         * openinout.c (extensionirrelevantp): new function.
2718         * common.defines: declare it.
2720         * ourpaths.h (path_constant_type): rename from `path_constants'.
2721         * openinout.c (open_input): use it for the path arg.
2723 Wed Jan 15 11:13:45 1992  Karl Berry  (karl at hayley)
2725         * xgetcwd.c, xchdir.c: don't need these.
2726         * Makefile (objs): remove from list.
2727         * dirio.h: remove decls.
2729         * pathsearch.c (check_subdir): do not cd to the directory we're
2730           testing.
2731         (add_directory): test if the name is a directory before adding it
2732           to the list.
2733         (parse_envpath): don't test if the names are directories here.
2734         (initialize_path_list): don't find and cd to the current directory
2735           between each subdirectory.
2737 Tue Jan 14 16:06:24 1992  Karl Berry  (karl at hayley)
2739         * texmf.c: do not include <sys/types.h>; it's in config.h now.
2740         * types.h: likewise.
2742 Sun Jan 12 07:41:34 1992  Karl Berry  (karl at hayley)
2744         * pathsearch.c (initialize_path_list): cd back to . after checking
2745           each subdirectory.
2747         * dirio.h: change directory header stuff as suggested in the
2748           autoconf manual.
2750         * ourpaths.h: make the path list an enumeration type.
2752         * openinout.c (open_input): correctly compute namelength.
2754         * texmfmem.h (memoryword) [TeX]: make declaration of `glueratio'
2755           conditional.
2757         * openinout.c: rearrange ifdefs for coherency.
2759         * ourpaths.c (append_path_list): overwrite the null in the first
2760           list.
2762         * pathsearch.c (initialize_path_list): unconditionally call
2763           parse_envpath.
2764         (parse_envpath): if the envvar name is null, don't call getenv.
2765         If both args are null, do nothing.
2767         * ourpaths.c (setpaths): initialize the TFM path.
2769         * common.h (FATAL*): new macros.
2771         * pascal.h (real): define to be `double'.
2773         * xfopen-pas.c: new file.
2775         * eofeoln.c (test_eof): rename to `eof'.
2776         * pascal.h (eof): remove.       
2778         * pascal.h (reset, rewrite): `checked_fopen' => `xfopen_pas'.
2780         * common.h (link): define as `link_var', to avoid conflicts
2781           between the system call and the web var.
2783         * common.defines (FILENAMESIZE): rename to `PATHMAX'.
2785 Tue Jan  7 11:26:02 1992  Karl Berry  (karl at hayley)
2787         * getopt*: new versions.
2789         * extra.c (getwd) [GETWD_MISSING]: conditionalize.
2791         * extra.c (zinput3ints): new implementation, from jmr@nada.kth.se.
2793         * texmf.c (swap_items) [!WEB2C_BIG_ENDIAN]: ifdef on this.
2794         * texmfmem.h (twohalves, fourquarters): incorporate changes from
2795           raichle@azu.informatik.uni-stuttgart.de which he says make
2796           format files finally work.
2798         * common.h (SCHAR_TYPE): use `signed_char' if ANSI, `short' if
2799           char is unsigned, otherwise `char'.