1 2008-03-27 Karl Berry <karl@tug.org>
3 * tex-make.c: start "running" on a new line, tweak other msgs.
5 2008-03-07 Peter Breitenlohner <peb@mppmu.mpg.de>
7 * kpsewhich.c (main): change type of value from string to
8 const_string, to avoid warning.
9 * progname.c (selfdir): change type of elt from string to
10 const_string, to avoid warning.
11 * xputenv.c: change type of saved_env from const_string to
12 string, to avoid warning.
14 2008-03-06 Peter Breitenlohner <peb@mppmu.mpg.de>
16 * access.c, readlink.c: removed `#include <stdio.h>' preceeding
17 `#include <kpathsea/config.h>' (which in turn includes stdio.h).
19 * xfseek.c, xftell.c: reverted to state before 2008-02-21.
20 * xfseeko.c, xftello.c (both new): new functions using off_t
21 instead of long, and fseeko instead of fseek.
22 * lib.h: prototypes for xfseek, xfseeko, xftell, and xftello.
23 * Makefile.in (objects): added xfseeko.lo and xftello.lo.
25 * configure.in: construct package and (shared) library version
26 from m4_define'd parts, subtitute KPSE_LT_VERS ...
27 * Makefile.in ($(kpathsea)): ... here.
29 2008-03-04 Peter Breitenlohner <peb@mppmu.mpg.de>
31 * common.ac: add AC_SYS_LARGEFILE and AC_FUNC_FSEEKO.
33 2008-03-02 Karl Berry <karl@tug.org>
35 * cnf.c (read_all_cnf): change warning text when texmf.cnf is not
36 found to make it clear we are giving it, and keep it on one line.
38 2008-01-29 Peter Breitenlohner <peb@mppmu.mpg.de>
40 * common.ac: replace the private macro KPSE_STRUCT_ST_MTIM
41 by AC_CHECK_MEMBERS([struct stat.st_mtim]).
43 * common.ac: use AC_CHECK_DECLS([strstr]) and ...
44 * lib.h: ... replace `#ifndef HAVE_STRSTR' by
45 `#if !HAVE_DECL_STRSTR'.
47 * common.ac: Move AC_CONFIG_HEADERS from here ...
48 * configure.in: ... to here and replace PACKAGE_... by
49 KPSE_PACKAGE_... in c-auto.h, to avoid conflicts with other
52 * configure.in: use AH_TOP, AH_BOTTOM, and AC_DEFINE's third
53 argument to provide autoheader templates ...
54 * common.ac: m4 code to generate AC_DEFINE with a third argument
55 for MAKE_..._BY_DEFAULT and set them to 0 or 1 ...
56 * withenable.ac: use AC_DEFINE's third argument to provide
57 autoheader templates ...
58 * acconfig.h: ... removed.
60 2008-02-24 Martin Schröder <martin@pdftex.org>
61 * lib.h: systypes.h instead of c-std.h
63 2008-02-23 Martin Schröder <martin@pdftex.org>
64 * lib.h: include c-std.h to get off_t from stdio.h
66 2008-02-21 Martin Schröder <martin@pdftex.org>
67 * lib.h, xfseek.c, xftell.c: LFS support: use off_t instead of long
68 and fseeko instead of fseek
70 2008-02-14 Karl Berry <karl@tug.org>
72 * texmf.in (font_mem_size): increase to 3000000.
73 (font_max): increase to 5000 (max_font_max increased in tex.ch).
75 2008-02-11 Karl Berry <karl@tug.org>
77 * install.texi: mention mktexfmt, other mktex updates.
78 (Bug report from Ken Brooks, 03 Aug 2006 15:15:03.)
80 2008-02-08 Karl Berry <karl@tug.org>
82 * texmf.in: texlive2008 to match texmf/web2c/texmf.cnf.
84 2008-01-29 Peter Breitenlohner <peb@mppmu.mpg.de>
86 Convert from autoconf-2.13 to autoconf-2.59+:
87 * Makefile.in: Add @configure_input@ line.
88 * aclocal.m4 (new): Generated (aclocal -I ../m4).
89 * configure: Regenerated (autoconf).
91 2008-01-25 Karl Berry <karl@tug.org>
93 * variable.c (expand): do ~ expansion here too, for --expand-var,
95 Report from Werner Lemberg, 24 Jan 2008 02:19:49.
96 * kpathsea.texi (Auxiliary tasks): document this.
98 2008-01-21 Karl Berry <karl@tug.org>
100 * kpsewhich.c, kpathsea.texi: document --all and --subdir.
102 * db.c through tex-file.c: replace FSF physical address with url.
104 2008-01-18 Karl Berry <karl@tug.org>
106 * kpsewhich.c (subdir_match): XRETALLOC is a statement not a function.
107 * pathsearch.c (search_list): remove unused variable uniq_list.
109 2008-01-16 Karl Berry <karl@tug.org>
111 * absolute.c through config.h: replace FSF physical address with url.
113 2008-01-15 Karl Berry <karl@tug.org>
115 * variable.c (kpse_var_value): only free if new memory.
117 * tex-file.c (kpse_find_file_generic): call kpse_make_tex if the
118 first element of the list is NULL, not the list itself.
120 2008-01-14 Karl Berry <karl@tug.org>
122 * variable.c (kpse_var_value): also do ~ expansion.
123 * variable.h: adjust comments.
124 * kpathsea.texi (Auxiliary tasks): document this.
126 * tilde.c (HOMEVAR): new #define; "USERPROFILE" on Windows,
128 * tilde.h: adjust comments.
129 * kpathsea.texi (Tilde expansion): document this.
131 2008-01-13 Karl Berry <karl@tug.org>
133 * remote.c-no: remove this stub. Suggestion from Martin.
135 * mktexpk: use $MT_MKTEXDIR in the error message if making
136 PKDESTDIR fails, instead of hardwiring mktexdir.
137 From Javier, 7 Jan 2008 11:33:18.
139 * kpsewhich.c (subdir_match): protect again loc going infinitely
140 negative. Found by dak, 8 Jan 2008 14:51:08.
142 2008-01-05 Karl Berry <karl@tug.org>
144 * texmf.in (progname, engine): distinguish the unset values.
145 (main_memory): increase to 3M.
146 (font_mem_size): increase to 2.5M.
147 (trie_size): increase to 400K.
148 (save_size): increase to 50K.
149 These size changes per gwtex (except a bit more).
151 2008-01-02 Karl Berry <karl@tug.org>
153 * c-std.h (ALLOC_RETURN_TYPE) [!STDC_HEADERS]: just use void in
154 the unlikely event we're declaring *alloc ourselves. No modern
155 system uses char * for them.
157 2007-12-23 Karl Berry <karl@tug.org>
159 * kpsewhich.c (subdir_match): new fn.
160 (lookup): call it if requested.
161 (subdir_paths): new global.
162 (read_command_line): new option --subdir.
164 2007-12-22 Karl Berry <karl@tug.org>
166 * kpsewhich.c (lookup): handle --all for regular lookups as well
167 as user-specific paths.
168 * pathsearch.c (search_list): uniqify list before returning.
169 (kpse_path_search_list_generic): new fn.
170 (kpse_all_path_search_list, kpse_path_search_list): rewrite to
172 * pathsearch.h (kpse_path_search_list_generic): declare it.
173 * str-list.c (str_list_uniqify): new fn.
174 * str-list.h (str_list_uniqify): declare it.
175 * tex-file.c (kpse_find_file_generic): new name for kpse_find_file
176 code, with addition of argument to find all.
177 (kpse_find_file): rewrite to call ..._generic.
178 * tex-file.h (kpse_find_file_generic): declare it.
180 2007-12-17 Karl Berry <karl@tug.org>
182 * kpathsea.texi (Path searching options): clarify --expand-path doc.
184 2007-12-15 Karl Berry <karl@tug.org>
186 * kpsewhich.c (read_command_line, USAGE): improve --version and
189 2007-12-01 Karl Berry <karl@tug.org>
191 * texmf.in (MPMEMS, MFBASES, TEXFORMATS): switch to /$engine,
192 to try to avoid finding a format for the wrong engine.
195 2007-11-05 Karl Berry <karl@tug.org>
197 * texmf.in (allow_multiple_suffixes): unimplemented.
198 Reported by Akira, 17 Feb 2007 15:44:39.
200 2007-10-24 Karl Berry <karl@tug.org>
202 * mktexpk (MODE) <720>: epscszz. From Akira.
203 (PKDESTDIR): Quote. From Paul Vojta,
204 tex-k 22 Oct 2007 17:38:56.
206 2007-09-11 Karl Berry <karl@tug.org>
208 * texmf.in (TRFONTS): don't recurse through /usr.
209 Report from Michail Vidiassov, mp-i 10 Sep 2007 12:55:10.
211 2007-08-27 Karl Berry <karl@tug.org>
213 * fontmap.c (map_file_parse): free the original pointer, not the
214 potentially moved one (after whitespace skipping).
215 From: "George N. White III", 25 Jul 2007 11:27:12.
217 2007-07-29 Karl Berry <karl@tug.org>
219 * depend.mk: regenerate again.
221 2007-07-24 Karl Berry <karl@tug.org>
223 * recorder.h (kpse_input, kpse_output): use const_string as
224 argument, not just char *, to avoid warning.
226 * fontmap.c (map_file_parse): kpse_record_input if requested.
227 From Akira, 23 Jul 2007 10:20:58 (original report from George
230 2007-07-15 Karl Berry <karl@tug.org>
232 * depend.mak: update.
234 2007-07-06 Karl Berry <karl@tug.org>
236 * tex-file.c (init_path) <kpse_lua_format>: let's make the format
237 name be lua rather than luatex; otherwise kpsewhich -format=luatex
238 finds kpse_tex_format sometimes, and it seems unnecessary to debug
240 Also, set suffix_search_only=true.
241 (LUA_SUFFIXES): put compiled suffixes first.
243 2007-07-05 Karl Berry <karl@tug.org>
245 * tex-file.h (kpse_file_format_type): define kpse_lua_format.
246 * tex-file.c (LUA_ENVS, LUA_SUFFIXES): new macros
247 (init_path): initialize kpse_lua_format.
249 * texmf.in (LUAINPUTS): add $TEXINPUTS per Hans and Taco.
251 2007-06-14 Karl Berry <karl@tug.org>
253 * texmf.in: doc fix ({a,b} is not deprecated).
255 2007-05-19 Karl Berry <karl@tug.org>
257 * texmf.in (SYSTEXMF): add TEXMFSYSVAR (thread around 7mar07).
259 2007-05-05 Karl Berry <karl@tug.org>
261 * kpsewhich.c (find_format): hardware kpse_dvips_config_format for
264 * texmf.in (TEXMFMAIN, TEXMFDIST, TEXMFLOCAL, TEXMFSYSVAR,
265 TEXMFSYSCONFIG, VARTEXFONTS, MIMELIBDIR, MAILCAPLIBDIR, TEXMFNCF):
266 use @texmf@ etc. expansions so that (hopefully)
267 --disable-multiplatform works again. For TEXMFCNF, restore
268 inclusion of $TEXMF/web2c, too. Reported by Peter M.
270 2007-03-21 Karl Berry <karl@tug.org>
272 * install.texi (Shared library): remove mention of klibtool.
274 2007-03-09 Akira Kakuto <kakuto@fsci.fuk.kindai.ac.jp>
276 * tex-file.c (kpse_init_format): reduce to just .fmt;
277 and allow both .t42 and .T42.
279 2007-02-26 Karl Berry <karl@tug.org>
281 * bugs.texi (Logging): mention pdftex -recorder and strace et al.
282 (Bug checklist): Remove my old physical address.
284 2007-02-02 Karl Berry <karl@tug.org>
286 * texmf.in (OVFFONTS): search for vf.
287 (OFMFONTS): explicitly adding TFMFONTS seems unnecessary.
288 From Hans and Taco, 25 Jan 2007.
290 2006-12-30 Karl Berry <karl@tug.org>
292 * configure.in (KPSEVERSION): 3.5.6.
294 2006-12-29 Karl Berry <karl@tug.org>
296 * tex-make.c (set_maketex_mag): deleted wrong extra arg;
297 do not generate args with spaces for mf. From Akira.
299 2006-12-26 Karl Berry <karl@tug.org>
301 * tex-make.c: (set_maketex_mag): remove spurious extra argument
303 (maketex): remove unused variable status.
305 2006-12-25 Karl Berry <karl@tug.org>
307 * mktexlsr: support --verbose.
309 2006-12-14 Karl Berry <karl@tug.org>
311 * texmf.in: unify with TL texmf.cnf to make only real differences
314 2006-12-09 Karl Berry <karl@tug.org>
316 * c-memstr.h (strings.h): don't include if HAVE_STRING_H (as all
317 systems should, these days). Reported by vvv.
319 2006-07-15 Karl Berry <karl@tug.org>
321 * expand.c (kpse_expand_kpse_dot): omit empty path elements from
322 TEXMFCNF, per http://bugs.debian.org/358330. Patch from Julian
323 Gilbey, tex-k/tex-live mail 27 Mar 2006 19:32:43 +0100.
325 2006-02-03 Karl Berry <karl@tug.org>
327 * mktexlsr: ignore .svn directories.
329 2005-08-13 Olaf Weber <olaf@infovore.xs4all.nl>
331 * kpsewhich.c: Update copyright message.
333 2005-08-03 Olaf Weber <olaf@infovore.xs4all.nl>
335 * README: Change references to COPYING and COPYING.LIB to GPL and
338 * kpathsea.texi: Change references to COPYING and COPYING.LIB to
341 * readlink.c: Correct license banner.
343 2005-07-27 Olaf Weber <olaf@infovore.xs4all.nl>
345 * Makefile.in: Add comment to start of kpathsea.h.
347 * absolute.h, acconfig.h, c-ctype.h, c-dir.h, c-errno.h,
348 c-fopen.h, c-limits.h, c-memstr.h, c-minmax.h, c-namemx.h,
349 c-pathch.h, c-pathmx.h, c-proto.h, c-stat.h, c-std.h, c-unistd.h,
350 c-vararg.h, cnf.h, concatn.h, config.h, db.h, debug.h, default.h,
351 expand.h, fn.h, fontmap.h, getopt.h, hash.h, lib.h, line.h,
352 magstep.h, pathsearch.h, proginit.h, progname.h, readable.h,
353 str-list.h, str-llist.h, systypes.h, tex-file.h, tex-glyph.h,
354 tex-hush.h, tex-make.h, tilde.h, truncate.h, types.h, variable.h,
355 xopendir.h, xstat.h: Update copyright, license to LGPL 2.1.
357 2005-07-26 Olaf Weber <olaf@infovore.xs4all.nl>
359 * access.c, readlink.c: Update copyright, license text.
361 * atou.c, absolute.c, cnf.c, concat.c, concat3.c, concatn.c, db.c,
362 debug.c, dir.c, elt-dirs.c, expand.c, extend-fname.c, file-p.c,
363 find-suffix.c, fn.c, fontmap.c, getopt.c, getopt1.c, hash.c,
364 kdefault.c, kpsestat.c, kpsewhich.c, line.c, magstep.c,
365 make-suffix.c, path-elt.c, pathsearch.c, proginit.c, progname.c,
366 readable.c, rm-suffix.c, str-list.c, str-llist.c, strcasecmp.c,
367 strstr.c, strtol.c, tex-file.c, tex-glyph.c, tex-hush.c,
368 tex-make.c, tilde.c, truncate.c, uppercasify.c, variable.c,
369 version.c, xbasename.c, xcalloc.c, xdirname.c, xfopen.c, xfseek.c,
370 xftell.c, xgetcwd.c, xopendir.c, xrealloc.c, xstat.c, xstrdup.c:
371 Update copyright, license to LGLP 2.1.
373 * xmalloc.c, xrealloc.c: Update copyright, license to LGPL 2.1.
374 Don't include stdio.h directly, it comes via config.h.
376 2005-07-25 Olaf Weber <olaf@infovore.xs4all.nl>
378 * texmf.in: Increase trie_size. Remove inaccurate comment about
381 * common.ac: Remove the check for SMART_PUTENV, the xputenv code
382 has been rewritten not to need this.
384 * tex-file.c (kpse_init_format): Add uppercase versions of the
385 .ttf and .ttc suffixes for truetype fonts. Dont require a
388 * types.h: Don't #define true if it is already defined. From Karl
391 * mktexmf: Additional change for generating cbgreek from Thomas.
393 2005-07-12 Olaf Weber <olaf@infovore.xs4all.nl>
395 * mktexmf: Patterns for cbgreek weren't inclusive enough. From
398 2005-07-10 Olaf Weber <olaf@infovore.xs4all.nl>
400 * tex-file.c (kpse_init_format): Revive .otf extension for
401 kpse_opentype_format, requested by Akira Kakuto
402 <kakuto@fsci.fuk.kindai.ac.jp>.
404 * tex-make.c (maketex): Print the name of the failing command
405 instead of always mktexpk. From Karl berry
406 <karl@freefriends.org>.
408 * acconfig.h: Remove SMART_PUTENV code.
410 * xputenv.c (xputenv): Replace with code that doesn't depend on
411 the SMART_PUTENV check.
412 (common.ac): Remove SMART_PUTENV check code.
414 2005-06-29 Olaf Weber <olaf@infovore.xs4all.nl>
416 * tex-make.c: Metafont doesn't like literals larger than anout
417 4000, so try to avoid them when specifying magnifications. From
418 Werner Fink <werner@suse.de>.
420 * hash.h [KPSE_DEBUG]: Add KPSEDLL to declaration of
421 kpse_debug_hash_lookup_int. From Jan Nieuwenhuizen
424 2005-06-26 Olaf Weber <olaf@infovore.xs4all.nl>
426 * xt.ac: Fully quote the arguments of AC_ARG_WITH. From Peter
429 * withenable.ac: Fully quote arguments of AC_ARG_WITH. From Peter
432 * configure.in: Syntax changes to match autoconf2.5x. From Peter
433 Breitenlohner. Version to 3.5.5.
435 * common.ac: Fully quote AC_CONFIG_HEADERS. From Peter
438 * Makefile.in: Replace ac_include with kpse_include. From Peter
441 2005-06-22 Olaf Weber <olaf@infovore.xs4all.nl>
443 * common.ac: Add KPSE_STRUCT_ST_MTIM check.
445 * expand.c: Update some comments.
447 * pathsearch.c: Update some comments.
449 * tex-file.c (init_path): Translate ';' to ':' in values we get
450 from the environment if the latter is our env_sep.
452 * cnf.c (do_line): Always translate ';' to ':' in config values if
453 the latter is the env_sep.
455 * kpathsea.texi: Remove ALLOW_SEMICOLON_IN_FILENAMES comment.
457 2005-06-21 Olaf Weber <olaf@infovore.xs4all.nl>
459 * mktexlsr: Re-export PATH after changing it. Some shells require
460 this. Reported by Albert Chin <china@thewrittenword.com>.
462 * tex-file.c (kpse_find_file): Call kpse_expand() to do tilde and
463 variable expansion, which kpse_path_search_list() doesn't do, but
464 kpse_path_search() did. Re-enabling this was requested by several
465 people, including Oliver Grewe <olligrewe@nexgo.de>.
467 * mktexpk, bugs.texi: From Karl Berry: "Try to be more informative
468 when mktexpk can't guess the mode; reported by Knuth in tex-k
469 mail, 26 Apr 2005 18:07:20 -0400."
471 2005-04-10 Olaf Weber <olaf@infovore.xs4all.nl>
473 * tilde.c (kpse_tilde_expand): Slightly simplify code.
475 * tilde.c (kpse_tilde_expand): Account for the possibility that
476 we're fed an argument starting with "!!~". Problem reported by
479 2005-03-07 Olaf Weber <olaf@infovore.xs4all.nl>
481 * install.texi: Document texmfvar and USE_TEXMFVAR. From Thomas.
483 * mktexdir: Break out of loop on failure of mkdir. Last-minute
484 change for teTeX 3.0 from Thomas.
486 2005-02-06 Olaf Weber <olaf@infovore.xs4all.nl>
488 * kpsereadlink.man: Correct banner: READLINK -> KPSEREADLINK.
490 2005-02-05 Olaf Weber <olaf@infovore.xs4all.nl>
492 * Makefile.in (texmf.sed): With TEXMFSYSVAR and TEXMFSYSCONFIG
493 added, there's even more potential damage to clean up.
494 (uninstall-data): Try to cleanly uninstall the info document.
496 * texmf.in: Add TEXMFSYSVAR, TEXMFSYSCONFIG for teTeX 3.0. From
499 2005-01-25 Olaf Weber <olaf@infovore.xs4all.nl>
501 * mktexmf: Don't redirect output of cd, Ultrix doesn't like that.
503 2005-01-21 Olaf Weber <olaf@infovore.xs4all.nl>
505 * Makefile.in: Change POSTINSTALL to POST_INSTALL.
507 * mktex.opt: Add texmfvar to list of allowed feature options.
509 * mktexlsr: Make getting the list of directories from $TEXMFDBS
510 more robust. From Thomas.
512 * kpsereadlink.man, kpsestat.man, kpsewhich.man, mktexlsr.man,
513 mktexmf.man, mktextfm.man, mktexpk.man, kpseaccess.man: Man page
514 corrections from Eric S. Raymond <esr@thyrsus.com>.
516 2005-01-07 Olaf Weber <olaf@infovore.xs4all.nl>
518 * mktexpk: Add guess ultre for 1200 dpi. This is a fairly neutral
519 mode, also useful for pdftex. From Karl Berry.
521 * mktexlsr: Make sorting the texmf trees more robust. From
524 2004-12-29 Olaf Weber <olaf@infovore.xs4all.nl>
526 * configure.in: Version 3.5.4.
528 * mktexlsr: Remove duplicate trees. From Thomas.
530 * mktexdir: Remove superfluous cd. From Thomas.
532 * withenable.ac: Sync with Thomas' version, removes
533 --enabled-multiplatform code.
535 2004-12-28 Olaf Weber <olaf@infovore.xs4all.nl>
537 * Makefile.in (texmf.sed): New variables were added named TEXMF*.
538 The cleanup code needed additional fixes for this. From Thomas
541 * mktexnam.opt: Improve comment.
543 * mktexnam: Handle texmfvar option, which directs all writes into
544 the system trees to the TEXMFVAR tree, with the usual caveats.
546 * mktexnam.opt: Add texmfvar option.
548 * texmf.in: Changes to bring it close to teTeX 3.0.
550 2004-12-20 Olaf Weber <olaf@infovore.xs4all.nl>
552 * texmf.in: For XeTeX: TEXINPUTS.xetex, TEXINPUTS.xelatex,
555 2004-12-19 Olaf Weber <olaf@infovore.xs4all.nl>
557 * xt.ac: Mark --with-x-toolkit as obsolete.
559 * Makefile.in [KPATHSEA_CC]: Don't quote $(CC), as it prevents
560 libtool from functioning properly if $(CC) contains options in
561 addition to the compiler name. From Harald Koenig
562 <koenig@science-computing.de>.
564 * mktexpk: Add guesses for dpi 360 and 720. From Frank Küster
565 <frank@kuesterei.ch> (Debian maintainer).
567 * mktexlsr: Write all regular progress messages to stderr, instead
570 * mktexdir: Handle directories with spaces in the names.
572 * mktexupd: If we've called mktexlsr, there is no need to do
573 anything else, so exit immediately. From Thomas.
575 2004-11-28 Olaf Weber <olaf@infovore.xs4all.nl>
577 * texmf.in: Add default entries for $progname and $engine, so we
578 don't expand these to empty if the file is used by pre 3.5.3
581 * mktexmf: Extend the pattern for the cbgreek fonts. From Hartmut
582 Henkel <hartmut_henkel@gmx.de>.
584 2004-10-05 Olaf Weber <olaf@infovore.xs4all.nl>
586 * texmf.in: Add TEXINPUTS.lamed (Aleph's version of lambda) and
587 TEXINPUTS.uft8mex (utf8 variation of mex).
589 2004-08-24 Olaf Weber <olaf@infovore.xs4all.nl>
591 * mktex.opt: Correct syntax error. Reported by Staszek
592 Wawrykiewicz <staw@gust.org.pl>.
594 2004-08-23 Olaf Weber <olaf@infovore.xs4all.nl>
596 * texmf.in: The TEXINPUTS.pdftexinfo entry in obsolete, and will
597 be removed in the future. Alert by Vladimir Volovich
600 * tex-file.c (kpse_find_file): Make debug message conditional
601 KPSE_DEBUG_SEARCH being set.
603 * kpsewhich.c: Remove spurious space in usage message.
605 * tex-file.c (kpse_find_file): Add debug message to clarify what
606 the library is doing when. From Karl Berry <karl@tug.org>.
608 * tex-file.c: Add TEXFONTS to the environment variables for all
609 kinds of font-related stuff. This means you can, if you want to,
610 just dump all font-related files in a single directory and set a
611 single variable to point to it. It doesn't have a default.
612 Suggested by Karl Berry, Hans Hagen, Akira Kakuto.
615 2004-08-17 Olaf Weber <olaf@infovore.xs4all.nl>
617 * mktexlsr, mktex.opt: Use "test ... || test ..." instead of
620 2004-08-06 Olaf Weber <olaf@infovore.xs4all.nl>
622 * xdirname.c: Cygwin also understands UNC names. From Jan
623 Nieuwenhuizen <janneke@gnu.org>.
625 * config.h: Do not define DOSISH for Cygwin. After Jan
626 Nieuwenhuizen <janneke@gnu.org>.
628 * mktex.opt: Refine the test of $COMPSEC a bit, to accomodate
629 Cygwin. After Jan Nieuwenhuizen <janneke@gnu.org>.
631 * mktexlsr: Refine the test for $COMSPEC a bit, to accomodate
632 Cygwin. After Jan Nieuwenhuizen <janneke@gnu.org>.
634 * Makefile.in: Define MAKE_KPSE_DLL when compiling the library to
635 support ugly windows declspec stuff. From Jan Nieuwenhuizen
638 * c-proto.h: Clean up the defines for KPSEDLL a bit. From Jan
639 Nieuwenhuizen <janneke@gnu.org>.
641 * getopt.h: Clean up defines for KPSEDLL a bit. From Jan
642 Nieuwenhuizen <janneke@gnu.org>.
644 2004-08-01 Olaf Weber <olaf@infovore.xs4all.nl>
646 * texmf.in: Undoing some simplifications of the search paths, in
647 particular the texmf/{engine1,engine2,...} style paths are back to
648 accomodate older texmf trees.
650 2004-07-23 Olaf Weber <olaf@infovore.xs4all.nl>
652 * texmf.in: Adapt TRFONTS to Linux groff path, which is the most
653 useful variant these days.
655 2004-07-21 Olaf Weber <olaf@infovore.xs4all.nl>
657 * Makefile.in (uninstall-exec): Add removal rules for libkpathsea
658 and the programs other than kpsewhich.
660 * kpathsea.texi: Push copyright to bottom of page.
662 * texmf.in: Add paths for pdfxtex, pdfxlatex. After Peter
663 Breitenlohner <peb@mppmu.mpg.de>.
665 * texmf.in: Updates/simplifications to paths, from Thomas.
667 2004-07-19 Olaf Weber <olaf@infovore.xs4all.nl>
669 * db.c (kpse_db_search_list): Add cast to suppress warning about
672 2004-07-03 Olaf Weber <olaf@infovore.xs4all.nl>
674 * common.ac: No m4 quoting needed in the KPSE_CROSS_BUILD_VAR
677 * common.ac: Add some invocations of KPSE_CROSS_BUILD_VAR matching
678 usage in ../make/cross.mk.
680 * mktextfm: Use the same code as mktexpk for ignoring metafont
681 errors, to ensure that mktextfm and mktexpk ignore identical sets
684 2004-06-28 Olaf Weber <olaf@infovore.xs4all.nl>
686 * kpathsea.texi: Use @copying, so the license ends up in the HTML
687 output. Use @ifnottex instead of @ifinfo, so that makeinfo --html
688 works without further effort. From Karl Berry.
690 * install.texi: Name of bash manual is now "bash". From Karl
693 2004-06-22 Olaf Weber <olaf@infovore.xs4all.nl>
695 * c-memstr.h [HAVE_STRINGS_H]: Include strings.h if it is
696 available, as opposed to just doing if HAVE_STRING_H is not
697 defined. Otherwise we give conflicting information whether
698 certain old-style functions like index, rindex are defined.
699 * common.ac: Also check for strings.h.
701 * c-memstr.h: Add definitions for index and rindex in terms of
702 strchr and strrchr, as we've got some old code in TeX-live that
703 needs this on some platforms.
705 2004-06-15 Olaf Weber <olaf@infovore.xs4all.nl>
707 * install.texi: Karl Berry pointed out that GNU fileutils is now
710 2004-06-14 Olaf Weber <olaf@infovore.xs4all.nl>
712 * kpathsea.texi: Make it more obvious that applications will often
713 just want to use <kpathsea/kpathsea.h> rather than pick and choose
716 2004-06-11 Olaf Weber <olaf@infovore.xs4all.nl>
718 * kpsewhich.c: Update copyright dates.
720 2004-05-28 Olaf Weber <olaf@infovore.xs4all.nl>
722 * mktexlsr: Rename readlink to kpsereadlink to avoid name clash.
724 * Makefile.in: Rename readlink to kpsereadlink to avoid name
727 2004-05-26 Olaf Weber <olaf@infovore.xs4all.nl>
729 * tex-file.c: Make .fmt the only "true" suffix for format files,
730 and add all other suffixes to the list of alternates. In the next
731 version, these alternates will be dropped entirely.
733 2004-05-11 Olaf Weber <olaf@infovore.xs4all.nl>
735 * Makefile.in (mostlyclean): access -> kpseaccess. From Thomas.
737 2004-05-08 Olaf Weber <olaf@infovore.xs4all.nl>
739 * mktexlsr: Widen the matches for the lsR-pattern, so we omit the
740 temporary directory we used.
742 2004-05-07 Olaf Weber <olaf@infovore.xs4all.nl>
744 * texmf.in: Use $engine in some paths.
746 * kpathsea.texi: Date is May 2004.
748 * kpathsea.texi: Document --engine.
750 * kpsewhich.man: Document -engine.
752 * kpsewhich.c: Implement -engine option.
754 2004-04-24 Olaf Weber <olaf@infovore.xs4all.nl>
756 * cnf.c (read_all_cnf): Fix memory leak.
758 * mktexupd: Fix logic error. Found by Thomas Esser.
760 * tex-file.c (kpse_init_fallback_resolutions): Fix memory leak.
762 2004-04-23 Olaf Weber <olaf@infovore.xs4all.nl>
764 * db.c (kpse_db_search_list): Allow matches like base/plain.tex
765 when a db is used. This was a regression introduced by the switch
766 to kpse_db_search_list. Like the original code, this only works
767 with '/' used for dirsep. Reported by Wlodzimierz Bzyl
770 2004-04-17 Olaf Weber <olaf@infovore.xs4all.nl>
772 * kpsewhich.c (lookup): Partial implementation of -all option.
773 Works only in combination with the -path option.
774 * tex-file.c: Add to list of suffixes that may be used for format
777 * kpathsea.texi: Document -var-value option kpsewhich.
779 * kpsewhich.man: Document -var-value.
781 * kpsewhich.c: Add -var-value option. Change loop that checks for
782 a kpse_file_format_type to check kpse_format_fmt last.
784 * texmf.in: Add TEXINPUTS.aleph, TEXINPUTS.alambda.
786 2004-04-01 Olaf Weber <olaf@infovore.xs4all.nl>
788 * mktexpk: Use dpdfezzz if given 8000 for BDPI. Apparently this
789 is what -Ppdf ends up giving the script.
791 2004-03-26 Olaf Weber <olaf@infovore.xs4all.nl>
793 * Makefile.in (install): access -> kpseaccess
795 2004-03-23 Olaf Weber <olaf@infovore.xs4all.nl>
797 * db.c (kpse_init_db): Look for both "ls-R" and "ls-r" files.
798 Same contents, but when working cross-platform the all-lowercase
799 name is easier to work with.
801 * tex-file.c: Add .afmt as recognized suffix to kpse_fmt_format
802 (for Aleph). Add ls-r as recognized suffix to kpse_db_format.
804 * mktexlsr: Allow both ls-R and ls-r as names for an existing
805 directory tree index file. Always create ls-R.
807 * mktexupd: Check for both ls-R and ls-r.
809 * pathsearch.h (kpse_all_path_search_list): New function. Like
810 kpse_path_search_list, with must_exist true, but returns a list of
811 filenames instead of the first hit.
813 * pathsearch.c (kpse_all_path_search_list): New function. Like
814 kpse_path_search_list, with must_exist true, but returns a list of
815 filenames instead of the first hit.
817 * tex-make.c [WIN32] (maketex): Code to print error message for
818 ERROR_BROKEN_PIPE didn't match the format.
820 * mktexpk: Allow 'angle(0,0)' errors without aborting. From
821 Andreas Degert <ad@papyrus-gmbh.de>.
823 * unixtex.texi: Update from Karl Berry.
825 2004-03-21 Olaf Weber <olaf@infovore.xs4all.nl>
827 * withenable.ac: Make the warnings more obvious if the search for
828 the texmf tree fails. Also try to fall back on kpsewhich if we
829 fail to find anything. A simplified version of code proposed by
830 Stefan Ulrich <stefan.ulrich@zen.co.uk> for xdvik.
832 2004-03-16 Olaf Weber <olaf@infovore.xs4all.nl>
834 * texmf.in: Add file_line_error_style variable, default to false.
836 2004-02-26 Olaf Weber <olaf@infovore.xs4all.nl>
838 * tex-make.c (maketex): Clean up unused variables.
840 * texmf.in: Update link in comment for TEXFONTMAPS.
842 2004-02-25 Olaf Weber <olaf@infovore.xs4all.nl>
844 * mktexnam: Use kpseaccess instead of access.
846 * mktexlsr: Use kpseaccess instead of access.
848 * Makefile.in: Rename the access executable to kpseaccess, as the
849 old name tended to interfere.
851 * kpseaccess.man: Formerly known as access.man.
853 * mktexlsr: Only check for magic string in ls-R file if the file
854 size is larger than 0. Assume that a 0-length ls-R can be
855 overwritten without penalty.
857 * mktexlsr: Use a more accurate method to ensure that directory
858 names, and only directory names, start with ./ in the ls-R file.
860 2004-02-16 Olaf Weber <olaf@infovore.xs4all.nl>
862 * tex-file.c: Rename kpse_script_format to
863 kpse_texmfscripts_format.
865 * tex-file.h: Rename kpse_script_format to
866 kpse_texmfscripts_format.
868 2004-02-15 Olaf Weber <olaf@infovore.xs4all.nl>
870 * mktexpk: psfonts.map and ps2pk.map now found through the map
873 * kpsewhich.c (find_format): psfonts.map and pdftex.map are no
874 longer special case, pdftex.cfg is a special case now.
876 * kpathsea.texi: Update for new formats (misc fonts, web, cweb,
877 enc, cmap, sfd, opentype fonts, pdftex config, lig files,
880 * tex-file.c: Add kpse_lig_format and kpse_script_format.
882 * tex-file.h: Add kpse_lig_format and kpse_script_format.
884 * texmf.in: Add LIGFONTS and TEXMFSCRIPTS.
886 2004-02-10 Olaf Weber <olaf@infovore.xs4all.nl>
888 * db.c (kpse_db_search_list): An absolute or explicit relative
889 name that makes it here would not be found anyway, so test for it
892 * pathsearch.c (search_list): If we're given only absolute or
893 relative filenames, then there is no need to dig into the database
895 (dir_list_search_list): Skip any absolute filenames that make it here.
897 2004-02-08 Olaf Weber <olaf@infovore.xs4all.nl>
899 * Makefile.in (stamp-paths): Add TEXMFDIST. Suggested by Thomas.
901 * texmf.in: Add TEXMFDIST, suggested by Thomas.
903 2004-01-09 Olaf Weber <olaf@infovore.xs4all.nl>
905 * tex-file.c: Add kpse_pdftex_config_format. From Thomas.
907 * tex-file.h: Add kpse_pdftex_config_format. From Thomas.
909 2004-01-04 Olaf Weber <olaf@infovore.xs4all.nl>
911 * texmf.in: Modifications to several paths suggested by Thomas.
913 2003-12-17 Olaf Weber <olaf@infovore.xs4all.nl>
915 * tex-make.c (kpse_make_tex): Allow '+' is font names as well.
916 Reported by Hartmut Henkel <hartmut_henkel@gmx.de>.
918 2003-12-14 Olaf Weber <olaf@infovore.xs4all.nl>
920 * progname.c: Set "progname" in the environment.
922 * tex-file.h: Add new formats: kpse_enc_format, kpse_cmap_format,
923 kpse_sfd_format, kpse_opentype_format. Requested by Thomas.
925 * tex-file.c: Add new formats: kpse_enc_format, kpse_cmap_format,
926 kpse_sfd_format, kpse_opentype_format. Requested by Thomas.
928 2003-02-27 Olaf Weber <olaf@infovore.xs4all.nl>
930 * mktexmf: csso12[0-5][0-9] are from CJK package; unsupported by
931 mktexmf. Fix by Werner Lemberg <wl@gnu.org>.
933 2003-02-19 Olaf Weber <olaf@infovore.xs4all.nl>
935 * kpathsea.texi: Version 3.5.2.
937 * configure.in: Version 3.5.2.
939 * cnf.c (do_line): KISS: Use IS_ENV_SEP(':') to check whether we
940 might want to replace ';' with ':' in paths instead of trying to
941 figure whether 'unix' should have been defined.
943 * db.c (kpse_db_search_list): Change fix to prevent "re-use" of
944 aliases for the sake of clearer code.
946 * db.c: Set aliases to NULL after freeing it, so we don't try to
947 realloc the same value as well. Reported by Thomas Esser
948 <te@dbs.uni-hannover.de>.
950 2003-02-17 Olaf Weber <olaf@infovore.xs4all.nl>
952 * configure.in: Version 3.5.1.
954 * kpathsea.texi: Version 3.5.1.
956 2003-02-15 Olaf Weber <olaf@infovore.xs4all.nl>
958 * kpathsea.texi: Version 3.5.0.
960 * configure.in: Version 3.5.0.
962 * kpathsea.version: removed.
964 * Makefile.in (dist): Remove kpathsea.version.
966 * common.ac: From klibtool to libtool. Based on patches from
967 Albert Chin-A-Young <china@thewrittenword.com>.
969 * Makefile.in: From klibtool to libtool. Based on patches from
970 Albert Chin-A-Young <china@thewrittenword.com>.
972 * texmf.in: Add TEXINPUTS.olatex path.
974 * tex-file.c: Add additional suffixes for formats.
976 * withenable.ac: When texmfmain is derived from ${prefix}, don't
979 2003-02-11 Olaf Weber <olaf@infovore.xs4all.nl>
981 * pathsearch.c (search_list): Add some grotty code for the
982 searches of absolute pathnames. (Grotty: if _any_ of the given
983 pathnames is absolute or explicit relative, _and_ it is found, we
984 stop searching then and there.) Found by Peter Breitenlohner
987 2003-02-07 Olaf Weber <olaf@infovore.xs4all.nl>
989 * kpathsea.version: Version 3.4.6
991 * kpathsea.texi: Version 3.4.6.
993 * configure.in: Version 3.4.6.
995 * texmf.in: Additions for e-Omega.
997 * tex-file.c (kpse_find_file): Use kpse_path_search_list for
1000 * pathsearch.h (kpse_path_search_list): New function.
1002 * pathsearch.c (dir_list_search_list): New function.
1003 (search_list): New function.
1004 (kpse_path_search_list): New function: search for a list of names,
1005 look for all names in the list in each directory before moving to
1008 * db.h (kpse_db_search_list): New function.
1010 * db.c (kpse_db_search_list): New function.
1012 2003-01-31 Olaf Weber <olaf@infovore.xs4all.nl>
1014 * lib.h: Add include of c-proto.h. Suggested by Peter
1017 2003-01-29 Olaf Weber <olaf@infovore.xs4all.nl>
1019 * kpathsea.version: Version 3.4.5.
1021 * kpathsea.texi: Version 3.4.5.
1023 * configure.in: Version 3.4.5.
1025 2003-01-24 Olaf Weber <olaf@infovore.xs4all.nl>
1027 * config.h [KPATHSEA]: 33 -> 34.
1028 [DEV_NULL]: Added, "/dev/null" on unix, "NUL" on DOSISH.
1030 * texmf.in [TEXCONFIG]: Remove "." from path for security reasons.
1032 2003-01-16 Olaf Weber <olaf@infovore.xs4all.nl>
1034 * kpathsea.texi: Version 3.4.4.
1036 * configure.in: Version 3.4.4.
1038 * kpathsea.version: Version 3.4.4.
1040 * unixtex.texi: Updates.
1042 2003-01-14 Olaf Weber <olaf@infovore.xs4all.nl>
1044 * texmf.in: Uncomment definitions for VARTEXMF, HOMETEXMF. Change
1045 TEXMF itself to be same as teTeX. Move '//' outside braces in
1046 XDVIINPUTS and DVIPDFMINPUTS -- not strictly needed, but
1047 consistent with how we do it everywhere else. Comment out (but
1048 otherwise retain) KPSE_DOT.
1050 2003-01-11 Olaf Weber <olaf@infovore.xs4all.nl>
1052 * kpathsea.version: Version 3.4.3.
1054 * kpathsea.texi: Version 3.4.3.
1056 * configure.in: Version 3.4.3.
1058 2003-01-08 Olaf Weber <olaf@infovore.xs4all.nl>
1060 * texmf.in: Add TEXPSHEADERS.dvipdfm, from Thomas.
1062 2002-12-25 Olaf Weber <olaf@infovore.xs4all.nl>
1064 * tex-file.c (kpse_init_format): Add ".web" to the suffixes
1065 recognized for cweb.
1067 2002-12-23 Olaf Weber <olaf@infovore.xs4all.nl>
1069 * dir.c (dir_links): Argh. Error while merging stuff from
1072 * kpathsea.version: Version 3.4.2.
1074 * configure.in: Version 3.4.2.
1076 * kpathsea.texi: Version 3.4.2.
1078 * tex-make.c (maketex) [WIN32]: Add program calling
1079 implementation. From Fabrice Popineau
1080 <Fabrice.Popineau@supelec.fr>.
1082 * Makefile.in: Test for kpathsea.info explicitly in current
1083 directory. Some makes prepend the source dir path otherwise, which
1084 would cause installation of the info files to fail. From Thomas
1085 Esser <te@dbs.uni-hannover.de>.
1087 2002-12-20 Olaf Weber <olaf@infovore.xs4all.nl>
1089 * configure.in: Version 3.4.1.
1091 * kpathsea.texi: Version 3.4.1.
1093 * kpathsea.version: Version 3.4.1.
1095 * tex-file.c (add_suffixes): Removed function.
1096 (SUFFIXES, ALT_SUFFIXES): Use kpse_set_suffixes instead of
1099 * tex-make.c (kpse_make_tex): On second thought, we should not get
1100 dirseps in these names, ever.
1102 2002-12-17 Olaf Weber <olaf@infovore.xs4all.nl>
1104 * tex-make.c (maketex): Be sure to set ret to NULL if there's
1105 nothing to return. From Akira Kakuto
1106 <kakuto@fsci.fuk.kindai.ac.jp>.
1108 2002-12-15 Olaf Weber <olaf@infovore.xs4all.nl>
1110 * tex-file.c: Properly terminate MKTEXPK_ARGS with a NULL.
1111 Spotted by Akira Kakuto <kakuto@fsci.fuk.kindai.ac.jp>.
1113 2002-12-14 Olaf Weber <olaf@infovore.xs4all.nl>
1115 * kpathsea.texi: Version 3.4.0.
1117 * kpathsea.version: Version 3.4.0.
1119 * configure.in: Version 3.4.0.
1121 * texmf.in: Typo in TEXINPUTS.pdfemex-pl.
1123 * xbasename.c (xbasename): Remove redundant call to strlen. From
1126 * tex-make.c (misstex): Update to print command line correctly.
1127 (maketex): Handle argv style array for command. For unix case, call
1128 fork and exec directly instead of using popen.
1129 (kpse_make_tex): Handle argv style array for defining a command. Be
1130 very restrictive about what a name passed may contain -- this may
1131 well break somethings.
1133 * tex-file.h (kpse_format_info): Instead of having programs args
1134 be a single string, use an argv style array.
1136 * tex-file.c (init_maketex): Change to store command line as an
1138 [MKTEXPK_ARGS]: Define list of strings instead of single string.
1139 (kpse_init_format): Update debugging code to match new
1140 kpse_format_info structure.
1142 * progname.c [WIN32]: Updates from Fabrice.
1144 * pathsearch.h: Typo in comment.
1146 * pathsearch.c: Typo in comment.
1148 * kpsewhich.c: Correct copyright notice.
1150 * hash.c (hash_normalized): New function.
1151 (hash_insert_normalized): New function.
1152 [MONOCASE_FILENAMES]: Normalize to lower case, not upper case, because
1153 that's what in the ls-R files we distribute.
1155 * fontmap.c (map_file_parse): Use hash_insert_normalized. Again,
1156 we assume the contents of font maps are already normalized.
1158 * expand.c (kpse_expand_kpse_dot): Typo in comment.
1159 (brace_expand): Clarify the comment.
1161 * dir.c (dir_p) [WIN32]: safe_beg_of_path -> kpse_normalize_path.
1163 (dir_links) [WIN32]: Changes to code that stores and retrieves
1164 integers from pointers.
1166 * db.c (db_build): Call hash_insert_normalized -- names from the
1167 ls-R file should be normalized already.
1168 (alias_build): Call hash_insert_normalized -- names from the alias
1169 file should be normalized already.
1170 (kpse_db_insert): Note that we call hash_insert here deliberately.
1172 * hash.h (hash_insert_normalized): New function.
1174 * concat.c (concat): Start strcat at the end of the previous
1177 * absolute.c (kpse_absolute_p) [WIN32]: Remove explicit test for
1178 UNC names, they're already covered by the test for names starting
1180 [TEST] (main): Added, from Fabrice.
1182 2002-11-13 Olaf Weber <olaf@infovore.xs4all.nl>
1184 * kpathsea.version: To 3.3.11.
1186 * kpathsea.texi: To 3.3.11.
1188 * configure.in: To 3.3.11.
1190 2002-11-12 Olaf Weber <olaf@infovore.xs4all.nl>
1192 * cnf.c (do_line): First check whether len-1 exists, then access
1193 it, rather than the other way round. Spotted by Joern Clausen
1194 <joern@techfak.uni-bielefeld.de>.
1196 * texmf.in: obj_tab_size.context is now redundant. From Thomas.
1198 * mktextfm: Use the same detection mechanism for mf-nowin as
1199 mktexpk. From Thomas.
1201 2002-11-11 Olaf Weber <olaf@infovore.xs4all.nl>
1203 * kpathsea.version: Version 3.3.10.
1205 * kpathsea.texi: Version 3.3.10.
1207 * configure.in: Version 3.3.10.
1209 * texmf.in: Disable parse_first_line by default (sorry). Enlarge
1210 a number of constants in general, as opposed to defining lots of
1211 context-specific versions.
1213 * progname.c (remove_dots): We did not correctly handle paths with
1214 ../.. in them. There is still one corner case left, if the path
1215 would try to go to the "parent" of the root directory.
1217 * mktextfm: Test for mf-nowin in a shubshell. Otherwise error
1218 messages could end up being printed if mf-nowin does not exist.
1220 * mktexpk: Test for mf-nowin in a subshell.
1222 2002-10-25 Olaf Weber <olaf@infovore.xs4all.nl>
1224 * kdefault.c (kpse_expand_default): Simplify the life of the
1225 callers by always returning allocated memory, so the returned
1226 string can be freed. John W. Eaton <jwe@bevo.che.wisc.edu>
1229 2002-10-22 Olaf Weber <olaf@infovore.xs4all.nl>
1231 * withenable.ac: Correct handling of mktexfmt option.
1233 * tex-file.c: Add .oft to regcognized suffixes for tex_format.
1235 * mktexupd: Correct Thomas' email address.
1237 * mktextfm: Correct Thomas' email address.
1239 * mktexpk: Correct Thomas' email address.
1241 * mktexnam.opt: Correct Thomas' email address.
1243 * mktexnam: Correct Thomas' email address.
1245 * mktexmf: Correct Thomas' email address.
1247 * mktexlsr: Correct Thomas' email address.
1249 * mktexdir.opt: Correct Thomas' email address.
1251 * mktexdir: Correct Thomas' email address.
1253 * mktex.opt: Correct Thomas' email address.
1255 * kpathsea.version: Update to 3.3.9.
1257 * kpathsea.texi: Update to 3.3.9.
1259 * configure.in: Update to 3.3.9.
1261 * common.ac: Correct handling of mktexmft option.
1263 2002-10-16 Olaf Weber <olaf@infovore.xs4all.nl>
1265 * tex-make.c (kpse_make_tex): Move the test for problematic
1266 filenames so we only do this when we're actually willing to make a
1269 2002-10-11 Olaf Weber <olaf@infovore.xs4all.nl>
1271 * kpathsea.texi: Update date/version to 3.3.8.
1273 * NEWS: Update for 3.3.8.
1275 * configure.in: Version 3.3.8.
1277 * kpathsea.version: Version 3.3.8.
1279 * Makefile.in: Remove install rules for mktexfmt, as it is not a
1282 2002-10-06 Olaf Weber <olaf@infovore.xs4all.nl>
1284 * texmf.in: Expand main_memory (again).
1286 * xstat.c: Remove lstat() declaration.
1288 * variable.c (kpse_var_value): Check for NAME.progname in the
1289 environment before checking for NAME_progname. Both can occur,
1290 even on UNIX systems.
1292 * tex-file.c (init_path): We need to check PATH.progname,
1293 PATH_programe, and PATH in the environment. PATH.progname is the
1294 "logical" way to set the name on Windows systems, and can even
1295 occur on UNIX systems if env(1) is used to set the environment
1298 * withenable.ac: Add --with-mktexfmt-default option. After
1299 Fabrice Popineau. He used --with-mkfmt-default, but this was
1300 changed to match the other options.
1302 * texmf.in: Add XDVIINPUTS, TEXINPUTS.pdfamstex. Modiy definition
1303 of TEXMFLOCAL to match Thomas', add MKTEXFMT. All part of the
1306 * tex-make.c (kpse_make_tex): Complain if a number of problematic
1307 characters are found in the requested font name -- this works in
1308 combination with a check in maketex() to prevent misuse of the
1309 system() call that starts the mktex* scripts.
1311 * tex-file.c (kpse_init_format): Support for mktexfmt, from
1314 * mktexupd: Delete CR characters at the end-of-line before doing
1315 the compare. Yet another hack for windows/unix cross-platform
1318 * mktextfm: TeXlive merge: support for mf-nowin.
1320 * mktexpk: TeXlive merge: considerably reorganized to support use
1323 * mktexnam: Additional definitions for the LH fonts. TeXlive
1326 * mktexmf: Additional definitions for the LH fonts. TeXlive
1329 * common.ac: Add support for MAKE_TEX_FMT. From Fabrice Popineau.
1331 * acconfig.h [MAKE_TEX_FMT_BY_DEFAULT] Added. After Fabrice
1334 2002-07-16 Olaf Weber <olaf@infovore.xs4all.nl>
1336 * kpsewhich.c (find_format): Remove special case for pdftex.cfg.
1339 * kpsewhich.c (find_format): Hard-code format types for pdftex.cnf
1342 2002-07-08 Olaf Weber <olaf@infovore.xs4all.nl>
1344 * mktex.opt: Limit permissions on $TEMPDIR.
1346 * mktexlsr: Limit permissions on tmp directory.
1348 2002-06-04 Olaf Weber <olaf@infovore.xs4all.nl>
1350 * texmf.in: Remove setting of src_specials: it will be ignored
1351 anyway as we'll only allow it to be set from the command line.
1353 2002-05-28 Olaf Weber <olaf@infovore.xs4all.nl>
1355 * mktexdir: Guard $KPSE_DOT with quotes. From Emmanuel_Thomé
1356 <thome@lix.polytechnique.fr>.
1358 2002-04-01 Olaf Weber <olaf@infovore.xs4all.nl>
1360 * mktexlsr: Strip a trailing CR before testing the first line of
1361 an ls-R file. Needed for interoperability with Windows (sigh).
1363 * tex-make.c (maketex): Use a literal "r" in the popen command, as
1364 (under UNIX) it tends not to understand "rb", and we're generating
1367 2001-11-27 Olaf Weber <olaf@infovore.xs4all.nl>
1369 * kpathsea.texi: Version 3.3.7.
1371 * configure.in: Version 3.3.7.
1373 2001-11-25 Olaf Weber <olaf@infovore.xs4all.nl>
1375 * types.h: Define boolean as int whenever we can. This makes the
1376 option-handling code correct (where pointer to int and pointer to
1377 boolean need to be the same type).
1379 * install.texi: Update totals to (hopefully) more accurate values.
1381 2001-11-19 Olaf Weber <olaf@infovore.xs4all.nl>
1383 * line.c (read_line): Add prototype.
1385 2001-11-18 Olaf Weber <olaf@infovore.xs4all.nl>
1387 * kpathsea.version: Version 3.3.6.
1389 * kpathsea.texi: Version 3.3.6.
1391 * configure.in: Version 3.3.6.
1393 * xgetcwd.c: Changes to keep C++ compilers from choking.
1395 * xdirname.c: Changes to keep C++ compilers from choking.
1397 * variable.c: Changes to keep C++ compilers from choking.
1399 * str-list.c: Changes to keep C++ compilers from choking.
1401 * readable.c: Add pathsearch.h to included headers, for
1402 kpse_normalize_path.
1404 * pathsearch.c: Changes to keep C++ compilers from choking.
1406 * path-elt.c: Changes to keep C++ compilers from choking.
1408 * make-suffix.c: Changes to keep C++ compilers from choking.
1410 * line.c: Changes to keep C++ compilers from choking.
1412 * kpsewhich.c: Changes to keep C++ compilers from choking.
1414 * kdefault.c: Changes to keep C++ compilers from choking.
1416 * fontmap.c: Changes to keep C++ compilers from choking.
1418 * fn.h (fn_grow): Second argument is a const_string, not a generic
1421 * fn.c (fn_grow): Second argument is a const_string, not generic
1424 * expand.c: Add a few casts to ensure a C++ compiler wouldn't
1427 * dir.c (dir_links): Replace a conditional expression with an
1430 * db.c: Add a few casts, rename 'try', all to ensure a C++
1431 compiler wouldn't choke.
1433 * cnf.c: Add a few casts, rename 'try', all to ensure a C++
1434 compiler wouldn't choke.
1436 * c-proto.h: Addtional P*H and P*C macros for functions with up to
1439 2001-11-14 Olaf Weber <olaf@infovore.xs4all.nl>
1441 * readlink.c (main): Add prototype.
1443 * kpsewhich.c (main): Add prototype.
1445 * kpsestat.c (main): Add protype.
1447 * c-pathch.h [WIN32] (IS_UNC_NAME): An unc name can be //<digit>
1448 as well as //<letter>.
1450 * access.c (main): Prototype.
1452 2001-11-10 Olaf Weber <olaf@infovore.xs4all.nl>
1454 * kpathsea.version: Version 3.3.5.
1456 * kpathsea.texi: Version, date.
1458 * configure.in: Version 3.3.5.
1460 * texmf.in: Additional entries for mex-pl, platex-pl, pdfplatex,
1461 pdfmex-pl, pdfemex, pdfemex-pl. As usual, ConTeXt wants more
1464 * mktexnam: First set defaults, then modify for explicit
1465 destination, not the reverse. From Thomas.
1467 * mktex.opt: Preserve return code over trap. From Thomas.
1469 * kpsewhich.man: Typo.
1471 2001-10-30 Olaf Weber <olaf@infovore.xs4all.nl>
1473 * configure.in: To 3.3.4.
1475 * kpathsea.version: To 3.3.4.
1477 * mktexnam.opt: Robustness fix for handling of NAME. Minor
1478 changes in the handling of the defaults when a name isn't found in
1479 the supplier or typeface maps.
1481 * tex-file.c: Add ".ch" as alternate suffix for kpse_web_format
1482 and kpse_cweb_format.
1484 * readable.c [main]: Call kpse_normalize_path.
1486 * progname.c [WIN32]: Update from Fabrice.
1488 * pathsearch.h [WIN32]: Remove prototype for safe_beg_of_path.
1489 Add prototype for kpse_normalize_path.
1491 * pathsearch.c (path_search) [WIN32]: Remove call to
1493 (path_search): Add call to kpse_normalize_path.
1495 * expand.c (kpse_path_expand): Don't strip devices and such here,
1496 as we're doing that in kpse_element_dirs anyway.
1498 * elt-dirs.c [WIN32]: Remove safe_beg_of_path.
1499 (kpse_normalize_path): Replaces safe_beg_of_path, but is defined on
1502 * dir.c [WIN32]: Remove safe_beg_of_path prototype here.
1504 * common.ac: Test whether libm exists. If it does, we
1505 unconditionally link with it, which is probably wrong.
1507 * cnf.c [__NetBSD__]: Define unix.
1509 * c-pathch.h [IS_UNC_NAME]: Define on all architectures.
1511 * Makefile.in (distdir): Add *.ftp to destination directory.
1513 2001-09-26 Olaf Weber <olaf@infovore.xs4all.nl>
1515 * texmf.in: Add support for Web and Cweb files (kpse_web_format,
1516 kpse_cweb_format). Requested by Wlodek Bzyl.
1518 * tex-file.h, tex-file.c: Add support for Web and Cweb files
1519 (kpse_web_format, kpse_cweb_format). Requested by Wlodek Bzyl.
1521 2001-07-23 Olaf Weber <olaf@infovore.xs4all.nl>
1523 * common.ac [kb_cv_func_putenv_malloc]: Add declaration for
1524 malloc, which testing on IA64 revealed to be missing.
1526 2000-08-25 Olaf Weber <olaf@infovore.xs4all.nl>
1528 * mktexlsr: Changed the fix for NeXT.
1530 2000-08-05 Olaf Weber <olaf@infovore.xs4all.nl>
1532 * kpathsea.texi: Bump version, date.
1534 * kpathsea.version: Bump version.
1536 * configure.in: Update for 3.3.3.
1538 * NEWS: Update for 3.3.3.
1540 * mktexlsr: On NeXT, 'rm -rf ' will recursively remove the current
1541 directory. This is bad if you're in / and are root.
1543 2000-05-25 Olaf Weber <olaf@infovore.xs4all.nl>
1545 * lib.h [MONOCASE_FILENAMES]: Parenthesis was omitted in
1546 FILESTRNCASEEQ. Found by Fabrice.
1548 2000-04-26 Olaf Weber <olaf@infovore.xs4all.nl>
1550 * unixtex.texi: Added notes that web2c is bare-bones, and that the
1551 texk/texklib packages may contain older components.
1553 2000-04-21 Olaf Weber <olaf@infovore.xs4all.nl>
1555 * progname.c: Add P?C macros to functions that lacked them.
1557 * lib.h [STREQ,STRNEQ,FILESTRCASEEQ,FILESTRNCASEEQ]: If any
1558 argument is NULL, compare unequal.
1560 2000-04-13 Olaf Weber <olaf@infovore.xs4all.nl>
1562 * tex-hush.c (kpse_tex_hush): Check for "all" and "none" first,
1563 then look for more specific switches. This fixes the most common
1564 case of problems due to non-reentrancy of kpse_path_element.
1566 * kpathsea.texi: Correct example of brace expansion. Document
1567 TEX_HUSH = none. Found by Tijs Michels <M.H.M.Michels@kub.nl>.
1569 * texmf.in: Document the use of TEX_HUSH = none.
1571 2000-04-03 Olaf Weber <olaf@infovore.xs4all.nl>
1573 * texmf.in: Add variable for src_specials. Increase arrays for
1576 * xopendir.c [WIN32]: Only define xclosedir.
1578 * kpsewhich.man: Spelling correction.
1580 * getopt.h [WIN32]: For definition of __STDC__ to 1.
1582 2000-04-02 Olaf Weber <olaf@infovore.xs4all.nl>
1584 * xopendir.c [WIN32]: Define neither xopendir nor xclosedir. From
1585 Han The Thanh <thanh@informatics.muni.cz>.
1587 * xputenv.c (xputenv): The WIN32 conditional code is also valid
1588 for DJGPP. From Fabrice.
1590 * xmalloc.c (xmalloc): Allocate 1 byte if passed size 0.
1592 * xdirname.c (xdirname): Changes for Win32 from Fabrice.
1594 * tex-file.h: Prototype for kpse_set_suffixes. From Fabrice.
1596 * tex-file.c (kpse_set_suffixes): New function, added by Fabrice.
1598 * readable.c: Win32-related changes from Fabrice.
1600 * progname.c [WIN32]: Various changes from Fabrice.
1602 * pathsearch.h [WIN32]: Declare safe_beg_of_path. From Fabrice.
1604 * pathsearch.c (path_search [WIN32]): Use safe_beg_of_path. From
1607 * kpsestat.c: Remove WIN32 define. From Fabrice.
1609 * hash.c [MONOCASE_FILENAMES]: Change for the WIN32 case from
1612 * getopt.h [WIN32]: Changes from Fabrice.
1614 * getopt.c [WIN32 && ! __CYGWIN32__]: Ensure getpid is not defined
1615 before defining it. From Fabrice.
1617 * lib.h: Update dir_links prototype, from Fabrice.
1619 * elt-dirs.c: Win32 related changes from Fabrice.
1621 * dir.c: Various Win32-related changes from Fabrice.
1623 * config.h: Various changes for the DOS famility of systems. From
1626 * c-stat.h [WIN32]: Use oldnames.h instead of kpathsea/win32lib.h.
1629 * c-proto.h [WIN32]: _DLL -> KPSE_DLL, from Fabrice Popineau.
1631 * c-memstr.h: Move closer to just the ANSI string functions, if
1632 necessary defined in terms of the BSD functions. After Thomas
1633 Esser <te@informatik.uni-hannover.de>.
1635 [FOPEN_RBIN_MODE, FOPEN_WBIN_MODE, FOPEN_ABIN_MODE]: Specify
1636 binary I/O mode on all systems, not just those where it makes a
1638 [VMCMS]: Remove as it isn't used.
1639 [SET_BINARY]: Change defines which select it. From Fabrice
1640 Popineau. <popineau@esemetz.ese-metz.fr>
1642 * c-ctype.h [WIN32]: On Windows, get isascii from oldnames.h.
1643 After Fabrice Popineau <popineau@esemetz.ese-metz.fr>.
1645 * access.c: Replace WIN32 code with generic code.
1647 2000-01-31 Olaf Weber <olaf@infovore.xs4all.nl>
1649 * mktexlsr: Fix possible symlink exploit. By Thomas Esser
1650 <te@informatik.uni-hannover.de>.
1652 1999-06-28 Olaf Weber <olaf@infovore.xs4all.nl>
1654 * mktextfm: Get rid of error message if hbf2gf cannot be found.
1657 * tex-glyph.c: Test whether glyph_file is NULL before
1658 dereferencing it. Suggested by Julian Gilbey
1659 <J.D.Gilbey@qmw.ac.uk>.
1661 * texmf.in: Improved comments about VARTEXMF, along lines
1662 suggested by Thomas Esser.
1663 Increased font_mem_size, as requested by Thomas.
1665 * pathsearch.c (path_search): Print a message if we're debugging
1666 the search and we're not pounding the disk because an ls-R file
1667 exists but must_exist=0. This to highlight the most confusing
1668 case where disk searches do not happen.
1670 * mktextfm.man: Cleanup of synopsis.
1672 * mktex.opt: More robust handling of TEMPDIR, after Luc Van Eycken
1673 <Luc.VanEycken@esat.kuleuven.ac.be>.
1675 * kpsestat.man: Remove comment about unclear message.
1677 * kpsestat.c (main): Print a more understandable message when the
1680 1999-06-20 Olaf Weber <olaf@infovore.xs4all.nl>
1682 * pathsearch.c (log_search): If TEXMFLOG is defined, then the
1683 kpathsea library would write a space to stderr for every file
1684 logged. Fix from Charles Karney <karney@pppl.gov>.
1686 1999-05-29 Olaf Weber <olaf@infovore.xs4all.nl>
1688 * configure.in: Update version number to 3.3.1.
1690 * kpathsea.version: Update version number to 3.3.1.
1692 * kpathsea.texi: Update version info.
1694 * mktexnam, mktexmf: Fix the LH patterns to be more specific.
1697 * unixtex.texi: Remove node on tape distributions.
1699 * texmf.in: Add platex, add comment about TEXMFDBS.
1701 * tex-file.c (kpse_find_file): Fix off-by-one in tests for suffix
1704 * pathsearch.c (log_search): Fix problem with debugging output.
1706 * mktextfm: Order of options to hbf2gf turns out to matter.
1708 * mktexpk: Updates from Thomas: don't remove generated fonts
1709 because of bad pos errors; better handling of type1 fonts.
1711 * mktexnam: Updates from Thomas for Czech fonts. Consult fontmaps
1712 if a fonts fell into unknown/unknown.
1714 * mktexmf: Updates from Thomas for Czech fonts.
1716 * mktexdir: Small fix from Julian Gilbey.
1718 * cnf.c: Apple's MacOsX is also unix-like.
1720 * access.c: Parametrise the help string as in readlink.c.
1722 * Makefile.in: Use INSTALL_DATA, not INSTALL_SCRIPT, for the *.opt
1725 * AUTHORS: Update accounts for MakeTeX scripts and expand.c.
1727 * c-memstr.h: Don't declare strstr if strstr is already a define.
1728 Suggested by Paul Vojta <vojta@math.berkeley.edu>.
1730 * readlink.c: Corrected a bug in the help string (wrong program
1731 name), reported by several people.
1733 1999-03-26 Olaf Weber <olaf@infovore.xs4all.nl>
1735 * kpathsea.version: Set MINOR to 3.
1737 * configure.in: Bumped KPSEVERSION to 3.3.
1739 1999-03-23 Olaf Weber <olaf@infovore.xs4all.nl>
1741 * texmf.in: More changes from Thomas, add MISCFONTS for
1742 kpse_miscfonts_format.
1744 * tex-file.c: Implement kpse_miscfonts_format.
1746 * tex-file.h: New format: kpse_miscfonts_format, to be used for
1747 small sets of fonts for which no real type has been defined.
1749 * mktextfm: Add support for hbf fonts. (From Werner Lemberg.)
1751 * withenable.ac: Remove implementation of some --with-* options.
1753 * common.ac: Move implementation of some --with-* options here
1754 from withenable.ac, so the latter can be included elsewhere with
1755 kpathsea's acconfig.h or derivatives being seen.
1757 1999-03-17 Olaf Weber <olaf@infovore.xs4all.nl>
1759 * texmf.in: Size increases for context, requested by Hans Hagen.
1761 * texmf.in: Update from Thomas.
1763 * Makefile.in: TEXMF_CNF -> VARTEXMF
1765 * mktexmf: Small fix to a case statement from Berthold Höllmann
1766 <bhoel@starship.python.net>.
1768 1999-03-15 Olaf Weber <olaf@infovore.xs4all.nl>
1770 * win32lib.h: Patch from Fabrice.
1772 * variable.c (kpse_var_value, expand): Handle the VAR_progname
1773 construct. After Julian Gilbey <jdg@maths.qmw.ac.uk>.
1775 * tex-file.c: Fixes to the code that forces an update of the
1776 paths. After Julian Gilbey <jdg@maths.qmw.ac.uk>.
1778 * mktexmf: Changes to support CB font family. From Kimon
1779 Kontovasilis <kimon@cyclades.nrcps.ariadne-t.gr>.
1781 * kpathsea.texi: Update address info of TUG.
1783 * config.h: Remove outdated comment, explicitly include
1786 * cnf.c (do_line): Correct comment, remove unused code.
1787 (read_all_cnf): Strip trailing whitespace.
1788 (kpse_cnf_get): Fix memory leak.
1789 After Julian Gilbey <jdg@maths.qmw.ac.uk>.
1791 * acconfig.h: We no longer use this for all kpathsea using
1792 programs, just kpathsea itself. Thus the WEB2CVERSION macro goes,
1793 as does other stuff that belongs to web2c or xdvik.
1795 * Makefile.in: Allow the c-auto.h file to be installed.
1797 1999-02-18 Olaf Weber <olaf@infovore.xs4all.nl>
1799 * mktex.opt: Document nomfdrivers option.
1801 * mktextfm: Implement nomfdrivers option.
1803 * mktexpk: Implement nomfdrivers option.
1805 * install.texi: Document new option: nomfdrivers.
1807 * kpsewhich.man: Document how search parts are determined.
1809 * mktexlsr: Really skip empty components. From Thomas.
1811 * tex-file.c (kpse_reset_program_name): Don't free the old paths,
1812 they may not have been allocated on the heap.
1814 1999-02-16 Olaf Weber <olaf@infovore.xs4all.nl>
1816 * tex-file.c (kpse_reset_program_name): Ensure that when the
1817 program name changes, the various paths will indeed be updated.
1819 1999-02-14 Olaf Weber <olaf@infovore.xs4all.nl>
1821 * mktexupd: Fix test whether argument is a directory name. From
1824 * mktexlsr: Skip empty components.
1826 * mktexnam.opt: This file is supposed to be sourced, not executed,
1827 so remove the #!. From Thomas.
1829 * mktexdir.opt: This file is supposed to be sourced, not executed,
1830 so remove the #!. From Thomas.
1832 * mktex.opt: This file is supposed to be sourced, not executed, so
1833 remove the #!. From Thomas.
1835 * config.h: Make sure c-auto.h is included before win32lib.h,
1836 which needs definitions from the former.
1838 1999-02-06 Olaf Weber <olaf@infovore.xs4all.nl>
1840 * win32lib.h: Add pragma warning, for the S_* defines, only define
1841 them if they are not defined already.
1843 * pathsearch.h (kpse_all_path_search): Add KPSEDLL, from Fabrice.
1845 * debug.h (fclose): Add KPSEDLL, from Fabrice.
1847 * config.h [WIN32]: Remove pragma warning. From Fabrice.
1849 1999-02-04 Olaf Weber <olaf@infovore.xs4all.nl>
1851 * withenable.ac: Rename AR_OPTS to ARFLAGS.
1853 * texmf.in: Cleanup of semicolon/comma. Remove the double slash
1854 between 'fonts' and its subdirs. Sites using pseudo-TDS will have
1855 to add these by hand from now on.
1857 * tex-file.c (init_path, add_suffixes): Remove __cdecl, from
1860 * mktexmf: Special cases for 30 and 36 points, as requested by the
1861 sauter mainainer Jeroen Nijhof <J.H.B.Nijhof@aston.ac.uk>.
1863 * kpsewhich.c (main): Remove __cdecl, from Fabrice.
1865 * kpsestat.c (main): Remove __cdecl, from Fabrice.
1867 * install.texi: The +u flag is no longer recommended for HP-UX.
1869 * getopt.h [!WIN32]: Remove define of __cdecl, from Fabrice.
1871 * elt-dirs.c (safe_beg_of_path): Change return type to unsigned
1872 int, because other functions expect this.
1874 * concatn.c (concatn): Remove __cdecl, from Fabrice.
1876 * common.ac: sinclude from ../texk now, from Thomas.
1878 * c-proto.h [!WIN32]: Removed define of __cdecl, from Fabrice.
1880 * access.c (main): Removed __cdecl, from Fabrice.
1882 1999-01-27 Olaf Weber <olaf@infovore.xs4all.nl>
1884 * xputenv.c (xputenv) [WIN32]: Don't free old value, ever.
1886 * win32lib.h: Fixes by Fabrice.
1888 * win32lib.c: Fixes by Fabrice.
1890 * version.c (kpathsea_version_string, kpse_bug_address): Add
1891 KPSEDLL, by Fabrice.
1893 * variable.h (kpse_var_value, kpse_var_expand): Add KPSEDLL, by
1896 * texmf.in: Change path separators back to commas, use semicolon
1897 instead of colon, correct TEXINPUTS for the pdfeTeX family,
1898 TEXPSHEADERS for the pdfTeX family. By Thomas Esser.
1900 * tex-make.h (kpse_make_tex_discard_errors): Add KPSEDLL, by
1903 * tex-make.c (maketex): Add cast to shup up a compiler. From
1906 * tex-hush.h (kpse_tex_hush): Add KPSEDLL, by Fabrice.
1908 * tex-glyph.h (kpse_find_glyph, kpse_bitmap_tolerance): Add
1909 KPSEDLL, by Fabrice.
1911 * tex-glyph.c (try_resolution): Add casts to quiet a compiler.
1914 * tex-file.h (kpse_fallback_resolutions_string, kpse_format_info,
1915 kpse_set_program_enabled, kpse_maketex_option, kpse_init_format,
1916 kpse_find_file, kpse_open_file, kpse_reset_program_name): Add
1917 KPSEDLL, by Fabrice.
1919 * tex-file.c (init_path, add_suffixes): Add __cdecl, by Fabrice.
1920 (kpse_init_format): Correct definition of "other ... files" to take
1921 different path separators into account. After Fabrice.
1923 * str-list.c (str_list_concat_elements): Make loop indices
1924 unsigned to quiet compilers. By Fabrice.
1926 * readable.h (kpse_readable_file): Add KPSEDLL, by Fabrice.
1928 * readable.c [WIN32] (kpse_readable_file): Many changes by
1931 * progname.h (program_invocation_name,
1932 program_invocation_short_name, kpse_program_name,
1933 kpse_set_program_name, kpse_set_progname): Add KPSEDLL, by
1936 * progname.c: Remove my_dirname function, which returns in its own
1937 file renamed to xdirname. From Fabrice.
1938 (kpse_set_program_name) [WIN32]: Close handle. By Fabrice.
1940 * proginit.h (kpse_init_prog): Add KPSEDLL, by Fabrice.
1942 * pathsearch.h (kpse_path_element, kpse_element_dirs,
1943 kpse_path_search): Add KPSEDLL, by Fabrice.
1945 * pathsearch.c (path_search): We now strip devices in the caller.
1948 * magstep.h (kpse_magstep_fix): Add KPSEDLL, by Fabrice.
1950 * magstep.c (magstep, kpse_magstep_fix): Casts to quiet an unruly
1951 compiler. Added by Fabrice.
1953 * line.h (read_line): Add KPSEDLL, by Fabrice.
1955 * lib.h (concat, concat3, xstrdup, uppercasify, atou, same_file_p,
1956 xbasename, find_suffix, remove_suffix, make_suffix, make_prefix,
1957 extend_filename, xputenv, xputenv_int, xgetcwd,dir_p, dir_links,
1958 xfopen, xfclose, xfseek, xftell, xmalloc, xrealloc, xcalloc): Add
1959 KPSEDLL, by Fabrice.
1960 (xdirname): New function, by Fabrice.
1962 * kpsewhich.c (read_command_line): Add KPSEDLL to external
1963 functions, by Fabrice.
1964 (main): Add __cdecl, by Fabrice.
1966 * kpsestat.c (main): Add __cdecl, by Fabrice.
1968 * hash.h (hash_table_type, hash_insert, hash_remove, hash_lookup):
1969 Add KPSEDLL, by Fabrice.
1971 * hash.c [WIN32]: Different implementation of TRANSFORM, for speed
1972 reasons. From Fabrice.
1974 * getopt.h: Changes for KPSEDLL, by Fabrice.
1976 * fn.h (fn_init, fn_copy0, fn_free, fn_1grow, fn_grow,
1977 fn_str_grow, fn_shrink_to): Add KPSEDLL, by Fabrice.
1979 * expand.h (kpse_expand, kpse_brace_expand, kpse_path_expand): Add
1980 KPSEDLL, by Fabrice.
1982 * elt-dirs.c (safe_beg_of_path): New function by Fabrice. Used to
1983 strip device from a path before feeding it to expand_elt.
1984 (kpse_element_dirs): Call safe_beg_of_path.
1986 * debug.h (kpathsea_debug, fopen): Add KPSEDLL, by Fabrice.
1988 * db.h (kpse_db_insert): Add KPSEDLL, by Fabrice.
1990 * config.h [WIN32]: Add pragma to quiet some warnings. From
1993 * concatn.h (concatn): Add KPSEDLL. From Fabrice.
1995 * concatn.c (concatn): Add __cdecl. From Fabrice.
1997 * cnf.h (kpse_cnf_get): Add KPSEDLL. From Fabrice.
1999 * c-std.h: Don't include math.h if we're seen be a C++ compiler.
2002 * c-proto.h [WIN32]: Instead of defining DllImport, define
2003 KPSEDLL. This change makes building shared libraries on windows
2004 systems work better. From Fabrice.
2006 * c-pathch.h [WIN32]: IS_UNC_NAME macro added by Fabrice.
2008 * access.c (main): Add __cdecl, from Fabrice.
2010 * absolute.h (kpse_absolute_p): Add KPSEDLL, from Fabrice.
2012 * Makefile.in: Account for the addition of xdirname.c.
2014 1999-01-24 Olaf Weber <olaf@infovore.xs4all.nl>
2016 * texmf.in: Add support for pdfeTeX.
2018 * mktexpk: Correct typo: ps_topk -> ps_to_pk.
2020 * mktexnam: New version from Thomas.
2022 * mktexmf: Update for cs* fonts from Thomas.
2024 * kpathsea.texi: Update section on brace expansion. Decided to
2027 * db.c (kpse_db_insert): Replace basename with xbasename.
2029 1999-01-19 Olaf Weber <olaf@infovore.xs4all.nl>
2031 * kpsestat.c (main): Replace use of S_IFMT with an octal literal.
2033 1999-01-14 Olaf Weber <olaf@infovore.xs4all.nl>
2035 * texmf.in: Remove open_any, add openout_any, openin_any.
2037 * str-list.h: Add prototype for str_list_concat_elements.
2039 1999-01-10 Olaf Weber <olaf@infovore.xs4all.nl>
2041 * mktextfm: Implement --foo=bar style options. From Thomas.
2043 * mktexpk: Implement --foo=bar options, by Thomas. Changes for
2044 new version of gsftopk. Changes to handle ttf2pk. From Thomas.
2046 * xt.ac: Remove AC_PATH_XTRA here.
2048 * withenable.ac: Changes to aid cross-compiling. Minor fixes.
2050 * unixtex.texi: Correct tug email address. Minor corrections.
2052 * texmf.in: Minor changes, additions for context. From Thomas.
2054 * tex-file.h: Use size in declaration of kpse_format_info. From
2057 * tex-file.c (kpse_maketex_option): Initialise fmt on entry. Test
2058 whether a fmt had been specified.
2059 (kpse_init_format): Put $TEXMF into the 'other files' formats, from
2062 * str-list.c (str_list_concat_elements): New function, part of
2063 replacement for bash-derived code.
2065 * progname.c (my_subdir): New implementation from Fabrice.
2067 * mktexnam: Account for new release of lh fonts. Don't do subdirs
2068 if we're using $KPSE_DOT as the destination directory.
2070 * mktexupd: Handle empty elements gracefully.
2072 * mktexmf: Account for new release of lh fonts.
2074 * mktexlsr: Minor fixes from Thomas.
2076 * mktexdir: Allow for creating more directories, fixes from
2079 * mktex.opt: Add defaults for DPI and MAG.
2081 * kpsewhich.man: Various minor corrections.
2083 * kpsewhich.c: Begin implementing -all option. (incomplete)
2085 * kpathsea.texi: Correct copyright, tug email address.
2087 * install.texi: Account for new texklib.tar.gz file. Several
2090 * expand.c: Remove bash-derived code.
2092 * elt-dirs.c (do_subdir): Correct code to test whether we descend
2093 into subdirectories.
2095 * db.c: Add kpathsea/c-stat.h to includes.
2096 (db_build): Correct test of '0' to 0.
2098 * common.ac: Check for more functions in AC_CHECK_FUNCS, from
2101 * cnf.c: do_line: Remove premature optimization.
2103 * c-proto.h: Add P8H, P8C, P9H, P9C.
2105 * c-memstr.h: Revision by Thomas Esser.
2107 * c-ctype.h: Add ISBLANK macro.
2109 * acconfig.h: Add define guard for c-auto.h.
2111 * Makefile.in: Change ../make/*.make to ../make/*.mk.
2113 Prevent substitution of $(texmf) in texmf.cnf in some
2115 Replace semicolons with colons in paths.h.
2117 1998-09-15 Olaf Weber <olaf@infovore.xs4all.nl>
2119 * mktexlsr: Trap more signals, make script hold up better under
2120 'sh -e', from Werner Fink <werner@suse.de>.
2122 * mktex.opt: Trap more signals, suggested by several people,
2123 particularly Thomas Gellekum.
2125 1998-08-03 Olaf Weber <olaf@infovore.xs4all.nl>
2127 * progname.c (selfdir): Interpret empty PATH element as "."
2129 1998-07-26 Olaf Weber <olaf@infovore.xs4all.nl>
2131 * tex-glyph.c (kpse_find_glyph): Memory management problem: we
2132 were deallocating a string prematurely.
2133 (try_fontmap): Test !ret before, not after, bumping the loop variable.
2134 Both reported by Werner Lemberg <a7971428@unet.univie.ac.at>.
2136 Sun Jun 21 14:43:44 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2138 * mktexlsr: Test for the presence of the magic string in ls-R, to
2139 prevent accidentally overwriting ls-R files that are not ours.
2140 Change the code to ensure ./ in front of directory names in the
2141 presence of different output from different versions of ls.
2143 Mon May 4 19:42:44 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2145 * Makefile.in (objects): Add xbasename.lo.
2147 * Rename basename.c to xbasename.c.
2149 * tilde.c (kpse_tilde_epxand): Handle a bare ~ gracefully.
2151 * basename.c: Rename basename to xbasename and make its
2152 compilation unconditional.
2154 * common.ac: Remove check for basename.
2156 * acconfig.h: Remove HAVE_BASENAME.
2158 * lib.h: Remove conditional declaration of basename, add
2159 unconditional declaration of xbasename.
2161 * progname.c (kpse_set_program_name): Replace call of basename
2164 Fri Apr 24 21:15:15 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2166 * install.texi: Doc fix; mention the library files for etex,
2169 * pathsearch.c (kpse_path_search): Fix memory leak found by "John
2170 W. Eaton" <jwe@bevo.che.wisc.edu>.
2172 Tue Apr 7 19:46:07 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2174 * kpsewhich.c (find_format): Correct an off-by-one error by using
2175 the found value instead of a faulty comparison.
2177 Mon Mar 16 19:25:15 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2179 * configure.in (KPSEVERSION): version 3.2.
2181 * mktex.opt: Set MT_MKTEXNAM_OPT, MT_MKTEXDIR_OPT here.
2183 * mktexnam: Move setting of MT_MKTEXNAM_OPT to mktex.opt.
2185 Sun Mar 15 19:55:30 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2187 * c-proto.h: Add P7H and P7C macros.
2189 Sat Mar 14 00:10:20 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2191 * win32lib.h: Patch from Fabrice.
2193 * c-dir.h [WIN32]: Patch from Fabrice.
2195 Fri Mar 13 23:23:33 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2197 * texmf.in: Added XDVIINPUTS and TEX4HTINPUTS.
2199 Thu Mar 12 08:04:50 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2201 * win32lib.c: New version from Fabrice Popineau.
2203 Wed Mar 11 19:55:10 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2205 * install.texi: Correction for description of dosnames behaviour
2206 on MS-DOS. From Eli Zaretskii.
2208 Mon Mar 9 07:22:23 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2210 * mktexlsr: exit 0 if we succeeded.
2212 * withenable.ac: Remove double slashes from texmfmain variable.
2213 Strictly speaking, it is a user fault when this occurs, but...
2216 Sun Mar 8 18:23:33 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2218 * tex-file.c: omkocp, omkofm -> mkocp, mkofm.
2220 * texmf.in: OMKOFM, OMKOCP -> MKOFM, MKOCP.
2222 * withenable.ac: omkofm, omkocp -> mkofm, mkocp.
2224 Thu Mar 5 15:32:48 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2226 * texmf.in: Add OMKOCP and OMKOFM analogous to MKTEXPK.
2228 * c-fopen.h [DOS]: Don't open files read-write if read suffices.
2230 Wed Mar 4 23:55:35 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2232 * withenable.ac: Add options for enabling/disabling
2233 omkocp/omkofm. From John Plaice.
2235 * tex-file.c (init_format): Support omkocp and omkofm instead of
2236 MakeOmegaOCP and MakeOmegaOFM programs. From John Plaice.
2237 (kpse_maketex_option): Some changes to handle ofm/ocp as well.
2239 Tue Mar 3 09:02:09 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2241 * tex-make.c (kpse_make_tex): Make same exception for AMIGA as for
2242 WIN32 and MSDOS. From Andreas Scherer.
2244 * PROJECTS: Update mail address.
2246 * mktex.opt: Print message if VARTEXMF is not defined, then
2247 default to '$KPSE_DOT'.
2249 * mktexnam: Remove use of "shell !" from tests involving varfonts
2250 feature. Simplify the code a bit.
2252 Fri Feb 27 19:55:11 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2254 * withenable.ac: Replace use of -a in test with && and second
2255 test. From Thomas Esser <te@informatik.uni-hannover.de>.
2257 Tue Feb 24 13:16:56 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2259 * Makefile.in: Corrections for building/installing outside source
2260 dir. From Vladimir Volovich <vvv@vvv.vsu.ru>.
2262 * mktexnam.opt: Correction MT_PKNAME -> MT_PKBASE to get dosnames
2263 feature to work. From Eli Zaretskii.
2265 Mon Feb 23 10:17:22 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2267 * mktex.opt, mktexlsr: Use test ... || test ... instead of test
2270 * mktexnam.opt: Remove use of MT_PKPART, MT_MFPART, and MT_TFMPART
2271 variables, since they're no longer defined.
2273 * expand.c (kpse_expand_kpse_dot [MSDOS]): A very ugly hack to
2274 deal with a very broken feature on some MSDOS systems. After Eli
2277 Fri Feb 20 17:18:19 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2279 * Makefile.in (texmf.sed): Remove VARTEXMF.
2281 * install.texi: Update for changes to varfonts.
2283 * kpathsea.texi: Remove references to format numbers.
2285 * kpsewhich.c (read_command_line): Remove printing of and support
2288 * mktex.opt: Remove VARTEXMF and related stuff, set dosnames for
2291 * mktexnam: Remove use of VARTEXMF, introduce SYSTEXMF, change
2292 semantics of varfonts.
2294 * mktexnam.opt: Remove reference to VARTEXMF, move setting of
2295 dosnames for DOS to mktex.opt.
2297 * mktexpk: Boilerplate tests.
2299 * mktexupd: Boilerplate tests.
2301 * progname.c: Move kpse_reset_program_name to tex-file.c. This
2302 move means progname.o doesn't use a common object from tex-file.o
2303 anymore. The NeXT linker would omit tex-file.o, then complain
2304 about an undefined symbol. Thanks to Gregor Hoffleit
2305 <flight@thefly.mathi.uni-heidelberg.de> and Melissa O'Neill
2306 <oneill@cs.sfu.ca> for their help solving this.
2308 * progname.h: Move kpse_reset_progname to tex-file.h.
2310 * tex-file.c: Move kpse_reset_program_name here from progname.c.
2312 * tex-file.h: Move kpse_reset_program_name here from progname.h.
2314 * texmf.in: Remove VARTEXMF, add SYSTEXMF.
2316 * withenable.ac: Boilerplating, a correction of the default case
2317 of the --enable-multiplatform test.
2319 Mon Feb 16 09:46:47 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2321 * mktexpk: Dropped a $ in the wrong place, which made chmod look
2322 for a non-existent file.
2324 * Makefile.in (texmf.sed): Include the substitution for @web2c@ in
2327 * Makefile.in (texmf.sed): Remove traling / from VARTEXMF
2329 (stamp-paths): Replace @ with % as sed delimiter. The @ causes
2330 problems because it used in afs filenames. Spotted by Matthias
2333 * bugs.texi: Since the NeXT(step) problem is likely to be solved
2334 now, make description of bug less definite.
2336 * common.ac: Remove check for readlink.
2338 * kpathsea.texi: Document changes to search algorithm.
2340 * mktexlsr: Use % not @ as sed delimiter.
2342 * mktexmf: Correct permissions problem.
2344 * mktexnam: Use % not @ as sed delimiter.
2346 * mktexpk: Use % not @ as sed delimiter. Correct permissions
2347 problem. Set permissions before the file is moved into place.
2349 * mktextfm: Use % not @ as sed delimiter. Correct permissions
2350 problem. Set permissions before the file is moved into place.
2352 * mktexupd: Use % not @ as delimiter for sed.
2354 * readlink.c (main): Use S_ISLNK instead of HAVE_READLINK to test
2355 whether readlink is a known function.
2357 * tex-file.c (kpse_init_format): Make changes corresponding to the
2358 movement of kpse_tfm_format.
2359 (kpse_find_file): Reorganize searches; fold code of search #3 into
2360 #1 and #2; fold #5 into #2. We now have two searches, plus an
2361 attempt to create missing files.
2363 * tex-file.h: Move kpse_tfm_format before kpse_ofm_format. Might
2364 as well put it near the front then, because it is an often-used
2367 * texmf.in: VARTEXFONTS uses @vartexfonts@ so it can be filled in
2368 from the Makefile. OFMFONTS changed to explicitly use TFMFONTS.
2369 TEXMCNF uses @web2c@ rather than @web2cdir@.
2371 * withenable.ac: Do not force default for --enable-multiplatform,
2372 so that we can inherit one from a script that calls us.
2374 Tue Feb 10 17:59:26 1998 Olaf Weber <infovore@xs4all.nl>
2376 * withenable.ac: Don't abort configure run if the main texmf tree
2379 * acconfig.h: Add EPSFWIN to the undefs.
2381 * install.texi: Update section on the handling of options by
2384 * mktex.opt: Comment on the duplication of the ls_R_magic string.
2386 * mktexlsr: Copy code from mktex.opt to mktexlsr, so the latter
2387 can run without the need to find the former.
2389 * mktextfm, mktexpk: Replace positional options with normal option
2392 * mktextfm.man, mktexpk.man: Update documentation for the new
2395 * tex-file.c: Update the MKTEXPK_ARGS string for the new
2396 option-handling of mktexpk.
2398 * tex-make.c (kpse_make_tex): We pass the raw / to mktexpk in the
2399 --mfmode switch when appropriate; remove unset_mode variable.
2400 Update comments to reflect new situation.
2402 * kpathsea.texi: Note that empty path components are now ignored
2403 in stead of expanded to cwd.
2405 * line.c: Add prototype and clean up headers.
2407 * mktex.opt, mktexlsr, mktexmf, mktexnam, mktexpk, mktextfm,
2408 mktexdir, mktexupd: Make "caching" of some variables and file
2409 names in the environment possible. Provide defaults in case the
2410 'web2c files' format doesn't work for finding files. Suggested by
2413 * withenable.ac: Give a better message when the main texmf tree
2416 Sat Feb 7 01:00:49 1998 Olaf Weber <infovore@xs4all.nl>
2418 * elt-dirs.c (kpse_element_dirs): Return NULL, not the cwd, if
2419 we're given an empty string.
2421 * mktex.opt: Determine VARTEXFONTS here.
2423 * mktexnam: Move determination of VARTEXFONTS to mktex.opt.
2425 Fri Feb 6 17:59:59 1998 Olaf Weber <infovore@xs4all.nl>
2427 * config.h: Update definition of KPATHSEA to 32.
2429 * expand.c (kpse_path_expand): Do not recursively expand a leading
2430 //, as in pathsearch.c.
2432 * kpsewhich.man: Update for --epxand-braces option.
2434 * texmf.in: Put texmf.local before texmf in the TEXMFCNF path.
2436 * withenable.ac: Make code for finding texmfmain more robust.
2438 Wed Feb 4 20:39:10 1998 Olaf Weber <infovore@xs4all.nl>
2440 * readable.c: Correct typo: '#elsif' -> '#elif'.
2442 Tue Feb 3 17:08:34 1998 Olaf Weber <infovore@xs4all.nl>
2444 * kpathsea.texi: Update for changes to kpsewhich.
2446 Mon Feb 2 21:12:06 1998 Olaf Weber <infovore@xs4all.nl>
2448 * xputenv.c: Undid last patch from Fabrice -- it was a "fix" that
2449 suppresses warnings on his compiler, and engenders them on mine.
2451 Sun Feb 1 16:08:49 1998 Olaf Weber <infovore@xs4all.nl>
2453 * lib.h [!DOSISH]: Correct definition of FILESTRNCASEEQ.
2455 * mktexmf: Correct call to mktexnam.
2457 * kpsewhich.c: New option --expand-braces.
2458 (expand_path): Removed.
2459 (main): Add code for --expand-braces, account for new definition of
2462 * expand.h: Rename kpse_path_expand to kpse_brace_expand. Add new
2465 * expand.c (kpse_path_expand): New implementation, based on
2466 path_expand from kpsesewhich.c.
2467 (kpse_brace_expand): The old kpse_path_expand. Change calls to
2468 kpse_brace_expand to kpse_brace_expand_element.
2469 (kpse_brace_expand_element): The old kpse_brace_expand, but with
2470 static linkage. Changes calls to kpse_brace_expand to
2471 kpse_brace_expand_element.
2473 * tex-file.c (init_path): Replace kpse_path_expand with
2476 * texmf.in: Correct input variables for mltex variants. Add pdftex
2477 to TEXPSHEADERS path.
2479 Thu Jan 29 16:15:44 1998 Olaf Weber <infovore@xs4all.nl>
2481 * Makefile.in: Update for readlink.
2483 * common.ac: Test for readlink function.
2485 * access.c, kpsestat.c: No need to explicitly include c-auto.h.
2487 * mktex.opt: Adapt to new way of finding the script. Do the
2488 actual lookup for mktexnam, mktexdir, and mktexupd here. Make a
2491 * mktexlsr: Make file handling more robust, use kpsewhich to find
2492 supporting scripts like mktex.opt and mktexnam, use readlink to
2495 * mktexupd, mktexpk, mktextfm, mktexmf, mktexdir, mktexnam: Make
2496 file handling more robust, use kpsewhich to find supporting
2497 scripts like mktex.opt and mktexnam, simplify somewhat.
2499 * mktexnam.opt: Make handling of names more robust.
2501 * readlink.c, readlink.man: New files.
2503 * withenable.ac: Add --enable-multiplatform option. Attempt to
2504 find the texmf directory, and complain if we fail to do so.
2506 * Makefile.in (texmf.sed): Remove sed for dbtex, dbfonts, change
2507 VARTEXFONTS to comply with texmf.in, and update comment.
2509 * c-vararg.h: Comment update from Peter Breitenlohner.
2511 Wed Jan 28 20:36:56 1998 Olaf Weber <infovore@xs4all.nl>
2513 * Makefile.in: Keep c-auto.h out of kpathsea.h.
2515 * c-stat.h [WIN32]: Modification from Fabrice.
2517 * dir.c [WIN32]: Extensive modifications from Fabrice.
2519 * kpsestat.c, kpsewhich.c: Replace exit with return from main.
2522 * readable.c [WIN32]: Separate definition of READABLE. From
2525 * texmf.in: Remove almost all @var@ stuff, and just assume TDS for
2528 * win32lib.h: Modifications from Fabrice.
2530 * xputenv.c (xputenv): Minor fix from Fabrice.
2532 * win32lib.c: New file from Fabrice Popineau. Replacement
2533 functions for Win32.
2535 Sun Jan 25 20:02:21 1998 Olaf Weber <infovore@xs4all.nl>
2537 * texmf.in: Increase buf_size to 50000 (from 10000).
2539 * tex-file.c (kpse_find_file): In the first search, postpone
2540 pounding the disk until all possible suffixes have been tried.
2542 * line.c (read_line): Accept any of NL, CR, and CRLF as
2545 Fri Jan 23 14:45:19 1998 Olaf Weber <infovore@xs4all.nl>
2547 * access.c: Use return instead of exit to get rid of some compiler
2548 warnings. From Fabrice.
2550 * c-fopen.h: Changes for CYGWIN32.
2552 * c-proto.h: Patch from Fabrice Popineau for Win32.
2554 * kpathsea.texi: Document kpse_web2c_format,
2555 kpse_program_text_format, kpse_program_binary_format.
2557 * mktex.opt, mktexdir, mktexlsr, mktexmf, mktexnam, mktexpk,
2558 mktextfm, mktexupd: Use -expand-path instead of -expand-var where
2559 possible. This makes the handling of !! more robust.
2561 * tex-file.c (kpse_find_file): Handle other cases than precisely
2562 one extension in search number 3.
2563 (kpse_init_format): Add kpse_web2c_format, kpse_program_text_format,
2564 kpse_program_binary_format.
2566 * tex-file.h: Add kpse_web2c_format, kpse_program_text_format,
2567 kpse_program_binary_format.
2569 * tex-hush.c: Test the "path element" h, not the whole hush.
2571 * texmf.in: Add a definition for WEB2C. Add some Omega-related
2572 parameters, from John Plaice.
2574 Tue Jan 13 19:46:58 1998 Olaf Weber <infovore@xs4all.nl>
2576 * mktexpk, mktextfm: Only move $NAME.log file if it exists and is
2579 Mon Jan 12 06:22:59 1998 Olaf Weber <infovore@xs4all.nl>
2581 * kpathsea.texi: Fixes from Gerd Neugebauer <gerd@uni-koblenz.de>.
2583 Sun Jan 11 18:26:56 1998 Olaf Weber <infovore@xs4all.nl>
2585 * mktexupd: Two changes: absence of the current tree in the ls-R
2586 path is not an error; create an ls-R file if the current tree is
2587 in the ls-R path and the file doesn't yet exist.
2589 Sat Jan 10 09:55:47 1998 Olaf Weber <infovore@xs4all.nl>
2591 * tex-hush.c: A null pointer could be fed to strcmp.
2593 Fri Jan 9 21:08:45 1998 Olaf Weber <infovore@xs4all.nl>
2595 * mktexnam: Add $COMSPEC test, and use $SEP for path separator when
2596 splitting paths. From Eli Zaretskii.
2598 * mktexlsr: Correct usage for determining absolute paths. From
2601 * common.ac: Correct code in HAVE_PROTOTYPES test.
2603 Sun Jan 4 15:59:08 1998 Olaf Weber <infovore@xs4all.nl>
2605 * Manual pages for access, kpsestat, kpsewhich, mktexlsr, mktexpk,
2608 * Makefile.in: Changes for manual pages.
2610 Thu Jan 1 10:11:49 1998 Olaf Weber <infovore@xs4all.nl>
2612 * mktex.opt: Remove definition of $SEP; it is now needed before
2613 this script is sourced.
2615 * mktexlsr: If necessary, add location of script to PATH.
2617 * mktexupd: Put $SEP definition in script itself.
2619 * xputenv.c (xputenv): Move some declarations into the "not
2620 SMART_PUTENV" block to prevent "unused" warnings.
2622 Tue Dec 30 17:55:45 1997 Olaf Weber <infovore@xs4all.nl>
2624 * install.texi, bugs.texi: Add comment about the need to use
2625 special compiler options in HP-UX.
2627 * mktexpk: Use nonstopmode for mf, in case of failure move log
2628 file to working directory.
2630 * mktextfm: Use nonstopmode for mf, in case of failure move log
2631 files to working directory.
2633 * mktexlsr: Add comment about use in cron scripts, use SEP
2634 variable for path separator.
2636 * mktexupd: Check for both new and old magic string in ls-R files,
2637 use SEP variable for path separator.
2639 * mktex.opt: Pick the correct path separator for MS-DOS and UNIX.
2640 Add a more appropriate magic string for ls-R files, but keep the
2641 old one around for compatibility.
2643 * Makefile.in (install-exec): Add check for original mktexlsr.
2645 Thu Dec 18 20:33:56 1997 Olaf Weber <infovore@xs4all.nl>
2647 * tex-file.c (init_path): Rewrite test whether we're initializing
2648 the kpse_cnf_format paths.
2650 * tex-file.c (kpse_init_format): Initialise the binmode fields.
2651 (kpse_open_file): Use binmode field.
2653 * tex-file.h: Add binmode field to kpse_format_info_type.
2655 * kpsewhich.c: Correct option string.
2657 * tex-file.c (kpse_open_file): Assume kpse_truetype_format and
2658 kpse_type42_format are for binary files.
2660 Tue Dec 16 19:13:14 1997 Olaf Weber <infovore@xs4all.nl>
2662 * texmf.in: Don't make PKFONTS.xdvi a special case. Let all
2663 programs look in modeless. If a program shouldn't look there,
2664 give it a special PKFONTS line.
2666 Mon Dec 15 18:58:01 1997 Olaf Weber <infovore@xs4all.nl>
2668 * texmf.in: Add TTFONTS and T42FONTS.
2670 * Makefile.in (stamp-paths): The regular expression for variables
2671 had to be amended for T42FONTS.
2673 * tex-file.c (kpse_init_format): Add kpse_truetype_format and
2676 * tex-file.h: Add kpse_truetype_format and kpse_type42_format to
2677 kpse_file_format_type.
2679 Sat Dec 13 11:24:23 1997 Olaf Weber <infovore@xs4all.nl>
2681 * xputenv.c (xputenv [WIN32]): This system deletes an environment
2682 variable if it is set to "", with consequences for the code that
2683 reclaims the space. From Fabrice Popineau.
2685 Fri Dec 12 10:44:02 1997 Olaf Weber <infovore@xs4all.nl>
2687 * acconfig.h: Add HAVE_PROTOTYPES.
2689 * c-proto.h, c-vararg.h: Test for HAVE_PROTOTYPES.
2691 * common.ac: Add explicit test for prototypes, instead of relying
2694 * hash.c, hash.h (hash_remove): New function.
2696 * install.texi: Rewritten passage on font destinations, corrected
2697 reference to Triptrap node in web2c.
2699 * mktexpk, mktextfm: When mv fails, try cp. Matters on MS-DOS.
2701 * progname.c (selfdir): Test whether we are a directory, rather
2702 than whether we are not a link or file.
2704 * texmf.in: Change openout_any to paranoid.
2706 Tue Dec 9 19:08:04 1997 Olaf Weber <infovore@xs4all.nl>
2708 * mktexpk: Restored test-and-move, which turns out not to be a
2709 no-op for fonts generated with gsftopk.
2711 Thu Dec 4 12:53:52 1997 Olaf Weber <infovore@xs4all.nl>
2713 * texmf.in: Add TEXINPUTS.mltex and TEXINPUTS.mllatex.
2715 Tue Dec 2 12:58:04 1997 Olaf Weber <infovore@xs4all.nl>
2717 * Makefile.in (distclean): Add stamp-paths. From Sebastian Rahtz
2718 <s.rahtz@elsevier.co.uk>.
2720 * progname.c (kpse_set_program_name [!HAVE_PROGRAM_INVOCATION_NAME
2721 && !WIN32 && !__DJGPP__]): Remember to set
2722 program_invocation_name.
2724 * getopt.c: A few changes for WIN32. From Fabrice Popineau.
2726 Mon Dec 1 19:08:07 1997 Olaf Weber <infovore@xs4all.nl>
2728 * kpathsea.texi: Updated for absence of alternate TeX suffixes.
2730 * kpsewhich.c: Don't complain about unkown suffixes: it's all
2731 kpse_tex_format to us.
2733 * tex-file.c: Remove the interminable list of alternate TeX
2736 * Makefile.in ($(library).h): Take win32lib.h into account: it
2737 should not be included by this file, as config.h will do so if
2740 * progname.c (kpse_set_program_name [WIN32, __DJGPP__]): Changes
2741 from Fabrice Popineau.
2743 * win32lib.h: New file. From Fabrice Popineau.
2745 * config.h: Include <kpathsea/win32lib.h> instead of
2746 "../win32/win32-compat.h". From Fabrice Popineau.
2748 * access.c: Include <kpathsea/config.h>. From Fabrice Popineau.
2750 * absolute.c (kpse_absolute_p [WIN32]): Filenames starting with \\
2751 are absolute on this platform. From Fabrice Popineau.
2753 * tex-glyph.c (try_format): Oops, kpse_format_info[format].suffix
2754 is now a list of strings.
2756 Sun Nov 30 13:23:54 1997 Olaf Weber <infovore@xs4all.nl>
2758 * texmf.in, mktex.opt, mktexdir, mktexdir.opt, mktexlsr, mktexmf,
2759 mktexnam, mktexnam.opt, mktexpk, mktextfm, mktexupd: Add a
2760 MKTEXSCRIPT variable, which is the directory where supporting
2761 scripts are found. Defaults to $TEXMFMAIN/web2c if not defined.
2763 * Makefile.in, bugs.texi, db.h, install.texi, kpathsea.texi,
2764 kpsewhich.c, proginit.c, tex-file.c, tex-file.h, tex-glyph.c,
2765 tex-make.c, tex-make.h, texmf.in, withenable.ac, mktex.opt,
2766 mktexdir, mktexdir.opt, mktexlsr, mktexmf, mktexnam, mktexnam.opt,
2767 mktexpk, mktextfm, mktexupd: Changes for the great renaming...
2769 Sat Nov 29 13:10:42 1997 Olaf Weber <infovore@xs4all.nl>
2771 * The great renaming of the MakeTeX* scripts.
2772 MakeTeXPK -> mktexpk
2773 MakeTeXTFM -> mktextfm
2774 MakeTeXMF -> mktexmf
2775 MakeTeXls-R -> mktexlsr
2777 MakeTeX.site -> mktex.cnf
2778 MakeTeXcommon -> mktex.opt
2779 MakeTeXmkdir -> mktexdir
2780 MakeTeXmkdir.opt -> mktexdir.opt
2781 MakeTeXnames -> mktexnam
2782 MakeTeXnames.opt -> mktexnam.opt
2783 MakeTeXupdate -> mktexupd
2785 * Makefile.in (install-exec): Adapted for removal MakeTeX.cnf.
2787 * MakeTeX.cnf: Removed.
2789 * MakeTeXcommon: Fold MakeTeX.cnf into MakeTeXcommon.
2791 * tex-file.c (kpse_init_format): Add kpse_fmt_format add ".efmt"
2792 and ".efm" to additional suffixes.
2794 * db.c [DB_HASH_SIZE]: From 7603 increased to 15991.
2796 * tex-file.c: Yet more suffixes for kpse_tex_format.
2798 Tue Nov 25 18:19:17 1997 Olaf Weber <infovore@xs4all.nl>
2800 * progname.c (kpse_set_program_name): Ensure that
2801 kpse_program_name doesn't get an .exe suffix. The
2802 program_invocation*name variables retain it.
2804 Mon Nov 24 22:03:12 1997 Olaf Weber <infovore@xs4all.nl>
2806 * MakeTeXls-R: When creating the ls-R file from scratch, derive
2807 its permissions from the $db_dir, not from the current dir.
2809 Sun Nov 23 13:17:16 1997 Olaf Weber <infovore@xs4all.nl>
2811 * texmf.in: Update to use : instead of , in braces.
2813 * kpathsea.texi: Document use of path separator in brace
2814 expansion, note that the comma is deprecated.
2816 * path-elt.c (element): Dont split within braces.
2818 * expand.c (expand_amble): Break text in pieces at ENV_SEP as well
2821 Sat Nov 22 19:35:30 1997 Olaf Weber <infovore@xs4all.nl>
2823 * tex-file.c: Correction of description "PostScript header/font"
2824 to "PostScript header".
2826 * db.c (kpse_db_insert): Add cast for const correctness.
2828 * kpathsea.texi: Document kpse_set_program_name; updates.
2830 * kpsewhich.c: Many changes to support multiple standard suffixes.
2832 * progname.c (kpse_set_program_name): Add a few casts for const
2835 * tex-file.c: Many changes to support lists of standard suffixes.
2837 * tex-file.h: kpse_format_info_type: change type of suffix from
2838 const_string to const_string*.
2840 Fri Nov 21 15:17:35 1997 Olaf Weber <infovore@xs4all.nl>
2842 * c-proto.h: Restored AA macro, needed by revised web2c.
2844 Thu Nov 20 14:23:33 1997 Olaf Weber <infovore@xs4all.nl>
2846 * MakeTeXPK: Removed a test-and-move that is always a no-op.
2848 * MakeTeXnames: A shell on FreeBSD didn't like the ${foo:=`bar`}
2851 Wed Nov 19 17:24:08 1997 Olaf Weber <infovore@xs4all.nl>
2853 * MakeTeXls-R, MakeTeXMF, MakeTeXPK: Make temporary names fit into
2854 the 8.3 pattern. After Eli Zaretskii.
2856 * MakeTeXTFM: Make temporary names fit into the 8.3 pattern.
2857 Allow a second optional argument. Update usage message. After
2860 * MakeTeXcommon: Make temporary names fit into the 8.3 pattern.
2861 Do a 'cd /' before we cd to $KPSE_DOT, for MS-DOS' sake. After
2864 * MakeTeXnames: If $DEST starts with "letter-colon-slash", it
2865 still indicates an absolute path. After Eli Zaretskii.
2867 * MakeTeXnames.opt: Enable dosnames if we find COMSPEC set in the
2868 environment. This is apparently the canonical test for this kind
2869 of thing. After Eli Zaretskii.
2871 * Makefile.in: Numerous small changes to make building on MS-DOS
2872 easier. In particular to the rule for texmf.sed.
2874 * install.texi: Add table headers. After Eli Zaretskii.
2876 * tex-file.c (kpse_open_file): Open kpse_tex_ps_header_format and
2877 kpse_pict_format files in binary mode. After Eli Zaretskii.
2879 Tue Nov 18 11:50:35 1997 Olaf Weber <infovore@xs4all.nl>
2881 * install.texi, README, Makefile.in: Changed the name of CONFIGURE
2882 to README.CONFIGURE.
2884 * Makefile.in (mostlyclean): delete klibtool.version.
2886 Sat Nov 15 21:13:46 1997 Olaf Weber <infovore@xs4all.nl>
2888 * MakeTeXPK: Use quotes to ensure that test "$mf_bdpi" != $BDPI
2889 has a first argument. This occurs only in pathological
2890 circumstances, but is nevertheless annoying.
2892 * texmf.in: Add TEXINPUTS.foo for omega and lambda.
2894 Fri Nov 14 16:35:46 1997 Olaf Weber <infovore@xs4all.nl>
2896 * texmf.in: Add TEXINPUTS.foo definitions for e-TeX and PDFTeX.
2898 * tex-file.h: Add kpse_find_ofm and kpse_find_ovf macros.
2900 * tex-file.c (kpse_find_file): Add a search for Omega.
2902 Thu Nov 13 22:43:06 1997 Olaf Weber <infovore@xs4all.nl>
2904 * progname.c (expand_symlinks): Don't call fclose on a NULL
2905 pointer. After Gary Jennejohn <garyj@peedub.muc.de>.
2907 Wed Nov 12 16:20:02 1997 Olaf Weber <infovore@xs4all.nl>
2909 * kpsewhich.c: Use kpse_set_program_name instead of
2912 * tex-file.c, cnf.c: Use kpse_program_name instead of
2913 program_invocation_short_name.
2915 * progname.h (kpse_set_program_name, kpse_reset_program_name): New
2917 (kpse_program_name): New global.
2919 * progname.c (kpse_set_program_name): New function, to replace
2920 kpse_set_progname. This fixes the problem the we may want to
2921 pretend to be a different program, but need the name by which we
2922 were called because that is the one for an executable is
2923 guaranteed to exist. The pretend-name is stored in
2925 (kpse_reset_program_name): To reset kpse_program_name to a
2926 different value. It makes a half-hearted attempt to clear the
2927 search path information, so that the new name is used there as
2930 Mon Nov 10 13:14:01 1997 Olaf Weber <infovore@xs4all.nl>
2932 * configure.in (KPSEVERSION): version 3.1.
2934 Thu Nov 6 20:25:49 1997 Olaf Weber <infovore@xs4all.nl>
2936 * texmf.in: Corrected comment on size of max_print_line: it must
2939 Tue Nov 4 19:08:37 1997 Olaf Weber <infovore@xs4all.nl>
2941 * Makefile.in (install-data): Handle a split kpathsea.info.
2943 * common.ac: Add a test to ensure that autoconf 2.12.1 -- the one
2944 with our own hacks -- is used.
2946 Wed Oct 29 11:49:46 1997 Olaf Weber <infovore@xs4all.nl>
2948 * c-fopen.h [!DOSISH]: Guard against redefining O_BINARY. From
2949 Andreas Scherer <andreas.scherer@pobox.com>.
2951 Mon Oct 27 17:25:19 1997 Olaf Weber <infovore@xs4all.nl>
2953 * install.texi: Update for new MakeTeX* scripts.
2955 * MakeTeXnames: Handling of empty namepart.
2957 Fri Oct 24 14:23:58 1997 Olaf Weber <infovore@xs4all.nl>
2959 * getopt.[hc]: Changes for WIN32, which are likely to be a pain if
2960 these files are ever updated wholesale. After Fabrice Popineau.
2962 Thu Oct 23 11:16:26 1997 Olaf Weber <infovore@xs4all.nl>
2964 * MakeTeXnames: Corrected bug in assignemnt to stdfontpath.
2966 Wed Oct 22 17:36:57 1997 Olaf Weber <infovore@xs4all.nl>
2968 * MakeTeXmkdir: Added a bit of boilerplate to the use of
2971 * Makefile.in: It's acconfig.h, not c-auto.h, that we do not want
2974 * lib.h: Remove kpathsea/config.h from the includes. Note that
2975 lib.h is itself included by config.h.
2977 * Makefile.in: Change generation of kpathsea.h to put config.h
2980 Tue Oct 21 23:15:28 1997 Olaf Weber <infovore@xs4all.nl>
2982 * MakeTeX.site, MakeTeX.cnf: Remove MT_FILE_PERMS, MT_DIR_PERMS.
2984 * MakeTeXmkdir: Use kpsestat to obtain suitable directory
2987 * MakeTeXnames, MakeTeXnames.opt: Include code that infers
2988 destination directories from where the sources are found. Make
2989 use of fontmaps an option, move that part of the code to
2992 * MakeTeXls-R: Use kpsestat to obtain suitable file permissions;
2993 this means we no longer use unset. Use access rather than test to
2994 determine whether we can write the ls-R database.
2996 * MakeTeXTFM, MakeTeXMF, MakeTeXPK: Use kpsestat to obtain
2997 suitable file permissions.
2999 * Makefile.in: Minor changes, because of the new files and
3002 * MakeTeXnames.opt, MakeTeXmkdir.opt: renamed from
3003 MakeTeXnames.cnf and MakeTeXmkdir.cnf respectively. Now
3004 MakeTeX.cnf contains the standard configuration, and MakeTeX.site
3005 the local adjustments.
3007 * kpsestat.c, access.c: New files.
3009 Mon Oct 20 07:22:33 1997 Olaf Weber <infovore@xs4all.nl>
3011 * common.ac, Makefile.in, acconfig.in, config.h, install.texi,
3012 kpathsea.texi: Rename texmf.cnf.in to texmf.in / c-auto.h.in to
3014 * Renamed texmf.cnf.in to texmf.in.
3016 * bugs.texi: Add descriptions of GSFTOPK_DEBUG, MAKETEX_DEBUG, and
3017 MAKETEX_FINE_DEBUG. From Fabrice Popineau.
3019 * c-fopen.h [WIN32]: Use setmode in stead of _setmode. From
3022 * c-pathch.h, absolute.c [NAME_BEGINS_WITH_DEVICE]: Corrected
3023 definition. From Fabrice Popineau.
3025 * c-proto.h: Cosmetic change in definition DllImport. From
3028 * debug.h [WIN32 && _DEBUG]: Extra debugging code for WIN32. From
3031 * install.texi: Extend description of the dosnames feature. After
3034 * lib.h: Add kpathsea/config.h to the includes. New macro STRNEQ.
3035 From Fabrice Popineau.
3037 * progname.c (kpse_set_progname [WIN32]): New environment variable
3038 KPSE_DEBUG_OUTPUT. If defined, it names a file to which stderr
3039 will be redirected. From Fabrice Popineau.
3041 * tex-make.c: Various cosmetic changes for WIN32/MS-DOS. From
3044 Fri Oct 17 10:41:08 1997 Olaf Weber <infovore@xs4all.nl>
3046 * db.c (kpse_db_insert): Remove dubious cast of result of basename.
3048 * progname.c (kpse_set_progname [!HAVE_PROGRAM_INVOCATION_NAME]):
3049 Removed dubious cast of basename.
3051 * tex-file.c (kpse_find_file): Reorganize searches, so that
3052 foo.bar.tex is found before foo.bar.
3054 * tex-make.c (maketex) [MSDOS]: Redirect stderr to the null device
3055 without using the shell (which requires users to install a port of
3056 a Unixy shell, since stock DOS shells don't allow redirecting
3058 (kpse_make_tex) [MSDOS]: Don't use the shell to redirect stderr.
3059 From Eli Zaretskii <eliz@is.elta.co.il>.
3061 * readable.c (READABLE) [__DJGPP__]: Use `access' instead of
3062 `stat', since `stat' is expensive on MS-DOS. Eli Zaretskii
3063 <eliz@is.elta.co.il>.
3065 * pathsearch.c (search) [__DJGPP__]: Make `stat' work in the
3066 fastest possible way, since it can be very expensive on MS-DOS.
3067 (main): Use ENV_SEP_STRING instead of explicit ":".
3068 From Eli Zaretskii <eliz@is.elta.co.il>.
3070 * path-elt.c (main): Use ENV_SEP_STRING instead of explicit ":".
3071 From Eli Zaretskii <eliz@is.elta.co.il>.
3073 * kpsewhich.c (path_expand): Handle file names with device
3075 (read_command_line): Use ENV_SEP_STRING instead of explicit ":".
3076 After Eli Zaretskii <eliz@is.elta.co.il>.
3078 * kdefault.c (main): Use ENV_SEP_STRING instead of explicit ":"
3079 (which is only true on Unix). From Eli Zaretskii
3080 <eliz@is.elta.co.il>.
3082 * cnf.c (do_line) [__DJGPP__]: Don't convert semi-colons to
3083 colons, even though DJGPP defines `unix'. From Eli Zaretskii
3084 <eliz@is.elta.co.il>.
3086 * absolute.c (kpse_absolute_p) [DOSISH]: Don't assume the drive
3087 letter is alphanumeric. From Eli Zaretskii <eliz@is.elta.co.il>.
3089 * xgetcwd.c (xgetcwd) [DOSISH]: Prepend drive letter before path.
3090 From Eli Zaretskii <eliz@is.elta.co.il>.
3092 * progname.c (kpse_set_progname) [__DJGPP__]: Compute the long
3093 file name of the program given its 8+3 alias.
3094 (kpse_set_progname) Compute SELFAUTOLOC before removing the
3095 ".exe" suffix, if any, because `selfdir' might look along the PATH
3097 After Eli Zaretskii <eliz@is.elta.co.il>.
3099 * config.h (DOSISH): Move the definition to the top, so we could
3100 define MONOCASE_FILENAMES right there.
3101 [__DJGPP__]: Include DJGPP-specific headers.
3102 [DOSISH]: Let DJGPP use ST_NLINK_TRICK, since it supports it.
3103 From Eli Zaretskii <eliz@is.elta.co.il>.
3105 * lib.h (FILESTRNCASEEQ): New macro, for partial compares of
3106 filenames. From Eli Zaretskii <eliz@is.elta.co.il>.
3108 * c-fopen.h (FOPEN_RBIN_MODE, FOPEN_WBIN_MODE): Let MS-DOS use
3110 (FOPEN_ABIN_MODE): New macro, defines how to open a binary file for
3112 (SET_BINARY): New macro, switches an already open file to binary
3113 mode (required for stdin/stdout on MS-DOS/MS-Windows).
3114 From Eli Zaretskii <eliz@is.elta.co.il>.
3116 * c-pathch.h (NAME_BEGINS_WITH_DEVICE): Don't assume the drive
3117 letter is A-Z only (DOS allows 6 characters beyond Z). After Eli
3118 Zaretskii <eliz@is.elta.co.il>.
3120 Thu Oct 16 10:22:42 1997 Olaf Weber <infovore@xs4all.nl>
3122 * configure.in: Update stamp-auto after creating c-auto.h. From
3123 Peter Breitenlohner.
3125 * Makefile.in: Don't rewrite paths.h if it was not changed. After
3126 Peter Breitenlohner.
3128 Wed Oct 15 15:33:43 1997 Olaf Weber <infovore@xs4all.nl>
3130 * xputenv.c (xputenv): Don't do anything if the old and new values
3131 of the environment variables are identical, because some libraries
3132 (DJGPP) will will optimize away such no-ops, and therefore freeing
3133 the old value will lead to disaster. Free new_item if it was
3134 copied by the library `putenv'. From Eli Zaretskii
3135 <eliz@is.elta.co.il>
3137 * tex-file.c (kpse_open_file): Open
3138 kpse_{pk,base,fmt,mem,type1}_format files in binary mode.
3140 * install.texi: Remove description of the feature that (say)
3141 MAKETEXPK in the environment can be used to provide a
3142 specification of the argument list of MakeTeXPK. Reason: the
3143 feature isn't implemented.
3145 Tue Oct 14 17:08:22 1997 Olaf Weber <infovore@xs4all.nl>
3147 * xgetcwd.c: Rename DO_NOT_USE_GETCWD to GETCWD_FORKS.
3148 * common.ac: Add a test for GETCWD_FORKS.
3149 * acconfig.h: Include GETCWD_FORKS.
3151 Mon Oct 13 19:42:58 1997 Olaf Weber <infovore@xs4all.nl>
3153 * path-elt.c (element): Always return a new string rather than a
3154 part of the path, as the returned string may be modified.
3156 * tex-file.c (remove_dbonly): Replaced hard-coded ':' with
3157 ENV_SEP. From Fabrice Popineau.
3159 * common.ac, configure.in: Move definition of KPSEVERSION from
3160 common.ac to configure.in.
3162 * common.ac: Check for presence of getcwd.
3164 * xgetcwd.c: Use getcwd in preference to getwd, unless
3165 DO_NOT_USE_GETCWD is defined.
3167 * MakeTeX.cnf: Made varfonts the default.
3169 * elt-dirs.c, path-elt.c, tilde.c, variable.c: Print (nil) instead
3170 of (null), so we can distinguish *printf being fed a null pointer.
3172 * tex-file.c: remove_dbonly: Corrected off-by-one error in
3175 Sat Oct 11 13:48:33 1997 Olaf Weber <infovore@xs4all.nl>
3177 * elt-dirs.c (main) [TEST, AMIGA]: Changed test code for Amiga.
3178 From Andreas Scherer <Scherer@physik.rwth-aachen.de>.
3180 Mon Oct 6 16:36:50 1997 Olaf Weber <infovore@xs4all.nl>
3182 * install.texi: Document --enable-maintainer-mode switch.
3184 Sat Oct 4 19:27:22 1997 Olaf Weber <infovore@xs4all.nl>
3186 * MakeTeXnames.cnf: Add "strip" feature for backwards
3187 compatibility with 7.0.
3188 * Use a new set of MakeTeX* scripts, from Thomas Esser.
3190 Fri Oct 3 09:54:47 1997 Olaf Weber <infovore@xs4all.nl>
3192 * kpsewhich.c (path_expand): Don't scribble in the datastructures
3193 of the system to get rid of trailing slash, use "%.*s" format of
3196 * Makefile.in (texmf.sed, paths.h): Take the changes to texmf.cnf.in
3198 * texmf.cnf.in: Redo variable definitions for the sake of clarity.
3200 * hash.c (hash_create): Make ret static to work around a gcc
3201 optimizer bug on the Alpha.
3203 * elt-dirs.c (do_subdir,expand_elt): Cleanup by Greg Hudson
3204 <ghudson@MIT.EDU>, which might fix the '//' in path problem on the
3207 * xrealloc.c: Get prototype for realloc from config.h, give
3208 prototype for xmalloc, prototype xrealloc itself. After Fabrice
3211 * xmalloc.c: Give xmalloc a prototype, get prototype for malloc
3212 from config.h. After Fabrice Popineau.
3214 * tex-file.c [TEX_SUFFIXES]: Brought into sync with tex.ch.
3216 * install.texi: Extend comments on shared library support.
3218 Thu Oct 2 00:14:57 1997 Olaf Weber <infovore@xs4all.nl>
3220 * texmf.cnf.in [buf_size]: Increased from 3000 to 10000.
3222 * tex-file.h (enum kpse_src_type): removed trailing comma. From
3223 Ezra Peisach <epeisach@auriga.rose.brandeis.edu>.
3225 * c-proto.h [AA]: Obsolete due to changes to web2c.y; removed.
3227 * bugs.texi: Document KPSE_DEBUG_VARS.
3228 * debug.h [KPSE_DEBUG_VARS]: New #define for debugging. From
3229 Nicolai Langfeldt <janl@math.uio.no>.
3230 * variable.c (kpse_var_value): Add code to report how variables
3231 were expanded. From Nicolai Langfeldt <janl@math.uio.no>.
3233 * progname.c (selfdir) [!AMIGA]: Directories were mistaken for
3234 executables. From Matthias Clasen
3235 <mclasen@sun2.mathematik.uni-freiburg.de>
3237 * tex-file.c (remove_dbonly): New function that strips the !! from
3238 path specifications. Called when creating the path for
3239 kpse_db_format. From Thomas Esser <te@informatik.uni-hannover.de>
3241 * install.texi: The default installation directory is not always
3242 /usr/local, as configure will pick the location of an existing tex
3245 Wed Oct 1 13:43:18 1997 Olaf Weber <infovore@xs4all.nl>
3247 * texmf.cnf.in: Various definitions have changed to take advantage
3248 of the new brace expansion code. The various intermediate
3249 variables (fontdir, web2cdir, ...) have been removed because you
3250 could burn yourself severely by accidentally setting these
3251 undocumented variables -- this happened with some versions of make
3254 Tue Sep 30 16:14:48 1997 Olaf Weber <infovore@xs4all.nl>
3256 * kpathsea.texi: Document changes in brace expansion.
3257 * expand.c (array_concat): reversed the order concatenation, which
3258 result in more usable brace expansion.
3259 (kpse_expand_kpse_dot): new function.
3260 (kpse_path_expand): call kpse_expand_kpse_dot to expand relative
3261 components using KPSE_DOT, if the latter is defined.
3263 * common.ac: Define the version string.
3264 * version.c: Replaced version string with a define.
3265 * acconfig.h: Added defines for version strings.
3266 * Makefile.in: Let version = @KPSEVERSION@.
3267 * common.ac: Introduce KPSEVERSION for version.
3269 * tex-file.c (kpse_maketex_option): choose proper mf and tfm
3270 formats rather than tex.
3272 Mon Sep 29 22:47:23 1997 Olaf Weber <infovore@xs4all.nl>
3274 * db.c (match): Repaired several off-by-one bugs.
3276 Wed Sep 17 21:09:56 1997 Olaf Weber <infovore@xs4all.nl>
3278 * withenable.ac: Added the --enable-maintainer-mode option.
3280 Tue Aug 5 17:26:16 1997 Karl Berry <karl@cs.umb.edu>
3282 * config.h (KPATHSEA): Define for the sake of kpathsea code
3283 getting merged back into original distributions.
3285 Sun Aug 3 17:14:47 1997 Karl Berry <karl@cs.umb.edu>
3287 * install.texi: simple.tex doesn't exist in LaTeX 2e; it's sample2e.
3288 From: "Jonathan I. Kamens" <jik@cam.ov.com> and others.
3290 * db.c (kpse_db_search): Preprocessor # commands must start in
3291 column 1 for DEC OSF/1 2.0 cc.
3292 From: Andrew Komornicki <komornic@maxwell.mps.nsf.gov>.
3294 * common.ac (program_inv_name): Correct usage of AC_TRY_LINK.
3295 From: "John W. Eaton" <jwe@bevo.che.wisc.edu>.
3297 * Makefile.in (.SUFFIXES): Put before the .c.lo rule for the sake
3298 of FreeBSD 2.1.7 make.
3299 From: Hiroto Kagotani <kagotani@in.it.okayama-u.ac.jp>.
3301 Thu Apr 17 17:35:37 1997 Karl Berry <karl@cs.umb.edu>
3303 * Makefile.in (paths.h): Replace $web2cdir too,
3304 for the sake of DEFAULT_TEXMFCNF.
3305 From: M G Berberich <berberic@forwiss.uni-passau.de>.
3307 Tue Apr 1 17:48:18 1997 Karl Berry <karl@cs.umb.edu>
3309 * fontmap.c: Doc fix.
3310 * kpsewhich.c (find_format): Try the long name if the file format
3311 has no suffix, e.g., `dvips config'.
3312 From: "Tomasz J. Cholewo" <tjchol01@mecca.spd.louisville.edu>
3314 Sun Mar 23 16:44:21 1997 Karl Berry <karl@cs.umb.edu>
3316 * tex-file.c (kpse_find_file): Don't assert that `name' is empty,
3317 only NULL, so \input\relax doesn't crash.
3318 From: "Tomasz J. Cholewo" <T.Cholewo@ieee.org>.
3320 Fri Mar 21 16:09:47 1997 Karl Berry <karl@cs.umb.edu>
3322 * MakeTeXPK, MakeTeXcommon: Support a redirect option to MTPK,
3323 from Thomas via Paul V.
3325 * progname.c (selfdir) [AMIGA]: Fix from Andreas.
3327 Sun Feb 16 15:49:07 1997 Karl Berry <karl@cs.umb.edu>
3329 * withenable.ac: `enableval' should have been `withval',
3330 and value must be quoted.
3332 * MakeTeXTFM: Exit if mf fails, a la MakeTeXPK.
3333 From: Julian Gilbey <J.D.Gilbey@qmw.ac.uk>.
3335 Thu Feb 13 16:08:30 1997 Karl Berry <karl@cs.umb.edu>
3337 * texmf.cnf.in (latex2*_inputs): Put $dbtex/generic before the
3338 ``other'' latex version.
3339 From: Olaf Weber <Olaf.Weber@cwi.nl>.
3341 * progname.c (selfdir): Protect against argv0 being dir/exename,
3342 not found in PATH. Happens under Solaris.
3343 From: Ross Alexander <r.alexander@auckland.ac.nz> (and many others).
3345 Sun Feb 09 15:27:15 1997 Fabrice POPINEAU <popineau@ese-metz.fr>
3347 * progname.c (kpse_set_progname): Added braces around Win32 code,
3348 because of variables declaration.
3350 Fri Feb 7 11:53:09 1997 Karl Berry <karl@cs.umb.edu>
3354 * MakeTeXMF: Syntax problems with dc*. Fix from Thomas.
3356 * MakeTeX*: sed command to strip off all but the first of multiple
3357 trees in $TEXMF was faulty.
3359 * c-pathch.h (ENV_SEP, ENV_SEP_STRING) [AMIGA]: Change to ;
3360 for Andreas. Then Amiga binaries may be able to share
3361 the same texmf.cnf with Unix and NT.
3363 * texmf.cnf.in (main_memory): Decrease back to 263,000.
3364 It's not worth allocating 7MB on everyone's machine just
3365 to do xy-pic samples. Add a comment about it.
3367 Thu Feb 6 10:27:50 1997 Karl Berry <karl@cs.umb.edu>
3369 * db.c (kpse_db_search): If an alias exists on disk, and the
3370 original entry in ls-R doesn't, use the alias. Idea, sample code
3373 * cnf.c (do_line): Add awful kludge to translate ; to :
3374 when reading texmf.cnf values under Unix. The idea is
3375 to be able to write a single texmf.cnf that will work
3376 under both NT and Unix.
3380 * MakeTeXcommon: Set ps_to_pk.
3381 * MakeTeXPK: Use ps_to_pk instead of hardwiring gsftopk.
3382 * MakeTeX.site: Include ps_to_pk comment.
3384 * texmf.cnf.in (TEXMFCNF): Include SELFAUTOLOC (at the front).
3385 * progname.c (kpse_set_progname): Include SELFAUTOLOC for the real
3386 directory. It may be useful. Suggested by Andreas.
3388 * MakeTeXcommon: Add case for fc.
3389 * MakeTeX.site: Add comment for fc.
3390 * MakeTeXMF: Add case for fc, generated like Sauter.
3391 From Francois and Thomas.
3393 * progname.c [WIN32]: SELFAUTODIR fix from Fabrice.
3395 * kpathsea.h: Do not #include <kpathsea.h> (infinite loop).
3396 From Fabrice and Richard.
3398 Tue Feb 4 13:20:09 1997 Karl Berry <karl@cs.umb.edu>
3400 * tilde.c: xstrdup the result from getenv,
3401 since we end up freeing it with a path element of `~'.
3403 * MakeTeX.site: Include RCS id.
3405 * MakeTeX.site: Replace sample dc assignment with ec.
3407 * MakeTeXMF: Handle ec, use exbase for tc.
3409 * MakeTeXcommon (ecfontdir,tcfontdir): New variables.
3411 Tue Feb 04 15:11:29 1997 Fabrice POPINEAU <popineau@ese-metz.fr>
3413 * progname.c: argv[0] under Win95 is set to the short
3414 filename of the executable run. Changed the way
3415 program_invocatio_name is retrieved : used the SearchPath() win32
3416 call, next FindFirstFile() to get the long filename. The selfdir
3417 stuff is not used any more for win32.
3419 Mon Feb 3 18:01:02 1997 Karl Berry <karl@cs.umb.edu>
3421 * kpsewhich.c (read_command_line): Check for -1, not EOF,
3424 Sun Feb 2 16:06:42 1997 Karl Berry <karl@cs.umb.edu>
3426 * texmf.cnf.in (PKFONTS.xdvi): Replace `gsftopk,ps2pk' by `modeless'.
3427 * MakeTeXPK (mode): Use `modeless' instead of `gsftopk'.
3429 * tex-file.c: Look for TEXINDEXSTYLE before INDEXSTYLE.
3431 Sat Feb 1 16:31:39 1997 Karl Berry <karl@cs.umb.edu>
3433 * texmf.cnf.in: Doc fix.
3435 * progname.c (my_dirname): Check for device separators at the
3436 beginning fo the string. From Andreas.
3438 * c-pathch.h (IS_DIR_SEP) [AMIGA]: New definition from Andreas.
3439 (NAME_BEGINS_WITH_DEVICE): Remove.
3441 * tex-make.c (maketex) [AMIGA]: Have to call system instead of popen
3442 due to different interface. From Andreas.
3444 * progname.c (selfdir): Check self, not ret, for exiting the loop.
3445 (remove_dots): Missing indirection on ret.
3448 Tue Jan 21 08:26:17 1997 Karl Berry <karl@cs.umb.edu>
3450 * elt-dirs.c: Doc fixes.
3452 * db.c (match): Don't return false just because the path element
3454 Bug from: Richard Walker <Richard.Walker@cs.anu.edu.au>.
3456 * expand.c (kpse_path_expand): Do variable expansion before
3457 splitting on path elements.
3458 Bug from: Richard Walker <Richard.Walker@cs.anu.edu.au>.
3460 * tilde.c [TEST]: Function name changed.
3461 From: Richard Walker <Richard.Walker@cs.anu.edu.au>.
3463 * texmf.cnf.in (MAILCAPLIBDIR): Rename from MAILCAPDIR.
3466 Tue Jan 21 09:34:20 1997 Fabrice POPINEAU <popineau@ese-metz.fr>
3468 * c-pathch.h: NAME_BEGINS_WITH_DEVICE(string) new macro testing
3469 for the presence of a device name in front of the string.
3471 * progname.c (remove dots): stop before device name if
3472 present. When building the filename, do not add leading DIR_SEP if
3475 * pathsearch.c (path_search): avoid searching the whole disk
3478 * db.c: support aliases file along with db files. An alias file is
3479 named with ALIAS_NAME and the hashtable size is
3480 ALIAS_HASH_SIZE. When a name looked for has an alias, the alias is
3481 searched instead of the original name. The format of the aliases
3482 file is "real_name alias_name", one pair per line. Currently only
3485 Mon Jan 20 12:01:14 1997 Karl Berry <karl@cs.umb.edu>
3487 * progname.c: Amiga patch from Andreas.
3489 Sun Jan 19 14:29:00 1997 Karl Berry <karl@cs.umb.edu>
3491 * pathsearch.c (path_search): Strip off all but one of leading /'s.
3492 We never want to search the whole disk.
3494 * progname.c: Expand symlinks off the final filename, not the
3497 Sat Jan 18 14:39:00 1997 Karl Berry <karl@cs.umb.edu>
3499 * texmf.cnf.in (param_size): Increase to 500 for the chemical
3500 formula macro package. From Thomas.
3502 * progname.c (expand_symlinks, ReadSymLink, CopyFirst, StripFirst,
3503 StripLast): New functions to expand symbolic links for SELFAUTO*.
3506 * texmf.cnf.in (PKFONTS.xdvi): Fix tpyo.
3507 Document that memory changes
3508 (trie_size): Increase to 64000.
3510 Fri Jan 17 13:08:08 1997 Karl Berry <karl@cs.umb.edu>
3512 * progname.c (remove_dots): Don't free the constant null string.
3515 * texmf.cnf.in (dbfontdir): Change to dbfonts (the commented-out one).
3517 Thu Jan 16 10:13:19 1997 Karl Berry <karl@cs.umb.edu>
3519 * cnf.c (kpse_cnf_get): Avoid recursive init, due to new
3520 $TETEXDIR and other variables in default TEXMFCNF value.
3522 * getopt*, strtol.c: New versions from /gd/gnu/lib.
3524 * c-std.h (ALLOC_RETURN_TYPE): Only define if we're going to use it.
3526 * acconfig.h (EDITOR): Oops, %s not +%s.
3527 From: tim@maths.tcd.ie.
3529 * progname.c (kpse_set_progname): One more my_dirname call
3530 to get the parent and the grandparent in the environment variables.
3532 * texmf.cnf.in (texdir): Rename from tex, to avoid clash with
3533 TEX used by makempx -- win32 doesn't distinguish case on envvars.
3535 (WEB2CDIR): Lowercase, so it doesn't end up in paths.h, just
3538 * progname.c (kpse_set_progname): Pass program_invocation_name
3539 to selfdir instead of progname, just in case we
3540 HAVE_PROGRAM_INVOCATION_NAME and it's something different.
3543 * tex-file.c (kpse_open_file): ocp, ofm and ovf should use
3544 FOPEN_RBIN_MODE. From Fabrice and John Plaice.
3546 * progname.c [AMIGA]: Fix syntax errors, remove_dots not necessary.
3547 From Andreas Scherer.
3549 * MakeTeXupdate: MakeTeXls-R isn't in the conf dir anymore, just
3550 in the regular path.
3553 Sun Jan 12 17:22:35 1997 Karl Berry <karl@cs.umb.edu>
3555 * cnf.c (read_all_cnf): Do not test unallocated memory on empty
3556 lines; crashed on Alphas.
3558 * progname.c (dirname): Rename to my_dirname to avoid clash on Alphas.
3560 Sat Jan 11 16:28:54 1997 Karl Berry <karl@cs.umb.edu>
3562 * c-std.h (calloc, malloc, realloc) [!STDC_HEADERS]: Only declare
3565 Tue Jan 7 17:44:01 1997 Karl Berry <karl@cs.umb.edu>
3567 * MakeTeXPK: Doc fix.
3569 * texmf.cnf.in (KPSE_DOT): Define.
3571 * c-memstr.h: Doc fix.
3573 Wed Jan 1 16:58:02 1997 Karl Berry <karl@cs.umb.edu>
3575 * pathsearch.h (kpse_filename_component): Declare this.
3576 * path-elt.c: Define it.
3577 * progname.c (remove_dots): New function to remove . and ..
3578 filename components. Subsumes slashify, it turns out.
3580 * Makefile.in (install-exec): Install MakeTeXls-R in $(scriptdir).
3582 Mon Dec 30 16:22:42 1996 Karl Berry <karl@cs.umb.edu>
3584 * progname.c (kpse_set_progname): Strip off .exe if present.
3588 * progname.c (slashify): New function, to translate \ into / for WIN32.
3591 * lib.h (FILE{STR,CHAR}CASEEQ) [MONOCASE_FILENAMES]: Define these,
3592 continuing yesterday's changes.
3595 Sun Dec 29 13:26:09 1996 Karl Berry <karl@cs.umb.edu>
3597 * db.c (match, elt_in_db),
3598 * elt-dirs.c (cached),
3599 * hash.c (hash_lookup),
3600 * kpsewhich.c (find_format, TRY_SUFFIX),
3602 * cnf.c (do_line): Compare filenames with FILESTRCASEEQ or
3603 FILECHARCASEEQ to support monocase filesystems.
3604 * hash.c (hash) [MONOCASE_FILENAMES]: Transform keys to uppercase.
3607 * basename.c (basename): Consider device separators;
3608 if given 'e:foo.tex', should return 'foo.tex'.
3609 From: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.
3611 * types.h (boolean): Protect with #ifndef HAVE_BOOLEAN, for NeXT.
3612 From: Raf Schietekat <flexus!rfschtkt@colds.ruca.ua.ac.be>
3614 Sat Dec 28 07:18:48 1996 Karl Berry <karl@cs.umb.edu>
3616 * progname.c [AMIGA]: Add code for this case from Andreas S.
3618 Fri Dec 27 17:38:43 1996 Karl Berry <karl@cs.umb.edu>
3620 * progname.c (S_IX{USR,GRP,OTH}): Define if not defined, for the NeXT.
3621 From: Gregor Hoffleit <flight@mathi.uni-heidelberg.de>.
3623 * texmf.cnf.in (TEXMFCNF): Rewrite using /.'s etc. From Thomas.
3625 Sun Dec 15 06:21:22 1996 Karl Berry <karl@cs.umb.edu>
3627 * common.ac (AC_CHECK_FUNCS): Add getwd.
3629 * lib.h (xgetcwd): Declare.
3630 * Makefile.in (objects): Add xgetcwd.lo.
3631 * xgetcwd.c: New file from xdvik.
3633 * texmf.cnf.in (TEXMFCNF): Add $SELFAUTODIR:$SELFAUTOPARENT.
3634 * progname.c (selfdir, dirname, etc.): New functions.
3635 (kpse_set_progname): Set SELFAUTODIR and SELFAUTOPARENT.
3637 Sat Dec 14 14:41:39 1996 Karl Berry <karl@cs.umb.edu>
3639 * tex-file.h (kpse_src_type): New types kpse_tex{doc,source}_format.
3640 * tex-file.c (TEXDOC_ENVS, TEXSOURCE_ENVS): New envvars.
3641 (kpse_init_format): Handle them.
3642 * texmf.cnf.in (TEXDOCS, TEXSOURCES): New values.
3643 * kpathsea.texi: Document them.
3645 Fri Dec 13 16:46:00 1996 Karl Berry <karl@cs.umb.edu>
3647 * expand.h: Doc fix.
3649 Thu Dec 12 17:25:25 1996 Karl Berry <karl@cs.umb.edu>
3651 * xputenv.c [WIN32]: Work around putenv ("FOO=") unsetting
3652 FOO under NT. From Fabrice.
3654 Mon Dec 9 23:27:45 MET 1996 Thomas Esser <te@informatik.uni-hannover.de>
3656 * kpsewhich.c: add option -show-path to display the search path for a
3659 Mon Dec 9 17:23:32 1996 Karl Berry <karl@cs.umb.edu>
3661 * readable.c (READABLE): Check !S_ISDIR instead of S_ISREG,
3663 Suggestion from: Krzysio Leszczynski <chris@camk.edu.pl>.
3665 * tex-file.c (kpse_open_file): Open VF files in binary mode.
3668 * types.h (boolean) [WIN32]: Remove this case, Fabrice
3669 has found another solution.
3671 * elt-dirs.c (expand_elt): Do not check for a device separator.
3674 * texmf.cnf.in (OTPINPUTS, OCPINPUTS): These use a subdirectory omega/.
3677 Sun Dec 8 17:15:43 1996 Karl Berry <karl@cs.umb.edu>
3679 * c-proto.h (DllImport): Define here.
3680 * config.h (DllImport): Instead of here.
3681 * kpsewhich.c: Other DllImport changes.
3682 * line.c [WIN32]: Include <malloc.h>.
3683 * tex-file.c: Oops, had FOPEN_RBIN_MODE vs. R reversed.
3684 * tex-make.c (kpse_make_tex_discard_errors): Add Dllimport.
3685 * types.h (boolean): Bizarre WIN32 definition.
3686 From: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.
3688 Sat Dec 7 22:12:26 MET 1996 Thomas Esser <te@informatik.uni-hannover.de>
3690 * MakeTeXnames: Ensure that cmr1234 will be mapped to
3691 jknappen/sauter while cmr12 will still be mapped to public/cm.
3693 Fri Dec 6 15:08:35 1996 Karl Berry <karl@cs.umb.edu>
3695 * texmf.cnf.in (OFMFONTS, etc.): New definitions for Omega.
3696 * tex-file.h (kpse_file_format_type): Define kpse_ocp_format, etc.
3697 * acconfig.h (MAKE_OMEGA_{OFM,OCP}_BY_DEFAULT): Include these.
3698 * tex-file.c (kpse_init_format): New cases for the Omega types.
3699 (OCP_ENVS, etc.): New environment variable lists.
3700 From: John Plaice <plaice@iad.ift.ulaval.ca>.
3702 * texmf.cnf.in: Use fonts//<format> consistently,
3703 instead of fonts/<format>.
3705 * lib.h (itoa): Remove, it seems we don't use this function any more.
3707 * acconfig.h (HAVE_ITOA): Remove this.
3708 * Makefile.in (objects): Remove.
3710 * cnf.c (do_line): Oops, tested prog after freeing it,
3711 should have tested prog2.
3712 From: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.
3714 Tue Dec 3 14:57:52 1996 Karl Berry <karl@cs.umb.edu>
3716 * Makefile.in (objects): Remove strtol.lo, that's generated by
3718 From: Gregor Hoffleit <flight@mathi.uni-heidelberg.de>.
3720 Mon Dec 2 09:05:54 1996 Karl Berry <karl@cs.umb.edu>
3722 * MakeTeXcommon: Set KPSE_DOT before the trap. From Thomas.
3724 Tue Dec 3 18:02:08 1996 Ulrik Vieth <vieth@thphy.uni-duesseldorf.de>
3726 * texmf.cnf.in (TRFONTS): Set this to /usr/lib/font/devpost
3727 indepent of $prefix.
3729 Mon Dec 9 00:28:58 1996 Ulrik Vieth <vieth@thphy.uni-duesseldorf.de>
3731 * MakeTeXcommon: Use `basename $0` in usage and version messages
3732 for consistency with other programs and scripts.
3733 Also accept -help, -version in addition to --help, --version.
3735 * MakeTeX{MF,PK,TFM,ls-R,mkdir,names,update}:
3736 Use `basename $0` in usage messages for consistency.
3738 Tue Dec 3 18:02:08 1996 Ulrik Vieth <vieth@thphy.uni-duesseldorf.de>
3740 * texmf.cnf.in (TRFONTS): Set this to /usr/lib/font/devpost
3741 indepent of $prefix.
3743 Thu Nov 28 16:33:35 1996 Karl Berry <karl@cs.umb.edu>
3745 * common.ac (AC_ISC_POSIX): Remove this; it causes warnings from
3746 Autoconf that make no sense, isn't cached, and is probably of
3747 dubious value today.
3748 * configure.in: Move the klibtool stuff to common.ac, so the
3749 program configure.in's can find it.
3751 Wed Nov 27 14:43:41 1996 Karl Berry <karl@cs.umb.edu>
3753 * configure.in: Doc fix.
3754 * acconfig.h (HAVE_BASENAME, etc.): #undef these symbols so
3755 Autoheader can replace them; we use a non-standard macro to test
3756 for them, since they're part of the possibly-shared library.
3758 Mon Nov 25 14:04:42 1996 Karl Berry <karl@cs.umb.edu>
3760 * Makefile.in (texmf.sed): Replace all $(texmf) with `$TEXMF'
3761 except on the TEXMF line itself.
3763 Sun Nov 24 10:06:35 1996 Karl Berry <karl@cs.umb.edu>
3765 * Makefile.in (texmf.sed): Insert missing quote.
3766 (distdir): Use doc instead of listing all the targets (we were
3767 missing unixtex.ftp).
3769 * kpsewhich.c (read_command_line): Print the integer equivalent of
3772 Sat Nov 23 15:38:31 1996 Karl Berry <karl@cs.umb.edu>
3774 * xt.ac (with_x): Remove spurious ;;.
3776 Fri Nov 22 18:00:41 1996 Karl Berry <karl@cs.umb.edu>
3778 * cnf.c (do_line): Let var.prog lines work if we're running prog.exe.
3779 This happens with --enable-shared.
3782 Mon Nov 18 16:10:48 1996 Karl Berry <karl@cs.umb.edu>
3784 * tex-file.c (kpse_troff_font_format): Change to DEFAULT_TRFONTS
3785 to make texmf.cnf.in change.
3787 Fri Nov 15 14:13:36 1996 Karl Berry <karl@cs.umb.edu>
3789 * Makefile.in (texmf.sed): Get $TEXMF back into the paths.
3790 Noted by Andreas Scherer.
3791 (distdir): Add klibtool.version to the distribution.
3793 (install-exec): Use INSTALL_SCRIPT for scripts.
3795 Mon Nov 11 16:16:50 1996 Karl Berry <karl@cs.umb.edu>
3797 * various .c: Print (nil) instead of (null) so we can possibly
3798 detect printf of a null pointer.
3800 Sun Nov 10 16:22:43 1996 Karl Berry <karl@cs.umb.edu>
3802 * xt.ac: New file so web2c and xdvi treat --with-x-toolkit uniformly.
3805 Thu Oct 31 15:38:48 1996 Karl Berry <karl@cs.umb.edu>
3807 * expand.c (kpse_path_expand): Do brace expansion first.
3808 (kpse_brace_expand): Expand each element of the brace expansion, so
3809 {~a,~b} expands. Suggested by Thomas.
3811 Fri Oct 25 16:51:14 1996 Karl Berry <karl@cs.umb.edu>
3813 * Makefile.in (install-data): Install an empty dir file if none exists.
3814 (mostlyclean: Remove PROF etc. subdirs here.
3816 Tue Oct 22 13:56:20 1996 Karl Berry <karl@cs.umb.edu>
3818 * Makefile.in ($(library).h): Make the modtime of the file the
3819 same as the latest other .h; otherwise, we think kpathsea always
3822 Sun Oct 20 18:06:36 1996 Karl Berry <karl@cs.umb.edu>
3824 * Makefile.in (distdir): No need to distribute copying.texi.
3826 Mon Oct 14 11:32:51 1996 Karl Berry <karl@cs.umb.edu>
3828 * Changes for NT from: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.
3830 * xputenv.c (putenv) [WIN32]: #include <stdlib.h> instead of declaring.
3832 * tex-file.c (kpse_open_file): Use FOPEN_RBIN_MODE for tfm and gf
3835 * xopendir.h [!WIN32]: Conditionalize whole file.
3836 * xopendir.c (xopendir) [!WIN32]: Conditionalize defn.
3838 * kpsewhich.c (DllImport) [_WIN32]: Define.
3839 (path_sep): Use ENV_SEP_STRING.
3843 * debug.h (kpathsea_debug),
3844 * concatn.h (concatn): Give DllImport kludge.
3846 * config.h (DOSISH) [WIN32]: #define.
3847 Also include <windows.h>, etc.
3849 * c-std.h (getenv, popen, pclose) [WIN32]: Conditionalize decls.
3850 * c-fopen.h [WIN32]: Use rb and wb.
3851 * c-limits.h [HAVE_SYS_PARAM_H]: Conditionalize #ifdef.
3852 * common.ac: Check for <sys/param.h>
3853 * c-stat.h [WIN32]: #include <io.h> and #define stat _stat.
3855 Sat Oct 12 11:10:45 1996 Karl Berry <karl@cs.umb.edu>
3857 * tex-file.c (kpse_find_file): Include a suffix in what we pass to
3858 kpse_fontmap_lookup.
3860 * Makefile.in (paths.h): Remove extra $ when replacing $VARFONTS.
3862 Tue Oct 8 16:40:07 1996 Karl Berry <karl@cs.umb.edu>
3864 * tex-glyph.c (try_fontmap): Do not return the first alias if it
3865 itself is an alias. Also, if a particular alias succeeds,
3868 Sun Oct 6 17:52:58 1996 Karl Berry <karl@cs.umb.edu>
3870 * version.c: Doc fix.
3872 Sat Oct 5 17:06:54 1996 Karl Berry <karl@cs.umb.edu>
3874 * kpsewhich.c (-must-exist): New option.
3875 (must_exist): New global.
3877 * Makefile.in (install-data): Call install-info.
3878 * kpathsea.texi, *.texi: Use @url, @email, and @dircategory/@direntry.
3880 Sat Sep 21 19:02:17 1996 Karl Berry <karl@cs.umb.edu>
3882 * MakeTeXnames.cnf: Doc fix.
3884 * texmf.cnf.in (latex{2e,209}_inputs): Replace spurious `latex2e'.
3885 (TEXINPUTS.fontinst): New definition, including AFM files.
3886 (MFINPUTS, TFMFONTS, PKFONTS): Use $VARFONTS.
3889 Sat Sep 7 16:00:53 1996 Karl Berry <karl@cs.umb.edu>
3897 * MakeTeXMF (version): Call kpsewhich in MakeTeXcommon, not here.
3899 * version.c: Doc fix.
3901 * kpsewhich.c (read_command_line): Improve formatting of --help
3904 Fri Sep 6 19:16:20 1996 Karl Berry <karl@cs.umb.edu>
3906 * kpsewhich.c (read_command_line): Print the bug reporting address.
3907 * version.c (kpse_bug_address): New global.
3909 Thu Sep 5 19:08:04 1996 Karl Berry <karl@cs.umb.edu>
3911 * Makefile.in: Doc fix.
3913 * configure.in: Include ../acklibtool.m4 here.
3914 * common.ac: Not here. Move calls to kb_*LIBTOOL* functions, too.
3916 Sun Sep 1 17:34:17 1996 Karl Berry <karl@cs.umb.edu>
3918 * Makefile.in (.c.lo): Put filename right after $(CC), for Klibtool.
3919 (KPATHSEA_CC): Do not include ALL_CFLAGS here.
3920 (paths.h): Instead of deleting definitions with lowercase variable
3921 names, don't include them in the first place.
3923 Sat Aug 31 16:15:33 1996 Karl Berry <karl@cs.umb.edu>
3925 * common.ac: Call kb_KLIBTOOL_REPLACE_FUNCS and kb_PROG_LIBTOOL
3926 instead of the AM_* versions.
3927 Also, include acklibtool.m4 instead of aclibtool.m4.
3929 * Makefile.in (liblobjs): Change to use @LTLIBOBJS@.
3931 Sat Aug 17 17:22:18 1996 Karl Berry <karl@cs.umb.edu>
3933 * texmf.cnf.in (PKFONTS*, GFFONTS): Need another / to match TDS.
3935 Sat Aug 10 15:46:46 1996 Karl Berry <karl@cs.umb.edu>
3937 * texmf.cnf.in (TFMFONTS, VFFONTS): Update with trailing // for TDS.
3946 * MakeTeXPK: Change --expand to -expand-var.
3948 * tex-glyph.c (try_fontmap): Return the real name of the first
3949 alias as the font name.
3950 (kpse_find_glyph): Change call, free string if necessary, etc.
3951 Basic idea from a patch sent by wls@astro.umd.edu.
3953 Fri Aug 9 15:42:40 1996 Karl Berry <karl@cs.umb.edu>
3955 * Makefile.in (paths.h): Substitute for dbtex, dbfonts, and prefix.
3956 Also, do not define lowercase variables.
3958 Thu Aug 8 14:50:29 1996 Karl Berry <karl@cs.umb.edu>
3960 * texmf.cnf.in (TEXCONFIG, INDEXSTYLE): Use //, just in case there
3961 are subdirectories. From Thomas.
3963 Tue Aug 6 13:59:03 1996 Karl Berry <karl@cs.umb.edu>
3965 * kpsewhich.c (lookup): Handle user_path case.
3967 Mon Aug 5 17:23:56 1996 Karl Berry <karl@cs.umb.edu>
3969 * kpsewhich.c: Rename -expand to -expand-var,
3970 -path to -expand-path, and add new -path option to specify
3971 explicit path for lookups.
3973 * tex-file.h (kpse_ist_format): New format.
3974 * tex-file.c (kpse_init_format): Initialize it.
3975 (IST_ENVS): New #define.
3976 * texmf.cnf.in (INDEXSTYLE): Set the default path.
3978 * tilde.c (kpse_tilde_expand): If $HOME starts with //, only use
3981 Sat Aug 3 17:18:00 1996 Karl Berry <karl@cs.umb.edu>
3983 * kpsewhich.c (read_command_line): Change Usage: line to conform.
3985 Fri Aug 2 11:57:23 1996 Karl Berry <karl@cs.umb.edu>
3987 * db.c (db_build): Test len > 0 before evaluating len - 1.
3988 From: "Peter Henderson, Syrinx Speech Systems P/L, Tel: (+61-2)
3989 956-6540" <peterh@syrinx.com.au>.
3991 Sat Jul 27 14:35:17 1996 Karl Berry <karl@cs.umb.edu>
3993 * Makefile.in (paths.h): Change target name to
3994 $(kpathsea_dir)/paths.h, for rdepend.make dependency.
3996 * Makefile.in (liblobjs): New variable, gets @LIBTOOL_LIBOBJS@.
3997 * common.ac (kbAC_LIBTOOL_REPLACE_FUNCS): Use this new macro instead
3998 of AC_REPLACE_FUNCS.
4000 Fri Jul 26 15:51:55 1996 Karl Berry <karl@cs.umb.edu>
4002 * Makefile.in (KPATHSEA_CC): Include $(compile).
4003 (.c.lo): Change suffix rule for libtool 0.5.
4004 (install-exec): Use new variables INSTALL_LIBTOOL_*.
4006 Mon Jul 8 17:21:34 1996 Karl Berry <karl@laurie>
4008 * unixtex.texi: Rename from obtain.texi.
4010 Fri Jun 7 19:10:52 1996 K. Berry <kb@cs.umb.edu>
4012 * common.ac: Include ../kpathsea/withenable.ac.
4014 Thu Jun 6 16:34:43 1996 K. Berry <kb@cs.umb.edu>
4016 * Makefile.in (kpsewhich): Use libtool commands etc. instead of
4017 our shared lib stuff.
4018 * common.ac: Replace our shared lib stuff with gm_PROG_LIBTOOL.
4019 * withenable.ac: Remove --enable-shared stuff.
4021 Sat Jun 1 15:05:42 1996 Karl Berry <karl@cs.umb.edu>
4023 * MakeTeX*: Add RCS info for version strings.
4025 Thu May 30 13:46:46 1996 Karl Berry <karl@cs.umb.edu>
4027 * MakeTeXPK: Doc fix; we're called with the base font name
4028 (pplr8r), not the user font name (pplr).
4030 * db.c (ignore_dir_p): Remove the dot_pos != dirname test,
4031 since it's always true. It caused directory names containing .'s
4032 (e.g., `dc-1.2') to be ignored.
4033 From Thomas Esser and Frank Mittelbach.
4035 Sun May 26 16:06:41 1996 Karl Berry <karl@cs.umb.edu>
4037 * tex-make.c (kpse_make_tex): If called kpse_init_form, reassign
4038 our local variable, too.
4040 Thu May 23 16:20:53 1996 Karl Berry <karl@cs.umb.edu>
4042 * MakeTeXnames: Doc fix.
4044 Fri May 3 13:34:51 1996 Karl Berry <karl@cs.umb.edu>
4046 * withenable.ac: Use AC_ARG_WITH instead of AC_ARG_ENABLE for
4049 * tex-file.c (kpse_find_file): Oops, testing for kpse_pk_format
4050 twice, when meant to test for kpse_gf_format.
4052 * cnf.c (do_line): Allow whitespace in variable values.
4054 * texmf.cnf.in: Finish adding easier support for !!. From Joachim.
4056 Wed May 1 16:30:56 1996 Karl Berry <karl@cs.umb.edu>
4058 * texmf.cnf.in (TEXCONFIG): Take $HOME back out again, we're going
4059 to hardwire a seach for dvipsrc in $HOME.
4061 Mon Apr 29 14:02:03 1996 Karl Berry <karl@cs.umb.edu>
4063 * texmf.cnf.in (latex2e_inputs): Use just `latex', not `latex2e'.
4064 From: David Carlisle <carlisle@cs.man.ac.uk>.
4065 (TEXINPUTS, etc.): Also rewrite to make !! support easier to add.
4066 From: Joachim Schrod <schrod@iti.informatik.th-darmstadt.de>.
4068 * install.texi: Document ksh/ash/Ultrix sh lossage, in favor of
4071 Sun Apr 28 15:02:55 1996 Karl Berry <karl@cs.umb.edu>
4073 * acconfig.h (ASM_NEEDS_UNDERSCORE): New define.
4074 From: Peter Breitenlohner <peb@MPPMU.MPG.DE>.
4076 * Makefile.in (sharedlib_version): Remove unused variable.
4078 Sat Apr 27 17:15:14 1996 Karl Berry <karl@cs.umb.edu>
4080 * texmf.cnf.in (hyph_size): Add this.
4082 Tue Apr 23 07:34:05 1996 Karl Berry <karl@cs.umb.edu>
4084 * texmf.cnf.in (MIMELIBDIR, MAILCAPDIR): Add these.
4085 (MPXCOMMAND): And these.
4087 * MakeTeX.site: New file, just an example.
4089 Mon Apr 22 17:31:27 1996 Karl Berry <karl@cs.umb.edu>
4091 * MakeTeXnames.conf: Rename to MakeTeXnames.cnf.
4092 * MakeTeXnames: Change call.
4093 * Makefile.in (install-exec): Change install.
4095 Sun Apr 21 12:09:06 1996 Karl Berry <karl@cs.umb.edu>
4097 * tex-file.h (kpse_set_program_enabled, kpse_maketex_option):
4098 Declare new functions.
4099 (kpse_src_type): Define new type.
4100 * tex-file.c (kpse_set_program_enabled): New function, so we can
4101 set this at all the various levels and get the overrides right.
4102 (kpse_maketex_option): Handle MakeTeX options in a common place.
4103 * proginit.c (kpse_init_prog): Call it, and remove the make_tex_pk
4105 * proginit.h (kpse_init_prog): Likewise.
4106 * kpsewhich.c (parse_options): New options -maketex and -nomaketex,
4107 just calls kpse_maketex_option.
4109 * Makefile.in ($(library).h): New target, made at dist time.
4111 Sat Apr 20 17:21:24 1996 Karl Berry <karl@cs.umb.edu>
4113 * tex-file.c (kpse_find_file): Do not pound the disk on the first
4114 search if we might be trying the second.
4116 Tue Mar 12 15:21:16 1996 Karl Berry <karl@cs.umb.edu>
4118 * MakeTeXPK: Restore check for mismatched mode and bdpi. From Thomas.
4120 Sun Mar 10 14:17:14 1996 Karl Berry <karl@cs.umb.edu>
4122 * MakeTeXnames.conf: Rename VARFONTS to VARTEXFONTS.
4124 * MakeTeXcommon (trap): Oops, cd $KPSE_DOT before testing $STDOUT.
4126 Sat Mar 9 17:57:02 1996 Karl Berry <karl@cs.umb.edu>
4128 * MakeTeXcommon (trap): cd back to KPSE_DOT before removing
4129 TEMPDIR, in case $TMPDIR is relative. Reported by Thomas.
4131 Fri Mar 8 11:41:22 1996 Karl Berry <karl@cs.umb.edu>
4133 * db.c (kpse_db_search): Add debug statement with the result of
4136 * tex-make.c (kpse_make_tex): Don't look for the arg spec here.
4137 * tex-file.c (init_maketex): Do it here. Check for disbaling in
4138 the config file, too.
4140 * tex-make.c (misstex): Look for TEXMFOUTPUT in texmf.cnf.
4141 * texmf.cnf.in (TEXMFOUTPUT): Define this.
4143 * kpathsea.texi (Suppressing warnings): New node to describe TEX_HUSH.
4145 * tex-file.c (kpse_init_format): Include the numeric value of the
4146 format for use with kpsewhich --format.
4148 * tex-hush.c: Support `all' to suppress everything.
4150 Thu Mar 7 11:24:51 1996 Karl Berry <karl@cs.umb.edu>
4152 * kpsewhich.c: Change --program to --progname, for compatibility
4155 * texmf.cnf.in (TEXCONFIG): Remove ~ from default path, for
4156 consistency with everything else.
4158 * readable.c: Let's call it TEX_HUSH instead of KPSE_NOWARN_PERM,
4159 so we can use it for checksum warnings, too. And for similarity
4161 * kpathsea.texi: Corresponding change.
4162 * tex-hush.[ch]: New files.
4164 Wed Feb 28 15:16:32 1996 Karl Berry <karl@cs.umb.edu>
4166 * tex-make.c (misstex): Let the name missfont.log be configurable.
4167 * texmf.cnf.in (MISSFONT_LOG): Add this definition.
4168 * kpathsea.texi: Document this.
4170 Sun Feb 25 16:55:35 1996 Karl Berry <karl@cs.umb.edu>
4172 * tex-file.c: Reverse order of alias & suffix searches, so we look
4173 for the original TFM name before aliases.
4175 Sun Feb 18 16:24:50 1996 Karl Berry <karl@cs.umb.edu>
4177 * tex-file.c (xopenfile): Move this function to here and rename to
4179 * xopenfile.c: Remove this.
4180 * Makefile.in (objects): Remove xopenfile.o.
4182 Thu Feb 15 12:57:56 1996 Karl Berry <karl@cs.umb.edu>
4184 * tex-make.c (maketex): Do not print the `kpathsea: Running ...'
4185 message if we're discarding output.
4186 (misstex): Do not log the missing file in missfont.log, either.
4188 Sat Feb 10 14:59:23 1996 Karl Berry <karl@cs.umb.edu>
4190 * Makefile.in (sharedlib): Add new command here $(shared_postlink)
4191 so we can make the necessary symlink.
4192 (shared_postlink): New variable
4194 Fri Feb 9 15:46:55 1996 Karl Berry <karl@cs.umb.edu>
4196 * withenable.ac (maketex{mf,pk,tfm}-default): Move here from
4197 web2c/withenable.ac.
4199 Wed Feb 7 16:52:08 1996 Karl Berry <karl@cs.umb.edu>
4201 * MakeTeXnames.conf: Extract this new script from MakeTeXcommon, sigh.
4202 * MakeTeX*: Other updates from Thomas --
4203 - replace the exec 3>&1 1>&2 by trap/subshell construction. The
4204 3>&1 may cause the 'open fd bug' with bash.
4205 - ts is a typo. tc are the text companion fonts
4206 - replace >&3 by >$STDOUT where $STDOUT is a filename. Its content is
4207 displayed by the trap command in MTcommon.
4208 - added missing ;; in case/esac
4209 - use : ${VAR=VAL} where possible
4211 - removed psfonts.map parsing (was only needed for ps2pk)
4212 - removed >&2 where redirection stdout->stderr is active anyway
4213 - removed </dev/null where redirection stdin<-/dev/null is active
4215 - Oops: MakeTeXTFM still used old code: >$TEMPDIR/mtout.$$
4217 trap 'test -f $STDOUT && cat $STDOUT; cd /; rm -rf $TEMPDIR; exit 0' 0 1 2 15
4219 - MT_FEATURES now in MakeTeXnames.conf since we need to read it
4220 later than MakeTeXcommon
4222 Tue Feb 6 17:04:25 1996 Karl Berry <karl@cs.umb.edu>
4224 * tex-file.h (kpse_file_format_type): Add afm and type1 support.
4225 * tex-file.c: Likewise.
4226 (kpse_init_format): In tex_ps_header_format, no longer need to
4227 recognize .pfa and .pfb.
4228 * texmf.cnf.in (AFMFONTS, T1FONTS): Likewise.
4229 * Makefile.in (paths.h): Include 0-9 in the regexp for the sake of
4232 Sat Feb 3 15:45:00 1996 Karl Berry <karl@cs.umb.edu>
4234 * Makefile.in (DEFS): Move to common.make.
4236 Mon Jan 29 17:01:44 1996 Karl Berry <karl@cs.umb.edu>
4238 * MakeTeXls-R: Doc fix.
4240 Mon Jan 8 17:17:42 1996 Karl Berry <karl@cs.umb.edu>
4242 * tex-file.c: Doc fix.
4244 * fontmap.c (MAP_NAME, MAP_HASH_SIZE): Conditionalize these #defines.
4246 Sun Jan 7 17:38:00 1996 Karl Berry <karl@cs.umb.edu>
4248 * db.c (DB_HASH_SIZE, DB_NAME): Conditionalize these.
4250 * MakeTeXcommon (dcfontdir, tsfontdir): Use supplier `jknappen'.
4252 Mon Jan 1 15:14:42 1996 Karl Berry <karl@cs.umb.edu>
4254 * Makefile.in (distdir): Don't bother including freedom.texi.
4256 Fri Dec 29 17:17:08 1995 Karl Berry <karl@cs.umb.edu>
4258 * Makefile.in: misc.make is now clean.make.
4260 Tue Dec 26 14:21:08 1995 Karl Berry <karl@cs.umb.edu>
4262 * withenable.ac: New file with --enable option extracted from
4263 common.ac, for the top level to include.
4265 * acconfig.h (MAKE_TEX_PK_BY_DEFAULT): Add this.
4267 * readable.c (kpse_readable_file): Omit warning if
4268 KPSE_NOREAD_WARN is set to 1.
4270 Wed Dec 13 14:14:09 1995 Karl Berry <karl@cs.umb.edu>
4272 * kpsewhich.c: Call kpse_init_format when necessary in the
4275 Mon Dec 11 14:42:13 1995 Karl Berry <karl@cs.umb.edu>
4277 * common.ac: --disable-shared should not act like --enable-shared.
4280 Sun Dec 10 15:35:15 1995 Karl Berry <karl@cs.umb.edu>
4282 * tex-file.h (kpse_mft_format): New format.
4283 * tex-file.c (MFT_ENVS): New variable.
4284 (kpse_init_format): Initialize it.
4285 * texmf.cnf.in (MFTINPUTS): New variable.
4287 Fri Dec 8 08:54:58 1995 Karl Berry <karl@cs.umb.edu>
4289 * xopenfile.c: Doc fix.
4291 Mon Dec 4 17:23:34 1995 Karl Berry <karl@cs.umb.edu>
4293 * Makefile.in (check): Extra $ missing.
4295 Sun Dec 3 13:42:54 1995 Karl Berry <karl@cs.umb.edu>
4297 * tex-file.c (TEX_SUFFIXES): Add .dtx.
4299 Sun Nov 19 16:19:37 1995 Karl Berry <karl@cs.umb.edu>
4301 * MakeTeX*: Use MakeTeXupdate, mkdir, etc. in $TEXMFCNF_DIR, not
4302 along PATH. From John I.
4304 Sat Nov 18 17:03:46 1995 Karl Berry <karl@cs.umb.edu>
4306 * tex-file.c (TEX_SUFFIXES): Add .txi.
4308 Fri Nov 17 15:12:03 1995 Karl Berry <karl@cs.umb.edu>
4310 * common.ac (kb_AC_SYS_SHAREDLIB): Add the kb_ prefix.
4312 * Makefile.in ({un,}install-exec): Use sharedlibname and
4313 staticlibname instead of `basename`.
4314 Also, pass no arguments to $(shared_postinstall); let the Autoconf
4315 macro set this completely.
4317 * expand.c: Bash code remains under the GPL, per rms.
4319 Thu Nov 16 16:14:14 1995 Karl Berry <karl@cs.umb.edu>
4321 * Makefile.in (uninstall-exec): Needs same `basename` treatment as
4322 install-exec. From Ulrik.
4324 * config.h [AMIGA] (pclose): Must be #defined as 0, not just
4325 empty. From Andreas Scherer.
4327 Tue Nov 14 14:04:57 1995 Karl Berry <karl@cs.umb.edu>
4329 * tex-file.h (kpse_fallback_resolutions_string): New global.
4330 * tex-file.c: Define it.
4331 (kpse_init_fallback_resolutions): Use it instead of
4332 DEFAULT_FONT_SIZES, if set.
4334 Mon Nov 13 10:43:11 1995 Kathy Hargreaves <karl@cs.umb.edu>
4336 * find-suffix.c: Remove spurious + 1.
4338 Sun Nov 12 13:42:51 1995 Karl Berry <karl@cs.umb.edu>
4340 * tex-file.c: Improve warning message if last resort sizes are not
4341 sorted. Suggested by Kathy.
4343 * texmf.cnf.in (trie_size, main_memory): Doc improvements from Wayne.
4345 Sat Nov 11 16:58:37 1995 Karl Berry <karl@cs.umb.edu>
4347 * MakeTeXnames: Correct too many left quotes.
4349 * tex-make.c (kpse_make_tex): Initialize the format if necessary.
4351 Mon Oct 30 16:49:05 1995 Karl Berry <karl@cs.umb.edu>
4353 * MakeTeXPK (GFNAME): Do not assume $cmd produced $GFNAME. From Tim.
4355 * texmf.cnf.in (trie_size): Increase to 32000 so common language
4356 combinations will require no change. Suggested by Ulrik.
4358 * MakeTeXls-R: Missing s in sed cmd.
4359 * MakeTeXTFM (TFM_NAME): Should be TFMNAME.
4360 * MakeTeXnames (FONTNAME): Missing `.
4361 * MakeTeXcommon: If the caller requires no args (i.e.,
4362 MakeTeXls-R), don't complain if given no.
4363 Missing } in varfonts case.
4366 Sun Oct 22 17:02:25 1995 Karl Berry <karl@cs.umb.edu>
4368 * c-std.h (hypot): Remove this declaration. It was only needed for
4369 fontutils, and it conflicts under Linux 1.2.10. From Tim Murphy.
4371 Sat Oct 14 10:55:26 1995 Karl Berry <karl@cs.umb.edu>
4373 * acconfig.h (EDITOR): Missing %. From Tim Murphy.
4375 Sat Oct 7 17:44:41 1995 Karl Berry <karl@cs.umb.edu>
4377 * Makefile.in (install-exec): Use basename to get the real name so
4378 we don't install in $(libdir)/../kpathsea/etc.
4381 Sat Sep 30 12:16:05 1995 Karl Berry <karl@cs.umb.edu>
4383 * MakeTeXls-R (db_file_tmp): Replace double slashes with single,
4384 for the sake of NetBSD/FreeBSD. From Thomas.
4386 Fri Sep 29 11:29:08 1995 Karl Berry <karl@cs.umb.edu>
4388 * Makefile.in (tex-file.o): CPPFLAGS is now ALL_CPPFLAGS.
4390 Mon Sep 25 15:05:32 1995 Karl Berry <karl@cs.umb.edu>
4392 * lib.h (FATAL_PERROR): Avoid using the formal parameter `s' since
4393 cc gets confused with %s.
4395 * MakeTeXls-R: Include subtleties from Thomas.
4396 * MakeTeXcommon: Rename stickydir to appendonlydir.
4398 Sun Sep 24 13:15:51 1995 Karl Berry <karl@cs.umb.edu>
4400 * cnf.c (kpse_cnf_get): Call kpse_init_db here.
4401 * pathsearch.c (search): Instead of here.
4403 * tex-file.c (init_format): The override path may be null, so use
4406 * MakeTeXPK: Don't use unset, as Ultrix sh doesn't support it.
4408 Sat Sep 23 15:07:12 1995 Karl Berry <karl@cs.umb.edu>
4410 * common.ac (basename strstr putenv): Use AC_REPLACE_FUNCS instead
4411 of AC_CHECK_FUNCS. Add strtol and strcasecmp from web2c/lib and xdvik.
4412 * Makefile.in (objects): Use @LIBOBJS@ instead of corresponding .o's.
4414 Fri Sep 22 13:34:51 1995 Karl Berry <karl@cs.umb.edu>
4416 * acconfig.h (MAKE_TEX_*): #define as 0/1, instead of #undef,
4417 since we now pass this as a default argument to init_maketex.
4419 * tex-file.c (init_path): Look for environment variables PATH.prog
4420 and PATH_prog before PATH.
4422 Thu Sep 21 13:53:38 1995 Karl Berry <karl@cs.umb.edu>
4424 * kpsewhich.c (USAGE): Avoid bare newline.
4426 * xfseek.c, xftell.c: Add unprototypification.
4428 * common.ac (library_cflags): AC_SUBST for this depending on
4430 * Makefile.in (shared_cflags, sharedlib_cflags): Rewrite
4431 accordingly, so the shared flags aren't always used.
4433 Wed Sep 20 17:06:53 1995 Karl Berry <karl@cs.umb.edu>
4435 * tex-file.c: Add .ltx, .texi, and .texinfo as alternate suffices
4436 for kpse_tex_format.
4438 Tue Sep 19 17:12:10 1995 Karl Berry <karl@cs.umb.edu>
4440 * texmf.cnf.in: Changes for TDS.
4442 * MakeTeX*: New scripts from Thomas.
4444 Sat Sep 16 17:30:46 1995 Karl Berry <karl@cs.umb.edu>
4446 * tex-file.c: Do not print extra `kdebug:'s when printing the
4449 * expand.c: Incorporate brace expansion code from bash.
4450 * texmf.cnf.in (PKFONTS.xdvi): Use it here, and document the
4451 possibility for $TEXMF.
4453 Thu Sep 14 12:59:17 1995 Karl Berry <karl@cs.umb.edu>
4455 * tex-file.c (kpse_init_format): For any_glyph_format, do not
4456 initialize a suffix.
4458 * kpsewhich.c (main): Initialize all the formats.
4459 (find_format): psfonts.map => dvips_config_format.
4461 Tue Sep 12 16:19:44 1995 Karl Berry <karl@cs.umb.edu>
4463 * MakeTeX{MF,TFM}: New scripts from te.
4464 * Makefile.in (install-exec, distdir): Install and dist them.
4466 Sun Sep 10 15:11:07 1995 Karl Berry <karl@cs.umb.edu>
4468 * pathsearch.c (search): Doc fix.
4470 * tex-file.h (kpse_format_info_type): Add alt_suffix member.
4471 * tex-file.c (init_format): Set it for PS headers and picts, and
4472 print it if it exists.
4473 * kpsewhich.c: Use the new alt suffixes and also the regular
4474 suffixes to allow for -format names as well as numbers, and for
4475 file format guessing.
4477 Sat Sep 9 14:27:48 1995 Karl Berry <karl@cs.umb.edu>
4479 * MakeTeXPK: If the MODE and BDPI don't match, ignore the mode.
4480 Suggested by Thomas.
4482 * tex-file.[ch] (kpse_font_override_path): Remove this.
4483 (kpse_format_info_type): Replace the `override_p' member with a
4484 general `override_path'.
4485 * proginit.c: Set the override path for both fonts and headers.
4487 * acconfig.h (NOTOOL): Add this.
4489 Fri Sep 8 14:52:42 1995 Karl Berry <karl@cs.umb.edu>
4491 * acconfig.h (HYPERXDVI): Don't need this after all, Autoconf's
4492 default actions are better.
4494 Thu Sep 7 15:11:17 1995 Karl Berry <karl@cs.umb.edu>
4496 * acconfig.h (HYPERXDVI): Define this.
4498 Mon Sep 4 17:14:25 1995 Karl Berry <karl@cs.umb.edu>
4500 * debug.h (KPSE_LAST_DEBUG): Define this, for use with gsftopk.
4502 * Makefile.in (objects): Add xopenfile.o.
4503 * xopenfile.c: New file.
4504 * lib.h (xopenfile): Declare it.
4506 Sat Sep 2 13:49:53 1995 Karl Berry <karl@cs.umb.edu>
4508 * tex-file.h (kpse_file_format): Rename kpse_ps_header_format to
4509 tex_ps_header_format.
4510 * tex-file.c (TEX_PS_HEADER_ENVS): Rename likewise, etc.
4511 * kpsewhich.c (suffixes): Likewise.
4512 * texmf.cnf: Likewise.
4514 * tex-file.c: Never set must_exist on the first search. Is this
4517 Fri Sep 1 13:24:49 1995 Karl Berry <karl@cs.umb.edu>
4519 * tex-make.c (maketex): Give perror if the popen fails.
4521 * db.c (db_dir_list): Keep track of the directories we found db's in.
4522 (kpse_db_search): If no db directories are relevant to this path
4525 * pathsearch.c (path_search): Doc fix.
4527 * Makefile.in (shared_ext, etc.): Move to common.make.
4529 Thu Aug 31 14:40:32 1995 Karl Berry <karl@cs.umb.edu>
4531 * kpsewhich.c: Install suffix rewrite from Yves.
4533 * common.ac: Move AC_SYS_SHAREDLIB etc. here.
4535 * acconfig.h (ASM_SCALED_FRACTION): Add this.
4537 Wed Aug 30 17:02:58 1995 Karl Berry <karl@cs.umb.edu>
4539 * tex-file.c (kpse_find_file): Call kpse_make_tex.
4540 * tex-make.c (kpse_make_tex): Only call set_maketex_mag if we are
4541 doing MakeTeX-PK or GF-ing.
4544 Tue Aug 29 13:58:59 1995 Karl Berry <karl@cs.umb.edu>
4546 * Makefile.in (texmf.sed): Depend on paths.make. Should we avoid
4547 creating a new file unless it changes, a la c-auto.h?
4549 * configure.in: Check for --enable-shared.
4551 Mon Aug 28 17:50:06 1995 Karl Berry <karl@cs.umb.edu>
4553 * Makefile.in: Add sharedlib variables.
4555 Sun Aug 27 13:27:01 1995 Karl Berry <karl@cs.umb.edu>
4557 * hash.c (hash_print): New option summary_only, and always print
4558 the summary. Also, output to stderr, not stdout.
4559 * hash.h: Change decl.
4561 * db.c (kpse_init_db): Oops, have to make it external, so rename
4564 * pathsearch.c (search): Call it.
4566 * cnf.c (read_all_cnf): Rename from read_files.
4567 * db.c (read_all_lsR): Rename from read_all_dbs.
4568 * fontmap.c (read_all_maps): Rename from map_create.
4570 * tex-file.h (kpse_db_format): Another new type.
4571 * tex-file.c (kpse_init_path): Case for it.
4572 (DB_ENVS): Envvar list.
4573 * texmf.cnf.in (TEXMFDBS): Default path.
4574 * kpsewhich.c (suffix): Add new element.
4576 Sat Aug 26 14:49:28 1995 Karl Berry <karl@cs.umb.edu>
4578 * cnf.c (CNF_NAME): #define this.
4579 * tex-file.c (kpse_init_path): Instead of setting the .program
4580 element to texmf.cnf here.
4582 * db.c (db_insert): Rename to kpse_db_insert.
4583 * db.h: Change decl.
4584 * tex-make.c (maketex): Change call.
4586 * cnf.c, cnf.h, db.c, db.h, pathsearch.c: Remove references to
4588 * pathsearch.c (first_search): New static.
4589 (path_search): Do not do ls-R search if first_search.
4590 (search): Do not log if first_search.
4592 * pathsearch.c (path_search): Don't bother calling elt_in_db --
4593 the match function in db.c will catch the irrelevant hits.
4596 Fri Aug 25 14:01:24 1995 Karl Berry <karl@cs.umb.edu>
4598 * cnf.c (kpse_cnf_get): Look for NAME.PROGRAM before NAME.
4599 (do_line): Save NAME.PROGRAM separately from NAME.
4600 * texmf.cnf.in: Put the usual definitions of TEXINPUTS and PKFONTS
4601 first now, before the .prog variants.
4603 * fontmap.c: Use ISSPACE instead of just checking for space and tab.
4605 Thu Aug 24 13:46:19 1995 Karl Berry <karl@cs.umb.edu>
4607 * lib.h (strstr) [!HAVE_STRSTR]: Declare this.
4608 * Makefile.in (objects): Add strstr.o.
4609 * common.ac (AC_CHECK_FUNCS): Remove memmove; we seem to never use
4610 this. And add strstr.
4612 * fontmap.c (map_file_parse): Comments at the last % or @c, not at
4613 the first %. Also, implement the include feature.
4614 And thus, don't give up if the map file can't be opened.
4615 (token): New routine, since we can no longer use strtok.
4617 * tex-file.h (kpse_file_format_type): New format kpse_fontmap_format.
4618 * tex-file.c (kpse_init_format): Initialize it.
4619 (FONTMAP_ENVS): Define it.
4620 * texmf.cnf.in (TEXFONTMAPS): Define the default.
4621 * kpsewhich.c (suffix): Add .map.
4623 Tue Aug 22 13:28:46 1995 Karl Berry <karl@cs.umb.edu>
4625 * MakeTeXPK.in: No >&/dev/null, source.map is now supplier.map.
4627 * tex-file.c: Doc fix.
4629 Mon Aug 21 15:52:42 1995 Karl Berry <karl@cs.umb.edu>
4631 * c-memstr.h (SYSV): OK, omit this definition in the never-ending
4632 battle to appease the X headers.
4633 From: neal@ctd.comsat.com (Neal Becker).
4635 Sun Aug 20 12:58:28 1995 Karl Berry <karl@cs.umb.edu>
4637 * cnf.c (read_files): Concatenate consecutive lines that end in \.
4639 * types.h (boolean) [__cplusplus]: Don't define true and false for C++.
4640 From: Johannes Sixt <Johannes.Sixt@risc.uni-linz.ac.at>.
4642 * db.c (db_build): Call absolute_p to determine if the possible
4643 directory really is one.
4644 Also, allow relative names in the ls-R file.
4646 * kpsewhich.c: New options -path, -separator.
4647 From: David Aspinall <da@dcs.ed.ac.uk>.
4649 * MakeTeXPK.in: Unset DISPLAY and MFTERM.
4650 From: Yves Arrouye <Yves.Arrouye@imag.fr>.
4652 * db.c (ignored_dir_p): New function to ignore . directories.
4653 (db_build): Call it, and do the ignoring. Report on how many
4654 directories were ignored.
4656 * Makefile.in (MakeTeXPK): Remove dcfontdir substitution.
4657 * MakeTeXPK.in: Play redirection games so regular echo's will work.
4658 (dcfontdir): Remove this; it's unused.
4659 From: te@informatik.uni-hannover.de (Thomas Esser).
4661 * pathsearch.c (path_search): Free more garbage.
4662 From: John Eaton <jwe@che.utexas.edu>.
4664 Sat Aug 19 12:57:54 1995 Karl Berry <karl@cs.umb.edu>
4666 * kpsewhich.c (USAGE): Document -format and -program.
4668 * tex-make.c (maketex): Give warning if MTPK output a string that
4669 wasn't a filename. From Pierre.
4671 * kpsewhich.c (read_command_line): Execute -expand right
4673 * tilde.c (kpse_tilde_expand): If HOME is /, don't start path with //.
4674 From: Andreas Schott <andreas@mpa-garching.mpg.de>.
4676 * db.c (match): Make /// (or more) like //.
4677 * elt-dirs.c (do_subdir): Likewise. Also, skip over as many
4678 slashes as we found.
4680 * variable.c (expanding_p, expanding, expansions, expansion_type):
4681 New functions, variables, type.
4682 (expand): Check for recursively expanded variables.
4683 Reported by Nicolai Langfeldt <janl@math.uio.no>.
4685 * cnf.c (kpse_cnf_get): Free temporary list after extracting the
4686 first element (the one we return).
4688 Fri Aug 18 17:39:29 1995 Karl Berry <karl@cs.umb.edu>
4690 * MakeTeXPK.in (1270): The guess here should be linohi, not linolo.
4693 * kpsewhich.c (suffix): Update for new MetaPost stuff.
4694 * tex-file.h: Doc fix.
4696 Mon Aug 14 17:49:05 1995 Karl Berry <karl@cs.umb.edu>
4698 * debug.h: Define KPSE_DEBUG, not DEBUG.
4699 * hash.c, hash.h, tex-file.c, elt-dirs.c, dir.c, db.c: Change
4700 #ifdef's accordingly. From John I.
4702 Sun Aug 13 16:03:51 1995 Karl Berry <karl@cs.umb.edu>
4704 * tex-file.h (kpse_file_format_type): Rename kpse_dvips_headers to
4705 just kpse_ps_headers. xdvik uses this too, now.
4706 * tex-file.c (kpse_init_format, KPSE_DVIPS_HEADER_ENVS): Likewise.
4707 Also, look for the PSHEADERS envvar, not DVIPSHEADERS.
4708 * texmf.cnf.in: Likewise.
4710 Thu Aug 10 19:31:14 1995 Karl Berry <karl@cs.umb.edu>
4712 * tex-file.c (kpse_init_fallback_resolutions): Complain if sizes
4713 aren't sorted, and ignore offending sizes.
4714 From: Manuel Fahndrich <manuel@CS.Berkeley.EDU>.
4716 Tue Aug 1 13:53:53 1995 Karl Berry <karl@cs.umb.edu>
4718 * variable.[ch] (kpse_var_value): Use const_string.
4720 * texmf.cnf.in (string_vacancies): Decrease to 25000. From Bernd.
4721 (font_max): Add this. From Wayne.
4723 Mon Jul 31 15:47:01 1995 Karl Berry <karl@cs.umb.edu>
4725 * db.h (KPSE_DB_DIR): Remove $.
4726 * cnf.c (read_files): Call kpse_var_value instead of kpse_var_expand.
4728 * tex-file.[ch]: Add mpsupport and troff_font formats.
4729 * texmf.cnf.in: Likewise.
4731 Sat Jul 29 09:21:44 1995 Karl Berry <karl@cs.umb.edu>
4733 * variable.h (kpse_var_value): Declare this.
4734 * variable.c (kpse_var_value): New routine.
4736 * tex-file.c: Check TEXMFINI for pool/fmt/base/mem lookups
4738 Tue Jul 25 11:22:25 1995 Karl Berry <karl@cs.umb.edu>
4740 * concatn.c (concatn): Free the intermediate result, not the final
4743 * texmf.cnf.in (TEXMFLOG): Don't mention this, as we need to log
4744 the finding of the .cnf file itself, thus it must be an
4745 environment variable.
4747 Sat Jul 22 17:09:58 1995 Karl Berry <karl@cs.umb.edu>
4749 * tex-file.c (KPSE_{MEM,MP,MPPOOL}_ENVS): Define envvars.
4750 * tex-file.h (kpse_file_format_type): Add kpse_{mem,mp,mppool}_formats.
4751 * texmf.cnf.in (MPPOOL, MPMEMS, MPINPUTS): New variables.
4752 Adapted from: vieth@xerxes.thphy.uni-duesseldorf.de (Ulrik Vieth).
4754 Fri Jul 21 15:26:42 1995 Karl Berry <karl@cs.umb.edu>
4756 * *.c, *.h: The FSF has a new address.
4758 * kpsewhich.c: Give error if no args.
4760 Wed Jul 19 17:34:26 1995 Karl Berry <karl@cs.umb.edu>
4762 * texmf.cnf.in: Document limits on error_line et al.
4764 Mon Jul 17 13:09:05 1995 Karl Berry <karl@cs.umb.edu>
4766 * acconfig.h (NO_FMTBASE_SHARE): Rename to NO_DUMP_SHARE.
4768 Sun Jul 16 14:17:16 1995 Karl Berry <karl@cs.umb.edu>
4770 * acconfig.h (IPC, FUNNY_CORE_DUMP, NO_FMTBASE_SHARE): Include these.
4772 Sat Jul 15 12:45:51 1995 Karl Berry <karl@cs.umb.edu>
4774 * acconfig.h (HAVE_ITOA): Remove extraneous #define.
4776 * texmf.cnf.in (hash_extra): New TeX array variable, 0 by default.
4778 * tex-file.c (KPSE_BIB_ENVS): Include TEXBIB.
4780 Thu Jul 13 15:04:52 1995 Karl Berry <karl@cs.umb.edu>
4782 * texmf.cnf.in (TEXPOOL, MFPOOL): Include . after all, now that we
4783 use TEXPOOL to search for tcx files.
4785 Sun Jul 9 15:30:59 1995 Karl Berry <karl@cs.umb.edu>
4787 * tex-file.c (kpse_find_file): Don't go through the
4788 mapped_name_list if it's null.
4790 Wed Jun 21 19:47:33 1995 Karl Berry <karl@cs.umb.edu>
4792 * lib.h (FATAL5): Define this.
4794 Sat Jun 10 15:52:41 1995 Karl Berry <karl@cs.umb.edu>
4796 * tex-file.c (kpse_find_file): Use texfonts.map aliases for TFM
4798 * tex-file.h: Doc fix.
4799 * fontmap.c (kpse_fontmap_lookup): New name. Fault in the map
4800 table as needed, instead of initializing. Make map_create static.
4801 * fontname.h: New name; remove map_create.
4802 * tex-glyph.c (try_fontmap): Just call kpse_fontmap_lookup, no
4805 * fontmap.c (map_lookup): Don't let return value fall off the end
4806 in the suffix-appending case.
4807 From: "Heading, Anthony" <heading_anthony@jpmorgan.com>.
4809 Fri Jun 9 19:11:34 1995 Karl Berry <karl@cs.umb.edu>
4811 * tilde.c: Only assume PWD_H for looking up ~user, not for ~ or ~/.
4812 * make-suffix.c: Use IS_DIR_SEP instead of assuming /.
4813 * concatn.c: Free the in-between concatenations to avoid garbage.
4814 * absolute.c [OS2]: Use same conventions as for DOS.
4815 * c-std.h, c-pathch.h, c-fopen.h: Likewise.
4816 From: rs@purple.in-ulm.de (Ralph Schleicher).
4818 Tue Jun 6 13:11:46 1995 Karl Berry <karl@cs.umb.edu>
4820 * lib.h (itoa) [!HAVE_ITOA]: Define conditionally.
4822 * acconfig.h (HAVE_ITOA): Add this.
4824 * c-pathch.h, c-fopen.h [DOS]: Changes from web2pc from Wayne.
4826 * xputenv.c: Doc fix.
4828 * truncate.c (kpse_truncate_filename): Check for a device separator.
4830 * elt-dirs.c (main): Tests for Amiga.
4832 Mon Jun 5 13:12:10 1995 Karl Berry <karl@cs.umb.edu>
4834 * absolute.c: Add Amiga support. From Andreas Scherer.
4835 * c-pathch.h: Ditto.
4836 * elt-dirs.c (dir_list_add): Ditto. Check for device separators, too.
4838 Sun Jun 4 11:29:18 1995 Karl Berry <karl@cs.umb.edu>
4840 * c-proto.h (AA): New macro to throw away (or keep) any number of
4841 arguments, used with an extra set of parens.
4843 * Makefile.in (distdir): Put PROJECTS in the distribution.
4845 Sat Jun 3 11:53:45 1995 Karl Berry <karl@cs.umb.edu>
4847 * texmf.cnf.in (main_memory): Add definitions for TeX array sizes.
4849 * config.h (progname.h): Include this.
4850 * prog{init,name}.c, kpsewhich.c: No longer need to include it.
4851 * lib.h (START_FATAL, FATAL_PERROR): Use program_invocation_name
4852 in the error message.
4854 * variable.h: Doc fix.
4856 Fri Jun 2 13:41:29 1995 Karl Berry <karl@cs.umb.edu>
4858 * config.h (DOSISH) [DOS || OS2]: Define this.
4860 Tue May 30 15:43:56 1995 Karl Berry <karl@cs.umb.edu>
4862 * tex-file.c (kpse_find_file): Don't look for foo.sty.tex before
4863 foo.sty. Suggested by worsch@ira.uka.de.
4865 Mon May 29 15:24:38 1995 Karl Berry <karl@cs.umb.edu>
4867 * db.c (db_insert): If DOS, don't check that first character on a
4868 line IS_DIR_SEP. From Sebastian.
4870 Sat May 27 13:51:47 1995 Karl Berry <karl@cs.umb.edu>
4872 * pathsearch.c (log_search): Cast time_t arg to avoid printf warning.
4874 * lib.h (atou): Declare it.
4875 * Makefile.in (objects): Add atou.o.
4878 Sun May 21 10:58:31 1995 Karl Berry <karl@cs.umb.edu>
4880 * xfopen.c: Assert non-null filenames.
4882 Mon May 15 17:40:27 1995 Karl Berry <karl@cs.umb.edu>
4884 * kpsewhich.c (USAGE): Add one-line description to the help message.
4886 Sun Apr 16 14:25:06 1995 Karl Berry <karl@cs.umb.edu>
4888 * line.c (BLOCK_SIZE): Increase to 56, to avoid realloc's.
4890 Fri Apr 14 15:56:13 1995 Karl Berry <karl@cs.umb.edu>
4892 * Makefile.in (objects): Add xfseek and xftell, from fontutils.
4894 Mon Mar 13 20:05:02 1995 Karl Berry <karl@cs.umb.edu>
4896 * MakeTeXPK.in: Don't egrep in a file that doesn't exist.
4898 Fri Mar 10 10:49:28 1995 Karl Berry <karl@cs.umb.edu>
4900 * tex-file.c (kpse_find_file): Abort if the name passed in is null
4903 Thu Mar 9 15:23:07 1995 Karl Berry <karl@cs.umb.edu>
4905 * tex-file.c (kpse_init_format): Only do suffix searches for GF files.
4907 * acconfig.h: Warn that this is not the right thing to edit to fix
4908 configuration problems.
4910 Thu Mar 2 15:58:11 1995 Karl Berry <karl@cs.umb.edu>
4912 * texmf.cnf.in (TEXFORMATS): Doc fix.
4914 Fri Feb 24 16:40:23 1995 Karl Berry <karl@cs.umb.edu>
4916 * MakeTeXPK.in: `generate rootname' with no trailing punctuation
4919 Mon Feb 20 15:23:05 1995 Karl Berry <karl@cs.umb.edu>
4921 * tex-file.h (kpse_find_mf): New abbreviation.
4923 Sat Feb 11 13:06:23 1995 Karl Berry <karl@cs.umb.edu>
4925 * putenv.c: Include c-auto.h instead of kpathsea/c-auto.h, so the
4926 sed commands don't transform it into
4927 $(kpathsea_srcdir)/c-auto.h. From Andreas.
4929 * tex-make.c (maketex): Don't make a bad return from pclose a
4930 fatal error. Reported most recently by Wayne Sullivan, also by
4931 Andy Piper in the past.
4933 * MakeTeXPK.in (sauterdir): Only try this if we have the right
4934 b-foo.mf file. And correct $DESTDIR=... mistake.
4935 From Nick Cropper <nickc@dcs.st-andrews.ac.uk>.
4937 Fri Feb 10 15:49:49 1995 Karl Berry <karl@cs.umb.edu>
4939 * tex-file.c (INIT_MT): If the .program member has already been
4940 set, don't reset it.
4942 Wed Jan 18 15:47:07 1995 Karl Berry <karl@cs.umb.edu>
4944 * xopendir.c (xclosedir): Use CLOSEDIR_VOID, not VOID_CLOSEDIR.
4945 From tim@maths.tcd.ie.
4947 * db.c (db_insert): Don't assert db.size>0, since we may not have
4948 called kpse_db_search. From te@informatik.uni-hannover.de.
4950 * MakeTeXPK.in (dc fonts): Don't put a trailing period in the
4951 filename. From Tor Lillqvist <tml@hemuli.tte.vtt.fi>.
4953 Sun Jan 8 12:14:47 1995 Karl Berry <karl@cs.umb.edu>
4957 Wed Jan 4 14:44:34 1995 Karl Berry <karl@cs.umb.edu>
4959 * Makefile.in (mostlyclean): Remove kpsewhich.
4961 Tue Jan 3 11:48:40 1995 Karl Berry <karl@cs.umb.edu>
4963 * kpsewhich.c (long_options): Can't make this automatic.
4965 * basename.c: Include <kpathsea/config.h> before testing
4968 * Makefile.in (kpsewhich): Make the library before kpsewhich.o.
4969 (paths.h): No need for the $(kpathsea_dir)/ any more, now make
4970 depend gets rid of it.
4972 * rm-suffix.c: Doc fix.
4974 * kpsewhich.c: Extract the dpi from the filename if possible.
4976 Mon Jan 2 09:45:17 1995 Karl Berry <karl@cs.umb.edu>
4978 * Makefile.in (kpsexpand): Replace with kpsewhich.
4980 * proginit.h: Doc fix.
4982 * texmf.cnf.in (TEXMFCNF): Rename from TEXMF_CNF.
4983 * tex-file.c (kpse_init_format): Likewise.
4985 Sun Jan 1 14:04:41 1995 Karl Berry <karl@cs.umb.edu>
4987 * Makefile.in (MakeTeXPK): Substitute for web2cdir.
4988 * MakeTeXPK.in: Use it for MakeTeXPK.site.
4989 (install-data): Install texmf.cnf in web2cdir instead of texmf.
4990 * texmf.cnf.in (TEXMF_CNF): Default path includes web2cdir.
4992 Sat Dec 31 14:26:48 1994 Karl Berry <karl@cs.umb.edu>
4994 * Makefile.in (objects): No more @LIBOBJS@.
4995 * common.ac: Use AC_CHECK_FUNCS for basename, not REPLACE_FUNCS.
4996 The latter doesn't define HAVE_BASENAME.
4997 * basename.c [!HAVE_BASENAME]: Conditionalize whole file.
4999 * Makefile.in (uninstall-exec): Remove kpsexpand.
5000 (MakeTeXPK): New target.
5001 (install-exec): Install MTPK.
5002 (install-library): New target to replace install-headers.
5003 (install): Don't install-library by default.
5005 Fri Dec 30 15:53:04 1994 Karl Berry <karl@cs.umb.edu>
5007 * Makefile.in (objects): Don't put @LIBOBJS@ on a line by itself.
5010 Mon Dec 26 07:55:40 1994 Karl Berry <karl@cs.umb.edu>
5012 * common.ac (AC_FUNC_CLOSEDIR_VOID): Call this. Reported by
5013 Timothy Murphy <tim@maths.tcd.ie>.
5015 * tex-file.c (init_path): If a variable is set to an empty value,
5016 ignore it. Suggested by Stephen Gildea <gildea@x.org>.
5018 * proginit.c: If passed a NULL mode, put / in the environment here.
5019 * tex-make.c (kpse_make_tex): Don't do STREQ on NULL (though it
5020 should never be NULL in the first place), and properly restore
5021 MAKETEX_MODE if it was /.
5023 Tue Dec 20 09:57:21 1994 Karl Berry <karl@cs.umb.edu>
5025 * install.texi: Mention how to do optimization.
5027 Mon Dec 19 13:18:04 1994 Karl Berry <karl@cs.umb.edu>
5029 * tex-file.h: Doc fix.
5031 Wed Dec 14 14:46:47 1994 Karl Berry <karl@cs.umb.edu>
5035 * pathsearch.c (log_search): Don't prepend the `kdebug:' to the
5038 Sat Dec 10 16:49:12 1994 Karl Berry <karl@cs.umb.edu>
5040 * tex-make.c (set_maketex_mag): Make case of magstep -1 work
5041 properly. From a bug report by
5042 heiko@lotte.sax.de (Heiko Schlittermann).
5044 Mon Dec 5 11:58:08 1994 Karl Berry <karl@cs.umb.edu>
5046 * Makefile.in (objects): Add @LIBOBJS@.
5047 * common.ac: Check for basename.
5049 * db.c (db_insert): Include trailing / in directory part, and pass
5050 the key and the value in the right order. From
5051 te@informatik.uni-hannover.de.
5053 Sun Dec 4 14:26:44 1994 Karl Berry <karl@cs.umb.edu>
5055 * kpsexpand.c: Add extra filename argument. From
5056 ware@cis.ohio-state.edu.
5058 * common.ac: Use AC_TRY_RUN to test for SMART_PUTENV, not
5059 AC_TRY_LINK. From parkes@sierravista.com.
5061 * acconfig.h: Use #undef instead of commented-out `/* #define'.
5063 Sun Nov 27 13:47:06 1994 Karl Berry <karl@cs.umb.edu>
5065 * db.c (db_insert): Don't try to insert into an empty hash table.
5066 From dc@cobi.gsfc.nasa.gov (and others).
5068 * pathsearch.c (log_search): Call DEBUGF, not printf, for the
5069 filenames. From John I.
5071 * tex-make.c (kpse_make_tex): If MAKETEX_MODE is /, unset it and
5072 reset it around the command expansion.
5073 (maketex): Back to calling db_insert.
5075 Sat Nov 26 11:44:09 1994 Karl Berry <karl@cs.umb.edu>
5077 * cnf.c (read_file): If expansion of $TEXMF (KPSE_DB_DIR) fails,
5078 expand DEFAULT_TEXMF. From te@informatik.uni-hannover.de.
5080 Thu Nov 24 13:41:15 1994 Karl Berry <karl@cs.umb.edu>
5082 * tex-file.c (KPSE_BST_ENVS): Do not look at TEXINPUTS.
5084 * tex-file.h: Doc fix.
5086 Tue Nov 15 14:06:56 1994 Karl Berry <karl@cs.umb.edu>
5088 * progname.c (kpse_set_progname): Use basename.
5090 Fri Nov 11 19:12:23 1994 Karl Berry <karl@cs.umb.edu>
5092 * acconfig.h (HAVE_SIGIO): Add this.
5094 Tue Nov 8 19:14:12 1994 Karl Berry <karl@cs.umb.edu>
5096 * tex-make.c (kpse_make_tex): Change argument name from
5097 `basename', since now we have a fn by that name.
5098 * magstep.c (kpse_magstep_fix): Initialize mdpi.
5099 * basename.c (basename): Initalize base.
5101 Mon Nov 7 15:46:21 1994 Karl Berry <karl@cs.umb.edu>
5103 * common.ac: Run autoupdate.
5104 * c-dir.h: Change #if names and NLENGTH to new style.
5106 Fri Oct 28 21:28:02 1994 K. Berry (karl@terminus.cs.umb.edu)
5110 * tex-make.c (maketex): Don't call db_insert, that routine is
5111 buggy. I'll fix it later. In the meantime, trying to get a
5112 semi-stable release.
5114 Tue Oct 25 16:43:31 1994 Karl Berry <karl@cs.umb.edu>
5118 * progname.c (kpse_set_progname): Initialize kpathsea_debug from
5119 the KPATHSEA_DEBUG envvar. From neal@ctd.comsat.com.
5121 Mon Oct 24 13:41:24 1994 Karl Berry <karl@cs.umb.edu>
5123 * db.c (db_insert): New function.
5125 * tex-make.c (maketex): db_insert the result if we succeeded.
5127 * basename.c: New file to define basename.
5128 * lib.h (basename): Declare it.
5129 * Makefile.in (objects): Include basename.o.
5131 * tex-file.h (kpse_file_format_type): Add missing enum values for
5132 base/fmt/pool files.
5133 * tex-file.c (kpse_init_format): Add cases for these.
5134 From te@informatik.uni-hannover.de.
5136 * lib.h (WARNING, FATAL): Use fputs instead of fprintf.
5137 * Many files: Use DEBUGF instead of printf ("kdebug".
5138 * debug.h (DEBUGF) [DEBUG]: Define this.
5140 * xputenv.c (xputenv): Initialize that static saved_env_items to
5141 null, just for documentation's sake.
5143 Tue Oct 18 13:19:06 1994 Karl Berry <karl@cs.umb.edu>
5145 * tex-file.c (KPSE_*_ENVS): Move environment variable list here.
5146 * tex-file.h: Move them from here.
5148 * tex-glyph.h: Doc fix.
5150 * tex-file.c (kpse_find_file): Correct off-by-one in suffix
5151 comparison. From toy@rtp.ericsson.se.
5153 Mon Oct 17 14:01:02 1994 Karl Berry <karl@cs.umb.edu>
5155 * elt-dirs.c (do_subdir): Find a top-level subdir if it matches
5158 * db.c (kpse_db_search): Allow for the passed name including a
5159 directory part, as in dpi600/cmr10.pk.
5160 * tex-glyph.c (try_format): First search all specs with
5163 * kpsexpand.c: New file, from te@informatik.uni-hannover.de.
5164 * Makefile.in (kpsexpand): New target (a program).
5165 (install-exec): Depend on, and install, kpsexpand.
5167 * common.ac: Doc fix.
5169 * cnf.c (do_line): Don't quit just because the variable is in the
5170 environment. From te@informatik.uni-hannover.de.
5172 * tex-glyph.c (PXL_BITMAP_SPEC): Remove this, we're not going to
5175 Sun Oct 16 20:46:26 1994 Karl Berry <karl@cs.umb.edu>
5177 * kpathsea.texi: Make it clear that names of debugging bits can
5180 Fri Oct 14 10:31:35 1994 Karl Berry <karl@cs.umb.edu>
5184 * hash.c (hash_lookup) [DEBUG]: Cast to long, not int.
5186 Thu Oct 13 15:39:34 1994 Karl Berry <karl@owl>
5188 * db.c (db_build): Warn if ls-R contains nothing useful.
5190 * debug.c (fopen, fclose) [DEBUG]: fflush stdout.
5191 * dir.c (dir_links),
5192 * hash.c (hash_lookup),
5193 * tex-file.c (kpse_init_format),
5194 * elt-dirs.c (kpse_element_dirs): Likewise.
5196 Thu Oct 13 09:02:56 1994 Karl Berry <karl@cs.umb.edu>
5198 * hash.c (kpse_debug_hash_lookup_int) [DEBUG]: New global.
5199 (hash_lookup): Use it.
5200 * hash.h [DEBUG]: Declare it.
5201 * dir.c (dir_links) [DEBUG]: Set it and reset it.
5203 * tex-glyph.c (PXL_BITMAP_SPEC): Add this (pxlNNN/cmr10.pk) for
5204 the Bitstream utilities. From abrahams@acm.org.
5205 (try_format): Search for this.
5207 Tue Oct 11 15:15:49 1994 Karl Berry <karl@cs.umb.edu>
5209 * db.c (db_build): Use kpse_db_dir instead of KPSE_DB_DIR. This
5210 avoids one variable expansion, and te@informatik.uni-hannover.de
5211 says otherwise TeX sometimes can't find ls-R.
5213 Sun Oct 9 17:18:23 1994 Karl Berry <karl@cs.umb.edu>
5215 * kdefault.c: Rename from default.c.
5216 * Makefile.in (objects): Likewise.
5218 Fri Oct 7 12:58:33 1994 Karl Berry <karl@cs.umb.edu>
5220 * tex-file.c (kpse_init_format): Call INIT_MT for the any_glyph
5221 case. From carson@lehman.com.
5223 Sun Oct 2 14:11:20 1994 Karl Berry <karl@cs.umb.edu>
5225 * magstep.c: Doc fix.
5227 Sun Sep 25 17:11:40 1994 Karl Berry <karl@cs.umb.edu>
5229 * Makefile.in: Include library.make.
5231 Thu Sep 22 15:34:40 1994 Karl Berry <karl@cs.umb.edu>
5233 * tex-file.h (kpse_file_format_type): Don't make equal to the last
5234 element index, make one more. From Eric Auborg.
5236 Thu Sep 15 19:24:30 1994 Karl Berry (karl@cs.umb.edu)
5238 * Makefile.in (distdir): Include install.texi in the distribution.
5240 Mon Sep 12 11:05:18 1994 Karl Berry (karl@cs.umb.edu)
5244 Sun Sep 11 15:03:18 1994 Karl Berry (karl@cs.umb.edu)
5246 * Makefile.in (install-data): Install texmf.cnf if it didn't exist.
5248 Sat Sep 10 13:28:29 1994 Karl Berry (karl@cs.umb.edu)
5250 * Makefile.in (texmf.sed, paths.h): Use tr 012 instead of \n.
5251 From John Interrante.
5253 * Makefile.in (distdir): Include the .aux and .cps files in the
5254 distribution. Don't include paths.h (from John Interrante).
5256 * kpathsea.texi: Fix overfull boxes and other TeX errors.
5258 Wed Sep 7 16:28:37 1994 Karl Berry (karl@cs.umb.edu)
5262 Tue Sep 6 10:33:18 1994 Karl Berry (karl@cs.umb.edu)
5264 * dir.c (dir_links): Use %ld for ret, since it's now a long.
5266 Sat Sep 3 09:01:25 1994 Karl Berry (karl@cs.umb.edu)
5268 * dir.c (dir_links): Use long instead of int for the cast and the
5269 variable, to avoid warnings on the Alpha.
5271 * c-std.h (SYSV, X_NOT_STDC_ENV): Don't define these here.
5272 * c-memstr.h (SYSV): Define this.
5273 (_XFUNCS_H_): And this.
5275 * Makefile.in (distclean): Add texmf.cnf and texmf.sed.
5277 Thu Sep 1 14:22:48 1994 Karl Berry (karl@cs.umb.edu)
5279 * xputenv.c (putenv): Declare this to avoid a warning.
5280 * xstat.c (lstat): And this.
5282 * common.ac (SMART_PUTENV): Use program to test for this. From
5285 * tex-glyph.c (try_fallback_resolutions): Quit early if there's no
5286 resolutions in the list. From sanjoy@dope.caltech.edu.
5288 Tue Aug 30 14:26:48 1994 Karl Berry (karl@cs.umb.edu)
5290 * acconfig.h (FOIL_X_WCHAR_T): New definition.
5292 * c-std.h (hypot) [!hypot]: Conditionalize declaration.
5294 Fri Aug 26 09:00:24 1994 Karl Berry (karl@cs.umb.edu)
5296 * Makefile.in (install-data): Install headers into
5297 $(includedir)/kpathsea, not just $(includedir). From john@wpi.edu.
5299 * pathsearch.c (search): Show results of the search as well as the
5302 Thu Aug 25 13:40:29 1994 Karl Berry (karl@cs.umb.edu)
5304 * proginit.c (kpse_init_prog): Newline at end of fputs.
5306 * pathsearch.c (search): Add debug statement.
5307 * debug.h (KPSE_DEBUG_SEARCH): New bit.
5309 * tex-file.h (kpse_format_info_type): Rename `font_override_p' from
5310 `font_p'. Also `program_enabled' => `program_enabled_p'.
5311 Also new member `suffix_search_only'.
5312 * tex-file.c (kpse_find_file): Avoid searching for foo.tex.tex, etc.
5314 Tue Aug 16 09:29:59 1994 Karl Berry (karl@cs.umb.edu)
5316 * tex-make.c (maketex): Announce that we are running the script
5319 Mon Aug 15 11:18:19 1994 Karl Berry (karl@cs.umb.edu)
5321 * texmf.cnf.in (PKFONTS.xdvi): Write program-specific definition
5322 to include gsftopk and ps2pk ``modes''.
5324 Sat Aug 13 16:34:43 1994 Karl Berry (karl@cs.umb.edu)
5326 * Makefile.in (lib): Rename to program to simplify rules.
5328 * magstep.h: Doc fix.
5330 * common.ac (AC_HAVE_FUNCS): Test for bcopy.
5332 Tue Aug 9 14:18:56 1994 Karl Berry (karl@cs.umb.edu)
5334 * tex-make.c (misstex): Prepend kpathsea: to the missfont.log
5337 Mon Aug 8 17:53:58 1994 Karl Berry (karl@cs.umb.edu)
5339 * tex-make.c (set_maketex_mag): Rewrite to call kpse_magstep_fix.
5340 * magstep.[ch]: New files.
5342 Fri Aug 5 14:07:51 1994 Karl Berry (karl@cs.umb.edu)
5344 * db.c (match): Allow a trailing component in the filename.
5346 Tue Aug 2 08:55:21 1994 Karl Berry (karl@cs.umb.edu)
5348 * Change `debug:' to `kdebug:'.
5349 * hash.c (hash_lookup): Print results of lookup if DEBUG_HASH.
5350 * debug.h (KPSE_DEBUG_HASH): New bit, replacing DB_BUILD.
5351 * db.c (db_build): Don't print the built hash table.
5353 * db.c (match): Implement this. Petr Sojka and Zdenek Salvet(?)
5354 supplied code for this, but I wound up writing my own.
5355 * variable.c (expand): Do variable expansion on the value.
5357 * texmf.cnf.in (TEXINPUTS): Put this after the .prog-specific entries.
5359 * tex-file.c (kpse_pict_format): Remember to break after setting
5361 (EXPAND_DEFAULT, init_path): Keep raw_path as pre-default expansion.
5363 Sun Jul 31 14:18:09 1994 Karl Berry (karl@cs.umb.edu)
5365 * debug.c: Don't include debug.h, it's already in debug.h.
5367 * Makefile.in (db.o,pathsearch.o): Don't need these special cases
5368 since tossed db_dir from paths.make.
5369 * db.h (DB_DIR): Change default to $TEXMF, rename to KPSE_DB_DIR.
5370 (kpse_db_dir): New global variable (sigh).
5371 * db.c (kpse_db_dir): Define.
5372 * cnf.c: Include db.h for KPSE_DB_DIR.
5373 (read_files): Set kpse_db_dir after all have been read.
5374 * pathsearch.c (elt_in_db): Check if kpse_db_dir is null.
5375 (path_search): Do not initialize db_dir.
5377 Sat Jul 30 06:12:12 1994 Karl Berry (karl@cs.umb.edu)
5379 * c-dir.h [_POSIX_VERSION]: Remove this condition; just use DIRENT.
5381 Fri Jul 29 11:36:25 1994 Karl Berry (karl@cs.umb.edu)
5383 * tex-file.c (init_path): Look up cnf file value if no suffix.
5385 * xstat.h (SAME_FILE_P): Move here.
5386 * c-stat.h (SAME_FILE_P): From here.
5387 * file-p.c: Change include.
5388 * lib.h (dir_p, dir_links): Declare here.
5389 * dir.h: Split into xopendir.h and c-dir.h; Sun 3 include files
5390 get confused otherwise, according to john@minster.york.ac.uk.
5391 * xopendir.c: Include xopendir.h.
5392 * elt-dirs.c, dir.c: Change includes.
5394 Sun Jul 17 10:21:16 1994 Karl Berry (karl@cs.umb.edu)
5396 * hash.c (hash_insert): Put new elements in at the end of the
5397 list, instead of the beginning.
5398 * hash.h: Document this.
5400 * texmf.cnf.in (TEXMFROOT): Change to TEXMF.
5401 * kpathsea.texi: Likewise.
5403 * cnf.c (do_line): assert program_invocation_short_name.
5404 * progname.c: Doc fix.
5406 * absolute.[ch] (kpse_absolute_p): Take additional arg relative_ok.
5407 * pathsearch.c (log_search): Call it (with false).
5408 * tex-glyph.c: Change call.
5410 * pathsearch.c (path_search): Initialize db_dir here.
5411 (elt_in_db): Not here.
5413 Fri Jul 15 11:44:15 1994 Karl Berry (karl@cs.umb.edu)
5415 * tex-file.h: Doc fix.
5417 * pathsearch.c (log_search): Pass in the whole str_list; anything
5420 * proginit.[ch] (kpse_init_prog): Don't pass in argv0; we need it
5423 Tue Jul 12 11:56:54 1994 Karl Berry (karl@cs.umb.edu)
5425 * tex-file.c (init_path): Use the first envvar that's *set*, not
5426 the first in the list.
5428 * tex-file.h (kpse_format_info_type): New member `type'.
5429 * tex-file.c (kpse_init_format): Initialize it.
5431 * pathsearch.c (log_search): New fn.
5434 Fri Jul 1 11:54:29 1994 Karl Berry (karl@cs.umb.edu)
5436 * tex-file.c: Doc fix.
5438 Mon Jun 27 10:18:59 1994 Karl Berry (karl@cs.umb.edu)
5440 * db.c (db_build): Call kpse_var_expand on the db filename.
5441 * pathsearch.c (elt_in_db): Likewise.
5443 * tex-glyph.h (kpse_find_gf): By analogy with kpse_find_pk.
5445 Sat Jun 25 16:09:05 1994 Karl Berry (karl@cs.umb.edu)
5447 * tex-glyph.c (try_format): Try both Unix and DOS bitmap specs,
5448 instead of just one or the other.
5449 (bitmap_name): No longer needed.
5451 Fri Jun 24 11:52:32 1994 Karl Berry (karl@cs.umb.edu)
5453 * tex-file.c (kpse_find_file): Don't try the suffix if it doesn't
5456 * tex-file.h (kpse_find_{dvips_header,pict}): New definition.
5458 Thu Jun 23 16:57:58 1994 Karl Berry (karl@cs.umb.edu)
5460 * tex-file.h (kpse_{pict,dvips_header}_format): New consts.
5461 (KPSE_{PICT,DVIPS_HEADER}_ENVS): Likewise.
5463 Tue Jun 21 11:53:09 1994 Karl Berry (karl@cs.umb.edu)
5465 * tex-file.c (kpse_find_file): Try the name as given if the name
5466 concatenated with the suffix fails, for the sake of, e.g., EPS files.
5468 * tex-file.h (kpse_find_tex): New definition.
5470 * absolute.[ch]: Make arg const.
5472 * tex-glyph.[ch]: (kpse_bitmap_tolerance): Move here from tex-make.
5474 * c-proto.h (P6[CH]): New definitions.
5476 * Makefile.in (objects): Add proginit.o.
5477 * proginit.[ch]: New files.
5479 Mon Jun 20 14:55:57 1994 Karl Berry (karl@cs.umb.edu)
5481 * tex-file.c (kpse_init_format): Make override path not apply to
5484 * tex-glyph.c (kpse_find_glyph_format): Rename to kpse_find_glyph,
5485 and don't call MakeTeXPK if the filename is absolute.
5486 * tex-glyph.h: Likewise.
5488 Sun Jun 19 11:00:50 1994 Karl Berry (karl@cs.umb.edu)
5490 * common.ac (HAVE_PROGRAM_INVOCATION_NAME): Test for this.
5491 * acconfig.h: #undef this by default.
5492 * progname.[ch]: New files.
5493 * Makefile.in (objects): Add progname.o.
5494 * cnf.c (do_line): Check for .<progname> qualification.
5496 Sat Jun 18 16:55:36 1994 Karl Berry (karl@cs.umb.edu)
5498 * elt-dirs.c (kpse_element_dirs): Avoid stats in leaf directories
5499 found via a non-null post.
5501 Fri Jun 17 14:25:08 1994 Karl Berry (karl@cs.umb.edu)
5503 * elt-dirs.c (kpse_element_dirs) [DEBUG]: Print the directory
5504 expansion of the path element.
5506 * str-llist.h: Doc fix.
5508 * elt-dirs.c (do_subdir): Ignore anything beginning with ., not
5511 Tue Jun 14 11:53:49 1994 Karl Berry (karl@cs.umb.edu)
5513 * dir.c (dir_links): Cache the lookups.
5515 * elt-dirs.c (kpse_element_dirs): Don't expand the argument.
5516 * expand.h (kpse_path_expand): New routine.
5517 * expand.c: Define it.
5518 * pathsearch.h: Doc fix.
5520 * db.c, tex-file.c [DEBUG]: Prefix output lines with `debug:'.
5522 * tex-file.h (kpse_format_info_type): Add cnf_path to the struct.
5523 * tex-file.c (kpse_init_path): Print the cnf_path.
5524 (init_path): Set it, instead of a local variable.
5526 * pathsearch.c (path_search): Use !! for no-disk-search instead of
5527 %%, because now % is the comment char in cnf files.
5528 * kpathsea.texi: Document this. Also change all `Kpathsearch' to
5531 Mon Jun 13 10:15:49 1994 Karl Berry (karl@cs.umb.edu)
5533 * tex-make.h (kpse_set_maketex_mag): Remove.
5534 * tex-make.c (kpse_set_maketex_mag): Make static, remove kpse_
5535 prefix, and use KPATHSEA_DPI and MAKETEX_BASE_DPI instead of args.
5537 Sun Jun 12 13:49:15 1994 Karl Berry (karl@cs.umb.edu)
5539 * db.c (db_build): Put a header on the hash table.
5541 * tex-glyph.c (try_format): Set extension and path after
5542 kpse_init_format, natch.
5544 Sat Jun 11 14:26:34 1994 Karl Berry (karl@cs.umb.edu)
5546 * Makefile.in (objects): Add cnf.o.
5547 * variable.c (expand): Call kpse_cnf_get if no envvar value.
5549 Fri Jun 10 11:20:23 1994 Karl Berry (karl@cs.umb.edu)
5551 * tex-make.h: Remove spec type and variable.
5553 Thu Jun 9 13:42:21 1994 Karl Berry (karl@cs.umb.edu)
5555 * Makefile.in (objects): Remove init-path.o.
5556 * tex-file.c (kpse_find_file): Rewrite to initialize the paths
5557 only once, and keep all path info in a structure.
5558 * tex-file.h: Vastly simplify.
5559 * tex-glyph.h (kpse_font_file_type): Move here, since it's really
5561 * tex-glyph.c: Corresponding changes.
5562 * debug.h (KPSE_DEBUG_PATHS): New debug bit.
5564 * default.h, str-list.h: Doc fix.
5566 Tue May 31 10:06:51 1994 Karl Berry (karl@cs.umb.edu)
5570 Mon May 23 11:50:03 1994 Karl Berry (karl@cs.umb.edu)
5572 * c-fopen.h (FOPEN_A_MODE): Define this.
5573 * tex-make.c (misstex, maketex): Split up kpse_make_tex into
5574 these, and create missfont.log if appropriate.
5576 Sun May 22 17:39:52 1994 Karl Berry (karl@cs.umb.edu)
5578 * tex-make.h: Doc fix.
5580 Wed May 11 13:25:58 1994 Karl Berry (karl@cs.umb.edu)
5582 * configure.in (AC_OUTPUT): Use just `Makefile' instead of
5583 `./Makefile', to avoid a bug in Autoconf (through 1.10).
5585 Sun Apr 17 16:18:00 1994 Karl Berry (karl@ra.cs.umb.edu)
5587 * debug.h: Prefix macros with KPSE_.
5588 * db.c, dir.c: Change calls.
5590 * common.ac: Remove :: VPATH stuff; that made it in to Autoconf 1.8.
5592 * Makefile.in (top_srcdir): Define this for configure to substitute.
5594 Thu Apr 7 17:52:05 1994 Karl Berry (karl@ra.cs.umb.edu)
5596 * debug.[ch]: Implement fopen/fclose tracing.
5598 Thu Mar 31 07:25:49 1994 Karl Berry (karl@cs.umb.edu)
5602 Thu Mar 24 10:01:20 1994 Karl Berry (karl@cs.umb.edu)
5604 * tex-glyph.c: Doc fix.
5606 * pathsearch.c (path_search): Don't search the disk if there is
5607 magic in the path spec.
5611 Wed Mar 16 13:50:17 1994 Karl Berry (karl@cs.umb.edu)
5613 * readable.c (kpse_readable_file): Complain if errno == EPERM.
5615 Sun Mar 13 11:14:19 1994 Karl Berry (karl@cs.umb.edu)
5617 * pathsearch.h (kpse_path_search): Take an extra arg must_exist.
5618 * pathsearch.c (kpse_path_search, search, path_search): Likewise.
5619 * tex-file.c (kpse_find_file): Change call.
5620 * tex-file.h (kpse_find_*): Change these calls, too.
5622 * hash.c (hash_create): Don't use xcalloc to init pointers to null.
5624 * db.c (kpse_db_search): Don't free the pointer after incrementing it.
5627 Sat Mar 12 17:55:36 1994 Karl Berry (karl@cs.umb.edu)
5629 * db.h (kpse_db_search): Returns a pointer.
5630 * db.c (kpse_db_search): If db can't be built, return NULL, else a
5631 pointer to the (possibly empty) list.
5632 (db_build): Return whether we found the file.
5633 * pathsearch.c (path_search): Change call.
5635 Thu Mar 10 07:45:13 1994 Karl Berry (karl@cs.umb.edu)
5637 * Makefile.in (install-info): New target.
5639 Fri Mar 4 08:06:16 1994 Karl Berry (karl@cs.umb.edu)
5641 * hash.c (hash): Change hash function to spread out the values a
5644 * debug.h (DEBUG_DB_BUILD): New debug bit.
5645 * db.c (db_build) [DEBUG]: If bit is set, print hash table.
5646 * hash.h (hash_print): Declare.
5648 Thu Mar 3 08:52:01 1994 Karl Berry (karl@cs.umb.edu)
5652 Sun Feb 27 15:57:30 1994 Karl Berry (karl@cs.umb.edu)
5654 * Makefile.in (objects): Add db.o, hash.o.
5655 * db.[ch]: New files.
5656 * hash.[ch]: Also new files.
5657 * pathsearch.c (path_search): Try db search.
5658 * tex-glyph.c, fontmap.c: Use general hash functions.
5660 Sat Feb 26 13:15:53 1994 Karl Berry (karl@cs.umb.edu)
5662 * fontmap.c: Doc fix.
5664 * pathsearch.c (INIT_ALLOC): Increase to 75, what the heck.
5666 Fri Feb 25 08:30:50 1994 Karl Berry (karl@cs.umb.edu)
5668 * tex-file.[ch]: Decare args const.
5670 Thu Feb 24 07:55:43 1994 Karl Berry (karl@cs.umb.edu)
5672 * tex-make.h: Include tex-file.h, not init-path.h.
5674 * init-path.h (KPSE_*_{ENVS,PATHS}, kpse_font_override_path): Move
5676 * tex-font.h (kpse_find_{file,tfm,vf}): Also declare these.
5677 * tex-font.c (kpse_find_file): Define these.
5678 (kpse_font_override_path): Move definition here.
5680 * tex-file.*: Rename from tex-font.*.
5681 * GNUmakefile: Corresponding changes.
5683 * elt-dirs.c (do_subdir): Only append the / once we know it's a
5686 Wed Feb 23 16:41:31 1994 Karl Berry (karl@cs.umb.edu)
5688 * elt-dirs.c (do_subdir): Don't tack POST on if it is exactly the
5689 d_name, so we can find a/b with a path of a//b.
5691 * c-vararg.h (PVAR3[CH]): New defines.
5693 * init-path.h: Include KPSE_*_{ENVS,PATHS} here.
5694 (kpse_init_path): Take an additional arg font_p.
5695 * init-path.c (kpse_override_path): Rename kpse_font_override_path.
5696 (kpse_init_path): Only use kpse_font_override_font if font_p.
5698 Mon Feb 21 15:38:53 1994 Karl Berry (karl@cs.umb.edu)
5700 * common.ac (extrasub): Define to remove VPATH lines if srcdir = `.'.
5702 Thu Feb 3 06:19:49 1994 Karl Berry (karl@cs.umb.edu)
5706 * fn.c (fn_copy0): Remember to allocate space for the null.
5709 Wed Feb 2 09:57:47 1994 Karl Berry (karl@cs.umb.edu)
5711 * tex-make.h (KPSE_BITMAP_TOLERANCE): Move to here from tex-glyph.c
5712 (kpse_check_bitmap_tolerance): Declare.
5713 * tex-make.c (kpse_check_bitmap_tolerance): Define.
5715 Tue Feb 1 10:42:03 1994 Karl Berry (karl@cs.umb.edu)
5717 * c-std.h (*alloc) [! _MALLOC_INTERNAL]: Make decl conditional.
5719 * c-std.h [HAVE_STDLIB_H]: Change #if for including <stdlib.h> to this.
5720 * common.ac (AC_HAVE_HEADERS): Check for stdlib.h.
5722 * Makefile.in (paths.h): Do all substitutions globally.
5724 * absolute.c [DOS]: Include c-ctype.h.
5725 * tex-glyph.c (KPATHSEA_BITMAP_NAME) [DOS]: Double the backslash.
5726 * elt-dirs.c (do_subdir) [!UNIX_ST_LINK]: Avoid dangling else.
5729 * paths.h.in: Doc fix.
5731 * xputenv.c (xputenv): Check entire variable name for being saved,
5732 not just a prefix of it.
5734 Mon Jan 31 12:05:30 1994 Karl Berry (karl@cs.umb.edu)
5736 * fn.c (fn_copy0): Allocate LEN if that's bigger than CHUNK_SIZE.
5737 (CHUNK_SIZE): Increase to 75.
5739 Sat Jan 22 15:36:08 1994 Karl Berry (karl@cs.umb.edu)
5743 * common.ac (AC_HAVE_FUNCS): Check for memmove.
5745 * paths.h.in (DEFAULT_MF_PATH): Don't search just public/, cause
5748 Mon Jan 17 15:09:36 1994 Karl Berry (karl@cs.umb.edu)
5750 * paths.h.in (DEFAULT_{FMT,BASE}_PATH): Include `.'.
5752 Sun Jan 16 14:50:02 1994 Karl Berry (karl@cs.umb.edu)
5754 * paths.h.in (DEFAULT_PK_PATH): Search subdirs of pk.
5756 Mon Jan 10 16:40:35 1994 Karl Berry (karl@cs.umb.edu)
5758 * xputenv.c (xputenv): Don't try to be smart about saving/freeing
5759 stuff if SMART_PUTENV is defined.
5761 * c-std.h (assert) [!HAVE_ASSERT_H]: Define as nothing, to avoid
5762 undefined references to assert.
5764 Tue Dec 21 16:28:13 1993 Karl Berry (karl@cs.umb.edu)
5766 * c-std.h (SYSV) [STDC_HEADERS]: Define, to get around old X
5767 include files under hpux.
5769 Sun Dec 19 13:06:15 1993 Karl Berry (karl@cs.umb.edu)
5771 * Makefile.in (objects): Put tex-font.o first.
5773 Sat Dec 18 15:03:57 1993 Karl Berry (karl@cs.umb.edu)
5775 * config.h (GCC_WCHAR_T, _GCC_WCHAR_T): Remove these; I have
5776 another theory now for wchar_t, done in xdvi.h and x11.c.
5778 Sat Dec 18 14:41:15 1993 Karl Berry (karl@owl.hq.ileaf.com)
5780 * c-memstr.h ([r]index) [STDC_HEADERS]: Conditionalize #define.
5782 Tue Dec 14 17:43:30 1993 Karl Berry (karl@cs.umb.edu)
5784 * Makefile.in (paths.h): Change substitutions accordingly.
5785 * paths.h.in (DEFAULT_FMT_PATH): Variable is now fmtdir.
5786 (DEFAULT_{BIB,BST}_PATH): Variable is now texmf_prefix.
5788 Sat Dec 11 13:21:43 1993 Karl Berry (karl@cs.umb.edu)
5790 * tex-make.c (ABS): New macro.
5791 (kpse_set_maketex_mag): Use it, instead of fabs.
5793 Fri Dec 10 15:31:16 1993 Karl Berry (karl@cs.umb.edu)
5795 * xmalloc.c, xrealloc.c: Use exit instead of abort, remove abort
5796 decls, and reword error messages to be less cryptic. From
5797 john@minster.york.ac.uk.
5799 * dir.h: use `defined' instead of just `DIRENT || _POSIX_VERSION'.
5800 How annoying. From kretschm@aitxu3.ait.physik.uni-tuebingen.de.
5802 * xputenv.c (putenv): Remove declaration, as different systems do
5803 it differently. From kayvan@satyr.sylvan.com.
5805 Thu Dec 9 09:12:33 1993 Karl Berry (karl@cs.umb.edu)
5807 * tex-make.c (kpse_set_maketex_mag): Allow off-by-1 when deciding
5808 if a dpi is a magstep.
5810 Tue Dec 7 11:03:51 1993 Karl Berry (karl@cs.umb.edu)
5812 * tex-make.c (kpse_set_maketex_mag): New routine from dvips,
5813 called by dvipsk and xdvik to ensure consistency.
5814 (magstep): Subroutine of above, also from dvips.
5815 * tex-make.h: Declare it.
5817 * tex-doc.texi: Correct menu item (from maechler@stat.math.ethz.ch).
5819 Fri Dec 3 12:53:38 1993 Karl Berry (karl@cs.umb.edu)
5821 * c-pathmx.h: Doc fix.
5823 Sat Nov 27 14:36:11 1993 Karl Berry (karl@cs.umb.edu)
5825 * default.h: Doc fix.
5827 * paths.h.in (texfontdir): This has been renamed to fontdir.
5829 Sun Nov 21 08:28:41 1993 Karl Berry (karl@cs.umb.edu)
5831 * Makefile.in (distdir): Include HIER in the distribution, until
5832 we merge it into the manual.
5834 Sun Nov 7 14:54:47 1993 Karl Berry (karl@cs.umb.edu)
5836 * c-namemx.h (NAME_MAX): Avoid use of pathconf.
5837 * c-pathmx.h: Doc fix.
5839 Thu Nov 4 14:50:45 1993 Karl Berry (karl@cs.umb.edu)
5841 * config.h (_GCC_WCHAR_T) [!GCC_WCHAR]: Conditionalize.
5843 * c-std.h (EXIT_SUCCESS) [!EXIT_SUCCESS]: Move these defines
5844 outside of !STDC_HEADERS, for the sake of SunOS 4.1.1. (From
5845 vonbrand@inf.utfsm.cl.)
5847 Wed Nov 3 14:43:05 1993 Karl Berry (karl@cs.umb.edu)
5851 Wed Nov 3 07:05:48 1993 Karl Berry (karl@cs.umb.edu)
5853 * paths.h.in (DEFAULT_{BASE,FMT}_PATH): Had these definitions reversed.
5855 Fri Oct 29 19:27:36 1993 Karl Berry (karl@cs.umb.edu)
5857 * tex-glyph.c (try_fallback_resolutions): Initialize ret in all cases.
5859 Thu Oct 28 14:32:34 1993 Karl Berry (karl@cs.umb.edu)
5863 * common.h (AC_UNISTD_H): Replace this with unistd.h in the list
5866 Tue Oct 26 13:59:33 1993 Karl Berry (karl@cs.umb.edu)
5868 * str-llist.[ch]: New files.
5869 * Makefile.in (objects): Add str_llist.o.
5870 * elt-dirs.[ch]: Use str_llist_type throughout.
5871 * pathsearch.c (dir_list_search): Take a str_llist_type, and float
5872 a successful dir towards the top.
5873 (path_search): Change call of kpse_element_dirs.
5875 Sun Oct 24 19:41:49 1993 Karl Berry (karl@cs.umb.edu)
5877 * elt-dirs.c (do_optional): Remove this stub.
5878 (expand_elt): Don't call it.
5880 Fri Oct 22 14:46:44 1993 Karl Berry (karl@cs.umb.edu)
5882 * xmalloc.c, xrealloc.c, line.c, pathsearch.c: Doc fix.
5884 Tue Oct 19 12:11:32 1993 Karl Berry (karl@cs.umb.edu)
5886 * tex-glyph.c (try_fallback_resolutions): New routine.
5887 (kpse_find_glyph_format): Call it, instead of repeating (the now
5888 pretty complicated) code.
5889 * tex-font.c (kpse_init_fallback_resolutions): Pass the value of
5890 any environment variable, not its name. From R.Kooijman@et.tudelft.nl.
5892 * c-memstr.h (str[r]chr) [!str[r]chr]: Conditionalize. From
5893 maarrrk@seidel.ece.ucsb.edu.
5895 Tue Oct 12 16:26:48 1993 Karl Berry (karl@cs.umb.edu)
5897 * tex-make.c: Doc fix.
5899 Thu Oct 7 13:13:57 1993 Karl Berry (karl@cs.umb.edu)
5901 * xmalloc.c: Rewrite to not require <config.h>.
5902 * xrealloc.c: Likewise.
5904 * make-suffix.c (make_suffix): Declare variables const.
5905 * remove-suffx.c (remove_suffix): Likewise. Also rename to
5907 * xputenv.c (putenv): Declare with correct prototype.
5908 * fontmap.c (internal routines): Likewise.
5909 * line.c (xmalloc, xrealloc): Declare as void *.
5910 (From john@minster.york.ac.uk.)
5912 Wed Oct 6 06:49:53 1993 Karl Berry (karl@cs.umb.edu)
5916 * tilde.c (kpse_tilde_expand): Always return a malloc-ed value.
5917 (From ken@cs.toronto.edu.)
5919 Sun Oct 3 14:11:33 1993 Karl Berry (karl@cs.umb.edu)
5921 * config.h (_GCC_WCHAR_T): Define.
5923 Sat Oct 2 17:17:32 1993 Karl Berry (karl@cs.umb.edu)
5925 * Makefile.in (install-*): Don't reassign PATH, just invoke
5926 mkdirchain explicitly.
5928 * tex-glyph.c (KPATHSEA_BITMAP_NAME) [DOS]: Define what I think
5929 will work for this ...
5931 * paths.h.in: Doc fix.
5933 * Makefile.in: Doc fix.
5935 * tex-glyph.c (kpse_find_glyph_format): Unconditionally initialize
5936 glyph_paths[*], since we might use them both in try_size. From
5939 Fri Oct 1 12:02:11 1993 Karl Berry (karl@cs.umb.edu)
5941 * expand.c: Doc fix.
5943 Wed Sep 29 15:21:49 1993 (karl@terminus.cs.umb.edu)
5947 Sat Sep 25 14:12:00 1993 Karl Berry (karl@cs.umb.edu)
5949 * pathsearch.c (path_search, absolute_search): Don't initialize
5952 Fri Sep 24 12:50:00 1993 Karl Berry (karl@cs.umb.edu)
5954 * tex-glyph.c (try_size): Skip the simultaneous stuff.
5955 (try_format): Set the envvar here.
5956 (bitmap_name): Not here.
5957 * pathsearch.c (kpse_*_multi_search): Delete.
5958 Change most other routines to take only a single name again,
5959 instead of a name list.
5960 * pathsearch.h: Delete decls.
5962 * tex-glyph.c (init-path.h): Don't need to include this.
5964 * tex-glyph.c (kpse_find_glyph_format): Try the fallback
5965 resolutions for the fallback font.
5967 * Makefile.in (warn_more, MAKEINFO_FLAGS) [hayley]: Define these
5968 for development and distribution.
5970 * Makefile.in (dvi): Make analogous to info (including use of new
5973 * tex-glyph.c (kpse_find_glyph_format): Set KPATHSEA_NAME to the
5974 fallback font if we get that far.
5976 Wed Sep 15 19:29:56 1993 Karl Berry (karl@cs.umb.edu)
5978 * filefmt.h (KPSE_*_PATH): Pass NULL as first arg.
5980 * xputenv.c (xputenv): Rewrite again to save the variable names,
5983 Mon Sep 13 06:55:29 1993 Karl Berry (karl@cs.umb.edu)
5985 * concatn.h: Doc fix.
5987 Sun Sep 12 15:54:55 1993 Karl Berry (karl@cs.umb.edu)
5989 * lib.h (XTALLOC): Parenthesize the cast.
5991 * xputenv.c (xputenv): Rewrite to collect some of the garbage.
5993 Fri Sep 10 14:00:35 1993 Karl Berry (karl@cs.umb.edu)
5995 * lib.h (ENVVAR_SET_DEFAULT): No longer needed.
5997 * xputenv.c (xputenv_int): New routine.
5999 Thu Sep 9 14:58:00 1993 Karl Berry (karl@cs.umb.edu)
6001 * tex-make.c (MAKE_TEX_PK_SPEC): Change MAKETEX_DPI to
6004 * tex-glyph.c (try_fontmap): Use KPSE_GLYPH_PATH.
6005 * filefmt.c (KPSE_GLYPH_{PATH,ENVS}): New macros.
6006 (KPSE_{GF,PK}_ENVS): Use GLYPH_ENVS.
6008 * tex-glyph.c (bitmap_name): Rewrite to use a variable spec,
6009 introducing KPATHSEA_{BITMAP_NAME,FORMAT,DPI,NAME}.
6010 (kpse_find_glyph_format): Set KPATHSEA_DPI instead of MAKETEX_DPI;
6011 also set KPATHSEA_NAME.
6012 (try_fontmap): Also set KPATHSEA_NAME here.
6013 (try_size): Set KPATHSEA_DPI here.
6015 * tex-glyph.c (try_name): Delete this routine.
6016 (kpse_find_glyph_format): Try fallback resolutions here, call
6017 try_resolution directly.
6018 (try_fontmap): Call try_resolution directly.
6020 * init-path.h: Need not include c-proto.h.
6022 Sun Aug 29 13:34:25 1993 Karl Berry (karl@cs.umb.edu)
6024 * tex-make.c: Doc fix.
6026 * filefmt.h: Don't need c-proto.h or types.h.
6028 Fri Aug 27 10:36:46 1993 Karl Berry (karl@cs.umb.edu)
6030 * c-vararg.h (PVAR2C): Take AP as an arg.
6032 * init-path.[ch] (kpse_init_path): Take the current value as an
6033 additional argument, separate from the default path, and always
6036 * uppercasify.c (uppercasify): Don't discard upcased result!
6038 Thu Aug 26 10:36:28 1993 Karl Berry (karl@cs.umb.edu)
6042 Sun Aug 22 19:18:35 1993 Karl Berry (karl@cs.umb.edu)
6044 * install-data (install-data): Replace nonexistent
6045 $(kpath_includedir) with $(includedir), and define it. Also
6048 Thu Aug 5 09:03:22 1993 Karl Berry (karl@cs.umb.edu)
6052 Wed Aug 4 13:51:24 1993 Karl Berry (karl@cs.umb.edu)
6054 * tex-glyph.c (kpse_find_glyph_format): Fill in the font_file
6055 struct in the maketex case.
6057 * Makefile.in (info): Just depend on kpathsea.info, and rely on
6058 new suffix rule to do the work.
6060 Tue Aug 3 17:50:40 1993 Karl Berry (karl@fishbowl.hq.ileaf.com)
6062 * tex-glyph.c (try_name): Don't free expanded_name if we're
6065 Tue Aug 3 10:13:43 1993 Karl Berry (karl@owl.hq.ileaf.com)
6067 * version.c (kpathsea_version_string): Do not declare const.
6069 * line.h (read_line): Protoize decl.
6071 Tue Aug 3 09:10:07 1993 Karl Berry (karl@blood.hq.ileaf.com)
6073 * c-memstr.h (bcmp, bcopy, bzero) [!HAVE_BCOPY]: Conditionalize.
6075 * putenv.c: Include <kpathsea/c-auto.h>, and use const when
6078 Sun Aug 1 08:48:49 1993 Karl Berry (karl@cs.umb.edu)
6080 * Add new features to manual.
6082 * Makefile.in (objects): Include putenv.o.
6083 * putenv.c: New file from gdb.
6084 * common.ac: Test for putenv.
6086 Sat Jul 31 11:54:31 1993 Karl Berry (karl@cs.umb.edu)
6088 * Makefile.in (distclean): Remove paths.h.
6090 * Most files: changes for traditional C compatibility.
6092 * filefmt.h: Add new KPSE_..._PATH's for the other formats.
6093 * paths.h.in: Add defaults.
6094 * Makefile.in (paths.h): sed the values in.
6096 Fri Jul 30 17:23:10 1993 Karl Berry (karl@cs.umb.edu)
6098 * filefmt.h (KPSE_VF_PATH): Add empty parens.
6100 * tex-paths.h*: Rename to just paths.h*.
6102 Tue Jul 27 09:00:58 1993 Karl Berry (karl@cs.umb.edu)
6104 * filefmt.h: Include tex-paths.h, and use default paths in
6105 KPSE_..._PATH macros.
6107 * find-suffix.c: Correct logic.
6109 * filefmt.h: Include init-path.h.
6111 Sat Jul 24 10:44:21 1993 Karl Berry (karl@cs.umb.edu)
6113 * tex-glyph.c (kpse_find_glyph_format): Assign to it.
6114 * tex-font.h (kpse_font_file_type): New member `source'.
6115 (KPSE_FONT_FILE_SOURCE): Accessor macro.
6116 (kpse_source_type): New type.
6118 Wed Jul 21 19:45:45 1993 Karl Berry (karl@cs.umb.edu)
6120 * Makefile.in (configclean): New target.
6122 Sun Jul 18 13:53:38 1993 Karl Berry (karl@cs.umb.edu)
6124 * tilde.[ch] (kpse_expand_tilde): Rename to kpse_tilde_expand.
6126 * elt-dirs.c, pathsearch.c, tex-glyph.c: Replace calls to
6127 kpse_expand_tilde with kpse_expand.
6128 * expand.[ch]: New files.
6129 * Makefile.in (objects): Add it.
6131 * fn.[ch]: New files.
6132 * elt-dirs.c (fn*): Moved to fn.c.
6133 * tex-make.c, variable.c: Use the new routines.
6134 * *obstack*: No longer needed.
6135 * Makefile.in (objects): Appropriate changes.
6137 Sat Jul 17 13:25:25 1993 Karl Berry (karl@cs.umb.edu)
6139 * concat.c: Doc fix.
6141 * pathsearch.c (search, path_search): Expand variable references.
6144 * lib.h (itoa): Declare it.
6145 * Makefile.in (objects): Add it.
6147 * lib.h (ENVVAR_SET_DEFAULT): New macro.
6148 * tex-glyph.c (kpse_find_glyph_format): Call it to set the dpi.
6150 Fri Jul 16 09:10:52 1993 Karl Berry (karl@cs.umb.edu)
6152 * xputenv.c: New file.
6153 * Makefile.in (objects): Add it.
6154 * lib.h (xputenv): Declare it.
6156 * c-obstack.h: New file.
6157 * variable.[ch]: New files.
6158 * Makefile.in (objects): Add it.
6160 * uppercasify.c: New file.
6161 * Makefile.in (objects): add it.
6162 * lib.h (uppercasify): Declare it.
6164 Tue Jul 13 13:47:54 1993 Karl Berry (karl@cs.umb.edu)
6166 * tex-glyph.c (kpse_find_glyph_format): Simplify path initialization.
6167 * filefmt.h: New file; add abbrevs for GF and PK inits.
6169 * Makefile.in (objects): Add obstack.o and tex-make.o.
6170 * obstack.[ch]: New files from GNU.
6171 * concatn.[ch], tex-make.[ch]: New files.
6172 * init-path.c: Doc fix.
6174 * elt-dirs.c: Doc fix.
6175 * readable.[ch]: Doc fixes.
6177 Sun Jul 11 13:37:02 1993 Karl Berry (karl@cs.umb.edu)
6179 * tex-font.h (kpse_font_format_type): Rename to kpse_file_format_type,
6180 and include the other file formats.
6181 * tex-glyph.c: Change uses.
6183 Tue Jul 6 08:09:10 1993 Karl Berry (karl@cs.umb.edu)
6185 * tex-font.c (kpse_fallback_font): Initialize to NULL.
6187 Mon Jul 5 08:23:09 1993 Karl Berry (karl@cs.umb.edu)
6189 * tex-glyph.c (try_size): Don't fill in FONT_FILE if it's null.
6191 * tex-font.c (kpse_init_fallback_resolutions): Look for TEXSIZES
6192 after the program-specific *SIZES var.
6194 * tex-glyph.c (kpse_find_glyph_format): Use kpse_init_path.
6195 * Makefile.in (objects): Add init_path.o.
6196 * tex-font.[ch] (kpse_override_path): Move to init-path.[ch].
6197 * init-path.[ch]: New files.
6198 * c-vararg.h: New file.
6200 Sun Jul 4 11:26:17 1993 Karl Berry (karl@cs.umb.edu)
6202 * tex-font.c (kpse_init_fallback_resolutions): New routine.
6203 * tex-font.h: Declare it, and companion return type.
6205 Fri Jul 2 10:43:11 1993 Karl Berry (karl@cs.umb.edu)
6207 * tex-glyph.c (kpse_find_glyph_format): Take first successful
6210 * fontmap.c (map_file_parse): Take first % on line as starting the
6211 comment, not the last.
6213 * fontmap.c (map_insert): Always insert the new element.
6215 Thu Jul 1 19:21:35 1993 Karl Berry (karl@cs.umb.edu)
6217 * fontmap.c (map_lookup): Return a list, not a single string.
6218 (map_lookup_str): Likewise.
6219 * fontmap.h (map_lookup): Change decl.
6220 * tex-glyph.c (kpse_find_glyph_format): Change caller.
6222 Sat Jun 26 11:48:36 1993 Karl Berry (karl@cs.umb.edu)
6224 * tex-font.h: Doc fix.
6226 Thu Jun 24 11:16:41 1993 Karl Berry (karl@cs.umb.edu)
6228 * configure.in (MISSING_HEADERS): Toss in favor of HAVE_HEADERS. Sigh.
6229 Also, move all this to an include file.
6230 Change uses in several files.
6232 * stat.h: Rename to c-stat.h, and change includers.
6234 * Makefile.in (objects): Add tex-glyph.o.
6235 * pathsearch.[ch] (kpse_*_multi_search): New routines.
6237 Sat Jun 19 11:37:18 1993 Karl Berry (karl@cs.umb.edu)
6239 * str-list.c (str_list_free): New routine.
6241 Fri Jun 18 13:54:08 1993 Karl Berry (karl@cs.umb.edu)
6243 * fontmap.c (map_create): Rewrite to use kpse_all_path_search.
6244 Include const in various subroutines.
6246 Tue Jun 15 15:58:18 1993 Karl Berry (karl@cs.umb.edu)
6248 * Change <kpathsea/pathsrch.h> to pathsearch. Rename the files
6251 * elt-dirs.c (cache): Copy the key into our own storage, since it
6252 comes from kpse_path_element and might get overwritten. Should we
6253 copy all the values, too?
6255 Sun Jun 13 16:49:09 1993 Karl Berry (karl@cs.umb.edu)
6257 * pathsearch.c (dir_list_search): Don't need to append the null
6258 here; in fact, it's wrong, since then the final list might have
6259 nulls in the middle.
6261 * elt-dirs.c (dir_list_add): Correct check for new directory
6262 already ending in /.
6264 Fri Jun 11 10:45:33 1993 Karl Berry (karl@cs.umb.edu)
6266 * str-list.[ch]: New files.
6267 * pathsrch.c: Use it for the dir_list routines.
6268 * Many changes and new files throughout for new implementation
6269 including TeX-font-lookup routines.
6271 Tue Jun 8 14:00:54 1993 Karl Berry (karl@cs.umb.edu)
6273 * Most files: Change `const string' (constant pointer) to `const
6274 char *' (pointer to constant data). What a crock.
6276 Mon Jun 7 09:43:21 1993 Karl Berry (karl@cs.umb.edu)
6278 * debug.[ch]: New files.
6279 * config.h: Include debug.h.
6281 * dir-p.c: Rename to dir.c.
6282 (dir_links): New routine.
6284 * c-std.h (assert.h) [!ASSERT_H_MISSING]: Include this.
6285 * configure.in: Check for it with new macro AC_MISSING_HEADERS.
6287 Thu Jun 3 10:12:12 1993 Karl Berry (karl@cs.umb.edu)
6289 * dirio.h (leaf_dir_p): No longer defined; rename to dir.h.
6290 * xopendir.c, dir-p.c, pathsrch.c: Change include.
6292 Mon May 31 07:49:16 1993 Karl Berry (karl@cs.umb.edu)
6294 * c-std.h (EXIT_{SUCCESS,FAILURE}): Define these if they're undefined.
6296 * config.h: Use <kpathsea/...> instead "...".
6298 * kpathlib.h: Had #ifndef protection messed up. Rename to lib.h.
6300 * c-memstr.h (index, rindex) [!index, !rindex]: Make definitions
6303 Tue May 25 10:07:00 1993 Karl Berry (karl@cs.umb.edu)
6305 * c-{namemx,pathmx,pathch,...}.h: Doc fixes.
6307 * c-systypes.h: New file.
6308 * c-std.h: Include it.
6311 * xstat.h: Include it.
6313 * configure.in (AC_HAVE_HEADERS): Test for `pwd.h'.
6315 Sun May 23 19:06:22 1993 Karl Berry (karl@cs.umb.edu)
6317 * pathsrch.[ch]: Doc fixes.
6319 Fri May 21 11:27:54 1993 Karl Berry (karl@cs.umb.edu)
6321 * line.c (free): Declare.
6323 * pathsrch.c, find-suffix.c: Change caller.
6324 * c-pathch.h ({IS_,}{DIR,ENV}_SEP): Rename existing confusing
6325 definitions to these. Suggested by rocky.
6327 Mon May 17 08:18:18 1993 Karl Berry (karl@cs.umb.edu)
6331 * pathsrch.c (expand_default): Handle doubled colon and
6332 nothing-but-colon cases.
6334 * Write documentation, change Makefile accordingly.
6336 Thu May 13 16:32:34 1993 Karl Berry (karl@cs.umb.edu)
6338 * c-std.h (popen) [VMS]: Make decl conditional, and include
6339 <unixlib.h> and <unixio.h>.
6341 Mon May 10 07:12:50 1993 Karl Berry (karl@cs.umb.edu)
6345 * version.c: Put in placeholder.
6347 Sun May 9 10:42:34 1993 Karl Berry (karl@cs.umb.edu)
6349 * config.h (c-auto.h): Use <...> instead of "...".
6351 Tue May 4 14:54:41 1993 Karl Berry (karl@cs.umb.edu)
6353 * Makefile.in (info check dvi): New targets (that do nothing).
6355 Mon May 3 13:46:17 1993 Karl Berry (karl@claude.cs.umb.edu)
6359 * Use KPATHSEARCH_ prefix for various headers' cpp protections.
6361 Sun May 2 10:28:25 1993 Karl Berry (karl@cs.umb.edu)
6363 * Makefile.in (dist): Depend on TAGS, and put it in the dist.
6365 * Makefile.in (c-auto.h.in): Remove extra $(srcdir).
6367 Sun Apr 25 11:22:12 1993 Karl Berry (karl@cs.umb.edu)
6369 * pathsrch.h: Include c-proto.h.
6371 * make-suffix.c: New file.
6372 * Makefile.in (objects): Add the .o.
6374 * file-p.c: Use the SAME_FILE_P macro.
6376 * fontmap.h: Include c-proto.h and types.h.
6378 * lib.h: Rename to kpathlib.h.
6379 * config.h: Include changed.
6381 * c-proto.h, c-std.h: Doc fix.
6383 * c-limits.h [LIMITS_H_MISSING]: Conditionalize include of c-std.h.
6385 * xstat.h: Include c-std.h.
6387 * Makefile.in (c-auto.h.in): Add unused warning to top.
6389 * dirio.h: Include c-proto.h and types.h.
6391 Fri Apr 23 16:11:13 1993 Karl Berry (karl@cs.umb.edu)
6393 * line.c: Don't include config.h, just declare xmalloc and
6394 xrealloc explicitly.
6396 * pathsrch.c: paths.h need not be included.