dvitomp fix from Akira
[mplib] / src / texk / kpathsea / ChangeLog
1 2008-07-08  Karl Berry  <karl@tug.org>
2
3         * configure.in: version 3.5.7.
4
5 2008-07-06  Karl Berry  <karl@tug.org>
6
7         * withenable.ac (texmfmain): do not bother with long verbose
8         complaint when the tree can't be found, since this is normal in TL. 
9
10 2008-07-05  Karl Berry  <karl@tug.org>
11
12         * mktextfm (MAG): set to 0; why were we using MAG=1?  Left
13         over from when we included pregenerated pk's in the distribution?
14
15 2008-07-04  Karl Berry  <karl@tug.org>
16
17         * texmf.cnf (max_strings): increase to 500000.
18         ctt posting from Benno Puetz, http://groups.google.com/group/comp.text.tex/browse_thread/thread/2c3aa2d09b4625e3 
19
20         * progname.c [HAVE_PROGRAM_INVOCATION_NAME]: remove all #ifdef's
21         except around the declaration, so that we always use our own code
22         to compute them.  This avoids painful system dependencies.
23
24 2008-07-02  Karl Berry  <karl@tug.org>
25
26         * mktexlsr: doc fix.
27
28         * kpathsea.texi (Path searching options): mention --engine=/ trick.
29
30 2008-06-16  Karl Berry  <karl@tug.org>
31
32         * texmf.cnf (TEXMFDOC): new var.
33         (TEXMFDBS): use it, so ls-R gets created there.
34         (TEXMFDOCDIR): use it.
35         [Reminder: the texmf.cnf here in Build/ is slaved to the one in
36          Master/.]
37
38 2008-06-15  Karl Berry  <karl@tug.org>
39
40         * mktexlsr: once again respect dir names given on cmd line.
41
42 2008-06-12  Karl Berry  <karl@tug.org>
43
44         * tex-file.c () <kpse_cmap_format>: cmap files (texmf/fonts/cmap)
45         do not have the .cmap suffix.  (t1.cmap, et al., are TeX files,
46         not cmap files.) So remove the SUFFIXES definition.
47
48 2008-05-31  Karl Berry  <karl@tug.org>
49
50         * elt-dirs.c (kpse_normalize_path): only output debug line if
51         value is not 1.  Reformat.
52
53         * tex-file.c (INIT_FORMAT): construct human-formatted list of
54         envvars that are considered for each format, as requested by
55         Nelson Beebe and others over the years.
56         (init_format) [KPSE_DEBUG]: include it in the debugging output.
57         (concatn_with_spaces): the function to make the list.
58
59         * tex-make.c: concatn.h unused, removed.
60
61         * db.c (DB_HASH_SIZE): 32003 seems a better compromise between the
62         tiny texmf (~1300 entries) and huge texmf-dist (~62000 entries).
63
64 2008-05-29  Karl Berry  <karl@tug.org>
65
66         * db.c (DB_HASH_SIZE): increase to 75000+, the actual size of
67         current ls-R.
68
69         * cnf.c: doc fixes.
70
71         * Makefile.in (stamp-paths): change var substitutions to use /nonesuch.
72         (texmf.sed, texmf.cnf): remove targets, we will juse use texmf.cnf.
73         (install-data): texmf.cnf is in srcdir now.
74
75         * texmf.in: remove.
76         * texmf.cnf: new file, slave to Master/texmf/web2c/texmf.cnf.
77
78 2008-05-28  Karl Berry  <karl@tug.org>
79
80         * mktexlsr: support --quiet/--silent.
81
82 2008-05-24  Karl Berry  <karl@tug.org>
83
84         * kpathsea.texi (Specially-recognized files): new node to
85         document the special filenames kpsewhich now knows about.
86
87 2008-05-23  Karl Berry  <karl@tug.org>
88
89         * tex-file.c (init_path): do not free the translated env_value,
90         else raw_path ends up pointing to that freed memory.
91
92         * default.h: mention that result is always in new memory.
93         * kpsewhich.c: recognize texmf.cnf as kpse_cnf_format.
94
95         * kpsewhich.c (find_format): use the right formats for texmf.cnf,
96         dvipdfmx.cfg, fmtutil.cnf, mktex.cnf, and updmap.cfg (as well as
97         config.ps, earlier).  Same values as texmf/texconfig/tcfmgr.map.
98
99 2008-05-18  Karl Berry  <karl@tug.org>
100
101         * mktexlsr (vc_dirs): ignore more than just .svn.
102         Original suggestion from Michael Schutte, Debian bug 481371,
103         16 May 2008 11:31:20.
104
105 2008-05-05  Karl Berry  <karl@tug.org>
106
107         * recorder.h: declare our fn variables extern as they should be.
108         * cnf.c: make the definitions here.
109
110 2008-05-04  Karl Berry  <karl@tug.org>
111
112         * finish changing license notices to use FSF url instead of
113         physical address, other minor consistency changes.
114
115 2008-05-01  Karl Berry  <karl@tug.org>
116
117         * tex-file.c (ALT_SOURCES_SUFFIXES): new macro (.dtx, .ins).
118         (kpse_init_format) <kpse_texsource_format>: use it.
119
120 2008-04-30  Karl Berry  <karl@tug.org>
121
122         * kpsewhich.c (read_command_line): leave two spaces before alt
123         suffixes, just so they can be distinguished.
124
125         * tex-file.c (ALT_TEX_SUFFIXES): define this (rather belatedly)
126         to check for .sty, .cls, etc.
127         Rename other *_SUFFIXES to ALT_*_SUFFIXES.
128         
129         * kpathsea.texi (File lookup): Document this.
130         * tex-file.c: (target_fontmaps, target_asis_name,
131         target_suffixed_names): new fns.
132         (kpse_find_file_generic): call them, respecting new cnf value
133         try_std_extension_first.
134
135 2008-04-29  Karl Berry  <karl@tug.org>
136
137         * Makefile.in (install-data): do not cd $(srcdir) in any rule,
138         that fails when the install program is specified by a relative path.
139
140 2008-03-27  Karl Berry  <karl@tug.org>
141
142         * tex-make.c: start "running" on a new line, tweak other msgs.
143
144 2008-03-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
145
146         * kpsewhich.c (main): change type of value from string to
147         const_string, to avoid warning.
148         * progname.c (selfdir): change type of elt from string to
149         const_string, to avoid warning.
150         * xputenv.c: change type of saved_env from const_string to
151         string, to avoid warning.
152
153 2008-03-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
154
155         * access.c, readlink.c: removed `#include <stdio.h>' preceeding
156         `#include <kpathsea/config.h>' (which in turn includes stdio.h).
157
158         * xfseek.c, xftell.c: reverted to state before 2008-02-21.
159         * xfseeko.c, xftello.c (both new): new functions using off_t
160         instead of long, and fseeko instead of fseek.
161         * lib.h: prototypes for xfseek, xfseeko, xftell, and xftello.
162         * Makefile.in (objects): added xfseeko.lo and xftello.lo.
163
164         * configure.in: construct package and (shared) library version
165         from m4_define'd parts, subtitute KPSE_LT_VERS ...
166         * Makefile.in ($(kpathsea)): ... here.
167
168 2008-03-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
169
170         * common.ac: add AC_SYS_LARGEFILE and AC_FUNC_FSEEKO.
171
172 2008-03-02  Karl Berry  <karl@tug.org>
173
174         * cnf.c (read_all_cnf): change warning text when texmf.cnf is not
175         found to make it clear we are giving it, and keep it on one line.
176
177 2008-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
178
179         * common.ac: replace the private macro KPSE_STRUCT_ST_MTIM
180         by AC_CHECK_MEMBERS([struct stat.st_mtim]).
181
182         * common.ac: use AC_CHECK_DECLS([strstr]) and ...
183         * lib.h: ... replace `#ifndef HAVE_STRSTR' by
184         `#if !HAVE_DECL_STRSTR'.
185
186         * common.ac: Move AC_CONFIG_HEADERS from here ...
187         * configure.in: ... to here and replace PACKAGE_... by
188         KPSE_PACKAGE_... in c-auto.h, to avoid conflicts with other
189         packages.
190
191         * configure.in: use AH_TOP, AH_BOTTOM, and AC_DEFINE's third
192         argument to provide autoheader templates ...
193         * common.ac: m4 code to generate AC_DEFINE with a third argument
194         for MAKE_..._BY_DEFAULT and set them to 0 or 1 ...
195         * withenable.ac: use AC_DEFINE's third argument to provide
196         autoheader templates ...
197         * acconfig.h: ... removed.
198
199 2008-02-24  Martin Schröder <martin@pdftex.org>
200
201         * lib.h: systypes.h instead of c-std.h
202
203 2008-02-23  Martin Schröder <martin@pdftex.org>
204
205         * lib.h: include c-std.h to get off_t from stdio.h
206
207 2008-02-21  Martin Schröder <martin@pdftex.org>
208
209         * lib.h, xfseek.c, xftell.c: LFS support: use off_t instead of long
210         and fseeko instead of fseek
211
212 2008-02-14  Karl Berry  <karl@tug.org>
213
214         * texmf.in (font_mem_size): increase to 3000000.
215         (font_max): increase to 5000 (max_font_max increased in tex.ch).
216
217 2008-02-11  Karl Berry  <karl@tug.org>
218
219         * install.texi: mention mktexfmt, other mktex updates.
220         (Bug report from Ken Brooks, 03 Aug 2006 15:15:03.)
221
222 2008-02-08  Karl Berry  <karl@tug.org>
223
224         * texmf.in: texlive2008 to match texmf/web2c/texmf.cnf.
225
226 2008-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
227
228         Convert from autoconf-2.13 to autoconf-2.59+:
229         * Makefile.in: Add @configure_input@ line.
230         * aclocal.m4 (new): Generated (aclocal -I ../m4).
231         * configure: Regenerated (autoconf).
232
233 2008-01-25  Karl Berry  <karl@tug.org>
234
235         * variable.c (expand): do ~ expansion here too, for --expand-var,
236         or mktexnam fails.
237         Report from Werner Lemberg, 24 Jan 2008 02:19:49.
238         * kpathsea.texi (Auxiliary tasks): document this.
239
240 2008-01-21  Karl Berry  <karl@tug.org>
241
242         * kpsewhich.c, kpathsea.texi: document --all and --subdir.
243
244         * db.c through tex-file.c: replace FSF physical address with url.
245
246 2008-01-18  Karl Berry  <karl@tug.org>
247
248         * kpsewhich.c (subdir_match): XRETALLOC is a statement not a function.
249         * pathsearch.c (search_list): remove unused variable uniq_list.
250
251 2008-01-16  Karl Berry  <karl@tug.org>
252
253         * absolute.c through config.h: replace FSF physical address with url.
254
255 2008-01-15  Karl Berry  <karl@tug.org>
256
257         * variable.c (kpse_var_value): only free if new memory.
258         
259         * tex-file.c (kpse_find_file_generic): call kpse_make_tex if the
260         first element of the list is NULL, not the list itself.
261
262 2008-01-14  Karl Berry  <karl@tug.org>
263
264         * variable.c (kpse_var_value): also do ~ expansion.
265         * variable.h: adjust comments.
266         * kpathsea.texi (Auxiliary tasks): document this.
267
268         * tilde.c (HOMEVAR): new #define; "USERPROFILE" on Windows,
269         "HOME" else.
270         * tilde.h: adjust comments.
271         * kpathsea.texi (Tilde expansion): document this.
272
273 2008-01-13  Karl Berry  <karl@tug.org>
274
275         * remote.c-no: remove this stub.  Suggestion from Martin.
276
277         * mktexpk: use $MT_MKTEXDIR in the error message if making
278         PKDESTDIR fails, instead of hardwiring mktexdir.
279         From Javier, 7 Jan 2008 11:33:18.
280
281         * kpsewhich.c (subdir_match): protect again loc going infinitely
282         negative.  Found by dak, 8 Jan 2008 14:51:08.
283
284 2008-01-05  Karl Berry  <karl@tug.org>
285
286         * texmf.in (progname, engine): distinguish the unset values.
287         (main_memory): increase to 3M.
288         (font_mem_size): increase to 2.5M.
289         (trie_size): increase to 400K.
290         (save_size): increase to 50K.
291         These size changes per gwtex (except a bit more).
292
293 2008-01-02  Karl Berry  <karl@tug.org>
294
295         * c-std.h (ALLOC_RETURN_TYPE) [!STDC_HEADERS]: just use void in
296         the unlikely event we're declaring *alloc ourselves.  No modern
297         system uses char * for them.
298
299 2007-12-23  Karl Berry  <karl@tug.org>
300
301         * kpsewhich.c (subdir_match): new fn.
302         (lookup): call it if requested.
303         (subdir_paths): new global.
304         (read_command_line): new option --subdir.
305
306 2007-12-22  Karl Berry  <karl@tug.org>
307
308         * kpsewhich.c (lookup): handle --all for regular lookups as well
309                 as user-specific paths.
310         * pathsearch.c (search_list): uniqify list before returning.
311         (kpse_path_search_list_generic): new fn.
312         (kpse_all_path_search_list, kpse_path_search_list): rewrite to
313                 call ..._generic.
314         * pathsearch.h (kpse_path_search_list_generic): declare it.
315         * str-list.c (str_list_uniqify): new fn.
316         * str-list.h (str_list_uniqify): declare it.
317         * tex-file.c (kpse_find_file_generic): new name for kpse_find_file
318                 code, with addition of argument to find all.
319         (kpse_find_file): rewrite to call ..._generic.
320         * tex-file.h (kpse_find_file_generic): declare it.
321
322 2007-12-17  Karl Berry  <karl@tug.org>
323
324         * kpathsea.texi (Path searching options): clarify --expand-path doc.
325
326 2007-12-15  Karl Berry  <karl@tug.org>
327
328         * kpsewhich.c (read_command_line, USAGE): improve --version and
329         --help messages.
330
331 2007-12-01  Karl Berry  <karl@tug.org>
332
333         * texmf.in (MPMEMS, MFBASES, TEXFORMATS): switch to /$engine,
334         to try to avoid finding a format for the wrong engine.
335         From Akira.
336
337 2007-11-05  Karl Berry  <karl@tug.org>
338
339         * texmf.in (allow_multiple_suffixes): unimplemented.
340         Reported by Akira, 17 Feb 2007 15:44:39.
341
342 2007-10-24  Karl Berry  <karl@tug.org>
343
344         * mktexpk (MODE) <720>: epscszz.  From Akira.
345         (PKDESTDIR): Quote.  From Paul Vojta,
346         tex-k 22 Oct 2007 17:38:56.
347
348 2007-09-11  Karl Berry  <karl@tug.org>
349
350         * texmf.in (TRFONTS): don't recurse through /usr.
351         Report from Michail Vidiassov, mp-i 10 Sep 2007 12:55:10.
352
353 2007-08-27  Karl Berry  <karl@tug.org>
354
355         * fontmap.c (map_file_parse): free the original pointer, not the
356         potentially moved one (after whitespace skipping). 
357         From: "George N. White III", 25 Jul 2007 11:27:12.
358
359 2007-07-29  Karl Berry  <karl@tug.org>
360
361         * depend.mk: regenerate again.
362
363 2007-07-24  Karl Berry  <karl@tug.org>
364
365         * recorder.h (kpse_input, kpse_output): use const_string as
366         argument, not just char *, to avoid warning.
367
368         * fontmap.c (map_file_parse): kpse_record_input if requested.
369         From Akira, 23 Jul 2007 10:20:58 (original report from George
370         White).
371
372 2007-07-15  Karl Berry  <karl@tug.org>
373
374         * depend.mak: update.
375
376 2007-07-06  Karl Berry  <karl@tug.org>
377
378         * tex-file.c (init_path) <kpse_lua_format>: let's make the format
379         name be lua rather than luatex; otherwise kpsewhich -format=luatex
380         finds kpse_tex_format sometimes, and it seems unnecessary to debug
381         that just now.
382         Also, set suffix_search_only=true.
383         (LUA_SUFFIXES): put compiled suffixes first.
384
385 2007-07-05  Karl Berry  <karl@tug.org>
386
387         * tex-file.h (kpse_file_format_type): define kpse_lua_format.
388         * tex-file.c (LUA_ENVS, LUA_SUFFIXES): new macros
389         (init_path): initialize kpse_lua_format.
390
391         * texmf.in (LUAINPUTS): add $TEXINPUTS per Hans and Taco.
392
393 2007-06-14  Karl Berry  <karl@tug.org>
394
395         * texmf.in: doc fix ({a,b} is not deprecated).
396
397 2007-05-19  Karl Berry  <karl@tug.org>
398
399         * texmf.in (SYSTEXMF): add TEXMFSYSVAR (thread around 7mar07).
400
401 2007-05-05  Karl Berry  <karl@tug.org>
402
403         * kpsewhich.c (find_format): hardware kpse_dvips_config_format for
404         config.ps.
405
406         * texmf.in (TEXMFMAIN, TEXMFDIST, TEXMFLOCAL, TEXMFSYSVAR,
407         TEXMFSYSCONFIG, VARTEXFONTS, MIMELIBDIR, MAILCAPLIBDIR, TEXMFNCF):
408         use @texmf@ etc. expansions so that (hopefully)
409         --disable-multiplatform works again.  For TEXMFCNF, restore
410         inclusion of $TEXMF/web2c, too.  Reported by Peter M.
411
412 2007-03-21  Karl Berry  <karl@tug.org>
413
414         * install.texi (Shared library): remove mention of klibtool.
415
416 2007-03-09  Akira Kakuto  <kakuto@fsci.fuk.kindai.ac.jp>
417
418         * tex-file.c (kpse_init_format): reduce to just .fmt;
419         and allow both .t42 and .T42.
420
421 2007-02-26  Karl Berry  <karl@tug.org>
422
423         * bugs.texi (Logging): mention pdftex -recorder and strace et al.
424         (Bug checklist): Remove my old physical address.
425
426 2007-02-02  Karl Berry  <karl@tug.org>
427
428         * texmf.in (OVFFONTS): search for vf.
429         (OFMFONTS): explicitly adding TFMFONTS seems unnecessary.
430         From Hans and Taco, 25 Jan 2007.
431
432 2006-12-30  Karl Berry  <karl@tug.org>
433
434         * configure.in (KPSEVERSION): 3.5.6.
435
436 2006-12-29  Karl Berry  <karl@tug.org>
437
438         * tex-make.c (set_maketex_mag): deleted wrong extra arg;
439         do not generate args with spaces for mf.  From Akira.
440
441 2006-12-26  Karl Berry  <karl@tug.org>
442
443         * tex-make.c: (set_maketex_mag): remove spurious extra argument
444           `r' to sprintf.
445         (maketex): remove unused variable status.
446
447 2006-12-25  Karl Berry  <karl@tug.org>
448
449         * mktexlsr: support --verbose.
450
451 2006-12-14  Karl Berry  <karl@tug.org>
452
453         * texmf.in: unify with TL texmf.cnf to make only real differences
454         show up.
455
456 2006-12-09  Karl Berry  <karl@tug.org>
457
458         * c-memstr.h (strings.h): don't include if HAVE_STRING_H (as all
459         systems should, these days).  Reported by vvv.
460
461 2006-07-15  Karl Berry  <karl@tug.org>
462
463         * expand.c (kpse_expand_kpse_dot): omit empty path elements from
464         TEXMFCNF, per http://bugs.debian.org/358330.  Patch from Julian
465         Gilbey, tex-k/tex-live mail 27 Mar 2006 19:32:43 +0100.
466
467 2006-02-03  Karl Berry  <karl@tug.org>
468
469         * mktexlsr: ignore .svn directories.
470
471 2005-08-13  Olaf Weber  <olaf@infovore.xs4all.nl>
472
473         * kpsewhich.c: Update copyright message.
474
475 2005-08-03  Olaf Weber  <olaf@infovore.xs4all.nl>
476
477         * README: Change references to COPYING and COPYING.LIB to GPL and
478         LGPL.
479
480         * kpathsea.texi: Change references to COPYING and COPYING.LIB to
481         GPL and LGPL.
482
483         * readlink.c: Correct license banner.
484
485 2005-07-27  Olaf Weber  <olaf@infovore.xs4all.nl>
486
487         * Makefile.in: Add comment to start of kpathsea.h.
488
489         * absolute.h, acconfig.h, c-ctype.h, c-dir.h, c-errno.h,
490         c-fopen.h, c-limits.h, c-memstr.h, c-minmax.h, c-namemx.h,
491         c-pathch.h, c-pathmx.h, c-proto.h, c-stat.h, c-std.h, c-unistd.h,
492         c-vararg.h, cnf.h, concatn.h, config.h, db.h, debug.h, default.h,
493         expand.h, fn.h, fontmap.h, getopt.h, hash.h, lib.h, line.h,
494         magstep.h, pathsearch.h, proginit.h, progname.h, readable.h,
495         str-list.h, str-llist.h, systypes.h, tex-file.h, tex-glyph.h,
496         tex-hush.h, tex-make.h, tilde.h, truncate.h, types.h, variable.h,
497         xopendir.h, xstat.h: Update copyright, license to LGPL 2.1.
498
499 2005-07-26  Olaf Weber  <olaf@infovore.xs4all.nl>
500
501         * access.c, readlink.c: Update copyright, license text.
502
503         * atou.c, absolute.c, cnf.c, concat.c, concat3.c, concatn.c, db.c,
504         debug.c, dir.c, elt-dirs.c, expand.c, extend-fname.c, file-p.c,
505         find-suffix.c, fn.c, fontmap.c, getopt.c, getopt1.c, hash.c,
506         kdefault.c, kpsestat.c, kpsewhich.c, line.c, magstep.c,
507         make-suffix.c, path-elt.c, pathsearch.c, proginit.c, progname.c,
508         readable.c, rm-suffix.c, str-list.c, str-llist.c, strcasecmp.c,
509         strstr.c, strtol.c, tex-file.c, tex-glyph.c, tex-hush.c,
510         tex-make.c, tilde.c, truncate.c, uppercasify.c, variable.c,
511         version.c, xbasename.c, xcalloc.c, xdirname.c, xfopen.c, xfseek.c,
512         xftell.c, xgetcwd.c, xopendir.c, xrealloc.c, xstat.c, xstrdup.c:
513         Update copyright, license to LGLP 2.1.
514
515         * xmalloc.c, xrealloc.c: Update copyright, license to LGPL 2.1.
516         Don't include stdio.h directly, it comes via config.h.
517
518 2005-07-25  Olaf Weber  <olaf@infovore.xs4all.nl>
519
520         * texmf.in: Increase trie_size.  Remove inaccurate comment about
521         its limits.
522
523         * common.ac: Remove the check for SMART_PUTENV, the xputenv code
524         has been rewritten not to need this.
525
526         * tex-file.c (kpse_init_format): Add uppercase versions of the
527         .ttf and .ttc suffixes for truetype fonts.  Dont require a
528         recognized suffix.
529
530         * types.h: Don't #define true if it is already defined.  From Karl
531         Berry.
532
533         * mktexmf: Additional change for generating cbgreek from Thomas.
534
535 2005-07-12  Olaf Weber  <olaf@infovore.xs4all.nl>
536
537         * mktexmf: Patterns for cbgreek weren't inclusive enough.  From
538         Thomas.
539
540 2005-07-10  Olaf Weber  <olaf@infovore.xs4all.nl>
541
542         * tex-file.c (kpse_init_format): Revive .otf extension for
543         kpse_opentype_format, requested by Akira Kakuto
544         <kakuto@fsci.fuk.kindai.ac.jp>.
545
546         * tex-make.c (maketex): Print the name of the failing command
547         instead of always mktexpk.  From Karl berry
548         <karl@freefriends.org>.
549
550         * acconfig.h: Remove SMART_PUTENV code.
551
552         * xputenv.c (xputenv): Replace with code that doesn't depend on
553         the SMART_PUTENV check.
554         (common.ac): Remove SMART_PUTENV check code.
555
556 2005-06-29  Olaf Weber  <olaf@infovore.xs4all.nl>
557
558         * tex-make.c: Metafont doesn't like literals larger than anout
559         4000, so try to avoid them when specifying magnifications.  From
560         Werner Fink <werner@suse.de>.
561
562         * hash.h [KPSE_DEBUG]: Add KPSEDLL to declaration of
563         kpse_debug_hash_lookup_int.  From Jan Nieuwenhuizen
564         <janneke@gnu.org>.
565
566 2005-06-26  Olaf Weber  <olaf@infovore.xs4all.nl>
567
568         * xt.ac: Fully quote the arguments of AC_ARG_WITH.  From Peter
569         Breitenlohner.
570
571         * withenable.ac: Fully quote arguments of AC_ARG_WITH.  From Peter
572         Breitenlohner.
573
574         * configure.in: Syntax changes to match autoconf2.5x.  From Peter
575         Breitenlohner.  Version to 3.5.5.
576
577         * common.ac: Fully quote AC_CONFIG_HEADERS.  From Peter
578         Breitenlohner.
579
580         * Makefile.in: Replace ac_include with kpse_include.  From Peter
581         Breitenlohner.
582
583 2005-06-22  Olaf Weber  <olaf@infovore.xs4all.nl>
584
585         * common.ac: Add KPSE_STRUCT_ST_MTIM check.
586
587         * expand.c: Update some comments.
588
589         * pathsearch.c: Update some comments.
590
591         * tex-file.c (init_path): Translate ';' to ':' in values we get
592         from the environment if the latter is our env_sep.
593
594         * cnf.c (do_line): Always translate ';' to ':' in config values if
595         the latter is the env_sep.
596
597         * kpathsea.texi: Remove ALLOW_SEMICOLON_IN_FILENAMES comment.
598
599 2005-06-21  Olaf Weber  <olaf@infovore.xs4all.nl>
600
601         * mktexlsr: Re-export PATH after changing it.  Some shells require
602         this.  Reported by Albert Chin <china@thewrittenword.com>.
603
604         * tex-file.c (kpse_find_file): Call kpse_expand() to do tilde and
605         variable expansion, which kpse_path_search_list() doesn't do, but
606         kpse_path_search() did.  Re-enabling this was requested by several
607         people, including Oliver Grewe <olligrewe@nexgo.de>.
608
609         * mktexpk, bugs.texi: From Karl Berry: "Try to be more informative
610         when mktexpk can't guess the mode; reported by Knuth in tex-k
611         mail, 26 Apr 2005 18:07:20 -0400."
612
613 2005-04-10  Olaf Weber  <olaf@infovore.xs4all.nl>
614
615         * tilde.c (kpse_tilde_expand): Slightly simplify code.
616
617         * tilde.c (kpse_tilde_expand): Account for the possibility that
618         we're fed an argument starting with "!!~".  Problem reported by
619         DEK.
620
621 2005-03-07  Olaf Weber  <olaf@infovore.xs4all.nl>
622
623         * install.texi: Document texmfvar and USE_TEXMFVAR.  From Thomas.
624
625         * mktexdir: Break out of loop on failure of mkdir.  Last-minute
626         change for teTeX 3.0 from Thomas.
627
628 2005-02-06  Olaf Weber  <olaf@infovore.xs4all.nl>
629
630         * kpsereadlink.man: Correct banner: READLINK -> KPSEREADLINK.
631
632 2005-02-05  Olaf Weber  <olaf@infovore.xs4all.nl>
633
634         * Makefile.in (texmf.sed): With TEXMFSYSVAR and TEXMFSYSCONFIG
635         added, there's even more potential damage to clean up.
636         (uninstall-data): Try to cleanly uninstall the info document.
637
638         * texmf.in: Add TEXMFSYSVAR, TEXMFSYSCONFIG for teTeX 3.0.  From
639         Thomas.
640
641 2005-01-25  Olaf Weber  <olaf@infovore.xs4all.nl>
642
643         * mktexmf: Don't redirect output of cd, Ultrix doesn't like that.
644
645 2005-01-21  Olaf Weber  <olaf@infovore.xs4all.nl>
646
647         * Makefile.in: Change POSTINSTALL to POST_INSTALL.
648
649         * mktex.opt: Add texmfvar to list of allowed feature options.
650
651         * mktexlsr: Make getting the list of directories from $TEXMFDBS
652         more robust.  From Thomas.
653
654         * kpsereadlink.man, kpsestat.man, kpsewhich.man, mktexlsr.man,
655         mktexmf.man, mktextfm.man, mktexpk.man, kpseaccess.man: Man page
656         corrections from Eric S. Raymond <esr@thyrsus.com>.
657
658 2005-01-07  Olaf Weber  <olaf@infovore.xs4all.nl>
659
660         * mktexpk: Add guess ultre for 1200 dpi.  This is a fairly neutral
661         mode, also useful for pdftex.  From Karl Berry.
662
663         * mktexlsr: Make sorting the texmf trees more robust.  From
664         Thomas.
665
666 2004-12-29  Olaf Weber  <olaf@infovore.xs4all.nl>
667
668         * configure.in: Version 3.5.4.
669
670         * mktexlsr: Remove duplicate trees.  From Thomas.
671
672         * mktexdir: Remove superfluous cd.  From Thomas.
673
674         * withenable.ac: Sync with Thomas' version, removes
675         --enabled-multiplatform code.
676
677 2004-12-28  Olaf Weber  <olaf@infovore.xs4all.nl>
678
679         * Makefile.in (texmf.sed): New variables were added named TEXMF*.
680         The cleanup code needed additional fixes for this.  From Thomas
681         Esser.
682
683         * mktexnam.opt: Improve comment.
684
685         * mktexnam: Handle texmfvar option, which directs all writes into
686         the system trees to the TEXMFVAR tree, with the usual caveats.
687
688         * mktexnam.opt: Add texmfvar option.
689
690         * texmf.in: Changes to bring it close to teTeX 3.0.
691
692 2004-12-20  Olaf Weber  <olaf@infovore.xs4all.nl>
693
694         * texmf.in: For XeTeX: TEXINPUTS.xetex, TEXINPUTS.xelatex,
695         OTFFONTS.
696
697 2004-12-19  Olaf Weber  <olaf@infovore.xs4all.nl>
698
699         * xt.ac: Mark --with-x-toolkit as obsolete.
700
701         * Makefile.in [KPATHSEA_CC]: Don't quote $(CC), as it prevents
702         libtool from functioning properly if $(CC) contains options in
703         addition to the compiler name.  From Harald Koenig
704         <koenig@science-computing.de>.
705
706         * mktexpk: Add guesses for dpi 360 and 720.  From Frank Küster
707         <frank@kuesterei.ch> (Debian maintainer).
708
709         * mktexlsr: Write all regular progress messages to stderr, instead
710         of some to stdout.
711
712         * mktexdir: Handle directories with spaces in the names.
713
714         * mktexupd: If we've called mktexlsr, there is no need to do
715         anything else, so exit immediately.  From Thomas.
716
717 2004-11-28  Olaf Weber  <olaf@infovore.xs4all.nl>
718
719         * texmf.in: Add default entries for $progname and $engine, so we
720         don't expand these to empty if the file is used by pre 3.5.3
721         implementations.
722
723         * mktexmf: Extend the pattern for the cbgreek fonts.  From Hartmut
724         Henkel <hartmut_henkel@gmx.de>.
725
726 2004-10-05  Olaf Weber  <olaf@infovore.xs4all.nl>
727
728         * texmf.in: Add TEXINPUTS.lamed (Aleph's version of lambda) and
729         TEXINPUTS.uft8mex (utf8 variation of mex).
730
731 2004-08-24  Olaf Weber  <olaf@infovore.xs4all.nl>
732
733         * mktex.opt: Correct syntax error.  Reported by Staszek
734         Wawrykiewicz <staw@gust.org.pl>.
735
736 2004-08-23  Olaf Weber  <olaf@infovore.xs4all.nl>
737
738         * texmf.in: The TEXINPUTS.pdftexinfo entry in obsolete, and will
739         be removed in the future.  Alert by Vladimir Volovich
740         <vvv@vsu.ru>.
741
742         * tex-file.c (kpse_find_file): Make debug message conditional
743         KPSE_DEBUG_SEARCH being set.
744
745         * kpsewhich.c: Remove spurious space in usage message.
746
747         * tex-file.c (kpse_find_file): Add debug message to clarify what
748         the library is doing when.  From Karl Berry <karl@tug.org>.
749         
750         * tex-file.c: Add TEXFONTS to the environment variables for all
751         kinds of font-related stuff.  This means you can, if you want to,
752         just dump all font-related files in a single directory and set a
753         single variable to point to it.  It doesn't have a default.
754         Suggested by Karl Berry, Hans Hagen, Akira Kakuto.
755
756         
757 2004-08-17  Olaf Weber  <olaf@infovore.xs4all.nl>
758
759         * mktexlsr, mktex.opt: Use "test ... || test ..." instead of
760         "test ... -o ...".
761
762 2004-08-06  Olaf Weber  <olaf@infovore.xs4all.nl>
763
764         * xdirname.c: Cygwin also understands UNC names.  From Jan
765         Nieuwenhuizen <janneke@gnu.org>.
766
767         * config.h: Do not define DOSISH for Cygwin.  After Jan
768         Nieuwenhuizen <janneke@gnu.org>.
769
770         * mktex.opt: Refine the test of $COMPSEC a bit, to accomodate
771         Cygwin.  After Jan Nieuwenhuizen <janneke@gnu.org>.
772
773         * mktexlsr: Refine the test for $COMSPEC a bit, to accomodate
774         Cygwin.  After Jan Nieuwenhuizen <janneke@gnu.org>.
775
776         * Makefile.in: Define MAKE_KPSE_DLL when compiling the library to
777         support ugly windows declspec stuff.  From Jan Nieuwenhuizen
778         <janneke@gnu.org>.
779
780         * c-proto.h: Clean up the defines for KPSEDLL a bit.  From Jan
781         Nieuwenhuizen <janneke@gnu.org>.
782
783         * getopt.h: Clean up defines for KPSEDLL a bit.  From Jan
784         Nieuwenhuizen <janneke@gnu.org>.
785
786 2004-08-01  Olaf Weber  <olaf@infovore.xs4all.nl>
787
788         * texmf.in: Undoing some simplifications of the search paths, in
789         particular the texmf/{engine1,engine2,...} style paths are back to
790         accomodate older texmf trees.
791
792 2004-07-23  Olaf Weber  <olaf@infovore.xs4all.nl>
793
794         * texmf.in: Adapt TRFONTS to Linux groff path, which is the most
795         useful variant these days.
796
797 2004-07-21  Olaf Weber  <olaf@infovore.xs4all.nl>
798
799         * Makefile.in (uninstall-exec): Add removal rules for libkpathsea
800         and the programs other than kpsewhich.
801
802         * kpathsea.texi: Push copyright to bottom of page.
803
804         * texmf.in: Add paths for pdfxtex, pdfxlatex.  After Peter
805         Breitenlohner <peb@mppmu.mpg.de>.
806
807         * texmf.in: Updates/simplifications to paths, from Thomas.
808
809 2004-07-19  Olaf Weber  <olaf@infovore.xs4all.nl>
810
811         * db.c (kpse_db_search_list): Add cast to suppress warning about
812         discarding "const".
813
814 2004-07-03  Olaf Weber  <olaf@infovore.xs4all.nl>
815
816         * common.ac: No m4 quoting needed in the KPSE_CROSS_BUILD_VAR
817         calls.
818
819         * common.ac: Add some invocations of KPSE_CROSS_BUILD_VAR matching
820         usage in ../make/cross.mk.
821
822         * mktextfm: Use the same code as mktexpk for ignoring metafont
823         errors, to ensure that mktextfm and mktexpk ignore identical sets
824         of metafont errors.
825
826 2004-06-28  Olaf Weber  <olaf@infovore.xs4all.nl>
827
828         * kpathsea.texi: Use @copying, so the license ends up in the HTML
829         output.  Use @ifnottex instead of @ifinfo, so that makeinfo --html
830         works without further effort.  From Karl Berry.
831
832         * install.texi: Name of bash manual is now "bash".  From Karl
833         Berry.
834
835 2004-06-22  Olaf Weber  <olaf@infovore.xs4all.nl>
836
837         * c-memstr.h [HAVE_STRINGS_H]: Include strings.h if it is
838         available, as opposed to just doing if HAVE_STRING_H is not
839         defined.  Otherwise we give conflicting information whether
840         certain old-style functions like index, rindex are defined.
841         * common.ac: Also check for strings.h.
842
843         * c-memstr.h: Add definitions for index and rindex in terms of
844         strchr and strrchr, as we've got some old code in TeX-live that
845         needs this on some platforms.
846
847 2004-06-15  Olaf Weber  <olaf@infovore.xs4all.nl>
848
849         * install.texi: Karl Berry pointed out that GNU fileutils is now
850         GNU coreutils.
851
852 2004-06-14  Olaf Weber  <olaf@infovore.xs4all.nl>
853
854         * kpathsea.texi: Make it more obvious that applications will often
855         just want to use <kpathsea/kpathsea.h> rather than pick and choose
856         headers.
857
858 2004-06-11  Olaf Weber  <olaf@infovore.xs4all.nl>
859
860         * kpsewhich.c: Update copyright dates.
861
862 2004-05-28  Olaf Weber  <olaf@infovore.xs4all.nl>
863
864         * mktexlsr: Rename readlink to kpsereadlink to avoid name clash.
865
866         * Makefile.in: Rename readlink to kpsereadlink to avoid name
867         clash.
868
869 2004-05-26  Olaf Weber  <olaf@infovore.xs4all.nl>
870
871         * tex-file.c: Make .fmt the only "true" suffix for format files,
872         and add all other suffixes to the list of alternates.  In the next
873         version, these alternates will be dropped entirely.
874
875 2004-05-11  Olaf Weber  <olaf@infovore.xs4all.nl>
876
877         * Makefile.in (mostlyclean): access -> kpseaccess.  From Thomas.
878
879 2004-05-08  Olaf Weber  <olaf@infovore.xs4all.nl>
880
881         * mktexlsr: Widen the matches for the lsR-pattern, so we omit the
882         temporary directory we used.
883
884 2004-05-07  Olaf Weber  <olaf@infovore.xs4all.nl>
885
886         * texmf.in: Use $engine in some paths.
887
888         * kpathsea.texi: Date is May 2004.
889
890         * kpathsea.texi: Document --engine.
891
892         * kpsewhich.man: Document -engine.
893
894         * kpsewhich.c: Implement -engine option.
895
896 2004-04-24  Olaf Weber  <olaf@infovore.xs4all.nl>
897
898         * cnf.c (read_all_cnf): Fix memory leak.
899
900         * mktexupd: Fix logic error.  Found by Thomas Esser.
901
902         * tex-file.c (kpse_init_fallback_resolutions): Fix memory leak.
903
904 2004-04-23  Olaf Weber  <olaf@infovore.xs4all.nl>
905
906         * db.c (kpse_db_search_list): Allow matches like base/plain.tex
907         when a db is used.  This was a regression introduced by the switch
908         to kpse_db_search_list.  Like the original code, this only works
909         with '/' used for dirsep.  Reported by Wlodzimierz Bzyl
910         <matwb@univ.gda.pl>.
911
912 2004-04-17  Olaf Weber  <olaf@infovore.xs4all.nl>
913
914         * kpsewhich.c (lookup): Partial implementation of -all option.
915         Works only in combination with the -path option.
916         * tex-file.c: Add to list of suffixes that may be used for format
917         files.
918
919         * kpathsea.texi: Document -var-value option kpsewhich.
920
921         * kpsewhich.man: Document -var-value.
922
923         * kpsewhich.c: Add -var-value option.  Change loop that checks for
924         a kpse_file_format_type to check kpse_format_fmt last.
925
926         * texmf.in: Add TEXINPUTS.aleph, TEXINPUTS.alambda.
927
928 2004-04-01  Olaf Weber  <olaf@infovore.xs4all.nl>
929
930         * mktexpk: Use dpdfezzz if given 8000 for BDPI.  Apparently this
931         is what -Ppdf ends up giving the script.
932
933 2004-03-26  Olaf Weber  <olaf@infovore.xs4all.nl>
934
935         * Makefile.in (install): access -> kpseaccess
936
937 2004-03-23  Olaf Weber  <olaf@infovore.xs4all.nl>
938
939         * db.c (kpse_init_db): Look for both "ls-R" and "ls-r" files.
940         Same contents, but when working cross-platform the all-lowercase
941         name is easier to work with.
942
943         * tex-file.c: Add .afmt as recognized suffix to kpse_fmt_format
944         (for Aleph).  Add ls-r as recognized suffix to kpse_db_format.
945
946         * mktexlsr: Allow both ls-R and ls-r as names for an existing
947         directory tree index file.  Always create ls-R.
948
949         * mktexupd: Check for both ls-R and ls-r.
950
951         * pathsearch.h (kpse_all_path_search_list): New function.  Like
952         kpse_path_search_list, with must_exist true, but returns a list of
953         filenames instead of the first hit.
954
955         * pathsearch.c (kpse_all_path_search_list): New function.  Like
956         kpse_path_search_list, with must_exist true, but returns a list of
957         filenames instead of the first hit.
958
959         * tex-make.c [WIN32] (maketex): Code to print error message for
960         ERROR_BROKEN_PIPE didn't match the format.
961
962         * mktexpk: Allow 'angle(0,0)' errors without aborting.  From
963         Andreas Degert <ad@papyrus-gmbh.de>.
964
965         * unixtex.texi: Update from Karl Berry.
966
967 2004-03-21  Olaf Weber  <olaf@infovore.xs4all.nl>
968
969         * withenable.ac: Make the warnings more obvious if the search for
970         the texmf tree fails.  Also try to fall back on kpsewhich if we
971         fail to find anything.  A simplified version of code proposed by
972         Stefan Ulrich <stefan.ulrich@zen.co.uk> for xdvik.
973
974 2004-03-16  Olaf Weber  <olaf@infovore.xs4all.nl>
975
976         * texmf.in: Add file_line_error_style variable, default to false.
977
978 2004-02-26  Olaf Weber  <olaf@infovore.xs4all.nl>
979
980         * tex-make.c (maketex): Clean up unused variables.
981
982         * texmf.in: Update link in comment for TEXFONTMAPS.
983
984 2004-02-25  Olaf Weber  <olaf@infovore.xs4all.nl>
985
986         * mktexnam: Use kpseaccess instead of access.
987
988         * mktexlsr: Use kpseaccess instead of access.
989
990         * Makefile.in: Rename the access executable to kpseaccess, as the
991         old name tended to interfere.
992
993         * kpseaccess.man: Formerly known as access.man.
994
995         * mktexlsr: Only check for magic string in ls-R file if the file
996         size is larger than 0.  Assume that a 0-length ls-R can be
997         overwritten without penalty.
998
999         * mktexlsr: Use a more accurate method to ensure that directory
1000         names, and only directory names, start with ./ in the ls-R file.
1001
1002 2004-02-16  Olaf Weber  <olaf@infovore.xs4all.nl>
1003
1004         * tex-file.c: Rename kpse_script_format to
1005         kpse_texmfscripts_format.
1006
1007         * tex-file.h: Rename kpse_script_format to
1008         kpse_texmfscripts_format.
1009
1010 2004-02-15  Olaf Weber  <olaf@infovore.xs4all.nl>
1011
1012         * mktexpk: psfonts.map and ps2pk.map now found through the map
1013         format.
1014
1015         * kpsewhich.c (find_format): psfonts.map and pdftex.map are no
1016         longer special case, pdftex.cfg is a special case now.
1017
1018         * kpathsea.texi: Update for new formats (misc fonts, web, cweb,
1019         enc, cmap, sfd, opentype fonts, pdftex config, lig files,
1020         texmfscripts).
1021
1022         * tex-file.c: Add kpse_lig_format and kpse_script_format.
1023
1024         * tex-file.h: Add kpse_lig_format and kpse_script_format.
1025
1026         * texmf.in: Add LIGFONTS and TEXMFSCRIPTS.
1027
1028 2004-02-10  Olaf Weber  <olaf@infovore.xs4all.nl>
1029
1030         * db.c (kpse_db_search_list): An absolute or explicit relative
1031         name that makes it here would not be found anyway, so test for it
1032         and skip.
1033
1034         * pathsearch.c (search_list): If we're given only absolute or
1035         relative filenames, then there is no need to dig into the database
1036         or filesystem.
1037         (dir_list_search_list): Skip any absolute filenames that make it here.
1038
1039 2004-02-08  Olaf Weber  <olaf@infovore.xs4all.nl>
1040
1041         * Makefile.in (stamp-paths): Add TEXMFDIST.  Suggested by Thomas.
1042
1043         * texmf.in: Add TEXMFDIST, suggested by Thomas.
1044
1045 2004-01-09  Olaf Weber  <olaf@infovore.xs4all.nl>
1046
1047         * tex-file.c: Add kpse_pdftex_config_format.  From Thomas.
1048
1049         * tex-file.h: Add kpse_pdftex_config_format.  From Thomas.
1050
1051 2004-01-04  Olaf Weber  <olaf@infovore.xs4all.nl>
1052
1053         * texmf.in: Modifications to several paths suggested by Thomas.
1054
1055 2003-12-17  Olaf Weber  <olaf@infovore.xs4all.nl>
1056
1057         * tex-make.c (kpse_make_tex): Allow '+' is font names as well.
1058         Reported by Hartmut Henkel <hartmut_henkel@gmx.de>.
1059
1060 2003-12-14  Olaf Weber  <olaf@infovore.xs4all.nl>
1061
1062         * progname.c: Set "progname" in the environment.
1063
1064         * tex-file.h: Add new formats: kpse_enc_format, kpse_cmap_format,
1065         kpse_sfd_format, kpse_opentype_format.  Requested by Thomas.
1066
1067         * tex-file.c: Add new formats: kpse_enc_format, kpse_cmap_format,
1068         kpse_sfd_format, kpse_opentype_format.  Requested by Thomas.
1069
1070 2003-02-27  Olaf Weber  <olaf@infovore.xs4all.nl>
1071
1072         * mktexmf: csso12[0-5][0-9] are from CJK package; unsupported by
1073         mktexmf.  Fix by Werner Lemberg <wl@gnu.org>.
1074
1075 2003-02-19  Olaf Weber  <olaf@infovore.xs4all.nl>
1076
1077         * kpathsea.texi: Version 3.5.2.
1078
1079         * configure.in: Version 3.5.2.
1080
1081         * cnf.c (do_line): KISS: Use IS_ENV_SEP(':') to check whether we
1082         might want to replace ';' with ':' in paths instead of trying to
1083         figure whether 'unix' should have been defined.
1084
1085         * db.c (kpse_db_search_list): Change fix to prevent "re-use" of
1086         aliases for the sake of clearer code.
1087
1088         * db.c: Set aliases to NULL after freeing it, so we don't try to
1089         realloc the same value as well.  Reported by Thomas Esser
1090         <te@dbs.uni-hannover.de>.
1091
1092 2003-02-17  Olaf Weber  <olaf@infovore.xs4all.nl>
1093
1094         * configure.in: Version 3.5.1.
1095
1096         * kpathsea.texi: Version 3.5.1.
1097
1098 2003-02-15  Olaf Weber  <olaf@infovore.xs4all.nl>
1099
1100         * kpathsea.texi: Version 3.5.0.
1101
1102         * configure.in: Version 3.5.0.
1103
1104         * kpathsea.version: removed.
1105
1106         * Makefile.in (dist): Remove kpathsea.version.
1107
1108         * common.ac: From klibtool to libtool.  Based on patches from
1109         Albert Chin-A-Young <china@thewrittenword.com>.
1110
1111         * Makefile.in: From klibtool to libtool.  Based on patches from
1112         Albert Chin-A-Young <china@thewrittenword.com>.
1113
1114         * texmf.in: Add TEXINPUTS.olatex path.
1115
1116         * tex-file.c: Add additional suffixes for formats.
1117
1118         * withenable.ac: When texmfmain is derived from ${prefix}, don't
1119         expand ${prefix}.
1120
1121 2003-02-11  Olaf Weber  <olaf@infovore.xs4all.nl>
1122
1123         * pathsearch.c (search_list): Add some grotty code for the
1124         searches of absolute pathnames.  (Grotty: if _any_ of the given
1125         pathnames is absolute or explicit relative, _and_ it is found, we
1126         stop searching then and there.)  Found by Peter Breitenlohner
1127         <peb@mppmu.mpg.de>.
1128
1129 2003-02-07  Olaf Weber  <olaf@infovore.xs4all.nl>
1130
1131         * kpathsea.version: Version 3.4.6
1132
1133         * kpathsea.texi: Version 3.4.6.
1134
1135         * configure.in: Version 3.4.6.
1136
1137         * texmf.in: Additions for e-Omega.
1138
1139         * tex-file.c (kpse_find_file): Use kpse_path_search_list for
1140         search.
1141
1142         * pathsearch.h (kpse_path_search_list): New function.
1143
1144         * pathsearch.c (dir_list_search_list): New function.
1145         (search_list): New function.
1146         (kpse_path_search_list): New function: search for a list of names,
1147         look for all names in the list in each directory before moving to
1148         the next directory.
1149
1150         * db.h (kpse_db_search_list): New function.
1151
1152         * db.c (kpse_db_search_list): New function.
1153
1154 2003-01-31  Olaf Weber  <olaf@infovore.xs4all.nl>
1155
1156         * lib.h: Add include of c-proto.h.  Suggested by Peter
1157         Breitenlohner.
1158
1159 2003-01-29  Olaf Weber  <olaf@infovore.xs4all.nl>
1160
1161         * kpathsea.version: Version 3.4.5.
1162
1163         * kpathsea.texi: Version 3.4.5.
1164
1165         * configure.in: Version 3.4.5.
1166
1167 2003-01-24  Olaf Weber  <olaf@infovore.xs4all.nl>
1168
1169         * config.h [KPATHSEA]: 33 -> 34.
1170         [DEV_NULL]: Added, "/dev/null" on unix, "NUL" on DOSISH.
1171
1172         * texmf.in [TEXCONFIG]: Remove "." from path for security reasons.
1173
1174 2003-01-16  Olaf Weber  <olaf@infovore.xs4all.nl>
1175
1176         * kpathsea.texi: Version 3.4.4.
1177
1178         * configure.in: Version 3.4.4.
1179
1180         * kpathsea.version: Version 3.4.4.
1181
1182         * unixtex.texi: Updates.
1183
1184 2003-01-14  Olaf Weber  <olaf@infovore.xs4all.nl>
1185
1186         * texmf.in: Uncomment definitions for VARTEXMF, HOMETEXMF.  Change
1187         TEXMF itself to be same as teTeX.  Move '//' outside braces in
1188         XDVIINPUTS and DVIPDFMINPUTS -- not strictly needed, but
1189         consistent with how we do it everywhere else.  Comment out (but
1190         otherwise retain) KPSE_DOT.
1191
1192 2003-01-11  Olaf Weber  <olaf@infovore.xs4all.nl>
1193
1194         * kpathsea.version: Version 3.4.3.
1195
1196         * kpathsea.texi: Version 3.4.3.
1197
1198         * configure.in: Version 3.4.3.
1199
1200 2003-01-08  Olaf Weber  <olaf@infovore.xs4all.nl>
1201
1202         * texmf.in: Add TEXPSHEADERS.dvipdfm, from Thomas.
1203
1204 2002-12-25  Olaf Weber  <olaf@infovore.xs4all.nl>
1205
1206         * tex-file.c (kpse_init_format): Add ".web" to the suffixes
1207         recognized for cweb.
1208
1209 2002-12-23  Olaf Weber  <olaf@infovore.xs4all.nl>
1210
1211         * dir.c (dir_links): Argh.  Error while merging stuff from
1212         Fabrice.
1213
1214         * kpathsea.version: Version 3.4.2.
1215
1216         * configure.in: Version 3.4.2.
1217
1218         * kpathsea.texi: Version 3.4.2.
1219
1220         * tex-make.c (maketex) [WIN32]: Add program calling
1221         implementation.  From Fabrice Popineau
1222         <Fabrice.Popineau@supelec.fr>.
1223
1224         * Makefile.in: Test for kpathsea.info explicitly in current
1225         directory. Some makes prepend the source dir path otherwise, which
1226         would cause installation of the info files to fail.  From Thomas
1227         Esser <te@dbs.uni-hannover.de>.
1228
1229 2002-12-20  Olaf Weber  <olaf@infovore.xs4all.nl>
1230
1231         * configure.in: Version 3.4.1.
1232
1233         * kpathsea.texi: Version 3.4.1.
1234
1235         * kpathsea.version: Version 3.4.1.
1236
1237         * tex-file.c (add_suffixes): Removed function.
1238         (SUFFIXES, ALT_SUFFIXES): Use kpse_set_suffixes instead of
1239         add_suffixes.
1240
1241         * tex-make.c (kpse_make_tex): On second thought, we should not get
1242         dirseps in these names, ever.
1243
1244 2002-12-17  Olaf Weber  <olaf@infovore.xs4all.nl>
1245
1246         * tex-make.c (maketex): Be sure to set ret to NULL if there's
1247         nothing to return.  From Akira Kakuto
1248         <kakuto@fsci.fuk.kindai.ac.jp>.
1249
1250 2002-12-15  Olaf Weber  <olaf@infovore.xs4all.nl>
1251
1252         * tex-file.c: Properly terminate MKTEXPK_ARGS with a NULL.
1253         Spotted by Akira Kakuto <kakuto@fsci.fuk.kindai.ac.jp>.
1254
1255 2002-12-14  Olaf Weber  <olaf@infovore.xs4all.nl>
1256
1257         * kpathsea.texi: Version 3.4.0.
1258
1259         * kpathsea.version: Version 3.4.0.
1260
1261         * configure.in: Version 3.4.0.
1262
1263         * texmf.in: Typo in TEXINPUTS.pdfemex-pl.
1264
1265         * xbasename.c (xbasename): Remove redundant call to strlen.  From
1266         Fabrice.
1267
1268         * tex-make.c (misstex): Update to print command line correctly.
1269         (maketex): Handle argv style array for command.  For unix case, call
1270         fork and exec directly instead of using popen.
1271         (kpse_make_tex): Handle argv style array for defining a command.  Be
1272         very restrictive about what a name passed may contain -- this may
1273         well break somethings.
1274
1275         * tex-file.h (kpse_format_info): Instead of having programs args
1276         be a single string, use an argv style array.
1277
1278         * tex-file.c (init_maketex): Change to store command line as an
1279         array of arguments.
1280         [MKTEXPK_ARGS]: Define list of strings instead of single string.
1281         (kpse_init_format): Update debugging code to match new
1282         kpse_format_info structure.
1283
1284         * progname.c [WIN32]: Updates from Fabrice.
1285
1286         * pathsearch.h: Typo in comment.
1287
1288         * pathsearch.c: Typo in comment.
1289
1290         * kpsewhich.c: Correct copyright notice.
1291
1292         * hash.c (hash_normalized): New function.
1293         (hash_insert_normalized): New function.
1294         [MONOCASE_FILENAMES]: Normalize to lower case, not upper case, because
1295         that's what in the ls-R files we distribute.
1296
1297         * fontmap.c (map_file_parse): Use hash_insert_normalized.  Again,
1298         we assume the contents of font maps are already normalized.
1299
1300         * expand.c (kpse_expand_kpse_dot): Typo in comment.
1301         (brace_expand): Clarify the comment.
1302
1303         * dir.c (dir_p) [WIN32]: safe_beg_of_path -> kpse_normalize_path.
1304         From Fabrice.
1305         (dir_links) [WIN32]: Changes to code that stores and retrieves
1306         integers from pointers.
1307
1308         * db.c (db_build): Call hash_insert_normalized -- names from the
1309         ls-R file should be normalized already.
1310         (alias_build): Call hash_insert_normalized -- names from the alias
1311         file should be normalized already.
1312         (kpse_db_insert): Note that we call hash_insert here deliberately.
1313
1314         * hash.h (hash_insert_normalized): New function.
1315
1316         * concat.c (concat): Start strcat at the end of the previous
1317         strcpy.
1318
1319         * absolute.c (kpse_absolute_p) [WIN32]: Remove explicit test for
1320         UNC names, they're already covered by the test for names starting
1321         with IS_DIR_SEP.
1322         [TEST] (main): Added, from Fabrice.
1323
1324 2002-11-13  Olaf Weber  <olaf@infovore.xs4all.nl>
1325
1326         * kpathsea.version: To 3.3.11.
1327
1328         * kpathsea.texi: To 3.3.11.
1329
1330         * configure.in: To 3.3.11.
1331
1332 2002-11-12  Olaf Weber  <olaf@infovore.xs4all.nl>
1333
1334         * cnf.c (do_line): First check whether len-1 exists, then access
1335         it, rather than the other way round.  Spotted by Joern Clausen
1336         <joern@techfak.uni-bielefeld.de>.
1337
1338         * texmf.in: obj_tab_size.context is now redundant.  From Thomas.
1339
1340         * mktextfm: Use the same detection mechanism for mf-nowin as
1341         mktexpk.  From Thomas.
1342
1343 2002-11-11  Olaf Weber  <olaf@infovore.xs4all.nl>
1344
1345         * kpathsea.version: Version 3.3.10.
1346
1347         * kpathsea.texi: Version 3.3.10.
1348
1349         * configure.in: Version 3.3.10.
1350
1351         * texmf.in: Disable parse_first_line by default (sorry).  Enlarge
1352         a number of constants in general, as opposed to defining lots of
1353         context-specific versions.
1354
1355         * progname.c (remove_dots): We did not correctly handle paths with
1356         ../.. in them.  There is still one corner case left, if the path
1357         would try to go to the "parent" of the root directory.
1358
1359         * mktextfm: Test for mf-nowin in a shubshell.  Otherwise error
1360         messages could end up being printed if mf-nowin does not exist.
1361
1362         * mktexpk: Test for mf-nowin in a subshell.
1363
1364 2002-10-25  Olaf Weber  <olaf@infovore.xs4all.nl>
1365
1366         * kdefault.c (kpse_expand_default): Simplify the life of the
1367         callers by always returning allocated memory, so the returned
1368         string can be freed.  John W. Eaton <jwe@bevo.che.wisc.edu>
1369         requested this.
1370
1371 2002-10-22  Olaf Weber  <olaf@infovore.xs4all.nl>
1372
1373         * withenable.ac: Correct handling of mktexfmt option.
1374
1375         * tex-file.c: Add .oft to regcognized suffixes for tex_format.
1376
1377         * mktexupd: Correct Thomas' email address.
1378
1379         * mktextfm: Correct Thomas' email address.
1380
1381         * mktexpk: Correct Thomas' email address.
1382
1383         * mktexnam.opt: Correct Thomas' email address.
1384
1385         * mktexnam: Correct Thomas' email address.
1386
1387         * mktexmf: Correct Thomas' email address.
1388
1389         * mktexlsr: Correct Thomas' email address.
1390
1391         * mktexdir.opt: Correct Thomas' email address.
1392
1393         * mktexdir: Correct Thomas' email address.
1394
1395         * mktex.opt: Correct Thomas' email address.
1396
1397         * kpathsea.version: Update to 3.3.9.
1398
1399         * kpathsea.texi: Update to 3.3.9.
1400
1401         * configure.in: Update to 3.3.9.
1402
1403         * common.ac: Correct handling of mktexmft option.
1404
1405 2002-10-16  Olaf Weber  <olaf@infovore.xs4all.nl>
1406
1407         * tex-make.c (kpse_make_tex): Move the test for problematic
1408         filenames so we only do this when we're actually willing to make a
1409         new file.
1410
1411 2002-10-11  Olaf Weber  <olaf@infovore.xs4all.nl>
1412
1413         * kpathsea.texi: Update date/version to 3.3.8.
1414
1415         * NEWS: Update for 3.3.8.
1416
1417         * configure.in: Version 3.3.8.
1418
1419         * kpathsea.version: Version 3.3.8.
1420
1421         * Makefile.in: Remove install rules for mktexfmt, as it is not a
1422         separate file.
1423
1424 2002-10-06  Olaf Weber  <olaf@infovore.xs4all.nl>
1425
1426         * texmf.in: Expand main_memory (again).
1427
1428         * xstat.c: Remove lstat() declaration.
1429
1430         * variable.c (kpse_var_value): Check for NAME.progname in the
1431         environment before checking for NAME_progname.  Both can occur,
1432         even on UNIX systems.
1433
1434         * tex-file.c (init_path): We need to check PATH.progname,
1435         PATH_programe, and PATH in the environment.  PATH.progname is the
1436         "logical" way to set the name on Windows systems, and can even
1437         occur on UNIX systems if env(1) is used to set the environment
1438         variables.
1439
1440         * withenable.ac: Add --with-mktexfmt-default option.  After
1441         Fabrice Popineau.  He used --with-mkfmt-default, but this was
1442         changed to match the other options.
1443
1444         * texmf.in: Add XDVIINPUTS, TEXINPUTS.pdfamstex.  Modiy definition
1445         of TEXMFLOCAL to match Thomas', add MKTEXFMT.  All part of the
1446         TeXlive merge.
1447
1448         * tex-make.c (kpse_make_tex): Complain if a number of problematic
1449         characters are found in the requested font name -- this works in
1450         combination with a check in maketex() to prevent misuse of the
1451         system() call that starts the mktex* scripts.
1452
1453         * tex-file.c (kpse_init_format): Support for mktexfmt, from
1454         Fabrice Popineau.
1455
1456         * mktexupd: Delete CR characters at the end-of-line before doing
1457         the compare.  Yet another hack for windows/unix cross-platform
1458         support.
1459
1460         * mktextfm: TeXlive merge: support for mf-nowin.
1461
1462         * mktexpk: TeXlive merge: considerably reorganized to support use
1463         of mf-nowin.
1464
1465         * mktexnam: Additional definitions for the LH fonts.  TeXlive
1466         merge.
1467
1468         * mktexmf: Additional definitions for the LH fonts.  TeXlive
1469         merge.
1470
1471         * common.ac: Add support for MAKE_TEX_FMT.  From Fabrice Popineau.
1472
1473         * acconfig.h [MAKE_TEX_FMT_BY_DEFAULT] Added. After Fabrice
1474         Popineau.
1475
1476 2002-07-16  Olaf Weber  <olaf@infovore.xs4all.nl>
1477
1478         * kpsewhich.c (find_format): Remove special case for pdftex.cfg.
1479         Not needed.
1480
1481         * kpsewhich.c (find_format): Hard-code format types for pdftex.cnf
1482         and pdftex.map.
1483
1484 2002-07-08  Olaf Weber  <olaf@infovore.xs4all.nl>
1485
1486         * mktex.opt: Limit permissions on $TEMPDIR.
1487
1488         * mktexlsr: Limit permissions on tmp directory.
1489
1490 2002-06-04  Olaf Weber  <olaf@infovore.xs4all.nl>
1491
1492         * texmf.in: Remove setting of src_specials: it will be ignored
1493         anyway as we'll only allow it to be set from the command line.
1494
1495 2002-05-28  Olaf Weber  <olaf@infovore.xs4all.nl>
1496
1497         * mktexdir: Guard $KPSE_DOT with quotes.  From Emmanuel_Thomé
1498         <thome@lix.polytechnique.fr>.
1499
1500 2002-04-01  Olaf Weber  <olaf@infovore.xs4all.nl>
1501
1502         * mktexlsr: Strip a trailing CR before testing the first line of
1503         an ls-R file.  Needed for interoperability with Windows (sigh).
1504
1505         * tex-make.c (maketex): Use a literal "r" in the popen command, as
1506         (under UNIX) it tends not to understand "rb", and we're generating
1507         text anyway.
1508
1509 2001-11-27  Olaf Weber  <olaf@infovore.xs4all.nl>
1510
1511         * kpathsea.texi: Version 3.3.7.
1512
1513         * configure.in: Version 3.3.7.
1514
1515 2001-11-25  Olaf Weber  <olaf@infovore.xs4all.nl>
1516
1517         * types.h: Define boolean as int whenever we can.  This makes the
1518         option-handling code correct (where pointer to int and pointer to
1519         boolean need to be the same type).
1520
1521         * install.texi: Update totals to (hopefully) more accurate values.
1522
1523 2001-11-19  Olaf Weber  <olaf@infovore.xs4all.nl>
1524
1525         * line.c (read_line): Add prototype.
1526
1527 2001-11-18  Olaf Weber  <olaf@infovore.xs4all.nl>
1528
1529         * kpathsea.version: Version 3.3.6.
1530
1531         * kpathsea.texi: Version 3.3.6.
1532
1533         * configure.in: Version 3.3.6.
1534
1535         * xgetcwd.c: Changes to keep C++ compilers from choking.
1536
1537         * xdirname.c: Changes to keep C++ compilers from choking.
1538
1539         * variable.c: Changes to keep C++ compilers from choking.
1540
1541         * str-list.c: Changes to keep C++ compilers from choking.
1542
1543         * readable.c: Add pathsearch.h to included headers, for
1544         kpse_normalize_path.
1545
1546         * pathsearch.c: Changes to keep C++ compilers from choking.
1547
1548         * path-elt.c: Changes to keep C++ compilers from choking.
1549
1550         * make-suffix.c: Changes to keep C++ compilers from choking.
1551
1552         * line.c: Changes to keep C++ compilers from choking.
1553
1554         * kpsewhich.c: Changes to keep C++ compilers from choking.
1555
1556         * kdefault.c: Changes to keep C++ compilers from choking.
1557
1558         * fontmap.c: Changes to keep C++ compilers from choking.
1559
1560         * fn.h (fn_grow): Second argument is a const_string, not a generic
1561         address.
1562
1563         * fn.c (fn_grow): Second argument is a const_string, not generic
1564         address.
1565
1566         * expand.c: Add a few casts to ensure a C++ compiler wouldn't
1567         choke.
1568
1569         * dir.c (dir_links): Replace a conditional expression with an
1570         if-then version.
1571
1572         * db.c: Add a few casts, rename 'try', all to ensure a C++
1573         compiler wouldn't choke.
1574
1575         * cnf.c: Add a few casts, rename 'try', all to ensure a C++
1576         compiler wouldn't choke.
1577
1578         * c-proto.h: Addtional P*H and P*C macros for functions with up to
1579         17 arguments.
1580
1581 2001-11-14  Olaf Weber  <olaf@infovore.xs4all.nl>
1582
1583         * readlink.c (main): Add prototype.
1584
1585         * kpsewhich.c (main): Add prototype.
1586
1587         * kpsestat.c (main): Add protype.
1588
1589         * c-pathch.h [WIN32] (IS_UNC_NAME): An unc name can be //<digit>
1590         as well as //<letter>.
1591
1592         * access.c (main): Prototype.
1593
1594 2001-11-10  Olaf Weber  <olaf@infovore.xs4all.nl>
1595
1596         * kpathsea.version: Version 3.3.5.
1597
1598         * kpathsea.texi: Version, date.
1599
1600         * configure.in: Version 3.3.5.
1601
1602         * texmf.in: Additional entries for mex-pl, platex-pl, pdfplatex,
1603         pdfmex-pl, pdfemex, pdfemex-pl.  As usual, ConTeXt wants more
1604         space.
1605
1606         * mktexnam: First set defaults, then modify for explicit
1607         destination, not the reverse.  From Thomas.
1608
1609         * mktex.opt: Preserve return code over trap.  From Thomas.
1610
1611         * kpsewhich.man: Typo.
1612
1613 2001-10-30  Olaf Weber  <olaf@infovore.xs4all.nl>
1614
1615         * configure.in: To 3.3.4.
1616
1617         * kpathsea.version: To 3.3.4.
1618
1619         * mktexnam.opt: Robustness fix for handling of NAME.  Minor
1620         changes in the handling of the defaults when a name isn't found in
1621         the supplier or typeface maps.
1622
1623         * tex-file.c: Add ".ch" as alternate suffix for kpse_web_format
1624         and kpse_cweb_format.
1625
1626         * readable.c [main]: Call kpse_normalize_path.
1627
1628         * progname.c [WIN32]: Update from Fabrice.
1629
1630         * pathsearch.h [WIN32]: Remove prototype for safe_beg_of_path.
1631         Add prototype for kpse_normalize_path.
1632
1633         * pathsearch.c (path_search) [WIN32]: Remove call to
1634         safe_beg_of_path.
1635         (path_search): Add call to kpse_normalize_path.
1636
1637         * expand.c (kpse_path_expand): Don't strip devices and such here,
1638         as we're doing that in kpse_element_dirs anyway.
1639
1640         * elt-dirs.c [WIN32]: Remove safe_beg_of_path.
1641         (kpse_normalize_path): Replaces safe_beg_of_path, but is defined on
1642         all architectures.
1643
1644         * dir.c [WIN32]: Remove safe_beg_of_path prototype here.
1645
1646         * common.ac: Test whether libm exists.  If it does, we
1647         unconditionally link with it, which is probably wrong.
1648
1649         * cnf.c [__NetBSD__]: Define unix.
1650
1651         * c-pathch.h [IS_UNC_NAME]: Define on all architectures.
1652
1653         * Makefile.in (distdir): Add *.ftp to destination directory.
1654
1655 2001-09-26  Olaf Weber  <olaf@infovore.xs4all.nl>
1656
1657         * texmf.in: Add support for Web and Cweb files (kpse_web_format,
1658         kpse_cweb_format).  Requested by Wlodek Bzyl.
1659
1660         * tex-file.h, tex-file.c: Add support for Web and Cweb files
1661         (kpse_web_format, kpse_cweb_format).  Requested by Wlodek Bzyl.
1662
1663 2001-07-23  Olaf Weber  <olaf@infovore.xs4all.nl>
1664
1665         * common.ac [kb_cv_func_putenv_malloc]: Add declaration for
1666         malloc, which testing on IA64 revealed to be missing.
1667
1668 2000-08-25  Olaf Weber  <olaf@infovore.xs4all.nl>
1669
1670         * mktexlsr: Changed the fix for NeXT.
1671
1672 2000-08-05  Olaf Weber  <olaf@infovore.xs4all.nl>
1673
1674         * kpathsea.texi: Bump version, date.
1675
1676         * kpathsea.version: Bump version.
1677
1678         * configure.in: Update for 3.3.3.
1679
1680         * NEWS: Update for 3.3.3.
1681
1682         * mktexlsr: On NeXT, 'rm -rf ' will recursively remove the current
1683         directory.  This is bad if you're in / and are root.
1684
1685 2000-05-25  Olaf Weber  <olaf@infovore.xs4all.nl>
1686
1687         * lib.h [MONOCASE_FILENAMES]: Parenthesis was omitted in
1688         FILESTRNCASEEQ.  Found by Fabrice.
1689
1690 2000-04-26  Olaf Weber  <olaf@infovore.xs4all.nl>
1691
1692         * unixtex.texi: Added notes that web2c is bare-bones, and that the
1693         texk/texklib packages may contain older components.
1694
1695 2000-04-21  Olaf Weber  <olaf@infovore.xs4all.nl>
1696
1697         * progname.c: Add P?C macros to functions that lacked them.
1698
1699         * lib.h [STREQ,STRNEQ,FILESTRCASEEQ,FILESTRNCASEEQ]: If any
1700         argument is NULL, compare unequal.
1701
1702 2000-04-13  Olaf Weber  <olaf@infovore.xs4all.nl>
1703
1704         * tex-hush.c (kpse_tex_hush): Check for "all" and "none" first,
1705         then look for more specific switches.  This fixes the most common
1706         case of problems due to non-reentrancy of kpse_path_element.
1707
1708         * kpathsea.texi: Correct example of brace expansion.  Document
1709         TEX_HUSH = none.  Found by Tijs Michels <M.H.M.Michels@kub.nl>.
1710
1711         * texmf.in: Document the use of TEX_HUSH = none.
1712
1713 2000-04-03  Olaf Weber  <olaf@infovore.xs4all.nl>
1714
1715         * texmf.in: Add variable for src_specials.  Increase arrays for
1716         context (again).
1717
1718         * xopendir.c [WIN32]: Only define xclosedir.
1719
1720         * kpsewhich.man: Spelling correction.
1721
1722         * getopt.h [WIN32]: For definition of __STDC__ to 1.
1723
1724 2000-04-02  Olaf Weber  <olaf@infovore.xs4all.nl>
1725
1726         * xopendir.c [WIN32]: Define neither xopendir nor xclosedir.  From
1727         Han The Thanh <thanh@informatics.muni.cz>.
1728
1729         * xputenv.c (xputenv): The WIN32 conditional code is also valid
1730         for DJGPP.  From Fabrice.
1731
1732         * xmalloc.c (xmalloc): Allocate 1 byte if passed size 0.
1733
1734         * xdirname.c (xdirname): Changes for Win32 from Fabrice.
1735
1736         * tex-file.h: Prototype for kpse_set_suffixes.  From Fabrice.
1737
1738         * tex-file.c (kpse_set_suffixes): New function, added by Fabrice.
1739
1740         * readable.c: Win32-related changes from Fabrice.
1741
1742         * progname.c [WIN32]: Various changes from Fabrice.
1743
1744         * pathsearch.h [WIN32]: Declare safe_beg_of_path.  From Fabrice.
1745
1746         * pathsearch.c (path_search [WIN32]): Use safe_beg_of_path.  From
1747         Fabrice.
1748
1749         * kpsestat.c: Remove WIN32 define.  From Fabrice.
1750
1751         * hash.c [MONOCASE_FILENAMES]: Change for the WIN32 case from
1752         Fabrice.
1753
1754         * getopt.h [WIN32]: Changes from Fabrice.
1755
1756         * getopt.c [WIN32 && ! __CYGWIN32__]: Ensure getpid is not defined
1757         before defining it.  From Fabrice.
1758
1759         * lib.h: Update dir_links prototype, from Fabrice.
1760
1761         * elt-dirs.c: Win32 related changes from Fabrice.
1762
1763         * dir.c: Various Win32-related changes from Fabrice.
1764
1765         * config.h: Various changes for the DOS famility of systems.  From
1766         Fabrice.
1767
1768         * c-stat.h [WIN32]: Use oldnames.h instead of kpathsea/win32lib.h.
1769         From Fabrice.
1770
1771         * c-proto.h [WIN32]: _DLL -> KPSE_DLL, from Fabrice Popineau.
1772
1773         * c-memstr.h: Move closer to just the ANSI string functions, if
1774         necessary defined in terms of the BSD functions.  After Thomas
1775         Esser <te@informatik.uni-hannover.de>.
1776
1777         [FOPEN_RBIN_MODE, FOPEN_WBIN_MODE, FOPEN_ABIN_MODE]: Specify
1778         binary I/O mode on all systems, not just those where it makes a
1779         difference.
1780         [VMCMS]: Remove as it isn't used.
1781         [SET_BINARY]: Change defines which select it.  From Fabrice
1782         Popineau. <popineau@esemetz.ese-metz.fr>
1783
1784         * c-ctype.h [WIN32]: On Windows, get isascii from oldnames.h.
1785         After Fabrice Popineau <popineau@esemetz.ese-metz.fr>.
1786
1787         * access.c: Replace WIN32 code with generic code.
1788
1789 2000-01-31  Olaf Weber  <olaf@infovore.xs4all.nl>
1790
1791         * mktexlsr: Fix possible symlink exploit.  By Thomas Esser
1792         <te@informatik.uni-hannover.de>.
1793
1794 1999-06-28  Olaf Weber  <olaf@infovore.xs4all.nl>
1795
1796         * mktextfm: Get rid of error message if hbf2gf cannot be found.
1797         From Thomas.
1798
1799         * tex-glyph.c: Test whether glyph_file is NULL before
1800         dereferencing it.  Suggested by Julian Gilbey
1801         <J.D.Gilbey@qmw.ac.uk>.
1802
1803         * texmf.in: Improved comments about VARTEXMF, along lines
1804         suggested by Thomas Esser.
1805         Increased font_mem_size, as requested by Thomas.
1806
1807         * pathsearch.c (path_search): Print a message if we're debugging
1808         the search and we're not pounding the disk because an ls-R file
1809         exists but must_exist=0.  This to highlight the most confusing
1810         case where disk searches do not happen.
1811
1812         * mktextfm.man: Cleanup of synopsis.
1813
1814         * mktex.opt: More robust handling of TEMPDIR, after Luc Van Eycken
1815         <Luc.VanEycken@esat.kuleuven.ac.be>.
1816
1817         * kpsestat.man: Remove comment about unclear message.
1818
1819         * kpsestat.c (main): Print a more understandable message when the
1820         stat call fails.
1821
1822 1999-06-20  Olaf Weber  <olaf@infovore.xs4all.nl>
1823
1824         * pathsearch.c (log_search): If TEXMFLOG is defined, then the
1825         kpathsea library would write a space to stderr for every file
1826         logged.  Fix from Charles Karney <karney@pppl.gov>.
1827
1828 1999-05-29  Olaf Weber  <olaf@infovore.xs4all.nl>
1829
1830         * configure.in: Update version number to 3.3.1.
1831
1832         * kpathsea.version: Update version number to 3.3.1.
1833
1834         * kpathsea.texi: Update version info.
1835
1836         * mktexnam, mktexmf: Fix the LH patterns to be more specific.
1837         From Thomas.
1838
1839         * unixtex.texi: Remove node on tape distributions.
1840
1841         * texmf.in: Add platex, add comment about TEXMFDBS.
1842
1843         * tex-file.c (kpse_find_file): Fix off-by-one in tests for suffix
1844         length.
1845
1846         * pathsearch.c (log_search): Fix problem with debugging output.
1847
1848         * mktextfm: Order of options to hbf2gf turns out to matter.
1849
1850         * mktexpk: Updates from Thomas: don't remove generated fonts
1851         because of bad pos errors; better handling of type1 fonts.
1852
1853         * mktexnam: Updates from Thomas for Czech fonts.  Consult fontmaps
1854         if a fonts fell into unknown/unknown.
1855
1856         * mktexmf: Updates from Thomas for Czech fonts.
1857
1858         * mktexdir: Small fix from Julian Gilbey.
1859
1860         * cnf.c: Apple's MacOsX is also unix-like.
1861
1862         * access.c: Parametrise the help string as in readlink.c.
1863
1864         * Makefile.in: Use INSTALL_DATA, not INSTALL_SCRIPT, for the *.opt
1865         files.
1866
1867         * AUTHORS: Update accounts for MakeTeX scripts and expand.c.
1868
1869         * c-memstr.h: Don't declare strstr if strstr is already a define.
1870         Suggested by Paul Vojta <vojta@math.berkeley.edu>.
1871
1872         * readlink.c: Corrected a bug in the help string (wrong program
1873         name), reported by several people.
1874
1875 1999-03-26  Olaf Weber  <olaf@infovore.xs4all.nl>
1876
1877         * kpathsea.version: Set MINOR to 3.
1878
1879         * configure.in: Bumped KPSEVERSION to 3.3.
1880
1881 1999-03-23  Olaf Weber  <olaf@infovore.xs4all.nl>
1882
1883         * texmf.in: More changes from Thomas, add MISCFONTS for
1884         kpse_miscfonts_format.
1885
1886         * tex-file.c: Implement kpse_miscfonts_format.
1887
1888         * tex-file.h: New format: kpse_miscfonts_format, to be used for
1889         small sets of fonts for which no real type has been defined.
1890
1891         * mktextfm: Add support for hbf fonts.  (From Werner Lemberg.)
1892
1893         * withenable.ac: Remove implementation of some --with-* options.
1894
1895         * common.ac: Move implementation of some --with-* options here
1896         from withenable.ac, so the latter can be included elsewhere with
1897         kpathsea's acconfig.h or derivatives being seen.
1898
1899 1999-03-17  Olaf Weber  <olaf@infovore.xs4all.nl>
1900
1901         * texmf.in: Size increases for context, requested by Hans Hagen.
1902
1903         * texmf.in: Update from Thomas.
1904
1905         * Makefile.in: TEXMF_CNF -> VARTEXMF
1906
1907         * mktexmf: Small fix to a case statement from Berthold Höllmann
1908         <bhoel@starship.python.net>.
1909
1910 1999-03-15  Olaf Weber  <olaf@infovore.xs4all.nl>
1911
1912         * win32lib.h: Patch from Fabrice.
1913
1914         * variable.c (kpse_var_value, expand): Handle the VAR_progname
1915         construct.  After Julian Gilbey <jdg@maths.qmw.ac.uk>.
1916
1917         * tex-file.c: Fixes to the code that forces an update of the
1918         paths.  After Julian Gilbey <jdg@maths.qmw.ac.uk>.
1919
1920         * mktexmf: Changes to support CB font family.  From Kimon
1921         Kontovasilis <kimon@cyclades.nrcps.ariadne-t.gr>.
1922
1923         * kpathsea.texi: Update address info of TUG.
1924
1925         * config.h: Remove outdated comment, explicitly include
1926         kpathsea/c-auto.h.
1927
1928         * cnf.c (do_line): Correct comment, remove unused code.
1929         (read_all_cnf): Strip trailing whitespace.
1930         (kpse_cnf_get): Fix memory leak.
1931         After Julian Gilbey <jdg@maths.qmw.ac.uk>.
1932
1933         * acconfig.h: We no longer use this for all kpathsea using
1934         programs, just kpathsea itself.  Thus the WEB2CVERSION macro goes,
1935         as does other stuff that belongs to web2c or xdvik.
1936
1937         * Makefile.in: Allow the c-auto.h file to be installed.
1938
1939 1999-02-18  Olaf Weber  <olaf@infovore.xs4all.nl>
1940
1941         * mktex.opt: Document nomfdrivers option.
1942
1943         * mktextfm: Implement nomfdrivers option.
1944
1945         * mktexpk: Implement nomfdrivers option.
1946
1947         * install.texi: Document new option: nomfdrivers.
1948
1949         * kpsewhich.man: Document how search parts are determined.
1950
1951         * mktexlsr: Really skip empty components.  From Thomas.
1952
1953         * tex-file.c (kpse_reset_program_name): Don't free the old paths,
1954         they may not have been allocated on the heap.
1955
1956 1999-02-16  Olaf Weber  <olaf@infovore.xs4all.nl>
1957
1958         * tex-file.c (kpse_reset_program_name): Ensure that when the
1959         program name changes, the various paths will indeed be updated.
1960
1961 1999-02-14  Olaf Weber  <olaf@infovore.xs4all.nl>
1962
1963         * mktexupd: Fix test whether argument is a directory name.  From
1964         Thomas.
1965
1966         * mktexlsr: Skip empty components.
1967
1968         * mktexnam.opt: This file is supposed to be sourced, not executed,
1969         so remove the #!.  From Thomas.
1970
1971         * mktexdir.opt: This file is supposed to be sourced, not executed,
1972         so remove the #!.  From Thomas.
1973
1974         * mktex.opt: This file is supposed to be sourced, not executed, so
1975         remove the #!.  From Thomas.
1976
1977         * config.h: Make sure c-auto.h is included before win32lib.h,
1978         which needs definitions from the former.
1979
1980 1999-02-06  Olaf Weber  <olaf@infovore.xs4all.nl>
1981
1982         * win32lib.h: Add pragma warning, for the S_* defines, only define
1983         them if they are not defined already.
1984
1985         * pathsearch.h (kpse_all_path_search): Add KPSEDLL, from Fabrice.
1986
1987         * debug.h (fclose): Add KPSEDLL, from Fabrice.
1988
1989         * config.h [WIN32]: Remove pragma warning.  From Fabrice.
1990
1991 1999-02-04  Olaf Weber  <olaf@infovore.xs4all.nl>
1992
1993         * withenable.ac: Rename AR_OPTS to ARFLAGS.
1994
1995         * texmf.in: Cleanup of semicolon/comma.  Remove the double slash
1996         between 'fonts' and its subdirs.  Sites using pseudo-TDS will have
1997         to add these by hand from now on.
1998
1999         * tex-file.c (init_path, add_suffixes): Remove __cdecl, from
2000         Fabrice.
2001
2002         * mktexmf: Special cases for 30 and 36 points, as requested by the
2003         sauter mainainer Jeroen Nijhof <J.H.B.Nijhof@aston.ac.uk>.
2004
2005         * kpsewhich.c (main): Remove __cdecl, from Fabrice.
2006
2007         * kpsestat.c (main): Remove __cdecl, from Fabrice.
2008
2009         * install.texi: The +u flag is no longer recommended for HP-UX.
2010
2011         * getopt.h [!WIN32]: Remove define of __cdecl, from Fabrice.
2012
2013         * elt-dirs.c (safe_beg_of_path): Change return type to unsigned
2014         int, because other functions expect this.
2015
2016         * concatn.c (concatn): Remove __cdecl, from Fabrice.
2017
2018         * common.ac: sinclude from ../texk now, from Thomas.
2019
2020         * c-proto.h [!WIN32]: Removed define of __cdecl, from Fabrice.
2021
2022         * access.c (main): Removed __cdecl, from Fabrice.
2023
2024 1999-01-27  Olaf Weber  <olaf@infovore.xs4all.nl>
2025
2026         * xputenv.c (xputenv) [WIN32]: Don't free old value, ever.
2027
2028         * win32lib.h: Fixes by Fabrice.
2029
2030         * win32lib.c: Fixes by Fabrice.
2031
2032         * version.c (kpathsea_version_string, kpse_bug_address): Add
2033         KPSEDLL, by Fabrice.
2034
2035         * variable.h (kpse_var_value, kpse_var_expand): Add KPSEDLL, by
2036         Fabrice.
2037
2038         * texmf.in: Change path separators back to commas, use semicolon
2039         instead of colon, correct TEXINPUTS for the pdfeTeX family,
2040         TEXPSHEADERS for the pdfTeX family.  By Thomas Esser.
2041
2042         * tex-make.h (kpse_make_tex_discard_errors): Add KPSEDLL, by
2043         Fabrice.
2044
2045         * tex-make.c (maketex): Add cast to shup up a compiler.  From
2046         Fabrice.
2047
2048         * tex-hush.h (kpse_tex_hush): Add KPSEDLL, by Fabrice.
2049
2050         * tex-glyph.h (kpse_find_glyph, kpse_bitmap_tolerance): Add
2051         KPSEDLL, by Fabrice.
2052
2053         * tex-glyph.c (try_resolution): Add casts to quiet a compiler.
2054         From Fabrice.
2055
2056         * tex-file.h (kpse_fallback_resolutions_string, kpse_format_info,
2057         kpse_set_program_enabled, kpse_maketex_option, kpse_init_format,
2058         kpse_find_file, kpse_open_file, kpse_reset_program_name): Add
2059         KPSEDLL, by Fabrice.
2060
2061         * tex-file.c (init_path, add_suffixes): Add __cdecl, by Fabrice.
2062         (kpse_init_format): Correct definition of "other ... files" to take
2063         different path separators into account.  After Fabrice.
2064
2065         * str-list.c (str_list_concat_elements): Make loop indices
2066         unsigned to quiet compilers.  By Fabrice.
2067
2068         * readable.h (kpse_readable_file): Add KPSEDLL, by Fabrice.
2069
2070         * readable.c [WIN32] (kpse_readable_file): Many changes by
2071         Fabrice.
2072
2073         * progname.h (program_invocation_name,
2074         program_invocation_short_name, kpse_program_name,
2075         kpse_set_program_name, kpse_set_progname): Add KPSEDLL, by
2076         Fabrice.
2077
2078         * progname.c: Remove my_dirname function, which returns in its own
2079         file renamed to xdirname.  From Fabrice.
2080         (kpse_set_program_name) [WIN32]: Close handle.  By Fabrice.
2081
2082         * proginit.h (kpse_init_prog): Add KPSEDLL, by Fabrice.
2083
2084         * pathsearch.h (kpse_path_element, kpse_element_dirs,
2085         kpse_path_search): Add KPSEDLL, by Fabrice.
2086
2087         * pathsearch.c (path_search): We now strip devices in the caller.
2088         From Fabrice.
2089
2090         * magstep.h (kpse_magstep_fix): Add KPSEDLL, by Fabrice.
2091
2092         * magstep.c (magstep, kpse_magstep_fix): Casts to quiet an unruly
2093         compiler.  Added by Fabrice.
2094
2095         * line.h (read_line): Add KPSEDLL, by Fabrice.
2096
2097         * lib.h (concat, concat3, xstrdup, uppercasify, atou, same_file_p,
2098         xbasename, find_suffix, remove_suffix, make_suffix, make_prefix,
2099         extend_filename, xputenv, xputenv_int, xgetcwd,dir_p, dir_links,
2100         xfopen, xfclose, xfseek, xftell, xmalloc, xrealloc, xcalloc): Add
2101         KPSEDLL, by Fabrice.
2102         (xdirname): New function, by Fabrice.
2103
2104         * kpsewhich.c (read_command_line): Add KPSEDLL to external
2105         functions, by Fabrice.
2106         (main): Add __cdecl, by Fabrice.
2107
2108         * kpsestat.c (main): Add __cdecl, by Fabrice.
2109
2110         * hash.h (hash_table_type, hash_insert, hash_remove, hash_lookup):
2111         Add KPSEDLL, by Fabrice.
2112
2113         * hash.c [WIN32]: Different implementation of TRANSFORM, for speed
2114         reasons.  From Fabrice.
2115
2116         * getopt.h: Changes for KPSEDLL, by Fabrice.
2117
2118         * fn.h (fn_init, fn_copy0, fn_free, fn_1grow, fn_grow,
2119         fn_str_grow, fn_shrink_to): Add KPSEDLL, by Fabrice.
2120
2121         * expand.h (kpse_expand, kpse_brace_expand, kpse_path_expand): Add
2122         KPSEDLL, by Fabrice.
2123
2124         * elt-dirs.c (safe_beg_of_path): New function by Fabrice.  Used to
2125         strip device from a path before feeding it to expand_elt.
2126         (kpse_element_dirs): Call safe_beg_of_path.
2127
2128         * debug.h (kpathsea_debug, fopen): Add KPSEDLL, by Fabrice.
2129
2130         * db.h (kpse_db_insert): Add KPSEDLL, by Fabrice.
2131
2132         * config.h [WIN32]: Add pragma to quiet some warnings.  From
2133         Fabrice.
2134
2135         * concatn.h (concatn): Add KPSEDLL.  From Fabrice.
2136
2137         * concatn.c (concatn): Add __cdecl.  From Fabrice.
2138
2139         * cnf.h (kpse_cnf_get): Add KPSEDLL.  From Fabrice.
2140
2141         * c-std.h: Don't include math.h if we're seen be a C++ compiler.
2142         From Fabrice.
2143
2144         * c-proto.h [WIN32]: Instead of defining DllImport, define
2145         KPSEDLL.  This change makes building shared libraries on windows
2146         systems work better.  From Fabrice.
2147
2148         * c-pathch.h [WIN32]: IS_UNC_NAME macro added by Fabrice.
2149
2150         * access.c (main): Add __cdecl, from Fabrice.
2151
2152         * absolute.h (kpse_absolute_p): Add KPSEDLL, from Fabrice.
2153
2154         * Makefile.in: Account for the addition of xdirname.c.
2155
2156 1999-01-24  Olaf Weber  <olaf@infovore.xs4all.nl>
2157
2158         * texmf.in: Add support for pdfeTeX.
2159
2160         * mktexpk: Correct typo: ps_topk -> ps_to_pk.
2161
2162         * mktexnam: New version from Thomas.
2163
2164         * mktexmf: Update for cs* fonts from Thomas.
2165
2166         * kpathsea.texi: Update section on brace expansion.  Decided to
2167         keep the comma.
2168
2169         * db.c (kpse_db_insert): Replace basename with xbasename.
2170
2171 1999-01-19  Olaf Weber  <olaf@infovore.xs4all.nl>
2172
2173         * kpsestat.c (main): Replace use of S_IFMT with an octal literal.
2174
2175 1999-01-14  Olaf Weber  <olaf@infovore.xs4all.nl>
2176
2177         * texmf.in: Remove open_any, add openout_any, openin_any.
2178
2179         * str-list.h: Add prototype for str_list_concat_elements.
2180
2181 1999-01-10  Olaf Weber  <olaf@infovore.xs4all.nl>
2182
2183         * mktextfm: Implement --foo=bar style options.  From Thomas.
2184
2185         * mktexpk: Implement --foo=bar options, by Thomas.  Changes for
2186         new version of gsftopk.  Changes to handle ttf2pk.  From Thomas.
2187
2188         * xt.ac: Remove AC_PATH_XTRA here.
2189
2190         * withenable.ac: Changes to aid cross-compiling.  Minor fixes.
2191
2192         * unixtex.texi: Correct tug email address.  Minor corrections.
2193
2194         * texmf.in: Minor changes, additions for context.  From Thomas.
2195
2196         * tex-file.h: Use size in declaration of kpse_format_info.  From
2197         Fabrice.
2198
2199         * tex-file.c (kpse_maketex_option): Initialise fmt on entry.  Test
2200         whether a fmt had been specified.
2201         (kpse_init_format): Put $TEXMF into the 'other files' formats, from
2202         Thomas.
2203
2204         * str-list.c (str_list_concat_elements): New function, part of
2205         replacement for bash-derived code.
2206
2207         * progname.c (my_subdir): New implementation from Fabrice.
2208
2209         * mktexnam: Account for new release of lh fonts.  Don't do subdirs
2210         if we're using $KPSE_DOT as the destination directory.
2211
2212         * mktexupd: Handle empty elements gracefully.
2213
2214         * mktexmf: Account for new release of lh fonts.
2215
2216         * mktexlsr: Minor fixes from Thomas.
2217
2218         * mktexdir: Allow for creating more directories, fixes from
2219         Thomas.
2220
2221         * mktex.opt: Add defaults for DPI and MAG.
2222
2223         * kpsewhich.man: Various minor corrections.
2224
2225         * kpsewhich.c: Begin implementing -all option.  (incomplete)
2226
2227         * kpathsea.texi: Correct copyright, tug email address.
2228
2229         * install.texi: Account for new texklib.tar.gz file.  Several
2230         minor corrections.
2231
2232         * expand.c: Remove bash-derived code.
2233
2234         * elt-dirs.c (do_subdir): Correct code to test whether we descend
2235         into subdirectories.
2236
2237         * db.c: Add kpathsea/c-stat.h to includes.
2238         (db_build): Correct test of '0' to 0.
2239
2240         * common.ac: Check for more functions in AC_CHECK_FUNCS, from
2241         Thomas.
2242
2243         * cnf.c: do_line: Remove premature optimization.
2244
2245         * c-proto.h: Add P8H, P8C, P9H, P9C.
2246
2247         * c-memstr.h: Revision by Thomas Esser.
2248
2249         * c-ctype.h: Add ISBLANK macro.
2250
2251         * acconfig.h: Add define guard for c-auto.h.
2252
2253         * Makefile.in: Change ../make/*.make to ../make/*.mk.
2254         Correct texmf.sed.
2255         Prevent substitution of $(texmf) in texmf.cnf in some
2256         cases.
2257         Replace semicolons with colons in paths.h.
2258
2259 1998-09-15  Olaf Weber  <olaf@infovore.xs4all.nl>
2260
2261         * mktexlsr: Trap more signals, make script hold up better under
2262         'sh -e', from Werner Fink <werner@suse.de>.
2263
2264         * mktex.opt: Trap more signals, suggested by several people,
2265         particularly Thomas Gellekum.
2266
2267 1998-08-03  Olaf Weber  <olaf@infovore.xs4all.nl>
2268
2269         * progname.c (selfdir): Interpret empty PATH element as "."
2270
2271 1998-07-26  Olaf Weber  <olaf@infovore.xs4all.nl>
2272
2273         * tex-glyph.c (kpse_find_glyph): Memory management problem: we
2274         were deallocating a string prematurely.
2275         (try_fontmap): Test !ret before, not after, bumping the loop variable.
2276         Both reported by Werner Lemberg <a7971428@unet.univie.ac.at>.
2277
2278 Sun Jun 21 14:43:44 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
2279
2280         * mktexlsr: Test for the presence of the magic string in ls-R, to
2281         prevent accidentally overwriting ls-R files that are not ours.
2282         Change the code to ensure ./ in front of directory names in the
2283         presence of different output from different versions of ls.
2284
2285 Mon May  4 19:42:44 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
2286
2287         * Makefile.in (objects): Add xbasename.lo.
2288
2289         * Rename basename.c to xbasename.c.
2290
2291         * tilde.c (kpse_tilde_epxand): Handle a bare ~ gracefully.
2292
2293         * basename.c: Rename basename to xbasename and make its
2294         compilation unconditional.
2295
2296         * common.ac: Remove check for basename.
2297
2298         * acconfig.h: Remove HAVE_BASENAME.
2299
2300         * lib.h: Remove conditional declaration of basename, add
2301         unconditional declaration of xbasename.
2302
2303         * progname.c (kpse_set_program_name): Replace call of basename
2304         with xbasename.
2305
2306 Fri Apr 24 21:15:15 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
2307
2308         * install.texi: Doc fix; mention the library files for etex,
2309         pdftex, omega.
2310
2311         * pathsearch.c (kpse_path_search): Fix memory leak found by "John
2312         W. Eaton" <jwe@bevo.che.wisc.edu>.
2313
2314 Tue Apr  7 19:46:07 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
2315
2316         * kpsewhich.c (find_format): Correct an off-by-one error by using
2317         the found value instead of a faulty comparison.
2318
2319 Mon Mar 16 19:25:15 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
2320
2321         * configure.in (KPSEVERSION): version 3.2.
2322
2323         * mktex.opt: Set MT_MKTEXNAM_OPT, MT_MKTEXDIR_OPT here.
2324
2325         * mktexnam: Move setting of MT_MKTEXNAM_OPT to mktex.opt.
2326
2327 Sun Mar 15 19:55:30 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
2328
2329         * c-proto.h: Add P7H and P7C macros.
2330
2331 Sat Mar 14 00:10:20 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
2332
2333         * win32lib.h: Patch from Fabrice.
2334
2335         * c-dir.h [WIN32]: Patch from Fabrice.
2336
2337 Fri Mar 13 23:23:33 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
2338
2339         * texmf.in: Added XDVIINPUTS and TEX4HTINPUTS.
2340
2341 Thu Mar 12 08:04:50 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
2342
2343         * win32lib.c: New version from Fabrice Popineau.
2344
2345 Wed Mar 11 19:55:10 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
2346
2347         * install.texi: Correction for description of dosnames behaviour
2348         on MS-DOS.  From Eli Zaretskii.
2349
2350 Mon Mar  9 07:22:23 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
2351
2352         * mktexlsr: exit 0 if we succeeded.
2353
2354         * withenable.ac: Remove double slashes from texmfmain variable.
2355         Strictly speaking, it is a user fault when this occurs, but...
2356         From Thomas Esser.
2357
2358 Sun Mar  8 18:23:33 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
2359
2360         * tex-file.c: omkocp, omkofm -> mkocp, mkofm.
2361
2362         * texmf.in: OMKOFM, OMKOCP -> MKOFM, MKOCP.
2363
2364         * withenable.ac: omkofm, omkocp -> mkofm, mkocp.
2365
2366 Thu Mar  5 15:32:48 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
2367
2368         * texmf.in: Add OMKOCP and OMKOFM analogous to MKTEXPK.
2369
2370         * c-fopen.h [DOS]: Don't open files read-write if read suffices.
2371
2372 Wed Mar  4 23:55:35 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
2373
2374         * withenable.ac: Add options for enabling/disabling
2375         omkocp/omkofm.  From John Plaice.
2376
2377         * tex-file.c (init_format): Support omkocp and omkofm instead of
2378         MakeOmegaOCP and MakeOmegaOFM programs.  From John Plaice.
2379         (kpse_maketex_option): Some changes to handle ofm/ocp as well.
2380
2381 Tue Mar  3 09:02:09 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
2382
2383         * tex-make.c (kpse_make_tex): Make same exception for AMIGA as for
2384         WIN32 and MSDOS.  From Andreas Scherer.
2385
2386         * PROJECTS: Update mail address.
2387
2388         * mktex.opt: Print message if VARTEXMF is not defined, then
2389         default to '$KPSE_DOT'.
2390
2391         * mktexnam: Remove use of "shell !" from tests involving varfonts
2392         feature.  Simplify the code a bit.
2393
2394 Fri Feb 27 19:55:11 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
2395
2396         * withenable.ac: Replace use of -a in test with && and second
2397         test.  From Thomas Esser <te@informatik.uni-hannover.de>.
2398
2399 Tue Feb 24 13:16:56 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
2400
2401         * Makefile.in: Corrections for building/installing outside source
2402         dir.  From Vladimir Volovich <vvv@vvv.vsu.ru>.
2403
2404         * mktexnam.opt: Correction MT_PKNAME -> MT_PKBASE to get dosnames
2405         feature to work.  From Eli Zaretskii.
2406
2407 Mon Feb 23 10:17:22 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
2408
2409         * mktex.opt, mktexlsr: Use test ... || test ... instead of test
2410         ... -o ... .
2411
2412         * mktexnam.opt: Remove use of MT_PKPART, MT_MFPART, and MT_TFMPART
2413         variables, since they're no longer defined.
2414
2415         * expand.c (kpse_expand_kpse_dot [MSDOS]): A very ugly hack to
2416         deal with a very broken feature on some MSDOS systems.  After Eli
2417         Zaretskii.
2418
2419 Fri Feb 20 17:18:19 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
2420
2421         * Makefile.in (texmf.sed): Remove VARTEXMF.
2422
2423         * install.texi: Update for changes to varfonts.
2424
2425         * kpathsea.texi: Remove references to format numbers.
2426
2427         * kpsewhich.c (read_command_line): Remove printing of and support
2428         for format numbers.
2429
2430         * mktex.opt: Remove VARTEXMF and related stuff, set dosnames for
2431         DOS.
2432
2433         * mktexnam: Remove use of VARTEXMF, introduce SYSTEXMF, change
2434         semantics of varfonts.
2435
2436         * mktexnam.opt: Remove reference to VARTEXMF, move setting of
2437         dosnames for DOS to mktex.opt.
2438
2439         * mktexpk: Boilerplate tests.
2440
2441         * mktexupd: Boilerplate tests.
2442
2443         * progname.c: Move kpse_reset_program_name to tex-file.c.  This
2444         move means progname.o doesn't use a common object from tex-file.o
2445         anymore.  The NeXT linker would omit tex-file.o, then complain
2446         about an undefined symbol.  Thanks to Gregor Hoffleit
2447         <flight@thefly.mathi.uni-heidelberg.de> and Melissa O'Neill
2448         <oneill@cs.sfu.ca> for their help solving this.
2449         
2450         * progname.h: Move kpse_reset_progname to tex-file.h.
2451
2452         * tex-file.c: Move kpse_reset_program_name here from progname.c.
2453
2454         * tex-file.h: Move kpse_reset_program_name here from progname.h.
2455
2456         * texmf.in: Remove VARTEXMF, add SYSTEXMF.
2457
2458         * withenable.ac: Boilerplating, a correction of the default case
2459         of the --enable-multiplatform test.
2460
2461 Mon Feb 16 09:46:47 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
2462
2463         * mktexpk: Dropped a $ in the wrong place, which made chmod look
2464         for a non-existent file.
2465
2466         * Makefile.in (texmf.sed): Include the substitution for @web2c@ in
2467         TEXMFCNF.
2468
2469         * Makefile.in (texmf.sed): Remove traling / from VARTEXMF
2470         substitution.
2471         (stamp-paths): Replace @ with % as sed delimiter.  The @ causes
2472         problems because it used in afs filenames.  Spotted by Matthias
2473         Clasen.
2474
2475         * bugs.texi: Since the NeXT(step) problem is likely to be solved
2476         now, make description of bug less definite.
2477
2478         * common.ac: Remove check for readlink.
2479
2480         * kpathsea.texi: Document changes to search algorithm.
2481
2482         * mktexlsr: Use % not @ as sed delimiter.
2483
2484         * mktexmf: Correct permissions problem.
2485
2486         * mktexnam: Use % not @ as sed delimiter.
2487
2488         * mktexpk: Use % not @ as sed delimiter.  Correct permissions
2489         problem.  Set permissions before the file is moved into place.
2490
2491         * mktextfm: Use % not @ as sed delimiter.  Correct permissions
2492         problem.  Set permissions before the file is moved into place.
2493
2494         * mktexupd: Use % not @ as delimiter for sed.
2495
2496         * readlink.c (main): Use S_ISLNK instead of HAVE_READLINK to test
2497         whether readlink is a known function.
2498
2499         * tex-file.c (kpse_init_format): Make changes corresponding to the
2500         movement of kpse_tfm_format.
2501         (kpse_find_file): Reorganize searches; fold code of search #3 into
2502         #1 and #2; fold #5 into #2.  We now have two searches, plus an
2503         attempt to create missing files.
2504
2505         * tex-file.h: Move kpse_tfm_format before kpse_ofm_format.  Might
2506         as well put it near the front then, because it is an often-used
2507         format.
2508
2509         * texmf.in: VARTEXFONTS uses @vartexfonts@ so it can be filled in
2510         from the Makefile.  OFMFONTS changed to explicitly use TFMFONTS.
2511         TEXMCNF uses @web2c@ rather than @web2cdir@.
2512
2513         * withenable.ac: Do not force default for --enable-multiplatform,
2514         so that we can inherit one from a script that calls us.
2515
2516 Tue Feb 10 17:59:26 1998  Olaf Weber  <infovore@xs4all.nl>
2517
2518         * withenable.ac: Don't abort configure run if the main texmf tree
2519         isn't found.
2520
2521         * acconfig.h: Add EPSFWIN to the undefs.
2522
2523         * install.texi: Update section on the handling of options by
2524         mktexpk.
2525
2526         * mktex.opt: Comment on the duplication of the ls_R_magic string.
2527
2528         * mktexlsr: Copy code from mktex.opt to mktexlsr, so the latter
2529         can run without the need to find the former.
2530
2531         * mktextfm, mktexpk: Replace positional options with normal option
2532         handling.
2533
2534         * mktextfm.man, mktexpk.man: Update documentation for the new
2535         option handling.
2536
2537         * tex-file.c: Update the MKTEXPK_ARGS string for the new
2538         option-handling of mktexpk.
2539
2540         * tex-make.c (kpse_make_tex): We pass the raw / to mktexpk in the
2541         --mfmode switch when appropriate; remove unset_mode variable.
2542         Update comments to reflect new situation.
2543
2544         * kpathsea.texi: Note that empty path components are now ignored
2545         in stead of expanded to cwd.
2546
2547         * line.c: Add prototype and clean up headers.
2548
2549         * mktex.opt, mktexlsr, mktexmf, mktexnam, mktexpk, mktextfm,
2550         mktexdir, mktexupd: Make "caching" of some variables and file
2551         names in the environment possible.  Provide defaults in case the
2552         'web2c files' format doesn't work for finding files.  Suggested by
2553         Thomas Esser.
2554
2555         * withenable.ac: Give a better message when the main texmf tree
2556         isn't found.
2557
2558 Sat Feb  7 01:00:49 1998  Olaf Weber  <infovore@xs4all.nl>
2559
2560         * elt-dirs.c (kpse_element_dirs): Return NULL, not the cwd, if
2561         we're given an empty string.
2562
2563         * mktex.opt: Determine VARTEXFONTS here.
2564
2565         * mktexnam: Move determination of VARTEXFONTS to mktex.opt.
2566
2567 Fri Feb  6 17:59:59 1998  Olaf Weber  <infovore@xs4all.nl>
2568
2569         * config.h: Update definition of KPATHSEA to 32.
2570
2571         * expand.c (kpse_path_expand): Do not recursively expand a leading
2572         //, as in pathsearch.c.
2573
2574         * kpsewhich.man: Update for --epxand-braces option.
2575
2576         * texmf.in: Put texmf.local before texmf in the TEXMFCNF path.
2577
2578         * withenable.ac: Make code for finding texmfmain more robust.
2579
2580 Wed Feb  4 20:39:10 1998  Olaf Weber  <infovore@xs4all.nl>
2581
2582         * readable.c: Correct typo: '#elsif' -> '#elif'.
2583
2584 Tue Feb  3 17:08:34 1998  Olaf Weber  <infovore@xs4all.nl>
2585
2586         * kpathsea.texi: Update for changes to kpsewhich.
2587
2588 Mon Feb  2 21:12:06 1998  Olaf Weber  <infovore@xs4all.nl>
2589
2590         * xputenv.c: Undid last patch from Fabrice -- it was a "fix" that
2591         suppresses warnings on his compiler, and engenders them on mine.
2592
2593 Sun Feb  1 16:08:49 1998  Olaf Weber  <infovore@xs4all.nl>
2594
2595         * lib.h [!DOSISH]: Correct definition of FILESTRNCASEEQ.
2596
2597         * mktexmf: Correct call to mktexnam.
2598
2599         * kpsewhich.c: New option --expand-braces.
2600         (expand_path): Removed.
2601         (main): Add code for --expand-braces, account for new definition of
2602         kpse_path_expand.
2603
2604         * expand.h: Rename kpse_path_expand to kpse_brace_expand.  Add new
2605         kpse_path_expand.
2606
2607         * expand.c (kpse_path_expand): New implementation, based on
2608         path_expand from kpsesewhich.c.
2609         (kpse_brace_expand): The old kpse_path_expand.  Change calls to
2610         kpse_brace_expand to kpse_brace_expand_element.
2611         (kpse_brace_expand_element): The old kpse_brace_expand, but with
2612         static linkage.  Changes calls to kpse_brace_expand to
2613         kpse_brace_expand_element.
2614
2615         * tex-file.c (init_path): Replace kpse_path_expand with
2616         kpse_brace_expand.
2617
2618         * texmf.in: Correct input variables for mltex variants.  Add pdftex
2619         to TEXPSHEADERS path.
2620
2621 Thu Jan 29 16:15:44 1998  Olaf Weber  <infovore@xs4all.nl>
2622
2623         * Makefile.in: Update for readlink.
2624
2625         * common.ac: Test for readlink function.
2626
2627         * access.c, kpsestat.c: No need to explicitly include c-auto.h.
2628
2629         * mktex.opt: Adapt to new way of finding the script.  Do the
2630         actual lookup for mktexnam, mktexdir, and mktexupd here.  Make a
2631         bit more robust.
2632
2633         * mktexlsr: Make file handling more robust, use kpsewhich to find
2634         supporting scripts like mktex.opt and mktexnam, use readlink to
2635         trace symlinks.
2636
2637         * mktexupd, mktexpk, mktextfm, mktexmf, mktexdir, mktexnam: Make
2638         file handling more robust, use kpsewhich to find supporting
2639         scripts like mktex.opt and mktexnam, simplify somewhat.
2640
2641         * mktexnam.opt: Make handling of names more robust.
2642
2643         * readlink.c, readlink.man: New files.
2644
2645         * withenable.ac: Add --enable-multiplatform option.  Attempt to
2646         find the texmf directory, and complain if we fail to do so.
2647
2648         * Makefile.in (texmf.sed): Remove sed for dbtex, dbfonts, change
2649         VARTEXFONTS to comply with texmf.in, and update comment.
2650
2651         * c-vararg.h: Comment update from Peter Breitenlohner.
2652
2653 Wed Jan 28 20:36:56 1998  Olaf Weber  <infovore@xs4all.nl>
2654
2655         * Makefile.in: Keep c-auto.h out of kpathsea.h.
2656
2657         * c-stat.h [WIN32]: Modification from Fabrice.
2658
2659         * dir.c [WIN32]: Extensive modifications from Fabrice.
2660
2661         * kpsestat.c, kpsewhich.c: Replace exit with return from main.
2662         From Fabrice.
2663
2664         * readable.c [WIN32]: Separate definition of READABLE.  From
2665         Fabrice Popineau.
2666
2667         * texmf.in: Remove almost all @var@ stuff, and just assume TDS for
2668         all.
2669
2670         * win32lib.h: Modifications from Fabrice.
2671
2672         * xputenv.c (xputenv): Minor fix from Fabrice.
2673
2674         * win32lib.c: New file from Fabrice Popineau.  Replacement
2675         functions for Win32.
2676
2677 Sun Jan 25 20:02:21 1998  Olaf Weber  <infovore@xs4all.nl>
2678
2679         * texmf.in: Increase buf_size to 50000 (from 10000).
2680
2681         * tex-file.c (kpse_find_file): In the first search, postpone
2682         pounding the disk until all possible suffixes have been tried.
2683
2684         * line.c (read_line): Accept any of NL, CR, and CRLF as
2685         end-of-line.
2686
2687 Fri Jan 23 14:45:19 1998  Olaf Weber  <infovore@xs4all.nl>
2688
2689         * access.c: Use return instead of exit to get rid of some compiler
2690         warnings.  From Fabrice.
2691
2692         * c-fopen.h: Changes for CYGWIN32.
2693
2694         * c-proto.h: Patch from Fabrice Popineau for Win32.
2695
2696         * kpathsea.texi: Document kpse_web2c_format,
2697         kpse_program_text_format, kpse_program_binary_format.
2698
2699         * mktex.opt, mktexdir, mktexlsr, mktexmf, mktexnam, mktexpk,
2700         mktextfm, mktexupd: Use -expand-path instead of -expand-var where
2701         possible.  This makes the handling of !! more robust.
2702
2703         * tex-file.c (kpse_find_file): Handle other cases than precisely
2704         one extension in search number 3.
2705         (kpse_init_format): Add kpse_web2c_format, kpse_program_text_format,
2706         kpse_program_binary_format.
2707
2708         * tex-file.h: Add kpse_web2c_format, kpse_program_text_format,
2709         kpse_program_binary_format.
2710
2711         * tex-hush.c: Test the "path element" h, not the whole hush.
2712
2713         * texmf.in: Add a definition for WEB2C.  Add some Omega-related
2714         parameters, from John Plaice.
2715
2716 Tue Jan 13 19:46:58 1998  Olaf Weber  <infovore@xs4all.nl>
2717
2718         * mktexpk, mktextfm: Only move $NAME.log file if it exists and is
2719         not empty.
2720
2721 Mon Jan 12 06:22:59 1998  Olaf Weber  <infovore@xs4all.nl>
2722
2723         * kpathsea.texi: Fixes from Gerd Neugebauer <gerd@uni-koblenz.de>.
2724
2725 Sun Jan 11 18:26:56 1998  Olaf Weber  <infovore@xs4all.nl>
2726
2727         * mktexupd: Two changes: absence of the current tree in the ls-R
2728         path is not an error; create an ls-R file if the current tree is
2729         in the ls-R path and the file doesn't yet exist.
2730
2731 Sat Jan 10 09:55:47 1998  Olaf Weber  <infovore@xs4all.nl>
2732
2733         * tex-hush.c: A null pointer could be fed to strcmp.
2734
2735 Fri Jan  9 21:08:45 1998  Olaf Weber  <infovore@xs4all.nl>
2736
2737         * mktexnam: Add $COMSPEC test, and use $SEP for path separator when
2738         splitting paths.  From Eli Zaretskii.
2739
2740         * mktexlsr: Correct usage for determining absolute paths.  From
2741         Eli Zaretskii.
2742
2743         * common.ac: Correct code in HAVE_PROTOTYPES test.
2744
2745 Sun Jan  4 15:59:08 1998  Olaf Weber  <infovore@xs4all.nl>
2746
2747         * Manual pages for access, kpsestat, kpsewhich, mktexlsr, mktexpk,
2748         mktexmf, mktextfm.
2749
2750         * Makefile.in: Changes for manual pages.
2751
2752 Thu Jan  1 10:11:49 1998  Olaf Weber  <infovore@xs4all.nl>
2753
2754         * mktex.opt: Remove definition of $SEP; it is now needed before
2755         this script is sourced.
2756
2757         * mktexlsr: If necessary, add location of script to PATH.
2758
2759         * mktexupd: Put $SEP definition in script itself.
2760
2761         * xputenv.c (xputenv): Move some declarations into the "not
2762         SMART_PUTENV" block to prevent "unused" warnings.
2763
2764 Tue Dec 30 17:55:45 1997  Olaf Weber  <infovore@xs4all.nl>
2765
2766         * install.texi, bugs.texi: Add comment about the need to use
2767         special compiler options in HP-UX.
2768
2769         * mktexpk: Use nonstopmode for mf, in case of failure move log
2770         file to working directory.
2771
2772         * mktextfm: Use nonstopmode for mf, in case of failure move log
2773         files to working directory.
2774
2775         * mktexlsr: Add comment about use in cron scripts, use SEP
2776         variable for path separator.
2777
2778         * mktexupd: Check for both new and old magic string in ls-R files,
2779         use SEP variable for path separator.
2780
2781         * mktex.opt: Pick the correct path separator for MS-DOS and UNIX.
2782         Add a more appropriate magic string for ls-R files, but keep the
2783         old one around for compatibility.
2784
2785         * Makefile.in (install-exec): Add check for original mktexlsr.
2786
2787 Thu Dec 18 20:33:56 1997  Olaf Weber  <infovore@xs4all.nl>
2788
2789         * tex-file.c (init_path): Rewrite test whether we're initializing
2790         the kpse_cnf_format paths.
2791
2792         * tex-file.c (kpse_init_format): Initialise the binmode fields.
2793         (kpse_open_file): Use binmode field.
2794
2795         * tex-file.h: Add binmode field to kpse_format_info_type.
2796
2797         * kpsewhich.c: Correct option string.
2798
2799         * tex-file.c (kpse_open_file): Assume kpse_truetype_format and
2800         kpse_type42_format are for binary files.
2801
2802 Tue Dec 16 19:13:14 1997  Olaf Weber  <infovore@xs4all.nl>
2803
2804         * texmf.in: Don't make PKFONTS.xdvi a special case.  Let all
2805         programs look in modeless.  If a program shouldn't look there,
2806         give it a special PKFONTS line.
2807
2808 Mon Dec 15 18:58:01 1997  Olaf Weber  <infovore@xs4all.nl>
2809
2810         * texmf.in: Add TTFONTS and T42FONTS.
2811
2812         * Makefile.in (stamp-paths): The regular expression for variables
2813         had to be amended for T42FONTS.
2814
2815         * tex-file.c (kpse_init_format): Add kpse_truetype_format and
2816         kpse_type42_format.
2817
2818         * tex-file.h: Add kpse_truetype_format and kpse_type42_format to
2819         kpse_file_format_type.
2820
2821 Sat Dec 13 11:24:23 1997  Olaf Weber  <infovore@xs4all.nl>
2822
2823         * xputenv.c (xputenv [WIN32]): This system deletes an environment
2824         variable if it is set to "", with consequences for the code that
2825         reclaims the space.  From Fabrice Popineau.
2826
2827 Fri Dec 12 10:44:02 1997  Olaf Weber  <infovore@xs4all.nl>
2828
2829         * acconfig.h: Add HAVE_PROTOTYPES.
2830
2831         * c-proto.h, c-vararg.h: Test for HAVE_PROTOTYPES.
2832
2833         * common.ac: Add explicit test for prototypes, instead of relying
2834         on __STDC__.
2835
2836         * hash.c, hash.h (hash_remove): New function.
2837
2838         * install.texi: Rewritten passage on font destinations, corrected
2839         reference to Triptrap node in web2c.
2840
2841         * mktexpk, mktextfm: When mv fails, try cp.  Matters on MS-DOS.
2842
2843         * progname.c (selfdir): Test whether we are a directory, rather
2844         than whether we are not a link or file.
2845
2846         * texmf.in: Change openout_any to paranoid.
2847
2848 Tue Dec  9 19:08:04 1997  Olaf Weber  <infovore@xs4all.nl>
2849
2850         * mktexpk: Restored test-and-move, which turns out not to be a
2851         no-op for fonts generated with gsftopk.
2852
2853 Thu Dec  4 12:53:52 1997  Olaf Weber  <infovore@xs4all.nl>
2854
2855         * texmf.in: Add TEXINPUTS.mltex and TEXINPUTS.mllatex.
2856
2857 Tue Dec  2 12:58:04 1997  Olaf Weber  <infovore@xs4all.nl>
2858
2859         * Makefile.in (distclean): Add stamp-paths.  From Sebastian Rahtz
2860         <s.rahtz@elsevier.co.uk>.
2861
2862         * progname.c (kpse_set_program_name [!HAVE_PROGRAM_INVOCATION_NAME
2863         && !WIN32 && !__DJGPP__]): Remember to set
2864         program_invocation_name.
2865
2866         * getopt.c: A few changes for WIN32.  From Fabrice Popineau.
2867
2868 Mon Dec  1 19:08:07 1997  Olaf Weber  <infovore@xs4all.nl>
2869
2870         * kpathsea.texi: Updated for absence of alternate TeX suffixes.
2871
2872         * kpsewhich.c: Don't complain about unkown suffixes: it's all
2873         kpse_tex_format to us.
2874
2875         * tex-file.c: Remove the interminable list of alternate TeX
2876         suffixes.
2877
2878         * Makefile.in ($(library).h): Take win32lib.h into account: it
2879         should not be included by this file, as config.h will do so if
2880         needed.
2881
2882         * progname.c (kpse_set_program_name [WIN32, __DJGPP__]): Changes
2883         from Fabrice Popineau.
2884
2885         * win32lib.h: New file.  From Fabrice Popineau.
2886
2887         * config.h: Include <kpathsea/win32lib.h> instead of
2888         "../win32/win32-compat.h".  From Fabrice Popineau.
2889
2890         * access.c: Include <kpathsea/config.h>.  From Fabrice Popineau.
2891
2892         * absolute.c (kpse_absolute_p [WIN32]): Filenames starting with \\
2893         are absolute on this platform.  From Fabrice Popineau.
2894
2895         * tex-glyph.c (try_format): Oops, kpse_format_info[format].suffix
2896         is now a list of strings.
2897
2898 Sun Nov 30 13:23:54 1997  Olaf Weber  <infovore@xs4all.nl>
2899
2900         * texmf.in, mktex.opt, mktexdir, mktexdir.opt, mktexlsr, mktexmf,
2901         mktexnam, mktexnam.opt, mktexpk, mktextfm, mktexupd:  Add a
2902         MKTEXSCRIPT variable, which is the directory where supporting
2903         scripts are found.  Defaults to $TEXMFMAIN/web2c if not defined.
2904
2905         * Makefile.in, bugs.texi, db.h, install.texi, kpathsea.texi,
2906         kpsewhich.c, proginit.c, tex-file.c, tex-file.h, tex-glyph.c,
2907         tex-make.c, tex-make.h, texmf.in, withenable.ac, mktex.opt,
2908         mktexdir, mktexdir.opt, mktexlsr, mktexmf, mktexnam, mktexnam.opt,
2909         mktexpk, mktextfm, mktexupd: Changes for the great renaming...
2910
2911 Sat Nov 29 13:10:42 1997  Olaf Weber  <infovore@xs4all.nl>
2912
2913         * The great renaming of the MakeTeX* scripts.
2914                 MakeTeXPK        -> mktexpk
2915                 MakeTeXTFM       -> mktextfm
2916                 MakeTeXMF        -> mktexmf
2917                 MakeTeXls-R      -> mktexlsr
2918
2919                 MakeTeX.site     -> mktex.cnf
2920                 MakeTeXcommon    -> mktex.opt
2921                 MakeTeXmkdir     -> mktexdir
2922                 MakeTeXmkdir.opt -> mktexdir.opt
2923                 MakeTeXnames     -> mktexnam
2924                 MakeTeXnames.opt -> mktexnam.opt
2925                 MakeTeXupdate    -> mktexupd
2926
2927         * Makefile.in (install-exec): Adapted for removal MakeTeX.cnf.
2928
2929         * MakeTeX.cnf: Removed.
2930         
2931         * MakeTeXcommon: Fold MakeTeX.cnf into MakeTeXcommon.
2932
2933         * tex-file.c (kpse_init_format): Add kpse_fmt_format add ".efmt"
2934         and ".efm" to additional suffixes.
2935
2936         * db.c [DB_HASH_SIZE]: From 7603 increased to 15991.
2937
2938         * tex-file.c: Yet more suffixes for kpse_tex_format.
2939
2940 Tue Nov 25 18:19:17 1997  Olaf Weber  <infovore@xs4all.nl>
2941
2942         * progname.c (kpse_set_program_name): Ensure that
2943         kpse_program_name doesn't get an .exe suffix.  The
2944         program_invocation*name variables retain it.
2945
2946 Mon Nov 24 22:03:12 1997  Olaf Weber  <infovore@xs4all.nl>
2947
2948         * MakeTeXls-R: When creating the ls-R file from scratch, derive
2949         its permissions from the $db_dir, not from the current dir.
2950
2951 Sun Nov 23 13:17:16 1997  Olaf Weber  <infovore@xs4all.nl>
2952
2953         * texmf.in: Update to use : instead of , in braces.
2954
2955         * kpathsea.texi: Document use of path separator in brace
2956         expansion, note that the comma is deprecated.
2957
2958         * path-elt.c (element): Dont split within braces.
2959
2960         * expand.c (expand_amble): Break text in pieces at ENV_SEP as well
2961         as commas.
2962
2963 Sat Nov 22 19:35:30 1997  Olaf Weber  <infovore@xs4all.nl>
2964
2965         * tex-file.c: Correction of description "PostScript header/font"
2966         to "PostScript header".
2967
2968         * db.c (kpse_db_insert): Add cast for const correctness.
2969
2970         * kpathsea.texi: Document kpse_set_program_name; updates.
2971
2972         * kpsewhich.c: Many changes to support multiple standard suffixes.
2973
2974         * progname.c (kpse_set_program_name): Add a few casts for const
2975         correctness.
2976
2977         * tex-file.c: Many changes to support lists of standard suffixes.
2978
2979         * tex-file.h: kpse_format_info_type: change type of suffix from
2980         const_string to const_string*.
2981
2982 Fri Nov 21 15:17:35 1997  Olaf Weber  <infovore@xs4all.nl>
2983
2984         * c-proto.h: Restored AA macro, needed by revised web2c.
2985
2986 Thu Nov 20 14:23:33 1997  Olaf Weber  <infovore@xs4all.nl>
2987
2988         * MakeTeXPK: Removed a test-and-move that is always a no-op.
2989
2990         * MakeTeXnames: A shell on FreeBSD didn't like the ${foo:=`bar`}
2991         construct.
2992
2993 Wed Nov 19 17:24:08 1997  Olaf Weber  <infovore@xs4all.nl>
2994
2995         * MakeTeXls-R, MakeTeXMF, MakeTeXPK: Make temporary names fit into
2996         the 8.3 pattern.  After Eli Zaretskii.
2997
2998         * MakeTeXTFM: Make temporary names fit into the 8.3 pattern.
2999         Allow a second optional argument.  Update usage message.  After
3000         Eli Zaretskii.
3001
3002         * MakeTeXcommon: Make temporary names fit into the 8.3 pattern.
3003         Do a 'cd /' before we cd to $KPSE_DOT, for MS-DOS' sake.  After
3004         Eli Zaretskii.
3005
3006         * MakeTeXnames: If $DEST starts with "letter-colon-slash", it
3007         still indicates an absolute path.  After Eli Zaretskii.
3008
3009         * MakeTeXnames.opt: Enable dosnames if we find COMSPEC set in the
3010         environment.  This is apparently the canonical test for this kind
3011         of thing.  After Eli Zaretskii.
3012
3013         * Makefile.in: Numerous small changes to make building on MS-DOS
3014         easier.  In particular to the rule for texmf.sed.
3015
3016         * install.texi: Add table headers.  After Eli Zaretskii.
3017
3018         * tex-file.c (kpse_open_file): Open kpse_tex_ps_header_format and
3019         kpse_pict_format files in binary mode.  After Eli Zaretskii.
3020
3021 Tue Nov 18 11:50:35 1997  Olaf Weber  <infovore@xs4all.nl>
3022
3023         * install.texi, README, Makefile.in: Changed the name of CONFIGURE
3024         to README.CONFIGURE.
3025
3026         * Makefile.in (mostlyclean): delete klibtool.version.
3027
3028 Sat Nov 15 21:13:46 1997  Olaf Weber  <infovore@xs4all.nl>
3029
3030         * MakeTeXPK: Use quotes to ensure that test "$mf_bdpi" != $BDPI
3031         has a first argument.  This occurs only in pathological
3032         circumstances, but is nevertheless annoying.
3033
3034         * texmf.in: Add TEXINPUTS.foo for omega and lambda.
3035
3036 Fri Nov 14 16:35:46 1997  Olaf Weber  <infovore@xs4all.nl>
3037
3038         * texmf.in: Add TEXINPUTS.foo definitions for e-TeX and PDFTeX.
3039
3040         * tex-file.h: Add kpse_find_ofm and kpse_find_ovf macros.
3041
3042         * tex-file.c (kpse_find_file): Add a search for Omega.
3043
3044 Thu Nov 13 22:43:06 1997  Olaf Weber  <infovore@xs4all.nl>
3045
3046         * progname.c (expand_symlinks): Don't call fclose on a NULL
3047         pointer.  After Gary Jennejohn <garyj@peedub.muc.de>.
3048
3049 Wed Nov 12 16:20:02 1997  Olaf Weber  <infovore@xs4all.nl>
3050
3051         * kpsewhich.c: Use kpse_set_program_name instead of
3052         kpse_set_progname.
3053
3054         * tex-file.c, cnf.c: Use kpse_program_name instead of
3055         program_invocation_short_name.
3056
3057         * progname.h (kpse_set_program_name, kpse_reset_program_name): New
3058         functions.
3059         (kpse_program_name): New global.
3060
3061         * progname.c (kpse_set_program_name): New function, to replace
3062         kpse_set_progname.  This fixes the problem the we may want to
3063         pretend to be a different program, but need the name by which we
3064         were called because that is the one for an executable is
3065         guaranteed to exist.  The pretend-name is stored in
3066         kpse_program_name.
3067         (kpse_reset_program_name): To reset kpse_program_name to a
3068         different value.  It makes a half-hearted attempt to clear the
3069         search path information, so that the new name is used there as
3070         well.
3071
3072 Mon Nov 10 13:14:01 1997  Olaf Weber  <infovore@xs4all.nl>
3073
3074         * configure.in (KPSEVERSION): version 3.1.
3075
3076 Thu Nov  6 20:25:49 1997  Olaf Weber  <infovore@xs4all.nl>
3077
3078         * texmf.in: Corrected comment on size of max_print_line: it must
3079         at least be 60.
3080
3081 Tue Nov  4 19:08:37 1997  Olaf Weber  <infovore@xs4all.nl>
3082
3083         * Makefile.in (install-data): Handle a split kpathsea.info.
3084
3085         * common.ac: Add a test to ensure that autoconf 2.12.1 -- the one
3086         with our own hacks -- is used.
3087
3088 Wed Oct 29 11:49:46 1997  Olaf Weber  <infovore@xs4all.nl>
3089
3090         * c-fopen.h [!DOSISH]: Guard against redefining O_BINARY.  From
3091         Andreas Scherer <andreas.scherer@pobox.com>.
3092
3093 Mon Oct 27 17:25:19 1997  Olaf Weber  <infovore@xs4all.nl>
3094
3095         * install.texi: Update for new MakeTeX* scripts.
3096
3097         * MakeTeXnames: Handling of empty namepart.
3098
3099 Fri Oct 24 14:23:58 1997  Olaf Weber  <infovore@xs4all.nl>
3100
3101         * getopt.[hc]: Changes for WIN32, which are likely to be a pain if
3102         these files are ever updated wholesale.  After Fabrice Popineau.
3103
3104 Thu Oct 23 11:16:26 1997  Olaf Weber  <infovore@xs4all.nl>
3105
3106         * MakeTeXnames: Corrected bug in assignemnt to stdfontpath.
3107
3108 Wed Oct 22 17:36:57 1997  Olaf Weber  <infovore@xs4all.nl>
3109
3110         * MakeTeXmkdir: Added a bit of boilerplate to the use of
3111         MT_APPEND_MASK.
3112
3113         * Makefile.in: It's acconfig.h, not c-auto.h, that we do not want
3114         to install.
3115
3116         * lib.h: Remove kpathsea/config.h from the includes.  Note that
3117         lib.h is itself included by config.h.
3118
3119         * Makefile.in: Change generation of kpathsea.h to put config.h
3120         first.
3121
3122 Tue Oct 21 23:15:28 1997  Olaf Weber  <infovore@xs4all.nl>
3123
3124         * MakeTeX.site, MakeTeX.cnf: Remove MT_FILE_PERMS, MT_DIR_PERMS.
3125
3126         * MakeTeXmkdir: Use kpsestat to obtain suitable directory
3127         permissions.
3128
3129         * MakeTeXnames, MakeTeXnames.opt: Include code that infers
3130         destination directories from where the sources are found.  Make
3131         use of fontmaps an option, move that part of the code to
3132         MakeTeXnames.opt.
3133
3134         * MakeTeXls-R: Use kpsestat to obtain suitable file permissions;
3135         this means we no longer use unset.  Use access rather than test to
3136         determine whether we can write the ls-R database.
3137
3138         * MakeTeXTFM, MakeTeXMF, MakeTeXPK: Use kpsestat to obtain
3139         suitable file permissions.
3140
3141         * Makefile.in: Minor changes, because of the new files and
3142         renaming.
3143
3144         * MakeTeXnames.opt, MakeTeXmkdir.opt: renamed from
3145         MakeTeXnames.cnf and MakeTeXmkdir.cnf respectively.  Now
3146         MakeTeX.cnf contains the standard configuration, and MakeTeX.site
3147         the local adjustments.
3148         
3149         * kpsestat.c, access.c: New files.
3150
3151 Mon Oct 20 07:22:33 1997  Olaf Weber  <infovore@xs4all.nl>
3152
3153         * common.ac, Makefile.in, acconfig.in, config.h, install.texi,
3154         kpathsea.texi: Rename texmf.cnf.in to texmf.in / c-auto.h.in to
3155
3156         * Renamed texmf.cnf.in to texmf.in.
3157
3158         * bugs.texi: Add descriptions of GSFTOPK_DEBUG, MAKETEX_DEBUG, and
3159         MAKETEX_FINE_DEBUG.  From Fabrice Popineau.
3160
3161         * c-fopen.h [WIN32]: Use setmode in stead of _setmode.  From
3162         Fabrice Popineau.
3163
3164         * c-pathch.h, absolute.c [NAME_BEGINS_WITH_DEVICE]: Corrected
3165         definition. From Fabrice Popineau.
3166
3167         * c-proto.h: Cosmetic change in definition DllImport.  From
3168         Fabrice Popineau.
3169
3170         * debug.h [WIN32 && _DEBUG]: Extra debugging code for WIN32.  From
3171         Fabrice Popineau.
3172
3173         * install.texi: Extend description of the dosnames feature.  After
3174         Fabrice Popineau.
3175
3176         * lib.h: Add kpathsea/config.h to the includes.  New macro STRNEQ.
3177         From Fabrice Popineau.
3178
3179         * progname.c (kpse_set_progname [WIN32]): New environment variable
3180         KPSE_DEBUG_OUTPUT.  If defined, it names a file to which stderr
3181         will be redirected.  From Fabrice Popineau.
3182
3183         * tex-make.c: Various cosmetic changes for WIN32/MS-DOS.  From
3184         Fabrice Popineau.
3185
3186 Fri Oct 17 10:41:08 1997  Olaf Weber  <infovore@xs4all.nl>
3187
3188         * db.c (kpse_db_insert): Remove dubious cast of result of basename.
3189
3190         * progname.c (kpse_set_progname [!HAVE_PROGRAM_INVOCATION_NAME]):
3191         Removed dubious cast of basename.
3192
3193         * tex-file.c (kpse_find_file): Reorganize searches, so that
3194         foo.bar.tex is found before foo.bar.
3195
3196         * tex-make.c (maketex) [MSDOS]: Redirect stderr to the null device
3197         without using the shell (which requires users to install a port of
3198         a Unixy shell, since stock DOS shells don't allow redirecting
3199         stderr).
3200         (kpse_make_tex) [MSDOS]: Don't use the shell to redirect stderr.
3201         From Eli Zaretskii <eliz@is.elta.co.il>.
3202
3203         * readable.c (READABLE) [__DJGPP__]: Use `access' instead of
3204         `stat', since `stat' is expensive on MS-DOS. Eli Zaretskii
3205         <eliz@is.elta.co.il>.
3206
3207         * pathsearch.c (search) [__DJGPP__]: Make `stat' work in the
3208         fastest possible way, since it can be very expensive on MS-DOS.
3209         (main): Use ENV_SEP_STRING instead of explicit ":".
3210         From Eli Zaretskii <eliz@is.elta.co.il>.
3211
3212         * path-elt.c (main): Use ENV_SEP_STRING instead of explicit ":".
3213         From Eli Zaretskii <eliz@is.elta.co.il>.
3214
3215         * kpsewhich.c (path_expand): Handle file names with device
3216         letters.
3217         (read_command_line): Use ENV_SEP_STRING instead of explicit ":".
3218         After Eli Zaretskii <eliz@is.elta.co.il>.
3219
3220         * kdefault.c (main): Use ENV_SEP_STRING instead of explicit ":"
3221         (which is only true on Unix).  From Eli Zaretskii
3222         <eliz@is.elta.co.il>.
3223
3224         * cnf.c (do_line) [__DJGPP__]: Don't convert semi-colons to
3225         colons, even though DJGPP defines `unix'.  From Eli Zaretskii
3226         <eliz@is.elta.co.il>.
3227
3228         * absolute.c (kpse_absolute_p) [DOSISH]: Don't assume the drive
3229         letter is alphanumeric. From Eli Zaretskii <eliz@is.elta.co.il>.
3230
3231         * xgetcwd.c (xgetcwd) [DOSISH]: Prepend drive letter before path.
3232         From Eli Zaretskii <eliz@is.elta.co.il>.
3233
3234         * progname.c (kpse_set_progname) [__DJGPP__]: Compute the long
3235         file name of the program given its 8+3 alias.
3236         (kpse_set_progname) Compute SELFAUTOLOC before removing the
3237         ".exe" suffix, if any, because `selfdir' might look along the PATH
3238         for the file.
3239         After Eli Zaretskii <eliz@is.elta.co.il>.
3240
3241         * config.h (DOSISH): Move the definition to the top, so we could
3242         define MONOCASE_FILENAMES right there.
3243         [__DJGPP__]: Include DJGPP-specific headers.
3244         [DOSISH]: Let DJGPP use ST_NLINK_TRICK, since it supports it.
3245         From Eli Zaretskii <eliz@is.elta.co.il>.
3246
3247         * lib.h (FILESTRNCASEEQ): New macro, for partial compares of
3248         filenames.  From Eli Zaretskii <eliz@is.elta.co.il>.
3249
3250         * c-fopen.h (FOPEN_RBIN_MODE, FOPEN_WBIN_MODE): Let MS-DOS use
3251         these also.
3252         (FOPEN_ABIN_MODE): New macro, defines how to open a binary file for
3253         appending.
3254         (SET_BINARY): New macro, switches an already open file to binary
3255         mode (required for stdin/stdout on MS-DOS/MS-Windows).
3256         From Eli Zaretskii <eliz@is.elta.co.il>.
3257
3258         * c-pathch.h (NAME_BEGINS_WITH_DEVICE): Don't assume the drive
3259         letter is A-Z only (DOS allows 6 characters beyond Z).  After Eli
3260         Zaretskii <eliz@is.elta.co.il>.
3261
3262 Thu Oct 16 10:22:42 1997  Olaf Weber  <infovore@xs4all.nl>
3263
3264         * configure.in: Update stamp-auto after creating c-auto.h.  From
3265         Peter Breitenlohner.
3266
3267         * Makefile.in: Don't rewrite paths.h if it was not changed.  After
3268         Peter Breitenlohner.
3269
3270 Wed Oct 15 15:33:43 1997  Olaf Weber  <infovore@xs4all.nl>
3271
3272         * xputenv.c (xputenv): Don't do anything if the old and new values
3273         of the environment variables are identical, because some libraries
3274         (DJGPP) will will optimize away such no-ops, and therefore freeing
3275         the old value will lead to disaster.  Free new_item if it was
3276         copied by the library `putenv'.  From Eli Zaretskii
3277         <eliz@is.elta.co.il>
3278
3279         * tex-file.c (kpse_open_file): Open
3280         kpse_{pk,base,fmt,mem,type1}_format files in binary mode.
3281
3282         * install.texi: Remove description of the feature that (say)
3283         MAKETEXPK in the environment can be used to provide a
3284         specification of the argument list of MakeTeXPK.  Reason: the
3285         feature isn't implemented.
3286
3287 Tue Oct 14 17:08:22 1997  Olaf Weber  <infovore@xs4all.nl>
3288
3289         * xgetcwd.c: Rename DO_NOT_USE_GETCWD to GETCWD_FORKS.
3290         * common.ac: Add a test for GETCWD_FORKS.
3291         * acconfig.h: Include GETCWD_FORKS.
3292
3293 Mon Oct 13 19:42:58 1997  Olaf Weber  <infovore@xs4all.nl>
3294
3295         * path-elt.c (element): Always return a new string rather than a
3296         part of the path, as the returned string may be modified.
3297
3298         * tex-file.c (remove_dbonly): Replaced hard-coded ':' with
3299         ENV_SEP.  From Fabrice Popineau.
3300
3301         * common.ac, configure.in: Move definition of KPSEVERSION from
3302         common.ac to configure.in.
3303
3304         * common.ac: Check for presence of getcwd.
3305
3306         * xgetcwd.c: Use getcwd in preference to getwd, unless
3307         DO_NOT_USE_GETCWD is defined.
3308
3309         * MakeTeX.cnf: Made varfonts the default.
3310
3311         * elt-dirs.c, path-elt.c, tilde.c, variable.c: Print (nil) instead
3312         of (null), so we can distinguish *printf being fed a null pointer.
3313
3314         * tex-file.c: remove_dbonly: Corrected off-by-one error in
3315         allocation.
3316
3317 Sat Oct 11 13:48:33 1997  Olaf Weber  <infovore@xs4all.nl>
3318
3319         * elt-dirs.c (main) [TEST, AMIGA]: Changed test code for Amiga.
3320         From Andreas Scherer <Scherer@physik.rwth-aachen.de>.
3321
3322 Mon Oct  6 16:36:50 1997  Olaf Weber  <infovore@xs4all.nl>
3323
3324         * install.texi: Document --enable-maintainer-mode switch.
3325
3326 Sat Oct  4 19:27:22 1997  Olaf Weber  <infovore@xs4all.nl>
3327
3328         * MakeTeXnames.cnf: Add "strip" feature for backwards
3329         compatibility with 7.0.
3330         * Use a new set of MakeTeX* scripts, from Thomas Esser.
3331
3332 Fri Oct  3 09:54:47 1997  Olaf Weber  <infovore@xs4all.nl>
3333
3334         * kpsewhich.c (path_expand): Don't scribble in the datastructures
3335         of the system to get rid of trailing slash, use "%.*s" format of
3336         printf instead.
3337
3338         * Makefile.in (texmf.sed, paths.h): Take the changes to texmf.cnf.in
3339         into account.
3340         * texmf.cnf.in: Redo variable definitions for the sake of clarity.
3341
3342         * hash.c (hash_create): Make ret static to work around a gcc
3343         optimizer bug on the Alpha.
3344
3345         * elt-dirs.c (do_subdir,expand_elt): Cleanup by Greg Hudson
3346         <ghudson@MIT.EDU>, which might fix the '//' in path problem on the
3347         Amiga as well.
3348
3349         * xrealloc.c: Get prototype for realloc from config.h, give
3350         prototype for xmalloc, prototype xrealloc itself.  After Fabrice
3351         Popineau.
3352
3353         * xmalloc.c: Give xmalloc a prototype, get prototype for malloc
3354         from config.h.  After Fabrice Popineau.
3355
3356         * tex-file.c [TEX_SUFFIXES]: Brought into sync with tex.ch.
3357
3358         * install.texi: Extend comments on shared library support.
3359
3360 Thu Oct  2 00:14:57 1997  Olaf Weber  <infovore@xs4all.nl>
3361
3362         * texmf.cnf.in [buf_size]: Increased from 3000 to 10000.
3363
3364         * tex-file.h (enum kpse_src_type): removed trailing comma.  From
3365         Ezra Peisach <epeisach@auriga.rose.brandeis.edu>.
3366
3367         * c-proto.h [AA]: Obsolete due to changes to web2c.y; removed.
3368
3369         * bugs.texi: Document KPSE_DEBUG_VARS.
3370         * debug.h [KPSE_DEBUG_VARS]: New #define for debugging.  From
3371         Nicolai Langfeldt <janl@math.uio.no>.
3372         * variable.c (kpse_var_value): Add code to report how variables
3373         were expanded.  From Nicolai Langfeldt <janl@math.uio.no>.
3374
3375         * progname.c (selfdir) [!AMIGA]: Directories were mistaken for
3376         executables.  From Matthias Clasen
3377         <mclasen@sun2.mathematik.uni-freiburg.de>
3378
3379         * tex-file.c (remove_dbonly): New function that strips the !! from
3380         path specifications.  Called when creating the path for
3381         kpse_db_format.  From Thomas Esser <te@informatik.uni-hannover.de>
3382
3383         * install.texi: The default installation directory is not always
3384         /usr/local, as configure will pick the location of an existing tex
3385         installation.
3386
3387 Wed Oct  1 13:43:18 1997  Olaf Weber  <infovore@xs4all.nl>
3388
3389         * texmf.cnf.in: Various definitions have changed to take advantage
3390         of the new brace expansion code.  The various intermediate
3391         variables (fontdir, web2cdir, ...) have been removed because you
3392         could burn yourself severely by accidentally setting these
3393         undocumented variables -- this happened with some versions of make
3394         during compilation.
3395
3396 Tue Sep 30 16:14:48 1997  Olaf Weber  <infovore@xs4all.nl>
3397
3398         * kpathsea.texi: Document changes in brace expansion.
3399         * expand.c (array_concat): reversed the order concatenation, which
3400         result in more usable brace expansion.
3401         (kpse_expand_kpse_dot): new function.
3402         (kpse_path_expand): call kpse_expand_kpse_dot to expand relative
3403         components using KPSE_DOT, if the latter is defined.
3404
3405         * common.ac: Define the version string.
3406         * version.c: Replaced version string with a define.
3407         * acconfig.h: Added defines for version strings.
3408         * Makefile.in: Let version = @KPSEVERSION@.
3409         * common.ac: Introduce KPSEVERSION for version.
3410
3411         * tex-file.c (kpse_maketex_option): choose proper mf and tfm
3412         formats rather than tex.
3413
3414 Mon Sep 29 22:47:23 1997  Olaf Weber  <infovore@xs4all.nl>
3415
3416         * db.c (match): Repaired several off-by-one bugs.
3417
3418 Wed Sep 17 21:09:56 1997  Olaf Weber  <infovore@xs4all.nl>
3419
3420         * withenable.ac: Added the --enable-maintainer-mode option.
3421
3422 Tue Aug  5 17:26:16 1997  Karl Berry  <karl@cs.umb.edu>
3423
3424         * config.h (KPATHSEA): Define for the sake of kpathsea code
3425                 getting merged back into original distributions.
3426
3427 Sun Aug  3 17:14:47 1997  Karl Berry  <karl@cs.umb.edu>
3428
3429         * install.texi: simple.tex doesn't exist in LaTeX 2e; it's sample2e.
3430         From: "Jonathan I. Kamens" <jik@cam.ov.com> and others.
3431
3432         * db.c (kpse_db_search): Preprocessor # commands must start in
3433                 column 1 for DEC OSF/1 2.0 cc.
3434         From: Andrew Komornicki <komornic@maxwell.mps.nsf.gov>. 
3435
3436         * common.ac (program_inv_name): Correct usage of AC_TRY_LINK.
3437         From: "John W. Eaton" <jwe@bevo.che.wisc.edu>.
3438
3439         * Makefile.in (.SUFFIXES): Put before the .c.lo rule for the sake
3440                 of FreeBSD 2.1.7 make.
3441         From: Hiroto Kagotani <kagotani@in.it.okayama-u.ac.jp>.
3442
3443 Thu Apr 17 17:35:37 1997  Karl Berry  <karl@cs.umb.edu>
3444
3445         * Makefile.in (paths.h): Replace $web2cdir too,
3446         for the sake of DEFAULT_TEXMFCNF.
3447         From: M G Berberich <berberic@forwiss.uni-passau.de>.
3448
3449 Tue Apr  1 17:48:18 1997  Karl Berry  <karl@cs.umb.edu>
3450
3451         * fontmap.c: Doc fix.
3452         * kpsewhich.c (find_format): Try the long name if the file format
3453                 has no suffix, e.g., `dvips config'.
3454         From: "Tomasz J. Cholewo" <tjchol01@mecca.spd.louisville.edu>
3455
3456 Sun Mar 23 16:44:21 1997  Karl Berry  <karl@cs.umb.edu>
3457
3458         * tex-file.c (kpse_find_file): Don't assert that `name' is empty,
3459                 only NULL, so \input\relax doesn't crash.
3460         From: "Tomasz J. Cholewo" <T.Cholewo@ieee.org>.
3461
3462 Fri Mar 21 16:09:47 1997  Karl Berry  <karl@cs.umb.edu>
3463
3464         * MakeTeXPK, MakeTeXcommon: Support a redirect option to MTPK,
3465         from Thomas via Paul V.
3466
3467         * progname.c (selfdir) [AMIGA]: Fix from Andreas.
3468
3469 Sun Feb 16 15:49:07 1997  Karl Berry  <karl@cs.umb.edu>
3470
3471         * withenable.ac: `enableval' should have been `withval',
3472         and value must be quoted.
3473
3474         * MakeTeXTFM: Exit if mf fails, a la MakeTeXPK.
3475         From: Julian Gilbey <J.D.Gilbey@qmw.ac.uk>.
3476
3477 Thu Feb 13 16:08:30 1997  Karl Berry  <karl@cs.umb.edu>
3478
3479         * texmf.cnf.in (latex2*_inputs): Put $dbtex/generic before the
3480         ``other'' latex version.
3481         From: Olaf Weber <Olaf.Weber@cwi.nl>.
3482
3483         * progname.c (selfdir): Protect against argv0 being dir/exename,
3484         not found in PATH.  Happens under Solaris.
3485         From: Ross Alexander <r.alexander@auckland.ac.nz> (and many others).
3486
3487 Sun Feb 09 15:27:15 1997  Fabrice POPINEAU  <popineau@ese-metz.fr>
3488
3489         * progname.c (kpse_set_progname): Added braces around Win32 code,
3490         because of variables declaration.
3491
3492 Fri Feb  7 11:53:09 1997  Karl Berry  <karl@cs.umb.edu>
3493
3494         * Version 3.0.
3495
3496         * MakeTeXMF: Syntax problems with dc*.  Fix from Thomas.
3497
3498         * MakeTeX*: sed command to strip off all but the first of multiple
3499         trees in $TEXMF was faulty.
3500
3501         * c-pathch.h (ENV_SEP, ENV_SEP_STRING) [AMIGA]: Change to ;
3502         for Andreas.  Then Amiga binaries may be able to share
3503         the same texmf.cnf with Unix and NT.
3504
3505         * texmf.cnf.in (main_memory): Decrease back to 263,000.
3506         It's not worth allocating 7MB on everyone's machine just
3507         to do xy-pic samples.  Add a comment about it.
3508
3509 Thu Feb  6 10:27:50 1997  Karl Berry  <karl@cs.umb.edu>
3510
3511         * db.c (kpse_db_search): If an alias exists on disk, and the
3512         original entry in ls-R doesn't, use the alias.  Idea, sample code
3513         from Fabrice.
3514
3515         * cnf.c (do_line): Add awful kludge to translate ; to :
3516         when reading texmf.cnf values under Unix.  The idea is
3517         to be able to write a single texmf.cnf that will work
3518         under both NT and Unix.
3519
3520         * db.c: Doc fixes.
3521
3522         * MakeTeXcommon: Set ps_to_pk.
3523         * MakeTeXPK: Use ps_to_pk instead of hardwiring gsftopk.
3524         * MakeTeX.site: Include ps_to_pk comment.
3525
3526         * texmf.cnf.in (TEXMFCNF): Include SELFAUTOLOC (at the front).
3527         * progname.c (kpse_set_progname): Include SELFAUTOLOC for the real
3528         directory.  It may be useful.  Suggested by Andreas.
3529
3530         * MakeTeXcommon: Add case for fc.
3531         * MakeTeX.site: Add comment for fc.
3532         * MakeTeXMF: Add case for fc, generated like Sauter.
3533         From Francois and Thomas.
3534
3535         * progname.c [WIN32]: SELFAUTODIR fix from Fabrice.
3536
3537         * kpathsea.h: Do not #include <kpathsea.h> (infinite loop).
3538         From Fabrice and Richard.
3539
3540 Tue Feb  4 13:20:09 1997  Karl Berry  <karl@cs.umb.edu>
3541
3542         * tilde.c: xstrdup the result from getenv,
3543         since we end up freeing it with a path element of `~'.
3544
3545         * MakeTeX.site: Include RCS id.
3546
3547         * MakeTeX.site: Replace sample dc assignment with ec.
3548
3549         * MakeTeXMF: Handle ec, use exbase for tc.
3550
3551         * MakeTeXcommon (ecfontdir,tcfontdir): New variables.
3552
3553 Tue Feb 04 15:11:29 1997  Fabrice POPINEAU  <popineau@ese-metz.fr>
3554
3555         * progname.c: argv[0] under Win95 is set to the short
3556         filename of the executable run. Changed the way
3557         program_invocatio_name is retrieved : used the SearchPath() win32
3558         call, next FindFirstFile() to get the long filename. The selfdir
3559         stuff is not used any more for win32.
3560
3561 Mon Feb  3 18:01:02 1997  Karl Berry  <karl@cs.umb.edu>
3562
3563         * kpsewhich.c (read_command_line): Check for -1, not EOF,
3564         per new getopt.
3565
3566 Sun Feb  2 16:06:42 1997  Karl Berry  <karl@cs.umb.edu>
3567
3568         * texmf.cnf.in (PKFONTS.xdvi): Replace `gsftopk,ps2pk' by `modeless'.
3569         * MakeTeXPK (mode): Use `modeless' instead of `gsftopk'.
3570
3571         * tex-file.c: Look for TEXINDEXSTYLE before INDEXSTYLE.
3572
3573 Sat Feb  1 16:31:39 1997  Karl Berry  <karl@cs.umb.edu>
3574
3575         * texmf.cnf.in: Doc fix.
3576
3577         * progname.c (my_dirname): Check for device separators at the
3578         beginning fo the string.  From Andreas.
3579
3580         * c-pathch.h (IS_DIR_SEP) [AMIGA]: New definition from Andreas.
3581         (NAME_BEGINS_WITH_DEVICE): Remove.
3582
3583         * tex-make.c (maketex) [AMIGA]: Have to call system instead of popen
3584         due to different interface.  From Andreas.
3585
3586         * progname.c (selfdir): Check self, not ret, for exiting the loop.
3587         (remove_dots): Missing indirection on ret.
3588         From Fabrice.
3589
3590 Tue Jan 21 08:26:17 1997  Karl Berry  <karl@cs.umb.edu>
3591
3592         * elt-dirs.c: Doc fixes.
3593
3594         * db.c (match): Don't return false just because the path element
3595         ended in /.
3596         Bug from: Richard Walker <Richard.Walker@cs.anu.edu.au>.        
3597
3598         * expand.c (kpse_path_expand): Do variable expansion before
3599         splitting on path elements.
3600         Bug from: Richard Walker <Richard.Walker@cs.anu.edu.au>.        
3601
3602         * tilde.c [TEST]: Function name changed.
3603         From: Richard Walker <Richard.Walker@cs.anu.edu.au>.
3604
3605         * texmf.cnf.in (MAILCAPLIBDIR): Rename from MAILCAPDIR.
3606         From Ulrik.
3607
3608 Tue Jan 21 09:34:20 1997  Fabrice POPINEAU  <popineau@ese-metz.fr>
3609
3610         * c-pathch.h: NAME_BEGINS_WITH_DEVICE(string) new macro testing
3611         for the presence of a device name in front of the string.
3612
3613         * progname.c (remove dots): stop before device name if
3614         present. When building the filename, do not add leading DIR_SEP if
3615         there is a device.
3616
3617         * pathsearch.c (path_search): avoid searching the whole disk
3618                 adapted for win32.
3619
3620         * db.c: support aliases file along with db files. An alias file is
3621         named with ALIAS_NAME and the hashtable size is
3622         ALIAS_HASH_SIZE. When a name looked for has an alias, the alias is
3623         searched instead of the original name. The format of the aliases
3624         file is "real_name alias_name", one pair per line. Currently only
3625         for WIN32.
3626
3627 Mon Jan 20 12:01:14 1997  Karl Berry  <karl@cs.umb.edu>
3628
3629         * progname.c: Amiga patch from Andreas.
3630
3631 Sun Jan 19 14:29:00 1997  Karl Berry  <karl@cs.umb.edu>
3632
3633         * pathsearch.c (path_search): Strip off all but one of leading /'s.
3634         We never want to search the whole disk.
3635
3636         * progname.c: Expand symlinks off the final filename, not the
3637         directory name.
3638
3639 Sat Jan 18 14:39:00 1997  Karl Berry  <karl@cs.umb.edu>
3640
3641         * texmf.cnf.in (param_size): Increase to 500 for the chemical
3642         formula macro package.  From Thomas.
3643
3644         * progname.c (expand_symlinks, ReadSymLink, CopyFirst, StripFirst,
3645         StripLast): New functions to expand symbolic links for SELFAUTO*.
3646         Noted by Thomas.
3647
3648         * texmf.cnf.in (PKFONTS.xdvi): Fix tpyo.
3649         Document that memory changes
3650         (trie_size): Increase to 64000.
3651
3652 Fri Jan 17 13:08:08 1997  Karl Berry  <karl@cs.umb.edu>
3653
3654         * progname.c (remove_dots): Don't free the constant null string.
3655         From Andreas.
3656
3657         * texmf.cnf.in (dbfontdir): Change to dbfonts (the commented-out one).
3658
3659 Thu Jan 16 10:13:19 1997  Karl Berry  <karl@cs.umb.edu>
3660
3661         * cnf.c (kpse_cnf_get): Avoid recursive init, due to new
3662         $TETEXDIR and other variables in default TEXMFCNF value.
3663
3664         * getopt*, strtol.c: New versions from /gd/gnu/lib.
3665
3666         * c-std.h (ALLOC_RETURN_TYPE): Only define if we're going to use it.
3667
3668         * acconfig.h (EDITOR): Oops, %s not +%s.
3669         From: tim@maths.tcd.ie.
3670
3671         * progname.c (kpse_set_progname): One more my_dirname call
3672         to get the parent and the grandparent in the environment variables.
3673
3674         * texmf.cnf.in (texdir): Rename from tex, to avoid clash with
3675         TEX used by makempx -- win32 doesn't distinguish case on envvars.
3676         From Fabrice.
3677         (WEB2CDIR): Lowercase, so it doesn't end up in paths.h, just
3678         for cleanliness.
3679
3680         * progname.c (kpse_set_progname): Pass program_invocation_name
3681         to selfdir instead of progname, just in case we
3682         HAVE_PROGRAM_INVOCATION_NAME and it's something different.
3683         From Fabrice.
3684
3685         * tex-file.c (kpse_open_file): ocp, ofm and ovf should use
3686         FOPEN_RBIN_MODE.  From Fabrice and John Plaice.
3687
3688         * progname.c [AMIGA]: Fix syntax errors, remove_dots not necessary.
3689         From Andreas Scherer.
3690
3691         * MakeTeXupdate: MakeTeXls-R isn't in the conf dir anymore, just
3692                 in the regular path.
3693         From Thomas.
3694
3695 Sun Jan 12 17:22:35 1997  Karl Berry  <karl@cs.umb.edu>
3696
3697         * cnf.c (read_all_cnf): Do not test unallocated memory on empty
3698         lines; crashed on Alphas.
3699
3700         * progname.c (dirname): Rename to my_dirname to avoid clash on Alphas.
3701
3702 Sat Jan 11 16:28:54 1997  Karl Berry  <karl@cs.umb.edu>
3703
3704         * c-std.h (calloc, malloc, realloc) [!STDC_HEADERS]: Only declare
3705         in this case.
3706
3707 Tue Jan  7 17:44:01 1997  Karl Berry  <karl@cs.umb.edu>
3708
3709         * MakeTeXPK: Doc fix.
3710
3711         * texmf.cnf.in (KPSE_DOT): Define.
3712
3713         * c-memstr.h: Doc fix.
3714
3715 Wed Jan  1 16:58:02 1997  Karl Berry  <karl@cs.umb.edu>
3716
3717         * pathsearch.h (kpse_filename_component): Declare this.
3718         * path-elt.c: Define it.
3719         * progname.c (remove_dots): New function to remove . and ..
3720         filename components.  Subsumes slashify, it turns out.
3721
3722         * Makefile.in (install-exec): Install MakeTeXls-R in $(scriptdir).
3723
3724 Mon Dec 30 16:22:42 1996  Karl Berry  <karl@cs.umb.edu>
3725
3726         * progname.c (kpse_set_progname): Strip off .exe if present.
3727
3728         * cnf.c: Doc fix.
3729
3730         * progname.c (slashify): New function, to translate \ into / for WIN32.
3731         (selfdir): Call it.
3732
3733         * lib.h (FILE{STR,CHAR}CASEEQ) [MONOCASE_FILENAMES]: Define these,
3734         continuing yesterday's changes.
3735         From Fabrice.
3736
3737 Sun Dec 29 13:26:09 1996  Karl Berry  <karl@cs.umb.edu>
3738
3739         * db.c (match, elt_in_db),
3740         * elt-dirs.c (cached),
3741         * hash.c (hash_lookup),
3742         * kpsewhich.c (find_format, TRY_SUFFIX),
3743         * tex-file.c,
3744         * cnf.c (do_line): Compare filenames with FILESTRCASEEQ or
3745         FILECHARCASEEQ to support monocase filesystems.
3746         * hash.c (hash) [MONOCASE_FILENAMES]: Transform keys to uppercase.
3747         From Fabrice.
3748
3749         * basename.c (basename):  Consider device separators;
3750         if given 'e:foo.tex', should return 'foo.tex'.
3751         From: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.
3752
3753         * types.h (boolean): Protect with #ifndef HAVE_BOOLEAN, for NeXT.
3754         From: Raf Schietekat <flexus!rfschtkt@colds.ruca.ua.ac.be>
3755
3756 Sat Dec 28 07:18:48 1996  Karl Berry  <karl@cs.umb.edu>
3757
3758         * progname.c [AMIGA]: Add code for this case from Andreas S.
3759
3760 Fri Dec 27 17:38:43 1996  Karl Berry  <karl@cs.umb.edu>
3761
3762         * progname.c (S_IX{USR,GRP,OTH}): Define if not defined, for the NeXT.
3763         From: Gregor Hoffleit <flight@mathi.uni-heidelberg.de>.
3764
3765         * texmf.cnf.in (TEXMFCNF): Rewrite using /.'s etc.  From Thomas.
3766
3767 Sun Dec 15 06:21:22 1996  Karl Berry  <karl@cs.umb.edu>
3768
3769         * common.ac (AC_CHECK_FUNCS): Add getwd.
3770
3771         * lib.h (xgetcwd): Declare.
3772         * Makefile.in (objects): Add xgetcwd.lo.
3773         * xgetcwd.c: New file from xdvik.
3774
3775         * texmf.cnf.in (TEXMFCNF): Add $SELFAUTODIR:$SELFAUTOPARENT.
3776         * progname.c (selfdir, dirname, etc.): New functions.
3777         (kpse_set_progname): Set SELFAUTODIR and SELFAUTOPARENT.
3778
3779 Sat Dec 14 14:41:39 1996  Karl Berry  <karl@cs.umb.edu>
3780
3781         * tex-file.h (kpse_src_type): New types kpse_tex{doc,source}_format.
3782         * tex-file.c (TEXDOC_ENVS, TEXSOURCE_ENVS): New envvars.
3783         (kpse_init_format): Handle them.
3784         * texmf.cnf.in (TEXDOCS, TEXSOURCES): New values.
3785         * kpathsea.texi: Document them.
3786
3787 Fri Dec 13 16:46:00 1996  Karl Berry  <karl@cs.umb.edu>
3788
3789         * expand.h: Doc fix.
3790
3791 Thu Dec 12 17:25:25 1996  Karl Berry  <karl@cs.umb.edu>
3792
3793         * xputenv.c [WIN32]: Work around putenv ("FOO=") unsetting
3794         FOO under NT.  From Fabrice.
3795
3796 Mon Dec  9 23:27:45 MET 1996 Thomas Esser <te@informatik.uni-hannover.de>
3797
3798         * kpsewhich.c: add option -show-path to display the search path for a
3799         given file type.
3800
3801 Mon Dec  9 17:23:32 1996  Karl Berry  <karl@cs.umb.edu>
3802
3803         * readable.c (READABLE): Check !S_ISDIR instead of S_ISREG,
3804         to allow fifo's.
3805         Suggestion from: Krzysio Leszczynski <chris@camk.edu.pl>.
3806
3807         * tex-file.c (kpse_open_file): Open VF files in binary mode.
3808         From Fabrice.
3809
3810         * types.h (boolean) [WIN32]: Remove this case, Fabrice 
3811         has found another solution.
3812
3813         * elt-dirs.c (expand_elt): Do not check for a device separator.
3814         From Fabrice.
3815
3816         * texmf.cnf.in (OTPINPUTS, OCPINPUTS): These use a subdirectory omega/.
3817         From John P.
3818
3819 Sun Dec  8 17:15:43 1996  Karl Berry  <karl@cs.umb.edu>
3820
3821         * c-proto.h (DllImport): Define here.
3822         * config.h (DllImport): Instead of here.
3823         * kpsewhich.c: Other DllImport changes.
3824         * line.c [WIN32]: Include <malloc.h>.
3825         * tex-file.c: Oops, had FOPEN_RBIN_MODE vs. R reversed.
3826         * tex-make.c (kpse_make_tex_discard_errors): Add Dllimport.
3827         * types.h (boolean): Bizarre WIN32 definition.
3828         From: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.
3829
3830 Sat Dec  7 22:12:26 MET 1996 Thomas Esser <te@informatik.uni-hannover.de>
3831
3832         * MakeTeXnames: Ensure that cmr1234 will be mapped to
3833         jknappen/sauter while cmr12 will still be mapped to public/cm.
3834
3835 Fri Dec  6 15:08:35 1996  Karl Berry  <karl@cs.umb.edu>
3836
3837         * texmf.cnf.in (OFMFONTS, etc.): New definitions for Omega.
3838         * tex-file.h (kpse_file_format_type): Define kpse_ocp_format, etc.
3839         * acconfig.h (MAKE_OMEGA_{OFM,OCP}_BY_DEFAULT): Include these.
3840         * tex-file.c (kpse_init_format): New cases for the Omega types.
3841         (OCP_ENVS, etc.): New environment variable lists.
3842         From: John Plaice <plaice@iad.ift.ulaval.ca>.
3843
3844         * texmf.cnf.in: Use fonts//<format> consistently,
3845         instead of fonts/<format>.
3846
3847         * lib.h (itoa): Remove, it seems we don't use this function any more.
3848         * itoa.c: Remove.
3849         * acconfig.h (HAVE_ITOA): Remove this.
3850         * Makefile.in (objects): Remove.
3851
3852         * cnf.c (do_line): Oops, tested prog after freeing it,
3853         should have tested prog2.
3854         From: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.
3855
3856 Tue Dec  3 14:57:52 1996  Karl Berry  <karl@cs.umb.edu>
3857
3858         * Makefile.in (objects): Remove strtol.lo, that's generated by
3859         configure.
3860         From: Gregor Hoffleit <flight@mathi.uni-heidelberg.de>.
3861
3862 Mon Dec  2 09:05:54 1996  Karl Berry  <karl@cs.umb.edu>
3863
3864         * MakeTeXcommon: Set KPSE_DOT before the trap.  From Thomas.
3865
3866 Tue Dec  3 18:02:08 1996  Ulrik Vieth  <vieth@thphy.uni-duesseldorf.de>
3867
3868         * texmf.cnf.in (TRFONTS): Set this to /usr/lib/font/devpost
3869         indepent of $prefix.
3870
3871 Mon Dec  9 00:28:58 1996  Ulrik Vieth  <vieth@thphy.uni-duesseldorf.de>
3872
3873         * MakeTeXcommon: Use `basename $0` in usage and version messages
3874         for consistency with other programs and scripts. 
3875         Also accept -help, -version in addition to --help, --version.
3876
3877         * MakeTeX{MF,PK,TFM,ls-R,mkdir,names,update}: 
3878         Use `basename $0` in usage messages for consistency.
3879         
3880 Tue Dec  3 18:02:08 1996  Ulrik Vieth  <vieth@thphy.uni-duesseldorf.de>
3881
3882         * texmf.cnf.in (TRFONTS): Set this to /usr/lib/font/devpost
3883         indepent of $prefix.
3884
3885 Thu Nov 28 16:33:35 1996  Karl Berry  <karl@cs.umb.edu>
3886
3887         * common.ac (AC_ISC_POSIX): Remove this; it causes warnings from
3888         Autoconf that make no sense, isn't cached, and is probably of
3889         dubious value today.
3890         * configure.in: Move the klibtool stuff to common.ac, so the
3891         program configure.in's can find it.
3892
3893 Wed Nov 27 14:43:41 1996  Karl Berry  <karl@cs.umb.edu>
3894
3895         * configure.in: Doc fix.
3896         * acconfig.h (HAVE_BASENAME, etc.): #undef these symbols so
3897         Autoheader can replace them; we use a non-standard macro to test
3898         for them, since they're part of the possibly-shared library.
3899
3900 Mon Nov 25 14:04:42 1996  Karl Berry  <karl@cs.umb.edu>
3901
3902         * Makefile.in (texmf.sed): Replace all $(texmf) with `$TEXMF'
3903         except on the TEXMF line itself.
3904
3905 Sun Nov 24 10:06:35 1996  Karl Berry  <karl@cs.umb.edu>
3906
3907         * Makefile.in (texmf.sed): Insert missing quote.
3908         (distdir): Use doc instead of listing all the targets (we were
3909                 missing unixtex.ftp).
3910
3911         * kpsewhich.c (read_command_line): Print the integer equivalent of
3912         each format.
3913
3914 Sat Nov 23 15:38:31 1996  Karl Berry  <karl@cs.umb.edu>
3915
3916         * xt.ac (with_x): Remove spurious ;;.
3917
3918 Fri Nov 22 18:00:41 1996  Karl Berry  <karl@cs.umb.edu>
3919
3920         * cnf.c (do_line): Let var.prog lines work if we're running prog.exe.
3921         This happens with --enable-shared.
3922         From Ulrik.
3923
3924 Mon Nov 18 16:10:48 1996  Karl Berry  <karl@cs.umb.edu>
3925
3926         * tex-file.c (kpse_troff_font_format): Change to DEFAULT_TRFONTS
3927         to make texmf.cnf.in change.
3928
3929 Fri Nov 15 14:13:36 1996  Karl Berry  <karl@cs.umb.edu>
3930
3931         * Makefile.in (texmf.sed): Get $TEXMF back into the paths.
3932         Noted by Andreas Scherer.
3933         (distdir): Add klibtool.version to the distribution.
3934         From Ulrik.
3935         (install-exec): Use INSTALL_SCRIPT for scripts.
3936
3937 Mon Nov 11 16:16:50 1996  Karl Berry  <karl@cs.umb.edu>
3938
3939         * various .c: Print (nil) instead of (null) so we can possibly
3940         detect printf of a null pointer.
3941
3942 Sun Nov 10 16:22:43 1996  Karl Berry  <karl@cs.umb.edu>
3943
3944         * xt.ac: New file so web2c and xdvi treat --with-x-toolkit uniformly.
3945         From Ulrik.
3946
3947 Thu Oct 31 15:38:48 1996  Karl Berry  <karl@cs.umb.edu>
3948
3949         * expand.c (kpse_path_expand): Do brace expansion first.
3950         (kpse_brace_expand): Expand each element of the brace expansion, so
3951         {~a,~b} expands.  Suggested by Thomas.
3952
3953 Fri Oct 25 16:51:14 1996  Karl Berry  <karl@cs.umb.edu>
3954
3955         * Makefile.in (install-data): Install an empty dir file if none exists.
3956         (mostlyclean: Remove PROF etc. subdirs here.
3957
3958 Tue Oct 22 13:56:20 1996  Karl Berry  <karl@cs.umb.edu>
3959
3960         * Makefile.in ($(library).h): Make the modtime of the file the
3961         same as the latest other .h; otherwise, we think kpathsea always
3962         has to be remade.
3963
3964 Sun Oct 20 18:06:36 1996  Karl Berry  <karl@cs.umb.edu>
3965
3966         * Makefile.in (distdir): No need to distribute copying.texi.
3967
3968 Mon Oct 14 11:32:51 1996  Karl Berry  <karl@cs.umb.edu>
3969
3970         * Changes for NT from: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.
3971
3972         * xputenv.c (putenv) [WIN32]: #include <stdlib.h> instead of declaring.
3973
3974         * tex-file.c (kpse_open_file): Use FOPEN_RBIN_MODE for tfm and gf
3975         formats.
3976
3977         * xopendir.h [!WIN32]: Conditionalize whole file.
3978         * xopendir.c (xopendir) [!WIN32]: Conditionalize defn.
3979
3980         * kpsewhich.c (DllImport) [_WIN32]: Define.
3981         (path_sep): Use ENV_SEP_STRING.
3982
3983         * progname.h,
3984         * lib.h,
3985         * debug.h (kpathsea_debug),
3986         * concatn.h (concatn): Give DllImport kludge.
3987
3988         * config.h (DOSISH) [WIN32]: #define.
3989         Also include <windows.h>, etc.
3990
3991         * c-std.h (getenv, popen, pclose) [WIN32]: Conditionalize decls.
3992         * c-fopen.h [WIN32]: Use rb and wb.
3993         * c-limits.h [HAVE_SYS_PARAM_H]: Conditionalize #ifdef.
3994         * common.ac: Check for <sys/param.h>
3995         * c-stat.h [WIN32]: #include <io.h> and #define stat _stat.
3996
3997 Sat Oct 12 11:10:45 1996  Karl Berry  <karl@cs.umb.edu>
3998
3999         * tex-file.c (kpse_find_file): Include a suffix in what we pass to
4000         kpse_fontmap_lookup.
4001
4002         * Makefile.in (paths.h): Remove extra $ when replacing $VARFONTS.
4003
4004 Tue Oct  8 16:40:07 1996  Karl Berry  <karl@cs.umb.edu>
4005
4006         * tex-glyph.c (try_fontmap): Do not return the first alias if it
4007         itself is an alias.  Also, if a particular alias succeeds,
4008         return that.
4009
4010 Sun Oct  6 17:52:58 1996  Karl Berry  <karl@cs.umb.edu>
4011
4012         * version.c: Doc fix.
4013
4014 Sat Oct  5 17:06:54 1996  Karl Berry  <karl@cs.umb.edu>
4015
4016         * kpsewhich.c (-must-exist): New option.
4017         (must_exist): New global.
4018
4019         * Makefile.in (install-data): Call install-info.
4020         * kpathsea.texi, *.texi: Use @url, @email, and @dircategory/@direntry.
4021
4022 Sat Sep 21 19:02:17 1996  Karl Berry  <karl@cs.umb.edu>
4023
4024         * MakeTeXnames.cnf: Doc fix.
4025
4026         * texmf.cnf.in (latex{2e,209}_inputs): Replace spurious `latex2e'.
4027         (TEXINPUTS.fontinst): New definition, including AFM files.
4028         (MFINPUTS, TFMFONTS, PKFONTS): Use $VARFONTS.
4029         From Thomas.
4030
4031 Sat Sep  7 16:00:53 1996  Karl Berry  <karl@cs.umb.edu>
4032
4033         * MakeTeXupdate,
4034         * MakeTeXnames,
4035         * MakeTeXmkdir,
4036         * MakeTeXls-R,
4037         * MakeTeXTFM,
4038         * MakeTeXPK,
4039         * MakeTeXMF (version): Call kpsewhich in MakeTeXcommon, not here.
4040
4041         * version.c: Doc fix.
4042
4043         * kpsewhich.c (read_command_line): Improve formatting of --help
4044         message.
4045
4046 Fri Sep  6 19:16:20 1996  Karl Berry  <karl@cs.umb.edu>
4047
4048         * kpsewhich.c (read_command_line): Print the bug reporting address.
4049         * version.c (kpse_bug_address): New global.
4050
4051 Thu Sep  5 19:08:04 1996  Karl Berry  <karl@cs.umb.edu>
4052
4053         * Makefile.in: Doc fix.
4054
4055         * configure.in: Include ../acklibtool.m4 here.
4056         * common.ac: Not here.  Move calls to kb_*LIBTOOL* functions, too.
4057
4058 Sun Sep  1 17:34:17 1996  Karl Berry  <karl@cs.umb.edu>
4059
4060         * Makefile.in (.c.lo): Put filename right after $(CC), for Klibtool.
4061         (KPATHSEA_CC): Do not include ALL_CFLAGS here.
4062         (paths.h): Instead of deleting definitions with lowercase variable
4063         names, don't include them in the first place.
4064
4065 Sat Aug 31 16:15:33 1996  Karl Berry  <karl@cs.umb.edu>
4066
4067         * common.ac: Call kb_KLIBTOOL_REPLACE_FUNCS and kb_PROG_LIBTOOL
4068         instead of the AM_* versions.
4069         Also, include acklibtool.m4 instead of aclibtool.m4.
4070
4071         * Makefile.in (liblobjs): Change to use @LTLIBOBJS@.
4072
4073 Sat Aug 17 17:22:18 1996  Karl Berry  <karl@cs.umb.edu>
4074
4075         * texmf.cnf.in (PKFONTS*, GFFONTS): Need another / to match TDS.
4076
4077 Sat Aug 10 15:46:46 1996  Karl Berry  <karl@cs.umb.edu>
4078
4079         * texmf.cnf.in (TFMFONTS, VFFONTS): Update with trailing // for TDS.
4080
4081         * MakeTeXupdate,
4082         * MakeTeXnames.cnf,
4083         * MakeTeXnames,
4084         * MakeTeXTFM,
4085         * MakeTeXMF,
4086         * MakeTeXmkdir,
4087         * MakeTeXls-R,
4088         * MakeTeXPK: Change --expand to -expand-var.
4089
4090         * tex-glyph.c (try_fontmap): Return the real name of the first
4091                 alias as the font name.
4092         (kpse_find_glyph): Change call, free string if necessary, etc.
4093         Basic idea from a patch sent by wls@astro.umd.edu.
4094
4095 Fri Aug  9 15:42:40 1996  Karl Berry  <karl@cs.umb.edu>
4096
4097         * Makefile.in (paths.h): Substitute for dbtex, dbfonts, and prefix.
4098         Also, do not define lowercase variables.
4099
4100 Thu Aug  8 14:50:29 1996  Karl Berry  <karl@cs.umb.edu>
4101
4102         * texmf.cnf.in (TEXCONFIG, INDEXSTYLE): Use //, just in case there
4103                 are subdirectories. From Thomas.
4104
4105 Tue Aug  6 13:59:03 1996  Karl Berry  <karl@cs.umb.edu>
4106
4107         * kpsewhich.c (lookup): Handle user_path case.
4108
4109 Mon Aug  5 17:23:56 1996  Karl Berry  <karl@cs.umb.edu>
4110
4111         * kpsewhich.c: Rename -expand to -expand-var,
4112         -path to -expand-path, and add new -path option to specify
4113         explicit path for lookups.
4114
4115         * tex-file.h (kpse_ist_format): New format.
4116         * tex-file.c (kpse_init_format): Initialize it.
4117         (IST_ENVS): New #define.
4118         * texmf.cnf.in (INDEXSTYLE): Set the default path.
4119
4120         * tilde.c (kpse_tilde_expand): If $HOME starts with //, only use
4121         one of the slashes.
4122
4123 Sat Aug  3 17:18:00 1996  Karl Berry  <karl@cs.umb.edu>
4124
4125         * kpsewhich.c (read_command_line): Change Usage: line to conform.
4126
4127 Fri Aug  2 11:57:23 1996  Karl Berry  <karl@cs.umb.edu>
4128
4129         * db.c (db_build): Test len > 0 before evaluating len - 1.
4130         From: "Peter Henderson, Syrinx Speech Systems P/L, Tel: (+61-2)
4131                 956-6540" <peterh@syrinx.com.au>.
4132
4133 Sat Jul 27 14:35:17 1996  Karl Berry  <karl@cs.umb.edu>
4134
4135         * Makefile.in (paths.h): Change target name to
4136         $(kpathsea_dir)/paths.h, for rdepend.make dependency.
4137
4138         * Makefile.in (liblobjs): New variable, gets @LIBTOOL_LIBOBJS@.
4139         * common.ac (kbAC_LIBTOOL_REPLACE_FUNCS): Use this new macro instead
4140         of AC_REPLACE_FUNCS.
4141
4142 Fri Jul 26 15:51:55 1996  Karl Berry  <karl@cs.umb.edu>
4143
4144         * Makefile.in (KPATHSEA_CC): Include $(compile).
4145         (.c.lo): Change suffix rule for libtool 0.5.
4146         (install-exec): Use new variables INSTALL_LIBTOOL_*.
4147
4148 Mon Jul  8 17:21:34 1996  Karl Berry  <karl@laurie>
4149
4150         * unixtex.texi: Rename from obtain.texi.
4151
4152 Fri Jun  7 19:10:52 1996  K. Berry  <kb@cs.umb.edu>
4153
4154         * common.ac: Include ../kpathsea/withenable.ac.
4155
4156 Thu Jun  6 16:34:43 1996  K. Berry  <kb@cs.umb.edu>
4157
4158         * Makefile.in (kpsewhich): Use libtool commands etc. instead of
4159         our shared lib stuff.
4160         * common.ac: Replace our shared lib stuff with gm_PROG_LIBTOOL.
4161         * withenable.ac: Remove --enable-shared stuff.
4162
4163 Sat Jun  1 15:05:42 1996  Karl Berry  <karl@cs.umb.edu>
4164
4165         * MakeTeX*: Add RCS info for version strings.
4166
4167 Thu May 30 13:46:46 1996  Karl Berry  <karl@cs.umb.edu>
4168
4169         * MakeTeXPK: Doc fix; we're called with the base font name
4170         (pplr8r), not the user font name (pplr).
4171
4172         * db.c (ignore_dir_p): Remove the dot_pos != dirname test,
4173         since it's always true. It caused directory names containing .'s
4174         (e.g., `dc-1.2') to be ignored.
4175         From Thomas Esser and Frank Mittelbach.
4176
4177 Sun May 26 16:06:41 1996  Karl Berry  <karl@cs.umb.edu>
4178
4179         * tex-make.c (kpse_make_tex): If called kpse_init_form, reassign
4180         our local variable, too.
4181
4182 Thu May 23 16:20:53 1996  Karl Berry  <karl@cs.umb.edu>
4183
4184         * MakeTeXnames: Doc fix.
4185
4186 Fri May  3 13:34:51 1996  Karl Berry  <karl@cs.umb.edu>
4187
4188         * withenable.ac: Use AC_ARG_WITH instead of AC_ARG_ENABLE for
4189         maketex*.
4190
4191         * tex-file.c (kpse_find_file): Oops, testing for kpse_pk_format
4192         twice, when meant to test for kpse_gf_format.
4193
4194         * cnf.c (do_line): Allow whitespace in variable values.
4195
4196         * texmf.cnf.in: Finish adding easier support for !!. From Joachim.
4197
4198 Wed May  1 16:30:56 1996  Karl Berry  <karl@cs.umb.edu>
4199
4200         * texmf.cnf.in (TEXCONFIG): Take $HOME back out again, we're going
4201         to hardwire a seach for dvipsrc in $HOME.
4202
4203 Mon Apr 29 14:02:03 1996  Karl Berry  <karl@cs.umb.edu>
4204
4205         * texmf.cnf.in (latex2e_inputs): Use just `latex', not `latex2e'.
4206         From: David Carlisle <carlisle@cs.man.ac.uk>.
4207         (TEXINPUTS, etc.): Also rewrite to make !! support easier to add.
4208         From: Joachim Schrod <schrod@iti.informatik.th-darmstadt.de>.
4209
4210         * install.texi: Document ksh/ash/Ultrix sh lossage, in favor of
4211         bash/bsh/sh5.
4212
4213 Sun Apr 28 15:02:55 1996  Karl Berry  <karl@cs.umb.edu>
4214
4215         * acconfig.h (ASM_NEEDS_UNDERSCORE): New define.
4216         From: Peter Breitenlohner <peb@MPPMU.MPG.DE>.
4217
4218         * Makefile.in (sharedlib_version): Remove unused variable.
4219
4220 Sat Apr 27 17:15:14 1996  Karl Berry  <karl@cs.umb.edu>
4221
4222         * texmf.cnf.in (hyph_size): Add this.
4223
4224 Tue Apr 23 07:34:05 1996  Karl Berry  <karl@cs.umb.edu>
4225
4226         * texmf.cnf.in (MIMELIBDIR, MAILCAPDIR): Add these.
4227         (MPXCOMMAND): And these.
4228
4229         * MakeTeX.site: New file, just an example.
4230
4231 Mon Apr 22 17:31:27 1996  Karl Berry  <karl@cs.umb.edu>
4232
4233         * MakeTeXnames.conf: Rename to MakeTeXnames.cnf.
4234         * MakeTeXnames: Change call.
4235         * Makefile.in (install-exec): Change install.
4236
4237 Sun Apr 21 12:09:06 1996  Karl Berry  <karl@cs.umb.edu>
4238
4239         * tex-file.h (kpse_set_program_enabled, kpse_maketex_option):
4240         Declare new functions.
4241         (kpse_src_type): Define new type.
4242         * tex-file.c (kpse_set_program_enabled): New function, so we can
4243         set this at all the various levels and get the overrides right.
4244         (kpse_maketex_option): Handle MakeTeX options in a common place.
4245         * proginit.c (kpse_init_prog): Call it, and remove the make_tex_pk
4246         argument.
4247         * proginit.h (kpse_init_prog): Likewise.
4248         * kpsewhich.c (parse_options): New options -maketex and -nomaketex,
4249         just calls kpse_maketex_option.
4250
4251         * Makefile.in ($(library).h): New target, made at dist time.
4252
4253 Sat Apr 20 17:21:24 1996  Karl Berry  <karl@cs.umb.edu>
4254
4255         * tex-file.c (kpse_find_file): Do not pound the disk on the first
4256         search if we might be trying the second.
4257
4258 Tue Mar 12 15:21:16 1996  Karl Berry  <karl@cs.umb.edu>
4259
4260         * MakeTeXPK: Restore check for mismatched mode and bdpi.  From Thomas.
4261
4262 Sun Mar 10 14:17:14 1996  Karl Berry  <karl@cs.umb.edu>
4263
4264         * MakeTeXnames.conf: Rename VARFONTS to VARTEXFONTS.
4265
4266         * MakeTeXcommon (trap): Oops, cd $KPSE_DOT before testing $STDOUT.
4267
4268 Sat Mar  9 17:57:02 1996  Karl Berry  <karl@cs.umb.edu>
4269
4270         * MakeTeXcommon (trap): cd back to KPSE_DOT before removing
4271         TEMPDIR, in case $TMPDIR is relative.  Reported by Thomas.
4272
4273 Fri Mar  8 11:41:22 1996  Karl Berry  <karl@cs.umb.edu>
4274
4275         * db.c (kpse_db_search): Add debug statement with the result of
4276         the match.
4277
4278         * tex-make.c (kpse_make_tex): Don't look for the arg spec here.
4279         * tex-file.c (init_maketex): Do it here. Check for disbaling in
4280         the config file, too.
4281
4282         * tex-make.c (misstex): Look for TEXMFOUTPUT in texmf.cnf.
4283         * texmf.cnf.in (TEXMFOUTPUT): Define this.
4284
4285         * kpathsea.texi (Suppressing warnings): New node to describe TEX_HUSH.
4286
4287         * tex-file.c (kpse_init_format): Include the numeric value of the
4288         format for use with kpsewhich --format.
4289
4290         * tex-hush.c: Support `all' to suppress everything.
4291
4292 Thu Mar  7 11:24:51 1996  Karl Berry  <karl@cs.umb.edu>
4293
4294         * kpsewhich.c: Change --program to --progname, for compatibility
4295         with TeX & co.
4296
4297         * texmf.cnf.in (TEXCONFIG): Remove ~ from default path, for
4298         consistency with everything else.
4299
4300         * readable.c: Let's call it TEX_HUSH instead of KPSE_NOWARN_PERM,
4301         so we can use it for checksum warnings, too. And for similarity
4302         with xdvi.
4303         * kpathsea.texi: Corresponding change.
4304         * tex-hush.[ch]: New files.
4305
4306 Wed Feb 28 15:16:32 1996  Karl Berry  <karl@cs.umb.edu>
4307
4308         * tex-make.c (misstex): Let the name missfont.log be configurable.
4309         * texmf.cnf.in (MISSFONT_LOG): Add this definition.
4310         * kpathsea.texi: Document this.
4311
4312 Sun Feb 25 16:55:35 1996  Karl Berry  <karl@cs.umb.edu>
4313
4314         * tex-file.c: Reverse order of alias & suffix searches, so we look
4315         for the original TFM name before aliases.
4316
4317 Sun Feb 18 16:24:50 1996  Karl Berry  <karl@cs.umb.edu>
4318
4319         * tex-file.c (xopenfile): Move this function to here and rename to
4320         kpse_open_file.
4321         * xopenfile.c: Remove this.
4322         * Makefile.in (objects): Remove xopenfile.o.
4323
4324 Thu Feb 15 12:57:56 1996  Karl Berry  <karl@cs.umb.edu>
4325
4326         * tex-make.c (maketex): Do not print the `kpathsea: Running ...'
4327         message if we're discarding output.
4328         (misstex): Do not log the missing file in missfont.log, either.
4329
4330 Sat Feb 10 14:59:23 1996  Karl Berry  <karl@cs.umb.edu>
4331
4332         * Makefile.in (sharedlib): Add new command here $(shared_postlink)
4333         so we can make the necessary symlink.
4334         (shared_postlink): New variable
4335
4336 Fri Feb  9 15:46:55 1996  Karl Berry  <karl@cs.umb.edu>
4337
4338         * withenable.ac (maketex{mf,pk,tfm}-default): Move here from
4339         web2c/withenable.ac.
4340
4341 Wed Feb  7 16:52:08 1996  Karl Berry  <karl@cs.umb.edu>
4342
4343         * MakeTeXnames.conf: Extract this new script from MakeTeXcommon, sigh.
4344         * MakeTeX*: Other updates from Thomas --
4345         - replace the exec 3>&1 1>&2 by trap/subshell construction. The
4346                 3>&1 may cause the 'open fd bug' with bash.
4347         - ts is a typo. tc are the text companion fonts
4348         - replace >&3 by >$STDOUT where $STDOUT is a filename. Its content is
4349           displayed by the trap command in MTcommon.
4350         - added missing ;; in case/esac  
4351         - use : ${VAR=VAL} where possible
4352         - added mt_min_args
4353         - removed psfonts.map parsing (was only needed for ps2pk)
4354         - removed >&2 where redirection stdout->stderr is active anyway
4355         - removed </dev/null where redirection stdin<-/dev/null is active
4356                 anyway
4357         - Oops: MakeTeXTFM still used old code:  >$TEMPDIR/mtout.$$
4358         - add line
4359            trap 'test -f $STDOUT && cat $STDOUT; cd /; rm -rf $TEMPDIR; exit 0' 0 1 2 15
4360           to MakeTeXcommon
4361         - MT_FEATURES now in MakeTeXnames.conf since we need to read it
4362                 later than MakeTeXcommon
4363
4364 Tue Feb  6 17:04:25 1996  Karl Berry  <karl@cs.umb.edu>
4365
4366         * tex-file.h (kpse_file_format_type): Add afm and type1 support.
4367         * tex-file.c: Likewise.
4368         (kpse_init_format): In tex_ps_header_format, no longer need to
4369         recognize .pfa and .pfb.
4370         * texmf.cnf.in (AFMFONTS, T1FONTS): Likewise.
4371         * Makefile.in (paths.h): Include 0-9 in the regexp for the sake of
4372         T1FONTS.
4373
4374 Sat Feb  3 15:45:00 1996  Karl Berry  <karl@cs.umb.edu>
4375
4376         * Makefile.in (DEFS): Move to common.make.
4377
4378 Mon Jan 29 17:01:44 1996  Karl Berry  <karl@cs.umb.edu>
4379
4380         * MakeTeXls-R: Doc fix.
4381
4382 Mon Jan  8 17:17:42 1996  Karl Berry  <karl@cs.umb.edu>
4383
4384         * tex-file.c: Doc fix.
4385
4386         * fontmap.c (MAP_NAME, MAP_HASH_SIZE): Conditionalize these #defines.
4387
4388 Sun Jan  7 17:38:00 1996  Karl Berry  <karl@cs.umb.edu>
4389
4390         * db.c (DB_HASH_SIZE, DB_NAME): Conditionalize these.
4391
4392         * MakeTeXcommon (dcfontdir, tsfontdir): Use supplier `jknappen'.
4393
4394 Mon Jan  1 15:14:42 1996  Karl Berry  <karl@cs.umb.edu>
4395
4396         * Makefile.in (distdir): Don't bother including freedom.texi.
4397
4398 Fri Dec 29 17:17:08 1995  Karl Berry  <karl@cs.umb.edu>
4399
4400         * Makefile.in: misc.make is now clean.make.
4401
4402 Tue Dec 26 14:21:08 1995  Karl Berry  <karl@cs.umb.edu>
4403
4404         * withenable.ac: New file with --enable option extracted from
4405         common.ac, for the top level to include.
4406
4407         * acconfig.h (MAKE_TEX_PK_BY_DEFAULT): Add this.
4408
4409         * readable.c (kpse_readable_file): Omit warning if
4410         KPSE_NOREAD_WARN is set to 1.
4411
4412 Wed Dec 13 14:14:09 1995  Karl Berry  <karl@cs.umb.edu>
4413
4414         * kpsewhich.c: Call kpse_init_format when necessary in the
4415         --format case.
4416
4417 Mon Dec 11 14:42:13 1995  Karl Berry  <karl@cs.umb.edu>
4418
4419         * common.ac: --disable-shared should not act like --enable-shared.
4420         From Ulrik.
4421
4422 Sun Dec 10 15:35:15 1995  Karl Berry  <karl@cs.umb.edu>
4423
4424         * tex-file.h (kpse_mft_format): New format.
4425         * tex-file.c (MFT_ENVS): New variable.
4426         (kpse_init_format): Initialize it.
4427         * texmf.cnf.in (MFTINPUTS): New variable.
4428
4429 Fri Dec  8 08:54:58 1995  Karl Berry  <karl@cs.umb.edu>
4430
4431         * xopenfile.c: Doc fix.
4432
4433 Mon Dec  4 17:23:34 1995  Karl Berry  <karl@cs.umb.edu>
4434
4435         * Makefile.in (check): Extra $ missing.
4436
4437 Sun Dec  3 13:42:54 1995  Karl Berry  <karl@cs.umb.edu>
4438
4439         * tex-file.c (TEX_SUFFIXES): Add .dtx.
4440
4441 Sun Nov 19 16:19:37 1995  Karl Berry  <karl@cs.umb.edu>
4442
4443         * MakeTeX*: Use MakeTeXupdate, mkdir, etc. in $TEXMFCNF_DIR, not
4444         along PATH. From John I.
4445
4446 Sat Nov 18 17:03:46 1995  Karl Berry  <karl@cs.umb.edu>
4447
4448         * tex-file.c (TEX_SUFFIXES): Add .txi.
4449
4450 Fri Nov 17 15:12:03 1995  Karl Berry  <karl@cs.umb.edu>
4451
4452         * common.ac (kb_AC_SYS_SHAREDLIB): Add the kb_ prefix.
4453
4454         * Makefile.in ({un,}install-exec): Use sharedlibname and
4455         staticlibname instead of `basename`.
4456         Also, pass no arguments to $(shared_postinstall); let the Autoconf
4457         macro set this completely.
4458
4459         * expand.c: Bash code remains under the GPL, per rms.
4460
4461 Thu Nov 16 16:14:14 1995  Karl Berry  <karl@cs.umb.edu>
4462
4463         * Makefile.in (uninstall-exec): Needs same `basename` treatment as
4464         install-exec. From Ulrik.
4465
4466         * config.h [AMIGA] (pclose): Must be #defined as 0, not just
4467         empty. From Andreas Scherer.
4468
4469 Tue Nov 14 14:04:57 1995  Karl Berry  <karl@cs.umb.edu>
4470
4471         * tex-file.h (kpse_fallback_resolutions_string): New global.
4472         * tex-file.c: Define it.
4473         (kpse_init_fallback_resolutions): Use it instead of
4474         DEFAULT_FONT_SIZES, if set.
4475
4476 Mon Nov 13 10:43:11 1995  Kathy Hargreaves  <karl@cs.umb.edu>
4477
4478         * find-suffix.c: Remove spurious + 1.
4479
4480 Sun Nov 12 13:42:51 1995  Karl Berry  <karl@cs.umb.edu>
4481
4482         * tex-file.c: Improve warning message if last resort sizes are not
4483         sorted. Suggested by Kathy.
4484
4485         * texmf.cnf.in (trie_size, main_memory): Doc improvements from Wayne.
4486
4487 Sat Nov 11 16:58:37 1995  Karl Berry  <karl@cs.umb.edu>
4488
4489         * MakeTeXnames: Correct too many left quotes.
4490
4491         * tex-make.c (kpse_make_tex): Initialize the format if necessary.
4492
4493 Mon Oct 30 16:49:05 1995  Karl Berry  <karl@cs.umb.edu>
4494
4495         * MakeTeXPK (GFNAME): Do not assume $cmd produced $GFNAME. From Tim.
4496
4497         * texmf.cnf.in (trie_size): Increase to 32000 so common language
4498         combinations will require no change. Suggested by Ulrik.
4499
4500         * MakeTeXls-R: Missing s in sed cmd.
4501         * MakeTeXTFM (TFM_NAME): Should be TFMNAME.
4502         * MakeTeXnames (FONTNAME): Missing `.
4503         * MakeTeXcommon: If the caller requires no args (i.e.,
4504         MakeTeXls-R), don't complain if given no.
4505         Missing } in varfonts case.
4506         All from Thomas.
4507
4508 Sun Oct 22 17:02:25 1995  Karl Berry  <karl@cs.umb.edu>
4509
4510         * c-std.h (hypot): Remove this declaration. It was only needed for
4511         fontutils, and it conflicts under Linux 1.2.10. From Tim Murphy.
4512
4513 Sat Oct 14 10:55:26 1995  Karl Berry  <karl@cs.umb.edu>
4514
4515         * acconfig.h (EDITOR): Missing %. From Tim Murphy.
4516
4517 Sat Oct  7 17:44:41 1995  Karl Berry  <karl@cs.umb.edu>
4518
4519         * Makefile.in (install-exec): Use basename to get the real name so
4520         we don't install in $(libdir)/../kpathsea/etc.
4521         From Ulrik.
4522
4523 Sat Sep 30 12:16:05 1995  Karl Berry  <karl@cs.umb.edu>
4524
4525         * MakeTeXls-R (db_file_tmp): Replace double slashes with single,
4526         for the sake of NetBSD/FreeBSD. From Thomas.
4527
4528 Fri Sep 29 11:29:08 1995  Karl Berry  <karl@cs.umb.edu>
4529
4530         * Makefile.in (tex-file.o): CPPFLAGS is now ALL_CPPFLAGS.
4531
4532 Mon Sep 25 15:05:32 1995  Karl Berry  <karl@cs.umb.edu>
4533
4534         * lib.h (FATAL_PERROR): Avoid using the formal parameter `s' since
4535         cc gets confused with %s.
4536
4537         * MakeTeXls-R: Include subtleties from Thomas.
4538         * MakeTeXcommon: Rename stickydir to appendonlydir.
4539
4540 Sun Sep 24 13:15:51 1995  Karl Berry  <karl@cs.umb.edu>
4541
4542         * cnf.c (kpse_cnf_get): Call kpse_init_db here.
4543         * pathsearch.c (search): Instead of here.
4544
4545         * tex-file.c (init_format): The override path may be null, so use
4546         MAYBE to print it.
4547
4548         * MakeTeXPK: Don't use unset, as Ultrix sh doesn't support it.
4549
4550 Sat Sep 23 15:07:12 1995  Karl Berry  <karl@cs.umb.edu>
4551
4552         * common.ac (basename strstr putenv): Use AC_REPLACE_FUNCS instead
4553         of AC_CHECK_FUNCS. Add strtol and strcasecmp from web2c/lib and xdvik.
4554         * Makefile.in (objects): Use @LIBOBJS@ instead of corresponding .o's.
4555
4556 Fri Sep 22 13:34:51 1995  Karl Berry  <karl@cs.umb.edu>
4557
4558         * acconfig.h (MAKE_TEX_*): #define as 0/1, instead of #undef,
4559         since we now pass this as a default argument to init_maketex.
4560
4561         * tex-file.c (init_path): Look for environment variables PATH.prog
4562         and PATH_prog before PATH.
4563
4564 Thu Sep 21 13:53:38 1995  Karl Berry  <karl@cs.umb.edu>
4565
4566         * kpsewhich.c (USAGE): Avoid bare newline.
4567
4568         * xfseek.c, xftell.c: Add unprototypification.
4569
4570         * common.ac (library_cflags): AC_SUBST for this depending on
4571         --enable-shared.
4572         * Makefile.in (shared_cflags, sharedlib_cflags): Rewrite
4573         accordingly, so the shared flags aren't always used.
4574
4575 Wed Sep 20 17:06:53 1995  Karl Berry  <karl@cs.umb.edu>
4576
4577         * tex-file.c: Add .ltx, .texi, and .texinfo as alternate suffices
4578         for kpse_tex_format.
4579
4580 Tue Sep 19 17:12:10 1995  Karl Berry  <karl@cs.umb.edu>
4581
4582         * texmf.cnf.in: Changes for TDS.
4583
4584         * MakeTeX*: New scripts from Thomas.
4585
4586 Sat Sep 16 17:30:46 1995  Karl Berry  <karl@cs.umb.edu>
4587
4588         * tex-file.c: Do not print extra `kdebug:'s when printing the
4589         alt_suffixes.
4590
4591         * expand.c: Incorporate brace expansion code from bash.
4592         * texmf.cnf.in (PKFONTS.xdvi): Use it here, and document the
4593         possibility for $TEXMF.
4594
4595 Thu Sep 14 12:59:17 1995  Karl Berry  <karl@cs.umb.edu>
4596
4597         * tex-file.c (kpse_init_format): For any_glyph_format, do not
4598         initialize a suffix.
4599
4600         * kpsewhich.c (main): Initialize all the formats.
4601         (find_format): psfonts.map => dvips_config_format.
4602
4603 Tue Sep 12 16:19:44 1995  Karl Berry  <karl@cs.umb.edu>
4604
4605         * MakeTeX{MF,TFM}: New scripts from te.
4606         * Makefile.in (install-exec, distdir): Install and dist them.
4607
4608 Sun Sep 10 15:11:07 1995  Karl Berry  <karl@cs.umb.edu>
4609
4610         * pathsearch.c (search): Doc fix.
4611
4612         * tex-file.h (kpse_format_info_type): Add alt_suffix member.
4613         * tex-file.c (init_format): Set it for PS headers and picts, and
4614         print it if it exists.
4615         * kpsewhich.c: Use the new alt suffixes and also the regular
4616         suffixes to allow for -format names as well as numbers, and for
4617         file format guessing.
4618         
4619 Sat Sep  9 14:27:48 1995  Karl Berry  <karl@cs.umb.edu>
4620
4621         * MakeTeXPK: If the MODE and BDPI don't match, ignore the mode.
4622         Suggested by Thomas.
4623
4624         * tex-file.[ch] (kpse_font_override_path): Remove this.
4625         (kpse_format_info_type): Replace the `override_p' member with a
4626         general `override_path'.
4627         * proginit.c: Set the override path for both fonts and headers.
4628
4629         * acconfig.h (NOTOOL): Add this.
4630
4631 Fri Sep  8 14:52:42 1995  Karl Berry  <karl@cs.umb.edu>
4632
4633         * acconfig.h (HYPERXDVI): Don't need this after all, Autoconf's
4634         default actions are better.
4635
4636 Thu Sep  7 15:11:17 1995  Karl Berry  <karl@cs.umb.edu>
4637
4638         * acconfig.h (HYPERXDVI): Define this.
4639
4640 Mon Sep  4 17:14:25 1995  Karl Berry  <karl@cs.umb.edu>
4641
4642         * debug.h (KPSE_LAST_DEBUG): Define this, for use with gsftopk.
4643
4644         * Makefile.in (objects): Add xopenfile.o.
4645         * xopenfile.c: New file.
4646         * lib.h (xopenfile): Declare it.
4647
4648 Sat Sep  2 13:49:53 1995  Karl Berry  <karl@cs.umb.edu>
4649
4650         * tex-file.h (kpse_file_format): Rename kpse_ps_header_format to
4651         tex_ps_header_format.
4652         * tex-file.c (TEX_PS_HEADER_ENVS): Rename likewise, etc.
4653         * kpsewhich.c (suffixes): Likewise.
4654         * texmf.cnf: Likewise.
4655         
4656         * tex-file.c: Never set must_exist on the first search. Is this
4657         really correct?
4658
4659 Fri Sep  1 13:24:49 1995  Karl Berry  <karl@cs.umb.edu>
4660
4661         * tex-make.c (maketex): Give perror if the popen fails.
4662
4663         * db.c (db_dir_list): Keep track of the directories we found db's in.
4664         (kpse_db_search): If no db directories are relevant to this path
4665         elt, return NULL.
4666         * db.h: Doc fix.
4667         * pathsearch.c (path_search): Doc fix.
4668
4669         * Makefile.in (shared_ext, etc.): Move to common.make.
4670
4671 Thu Aug 31 14:40:32 1995  Karl Berry  <karl@cs.umb.edu>
4672
4673         * kpsewhich.c: Install suffix rewrite from Yves.
4674
4675         * common.ac: Move AC_SYS_SHAREDLIB etc. here.
4676
4677         * acconfig.h (ASM_SCALED_FRACTION): Add this.
4678
4679 Wed Aug 30 17:02:58 1995  Karl Berry  <karl@cs.umb.edu>
4680
4681         * tex-file.c (kpse_find_file): Call kpse_make_tex.
4682         * tex-make.c (kpse_make_tex): Only call set_maketex_mag if we are
4683         doing MakeTeX-PK or GF-ing.
4684         From Greg.
4685
4686 Tue Aug 29 13:58:59 1995  Karl Berry  <karl@cs.umb.edu>
4687
4688         * Makefile.in (texmf.sed): Depend on paths.make. Should we avoid
4689         creating a new file unless it changes, a la c-auto.h?
4690
4691         * configure.in: Check for --enable-shared.
4692
4693 Mon Aug 28 17:50:06 1995  Karl Berry  <karl@cs.umb.edu>
4694
4695         * Makefile.in: Add sharedlib variables.
4696
4697 Sun Aug 27 13:27:01 1995  Karl Berry  <karl@cs.umb.edu>
4698
4699         * hash.c (hash_print): New option summary_only, and always print
4700         the summary.  Also, output to stderr, not stdout.
4701         * hash.h: Change decl.
4702
4703         * db.c (kpse_init_db): Oops, have to make it external, so rename
4704         again.
4705         * db.h: Declare it.
4706         * pathsearch.c (search): Call it.
4707         
4708         * cnf.c (read_all_cnf): Rename from read_files.
4709         * db.c (read_all_lsR): Rename from read_all_dbs.
4710         * fontmap.c (read_all_maps): Rename from map_create.
4711
4712         * tex-file.h (kpse_db_format): Another new type.
4713         * tex-file.c (kpse_init_path): Case for it.
4714         (DB_ENVS): Envvar list.
4715         * texmf.cnf.in (TEXMFDBS): Default path.
4716         * kpsewhich.c (suffix): Add new element.
4717
4718 Sat Aug 26 14:49:28 1995  Karl Berry  <karl@cs.umb.edu>
4719
4720         * cnf.c (CNF_NAME): #define this.
4721         * tex-file.c (kpse_init_path): Instead of setting the .program
4722         element to texmf.cnf here.
4723  
4724         * db.c (db_insert): Rename to kpse_db_insert.
4725         * db.h: Change decl.
4726         * tex-make.c (maketex): Change call.
4727
4728         * cnf.c, cnf.h, db.c, db.h, pathsearch.c: Remove references to
4729         kpse_db_dir.
4730         * pathsearch.c (first_search): New static.
4731         (path_search): Do not do ls-R search if first_search.
4732         (search): Do not log if first_search.
4733
4734         * pathsearch.c (path_search): Don't bother calling elt_in_db --
4735         the match function in db.c will catch the irrelevant hits.
4736         Pointed out by te.
4737
4738 Fri Aug 25 14:01:24 1995  Karl Berry  <karl@cs.umb.edu>
4739
4740         * cnf.c (kpse_cnf_get): Look for NAME.PROGRAM before NAME.
4741         (do_line): Save NAME.PROGRAM separately from NAME.
4742         * texmf.cnf.in: Put the usual definitions of TEXINPUTS and PKFONTS
4743         first now, before the .prog variants.
4744
4745         * fontmap.c: Use ISSPACE instead of just checking for space and tab.
4746
4747 Thu Aug 24 13:46:19 1995  Karl Berry  <karl@cs.umb.edu>
4748
4749         * lib.h (strstr) [!HAVE_STRSTR]: Declare this.
4750         * Makefile.in (objects): Add strstr.o.
4751         * common.ac (AC_CHECK_FUNCS): Remove memmove; we seem to never use
4752         this. And add strstr.
4753
4754         * fontmap.c (map_file_parse): Comments at the last % or @c, not at
4755         the first %. Also, implement the include feature.
4756         And thus, don't give up if the map file can't be opened.
4757         (token): New routine, since we can no longer use strtok.
4758         
4759         * tex-file.h (kpse_file_format_type): New format kpse_fontmap_format.
4760         * tex-file.c (kpse_init_format): Initialize it.
4761         (FONTMAP_ENVS): Define it.
4762         * texmf.cnf.in (TEXFONTMAPS): Define the default.
4763         * kpsewhich.c (suffix): Add .map.
4764
4765 Tue Aug 22 13:28:46 1995  Karl Berry  <karl@cs.umb.edu>
4766
4767         * MakeTeXPK.in: No >&/dev/null, source.map is now supplier.map.
4768
4769         * tex-file.c: Doc fix.
4770
4771 Mon Aug 21 15:52:42 1995  Karl Berry  <karl@cs.umb.edu>
4772
4773         * c-memstr.h (SYSV): OK, omit this definition in the never-ending
4774         battle to appease the X headers.
4775         From: neal@ctd.comsat.com (Neal Becker).
4776
4777 Sun Aug 20 12:58:28 1995  Karl Berry  <karl@cs.umb.edu>
4778
4779         * cnf.c (read_files): Concatenate consecutive lines that end in \.
4780
4781         * types.h (boolean) [__cplusplus]: Don't define true and false for C++.
4782         From: Johannes Sixt <Johannes.Sixt@risc.uni-linz.ac.at>.
4783
4784         * db.c (db_build): Call absolute_p to determine if the possible
4785         directory really is one.
4786         Also, allow relative names in the ls-R file.
4787
4788         * kpsewhich.c: New options -path, -separator.
4789         From: David Aspinall <da@dcs.ed.ac.uk>.
4790
4791         * MakeTeXPK.in: Unset DISPLAY and MFTERM.
4792         From: Yves Arrouye <Yves.Arrouye@imag.fr>.
4793         
4794         * db.c (ignored_dir_p): New function to ignore . directories.
4795         (db_build): Call it, and do the ignoring. Report on how many
4796         directories were ignored.
4797
4798         * Makefile.in (MakeTeXPK): Remove dcfontdir substitution.
4799         * MakeTeXPK.in: Play redirection games so regular echo's will work.
4800         (dcfontdir): Remove this; it's unused.
4801         From: te@informatik.uni-hannover.de (Thomas Esser).
4802
4803         * pathsearch.c (path_search): Free more garbage.
4804         From: John Eaton <jwe@che.utexas.edu>.
4805
4806 Sat Aug 19 12:57:54 1995  Karl Berry  <karl@cs.umb.edu>
4807
4808         * kpsewhich.c (USAGE): Document -format and -program.
4809
4810         * tex-make.c (maketex): Give warning if MTPK output a string that
4811         wasn't a filename. From Pierre.
4812
4813         * kpsewhich.c (read_command_line): Execute -expand right 
4814
4815         * tilde.c (kpse_tilde_expand): If HOME is /, don't start path with //.
4816         From: Andreas Schott <andreas@mpa-garching.mpg.de>.
4817
4818         * db.c (match): Make /// (or more) like //.
4819         * elt-dirs.c (do_subdir): Likewise. Also, skip over as many
4820         slashes as we found.
4821
4822         * variable.c (expanding_p, expanding, expansions, expansion_type):
4823         New functions, variables, type.
4824         (expand): Check for recursively expanded variables.
4825         Reported by Nicolai Langfeldt <janl@math.uio.no>.
4826
4827         * cnf.c (kpse_cnf_get): Free temporary list after extracting the
4828         first element (the one we return).
4829
4830 Fri Aug 18 17:39:29 1995  Karl Berry  <karl@cs.umb.edu>
4831
4832         * MakeTeXPK.in (1270): The guess here should be linohi, not linolo.
4833         From pwa.
4834
4835         * kpsewhich.c (suffix): Update for new MetaPost stuff.
4836         * tex-file.h: Doc fix.
4837
4838 Mon Aug 14 17:49:05 1995  Karl Berry  <karl@cs.umb.edu>
4839
4840         * debug.h: Define KPSE_DEBUG, not DEBUG.
4841         * hash.c, hash.h, tex-file.c, elt-dirs.c, dir.c, db.c: Change
4842         #ifdef's accordingly. From John I.
4843
4844 Sun Aug 13 16:03:51 1995  Karl Berry  <karl@cs.umb.edu>
4845
4846         * tex-file.h (kpse_file_format_type): Rename kpse_dvips_headers to
4847         just kpse_ps_headers. xdvik uses this too, now.
4848         * tex-file.c (kpse_init_format, KPSE_DVIPS_HEADER_ENVS): Likewise.
4849         Also, look for the PSHEADERS envvar, not DVIPSHEADERS.
4850         * texmf.cnf.in: Likewise.
4851
4852 Thu Aug 10 19:31:14 1995  Karl Berry  <karl@cs.umb.edu>
4853
4854         * tex-file.c (kpse_init_fallback_resolutions): Complain if sizes
4855         aren't sorted, and ignore offending sizes.
4856         From: Manuel Fahndrich <manuel@CS.Berkeley.EDU>.
4857
4858 Tue Aug  1 13:53:53 1995  Karl Berry  <karl@cs.umb.edu>
4859
4860         * variable.[ch] (kpse_var_value): Use const_string.
4861
4862         * texmf.cnf.in (string_vacancies): Decrease to 25000. From Bernd.
4863         (font_max): Add this. From Wayne.
4864
4865 Mon Jul 31 15:47:01 1995  Karl Berry  <karl@cs.umb.edu>
4866
4867         * db.h (KPSE_DB_DIR): Remove $.
4868         * cnf.c (read_files): Call kpse_var_value instead of kpse_var_expand.
4869
4870         * tex-file.[ch]: Add mpsupport and troff_font formats.
4871         * texmf.cnf.in: Likewise.
4872
4873 Sat Jul 29 09:21:44 1995  Karl Berry  <karl@cs.umb.edu>
4874
4875         * variable.h (kpse_var_value): Declare this.
4876         * variable.c (kpse_var_value): New routine.
4877
4878         * tex-file.c: Check TEXMFINI for pool/fmt/base/mem lookups
4879
4880 Tue Jul 25 11:22:25 1995  Karl Berry  <karl@cs.umb.edu>
4881
4882         * concatn.c (concatn): Free the intermediate result, not the final
4883         version.
4884
4885         * texmf.cnf.in (TEXMFLOG): Don't mention this, as we need to log
4886         the finding of the .cnf file itself, thus it must be an
4887         environment variable.
4888
4889 Sat Jul 22 17:09:58 1995  Karl Berry  <karl@cs.umb.edu>
4890
4891         * tex-file.c (KPSE_{MEM,MP,MPPOOL}_ENVS): Define envvars.
4892         * tex-file.h (kpse_file_format_type): Add kpse_{mem,mp,mppool}_formats.
4893         * texmf.cnf.in (MPPOOL, MPMEMS, MPINPUTS): New variables.
4894         Adapted from: vieth@xerxes.thphy.uni-duesseldorf.de (Ulrik Vieth).
4895
4896 Fri Jul 21 15:26:42 1995  Karl Berry  <karl@cs.umb.edu>
4897
4898         * *.c, *.h: The FSF has a new address.
4899
4900         * kpsewhich.c: Give error if no args.
4901
4902 Wed Jul 19 17:34:26 1995  Karl Berry  <karl@cs.umb.edu>
4903
4904         * texmf.cnf.in: Document limits on error_line et al.
4905
4906 Mon Jul 17 13:09:05 1995  Karl Berry  <karl@cs.umb.edu>
4907
4908         * acconfig.h (NO_FMTBASE_SHARE): Rename to NO_DUMP_SHARE.
4909
4910 Sun Jul 16 14:17:16 1995  Karl Berry  <karl@cs.umb.edu>
4911
4912         * acconfig.h (IPC, FUNNY_CORE_DUMP, NO_FMTBASE_SHARE): Include these.
4913
4914 Sat Jul 15 12:45:51 1995  Karl Berry  <karl@cs.umb.edu>
4915
4916         * acconfig.h (HAVE_ITOA): Remove extraneous #define.
4917
4918         * texmf.cnf.in (hash_extra): New TeX array variable, 0 by default.
4919
4920         * tex-file.c (KPSE_BIB_ENVS): Include TEXBIB.
4921
4922 Thu Jul 13 15:04:52 1995  Karl Berry  <karl@cs.umb.edu>
4923
4924         * texmf.cnf.in (TEXPOOL, MFPOOL): Include . after all, now that we
4925         use TEXPOOL to search for tcx files.
4926
4927 Sun Jul  9 15:30:59 1995  Karl Berry  <karl@cs.umb.edu>
4928
4929         * tex-file.c (kpse_find_file): Don't go through the
4930         mapped_name_list if it's null.
4931
4932 Wed Jun 21 19:47:33 1995  Karl Berry  <karl@cs.umb.edu>
4933
4934         * lib.h (FATAL5): Define this.
4935
4936 Sat Jun 10 15:52:41 1995  Karl Berry  <karl@cs.umb.edu>
4937
4938         * tex-file.c (kpse_find_file): Use texfonts.map aliases for TFM
4939         searches.
4940         * tex-file.h: Doc fix.
4941         * fontmap.c (kpse_fontmap_lookup): New name. Fault in the map
4942         table as needed, instead of initializing. Make map_create static.
4943         * fontname.h: New name; remove map_create.
4944         * tex-glyph.c (try_fontmap): Just call kpse_fontmap_lookup, no
4945         need to create it.
4946
4947         * fontmap.c (map_lookup): Don't let return value fall off the end
4948         in the suffix-appending case.
4949         From: "Heading, Anthony" <heading_anthony@jpmorgan.com>.
4950
4951 Fri Jun  9 19:11:34 1995  Karl Berry  <karl@cs.umb.edu>
4952
4953         * tilde.c: Only assume PWD_H for looking up ~user, not for ~ or ~/.
4954         * make-suffix.c: Use IS_DIR_SEP instead of assuming /.
4955         * concatn.c: Free the in-between concatenations to avoid garbage.
4956         * absolute.c [OS2]: Use same conventions as for DOS.
4957         * c-std.h, c-pathch.h, c-fopen.h: Likewise.
4958         From: rs@purple.in-ulm.de (Ralph Schleicher).        
4959
4960 Tue Jun  6 13:11:46 1995  Karl Berry  <karl@cs.umb.edu>
4961
4962         * lib.h (itoa) [!HAVE_ITOA]: Define conditionally.
4963         * itoa.c: Likewise.
4964         * acconfig.h (HAVE_ITOA): Add this.
4965
4966         * c-pathch.h, c-fopen.h [DOS]: Changes from web2pc from Wayne.
4967
4968         * xputenv.c: Doc fix.
4969
4970         * truncate.c (kpse_truncate_filename): Check for a device separator.
4971
4972         * elt-dirs.c (main): Tests for Amiga.
4973
4974 Mon Jun  5 13:12:10 1995  Karl Berry  <karl@cs.umb.edu>
4975
4976         * absolute.c: Add Amiga support.  From Andreas Scherer.
4977         * c-pathch.h: Ditto.
4978         * elt-dirs.c (dir_list_add): Ditto. Check for device separators, too.
4979
4980 Sun Jun  4 11:29:18 1995  Karl Berry  <karl@cs.umb.edu>
4981
4982         * c-proto.h (AA): New macro to throw away (or keep) any number of
4983         arguments, used with an extra set of parens.
4984
4985         * Makefile.in (distdir): Put PROJECTS in the distribution.
4986
4987 Sat Jun  3 11:53:45 1995  Karl Berry  <karl@cs.umb.edu>
4988
4989         * texmf.cnf.in (main_memory): Add definitions for TeX array sizes.
4990
4991         * config.h (progname.h): Include this.
4992         * prog{init,name}.c, kpsewhich.c: No longer need to include it.
4993         * lib.h (START_FATAL, FATAL_PERROR): Use program_invocation_name
4994         in the error message.
4995
4996         * variable.h: Doc fix.
4997
4998 Fri Jun  2 13:41:29 1995  Karl Berry  <karl@cs.umb.edu>
4999
5000         * config.h (DOSISH) [DOS || OS2]: Define this.
5001
5002 Tue May 30 15:43:56 1995  Karl Berry  <karl@cs.umb.edu>
5003
5004         * tex-file.c (kpse_find_file): Don't look for foo.sty.tex before
5005         foo.sty. Suggested by worsch@ira.uka.de.
5006
5007 Mon May 29 15:24:38 1995  Karl Berry  <karl@cs.umb.edu>
5008
5009         * db.c (db_insert): If DOS, don't check that first character on a
5010         line IS_DIR_SEP.  From Sebastian.
5011
5012 Sat May 27 13:51:47 1995  Karl Berry  <karl@cs.umb.edu>
5013
5014         * pathsearch.c (log_search): Cast time_t arg to avoid printf warning.
5015
5016         * lib.h (atou): Declare it.
5017         * Makefile.in (objects): Add atou.o.
5018         * atou.c: New file.
5019
5020 Sun May 21 10:58:31 1995  Karl Berry  <karl@cs.umb.edu>
5021
5022         * xfopen.c: Assert non-null filenames.
5023
5024 Mon May 15 17:40:27 1995  Karl Berry  <karl@cs.umb.edu>
5025
5026         * kpsewhich.c (USAGE): Add one-line description to the help message.
5027
5028 Sun Apr 16 14:25:06 1995  Karl Berry  <karl@cs.umb.edu>
5029
5030         * line.c (BLOCK_SIZE): Increase to 56, to avoid realloc's.
5031
5032 Fri Apr 14 15:56:13 1995  Karl Berry  <karl@cs.umb.edu>
5033
5034         * Makefile.in (objects): Add xfseek and xftell, from fontutils.
5035
5036 Mon Mar 13 20:05:02 1995  Karl Berry  <karl@cs.umb.edu>
5037
5038         * MakeTeXPK.in: Don't egrep in a file that doesn't exist.
5039
5040 Fri Mar 10 10:49:28 1995  Karl Berry  <karl@cs.umb.edu>
5041
5042         * tex-file.c (kpse_find_file): Abort if the name passed in is null
5043         or empty.
5044
5045 Thu Mar  9 15:23:07 1995  Karl Berry  <karl@cs.umb.edu>
5046
5047         * tex-file.c (kpse_init_format): Only do suffix searches for GF files.
5048
5049         * acconfig.h: Warn that this is not the right thing to edit to fix
5050         configuration problems.
5051
5052 Thu Mar  2 15:58:11 1995  Karl Berry  <karl@cs.umb.edu>
5053
5054         * texmf.cnf.in (TEXFORMATS): Doc fix.
5055
5056 Fri Feb 24 16:40:23 1995  Karl Berry  <karl@cs.umb.edu>
5057
5058         * MakeTeXPK.in: `generate rootname' with no trailing punctuation
5059         for the dc fonts.
5060
5061 Mon Feb 20 15:23:05 1995  Karl Berry  <karl@cs.umb.edu>
5062
5063         * tex-file.h (kpse_find_mf): New abbreviation.
5064
5065 Sat Feb 11 13:06:23 1995  Karl Berry  <karl@cs.umb.edu>
5066
5067         * putenv.c: Include c-auto.h instead of kpathsea/c-auto.h, so the
5068         sed commands don't transform it into
5069         $(kpathsea_srcdir)/c-auto.h. From Andreas.
5070
5071         * tex-make.c (maketex): Don't make a bad return from pclose a
5072         fatal error. Reported most recently by Wayne Sullivan, also by
5073         Andy Piper in the past.
5074
5075         * MakeTeXPK.in (sauterdir): Only try this if we have the right
5076         b-foo.mf file. And correct $DESTDIR=... mistake.
5077         From Nick Cropper <nickc@dcs.st-andrews.ac.uk>.
5078
5079 Fri Feb 10 15:49:49 1995  Karl Berry  <karl@cs.umb.edu>
5080
5081         * tex-file.c (INIT_MT): If the .program member has already been
5082         set, don't reset it.
5083
5084 Wed Jan 18 15:47:07 1995  Karl Berry  <karl@cs.umb.edu>
5085
5086         * xopendir.c (xclosedir): Use CLOSEDIR_VOID, not VOID_CLOSEDIR.
5087         From tim@maths.tcd.ie.
5088
5089         * db.c (db_insert): Don't assert db.size>0, since we may not have
5090         called kpse_db_search. From te@informatik.uni-hannover.de.
5091
5092         * MakeTeXPK.in (dc fonts): Don't put a trailing period in the
5093         filename. From Tor Lillqvist <tml@hemuli.tte.vtt.fi>.
5094
5095 Sun Jan  8 12:14:47 1995  Karl Berry  <karl@cs.umb.edu>
5096
5097         * Version 2.6.
5098
5099 Wed Jan  4 14:44:34 1995  Karl Berry  <karl@cs.umb.edu>
5100
5101         * Makefile.in (mostlyclean): Remove kpsewhich.
5102
5103 Tue Jan  3 11:48:40 1995  Karl Berry  <karl@cs.umb.edu>
5104
5105         * kpsewhich.c (long_options): Can't make this automatic.
5106
5107         * basename.c: Include <kpathsea/config.h> before testing
5108         HAVE_BASENAME.
5109
5110         * Makefile.in (kpsewhich): Make the library before kpsewhich.o.
5111         (paths.h): No need for the $(kpathsea_dir)/ any more, now make
5112         depend gets rid of it.
5113
5114         * rm-suffix.c: Doc fix.
5115         
5116         * kpsewhich.c: Extract the dpi from the filename if possible.
5117
5118 Mon Jan  2 09:45:17 1995  Karl Berry  <karl@cs.umb.edu>
5119
5120         * Makefile.in (kpsexpand): Replace with kpsewhich.
5121
5122         * proginit.h: Doc fix.
5123
5124         * texmf.cnf.in (TEXMFCNF): Rename from TEXMF_CNF.
5125         * tex-file.c (kpse_init_format): Likewise.
5126
5127 Sun Jan  1 14:04:41 1995  Karl Berry  <karl@cs.umb.edu>
5128
5129         * Makefile.in (MakeTeXPK): Substitute for web2cdir.
5130         * MakeTeXPK.in: Use it for MakeTeXPK.site.
5131         (install-data): Install texmf.cnf in web2cdir instead of texmf.
5132         * texmf.cnf.in (TEXMF_CNF): Default path includes web2cdir.
5133
5134 Sat Dec 31 14:26:48 1994  Karl Berry  <karl@cs.umb.edu>
5135
5136         * Makefile.in (objects): No more @LIBOBJS@.
5137         * common.ac: Use AC_CHECK_FUNCS for basename, not REPLACE_FUNCS.
5138         The latter doesn't define HAVE_BASENAME.
5139         * basename.c [!HAVE_BASENAME]: Conditionalize whole file.
5140
5141         * Makefile.in (uninstall-exec): Remove kpsexpand.
5142         (MakeTeXPK): New target.
5143         (install-exec): Install MTPK.
5144         (install-library): New target to replace install-headers.
5145         (install): Don't install-library by default.
5146
5147 Fri Dec 30 15:53:04 1994  Karl Berry  <karl@cs.umb.edu>
5148
5149         * Makefile.in (objects): Don't put @LIBOBJS@ on a line by itself.
5150         From Joachim.
5151
5152 Mon Dec 26 07:55:40 1994  Karl Berry  <karl@cs.umb.edu>
5153
5154         * common.ac (AC_FUNC_CLOSEDIR_VOID): Call this. Reported by
5155         Timothy Murphy <tim@maths.tcd.ie>.
5156
5157         * tex-file.c (init_path): If a variable is set to an empty value,
5158         ignore it.  Suggested by Stephen Gildea <gildea@x.org>.
5159
5160         * proginit.c: If passed a NULL mode, put / in the environment here.
5161         * tex-make.c (kpse_make_tex): Don't do STREQ on NULL (though it
5162         should never be NULL in the first place), and properly restore
5163         MAKETEX_MODE if it was /.
5164
5165 Tue Dec 20 09:57:21 1994  Karl Berry  <karl@cs.umb.edu>
5166
5167         * install.texi: Mention how to do optimization.
5168
5169 Mon Dec 19 13:18:04 1994  Karl Berry  <karl@cs.umb.edu>
5170
5171         * tex-file.h: Doc fix.
5172
5173 Wed Dec 14 14:46:47 1994  Karl Berry  <karl@cs.umb.edu>
5174
5175         * Version 2.5.
5176
5177         * pathsearch.c (log_search): Don't prepend the `kdebug:' to the
5178         search result.
5179
5180 Sat Dec 10 16:49:12 1994  Karl Berry  <karl@cs.umb.edu>
5181
5182         * tex-make.c (set_maketex_mag): Make case of magstep -1 work
5183         properly.  From a bug report by
5184         heiko@lotte.sax.de (Heiko Schlittermann).
5185
5186 Mon Dec  5 11:58:08 1994  Karl Berry  <karl@cs.umb.edu>
5187
5188         * Makefile.in (objects): Add @LIBOBJS@.
5189         * common.ac: Check for basename.
5190
5191         * db.c (db_insert): Include trailing / in directory part, and pass
5192         the key and the value in the right order.  From
5193         te@informatik.uni-hannover.de.
5194
5195 Sun Dec  4 14:26:44 1994  Karl Berry  <karl@cs.umb.edu>
5196
5197         * kpsexpand.c: Add extra filename argument. From
5198         ware@cis.ohio-state.edu.
5199
5200         * common.ac: Use AC_TRY_RUN to test for SMART_PUTENV, not
5201         AC_TRY_LINK. From parkes@sierravista.com.
5202
5203         * acconfig.h: Use #undef instead of commented-out `/* #define'.
5204
5205 Sun Nov 27 13:47:06 1994  Karl Berry  <karl@cs.umb.edu>
5206
5207         * db.c (db_insert): Don't try to insert into an empty hash table.
5208         From dc@cobi.gsfc.nasa.gov (and others).
5209
5210         * pathsearch.c (log_search): Call DEBUGF, not printf, for the
5211         filenames.  From John I.
5212
5213         * tex-make.c (kpse_make_tex): If MAKETEX_MODE is /, unset it and
5214         reset it around the command expansion.
5215         (maketex): Back to calling db_insert.
5216
5217 Sat Nov 26 11:44:09 1994  Karl Berry  <karl@cs.umb.edu>
5218
5219         * cnf.c (read_file): If expansion of $TEXMF (KPSE_DB_DIR) fails,
5220         expand DEFAULT_TEXMF.  From te@informatik.uni-hannover.de.
5221
5222 Thu Nov 24 13:41:15 1994  Karl Berry  <karl@cs.umb.edu>
5223
5224         * tex-file.c (KPSE_BST_ENVS): Do not look at TEXINPUTS.
5225
5226         * tex-file.h: Doc fix.
5227
5228 Tue Nov 15 14:06:56 1994  Karl Berry  <karl@cs.umb.edu>
5229
5230         * progname.c (kpse_set_progname): Use basename.
5231
5232 Fri Nov 11 19:12:23 1994  Karl Berry  <karl@cs.umb.edu>
5233
5234         * acconfig.h (HAVE_SIGIO): Add this.
5235
5236 Tue Nov  8 19:14:12 1994  Karl Berry  <karl@cs.umb.edu>
5237
5238         * tex-make.c (kpse_make_tex): Change argument name from
5239         `basename', since now we have a fn by that name.
5240         * magstep.c (kpse_magstep_fix): Initialize mdpi.
5241         * basename.c (basename): Initalize base.
5242
5243 Mon Nov  7 15:46:21 1994  Karl Berry  <karl@cs.umb.edu>
5244
5245         * common.ac: Run autoupdate.
5246         * c-dir.h: Change #if names and NLENGTH to new style.
5247
5248 Fri Oct 28 21:28:02 1994  K. Berry  (karl@terminus.cs.umb.edu)
5249
5250         * Version 2.4.
5251
5252         * tex-make.c (maketex): Don't call db_insert, that routine is
5253         buggy. I'll fix it later. In the meantime, trying to get a
5254         semi-stable release.
5255
5256 Tue Oct 25 16:43:31 1994  Karl Berry  <karl@cs.umb.edu>
5257
5258         * Version 2.3.
5259
5260         * progname.c (kpse_set_progname): Initialize kpathsea_debug from
5261         the KPATHSEA_DEBUG envvar.  From neal@ctd.comsat.com.
5262
5263 Mon Oct 24 13:41:24 1994  Karl Berry  <karl@cs.umb.edu>
5264
5265         * db.c (db_insert): New function.
5266         * db.h: Declare it.
5267         * tex-make.c (maketex): db_insert the result if we succeeded.
5268
5269         * basename.c: New file to define basename.
5270         * lib.h (basename): Declare it.
5271         * Makefile.in (objects): Include basename.o.
5272
5273         * tex-file.h (kpse_file_format_type): Add missing enum values for
5274         base/fmt/pool files.
5275         * tex-file.c (kpse_init_format): Add cases for these.
5276         From te@informatik.uni-hannover.de.
5277
5278         * lib.h (WARNING, FATAL): Use fputs instead of fprintf.
5279         * Many files: Use DEBUGF instead of printf ("kdebug".
5280         * debug.h (DEBUGF) [DEBUG]: Define this.
5281
5282         * xputenv.c (xputenv): Initialize that static saved_env_items to
5283         null, just for documentation's sake.
5284
5285 Tue Oct 18 13:19:06 1994  Karl Berry  <karl@cs.umb.edu>
5286
5287         * tex-file.c (KPSE_*_ENVS): Move environment variable list here.
5288         * tex-file.h: Move them from here.
5289
5290         * tex-glyph.h: Doc fix.
5291
5292         * tex-file.c (kpse_find_file): Correct off-by-one in suffix
5293         comparison. From toy@rtp.ericsson.se.
5294
5295 Mon Oct 17 14:01:02 1994  Karl Berry  <karl@cs.umb.edu>
5296
5297         * elt-dirs.c (do_subdir): Find a top-level subdir if it matches
5298         the POST.
5299
5300         * db.c (kpse_db_search): Allow for the passed name including a
5301         directory part, as in dpi600/cmr10.pk.
5302         * tex-glyph.c (try_format): First search all specs with
5303         must_exist=false.
5304
5305         * kpsexpand.c: New file, from te@informatik.uni-hannover.de.
5306         * Makefile.in (kpsexpand): New target (a program).
5307         (install-exec): Depend on, and install, kpsexpand.
5308         
5309         * common.ac: Doc fix.
5310
5311         * cnf.c (do_line): Don't quit just because the variable is in the
5312         environment.  From te@informatik.uni-hannover.de.
5313
5314         * tex-glyph.c (PXL_BITMAP_SPEC): Remove this, we're not going to
5315         support pxl1500.
5316
5317 Sun Oct 16 20:46:26 1994  Karl Berry  <karl@cs.umb.edu>
5318
5319         * kpathsea.texi: Make it clear that names of debugging bits can
5320         never be used.
5321
5322 Fri Oct 14 10:31:35 1994  Karl Berry  <karl@cs.umb.edu>
5323
5324         * Version 2.2.
5325
5326         * hash.c (hash_lookup) [DEBUG]: Cast to long, not int.
5327
5328 Thu Oct 13 15:39:34 1994  Karl Berry  <karl@owl>
5329
5330         * db.c (db_build): Warn if ls-R contains nothing useful.
5331
5332         * debug.c (fopen, fclose) [DEBUG]: fflush stdout.
5333         * dir.c (dir_links),
5334         * hash.c (hash_lookup),
5335         * tex-file.c (kpse_init_format),
5336         * elt-dirs.c (kpse_element_dirs): Likewise.
5337
5338 Thu Oct 13 09:02:56 1994  Karl Berry  <karl@cs.umb.edu>
5339
5340         * hash.c (kpse_debug_hash_lookup_int) [DEBUG]: New global.
5341         (hash_lookup): Use it.
5342         * hash.h [DEBUG]: Declare it.
5343         * dir.c (dir_links) [DEBUG]: Set it and reset it.
5344
5345         * tex-glyph.c (PXL_BITMAP_SPEC): Add this (pxlNNN/cmr10.pk) for
5346         the Bitstream utilities. From abrahams@acm.org.
5347         (try_format): Search for this.
5348
5349 Tue Oct 11 15:15:49 1994  Karl Berry  <karl@cs.umb.edu>
5350
5351         * db.c (db_build): Use kpse_db_dir instead of KPSE_DB_DIR.  This
5352         avoids one variable expansion, and te@informatik.uni-hannover.de
5353         says otherwise TeX sometimes can't find ls-R.
5354
5355 Sun Oct  9 17:18:23 1994  Karl Berry  <karl@cs.umb.edu>
5356
5357         * kdefault.c: Rename from default.c.
5358         * Makefile.in (objects): Likewise.
5359
5360 Fri Oct  7 12:58:33 1994  Karl Berry  <karl@cs.umb.edu>
5361
5362         * tex-file.c (kpse_init_format): Call INIT_MT for the any_glyph
5363         case. From carson@lehman.com.
5364
5365 Sun Oct  2 14:11:20 1994  Karl Berry  <karl@cs.umb.edu>
5366
5367         * magstep.c: Doc fix.
5368
5369 Sun Sep 25 17:11:40 1994  Karl Berry  <karl@cs.umb.edu>
5370
5371         * Makefile.in: Include library.make.
5372
5373 Thu Sep 22 15:34:40 1994  Karl Berry  <karl@cs.umb.edu>
5374
5375         * tex-file.h (kpse_file_format_type): Don't make equal to the last
5376         element index, make one more.  From Eric Auborg.
5377
5378 Thu Sep 15 19:24:30 1994  Karl Berry  (karl@cs.umb.edu)
5379
5380         * Makefile.in (distdir): Include install.texi in the distribution.
5381
5382 Mon Sep 12 11:05:18 1994  Karl Berry  (karl@cs.umb.edu)
5383
5384         * Version 2.1.
5385
5386 Sun Sep 11 15:03:18 1994  Karl Berry  (karl@cs.umb.edu)
5387
5388         * Makefile.in (install-data): Install texmf.cnf if it didn't exist.
5389
5390 Sat Sep 10 13:28:29 1994  Karl Berry  (karl@cs.umb.edu)
5391
5392         * Makefile.in (texmf.sed, paths.h): Use tr 012 instead of \n.
5393         From John Interrante.
5394         
5395         * Makefile.in (distdir): Include the .aux and .cps files in the
5396         distribution.  Don't include paths.h (from John Interrante).
5397         
5398         * kpathsea.texi: Fix overfull boxes and other TeX errors.
5399
5400 Wed Sep  7 16:28:37 1994  Karl Berry  (karl@cs.umb.edu)
5401
5402         * Version 2.0.
5403
5404 Tue Sep  6 10:33:18 1994  Karl Berry  (karl@cs.umb.edu)
5405
5406         * dir.c (dir_links): Use %ld for ret, since it's now a long.
5407
5408 Sat Sep  3 09:01:25 1994  Karl Berry  (karl@cs.umb.edu)
5409
5410         * dir.c (dir_links): Use long instead of int for the cast and the
5411         variable, to avoid warnings on the Alpha.
5412
5413         * c-std.h (SYSV, X_NOT_STDC_ENV): Don't define these here.
5414         * c-memstr.h (SYSV): Define this.
5415         (_XFUNCS_H_): And this.
5416
5417         * Makefile.in (distclean): Add texmf.cnf and texmf.sed.
5418
5419 Thu Sep  1 14:22:48 1994  Karl Berry  (karl@cs.umb.edu)
5420
5421         * xputenv.c (putenv): Declare this to avoid a warning.
5422         * xstat.c (lstat): And this.
5423
5424         * common.ac (SMART_PUTENV): Use program to test for this.  From
5425         mike@cs.utah.edu.
5426
5427         * tex-glyph.c (try_fallback_resolutions): Quit early if there's no
5428         resolutions in the list.  From sanjoy@dope.caltech.edu.
5429
5430 Tue Aug 30 14:26:48 1994  Karl Berry  (karl@cs.umb.edu)
5431
5432         * acconfig.h (FOIL_X_WCHAR_T): New definition.
5433
5434         * c-std.h (hypot) [!hypot]: Conditionalize declaration.
5435
5436 Fri Aug 26 09:00:24 1994  Karl Berry  (karl@cs.umb.edu)
5437
5438         * Makefile.in (install-data): Install headers into
5439         $(includedir)/kpathsea, not just $(includedir).  From john@wpi.edu.
5440
5441         * pathsearch.c (search): Show results of the search as well as the
5442         start of it.
5443
5444 Thu Aug 25 13:40:29 1994  Karl Berry  (karl@cs.umb.edu)
5445
5446         * proginit.c (kpse_init_prog): Newline at end of fputs.
5447
5448         * pathsearch.c (search): Add debug statement.
5449         * debug.h (KPSE_DEBUG_SEARCH): New bit.
5450
5451         * tex-file.h (kpse_format_info_type): Rename `font_override_p' from
5452         `font_p'. Also `program_enabled' => `program_enabled_p'.
5453         Also new member `suffix_search_only'.
5454         * tex-file.c (kpse_find_file): Avoid searching for foo.tex.tex, etc.
5455
5456 Tue Aug 16 09:29:59 1994  Karl Berry  (karl@cs.umb.edu)
5457
5458         * tex-make.c (maketex): Announce that we are running the script
5459         before running it.
5460
5461 Mon Aug 15 11:18:19 1994  Karl Berry  (karl@cs.umb.edu)
5462
5463         * texmf.cnf.in (PKFONTS.xdvi): Write program-specific definition
5464         to include gsftopk and ps2pk ``modes''.
5465
5466 Sat Aug 13 16:34:43 1994  Karl Berry  (karl@cs.umb.edu)
5467
5468         * Makefile.in (lib): Rename to program to simplify rules.
5469
5470         * magstep.h: Doc fix.
5471
5472         * common.ac (AC_HAVE_FUNCS): Test for bcopy.
5473
5474 Tue Aug  9 14:18:56 1994  Karl Berry  (karl@cs.umb.edu)
5475
5476         * tex-make.c (misstex): Prepend kpathsea: to the missfont.log
5477         message.
5478
5479 Mon Aug  8 17:53:58 1994  Karl Berry  (karl@cs.umb.edu)
5480
5481         * tex-make.c (set_maketex_mag): Rewrite to call kpse_magstep_fix.
5482         * magstep.[ch]: New files.
5483
5484 Fri Aug  5 14:07:51 1994  Karl Berry  (karl@cs.umb.edu)
5485
5486         * db.c (match): Allow a trailing component in the filename.
5487
5488 Tue Aug  2 08:55:21 1994  Karl Berry  (karl@cs.umb.edu)
5489
5490         * Change `debug:' to `kdebug:'.
5491         * hash.c (hash_lookup): Print results of lookup if DEBUG_HASH.
5492         * debug.h (KPSE_DEBUG_HASH): New bit, replacing DB_BUILD.
5493         * db.c (db_build): Don't print the built hash table.
5494
5495         * db.c (match): Implement this. Petr Sojka and Zdenek Salvet(?)
5496         supplied code for this, but I wound up writing my own.
5497         * variable.c (expand): Do variable expansion on the value.
5498
5499         * texmf.cnf.in (TEXINPUTS): Put this after the .prog-specific entries.
5500
5501         * tex-file.c (kpse_pict_format): Remember to break after setting
5502         the type.
5503         (EXPAND_DEFAULT, init_path): Keep raw_path as pre-default expansion.
5504
5505 Sun Jul 31 14:18:09 1994  Karl Berry  (karl@cs.umb.edu)
5506
5507         * debug.c: Don't include debug.h, it's already in debug.h.
5508
5509         * Makefile.in (db.o,pathsearch.o): Don't need these special cases
5510         since tossed db_dir from paths.make.
5511         * db.h (DB_DIR): Change default to $TEXMF, rename to KPSE_DB_DIR.
5512         (kpse_db_dir): New global variable (sigh).
5513         * db.c (kpse_db_dir): Define.
5514         * cnf.c: Include db.h for KPSE_DB_DIR.
5515         (read_files): Set kpse_db_dir after all have been read.
5516         * pathsearch.c (elt_in_db): Check if kpse_db_dir is null.
5517         (path_search): Do not initialize db_dir.
5518
5519 Sat Jul 30 06:12:12 1994  Karl Berry  (karl@cs.umb.edu)
5520
5521         * c-dir.h [_POSIX_VERSION]: Remove this condition; just use DIRENT.
5522
5523 Fri Jul 29 11:36:25 1994  Karl Berry  (karl@cs.umb.edu)
5524
5525         * tex-file.c (init_path): Look up cnf file value if no suffix.
5526
5527         * xstat.h (SAME_FILE_P): Move here.
5528         * c-stat.h (SAME_FILE_P): From here.
5529         * file-p.c: Change include.
5530         * lib.h (dir_p, dir_links): Declare here.
5531         * dir.h: Split into xopendir.h and c-dir.h; Sun 3 include files
5532         get confused otherwise, according to john@minster.york.ac.uk.
5533         * xopendir.c: Include xopendir.h.
5534         * elt-dirs.c, dir.c: Change includes.
5535         
5536 Sun Jul 17 10:21:16 1994  Karl Berry  (karl@cs.umb.edu)
5537
5538         * hash.c (hash_insert): Put new elements in at the end of the
5539         list, instead of the beginning.
5540         * hash.h: Document this.
5541
5542         * texmf.cnf.in (TEXMFROOT): Change to TEXMF.
5543         * kpathsea.texi: Likewise.
5544
5545         * cnf.c (do_line): assert program_invocation_short_name.
5546         * progname.c: Doc fix.
5547
5548         * absolute.[ch] (kpse_absolute_p): Take additional arg relative_ok.
5549         * pathsearch.c (log_search): Call it (with false).
5550         * tex-glyph.c: Change call.
5551
5552         * pathsearch.c (path_search): Initialize db_dir here.
5553         (elt_in_db): Not here.
5554
5555 Fri Jul 15 11:44:15 1994  Karl Berry  (karl@cs.umb.edu)
5556
5557         * tex-file.h: Doc fix.
5558
5559         * pathsearch.c (log_search): Pass in the whole str_list; anything
5560         else is unreliable.
5561
5562         * proginit.[ch] (kpse_init_prog): Don't pass in argv0; we need it
5563         earlier.
5564
5565 Tue Jul 12 11:56:54 1994  Karl Berry  (karl@cs.umb.edu)
5566
5567         * tex-file.c (init_path): Use the first envvar that's *set*, not
5568         the first in the list.
5569
5570         * tex-file.h (kpse_format_info_type): New member `type'.
5571         * tex-file.c (kpse_init_format): Initialize it.
5572
5573         * pathsearch.c (log_search): New fn.
5574         (search): Call it.
5575
5576 Fri Jul  1 11:54:29 1994  Karl Berry  (karl@cs.umb.edu)
5577
5578         * tex-file.c: Doc fix.
5579
5580 Mon Jun 27 10:18:59 1994  Karl Berry  (karl@cs.umb.edu)
5581
5582         * db.c (db_build): Call kpse_var_expand on the db filename.
5583         * pathsearch.c (elt_in_db): Likewise.
5584
5585         * tex-glyph.h (kpse_find_gf): By analogy with kpse_find_pk.
5586
5587 Sat Jun 25 16:09:05 1994  Karl Berry  (karl@cs.umb.edu)
5588
5589         * tex-glyph.c (try_format): Try both Unix and DOS bitmap specs,
5590         instead of just one or the other.
5591         (bitmap_name): No longer needed.
5592
5593 Fri Jun 24 11:52:32 1994  Karl Berry  (karl@cs.umb.edu)
5594
5595         * tex-file.c (kpse_find_file): Don't try the suffix if it doesn't
5596         exist.
5597
5598         * tex-file.h (kpse_find_{dvips_header,pict}): New definition.
5599
5600 Thu Jun 23 16:57:58 1994  Karl Berry  (karl@cs.umb.edu)
5601
5602         * tex-file.h (kpse_{pict,dvips_header}_format): New consts.
5603         (KPSE_{PICT,DVIPS_HEADER}_ENVS): Likewise.
5604
5605 Tue Jun 21 11:53:09 1994  Karl Berry  (karl@cs.umb.edu)
5606
5607         * tex-file.c (kpse_find_file): Try the name as given if the name
5608         concatenated with the suffix fails, for the sake of, e.g., EPS files.
5609
5610         * tex-file.h (kpse_find_tex): New definition.
5611
5612         * absolute.[ch]: Make arg const.
5613
5614         * tex-glyph.[ch]: (kpse_bitmap_tolerance): Move here from tex-make.
5615
5616         * c-proto.h (P6[CH]): New definitions.
5617
5618         * Makefile.in (objects): Add proginit.o.
5619         * proginit.[ch]: New files.
5620
5621 Mon Jun 20 14:55:57 1994  Karl Berry  (karl@cs.umb.edu)
5622
5623         * tex-file.c (kpse_init_format): Make override path not apply to
5624         TFM and VF files.
5625
5626         * tex-glyph.c (kpse_find_glyph_format): Rename to kpse_find_glyph,
5627         and don't call MakeTeXPK if the filename is absolute.
5628         * tex-glyph.h: Likewise.
5629
5630 Sun Jun 19 11:00:50 1994  Karl Berry  (karl@cs.umb.edu)
5631
5632         * common.ac (HAVE_PROGRAM_INVOCATION_NAME): Test for this.
5633         * acconfig.h: #undef this by default.
5634         * progname.[ch]: New files.
5635         * Makefile.in (objects): Add progname.o.
5636         * cnf.c (do_line): Check for .<progname> qualification.
5637
5638 Sat Jun 18 16:55:36 1994  Karl Berry  (karl@cs.umb.edu)
5639
5640         * elt-dirs.c (kpse_element_dirs): Avoid stats in leaf directories
5641         found via a non-null post.
5642
5643 Fri Jun 17 14:25:08 1994  Karl Berry  (karl@cs.umb.edu)
5644
5645         * elt-dirs.c (kpse_element_dirs) [DEBUG]: Print the directory
5646         expansion of the path element.
5647
5648         * str-llist.h: Doc fix.
5649
5650         * elt-dirs.c (do_subdir): Ignore anything beginning with ., not
5651         just `.' and `..'.
5652
5653 Tue Jun 14 11:53:49 1994  Karl Berry  (karl@cs.umb.edu)
5654
5655         * dir.c (dir_links): Cache the lookups.
5656
5657         * elt-dirs.c (kpse_element_dirs): Don't expand the argument.
5658         * expand.h (kpse_path_expand): New routine.
5659         * expand.c: Define it.
5660         * pathsearch.h: Doc fix.
5661
5662         * db.c, tex-file.c [DEBUG]: Prefix output lines with `debug:'.
5663
5664         * tex-file.h (kpse_format_info_type): Add cnf_path to the struct.
5665         * tex-file.c (kpse_init_path): Print the cnf_path.
5666         (init_path): Set it, instead of a local variable.
5667
5668         * pathsearch.c (path_search): Use !! for no-disk-search instead of
5669         %%, because now % is the comment char in cnf files.
5670         * kpathsea.texi: Document this. Also change all `Kpathsearch' to
5671         `kpathsea'.
5672
5673 Mon Jun 13 10:15:49 1994  Karl Berry  (karl@cs.umb.edu)
5674
5675         * tex-make.h (kpse_set_maketex_mag): Remove.
5676         * tex-make.c (kpse_set_maketex_mag): Make static, remove kpse_
5677         prefix, and use KPATHSEA_DPI and MAKETEX_BASE_DPI instead of args.
5678
5679 Sun Jun 12 13:49:15 1994  Karl Berry  (karl@cs.umb.edu)
5680
5681         * db.c (db_build): Put a header on the hash table.
5682
5683         * tex-glyph.c (try_format): Set extension and path after
5684         kpse_init_format, natch.
5685
5686 Sat Jun 11 14:26:34 1994  Karl Berry  (karl@cs.umb.edu)
5687
5688         * Makefile.in (objects): Add cnf.o.
5689         * variable.c (expand): Call kpse_cnf_get if no envvar value.
5690
5691 Fri Jun 10 11:20:23 1994  Karl Berry  (karl@cs.umb.edu)
5692
5693         * tex-make.h: Remove spec type and variable.
5694
5695 Thu Jun  9 13:42:21 1994  Karl Berry  (karl@cs.umb.edu)
5696
5697         * Makefile.in (objects): Remove init-path.o.
5698         * tex-file.c (kpse_find_file): Rewrite to initialize the paths
5699         only once, and keep all path info in a structure.
5700         * tex-file.h: Vastly simplify.
5701         * tex-glyph.h (kpse_font_file_type): Move here, since it's really
5702         only for glyphs.
5703         * tex-glyph.c: Corresponding changes.
5704         * debug.h (KPSE_DEBUG_PATHS): New debug bit.
5705
5706         * default.h, str-list.h: Doc fix.
5707
5708 Tue May 31 10:06:51 1994  Karl Berry  (karl@cs.umb.edu)
5709
5710         * debug.c: Doc fix.
5711
5712 Mon May 23 11:50:03 1994  Karl Berry  (karl@cs.umb.edu)
5713
5714         * c-fopen.h (FOPEN_A_MODE): Define this.
5715         * tex-make.c (misstex, maketex): Split up kpse_make_tex into
5716         these, and create missfont.log if appropriate.
5717
5718 Sun May 22 17:39:52 1994  Karl Berry  (karl@cs.umb.edu)
5719
5720         * tex-make.h: Doc fix.
5721
5722 Wed May 11 13:25:58 1994  Karl Berry  (karl@cs.umb.edu)
5723
5724         * configure.in (AC_OUTPUT): Use just `Makefile' instead of
5725         `./Makefile', to avoid a bug in Autoconf (through 1.10).
5726
5727 Sun Apr 17 16:18:00 1994  Karl Berry  (karl@ra.cs.umb.edu)
5728
5729         * debug.h: Prefix macros with KPSE_.
5730         * db.c, dir.c: Change calls.
5731
5732         * common.ac: Remove :: VPATH stuff; that made it in to Autoconf 1.8.
5733
5734         * Makefile.in (top_srcdir): Define this for configure to substitute.
5735
5736 Thu Apr  7 17:52:05 1994  Karl Berry  (karl@ra.cs.umb.edu)
5737
5738         * debug.[ch]: Implement fopen/fclose tracing.
5739
5740 Thu Mar 31 07:25:49 1994  Karl Berry  (karl@cs.umb.edu)
5741
5742         * Version 1.8.
5743
5744 Thu Mar 24 10:01:20 1994  Karl Berry  (karl@cs.umb.edu)
5745
5746         * tex-glyph.c: Doc fix.
5747
5748         * pathsearch.c (path_search): Don't search the disk if there is
5749         magic in the path spec.
5750
5751         * db.c: Doc fix.
5752
5753 Wed Mar 16 13:50:17 1994  Karl Berry  (karl@cs.umb.edu)
5754
5755         * readable.c (kpse_readable_file): Complain if errno == EPERM.
5756
5757 Sun Mar 13 11:14:19 1994  Karl Berry  (karl@cs.umb.edu)
5758
5759         * pathsearch.h (kpse_path_search): Take an extra arg must_exist.
5760         * pathsearch.c (kpse_path_search, search, path_search): Likewise.
5761         * tex-file.c (kpse_find_file): Change call.
5762         * tex-file.h (kpse_find_*): Change these calls, too.
5763
5764         * hash.c (hash_create): Don't use xcalloc to init pointers to null.
5765
5766         * db.c (kpse_db_search): Don't free the pointer after incrementing it.
5767         From Frank Jensen.
5768
5769 Sat Mar 12 17:55:36 1994  Karl Berry  (karl@cs.umb.edu)
5770
5771         * db.h (kpse_db_search): Returns a pointer.
5772         * db.c (kpse_db_search): If db can't be built, return NULL, else a
5773         pointer to the (possibly empty) list.
5774         (db_build): Return whether we found the file.
5775         * pathsearch.c (path_search): Change call.
5776
5777 Thu Mar 10 07:45:13 1994  Karl Berry  (karl@cs.umb.edu)
5778
5779         * Makefile.in (install-info): New target.
5780
5781 Fri Mar  4 08:06:16 1994  Karl Berry  (karl@cs.umb.edu)
5782
5783         * hash.c (hash): Change hash function to spread out the values a
5784         bit better.
5785
5786         * debug.h (DEBUG_DB_BUILD): New debug bit.
5787         * db.c (db_build) [DEBUG]: If bit is set, print hash table.
5788         * hash.h (hash_print): Declare.
5789
5790 Thu Mar  3 08:52:01 1994  Karl Berry  (karl@cs.umb.edu)
5791
5792         * Version 1.7.
5793
5794 Sun Feb 27 15:57:30 1994  Karl Berry  (karl@cs.umb.edu)
5795
5796         * Makefile.in (objects): Add db.o, hash.o.
5797         * db.[ch]: New files.
5798         * hash.[ch]: Also new files.
5799         * pathsearch.c (path_search): Try db search.
5800         * tex-glyph.c, fontmap.c: Use general hash functions.
5801
5802 Sat Feb 26 13:15:53 1994  Karl Berry  (karl@cs.umb.edu)
5803
5804         * fontmap.c: Doc fix.
5805
5806         * pathsearch.c (INIT_ALLOC): Increase to 75, what the heck.
5807
5808 Fri Feb 25 08:30:50 1994  Karl Berry  (karl@cs.umb.edu)
5809
5810         * tex-file.[ch]: Decare args const.
5811
5812 Thu Feb 24 07:55:43 1994  Karl Berry  (karl@cs.umb.edu)
5813
5814         * tex-make.h: Include tex-file.h, not init-path.h.
5815
5816         * init-path.h (KPSE_*_{ENVS,PATHS}, kpse_font_override_path): Move
5817         to tex-font.h.
5818         * tex-font.h (kpse_find_{file,tfm,vf}): Also declare these.
5819         * tex-font.c (kpse_find_file): Define these.
5820         (kpse_font_override_path): Move definition here.
5821         
5822         * tex-file.*: Rename from tex-font.*.
5823         * GNUmakefile: Corresponding changes.
5824
5825         * elt-dirs.c (do_subdir): Only append the / once we know it's a
5826         directory.
5827
5828 Wed Feb 23 16:41:31 1994  Karl Berry  (karl@cs.umb.edu)
5829
5830         * elt-dirs.c (do_subdir): Don't tack POST on if it is exactly the
5831         d_name, so we can find a/b with a path of a//b.
5832
5833         * c-vararg.h (PVAR3[CH]): New defines.
5834
5835         * init-path.h: Include KPSE_*_{ENVS,PATHS} here.
5836         (kpse_init_path): Take an additional arg font_p.
5837         * init-path.c (kpse_override_path): Rename kpse_font_override_path.
5838         (kpse_init_path): Only use kpse_font_override_font if font_p.
5839
5840 Mon Feb 21 15:38:53 1994  Karl Berry  (karl@cs.umb.edu)
5841
5842         * common.ac (extrasub): Define to remove VPATH lines if srcdir = `.'.
5843
5844 Thu Feb  3 06:19:49 1994  Karl Berry  (karl@cs.umb.edu)
5845
5846         * Version 1.6.
5847
5848         * fn.c (fn_copy0): Remember to allocate space for the null.
5849         Thanks, simon.
5850
5851 Wed Feb  2 09:57:47 1994  Karl Berry  (karl@cs.umb.edu)
5852
5853         * tex-make.h (KPSE_BITMAP_TOLERANCE): Move to here from tex-glyph.c
5854         (kpse_check_bitmap_tolerance): Declare.
5855         * tex-make.c (kpse_check_bitmap_tolerance): Define.
5856
5857 Tue Feb  1 10:42:03 1994  Karl Berry  (karl@cs.umb.edu)
5858
5859         * c-std.h (*alloc) [! _MALLOC_INTERNAL]: Make decl conditional.
5860
5861         * c-std.h [HAVE_STDLIB_H]: Change #if for including <stdlib.h> to this.
5862         * common.ac (AC_HAVE_HEADERS): Check for stdlib.h.
5863
5864         * Makefile.in (paths.h): Do all substitutions globally.
5865
5866         * absolute.c [DOS]: Include c-ctype.h.
5867         * tex-glyph.c (KPATHSEA_BITMAP_NAME) [DOS]: Double the backslash.
5868         * elt-dirs.c (do_subdir) [!UNIX_ST_LINK]: Avoid dangling else.
5869         From Wayne.
5870
5871         * paths.h.in: Doc fix.
5872
5873         * xputenv.c (xputenv): Check entire variable name for being saved,
5874         not just a prefix of it.
5875
5876 Mon Jan 31 12:05:30 1994  Karl Berry  (karl@cs.umb.edu)
5877
5878         * fn.c (fn_copy0): Allocate LEN if that's bigger than CHUNK_SIZE.
5879         (CHUNK_SIZE): Increase to 75.
5880
5881 Sat Jan 22 15:36:08 1994  Karl Berry  (karl@cs.umb.edu)
5882
5883         * Version 1.5.
5884
5885         * common.ac (AC_HAVE_FUNCS): Check for memmove.
5886
5887         * paths.h.in (DEFAULT_MF_PATH): Don't search just public/, cause
5888         we need ams/.
5889
5890 Mon Jan 17 15:09:36 1994  Karl Berry  (karl@cs.umb.edu)
5891
5892         * paths.h.in (DEFAULT_{FMT,BASE}_PATH): Include `.'.
5893
5894 Sun Jan 16 14:50:02 1994  Karl Berry  (karl@cs.umb.edu)
5895
5896         * paths.h.in (DEFAULT_PK_PATH): Search subdirs of pk.
5897
5898 Mon Jan 10 16:40:35 1994  Karl Berry  (karl@cs.umb.edu)
5899
5900         * xputenv.c (xputenv): Don't try to be smart about saving/freeing
5901         stuff if SMART_PUTENV is defined.
5902
5903         * c-std.h (assert) [!HAVE_ASSERT_H]: Define as nothing, to avoid
5904         undefined references to assert.
5905
5906 Tue Dec 21 16:28:13 1993  Karl Berry  (karl@cs.umb.edu)
5907
5908         * c-std.h (SYSV) [STDC_HEADERS]: Define, to get around old X
5909         include files under hpux.
5910
5911 Sun Dec 19 13:06:15 1993  Karl Berry  (karl@cs.umb.edu)
5912
5913         * Makefile.in (objects): Put tex-font.o first.
5914
5915 Sat Dec 18 15:03:57 1993  Karl Berry  (karl@cs.umb.edu)
5916
5917         * config.h (GCC_WCHAR_T, _GCC_WCHAR_T): Remove these; I have
5918         another theory now for wchar_t, done in xdvi.h and x11.c.
5919
5920 Sat Dec 18 14:41:15 1993  Karl Berry  (karl@owl.hq.ileaf.com)
5921
5922         * c-memstr.h ([r]index) [STDC_HEADERS]: Conditionalize #define.
5923
5924 Tue Dec 14 17:43:30 1993  Karl Berry  (karl@cs.umb.edu)
5925
5926         * Makefile.in (paths.h): Change substitutions accordingly.
5927         * paths.h.in (DEFAULT_FMT_PATH): Variable is now fmtdir.
5928         (DEFAULT_{BIB,BST}_PATH): Variable is now texmf_prefix.
5929
5930 Sat Dec 11 13:21:43 1993  Karl Berry  (karl@cs.umb.edu)
5931
5932         * tex-make.c (ABS): New macro.
5933         (kpse_set_maketex_mag): Use it, instead of fabs.
5934
5935 Fri Dec 10 15:31:16 1993  Karl Berry  (karl@cs.umb.edu)
5936
5937         * xmalloc.c, xrealloc.c: Use exit instead of abort, remove abort
5938         decls, and reword error messages to be less cryptic. From
5939         john@minster.york.ac.uk.
5940
5941         * dir.h: use `defined' instead of just `DIRENT || _POSIX_VERSION'.
5942         How annoying. From kretschm@aitxu3.ait.physik.uni-tuebingen.de.
5943
5944         * xputenv.c (putenv): Remove declaration, as different systems do
5945         it differently. From kayvan@satyr.sylvan.com.
5946
5947 Thu Dec  9 09:12:33 1993  Karl Berry  (karl@cs.umb.edu)
5948
5949         * tex-make.c (kpse_set_maketex_mag): Allow off-by-1 when deciding
5950         if a dpi is a magstep.
5951
5952 Tue Dec  7 11:03:51 1993  Karl Berry  (karl@cs.umb.edu)
5953
5954         * tex-make.c (kpse_set_maketex_mag): New routine from dvips,
5955         called by dvipsk and xdvik to ensure consistency.
5956         (magstep): Subroutine of above, also from dvips.
5957         * tex-make.h: Declare it.
5958
5959         * tex-doc.texi: Correct menu item (from maechler@stat.math.ethz.ch).
5960
5961 Fri Dec  3 12:53:38 1993  Karl Berry  (karl@cs.umb.edu)
5962
5963         * c-pathmx.h: Doc fix.
5964
5965 Sat Nov 27 14:36:11 1993  Karl Berry  (karl@cs.umb.edu)
5966
5967         * default.h: Doc fix.
5968
5969         * paths.h.in (texfontdir): This has been renamed to fontdir.
5970
5971 Sun Nov 21 08:28:41 1993  Karl Berry  (karl@cs.umb.edu)
5972
5973         * Makefile.in (distdir): Include HIER in the distribution, until
5974         we merge it into the manual.
5975
5976 Sun Nov  7 14:54:47 1993  Karl Berry  (karl@cs.umb.edu)
5977
5978         * c-namemx.h (NAME_MAX): Avoid use of pathconf.
5979         * c-pathmx.h: Doc fix.
5980
5981 Thu Nov  4 14:50:45 1993  Karl Berry  (karl@cs.umb.edu)
5982
5983         * config.h (_GCC_WCHAR_T) [!GCC_WCHAR]: Conditionalize.
5984
5985         * c-std.h (EXIT_SUCCESS) [!EXIT_SUCCESS]: Move these defines
5986         outside of !STDC_HEADERS, for the sake of SunOS 4.1.1.  (From
5987         vonbrand@inf.utfsm.cl.)
5988
5989 Wed Nov  3 14:43:05 1993  Karl Berry  (karl@cs.umb.edu)
5990
5991         * Version 1.4.
5992
5993 Wed Nov  3 07:05:48 1993  Karl Berry  (karl@cs.umb.edu)
5994
5995         * paths.h.in (DEFAULT_{BASE,FMT}_PATH): Had these definitions reversed.
5996
5997 Fri Oct 29 19:27:36 1993  Karl Berry  (karl@cs.umb.edu)
5998
5999         * tex-glyph.c (try_fallback_resolutions): Initialize ret in all cases.
6000
6001 Thu Oct 28 14:32:34 1993  Karl Berry  (karl@cs.umb.edu)
6002
6003         * lib.h: Doc fix.
6004
6005         * common.h (AC_UNISTD_H): Replace this with unistd.h in the list
6006         of HAVE_HEADERS.
6007
6008 Tue Oct 26 13:59:33 1993  Karl Berry  (karl@cs.umb.edu)
6009
6010         * str-llist.[ch]: New files.
6011         * Makefile.in (objects): Add str_llist.o.
6012         * elt-dirs.[ch]: Use str_llist_type throughout.
6013         * pathsearch.c (dir_list_search): Take a str_llist_type, and float
6014         a successful dir towards the top.
6015         (path_search): Change call of kpse_element_dirs.
6016
6017 Sun Oct 24 19:41:49 1993  Karl Berry  (karl@cs.umb.edu)
6018
6019         * elt-dirs.c (do_optional): Remove this stub.
6020         (expand_elt): Don't call it.
6021
6022 Fri Oct 22 14:46:44 1993  Karl Berry  (karl@cs.umb.edu)
6023
6024         * xmalloc.c, xrealloc.c, line.c, pathsearch.c: Doc fix.
6025
6026 Tue Oct 19 12:11:32 1993  Karl Berry  (karl@cs.umb.edu)
6027
6028         * tex-glyph.c (try_fallback_resolutions): New routine.
6029         (kpse_find_glyph_format): Call it, instead of repeating (the now
6030         pretty complicated) code.
6031         * tex-font.c (kpse_init_fallback_resolutions): Pass the value of
6032         any environment variable, not its name. From R.Kooijman@et.tudelft.nl.
6033
6034         * c-memstr.h (str[r]chr) [!str[r]chr]: Conditionalize. From
6035         maarrrk@seidel.ece.ucsb.edu.
6036
6037 Tue Oct 12 16:26:48 1993  Karl Berry  (karl@cs.umb.edu)
6038
6039         * tex-make.c: Doc fix.
6040
6041 Thu Oct  7 13:13:57 1993  Karl Berry  (karl@cs.umb.edu)
6042
6043         * xmalloc.c: Rewrite to not require <config.h>.
6044         * xrealloc.c: Likewise.
6045
6046         * make-suffix.c (make_suffix): Declare variables const.
6047         * remove-suffx.c (remove_suffix): Likewise.  Also rename to
6048         rm-suffix.c.
6049         * xputenv.c (putenv): Declare with correct prototype.
6050         * fontmap.c (internal routines): Likewise.
6051         * line.c (xmalloc, xrealloc): Declare as void *.
6052         (From john@minster.york.ac.uk.)
6053
6054 Wed Oct  6 06:49:53 1993  Karl Berry  (karl@cs.umb.edu)
6055
6056         * Version 1.3.
6057
6058         * tilde.c (kpse_tilde_expand): Always return a malloc-ed value.
6059         (From ken@cs.toronto.edu.)
6060
6061 Sun Oct  3 14:11:33 1993  Karl Berry  (karl@cs.umb.edu)
6062
6063         * config.h (_GCC_WCHAR_T): Define.
6064
6065 Sat Oct  2 17:17:32 1993  Karl Berry  (karl@cs.umb.edu)
6066
6067         * Makefile.in (install-*): Don't reassign PATH, just invoke
6068         mkdirchain explicitly.
6069
6070         * tex-glyph.c (KPATHSEA_BITMAP_NAME) [DOS]: Define what I think
6071         will work for this ...
6072
6073         * paths.h.in: Doc fix.
6074
6075         * Makefile.in: Doc fix.
6076
6077         * tex-glyph.c (kpse_find_glyph_format): Unconditionally initialize
6078         glyph_paths[*], since we might use them both in try_size.  From
6079         worsch@ira.uka.de.
6080
6081 Fri Oct  1 12:02:11 1993  Karl Berry  (karl@cs.umb.edu)
6082
6083         * expand.c: Doc fix.
6084
6085 Wed Sep 29 15:21:49 1993    (karl@terminus.cs.umb.edu)
6086
6087         * Version 1.2.
6088
6089 Sat Sep 25 14:12:00 1993  Karl Berry  (karl@cs.umb.edu)
6090
6091         * pathsearch.c (path_search, absolute_search): Don't initialize
6092         structs.
6093
6094 Fri Sep 24 12:50:00 1993  Karl Berry  (karl@cs.umb.edu)
6095
6096         * tex-glyph.c (try_size): Skip the simultaneous stuff.
6097         (try_format): Set the envvar here.
6098         (bitmap_name): Not here.
6099         * pathsearch.c (kpse_*_multi_search): Delete.
6100         Change most other routines to take only a single name again,
6101         instead of a name list.
6102         * pathsearch.h: Delete decls.
6103
6104         * tex-glyph.c (init-path.h): Don't need to include this.
6105
6106         * tex-glyph.c (kpse_find_glyph_format): Try the fallback
6107         resolutions for the fallback font.
6108
6109         * Makefile.in (warn_more, MAKEINFO_FLAGS) [hayley]: Define these
6110         for development and distribution.
6111
6112         * Makefile.in (dvi): Make analogous to info (including use of new
6113         suffix rule).
6114
6115         * tex-glyph.c (kpse_find_glyph_format): Set KPATHSEA_NAME to the
6116         fallback font if we get that far.
6117
6118 Wed Sep 15 19:29:56 1993  Karl Berry  (karl@cs.umb.edu)
6119
6120         * filefmt.h (KPSE_*_PATH): Pass NULL as first arg.
6121
6122         * xputenv.c (xputenv): Rewrite again to save the variable names,
6123         not the old items.
6124
6125 Mon Sep 13 06:55:29 1993  Karl Berry  (karl@cs.umb.edu)
6126
6127         * concatn.h: Doc fix.
6128
6129 Sun Sep 12 15:54:55 1993  Karl Berry  (karl@cs.umb.edu)
6130
6131         * lib.h (XTALLOC): Parenthesize the cast.
6132
6133         * xputenv.c (xputenv): Rewrite to collect some of the garbage.
6134
6135 Fri Sep 10 14:00:35 1993  Karl Berry  (karl@cs.umb.edu)
6136
6137         * lib.h (ENVVAR_SET_DEFAULT): No longer needed.
6138
6139         * xputenv.c (xputenv_int): New routine.
6140
6141 Thu Sep  9 14:58:00 1993  Karl Berry  (karl@cs.umb.edu)
6142
6143         * tex-make.c (MAKE_TEX_PK_SPEC): Change MAKETEX_DPI to
6144         KPATHSEA_DPI.
6145
6146         * tex-glyph.c (try_fontmap): Use KPSE_GLYPH_PATH.
6147         * filefmt.c (KPSE_GLYPH_{PATH,ENVS}): New macros.
6148         (KPSE_{GF,PK}_ENVS): Use GLYPH_ENVS.
6149
6150         * tex-glyph.c (bitmap_name): Rewrite to use a variable spec,
6151         introducing KPATHSEA_{BITMAP_NAME,FORMAT,DPI,NAME}.
6152         (kpse_find_glyph_format): Set KPATHSEA_DPI instead of MAKETEX_DPI;
6153         also set KPATHSEA_NAME.
6154         (try_fontmap): Also set KPATHSEA_NAME here.
6155         (try_size): Set KPATHSEA_DPI here.
6156
6157         * tex-glyph.c (try_name): Delete this routine.
6158         (kpse_find_glyph_format): Try fallback resolutions here, call
6159         try_resolution directly.
6160         (try_fontmap): Call try_resolution directly.
6161
6162         * init-path.h: Need not include c-proto.h.
6163
6164 Sun Aug 29 13:34:25 1993  Karl Berry  (karl@cs.umb.edu)
6165
6166         * tex-make.c: Doc fix.
6167
6168         * filefmt.h: Don't need c-proto.h or types.h.
6169
6170 Fri Aug 27 10:36:46 1993  Karl Berry  (karl@cs.umb.edu)
6171
6172         * c-vararg.h (PVAR2C): Take AP as an arg.
6173
6174         * init-path.[ch] (kpse_init_path): Take the current value as an
6175         additional argument, separate from the default path, and always
6176         expand_default.
6177
6178         * uppercasify.c (uppercasify): Don't discard upcased result!
6179
6180 Thu Aug 26 10:36:28 1993  Karl Berry  (karl@cs.umb.edu)
6181
6182         * Version 1.1.
6183
6184 Sun Aug 22 19:18:35 1993  Karl Berry  (karl@cs.umb.edu)
6185
6186         * install-data (install-data): Replace nonexistent
6187         $(kpath_includedir) with $(includedir), and define it.  Also
6188         remove c-auto.h.
6189
6190 Thu Aug  5 09:03:22 1993  Karl Berry  (karl@cs.umb.edu)
6191
6192         * Version 1.0.
6193
6194 Wed Aug  4 13:51:24 1993  Karl Berry  (karl@cs.umb.edu)
6195
6196         * tex-glyph.c (kpse_find_glyph_format): Fill in the font_file
6197         struct in the maketex case.
6198
6199         * Makefile.in (info): Just depend on kpathsea.info, and rely on
6200         new suffix rule to do the work.
6201
6202 Tue Aug  3 17:50:40 1993  Karl Berry  (karl@fishbowl.hq.ileaf.com)
6203
6204         * tex-glyph.c (try_name): Don't free expanded_name if we're
6205         returning it.
6206
6207 Tue Aug  3 10:13:43 1993  Karl Berry  (karl@owl.hq.ileaf.com)
6208
6209         * version.c (kpathsea_version_string): Do not declare const.
6210
6211         * line.h (read_line): Protoize decl.
6212
6213 Tue Aug  3 09:10:07 1993  Karl Berry  (karl@blood.hq.ileaf.com)
6214
6215         * c-memstr.h (bcmp, bcopy, bzero) [!HAVE_BCOPY]: Conditionalize.
6216
6217         * putenv.c: Include <kpathsea/c-auto.h>, and use const when
6218         calling memcpy.
6219
6220 Sun Aug  1 08:48:49 1993  Karl Berry  (karl@cs.umb.edu)
6221
6222         * Add new features to manual.
6223
6224         * Makefile.in (objects): Include putenv.o.
6225         * putenv.c: New file from gdb.
6226         * common.ac: Test for putenv.
6227
6228 Sat Jul 31 11:54:31 1993  Karl Berry  (karl@cs.umb.edu)
6229
6230         * Makefile.in (distclean): Remove paths.h.
6231
6232         * Most files: changes for traditional C compatibility.
6233
6234         * filefmt.h: Add new KPSE_..._PATH's for the other formats.
6235         * paths.h.in: Add defaults.
6236         * Makefile.in (paths.h): sed the values in.
6237
6238 Fri Jul 30 17:23:10 1993  Karl Berry  (karl@cs.umb.edu)
6239
6240         * filefmt.h (KPSE_VF_PATH): Add empty parens.
6241
6242         * tex-paths.h*: Rename to just paths.h*.
6243
6244 Tue Jul 27 09:00:58 1993  Karl Berry  (karl@cs.umb.edu)
6245
6246         * filefmt.h: Include tex-paths.h, and use default paths in
6247         KPSE_..._PATH macros.
6248
6249         * find-suffix.c: Correct logic.
6250
6251         * filefmt.h: Include init-path.h.
6252
6253 Sat Jul 24 10:44:21 1993  Karl Berry  (karl@cs.umb.edu)
6254
6255         * tex-glyph.c (kpse_find_glyph_format): Assign to it.
6256         * tex-font.h (kpse_font_file_type): New member `source'.
6257         (KPSE_FONT_FILE_SOURCE): Accessor macro.
6258         (kpse_source_type): New type.
6259
6260 Wed Jul 21 19:45:45 1993  Karl Berry  (karl@cs.umb.edu)
6261
6262         * Makefile.in (configclean): New target.
6263
6264 Sun Jul 18 13:53:38 1993  Karl Berry  (karl@cs.umb.edu)
6265
6266         * tilde.[ch] (kpse_expand_tilde): Rename to kpse_tilde_expand.
6267
6268         * elt-dirs.c, pathsearch.c, tex-glyph.c: Replace calls to
6269         kpse_expand_tilde with kpse_expand.
6270         * expand.[ch]: New files.
6271         * Makefile.in (objects): Add it.
6272
6273         * fn.[ch]: New files.
6274         * elt-dirs.c (fn*): Moved to fn.c.
6275         * tex-make.c, variable.c: Use the new routines.
6276         * *obstack*: No longer needed.
6277         * Makefile.in (objects): Appropriate changes.
6278
6279 Sat Jul 17 13:25:25 1993  Karl Berry  (karl@cs.umb.edu)
6280
6281         * concat.c: Doc fix.
6282
6283         * pathsearch.c (search, path_search): Expand variable references.
6284
6285         * itoa.c: New file.
6286         * lib.h (itoa): Declare it.
6287         * Makefile.in (objects): Add it.
6288
6289         * lib.h (ENVVAR_SET_DEFAULT): New macro.
6290         * tex-glyph.c (kpse_find_glyph_format): Call it to set the dpi.
6291
6292 Fri Jul 16 09:10:52 1993  Karl Berry  (karl@cs.umb.edu)
6293
6294         * xputenv.c: New file.
6295         * Makefile.in (objects): Add it.
6296         * lib.h (xputenv): Declare it.  
6297
6298         * c-obstack.h: New file.
6299         * variable.[ch]: New files.
6300         * Makefile.in (objects): Add it.
6301
6302         * uppercasify.c: New file.
6303         * Makefile.in (objects): add it.
6304         * lib.h (uppercasify): Declare it.
6305
6306 Tue Jul 13 13:47:54 1993  Karl Berry  (karl@cs.umb.edu)
6307
6308         * tex-glyph.c (kpse_find_glyph_format): Simplify path initialization.
6309         * filefmt.h: New file; add abbrevs for GF and PK inits.
6310
6311         * Makefile.in (objects): Add obstack.o and tex-make.o.
6312         * obstack.[ch]: New files from GNU.
6313         * concatn.[ch], tex-make.[ch]: New files.
6314         * init-path.c: Doc fix.
6315
6316         * elt-dirs.c: Doc fix.
6317         * readable.[ch]: Doc fixes.
6318
6319 Sun Jul 11 13:37:02 1993  Karl Berry  (karl@cs.umb.edu)
6320
6321         * tex-font.h (kpse_font_format_type): Rename to kpse_file_format_type,
6322         and include the other file formats.
6323         * tex-glyph.c: Change uses.
6324
6325 Tue Jul  6 08:09:10 1993  Karl Berry  (karl@cs.umb.edu)
6326
6327         * tex-font.c (kpse_fallback_font): Initialize to NULL.
6328
6329 Mon Jul  5 08:23:09 1993  Karl Berry  (karl@cs.umb.edu)
6330
6331         * tex-glyph.c (try_size): Don't fill in FONT_FILE if it's null.
6332
6333         * tex-font.c (kpse_init_fallback_resolutions): Look for TEXSIZES
6334         after the program-specific *SIZES var.
6335
6336         * tex-glyph.c (kpse_find_glyph_format): Use kpse_init_path.
6337         * Makefile.in (objects): Add init_path.o.
6338         * tex-font.[ch] (kpse_override_path): Move to init-path.[ch].
6339         * init-path.[ch]: New files.
6340         * c-vararg.h: New file.
6341
6342 Sun Jul  4 11:26:17 1993  Karl Berry  (karl@cs.umb.edu)
6343
6344         * tex-font.c (kpse_init_fallback_resolutions): New routine.
6345         * tex-font.h: Declare it, and companion return type.
6346
6347 Fri Jul  2 10:43:11 1993  Karl Berry  (karl@cs.umb.edu)
6348
6349         * tex-glyph.c (kpse_find_glyph_format): Take first successful
6350         fontmap entry.
6351
6352         * fontmap.c (map_file_parse): Take first % on line as starting the
6353         comment, not the last.
6354
6355         * fontmap.c (map_insert): Always insert the new element.
6356
6357 Thu Jul  1 19:21:35 1993  Karl Berry  (karl@cs.umb.edu)
6358
6359         * fontmap.c (map_lookup): Return a list, not a single string.
6360         (map_lookup_str): Likewise.
6361         * fontmap.h (map_lookup): Change decl.
6362         * tex-glyph.c (kpse_find_glyph_format): Change caller.
6363
6364 Sat Jun 26 11:48:36 1993  Karl Berry  (karl@cs.umb.edu)
6365
6366         * tex-font.h: Doc fix.
6367
6368 Thu Jun 24 11:16:41 1993  Karl Berry  (karl@cs.umb.edu)
6369
6370         * configure.in (MISSING_HEADERS): Toss in favor of HAVE_HEADERS.  Sigh.
6371         Also, move all this to an include file.
6372         Change uses in several files.
6373
6374         * stat.h: Rename to c-stat.h, and change includers.
6375
6376         * Makefile.in (objects): Add tex-glyph.o.
6377         * pathsearch.[ch] (kpse_*_multi_search): New routines.
6378
6379 Sat Jun 19 11:37:18 1993  Karl Berry  (karl@cs.umb.edu)
6380
6381         * str-list.c (str_list_free): New routine.
6382
6383 Fri Jun 18 13:54:08 1993  Karl Berry  (karl@cs.umb.edu)
6384
6385         * fontmap.c (map_create): Rewrite to use kpse_all_path_search.
6386         Include const in various subroutines.
6387
6388 Tue Jun 15 15:58:18 1993  Karl Berry  (karl@cs.umb.edu)
6389
6390         * Change <kpathsea/pathsrch.h> to pathsearch.  Rename the files
6391         themselves.
6392
6393         * elt-dirs.c (cache): Copy the key into our own storage, since it
6394         comes from kpse_path_element and might get overwritten.  Should we
6395         copy all the values, too?
6396
6397 Sun Jun 13 16:49:09 1993  Karl Berry  (karl@cs.umb.edu)
6398
6399         * pathsearch.c (dir_list_search): Don't need to append the null
6400         here; in fact, it's wrong, since then the final list might have
6401         nulls in the middle.
6402
6403         * elt-dirs.c (dir_list_add): Correct check for new directory
6404         already ending in /.
6405
6406 Fri Jun 11 10:45:33 1993  Karl Berry  (karl@cs.umb.edu)
6407
6408         * str-list.[ch]: New files.
6409         * pathsrch.c: Use it for the dir_list routines.
6410         * Many changes and new files throughout for new implementation
6411         including TeX-font-lookup routines.
6412
6413 Tue Jun  8 14:00:54 1993  Karl Berry  (karl@cs.umb.edu)
6414
6415         * Most files: Change `const string' (constant pointer) to `const
6416         char *' (pointer to constant data).  What a crock.
6417
6418 Mon Jun  7 09:43:21 1993  Karl Berry  (karl@cs.umb.edu)
6419
6420         * debug.[ch]: New files.
6421         * config.h: Include debug.h.
6422
6423         * dir-p.c: Rename to dir.c.
6424         (dir_links): New routine.
6425
6426         * c-std.h (assert.h) [!ASSERT_H_MISSING]: Include this.
6427         * configure.in: Check for it with new macro AC_MISSING_HEADERS.
6428
6429 Thu Jun  3 10:12:12 1993  Karl Berry  (karl@cs.umb.edu)
6430
6431         * dirio.h (leaf_dir_p): No longer defined; rename to dir.h.
6432         * xopendir.c, dir-p.c, pathsrch.c: Change include.
6433
6434 Mon May 31 07:49:16 1993  Karl Berry  (karl@cs.umb.edu)
6435
6436         * c-std.h (EXIT_{SUCCESS,FAILURE}): Define these if they're undefined.
6437
6438         * config.h: Use <kpathsea/...> instead "...".
6439
6440         * kpathlib.h: Had #ifndef protection messed up.  Rename to lib.h.
6441
6442         * c-memstr.h (index, rindex) [!index, !rindex]: Make definitions
6443         conditional.
6444
6445 Tue May 25 10:07:00 1993  Karl Berry  (karl@cs.umb.edu)
6446
6447         * c-{namemx,pathmx,pathch,...}.h: Doc fixes.
6448
6449         * c-systypes.h: New file.
6450         * c-std.h: Include it.
6451
6452         * stat.h: New file.
6453         * xstat.h: Include it.
6454
6455         * configure.in (AC_HAVE_HEADERS): Test for `pwd.h'.
6456
6457 Sun May 23 19:06:22 1993  Karl Berry  (karl@cs.umb.edu)
6458
6459         * pathsrch.[ch]: Doc fixes.
6460
6461 Fri May 21 11:27:54 1993  Karl Berry  (karl@cs.umb.edu)
6462
6463         * line.c (free): Declare.
6464
6465         * pathsrch.c, find-suffix.c: Change caller.
6466         * c-pathch.h ({IS_,}{DIR,ENV}_SEP): Rename existing confusing
6467         definitions to these.  Suggested by rocky.
6468
6469 Mon May 17 08:18:18 1993  Karl Berry  (karl@cs.umb.edu)
6470
6471         * Version 0.3.
6472
6473         * pathsrch.c (expand_default): Handle doubled colon and
6474         nothing-but-colon cases.
6475
6476         * Write documentation, change Makefile accordingly.
6477
6478 Thu May 13 16:32:34 1993  Karl Berry  (karl@cs.umb.edu)
6479
6480         * c-std.h (popen) [VMS]: Make decl conditional, and include
6481         <unixlib.h> and <unixio.h>.
6482
6483 Mon May 10 07:12:50 1993  Karl Berry  (karl@cs.umb.edu)
6484
6485         * Version 0.2.
6486
6487         * version.c: Put in placeholder.
6488
6489 Sun May  9 10:42:34 1993  Karl Berry  (karl@cs.umb.edu)
6490
6491         * config.h (c-auto.h): Use <...> instead of "...".
6492
6493 Tue May  4 14:54:41 1993  Karl Berry  (karl@cs.umb.edu)
6494
6495         * Makefile.in (info check dvi): New targets (that do nothing).
6496
6497 Mon May  3 13:46:17 1993  Karl Berry  (karl@claude.cs.umb.edu)
6498
6499         * Version 0.1.
6500
6501         * Use KPATHSEARCH_ prefix for various headers' cpp protections.
6502
6503 Sun May  2 10:28:25 1993  Karl Berry  (karl@cs.umb.edu)
6504
6505         * Makefile.in (dist): Depend on TAGS, and put it in the dist.
6506
6507         * Makefile.in (c-auto.h.in): Remove extra $(srcdir).
6508
6509 Sun Apr 25 11:22:12 1993  Karl Berry  (karl@cs.umb.edu)
6510
6511         * pathsrch.h: Include c-proto.h.
6512
6513         * make-suffix.c: New file.
6514         * Makefile.in (objects): Add the .o.
6515
6516         * file-p.c: Use the SAME_FILE_P macro.
6517
6518         * fontmap.h: Include c-proto.h and types.h.
6519
6520         * lib.h: Rename to kpathlib.h.
6521         * config.h: Include changed.
6522
6523         * c-proto.h, c-std.h: Doc fix.
6524
6525         * c-limits.h [LIMITS_H_MISSING]: Conditionalize include of c-std.h.
6526
6527         * xstat.h: Include c-std.h.
6528
6529         * Makefile.in (c-auto.h.in): Add unused warning to top.
6530
6531         * dirio.h: Include c-proto.h and types.h.
6532
6533 Fri Apr 23 16:11:13 1993  Karl Berry  (karl@cs.umb.edu)
6534
6535         * line.c: Don't include config.h, just declare xmalloc and
6536         xrealloc explicitly.
6537
6538         * pathsrch.c: paths.h need not be included.
6539
6540         * Created.