comparison kpathsea/ChangeLog @ 2999:faa5d0421460

[project @ 1997-05-23 03:02:09 by jwe]
author jwe
date Fri, 23 May 1997 03:02:36 +0000
parents
children 86d3a6fc4c84
comparison
equal deleted inserted replaced
2998:692ba9d441ec 2999:faa5d0421460
1 Fri Feb 7 11:53:09 1997 Karl Berry <karl@cs.umb.edu>
2
3 * Version 3.0.
4
5 * MakeTeXMF: Syntax problems with dc*. Fix from Thomas.
6
7 * MakeTeX*: sed command to strip off all but the first of multiple
8 trees in $TEXMF was faulty.
9
10 * c-pathch.h (ENV_SEP, ENV_SEP_STRING) [AMIGA]: Change to ;
11 for Andreas. Then Amiga binaries may be able to share
12 the same texmf.cnf with Unix and NT.
13
14 * texmf.cnf.in (main_memory): Decrease back to 263,000.
15 It's not worth allocating 7MB on everyone's machine just
16 to do xy-pic samples. Add a comment about it.
17
18 Thu Feb 6 10:27:50 1997 Karl Berry <karl@cs.umb.edu>
19
20 * db.c (kpse_db_search): If an alias exists on disk, and the
21 original entry in ls-R doesn't, use the alias. Idea, sample code
22 from Fabrice.
23
24 * cnf.c (do_line): Add awful kludge to translate ; to :
25 when reading texmf.cnf values under Unix. The idea is
26 to be able to write a single texmf.cnf that will work
27 under both NT and Unix.
28
29 * db.c: Doc fixes.
30
31 * MakeTeXcommon: Set ps_to_pk.
32 * MakeTeXPK: Use ps_to_pk instead of hardwiring gsftopk.
33 * MakeTeX.site: Include ps_to_pk comment.
34
35 * texmf.cnf.in (TEXMFCNF): Include SELFAUTOLOC (at the front).
36 * progname.c (kpse_set_progname): Include SELFAUTOLOC for the real
37 directory. It may be useful. Suggested by Andreas.
38
39 * MakeTeXcommon: Add case for fc.
40 * MakeTeX.site: Add comment for fc.
41 * MakeTeXMF: Add case for fc, generated like Sauter.
42 From Francois and Thomas.
43
44 * progname.c [WIN32]: SELFAUTODIR fix from Fabrice.
45
46 * kpathsea.h: Do not #include <kpathsea.h> (infinite loop).
47 From Fabrice and Richard.
48
49 Tue Feb 4 13:20:09 1997 Karl Berry <karl@cs.umb.edu>
50
51 * tilde.c: xstrdup the result from getenv,
52 since we end up freeing it with a path element of `~'.
53
54 * MakeTeX.site: Include RCS id.
55
56 * MakeTeX.site: Replace sample dc assignment with ec.
57
58 * MakeTeXMF: Handle ec, use exbase for tc.
59
60 * MakeTeXcommon (ecfontdir,tcfontdir): New variables.
61
62 Tue Feb 04 15:11:29 1997 Fabrice POPINEAU <popineau@ese-metz.fr>
63
64 * progname.c: argv[0] under Win95 is set to the short
65 filename of the executable run. Changed the way
66 program_invocatio_name is retrieved : used the SearchPath() win32
67 call, next FindFirstFile() to get the long filename. The selfdir
68 stuff is not used any more for win32.
69
70 Mon Feb 3 18:01:02 1997 Karl Berry <karl@cs.umb.edu>
71
72 * kpsewhich.c (read_command_line): Check for -1, not EOF,
73 per new getopt.
74
75 Sun Feb 2 16:06:42 1997 Karl Berry <karl@cs.umb.edu>
76
77 * texmf.cnf.in (PKFONTS.xdvi): Replace `gsftopk,ps2pk' by `modeless'.
78 * MakeTeXPK (mode): Use `modeless' instead of `gsftopk'.
79
80 * tex-file.c: Look for TEXINDEXSTYLE before INDEXSTYLE.
81
82 Sat Feb 1 16:31:39 1997 Karl Berry <karl@cs.umb.edu>
83
84 * texmf.cnf.in: Doc fix.
85
86 * progname.c (my_dirname): Check for device separators at the
87 beginning fo the string. From Andreas.
88
89 * c-pathch.h (IS_DIR_SEP) [AMIGA]: New definition from Andreas.
90 (NAME_BEGINS_WITH_DEVICE): Remove.
91
92 * tex-make.c (maketex) [AMIGA]: Have to call system instead of popen
93 due to different interface. From Andreas.
94
95 * progname.c (selfdir): Check self, not ret, for exiting the loop.
96 (remove_dots): Missing indirection on ret.
97 From Fabrice.
98
99 Tue Jan 21 08:26:17 1997 Karl Berry <karl@cs.umb.edu>
100
101 * elt-dirs.c: Doc fixes.
102
103 * db.c (match): Don't return false just because the path element
104 ended in /.
105 Bug from: Richard Walker <Richard.Walker@cs.anu.edu.au>.
106
107 * expand.c (kpse_path_expand): Do variable expansion before
108 splitting on path elements.
109 Bug from: Richard Walker <Richard.Walker@cs.anu.edu.au>.
110
111 * tilde.c [TEST]: Function name changed.
112 From: Richard Walker <Richard.Walker@cs.anu.edu.au>.
113
114 * texmf.cnf.in (MAILCAPLIBDIR): Rename from MAILCAPDIR.
115 From Ulrik.
116
117 Tue Jan 21 09:34:20 1997 Fabrice POPINEAU <popineau@ese-metz.fr>
118
119 * c-pathch.h: NAME_BEGINS_WITH_DEVICE(string) new macro testing
120 for the presence of a device name in front of the string.
121
122 * progname.c (remove dots): stop before device name if
123 present. When building the filename, do not add leading DIR_SEP if
124 there is a device.
125
126 * pathsearch.c (path_search): avoid searching the whole disk
127 adapted for win32.
128
129 * db.c: support aliases file along with db files. An alias file is
130 named with ALIAS_NAME and the hashtable size is
131 ALIAS_HASH_SIZE. When a name looked for has an alias, the alias is
132 searched instead of the original name. The format of the aliases
133 file is "real_name alias_name", one pair per line. Currently only
134 for WIN32.
135
136 Mon Jan 20 12:01:14 1997 Karl Berry <karl@cs.umb.edu>
137
138 * progname.c: Amiga patch from Andreas.
139
140 Sun Jan 19 14:29:00 1997 Karl Berry <karl@cs.umb.edu>
141
142 * pathsearch.c (path_search): Strip off all but one of leading /'s.
143 We never want to search the whole disk.
144
145 * progname.c: Expand symlinks off the final filename, not the
146 directory name.
147
148 Sat Jan 18 14:39:00 1997 Karl Berry <karl@cs.umb.edu>
149
150 * texmf.cnf.in (param_size): Increase to 500 for the chemical
151 formula macro package. From Thomas.
152
153 * progname.c (expand_symlinks, ReadSymLink, CopyFirst, StripFirst,
154 StripLast): New functions to expand symbolic links for SELFAUTO*.
155 Noted by Thomas.
156
157 * texmf.cnf.in (PKFONTS.xdvi): Fix tpyo.
158 Document that memory changes
159 (trie_size): Increase to 64000.
160
161 Fri Jan 17 13:08:08 1997 Karl Berry <karl@cs.umb.edu>
162
163 * progname.c (remove_dots): Don't free the constant null string.
164 From Andreas.
165
166 * texmf.cnf.in (dbfontdir): Change to dbfonts (the commented-out one).
167
168 Thu Jan 16 10:13:19 1997 Karl Berry <karl@cs.umb.edu>
169
170 * cnf.c (kpse_cnf_get): Avoid recursive init, due to new
171 $TETEXDIR and other variables in default TEXMFCNF value.
172
173 * getopt*, strtol.c: New versions from /gd/gnu/lib.
174
175 * c-std.h (ALLOC_RETURN_TYPE): Only define if we're going to use it.
176
177 * acconfig.h (EDITOR): Oops, %s not +%s.
178 From: tim@maths.tcd.ie.
179
180 * progname.c (kpse_set_progname): One more my_dirname call
181 to get the parent and the grandparent in the environment variables.
182
183 * texmf.cnf.in (texdir): Rename from tex, to avoid clash with
184 TEX used by makempx -- win32 doesn't distinguish case on envvars.
185 From Fabrice.
186 (WEB2CDIR): Lowercase, so it doesn't end up in paths.h, just
187 for cleanliness.
188
189 * progname.c (kpse_set_progname): Pass program_invocation_name
190 to selfdir instead of progname, just in case we
191 HAVE_PROGRAM_INVOCATION_NAME and it's something different.
192 From Fabrice.
193
194 * tex-file.c (kpse_open_file): ocp, ofm and ovf should use
195 FOPEN_RBIN_MODE. From Fabrice and John Plaice.
196
197 * progname.c [AMIGA]: Fix syntax errors, remove_dots not necessary.
198 From Andreas Scherer.
199
200 * MakeTeXupdate: MakeTeXls-R isn't in the conf dir anymore, just
201 in the regular path.
202 From Thomas.
203
204 Sun Jan 12 17:22:35 1997 Karl Berry <karl@cs.umb.edu>
205
206 * cnf.c (read_all_cnf): Do not test unallocated memory on empty
207 lines; crashed on Alphas.
208
209 * progname.c (dirname): Rename to my_dirname to avoid clash on Alphas.
210
211 Sat Jan 11 16:28:54 1997 Karl Berry <karl@cs.umb.edu>
212
213 * c-std.h (calloc, malloc, realloc) [!STDC_HEADERS]: Only declare
214 in this case.
215
216 Tue Jan 7 17:44:01 1997 Karl Berry <karl@cs.umb.edu>
217
218 * MakeTeXPK: Doc fix.
219
220 * texmf.cnf.in (KPSE_DOT): Define.
221
222 * c-memstr.h: Doc fix.
223
224 Wed Jan 1 16:58:02 1997 Karl Berry <karl@cs.umb.edu>
225
226 * pathsearch.h (kpse_filename_component): Declare this.
227 * path-elt.c: Define it.
228 * progname.c (remove_dots): New function to remove . and ..
229 filename components. Subsumes slashify, it turns out.
230
231 * Makefile.in (install-exec): Install MakeTeXls-R in $(scriptdir).
232
233 Mon Dec 30 16:22:42 1996 Karl Berry <karl@cs.umb.edu>
234
235 * progname.c (kpse_set_progname): Strip off .exe if present.
236
237 * cnf.c: Doc fix.
238
239 * progname.c (slashify): New function, to translate \ into / for WIN32.
240 (selfdir): Call it.
241
242 * lib.h (FILE{STR,CHAR}CASEEQ) [MONOCASE_FILENAMES]: Define these,
243 continuing yesterday's changes.
244 From Fabrice.
245
246 Sun Dec 29 13:26:09 1996 Karl Berry <karl@cs.umb.edu>
247
248 * db.c (match, elt_in_db),
249 * elt-dirs.c (cached),
250 * hash.c (hash_lookup),
251 * kpsewhich.c (find_format, TRY_SUFFIX),
252 * tex-file.c,
253 * cnf.c (do_line): Compare filenames with FILESTRCASEEQ or
254 FILECHARCASEEQ to support monocase filesystems.
255 * hash.c (hash) [MONOCASE_FILENAMES]: Transform keys to uppercase.
256 From Fabrice.
257
258 * basename.c (basename): Consider device separators;
259 if given 'e:foo.tex', should return 'foo.tex'.
260 From: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.
261
262 * types.h (boolean): Protect with #ifndef HAVE_BOOLEAN, for NeXT.
263 From: Raf Schietekat <flexus!rfschtkt@colds.ruca.ua.ac.be>
264
265 Sat Dec 28 07:18:48 1996 Karl Berry <karl@cs.umb.edu>
266
267 * progname.c [AMIGA]: Add code for this case from Andreas S.
268
269 Fri Dec 27 17:38:43 1996 Karl Berry <karl@cs.umb.edu>
270
271 * progname.c (S_IX{USR,GRP,OTH}): Define if not defined, for the NeXT.
272 From: Gregor Hoffleit <flight@mathi.uni-heidelberg.de>.
273
274 * texmf.cnf.in (TEXMFCNF): Rewrite using /.'s etc. From Thomas.
275
276 Sun Dec 15 06:21:22 1996 Karl Berry <karl@cs.umb.edu>
277
278 * common.ac (AC_CHECK_FUNCS): Add getwd.
279
280 * lib.h (xgetcwd): Declare.
281 * Makefile.in (objects): Add xgetcwd.lo.
282 * xgetcwd.c: New file from xdvik.
283
284 * texmf.cnf.in (TEXMFCNF): Add $SELFAUTODIR:$SELFAUTOPARENT.
285 * progname.c (selfdir, dirname, etc.): New functions.
286 (kpse_set_progname): Set SELFAUTODIR and SELFAUTOPARENT.
287
288 Sat Dec 14 14:41:39 1996 Karl Berry <karl@cs.umb.edu>
289
290 * tex-file.h (kpse_src_type): New types kpse_tex{doc,source}_format.
291 * tex-file.c (TEXDOC_ENVS, TEXSOURCE_ENVS): New envvars.
292 (kpse_init_format): Handle them.
293 * texmf.cnf.in (TEXDOCS, TEXSOURCES): New values.
294 * kpathsea.texi: Document them.
295
296 Fri Dec 13 16:46:00 1996 Karl Berry <karl@cs.umb.edu>
297
298 * expand.h: Doc fix.
299
300 Thu Dec 12 17:25:25 1996 Karl Berry <karl@cs.umb.edu>
301
302 * xputenv.c [WIN32]: Work around putenv ("FOO=") unsetting
303 FOO under NT. From Fabrice.
304
305 Mon Dec 9 23:27:45 MET 1996 Thomas Esser <te@informatik.uni-hannover.de>
306
307 * kpsewhich.c: add option -show-path to display the search path for a
308 given file type.
309
310 Mon Dec 9 17:23:32 1996 Karl Berry <karl@cs.umb.edu>
311
312 * readable.c (READABLE): Check !S_ISDIR instead of S_ISREG,
313 to allow fifo's.
314 Suggestion from: Krzysio Leszczynski <chris@camk.edu.pl>.
315
316 * tex-file.c (kpse_open_file): Open VF files in binary mode.
317 From Fabrice.
318
319 * types.h (boolean) [WIN32]: Remove this case, Fabrice
320 has found another solution.
321
322 * elt-dirs.c (expand_elt): Do not check for a device separator.
323 From Fabrice.
324
325 * texmf.cnf.in (OTPINPUTS, OCPINPUTS): These use a subdirectory omega/.
326 From John P.
327
328 Sun Dec 8 17:15:43 1996 Karl Berry <karl@cs.umb.edu>
329
330 * c-proto.h (DllImport): Define here.
331 * config.h (DllImport): Instead of here.
332 * kpsewhich.c: Other DllImport changes.
333 * line.c [WIN32]: Include <malloc.h>.
334 * tex-file.c: Oops, had FOPEN_RBIN_MODE vs. R reversed.
335 * tex-make.c (kpse_make_tex_discard_errors): Add Dllimport.
336 * types.h (boolean): Bizarre WIN32 definition.
337 From: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.
338
339 Sat Dec 7 22:12:26 MET 1996 Thomas Esser <te@informatik.uni-hannover.de>
340
341 * MakeTeXnames: Ensure that cmr1234 will be mapped to
342 jknappen/sauter while cmr12 will still be mapped to public/cm.
343
344 Fri Dec 6 15:08:35 1996 Karl Berry <karl@cs.umb.edu>
345
346 * texmf.cnf.in (OFMFONTS, etc.): New definitions for Omega.
347 * tex-file.h (kpse_file_format_type): Define kpse_ocp_format, etc.
348 * acconfig.h (MAKE_OMEGA_{OFM,OCP}_BY_DEFAULT): Include these.
349 * tex-file.c (kpse_init_format): New cases for the Omega types.
350 (OCP_ENVS, etc.): New environment variable lists.
351 From: John Plaice <plaice@iad.ift.ulaval.ca>.
352
353 * texmf.cnf.in: Use fonts//<format> consistently,
354 instead of fonts/<format>.
355
356 * lib.h (itoa): Remove, it seems we don't use this function any more.
357 * itoa.c: Remove.
358 * acconfig.h (HAVE_ITOA): Remove this.
359 * Makefile.in (objects): Remove.
360
361 * cnf.c (do_line): Oops, tested prog after freeing it,
362 should have tested prog2.
363 From: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.
364
365 Tue Dec 3 14:57:52 1996 Karl Berry <karl@cs.umb.edu>
366
367 * Makefile.in (objects): Remove strtol.lo, that's generated by
368 configure.
369 From: Gregor Hoffleit <flight@mathi.uni-heidelberg.de>.
370
371 Mon Dec 2 09:05:54 1996 Karl Berry <karl@cs.umb.edu>
372
373 * MakeTeXcommon: Set KPSE_DOT before the trap. From Thomas.
374
375 Tue Dec 3 18:02:08 1996 Ulrik Vieth <vieth@thphy.uni-duesseldorf.de>
376
377 * texmf.cnf.in (TRFONTS): Set this to /usr/lib/font/devpost
378 indepent of $prefix.
379
380 Mon Dec 9 00:28:58 1996 Ulrik Vieth <vieth@thphy.uni-duesseldorf.de>
381
382 * MakeTeXcommon: Use `basename $0` in usage and version messages
383 for consistency with other programs and scripts.
384 Also accept -help, -version in addition to --help, --version.
385
386 * MakeTeX{MF,PK,TFM,ls-R,mkdir,names,update}:
387 Use `basename $0` in usage messages for consistency.
388
389 Tue Dec 3 18:02:08 1996 Ulrik Vieth <vieth@thphy.uni-duesseldorf.de>
390
391 * texmf.cnf.in (TRFONTS): Set this to /usr/lib/font/devpost
392 indepent of $prefix.
393
394 Thu Nov 28 16:33:35 1996 Karl Berry <karl@cs.umb.edu>
395
396 * common.ac (AC_ISC_POSIX): Remove this; it causes warnings from
397 Autoconf that make no sense, isn't cached, and is probably of
398 dubious value today.
399 * configure.in: Move the klibtool stuff to common.ac, so the
400 program configure.in's can find it.
401
402 Wed Nov 27 14:43:41 1996 Karl Berry <karl@cs.umb.edu>
403
404 * configure.in: Doc fix.
405 * acconfig.h (HAVE_BASENAME, etc.): #undef these symbols so
406 Autoheader can replace them; we use a non-standard macro to test
407 for them, since they're part of the possibly-shared library.
408
409 Mon Nov 25 14:04:42 1996 Karl Berry <karl@cs.umb.edu>
410
411 * Makefile.in (texmf.sed): Replace all $(texmf) with `$TEXMF'
412 except on the TEXMF line itself.
413
414 Sun Nov 24 10:06:35 1996 Karl Berry <karl@cs.umb.edu>
415
416 * Makefile.in (texmf.sed): Insert missing quote.
417 (distdir): Use doc instead of listing all the targets (we were
418 missing unixtex.ftp).
419
420 * kpsewhich.c (read_command_line): Print the integer equivalent of
421 each format.
422
423 Sat Nov 23 15:38:31 1996 Karl Berry <karl@cs.umb.edu>
424
425 * xt.ac (with_x): Remove spurious ;;.
426
427 Fri Nov 22 18:00:41 1996 Karl Berry <karl@cs.umb.edu>
428
429 * cnf.c (do_line): Let var.prog lines work if we're running prog.exe.
430 This happens with --enable-shared.
431 From Ulrik.
432
433 Mon Nov 18 16:10:48 1996 Karl Berry <karl@cs.umb.edu>
434
435 * tex-file.c (kpse_troff_font_format): Change to DEFAULT_TRFONTS
436 to make texmf.cnf.in change.
437
438 Fri Nov 15 14:13:36 1996 Karl Berry <karl@cs.umb.edu>
439
440 * Makefile.in (texmf.sed): Get $TEXMF back into the paths.
441 Noted by Andreas Scherer.
442 (distdir): Add klibtool.version to the distribution.
443 From Ulrik.
444 (install-exec): Use INSTALL_SCRIPT for scripts.
445
446 Mon Nov 11 16:16:50 1996 Karl Berry <karl@cs.umb.edu>
447
448 * various .c: Print (nil) instead of (null) so we can possibly
449 detect printf of a null pointer.
450
451 Sun Nov 10 16:22:43 1996 Karl Berry <karl@cs.umb.edu>
452
453 * xt.ac: New file so web2c and xdvi treat --with-x-toolkit uniformly.
454 From Ulrik.
455
456 Thu Oct 31 15:38:48 1996 Karl Berry <karl@cs.umb.edu>
457
458 * expand.c (kpse_path_expand): Do brace expansion first.
459 (kpse_brace_expand): Expand each element of the brace expansion, so
460 {~a,~b} expands. Suggested by Thomas.
461
462 Fri Oct 25 16:51:14 1996 Karl Berry <karl@cs.umb.edu>
463
464 * Makefile.in (install-data): Install an empty dir file if none exists.
465 (mostlyclean: Remove PROF etc. subdirs here.
466
467 Tue Oct 22 13:56:20 1996 Karl Berry <karl@cs.umb.edu>
468
469 * Makefile.in ($(library).h): Make the modtime of the file the
470 same as the latest other .h; otherwise, we think kpathsea always
471 has to be remade.
472
473 Sun Oct 20 18:06:36 1996 Karl Berry <karl@cs.umb.edu>
474
475 * Makefile.in (distdir): No need to distribute copying.texi.
476
477 Mon Oct 14 11:32:51 1996 Karl Berry <karl@cs.umb.edu>
478
479 * Changes for NT from: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.
480
481 * xputenv.c (putenv) [WIN32]: #include <stdlib.h> instead of declaring.
482
483 * tex-file.c (kpse_open_file): Use FOPEN_RBIN_MODE for tfm and gf
484 formats.
485
486 * xopendir.h [!WIN32]: Conditionalize whole file.
487 * xopendir.c (xopendir) [!WIN32]: Conditionalize defn.
488
489 * kpsewhich.c (DllImport) [_WIN32]: Define.
490 (path_sep): Use ENV_SEP_STRING.
491
492 * progname.h,
493 * lib.h,
494 * debug.h (kpathsea_debug),
495 * concatn.h (concatn): Give DllImport kludge.
496
497 * config.h (DOSISH) [WIN32]: #define.
498 Also include <windows.h>, etc.
499
500 * c-std.h (getenv, popen, pclose) [WIN32]: Conditionalize decls.
501 * c-fopen.h [WIN32]: Use rb and wb.
502 * c-limits.h [HAVE_SYS_PARAM_H]: Conditionalize #ifdef.
503 * common.ac: Check for <sys/param.h>
504 * c-stat.h [WIN32]: #include <io.h> and #define stat _stat.
505
506 Sat Oct 12 11:10:45 1996 Karl Berry <karl@cs.umb.edu>
507
508 * tex-file.c (kpse_find_file): Include a suffix in what we pass to
509 kpse_fontmap_lookup.
510
511 * Makefile.in (paths.h): Remove extra $ when replacing $VARFONTS.
512
513 Tue Oct 8 16:40:07 1996 Karl Berry <karl@cs.umb.edu>
514
515 * tex-glyph.c (try_fontmap): Do not return the first alias if it
516 itself is an alias. Also, if a particular alias succeeds,
517 return that.
518
519 Sun Oct 6 17:52:58 1996 Karl Berry <karl@cs.umb.edu>
520
521 * version.c: Doc fix.
522
523 Sat Oct 5 17:06:54 1996 Karl Berry <karl@cs.umb.edu>
524
525 * kpsewhich.c (-must-exist): New option.
526 (must_exist): New global.
527
528 * Makefile.in (install-data): Call install-info.
529 * kpathsea.texi, *.texi: Use @url, @email, and @dircategory/@direntry.
530
531 Sat Sep 21 19:02:17 1996 Karl Berry <karl@cs.umb.edu>
532
533 * MakeTeXnames.cnf: Doc fix.
534
535 * texmf.cnf.in (latex{2e,209}_inputs): Replace spurious `latex2e'.
536 (TEXINPUTS.fontinst): New definition, including AFM files.
537 (MFINPUTS, TFMFONTS, PKFONTS): Use $VARFONTS.
538 From Thomas.
539
540 Sat Sep 7 16:00:53 1996 Karl Berry <karl@cs.umb.edu>
541
542 * MakeTeXupdate,
543 * MakeTeXnames,
544 * MakeTeXmkdir,
545 * MakeTeXls-R,
546 * MakeTeXTFM,
547 * MakeTeXPK,
548 * MakeTeXMF (version): Call kpsewhich in MakeTeXcommon, not here.
549
550 * version.c: Doc fix.
551
552 * kpsewhich.c (read_command_line): Improve formatting of --help
553 message.
554
555 Fri Sep 6 19:16:20 1996 Karl Berry <karl@cs.umb.edu>
556
557 * kpsewhich.c (read_command_line): Print the bug reporting address.
558 * version.c (kpse_bug_address): New global.
559
560 Thu Sep 5 19:08:04 1996 Karl Berry <karl@cs.umb.edu>
561
562 * Makefile.in: Doc fix.
563
564 * configure.in: Include ../acklibtool.m4 here.
565 * common.ac: Not here. Move calls to kb_*LIBTOOL* functions, too.
566
567 Sun Sep 1 17:34:17 1996 Karl Berry <karl@cs.umb.edu>
568
569 * Makefile.in (.c.lo): Put filename right after $(CC), for Klibtool.
570 (KPATHSEA_CC): Do not include ALL_CFLAGS here.
571 (paths.h): Instead of deleting definitions with lowercase variable
572 names, don't include them in the first place.
573
574 Sat Aug 31 16:15:33 1996 Karl Berry <karl@cs.umb.edu>
575
576 * common.ac: Call kb_KLIBTOOL_REPLACE_FUNCS and kb_PROG_LIBTOOL
577 instead of the AM_* versions.
578 Also, include acklibtool.m4 instead of aclibtool.m4.
579
580 * Makefile.in (liblobjs): Change to use @LTLIBOBJS@.
581
582 Sat Aug 17 17:22:18 1996 Karl Berry <karl@cs.umb.edu>
583
584 * texmf.cnf.in (PKFONTS*, GFFONTS): Need another / to match TDS.
585
586 Sat Aug 10 15:46:46 1996 Karl Berry <karl@cs.umb.edu>
587
588 * texmf.cnf.in (TFMFONTS, VFFONTS): Update with trailing // for TDS.
589
590 * MakeTeXupdate,
591 * MakeTeXnames.cnf,
592 * MakeTeXnames,
593 * MakeTeXTFM,
594 * MakeTeXMF,
595 * MakeTeXmkdir,
596 * MakeTeXls-R,
597 * MakeTeXPK: Change --expand to -expand-var.
598
599 * tex-glyph.c (try_fontmap): Return the real name of the first
600 alias as the font name.
601 (kpse_find_glyph): Change call, free string if necessary, etc.
602 Basic idea from a patch sent by wls@astro.umd.edu.
603
604 Fri Aug 9 15:42:40 1996 Karl Berry <karl@cs.umb.edu>
605
606 * Makefile.in (paths.h): Substitute for dbtex, dbfonts, and prefix.
607 Also, do not define lowercase variables.
608
609 Thu Aug 8 14:50:29 1996 Karl Berry <karl@cs.umb.edu>
610
611 * texmf.cnf.in (TEXCONFIG, INDEXSTYLE): Use //, just in case there
612 are subdirectories. From Thomas.
613
614 Tue Aug 6 13:59:03 1996 Karl Berry <karl@cs.umb.edu>
615
616 * kpsewhich.c (lookup): Handle user_path case.
617
618 Mon Aug 5 17:23:56 1996 Karl Berry <karl@cs.umb.edu>
619
620 * kpsewhich.c: Rename -expand to -expand-var,
621 -path to -expand-path, and add new -path option to specify
622 explicit path for lookups.
623
624 * tex-file.h (kpse_ist_format): New format.
625 * tex-file.c (kpse_init_format): Initialize it.
626 (IST_ENVS): New #define.
627 * texmf.cnf.in (INDEXSTYLE): Set the default path.
628
629 * tilde.c (kpse_tilde_expand): If $HOME starts with //, only use
630 one of the slashes.
631
632 Sat Aug 3 17:18:00 1996 Karl Berry <karl@cs.umb.edu>
633
634 * kpsewhich.c (read_command_line): Change Usage: line to conform.
635
636 Fri Aug 2 11:57:23 1996 Karl Berry <karl@cs.umb.edu>
637
638 * db.c (db_build): Test len > 0 before evaluating len - 1.
639 From: "Peter Henderson, Syrinx Speech Systems P/L, Tel: (+61-2)
640 956-6540" <peterh@syrinx.com.au>.
641
642 Sat Jul 27 14:35:17 1996 Karl Berry <karl@cs.umb.edu>
643
644 * Makefile.in (paths.h): Change target name to
645 $(kpathsea_dir)/paths.h, for rdepend.make dependency.
646
647 * Makefile.in (liblobjs): New variable, gets @LIBTOOL_LIBOBJS@.
648 * common.ac (kbAC_LIBTOOL_REPLACE_FUNCS): Use this new macro instead
649 of AC_REPLACE_FUNCS.
650
651 Fri Jul 26 15:51:55 1996 Karl Berry <karl@cs.umb.edu>
652
653 * Makefile.in (KPATHSEA_CC): Include $(compile).
654 (.c.lo): Change suffix rule for libtool 0.5.
655 (install-exec): Use new variables INSTALL_LIBTOOL_*.
656
657 Mon Jul 8 17:21:34 1996 Karl Berry <karl@laurie>
658
659 * unixtex.texi: Rename from obtain.texi.
660
661 Fri Jun 7 19:10:52 1996 K. Berry <kb@cs.umb.edu>
662
663 * common.ac: Include ../kpathsea/withenable.ac.
664
665 Thu Jun 6 16:34:43 1996 K. Berry <kb@cs.umb.edu>
666
667 * Makefile.in (kpsewhich): Use libtool commands etc. instead of
668 our shared lib stuff.
669 * common.ac: Replace our shared lib stuff with gm_PROG_LIBTOOL.
670 * withenable.ac: Remove --enable-shared stuff.
671
672 Sat Jun 1 15:05:42 1996 Karl Berry <karl@cs.umb.edu>
673
674 * MakeTeX*: Add RCS info for version strings.
675
676 Thu May 30 13:46:46 1996 Karl Berry <karl@cs.umb.edu>
677
678 * MakeTeXPK: Doc fix; we're called with the base font name
679 (pplr8r), not the user font name (pplr).
680
681 * db.c (ignore_dir_p): Remove the dot_pos != dirname test,
682 since it's always true. It caused directory names containing .'s
683 (e.g., `dc-1.2') to be ignored.
684 From Thomas Esser and Frank Mittelbach.
685
686 Sun May 26 16:06:41 1996 Karl Berry <karl@cs.umb.edu>
687
688 * tex-make.c (kpse_make_tex): If called kpse_init_form, reassign
689 our local variable, too.
690
691 Thu May 23 16:20:53 1996 Karl Berry <karl@cs.umb.edu>
692
693 * MakeTeXnames: Doc fix.
694
695 Fri May 3 13:34:51 1996 Karl Berry <karl@cs.umb.edu>
696
697 * withenable.ac: Use AC_ARG_WITH instead of AC_ARG_ENABLE for
698 maketex*.
699
700 * tex-file.c (kpse_find_file): Oops, testing for kpse_pk_format
701 twice, when meant to test for kpse_gf_format.
702
703 * cnf.c (do_line): Allow whitespace in variable values.
704
705 * texmf.cnf.in: Finish adding easier support for !!. From Joachim.
706
707 Wed May 1 16:30:56 1996 Karl Berry <karl@cs.umb.edu>
708
709 * texmf.cnf.in (TEXCONFIG): Take $HOME back out again, we're going
710 to hardwire a seach for dvipsrc in $HOME.
711
712 Mon Apr 29 14:02:03 1996 Karl Berry <karl@cs.umb.edu>
713
714 * texmf.cnf.in (latex2e_inputs): Use just `latex', not `latex2e'.
715 From: David Carlisle <carlisle@cs.man.ac.uk>.
716 (TEXINPUTS, etc.): Also rewrite to make !! support easier to add.
717 From: Joachim Schrod <schrod@iti.informatik.th-darmstadt.de>.
718
719 * install.texi: Document ksh/ash/Ultrix sh lossage, in favor of
720 bash/bsh/sh5.
721
722 Sun Apr 28 15:02:55 1996 Karl Berry <karl@cs.umb.edu>
723
724 * acconfig.h (ASM_NEEDS_UNDERSCORE): New define.
725 From: Peter Breitenlohner <peb@MPPMU.MPG.DE>.
726
727 * Makefile.in (sharedlib_version): Remove unused variable.
728
729 Sat Apr 27 17:15:14 1996 Karl Berry <karl@cs.umb.edu>
730
731 * texmf.cnf.in (hyph_size): Add this.
732
733 Tue Apr 23 07:34:05 1996 Karl Berry <karl@cs.umb.edu>
734
735 * texmf.cnf.in (MIMELIBDIR, MAILCAPDIR): Add these.
736 (MPXCOMMAND): And these.
737
738 * MakeTeX.site: New file, just an example.
739
740 Mon Apr 22 17:31:27 1996 Karl Berry <karl@cs.umb.edu>
741
742 * MakeTeXnames.conf: Rename to MakeTeXnames.cnf.
743 * MakeTeXnames: Change call.
744 * Makefile.in (install-exec): Change install.
745
746 Sun Apr 21 12:09:06 1996 Karl Berry <karl@cs.umb.edu>
747
748 * tex-file.h (kpse_set_program_enabled, kpse_maketex_option):
749 Declare new functions.
750 (kpse_src_type): Define new type.
751 * tex-file.c (kpse_set_program_enabled): New function, so we can
752 set this at all the various levels and get the overrides right.
753 (kpse_maketex_option): Handle MakeTeX options in a common place.
754 * proginit.c (kpse_init_prog): Call it, and remove the make_tex_pk
755 argument.
756 * proginit.h (kpse_init_prog): Likewise.
757 * kpsewhich.c (parse_options): New options -maketex and -nomaketex,
758 just calls kpse_maketex_option.
759
760 * Makefile.in ($(library).h): New target, made at dist time.
761
762 Sat Apr 20 17:21:24 1996 Karl Berry <karl@cs.umb.edu>
763
764 * tex-file.c (kpse_find_file): Do not pound the disk on the first
765 search if we might be trying the second.
766
767 Tue Mar 12 15:21:16 1996 Karl Berry <karl@cs.umb.edu>
768
769 * MakeTeXPK: Restore check for mismatched mode and bdpi. From Thomas.
770
771 Sun Mar 10 14:17:14 1996 Karl Berry <karl@cs.umb.edu>
772
773 * MakeTeXnames.conf: Rename VARFONTS to VARTEXFONTS.
774
775 * MakeTeXcommon (trap): Oops, cd $KPSE_DOT before testing $STDOUT.
776
777 Sat Mar 9 17:57:02 1996 Karl Berry <karl@cs.umb.edu>
778
779 * MakeTeXcommon (trap): cd back to KPSE_DOT before removing
780 TEMPDIR, in case $TMPDIR is relative. Reported by Thomas.
781
782 Fri Mar 8 11:41:22 1996 Karl Berry <karl@cs.umb.edu>
783
784 * db.c (kpse_db_search): Add debug statement with the result of
785 the match.
786
787 * tex-make.c (kpse_make_tex): Don't look for the arg spec here.
788 * tex-file.c (init_maketex): Do it here. Check for disbaling in
789 the config file, too.
790
791 * tex-make.c (misstex): Look for TEXMFOUTPUT in texmf.cnf.
792 * texmf.cnf.in (TEXMFOUTPUT): Define this.
793
794 * kpathsea.texi (Suppressing warnings): New node to describe TEX_HUSH.
795
796 * tex-file.c (kpse_init_format): Include the numeric value of the
797 format for use with kpsewhich --format.
798
799 * tex-hush.c: Support `all' to suppress everything.
800
801 Thu Mar 7 11:24:51 1996 Karl Berry <karl@cs.umb.edu>
802
803 * kpsewhich.c: Change --program to --progname, for compatibility
804 with TeX & co.
805
806 * texmf.cnf.in (TEXCONFIG): Remove ~ from default path, for
807 consistency with everything else.
808
809 * readable.c: Let's call it TEX_HUSH instead of KPSE_NOWARN_PERM,
810 so we can use it for checksum warnings, too. And for similarity
811 with xdvi.
812 * kpathsea.texi: Corresponding change.
813 * tex-hush.[ch]: New files.
814
815 Wed Feb 28 15:16:32 1996 Karl Berry <karl@cs.umb.edu>
816
817 * tex-make.c (misstex): Let the name missfont.log be configurable.
818 * texmf.cnf.in (MISSFONT_LOG): Add this definition.
819 * kpathsea.texi: Document this.
820
821 Sun Feb 25 16:55:35 1996 Karl Berry <karl@cs.umb.edu>
822
823 * tex-file.c: Reverse order of alias & suffix searches, so we look
824 for the original TFM name before aliases.
825
826 Sun Feb 18 16:24:50 1996 Karl Berry <karl@cs.umb.edu>
827
828 * tex-file.c (xopenfile): Move this function to here and rename to
829 kpse_open_file.
830 * xopenfile.c: Remove this.
831 * Makefile.in (objects): Remove xopenfile.o.
832
833 Thu Feb 15 12:57:56 1996 Karl Berry <karl@cs.umb.edu>
834
835 * tex-make.c (maketex): Do not print the `kpathsea: Running ...'
836 message if we're discarding output.
837 (misstex): Do not log the missing file in missfont.log, either.
838
839 Sat Feb 10 14:59:23 1996 Karl Berry <karl@cs.umb.edu>
840
841 * Makefile.in (sharedlib): Add new command here $(shared_postlink)
842 so we can make the necessary symlink.
843 (shared_postlink): New variable
844
845 Fri Feb 9 15:46:55 1996 Karl Berry <karl@cs.umb.edu>
846
847 * withenable.ac (maketex{mf,pk,tfm}-default): Move here from
848 web2c/withenable.ac.
849
850 Wed Feb 7 16:52:08 1996 Karl Berry <karl@cs.umb.edu>
851
852 * MakeTeXnames.conf: Extract this new script from MakeTeXcommon, sigh.
853 * MakeTeX*: Other updates from Thomas --
854 - replace the exec 3>&1 1>&2 by trap/subshell construction. The
855 3>&1 may cause the 'open fd bug' with bash.
856 - ts is a typo. tc are the text companion fonts
857 - replace >&3 by >$STDOUT where $STDOUT is a filename. Its content is
858 displayed by the trap command in MTcommon.
859 - added missing ;; in case/esac
860 - use : ${VAR=VAL} where possible
861 - added mt_min_args
862 - removed psfonts.map parsing (was only needed for ps2pk)
863 - removed >&2 where redirection stdout->stderr is active anyway
864 - removed </dev/null where redirection stdin<-/dev/null is active
865 anyway
866 - Oops: MakeTeXTFM still used old code: >$TEMPDIR/mtout.$$
867 - add line
868 trap 'test -f $STDOUT && cat $STDOUT; cd /; rm -rf $TEMPDIR; exit 0' 0 1 2 15
869 to MakeTeXcommon
870 - MT_FEATURES now in MakeTeXnames.conf since we need to read it
871 later than MakeTeXcommon
872
873 Tue Feb 6 17:04:25 1996 Karl Berry <karl@cs.umb.edu>
874
875 * tex-file.h (kpse_file_format_type): Add afm and type1 support.
876 * tex-file.c: Likewise.
877 (kpse_init_format): In tex_ps_header_format, no longer need to
878 recognize .pfa and .pfb.
879 * texmf.cnf.in (AFMFONTS, T1FONTS): Likewise.
880 * Makefile.in (paths.h): Include 0-9 in the regexp for the sake of
881 T1FONTS.
882
883 Sat Feb 3 15:45:00 1996 Karl Berry <karl@cs.umb.edu>
884
885 * Makefile.in (DEFS): Move to common.make.
886
887 Mon Jan 29 17:01:44 1996 Karl Berry <karl@cs.umb.edu>
888
889 * MakeTeXls-R: Doc fix.
890
891 Mon Jan 8 17:17:42 1996 Karl Berry <karl@cs.umb.edu>
892
893 * tex-file.c: Doc fix.
894
895 * fontmap.c (MAP_NAME, MAP_HASH_SIZE): Conditionalize these #defines.
896
897 Sun Jan 7 17:38:00 1996 Karl Berry <karl@cs.umb.edu>
898
899 * db.c (DB_HASH_SIZE, DB_NAME): Conditionalize these.
900
901 * MakeTeXcommon (dcfontdir, tsfontdir): Use supplier `jknappen'.
902
903 Mon Jan 1 15:14:42 1996 Karl Berry <karl@cs.umb.edu>
904
905 * Makefile.in (distdir): Don't bother including freedom.texi.
906
907 Fri Dec 29 17:17:08 1995 Karl Berry <karl@cs.umb.edu>
908
909 * Makefile.in: misc.make is now clean.make.
910
911 Tue Dec 26 14:21:08 1995 Karl Berry <karl@cs.umb.edu>
912
913 * withenable.ac: New file with --enable option extracted from
914 common.ac, for the top level to include.
915
916 * acconfig.h (MAKE_TEX_PK_BY_DEFAULT): Add this.
917
918 * readable.c (kpse_readable_file): Omit warning if
919 KPSE_NOREAD_WARN is set to 1.
920
921 Wed Dec 13 14:14:09 1995 Karl Berry <karl@cs.umb.edu>
922
923 * kpsewhich.c: Call kpse_init_format when necessary in the
924 --format case.
925
926 Mon Dec 11 14:42:13 1995 Karl Berry <karl@cs.umb.edu>
927
928 * common.ac: --disable-shared should not act like --enable-shared.
929 From Ulrik.
930
931 Sun Dec 10 15:35:15 1995 Karl Berry <karl@cs.umb.edu>
932
933 * tex-file.h (kpse_mft_format): New format.
934 * tex-file.c (MFT_ENVS): New variable.
935 (kpse_init_format): Initialize it.
936 * texmf.cnf.in (MFTINPUTS): New variable.
937
938 Fri Dec 8 08:54:58 1995 Karl Berry <karl@cs.umb.edu>
939
940 * xopenfile.c: Doc fix.
941
942 Mon Dec 4 17:23:34 1995 Karl Berry <karl@cs.umb.edu>
943
944 * Makefile.in (check): Extra $ missing.
945
946 Sun Dec 3 13:42:54 1995 Karl Berry <karl@cs.umb.edu>
947
948 * tex-file.c (TEX_SUFFIXES): Add .dtx.
949
950 Sun Nov 19 16:19:37 1995 Karl Berry <karl@cs.umb.edu>
951
952 * MakeTeX*: Use MakeTeXupdate, mkdir, etc. in $TEXMFCNF_DIR, not
953 along PATH. From John I.
954
955 Sat Nov 18 17:03:46 1995 Karl Berry <karl@cs.umb.edu>
956
957 * tex-file.c (TEX_SUFFIXES): Add .txi.
958
959 Fri Nov 17 15:12:03 1995 Karl Berry <karl@cs.umb.edu>
960
961 * common.ac (kb_AC_SYS_SHAREDLIB): Add the kb_ prefix.
962
963 * Makefile.in ({un,}install-exec): Use sharedlibname and
964 staticlibname instead of `basename`.
965 Also, pass no arguments to $(shared_postinstall); let the Autoconf
966 macro set this completely.
967
968 * expand.c: Bash code remains under the GPL, per rms.
969
970 Thu Nov 16 16:14:14 1995 Karl Berry <karl@cs.umb.edu>
971
972 * Makefile.in (uninstall-exec): Needs same `basename` treatment as
973 install-exec. From Ulrik.
974
975 * config.h [AMIGA] (pclose): Must be #defined as 0, not just
976 empty. From Andreas Scherer.
977
978 Tue Nov 14 14:04:57 1995 Karl Berry <karl@cs.umb.edu>
979
980 * tex-file.h (kpse_fallback_resolutions_string): New global.
981 * tex-file.c: Define it.
982 (kpse_init_fallback_resolutions): Use it instead of
983 DEFAULT_FONT_SIZES, if set.
984
985 Mon Nov 13 10:43:11 1995 Kathy Hargreaves <karl@cs.umb.edu>
986
987 * find-suffix.c: Remove spurious + 1.
988
989 Sun Nov 12 13:42:51 1995 Karl Berry <karl@cs.umb.edu>
990
991 * tex-file.c: Improve warning message if last resort sizes are not
992 sorted. Suggested by Kathy.
993
994 * texmf.cnf.in (trie_size, main_memory): Doc improvements from Wayne.
995
996 Sat Nov 11 16:58:37 1995 Karl Berry <karl@cs.umb.edu>
997
998 * MakeTeXnames: Correct too many left quotes.
999
1000 * tex-make.c (kpse_make_tex): Initialize the format if necessary.
1001
1002 Mon Oct 30 16:49:05 1995 Karl Berry <karl@cs.umb.edu>
1003
1004 * MakeTeXPK (GFNAME): Do not assume $cmd produced $GFNAME. From Tim.
1005
1006 * texmf.cnf.in (trie_size): Increase to 32000 so common language
1007 combinations will require no change. Suggested by Ulrik.
1008
1009 * MakeTeXls-R: Missing s in sed cmd.
1010 * MakeTeXTFM (TFM_NAME): Should be TFMNAME.
1011 * MakeTeXnames (FONTNAME): Missing `.
1012 * MakeTeXcommon: If the caller requires no args (i.e.,
1013 MakeTeXls-R), don't complain if given no.
1014 Missing } in varfonts case.
1015 All from Thomas.
1016
1017 Sun Oct 22 17:02:25 1995 Karl Berry <karl@cs.umb.edu>
1018
1019 * c-std.h (hypot): Remove this declaration. It was only needed for
1020 fontutils, and it conflicts under Linux 1.2.10. From Tim Murphy.
1021
1022 Sat Oct 14 10:55:26 1995 Karl Berry <karl@cs.umb.edu>
1023
1024 * acconfig.h (EDITOR): Missing %. From Tim Murphy.
1025
1026 Sat Oct 7 17:44:41 1995 Karl Berry <karl@cs.umb.edu>
1027
1028 * Makefile.in (install-exec): Use basename to get the real name so
1029 we don't install in $(libdir)/../kpathsea/etc.
1030 From Ulrik.
1031
1032 Sat Sep 30 12:16:05 1995 Karl Berry <karl@cs.umb.edu>
1033
1034 * MakeTeXls-R (db_file_tmp): Replace double slashes with single,
1035 for the sake of NetBSD/FreeBSD. From Thomas.
1036
1037 Fri Sep 29 11:29:08 1995 Karl Berry <karl@cs.umb.edu>
1038
1039 * Makefile.in (tex-file.o): CPPFLAGS is now ALL_CPPFLAGS.
1040
1041 Mon Sep 25 15:05:32 1995 Karl Berry <karl@cs.umb.edu>
1042
1043 * lib.h (FATAL_PERROR): Avoid using the formal parameter `s' since
1044 cc gets confused with %s.
1045
1046 * MakeTeXls-R: Include subtleties from Thomas.
1047 * MakeTeXcommon: Rename stickydir to appendonlydir.
1048
1049 Sun Sep 24 13:15:51 1995 Karl Berry <karl@cs.umb.edu>
1050
1051 * cnf.c (kpse_cnf_get): Call kpse_init_db here.
1052 * pathsearch.c (search): Instead of here.
1053
1054 * tex-file.c (init_format): The override path may be null, so use
1055 MAYBE to print it.
1056
1057 * MakeTeXPK: Don't use unset, as Ultrix sh doesn't support it.
1058
1059 Sat Sep 23 15:07:12 1995 Karl Berry <karl@cs.umb.edu>
1060
1061 * common.ac (basename strstr putenv): Use AC_REPLACE_FUNCS instead
1062 of AC_CHECK_FUNCS. Add strtol and strcasecmp from web2c/lib and xdvik.
1063 * Makefile.in (objects): Use @LIBOBJS@ instead of corresponding .o's.
1064
1065 Fri Sep 22 13:34:51 1995 Karl Berry <karl@cs.umb.edu>
1066
1067 * acconfig.h (MAKE_TEX_*): #define as 0/1, instead of #undef,
1068 since we now pass this as a default argument to init_maketex.
1069
1070 * tex-file.c (init_path): Look for environment variables PATH.prog
1071 and PATH_prog before PATH.
1072
1073 Thu Sep 21 13:53:38 1995 Karl Berry <karl@cs.umb.edu>
1074
1075 * kpsewhich.c (USAGE): Avoid bare newline.
1076
1077 * xfseek.c, xftell.c: Add unprototypification.
1078
1079 * common.ac (library_cflags): AC_SUBST for this depending on
1080 --enable-shared.
1081 * Makefile.in (shared_cflags, sharedlib_cflags): Rewrite
1082 accordingly, so the shared flags aren't always used.
1083
1084 Wed Sep 20 17:06:53 1995 Karl Berry <karl@cs.umb.edu>
1085
1086 * tex-file.c: Add .ltx, .texi, and .texinfo as alternate suffices
1087 for kpse_tex_format.
1088
1089 Tue Sep 19 17:12:10 1995 Karl Berry <karl@cs.umb.edu>
1090
1091 * texmf.cnf.in: Changes for TDS.
1092
1093 * MakeTeX*: New scripts from Thomas.
1094
1095 Sat Sep 16 17:30:46 1995 Karl Berry <karl@cs.umb.edu>
1096
1097 * tex-file.c: Do not print extra `kdebug:'s when printing the
1098 alt_suffixes.
1099
1100 * expand.c: Incorporate brace expansion code from bash.
1101 * texmf.cnf.in (PKFONTS.xdvi): Use it here, and document the
1102 possibility for $TEXMF.
1103
1104 Thu Sep 14 12:59:17 1995 Karl Berry <karl@cs.umb.edu>
1105
1106 * tex-file.c (kpse_init_format): For any_glyph_format, do not
1107 initialize a suffix.
1108
1109 * kpsewhich.c (main): Initialize all the formats.
1110 (find_format): psfonts.map => dvips_config_format.
1111
1112 Tue Sep 12 16:19:44 1995 Karl Berry <karl@cs.umb.edu>
1113
1114 * MakeTeX{MF,TFM}: New scripts from te.
1115 * Makefile.in (install-exec, distdir): Install and dist them.
1116
1117 Sun Sep 10 15:11:07 1995 Karl Berry <karl@cs.umb.edu>
1118
1119 * pathsearch.c (search): Doc fix.
1120
1121 * tex-file.h (kpse_format_info_type): Add alt_suffix member.
1122 * tex-file.c (init_format): Set it for PS headers and picts, and
1123 print it if it exists.
1124 * kpsewhich.c: Use the new alt suffixes and also the regular
1125 suffixes to allow for -format names as well as numbers, and for
1126 file format guessing.
1127
1128 Sat Sep 9 14:27:48 1995 Karl Berry <karl@cs.umb.edu>
1129
1130 * MakeTeXPK: If the MODE and BDPI don't match, ignore the mode.
1131 Suggested by Thomas.
1132
1133 * tex-file.[ch] (kpse_font_override_path): Remove this.
1134 (kpse_format_info_type): Replace the `override_p' member with a
1135 general `override_path'.
1136 * proginit.c: Set the override path for both fonts and headers.
1137
1138 * acconfig.h (NOTOOL): Add this.
1139
1140 Fri Sep 8 14:52:42 1995 Karl Berry <karl@cs.umb.edu>
1141
1142 * acconfig.h (HYPERXDVI): Don't need this after all, Autoconf's
1143 default actions are better.
1144
1145 Thu Sep 7 15:11:17 1995 Karl Berry <karl@cs.umb.edu>
1146
1147 * acconfig.h (HYPERXDVI): Define this.
1148
1149 Mon Sep 4 17:14:25 1995 Karl Berry <karl@cs.umb.edu>
1150
1151 * debug.h (KPSE_LAST_DEBUG): Define this, for use with gsftopk.
1152
1153 * Makefile.in (objects): Add xopenfile.o.
1154 * xopenfile.c: New file.
1155 * lib.h (xopenfile): Declare it.
1156
1157 Sat Sep 2 13:49:53 1995 Karl Berry <karl@cs.umb.edu>
1158
1159 * tex-file.h (kpse_file_format): Rename kpse_ps_header_format to
1160 tex_ps_header_format.
1161 * tex-file.c (TEX_PS_HEADER_ENVS): Rename likewise, etc.
1162 * kpsewhich.c (suffixes): Likewise.
1163 * texmf.cnf: Likewise.
1164
1165 * tex-file.c: Never set must_exist on the first search. Is this
1166 really correct?
1167
1168 Fri Sep 1 13:24:49 1995 Karl Berry <karl@cs.umb.edu>
1169
1170 * tex-make.c (maketex): Give perror if the popen fails.
1171
1172 * db.c (db_dir_list): Keep track of the directories we found db's in.
1173 (kpse_db_search): If no db directories are relevant to this path
1174 elt, return NULL.
1175 * db.h: Doc fix.
1176 * pathsearch.c (path_search): Doc fix.
1177
1178 * Makefile.in (shared_ext, etc.): Move to common.make.
1179
1180 Thu Aug 31 14:40:32 1995 Karl Berry <karl@cs.umb.edu>
1181
1182 * kpsewhich.c: Install suffix rewrite from Yves.
1183
1184 * common.ac: Move AC_SYS_SHAREDLIB etc. here.
1185
1186 * acconfig.h (ASM_SCALED_FRACTION): Add this.
1187
1188 Wed Aug 30 17:02:58 1995 Karl Berry <karl@cs.umb.edu>
1189
1190 * tex-file.c (kpse_find_file): Call kpse_make_tex.
1191 * tex-make.c (kpse_make_tex): Only call set_maketex_mag if we are
1192 doing MakeTeX-PK or GF-ing.
1193 From Greg.
1194
1195 Tue Aug 29 13:58:59 1995 Karl Berry <karl@cs.umb.edu>
1196
1197 * Makefile.in (texmf.sed): Depend on paths.make. Should we avoid
1198 creating a new file unless it changes, a la c-auto.h?
1199
1200 * configure.in: Check for --enable-shared.
1201
1202 Mon Aug 28 17:50:06 1995 Karl Berry <karl@cs.umb.edu>
1203
1204 * Makefile.in: Add sharedlib variables.
1205
1206 Sun Aug 27 13:27:01 1995 Karl Berry <karl@cs.umb.edu>
1207
1208 * hash.c (hash_print): New option summary_only, and always print
1209 the summary. Also, output to stderr, not stdout.
1210 * hash.h: Change decl.
1211
1212 * db.c (kpse_init_db): Oops, have to make it external, so rename
1213 again.
1214 * db.h: Declare it.
1215 * pathsearch.c (search): Call it.
1216
1217 * cnf.c (read_all_cnf): Rename from read_files.
1218 * db.c (read_all_lsR): Rename from read_all_dbs.
1219 * fontmap.c (read_all_maps): Rename from map_create.
1220
1221 * tex-file.h (kpse_db_format): Another new type.
1222 * tex-file.c (kpse_init_path): Case for it.
1223 (DB_ENVS): Envvar list.
1224 * texmf.cnf.in (TEXMFDBS): Default path.
1225 * kpsewhich.c (suffix): Add new element.
1226
1227 Sat Aug 26 14:49:28 1995 Karl Berry <karl@cs.umb.edu>
1228
1229 * cnf.c (CNF_NAME): #define this.
1230 * tex-file.c (kpse_init_path): Instead of setting the .program
1231 element to texmf.cnf here.
1232
1233 * db.c (db_insert): Rename to kpse_db_insert.
1234 * db.h: Change decl.
1235 * tex-make.c (maketex): Change call.
1236
1237 * cnf.c, cnf.h, db.c, db.h, pathsearch.c: Remove references to
1238 kpse_db_dir.
1239 * pathsearch.c (first_search): New static.
1240 (path_search): Do not do ls-R search if first_search.
1241 (search): Do not log if first_search.
1242
1243 * pathsearch.c (path_search): Don't bother calling elt_in_db --
1244 the match function in db.c will catch the irrelevant hits.
1245 Pointed out by te.
1246
1247 Fri Aug 25 14:01:24 1995 Karl Berry <karl@cs.umb.edu>
1248
1249 * cnf.c (kpse_cnf_get): Look for NAME.PROGRAM before NAME.
1250 (do_line): Save NAME.PROGRAM separately from NAME.
1251 * texmf.cnf.in: Put the usual definitions of TEXINPUTS and PKFONTS
1252 first now, before the .prog variants.
1253
1254 * fontmap.c: Use ISSPACE instead of just checking for space and tab.
1255
1256 Thu Aug 24 13:46:19 1995 Karl Berry <karl@cs.umb.edu>
1257
1258 * lib.h (strstr) [!HAVE_STRSTR]: Declare this.
1259 * Makefile.in (objects): Add strstr.o.
1260 * common.ac (AC_CHECK_FUNCS): Remove memmove; we seem to never use
1261 this. And add strstr.
1262
1263 * fontmap.c (map_file_parse): Comments at the last % or @c, not at
1264 the first %. Also, implement the include feature.
1265 And thus, don't give up if the map file can't be opened.
1266 (token): New routine, since we can no longer use strtok.
1267
1268 * tex-file.h (kpse_file_format_type): New format kpse_fontmap_format.
1269 * tex-file.c (kpse_init_format): Initialize it.
1270 (FONTMAP_ENVS): Define it.
1271 * texmf.cnf.in (TEXFONTMAPS): Define the default.
1272 * kpsewhich.c (suffix): Add .map.
1273
1274 Tue Aug 22 13:28:46 1995 Karl Berry <karl@cs.umb.edu>
1275
1276 * MakeTeXPK.in: No >&/dev/null, source.map is now supplier.map.
1277
1278 * tex-file.c: Doc fix.
1279
1280 Mon Aug 21 15:52:42 1995 Karl Berry <karl@cs.umb.edu>
1281
1282 * c-memstr.h (SYSV): OK, omit this definition in the never-ending
1283 battle to appease the X headers.
1284 From: neal@ctd.comsat.com (Neal Becker).
1285
1286 Sun Aug 20 12:58:28 1995 Karl Berry <karl@cs.umb.edu>
1287
1288 * cnf.c (read_files): Concatenate consecutive lines that end in \.
1289
1290 * types.h (boolean) [__cplusplus]: Don't define true and false for C++.
1291 From: Johannes Sixt <Johannes.Sixt@risc.uni-linz.ac.at>.
1292
1293 * db.c (db_build): Call absolute_p to determine if the possible
1294 directory really is one.
1295 Also, allow relative names in the ls-R file.
1296
1297 * kpsewhich.c: New options -path, -separator.
1298 From: David Aspinall <da@dcs.ed.ac.uk>.
1299
1300 * MakeTeXPK.in: Unset DISPLAY and MFTERM.
1301 From: Yves Arrouye <Yves.Arrouye@imag.fr>.
1302
1303 * db.c (ignored_dir_p): New function to ignore . directories.
1304 (db_build): Call it, and do the ignoring. Report on how many
1305 directories were ignored.
1306
1307 * Makefile.in (MakeTeXPK): Remove dcfontdir substitution.
1308 * MakeTeXPK.in: Play redirection games so regular echo's will work.
1309 (dcfontdir): Remove this; it's unused.
1310 From: te@informatik.uni-hannover.de (Thomas Esser).
1311
1312 * pathsearch.c (path_search): Free more garbage.
1313 From: John Eaton <jwe@che.utexas.edu>.
1314
1315 Sat Aug 19 12:57:54 1995 Karl Berry <karl@cs.umb.edu>
1316
1317 * kpsewhich.c (USAGE): Document -format and -program.
1318
1319 * tex-make.c (maketex): Give warning if MTPK output a string that
1320 wasn't a filename. From Pierre.
1321
1322 * kpsewhich.c (read_command_line): Execute -expand right
1323
1324 * tilde.c (kpse_tilde_expand): If HOME is /, don't start path with //.
1325 From: Andreas Schott <andreas@mpa-garching.mpg.de>.
1326
1327 * db.c (match): Make /// (or more) like //.
1328 * elt-dirs.c (do_subdir): Likewise. Also, skip over as many
1329 slashes as we found.
1330
1331 * variable.c (expanding_p, expanding, expansions, expansion_type):
1332 New functions, variables, type.
1333 (expand): Check for recursively expanded variables.
1334 Reported by Nicolai Langfeldt <janl@math.uio.no>.
1335
1336 * cnf.c (kpse_cnf_get): Free temporary list after extracting the
1337 first element (the one we return).
1338
1339 Fri Aug 18 17:39:29 1995 Karl Berry <karl@cs.umb.edu>
1340
1341 * MakeTeXPK.in (1270): The guess here should be linohi, not linolo.
1342 From pwa.
1343
1344 * kpsewhich.c (suffix): Update for new MetaPost stuff.
1345 * tex-file.h: Doc fix.
1346
1347 Mon Aug 14 17:49:05 1995 Karl Berry <karl@cs.umb.edu>
1348
1349 * debug.h: Define KPSE_DEBUG, not DEBUG.
1350 * hash.c, hash.h, tex-file.c, elt-dirs.c, dir.c, db.c: Change
1351 #ifdef's accordingly. From John I.
1352
1353 Sun Aug 13 16:03:51 1995 Karl Berry <karl@cs.umb.edu>
1354
1355 * tex-file.h (kpse_file_format_type): Rename kpse_dvips_headers to
1356 just kpse_ps_headers. xdvik uses this too, now.
1357 * tex-file.c (kpse_init_format, KPSE_DVIPS_HEADER_ENVS): Likewise.
1358 Also, look for the PSHEADERS envvar, not DVIPSHEADERS.
1359 * texmf.cnf.in: Likewise.
1360
1361 Thu Aug 10 19:31:14 1995 Karl Berry <karl@cs.umb.edu>
1362
1363 * tex-file.c (kpse_init_fallback_resolutions): Complain if sizes
1364 aren't sorted, and ignore offending sizes.
1365 From: Manuel Fahndrich <manuel@CS.Berkeley.EDU>.
1366
1367 Tue Aug 1 13:53:53 1995 Karl Berry <karl@cs.umb.edu>
1368
1369 * variable.[ch] (kpse_var_value): Use const_string.
1370
1371 * texmf.cnf.in (string_vacancies): Decrease to 25000. From Bernd.
1372 (font_max): Add this. From Wayne.
1373
1374 Mon Jul 31 15:47:01 1995 Karl Berry <karl@cs.umb.edu>
1375
1376 * db.h (KPSE_DB_DIR): Remove $.
1377 * cnf.c (read_files): Call kpse_var_value instead of kpse_var_expand.
1378
1379 * tex-file.[ch]: Add mpsupport and troff_font formats.
1380 * texmf.cnf.in: Likewise.
1381
1382 Sat Jul 29 09:21:44 1995 Karl Berry <karl@cs.umb.edu>
1383
1384 * variable.h (kpse_var_value): Declare this.
1385 * variable.c (kpse_var_value): New routine.
1386
1387 * tex-file.c: Check TEXMFINI for pool/fmt/base/mem lookups
1388
1389 Tue Jul 25 11:22:25 1995 Karl Berry <karl@cs.umb.edu>
1390
1391 * concatn.c (concatn): Free the intermediate result, not the final
1392 version.
1393
1394 * texmf.cnf.in (TEXMFLOG): Don't mention this, as we need to log
1395 the finding of the .cnf file itself, thus it must be an
1396 environment variable.
1397
1398 Sat Jul 22 17:09:58 1995 Karl Berry <karl@cs.umb.edu>
1399
1400 * tex-file.c (KPSE_{MEM,MP,MPPOOL}_ENVS): Define envvars.
1401 * tex-file.h (kpse_file_format_type): Add kpse_{mem,mp,mppool}_formats.
1402 * texmf.cnf.in (MPPOOL, MPMEMS, MPINPUTS): New variables.
1403 Adapted from: vieth@xerxes.thphy.uni-duesseldorf.de (Ulrik Vieth).
1404
1405 Fri Jul 21 15:26:42 1995 Karl Berry <karl@cs.umb.edu>
1406
1407 * *.c, *.h: The FSF has a new address.
1408
1409 * kpsewhich.c: Give error if no args.
1410
1411 Wed Jul 19 17:34:26 1995 Karl Berry <karl@cs.umb.edu>
1412
1413 * texmf.cnf.in: Document limits on error_line et al.
1414
1415 Mon Jul 17 13:09:05 1995 Karl Berry <karl@cs.umb.edu>
1416
1417 * acconfig.h (NO_FMTBASE_SHARE): Rename to NO_DUMP_SHARE.
1418
1419 Sun Jul 16 14:17:16 1995 Karl Berry <karl@cs.umb.edu>
1420
1421 * acconfig.h (IPC, FUNNY_CORE_DUMP, NO_FMTBASE_SHARE): Include these.
1422
1423 Sat Jul 15 12:45:51 1995 Karl Berry <karl@cs.umb.edu>
1424
1425 * acconfig.h (HAVE_ITOA): Remove extraneous #define.
1426
1427 * texmf.cnf.in (hash_extra): New TeX array variable, 0 by default.
1428
1429 * tex-file.c (KPSE_BIB_ENVS): Include TEXBIB.
1430
1431 Thu Jul 13 15:04:52 1995 Karl Berry <karl@cs.umb.edu>
1432
1433 * texmf.cnf.in (TEXPOOL, MFPOOL): Include . after all, now that we
1434 use TEXPOOL to search for tcx files.
1435
1436 Sun Jul 9 15:30:59 1995 Karl Berry <karl@cs.umb.edu>
1437
1438 * tex-file.c (kpse_find_file): Don't go through the
1439 mapped_name_list if it's null.
1440
1441 Wed Jun 21 19:47:33 1995 Karl Berry <karl@cs.umb.edu>
1442
1443 * lib.h (FATAL5): Define this.
1444
1445 Sat Jun 10 15:52:41 1995 Karl Berry <karl@cs.umb.edu>
1446
1447 * tex-file.c (kpse_find_file): Use texfonts.map aliases for TFM
1448 searches.
1449 * tex-file.h: Doc fix.
1450 * fontmap.c (kpse_fontmap_lookup): New name. Fault in the map
1451 table as needed, instead of initializing. Make map_create static.
1452 * fontname.h: New name; remove map_create.
1453 * tex-glyph.c (try_fontmap): Just call kpse_fontmap_lookup, no
1454 need to create it.
1455
1456 * fontmap.c (map_lookup): Don't let return value fall off the end
1457 in the suffix-appending case.
1458 From: "Heading, Anthony" <heading_anthony@jpmorgan.com>.
1459
1460 Fri Jun 9 19:11:34 1995 Karl Berry <karl@cs.umb.edu>
1461
1462 * tilde.c: Only assume PWD_H for looking up ~user, not for ~ or ~/.
1463 * make-suffix.c: Use IS_DIR_SEP instead of assuming /.
1464 * concatn.c: Free the in-between concatenations to avoid garbage.
1465 * absolute.c [OS2]: Use same conventions as for DOS.
1466 * c-std.h, c-pathch.h, c-fopen.h: Likewise.
1467 From: rs@purple.in-ulm.de (Ralph Schleicher).
1468
1469 Tue Jun 6 13:11:46 1995 Karl Berry <karl@cs.umb.edu>
1470
1471 * lib.h (itoa) [!HAVE_ITOA]: Define conditionally.
1472 * itoa.c: Likewise.
1473 * acconfig.h (HAVE_ITOA): Add this.
1474
1475 * c-pathch.h, c-fopen.h [DOS]: Changes from web2pc from Wayne.
1476
1477 * xputenv.c: Doc fix.
1478
1479 * truncate.c (kpse_truncate_filename): Check for a device separator.
1480
1481 * elt-dirs.c (main): Tests for Amiga.
1482
1483 Mon Jun 5 13:12:10 1995 Karl Berry <karl@cs.umb.edu>
1484
1485 * absolute.c: Add Amiga support. From Andreas Scherer.
1486 * c-pathch.h: Ditto.
1487 * elt-dirs.c (dir_list_add): Ditto. Check for device separators, too.
1488
1489 Sun Jun 4 11:29:18 1995 Karl Berry <karl@cs.umb.edu>
1490
1491 * c-proto.h (AA): New macro to throw away (or keep) any number of
1492 arguments, used with an extra set of parens.
1493
1494 * Makefile.in (distdir): Put PROJECTS in the distribution.
1495
1496 Sat Jun 3 11:53:45 1995 Karl Berry <karl@cs.umb.edu>
1497
1498 * texmf.cnf.in (main_memory): Add definitions for TeX array sizes.
1499
1500 * config.h (progname.h): Include this.
1501 * prog{init,name}.c, kpsewhich.c: No longer need to include it.
1502 * lib.h (START_FATAL, FATAL_PERROR): Use program_invocation_name
1503 in the error message.
1504
1505 * variable.h: Doc fix.
1506
1507 Fri Jun 2 13:41:29 1995 Karl Berry <karl@cs.umb.edu>
1508
1509 * config.h (DOSISH) [DOS || OS2]: Define this.
1510
1511 Tue May 30 15:43:56 1995 Karl Berry <karl@cs.umb.edu>
1512
1513 * tex-file.c (kpse_find_file): Don't look for foo.sty.tex before
1514 foo.sty. Suggested by worsch@ira.uka.de.
1515
1516 Mon May 29 15:24:38 1995 Karl Berry <karl@cs.umb.edu>
1517
1518 * db.c (db_insert): If DOS, don't check that first character on a
1519 line IS_DIR_SEP. From Sebastian.
1520
1521 Sat May 27 13:51:47 1995 Karl Berry <karl@cs.umb.edu>
1522
1523 * pathsearch.c (log_search): Cast time_t arg to avoid printf warning.
1524
1525 * lib.h (atou): Declare it.
1526 * Makefile.in (objects): Add atou.o.
1527 * atou.c: New file.
1528
1529 Sun May 21 10:58:31 1995 Karl Berry <karl@cs.umb.edu>
1530
1531 * xfopen.c: Assert non-null filenames.
1532
1533 Mon May 15 17:40:27 1995 Karl Berry <karl@cs.umb.edu>
1534
1535 * kpsewhich.c (USAGE): Add one-line description to the help message.
1536
1537 Sun Apr 16 14:25:06 1995 Karl Berry <karl@cs.umb.edu>
1538
1539 * line.c (BLOCK_SIZE): Increase to 56, to avoid realloc's.
1540
1541 Fri Apr 14 15:56:13 1995 Karl Berry <karl@cs.umb.edu>
1542
1543 * Makefile.in (objects): Add xfseek and xftell, from fontutils.
1544
1545 Mon Mar 13 20:05:02 1995 Karl Berry <karl@cs.umb.edu>
1546
1547 * MakeTeXPK.in: Don't egrep in a file that doesn't exist.
1548
1549 Fri Mar 10 10:49:28 1995 Karl Berry <karl@cs.umb.edu>
1550
1551 * tex-file.c (kpse_find_file): Abort if the name passed in is null
1552 or empty.
1553
1554 Thu Mar 9 15:23:07 1995 Karl Berry <karl@cs.umb.edu>
1555
1556 * tex-file.c (kpse_init_format): Only do suffix searches for GF files.
1557
1558 * acconfig.h: Warn that this is not the right thing to edit to fix
1559 configuration problems.
1560
1561 Thu Mar 2 15:58:11 1995 Karl Berry <karl@cs.umb.edu>
1562
1563 * texmf.cnf.in (TEXFORMATS): Doc fix.
1564
1565 Fri Feb 24 16:40:23 1995 Karl Berry <karl@cs.umb.edu>
1566
1567 * MakeTeXPK.in: `generate rootname' with no trailing punctuation
1568 for the dc fonts.
1569
1570 Mon Feb 20 15:23:05 1995 Karl Berry <karl@cs.umb.edu>
1571
1572 * tex-file.h (kpse_find_mf): New abbreviation.
1573
1574 Sat Feb 11 13:06:23 1995 Karl Berry <karl@cs.umb.edu>
1575
1576 * putenv.c: Include c-auto.h instead of kpathsea/c-auto.h, so the
1577 sed commands don't transform it into
1578 $(kpathsea_srcdir)/c-auto.h. From Andreas.
1579
1580 * tex-make.c (maketex): Don't make a bad return from pclose a
1581 fatal error. Reported most recently by Wayne Sullivan, also by
1582 Andy Piper in the past.
1583
1584 * MakeTeXPK.in (sauterdir): Only try this if we have the right
1585 b-foo.mf file. And correct $DESTDIR=... mistake.
1586 From Nick Cropper <nickc@dcs.st-andrews.ac.uk>.
1587
1588 Fri Feb 10 15:49:49 1995 Karl Berry <karl@cs.umb.edu>
1589
1590 * tex-file.c (INIT_MT): If the .program member has already been
1591 set, don't reset it.
1592
1593 Wed Jan 18 15:47:07 1995 Karl Berry <karl@cs.umb.edu>
1594
1595 * xopendir.c (xclosedir): Use CLOSEDIR_VOID, not VOID_CLOSEDIR.
1596 From tim@maths.tcd.ie.
1597
1598 * db.c (db_insert): Don't assert db.size>0, since we may not have
1599 called kpse_db_search. From te@informatik.uni-hannover.de.
1600
1601 * MakeTeXPK.in (dc fonts): Don't put a trailing period in the
1602 filename. From Tor Lillqvist <tml@hemuli.tte.vtt.fi>.
1603
1604 Sun Jan 8 12:14:47 1995 Karl Berry <karl@cs.umb.edu>
1605
1606 * Version 2.6.
1607
1608 Wed Jan 4 14:44:34 1995 Karl Berry <karl@cs.umb.edu>
1609
1610 * Makefile.in (mostlyclean): Remove kpsewhich.
1611
1612 Tue Jan 3 11:48:40 1995 Karl Berry <karl@cs.umb.edu>
1613
1614 * kpsewhich.c (long_options): Can't make this automatic.
1615
1616 * basename.c: Include <kpathsea/config.h> before testing
1617 HAVE_BASENAME.
1618
1619 * Makefile.in (kpsewhich): Make the library before kpsewhich.o.
1620 (paths.h): No need for the $(kpathsea_dir)/ any more, now make
1621 depend gets rid of it.
1622
1623 * rm-suffix.c: Doc fix.
1624
1625 * kpsewhich.c: Extract the dpi from the filename if possible.
1626
1627 Mon Jan 2 09:45:17 1995 Karl Berry <karl@cs.umb.edu>
1628
1629 * Makefile.in (kpsexpand): Replace with kpsewhich.
1630
1631 * proginit.h: Doc fix.
1632
1633 * texmf.cnf.in (TEXMFCNF): Rename from TEXMF_CNF.
1634 * tex-file.c (kpse_init_format): Likewise.
1635
1636 Sun Jan 1 14:04:41 1995 Karl Berry <karl@cs.umb.edu>
1637
1638 * Makefile.in (MakeTeXPK): Substitute for web2cdir.
1639 * MakeTeXPK.in: Use it for MakeTeXPK.site.
1640 (install-data): Install texmf.cnf in web2cdir instead of texmf.
1641 * texmf.cnf.in (TEXMF_CNF): Default path includes web2cdir.
1642
1643 Sat Dec 31 14:26:48 1994 Karl Berry <karl@cs.umb.edu>
1644
1645 * Makefile.in (objects): No more @LIBOBJS@.
1646 * common.ac: Use AC_CHECK_FUNCS for basename, not REPLACE_FUNCS.
1647 The latter doesn't define HAVE_BASENAME.
1648 * basename.c [!HAVE_BASENAME]: Conditionalize whole file.
1649
1650 * Makefile.in (uninstall-exec): Remove kpsexpand.
1651 (MakeTeXPK): New target.
1652 (install-exec): Install MTPK.
1653 (install-library): New target to replace install-headers.
1654 (install): Don't install-library by default.
1655
1656 Fri Dec 30 15:53:04 1994 Karl Berry <karl@cs.umb.edu>
1657
1658 * Makefile.in (objects): Don't put @LIBOBJS@ on a line by itself.
1659 From Joachim.
1660
1661 Mon Dec 26 07:55:40 1994 Karl Berry <karl@cs.umb.edu>
1662
1663 * common.ac (AC_FUNC_CLOSEDIR_VOID): Call this. Reported by
1664 Timothy Murphy <tim@maths.tcd.ie>.
1665
1666 * tex-file.c (init_path): If a variable is set to an empty value,
1667 ignore it. Suggested by Stephen Gildea <gildea@x.org>.
1668
1669 * proginit.c: If passed a NULL mode, put / in the environment here.
1670 * tex-make.c (kpse_make_tex): Don't do STREQ on NULL (though it
1671 should never be NULL in the first place), and properly restore
1672 MAKETEX_MODE if it was /.
1673
1674 Tue Dec 20 09:57:21 1994 Karl Berry <karl@cs.umb.edu>
1675
1676 * install.texi: Mention how to do optimization.
1677
1678 Mon Dec 19 13:18:04 1994 Karl Berry <karl@cs.umb.edu>
1679
1680 * tex-file.h: Doc fix.
1681
1682 Wed Dec 14 14:46:47 1994 Karl Berry <karl@cs.umb.edu>
1683
1684 * Version 2.5.
1685
1686 * pathsearch.c (log_search): Don't prepend the `kdebug:' to the
1687 search result.
1688
1689 Sat Dec 10 16:49:12 1994 Karl Berry <karl@cs.umb.edu>
1690
1691 * tex-make.c (set_maketex_mag): Make case of magstep -1 work
1692 properly. From a bug report by
1693 heiko@lotte.sax.de (Heiko Schlittermann).
1694
1695 Mon Dec 5 11:58:08 1994 Karl Berry <karl@cs.umb.edu>
1696
1697 * Makefile.in (objects): Add @LIBOBJS@.
1698 * common.ac: Check for basename.
1699
1700 * db.c (db_insert): Include trailing / in directory part, and pass
1701 the key and the value in the right order. From
1702 te@informatik.uni-hannover.de.
1703
1704 Sun Dec 4 14:26:44 1994 Karl Berry <karl@cs.umb.edu>
1705
1706 * kpsexpand.c: Add extra filename argument. From
1707 ware@cis.ohio-state.edu.
1708
1709 * common.ac: Use AC_TRY_RUN to test for SMART_PUTENV, not
1710 AC_TRY_LINK. From parkes@sierravista.com.
1711
1712 * acconfig.h: Use #undef instead of commented-out `/* #define'.
1713
1714 Sun Nov 27 13:47:06 1994 Karl Berry <karl@cs.umb.edu>
1715
1716 * db.c (db_insert): Don't try to insert into an empty hash table.
1717 From dc@cobi.gsfc.nasa.gov (and others).
1718
1719 * pathsearch.c (log_search): Call DEBUGF, not printf, for the
1720 filenames. From John I.
1721
1722 * tex-make.c (kpse_make_tex): If MAKETEX_MODE is /, unset it and
1723 reset it around the command expansion.
1724 (maketex): Back to calling db_insert.
1725
1726 Sat Nov 26 11:44:09 1994 Karl Berry <karl@cs.umb.edu>
1727
1728 * cnf.c (read_file): If expansion of $TEXMF (KPSE_DB_DIR) fails,
1729 expand DEFAULT_TEXMF. From te@informatik.uni-hannover.de.
1730
1731 Thu Nov 24 13:41:15 1994 Karl Berry <karl@cs.umb.edu>
1732
1733 * tex-file.c (KPSE_BST_ENVS): Do not look at TEXINPUTS.
1734
1735 * tex-file.h: Doc fix.
1736
1737 Tue Nov 15 14:06:56 1994 Karl Berry <karl@cs.umb.edu>
1738
1739 * progname.c (kpse_set_progname): Use basename.
1740
1741 Fri Nov 11 19:12:23 1994 Karl Berry <karl@cs.umb.edu>
1742
1743 * acconfig.h (HAVE_SIGIO): Add this.
1744
1745 Tue Nov 8 19:14:12 1994 Karl Berry <karl@cs.umb.edu>
1746
1747 * tex-make.c (kpse_make_tex): Change argument name from
1748 `basename', since now we have a fn by that name.
1749 * magstep.c (kpse_magstep_fix): Initialize mdpi.
1750 * basename.c (basename): Initalize base.
1751
1752 Mon Nov 7 15:46:21 1994 Karl Berry <karl@cs.umb.edu>
1753
1754 * common.ac: Run autoupdate.
1755 * c-dir.h: Change #if names and NLENGTH to new style.
1756
1757 Fri Oct 28 21:28:02 1994 K. Berry (karl@terminus.cs.umb.edu)
1758
1759 * Version 2.4.
1760
1761 * tex-make.c (maketex): Don't call db_insert, that routine is
1762 buggy. I'll fix it later. In the meantime, trying to get a
1763 semi-stable release.
1764
1765 Tue Oct 25 16:43:31 1994 Karl Berry <karl@cs.umb.edu>
1766
1767 * Version 2.3.
1768
1769 * progname.c (kpse_set_progname): Initialize kpathsea_debug from
1770 the KPATHSEA_DEBUG envvar. From neal@ctd.comsat.com.
1771
1772 Mon Oct 24 13:41:24 1994 Karl Berry <karl@cs.umb.edu>
1773
1774 * db.c (db_insert): New function.
1775 * db.h: Declare it.
1776 * tex-make.c (maketex): db_insert the result if we succeeded.
1777
1778 * basename.c: New file to define basename.
1779 * lib.h (basename): Declare it.
1780 * Makefile.in (objects): Include basename.o.
1781
1782 * tex-file.h (kpse_file_format_type): Add missing enum values for
1783 base/fmt/pool files.
1784 * tex-file.c (kpse_init_format): Add cases for these.
1785 From te@informatik.uni-hannover.de.
1786
1787 * lib.h (WARNING, FATAL): Use fputs instead of fprintf.
1788 * Many files: Use DEBUGF instead of printf ("kdebug".
1789 * debug.h (DEBUGF) [DEBUG]: Define this.
1790
1791 * xputenv.c (xputenv): Initialize that static saved_env_items to
1792 null, just for documentation's sake.
1793
1794 Tue Oct 18 13:19:06 1994 Karl Berry <karl@cs.umb.edu>
1795
1796 * tex-file.c (KPSE_*_ENVS): Move environment variable list here.
1797 * tex-file.h: Move them from here.
1798
1799 * tex-glyph.h: Doc fix.
1800
1801 * tex-file.c (kpse_find_file): Correct off-by-one in suffix
1802 comparison. From toy@rtp.ericsson.se.
1803
1804 Mon Oct 17 14:01:02 1994 Karl Berry <karl@cs.umb.edu>
1805
1806 * elt-dirs.c (do_subdir): Find a top-level subdir if it matches
1807 the POST.
1808
1809 * db.c (kpse_db_search): Allow for the passed name including a
1810 directory part, as in dpi600/cmr10.pk.
1811 * tex-glyph.c (try_format): First search all specs with
1812 must_exist=false.
1813
1814 * kpsexpand.c: New file, from te@informatik.uni-hannover.de.
1815 * Makefile.in (kpsexpand): New target (a program).
1816 (install-exec): Depend on, and install, kpsexpand.
1817
1818 * common.ac: Doc fix.
1819
1820 * cnf.c (do_line): Don't quit just because the variable is in the
1821 environment. From te@informatik.uni-hannover.de.
1822
1823 * tex-glyph.c (PXL_BITMAP_SPEC): Remove this, we're not going to
1824 support pxl1500.
1825
1826 Sun Oct 16 20:46:26 1994 Karl Berry <karl@cs.umb.edu>
1827
1828 * kpathsea.texi: Make it clear that names of debugging bits can
1829 never be used.
1830
1831 Fri Oct 14 10:31:35 1994 Karl Berry <karl@cs.umb.edu>
1832
1833 * Version 2.2.
1834
1835 * hash.c (hash_lookup) [DEBUG]: Cast to long, not int.
1836
1837 Thu Oct 13 15:39:34 1994 Karl Berry <karl@owl>
1838
1839 * db.c (db_build): Warn if ls-R contains nothing useful.
1840
1841 * debug.c (fopen, fclose) [DEBUG]: fflush stdout.
1842 * dir.c (dir_links),
1843 * hash.c (hash_lookup),
1844 * tex-file.c (kpse_init_format),
1845 * elt-dirs.c (kpse_element_dirs): Likewise.
1846
1847 Thu Oct 13 09:02:56 1994 Karl Berry <karl@cs.umb.edu>
1848
1849 * hash.c (kpse_debug_hash_lookup_int) [DEBUG]: New global.
1850 (hash_lookup): Use it.
1851 * hash.h [DEBUG]: Declare it.
1852 * dir.c (dir_links) [DEBUG]: Set it and reset it.
1853
1854 * tex-glyph.c (PXL_BITMAP_SPEC): Add this (pxlNNN/cmr10.pk) for
1855 the Bitstream utilities. From abrahams@acm.org.
1856 (try_format): Search for this.
1857
1858 Tue Oct 11 15:15:49 1994 Karl Berry <karl@cs.umb.edu>
1859
1860 * db.c (db_build): Use kpse_db_dir instead of KPSE_DB_DIR. This
1861 avoids one variable expansion, and te@informatik.uni-hannover.de
1862 says otherwise TeX sometimes can't find ls-R.
1863
1864 Sun Oct 9 17:18:23 1994 Karl Berry <karl@cs.umb.edu>
1865
1866 * kdefault.c: Rename from default.c.
1867 * Makefile.in (objects): Likewise.
1868
1869 Fri Oct 7 12:58:33 1994 Karl Berry <karl@cs.umb.edu>
1870
1871 * tex-file.c (kpse_init_format): Call INIT_MT for the any_glyph
1872 case. From carson@lehman.com.
1873
1874 Sun Oct 2 14:11:20 1994 Karl Berry <karl@cs.umb.edu>
1875
1876 * magstep.c: Doc fix.
1877
1878 Sun Sep 25 17:11:40 1994 Karl Berry <karl@cs.umb.edu>
1879
1880 * Makefile.in: Include library.make.
1881
1882 Thu Sep 22 15:34:40 1994 Karl Berry <karl@cs.umb.edu>
1883
1884 * tex-file.h (kpse_file_format_type): Don't make equal to the last
1885 element index, make one more. From Eric Auborg.
1886
1887 Thu Sep 15 19:24:30 1994 Karl Berry (karl@cs.umb.edu)
1888
1889 * Makefile.in (distdir): Include install.texi in the distribution.
1890
1891 Mon Sep 12 11:05:18 1994 Karl Berry (karl@cs.umb.edu)
1892
1893 * Version 2.1.
1894
1895 Sun Sep 11 15:03:18 1994 Karl Berry (karl@cs.umb.edu)
1896
1897 * Makefile.in (install-data): Install texmf.cnf if it didn't exist.
1898
1899 Sat Sep 10 13:28:29 1994 Karl Berry (karl@cs.umb.edu)
1900
1901 * Makefile.in (texmf.sed, paths.h): Use tr 012 instead of \n.
1902 From John Interrante.
1903
1904 * Makefile.in (distdir): Include the .aux and .cps files in the
1905 distribution. Don't include paths.h (from John Interrante).
1906
1907 * kpathsea.texi: Fix overfull boxes and other TeX errors.
1908
1909 Wed Sep 7 16:28:37 1994 Karl Berry (karl@cs.umb.edu)
1910
1911 * Version 2.0.
1912
1913 Tue Sep 6 10:33:18 1994 Karl Berry (karl@cs.umb.edu)
1914
1915 * dir.c (dir_links): Use %ld for ret, since it's now a long.
1916
1917 Sat Sep 3 09:01:25 1994 Karl Berry (karl@cs.umb.edu)
1918
1919 * dir.c (dir_links): Use long instead of int for the cast and the
1920 variable, to avoid warnings on the Alpha.
1921
1922 * c-std.h (SYSV, X_NOT_STDC_ENV): Don't define these here.
1923 * c-memstr.h (SYSV): Define this.
1924 (_XFUNCS_H_): And this.
1925
1926 * Makefile.in (distclean): Add texmf.cnf and texmf.sed.
1927
1928 Thu Sep 1 14:22:48 1994 Karl Berry (karl@cs.umb.edu)
1929
1930 * xputenv.c (putenv): Declare this to avoid a warning.
1931 * xstat.c (lstat): And this.
1932
1933 * common.ac (SMART_PUTENV): Use program to test for this. From
1934 mike@cs.utah.edu.
1935
1936 * tex-glyph.c (try_fallback_resolutions): Quit early if there's no
1937 resolutions in the list. From sanjoy@dope.caltech.edu.
1938
1939 Tue Aug 30 14:26:48 1994 Karl Berry (karl@cs.umb.edu)
1940
1941 * acconfig.h (FOIL_X_WCHAR_T): New definition.
1942
1943 * c-std.h (hypot) [!hypot]: Conditionalize declaration.
1944
1945 Fri Aug 26 09:00:24 1994 Karl Berry (karl@cs.umb.edu)
1946
1947 * Makefile.in (install-data): Install headers into
1948 $(includedir)/kpathsea, not just $(includedir). From john@wpi.edu.
1949
1950 * pathsearch.c (search): Show results of the search as well as the
1951 start of it.
1952
1953 Thu Aug 25 13:40:29 1994 Karl Berry (karl@cs.umb.edu)
1954
1955 * proginit.c (kpse_init_prog): Newline at end of fputs.
1956
1957 * pathsearch.c (search): Add debug statement.
1958 * debug.h (KPSE_DEBUG_SEARCH): New bit.
1959
1960 * tex-file.h (kpse_format_info_type): Rename `font_override_p' from
1961 `font_p'. Also `program_enabled' => `program_enabled_p'.
1962 Also new member `suffix_search_only'.
1963 * tex-file.c (kpse_find_file): Avoid searching for foo.tex.tex, etc.
1964
1965 Tue Aug 16 09:29:59 1994 Karl Berry (karl@cs.umb.edu)
1966
1967 * tex-make.c (maketex): Announce that we are running the script
1968 before running it.
1969
1970 Mon Aug 15 11:18:19 1994 Karl Berry (karl@cs.umb.edu)
1971
1972 * texmf.cnf.in (PKFONTS.xdvi): Write program-specific definition
1973 to include gsftopk and ps2pk ``modes''.
1974
1975 Sat Aug 13 16:34:43 1994 Karl Berry (karl@cs.umb.edu)
1976
1977 * Makefile.in (lib): Rename to program to simplify rules.
1978
1979 * magstep.h: Doc fix.
1980
1981 * common.ac (AC_HAVE_FUNCS): Test for bcopy.
1982
1983 Tue Aug 9 14:18:56 1994 Karl Berry (karl@cs.umb.edu)
1984
1985 * tex-make.c (misstex): Prepend kpathsea: to the missfont.log
1986 message.
1987
1988 Mon Aug 8 17:53:58 1994 Karl Berry (karl@cs.umb.edu)
1989
1990 * tex-make.c (set_maketex_mag): Rewrite to call kpse_magstep_fix.
1991 * magstep.[ch]: New files.
1992
1993 Fri Aug 5 14:07:51 1994 Karl Berry (karl@cs.umb.edu)
1994
1995 * db.c (match): Allow a trailing component in the filename.
1996
1997 Tue Aug 2 08:55:21 1994 Karl Berry (karl@cs.umb.edu)
1998
1999 * Change `debug:' to `kdebug:'.
2000 * hash.c (hash_lookup): Print results of lookup if DEBUG_HASH.
2001 * debug.h (KPSE_DEBUG_HASH): New bit, replacing DB_BUILD.
2002 * db.c (db_build): Don't print the built hash table.
2003
2004 * db.c (match): Implement this. Petr Sojka and Zdenek Salvet(?)
2005 supplied code for this, but I wound up writing my own.
2006 * variable.c (expand): Do variable expansion on the value.
2007
2008 * texmf.cnf.in (TEXINPUTS): Put this after the .prog-specific entries.
2009
2010 * tex-file.c (kpse_pict_format): Remember to break after setting
2011 the type.
2012 (EXPAND_DEFAULT, init_path): Keep raw_path as pre-default expansion.
2013
2014 Sun Jul 31 14:18:09 1994 Karl Berry (karl@cs.umb.edu)
2015
2016 * debug.c: Don't include debug.h, it's already in debug.h.
2017
2018 * Makefile.in (db.o,pathsearch.o): Don't need these special cases
2019 since tossed db_dir from paths.make.
2020 * db.h (DB_DIR): Change default to $TEXMF, rename to KPSE_DB_DIR.
2021 (kpse_db_dir): New global variable (sigh).
2022 * db.c (kpse_db_dir): Define.
2023 * cnf.c: Include db.h for KPSE_DB_DIR.
2024 (read_files): Set kpse_db_dir after all have been read.
2025 * pathsearch.c (elt_in_db): Check if kpse_db_dir is null.
2026 (path_search): Do not initialize db_dir.
2027
2028 Sat Jul 30 06:12:12 1994 Karl Berry (karl@cs.umb.edu)
2029
2030 * c-dir.h [_POSIX_VERSION]: Remove this condition; just use DIRENT.
2031
2032 Fri Jul 29 11:36:25 1994 Karl Berry (karl@cs.umb.edu)
2033
2034 * tex-file.c (init_path): Look up cnf file value if no suffix.
2035
2036 * xstat.h (SAME_FILE_P): Move here.
2037 * c-stat.h (SAME_FILE_P): From here.
2038 * file-p.c: Change include.
2039 * lib.h (dir_p, dir_links): Declare here.
2040 * dir.h: Split into xopendir.h and c-dir.h; Sun 3 include files
2041 get confused otherwise, according to john@minster.york.ac.uk.
2042 * xopendir.c: Include xopendir.h.
2043 * elt-dirs.c, dir.c: Change includes.
2044
2045 Sun Jul 17 10:21:16 1994 Karl Berry (karl@cs.umb.edu)
2046
2047 * hash.c (hash_insert): Put new elements in at the end of the
2048 list, instead of the beginning.
2049 * hash.h: Document this.
2050
2051 * texmf.cnf.in (TEXMFROOT): Change to TEXMF.
2052 * kpathsea.texi: Likewise.
2053
2054 * cnf.c (do_line): assert program_invocation_short_name.
2055 * progname.c: Doc fix.
2056
2057 * absolute.[ch] (kpse_absolute_p): Take additional arg relative_ok.
2058 * pathsearch.c (log_search): Call it (with false).
2059 * tex-glyph.c: Change call.
2060
2061 * pathsearch.c (path_search): Initialize db_dir here.
2062 (elt_in_db): Not here.
2063
2064 Fri Jul 15 11:44:15 1994 Karl Berry (karl@cs.umb.edu)
2065
2066 * tex-file.h: Doc fix.
2067
2068 * pathsearch.c (log_search): Pass in the whole str_list; anything
2069 else is unreliable.
2070
2071 * proginit.[ch] (kpse_init_prog): Don't pass in argv0; we need it
2072 earlier.
2073
2074 Tue Jul 12 11:56:54 1994 Karl Berry (karl@cs.umb.edu)
2075
2076 * tex-file.c (init_path): Use the first envvar that's *set*, not
2077 the first in the list.
2078
2079 * tex-file.h (kpse_format_info_type): New member `type'.
2080 * tex-file.c (kpse_init_format): Initialize it.
2081
2082 * pathsearch.c (log_search): New fn.
2083 (search): Call it.
2084
2085 Fri Jul 1 11:54:29 1994 Karl Berry (karl@cs.umb.edu)
2086
2087 * tex-file.c: Doc fix.
2088
2089 Mon Jun 27 10:18:59 1994 Karl Berry (karl@cs.umb.edu)
2090
2091 * db.c (db_build): Call kpse_var_expand on the db filename.
2092 * pathsearch.c (elt_in_db): Likewise.
2093
2094 * tex-glyph.h (kpse_find_gf): By analogy with kpse_find_pk.
2095
2096 Sat Jun 25 16:09:05 1994 Karl Berry (karl@cs.umb.edu)
2097
2098 * tex-glyph.c (try_format): Try both Unix and DOS bitmap specs,
2099 instead of just one or the other.
2100 (bitmap_name): No longer needed.
2101
2102 Fri Jun 24 11:52:32 1994 Karl Berry (karl@cs.umb.edu)
2103
2104 * tex-file.c (kpse_find_file): Don't try the suffix if it doesn't
2105 exist.
2106
2107 * tex-file.h (kpse_find_{dvips_header,pict}): New definition.
2108
2109 Thu Jun 23 16:57:58 1994 Karl Berry (karl@cs.umb.edu)
2110
2111 * tex-file.h (kpse_{pict,dvips_header}_format): New consts.
2112 (KPSE_{PICT,DVIPS_HEADER}_ENVS): Likewise.
2113
2114 Tue Jun 21 11:53:09 1994 Karl Berry (karl@cs.umb.edu)
2115
2116 * tex-file.c (kpse_find_file): Try the name as given if the name
2117 concatenated with the suffix fails, for the sake of, e.g., EPS files.
2118
2119 * tex-file.h (kpse_find_tex): New definition.
2120
2121 * absolute.[ch]: Make arg const.
2122
2123 * tex-glyph.[ch]: (kpse_bitmap_tolerance): Move here from tex-make.
2124
2125 * c-proto.h (P6[CH]): New definitions.
2126
2127 * Makefile.in (objects): Add proginit.o.
2128 * proginit.[ch]: New files.
2129
2130 Mon Jun 20 14:55:57 1994 Karl Berry (karl@cs.umb.edu)
2131
2132 * tex-file.c (kpse_init_format): Make override path not apply to
2133 TFM and VF files.
2134
2135 * tex-glyph.c (kpse_find_glyph_format): Rename to kpse_find_glyph,
2136 and don't call MakeTeXPK if the filename is absolute.
2137 * tex-glyph.h: Likewise.
2138
2139 Sun Jun 19 11:00:50 1994 Karl Berry (karl@cs.umb.edu)
2140
2141 * common.ac (HAVE_PROGRAM_INVOCATION_NAME): Test for this.
2142 * acconfig.h: #undef this by default.
2143 * progname.[ch]: New files.
2144 * Makefile.in (objects): Add progname.o.
2145 * cnf.c (do_line): Check for .<progname> qualification.
2146
2147 Sat Jun 18 16:55:36 1994 Karl Berry (karl@cs.umb.edu)
2148
2149 * elt-dirs.c (kpse_element_dirs): Avoid stats in leaf directories
2150 found via a non-null post.
2151
2152 Fri Jun 17 14:25:08 1994 Karl Berry (karl@cs.umb.edu)
2153
2154 * elt-dirs.c (kpse_element_dirs) [DEBUG]: Print the directory
2155 expansion of the path element.
2156
2157 * str-llist.h: Doc fix.
2158
2159 * elt-dirs.c (do_subdir): Ignore anything beginning with ., not
2160 just `.' and `..'.
2161
2162 Tue Jun 14 11:53:49 1994 Karl Berry (karl@cs.umb.edu)
2163
2164 * dir.c (dir_links): Cache the lookups.
2165
2166 * elt-dirs.c (kpse_element_dirs): Don't expand the argument.
2167 * expand.h (kpse_path_expand): New routine.
2168 * expand.c: Define it.
2169 * pathsearch.h: Doc fix.
2170
2171 * db.c, tex-file.c [DEBUG]: Prefix output lines with `debug:'.
2172
2173 * tex-file.h (kpse_format_info_type): Add cnf_path to the struct.
2174 * tex-file.c (kpse_init_path): Print the cnf_path.
2175 (init_path): Set it, instead of a local variable.
2176
2177 * pathsearch.c (path_search): Use !! for no-disk-search instead of
2178 %%, because now % is the comment char in cnf files.
2179 * kpathsea.texi: Document this. Also change all `Kpathsearch' to
2180 `kpathsea'.
2181
2182 Mon Jun 13 10:15:49 1994 Karl Berry (karl@cs.umb.edu)
2183
2184 * tex-make.h (kpse_set_maketex_mag): Remove.
2185 * tex-make.c (kpse_set_maketex_mag): Make static, remove kpse_
2186 prefix, and use KPATHSEA_DPI and MAKETEX_BASE_DPI instead of args.
2187
2188 Sun Jun 12 13:49:15 1994 Karl Berry (karl@cs.umb.edu)
2189
2190 * db.c (db_build): Put a header on the hash table.
2191
2192 * tex-glyph.c (try_format): Set extension and path after
2193 kpse_init_format, natch.
2194
2195 Sat Jun 11 14:26:34 1994 Karl Berry (karl@cs.umb.edu)
2196
2197 * Makefile.in (objects): Add cnf.o.
2198 * variable.c (expand): Call kpse_cnf_get if no envvar value.
2199
2200 Fri Jun 10 11:20:23 1994 Karl Berry (karl@cs.umb.edu)
2201
2202 * tex-make.h: Remove spec type and variable.
2203
2204 Thu Jun 9 13:42:21 1994 Karl Berry (karl@cs.umb.edu)
2205
2206 * Makefile.in (objects): Remove init-path.o.
2207 * tex-file.c (kpse_find_file): Rewrite to initialize the paths
2208 only once, and keep all path info in a structure.
2209 * tex-file.h: Vastly simplify.
2210 * tex-glyph.h (kpse_font_file_type): Move here, since it's really
2211 only for glyphs.
2212 * tex-glyph.c: Corresponding changes.
2213 * debug.h (KPSE_DEBUG_PATHS): New debug bit.
2214
2215 * default.h, str-list.h: Doc fix.
2216
2217 Tue May 31 10:06:51 1994 Karl Berry (karl@cs.umb.edu)
2218
2219 * debug.c: Doc fix.
2220
2221 Mon May 23 11:50:03 1994 Karl Berry (karl@cs.umb.edu)
2222
2223 * c-fopen.h (FOPEN_A_MODE): Define this.
2224 * tex-make.c (misstex, maketex): Split up kpse_make_tex into
2225 these, and create missfont.log if appropriate.
2226
2227 Sun May 22 17:39:52 1994 Karl Berry (karl@cs.umb.edu)
2228
2229 * tex-make.h: Doc fix.
2230
2231 Wed May 11 13:25:58 1994 Karl Berry (karl@cs.umb.edu)
2232
2233 * configure.in (AC_OUTPUT): Use just `Makefile' instead of
2234 `./Makefile', to avoid a bug in Autoconf (through 1.10).
2235
2236 Sun Apr 17 16:18:00 1994 Karl Berry (karl@ra.cs.umb.edu)
2237
2238 * debug.h: Prefix macros with KPSE_.
2239 * db.c, dir.c: Change calls.
2240
2241 * common.ac: Remove :: VPATH stuff; that made it in to Autoconf 1.8.
2242
2243 * Makefile.in (top_srcdir): Define this for configure to substitute.
2244
2245 Thu Apr 7 17:52:05 1994 Karl Berry (karl@ra.cs.umb.edu)
2246
2247 * debug.[ch]: Implement fopen/fclose tracing.
2248
2249 Thu Mar 31 07:25:49 1994 Karl Berry (karl@cs.umb.edu)
2250
2251 * Version 1.8.
2252
2253 Thu Mar 24 10:01:20 1994 Karl Berry (karl@cs.umb.edu)
2254
2255 * tex-glyph.c: Doc fix.
2256
2257 * pathsearch.c (path_search): Don't search the disk if there is
2258 magic in the path spec.
2259
2260 * db.c: Doc fix.
2261
2262 Wed Mar 16 13:50:17 1994 Karl Berry (karl@cs.umb.edu)
2263
2264 * readable.c (kpse_readable_file): Complain if errno == EPERM.
2265
2266 Sun Mar 13 11:14:19 1994 Karl Berry (karl@cs.umb.edu)
2267
2268 * pathsearch.h (kpse_path_search): Take an extra arg must_exist.
2269 * pathsearch.c (kpse_path_search, search, path_search): Likewise.
2270 * tex-file.c (kpse_find_file): Change call.
2271 * tex-file.h (kpse_find_*): Change these calls, too.
2272
2273 * hash.c (hash_create): Don't use xcalloc to init pointers to null.
2274
2275 * db.c (kpse_db_search): Don't free the pointer after incrementing it.
2276 From Frank Jensen.
2277
2278 Sat Mar 12 17:55:36 1994 Karl Berry (karl@cs.umb.edu)
2279
2280 * db.h (kpse_db_search): Returns a pointer.
2281 * db.c (kpse_db_search): If db can't be built, return NULL, else a
2282 pointer to the (possibly empty) list.
2283 (db_build): Return whether we found the file.
2284 * pathsearch.c (path_search): Change call.
2285
2286 Thu Mar 10 07:45:13 1994 Karl Berry (karl@cs.umb.edu)
2287
2288 * Makefile.in (install-info): New target.
2289
2290 Fri Mar 4 08:06:16 1994 Karl Berry (karl@cs.umb.edu)
2291
2292 * hash.c (hash): Change hash function to spread out the values a
2293 bit better.
2294
2295 * debug.h (DEBUG_DB_BUILD): New debug bit.
2296 * db.c (db_build) [DEBUG]: If bit is set, print hash table.
2297 * hash.h (hash_print): Declare.
2298
2299 Thu Mar 3 08:52:01 1994 Karl Berry (karl@cs.umb.edu)
2300
2301 * Version 1.7.
2302
2303 Sun Feb 27 15:57:30 1994 Karl Berry (karl@cs.umb.edu)
2304
2305 * Makefile.in (objects): Add db.o, hash.o.
2306 * db.[ch]: New files.
2307 * hash.[ch]: Also new files.
2308 * pathsearch.c (path_search): Try db search.
2309 * tex-glyph.c, fontmap.c: Use general hash functions.
2310
2311 Sat Feb 26 13:15:53 1994 Karl Berry (karl@cs.umb.edu)
2312
2313 * fontmap.c: Doc fix.
2314
2315 * pathsearch.c (INIT_ALLOC): Increase to 75, what the heck.
2316
2317 Fri Feb 25 08:30:50 1994 Karl Berry (karl@cs.umb.edu)
2318
2319 * tex-file.[ch]: Decare args const.
2320
2321 Thu Feb 24 07:55:43 1994 Karl Berry (karl@cs.umb.edu)
2322
2323 * tex-make.h: Include tex-file.h, not init-path.h.
2324
2325 * init-path.h (KPSE_*_{ENVS,PATHS}, kpse_font_override_path): Move
2326 to tex-font.h.
2327 * tex-font.h (kpse_find_{file,tfm,vf}): Also declare these.
2328 * tex-font.c (kpse_find_file): Define these.
2329 (kpse_font_override_path): Move definition here.
2330
2331 * tex-file.*: Rename from tex-font.*.
2332 * GNUmakefile: Corresponding changes.
2333
2334 * elt-dirs.c (do_subdir): Only append the / once we know it's a
2335 directory.
2336
2337 Wed Feb 23 16:41:31 1994 Karl Berry (karl@cs.umb.edu)
2338
2339 * elt-dirs.c (do_subdir): Don't tack POST on if it is exactly the
2340 d_name, so we can find a/b with a path of a//b.
2341
2342 * c-vararg.h (PVAR3[CH]): New defines.
2343
2344 * init-path.h: Include KPSE_*_{ENVS,PATHS} here.
2345 (kpse_init_path): Take an additional arg font_p.
2346 * init-path.c (kpse_override_path): Rename kpse_font_override_path.
2347 (kpse_init_path): Only use kpse_font_override_font if font_p.
2348
2349 Mon Feb 21 15:38:53 1994 Karl Berry (karl@cs.umb.edu)
2350
2351 * common.ac (extrasub): Define to remove VPATH lines if srcdir = `.'.
2352
2353 Thu Feb 3 06:19:49 1994 Karl Berry (karl@cs.umb.edu)
2354
2355 * Version 1.6.
2356
2357 * fn.c (fn_copy0): Remember to allocate space for the null.
2358 Thanks, simon.
2359
2360 Wed Feb 2 09:57:47 1994 Karl Berry (karl@cs.umb.edu)
2361
2362 * tex-make.h (KPSE_BITMAP_TOLERANCE): Move to here from tex-glyph.c
2363 (kpse_check_bitmap_tolerance): Declare.
2364 * tex-make.c (kpse_check_bitmap_tolerance): Define.
2365
2366 Tue Feb 1 10:42:03 1994 Karl Berry (karl@cs.umb.edu)
2367
2368 * c-std.h (*alloc) [! _MALLOC_INTERNAL]: Make decl conditional.
2369
2370 * c-std.h [HAVE_STDLIB_H]: Change #if for including <stdlib.h> to this.
2371 * common.ac (AC_HAVE_HEADERS): Check for stdlib.h.
2372
2373 * Makefile.in (paths.h): Do all substitutions globally.
2374
2375 * absolute.c [DOS]: Include c-ctype.h.
2376 * tex-glyph.c (KPATHSEA_BITMAP_NAME) [DOS]: Double the backslash.
2377 * elt-dirs.c (do_subdir) [!UNIX_ST_LINK]: Avoid dangling else.
2378 From Wayne.
2379
2380 * paths.h.in: Doc fix.
2381
2382 * xputenv.c (xputenv): Check entire variable name for being saved,
2383 not just a prefix of it.
2384
2385 Mon Jan 31 12:05:30 1994 Karl Berry (karl@cs.umb.edu)
2386
2387 * fn.c (fn_copy0): Allocate LEN if that's bigger than CHUNK_SIZE.
2388 (CHUNK_SIZE): Increase to 75.
2389
2390 Sat Jan 22 15:36:08 1994 Karl Berry (karl@cs.umb.edu)
2391
2392 * Version 1.5.
2393
2394 * common.ac (AC_HAVE_FUNCS): Check for memmove.
2395
2396 * paths.h.in (DEFAULT_MF_PATH): Don't search just public/, cause
2397 we need ams/.
2398
2399 Mon Jan 17 15:09:36 1994 Karl Berry (karl@cs.umb.edu)
2400
2401 * paths.h.in (DEFAULT_{FMT,BASE}_PATH): Include `.'.
2402
2403 Sun Jan 16 14:50:02 1994 Karl Berry (karl@cs.umb.edu)
2404
2405 * paths.h.in (DEFAULT_PK_PATH): Search subdirs of pk.
2406
2407 Mon Jan 10 16:40:35 1994 Karl Berry (karl@cs.umb.edu)
2408
2409 * xputenv.c (xputenv): Don't try to be smart about saving/freeing
2410 stuff if SMART_PUTENV is defined.
2411
2412 * c-std.h (assert) [!HAVE_ASSERT_H]: Define as nothing, to avoid
2413 undefined references to assert.
2414
2415 Tue Dec 21 16:28:13 1993 Karl Berry (karl@cs.umb.edu)
2416
2417 * c-std.h (SYSV) [STDC_HEADERS]: Define, to get around old X
2418 include files under hpux.
2419
2420 Sun Dec 19 13:06:15 1993 Karl Berry (karl@cs.umb.edu)
2421
2422 * Makefile.in (objects): Put tex-font.o first.
2423
2424 Sat Dec 18 15:03:57 1993 Karl Berry (karl@cs.umb.edu)
2425
2426 * config.h (GCC_WCHAR_T, _GCC_WCHAR_T): Remove these; I have
2427 another theory now for wchar_t, done in xdvi.h and x11.c.
2428
2429 Sat Dec 18 14:41:15 1993 Karl Berry (karl@owl.hq.ileaf.com)
2430
2431 * c-memstr.h ([r]index) [STDC_HEADERS]: Conditionalize #define.
2432
2433 Tue Dec 14 17:43:30 1993 Karl Berry (karl@cs.umb.edu)
2434
2435 * Makefile.in (paths.h): Change substitutions accordingly.
2436 * paths.h.in (DEFAULT_FMT_PATH): Variable is now fmtdir.
2437 (DEFAULT_{BIB,BST}_PATH): Variable is now texmf_prefix.
2438
2439 Sat Dec 11 13:21:43 1993 Karl Berry (karl@cs.umb.edu)
2440
2441 * tex-make.c (ABS): New macro.
2442 (kpse_set_maketex_mag): Use it, instead of fabs.
2443
2444 Fri Dec 10 15:31:16 1993 Karl Berry (karl@cs.umb.edu)
2445
2446 * xmalloc.c, xrealloc.c: Use exit instead of abort, remove abort
2447 decls, and reword error messages to be less cryptic. From
2448 john@minster.york.ac.uk.
2449
2450 * dir.h: use `defined' instead of just `DIRENT || _POSIX_VERSION'.
2451 How annoying. From kretschm@aitxu3.ait.physik.uni-tuebingen.de.
2452
2453 * xputenv.c (putenv): Remove declaration, as different systems do
2454 it differently. From kayvan@satyr.sylvan.com.
2455
2456 Thu Dec 9 09:12:33 1993 Karl Berry (karl@cs.umb.edu)
2457
2458 * tex-make.c (kpse_set_maketex_mag): Allow off-by-1 when deciding
2459 if a dpi is a magstep.
2460
2461 Tue Dec 7 11:03:51 1993 Karl Berry (karl@cs.umb.edu)
2462
2463 * tex-make.c (kpse_set_maketex_mag): New routine from dvips,
2464 called by dvipsk and xdvik to ensure consistency.
2465 (magstep): Subroutine of above, also from dvips.
2466 * tex-make.h: Declare it.
2467
2468 * tex-doc.texi: Correct menu item (from maechler@stat.math.ethz.ch).
2469
2470 Fri Dec 3 12:53:38 1993 Karl Berry (karl@cs.umb.edu)
2471
2472 * c-pathmx.h: Doc fix.
2473
2474 Sat Nov 27 14:36:11 1993 Karl Berry (karl@cs.umb.edu)
2475
2476 * default.h: Doc fix.
2477
2478 * paths.h.in (texfontdir): This has been renamed to fontdir.
2479
2480 Sun Nov 21 08:28:41 1993 Karl Berry (karl@cs.umb.edu)
2481
2482 * Makefile.in (distdir): Include HIER in the distribution, until
2483 we merge it into the manual.
2484
2485 Sun Nov 7 14:54:47 1993 Karl Berry (karl@cs.umb.edu)
2486
2487 * c-namemx.h (NAME_MAX): Avoid use of pathconf.
2488 * c-pathmx.h: Doc fix.
2489
2490 Thu Nov 4 14:50:45 1993 Karl Berry (karl@cs.umb.edu)
2491
2492 * config.h (_GCC_WCHAR_T) [!GCC_WCHAR]: Conditionalize.
2493
2494 * c-std.h (EXIT_SUCCESS) [!EXIT_SUCCESS]: Move these defines
2495 outside of !STDC_HEADERS, for the sake of SunOS 4.1.1. (From
2496 vonbrand@inf.utfsm.cl.)
2497
2498 Wed Nov 3 14:43:05 1993 Karl Berry (karl@cs.umb.edu)
2499
2500 * Version 1.4.
2501
2502 Wed Nov 3 07:05:48 1993 Karl Berry (karl@cs.umb.edu)
2503
2504 * paths.h.in (DEFAULT_{BASE,FMT}_PATH): Had these definitions reversed.
2505
2506 Fri Oct 29 19:27:36 1993 Karl Berry (karl@cs.umb.edu)
2507
2508 * tex-glyph.c (try_fallback_resolutions): Initialize ret in all cases.
2509
2510 Thu Oct 28 14:32:34 1993 Karl Berry (karl@cs.umb.edu)
2511
2512 * lib.h: Doc fix.
2513
2514 * common.h (AC_UNISTD_H): Replace this with unistd.h in the list
2515 of HAVE_HEADERS.
2516
2517 Tue Oct 26 13:59:33 1993 Karl Berry (karl@cs.umb.edu)
2518
2519 * str-llist.[ch]: New files.
2520 * Makefile.in (objects): Add str_llist.o.
2521 * elt-dirs.[ch]: Use str_llist_type throughout.
2522 * pathsearch.c (dir_list_search): Take a str_llist_type, and float
2523 a successful dir towards the top.
2524 (path_search): Change call of kpse_element_dirs.
2525
2526 Sun Oct 24 19:41:49 1993 Karl Berry (karl@cs.umb.edu)
2527
2528 * elt-dirs.c (do_optional): Remove this stub.
2529 (expand_elt): Don't call it.
2530
2531 Fri Oct 22 14:46:44 1993 Karl Berry (karl@cs.umb.edu)
2532
2533 * xmalloc.c, xrealloc.c, line.c, pathsearch.c: Doc fix.
2534
2535 Tue Oct 19 12:11:32 1993 Karl Berry (karl@cs.umb.edu)
2536
2537 * tex-glyph.c (try_fallback_resolutions): New routine.
2538 (kpse_find_glyph_format): Call it, instead of repeating (the now
2539 pretty complicated) code.
2540 * tex-font.c (kpse_init_fallback_resolutions): Pass the value of
2541 any environment variable, not its name. From R.Kooijman@et.tudelft.nl.
2542
2543 * c-memstr.h (str[r]chr) [!str[r]chr]: Conditionalize. From
2544 maarrrk@seidel.ece.ucsb.edu.
2545
2546 Tue Oct 12 16:26:48 1993 Karl Berry (karl@cs.umb.edu)
2547
2548 * tex-make.c: Doc fix.
2549
2550 Thu Oct 7 13:13:57 1993 Karl Berry (karl@cs.umb.edu)
2551
2552 * xmalloc.c: Rewrite to not require <config.h>.
2553 * xrealloc.c: Likewise.
2554
2555 * make-suffix.c (make_suffix): Declare variables const.
2556 * remove-suffx.c (remove_suffix): Likewise. Also rename to
2557 rm-suffix.c.
2558 * xputenv.c (putenv): Declare with correct prototype.
2559 * fontmap.c (internal routines): Likewise.
2560 * line.c (xmalloc, xrealloc): Declare as void *.
2561 (From john@minster.york.ac.uk.)
2562
2563 Wed Oct 6 06:49:53 1993 Karl Berry (karl@cs.umb.edu)
2564
2565 * Version 1.3.
2566
2567 * tilde.c (kpse_tilde_expand): Always return a malloc-ed value.
2568 (From ken@cs.toronto.edu.)
2569
2570 Sun Oct 3 14:11:33 1993 Karl Berry (karl@cs.umb.edu)
2571
2572 * config.h (_GCC_WCHAR_T): Define.
2573
2574 Sat Oct 2 17:17:32 1993 Karl Berry (karl@cs.umb.edu)
2575
2576 * Makefile.in (install-*): Don't reassign PATH, just invoke
2577 mkdirchain explicitly.
2578
2579 * tex-glyph.c (KPATHSEA_BITMAP_NAME) [DOS]: Define what I think
2580 will work for this ...
2581
2582 * paths.h.in: Doc fix.
2583
2584 * Makefile.in: Doc fix.
2585
2586 * tex-glyph.c (kpse_find_glyph_format): Unconditionally initialize
2587 glyph_paths[*], since we might use them both in try_size. From
2588 worsch@ira.uka.de.
2589
2590 Fri Oct 1 12:02:11 1993 Karl Berry (karl@cs.umb.edu)
2591
2592 * expand.c: Doc fix.
2593
2594 Wed Sep 29 15:21:49 1993 (karl@terminus.cs.umb.edu)
2595
2596 * Version 1.2.
2597
2598 Sat Sep 25 14:12:00 1993 Karl Berry (karl@cs.umb.edu)
2599
2600 * pathsearch.c (path_search, absolute_search): Don't initialize
2601 structs.
2602
2603 Fri Sep 24 12:50:00 1993 Karl Berry (karl@cs.umb.edu)
2604
2605 * tex-glyph.c (try_size): Skip the simultaneous stuff.
2606 (try_format): Set the envvar here.
2607 (bitmap_name): Not here.
2608 * pathsearch.c (kpse_*_multi_search): Delete.
2609 Change most other routines to take only a single name again,
2610 instead of a name list.
2611 * pathsearch.h: Delete decls.
2612
2613 * tex-glyph.c (init-path.h): Don't need to include this.
2614
2615 * tex-glyph.c (kpse_find_glyph_format): Try the fallback
2616 resolutions for the fallback font.
2617
2618 * Makefile.in (warn_more, MAKEINFO_FLAGS) [hayley]: Define these
2619 for development and distribution.
2620
2621 * Makefile.in (dvi): Make analogous to info (including use of new
2622 suffix rule).
2623
2624 * tex-glyph.c (kpse_find_glyph_format): Set KPATHSEA_NAME to the
2625 fallback font if we get that far.
2626
2627 Wed Sep 15 19:29:56 1993 Karl Berry (karl@cs.umb.edu)
2628
2629 * filefmt.h (KPSE_*_PATH): Pass NULL as first arg.
2630
2631 * xputenv.c (xputenv): Rewrite again to save the variable names,
2632 not the old items.
2633
2634 Mon Sep 13 06:55:29 1993 Karl Berry (karl@cs.umb.edu)
2635
2636 * concatn.h: Doc fix.
2637
2638 Sun Sep 12 15:54:55 1993 Karl Berry (karl@cs.umb.edu)
2639
2640 * lib.h (XTALLOC): Parenthesize the cast.
2641
2642 * xputenv.c (xputenv): Rewrite to collect some of the garbage.
2643
2644 Fri Sep 10 14:00:35 1993 Karl Berry (karl@cs.umb.edu)
2645
2646 * lib.h (ENVVAR_SET_DEFAULT): No longer needed.
2647
2648 * xputenv.c (xputenv_int): New routine.
2649
2650 Thu Sep 9 14:58:00 1993 Karl Berry (karl@cs.umb.edu)
2651
2652 * tex-make.c (MAKE_TEX_PK_SPEC): Change MAKETEX_DPI to
2653 KPATHSEA_DPI.
2654
2655 * tex-glyph.c (try_fontmap): Use KPSE_GLYPH_PATH.
2656 * filefmt.c (KPSE_GLYPH_{PATH,ENVS}): New macros.
2657 (KPSE_{GF,PK}_ENVS): Use GLYPH_ENVS.
2658
2659 * tex-glyph.c (bitmap_name): Rewrite to use a variable spec,
2660 introducing KPATHSEA_{BITMAP_NAME,FORMAT,DPI,NAME}.
2661 (kpse_find_glyph_format): Set KPATHSEA_DPI instead of MAKETEX_DPI;
2662 also set KPATHSEA_NAME.
2663 (try_fontmap): Also set KPATHSEA_NAME here.
2664 (try_size): Set KPATHSEA_DPI here.
2665
2666 * tex-glyph.c (try_name): Delete this routine.
2667 (kpse_find_glyph_format): Try fallback resolutions here, call
2668 try_resolution directly.
2669 (try_fontmap): Call try_resolution directly.
2670
2671 * init-path.h: Need not include c-proto.h.
2672
2673 Sun Aug 29 13:34:25 1993 Karl Berry (karl@cs.umb.edu)
2674
2675 * tex-make.c: Doc fix.
2676
2677 * filefmt.h: Don't need c-proto.h or types.h.
2678
2679 Fri Aug 27 10:36:46 1993 Karl Berry (karl@cs.umb.edu)
2680
2681 * c-vararg.h (PVAR2C): Take AP as an arg.
2682
2683 * init-path.[ch] (kpse_init_path): Take the current value as an
2684 additional argument, separate from the default path, and always
2685 expand_default.
2686
2687 * uppercasify.c (uppercasify): Don't discard upcased result!
2688
2689 Thu Aug 26 10:36:28 1993 Karl Berry (karl@cs.umb.edu)
2690
2691 * Version 1.1.
2692
2693 Sun Aug 22 19:18:35 1993 Karl Berry (karl@cs.umb.edu)
2694
2695 * install-data (install-data): Replace nonexistent
2696 $(kpath_includedir) with $(includedir), and define it. Also
2697 remove c-auto.h.
2698
2699 Thu Aug 5 09:03:22 1993 Karl Berry (karl@cs.umb.edu)
2700
2701 * Version 1.0.
2702
2703 Wed Aug 4 13:51:24 1993 Karl Berry (karl@cs.umb.edu)
2704
2705 * tex-glyph.c (kpse_find_glyph_format): Fill in the font_file
2706 struct in the maketex case.
2707
2708 * Makefile.in (info): Just depend on kpathsea.info, and rely on
2709 new suffix rule to do the work.
2710
2711 Tue Aug 3 17:50:40 1993 Karl Berry (karl@fishbowl.hq.ileaf.com)
2712
2713 * tex-glyph.c (try_name): Don't free expanded_name if we're
2714 returning it.
2715
2716 Tue Aug 3 10:13:43 1993 Karl Berry (karl@owl.hq.ileaf.com)
2717
2718 * version.c (kpathsea_version_string): Do not declare const.
2719
2720 * line.h (read_line): Protoize decl.
2721
2722 Tue Aug 3 09:10:07 1993 Karl Berry (karl@blood.hq.ileaf.com)
2723
2724 * c-memstr.h (bcmp, bcopy, bzero) [!HAVE_BCOPY]: Conditionalize.
2725
2726 * putenv.c: Include <kpathsea/c-auto.h>, and use const when
2727 calling memcpy.
2728
2729 Sun Aug 1 08:48:49 1993 Karl Berry (karl@cs.umb.edu)
2730
2731 * Add new features to manual.
2732
2733 * Makefile.in (objects): Include putenv.o.
2734 * putenv.c: New file from gdb.
2735 * common.ac: Test for putenv.
2736
2737 Sat Jul 31 11:54:31 1993 Karl Berry (karl@cs.umb.edu)
2738
2739 * Makefile.in (distclean): Remove paths.h.
2740
2741 * Most files: changes for traditional C compatibility.
2742
2743 * filefmt.h: Add new KPSE_..._PATH's for the other formats.
2744 * paths.h.in: Add defaults.
2745 * Makefile.in (paths.h): sed the values in.
2746
2747 Fri Jul 30 17:23:10 1993 Karl Berry (karl@cs.umb.edu)
2748
2749 * filefmt.h (KPSE_VF_PATH): Add empty parens.
2750
2751 * tex-paths.h*: Rename to just paths.h*.
2752
2753 Tue Jul 27 09:00:58 1993 Karl Berry (karl@cs.umb.edu)
2754
2755 * filefmt.h: Include tex-paths.h, and use default paths in
2756 KPSE_..._PATH macros.
2757
2758 * find-suffix.c: Correct logic.
2759
2760 * filefmt.h: Include init-path.h.
2761
2762 Sat Jul 24 10:44:21 1993 Karl Berry (karl@cs.umb.edu)
2763
2764 * tex-glyph.c (kpse_find_glyph_format): Assign to it.
2765 * tex-font.h (kpse_font_file_type): New member `source'.
2766 (KPSE_FONT_FILE_SOURCE): Accessor macro.
2767 (kpse_source_type): New type.
2768
2769 Wed Jul 21 19:45:45 1993 Karl Berry (karl@cs.umb.edu)
2770
2771 * Makefile.in (configclean): New target.
2772
2773 Sun Jul 18 13:53:38 1993 Karl Berry (karl@cs.umb.edu)
2774
2775 * tilde.[ch] (kpse_expand_tilde): Rename to kpse_tilde_expand.
2776
2777 * elt-dirs.c, pathsearch.c, tex-glyph.c: Replace calls to
2778 kpse_expand_tilde with kpse_expand.
2779 * expand.[ch]: New files.
2780 * Makefile.in (objects): Add it.
2781
2782 * fn.[ch]: New files.
2783 * elt-dirs.c (fn*): Moved to fn.c.
2784 * tex-make.c, variable.c: Use the new routines.
2785 * *obstack*: No longer needed.
2786 * Makefile.in (objects): Appropriate changes.
2787
2788 Sat Jul 17 13:25:25 1993 Karl Berry (karl@cs.umb.edu)
2789
2790 * concat.c: Doc fix.
2791
2792 * pathsearch.c (search, path_search): Expand variable references.
2793
2794 * itoa.c: New file.
2795 * lib.h (itoa): Declare it.
2796 * Makefile.in (objects): Add it.
2797
2798 * lib.h (ENVVAR_SET_DEFAULT): New macro.
2799 * tex-glyph.c (kpse_find_glyph_format): Call it to set the dpi.
2800
2801 Fri Jul 16 09:10:52 1993 Karl Berry (karl@cs.umb.edu)
2802
2803 * xputenv.c: New file.
2804 * Makefile.in (objects): Add it.
2805 * lib.h (xputenv): Declare it.
2806
2807 * c-obstack.h: New file.
2808 * variable.[ch]: New files.
2809 * Makefile.in (objects): Add it.
2810
2811 * uppercasify.c: New file.
2812 * Makefile.in (objects): add it.
2813 * lib.h (uppercasify): Declare it.
2814
2815 Tue Jul 13 13:47:54 1993 Karl Berry (karl@cs.umb.edu)
2816
2817 * tex-glyph.c (kpse_find_glyph_format): Simplify path initialization.
2818 * filefmt.h: New file; add abbrevs for GF and PK inits.
2819
2820 * Makefile.in (objects): Add obstack.o and tex-make.o.
2821 * obstack.[ch]: New files from GNU.
2822 * concatn.[ch], tex-make.[ch]: New files.
2823 * init-path.c: Doc fix.
2824
2825 * elt-dirs.c: Doc fix.
2826 * readable.[ch]: Doc fixes.
2827
2828 Sun Jul 11 13:37:02 1993 Karl Berry (karl@cs.umb.edu)
2829
2830 * tex-font.h (kpse_font_format_type): Rename to kpse_file_format_type,
2831 and include the other file formats.
2832 * tex-glyph.c: Change uses.
2833
2834 Tue Jul 6 08:09:10 1993 Karl Berry (karl@cs.umb.edu)
2835
2836 * tex-font.c (kpse_fallback_font): Initialize to NULL.
2837
2838 Mon Jul 5 08:23:09 1993 Karl Berry (karl@cs.umb.edu)
2839
2840 * tex-glyph.c (try_size): Don't fill in FONT_FILE if it's null.
2841
2842 * tex-font.c (kpse_init_fallback_resolutions): Look for TEXSIZES
2843 after the program-specific *SIZES var.
2844
2845 * tex-glyph.c (kpse_find_glyph_format): Use kpse_init_path.
2846 * Makefile.in (objects): Add init_path.o.
2847 * tex-font.[ch] (kpse_override_path): Move to init-path.[ch].
2848 * init-path.[ch]: New files.
2849 * c-vararg.h: New file.
2850
2851 Sun Jul 4 11:26:17 1993 Karl Berry (karl@cs.umb.edu)
2852
2853 * tex-font.c (kpse_init_fallback_resolutions): New routine.
2854 * tex-font.h: Declare it, and companion return type.
2855
2856 Fri Jul 2 10:43:11 1993 Karl Berry (karl@cs.umb.edu)
2857
2858 * tex-glyph.c (kpse_find_glyph_format): Take first successful
2859 fontmap entry.
2860
2861 * fontmap.c (map_file_parse): Take first % on line as starting the
2862 comment, not the last.
2863
2864 * fontmap.c (map_insert): Always insert the new element.
2865
2866 Thu Jul 1 19:21:35 1993 Karl Berry (karl@cs.umb.edu)
2867
2868 * fontmap.c (map_lookup): Return a list, not a single string.
2869 (map_lookup_str): Likewise.
2870 * fontmap.h (map_lookup): Change decl.
2871 * tex-glyph.c (kpse_find_glyph_format): Change caller.
2872
2873 Sat Jun 26 11:48:36 1993 Karl Berry (karl@cs.umb.edu)
2874
2875 * tex-font.h: Doc fix.
2876
2877 Thu Jun 24 11:16:41 1993 Karl Berry (karl@cs.umb.edu)
2878
2879 * configure.in (MISSING_HEADERS): Toss in favor of HAVE_HEADERS. Sigh.
2880 Also, move all this to an include file.
2881 Change uses in several files.
2882
2883 * stat.h: Rename to c-stat.h, and change includers.
2884
2885 * Makefile.in (objects): Add tex-glyph.o.
2886 * pathsearch.[ch] (kpse_*_multi_search): New routines.
2887
2888 Sat Jun 19 11:37:18 1993 Karl Berry (karl@cs.umb.edu)
2889
2890 * str-list.c (str_list_free): New routine.
2891
2892 Fri Jun 18 13:54:08 1993 Karl Berry (karl@cs.umb.edu)
2893
2894 * fontmap.c (map_create): Rewrite to use kpse_all_path_search.
2895 Include const in various subroutines.
2896
2897 Tue Jun 15 15:58:18 1993 Karl Berry (karl@cs.umb.edu)
2898
2899 * Change <kpathsea/pathsrch.h> to pathsearch. Rename the files
2900 themselves.
2901
2902 * elt-dirs.c (cache): Copy the key into our own storage, since it
2903 comes from kpse_path_element and might get overwritten. Should we
2904 copy all the values, too?
2905
2906 Sun Jun 13 16:49:09 1993 Karl Berry (karl@cs.umb.edu)
2907
2908 * pathsearch.c (dir_list_search): Don't need to append the null
2909 here; in fact, it's wrong, since then the final list might have
2910 nulls in the middle.
2911
2912 * elt-dirs.c (dir_list_add): Correct check for new directory
2913 already ending in /.
2914
2915 Fri Jun 11 10:45:33 1993 Karl Berry (karl@cs.umb.edu)
2916
2917 * str-list.[ch]: New files.
2918 * pathsrch.c: Use it for the dir_list routines.
2919 * Many changes and new files throughout for new implementation
2920 including TeX-font-lookup routines.
2921
2922 Tue Jun 8 14:00:54 1993 Karl Berry (karl@cs.umb.edu)
2923
2924 * Most files: Change `const string' (constant pointer) to `const
2925 char *' (pointer to constant data). What a crock.
2926
2927 Mon Jun 7 09:43:21 1993 Karl Berry (karl@cs.umb.edu)
2928
2929 * debug.[ch]: New files.
2930 * config.h: Include debug.h.
2931
2932 * dir-p.c: Rename to dir.c.
2933 (dir_links): New routine.
2934
2935 * c-std.h (assert.h) [!ASSERT_H_MISSING]: Include this.
2936 * configure.in: Check for it with new macro AC_MISSING_HEADERS.
2937
2938 Thu Jun 3 10:12:12 1993 Karl Berry (karl@cs.umb.edu)
2939
2940 * dirio.h (leaf_dir_p): No longer defined; rename to dir.h.
2941 * xopendir.c, dir-p.c, pathsrch.c: Change include.
2942
2943 Mon May 31 07:49:16 1993 Karl Berry (karl@cs.umb.edu)
2944
2945 * c-std.h (EXIT_{SUCCESS,FAILURE}): Define these if they're undefined.
2946
2947 * config.h: Use <kpathsea/...> instead "...".
2948
2949 * kpathlib.h: Had #ifndef protection messed up. Rename to lib.h.
2950
2951 * c-memstr.h (index, rindex) [!index, !rindex]: Make definitions
2952 conditional.
2953
2954 Tue May 25 10:07:00 1993 Karl Berry (karl@cs.umb.edu)
2955
2956 * c-{namemx,pathmx,pathch,...}.h: Doc fixes.
2957
2958 * c-systypes.h: New file.
2959 * c-std.h: Include it.
2960
2961 * stat.h: New file.
2962 * xstat.h: Include it.
2963
2964 * configure.in (AC_HAVE_HEADERS): Test for `pwd.h'.
2965
2966 Sun May 23 19:06:22 1993 Karl Berry (karl@cs.umb.edu)
2967
2968 * pathsrch.[ch]: Doc fixes.
2969
2970 Fri May 21 11:27:54 1993 Karl Berry (karl@cs.umb.edu)
2971
2972 * line.c (free): Declare.
2973
2974 * pathsrch.c, find-suffix.c: Change caller.
2975 * c-pathch.h ({IS_,}{DIR,ENV}_SEP): Rename existing confusing
2976 definitions to these. Suggested by rocky.
2977
2978 Mon May 17 08:18:18 1993 Karl Berry (karl@cs.umb.edu)
2979
2980 * Version 0.3.
2981
2982 * pathsrch.c (expand_default): Handle doubled colon and
2983 nothing-but-colon cases.
2984
2985 * Write documentation, change Makefile accordingly.
2986
2987 Thu May 13 16:32:34 1993 Karl Berry (karl@cs.umb.edu)
2988
2989 * c-std.h (popen) [VMS]: Make decl conditional, and include
2990 <unixlib.h> and <unixio.h>.
2991
2992 Mon May 10 07:12:50 1993 Karl Berry (karl@cs.umb.edu)
2993
2994 * Version 0.2.
2995
2996 * version.c: Put in placeholder.
2997
2998 Sun May 9 10:42:34 1993 Karl Berry (karl@cs.umb.edu)
2999
3000 * config.h (c-auto.h): Use <...> instead of "...".
3001
3002 Tue May 4 14:54:41 1993 Karl Berry (karl@cs.umb.edu)
3003
3004 * Makefile.in (info check dvi): New targets (that do nothing).
3005
3006 Mon May 3 13:46:17 1993 Karl Berry (karl@claude.cs.umb.edu)
3007
3008 * Version 0.1.
3009
3010 * Use KPATHSEARCH_ prefix for various headers' cpp protections.
3011
3012 Sun May 2 10:28:25 1993 Karl Berry (karl@cs.umb.edu)
3013
3014 * Makefile.in (dist): Depend on TAGS, and put it in the dist.
3015
3016 * Makefile.in (c-auto.h.in): Remove extra $(srcdir).
3017
3018 Sun Apr 25 11:22:12 1993 Karl Berry (karl@cs.umb.edu)
3019
3020 * pathsrch.h: Include c-proto.h.
3021
3022 * make-suffix.c: New file.
3023 * Makefile.in (objects): Add the .o.
3024
3025 * file-p.c: Use the SAME_FILE_P macro.
3026
3027 * fontmap.h: Include c-proto.h and types.h.
3028
3029 * lib.h: Rename to kpathlib.h.
3030 * config.h: Include changed.
3031
3032 * c-proto.h, c-std.h: Doc fix.
3033
3034 * c-limits.h [LIMITS_H_MISSING]: Conditionalize include of c-std.h.
3035
3036 * xstat.h: Include c-std.h.
3037
3038 * Makefile.in (c-auto.h.in): Add unused warning to top.
3039
3040 * dirio.h: Include c-proto.h and types.h.
3041
3042 Fri Apr 23 16:11:13 1993 Karl Berry (karl@cs.umb.edu)
3043
3044 * line.c: Don't include config.h, just declare xmalloc and
3045 xrealloc explicitly.
3046
3047 * pathsrch.c: paths.h need not be included.
3048
3049 * Created.