1 2016-05-04 Karl Berry <karl@freefriends.org>
3 * texmfmp.c (init_start_time): new fn, factored out from
5 (get_date_and_time): if envvar SOURCE_DATE_EPOCH_TEX_PRIMITIVES
6 is set, initialize minutes, day, month, year, from
7 SOURCE_DATE_EPOCH value. Requested by Debian, thread starting at
8 http://tug.org/pipermail/tex-k/2016-May/002691.html.
10 2016-04-14 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
12 * texmfmp.c: Fix a bug to show input file name in the case of pipe input.
13 Reported by Enrico Gregorio:
14 http://tug.org/pipermail/tex-live/2016-April/038030.html
16 2016-03-22 Karl Berry <karl@freefriends.org>
18 * texmfmp.c: no uexit after FATAL.
20 2016-03-21 Karl Berry <karl@freefriends.org>
22 * texmfmp.c (initstarttime): wording of invalid SOURCE_DATE_EPOCH.
24 2016-01-26 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
26 * texmfmp.c: Improve to skip BOM (win32 only).
28 2016-01-02 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
30 * printversion.c: 2015 ---> 2016.
32 2015-11-15 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
34 * texmfmp.c: Show return code of system() if it is not zero.
36 2015-11-01 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
38 * texmfmp.c: Improve restricted shell escape for w32 a little.
40 2015-08-19 Peter Breitenlohner <peb@mppmu.mpg.de>
42 * texmfmp.c: Another minor modification (unused static).
44 2015-08-18 The Thanh Han <hanthethanh@gmail.com>
46 * texmfmp.c: Patch from Maria with some minor modification.
48 2015-07-09 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
50 * texmfmp.c: Add \pdfmdfivesum to XeTeX.
52 2015-07-02 Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
54 * texmfmp.c: Moved convertStringToHexString() and getmd5sum()
55 from ../pdftexdir/utils.c to here.
57 2015-06-12 Peter Breitenlohner <peb@mppmu.mpg.de>
59 Integrate MFLua and MFLuaJIT.
62 2015-03-16 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
64 * printversion.c: 2014 ---> 2015.
66 2014-11-06 Peter Breitenlohner <peb@mppmu.mpg.de>
68 * texmfmp.c: Avoid MinGW64 warnings (INVALID_SOCKET => -1).
70 2014-11-03 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
72 * texmfmp.c: Indentation.
74 2014-10-30 Peter Breitenlohner <peb@mppmu.mpg.de>
76 * texmfmp.c: Use the decision about tex*.dll from ../texmfmp.h.
78 2014-10-09 Peter Breitenlohner <peb@mppmu.mpg.de>
80 * texmfmp.c: Apply some code from W32TeX.
82 2014-08-22 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
84 * texmfmp.c: Symplify support of multibyte characters, by
85 updating fsyscp_popen in kpathsea (Windows only).
87 2014-08-22 Peter Breitenlohner <peb@mppmu.mpg.de>
89 * texmfmp.c: Avoid several compiler warnings (Windows only).
91 2014-08-22 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
93 * texmfmp.c: Support multibyte characters in pipe (Windows only).
95 2014-07-23 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
97 * texmfmp.c: Short-file-name convention is incompatible with
98 --src-specials (Windows only).
100 2014-07-21 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
102 * texmfmp.c: Use getnullstr() in maketexstring(), also in aleph.
104 2014-07-19 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
106 * texmfmp.c: Use getnullstr() in maketexstring(), as in pdfTeX,
107 in most cases in order to avoid an assertion error.
109 2014-07-15 Peter Breitenlohner <peb@mppmu.mpg.de>
111 * texmfmp.c: Replace the deprecated spawnvp() by _spawnvp(),
112 they differ for 64-bit MinGW.
114 2014-07-04 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
116 * texmfmp.c: Remove redundant cpp macros (w32 only).
118 2014-06-20 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
120 * texmfmp.c: Support short-file-name convention (w32 only).
122 2014-05-06 Peter Breitenlohner <peb@mppmu.mpg.de>
124 Update to e-pTeX and e-upTeX from Akira Kakuto.
125 * texmfmp.c (getfiledump): Move definition of this function
126 also used by e-(u)pTeX from ../pdftexdir/utils.c to here.
128 2014-01-20 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
130 * printversion.c: 2013 ---> 2014.
132 2014-01-15 Peter Breitenlohner <peb@mppmu.mpg.de>
134 * texmfmp.c: Do not declare dump_name, now done in change files.
136 2014-01-14 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
138 * texmfmp.c: use fsyscp_system instead of system (Windows only).
140 2013-12-31 TANAKA Takuji <KXD02663@nifty.ne.jp>
142 * openclose.c: bug fix about error check when fopen.
143 Use fsyscp_fopen() instead of fsyscp_xfopen() (Windows only)
144 * texmfmp.c: Use get_command_line_args_utf8() (Windows only)
146 2013-12-03 TANAKA Takuji <KXD02663@nifty.ne.jp>
148 * openclose.c, texmfmp.c: Support KANJI file name in (e)upTeX and
151 2013-06-11 Peter Breitenlohner <peb@mppmu.mpg.de>
153 Update to e-pTeX and e-upTeX 130605 from Hironori Kitagawa.
154 * texmfmp.c (pdftex_fail): Adapted from ../pdftexdir/utils.c.
155 (initstarttime, makecstring, makecfilename, getcreationdate,
156 getfilemoddate, getfilesize): Move definition of these functions
157 also used by e-(u)pTeX from ../pdftexdir/utils.c to here.
159 2013-04-09 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
161 * printversion.c: 2012 ---> 2013.
163 2013-01-18 Peter Breitenlohner <peb@mppmu.mpg.de>
165 * texmfmp.c (mk_shellcmdlist): Simplify.
167 2013-01-06 Khaled Hosny <khaledhosny@eglug.org>
169 * texmfmp.c [XeTeX]: Support input pipes.
171 2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de>
173 * Makefile.am: Avoid use of deprecated INCLUDES.
175 2012-10-14 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
177 * texmfmp.c: Use _IONBF for unbuffered stream.
179 2012-10-10 Peter Breitenlohner <peb@mppmu.mpg.de>
181 * texmfmp.c (mk_shellcmdlist): The argument is not constant.
183 2012-10-10 Akira Kakuto <kakuto@fuk.kinidai.ac.jp>
185 * texmfmp.c: Modify determination of fullpath for restricted shell
188 2012-09-19 Peter Breitenlohner <peb@mppmu.mpg.de>
190 * texmfmp.c: Since normalize_quotes() is declared static,
191 the forward declaration should also be static.
193 2012-09-11 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
195 * texmfmp.c (maininit): On Windows, latex "\input" "a b c", for example,
196 was not allowed. Allow file name with spaces in these cases.
198 2012-08-28 Peter Breitenlohner <peb@mppmu.mpg.de>
200 * main.c [WIN32]: Added _setmaxstdio() (from W32TeX).
202 * openclose.c (recorder_start): Reduce TL/W32TeX diffs.
203 Avoid using pid_t lacking in WIN32 (MSVC).
205 2012-08-22 Peter Breitenlohner <peb@mppmu.mpg.de>
207 * texmfmp.c [IS_pTeX]: Rename initdefaultkanji() => initkanji().
209 2012-08-06 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
211 * texmfmp.c [WIN32]: bug fix. use rewind (f) to clear error and
214 2012-07-23 Peter Breitenlohner <peb@mppmu.mpg.de>
216 * texmfmp.c (runpopen): Binary mode for popen() on Windows now
219 2012-06-30 Peter Breitenlohner <peb@mppmu.mpg.de>
221 * texmfmp.c [WIN32]: Ignore DLLPROC for __MINGW32__.
223 2012-06-30 Peter Breitenlohner <peb@mppmu.mpg.de>
224 2012-06-27 Norbert Preining <preining@logic.at>
226 * texmfmp.c (runpopen): Append "b" on Windows.
227 (open_{in,out}_or_pipe): Do not use the "b" here.
229 2012-06-27 Karl Berry <karl@tug.org>
231 * texmfmp.c (generic_synctex_get_current_name): return the
232 empty string if passed null (can happen with -ini).
234 2012-06-26 Peter Breitenlohner <peb@mppmu.mpg.de>
236 * texmfmp.c (open_{in,out}_or_pipe): Use popen() modes "rb" and
237 "wb" only for Windows, Posix allows them only for fopen().
238 (This makes pdftex's \input"|..." feature work again,
239 unintentionally broken.)
240 tex-live mail, 26 Jun 2012 06:24:11.
242 2012-05-04 Peter Breitenlohner <peb@mppmu.mpg.de>
244 * printversion.c (printversionandexit): Update 'Copyright 2012'.
246 2012-04-08 Peter Breitenlohner <peb@mppmu.mpg.de>
248 * texmfmp.c (mk_shellcmdlist, init_shell_escape,
249 shell_cmd_is_allowed, normalize_quotes): Declare as static.
250 (get_seconds_and_micros): Define only for pdfTeX.
251 (getrandomseed): Removed, MP only.
253 2012-03-04 Peter Breitenlohner <peb@mppmu.mpg.de>
255 Avoid 'differ in signedness' warnings.
256 * texmfmp.c (input_line): Cast buffer to 'unsigned char *'.
258 2012-02-14 Peter Breitenlohner <peb@mppmu.mpg.de>
260 * eofeoln.c (eof): Fix a typo in comment.
262 2012-01-30 Peter Breitenlohner <peb@mppmu.mpg.de>
264 * printversion.c, texmfmp.c: Drop report of file offset bits.
266 2012-01-17 Peter Breitenlohner <peb@mppmu.mpg.de>
268 * lib.h, printversion.c, texmfmp.c: Report file offset bits.
270 2011-12-06 Peter Breitenlohner <peb@mppmu.mpg.de>
272 * setupvar.c (setupboundvariable): Warning message: the bad
273 value can be from the environment or from texmf.cnf.
275 2011-10-11 Peter Breitenlohner <peb@mp.mpg.de>
277 * texmfmp.c [WIN32]: Slightly reformulate Byte order marks.
279 2011-10-07 Peter Breitenlohner <peb@mp.mpg.de>
281 * texmfmp.c: More changes to reduce diffs with W32TeX.
283 2011-10-04 Peter Breitenlohner <peb@mp.mpg.de>
285 * texmfmp.c: More changes to reduce diffs with W32TeX,
286 for compilation with MS Visual Studio 2005.
288 2011-10-05 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
290 * texmfmp.c : remove unused free_shellcmdlist()
292 2011-10-04 Peter Breitenlohner <peb@mp.mpg.de>
294 * texmfmp.c (calledit): More changes to reduce diffs with W32TeX.
296 2011-10-01 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
298 * texmfmp.c: write (sock, buff, n) and send (sock, buff, n, 0)
299 for ipc_snd () are different in winsock.
301 2011-09-30 Peter Breitenlohner <peb@mp.mpg.de>
303 * texmfmp.c [Aleph]: Remove unused variable `eightbitp'.
305 2011-09-21 Peter Breitenlohner <peb@mp.mpg.de>
307 * texmfmp.c [IPC]: More changes to reduce diffs with W32TeX.
309 2011-09-11 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
311 * texmfmp.c: Disable options -translate-file, -default-translate-file,
312 and -8bit for Aleph. The option -kanji-internal=STRING is effective
313 also for pTeX and epTeX.
315 2011-09-02 Peter Breitenlohner <peb@mp.mpg.de>
317 * texmfmp.c: More changes to reduce diffs with W32TeX.
319 2011-09-01 Peter Breitenlohner <peb@mp.mpg.de>
321 * texmfmp.c [WIN32]: Minor rewrite to reduce diffs with W32TeX.
323 2011-08-30 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
325 * texmfmp.c [WIN32]: Remove a semicolon.
327 2011-08-29 Peter Breitenlohner <peb@mp.mpg.de>
329 * texmfmp.c [WIN32]: Allow to build TeX & Co as DLL.
331 2011-08-23 Peter Breitenlohner <peb@mppmu.mpg.de>
333 * texmfmp.c: Remove some (e-)pTeX cruft.
335 * openclose.c [PTEX]: No nkf_open() and nkf_close() for WIN32.
337 2011-08-18 Peter Breitenlohner <peb@mppmu.mpg.de>
339 * texmfmp.c: Options for (e-)pTeX and (e-)upTeX.
341 2011-08-12 Peter Breitenlohner <peb@mppmu.mpg.de>
343 * texmfmp.c: Add upTeX and e-upTeX.
345 2011-08-04 Peter Breitenlohner <peb@mppmu.mpg.de>
347 * texmfmp.c: Do not #include empty file <kpathsea/recorder.h>.
349 2011-08-03 Magnus Granberg <zorry@gentoo.org>
351 * texmfmp.c: Use C code for i?86 when -fPIC.
353 2011-07-04 Peter Breitenlohner <peb@mppmu.mpg.de>
355 * texmfmp.c: Drop `#warning SyncTeX: -synctex command line...'.
357 2011-05-18 Peter Breitenlohner <peb@mppmu.mpg.de>
359 * texmfmp.c (ipcpage): Add 'free(cwd)'.
360 (generic_synctex_get_current_name): Use xgetcwd().
362 2011-05-12 Peter Breitenlohner <peb@mppmu.mpg.de>
364 * texmfmp.c: Change arg2 of kpse_absolute_p() from `0' to `false'.
366 2011-05-11 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
368 * texmfmp.c: add a function generic_synctex_get_current_name()
369 in order to get full path names for SyncTeX.
371 2011-05-04 Peter Breitenlohner <peb@mppmu.mpg.de>
373 * texmfmp.c (ipc_open_out): Avoid to #define SOCK_NONBLOCK which
374 conflicts with newer GNU C library headers.
376 2011-05-04 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
378 * openclose.c (recorder_change_filename): on windows, an opened file
381 2011-05-02 Karl Berry <karl@tug.org>
383 * openclose.c (recorder_change_filename): take output_directory
384 into account. Report/patch from
385 Philipp Stephani, 30 Apr 2011 16:11:53,
386 http://tracker.luatex.org/view.php?id=615
388 2011-04-28 Karl Berry <karl@tug.org>
390 * printversion.c (printversionandexit): it is 2011.
392 2011-04-27 Karl Berry <karl@tug.org>
394 * texmfmp.c (initscreen): do not mention mfw, which is no more.
395 Suggestion from Reinhard Kotucha, tex-k mail 21 Jul 2010 11:40:36.
397 2011-04-19 Peter Breitenlohner <peb@mppmu.mpg.de>
399 Avoid 'differ in signedness' warnings.
400 texmfmp.c (input_line): Caat input_line2() arg2 to 'char *'.
402 2011-03-10 Peter Breitenlohner <peb@mppmu.mpg.de>
404 * texmfmp.c (calledit): [__MINGW32__] Drop win32_system() and
405 use system() as for all other systems.
407 2011-03-07 Peter Breitenlohner <peb@mppmu.mpg.de>
409 * setupvar.c (setupboundvariable): `program_invocation_name' has
410 been renamed into `kpse_invocation_name'.
412 2010-06-10 Peter Breitenlohner <peb@mppmu.mpg.de>
414 Reorganize web2c headers.
415 * alloca.c, basechsuffix.c, chartostring.c, coredump.c,
416 eofeoln.c, fprintreal.c, input2int.c, inputint.c, main.c,
417 openclose.c, printversion.c, setupvar.c, uexit.c, usage.c,
419 #include <w2c/config.h> instead of <config.h> or "config.h".
420 * version.c: #include <w2c/c-auto.h> instead of "c-auto.h".
422 2010-06-06 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
424 * texmfmp.c: include kpathsea/concatn.h if WIN32 is defined.
426 2010-06-04 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
428 * texmfmp.c: include kpathsea/concatn.h and remove cast
431 2010-05-24 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
433 * texmfmp.c: on win32, all restricted shell escape commands are
434 executed by fullpath.
436 2010-05-18 Karl Berry <karl@tug.org>
438 * printversion.c (printversionandexit): 2010.
440 2010-05-10 Karl Berry <karl@tug.org>
442 * input2int.c (zinput2ints, zinput3ints): don't bother
443 to cast result of fprintf.
445 2010-04-25 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
448 * texmfmp.c: remove TEXDLL.
450 2010-04-21 Karl Berry <karl@tug.org>
452 * Makefile.am (EXTRA_DIST),
453 * win32main.c: rm per Akira.
455 2010-04-20 Peter Breitenlohner <peb@mppmu.mpg.de>
457 * texmfmp.c, lib.h: Remove luaTeX specific code.
459 * lib.h: Move extern declaration of ptexbanner from here
460 to ../pdftexdir/ptexlib.h (instatiated in texmfmp.c).
462 2010-04-19 Peter Breitenlohner <peb@mppmu.mpg.de>
464 * main.c, texmfmp.c: Remove extern declaration of mainbody,
466 * openclose.c (recorder_enabled, output_directory): Remove
467 extern declarations, are in lib.h.
468 * lib.h: Move extern declaration of fullnameoffile to here ...
469 * texmfmp.c: ... from here ...
470 * openclose.c: ... and from here.
471 * texmfmp.c [XeTeX]: Move extern declarations of papersize and
472 outputdriver from here to ../xetexdir/XeTeX_ext.h.
474 * Makefile.am, openclose.c, printversion.c:
475 Integrate libp.a for pTeX.
477 2010-04-18 Peter Breitenlohner <peb@mppmu.mpg.de>
479 * texmfmp.c (maininit) [__SyncTeX__]: omit warning about no
482 2010-04-11 Karl Berry <karl@tug.org>
488 * basechsuffix.c: remove useless casts to (string) or (char *),
491 2010-03-30 Peter Breitenlohner <peb@mppmu.mpg.de>
493 * openclose.c (open_input): Fixed a typo.
494 From Akira Kakuto <kakuto@fuk.kindai.ac.jp>, 30 Mar 2010 12:33:33.
496 2010-03-30 Karl Berry <karl@tug.org>
498 * (recorder_start): throw in pid in recorder_name so parallel builds
499 have a chance of working. Report from
500 Kirill Smelkov, Debian bug 575731, tex-k mail 29 Mar 2010 06:18:35.
502 2010-03-19 Peter Breitenlohner <peb@mppmu.mpg.de>
504 * setupvar.c (setupboundvariable): Fix off by one error in msg.
506 2010-03-05 Peter Breitenlohner <peb@mppmu.mpg.de>
508 * texmfmp.c (setupboundvariable): Moved from here ...
509 * setupvar.c (new): ... to here for use in non-engine programs.
510 * lib.h (setupboundvariable): Moved from ../texmfmp.h to here.
511 * Makefile.am (lib_a_SOURCES): Added setupvar.c.
513 2010-02-24 Peter Breitenlohner <peb@mppmu.mpg.de>
515 * texmfmp.c (IPC) [WIN32]: #include <winsock2.h> instead of
516 <sys/socket.h> and <fcntl.h>, use ioctlsocket() instead of
517 fcnt() for non-blocking, and use Sleep() instead of sleep().
519 2010-02-21 Peter Breitenlohner <peb@mppmu.mpg.de>
521 * texmfmp.c: #include <window/mfdisplay.h> instead of externs.
523 2010-02-20 Peter Breitenlohner <peb@mppmu.mpg.de>
525 * texmfmp.c (calledit): Use win32_system() with two args only
526 for MinGW32, native WIN32 uses only one arg.
527 (catch_interrupt) [WIN32]: Declare as static.
529 2010-02-01 Karl Berry <karl@tug.org>
531 * openclose.c (open_input): do not try prepending TEXMFOUTPUT for
532 reading if the filename is absolute.
534 2010-01-24 Peter Breitenlohner <peb@mppmu.mpg.de>
536 * texmfmp.c (mk_shellcmdlist): Declare string param as const.
538 2010-01-22 Peter Breitenlohner <peb@mppmu.mpg.de>
540 * texmfmp.c (maininit) [__SyncTeX__]: omit warning about no
542 (gettexstring): Declare as static for luaTeX.
544 2010-01-16 Karl Berry <karl@tug.org>
546 * texmfmp.c (do_dump, do_undump): give full name of file
547 in fatal message when something cannot be (un)dumped.
549 2010-01-02 Karl Berry <karl@tug.org>
551 * texmfmp.c (runsystem): doc fix.
553 2009-12-23 Karl Berry <karl@tug.org>
555 * usage.c (usagehelp)
556 * texmfmp.c (BUG_ADDRESS): default to tex-k@tug.org, no @mail.
558 2009-12-01 Alexander Cherepanov <cherepan@mccme.ru>
560 * texmfmp.c (parse_first_line): initialize s to NULL.
563 2009-11-12 Peter Breitenlohner <peb@mppmu.mpg.de>
565 * texmfmp.c (shell_cmd_is_allowed): Check for invalid single
566 quote also within quoted arguments.
567 Reported by Akira Kakuto <kakuto@fuk.kindai.ac.jp>,
568 diagnosed by Manuel P\'egouri\'e-Gonnard <mpg@elzevir.fr>.
570 2009-10-24 Peter Breitenlohner <peb@mppmu.mpg.de>
572 * texmfmp.c (openinnameok, openoutnameok): Moved to Kpathsea
573 and renamed kpse_{in,out}_name_ok.
575 2009-09-06 Peter Breitenlohner <peb@mppmu.mpg.de>
577 * texmfmp.c (last_lineno): MAYBE_STATIC for luaTeX.
578 (srcspecialsoption, parse_src_specials_option): static but not
581 2009-09-05 Peter Breitenlohner <peb@mppmu.mpg.de>
583 * texmfmp.c (runpopen): Used only for pdfTeX and luaTeX.
584 (last_source_name etc): Not used by MF.
585 (ipcpage): Avoid unconstifying cast.
586 (compare_paths): Declare as static.
587 (mfwin_sw): Constify member string.
589 2009-09-04 Peter Breitenlohner <peb@mppmu.mpg.de>
591 * texmfmp.c (initscreen): Add explicit braces.
592 (getrandomseed, makefullnamestring): ANSI C definition.
594 2009-08-27 Peter Breitenlohner <peb@mppmu.mpg.de>
596 * lib.h (NOT_WEB2C): New preprocessor macro, if defined prevents
597 declaration of argc, argv, cmdline, and mainbody (from main.c).
599 2009-08-24 Peter Breitenlohner <peb@mppmu.mpg.de>
601 * openclose.c (open_output): Bugfix? local var 'fname' was
602 shadowed by a second one. Avoid memory leak.
604 2009-08-22 Peter Breitenlohner <peb@mppmu.mpg.de>
606 * lib.h, texmfmp.c, version.c: Constify ptexbanner and
609 2009-08-21 Peter Breitenlohner <peb@mppmu.mpg.de>
611 Avoid maximal compiler warnings.
612 * openclose.c (recorder_record_name): Constify string param1.
613 (recorder_record_{name,input,output}): Rename param
614 nameoffile=>name, not to shadow global var.
616 2009-08-20 Peter Breitenlohner <peb@mppmu.mpg.de>
618 * lib.h (ptexbanner): Add decl for pdfTeX and luaTeX.
619 * texmfmp.c (ptexbanner): Drop decl but keep initializer.
620 * printversion.c (kpathsea_version_string):
621 #include <kpathsea/version.h> and drop extern declaration.
623 2009-08-17 Peter Breitenlohner <peb@mppmu.mpg.de>
625 * texmfmp.c (shell_cmd_is_allowed): Change param1 from 'char **'
627 (runsystem, runpopen): Constify string params.
629 2009-07-24 Martin Schröder <martin@oneiros.de>
631 * printversion.c: don't nest extern declarations
633 2009-06-23 Peter Breitenlohner <peb@mppmu.mpg.de>
635 * basechsuffix.c, chartostring.c, coredump.c, eofeoln.c,
636 fprintreal.c, input2int.c, inputint.c, main.c, openclose.c,
637 printversion.c, texmfmp.c, uexit.c, usage.c, win32main.c,
638 zround.c: drop P?C, P?H, use ANSI C function declarations.
640 2009-06-10 Peter Breitenlohner <peb@mppmu.mpg.de>
642 * Makefile.am (AM_CFLAGS): enable compiler warnings.
643 * lib.h (new): declarations for *.c from ../cpascal.h.
644 * basechsuffix.c, chartostring.c, eofeoln.c, fprintreal.c,
645 input2int.c, inputint.c, main.c, openclose.c, printversion.c,
646 zround.c: #include "lib.h" to declare function prototypes.
647 * openclose.c: declare internal function recorder_record_name as
648 static; declare param of recorder_record_input and
649 recorder_record_output as const_string as from ../cpascal.h.
651 2009-06-01 Karl Berry <karl@tug.org>
653 * printversion.c (printversionandexit): it's 2009.
654 Also, remove special references to kpathsea author(s) etc.
656 2009-03-29 Peter Breitenlohner <peb@mppmu.mpg.de>
658 * texmfmp.c: remove all references to (Web2C version of) MP.
660 2009-05-18 Karl Berry <karl@tug.org>
662 * openclose.c (recorder_start): use output_directory for the .fls
663 file, if it has been specified with --output-directory.
664 metapost mail from Nicola, 16 May 2009 13:41:36.
666 2009-03-29 Peter Breitenlohner <peb@mppmu.mpg.de>
668 * texmfmp.c: remove all references to Omega, eOmega, and pdfeTeX.
670 2009-03-28 Karl Berry <karl@tug.org>
672 * texmfmp.c (mk_shellcmdlist, shell_cmd_is_allowed): not static,
673 so luatex can access. From Taco.
675 2009-03-27 Taco Hoekwater <taco@luatex.org>
677 * texmfmp.c (parse_options): add #ifndef luaTeX guard for
678 --src-specials, because luaTeX does not implement it.
679 (parse_src_specials_option): add #ifndef luaTeX guard for
682 2009-03-02 Karl Berry <karl@tug.org>
684 * texmfmp.c (long_options): make -enable-write18 and -disable-write18
685 synonyms for -shell-escape and -no-shell-escape.
687 2009-02-26 Karl Berry <karl@tug.org>
689 * texmfmp.c: Implementation of restricted shell escapes from Akira.
690 (mk_shellcmdlist, init_shell_escape, char_needs_quote, Isspace,
691 shell_cmd_is_allowed, runsystem, runpopen): new fns.
692 (long_options, parse_cmd_line): new option --shell-restricted.
693 (main): call init_shell_escape.
694 (open_in_or_pipe, open_out_or_pipe): call runpopen.
696 2009-02-06 Karl Berry <karl@tug.org>
698 * texmfmp.c (maininit) [__SyncTeX__]: omit warning about no
699 SyncTeX for Omega and MF/MP.
701 2008-03-24 Karl Berry <karl@tug.org>
703 * printversion.c: it's 2008.
705 2008-03-16 Karl Berry <karl@tug.org>
707 * texmfmp.c (maininit): don't append DUMP_EXT if it's already
708 there. Report from Hans.
710 2008-03-09 Karl Berry <karl@tug.org>
712 * texmfmp.c (maketexstring) [!MP]: only define this fn if !MP,
713 since MetaPost has its own in mpdir/utils.c.
714 (input_line): initialize i = EOF. From Taco.
716 2008-01-29 Peter Breitenlohner <peb@mppmu.mpg.de>
718 * Makefile.in: Add @configure_input@ line.
720 2007-12-28 Karl Berry <karl@tug.org>
722 * texmfmp.c (parse_options): do not set user_progname at
724 (maininit): instead, do it here, after options are read.
726 2007-09-05 Karl Berry <karl@tug.org>
728 * texmfmp.c (long_options): move output-directory output to be
729 enabled for MF and MP too. From Akira.
731 2007-08-20 Karl Berry <karl@tug.org>
733 * texmfmp.c (main) [WIN32]: _setmaxstdio(2048), to increase
734 open files limit. From Akira, 19 Aug 2007 09:30:30 +0900.
736 2007-07-26 Karl Berry <karl@tug.org>
738 * openclose.c (recorder_record_name): fflush the recorder file,
739 since this is for debugging. Suggested by George White.
741 2006-12-28 Martin Schröder <martin@oneiros.de>
743 * texmfmp.c: fixed some warnings raised by gcc for unused variables
744 and different signedness of arguments
746 2006-07-16 Karl Berry <karl@tug.org>
748 * mfmpi386.asm: missing " chars.
750 2006-07-15 Karl Berry <karl@tug.org>
752 * mfmpi386.asm (asm): prepend with .text to avoid seg fault with
753 -g3 or -ggdb3 due to the symbols ending up in the data section.
754 tex-k report by Edward Catmur, 29 Mar 2006 00:09:15 +0100.
756 2006-06-19 Karl Berry <karl@tug.org>
758 * texmfmp.c (open_in_or_pipe) [!pdfTeX && !pdfeTeX]: track
759 fullnameoffile; from Akira and Jonathan.
761 2005-08-13 Olaf Weber <olaf@infovore.xs4all.nl>
763 * printversion.c: Update copyright messages.
765 2005-08-03 Olaf Weber <olaf@infovore.xs4all.nl>
767 * texmfmp.c: Implement -etex switch.
769 2005-07-29 Olaf Weber <olaf@infovore.xs4all.nl>
771 * texmfmp.c (opennameok): Check all occurrences of ".." in a
772 filename, not just the first. Reported by Yutaka OIWA
775 2005-07-27 Olaf Weber <olaf@infovore.xs4all.nl>
777 * printversion.c: libkpathsea is covered by the LGPL, not the GPL,
778 and is the common factor that brings in the *GPL to all
779 web2c-based programs.
781 * texmfmp.c (get_seconds_and_micros): New function, gets high-res
782 time if possible. Remove references to pdfxtex.
784 2005-07-22 Olaf Weber <olaf@infovore.xs4all.nl>
786 * input2int.c: The correct format string to use depends on whether
787 integer is an int or a long int. Reported by M.J. Rutter
788 <mjr19@cus.cam.ac.uk>.
790 2005-06-26 Olaf Weber <olaf@infovore.xs4all.nl>
792 * Makefile.in: Replace ac_include with kpse_include. From Peter
795 2005-06-22 Olaf Weber <olaf@infovore.xs4all.nl>
797 * texmfmp.c [MP][BANNER]: Update for MetaPost 0.901.
799 2005-06-21 Olaf Weber <olaf@infovore.xs4all.nl>
801 * texmfmp.c (opennameok,openinnameok,openoutnameok): Add new
802 parameter to opennameok() so its diagnostics are correct wrt to
803 whether we are testing a file name for reading or writing.
805 2005-04-12 Olaf Weber <olaf@infovore.xs4all.nl>
807 * texmfmp.c (getjobname): Add a parameter, the string to return if
808 --jobname wasn't given.
809 This is part of a group of changes that fix pdftex bug 302.
810 http://sarovar.org/tracker/?func=detail&atid=493&aid=302&group_id=106
812 * openclose.c (open_input): kpse_find_file() always returns a new
813 string, so we can unconditionally deallocate it.
815 * texmfmp.c (maininit): Factor out common code into texmf_yesno().
816 (texmf_yesno): New function, return true if a variable is set and set
817 to 't', 'y', or '1' in texmf.cnf or the environment.
819 2004-12-20 Olaf Weber <olaf@infovore.xs4all.nl>
821 * texmfmp.c [pdfTeX,pdfeTeX,pdfxTeX]: New variable ptexbanner.
823 2004-12-19 Olaf Weber <olaf@infovore.xs4all.nl>
825 * texmfmp.c [TeX] (maininit): For all TeX variants, recognize
826 "initex" and "virtex" program names, just in case.
828 2004-09-16 Olaf Weber <olaf@infovore.xs4all.nl>
830 * printversion.c (printversionandexit): Hartmut Henkel
831 <hartmut_henkel@gmx.de> noticed that the engines start running
832 like this: "This is TeX, Version 3.141592 (Web2C 7.5.3)" but the
833 -version output looks like this "TeX (Web2C 7.5.3) 3.141592".
834 He supplied a small patch to rectify this.
836 2004-08-28 Olaf Weber <olaf@infovore.xs4all.nl>
838 * openclose.c (open_input,open_output): Implement output_directory
841 * texmfmp.c: Accept -output-directory option.
843 2004-07-14 Olaf Weber <olaf@infovore.xs4all.nl>
845 * texmfmp.c (setupcharset): Remove this fuction. The
846 initialization is performed is done by the engine.
847 (read_char_translation_file): Rename to readtcxfile.
848 (readtcxfile): Some comment changes compared to its previous
851 * usage.c (usagehelp): Add second argument, email address for bug
852 reports. Requested by the pdftex team.
854 * texmfmp.c: Add -output-format to the long_options array.
855 Also add BUG_ADDRESS to the macros defined for each engine.
856 Call usagehelp with BUG_ADDRESS as second argument.
858 2004-07-03 Olaf Weber <olaf@infovore.xs4all.nl>
860 * texmfmp.c (parse_options): Make it so that aleph and omega also
861 parse the -translate-file and -8bit options, even though they now
862 silently ignore them. (They have to ignore them in any case, as
863 neither makes sense for these programs.)
865 2004-07-02 Olaf Weber <olaf@infovore.xs4all.nl>
867 * texmfmp.c [TeX]: Implement -efmt as alternate spelling for -fmt.
868 This option is only present for backward compatibility, and will
869 go away in the future.
871 2004-06-29 Olaf Weber <olaf@infovore.xs4all.nl>
873 * Makefile.in: Don't include alloca.o in the objects. It
874 shouldn't be used anywhere.
876 2004-06-16 Olaf Weber <olaf@infovore.xs4all.nl>
878 * texmfmp.c (get_input_name): Off-by-one errors when
879 erasing/restoring the final quote. From Akira Kakuto
880 <kakuto@fsci.fuk.kindai.ac.jp>.
882 2004-06-15 Olaf Weber <olaf@infovore.xs4all.nl>
884 * texmfmp.c: (normalize_quotes): New function, takes a filename
885 and returns an allocated string with the name quoted iff it
887 (get_input_file_name): Factor out normalize_quotes.
888 (getjobname): Add quotes if needed. callmakempx: Add quotes if
891 2004-06-04 Olaf Weber <olaf@infovore.xs4all.nl>
893 * texmfmp.c (get_input_file_name): New function. Get the name of
894 the input file for use by parse_first_line(), and if the filename
895 contains spaces make sure a properly quoted version will be given
897 (parse_first_line): Now takes the name of the input file (or NULL) as
898 an argument, instead of looking for it.
900 2004-05-26 Olaf Weber <olaf@infovore.xs4all.nl>
902 * texmfmp.c: Remove -oem code.
904 2004-05-14 Olaf Weber <olaf@infovore.xs4all.nl>
906 * texmfmp.c: Remove much of the locale-dependent code. Some
907 pieces remain because they are related to the Win32 '-oem' option,
908 where I do not know yet whether that option should go as well.
910 2004-05-10 Olaf Weber <olaf@infovore.xs4all.nl>
912 * texmfmp.c (setupcharset): Fixing a regression. When a line in a
913 TCX file contains two numbers and a comment, set printable=1.
914 Reported by Staszek Wawrykiewicz <staw@gust.org.pl>.
916 2004-05-08 Olaf Weber <olaf@infovore.xs4all.nl>
918 * texmfmp.c (main): We can now put TEXMFENGINENAME into the
919 environment for $engine in all cases.
921 * texmfmp.c: Add -halt-on-error option.
923 2004-05-07 Olaf Weber <olaf@infovore.xs4all.nl>
925 * texmfmp.c (maininit): Set $engine appropriately.
927 * texmfmp.c: Implement -8bit option.
929 * texmfmp.c (makesrcspecial): Always put a space after the line
932 2004-04-16 Olaf Weber <olaf@infovore.xs4all.nl>
934 * texmfmp.c (setupcharset): More compact xprn assignment.
936 2004-03-28 Olaf Weber <olaf@infovore.xs4all.nl>
938 * texmfmp.c: Implement -no-shell-escape, -no-parse-first-line,
941 2004-03-25 Olaf Weber <olaf@infovore.xs4all.nl>
943 * texmfmp.c [eTeX](maininit): e-TeX will no longer treat being
944 called as "initex" or "virtex" special.
945 (tcx_get_num): Additional argument, upper bound we're accepting.
946 (read_char_translation_file): Allow for a third integer, 0 or 1, to
947 set printable status. This way you can translate characters
948 without making them printable. However, enforce that 7bit ASCII
951 * texmfmp.c (maininit): Add sanity check for -enc or -mltex
954 2004-03-24 Olaf Weber <olaf@infovore.xs4all.nl>
956 * zround.c: Add public domain notice.
958 * win32main.c: Add public domain notice.
960 * version.c: Add public domain notice.
962 * uexit.c: Add public domain notice.
964 * printversion.c: Bump 2003 to 2004 in copyright notices.
966 * main.c: Add public domain notice.
968 * inputint.c: Add public domain notice.
970 * input2int.c: Add public domain notice.
972 * fprintreal.c: Add public domain notice.
974 * eofeoln.c: Add public domain notice.
976 2004-03-22 Olaf Weber <olaf@infovore.xs4all.nl>
978 * texmfmp.c (parse_options): Add -output-format for the pdf*TeX
981 * texmfmp.c: Changes for Aleph.
983 * texmfmp.c (long_options): Enable "enc" option.
985 2004-03-16 Olaf Weber <olaf@infovore.xs4all.nl>
987 * texmfmp.c: Allow file:line:error style messages to be enabled
988 from texmf.cnf. From Akira Kakuto <kakuto@fsci.fuk.kindai.ac.jp>.
990 2004-02-26 Olaf Weber <olaf@infovore.xs4all.nl>
992 * texmfmp.c: Rename isprintable to xprn.
994 * win32main.c: Sync with TeXlive.
996 * texmfmp.c: Add -enc option.
998 * texmfmp.c: Add support for pdfxTeX.
1000 2003-02-16 Olaf Weber <olaf@infovore.xs4all.nl>
1002 * texmfmp.c: Update banners for TeX 3.141592, MF 2.71828.
1004 2003-02-07 Olaf Weber <olaf@infovore.xs4all.nl>
1006 * texmfmp.c: e-Omega support.
1008 2003-01-24 Olaf Weber <olaf@infovore.xs4all.nl>
1010 * texmfmp.c (setupcharset): Do not adapt the isprintable array to
1013 2003-01-10 Olaf Weber <olaf@infovore.xs4all.nl>
1015 * printversion.c (printversionandexit): Update copyright notice
1018 2002-12-14 Olaf Weber <olaf@infovore.xs4all.nl>
1020 * texmfmp.c: Remove some unsused variables.
1022 2002-11-11 Olaf Weber <olaf@infovore.xs4all.nl>
1024 * texmfmp.c: Implement a -parse-first-line option. With the
1025 current code it is possible to switch %&-line parsing on from the
1026 command line. To switch it off when it is enabled in texmf.cnf
1027 requires the use of an environment variable.
1029 2002-10-20 Olaf Weber <olaf@infovore.xs4all.nl>
1031 * texmfmp.c: Add support for -jobname option.
1033 2002-10-06 Olaf Weber <olaf@infovore.xs4all.nl>
1035 * texmfmp.c (maybe_parse_first_line): Split
1036 maybe_parse_first_line: maybe_parse_first_line is called to set
1037 parse_first_line_p for TeX, MF, MP, and parse_first_line is called
1038 to do the actual parsing.
1040 * texmfmp.c: Add support for mktexfmt; from Fabrice Popineau.
1042 2002-06-04 Olaf Weber <olaf@infovore.xs4all.nl>
1044 * texmfmp.c: Do not allow texmf.cnf to set the src_specials
1047 2002-06-02 Olaf Weber <olaf@infovore.xs4all.nl>
1049 * texmfmp.c: Change handling of source specials so that there is a
1050 single flag, src_specials_p, which can be used to see if any
1051 source specials are generated.
1053 * win32main.c: From Fabrice.
1055 2002-04-02 Olaf Weber <olaf@infovore.xs4all.nl>
1057 * texmfmp.c [Omega] (ipcpage,gettexstring): Correction of the way
1058 the strstartar array is handled. Reported by Akira Kakuto
1059 <kakuto@fsci.fuk.kindai.ac.jp>
1061 2001-11-27 Olaf Weber <olaf@infovore.xs4all.nl>
1063 * texmfmp.c (initscreen): Clarify message generated when an X
1064 window cannot be opened.
1066 2001-11-25 Olaf Weber <olaf@infovore.xs4all.nl>
1068 * texmfmp.c: Remove unnecessary casts to (int*). If C++ ->
1071 * alloca.c: Changes to allow this file to compile with C++.
1073 2001-11-19 Olaf Weber <olaf@infovore.xs4all.nl>
1075 * texmfmp.c: Changes to keep C++ compilers from choking.
1077 * openclose.c: Remove double declaration of recorder_name, make
1078 prototype of open_input consistent with cpascal.h.
1080 2001-11-18 Olaf Weber <olaf@infovore.xs4all.nl>
1082 * uexit.c: Changes to keep C++ compilers from choking.
1084 * texmfmp.c: Changes to keep C++ compilers from choking. Changes
1085 to support the filename recorder.
1087 * printversion.c: Changes to keep C++ compilers from choking.
1089 * openclose.c: Changes to keep C++ compilers from choking.
1090 (recorder_start): New function, starts filename recorder.
1091 (recorder_change_filename): New function, change the name of the file
1092 used by the filename recorder.
1093 (open_input,open_output): Record filename, starting recorder if
1096 * chartostring.c: Changes to keep C++ compilers from choking.
1098 * basechsuffix.c: Changes to keep C++ compilers from choking.
1100 2001-11-14 Olaf Weber <olaf@infovore.xs4all.nl>
1102 * texmfmp.c (getrandomseed): If available use gettimeofday or
1103 ftime to obtain a random seed number. These functions have a
1104 higher resolution, so fix the problem that subsequent MF or MP
1105 runs could have the same seed.
1107 2001-10-30 Olaf Weber <olaf@infovore.xs4all.nl>
1109 * texmfmp.c: Add support for source specials.
1111 * openclose.c: Add support for file:line:style messages.
1113 2001-10-26 Olaf Weber <olaf@infovore.xs4all.nl>
1115 * texmfmp.c: Implement -tex=program option for mp.
1117 2001-10-24 Olaf Weber <olaf@infovore.xs4all.nl>
1119 * usage.c (usage): Remove first argument, should now only be
1120 called on abnormal exit.
1121 (usage_help): Print help message, implies a normal exit.
1123 * texmfmp.c: Modify usage/usage_help invocation.
1125 * eofeoln.c (readln): New function, read a line and accept CRNL,
1126 CR, and NL as end-of-line delimiters.
1128 2001-04-23 Olaf Weber <olaf@infovore.xs4all.nl>
1130 * eofeoln.c (eoln): Accept both CR and LF as end-of-line
1133 2000-08-25 Olaf Weber <olaf@infovore.xs4all.nl>
1135 * texmfmp.c (setupboundvariable): Add parentheses for clarity, and
1136 to silence stupid compilers.
1138 2000-05-03 Olaf Weber <olaf@infovore.xs4all.nl>
1140 * texmfmp.c (calledit): The first argument should be a pointer to
1141 packedASCIIcode. This matters for Omega. From "C.M. Connelly"
1144 2000-04-21 Olaf Weber <olaf@infovore.xs4all.nl>
1146 * texmfmp.c [WIN32]: Add support for -oem option. From Fabrice.
1148 2000-04-13 Olaf Weber <olaf@infovore.xs4all.nl>
1150 * openclose.c: Disabled the supporting code for remembering the
1151 full name while the code for C style error messages and source
1152 specials is under review.
1154 2000-04-03 Olaf Weber <olaf@infovore.xs4all.nl>
1156 * openclose.c (open_input): Save full name of found file in
1157 full_name_of_file variable. For "C-style" error messages and
1158 source-file specials. After Stefan Ulrich
1159 <ulrich@cis.uni-muenchen.de> and Fabrice Popineau
1160 <Fabrice.Popineau@supelec.fr>.
1162 2000-01-13 Olaf Weber <olaf@infovore.xs4all.nl>
1164 * texmfmp.c (parse_options): Stop option-processing at the first
1165 non-option, so that a command line like 'tex \&sgmlbase
1166 -lhtmlbase.tex -ousing.html using.html' feeds the '-lhtmlbase.tex'
1167 and '-ousing.html' to the format. Reported by Jonathan Fine
1168 <fine@active-tex.demon.co.uk>.
1170 1999-07-12 Olaf Weber <olaf@infovore.xs4all.nl>
1172 * texmfmp.c (maininit): Add a --default-translate-file option, to
1173 facilitate CSTeX. Suggestion (relayed?) by Petr Olsak
1174 <olsak@math.feld.cvut.cz>.
1175 (input_line): Make sure that catching a SIGINT won't be seen as a EOF
1176 on the terminal. Problem noticed by DEK.
1178 1999-06-28 Olaf Weber <olaf@infovore.xs4all.nl>
1180 * openclose.c (open_input): The pdfTeX people asked that the disk
1181 not be pounded for .vf files.
1183 1999-05-29 Olaf Weber <olaf@infovore.xs4all.nl>
1185 * texmfmp.c (opennameok): Allow ./ or its equivalent. Use
1186 IS_DIR_SEP rather than comparing against DIR_SEP.
1188 * openclose.c (open_input): Correct comment.
1190 1999-03-15 Olaf Weber <olaf@infovore.xs4all.nl>
1192 * texmfmp.c (parse_options): Explicit --progname override the
1193 inferred programe of the --fmt option. Suggested by Sebastian.
1194 (ztakefraction,ztakescaled,zmakescaled,blankrectangle,paintrow): Add
1195 prototypes. From Thomas.
1197 1999-02-14 Olaf Weber <olaf@infovore.xs4all.nl>
1199 * texmfmp.c: The translate_filename variable is now external. Use
1200 kpse_web2c_format to find tcx files.
1202 1999-02-06 Olaf Weber <olaf@infovore.xs4all.nl>
1204 * texmfmp.c: Remove include for kpathsea/config.h because it is
1206 (calledit): Use P?C macro in definition.
1208 1999-02-04 Olaf Weber <olaf@infovore.xs4all.nl>
1210 * texmfmp.c (maybe_parse_first_line): Allow both --translate-file
1211 and -translate-file in first line.
1213 * main.c (main): Remove __cdecl, from Fabrice.
1215 1999-01-27 Olaf Weber <olaf@infovore.xs4all.nl>
1217 * zround.c (zround): Add cast to quiet compiler. By Fabrice.
1219 * usage.c (usage): Use KPSEDLL for kpse_bug_address. By Fabrice.
1221 * texmfmp.c [WIN32]: include sys/timeb.h.
1222 (mainbody): Add TEXDLL to declaration.
1223 (maininit): The old main function renamed.
1224 (main): A new main function, stripped to the bones.
1225 (getrandomseed): Get a random seed from the current time.
1228 * printversion.c (printversionandexit): Add KPSEDLL for
1229 kpathsea_version_string, by Fabrice.
1231 * main.c (main): Add __cdecl, from Fabrice.
1233 1999-01-24 Olaf Weber <olaf@infovore.xs4all.nl>
1235 * texmfmp.c: Support for pdfeTeX. From Thomas Esser.
1237 * texmfmp.c (maybe_parse_first_line): Default to parsing if
1238 maybe_parse_first_line is not defined in texmf.cnf.
1239 (opennameok): Add an argument to specify default.
1240 (openinok): Default to "a" if no openin_any found.
1241 (openoutok): Default to "p" if no openout_any found.
1243 * mfmpw32.c: Change CRNL to NL line-endings.
1245 1999-01-14 Olaf Weber <olaf@infovore.xs4all.nl>
1247 * texmfmp.c: Further changes and fixes for maybe_parse_first_line.
1248 Add openinnameok and openoutnameok, which call opennameok.
1249 (opennameok): Change implementation to reflect this.
1251 1999-01-13 Olaf Weber <olaf@infovore.xs4all.nl>
1253 * texmfmp.c: Rename maybe_set_dump_default_from_input to
1254 maybe_parse_first_line. Add TCX support in the form of allowing a
1255 --translate-file pseudo-option, as proposed by Wlodzimierz Bzyl
1256 <matwb@monika.univ.gda.pl>.
1258 * printversion.c: Correct --version output.
1260 * Makefile.in: Rename kpathsea.make to kpathsea.mk.
1262 1999-01-10 Olaf Weber <olaf@infovore.xs4all.nl>
1264 * texmfmp.c: Update banners, add MFNOWIN ifdef.
1266 * printversion.c (printversionandexit): Improve & update message.
1268 * Makefile.in: Change of ../make/*.make to ../make/*.mk.
1270 1998-12-04 Olaf Weber <olaf@infovore.xs4all.nl>
1272 * texmfmp.c: Replace isblank with ISBLANK, to improve handling of
1275 1998-07-26 Olaf Weber <olaf@infovore.xs4all.nl>
1277 * texmfmp.c (parse_options): Make --progname a no-op after --fmt
1278 has been seen. Thus the order of these options no longer matters.
1280 * texmfmp.c: Rename openoutnameok to opennameok.
1282 Sun May 31 17:27:22 1998 Olaf Weber <olaf@infovore.xs4all.nl>
1284 * texmfmp.c: Add a parse_first_line configuration entry, so the
1285 %&format construct can be switched off when desired. Suggested by
1287 Add a --debug-format option.
1289 Mon May 4 19:41:22 1998 Olaf Weber <olaf@infovore.xs4all.nl>
1291 * basechsuffix.c (basenamechangesuffix): Replace call of basename
1294 * texmfmp.c (openoutnameok): Replace call of basename with
1297 Tue Mar 10 06:37:51 1998 Olaf Weber <olaf@infovore.xs4all.nl>
1299 * texmfmp.c [TeX & IPC] (ipcpage): Remember to set begun to true
1302 Sun Mar 8 18:21:46 1998 Olaf Weber <olaf@infovore.xs4all.nl>
1304 * printversion.c (printversionandexit): Copyright year is 1998.
1306 Tue Feb 10 17:56:36 1998 Olaf Weber <infovore@xs4all.nl>
1308 * texmfmp.c: Provide the hooks for the epsf server. From Mathias
1311 * eofeoln.c: Prototype eoln. Spotted by Andreas Scherer
1312 <Andreas.Scherer@Pobox.Com>
1314 * fprintreal.c: Prototype fprintreal. Spotted by Andreas Scherer
1315 <Andreas.Scherer@Pobox.Com>
1317 Fri Jan 23 15:01:31 1998 Olaf Weber <infovore@xs4all.nl>
1319 * texmfmp.c: Various patches for Omega from John Plaice.
1320 (ipcpage [Omega]): Fix because string handling in Omega differs.
1321 (maybe_set_dump_default): Fix to get %& to work in more cases.
1323 Thu Dec 18 20:37:20 1997 Olaf Weber <infovore@xs4all.nl>
1325 * texmfmp.c: Change spelling of -maketex option to -mktex.
1327 Fri Dec 12 10:22:52 1997 Olaf Weber <infovore@xs4all.nl>
1329 * openclose.c (open_output): Don't use TEXMFOUTPUT value if it is
1332 * texmfmp.c (openoutnameok): Rewritten to support three levels of
1334 (main): Assignment to shellenabledp has been rewritten: we now
1335 enable only if certain values are found.
1337 Mon Dec 1 19:05:06 1997 Olaf Weber <infovore@xs4all.nl>
1339 * texmfmp.c (maybe_set_dump_default_from_input): Reset the program
1340 name if the dump_name changes.
1342 * texmfmp.c [WIN32 && !NO_MF_ASM]: Include "lib/mfmpw32.c" instead
1343 of "../win32/mfmpi386.c".
1345 * texmfmp.c (main, parse_options): Add support for --interaction
1348 * texmfmp.c (main) [eTeX]: Make sure calling e-TeX as initex or
1349 virtex works as it should.
1351 Sat Nov 29 13:06:53 1997 Olaf Weber <infovore@xs4all.nl>
1353 * texmfmp.c (main): We assume "plain" for the dump_name iff the
1354 program was called as ini* or vir*. And in the case of ini*, the
1355 file name will override this anyway.
1357 * texmfmp.c (callmakempx): Add xstrdup, because we end up
1358 potentially freeing a static string otherwise. From Fabrice
1361 Sun Nov 23 19:43:57 1997 Olaf Weber <infovore@xs4all.nl>
1363 * texmfmp.c (openoutnameok): When we're trying to be safe, add
1364 some extra paranoia supplied by Charles Karney <karney@pppl.gov>.
1366 Sat Nov 22 19:26:13 1997 Olaf Weber <infovore@xs4all.nl>
1368 * texmfmp.c (main): Use kpse_set_program_name and
1369 kpse_program_name instead of kpse_set_progname and
1370 program_invocation_short_name.
1372 Sat Nov 15 21:27:23 1997 Olaf Weber <infovore@xs4all.nl>
1374 * texmfmp.c: Various changes to support Omega.
1376 Fri Nov 14 16:43:28 1997 Olaf Weber <infovore@xs4all.nl>
1378 * texmfmp.c [eTeX,PDFTeX]: Inclusion of header file with
1381 Fri Oct 24 13:41:56 1997 Olaf Weber <infovore@xs4all.nl>
1383 * texmfmp.c: Prototypes for the mf_*_{blankrectangle,paintrow}
1386 Mon Oct 20 08:16:40 1997 Olaf Weber <infovore@xs4all.nl>
1388 * texmfmp.c [WIN32]: Added support for WIN32WIN. Added suppport
1389 for redirection of stderr to a logfile. Added support for asm
1390 routines. Prototyped mainbody.
1391 (setupboudvariable): Don't try to free expansion if it is NULL.
1392 From Fabrice Popineau.
1394 * main.c (main): Prototype mainbody. From Fabrice Popineau.
1396 Sun Oct 19 10:57:43 1997 Olaf Weber <infovore@xs4all.nl>
1398 * printversion.c (printversionandexit): Removed web2c maintainer's
1399 name from version info.
1401 Fri Oct 17 10:33:06 1997 Olaf Weber <infovore@xs4all.nl>
1403 * texmfmp.c: Correct prototypes for all the varieties of
1404 ...initscreen and ...updatescreen. No prototypes for
1405 ...blankrectangle and ...paintrow.
1407 * texmfmp.c (main) [MSDOS, WIN32]: Use case-insensitive comparison
1408 for filenames on MS-DOS/MS-Windows.
1409 (openoutnameok): When testing for `unix' make sure `MSDOS' is NOT
1410 defined since DJGPP defines both.
1411 (initscreen): Use "mftalk" for DJGPP as well.
1412 From Eli Zaretskii <eliz@is.elta.co.il>.
1414 Thu Oct 16 20:34:25 1997 Olaf Weber <infovore@xs4all.nl>
1416 * texmfmp.c (parseoptions [TeX], main): Remove everything related
1417 to the -extend-jobname option.
1419 Fri Oct 3 11:46:15 1997 Olaf Weber <infovore@xs4all.nl>
1421 * texmfmp.c: Add prototypes for the mf_trap_* functions. After
1424 Thu Oct 2 18:07:24 1997 Olaf Weber <infovore@xs4all.nl>
1426 * texmfmp.c (main): Added locale support. From Bernd Raichle
1427 <raichle@informatik.uni-stuttgart.de>.
1429 Tue Sep 30 12:00:13 1997 Olaf Weber <infovore@xs4all.nl>
1431 * version.c: use version string from c-auto.h.
1433 * texmfmp.c: Changed return type of main int.
1435 Fri Mar 21 16:38:48 1997 Karl Berry <karl@cs.umb.edu>
1437 * texmfmp.c (struct msg): Do not try to declare the zero-length
1438 array, just leave it out.
1439 Bug from: jumper@lens.sri.com (Greg Jumper)
1441 Wed Feb 12 08:18:07 1997 Fabrice POPINEAU <popineau@ese-metz.fr>
1443 * texmfmp.c (catch_interrupt): Win32, differentiate between user
1444 interrupt and console closing.
1446 Mon Feb 3 18:01:42 1997 Karl Berry <karl@cs.umb.edu>
1448 * texmfmp.c (parse_options): Check for -1, not EOF,
1451 Mon Jan 27 22:44:29 1997 Ulrik vieth <vieth@thphy.uni-duesseldorf.de>
1453 * texmfmp.c (BANNER) [MP]: Update to version 0.632.
1455 Sat Jan 18 13:04:34 1997 Karl Berry <karl@cs.umb.edu>
1457 * texmfmp.c: Update len.
1458 From: Gregor Hoffleit <flight@mathi.uni-heidelberg.de>.
1460 Thu Jan 16 14:29:50 1997 Karl Berry <karl@cs.umb.edu>
1462 * alloca.c: New version from /gd/gnu/lib.
1464 * texmfmp.c (funny_core_dump): Move to new file.
1465 * coredump.c: New file.
1466 * Makefile.in (objects): Add coredump.o.
1467 This makes it possible for BibTeX to find the function
1468 (not that it needs it).
1469 From: Richard Walker <Richard.Walker@cs.anu.edu.au>
1471 Sun Jan 5 16:11:12 1997 Karl Berry <karl@cs.umb.edu>
1473 * printversion.c: It's 1997 now.
1475 Sun Dec 29 17:11:03 1996 Karl Berry <karl@cs.umb.edu>
1477 * basechsuffix.c (basenamechangesuffix): Filename comparison may
1478 be case-insensitive. From Fabrice.
1480 Sat Dec 28 17:37:14 1996 Karl Berry <karl@cs.umb.edu>
1482 * texmfmp.c (ipcpage): Pass the whole DVI filename to the other
1483 end of the connection, not just the relative name. (It may have
1484 been already started up.)
1486 Sun Dec 15 16:50:25 1996 Karl Berry <karl@cs.umb.edu>
1488 * texmfmp.c: #if 0-out all the TCX file stuff.
1489 Suggested by David Carlisle et al.
1491 Sun Dec 8 16:40:57 1996 Karl Berry <karl@cs.umb.edu>
1493 * openclose.c (standardinput, standardoutput): Remove these;
1494 make them globals in bibtex.ch itself.
1496 * printversion.c, texmfmp.c, usage.c: WIN32 changes.
1499 Sat Dec 7 11:10:39 1996 Karl Berry <karl@cs.umb.edu>
1501 * texmfmp.c (topenin): Rewrite to avoid strcat, for Omega.
1502 From: John Plaice <plaice@iad.ift.ulaval.ca>.
1504 Fri Dec 6 17:44:45 1996 Karl Berry <karl@cs.umb.edu>
1506 * texmfmp.c (main) [TeX && Omega]: Initialize MakeTeX{OCP,OFM}.
1507 * openclose.c (ocptemp): New global.
1508 (open_input): Read ahead in ofm and ocp files.
1510 Tue Dec 3 15:15:14 1996 Ulrik Vieth <vieth@thphy.uni-duesseldorf.de>
1512 * Makefile.in: Remove spurious targets for wsun.c and wx11.c.
1514 Tue Dec 3 15:15:14 1996 Ulrik Vieth <vieth@thphy.uni-duesseldorf.de>
1516 * texmfmp.c (long_options): mpost -T or -troff doesn't take an
1519 * Makefile.in: Remove spurious targets for wsun.c and wx11.c.
1521 Wed Nov 27 10:02:21 1996 Karl Berry <karl@cs.umb.edu>
1523 * texmfmp.c (NO_MF_ASM) [__sun__]: Define; our assembler code
1524 doesn't work with the Solaris/x86 assembler.
1525 * mfmpi386.asm: Doc fix.
1527 Sat Nov 23 14:42:53 1996 Karl Berry <karl@cs.umb.edu>
1529 * texmfmp.c (openoutok): Allow .tex as a special case.
1531 Fri Nov 15 16:15:32 1996 Karl Berry <karl@cs.umb.edu>
1533 * texmfmp.c (openoutnameok): Do not free the result of basename;
1534 it's never dynamically allocated anyway.
1536 Sun Nov 10 16:37:19 1996 Karl Berry <karl@cs.umb.edu>
1538 * texmfmp.c: Check for inimpost and virmpost instead of
1541 Mon Oct 14 17:27:34 1996 Karl Berry <karl@cs.umb.edu>
1543 * texmfmp.c (DUMP_EXT) [DOS]: Only truncate to .bas if DOS,
1544 not DOSISH; WinNT/Win95 support long filenames (at long last).
1545 (initscreen) [WIN32]: Use mftalk a la OS2.
1546 (get_date_and_time): Include parameter in old_handler decl.
1548 Mon Oct 7 12:49:38 1996 Karl Berry <karl@cs.umb.edu>
1550 * Makefile.in (objects): Include printversion.o.
1551 * printversion.c: New file.
1553 * texmfmp.c: Oops, iniversion doesn't it, it's global.
1554 (parse_options): Call printversionandexit.
1556 Sun Oct 6 10:17:00 1996 Karl Berry <karl@cs.umb.edu>
1558 * texmfmp.c (main): Initialize iniversion and virversion.
1560 Sat Sep 7 16:14:41 1996 Karl Berry <karl@cs.umb.edu>
1562 * usage.c: Include the bug reporting address.
1564 Sun Aug 4 15:48:03 1996 Karl Berry <karl@cs.umb.edu>
1566 * texmfmp.c (parse_options): Print the Kpathsea version string, too.
1567 * version.c: Do `Web2c VERSION' instead of `C version VERSION'.
1569 Fri Jul 26 15:47:29 1996 Karl Berry <karl@cs.umb.edu>
1571 * Makefile.in: Remove co.make.
1573 Sat Jun 1 13:17:09 1996 Karl Berry <karl@cs.umb.edu>
1575 * texmfmp.c (openoutnameok): Change #ifdef to TeX || MP.
1577 Fri May 24 11:38:59 1996 Karl Berry <karl@cs.umb.edu>
1579 * texmfmp.c (main): Initialize extend_jobname.
1580 (parse_options) [TeX]: New option -extend-jobname.
1582 Sun Apr 28 15:13:22 1996 Karl Berry <karl@cs.umb.edu>
1584 * mfmpi386.asm [ASM_NEEDS_UNDERSCORE]: #ifdef labels on new
1585 configure condition.
1586 From: Peter Breitenlohner <peb@MPPMU.MPG.DE>.
1588 Tue Apr 23 08:26:11 1996 Karl Berry <karl@cs.umb.edu>
1590 * texmfmp.c (callmakempx): Always pass -troff, even if we got the
1591 command name from texmf.cnf.
1593 Sun Apr 21 16:59:44 1996 Karl Berry <karl@cs.umb.edu>
1595 * texmfmp.c (parse_options): New options -maketex and -no-maketex
1598 Sat Apr 20 17:55:37 1996 Karl Berry <karl@cs.umb.edu>
1600 * texmfmp.c [IPC_DEBUG]: Text changes.
1602 Fri Mar 22 15:30:45 1996 Karl Berry <karl@cs.umb.edu>
1604 * Remove GPL from these files; Web2c proper can stay p.d.
1606 Sun Mar 10 16:12:14 1996 Karl Berry <karl@cs.umb.edu>
1608 * openclose.c: Oops, forgot to #include variable.h.
1610 Fri Mar 8 16:00:20 1996 Karl Berry <karl@cs.umb.edu>
1612 * texmfmp.c (init_maketex): Remove this; we will do it in Kpathsea
1613 instead now, in the format initialization tex-file.c.
1615 * openclose.c (open_output): Look for TEXMFOUTPUT in texmf.cnf.
1617 Wed Feb 21 11:45:02 1996 Karl Berry <karl@cs.umb.edu>
1619 * openclose.c: Don't abort if the TFM file is empty.
1621 Sat Feb 17 15:22:52 1996 Karl Berry <karl@cs.umb.edu>
1623 * texmfmp.c (openoutnameok): New function.
1625 Fri Feb 16 17:51:53 1996 Karl Berry <karl@cs.umb.edu>
1627 * texmfmp.c (long_options) [NONASCII]: Include --translate
1628 conditionally. (Really should change the help message, too.)
1630 Sat Feb 10 15:22:59 1996 Karl Berry <karl@cs.umb.edu>
1632 * texmfmp.c (parse_options): Make DUMP_OPTION also set the user
1633 progname, since -progname sets the dump name.
1635 Fri Dec 29 17:16:42 1995 Karl Berry <karl@cs.umb.edu>
1637 * Makefile.in: misc.make is now clean.make.
1639 Sun Dec 17 15:09:44 1995 Karl Berry <karl@cs.umb.edu>
1641 * texmfmp.c (long_options): New option --debug-format, suggested
1644 Sun Dec 10 16:13:46 1995 Karl Berry <karl@cs.umb.edu>
1646 * mfmpi386.asm: Remove _'s. From Wayne.
1648 * texmfmp.c (PROGRAM_VERSION) [MP]: Now at 0.631.
1649 [TeX] No asm stuff. From Gregor Hoffleit, et al.
1651 Sun Nov 26 13:39:00 1995 Karl Berry <karl@cs.umb.edu>
1653 * texmfmp.c (main): Enable mltex extensions if --mltex option or
1654 the program name is mltex.
1656 Fri Nov 17 14:35:45 1995 Karl Berry <karl@cs.umb.edu>
1658 * texmfmp.c (-program): New option for TeX, MF, MP. Suggested by Bernd.
1660 Thu Nov 16 16:20:03 1995 Karl Berry <karl@cs.umb.edu>
1662 * texmfmp.c (argv, argc): Do not define as static, as we declare
1663 them extern in cpascal.h. From Andreas Scherer.
1665 Sun Nov 12 16:32:27 1995 Karl Berry <karl@cs.umb.edu>
1667 * Makefile.in (sysopt_o): Remove this stuff. From Wayne.
1668 * texmfmp.c [i386 && GNUC && !NO_MF_ASM]: #include mfmpi386.asm
1669 instead of using the C code.
1671 * texmfmp.c: Disable shell escapes by default.
1673 Fri Oct 6 16:23:03 1995 Karl Berry <karl@cs.umb.edu>
1675 * texmfmp.c (maybe_set_dump_default_from_input): Make %&ini set
1676 iniversion. Suggested by Wayne.
1678 Mon Oct 2 15:48:21 1995 Karl Berry <karl@cs.umb.edu>
1680 * texmfmp.c (init_maketex): Really disable if the value is zero.
1682 Sat Sep 30 16:02:56 1995 Karl Berry <karl@cs.umb.edu>
1684 * texmfmp.c (main) [TeX]: Look up the `noshell' config variable.
1685 (parse_options): No options -noshell and -output-comment.
1687 Sat Sep 23 15:04:54 1995 Karl Berry <karl@cs.umb.edu>
1689 * Makefile.in (objects): Remove strtol.o, this is in kpathsea now.
1691 Fri Sep 22 15:51:13 1995 Karl Berry <karl@cs.umb.edu>
1693 * texmfmp.c (init_maketex): New routine.
1694 (main): Call it, instead of repeating the weird code.
1696 Mon Sep 4 17:16:06 1995 Karl Berry <karl@cs.umb.edu>
1698 * Makefile.in (objects): Remove xopenfile.o.
1699 * xopenfile.c: Move to kpathsea.
1701 Thu Aug 31 13:35:47 1995 Karl Berry <karl@cs.umb.edu>
1703 * texmfmp.c [!MF_ASM_FRACTION] (takefraction, ...): Conditionalize
1704 the floating-point definitions on this, too.
1705 * Makefile.in (optx86.o): New target.
1706 * optx86.s: New file.
1708 Tue Aug 22 14:11:27 1995 Karl Berry <karl@cs.umb.edu>
1710 * Makefile.in: Include rdepend.make, instead of repeating the code.
1712 Mon Jul 31 17:46:31 1995 Karl Berry <karl@cs.umb.edu>
1714 * texmfmp.c (setupboundvariable): Call kpse_var_value, so we don't
1715 have to pass in the $. Similarly everywhere else.
1717 Sat Jul 29 19:26:33 1995 Karl Berry <karl@cs.umb.edu>
1719 * texmfmp.c (callmakempx): Rewrite to pass -troff flag, instead of
1720 invoking troff script. And use new kpse_var_value.
1722 Fri Jul 28 11:10:26 1995 Karl Berry <karl@cs.umb.edu>
1724 * Makefile.in (depend): Comment out this target in the
1725 distribution, it doesn't work when $srcdir != build-dir.
1727 * texmfmp.c (callmakempx): Don't call anything if the command is
1730 Tue Jul 25 13:39:04 1995 Karl Berry <karl@cs.umb.edu>
1732 * texmfmp.c (callmakempx): Free the variable expansion.
1734 Mon Jul 24 11:48:35 1995 Karl Berry <karl@cs.umb.edu>
1736 * texmfmp.c (callmakempx): New fn.
1738 Sun Jul 23 11:39:51 1995 Karl Berry <karl@cs.umb.edu>
1740 * texmfmp.c (edit_value): Remove this #define.
1741 (calledit): Call kpse_var_expand for TEXEDIT et al., instead of
1743 (ztakefraction, zmakefraction, ztakescaled, zmakescaled): Include
1744 Hobby's C code from mpmath.c.
1746 Sat Jul 22 14:20:38 1995 Karl Berry <karl@cs.umb.edu>
1748 * openclose.c (open_input) [FUNNY_CORE_DUMP]: Recognize
1749 HackyInput... for MetaPost. Doc fixes.
1751 * texmf.c: Rename to texmfmp.c for MetaPost support.
1752 (long_options) [MP]: Add -T and -troff.
1754 Thu Jul 20 13:40:39 1995 Karl Berry <karl@cs.umb.edu>
1756 * texmf.c (setupboundvariable) [TeX]: Remove conditional, since MF
1757 sets a couple simple variables dynamically now.
1758 (initscreen): Get MFTERM from texmf.cnf file if it's there,
1759 instead of just calling getenv.
1761 Tue Jul 18 13:40:25 1995 Karl Berry <karl@cs.umb.edu>
1763 * texmf.c (initscreen): Give warning if they're using X, but there
1766 Mon Jul 17 13:10:37 1995 Karl Berry <karl@cs.umb.edu>
1768 * texmf.c (NO_FMTBASE_SHARE): Rename to NO_DUMP_SHARE.
1769 [MF]: Declare return types for window routines.
1770 Also, move trap support to another file, window/trap.c.
1772 Sun Jul 16 14:35:33 1995 Karl Berry <karl@cs.umb.edu>
1774 * texmf.c (main): Rewrite enabling of MakeTeX* to match new
1777 Sat Jul 15 16:05:37 1995 Karl Berry <karl@cs.umb.edu>
1781 Fri Jul 14 14:31:57 1995 Karl Berry <karl@cs.umb.edu>
1783 * texmf.c (read_char_translation_file): Compute `charssavedbycharset'.
1784 (setupcharset): Do not allow dynamic translation in initex.
1786 Thu Jul 13 14:05:24 1995 Karl Berry <karl@cs.umb.edu>
1788 * texmf.c (setupcharset, read_char_translation_file,
1789 tcx_get_num): New functions to implement dynamic char translations.
1790 (parse_options): Add -translate-file option.
1792 Sun Jul 9 15:28:09 1995 Karl Berry <karl@cs.umb.edu>
1794 * texmf.c (maybe_set_dump_default_from_input): Don't index
1795 argv[optind] if optind is >= argc.
1797 Tue Jul 4 16:58:54 1995 Karl Berry <karl@cs.umb.edu>
1799 * texmf.c (maybe_set_dump_default_from_input): Finish implementing
1800 this (%&FNAME on first line => use FNAME for dump file).
1802 Thu Jun 29 17:50:38 1995 Karl Berry <karl@cs.umb.edu>
1804 * texmf.c (parse_options) [TeX && IPC]: Concatenate TEX_IPC_HELP
1807 * openclose.c (open_input): Detect nonexistent files correctly again.
1809 Wed Jun 21 15:54:45 1995 Karl Berry <karl@cs.umb.edu>
1811 * texmf.c (parse_options): Add --fmt (TeX) and --base (MF).
1812 (DUMP_OPTION): #ifdef'd #define to determine which.
1814 Mon Jun 19 20:09:34 1995 Karl Berry <karl@cs.umb.edu>
1816 * texmf.c: Add IPC support.
1817 From: Shamim Mohamed <shamim@howland.isu.edu>
1818 From: Tomas G. Rokicki <rokicki@CS.Stanford.EDU>
1820 Sat Jun 10 16:06:06 1995 Karl Berry <karl@cs.umb.edu>
1822 * openclose.c: Doc fix.
1824 Fri Jun 9 19:36:12 1995 Karl Berry <karl@cs.umb.edu>
1826 * main.c, texmf.c (main) [__EMX__]: Add _wildcard and _response calls.
1827 * texmf.c: Add mftalk support.
1828 (funny_core_dump, catch_interrupt) [__EMX__]: OS2 support.
1829 From: rs@purple.in-ulm.de (Ralph Schleicher).
1831 Sun Jun 4 10:30:36 1995 Karl Berry <karl@cs.umb.edu>
1833 * eofeoln.c (eof): Return true if the file doesn't exist.
1835 * texmf.c: Add support for AMIGAWIN. From Andreas Scherer.
1837 * alloca.c (NULL, xmalloc): Do not define these here, they're
1838 (indirectly) in config.h. From Andreas Scherer.
1840 * texmf.c (setupboundvariable): Don't complain about 0 in the cnf
1841 file if the default is also 0.
1843 Sat Jun 3 11:54:28 1995 Karl Berry <karl@cs.umb.edu>
1845 * xopenfile.c: Include the program name in the error message.
1847 * texmf.c (setupboundvariable): If the variable is unset in
1848 texmf.cnf, the expansion is the empty string, not NULL. Also, free
1851 Fri Jun 2 13:41:41 1995 Karl Berry <karl@cs.umb.edu>
1853 * texmf.c (DUMP_EXT) [DOSISH]: Must be `.bas'. From Wayne.
1854 (input_line): Cast buf_size in printf to avoid warning.
1855 (setupboundvariable): New routine for lookup of dynamic bounds.
1857 Sun May 28 17:41:49 1995 Karl Berry <karl@cs.umb.edu>
1859 * zround.c: Compare against TeX's boundary integers (as floating
1860 point constants), instead of INTEGER_{MIN,MAX}.
1862 Fri May 26 17:47:47 1995 Karl Berry <karl@cs.umb.edu>
1864 * strtol.c: New file, from textutils.
1865 * Makefile.in (objects): Add strtol.o.
1867 Wed May 24 17:07:39 1995 Karl Berry <karl@cs.umb.edu>
1869 * texmf.c (parse_options): New routine for TeX & MF.
1870 (PROGRAM_VERSION, PROGRAM_HELP): Define these.
1873 Sat May 20 17:28:51 1995 Karl Berry <karl@cs.umb.edu>
1875 * xopenfile.c: Do perror if we had a full filename to try.
1877 * basechsuffix.c: Take old suffix, and only do the change if the
1880 * usage.c (usage): If bad status, construct the --help message.
1882 Tue May 9 15:46:25 1995 Karl Berry <karl@cs.umb.edu>
1886 Sat May 6 11:23:23 1995 Karl Berry <karl@cs.umb.edu>
1888 * usage.c: New file.
1889 * Makefile.in (objects): Add it.
1891 Tue Apr 25 14:02:10 1995 Karl Berry <karl@cs.umb.edu>
1893 * Makefile.in (library): Set to lib instead of lib.a, to match the
1894 other Makefile conventions.
1896 Sun Apr 23 10:54:35 1995 Karl Berry <karl@cs.umb.edu>
1898 * texmf.c: Have to include {tex,mf}d.h before #ifdef TeX, so do it
1901 Sat Apr 22 10:26:10 1995 Karl Berry <karl@cs.umb.edu>
1903 * main.c (main): Call mainbody, not main_body.
1905 * openclose.c (aclose): Don't complain if the file is already closed.
1906 (texinputtype): Define this.
1908 * texmf.c (main): Do program_name stuff unconditionally, not just
1909 in vir*, and rewrite it to use program_invocation_short_name.
1911 Fri Apr 21 11:39:14 1995 Karl Berry <karl@cs.umb.edu>
1915 * input2int.c: Split off from inputint.c.
1917 Sun Apr 16 11:47:37 1995 Karl Berry <karl@cs.umb.edu>
1919 * openclose.c (open_input, open_output): Retrieve and store the
1920 filename from name_of_file + 1, not name_of_file, to avoid extra
1921 hassles in the change files.
1923 Fri Apr 14 15:28:47 1995 Karl Berry <karl@cs.umb.edu>
1925 * Makefile.in (objects): Include openclose.o.
1926 * openclose.c: New file, from openinout.c.
1928 Tue Feb 21 13:51:58 1995 Karl Berry <karl@cs.umb.edu>
1930 * xopenfile.c: Have to take another arg, the original name.
1932 Mon Feb 20 17:18:59 1995 Karl Berry <karl@cs.umb.edu>
1934 * xopenfile.c: New file.
1935 * Makefile.in (objects): Add it, and remove xfopen-pas.o.
1937 Sun Feb 5 15:33:29 1995 Karl Berry <karl@cs.umb.edu>
1939 * basechsuffix.c: New file.
1940 * Makefile.in (objects): Add it.
1942 Tue Jan 10 13:20:47 1995 Karl Berry <karl@cs.umb.edu>
1944 * Makefile.in (objects): Remove strpascal.o (no longer needed) and
1945 getopt.o (in kpathsea).
1947 Sun Dec 18 16:38:03 1994 Karl Berry <karl@cs.umb.edu>
1949 * strpascal.c (errprintpascalstring, etc.): Don't need these any more?
1951 Sat Dec 17 13:42:03 1994 Karl Berry <karl@cs.umb.edu>
1953 * mksuffixchar.c: This was short-lived.
1954 * chartostring.c: This replaces it.
1955 * Makefile.in (objects): Ditto. Also remove ourpaths.o.
1957 Mon Nov 14 15:13:50 1994 Karl Berry <karl@cs.umb.edu>
1959 * mksuffixchar.c: New file.
1960 * Makefile.in (objects): Add it.
1962 Sun Nov 13 16:43:40 1994 Karl Berry <karl@cs.umb.edu>
1964 * Makefile.in (objects): Add w*.o.
1965 (wsun.c, wx11.c): Add links for these.
1967 Fri Oct 28 11:14:08 1994 Karl Berry <karl@cs.umb.edu>
1969 * strpascal.c (extendfilename): Remove this.
1971 Thu Oct 27 17:59:07 1994 Karl Berry <karl@cs.umb.edu>
1973 * main.c (argv): Return a regular C string, instead of a Pascal string.
1975 Fri May 27 09:50:14 1994 Karl Berry (karl@cs.umb.edu)
1977 * texmf.c (main): Don't look for USE_MAKETEX*.
1979 * c-auto.h.top, texmf.c (NO_FMTBASE_SHARE): Rename from
1982 Thu May 26 20:37:24 1994 Karl Berry (karl@cs.umb.edu)
1984 * c-auto.h.top: Why did I take out the #ifndef's? Put them back.
1986 Tue May 24 14:43:12 1994 Karl Berry (karl@cs.umb.edu)
1988 * texmf.c (funny_core_dump): No need to declare, since we define
1989 it later in this file.
1991 Mon Apr 18 17:31:59 1994 Karl Berry (karl@ra.cs.umb.edu)
1993 * c-auto.h.top: Rename from c-auto.h.in for autoheader convention,
1994 and don't #ifndef the #undef's.
1995 * Makefile.in: autoheader/autoconf changes.
1997 Thu Feb 24 11:00:53 1994 Karl Berry (karl@cs.umb.edu)
1999 * ourpaths.c: Include tex-file.h instead of init-path.h.
2001 Mon Feb 21 14:29:52 1994 Karl Berry (karl@cs.umb.edu)
2003 * Makefile.in: srcdir changes from simon.
2005 * gftodmem.h: Move here from fontutil, to simplify srcdir stuff.
2007 Wed Feb 2 11:00:47 1994 Karl Berry (karl@cs.umb.edu)
2011 Tue Feb 1 11:25:44 1994 Karl Berry (karl@cs.umb.edu)
2013 * Makefile.in (c-auto.h.in): New target.
2015 * common.defines (rh): Declare as a field, for TeX--Xet.
2017 Mon Jan 24 07:33:49 1994 Karl Berry (karl@cs.umb.edu)
2021 Thu Jan 20 14:22:07 1994 Karl Berry (karl@cs.umb.edu)
2023 * c-auto.h.in: Doc fix.
2025 * MakeTeX{TFM,MF}: Include these as samples, from
2026 pnoma@wk.estec.esa.nl.
2028 Fri Dec 24 13:48:46 1993 Karl Berry (karl@cs.umb.edu)
2030 * getopt.c (_NO_PROTO): Define before including config.h.
2032 Tue Dec 7 10:23:59 1993 Karl Berry (karl@cs.umb.edu)
2034 * Makefile.in (objs): Ah, flexfatal is in the library now.
2036 Sun Dec 5 15:23:47 1993 Karl Berry (karl@cs.umb.edu)
2038 * ourpaths.c (setpaths): Remove the KPSE_MAKE_* enables, this file
2039 is not compiled in the tex/mf/bibtex directories.
2040 * texmf.c (main): Set them here.
2042 * c-auto.h.in (XVIEWWIN): Remove this, as x11-Xt should work
2043 with OpenWindows. (But leave it in configure, just for old-times'
2046 Sat Dec 4 11:29:57 1993 Karl Berry (karl@cs.umb.edu)
2048 * flexfatal.c: New file.
2049 * Makefile.in (flexfatal.o): New target.
2052 * texmf.h (NO_DEBUG) [!TEXMF_DEBUG]: Define this.
2054 * openinout.c (make_tex_file): Pass address of nameoffile, as required.
2056 Sun Nov 14 02:30:34 1993 Karl Berry (karl@cs.umb.edu)
2058 * version.c (VERSION_STRING) [!VERSION_STRING]: Define and protect.
2060 Fri Nov 12 19:38:26 1993 Karl Berry (karl@cs.umb.edu)
2062 * cpascal.h (reset, rewrite): Use FOPEN_[RW]BIN_MODE instead of
2063 "r" and "w". Still not 100% right, but at least something of an
2066 Sun Nov 7 14:17:24 1993 Karl Berry (karl@cs.umb.edu)
2068 * Makefile.in (.c.o): Use $< instead of $*.c; maybe it will help
2069 with $(srcdir) stuff?
2071 * texmf.c (input_line): Trim trailing spaces, tabs, and \r's.
2073 * lib.h: Remove, this is in Kpathsea now.
2075 * config.h (INTEGER_TYPE) [LONG_64_BITS && !NO_FMTBASE_SWAP]:
2076 Define as int in this case.
2077 (INTEGER_MAX,INTEGER_MIN): Define these as well.
2078 * zround.c (zround): Use INTEGER_{MAX,MIN}.
2079 From raichle@informatik.uni-stuttgart.de.
2081 Sat Nov 6 13:21:11 1993 Karl Berry (karl@cs.umb.edu)
2083 * c-auto.h.in (NEXTWIN, REGISWIN): #undef by default.
2084 * texmf.c (mfwin_sw): Add cases for regis and next.
2085 (mf_{next,regis}_*) [NEXT,REGISWIN]: Declare.
2087 Tue Oct 12 14:03:23 1993 Karl Berry (karl@cs.umb.edu)
2089 * openinout.c (open_input): Allow HackyCoreDump's for MF, too.
2091 * ourpaths.c (testreadaccess): Update fontmap stuff, use it for GF
2092 and PK as well as TFM.
2096 * common.defines (cinttype): Declare.
2097 * cpascal.h (cinttype): Define.
2099 Sun Oct 10 16:17:48 1993 Karl Berry (karl@cs.umb.edu)
2101 * ourpaths.c: Rewrite for new kpathsea facilities.
2103 Sun Oct 3 13:49:40 1993 Karl Berry (karl@cs.umb.edu)
2105 * ourpaths.c: kpathsea/pathsrch.h has been renamed to pathsearch.h.
2107 * config.h [ibm032]: Remove all this stuff; I don't think it's
2110 * Makefile.in (*clean): Include standard targets.
2112 Mon Jun 7 08:29:45 1993 Karl Berry (karl@cs.umb.edu)
2114 * cpascal.h (addressofint): Do not cast to int first.
2116 Mon May 31 09:40:00 1993 Karl Berry (karl@cs.umb.edu)
2118 * config.h (EXIT_SUCCESS): Move to c-std.h.
2120 Tue May 25 14:37:16 1993 Karl Berry (karl@cs.umb.edu)
2122 * config.h (EXIT_SUCCESS): Rename from EXIT_SUCCESS_CODE.
2123 Change callers in various files.
2125 Fri May 21 11:56:02 1993 Karl Berry (karl@cs.umb.edu)
2127 * texmf.c (paintrow): Put args in the printf for paintrow.
2129 * texmf.c (custom_default) [INI]: Declare conditionally, since
2130 it's used conditionally.
2131 (main): Declare as void.
2133 * openinout.c (open_input): Rename IS_PATH_SEP to IS_DIR_SEP.
2135 * alloca.c: Replace with version from gcc 2.4.0.
2137 * config.h (testreadaccess): Declare.
2139 * xfopen-pas.c: Remove unused variable `cp'.
2141 * main.c (main): Return 0 instead of using uexit.
2143 Tue May 18 13:43:07 1993 Karl Berry (karl@cs.umb.edu)
2145 * texmf.c (do_undump) [VMS]: Remove this. barabash says it works ok.
2147 Thu May 13 16:53:47 1993 Karl Berry (karl@cs.umb.edu)
2149 * getopt.c (my_index): Return const char *, and change callers.
2151 * Not quite all of Bill's changes below have been merged (not the
2152 new descrip.mms or convert.com files, in particular), but just to
2153 get the gist, I'll include the whole log.
2155 Wed Mar 24 12:28:25 1993 Bill Barabash (barabash@ops5.lmo.dec.com)
2157 * c-auto.h : It's too complicated to convert the big hairy config
2158 shell script; I just created a VMS-acceptable c-auto.h manually.
2160 * c-std.h : Declare VMS's unix-compatibillity routines by including
2161 <unixlib.h> and <unixio.h>; don't declare popen() on VMS.
2163 * common.h : Declare EXIT_SUCCESS_CODE to be 1 on VMS, 0 elsewhere.
2164 Throw away the VMS system library's getname() declaration, it steps
2165 on a WEB procedure and is not needed. Declare routines eof(),
2166 testreadaccess(), zinput2ints(), extendfilename(), and uexit().
2168 * convert.com : VMS command procedure based on the shell script
2169 "convert" (new file).
2171 * descrip.mms : VMS equivalent of makefile (new file).
2173 * dirio.h : Don't declare xopendir and xclosedir on VMS.
2175 * getopt.h : Make my_index accept and return a const character
2176 pointer. Have it return NULL instead of 0 when necessary.
2178 * main.c : Add function prototype for main_body().
2180 * openinout.c, pascal.h, c-auto.h : For BibTeX, use stdin and stdout
2181 on VMS (standardinput and standardoutput become macros).
2183 * pascal.h : On VMS use system-defined abs() and fabs().
2185 * paths.h : Hand-coded for VMS.
2187 * pathsrch.c : On VMS, don't compile routine expand_subdir(), and
2188 look in current directory for input file if path searching fails.
2189 Routine absolute_p() can now deal with VMS directory specifications.
2191 * texmf.c : Declare argc so that it links cleanly. Add an unused
2192 formal parameter to catch_interrupt so that it can be passed to
2193 signal without the compiler complaining. Cast argument to time()
2194 as a (time_t *) rather than as a (long *). Get rid of the VMS
2195 undump code contributed by joe%ril3.decnet@hydra.tamri.com -- it
2196 causes the TRAP test to fail.
2198 * texmf.h : Add function prototypes for routines in texmf.c and
2201 Thu May 13 14:43:42 1993 Karl Berry (karl@cs.umb.edu)
2203 * cpascal.h (fabs) [fabs]: Undefine if it's already defined.
2205 Sun May 9 09:53:05 1993 Karl Berry (karl@cs.umb.edu)
2207 * convert: Redirect error echo to stderr; exit 0 if no error.
2209 * config.h: Changes for kpathsea. Toss volatile defn.
2211 * Makefile.in (objs): Remove kpathsea files.
2213 Fri Apr 30 15:06:29 1993 Karl Berry (karl@cs.umb.edu)
2215 * openinout.c (make_tex_file): Free cmd.
2217 Fri Apr 16 19:42:15 1993 Karl Berry (karl@cs.umb.edu)
2219 * find-suffix.c: Declare arg and return string const.
2220 * lib.h (find_suffix): Change decl.
2222 * c-pathch.h (IS_PATH_SEP) [DOS & otherwise]: New defn.
2223 * pathsrch.c, openinout.c, find-suffix.c: Consequent changes.
2225 Mon Apr 12 06:14:42 1993 Karl Berry (karl@cs.umb.edu)
2227 * Makefile.in (clean): Remove core here.
2229 Sat Apr 10 15:20:25 1993 Karl Berry (karl@cs.umb.edu)
2231 * openinout.c (make_tex_file): Throw away all output.
2233 * texmf.c (swap_items): Add case for 16-byte items.
2234 (From james@miller.cs.uwm.edu.)
2236 * texmf.c (get_date_and_time): Cast arg to time_t *, not long *.
2237 (From james@miller.cs.uwm.edu.)
2239 * texmf.c (get_date_and_time) [SA_INTERRUPT]: Add code for SunOS
2240 4.1, from ken@cs.toronto.edu.
2242 * pathsrch.c (expand_subdir) [UNIX_ST_NLINK]: Don't check st_link
2243 if we don't have Unix semantics.
2244 * c-auto.h.in (UNIX_ST_NLINK): Define if not DOS or VMS or VMCMS.
2245 (Suggested by buers@dg1.chemie.uni-konstanz.de.)
2247 * texmf.c (catch_interrupt): Declare a(n unused) parameter `arg'
2249 (get_date_and_time): Don't do assignment in if condition.
2251 Fri Apr 9 16:10:06 1993 Karl Berry (karl@cs.umb.edu)
2253 * xrealloc.c (xrealloc): Don't print old_ptr.
2255 * c-std.h (stddef.h): Don't include.
2257 * openinout.c (make_tex_file): cmd is a string, not a character.
2259 Mon Mar 29 08:33:51 1993 Karl Berry (karl@cs.umb.edu)
2261 * cpascal.h (abs) [abs]: Undef.
2263 Sat Mar 13 10:22:54 1993 Karl Berry (karl@cs.umb.edu)
2265 * Makefile.in (CPPFLAGS): Add @DEFS@, for -DHAVE_CONFIG_H.
2267 * texmf.h: Include cpascal.h instead of config.h.
2269 * common.h: Merge into config.h and remove.
2271 * common.h (pascal.h): Don't include this.
2272 * cpascal.h: Rename from pascal.h.
2274 * convert: Exit with bad status if the pipeline failed; use
2275 cpascal.h instead of config.h.
2277 * openinout.c (make_tex_file): Call xmalloc instead of declaring
2278 an array; put quotes around the arg of sh -c.
2280 Sun Feb 28 11:10:48 1993 Karl Berry (karl@cs.umb.edu)
2282 * c-auto.h.in (MAKE_TEX_*): Replace single NO_MAKETEX with
2285 * openinout.c (maketex*) [MAKE_TEX*]: Make them individually
2288 Sun Feb 21 08:28:06 1993 Karl Berry (karl@cs.umb.edu)
2292 * common.defines (maketexmf): New defn.
2294 * Makefile.in (.c.o): Put $(CFLAGS) after $(CPPFLAGS).
2296 * openinout.c: Include c-namemx.h.
2298 Tue Feb 16 17:53:54 1993 Karl Berry (karl@cs.umb.edu)
2300 * Makefile.in (install-exec, install-data): New targets.
2302 Mon Feb 15 10:19:02 1993 Karl Berry (karl@cs.umb.edu)
2304 * c-auto.h.in (NO_MAKETEX): New #define for installers.
2306 * openinout.c (maketex*): New routines, rewrite from yesterday.
2308 * common.defines (maketextex): Define.
2310 Sun Feb 14 11:54:30 1993 Karl Berry (karl@cs.umb.edu)
2312 * openinout.c (open_input) [BibTeX]: Only do NO_FILE_PATH stuff if
2313 we are BibTeX; declare tfmtemp only when we need it, instead of at
2314 the outer level; add support for MakeTeX{TeX,MF,TFM}.
2316 Fri Feb 12 07:33:49 1993 Karl Berry (karl@cs.umb.edu)
2318 * c-auto.h.in (const): Add defn for Autoconf to use.
2320 * paths.h.in (TEXFORMATS): Only define once.
2322 Sat Jan 30 09:46:04 1993 Karl Berry (karl@cs.umb.edu)
2324 * fontmap.c (map_lookup): Only extend the filename if we have one.
2326 Tue Jan 26 16:07:21 1993 Karl Berry (karl@cs.umb.edu)
2328 * version.c: New file to define web2c version.
2329 * common.h (versionstring): Declare it here.
2330 * common.defines (versionstring): And here.
2331 * Makefile.in (objs): Add it.
2333 * c-auto.h.in (X11WIN) [XVIEWWIN]: Undefine.
2335 Mon Jan 25 12:04:28 1993 Karl Berry (karl@cs.umb.edu)
2337 * ourpaths.c (testreadaccess.c): Don't free `found' after copying,
2338 as it might not be malloc-ed.
2340 Sun Jan 24 11:04:37 1993 Karl Berry (karl@cs.umb.edu)
2342 * lib.h (FATAL*, WARNING*): Use `str' instead of `s' for macro formals.
2344 * xcalloc.c: Remove prototypes.
2345 * remove-suffx.c, line.c, fontmap.c: Cast *alloc calls to avoid
2348 * texmf.c (swap_items): Rewrite as four while loops, since `size'
2349 is invariant. (From Tom.)
2351 Sat Jan 23 10:13:51 1993 Karl Berry (karl@cs.umb.edu)
2353 * remove-suffx.c: New file.
2355 Thu Jan 21 11:21:14 1993 Karl Berry (karl@cs.umb.edu)
2357 * Makefile.in (objs5): New variable.
2358 ($(lib)): Include it in the archive.
2360 * extend-fname.c, find-suffix.c, xfopen.c, fontmap.[ch]: New files.
2362 * ourpaths.c, fontmap.[ch]: Implement a mapping file.
2364 Sat Jan 16 08:36:36 1993 Karl Berry (karl@cs.umb.edu)
2366 * c-auto.h.in, paths.h.in: Doc fix.
2368 Sun Jan 3 13:27:37 1993 Karl Berry (karl@cs.umb.edu)
2370 * config.h: Move some includes to c-std.h.
2372 * xcalloc.c: New file.
2373 * Makefile.in (objs): Add it.
2375 * Makefile.in (distclean): Remove Makefile; depend on clean.
2377 Fri Jan 1 14:17:37 1993 Karl Berry (karl@cs.umb.edu)
2379 * c-auto.h.in, c-memstr.h, dirio.h: Changes for new Autoconf.
2381 * texmf.c (RETSIGTYPE): Don't default to void.
2383 Fri Dec 18 13:16:47 1992 Karl Berry (karl@cs.umb.edu)
2385 * strpascal.c (makesuffixpas): Rename to `extendfilename'.
2386 * common.defines (extendfilename): Declare.
2388 Wed Dec 16 18:12:51 1992 Karl Berry (karl@cs.umb.edu)
2390 * common.defines (atoi): Declare.
2392 Mon Dec 14 07:25:03 1992 Karl Berry (karl@cs.umb.edu)
2394 * ourpaths.c: Include paths.h.
2396 Sun Dec 13 17:06:15 1992 Karl Berry (karl@cs.umb.edu)
2398 * c-auto.h.in: Merge stuff from site.h.
2400 * config.h: Don't include site.h.
2402 Sat Dec 12 13:08:52 1992 Karl Berry (karl@cs.umb.edu)
2404 * Makefile.in: Rewrite from Makefile.
2406 * openinout.c (open_{in,out}put): Take an extra arg for the fopen mode.
2407 * texmf.h ([bw]open{in,out}): Use appropriate fopen modes.
2408 * pascal.h (aopen{in,out}): Likewise.
2410 Fri Dec 11 15:19:25 1992 Karl Berry (karl@cs.umb.edu)
2412 * texmf.c: Change ctype references to use uppercase macros.
2414 Sat Dec 5 15:21:24 1992 Karl Berry (karl@cs.umb.edu)
2416 * texmf.h (writedvi, writegf): Check the return status of the write.
2418 * config.h (UNSIGNED_SHORT_STRING): Toss; I think everyone
2419 understands `unsigned short' now.
2421 Thu Dec 3 13:21:06 1992 Karl Berry (karl@cs.umb.edu)
2423 * texmf.c: include c-pathch.h.
2425 Sun Nov 29 14:50:04 1992 Karl Berry (karl@cs.umb.edu)
2427 * strpascal.c: include c-pathch.h.
2429 Mon Nov 16 08:12:16 1992 Karl Berry (karl@cs.umb.edu)
2431 * openinout.c: include c-pathch.h.
2433 Tue Nov 10 06:49:33 1992 Karl Berry (karl@cs.umb.edu)
2435 * texmf.c (main): Change '/' to PATH_SEP.
2436 * openinout.c (open_input): Likewise.
2437 * strpascal.c (makesuffixpas): And here.
2439 Mon Nov 9 09:38:58 1992 Karl Berry (karl@cs.umb.edu)
2441 * openinout.c (open_input): Use FOPEN_RBIN_MODE instead of simply "r".
2442 (open_output): Analogously.
2444 * c-auto.h.in (DOS): New definition, #undef'd by default.
2446 Fri Nov 6 14:52:34 1992 Karl Berry (karl@cs.umb.edu)
2448 * Makefile (lib): Use $(AR) and $(ARFLAGS) several times.
2449 (AR, ARFLAGS): New variables.
2450 (objs1..4): New variables, breaking up the old $(objs).
2452 Tue Oct 27 08:16:41 1992 Karl Berry (karl@cs.umb.edu)
2454 * openinout.c (open_output): Remove `openable', just use *f !=
2455 NULL; also, don't chdir to the envvar's directory, just prepend
2456 the value and change nameoffile.
2458 * site.h (TEXPOOLNAME): More instructions for MLTeX.
2460 Sun Oct 25 06:26:22 1992 Karl Berry (karl@cs.umb.edu)
2462 * getopt.c: New version.
2464 Tue Oct 6 08:17:45 1992 Karl Berry (karl@cs.umb.edu)
2466 * site.h.in: Doc fix.
2468 Thu Sep 24 11:06:14 1992 Karl Berry (karl@cs.umb.edu)
2470 * site.h.in: change instructions for OpenWindows. (mroth@afit.af.mil)
2472 Thu Sep 17 08:29:53 1992 Karl Berry (karl@hayley)
2474 * texmf.c (initscreen): if DISPLAY is set, assume we're running
2475 under X11 for MF online output.
2477 * texmf.c: remove BibTeX conditionals.
2479 Tue Sep 8 17:06:54 1992 Karl Berry (karl@hayley)
2481 * c-auto.h.in (_MINIX, _{ALL,POSIX,POSIX_1}_SOURCE): add #undef's
2482 for configure to define.
2484 Fri Sep 4 09:01:59 1992 Karl Berry (karl@hayley)
2486 * Makefile (extraclean): new target.
2488 Fri Aug 14 07:02:41 1992 Karl Berry (karl@hayley)
2490 * ourpaths.h (path_constant_type): remove trailing comma from
2491 enum, since ANSI stupidly disallows this.
2493 Wed Aug 12 16:20:10 1992 Karl Berry (karl@hayley)
2495 * texmf.c (catch_interrupt): change return type to `RETSIGTYPE'.
2497 * config.h: remove conditional include of c-memstr if `index' is
2500 Sat Aug 8 10:11:18 1992 Karl Berry (karl@hayley)
2502 * openinout.c (EXTERN) [!BibTeX]: define as `extern'. How did
2505 Fri Jul 3 11:23:32 1992 Karl Berry (karl@hayley)
2507 * texmf.c (input_line): ignore \r's at the end of the line.
2509 * site.h.in (XVIEWWIN): undef by default.
2510 * texmf.c (X11WIN) [MF && (TRAP || INI)]: #undef.
2512 Thu Jul 2 16:11:46 1992 Karl Berry (karl@hayley)
2514 * Makefile (CPPFLAGS): new variable
2516 (cflags): change to CFLAGS.
2518 Tue Jun 23 09:09:49 1992 Karl Berry (karl@hayley)
2520 * Makefile (CC): change default to `gcc -posix'.
2522 * site.h.in (NONASCII): document that xord and xchr are ignored
2523 unless this is defined.
2525 Thu Jun 11 09:20:51 1992 Karl Berry (karl@hayley)
2527 * zround.c (zround): return LONG_MAX or LONG_MIN if the double
2528 being rounded is outside the range of `integer'.
2529 * c-minmax.h (LONG_{MIN,MAX}): define these if they aren't defined
2532 Fri May 15 10:23:47 1992 Karl Berry (karl@hayley)
2534 * getopt.[ch]: new versions.
2536 Thu May 14 19:21:40 1992 Karl Berry (karl@claude.cs.umb.edu)
2540 Wed May 13 14:32:14 1992 Karl Berry (karl@hayley)
2542 * pathsrch.c (initalize_path_list): initialize path to the
2545 Mon May 4 14:50:20 1992 Karl Berry (karl@hayley)
2547 * c-auto.h.in: doc fix.
2549 Sun May 3 08:06:07 1992 Karl Berry (karl@hayley)
2551 * main.c (argv): use a prototype if possibile.
2553 * texmf.ch (*dumpthings): parenthesize `len'.
2555 Wed Apr 29 16:07:52 1992 Karl Berry (karl@hayley)
2557 * texmfmem.h (memoryword): had mutually exclusive #if's.
2558 (twohalves.u): don't need junk at the end?
2560 Sat Apr 25 08:55:34 1992 Karl Berry (karl@hayley)
2562 * c-auto.h.in (__CHAR_UNSIGNED__): protect with #ifndef.
2564 * site.h.in: remove #ifndef's from around the #define's. I don't
2565 think these help anything.
2567 Thu Apr 23 07:49:18 1992 Karl Berry (karl@hayley)
2569 * c-auto.h.in: new file.
2571 Wed Apr 22 12:43:30 1992 Karl Berry (karl@hayley)
2573 * texmf.c: SIGTYPE is now RETSIGTYPE.
2575 Sun Apr 19 10:26:16 1992 Karl Berry (karl@hayley)
2577 * texmf.c: had sense of tests on FMTBASE_SWAP reversed.
2579 Thu Apr 16 13:49:36 1992 Karl Berry (karl@ra.cs.umb.edu)
2583 Tue Apr 14 17:06:57 1992 Karl Berry (karl@hayley)
2585 * common.defines (BSTINPUTPATHBIT): define.
2587 Sun Apr 12 11:42:14 1992 Karl Berry (karl@hayley)
2589 * common.defines (BSTINPUTPATH): define.
2590 * ourpaths.h (path_constant_type): add BSTINPUTPATH.
2591 (BSTINPUTPATHBIT): define.
2592 * site.h-dist (BSTINPUTS): default is TEXINPUTS.
2593 * ourpaths.c (setpaths): add stuff for BSTINPUTS.
2595 Sat Apr 11 09:26:55 1992 Karl Berry (karl@hayley)
2597 * uexit.c: include config.h, for EXIT_SUCCESS_CODE.
2599 Fri Apr 10 16:56:18 1992 Karl Berry (karl@hayley)
2601 * ourpaths.c (setpaths): don't pass cwd to initialize_path_list.
2603 * site.h-dist (*INPUTS, TEXFONTS): add . to these paths.
2605 Wed Apr 8 15:34:21 1992 Karl Berry (karl@hayley)
2607 * texmf.c [FMTBASE_SWAP]: make swapping conditional.
2608 * site.h-dist: add it here for configuration.
2610 * main.c (do_undump) [VMS]: add code from joe.
2612 * main.c: use exit, not exit.
2614 * Makefile (objs): add uexit.o.
2615 * uexit.c: new file.
2616 * pascal.h (uexit): remove this, as it's now a function.
2618 Fri Apr 3 09:55:00 1992 Karl Berry (karl at hayley)
2622 Thu Apr 2 11:57:06 1992 Karl Berry (karl at apollo.cs.umb.edu)
2624 * c-memstr.h (memcpy) [!NEED_MEMORY_H]: conditionalize.
2626 Thu Apr 2 10:51:11 1992 Karl Berry (karl at ra.cs.umb.edu)
2628 * xstat.c (xlstat): (un)prototype-ize.
2630 * c-limits.h: test for FLOAT_H_MISSING instead of relying on
2631 _POSIX_VERSION to include <float.h>.
2633 * c-pathmx.h [_POSIX_VERSION]: don't do pathconf stuff.
2635 Wed Apr 1 16:57:30 1992 Karl Berry (karl at hayley)
2637 * common.h (FATAL): use `str' as the arg name, not `s', since we
2640 * xopendir.c (xclosedir): prototype-ize it.
2642 * dir-p (leaf_dir_p): don't initialize a structure (!).
2644 * {concat,pathsrch,texmf,xmalloc,xstrdup,xrealloc}.c: cast results from
2645 xmalloc/malloc/realloc (argh).
2647 * alloca.c: comment things after #endif.
2649 * site.h-dist (REGFIX): put this back.
2651 * c-proto.h (P5C) [!__STDC__]: insert missing backslash.
2653 Mon Mar 30 07:28:25 1992 Karl Berry (karl at hayley)
2655 * texmfmem.h (u, v, twohalves) [big MF]: define the halfword junks
2658 Sun Mar 29 15:33:29 1992 Karl Berry (karl at hayley)
2660 * alloca.c: new version from gcc 2.1.
2662 Sat Mar 28 09:46:53 1992 Karl Berry (karl at hayley)
2664 * main.c (main): return int, exit (EXIT_SUCCESS_CODE).
2665 * texmf.c (main): likewise.
2667 * config.h (SCHAR_TYPE): use `__CHAR_UNSIGNED__' again.
2669 Thu Mar 26 06:57:38 1992 Karl Berry (karl at hayley)
2671 * Makefile (clean, realclean): depend on mostlyclean.
2673 Sun Mar 22 09:16:04 1992 Karl Berry (karl at hayley)
2675 * common.h [BibTeX]: remove the include of <setjmp.h>, as
2676 bibtex/convert does it.
2678 Sat Mar 21 11:09:55 1992 Karl Berry (karl at hayley)
2680 * common.defines (input2ints): for patgen2.
2681 * inputint.c (zinput2ints): new routine.
2682 * pascal.h (input2ints): new macro to call it.
2684 * config.h: include c-pathmx.h.
2686 * common.defines (TEXPOOLNAME): declare as a constant.
2688 Fri Mar 20 16:10:44 1992 Karl Berry (karl at hayley)
2690 * paths.h: new file.
2692 * config.h: update for new files c-*.h.
2693 * common.h: remove stuff that is now in lib.h.
2695 Thu Mar 19 11:52:17 1992 Karl Berry (karl at hayley)
2697 * ourpaths.c (append_path_list): remove this.
2699 * ourpaths.c (setpaths): use the envvar TEXFONTS if VFFONTS isn't set.
2701 Tue Feb 11 10:27:38 1992 Karl Berry (karl at hayley)
2703 * config.h [NEED_MEMORY_H]: include <memory.h>.
2705 * config.h [LIMITS_H_MISSING]: include <sys/param.h>.
2707 Sun Feb 2 07:54:53 1992 Karl Berry (karl at hayley)
2709 * pathsearch.c (parse_envpath): remove the second / before doing
2712 * pascal.h (optiontable): remove, as getopt no longer has a global
2713 table for the long options.
2715 Sat Feb 1 15:32:50 1992 Karl Berry (karl at hayley)
2717 * ourpaths.c (setpaths): use TEXFONTS if PKFONTS/GFFONTS is not
2718 set for GF/PK files, as the documentation claims.
2720 * ourpaths.c (setpaths): remove subdirectory stuff.
2721 * pathsearch.[ch]: new versions to integrate subdirectories into
2724 * texmf{,mem}.c (WEB2C_BIGENDIAN): rename to WORDS_BIGENDIAN.
2726 Fri Jan 31 11:54:46 1992 Karl Berry (karl at hayley)
2728 * strpascal.c ({null,space}_terminate): do not translate using
2729 xord/xchr (from raichle@azu.informatik.uni-stuttgart.de).
2731 Fri Jan 24 07:14:05 1992 Karl Berry (karl at hayley)
2733 * Makefile (cflags): don't include -I../config.
2735 * config.h (__CHAR_UNSIGNED__) [CHAR_UNSIGNED]: define as autoconf
2736 uses the latter and gcc sometimes the former.
2738 * config.h: move from config.
2740 * openinout.c (extensionirrelevantp): new function.
2741 * common.defines: declare it.
2743 * ourpaths.h (path_constant_type): rename from `path_constants'.
2744 * openinout.c (open_input): use it for the path arg.
2746 Wed Jan 15 11:13:45 1992 Karl Berry (karl at hayley)
2748 * xgetcwd.c, xchdir.c: don't need these.
2749 * Makefile (objs): remove from list.
2750 * dirio.h: remove decls.
2752 * pathsearch.c (check_subdir): do not cd to the directory we're
2754 (add_directory): test if the name is a directory before adding it
2756 (parse_envpath): don't test if the names are directories here.
2757 (initialize_path_list): don't find and cd to the current directory
2758 between each subdirectory.
2760 Tue Jan 14 16:06:24 1992 Karl Berry (karl at hayley)
2762 * texmf.c: do not include <sys/types.h>; it's in config.h now.
2763 * types.h: likewise.
2765 Sun Jan 12 07:41:34 1992 Karl Berry (karl at hayley)
2767 * pathsearch.c (initialize_path_list): cd back to . after checking
2770 * dirio.h: change directory header stuff as suggested in the
2773 * ourpaths.h: make the path list an enumeration type.
2775 * openinout.c (open_input): correctly compute namelength.
2777 * texmfmem.h (memoryword) [TeX]: make declaration of `glueratio'
2780 * openinout.c: rearrange ifdefs for coherency.
2782 * ourpaths.c (append_path_list): overwrite the null in the first
2785 * pathsearch.c (initialize_path_list): unconditionally call
2787 (parse_envpath): if the envvar name is null, don't call getenv.
2788 If both args are null, do nothing.
2790 * ourpaths.c (setpaths): initialize the TFM path.
2792 * common.h (FATAL*): new macros.
2794 * pascal.h (real): define to be `double'.
2796 * xfopen-pas.c: new file.
2798 * eofeoln.c (test_eof): rename to `eof'.
2799 * pascal.h (eof): remove.
2801 * pascal.h (reset, rewrite): `checked_fopen' => `xfopen_pas'.
2803 * common.h (link): define as `link_var', to avoid conflicts
2804 between the system call and the web var.
2806 * common.defines (FILENAMESIZE): rename to `PATHMAX'.
2808 Tue Jan 7 11:26:02 1992 Karl Berry (karl at hayley)
2810 * getopt*: new versions.
2812 * extra.c (getwd) [GETWD_MISSING]: conditionalize.
2814 * extra.c (zinput3ints): new implementation, from jmr@nada.kth.se.
2816 * texmf.c (swap_items) [!WEB2C_BIG_ENDIAN]: ifdef on this.
2817 * texmfmem.h (twohalves, fourquarters): incorporate changes from
2818 raichle@azu.informatik.uni-stuttgart.de which he says make
2819 format files finally work.
2821 * common.h (SCHAR_TYPE): use `signed_char' if ANSI, `short' if
2822 char is unsigned, otherwise `char'.