sync with experimental
[luatex.git] / source / texk / web2c / lib / ChangeLog
blob32bf88532792d0b281fe6a3680cb4abb2664da60
1 2016-01-02  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
3         * printversion.c: 2015 ---> 2016.
5 2015-11-15  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
7         * texmfmp.c: Show return code of system() if it is not zero.
9 2015-11-01  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
11         * texmfmp.c: Improve restricted shell escape for w32 a little.
13 2015-08-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
15         * texmfmp.c: Another minor modification (unused static).
17 2015-08-18  The Thanh Han  <hanthethanh@gmail.com>
19         * texmfmp.c: Patch from Maria with some minor modification.
21 2015-07-09  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
23         * texmfmp.c: Add \pdfmdfivesum to XeTeX.
25 2015-07-02  Hironori Kitagawa  <h_kitagawa2001@yahoo.co.jp>
27         * texmfmp.c: Moved convertStringToHexString() and getmd5sum()
28         from ../pdftexdir/utils.c to here.
30 2015-06-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
32         Integrate MFLua and MFLuaJIT.
33         * texmfmp.c: Adapted.
35 2015-03-16  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
37         * printversion.c: 2014 ---> 2015.
39 2014-11-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
41         * texmfmp.c: Avoid MinGW64 warnings (INVALID_SOCKET => -1).
43 2014-11-03  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
45         * texmfmp.c: Indentation.
47 2014-10-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
49         * texmfmp.c: Use the decision about tex*.dll from ../texmfmp.h.
51 2014-10-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
53         * texmfmp.c: Apply some code from W32TeX.
55 2014-08-22  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
57         * texmfmp.c: Symplify support of multibyte characters, by
58         updating fsyscp_popen in kpathsea (Windows only).
60 2014-08-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
62         * texmfmp.c: Avoid several compiler warnings (Windows only).
64 2014-08-22  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
66         * texmfmp.c: Support multibyte characters in pipe (Windows only).
68 2014-07-23  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
70         * texmfmp.c: Short-file-name convention is incompatible with
71         --src-specials (Windows only).
73 2014-07-21  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
75         * texmfmp.c: Use getnullstr() in maketexstring(), also in aleph.
77 2014-07-19  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
79         * texmfmp.c: Use getnullstr() in maketexstring(), as in pdfTeX,
80         in most cases in order to avoid an assertion error.
82 2014-07-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
84         * texmfmp.c: Replace the deprecated spawnvp() by _spawnvp(),
85         they differ for 64-bit MinGW.
87 2014-07-04  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
89         * texmfmp.c: Remove redundant cpp macros (w32 only).
91 2014-06-20  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
93         * texmfmp.c: Support short-file-name convention (w32 only).
95 2014-05-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
97         Update to e-pTeX and e-upTeX from Akira Kakuto.
98         * texmfmp.c (getfiledump): Move definition of this function
99         also used by e-(u)pTeX from ../pdftexdir/utils.c to here.
101 2014-01-20  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
103         * printversion.c: 2013 ---> 2014.
105 2014-01-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
107         * texmfmp.c: Do not declare dump_name, now done in change files.
109 2014-01-14  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
111         * texmfmp.c: use fsyscp_system instead of system (Windows only).
113 2013-12-31  TANAKA Takuji  <KXD02663@nifty.ne.jp>
115         * openclose.c: bug fix about error check when fopen.
116         Use fsyscp_fopen() instead of fsyscp_xfopen() (Windows only)
117         * texmfmp.c: Use get_command_line_args_utf8() (Windows only)
119 2013-12-03  TANAKA Takuji  <KXD02663@nifty.ne.jp>
121         * openclose.c, texmfmp.c: Support KANJI file name in (e)upTeX and
122         XeTeX on Windows.
124 2013-06-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
126         Update to e-pTeX and e-upTeX 130605 from Hironori Kitagawa.
127         * texmfmp.c (pdftex_fail): Adapted from ../pdftexdir/utils.c.
128         (initstarttime, makecstring, makecfilename, getcreationdate,
129         getfilemoddate, getfilesize): Move definition of these functions
130         also used by e-(u)pTeX from ../pdftexdir/utils.c to here.
132 2013-04-09  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
134         * printversion.c: 2012 ---> 2013.
136 2013-01-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
138         * texmfmp.c (mk_shellcmdlist): Simplify.
140 2013-01-06  Khaled Hosny  <khaledhosny@eglug.org>
142         * texmfmp.c [XeTeX]: Support input pipes.
144 2012-11-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
146         * Makefile.am: Avoid use of deprecated INCLUDES.
148 2012-10-14  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
150         * texmfmp.c: Use _IONBF for unbuffered stream.
152 2012-10-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
154         * texmfmp.c (mk_shellcmdlist): The argument is not constant.
156 2012-10-10  Akira Kakuto  <kakuto@fuk.kinidai.ac.jp>
158         * texmfmp.c: Modify determination of fullpath for restricted shell
159         escape commands.
161 2012-09-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
163         * texmfmp.c: Since normalize_quotes() is declared static,
164         the forward declaration should also be static.
166 2012-09-11  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
168         * texmfmp.c (maininit): On Windows, latex "\input" "a b c", for example,
169         was not allowed. Allow file name with spaces in these cases.
171 2012-08-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
173         * main.c [WIN32]: Added _setmaxstdio() (from W32TeX).
175         * openclose.c (recorder_start): Reduce TL/W32TeX diffs.
176         Avoid using pid_t lacking in WIN32 (MSVC).
178 2012-08-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
180         * texmfmp.c [IS_pTeX]: Rename initdefaultkanji() => initkanji().
182 2012-08-06  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
184         * texmfmp.c [WIN32]: bug fix. use rewind (f) to clear error and
185         EOF indicators.
187 2012-07-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
189         * texmfmp.c (runpopen): Binary mode for popen() on Windows now
190         done in kpathsea.
192 2012-06-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
194         * texmfmp.c [WIN32]: Ignore DLLPROC for __MINGW32__.
196 2012-06-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
197 2012-06-27  Norbert Preining  <preining@logic.at>
199         * texmfmp.c (runpopen): Append "b" on Windows.
200         (open_{in,out}_or_pipe): Do not use the "b" here.
202 2012-06-27  Karl Berry  <karl@tug.org>
204         * texmfmp.c (generic_synctex_get_current_name): return the
205         empty string if passed null (can happen with -ini).
207 2012-06-26  Peter Breitenlohner  <peb@mppmu.mpg.de>
209         * texmfmp.c (open_{in,out}_or_pipe): Use popen() modes "rb" and
210         "wb" only for Windows, Posix allows them only for fopen().
211         (This makes pdftex's \input"|..." feature work again,
212         unintentionally broken.)
213         tex-live mail, 26 Jun 2012 06:24:11.
215 2012-05-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
217         * printversion.c (printversionandexit): Update 'Copyright 2012'.
219 2012-04-08  Peter Breitenlohner  <peb@mppmu.mpg.de>
221         * texmfmp.c (mk_shellcmdlist, init_shell_escape,
222         shell_cmd_is_allowed, normalize_quotes): Declare as static.
223         (get_seconds_and_micros): Define only for pdfTeX.
224         (getrandomseed): Removed, MP only.
226 2012-03-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
228         Avoid 'differ in signedness' warnings.
229         * texmfmp.c (input_line): Cast buffer to 'unsigned char *'.
231 2012-02-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
233         * eofeoln.c (eof): Fix a typo in comment.
235 2012-01-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
237         * printversion.c, texmfmp.c: Drop report of file offset bits.
239 2012-01-17  Peter Breitenlohner  <peb@mppmu.mpg.de>
241         * lib.h, printversion.c, texmfmp.c: Report file offset bits.
243 2011-12-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
245         * setupvar.c (setupboundvariable): Warning message: the bad
246         value can be from the environment or from texmf.cnf.
248 2011-10-11  Peter Breitenlohner  <peb@mp.mpg.de>
250         * texmfmp.c [WIN32]: Slightly reformulate Byte order marks.
252 2011-10-07  Peter Breitenlohner  <peb@mp.mpg.de>
254         * texmfmp.c: More changes to reduce diffs with W32TeX.
256 2011-10-04  Peter Breitenlohner  <peb@mp.mpg.de>
258         * texmfmp.c: More changes to reduce diffs with W32TeX,
259         for compilation with MS Visual Studio 2005.
261 2011-10-05  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
263         * texmfmp.c : remove unused free_shellcmdlist()
265 2011-10-04  Peter Breitenlohner  <peb@mp.mpg.de>
267         * texmfmp.c (calledit): More changes to reduce diffs with W32TeX.
269 2011-10-01  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
271         * texmfmp.c: write (sock, buff, n) and send (sock, buff, n, 0)
272         for ipc_snd () are different in winsock.
274 2011-09-30  Peter Breitenlohner  <peb@mp.mpg.de>
276         * texmfmp.c [Aleph]: Remove unused variable `eightbitp'.
278 2011-09-21  Peter Breitenlohner  <peb@mp.mpg.de>
280         * texmfmp.c [IPC]: More changes to reduce diffs with W32TeX.
282 2011-09-11  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
284         * texmfmp.c: Disable options -translate-file, -default-translate-file,
285         and -8bit for Aleph. The option -kanji-internal=STRING is effective
286         also for pTeX and epTeX.
288 2011-09-02  Peter Breitenlohner  <peb@mp.mpg.de>
290         * texmfmp.c: More changes to reduce diffs with W32TeX.
292 2011-09-01  Peter Breitenlohner  <peb@mp.mpg.de>
294         * texmfmp.c [WIN32]: Minor rewrite to reduce diffs with W32TeX.
296 2011-08-30  Akira Kakuto <kakuto@fuk.kindai.ac.jp>
298         * texmfmp.c [WIN32]: Remove a semicolon.
300 2011-08-29  Peter Breitenlohner  <peb@mp.mpg.de>
302         * texmfmp.c [WIN32]: Allow to build TeX & Co as DLL.
304 2011-08-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
306         * texmfmp.c: Remove some (e-)pTeX cruft.
308         * openclose.c [PTEX]: No nkf_open() and nkf_close() for WIN32.
310 2011-08-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
312         * texmfmp.c: Options for (e-)pTeX and (e-)upTeX.
314 2011-08-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
316         * texmfmp.c: Add upTeX and e-upTeX.
318 2011-08-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
320         * texmfmp.c: Do not #include empty file <kpathsea/recorder.h>.
322 2011-08-03  Magnus Granberg  <zorry@gentoo.org>
324         * texmfmp.c: Use C code for i?86 when -fPIC.
326 2011-07-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
328         * texmfmp.c: Drop `#warning SyncTeX: -synctex command line...'.
330 2011-05-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
332         * texmfmp.c (ipcpage): Add 'free(cwd)'.
333         (generic_synctex_get_current_name): Use xgetcwd().
335 2011-05-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
337         * texmfmp.c: Change arg2 of kpse_absolute_p() from `0' to `false'.
339 2011-05-11  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
341         * texmfmp.c: add a function generic_synctex_get_current_name()
342         in order to get full path names for SyncTeX.
344 2011-05-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
346         * texmfmp.c (ipc_open_out): Avoid to #define SOCK_NONBLOCK which
347         conflicts with newer GNU C library headers.
349 2011-05-04  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
351         * openclose.c (recorder_change_filename): on windows, an opened file
352         cannot be renamed.
354 2011-05-02  Karl Berry  <karl@tug.org>
356         * openclose.c (recorder_change_filename): take output_directory
357         into account.  Report/patch from 
358         Philipp Stephani, 30 Apr 2011 16:11:53,
359         http://tracker.luatex.org/view.php?id=615
361 2011-04-28  Karl Berry  <karl@tug.org>
363         * printversion.c (printversionandexit): it is 2011.
365 2011-04-27  Karl Berry  <karl@tug.org>
367         * texmfmp.c (initscreen): do not mention mfw, which is no more.
368         Suggestion from Reinhard Kotucha, tex-k mail 21 Jul 2010 11:40:36.
370 2011-04-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
372         Avoid 'differ in signedness' warnings.
373         texmfmp.c (input_line): Caat input_line2() arg2 to 'char *'.
375 2011-03-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
377         * texmfmp.c (calledit): [__MINGW32__] Drop win32_system() and
378         use system() as for all other systems.
380 2011-03-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
382         * setupvar.c (setupboundvariable): `program_invocation_name' has
383         been renamed into `kpse_invocation_name'.
385 2010-06-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
387         Reorganize web2c headers.
388         * alloca.c, basechsuffix.c, chartostring.c, coredump.c,
389         eofeoln.c, fprintreal.c, input2int.c, inputint.c, main.c,
390         openclose.c, printversion.c, setupvar.c, uexit.c, usage.c,
391         zround.c:
392         #include <w2c/config.h> instead of <config.h> or "config.h".
393         * version.c: #include <w2c/c-auto.h> instead of "c-auto.h".
395 2010-06-06  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
397         * texmfmp.c: include kpathsea/concatn.h if WIN32 is defined.
399 2010-06-04  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
401         * texmfmp.c: include kpathsea/concatn.h and remove cast
402         for concatn ().
404 2010-05-24  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
406         * texmfmp.c: on win32, all restricted shell escape commands are
407         executed by fullpath.
409 2010-05-18  Karl Berry  <karl@tug.org>
411         * printversion.c (printversionandexit): 2010.
413 2010-05-10  Karl Berry  <karl@tug.org>
415         * input2int.c (zinput2ints, zinput3ints): don't bother
416         to cast result of fprintf.
418 2010-04-25  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
420         * lib.h:
421         * texmfmp.c: remove TEXDLL.
423 2010-04-21  Karl Berry  <karl@tug.org>
425         * Makefile.am (EXTRA_DIST),
426         * win32main.c: rm per Akira.
428 2010-04-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
430         * texmfmp.c, lib.h: Remove luaTeX specific code.
432         * lib.h: Move extern declaration of ptexbanner from here
433         to ../pdftexdir/ptexlib.h (instatiated in texmfmp.c).
435 2010-04-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
437         * main.c, texmfmp.c: Remove extern declaration of mainbody,
438         is in lib.h.
439         * openclose.c (recorder_enabled, output_directory): Remove
440         extern declarations, are in lib.h.
441         * lib.h: Move extern declaration of fullnameoffile to here ...
442         * texmfmp.c: ... from here ...
443         * openclose.c: ... and from here.
444         * texmfmp.c [XeTeX]: Move extern declarations of papersize and
445         outputdriver from here to ../xetexdir/XeTeX_ext.h.
447         * Makefile.am, openclose.c, printversion.c:
448         Integrate libp.a for pTeX.
450 2010-04-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
452         * texmfmp.c (maininit) [__SyncTeX__]: omit warning about no
453         SyncTeX for pTeX.
455 2010-04-11  Karl Berry  <karl@tug.org>
457         * texmfmp.c,
458         * printversion.c,
459         * openclose.c,
460         * chartostring.c,
461         * basechsuffix.c: remove useless casts to (string) or (char *),
462         etc. of xmalloc.
464 2010-03-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
466         * openclose.c (open_input): Fixed a typo.
467         From Akira Kakuto <kakuto@fuk.kindai.ac.jp>, 30 Mar 2010 12:33:33.
469 2010-03-30  Karl Berry  <karl@tug.org>
471         * (recorder_start): throw in pid in recorder_name so parallel builds
472         have a chance of working.  Report from
473         Kirill Smelkov, Debian bug 575731, tex-k mail 29 Mar 2010 06:18:35.
475 2010-03-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
477         * setupvar.c (setupboundvariable): Fix off by one error in msg.
479 2010-03-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
481         * texmfmp.c (setupboundvariable): Moved from here ...
482         * setupvar.c (new): ... to here for use in non-engine programs.
483         * lib.h (setupboundvariable): Moved from ../texmfmp.h to here.
484         * Makefile.am (lib_a_SOURCES): Added setupvar.c.
486 2010-02-24  Peter Breitenlohner  <peb@mppmu.mpg.de>
488         * texmfmp.c (IPC) [WIN32]: #include <winsock2.h> instead of
489         <sys/socket.h> and <fcntl.h>, use ioctlsocket() instead of
490         fcnt() for non-blocking, and use Sleep() instead of sleep().
492 2010-02-21  Peter Breitenlohner  <peb@mppmu.mpg.de>
494         * texmfmp.c: #include <window/mfdisplay.h> instead of externs.
496 2010-02-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
498         * texmfmp.c (calledit): Use win32_system() with two args only
499         for MinGW32, native WIN32 uses only one arg.
500         (catch_interrupt) [WIN32]: Declare as static.
502 2010-02-01  Karl Berry  <karl@tug.org>
504         * openclose.c (open_input): do not try prepending TEXMFOUTPUT for
505         reading if the filename is absolute.
507 2010-01-24  Peter Breitenlohner  <peb@mppmu.mpg.de>
509         * texmfmp.c (mk_shellcmdlist): Declare string param as const.
511 2010-01-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
513         * texmfmp.c (maininit) [__SyncTeX__]: omit warning about no
514         SyncTeX for luaTeX.
515         (gettexstring): Declare as static for luaTeX.
517 2010-01-16  Karl Berry  <karl@tug.org>
519         * texmfmp.c (do_dump, do_undump): give full name of file
520         in fatal message when something cannot be (un)dumped.
522 2010-01-02  Karl Berry  <karl@tug.org>
524         * texmfmp.c (runsystem): doc fix.
526 2009-12-23  Karl Berry  <karl@tug.org>
528         * usage.c (usagehelp)
529         * texmfmp.c (BUG_ADDRESS): default to tex-k@tug.org, no @mail.
531 2009-12-01  Alexander Cherepanov  <cherepan@mccme.ru>
533         * texmfmp.c (parse_first_line): initialize s to NULL.
534         * usage.c: doc fix.
536 2009-11-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
538         * texmfmp.c (shell_cmd_is_allowed): Check for invalid single
539         quote also within quoted arguments.
540         Reported by Akira Kakuto <kakuto@fuk.kindai.ac.jp>,
541         diagnosed by Manuel P\'egouri\'e-Gonnard <mpg@elzevir.fr>.
543 2009-10-24  Peter Breitenlohner  <peb@mppmu.mpg.de>
545         * texmfmp.c (openinnameok, openoutnameok): Moved to Kpathsea
546         and renamed kpse_{in,out}_name_ok.
548 2009-09-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
550         * texmfmp.c (last_lineno): MAYBE_STATIC for luaTeX.
551         (srcspecialsoption, parse_src_specials_option): static but not
552         used for luaTeX.
554 2009-09-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
556         * texmfmp.c (runpopen): Used only for pdfTeX and luaTeX.
557         (last_source_name etc): Not used by MF.
558         (ipcpage): Avoid unconstifying cast.
559         (compare_paths): Declare as static.
560         (mfwin_sw): Constify member string.
562 2009-09-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
564         * texmfmp.c (initscreen): Add explicit braces.
565         (getrandomseed, makefullnamestring): ANSI C definition.
567 2009-08-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
569         * lib.h (NOT_WEB2C): New preprocessor macro, if defined prevents
570         declaration of argc, argv, cmdline, and mainbody (from main.c).
572 2009-08-24  Peter Breitenlohner  <peb@mppmu.mpg.de>
574         * openclose.c (open_output): Bugfix? local var 'fname' was
575         shadowed by a second one.  Avoid memory leak.
577 2009-08-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
579         * lib.h, texmfmp.c, version.c: Constify ptexbanner and
580         versionstring.
582 2009-08-21  Peter Breitenlohner  <peb@mppmu.mpg.de>
584         Avoid maximal compiler warnings.
585         * openclose.c (recorder_record_name): Constify string param1.
586         (recorder_record_{name,input,output}): Rename param
587         nameoffile=>name, not to shadow global var.
589 2009-08-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
591         * lib.h (ptexbanner): Add decl for pdfTeX and luaTeX.
592         * texmfmp.c (ptexbanner): Drop decl but keep initializer.
593         * printversion.c (kpathsea_version_string):
594         #include <kpathsea/version.h> and drop extern declaration.
596 2009-08-17  Peter Breitenlohner  <peb@mppmu.mpg.de>
598         * texmfmp.c (shell_cmd_is_allowed): Change param1 from 'char **'
599         to 'const char *'.
600         (runsystem, runpopen): Constify string params.
602 2009-07-24  Martin Schröder  <martin@oneiros.de>
604         * printversion.c: don't nest extern declarations
606 2009-06-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
608         * basechsuffix.c, chartostring.c, coredump.c, eofeoln.c,
609         fprintreal.c, input2int.c, inputint.c, main.c, openclose.c,
610         printversion.c, texmfmp.c, uexit.c, usage.c, win32main.c,
611         zround.c: drop P?C, P?H, use ANSI C function declarations.
613 2009-06-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
615         * Makefile.am (AM_CFLAGS): enable compiler warnings.
616         * lib.h (new): declarations for *.c from ../cpascal.h.
617         * basechsuffix.c, chartostring.c, eofeoln.c, fprintreal.c,
618         input2int.c, inputint.c, main.c, openclose.c, printversion.c,
619         zround.c: #include "lib.h" to declare function prototypes.
620         * openclose.c: declare internal function recorder_record_name as
621         static; declare param of recorder_record_input and
622         recorder_record_output as const_string as from ../cpascal.h.
624 2009-06-01  Karl Berry  <karl@tug.org>
626         * printversion.c (printversionandexit): it's 2009.
627         Also, remove special references to kpathsea author(s) etc.
629 2009-03-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
631         * texmfmp.c: remove all references to (Web2C version of) MP.
633 2009-05-18  Karl Berry  <karl@tug.org>
635         * openclose.c (recorder_start): use output_directory for the .fls
636           file, if it has been specified with --output-directory.
637           metapost mail from Nicola, 16 May 2009 13:41:36.
639 2009-03-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
641         * texmfmp.c: remove all references to Omega, eOmega, and pdfeTeX.
643 2009-03-28  Karl Berry  <karl@tug.org>
645         * texmfmp.c (mk_shellcmdlist, shell_cmd_is_allowed): not static,
646         so luatex can access.  From Taco.
648 2009-03-27  Taco Hoekwater  <taco@luatex.org>
650         * texmfmp.c (parse_options): add #ifndef luaTeX guard for 
651         --src-specials, because luaTeX does not implement it.
652         (parse_src_specials_option): add #ifndef luaTeX guard for
653          the same reason.
655 2009-03-02  Karl Berry  <karl@tug.org>
657         * texmfmp.c (long_options): make -enable-write18 and -disable-write18
658         synonyms for -shell-escape and -no-shell-escape.
660 2009-02-26  Karl Berry  <karl@tug.org>
662         * texmfmp.c: Implementation of restricted shell escapes from Akira.
663         (mk_shellcmdlist, init_shell_escape, char_needs_quote, Isspace,
664         shell_cmd_is_allowed, runsystem, runpopen): new fns.
665         (long_options, parse_cmd_line): new option --shell-restricted.
666         (main): call init_shell_escape.
667         (open_in_or_pipe, open_out_or_pipe): call runpopen.
669 2009-02-06  Karl Berry  <karl@tug.org>
671         * texmfmp.c (maininit) [__SyncTeX__]: omit warning about no
672         SyncTeX for Omega and MF/MP.
674 2008-03-24  Karl Berry  <karl@tug.org>
676         * printversion.c: it's 2008.
678 2008-03-16  Karl Berry  <karl@tug.org>
680         * texmfmp.c (maininit): don't append DUMP_EXT if it's already
681         there.  Report from Hans.
683 2008-03-09  Karl Berry  <karl@tug.org>
685         * texmfmp.c (maketexstring) [!MP]: only define this fn if !MP,
686         since MetaPost has its own in mpdir/utils.c.
687         (input_line): initialize i = EOF.  From Taco.
689 2008-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
691         * Makefile.in: Add @configure_input@ line.
693 2007-12-28  Karl Berry  <karl@tug.org>
695         * texmfmp.c (parse_options): do not set user_progname at
696         DUMP_OPTION or efmt.
697         (maininit): instead, do it here, after options are read.
699 2007-09-05  Karl Berry  <karl@tug.org>
701         * texmfmp.c (long_options): move output-directory output to be
702         enabled for MF and MP too.  From Akira.
704 2007-08-20  Karl Berry  <karl@tug.org>
706         * texmfmp.c (main) [WIN32]: _setmaxstdio(2048), to increase
707         open files limit.  From Akira, 19 Aug 2007 09:30:30 +0900.
709 2007-07-26  Karl Berry  <karl@tug.org>
711         * openclose.c (recorder_record_name): fflush the recorder file,
712         since this is for debugging.  Suggested by George White.
714 2006-12-28  Martin Schröder <martin@oneiros.de>
716         * texmfmp.c: fixed some warnings raised by gcc for unused variables
717         and different signedness of arguments
719 2006-07-16  Karl Berry  <karl@tug.org>
721         * mfmpi386.asm: missing " chars.
723 2006-07-15  Karl Berry  <karl@tug.org>
725         * mfmpi386.asm (asm): prepend with .text to avoid seg fault with
726         -g3 or -ggdb3 due to the symbols ending up in the data section.
727         tex-k report by Edward Catmur, 29 Mar 2006 00:09:15 +0100.
729 2006-06-19  Karl Berry  <karl@tug.org>
731         * texmfmp.c (open_in_or_pipe) [!pdfTeX && !pdfeTeX]: track
732         fullnameoffile; from Akira and Jonathan.
734 2005-08-13  Olaf Weber  <olaf@infovore.xs4all.nl>
736         * printversion.c: Update copyright messages.
738 2005-08-03  Olaf Weber  <olaf@infovore.xs4all.nl>
740         * texmfmp.c: Implement -etex switch.
742 2005-07-29  Olaf Weber  <olaf@infovore.xs4all.nl>
744         * texmfmp.c (opennameok): Check all occurrences of ".." in a
745         filename, not just the first.  Reported by Yutaka OIWA
746         <y.oiwa@aist.go.jp>.
748 2005-07-27  Olaf Weber  <olaf@infovore.xs4all.nl>
750         * printversion.c: libkpathsea is covered by the LGPL, not the GPL,
751         and is the common factor that brings in the *GPL to all
752         web2c-based programs.
754         * texmfmp.c (get_seconds_and_micros): New function, gets high-res
755         time if possible.  Remove references to pdfxtex.
757 2005-07-22  Olaf Weber  <olaf@infovore.xs4all.nl>
759         * input2int.c: The correct format string to use depends on whether
760         integer is an int or a long int.  Reported by M.J. Rutter
761         <mjr19@cus.cam.ac.uk>.
763 2005-06-26  Olaf Weber  <olaf@infovore.xs4all.nl>
765         * Makefile.in: Replace ac_include with kpse_include.  From Peter
766         Breitenlohner.
768 2005-06-22  Olaf Weber  <olaf@infovore.xs4all.nl>
770         * texmfmp.c [MP][BANNER]: Update for MetaPost 0.901.
772 2005-06-21  Olaf Weber  <olaf@infovore.xs4all.nl>
774         * texmfmp.c (opennameok,openinnameok,openoutnameok): Add new
775         parameter to opennameok() so its diagnostics are correct wrt to
776         whether we are testing a file name for reading or writing.
778 2005-04-12  Olaf Weber  <olaf@infovore.xs4all.nl>
780         * texmfmp.c (getjobname): Add a parameter, the string to return if
781         --jobname wasn't given.
782         This is part of a group of changes that fix pdftex bug 302.
783         http://sarovar.org/tracker/?func=detail&atid=493&aid=302&group_id=106
785         * openclose.c (open_input): kpse_find_file() always returns a new
786         string, so we can unconditionally deallocate it.
788         * texmfmp.c (maininit): Factor out common code into texmf_yesno().
789         (texmf_yesno): New function, return true if a variable is set and set
790         to 't', 'y', or '1' in texmf.cnf or the environment.
792 2004-12-20  Olaf Weber  <olaf@infovore.xs4all.nl>
794         * texmfmp.c [pdfTeX,pdfeTeX,pdfxTeX]: New variable ptexbanner.
796 2004-12-19  Olaf Weber  <olaf@infovore.xs4all.nl>
798         * texmfmp.c [TeX] (maininit): For all TeX variants, recognize
799         "initex" and "virtex" program names, just in case.
801 2004-09-16  Olaf Weber  <olaf@infovore.xs4all.nl>
803         * printversion.c (printversionandexit): Hartmut Henkel
804         <hartmut_henkel@gmx.de> noticed that the engines start running
805         like this: "This is TeX, Version 3.141592 (Web2C 7.5.3)" but the
806         -version output looks like this "TeX (Web2C 7.5.3) 3.141592".
807         He supplied a small patch to rectify this.
809 2004-08-28  Olaf Weber  <olaf@infovore.xs4all.nl>
811         * openclose.c (open_input,open_output): Implement output_directory
812         option.
814         * texmfmp.c: Accept -output-directory option.
816 2004-07-14  Olaf Weber  <olaf@infovore.xs4all.nl>
818         * texmfmp.c (setupcharset): Remove this fuction.  The
819         initialization is performed is done by the engine.
820         (read_char_translation_file): Rename to readtcxfile.
821         (readtcxfile): Some comment changes compared to its previous
822         incarnation.
824         * usage.c (usagehelp): Add second argument, email address for bug
825         reports.  Requested by the pdftex team.
827         * texmfmp.c: Add -output-format to the long_options array.
828         Also add BUG_ADDRESS to the macros defined for each engine.
829         Call usagehelp with BUG_ADDRESS as second argument.
830         
831 2004-07-03  Olaf Weber  <olaf@infovore.xs4all.nl>
833         * texmfmp.c (parse_options): Make it so that aleph and omega also
834         parse the -translate-file and -8bit options, even though they now
835         silently ignore them.  (They have to ignore them in any case, as
836         neither makes sense for these programs.)
838 2004-07-02  Olaf Weber  <olaf@infovore.xs4all.nl>
840         * texmfmp.c [TeX]: Implement -efmt as alternate spelling for -fmt.
841         This option is only present for backward compatibility, and will
842         go away in the future.
844 2004-06-29  Olaf Weber  <olaf@infovore.xs4all.nl>
846         * Makefile.in: Don't include alloca.o in the objects.  It
847         shouldn't be used anywhere.
849 2004-06-16  Olaf Weber  <olaf@infovore.xs4all.nl>
851         * texmfmp.c (get_input_name): Off-by-one errors when
852         erasing/restoring the final quote.  From Akira Kakuto
853         <kakuto@fsci.fuk.kindai.ac.jp>.
855 2004-06-15  Olaf Weber  <olaf@infovore.xs4all.nl>
857         * texmfmp.c: (normalize_quotes): New function, takes a filename
858         and returns an allocated string with the name quoted iff it
859         contains a space.
860         (get_input_file_name): Factor out normalize_quotes.
861         (getjobname): Add quotes if needed.  callmakempx: Add quotes if
862         needed.
864 2004-06-04  Olaf Weber  <olaf@infovore.xs4all.nl>
866         * texmfmp.c (get_input_file_name): New function.  Get the name of
867         the input file for use by parse_first_line(), and if the filename
868         contains spaces make sure a properly quoted version will be given
869         to TeX.
870         (parse_first_line): Now takes the name of the input file (or NULL) as
871         an argument, instead of looking for it.
873 2004-05-26  Olaf Weber  <olaf@infovore.xs4all.nl>
875         * texmfmp.c: Remove -oem code.
877 2004-05-14  Olaf Weber  <olaf@infovore.xs4all.nl>
879         * texmfmp.c: Remove much of the locale-dependent code.  Some
880         pieces remain because they are related to the Win32 '-oem' option,
881         where I do not know yet whether that option should go as well.
883 2004-05-10  Olaf Weber  <olaf@infovore.xs4all.nl>
885         * texmfmp.c (setupcharset): Fixing a regression.  When a line in a
886         TCX file contains two numbers and a comment, set printable=1.
887         Reported by Staszek Wawrykiewicz <staw@gust.org.pl>.
889 2004-05-08  Olaf Weber  <olaf@infovore.xs4all.nl>
891         * texmfmp.c (main): We can now put TEXMFENGINENAME into the
892         environment for $engine in all cases.
894         * texmfmp.c: Add -halt-on-error option.
896 2004-05-07  Olaf Weber  <olaf@infovore.xs4all.nl>
898         * texmfmp.c (maininit): Set $engine appropriately.
900         * texmfmp.c: Implement -8bit option.
902         * texmfmp.c (makesrcspecial): Always put a space after the line
903         number.
905 2004-04-16  Olaf Weber  <olaf@infovore.xs4all.nl>
907         * texmfmp.c (setupcharset): More compact xprn assignment.
909 2004-03-28  Olaf Weber  <olaf@infovore.xs4all.nl>
911         * texmfmp.c: Implement -no-shell-escape, -no-parse-first-line,
912         -no-file-line-error.
914 2004-03-25  Olaf Weber  <olaf@infovore.xs4all.nl>
916         * texmfmp.c [eTeX](maininit): e-TeX will no longer treat being
917         called as "initex" or "virtex" special.
918         (tcx_get_num): Additional argument, upper bound we're accepting.
919         (read_char_translation_file): Allow for a third integer, 0 or 1, to
920         set printable status.  This way you can translate characters
921         without making them printable.  However, enforce that 7bit ASCII
922         remains printable.
924         * texmfmp.c (maininit): Add sanity check for -enc or -mltex
925         without -ini.
927 2004-03-24  Olaf Weber  <olaf@infovore.xs4all.nl>
929         * zround.c: Add public domain notice.
931         * win32main.c: Add public domain notice.
933         * version.c: Add public domain notice.
935         * uexit.c: Add public domain notice.
937         * printversion.c: Bump 2003 to 2004 in copyright notices.
939         * main.c: Add public domain notice.
941         * inputint.c: Add public domain notice.
943         * input2int.c: Add public domain notice.
945         * fprintreal.c: Add public domain notice.
947         * eofeoln.c: Add public domain notice.
949 2004-03-22  Olaf Weber  <olaf@infovore.xs4all.nl>
951         * texmfmp.c (parse_options): Add -output-format for the pdf*TeX
952         family.
954         * texmfmp.c: Changes for Aleph.
956         * texmfmp.c (long_options): Enable "enc" option.
958 2004-03-16  Olaf Weber  <olaf@infovore.xs4all.nl>
960         * texmfmp.c: Allow file:line:error style messages to be enabled
961         from texmf.cnf.  From Akira Kakuto <kakuto@fsci.fuk.kindai.ac.jp>.
963 2004-02-26  Olaf Weber  <olaf@infovore.xs4all.nl>
965         * texmfmp.c: Rename isprintable to xprn.
967         * win32main.c: Sync with TeXlive.
969         * texmfmp.c: Add -enc option.
971         * texmfmp.c: Add support for pdfxTeX.
973 2003-02-16  Olaf Weber  <olaf@infovore.xs4all.nl>
975         * texmfmp.c: Update banners for TeX 3.141592, MF 2.71828.
977 2003-02-07  Olaf Weber  <olaf@infovore.xs4all.nl>
979         * texmfmp.c: e-Omega support.
981 2003-01-24  Olaf Weber  <olaf@infovore.xs4all.nl>
983         * texmfmp.c (setupcharset): Do not adapt the isprintable array to
984         the locale.
986 2003-01-10  Olaf Weber  <olaf@infovore.xs4all.nl>
988         * printversion.c (printversionandexit): Update copyright notice
989         years.
991 2002-12-14  Olaf Weber  <olaf@infovore.xs4all.nl>
993         * texmfmp.c: Remove some unsused variables.
995 2002-11-11  Olaf Weber  <olaf@infovore.xs4all.nl>
997         * texmfmp.c: Implement a -parse-first-line option.  With the
998         current code it is possible to switch %&-line parsing on from the
999         command line.  To switch it off when it is enabled in texmf.cnf
1000         requires the use of an environment variable.
1002 2002-10-20  Olaf Weber  <olaf@infovore.xs4all.nl>
1004         * texmfmp.c: Add support for -jobname option.
1006 2002-10-06  Olaf Weber  <olaf@infovore.xs4all.nl>
1008         * texmfmp.c (maybe_parse_first_line): Split
1009         maybe_parse_first_line: maybe_parse_first_line is called to set
1010         parse_first_line_p for TeX, MF, MP, and parse_first_line is called
1011         to do the actual parsing.
1013         * texmfmp.c: Add support for mktexfmt; from Fabrice Popineau.
1015 2002-06-04  Olaf Weber  <olaf@infovore.xs4all.nl>
1017         * texmfmp.c: Do not allow texmf.cnf to set the src_specials
1018         option.
1020 2002-06-02  Olaf Weber  <olaf@infovore.xs4all.nl>
1022         * texmfmp.c: Change handling of source specials so that there is a
1023         single flag, src_specials_p, which can be used to see if any
1024         source specials are generated.
1026         * win32main.c: From Fabrice.
1028 2002-04-02  Olaf Weber  <olaf@infovore.xs4all.nl>
1030         * texmfmp.c [Omega] (ipcpage,gettexstring): Correction of the way
1031         the strstartar array is handled.  Reported by Akira Kakuto
1032         <kakuto@fsci.fuk.kindai.ac.jp>
1034 2001-11-27  Olaf Weber  <olaf@infovore.xs4all.nl>
1036         * texmfmp.c (initscreen): Clarify message generated when an X
1037         window cannot be opened.
1039 2001-11-25  Olaf Weber  <olaf@infovore.xs4all.nl>
1041         * texmfmp.c: Remove unnecessary casts to (int*).  If C++ ->
1042         NO_MF_ASM.
1044         * alloca.c: Changes to allow this file to compile with C++.
1046 2001-11-19  Olaf Weber  <olaf@infovore.xs4all.nl>
1048         * texmfmp.c: Changes to keep C++ compilers from choking.
1050         * openclose.c: Remove double declaration of recorder_name, make
1051         prototype of open_input consistent with cpascal.h.
1053 2001-11-18  Olaf Weber  <olaf@infovore.xs4all.nl>
1055         * uexit.c: Changes to keep C++ compilers from choking.
1057         * texmfmp.c: Changes to keep C++ compilers from choking.  Changes
1058         to support the filename recorder.
1060         * printversion.c: Changes to keep C++ compilers from choking.
1062         * openclose.c: Changes to keep C++ compilers from choking.
1063         (recorder_start): New function, starts filename recorder.
1064         (recorder_change_filename): New function, change the name of the file
1065         used by the filename recorder.
1066         (open_input,open_output): Record filename, starting recorder if
1067         necessary.
1069         * chartostring.c: Changes to keep C++ compilers from choking.
1071         * basechsuffix.c: Changes to keep C++ compilers from choking.
1073 2001-11-14  Olaf Weber  <olaf@infovore.xs4all.nl>
1075         * texmfmp.c (getrandomseed): If available use gettimeofday or
1076         ftime to obtain a random seed number.  These functions have a
1077         higher resolution, so fix the problem that subsequent MF or MP
1078         runs could have the same seed.
1080 2001-10-30  Olaf Weber  <olaf@infovore.xs4all.nl>
1082         * texmfmp.c: Add support for source specials.
1084         * openclose.c: Add support for file:line:style messages.
1086 2001-10-26  Olaf Weber  <olaf@infovore.xs4all.nl>
1088         * texmfmp.c: Implement -tex=program option for mp.
1090 2001-10-24  Olaf Weber  <olaf@infovore.xs4all.nl>
1092         * usage.c (usage): Remove first argument, should now only be
1093         called on abnormal exit.
1094         (usage_help): Print help message, implies a normal exit.
1096         * texmfmp.c: Modify usage/usage_help invocation.
1098         * eofeoln.c (readln): New function, read a line and accept CRNL,
1099         CR, and NL as end-of-line delimiters.
1101 2001-04-23  Olaf Weber  <olaf@infovore.xs4all.nl>
1103         * eofeoln.c (eoln): Accept both CR and LF as end-of-line
1104         characters.
1106 2000-08-25  Olaf Weber  <olaf@infovore.xs4all.nl>
1108         * texmfmp.c (setupboundvariable): Add parentheses for clarity, and
1109         to silence stupid compilers.
1111 2000-05-03  Olaf Weber  <olaf@infovore.xs4all.nl>
1113         * texmfmp.c (calledit): The first argument should be a pointer to
1114         packedASCIIcode.  This matters for Omega.  From "C.M. Connelly"
1115         <c@eskimo.com>.
1117 2000-04-21  Olaf Weber  <olaf@infovore.xs4all.nl>
1119         * texmfmp.c [WIN32]: Add support for -oem option.  From Fabrice.
1121 2000-04-13  Olaf Weber  <olaf@infovore.xs4all.nl>
1123         * openclose.c: Disabled the supporting code for remembering the
1124         full name while the code for C style error messages and source
1125         specials is under review.
1127 2000-04-03  Olaf Weber  <olaf@infovore.xs4all.nl>
1129         * openclose.c (open_input): Save full name of found file in
1130         full_name_of_file variable.  For "C-style" error messages and
1131         source-file specials.  After Stefan Ulrich
1132         <ulrich@cis.uni-muenchen.de> and Fabrice Popineau
1133         <Fabrice.Popineau@supelec.fr>.
1135 2000-01-13  Olaf Weber  <olaf@infovore.xs4all.nl>
1137         * texmfmp.c (parse_options): Stop option-processing at the first
1138         non-option, so that a command line like 'tex \&sgmlbase
1139         -lhtmlbase.tex -ousing.html using.html' feeds the '-lhtmlbase.tex'
1140         and '-ousing.html' to the format.  Reported by Jonathan Fine
1141         <fine@active-tex.demon.co.uk>.
1143 1999-07-12  Olaf Weber  <olaf@infovore.xs4all.nl>
1145         * texmfmp.c (maininit): Add a --default-translate-file option, to
1146         facilitate CSTeX.  Suggestion (relayed?) by Petr Olsak
1147         <olsak@math.feld.cvut.cz>.
1148         (input_line): Make sure that catching a SIGINT won't be seen as a EOF
1149         on the terminal.  Problem noticed by DEK.
1151 1999-06-28  Olaf Weber  <olaf@infovore.xs4all.nl>
1153         * openclose.c (open_input): The pdfTeX people asked that the disk
1154         not be pounded for .vf files.
1156 1999-05-29  Olaf Weber  <olaf@infovore.xs4all.nl>
1158         * texmfmp.c (opennameok): Allow ./ or its equivalent.  Use
1159         IS_DIR_SEP rather than comparing against DIR_SEP.
1161         * openclose.c (open_input): Correct comment.
1163 1999-03-15  Olaf Weber  <olaf@infovore.xs4all.nl>
1165         * texmfmp.c (parse_options): Explicit --progname override the
1166         inferred programe of the --fmt option.  Suggested by Sebastian.
1167         (ztakefraction,ztakescaled,zmakescaled,blankrectangle,paintrow): Add
1168         prototypes.  From Thomas.
1170 1999-02-14  Olaf Weber  <olaf@infovore.xs4all.nl>
1172         * texmfmp.c: The translate_filename variable is now external.  Use
1173         kpse_web2c_format to find tcx files.
1175 1999-02-06  Olaf Weber  <olaf@infovore.xs4all.nl>
1177         * texmfmp.c: Remove include for kpathsea/config.h because it is
1178         superfluous.
1179         (calledit): Use P?C macro in definition.
1181 1999-02-04  Olaf Weber  <olaf@infovore.xs4all.nl>
1183         * texmfmp.c (maybe_parse_first_line): Allow both --translate-file
1184         and -translate-file in first line.
1186         * main.c (main): Remove __cdecl, from Fabrice.
1188 1999-01-27  Olaf Weber  <olaf@infovore.xs4all.nl>
1190         * zround.c (zround): Add cast to quiet compiler.  By Fabrice.
1192         * usage.c (usage): Use KPSEDLL for kpse_bug_address.  By Fabrice.
1194         * texmfmp.c [WIN32]: include sys/timeb.h.
1195         (mainbody): Add TEXDLL to declaration.
1196         (maininit): The old main function renamed.
1197         (main): A new main function, stripped to the bones.
1198         (getrandomseed): Get a random seed from the current time.
1199         All after Fabrice.
1201         * printversion.c (printversionandexit): Add KPSEDLL for
1202         kpathsea_version_string, by Fabrice.
1204         * main.c (main): Add __cdecl, from Fabrice.
1206 1999-01-24  Olaf Weber  <olaf@infovore.xs4all.nl>
1208         * texmfmp.c: Support for pdfeTeX.  From Thomas Esser.
1210         * texmfmp.c (maybe_parse_first_line): Default to parsing if
1211         maybe_parse_first_line is not defined in texmf.cnf.
1212         (opennameok): Add an argument to specify default.
1213         (openinok): Default to "a" if no openin_any found.
1214         (openoutok): Default to "p" if no openout_any found.
1216         * mfmpw32.c: Change CRNL to NL line-endings.
1218 1999-01-14  Olaf Weber  <olaf@infovore.xs4all.nl>
1220         * texmfmp.c: Further changes and fixes for maybe_parse_first_line.
1221         Add openinnameok and openoutnameok, which call opennameok.
1222         (opennameok): Change implementation to reflect this.
1224 1999-01-13  Olaf Weber  <olaf@infovore.xs4all.nl>
1226         * texmfmp.c: Rename maybe_set_dump_default_from_input to
1227         maybe_parse_first_line.  Add TCX support in the form of allowing a
1228         --translate-file pseudo-option, as proposed by Wlodzimierz Bzyl
1229         <matwb@monika.univ.gda.pl>.
1231         * printversion.c: Correct --version output.
1233         * Makefile.in: Rename kpathsea.make to kpathsea.mk.
1235 1999-01-10  Olaf Weber  <olaf@infovore.xs4all.nl>
1237         * texmfmp.c: Update banners, add MFNOWIN ifdef.
1239         * printversion.c (printversionandexit): Improve & update message.
1241         * Makefile.in: Change of ../make/*.make to ../make/*.mk.
1243 1998-12-04  Olaf Weber  <olaf@infovore.xs4all.nl>
1245         * texmfmp.c: Replace isblank with ISBLANK, to improve handling of
1246         whitespace.
1248 1998-07-26  Olaf Weber  <olaf@infovore.xs4all.nl>
1250         * texmfmp.c (parse_options): Make --progname a no-op after --fmt
1251         has been seen.  Thus the order of these options no longer matters.
1253         * texmfmp.c: Rename openoutnameok to opennameok.
1255 Sun May 31 17:27:22 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
1257         * texmfmp.c: Add a parse_first_line configuration entry, so the
1258         %&format construct can be switched off when desired.  Suggested by
1259         Denis B Roegel.
1260         Add a --debug-format option.
1262 Mon May  4 19:41:22 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
1264         * basechsuffix.c (basenamechangesuffix): Replace call of basename
1265         with xbasename.
1267         * texmfmp.c (openoutnameok): Replace call of basename with
1268         xbasename.
1270 Tue Mar 10 06:37:51 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
1272         * texmfmp.c [TeX & IPC] (ipcpage): Remember to set begun to true
1273         once we've begun.
1275 Sun Mar  8 18:21:46 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
1277         * printversion.c (printversionandexit): Copyright year is 1998.
1279 Tue Feb 10 17:56:36 1998  Olaf Weber  <infovore@xs4all.nl>
1281         * texmfmp.c: Provide the hooks for the epsf server.  From Mathias
1282         Herberts.
1284         * eofeoln.c: Prototype eoln.  Spotted by Andreas Scherer
1285         <Andreas.Scherer@Pobox.Com>
1287         * fprintreal.c: Prototype fprintreal.  Spotted by Andreas Scherer
1288         <Andreas.Scherer@Pobox.Com>
1290 Fri Jan 23 15:01:31 1998  Olaf Weber  <infovore@xs4all.nl>
1292         * texmfmp.c: Various patches for Omega from John Plaice.
1293         (ipcpage [Omega]): Fix because string handling in Omega differs.
1294         (maybe_set_dump_default): Fix to get %& to work in more cases.
1296 Thu Dec 18 20:37:20 1997  Olaf Weber  <infovore@xs4all.nl>
1298         * texmfmp.c: Change spelling of -maketex option to -mktex.
1300 Fri Dec 12 10:22:52 1997  Olaf Weber  <infovore@xs4all.nl>
1302         * openclose.c (open_output): Don't use TEXMFOUTPUT value if it is
1303         the empty string.
1305         * texmfmp.c (openoutnameok): Rewritten to support three levels of
1306         permissiveness.
1307         (main): Assignment to shellenabledp has been rewritten: we now
1308         enable only if certain values are found.
1310 Mon Dec  1 19:05:06 1997  Olaf Weber  <infovore@xs4all.nl>
1312         * texmfmp.c (maybe_set_dump_default_from_input): Reset the program
1313         name if the dump_name changes.
1315         * texmfmp.c [WIN32 && !NO_MF_ASM]: Include "lib/mfmpw32.c" instead
1316         of "../win32/mfmpi386.c".
1318         * texmfmp.c (main, parse_options): Add support for --interaction
1319         option.
1321         * texmfmp.c (main) [eTeX]: Make sure calling e-TeX as initex or
1322         virtex works as it should.
1324 Sat Nov 29 13:06:53 1997  Olaf Weber  <infovore@xs4all.nl>
1326         * texmfmp.c (main): We assume "plain" for the dump_name iff the
1327         program was called as ini* or vir*.  And in the case of ini*, the
1328         file name will override this anyway.
1330         * texmfmp.c (callmakempx): Add xstrdup, because we end up
1331         potentially freeing a static string otherwise.  From Fabrice
1332         Popineau.
1334 Sun Nov 23 19:43:57 1997  Olaf Weber  <infovore@xs4all.nl>
1336         * texmfmp.c (openoutnameok): When we're trying to be safe, add
1337         some extra paranoia supplied by Charles Karney <karney@pppl.gov>.
1339 Sat Nov 22 19:26:13 1997  Olaf Weber  <infovore@xs4all.nl>
1341         * texmfmp.c (main): Use kpse_set_program_name and
1342         kpse_program_name instead of kpse_set_progname and
1343         program_invocation_short_name.
1345 Sat Nov 15 21:27:23 1997  Olaf Weber  <infovore@xs4all.nl>
1347         * texmfmp.c: Various changes to support Omega.
1349 Fri Nov 14 16:43:28 1997  Olaf Weber  <infovore@xs4all.nl>
1351         * texmfmp.c [eTeX,PDFTeX]: Inclusion of header file with
1352         appropriate banner.
1354 Fri Oct 24 13:41:56 1997  Olaf Weber  <infovore@xs4all.nl>
1356         * texmfmp.c: Prototypes for the mf_*_{blankrectangle,paintrow}
1357         functions.
1359 Mon Oct 20 08:16:40 1997  Olaf Weber  <infovore@xs4all.nl>
1361         * texmfmp.c [WIN32]: Added support for WIN32WIN.  Added suppport
1362         for redirection of stderr to a logfile.  Added support for asm
1363         routines.  Prototyped mainbody.
1364         (setupboudvariable): Don't try to free expansion if it is NULL.
1365         From Fabrice Popineau.
1366         
1367         * main.c (main): Prototype mainbody.  From Fabrice Popineau.
1369 Sun Oct 19 10:57:43 1997  Olaf Weber  <infovore@xs4all.nl>
1371         * printversion.c (printversionandexit): Removed web2c maintainer's
1372         name from version info.
1374 Fri Oct 17 10:33:06 1997  Olaf Weber  <infovore@xs4all.nl>
1376         * texmfmp.c: Correct prototypes for all the varieties of
1377         ...initscreen and ...updatescreen.  No prototypes for
1378         ...blankrectangle and ...paintrow.
1380         * texmfmp.c (main) [MSDOS, WIN32]: Use case-insensitive comparison
1381         for filenames on MS-DOS/MS-Windows.
1382         (openoutnameok): When testing for `unix' make sure `MSDOS' is NOT
1383         defined since DJGPP defines both.
1384         (initscreen): Use "mftalk" for DJGPP as well.
1385         From Eli Zaretskii <eliz@is.elta.co.il>.
1387 Thu Oct 16 20:34:25 1997  Olaf Weber  <infovore@xs4all.nl>
1389         * texmfmp.c (parseoptions [TeX], main): Remove everything related
1390         to the -extend-jobname option.
1392 Fri Oct  3 11:46:15 1997  Olaf Weber  <infovore@xs4all.nl>
1394         * texmfmp.c: Add prototypes for the mf_trap_* functions.  After
1395         Fabrice Popineau.
1397 Thu Oct  2 18:07:24 1997  Olaf Weber  <infovore@xs4all.nl>
1399         * texmfmp.c (main): Added locale support.  From Bernd Raichle
1400         <raichle@informatik.uni-stuttgart.de>.
1402 Tue Sep 30 12:00:13 1997  Olaf Weber  <infovore@xs4all.nl>
1404         * version.c: use version string from c-auto.h.
1406         * texmfmp.c: Changed return type of main int.
1408 Fri Mar 21 16:38:48 1997  Karl Berry  <karl@cs.umb.edu>
1410         * texmfmp.c (struct msg): Do not try to declare the zero-length
1411                 array, just leave it out.
1412         Bug from: jumper@lens.sri.com (Greg Jumper)
1414 Wed Feb 12 08:18:07 1997  Fabrice POPINEAU  <popineau@ese-metz.fr>
1416         * texmfmp.c (catch_interrupt): Win32, differentiate between user
1417         interrupt and console closing. 
1419 Mon Feb  3 18:01:42 1997  Karl Berry  <karl@cs.umb.edu>
1421         * texmfmp.c (parse_options): Check for -1, not EOF,
1422         per new getopt.
1424 Mon Jan 27 22:44:29 1997  Ulrik vieth  <vieth@thphy.uni-duesseldorf.de>
1426         * texmfmp.c (BANNER) [MP]: Update to version 0.632.
1428 Sat Jan 18 13:04:34 1997  Karl Berry  <karl@cs.umb.edu>
1430         * texmfmp.c: Update len.
1431         From: Gregor Hoffleit <flight@mathi.uni-heidelberg.de>.
1433 Thu Jan 16 14:29:50 1997  Karl Berry  <karl@cs.umb.edu>
1435         * alloca.c: New version from /gd/gnu/lib.
1437         * texmfmp.c (funny_core_dump): Move to new file.
1438         * coredump.c: New file.
1439         * Makefile.in (objects): Add coredump.o.
1440         This makes it possible for BibTeX to find the function
1441         (not that it needs it).
1442         From: Richard Walker <Richard.Walker@cs.anu.edu.au>
1444 Sun Jan  5 16:11:12 1997  Karl Berry  <karl@cs.umb.edu>
1446         * printversion.c: It's 1997 now.
1448 Sun Dec 29 17:11:03 1996  Karl Berry  <karl@cs.umb.edu>
1450         * basechsuffix.c (basenamechangesuffix): Filename comparison may
1451                 be case-insensitive.  From Fabrice.
1453 Sat Dec 28 17:37:14 1996  Karl Berry  <karl@cs.umb.edu>
1455         * texmfmp.c (ipcpage): Pass the whole DVI filename to the other
1456         end of the connection, not just the relative name.  (It may have
1457         been already started up.)
1459 Sun Dec 15 16:50:25 1996  Karl Berry  <karl@cs.umb.edu>
1461         * texmfmp.c: #if 0-out all the TCX file stuff.
1462         Suggested by David Carlisle et al.
1464 Sun Dec  8 16:40:57 1996  Karl Berry  <karl@cs.umb.edu>
1466         * openclose.c (standardinput, standardoutput): Remove these;
1467         make them globals in bibtex.ch itself.
1469         * printversion.c, texmfmp.c, usage.c: WIN32 changes.
1470         From Fabrice.
1472 Sat Dec  7 11:10:39 1996  Karl Berry  <karl@cs.umb.edu>
1474         * texmfmp.c (topenin): Rewrite to avoid strcat, for Omega.
1475         From: John Plaice <plaice@iad.ift.ulaval.ca>.
1477 Fri Dec  6 17:44:45 1996  Karl Berry  <karl@cs.umb.edu>
1479         * texmfmp.c (main) [TeX && Omega]: Initialize MakeTeX{OCP,OFM}.
1480         * openclose.c (ocptemp): New global.
1481         (open_input): Read ahead in ofm and ocp files.
1483 Tue Dec  3 15:15:14 1996  Ulrik Vieth  <vieth@thphy.uni-duesseldorf.de>
1485         * Makefile.in: Remove spurious targets for wsun.c and wx11.c.
1487 Tue Dec  3 15:15:14 1996  Ulrik Vieth  <vieth@thphy.uni-duesseldorf.de>
1489         * texmfmp.c (long_options): mpost -T or -troff doesn't take an
1490         optional argument.
1492         * Makefile.in: Remove spurious targets for wsun.c and wx11.c.
1494 Wed Nov 27 10:02:21 1996  Karl Berry  <karl@cs.umb.edu>
1496         * texmfmp.c (NO_MF_ASM) [__sun__]: Define; our assembler code
1497         doesn't work with the Solaris/x86 assembler.
1498         * mfmpi386.asm: Doc fix.
1500 Sat Nov 23 14:42:53 1996  Karl Berry  <karl@cs.umb.edu>
1502         * texmfmp.c (openoutok): Allow .tex as a special case.
1504 Fri Nov 15 16:15:32 1996  Karl Berry  <karl@cs.umb.edu>
1506         * texmfmp.c (openoutnameok): Do not free the result of basename;
1507         it's never dynamically allocated anyway.
1509 Sun Nov 10 16:37:19 1996  Karl Berry  <karl@cs.umb.edu>
1511         * texmfmp.c: Check for inimpost and virmpost instead of 
1512         inimp and virmp.
1514 Mon Oct 14 17:27:34 1996  Karl Berry  <karl@cs.umb.edu>
1516         * texmfmp.c (DUMP_EXT) [DOS]: Only truncate to .bas if DOS,
1517         not DOSISH; WinNT/Win95 support long filenames (at long last).
1518         (initscreen) [WIN32]: Use mftalk a la OS2.
1519         (get_date_and_time): Include parameter in old_handler decl.
1521 Mon Oct  7 12:49:38 1996  Karl Berry  <karl@cs.umb.edu>
1523         * Makefile.in (objects): Include printversion.o.
1524         * printversion.c: New file.
1526         * texmfmp.c: Oops, iniversion doesn't it, it's global.
1527         (parse_options): Call printversionandexit.
1529 Sun Oct  6 10:17:00 1996  Karl Berry  <karl@cs.umb.edu>
1531         * texmfmp.c (main): Initialize iniversion and virversion.
1533 Sat Sep  7 16:14:41 1996  Karl Berry  <karl@cs.umb.edu>
1535         * usage.c: Include the bug reporting address.
1537 Sun Aug  4 15:48:03 1996  Karl Berry  <karl@cs.umb.edu>
1539         * texmfmp.c (parse_options): Print the Kpathsea version string, too.
1540         * version.c: Do `Web2c VERSION' instead of `C version VERSION'.
1542 Fri Jul 26 15:47:29 1996  Karl Berry  <karl@cs.umb.edu>
1544         * Makefile.in: Remove co.make.
1546 Sat Jun  1 13:17:09 1996  Karl Berry  <karl@cs.umb.edu>
1548         * texmfmp.c (openoutnameok): Change #ifdef to TeX || MP.
1550 Fri May 24 11:38:59 1996  Karl Berry  <karl@cs.umb.edu>
1552         * texmfmp.c (main): Initialize extend_jobname.
1553         (parse_options) [TeX]: New option -extend-jobname.
1555 Sun Apr 28 15:13:22 1996  Karl Berry  <karl@cs.umb.edu>
1557         * mfmpi386.asm [ASM_NEEDS_UNDERSCORE]: #ifdef labels on new
1558         configure condition.
1559         From: Peter Breitenlohner <peb@MPPMU.MPG.DE>.
1561 Tue Apr 23 08:26:11 1996  Karl Berry  <karl@cs.umb.edu>
1563         * texmfmp.c (callmakempx): Always pass -troff, even if we got the
1564         command name from texmf.cnf.
1566 Sun Apr 21 16:59:44 1996  Karl Berry  <karl@cs.umb.edu>
1568         * texmfmp.c (parse_options): New options -maketex and -no-maketex
1569         for TeX and MF.
1571 Sat Apr 20 17:55:37 1996  Karl Berry  <karl@cs.umb.edu>
1573         * texmfmp.c [IPC_DEBUG]: Text changes.
1575 Fri Mar 22 15:30:45 1996  Karl Berry  <karl@cs.umb.edu>
1577         * Remove GPL from these files; Web2c proper can stay p.d.
1579 Sun Mar 10 16:12:14 1996  Karl Berry  <karl@cs.umb.edu>
1581         * openclose.c: Oops, forgot to #include variable.h.
1583 Fri Mar  8 16:00:20 1996  Karl Berry  <karl@cs.umb.edu>
1585         * texmfmp.c (init_maketex): Remove this; we will do it in Kpathsea
1586         instead now, in the format initialization tex-file.c.
1588         * openclose.c (open_output): Look for TEXMFOUTPUT in texmf.cnf.
1590 Wed Feb 21 11:45:02 1996  Karl Berry  <karl@cs.umb.edu>
1592         * openclose.c: Don't abort if the TFM file is empty.
1594 Sat Feb 17 15:22:52 1996  Karl Berry  <karl@cs.umb.edu>
1596         * texmfmp.c (openoutnameok): New function.
1598 Fri Feb 16 17:51:53 1996  Karl Berry  <karl@cs.umb.edu>
1600         * texmfmp.c (long_options) [NONASCII]: Include --translate
1601         conditionally.  (Really should change the help message, too.)
1603 Sat Feb 10 15:22:59 1996  Karl Berry  <karl@cs.umb.edu>
1605         * texmfmp.c (parse_options): Make DUMP_OPTION also set the user
1606         progname, since -progname sets the dump name.
1608 Fri Dec 29 17:16:42 1995  Karl Berry  <karl@cs.umb.edu>
1610         * Makefile.in: misc.make is now clean.make.
1612 Sun Dec 17 15:09:44 1995  Karl Berry  <karl@cs.umb.edu>
1614         * texmfmp.c (long_options): New option --debug-format, suggested
1615         by David Carlisle.
1617 Sun Dec 10 16:13:46 1995  Karl Berry  <karl@cs.umb.edu>
1619         * mfmpi386.asm: Remove _'s. From Wayne.
1621         * texmfmp.c (PROGRAM_VERSION) [MP]: Now at 0.631.
1622         [TeX] No asm stuff. From Gregor Hoffleit, et al.
1624 Sun Nov 26 13:39:00 1995  Karl Berry  <karl@cs.umb.edu>
1626         * texmfmp.c (main): Enable mltex extensions if --mltex option or
1627         the program name is mltex.
1629 Fri Nov 17 14:35:45 1995  Karl Berry  <karl@cs.umb.edu>
1631         * texmfmp.c (-program): New option for TeX, MF, MP. Suggested by Bernd.
1633 Thu Nov 16 16:20:03 1995  Karl Berry  <karl@cs.umb.edu>
1635         * texmfmp.c (argv, argc): Do not define as static, as we declare
1636         them extern in cpascal.h. From Andreas Scherer.
1638 Sun Nov 12 16:32:27 1995  Karl Berry  <karl@cs.umb.edu>
1640         * Makefile.in (sysopt_o): Remove this stuff. From Wayne.
1641         * texmfmp.c [i386 && GNUC && !NO_MF_ASM]: #include mfmpi386.asm
1642         instead of using the C code.
1644         * texmfmp.c: Disable shell escapes by default.
1646 Fri Oct  6 16:23:03 1995  Karl Berry  <karl@cs.umb.edu>
1648         * texmfmp.c (maybe_set_dump_default_from_input): Make %&ini set
1649         iniversion. Suggested by Wayne.
1651 Mon Oct  2 15:48:21 1995  Karl Berry  <karl@cs.umb.edu>
1653         * texmfmp.c (init_maketex): Really disable if the value is zero.
1655 Sat Sep 30 16:02:56 1995  Karl Berry  <karl@cs.umb.edu>
1657         * texmfmp.c (main) [TeX]: Look up the `noshell' config variable.
1658         (parse_options): No options -noshell and -output-comment.
1660 Sat Sep 23 15:04:54 1995  Karl Berry  <karl@cs.umb.edu>
1662         * Makefile.in (objects): Remove strtol.o, this is in kpathsea now.
1664 Fri Sep 22 15:51:13 1995  Karl Berry  <karl@cs.umb.edu>
1666         * texmfmp.c (init_maketex): New routine.
1667         (main): Call it, instead of repeating the weird code.
1669 Mon Sep  4 17:16:06 1995  Karl Berry  <karl@cs.umb.edu>
1671         * Makefile.in (objects): Remove xopenfile.o.
1672         * xopenfile.c: Move to kpathsea.
1674 Thu Aug 31 13:35:47 1995  Karl Berry  <karl@cs.umb.edu>
1676         * texmfmp.c [!MF_ASM_FRACTION] (takefraction, ...): Conditionalize
1677         the floating-point definitions on this, too.
1678         * Makefile.in (optx86.o): New target.
1679         * optx86.s: New file.
1681 Tue Aug 22 14:11:27 1995  Karl Berry  <karl@cs.umb.edu>
1683         * Makefile.in: Include rdepend.make, instead of repeating the code.
1685 Mon Jul 31 17:46:31 1995  Karl Berry  <karl@cs.umb.edu>
1687         * texmfmp.c (setupboundvariable): Call kpse_var_value, so we don't
1688         have to pass in the $. Similarly everywhere else.
1690 Sat Jul 29 19:26:33 1995  Karl Berry  <karl@cs.umb.edu>
1692         * texmfmp.c (callmakempx): Rewrite to pass -troff flag, instead of
1693         invoking troff script. And use new kpse_var_value.
1695 Fri Jul 28 11:10:26 1995  Karl Berry  <karl@cs.umb.edu>
1697         * Makefile.in (depend): Comment out this target in the
1698         distribution, it doesn't work when $srcdir != build-dir.
1700         * texmfmp.c (callmakempx): Don't call anything if the command is
1701         `none'.
1703 Tue Jul 25 13:39:04 1995  Karl Berry  <karl@cs.umb.edu>
1705         * texmfmp.c (callmakempx): Free the variable expansion.
1707 Mon Jul 24 11:48:35 1995  Karl Berry  <karl@cs.umb.edu>
1709         * texmfmp.c (callmakempx): New fn.
1711 Sun Jul 23 11:39:51 1995  Karl Berry  <karl@cs.umb.edu>
1713         * texmfmp.c (edit_value): Remove this #define.
1714         (calledit): Call kpse_var_expand for TEXEDIT et al., instead of
1715         just getenv.
1716         (ztakefraction, zmakefraction, ztakescaled, zmakescaled): Include
1717         Hobby's C code from mpmath.c.
1719 Sat Jul 22 14:20:38 1995  Karl Berry  <karl@cs.umb.edu>
1721         * openclose.c (open_input) [FUNNY_CORE_DUMP]: Recognize
1722         HackyInput... for MetaPost. Doc fixes.
1724         * texmf.c: Rename to texmfmp.c for MetaPost support.
1725         (long_options) [MP]: Add -T and -troff.
1727 Thu Jul 20 13:40:39 1995  Karl Berry  <karl@cs.umb.edu>
1729         * texmf.c (setupboundvariable) [TeX]: Remove conditional, since MF
1730         sets a couple simple variables dynamically now.
1731         (initscreen): Get MFTERM from texmf.cnf file if it's there,
1732         instead of just calling getenv.
1734 Tue Jul 18 13:40:25 1995  Karl Berry  <karl@cs.umb.edu>
1736         * texmf.c (initscreen): Give warning if they're using X, but there
1737         is no X support.
1739 Mon Jul 17 13:10:37 1995  Karl Berry  <karl@cs.umb.edu>
1741         * texmf.c (NO_FMTBASE_SHARE): Rename to NO_DUMP_SHARE.
1742         [MF]: Declare return types for window routines.
1743         Also, move trap support to another file, window/trap.c.
1745 Sun Jul 16 14:35:33 1995  Karl Berry  <karl@cs.umb.edu>
1747         * texmf.c (main): Rewrite enabling of MakeTeX* to match new
1748         configure stuff.
1750 Sat Jul 15 16:05:37 1995  Karl Berry  <karl@cs.umb.edu>
1752         * texmf.c: Doc fix.
1754 Fri Jul 14 14:31:57 1995  Karl Berry  <karl@cs.umb.edu>
1756         * texmf.c (read_char_translation_file): Compute `charssavedbycharset'.
1757         (setupcharset): Do not allow dynamic translation in initex.
1759 Thu Jul 13 14:05:24 1995  Karl Berry  <karl@cs.umb.edu>
1761         * texmf.c (setupcharset, read_char_translation_file,
1762         tcx_get_num): New functions to implement dynamic char translations.
1763         (parse_options): Add -translate-file option.
1765 Sun Jul  9 15:28:09 1995  Karl Berry  <karl@cs.umb.edu>
1767         * texmf.c (maybe_set_dump_default_from_input): Don't index
1768         argv[optind] if optind is >= argc.
1770 Tue Jul  4 16:58:54 1995  Karl Berry  <karl@cs.umb.edu>
1772         * texmf.c (maybe_set_dump_default_from_input): Finish implementing
1773         this (%&FNAME on first line => use FNAME for dump file).
1775 Thu Jun 29 17:50:38 1995  Karl Berry  <karl@cs.umb.edu>
1777         * texmf.c (parse_options) [TeX && IPC]: Concatenate TEX_IPC_HELP
1778         to the help string.
1780         * openclose.c (open_input): Detect nonexistent files correctly again.
1782 Wed Jun 21 15:54:45 1995  Karl Berry  <karl@cs.umb.edu>
1784         * texmf.c (parse_options): Add --fmt (TeX) and --base (MF).
1785         (DUMP_OPTION): #ifdef'd #define to determine which.
1787 Mon Jun 19 20:09:34 1995  Karl Berry  <karl@cs.umb.edu>
1789         * texmf.c: Add IPC support.
1790         From: Shamim Mohamed <shamim@howland.isu.edu>
1791         From: Tomas G. Rokicki <rokicki@CS.Stanford.EDU>
1793 Sat Jun 10 16:06:06 1995  Karl Berry  <karl@cs.umb.edu>
1795         * openclose.c: Doc fix.
1797 Fri Jun  9 19:36:12 1995  Karl Berry  <karl@cs.umb.edu>
1799         * main.c, texmf.c (main) [__EMX__]: Add _wildcard and _response calls.
1800         * texmf.c: Add mftalk support.
1801         (funny_core_dump, catch_interrupt) [__EMX__]: OS2 support.
1802         From: rs@purple.in-ulm.de (Ralph Schleicher).
1804 Sun Jun  4 10:30:36 1995  Karl Berry  <karl@cs.umb.edu>
1806         * eofeoln.c (eof): Return true if the file doesn't exist.
1808         * texmf.c: Add support for AMIGAWIN.  From Andreas Scherer.
1810         * alloca.c (NULL, xmalloc): Do not define these here, they're
1811         (indirectly) in config.h. From Andreas Scherer.
1813         * texmf.c (setupboundvariable): Don't complain about 0 in the cnf
1814         file if the default is also 0.
1816 Sat Jun  3 11:54:28 1995  Karl Berry  <karl@cs.umb.edu>
1818         * xopenfile.c: Include the program name in the error message.
1820         * texmf.c (setupboundvariable): If the variable is unset in
1821         texmf.cnf, the expansion is the empty string, not NULL. Also, free
1822         the expansion.
1824 Fri Jun  2 13:41:41 1995  Karl Berry  <karl@cs.umb.edu>
1826         * texmf.c (DUMP_EXT) [DOSISH]: Must be `.bas'.  From Wayne.
1827         (input_line): Cast buf_size in printf to avoid warning.
1828         (setupboundvariable): New routine for lookup of dynamic bounds.
1830 Sun May 28 17:41:49 1995  Karl Berry  <karl@cs.umb.edu>
1832         * zround.c: Compare against TeX's boundary integers (as floating
1833         point constants), instead of INTEGER_{MIN,MAX}.
1835 Fri May 26 17:47:47 1995  Karl Berry  <karl@cs.umb.edu>
1837         * strtol.c: New file, from textutils.
1838         * Makefile.in (objects): Add strtol.o.
1840 Wed May 24 17:07:39 1995  Karl Berry  <karl@cs.umb.edu>
1842         * texmf.c (parse_options): New routine for TeX & MF.
1843         (PROGRAM_VERSION, PROGRAM_HELP): Define these.
1844         (main): Call it.
1846 Sat May 20 17:28:51 1995  Karl Berry  <karl@cs.umb.edu>
1848         * xopenfile.c: Do perror if we had a full filename to try.
1850         * basechsuffix.c: Take old suffix, and only do the change if the
1851         old suffix matches.
1853         * usage.c (usage): If bad status, construct the --help message.
1855 Tue May  9 15:46:25 1995  Karl Berry  <karl@cs.umb.edu>
1857         * usage.c: Doc fix.
1859 Sat May  6 11:23:23 1995  Karl Berry  <karl@cs.umb.edu>
1861         * usage.c: New file.
1862         * Makefile.in (objects): Add it.
1864 Tue Apr 25 14:02:10 1995  Karl Berry  <karl@cs.umb.edu>
1866         * Makefile.in (library): Set to lib instead of lib.a, to match the
1867         other Makefile conventions.
1869 Sun Apr 23 10:54:35 1995  Karl Berry  <karl@cs.umb.edu>
1871         * texmf.c: Have to include {tex,mf}d.h before #ifdef TeX, so do it
1872         from the Makefile.
1874 Sat Apr 22 10:26:10 1995  Karl Berry  <karl@cs.umb.edu>
1876         * main.c (main): Call mainbody, not main_body.
1878         * openclose.c (aclose): Don't complain if the file is already closed.
1879         (texinputtype): Define this.
1881         * texmf.c (main): Do program_name stuff unconditionally, not just
1882         in vir*, and rewrite it to use program_invocation_short_name.
1884 Fri Apr 21 11:39:14 1995  Karl Berry  <karl@cs.umb.edu>
1886         * main.c: Doc fix.
1888         * input2int.c: Split off from inputint.c.
1890 Sun Apr 16 11:47:37 1995  Karl Berry  <karl@cs.umb.edu>
1892         * openclose.c (open_input, open_output): Retrieve and store the
1893         filename from name_of_file + 1, not name_of_file, to avoid extra
1894         hassles in the change files.
1896 Fri Apr 14 15:28:47 1995  Karl Berry  <karl@cs.umb.edu>
1898         * Makefile.in (objects): Include openclose.o.
1899         * openclose.c: New file, from openinout.c.
1901 Tue Feb 21 13:51:58 1995  Karl Berry  <karl@cs.umb.edu>
1903         * xopenfile.c: Have to take another arg, the original name.
1905 Mon Feb 20 17:18:59 1995  Karl Berry  <karl@cs.umb.edu>
1907         * xopenfile.c: New file.
1908         * Makefile.in (objects): Add it, and remove xfopen-pas.o.
1910 Sun Feb  5 15:33:29 1995  Karl Berry  <karl@cs.umb.edu>
1912         * basechsuffix.c: New file.
1913         * Makefile.in (objects): Add it.
1915 Tue Jan 10 13:20:47 1995  Karl Berry  <karl@cs.umb.edu>
1917         * Makefile.in (objects): Remove strpascal.o (no longer needed) and
1918         getopt.o (in kpathsea).
1920 Sun Dec 18 16:38:03 1994  Karl Berry  <karl@cs.umb.edu>
1922         * strpascal.c (errprintpascalstring, etc.): Don't need these any more?
1924 Sat Dec 17 13:42:03 1994  Karl Berry  <karl@cs.umb.edu>
1926         * mksuffixchar.c: This was short-lived.
1927         * chartostring.c: This replaces it.
1928         * Makefile.in (objects): Ditto. Also remove ourpaths.o.
1930 Mon Nov 14 15:13:50 1994  Karl Berry  <karl@cs.umb.edu>
1932         * mksuffixchar.c: New file.
1933         * Makefile.in (objects): Add it.
1935 Sun Nov 13 16:43:40 1994  Karl Berry  <karl@cs.umb.edu>
1937         * Makefile.in (objects): Add w*.o.
1938         (wsun.c, wx11.c): Add links for these.
1940 Fri Oct 28 11:14:08 1994  Karl Berry  <karl@cs.umb.edu>
1942         * strpascal.c (extendfilename): Remove this.
1944 Thu Oct 27 17:59:07 1994  Karl Berry  <karl@cs.umb.edu>
1946         * main.c (argv): Return a regular C string, instead of a Pascal string.
1948 Fri May 27 09:50:14 1994  Karl Berry  (karl@cs.umb.edu)
1950         * texmf.c (main): Don't look for USE_MAKETEX*.
1952         * c-auto.h.top, texmf.c (NO_FMTBASE_SHARE): Rename from
1953         NO_FMTBASE_SWAP.
1955 Thu May 26 20:37:24 1994  Karl Berry  (karl@cs.umb.edu)
1957         * c-auto.h.top: Why did I take out the #ifndef's? Put them back.
1959 Tue May 24 14:43:12 1994  Karl Berry  (karl@cs.umb.edu)
1961         * texmf.c (funny_core_dump): No need to declare, since we define
1962         it later in this file.
1964 Mon Apr 18 17:31:59 1994  Karl Berry  (karl@ra.cs.umb.edu)
1966         * c-auto.h.top: Rename from c-auto.h.in for autoheader convention,
1967         and don't #ifndef the #undef's.
1968         * Makefile.in: autoheader/autoconf changes.
1970 Thu Feb 24 11:00:53 1994  Karl Berry  (karl@cs.umb.edu)
1972         * ourpaths.c: Include tex-file.h instead of init-path.h.
1974 Mon Feb 21 14:29:52 1994  Karl Berry  (karl@cs.umb.edu)
1976         * Makefile.in: srcdir changes from simon.
1978         * gftodmem.h: Move here from fontutil, to simplify srcdir stuff.
1980 Wed Feb  2 11:00:47 1994  Karl Berry  (karl@cs.umb.edu)
1982         * Version 6.1.
1984 Tue Feb  1 11:25:44 1994  Karl Berry  (karl@cs.umb.edu)
1986         * Makefile.in (c-auto.h.in): New target.
1988         * common.defines (rh): Declare as a field, for TeX--Xet.
1990 Mon Jan 24 07:33:49 1994  Karl Berry  (karl@cs.umb.edu)
1992         * Version 6.0.
1994 Thu Jan 20 14:22:07 1994  Karl Berry  (karl@cs.umb.edu)
1996         * c-auto.h.in: Doc fix.
1998         * MakeTeX{TFM,MF}: Include these as samples, from
1999         pnoma@wk.estec.esa.nl.
2001 Fri Dec 24 13:48:46 1993  Karl Berry  (karl@cs.umb.edu)
2003         * getopt.c (_NO_PROTO): Define before including config.h.
2005 Tue Dec  7 10:23:59 1993  Karl Berry  (karl@cs.umb.edu)
2007         * Makefile.in (objs): Ah, flexfatal is in the library now.
2009 Sun Dec  5 15:23:47 1993  Karl Berry  (karl@cs.umb.edu)
2011         * ourpaths.c (setpaths): Remove the KPSE_MAKE_* enables, this file
2012         is not compiled in the tex/mf/bibtex directories.
2013         * texmf.c (main): Set them here.
2015         * c-auto.h.in (XVIEWWIN): Remove this, as x11-Xt should work
2016         with OpenWindows. (But leave it in configure, just for old-times'
2017         sake.)
2019 Sat Dec  4 11:29:57 1993  Karl Berry  (karl@cs.umb.edu)
2021         * flexfatal.c: New file.
2022         * Makefile.in (flexfatal.o): New target.
2023         (objs): Include it.
2025         * texmf.h (NO_DEBUG) [!TEXMF_DEBUG]: Define this.
2027         * openinout.c (make_tex_file): Pass address of nameoffile, as required.
2029 Sun Nov 14 02:30:34 1993  Karl Berry  (karl@cs.umb.edu)
2031         * version.c (VERSION_STRING) [!VERSION_STRING]: Define and protect.
2033 Fri Nov 12 19:38:26 1993  Karl Berry  (karl@cs.umb.edu)
2035         * cpascal.h (reset, rewrite): Use FOPEN_[RW]BIN_MODE instead of
2036         "r" and "w". Still not 100% right, but at least something of an
2037         improvement.
2039 Sun Nov  7 14:17:24 1993  Karl Berry  (karl@cs.umb.edu)
2041         * Makefile.in (.c.o): Use $< instead of $*.c; maybe it will help
2042         with $(srcdir) stuff?
2044         * texmf.c (input_line): Trim trailing spaces, tabs, and \r's.
2046         * lib.h: Remove, this is in Kpathsea now.
2048         * config.h (INTEGER_TYPE) [LONG_64_BITS && !NO_FMTBASE_SWAP]:
2049         Define as int in this case.
2050         (INTEGER_MAX,INTEGER_MIN): Define these as well.
2051         * zround.c (zround): Use INTEGER_{MAX,MIN}.
2052         From raichle@informatik.uni-stuttgart.de.
2054 Sat Nov  6 13:21:11 1993  Karl Berry  (karl@cs.umb.edu)
2056         * c-auto.h.in (NEXTWIN, REGISWIN): #undef by default.
2057         * texmf.c (mfwin_sw): Add cases for regis and next.
2058         (mf_{next,regis}_*) [NEXT,REGISWIN]: Declare.
2060 Tue Oct 12 14:03:23 1993  Karl Berry  (karl@cs.umb.edu)
2062         * openinout.c (open_input): Allow HackyCoreDump's for MF, too.
2064         * ourpaths.c (testreadaccess): Update fontmap stuff, use it for GF
2065         and PK as well as TFM.
2067         * texmf.c: Doc fix.
2069         * common.defines (cinttype): Declare.
2070         * cpascal.h (cinttype): Define.
2072 Sun Oct 10 16:17:48 1993  Karl Berry  (karl@cs.umb.edu)
2074         * ourpaths.c: Rewrite for new kpathsea facilities.
2076 Sun Oct  3 13:49:40 1993  Karl Berry  (karl@cs.umb.edu)
2078         * ourpaths.c: kpathsea/pathsrch.h has been renamed to pathsearch.h.
2080         * config.h [ibm032]: Remove all this stuff; I don't think it's
2081         needed any longer.
2083         * Makefile.in (*clean): Include standard targets.
2085 Mon Jun  7 08:29:45 1993  Karl Berry  (karl@cs.umb.edu)
2087         * cpascal.h (addressofint): Do not cast to int first.
2089 Mon May 31 09:40:00 1993  Karl Berry  (karl@cs.umb.edu)
2091         * config.h (EXIT_SUCCESS): Move to c-std.h.
2093 Tue May 25 14:37:16 1993  Karl Berry  (karl@cs.umb.edu)
2095         * config.h (EXIT_SUCCESS): Rename from EXIT_SUCCESS_CODE.
2096         Change callers in various files.
2098 Fri May 21 11:56:02 1993  Karl Berry  (karl@cs.umb.edu)
2100         * texmf.c (paintrow): Put args in the printf for paintrow.
2102         * texmf.c (custom_default) [INI]: Declare conditionally, since
2103         it's used conditionally.
2104         (main): Declare as void.
2106         * openinout.c (open_input): Rename IS_PATH_SEP to IS_DIR_SEP.
2108         * alloca.c: Replace with version from gcc 2.4.0.
2110         * config.h (testreadaccess): Declare.
2112         * xfopen-pas.c: Remove unused variable `cp'.
2114         * main.c (main): Return 0 instead of using uexit.
2116 Tue May 18 13:43:07 1993  Karl Berry  (karl@cs.umb.edu)
2118         * texmf.c (do_undump) [VMS]: Remove this.  barabash says it works ok.
2120 Thu May 13 16:53:47 1993  Karl Berry  (karl@cs.umb.edu)
2122         * getopt.c (my_index): Return const char *, and change callers.
2124         * Not quite all of Bill's changes below have been merged (not the
2125         new descrip.mms or convert.com files, in particular), but just to
2126         get the gist, I'll include the whole log.
2128 Wed Mar 24 12:28:25 1993  Bill Barabash  (barabash@ops5.lmo.dec.com)
2130         * c-auto.h : It's too complicated to convert the big hairy config
2131         shell script;  I just created a VMS-acceptable c-auto.h manually.
2133         * c-std.h : Declare VMS's unix-compatibillity routines by including
2134         <unixlib.h> and <unixio.h>;  don't declare popen() on VMS.
2136         * common.h : Declare EXIT_SUCCESS_CODE to be 1 on VMS, 0 elsewhere.
2137         Throw away the VMS system library's getname() declaration, it steps
2138         on a WEB procedure and is not needed.  Declare routines eof(),
2139         testreadaccess(), zinput2ints(), extendfilename(), and uexit().
2141         * convert.com : VMS command procedure based on the shell script
2142         "convert" (new file).
2144         * descrip.mms : VMS equivalent of makefile (new file).
2146         * dirio.h : Don't declare xopendir and xclosedir on VMS.
2148         * getopt.h : Make my_index accept and return a const character
2149         pointer.  Have it return NULL instead of 0 when necessary.
2151         * main.c : Add function prototype for main_body().
2153         * openinout.c, pascal.h, c-auto.h : For BibTeX, use stdin and stdout
2154         on VMS (standardinput and standardoutput become macros).
2156         * pascal.h : On VMS use system-defined abs() and fabs().
2158         * paths.h : Hand-coded for VMS.
2160         * pathsrch.c : On VMS, don't compile routine expand_subdir(), and
2161         look in current directory for input file if path searching fails.
2162         Routine absolute_p() can now deal with VMS directory specifications.
2164         * texmf.c : Declare argc so that it links cleanly.  Add an unused
2165         formal parameter to catch_interrupt so that it can be passed to
2166         signal without the compiler complaining.  Cast argument to time()
2167         as a (time_t *) rather than as a (long *).  Get rid of the VMS
2168         undump code contributed by joe%ril3.decnet@hydra.tamri.com -- it
2169         causes the TRAP test to fail.
2171         * texmf.h : Add function prototypes for routines in texmf.c and
2172         openinout.c.
2174 Thu May 13 14:43:42 1993  Karl Berry  (karl@cs.umb.edu)
2176         * cpascal.h (fabs) [fabs]: Undefine if it's already defined.
2178 Sun May  9 09:53:05 1993  Karl Berry  (karl@cs.umb.edu)
2180         * convert: Redirect error echo to stderr; exit 0 if no error.
2182         * config.h: Changes for kpathsea.  Toss volatile defn.
2184         * Makefile.in (objs): Remove kpathsea files.
2186 Fri Apr 30 15:06:29 1993  Karl Berry  (karl@cs.umb.edu)
2188         * openinout.c (make_tex_file): Free cmd.
2190 Fri Apr 16 19:42:15 1993  Karl Berry  (karl@cs.umb.edu)
2192         * find-suffix.c: Declare arg and return string const.
2193         * lib.h (find_suffix): Change decl.
2195         * c-pathch.h (IS_PATH_SEP) [DOS & otherwise]: New defn.
2196         * pathsrch.c, openinout.c, find-suffix.c: Consequent changes.
2198 Mon Apr 12 06:14:42 1993  Karl Berry  (karl@cs.umb.edu)
2200         * Makefile.in (clean): Remove core here.
2202 Sat Apr 10 15:20:25 1993  Karl Berry  (karl@cs.umb.edu)
2204         * openinout.c (make_tex_file): Throw away all output.
2206         * texmf.c (swap_items): Add case for 16-byte items.  
2207         (From james@miller.cs.uwm.edu.)
2209         * texmf.c (get_date_and_time): Cast arg to time_t *, not long *.
2210         (From james@miller.cs.uwm.edu.)
2212         * texmf.c (get_date_and_time) [SA_INTERRUPT]: Add code for SunOS
2213         4.1, from ken@cs.toronto.edu.
2215         * pathsrch.c (expand_subdir) [UNIX_ST_NLINK]: Don't check st_link
2216         if we don't have Unix semantics.
2217         * c-auto.h.in (UNIX_ST_NLINK): Define if not DOS or VMS or VMCMS.
2218         (Suggested by buers@dg1.chemie.uni-konstanz.de.)
2220         * texmf.c (catch_interrupt): Declare a(n unused) parameter `arg'
2221         (from beebe).
2222         (get_date_and_time): Don't do assignment in if condition.
2224 Fri Apr  9 16:10:06 1993  Karl Berry  (karl@cs.umb.edu)
2226         * xrealloc.c (xrealloc): Don't print old_ptr.
2228         * c-std.h (stddef.h): Don't include.
2230         * openinout.c (make_tex_file): cmd is a string, not a character.
2232 Mon Mar 29 08:33:51 1993  Karl Berry  (karl@cs.umb.edu)
2234         * cpascal.h (abs) [abs]: Undef.
2236 Sat Mar 13 10:22:54 1993  Karl Berry  (karl@cs.umb.edu)
2238         * Makefile.in (CPPFLAGS): Add @DEFS@, for -DHAVE_CONFIG_H.
2240         * texmf.h: Include cpascal.h instead of config.h.
2242         * common.h: Merge into config.h and remove.
2244         * common.h (pascal.h): Don't include this.
2245         * cpascal.h: Rename from pascal.h.
2247         * convert: Exit with bad status if the pipeline failed; use
2248         cpascal.h instead of config.h.
2250         * openinout.c (make_tex_file): Call xmalloc instead of declaring
2251         an array; put quotes around the arg of sh -c.
2253 Sun Feb 28 11:10:48 1993  Karl Berry  (karl@cs.umb.edu)
2255         * c-auto.h.in (MAKE_TEX_*): Replace single NO_MAKETEX with
2256         individual symbols.
2258         * openinout.c (maketex*) [MAKE_TEX*]: Make them individually
2259         selectable. 
2261 Sun Feb 21 08:28:06 1993  Karl Berry  (karl@cs.umb.edu)
2263         * Version 5.851d.
2265         * common.defines (maketexmf): New defn.
2267         * Makefile.in (.c.o): Put $(CFLAGS) after $(CPPFLAGS).
2269         * openinout.c: Include c-namemx.h.
2271 Tue Feb 16 17:53:54 1993  Karl Berry  (karl@cs.umb.edu)
2273         * Makefile.in (install-exec, install-data): New targets.
2275 Mon Feb 15 10:19:02 1993  Karl Berry  (karl@cs.umb.edu)
2277         * c-auto.h.in (NO_MAKETEX): New #define for installers.
2279         * openinout.c (maketex*): New routines, rewrite from yesterday.
2281         * common.defines (maketextex): Define.
2283 Sun Feb 14 11:54:30 1993  Karl Berry  (karl@cs.umb.edu)
2285         * openinout.c (open_input) [BibTeX]: Only do NO_FILE_PATH stuff if
2286         we are BibTeX; declare tfmtemp only when we need it, instead of at
2287         the outer level; add support for MakeTeX{TeX,MF,TFM}.
2289 Fri Feb 12 07:33:49 1993  Karl Berry  (karl@cs.umb.edu)
2291         * c-auto.h.in (const): Add defn for Autoconf to use.
2293         * paths.h.in (TEXFORMATS): Only define once.
2295 Sat Jan 30 09:46:04 1993  Karl Berry  (karl@cs.umb.edu)
2297         * fontmap.c (map_lookup): Only extend the filename if we have one.
2299 Tue Jan 26 16:07:21 1993  Karl Berry  (karl@cs.umb.edu)
2301         * version.c: New file to define web2c version.
2302         * common.h (versionstring): Declare it here.
2303         * common.defines (versionstring): And here.
2304         * Makefile.in (objs): Add it.
2306         * c-auto.h.in (X11WIN) [XVIEWWIN]: Undefine.
2308 Mon Jan 25 12:04:28 1993  Karl Berry  (karl@cs.umb.edu)
2310         * ourpaths.c (testreadaccess.c): Don't free `found' after copying,
2311         as it might not be malloc-ed.
2313 Sun Jan 24 11:04:37 1993  Karl Berry  (karl@cs.umb.edu)
2315         * lib.h (FATAL*, WARNING*): Use `str' instead of `s' for macro formals.
2317         * xcalloc.c: Remove prototypes.
2318         * remove-suffx.c, line.c, fontmap.c: Cast *alloc calls to avoid
2319           silly warnings.
2321         * texmf.c (swap_items): Rewrite as four while loops, since `size'
2322         is invariant.  (From Tom.)
2324 Sat Jan 23 10:13:51 1993  Karl Berry  (karl@cs.umb.edu)
2326         * remove-suffx.c: New file.
2328 Thu Jan 21 11:21:14 1993  Karl Berry  (karl@cs.umb.edu)
2330         * Makefile.in (objs5): New variable.
2331         ($(lib)): Include it in the archive.
2333         * extend-fname.c, find-suffix.c, xfopen.c, fontmap.[ch]: New files.
2335         * ourpaths.c, fontmap.[ch]: Implement a mapping file.
2337 Sat Jan 16 08:36:36 1993  Karl Berry  (karl@cs.umb.edu)
2339         * c-auto.h.in, paths.h.in: Doc fix.
2341 Sun Jan  3 13:27:37 1993  Karl Berry  (karl@cs.umb.edu)
2343         * config.h: Move some includes to c-std.h.
2345         * xcalloc.c: New file.
2346         * Makefile.in (objs): Add it.
2348         * Makefile.in (distclean): Remove Makefile; depend on clean.
2350 Fri Jan  1 14:17:37 1993  Karl Berry  (karl@cs.umb.edu)
2352         * c-auto.h.in, c-memstr.h, dirio.h: Changes for new Autoconf.
2354         * texmf.c (RETSIGTYPE): Don't default to void.
2356 Fri Dec 18 13:16:47 1992  Karl Berry  (karl@cs.umb.edu)
2358         * strpascal.c (makesuffixpas): Rename to `extendfilename'.
2359         * common.defines (extendfilename): Declare.
2361 Wed Dec 16 18:12:51 1992  Karl Berry  (karl@cs.umb.edu)
2363         * common.defines (atoi): Declare.
2365 Mon Dec 14 07:25:03 1992  Karl Berry  (karl@cs.umb.edu)
2367         * ourpaths.c: Include paths.h.
2369 Sun Dec 13 17:06:15 1992  Karl Berry  (karl@cs.umb.edu)
2371         * c-auto.h.in: Merge stuff from site.h.
2372         * site.h: Delete.
2373         * config.h: Don't include site.h.
2375 Sat Dec 12 13:08:52 1992  Karl Berry  (karl@cs.umb.edu)
2377         * Makefile.in: Rewrite from Makefile.
2379         * openinout.c (open_{in,out}put): Take an extra arg for the fopen mode.
2380         * texmf.h ([bw]open{in,out}): Use appropriate fopen modes.
2381         * pascal.h (aopen{in,out}): Likewise.
2383 Fri Dec 11 15:19:25 1992  Karl Berry  (karl@cs.umb.edu)
2385         * texmf.c: Change ctype references to use uppercase macros.
2387 Sat Dec  5 15:21:24 1992  Karl Berry  (karl@cs.umb.edu)
2389         * texmf.h (writedvi, writegf): Check the return status of the write.
2391         * config.h (UNSIGNED_SHORT_STRING): Toss; I think everyone
2392         understands `unsigned short' now.
2394 Thu Dec  3 13:21:06 1992  Karl Berry  (karl@cs.umb.edu)
2396         * texmf.c: include c-pathch.h.
2398 Sun Nov 29 14:50:04 1992  Karl Berry  (karl@cs.umb.edu)
2400         * strpascal.c: include c-pathch.h.
2402 Mon Nov 16 08:12:16 1992  Karl Berry  (karl@cs.umb.edu)
2404         * openinout.c: include c-pathch.h.
2406 Tue Nov 10 06:49:33 1992  Karl Berry  (karl@cs.umb.edu)
2408         * texmf.c (main): Change '/' to PATH_SEP.
2409         * openinout.c (open_input): Likewise.
2410         * strpascal.c (makesuffixpas): And here.
2412 Mon Nov  9 09:38:58 1992  Karl Berry  (karl@cs.umb.edu)
2414         * openinout.c (open_input): Use FOPEN_RBIN_MODE instead of simply "r".
2415         (open_output): Analogously.
2417         * c-auto.h.in (DOS): New definition, #undef'd by default.
2419 Fri Nov  6 14:52:34 1992  Karl Berry  (karl@cs.umb.edu)
2421         * Makefile (lib): Use $(AR) and $(ARFLAGS) several times.
2422         (AR, ARFLAGS): New variables.
2423         (objs1..4): New variables, breaking up the old $(objs).
2425 Tue Oct 27 08:16:41 1992  Karl Berry  (karl@cs.umb.edu)
2427         * openinout.c (open_output): Remove `openable', just use *f !=
2428         NULL; also, don't chdir to the envvar's directory, just prepend
2429         the value and change nameoffile.
2431         * site.h (TEXPOOLNAME): More instructions for MLTeX.
2433 Sun Oct 25 06:26:22 1992  Karl Berry  (karl@cs.umb.edu)
2435         * getopt.c: New version.
2437 Tue Oct  6 08:17:45 1992  Karl Berry  (karl@cs.umb.edu)
2439         * site.h.in: Doc fix.
2441 Thu Sep 24 11:06:14 1992  Karl Berry  (karl@cs.umb.edu)
2443         * site.h.in: change instructions for OpenWindows.  (mroth@afit.af.mil)
2445 Thu Sep 17 08:29:53 1992  Karl Berry  (karl@hayley)
2447         * texmf.c (initscreen): if DISPLAY is set, assume we're running
2448           under X11 for MF online output.
2450         * texmf.c: remove BibTeX conditionals.
2452 Tue Sep  8 17:06:54 1992  Karl Berry  (karl@hayley)
2454         * c-auto.h.in (_MINIX, _{ALL,POSIX,POSIX_1}_SOURCE): add #undef's
2455           for configure to define.
2457 Fri Sep  4 09:01:59 1992  Karl Berry  (karl@hayley)
2459         * Makefile (extraclean): new target.
2461 Fri Aug 14 07:02:41 1992  Karl Berry  (karl@hayley)
2463         * ourpaths.h (path_constant_type): remove trailing comma from
2464           enum, since ANSI stupidly disallows this.
2466 Wed Aug 12 16:20:10 1992  Karl Berry  (karl@hayley)
2468         * texmf.c (catch_interrupt): change return type to `RETSIGTYPE'.
2470         * config.h: remove conditional include of c-memstr if `index' is
2471           defined.
2473 Sat Aug  8 10:11:18 1992  Karl Berry  (karl@hayley)
2475         * openinout.c (EXTERN) [!BibTeX]: define as `extern'.  How did
2476           this ever work?
2478 Fri Jul  3 11:23:32 1992  Karl Berry  (karl@hayley)
2480         * texmf.c (input_line): ignore \r's at the end of the line.
2482         * site.h.in (XVIEWWIN): undef by default.
2483         * texmf.c (X11WIN) [MF && (TRAP || INI)]: #undef.
2485 Thu Jul  2 16:11:46 1992  Karl Berry  (karl@hayley)
2487         * Makefile (CPPFLAGS): new variable
2488         (.c.o): use it.
2489         (cflags): change to CFLAGS.
2491 Tue Jun 23 09:09:49 1992  Karl Berry  (karl@hayley)
2493         * Makefile (CC): change default to `gcc -posix'.
2495         * site.h.in (NONASCII): document that xord and xchr are ignored
2496           unless this is defined.
2498 Thu Jun 11 09:20:51 1992  Karl Berry  (karl@hayley)
2500         * zround.c (zround): return LONG_MAX or LONG_MIN if the double
2501           being rounded is outside the range of `integer'.
2502         * c-minmax.h (LONG_{MIN,MAX}): define these if they aren't defined
2503           by the system.
2505 Fri May 15 10:23:47 1992  Karl Berry  (karl@hayley)
2507         * getopt.[ch]: new versions.
2509 Thu May 14 19:21:40 1992  Karl Berry  (karl@claude.cs.umb.edu)
2511         * Version 5.851c.
2513 Wed May 13 14:32:14 1992  Karl Berry  (karl@hayley)
2515         * pathsrch.c (initalize_path_list): initialize path to the
2516           original path.
2518 Mon May  4 14:50:20 1992  Karl Berry  (karl@hayley)
2520         * c-auto.h.in: doc fix.
2522 Sun May  3 08:06:07 1992  Karl Berry  (karl@hayley)
2524         * main.c (argv): use a prototype if possibile.
2526         * texmf.ch (*dumpthings): parenthesize `len'.
2528 Wed Apr 29 16:07:52 1992  Karl Berry  (karl@hayley)
2530         * texmfmem.h (memoryword): had mutually exclusive #if's.
2531         (twohalves.u): don't need junk at the end?
2533 Sat Apr 25 08:55:34 1992  Karl Berry  (karl@hayley)
2535         * c-auto.h.in (__CHAR_UNSIGNED__): protect with #ifndef.
2537         * site.h.in: remove #ifndef's from around the #define's.  I don't
2538           think these help anything.
2540 Thu Apr 23 07:49:18 1992  Karl Berry  (karl@hayley)
2542         * c-auto.h.in: new file.
2544 Wed Apr 22 12:43:30 1992  Karl Berry  (karl@hayley)
2546         * texmf.c: SIGTYPE is now RETSIGTYPE.
2548 Sun Apr 19 10:26:16 1992  Karl Berry  (karl@hayley)
2550         * texmf.c: had sense of tests on FMTBASE_SWAP reversed.
2552 Thu Apr 16 13:49:36 1992  Karl Berry  (karl@ra.cs.umb.edu)
2554         * Version 5.851b.
2556 Tue Apr 14 17:06:57 1992  Karl Berry  (karl@hayley)
2558         * common.defines (BSTINPUTPATHBIT): define.
2560 Sun Apr 12 11:42:14 1992  Karl Berry  (karl@hayley)
2562         * common.defines (BSTINPUTPATH): define.
2563         * ourpaths.h (path_constant_type): add BSTINPUTPATH.
2564         (BSTINPUTPATHBIT): define.
2565         * site.h-dist (BSTINPUTS): default is TEXINPUTS.
2566         * ourpaths.c (setpaths): add stuff for BSTINPUTS.
2568 Sat Apr 11 09:26:55 1992  Karl Berry  (karl@hayley)
2570         * uexit.c: include config.h, for EXIT_SUCCESS_CODE.
2572 Fri Apr 10 16:56:18 1992  Karl Berry  (karl@hayley)
2574         * ourpaths.c (setpaths): don't pass cwd to initialize_path_list.
2576         * site.h-dist (*INPUTS, TEXFONTS): add . to these paths.
2578 Wed Apr  8 15:34:21 1992  Karl Berry  (karl@hayley)
2580         * texmf.c [FMTBASE_SWAP]: make swapping conditional.
2581         * site.h-dist: add it here for configuration.
2583         * main.c (do_undump) [VMS]: add code from joe.
2585         * main.c: use exit, not exit.
2587         * Makefile (objs): add uexit.o.
2588         * uexit.c: new file.
2589         * pascal.h (uexit): remove this, as it's now a function.
2591 Fri Apr  3 09:55:00 1992  Karl Berry  (karl at hayley)
2593         * Version 5.851a.
2595 Thu Apr  2 11:57:06 1992  Karl Berry  (karl at apollo.cs.umb.edu)
2597         * c-memstr.h (memcpy) [!NEED_MEMORY_H]: conditionalize.
2599 Thu Apr  2 10:51:11 1992  Karl Berry  (karl at ra.cs.umb.edu)
2601         * xstat.c (xlstat): (un)prototype-ize.
2603         * c-limits.h: test for FLOAT_H_MISSING instead of relying on
2604           _POSIX_VERSION to include <float.h>.
2606         * c-pathmx.h [_POSIX_VERSION]: don't do pathconf stuff.
2608 Wed Apr  1 16:57:30 1992  Karl Berry  (karl at hayley)
2610         * common.h (FATAL): use `str' as the arg name, not `s', since we
2611           need to do `%s'.
2613         * xopendir.c (xclosedir): prototype-ize it.
2615         * dir-p (leaf_dir_p): don't initialize a structure (!).
2617         * {concat,pathsrch,texmf,xmalloc,xstrdup,xrealloc}.c: cast results from
2618           xmalloc/malloc/realloc (argh).
2620         * alloca.c: comment things after #endif.
2622         * site.h-dist (REGFIX): put this back.
2624         * c-proto.h (P5C) [!__STDC__]: insert missing backslash.
2626 Mon Mar 30 07:28:25 1992  Karl Berry  (karl at hayley)
2628         * texmfmem.h (u, v, twohalves) [big MF]: define the halfword junks
2629           again.
2631 Sun Mar 29 15:33:29 1992  Karl Berry  (karl at hayley)
2633         * alloca.c: new version from gcc 2.1.
2635 Sat Mar 28 09:46:53 1992  Karl Berry  (karl at hayley)
2637         * main.c (main): return int, exit (EXIT_SUCCESS_CODE).
2638         * texmf.c (main): likewise.
2640         * config.h (SCHAR_TYPE): use `__CHAR_UNSIGNED__' again.
2642 Thu Mar 26 06:57:38 1992  Karl Berry  (karl at hayley)
2644         * Makefile (clean, realclean): depend on mostlyclean.
2646 Sun Mar 22 09:16:04 1992  Karl Berry  (karl at hayley)
2648         * common.h [BibTeX]: remove the include of <setjmp.h>, as
2649           bibtex/convert does it.
2651 Sat Mar 21 11:09:55 1992  Karl Berry  (karl at hayley)
2653         * common.defines (input2ints): for patgen2.
2654         * inputint.c (zinput2ints): new routine.
2655         * pascal.h (input2ints): new macro to call it.
2657         * config.h: include c-pathmx.h.
2659         * common.defines (TEXPOOLNAME): declare as a constant.
2661 Fri Mar 20 16:10:44 1992  Karl Berry  (karl at hayley)
2663         * paths.h: new file.
2665         * config.h: update for new files c-*.h.
2666         * common.h: remove stuff that is now in lib.h.
2668 Thu Mar 19 11:52:17 1992  Karl Berry  (karl at hayley)
2670         * ourpaths.c (append_path_list): remove this.
2672         * ourpaths.c (setpaths): use the envvar TEXFONTS if VFFONTS isn't set.
2674 Tue Feb 11 10:27:38 1992  Karl Berry  (karl at hayley)
2676         * config.h [NEED_MEMORY_H]: include <memory.h>.
2678         * config.h [LIMITS_H_MISSING]: include <sys/param.h>.
2680 Sun Feb  2 07:54:53 1992  Karl Berry  (karl at hayley)
2682         * pathsearch.c (parse_envpath): remove the second / before doing
2683           subdirectories.
2685         * pascal.h (optiontable): remove, as getopt no longer has a global
2686           table for the long options.
2688 Sat Feb  1 15:32:50 1992  Karl Berry  (karl at hayley)
2690         * ourpaths.c (setpaths): use TEXFONTS if PKFONTS/GFFONTS is not
2691           set for GF/PK files, as the documentation claims.
2693         * ourpaths.c (setpaths): remove subdirectory stuff.
2694         * pathsearch.[ch]: new versions to integrate subdirectories into
2695           the main paths.
2697         * texmf{,mem}.c (WEB2C_BIGENDIAN): rename to WORDS_BIGENDIAN.
2699 Fri Jan 31 11:54:46 1992  Karl Berry  (karl at hayley)
2701         * strpascal.c ({null,space}_terminate): do not translate using
2702           xord/xchr (from raichle@azu.informatik.uni-stuttgart.de).
2704 Fri Jan 24 07:14:05 1992  Karl Berry  (karl at hayley)
2706         * Makefile (cflags): don't include -I../config.
2708         * config.h (__CHAR_UNSIGNED__) [CHAR_UNSIGNED]: define as autoconf
2709           uses the latter and gcc sometimes the former.
2711         * config.h: move from config.
2713         * openinout.c (extensionirrelevantp): new function.
2714         * common.defines: declare it.
2716         * ourpaths.h (path_constant_type): rename from `path_constants'.
2717         * openinout.c (open_input): use it for the path arg.
2719 Wed Jan 15 11:13:45 1992  Karl Berry  (karl at hayley)
2721         * xgetcwd.c, xchdir.c: don't need these.
2722         * Makefile (objs): remove from list.
2723         * dirio.h: remove decls.
2725         * pathsearch.c (check_subdir): do not cd to the directory we're
2726           testing.
2727         (add_directory): test if the name is a directory before adding it
2728           to the list.
2729         (parse_envpath): don't test if the names are directories here.
2730         (initialize_path_list): don't find and cd to the current directory
2731           between each subdirectory.
2733 Tue Jan 14 16:06:24 1992  Karl Berry  (karl at hayley)
2735         * texmf.c: do not include <sys/types.h>; it's in config.h now.
2736         * types.h: likewise.
2738 Sun Jan 12 07:41:34 1992  Karl Berry  (karl at hayley)
2740         * pathsearch.c (initialize_path_list): cd back to . after checking
2741           each subdirectory.
2743         * dirio.h: change directory header stuff as suggested in the
2744           autoconf manual.
2746         * ourpaths.h: make the path list an enumeration type.
2748         * openinout.c (open_input): correctly compute namelength.
2750         * texmfmem.h (memoryword) [TeX]: make declaration of `glueratio'
2751           conditional.
2753         * openinout.c: rearrange ifdefs for coherency.
2755         * ourpaths.c (append_path_list): overwrite the null in the first
2756           list.
2758         * pathsearch.c (initialize_path_list): unconditionally call
2759           parse_envpath.
2760         (parse_envpath): if the envvar name is null, don't call getenv.
2761         If both args are null, do nothing.
2763         * ourpaths.c (setpaths): initialize the TFM path.
2765         * common.h (FATAL*): new macros.
2767         * pascal.h (real): define to be `double'.
2769         * xfopen-pas.c: new file.
2771         * eofeoln.c (test_eof): rename to `eof'.
2772         * pascal.h (eof): remove.       
2774         * pascal.h (reset, rewrite): `checked_fopen' => `xfopen_pas'.
2776         * common.h (link): define as `link_var', to avoid conflicts
2777           between the system call and the web var.
2779         * common.defines (FILENAMESIZE): rename to `PATHMAX'.
2781 Tue Jan  7 11:26:02 1992  Karl Berry  (karl at hayley)
2783         * getopt*: new versions.
2785         * extra.c (getwd) [GETWD_MISSING]: conditionalize.
2787         * extra.c (zinput3ints): new implementation, from jmr@nada.kth.se.
2789         * texmf.c (swap_items) [!WEB2C_BIG_ENDIAN]: ifdef on this.
2790         * texmfmem.h (twohalves, fourquarters): incorporate changes from
2791           raichle@azu.informatik.uni-stuttgart.de which he says make
2792           format files finally work.
2794         * common.h (SCHAR_TYPE): use `signed_char' if ANSI, `short' if
2795           char is unsigned, otherwise `char'.