beta-0.89.2
[luatex.git] / source / texk / kpathsea / ChangeLog
blob82b10a2ba0e1006fc95b3c8e09e8062aefbb5ace
1 2016-02-03  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
3         * win32lib.[ch], mingw32.[ch]: Define a function
4         double win32_floor (double x), since floor is defined in cpascal.h.
6 2015-12-29  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
8         * win32lib.h: Update (w32 only).
10 2015-00-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
12         * kpsewhich.c (USGAE): Say "list shown by -help-formats".
14 2015-07-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
16         * Makefile.am: Better dependencies for 'make check'.
18 2015-06-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
20         * configure.ac: Define WEB2CVERSION for WIN32 programs.
22 2015-06-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
24         * version.ac: Update version number 6.2.1 => 6.2.2dev.
25         * configure.ac: Drop test for isascii (now in KPSE_COMMON).
27 2015-05-21  Karl Berry  <karl@tug.org>
29         * TL'15.
31 2015-05-03  Karl Berry  <karl@tug.org>
33         * kpsewhich.c: copyright 2015.
34         * doc/kpathsea.texi (version, month-year): now 6.2.1, May 2015.
35         (Auxiliary tasks): add --help-formats, sort.
36         (Supported file formats): add bltxml, clua, ris.
37         * NEWS: mention --help-formats.
39 2015-05-03  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
41         * file-p.c: Implement same_file_p () for windows.
43 2015-04-17  Peter Breitenlohner  <peb@mppmu.mpg.de>
45         * configure.ac: Test if isascii is declared.
46         * c-ctype.h: Correctly define isascii, if not declared.
48 2015-04-14  Norbert Preining  <norbert@preining.info>
50         * mktexlsr (treefile): switch back to hard-coded path, as
51         indeed it seems there are several systems without support for
52         mktemp --tmpdir, just mktemp. TL2015 pretest emails.
54 2015-04-12  Karl Berry  <karl@tug.org>
56         * texmf.cnf: update for TL'15.
57         (shell_escape_commands): include extractbb, fingers crossed.
59 2015-04-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
61         * version.ac: 6.2.1 (without the dev) for 2015 pretest.
63 2015-03-25  Karl Berry  <karl@tug.org>
65         * mktexlsr (treefile): use shell mktemp; patch from Debian
66         via tlbuild mail from Norbert, 6 Mar 2015 09:13:06.
67         Per Nelson Beebe, the program is available on a wide variety of
68         systems nowadays, excluding only SGI IRIX MIPS, which we have
69         not built binaries for in several years.
70         (tlbuild reply, 6 Mar 2015 06:22:21)
72 2015-03-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
74         * Makefile.am, kpathsea.pc.in: Install <kpathsea/c-auto.h> under
75         ${libdir}.
77 2015-03-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
79         * configure.ac: Drop checks for strcasecmp, strtol, and strstr.
80         * lib.h: Drop the strstr() prototype.
81         * Makefile.am: No need to distribute the replacement functions.
83 2014-12-13  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
85         * texmf.cnf: Sync with master which is changed by Norbert.
87 2014-12-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
89         * Makefile.am [kpathsea.h]: Improved output for silent rules.
91 2014-12-05  Karl Berry  <karl@tug.org>
93         * kpsewhich.c (help_formats): new fn for new option --help-formats.
94         (help_message): split off code from here.
95         (USAGE): document it.
96         (read_command_line): recognize it.
97         Suggestion from Julian Gilbey, tex-k 4 Dec 2014 13:34:23.
99 2014-10-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
101         * db.c (db_names): Use initialized non-const strings to avoid warning.
103 2014-10-19  Karl Berry  <karl@tug.org>
105         * db.c (db_names): list DB_NAME_LC first, and list both always,
106         dropping WIN32 conditional.
107         (init_db): check at runtime if ls-R and ls-R are same_file_p,
108         and only read one on any system, not just hardwiring Windows.
109         Output debugging lines.  Basic patch from Adam Maxwell
110         (since MacOSX now uses a case-preserving filesystem).
111         
112         * db.c (DB_HASH_SIZE): increase per current texmf-dist/ls-R.
113         
114 2014-10-17  Karl Berry  <karl@tug.org>
116         * line.c (getc, FLOCKFILE, FUNLOCKFILE): #define to getc_unlocked, etc.
117         (get_line): call them, so we lock once per call instead of
118         once per character read.  Change from Adam Maxwell <amaxwell@mac.com>.
119         https://email.esm.psu.edu/pipermail/macosx-tex/2014-October/053026.html
121 2014-09-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
123         * texmf.cnf (TEX.upmpost): Added.
125 2014-08-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
127         * knj.c (win32_fputs): Drop unused variables.
129 2014-08-22  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
131         * knj.c: Update fsyscp_popen().
133 2014-08-22  TANAKA Takuji  <KXD02663@nifty.ne.jp>
135         * knj.[ch], c-std.h, config.h: Add a new function win32_vfprintf()
136         (Windows only)
138 2014-07-22  Karl Berry  <karl@tug.org>
140         * tex-file.h,
141         * tex-file.c (kpathsea_init_format_return_varlist): new fn
142         to expose list of environment/config variable names considered.
143         * kpsewhich.c (help_message): use it.
145 2014-07-18  Karl Berry  <karl@tug.org>
147         * mktex.opt: don't basename-ify the program name, that's
148         potentially useful information.
149         
150         * mktexdir,
151         * mktexlsr, 
152         * mktexmf,
153         * mktexnam,
154         * mktexpk,
155         * mktextfm,
156         * mktexupd: prepend to PATH via a simple method for Unix
157         (but leave the complicated DOS version in mktexlsr).
159 2014-07-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
161         * tex-make.c, win32lib.c: Replace the deprecated spawnvp() by
162         _spawnvp(), they differ for 64-bit MinGW.
164 2014-07-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
166         * debug.c, hash.c, knj.c, tex-make.c: [WIN64] Avoid cast from
167         pointer to integer of different size.
169 2014-06-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
171         * mingw32.h: Require WINVER >= 0x0500.
173 2014-06-20  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
175         * win32lib.c: Fix a potential bug (w32 only).
177 2014-06-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
179         * c-ctype.h: Avoid useless char subscript warnings.
181 2014-06-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
183         * Makefile.am (kpathsea.h): Drop c-auto.h, c-ctype.h, c-errno.h,
184         and more from the list of files; they are included via others.
185         * version.ac: Update version number 6.2.0 => 6.2.1dev.
187 2014-05-07  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
189         * win32lib.c: Update win32_popen() (w32 only).
191 2014-05-05  Karl Berry  <karl@tug.org>
193         * doc/kpathsea.texi,
194         * doc/unixtex.texi,
195         * README,
196         * PROJECTS: omit old information about building and installing;
197         general updates (though plenty more could be done).
198         
199         * BUGS,
200         * doc/bugs.texi,
201         * doc/hier.texi,
202         * doc/install.texi: remove.
203         * Makefile.am,
204         * doc/Makefile.am: update accordingly.
206 2014-04-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
208         * Makefile.am (normal_headers): Add simpletypes.h.
209         * simpletypes.h: Don't '#include <kpathsea/simpletypes.h>'.
211 2014-04-29  Karl Berry  <karl@tug.org>
213         * simpletypes.h: new file, defining just boolean, string, address, etc.
214         * pathsearch.h: restore #include of str-llist.h before types.h,
215         as it should be.
216         * str-llist.h: #include simpletypes.h instead of types.h.
217         * types.h: #include simpletypes.h.
219 2014-04-22  Karl Berry  <karl@tug.org>
221         * texmf.cnf (guess_input_kanji_encoding): set to 1,
222         per Akira and Norbert.
224 2014-04-17  Karl Berry  <karl@tug.org>
226         * version.ac: 6.2.0 (without the dev) for 2014 pretest.
227         * NEWS,
228         * texmf.cnf,
229         * kpsewhich.c: 2014.
231         * texmf.cnf (TEXINPUTS.pdfx{latex,mex,tex}): this engine has
232         not existed for a long time.  Remove.
233         (TEXINPUTS.luajittex): same as .luatex.
235 2014-04-09  Karl Berry  <karl@tug.org>
237         * pathsearch.h: with deep regret, #include types.h before
238         str-llist.h, since otherwise str_llist_type is not defined
239         in its use within types.h and a simple #include
240         <kpathsea/pathsearch.h> fails.  Reported by Norman Gray,
241         tex-k 14 Apr 2013 12:23:50,
242         http://tug.org/pipermail/tex-k/2013-April/002496.html
244 2014-04-09  Luigi Scarso  <luigi.scarso@gmail.com>
246         * mingw32.h [MinGW64]: Avoid warning due to redefining popen.
248 2014-03-21  Peter Breitenlohner  <peb@mppmu.mpg.de>
250         * Makefile.am, configure.ac, getopt.h: Revert previous change.
251         Cygwin system getopt() is incompatible with the GNU version.
253 2014-03-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
255         * Makefile.am, configure.ac: Use Cygwin system getopt().
256         * getopt.h: Avoid to redeclare the getopt API.
258 2014-02-08  TANAKA Takuji  <KXD02663@nifty.ne.jp>
260         * knj.[ch]: Add a new function win32_putc().
261         (Windows only)
263 2014-01-25  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
265         * kpsewhich.c : [WIN32 only] progname should be kpse->program_name
266         since progname can be NULL.
268 2014-01-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
270         * knj.c: Drop unused variable (avoid warning).
272 2014-01-25  TANAKA Takuji  <KXD02663@nifty.ne.jp>
274         * knj.[ch]: Add a new function win32_getc(), win32_ungetc(),
275         win32_fputs(), and win32_puts(). (Windows only)
276         * kpsewhich.c, pathsearch.c, line.c:
277         Allow Unicode file name in kpsewhich. (Windows only)
278         * knj.c: Fix typo in error message. (Windows only)
280 2014-01-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
282         * knj.c: Add #include <wchar.h> as required for MinGW32.
283         Cast arg3 of fsyscp_spawnvp() to avoid warning.
285 2014-01-14  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
287         * knj.[ch]: Add new functions fsyscp_spawnvp(), and fsyscp_system().
288         (Windows only)
290 2014-01-13  TANAKA Takuji  <KXD02663@nifty.ne.jp>
292         * knj.[ch]: Add a new function fsyscp_popen(). (Windows only)
294 2014-01-08  TANAKA Takuji  <KXD02663@nifty.ne.jp>
296         * knj.c: Allow encoding name "" for non-utf8 command line.
297         Warn if unknown encoding. (Windows only)
299 2014-01-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
301         * knj.c: Keep non-utf8 command line.  Avoid compiler warnings.
303 2014-01-01  TANAKA Takuji  <KXD02663@nifty.ne.jp>
305         * knj.c, knj.h: Use cast for ASCII string conversion
306         from char to wchar_t. (Windows only)
308 2013-12-31  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
310         * knj.h: Remove #include <kpathsea/types.h> because Visual Studio 2010
311         cannot compile Kpathsea.
313 2013-12-31  TANAKA Takuji  <KXD02663@nifty.ne.jp>
315         * knj.c, knj.h: Add new functions fsyscp_fopen() and
316         get_command_line_args_utf8() (Windows only)
317         * progname.c: Refine initialization for KANJI (Windows only)
319 2013-12-03  TANAKA Takuji  <KXD02663@nifty.ne.jp>
321         * elt-dirs.c, knj.c, knj.h, progname.c, readable.c: Support KANJI
322         file name in (e)upTeX and XeTeX on Windows.
324 2013-09-22  Karl Berry  <karl@tug.org>
326         * mktexlsr: output normal msgs to stdout, not stderr.
327         Suggestion from Scott Kostyshak, tex-live mail 29 Jun 2013 04:42:10.
329 2013-08-17  Peter Breitenlohner  <peb@mppmu.mpg.de>
331         * configure.ac (AH_TOP): Simplify the generation of c-auto.h.
333 2013-08-14  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
335         * win32lib.c, mingw32.c (texlive_gs_init()): Fix a bug. 'n' and 'f' can
336         be drive letters.
338 2013-08-12  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
340         * win32lib.c, mingw32.c (texlive_gs_init()): Do nothing if
341         TEXLIVE_WINDOWS_EXTERNAL_GS is defined and its value is not
342         '0', 'n', or 'f'.
344 2013-08-07  Karl Berry  <karl@tug.org>
346         * line.c (read_line): only at EOF if loc==0, i.e., do not ignore a
347         non-terminated last "line" of a file; distressingly common on Windows.
348         * Makefile.am (TESTS): add cnfnewline.test;
349         move all *.test to tests/ subdir.
350         (EXTRA_DIST): add tests/cnfnewline/texmf.cnf, a file without a
351         final newline.
353         * kpsewhich.test: also check that we can read the environment
354         variable that we set.
356 2013-07-07  TANAKA Takuji  <KXD02663@nifty.ne.jp>
358         * knj.c and progname.c: Generalize the method to avoid the 0x5c problem
359         in path names to the cases CP936 (simplified Chinese) and CP950
360         (traditional Chinese) on Windows system.
362 2013-07-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
364         * Makefile.am: Use ../../am/rebuild.am.
366 2013-07-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
368         * Makefile.am, man/Makefile.am:
369         Moved Makefile fragments to ../../am/.
371 2013-07-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
373         * c-memstr.h: Drop mapping of BSD => SYSV/ANSI string functions.
375 2013-06-25  Karl Berry  <karl@tug.org>
377         * texmf.cnf (guess_input_kanji_encoding): config variable,
378         off by default.  Per Akira.
380 2013-06-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
382         * config.h: Remove definition of EXEEXT, comes from c-auto.h.
384 2013-06-25  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
386         * config.h: define EXEEXT if DOSISH is defined.
388         * win32lib.c: Unify two win32lib.c's in w32 sources.
390         * progname.c, texmf.cnf: Define SELFAUTOGRANDPARENT to give a
391         robust TEXMFLOCAL.
393 2013-06-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
395         * configure.ac: New conditional have_EXEEXT.
396         * Makefile.am (libkpathsea_la_CPPFLAGS): Define EXEEXT for
397         systems with a non-vanishing executable extension.
398         * progname.[ch]: New function kpse_program_basename().
399         * version.ac: Update version number 6.1.1 => 6.2.0dev.
401         Adapt kpathsea headers to C++.
402         * absolute.h, cnf.h, concatn.h, config.h, debug.h, expand.h,
403         hash.h, knj.h, lib.h, line.h, magstep.h, mingw32.h,
404         pathsearch.h, proginit.h, progname.h, readable.h, str-list.h,
405         str-llist.h, tex-file.h, tex-glyph.h, tex-hush.h, tex-make.h,
406         types.h, variable.h, version.h, win32lib.h: When compiling C++
407         surround all declarations by 'extern "C" {' ... '}'.
409 2013-06-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
411         * cnf.c, kpsewhich.c: Drop redundant <kpathsea/progname.h>
412         (in <kpathsea/config.h>).
414 2013-06-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
416         * xrealloc.c: Drop redundant extern (in <kpathsea/config.h>).
418 2013-06-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
420         * Makefile.am (*_la_LDFLAGS): Add -bindir for MinGW DLL.
422         * win32lib.h.mugica (removed): Unused and unmaintained.
423         * Makefile.am: Adapt.
425 2013-05-30  Karl Berry  <karl@tug.org>
426         
427         * Version 6.1.1 for TeX Live 2013.
429 2013-04-15  Karl Berry  <karl@tug.org>
431         * texmf.cnf (TEXINPUTS.lamed): there is no lamed directory and
432         never has been, as far as I can tell, so don't look in it.
434         * texmf.cnf (TEXMFCACHE): new variable for lualatex font cache;
435         same value as ConTeXt MkIV's variable of the same name in
436         texmfcnf.lua.
438 2013-04-10  Karl Berry  <karl@tug.org>
440         * texmf.cnf (TEXMFCNF): still look in texmf/ subdirs after all;
441         needed for non-TL ConTeXt and likely others.  Report from
442         Mojca/Hans.
444 2013-04-05  Karl Berry  <karl@tug.org>
446         * other files: 2013 in copyright year list.
448         * kpsewhich.c,
449         * NEWS,
450         * version.ac: 6.1.1 and 2013 to prepare for TL'13 pretest.
452         * texmf.cnf (TEXMFCNF): likewise prepare to use texmf-dist instead
453         of texmf.  From Akira.
455 2013-04-03  Karl Berry  <karl@tug.org>
457         * texmf.cnf (TEXMFMAIN): make it the same as $TEXMFDIST,
458         and do not use it.  That is, as of TL 2013, everything will be in
459         texmf-dist, not split between texmf and texmf-dist.  See the
460         thread including
461         http://tug.org/mailman/htdig/tex-live/2013-January/032888.html.
462         
463         Also change 2012 to 2013.
465 2013-03-26  Karl Berry  <karl@tug.org>
467         * tex-make.c (kpathsea_make_tex): specify fn name in warnings
468         about invalid fontnames.
470 2013-03-14  Karl Berry  <karl@tug.org>
472         * texmf.cnf (save_size): increase to 100000 (from 50000),
473         for perldoc-all.texi (http://www.gnu.org/software/perl/manual).
475 2013-02-08  Peter Breitenlohner  <peb@mppmu.mpg.de>
477         * Makefile.am (web2cdir): Change texmf => texmf-dist.
479 2013-01-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
481         * configure.ac: Use KPSE_COND_MINGW32.
483 2013-01-29  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
485         * progname.c, types.h, win32lib.c, win32lib.h: Simplify win32_popen.
487 2012-12-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
489         * Makefile.am (kpathsea.h): Enable silent rules.
491 2012-12-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
493         Resolve remaining const related problems.
494         * db.[ch] (kpathsea_db_search_list): Make arg3 non-const.
495         * pathsearch.[ch] (kpathsea_path_search_list_generic,
496         dir_list_search_list): Make arg3 non-const.
497         * tex-file.c: Remove casts 'string*' => 'const_string*'.
498         * readable.[ch] (kpathsea_readable_file): Make arg non-const.
499         Include code to truncate too-long filename components.
501         * truncate.[ch] (kpathsea_truncate_filename): Files removed.
502         * Makefile.am: Drop truncate.c and truncate.h.
504 2012-12-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
506         Somewhat disentangle path search functions.
507         * db.c (kpathsea_init_db):
508         Directly call kpathsea_path_search_list_generic()
509         instead of the kpathsea_all_path_search_list() wrapper.
510         * pathsearch.c: Rename the static function search_list() into
511         the non-static kpathsea_path_search_list_generic() and drop
512         the former kpathsea_path_search_list_generic() wrapper.
513         * pathsearch.[ch]: Drop the now unused *_path_search_list().
515 2012-12-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
517         Resolve some const related problems.
518         * str-list.[ch]: Add cstr_list_type and cstr_list_add() for
519         const strings.  Define [c]str_list_init() as static inline.
520         * kpathsea.c: Move definition of KPATHSEA_CAN_FREE from here ...
521         * hash.h: ... to here.
522         * hash.[ch]: Define hash_free() only if KPATHSEA_CAN_FREE!=0.
523         (hash_lookup): Change return type 'string*' => 'const_string*'.
524         * cnf.[ch] (kpathsea_cnf_get, kpse_cnf_get):
525         Change return type 'string*' => 'const_string*'.
526         * dir.c (kpathsea_dir_links): Adapt.
527         * rm-suffix.c (remove_suffix): Adapt.
528         * db.c, fontmap.c: Remove casts 'string*' => 'const_string*'.   
530 2012-12-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
532         * mingw32.c: Remove look_for_cmd().
534 2012-12-10  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
536         * win32lib.c: remove look_for_cmd().
538 2012-12-08  Peter Breitenlohner  <peb@mppmu.mpg.de>
540         * mingw32.c (look_for_cmd): Do not compute unused value.
541         * win32lib.c (look_for_cmd, kpathsea_win32_popen): Same.
543 2012-11-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
545         * texmf.cnf: Increase main_memory, font_mem_size, hash_extra,
546         and pool_size.
548 2012-11-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
550         * Makefile.am: Avoid use of deprecated INCLUDES.
552 2012-10-03  Peter Breitenlohner  <peb@mppmu.mpg.de>
554         * mingw32.c: use stat in static int is_dir ().
556 2012-10-02  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
558         * win32lib.c: use stat in static int is_dir ().
560 2012-10-01  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
562         * win32lib.c: remove _osver since it is obsolete.
564 2012-09-28  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
566         * win32lib.h: remove definition of mkdir.
567         * c-proto.h: introduce NO_KPSE_DLL as in getopt.h.
569 2012-08-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
571         * c-std.h: Define M_PI if not defined by <math.h> (old MSVC).
573 2012-08-08  Peter Breitenlohner  <peb@mppmu.mpg.de>
575         * Makefile.am: Use ../am/bin_links.am.
577 2012-08-02  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
579         * win32lib.h: remove definition of pipe.
581 2012-08-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
583         * configure.ac: Bail out for a badly broken snprintf()
584         (hopefully this will not happen).
585         Check if we need (v)snprintf wrapper functions.
586         * config.h: If needed, declare (v)snprintf wrapper functions.
587         * progname.c (kpathsea_set_program_name): Check snprintf sanity.
589 2012-07-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
591         * configure.ac: Add AC_CHECK_SIZEOF([long]).
592         * types.h: #include <inttypes.h> and <stdint.h> if they exist.
593         If necessary #define PRId64 & Co.
595 2012-07-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
597         * getopt.c [WIN32 && ! __CYGWIN__]: Use __CYGWIN__ instead of
598         __CYGWIN32__ which is deprecated and may be removed.
599         Mail from Ken Brown <kbrow1i@gmail.com>, Tue, 24 Jul 2012.
601 2012-07-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
603         * mingw32.h (win32_popen): Static inline wrapper for _popen()
604         to use always binary mode.
606 2012-07-23  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
608         * win32lib.c: rewrite kpathsea_win32_popen to use always binary
609         mode.
611 2012-07-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
613         * Makefile.am (libkpathsea_la_SOURCES): Skip compilation of
614         xfseeko.c and xftello.c for MSVC.
615         * win32lib.h: Drop xfseeko() and xftello() prototypes, they will
616         subsequently be defined in lib.h.
618 2012-07-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
620         * version.ac: Update version number 6.1.0 => 6.1.1dev.
622 2012-05-29  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
624         * win32lib.c: rewrite win32_system.
626 2012-05-22  Karl Berry  <karl@tug.org>
628         * mktexmf: test $name for csso12*, not $rootname.
629         From Debian via Norbert, 21 May 2012 10:11:08.
631 2012-05-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
633         * cnf.[ch]: Add KPSEDLL to kpathsea_cnf_get(), and reintroduce
634         kpse_cnf_get().
635         * Makefile.am: Do install cnf.h.
637 2012-05-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
639         * Makefile.am (rebuild): Depend on 'all-am' instead of 'all' to
640         avoid an infinite loop.
642 2012-05-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
644         * win32lib.[ch]: Copyright 2012.
646 2012-05-05  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
648         * win32lib.c: rewrite xftell64 for W32.
650 2012-05-04  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
652         * win32lib.c: rewrite xftell64 and xfseek64 for W32.
654 2012-04-30  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
656         * win32lib.c: further rewrite win32_system().
658 2012-04-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
660         * Makefile.am (rebuild): Touch libkpathsea.la to avoid an
661         infinite loop when only mingw32.h or win32lib.h is changed.
663 2012-04-23  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
665         * win32lib.h, win32lib.c: rewrite win32_system().
667 2012-04-17  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
669         * texmf.cnf: erase "ptexgeneric".
671 2012-04-16  Karl Berry  <karl@tug.org>
673         * texmf.cnf (TEXMFCNF): spell out every directory explicitly,
674         so we can include $SELFAUTOPARENT/../texmf-local/web2c.
676 2012-04-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
678         * cnf.[ch]: Drop KPSEDLL from kpathsea_cnf_get(), and remove
679         kpse_cnf_get().
680         * db.h: Drop KPSEDLL from kpathsea_db_insert().
681         * Makefile.am: Do not install cnf.h.
682         * mingw32.h: Add a copyright statement.
684         * configure.ac: Subst tex_live_version from ../../version.ac
685         as WEB2CVERSION for WIN32 programs.
687 2012-04-09  Karl Berry  <karl@tug.org>
689         * getopt.h (getopt) [!__cplusplus]: do not declare when compiling
690         with C++, since g++ 4.7.0 introduced an incompatible declaration.
691         http://bugs.debian.org/667392
693         * c-std.h (popen, pclose) [!VMS]: remove these decls to avoid
694         conflicts, hoping they are now always in the system libraries.
695         http://bugs.debian.org/64524
697 2012-04-07  Karl Berry  <karl@tug.org>
699         * texmf.cnf (glob_str_size): increase from 5000 to 20000 per Akira,
700         06 Apr 2012 10:25:18.
702 2012-04-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
704         * c-unistd.h: Declare getopt() (via  <kpathsea/getopt.h>) only
705         for Mingw and Cygwin; for other systems using the GNU C library
706         g++-4.7 might choke on incompatible exception specifications.
708 2012-03-11  Karl Berry  <karl@tug.org>
710         * *.c: prepend kpathsea: to warnings.
712 2012-03-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
714         Avoid 'the address of XXX will always evaluate as true' warnings.
715         * lib.h (STREQ): Test '(s) != NULL' instead of '(s)'.
716         Gcc >=4.3 produces identical code but -Wall yields no warning.
718 2012-03-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
720         * c-unistd.h: Declare getopt() (via  <kpathsea/getopt.h>) but
721         not getopt_long().
723         * getopt.h: With __need_getopt declare only getopt() but not
724         getopt_long() (with 'struct option').
726         * getopt.[ch]: Drop pre-ANSI C non-prototype declarations.
728 2012-02-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
730         * c-unistd.h [CYGWIN]: Explicitly #include <kpathsea/getopt.h>
731         such that <getopt.h> from Cygwin will be skipped.
733 2012-02-27  Ken Brown  <kbrow1i@gmail.com>
735         * getopt.h: Cygwin requires getopt() prototype.
737 2011-12-22  Karl Berry  <karl@tug.org>
739         * texmf.cnf (TEX.pmpost, TEXINPUTS.(e)up(la)tex): new definitions,
740         from Norbert.
742 2011-12-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
744         * Makefile.am: Replace ${prefix}/texmf => $(datarootdir)/texmf.
746 2011-10-27  Karl Berry  <karl@tug.org>
748         * texmf.cnf (FONTCONFIG_*): doc+formatting fix.
750 2011-10-06  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
752         * win32lib.c, win32lib.h: use const char * in system() and popen().
754 2011-09-30  Karl Berry  <karl@tug.org>
756         * types.h (kpse_{ris,bltxml}_format): new types.
757         * tex-file.c ({RIS,BLTXML}_ENVS): new defines.
758         (kpse_init_format): initialize them.
759         * texmf.cnf ({RIS,BLTXML}INPUTS): new definitions.
760         Request from Phil Kime, tex-k 25 Sep 2011 16:46:07.
762 2011-08-28  Karl Berry  <karl@tug.org>
764         * texmf.cnf (LUAINPUTS.lualatex, LUAINPUTS.dvilualatex): new defns.
765         (LUAINPUTS): duplicate value of TEXINPUTS.luatex, instead
766         of using $TEXINPUTS.
767         Report from Herbert Voss, 15 Aug 2011 23:53:45,
768         among others.
770 2011-08-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
772         * version.ac: Update version number 6.0.2dev => 6.1.0dev.
774 2011-08-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
776         * Makefile.am (SUBDIRS): Add win32 to build C programs from
777         Akira's W32TeX as WIN32 replacements for the shell scripts.
779 2011-08-08  Peter Breitenlohner  <peb@mppmu.mpg.de>
781         * progname.c (fix_selfdir): Simplified to not modify arg.
782         (remove_dots): Somewhat clarify the code (suggested by Karl).
783         * progname.h [WIN32]: Don't declare {kpathsea,kpse)_selfdir().
785         * progname.c [TEST]: Update and extend the test program.
786         * Makefile.am (progname-test): Add rules to build the standalone
787         test program.
789 2011-08-08  Karl Berry  <karl@tug.org>
791         * cnf-to-paths.awk: preserve values starting with /,
792         so distro maintainers can edit texmf.cnf with absolute
793         paths and not have them replaced with /nonesuch.
794         Suggestion from Norbert.
796 2011-08-05  Karl Berry  <karl@tug.org>
798         * dir.c,
799         * getopt.c,
800         * hash.h,
801         * pathsearch.h,
802         * progname.h,
803         * truncate.h: copyright 2011.
805 2011-08-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
807         * cnf.c, fontmap.c: Do not #include <kpathsea/recorder.h>.
808         * Makefile.am (kpseinclude_HEADERS): Remove recorder.h.
809         * recorder.h (removed): Empty file.
811         * Makefile.am: Do not install kpathsea internal headers.
813         * xdirtest.c: Additional test data.
815 2011-08-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
817         More diffs between TeX Live and W32TeX.
818         * xbasename.c: Test for 2-Byte Kanji (CP 932, SJIS) codes and
819         for Unc names.
820         * xdirname.c: Test for 2-Byte Kanji (CP 932, SJIS) codes and
821         slashify the result.
823         * xdirtest.c (new): Standalone program to test xdirname() and
824         xbasename(), based on code moved to here ...
825         * xdirname.c [TEST]: ... from here.
827 2011-08-03  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
829         * db.c (db_build): No need to slashify lines from db_file.
831 2011-08-03  Peter Breitenlohner  <peb@mppmu.mpg.de>
833         * mingw32.[ch] (dostounix_filename): Remove unused function.
834         (texlive_gs_init): New function copied from win32lib.[ch].
836 2011-08-03  Peter Breitenlohner  <peb@mppmu.mpg.de>
838         More diffs between TeX Live and W32TeX.
839         * db.c (ignore_dir_p, db_build, match),
840         kpsewhich.c (subdir_match): Slashify and test for 2-Byte Kanji
841         (CP 932, SJIS) codes.
843 2011-08-03  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
845         * win32lib.h: #include <direct.h> for _getcwd.
847 2011-08-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
849         Unexport kpathsea internal functions, remove unused ones.
850         * db.[ch] (kpse_db_insert, kpse_init_db, kpse_db_search,
851         kpse_db_search_list): All removed.
852         * default.h (kpathsea_expand_default): Internal use only.
853         * default.h, kdefault.c (kpse_expand_default): Removed.
854         * elt-dirs.c (kpse_normalize_path, kpse_element_dirs): Removed.
855         * expand.[ch] (kpathsea_expand): Internal use only.
856         (kpse_expand): Removed.
857         * fn.h (fn_init, fn_copy0, fn_free, fn_1grow, fn_grow,
858         fn_str_grow, fn_shrink_to): ALL internal use only.
859         * hash.h (hash_insert_normalized): Internal use only.
860         * path-elt.c (kpse_path_element): Removed.
861         * pathsearch.[ch] (kpathsea_path_element, kpathsea_element_dirs,
862         kpathsea_path_search_list, kpathsea_path_search_list_generic,
863         kpathsea_all_path_search_list): Internal use only.
864         (kpse_path_element, kpse_filename_component,
865         kpse_normalize_path, kpse_element_dirs, kpse_path_search_list,
866         kpse_path_search_list_generic, kpse_all_path_search_list):
867         Removed.
868         * fontmap.h, tilde.h, truncate.h, xstat.h: Whole files internal
869         use only.
871 2011-08-02  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
873         * win32lib.h: follow mingw32.h for boolean and move definitions
874         for win32 functions from lib.h.
875         * win32lib.c: change definitions of xfseek64 and xftell64 to match
876         with xfseeko and xftello.
878 2011-08-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
880         More diffs between TeX Live and W32TeX.
881         * elt-dirs.c (dir_list_add, do_subdir, expand_elt): Replace
882         IS_DIR_SEP by IS_DIR_SEP_CH.
884         * getopt.h: Add (non-ANSI) declaration for getopt().
885         * mingw32.h: #define off_t as off64_t for ftello64 and fseeko64.
887 2011-08-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
889         * win32lib.h.mugica: Renamed from win32lib.h.
890         * win32lib.[ch]: New files, yet to be filled in.
892         * knj.c (is_cp932_system): No KPSEDLL in knj.c, only in knj.h.
894 2011-07-31  Peter Breitenlohner  <peb@mppmu.mpg.de>
896         More diffs between TeX Live and W32TeX.
897         * c-pathch.h: IS_DIR_SEP_CH macro to be used with `slashified'
898         filenames without need to test for 2-Byte Kanji codes.
900         * elt-dirs.c (kpathsea_normalize_path): Slashify, reformulate,
901         and test for 2-Byte Kanji (CP 932, SJIS) codes.
902         (kpathsea_element_dirs): First call kpathsea_normalize_path()
903         which might modify `elt' and then test for cached answer.
905         * progname.c: Make sure SELFAUTO* is not just / only for WIN32.
907 2011-07-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
909         * dir.c (kpathsea_dir_p, dir_p), lib.h: Unconstify string parms.
910         * elt-dirs.c (dir_list_add, checked_dir_list_add, do_subdir,
911         expand_elt): Unconstify string parms and local vars.
912         * progname.c (kpathsea_selfdir): Don't uselessly initialize ret.
914         * mingw32.c: #include <kpathsea/c-pathch.h>.
915         * mingw32.h [IS_DIR_SEP, IS_DEVICE_SEP, IS_UNC_NAME]: Do not
916         duplicate them here, use definitions from c-pathch.h.
918 2011-07-29  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
920         * tilde.c [WIN32]: Use kpathsea_getpwnam().
922 2011-07-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
924         More diffs between TeX Live and W32TeX.
925         * db.c, find-suffix.c, xbasename.c:
926         Reformulate and test for 2-Byte Kanji (CP 932, SJIS) codes.
928         * expand.c, make-suffix.c, tilde.c: Slashify, reformulate,
929         and test for 2-Byte Kanji (CP 932, SJIS) codes.
931         * progname.c: Make sure SELFAUTO{LOC,DIR,PARENT} is not just /.
933         * types.h (kpathsea_instance): Merge TL and W32TeX.
935 2011-07-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
937         More diffs between TeX Live and W32TeX.
938         * progname.c (kpathsea_set_program_name): Merge TL and W32TeX.
940 2011-07-26  Peter Breitenlohner  <peb@mppmu.mpg.de>
942         More diffs between TeX Live and W32TeX.
943         * knj.[ch]: New files from Akira's W32TeX.
944         * progname.c (kpathsea_set_program_name): Set is_cp932_system.
945         * Makefile.am, config.h: Adapt.
947         * db.c, expand.c, hash, path-elt.c, tilde.c, truncate.c,
948         variable.c, xdirname.c, xgetcwd.c:
949         Test for 2-Byte Kanji (CP 932, SJIS) codes.
951         * db.c (kpathsea_db_search, kpathsea_db_search_list),
952         tex-file.c (kpathsea_set_suffixes_va_list, init_maketex):
953         Cast arg to `void *' because MSVC warns for a `const_string *'
954         arg when expecting `void *'.
956         * config.h, db.c, hash.c: #define and use TRANSFORM.
958 2011-07-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
960         Minor changes to reduce diffs between TeX Live and W32TeX.
961         * c-ctype.h [WIN32]: Never #define isascii.
962         * c-fopen.h: Always write text files with Unix line endings.
963         * tex-glyph.c (bitmap_specs) [WIN32]: Add DOS_BITMAP_SPEC.
964         * win32lib.h: #define strncasecmp as _strnicmp.
965         * readable.c: Replace #elif WIN32 => #elif defined (WIN32).
966         * magstep.c, pathsearch.h, xftell.c: Adjust whitespace.
968 2011-07-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
970         * kpathsea.c, progname.c, tex-file.c, types.h:
971         Drop #if defined(__MINGW32__) already implied by defined(WIN32).
973         * kpathsea.c (kpathsea_finish): Free suffixlist.
975 2011-07-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
977         * version.ac: New file defining the kpathsea version.
978         Update version number 6.0.1 => 6.0.2dev.
979         * configure.ac: Adapt. Use KPSE_LT_VERSION.
981 2011-07-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
983         * ac/web2c.ac renamed into ac/mktex.ac.
984         * ac/withenable.ac, configure.ac: web2c.ac => mktex.ac.
985         * configure.ac: KPSE_WEB2C_PREPARE => KPSE_MKTEX_PREPARE.
987 2011-06-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
989         * tex-make.c [WIN32]: Do not #include <kpathsea/win32lib.h>
990         from here (already done from config.h).
992 2011-06-28  Karl Berry  <karl@tug.org>
994         * mktexlsr: need to shift when arg is not a directory.
995         Found by Luigi Scarso, tex-k mail 28 Jun 2011 00:21:14.
997 2011-06-19  Karl Berry  <karl@tug.org>
999         * texmf.cnf (OPENTYPEFONTS): a duplicate entry was created :(.
1001 2011-06-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
1003         * progname.c (remove_dots): Correctly handle dir="/foo/../bar".
1005 2011-06-17  Peter Breitenlohner  <peb@mppmu.mpg.de>
1007         Reduce memory leaks.
1009         * types.h (kpse_format_info_type): Declare path as non-const.
1010         * tex-file.c (init_path): Free old value of path when assigning
1011         a new value.
1013         * progname.c (kpathsea_selfdir): Free strings no longer used.
1015         * kpsewhich.c (lookup): Free string no longer used.
1017 2011-06-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
1019         * fontmap.c (kpathsea_fontmap_lookup), kpsewhich.c (find_dpi),
1020         progname.c (kpathsea_set_program_name): Allow find_suffix() to
1021         return a const string.
1023         * find-suffix.c, lib.h: Declare find_suffix() as const.
1024         * find-suffix.c: Explain that NAME+(find_suffix(NAME)-NAME) is
1025         equivalent to find_suffix(NAME) but not necessarily const.
1027         * progname.c (remove_dots): Somewhat reorganize (initialize
1028         ret as `NULL' instead of `(string)""').
1030 2011-06-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
1032         * tex-glyph.c (try_size, try_fontmap, kpathsea_find_glyph),
1033         tex-glyph.h (kpse_glyph_file_type): Declare font name as const.
1035 2011-06-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
1037         * xgetcwd.c: Fix #include directives (depend on GETCWD_FORKS).
1038         (xgetcwd): The returned string may be long lived, so malloc()
1039         only as needed.
1040         Do not print path when getcwd(path, size) or getwd(path) fail,
1041         the contents is undefined.
1043 2011-06-13  Manuel P\'egour\'e-Gonnard <mpg@elzevir.fr>
1045         * db.c (match): ensure that we are at a dir separator in
1046         the filename before checking for being at the final component.
1047         (We were erroneously matching "foobar" to "foo" in some cases.)
1048         Report from Manuel, tex-k mail 12 Jun 2011 21:29:55.
1050 2011-06-10  Karl Berry  <karl@tug.org>
1052         * configure.ac (AC_PROG_AWK): new test.
1053         * Makefile.am (stamp-paths): use $(AWK).
1054         This is to avoid broken Solaris /usr/bin/awk, which does
1055         not have sub().
1056         Report from Ettore Aldrovandi, 8 Jun 2011 23:36:44.
1058 2011-06-09  Karl Berry  <karl@tug.org>
1060         * mktexlsr: write directory args to a file and read them back,
1061         so we can support spaces (though not newlines) in the directory names.
1062         Reword some error messages.
1064 2011-06-08  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
1066         * hash.c: leave original letter cases also on win32.
1068 2011-06-06  Karl Berry  <karl@tug.org>
1070         * texmf.cnf (TEXINPUTS.context): No trailing comma, per Taco.
1072 2011-06-03  Peter Breitenlohner  <peb@mppmu.mpg.de>
1074         * mingw32.c (normalize_filename): Use memmove() instead of
1075         memcpy() for overlapping objects.
1077 2011-05-29  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
1079         * texmf.cnf: add "shell_escape.initex = f" and
1080         "parse_first_line.initex = f", since we have initex in TL 2011.
1081         Otherwise the banner of initex is "This is TeXk, ..."
1083 2011-05-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
1085         * extend-fname.c: Remove the `generic const warning'.
1086         * readable.c, rm-suffix.c: Adjust the `generic const warning'.
1088 2011-05-26  Peter Breitenlohner  <peb@mppmu.mpg.de>
1090         * db.c (kpathsea_db_search): Add `free (dir_part)'.
1091         (kpathsea_db_search{,_list}): Declare a few strings as const.
1092         (kpathsea_db_insert): Use pointer arith to avoid const warning.
1094 2011-05-24  Peter Breitenlohner  <peb@mppmu.mpg.de>
1096         * Makefile.am (EXTRA_DIST): Add the new cnf-to-paths.awk script.
1098 2011-05-24  Karl Berry  <karl@tug.org>
1100         * tex-file.c (TRUETYPE_SUFFIXES): add .dfont.
1101         Request from Dohyun Kim, 23 May 2011 16:09:03.
1102         * doc/kpathsea.texi (Supported file formats): mention it.
1104 2011-05-23  Karl Berry  <karl@tug.org>
1106         * cnf-to-paths.awk: new awk script.
1107         * Makefile.am (stamp-paths): use it instead of the inline sed.
1108         Also, change the generated paths.h so that all non-SELFAUTO paths
1109         become a constant string "/nonesuch".  That way, if the definitions
1110         change, the binaries don't all uselessly change with them.
1112 2011-05-22  Karl Berry  <karl@tug.org>
1114         * texmf.cnf: doc fixes.
1116 2011-05-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
1118         * absolute.c: Partially revert the minor rewrite.
1120 2011-05-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
1122         * absolute.c: Minor rewrite.
1124         * NEWS, progname.[ch]: Finally remove kpse_set_progname
1125         (deprecated since 1998).
1127 2011-05-06  Karl Berry  <karl@tug.org>
1129         * texmf.cnf (TEXINPUTS.eplatex): no longer needed per Akira.
1130         (platex will always use eptex.)
1132 2011-05-03  Peter Breitenlohner  <peb@mppmu.mpg.de>
1134         * kpsewhich.c (find_format): Drop unused variable 'try_len'.
1136 2011-04-28  Karl Berry  <karl@tug.org>
1138         * kpsewhich.c (try_suffix): new fn, checking entire string for
1139         format names.
1140         (TRY_SUFFIX): change macro to just call the fn.
1141         Report from Philipp Stephani, tex-live mail 25 Apr 2011 16:38:47.
1142         
1143         * NEWS,
1144         * kpsewhich.c (read_command_line),
1145         * doc/kpathsea.texi,
1146         * texmf.cnf: 2011.
1148 2011-04-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
1150         * configure.ac: Update version number 6.0.1dev => 6.0.1.
1152 2011-04-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
1154         * texmf.cnf (TEXEDIT): Document Unix and Windows defaults.
1156         * tex-file.c (executable_filep): Avoid using strcpy() for
1157         overlapping strings.
1159 2011-03-22  Karl Berry  <karl@tug.org>
1161         * texmf.cnf (TEXINPUTS.eptex, TEXINPUTS.eplatex): define,
1162         same as .p(la)tex.  From Akira.
1164 2011-03-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
1166         * types.h: Rename the variables program_invocation_name and
1167         program_invocation_short_name into kpse_invocation_name and
1168         kpse_invocation_short_name repectively, (1) in order to avoid
1169         conflicts with /usr/include/sys/errno.h from Cygwin, and (2)
1170         because they are not the same as those from the GNU C library.
1172         Problem reported by Ken Brown <kbrow1i@gmail.com>.
1174 2011-03-03  Peter Breitenlohner  <peb@mppmu.mpg.de>
1176         * lib.h, xftell.c (xftell): Change return type from unsigned to
1177         signed and use ftell() instead of ftello().
1179 2011-03-01  Karl Berry  <karl@tug.org>
1181         * texmf.cnf: be more explicit that all trees, including TEXMFHOME,
1182         must follow the TDS.
1184 2011-03-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
1186         * mingw32.[ch]: Drop win32_system(); this was a workaround for a
1187         bug in system() under Win9x.
1189 2011-03-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
1191         * man/{kpsewhich,mktexlsr,mktexmf,mktexpk,mktextfm}.man: Drop
1192         useless '.rb' macros.
1193         * man/{kpseaccess,kpsereadlink,kpsestat}.man: The same.
1194         Also remove `additional' from `following additional options'.
1196 2011-02-28  Peter Breitenlohner  <peb@mppmu.mpg.de>
1198         * Makefile.in.orig, common.ac.orig, withenable.ac: Remove
1199         ancient files.
1200         * Makefile.am (EXTRA_DIST): Adapt.
1202 2011-02-08  Peter Breitenlohner  <peb@mppmu.mpg.de>
1204         * man/Makefile.am: Use ../am/man1_links.am for manpage links.
1206 2011-02-02  Karl Berry  <karl@tug.org>
1208         * texmf.cnf (TEXMFROOT): new variable, $SELFAUTOPARENT by default,
1209         to minimize redistributors' patches with a new Perl updmap.
1211 2011-01-06  Karl Berry  <karl@tug.org>
1213         * tex-file.c (LUA_SUFFIXES): add .tlu,
1214         luatex mail from t34www, 6 Jan 2011 22:04:45.
1216 2011-01-01  Karl Berry  <karl@tug.org>
1218         * texmf.cnf (TEXLIVE_WINDOWS_TRY_EXTERNAL_PERL): doc fixes.
1220 2010-12-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
1222         * Makefile.am (install-exec-hook): Check symlink creation.
1223         * man/Makefile.am (install-data-hook): The same.
1225 2010-12-24  Karl Berry  <karl@tug.org>
1227         * Makefile.am (stamp-paths): ensure that grep is not completely
1228         broken, e.g., from GREP_OPTIONS, in which case we'd generate a
1229         useless paths.h.
1231 2010-12-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
1233         * Makefile.am [WIN32]: Skip mktex{lsr,mf,pk,tfm} shell scripts
1234         and texhash->mktexlsr symlink.
1236 2010-12-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
1238         * tex-make.c (maketex): Factor out common WIN32 & Unix code.
1239         [WIN32]: Avoid compiler warnings.
1241 2010-12-01  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
1243         * tex-make.c (maketex): [WIN32] spawnvp(_P_NOWAIT, ...) and pipe.
1245 2010-11-29  Karl Berry  <karl@tug.org>
1247         * doc/kpathsea.texi (Brace expansion): no longer derived from Bash.
1249 2010-11-27  Taco Hoekwater  <taco@elvenkind.com>
1251         * db.c (kpathsea_db_search_list): one return list for everything,
1252         else kpsewhich --all plain returns nothing, even though
1253         kpsewhich plain works.  Report from Paul Isambert,
1254         25 Nov 2010 19:09:21.
1256 2010-11-27  Karl Berry  <karl@tug.org>
1258         * kpsewhich.test: test this.
1260 2010-11-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
1262         * tex-glyph.c (try_format): Drop unused params fontname and dpi;
1263         mention the use of $KPATHSEA_{NAME,DPI} from environment.
1265 2010-11-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
1267         * configure.ac: Update version number to 6.0.1dev.
1269 2010-11-10  Mathias Kende  <mathias@kende.fr>
1271         * tex-file.c (kpathsea_set_suffixes_va_list): new fn.
1272         (kpse_set_suffixes, kpathsea_set_suffixes): call it.
1273         Avoids passing variable argument list, which is not portable.
1274         http://bugs.debian.org/602566.
1276 2010-11-07  Karl Berry  <karl@tug.org>
1278         * cnf.c (do_line): remove trailing comment and preceding
1279         whitespace, so they do not appear as part of the value.
1280         From Akira.
1281         * doc/kpathsea.texi (Config files): document this.
1282         * texmf.cnf: doc fixes.
1284 2010-10-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
1286         * Makefile.am (libkpathsea_la_LDFLAGS): Add -no-undefined.
1288 2010-09-24  Karl Berry  <karl@tug.org>
1290         * texmf.cnf (TTFONTS): also read opentype//.
1291         (OPENTYPEFONTS): also read truetype//.
1292         Because common practice is to use .ttf/.ttc for TrueType-flavored
1293         OpenType fonts (and .otf only for PostScript-flavored OpenType).
1295 2010-09-18  Karl Berry  <karl@tug.org>
1297         * texmf.cnf (DVIPDFMXINPUTS): do not include ., so attackers
1298         cannot create a dvipdfmx.cfg with, e.g., xetex.
1299         Report from Heiko, 16 Sep 2010 22:32:25.
1301 2010-09-09  Karl Berry  <karl@tug.org>
1303         * mktexlsr (vc_dirs): remove CVS and RCS from the list,
1304         for compatibility with the corresponding change on Windows,
1305         made so that rcs/rcs.sty is not ignored.
1307 2010-06-13  Karl Berry  <karl@tug.org>
1309         * doc/unixtex.texi: reduce to current reality.
1311 2010-06-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
1313         * getopt.h [NO_KPSE_DLL]: Allow use of this file for chktex.
1314         From Karl Berry, 9 Jun 2010 15:36:44.
1316 2010-06-06  Karl Berry  <karl@tug.org>
1318         * getopt.h (getopt) [! __STDC__]: remove decl since AIX/Solaris
1319         compilers complain (vvv, tlbuild 07 Jun 2010 01:30:47).
1321 2010-06-04  Karl Berry  <karl@tug.org>
1323         * configure.ac (kpse_lib_devel): empty for TeX Live 2010
1324          (pretest 2, maybe final).
1326 2010-05-30  Karl Berry  <karl@tug.org>
1328         * texmf.cnf (shell_escape_commands): turns out fc-list is not
1329         needed after all.
1331 2010-05-30  Manuel Pégourié-Gonnard <mpg@elzevir.fr>
1333         * texmf.cnf: relax LUAINPUTS not to require and extra "lua"
1334         subdirectory for modules in texmfscripts.
1335         * texmf.cnf: enlarge trie_size to fit with latest hyph-utf8 release.
1337 2010-05-27  Karl Berry  <karl@tug.org>
1339         * getopt.h (getopt) [!__GNU_LIBRARY__]: do not declare at all.
1340         Previous conditional on __cplusplus did not work with Sun CC.
1341         Maybe all systems we compile on have getopt now?  We'll see.
1343 2010-05-25  Karl Berry  <karl@tug.org>
1345         * texmf.cnf (shell_escape_commands): include fc-list for
1346         the luaotfload font cache.
1348 2010-05-24  Karl Berry  <karl@tug.org>
1350         * texmf.cnf (font_mem_size): doc fix.
1352 2010-05-21  Karl Berry  <karl@tug.org>
1354         * mktexpk: help msg, mention map files in error.
1356 2010-05-20  Karl Berry  <karl@tug.org>
1358         * mktexdir,
1359         * mktexupd,
1360         * mktex.opt,
1361         * mktexnam.opt: systematize header comments.
1363 2010-05-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
1365         * kpseaccess.test: Allow for unexpected test results.
1367 2010-05-18  Karl Berry  <karl@tug.org>
1369         * texmf.cnf (shell_escape): set to p. Trying restricted shells again.
1370         (shell_escape_commands): bibtex, bibtex8,
1371         kpsewhich, makeindex, repstopdf.  Don't plan to add anything
1372         else for TL'10.
1374         * NEWS,
1375         * kpsewhich.c (read_command_line),
1376         * texmf.cnf (TEXMFCONFIG, TEXMFVAR): 2010.
1378 2010-05-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
1380         * access.c: Adapt comment to facts.
1381         * man/kpseaccess.man: Adapt to facts.
1383 2010-05-16  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
1385         *absolute.c, c-fopen.h, c-stat.h, config.h, debug.h, dir.c,
1386         elt-dirs.c, expand.c, getopt.c, getopt.h, getopt1.c, hash.c,
1387         kpsewhich.c, lib.h, mingw32.c, path-elt.c, pathsearch.c,
1388         progname.c, putenv.c, readable.c, strcasecmp.c, strstr.c,
1389         strtol.c, tex-file.c, tex-glyph.h,
1390         types.h, win32lib.h: untabify.
1392 2010-05-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
1394         * kpseaccess.test, kpsereadlink.test, kpsestat.test,
1395         kpsewhich.test: New shell scripts to test the programs.
1396         * configure.ac (LT_OBJDIR): AC_SUBST for kpsereadlink.test.
1397         * Makefile.am (TESTS, TESTS_ENVIRONMENT): Add the tests.
1399 2010-05-15  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
1401         *absolute.c: avoid late declaration. add support of UNC names (WIN32).
1402         *db.c: try ls-R only on WIN32.
1403         *debug.c: avoid late declaration.
1404         *elt-dirs.c: remove trailing whitespace.
1405         *lib.h: add variables in prototype.
1406         *pathsearch.c, tex-file.c: remove some spaces.
1407         *tex-glyph.c: add some spaces.
1409 2010-05-15  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>
1411         *absolute.c, access.c, atou.c, c-ctype.h, c-pathch.h, c-std.h, cnf.c,
1412         concatn.c, config.h, db.c, db.h, debug.h, default.h, dir.c,
1413         elt-dirs.c, expand.c, extend-fname.c, find-suffix.c, fn.c,
1414         fontmap.c, getopt.c, kpathsea.c, kpsestat.c, kpsewhich.c, lib.h,
1415         line.c, magstep.c, magstep.h, make-suffix.c, mingw32.c, mingw32.h,
1416         path-elt.c, pathsearch.c, pathsearch.h, proginit.c, proginit.h,
1417         progname.c, readable.c, readable.h, readlink.c, rm-suffix.c,
1418         str-list.c, str-llist.c, strstr.c, tex-file.c, tex-glyph.c,
1419         tex-glyph.h, tex-hush.c, tex-make.c, tex-make.h, truncate.c,
1420         uppercasify.c, variable.h, version.c, win32lib.h, xbasename.c,
1421         xcalloc.c, xdirname.c, xfopen.c, xftell.c, xftello.c, xgetcwd.c,
1422         xopendir.c, xrealloc.c, xstat.c: remove trailing spaces.
1424 2010-05-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
1426         * c-fopen.h [SET_BINARY]: Add cast to void.
1428 2010-05-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
1430         * progname.c (kpathsea_set_program_name): Drop superfluous cast.
1432         * extend-fname.c, lib.h: Change return type of extend_filename()
1433         from 'string' to 'const_string'.
1434         * fontmap.[ch]: Change return type of kpathsea_fontmap_lookup()
1435         from 'string *' to 'const_string *', drop kpse_fontmap_lookup.
1436         * tex-file.c (target_fontmaps), tex-glyph.c (try_fontmap): Adjust.
1438 2010-04-27  Manuel Pégourié-Gonnard <mpg@elzevir.fr>
1440         * texmf.cnf: - s/pdf(lua(la)?tex)/dvi\1/
1441         - add luatex before generic (for generic package specific to luatex) and
1442         similarly for xetex.
1444 2010-04-22  Karl Berry  <karl@tug.org>
1446         * doc/kpathsea.texi,
1447         * doc/bugs.texi: Avoid over/underfull boxes.
1449 2010-04-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
1451         * texmf.cnf (max_strings.pbibtex): New defn.
1453 2010-04-15  Karl Berry  <karl@tug.org>
1455         * kpsewhich.c (format_abbr_type): new type.
1456         (format_abbrs): new array.
1457         (format_abbr): new fn to use them.
1458         (find_format): call it.
1460         (help_message): new fn, including the abbreviations.
1462 2010-04-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
1464         * Makefile.am (EXTRA_DIST): Add bsnl.awk.
1466 2010-04-11  Karl Berry  <karl@tug.org>
1468         * texmf.cnf ({TEXINPUTS,BIBINPUTS}.{ptex,platex,pbibtex}): new defns.
1470 2010-04-11  Javier Mugica  <javier@digi21.eu>
1472         * getopt.c, getopt1.c: ANSIfy all fns.
1474 2010-04-10  Karl Berry  <karl@tug.org>
1476         * progname.c (c-pathmx.h): #include unconditionally.
1477         * c-pathmx.h (PATH_MAX) [MAX_PATH]: #define PATH_MAX as MAX_PATH
1478         for Windows.
1479         * win32lib.h: include io.h, fcntl.h, direct.h.
1480         From Javier Mugica, 9 Apr 2010 22:04:46.
1482 2010-04-09  Karl Berry  <karl@tug.org>
1484         * types.h: doc fixes.
1486 2010-04-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
1488         * man/kpseaccess.man, man/kpsestat.man, man/mktexpk.man,
1489         man/mktextfm.man: Uniform manpage formatting: bold for literals,
1490         italic for variable items, roman for meta items.
1492 2010-04-05  Karl Berry  <karl@tug.org>
1494         * progname.h: doc fix.
1496 2010-04-04  Karl Berry  <karl@tug.org>
1498         * bsnl.awk: tiny awk program to eliminate \-newline sequences.
1499         * Makefile.am (stamp-paths): call it.
1500         * texmf.cnf (TEXMF_RESTRICTED_SCRIPTS): use \-newline again.
1502 2010-03-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
1504         * lib.h, xcalloc.c, xmalloc.c, xrealloc.c: Change type of size
1505         arguments of xcalloc(), xmalloc, and xrealloc() from unsigned
1506         to size_t (incompatible change of ABI).
1508         Update version numbers to 6.0.0.
1510 2010-03-24  Peter Breitenlohner  <peb@mppmu.mpg.de>
1512         * texmf.cnf (TEXMF_RESTRICTED_SCRIPTS): The make rules used to
1513         create paths.h can't handle backslash-newline (FIXME?).
1515 2010-03-24  Karl Berry  <karl@tug.org>
1517         * texmf.cnf (TEXMFSCRIPTS): progname before engine, for consistency,
1518         and because the former is more specific.
1519         (TEXMF_RESTRICTED_SCRIPTS): new definition, for the w32 wrapper.
1521         (TEXMFDBS): reorder in file to be next to TEXMF, to make the
1522         relationship more apparent.  No change in definition.
1524 2010-03-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
1526         * texmf.cnf (ent_str_size, glob_str_size): New for size of
1527         BibTeX (entry and global) strings.
1529 2010-03-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
1531         * texmf.cnf (BIBTEX_CSFILE): Default codepage and sort order
1532         file for BibTeX8.
1533         (max_strings): Also for BibTeX8 and BibTeXU.
1535 2010-03-18  Karl Berry  <karl@tug.org>
1537         * texmf.cnf (TEXDOCS): remove .; better for texdoc not
1538         to be confused by files randomly in the current directory.
1540 2010-03-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
1542         * texmf.cnf: Append '.mf' to Metafont specific parameters.
1543         Add 'max_strings.bibtex', also for hash_size and hash_prime.
1545 2010-03-09  Peter Breitenlohner  <peb@mppmu.mpg.de>
1547         * texmf.cnf: Append '.gftype' to GFtype specific parameters.
1548         * progname.h: Remove kpse_set_progname from exported API.
1549         Deprecated since 1998.  Kept in library for Versions 5.x.y.
1551 2010-03-08  Peter Breitenlohner  <peb@mppmu.mpg.de>
1553         * xrealloc.c (xrealloc): Allocate 1 byte if passed size 0.
1554         * xcalloc.c (xcalloc): Use 1 if passed nelem 0 or elsize 0.
1556 2010-03-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
1558         * texmf.cnf (line_length, max_rows, max_cols): GFtype parameters
1559         settable at runtime (used to be fixed values in gftype.ch).
1561 2010-03-03  Peter Breitenlohner  <peb@mppmu.mpg.de>
1563         * texmf.cnf (screen_width, screen_depth): Increase Metafont
1564         screen size (used to be fixed values in mf.ch).
1566 2010-03-01  Karl Berry  <karl@tug.org>
1568         * texmf.cnf (TW_LIBPATH, TW_INIPATH): TeXworks config/settings.
1570 2010-02-26  Peter Breitenlohner  <peb@mppmu.mpg.de>
1572         * mingw32.c (dostounix_filename): Reactivate as extern KPSEDLL,
1573         used for gsftopk.
1575 2010-02-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
1577         * dir.c (kpathsea_dir_p), tex-make.c (maketex): [WIN32]: Cast
1578         the result of GetLastError() to int (may be or is DWORD).
1579         * tex-make.c (kpathsea_make_tex) [WIN32]: Avoid initialized ret.
1580         * mingw32.c (look_for_cmd): Declare suffixes and s as const.
1582         * config.h [WIN32]: Ensure that __STDC__ is #defined.
1583         #include <kpathsea/win32lib.h>, not <win32lib.h>.
1584         Diffs from Akira, 11 Feb 2010 11:03:39.
1586         * strstr.c (str): Add empty statement after label at the end of
1587         a block.  From Javier Mugica, 23 Feb 2010 12:25:55.
1589         * mingw32.c (win32_get_long_filename): Declare extern KPSEDLL.
1591 2010-02-20  Peter Breitenlohner  <peb@mppmu.mpg.de>
1593         * mingw32.c (win32_system): Declare as non-static, for web2c.
1594         * mingw32.h (win32_system): Declare as extern KPSEDLL.
1596         * c-proto.h, getopt.h (KPSE_DLL): Automatically #define for
1597         native WIN32 but not for MinGW32.
1599 2010-02-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
1601         * absolute.c (kpathsea_absolute_p): Unused param.
1602         * truncate.[ch] (kpse_truncate_filename): Removed.
1604 2010-02-15  Karl Berry  <karl@tug.org>
1606         * tex-make.c [DJGPP]: change conditionals to __DJGPP__ for
1607         consistency.
1609         * progname.c (<kpathsea/mingw32.h>) [__MINGW32__]: remove
1610         #include, it's redundant with kpathsea/config.h.
1611         (<kpathsea/c-pathmx.h>) [__DJGPP__]: change conditional from DJGPP.
1612         Suggestion from Javier Mugica, 13 Feb 2010 20:46:12.    
1614 2010-02-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
1616         * variable.c (kpathsea_var_value, expand): Treat strings
1617         returned by getenv() and kpathsea_cnf_get() as const.
1618         Replace kpathsea_var_expand() plus kpathsea_tilde_expand() by
1619         kpathsea_expand() and include expand.h instead of tilde.h.
1621         * tilde.[ch] (kpathsea_tilde_expand): Now used only in expand.c
1622         by kpathsea_expand().  Declare string param as non-const.
1623         (kpse_tilde_expand): Removed.
1625         * hash.[ch]: Adjust comments and remove trailing whitespace.
1627 2010-02-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
1629         * xopendir.c [WIN32]: Define neither xopendir nor xclosedir.
1630         * mingw32.[ch], progname.c: Remove set_home_warning().
1631         From Akira.
1633         * xopendir.[ch] (xopendir): Declare string param as const.
1634         Declare prototypes if and only if functions are defined.
1636         * kdefault.c, tex-file.h, xputenv.c:
1637         Formatting, trailing whitespace.
1639 2010-02-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
1641         * dir.c (kpathsea_dir_p), elt-dirs.c (kpathsea_normalize_path),
1642         pathsearch.c (log_search, search, search_list),
1643         tex-file.c (kpathsea_find_file_generic):
1644         Add '#ifdef KPSE_DEBUG' to allow compilation with '-DNO_DEBUG'.
1646         * dir.c (kpathsea_dir_p): Replace kpse_normalize_path() by
1647         kpathsea_normalize_path().
1649 2010-02-11  Peter Breitenlohner  <peb@mppmu.mpg.de>
1651         * db.h (kpathsea_init_db, kpse_init_db, kpathsea_db_search,
1652         kpse_db_search, kpathsea_db_search_list, kpse_db_search_list),
1653         * fontmap.h (kpathsea_fontmap_lookup, kpse_fontmap_lookup),
1654         * getopt.h (_getopt_internal),
1655         * hash.h (hash_print, hash_free),
1656         * mingw32.h (init_user_info, set_home_warning,
1657         win32_get_long_filename, look_for_cmd, quote_args),
1658         * pathsearch.h (kpathsea_filename_component,
1659         kpse_filename_component, kpathsea_normalize_path,
1660         kpse_normalize_path),
1661         * str-list.h (str_list_init, str_list_concat, str_list_free,
1662         * str_list_concat_elements, str_list_uniqify),
1663         * str-llist.h (str_llist_add, str_llist_float),
1664         * tex-file.h (kpathsea_init_fallback_resolutions,
1665         kpse_init_fallback_resolutions),
1666         * tilde.h (kpathsea_tilde_expand, kpse_tilde_expand),
1667         * truncate.h (kpathsea_truncate_filename,
1668         kpse_truncate_filename),
1669         * xopendir.h (xopendir, xclosedir),
1670         * xstat.h (xstat, xlstat): Declare prototypes only within
1671         libkpathsea.
1673 2010-02-10  Peter Breitenlohner  <peb@mppmu.mpg.de>
1675         * mingw32.c (get_home_directory, _parse_root,
1676         normalize_filename, dostounix_filename, unixtodos_filename,
1677         crlf_to_lf, parse_cmdline, build_cmdline, win32_system):
1678         Declare as static.
1679         (dostounix_filename, crlf_to_lf): Drop unused functions.
1680         (win32_system): Drop unused code for look_for_cmd() with 3 args.
1681         * mingw32.h: Remove decl of get_home_directory(), add
1682         quote_args(), use explicit 'extern'.
1683         * tex-make.c (maketex): Drop nested extern decl of quote_args().        
1685         * tex-make.h ({kpathsea,kpse}_make_tex),
1686         str-list.h (str_list_add): need KPSEDLL (from Akira).
1688 2010-02-08  Peter Breitenlohner  <peb@mppmu.mpg.de>
1690         * mingw32.c (look_for_cmd): remove unused variable new_cmd,
1691         declare p and q as const and remove cast.
1693 2010-02-07  Taco Hoekwater  <taco@elvenkind.com>
1695         * mingw32.c (look_for_cmd): remove unused variable new,
1696         clean up preprocessor conditionals.
1697         Report by Hib Eris, tex-k 3 Feb 2010 12:11:42.
1699 2010-02-01  Peter Breitenlohner  <peb@mppmu.mpg.de>
1701         * Makefile.am (kpseinclude_HEADERS): Add win32lib.h.
1703 2010-02-01  Karl Berry  <karl@tug.org>
1705         * strstr.c,
1706         * strcasecmp.c,
1707         * getopt.c,
1708         * getopt.h,
1709         * getopt1.c: remove all redefinitions of const.
1711 2010-01-31  Javier Mugica  <javier@digi21.eu>
1713         Support compilation with MSVC 7.1:
1714         * config.h (win32lib.h) [_WIN32 && !__MINGW32__]: include.
1715         (__STDC__) [WIN32]: do not define ourselves.
1716         * getopt.h (__STDC__): do not define ourselves.  Instead, define
1717         const.
1718         * c-stat.h (oldnames.h) [WIN32]: is gone.       
1719         * c-ctype.h (isascii): no oldnames.h here either.
1720         * win32lib.h: reinstate.
1722 2010-01-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
1724         * xputenv.c (kpathsea_xputenv): Don't use value of XRETALLOC(),
1725         XRETALLOC(addr, n, t) already assigns the new pointer to addr.
1727 2010-01-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
1729         * tex-make.c (maketex): Replace kpse_readable_file(fn) by
1730         kpathsea_readable_file(kpse,fn) also for WIN32.
1732 2010-01-11  Taco Hoekwater <taco@metapost.org>
1734         * types.h (kpse_clua_format): new type.
1735         (kpse_def, kpse_def_inst): need KPSEDLL (from Akira).
1736         * tex-file.c (CLUA_ENVS): new define.
1737         (kpse_init_format): initialize it.
1738         * texmf.cnf (CLUAINPUTS): new definition.
1739         This implies using, e.g., bin/i386-linux/lib/luatex/lua/*.so
1740         in TL.
1742 2010-01-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
1744         * tex-file.c: Add alt_suffix ".pl" for kpse_opl_format and
1745         ".vpl" for kpse_ovp_format (for C version of opl2ofm/ovp2ovf).
1747 2009-12-24  Karl Berry  <karl@tug.org>
1749         * HIER, INSTALL, README.CONFIGURE: remove, stale.
1750         * Makefile.am (EXTRA_DIST): change accordingly.
1751         * README, PROJECTS,
1752         access.c, readlink.c,
1753         mktex.opt, mktexdir, mktexdir.opt, mktexmf, mktexnam,
1754         mktexnam.opt, mktextfm, mktexupd: doc/email updates.
1756 2009-12-21  Karl Berry  <karl@tug.org>
1758         * kpsewhich.c (find_format): had forgotten to increment the loop
1759         variable, hence the hang.  From Akira.
1761 2009-12-20  Karl Berry  <karl@tug.org>
1763         * kpsewhich.c (find_format): restore checking of kpse_fmt_format
1764         last, since a hang was reported by Angelo Graziosi,
1765         http://tug.org/pipermail/tlbuild/2009q4/001222.html.
1767 2009-12-17  Karl Berry  <karl@tug.org>
1769         * c-proto.h (KPSE_DLL) [WIN32]: #define in this case, per Akira.
1771 2009-12-15  Karl Berry  <karl@tug.org>
1773         * kpsewhich.c (-safe-in-name, -safe-out-name): new options.
1774         * doc/kpathsea.texi: document them.
1775         * tex-file.c (kpathsea_name_ok): introduce silent argument;
1776         change callers.
1777         * tex-file.h (kpathsea_{in,out}_name_ok_silent): declare these,
1778         now used in kpsewhich.
1780 2009-12-14  Karl Berry  <karl@tug.org>
1782         * kpsewhich.c (separator): remove never-used variable/option.
1784         * kpsewhich.c (find_format): remove rearrangement of checking
1785         kpse_fmt_format last, since it doesn't have any special extensions
1786         now (what were they?).
1788 2009-12-11  Alexander Cherepanov  <cherepan@mccme.ru>
1790         * tex-file.c (kpathsea_name_ok): correct check for /../ so that
1791         "file..txt" is still allowed.
1792         tlsec mail, 05 Dec 2009 12:33:35.
1794 2009-12-05  Karl Berry  <karl@tug.org>
1796         Suggested/reported by Daniel Luecking, 16 Nov 2009 11:58:00:
1798         * kpsewhich.c (init_more): split out lengthier initializations
1799         to own fn.  Initialize all mktex programs to false, so that
1800         cnf/env settings such as MKTEXPK=1 don't apply to kpsewhich.
1801         (read_command_line) <--[no-]mktex>: set must_exist, since
1802         otherwise the mktex program is never called.
1803         * doc/kpathsea.texi (Path searching options): minimally describe this.
1805 2009-12-04  Karl Berry  <karl@tug.org>
1807         * tex-file.c (kpathsea_name_ok): not_ok if /..foobar.
1808         Report/patches from Alexander and Akira.
1810 2009-12-03  Karl Berry  <karl@tug.org>
1812         * absolute.c, * absolute.h, * cnf.c, * db.c, * dir.c, * elt-dirs.c,
1813         * expand.c, * kdefault.c, * kpsewhich.c, * lib.h, * magstep.h,
1814         * pathsearch.c, * pathsearch.h, * proginit.c, * progname.c,
1815         * readable.h, * tex-file.c, * tex-file.h, * tex-glyph.c, * tex-glyph.h,
1816         * tex-make.c, * types.h, * xputenv.c: formatting/doc fixes.
1818 2009-12-01  Karl Berry  <karl@tug.org>
1820         * tex-file.c (kpathsea_name_ok): formatting, doc fixes, start
1821         error message on a new line.
1823 2009-12-01  Alexander Cherepanov  <cherepan@mccme.ru>
1825         * BUGS,
1826         * doc/bugs.texi: typo fix.
1828 2009-11-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
1830         * tex-file.c (target_fontmaps, target_asis_name,
1831         target_suffixed_names, kpathsea_find_file_generic):
1832         Revised handling of const to avoid warnings.
1834 2009-11-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
1836         * tex-file.c (kpathsea_out_name_ok): Also disallow writing files
1837         in dotted directories.
1838         From  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>.
1840 2009-11-17  Peter Breitenlohner  <peb@mppmu.mpg.de>
1842         * types.h (kpathsea_instance): For W32/Mingw/Cygwin declare
1843         suffixlist, listing the executable file suffixes.
1844         * progname.c (kpathsea_set_program_name): Build suffixlist.
1845         * tex-file.c (kpathsea_out_name_ok): Use suffixlist.
1846         From  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>.
1848         * kpathsea.c: Remove obsolete initializer.
1849         (kpathsea_finish): Destroy suffixlist (not yet used).
1851 2009-11-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
1853         * tex-file.c (kpathsea_out_name_ok): Allow writing of .pl files.
1854         From  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>.
1856 2009-11-13  Peter Breitenlohner  <peb@mppmu.mpg.de>
1858         * tex-file.c (kpathsea_out_name_ok): On Windows disallow writing
1859         to executable files (.com, .exe, .bat, etc).
1860         From  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>.
1862 2009-11-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
1864         * doc/kpathsea.texi (Calling sequence): Document the new
1865         functions kpathsea_out_name_ok and kpathsea_in_name_ok.
1866         Recommend Automake in addition to Autoconf; update URL for both.
1868 2009-10-24  Peter Breitenlohner  <peb@mppmu.mpg.de>
1870         * tex-file[ch] ({kpathsea,kpse}_{in,out}_name_ok): New fuctions
1871         renamed and moved from ../web2c/lib/texmfmp.c to here.
1873         Update version numbers to 5.1.0.
1875 2009-10-24  Peter Breitenlohner  <peb@mppmu.mpg.de>
1877         * Makefile.am (bin_links, install-exec-hook, uninstall-hook),
1878         man/Makefile.am (man1_links, install-data-hook, uninstall-hook):
1879         Moved handling of texhash symlinks from ../tetex/ to here.
1881 2009-10-20  Karl Berry  <karl@tug.org>
1883         * texmf.cnf (shell_escape): doc fixes to discourage shell_escape=p.
1885 2009-10-19  Manuel Pégourié-Gonnard <mpg@elzevir.fr>
1887         * texmf.cnf: set shell_escape back to 'f': 'p' is broken on Unix.
1889 2009-10-15  Manuel Pégourié-Gonnard <mpg@elzevir.fr>
1891         * texmf.cnf (shell_escape_commands): add repstopdf, a version of
1892         epstopdf with restrictions intended to make it safer.
1893         Remove bibtex & makeindex for now, they don't respect openout_any.
1895 2009-10-13  Karl Berry  <karl@tug.org>
1897         * texmf.cnf (shell_escape_commands): remove the ps-to-pdf programs
1898         for now, they don't respect openout_any.
1900 2009-10-09  Karl Berry  <karl@tug.org>
1902         * texmf.cnf (TEXDOC): omit now-unneeded man for texdoc (from mpg).
1904 2009-09-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
1906         * tex-file.c: Add .vf to regcognized suffixes for kpse_ovf_format.
1908 2009-09-21  Karl Berry  <karl@tug.org>
1910         * texmf.cnf (shell_escape_commands): remove pygmentize, as intended.
1912 2009-09-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
1914         * lib.h (xfseek, xfseeko, xftell, xftello), xfseek.c, xfseeko.c,
1915         xftell.c, xftello.c: Constify string param filename.
1917 2009-09-03  Karl Berry  <karl@tug.org>
1919         * kpsewhich.c (find_format): remove dvipdfmx.cfg, since there is
1920         no special path for it, and add texglyphlist.txt.
1922 2009-08-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
1924         * version.[ch] (kpathsea_version_string, kpathsea_bug_address):
1925         Constify these strings.
1927 2009-08-18  Peter Breitenlohner  <peb@mppmu.mpg.de>
1929         * tex-file.c (TRY_ENV): remove unused macro.
1931 2009-08-15  Karl Berry  <karl@tug.org>
1933         * texmf.cnf (shell_escape_commands): remove many more,
1934         mail from Heiko, 14 Aug 2009 07:58:02 et al.
1936 2009-07-23  Karl Berry  <karl@tug.org>
1938         * mktexlsr: update help msg.
1940         * texmf.cnf (shell_escape_commands): remove tex programs (too
1941         dangerous?), add other indexing programs, change pdfcrop to
1942         rpdfcrop, convert to imgconvert.
1944 2009-07-22  Taco Hoekwater <taco@metapost.org>
1946         * texmf.cnf (sizes): fix some documentation strings for MetaPost,
1947         which nowadays uses and needs just a handful of the array size
1948         variables.
1949         
1950 2009-07-07  Karl Berry  <karl@tug.org>
1952         * texmf.cnf (MAKEMPX): remove, this causes btex..etex to fail
1953         in current mpost.
1955 2009-07-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
1957         * Makefile.am (kpathsea.h): simplify, no more grep.
1959 2009-06-30  Peter Breitenlohner  <peb@mppmu.mpg.de>
1961         * Makefile.am (kpathsea.h): avoid GNU grep specific code.
1963 2009-06-30  Karl Berry  <karl@tug.org>
1965         * variable.c (expand): make boolean, to return whether there
1966         actually was a variable that got expanded.
1967         (kpathsea_var_expand): if no variable was expanded, insert the
1968         unexpanded $foo in the result, so we can read variable names with
1969         dollar signs.  Bug report from Gerben Wierda.
1971 2009-06-25  Peter Breitenlohner  <peb@mppmu.mpg.de>
1973         * version.h (new): header file for definitions in version.c.
1974         * version.c: #include <kpathsea/version.h>.
1975         * Makefile.am: add version.h.
1977         * kpsewhich.c: #include <kpathsea/version.h>.
1979 2009-06-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
1981         * concatn.[ch], tex-file.[ch]: use ANSI C function declarations
1982         and prototypes instead of PVAR?[CH] macros.
1983         #include <stdarg.h>, not #include <kpathsea/c-vararg.h>.
1985         * c-vararg.h (removed): no longer used.
1986         * kpathsea.h (removed): no longer distributed.
1987         * Makefile.am: remove c-vararg.h, rebuild kpathsea.h.
1989         * c-proto.h: assume HAVE_PROTOTYPES, remove AA, P?[CH] macros.
1991 2009-06-22  Peter Breitenlohner  <peb@mppmu.mpg.de>
1993         * getopt.c (_getopt_internal):
1994         explicit braces to avoid ambiguous 'else'.
1996 2009-06-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
1998         * Makefile.am: enable compiler warnings.
1999         * kpathsea.c (KPATHSEA_CAN_FREE): disable not yet used code.
2000         (str_llist_free, cache_free): declare as static, not yet used.
2001         (kpathsea_finish): avoid warning about not yet used variables.
2002         * tex-glyph.c (try_size): avoid uninitialized warning.
2003         * mingw32.c: avoid unused static variable.
2005 2009-06-15  Karl Berry  <karl@tug.org>
2007         * texmf.cnf (TEXINPUTS.jadetex,pdfjadetex): search latex, not plain.
2008         Thus we find the latex fonttext.cfg before cslatex's, and thus
2009         we can build the format using latex.ltx, and thus
2010         we can avoid & in fmtutil.cnf, and thus
2011         we can avoid painful infinite loops on failure, or something.
2012         http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427562
2014 2009-06-10  Karl Berry  <karl@tug.org>
2016         * ac/web2c.ac (mktexfmt): default to yes.
2018 2009-06-02  Karl Berry  <karl@tug.org>
2020         * types.h (kpse_file_format_type): add kpse_mlbib_format,
2021         kpse_mlbst_format for Jean-Michel Hufflen and MlBibTeX.
2022         * texmf.cnf (MLBIBINPUTS, MLBSTINPUTS): define default paths.
2023         * tex-file.c (kpathsea_init_format): initialize them.
2024         * doc/kpathsea.texi: document this.
2026 2009-06-01  Karl Berry  <karl@tug.org>
2028         * Update version numbers to 5.0.0.
2030         * kpsewhich.c (lookup): translate ; to : in user_path,
2031         for consistency.  Also do path expansions as promised in the
2032         documentation.  Report from Tomek T.
2034 2009-05-15  Peter Breitenlohner  <peb@mppmu.mpg.de>
2036         * absolute.c, hash.c: Avoid C99isms (variable declaration not at
2037         the beginning of a block).
2038         From Vladimir Volovich.
2040 2009-05-12  Karl Berry  <karl@tug.org>
2042         * tex-file.c (kpathsea_init_format): set suffix_search_only
2043         for sfd, otf, and lig.  Output binmode value for debugging.
2045 2009-05-11  Karl Berry  <karl@tug.org>
2047         * Makefile.am (paths.h): depend on stamp-paths, instead of
2048         recursively invoking it.  Else it does not get invoked once it is
2049         created.
2051 2009-05-11  Karl Berry  <karl@tug.org>
2053         * types.h (kpse_file_format_type): add kpse_fea_format,
2054         kpse_cid_format for Hans/Taco.
2055         * texmf.cnf: define default paths (fonts/fea// and fonts/cid//).
2056         * tex-file.c (kpathsea_init_format): initialize them.
2057         Also, for kpse_enc_format, set suffix_search_only=true.
2058         * doc/kpathsea.texi: document this.
2060 2009-04-18  Karl Berry  <karl@tug.org>
2062         * texmf.cnf (shell_escape_commands): add fc-match, request
2063         from Elie Roux, 17 Apr 2009 17:22:55.
2065 2009-04-05  Taco Hoekwater  <taco@elvenkind.com>
2067         * doc/kpathsea.texi,
2068         * doc/bugs.texi: updates for new reentrant API, mostly for
2069         kpse->debug replacing the global kpathsea_debug.
2071 2009-04-02  Peter Breitenlohner  <peb@mppmu.mpg.de>
2073         * config.h: For __MINGW32__ temporarily define eof as macro
2074         while including <unistd.h>.
2076         From Taco Hoekwater <taco@elvenkind.com>.
2078 2009-03-19  Peter Breitenlohner  <peb@mppmu.mpg.de>
2080         * kpathsea.c: Do not use initializer for kpse_def_inst (FIXME:
2081         to be completely removed).
2083 2009-03-17  Taco Hoekwater  <taco@luatex.org>
2085         * types.h: Define kpse_debug_hash_lookup_int.
2087 2009-03-17  Peter Breitenlohner  <peb@mppmu.mpg.de>
2089         * c-std.h, getopt.h: Avoid non-prototype declarations for C++.
2091 2009-03-16  Peter Breitenlohner  <peb@mppmu.mpg.de>
2093         * db.c, debug.c, debug.h, dir.c, elt-dirs.c, hash.c, pathsearch.c,
2094         progname.c, tex-file.c, variable.c:
2095         Rename KPSE_DEBUG_P into KPATHSEA_DEBUG_P (using kpse->debug)
2096         Define KPSE_DEBUG_SET and KPSE_DEBUG_P (using kpathsea_debug)
2097         compatible with old API.
2099 2009-03-12  Taco Hoekwater  <taco@luatex.org>
2101         New Kpathsea API: Make libkpathsea reenterable.
2103         * extend-fname.c, file-p.c, xftello.c, make-suffix.c, xcalloc.c,
2104         line.c, readlink.c, concat3.c, line.h, str-llist.c, kpsestat.c,
2105         xmalloc.c, str-llist.h, xbasename.c, xfseeko.c, xgetcwd.c,
2106         concat.c, xstat.h, atou.c, rm-suffix.c, str-list.c,
2107         find-suffix.c, hash.c, xfseek.c, debug.c, str-list.h, hash.h,
2108         xopendir.c, uppercasify.c, debug.h, xopendir.h, xftell.c,
2109         xfopen.c, access.c, fn.c, xdirname.c, fn.h, xstrdup.c,
2110         xrealloc.c, xstat.c:
2111         All of these files have stopped using the PxC and PxH macros.
2113         Besides this change, there are a few extra changes to specific
2114         files.
2116         * debug.c: add a guard that disables debug reporting if
2117         the oldinterface is not compiled in the library, and uses the
2118         kpse_def_inst structure otherwise.
2120         * hash.c (hash_free): new function.
2122         * concat3.c: now allows the second and third argument to be NULL
2124         * tex-hush.h, tex-make.c, progname.h, dir.c,
2125         absolute.c, expand.c, tex-make.h, tex-glyph.c, tex-file.h,
2126         absolute.h, expand.h, truncate.c, variable.c, tex-glyph.h,
2127         default.h, variable.h, truncate.h, kdefault.c, readable.c,
2128         tilde.c, fontmap.c, readable.h, tilde.h, cnf.c, fontmap.h,
2129         cnf.h, path-elt.c, pathsearch.c, elt-dirs.c, db.c, pathsearch.h,
2130         db.h, proginit.c, magstep.c, proginit.h, magstep.h, tex-hush.c:
2131         All of these files have stopped using the PxC and PxH macros.
2133         In all of these files, the exported functions whose names
2134         started with 'kpse_' have been renamed to use the prefix
2135         'kpathsea_' instead, and they now required an extra argument
2136         that is a kpathsea instance structure. New one-line functions
2137         with the old exported names have been added that use a default
2138         kpathsea instance. The functions are build and exported only if
2139         the preprocessor macro KPSE_COMPAT_API is defined (which it
2140         usually is, though).
2142         Besides these changes, there are a few extra changes to speficic
2143         files.
2145         * progname.c: Removed the variables program_invocation_name and
2146         program_invocation_short_name, these are now part of the
2147         kpathsea instance (in renamed form)
2149         * progname.c, xputenv.c, lib.h: Some extra preprocessor macros
2150         (LIB_FATALx) are added and a few others  are changed so that
2151         the library functions can give the proper invocation_name
2152         in fatal error messages
2154         * tex-file.c: The default instance variable is moved to the new
2155         file kpathsea.c
2157         * kpathsea.c: New file containing the default
2158         instance variables and the new functions kpathsea_new() and
2159         kpathsea_finish()
2161         * version.c: Variable kpse_bug_address renamed
2162         to kpathsea_bug_address.
2164         * types.h:
2165         Added a preprocessor define KPSE_COMPAT_API, used throughout the
2166         library.  If it is undefined then the old-style functions and
2167         definitions are not compiled.
2168         Removed the w32-specific 'cached_home_directory' and 'volumes'
2169         variables from the instance structure.
2170         Added 'invocation_name' and 'invocation_short_name' variables to
2171         the instance structure.
2172         Removed the 'kpse_' prefix from the instance variables fallback_font,
2173         fallback_resolutions_string, fallback_resolutions, and format_info.
2174         Added prototypes for kpathsea_new() and kpathsea_finish().
2175         Added #defines for  kpse_bug_address, kpse_fallback_font,
2176         kpse_fallback_resolutions_string, kpse_fallback_resolutions,
2177         kpse_format_info, program_invocation_name, and
2178         program_invocation_short_name
2180         * mingw32.c:
2181         Disabled home directory caching: removed the function
2182         uncache_home_directory() and the cached_home_directory
2183         structure item.
2184         Disabled volume queries: removed win32_volumes typedef,
2185         the static functions lookup_volume_info(), add_volume_info(),
2186         and  GetCachedVolumeInformation(), as well as the functions
2187         get_volume_info() and is_fat_volume().
2189         * mingw32.h: Removed volume_user_date typedef
2190         and added declaration for get_home_directory()
2192         * kpsewhich.c: stop using PxC macros and
2193         switch to new API interface
2195         * configure.ac: Bump the version numbers to 5.0.0  (provisionally)
2197         * Makefile.am: Add kpathsea.c
2199 2009-03-05  Peter Breitenlohner  <peb@mppmu.mpg.de>
2201         Part 2 of patches from Taco Hoekwater for __MINGW32__
2202         * mingw32.c: new file.
2203         * mingw32.h (look_for_cmd): use only two arguments.
2204         * tex-make.c (maketex): arg4 of ReadFile is DOWRD, not int.
2206 2009-03-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
2208         Part 1 of patches from Taco Hoekwater for __MINGW32__
2209         * mingw32.h: new.
2210         * c-ctype.h, c-stat.h: do not #include <oldnames.h>.
2211         * config.h: #include <kpathsea/mingw32.h>, not <win32lib.h>
2212         * progname.c: do #include <kpathsea/mingw32.h>.
2213         * xopendir.c: do build xopendir for __MINGW32__.
2215         * progname.c, progname.h: changed static function selfdir()
2216         into exported function kpse_selfdir() for use in luatex.
2218 2009-02-28  Karl Berry  <karl@tug.org>
2220         * texmf.cnf (shell_escape_commands): add pstopdf and convert per
2221         Dick Koch.
2223 2009-02-26  Karl Berry  <karl@tug.org>
2225         * texmf.cnf (shell_escape): set to new possibility p.
2226         (shell_escape_commands): first cut at allow list.
2228 2009-02-21  Karl Berry  <karl@tug.org>
2230         * tex-file.c: doc fixes.
2232 2009-02-12  Peter Breitenlohner  <peb@mppmu.mpg.de>
2234         * xputenv.c: prototype for putenv() if !HAVE_DECL_PUTENV.
2236 2009-02-06  Karl Berry  <karl@tug.org>
2238         * texmf.cnf (TEXINPUTS.lua*): add definitions for
2239         luatex, lualatex, pdfluatex, pdflualatex.
2241 2008-12-31  Karl Berry  <karl@tug.org>
2243         * kpsewhich.c (find_format): special-case XDvi to
2244         kpse_program_text_file ("other text files").
2246 2008-12-15  Karl Berry  <karl@tug.org>
2248         * kpsewhich.c (main): warn if the explicit --user-format string
2249         is not recognized.
2251 2008-12-13  Karl Berry  <karl@tug.org>
2253         * elt-dirs.c (do_subdir): only do the st_nlink trick if st_nlink
2254         is exactly 2; Cygwin sets st_nlink to 1 now.  Remove special case
2255         for the Amiga.
2256         * kpathsea.texi (Subdirectory expansion): correct preprocessor
2257         name to ST_NLINK_TRIC.
2258         Report from Ken Brown, tlbuild mail 12 Dec 2008 13:42:19.
2260 2008-11-10  Karl Berry  <karl@tug.org>
2262         * kpsewhich.c (USAGE): mention need for -engine when looking up
2263         format files.  Some reformatting.
2265 2008-09-20  Karl Berry  <karl@tug.org>
2267         * texmf.cnf: strongly warn that customizations in this file will
2268         be lost by later updates.
2270 2008-08-05  Karl Berry  <karl@tug.org>
2272         * mktextfm (MAG): set back to 1.  mag=0 fails with larm1000.mf,
2273         and we're not going to fix the fonts.
2275 2008-07-08  Karl Berry  <karl@tug.org>
2277         * configure.in: version 3.5.7.
2279 2008-07-06  Karl Berry  <karl@tug.org>
2281         * withenable.ac (texmfmain): do not bother with long verbose
2282         complaint when the tree can't be found, since this is normal in TL.
2284 2008-07-05  Karl Berry  <karl@tug.org>
2286         * mktextfm (MAG): set to 0; why were we using MAG=1?  Left
2287         over from when we included pregenerated pk's in the distribution?
2289 2008-07-04  Karl Berry  <karl@tug.org>
2291         * texmf.cnf (max_strings): increase to 500000.
2292         ctt posting from Benno Puetz, http://groups.google.com/group/comp.text.tex/browse_thread/thread/2c3aa2d09b4625e3
2294         * progname.c [HAVE_PROGRAM_INVOCATION_NAME]: remove all #ifdef's
2295         except around the declaration, so that we always use our own code
2296         to compute them.  This avoids painful system dependencies.
2298 2008-07-02  Karl Berry  <karl@tug.org>
2300         * mktexlsr: doc fix.
2302         * kpathsea.texi (Path searching options): mention --engine=/ trick.
2304 2008-06-16  Karl Berry  <karl@tug.org>
2306         * texmf.cnf (TEXMFDOC): new var.
2307         (TEXMFDBS): use it, so ls-R gets created there.
2308         (TEXMFDOCDIR): use it.
2309         [Reminder: the texmf.cnf here in Build/ is slaved to the one in
2310          Master/.]
2312 2008-06-15  Karl Berry  <karl@tug.org>
2314         * mktexlsr: once again respect dir names given on cmd line.
2316 2008-06-12  Karl Berry  <karl@tug.org>
2318         * tex-file.c () <kpse_cmap_format>: cmap files (texmf/fonts/cmap)
2319         do not have the .cmap suffix.  (t1.cmap, et al., are TeX files,
2320         not cmap files.) So remove the SUFFIXES definition.
2322 2008-05-31  Karl Berry  <karl@tug.org>
2324         * elt-dirs.c (kpse_normalize_path): only output debug line if
2325         value is not 1.  Reformat.
2327         * tex-file.c (INIT_FORMAT): construct human-formatted list of
2328         envvars that are considered for each format, as requested by
2329         Nelson Beebe and others over the years.
2330         (init_format) [KPSE_DEBUG]: include it in the debugging output.
2331         (concatn_with_spaces): the function to make the list.
2333         * tex-make.c: concatn.h unused, removed.
2335         * db.c (DB_HASH_SIZE): 32003 seems a better compromise between the
2336         tiny texmf (~1300 entries) and huge texmf-dist (~62000 entries).
2338 2008-05-29  Karl Berry  <karl@tug.org>
2340         * db.c (DB_HASH_SIZE): increase to 75000+, the actual size of
2341         current ls-R.
2343         * cnf.c: doc fixes.
2345         * Makefile.in (stamp-paths): change var substitutions to use /nonesuch.
2346         (texmf.sed, texmf.cnf): remove targets, we will juse use texmf.cnf.
2347         (install-data): texmf.cnf is in srcdir now.
2349         * texmf.in: remove.
2350         * texmf.cnf: new file, slave to Master/texmf/web2c/texmf.cnf.
2352 2008-05-28  Karl Berry  <karl@tug.org>
2354         * mktexlsr: support --quiet/--silent.
2356 2008-05-24  Karl Berry  <karl@tug.org>
2358         * kpathsea.texi (Specially-recognized files): new node to
2359         document the special filenames kpsewhich now knows about.
2361 2008-05-23  Karl Berry  <karl@tug.org>
2363         * tex-file.c (init_path): do not free the translated env_value,
2364         else raw_path ends up pointing to that freed memory.
2366         * default.h: mention that result is always in new memory.
2367         * kpsewhich.c: recognize texmf.cnf as kpse_cnf_format.
2369         * kpsewhich.c (find_format): use the right formats for texmf.cnf,
2370         dvipdfmx.cfg, fmtutil.cnf, mktex.cnf, and updmap.cfg (as well as
2371         config.ps, earlier).  Same values as texmf/texconfig/tcfmgr.map.
2373 2008-05-18  Karl Berry  <karl@tug.org>
2375         * mktexlsr (vc_dirs): ignore more than just .svn.
2376         Original suggestion from Michael Schutte, Debian bug 481371,
2377         16 May 2008 11:31:20.
2379 2008-05-05  Karl Berry  <karl@tug.org>
2381         * recorder.h: declare our fn variables extern as they should be.
2382         * cnf.c: make the definitions here.
2384 2008-05-04  Karl Berry  <karl@tug.org>
2386         * finish changing license notices to use FSF url instead of
2387         physical address, other minor consistency changes.
2389 2008-05-01  Karl Berry  <karl@tug.org>
2391         * tex-file.c (ALT_SOURCES_SUFFIXES): new macro (.dtx, .ins).
2392         (kpse_init_format) <kpse_texsource_format>: use it.
2394 2008-04-30  Karl Berry  <karl@tug.org>
2396         * kpsewhich.c (read_command_line): leave two spaces before alt
2397         suffixes, just so they can be distinguished.
2399         * tex-file.c (ALT_TEX_SUFFIXES): define this (rather belatedly)
2400         to check for .sty, .cls, etc.
2401         Rename other *_SUFFIXES to ALT_*_SUFFIXES.
2402         
2403         * kpathsea.texi (File lookup): Document this.
2404         * tex-file.c: (target_fontmaps, target_asis_name,
2405         target_suffixed_names): new fns.
2406         (kpse_find_file_generic): call them, respecting new cnf value
2407         try_std_extension_first.
2409 2008-04-29  Karl Berry  <karl@tug.org>
2411         * Makefile.in (install-data): do not cd $(srcdir) in any rule,
2412         that fails when the install program is specified by a relative path.
2414 2008-03-27  Karl Berry  <karl@tug.org>
2416         * tex-make.c: start "running" on a new line, tweak other msgs.
2418 2008-03-07  Peter Breitenlohner  <peb@mppmu.mpg.de>
2420         * kpsewhich.c (main): change type of value from string to
2421         const_string, to avoid warning.
2422         * progname.c (selfdir): change type of elt from string to
2423         const_string, to avoid warning.
2424         * xputenv.c: change type of saved_env from const_string to
2425         string, to avoid warning.
2427 2008-03-06  Peter Breitenlohner  <peb@mppmu.mpg.de>
2429         * access.c, readlink.c: removed `#include <stdio.h>' preceeding
2430         `#include <kpathsea/config.h>' (which in turn includes stdio.h).
2432         * xfseek.c, xftell.c: reverted to state before 2008-02-21.
2433         * xfseeko.c, xftello.c (both new): new functions using off_t
2434         instead of long, and fseeko instead of fseek.
2435         * lib.h: prototypes for xfseek, xfseeko, xftell, and xftello.
2436         * Makefile.in (objects): added xfseeko.lo and xftello.lo.
2438         * configure.in: construct package and (shared) library version
2439         from m4_define'd parts, subtitute KPSE_LT_VERS ...
2440         * Makefile.in ($(kpathsea)): ... here.
2442 2008-03-04  Peter Breitenlohner  <peb@mppmu.mpg.de>
2444         * common.ac: add AC_SYS_LARGEFILE and AC_FUNC_FSEEKO.
2446 2008-03-02  Karl Berry  <karl@tug.org>
2448         * cnf.c (read_all_cnf): change warning text when texmf.cnf is not
2449         found to make it clear we are giving it, and keep it on one line.
2451 2008-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
2453         * common.ac: replace the private macro KPSE_STRUCT_ST_MTIM
2454         by AC_CHECK_MEMBERS([struct stat.st_mtim]).
2456         * common.ac: use AC_CHECK_DECLS([strstr]) and ...
2457         * lib.h: ... replace `#ifndef HAVE_STRSTR' by
2458         `#if !HAVE_DECL_STRSTR'.
2460         * common.ac: Move AC_CONFIG_HEADERS from here ...
2461         * configure.in: ... to here and replace PACKAGE_... by
2462         KPSE_PACKAGE_... in c-auto.h, to avoid conflicts with other
2463         packages.
2465         * configure.in: use AH_TOP, AH_BOTTOM, and AC_DEFINE's third
2466         argument to provide autoheader templates ...
2467         * common.ac: m4 code to generate AC_DEFINE with a third argument
2468         for MAKE_..._BY_DEFAULT and set them to 0 or 1 ...
2469         * withenable.ac: use AC_DEFINE's third argument to provide
2470         autoheader templates ...
2471         * acconfig.h: ... removed.
2473 2008-02-24  Martin Schröder <martin@pdftex.org>
2475         * lib.h: systypes.h instead of c-std.h
2477 2008-02-23  Martin Schröder <martin@pdftex.org>
2479         * lib.h: include c-std.h to get off_t from stdio.h
2481 2008-02-21  Martin Schröder <martin@pdftex.org>
2483         * lib.h, xfseek.c, xftell.c: LFS support: use off_t instead of long
2484         and fseeko instead of fseek
2486 2008-02-14  Karl Berry  <karl@tug.org>
2488         * texmf.in (font_mem_size): increase to 3000000.
2489         (font_max): increase to 5000 (max_font_max increased in tex.ch).
2491 2008-02-11  Karl Berry  <karl@tug.org>
2493         * install.texi: mention mktexfmt, other mktex updates.
2494         (Bug report from Ken Brooks, 03 Aug 2006 15:15:03.)
2496 2008-02-08  Karl Berry  <karl@tug.org>
2498         * texmf.in: texlive2008 to match texmf/web2c/texmf.cnf.
2500 2008-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>
2502         Convert from autoconf-2.13 to autoconf-2.59+:
2503         * Makefile.in: Add @configure_input@ line.
2504         * aclocal.m4 (new): Generated (aclocal -I ../m4).
2505         * configure: Regenerated (autoconf).
2507 2008-01-25  Karl Berry  <karl@tug.org>
2509         * variable.c (expand): do ~ expansion here too, for --expand-var,
2510         or mktexnam fails.
2511         Report from Werner Lemberg, 24 Jan 2008 02:19:49.
2512         * kpathsea.texi (Auxiliary tasks): document this.
2514 2008-01-21  Karl Berry  <karl@tug.org>
2516         * kpsewhich.c, kpathsea.texi: document --all and --subdir.
2518         * db.c through tex-file.c: replace FSF physical address with url.
2520 2008-01-18  Karl Berry  <karl@tug.org>
2522         * kpsewhich.c (subdir_match): XRETALLOC is a statement not a function.
2523         * pathsearch.c (search_list): remove unused variable uniq_list.
2525 2008-01-16  Karl Berry  <karl@tug.org>
2527         * absolute.c through config.h: replace FSF physical address with url.
2529 2008-01-15  Karl Berry  <karl@tug.org>
2531         * variable.c (kpse_var_value): only free if new memory.
2532         
2533         * tex-file.c (kpse_find_file_generic): call kpse_make_tex if the
2534         first element of the list is NULL, not the list itself.
2536 2008-01-14  Karl Berry  <karl@tug.org>
2538         * variable.c (kpse_var_value): also do ~ expansion.
2539         * variable.h: adjust comments.
2540         * kpathsea.texi (Auxiliary tasks): document this.
2542         * tilde.c (HOMEVAR): new #define; "USERPROFILE" on Windows,
2543         "HOME" else.
2544         * tilde.h: adjust comments.
2545         * kpathsea.texi (Tilde expansion): document this.
2547 2008-01-13  Karl Berry  <karl@tug.org>
2549         * remote.c-no: remove this stub.  Suggestion from Martin.
2551         * mktexpk: use $MT_MKTEXDIR in the error message if making
2552         PKDESTDIR fails, instead of hardwiring mktexdir.
2553         From Javier, 7 Jan 2008 11:33:18.
2555         * kpsewhich.c (subdir_match): protect again loc going infinitely
2556         negative.  Found by dak, 8 Jan 2008 14:51:08.
2558 2008-01-05  Karl Berry  <karl@tug.org>
2560         * texmf.in (progname, engine): distinguish the unset values.
2561         (main_memory): increase to 3M.
2562         (font_mem_size): increase to 2.5M.
2563         (trie_size): increase to 400K.
2564         (save_size): increase to 50K.
2565         These size changes per gwtex (except a bit more).
2567 2008-01-02  Karl Berry  <karl@tug.org>
2569         * c-std.h (ALLOC_RETURN_TYPE) [!STDC_HEADERS]: just use void in
2570         the unlikely event we're declaring *alloc ourselves.  No modern
2571         system uses char * for them.
2573 2007-12-23  Karl Berry  <karl@tug.org>
2575         * kpsewhich.c (subdir_match): new fn.
2576         (lookup): call it if requested.
2577         (subdir_paths): new global.
2578         (read_command_line): new option --subdir.
2580 2007-12-22  Karl Berry  <karl@tug.org>
2582         * kpsewhich.c (lookup): handle --all for regular lookups as well
2583                 as user-specific paths.
2584         * pathsearch.c (search_list): uniqify list before returning.
2585         (kpse_path_search_list_generic): new fn.
2586         (kpse_all_path_search_list, kpse_path_search_list): rewrite to
2587                 call ..._generic.
2588         * pathsearch.h (kpse_path_search_list_generic): declare it.
2589         * str-list.c (str_list_uniqify): new fn.
2590         * str-list.h (str_list_uniqify): declare it.
2591         * tex-file.c (kpse_find_file_generic): new name for kpse_find_file
2592                 code, with addition of argument to find all.
2593         (kpse_find_file): rewrite to call ..._generic.
2594         * tex-file.h (kpse_find_file_generic): declare it.
2596 2007-12-17  Karl Berry  <karl@tug.org>
2598         * kpathsea.texi (Path searching options): clarify --expand-path doc.
2600 2007-12-15  Karl Berry  <karl@tug.org>
2602         * kpsewhich.c (read_command_line, USAGE): improve --version and
2603         --help messages.
2605 2007-12-01  Karl Berry  <karl@tug.org>
2607         * texmf.in (MPMEMS, MFBASES, TEXFORMATS): switch to /$engine,
2608         to try to avoid finding a format for the wrong engine.
2609         From Akira.
2611 2007-11-05  Karl Berry  <karl@tug.org>
2613         * texmf.in (allow_multiple_suffixes): unimplemented.
2614         Reported by Akira, 17 Feb 2007 15:44:39.
2616 2007-10-24  Karl Berry  <karl@tug.org>
2618         * mktexpk (MODE) <720>: epscszz.  From Akira.
2619         (PKDESTDIR): Quote.  From Paul Vojta,
2620         tex-k 22 Oct 2007 17:38:56.
2622 2007-09-11  Karl Berry  <karl@tug.org>
2624         * texmf.in (TRFONTS): don't recurse through /usr.
2625         Report from Michail Vidiassov, mp-i 10 Sep 2007 12:55:10.
2627 2007-08-27  Karl Berry  <karl@tug.org>
2629         * fontmap.c (map_file_parse): free the original pointer, not the
2630         potentially moved one (after whitespace skipping).
2631         From: "George N. White III", 25 Jul 2007 11:27:12.
2633 2007-07-29  Karl Berry  <karl@tug.org>
2635         * depend.mk: regenerate again.
2637 2007-07-24  Karl Berry  <karl@tug.org>
2639         * recorder.h (kpse_input, kpse_output): use const_string as
2640         argument, not just char *, to avoid warning.
2642         * fontmap.c (map_file_parse): kpse_record_input if requested.
2643         From Akira, 23 Jul 2007 10:20:58 (original report from George
2644         White).
2646 2007-07-15  Karl Berry  <karl@tug.org>
2648         * depend.mak: update.
2650 2007-07-06  Karl Berry  <karl@tug.org>
2652         * tex-file.c (init_path) <kpse_lua_format>: let's make the format
2653         name be lua rather than luatex; otherwise kpsewhich -format=luatex
2654         finds kpse_tex_format sometimes, and it seems unnecessary to debug
2655         that just now.
2656         Also, set suffix_search_only=true.
2657         (LUA_SUFFIXES): put compiled suffixes first.
2659 2007-07-05  Karl Berry  <karl@tug.org>
2661         * tex-file.h (kpse_file_format_type): define kpse_lua_format.
2662         * tex-file.c (LUA_ENVS, LUA_SUFFIXES): new macros
2663         (init_path): initialize kpse_lua_format.
2665         * texmf.in (LUAINPUTS): add $TEXINPUTS per Hans and Taco.
2667 2007-06-14  Karl Berry  <karl@tug.org>
2669         * texmf.in: doc fix ({a,b} is not deprecated).
2671 2007-05-19  Karl Berry  <karl@tug.org>
2673         * texmf.in (SYSTEXMF): add TEXMFSYSVAR (thread around 7mar07).
2675 2007-05-05  Karl Berry  <karl@tug.org>
2677         * kpsewhich.c (find_format): hardware kpse_dvips_config_format for
2678         config.ps.
2680         * texmf.in (TEXMFMAIN, TEXMFDIST, TEXMFLOCAL, TEXMFSYSVAR,
2681         TEXMFSYSCONFIG, VARTEXFONTS, MIMELIBDIR, MAILCAPLIBDIR, TEXMFNCF):
2682         use @texmf@ etc. expansions so that (hopefully)
2683         --disable-multiplatform works again.  For TEXMFCNF, restore
2684         inclusion of $TEXMF/web2c, too.  Reported by Peter M.
2686 2007-03-21  Karl Berry  <karl@tug.org>
2688         * install.texi (Shared library): remove mention of klibtool.
2690 2007-03-09  Akira Kakuto  <kakuto@fsci.fuk.kindai.ac.jp>
2692         * tex-file.c (kpse_init_format): reduce to just .fmt;
2693         and allow both .t42 and .T42.
2695 2007-02-26  Karl Berry  <karl@tug.org>
2697         * bugs.texi (Logging): mention pdftex -recorder and strace et al.
2698         (Bug checklist): Remove my old physical address.
2700 2007-02-02  Karl Berry  <karl@tug.org>
2702         * texmf.in (OVFFONTS): search for vf.
2703         (OFMFONTS): explicitly adding TFMFONTS seems unnecessary.
2704         From Hans and Taco, 25 Jan 2007.
2706 2006-12-30  Karl Berry  <karl@tug.org>
2708         * configure.in (KPSEVERSION): 3.5.6.
2710 2006-12-29  Karl Berry  <karl@tug.org>
2712         * tex-make.c (set_maketex_mag): deleted wrong extra arg;
2713         do not generate args with spaces for mf.  From Akira.
2715 2006-12-26  Karl Berry  <karl@tug.org>
2717         * tex-make.c: (set_maketex_mag): remove spurious extra argument
2718           `r' to sprintf.
2719         (maketex): remove unused variable status.
2721 2006-12-25  Karl Berry  <karl@tug.org>
2723         * mktexlsr: support --verbose.
2725 2006-12-14  Karl Berry  <karl@tug.org>
2727         * texmf.in: unify with TL texmf.cnf to make only real differences
2728         show up.
2730 2006-12-09  Karl Berry  <karl@tug.org>
2732         * c-memstr.h (strings.h): don't include if HAVE_STRING_H (as all
2733         systems should, these days).  Reported by vvv.
2735 2006-07-15  Karl Berry  <karl@tug.org>
2737         * expand.c (kpse_expand_kpse_dot): omit empty path elements from
2738         TEXMFCNF, per http://bugs.debian.org/358330.  Patch from Julian
2739         Gilbey, tex-k/tex-live mail 27 Mar 2006 19:32:43 +0100.
2741 2006-02-03  Karl Berry  <karl@tug.org>
2743         * mktexlsr: ignore .svn directories.
2745 2005-08-13  Olaf Weber  <olaf@infovore.xs4all.nl>
2747         * kpsewhich.c: Update copyright message.
2749 2005-08-03  Olaf Weber  <olaf@infovore.xs4all.nl>
2751         * README: Change references to COPYING and COPYING.LIB to GPL and
2752         LGPL.
2754         * kpathsea.texi: Change references to COPYING and COPYING.LIB to
2755         GPL and LGPL.
2757         * readlink.c: Correct license banner.
2759 2005-07-27  Olaf Weber  <olaf@infovore.xs4all.nl>
2761         * Makefile.in: Add comment to start of kpathsea.h.
2763         * absolute.h, acconfig.h, c-ctype.h, c-dir.h, c-errno.h,
2764         c-fopen.h, c-limits.h, c-memstr.h, c-minmax.h, c-namemx.h,
2765         c-pathch.h, c-pathmx.h, c-proto.h, c-stat.h, c-std.h, c-unistd.h,
2766         c-vararg.h, cnf.h, concatn.h, config.h, db.h, debug.h, default.h,
2767         expand.h, fn.h, fontmap.h, getopt.h, hash.h, lib.h, line.h,
2768         magstep.h, pathsearch.h, proginit.h, progname.h, readable.h,
2769         str-list.h, str-llist.h, systypes.h, tex-file.h, tex-glyph.h,
2770         tex-hush.h, tex-make.h, tilde.h, truncate.h, types.h, variable.h,
2771         xopendir.h, xstat.h: Update copyright, license to LGPL 2.1.
2773 2005-07-26  Olaf Weber  <olaf@infovore.xs4all.nl>
2775         * access.c, readlink.c: Update copyright, license text.
2777         * atou.c, absolute.c, cnf.c, concat.c, concat3.c, concatn.c, db.c,
2778         debug.c, dir.c, elt-dirs.c, expand.c, extend-fname.c, file-p.c,
2779         find-suffix.c, fn.c, fontmap.c, getopt.c, getopt1.c, hash.c,
2780         kdefault.c, kpsestat.c, kpsewhich.c, line.c, magstep.c,
2781         make-suffix.c, path-elt.c, pathsearch.c, proginit.c, progname.c,
2782         readable.c, rm-suffix.c, str-list.c, str-llist.c, strcasecmp.c,
2783         strstr.c, strtol.c, tex-file.c, tex-glyph.c, tex-hush.c,
2784         tex-make.c, tilde.c, truncate.c, uppercasify.c, variable.c,
2785         version.c, xbasename.c, xcalloc.c, xdirname.c, xfopen.c, xfseek.c,
2786         xftell.c, xgetcwd.c, xopendir.c, xrealloc.c, xstat.c, xstrdup.c:
2787         Update copyright, license to LGLP 2.1.
2789         * xmalloc.c, xrealloc.c: Update copyright, license to LGPL 2.1.
2790         Don't include stdio.h directly, it comes via config.h.
2792 2005-07-25  Olaf Weber  <olaf@infovore.xs4all.nl>
2794         * texmf.in: Increase trie_size.  Remove inaccurate comment about
2795         its limits.
2797         * common.ac: Remove the check for SMART_PUTENV, the xputenv code
2798         has been rewritten not to need this.
2800         * tex-file.c (kpse_init_format): Add uppercase versions of the
2801         .ttf and .ttc suffixes for truetype fonts.  Don't require a
2802         recognized suffix.
2804         * types.h: Don't #define true if it is already defined.  From Karl
2805         Berry.
2807         * mktexmf: Additional change for generating cbgreek from Thomas.
2809 2005-07-12  Olaf Weber  <olaf@infovore.xs4all.nl>
2811         * mktexmf: Patterns for cbgreek weren't inclusive enough.  From
2812         Thomas.
2814 2005-07-10  Olaf Weber  <olaf@infovore.xs4all.nl>
2816         * tex-file.c (kpse_init_format): Revive .otf extension for
2817         kpse_opentype_format, requested by Akira Kakuto
2818         <kakuto@fsci.fuk.kindai.ac.jp>.
2820         * tex-make.c (maketex): Print the name of the failing command
2821         instead of always mktexpk.  From Karl berry
2822         <karl@freefriends.org>.
2824         * acconfig.h: Remove SMART_PUTENV code.
2826         * xputenv.c (xputenv): Replace with code that doesn't depend on
2827         the SMART_PUTENV check.
2828         (common.ac): Remove SMART_PUTENV check code.
2830 2005-06-29  Olaf Weber  <olaf@infovore.xs4all.nl>
2832         * tex-make.c: Metafont doesn't like literals larger than anout
2833         4000, so try to avoid them when specifying magnifications.  From
2834         Werner Fink <werner@suse.de>.
2836         * hash.h [KPSE_DEBUG]: Add KPSEDLL to declaration of
2837         kpse_debug_hash_lookup_int.  From Jan Nieuwenhuizen
2838         <janneke@gnu.org>.
2840 2005-06-26  Olaf Weber  <olaf@infovore.xs4all.nl>
2842         * xt.ac: Fully quote the arguments of AC_ARG_WITH.  From Peter
2843         Breitenlohner.
2845         * withenable.ac: Fully quote arguments of AC_ARG_WITH.  From Peter
2846         Breitenlohner.
2848         * configure.in: Syntax changes to match autoconf2.5x.  From Peter
2849         Breitenlohner.  Version to 3.5.5.
2851         * common.ac: Fully quote AC_CONFIG_HEADERS.  From Peter
2852         Breitenlohner.
2854         * Makefile.in: Replace ac_include with kpse_include.  From Peter
2855         Breitenlohner.
2857 2005-06-22  Olaf Weber  <olaf@infovore.xs4all.nl>
2859         * common.ac: Add KPSE_STRUCT_ST_MTIM check.
2861         * expand.c: Update some comments.
2863         * pathsearch.c: Update some comments.
2865         * tex-file.c (init_path): Translate ';' to ':' in values we get
2866         from the environment if the latter is our env_sep.
2868         * cnf.c (do_line): Always translate ';' to ':' in config values if
2869         the latter is the env_sep.
2871         * kpathsea.texi: Remove ALLOW_SEMICOLON_IN_FILENAMES comment.
2873 2005-06-21  Olaf Weber  <olaf@infovore.xs4all.nl>
2875         * mktexlsr: Re-export PATH after changing it.  Some shells require
2876         this.  Reported by Albert Chin <china@thewrittenword.com>.
2878         * tex-file.c (kpse_find_file): Call kpse_expand() to do tilde and
2879         variable expansion, which kpse_path_search_list() doesn't do, but
2880         kpse_path_search() did.  Re-enabling this was requested by several
2881         people, including Oliver Grewe <olligrewe@nexgo.de>.
2883         * mktexpk, bugs.texi: From Karl Berry: "Try to be more informative
2884         when mktexpk can't guess the mode; reported by Knuth in tex-k
2885         mail, 26 Apr 2005 18:07:20 -0400."
2887 2005-04-10  Olaf Weber  <olaf@infovore.xs4all.nl>
2889         * tilde.c (kpse_tilde_expand): Slightly simplify code.
2891         * tilde.c (kpse_tilde_expand): Account for the possibility that
2892         we're fed an argument starting with "!!~".  Problem reported by
2893         DEK.
2895 2005-03-07  Olaf Weber  <olaf@infovore.xs4all.nl>
2897         * install.texi: Document texmfvar and USE_TEXMFVAR.  From Thomas.
2899         * mktexdir: Break out of loop on failure of mkdir.  Last-minute
2900         change for teTeX 3.0 from Thomas.
2902 2005-02-06  Olaf Weber  <olaf@infovore.xs4all.nl>
2904         * kpsereadlink.man: Correct banner: READLINK -> KPSEREADLINK.
2906 2005-02-05  Olaf Weber  <olaf@infovore.xs4all.nl>
2908         * Makefile.in (texmf.sed): With TEXMFSYSVAR and TEXMFSYSCONFIG
2909         added, there's even more potential damage to clean up.
2910         (uninstall-data): Try to cleanly uninstall the info document.
2912         * texmf.in: Add TEXMFSYSVAR, TEXMFSYSCONFIG for teTeX 3.0.  From
2913         Thomas.
2915 2005-01-25  Olaf Weber  <olaf@infovore.xs4all.nl>
2917         * mktexmf: Don't redirect output of cd, Ultrix doesn't like that.
2919 2005-01-21  Olaf Weber  <olaf@infovore.xs4all.nl>
2921         * Makefile.in: Change POSTINSTALL to POST_INSTALL.
2923         * mktex.opt: Add texmfvar to list of allowed feature options.
2925         * mktexlsr: Make getting the list of directories from $TEXMFDBS
2926         more robust.  From Thomas.
2928         * kpsereadlink.man, kpsestat.man, kpsewhich.man, mktexlsr.man,
2929         mktexmf.man, mktextfm.man, mktexpk.man, kpseaccess.man: Man page
2930         corrections from Eric S. Raymond <esr@thyrsus.com>.
2932 2005-01-07  Olaf Weber  <olaf@infovore.xs4all.nl>
2934         * mktexpk: Add guess ultre for 1200 dpi.  This is a fairly neutral
2935         mode, also useful for pdftex.  From Karl Berry.
2937         * mktexlsr: Make sorting the texmf trees more robust.  From
2938         Thomas.
2940 2004-12-29  Olaf Weber  <olaf@infovore.xs4all.nl>
2942         * configure.in: Version 3.5.4.
2944         * mktexlsr: Remove duplicate trees.  From Thomas.
2946         * mktexdir: Remove superfluous cd.  From Thomas.
2948         * withenable.ac: Sync with Thomas' version, removes
2949         --enabled-multiplatform code.
2951 2004-12-28  Olaf Weber  <olaf@infovore.xs4all.nl>
2953         * Makefile.in (texmf.sed): New variables were added named TEXMF*.
2954         The cleanup code needed additional fixes for this.  From Thomas
2955         Esser.
2957         * mktexnam.opt: Improve comment.
2959         * mktexnam: Handle texmfvar option, which directs all writes into
2960         the system trees to the TEXMFVAR tree, with the usual caveats.
2962         * mktexnam.opt: Add texmfvar option.
2964         * texmf.in: Changes to bring it close to teTeX 3.0.
2966 2004-12-20  Olaf Weber  <olaf@infovore.xs4all.nl>
2968         * texmf.in: For XeTeX: TEXINPUTS.xetex, TEXINPUTS.xelatex,
2969         OTFFONTS.
2971 2004-12-19  Olaf Weber  <olaf@infovore.xs4all.nl>
2973         * xt.ac: Mark --with-x-toolkit as obsolete.
2975         * Makefile.in [KPATHSEA_CC]: Don't quote $(CC), as it prevents
2976         libtool from functioning properly if $(CC) contains options in
2977         addition to the compiler name.  From Harald Koenig
2978         <koenig@science-computing.de>.
2980         * mktexpk: Add guesses for dpi 360 and 720.  From Frank Küster
2981         <frank@kuesterei.ch> (Debian maintainer).
2983         * mktexlsr: Write all regular progress messages to stderr, instead
2984         of some to stdout.
2986         * mktexdir: Handle directories with spaces in the names.
2988         * mktexupd: If we've called mktexlsr, there is no need to do
2989         anything else, so exit immediately.  From Thomas.
2991 2004-11-28  Olaf Weber  <olaf@infovore.xs4all.nl>
2993         * texmf.in: Add default entries for $progname and $engine, so we
2994         don't expand these to empty if the file is used by pre 3.5.3
2995         implementations.
2997         * mktexmf: Extend the pattern for the cbgreek fonts.  From Hartmut
2998         Henkel <hartmut_henkel@gmx.de>.
3000 2004-10-05  Olaf Weber  <olaf@infovore.xs4all.nl>
3002         * texmf.in: Add TEXINPUTS.lamed (Aleph's version of lambda) and
3003         TEXINPUTS.uft8mex (utf8 variation of mex).
3005 2004-08-24  Olaf Weber  <olaf@infovore.xs4all.nl>
3007         * mktex.opt: Correct syntax error.  Reported by Staszek
3008         Wawrykiewicz <staw@gust.org.pl>.
3010 2004-08-23  Olaf Weber  <olaf@infovore.xs4all.nl>
3012         * texmf.in: The TEXINPUTS.pdftexinfo entry in obsolete, and will
3013         be removed in the future.  Alert by Vladimir Volovich
3014         <vvv@vsu.ru>.
3016         * tex-file.c (kpse_find_file): Make debug message conditional
3017         KPSE_DEBUG_SEARCH being set.
3019         * kpsewhich.c: Remove spurious space in usage message.
3021         * tex-file.c (kpse_find_file): Add debug message to clarify what
3022         the library is doing when.  From Karl Berry <karl@tug.org>.
3023         
3024         * tex-file.c: Add TEXFONTS to the environment variables for all
3025         kinds of font-related stuff.  This means you can, if you want to,
3026         just dump all font-related files in a single directory and set a
3027         single variable to point to it.  It doesn't have a default.
3028         Suggested by Karl Berry, Hans Hagen, Akira Kakuto.
3029         
3030 2004-08-17  Olaf Weber  <olaf@infovore.xs4all.nl>
3032         * mktexlsr, mktex.opt: Use "test ... || test ..." instead of
3033         "test ... -o ...".
3035 2004-08-06  Olaf Weber  <olaf@infovore.xs4all.nl>
3037         * xdirname.c: Cygwin also understands UNC names.  From Jan
3038         Nieuwenhuizen <janneke@gnu.org>.
3040         * config.h: Do not define DOSISH for Cygwin.  After Jan
3041         Nieuwenhuizen <janneke@gnu.org>.
3043         * mktex.opt: Refine the test of $COMPSEC a bit, to accomodate
3044         Cygwin.  After Jan Nieuwenhuizen <janneke@gnu.org>.
3046         * mktexlsr: Refine the test for $COMSPEC a bit, to accomodate
3047         Cygwin.  After Jan Nieuwenhuizen <janneke@gnu.org>.
3049         * Makefile.in: Define MAKE_KPSE_DLL when compiling the library to
3050         support ugly windows declspec stuff.  From Jan Nieuwenhuizen
3051         <janneke@gnu.org>.
3053         * c-proto.h: Clean up the defines for KPSEDLL a bit.  From Jan
3054         Nieuwenhuizen <janneke@gnu.org>.
3056         * getopt.h: Clean up defines for KPSEDLL a bit.  From Jan
3057         Nieuwenhuizen <janneke@gnu.org>.
3059 2004-08-01  Olaf Weber  <olaf@infovore.xs4all.nl>
3061         * texmf.in: Undoing some simplifications of the search paths, in
3062         particular the texmf/{engine1,engine2,...} style paths are back to
3063         accomodate older texmf trees.
3065 2004-07-23  Olaf Weber  <olaf@infovore.xs4all.nl>
3067         * texmf.in: Adapt TRFONTS to Linux groff path, which is the most
3068         useful variant these days.
3070 2004-07-21  Olaf Weber  <olaf@infovore.xs4all.nl>
3072         * Makefile.in (uninstall-exec): Add removal rules for libkpathsea
3073         and the programs other than kpsewhich.
3075         * kpathsea.texi: Push copyright to bottom of page.
3077         * texmf.in: Add paths for pdfxtex, pdfxlatex.  After Peter
3078         Breitenlohner <peb@mppmu.mpg.de>.
3080         * texmf.in: Updates/simplifications to paths, from Thomas.
3082 2004-07-19  Olaf Weber  <olaf@infovore.xs4all.nl>
3084         * db.c (kpse_db_search_list): Add cast to suppress warning about
3085         discarding "const".
3087 2004-07-03  Olaf Weber  <olaf@infovore.xs4all.nl>
3089         * common.ac: No m4 quoting needed in the KPSE_CROSS_BUILD_VAR
3090         calls.
3092         * common.ac: Add some invocations of KPSE_CROSS_BUILD_VAR matching
3093         usage in ../make/cross.mk.
3095         * mktextfm: Use the same code as mktexpk for ignoring metafont
3096         errors, to ensure that mktextfm and mktexpk ignore identical sets
3097         of metafont errors.
3099 2004-06-28  Olaf Weber  <olaf@infovore.xs4all.nl>
3101         * kpathsea.texi: Use @copying, so the license ends up in the HTML
3102         output.  Use @ifnottex instead of @ifinfo, so that makeinfo --html
3103         works without further effort.  From Karl Berry.
3105         * install.texi: Name of bash manual is now "bash".  From Karl
3106         Berry.
3108 2004-06-22  Olaf Weber  <olaf@infovore.xs4all.nl>
3110         * c-memstr.h [HAVE_STRINGS_H]: Include strings.h if it is
3111         available, as opposed to just doing if HAVE_STRING_H is not
3112         defined.  Otherwise we give conflicting information whether
3113         certain old-style functions like index, rindex are defined.
3114         * common.ac: Also check for strings.h.
3116         * c-memstr.h: Add definitions for index and rindex in terms of
3117         strchr and strrchr, as we've got some old code in TeX-live that
3118         needs this on some platforms.
3120 2004-06-15  Olaf Weber  <olaf@infovore.xs4all.nl>
3122         * install.texi: Karl Berry pointed out that GNU fileutils is now
3123         GNU coreutils.
3125 2004-06-14  Olaf Weber  <olaf@infovore.xs4all.nl>
3127         * kpathsea.texi: Make it more obvious that applications will often
3128         just want to use <kpathsea/kpathsea.h> rather than pick and choose
3129         headers.
3131 2004-06-11  Olaf Weber  <olaf@infovore.xs4all.nl>
3133         * kpsewhich.c: Update copyright dates.
3135 2004-05-28  Olaf Weber  <olaf@infovore.xs4all.nl>
3137         * mktexlsr: Rename readlink to kpsereadlink to avoid name clash.
3139         * Makefile.in: Rename readlink to kpsereadlink to avoid name
3140         clash.
3142 2004-05-26  Olaf Weber  <olaf@infovore.xs4all.nl>
3144         * tex-file.c: Make .fmt the only "true" suffix for format files,
3145         and add all other suffixes to the list of alternates.  In the next
3146         version, these alternates will be dropped entirely.
3148 2004-05-11  Olaf Weber  <olaf@infovore.xs4all.nl>
3150         * Makefile.in (mostlyclean): access -> kpseaccess.  From Thomas.
3152 2004-05-08  Olaf Weber  <olaf@infovore.xs4all.nl>
3154         * mktexlsr: Widen the matches for the lsR-pattern, so we omit the
3155         temporary directory we used.
3157 2004-05-07  Olaf Weber  <olaf@infovore.xs4all.nl>
3159         * texmf.in: Use $engine in some paths.
3161         * kpathsea.texi: Date is May 2004.
3163         * kpathsea.texi: Document --engine.
3165         * kpsewhich.man: Document -engine.
3167         * kpsewhich.c: Implement -engine option.
3169 2004-04-24  Olaf Weber  <olaf@infovore.xs4all.nl>
3171         * cnf.c (read_all_cnf): Fix memory leak.
3173         * mktexupd: Fix logic error.  Found by Thomas Esser.
3175         * tex-file.c (kpse_init_fallback_resolutions): Fix memory leak.
3177 2004-04-23  Olaf Weber  <olaf@infovore.xs4all.nl>
3179         * db.c (kpse_db_search_list): Allow matches like base/plain.tex
3180         when a db is used.  This was a regression introduced by the switch
3181         to kpse_db_search_list.  Like the original code, this only works
3182         with '/' used for dirsep.  Reported by Wlodzimierz Bzyl
3183         <matwb@univ.gda.pl>.
3185 2004-04-17  Olaf Weber  <olaf@infovore.xs4all.nl>
3187         * kpsewhich.c (lookup): Partial implementation of -all option.
3188         Works only in combination with the -path option.
3189         * tex-file.c: Add to list of suffixes that may be used for format
3190         files.
3192         * kpathsea.texi: Document -var-value option kpsewhich.
3194         * kpsewhich.man: Document -var-value.
3196         * kpsewhich.c: Add -var-value option.  Change loop that checks for
3197         a kpse_file_format_type to check kpse_format_fmt last.
3199         * texmf.in: Add TEXINPUTS.aleph, TEXINPUTS.alambda.
3201 2004-04-01  Olaf Weber  <olaf@infovore.xs4all.nl>
3203         * mktexpk: Use dpdfezzz if given 8000 for BDPI.  Apparently this
3204         is what -Ppdf ends up giving the script.
3206 2004-03-26  Olaf Weber  <olaf@infovore.xs4all.nl>
3208         * Makefile.in (install): access -> kpseaccess
3210 2004-03-23  Olaf Weber  <olaf@infovore.xs4all.nl>
3212         * db.c (kpse_init_db): Look for both "ls-R" and "ls-r" files.
3213         Same contents, but when working cross-platform the all-lowercase
3214         name is easier to work with.
3216         * tex-file.c: Add .afmt as recognized suffix to kpse_fmt_format
3217         (for Aleph).  Add ls-r as recognized suffix to kpse_db_format.
3219         * mktexlsr: Allow both ls-R and ls-r as names for an existing
3220         directory tree index file.  Always create ls-R.
3222         * mktexupd: Check for both ls-R and ls-r.
3224         * pathsearch.h (kpse_all_path_search_list): New function.  Like
3225         kpse_path_search_list, with must_exist true, but returns a list of
3226         filenames instead of the first hit.
3228         * pathsearch.c (kpse_all_path_search_list): New function.  Like
3229         kpse_path_search_list, with must_exist true, but returns a list of
3230         filenames instead of the first hit.
3232         * tex-make.c [WIN32] (maketex): Code to print error message for
3233         ERROR_BROKEN_PIPE didn't match the format.
3235         * mktexpk: Allow 'angle(0,0)' errors without aborting.  From
3236         Andreas Degert <ad@papyrus-gmbh.de>.
3238         * unixtex.texi: Update from Karl Berry.
3240 2004-03-21  Olaf Weber  <olaf@infovore.xs4all.nl>
3242         * withenable.ac: Make the warnings more obvious if the search for
3243         the texmf tree fails.  Also try to fall back on kpsewhich if we
3244         fail to find anything.  A simplified version of code proposed by
3245         Stefan Ulrich <stefan.ulrich@zen.co.uk> for xdvik.
3247 2004-03-16  Olaf Weber  <olaf@infovore.xs4all.nl>
3249         * texmf.in: Add file_line_error_style variable, default to false.
3251 2004-02-26  Olaf Weber  <olaf@infovore.xs4all.nl>
3253         * tex-make.c (maketex): Clean up unused variables.
3255         * texmf.in: Update link in comment for TEXFONTMAPS.
3257 2004-02-25  Olaf Weber  <olaf@infovore.xs4all.nl>
3259         * mktexnam: Use kpseaccess instead of access.
3261         * mktexlsr: Use kpseaccess instead of access.
3263         * Makefile.in: Rename the access executable to kpseaccess, as the
3264         old name tended to interfere.
3266         * kpseaccess.man: Formerly known as access.man.
3268         * mktexlsr: Only check for magic string in ls-R file if the file
3269         size is larger than 0.  Assume that a 0-length ls-R can be
3270         overwritten without penalty.
3272         * mktexlsr: Use a more accurate method to ensure that directory
3273         names, and only directory names, start with ./ in the ls-R file.
3275 2004-02-16  Olaf Weber  <olaf@infovore.xs4all.nl>
3277         * tex-file.c: Rename kpse_script_format to
3278         kpse_texmfscripts_format.
3280         * tex-file.h: Rename kpse_script_format to
3281         kpse_texmfscripts_format.
3283 2004-02-15  Olaf Weber  <olaf@infovore.xs4all.nl>
3285         * mktexpk: psfonts.map and ps2pk.map now found through the map
3286         format.
3288         * kpsewhich.c (find_format): psfonts.map and pdftex.map are no
3289         longer special case, pdftex.cfg is a special case now.
3291         * kpathsea.texi: Update for new formats (misc fonts, web, cweb,
3292         enc, cmap, sfd, opentype fonts, pdftex config, lig files,
3293         texmfscripts).
3295         * tex-file.c: Add kpse_lig_format and kpse_script_format.
3297         * tex-file.h: Add kpse_lig_format and kpse_script_format.
3299         * texmf.in: Add LIGFONTS and TEXMFSCRIPTS.
3301 2004-02-10  Olaf Weber  <olaf@infovore.xs4all.nl>
3303         * db.c (kpse_db_search_list): An absolute or explicit relative
3304         name that makes it here would not be found anyway, so test for it
3305         and skip.
3307         * pathsearch.c (search_list): If we're given only absolute or
3308         relative filenames, then there is no need to dig into the database
3309         or filesystem.
3310         (dir_list_search_list): Skip any absolute filenames that make it here.
3312 2004-02-08  Olaf Weber  <olaf@infovore.xs4all.nl>
3314         * Makefile.in (stamp-paths): Add TEXMFDIST.  Suggested by Thomas.
3316         * texmf.in: Add TEXMFDIST, suggested by Thomas.
3318 2004-01-09  Olaf Weber  <olaf@infovore.xs4all.nl>
3320         * tex-file.c: Add kpse_pdftex_config_format.  From Thomas.
3322         * tex-file.h: Add kpse_pdftex_config_format.  From Thomas.
3324 2004-01-04  Olaf Weber  <olaf@infovore.xs4all.nl>
3326         * texmf.in: Modifications to several paths suggested by Thomas.
3328 2003-12-17  Olaf Weber  <olaf@infovore.xs4all.nl>
3330         * tex-make.c (kpse_make_tex): Allow '+' is font names as well.
3331         Reported by Hartmut Henkel <hartmut_henkel@gmx.de>.
3333 2003-12-14  Olaf Weber  <olaf@infovore.xs4all.nl>
3335         * progname.c: Set "progname" in the environment.
3337         * tex-file.h: Add new formats: kpse_enc_format, kpse_cmap_format,
3338         kpse_sfd_format, kpse_opentype_format.  Requested by Thomas.
3340         * tex-file.c: Add new formats: kpse_enc_format, kpse_cmap_format,
3341         kpse_sfd_format, kpse_opentype_format.  Requested by Thomas.
3343 2003-02-27  Olaf Weber  <olaf@infovore.xs4all.nl>
3345         * mktexmf: csso12[0-5][0-9] are from CJK package; unsupported by
3346         mktexmf.  Fix by Werner Lemberg <wl@gnu.org>.
3348 2003-02-19  Olaf Weber  <olaf@infovore.xs4all.nl>
3350         * kpathsea.texi: Version 3.5.2.
3352         * configure.in: Version 3.5.2.
3354         * cnf.c (do_line): KISS: Use IS_ENV_SEP(':') to check whether we
3355         might want to replace ';' with ':' in paths instead of trying to
3356         figure whether 'unix' should have been defined.
3358         * db.c (kpse_db_search_list): Change fix to prevent "re-use" of
3359         aliases for the sake of clearer code.
3361         * db.c: Set aliases to NULL after freeing it, so we don't try to
3362         realloc the same value as well.  Reported by Thomas Esser
3363         <te@dbs.uni-hannover.de>.
3365 2003-02-17  Olaf Weber  <olaf@infovore.xs4all.nl>
3367         * configure.in: Version 3.5.1.
3369         * kpathsea.texi: Version 3.5.1.
3371 2003-02-15  Olaf Weber  <olaf@infovore.xs4all.nl>
3373         * kpathsea.texi: Version 3.5.0.
3375         * configure.in: Version 3.5.0.
3377         * kpathsea.version: removed.
3379         * Makefile.in (dist): Remove kpathsea.version.
3381         * common.ac: From klibtool to libtool.  Based on patches from
3382         Albert Chin-A-Young <china@thewrittenword.com>.
3384         * Makefile.in: From klibtool to libtool.  Based on patches from
3385         Albert Chin-A-Young <china@thewrittenword.com>.
3387         * texmf.in: Add TEXINPUTS.olatex path.
3389         * tex-file.c: Add additional suffixes for formats.
3391         * withenable.ac: When texmfmain is derived from ${prefix}, don't
3392         expand ${prefix}.
3394 2003-02-11  Olaf Weber  <olaf@infovore.xs4all.nl>
3396         * pathsearch.c (search_list): Add some grotty code for the
3397         searches of absolute pathnames.  (Grotty: if _any_ of the given
3398         pathnames is absolute or explicit relative, _and_ it is found, we
3399         stop searching then and there.)  Found by Peter Breitenlohner
3400         <peb@mppmu.mpg.de>.
3402 2003-02-07  Olaf Weber  <olaf@infovore.xs4all.nl>
3404         * kpathsea.version: Version 3.4.6
3406         * kpathsea.texi: Version 3.4.6.
3408         * configure.in: Version 3.4.6.
3410         * texmf.in: Additions for e-Omega.
3412         * tex-file.c (kpse_find_file): Use kpse_path_search_list for
3413         search.
3415         * pathsearch.h (kpse_path_search_list): New function.
3417         * pathsearch.c (dir_list_search_list): New function.
3418         (search_list): New function.
3419         (kpse_path_search_list): New function: search for a list of names,
3420         look for all names in the list in each directory before moving to
3421         the next directory.
3423         * db.h (kpse_db_search_list): New function.
3425         * db.c (kpse_db_search_list): New function.
3427 2003-01-31  Olaf Weber  <olaf@infovore.xs4all.nl>
3429         * lib.h: Add include of c-proto.h.  Suggested by Peter
3430         Breitenlohner.
3432 2003-01-29  Olaf Weber  <olaf@infovore.xs4all.nl>
3434         * kpathsea.version: Version 3.4.5.
3436         * kpathsea.texi: Version 3.4.5.
3438         * configure.in: Version 3.4.5.
3440 2003-01-24  Olaf Weber  <olaf@infovore.xs4all.nl>
3442         * config.h [KPATHSEA]: 33 -> 34.
3443         [DEV_NULL]: Added, "/dev/null" on unix, "NUL" on DOSISH.
3445         * texmf.in [TEXCONFIG]: Remove "." from path for security reasons.
3447 2003-01-16  Olaf Weber  <olaf@infovore.xs4all.nl>
3449         * kpathsea.texi: Version 3.4.4.
3451         * configure.in: Version 3.4.4.
3453         * kpathsea.version: Version 3.4.4.
3455         * unixtex.texi: Updates.
3457 2003-01-14  Olaf Weber  <olaf@infovore.xs4all.nl>
3459         * texmf.in: Uncomment definitions for VARTEXMF, HOMETEXMF.  Change
3460         TEXMF itself to be same as teTeX.  Move '//' outside braces in
3461         XDVIINPUTS and DVIPDFMINPUTS -- not strictly needed, but
3462         consistent with how we do it everywhere else.  Comment out (but
3463         otherwise retain) KPSE_DOT.
3465 2003-01-11  Olaf Weber  <olaf@infovore.xs4all.nl>
3467         * kpathsea.version: Version 3.4.3.
3469         * kpathsea.texi: Version 3.4.3.
3471         * configure.in: Version 3.4.3.
3473 2003-01-08  Olaf Weber  <olaf@infovore.xs4all.nl>
3475         * texmf.in: Add TEXPSHEADERS.dvipdfm, from Thomas.
3477 2002-12-25  Olaf Weber  <olaf@infovore.xs4all.nl>
3479         * tex-file.c (kpse_init_format): Add ".web" to the suffixes
3480         recognized for cweb.
3482 2002-12-23  Olaf Weber  <olaf@infovore.xs4all.nl>
3484         * dir.c (dir_links): Argh.  Error while merging stuff from
3485         Fabrice.
3487         * kpathsea.version: Version 3.4.2.
3489         * configure.in: Version 3.4.2.
3491         * kpathsea.texi: Version 3.4.2.
3493         * tex-make.c (maketex) [WIN32]: Add program calling
3494         implementation.  From Fabrice Popineau
3495         <Fabrice.Popineau@supelec.fr>.
3497         * Makefile.in: Test for kpathsea.info explicitly in current
3498         directory. Some makes prepend the source dir path otherwise, which
3499         would cause installation of the info files to fail.  From Thomas
3500         Esser <te@dbs.uni-hannover.de>.
3502 2002-12-20  Olaf Weber  <olaf@infovore.xs4all.nl>
3504         * configure.in: Version 3.4.1.
3506         * kpathsea.texi: Version 3.4.1.
3508         * kpathsea.version: Version 3.4.1.
3510         * tex-file.c (add_suffixes): Removed function.
3511         (SUFFIXES, ALT_SUFFIXES): Use kpse_set_suffixes instead of
3512         add_suffixes.
3514         * tex-make.c (kpse_make_tex): On second thought, we should not get
3515         dirseps in these names, ever.
3517 2002-12-17  Olaf Weber  <olaf@infovore.xs4all.nl>
3519         * tex-make.c (maketex): Be sure to set ret to NULL if there's
3520         nothing to return.  From Akira Kakuto
3521         <kakuto@fsci.fuk.kindai.ac.jp>.
3523 2002-12-15  Olaf Weber  <olaf@infovore.xs4all.nl>
3525         * tex-file.c: Properly terminate MKTEXPK_ARGS with a NULL.
3526         Spotted by Akira Kakuto <kakuto@fsci.fuk.kindai.ac.jp>.
3528 2002-12-14  Olaf Weber  <olaf@infovore.xs4all.nl>
3530         * kpathsea.texi: Version 3.4.0.
3532         * kpathsea.version: Version 3.4.0.
3534         * configure.in: Version 3.4.0.
3536         * texmf.in: Typo in TEXINPUTS.pdfemex-pl.
3538         * xbasename.c (xbasename): Remove redundant call to strlen.  From
3539         Fabrice.
3541         * tex-make.c (misstex): Update to print command line correctly.
3542         (maketex): Handle argv style array for command.  For unix case, call
3543         fork and exec directly instead of using popen.
3544         (kpse_make_tex): Handle argv style array for defining a command.  Be
3545         very restrictive about what a name passed may contain -- this may
3546         well break somethings.
3548         * tex-file.h (kpse_format_info): Instead of having programs args
3549         be a single string, use an argv style array.
3551         * tex-file.c (init_maketex): Change to store command line as an
3552         array of arguments.
3553         [MKTEXPK_ARGS]: Define list of strings instead of single string.
3554         (kpse_init_format): Update debugging code to match new
3555         kpse_format_info structure.
3557         * progname.c [WIN32]: Updates from Fabrice.
3559         * pathsearch.h: Typo in comment.
3561         * pathsearch.c: Typo in comment.
3563         * kpsewhich.c: Correct copyright notice.
3565         * hash.c (hash_normalized): New function.
3566         (hash_insert_normalized): New function.
3567         [MONOCASE_FILENAMES]: Normalize to lower case, not upper case, because
3568         that's what in the ls-R files we distribute.
3570         * fontmap.c (map_file_parse): Use hash_insert_normalized.  Again,
3571         we assume the contents of font maps are already normalized.
3573         * expand.c (kpse_expand_kpse_dot): Typo in comment.
3574         (brace_expand): Clarify the comment.
3576         * dir.c (dir_p) [WIN32]: safe_beg_of_path -> kpse_normalize_path.
3577         From Fabrice.
3578         (dir_links) [WIN32]: Changes to code that stores and retrieves
3579         integers from pointers.
3581         * db.c (db_build): Call hash_insert_normalized -- names from the
3582         ls-R file should be normalized already.
3583         (alias_build): Call hash_insert_normalized -- names from the alias
3584         file should be normalized already.
3585         (kpse_db_insert): Note that we call hash_insert here deliberately.
3587         * hash.h (hash_insert_normalized): New function.
3589         * concat.c (concat): Start strcat at the end of the previous
3590         strcpy.
3592         * absolute.c (kpse_absolute_p) [WIN32]: Remove explicit test for
3593         UNC names, they're already covered by the test for names starting
3594         with IS_DIR_SEP.
3595         [TEST] (main): Added, from Fabrice.
3597 2002-11-13  Olaf Weber  <olaf@infovore.xs4all.nl>
3599         * kpathsea.version: To 3.3.11.
3601         * kpathsea.texi: To 3.3.11.
3603         * configure.in: To 3.3.11.
3605 2002-11-12  Olaf Weber  <olaf@infovore.xs4all.nl>
3607         * cnf.c (do_line): First check whether len-1 exists, then access
3608         it, rather than the other way round.  Spotted by Joern Clausen
3609         <joern@techfak.uni-bielefeld.de>.
3611         * texmf.in: obj_tab_size.context is now redundant.  From Thomas.
3613         * mktextfm: Use the same detection mechanism for mf-nowin as
3614         mktexpk.  From Thomas.
3616 2002-11-11  Olaf Weber  <olaf@infovore.xs4all.nl>
3618         * kpathsea.version: Version 3.3.10.
3620         * kpathsea.texi: Version 3.3.10.
3622         * configure.in: Version 3.3.10.
3624         * texmf.in: Disable parse_first_line by default (sorry).  Enlarge
3625         a number of constants in general, as opposed to defining lots of
3626         context-specific versions.
3628         * progname.c (remove_dots): We did not correctly handle paths with
3629         ../.. in them.  There is still one corner case left, if the path
3630         would try to go to the "parent" of the root directory.
3632         * mktextfm: Test for mf-nowin in a shubshell.  Otherwise error
3633         messages could end up being printed if mf-nowin does not exist.
3635         * mktexpk: Test for mf-nowin in a subshell.
3637 2002-10-25  Olaf Weber  <olaf@infovore.xs4all.nl>
3639         * kdefault.c (kpse_expand_default): Simplify the life of the
3640         callers by always returning allocated memory, so the returned
3641         string can be freed.  John W. Eaton <jwe@bevo.che.wisc.edu>
3642         requested this.
3644 2002-10-22  Olaf Weber  <olaf@infovore.xs4all.nl>
3646         * withenable.ac: Correct handling of mktexfmt option.
3648         * tex-file.c: Add .oft to regcognized suffixes for tex_format.
3650         * mktexupd: Correct Thomas' email address.
3652         * mktextfm: Correct Thomas' email address.
3654         * mktexpk: Correct Thomas' email address.
3656         * mktexnam.opt: Correct Thomas' email address.
3658         * mktexnam: Correct Thomas' email address.
3660         * mktexmf: Correct Thomas' email address.
3662         * mktexlsr: Correct Thomas' email address.
3664         * mktexdir.opt: Correct Thomas' email address.
3666         * mktexdir: Correct Thomas' email address.
3668         * mktex.opt: Correct Thomas' email address.
3670         * kpathsea.version: Update to 3.3.9.
3672         * kpathsea.texi: Update to 3.3.9.
3674         * configure.in: Update to 3.3.9.
3676         * common.ac: Correct handling of mktexmft option.
3678 2002-10-16  Olaf Weber  <olaf@infovore.xs4all.nl>
3680         * tex-make.c (kpse_make_tex): Move the test for problematic
3681         filenames so we only do this when we're actually willing to make a
3682         new file.
3684 2002-10-11  Olaf Weber  <olaf@infovore.xs4all.nl>
3686         * kpathsea.texi: Update date/version to 3.3.8.
3688         * NEWS: Update for 3.3.8.
3690         * configure.in: Version 3.3.8.
3692         * kpathsea.version: Version 3.3.8.
3694         * Makefile.in: Remove install rules for mktexfmt, as it is not a
3695         separate file.
3697 2002-10-06  Olaf Weber  <olaf@infovore.xs4all.nl>
3699         * texmf.in: Expand main_memory (again).
3701         * xstat.c: Remove lstat() declaration.
3703         * variable.c (kpse_var_value): Check for NAME.progname in the
3704         environment before checking for NAME_progname.  Both can occur,
3705         even on UNIX systems.
3707         * tex-file.c (init_path): We need to check PATH.progname,
3708         PATH_programe, and PATH in the environment.  PATH.progname is the
3709         "logical" way to set the name on Windows systems, and can even
3710         occur on UNIX systems if env(1) is used to set the environment
3711         variables.
3713         * withenable.ac: Add --with-mktexfmt-default option.  After
3714         Fabrice Popineau.  He used --with-mkfmt-default, but this was
3715         changed to match the other options.
3717         * texmf.in: Add XDVIINPUTS, TEXINPUTS.pdfamstex.  Modiy definition
3718         of TEXMFLOCAL to match Thomas', add MKTEXFMT.  All part of the
3719         TeXlive merge.
3721         * tex-make.c (kpse_make_tex): Complain if a number of problematic
3722         characters are found in the requested font name -- this works in
3723         combination with a check in maketex() to prevent misuse of the
3724         system() call that starts the mktex* scripts.
3726         * tex-file.c (kpse_init_format): Support for mktexfmt, from
3727         Fabrice Popineau.
3729         * mktexupd: Delete CR characters at the end-of-line before doing
3730         the compare.  Yet another hack for windows/unix cross-platform
3731         support.
3733         * mktextfm: TeXlive merge: support for mf-nowin.
3735         * mktexpk: TeXlive merge: considerably reorganized to support use
3736         of mf-nowin.
3738         * mktexnam: Additional definitions for the LH fonts.  TeXlive
3739         merge.
3741         * mktexmf: Additional definitions for the LH fonts.  TeXlive
3742         merge.
3744         * common.ac: Add support for MAKE_TEX_FMT.  From Fabrice Popineau.
3746         * acconfig.h [MAKE_TEX_FMT_BY_DEFAULT] Added. After Fabrice
3747         Popineau.
3749 2002-07-16  Olaf Weber  <olaf@infovore.xs4all.nl>
3751         * kpsewhich.c (find_format): Remove special case for pdftex.cfg.
3752         Not needed.
3754         * kpsewhich.c (find_format): Hard-code format types for pdftex.cnf
3755         and pdftex.map.
3757 2002-07-08  Olaf Weber  <olaf@infovore.xs4all.nl>
3759         * mktex.opt: Limit permissions on $TEMPDIR.
3761         * mktexlsr: Limit permissions on tmp directory.
3763 2002-06-04  Olaf Weber  <olaf@infovore.xs4all.nl>
3765         * texmf.in: Remove setting of src_specials: it will be ignored
3766         anyway as we'll only allow it to be set from the command line.
3768 2002-05-28  Olaf Weber  <olaf@infovore.xs4all.nl>
3770         * mktexdir: Guard $KPSE_DOT with quotes.  From Emmanuel_Thomé
3771         <thome@lix.polytechnique.fr>.
3773 2002-04-01  Olaf Weber  <olaf@infovore.xs4all.nl>
3775         * mktexlsr: Strip a trailing CR before testing the first line of
3776         an ls-R file.  Needed for interoperability with Windows (sigh).
3778         * tex-make.c (maketex): Use a literal "r" in the popen command, as
3779         (under UNIX) it tends not to understand "rb", and we're generating
3780         text anyway.
3782 2001-11-27  Olaf Weber  <olaf@infovore.xs4all.nl>
3784         * kpathsea.texi: Version 3.3.7.
3786         * configure.in: Version 3.3.7.
3788 2001-11-25  Olaf Weber  <olaf@infovore.xs4all.nl>
3790         * types.h: Define boolean as int whenever we can.  This makes the
3791         option-handling code correct (where pointer to int and pointer to
3792         boolean need to be the same type).
3794         * install.texi: Update totals to (hopefully) more accurate values.
3796 2001-11-19  Olaf Weber  <olaf@infovore.xs4all.nl>
3798         * line.c (read_line): Add prototype.
3800 2001-11-18  Olaf Weber  <olaf@infovore.xs4all.nl>
3802         * kpathsea.version: Version 3.3.6.
3804         * kpathsea.texi: Version 3.3.6.
3806         * configure.in: Version 3.3.6.
3808         * xgetcwd.c: Changes to keep C++ compilers from choking.
3810         * xdirname.c: Changes to keep C++ compilers from choking.
3812         * variable.c: Changes to keep C++ compilers from choking.
3814         * str-list.c: Changes to keep C++ compilers from choking.
3816         * readable.c: Add pathsearch.h to included headers, for
3817         kpse_normalize_path.
3819         * pathsearch.c: Changes to keep C++ compilers from choking.
3821         * path-elt.c: Changes to keep C++ compilers from choking.
3823         * make-suffix.c: Changes to keep C++ compilers from choking.
3825         * line.c: Changes to keep C++ compilers from choking.
3827         * kpsewhich.c: Changes to keep C++ compilers from choking.
3829         * kdefault.c: Changes to keep C++ compilers from choking.
3831         * fontmap.c: Changes to keep C++ compilers from choking.
3833         * fn.h (fn_grow): Second argument is a const_string, not a generic
3834         address.
3836         * fn.c (fn_grow): Second argument is a const_string, not generic
3837         address.
3839         * expand.c: Add a few casts to ensure a C++ compiler wouldn't
3840         choke.
3842         * dir.c (dir_links): Replace a conditional expression with an
3843         if-then version.
3845         * db.c: Add a few casts, rename 'try', all to ensure a C++
3846         compiler wouldn't choke.
3848         * cnf.c: Add a few casts, rename 'try', all to ensure a C++
3849         compiler wouldn't choke.
3851         * c-proto.h: Addtional P*H and P*C macros for functions with up to
3852         17 arguments.
3854 2001-11-14  Olaf Weber  <olaf@infovore.xs4all.nl>
3856         * readlink.c (main): Add prototype.
3858         * kpsewhich.c (main): Add prototype.
3860         * kpsestat.c (main): Add protype.
3862         * c-pathch.h [WIN32] (IS_UNC_NAME): An unc name can be //<digit>
3863         as well as //<letter>.
3865         * access.c (main): Prototype.
3867 2001-11-10  Olaf Weber  <olaf@infovore.xs4all.nl>
3869         * kpathsea.version: Version 3.3.5.
3871         * kpathsea.texi: Version, date.
3873         * configure.in: Version 3.3.5.
3875         * texmf.in: Additional entries for mex-pl, platex-pl, pdfplatex,
3876         pdfmex-pl, pdfemex, pdfemex-pl.  As usual, ConTeXt wants more
3877         space.
3879         * mktexnam: First set defaults, then modify for explicit
3880         destination, not the reverse.  From Thomas.
3882         * mktex.opt: Preserve return code over trap.  From Thomas.
3884         * kpsewhich.man: Typo.
3886 2001-10-30  Olaf Weber  <olaf@infovore.xs4all.nl>
3888         * configure.in: To 3.3.4.
3890         * kpathsea.version: To 3.3.4.
3892         * mktexnam.opt: Robustness fix for handling of NAME.  Minor
3893         changes in the handling of the defaults when a name isn't found in
3894         the supplier or typeface maps.
3896         * tex-file.c: Add ".ch" as alternate suffix for kpse_web_format
3897         and kpse_cweb_format.
3899         * readable.c [main]: Call kpse_normalize_path.
3901         * progname.c [WIN32]: Update from Fabrice.
3903         * pathsearch.h [WIN32]: Remove prototype for safe_beg_of_path.
3904         Add prototype for kpse_normalize_path.
3906         * pathsearch.c (path_search) [WIN32]: Remove call to
3907         safe_beg_of_path.
3908         (path_search): Add call to kpse_normalize_path.
3910         * expand.c (kpse_path_expand): Don't strip devices and such here,
3911         as we're doing that in kpse_element_dirs anyway.
3913         * elt-dirs.c [WIN32]: Remove safe_beg_of_path.
3914         (kpse_normalize_path): Replaces safe_beg_of_path, but is defined on
3915         all architectures.
3917         * dir.c [WIN32]: Remove safe_beg_of_path prototype here.
3919         * common.ac: Test whether libm exists.  If it does, we
3920         unconditionally link with it, which is probably wrong.
3922         * cnf.c [__NetBSD__]: Define unix.
3924         * c-pathch.h [IS_UNC_NAME]: Define on all architectures.
3926         * Makefile.in (distdir): Add *.ftp to destination directory.
3928 2001-09-26  Olaf Weber  <olaf@infovore.xs4all.nl>
3930         * texmf.in: Add support for Web and Cweb files (kpse_web_format,
3931         kpse_cweb_format).  Requested by Wlodek Bzyl.
3933         * tex-file.h, tex-file.c: Add support for Web and Cweb files
3934         (kpse_web_format, kpse_cweb_format).  Requested by Wlodek Bzyl.
3936 2001-07-23  Olaf Weber  <olaf@infovore.xs4all.nl>
3938         * common.ac [kb_cv_func_putenv_malloc]: Add declaration for
3939         malloc, which testing on IA64 revealed to be missing.
3941 2000-08-25  Olaf Weber  <olaf@infovore.xs4all.nl>
3943         * mktexlsr: Changed the fix for NeXT.
3945 2000-08-05  Olaf Weber  <olaf@infovore.xs4all.nl>
3947         * kpathsea.texi: Bump version, date.
3949         * kpathsea.version: Bump version.
3951         * configure.in: Update for 3.3.3.
3953         * NEWS: Update for 3.3.3.
3955         * mktexlsr: On NeXT, 'rm -rf ' will recursively remove the current
3956         directory.  This is bad if you're in / and are root.
3958 2000-05-25  Olaf Weber  <olaf@infovore.xs4all.nl>
3960         * lib.h [MONOCASE_FILENAMES]: Parenthesis was omitted in
3961         FILESTRNCASEEQ.  Found by Fabrice.
3963 2000-04-26  Olaf Weber  <olaf@infovore.xs4all.nl>
3965         * unixtex.texi: Added notes that web2c is bare-bones, and that the
3966         texk/texklib packages may contain older components.
3968 2000-04-21  Olaf Weber  <olaf@infovore.xs4all.nl>
3970         * progname.c: Add P?C macros to functions that lacked them.
3972         * lib.h [STREQ,STRNEQ,FILESTRCASEEQ,FILESTRNCASEEQ]: If any
3973         argument is NULL, compare unequal.
3975 2000-04-13  Olaf Weber  <olaf@infovore.xs4all.nl>
3977         * tex-hush.c (kpse_tex_hush): Check for "all" and "none" first,
3978         then look for more specific switches.  This fixes the most common
3979         case of problems due to non-reentrancy of kpse_path_element.
3981         * kpathsea.texi: Correct example of brace expansion.  Document
3982         TEX_HUSH = none.  Found by Tijs Michels <M.H.M.Michels@kub.nl>.
3984         * texmf.in: Document the use of TEX_HUSH = none.
3986 2000-04-03  Olaf Weber  <olaf@infovore.xs4all.nl>
3988         * texmf.in: Add variable for src_specials.  Increase arrays for
3989         context (again).
3991         * xopendir.c [WIN32]: Only define xclosedir.
3993         * kpsewhich.man: Spelling correction.
3995         * getopt.h [WIN32]: For definition of __STDC__ to 1.
3997 2000-04-02  Olaf Weber  <olaf@infovore.xs4all.nl>
3999         * xopendir.c [WIN32]: Define neither xopendir nor xclosedir.  From
4000         Han The Thanh <thanh@informatics.muni.cz>.
4002         * xputenv.c (xputenv): The WIN32 conditional code is also valid
4003         for DJGPP.  From Fabrice.
4005         * xmalloc.c (xmalloc): Allocate 1 byte if passed size 0.
4007         * xdirname.c (xdirname): Changes for Win32 from Fabrice.
4009         * tex-file.h: Prototype for kpse_set_suffixes.  From Fabrice.
4011         * tex-file.c (kpse_set_suffixes): New function, added by Fabrice.
4013         * readable.c: Win32-related changes from Fabrice.
4015         * progname.c [WIN32]: Various changes from Fabrice.
4017         * pathsearch.h [WIN32]: Declare safe_beg_of_path.  From Fabrice.
4019         * pathsearch.c (path_search [WIN32]): Use safe_beg_of_path.  From
4020         Fabrice.
4022         * kpsestat.c: Remove WIN32 define.  From Fabrice.
4024         * hash.c [MONOCASE_FILENAMES]: Change for the WIN32 case from
4025         Fabrice.
4027         * getopt.h [WIN32]: Changes from Fabrice.
4029         * getopt.c [WIN32 && ! __CYGWIN32__]: Ensure getpid is not defined
4030         before defining it.  From Fabrice.
4032         * lib.h: Update dir_links prototype, from Fabrice.
4034         * elt-dirs.c: Win32 related changes from Fabrice.
4036         * dir.c: Various Win32-related changes from Fabrice.
4038         * config.h: Various changes for the DOS famility of systems.  From
4039         Fabrice.
4041         * c-stat.h [WIN32]: Use oldnames.h instead of kpathsea/win32lib.h.
4042         From Fabrice.
4044         * c-proto.h [WIN32]: _DLL -> KPSE_DLL, from Fabrice Popineau.
4046         * c-memstr.h: Move closer to just the ANSI string functions, if
4047         necessary defined in terms of the BSD functions.  After Thomas
4048         Esser <te@informatik.uni-hannover.de>.
4050         [FOPEN_RBIN_MODE, FOPEN_WBIN_MODE, FOPEN_ABIN_MODE]: Specify
4051         binary I/O mode on all systems, not just those where it makes a
4052         difference.
4053         [VMCMS]: Remove as it isn't used.
4054         [SET_BINARY]: Change defines which select it.  From Fabrice
4055         Popineau. <popineau@esemetz.ese-metz.fr>
4057         * c-ctype.h [WIN32]: On Windows, get isascii from oldnames.h.
4058         After Fabrice Popineau <popineau@esemetz.ese-metz.fr>.
4060         * access.c: Replace WIN32 code with generic code.
4062 2000-01-31  Olaf Weber  <olaf@infovore.xs4all.nl>
4064         * mktexlsr: Fix possible symlink exploit.  By Thomas Esser
4065         <te@informatik.uni-hannover.de>.
4067 1999-06-28  Olaf Weber  <olaf@infovore.xs4all.nl>
4069         * mktextfm: Get rid of error message if hbf2gf cannot be found.
4070         From Thomas.
4072         * tex-glyph.c: Test whether glyph_file is NULL before
4073         dereferencing it.  Suggested by Julian Gilbey
4074         <J.D.Gilbey@qmw.ac.uk>.
4076         * texmf.in: Improved comments about VARTEXMF, along lines
4077         suggested by Thomas Esser.
4078         Increased font_mem_size, as requested by Thomas.
4080         * pathsearch.c (path_search): Print a message if we're debugging
4081         the search and we're not pounding the disk because an ls-R file
4082         exists but must_exist=0.  This to highlight the most confusing
4083         case where disk searches do not happen.
4085         * mktextfm.man: Cleanup of synopsis.
4087         * mktex.opt: More robust handling of TEMPDIR, after Luc Van Eycken
4088         <Luc.VanEycken@esat.kuleuven.ac.be>.
4090         * kpsestat.man: Remove comment about unclear message.
4092         * kpsestat.c (main): Print a more understandable message when the
4093         stat call fails.
4095 1999-06-20  Olaf Weber  <olaf@infovore.xs4all.nl>
4097         * pathsearch.c (log_search): If TEXMFLOG is defined, then the
4098         kpathsea library would write a space to stderr for every file
4099         logged.  Fix from Charles Karney <karney@pppl.gov>.
4101 1999-05-29  Olaf Weber  <olaf@infovore.xs4all.nl>
4103         * configure.in: Update version number to 3.3.1.
4105         * kpathsea.version: Update version number to 3.3.1.
4107         * kpathsea.texi: Update version info.
4109         * mktexnam, mktexmf: Fix the LH patterns to be more specific.
4110         From Thomas.
4112         * unixtex.texi: Remove node on tape distributions.
4114         * texmf.in: Add platex, add comment about TEXMFDBS.
4116         * tex-file.c (kpse_find_file): Fix off-by-one in tests for suffix
4117         length.
4119         * pathsearch.c (log_search): Fix problem with debugging output.
4121         * mktextfm: Order of options to hbf2gf turns out to matter.
4123         * mktexpk: Updates from Thomas: don't remove generated fonts
4124         because of bad pos errors; better handling of type1 fonts.
4126         * mktexnam: Updates from Thomas for Czech fonts.  Consult fontmaps
4127         if a fonts fell into unknown/unknown.
4129         * mktexmf: Updates from Thomas for Czech fonts.
4131         * mktexdir: Small fix from Julian Gilbey.
4133         * cnf.c: Apple's MacOsX is also unix-like.
4135         * access.c: Parametrise the help string as in readlink.c.
4137         * Makefile.in: Use INSTALL_DATA, not INSTALL_SCRIPT, for the *.opt
4138         files.
4140         * AUTHORS: Update accounts for MakeTeX scripts and expand.c.
4142         * c-memstr.h: Don't declare strstr if strstr is already a define.
4143         Suggested by Paul Vojta <vojta@math.berkeley.edu>.
4145         * readlink.c: Corrected a bug in the help string (wrong program
4146         name), reported by several people.
4148 1999-03-26  Olaf Weber  <olaf@infovore.xs4all.nl>
4150         * kpathsea.version: Set MINOR to 3.
4152         * configure.in: Bumped KPSEVERSION to 3.3.
4154 1999-03-23  Olaf Weber  <olaf@infovore.xs4all.nl>
4156         * texmf.in: More changes from Thomas, add MISCFONTS for
4157         kpse_miscfonts_format.
4159         * tex-file.c: Implement kpse_miscfonts_format.
4161         * tex-file.h: New format: kpse_miscfonts_format, to be used for
4162         small sets of fonts for which no real type has been defined.
4164         * mktextfm: Add support for hbf fonts.  (From Werner Lemberg.)
4166         * withenable.ac: Remove implementation of some --with-* options.
4168         * common.ac: Move implementation of some --with-* options here
4169         from withenable.ac, so the latter can be included elsewhere with
4170         kpathsea's acconfig.h or derivatives being seen.
4172 1999-03-17  Olaf Weber  <olaf@infovore.xs4all.nl>
4174         * texmf.in: Size increases for context, requested by Hans Hagen.
4176         * texmf.in: Update from Thomas.
4178         * Makefile.in: TEXMF_CNF -> VARTEXMF
4180         * mktexmf: Small fix to a case statement from Berthold Höllmann
4181         <bhoel@starship.python.net>.
4183 1999-03-15  Olaf Weber  <olaf@infovore.xs4all.nl>
4185         * win32lib.h: Patch from Fabrice.
4187         * variable.c (kpse_var_value, expand): Handle the VAR_progname
4188         construct.  After Julian Gilbey <jdg@maths.qmw.ac.uk>.
4190         * tex-file.c: Fixes to the code that forces an update of the
4191         paths.  After Julian Gilbey <jdg@maths.qmw.ac.uk>.
4193         * mktexmf: Changes to support CB font family.  From Kimon
4194         Kontovasilis <kimon@cyclades.nrcps.ariadne-t.gr>.
4196         * kpathsea.texi: Update address info of TUG.
4198         * config.h: Remove outdated comment, explicitly include
4199         kpathsea/c-auto.h.
4201         * cnf.c (do_line): Correct comment, remove unused code.
4202         (read_all_cnf): Strip trailing whitespace.
4203         (kpse_cnf_get): Fix memory leak.
4204         After Julian Gilbey <jdg@maths.qmw.ac.uk>.
4206         * acconfig.h: We no longer use this for all kpathsea using
4207         programs, just kpathsea itself.  Thus the WEB2CVERSION macro goes,
4208         as does other stuff that belongs to web2c or xdvik.
4210         * Makefile.in: Allow the c-auto.h file to be installed.
4212 1999-02-18  Olaf Weber  <olaf@infovore.xs4all.nl>
4214         * mktex.opt: Document nomfdrivers option.
4216         * mktextfm: Implement nomfdrivers option.
4218         * mktexpk: Implement nomfdrivers option.
4220         * install.texi: Document new option: nomfdrivers.
4222         * kpsewhich.man: Document how search parts are determined.
4224         * mktexlsr: Really skip empty components.  From Thomas.
4226         * tex-file.c (kpse_reset_program_name): Don't free the old paths,
4227         they may not have been allocated on the heap.
4229 1999-02-16  Olaf Weber  <olaf@infovore.xs4all.nl>
4231         * tex-file.c (kpse_reset_program_name): Ensure that when the
4232         program name changes, the various paths will indeed be updated.
4234 1999-02-14  Olaf Weber  <olaf@infovore.xs4all.nl>
4236         * mktexupd: Fix test whether argument is a directory name.  From
4237         Thomas.
4239         * mktexlsr: Skip empty components.
4241         * mktexnam.opt: This file is supposed to be sourced, not executed,
4242         so remove the #!.  From Thomas.
4244         * mktexdir.opt: This file is supposed to be sourced, not executed,
4245         so remove the #!.  From Thomas.
4247         * mktex.opt: This file is supposed to be sourced, not executed, so
4248         remove the #!.  From Thomas.
4250         * config.h: Make sure c-auto.h is included before win32lib.h,
4251         which needs definitions from the former.
4253 1999-02-06  Olaf Weber  <olaf@infovore.xs4all.nl>
4255         * win32lib.h: Add pragma warning, for the S_* defines, only define
4256         them if they are not defined already.
4258         * pathsearch.h (kpse_all_path_search): Add KPSEDLL, from Fabrice.
4260         * debug.h (fclose): Add KPSEDLL, from Fabrice.
4262         * config.h [WIN32]: Remove pragma warning.  From Fabrice.
4264 1999-02-04  Olaf Weber  <olaf@infovore.xs4all.nl>
4266         * withenable.ac: Rename AR_OPTS to ARFLAGS.
4268         * texmf.in: Cleanup of semicolon/comma.  Remove the double slash
4269         between 'fonts' and its subdirs.  Sites using pseudo-TDS will have
4270         to add these by hand from now on.
4272         * tex-file.c (init_path, add_suffixes): Remove __cdecl, from
4273         Fabrice.
4275         * mktexmf: Special cases for 30 and 36 points, as requested by the
4276         sauter mainainer Jeroen Nijhof <J.H.B.Nijhof@aston.ac.uk>.
4278         * kpsewhich.c (main): Remove __cdecl, from Fabrice.
4280         * kpsestat.c (main): Remove __cdecl, from Fabrice.
4282         * install.texi: The +u flag is no longer recommended for HP-UX.
4284         * getopt.h [!WIN32]: Remove define of __cdecl, from Fabrice.
4286         * elt-dirs.c (safe_beg_of_path): Change return type to unsigned
4287         int, because other functions expect this.
4289         * concatn.c (concatn): Remove __cdecl, from Fabrice.
4291         * common.ac: sinclude from ../texk now, from Thomas.
4293         * c-proto.h [!WIN32]: Removed define of __cdecl, from Fabrice.
4295         * access.c (main): Removed __cdecl, from Fabrice.
4297 1999-01-27  Olaf Weber  <olaf@infovore.xs4all.nl>
4299         * xputenv.c (xputenv) [WIN32]: Don't free old value, ever.
4301         * win32lib.h: Fixes by Fabrice.
4303         * win32lib.c: Fixes by Fabrice.
4305         * version.c (kpathsea_version_string, kpse_bug_address): Add
4306         KPSEDLL, by Fabrice.
4308         * variable.h (kpse_var_value, kpse_var_expand): Add KPSEDLL, by
4309         Fabrice.
4311         * texmf.in: Change path separators back to commas, use semicolon
4312         instead of colon, correct TEXINPUTS for the pdfeTeX family,
4313         TEXPSHEADERS for the pdfTeX family.  By Thomas Esser.
4315         * tex-make.h (kpse_make_tex_discard_errors): Add KPSEDLL, by
4316         Fabrice.
4318         * tex-make.c (maketex): Add cast to shup up a compiler.  From
4319         Fabrice.
4321         * tex-hush.h (kpse_tex_hush): Add KPSEDLL, by Fabrice.
4323         * tex-glyph.h (kpse_find_glyph, kpse_bitmap_tolerance): Add
4324         KPSEDLL, by Fabrice.
4326         * tex-glyph.c (try_resolution): Add casts to quiet a compiler.
4327         From Fabrice.
4329         * tex-file.h (kpse_fallback_resolutions_string, kpse_format_info,
4330         kpse_set_program_enabled, kpse_maketex_option, kpse_init_format,
4331         kpse_find_file, kpse_open_file, kpse_reset_program_name): Add
4332         KPSEDLL, by Fabrice.
4334         * tex-file.c (init_path, add_suffixes): Add __cdecl, by Fabrice.
4335         (kpse_init_format): Correct definition of "other ... files" to take
4336         different path separators into account.  After Fabrice.
4338         * str-list.c (str_list_concat_elements): Make loop indices
4339         unsigned to quiet compilers.  By Fabrice.
4341         * readable.h (kpse_readable_file): Add KPSEDLL, by Fabrice.
4343         * readable.c [WIN32] (kpse_readable_file): Many changes by
4344         Fabrice.
4346         * progname.h (program_invocation_name,
4347         program_invocation_short_name, kpse_program_name,
4348         kpse_set_program_name, kpse_set_progname): Add KPSEDLL, by
4349         Fabrice.
4351         * progname.c: Remove my_dirname function, which returns in its own
4352         file renamed to xdirname.  From Fabrice.
4353         (kpse_set_program_name) [WIN32]: Close handle.  By Fabrice.
4355         * proginit.h (kpse_init_prog): Add KPSEDLL, by Fabrice.
4357         * pathsearch.h (kpse_path_element, kpse_element_dirs,
4358         kpse_path_search): Add KPSEDLL, by Fabrice.
4360         * pathsearch.c (path_search): We now strip devices in the caller.
4361         From Fabrice.
4363         * magstep.h (kpse_magstep_fix): Add KPSEDLL, by Fabrice.
4365         * magstep.c (magstep, kpse_magstep_fix): Casts to quiet an unruly
4366         compiler.  Added by Fabrice.
4368         * line.h (read_line): Add KPSEDLL, by Fabrice.
4370         * lib.h (concat, concat3, xstrdup, uppercasify, atou, same_file_p,
4371         xbasename, find_suffix, remove_suffix, make_suffix, make_prefix,
4372         extend_filename, xputenv, xputenv_int, xgetcwd,dir_p, dir_links,
4373         xfopen, xfclose, xfseek, xftell, xmalloc, xrealloc, xcalloc): Add
4374         KPSEDLL, by Fabrice.
4375         (xdirname): New function, by Fabrice.
4377         * kpsewhich.c (read_command_line): Add KPSEDLL to external
4378         functions, by Fabrice.
4379         (main): Add __cdecl, by Fabrice.
4381         * kpsestat.c (main): Add __cdecl, by Fabrice.
4383         * hash.h (hash_table_type, hash_insert, hash_remove, hash_lookup):
4384         Add KPSEDLL, by Fabrice.
4386         * hash.c [WIN32]: Different implementation of TRANSFORM, for speed
4387         reasons.  From Fabrice.
4389         * getopt.h: Changes for KPSEDLL, by Fabrice.
4391         * fn.h (fn_init, fn_copy0, fn_free, fn_1grow, fn_grow,
4392         fn_str_grow, fn_shrink_to): Add KPSEDLL, by Fabrice.
4394         * expand.h (kpse_expand, kpse_brace_expand, kpse_path_expand): Add
4395         KPSEDLL, by Fabrice.
4397         * elt-dirs.c (safe_beg_of_path): New function by Fabrice.  Used to
4398         strip device from a path before feeding it to expand_elt.
4399         (kpse_element_dirs): Call safe_beg_of_path.
4401         * debug.h (kpathsea_debug, fopen): Add KPSEDLL, by Fabrice.
4403         * db.h (kpse_db_insert): Add KPSEDLL, by Fabrice.
4405         * config.h [WIN32]: Add pragma to quiet some warnings.  From
4406         Fabrice.
4408         * concatn.h (concatn): Add KPSEDLL.  From Fabrice.
4410         * concatn.c (concatn): Add __cdecl.  From Fabrice.
4412         * cnf.h (kpse_cnf_get): Add KPSEDLL.  From Fabrice.
4414         * c-std.h: Don't include math.h if we're seen be a C++ compiler.
4415         From Fabrice.
4417         * c-proto.h [WIN32]: Instead of defining DllImport, define
4418         KPSEDLL.  This change makes building shared libraries on windows
4419         systems work better.  From Fabrice.
4421         * c-pathch.h [WIN32]: IS_UNC_NAME macro added by Fabrice.
4423         * access.c (main): Add __cdecl, from Fabrice.
4425         * absolute.h (kpse_absolute_p): Add KPSEDLL, from Fabrice.
4427         * Makefile.in: Account for the addition of xdirname.c.
4429 1999-01-24  Olaf Weber  <olaf@infovore.xs4all.nl>
4431         * texmf.in: Add support for pdfeTeX.
4433         * mktexpk: Correct typo: ps_topk -> ps_to_pk.
4435         * mktexnam: New version from Thomas.
4437         * mktexmf: Update for cs* fonts from Thomas.
4439         * kpathsea.texi: Update section on brace expansion.  Decided to
4440         keep the comma.
4442         * db.c (kpse_db_insert): Replace basename with xbasename.
4444 1999-01-19  Olaf Weber  <olaf@infovore.xs4all.nl>
4446         * kpsestat.c (main): Replace use of S_IFMT with an octal literal.
4448 1999-01-14  Olaf Weber  <olaf@infovore.xs4all.nl>
4450         * texmf.in: Remove open_any, add openout_any, openin_any.
4452         * str-list.h: Add prototype for str_list_concat_elements.
4454 1999-01-10  Olaf Weber  <olaf@infovore.xs4all.nl>
4456         * mktextfm: Implement --foo=bar style options.  From Thomas.
4458         * mktexpk: Implement --foo=bar options, by Thomas.  Changes for
4459         new version of gsftopk.  Changes to handle ttf2pk.  From Thomas.
4461         * xt.ac: Remove AC_PATH_XTRA here.
4463         * withenable.ac: Changes to aid cross-compiling.  Minor fixes.
4465         * unixtex.texi: Correct tug email address.  Minor corrections.
4467         * texmf.in: Minor changes, additions for context.  From Thomas.
4469         * tex-file.h: Use size in declaration of kpse_format_info.  From
4470         Fabrice.
4472         * tex-file.c (kpse_maketex_option): Initialise fmt on entry.  Test
4473         whether a fmt had been specified.
4474         (kpse_init_format): Put $TEXMF into the 'other files' formats, from
4475         Thomas.
4477         * str-list.c (str_list_concat_elements): New function, part of
4478         replacement for bash-derived code.
4480         * progname.c (my_subdir): New implementation from Fabrice.
4482         * mktexnam: Account for new release of lh fonts.  Don't do subdirs
4483         if we're using $KPSE_DOT as the destination directory.
4485         * mktexupd: Handle empty elements gracefully.
4487         * mktexmf: Account for new release of lh fonts.
4489         * mktexlsr: Minor fixes from Thomas.
4491         * mktexdir: Allow for creating more directories, fixes from
4492         Thomas.
4494         * mktex.opt: Add defaults for DPI and MAG.
4496         * kpsewhich.man: Various minor corrections.
4498         * kpsewhich.c: Begin implementing -all option.  (incomplete)
4500         * kpathsea.texi: Correct copyright, tug email address.
4502         * install.texi: Account for new texklib.tar.gz file.  Several
4503         minor corrections.
4505         * expand.c: Remove bash-derived code.
4507         * elt-dirs.c (do_subdir): Correct code to test whether we descend
4508         into subdirectories.
4510         * db.c: Add kpathsea/c-stat.h to includes.
4511         (db_build): Correct test of '0' to 0.
4513         * common.ac: Check for more functions in AC_CHECK_FUNCS, from
4514         Thomas.
4516         * cnf.c: do_line: Remove premature optimization.
4518         * c-proto.h: Add P8H, P8C, P9H, P9C.
4520         * c-memstr.h: Revision by Thomas Esser.
4522         * c-ctype.h: Add ISBLANK macro.
4524         * acconfig.h: Add define guard for c-auto.h.
4526         * Makefile.in: Change ../make/*.make to ../make/*.mk.
4527         Correct texmf.sed.
4528         Prevent substitution of $(texmf) in texmf.cnf in some
4529         cases.
4530         Replace semicolons with colons in paths.h.
4532 1998-09-15  Olaf Weber  <olaf@infovore.xs4all.nl>
4534         * mktexlsr: Trap more signals, make script hold up better under
4535         'sh -e', from Werner Fink <werner@suse.de>.
4537         * mktex.opt: Trap more signals, suggested by several people,
4538         particularly Thomas Gellekum.
4540 1998-08-03  Olaf Weber  <olaf@infovore.xs4all.nl>
4542         * progname.c (selfdir): Interpret empty PATH element as "."
4544 1998-07-26  Olaf Weber  <olaf@infovore.xs4all.nl>
4546         * tex-glyph.c (kpse_find_glyph): Memory management problem: we
4547         were deallocating a string prematurely.
4548         (try_fontmap): Test !ret before, not after, bumping the loop variable.
4549         Both reported by Werner Lemberg <a7971428@unet.univie.ac.at>.
4551 Sun Jun 21 14:43:44 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
4553         * mktexlsr: Test for the presence of the magic string in ls-R, to
4554         prevent accidentally overwriting ls-R files that are not ours.
4555         Change the code to ensure ./ in front of directory names in the
4556         presence of different output from different versions of ls.
4558 Mon May  4 19:42:44 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
4560         * Makefile.in (objects): Add xbasename.lo.
4562         * Rename basename.c to xbasename.c.
4564         * tilde.c (kpse_tilde_epxand): Handle a bare ~ gracefully.
4566         * basename.c: Rename basename to xbasename and make its
4567         compilation unconditional.
4569         * common.ac: Remove check for basename.
4571         * acconfig.h: Remove HAVE_BASENAME.
4573         * lib.h: Remove conditional declaration of basename, add
4574         unconditional declaration of xbasename.
4576         * progname.c (kpse_set_program_name): Replace call of basename
4577         with xbasename.
4579 Fri Apr 24 21:15:15 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
4581         * install.texi: Doc fix; mention the library files for etex,
4582         pdftex, omega.
4584         * pathsearch.c (kpse_path_search): Fix memory leak found by "John
4585         W. Eaton" <jwe@bevo.che.wisc.edu>.
4587 Tue Apr  7 19:46:07 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
4589         * kpsewhich.c (find_format): Correct an off-by-one error by using
4590         the found value instead of a faulty comparison.
4592 Mon Mar 16 19:25:15 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
4594         * configure.in (KPSEVERSION): version 3.2.
4596         * mktex.opt: Set MT_MKTEXNAM_OPT, MT_MKTEXDIR_OPT here.
4598         * mktexnam: Move setting of MT_MKTEXNAM_OPT to mktex.opt.
4600 Sun Mar 15 19:55:30 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
4602         * c-proto.h: Add P7H and P7C macros.
4604 Sat Mar 14 00:10:20 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
4606         * win32lib.h: Patch from Fabrice.
4608         * c-dir.h [WIN32]: Patch from Fabrice.
4610 Fri Mar 13 23:23:33 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
4612         * texmf.in: Added XDVIINPUTS and TEX4HTINPUTS.
4614 Thu Mar 12 08:04:50 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
4616         * win32lib.c: New version from Fabrice Popineau.
4618 Wed Mar 11 19:55:10 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
4620         * install.texi: Correction for description of dosnames behaviour
4621         on MS-DOS.  From Eli Zaretskii.
4623 Mon Mar  9 07:22:23 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
4625         * mktexlsr: exit 0 if we succeeded.
4627         * withenable.ac: Remove double slashes from texmfmain variable.
4628         Strictly speaking, it is a user fault when this occurs, but...
4629         From Thomas Esser.
4631 Sun Mar  8 18:23:33 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
4633         * tex-file.c: omkocp, omkofm -> mkocp, mkofm.
4635         * texmf.in: OMKOFM, OMKOCP -> MKOFM, MKOCP.
4637         * withenable.ac: omkofm, omkocp -> mkofm, mkocp.
4639 Thu Mar  5 15:32:48 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
4641         * texmf.in: Add OMKOCP and OMKOFM analogous to MKTEXPK.
4643         * c-fopen.h [DOS]: Don't open files read-write if read suffices.
4645 Wed Mar  4 23:55:35 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
4647         * withenable.ac: Add options for enabling/disabling
4648         omkocp/omkofm.  From John Plaice.
4650         * tex-file.c (init_format): Support omkocp and omkofm instead of
4651         MakeOmegaOCP and MakeOmegaOFM programs.  From John Plaice.
4652         (kpse_maketex_option): Some changes to handle ofm/ocp as well.
4654 Tue Mar  3 09:02:09 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
4656         * tex-make.c (kpse_make_tex): Make same exception for AMIGA as for
4657         WIN32 and MSDOS.  From Andreas Scherer.
4659         * PROJECTS: Update mail address.
4661         * mktex.opt: Print message if VARTEXMF is not defined, then
4662         default to '$KPSE_DOT'.
4664         * mktexnam: Remove use of "shell !" from tests involving varfonts
4665         feature.  Simplify the code a bit.
4667 Fri Feb 27 19:55:11 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
4669         * withenable.ac: Replace use of -a in test with && and second
4670         test.  From Thomas Esser <te@informatik.uni-hannover.de>.
4672 Tue Feb 24 13:16:56 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
4674         * Makefile.in: Corrections for building/installing outside source
4675         dir.  From Vladimir Volovich <vvv@vvv.vsu.ru>.
4677         * mktexnam.opt: Correction MT_PKNAME -> MT_PKBASE to get dosnames
4678         feature to work.  From Eli Zaretskii.
4680 Mon Feb 23 10:17:22 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
4682         * mktex.opt, mktexlsr: Use test ... || test ... instead of test
4683         ... -o ... .
4685         * mktexnam.opt: Remove use of MT_PKPART, MT_MFPART, and MT_TFMPART
4686         variables, since they're no longer defined.
4688         * expand.c (kpse_expand_kpse_dot [MSDOS]): A very ugly hack to
4689         deal with a very broken feature on some MSDOS systems.  After Eli
4690         Zaretskii.
4692 Fri Feb 20 17:18:19 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
4694         * Makefile.in (texmf.sed): Remove VARTEXMF.
4696         * install.texi: Update for changes to varfonts.
4698         * kpathsea.texi: Remove references to format numbers.
4700         * kpsewhich.c (read_command_line): Remove printing of and support
4701         for format numbers.
4703         * mktex.opt: Remove VARTEXMF and related stuff, set dosnames for
4704         DOS.
4706         * mktexnam: Remove use of VARTEXMF, introduce SYSTEXMF, change
4707         semantics of varfonts.
4709         * mktexnam.opt: Remove reference to VARTEXMF, move setting of
4710         dosnames for DOS to mktex.opt.
4712         * mktexpk: Boilerplate tests.
4714         * mktexupd: Boilerplate tests.
4716         * progname.c: Move kpse_reset_program_name to tex-file.c.  This
4717         move means progname.o doesn't use a common object from tex-file.o
4718         anymore.  The NeXT linker would omit tex-file.o, then complain
4719         about an undefined symbol.  Thanks to Gregor Hoffleit
4720         <flight@thefly.mathi.uni-heidelberg.de> and Melissa O'Neill
4721         <oneill@cs.sfu.ca> for their help solving this.
4722         
4723         * progname.h: Move kpse_reset_progname to tex-file.h.
4725         * tex-file.c: Move kpse_reset_program_name here from progname.c.
4727         * tex-file.h: Move kpse_reset_program_name here from progname.h.
4729         * texmf.in: Remove VARTEXMF, add SYSTEXMF.
4731         * withenable.ac: Boilerplating, a correction of the default case
4732         of the --enable-multiplatform test.
4734 Mon Feb 16 09:46:47 1998  Olaf Weber  <olaf@infovore.xs4all.nl>
4736         * mktexpk: Dropped a $ in the wrong place, which made chmod look
4737         for a non-existent file.
4739         * Makefile.in (texmf.sed): Include the substitution for @web2c@ in
4740         TEXMFCNF.
4742         * Makefile.in (texmf.sed): Remove traling / from VARTEXMF
4743         substitution.
4744         (stamp-paths): Replace @ with % as sed delimiter.  The @ causes
4745         problems because it used in afs filenames.  Spotted by Matthias
4746         Clasen.
4748         * bugs.texi: Since the NeXT(step) problem is likely to be solved
4749         now, make description of bug less definite.
4751         * common.ac: Remove check for readlink.
4753         * kpathsea.texi: Document changes to search algorithm.
4755         * mktexlsr: Use % not @ as sed delimiter.
4757         * mktexmf: Correct permissions problem.
4759         * mktexnam: Use % not @ as sed delimiter.
4761         * mktexpk: Use % not @ as sed delimiter.  Correct permissions
4762         problem.  Set permissions before the file is moved into place.
4764         * mktextfm: Use % not @ as sed delimiter.  Correct permissions
4765         problem.  Set permissions before the file is moved into place.
4767         * mktexupd: Use % not @ as delimiter for sed.
4769         * readlink.c (main): Use S_ISLNK instead of HAVE_READLINK to test
4770         whether readlink is a known function.
4772         * tex-file.c (kpse_init_format): Make changes corresponding to the
4773         movement of kpse_tfm_format.
4774         (kpse_find_file): Reorganize searches; fold code of search #3 into
4775         #1 and #2; fold #5 into #2.  We now have two searches, plus an
4776         attempt to create missing files.
4778         * tex-file.h: Move kpse_tfm_format before kpse_ofm_format.  Might
4779         as well put it near the front then, because it is an often-used
4780         format.
4782         * texmf.in: VARTEXFONTS uses @vartexfonts@ so it can be filled in
4783         from the Makefile.  OFMFONTS changed to explicitly use TFMFONTS.
4784         TEXMCNF uses @web2c@ rather than @web2cdir@.
4786         * withenable.ac: Do not force default for --enable-multiplatform,
4787         so that we can inherit one from a script that calls us.
4789 Tue Feb 10 17:59:26 1998  Olaf Weber  <infovore@xs4all.nl>
4791         * withenable.ac: Don't abort configure run if the main texmf tree
4792         isn't found.
4794         * acconfig.h: Add EPSFWIN to the undefs.
4796         * install.texi: Update section on the handling of options by
4797         mktexpk.
4799         * mktex.opt: Comment on the duplication of the ls_R_magic string.
4801         * mktexlsr: Copy code from mktex.opt to mktexlsr, so the latter
4802         can run without the need to find the former.
4804         * mktextfm, mktexpk: Replace positional options with normal option
4805         handling.
4807         * mktextfm.man, mktexpk.man: Update documentation for the new
4808         option handling.
4810         * tex-file.c: Update the MKTEXPK_ARGS string for the new
4811         option-handling of mktexpk.
4813         * tex-make.c (kpse_make_tex): We pass the raw / to mktexpk in the
4814         --mfmode switch when appropriate; remove unset_mode variable.
4815         Update comments to reflect new situation.
4817         * kpathsea.texi: Note that empty path components are now ignored
4818         in stead of expanded to cwd.
4820         * line.c: Add prototype and clean up headers.
4822         * mktex.opt, mktexlsr, mktexmf, mktexnam, mktexpk, mktextfm,
4823         mktexdir, mktexupd: Make "caching" of some variables and file
4824         names in the environment possible.  Provide defaults in case the
4825         'web2c files' format doesn't work for finding files.  Suggested by
4826         Thomas Esser.
4828         * withenable.ac: Give a better message when the main texmf tree
4829         isn't found.
4831 Sat Feb  7 01:00:49 1998  Olaf Weber  <infovore@xs4all.nl>
4833         * elt-dirs.c (kpse_element_dirs): Return NULL, not the cwd, if
4834         we're given an empty string.
4836         * mktex.opt: Determine VARTEXFONTS here.
4838         * mktexnam: Move determination of VARTEXFONTS to mktex.opt.
4840 Fri Feb  6 17:59:59 1998  Olaf Weber  <infovore@xs4all.nl>
4842         * config.h: Update definition of KPATHSEA to 32.
4844         * expand.c (kpse_path_expand): Do not recursively expand a leading
4845         //, as in pathsearch.c.
4847         * kpsewhich.man: Update for --epxand-braces option.
4849         * texmf.in: Put texmf.local before texmf in the TEXMFCNF path.
4851         * withenable.ac: Make code for finding texmfmain more robust.
4853 Wed Feb  4 20:39:10 1998  Olaf Weber  <infovore@xs4all.nl>
4855         * readable.c: Correct typo: '#elsif' -> '#elif'.
4857 Tue Feb  3 17:08:34 1998  Olaf Weber  <infovore@xs4all.nl>
4859         * kpathsea.texi: Update for changes to kpsewhich.
4861 Mon Feb  2 21:12:06 1998  Olaf Weber  <infovore@xs4all.nl>
4863         * xputenv.c: Undid last patch from Fabrice -- it was a "fix" that
4864         suppresses warnings on his compiler, and engenders them on mine.
4866 Sun Feb  1 16:08:49 1998  Olaf Weber  <infovore@xs4all.nl>
4868         * lib.h [!DOSISH]: Correct definition of FILESTRNCASEEQ.
4870         * mktexmf: Correct call to mktexnam.
4872         * kpsewhich.c: New option --expand-braces.
4873         (expand_path): Removed.
4874         (main): Add code for --expand-braces, account for new definition of
4875         kpse_path_expand.
4877         * expand.h: Rename kpse_path_expand to kpse_brace_expand.  Add new
4878         kpse_path_expand.
4880         * expand.c (kpse_path_expand): New implementation, based on
4881         path_expand from kpsesewhich.c.
4882         (kpse_brace_expand): The old kpse_path_expand.  Change calls to
4883         kpse_brace_expand to kpse_brace_expand_element.
4884         (kpse_brace_expand_element): The old kpse_brace_expand, but with
4885         static linkage.  Changes calls to kpse_brace_expand to
4886         kpse_brace_expand_element.
4888         * tex-file.c (init_path): Replace kpse_path_expand with
4889         kpse_brace_expand.
4891         * texmf.in: Correct input variables for mltex variants.  Add pdftex
4892         to TEXPSHEADERS path.
4894 Thu Jan 29 16:15:44 1998  Olaf Weber  <infovore@xs4all.nl>
4896         * Makefile.in: Update for readlink.
4898         * common.ac: Test for readlink function.
4900         * access.c, kpsestat.c: No need to explicitly include c-auto.h.
4902         * mktex.opt: Adapt to new way of finding the script.  Do the
4903         actual lookup for mktexnam, mktexdir, and mktexupd here.  Make a
4904         bit more robust.
4906         * mktexlsr: Make file handling more robust, use kpsewhich to find
4907         supporting scripts like mktex.opt and mktexnam, use readlink to
4908         trace symlinks.
4910         * mktexupd, mktexpk, mktextfm, mktexmf, mktexdir, mktexnam: Make
4911         file handling more robust, use kpsewhich to find supporting
4912         scripts like mktex.opt and mktexnam, simplify somewhat.
4914         * mktexnam.opt: Make handling of names more robust.
4916         * readlink.c, readlink.man: New files.
4918         * withenable.ac: Add --enable-multiplatform option.  Attempt to
4919         find the texmf directory, and complain if we fail to do so.
4921         * Makefile.in (texmf.sed): Remove sed for dbtex, dbfonts, change
4922         VARTEXFONTS to comply with texmf.in, and update comment.
4924         * c-vararg.h: Comment update from Peter Breitenlohner.
4926 Wed Jan 28 20:36:56 1998  Olaf Weber  <infovore@xs4all.nl>
4928         * Makefile.in: Keep c-auto.h out of kpathsea.h.
4930         * c-stat.h [WIN32]: Modification from Fabrice.
4932         * dir.c [WIN32]: Extensive modifications from Fabrice.
4934         * kpsestat.c, kpsewhich.c: Replace exit with return from main.
4935         From Fabrice.
4937         * readable.c [WIN32]: Separate definition of READABLE.  From
4938         Fabrice Popineau.
4940         * texmf.in: Remove almost all @var@ stuff, and just assume TDS for
4941         all.
4943         * win32lib.h: Modifications from Fabrice.
4945         * xputenv.c (xputenv): Minor fix from Fabrice.
4947         * win32lib.c: New file from Fabrice Popineau.  Replacement
4948         functions for Win32.
4950 Sun Jan 25 20:02:21 1998  Olaf Weber  <infovore@xs4all.nl>
4952         * texmf.in: Increase buf_size to 50000 (from 10000).
4954         * tex-file.c (kpse_find_file): In the first search, postpone
4955         pounding the disk until all possible suffixes have been tried.
4957         * line.c (read_line): Accept any of NL, CR, and CRLF as
4958         end-of-line.
4960 Fri Jan 23 14:45:19 1998  Olaf Weber  <infovore@xs4all.nl>
4962         * access.c: Use return instead of exit to get rid of some compiler
4963         warnings.  From Fabrice.
4965         * c-fopen.h: Changes for CYGWIN32.
4967         * c-proto.h: Patch from Fabrice Popineau for Win32.
4969         * kpathsea.texi: Document kpse_web2c_format,
4970         kpse_program_text_format, kpse_program_binary_format.
4972         * mktex.opt, mktexdir, mktexlsr, mktexmf, mktexnam, mktexpk,
4973         mktextfm, mktexupd: Use -expand-path instead of -expand-var where
4974         possible.  This makes the handling of !! more robust.
4976         * tex-file.c (kpse_find_file): Handle other cases than precisely
4977         one extension in search number 3.
4978         (kpse_init_format): Add kpse_web2c_format, kpse_program_text_format,
4979         kpse_program_binary_format.
4981         * tex-file.h: Add kpse_web2c_format, kpse_program_text_format,
4982         kpse_program_binary_format.
4984         * tex-hush.c: Test the "path element" h, not the whole hush.
4986         * texmf.in: Add a definition for WEB2C.  Add some Omega-related
4987         parameters, from John Plaice.
4989 Tue Jan 13 19:46:58 1998  Olaf Weber  <infovore@xs4all.nl>
4991         * mktexpk, mktextfm: Only move $NAME.log file if it exists and is
4992         not empty.
4994 Mon Jan 12 06:22:59 1998  Olaf Weber  <infovore@xs4all.nl>
4996         * kpathsea.texi: Fixes from Gerd Neugebauer <gerd@uni-koblenz.de>.
4998 Sun Jan 11 18:26:56 1998  Olaf Weber  <infovore@xs4all.nl>
5000         * mktexupd: Two changes: absence of the current tree in the ls-R
5001         path is not an error; create an ls-R file if the current tree is
5002         in the ls-R path and the file doesn't yet exist.
5004 Sat Jan 10 09:55:47 1998  Olaf Weber  <infovore@xs4all.nl>
5006         * tex-hush.c: A null pointer could be fed to strcmp.
5008 Fri Jan  9 21:08:45 1998  Olaf Weber  <infovore@xs4all.nl>
5010         * mktexnam: Add $COMSPEC test, and use $SEP for path separator when
5011         splitting paths.  From Eli Zaretskii.
5013         * mktexlsr: Correct usage for determining absolute paths.  From
5014         Eli Zaretskii.
5016         * common.ac: Correct code in HAVE_PROTOTYPES test.
5018 Sun Jan  4 15:59:08 1998  Olaf Weber  <infovore@xs4all.nl>
5020         * Manual pages for access, kpsestat, kpsewhich, mktexlsr, mktexpk,
5021         mktexmf, mktextfm.
5023         * Makefile.in: Changes for manual pages.
5025 Thu Jan  1 10:11:49 1998  Olaf Weber  <infovore@xs4all.nl>
5027         * mktex.opt: Remove definition of $SEP; it is now needed before
5028         this script is sourced.
5030         * mktexlsr: If necessary, add location of script to PATH.
5032         * mktexupd: Put $SEP definition in script itself.
5034         * xputenv.c (xputenv): Move some declarations into the "not
5035         SMART_PUTENV" block to prevent "unused" warnings.
5037 Tue Dec 30 17:55:45 1997  Olaf Weber  <infovore@xs4all.nl>
5039         * install.texi, bugs.texi: Add comment about the need to use
5040         special compiler options in HP-UX.
5042         * mktexpk: Use nonstopmode for mf, in case of failure move log
5043         file to working directory.
5045         * mktextfm: Use nonstopmode for mf, in case of failure move log
5046         files to working directory.
5048         * mktexlsr: Add comment about use in cron scripts, use SEP
5049         variable for path separator.
5051         * mktexupd: Check for both new and old magic string in ls-R files,
5052         use SEP variable for path separator.
5054         * mktex.opt: Pick the correct path separator for MS-DOS and UNIX.
5055         Add a more appropriate magic string for ls-R files, but keep the
5056         old one around for compatibility.
5058         * Makefile.in (install-exec): Add check for original mktexlsr.
5060 Thu Dec 18 20:33:56 1997  Olaf Weber  <infovore@xs4all.nl>
5062         * tex-file.c (init_path): Rewrite test whether we're initializing
5063         the kpse_cnf_format paths.
5065         * tex-file.c (kpse_init_format): Initialise the binmode fields.
5066         (kpse_open_file): Use binmode field.
5068         * tex-file.h: Add binmode field to kpse_format_info_type.
5070         * kpsewhich.c: Correct option string.
5072         * tex-file.c (kpse_open_file): Assume kpse_truetype_format and
5073         kpse_type42_format are for binary files.
5075 Tue Dec 16 19:13:14 1997  Olaf Weber  <infovore@xs4all.nl>
5077         * texmf.in: Don't make PKFONTS.xdvi a special case.  Let all
5078         programs look in modeless.  If a program shouldn't look there,
5079         give it a special PKFONTS line.
5081 Mon Dec 15 18:58:01 1997  Olaf Weber  <infovore@xs4all.nl>
5083         * texmf.in: Add TTFONTS and T42FONTS.
5085         * Makefile.in (stamp-paths): The regular expression for variables
5086         had to be amended for T42FONTS.
5088         * tex-file.c (kpse_init_format): Add kpse_truetype_format and
5089         kpse_type42_format.
5091         * tex-file.h: Add kpse_truetype_format and kpse_type42_format to
5092         kpse_file_format_type.
5094 Sat Dec 13 11:24:23 1997  Olaf Weber  <infovore@xs4all.nl>
5096         * xputenv.c (xputenv [WIN32]): This system deletes an environment
5097         variable if it is set to "", with consequences for the code that
5098         reclaims the space.  From Fabrice Popineau.
5100 Fri Dec 12 10:44:02 1997  Olaf Weber  <infovore@xs4all.nl>
5102         * acconfig.h: Add HAVE_PROTOTYPES.
5104         * c-proto.h, c-vararg.h: Test for HAVE_PROTOTYPES.
5106         * common.ac: Add explicit test for prototypes, instead of relying
5107         on __STDC__.
5109         * hash.c, hash.h (hash_remove): New function.
5111         * install.texi: Rewritten passage on font destinations, corrected
5112         reference to Triptrap node in web2c.
5114         * mktexpk, mktextfm: When mv fails, try cp.  Matters on MS-DOS.
5116         * progname.c (selfdir): Test whether we are a directory, rather
5117         than whether we are not a link or file.
5119         * texmf.in: Change openout_any to paranoid.
5121 Tue Dec  9 19:08:04 1997  Olaf Weber  <infovore@xs4all.nl>
5123         * mktexpk: Restored test-and-move, which turns out not to be a
5124         no-op for fonts generated with gsftopk.
5126 Thu Dec  4 12:53:52 1997  Olaf Weber  <infovore@xs4all.nl>
5128         * texmf.in: Add TEXINPUTS.mltex and TEXINPUTS.mllatex.
5130 Tue Dec  2 12:58:04 1997  Olaf Weber  <infovore@xs4all.nl>
5132         * Makefile.in (distclean): Add stamp-paths.  From Sebastian Rahtz
5133         <s.rahtz@elsevier.co.uk>.
5135         * progname.c (kpse_set_program_name [!HAVE_PROGRAM_INVOCATION_NAME
5136         && !WIN32 && !__DJGPP__]): Remember to set
5137         program_invocation_name.
5139         * getopt.c: A few changes for WIN32.  From Fabrice Popineau.
5141 Mon Dec  1 19:08:07 1997  Olaf Weber  <infovore@xs4all.nl>
5143         * kpathsea.texi: Updated for absence of alternate TeX suffixes.
5145         * kpsewhich.c: Don't complain about unkown suffixes: it's all
5146         kpse_tex_format to us.
5148         * tex-file.c: Remove the interminable list of alternate TeX
5149         suffixes.
5151         * Makefile.in ($(library).h): Take win32lib.h into account: it
5152         should not be included by this file, as config.h will do so if
5153         needed.
5155         * progname.c (kpse_set_program_name [WIN32, __DJGPP__]): Changes
5156         from Fabrice Popineau.
5158         * win32lib.h: New file.  From Fabrice Popineau.
5160         * config.h: Include <kpathsea/win32lib.h> instead of
5161         "../win32/win32-compat.h".  From Fabrice Popineau.
5163         * access.c: Include <kpathsea/config.h>.  From Fabrice Popineau.
5165         * absolute.c (kpse_absolute_p [WIN32]): Filenames starting with \\
5166         are absolute on this platform.  From Fabrice Popineau.
5168         * tex-glyph.c (try_format): Oops, kpse_format_info[format].suffix
5169         is now a list of strings.
5171 Sun Nov 30 13:23:54 1997  Olaf Weber  <infovore@xs4all.nl>
5173         * texmf.in, mktex.opt, mktexdir, mktexdir.opt, mktexlsr, mktexmf,
5174         mktexnam, mktexnam.opt, mktexpk, mktextfm, mktexupd:  Add a
5175         MKTEXSCRIPT variable, which is the directory where supporting
5176         scripts are found.  Defaults to $TEXMFMAIN/web2c if not defined.
5178         * Makefile.in, bugs.texi, db.h, install.texi, kpathsea.texi,
5179         kpsewhich.c, proginit.c, tex-file.c, tex-file.h, tex-glyph.c,
5180         tex-make.c, tex-make.h, texmf.in, withenable.ac, mktex.opt,
5181         mktexdir, mktexdir.opt, mktexlsr, mktexmf, mktexnam, mktexnam.opt,
5182         mktexpk, mktextfm, mktexupd: Changes for the great renaming...
5184 Sat Nov 29 13:10:42 1997  Olaf Weber  <infovore@xs4all.nl>
5186         * The great renaming of the MakeTeX* scripts.
5187                 MakeTeXPK        -> mktexpk
5188                 MakeTeXTFM       -> mktextfm
5189                 MakeTeXMF        -> mktexmf
5190                 MakeTeXls-R      -> mktexlsr
5192                 MakeTeX.site     -> mktex.cnf
5193                 MakeTeXcommon    -> mktex.opt
5194                 MakeTeXmkdir     -> mktexdir
5195                 MakeTeXmkdir.opt -> mktexdir.opt
5196                 MakeTeXnames     -> mktexnam
5197                 MakeTeXnames.opt -> mktexnam.opt
5198                 MakeTeXupdate    -> mktexupd
5200         * Makefile.in (install-exec): Adapted for removal MakeTeX.cnf.
5202         * MakeTeX.cnf: Removed.
5203         
5204         * MakeTeXcommon: Fold MakeTeX.cnf into MakeTeXcommon.
5206         * tex-file.c (kpse_init_format): Add kpse_fmt_format add ".efmt"
5207         and ".efm" to additional suffixes.
5209         * db.c [DB_HASH_SIZE]: From 7603 increased to 15991.
5211         * tex-file.c: Yet more suffixes for kpse_tex_format.
5213 Tue Nov 25 18:19:17 1997  Olaf Weber  <infovore@xs4all.nl>
5215         * progname.c (kpse_set_program_name): Ensure that
5216         kpse_program_name doesn't get an .exe suffix.  The
5217         program_invocation*name variables retain it.
5219 Mon Nov 24 22:03:12 1997  Olaf Weber  <infovore@xs4all.nl>
5221         * MakeTeXls-R: When creating the ls-R file from scratch, derive
5222         its permissions from the $db_dir, not from the current dir.
5224 Sun Nov 23 13:17:16 1997  Olaf Weber  <infovore@xs4all.nl>
5226         * texmf.in: Update to use : instead of , in braces.
5228         * kpathsea.texi: Document use of path separator in brace
5229         expansion, note that the comma is deprecated.
5231         * path-elt.c (element): Dont split within braces.
5233         * expand.c (expand_amble): Break text in pieces at ENV_SEP as well
5234         as commas.
5236 Sat Nov 22 19:35:30 1997  Olaf Weber  <infovore@xs4all.nl>
5238         * tex-file.c: Correction of description "PostScript header/font"
5239         to "PostScript header".
5241         * db.c (kpse_db_insert): Add cast for const correctness.
5243         * kpathsea.texi: Document kpse_set_program_name; updates.
5245         * kpsewhich.c: Many changes to support multiple standard suffixes.
5247         * progname.c (kpse_set_program_name): Add a few casts for const
5248         correctness.
5250         * tex-file.c: Many changes to support lists of standard suffixes.
5252         * tex-file.h: kpse_format_info_type: change type of suffix from
5253         const_string to const_string*.
5255 Fri Nov 21 15:17:35 1997  Olaf Weber  <infovore@xs4all.nl>
5257         * c-proto.h: Restored AA macro, needed by revised web2c.
5259 Thu Nov 20 14:23:33 1997  Olaf Weber  <infovore@xs4all.nl>
5261         * MakeTeXPK: Removed a test-and-move that is always a no-op.
5263         * MakeTeXnames: A shell on FreeBSD didn't like the ${foo:=`bar`}
5264         construct.
5266 Wed Nov 19 17:24:08 1997  Olaf Weber  <infovore@xs4all.nl>
5268         * MakeTeXls-R, MakeTeXMF, MakeTeXPK: Make temporary names fit into
5269         the 8.3 pattern.  After Eli Zaretskii.
5271         * MakeTeXTFM: Make temporary names fit into the 8.3 pattern.
5272         Allow a second optional argument.  Update usage message.  After
5273         Eli Zaretskii.
5275         * MakeTeXcommon: Make temporary names fit into the 8.3 pattern.
5276         Do a 'cd /' before we cd to $KPSE_DOT, for MS-DOS' sake.  After
5277         Eli Zaretskii.
5279         * MakeTeXnames: If $DEST starts with "letter-colon-slash", it
5280         still indicates an absolute path.  After Eli Zaretskii.
5282         * MakeTeXnames.opt: Enable dosnames if we find COMSPEC set in the
5283         environment.  This is apparently the canonical test for this kind
5284         of thing.  After Eli Zaretskii.
5286         * Makefile.in: Numerous small changes to make building on MS-DOS
5287         easier.  In particular to the rule for texmf.sed.
5289         * install.texi: Add table headers.  After Eli Zaretskii.
5291         * tex-file.c (kpse_open_file): Open kpse_tex_ps_header_format and
5292         kpse_pict_format files in binary mode.  After Eli Zaretskii.
5294 Tue Nov 18 11:50:35 1997  Olaf Weber  <infovore@xs4all.nl>
5296         * install.texi, README, Makefile.in: Changed the name of CONFIGURE
5297         to README.CONFIGURE.
5299         * Makefile.in (mostlyclean): delete klibtool.version.
5301 Sat Nov 15 21:13:46 1997  Olaf Weber  <infovore@xs4all.nl>
5303         * MakeTeXPK: Use quotes to ensure that test "$mf_bdpi" != $BDPI
5304         has a first argument.  This occurs only in pathological
5305         circumstances, but is nevertheless annoying.
5307         * texmf.in: Add TEXINPUTS.foo for omega and lambda.
5309 Fri Nov 14 16:35:46 1997  Olaf Weber  <infovore@xs4all.nl>
5311         * texmf.in: Add TEXINPUTS.foo definitions for e-TeX and PDFTeX.
5313         * tex-file.h: Add kpse_find_ofm and kpse_find_ovf macros.
5315         * tex-file.c (kpse_find_file): Add a search for Omega.
5317 Thu Nov 13 22:43:06 1997  Olaf Weber  <infovore@xs4all.nl>
5319         * progname.c (expand_symlinks): Don't call fclose on a NULL
5320         pointer.  After Gary Jennejohn <garyj@peedub.muc.de>.
5322 Wed Nov 12 16:20:02 1997  Olaf Weber  <infovore@xs4all.nl>
5324         * kpsewhich.c: Use kpse_set_program_name instead of
5325         kpse_set_progname.
5327         * tex-file.c, cnf.c: Use kpse_program_name instead of
5328         program_invocation_short_name.
5330         * progname.h (kpse_set_program_name, kpse_reset_program_name): New
5331         functions.
5332         (kpse_program_name): New global.
5334         * progname.c (kpse_set_program_name): New function, to replace
5335         kpse_set_progname.  This fixes the problem that we may want to
5336         pretend to be a different program, but need the name by which we
5337         were called because that is the one for an executable and is
5338         guaranteed to exist.  The pretend-name is stored in
5339         kpse_program_name.
5340         (kpse_reset_program_name): To reset kpse_program_name to a
5341         different value.  It makes a half-hearted attempt to clear the
5342         search path information, so that the new name is used there as
5343         well.
5345 Mon Nov 10 13:14:01 1997  Olaf Weber  <infovore@xs4all.nl>
5347         * configure.in (KPSEVERSION): version 3.1.
5349 Thu Nov  6 20:25:49 1997  Olaf Weber  <infovore@xs4all.nl>
5351         * texmf.in: Corrected comment on size of max_print_line: it must
5352         at least be 60.
5354 Tue Nov  4 19:08:37 1997  Olaf Weber  <infovore@xs4all.nl>
5356         * Makefile.in (install-data): Handle a split kpathsea.info.
5358         * common.ac: Add a test to ensure that autoconf 2.12.1 -- the one
5359         with our own hacks -- is used.
5361 Wed Oct 29 11:49:46 1997  Olaf Weber  <infovore@xs4all.nl>
5363         * c-fopen.h [!DOSISH]: Guard against redefining O_BINARY.  From
5364         Andreas Scherer <andreas.scherer@pobox.com>.
5366 Mon Oct 27 17:25:19 1997  Olaf Weber  <infovore@xs4all.nl>
5368         * install.texi: Update for new MakeTeX* scripts.
5370         * MakeTeXnames: Handling of empty namepart.
5372 Fri Oct 24 14:23:58 1997  Olaf Weber  <infovore@xs4all.nl>
5374         * getopt.[hc]: Changes for WIN32, which are likely to be a pain if
5375         these files are ever updated wholesale.  After Fabrice Popineau.
5377 Thu Oct 23 11:16:26 1997  Olaf Weber  <infovore@xs4all.nl>
5379         * MakeTeXnames: Corrected bug in assignemnt to stdfontpath.
5381 Wed Oct 22 17:36:57 1997  Olaf Weber  <infovore@xs4all.nl>
5383         * MakeTeXmkdir: Added a bit of boilerplate to the use of
5384         MT_APPEND_MASK.
5386         * Makefile.in: It's acconfig.h, not c-auto.h, that we do not want
5387         to install.
5389         * lib.h: Remove kpathsea/config.h from the includes.  Note that
5390         lib.h is itself included by config.h.
5392         * Makefile.in: Change generation of kpathsea.h to put config.h
5393         first.
5395 Tue Oct 21 23:15:28 1997  Olaf Weber  <infovore@xs4all.nl>
5397         * MakeTeX.site, MakeTeX.cnf: Remove MT_FILE_PERMS, MT_DIR_PERMS.
5399         * MakeTeXmkdir: Use kpsestat to obtain suitable directory
5400         permissions.
5402         * MakeTeXnames, MakeTeXnames.opt: Include code that infers
5403         destination directories from where the sources are found.  Make
5404         use of fontmaps an option, move that part of the code to
5405         MakeTeXnames.opt.
5407         * MakeTeXls-R: Use kpsestat to obtain suitable file permissions;
5408         this means we no longer use unset.  Use access rather than test to
5409         determine whether we can write the ls-R database.
5411         * MakeTeXTFM, MakeTeXMF, MakeTeXPK: Use kpsestat to obtain
5412         suitable file permissions.
5414         * Makefile.in: Minor changes, because of the new files and
5415         renaming.
5417         * MakeTeXnames.opt, MakeTeXmkdir.opt: renamed from
5418         MakeTeXnames.cnf and MakeTeXmkdir.cnf respectively.  Now
5419         MakeTeX.cnf contains the standard configuration, and MakeTeX.site
5420         the local adjustments.
5421         
5422         * kpsestat.c, access.c: New files.
5424 Mon Oct 20 07:22:33 1997  Olaf Weber  <infovore@xs4all.nl>
5426         * common.ac, Makefile.in, acconfig.in, config.h, install.texi,
5427         kpathsea.texi: Rename texmf.cnf.in to texmf.in / c-auto.h.in to
5429         * Renamed texmf.cnf.in to texmf.in.
5431         * bugs.texi: Add descriptions of GSFTOPK_DEBUG, MAKETEX_DEBUG, and
5432         MAKETEX_FINE_DEBUG.  From Fabrice Popineau.
5434         * c-fopen.h [WIN32]: Use setmode in stead of _setmode.  From
5435         Fabrice Popineau.
5437         * c-pathch.h, absolute.c [NAME_BEGINS_WITH_DEVICE]: Corrected
5438         definition. From Fabrice Popineau.
5440         * c-proto.h: Cosmetic change in definition DllImport.  From
5441         Fabrice Popineau.
5443         * debug.h [WIN32 && _DEBUG]: Extra debugging code for WIN32.  From
5444         Fabrice Popineau.
5446         * install.texi: Extend description of the dosnames feature.  After
5447         Fabrice Popineau.
5449         * lib.h: Add kpathsea/config.h to the includes.  New macro STRNEQ.
5450         From Fabrice Popineau.
5452         * progname.c (kpse_set_progname [WIN32]): New environment variable
5453         KPSE_DEBUG_OUTPUT.  If defined, it names a file to which stderr
5454         will be redirected.  From Fabrice Popineau.
5456         * tex-make.c: Various cosmetic changes for WIN32/MS-DOS.  From
5457         Fabrice Popineau.
5459 Fri Oct 17 10:41:08 1997  Olaf Weber  <infovore@xs4all.nl>
5461         * db.c (kpse_db_insert): Remove dubious cast of result of basename.
5463         * progname.c (kpse_set_progname [!HAVE_PROGRAM_INVOCATION_NAME]):
5464         Removed dubious cast of basename.
5466         * tex-file.c (kpse_find_file): Reorganize searches, so that
5467         foo.bar.tex is found before foo.bar.
5469         * tex-make.c (maketex) [MSDOS]: Redirect stderr to the null device
5470         without using the shell (which requires users to install a port of
5471         a Unixy shell, since stock DOS shells don't allow redirecting
5472         stderr).
5473         (kpse_make_tex) [MSDOS]: Don't use the shell to redirect stderr.
5474         From Eli Zaretskii <eliz@is.elta.co.il>.
5476         * readable.c (READABLE) [__DJGPP__]: Use `access' instead of
5477         `stat', since `stat' is expensive on MS-DOS. Eli Zaretskii
5478         <eliz@is.elta.co.il>.
5480         * pathsearch.c (search) [__DJGPP__]: Make `stat' work in the
5481         fastest possible way, since it can be very expensive on MS-DOS.
5482         (main): Use ENV_SEP_STRING instead of explicit ":".
5483         From Eli Zaretskii <eliz@is.elta.co.il>.
5485         * path-elt.c (main): Use ENV_SEP_STRING instead of explicit ":".
5486         From Eli Zaretskii <eliz@is.elta.co.il>.
5488         * kpsewhich.c (path_expand): Handle file names with device
5489         letters.
5490         (read_command_line): Use ENV_SEP_STRING instead of explicit ":".
5491         After Eli Zaretskii <eliz@is.elta.co.il>.
5493         * kdefault.c (main): Use ENV_SEP_STRING instead of explicit ":"
5494         (which is only true on Unix).  From Eli Zaretskii
5495         <eliz@is.elta.co.il>.
5497         * cnf.c (do_line) [__DJGPP__]: Don't convert semi-colons to
5498         colons, even though DJGPP defines `unix'.  From Eli Zaretskii
5499         <eliz@is.elta.co.il>.
5501         * absolute.c (kpse_absolute_p) [DOSISH]: Don't assume the drive
5502         letter is alphanumeric. From Eli Zaretskii <eliz@is.elta.co.il>.
5504         * xgetcwd.c (xgetcwd) [DOSISH]: Prepend drive letter before path.
5505         From Eli Zaretskii <eliz@is.elta.co.il>.
5507         * progname.c (kpse_set_progname) [__DJGPP__]: Compute the long
5508         file name of the program given its 8+3 alias.
5509         (kpse_set_progname) Compute SELFAUTOLOC before removing the
5510         ".exe" suffix, if any, because `selfdir' might look along the PATH
5511         for the file.
5512         After Eli Zaretskii <eliz@is.elta.co.il>.
5514         * config.h (DOSISH): Move the definition to the top, so we could
5515         define MONOCASE_FILENAMES right there.
5516         [__DJGPP__]: Include DJGPP-specific headers.
5517         [DOSISH]: Let DJGPP use ST_NLINK_TRICK, since it supports it.
5518         From Eli Zaretskii <eliz@is.elta.co.il>.
5520         * lib.h (FILESTRNCASEEQ): New macro, for partial compares of
5521         filenames.  From Eli Zaretskii <eliz@is.elta.co.il>.
5523         * c-fopen.h (FOPEN_RBIN_MODE, FOPEN_WBIN_MODE): Let MS-DOS use
5524         these also.
5525         (FOPEN_ABIN_MODE): New macro, defines how to open a binary file for
5526         appending.
5527         (SET_BINARY): New macro, switches an already open file to binary
5528         mode (required for stdin/stdout on MS-DOS/MS-Windows).
5529         From Eli Zaretskii <eliz@is.elta.co.il>.
5531         * c-pathch.h (NAME_BEGINS_WITH_DEVICE): Don't assume the drive
5532         letter is A-Z only (DOS allows 6 characters beyond Z).  After Eli
5533         Zaretskii <eliz@is.elta.co.il>.
5535 Thu Oct 16 10:22:42 1997  Olaf Weber  <infovore@xs4all.nl>
5537         * configure.in: Update stamp-auto after creating c-auto.h.  From
5538         Peter Breitenlohner.
5540         * Makefile.in: Don't rewrite paths.h if it was not changed.  After
5541         Peter Breitenlohner.
5543 Wed Oct 15 15:33:43 1997  Olaf Weber  <infovore@xs4all.nl>
5545         * xputenv.c (xputenv): Don't do anything if the old and new values
5546         of the environment variables are identical, because some libraries
5547         (DJGPP) will will optimize away such no-ops, and therefore freeing
5548         the old value will lead to disaster.  Free new_item if it was
5549         copied by the library `putenv'.  From Eli Zaretskii
5550         <eliz@is.elta.co.il>
5552         * tex-file.c (kpse_open_file): Open
5553         kpse_{pk,base,fmt,mem,type1}_format files in binary mode.
5555         * install.texi: Remove description of the feature that (say)
5556         MAKETEXPK in the environment can be used to provide a
5557         specification of the argument list of MakeTeXPK.  Reason: the
5558         feature isn't implemented.
5560 Tue Oct 14 17:08:22 1997  Olaf Weber  <infovore@xs4all.nl>
5562         * xgetcwd.c: Rename DO_NOT_USE_GETCWD to GETCWD_FORKS.
5563         * common.ac: Add a test for GETCWD_FORKS.
5564         * acconfig.h: Include GETCWD_FORKS.
5566 Mon Oct 13 19:42:58 1997  Olaf Weber  <infovore@xs4all.nl>
5568         * path-elt.c (element): Always return a new string rather than a
5569         part of the path, as the returned string may be modified.
5571         * tex-file.c (remove_dbonly): Replaced hard-coded ':' with
5572         ENV_SEP.  From Fabrice Popineau.
5574         * common.ac, configure.in: Move definition of KPSEVERSION from
5575         common.ac to configure.in.
5577         * common.ac: Check for presence of getcwd.
5579         * xgetcwd.c: Use getcwd in preference to getwd, unless
5580         DO_NOT_USE_GETCWD is defined.
5582         * MakeTeX.cnf: Made varfonts the default.
5584         * elt-dirs.c, path-elt.c, tilde.c, variable.c: Print (nil) instead
5585         of (null), so we can distinguish *printf being fed a null pointer.
5587         * tex-file.c: remove_dbonly: Corrected off-by-one error in
5588         allocation.
5590 Sat Oct 11 13:48:33 1997  Olaf Weber  <infovore@xs4all.nl>
5592         * elt-dirs.c (main) [TEST, AMIGA]: Changed test code for Amiga.
5593         From Andreas Scherer <Scherer@physik.rwth-aachen.de>.
5595 Mon Oct  6 16:36:50 1997  Olaf Weber  <infovore@xs4all.nl>
5597         * install.texi: Document --enable-maintainer-mode switch.
5599 Sat Oct  4 19:27:22 1997  Olaf Weber  <infovore@xs4all.nl>
5601         * MakeTeXnames.cnf: Add "strip" feature for backwards
5602         compatibility with 7.0.
5603         * Use a new set of MakeTeX* scripts, from Thomas Esser.
5605 Fri Oct  3 09:54:47 1997  Olaf Weber  <infovore@xs4all.nl>
5607         * kpsewhich.c (path_expand): Don't scribble in the datastructures
5608         of the system to get rid of trailing slash, use "%.*s" format of
5609         printf instead.
5611         * Makefile.in (texmf.sed, paths.h): Take the changes to texmf.cnf.in
5612         into account.
5613         * texmf.cnf.in: Redo variable definitions for the sake of clarity.
5615         * hash.c (hash_create): Make ret static to work around a gcc
5616         optimizer bug on the Alpha.
5618         * elt-dirs.c (do_subdir,expand_elt): Cleanup by Greg Hudson
5619         <ghudson@MIT.EDU>, which might fix the '//' in path problem on the
5620         Amiga as well.
5622         * xrealloc.c: Get prototype for realloc from config.h, give
5623         prototype for xmalloc, prototype xrealloc itself.  After Fabrice
5624         Popineau.
5626         * xmalloc.c: Give xmalloc a prototype, get prototype for malloc
5627         from config.h.  After Fabrice Popineau.
5629         * tex-file.c [TEX_SUFFIXES]: Brought into sync with tex.ch.
5631         * install.texi: Extend comments on shared library support.
5633 Thu Oct  2 00:14:57 1997  Olaf Weber  <infovore@xs4all.nl>
5635         * texmf.cnf.in [buf_size]: Increased from 3000 to 10000.
5637         * tex-file.h (enum kpse_src_type): removed trailing comma.  From
5638         Ezra Peisach <epeisach@auriga.rose.brandeis.edu>.
5640         * c-proto.h [AA]: Obsolete due to changes to web2c.y; removed.
5642         * bugs.texi: Document KPSE_DEBUG_VARS.
5643         * debug.h [KPSE_DEBUG_VARS]: New #define for debugging.  From
5644         Nicolai Langfeldt <janl@math.uio.no>.
5645         * variable.c (kpse_var_value): Add code to report how variables
5646         were expanded.  From Nicolai Langfeldt <janl@math.uio.no>.
5648         * progname.c (selfdir) [!AMIGA]: Directories were mistaken for
5649         executables.  From Matthias Clasen
5650         <mclasen@sun2.mathematik.uni-freiburg.de>
5652         * tex-file.c (remove_dbonly): New function that strips the !! from
5653         path specifications.  Called when creating the path for
5654         kpse_db_format.  From Thomas Esser <te@informatik.uni-hannover.de>
5656         * install.texi: The default installation directory is not always
5657         /usr/local, as configure will pick the location of an existing tex
5658         installation.
5660 Wed Oct  1 13:43:18 1997  Olaf Weber  <infovore@xs4all.nl>
5662         * texmf.cnf.in: Various definitions have changed to take advantage
5663         of the new brace expansion code.  The various intermediate
5664         variables (fontdir, web2cdir, ...) have been removed because you
5665         could burn yourself severely by accidentally setting these
5666         undocumented variables -- this happened with some versions of make
5667         during compilation.
5669 Tue Sep 30 16:14:48 1997  Olaf Weber  <infovore@xs4all.nl>
5671         * kpathsea.texi: Document changes in brace expansion.
5672         * expand.c (array_concat): reversed the order concatenation, which
5673         result in more usable brace expansion.
5674         (kpse_expand_kpse_dot): new function.
5675         (kpse_path_expand): call kpse_expand_kpse_dot to expand relative
5676         components using KPSE_DOT, if the latter is defined.
5678         * common.ac: Define the version string.
5679         * version.c: Replaced version string with a define.
5680         * acconfig.h: Added defines for version strings.
5681         * Makefile.in: Let version = @KPSEVERSION@.
5682         * common.ac: Introduce KPSEVERSION for version.
5684         * tex-file.c (kpse_maketex_option): choose proper mf and tfm
5685         formats rather than tex.
5687 Mon Sep 29 22:47:23 1997  Olaf Weber  <infovore@xs4all.nl>
5689         * db.c (match): Repaired several off-by-one bugs.
5691 Wed Sep 17 21:09:56 1997  Olaf Weber  <infovore@xs4all.nl>
5693         * withenable.ac: Added the --enable-maintainer-mode option.
5695 Tue Aug  5 17:26:16 1997  Karl Berry  <karl@cs.umb.edu>
5697         * config.h (KPATHSEA): Define for the sake of kpathsea code
5698                 getting merged back into original distributions.
5700 Sun Aug  3 17:14:47 1997  Karl Berry  <karl@cs.umb.edu>
5702         * install.texi: simple.tex doesn't exist in LaTeX 2e; it's sample2e.
5703         From: "Jonathan I. Kamens" <jik@cam.ov.com> and others.
5705         * db.c (kpse_db_search): Preprocessor # commands must start in
5706                 column 1 for DEC OSF/1 2.0 cc.
5707         From: Andrew Komornicki <komornic@maxwell.mps.nsf.gov>. 
5709         * common.ac (program_inv_name): Correct usage of AC_TRY_LINK.
5710         From: "John W. Eaton" <jwe@bevo.che.wisc.edu>.
5712         * Makefile.in (.SUFFIXES): Put before the .c.lo rule for the sake
5713                 of FreeBSD 2.1.7 make.
5714         From: Hiroto Kagotani <kagotani@in.it.okayama-u.ac.jp>.
5716 Thu Apr 17 17:35:37 1997  Karl Berry  <karl@cs.umb.edu>
5718         * Makefile.in (paths.h): Replace $web2cdir too,
5719         for the sake of DEFAULT_TEXMFCNF.
5720         From: M G Berberich <berberic@forwiss.uni-passau.de>.
5722 Tue Apr  1 17:48:18 1997  Karl Berry  <karl@cs.umb.edu>
5724         * fontmap.c: Doc fix.
5725         * kpsewhich.c (find_format): Try the long name if the file format
5726                 has no suffix, e.g., `dvips config'.
5727         From: "Tomasz J. Cholewo" <tjchol01@mecca.spd.louisville.edu>
5729 Sun Mar 23 16:44:21 1997  Karl Berry  <karl@cs.umb.edu>
5731         * tex-file.c (kpse_find_file): Don't assert that `name' is empty,
5732                 only NULL, so \input\relax doesn't crash.
5733         From: "Tomasz J. Cholewo" <T.Cholewo@ieee.org>.
5735 Fri Mar 21 16:09:47 1997  Karl Berry  <karl@cs.umb.edu>
5737         * MakeTeXPK, MakeTeXcommon: Support a redirect option to MTPK,
5738         from Thomas via Paul V.
5740         * progname.c (selfdir) [AMIGA]: Fix from Andreas.
5742 Sun Feb 16 15:49:07 1997  Karl Berry  <karl@cs.umb.edu>
5744         * withenable.ac: `enableval' should have been `withval',
5745         and value must be quoted.
5747         * MakeTeXTFM: Exit if mf fails, a la MakeTeXPK.
5748         From: Julian Gilbey <J.D.Gilbey@qmw.ac.uk>.
5750 Thu Feb 13 16:08:30 1997  Karl Berry  <karl@cs.umb.edu>
5752         * texmf.cnf.in (latex2*_inputs): Put $dbtex/generic before the
5753         ``other'' latex version.
5754         From: Olaf Weber <Olaf.Weber@cwi.nl>.
5756         * progname.c (selfdir): Protect against argv0 being dir/exename,
5757         not found in PATH.  Happens under Solaris.
5758         From: Ross Alexander <r.alexander@auckland.ac.nz> (and many others).
5760 Sun Feb 09 15:27:15 1997  Fabrice POPINEAU  <popineau@ese-metz.fr>
5762         * progname.c (kpse_set_progname): Added braces around Win32 code,
5763         because of variables declaration.
5765 Fri Feb  7 11:53:09 1997  Karl Berry  <karl@cs.umb.edu>
5767         * Version 3.0.
5769         * MakeTeXMF: Syntax problems with dc*.  Fix from Thomas.
5771         * MakeTeX*: sed command to strip off all but the first of multiple
5772         trees in $TEXMF was faulty.
5774         * c-pathch.h (ENV_SEP, ENV_SEP_STRING) [AMIGA]: Change to ;
5775         for Andreas.  Then Amiga binaries may be able to share
5776         the same texmf.cnf with Unix and NT.
5778         * texmf.cnf.in (main_memory): Decrease back to 263,000.
5779         It's not worth allocating 7MB on everyone's machine just
5780         to do xy-pic samples.  Add a comment about it.
5782 Thu Feb  6 10:27:50 1997  Karl Berry  <karl@cs.umb.edu>
5784         * db.c (kpse_db_search): If an alias exists on disk, and the
5785         original entry in ls-R doesn't, use the alias.  Idea, sample code
5786         from Fabrice.
5788         * cnf.c (do_line): Add awful kludge to translate ; to :
5789         when reading texmf.cnf values under Unix.  The idea is
5790         to be able to write a single texmf.cnf that will work
5791         under both NT and Unix.
5793         * db.c: Doc fixes.
5795         * MakeTeXcommon: Set ps_to_pk.
5796         * MakeTeXPK: Use ps_to_pk instead of hardwiring gsftopk.
5797         * MakeTeX.site: Include ps_to_pk comment.
5799         * texmf.cnf.in (TEXMFCNF): Include SELFAUTOLOC (at the front).
5800         * progname.c (kpse_set_progname): Include SELFAUTOLOC for the real
5801         directory.  It may be useful.  Suggested by Andreas.
5803         * MakeTeXcommon: Add case for fc.
5804         * MakeTeX.site: Add comment for fc.
5805         * MakeTeXMF: Add case for fc, generated like Sauter.
5806         From Francois and Thomas.
5808         * progname.c [WIN32]: SELFAUTODIR fix from Fabrice.
5810         * kpathsea.h: Do not #include <kpathsea.h> (infinite loop).
5811         From Fabrice and Richard.
5813 Tue Feb  4 13:20:09 1997  Karl Berry  <karl@cs.umb.edu>
5815         * tilde.c: xstrdup the result from getenv,
5816         since we end up freeing it with a path element of `~'.
5818         * MakeTeX.site: Include RCS id.
5820         * MakeTeX.site: Replace sample dc assignment with ec.
5822         * MakeTeXMF: Handle ec, use exbase for tc.
5824         * MakeTeXcommon (ecfontdir,tcfontdir): New variables.
5826 Tue Feb 04 15:11:29 1997  Fabrice POPINEAU  <popineau@ese-metz.fr>
5828         * progname.c: argv[0] under Win95 is set to the short
5829         filename of the executable run. Changed the way
5830         program_invocatio_name is retrieved : used the SearchPath() win32
5831         call, next FindFirstFile() to get the long filename. The selfdir
5832         stuff is not used any more for win32.
5834 Mon Feb  3 18:01:02 1997  Karl Berry  <karl@cs.umb.edu>
5836         * kpsewhich.c (read_command_line): Check for -1, not EOF,
5837         per new getopt.
5839 Sun Feb  2 16:06:42 1997  Karl Berry  <karl@cs.umb.edu>
5841         * texmf.cnf.in (PKFONTS.xdvi): Replace `gsftopk,ps2pk' by `modeless'.
5842         * MakeTeXPK (mode): Use `modeless' instead of `gsftopk'.
5844         * tex-file.c: Look for TEXINDEXSTYLE before INDEXSTYLE.
5846 Sat Feb  1 16:31:39 1997  Karl Berry  <karl@cs.umb.edu>
5848         * texmf.cnf.in: Doc fix.
5850         * progname.c (my_dirname): Check for device separators at the
5851         beginning fo the string.  From Andreas.
5853         * c-pathch.h (IS_DIR_SEP) [AMIGA]: New definition from Andreas.
5854         (NAME_BEGINS_WITH_DEVICE): Remove.
5856         * tex-make.c (maketex) [AMIGA]: Have to call system instead of popen
5857         due to different interface.  From Andreas.
5859         * progname.c (selfdir): Check self, not ret, for exiting the loop.
5860         (remove_dots): Missing indirection on ret.
5861         From Fabrice.
5863 Tue Jan 21 08:26:17 1997  Karl Berry  <karl@cs.umb.edu>
5865         * elt-dirs.c: Doc fixes.
5867         * db.c (match): Don't return false just because the path element
5868         ended in /.
5869         Bug from: Richard Walker <Richard.Walker@cs.anu.edu.au>.
5871         * expand.c (kpse_path_expand): Do variable expansion before
5872         splitting on path elements.
5873         Bug from: Richard Walker <Richard.Walker@cs.anu.edu.au>.
5875         * tilde.c [TEST]: Function name changed.
5876         From: Richard Walker <Richard.Walker@cs.anu.edu.au>.
5878         * texmf.cnf.in (MAILCAPLIBDIR): Rename from MAILCAPDIR.
5879         From Ulrik.
5881 Tue Jan 21 09:34:20 1997  Fabrice POPINEAU  <popineau@ese-metz.fr>
5883         * c-pathch.h: NAME_BEGINS_WITH_DEVICE(string) new macro testing
5884         for the presence of a device name in front of the string.
5886         * progname.c (remove dots): stop before device name if
5887         present. When building the filename, do not add leading DIR_SEP if
5888         there is a device.
5890         * pathsearch.c (path_search): avoid searching the whole disk
5891                 adapted for win32.
5893         * db.c: support aliases file along with db files. An alias file is
5894         named with ALIAS_NAME and the hashtable size is
5895         ALIAS_HASH_SIZE. When a name looked for has an alias, the alias is
5896         searched instead of the original name. The format of the aliases
5897         file is "real_name alias_name", one pair per line. Currently only
5898         for WIN32.
5900 Mon Jan 20 12:01:14 1997  Karl Berry  <karl@cs.umb.edu>
5902         * progname.c: Amiga patch from Andreas.
5904 Sun Jan 19 14:29:00 1997  Karl Berry  <karl@cs.umb.edu>
5906         * pathsearch.c (path_search): Strip off all but one of leading /'s.
5907         We never want to search the whole disk.
5909         * progname.c: Expand symlinks off the final filename, not the
5910         directory name.
5912 Sat Jan 18 14:39:00 1997  Karl Berry  <karl@cs.umb.edu>
5914         * texmf.cnf.in (param_size): Increase to 500 for the chemical
5915         formula macro package.  From Thomas.
5917         * progname.c (expand_symlinks, ReadSymLink, CopyFirst, StripFirst,
5918         StripLast): New functions to expand symbolic links for SELFAUTO*.
5919         Noted by Thomas.
5921         * texmf.cnf.in (PKFONTS.xdvi): Fix tpyo.
5922         Document that memory changes
5923         (trie_size): Increase to 64000.
5925 Fri Jan 17 13:08:08 1997  Karl Berry  <karl@cs.umb.edu>
5927         * progname.c (remove_dots): Don't free the constant null string.
5928         From Andreas.
5930         * texmf.cnf.in (dbfontdir): Change to dbfonts (the commented-out one).
5932 Thu Jan 16 10:13:19 1997  Karl Berry  <karl@cs.umb.edu>
5934         * cnf.c (kpse_cnf_get): Avoid recursive init, due to new
5935         $TETEXDIR and other variables in default TEXMFCNF value.
5937         * getopt*, strtol.c: New versions from /gd/gnu/lib.
5939         * c-std.h (ALLOC_RETURN_TYPE): Only define if we're going to use it.
5941         * acconfig.h (EDITOR): Oops, %s not +%s.
5942         From: tim@maths.tcd.ie.
5944         * progname.c (kpse_set_progname): One more my_dirname call
5945         to get the parent and the grandparent in the environment variables.
5947         * texmf.cnf.in (texdir): Rename from tex, to avoid clash with
5948         TEX used by makempx -- win32 doesn't distinguish case on envvars.
5949         From Fabrice.
5950         (WEB2CDIR): Lowercase, so it doesn't end up in paths.h, just
5951         for cleanliness.
5953         * progname.c (kpse_set_progname): Pass program_invocation_name
5954         to selfdir instead of progname, just in case we
5955         HAVE_PROGRAM_INVOCATION_NAME and it's something different.
5956         From Fabrice.
5958         * tex-file.c (kpse_open_file): ocp, ofm and ovf should use
5959         FOPEN_RBIN_MODE.  From Fabrice and John Plaice.
5961         * progname.c [AMIGA]: Fix syntax errors, remove_dots not necessary.
5962         From Andreas Scherer.
5964         * MakeTeXupdate: MakeTeXls-R isn't in the conf dir anymore, just
5965         in the regular path.
5966         From Thomas.
5968 Sun Jan 12 17:22:35 1997  Karl Berry  <karl@cs.umb.edu>
5970         * cnf.c (read_all_cnf): Do not test unallocated memory on empty
5971         lines; crashed on Alphas.
5973         * progname.c (dirname): Rename to my_dirname to avoid clash on Alphas.
5975 Sat Jan 11 16:28:54 1997  Karl Berry  <karl@cs.umb.edu>
5977         * c-std.h (calloc, malloc, realloc) [!STDC_HEADERS]: Only declare
5978         in this case.
5980 Tue Jan  7 17:44:01 1997  Karl Berry  <karl@cs.umb.edu>
5982         * MakeTeXPK: Doc fix.
5984         * texmf.cnf.in (KPSE_DOT): Define.
5986         * c-memstr.h: Doc fix.
5988 Wed Jan  1 16:58:02 1997  Karl Berry  <karl@cs.umb.edu>
5990         * pathsearch.h (kpse_filename_component): Declare this.
5991         * path-elt.c: Define it.
5992         * progname.c (remove_dots): New function to remove . and ..
5993         filename components.  Subsumes slashify, it turns out.
5995         * Makefile.in (install-exec): Install MakeTeXls-R in $(scriptdir).
5997 Mon Dec 30 16:22:42 1996  Karl Berry  <karl@cs.umb.edu>
5999         * progname.c (kpse_set_progname): Strip off .exe if present.
6001         * cnf.c: Doc fix.
6003         * progname.c (slashify): New function, to translate \ into / for WIN32.
6004         (selfdir): Call it.
6006         * lib.h (FILE{STR,CHAR}CASEEQ) [MONOCASE_FILENAMES]: Define these,
6007         continuing yesterday's changes.
6008         From Fabrice.
6010 Sun Dec 29 13:26:09 1996  Karl Berry  <karl@cs.umb.edu>
6012         * db.c (match, elt_in_db),
6013         * elt-dirs.c (cached),
6014         * hash.c (hash_lookup),
6015         * kpsewhich.c (find_format, TRY_SUFFIX),
6016         * tex-file.c,
6017         * cnf.c (do_line): Compare filenames with FILESTRCASEEQ or
6018         FILECHARCASEEQ to support monocase filesystems.
6019         * hash.c (hash) [MONOCASE_FILENAMES]: Transform keys to uppercase.
6020         From Fabrice.
6022         * basename.c (basename):  Consider device separators;
6023         if given 'e:foo.tex', should return 'foo.tex'.
6024         From: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.
6026         * types.h (boolean): Protect with #ifndef HAVE_BOOLEAN, for NeXT.
6027         From: Raf Schietekat <flexus!rfschtkt@colds.ruca.ua.ac.be>
6029 Sat Dec 28 07:18:48 1996  Karl Berry  <karl@cs.umb.edu>
6031         * progname.c [AMIGA]: Add code for this case from Andreas S.
6033 Fri Dec 27 17:38:43 1996  Karl Berry  <karl@cs.umb.edu>
6035         * progname.c (S_IX{USR,GRP,OTH}): Define if not defined, for the NeXT.
6036         From: Gregor Hoffleit <flight@mathi.uni-heidelberg.de>.
6038         * texmf.cnf.in (TEXMFCNF): Rewrite using /.'s etc.  From Thomas.
6040 Sun Dec 15 06:21:22 1996  Karl Berry  <karl@cs.umb.edu>
6042         * common.ac (AC_CHECK_FUNCS): Add getwd.
6044         * lib.h (xgetcwd): Declare.
6045         * Makefile.in (objects): Add xgetcwd.lo.
6046         * xgetcwd.c: New file from xdvik.
6048         * texmf.cnf.in (TEXMFCNF): Add $SELFAUTODIR:$SELFAUTOPARENT.
6049         * progname.c (selfdir, dirname, etc.): New functions.
6050         (kpse_set_progname): Set SELFAUTODIR and SELFAUTOPARENT.
6052 Sat Dec 14 14:41:39 1996  Karl Berry  <karl@cs.umb.edu>
6054         * tex-file.h (kpse_src_type): New types kpse_tex{doc,source}_format.
6055         * tex-file.c (TEXDOC_ENVS, TEXSOURCE_ENVS): New envvars.
6056         (kpse_init_format): Handle them.
6057         * texmf.cnf.in (TEXDOCS, TEXSOURCES): New values.
6058         * kpathsea.texi: Document them.
6060 Fri Dec 13 16:46:00 1996  Karl Berry  <karl@cs.umb.edu>
6062         * expand.h: Doc fix.
6064 Thu Dec 12 17:25:25 1996  Karl Berry  <karl@cs.umb.edu>
6066         * xputenv.c [WIN32]: Work around putenv ("FOO=") unsetting
6067         FOO under NT.  From Fabrice.
6069 Mon Dec  9 23:27:45 MET 1996 Thomas Esser <te@informatik.uni-hannover.de>
6071         * kpsewhich.c: add option -show-path to display the search path for a
6072         given file type.
6074 Mon Dec  9 17:23:32 1996  Karl Berry  <karl@cs.umb.edu>
6076         * readable.c (READABLE): Check !S_ISDIR instead of S_ISREG,
6077         to allow fifo's.
6078         Suggestion from: Krzysio Leszczynski <chris@camk.edu.pl>.
6080         * tex-file.c (kpse_open_file): Open VF files in binary mode.
6081         From Fabrice.
6083         * types.h (boolean) [WIN32]: Remove this case, Fabrice
6084         has found another solution.
6086         * elt-dirs.c (expand_elt): Do not check for a device separator.
6087         From Fabrice.
6089         * texmf.cnf.in (OTPINPUTS, OCPINPUTS): These use a subdirectory omega/.
6090         From John P.
6092 Sun Dec  8 17:15:43 1996  Karl Berry  <karl@cs.umb.edu>
6094         * c-proto.h (DllImport): Define here.
6095         * config.h (DllImport): Instead of here.
6096         * kpsewhich.c: Other DllImport changes.
6097         * line.c [WIN32]: Include <malloc.h>.
6098         * tex-file.c: Oops, had FOPEN_RBIN_MODE vs. R reversed.
6099         * tex-make.c (kpse_make_tex_discard_errors): Add Dllimport.
6100         * types.h (boolean): Bizarre WIN32 definition.
6101         From: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.
6103 Sat Dec  7 22:12:26 MET 1996 Thomas Esser <te@informatik.uni-hannover.de>
6105         * MakeTeXnames: Ensure that cmr1234 will be mapped to
6106         jknappen/sauter while cmr12 will still be mapped to public/cm.
6108 Fri Dec  6 15:08:35 1996  Karl Berry  <karl@cs.umb.edu>
6110         * texmf.cnf.in (OFMFONTS, etc.): New definitions for Omega.
6111         * tex-file.h (kpse_file_format_type): Define kpse_ocp_format, etc.
6112         * acconfig.h (MAKE_OMEGA_{OFM,OCP}_BY_DEFAULT): Include these.
6113         * tex-file.c (kpse_init_format): New cases for the Omega types.
6114         (OCP_ENVS, etc.): New environment variable lists.
6115         From: John Plaice <plaice@iad.ift.ulaval.ca>.
6117         * texmf.cnf.in: Use fonts//<format> consistently,
6118         instead of fonts/<format>.
6120         * lib.h (itoa): Remove, it seems we don't use this function any more.
6121         * itoa.c: Remove.
6122         * acconfig.h (HAVE_ITOA): Remove this.
6123         * Makefile.in (objects): Remove.
6125         * cnf.c (do_line): Oops, tested prog after freeing it,
6126         should have tested prog2.
6127         From: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.
6129 Tue Dec  3 14:57:52 1996  Karl Berry  <karl@cs.umb.edu>
6131         * Makefile.in (objects): Remove strtol.lo, that's generated by
6132         configure.
6133         From: Gregor Hoffleit <flight@mathi.uni-heidelberg.de>.
6135 Mon Dec  2 09:05:54 1996  Karl Berry  <karl@cs.umb.edu>
6137         * MakeTeXcommon: Set KPSE_DOT before the trap.  From Thomas.
6139 Tue Dec  3 18:02:08 1996  Ulrik Vieth  <vieth@thphy.uni-duesseldorf.de>
6141         * texmf.cnf.in (TRFONTS): Set this to /usr/lib/font/devpost
6142         indepent of $prefix.
6144 Mon Dec  9 00:28:58 1996  Ulrik Vieth  <vieth@thphy.uni-duesseldorf.de>
6146         * MakeTeXcommon: Use `basename $0` in usage and version messages
6147         for consistency with other programs and scripts.
6148         Also accept -help, -version in addition to --help, --version.
6150         * MakeTeX{MF,PK,TFM,ls-R,mkdir,names,update}:
6151         Use `basename $0` in usage messages for consistency.
6152         
6153 Tue Dec  3 18:02:08 1996  Ulrik Vieth  <vieth@thphy.uni-duesseldorf.de>
6155         * texmf.cnf.in (TRFONTS): Set this to /usr/lib/font/devpost
6156         indepent of $prefix.
6158 Thu Nov 28 16:33:35 1996  Karl Berry  <karl@cs.umb.edu>
6160         * common.ac (AC_ISC_POSIX): Remove this; it causes warnings from
6161         Autoconf that make no sense, isn't cached, and is probably of
6162         dubious value today.
6163         * configure.in: Move the klibtool stuff to common.ac, so the
6164         program configure.in's can find it.
6166 Wed Nov 27 14:43:41 1996  Karl Berry  <karl@cs.umb.edu>
6168         * configure.in: Doc fix.
6169         * acconfig.h (HAVE_BASENAME, etc.): #undef these symbols so
6170         Autoheader can replace them; we use a non-standard macro to test
6171         for them, since they're part of the possibly-shared library.
6173 Mon Nov 25 14:04:42 1996  Karl Berry  <karl@cs.umb.edu>
6175         * Makefile.in (texmf.sed): Replace all $(texmf) with `$TEXMF'
6176         except on the TEXMF line itself.
6178 Sun Nov 24 10:06:35 1996  Karl Berry  <karl@cs.umb.edu>
6180         * Makefile.in (texmf.sed): Insert missing quote.
6181         (distdir): Use doc instead of listing all the targets (we were
6182                 missing unixtex.ftp).
6184         * kpsewhich.c (read_command_line): Print the integer equivalent of
6185         each format.
6187 Sat Nov 23 15:38:31 1996  Karl Berry  <karl@cs.umb.edu>
6189         * xt.ac (with_x): Remove spurious ;;.
6191 Fri Nov 22 18:00:41 1996  Karl Berry  <karl@cs.umb.edu>
6193         * cnf.c (do_line): Let var.prog lines work if we're running prog.exe.
6194         This happens with --enable-shared.
6195         From Ulrik.
6197 Mon Nov 18 16:10:48 1996  Karl Berry  <karl@cs.umb.edu>
6199         * tex-file.c (kpse_troff_font_format): Change to DEFAULT_TRFONTS
6200         to make texmf.cnf.in change.
6202 Fri Nov 15 14:13:36 1996  Karl Berry  <karl@cs.umb.edu>
6204         * Makefile.in (texmf.sed): Get $TEXMF back into the paths.
6205         Noted by Andreas Scherer.
6206         (distdir): Add klibtool.version to the distribution.
6207         From Ulrik.
6208         (install-exec): Use INSTALL_SCRIPT for scripts.
6210 Mon Nov 11 16:16:50 1996  Karl Berry  <karl@cs.umb.edu>
6212         * various .c: Print (nil) instead of (null) so we can possibly
6213         detect printf of a null pointer.
6215 Sun Nov 10 16:22:43 1996  Karl Berry  <karl@cs.umb.edu>
6217         * xt.ac: New file so web2c and xdvi treat --with-x-toolkit uniformly.
6218         From Ulrik.
6220 Thu Oct 31 15:38:48 1996  Karl Berry  <karl@cs.umb.edu>
6222         * expand.c (kpse_path_expand): Do brace expansion first.
6223         (kpse_brace_expand): Expand each element of the brace expansion, so
6224         {~a,~b} expands.  Suggested by Thomas.
6226 Fri Oct 25 16:51:14 1996  Karl Berry  <karl@cs.umb.edu>
6228         * Makefile.in (install-data): Install an empty dir file if none exists.
6229         (mostlyclean: Remove PROF etc. subdirs here.
6231 Tue Oct 22 13:56:20 1996  Karl Berry  <karl@cs.umb.edu>
6233         * Makefile.in ($(library).h): Make the modtime of the file the
6234         same as the latest other .h; otherwise, we think kpathsea always
6235         has to be remade.
6237 Sun Oct 20 18:06:36 1996  Karl Berry  <karl@cs.umb.edu>
6239         * Makefile.in (distdir): No need to distribute copying.texi.
6241 Mon Oct 14 11:32:51 1996  Karl Berry  <karl@cs.umb.edu>
6243         * Changes for NT from: Fabrice POPINEAU <popineau@esemetz.ese-metz.fr>.
6245         * xputenv.c (putenv) [WIN32]: #include <stdlib.h> instead of declaring.
6247         * tex-file.c (kpse_open_file): Use FOPEN_RBIN_MODE for tfm and gf
6248         formats.
6250         * xopendir.h [!WIN32]: Conditionalize whole file.
6251         * xopendir.c (xopendir) [!WIN32]: Conditionalize defn.
6253         * kpsewhich.c (DllImport) [_WIN32]: Define.
6254         (path_sep): Use ENV_SEP_STRING.
6256         * progname.h,
6257         * lib.h,
6258         * debug.h (kpathsea_debug),
6259         * concatn.h (concatn): Give DllImport kludge.
6261         * config.h (DOSISH) [WIN32]: #define.
6262         Also include <windows.h>, etc.
6264         * c-std.h (getenv, popen, pclose) [WIN32]: Conditionalize decls.
6265         * c-fopen.h [WIN32]: Use rb and wb.
6266         * c-limits.h [HAVE_SYS_PARAM_H]: Conditionalize #ifdef.
6267         * common.ac: Check for <sys/param.h>
6268         * c-stat.h [WIN32]: #include <io.h> and #define stat _stat.
6270 Sat Oct 12 11:10:45 1996  Karl Berry  <karl@cs.umb.edu>
6272         * tex-file.c (kpse_find_file): Include a suffix in what we pass to
6273         kpse_fontmap_lookup.
6275         * Makefile.in (paths.h): Remove extra $ when replacing $VARFONTS.
6277 Tue Oct  8 16:40:07 1996  Karl Berry  <karl@cs.umb.edu>
6279         * tex-glyph.c (try_fontmap): Do not return the first alias if it
6280         itself is an alias.  Also, if a particular alias succeeds,
6281         return that.
6283 Sun Oct  6 17:52:58 1996  Karl Berry  <karl@cs.umb.edu>
6285         * version.c: Doc fix.
6287 Sat Oct  5 17:06:54 1996  Karl Berry  <karl@cs.umb.edu>
6289         * kpsewhich.c (-must-exist): New option.
6290         (must_exist): New global.
6292         * Makefile.in (install-data): Call install-info.
6293         * kpathsea.texi, *.texi: Use @url, @email, and @dircategory/@direntry.
6295 Sat Sep 21 19:02:17 1996  Karl Berry  <karl@cs.umb.edu>
6297         * MakeTeXnames.cnf: Doc fix.
6299         * texmf.cnf.in (latex{2e,209}_inputs): Replace spurious `latex2e'.
6300         (TEXINPUTS.fontinst): New definition, including AFM files.
6301         (MFINPUTS, TFMFONTS, PKFONTS): Use $VARFONTS.
6302         From Thomas.
6304 Sat Sep  7 16:00:53 1996  Karl Berry  <karl@cs.umb.edu>
6306         * MakeTeXupdate,
6307         * MakeTeXnames,
6308         * MakeTeXmkdir,
6309         * MakeTeXls-R,
6310         * MakeTeXTFM,
6311         * MakeTeXPK,
6312         * MakeTeXMF (version): Call kpsewhich in MakeTeXcommon, not here.
6314         * version.c: Doc fix.
6316         * kpsewhich.c (read_command_line): Improve formatting of --help
6317         message.
6319 Fri Sep  6 19:16:20 1996  Karl Berry  <karl@cs.umb.edu>
6321         * kpsewhich.c (read_command_line): Print the bug reporting address.
6322         * version.c (kpse_bug_address): New global.
6324 Thu Sep  5 19:08:04 1996  Karl Berry  <karl@cs.umb.edu>
6326         * Makefile.in: Doc fix.
6328         * configure.in: Include ../acklibtool.m4 here.
6329         * common.ac: Not here.  Move calls to kb_*LIBTOOL* functions, too.
6331 Sun Sep  1 17:34:17 1996  Karl Berry  <karl@cs.umb.edu>
6333         * Makefile.in (.c.lo): Put filename right after $(CC), for Klibtool.
6334         (KPATHSEA_CC): Do not include ALL_CFLAGS here.
6335         (paths.h): Instead of deleting definitions with lowercase variable
6336         names, don't include them in the first place.
6338 Sat Aug 31 16:15:33 1996  Karl Berry  <karl@cs.umb.edu>
6340         * common.ac: Call kb_KLIBTOOL_REPLACE_FUNCS and kb_PROG_LIBTOOL
6341         instead of the AM_* versions.
6342         Also, include acklibtool.m4 instead of aclibtool.m4.
6344         * Makefile.in (liblobjs): Change to use @LTLIBOBJS@.
6346 Sat Aug 17 17:22:18 1996  Karl Berry  <karl@cs.umb.edu>
6348         * texmf.cnf.in (PKFONTS*, GFFONTS): Need another / to match TDS.
6350 Sat Aug 10 15:46:46 1996  Karl Berry  <karl@cs.umb.edu>
6352         * texmf.cnf.in (TFMFONTS, VFFONTS): Update with trailing // for TDS.
6354         * MakeTeXupdate,
6355         * MakeTeXnames.cnf,
6356         * MakeTeXnames,
6357         * MakeTeXTFM,
6358         * MakeTeXMF,
6359         * MakeTeXmkdir,
6360         * MakeTeXls-R,
6361         * MakeTeXPK: Change --expand to -expand-var.
6363         * tex-glyph.c (try_fontmap): Return the real name of the first
6364                 alias as the font name.
6365         (kpse_find_glyph): Change call, free string if necessary, etc.
6366         Basic idea from a patch sent by wls@astro.umd.edu.
6368 Fri Aug  9 15:42:40 1996  Karl Berry  <karl@cs.umb.edu>
6370         * Makefile.in (paths.h): Substitute for dbtex, dbfonts, and prefix.
6371         Also, do not define lowercase variables.
6373 Thu Aug  8 14:50:29 1996  Karl Berry  <karl@cs.umb.edu>
6375         * texmf.cnf.in (TEXCONFIG, INDEXSTYLE): Use //, just in case there
6376                 are subdirectories. From Thomas.
6378 Tue Aug  6 13:59:03 1996  Karl Berry  <karl@cs.umb.edu>
6380         * kpsewhich.c (lookup): Handle user_path case.
6382 Mon Aug  5 17:23:56 1996  Karl Berry  <karl@cs.umb.edu>
6384         * kpsewhich.c: Rename -expand to -expand-var,
6385         -path to -expand-path, and add new -path option to specify
6386         explicit path for lookups.
6388         * tex-file.h (kpse_ist_format): New format.
6389         * tex-file.c (kpse_init_format): Initialize it.
6390         (IST_ENVS): New #define.
6391         * texmf.cnf.in (INDEXSTYLE): Set the default path.
6393         * tilde.c (kpse_tilde_expand): If $HOME starts with //, only use
6394         one of the slashes.
6396 Sat Aug  3 17:18:00 1996  Karl Berry  <karl@cs.umb.edu>
6398         * kpsewhich.c (read_command_line): Change Usage: line to conform.
6400 Fri Aug  2 11:57:23 1996  Karl Berry  <karl@cs.umb.edu>
6402         * db.c (db_build): Test len > 0 before evaluating len - 1.
6403         From: "Peter Henderson, Syrinx Speech Systems P/L, Tel: (+61-2)
6404                 956-6540" <peterh@syrinx.com.au>.
6406 Sat Jul 27 14:35:17 1996  Karl Berry  <karl@cs.umb.edu>
6408         * Makefile.in (paths.h): Change target name to
6409         $(kpathsea_dir)/paths.h, for rdepend.make dependency.
6411         * Makefile.in (liblobjs): New variable, gets @LIBTOOL_LIBOBJS@.
6412         * common.ac (kbAC_LIBTOOL_REPLACE_FUNCS): Use this new macro instead
6413         of AC_REPLACE_FUNCS.
6415 Fri Jul 26 15:51:55 1996  Karl Berry  <karl@cs.umb.edu>
6417         * Makefile.in (KPATHSEA_CC): Include $(compile).
6418         (.c.lo): Change suffix rule for libtool 0.5.
6419         (install-exec): Use new variables INSTALL_LIBTOOL_*.
6421 Mon Jul  8 17:21:34 1996  Karl Berry  <karl@laurie>
6423         * unixtex.texi: Rename from obtain.texi.
6425 Fri Jun  7 19:10:52 1996  K. Berry  <kb@cs.umb.edu>
6427         * common.ac: Include ../kpathsea/withenable.ac.
6429 Thu Jun  6 16:34:43 1996  K. Berry  <kb@cs.umb.edu>
6431         * Makefile.in (kpsewhich): Use libtool commands etc. instead of
6432         our shared lib stuff.
6433         * common.ac: Replace our shared lib stuff with gm_PROG_LIBTOOL.
6434         * withenable.ac: Remove --enable-shared stuff.
6436 Sat Jun  1 15:05:42 1996  Karl Berry  <karl@cs.umb.edu>
6438         * MakeTeX*: Add RCS info for version strings.
6440 Thu May 30 13:46:46 1996  Karl Berry  <karl@cs.umb.edu>
6442         * MakeTeXPK: Doc fix; we're called with the base font name
6443         (pplr8r), not the user font name (pplr).
6445         * db.c (ignore_dir_p): Remove the dot_pos != dirname test,
6446         since it's always true. It caused directory names containing .'s
6447         (e.g., `dc-1.2') to be ignored.
6448         From Thomas Esser and Frank Mittelbach.
6450 Sun May 26 16:06:41 1996  Karl Berry  <karl@cs.umb.edu>
6452         * tex-make.c (kpse_make_tex): If called kpse_init_form, reassign
6453         our local variable, too.
6455 Thu May 23 16:20:53 1996  Karl Berry  <karl@cs.umb.edu>
6457         * MakeTeXnames: Doc fix.
6459 Fri May  3 13:34:51 1996  Karl Berry  <karl@cs.umb.edu>
6461         * withenable.ac: Use AC_ARG_WITH instead of AC_ARG_ENABLE for
6462         maketex*.
6464         * tex-file.c (kpse_find_file): Oops, testing for kpse_pk_format
6465         twice, when meant to test for kpse_gf_format.
6467         * cnf.c (do_line): Allow whitespace in variable values.
6469         * texmf.cnf.in: Finish adding easier support for !!. From Joachim.
6471 Wed May  1 16:30:56 1996  Karl Berry  <karl@cs.umb.edu>
6473         * texmf.cnf.in (TEXCONFIG): Take $HOME back out again, we're going
6474         to hardwire a seach for dvipsrc in $HOME.
6476 Mon Apr 29 14:02:03 1996  Karl Berry  <karl@cs.umb.edu>
6478         * texmf.cnf.in (latex2e_inputs): Use just `latex', not `latex2e'.
6479         From: David Carlisle <carlisle@cs.man.ac.uk>.
6480         (TEXINPUTS, etc.): Also rewrite to make !! support easier to add.
6481         From: Joachim Schrod <schrod@iti.informatik.th-darmstadt.de>.
6483         * install.texi: Document ksh/ash/Ultrix sh lossage, in favor of
6484         bash/bsh/sh5.
6486 Sun Apr 28 15:02:55 1996  Karl Berry  <karl@cs.umb.edu>
6488         * acconfig.h (ASM_NEEDS_UNDERSCORE): New define.
6489         From: Peter Breitenlohner <peb@MPPMU.MPG.DE>.
6491         * Makefile.in (sharedlib_version): Remove unused variable.
6493 Sat Apr 27 17:15:14 1996  Karl Berry  <karl@cs.umb.edu>
6495         * texmf.cnf.in (hyph_size): Add this.
6497 Tue Apr 23 07:34:05 1996  Karl Berry  <karl@cs.umb.edu>
6499         * texmf.cnf.in (MIMELIBDIR, MAILCAPDIR): Add these.
6500         (MPXCOMMAND): And these.
6502         * MakeTeX.site: New file, just an example.
6504 Mon Apr 22 17:31:27 1996  Karl Berry  <karl@cs.umb.edu>
6506         * MakeTeXnames.conf: Rename to MakeTeXnames.cnf.
6507         * MakeTeXnames: Change call.
6508         * Makefile.in (install-exec): Change install.
6510 Sun Apr 21 12:09:06 1996  Karl Berry  <karl@cs.umb.edu>
6512         * tex-file.h (kpse_set_program_enabled, kpse_maketex_option):
6513         Declare new functions.
6514         (kpse_src_type): Define new type.
6515         * tex-file.c (kpse_set_program_enabled): New function, so we can
6516         set this at all the various levels and get the overrides right.
6517         (kpse_maketex_option): Handle MakeTeX options in a common place.
6518         * proginit.c (kpse_init_prog): Call it, and remove the make_tex_pk
6519         argument.
6520         * proginit.h (kpse_init_prog): Likewise.
6521         * kpsewhich.c (parse_options): New options -maketex and -nomaketex,
6522         just calls kpse_maketex_option.
6524         * Makefile.in ($(library).h): New target, made at dist time.
6526 Sat Apr 20 17:21:24 1996  Karl Berry  <karl@cs.umb.edu>
6528         * tex-file.c (kpse_find_file): Do not pound the disk on the first
6529         search if we might be trying the second.
6531 Tue Mar 12 15:21:16 1996  Karl Berry  <karl@cs.umb.edu>
6533         * MakeTeXPK: Restore check for mismatched mode and bdpi.  From Thomas.
6535 Sun Mar 10 14:17:14 1996  Karl Berry  <karl@cs.umb.edu>
6537         * MakeTeXnames.conf: Rename VARFONTS to VARTEXFONTS.
6539         * MakeTeXcommon (trap): Oops, cd $KPSE_DOT before testing $STDOUT.
6541 Sat Mar  9 17:57:02 1996  Karl Berry  <karl@cs.umb.edu>
6543         * MakeTeXcommon (trap): cd back to KPSE_DOT before removing
6544         TEMPDIR, in case $TMPDIR is relative.  Reported by Thomas.
6546 Fri Mar  8 11:41:22 1996  Karl Berry  <karl@cs.umb.edu>
6548         * db.c (kpse_db_search): Add debug statement with the result of
6549         the match.
6551         * tex-make.c (kpse_make_tex): Don't look for the arg spec here.
6552         * tex-file.c (init_maketex): Do it here. Check for disbaling in
6553         the config file, too.
6555         * tex-make.c (misstex): Look for TEXMFOUTPUT in texmf.cnf.
6556         * texmf.cnf.in (TEXMFOUTPUT): Define this.
6558         * kpathsea.texi (Suppressing warnings): New node to describe TEX_HUSH.
6560         * tex-file.c (kpse_init_format): Include the numeric value of the
6561         format for use with kpsewhich --format.
6563         * tex-hush.c: Support `all' to suppress everything.
6565 Thu Mar  7 11:24:51 1996  Karl Berry  <karl@cs.umb.edu>
6567         * kpsewhich.c: Change --program to --progname, for compatibility
6568         with TeX & co.
6570         * texmf.cnf.in (TEXCONFIG): Remove ~ from default path, for
6571         consistency with everything else.
6573         * readable.c: Let's call it TEX_HUSH instead of KPSE_NOWARN_PERM,
6574         so we can use it for checksum warnings, too. And for similarity
6575         with xdvi.
6576         * kpathsea.texi: Corresponding change.
6577         * tex-hush.[ch]: New files.
6579 Wed Feb 28 15:16:32 1996  Karl Berry  <karl@cs.umb.edu>
6581         * tex-make.c (misstex): Let the name missfont.log be configurable.
6582         * texmf.cnf.in (MISSFONT_LOG): Add this definition.
6583         * kpathsea.texi: Document this.
6585 Sun Feb 25 16:55:35 1996  Karl Berry  <karl@cs.umb.edu>
6587         * tex-file.c: Reverse order of alias & suffix searches, so we look
6588         for the original TFM name before aliases.
6590 Sun Feb 18 16:24:50 1996  Karl Berry  <karl@cs.umb.edu>
6592         * tex-file.c (xopenfile): Move this function to here and rename to
6593         kpse_open_file.
6594         * xopenfile.c: Remove this.
6595         * Makefile.in (objects): Remove xopenfile.o.
6597 Thu Feb 15 12:57:56 1996  Karl Berry  <karl@cs.umb.edu>
6599         * tex-make.c (maketex): Do not print the `kpathsea: Running ...'
6600         message if we're discarding output.
6601         (misstex): Do not log the missing file in missfont.log, either.
6603 Sat Feb 10 14:59:23 1996  Karl Berry  <karl@cs.umb.edu>
6605         * Makefile.in (sharedlib): Add new command here $(shared_postlink)
6606         so we can make the necessary symlink.
6607         (shared_postlink): New variable
6609 Fri Feb  9 15:46:55 1996  Karl Berry  <karl@cs.umb.edu>
6611         * withenable.ac (maketex{mf,pk,tfm}-default): Move here from
6612         web2c/withenable.ac.
6614 Wed Feb  7 16:52:08 1996  Karl Berry  <karl@cs.umb.edu>
6616         * MakeTeXnames.conf: Extract this new script from MakeTeXcommon, sigh.
6617         * MakeTeX*: Other updates from Thomas --
6618         - replace the exec 3>&1 1>&2 by trap/subshell construction. The
6619                 3>&1 may cause the 'open fd bug' with bash.
6620         - ts is a typo. tc are the text companion fonts
6621         - replace >&3 by >$STDOUT where $STDOUT is a filename. Its content is
6622           displayed by the trap command in MTcommon.
6623         - added missing ;; in case/esac 
6624         - use : ${VAR=VAL} where possible
6625         - added mt_min_args
6626         - removed psfonts.map parsing (was only needed for ps2pk)
6627         - removed >&2 where redirection stdout->stderr is active anyway
6628         - removed </dev/null where redirection stdin<-/dev/null is active
6629                 anyway
6630         - Oops: MakeTeXTFM still used old code:  >$TEMPDIR/mtout.$$
6631         - add line
6632            trap 'test -f $STDOUT && cat $STDOUT; cd /; rm -rf $TEMPDIR; exit 0' 0 1 2 15
6633           to MakeTeXcommon
6634         - MT_FEATURES now in MakeTeXnames.conf since we need to read it
6635                 later than MakeTeXcommon
6637 Tue Feb  6 17:04:25 1996  Karl Berry  <karl@cs.umb.edu>
6639         * tex-file.h (kpse_file_format_type): Add afm and type1 support.
6640         * tex-file.c: Likewise.
6641         (kpse_init_format): In tex_ps_header_format, no longer need to
6642         recognize .pfa and .pfb.
6643         * texmf.cnf.in (AFMFONTS, T1FONTS): Likewise.
6644         * Makefile.in (paths.h): Include 0-9 in the regexp for the sake of
6645         T1FONTS.
6647 Sat Feb  3 15:45:00 1996  Karl Berry  <karl@cs.umb.edu>
6649         * Makefile.in (DEFS): Move to common.make.
6651 Mon Jan 29 17:01:44 1996  Karl Berry  <karl@cs.umb.edu>
6653         * MakeTeXls-R: Doc fix.
6655 Mon Jan  8 17:17:42 1996  Karl Berry  <karl@cs.umb.edu>
6657         * tex-file.c: Doc fix.
6659         * fontmap.c (MAP_NAME, MAP_HASH_SIZE): Conditionalize these #defines.
6661 Sun Jan  7 17:38:00 1996  Karl Berry  <karl@cs.umb.edu>
6663         * db.c (DB_HASH_SIZE, DB_NAME): Conditionalize these.
6665         * MakeTeXcommon (dcfontdir, tsfontdir): Use supplier `jknappen'.
6667 Mon Jan  1 15:14:42 1996  Karl Berry  <karl@cs.umb.edu>
6669         * Makefile.in (distdir): Don't bother including freedom.texi.
6671 Fri Dec 29 17:17:08 1995  Karl Berry  <karl@cs.umb.edu>
6673         * Makefile.in: misc.make is now clean.make.
6675 Tue Dec 26 14:21:08 1995  Karl Berry  <karl@cs.umb.edu>
6677         * withenable.ac: New file with --enable option extracted from
6678         common.ac, for the top level to include.
6680         * acconfig.h (MAKE_TEX_PK_BY_DEFAULT): Add this.
6682         * readable.c (kpse_readable_file): Omit warning if
6683         KPSE_NOREAD_WARN is set to 1.
6685 Wed Dec 13 14:14:09 1995  Karl Berry  <karl@cs.umb.edu>
6687         * kpsewhich.c: Call kpse_init_format when necessary in the
6688         --format case.
6690 Mon Dec 11 14:42:13 1995  Karl Berry  <karl@cs.umb.edu>
6692         * common.ac: --disable-shared should not act like --enable-shared.
6693         From Ulrik.
6695 Sun Dec 10 15:35:15 1995  Karl Berry  <karl@cs.umb.edu>
6697         * tex-file.h (kpse_mft_format): New format.
6698         * tex-file.c (MFT_ENVS): New variable.
6699         (kpse_init_format): Initialize it.
6700         * texmf.cnf.in (MFTINPUTS): New variable.
6702 Fri Dec  8 08:54:58 1995  Karl Berry  <karl@cs.umb.edu>
6704         * xopenfile.c: Doc fix.
6706 Mon Dec  4 17:23:34 1995  Karl Berry  <karl@cs.umb.edu>
6708         * Makefile.in (check): Extra $ missing.
6710 Sun Dec  3 13:42:54 1995  Karl Berry  <karl@cs.umb.edu>
6712         * tex-file.c (TEX_SUFFIXES): Add .dtx.
6714 Sun Nov 19 16:19:37 1995  Karl Berry  <karl@cs.umb.edu>
6716         * MakeTeX*: Use MakeTeXupdate, mkdir, etc. in $TEXMFCNF_DIR, not
6717         along PATH. From John I.
6719 Sat Nov 18 17:03:46 1995  Karl Berry  <karl@cs.umb.edu>
6721         * tex-file.c (TEX_SUFFIXES): Add .txi.
6723 Fri Nov 17 15:12:03 1995  Karl Berry  <karl@cs.umb.edu>
6725         * common.ac (kb_AC_SYS_SHAREDLIB): Add the kb_ prefix.
6727         * Makefile.in ({un,}install-exec): Use sharedlibname and
6728         staticlibname instead of `basename`.
6729         Also, pass no arguments to $(shared_postinstall); let the Autoconf
6730         macro set this completely.
6732         * expand.c: Bash code remains under the GPL, per rms.
6734 Thu Nov 16 16:14:14 1995  Karl Berry  <karl@cs.umb.edu>
6736         * Makefile.in (uninstall-exec): Needs same `basename` treatment as
6737         install-exec. From Ulrik.
6739         * config.h [AMIGA] (pclose): Must be #defined as 0, not just
6740         empty. From Andreas Scherer.
6742 Tue Nov 14 14:04:57 1995  Karl Berry  <karl@cs.umb.edu>
6744         * tex-file.h (kpse_fallback_resolutions_string): New global.
6745         * tex-file.c: Define it.
6746         (kpse_init_fallback_resolutions): Use it instead of
6747         DEFAULT_FONT_SIZES, if set.
6749 Mon Nov 13 10:43:11 1995  Kathy Hargreaves  <karl@cs.umb.edu>
6751         * find-suffix.c: Remove spurious + 1.
6753 Sun Nov 12 13:42:51 1995  Karl Berry  <karl@cs.umb.edu>
6755         * tex-file.c: Improve warning message if last resort sizes are not
6756         sorted. Suggested by Kathy.
6758         * texmf.cnf.in (trie_size, main_memory): Doc improvements from Wayne.
6760 Sat Nov 11 16:58:37 1995  Karl Berry  <karl@cs.umb.edu>
6762         * MakeTeXnames: Correct too many left quotes.
6764         * tex-make.c (kpse_make_tex): Initialize the format if necessary.
6766 Mon Oct 30 16:49:05 1995  Karl Berry  <karl@cs.umb.edu>
6768         * MakeTeXPK (GFNAME): Do not assume $cmd produced $GFNAME. From Tim.
6770         * texmf.cnf.in (trie_size): Increase to 32000 so common language
6771         combinations will require no change. Suggested by Ulrik.
6773         * MakeTeXls-R: Missing s in sed cmd.
6774         * MakeTeXTFM (TFM_NAME): Should be TFMNAME.
6775         * MakeTeXnames (FONTNAME): Missing `.
6776         * MakeTeXcommon: If the caller requires no args (i.e.,
6777         MakeTeXls-R), don't complain if given no.
6778         Missing } in varfonts case.
6779         All from Thomas.
6781 Sun Oct 22 17:02:25 1995  Karl Berry  <karl@cs.umb.edu>
6783         * c-std.h (hypot): Remove this declaration. It was only needed for
6784         fontutils, and it conflicts under Linux 1.2.10. From Tim Murphy.
6786 Sat Oct 14 10:55:26 1995  Karl Berry  <karl@cs.umb.edu>
6788         * acconfig.h (EDITOR): Missing %. From Tim Murphy.
6790 Sat Oct  7 17:44:41 1995  Karl Berry  <karl@cs.umb.edu>
6792         * Makefile.in (install-exec): Use basename to get the real name so
6793         we don't install in $(libdir)/../kpathsea/etc.
6794         From Ulrik.
6796 Sat Sep 30 12:16:05 1995  Karl Berry  <karl@cs.umb.edu>
6798         * MakeTeXls-R (db_file_tmp): Replace double slashes with single,
6799         for the sake of NetBSD/FreeBSD. From Thomas.
6801 Fri Sep 29 11:29:08 1995  Karl Berry  <karl@cs.umb.edu>
6803         * Makefile.in (tex-file.o): CPPFLAGS is now ALL_CPPFLAGS.
6805 Mon Sep 25 15:05:32 1995  Karl Berry  <karl@cs.umb.edu>
6807         * lib.h (FATAL_PERROR): Avoid using the formal parameter `s' since
6808         cc gets confused with %s.
6810         * MakeTeXls-R: Include subtleties from Thomas.
6811         * MakeTeXcommon: Rename stickydir to appendonlydir.
6813 Sun Sep 24 13:15:51 1995  Karl Berry  <karl@cs.umb.edu>
6815         * cnf.c (kpse_cnf_get): Call kpse_init_db here.
6816         * pathsearch.c (search): Instead of here.
6818         * tex-file.c (init_format): The override path may be null, so use
6819         MAYBE to print it.
6821         * MakeTeXPK: Don't use unset, as Ultrix sh doesn't support it.
6823 Sat Sep 23 15:07:12 1995  Karl Berry  <karl@cs.umb.edu>
6825         * common.ac (basename strstr putenv): Use AC_REPLACE_FUNCS instead
6826         of AC_CHECK_FUNCS. Add strtol and strcasecmp from web2c/lib and xdvik.
6827         * Makefile.in (objects): Use @LIBOBJS@ instead of corresponding .o's.
6829 Fri Sep 22 13:34:51 1995  Karl Berry  <karl@cs.umb.edu>
6831         * acconfig.h (MAKE_TEX_*): #define as 0/1, instead of #undef,
6832         since we now pass this as a default argument to init_maketex.
6834         * tex-file.c (init_path): Look for environment variables PATH.prog
6835         and PATH_prog before PATH.
6837 Thu Sep 21 13:53:38 1995  Karl Berry  <karl@cs.umb.edu>
6839         * kpsewhich.c (USAGE): Avoid bare newline.
6841         * xfseek.c, xftell.c: Add unprototypification.
6843         * common.ac (library_cflags): AC_SUBST for this depending on
6844         --enable-shared.
6845         * Makefile.in (shared_cflags, sharedlib_cflags): Rewrite
6846         accordingly, so the shared flags aren't always used.
6848 Wed Sep 20 17:06:53 1995  Karl Berry  <karl@cs.umb.edu>
6850         * tex-file.c: Add .ltx, .texi, and .texinfo as alternate suffices
6851         for kpse_tex_format.
6853 Tue Sep 19 17:12:10 1995  Karl Berry  <karl@cs.umb.edu>
6855         * texmf.cnf.in: Changes for TDS.
6857         * MakeTeX*: New scripts from Thomas.
6859 Sat Sep 16 17:30:46 1995  Karl Berry  <karl@cs.umb.edu>
6861         * tex-file.c: Do not print extra `kdebug:'s when printing the
6862         alt_suffixes.
6864         * expand.c: Incorporate brace expansion code from bash.
6865         * texmf.cnf.in (PKFONTS.xdvi): Use it here, and document the
6866         possibility for $TEXMF.
6868 Thu Sep 14 12:59:17 1995  Karl Berry  <karl@cs.umb.edu>
6870         * tex-file.c (kpse_init_format): For any_glyph_format, do not
6871         initialize a suffix.
6873         * kpsewhich.c (main): Initialize all the formats.
6874         (find_format): psfonts.map => dvips_config_format.
6876 Tue Sep 12 16:19:44 1995  Karl Berry  <karl@cs.umb.edu>
6878         * MakeTeX{MF,TFM}: New scripts from te.
6879         * Makefile.in (install-exec, distdir): Install and dist them.
6881 Sun Sep 10 15:11:07 1995  Karl Berry  <karl@cs.umb.edu>
6883         * pathsearch.c (search): Doc fix.
6885         * tex-file.h (kpse_format_info_type): Add alt_suffix member.
6886         * tex-file.c (init_format): Set it for PS headers and picts, and
6887         print it if it exists.
6888         * kpsewhich.c: Use the new alt suffixes and also the regular
6889         suffixes to allow for -format names as well as numbers, and for
6890         file format guessing.
6891         
6892 Sat Sep  9 14:27:48 1995  Karl Berry  <karl@cs.umb.edu>
6894         * MakeTeXPK: If the MODE and BDPI don't match, ignore the mode.
6895         Suggested by Thomas.
6897         * tex-file.[ch] (kpse_font_override_path): Remove this.
6898         (kpse_format_info_type): Replace the `override_p' member with a
6899         general `override_path'.
6900         * proginit.c: Set the override path for both fonts and headers.
6902         * acconfig.h (NOTOOL): Add this.
6904 Fri Sep  8 14:52:42 1995  Karl Berry  <karl@cs.umb.edu>
6906         * acconfig.h (HYPERXDVI): Don't need this after all, Autoconf's
6907         default actions are better.
6909 Thu Sep  7 15:11:17 1995  Karl Berry  <karl@cs.umb.edu>
6911         * acconfig.h (HYPERXDVI): Define this.
6913 Mon Sep  4 17:14:25 1995  Karl Berry  <karl@cs.umb.edu>
6915         * debug.h (KPSE_LAST_DEBUG): Define this, for use with gsftopk.
6917         * Makefile.in (objects): Add xopenfile.o.
6918         * xopenfile.c: New file.
6919         * lib.h (xopenfile): Declare it.
6921 Sat Sep  2 13:49:53 1995  Karl Berry  <karl@cs.umb.edu>
6923         * tex-file.h (kpse_file_format): Rename kpse_ps_header_format to
6924         tex_ps_header_format.
6925         * tex-file.c (TEX_PS_HEADER_ENVS): Rename likewise, etc.
6926         * kpsewhich.c (suffixes): Likewise.
6927         * texmf.cnf: Likewise.
6928         
6929         * tex-file.c: Never set must_exist on the first search. Is this
6930         really correct?
6932 Fri Sep  1 13:24:49 1995  Karl Berry  <karl@cs.umb.edu>
6934         * tex-make.c (maketex): Give perror if the popen fails.
6936         * db.c (db_dir_list): Keep track of the directories we found db's in.
6937         (kpse_db_search): If no db directories are relevant to this path
6938         elt, return NULL.
6939         * db.h: Doc fix.
6940         * pathsearch.c (path_search): Doc fix.
6942         * Makefile.in (shared_ext, etc.): Move to common.make.
6944 Thu Aug 31 14:40:32 1995  Karl Berry  <karl@cs.umb.edu>
6946         * kpsewhich.c: Install suffix rewrite from Yves.
6948         * common.ac: Move AC_SYS_SHAREDLIB etc. here.
6950         * acconfig.h (ASM_SCALED_FRACTION): Add this.
6952 Wed Aug 30 17:02:58 1995  Karl Berry  <karl@cs.umb.edu>
6954         * tex-file.c (kpse_find_file): Call kpse_make_tex.
6955         * tex-make.c (kpse_make_tex): Only call set_maketex_mag if we are
6956         doing MakeTeX-PK or GF-ing.
6957         From Greg.
6959 Tue Aug 29 13:58:59 1995  Karl Berry  <karl@cs.umb.edu>
6961         * Makefile.in (texmf.sed): Depend on paths.make. Should we avoid
6962         creating a new file unless it changes, a la c-auto.h?
6964         * configure.in: Check for --enable-shared.
6966 Mon Aug 28 17:50:06 1995  Karl Berry  <karl@cs.umb.edu>
6968         * Makefile.in: Add sharedlib variables.
6970 Sun Aug 27 13:27:01 1995  Karl Berry  <karl@cs.umb.edu>
6972         * hash.c (hash_print): New option summary_only, and always print
6973         the summary.  Also, output to stderr, not stdout.
6974         * hash.h: Change decl.
6976         * db.c (kpse_init_db): Oops, have to make it external, so rename
6977         again.
6978         * db.h: Declare it.
6979         * pathsearch.c (search): Call it.
6980         
6981         * cnf.c (read_all_cnf): Rename from read_files.
6982         * db.c (read_all_lsR): Rename from read_all_dbs.
6983         * fontmap.c (read_all_maps): Rename from map_create.
6985         * tex-file.h (kpse_db_format): Another new type.
6986         * tex-file.c (kpse_init_path): Case for it.
6987         (DB_ENVS): Envvar list.
6988         * texmf.cnf.in (TEXMFDBS): Default path.
6989         * kpsewhich.c (suffix): Add new element.
6991 Sat Aug 26 14:49:28 1995  Karl Berry  <karl@cs.umb.edu>
6993         * cnf.c (CNF_NAME): #define this.
6994         * tex-file.c (kpse_init_path): Instead of setting the .program
6995         element to texmf.cnf here.
6997         * db.c (db_insert): Rename to kpse_db_insert.
6998         * db.h: Change decl.
6999         * tex-make.c (maketex): Change call.
7001         * cnf.c, cnf.h, db.c, db.h, pathsearch.c: Remove references to
7002         kpse_db_dir.
7003         * pathsearch.c (first_search): New static.
7004         (path_search): Do not do ls-R search if first_search.
7005         (search): Do not log if first_search.
7007         * pathsearch.c (path_search): Don't bother calling elt_in_db --
7008         the match function in db.c will catch the irrelevant hits.
7009         Pointed out by te.
7011 Fri Aug 25 14:01:24 1995  Karl Berry  <karl@cs.umb.edu>
7013         * cnf.c (kpse_cnf_get): Look for NAME.PROGRAM before NAME.
7014         (do_line): Save NAME.PROGRAM separately from NAME.
7015         * texmf.cnf.in: Put the usual definitions of TEXINPUTS and PKFONTS
7016         first now, before the .prog variants.
7018         * fontmap.c: Use ISSPACE instead of just checking for space and tab.
7020 Thu Aug 24 13:46:19 1995  Karl Berry  <karl@cs.umb.edu>
7022         * lib.h (strstr) [!HAVE_STRSTR]: Declare this.
7023         * Makefile.in (objects): Add strstr.o.
7024         * common.ac (AC_CHECK_FUNCS): Remove memmove; we seem to never use
7025         this. And add strstr.
7027         * fontmap.c (map_file_parse): Comments at the last % or @c, not at
7028         the first %. Also, implement the include feature.
7029         And thus, don't give up if the map file can't be opened.
7030         (token): New routine, since we can no longer use strtok.
7031         
7032         * tex-file.h (kpse_file_format_type): New format kpse_fontmap_format.
7033         * tex-file.c (kpse_init_format): Initialize it.
7034         (FONTMAP_ENVS): Define it.
7035         * texmf.cnf.in (TEXFONTMAPS): Define the default.
7036         * kpsewhich.c (suffix): Add .map.
7038 Tue Aug 22 13:28:46 1995  Karl Berry  <karl@cs.umb.edu>
7040         * MakeTeXPK.in: No >&/dev/null, source.map is now supplier.map.
7042         * tex-file.c: Doc fix.
7044 Mon Aug 21 15:52:42 1995  Karl Berry  <karl@cs.umb.edu>
7046         * c-memstr.h (SYSV): OK, omit this definition in the never-ending
7047         battle to appease the X headers.
7048         From: neal@ctd.comsat.com (Neal Becker).
7050 Sun Aug 20 12:58:28 1995  Karl Berry  <karl@cs.umb.edu>
7052         * cnf.c (read_files): Concatenate consecutive lines that end in \.
7054         * types.h (boolean) [__cplusplus]: Don't define true and false for C++.
7055         From: Johannes Sixt <Johannes.Sixt@risc.uni-linz.ac.at>.
7057         * db.c (db_build): Call absolute_p to determine if the possible
7058         directory really is one.
7059         Also, allow relative names in the ls-R file.
7061         * kpsewhich.c: New options -path, -separator.
7062         From: David Aspinall <da@dcs.ed.ac.uk>.
7064         * MakeTeXPK.in: Unset DISPLAY and MFTERM.
7065         From: Yves Arrouye <Yves.Arrouye@imag.fr>.
7066         
7067         * db.c (ignored_dir_p): New function to ignore . directories.
7068         (db_build): Call it, and do the ignoring. Report on how many
7069         directories were ignored.
7071         * Makefile.in (MakeTeXPK): Remove dcfontdir substitution.
7072         * MakeTeXPK.in: Play redirection games so regular echo's will work.
7073         (dcfontdir): Remove this; it's unused.
7074         From: te@informatik.uni-hannover.de (Thomas Esser).
7076         * pathsearch.c (path_search): Free more garbage.
7077         From: John Eaton <jwe@che.utexas.edu>.
7079 Sat Aug 19 12:57:54 1995  Karl Berry  <karl@cs.umb.edu>
7081         * kpsewhich.c (USAGE): Document -format and -program.
7083         * tex-make.c (maketex): Give warning if MTPK output a string that
7084         wasn't a filename. From Pierre.
7086         * kpsewhich.c (read_command_line): Execute -expand right
7088         * tilde.c (kpse_tilde_expand): If HOME is /, don't start path with //.
7089         From: Andreas Schott <andreas@mpa-garching.mpg.de>.
7091         * db.c (match): Make /// (or more) like //.
7092         * elt-dirs.c (do_subdir): Likewise. Also, skip over as many
7093         slashes as we found.
7095         * variable.c (expanding_p, expanding, expansions, expansion_type):
7096         New functions, variables, type.
7097         (expand): Check for recursively expanded variables.
7098         Reported by Nicolai Langfeldt <janl@math.uio.no>.
7100         * cnf.c (kpse_cnf_get): Free temporary list after extracting the
7101         first element (the one we return).
7103 Fri Aug 18 17:39:29 1995  Karl Berry  <karl@cs.umb.edu>
7105         * MakeTeXPK.in (1270): The guess here should be linohi, not linolo.
7106         From pwa.
7108         * kpsewhich.c (suffix): Update for new MetaPost stuff.
7109         * tex-file.h: Doc fix.
7111 Mon Aug 14 17:49:05 1995  Karl Berry  <karl@cs.umb.edu>
7113         * debug.h: Define KPSE_DEBUG, not DEBUG.
7114         * hash.c, hash.h, tex-file.c, elt-dirs.c, dir.c, db.c: Change
7115         #ifdef's accordingly. From John I.
7117 Sun Aug 13 16:03:51 1995  Karl Berry  <karl@cs.umb.edu>
7119         * tex-file.h (kpse_file_format_type): Rename kpse_dvips_headers to
7120         just kpse_ps_headers. xdvik uses this too, now.
7121         * tex-file.c (kpse_init_format, KPSE_DVIPS_HEADER_ENVS): Likewise.
7122         Also, look for the PSHEADERS envvar, not DVIPSHEADERS.
7123         * texmf.cnf.in: Likewise.
7125 Thu Aug 10 19:31:14 1995  Karl Berry  <karl@cs.umb.edu>
7127         * tex-file.c (kpse_init_fallback_resolutions): Complain if sizes
7128         aren't sorted, and ignore offending sizes.
7129         From: Manuel Fahndrich <manuel@CS.Berkeley.EDU>.
7131 Tue Aug  1 13:53:53 1995  Karl Berry  <karl@cs.umb.edu>
7133         * variable.[ch] (kpse_var_value): Use const_string.
7135         * texmf.cnf.in (string_vacancies): Decrease to 25000. From Bernd.
7136         (font_max): Add this. From Wayne.
7138 Mon Jul 31 15:47:01 1995  Karl Berry  <karl@cs.umb.edu>
7140         * db.h (KPSE_DB_DIR): Remove $.
7141         * cnf.c (read_files): Call kpse_var_value instead of kpse_var_expand.
7143         * tex-file.[ch]: Add mpsupport and troff_font formats.
7144         * texmf.cnf.in: Likewise.
7146 Sat Jul 29 09:21:44 1995  Karl Berry  <karl@cs.umb.edu>
7148         * variable.h (kpse_var_value): Declare this.
7149         * variable.c (kpse_var_value): New routine.
7151         * tex-file.c: Check TEXMFINI for pool/fmt/base/mem lookups
7153 Tue Jul 25 11:22:25 1995  Karl Berry  <karl@cs.umb.edu>
7155         * concatn.c (concatn): Free the intermediate result, not the final
7156         version.
7158         * texmf.cnf.in (TEXMFLOG): Don't mention this, as we need to log
7159         the finding of the .cnf file itself, thus it must be an
7160         environment variable.
7162 Sat Jul 22 17:09:58 1995  Karl Berry  <karl@cs.umb.edu>
7164         * tex-file.c (KPSE_{MEM,MP,MPPOOL}_ENVS): Define envvars.
7165         * tex-file.h (kpse_file_format_type): Add kpse_{mem,mp,mppool}_formats.
7166         * texmf.cnf.in (MPPOOL, MPMEMS, MPINPUTS): New variables.
7167         Adapted from: vieth@xerxes.thphy.uni-duesseldorf.de (Ulrik Vieth).
7169 Fri Jul 21 15:26:42 1995  Karl Berry  <karl@cs.umb.edu>
7171         * *.c, *.h: The FSF has a new address.
7173         * kpsewhich.c: Give error if no args.
7175 Wed Jul 19 17:34:26 1995  Karl Berry  <karl@cs.umb.edu>
7177         * texmf.cnf.in: Document limits on error_line et al.
7179 Mon Jul 17 13:09:05 1995  Karl Berry  <karl@cs.umb.edu>
7181         * acconfig.h (NO_FMTBASE_SHARE): Rename to NO_DUMP_SHARE.
7183 Sun Jul 16 14:17:16 1995  Karl Berry  <karl@cs.umb.edu>
7185         * acconfig.h (IPC, FUNNY_CORE_DUMP, NO_FMTBASE_SHARE): Include these.
7187 Sat Jul 15 12:45:51 1995  Karl Berry  <karl@cs.umb.edu>
7189         * acconfig.h (HAVE_ITOA): Remove extraneous #define.
7191         * texmf.cnf.in (hash_extra): New TeX array variable, 0 by default.
7193         * tex-file.c (KPSE_BIB_ENVS): Include TEXBIB.
7195 Thu Jul 13 15:04:52 1995  Karl Berry  <karl@cs.umb.edu>
7197         * texmf.cnf.in (TEXPOOL, MFPOOL): Include . after all, now that we
7198         use TEXPOOL to search for tcx files.
7200 Sun Jul  9 15:30:59 1995  Karl Berry  <karl@cs.umb.edu>
7202         * tex-file.c (kpse_find_file): Don't go through the
7203         mapped_name_list if it's null.
7205 Wed Jun 21 19:47:33 1995  Karl Berry  <karl@cs.umb.edu>
7207         * lib.h (FATAL5): Define this.
7209 Sat Jun 10 15:52:41 1995  Karl Berry  <karl@cs.umb.edu>
7211         * tex-file.c (kpse_find_file): Use texfonts.map aliases for TFM
7212         searches.
7213         * tex-file.h: Doc fix.
7214         * fontmap.c (kpse_fontmap_lookup): New name. Fault in the map
7215         table as needed, instead of initializing. Make map_create static.
7216         * fontname.h: New name; remove map_create.
7217         * tex-glyph.c (try_fontmap): Just call kpse_fontmap_lookup, no
7218         need to create it.
7220         * fontmap.c (map_lookup): Don't let return value fall off the end
7221         in the suffix-appending case.
7222         From: "Heading, Anthony" <heading_anthony@jpmorgan.com>.
7224 Fri Jun  9 19:11:34 1995  Karl Berry  <karl@cs.umb.edu>
7226         * tilde.c: Only assume PWD_H for looking up ~user, not for ~ or ~/.
7227         * make-suffix.c: Use IS_DIR_SEP instead of assuming /.
7228         * concatn.c: Free the in-between concatenations to avoid garbage.
7229         * absolute.c [OS2]: Use same conventions as for DOS.
7230         * c-std.h, c-pathch.h, c-fopen.h: Likewise.
7231         From: rs@purple.in-ulm.de (Ralph Schleicher).
7233 Tue Jun  6 13:11:46 1995  Karl Berry  <karl@cs.umb.edu>
7235         * lib.h (itoa) [!HAVE_ITOA]: Define conditionally.
7236         * itoa.c: Likewise.
7237         * acconfig.h (HAVE_ITOA): Add this.
7239         * c-pathch.h, c-fopen.h [DOS]: Changes from web2pc from Wayne.
7241         * xputenv.c: Doc fix.
7243         * truncate.c (kpse_truncate_filename): Check for a device separator.
7245         * elt-dirs.c (main): Tests for Amiga.
7247 Mon Jun  5 13:12:10 1995  Karl Berry  <karl@cs.umb.edu>
7249         * absolute.c: Add Amiga support.  From Andreas Scherer.
7250         * c-pathch.h: Ditto.
7251         * elt-dirs.c (dir_list_add): Ditto. Check for device separators, too.
7253 Sun Jun  4 11:29:18 1995  Karl Berry  <karl@cs.umb.edu>
7255         * c-proto.h (AA): New macro to throw away (or keep) any number of
7256         arguments, used with an extra set of parens.
7258         * Makefile.in (distdir): Put PROJECTS in the distribution.
7260 Sat Jun  3 11:53:45 1995  Karl Berry  <karl@cs.umb.edu>
7262         * texmf.cnf.in (main_memory): Add definitions for TeX array sizes.
7264         * config.h (progname.h): Include this.
7265         * prog{init,name}.c, kpsewhich.c: No longer need to include it.
7266         * lib.h (START_FATAL, FATAL_PERROR): Use program_invocation_name
7267         in the error message.
7269         * variable.h: Doc fix.
7271 Fri Jun  2 13:41:29 1995  Karl Berry  <karl@cs.umb.edu>
7273         * config.h (DOSISH) [DOS || OS2]: Define this.
7275 Tue May 30 15:43:56 1995  Karl Berry  <karl@cs.umb.edu>
7277         * tex-file.c (kpse_find_file): Don't look for foo.sty.tex before
7278         foo.sty. Suggested by worsch@ira.uka.de.
7280 Mon May 29 15:24:38 1995  Karl Berry  <karl@cs.umb.edu>
7282         * db.c (db_insert): If DOS, don't check that first character on a
7283         line IS_DIR_SEP.  From Sebastian.
7285 Sat May 27 13:51:47 1995  Karl Berry  <karl@cs.umb.edu>
7287         * pathsearch.c (log_search): Cast time_t arg to avoid printf warning.
7289         * lib.h (atou): Declare it.
7290         * Makefile.in (objects): Add atou.o.
7291         * atou.c: New file.
7293 Sun May 21 10:58:31 1995  Karl Berry  <karl@cs.umb.edu>
7295         * xfopen.c: Assert non-null filenames.
7297 Mon May 15 17:40:27 1995  Karl Berry  <karl@cs.umb.edu>
7299         * kpsewhich.c (USAGE): Add one-line description to the help message.
7301 Sun Apr 16 14:25:06 1995  Karl Berry  <karl@cs.umb.edu>
7303         * line.c (BLOCK_SIZE): Increase to 56, to avoid realloc's.
7305 Fri Apr 14 15:56:13 1995  Karl Berry  <karl@cs.umb.edu>
7307         * Makefile.in (objects): Add xfseek and xftell, from fontutils.
7309 Mon Mar 13 20:05:02 1995  Karl Berry  <karl@cs.umb.edu>
7311         * MakeTeXPK.in: Don't egrep in a file that doesn't exist.
7313 Fri Mar 10 10:49:28 1995  Karl Berry  <karl@cs.umb.edu>
7315         * tex-file.c (kpse_find_file): Abort if the name passed in is null
7316         or empty.
7318 Thu Mar  9 15:23:07 1995  Karl Berry  <karl@cs.umb.edu>
7320         * tex-file.c (kpse_init_format): Only do suffix searches for GF files.
7322         * acconfig.h: Warn that this is not the right thing to edit to fix
7323         configuration problems.
7325 Thu Mar  2 15:58:11 1995  Karl Berry  <karl@cs.umb.edu>
7327         * texmf.cnf.in (TEXFORMATS): Doc fix.
7329 Fri Feb 24 16:40:23 1995  Karl Berry  <karl@cs.umb.edu>
7331         * MakeTeXPK.in: `generate rootname' with no trailing punctuation
7332         for the dc fonts.
7334 Mon Feb 20 15:23:05 1995  Karl Berry  <karl@cs.umb.edu>
7336         * tex-file.h (kpse_find_mf): New abbreviation.
7338 Sat Feb 11 13:06:23 1995  Karl Berry  <karl@cs.umb.edu>
7340         * putenv.c: Include c-auto.h instead of kpathsea/c-auto.h, so the
7341         sed commands don't transform it into
7342         $(kpathsea_srcdir)/c-auto.h. From Andreas.
7344         * tex-make.c (maketex): Don't make a bad return from pclose a
7345         fatal error. Reported most recently by Wayne Sullivan, also by
7346         Andy Piper in the past.
7348         * MakeTeXPK.in (sauterdir): Only try this if we have the right
7349         b-foo.mf file. And correct $DESTDIR=... mistake.
7350         From Nick Cropper <nickc@dcs.st-andrews.ac.uk>.
7352 Fri Feb 10 15:49:49 1995  Karl Berry  <karl@cs.umb.edu>
7354         * tex-file.c (INIT_MT): If the .program member has already been
7355         set, don't reset it.
7357 Wed Jan 18 15:47:07 1995  Karl Berry  <karl@cs.umb.edu>
7359         * xopendir.c (xclosedir): Use CLOSEDIR_VOID, not VOID_CLOSEDIR.
7360         From tim@maths.tcd.ie.
7362         * db.c (db_insert): Don't assert db.size>0, since we may not have
7363         called kpse_db_search. From te@informatik.uni-hannover.de.
7365         * MakeTeXPK.in (dc fonts): Don't put a trailing period in the
7366         filename. From Tor Lillqvist <tml@hemuli.tte.vtt.fi>.
7368 Sun Jan  8 12:14:47 1995  Karl Berry  <karl@cs.umb.edu>
7370         * Version 2.6.
7372 Wed Jan  4 14:44:34 1995  Karl Berry  <karl@cs.umb.edu>
7374         * Makefile.in (mostlyclean): Remove kpsewhich.
7376 Tue Jan  3 11:48:40 1995  Karl Berry  <karl@cs.umb.edu>
7378         * kpsewhich.c (long_options): Can't make this automatic.
7380         * basename.c: Include <kpathsea/config.h> before testing
7381         HAVE_BASENAME.
7383         * Makefile.in (kpsewhich): Make the library before kpsewhich.o.
7384         (paths.h): No need for the $(kpathsea_dir)/ any more, now make
7385         depend gets rid of it.
7387         * rm-suffix.c: Doc fix.
7388         
7389         * kpsewhich.c: Extract the dpi from the filename if possible.
7391 Mon Jan  2 09:45:17 1995  Karl Berry  <karl@cs.umb.edu>
7393         * Makefile.in (kpsexpand): Replace with kpsewhich.
7395         * proginit.h: Doc fix.
7397         * texmf.cnf.in (TEXMFCNF): Rename from TEXMF_CNF.
7398         * tex-file.c (kpse_init_format): Likewise.
7400 Sun Jan  1 14:04:41 1995  Karl Berry  <karl@cs.umb.edu>
7402         * Makefile.in (MakeTeXPK): Substitute for web2cdir.
7403         * MakeTeXPK.in: Use it for MakeTeXPK.site.
7404         (install-data): Install texmf.cnf in web2cdir instead of texmf.
7405         * texmf.cnf.in (TEXMF_CNF): Default path includes web2cdir.
7407 Sat Dec 31 14:26:48 1994  Karl Berry  <karl@cs.umb.edu>
7409         * Makefile.in (objects): No more @LIBOBJS@.
7410         * common.ac: Use AC_CHECK_FUNCS for basename, not REPLACE_FUNCS.
7411         The latter doesn't define HAVE_BASENAME.
7412         * basename.c [!HAVE_BASENAME]: Conditionalize whole file.
7414         * Makefile.in (uninstall-exec): Remove kpsexpand.
7415         (MakeTeXPK): New target.
7416         (install-exec): Install MTPK.
7417         (install-library): New target to replace install-headers.
7418         (install): Don't install-library by default.
7420 Fri Dec 30 15:53:04 1994  Karl Berry  <karl@cs.umb.edu>
7422         * Makefile.in (objects): Don't put @LIBOBJS@ on a line by itself.
7423         From Joachim.
7425 Mon Dec 26 07:55:40 1994  Karl Berry  <karl@cs.umb.edu>
7427         * common.ac (AC_FUNC_CLOSEDIR_VOID): Call this. Reported by
7428         Timothy Murphy <tim@maths.tcd.ie>.
7430         * tex-file.c (init_path): If a variable is set to an empty value,
7431         ignore it.  Suggested by Stephen Gildea <gildea@x.org>.
7433         * proginit.c: If passed a NULL mode, put / in the environment here.
7434         * tex-make.c (kpse_make_tex): Don't do STREQ on NULL (though it
7435         should never be NULL in the first place), and properly restore
7436         MAKETEX_MODE if it was /.
7438 Tue Dec 20 09:57:21 1994  Karl Berry  <karl@cs.umb.edu>
7440         * install.texi: Mention how to do optimization.
7442 Mon Dec 19 13:18:04 1994  Karl Berry  <karl@cs.umb.edu>
7444         * tex-file.h: Doc fix.
7446 Wed Dec 14 14:46:47 1994  Karl Berry  <karl@cs.umb.edu>
7448         * Version 2.5.
7450         * pathsearch.c (log_search): Don't prepend the `kdebug:' to the
7451         search result.
7453 Sat Dec 10 16:49:12 1994  Karl Berry  <karl@cs.umb.edu>
7455         * tex-make.c (set_maketex_mag): Make case of magstep -1 work
7456         properly.  From a bug report by
7457         heiko@lotte.sax.de (Heiko Schlittermann).
7459 Mon Dec  5 11:58:08 1994  Karl Berry  <karl@cs.umb.edu>
7461         * Makefile.in (objects): Add @LIBOBJS@.
7462         * common.ac: Check for basename.
7464         * db.c (db_insert): Include trailing / in directory part, and pass
7465         the key and the value in the right order.  From
7466         te@informatik.uni-hannover.de.
7468 Sun Dec  4 14:26:44 1994  Karl Berry  <karl@cs.umb.edu>
7470         * kpsexpand.c: Add extra filename argument. From
7471         ware@cis.ohio-state.edu.
7473         * common.ac: Use AC_TRY_RUN to test for SMART_PUTENV, not
7474         AC_TRY_LINK. From parkes@sierravista.com.
7476         * acconfig.h: Use #undef instead of commented-out `/* #define'.
7478 Sun Nov 27 13:47:06 1994  Karl Berry  <karl@cs.umb.edu>
7480         * db.c (db_insert): Don't try to insert into an empty hash table.
7481         From dc@cobi.gsfc.nasa.gov (and others).
7483         * pathsearch.c (log_search): Call DEBUGF, not printf, for the
7484         filenames.  From John I.
7486         * tex-make.c (kpse_make_tex): If MAKETEX_MODE is /, unset it and
7487         reset it around the command expansion.
7488         (maketex): Back to calling db_insert.
7490 Sat Nov 26 11:44:09 1994  Karl Berry  <karl@cs.umb.edu>
7492         * cnf.c (read_file): If expansion of $TEXMF (KPSE_DB_DIR) fails,
7493         expand DEFAULT_TEXMF.  From te@informatik.uni-hannover.de.
7495 Thu Nov 24 13:41:15 1994  Karl Berry  <karl@cs.umb.edu>
7497         * tex-file.c (KPSE_BST_ENVS): Do not look at TEXINPUTS.
7499         * tex-file.h: Doc fix.
7501 Tue Nov 15 14:06:56 1994  Karl Berry  <karl@cs.umb.edu>
7503         * progname.c (kpse_set_progname): Use basename.
7505 Fri Nov 11 19:12:23 1994  Karl Berry  <karl@cs.umb.edu>
7507         * acconfig.h (HAVE_SIGIO): Add this.
7509 Tue Nov  8 19:14:12 1994  Karl Berry  <karl@cs.umb.edu>
7511         * tex-make.c (kpse_make_tex): Change argument name from
7512         `basename', since now we have a fn by that name.
7513         * magstep.c (kpse_magstep_fix): Initialize mdpi.
7514         * basename.c (basename): Initalize base.
7516 Mon Nov  7 15:46:21 1994  Karl Berry  <karl@cs.umb.edu>
7518         * common.ac: Run autoupdate.
7519         * c-dir.h: Change #if names and NLENGTH to new style.
7521 Fri Oct 28 21:28:02 1994  K. Berry  (karl@terminus.cs.umb.edu)
7523         * Version 2.4.
7525         * tex-make.c (maketex): Don't call db_insert, that routine is
7526         buggy. I'll fix it later. In the meantime, trying to get a
7527         semi-stable release.
7529 Tue Oct 25 16:43:31 1994  Karl Berry  <karl@cs.umb.edu>
7531         * Version 2.3.
7533         * progname.c (kpse_set_progname): Initialize kpathsea_debug from
7534         the KPATHSEA_DEBUG envvar.  From neal@ctd.comsat.com.
7536 Mon Oct 24 13:41:24 1994  Karl Berry  <karl@cs.umb.edu>
7538         * db.c (db_insert): New function.
7539         * db.h: Declare it.
7540         * tex-make.c (maketex): db_insert the result if we succeeded.
7542         * basename.c: New file to define basename.
7543         * lib.h (basename): Declare it.
7544         * Makefile.in (objects): Include basename.o.
7546         * tex-file.h (kpse_file_format_type): Add missing enum values for
7547         base/fmt/pool files.
7548         * tex-file.c (kpse_init_format): Add cases for these.
7549         From te@informatik.uni-hannover.de.
7551         * lib.h (WARNING, FATAL): Use fputs instead of fprintf.
7552         * Many files: Use DEBUGF instead of printf ("kdebug".
7553         * debug.h (DEBUGF) [DEBUG]: Define this.
7555         * xputenv.c (xputenv): Initialize that static saved_env_items to
7556         null, just for documentation's sake.
7558 Tue Oct 18 13:19:06 1994  Karl Berry  <karl@cs.umb.edu>
7560         * tex-file.c (KPSE_*_ENVS): Move environment variable list here.
7561         * tex-file.h: Move them from here.
7563         * tex-glyph.h: Doc fix.
7565         * tex-file.c (kpse_find_file): Correct off-by-one in suffix
7566         comparison. From toy@rtp.ericsson.se.
7568 Mon Oct 17 14:01:02 1994  Karl Berry  <karl@cs.umb.edu>
7570         * elt-dirs.c (do_subdir): Find a top-level subdir if it matches
7571         the POST.
7573         * db.c (kpse_db_search): Allow for the passed name including a
7574         directory part, as in dpi600/cmr10.pk.
7575         * tex-glyph.c (try_format): First search all specs with
7576         must_exist=false.
7578         * kpsexpand.c: New file, from te@informatik.uni-hannover.de.
7579         * Makefile.in (kpsexpand): New target (a program).
7580         (install-exec): Depend on, and install, kpsexpand.
7581         
7582         * common.ac: Doc fix.
7584         * cnf.c (do_line): Don't quit just because the variable is in the
7585         environment.  From te@informatik.uni-hannover.de.
7587         * tex-glyph.c (PXL_BITMAP_SPEC): Remove this, we're not going to
7588         support pxl1500.
7590 Sun Oct 16 20:46:26 1994  Karl Berry  <karl@cs.umb.edu>
7592         * kpathsea.texi: Make it clear that names of debugging bits can
7593         never be used.
7595 Fri Oct 14 10:31:35 1994  Karl Berry  <karl@cs.umb.edu>
7597         * Version 2.2.
7599         * hash.c (hash_lookup) [DEBUG]: Cast to long, not int.
7601 Thu Oct 13 15:39:34 1994  Karl Berry  <karl@owl>
7603         * db.c (db_build): Warn if ls-R contains nothing useful.
7605         * debug.c (fopen, fclose) [DEBUG]: fflush stdout.
7606         * dir.c (dir_links),
7607         * hash.c (hash_lookup),
7608         * tex-file.c (kpse_init_format),
7609         * elt-dirs.c (kpse_element_dirs): Likewise.
7611 Thu Oct 13 09:02:56 1994  Karl Berry  <karl@cs.umb.edu>
7613         * hash.c (kpse_debug_hash_lookup_int) [DEBUG]: New global.
7614         (hash_lookup): Use it.
7615         * hash.h [DEBUG]: Declare it.
7616         * dir.c (dir_links) [DEBUG]: Set it and reset it.
7618         * tex-glyph.c (PXL_BITMAP_SPEC): Add this (pxlNNN/cmr10.pk) for
7619         the Bitstream utilities. From abrahams@acm.org.
7620         (try_format): Search for this.
7622 Tue Oct 11 15:15:49 1994  Karl Berry  <karl@cs.umb.edu>
7624         * db.c (db_build): Use kpse_db_dir instead of KPSE_DB_DIR.  This
7625         avoids one variable expansion, and te@informatik.uni-hannover.de
7626         says otherwise TeX sometimes can't find ls-R.
7628 Sun Oct  9 17:18:23 1994  Karl Berry  <karl@cs.umb.edu>
7630         * kdefault.c: Rename from default.c.
7631         * Makefile.in (objects): Likewise.
7633 Fri Oct  7 12:58:33 1994  Karl Berry  <karl@cs.umb.edu>
7635         * tex-file.c (kpse_init_format): Call INIT_MT for the any_glyph
7636         case. From carson@lehman.com.
7638 Sun Oct  2 14:11:20 1994  Karl Berry  <karl@cs.umb.edu>
7640         * magstep.c: Doc fix.
7642 Sun Sep 25 17:11:40 1994  Karl Berry  <karl@cs.umb.edu>
7644         * Makefile.in: Include library.make.
7646 Thu Sep 22 15:34:40 1994  Karl Berry  <karl@cs.umb.edu>
7648         * tex-file.h (kpse_file_format_type): Don't make equal to the last
7649         element index, make one more.  From Eric Auborg.
7651 Thu Sep 15 19:24:30 1994  Karl Berry  (karl@cs.umb.edu)
7653         * Makefile.in (distdir): Include install.texi in the distribution.
7655 Mon Sep 12 11:05:18 1994  Karl Berry  (karl@cs.umb.edu)
7657         * Version 2.1.
7659 Sun Sep 11 15:03:18 1994  Karl Berry  (karl@cs.umb.edu)
7661         * Makefile.in (install-data): Install texmf.cnf if it didn't exist.
7663 Sat Sep 10 13:28:29 1994  Karl Berry  (karl@cs.umb.edu)
7665         * Makefile.in (texmf.sed, paths.h): Use tr 012 instead of \n.
7666         From John Interrante.
7667         
7668         * Makefile.in (distdir): Include the .aux and .cps files in the
7669         distribution.  Don't include paths.h (from John Interrante).
7670         
7671         * kpathsea.texi: Fix overfull boxes and other TeX errors.
7673 Wed Sep  7 16:28:37 1994  Karl Berry  (karl@cs.umb.edu)
7675         * Version 2.0.
7677 Tue Sep  6 10:33:18 1994  Karl Berry  (karl@cs.umb.edu)
7679         * dir.c (dir_links): Use %ld for ret, since it's now a long.
7681 Sat Sep  3 09:01:25 1994  Karl Berry  (karl@cs.umb.edu)
7683         * dir.c (dir_links): Use long instead of int for the cast and the
7684         variable, to avoid warnings on the Alpha.
7686         * c-std.h (SYSV, X_NOT_STDC_ENV): Don't define these here.
7687         * c-memstr.h (SYSV): Define this.
7688         (_XFUNCS_H_): And this.
7690         * Makefile.in (distclean): Add texmf.cnf and texmf.sed.
7692 Thu Sep  1 14:22:48 1994  Karl Berry  (karl@cs.umb.edu)
7694         * xputenv.c (putenv): Declare this to avoid a warning.
7695         * xstat.c (lstat): And this.
7697         * common.ac (SMART_PUTENV): Use program to test for this.  From
7698         mike@cs.utah.edu.
7700         * tex-glyph.c (try_fallback_resolutions): Quit early if there's no
7701         resolutions in the list.  From sanjoy@dope.caltech.edu.
7703 Tue Aug 30 14:26:48 1994  Karl Berry  (karl@cs.umb.edu)
7705         * acconfig.h (FOIL_X_WCHAR_T): New definition.
7707         * c-std.h (hypot) [!hypot]: Conditionalize declaration.
7709 Fri Aug 26 09:00:24 1994  Karl Berry  (karl@cs.umb.edu)
7711         * Makefile.in (install-data): Install headers into
7712         $(includedir)/kpathsea, not just $(includedir).  From john@wpi.edu.
7714         * pathsearch.c (search): Show results of the search as well as the
7715         start of it.
7717 Thu Aug 25 13:40:29 1994  Karl Berry  (karl@cs.umb.edu)
7719         * proginit.c (kpse_init_prog): Newline at end of fputs.
7721         * pathsearch.c (search): Add debug statement.
7722         * debug.h (KPSE_DEBUG_SEARCH): New bit.
7724         * tex-file.h (kpse_format_info_type): Rename `font_override_p' from
7725         `font_p'. Also `program_enabled' => `program_enabled_p'.
7726         Also new member `suffix_search_only'.
7727         * tex-file.c (kpse_find_file): Avoid searching for foo.tex.tex, etc.
7729 Tue Aug 16 09:29:59 1994  Karl Berry  (karl@cs.umb.edu)
7731         * tex-make.c (maketex): Announce that we are running the script
7732         before running it.
7734 Mon Aug 15 11:18:19 1994  Karl Berry  (karl@cs.umb.edu)
7736         * texmf.cnf.in (PKFONTS.xdvi): Write program-specific definition
7737         to include gsftopk and ps2pk ``modes''.
7739 Sat Aug 13 16:34:43 1994  Karl Berry  (karl@cs.umb.edu)
7741         * Makefile.in (lib): Rename to program to simplify rules.
7743         * magstep.h: Doc fix.
7745         * common.ac (AC_HAVE_FUNCS): Test for bcopy.
7747 Tue Aug  9 14:18:56 1994  Karl Berry  (karl@cs.umb.edu)
7749         * tex-make.c (misstex): Prepend kpathsea: to the missfont.log
7750         message.
7752 Mon Aug  8 17:53:58 1994  Karl Berry  (karl@cs.umb.edu)
7754         * tex-make.c (set_maketex_mag): Rewrite to call kpse_magstep_fix.
7755         * magstep.[ch]: New files.
7757 Fri Aug  5 14:07:51 1994  Karl Berry  (karl@cs.umb.edu)
7759         * db.c (match): Allow a trailing component in the filename.
7761 Tue Aug  2 08:55:21 1994  Karl Berry  (karl@cs.umb.edu)
7763         * Change `debug:' to `kdebug:'.
7764         * hash.c (hash_lookup): Print results of lookup if DEBUG_HASH.
7765         * debug.h (KPSE_DEBUG_HASH): New bit, replacing DB_BUILD.
7766         * db.c (db_build): Don't print the built hash table.
7768         * db.c (match): Implement this. Petr Sojka and Zdenek Salvet(?)
7769         supplied code for this, but I wound up writing my own.
7770         * variable.c (expand): Do variable expansion on the value.
7772         * texmf.cnf.in (TEXINPUTS): Put this after the .prog-specific entries.
7774         * tex-file.c (kpse_pict_format): Remember to break after setting
7775         the type.
7776         (EXPAND_DEFAULT, init_path): Keep raw_path as pre-default expansion.
7778 Sun Jul 31 14:18:09 1994  Karl Berry  (karl@cs.umb.edu)
7780         * debug.c: Don't include debug.h, it's already in debug.h.
7782         * Makefile.in (db.o,pathsearch.o): Don't need these special cases
7783         since tossed db_dir from paths.make.
7784         * db.h (DB_DIR): Change default to $TEXMF, rename to KPSE_DB_DIR.
7785         (kpse_db_dir): New global variable (sigh).
7786         * db.c (kpse_db_dir): Define.
7787         * cnf.c: Include db.h for KPSE_DB_DIR.
7788         (read_files): Set kpse_db_dir after all have been read.
7789         * pathsearch.c (elt_in_db): Check if kpse_db_dir is null.
7790         (path_search): Do not initialize db_dir.
7792 Sat Jul 30 06:12:12 1994  Karl Berry  (karl@cs.umb.edu)
7794         * c-dir.h [_POSIX_VERSION]: Remove this condition; just use DIRENT.
7796 Fri Jul 29 11:36:25 1994  Karl Berry  (karl@cs.umb.edu)
7798         * tex-file.c (init_path): Look up cnf file value if no suffix.
7800         * xstat.h (SAME_FILE_P): Move here.
7801         * c-stat.h (SAME_FILE_P): From here.
7802         * file-p.c: Change include.
7803         * lib.h (dir_p, dir_links): Declare here.
7804         * dir.h: Split into xopendir.h and c-dir.h; Sun 3 include files
7805         get confused otherwise, according to john@minster.york.ac.uk.
7806         * xopendir.c: Include xopendir.h.
7807         * elt-dirs.c, dir.c: Change includes.
7808         
7809 Sun Jul 17 10:21:16 1994  Karl Berry  (karl@cs.umb.edu)
7811         * hash.c (hash_insert): Put new elements in at the end of the
7812         list, instead of the beginning.
7813         * hash.h: Document this.
7815         * texmf.cnf.in (TEXMFROOT): Change to TEXMF.
7816         * kpathsea.texi: Likewise.
7818         * cnf.c (do_line): assert program_invocation_short_name.
7819         * progname.c: Doc fix.
7821         * absolute.[ch] (kpse_absolute_p): Take additional arg relative_ok.
7822         * pathsearch.c (log_search): Call it (with false).
7823         * tex-glyph.c: Change call.
7825         * pathsearch.c (path_search): Initialize db_dir here.
7826         (elt_in_db): Not here.
7828 Fri Jul 15 11:44:15 1994  Karl Berry  (karl@cs.umb.edu)
7830         * tex-file.h: Doc fix.
7832         * pathsearch.c (log_search): Pass in the whole str_list; anything
7833         else is unreliable.
7835         * proginit.[ch] (kpse_init_prog): Don't pass in argv0; we need it
7836         earlier.
7838 Tue Jul 12 11:56:54 1994  Karl Berry  (karl@cs.umb.edu)
7840         * tex-file.c (init_path): Use the first envvar that's *set*, not
7841         the first in the list.
7843         * tex-file.h (kpse_format_info_type): New member `type'.
7844         * tex-file.c (kpse_init_format): Initialize it.
7846         * pathsearch.c (log_search): New fn.
7847         (search): Call it.
7849 Fri Jul  1 11:54:29 1994  Karl Berry  (karl@cs.umb.edu)
7851         * tex-file.c: Doc fix.
7853 Mon Jun 27 10:18:59 1994  Karl Berry  (karl@cs.umb.edu)
7855         * db.c (db_build): Call kpse_var_expand on the db filename.
7856         * pathsearch.c (elt_in_db): Likewise.
7858         * tex-glyph.h (kpse_find_gf): By analogy with kpse_find_pk.
7860 Sat Jun 25 16:09:05 1994  Karl Berry  (karl@cs.umb.edu)
7862         * tex-glyph.c (try_format): Try both Unix and DOS bitmap specs,
7863         instead of just one or the other.
7864         (bitmap_name): No longer needed.
7866 Fri Jun 24 11:52:32 1994  Karl Berry  (karl@cs.umb.edu)
7868         * tex-file.c (kpse_find_file): Don't try the suffix if it doesn't
7869         exist.
7871         * tex-file.h (kpse_find_{dvips_header,pict}): New definition.
7873 Thu Jun 23 16:57:58 1994  Karl Berry  (karl@cs.umb.edu)
7875         * tex-file.h (kpse_{pict,dvips_header}_format): New consts.
7876         (KPSE_{PICT,DVIPS_HEADER}_ENVS): Likewise.
7878 Tue Jun 21 11:53:09 1994  Karl Berry  (karl@cs.umb.edu)
7880         * tex-file.c (kpse_find_file): Try the name as given if the name
7881         concatenated with the suffix fails, for the sake of, e.g., EPS files.
7883         * tex-file.h (kpse_find_tex): New definition.
7885         * absolute.[ch]: Make arg const.
7887         * tex-glyph.[ch]: (kpse_bitmap_tolerance): Move here from tex-make.
7889         * c-proto.h (P6[CH]): New definitions.
7891         * Makefile.in (objects): Add proginit.o.
7892         * proginit.[ch]: New files.
7894 Mon Jun 20 14:55:57 1994  Karl Berry  (karl@cs.umb.edu)
7896         * tex-file.c (kpse_init_format): Make override path not apply to
7897         TFM and VF files.
7899         * tex-glyph.c (kpse_find_glyph_format): Rename to kpse_find_glyph,
7900         and don't call MakeTeXPK if the filename is absolute.
7901         * tex-glyph.h: Likewise.
7903 Sun Jun 19 11:00:50 1994  Karl Berry  (karl@cs.umb.edu)
7905         * common.ac (HAVE_PROGRAM_INVOCATION_NAME): Test for this.
7906         * acconfig.h: #undef this by default.
7907         * progname.[ch]: New files.
7908         * Makefile.in (objects): Add progname.o.
7909         * cnf.c (do_line): Check for .<progname> qualification.
7911 Sat Jun 18 16:55:36 1994  Karl Berry  (karl@cs.umb.edu)
7913         * elt-dirs.c (kpse_element_dirs): Avoid stats in leaf directories
7914         found via a non-null post.
7916 Fri Jun 17 14:25:08 1994  Karl Berry  (karl@cs.umb.edu)
7918         * elt-dirs.c (kpse_element_dirs) [DEBUG]: Print the directory
7919         expansion of the path element.
7921         * str-llist.h: Doc fix.
7923         * elt-dirs.c (do_subdir): Ignore anything beginning with ., not
7924         just `.' and `..'.
7926 Tue Jun 14 11:53:49 1994  Karl Berry  (karl@cs.umb.edu)
7928         * dir.c (dir_links): Cache the lookups.
7930         * elt-dirs.c (kpse_element_dirs): Don't expand the argument.
7931         * expand.h (kpse_path_expand): New routine.
7932         * expand.c: Define it.
7933         * pathsearch.h: Doc fix.
7935         * db.c, tex-file.c [DEBUG]: Prefix output lines with `debug:'.
7937         * tex-file.h (kpse_format_info_type): Add cnf_path to the struct.
7938         * tex-file.c (kpse_init_path): Print the cnf_path.
7939         (init_path): Set it, instead of a local variable.
7941         * pathsearch.c (path_search): Use !! for no-disk-search instead of
7942         %%, because now % is the comment char in cnf files.
7943         * kpathsea.texi: Document this. Also change all `Kpathsearch' to
7944         `kpathsea'.
7946 Mon Jun 13 10:15:49 1994  Karl Berry  (karl@cs.umb.edu)
7948         * tex-make.h (kpse_set_maketex_mag): Remove.
7949         * tex-make.c (kpse_set_maketex_mag): Make static, remove kpse_
7950         prefix, and use KPATHSEA_DPI and MAKETEX_BASE_DPI instead of args.
7952 Sun Jun 12 13:49:15 1994  Karl Berry  (karl@cs.umb.edu)
7954         * db.c (db_build): Put a header on the hash table.
7956         * tex-glyph.c (try_format): Set extension and path after
7957         kpse_init_format, natch.
7959 Sat Jun 11 14:26:34 1994  Karl Berry  (karl@cs.umb.edu)
7961         * Makefile.in (objects): Add cnf.o.
7962         * variable.c (expand): Call kpse_cnf_get if no envvar value.
7964 Fri Jun 10 11:20:23 1994  Karl Berry  (karl@cs.umb.edu)
7966         * tex-make.h: Remove spec type and variable.
7968 Thu Jun  9 13:42:21 1994  Karl Berry  (karl@cs.umb.edu)
7970         * Makefile.in (objects): Remove init-path.o.
7971         * tex-file.c (kpse_find_file): Rewrite to initialize the paths
7972         only once, and keep all path info in a structure.
7973         * tex-file.h: Vastly simplify.
7974         * tex-glyph.h (kpse_font_file_type): Move here, since it's really
7975         only for glyphs.
7976         * tex-glyph.c: Corresponding changes.
7977         * debug.h (KPSE_DEBUG_PATHS): New debug bit.
7979         * default.h, str-list.h: Doc fix.
7981 Tue May 31 10:06:51 1994  Karl Berry  (karl@cs.umb.edu)
7983         * debug.c: Doc fix.
7985 Mon May 23 11:50:03 1994  Karl Berry  (karl@cs.umb.edu)
7987         * c-fopen.h (FOPEN_A_MODE): Define this.
7988         * tex-make.c (misstex, maketex): Split up kpse_make_tex into
7989         these, and create missfont.log if appropriate.
7991 Sun May 22 17:39:52 1994  Karl Berry  (karl@cs.umb.edu)
7993         * tex-make.h: Doc fix.
7995 Wed May 11 13:25:58 1994  Karl Berry  (karl@cs.umb.edu)
7997         * configure.in (AC_OUTPUT): Use just `Makefile' instead of
7998         `./Makefile', to avoid a bug in Autoconf (through 1.10).
8000 Sun Apr 17 16:18:00 1994  Karl Berry  (karl@ra.cs.umb.edu)
8002         * debug.h: Prefix macros with KPSE_.
8003         * db.c, dir.c: Change calls.
8005         * common.ac: Remove :: VPATH stuff; that made it in to Autoconf 1.8.
8007         * Makefile.in (top_srcdir): Define this for configure to substitute.
8009 Thu Apr  7 17:52:05 1994  Karl Berry  (karl@ra.cs.umb.edu)
8011         * debug.[ch]: Implement fopen/fclose tracing.
8013 Thu Mar 31 07:25:49 1994  Karl Berry  (karl@cs.umb.edu)
8015         * Version 1.8.
8017 Thu Mar 24 10:01:20 1994  Karl Berry  (karl@cs.umb.edu)
8019         * tex-glyph.c: Doc fix.
8021         * pathsearch.c (path_search): Don't search the disk if there is
8022         magic in the path spec.
8024         * db.c: Doc fix.
8026 Wed Mar 16 13:50:17 1994  Karl Berry  (karl@cs.umb.edu)
8028         * readable.c (kpse_readable_file): Complain if errno == EPERM.
8030 Sun Mar 13 11:14:19 1994  Karl Berry  (karl@cs.umb.edu)
8032         * pathsearch.h (kpse_path_search): Take an extra arg must_exist.
8033         * pathsearch.c (kpse_path_search, search, path_search): Likewise.
8034         * tex-file.c (kpse_find_file): Change call.
8035         * tex-file.h (kpse_find_*): Change these calls, too.
8037         * hash.c (hash_create): Don't use xcalloc to init pointers to null.
8039         * db.c (kpse_db_search): Don't free the pointer after incrementing it.
8040         From Frank Jensen.
8042 Sat Mar 12 17:55:36 1994  Karl Berry  (karl@cs.umb.edu)
8044         * db.h (kpse_db_search): Returns a pointer.
8045         * db.c (kpse_db_search): If db can't be built, return NULL, else a
8046         pointer to the (possibly empty) list.
8047         (db_build): Return whether we found the file.
8048         * pathsearch.c (path_search): Change call.
8050 Thu Mar 10 07:45:13 1994  Karl Berry  (karl@cs.umb.edu)
8052         * Makefile.in (install-info): New target.
8054 Fri Mar  4 08:06:16 1994  Karl Berry  (karl@cs.umb.edu)
8056         * hash.c (hash): Change hash function to spread out the values a
8057         bit better.
8059         * debug.h (DEBUG_DB_BUILD): New debug bit.
8060         * db.c (db_build) [DEBUG]: If bit is set, print hash table.
8061         * hash.h (hash_print): Declare.
8063 Thu Mar  3 08:52:01 1994  Karl Berry  (karl@cs.umb.edu)
8065         * Version 1.7.
8067 Sun Feb 27 15:57:30 1994  Karl Berry  (karl@cs.umb.edu)
8069         * Makefile.in (objects): Add db.o, hash.o.
8070         * db.[ch]: New files.
8071         * hash.[ch]: Also new files.
8072         * pathsearch.c (path_search): Try db search.
8073         * tex-glyph.c, fontmap.c: Use general hash functions.
8075 Sat Feb 26 13:15:53 1994  Karl Berry  (karl@cs.umb.edu)
8077         * fontmap.c: Doc fix.
8079         * pathsearch.c (INIT_ALLOC): Increase to 75, what the heck.
8081 Fri Feb 25 08:30:50 1994  Karl Berry  (karl@cs.umb.edu)
8083         * tex-file.[ch]: Decare args const.
8085 Thu Feb 24 07:55:43 1994  Karl Berry  (karl@cs.umb.edu)
8087         * tex-make.h: Include tex-file.h, not init-path.h.
8089         * init-path.h (KPSE_*_{ENVS,PATHS}, kpse_font_override_path): Move
8090         to tex-font.h.
8091         * tex-font.h (kpse_find_{file,tfm,vf}): Also declare these.
8092         * tex-font.c (kpse_find_file): Define these.
8093         (kpse_font_override_path): Move definition here.
8094         
8095         * tex-file.*: Rename from tex-font.*.
8096         * GNUmakefile: Corresponding changes.
8098         * elt-dirs.c (do_subdir): Only append the / once we know it's a
8099         directory.
8101 Wed Feb 23 16:41:31 1994  Karl Berry  (karl@cs.umb.edu)
8103         * elt-dirs.c (do_subdir): Don't tack POST on if it is exactly the
8104         d_name, so we can find a/b with a path of a//b.
8106         * c-vararg.h (PVAR3[CH]): New defines.
8108         * init-path.h: Include KPSE_*_{ENVS,PATHS} here.
8109         (kpse_init_path): Take an additional arg font_p.
8110         * init-path.c (kpse_override_path): Rename kpse_font_override_path.
8111         (kpse_init_path): Only use kpse_font_override_font if font_p.
8113 Mon Feb 21 15:38:53 1994  Karl Berry  (karl@cs.umb.edu)
8115         * common.ac (extrasub): Define to remove VPATH lines if srcdir = `.'.
8117 Thu Feb  3 06:19:49 1994  Karl Berry  (karl@cs.umb.edu)
8119         * Version 1.6.
8121         * fn.c (fn_copy0): Remember to allocate space for the null.
8122         Thanks, simon.
8124 Wed Feb  2 09:57:47 1994  Karl Berry  (karl@cs.umb.edu)
8126         * tex-make.h (KPSE_BITMAP_TOLERANCE): Move to here from tex-glyph.c
8127         (kpse_check_bitmap_tolerance): Declare.
8128         * tex-make.c (kpse_check_bitmap_tolerance): Define.
8130 Tue Feb  1 10:42:03 1994  Karl Berry  (karl@cs.umb.edu)
8132         * c-std.h (*alloc) [! _MALLOC_INTERNAL]: Make decl conditional.
8134         * c-std.h [HAVE_STDLIB_H]: Change #if for including <stdlib.h> to this.
8135         * common.ac (AC_HAVE_HEADERS): Check for stdlib.h.
8137         * Makefile.in (paths.h): Do all substitutions globally.
8139         * absolute.c [DOS]: Include c-ctype.h.
8140         * tex-glyph.c (KPATHSEA_BITMAP_NAME) [DOS]: Double the backslash.
8141         * elt-dirs.c (do_subdir) [!UNIX_ST_LINK]: Avoid dangling else.
8142         From Wayne.
8144         * paths.h.in: Doc fix.
8146         * xputenv.c (xputenv): Check entire variable name for being saved,
8147         not just a prefix of it.
8149 Mon Jan 31 12:05:30 1994  Karl Berry  (karl@cs.umb.edu)
8151         * fn.c (fn_copy0): Allocate LEN if that's bigger than CHUNK_SIZE.
8152         (CHUNK_SIZE): Increase to 75.
8154 Sat Jan 22 15:36:08 1994  Karl Berry  (karl@cs.umb.edu)
8156         * Version 1.5.
8158         * common.ac (AC_HAVE_FUNCS): Check for memmove.
8160         * paths.h.in (DEFAULT_MF_PATH): Don't search just public/, cause
8161         we need ams/.
8163 Mon Jan 17 15:09:36 1994  Karl Berry  (karl@cs.umb.edu)
8165         * paths.h.in (DEFAULT_{FMT,BASE}_PATH): Include `.'.
8167 Sun Jan 16 14:50:02 1994  Karl Berry  (karl@cs.umb.edu)
8169         * paths.h.in (DEFAULT_PK_PATH): Search subdirs of pk.
8171 Mon Jan 10 16:40:35 1994  Karl Berry  (karl@cs.umb.edu)
8173         * xputenv.c (xputenv): Don't try to be smart about saving/freeing
8174         stuff if SMART_PUTENV is defined.
8176         * c-std.h (assert) [!HAVE_ASSERT_H]: Define as nothing, to avoid
8177         undefined references to assert.
8179 Tue Dec 21 16:28:13 1993  Karl Berry  (karl@cs.umb.edu)
8181         * c-std.h (SYSV) [STDC_HEADERS]: Define, to get around old X
8182         include files under hpux.
8184 Sun Dec 19 13:06:15 1993  Karl Berry  (karl@cs.umb.edu)
8186         * Makefile.in (objects): Put tex-font.o first.
8188 Sat Dec 18 15:03:57 1993  Karl Berry  (karl@cs.umb.edu)
8190         * config.h (GCC_WCHAR_T, _GCC_WCHAR_T): Remove these; I have
8191         another theory now for wchar_t, done in xdvi.h and x11.c.
8193 Sat Dec 18 14:41:15 1993  Karl Berry  (karl@owl.hq.ileaf.com)
8195         * c-memstr.h ([r]index) [STDC_HEADERS]: Conditionalize #define.
8197 Tue Dec 14 17:43:30 1993  Karl Berry  (karl@cs.umb.edu)
8199         * Makefile.in (paths.h): Change substitutions accordingly.
8200         * paths.h.in (DEFAULT_FMT_PATH): Variable is now fmtdir.
8201         (DEFAULT_{BIB,BST}_PATH): Variable is now texmf_prefix.
8203 Sat Dec 11 13:21:43 1993  Karl Berry  (karl@cs.umb.edu)
8205         * tex-make.c (ABS): New macro.
8206         (kpse_set_maketex_mag): Use it, instead of fabs.
8208 Fri Dec 10 15:31:16 1993  Karl Berry  (karl@cs.umb.edu)
8210         * xmalloc.c, xrealloc.c: Use exit instead of abort, remove abort
8211         decls, and reword error messages to be less cryptic. From
8212         john@minster.york.ac.uk.
8214         * dir.h: use `defined' instead of just `DIRENT || _POSIX_VERSION'.
8215         How annoying. From kretschm@aitxu3.ait.physik.uni-tuebingen.de.
8217         * xputenv.c (putenv): Remove declaration, as different systems do
8218         it differently. From kayvan@satyr.sylvan.com.
8220 Thu Dec  9 09:12:33 1993  Karl Berry  (karl@cs.umb.edu)
8222         * tex-make.c (kpse_set_maketex_mag): Allow off-by-1 when deciding
8223         if a dpi is a magstep.
8225 Tue Dec  7 11:03:51 1993  Karl Berry  (karl@cs.umb.edu)
8227         * tex-make.c (kpse_set_maketex_mag): New routine from dvips,
8228         called by dvipsk and xdvik to ensure consistency.
8229         (magstep): Subroutine of above, also from dvips.
8230         * tex-make.h: Declare it.
8232         * tex-doc.texi: Correct menu item (from maechler@stat.math.ethz.ch).
8234 Fri Dec  3 12:53:38 1993  Karl Berry  (karl@cs.umb.edu)
8236         * c-pathmx.h: Doc fix.
8238 Sat Nov 27 14:36:11 1993  Karl Berry  (karl@cs.umb.edu)
8240         * default.h: Doc fix.
8242         * paths.h.in (texfontdir): This has been renamed to fontdir.
8244 Sun Nov 21 08:28:41 1993  Karl Berry  (karl@cs.umb.edu)
8246         * Makefile.in (distdir): Include HIER in the distribution, until
8247         we merge it into the manual.
8249 Sun Nov  7 14:54:47 1993  Karl Berry  (karl@cs.umb.edu)
8251         * c-namemx.h (NAME_MAX): Avoid use of pathconf.
8252         * c-pathmx.h: Doc fix.
8254 Thu Nov  4 14:50:45 1993  Karl Berry  (karl@cs.umb.edu)
8256         * config.h (_GCC_WCHAR_T) [!GCC_WCHAR]: Conditionalize.
8258         * c-std.h (EXIT_SUCCESS) [!EXIT_SUCCESS]: Move these defines
8259         outside of !STDC_HEADERS, for the sake of SunOS 4.1.1.  (From
8260         vonbrand@inf.utfsm.cl.)
8262 Wed Nov  3 14:43:05 1993  Karl Berry  (karl@cs.umb.edu)
8264         * Version 1.4.
8266 Wed Nov  3 07:05:48 1993  Karl Berry  (karl@cs.umb.edu)
8268         * paths.h.in (DEFAULT_{BASE,FMT}_PATH): Had these definitions reversed.
8270 Fri Oct 29 19:27:36 1993  Karl Berry  (karl@cs.umb.edu)
8272         * tex-glyph.c (try_fallback_resolutions): Initialize ret in all cases.
8274 Thu Oct 28 14:32:34 1993  Karl Berry  (karl@cs.umb.edu)
8276         * lib.h: Doc fix.
8278         * common.h (AC_UNISTD_H): Replace this with unistd.h in the list
8279         of HAVE_HEADERS.
8281 Tue Oct 26 13:59:33 1993  Karl Berry  (karl@cs.umb.edu)
8283         * str-llist.[ch]: New files.
8284         * Makefile.in (objects): Add str_llist.o.
8285         * elt-dirs.[ch]: Use str_llist_type throughout.
8286         * pathsearch.c (dir_list_search): Take a str_llist_type, and float
8287         a successful dir towards the top.
8288         (path_search): Change call of kpse_element_dirs.
8290 Sun Oct 24 19:41:49 1993  Karl Berry  (karl@cs.umb.edu)
8292         * elt-dirs.c (do_optional): Remove this stub.
8293         (expand_elt): Don't call it.
8295 Fri Oct 22 14:46:44 1993  Karl Berry  (karl@cs.umb.edu)
8297         * xmalloc.c, xrealloc.c, line.c, pathsearch.c: Doc fix.
8299 Tue Oct 19 12:11:32 1993  Karl Berry  (karl@cs.umb.edu)
8301         * tex-glyph.c (try_fallback_resolutions): New routine.
8302         (kpse_find_glyph_format): Call it, instead of repeating (the now
8303         pretty complicated) code.
8304         * tex-font.c (kpse_init_fallback_resolutions): Pass the value of
8305         any environment variable, not its name. From R.Kooijman@et.tudelft.nl.
8307         * c-memstr.h (str[r]chr) [!str[r]chr]: Conditionalize. From
8308         maarrrk@seidel.ece.ucsb.edu.
8310 Tue Oct 12 16:26:48 1993  Karl Berry  (karl@cs.umb.edu)
8312         * tex-make.c: Doc fix.
8314 Thu Oct  7 13:13:57 1993  Karl Berry  (karl@cs.umb.edu)
8316         * xmalloc.c: Rewrite to not require <config.h>.
8317         * xrealloc.c: Likewise.
8319         * make-suffix.c (make_suffix): Declare variables const.
8320         * remove-suffx.c (remove_suffix): Likewise.  Also rename to
8321         rm-suffix.c.
8322         * xputenv.c (putenv): Declare with correct prototype.
8323         * fontmap.c (internal routines): Likewise.
8324         * line.c (xmalloc, xrealloc): Declare as void *.
8325         (From john@minster.york.ac.uk.)
8327 Wed Oct  6 06:49:53 1993  Karl Berry  (karl@cs.umb.edu)
8329         * Version 1.3.
8331         * tilde.c (kpse_tilde_expand): Always return a malloc-ed value.
8332         (From ken@cs.toronto.edu.)
8334 Sun Oct  3 14:11:33 1993  Karl Berry  (karl@cs.umb.edu)
8336         * config.h (_GCC_WCHAR_T): Define.
8338 Sat Oct  2 17:17:32 1993  Karl Berry  (karl@cs.umb.edu)
8340         * Makefile.in (install-*): Don't reassign PATH, just invoke
8341         mkdirchain explicitly.
8343         * tex-glyph.c (KPATHSEA_BITMAP_NAME) [DOS]: Define what I think
8344         will work for this ...
8346         * paths.h.in: Doc fix.
8348         * Makefile.in: Doc fix.
8350         * tex-glyph.c (kpse_find_glyph_format): Unconditionally initialize
8351         glyph_paths[*], since we might use them both in try_size.  From
8352         worsch@ira.uka.de.
8354 Fri Oct  1 12:02:11 1993  Karl Berry  (karl@cs.umb.edu)
8356         * expand.c: Doc fix.
8358 Wed Sep 29 15:21:49 1993    (karl@terminus.cs.umb.edu)
8360         * Version 1.2.
8362 Sat Sep 25 14:12:00 1993  Karl Berry  (karl@cs.umb.edu)
8364         * pathsearch.c (path_search, absolute_search): Don't initialize
8365         structs.
8367 Fri Sep 24 12:50:00 1993  Karl Berry  (karl@cs.umb.edu)
8369         * tex-glyph.c (try_size): Skip the simultaneous stuff.
8370         (try_format): Set the envvar here.
8371         (bitmap_name): Not here.
8372         * pathsearch.c (kpse_*_multi_search): Delete.
8373         Change most other routines to take only a single name again,
8374         instead of a name list.
8375         * pathsearch.h: Delete decls.
8377         * tex-glyph.c (init-path.h): Don't need to include this.
8379         * tex-glyph.c (kpse_find_glyph_format): Try the fallback
8380         resolutions for the fallback font.
8382         * Makefile.in (warn_more, MAKEINFO_FLAGS) [hayley]: Define these
8383         for development and distribution.
8385         * Makefile.in (dvi): Make analogous to info (including use of new
8386         suffix rule).
8388         * tex-glyph.c (kpse_find_glyph_format): Set KPATHSEA_NAME to the
8389         fallback font if we get that far.
8391 Wed Sep 15 19:29:56 1993  Karl Berry  (karl@cs.umb.edu)
8393         * filefmt.h (KPSE_*_PATH): Pass NULL as first arg.
8395         * xputenv.c (xputenv): Rewrite again to save the variable names,
8396         not the old items.
8398 Mon Sep 13 06:55:29 1993  Karl Berry  (karl@cs.umb.edu)
8400         * concatn.h: Doc fix.
8402 Sun Sep 12 15:54:55 1993  Karl Berry  (karl@cs.umb.edu)
8404         * lib.h (XTALLOC): Parenthesize the cast.
8406         * xputenv.c (xputenv): Rewrite to collect some of the garbage.
8408 Fri Sep 10 14:00:35 1993  Karl Berry  (karl@cs.umb.edu)
8410         * lib.h (ENVVAR_SET_DEFAULT): No longer needed.
8412         * xputenv.c (xputenv_int): New routine.
8414 Thu Sep  9 14:58:00 1993  Karl Berry  (karl@cs.umb.edu)
8416         * tex-make.c (MAKE_TEX_PK_SPEC): Change MAKETEX_DPI to
8417         KPATHSEA_DPI.
8419         * tex-glyph.c (try_fontmap): Use KPSE_GLYPH_PATH.
8420         * filefmt.c (KPSE_GLYPH_{PATH,ENVS}): New macros.
8421         (KPSE_{GF,PK}_ENVS): Use GLYPH_ENVS.
8423         * tex-glyph.c (bitmap_name): Rewrite to use a variable spec,
8424         introducing KPATHSEA_{BITMAP_NAME,FORMAT,DPI,NAME}.
8425         (kpse_find_glyph_format): Set KPATHSEA_DPI instead of MAKETEX_DPI;
8426         also set KPATHSEA_NAME.
8427         (try_fontmap): Also set KPATHSEA_NAME here.
8428         (try_size): Set KPATHSEA_DPI here.
8430         * tex-glyph.c (try_name): Delete this routine.
8431         (kpse_find_glyph_format): Try fallback resolutions here, call
8432         try_resolution directly.
8433         (try_fontmap): Call try_resolution directly.
8435         * init-path.h: Need not include c-proto.h.
8437 Sun Aug 29 13:34:25 1993  Karl Berry  (karl@cs.umb.edu)
8439         * tex-make.c: Doc fix.
8441         * filefmt.h: Don't need c-proto.h or types.h.
8443 Fri Aug 27 10:36:46 1993  Karl Berry  (karl@cs.umb.edu)
8445         * c-vararg.h (PVAR2C): Take AP as an arg.
8447         * init-path.[ch] (kpse_init_path): Take the current value as an
8448         additional argument, separate from the default path, and always
8449         expand_default.
8451         * uppercasify.c (uppercasify): Don't discard upcased result!
8453 Thu Aug 26 10:36:28 1993  Karl Berry  (karl@cs.umb.edu)
8455         * Version 1.1.
8457 Sun Aug 22 19:18:35 1993  Karl Berry  (karl@cs.umb.edu)
8459         * install-data (install-data): Replace nonexistent
8460         $(kpath_includedir) with $(includedir), and define it.  Also
8461         remove c-auto.h.
8463 Thu Aug  5 09:03:22 1993  Karl Berry  (karl@cs.umb.edu)
8465         * Version 1.0.
8467 Wed Aug  4 13:51:24 1993  Karl Berry  (karl@cs.umb.edu)
8469         * tex-glyph.c (kpse_find_glyph_format): Fill in the font_file
8470         struct in the maketex case.
8472         * Makefile.in (info): Just depend on kpathsea.info, and rely on
8473         new suffix rule to do the work.
8475 Tue Aug  3 17:50:40 1993  Karl Berry  (karl@fishbowl.hq.ileaf.com)
8477         * tex-glyph.c (try_name): Don't free expanded_name if we're
8478         returning it.
8480 Tue Aug  3 10:13:43 1993  Karl Berry  (karl@owl.hq.ileaf.com)
8482         * version.c (kpathsea_version_string): Do not declare const.
8484         * line.h (read_line): Protoize decl.
8486 Tue Aug  3 09:10:07 1993  Karl Berry  (karl@blood.hq.ileaf.com)
8488         * c-memstr.h (bcmp, bcopy, bzero) [!HAVE_BCOPY]: Conditionalize.
8490         * putenv.c: Include <kpathsea/c-auto.h>, and use const when
8491         calling memcpy.
8493 Sun Aug  1 08:48:49 1993  Karl Berry  (karl@cs.umb.edu)
8495         * Add new features to manual.
8497         * Makefile.in (objects): Include putenv.o.
8498         * putenv.c: New file from gdb.
8499         * common.ac: Test for putenv.
8501 Sat Jul 31 11:54:31 1993  Karl Berry  (karl@cs.umb.edu)
8503         * Makefile.in (distclean): Remove paths.h.
8505         * Most files: changes for traditional C compatibility.
8507         * filefmt.h: Add new KPSE_..._PATH's for the other formats.
8508         * paths.h.in: Add defaults.
8509         * Makefile.in (paths.h): sed the values in.
8511 Fri Jul 30 17:23:10 1993  Karl Berry  (karl@cs.umb.edu)
8513         * filefmt.h (KPSE_VF_PATH): Add empty parens.
8515         * tex-paths.h*: Rename to just paths.h*.
8517 Tue Jul 27 09:00:58 1993  Karl Berry  (karl@cs.umb.edu)
8519         * filefmt.h: Include tex-paths.h, and use default paths in
8520         KPSE_..._PATH macros.
8522         * find-suffix.c: Correct logic.
8524         * filefmt.h: Include init-path.h.
8526 Sat Jul 24 10:44:21 1993  Karl Berry  (karl@cs.umb.edu)
8528         * tex-glyph.c (kpse_find_glyph_format): Assign to it.
8529         * tex-font.h (kpse_font_file_type): New member `source'.
8530         (KPSE_FONT_FILE_SOURCE): Accessor macro.
8531         (kpse_source_type): New type.
8533 Wed Jul 21 19:45:45 1993  Karl Berry  (karl@cs.umb.edu)
8535         * Makefile.in (configclean): New target.
8537 Sun Jul 18 13:53:38 1993  Karl Berry  (karl@cs.umb.edu)
8539         * tilde.[ch] (kpse_expand_tilde): Rename to kpse_tilde_expand.
8541         * elt-dirs.c, pathsearch.c, tex-glyph.c: Replace calls to
8542         kpse_expand_tilde with kpse_expand.
8543         * expand.[ch]: New files.
8544         * Makefile.in (objects): Add it.
8546         * fn.[ch]: New files.
8547         * elt-dirs.c (fn*): Moved to fn.c.
8548         * tex-make.c, variable.c: Use the new routines.
8549         * *obstack*: No longer needed.
8550         * Makefile.in (objects): Appropriate changes.
8552 Sat Jul 17 13:25:25 1993  Karl Berry  (karl@cs.umb.edu)
8554         * concat.c: Doc fix.
8556         * pathsearch.c (search, path_search): Expand variable references.
8558         * itoa.c: New file.
8559         * lib.h (itoa): Declare it.
8560         * Makefile.in (objects): Add it.
8562         * lib.h (ENVVAR_SET_DEFAULT): New macro.
8563         * tex-glyph.c (kpse_find_glyph_format): Call it to set the dpi.
8565 Fri Jul 16 09:10:52 1993  Karl Berry  (karl@cs.umb.edu)
8567         * xputenv.c: New file.
8568         * Makefile.in (objects): Add it.
8569         * lib.h (xputenv): Declare it.  
8571         * c-obstack.h: New file.
8572         * variable.[ch]: New files.
8573         * Makefile.in (objects): Add it.
8575         * uppercasify.c: New file.
8576         * Makefile.in (objects): add it.
8577         * lib.h (uppercasify): Declare it.
8579 Tue Jul 13 13:47:54 1993  Karl Berry  (karl@cs.umb.edu)
8581         * tex-glyph.c (kpse_find_glyph_format): Simplify path initialization.
8582         * filefmt.h: New file; add abbrevs for GF and PK inits.
8584         * Makefile.in (objects): Add obstack.o and tex-make.o.
8585         * obstack.[ch]: New files from GNU.
8586         * concatn.[ch], tex-make.[ch]: New files.
8587         * init-path.c: Doc fix.
8589         * elt-dirs.c: Doc fix.
8590         * readable.[ch]: Doc fixes.
8592 Sun Jul 11 13:37:02 1993  Karl Berry  (karl@cs.umb.edu)
8594         * tex-font.h (kpse_font_format_type): Rename to kpse_file_format_type,
8595         and include the other file formats.
8596         * tex-glyph.c: Change uses.
8598 Tue Jul  6 08:09:10 1993  Karl Berry  (karl@cs.umb.edu)
8600         * tex-font.c (kpse_fallback_font): Initialize to NULL.
8602 Mon Jul  5 08:23:09 1993  Karl Berry  (karl@cs.umb.edu)
8604         * tex-glyph.c (try_size): Don't fill in FONT_FILE if it's null.
8606         * tex-font.c (kpse_init_fallback_resolutions): Look for TEXSIZES
8607         after the program-specific *SIZES var.
8609         * tex-glyph.c (kpse_find_glyph_format): Use kpse_init_path.
8610         * Makefile.in (objects): Add init_path.o.
8611         * tex-font.[ch] (kpse_override_path): Move to init-path.[ch].
8612         * init-path.[ch]: New files.
8613         * c-vararg.h: New file.
8615 Sun Jul  4 11:26:17 1993  Karl Berry  (karl@cs.umb.edu)
8617         * tex-font.c (kpse_init_fallback_resolutions): New routine.
8618         * tex-font.h: Declare it, and companion return type.
8620 Fri Jul  2 10:43:11 1993  Karl Berry  (karl@cs.umb.edu)
8622         * tex-glyph.c (kpse_find_glyph_format): Take first successful
8623         fontmap entry.
8625         * fontmap.c (map_file_parse): Take first % on line as starting the
8626         comment, not the last.
8628         * fontmap.c (map_insert): Always insert the new element.
8630 Thu Jul  1 19:21:35 1993  Karl Berry  (karl@cs.umb.edu)
8632         * fontmap.c (map_lookup): Return a list, not a single string.
8633         (map_lookup_str): Likewise.
8634         * fontmap.h (map_lookup): Change decl.
8635         * tex-glyph.c (kpse_find_glyph_format): Change caller.
8637 Sat Jun 26 11:48:36 1993  Karl Berry  (karl@cs.umb.edu)
8639         * tex-font.h: Doc fix.
8641 Thu Jun 24 11:16:41 1993  Karl Berry  (karl@cs.umb.edu)
8643         * configure.in (MISSING_HEADERS): Toss in favor of HAVE_HEADERS.  Sigh.
8644         Also, move all this to an include file.
8645         Change uses in several files.
8647         * stat.h: Rename to c-stat.h, and change includers.
8649         * Makefile.in (objects): Add tex-glyph.o.
8650         * pathsearch.[ch] (kpse_*_multi_search): New routines.
8652 Sat Jun 19 11:37:18 1993  Karl Berry  (karl@cs.umb.edu)
8654         * str-list.c (str_list_free): New routine.
8656 Fri Jun 18 13:54:08 1993  Karl Berry  (karl@cs.umb.edu)
8658         * fontmap.c (map_create): Rewrite to use kpse_all_path_search.
8659         Include const in various subroutines.
8661 Tue Jun 15 15:58:18 1993  Karl Berry  (karl@cs.umb.edu)
8663         * Change <kpathsea/pathsrch.h> to pathsearch.  Rename the files
8664         themselves.
8666         * elt-dirs.c (cache): Copy the key into our own storage, since it
8667         comes from kpse_path_element and might get overwritten.  Should we
8668         copy all the values, too?
8670 Sun Jun 13 16:49:09 1993  Karl Berry  (karl@cs.umb.edu)
8672         * pathsearch.c (dir_list_search): Don't need to append the null
8673         here; in fact, it's wrong, since then the final list might have
8674         nulls in the middle.
8676         * elt-dirs.c (dir_list_add): Correct check for new directory
8677         already ending in /.
8679 Fri Jun 11 10:45:33 1993  Karl Berry  (karl@cs.umb.edu)
8681         * str-list.[ch]: New files.
8682         * pathsrch.c: Use it for the dir_list routines.
8683         * Many changes and new files throughout for new implementation
8684         including TeX-font-lookup routines.
8686 Tue Jun  8 14:00:54 1993  Karl Berry  (karl@cs.umb.edu)
8688         * Most files: Change `const string' (constant pointer) to `const
8689         char *' (pointer to constant data).  What a crock.
8691 Mon Jun  7 09:43:21 1993  Karl Berry  (karl@cs.umb.edu)
8693         * debug.[ch]: New files.
8694         * config.h: Include debug.h.
8696         * dir-p.c: Rename to dir.c.
8697         (dir_links): New routine.
8699         * c-std.h (assert.h) [!ASSERT_H_MISSING]: Include this.
8700         * configure.in: Check for it with new macro AC_MISSING_HEADERS.
8702 Thu Jun  3 10:12:12 1993  Karl Berry  (karl@cs.umb.edu)
8704         * dirio.h (leaf_dir_p): No longer defined; rename to dir.h.
8705         * xopendir.c, dir-p.c, pathsrch.c: Change include.
8707 Mon May 31 07:49:16 1993  Karl Berry  (karl@cs.umb.edu)
8709         * c-std.h (EXIT_{SUCCESS,FAILURE}): Define these if they're undefined.
8711         * config.h: Use <kpathsea/...> instead "...".
8713         * kpathlib.h: Had #ifndef protection messed up.  Rename to lib.h.
8715         * c-memstr.h (index, rindex) [!index, !rindex]: Make definitions
8716         conditional.
8718 Tue May 25 10:07:00 1993  Karl Berry  (karl@cs.umb.edu)
8720         * c-{namemx,pathmx,pathch,...}.h: Doc fixes.
8722         * c-systypes.h: New file.
8723         * c-std.h: Include it.
8725         * stat.h: New file.
8726         * xstat.h: Include it.
8728         * configure.in (AC_HAVE_HEADERS): Test for `pwd.h'.
8730 Sun May 23 19:06:22 1993  Karl Berry  (karl@cs.umb.edu)
8732         * pathsrch.[ch]: Doc fixes.
8734 Fri May 21 11:27:54 1993  Karl Berry  (karl@cs.umb.edu)
8736         * line.c (free): Declare.
8738         * pathsrch.c, find-suffix.c: Change caller.
8739         * c-pathch.h ({IS_,}{DIR,ENV}_SEP): Rename existing confusing
8740         definitions to these.  Suggested by rocky.
8742 Mon May 17 08:18:18 1993  Karl Berry  (karl@cs.umb.edu)
8744         * Version 0.3.
8746         * pathsrch.c (expand_default): Handle doubled colon and
8747         nothing-but-colon cases.
8749         * Write documentation, change Makefile accordingly.
8751 Thu May 13 16:32:34 1993  Karl Berry  (karl@cs.umb.edu)
8753         * c-std.h (popen) [VMS]: Make decl conditional, and include
8754         <unixlib.h> and <unixio.h>.
8756 Mon May 10 07:12:50 1993  Karl Berry  (karl@cs.umb.edu)
8758         * Version 0.2.
8760         * version.c: Put in placeholder.
8762 Sun May  9 10:42:34 1993  Karl Berry  (karl@cs.umb.edu)
8764         * config.h (c-auto.h): Use <...> instead of "...".
8766 Tue May  4 14:54:41 1993  Karl Berry  (karl@cs.umb.edu)
8768         * Makefile.in (info check dvi): New targets (that do nothing).
8770 Mon May  3 13:46:17 1993  Karl Berry  (karl@claude.cs.umb.edu)
8772         * Version 0.1.
8774         * Use KPATHSEARCH_ prefix for various headers' cpp protections.
8776 Sun May  2 10:28:25 1993  Karl Berry  (karl@cs.umb.edu)
8778         * Makefile.in (dist): Depend on TAGS, and put it in the dist.
8780         * Makefile.in (c-auto.h.in): Remove extra $(srcdir).
8782 Sun Apr 25 11:22:12 1993  Karl Berry  (karl@cs.umb.edu)
8784         * pathsrch.h: Include c-proto.h.
8786         * make-suffix.c: New file.
8787         * Makefile.in (objects): Add the .o.
8789         * file-p.c: Use the SAME_FILE_P macro.
8791         * fontmap.h: Include c-proto.h and types.h.
8793         * lib.h: Rename to kpathlib.h.
8794         * config.h: Include changed.
8796         * c-proto.h, c-std.h: Doc fix.
8798         * c-limits.h [LIMITS_H_MISSING]: Conditionalize include of c-std.h.
8800         * xstat.h: Include c-std.h.
8802         * Makefile.in (c-auto.h.in): Add unused warning to top.
8804         * dirio.h: Include c-proto.h and types.h.
8806 Fri Apr 23 16:11:13 1993  Karl Berry  (karl@cs.umb.edu)
8808         * line.c: Don't include config.h, just declare xmalloc and
8809         xrealloc explicitly.
8811         * pathsrch.c: paths.h need not be included.
8813         * Created.