1 2008-02-14 Karl Berry <karl@tug.org>
3 * texmf.in (font_mem_size): increase to 3000000.
4 (font_max): increase to 5000 (max_font_max increased in tex.ch).
6 2008-02-11 Karl Berry <karl@tug.org>
8 * install.texi: mention mktexfmt, other mktex updates.
9 (Bug report from Ken Brooks, 03 Aug 2006 15:15:03.)
11 2008-02-08 Karl Berry <karl@tug.org>
13 * texmf.in: texlive2008 to match texmf/web2c/texmf.cnf.
15 2008-01-29 Peter Breitenlohner <peb@mppmu.mpg.de>
17 Convert from autoconf-2.13 to autoconf-2.59+:
18 * Makefile.in: Add @configure_input@ line.
19 * aclocal.m4 (new): Generated (aclocal -I ../m4).
20 * configure: Regenerated (autoconf).
22 2008-01-25 Karl Berry <karl@tug.org>
24 * variable.c (expand): do ~ expansion here too, for --expand-var,
26 Report from Werner Lemberg, 24 Jan 2008 02:19:49.
27 * kpathsea.texi (Auxiliary tasks): document this.
29 2008-01-21 Karl Berry <karl@tug.org>
31 * kpsewhich.c, kpathsea.texi: document --all and --subdir.
33 * db.c through tex-file.c: replace FSF physical address with url.
35 2008-01-18 Karl Berry <karl@tug.org>
37 * kpsewhich.c (subdir_match): XRETALLOC is a statement not a function.
38 * pathsearch.c (search_list): remove unused variable uniq_list.
40 2008-01-16 Karl Berry <karl@tug.org>
42 * absolute.c through config.h: replace FSF physical address with url.
44 2008-01-15 Karl Berry <karl@tug.org>
46 * variable.c (kpse_var_value): only free if new memory.
48 * tex-file.c (kpse_find_file_generic): call kpse_make_tex if the
49 first element of the list is NULL, not the list itself.
51 2008-01-14 Karl Berry <karl@tug.org>
53 * variable.c (kpse_var_value): also do ~ expansion.
54 * variable.h: adjust comments.
55 * kpathsea.texi (Auxiliary tasks): document this.
57 * tilde.c (HOMEVAR): new #define; "USERPROFILE" on Windows,
59 * tilde.h: adjust comments.
60 * kpathsea.texi (Tilde expansion): document this.
62 2008-01-13 Karl Berry <karl@tug.org>
64 * remote.c-no: remove this stub. Suggestion from Martin.
66 * mktexpk: use $MT_MKTEXDIR in the error message if making
67 PKDESTDIR fails, instead of hardwiring mktexdir.
68 From Javier, 7 Jan 2008 11:33:18.
70 * kpsewhich.c (subdir_match): protect again loc going infinitely
71 negative. Found by dak, 8 Jan 2008 14:51:08.
73 2008-01-05 Karl Berry <karl@tug.org>
75 * texmf.in (progname, engine): distinguish the unset values.
76 (main_memory): increase to 3M.
77 (font_mem_size): increase to 2.5M.
78 (trie_size): increase to 400K.
79 (save_size): increase to 50K.
80 These size changes per gwtex (except a bit more).
82 2008-01-02 Karl Berry <karl@tug.org>
84 * c-std.h (ALLOC_RETURN_TYPE) [!STDC_HEADERS]: just use void in
85 the unlikely event we're declaring *alloc ourselves. No modern
86 system uses char * for them.
88 2007-12-23 Karl Berry <karl@tug.org>
90 * kpsewhich.c (subdir_match): new fn.
91 (lookup): call it if requested.
92 (subdir_paths): new global.
93 (read_command_line): new option --subdir.
95 2007-12-22 Karl Berry <karl@tug.org>
97 * kpsewhich.c (lookup): handle --all for regular lookups as well
98 as user-specific paths.
99 * pathsearch.c (search_list): uniqify list before returning.
100 (kpse_path_search_list_generic): new fn.
101 (kpse_all_path_search_list, kpse_path_search_list): rewrite to
103 * pathsearch.h (kpse_path_search_list_generic): declare it.
104 * str-list.c (str_list_uniqify): new fn.
105 * str-list.h (str_list_uniqify): declare it.
106 * tex-file.c (kpse_find_file_generic): new name for kpse_find_file
107 code, with addition of argument to find all.
108 (kpse_find_file): rewrite to call ..._generic.
109 * tex-file.h (kpse_find_file_generic): declare it.
111 2007-12-17 Karl Berry <karl@tug.org>
113 * kpathsea.texi (Path searching options): clarify --expand-path doc.
115 2007-12-15 Karl Berry <karl@tug.org>
117 * kpsewhich.c (read_command_line, USAGE): improve --version and
120 2007-12-01 Karl Berry <karl@tug.org>
122 * texmf.in (MPMEMS, MFBASES, TEXFORMATS): switch to /$engine,
123 to try to avoid finding a format for the wrong engine.
126 2007-11-05 Karl Berry <karl@tug.org>
128 * texmf.in (allow_multiple_suffixes): unimplemented.
129 Reported by Akira, 17 Feb 2007 15:44:39.
131 2007-10-24 Karl Berry <karl@tug.org>
133 * mktexpk (MODE) <720>: epscszz. From Akira.
134 (PKDESTDIR): Quote. From Paul Vojta,
135 tex-k 22 Oct 2007 17:38:56.
137 2007-09-11 Karl Berry <karl@tug.org>
139 * texmf.in (TRFONTS): don't recurse through /usr.
140 Report from Michail Vidiassov, mp-i 10 Sep 2007 12:55:10.
142 2007-08-27 Karl Berry <karl@tug.org>
144 * fontmap.c (map_file_parse): free the original pointer, not the
145 potentially moved one (after whitespace skipping).
146 From: "George N. White III", 25 Jul 2007 11:27:12.
148 2007-07-29 Karl Berry <karl@tug.org>
150 * depend.mk: regenerate again.
152 2007-07-24 Karl Berry <karl@tug.org>
154 * recorder.h (kpse_input, kpse_output): use const_string as
155 argument, not just char *, to avoid warning.
157 * fontmap.c (map_file_parse): kpse_record_input if requested.
158 From Akira, 23 Jul 2007 10:20:58 (original report from George
161 2007-07-15 Karl Berry <karl@tug.org>
163 * depend.mak: update.
165 2007-07-06 Karl Berry <karl@tug.org>
167 * tex-file.c (init_path) <kpse_lua_format>: let's make the format
168 name be lua rather than luatex; otherwise kpsewhich -format=luatex
169 finds kpse_tex_format sometimes, and it seems unnecessary to debug
171 Also, set suffix_search_only=true.
172 (LUA_SUFFIXES): put compiled suffixes first.
174 2007-07-05 Karl Berry <karl@tug.org>
176 * tex-file.h (kpse_file_format_type): define kpse_lua_format.
177 * tex-file.c (LUA_ENVS, LUA_SUFFIXES): new macros
178 (init_path): initialize kpse_lua_format.
180 * texmf.in (LUAINPUTS): add $TEXINPUTS per Hans and Taco.
182 2007-06-14 Karl Berry <karl@tug.org>
184 * texmf.in: doc fix ({a,b} is not deprecated).
186 2007-05-19 Karl Berry <karl@tug.org>
188 * texmf.in (SYSTEXMF): add TEXMFSYSVAR (thread around 7mar07).
190 2007-05-05 Karl Berry <karl@tug.org>
192 * kpsewhich.c (find_format): hardware kpse_dvips_config_format for
195 * texmf.in (TEXMFMAIN, TEXMFDIST, TEXMFLOCAL, TEXMFSYSVAR,
196 TEXMFSYSCONFIG, VARTEXFONTS, MIMELIBDIR, MAILCAPLIBDIR, TEXMFNCF):
197 use @texmf@ etc. expansions so that (hopefully)
198 --disable-multiplatform works again. For TEXMFCNF, restore
199 inclusion of $TEXMF/web2c, too. Reported by Peter M.
201 2007-03-21 Karl Berry <karl@tug.org>
203 * install.texi (Shared library): remove mention of klibtool.
205 2007-03-09 Akira Kakuto <kakuto@fsci.fuk.kindai.ac.jp>
207 * tex-file.c (kpse_init_format): reduce to just .fmt;
208 and allow both .t42 and .T42.
210 2007-02-26 Karl Berry <karl@tug.org>
212 * bugs.texi (Logging): mention pdftex -recorder and strace et al.
213 (Bug checklist): Remove my old physical address.
215 2007-02-02 Karl Berry <karl@tug.org>
217 * texmf.in (OVFFONTS): search for vf.
218 (OFMFONTS): explicitly adding TFMFONTS seems unnecessary.
219 From Hans and Taco, 25 Jan 2007.
221 2006-12-30 Karl Berry <karl@tug.org>
223 * configure.in (KPSEVERSION): 3.5.6.
225 2006-12-29 Karl Berry <karl@tug.org>
227 * tex-make.c (set_maketex_mag): deleted wrong extra arg;
228 do not generate args with spaces for mf. From Akira.
230 2006-12-26 Karl Berry <karl@tug.org>
232 * tex-make.c: (set_maketex_mag): remove spurious extra argument
234 (maketex): remove unused variable status.
236 2006-12-25 Karl Berry <karl@tug.org>
238 * mktexlsr: support --verbose.
240 2006-12-14 Karl Berry <karl@tug.org>
242 * texmf.in: unify with TL texmf.cnf to make only real differences
245 2006-12-09 Karl Berry <karl@tug.org>
247 * c-memstr.h (strings.h): don't include if HAVE_STRING_H (as all
248 systems should, these days). Reported by vvv.
250 2006-07-15 Karl Berry <karl@tug.org>
252 * expand.c (kpse_expand_kpse_dot): omit empty path elements from
253 TEXMFCNF, per http://bugs.debian.org/358330. Patch from Julian
254 Gilbey, tex-k/tex-live mail 27 Mar 2006 19:32:43 +0100.
256 2006-02-03 Karl Berry <karl@tug.org>
258 * mktexlsr: ignore .svn directories.
260 2005-08-13 Olaf Weber <olaf@infovore.xs4all.nl>
262 * kpsewhich.c: Update copyright message.
264 2005-08-03 Olaf Weber <olaf@infovore.xs4all.nl>
266 * README: Change references to COPYING and COPYING.LIB to GPL and
269 * kpathsea.texi: Change references to COPYING and COPYING.LIB to
272 * readlink.c: Correct license banner.
274 2005-07-27 Olaf Weber <olaf@infovore.xs4all.nl>
276 * Makefile.in: Add comment to start of kpathsea.h.
278 * absolute.h, acconfig.h, c-ctype.h, c-dir.h, c-errno.h,
279 c-fopen.h, c-limits.h, c-memstr.h, c-minmax.h, c-namemx.h,
280 c-pathch.h, c-pathmx.h, c-proto.h, c-stat.h, c-std.h, c-unistd.h,
281 c-vararg.h, cnf.h, concatn.h, config.h, db.h, debug.h, default.h,
282 expand.h, fn.h, fontmap.h, getopt.h, hash.h, lib.h, line.h,
283 magstep.h, pathsearch.h, proginit.h, progname.h, readable.h,
284 str-list.h, str-llist.h, systypes.h, tex-file.h, tex-glyph.h,
285 tex-hush.h, tex-make.h, tilde.h, truncate.h, types.h, variable.h,
286 xopendir.h, xstat.h: Update copyright, license to LGPL 2.1.
288 2005-07-26 Olaf Weber <olaf@infovore.xs4all.nl>
290 * access.c, readlink.c: Update copyright, license text.
292 * atou.c, absolute.c, cnf.c, concat.c, concat3.c, concatn.c, db.c,
293 debug.c, dir.c, elt-dirs.c, expand.c, extend-fname.c, file-p.c,
294 find-suffix.c, fn.c, fontmap.c, getopt.c, getopt1.c, hash.c,
295 kdefault.c, kpsestat.c, kpsewhich.c, line.c, magstep.c,
296 make-suffix.c, path-elt.c, pathsearch.c, proginit.c, progname.c,
297 readable.c, rm-suffix.c, str-list.c, str-llist.c, strcasecmp.c,
298 strstr.c, strtol.c, tex-file.c, tex-glyph.c, tex-hush.c,
299 tex-make.c, tilde.c, truncate.c, uppercasify.c, variable.c,
300 version.c, xbasename.c, xcalloc.c, xdirname.c, xfopen.c, xfseek.c,
301 xftell.c, xgetcwd.c, xopendir.c, xrealloc.c, xstat.c, xstrdup.c:
302 Update copyright, license to LGLP 2.1.
304 * xmalloc.c, xrealloc.c: Update copyright, license to LGPL 2.1.
305 Don't include stdio.h directly, it comes via config.h.
307 2005-07-25 Olaf Weber <olaf@infovore.xs4all.nl>
309 * texmf.in: Increase trie_size. Remove inaccurate comment about
312 * common.ac: Remove the check for SMART_PUTENV, the xputenv code
313 has been rewritten not to need this.
315 * tex-file.c (kpse_init_format): Add uppercase versions of the
316 .ttf and .ttc suffixes for truetype fonts. Dont require a
319 * types.h: Don't #define true if it is already defined. From Karl
322 * mktexmf: Additional change for generating cbgreek from Thomas.
324 2005-07-12 Olaf Weber <olaf@infovore.xs4all.nl>
326 * mktexmf: Patterns for cbgreek weren't inclusive enough. From
329 2005-07-10 Olaf Weber <olaf@infovore.xs4all.nl>
331 * tex-file.c (kpse_init_format): Revive .otf extension for
332 kpse_opentype_format, requested by Akira Kakuto
333 <kakuto@fsci.fuk.kindai.ac.jp>.
335 * tex-make.c (maketex): Print the name of the failing command
336 instead of always mktexpk. From Karl berry
337 <karl@freefriends.org>.
339 * acconfig.h: Remove SMART_PUTENV code.
341 * xputenv.c (xputenv): Replace with code that doesn't depend on
342 the SMART_PUTENV check.
343 (common.ac): Remove SMART_PUTENV check code.
345 2005-06-29 Olaf Weber <olaf@infovore.xs4all.nl>
347 * tex-make.c: Metafont doesn't like literals larger than anout
348 4000, so try to avoid them when specifying magnifications. From
349 Werner Fink <werner@suse.de>.
351 * hash.h [KPSE_DEBUG]: Add KPSEDLL to declaration of
352 kpse_debug_hash_lookup_int. From Jan Nieuwenhuizen
355 2005-06-26 Olaf Weber <olaf@infovore.xs4all.nl>
357 * xt.ac: Fully quote the arguments of AC_ARG_WITH. From Peter
360 * withenable.ac: Fully quote arguments of AC_ARG_WITH. From Peter
363 * configure.in: Syntax changes to match autoconf2.5x. From Peter
364 Breitenlohner. Version to 3.5.5.
366 * common.ac: Fully quote AC_CONFIG_HEADERS. From Peter
369 * Makefile.in: Replace ac_include with kpse_include. From Peter
372 2005-06-22 Olaf Weber <olaf@infovore.xs4all.nl>
374 * common.ac: Add KPSE_STRUCT_ST_MTIM check.
376 * expand.c: Update some comments.
378 * pathsearch.c: Update some comments.
380 * tex-file.c (init_path): Translate ';' to ':' in values we get
381 from the environment if the latter is our env_sep.
383 * cnf.c (do_line): Always translate ';' to ':' in config values if
384 the latter is the env_sep.
386 * kpathsea.texi: Remove ALLOW_SEMICOLON_IN_FILENAMES comment.
388 2005-06-21 Olaf Weber <olaf@infovore.xs4all.nl>
390 * mktexlsr: Re-export PATH after changing it. Some shells require
391 this. Reported by Albert Chin <china@thewrittenword.com>.
393 * tex-file.c (kpse_find_file): Call kpse_expand() to do tilde and
394 variable expansion, which kpse_path_search_list() doesn't do, but
395 kpse_path_search() did. Re-enabling this was requested by several
396 people, including Oliver Grewe <olligrewe@nexgo.de>.
398 * mktexpk, bugs.texi: From Karl Berry: "Try to be more informative
399 when mktexpk can't guess the mode; reported by Knuth in tex-k
400 mail, 26 Apr 2005 18:07:20 -0400."
402 2005-04-10 Olaf Weber <olaf@infovore.xs4all.nl>
404 * tilde.c (kpse_tilde_expand): Slightly simplify code.
406 * tilde.c (kpse_tilde_expand): Account for the possibility that
407 we're fed an argument starting with "!!~". Problem reported by
410 2005-03-07 Olaf Weber <olaf@infovore.xs4all.nl>
412 * install.texi: Document texmfvar and USE_TEXMFVAR. From Thomas.
414 * mktexdir: Break out of loop on failure of mkdir. Last-minute
415 change for teTeX 3.0 from Thomas.
417 2005-02-06 Olaf Weber <olaf@infovore.xs4all.nl>
419 * kpsereadlink.man: Correct banner: READLINK -> KPSEREADLINK.
421 2005-02-05 Olaf Weber <olaf@infovore.xs4all.nl>
423 * Makefile.in (texmf.sed): With TEXMFSYSVAR and TEXMFSYSCONFIG
424 added, there's even more potential damage to clean up.
425 (uninstall-data): Try to cleanly uninstall the info document.
427 * texmf.in: Add TEXMFSYSVAR, TEXMFSYSCONFIG for teTeX 3.0. From
430 2005-01-25 Olaf Weber <olaf@infovore.xs4all.nl>
432 * mktexmf: Don't redirect output of cd, Ultrix doesn't like that.
434 2005-01-21 Olaf Weber <olaf@infovore.xs4all.nl>
436 * Makefile.in: Change POSTINSTALL to POST_INSTALL.
438 * mktex.opt: Add texmfvar to list of allowed feature options.
440 * mktexlsr: Make getting the list of directories from $TEXMFDBS
441 more robust. From Thomas.
443 * kpsereadlink.man, kpsestat.man, kpsewhich.man, mktexlsr.man,
444 mktexmf.man, mktextfm.man, mktexpk.man, kpseaccess.man: Man page
445 corrections from Eric S. Raymond <esr@thyrsus.com>.
447 2005-01-07 Olaf Weber <olaf@infovore.xs4all.nl>
449 * mktexpk: Add guess ultre for 1200 dpi. This is a fairly neutral
450 mode, also useful for pdftex. From Karl Berry.
452 * mktexlsr: Make sorting the texmf trees more robust. From
455 2004-12-29 Olaf Weber <olaf@infovore.xs4all.nl>
457 * configure.in: Version 3.5.4.
459 * mktexlsr: Remove duplicate trees. From Thomas.
461 * mktexdir: Remove superfluous cd. From Thomas.
463 * withenable.ac: Sync with Thomas' version, removes
464 --enabled-multiplatform code.
466 2004-12-28 Olaf Weber <olaf@infovore.xs4all.nl>
468 * Makefile.in (texmf.sed): New variables were added named TEXMF*.
469 The cleanup code needed additional fixes for this. From Thomas
472 * mktexnam.opt: Improve comment.
474 * mktexnam: Handle texmfvar option, which directs all writes into
475 the system trees to the TEXMFVAR tree, with the usual caveats.
477 * mktexnam.opt: Add texmfvar option.
479 * texmf.in: Changes to bring it close to teTeX 3.0.
481 2004-12-20 Olaf Weber <olaf@infovore.xs4all.nl>
483 * texmf.in: For XeTeX: TEXINPUTS.xetex, TEXINPUTS.xelatex,
486 2004-12-19 Olaf Weber <olaf@infovore.xs4all.nl>
488 * xt.ac: Mark --with-x-toolkit as obsolete.
490 * Makefile.in [KPATHSEA_CC]: Don't quote $(CC), as it prevents
491 libtool from functioning properly if $(CC) contains options in
492 addition to the compiler name. From Harald Koenig
493 <koenig@science-computing.de>.
495 * mktexpk: Add guesses for dpi 360 and 720. From Frank Küster
496 <frank@kuesterei.ch> (Debian maintainer).
498 * mktexlsr: Write all regular progress messages to stderr, instead
501 * mktexdir: Handle directories with spaces in the names.
503 * mktexupd: If we've called mktexlsr, there is no need to do
504 anything else, so exit immediately. From Thomas.
506 2004-11-28 Olaf Weber <olaf@infovore.xs4all.nl>
508 * texmf.in: Add default entries for $progname and $engine, so we
509 don't expand these to empty if the file is used by pre 3.5.3
512 * mktexmf: Extend the pattern for the cbgreek fonts. From Hartmut
513 Henkel <hartmut_henkel@gmx.de>.
515 2004-10-05 Olaf Weber <olaf@infovore.xs4all.nl>
517 * texmf.in: Add TEXINPUTS.lamed (Aleph's version of lambda) and
518 TEXINPUTS.uft8mex (utf8 variation of mex).
520 2004-08-24 Olaf Weber <olaf@infovore.xs4all.nl>
522 * mktex.opt: Correct syntax error. Reported by Staszek
523 Wawrykiewicz <staw@gust.org.pl>.
525 2004-08-23 Olaf Weber <olaf@infovore.xs4all.nl>
527 * texmf.in: The TEXINPUTS.pdftexinfo entry in obsolete, and will
528 be removed in the future. Alert by Vladimir Volovich
531 * tex-file.c (kpse_find_file): Make debug message conditional
532 KPSE_DEBUG_SEARCH being set.
534 * kpsewhich.c: Remove spurious space in usage message.
536 * tex-file.c (kpse_find_file): Add debug message to clarify what
537 the library is doing when. From Karl Berry <karl@tug.org>.
539 * tex-file.c: Add TEXFONTS to the environment variables for all
540 kinds of font-related stuff. This means you can, if you want to,
541 just dump all font-related files in a single directory and set a
542 single variable to point to it. It doesn't have a default.
543 Suggested by Karl Berry, Hans Hagen, Akira Kakuto.
546 2004-08-17 Olaf Weber <olaf@infovore.xs4all.nl>
548 * mktexlsr, mktex.opt: Use "test ... || test ..." instead of
551 2004-08-06 Olaf Weber <olaf@infovore.xs4all.nl>
553 * xdirname.c: Cygwin also understands UNC names. From Jan
554 Nieuwenhuizen <janneke@gnu.org>.
556 * config.h: Do not define DOSISH for Cygwin. After Jan
557 Nieuwenhuizen <janneke@gnu.org>.
559 * mktex.opt: Refine the test of $COMPSEC a bit, to accomodate
560 Cygwin. After Jan Nieuwenhuizen <janneke@gnu.org>.
562 * mktexlsr: Refine the test for $COMSPEC a bit, to accomodate
563 Cygwin. After Jan Nieuwenhuizen <janneke@gnu.org>.
565 * Makefile.in: Define MAKE_KPSE_DLL when compiling the library to
566 support ugly windows declspec stuff. From Jan Nieuwenhuizen
569 * c-proto.h: Clean up the defines for KPSEDLL a bit. From Jan
570 Nieuwenhuizen <janneke@gnu.org>.
572 * getopt.h: Clean up defines for KPSEDLL a bit. From Jan
573 Nieuwenhuizen <janneke@gnu.org>.
575 2004-08-01 Olaf Weber <olaf@infovore.xs4all.nl>
577 * texmf.in: Undoing some simplifications of the search paths, in
578 particular the texmf/{engine1,engine2,...} style paths are back to
579 accomodate older texmf trees.
581 2004-07-23 Olaf Weber <olaf@infovore.xs4all.nl>
583 * texmf.in: Adapt TRFONTS to Linux groff path, which is the most
584 useful variant these days.
586 2004-07-21 Olaf Weber <olaf@infovore.xs4all.nl>
588 * Makefile.in (uninstall-exec): Add removal rules for libkpathsea
589 and the programs other than kpsewhich.
591 * kpathsea.texi: Push copyright to bottom of page.
593 * texmf.in: Add paths for pdfxtex, pdfxlatex. After Peter
594 Breitenlohner <peb@mppmu.mpg.de>.
596 * texmf.in: Updates/simplifications to paths, from Thomas.
598 2004-07-19 Olaf Weber <olaf@infovore.xs4all.nl>
600 * db.c (kpse_db_search_list): Add cast to suppress warning about
603 2004-07-03 Olaf Weber <olaf@infovore.xs4all.nl>
605 * common.ac: No m4 quoting needed in the KPSE_CROSS_BUILD_VAR
608 * common.ac: Add some invocations of KPSE_CROSS_BUILD_VAR matching
609 usage in ../make/cross.mk.
611 * mktextfm: Use the same code as mktexpk for ignoring metafont
612 errors, to ensure that mktextfm and mktexpk ignore identical sets
615 2004-06-28 Olaf Weber <olaf@infovore.xs4all.nl>
617 * kpathsea.texi: Use @copying, so the license ends up in the HTML
618 output. Use @ifnottex instead of @ifinfo, so that makeinfo --html
619 works without further effort. From Karl Berry.
621 * install.texi: Name of bash manual is now "bash". From Karl
624 2004-06-22 Olaf Weber <olaf@infovore.xs4all.nl>
626 * c-memstr.h [HAVE_STRINGS_H]: Include strings.h if it is
627 available, as opposed to just doing if HAVE_STRING_H is not
628 defined. Otherwise we give conflicting information whether
629 certain old-style functions like index, rindex are defined.
630 * common.ac: Also check for strings.h.
632 * c-memstr.h: Add definitions for index and rindex in terms of
633 strchr and strrchr, as we've got some old code in TeX-live that
634 needs this on some platforms.
636 2004-06-15 Olaf Weber <olaf@infovore.xs4all.nl>
638 * install.texi: Karl Berry pointed out that GNU fileutils is now
641 2004-06-14 Olaf Weber <olaf@infovore.xs4all.nl>
643 * kpathsea.texi: Make it more obvious that applications will often
644 just want to use <kpathsea/kpathsea.h> rather than pick and choose
647 2004-06-11 Olaf Weber <olaf@infovore.xs4all.nl>
649 * kpsewhich.c: Update copyright dates.
651 2004-05-28 Olaf Weber <olaf@infovore.xs4all.nl>
653 * mktexlsr: Rename readlink to kpsereadlink to avoid name clash.
655 * Makefile.in: Rename readlink to kpsereadlink to avoid name
658 2004-05-26 Olaf Weber <olaf@infovore.xs4all.nl>
660 * tex-file.c: Make .fmt the only "true" suffix for format files,
661 and add all other suffixes to the list of alternates. In the next
662 version, these alternates will be dropped entirely.
664 2004-05-11 Olaf Weber <olaf@infovore.xs4all.nl>
666 * Makefile.in (mostlyclean): access -> kpseaccess. From Thomas.
668 2004-05-08 Olaf Weber <olaf@infovore.xs4all.nl>
670 * mktexlsr: Widen the matches for the lsR-pattern, so we omit the
671 temporary directory we used.
673 2004-05-07 Olaf Weber <olaf@infovore.xs4all.nl>
675 * texmf.in: Use $engine in some paths.
677 * kpathsea.texi: Date is May 2004.
679 * kpathsea.texi: Document --engine.
681 * kpsewhich.man: Document -engine.
683 * kpsewhich.c: Implement -engine option.
685 2004-04-24 Olaf Weber <olaf@infovore.xs4all.nl>
687 * cnf.c (read_all_cnf): Fix memory leak.
689 * mktexupd: Fix logic error. Found by Thomas Esser.
691 * tex-file.c (kpse_init_fallback_resolutions): Fix memory leak.
693 2004-04-23 Olaf Weber <olaf@infovore.xs4all.nl>
695 * db.c (kpse_db_search_list): Allow matches like base/plain.tex
696 when a db is used. This was a regression introduced by the switch
697 to kpse_db_search_list. Like the original code, this only works
698 with '/' used for dirsep. Reported by Wlodzimierz Bzyl
701 2004-04-17 Olaf Weber <olaf@infovore.xs4all.nl>
703 * kpsewhich.c (lookup): Partial implementation of -all option.
704 Works only in combination with the -path option.
705 * tex-file.c: Add to list of suffixes that may be used for format
708 * kpathsea.texi: Document -var-value option kpsewhich.
710 * kpsewhich.man: Document -var-value.
712 * kpsewhich.c: Add -var-value option. Change loop that checks for
713 a kpse_file_format_type to check kpse_format_fmt last.
715 * texmf.in: Add TEXINPUTS.aleph, TEXINPUTS.alambda.
717 2004-04-01 Olaf Weber <olaf@infovore.xs4all.nl>
719 * mktexpk: Use dpdfezzz if given 8000 for BDPI. Apparently this
720 is what -Ppdf ends up giving the script.
722 2004-03-26 Olaf Weber <olaf@infovore.xs4all.nl>
724 * Makefile.in (install): access -> kpseaccess
726 2004-03-23 Olaf Weber <olaf@infovore.xs4all.nl>
728 * db.c (kpse_init_db): Look for both "ls-R" and "ls-r" files.
729 Same contents, but when working cross-platform the all-lowercase
730 name is easier to work with.
732 * tex-file.c: Add .afmt as recognized suffix to kpse_fmt_format
733 (for Aleph). Add ls-r as recognized suffix to kpse_db_format.
735 * mktexlsr: Allow both ls-R and ls-r as names for an existing
736 directory tree index file. Always create ls-R.
738 * mktexupd: Check for both ls-R and ls-r.
740 * pathsearch.h (kpse_all_path_search_list): New function. Like
741 kpse_path_search_list, with must_exist true, but returns a list of
742 filenames instead of the first hit.
744 * pathsearch.c (kpse_all_path_search_list): New function. Like
745 kpse_path_search_list, with must_exist true, but returns a list of
746 filenames instead of the first hit.
748 * tex-make.c [WIN32] (maketex): Code to print error message for
749 ERROR_BROKEN_PIPE didn't match the format.
751 * mktexpk: Allow 'angle(0,0)' errors without aborting. From
752 Andreas Degert <ad@papyrus-gmbh.de>.
754 * unixtex.texi: Update from Karl Berry.
756 2004-03-21 Olaf Weber <olaf@infovore.xs4all.nl>
758 * withenable.ac: Make the warnings more obvious if the search for
759 the texmf tree fails. Also try to fall back on kpsewhich if we
760 fail to find anything. A simplified version of code proposed by
761 Stefan Ulrich <stefan.ulrich@zen.co.uk> for xdvik.
763 2004-03-16 Olaf Weber <olaf@infovore.xs4all.nl>
765 * texmf.in: Add file_line_error_style variable, default to false.
767 2004-02-26 Olaf Weber <olaf@infovore.xs4all.nl>
769 * tex-make.c (maketex): Clean up unused variables.
771 * texmf.in: Update link in comment for TEXFONTMAPS.
773 2004-02-25 Olaf Weber <olaf@infovore.xs4all.nl>
775 * mktexnam: Use kpseaccess instead of access.
777 * mktexlsr: Use kpseaccess instead of access.
779 * Makefile.in: Rename the access executable to kpseaccess, as the
780 old name tended to interfere.
782 * kpseaccess.man: Formerly known as access.man.
784 * mktexlsr: Only check for magic string in ls-R file if the file
785 size is larger than 0. Assume that a 0-length ls-R can be
786 overwritten without penalty.
788 * mktexlsr: Use a more accurate method to ensure that directory
789 names, and only directory names, start with ./ in the ls-R file.
791 2004-02-16 Olaf Weber <olaf@infovore.xs4all.nl>
793 * tex-file.c: Rename kpse_script_format to
794 kpse_texmfscripts_format.
796 * tex-file.h: Rename kpse_script_format to
797 kpse_texmfscripts_format.
799 2004-02-15 Olaf Weber <olaf@infovore.xs4all.nl>
801 * mktexpk: psfonts.map and ps2pk.map now found through the map
804 * kpsewhich.c (find_format): psfonts.map and pdftex.map are no
805 longer special case, pdftex.cfg is a special case now.
807 * kpathsea.texi: Update for new formats (misc fonts, web, cweb,
808 enc, cmap, sfd, opentype fonts, pdftex config, lig files,
811 * tex-file.c: Add kpse_lig_format and kpse_script_format.
813 * tex-file.h: Add kpse_lig_format and kpse_script_format.
815 * texmf.in: Add LIGFONTS and TEXMFSCRIPTS.
817 2004-02-10 Olaf Weber <olaf@infovore.xs4all.nl>
819 * db.c (kpse_db_search_list): An absolute or explicit relative
820 name that makes it here would not be found anyway, so test for it
823 * pathsearch.c (search_list): If we're given only absolute or
824 relative filenames, then there is no need to dig into the database
826 (dir_list_search_list): Skip any absolute filenames that make it here.
828 2004-02-08 Olaf Weber <olaf@infovore.xs4all.nl>
830 * Makefile.in (stamp-paths): Add TEXMFDIST. Suggested by Thomas.
832 * texmf.in: Add TEXMFDIST, suggested by Thomas.
834 2004-01-09 Olaf Weber <olaf@infovore.xs4all.nl>
836 * tex-file.c: Add kpse_pdftex_config_format. From Thomas.
838 * tex-file.h: Add kpse_pdftex_config_format. From Thomas.
840 2004-01-04 Olaf Weber <olaf@infovore.xs4all.nl>
842 * texmf.in: Modifications to several paths suggested by Thomas.
844 2003-12-17 Olaf Weber <olaf@infovore.xs4all.nl>
846 * tex-make.c (kpse_make_tex): Allow '+' is font names as well.
847 Reported by Hartmut Henkel <hartmut_henkel@gmx.de>.
849 2003-12-14 Olaf Weber <olaf@infovore.xs4all.nl>
851 * progname.c: Set "progname" in the environment.
853 * tex-file.h: Add new formats: kpse_enc_format, kpse_cmap_format,
854 kpse_sfd_format, kpse_opentype_format. Requested by Thomas.
856 * tex-file.c: Add new formats: kpse_enc_format, kpse_cmap_format,
857 kpse_sfd_format, kpse_opentype_format. Requested by Thomas.
859 2003-02-27 Olaf Weber <olaf@infovore.xs4all.nl>
861 * mktexmf: csso12[0-5][0-9] are from CJK package; unsupported by
862 mktexmf. Fix by Werner Lemberg <wl@gnu.org>.
864 2003-02-19 Olaf Weber <olaf@infovore.xs4all.nl>
866 * kpathsea.texi: Version 3.5.2.
868 * configure.in: Version 3.5.2.
870 * cnf.c (do_line): KISS: Use IS_ENV_SEP(':') to check whether we
871 might want to replace ';' with ':' in paths instead of trying to
872 figure whether 'unix' should have been defined.
874 * db.c (kpse_db_search_list): Change fix to prevent "re-use" of
875 aliases for the sake of clearer code.
877 * db.c: Set aliases to NULL after freeing it, so we don't try to
878 realloc the same value as well. Reported by Thomas Esser
879 <te@dbs.uni-hannover.de>.
881 2003-02-17 Olaf Weber <olaf@infovore.xs4all.nl>
883 * configure.in: Version 3.5.1.
885 * kpathsea.texi: Version 3.5.1.
887 2003-02-15 Olaf Weber <olaf@infovore.xs4all.nl>
889 * kpathsea.texi: Version 3.5.0.
891 * configure.in: Version 3.5.0.
893 * kpathsea.version: removed.
895 * Makefile.in (dist): Remove kpathsea.version.
897 * common.ac: From klibtool to libtool. Based on patches from
898 Albert Chin-A-Young <china@thewrittenword.com>.
900 * Makefile.in: From klibtool to libtool. Based on patches from
901 Albert Chin-A-Young <china@thewrittenword.com>.
903 * texmf.in: Add TEXINPUTS.olatex path.
905 * tex-file.c: Add additional suffixes for formats.
907 * withenable.ac: When texmfmain is derived from ${prefix}, don't
910 2003-02-11 Olaf Weber <olaf@infovore.xs4all.nl>
912 * pathsearch.c (search_list): Add some grotty code for the
913 searches of absolute pathnames. (Grotty: if _any_ of the given
914 pathnames is absolute or explicit relative, _and_ it is found, we
915 stop searching then and there.) Found by Peter Breitenlohner
918 2003-02-07 Olaf Weber <olaf@infovore.xs4all.nl>
920 * kpathsea.version: Version 3.4.6
922 * kpathsea.texi: Version 3.4.6.
924 * configure.in: Version 3.4.6.
926 * texmf.in: Additions for e-Omega.
928 * tex-file.c (kpse_find_file): Use kpse_path_search_list for
931 * pathsearch.h (kpse_path_search_list): New function.
933 * pathsearch.c (dir_list_search_list): New function.
934 (search_list): New function.
935 (kpse_path_search_list): New function: search for a list of names,
936 look for all names in the list in each directory before moving to
939 * db.h (kpse_db_search_list): New function.
941 * db.c (kpse_db_search_list): New function.
943 2003-01-31 Olaf Weber <olaf@infovore.xs4all.nl>
945 * lib.h: Add include of c-proto.h. Suggested by Peter
948 2003-01-29 Olaf Weber <olaf@infovore.xs4all.nl>
950 * kpathsea.version: Version 3.4.5.
952 * kpathsea.texi: Version 3.4.5.
954 * configure.in: Version 3.4.5.
956 2003-01-24 Olaf Weber <olaf@infovore.xs4all.nl>
958 * config.h [KPATHSEA]: 33 -> 34.
959 [DEV_NULL]: Added, "/dev/null" on unix, "NUL" on DOSISH.
961 * texmf.in [TEXCONFIG]: Remove "." from path for security reasons.
963 2003-01-16 Olaf Weber <olaf@infovore.xs4all.nl>
965 * kpathsea.texi: Version 3.4.4.
967 * configure.in: Version 3.4.4.
969 * kpathsea.version: Version 3.4.4.
971 * unixtex.texi: Updates.
973 2003-01-14 Olaf Weber <olaf@infovore.xs4all.nl>
975 * texmf.in: Uncomment definitions for VARTEXMF, HOMETEXMF. Change
976 TEXMF itself to be same as teTeX. Move '//' outside braces in
977 XDVIINPUTS and DVIPDFMINPUTS -- not strictly needed, but
978 consistent with how we do it everywhere else. Comment out (but
979 otherwise retain) KPSE_DOT.
981 2003-01-11 Olaf Weber <olaf@infovore.xs4all.nl>
983 * kpathsea.version: Version 3.4.3.
985 * kpathsea.texi: Version 3.4.3.
987 * configure.in: Version 3.4.3.
989 2003-01-08 Olaf Weber <olaf@infovore.xs4all.nl>
991 * texmf.in: Add TEXPSHEADERS.dvipdfm, from Thomas.
993 2002-12-25 Olaf Weber <olaf@infovore.xs4all.nl>
995 * tex-file.c (kpse_init_format): Add ".web" to the suffixes
998 2002-12-23 Olaf Weber <olaf@infovore.xs4all.nl>
1000 * dir.c (dir_links): Argh. Error while merging stuff from
1003 * kpathsea.version: Version 3.4.2.
1005 * configure.in: Version 3.4.2.
1007 * kpathsea.texi: Version 3.4.2.
1009 * tex-make.c (maketex) [WIN32]: Add program calling
1010 implementation. From Fabrice Popineau
1011 <Fabrice.Popineau@supelec.fr>.
1013 * Makefile.in: Test for kpathsea.info explicitly in current
1014 directory. Some makes prepend the source dir path otherwise, which
1015 would cause installation of the info files to fail. From Thomas
1016 Esser <te@dbs.uni-hannover.de>.
1018 2002-12-20 Olaf Weber <olaf@infovore.xs4all.nl>
1020 * configure.in: Version 3.4.1.
1022 * kpathsea.texi: Version 3.4.1.
1024 * kpathsea.version: Version 3.4.1.
1026 * tex-file.c (add_suffixes): Removed function.
1027 (SUFFIXES, ALT_SUFFIXES): Use kpse_set_suffixes instead of
1030 * tex-make.c (kpse_make_tex): On second thought, we should not get
1031 dirseps in these names, ever.
1033 2002-12-17 Olaf Weber <olaf@infovore.xs4all.nl>
1035 * tex-make.c (maketex): Be sure to set ret to NULL if there's
1036 nothing to return. From Akira Kakuto
1037 <kakuto@fsci.fuk.kindai.ac.jp>.
1039 2002-12-15 Olaf Weber <olaf@infovore.xs4all.nl>
1041 * tex-file.c: Properly terminate MKTEXPK_ARGS with a NULL.
1042 Spotted by Akira Kakuto <kakuto@fsci.fuk.kindai.ac.jp>.
1044 2002-12-14 Olaf Weber <olaf@infovore.xs4all.nl>
1046 * kpathsea.texi: Version 3.4.0.
1048 * kpathsea.version: Version 3.4.0.
1050 * configure.in: Version 3.4.0.
1052 * texmf.in: Typo in TEXINPUTS.pdfemex-pl.
1054 * xbasename.c (xbasename): Remove redundant call to strlen. From
1057 * tex-make.c (misstex): Update to print command line correctly.
1058 (maketex): Handle argv style array for command. For unix case, call
1059 fork and exec directly instead of using popen.
1060 (kpse_make_tex): Handle argv style array for defining a command. Be
1061 very restrictive about what a name passed may contain -- this may
1062 well break somethings.
1064 * tex-file.h (kpse_format_info): Instead of having programs args
1065 be a single string, use an argv style array.
1067 * tex-file.c (init_maketex): Change to store command line as an
1069 [MKTEXPK_ARGS]: Define list of strings instead of single string.
1070 (kpse_init_format): Update debugging code to match new
1071 kpse_format_info structure.
1073 * progname.c [WIN32]: Updates from Fabrice.
1075 * pathsearch.h: Typo in comment.
1077 * pathsearch.c: Typo in comment.
1079 * kpsewhich.c: Correct copyright notice.
1081 * hash.c (hash_normalized): New function.
1082 (hash_insert_normalized): New function.
1083 [MONOCASE_FILENAMES]: Normalize to lower case, not upper case, because
1084 that's what in the ls-R files we distribute.
1086 * fontmap.c (map_file_parse): Use hash_insert_normalized. Again,
1087 we assume the contents of font maps are already normalized.
1089 * expand.c (kpse_expand_kpse_dot): Typo in comment.
1090 (brace_expand): Clarify the comment.
1092 * dir.c (dir_p) [WIN32]: safe_beg_of_path -> kpse_normalize_path.
1094 (dir_links) [WIN32]: Changes to code that stores and retrieves
1095 integers from pointers.
1097 * db.c (db_build): Call hash_insert_normalized -- names from the
1098 ls-R file should be normalized already.
1099 (alias_build): Call hash_insert_normalized -- names from the alias
1100 file should be normalized already.
1101 (kpse_db_insert): Note that we call hash_insert here deliberately.
1103 * hash.h (hash_insert_normalized): New function.
1105 * concat.c (concat): Start strcat at the end of the previous
1108 * absolute.c (kpse_absolute_p) [WIN32]: Remove explicit test for
1109 UNC names, they're already covered by the test for names starting
1111 [TEST] (main): Added, from Fabrice.
1113 2002-11-13 Olaf Weber <olaf@infovore.xs4all.nl>
1115 * kpathsea.version: To 3.3.11.
1117 * kpathsea.texi: To 3.3.11.
1119 * configure.in: To 3.3.11.
1121 2002-11-12 Olaf Weber <olaf@infovore.xs4all.nl>
1123 * cnf.c (do_line): First check whether len-1 exists, then access
1124 it, rather than the other way round. Spotted by Joern Clausen
1125 <joern@techfak.uni-bielefeld.de>.
1127 * texmf.in: obj_tab_size.context is now redundant. From Thomas.
1129 * mktextfm: Use the same detection mechanism for mf-nowin as
1130 mktexpk. From Thomas.
1132 2002-11-11 Olaf Weber <olaf@infovore.xs4all.nl>
1134 * kpathsea.version: Version 3.3.10.
1136 * kpathsea.texi: Version 3.3.10.
1138 * configure.in: Version 3.3.10.
1140 * texmf.in: Disable parse_first_line by default (sorry). Enlarge
1141 a number of constants in general, as opposed to defining lots of
1142 context-specific versions.
1144 * progname.c (remove_dots): We did not correctly handle paths with
1145 ../.. in them. There is still one corner case left, if the path
1146 would try to go to the "parent" of the root directory.
1148 * mktextfm: Test for mf-nowin in a shubshell. Otherwise error
1149 messages could end up being printed if mf-nowin does not exist.
1151 * mktexpk: Test for mf-nowin in a subshell.
1153 2002-10-25 Olaf Weber <olaf@infovore.xs4all.nl>
1155 * kdefault.c (kpse_expand_default): Simplify the life of the
1156 callers by always returning allocated memory, so the returned
1157 string can be freed. John W. Eaton <jwe@bevo.che.wisc.edu>
1160 2002-10-22 Olaf Weber <olaf@infovore.xs4all.nl>
1162 * withenable.ac: Correct handling of mktexfmt option.
1164 * tex-file.c: Add .oft to regcognized suffixes for tex_format.
1166 * mktexupd: Correct Thomas' email address.
1168 * mktextfm: Correct Thomas' email address.
1170 * mktexpk: Correct Thomas' email address.
1172 * mktexnam.opt: Correct Thomas' email address.
1174 * mktexnam: Correct Thomas' email address.
1176 * mktexmf: Correct Thomas' email address.
1178 * mktexlsr: Correct Thomas' email address.
1180 * mktexdir.opt: Correct Thomas' email address.
1182 * mktexdir: Correct Thomas' email address.
1184 * mktex.opt: Correct Thomas' email address.
1186 * kpathsea.version: Update to 3.3.9.
1188 * kpathsea.texi: Update to 3.3.9.
1190 * configure.in: Update to 3.3.9.
1192 * common.ac: Correct handling of mktexmft option.
1194 2002-10-16 Olaf Weber <olaf@infovore.xs4all.nl>
1196 * tex-make.c (kpse_make_tex): Move the test for problematic
1197 filenames so we only do this when we're actually willing to make a
1200 2002-10-11 Olaf Weber <olaf@infovore.xs4all.nl>
1202 * kpathsea.texi: Update date/version to 3.3.8.
1204 * NEWS: Update for 3.3.8.
1206 * configure.in: Version 3.3.8.
1208 * kpathsea.version: Version 3.3.8.
1210 * Makefile.in: Remove install rules for mktexfmt, as it is not a
1213 2002-10-06 Olaf Weber <olaf@infovore.xs4all.nl>
1215 * texmf.in: Expand main_memory (again).
1217 * xstat.c: Remove lstat() declaration.
1219 * variable.c (kpse_var_value): Check for NAME.progname in the
1220 environment before checking for NAME_progname. Both can occur,
1221 even on UNIX systems.
1223 * tex-file.c (init_path): We need to check PATH.progname,
1224 PATH_programe, and PATH in the environment. PATH.progname is the
1225 "logical" way to set the name on Windows systems, and can even
1226 occur on UNIX systems if env(1) is used to set the environment
1229 * withenable.ac: Add --with-mktexfmt-default option. After
1230 Fabrice Popineau. He used --with-mkfmt-default, but this was
1231 changed to match the other options.
1233 * texmf.in: Add XDVIINPUTS, TEXINPUTS.pdfamstex. Modiy definition
1234 of TEXMFLOCAL to match Thomas', add MKTEXFMT. All part of the
1237 * tex-make.c (kpse_make_tex): Complain if a number of problematic
1238 characters are found in the requested font name -- this works in
1239 combination with a check in maketex() to prevent misuse of the
1240 system() call that starts the mktex* scripts.
1242 * tex-file.c (kpse_init_format): Support for mktexfmt, from
1245 * mktexupd: Delete CR characters at the end-of-line before doing
1246 the compare. Yet another hack for windows/unix cross-platform
1249 * mktextfm: TeXlive merge: support for mf-nowin.
1251 * mktexpk: TeXlive merge: considerably reorganized to support use
1254 * mktexnam: Additional definitions for the LH fonts. TeXlive
1257 * mktexmf: Additional definitions for the LH fonts. TeXlive
1260 * common.ac: Add support for MAKE_TEX_FMT. From Fabrice Popineau.
1262 * acconfig.h [MAKE_TEX_FMT_BY_DEFAULT] Added. After Fabrice
1265 2002-07-16 Olaf Weber <olaf@infovore.xs4all.nl>
1267 * kpsewhich.c (find_format): Remove special case for pdftex.cfg.
1270 * kpsewhich.c (find_format): Hard-code format types for pdftex.cnf
1273 2002-07-08 Olaf Weber <olaf@infovore.xs4all.nl>
1275 * mktex.opt: Limit permissions on $TEMPDIR.
1277 * mktexlsr: Limit permissions on tmp directory.
1279 2002-06-04 Olaf Weber <olaf@infovore.xs4all.nl>
1281 * texmf.in: Remove setting of src_specials: it will be ignored
1282 anyway as we'll only allow it to be set from the command line.
1284 2002-05-28 Olaf Weber <olaf@infovore.xs4all.nl>
1286 * mktexdir: Guard $KPSE_DOT with quotes. From Emmanuel_Thomé
1287 <thome@lix.polytechnique.fr>.
1289 2002-04-01 Olaf Weber <olaf@infovore.xs4all.nl>
1291 * mktexlsr: Strip a trailing CR before testing the first line of
1292 an ls-R file. Needed for interoperability with Windows (sigh).
1294 * tex-make.c (maketex): Use a literal "r" in the popen command, as
1295 (under UNIX) it tends not to understand "rb", and we're generating
1298 2001-11-27 Olaf Weber <olaf@infovore.xs4all.nl>
1300 * kpathsea.texi: Version 3.3.7.
1302 * configure.in: Version 3.3.7.
1304 2001-11-25 Olaf Weber <olaf@infovore.xs4all.nl>
1306 * types.h: Define boolean as int whenever we can. This makes the
1307 option-handling code correct (where pointer to int and pointer to
1308 boolean need to be the same type).
1310 * install.texi: Update totals to (hopefully) more accurate values.
1312 2001-11-19 Olaf Weber <olaf@infovore.xs4all.nl>
1314 * line.c (read_line): Add prototype.
1316 2001-11-18 Olaf Weber <olaf@infovore.xs4all.nl>
1318 * kpathsea.version: Version 3.3.6.
1320 * kpathsea.texi: Version 3.3.6.
1322 * configure.in: Version 3.3.6.
1324 * xgetcwd.c: Changes to keep C++ compilers from choking.
1326 * xdirname.c: Changes to keep C++ compilers from choking.
1328 * variable.c: Changes to keep C++ compilers from choking.
1330 * str-list.c: Changes to keep C++ compilers from choking.
1332 * readable.c: Add pathsearch.h to included headers, for
1333 kpse_normalize_path.
1335 * pathsearch.c: Changes to keep C++ compilers from choking.
1337 * path-elt.c: Changes to keep C++ compilers from choking.
1339 * make-suffix.c: Changes to keep C++ compilers from choking.
1341 * line.c: Changes to keep C++ compilers from choking.
1343 * kpsewhich.c: Changes to keep C++ compilers from choking.
1345 * kdefault.c: Changes to keep C++ compilers from choking.
1347 * fontmap.c: Changes to keep C++ compilers from choking.
1349 * fn.h (fn_grow): Second argument is a const_string, not a generic
1352 * fn.c (fn_grow): Second argument is a const_string, not generic
1355 * expand.c: Add a few casts to ensure a C++ compiler wouldn't
1358 * dir.c (dir_links): Replace a conditional expression with an
1361 * db.c: Add a few casts, rename 'try', all to ensure a C++
1362 compiler wouldn't choke.
1364 * cnf.c: Add a few casts, rename 'try', all to ensure a C++
1365 compiler wouldn't choke.
1367 * c-proto.h: Addtional P*H and P*C macros for functions with up to
1370 2001-11-14 Olaf Weber <olaf@infovore.xs4all.nl>
1372 * readlink.c (main): Add prototype.
1374 * kpsewhich.c (main): Add prototype.
1376 * kpsestat.c (main): Add protype.
1378 * c-pathch.h [WIN32] (IS_UNC_NAME): An unc name can be //<digit>
1379 as well as //<letter>.
1381 * access.c (main): Prototype.
1383 2001-11-10 Olaf Weber <olaf@infovore.xs4all.nl>
1385 * kpathsea.version: Version 3.3.5.
1387 * kpathsea.texi: Version, date.
1389 * configure.in: Version 3.3.5.
1391 * texmf.in: Additional entries for mex-pl, platex-pl, pdfplatex,
1392 pdfmex-pl, pdfemex, pdfemex-pl. As usual, ConTeXt wants more
1395 * mktexnam: First set defaults, then modify for explicit
1396 destination, not the reverse. From Thomas.
1398 * mktex.opt: Preserve return code over trap. From Thomas.
1400 * kpsewhich.man: Typo.
1402 2001-10-30 Olaf Weber <olaf@infovore.xs4all.nl>
1404 * configure.in: To 3.3.4.
1406 * kpathsea.version: To 3.3.4.
1408 * mktexnam.opt: Robustness fix for handling of NAME. Minor
1409 changes in the handling of the defaults when a name isn't found in
1410 the supplier or typeface maps.
1412 * tex-file.c: Add ".ch" as alternate suffix for kpse_web_format
1413 and kpse_cweb_format.
1415 * readable.c [main]: Call kpse_normalize_path.
1417 * progname.c [WIN32]: Update from Fabrice.
1419 * pathsearch.h [WIN32]: Remove prototype for safe_beg_of_path.
1420 Add prototype for kpse_normalize_path.
1422 * pathsearch.c (path_search) [WIN32]: Remove call to
1424 (path_search): Add call to kpse_normalize_path.
1426 * expand.c (kpse_path_expand): Don't strip devices and such here,
1427 as we're doing that in kpse_element_dirs anyway.
1429 * elt-dirs.c [WIN32]: Remove safe_beg_of_path.
1430 (kpse_normalize_path): Replaces safe_beg_of_path, but is defined on
1433 * dir.c [WIN32]: Remove safe_beg_of_path prototype here.
1435 * common.ac: Test whether libm exists. If it does, we
1436 unconditionally link with it, which is probably wrong.
1438 * cnf.c [__NetBSD__]: Define unix.
1440 * c-pathch.h [IS_UNC_NAME]: Define on all architectures.
1442 * Makefile.in (distdir): Add *.ftp to destination directory.
1444 2001-09-26 Olaf Weber <olaf@infovore.xs4all.nl>
1446 * texmf.in: Add support for Web and Cweb files (kpse_web_format,
1447 kpse_cweb_format). Requested by Wlodek Bzyl.
1449 * tex-file.h, tex-file.c: Add support for Web and Cweb files
1450 (kpse_web_format, kpse_cweb_format). Requested by Wlodek Bzyl.
1452 2001-07-23 Olaf Weber <olaf@infovore.xs4all.nl>
1454 * common.ac [kb_cv_func_putenv_malloc]: Add declaration for
1455 malloc, which testing on IA64 revealed to be missing.
1457 2000-08-25 Olaf Weber <olaf@infovore.xs4all.nl>
1459 * mktexlsr: Changed the fix for NeXT.
1461 2000-08-05 Olaf Weber <olaf@infovore.xs4all.nl>
1463 * kpathsea.texi: Bump version, date.
1465 * kpathsea.version: Bump version.
1467 * configure.in: Update for 3.3.3.
1469 * NEWS: Update for 3.3.3.
1471 * mktexlsr: On NeXT, 'rm -rf ' will recursively remove the current
1472 directory. This is bad if you're in / and are root.
1474 2000-05-25 Olaf Weber <olaf@infovore.xs4all.nl>
1476 * lib.h [MONOCASE_FILENAMES]: Parenthesis was omitted in
1477 FILESTRNCASEEQ. Found by Fabrice.
1479 2000-04-26 Olaf Weber <olaf@infovore.xs4all.nl>
1481 * unixtex.texi: Added notes that web2c is bare-bones, and that the
1482 texk/texklib packages may contain older components.
1484 2000-04-21 Olaf Weber <olaf@infovore.xs4all.nl>
1486 * progname.c: Add P?C macros to functions that lacked them.
1488 * lib.h [STREQ,STRNEQ,FILESTRCASEEQ,FILESTRNCASEEQ]: If any
1489 argument is NULL, compare unequal.
1491 2000-04-13 Olaf Weber <olaf@infovore.xs4all.nl>
1493 * tex-hush.c (kpse_tex_hush): Check for "all" and "none" first,
1494 then look for more specific switches. This fixes the most common
1495 case of problems due to non-reentrancy of kpse_path_element.
1497 * kpathsea.texi: Correct example of brace expansion. Document
1498 TEX_HUSH = none. Found by Tijs Michels <M.H.M.Michels@kub.nl>.
1500 * texmf.in: Document the use of TEX_HUSH = none.
1502 2000-04-03 Olaf Weber <olaf@infovore.xs4all.nl>
1504 * texmf.in: Add variable for src_specials. Increase arrays for
1507 * xopendir.c [WIN32]: Only define xclosedir.
1509 * kpsewhich.man: Spelling correction.
1511 * getopt.h [WIN32]: For definition of __STDC__ to 1.
1513 2000-04-02 Olaf Weber <olaf@infovore.xs4all.nl>
1515 * xopendir.c [WIN32]: Define neither xopendir nor xclosedir. From
1516 Han The Thanh <thanh@informatics.muni.cz>.
1518 * xputenv.c (xputenv): The WIN32 conditional code is also valid
1519 for DJGPP. From Fabrice.
1521 * xmalloc.c (xmalloc): Allocate 1 byte if passed size 0.
1523 * xdirname.c (xdirname): Changes for Win32 from Fabrice.
1525 * tex-file.h: Prototype for kpse_set_suffixes. From Fabrice.
1527 * tex-file.c (kpse_set_suffixes): New function, added by Fabrice.
1529 * readable.c: Win32-related changes from Fabrice.
1531 * progname.c [WIN32]: Various changes from Fabrice.
1533 * pathsearch.h [WIN32]: Declare safe_beg_of_path. From Fabrice.
1535 * pathsearch.c (path_search [WIN32]): Use safe_beg_of_path. From
1538 * kpsestat.c: Remove WIN32 define. From Fabrice.
1540 * hash.c [MONOCASE_FILENAMES]: Change for the WIN32 case from
1543 * getopt.h [WIN32]: Changes from Fabrice.
1545 * getopt.c [WIN32 && ! __CYGWIN32__]: Ensure getpid is not defined
1546 before defining it. From Fabrice.
1548 * lib.h: Update dir_links prototype, from Fabrice.
1550 * elt-dirs.c: Win32 related changes from Fabrice.
1552 * dir.c: Various Win32-related changes from Fabrice.
1554 * config.h: Various changes for the DOS famility of systems. From
1557 * c-stat.h [WIN32]: Use oldnames.h instead of kpathsea/win32lib.h.
1560 * c-proto.h [WIN32]: _DLL -> KPSE_DLL, from Fabrice Popineau.
1562 * c-memstr.h: Move closer to just the ANSI string functions, if
1563 necessary defined in terms of the BSD functions. After Thomas
1564 Esser <te@informatik.uni-hannover.de>.
1566 [FOPEN_RBIN_MODE, FOPEN_WBIN_MODE, FOPEN_ABIN_MODE]: Specify
1567 binary I/O mode on all systems, not just those where it makes a
1569 [VMCMS]: Remove as it isn't used.
1570 [SET_BINARY]: Change defines which select it. From Fabrice
1571 Popineau. <popineau@esemetz.ese-metz.fr>
1573 * c-ctype.h [WIN32]: On Windows, get isascii from oldnames.h.
1574 After Fabrice Popineau <popineau@esemetz.ese-metz.fr>.
1576 * access.c: Replace WIN32 code with generic code.
1578 2000-01-31 Olaf Weber <olaf@infovore.xs4all.nl>
1580 * mktexlsr: Fix possible symlink exploit. By Thomas Esser
1581 <te@informatik.uni-hannover.de>.
1583 1999-06-28 Olaf Weber <olaf@infovore.xs4all.nl>
1585 * mktextfm: Get rid of error message if hbf2gf cannot be found.
1588 * tex-glyph.c: Test whether glyph_file is NULL before
1589 dereferencing it. Suggested by Julian Gilbey
1590 <J.D.Gilbey@qmw.ac.uk>.
1592 * texmf.in: Improved comments about VARTEXMF, along lines
1593 suggested by Thomas Esser.
1594 Increased font_mem_size, as requested by Thomas.
1596 * pathsearch.c (path_search): Print a message if we're debugging
1597 the search and we're not pounding the disk because an ls-R file
1598 exists but must_exist=0. This to highlight the most confusing
1599 case where disk searches do not happen.
1601 * mktextfm.man: Cleanup of synopsis.
1603 * mktex.opt: More robust handling of TEMPDIR, after Luc Van Eycken
1604 <Luc.VanEycken@esat.kuleuven.ac.be>.
1606 * kpsestat.man: Remove comment about unclear message.
1608 * kpsestat.c (main): Print a more understandable message when the
1611 1999-06-20 Olaf Weber <olaf@infovore.xs4all.nl>
1613 * pathsearch.c (log_search): If TEXMFLOG is defined, then the
1614 kpathsea library would write a space to stderr for every file
1615 logged. Fix from Charles Karney <karney@pppl.gov>.
1617 1999-05-29 Olaf Weber <olaf@infovore.xs4all.nl>
1619 * configure.in: Update version number to 3.3.1.
1621 * kpathsea.version: Update version number to 3.3.1.
1623 * kpathsea.texi: Update version info.
1625 * mktexnam, mktexmf: Fix the LH patterns to be more specific.
1628 * unixtex.texi: Remove node on tape distributions.
1630 * texmf.in: Add platex, add comment about TEXMFDBS.
1632 * tex-file.c (kpse_find_file): Fix off-by-one in tests for suffix
1635 * pathsearch.c (log_search): Fix problem with debugging output.
1637 * mktextfm: Order of options to hbf2gf turns out to matter.
1639 * mktexpk: Updates from Thomas: don't remove generated fonts
1640 because of bad pos errors; better handling of type1 fonts.
1642 * mktexnam: Updates from Thomas for Czech fonts. Consult fontmaps
1643 if a fonts fell into unknown/unknown.
1645 * mktexmf: Updates from Thomas for Czech fonts.
1647 * mktexdir: Small fix from Julian Gilbey.
1649 * cnf.c: Apple's MacOsX is also unix-like.
1651 * access.c: Parametrise the help string as in readlink.c.
1653 * Makefile.in: Use INSTALL_DATA, not INSTALL_SCRIPT, for the *.opt
1656 * AUTHORS: Update accounts for MakeTeX scripts and expand.c.
1658 * c-memstr.h: Don't declare strstr if strstr is already a define.
1659 Suggested by Paul Vojta <vojta@math.berkeley.edu>.
1661 * readlink.c: Corrected a bug in the help string (wrong program
1662 name), reported by several people.
1664 1999-03-26 Olaf Weber <olaf@infovore.xs4all.nl>
1666 * kpathsea.version: Set MINOR to 3.
1668 * configure.in: Bumped KPSEVERSION to 3.3.
1670 1999-03-23 Olaf Weber <olaf@infovore.xs4all.nl>
1672 * texmf.in: More changes from Thomas, add MISCFONTS for
1673 kpse_miscfonts_format.
1675 * tex-file.c: Implement kpse_miscfonts_format.
1677 * tex-file.h: New format: kpse_miscfonts_format, to be used for
1678 small sets of fonts for which no real type has been defined.
1680 * mktextfm: Add support for hbf fonts. (From Werner Lemberg.)
1682 * withenable.ac: Remove implementation of some --with-* options.
1684 * common.ac: Move implementation of some --with-* options here
1685 from withenable.ac, so the latter can be included elsewhere with
1686 kpathsea's acconfig.h or derivatives being seen.
1688 1999-03-17 Olaf Weber <olaf@infovore.xs4all.nl>
1690 * texmf.in: Size increases for context, requested by Hans Hagen.
1692 * texmf.in: Update from Thomas.
1694 * Makefile.in: TEXMF_CNF -> VARTEXMF
1696 * mktexmf: Small fix to a case statement from Berthold Höllmann
1697 <bhoel@starship.python.net>.
1699 1999-03-15 Olaf Weber <olaf@infovore.xs4all.nl>
1701 * win32lib.h: Patch from Fabrice.
1703 * variable.c (kpse_var_value, expand): Handle the VAR_progname
1704 construct. After Julian Gilbey <jdg@maths.qmw.ac.uk>.
1706 * tex-file.c: Fixes to the code that forces an update of the
1707 paths. After Julian Gilbey <jdg@maths.qmw.ac.uk>.
1709 * mktexmf: Changes to support CB font family. From Kimon
1710 Kontovasilis <kimon@cyclades.nrcps.ariadne-t.gr>.
1712 * kpathsea.texi: Update address info of TUG.
1714 * config.h: Remove outdated comment, explicitly include
1717 * cnf.c (do_line): Correct comment, remove unused code.
1718 (read_all_cnf): Strip trailing whitespace.
1719 (kpse_cnf_get): Fix memory leak.
1720 After Julian Gilbey <jdg@maths.qmw.ac.uk>.
1722 * acconfig.h: We no longer use this for all kpathsea using
1723 programs, just kpathsea itself. Thus the WEB2CVERSION macro goes,
1724 as does other stuff that belongs to web2c or xdvik.
1726 * Makefile.in: Allow the c-auto.h file to be installed.
1728 1999-02-18 Olaf Weber <olaf@infovore.xs4all.nl>
1730 * mktex.opt: Document nomfdrivers option.
1732 * mktextfm: Implement nomfdrivers option.
1734 * mktexpk: Implement nomfdrivers option.
1736 * install.texi: Document new option: nomfdrivers.
1738 * kpsewhich.man: Document how search parts are determined.
1740 * mktexlsr: Really skip empty components. From Thomas.
1742 * tex-file.c (kpse_reset_program_name): Don't free the old paths,
1743 they may not have been allocated on the heap.
1745 1999-02-16 Olaf Weber <olaf@infovore.xs4all.nl>
1747 * tex-file.c (kpse_reset_program_name): Ensure that when the
1748 program name changes, the various paths will indeed be updated.
1750 1999-02-14 Olaf Weber <olaf@infovore.xs4all.nl>
1752 * mktexupd: Fix test whether argument is a directory name. From
1755 * mktexlsr: Skip empty components.
1757 * mktexnam.opt: This file is supposed to be sourced, not executed,
1758 so remove the #!. From Thomas.
1760 * mktexdir.opt: This file is supposed to be sourced, not executed,
1761 so remove the #!. From Thomas.
1763 * mktex.opt: This file is supposed to be sourced, not executed, so
1764 remove the #!. From Thomas.
1766 * config.h: Make sure c-auto.h is included before win32lib.h,
1767 which needs definitions from the former.
1769 1999-02-06 Olaf Weber <olaf@infovore.xs4all.nl>
1771 * win32lib.h: Add pragma warning, for the S_* defines, only define
1772 them if they are not defined already.
1774 * pathsearch.h (kpse_all_path_search): Add KPSEDLL, from Fabrice.
1776 * debug.h (fclose): Add KPSEDLL, from Fabrice.
1778 * config.h [WIN32]: Remove pragma warning. From Fabrice.
1780 1999-02-04 Olaf Weber <olaf@infovore.xs4all.nl>
1782 * withenable.ac: Rename AR_OPTS to ARFLAGS.
1784 * texmf.in: Cleanup of semicolon/comma. Remove the double slash
1785 between 'fonts' and its subdirs. Sites using pseudo-TDS will have
1786 to add these by hand from now on.
1788 * tex-file.c (init_path, add_suffixes): Remove __cdecl, from
1791 * mktexmf: Special cases for 30 and 36 points, as requested by the
1792 sauter mainainer Jeroen Nijhof <J.H.B.Nijhof@aston.ac.uk>.
1794 * kpsewhich.c (main): Remove __cdecl, from Fabrice.
1796 * kpsestat.c (main): Remove __cdecl, from Fabrice.
1798 * install.texi: The +u flag is no longer recommended for HP-UX.
1800 * getopt.h [!WIN32]: Remove define of __cdecl, from Fabrice.
1802 * elt-dirs.c (safe_beg_of_path): Change return type to unsigned
1803 int, because other functions expect this.
1805 * concatn.c (concatn): Remove __cdecl, from Fabrice.
1807 * common.ac: sinclude from ../texk now, from Thomas.
1809 * c-proto.h [!WIN32]: Removed define of __cdecl, from Fabrice.
1811 * access.c (main): Removed __cdecl, from Fabrice.
1813 1999-01-27 Olaf Weber <olaf@infovore.xs4all.nl>
1815 * xputenv.c (xputenv) [WIN32]: Don't free old value, ever.
1817 * win32lib.h: Fixes by Fabrice.
1819 * win32lib.c: Fixes by Fabrice.
1821 * version.c (kpathsea_version_string, kpse_bug_address): Add
1822 KPSEDLL, by Fabrice.
1824 * variable.h (kpse_var_value, kpse_var_expand): Add KPSEDLL, by
1827 * texmf.in: Change path separators back to commas, use semicolon
1828 instead of colon, correct TEXINPUTS for the pdfeTeX family,
1829 TEXPSHEADERS for the pdfTeX family. By Thomas Esser.
1831 * tex-make.h (kpse_make_tex_discard_errors): Add KPSEDLL, by
1834 * tex-make.c (maketex): Add cast to shup up a compiler. From
1837 * tex-hush.h (kpse_tex_hush): Add KPSEDLL, by Fabrice.
1839 * tex-glyph.h (kpse_find_glyph, kpse_bitmap_tolerance): Add
1840 KPSEDLL, by Fabrice.
1842 * tex-glyph.c (try_resolution): Add casts to quiet a compiler.
1845 * tex-file.h (kpse_fallback_resolutions_string, kpse_format_info,
1846 kpse_set_program_enabled, kpse_maketex_option, kpse_init_format,
1847 kpse_find_file, kpse_open_file, kpse_reset_program_name): Add
1848 KPSEDLL, by Fabrice.
1850 * tex-file.c (init_path, add_suffixes): Add __cdecl, by Fabrice.
1851 (kpse_init_format): Correct definition of "other ... files" to take
1852 different path separators into account. After Fabrice.
1854 * str-list.c (str_list_concat_elements): Make loop indices
1855 unsigned to quiet compilers. By Fabrice.
1857 * readable.h (kpse_readable_file): Add KPSEDLL, by Fabrice.
1859 * readable.c [WIN32] (kpse_readable_file): Many changes by
1862 * progname.h (program_invocation_name,
1863 program_invocation_short_name, kpse_program_name,
1864 kpse_set_program_name, kpse_set_progname): Add KPSEDLL, by
1867 * progname.c: Remove my_dirname function, which returns in its own
1868 file renamed to xdirname. From Fabrice.
1869 (kpse_set_program_name) [WIN32]: Close handle. By Fabrice.
1871 * proginit.h (kpse_init_prog): Add KPSEDLL, by Fabrice.
1873 * pathsearch.h (kpse_path_element, kpse_element_dirs,
1874 kpse_path_search): Add KPSEDLL, by Fabrice.
1876 * pathsearch.c (path_search): We now strip devices in the caller.
1879 * magstep.h (kpse_magstep_fix): Add KPSEDLL, by Fabrice.
1881 * magstep.c (magstep, kpse_magstep_fix): Casts to quiet an unruly
1882 compiler. Added by Fabrice.
1884 * line.h (read_line): Add KPSEDLL, by Fabrice.
1886 * lib.h (concat, concat3, xstrdup, uppercasify, atou, same_file_p,
1887 xbasename, find_suffix, remove_suffix, make_suffix, make_prefix,
1888 extend_filename, xputenv, xputenv_int, xgetcwd,dir_p, dir_links,
1889 xfopen, xfclose, xfseek, xftell, xmalloc, xrealloc, xcalloc): Add
1890 KPSEDLL, by Fabrice.
1891 (xdirname): New function, by Fabrice.
1893 * kpsewhich.c (read_command_line): Add KPSEDLL to external
1894 functions, by Fabrice.
1895 (main): Add __cdecl, by Fabrice.
1897 * kpsestat.c (main): Add __cdecl, by Fabrice.
1899 * hash.h (hash_table_type, hash_insert, hash_remove, hash_lookup):
1900 Add KPSEDLL, by Fabrice.
1902 * hash.c [WIN32]: Different implementation of TRANSFORM, for speed
1903 reasons. From Fabrice.
1905 * getopt.h: Changes for KPSEDLL, by Fabrice.
1907 * fn.h (fn_init, fn_copy0, fn_free, fn_1grow, fn_grow,
1908 fn_str_grow, fn_shrink_to): Add KPSEDLL, by Fabrice.
1910 * expand.h (kpse_expand, kpse_brace_expand, kpse_path_expand): Add
1911 KPSEDLL, by Fabrice.
1913 * elt-dirs.c (safe_beg_of_path): New function by Fabrice. Used to
1914 strip device from a path before feeding it to expand_elt.
1915 (kpse_element_dirs): Call safe_beg_of_path.
1917 * debug.h (kpathsea_debug, fopen): Add KPSEDLL, by Fabrice.
1919 * db.h (kpse_db_insert): Add KPSEDLL, by Fabrice.
1921 * config.h [WIN32]: Add pragma to quiet some warnings. From
1924 * concatn.h (concatn): Add KPSEDLL. From Fabrice.
1926 * concatn.c (concatn): Add __cdecl. From Fabrice.
1928 * cnf.h (kpse_cnf_get): Add KPSEDLL. From Fabrice.
1930 * c-std.h: Don't include math.h if we're seen be a C++ compiler.
1933 * c-proto.h [WIN32]: Instead of defining DllImport, define
1934 KPSEDLL. This change makes building shared libraries on windows
1935 systems work better. From Fabrice.
1937 * c-pathch.h [WIN32]: IS_UNC_NAME macro added by Fabrice.
1939 * access.c (main): Add __cdecl, from Fabrice.
1941 * absolute.h (kpse_absolute_p): Add KPSEDLL, from Fabrice.
1943 * Makefile.in: Account for the addition of xdirname.c.
1945 1999-01-24 Olaf Weber <olaf@infovore.xs4all.nl>
1947 * texmf.in: Add support for pdfeTeX.
1949 * mktexpk: Correct typo: ps_topk -> ps_to_pk.
1951 * mktexnam: New version from Thomas.
1953 * mktexmf: Update for cs* fonts from Thomas.
1955 * kpathsea.texi: Update section on brace expansion. Decided to
1958 * db.c (kpse_db_insert): Replace basename with xbasename.
1960 1999-01-19 Olaf Weber <olaf@infovore.xs4all.nl>
1962 * kpsestat.c (main): Replace use of S_IFMT with an octal literal.
1964 1999-01-14 Olaf Weber <olaf@infovore.xs4all.nl>
1966 * texmf.in: Remove open_any, add openout_any, openin_any.
1968 * str-list.h: Add prototype for str_list_concat_elements.
1970 1999-01-10 Olaf Weber <olaf@infovore.xs4all.nl>
1972 * mktextfm: Implement --foo=bar style options. From Thomas.
1974 * mktexpk: Implement --foo=bar options, by Thomas. Changes for
1975 new version of gsftopk. Changes to handle ttf2pk. From Thomas.
1977 * xt.ac: Remove AC_PATH_XTRA here.
1979 * withenable.ac: Changes to aid cross-compiling. Minor fixes.
1981 * unixtex.texi: Correct tug email address. Minor corrections.
1983 * texmf.in: Minor changes, additions for context. From Thomas.
1985 * tex-file.h: Use size in declaration of kpse_format_info. From
1988 * tex-file.c (kpse_maketex_option): Initialise fmt on entry. Test
1989 whether a fmt had been specified.
1990 (kpse_init_format): Put $TEXMF into the 'other files' formats, from
1993 * str-list.c (str_list_concat_elements): New function, part of
1994 replacement for bash-derived code.
1996 * progname.c (my_subdir): New implementation from Fabrice.
1998 * mktexnam: Account for new release of lh fonts. Don't do subdirs
1999 if we're using $KPSE_DOT as the destination directory.
2001 * mktexupd: Handle empty elements gracefully.
2003 * mktexmf: Account for new release of lh fonts.
2005 * mktexlsr: Minor fixes from Thomas.
2007 * mktexdir: Allow for creating more directories, fixes from
2010 * mktex.opt: Add defaults for DPI and MAG.
2012 * kpsewhich.man: Various minor corrections.
2014 * kpsewhich.c: Begin implementing -all option. (incomplete)
2016 * kpathsea.texi: Correct copyright, tug email address.
2018 * install.texi: Account for new texklib.tar.gz file. Several
2021 * expand.c: Remove bash-derived code.
2023 * elt-dirs.c (do_subdir): Correct code to test whether we descend
2024 into subdirectories.
2026 * db.c: Add kpathsea/c-stat.h to includes.
2027 (db_build): Correct test of '0' to 0.
2029 * common.ac: Check for more functions in AC_CHECK_FUNCS, from
2032 * cnf.c: do_line: Remove premature optimization.
2034 * c-proto.h: Add P8H, P8C, P9H, P9C.
2036 * c-memstr.h: Revision by Thomas Esser.
2038 * c-ctype.h: Add ISBLANK macro.
2040 * acconfig.h: Add define guard for c-auto.h.
2042 * Makefile.in: Change ../make/*.make to ../make/*.mk.
2044 Prevent substitution of $(texmf) in texmf.cnf in some
2046 Replace semicolons with colons in paths.h.
2048 1998-09-15 Olaf Weber <olaf@infovore.xs4all.nl>
2050 * mktexlsr: Trap more signals, make script hold up better under
2051 'sh -e', from Werner Fink <werner@suse.de>.
2053 * mktex.opt: Trap more signals, suggested by several people,
2054 particularly Thomas Gellekum.
2056 1998-08-03 Olaf Weber <olaf@infovore.xs4all.nl>
2058 * progname.c (selfdir): Interpret empty PATH element as "."
2060 1998-07-26 Olaf Weber <olaf@infovore.xs4all.nl>
2062 * tex-glyph.c (kpse_find_glyph): Memory management problem: we
2063 were deallocating a string prematurely.
2064 (try_fontmap): Test !ret before, not after, bumping the loop variable.
2065 Both reported by Werner Lemberg <a7971428@unet.univie.ac.at>.
2067 Sun Jun 21 14:43:44 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2069 * mktexlsr: Test for the presence of the magic string in ls-R, to
2070 prevent accidentally overwriting ls-R files that are not ours.
2071 Change the code to ensure ./ in front of directory names in the
2072 presence of different output from different versions of ls.
2074 Mon May 4 19:42:44 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2076 * Makefile.in (objects): Add xbasename.lo.
2078 * Rename basename.c to xbasename.c.
2080 * tilde.c (kpse_tilde_epxand): Handle a bare ~ gracefully.
2082 * basename.c: Rename basename to xbasename and make its
2083 compilation unconditional.
2085 * common.ac: Remove check for basename.
2087 * acconfig.h: Remove HAVE_BASENAME.
2089 * lib.h: Remove conditional declaration of basename, add
2090 unconditional declaration of xbasename.
2092 * progname.c (kpse_set_program_name): Replace call of basename
2095 Fri Apr 24 21:15:15 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2097 * install.texi: Doc fix; mention the library files for etex,
2100 * pathsearch.c (kpse_path_search): Fix memory leak found by "John
2101 W. Eaton" <jwe@bevo.che.wisc.edu>.
2103 Tue Apr 7 19:46:07 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2105 * kpsewhich.c (find_format): Correct an off-by-one error by using
2106 the found value instead of a faulty comparison.
2108 Mon Mar 16 19:25:15 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2110 * configure.in (KPSEVERSION): version 3.2.
2112 * mktex.opt: Set MT_MKTEXNAM_OPT, MT_MKTEXDIR_OPT here.
2114 * mktexnam: Move setting of MT_MKTEXNAM_OPT to mktex.opt.
2116 Sun Mar 15 19:55:30 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2118 * c-proto.h: Add P7H and P7C macros.
2120 Sat Mar 14 00:10:20 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2122 * win32lib.h: Patch from Fabrice.
2124 * c-dir.h [WIN32]: Patch from Fabrice.
2126 Fri Mar 13 23:23:33 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2128 * texmf.in: Added XDVIINPUTS and TEX4HTINPUTS.
2130 Thu Mar 12 08:04:50 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2132 * win32lib.c: New version from Fabrice Popineau.
2134 Wed Mar 11 19:55:10 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2136 * install.texi: Correction for description of dosnames behaviour
2137 on MS-DOS. From Eli Zaretskii.
2139 Mon Mar 9 07:22:23 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2141 * mktexlsr: exit 0 if we succeeded.
2143 * withenable.ac: Remove double slashes from texmfmain variable.
2144 Strictly speaking, it is a user fault when this occurs, but...
2147 Sun Mar 8 18:23:33 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2149 * tex-file.c: omkocp, omkofm -> mkocp, mkofm.
2151 * texmf.in: OMKOFM, OMKOCP -> MKOFM, MKOCP.
2153 * withenable.ac: omkofm, omkocp -> mkofm, mkocp.
2155 Thu Mar 5 15:32:48 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2157 * texmf.in: Add OMKOCP and OMKOFM analogous to MKTEXPK.
2159 * c-fopen.h [DOS]: Don't open files read-write if read suffices.
2161 Wed Mar 4 23:55:35 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2163 * withenable.ac: Add options for enabling/disabling
2164 omkocp/omkofm. From John Plaice.
2166 * tex-file.c (init_format): Support omkocp and omkofm instead of
2167 MakeOmegaOCP and MakeOmegaOFM programs. From John Plaice.
2168 (kpse_maketex_option): Some changes to handle ofm/ocp as well.
2170 Tue Mar 3 09:02:09 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2172 * tex-make.c (kpse_make_tex): Make same exception for AMIGA as for
2173 WIN32 and MSDOS. From Andreas Scherer.
2175 * PROJECTS: Update mail address.
2177 * mktex.opt: Print message if VARTEXMF is not defined, then
2178 default to '$KPSE_DOT'.
2180 * mktexnam: Remove use of "shell !" from tests involving varfonts
2181 feature. Simplify the code a bit.
2183 Fri Feb 27 19:55:11 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2185 * withenable.ac: Replace use of -a in test with && and second
2186 test. From Thomas Esser <te@informatik.uni-hannover.de>.
2188 Tue Feb 24 13:16:56 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2190 * Makefile.in: Corrections for building/installing outside source
2191 dir. From Vladimir Volovich <vvv@vvv.vsu.ru>.
2193 * mktexnam.opt: Correction MT_PKNAME -> MT_PKBASE to get dosnames
2194 feature to work. From Eli Zaretskii.
2196 Mon Feb 23 10:17:22 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2198 * mktex.opt, mktexlsr: Use test ... || test ... instead of test
2201 * mktexnam.opt: Remove use of MT_PKPART, MT_MFPART, and MT_TFMPART
2202 variables, since they're no longer defined.
2204 * expand.c (kpse_expand_kpse_dot [MSDOS]): A very ugly hack to
2205 deal with a very broken feature on some MSDOS systems. After Eli
2208 Fri Feb 20 17:18:19 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2210 * Makefile.in (texmf.sed): Remove VARTEXMF.
2212 * install.texi: Update for changes to varfonts.
2214 * kpathsea.texi: Remove references to format numbers.
2216 * kpsewhich.c (read_command_line): Remove printing of and support
2219 * mktex.opt: Remove VARTEXMF and related stuff, set dosnames for
2222 * mktexnam: Remove use of VARTEXMF, introduce SYSTEXMF, change
2223 semantics of varfonts.
2225 * mktexnam.opt: Remove reference to VARTEXMF, move setting of
2226 dosnames for DOS to mktex.opt.
2228 * mktexpk: Boilerplate tests.
2230 * mktexupd: Boilerplate tests.
2232 * progname.c: Move kpse_reset_program_name to tex-file.c. This
2233 move means progname.o doesn't use a common object from tex-file.o
2234 anymore. The NeXT linker would omit tex-file.o, then complain
2235 about an undefined symbol. Thanks to Gregor Hoffleit
2236 <flight@thefly.mathi.uni-heidelberg.de> and Melissa O'Neill
2237 <oneill@cs.sfu.ca> for their help solving this.
2239 * progname.h: Move kpse_reset_progname to tex-file.h.
2241 * tex-file.c: Move kpse_reset_program_name here from progname.c.
2243 * tex-file.h: Move kpse_reset_program_name here from progname.h.
2245 * texmf.in: Remove VARTEXMF, add SYSTEXMF.
2247 * withenable.ac: Boilerplating, a correction of the default case
2248 of the --enable-multiplatform test.
2250 Mon Feb 16 09:46:47 1998 Olaf Weber <olaf@infovore.xs4all.nl>
2252 * mktexpk: Dropped a $ in the wrong place, which made chmod look
2253 for a non-existent file.
2255 * Makefile.in (texmf.sed): Include the substitution for @web2c@ in
2258 * Makefile.in (texmf.sed): Remove traling / from VARTEXMF
2260 (stamp-paths): Replace @ with % as sed delimiter. The @ causes
2261 problems because it used in afs filenames. Spotted by Matthias
2264 * bugs.texi: Since the NeXT(step) problem is likely to be solved
2265 now, make description of bug less definite.
2267 * common.ac: Remove check for readlink.
2269 * kpathsea.texi: Document changes to search algorithm.
2271 * mktexlsr: Use % not @ as sed delimiter.
2273 * mktexmf: Correct permissions problem.
2275 * mktexnam: Use % not @ as sed delimiter.
2277 * mktexpk: Use % not @ as sed delimiter. Correct permissions
2278 problem. Set permissions before the file is moved into place.
2280 * mktextfm: Use % not @ as sed delimiter. Correct permissions
2281 problem. Set permissions before the file is moved into place.
2283 * mktexupd: Use % not @ as delimiter for sed.
2285 * readlink.c (main): Use S_ISLNK instead of HAVE_READLINK to test
2286 whether readlink is a known function.
2288 * tex-file.c (kpse_init_format): Make changes corresponding to the
2289 movement of kpse_tfm_format.
2290 (kpse_find_file): Reorganize searches; fold code of search #3 into
2291 #1 and #2; fold #5 into #2. We now have two searches, plus an
2292 attempt to create missing files.
2294 * tex-file.h: Move kpse_tfm_format before kpse_ofm_format. Might
2295 as well put it near the front then, because it is an often-used
2298 * texmf.in: VARTEXFONTS uses @vartexfonts@ so it can be filled in
2299 from the Makefile. OFMFONTS changed to explicitly use TFMFONTS.
2300 TEXMCNF uses @web2c@ rather than @web2cdir@.
2302 * withenable.ac: Do not force default for --enable-multiplatform,
2303 so that we can inherit one from a script that calls us.
2305 Tue Feb 10 17:59:26 1998 Olaf Weber <infovore@xs4all.nl>
2307 * withenable.ac: Don't abort configure run if the main texmf tree
2310 * acconfig.h: Add EPSFWIN to the undefs.
2312 * install.texi: Update section on the handling of options by
2315 * mktex.opt: Comment on the duplication of the ls_R_magic string.
2317 * mktexlsr: Copy code from mktex.opt to mktexlsr, so the latter
2318 can run without the need to find the former.
2320 * mktextfm, mktexpk: Replace positional options with normal option
2323 * mktextfm.man, mktexpk.man: Update documentation for the new
2326 * tex-file.c: Update the MKTEXPK_ARGS string for the new
2327 option-handling of mktexpk.
2329 * tex-make.c (kpse_make_tex): We pass the raw / to mktexpk in the
2330 --mfmode switch when appropriate; remove unset_mode variable.
2331 Update comments to reflect new situation.
2333 * kpathsea.texi: Note that empty path components are now ignored
2334 in stead of expanded to cwd.
2336 * line.c: Add prototype and clean up headers.
2338 * mktex.opt, mktexlsr, mktexmf, mktexnam, mktexpk, mktextfm,
2339 mktexdir, mktexupd: Make "caching" of some variables and file
2340 names in the environment possible. Provide defaults in case the
2341 'web2c files' format doesn't work for finding files. Suggested by
2344 * withenable.ac: Give a better message when the main texmf tree
2347 Sat Feb 7 01:00:49 1998 Olaf Weber <infovore@xs4all.nl>
2349 * elt-dirs.c (kpse_element_dirs): Return NULL, not the cwd, if
2350 we're given an empty string.
2352 * mktex.opt: Determine VARTEXFONTS here.
2354 * mktexnam: Move determination of VARTEXFONTS to mktex.opt.
2356 Fri Feb 6 17:59:59 1998 Olaf Weber <infovore@xs4all.nl>
2358 * config.h: Update definition of KPATHSEA to 32.
2360 * expand.c (kpse_path_expand): Do not recursively expand a leading
2361 //, as in pathsearch.c.
2363 * kpsewhich.man: Update for --epxand-braces option.
2365 * texmf.in: Put texmf.local before texmf in the TEXMFCNF path.
2367 * withenable.ac: Make code for finding texmfmain more robust.
2369 Wed Feb 4 20:39:10 1998 Olaf Weber <infovore@xs4all.nl>
2371 * readable.c: Correct typo: '#elsif' -> '#elif'.
2373 Tue Feb 3 17:08:34 1998 Olaf Weber <infovore@xs4all.nl>
2375 * kpathsea.texi: Update for changes to kpsewhich.
2377 Mon Feb 2 21:12:06 1998 Olaf Weber <infovore@xs4all.nl>
2379 * xputenv.c: Undid last patch from Fabrice -- it was a "fix" that
2380 suppresses warnings on his compiler, and engenders them on mine.
2382 Sun Feb 1 16:08:49 1998 Olaf Weber <infovore@xs4all.nl>
2384 * lib.h [!DOSISH]: Correct definition of FILESTRNCASEEQ.
2386 * mktexmf: Correct call to mktexnam.
2388 * kpsewhich.c: New option --expand-braces.
2389 (expand_path): Removed.
2390 (main): Add code for --expand-braces, account for new definition of
2393 * expand.h: Rename kpse_path_expand to kpse_brace_expand. Add new
2396 * expand.c (kpse_path_expand): New implementation, based on
2397 path_expand from kpsesewhich.c.
2398 (kpse_brace_expand): The old kpse_path_expand. Change calls to
2399 kpse_brace_expand to kpse_brace_expand_element.
2400 (kpse_brace_expand_element): The old kpse_brace_expand, but with
2401 static linkage. Changes calls to kpse_brace_expand to
2402 kpse_brace_expand_element.
2404 * tex-file.c (init_path): Replace kpse_path_expand with
2407 * texmf.in: Correct input variables for mltex variants. Add pdftex
2408 to TEXPSHEADERS path.
2410 Thu Jan 29 16:15:44 1998 Olaf Weber <infovore@xs4all.nl>
2412 * Makefile.in: Update for readlink.
2414 * common.ac: Test for readlink function.
2416 * access.c, kpsestat.c: No need to explicitly include c-auto.h.
2418 * mktex.opt: Adapt to new way of finding the script. Do the
2419 actual lookup for mktexnam, mktexdir, and mktexupd here. Make a
2422 * mktexlsr: Make file handling more robust, use kpsewhich to find
2423 supporting scripts like mktex.opt and mktexnam, use readlink to
2426 * mktexupd, mktexpk, mktextfm, mktexmf, mktexdir, mktexnam: Make
2427 file handling more robust, use kpsewhich to find supporting
2428 scripts like mktex.opt and mktexnam, simplify somewhat.
2430 * mktexnam.opt: Make handling of names more robust.
2432 * readlink.c, readlink.man: New files.
2434 * withenable.ac: Add --enable-multiplatform option. Attempt to
2435 find the texmf directory, and complain if we fail to do so.
2437 * Makefile.in (texmf.sed): Remove sed for dbtex, dbfonts, change
2438 VARTEXFONTS to comply with texmf.in, and update comment.
2440 * c-vararg.h: Comment update from Peter Breitenlohner.
2442 Wed Jan 28 20:36:56 1998 Olaf Weber <infovore@xs4all.nl>
2444 * Makefile.in: Keep c-auto.h out of kpathsea.h.
2446 * c-stat.h [WIN32]: Modification from Fabrice.
2448 * dir.c [WIN32]: Extensive modifications from Fabrice.
2450 * kpsestat.c, kpsewhich.c: Replace exit with return from main.
2453 * readable.c [WIN32]: Separate definition of READABLE. From
2456 * texmf.in: Remove almost all @var@ stuff, and just assume TDS for
2459 * win32lib.h: Modifications from Fabrice.
2461 * xputenv.c (xputenv): Minor fix from Fabrice.
2463 * win32lib.c: New file from Fabrice Popineau. Replacement
2464 functions for Win32.
2466 Sun Jan 25 20:02:21 1998 Olaf Weber <infovore@xs4all.nl>
2468 * texmf.in: Increase buf_size to 50000 (from 10000).
2470 * tex-file.c (kpse_find_file): In the first search, postpone
2471 pounding the disk until all possible suffixes have been tried.
2473 * line.c (read_line): Accept any of NL, CR, and CRLF as
2476 Fri Jan 23 14:45:19 1998 Olaf Weber <infovore@xs4all.nl>
2478 * access.c: Use return instead of exit to get rid of some compiler
2479 warnings. From Fabrice.
2481 * c-fopen.h: Changes for CYGWIN32.
2483 * c-proto.h: Patch from Fabrice Popineau for Win32.
2485 * kpathsea.texi: Document kpse_web2c_format,
2486 kpse_program_text_format, kpse_program_binary_format.
2488 * mktex.opt, mktexdir, mktexlsr, mktexmf, mktexnam, mktexpk,
2489 mktextfm, mktexupd: Use -expand-path instead of -expand-var where
2490 possible. This makes the handling of !! more robust.
2492 * tex-file.c (kpse_find_file): Handle other cases than precisely
2493 one extension in search number 3.
2494 (kpse_init_format): Add kpse_web2c_format, kpse_program_text_format,
2495 kpse_program_binary_format.
2497 * tex-file.h: Add kpse_web2c_format, kpse_program_text_format,
2498 kpse_program_binary_format.
2500 * tex-hush.c: Test the "path element" h, not the whole hush.
2502 * texmf.in: Add a definition for WEB2C. Add some Omega-related
2503 parameters, from John Plaice.
2505 Tue Jan 13 19:46:58 1998 Olaf Weber <infovore@xs4all.nl>
2507 * mktexpk, mktextfm: Only move $NAME.log file if it exists and is
2510 Mon Jan 12 06:22:59 1998 Olaf Weber <infovore@xs4all.nl>
2512 * kpathsea.texi: Fixes from Gerd Neugebauer <gerd@uni-koblenz.de>.
2514 Sun Jan 11 18:26:56 1998 Olaf Weber <infovore@xs4all.nl>
2516 * mktexupd: Two changes: absence of the current tree in the ls-R
2517 path is not an error; create an ls-R file if the current tree is
2518 in the ls-R path and the file doesn't yet exist.
2520 Sat Jan 10 09:55:47 1998 Olaf Weber <infovore@xs4all.nl>
2522 * tex-hush.c: A null pointer could be fed to strcmp.
2524 Fri Jan 9 21:08:45 1998 Olaf Weber <infovore@xs4all.nl>
2526 * mktexnam: Add $COMSPEC test, and use $SEP for path separator when
2527 splitting paths. From Eli Zaretskii.
2529 * mktexlsr: Correct usage for determining absolute paths. From
2532 * common.ac: Correct code in HAVE_PROTOTYPES test.
2534 Sun Jan 4 15:59:08 1998 Olaf Weber <infovore@xs4all.nl>
2536 * Manual pages for access, kpsestat, kpsewhich, mktexlsr, mktexpk,
2539 * Makefile.in: Changes for manual pages.
2541 Thu Jan 1 10:11:49 1998 Olaf Weber <infovore@xs4all.nl>
2543 * mktex.opt: Remove definition of $SEP; it is now needed before
2544 this script is sourced.
2546 * mktexlsr: If necessary, add location of script to PATH.
2548 * mktexupd: Put $SEP definition in script itself.
2550 * xputenv.c (xputenv): Move some declarations into the "not
2551 SMART_PUTENV" block to prevent "unused" warnings.
2553 Tue Dec 30 17:55:45 1997 Olaf Weber <infovore@xs4all.nl>
2555 * install.texi, bugs.texi: Add comment about the need to use
2556 special compiler options in HP-UX.
2558 * mktexpk: Use nonstopmode for mf, in case of failure move log
2559 file to working directory.
2561 * mktextfm: Use nonstopmode for mf, in case of failure move log
2562 files to working directory.
2564 * mktexlsr: Add comment about use in cron scripts, use SEP
2565 variable for path separator.
2567 * mktexupd: Check for both new and old magic string in ls-R files,
2568 use SEP variable for path separator.
2570 * mktex.opt: Pick the correct path separator for MS-DOS and UNIX.
2571 Add a more appropriate magic string for ls-R files, but keep the
2572 old one around for compatibility.
2574 * Makefile.in (install-exec): Add check for original mktexlsr.
2576 Thu Dec 18 20:33:56 1997 Olaf Weber <infovore@xs4all.nl>
2578 * tex-file.c (init_path): Rewrite test whether we're initializing
2579 the kpse_cnf_format paths.
2581 * tex-file.c (kpse_init_format): Initialise the binmode fields.
2582 (kpse_open_file): Use binmode field.
2584 * tex-file.h: Add binmode field to kpse_format_info_type.
2586 * kpsewhich.c: Correct option string.
2588 * tex-file.c (kpse_open_file): Assume kpse_truetype_format and
2589 kpse_type42_format are for binary files.
2591 Tue Dec 16 19:13:14 1997 Olaf Weber <infovore@xs4all.nl>
2593 * texmf.in: Don't make PKFONTS.xdvi a special case. Let all
2594 programs look in modeless. If a program shouldn't look there,
2595 give it a special PKFONTS line.
2597 Mon Dec 15 18:58:01 1997 Olaf Weber <infovore@xs4all.nl>
2599 * texmf.in: Add TTFONTS and T42FONTS.
2601 * Makefile.in (stamp-paths): The regular expression for variables
2602 had to be amended for T42FONTS.
2604 * tex-file.c (kpse_init_format): Add kpse_truetype_format and
2607 * tex-file.h: Add kpse_truetype_format and kpse_type42_format to
2608 kpse_file_format_type.
2610 Sat Dec 13 11:24:23 1997 Olaf Weber <infovore@xs4all.nl>
2612 * xputenv.c (xputenv [WIN32]): This system deletes an environment
2613 variable if it is set to "", with consequences for the code that
2614 reclaims the space. From Fabrice Popineau.
2616 Fri Dec 12 10:44:02 1997 Olaf Weber <infovore@xs4all.nl>
2618 * acconfig.h: Add HAVE_PROTOTYPES.
2620 * c-proto.h, c-vararg.h: Test for HAVE_PROTOTYPES.
2622 * common.ac: Add explicit test for prototypes, instead of relying
2625 * hash.c, hash.h (hash_remove): New function.
2627 * install.texi: Rewritten passage on font destinations, corrected
2628 reference to Triptrap node in web2c.
2630 * mktexpk, mktextfm: When mv fails, try cp. Matters on MS-DOS.
2632 * progname.c (selfdir): Test whether we are a directory, rather
2633 than whether we are not a link or file.
2635 * texmf.in: Change openout_any to paranoid.
2637 Tue Dec 9 19:08:04 1997 Olaf Weber <infovore@xs4all.nl>
2639 * mktexpk: Restored test-and-move, which turns out not to be a
2640 no-op for fonts generated with gsftopk.
2642 Thu Dec 4 12:53:52 1997 Olaf Weber <infovore@xs4all.nl>
2644 * texmf.in: Add TEXINPUTS.mltex and TEXINPUTS.mllatex.
2646 Tue Dec 2 12:58:04 1997 Olaf Weber <infovore@xs4all.nl>
2648 * Makefile.in (distclean): Add stamp-paths. From Sebastian Rahtz
2649 <s.rahtz@elsevier.co.uk>.
2651 * progname.c (kpse_set_program_name [!HAVE_PROGRAM_INVOCATION_NAME
2652 && !WIN32 && !__DJGPP__]): Remember to set
2653 program_invocation_name.
2655 * getopt.c: A few changes for WIN32. From Fabrice Popineau.
2657 Mon Dec 1 19:08:07 1997 Olaf Weber <infovore@xs4all.nl>
2659 * kpathsea.texi: Updated for absence of alternate TeX suffixes.
2661 * kpsewhich.c: Don't complain about unkown suffixes: it's all
2662 kpse_tex_format to us.
2664 * tex-file.c: Remove the interminable list of alternate TeX
2667 * Makefile.in ($(library).h): Take win32lib.h into account: it
2668 should not be included by this file, as config.h will do so if
2671 * progname.c (kpse_set_program_name [WIN32, __DJGPP__]): Changes
2672 from Fabrice Popineau.
2674 * win32lib.h: New file. From Fabrice Popineau.
2676 * config.h: Include <kpathsea/win32lib.h> instead of
2677 "../win32/win32-compat.h". From Fabrice Popineau.
2679 * access.c: Include <kpathsea/config.h>. From Fabrice Popineau.
2681 * absolute.c (kpse_absolute_p [WIN32]): Filenames starting with \\
2682 are absolute on this platform. From Fabrice Popineau.
2684 * tex-glyph.c (try_format): Oops, kpse_format_info[format].suffix
2685 is now a list of strings.
2687 Sun Nov 30 13:23:54 1997 Olaf Weber <infovore@xs4all.nl>
2689 * texmf.in, mktex.opt, mktexdir, mktexdir.opt, mktexlsr, mktexmf,
2690 mktexnam, mktexnam.opt, mktexpk, mktextfm, mktexupd: Add a
2691 MKTEXSCRIPT variable, which is the directory where supporting
2692 scripts are found. Defaults to $TEXMFMAIN/web2c if not defined.
2694 * Makefile.in, bugs.texi, db.h, install.texi, kpathsea.texi,
2695 kpsewhich.c, proginit.c, tex-file.c, tex-file.h, tex-glyph.c,
2696 tex-make.c, tex-make.h, texmf.in, withenable.ac, mktex.opt,
2697 mktexdir, mktexdir.opt, mktexlsr, mktexmf, mktexnam, mktexnam.opt,
2698 mktexpk, mktextfm, mktexupd: Changes for the great renaming...
2700 Sat Nov 29 13:10:42 1997 Olaf Weber <infovore@xs4all.nl>
2702 * The great renaming of the MakeTeX* scripts.
2703 MakeTeXPK -> mktexpk
2704 MakeTeXTFM -> mktextfm
2705 MakeTeXMF -> mktexmf
2706 MakeTeXls-R -> mktexlsr
2708 MakeTeX.site -> mktex.cnf
2709 MakeTeXcommon -> mktex.opt
2710 MakeTeXmkdir -> mktexdir
2711 MakeTeXmkdir.opt -> mktexdir.opt
2712 MakeTeXnames -> mktexnam
2713 MakeTeXnames.opt -> mktexnam.opt
2714 MakeTeXupdate -> mktexupd
2716 * Makefile.in (install-exec): Adapted for removal MakeTeX.cnf.
2718 * MakeTeX.cnf: Removed.
2720 * MakeTeXcommon: Fold MakeTeX.cnf into MakeTeXcommon.
2722 * tex-file.c (kpse_init_format): Add kpse_fmt_format add ".efmt"
2723 and ".efm" to additional suffixes.
2725 * db.c [DB_HASH_SIZE]: From 7603 increased to 15991.
2727 * tex-file.c: Yet more suffixes for kpse_tex_format.
2729 Tue Nov 25 18:19:17 1997 Olaf Weber <infovore@xs4all.nl>
2731 * progname.c (kpse_set_program_name): Ensure that
2732 kpse_program_name doesn't get an .exe suffix. The
2733 program_invocation*name variables retain it.
2735 Mon Nov 24 22:03:12 1997 Olaf Weber <infovore@xs4all.nl>
2737 * MakeTeXls-R: When creating the ls-R file from scratch, derive
2738 its permissions from the $db_dir, not from the current dir.
2740 Sun Nov 23 13:17:16 1997 Olaf Weber <infovore@xs4all.nl>
2742 * texmf.in: Update to use : instead of , in braces.
2744 * kpathsea.texi: Document use of path separator in brace
2745 expansion, note that the comma is deprecated.
2747 * path-elt.c (element): Dont split within braces.
2749 * expand.c (expand_amble): Break text in pieces at ENV_SEP as well
2752 Sat Nov 22 19:35:30 1997 Olaf Weber <infovore@xs4all.nl>
2754 * tex-file.c: Correction of description "PostScript header/font"
2755 to "PostScript header".
2757 * db.c (kpse_db_insert): Add cast for const correctness.
2759 * kpathsea.texi: Document kpse_set_program_name; updates.
2761 * kpsewhich.c: Many changes to support multiple standard suffixes.
2763 * progname.c (kpse_set_program_name): Add a few casts for const
2766 * tex-file.c: Many changes to support lists of standard suffixes.
2768 * tex-file.h: kpse_format_info_type: change type of suffix from
2769 const_string to const_string*.
2771 Fri Nov 21 15:17:35 1997 Olaf Weber <infovore@xs4all.nl>
2773 * c-proto.h: Restored AA macro, needed by revised web2c.
2775 Thu Nov 20 14:23:33 1997 Olaf Weber <infovore@xs4all.nl>
2777 * MakeTeXPK: Removed a test-and-move that is always a no-op.
2779 * MakeTeXnames: A shell on FreeBSD didn't like the ${foo:=`bar`}
2782 Wed Nov 19 17:24:08 1997 Olaf Weber <infovore@xs4all.nl>
2784 * MakeTeXls-R, MakeTeXMF, MakeTeXPK: Make temporary names fit into
2785 the 8.3 pattern. After Eli Zaretskii.
2787 * MakeTeXTFM: Make temporary names fit into the 8.3 pattern.
2788 Allow a second optional argument. Update usage message. After
2791 * MakeTeXcommon: Make temporary names fit into the 8.3 pattern.
2792 Do a 'cd /' before we cd to $KPSE_DOT, for MS-DOS' sake. After
2795 * MakeTeXnames: If $DEST starts with "letter-colon-slash", it
2796 still indicates an absolute path. After Eli Zaretskii.
2798 * MakeTeXnames.opt: Enable dosnames if we find COMSPEC set in the
2799 environment. This is apparently the canonical test for this kind
2800 of thing. After Eli Zaretskii.
2802 * Makefile.in: Numerous small changes to make building on MS-DOS
2803 easier. In particular to the rule for texmf.sed.
2805 * install.texi: Add table headers. After Eli Zaretskii.
2807 * tex-file.c (kpse_open_file): Open kpse_tex_ps_header_format and
2808 kpse_pict_format files in binary mode. After Eli Zaretskii.
2810 Tue Nov 18 11:50:35 1997 Olaf Weber <infovore@xs4all.nl>
2812 * install.texi, README, Makefile.in: Changed the name of CONFIGURE
2813 to README.CONFIGURE.
2815 * Makefile.in (mostlyclean): delete klibtool.version.
2817 Sat Nov 15 21:13:46 1997 Olaf Weber <infovore@xs4all.nl>
2819 * MakeTeXPK: Use quotes to ensure that test "$mf_bdpi" != $BDPI
2820 has a first argument. This occurs only in pathological
2821 circumstances, but is nevertheless annoying.
2823 * texmf.in: Add TEXINPUTS.foo for omega and lambda.
2825 Fri Nov 14 16:35:46 1997 Olaf Weber <infovore@xs4all.nl>
2827 * texmf.in: Add TEXINPUTS.foo definitions for e-TeX and PDFTeX.
2829 * tex-file.h: Add kpse_find_ofm and kpse_find_ovf macros.
2831 * tex-file.c (kpse_find_file): Add a search for Omega.
2833 Thu Nov 13 22:43:06 1997 Olaf Weber <infovore@xs4all.nl>
2835 * progname.c (expand_symlinks): Don't call fclose on a NULL
2836 pointer. After Gary Jennejohn <garyj@peedub.muc.de>.
2838 Wed Nov 12 16:20:02 1997 Olaf Weber <infovore@xs4all.nl>
2840 * kpsewhich.c: Use kpse_set_program_name instead of
2843 * tex-file.c, cnf.c: Use kpse_program_name instead of
2844 program_invocation_short_name.
2846 * progname.h (kpse_set_program_name, kpse_reset_program_name): New
2848 (kpse_program_name): New global.
2850 * progname.c (kpse_set_program_name): New function, to replace
2851 kpse_set_progname. This fixes the problem the we may want to
2852 pretend to be a different program, but need the name by which we
2853 were called because that is the one for an executable is
2854 guaranteed to exist. The pretend-name is stored in
2856 (kpse_reset_program_name): To reset kpse_program_name to a
2857 different value. It makes a half-hearted attempt to clear the
2858 search path information, so that the new name is used there as
2861 Mon Nov 10 13:14:01 1997 Olaf Weber <infovore@xs4all.nl>
2863 * configure.in (KPSEVERSION): version 3.1.
2865 Thu Nov 6 20:25:49 1997 Olaf Weber <infovore@xs4all.nl>
2867 * texmf.in: Corrected comment on size of max_print_line: it must
2870 Tue Nov 4 19:08:37 1997 Olaf Weber <infovore@xs4all.nl>
2872 * Makefile.in (install-data): Handle a split kpathsea.info.
2874 * common.ac: Add a test to ensure that autoconf 2.12.1 -- the one
2875 with our own hacks -- is used.
2877 Wed Oct 29 11:49:46 1997 Olaf Weber <infovore@xs4all.nl>
2879 * c-fopen.h [!DOSISH]: Guard against redefining O_BINARY. From
2880 Andreas Scherer <andreas.scherer@pobox.com>.
2882 Mon Oct 27 17:25:19 1997 Olaf Weber <infovore@xs4all.nl>
2884 * install.texi: Update for new MakeTeX* scripts.
2886 * MakeTeXnames: Handling of empty namepart.
2888 Fri Oct 24 14:23:58 1997 Olaf Weber <infovore@xs4all.nl>
2890 * getopt.[hc]: Changes for WIN32, which are likely to be a pain if
2891 these files are ever updated wholesale. After Fabrice Popineau.
2893 Thu Oct 23 11:16:26 1997 Olaf Weber <infovore@xs4all.nl>
2895 * MakeTeXnames: Corrected bug in assignemnt to stdfontpath.
2897 Wed Oct 22 17:36:57 1997 Olaf Weber <infovore@xs4all.nl>
2899 * MakeTeXmkdir: Added a bit of boilerplate to the use of
2902 * Makefile.in: It's acconfig.h, not c-auto.h, that we do not want
2905 * lib.h: Remove kpathsea/config.h from the includes. Note that
2906 lib.h is itself included by config.h.
2908 * Makefile.in: Change generation of kpathsea.h to put config.h
2911 Tue Oct 21 23:15:28 1997 Olaf Weber <infovore@xs4all.nl>
2913 * MakeTeX.site, MakeTeX.cnf: Remove MT_FILE_PERMS, MT_DIR_PERMS.
2915 * MakeTeXmkdir: Use kpsestat to obtain suitable directory
2918 * MakeTeXnames, MakeTeXnames.opt: Include code that infers
2919 destination directories from where the sources are found. Make
2920 use of fontmaps an option, move that part of the code to
2923 * MakeTeXls-R: Use kpsestat to obtain suitable file permissions;
2924 this means we no longer use unset. Use access rather than test to
2925 determine whether we can write the ls-R database.
2927 * MakeTeXTFM, MakeTeXMF, MakeTeXPK: Use kpsestat to obtain
2928 suitable file permissions.
2930 * Makefile.in: Minor changes, because of the new files and
2933 * MakeTeXnames.opt, MakeTeXmkdir.opt: renamed from
2934 MakeTeXnames.cnf and MakeTeXmkdir.cnf respectively. Now
2935 MakeTeX.cnf contains the standard configuration, and MakeTeX.site
2936 the local adjustments.
2938 * kpsestat.c, access.c: New files.
2940 Mon Oct 20 07:22:33 1997 Olaf Weber <infovore@xs4all.nl>
2942 * common.ac, Makefile.in, acconfig.in, config.h, install.texi,
2943 kpathsea.texi: Rename texmf.cnf.in to texmf.in / c-auto.h.in to
2945 * Renamed texmf.cnf.in to texmf.in.
2947 * bugs.texi: Add descriptions of GSFTOPK_DEBUG, MAKETEX_DEBUG, and
2948 MAKETEX_FINE_DEBUG. From Fabrice Popineau.
2950 * c-fopen.h [WIN32]: Use setmode in stead of _setmode. From
2953 * c-pathch.h, absolute.c [NAME_BEGINS_WITH_DEVICE]: Corrected
2954 definition. From Fabrice Popineau.
2956 * c-proto.h: Cosmetic change in definition DllImport. From
2959 * debug.h [WIN32 && _DEBUG]: Extra debugging code for WIN32. From
2962 * install.texi: Extend description of the dosnames feature. After
2965 * lib.h: Add kpathsea/config.h to the includes. New macro STRNEQ.
2966 From Fabrice Popineau.
2968 * progname.c (kpse_set_progname [WIN32]): New environment variable
2969 KPSE_DEBUG_OUTPUT. If defined, it names a file to which stderr
2970 will be redirected. From Fabrice Popineau.
2972 * tex-make.c: Various cosmetic changes for WIN32/MS-DOS. From
2975 Fri Oct 17 10:41:08 1997 Olaf Weber <infovore@xs4all.nl>
2977 * db.c (kpse_db_insert): Remove dubious cast of result of basename.
2979 * progname.c (kpse_set_progname [!HAVE_PROGRAM_INVOCATION_NAME]):
2980 Removed dubious cast of basename.
2982 * tex-file.c (kpse_find_file): Reorganize searches, so that
2983 foo.bar.tex is found before foo.bar.
2985 * tex-make.c (maketex) [MSDOS]: Redirect stderr to the null device
2986 without using the shell (which requires users to install a port of
2987 a Unixy shell, since stock DOS shells don't allow redirecting
2989 (kpse_make_tex) [MSDOS]: Don't use the shell to redirect stderr.
2990 From Eli Zaretskii <eliz@is.elta.co.il>.
2992 * readable.c (READABLE) [__DJGPP__]: Use `access' instead of
2993 `stat', since `stat' is expensive on MS-DOS. Eli Zaretskii
2994 <eliz@is.elta.co.il>.
2996 * pathsearch.c (search) [__DJGPP__]: Make `stat' work in the
2997 fastest possible way, since it can be very expensive on MS-DOS.
2998 (main): Use ENV_SEP_STRING instead of explicit ":".
2999 From Eli Zaretskii <eliz@is.elta.co.il>.
3001 * path-elt.c (main): Use ENV_SEP_STRING instead of explicit ":".
3002 From Eli Zaretskii <eliz@is.elta.co.il>.
3004 * kpsewhich.c (path_expand): Handle file names with device
3006 (read_command_line): Use ENV_SEP_STRING instead of explicit ":".
3007 After Eli Zaretskii <eliz@is.elta.co.il>.
3009 * kdefault.c (main): Use ENV_SEP_STRING instead of explicit ":"
3010 (which is only true on Unix). From Eli Zaretskii
3011 <eliz@is.elta.co.il>.
3013 * cnf.c (do_line) [__DJGPP__]: Don't convert semi-colons to
3014 colons, even though DJGPP defines `unix'. From Eli Zaretskii
3015 <eliz@is.elta.co.il>.
3017 * absolute.c (kpse_absolute_p) [DOSISH]: Don't assume the drive
3018 letter is alphanumeric. From Eli Zaretskii <eliz@is.elta.co.il>.
3020 * xgetcwd.c (xgetcwd) [DOSISH]: Prepend drive letter before path.
3021 From Eli Zaretskii <eliz@is.elta.co.il>.
3023 * progname.c (kpse_set_progname) [__DJGPP__]: Compute the long
3024 file name of the program given its 8+3 alias.
3025 (kpse_set_progname) Compute SELFAUTOLOC before removing the
3026 ".exe" suffix, if any, because `selfdir' might look along the PATH
3028 After Eli Zaretskii <eliz@is.elta.co.il>.
3030 * config.h (DOSISH): Move the definition to the top, so we could
3031 define MONOCASE_FILENAMES right there.
3032 [__DJGPP__]: Include DJGPP-specific headers.
3033 [DOSISH]: Let DJGPP use ST_NLINK_TRICK, since it supports it.
3034 From Eli Zaretskii <eliz@is.elta.co.il>.
3036 * lib.h (FILESTRNCASEEQ): New macro, for partial compares of
3037 filenames. From Eli Zaretskii <eliz@is.elta.co.il>.
3039 * c-fopen.h (FOPEN_RBIN_MODE, FOPEN_WBIN_MODE): Let MS-DOS use
3041 (FOPEN_ABIN_MODE): New macro, defines how to open a binary file for
3043 (SET_BINARY): New macro, switches an already open file to binary
3044 mode (required for stdin/stdout on MS-DOS/MS-Windows).
3045 From Eli Zaretskii <eliz@is.elta.co.il>.
3047 * c-pathch.h (NAME_BEGINS_WITH_DEVICE): Don't assume the drive
3048 letter is A-Z only (DOS allows 6 characters beyond Z). After Eli
3049 Zaretskii <eliz@is.elta.co.il>.
3051 Thu Oct 16 10:22:42 1997 Olaf Weber <infovore@xs4all.nl>
3053 * configure.in: Update stamp-auto after creating c-auto.h. From
3054 Peter Breitenlohner.
3056 * Makefile.in: Don't rewrite paths.h if it was not changed. After
3057 Peter Breitenlohner.
3059 Wed Oct 15 15:33:43 1997 Olaf Weber <infovore@xs4all.nl>
3061 * xputenv.c (xputenv): Don't do anything if the old and new values
3062 of the environment variables are identical, because some libraries
3063 (DJGPP) will will optimize away such no-ops, and therefore freeing
3064 the old value will lead to disaster. Free new_item if it was
3065 copied by the library `putenv'. From Eli Zaretskii
3066 <eliz@is.elta.co.il>
3068 * tex-file.c (kpse_open_file): Open
3069 kpse_{pk,base,fmt,mem,type1}_format files in binary mode.
3071 * install.texi: Remove description of the feature that (say)
3072 MAKETEXPK in the environment can be used to provide a
3073 specification of the argument list of MakeTeXPK. Reason: the
3074 feature isn't implemented.
3076 Tue Oct 14 17:08:22 1997 Olaf Weber <infovore@xs4all.nl>
3078 * xgetcwd.c: Rename DO_NOT_USE_GETCWD to GETCWD_FORKS.
3079 * common.ac: Add a test for GETCWD_FORKS.
3080 * acconfig.h: Include GETCWD_FORKS.
3082 Mon Oct 13 19:42:58 1997 Olaf Weber <infovore@xs4all.nl>
3084 * path-elt.c (element): Always return a new string rather than a
3085 part of the path, as the returned string may be modified.
3087 * tex-file.c (remove_dbonly): Replaced hard-coded ':' with
3088 ENV_SEP. From Fabrice Popineau.
3090 * common.ac, configure.in: Move definition of KPSEVERSION from
3091 common.ac to configure.in.
3093 * common.ac: Check for presence of getcwd.
3095 * xgetcwd.c: Use getcwd in preference to getwd, unless
3096 DO_NOT_USE_GETCWD is defined.
3098 * MakeTeX.cnf: Made varfonts the default.
3100 * elt-dirs.c, path-elt.c, tilde.c, variable.c: Print (nil) instead
3101 of (null), so we can distinguish *printf being fed a null pointer.
3103 * tex-file.c: remove_dbonly: Corrected off-by-one error in
3106 Sat Oct 11 13:48:33 1997 Olaf Weber <infovore@xs4all.nl>
3108 * elt-dirs.c (main) [TEST, AMIGA]: Changed test code for Amiga.
3109 From Andreas Scherer <Scherer@physik.rwth-aachen.de>.
3111 Mon Oct 6 16:36:50 1997 Olaf Weber <infovore@xs4all.nl>
3113 * install.texi: Document --enable-maintainer-mode switch.
3115 Sat Oct 4 19:27:22 1997 Olaf Weber <infovore@xs4all.nl>
3117 * MakeTeXnames.cnf: Add "strip" feature for backwards
3118 compatibility with 7.0.
3119 * Use a new set of MakeTeX* scripts, from Thomas Esser.
3121 Fri Oct 3 09:54:47 1997 Olaf Weber <infovore@xs4all.nl>
3123 * kpsewhich.c (path_expand): Don't scribble in the datastructures
3124 of the system to get rid of trailing slash, use "%.*s" format of
3127 * Makefile.in (texmf.sed, paths.h): Take the changes to texmf.cnf.in
3129 * texmf.cnf.in: Redo variable definitions for the sake of clarity.
3131 * hash.c (hash_create): Make ret static to work around a gcc
3132 optimizer bug on the Alpha.
3134 * elt-dirs.c (do_subdir,expand_elt): Cleanup by Greg Hudson
3135 <ghudson@MIT.EDU>, which might fix the '//' in path problem on the
3138 * xrealloc.c: Get prototype for realloc from config.h, give
3139 prototype for xmalloc, prototype xrealloc itself. After Fabrice
3142 * xmalloc.c: Give xmalloc a prototype, get prototype for malloc
3143 from config.h. After Fabrice Popineau.
3145 * tex-file.c [TEX_SUFFIXES]: Brought into sync with tex.ch.
3147 * install.texi: Extend comments on shared library support.
3149 Thu Oct 2 00:14:57 1997 Olaf Weber <infovore@xs4all.nl>
3151 * texmf.cnf.in [buf_size]: Increased from 3000 to 10000.
3153 * tex-file.h (enum kpse_src_type): removed trailing comma. From
3154 Ezra Peisach <epeisach@auriga.rose.brandeis.edu>.
3156 * c-proto.h [AA]: Obsolete due to changes to web2c.y; removed.
3158 * bugs.texi: Document KPSE_DEBUG_VARS.
3159 * debug.h [KPSE_DEBUG_VARS]: New #define for debugging. From
3160 Nicolai Langfeldt <janl@math.uio.no>.
3161 * variable.c (kpse_var_value): Add code to report how variables
3162 were expanded. From Nicolai Langfeldt <janl@math.uio.no>.
3164 * progname.c (selfdir) [!AMIGA]: Directories were mistaken for
3165 executables. From Matthias Clasen
3166 <mclasen@sun2.mathematik.uni-freiburg.de>
3168 * tex-file.c (remove_dbonly): New function that strips the !! from
3169 path specifications. Called when creating the path for
3170 kpse_db_format. From Thomas Esser <te@informatik.uni-hannover.de>
3172 * install.texi: The default installation directory is not always
3173 /usr/local, as configure will pick the location of an existing tex
3176 Wed Oct 1 13:43:18 1997 Olaf Weber <infovore@xs4all.nl>
3178 * texmf.cnf.in: Various definitions have changed to take advantage
3179 of the new brace expansion code. The various intermediate
3180 variables (fontdir, web2cdir, ...) have been removed because you
3181 could burn yourself severely by accidentally setting these
3182 undocumented variables -- this happened with some versions of make
3185 Tue Sep 30 16:14:48 1997 Olaf Weber <infovore@xs4all.nl>
3187 * kpathsea.texi: Document changes in brace expansion.
3188 * expand.c (array_concat): reversed the order concatenation, which
3189 result in more usable brace expansion.
3190 (kpse_expand_kpse_dot): new function.
3191 (kpse_path_expand): call kpse_expand_kpse_dot to expand relative
3192 components using KPSE_DOT, if the latter is defined.
3194 * common.ac: Define the version string.
3195 * version.c: Replaced version string with a define.
3196 * acconfig.h: Added defines for version strings.
3197 * Makefile.in: Let version = @KPSEVERSION@.
3198 * common.ac: Introduce KPSEVERSION for version.
3200 * tex-file.c (kpse_maketex_option): choose proper mf and tfm
3201 formats rather than tex.
3203 Mon Sep 29 22:47:23 1997 Olaf Weber <infovore@xs4all.nl>
3205 * db.c (match): Repaired several off-by-one bugs.
3207 Wed Sep 17 21:09:56 1997 Olaf Weber <infovore@xs4all.nl>
3209 * withenable.ac: Added the --enable-maintainer-mode option.
3211 Tue Aug 5 17:26:16 1997 Karl Berry <karl@cs.umb.edu>
3213 * config.h (KPATHSEA): Define for the sake of kpathsea code
3214 getting merged back into original distributions.
3216 Sun Aug 3 17:14:47 1997 Karl Berry <karl@cs.umb.edu>
3218 * install.texi: simple.tex doesn't exist in LaTeX 2e; it's sample2e.
3219 From: "Jonathan I. Kamens" <jik@cam.ov.com> and others.
3221 * db.c (kpse_db_search): Preprocessor # commands must start in
3222 column 1 for DEC OSF/1 2.0 cc.
3223 From: Andrew Komornicki <komornic@maxwell.mps.nsf.gov>.
3225 * common.ac (program_inv_name): Correct usage of AC_TRY_LINK.
3226 From: "John W. Eaton" <jwe@bevo.che.wisc.edu>.
3228 * Makefile.in (.SUFFIXES): Put before the .c.lo rule for the sake
3229 of FreeBSD 2.1.7 make.
3230 From: Hiroto Kagotani <kagotani@in.it.okayama-u.ac.jp>.
3232 Thu Apr 17 17:35:37 1997 Karl Berry <karl@cs.umb.edu>
3234 * Makefile.in (paths.h): Replace $web2cdir too,
3235 for the sake of DEFAULT_TEXMFCNF.
3236 From: M G Berberich <berberic@forwiss.uni-passau.de>.
3238 Tue Apr 1 17:48:18 1997 Karl Berry <karl@cs.umb.edu>
3240 * fontmap.c: Doc fix.
3241 * kpsewhich.c (find_format): Try the long name if the file format
3242 has no suffix, e.g., `dvips config'.
3243 From: "Tomasz J. Cholewo" <tjchol01@mecca.spd.louisville.edu>
3245 Sun Mar 23 16:44:21 1997 Karl Berry <karl@cs.umb.edu>
3247 * tex-file.c (kpse_find_file): Don't assert that `name' is empty,
3248 only NULL, so \input\relax doesn't crash.
3249 From: "Tomasz J. Cholewo" <T.Cholewo@ieee.org>.
3251 Fri Mar 21 16:09:47 1997 Karl Berry <karl@cs.umb.edu>
3253 * MakeTeXPK, MakeTeXcommon: Support a redirect option to MTPK,
3254 from Thomas via Paul V.
3256 * progname.c (selfdir) [AMIGA]: Fix from Andreas.
3258 Sun Feb 16 15:49:07 1997 Karl Berry <karl@cs.umb.edu>
3260 * withenable.ac: `enableval' should have been `withval',
3261 and value must be quoted.
3263 * MakeTeXTFM: Exit if mf fails, a la MakeTeXPK.
3264 From: Julian Gilbey <J.D.Gilbey@qmw.ac.uk>.
3266 Thu Feb 13 16:08:30 1997 Karl Berry <karl@cs.umb.edu>
3268 * texmf.cnf.in (latex2*_inputs): Put $dbtex/generic before the
3269 ``other'' latex version.
3270 From: Olaf Weber <Olaf.Weber@cwi.nl>.
3272 * progname.c (selfdir): Protect against argv0 being dir/exename,
3273 not found in PATH. Happens under Solaris.
3274 From: Ross Alexander <r.alexander@auckland.ac.nz> (and many others).
3276 Sun Feb 09 15:27:15 1997 Fabrice POPINEAU <popineau@ese-metz.fr>
3278 * progname.c (kpse_set_progname): Added braces around Win32 code,
3279 because of variables declaration.
3281 Fri Feb 7 11:53:09 1997 Karl Berry <karl@cs.umb.edu>
3285 * MakeTeXMF: Syntax problems with dc*. Fix from Thomas.
3287 * MakeTeX*: sed command to strip off all but the first of multiple
3288 trees in $TEXMF was faulty.
3290 * c-pathch.h (ENV_SEP, ENV_SEP_STRING) [AMIGA]: Change to ;
3291 for Andreas. Then Amiga binaries may be able to share
3292 the same texmf.cnf with Unix and NT.
3294 * texmf.cnf.in (main_memory): Decrease back to 263,000.
3295 It's not worth allocating 7MB on everyone's machine just
3296 to do xy-pic samples. Add a comment about it.
3298 Thu Feb 6 10:27:50 1997 Karl Berry <karl@cs.umb.edu>
3300 * db.c (kpse_db_search): If an alias exists on disk, and the
3301 original entry in ls-R doesn't, use the alias. Idea, sample code
3304 * cnf.c (do_line): Add awful kludge to translate ; to :
3305 when reading texmf.cnf values under Unix. The idea is
3306 to be able to write a single texmf.cnf that will work
3307 under both NT and Unix.
3311 * MakeTeXcommon: Set ps_to_pk.
3312 * MakeTeXPK: Use ps_to_pk instead of hardwiring gsftopk.
3313 * MakeTeX.site: Include ps_to_pk comment.
3315 * texmf.cnf.in (TEXMFCNF): Include SELFAUTOLOC (at the front).
3316 * progname.c (kpse_set_progname): Include SELFAUTOLOC for the real
3317 directory. It may be useful. Suggested by Andreas.
3319 * MakeTeXcommon: Add case for fc.
3320 * MakeTeX.site: Add comment for fc.
3321 * MakeTeXMF: Add case for fc, generated like Sauter.
3322 From Francois and Thomas.
3324 * progname.c [WIN32]: SELFAUTODIR fix from Fabrice.
3326 * kpathsea.h: Do not #include <kpathsea.h> (infinite loop).
3327 From Fabrice and Richard.
3329 Tue Feb 4 13:20:09 1997 Karl Berry <karl@cs.umb.edu>
3331 * tilde.c: xstrdup the result from getenv,
3332 since we end up freeing it with a path element of `~'.
3334 * MakeTeX.site: Include RCS id.
3336 * MakeTeX.site: Replace sample dc assignment with ec.
3338 * MakeTeXMF: Handle ec, use exbase for tc.
3340 * MakeTeXcommon (ecfontdir,tcfontdir): New variables.
3342 Tue Feb 04 15:11:29 1997 Fabrice POPINEAU <popineau@ese-metz.fr>
3344 * progname.c: argv[0] under Win95 is set to the short
3345 filename of the executable run. Changed the way
3346 program_invocatio_name is retrieved : used the SearchPath() win32
3347 call, next FindFirstFile() to get the long filename. The selfdir
3348 stuff is not used any more for win32.
3350 Mon Feb 3 18:01:02 1997 Karl Berry <karl@cs.umb.edu>
3352 * kpsewhich.c (read_command_line): Check for -1, not EOF,
3355 Sun Feb 2 16:06:42 1997 Karl Berry <karl@cs.umb.edu>
3357 * texmf.cnf.in (PKFONTS.xdvi): Replace `gsftopk,ps2pk' by `modeless'.
3358 * MakeTeXPK (mode): Use `modeless' instead of `gsftopk'.
3360 * tex-file.c: Look for TEXINDEXSTYLE before INDEXSTYLE.
3362 Sat Feb 1 16:31:39 1997 Karl Berry <karl@cs.umb.edu>
3364 * texmf.cnf.in: Doc fix.
3366 * progname.c (my_dirname): Check for device separators at the
3367 beginning fo the string. From Andreas.
3369 * c-pathch.h (IS_DIR_SEP) [AMIGA]: New definition from Andreas.
3370 (NAME_BEGINS_WITH_DEVICE): Remove.
3372 * tex-make.c (maketex) [AMIGA]: Have to call system instead of popen
3373 due to different interface. From Andreas.
3375 * progname.c (selfdir): Check self, not ret, for exiting the loop.
3376 (remove_dots): Missing indirection on ret.
3379 Tue Jan 21 08:26:17 1997 Karl Berry <karl@cs.umb.edu>
3381 * elt-dirs.c: Doc fixes.
3383 * db.c (match): Don't return false just because the path element
3385 Bug from: Richard Walker <Richard.Walker@cs.anu.edu.au>.
3387 * expand.c (kpse_path_expand): Do variable expansion before
3388 splitting on path elements.
3389 Bug from: Richard Walker <Richard.Walker@cs.anu.edu.au>.
3391 * tilde.c [TEST]: Function name changed.
3392 From: Richard Walker <Richard.Walker@cs.anu.edu.au>.
3394 * texmf.cnf.in (MAILCAPLIBDIR): Rename from MAILCAPDIR.
3397 Tue Jan 21 09:34:20 1997 Fabrice POPINEAU <popineau@ese-metz.fr>
3399 * c-pathch.h: NAME_BEGINS_WITH_DEVICE(string) new macro testing
3400 for the presence of a device name in front of the string.
3402 * progname.c (remove dots): stop before device name if
3403 present. When building the filename, do not add leading DIR_SEP if
3406 * pathsearch.c (path_search): avoid searching the whole disk
3409 * db.c: support aliases file along with db files. An alias file is
3410 named with ALIAS_NAME and the hashtable size is
3411 ALIAS_HASH_SIZE. When a name looked for has an alias, the alias is
3412 searched instead of the original name. The format of the aliases
3413 file is "real_name alias_name", one pair per line. Currently only
3416 Mon Jan 20 12:01:14 1997 Karl Berry <karl@cs.umb.edu>
3418 * progname.c: Amiga patch from Andreas.
3420 Sun Jan 19 14:29:00 1997 Karl Berry <karl@cs.umb.edu>
3422 * pathsearch.c (path_search): Strip off all but one of leading /'s.
3423 We never want to search the whole disk.
3425 * progname.c: Expand symlinks off the final filename, not the
3428 Sat Jan 18 14:39:00 1997 Karl Berry <karl@cs.umb.edu>
3430 * texmf.cnf.in (param_size): Increase to 500 for the chemical
3431 formula macro package. From Thomas.
3433 * progname.c (expand_symlinks, ReadSymLink, CopyFirst, StripFirst,
3434 StripLast): New functions to expand symbolic links for SELFAUTO*.
3437 * texmf.cnf.in (PKFONTS.xdvi): Fix tpyo.
3438 Document that memory changes
3439 (trie_size): Increase to 64000.
3441 Fri Jan 17 13:08:08 1997 Karl Berry <karl@cs.umb.edu>
3443 * progname.c (remove_dots): Don't free the constant null string.
3446 * texmf.cnf.in (dbfontdir): Change to dbfonts (the commented-out one).
3448 Thu Jan 16 10:13:19 1997 Karl Berry <karl@cs.umb.edu>
3450 * cnf.c (kpse_cnf_get): Avoid recursive init, due to new
3451 $TETEXDIR and other variables in default TEXMFCNF value.
3453 * getopt*, strtol.c: New versions from /gd/gnu/lib.
3455 * c-std.h (ALLOC_RETURN_TYPE): Only define if we're going to use it.
3457 * acconfig.h (EDITOR): Oops, %s not +%s.
3458 From: tim@maths.tcd.ie.
3460 * progname.c (kpse_set_progname): One more my_dirname call
3461 to get the parent and the grandparent in the environment variables.
3463 * texmf.cnf.in (texdir): Rename from tex, to avoid clash with
3464 TEX used by makempx -- win32 doesn't distinguish case on envvars.
3466 (WEB2CDIR): Lowercase, so it doesn't end up in paths.h, just
3469 * progname.c (kpse_set_progname): Pass program_invocation_name
3470 to selfdir instead of progname, just in case we
3471 HAVE_PROGRAM_INVOCATION_NAME and it's something different.
3474 * tex-file.c (kpse_open_file): ocp, ofm and ovf should use
3475 FOPEN_RBIN_MODE. From Fabrice and John Plaice.
3477 * progname.c [AMIGA]: Fix syntax errors, remove_dots not necessary.
3478 From Andreas Scherer.
3480 * MakeTeXupdate: MakeTeXls-R isn't in the conf dir anymore, just
3481 in the regular path.
3484 Sun Jan 12 17:22:35 1997 Karl Berry <karl@cs.umb.edu>
3486 * cnf.c (read_all_cnf): Do not test unallocated memory on empty
3487 lines; crashed on Alphas.
3489 * progname.c (dirname): Rename to my_dirname to avoid clash on Alphas.
3491 Sat Jan 11 16:28:54 1997 Karl Berry <karl@cs.umb.edu>
3493 * c-std.h (calloc, malloc, realloc) [!STDC_HEADERS]: Only declare
3496 Tue Jan 7 17:44:01 1997 Karl Berry <karl@cs.umb.edu>
3498 * MakeTeXPK: Doc fix.
3500 * texmf.cnf.in (KPSE_DOT): Define.
3502 * c-memstr.h: Doc fix.
3504 Wed Jan 1 16:58:02 1997 Karl Berry <karl@cs.umb.edu>
3506 * pathsearch.h (kpse_filename_component): Declare this.
3507 * path-elt.c: Define it.
3508 * progname.c (remove_dots): New function to remove . and ..
3509 filename components. Subsumes slashify, it turns out.
3511 * Makefile.in (install-exec): Install MakeTeXls-R in $(scriptdir).
3513 Mon Dec 30 16:22:42 1996 Karl Berry <karl@cs.umb.edu>
3515 * progname.c (kpse_set_progname): Strip off .exe if present.
3519 * progname.c (slashify): New function, to translate \ into / for WIN32.
3522 * lib.h (FILE{STR,CHAR}CASEEQ) [MONOCASE_FILENAMES]: Define these,
3523 continuing yesterday's changes.
3526 Sun Dec 29 13:26:09 1996 Karl Berry <karl@cs.umb.edu>
3528 * db.c (match, elt_in_db),
3529 * elt-dirs.c (cached),
3530 * hash.c (hash_lookup),
3531 * kpsewhich.c (find_format, TRY_SUFFIX),
3533 * cnf.c (do_line): Compare filenames with FILESTRCASEEQ or
3534 FILECHARCASEEQ to support monocase filesystems.
3535 * hash.c (hash) [MONOCASE_FILENAMES]: Transform keys to uppercase.
3538 * basename.c (basename): Consider device separators;
3539 if given 'e:foo.tex', should return 'foo.tex'.
3540 From: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.
3542 * types.h (boolean): Protect with #ifndef HAVE_BOOLEAN, for NeXT.
3543 From: Raf Schietekat <flexus!rfschtkt@colds.ruca.ua.ac.be>
3545 Sat Dec 28 07:18:48 1996 Karl Berry <karl@cs.umb.edu>
3547 * progname.c [AMIGA]: Add code for this case from Andreas S.
3549 Fri Dec 27 17:38:43 1996 Karl Berry <karl@cs.umb.edu>
3551 * progname.c (S_IX{USR,GRP,OTH}): Define if not defined, for the NeXT.
3552 From: Gregor Hoffleit <flight@mathi.uni-heidelberg.de>.
3554 * texmf.cnf.in (TEXMFCNF): Rewrite using /.'s etc. From Thomas.
3556 Sun Dec 15 06:21:22 1996 Karl Berry <karl@cs.umb.edu>
3558 * common.ac (AC_CHECK_FUNCS): Add getwd.
3560 * lib.h (xgetcwd): Declare.
3561 * Makefile.in (objects): Add xgetcwd.lo.
3562 * xgetcwd.c: New file from xdvik.
3564 * texmf.cnf.in (TEXMFCNF): Add $SELFAUTODIR:$SELFAUTOPARENT.
3565 * progname.c (selfdir, dirname, etc.): New functions.
3566 (kpse_set_progname): Set SELFAUTODIR and SELFAUTOPARENT.
3568 Sat Dec 14 14:41:39 1996 Karl Berry <karl@cs.umb.edu>
3570 * tex-file.h (kpse_src_type): New types kpse_tex{doc,source}_format.
3571 * tex-file.c (TEXDOC_ENVS, TEXSOURCE_ENVS): New envvars.
3572 (kpse_init_format): Handle them.
3573 * texmf.cnf.in (TEXDOCS, TEXSOURCES): New values.
3574 * kpathsea.texi: Document them.
3576 Fri Dec 13 16:46:00 1996 Karl Berry <karl@cs.umb.edu>
3578 * expand.h: Doc fix.
3580 Thu Dec 12 17:25:25 1996 Karl Berry <karl@cs.umb.edu>
3582 * xputenv.c [WIN32]: Work around putenv ("FOO=") unsetting
3583 FOO under NT. From Fabrice.
3585 Mon Dec 9 23:27:45 MET 1996 Thomas Esser <te@informatik.uni-hannover.de>
3587 * kpsewhich.c: add option -show-path to display the search path for a
3590 Mon Dec 9 17:23:32 1996 Karl Berry <karl@cs.umb.edu>
3592 * readable.c (READABLE): Check !S_ISDIR instead of S_ISREG,
3594 Suggestion from: Krzysio Leszczynski <chris@camk.edu.pl>.
3596 * tex-file.c (kpse_open_file): Open VF files in binary mode.
3599 * types.h (boolean) [WIN32]: Remove this case, Fabrice
3600 has found another solution.
3602 * elt-dirs.c (expand_elt): Do not check for a device separator.
3605 * texmf.cnf.in (OTPINPUTS, OCPINPUTS): These use a subdirectory omega/.
3608 Sun Dec 8 17:15:43 1996 Karl Berry <karl@cs.umb.edu>
3610 * c-proto.h (DllImport): Define here.
3611 * config.h (DllImport): Instead of here.
3612 * kpsewhich.c: Other DllImport changes.
3613 * line.c [WIN32]: Include <malloc.h>.
3614 * tex-file.c: Oops, had FOPEN_RBIN_MODE vs. R reversed.
3615 * tex-make.c (kpse_make_tex_discard_errors): Add Dllimport.
3616 * types.h (boolean): Bizarre WIN32 definition.
3617 From: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.
3619 Sat Dec 7 22:12:26 MET 1996 Thomas Esser <te@informatik.uni-hannover.de>
3621 * MakeTeXnames: Ensure that cmr1234 will be mapped to
3622 jknappen/sauter while cmr12 will still be mapped to public/cm.
3624 Fri Dec 6 15:08:35 1996 Karl Berry <karl@cs.umb.edu>
3626 * texmf.cnf.in (OFMFONTS, etc.): New definitions for Omega.
3627 * tex-file.h (kpse_file_format_type): Define kpse_ocp_format, etc.
3628 * acconfig.h (MAKE_OMEGA_{OFM,OCP}_BY_DEFAULT): Include these.
3629 * tex-file.c (kpse_init_format): New cases for the Omega types.
3630 (OCP_ENVS, etc.): New environment variable lists.
3631 From: John Plaice <plaice@iad.ift.ulaval.ca>.
3633 * texmf.cnf.in: Use fonts//<format> consistently,
3634 instead of fonts/<format>.
3636 * lib.h (itoa): Remove, it seems we don't use this function any more.
3638 * acconfig.h (HAVE_ITOA): Remove this.
3639 * Makefile.in (objects): Remove.
3641 * cnf.c (do_line): Oops, tested prog after freeing it,
3642 should have tested prog2.
3643 From: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.
3645 Tue Dec 3 14:57:52 1996 Karl Berry <karl@cs.umb.edu>
3647 * Makefile.in (objects): Remove strtol.lo, that's generated by
3649 From: Gregor Hoffleit <flight@mathi.uni-heidelberg.de>.
3651 Mon Dec 2 09:05:54 1996 Karl Berry <karl@cs.umb.edu>
3653 * MakeTeXcommon: Set KPSE_DOT before the trap. From Thomas.
3655 Tue Dec 3 18:02:08 1996 Ulrik Vieth <vieth@thphy.uni-duesseldorf.de>
3657 * texmf.cnf.in (TRFONTS): Set this to /usr/lib/font/devpost
3658 indepent of $prefix.
3660 Mon Dec 9 00:28:58 1996 Ulrik Vieth <vieth@thphy.uni-duesseldorf.de>
3662 * MakeTeXcommon: Use `basename $0` in usage and version messages
3663 for consistency with other programs and scripts.
3664 Also accept -help, -version in addition to --help, --version.
3666 * MakeTeX{MF,PK,TFM,ls-R,mkdir,names,update}:
3667 Use `basename $0` in usage messages for consistency.
3669 Tue Dec 3 18:02:08 1996 Ulrik Vieth <vieth@thphy.uni-duesseldorf.de>
3671 * texmf.cnf.in (TRFONTS): Set this to /usr/lib/font/devpost
3672 indepent of $prefix.
3674 Thu Nov 28 16:33:35 1996 Karl Berry <karl@cs.umb.edu>
3676 * common.ac (AC_ISC_POSIX): Remove this; it causes warnings from
3677 Autoconf that make no sense, isn't cached, and is probably of
3678 dubious value today.
3679 * configure.in: Move the klibtool stuff to common.ac, so the
3680 program configure.in's can find it.
3682 Wed Nov 27 14:43:41 1996 Karl Berry <karl@cs.umb.edu>
3684 * configure.in: Doc fix.
3685 * acconfig.h (HAVE_BASENAME, etc.): #undef these symbols so
3686 Autoheader can replace them; we use a non-standard macro to test
3687 for them, since they're part of the possibly-shared library.
3689 Mon Nov 25 14:04:42 1996 Karl Berry <karl@cs.umb.edu>
3691 * Makefile.in (texmf.sed): Replace all $(texmf) with `$TEXMF'
3692 except on the TEXMF line itself.
3694 Sun Nov 24 10:06:35 1996 Karl Berry <karl@cs.umb.edu>
3696 * Makefile.in (texmf.sed): Insert missing quote.
3697 (distdir): Use doc instead of listing all the targets (we were
3698 missing unixtex.ftp).
3700 * kpsewhich.c (read_command_line): Print the integer equivalent of
3703 Sat Nov 23 15:38:31 1996 Karl Berry <karl@cs.umb.edu>
3705 * xt.ac (with_x): Remove spurious ;;.
3707 Fri Nov 22 18:00:41 1996 Karl Berry <karl@cs.umb.edu>
3709 * cnf.c (do_line): Let var.prog lines work if we're running prog.exe.
3710 This happens with --enable-shared.
3713 Mon Nov 18 16:10:48 1996 Karl Berry <karl@cs.umb.edu>
3715 * tex-file.c (kpse_troff_font_format): Change to DEFAULT_TRFONTS
3716 to make texmf.cnf.in change.
3718 Fri Nov 15 14:13:36 1996 Karl Berry <karl@cs.umb.edu>
3720 * Makefile.in (texmf.sed): Get $TEXMF back into the paths.
3721 Noted by Andreas Scherer.
3722 (distdir): Add klibtool.version to the distribution.
3724 (install-exec): Use INSTALL_SCRIPT for scripts.
3726 Mon Nov 11 16:16:50 1996 Karl Berry <karl@cs.umb.edu>
3728 * various .c: Print (nil) instead of (null) so we can possibly
3729 detect printf of a null pointer.
3731 Sun Nov 10 16:22:43 1996 Karl Berry <karl@cs.umb.edu>
3733 * xt.ac: New file so web2c and xdvi treat --with-x-toolkit uniformly.
3736 Thu Oct 31 15:38:48 1996 Karl Berry <karl@cs.umb.edu>
3738 * expand.c (kpse_path_expand): Do brace expansion first.
3739 (kpse_brace_expand): Expand each element of the brace expansion, so
3740 {~a,~b} expands. Suggested by Thomas.
3742 Fri Oct 25 16:51:14 1996 Karl Berry <karl@cs.umb.edu>
3744 * Makefile.in (install-data): Install an empty dir file if none exists.
3745 (mostlyclean: Remove PROF etc. subdirs here.
3747 Tue Oct 22 13:56:20 1996 Karl Berry <karl@cs.umb.edu>
3749 * Makefile.in ($(library).h): Make the modtime of the file the
3750 same as the latest other .h; otherwise, we think kpathsea always
3753 Sun Oct 20 18:06:36 1996 Karl Berry <karl@cs.umb.edu>
3755 * Makefile.in (distdir): No need to distribute copying.texi.
3757 Mon Oct 14 11:32:51 1996 Karl Berry <karl@cs.umb.edu>
3759 * Changes for NT from: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.
3761 * xputenv.c (putenv) [WIN32]: #include <stdlib.h> instead of declaring.
3763 * tex-file.c (kpse_open_file): Use FOPEN_RBIN_MODE for tfm and gf
3766 * xopendir.h [!WIN32]: Conditionalize whole file.
3767 * xopendir.c (xopendir) [!WIN32]: Conditionalize defn.
3769 * kpsewhich.c (DllImport) [_WIN32]: Define.
3770 (path_sep): Use ENV_SEP_STRING.
3774 * debug.h (kpathsea_debug),
3775 * concatn.h (concatn): Give DllImport kludge.
3777 * config.h (DOSISH) [WIN32]: #define.
3778 Also include <windows.h>, etc.
3780 * c-std.h (getenv, popen, pclose) [WIN32]: Conditionalize decls.
3781 * c-fopen.h [WIN32]: Use rb and wb.
3782 * c-limits.h [HAVE_SYS_PARAM_H]: Conditionalize #ifdef.
3783 * common.ac: Check for <sys/param.h>
3784 * c-stat.h [WIN32]: #include <io.h> and #define stat _stat.
3786 Sat Oct 12 11:10:45 1996 Karl Berry <karl@cs.umb.edu>
3788 * tex-file.c (kpse_find_file): Include a suffix in what we pass to
3789 kpse_fontmap_lookup.
3791 * Makefile.in (paths.h): Remove extra $ when replacing $VARFONTS.
3793 Tue Oct 8 16:40:07 1996 Karl Berry <karl@cs.umb.edu>
3795 * tex-glyph.c (try_fontmap): Do not return the first alias if it
3796 itself is an alias. Also, if a particular alias succeeds,
3799 Sun Oct 6 17:52:58 1996 Karl Berry <karl@cs.umb.edu>
3801 * version.c: Doc fix.
3803 Sat Oct 5 17:06:54 1996 Karl Berry <karl@cs.umb.edu>
3805 * kpsewhich.c (-must-exist): New option.
3806 (must_exist): New global.
3808 * Makefile.in (install-data): Call install-info.
3809 * kpathsea.texi, *.texi: Use @url, @email, and @dircategory/@direntry.
3811 Sat Sep 21 19:02:17 1996 Karl Berry <karl@cs.umb.edu>
3813 * MakeTeXnames.cnf: Doc fix.
3815 * texmf.cnf.in (latex{2e,209}_inputs): Replace spurious `latex2e'.
3816 (TEXINPUTS.fontinst): New definition, including AFM files.
3817 (MFINPUTS, TFMFONTS, PKFONTS): Use $VARFONTS.
3820 Sat Sep 7 16:00:53 1996 Karl Berry <karl@cs.umb.edu>
3828 * MakeTeXMF (version): Call kpsewhich in MakeTeXcommon, not here.
3830 * version.c: Doc fix.
3832 * kpsewhich.c (read_command_line): Improve formatting of --help
3835 Fri Sep 6 19:16:20 1996 Karl Berry <karl@cs.umb.edu>
3837 * kpsewhich.c (read_command_line): Print the bug reporting address.
3838 * version.c (kpse_bug_address): New global.
3840 Thu Sep 5 19:08:04 1996 Karl Berry <karl@cs.umb.edu>
3842 * Makefile.in: Doc fix.
3844 * configure.in: Include ../acklibtool.m4 here.
3845 * common.ac: Not here. Move calls to kb_*LIBTOOL* functions, too.
3847 Sun Sep 1 17:34:17 1996 Karl Berry <karl@cs.umb.edu>
3849 * Makefile.in (.c.lo): Put filename right after $(CC), for Klibtool.
3850 (KPATHSEA_CC): Do not include ALL_CFLAGS here.
3851 (paths.h): Instead of deleting definitions with lowercase variable
3852 names, don't include them in the first place.
3854 Sat Aug 31 16:15:33 1996 Karl Berry <karl@cs.umb.edu>
3856 * common.ac: Call kb_KLIBTOOL_REPLACE_FUNCS and kb_PROG_LIBTOOL
3857 instead of the AM_* versions.
3858 Also, include acklibtool.m4 instead of aclibtool.m4.
3860 * Makefile.in (liblobjs): Change to use @LTLIBOBJS@.
3862 Sat Aug 17 17:22:18 1996 Karl Berry <karl@cs.umb.edu>
3864 * texmf.cnf.in (PKFONTS*, GFFONTS): Need another / to match TDS.
3866 Sat Aug 10 15:46:46 1996 Karl Berry <karl@cs.umb.edu>
3868 * texmf.cnf.in (TFMFONTS, VFFONTS): Update with trailing // for TDS.
3877 * MakeTeXPK: Change --expand to -expand-var.
3879 * tex-glyph.c (try_fontmap): Return the real name of the first
3880 alias as the font name.
3881 (kpse_find_glyph): Change call, free string if necessary, etc.
3882 Basic idea from a patch sent by wls@astro.umd.edu.
3884 Fri Aug 9 15:42:40 1996 Karl Berry <karl@cs.umb.edu>
3886 * Makefile.in (paths.h): Substitute for dbtex, dbfonts, and prefix.
3887 Also, do not define lowercase variables.
3889 Thu Aug 8 14:50:29 1996 Karl Berry <karl@cs.umb.edu>
3891 * texmf.cnf.in (TEXCONFIG, INDEXSTYLE): Use //, just in case there
3892 are subdirectories. From Thomas.
3894 Tue Aug 6 13:59:03 1996 Karl Berry <karl@cs.umb.edu>
3896 * kpsewhich.c (lookup): Handle user_path case.
3898 Mon Aug 5 17:23:56 1996 Karl Berry <karl@cs.umb.edu>
3900 * kpsewhich.c: Rename -expand to -expand-var,
3901 -path to -expand-path, and add new -path option to specify
3902 explicit path for lookups.
3904 * tex-file.h (kpse_ist_format): New format.
3905 * tex-file.c (kpse_init_format): Initialize it.
3906 (IST_ENVS): New #define.
3907 * texmf.cnf.in (INDEXSTYLE): Set the default path.
3909 * tilde.c (kpse_tilde_expand): If $HOME starts with //, only use
3912 Sat Aug 3 17:18:00 1996 Karl Berry <karl@cs.umb.edu>
3914 * kpsewhich.c (read_command_line): Change Usage: line to conform.
3916 Fri Aug 2 11:57:23 1996 Karl Berry <karl@cs.umb.edu>
3918 * db.c (db_build): Test len > 0 before evaluating len - 1.
3919 From: "Peter Henderson, Syrinx Speech Systems P/L, Tel: (+61-2)
3920 956-6540" <peterh@syrinx.com.au>.
3922 Sat Jul 27 14:35:17 1996 Karl Berry <karl@cs.umb.edu>
3924 * Makefile.in (paths.h): Change target name to
3925 $(kpathsea_dir)/paths.h, for rdepend.make dependency.
3927 * Makefile.in (liblobjs): New variable, gets @LIBTOOL_LIBOBJS@.
3928 * common.ac (kbAC_LIBTOOL_REPLACE_FUNCS): Use this new macro instead
3929 of AC_REPLACE_FUNCS.
3931 Fri Jul 26 15:51:55 1996 Karl Berry <karl@cs.umb.edu>
3933 * Makefile.in (KPATHSEA_CC): Include $(compile).
3934 (.c.lo): Change suffix rule for libtool 0.5.
3935 (install-exec): Use new variables INSTALL_LIBTOOL_*.
3937 Mon Jul 8 17:21:34 1996 Karl Berry <karl@laurie>
3939 * unixtex.texi: Rename from obtain.texi.
3941 Fri Jun 7 19:10:52 1996 K. Berry <kb@cs.umb.edu>
3943 * common.ac: Include ../kpathsea/withenable.ac.
3945 Thu Jun 6 16:34:43 1996 K. Berry <kb@cs.umb.edu>
3947 * Makefile.in (kpsewhich): Use libtool commands etc. instead of
3948 our shared lib stuff.
3949 * common.ac: Replace our shared lib stuff with gm_PROG_LIBTOOL.
3950 * withenable.ac: Remove --enable-shared stuff.
3952 Sat Jun 1 15:05:42 1996 Karl Berry <karl@cs.umb.edu>
3954 * MakeTeX*: Add RCS info for version strings.
3956 Thu May 30 13:46:46 1996 Karl Berry <karl@cs.umb.edu>
3958 * MakeTeXPK: Doc fix; we're called with the base font name
3959 (pplr8r), not the user font name (pplr).
3961 * db.c (ignore_dir_p): Remove the dot_pos != dirname test,
3962 since it's always true. It caused directory names containing .'s
3963 (e.g., `dc-1.2') to be ignored.
3964 From Thomas Esser and Frank Mittelbach.
3966 Sun May 26 16:06:41 1996 Karl Berry <karl@cs.umb.edu>
3968 * tex-make.c (kpse_make_tex): If called kpse_init_form, reassign
3969 our local variable, too.
3971 Thu May 23 16:20:53 1996 Karl Berry <karl@cs.umb.edu>
3973 * MakeTeXnames: Doc fix.
3975 Fri May 3 13:34:51 1996 Karl Berry <karl@cs.umb.edu>
3977 * withenable.ac: Use AC_ARG_WITH instead of AC_ARG_ENABLE for
3980 * tex-file.c (kpse_find_file): Oops, testing for kpse_pk_format
3981 twice, when meant to test for kpse_gf_format.
3983 * cnf.c (do_line): Allow whitespace in variable values.
3985 * texmf.cnf.in: Finish adding easier support for !!. From Joachim.
3987 Wed May 1 16:30:56 1996 Karl Berry <karl@cs.umb.edu>
3989 * texmf.cnf.in (TEXCONFIG): Take $HOME back out again, we're going
3990 to hardwire a seach for dvipsrc in $HOME.
3992 Mon Apr 29 14:02:03 1996 Karl Berry <karl@cs.umb.edu>
3994 * texmf.cnf.in (latex2e_inputs): Use just `latex', not `latex2e'.
3995 From: David Carlisle <carlisle@cs.man.ac.uk>.
3996 (TEXINPUTS, etc.): Also rewrite to make !! support easier to add.
3997 From: Joachim Schrod <schrod@iti.informatik.th-darmstadt.de>.
3999 * install.texi: Document ksh/ash/Ultrix sh lossage, in favor of
4002 Sun Apr 28 15:02:55 1996 Karl Berry <karl@cs.umb.edu>
4004 * acconfig.h (ASM_NEEDS_UNDERSCORE): New define.
4005 From: Peter Breitenlohner <peb@MPPMU.MPG.DE>.
4007 * Makefile.in (sharedlib_version): Remove unused variable.
4009 Sat Apr 27 17:15:14 1996 Karl Berry <karl@cs.umb.edu>
4011 * texmf.cnf.in (hyph_size): Add this.
4013 Tue Apr 23 07:34:05 1996 Karl Berry <karl@cs.umb.edu>
4015 * texmf.cnf.in (MIMELIBDIR, MAILCAPDIR): Add these.
4016 (MPXCOMMAND): And these.
4018 * MakeTeX.site: New file, just an example.
4020 Mon Apr 22 17:31:27 1996 Karl Berry <karl@cs.umb.edu>
4022 * MakeTeXnames.conf: Rename to MakeTeXnames.cnf.
4023 * MakeTeXnames: Change call.
4024 * Makefile.in (install-exec): Change install.
4026 Sun Apr 21 12:09:06 1996 Karl Berry <karl@cs.umb.edu>
4028 * tex-file.h (kpse_set_program_enabled, kpse_maketex_option):
4029 Declare new functions.
4030 (kpse_src_type): Define new type.
4031 * tex-file.c (kpse_set_program_enabled): New function, so we can
4032 set this at all the various levels and get the overrides right.
4033 (kpse_maketex_option): Handle MakeTeX options in a common place.
4034 * proginit.c (kpse_init_prog): Call it, and remove the make_tex_pk
4036 * proginit.h (kpse_init_prog): Likewise.
4037 * kpsewhich.c (parse_options): New options -maketex and -nomaketex,
4038 just calls kpse_maketex_option.
4040 * Makefile.in ($(library).h): New target, made at dist time.
4042 Sat Apr 20 17:21:24 1996 Karl Berry <karl@cs.umb.edu>
4044 * tex-file.c (kpse_find_file): Do not pound the disk on the first
4045 search if we might be trying the second.
4047 Tue Mar 12 15:21:16 1996 Karl Berry <karl@cs.umb.edu>
4049 * MakeTeXPK: Restore check for mismatched mode and bdpi. From Thomas.
4051 Sun Mar 10 14:17:14 1996 Karl Berry <karl@cs.umb.edu>
4053 * MakeTeXnames.conf: Rename VARFONTS to VARTEXFONTS.
4055 * MakeTeXcommon (trap): Oops, cd $KPSE_DOT before testing $STDOUT.
4057 Sat Mar 9 17:57:02 1996 Karl Berry <karl@cs.umb.edu>
4059 * MakeTeXcommon (trap): cd back to KPSE_DOT before removing
4060 TEMPDIR, in case $TMPDIR is relative. Reported by Thomas.
4062 Fri Mar 8 11:41:22 1996 Karl Berry <karl@cs.umb.edu>
4064 * db.c (kpse_db_search): Add debug statement with the result of
4067 * tex-make.c (kpse_make_tex): Don't look for the arg spec here.
4068 * tex-file.c (init_maketex): Do it here. Check for disbaling in
4069 the config file, too.
4071 * tex-make.c (misstex): Look for TEXMFOUTPUT in texmf.cnf.
4072 * texmf.cnf.in (TEXMFOUTPUT): Define this.
4074 * kpathsea.texi (Suppressing warnings): New node to describe TEX_HUSH.
4076 * tex-file.c (kpse_init_format): Include the numeric value of the
4077 format for use with kpsewhich --format.
4079 * tex-hush.c: Support `all' to suppress everything.
4081 Thu Mar 7 11:24:51 1996 Karl Berry <karl@cs.umb.edu>
4083 * kpsewhich.c: Change --program to --progname, for compatibility
4086 * texmf.cnf.in (TEXCONFIG): Remove ~ from default path, for
4087 consistency with everything else.
4089 * readable.c: Let's call it TEX_HUSH instead of KPSE_NOWARN_PERM,
4090 so we can use it for checksum warnings, too. And for similarity
4092 * kpathsea.texi: Corresponding change.
4093 * tex-hush.[ch]: New files.
4095 Wed Feb 28 15:16:32 1996 Karl Berry <karl@cs.umb.edu>
4097 * tex-make.c (misstex): Let the name missfont.log be configurable.
4098 * texmf.cnf.in (MISSFONT_LOG): Add this definition.
4099 * kpathsea.texi: Document this.
4101 Sun Feb 25 16:55:35 1996 Karl Berry <karl@cs.umb.edu>
4103 * tex-file.c: Reverse order of alias & suffix searches, so we look
4104 for the original TFM name before aliases.
4106 Sun Feb 18 16:24:50 1996 Karl Berry <karl@cs.umb.edu>
4108 * tex-file.c (xopenfile): Move this function to here and rename to
4110 * xopenfile.c: Remove this.
4111 * Makefile.in (objects): Remove xopenfile.o.
4113 Thu Feb 15 12:57:56 1996 Karl Berry <karl@cs.umb.edu>
4115 * tex-make.c (maketex): Do not print the `kpathsea: Running ...'
4116 message if we're discarding output.
4117 (misstex): Do not log the missing file in missfont.log, either.
4119 Sat Feb 10 14:59:23 1996 Karl Berry <karl@cs.umb.edu>
4121 * Makefile.in (sharedlib): Add new command here $(shared_postlink)
4122 so we can make the necessary symlink.
4123 (shared_postlink): New variable
4125 Fri Feb 9 15:46:55 1996 Karl Berry <karl@cs.umb.edu>
4127 * withenable.ac (maketex{mf,pk,tfm}-default): Move here from
4128 web2c/withenable.ac.
4130 Wed Feb 7 16:52:08 1996 Karl Berry <karl@cs.umb.edu>
4132 * MakeTeXnames.conf: Extract this new script from MakeTeXcommon, sigh.
4133 * MakeTeX*: Other updates from Thomas --
4134 - replace the exec 3>&1 1>&2 by trap/subshell construction. The
4135 3>&1 may cause the 'open fd bug' with bash.
4136 - ts is a typo. tc are the text companion fonts
4137 - replace >&3 by >$STDOUT where $STDOUT is a filename. Its content is
4138 displayed by the trap command in MTcommon.
4139 - added missing ;; in case/esac
4140 - use : ${VAR=VAL} where possible
4142 - removed psfonts.map parsing (was only needed for ps2pk)
4143 - removed >&2 where redirection stdout->stderr is active anyway
4144 - removed </dev/null where redirection stdin<-/dev/null is active
4146 - Oops: MakeTeXTFM still used old code: >$TEMPDIR/mtout.$$
4148 trap 'test -f $STDOUT && cat $STDOUT; cd /; rm -rf $TEMPDIR; exit 0' 0 1 2 15
4150 - MT_FEATURES now in MakeTeXnames.conf since we need to read it
4151 later than MakeTeXcommon
4153 Tue Feb 6 17:04:25 1996 Karl Berry <karl@cs.umb.edu>
4155 * tex-file.h (kpse_file_format_type): Add afm and type1 support.
4156 * tex-file.c: Likewise.
4157 (kpse_init_format): In tex_ps_header_format, no longer need to
4158 recognize .pfa and .pfb.
4159 * texmf.cnf.in (AFMFONTS, T1FONTS): Likewise.
4160 * Makefile.in (paths.h): Include 0-9 in the regexp for the sake of
4163 Sat Feb 3 15:45:00 1996 Karl Berry <karl@cs.umb.edu>
4165 * Makefile.in (DEFS): Move to common.make.
4167 Mon Jan 29 17:01:44 1996 Karl Berry <karl@cs.umb.edu>
4169 * MakeTeXls-R: Doc fix.
4171 Mon Jan 8 17:17:42 1996 Karl Berry <karl@cs.umb.edu>
4173 * tex-file.c: Doc fix.
4175 * fontmap.c (MAP_NAME, MAP_HASH_SIZE): Conditionalize these #defines.
4177 Sun Jan 7 17:38:00 1996 Karl Berry <karl@cs.umb.edu>
4179 * db.c (DB_HASH_SIZE, DB_NAME): Conditionalize these.
4181 * MakeTeXcommon (dcfontdir, tsfontdir): Use supplier `jknappen'.
4183 Mon Jan 1 15:14:42 1996 Karl Berry <karl@cs.umb.edu>
4185 * Makefile.in (distdir): Don't bother including freedom.texi.
4187 Fri Dec 29 17:17:08 1995 Karl Berry <karl@cs.umb.edu>
4189 * Makefile.in: misc.make is now clean.make.
4191 Tue Dec 26 14:21:08 1995 Karl Berry <karl@cs.umb.edu>
4193 * withenable.ac: New file with --enable option extracted from
4194 common.ac, for the top level to include.
4196 * acconfig.h (MAKE_TEX_PK_BY_DEFAULT): Add this.
4198 * readable.c (kpse_readable_file): Omit warning if
4199 KPSE_NOREAD_WARN is set to 1.
4201 Wed Dec 13 14:14:09 1995 Karl Berry <karl@cs.umb.edu>
4203 * kpsewhich.c: Call kpse_init_format when necessary in the
4206 Mon Dec 11 14:42:13 1995 Karl Berry <karl@cs.umb.edu>
4208 * common.ac: --disable-shared should not act like --enable-shared.
4211 Sun Dec 10 15:35:15 1995 Karl Berry <karl@cs.umb.edu>
4213 * tex-file.h (kpse_mft_format): New format.
4214 * tex-file.c (MFT_ENVS): New variable.
4215 (kpse_init_format): Initialize it.
4216 * texmf.cnf.in (MFTINPUTS): New variable.
4218 Fri Dec 8 08:54:58 1995 Karl Berry <karl@cs.umb.edu>
4220 * xopenfile.c: Doc fix.
4222 Mon Dec 4 17:23:34 1995 Karl Berry <karl@cs.umb.edu>
4224 * Makefile.in (check): Extra $ missing.
4226 Sun Dec 3 13:42:54 1995 Karl Berry <karl@cs.umb.edu>
4228 * tex-file.c (TEX_SUFFIXES): Add .dtx.
4230 Sun Nov 19 16:19:37 1995 Karl Berry <karl@cs.umb.edu>
4232 * MakeTeX*: Use MakeTeXupdate, mkdir, etc. in $TEXMFCNF_DIR, not
4233 along PATH. From John I.
4235 Sat Nov 18 17:03:46 1995 Karl Berry <karl@cs.umb.edu>
4237 * tex-file.c (TEX_SUFFIXES): Add .txi.
4239 Fri Nov 17 15:12:03 1995 Karl Berry <karl@cs.umb.edu>
4241 * common.ac (kb_AC_SYS_SHAREDLIB): Add the kb_ prefix.
4243 * Makefile.in ({un,}install-exec): Use sharedlibname and
4244 staticlibname instead of `basename`.
4245 Also, pass no arguments to $(shared_postinstall); let the Autoconf
4246 macro set this completely.
4248 * expand.c: Bash code remains under the GPL, per rms.
4250 Thu Nov 16 16:14:14 1995 Karl Berry <karl@cs.umb.edu>
4252 * Makefile.in (uninstall-exec): Needs same `basename` treatment as
4253 install-exec. From Ulrik.
4255 * config.h [AMIGA] (pclose): Must be #defined as 0, not just
4256 empty. From Andreas Scherer.
4258 Tue Nov 14 14:04:57 1995 Karl Berry <karl@cs.umb.edu>
4260 * tex-file.h (kpse_fallback_resolutions_string): New global.
4261 * tex-file.c: Define it.
4262 (kpse_init_fallback_resolutions): Use it instead of
4263 DEFAULT_FONT_SIZES, if set.
4265 Mon Nov 13 10:43:11 1995 Kathy Hargreaves <karl@cs.umb.edu>
4267 * find-suffix.c: Remove spurious + 1.
4269 Sun Nov 12 13:42:51 1995 Karl Berry <karl@cs.umb.edu>
4271 * tex-file.c: Improve warning message if last resort sizes are not
4272 sorted. Suggested by Kathy.
4274 * texmf.cnf.in (trie_size, main_memory): Doc improvements from Wayne.
4276 Sat Nov 11 16:58:37 1995 Karl Berry <karl@cs.umb.edu>
4278 * MakeTeXnames: Correct too many left quotes.
4280 * tex-make.c (kpse_make_tex): Initialize the format if necessary.
4282 Mon Oct 30 16:49:05 1995 Karl Berry <karl@cs.umb.edu>
4284 * MakeTeXPK (GFNAME): Do not assume $cmd produced $GFNAME. From Tim.
4286 * texmf.cnf.in (trie_size): Increase to 32000 so common language
4287 combinations will require no change. Suggested by Ulrik.
4289 * MakeTeXls-R: Missing s in sed cmd.
4290 * MakeTeXTFM (TFM_NAME): Should be TFMNAME.
4291 * MakeTeXnames (FONTNAME): Missing `.
4292 * MakeTeXcommon: If the caller requires no args (i.e.,
4293 MakeTeXls-R), don't complain if given no.
4294 Missing } in varfonts case.
4297 Sun Oct 22 17:02:25 1995 Karl Berry <karl@cs.umb.edu>
4299 * c-std.h (hypot): Remove this declaration. It was only needed for
4300 fontutils, and it conflicts under Linux 1.2.10. From Tim Murphy.
4302 Sat Oct 14 10:55:26 1995 Karl Berry <karl@cs.umb.edu>
4304 * acconfig.h (EDITOR): Missing %. From Tim Murphy.
4306 Sat Oct 7 17:44:41 1995 Karl Berry <karl@cs.umb.edu>
4308 * Makefile.in (install-exec): Use basename to get the real name so
4309 we don't install in $(libdir)/../kpathsea/etc.
4312 Sat Sep 30 12:16:05 1995 Karl Berry <karl@cs.umb.edu>
4314 * MakeTeXls-R (db_file_tmp): Replace double slashes with single,
4315 for the sake of NetBSD/FreeBSD. From Thomas.
4317 Fri Sep 29 11:29:08 1995 Karl Berry <karl@cs.umb.edu>
4319 * Makefile.in (tex-file.o): CPPFLAGS is now ALL_CPPFLAGS.
4321 Mon Sep 25 15:05:32 1995 Karl Berry <karl@cs.umb.edu>
4323 * lib.h (FATAL_PERROR): Avoid using the formal parameter `s' since
4324 cc gets confused with %s.
4326 * MakeTeXls-R: Include subtleties from Thomas.
4327 * MakeTeXcommon: Rename stickydir to appendonlydir.
4329 Sun Sep 24 13:15:51 1995 Karl Berry <karl@cs.umb.edu>
4331 * cnf.c (kpse_cnf_get): Call kpse_init_db here.
4332 * pathsearch.c (search): Instead of here.
4334 * tex-file.c (init_format): The override path may be null, so use
4337 * MakeTeXPK: Don't use unset, as Ultrix sh doesn't support it.
4339 Sat Sep 23 15:07:12 1995 Karl Berry <karl@cs.umb.edu>
4341 * common.ac (basename strstr putenv): Use AC_REPLACE_FUNCS instead
4342 of AC_CHECK_FUNCS. Add strtol and strcasecmp from web2c/lib and xdvik.
4343 * Makefile.in (objects): Use @LIBOBJS@ instead of corresponding .o's.
4345 Fri Sep 22 13:34:51 1995 Karl Berry <karl@cs.umb.edu>
4347 * acconfig.h (MAKE_TEX_*): #define as 0/1, instead of #undef,
4348 since we now pass this as a default argument to init_maketex.
4350 * tex-file.c (init_path): Look for environment variables PATH.prog
4351 and PATH_prog before PATH.
4353 Thu Sep 21 13:53:38 1995 Karl Berry <karl@cs.umb.edu>
4355 * kpsewhich.c (USAGE): Avoid bare newline.
4357 * xfseek.c, xftell.c: Add unprototypification.
4359 * common.ac (library_cflags): AC_SUBST for this depending on
4361 * Makefile.in (shared_cflags, sharedlib_cflags): Rewrite
4362 accordingly, so the shared flags aren't always used.
4364 Wed Sep 20 17:06:53 1995 Karl Berry <karl@cs.umb.edu>
4366 * tex-file.c: Add .ltx, .texi, and .texinfo as alternate suffices
4367 for kpse_tex_format.
4369 Tue Sep 19 17:12:10 1995 Karl Berry <karl@cs.umb.edu>
4371 * texmf.cnf.in: Changes for TDS.
4373 * MakeTeX*: New scripts from Thomas.
4375 Sat Sep 16 17:30:46 1995 Karl Berry <karl@cs.umb.edu>
4377 * tex-file.c: Do not print extra `kdebug:'s when printing the
4380 * expand.c: Incorporate brace expansion code from bash.
4381 * texmf.cnf.in (PKFONTS.xdvi): Use it here, and document the
4382 possibility for $TEXMF.
4384 Thu Sep 14 12:59:17 1995 Karl Berry <karl@cs.umb.edu>
4386 * tex-file.c (kpse_init_format): For any_glyph_format, do not
4387 initialize a suffix.
4389 * kpsewhich.c (main): Initialize all the formats.
4390 (find_format): psfonts.map => dvips_config_format.
4392 Tue Sep 12 16:19:44 1995 Karl Berry <karl@cs.umb.edu>
4394 * MakeTeX{MF,TFM}: New scripts from te.
4395 * Makefile.in (install-exec, distdir): Install and dist them.
4397 Sun Sep 10 15:11:07 1995 Karl Berry <karl@cs.umb.edu>
4399 * pathsearch.c (search): Doc fix.
4401 * tex-file.h (kpse_format_info_type): Add alt_suffix member.
4402 * tex-file.c (init_format): Set it for PS headers and picts, and
4403 print it if it exists.
4404 * kpsewhich.c: Use the new alt suffixes and also the regular
4405 suffixes to allow for -format names as well as numbers, and for
4406 file format guessing.
4408 Sat Sep 9 14:27:48 1995 Karl Berry <karl@cs.umb.edu>
4410 * MakeTeXPK: If the MODE and BDPI don't match, ignore the mode.
4411 Suggested by Thomas.
4413 * tex-file.[ch] (kpse_font_override_path): Remove this.
4414 (kpse_format_info_type): Replace the `override_p' member with a
4415 general `override_path'.
4416 * proginit.c: Set the override path for both fonts and headers.
4418 * acconfig.h (NOTOOL): Add this.
4420 Fri Sep 8 14:52:42 1995 Karl Berry <karl@cs.umb.edu>
4422 * acconfig.h (HYPERXDVI): Don't need this after all, Autoconf's
4423 default actions are better.
4425 Thu Sep 7 15:11:17 1995 Karl Berry <karl@cs.umb.edu>
4427 * acconfig.h (HYPERXDVI): Define this.
4429 Mon Sep 4 17:14:25 1995 Karl Berry <karl@cs.umb.edu>
4431 * debug.h (KPSE_LAST_DEBUG): Define this, for use with gsftopk.
4433 * Makefile.in (objects): Add xopenfile.o.
4434 * xopenfile.c: New file.
4435 * lib.h (xopenfile): Declare it.
4437 Sat Sep 2 13:49:53 1995 Karl Berry <karl@cs.umb.edu>
4439 * tex-file.h (kpse_file_format): Rename kpse_ps_header_format to
4440 tex_ps_header_format.
4441 * tex-file.c (TEX_PS_HEADER_ENVS): Rename likewise, etc.
4442 * kpsewhich.c (suffixes): Likewise.
4443 * texmf.cnf: Likewise.
4445 * tex-file.c: Never set must_exist on the first search. Is this
4448 Fri Sep 1 13:24:49 1995 Karl Berry <karl@cs.umb.edu>
4450 * tex-make.c (maketex): Give perror if the popen fails.
4452 * db.c (db_dir_list): Keep track of the directories we found db's in.
4453 (kpse_db_search): If no db directories are relevant to this path
4456 * pathsearch.c (path_search): Doc fix.
4458 * Makefile.in (shared_ext, etc.): Move to common.make.
4460 Thu Aug 31 14:40:32 1995 Karl Berry <karl@cs.umb.edu>
4462 * kpsewhich.c: Install suffix rewrite from Yves.
4464 * common.ac: Move AC_SYS_SHAREDLIB etc. here.
4466 * acconfig.h (ASM_SCALED_FRACTION): Add this.
4468 Wed Aug 30 17:02:58 1995 Karl Berry <karl@cs.umb.edu>
4470 * tex-file.c (kpse_find_file): Call kpse_make_tex.
4471 * tex-make.c (kpse_make_tex): Only call set_maketex_mag if we are
4472 doing MakeTeX-PK or GF-ing.
4475 Tue Aug 29 13:58:59 1995 Karl Berry <karl@cs.umb.edu>
4477 * Makefile.in (texmf.sed): Depend on paths.make. Should we avoid
4478 creating a new file unless it changes, a la c-auto.h?
4480 * configure.in: Check for --enable-shared.
4482 Mon Aug 28 17:50:06 1995 Karl Berry <karl@cs.umb.edu>
4484 * Makefile.in: Add sharedlib variables.
4486 Sun Aug 27 13:27:01 1995 Karl Berry <karl@cs.umb.edu>
4488 * hash.c (hash_print): New option summary_only, and always print
4489 the summary. Also, output to stderr, not stdout.
4490 * hash.h: Change decl.
4492 * db.c (kpse_init_db): Oops, have to make it external, so rename
4495 * pathsearch.c (search): Call it.
4497 * cnf.c (read_all_cnf): Rename from read_files.
4498 * db.c (read_all_lsR): Rename from read_all_dbs.
4499 * fontmap.c (read_all_maps): Rename from map_create.
4501 * tex-file.h (kpse_db_format): Another new type.
4502 * tex-file.c (kpse_init_path): Case for it.
4503 (DB_ENVS): Envvar list.
4504 * texmf.cnf.in (TEXMFDBS): Default path.
4505 * kpsewhich.c (suffix): Add new element.
4507 Sat Aug 26 14:49:28 1995 Karl Berry <karl@cs.umb.edu>
4509 * cnf.c (CNF_NAME): #define this.
4510 * tex-file.c (kpse_init_path): Instead of setting the .program
4511 element to texmf.cnf here.
4513 * db.c (db_insert): Rename to kpse_db_insert.
4514 * db.h: Change decl.
4515 * tex-make.c (maketex): Change call.
4517 * cnf.c, cnf.h, db.c, db.h, pathsearch.c: Remove references to
4519 * pathsearch.c (first_search): New static.
4520 (path_search): Do not do ls-R search if first_search.
4521 (search): Do not log if first_search.
4523 * pathsearch.c (path_search): Don't bother calling elt_in_db --
4524 the match function in db.c will catch the irrelevant hits.
4527 Fri Aug 25 14:01:24 1995 Karl Berry <karl@cs.umb.edu>
4529 * cnf.c (kpse_cnf_get): Look for NAME.PROGRAM before NAME.
4530 (do_line): Save NAME.PROGRAM separately from NAME.
4531 * texmf.cnf.in: Put the usual definitions of TEXINPUTS and PKFONTS
4532 first now, before the .prog variants.
4534 * fontmap.c: Use ISSPACE instead of just checking for space and tab.
4536 Thu Aug 24 13:46:19 1995 Karl Berry <karl@cs.umb.edu>
4538 * lib.h (strstr) [!HAVE_STRSTR]: Declare this.
4539 * Makefile.in (objects): Add strstr.o.
4540 * common.ac (AC_CHECK_FUNCS): Remove memmove; we seem to never use
4541 this. And add strstr.
4543 * fontmap.c (map_file_parse): Comments at the last % or @c, not at
4544 the first %. Also, implement the include feature.
4545 And thus, don't give up if the map file can't be opened.
4546 (token): New routine, since we can no longer use strtok.
4548 * tex-file.h (kpse_file_format_type): New format kpse_fontmap_format.
4549 * tex-file.c (kpse_init_format): Initialize it.
4550 (FONTMAP_ENVS): Define it.
4551 * texmf.cnf.in (TEXFONTMAPS): Define the default.
4552 * kpsewhich.c (suffix): Add .map.
4554 Tue Aug 22 13:28:46 1995 Karl Berry <karl@cs.umb.edu>
4556 * MakeTeXPK.in: No >&/dev/null, source.map is now supplier.map.
4558 * tex-file.c: Doc fix.
4560 Mon Aug 21 15:52:42 1995 Karl Berry <karl@cs.umb.edu>
4562 * c-memstr.h (SYSV): OK, omit this definition in the never-ending
4563 battle to appease the X headers.
4564 From: neal@ctd.comsat.com (Neal Becker).
4566 Sun Aug 20 12:58:28 1995 Karl Berry <karl@cs.umb.edu>
4568 * cnf.c (read_files): Concatenate consecutive lines that end in \.
4570 * types.h (boolean) [__cplusplus]: Don't define true and false for C++.
4571 From: Johannes Sixt <Johannes.Sixt@risc.uni-linz.ac.at>.
4573 * db.c (db_build): Call absolute_p to determine if the possible
4574 directory really is one.
4575 Also, allow relative names in the ls-R file.
4577 * kpsewhich.c: New options -path, -separator.
4578 From: David Aspinall <da@dcs.ed.ac.uk>.
4580 * MakeTeXPK.in: Unset DISPLAY and MFTERM.
4581 From: Yves Arrouye <Yves.Arrouye@imag.fr>.
4583 * db.c (ignored_dir_p): New function to ignore . directories.
4584 (db_build): Call it, and do the ignoring. Report on how many
4585 directories were ignored.
4587 * Makefile.in (MakeTeXPK): Remove dcfontdir substitution.
4588 * MakeTeXPK.in: Play redirection games so regular echo's will work.
4589 (dcfontdir): Remove this; it's unused.
4590 From: te@informatik.uni-hannover.de (Thomas Esser).
4592 * pathsearch.c (path_search): Free more garbage.
4593 From: John Eaton <jwe@che.utexas.edu>.
4595 Sat Aug 19 12:57:54 1995 Karl Berry <karl@cs.umb.edu>
4597 * kpsewhich.c (USAGE): Document -format and -program.
4599 * tex-make.c (maketex): Give warning if MTPK output a string that
4600 wasn't a filename. From Pierre.
4602 * kpsewhich.c (read_command_line): Execute -expand right
4604 * tilde.c (kpse_tilde_expand): If HOME is /, don't start path with //.
4605 From: Andreas Schott <andreas@mpa-garching.mpg.de>.
4607 * db.c (match): Make /// (or more) like //.
4608 * elt-dirs.c (do_subdir): Likewise. Also, skip over as many
4609 slashes as we found.
4611 * variable.c (expanding_p, expanding, expansions, expansion_type):
4612 New functions, variables, type.
4613 (expand): Check for recursively expanded variables.
4614 Reported by Nicolai Langfeldt <janl@math.uio.no>.
4616 * cnf.c (kpse_cnf_get): Free temporary list after extracting the
4617 first element (the one we return).
4619 Fri Aug 18 17:39:29 1995 Karl Berry <karl@cs.umb.edu>
4621 * MakeTeXPK.in (1270): The guess here should be linohi, not linolo.
4624 * kpsewhich.c (suffix): Update for new MetaPost stuff.
4625 * tex-file.h: Doc fix.
4627 Mon Aug 14 17:49:05 1995 Karl Berry <karl@cs.umb.edu>
4629 * debug.h: Define KPSE_DEBUG, not DEBUG.
4630 * hash.c, hash.h, tex-file.c, elt-dirs.c, dir.c, db.c: Change
4631 #ifdef's accordingly. From John I.
4633 Sun Aug 13 16:03:51 1995 Karl Berry <karl@cs.umb.edu>
4635 * tex-file.h (kpse_file_format_type): Rename kpse_dvips_headers to
4636 just kpse_ps_headers. xdvik uses this too, now.
4637 * tex-file.c (kpse_init_format, KPSE_DVIPS_HEADER_ENVS): Likewise.
4638 Also, look for the PSHEADERS envvar, not DVIPSHEADERS.
4639 * texmf.cnf.in: Likewise.
4641 Thu Aug 10 19:31:14 1995 Karl Berry <karl@cs.umb.edu>
4643 * tex-file.c (kpse_init_fallback_resolutions): Complain if sizes
4644 aren't sorted, and ignore offending sizes.
4645 From: Manuel Fahndrich <manuel@CS.Berkeley.EDU>.
4647 Tue Aug 1 13:53:53 1995 Karl Berry <karl@cs.umb.edu>
4649 * variable.[ch] (kpse_var_value): Use const_string.
4651 * texmf.cnf.in (string_vacancies): Decrease to 25000. From Bernd.
4652 (font_max): Add this. From Wayne.
4654 Mon Jul 31 15:47:01 1995 Karl Berry <karl@cs.umb.edu>
4656 * db.h (KPSE_DB_DIR): Remove $.
4657 * cnf.c (read_files): Call kpse_var_value instead of kpse_var_expand.
4659 * tex-file.[ch]: Add mpsupport and troff_font formats.
4660 * texmf.cnf.in: Likewise.
4662 Sat Jul 29 09:21:44 1995 Karl Berry <karl@cs.umb.edu>
4664 * variable.h (kpse_var_value): Declare this.
4665 * variable.c (kpse_var_value): New routine.
4667 * tex-file.c: Check TEXMFINI for pool/fmt/base/mem lookups
4669 Tue Jul 25 11:22:25 1995 Karl Berry <karl@cs.umb.edu>
4671 * concatn.c (concatn): Free the intermediate result, not the final
4674 * texmf.cnf.in (TEXMFLOG): Don't mention this, as we need to log
4675 the finding of the .cnf file itself, thus it must be an
4676 environment variable.
4678 Sat Jul 22 17:09:58 1995 Karl Berry <karl@cs.umb.edu>
4680 * tex-file.c (KPSE_{MEM,MP,MPPOOL}_ENVS): Define envvars.
4681 * tex-file.h (kpse_file_format_type): Add kpse_{mem,mp,mppool}_formats.
4682 * texmf.cnf.in (MPPOOL, MPMEMS, MPINPUTS): New variables.
4683 Adapted from: vieth@xerxes.thphy.uni-duesseldorf.de (Ulrik Vieth).
4685 Fri Jul 21 15:26:42 1995 Karl Berry <karl@cs.umb.edu>
4687 * *.c, *.h: The FSF has a new address.
4689 * kpsewhich.c: Give error if no args.
4691 Wed Jul 19 17:34:26 1995 Karl Berry <karl@cs.umb.edu>
4693 * texmf.cnf.in: Document limits on error_line et al.
4695 Mon Jul 17 13:09:05 1995 Karl Berry <karl@cs.umb.edu>
4697 * acconfig.h (NO_FMTBASE_SHARE): Rename to NO_DUMP_SHARE.
4699 Sun Jul 16 14:17:16 1995 Karl Berry <karl@cs.umb.edu>
4701 * acconfig.h (IPC, FUNNY_CORE_DUMP, NO_FMTBASE_SHARE): Include these.
4703 Sat Jul 15 12:45:51 1995 Karl Berry <karl@cs.umb.edu>
4705 * acconfig.h (HAVE_ITOA): Remove extraneous #define.
4707 * texmf.cnf.in (hash_extra): New TeX array variable, 0 by default.
4709 * tex-file.c (KPSE_BIB_ENVS): Include TEXBIB.
4711 Thu Jul 13 15:04:52 1995 Karl Berry <karl@cs.umb.edu>
4713 * texmf.cnf.in (TEXPOOL, MFPOOL): Include . after all, now that we
4714 use TEXPOOL to search for tcx files.
4716 Sun Jul 9 15:30:59 1995 Karl Berry <karl@cs.umb.edu>
4718 * tex-file.c (kpse_find_file): Don't go through the
4719 mapped_name_list if it's null.
4721 Wed Jun 21 19:47:33 1995 Karl Berry <karl@cs.umb.edu>
4723 * lib.h (FATAL5): Define this.
4725 Sat Jun 10 15:52:41 1995 Karl Berry <karl@cs.umb.edu>
4727 * tex-file.c (kpse_find_file): Use texfonts.map aliases for TFM
4729 * tex-file.h: Doc fix.
4730 * fontmap.c (kpse_fontmap_lookup): New name. Fault in the map
4731 table as needed, instead of initializing. Make map_create static.
4732 * fontname.h: New name; remove map_create.
4733 * tex-glyph.c (try_fontmap): Just call kpse_fontmap_lookup, no
4736 * fontmap.c (map_lookup): Don't let return value fall off the end
4737 in the suffix-appending case.
4738 From: "Heading, Anthony" <heading_anthony@jpmorgan.com>.
4740 Fri Jun 9 19:11:34 1995 Karl Berry <karl@cs.umb.edu>
4742 * tilde.c: Only assume PWD_H for looking up ~user, not for ~ or ~/.
4743 * make-suffix.c: Use IS_DIR_SEP instead of assuming /.
4744 * concatn.c: Free the in-between concatenations to avoid garbage.
4745 * absolute.c [OS2]: Use same conventions as for DOS.
4746 * c-std.h, c-pathch.h, c-fopen.h: Likewise.
4747 From: rs@purple.in-ulm.de (Ralph Schleicher).
4749 Tue Jun 6 13:11:46 1995 Karl Berry <karl@cs.umb.edu>
4751 * lib.h (itoa) [!HAVE_ITOA]: Define conditionally.
4753 * acconfig.h (HAVE_ITOA): Add this.
4755 * c-pathch.h, c-fopen.h [DOS]: Changes from web2pc from Wayne.
4757 * xputenv.c: Doc fix.
4759 * truncate.c (kpse_truncate_filename): Check for a device separator.
4761 * elt-dirs.c (main): Tests for Amiga.
4763 Mon Jun 5 13:12:10 1995 Karl Berry <karl@cs.umb.edu>
4765 * absolute.c: Add Amiga support. From Andreas Scherer.
4766 * c-pathch.h: Ditto.
4767 * elt-dirs.c (dir_list_add): Ditto. Check for device separators, too.
4769 Sun Jun 4 11:29:18 1995 Karl Berry <karl@cs.umb.edu>
4771 * c-proto.h (AA): New macro to throw away (or keep) any number of
4772 arguments, used with an extra set of parens.
4774 * Makefile.in (distdir): Put PROJECTS in the distribution.
4776 Sat Jun 3 11:53:45 1995 Karl Berry <karl@cs.umb.edu>
4778 * texmf.cnf.in (main_memory): Add definitions for TeX array sizes.
4780 * config.h (progname.h): Include this.
4781 * prog{init,name}.c, kpsewhich.c: No longer need to include it.
4782 * lib.h (START_FATAL, FATAL_PERROR): Use program_invocation_name
4783 in the error message.
4785 * variable.h: Doc fix.
4787 Fri Jun 2 13:41:29 1995 Karl Berry <karl@cs.umb.edu>
4789 * config.h (DOSISH) [DOS || OS2]: Define this.
4791 Tue May 30 15:43:56 1995 Karl Berry <karl@cs.umb.edu>
4793 * tex-file.c (kpse_find_file): Don't look for foo.sty.tex before
4794 foo.sty. Suggested by worsch@ira.uka.de.
4796 Mon May 29 15:24:38 1995 Karl Berry <karl@cs.umb.edu>
4798 * db.c (db_insert): If DOS, don't check that first character on a
4799 line IS_DIR_SEP. From Sebastian.
4801 Sat May 27 13:51:47 1995 Karl Berry <karl@cs.umb.edu>
4803 * pathsearch.c (log_search): Cast time_t arg to avoid printf warning.
4805 * lib.h (atou): Declare it.
4806 * Makefile.in (objects): Add atou.o.
4809 Sun May 21 10:58:31 1995 Karl Berry <karl@cs.umb.edu>
4811 * xfopen.c: Assert non-null filenames.
4813 Mon May 15 17:40:27 1995 Karl Berry <karl@cs.umb.edu>
4815 * kpsewhich.c (USAGE): Add one-line description to the help message.
4817 Sun Apr 16 14:25:06 1995 Karl Berry <karl@cs.umb.edu>
4819 * line.c (BLOCK_SIZE): Increase to 56, to avoid realloc's.
4821 Fri Apr 14 15:56:13 1995 Karl Berry <karl@cs.umb.edu>
4823 * Makefile.in (objects): Add xfseek and xftell, from fontutils.
4825 Mon Mar 13 20:05:02 1995 Karl Berry <karl@cs.umb.edu>
4827 * MakeTeXPK.in: Don't egrep in a file that doesn't exist.
4829 Fri Mar 10 10:49:28 1995 Karl Berry <karl@cs.umb.edu>
4831 * tex-file.c (kpse_find_file): Abort if the name passed in is null
4834 Thu Mar 9 15:23:07 1995 Karl Berry <karl@cs.umb.edu>
4836 * tex-file.c (kpse_init_format): Only do suffix searches for GF files.
4838 * acconfig.h: Warn that this is not the right thing to edit to fix
4839 configuration problems.
4841 Thu Mar 2 15:58:11 1995 Karl Berry <karl@cs.umb.edu>
4843 * texmf.cnf.in (TEXFORMATS): Doc fix.
4845 Fri Feb 24 16:40:23 1995 Karl Berry <karl@cs.umb.edu>
4847 * MakeTeXPK.in: `generate rootname' with no trailing punctuation
4850 Mon Feb 20 15:23:05 1995 Karl Berry <karl@cs.umb.edu>
4852 * tex-file.h (kpse_find_mf): New abbreviation.
4854 Sat Feb 11 13:06:23 1995 Karl Berry <karl@cs.umb.edu>
4856 * putenv.c: Include c-auto.h instead of kpathsea/c-auto.h, so the
4857 sed commands don't transform it into
4858 $(kpathsea_srcdir)/c-auto.h. From Andreas.
4860 * tex-make.c (maketex): Don't make a bad return from pclose a
4861 fatal error. Reported most recently by Wayne Sullivan, also by
4862 Andy Piper in the past.
4864 * MakeTeXPK.in (sauterdir): Only try this if we have the right
4865 b-foo.mf file. And correct $DESTDIR=... mistake.
4866 From Nick Cropper <nickc@dcs.st-andrews.ac.uk>.
4868 Fri Feb 10 15:49:49 1995 Karl Berry <karl@cs.umb.edu>
4870 * tex-file.c (INIT_MT): If the .program member has already been
4871 set, don't reset it.
4873 Wed Jan 18 15:47:07 1995 Karl Berry <karl@cs.umb.edu>
4875 * xopendir.c (xclosedir): Use CLOSEDIR_VOID, not VOID_CLOSEDIR.
4876 From tim@maths.tcd.ie.
4878 * db.c (db_insert): Don't assert db.size>0, since we may not have
4879 called kpse_db_search. From te@informatik.uni-hannover.de.
4881 * MakeTeXPK.in (dc fonts): Don't put a trailing period in the
4882 filename. From Tor Lillqvist <tml@hemuli.tte.vtt.fi>.
4884 Sun Jan 8 12:14:47 1995 Karl Berry <karl@cs.umb.edu>
4888 Wed Jan 4 14:44:34 1995 Karl Berry <karl@cs.umb.edu>
4890 * Makefile.in (mostlyclean): Remove kpsewhich.
4892 Tue Jan 3 11:48:40 1995 Karl Berry <karl@cs.umb.edu>
4894 * kpsewhich.c (long_options): Can't make this automatic.
4896 * basename.c: Include <kpathsea/config.h> before testing
4899 * Makefile.in (kpsewhich): Make the library before kpsewhich.o.
4900 (paths.h): No need for the $(kpathsea_dir)/ any more, now make
4901 depend gets rid of it.
4903 * rm-suffix.c: Doc fix.
4905 * kpsewhich.c: Extract the dpi from the filename if possible.
4907 Mon Jan 2 09:45:17 1995 Karl Berry <karl@cs.umb.edu>
4909 * Makefile.in (kpsexpand): Replace with kpsewhich.
4911 * proginit.h: Doc fix.
4913 * texmf.cnf.in (TEXMFCNF): Rename from TEXMF_CNF.
4914 * tex-file.c (kpse_init_format): Likewise.
4916 Sun Jan 1 14:04:41 1995 Karl Berry <karl@cs.umb.edu>
4918 * Makefile.in (MakeTeXPK): Substitute for web2cdir.
4919 * MakeTeXPK.in: Use it for MakeTeXPK.site.
4920 (install-data): Install texmf.cnf in web2cdir instead of texmf.
4921 * texmf.cnf.in (TEXMF_CNF): Default path includes web2cdir.
4923 Sat Dec 31 14:26:48 1994 Karl Berry <karl@cs.umb.edu>
4925 * Makefile.in (objects): No more @LIBOBJS@.
4926 * common.ac: Use AC_CHECK_FUNCS for basename, not REPLACE_FUNCS.
4927 The latter doesn't define HAVE_BASENAME.
4928 * basename.c [!HAVE_BASENAME]: Conditionalize whole file.
4930 * Makefile.in (uninstall-exec): Remove kpsexpand.
4931 (MakeTeXPK): New target.
4932 (install-exec): Install MTPK.
4933 (install-library): New target to replace install-headers.
4934 (install): Don't install-library by default.
4936 Fri Dec 30 15:53:04 1994 Karl Berry <karl@cs.umb.edu>
4938 * Makefile.in (objects): Don't put @LIBOBJS@ on a line by itself.
4941 Mon Dec 26 07:55:40 1994 Karl Berry <karl@cs.umb.edu>
4943 * common.ac (AC_FUNC_CLOSEDIR_VOID): Call this. Reported by
4944 Timothy Murphy <tim@maths.tcd.ie>.
4946 * tex-file.c (init_path): If a variable is set to an empty value,
4947 ignore it. Suggested by Stephen Gildea <gildea@x.org>.
4949 * proginit.c: If passed a NULL mode, put / in the environment here.
4950 * tex-make.c (kpse_make_tex): Don't do STREQ on NULL (though it
4951 should never be NULL in the first place), and properly restore
4952 MAKETEX_MODE if it was /.
4954 Tue Dec 20 09:57:21 1994 Karl Berry <karl@cs.umb.edu>
4956 * install.texi: Mention how to do optimization.
4958 Mon Dec 19 13:18:04 1994 Karl Berry <karl@cs.umb.edu>
4960 * tex-file.h: Doc fix.
4962 Wed Dec 14 14:46:47 1994 Karl Berry <karl@cs.umb.edu>
4966 * pathsearch.c (log_search): Don't prepend the `kdebug:' to the
4969 Sat Dec 10 16:49:12 1994 Karl Berry <karl@cs.umb.edu>
4971 * tex-make.c (set_maketex_mag): Make case of magstep -1 work
4972 properly. From a bug report by
4973 heiko@lotte.sax.de (Heiko Schlittermann).
4975 Mon Dec 5 11:58:08 1994 Karl Berry <karl@cs.umb.edu>
4977 * Makefile.in (objects): Add @LIBOBJS@.
4978 * common.ac: Check for basename.
4980 * db.c (db_insert): Include trailing / in directory part, and pass
4981 the key and the value in the right order. From
4982 te@informatik.uni-hannover.de.
4984 Sun Dec 4 14:26:44 1994 Karl Berry <karl@cs.umb.edu>
4986 * kpsexpand.c: Add extra filename argument. From
4987 ware@cis.ohio-state.edu.
4989 * common.ac: Use AC_TRY_RUN to test for SMART_PUTENV, not
4990 AC_TRY_LINK. From parkes@sierravista.com.
4992 * acconfig.h: Use #undef instead of commented-out `/* #define'.
4994 Sun Nov 27 13:47:06 1994 Karl Berry <karl@cs.umb.edu>
4996 * db.c (db_insert): Don't try to insert into an empty hash table.
4997 From dc@cobi.gsfc.nasa.gov (and others).
4999 * pathsearch.c (log_search): Call DEBUGF, not printf, for the
5000 filenames. From John I.
5002 * tex-make.c (kpse_make_tex): If MAKETEX_MODE is /, unset it and
5003 reset it around the command expansion.
5004 (maketex): Back to calling db_insert.
5006 Sat Nov 26 11:44:09 1994 Karl Berry <karl@cs.umb.edu>
5008 * cnf.c (read_file): If expansion of $TEXMF (KPSE_DB_DIR) fails,
5009 expand DEFAULT_TEXMF. From te@informatik.uni-hannover.de.
5011 Thu Nov 24 13:41:15 1994 Karl Berry <karl@cs.umb.edu>
5013 * tex-file.c (KPSE_BST_ENVS): Do not look at TEXINPUTS.
5015 * tex-file.h: Doc fix.
5017 Tue Nov 15 14:06:56 1994 Karl Berry <karl@cs.umb.edu>
5019 * progname.c (kpse_set_progname): Use basename.
5021 Fri Nov 11 19:12:23 1994 Karl Berry <karl@cs.umb.edu>
5023 * acconfig.h (HAVE_SIGIO): Add this.
5025 Tue Nov 8 19:14:12 1994 Karl Berry <karl@cs.umb.edu>
5027 * tex-make.c (kpse_make_tex): Change argument name from
5028 `basename', since now we have a fn by that name.
5029 * magstep.c (kpse_magstep_fix): Initialize mdpi.
5030 * basename.c (basename): Initalize base.
5032 Mon Nov 7 15:46:21 1994 Karl Berry <karl@cs.umb.edu>
5034 * common.ac: Run autoupdate.
5035 * c-dir.h: Change #if names and NLENGTH to new style.
5037 Fri Oct 28 21:28:02 1994 K. Berry (karl@terminus.cs.umb.edu)
5041 * tex-make.c (maketex): Don't call db_insert, that routine is
5042 buggy. I'll fix it later. In the meantime, trying to get a
5043 semi-stable release.
5045 Tue Oct 25 16:43:31 1994 Karl Berry <karl@cs.umb.edu>
5049 * progname.c (kpse_set_progname): Initialize kpathsea_debug from
5050 the KPATHSEA_DEBUG envvar. From neal@ctd.comsat.com.
5052 Mon Oct 24 13:41:24 1994 Karl Berry <karl@cs.umb.edu>
5054 * db.c (db_insert): New function.
5056 * tex-make.c (maketex): db_insert the result if we succeeded.
5058 * basename.c: New file to define basename.
5059 * lib.h (basename): Declare it.
5060 * Makefile.in (objects): Include basename.o.
5062 * tex-file.h (kpse_file_format_type): Add missing enum values for
5063 base/fmt/pool files.
5064 * tex-file.c (kpse_init_format): Add cases for these.
5065 From te@informatik.uni-hannover.de.
5067 * lib.h (WARNING, FATAL): Use fputs instead of fprintf.
5068 * Many files: Use DEBUGF instead of printf ("kdebug".
5069 * debug.h (DEBUGF) [DEBUG]: Define this.
5071 * xputenv.c (xputenv): Initialize that static saved_env_items to
5072 null, just for documentation's sake.
5074 Tue Oct 18 13:19:06 1994 Karl Berry <karl@cs.umb.edu>
5076 * tex-file.c (KPSE_*_ENVS): Move environment variable list here.
5077 * tex-file.h: Move them from here.
5079 * tex-glyph.h: Doc fix.
5081 * tex-file.c (kpse_find_file): Correct off-by-one in suffix
5082 comparison. From toy@rtp.ericsson.se.
5084 Mon Oct 17 14:01:02 1994 Karl Berry <karl@cs.umb.edu>
5086 * elt-dirs.c (do_subdir): Find a top-level subdir if it matches
5089 * db.c (kpse_db_search): Allow for the passed name including a
5090 directory part, as in dpi600/cmr10.pk.
5091 * tex-glyph.c (try_format): First search all specs with
5094 * kpsexpand.c: New file, from te@informatik.uni-hannover.de.
5095 * Makefile.in (kpsexpand): New target (a program).
5096 (install-exec): Depend on, and install, kpsexpand.
5098 * common.ac: Doc fix.
5100 * cnf.c (do_line): Don't quit just because the variable is in the
5101 environment. From te@informatik.uni-hannover.de.
5103 * tex-glyph.c (PXL_BITMAP_SPEC): Remove this, we're not going to
5106 Sun Oct 16 20:46:26 1994 Karl Berry <karl@cs.umb.edu>
5108 * kpathsea.texi: Make it clear that names of debugging bits can
5111 Fri Oct 14 10:31:35 1994 Karl Berry <karl@cs.umb.edu>
5115 * hash.c (hash_lookup) [DEBUG]: Cast to long, not int.
5117 Thu Oct 13 15:39:34 1994 Karl Berry <karl@owl>
5119 * db.c (db_build): Warn if ls-R contains nothing useful.
5121 * debug.c (fopen, fclose) [DEBUG]: fflush stdout.
5122 * dir.c (dir_links),
5123 * hash.c (hash_lookup),
5124 * tex-file.c (kpse_init_format),
5125 * elt-dirs.c (kpse_element_dirs): Likewise.
5127 Thu Oct 13 09:02:56 1994 Karl Berry <karl@cs.umb.edu>
5129 * hash.c (kpse_debug_hash_lookup_int) [DEBUG]: New global.
5130 (hash_lookup): Use it.
5131 * hash.h [DEBUG]: Declare it.
5132 * dir.c (dir_links) [DEBUG]: Set it and reset it.
5134 * tex-glyph.c (PXL_BITMAP_SPEC): Add this (pxlNNN/cmr10.pk) for
5135 the Bitstream utilities. From abrahams@acm.org.
5136 (try_format): Search for this.
5138 Tue Oct 11 15:15:49 1994 Karl Berry <karl@cs.umb.edu>
5140 * db.c (db_build): Use kpse_db_dir instead of KPSE_DB_DIR. This
5141 avoids one variable expansion, and te@informatik.uni-hannover.de
5142 says otherwise TeX sometimes can't find ls-R.
5144 Sun Oct 9 17:18:23 1994 Karl Berry <karl@cs.umb.edu>
5146 * kdefault.c: Rename from default.c.
5147 * Makefile.in (objects): Likewise.
5149 Fri Oct 7 12:58:33 1994 Karl Berry <karl@cs.umb.edu>
5151 * tex-file.c (kpse_init_format): Call INIT_MT for the any_glyph
5152 case. From carson@lehman.com.
5154 Sun Oct 2 14:11:20 1994 Karl Berry <karl@cs.umb.edu>
5156 * magstep.c: Doc fix.
5158 Sun Sep 25 17:11:40 1994 Karl Berry <karl@cs.umb.edu>
5160 * Makefile.in: Include library.make.
5162 Thu Sep 22 15:34:40 1994 Karl Berry <karl@cs.umb.edu>
5164 * tex-file.h (kpse_file_format_type): Don't make equal to the last
5165 element index, make one more. From Eric Auborg.
5167 Thu Sep 15 19:24:30 1994 Karl Berry (karl@cs.umb.edu)
5169 * Makefile.in (distdir): Include install.texi in the distribution.
5171 Mon Sep 12 11:05:18 1994 Karl Berry (karl@cs.umb.edu)
5175 Sun Sep 11 15:03:18 1994 Karl Berry (karl@cs.umb.edu)
5177 * Makefile.in (install-data): Install texmf.cnf if it didn't exist.
5179 Sat Sep 10 13:28:29 1994 Karl Berry (karl@cs.umb.edu)
5181 * Makefile.in (texmf.sed, paths.h): Use tr 012 instead of \n.
5182 From John Interrante.
5184 * Makefile.in (distdir): Include the .aux and .cps files in the
5185 distribution. Don't include paths.h (from John Interrante).
5187 * kpathsea.texi: Fix overfull boxes and other TeX errors.
5189 Wed Sep 7 16:28:37 1994 Karl Berry (karl@cs.umb.edu)
5193 Tue Sep 6 10:33:18 1994 Karl Berry (karl@cs.umb.edu)
5195 * dir.c (dir_links): Use %ld for ret, since it's now a long.
5197 Sat Sep 3 09:01:25 1994 Karl Berry (karl@cs.umb.edu)
5199 * dir.c (dir_links): Use long instead of int for the cast and the
5200 variable, to avoid warnings on the Alpha.
5202 * c-std.h (SYSV, X_NOT_STDC_ENV): Don't define these here.
5203 * c-memstr.h (SYSV): Define this.
5204 (_XFUNCS_H_): And this.
5206 * Makefile.in (distclean): Add texmf.cnf and texmf.sed.
5208 Thu Sep 1 14:22:48 1994 Karl Berry (karl@cs.umb.edu)
5210 * xputenv.c (putenv): Declare this to avoid a warning.
5211 * xstat.c (lstat): And this.
5213 * common.ac (SMART_PUTENV): Use program to test for this. From
5216 * tex-glyph.c (try_fallback_resolutions): Quit early if there's no
5217 resolutions in the list. From sanjoy@dope.caltech.edu.
5219 Tue Aug 30 14:26:48 1994 Karl Berry (karl@cs.umb.edu)
5221 * acconfig.h (FOIL_X_WCHAR_T): New definition.
5223 * c-std.h (hypot) [!hypot]: Conditionalize declaration.
5225 Fri Aug 26 09:00:24 1994 Karl Berry (karl@cs.umb.edu)
5227 * Makefile.in (install-data): Install headers into
5228 $(includedir)/kpathsea, not just $(includedir). From john@wpi.edu.
5230 * pathsearch.c (search): Show results of the search as well as the
5233 Thu Aug 25 13:40:29 1994 Karl Berry (karl@cs.umb.edu)
5235 * proginit.c (kpse_init_prog): Newline at end of fputs.
5237 * pathsearch.c (search): Add debug statement.
5238 * debug.h (KPSE_DEBUG_SEARCH): New bit.
5240 * tex-file.h (kpse_format_info_type): Rename `font_override_p' from
5241 `font_p'. Also `program_enabled' => `program_enabled_p'.
5242 Also new member `suffix_search_only'.
5243 * tex-file.c (kpse_find_file): Avoid searching for foo.tex.tex, etc.
5245 Tue Aug 16 09:29:59 1994 Karl Berry (karl@cs.umb.edu)
5247 * tex-make.c (maketex): Announce that we are running the script
5250 Mon Aug 15 11:18:19 1994 Karl Berry (karl@cs.umb.edu)
5252 * texmf.cnf.in (PKFONTS.xdvi): Write program-specific definition
5253 to include gsftopk and ps2pk ``modes''.
5255 Sat Aug 13 16:34:43 1994 Karl Berry (karl@cs.umb.edu)
5257 * Makefile.in (lib): Rename to program to simplify rules.
5259 * magstep.h: Doc fix.
5261 * common.ac (AC_HAVE_FUNCS): Test for bcopy.
5263 Tue Aug 9 14:18:56 1994 Karl Berry (karl@cs.umb.edu)
5265 * tex-make.c (misstex): Prepend kpathsea: to the missfont.log
5268 Mon Aug 8 17:53:58 1994 Karl Berry (karl@cs.umb.edu)
5270 * tex-make.c (set_maketex_mag): Rewrite to call kpse_magstep_fix.
5271 * magstep.[ch]: New files.
5273 Fri Aug 5 14:07:51 1994 Karl Berry (karl@cs.umb.edu)
5275 * db.c (match): Allow a trailing component in the filename.
5277 Tue Aug 2 08:55:21 1994 Karl Berry (karl@cs.umb.edu)
5279 * Change `debug:' to `kdebug:'.
5280 * hash.c (hash_lookup): Print results of lookup if DEBUG_HASH.
5281 * debug.h (KPSE_DEBUG_HASH): New bit, replacing DB_BUILD.
5282 * db.c (db_build): Don't print the built hash table.
5284 * db.c (match): Implement this. Petr Sojka and Zdenek Salvet(?)
5285 supplied code for this, but I wound up writing my own.
5286 * variable.c (expand): Do variable expansion on the value.
5288 * texmf.cnf.in (TEXINPUTS): Put this after the .prog-specific entries.
5290 * tex-file.c (kpse_pict_format): Remember to break after setting
5292 (EXPAND_DEFAULT, init_path): Keep raw_path as pre-default expansion.
5294 Sun Jul 31 14:18:09 1994 Karl Berry (karl@cs.umb.edu)
5296 * debug.c: Don't include debug.h, it's already in debug.h.
5298 * Makefile.in (db.o,pathsearch.o): Don't need these special cases
5299 since tossed db_dir from paths.make.
5300 * db.h (DB_DIR): Change default to $TEXMF, rename to KPSE_DB_DIR.
5301 (kpse_db_dir): New global variable (sigh).
5302 * db.c (kpse_db_dir): Define.
5303 * cnf.c: Include db.h for KPSE_DB_DIR.
5304 (read_files): Set kpse_db_dir after all have been read.
5305 * pathsearch.c (elt_in_db): Check if kpse_db_dir is null.
5306 (path_search): Do not initialize db_dir.
5308 Sat Jul 30 06:12:12 1994 Karl Berry (karl@cs.umb.edu)
5310 * c-dir.h [_POSIX_VERSION]: Remove this condition; just use DIRENT.
5312 Fri Jul 29 11:36:25 1994 Karl Berry (karl@cs.umb.edu)
5314 * tex-file.c (init_path): Look up cnf file value if no suffix.
5316 * xstat.h (SAME_FILE_P): Move here.
5317 * c-stat.h (SAME_FILE_P): From here.
5318 * file-p.c: Change include.
5319 * lib.h (dir_p, dir_links): Declare here.
5320 * dir.h: Split into xopendir.h and c-dir.h; Sun 3 include files
5321 get confused otherwise, according to john@minster.york.ac.uk.
5322 * xopendir.c: Include xopendir.h.
5323 * elt-dirs.c, dir.c: Change includes.
5325 Sun Jul 17 10:21:16 1994 Karl Berry (karl@cs.umb.edu)
5327 * hash.c (hash_insert): Put new elements in at the end of the
5328 list, instead of the beginning.
5329 * hash.h: Document this.
5331 * texmf.cnf.in (TEXMFROOT): Change to TEXMF.
5332 * kpathsea.texi: Likewise.
5334 * cnf.c (do_line): assert program_invocation_short_name.
5335 * progname.c: Doc fix.
5337 * absolute.[ch] (kpse_absolute_p): Take additional arg relative_ok.
5338 * pathsearch.c (log_search): Call it (with false).
5339 * tex-glyph.c: Change call.
5341 * pathsearch.c (path_search): Initialize db_dir here.
5342 (elt_in_db): Not here.
5344 Fri Jul 15 11:44:15 1994 Karl Berry (karl@cs.umb.edu)
5346 * tex-file.h: Doc fix.
5348 * pathsearch.c (log_search): Pass in the whole str_list; anything
5351 * proginit.[ch] (kpse_init_prog): Don't pass in argv0; we need it
5354 Tue Jul 12 11:56:54 1994 Karl Berry (karl@cs.umb.edu)
5356 * tex-file.c (init_path): Use the first envvar that's *set*, not
5357 the first in the list.
5359 * tex-file.h (kpse_format_info_type): New member `type'.
5360 * tex-file.c (kpse_init_format): Initialize it.
5362 * pathsearch.c (log_search): New fn.
5365 Fri Jul 1 11:54:29 1994 Karl Berry (karl@cs.umb.edu)
5367 * tex-file.c: Doc fix.
5369 Mon Jun 27 10:18:59 1994 Karl Berry (karl@cs.umb.edu)
5371 * db.c (db_build): Call kpse_var_expand on the db filename.
5372 * pathsearch.c (elt_in_db): Likewise.
5374 * tex-glyph.h (kpse_find_gf): By analogy with kpse_find_pk.
5376 Sat Jun 25 16:09:05 1994 Karl Berry (karl@cs.umb.edu)
5378 * tex-glyph.c (try_format): Try both Unix and DOS bitmap specs,
5379 instead of just one or the other.
5380 (bitmap_name): No longer needed.
5382 Fri Jun 24 11:52:32 1994 Karl Berry (karl@cs.umb.edu)
5384 * tex-file.c (kpse_find_file): Don't try the suffix if it doesn't
5387 * tex-file.h (kpse_find_{dvips_header,pict}): New definition.
5389 Thu Jun 23 16:57:58 1994 Karl Berry (karl@cs.umb.edu)
5391 * tex-file.h (kpse_{pict,dvips_header}_format): New consts.
5392 (KPSE_{PICT,DVIPS_HEADER}_ENVS): Likewise.
5394 Tue Jun 21 11:53:09 1994 Karl Berry (karl@cs.umb.edu)
5396 * tex-file.c (kpse_find_file): Try the name as given if the name
5397 concatenated with the suffix fails, for the sake of, e.g., EPS files.
5399 * tex-file.h (kpse_find_tex): New definition.
5401 * absolute.[ch]: Make arg const.
5403 * tex-glyph.[ch]: (kpse_bitmap_tolerance): Move here from tex-make.
5405 * c-proto.h (P6[CH]): New definitions.
5407 * Makefile.in (objects): Add proginit.o.
5408 * proginit.[ch]: New files.
5410 Mon Jun 20 14:55:57 1994 Karl Berry (karl@cs.umb.edu)
5412 * tex-file.c (kpse_init_format): Make override path not apply to
5415 * tex-glyph.c (kpse_find_glyph_format): Rename to kpse_find_glyph,
5416 and don't call MakeTeXPK if the filename is absolute.
5417 * tex-glyph.h: Likewise.
5419 Sun Jun 19 11:00:50 1994 Karl Berry (karl@cs.umb.edu)
5421 * common.ac (HAVE_PROGRAM_INVOCATION_NAME): Test for this.
5422 * acconfig.h: #undef this by default.
5423 * progname.[ch]: New files.
5424 * Makefile.in (objects): Add progname.o.
5425 * cnf.c (do_line): Check for .<progname> qualification.
5427 Sat Jun 18 16:55:36 1994 Karl Berry (karl@cs.umb.edu)
5429 * elt-dirs.c (kpse_element_dirs): Avoid stats in leaf directories
5430 found via a non-null post.
5432 Fri Jun 17 14:25:08 1994 Karl Berry (karl@cs.umb.edu)
5434 * elt-dirs.c (kpse_element_dirs) [DEBUG]: Print the directory
5435 expansion of the path element.
5437 * str-llist.h: Doc fix.
5439 * elt-dirs.c (do_subdir): Ignore anything beginning with ., not
5442 Tue Jun 14 11:53:49 1994 Karl Berry (karl@cs.umb.edu)
5444 * dir.c (dir_links): Cache the lookups.
5446 * elt-dirs.c (kpse_element_dirs): Don't expand the argument.
5447 * expand.h (kpse_path_expand): New routine.
5448 * expand.c: Define it.
5449 * pathsearch.h: Doc fix.
5451 * db.c, tex-file.c [DEBUG]: Prefix output lines with `debug:'.
5453 * tex-file.h (kpse_format_info_type): Add cnf_path to the struct.
5454 * tex-file.c (kpse_init_path): Print the cnf_path.
5455 (init_path): Set it, instead of a local variable.
5457 * pathsearch.c (path_search): Use !! for no-disk-search instead of
5458 %%, because now % is the comment char in cnf files.
5459 * kpathsea.texi: Document this. Also change all `Kpathsearch' to
5462 Mon Jun 13 10:15:49 1994 Karl Berry (karl@cs.umb.edu)
5464 * tex-make.h (kpse_set_maketex_mag): Remove.
5465 * tex-make.c (kpse_set_maketex_mag): Make static, remove kpse_
5466 prefix, and use KPATHSEA_DPI and MAKETEX_BASE_DPI instead of args.
5468 Sun Jun 12 13:49:15 1994 Karl Berry (karl@cs.umb.edu)
5470 * db.c (db_build): Put a header on the hash table.
5472 * tex-glyph.c (try_format): Set extension and path after
5473 kpse_init_format, natch.
5475 Sat Jun 11 14:26:34 1994 Karl Berry (karl@cs.umb.edu)
5477 * Makefile.in (objects): Add cnf.o.
5478 * variable.c (expand): Call kpse_cnf_get if no envvar value.
5480 Fri Jun 10 11:20:23 1994 Karl Berry (karl@cs.umb.edu)
5482 * tex-make.h: Remove spec type and variable.
5484 Thu Jun 9 13:42:21 1994 Karl Berry (karl@cs.umb.edu)
5486 * Makefile.in (objects): Remove init-path.o.
5487 * tex-file.c (kpse_find_file): Rewrite to initialize the paths
5488 only once, and keep all path info in a structure.
5489 * tex-file.h: Vastly simplify.
5490 * tex-glyph.h (kpse_font_file_type): Move here, since it's really
5492 * tex-glyph.c: Corresponding changes.
5493 * debug.h (KPSE_DEBUG_PATHS): New debug bit.
5495 * default.h, str-list.h: Doc fix.
5497 Tue May 31 10:06:51 1994 Karl Berry (karl@cs.umb.edu)
5501 Mon May 23 11:50:03 1994 Karl Berry (karl@cs.umb.edu)
5503 * c-fopen.h (FOPEN_A_MODE): Define this.
5504 * tex-make.c (misstex, maketex): Split up kpse_make_tex into
5505 these, and create missfont.log if appropriate.
5507 Sun May 22 17:39:52 1994 Karl Berry (karl@cs.umb.edu)
5509 * tex-make.h: Doc fix.
5511 Wed May 11 13:25:58 1994 Karl Berry (karl@cs.umb.edu)
5513 * configure.in (AC_OUTPUT): Use just `Makefile' instead of
5514 `./Makefile', to avoid a bug in Autoconf (through 1.10).
5516 Sun Apr 17 16:18:00 1994 Karl Berry (karl@ra.cs.umb.edu)
5518 * debug.h: Prefix macros with KPSE_.
5519 * db.c, dir.c: Change calls.
5521 * common.ac: Remove :: VPATH stuff; that made it in to Autoconf 1.8.
5523 * Makefile.in (top_srcdir): Define this for configure to substitute.
5525 Thu Apr 7 17:52:05 1994 Karl Berry (karl@ra.cs.umb.edu)
5527 * debug.[ch]: Implement fopen/fclose tracing.
5529 Thu Mar 31 07:25:49 1994 Karl Berry (karl@cs.umb.edu)
5533 Thu Mar 24 10:01:20 1994 Karl Berry (karl@cs.umb.edu)
5535 * tex-glyph.c: Doc fix.
5537 * pathsearch.c (path_search): Don't search the disk if there is
5538 magic in the path spec.
5542 Wed Mar 16 13:50:17 1994 Karl Berry (karl@cs.umb.edu)
5544 * readable.c (kpse_readable_file): Complain if errno == EPERM.
5546 Sun Mar 13 11:14:19 1994 Karl Berry (karl@cs.umb.edu)
5548 * pathsearch.h (kpse_path_search): Take an extra arg must_exist.
5549 * pathsearch.c (kpse_path_search, search, path_search): Likewise.
5550 * tex-file.c (kpse_find_file): Change call.
5551 * tex-file.h (kpse_find_*): Change these calls, too.
5553 * hash.c (hash_create): Don't use xcalloc to init pointers to null.
5555 * db.c (kpse_db_search): Don't free the pointer after incrementing it.
5558 Sat Mar 12 17:55:36 1994 Karl Berry (karl@cs.umb.edu)
5560 * db.h (kpse_db_search): Returns a pointer.
5561 * db.c (kpse_db_search): If db can't be built, return NULL, else a
5562 pointer to the (possibly empty) list.
5563 (db_build): Return whether we found the file.
5564 * pathsearch.c (path_search): Change call.
5566 Thu Mar 10 07:45:13 1994 Karl Berry (karl@cs.umb.edu)
5568 * Makefile.in (install-info): New target.
5570 Fri Mar 4 08:06:16 1994 Karl Berry (karl@cs.umb.edu)
5572 * hash.c (hash): Change hash function to spread out the values a
5575 * debug.h (DEBUG_DB_BUILD): New debug bit.
5576 * db.c (db_build) [DEBUG]: If bit is set, print hash table.
5577 * hash.h (hash_print): Declare.
5579 Thu Mar 3 08:52:01 1994 Karl Berry (karl@cs.umb.edu)
5583 Sun Feb 27 15:57:30 1994 Karl Berry (karl@cs.umb.edu)
5585 * Makefile.in (objects): Add db.o, hash.o.
5586 * db.[ch]: New files.
5587 * hash.[ch]: Also new files.
5588 * pathsearch.c (path_search): Try db search.
5589 * tex-glyph.c, fontmap.c: Use general hash functions.
5591 Sat Feb 26 13:15:53 1994 Karl Berry (karl@cs.umb.edu)
5593 * fontmap.c: Doc fix.
5595 * pathsearch.c (INIT_ALLOC): Increase to 75, what the heck.
5597 Fri Feb 25 08:30:50 1994 Karl Berry (karl@cs.umb.edu)
5599 * tex-file.[ch]: Decare args const.
5601 Thu Feb 24 07:55:43 1994 Karl Berry (karl@cs.umb.edu)
5603 * tex-make.h: Include tex-file.h, not init-path.h.
5605 * init-path.h (KPSE_*_{ENVS,PATHS}, kpse_font_override_path): Move
5607 * tex-font.h (kpse_find_{file,tfm,vf}): Also declare these.
5608 * tex-font.c (kpse_find_file): Define these.
5609 (kpse_font_override_path): Move definition here.
5611 * tex-file.*: Rename from tex-font.*.
5612 * GNUmakefile: Corresponding changes.
5614 * elt-dirs.c (do_subdir): Only append the / once we know it's a
5617 Wed Feb 23 16:41:31 1994 Karl Berry (karl@cs.umb.edu)
5619 * elt-dirs.c (do_subdir): Don't tack POST on if it is exactly the
5620 d_name, so we can find a/b with a path of a//b.
5622 * c-vararg.h (PVAR3[CH]): New defines.
5624 * init-path.h: Include KPSE_*_{ENVS,PATHS} here.
5625 (kpse_init_path): Take an additional arg font_p.
5626 * init-path.c (kpse_override_path): Rename kpse_font_override_path.
5627 (kpse_init_path): Only use kpse_font_override_font if font_p.
5629 Mon Feb 21 15:38:53 1994 Karl Berry (karl@cs.umb.edu)
5631 * common.ac (extrasub): Define to remove VPATH lines if srcdir = `.'.
5633 Thu Feb 3 06:19:49 1994 Karl Berry (karl@cs.umb.edu)
5637 * fn.c (fn_copy0): Remember to allocate space for the null.
5640 Wed Feb 2 09:57:47 1994 Karl Berry (karl@cs.umb.edu)
5642 * tex-make.h (KPSE_BITMAP_TOLERANCE): Move to here from tex-glyph.c
5643 (kpse_check_bitmap_tolerance): Declare.
5644 * tex-make.c (kpse_check_bitmap_tolerance): Define.
5646 Tue Feb 1 10:42:03 1994 Karl Berry (karl@cs.umb.edu)
5648 * c-std.h (*alloc) [! _MALLOC_INTERNAL]: Make decl conditional.
5650 * c-std.h [HAVE_STDLIB_H]: Change #if for including <stdlib.h> to this.
5651 * common.ac (AC_HAVE_HEADERS): Check for stdlib.h.
5653 * Makefile.in (paths.h): Do all substitutions globally.
5655 * absolute.c [DOS]: Include c-ctype.h.
5656 * tex-glyph.c (KPATHSEA_BITMAP_NAME) [DOS]: Double the backslash.
5657 * elt-dirs.c (do_subdir) [!UNIX_ST_LINK]: Avoid dangling else.
5660 * paths.h.in: Doc fix.
5662 * xputenv.c (xputenv): Check entire variable name for being saved,
5663 not just a prefix of it.
5665 Mon Jan 31 12:05:30 1994 Karl Berry (karl@cs.umb.edu)
5667 * fn.c (fn_copy0): Allocate LEN if that's bigger than CHUNK_SIZE.
5668 (CHUNK_SIZE): Increase to 75.
5670 Sat Jan 22 15:36:08 1994 Karl Berry (karl@cs.umb.edu)
5674 * common.ac (AC_HAVE_FUNCS): Check for memmove.
5676 * paths.h.in (DEFAULT_MF_PATH): Don't search just public/, cause
5679 Mon Jan 17 15:09:36 1994 Karl Berry (karl@cs.umb.edu)
5681 * paths.h.in (DEFAULT_{FMT,BASE}_PATH): Include `.'.
5683 Sun Jan 16 14:50:02 1994 Karl Berry (karl@cs.umb.edu)
5685 * paths.h.in (DEFAULT_PK_PATH): Search subdirs of pk.
5687 Mon Jan 10 16:40:35 1994 Karl Berry (karl@cs.umb.edu)
5689 * xputenv.c (xputenv): Don't try to be smart about saving/freeing
5690 stuff if SMART_PUTENV is defined.
5692 * c-std.h (assert) [!HAVE_ASSERT_H]: Define as nothing, to avoid
5693 undefined references to assert.
5695 Tue Dec 21 16:28:13 1993 Karl Berry (karl@cs.umb.edu)
5697 * c-std.h (SYSV) [STDC_HEADERS]: Define, to get around old X
5698 include files under hpux.
5700 Sun Dec 19 13:06:15 1993 Karl Berry (karl@cs.umb.edu)
5702 * Makefile.in (objects): Put tex-font.o first.
5704 Sat Dec 18 15:03:57 1993 Karl Berry (karl@cs.umb.edu)
5706 * config.h (GCC_WCHAR_T, _GCC_WCHAR_T): Remove these; I have
5707 another theory now for wchar_t, done in xdvi.h and x11.c.
5709 Sat Dec 18 14:41:15 1993 Karl Berry (karl@owl.hq.ileaf.com)
5711 * c-memstr.h ([r]index) [STDC_HEADERS]: Conditionalize #define.
5713 Tue Dec 14 17:43:30 1993 Karl Berry (karl@cs.umb.edu)
5715 * Makefile.in (paths.h): Change substitutions accordingly.
5716 * paths.h.in (DEFAULT_FMT_PATH): Variable is now fmtdir.
5717 (DEFAULT_{BIB,BST}_PATH): Variable is now texmf_prefix.
5719 Sat Dec 11 13:21:43 1993 Karl Berry (karl@cs.umb.edu)
5721 * tex-make.c (ABS): New macro.
5722 (kpse_set_maketex_mag): Use it, instead of fabs.
5724 Fri Dec 10 15:31:16 1993 Karl Berry (karl@cs.umb.edu)
5726 * xmalloc.c, xrealloc.c: Use exit instead of abort, remove abort
5727 decls, and reword error messages to be less cryptic. From
5728 john@minster.york.ac.uk.
5730 * dir.h: use `defined' instead of just `DIRENT || _POSIX_VERSION'.
5731 How annoying. From kretschm@aitxu3.ait.physik.uni-tuebingen.de.
5733 * xputenv.c (putenv): Remove declaration, as different systems do
5734 it differently. From kayvan@satyr.sylvan.com.
5736 Thu Dec 9 09:12:33 1993 Karl Berry (karl@cs.umb.edu)
5738 * tex-make.c (kpse_set_maketex_mag): Allow off-by-1 when deciding
5739 if a dpi is a magstep.
5741 Tue Dec 7 11:03:51 1993 Karl Berry (karl@cs.umb.edu)
5743 * tex-make.c (kpse_set_maketex_mag): New routine from dvips,
5744 called by dvipsk and xdvik to ensure consistency.
5745 (magstep): Subroutine of above, also from dvips.
5746 * tex-make.h: Declare it.
5748 * tex-doc.texi: Correct menu item (from maechler@stat.math.ethz.ch).
5750 Fri Dec 3 12:53:38 1993 Karl Berry (karl@cs.umb.edu)
5752 * c-pathmx.h: Doc fix.
5754 Sat Nov 27 14:36:11 1993 Karl Berry (karl@cs.umb.edu)
5756 * default.h: Doc fix.
5758 * paths.h.in (texfontdir): This has been renamed to fontdir.
5760 Sun Nov 21 08:28:41 1993 Karl Berry (karl@cs.umb.edu)
5762 * Makefile.in (distdir): Include HIER in the distribution, until
5763 we merge it into the manual.
5765 Sun Nov 7 14:54:47 1993 Karl Berry (karl@cs.umb.edu)
5767 * c-namemx.h (NAME_MAX): Avoid use of pathconf.
5768 * c-pathmx.h: Doc fix.
5770 Thu Nov 4 14:50:45 1993 Karl Berry (karl@cs.umb.edu)
5772 * config.h (_GCC_WCHAR_T) [!GCC_WCHAR]: Conditionalize.
5774 * c-std.h (EXIT_SUCCESS) [!EXIT_SUCCESS]: Move these defines
5775 outside of !STDC_HEADERS, for the sake of SunOS 4.1.1. (From
5776 vonbrand@inf.utfsm.cl.)
5778 Wed Nov 3 14:43:05 1993 Karl Berry (karl@cs.umb.edu)
5782 Wed Nov 3 07:05:48 1993 Karl Berry (karl@cs.umb.edu)
5784 * paths.h.in (DEFAULT_{BASE,FMT}_PATH): Had these definitions reversed.
5786 Fri Oct 29 19:27:36 1993 Karl Berry (karl@cs.umb.edu)
5788 * tex-glyph.c (try_fallback_resolutions): Initialize ret in all cases.
5790 Thu Oct 28 14:32:34 1993 Karl Berry (karl@cs.umb.edu)
5794 * common.h (AC_UNISTD_H): Replace this with unistd.h in the list
5797 Tue Oct 26 13:59:33 1993 Karl Berry (karl@cs.umb.edu)
5799 * str-llist.[ch]: New files.
5800 * Makefile.in (objects): Add str_llist.o.
5801 * elt-dirs.[ch]: Use str_llist_type throughout.
5802 * pathsearch.c (dir_list_search): Take a str_llist_type, and float
5803 a successful dir towards the top.
5804 (path_search): Change call of kpse_element_dirs.
5806 Sun Oct 24 19:41:49 1993 Karl Berry (karl@cs.umb.edu)
5808 * elt-dirs.c (do_optional): Remove this stub.
5809 (expand_elt): Don't call it.
5811 Fri Oct 22 14:46:44 1993 Karl Berry (karl@cs.umb.edu)
5813 * xmalloc.c, xrealloc.c, line.c, pathsearch.c: Doc fix.
5815 Tue Oct 19 12:11:32 1993 Karl Berry (karl@cs.umb.edu)
5817 * tex-glyph.c (try_fallback_resolutions): New routine.
5818 (kpse_find_glyph_format): Call it, instead of repeating (the now
5819 pretty complicated) code.
5820 * tex-font.c (kpse_init_fallback_resolutions): Pass the value of
5821 any environment variable, not its name. From R.Kooijman@et.tudelft.nl.
5823 * c-memstr.h (str[r]chr) [!str[r]chr]: Conditionalize. From
5824 maarrrk@seidel.ece.ucsb.edu.
5826 Tue Oct 12 16:26:48 1993 Karl Berry (karl@cs.umb.edu)
5828 * tex-make.c: Doc fix.
5830 Thu Oct 7 13:13:57 1993 Karl Berry (karl@cs.umb.edu)
5832 * xmalloc.c: Rewrite to not require <config.h>.
5833 * xrealloc.c: Likewise.
5835 * make-suffix.c (make_suffix): Declare variables const.
5836 * remove-suffx.c (remove_suffix): Likewise. Also rename to
5838 * xputenv.c (putenv): Declare with correct prototype.
5839 * fontmap.c (internal routines): Likewise.
5840 * line.c (xmalloc, xrealloc): Declare as void *.
5841 (From john@minster.york.ac.uk.)
5843 Wed Oct 6 06:49:53 1993 Karl Berry (karl@cs.umb.edu)
5847 * tilde.c (kpse_tilde_expand): Always return a malloc-ed value.
5848 (From ken@cs.toronto.edu.)
5850 Sun Oct 3 14:11:33 1993 Karl Berry (karl@cs.umb.edu)
5852 * config.h (_GCC_WCHAR_T): Define.
5854 Sat Oct 2 17:17:32 1993 Karl Berry (karl@cs.umb.edu)
5856 * Makefile.in (install-*): Don't reassign PATH, just invoke
5857 mkdirchain explicitly.
5859 * tex-glyph.c (KPATHSEA_BITMAP_NAME) [DOS]: Define what I think
5860 will work for this ...
5862 * paths.h.in: Doc fix.
5864 * Makefile.in: Doc fix.
5866 * tex-glyph.c (kpse_find_glyph_format): Unconditionally initialize
5867 glyph_paths[*], since we might use them both in try_size. From
5870 Fri Oct 1 12:02:11 1993 Karl Berry (karl@cs.umb.edu)
5872 * expand.c: Doc fix.
5874 Wed Sep 29 15:21:49 1993 (karl@terminus.cs.umb.edu)
5878 Sat Sep 25 14:12:00 1993 Karl Berry (karl@cs.umb.edu)
5880 * pathsearch.c (path_search, absolute_search): Don't initialize
5883 Fri Sep 24 12:50:00 1993 Karl Berry (karl@cs.umb.edu)
5885 * tex-glyph.c (try_size): Skip the simultaneous stuff.
5886 (try_format): Set the envvar here.
5887 (bitmap_name): Not here.
5888 * pathsearch.c (kpse_*_multi_search): Delete.
5889 Change most other routines to take only a single name again,
5890 instead of a name list.
5891 * pathsearch.h: Delete decls.
5893 * tex-glyph.c (init-path.h): Don't need to include this.
5895 * tex-glyph.c (kpse_find_glyph_format): Try the fallback
5896 resolutions for the fallback font.
5898 * Makefile.in (warn_more, MAKEINFO_FLAGS) [hayley]: Define these
5899 for development and distribution.
5901 * Makefile.in (dvi): Make analogous to info (including use of new
5904 * tex-glyph.c (kpse_find_glyph_format): Set KPATHSEA_NAME to the
5905 fallback font if we get that far.
5907 Wed Sep 15 19:29:56 1993 Karl Berry (karl@cs.umb.edu)
5909 * filefmt.h (KPSE_*_PATH): Pass NULL as first arg.
5911 * xputenv.c (xputenv): Rewrite again to save the variable names,
5914 Mon Sep 13 06:55:29 1993 Karl Berry (karl@cs.umb.edu)
5916 * concatn.h: Doc fix.
5918 Sun Sep 12 15:54:55 1993 Karl Berry (karl@cs.umb.edu)
5920 * lib.h (XTALLOC): Parenthesize the cast.
5922 * xputenv.c (xputenv): Rewrite to collect some of the garbage.
5924 Fri Sep 10 14:00:35 1993 Karl Berry (karl@cs.umb.edu)
5926 * lib.h (ENVVAR_SET_DEFAULT): No longer needed.
5928 * xputenv.c (xputenv_int): New routine.
5930 Thu Sep 9 14:58:00 1993 Karl Berry (karl@cs.umb.edu)
5932 * tex-make.c (MAKE_TEX_PK_SPEC): Change MAKETEX_DPI to
5935 * tex-glyph.c (try_fontmap): Use KPSE_GLYPH_PATH.
5936 * filefmt.c (KPSE_GLYPH_{PATH,ENVS}): New macros.
5937 (KPSE_{GF,PK}_ENVS): Use GLYPH_ENVS.
5939 * tex-glyph.c (bitmap_name): Rewrite to use a variable spec,
5940 introducing KPATHSEA_{BITMAP_NAME,FORMAT,DPI,NAME}.
5941 (kpse_find_glyph_format): Set KPATHSEA_DPI instead of MAKETEX_DPI;
5942 also set KPATHSEA_NAME.
5943 (try_fontmap): Also set KPATHSEA_NAME here.
5944 (try_size): Set KPATHSEA_DPI here.
5946 * tex-glyph.c (try_name): Delete this routine.
5947 (kpse_find_glyph_format): Try fallback resolutions here, call
5948 try_resolution directly.
5949 (try_fontmap): Call try_resolution directly.
5951 * init-path.h: Need not include c-proto.h.
5953 Sun Aug 29 13:34:25 1993 Karl Berry (karl@cs.umb.edu)
5955 * tex-make.c: Doc fix.
5957 * filefmt.h: Don't need c-proto.h or types.h.
5959 Fri Aug 27 10:36:46 1993 Karl Berry (karl@cs.umb.edu)
5961 * c-vararg.h (PVAR2C): Take AP as an arg.
5963 * init-path.[ch] (kpse_init_path): Take the current value as an
5964 additional argument, separate from the default path, and always
5967 * uppercasify.c (uppercasify): Don't discard upcased result!
5969 Thu Aug 26 10:36:28 1993 Karl Berry (karl@cs.umb.edu)
5973 Sun Aug 22 19:18:35 1993 Karl Berry (karl@cs.umb.edu)
5975 * install-data (install-data): Replace nonexistent
5976 $(kpath_includedir) with $(includedir), and define it. Also
5979 Thu Aug 5 09:03:22 1993 Karl Berry (karl@cs.umb.edu)
5983 Wed Aug 4 13:51:24 1993 Karl Berry (karl@cs.umb.edu)
5985 * tex-glyph.c (kpse_find_glyph_format): Fill in the font_file
5986 struct in the maketex case.
5988 * Makefile.in (info): Just depend on kpathsea.info, and rely on
5989 new suffix rule to do the work.
5991 Tue Aug 3 17:50:40 1993 Karl Berry (karl@fishbowl.hq.ileaf.com)
5993 * tex-glyph.c (try_name): Don't free expanded_name if we're
5996 Tue Aug 3 10:13:43 1993 Karl Berry (karl@owl.hq.ileaf.com)
5998 * version.c (kpathsea_version_string): Do not declare const.
6000 * line.h (read_line): Protoize decl.
6002 Tue Aug 3 09:10:07 1993 Karl Berry (karl@blood.hq.ileaf.com)
6004 * c-memstr.h (bcmp, bcopy, bzero) [!HAVE_BCOPY]: Conditionalize.
6006 * putenv.c: Include <kpathsea/c-auto.h>, and use const when
6009 Sun Aug 1 08:48:49 1993 Karl Berry (karl@cs.umb.edu)
6011 * Add new features to manual.
6013 * Makefile.in (objects): Include putenv.o.
6014 * putenv.c: New file from gdb.
6015 * common.ac: Test for putenv.
6017 Sat Jul 31 11:54:31 1993 Karl Berry (karl@cs.umb.edu)
6019 * Makefile.in (distclean): Remove paths.h.
6021 * Most files: changes for traditional C compatibility.
6023 * filefmt.h: Add new KPSE_..._PATH's for the other formats.
6024 * paths.h.in: Add defaults.
6025 * Makefile.in (paths.h): sed the values in.
6027 Fri Jul 30 17:23:10 1993 Karl Berry (karl@cs.umb.edu)
6029 * filefmt.h (KPSE_VF_PATH): Add empty parens.
6031 * tex-paths.h*: Rename to just paths.h*.
6033 Tue Jul 27 09:00:58 1993 Karl Berry (karl@cs.umb.edu)
6035 * filefmt.h: Include tex-paths.h, and use default paths in
6036 KPSE_..._PATH macros.
6038 * find-suffix.c: Correct logic.
6040 * filefmt.h: Include init-path.h.
6042 Sat Jul 24 10:44:21 1993 Karl Berry (karl@cs.umb.edu)
6044 * tex-glyph.c (kpse_find_glyph_format): Assign to it.
6045 * tex-font.h (kpse_font_file_type): New member `source'.
6046 (KPSE_FONT_FILE_SOURCE): Accessor macro.
6047 (kpse_source_type): New type.
6049 Wed Jul 21 19:45:45 1993 Karl Berry (karl@cs.umb.edu)
6051 * Makefile.in (configclean): New target.
6053 Sun Jul 18 13:53:38 1993 Karl Berry (karl@cs.umb.edu)
6055 * tilde.[ch] (kpse_expand_tilde): Rename to kpse_tilde_expand.
6057 * elt-dirs.c, pathsearch.c, tex-glyph.c: Replace calls to
6058 kpse_expand_tilde with kpse_expand.
6059 * expand.[ch]: New files.
6060 * Makefile.in (objects): Add it.
6062 * fn.[ch]: New files.
6063 * elt-dirs.c (fn*): Moved to fn.c.
6064 * tex-make.c, variable.c: Use the new routines.
6065 * *obstack*: No longer needed.
6066 * Makefile.in (objects): Appropriate changes.
6068 Sat Jul 17 13:25:25 1993 Karl Berry (karl@cs.umb.edu)
6070 * concat.c: Doc fix.
6072 * pathsearch.c (search, path_search): Expand variable references.
6075 * lib.h (itoa): Declare it.
6076 * Makefile.in (objects): Add it.
6078 * lib.h (ENVVAR_SET_DEFAULT): New macro.
6079 * tex-glyph.c (kpse_find_glyph_format): Call it to set the dpi.
6081 Fri Jul 16 09:10:52 1993 Karl Berry (karl@cs.umb.edu)
6083 * xputenv.c: New file.
6084 * Makefile.in (objects): Add it.
6085 * lib.h (xputenv): Declare it.
6087 * c-obstack.h: New file.
6088 * variable.[ch]: New files.
6089 * Makefile.in (objects): Add it.
6091 * uppercasify.c: New file.
6092 * Makefile.in (objects): add it.
6093 * lib.h (uppercasify): Declare it.
6095 Tue Jul 13 13:47:54 1993 Karl Berry (karl@cs.umb.edu)
6097 * tex-glyph.c (kpse_find_glyph_format): Simplify path initialization.
6098 * filefmt.h: New file; add abbrevs for GF and PK inits.
6100 * Makefile.in (objects): Add obstack.o and tex-make.o.
6101 * obstack.[ch]: New files from GNU.
6102 * concatn.[ch], tex-make.[ch]: New files.
6103 * init-path.c: Doc fix.
6105 * elt-dirs.c: Doc fix.
6106 * readable.[ch]: Doc fixes.
6108 Sun Jul 11 13:37:02 1993 Karl Berry (karl@cs.umb.edu)
6110 * tex-font.h (kpse_font_format_type): Rename to kpse_file_format_type,
6111 and include the other file formats.
6112 * tex-glyph.c: Change uses.
6114 Tue Jul 6 08:09:10 1993 Karl Berry (karl@cs.umb.edu)
6116 * tex-font.c (kpse_fallback_font): Initialize to NULL.
6118 Mon Jul 5 08:23:09 1993 Karl Berry (karl@cs.umb.edu)
6120 * tex-glyph.c (try_size): Don't fill in FONT_FILE if it's null.
6122 * tex-font.c (kpse_init_fallback_resolutions): Look for TEXSIZES
6123 after the program-specific *SIZES var.
6125 * tex-glyph.c (kpse_find_glyph_format): Use kpse_init_path.
6126 * Makefile.in (objects): Add init_path.o.
6127 * tex-font.[ch] (kpse_override_path): Move to init-path.[ch].
6128 * init-path.[ch]: New files.
6129 * c-vararg.h: New file.
6131 Sun Jul 4 11:26:17 1993 Karl Berry (karl@cs.umb.edu)
6133 * tex-font.c (kpse_init_fallback_resolutions): New routine.
6134 * tex-font.h: Declare it, and companion return type.
6136 Fri Jul 2 10:43:11 1993 Karl Berry (karl@cs.umb.edu)
6138 * tex-glyph.c (kpse_find_glyph_format): Take first successful
6141 * fontmap.c (map_file_parse): Take first % on line as starting the
6142 comment, not the last.
6144 * fontmap.c (map_insert): Always insert the new element.
6146 Thu Jul 1 19:21:35 1993 Karl Berry (karl@cs.umb.edu)
6148 * fontmap.c (map_lookup): Return a list, not a single string.
6149 (map_lookup_str): Likewise.
6150 * fontmap.h (map_lookup): Change decl.
6151 * tex-glyph.c (kpse_find_glyph_format): Change caller.
6153 Sat Jun 26 11:48:36 1993 Karl Berry (karl@cs.umb.edu)
6155 * tex-font.h: Doc fix.
6157 Thu Jun 24 11:16:41 1993 Karl Berry (karl@cs.umb.edu)
6159 * configure.in (MISSING_HEADERS): Toss in favor of HAVE_HEADERS. Sigh.
6160 Also, move all this to an include file.
6161 Change uses in several files.
6163 * stat.h: Rename to c-stat.h, and change includers.
6165 * Makefile.in (objects): Add tex-glyph.o.
6166 * pathsearch.[ch] (kpse_*_multi_search): New routines.
6168 Sat Jun 19 11:37:18 1993 Karl Berry (karl@cs.umb.edu)
6170 * str-list.c (str_list_free): New routine.
6172 Fri Jun 18 13:54:08 1993 Karl Berry (karl@cs.umb.edu)
6174 * fontmap.c (map_create): Rewrite to use kpse_all_path_search.
6175 Include const in various subroutines.
6177 Tue Jun 15 15:58:18 1993 Karl Berry (karl@cs.umb.edu)
6179 * Change <kpathsea/pathsrch.h> to pathsearch. Rename the files
6182 * elt-dirs.c (cache): Copy the key into our own storage, since it
6183 comes from kpse_path_element and might get overwritten. Should we
6184 copy all the values, too?
6186 Sun Jun 13 16:49:09 1993 Karl Berry (karl@cs.umb.edu)
6188 * pathsearch.c (dir_list_search): Don't need to append the null
6189 here; in fact, it's wrong, since then the final list might have
6190 nulls in the middle.
6192 * elt-dirs.c (dir_list_add): Correct check for new directory
6193 already ending in /.
6195 Fri Jun 11 10:45:33 1993 Karl Berry (karl@cs.umb.edu)
6197 * str-list.[ch]: New files.
6198 * pathsrch.c: Use it for the dir_list routines.
6199 * Many changes and new files throughout for new implementation
6200 including TeX-font-lookup routines.
6202 Tue Jun 8 14:00:54 1993 Karl Berry (karl@cs.umb.edu)
6204 * Most files: Change `const string' (constant pointer) to `const
6205 char *' (pointer to constant data). What a crock.
6207 Mon Jun 7 09:43:21 1993 Karl Berry (karl@cs.umb.edu)
6209 * debug.[ch]: New files.
6210 * config.h: Include debug.h.
6212 * dir-p.c: Rename to dir.c.
6213 (dir_links): New routine.
6215 * c-std.h (assert.h) [!ASSERT_H_MISSING]: Include this.
6216 * configure.in: Check for it with new macro AC_MISSING_HEADERS.
6218 Thu Jun 3 10:12:12 1993 Karl Berry (karl@cs.umb.edu)
6220 * dirio.h (leaf_dir_p): No longer defined; rename to dir.h.
6221 * xopendir.c, dir-p.c, pathsrch.c: Change include.
6223 Mon May 31 07:49:16 1993 Karl Berry (karl@cs.umb.edu)
6225 * c-std.h (EXIT_{SUCCESS,FAILURE}): Define these if they're undefined.
6227 * config.h: Use <kpathsea/...> instead "...".
6229 * kpathlib.h: Had #ifndef protection messed up. Rename to lib.h.
6231 * c-memstr.h (index, rindex) [!index, !rindex]: Make definitions
6234 Tue May 25 10:07:00 1993 Karl Berry (karl@cs.umb.edu)
6236 * c-{namemx,pathmx,pathch,...}.h: Doc fixes.
6238 * c-systypes.h: New file.
6239 * c-std.h: Include it.
6242 * xstat.h: Include it.
6244 * configure.in (AC_HAVE_HEADERS): Test for `pwd.h'.
6246 Sun May 23 19:06:22 1993 Karl Berry (karl@cs.umb.edu)
6248 * pathsrch.[ch]: Doc fixes.
6250 Fri May 21 11:27:54 1993 Karl Berry (karl@cs.umb.edu)
6252 * line.c (free): Declare.
6254 * pathsrch.c, find-suffix.c: Change caller.
6255 * c-pathch.h ({IS_,}{DIR,ENV}_SEP): Rename existing confusing
6256 definitions to these. Suggested by rocky.
6258 Mon May 17 08:18:18 1993 Karl Berry (karl@cs.umb.edu)
6262 * pathsrch.c (expand_default): Handle doubled colon and
6263 nothing-but-colon cases.
6265 * Write documentation, change Makefile accordingly.
6267 Thu May 13 16:32:34 1993 Karl Berry (karl@cs.umb.edu)
6269 * c-std.h (popen) [VMS]: Make decl conditional, and include
6270 <unixlib.h> and <unixio.h>.
6272 Mon May 10 07:12:50 1993 Karl Berry (karl@cs.umb.edu)
6276 * version.c: Put in placeholder.
6278 Sun May 9 10:42:34 1993 Karl Berry (karl@cs.umb.edu)
6280 * config.h (c-auto.h): Use <...> instead of "...".
6282 Tue May 4 14:54:41 1993 Karl Berry (karl@cs.umb.edu)
6284 * Makefile.in (info check dvi): New targets (that do nothing).
6286 Mon May 3 13:46:17 1993 Karl Berry (karl@claude.cs.umb.edu)
6290 * Use KPATHSEARCH_ prefix for various headers' cpp protections.
6292 Sun May 2 10:28:25 1993 Karl Berry (karl@cs.umb.edu)
6294 * Makefile.in (dist): Depend on TAGS, and put it in the dist.
6296 * Makefile.in (c-auto.h.in): Remove extra $(srcdir).
6298 Sun Apr 25 11:22:12 1993 Karl Berry (karl@cs.umb.edu)
6300 * pathsrch.h: Include c-proto.h.
6302 * make-suffix.c: New file.
6303 * Makefile.in (objects): Add the .o.
6305 * file-p.c: Use the SAME_FILE_P macro.
6307 * fontmap.h: Include c-proto.h and types.h.
6309 * lib.h: Rename to kpathlib.h.
6310 * config.h: Include changed.
6312 * c-proto.h, c-std.h: Doc fix.
6314 * c-limits.h [LIMITS_H_MISSING]: Conditionalize include of c-std.h.
6316 * xstat.h: Include c-std.h.
6318 * Makefile.in (c-auto.h.in): Add unused warning to top.
6320 * dirio.h: Include c-proto.h and types.h.
6322 Fri Apr 23 16:11:13 1993 Karl Berry (karl@cs.umb.edu)
6324 * line.c: Don't include config.h, just declare xmalloc and
6325 xrealloc explicitly.
6327 * pathsrch.c: paths.h need not be included.