Debian Codegraph @

texk/kpathsea/ChangeLog

raw
1 2026-03-02 Karl Berry <[email protected]>
2
3 * TL'26 release.
4
5 2026-02-19 Karl Berry <[email protected]>
6
7 * getopt.c (getenv): do not declare with empty parens,
8 to appease C23, as described below.
9
10 2026-02-07 TANAKA Takuji <[email protected]>
11
12 * texmf.cnf (command_line_encoding): Update comment.
13
14 2026-02-06 Karl Berry <[email protected]>
15
16 * texmf.cnf (TEXMFVAR, TEXMFCONFIG, doc): 2026.
17
18 2026-01-28 Karl Berry <[email protected]>
19
20 * getopt.h (getopt): do not declare with empty parens under C23:
21 defined(__STDC_VERSION__) && __STDC_VERSION__ >= 202311L
22 Otherwise compilation breaks on musl systems, such as Alpine.
23 https://tug.org/pipermail/tex-k/2026-January/004247.html
24
25 2026-01-25 Karl Berry <[email protected]>
26
27 * xgetcwd.c: remove all traces of getwd, since recent GNU
28 ld gives an unconditional warning if it is used. We didn't in
29 fact use it on any system with a non-forking getcwd, i.e.,
30 essentially all of them nowadays, but a call to it was still
31 compiled in.
32
33 2026-01-21 Karl Berry <[email protected]>
34
35 * kpsewhich.c (format_abbrs): add src as another abbreviation for
36 kpse_texsource_format, and various others to
37
38 2026-01-07 Karl Berry <[email protected]>
39
40 * version.ac (kpse_dev): remove /dev, for TL26.
41 * NEWS,
42 * doc/kpathsea.texi,
43 * kpsewhich.c,
44 * texmf.cnf: copyright 2026.
45
46 2026-01-06 Karl Berry <[email protected]>
47
48 * tex-file.c (kpathsea_name_ok): for openin_any for reading,
49 always return true without checking anything.
50 * texmf.cnf (openin_any),
51 * NEWS: document this.
52
53 2025-11-11 Karl Berry <[email protected]>
54
55 * elt-dirs.c (do_subdir): mention that btrfs also breaks the
56 semantics of having st_nlink==2 in leaf directories.
57 * tests/cnfnlink.test: comment out that test, since we don't want
58 to try to detect what filesystem we're on or other bad st_nlink cases.
59 Report from Jan Kasprzak,
60 https://tug.org/pipermail/tex-k/2025-October/004212.html.
61
62 2025-11-11 Karl Berry <[email protected]>
63
64 * NEWS,
65 * texmf.cnf: doc tweaks.
66
67 2025-07-20 Karl Berry <[email protected]>
68
69 * tests/cnfnlink.test: forgot to export TEXINPUTS.
70
71 2025-07-17 Karl Berry <[email protected]>
72
73 * NEWS: let's completely disable the st_nlink check by default.
74 * doc/kpathsea.texi (Subdirectory expansion): document this.
75 * elt-dirs.c (do_subdir): change name to texmf_nlink_for_leaf,
76 for consistency with texmf_casefold_search.
77 * tests/cnfnlink.test: change name; doc.
78 * texmf.cnf (texmf_nlink_for_leaf): change name, and set to 0
79 to disable the check.
80
81 2025-07-15 Karl Berry <[email protected]>
82
83 * c-std.h (getenv) [! HAVE_STDLIB_H]: remove declaration,
84 since evince (et al.?) don't bother to check for <stdlib.h>,
85 and C23 broke () declarations.
86 https://tug.org/pipermail/tex-live/2025-July/051609.html
87 -> https://bugs.debian.org/1109256
88
89 2025-07-13 Karl Berry <[email protected]>
90
91 * lib.h (kpse_cnf_p): declare new fn.
92 * cnf.c (kpse_cnf_p): define it.
93 * pathsearch.c,
94 * tex-file.c: change calls from KPSE_CNF_P macro to this new fn,
95 to avoid multiple evaluations of the argument and hence useless
96 multiple debugging lines.
97
98 2025-07-13 Karl Berry <[email protected]>
99
100 * elt-dirs.c (do_subdir) [ST_NLINK_TRICK]: if new cnf variable
101 kpse_ignore_nlink_for_leaf is true, never mind the st_nlink=2
102 trick for checking if we're in a leaf directory. Useful because
103 overlay filesystems can lie about st_nlink:
104 https://tug.org/pipermail/texhax/2025-July/026771.html
105 And also when an apparent leaf directory contains symlinks to
106 other directories:
107 https://tex.stackexchange.com/questions/132908
108 [KPSE_DEBUG]: add and tweak debugging output.
109 * NEWS: mention this.
110 * doc/kpathsea.texi (Subdirectory expansion, Unable to find files):
111 mention new workaround of setting kpse_ignore_nlink_for_leaf=1.
112 * texmf.cnf (kpse_ignore_nlink_for_leaf): commented-out setting.
113 * tests/cnfnlink.test: new test.
114 * Makefile.am (TESTS): add it.
115
116 2025-05-04 Karl Berry <[email protected]>
117
118 * expand.c (kpathsea_expand_kpse_dot): doc fix.
119
120 2025-04-18 Karl Berry <[email protected]>
121
122 * c-ctype.h (kpse_isascii): new macro, since isascii() can
123 apparently longer be used portably, thanks to POSIX and gcc 15.
124 (ISALNUM, ..., ISBLANK): use it. Discussion:
125 https://tug.org/pipermail/tlbuild/2025q2/005743.html
126
127 2025-04-08 Karl Berry <[email protected]>
128
129 * c-memstr.h (strtok, strstr): remove () fallback declarations,
130 since C23 considers that the same as (void). Apparently
131 HAVE_STRING_H was not defined, either.
132 Report from Hilmar, 3 Apr 2025 23:54:54.
133
134 2025-03-08 Karl Berry <[email protected]>
135
136 * version.ac: 6.4.2/dev.
137
138 2025-03-07 Karl Berry <[email protected]>
139
140 * TL'25 release.
141
142 2025-02-12 Karl Berry <[email protected]>
143
144 * texmf.cnf (shell_escape_commands): doc link to
145 https://tug.org/texinfohtml/web2c.html#Output-file-location.
146
147 2025-02-08 Karl Berry <[email protected]>
148
149 * texmf.cnf (TEXMFVAR, TEXMFCONFIG, doc): 2025.
150
151 2025-01-25 Karl Berry <[email protected]>
152
153 * version.ac (kpse_dev): no more /dev.
154 * NEWS: copyright 2023.
155
156 2025-01-15 Karl Berry <[email protected]>
157
158 * kpsewhich.c (main): output blank line for search files that are
159 not found, if more than one search file is specified.
160 Suggestion from Norbert and Deyan, thread starting at
161 https://tug.org/pipermail/texhax/2024-July/026506.html
162 (USAGE): mention this.
163 * doc/kpathsea.texi (Invoking kpsewhich): mention this,
164 and the exit status.
165 (kpsewhich examples): new node.
166
167 2024-11-06 Karl Berry <[email protected]>
168
169 * tex-file.c (kpathsea_name_ok): don't allow writing to the
170 filename ".tex". LaTeX 2024-11-01 changes their build process so
171 their .tex file is not created from TeX. Although maybe not
172 technically a security problem, it feels better not to allow it.
173 Report from Nicola Talbot, tlsecurity May 24 13:48:16 CEST 2024.
174 * NEWS: mention this.
175 * doc/kpathsea.texi (Safe filenames): remove doc of special case.
176
177 2024-09-25 Karl Berry <[email protected]>
178
179 * texmf.cnf (shell_escape_commands): add latexminted for minted 3.0,
180 after various reviews via tlsecurity, etc.
181
182 2024-08-19 Karl Berry <[email protected]>
183
184 * tex-file.c (kpathsea_name_ok) <not_ok>: avoid spurious double space
185 in message.
186
187 2024-07-01 Karl Berry <[email protected]>
188
189 * texmf.cnf (shell_escape_commands): restore extractbb,
190 now as a wrapper script that protects against the exploit.
191
192 2024-06-29 Karl Berry <[email protected]>
193
194 * texmf.cnf (shell_escape_commands): remove extractbb.
195
196 2024-06-04 Karl Berry <[email protected]>
197
198 * texmf.cnf (MKTEXPK, etc.): adjust values shown to the
199 compile-time defaults, as given in kpathsea/ac/mktex.ac.
200
201 2024-03-17 Karl Berry <[email protected]>
202
203 * texmf.cnf (shell_escape_commands): add l3sys-query
204 after analysis on tex-live. https://ctan.org/pkg/l3sys-query
205
206 2024-03-10 Karl Berry <[email protected]>
207
208 * TL'24 release.
209
210 2024-02-29 Karl Berry <[email protected]>
211
212 * tex-file.c (abs_fname_ok): if extended, allow a dir that is the
213 exact match of TEXMF[SYS]VAR, since luatex might want to mkdir it.
214 * tests/kpsesafe.test: test it, both positive and negative.
215
216 2024-02-23 Karl Berry <[email protected]>
217
218 * texmf.cnf (XE_FONTCONFIG_PATH, XE_FC_CACHEDIR): rename from
219 FONTCONFIG_PATH resp. FC_CACHEDIR so we don't collide with
220 system directories specified by those paths, such as /etc/fonts.
221
222 2024-02-22 Karl Berry <[email protected]>
223
224 * tests/kpsereadlink.test: create and use our own test file and
225 symlink, instead of using libtool's, in case slibtool is in use.
226 From orbea, https://github.com/TeX-Live/texlive-source/pull/65.
227
228 2023-02-10 Karl Berry <[email protected]>
229
230 * texmf.cnf (TEXMFVAR, TEXMFCONFIG, doc): 2024.
231
232 2024-01-31 Akira Kakuto <[email protected]>
233
234 * tex-file.c (kpathsea_name_ok) [MSDOS]: change #ifndef MSDOS
235 to #if !defined(MSDOS) && !defined(_WIN32) because MSDOS is not
236 defined in the current Windows build.
237
238 2024-01-30 Karl Berry <[email protected]>
239
240 * tex-file.c (kpathsea_name_ok) [MSDOS]: remove [unix] from cpp
241 test, since it's not defined by clang. See thread surrounding
242 https://tug.org/pipermail/tlbuild/2024q1/005408.html.
243
244 2024-01-27 Karl Berry <[email protected]>
245
246 * tex-file.c (kpathsea_name_ok):
247 * tests/kpsesafe.test: kpse_expand (variable and ~ expansion)
248 input name when needed; don't reject /dir/.foo if extended
249 and it matches TEXMF[SYS]VAR, since TEXMFVAR=~/.texliveYYYY is the
250 case that matters in practice. Report from Marcel.
251
252 2024-01-17 Karl Berry <[email protected]>
253
254 * tex-file.c (kpse_{in,out}_name_ok{,_silent}_extended):
255 declare the kpse_* abbreviations of the new (and old) kpathsea_*
256 functions. LuaTeX provides both kpse.* and kpathsea.* bindings,
257 so it's good to always have both.
258 * tex-file.h: declare them.
259 * doc/kpathsea.texi (Safe filenames): mention them.
260
261 2024-01-14 Karl Berry <[email protected]>
262
263 * version.ac: bump to 6.4.0/dev.
264
265 * tex-file.h (kpathsea_{in,out}_name_ok{,_silent}_extended):
266 four more declarations for extended access checks including
267 TEXMF[SYS]VAR (needed for luaotfload and hence LuaLaTeX).
268 * tex-file.c (abs_fname_ok): new helper fn.
269 (kpathsea_name_ok): new parameter, extended.
270 (kpathsea_{in,out}_ok_name{,_silent}): pass additional false arg.
271 (kpathsea_{in,out}_ok_name{,_silent}{,_extended}): new fns,
272 passing true.
273 * kpsewhich.c (-safe-extended-in-name, -safe-extended-out-name):
274 new options, corresponding variables, calls.
275 * doc/kpathsea.texi (Safe filenames): new node to document this.
276 (Security): update.
277 (Global font cache and security): split off new node from Security.
278 * Makefile.am (TESTS): add kpsesafe.test.
279 * tests/kpsesafe.test: new test.
280
281 2023-10-11 Karl Berry <[email protected]>
282
283 * texmf.cnf (shell_escape_commands): add memoize-extract.pl and .py,
284 after analysis on tlsecurity. https://ctan.org/pkg/memoize
285
286 2023-10-09 Karl Berry <[email protected]>
287
288 * tex-file.c (kpathsea_name_ok): also allow files under
289 the TEXMF_OUTPUT_DIRECTORY envvar.
290 * tex-make.c (misstex): first try writing missfont.log in
291 TEXMF_OUTPUT_DIRECTORY, if it's set. Update unit test.
292 * doc/kpathsea.texi (mktex script names): mention
293 TEXMF_OUTPUT_DIRECTORY as new first location for missfont.log.
294 (Calling sequence) <kpathsea_out_name_ok>: also mention
295 TEXMF_OUTPUT_DIRECTORY, and kpsewhich's --safe-{in,out}-name options.
296 * texmf.cnf: mention that TEXMF_OUTPUT_DIRECTORY must be set in
297 the environment, and emphasize caveats.
298
299 * doc/kpathsea.texi (Specially-recognized files): reword
300 to avoid underfull line.
301
302 2023-08-11 TANAKA Takuji <[email protected]>
303
304 * tests/{cnfline,cnfnewline,cnfnull,cnfprog,kpsestat,kpsewhich}.test:
305 Make easier to test on Windows.
306 {kpseaccess,kpsereadlink}.test are not modified since
307 they are not used for tests on Windows.
308 * tests/windows/texmf.cnf:
309 New cnf for testing windows MS Visual C build.
310
311 2023-07-16 TANAKA Takuji <[email protected]>
312
313 * kpsewhich.c: Allow Unicode file name for bibtex8 and bibtexu
314 in kpsewhich. (Windows only)
315 * texmf.cnf: Update comment.
316
317 2023-04-11 Karl Berry <[email protected]>
318
319 * texmf.cnf: doc; explicitly mention that all the texmf trees need
320 to follow the TDS.
321
322 2023-03-09 Karl Berry <[email protected]>
323
324 * TL'23 release.
325
326 2023-02-19 TANAKA Takuji <[email protected]>
327
328 * texmf.cnf (BIBINPUTS.bibtexu, BSTINPUTS.bibtexu):
329 New definition for BibTeXu which can import Japanese inputs
330 for pBibTeX in UTF-8.
331
332 2023-02-18 Karl Berry <[email protected]>
333
334 * texmf.cnf (TEXMFVAR, TEXMFCONFIG, doc): 2023.
335
336 2023-02-09 Karl Berry <[email protected]>
337
338 * version.ac (kpse_dev): no more /dev.
339 * NEWS,
340 * doc/kpathsea.texi,
341 * kpsewhich.c,
342 * texmf.cnf: copyright 2023.
343
344 2022-12-20 Karl Berry <[email protected]>
345
346 * doc/kpathsea.texi (Supported file formats): add .lua (LUAINPUTS).
347 Report from Werner Lemberg.
348
349 2022-11-05 Sam James <[email protected]>
350
351 * configure.ac (Ghostscript version): #include <stdlib.h>
352 to declare exit and placate clang16.
353 https://tug.org/pipermail/tlbuild/2022q4/005269.html
354
355 2022-06-12 TANAKA Takuji <[email protected]>
356
357 * texmf.cnf (guess_input_kanji_encoding):
358 Support guessing input file encodings for unix-like platforms.
359 (It has already been supported on Windows.)
360 Now we set default on for (e)p(la)tex, pbibtex & mendex.
361 https://github.com/texjporg/tex-jp-build/issues/142
362
363 2022-05-06 TANAKA Takuji <[email protected]>
364
365 * texmf.cnf (max_print_line):
366 Now it applies to BibTeX family:
367 bibtex, pbibtex, upbibtex, bibtex8 and bibtexu.
368
369 2022-03-21 Karl Berry <[email protected]>
370
371 * TL'22 release.
372
373 2022-03-05 Karl Berry <[email protected]>
374
375 * texmf.cnf (TEXINPUTS.hi*tex): new entries.
376
377 2022-02-27 Karl Berry <[email protected]>
378
379 * texmf.cnf (nest_size): 500 -> 1000.
380 (param_size): 10000 -> 20000.
381 (stack_size): 5000 -> 10000.
382 For stex (ctan.org/pkg/stex), although they also double main_memory
383 to 12M (despite the supposed limit of 8M)?
384
385 2022-01-18 Karl Berry <[email protected]>
386
387 * version.ac (kpse_dev): no more /dev.
388 * NEWS,
389 * doc/kpathsea.texi,
390 * kpsewhich.c,
391 * texmf.cnf: copyright 2022.
392
393 2021-11-01 Marcel Fabian Krueger <[email protected]>
394
395 * str-list.c (str_list_uniqify): compare each input element
396 against the elements to be returned, to keep the ordering of the
397 result the same as the input. Then the first result in a list
398 from kpsewhich -a will be the same as the result of just kpsewhich.
399
400 2021-05-14 Karl Berry <[email protected]>
401
402 * texmf.cnf (TEXINPUTS.optex): new definition for new format.
403 Move some other definitions around for consistency, but no changes.
404
405 2021-05-07 Karl Berry <[email protected]>
406
407 * texmf.cnf (save_size): re-increase to 200000
408 with parallel change to tex.ch.
409
410 2021-04-22 Karl Berry <[email protected]>
411
412 * doc/kpathsea.texi (TeX directory structure): link to
413 ctan.org/pkg/tds instead of http://mirror.ctan.org.
414
415 2021-04-17 Karl Berry <[email protected]>
416
417 * version.ac: now 6.3.4/dev since TL'21 is released.
418
419 2021-04-07 Akira Kakuto <[email protected]>
420
421 * knj.c, readable.c: Fix a bug that the "nul" device given in
422 a full-path form, such as c:/usr/work/nul was not readable.
423
424 2021-03-23 Karl Berry <[email protected]>
425
426 * TL'21.
427
428 2021-03-18 Karl Berry <[email protected]>
429
430 * texmf.cnf (save_size): reset to 80000 since that is what
431 sup_save_size is set to in tex.ch. Found by Christian Schenk,
432 tex-live 18 Mar 2021 18:39:04.
433
434 2021-03-08 Karl Berry <[email protected]>
435
436 * tests/cnfline/texmf.cnf (maxpr.lt-kpsewhich): set this,
437 for --enable-shared builds.
438 https://tug.org/pipermail/tex-k/2021-March/003490.html
439 * tests/cnfline.test: unset maxpr othervar, just in case
440 they are set in the environment. Maybe unset on an unset variable
441 is portable enough nowadays?
442
443 2021-02-17 Karl Berry <[email protected]>
444
445 * doc/kpathsea.texi,
446 * version.ac (kpse_dev): no /dev for 6.3.3.
447 * NEWS,
448 * doc/kpathsea.texi,
449 * kpsewhich.c,
450 * texmf.cnf: copyright 2021.
451
452 2020-12-05 TANAKA Takuji <[email protected]>
453
454 * knj.[ch]: Add new functions win32_fprintf(), win32_perror().
455 (Windows only)
456
457 2020-10-24 Akira Kakuto <[email protected]>
458
459 * readable.c, knj.c: More than one adjacent directory
460 separators in filename+2 should not exist in \\?\ form of
461 absolute path.
462
463 2020-08-26 Karl Berry <[email protected]>
464
465 * texmf.cnf (save_size): double to 200,000. Needed with
466 long documents, tex4ht, and l3regex. Hopefully no harm in increasing.
467 https://tug.org/pipermail/tex4ht/2020q3/002710.html
468
469 2020-07-05 Karl Berry <[email protected]>
470
471 * configure.ac (snprintf): two more test programs
472 also need <stdarg.h> and <stdio.h>.
473
474 2020-07-04 Karl Berry <[email protected]>
475
476 * configure.ac (snprintf): #include <stdio.h> to placate
477 new arm64 Mac compiler, since apparently that's the standard
478 place for the [v]snprintf declaration. We'll see. Report from Dick.
479
480 2020-06-22 Karl Berry <[email protected]>
481
482 * Makefile.am (EXTRA_DIST): add COPYING.LESSERv2.
483 * texmf.cnf (expand_depth, pk_dpi, strings_free): write a few
484 words about these parameters; see web2c/doc for more.
485
486 2020-06-12 Karl Berry <[email protected]>
487
488 * tex-make.c (kpathsea_make_tex): do not emit any warnings for
489 filenames that we don't like, e.g., [Some Fnt]. Leave it up to
490 the caller. Suggestion from David Carlisle,
491 https://tug.org/pipermail/tex-k/2020-June/003214.html
492
493 2020-06-06 Akira Kakuto <[email protected]>
494
495 * readable.c, knj.c: /../, /./, \..\, \.\ should not exist
496 in \\?\ form of absolute path.
497
498 2020-04-28 Akira Kakuto <[email protected]>
499
500 * readable.c, knj.c: Support very long input path name,
501 longer than _MAX_PATH for Windows, if it really exists and
502 input name is given in full-absolute path in a command line.
503 (Windows only).
504
505 2020-04-10 Karl Berry <[email protected]>
506
507 * version.ac: now 6.3.3/dev since TL'20 is released.
508
509 2020-03-27 Karl Berry <[email protected]>
510
511 * TeX Live 2020.
512
513 2020-02-29 Karl Berry <[email protected]>
514
515 * pathsearch.c: doc fix.
516
517 * doc/unixtex.texi: update urls, typos, etc.
518
519 2020-01-19 Karl Berry <[email protected]>
520
521 * kpsewhich.c (ENSURE_NONEMPTY_STRING): new macro.
522 (read_command_line): ensure nonempty arguments to --format,
523 --safe-{in,out}-name, --var-brace-value, --var-value.
524 Empty args to the other options seem possible.
525
526 * line.c (read_line): silently drop nul (zero) bytes.
527 * tests/cnfnull.test: test for nul bytes in texmf.cnf.
528 * Makefile.am (TESTS),
529 (tests/cnfnull.test): add it.
530
531 2020-01-16 Karl Berry <[email protected]>
532
533 * doc/kpathsea.texi,
534 * version.ac (kpse_dev): no /dev.
535
536 2019-12-31 Akira Kakuto <[email protected]>
537
538 * access.c: not test x bit on Windows, because access() crashes.
539
540 2019-12-29 Karl Berry <[email protected]>
541
542 * mktexlsr,
543 * mktexmf,
544 * mktexpk,
545 * mktextfm: remove; these will now be maintained only in
546 Master/texmf-dist/scripts/texlive, with slave copies in
547 Build/source/texk/texlive/linked_scripts as usual.
548 * Makefile.am (dist_noinst_SCRIPTS): remove, nothing left.
549 (install-exec-local): likewise remove.
550 (uninstall-local): don't uninstall the dist_noinst_SCRIPTS.
551 (bin_links): remove, now also handled in linked_scripts.
552
553 * man/Makefile.am (man_sources): remove mktex{lsr,mf,pk,tfm}.man;
554 (man1_links): remove; these man pages will now be maintained in
555 Build/source/texk/texlive/tl_scripts.
556
557 2019-12-26 Karl Berry <[email protected]>
558
559 * Makefile.am (install-data-local): must mkdir web2cdir here.
560
561 * mktexdir,
562 * mktexnam,
563 * mktexupd,
564 * mktex.opt,
565 * mktexdir.opt,
566 * mktexnam.opt: remove; these will now be maintained
567 (if changes are needed) only in Master/texmf-dist/web2c.
568 * Makefile.am (dist_web2c_DATA, dist_web2c_SCRIPTS): remove.
569 (All this is primarily so that $Id$ expansions will not be lost;
570 the user-level mktex* scripts will happen in a few days.)
571
572 * mktex.cnf: remove this unused file.
573 * Makefile.am (EXTRA_DIST): remove it here.
574
575 2019-12-22 Karl Berry <[email protected]>
576
577 * doc/kpathsea.texi (Path searching): mention translations for TL.
578 (Config files): distinguish special characters at different levels.
579 (Filename database): don't mention talking about 8.3 filenames.
580
581 2019-12-16 Karl Berry <[email protected]>
582
583 * texmf.cnf (glob_str_size): increase from 20,000 to 200,000
584 for web2c/tests/bibtex-bigauth.test (q.v.).
585 (ent_str_size, max_strings.bibtex*): increase these while we're here.
586
587 2019-11-03 Karl Berry <[email protected]>
588
589 * progname.c: remove nowadays-useless register declarations.
590 Mentioned by Doug McKenna.
591
592 2019-10-10 Karl Berry <[email protected]>
593
594 * texmf.cnf (LUAINPUTS.luahblatex{,-dev}): define a la other
595 LUAINPUTS.*. Report from Marcel Fabian Krueger, 10 Oct 2019 23:08:37.
596
597 2019-09-04 Akira Kakuto <[email protected]>
598
599 * hash.c: Typo in a comment.
600
601 2019-08-13 Karl Berry <[email protected]>
602
603 * cnf.c (do_line): warn about a program name qualifier which is
604 empty or contains one of our usual special characters: .{}$;:
605 since it is probably a misparsing, especially if the = is omitted.
606 Report from Johannes Kunde, 1 Aug 2019 20:57:14.
607 * Makefile.am (TESTS): new tests/cnfprog.test
608 (cnfprog.log): another target for kpsewhich.
609 (EXTRA_DIST): add tests/cnfprog/texmf.cnf.
610 * doc/kpathsea.texi (Config files): mention example of above.
611
612 2019-08-09 Karl Berry <[email protected]>
613
614 * texmf.cnf (log_openout): new configuration variable, true
615 by default for all but tex and initex, to remove one technical
616 trip incompatibility. Report from David Fuchs.
617
618 * cnf.c,
619 * progname.h,
620 * tex-file.c,
621 * types.h: doc/formatting fixes.
622
623 2019-08-06 Karl Berry <[email protected]>
624
625 * kpsewhich.c (USAGE, read_command_line): new option --cnf-line.
626 (user_cnf_lines, user_cnf_nlines): new variables to store the args.
627 (init_more): call kpathsea_cnf_line_env_progname on each line.
628
629 * cnf.h (kpathsea_cnf_line_env_progname): declare new fn.
630 * cnf.c (do_line): new argument ENV_PROGNAME,
631 to insert settings in the environment instead of the hash table.
632 (kpathsea_cnf_line_env_progname): entry point to call do_line
633 with env_progname=true.
634 (read_all_cnf): change do_line call to have env_progname=false.
635 Also, don't create cnf_hash here, instead ...
636 (kpathsea_cnf_get): ... here (if needed).
637
638 * tests/cnfline.test: new test for --cnf-line.
639 * tests/cnfline/texmf.cnf: new directory/file for cnfline.test.
640 * Makefile.am (tests),
641 (tests/cnfline.log),
642 (EXTRA_DIST): add new test.
643 * doc/kpathsea.texi (Path sources, Path searching options): doc.
644
645 2019-07-26 Karl Berry <[email protected]>
646
647 * texmf.cnf (TEXINPUTS, etc.): include explicit latex,
648 element at end so that files under latex/ are preferred to those
649 under latex-dev/. From Ulrike Fischer.
650
651 * texmf.cnf (TEXINPUTS.latex-dev, *-dev): new -dev format
652 names for LaTeX pre-release testing.
653
654 2019-07-24 Akira Kakuto <[email protected]>
655
656 * texmf.cnf: Define command_line_encoding = utf-8 for
657 Windows only.
658
659 2019-07-11 Karl Berry <[email protected]>
660
661 * texmf.cnf (TEXINPUTS.lua{,jit}hb{,la}tex): four new engines,
662 luahbtex with/without jit, with/without latex. Same path as non-hb.
663
664 2019-06-02 Karl Berry <[email protected]>
665
666 * texmf.cnf (TEXINPUTS.harf{,la}tex): new engine.
667 Turns out we want harf{,la}tex/ directories.
668
669 2019-05-05 Karl Berry <[email protected]>
670
671 * texmf.cnf: missed top 2018's.
672
673 2019-05-03 Karl Berry <[email protected]>
674
675 * version.ac: 6.3.2/dev since TL'19 is released.
676
677 2019-04-07 Karl Berry <[email protected]>
678
679 * TeX Live 2019.
680
681 2019-03-25 Karl Berry <[email protected]>
682
683 * texmf.cnf (TEXMFDBS),
684 * doc/kpathsea.texi (ls-R): attempt to describe the lack of
685 disk searching when ls-R is present, regardless of !!, more clearly.
686 Report from Yann Salmon, tex-k thread of 27 Feb 2019 21:00:46.
687 * kpsewhich.c: doc fix.
688
689 2019-02-11 Karl Berry <[email protected]>
690
691 * version.ac,
692 * texmf.cnf,
693 * kpsewhich.c,
694 * doc/kpathsea.texi: 6.3.1 for TL'19.
695
696 2019-01-19 Karl Berry <[email protected]>
697
698 * variable.h (kpathsea_var_expand): returns string "$FOO" if FOO
699 is not defined, not the empty string; whereas ${FOO} does return
700 the empty string. Maybe not the ideal interface, but seems
701 undesirable to change now.
702 * doc/kpathsea.texi (Programming with config files),
703 (Auxiliary tasks): document this.
704 Noted by Andreas Scherer, r49726.
705
706 2019-01-19 Karl Berry <[email protected]>
707
708 * texmf.cnf (TEXMFLOCALEDIR): define as $TEXMFMAIN/locale,
709 for cweb translations now, and hopefully more later.
710
711 2018-12-30 Karl Berry <[email protected]>
712
713 * texmf.cnf (shell_escape_commands): make that r-mpost.
714
715 2018-12-24 Andreas Scherer <https://ascherer.github.io>
716
717 * kpsewhich.c: Add missing format placeholder.
718
719 2018-12-21 Karl Berry <[email protected]>
720
721 * texmf.cnf (shell_escape_commands): add rmpost.
722
723 2018-12-17 Karl Berry <[email protected]>
724
725 * kpsewhich.c (--var-brace-value, var_to_brace_value): new option
726 and corresponding option.
727 (main): new case for it. For --var-value, go back to just variable
728 (kpathsea_var_value) expansion.
729 * doc/kpathsea.texi (Auxiliary tasks): document the new option,
730 try to explain the difference.
731 Follow-up report from jbglaw,
732 https://github.com/TeX-Live/texlive-source/issues/3.
733
734 2018-12-14 Karl Berry <[email protected]>
735
736 * c-pathch.h (IS_KPSE_SEP): check for both : and ; only on Unix.
737 On Windows, : is the c: drive separator and must not ever be
738 a path separator.
739
740 * texmf.cnf (TEXMFDOTDIR): new variable, used instead of
741 literal "." in all search paths, so that it can be redefined as
742 ".//". Suggestion from Linas Stonys, tex-k 4 Dec 2018 10:09:35.
743
744 2018-12-13 Karl Berry <[email protected]>
745
746 * c-pathch.h (IS_KPSE_SEP): new macro to check for either : or ;
747 regardless of the current system.
748 * path-elt.c (element): use it when extracting the path elements,
749 so that we'll get ~ expansion on Unix in, e.g.,
750 env FOO='/;~' ./kpsewhich --expand-braces='$FOO'
751 * kpsewhich.c (main): call kpathsea_brace_expand on the result
752 from kpathsea_var_value, so that we'll get ~ expansion in, e.g.,
753 env FOO='/:~' ./kpsewhich --var-value=FOO
754 Original report from e-kwsm (E Kawashima),
755 https://github.com/TeX-Live/texlive-source/issues/3
756
757 * NEWS,
758 * doc/kpathsea.texi (Auxiliary tasks): document that -var-value
759 now does brace expansion.
760
761 2018-12-12 Karl Berry <[email protected]>
762
763 * expand.h,
764 * pathsearch.h,
765 * cnf.c: doc fixes.
766
767 * kpsewhich.c (main): show path when --show-path can't run.
768
769 2018-12-11 Karl Berry <[email protected]>
770
771 * kpsewhich.c (main): formatting.
772
773 2018-12-04 Karl Berry <[email protected]>
774
775 * kpsewhich.c (main) [WIN32]: #define puts kpathsea_win32_puts
776 once, instead of many #ifdefs throughout function.
777
778 2018-11-23 Akira Kakuto <[email protected]>
779
780 * elt-dirs.c, knj.c, progname.c: Support non-ascii values
781 for variables in the case of
782 command_line_encoding = utf-8 (w32 only).
783
784 2018-11-12 Andreas Scherer <https://ascherer.github.io>
785
786 * tex-make.c (maketex): check return value from dup(2).
787
788 2018-07-02 Karl Berry <[email protected]>
789
790 * kpsewhich.c (lookup): warn that --all is ignored with bitmap fonts.
791 (USAGE): likewise.
792 * doc/kpathsea.texi (Path searching options) <--all>: likewise.
793 Report from Werner Lember, 07 Apr 2018 12:39:34.
794
795 2018-06-10 TANAKA Takuji <[email protected]>
796
797 * progname.c, types.h, knj.h: Add a variable W32_codepage.
798 * kpsewhich.c: Allow Unicode file name for pdftex in kpsewhich.
799 (Windows only)
800
801 2018-05-29 Akira Kakuto <[email protected]>
802
803 * kpsewhich.c: Revert. Since "command_line_encoding=utf8" is
804 not so natural for pdfTeX.
805
806 2018-05-12 TANAKA Takuji <[email protected]>
807
808 * kpsewhich.c: Allow Unicode file name for pdftex in kpsewhich.
809 (Windows only)
810
811 2018-04-14 Karl Berry <[email protected]>
812
813 * TeX Live 2018 release, kpathsea 6.3.0.
814
815 2018-03-16 Karl Berry <[email protected]>
816
817 * tex-glyph.h (kpse_glyph_source_fallback_res): new enum value
818 in kpse_glyph_source_type.
819 * tex-glyph.c (kpathsea_find_glyph): use it for `source'.
820 Private report from Doug McKenna, 14 Mar 2018 19:26:12.
821
822 2018-03-14 Karl Berry <[email protected]>
823
824 * tex-glyph.c (kpathsea_find_glyph, try_size): disentangle
825 successful searches and filling in return information.
826 Private report from Doug McKenna, 14 Mar 2018 11:51:29.
827
828 2018-02-26 Karl Berry <[email protected]>
829
830 * texmf.cnf (TEXMFVAR, TEXMFCONFIG, doc): 2018.
831
832 2018-02-24 Hironobu Yamashita <[email protected]>
833
834 * tex-make.c (kpathsea_make_tex): Change an error message
835 "Invalid fontname" to "Invalid filename", since
836 $ tex -fmt=-a x
837 causes
838 kpathsea:make_tex: Invalid fontname `-a.fmt', starts with '-'
839 but it is a format file.
840
841 2018-02-23 Karl Berry <[email protected]>
842
843 * lib.h (LIB_START_FATAL): mention that the identifier `kpse'
844 has to be defined for this to work. (In practice, it's a local
845 variable.) Private report from Douglas McKenna, 2018/02/21.
846
847 2018-02-21 Akira Kakuto <[email protected]>
848
849 * xgetcwd.c: Replace LIB_FATAL2 by FATAL2.
850 Private report from Douglas McKenna, 2018/02/21.
851
852 2018-02-20 Karl Berry <[email protected]>
853
854 * progname.c (expand_symlinks): make error message on unresolvable
855 symlinks less verbose.
856 (kpathsea_selfdir): exit(1) if name cannot be resolved,
857 instead of failing an assertion. Report from Enrico Gregorio,
858 http://tug.org/pipermail/tex-live/2018-February/041052.html
859
860 2018-02-17 TANAKA Takuji <[email protected]>
861
862 * texmf.cnf ({TEXINPUTS,BIBINPUTS,max_strings}.upbibtex):
863 add defns for upbibtex.
864
865 2018-02-10 Karl Berry <[email protected]>
866
867 * doc/kpathsea.texi (Path searching options): clarify that
868 --no-casefold-search doesn't mean the underlying (file)system
869 magically becomes case-sensitive.
870
871 2018-02-07 Karl Berry <[email protected]>
872
873 * tests/kpsewhich.test: don't run --no-casefold-search with
874 "Plain.TeX", since it succeeds on case-insensitive systems
875 and fails on case-sensitive ones.
876
877 2018-02-04 Karl Berry <[email protected]>
878
879 * texmf.cnf (texmf_casefold_search): new configuration value
880 for Unix, default 1. Latest thread about this longstanding issue:
881 http://tug.org/pipermail/tex-live/2017-September/040619.html
882
883 * version.ac: move to 6.3.0 since I guess this is a new
884 (compatible [enough]) interface.
885 * NEWS: mention it.
886 * doc/kpathsea.texi: document it.
887 (Casefolding search),
888 (Casefolding rationale),
889 (Casefolding examples): new nodes.
890 (Path searching options): new option [-no]-casefold-search
891 for kpsewhich.
892
893 * pathsearch.c (KPSE_CASEFOLDING_SEARCH): new compile-time macro
894 to support case-insensitive searches on case-sensitive operating
895 systems, that is, not Windows. Most other changes here are
896 conditional on it.
897
898 (print_space_list): helper fn for debugging output.
899 (readable_file_fn_type): new typedef for casefold_readable_file
900 and kpathsea_readable_file.
901 (casefold_readable_file): new fn to check for a file ignoring case.
902 (dir_list_search),
903 (dir_list_search_list): take an additional function pointer argument
904 and call it, instead of only kpathsea_readable_file. Return
905 the matched name instead of the original name. (This would have
906 caused failure before with the ENAMETOOLONG kludge; guess that
907 never actually happens.)
908 (absolute_search),
909 (path_search): also do casefolded search if enabled and requested.
910 Also free passed name in callers.
911 (kpathsea_path_search_list_generic): call absolute_search
912 instead of kpathsea_readable_file; merge returned lists;
913 also do casefolded search if enabled and requested.
914
915 (print_tab_list) [TEST]: another helper fn to print test results.
916 (test_path_search_list_generic) [TEST]: new test fn for some
917 minimal casefolding tests.
918 (main): call it, and rearrange tests.
919 (standalone-compile-command): current to current (TeX Live) reality.
920
921 * kpsewhich.c (long_options): new options [-no]-casefold-search
922 to override the default for casefolded searches.
923 (read_command_line): handle them with xputenv on texmf_casefold_search.
924
925 * tests/kpsewhich.test: do a few casefolding tests.
926
927 2018-02-01 Karl Berry <[email protected]>
928
929 * lib.h (KPSE_CNF_P): new macro.
930 * tex-file.c (kpathsea_find_file_generic): use it,
931 for try_std_extension_first.
932
933 2018-01-27 Karl Berry <[email protected]>
934
935 * readable.h: doc fixes.
936 * readable.c (READABLE): take (ignored) kpse arg in macro, so:
937 (kpathsea_readable_file): we can avoid #ifdefs in body.
938
939 * str-list.c (str_list_concat_elements): reformat for consistency.
940
941 * str-list.h (STR_LIST_EMPTY, STR_LIST_FIRST_ELT): new macros.
942 * kpsewhich.c,
943 * pathsearch.c,
944 * str-list.c (str_list_concat_elements): use them.
945
946 2018-01-26 Karl Berry <[email protected]>
947
948 * tex-file.c (kpathsea_init_format_return_varlist): log a newline
949 before kpse_cnf_format, since this happens mid-search.
950
951 2018-01-25 Karl Berry <[email protected]>
952
953 * pathsearch.c: more consistent code formatting, doc fixes.
954 No functional code changes.
955
956 2018-01-17 Norbert Preining <[email protected]>
957
958 * mktexlsr (treefile): use mktemp with fallback option for
959 temporary file.
960
961 2018-01-16 Karl Berry <[email protected]>
962
963 * kpathsea.pc.in (Cflags): remove -I${libdir} per Debian.
964
965 2018-01-14 Karl Berry <[email protected]>
966
967 * texmf.cnf: doc fixes.
968
969 2018-01-14 Akira Kakuto <[email protected]>
970
971 * progname.c: Use a macro instead of a function strlen() to
972 check if a string is empty or not. Report from Douglas McKenna,
973 private mail 14 Jan 2018.
974
975 2018-01-05 Karl Berry <[email protected]>
976
977 * pathsearch.c (dir_list_search, dir_list_search_list): save the
978 next element to continue the loop, in case the
979 current element floats. Report from Douglas McKenna,
980 tex-k mail 4 Jan 2018 10:16:18.
981
982 2017-12-27 Akira Kakuto <[email protected]>
983
984 * xbasename.c, xdirname.c: Remove IS_KANJI test for UNC names,
985 and fix a W32 bug in xdirname.c.
986 Report by Douglas McKenna:
987 http://tug.org/pipermail/tex-k/2017-December/002840.html
988
989 2017-12-09 Jiang Jiang <[email protected]>
990
991 * tex-glyph.c (try_fallback_resolutions):
992 Avoid warning: taking the absolute value of unsigned type
993 'unsigned int' has no effect [-Wabsolute-value]
994 ref. https://github.com/jjgod/texlive/commit/4cbec4c
995
996 2017-12-08 Karl Berry <[email protected]>
997
998 * tex-file.c (kpathsea_init_format_return_varlist)
999 <kpse_program_text_format>, <kpse_program_binary_format>:
1000 use DIR_SEP_STRING instead of hardwired /
1001 Report from Douglas McKenna, tex-k 5 Dec 2017 22:27:10.
1002
1003 2017-12-05 Karl Berry <[email protected]>
1004
1005 * c-minmax.h (SCHAR_MAX): decrement to the correct 127.
1006 Report from Douglas McKenna, tex-k 4 Dec 2017 18:26:35.
1007
1008 2017-11-28 Karl Berry <[email protected]>
1009
1010 * doc/unixtex.texi: no longer in ~ftp, etc.
1011
1012 * doc/kpathsea.texi (Fontmap): clarify that it's the last %
1013 on a line that starts a comment. From Doug McKenna, personal
1014 email, 21nov17.
1015
1016 2017-11-18 Karl Berry <[email protected]>
1017
1018 * db.c (elt_in_db): protect against either argument being NULL or
1019 empty. From Doug McKenna, personal mail, 17nov17.
1020
1021 2017-11-11 Akira Kakuto <[email protected]>
1022
1023 * tex-file.c: Again use a custom kpathsea_getlongpath()
1024 instead of a standard API function GetLongPathName(), since
1025 the latter sometimes does not work as desired (W32 only).
1026
1027 2017-11-09 Karl Berry <[email protected]>
1028
1029 * db.c (kpathsea_db_search_list): remove redundant test of `found'.
1030 From Doug McKenna, personal mail, 7nov17.
1031
1032 2017-11-03 Karl Berry <[email protected]>
1033
1034 * default.h: document that NULL or empty input path returns the
1035 default string.
1036 * kdefault.c (kpathsea_expand_default): check for empty input path.
1037 From Doug McKenna, personal mail, 2nov17.
1038
1039 * cnf.c (do_line): do not move past a nul byte on erroneous input
1040 (with a . but no program name).
1041 * hash.c: doc fix.
1042 From Doug McKenna, personal mail, 31oct17.
1043
1044 2017-10-29 Karl Berry <[email protected]>
1045
1046 * several files: missed copyright 2017 updates.
1047
1048 * elt-dirs.c (do_subdir): assert must include elt_length>0
1049 to guarantee the assert of elt[elt_length-1] is valid.
1050 From Doug McKenna, personal mail, 29oct17.
1051
1052 2017-10-25 Karl Berry <[email protected]>
1053
1054 * expand.c (brace_expand): do not look past the terminating
1055 null with bad input like "a{\0whatever".
1056 From Doug McKenna, personal mail, 23oct17.
1057
1058 2017-09-22 Akira Kakuto <[email protected]>
1059
1060 * tex-file.c: Use a standard API function GetLongPathName()
1061 instead of the custom kpathsea_getlongpath() (W32 only).
1062
1063 2017-09-20 Akira Kakuto <[email protected]>
1064
1065 * tex-file.c: Fix to return actual file names (W32 only).
1066
1067 2017-09-19 Akira Kakuto <[email protected]>
1068
1069 * db.c: Fix for DOSISH systems in which _WIN32 is not defined.
1070
1071 2017-05-03 Karl Berry <[email protected]>
1072
1073 * texmf.cnf (TEXMFAUXTREES): new variable (default value empty
1074 string via empty braces), for tlmgr conf auxtrees.
1075 (TEXMF): include $TEXMFAUXTREES, but don't assume it is nonempty.
1076
1077 2017-04-22 Akira Kakuto <[email protected]>
1078
1079 * win32lib.c, mingw32.c: Update texlive_gs_init() (w32 only).
1080
1081 2017-04-21 Akira Kakuto <[email protected]>
1082
1083 * win32lib.c, mingw32.c: Update texlive_gs_init() (w32 only).
1084
1085 2017-04-14 Karl Berry <[email protected]>
1086
1087 * texmf.cnf (shell_escape_commands): add texosquery-jre8.
1088
1089 2017-04-13 Karl Berry <[email protected]>
1090
1091 * texmf.cnf (TEXMF, TEXMFDBS): move TEXMFLOCAL to before TEXMFSYS*,
1092 so, e.g., config.ps in TEXMFLOCAL overrides TEXMFSYSCONFIG.
1093 Report from Michael Shell:
1094 http://tug.org/pipermail/tex-live/2016-July/039062.html
1095
1096 2017-04-05 Akira Kakuto <[email protected]>
1097
1098 * texmf.cnf: mendex requires the variable INDEXDICTIONARY.
1099
1100 2017-03-27 Karl Berry <[email protected]>
1101
1102 * Makefile.am (AM_TESTS_ENVIRONMENT): use instead of TESTS_ENVIRONMENT.
1103
1104 2017-03-18 Karl Berry <[email protected]>
1105
1106 * version.ac,
1107 * NEWS,
1108 * kpsewhich.c,
1109 * texmf.cnf,
1110 * doc/kpathsea.texi: version 6.2.3 for TL17.
1111
1112 * Makefile.am (nodist_kpseinclude_HEADERS): include c-auto.h here.
1113 (kpseinclude_HEADERS): not here.
1114 (nodist_kpselib_HEADERS): and not here; variable no longer needed.
1115 Ken Brown on tldistro, 18 Mar 2017 16:50:41.
1116
1117 2017-03-14 Karl Berry <[email protected]>
1118
1119 * Makefile.am (kpseinclude_HEADERS): add c-auto.h. Report from
1120 Ken Brown on tldistro, 14 Mar 2017 12:16:56.
1121
1122 2017-03-02 Karl Berry <[email protected]>
1123
1124 * texmf.cnf (TEXINPUTS.luajitlatex): add, same as lualatex.
1125 Report from Ulrike Fischer, 2 Mar 2017 17:46:50.
1126
1127 2016-12-28 Akira Kakuto <[email protected]>
1128
1129 * xgetcwd.c: Typo. Thanks Luigi.
1130
1131 2016-12-15 Akira Kakuto <[email protected]>
1132
1133 * kpsestat.c: Change [email protected] to [email protected].
1134
1135 2016-11-30 Karl Berry <[email protected]>
1136
1137 * texmf.cnf (shell_escape_commands): remove mpost, due to
1138 the -tex option. Oops! Report from Bruno Le Floch.
1139
1140 2016-11-08 Akira Kakuto <[email protected]>
1141
1142 * tex-file.c: Add ".OTF" as a suffix of OpenType fonts.
1143
1144 2016-11-02 Karl Berry <[email protected]>
1145
1146 * mktexdir: try a silent mkdir before a non-silent mkdir,
1147 to try to work around the inevitable race condition.
1148 https://bugs.debian.org/794228.
1149
1150 2016-08-04 Karl Berry <[email protected]>
1151
1152 * texmf.cnf (max_strings.bibtex, et al.): increase to 100,000
1153 per report from Michael Perryman,
1154 http://tug.org/pipermail/tex-live/2016-July/039109.html.
1155
1156 2016-07-01 Akira Kakuto <[email protected]>
1157
1158 * knj.c, knj.h: Avoid compiler warnings.
1159
1160 2016-06-30 Karl Berry <[email protected]>
1161
1162 * version.ac (kpse_version): 6.2.2 => 6.2.3dev.
1163
1164 2016-06-29 Akira Kakuto <[email protected]>
1165
1166 * kpsewhich.c: Remove unnecessary w32 changes,
1167
1168 2016-06-28 Akira Kakuto <[email protected]>
1169
1170 * config.h, db.c, elt-dirs.c, expand.c, find-suffix.c, hash.c, knj.c,
1171 knj.h, kpsewhich.c, make-suffix.c, path-elt.c, progname.c, readable.c,
1172 tilde.c, types.h, variable.c, win32lib.c, win32lib.h, xbasename.c,
1173 xdirname.c, xdirtest.c, xgetcwd.c: Eliminate global and static
1174 variables (w32 only).
1175
1176 2016-05-28 Akira Kakuto <[email protected]>
1177
1178 * tex-file.c: Fix a bug that TEXMFOUTPUT does not work (w32 only).
1179 See http://tug.org/pipermail/tex-k/2016-May/002719.html.
1180
1181 2016-05-20 Karl Berry <[email protected]>
1182
1183 * Version 6.2.2 for TeX Live 2016.
1184
1185 2016-05-13 Karl Berry <[email protected]>
1186
1187 * texmf.cnf (RISINPUTS, BLTXMLINPUTS): $TEXMF/biber
1188 rather than $TEXMF/bibtex.
1189
1190 2016-02-03 Akira Kakuto <[email protected]>
1191
1192 *knj.c: Disable unnecessary warning (w32 only).
1193
1194 2016-04-06 Karl Berry <[email protected]>
1195
1196 * texmf.cnf (TEXMFVAR, TEXMFCONFIG): 2016.
1197 (shell_escape_commands): add gregorio, fingers crossed.
1198
1199 * cnf.c (do_line): do not keep checking ISSPACE beyond
1200 end of string. (Can crash on lines without spaces.)
1201 Return error string if problems.
1202 * kpathsea_cnf_get: give warning, with line number,
1203 if do_line returns a message.
1204
1205 2016-02-03 Akira Kakuto <[email protected]>
1206
1207 * texmf.cnf: Typo.
1208
1209 2016-04-06 Karl Berry <[email protected]>
1210
1211 * kpsewhich.c, et al.: copyright 2016.
1212
1213 2016-03-06 Karl Berry <[email protected]>
1214
1215 * version.ac: remove /dev for start of 2016 builds.
1216
1217 2016-02-27 TANAKA Takuji <[email protected]>
1218
1219 * kpsewhich.c: Allow Unicode file name for upmendex in kpsewhich.
1220 (Windows only)
1221
1222 2016-02-03 Akira Kakuto <[email protected]>
1223
1224 * win32lib.[ch], mingw32.[ch]: Define a function
1225 double win32_floor (double x), since floor is defined in cpascal.h.
1226
1227 2015-12-29 Akira Kakuto <[email protected]>
1228
1229 * win32lib.h: Update (w32 only).
1230
1231 2015-10-01 Peter Breitenlohner <[email protected]>
1232
1233 * kpsewhich.c (USAGE): Say "list shown by -help-formats".
1234
1235 2015-07-07 Peter Breitenlohner <[email protected]>
1236
1237 * Makefile.am: Better dependencies for 'make check'.
1238
1239 2015-06-18 Peter Breitenlohner <[email protected]>
1240
1241 * configure.ac: Define WEB2CVERSION for WIN32 programs.
1242
1243 2015-06-12 Peter Breitenlohner <[email protected]>
1244
1245 * version.ac: Update version number 6.2.1 => 6.2.2dev.
1246 * configure.ac: Drop test for isascii (now in KPSE_COMMON).
1247
1248 2015-05-21 Karl Berry <[email protected]>
1249
1250 * TL'15.
1251
1252 2015-05-03 Karl Berry <[email protected]>
1253
1254 * kpsewhich.c: copyright 2015.
1255 * doc/kpathsea.texi (version, month-year): now 6.2.1, May 2015.
1256 (Auxiliary tasks): add --help-formats, sort.
1257 (Supported file formats): add bltxml, clua, ris.
1258 * NEWS: mention --help-formats.
1259
1260 2015-05-03 Akira Kakuto <[email protected]>
1261
1262 * file-p.c: Implement same_file_p () for windows.
1263
1264 2015-04-17 Peter Breitenlohner <[email protected]>
1265
1266 * configure.ac: Test if isascii is declared.
1267 * c-ctype.h: Correctly define isascii, if not declared.
1268
1269 2015-04-14 Norbert Preining <[email protected]>
1270
1271 * mktexlsr (treefile): switch back to hard-coded path, as
1272 indeed it seems there are several systems without support for
1273 mktemp --tmpdir, just mktemp. TL2015 pretest emails.
1274
1275 2015-04-12 Karl Berry <[email protected]>
1276
1277 * texmf.cnf: update for TL'15.
1278 (shell_escape_commands): include extractbb, fingers crossed.
1279
1280 2015-04-12 Peter Breitenlohner <[email protected]>
1281
1282 * version.ac: 6.2.1 (without the dev) for 2015 pretest.
1283
1284 2015-03-25 Karl Berry <[email protected]>
1285
1286 * mktexlsr (treefile): use shell mktemp; patch from Debian
1287 via tlbuild mail from Norbert, 6 Mar 2015 09:13:06.
1288 Per Nelson Beebe, the program is available on a wide variety of
1289 systems nowadays, excluding only SGI IRIX MIPS, which we have
1290 not built binaries for in several years.
1291 (tlbuild reply, 6 Mar 2015 06:22:21)
1292
1293 2015-03-14 Peter Breitenlohner <[email protected]>
1294
1295 * Makefile.am, kpathsea.pc.in: Install <kpathsea/c-auto.h> under
1296 ${libdir}.
1297
1298 2015-03-10 Peter Breitenlohner <[email protected]>
1299
1300 * configure.ac: Drop checks for strcasecmp, strtol, and strstr.
1301 * lib.h: Drop the strstr() prototype.
1302 * Makefile.am: No need to distribute the replacement functions.
1303
1304 2014-12-13 Akira Kakuto <[email protected]>
1305
1306 * texmf.cnf: Sync with master which is changed by Norbert.
1307
1308 2014-12-06 Peter Breitenlohner <[email protected]>
1309
1310 * Makefile.am [kpathsea.h]: Improved output for silent rules.
1311
1312 2014-12-05 Karl Berry <[email protected]>
1313
1314 * kpsewhich.c (help_formats): new fn for new option --help-formats.
1315 (help_message): split off code from here.
1316 (USAGE): document it.
1317 (read_command_line): recognize it.
1318 Suggestion from Julian Gilbey, tex-k 4 Dec 2014 13:34:23.
1319
1320 2014-10-20 Peter Breitenlohner <[email protected]>
1321
1322 * db.c (db_names): Use initialized non-const strings to avoid warning.
1323
1324 2014-10-19 Karl Berry <[email protected]>
1325
1326 * db.c (db_names): list DB_NAME_LC first, and list both always,
1327 dropping WIN32 conditional.
1328 (init_db): check at runtime if ls-R and ls-R are same_file_p,
1329 and only read one on any system, not just hardwiring Windows.
1330 Output debugging lines. Basic patch from Adam Maxwell
1331 (since MacOSX now uses a case-preserving filesystem).
1332
1333 * db.c (DB_HASH_SIZE): increase per current texmf-dist/ls-R.
1334
1335 2014-10-17 Karl Berry <[email protected]>
1336
1337 * line.c (getc, FLOCKFILE, FUNLOCKFILE): #define to getc_unlocked, etc.
1338 (get_line): call them, so we lock once per call instead of
1339 once per character read. Change from Adam Maxwell <[email protected]>.
1340 https://email.esm.psu.edu/pipermail/macosx-tex/2014-October/053026.html
1341
1342 2014-09-16 Peter Breitenlohner <[email protected]>
1343
1344 * texmf.cnf (TEX.upmpost): Added.
1345
1346 2014-08-23 Peter Breitenlohner <[email protected]>
1347
1348 * knj.c (win32_fputs): Drop unused variables.
1349
1350 2014-08-22 Akira Kakuto <[email protected]>
1351
1352 * knj.c: Update fsyscp_popen().
1353
1354 2014-08-22 TANAKA Takuji <[email protected]>
1355
1356 * knj.[ch], c-std.h, config.h: Add a new function win32_vfprintf()
1357 (Windows only)
1358
1359 2014-07-22 Karl Berry <[email protected]>
1360
1361 * tex-file.h,
1362 * tex-file.c (kpathsea_init_format_return_varlist): new fn
1363 to expose list of environment/config variable names considered.
1364 * kpsewhich.c (help_message): use it.
1365
1366 2014-07-18 Karl Berry <[email protected]>
1367
1368 * mktex.opt: don't basename-ify the program name, that's
1369 potentially useful information.
1370
1371 * mktexdir,
1372 * mktexlsr,
1373 * mktexmf,
1374 * mktexnam,
1375 * mktexpk,
1376 * mktextfm,
1377 * mktexupd: prepend to PATH via a simple method for Unix
1378 (but leave the complicated DOS version in mktexlsr).
1379
1380 2014-07-15 Peter Breitenlohner <[email protected]>
1381
1382 * tex-make.c, win32lib.c: Replace the deprecated spawnvp() by
1383 _spawnvp(), they differ for 64-bit MinGW.
1384
1385 2014-07-13 Peter Breitenlohner <[email protected]>
1386
1387 * debug.c, hash.c, knj.c, tex-make.c: [WIN64] Avoid cast from
1388 pointer to integer of different size.
1389
1390 2014-06-20 Peter Breitenlohner <[email protected]>
1391
1392 * mingw32.h: Require WINVER >= 0x0500.
1393
1394 2014-06-20 Akira Kakuto <[email protected]>
1395
1396 * win32lib.c: Fix a potential bug (w32 only).
1397
1398 2014-06-18 Peter Breitenlohner <[email protected]>
1399
1400 * c-ctype.h: Avoid useless char subscript warnings.
1401
1402 2014-06-16 Peter Breitenlohner <[email protected]>
1403
1404 * Makefile.am (kpathsea.h): Drop c-auto.h, c-ctype.h, c-errno.h,
1405 and more from the list of files; they are included via others.
1406 * version.ac: Update version number 6.2.0 => 6.2.1dev.
1407
1408 2014-05-07 Akira Kakuto <[email protected]>
1409
1410 * win32lib.c: Update win32_popen() (w32 only).
1411
1412 2014-05-05 Karl Berry <[email protected]>
1413
1414 * doc/kpathsea.texi,
1415 * doc/unixtex.texi,
1416 * README,
1417 * PROJECTS: omit old information about building and installing;
1418 general updates (though plenty more could be done).
1419
1420 * BUGS,
1421 * doc/bugs.texi,
1422 * doc/hier.texi,
1423 * doc/install.texi: remove.
1424 * Makefile.am,
1425 * doc/Makefile.am: update accordingly.
1426
1427 2014-04-30 Peter Breitenlohner <[email protected]>
1428
1429 * Makefile.am (normal_headers): Add simpletypes.h.
1430 * simpletypes.h: Don't '#include <kpathsea/simpletypes.h>'.
1431
1432 2014-04-29 Karl Berry <[email protected]>
1433
1434 * simpletypes.h: new file, defining just boolean, string, address, etc.
1435 * pathsearch.h: restore #include of str-llist.h before types.h,
1436 as it should be.
1437 * str-llist.h: #include simpletypes.h instead of types.h.
1438 * types.h: #include simpletypes.h.
1439
1440 2014-04-22 Karl Berry <[email protected]>
1441
1442 * texmf.cnf (guess_input_kanji_encoding): set to 1,
1443 per Akira and Norbert.
1444
1445 2014-04-17 Karl Berry <[email protected]>
1446
1447 * version.ac: 6.2.0 (without the dev) for 2014 pretest.
1448 * NEWS,
1449 * texmf.cnf,
1450 * kpsewhich.c: 2014.
1451
1452 * texmf.cnf (TEXINPUTS.pdfx{latex,mex,tex}): this engine has
1453 not existed for a long time. Remove.
1454 (TEXINPUTS.luajittex): same as .luatex.
1455
1456 2014-04-09 Karl Berry <[email protected]>
1457
1458 * pathsearch.h: with deep regret, #include types.h before
1459 str-llist.h, since otherwise str_llist_type is not defined
1460 in its use within types.h and a simple #include
1461 <kpathsea/pathsearch.h> fails. Reported by Norman Gray,
1462 tex-k 14 Apr 2013 12:23:50,
1463 http://tug.org/pipermail/tex-k/2013-April/002496.html
1464
1465 2014-04-09 Luigi Scarso <[email protected]>
1466
1467 * mingw32.h [MinGW64]: Avoid warning due to redefining popen.
1468
1469 2014-03-21 Peter Breitenlohner <[email protected]>
1470
1471 * Makefile.am, configure.ac, getopt.h: Revert previous change.
1472 Cygwin system getopt() is incompatible with the GNU version.
1473
1474 2014-03-06 Peter Breitenlohner <[email protected]>
1475
1476 * Makefile.am, configure.ac: Use Cygwin system getopt().
1477 * getopt.h: Avoid to redeclare the getopt API.
1478
1479 2014-02-08 TANAKA Takuji <[email protected]>
1480
1481 * knj.[ch]: Add a new function win32_putc().
1482 (Windows only)
1483
1484 2014-01-25 Akira Kakuto <[email protected]>
1485
1486 * kpsewhich.c : [WIN32 only] progname should be kpse->program_name
1487 since progname can be NULL.
1488
1489 2014-01-25 Peter Breitenlohner <[email protected]>
1490
1491 * knj.c: Drop unused variable (avoid warning).
1492
1493 2014-01-25 TANAKA Takuji <[email protected]>
1494
1495 * knj.[ch]: Add a new function win32_getc(), win32_ungetc(),
1496 win32_fputs(), and win32_puts(). (Windows only)
1497 * kpsewhich.c, pathsearch.c, line.c:
1498 Allow Unicode file name in kpsewhich. (Windows only)
1499 * knj.c: Fix typo in error message. (Windows only)
1500
1501 2014-01-14 Peter Breitenlohner <[email protected]>
1502
1503 * knj.c: Add #include <wchar.h> as required for MinGW32.
1504 Cast arg3 of fsyscp_spawnvp() to avoid warning.
1505
1506 2014-01-14 Akira Kakuto <[email protected]>
1507
1508 * knj.[ch]: Add new functions fsyscp_spawnvp(), and fsyscp_system().
1509 (Windows only)
1510
1511 2014-01-13 TANAKA Takuji <[email protected]>
1512
1513 * knj.[ch]: Add a new function fsyscp_popen(). (Windows only)
1514
1515 2014-01-08 TANAKA Takuji <[email protected]>
1516
1517 * knj.c: Allow encoding name "" for non-utf8 command line.
1518 Warn if unknown encoding. (Windows only)
1519
1520 2014-01-04 Peter Breitenlohner <[email protected]>
1521
1522 * knj.c: Keep non-utf8 command line. Avoid compiler warnings.
1523
1524 2014-01-01 TANAKA Takuji <[email protected]>
1525
1526 * knj.c, knj.h: Use cast for ASCII string conversion
1527 from char to wchar_t. (Windows only)
1528
1529 2013-12-31 Akira Kakuto <[email protected]>
1530
1531 * knj.h: Remove #include <kpathsea/types.h> because Visual Studio 2010
1532 cannot compile Kpathsea.
1533
1534 2013-12-31 TANAKA Takuji <[email protected]>
1535
1536 * knj.c, knj.h: Add new functions fsyscp_fopen() and
1537 get_command_line_args_utf8() (Windows only)
1538 * progname.c: Refine initialization for KANJI (Windows only)
1539
1540 2013-12-03 TANAKA Takuji <[email protected]>
1541
1542 * elt-dirs.c, knj.c, knj.h, progname.c, readable.c: Support KANJI
1543 file name in (e)upTeX and XeTeX on Windows.
1544
1545 2013-09-22 Karl Berry <[email protected]>
1546
1547 * mktexlsr: output normal msgs to stdout, not stderr.
1548 Suggestion from Scott Kostyshak, tex-live mail 29 Jun 2013 04:42:10.
1549
1550 2013-08-17 Peter Breitenlohner <[email protected]>
1551
1552 * configure.ac (AH_TOP): Simplify the generation of c-auto.h.
1553
1554 2013-08-14 Akira Kakuto <[email protected]>
1555
1556 * win32lib.c, mingw32.c (texlive_gs_init()): Fix a bug. 'n' and 'f' can
1557 be drive letters.
1558
1559 2013-08-12 Akira Kakuto <[email protected]>
1560
1561 * win32lib.c, mingw32.c (texlive_gs_init()): Do nothing if
1562 TEXLIVE_WINDOWS_EXTERNAL_GS is defined and its value is not
1563 '0', 'n', or 'f'.
1564
1565 2013-08-07 Karl Berry <[email protected]>
1566
1567 * line.c (read_line): only at EOF if loc==0, i.e., do not ignore a
1568 non-terminated last "line" of a file; distressingly common on Windows.
1569 * Makefile.am (TESTS): add cnfnewline.test;
1570 move all *.test to tests/ subdir.
1571 (EXTRA_DIST): add tests/cnfnewline/texmf.cnf, a file without a
1572 final newline.
1573
1574 * kpsewhich.test: also check that we can read the environment
1575 variable that we set.
1576
1577 2013-07-07 TANAKA Takuji <[email protected]>
1578
1579 * knj.c and progname.c: Generalize the method to avoid the 0x5c problem
1580 in path names to the cases CP936 (simplified Chinese) and CP950
1581 (traditional Chinese) on Windows system.
1582
1583 2013-07-06 Peter Breitenlohner <[email protected]>
1584
1585 * Makefile.am: Use ../../am/rebuild.am.
1586
1587 2013-07-05 Peter Breitenlohner <[email protected]>
1588
1589 * Makefile.am, man/Makefile.am:
1590 Moved Makefile fragments to ../../am/.
1591
1592 2013-07-01 Peter Breitenlohner <[email protected]>
1593
1594 * c-memstr.h: Drop mapping of BSD => SYSV/ANSI string functions.
1595
1596 2013-06-25 Karl Berry <[email protected]>
1597
1598 * texmf.cnf (guess_input_kanji_encoding): config variable,
1599 off by default. Per Akira.
1600
1601 2013-06-25 Peter Breitenlohner <[email protected]>
1602
1603 * config.h: Remove definition of EXEEXT, comes from c-auto.h.
1604
1605 2013-06-25 Akira Kakuto <[email protected]>
1606
1607 * config.h: define EXEEXT if DOSISH is defined.
1608
1609 * win32lib.c: Unify two win32lib.c's in w32 sources.
1610
1611 * progname.c, texmf.cnf: Define SELFAUTOGRANDPARENT to give a
1612 robust TEXMFLOCAL.
1613
1614 2013-06-16 Peter Breitenlohner <[email protected]>
1615
1616 * configure.ac: New conditional have_EXEEXT.
1617 * Makefile.am (libkpathsea_la_CPPFLAGS): Define EXEEXT for
1618 systems with a non-vanishing executable extension.
1619 * progname.[ch]: New function kpse_program_basename().
1620 * version.ac: Update version number 6.1.1 => 6.2.0dev.
1621
1622 Adapt kpathsea headers to C++.
1623 * absolute.h, cnf.h, concatn.h, config.h, debug.h, expand.h,
1624 hash.h, knj.h, lib.h, line.h, magstep.h, mingw32.h,
1625 pathsearch.h, proginit.h, progname.h, readable.h, str-list.h,
1626 str-llist.h, tex-file.h, tex-glyph.h, tex-hush.h, tex-make.h,
1627 types.h, variable.h, version.h, win32lib.h: When compiling C++
1628 surround all declarations by 'extern "C" {' ... '}'.
1629
1630 2013-06-15 Peter Breitenlohner <[email protected]>
1631
1632 * cnf.c, kpsewhich.c: Drop redundant <kpathsea/progname.h>
1633 (in <kpathsea/config.h>).
1634
1635 2013-06-11 Peter Breitenlohner <[email protected]>
1636
1637 * xrealloc.c: Drop redundant extern (in <kpathsea/config.h>).
1638
1639 2013-06-05 Peter Breitenlohner <[email protected]>
1640
1641 * Makefile.am (*_la_LDFLAGS): Add -bindir for MinGW DLL.
1642
1643 * win32lib.h.mugica (removed): Unused and unmaintained.
1644 * Makefile.am: Adapt.
1645
1646 2013-05-30 Karl Berry <[email protected]>
1647
1648 * Version 6.1.1 for TeX Live 2013.
1649
1650 2013-04-15 Karl Berry <[email protected]>
1651
1652 * texmf.cnf (TEXINPUTS.lamed): there is no lamed directory and
1653 never has been, as far as I can tell, so don't look in it.
1654
1655 * texmf.cnf (TEXMFCACHE): new variable for lualatex font cache;
1656 same value as ConTeXt MkIV's variable of the same name in
1657 texmfcnf.lua.
1658
1659 2013-04-10 Karl Berry <[email protected]>
1660
1661 * texmf.cnf (TEXMFCNF): still look in texmf/ subdirs after all;
1662 needed for non-TL ConTeXt and likely others. Report from
1663 Mojca/Hans.
1664
1665 2013-04-05 Karl Berry <[email protected]>
1666
1667 * other files: 2013 in copyright year list.
1668
1669 * kpsewhich.c,
1670 * NEWS,
1671 * version.ac: 6.1.1 and 2013 to prepare for TL'13 pretest.
1672
1673 * texmf.cnf (TEXMFCNF): likewise prepare to use texmf-dist instead
1674 of texmf. From Akira.
1675
1676 2013-04-03 Karl Berry <[email protected]>
1677
1678 * texmf.cnf (TEXMFMAIN): make it the same as $TEXMFDIST,
1679 and do not use it. That is, as of TL 2013, everything will be in
1680 texmf-dist, not split between texmf and texmf-dist. See the
1681 thread including
1682 http://tug.org/mailman/htdig/tex-live/2013-January/032888.html.
1683
1684 Also change 2012 to 2013.
1685
1686 2013-03-26 Karl Berry <[email protected]>
1687
1688 * tex-make.c (kpathsea_make_tex): specify fn name in warnings
1689 about invalid fontnames.
1690
1691 2013-03-14 Karl Berry <[email protected]>
1692
1693 * texmf.cnf (save_size): increase to 100000 (from 50000),
1694 for perldoc-all.texi (http://www.gnu.org/software/perl/manual).
1695
1696 2013-02-08 Peter Breitenlohner <[email protected]>
1697
1698 * Makefile.am (web2cdir): Change texmf => texmf-dist.
1699
1700 2013-01-30 Peter Breitenlohner <[email protected]>
1701
1702 * configure.ac: Use KPSE_COND_MINGW32.
1703
1704 2013-01-29 Akira Kakuto <[email protected]>
1705
1706 * progname.c, types.h, win32lib.c, win32lib.h: Simplify win32_popen.
1707
1708 2012-12-16 Peter Breitenlohner <[email protected]>
1709
1710 * Makefile.am (kpathsea.h): Enable silent rules.
1711
1712 2012-12-13 Peter Breitenlohner <[email protected]>
1713
1714 Resolve remaining const related problems.
1715 * db.[ch] (kpathsea_db_search_list): Make arg3 non-const.
1716 * pathsearch.[ch] (kpathsea_path_search_list_generic,
1717 dir_list_search_list): Make arg3 non-const.
1718 * tex-file.c: Remove casts 'string*' => 'const_string*'.
1719 * readable.[ch] (kpathsea_readable_file): Make arg non-const.
1720 Include code to truncate too-long filename components.
1721
1722 * truncate.[ch] (kpathsea_truncate_filename): Files removed.
1723 * Makefile.am: Drop truncate.c and truncate.h.
1724
1725 2012-12-12 Peter Breitenlohner <[email protected]>
1726
1727 Somewhat disentangle path search functions.
1728 * db.c (kpathsea_init_db):
1729 Directly call kpathsea_path_search_list_generic()
1730 instead of the kpathsea_all_path_search_list() wrapper.
1731 * pathsearch.c: Rename the static function search_list() into
1732 the non-static kpathsea_path_search_list_generic() and drop
1733 the former kpathsea_path_search_list_generic() wrapper.
1734 * pathsearch.[ch]: Drop the now unused *_path_search_list().
1735
1736 2012-12-11 Peter Breitenlohner <[email protected]>
1737
1738 Resolve some const related problems.
1739 * str-list.[ch]: Add cstr_list_type and cstr_list_add() for
1740 const strings. Define [c]str_list_init() as static inline.
1741 * kpathsea.c: Move definition of KPATHSEA_CAN_FREE from here ...
1742 * hash.h: ... to here.
1743 * hash.[ch]: Define hash_free() only if KPATHSEA_CAN_FREE!=0.
1744 (hash_lookup): Change return type 'string*' => 'const_string*'.
1745 * cnf.[ch] (kpathsea_cnf_get, kpse_cnf_get):
1746 Change return type 'string*' => 'const_string*'.
1747 * dir.c (kpathsea_dir_links): Adapt.
1748 * rm-suffix.c (remove_suffix): Adapt.
1749 * db.c, fontmap.c: Remove casts 'string*' => 'const_string*'.
1750
1751 2012-12-10 Peter Breitenlohner <[email protected]>
1752
1753 * mingw32.c: Remove look_for_cmd().
1754
1755 2012-12-10 Akira Kakuto <[email protected]>
1756
1757 * win32lib.c: remove look_for_cmd().
1758
1759 2012-12-08 Peter Breitenlohner <[email protected]>
1760
1761 * mingw32.c (look_for_cmd): Do not compute unused value.
1762 * win32lib.c (look_for_cmd, kpathsea_win32_popen): Same.
1763
1764 2012-11-28 Peter Breitenlohner <[email protected]>
1765
1766 * texmf.cnf: Increase main_memory, font_mem_size, hash_extra,
1767 and pool_size.
1768
1769 2012-11-20 Peter Breitenlohner <[email protected]>
1770
1771 * Makefile.am: Avoid use of deprecated INCLUDES.
1772
1773 2012-10-03 Peter Breitenlohner <[email protected]>
1774
1775 * mingw32.c: use stat in static int is_dir ().
1776
1777 2012-10-02 Akira Kakuto <[email protected]>
1778
1779 * win32lib.c: use stat in static int is_dir ().
1780
1781 2012-10-01 Akira Kakuto <[email protected]>
1782
1783 * win32lib.c: remove _osver since it is obsolete.
1784
1785 2012-09-28 Akira Kakuto <[email protected]>
1786
1787 * win32lib.h: remove definition of mkdir.
1788 * c-proto.h: introduce NO_KPSE_DLL as in getopt.h.
1789
1790 2012-08-11 Peter Breitenlohner <[email protected]>
1791
1792 * c-std.h: Define M_PI if not defined by <math.h> (old MSVC).
1793
1794 2012-08-08 Peter Breitenlohner <[email protected]>
1795
1796 * Makefile.am: Use ../am/bin_links.am.
1797
1798 2012-08-02 Akira Kakuto <[email protected]>
1799
1800 * win32lib.h: remove definition of pipe.
1801
1802 2012-08-01 Peter Breitenlohner <[email protected]>
1803
1804 * configure.ac: Bail out for a badly broken snprintf()
1805 (hopefully this will not happen).
1806 Check if we need (v)snprintf wrapper functions.
1807 * config.h: If needed, declare (v)snprintf wrapper functions.
1808 * progname.c (kpathsea_set_program_name): Check snprintf sanity.
1809
1810 2012-07-25 Peter Breitenlohner <[email protected]>
1811
1812 * configure.ac: Add AC_CHECK_SIZEOF([long]).
1813 * types.h: #include <inttypes.h> and <stdint.h> if they exist.
1814 If necessary #define PRId64 & Co.
1815
1816 2012-07-25 Peter Breitenlohner <[email protected]>
1817
1818 * getopt.c [WIN32 && ! __CYGWIN__]: Use __CYGWIN__ instead of
1819 __CYGWIN32__ which is deprecated and may be removed.
1820 Mail from Ken Brown <[email protected]>, Tue, 24 Jul 2012.
1821
1822 2012-07-23 Peter Breitenlohner <[email protected]>
1823
1824 * mingw32.h (win32_popen): Static inline wrapper for _popen()
1825 to use always binary mode.
1826
1827 2012-07-23 Akira Kakuto <[email protected]>
1828
1829 * win32lib.c: rewrite kpathsea_win32_popen to use always binary
1830 mode.
1831
1832 2012-07-13 Peter Breitenlohner <[email protected]>
1833
1834 * Makefile.am (libkpathsea_la_SOURCES): Skip compilation of
1835 xfseeko.c and xftello.c for MSVC.
1836 * win32lib.h: Drop xfseeko() and xftello() prototypes, they will
1837 subsequently be defined in lib.h.
1838
1839 2012-07-09 Peter Breitenlohner <[email protected]>
1840
1841 * version.ac: Update version number 6.1.0 => 6.1.1dev.
1842
1843 2012-05-29 Akira Kakuto <[email protected]>
1844
1845 * win32lib.c: rewrite win32_system.
1846
1847 2012-05-22 Karl Berry <[email protected]>
1848
1849 * mktexmf: test $name for csso12*, not $rootname.
1850 From Debian via Norbert, 21 May 2012 10:11:08.
1851
1852 2012-05-16 Peter Breitenlohner <[email protected]>
1853
1854 * cnf.[ch]: Add KPSEDLL to kpathsea_cnf_get(), and reintroduce
1855 kpse_cnf_get().
1856 * Makefile.am: Do install cnf.h.
1857
1858 2012-05-06 Peter Breitenlohner <[email protected]>
1859
1860 * Makefile.am (rebuild): Depend on 'all-am' instead of 'all' to
1861 avoid an infinite loop.
1862
1863 2012-05-05 Peter Breitenlohner <[email protected]>
1864
1865 * win32lib.[ch]: Copyright 2012.
1866
1867 2012-05-05 Akira Kakuto <[email protected]>
1868
1869 * win32lib.c: rewrite xftell64 for W32.
1870
1871 2012-05-04 Akira Kakuto <[email protected]>
1872
1873 * win32lib.c: rewrite xftell64 and xfseek64 for W32.
1874
1875 2012-04-30 Akira Kakuto <[email protected]>
1876
1877 * win32lib.c: further rewrite win32_system().
1878
1879 2012-04-23 Peter Breitenlohner <[email protected]>
1880
1881 * Makefile.am (rebuild): Touch libkpathsea.la to avoid an
1882 infinite loop when only mingw32.h or win32lib.h is changed.
1883
1884 2012-04-23 Akira Kakuto <[email protected]>
1885
1886 * win32lib.h, win32lib.c: rewrite win32_system().
1887
1888 2012-04-17 Akira Kakuto <[email protected]>
1889
1890 * texmf.cnf: erase "ptexgeneric".
1891
1892 2012-04-16 Karl Berry <[email protected]>
1893
1894 * texmf.cnf (TEXMFCNF): spell out every directory explicitly,
1895 so we can include $SELFAUTOPARENT/../texmf-local/web2c.
1896
1897 2012-04-09 Peter Breitenlohner <[email protected]>
1898
1899 * cnf.[ch]: Drop KPSEDLL from kpathsea_cnf_get(), and remove
1900 kpse_cnf_get().
1901 * db.h: Drop KPSEDLL from kpathsea_db_insert().
1902 * Makefile.am: Do not install cnf.h.
1903 * mingw32.h: Add a copyright statement.
1904
1905 * configure.ac: Subst tex_live_version from ../../version.ac
1906 as WEB2CVERSION for WIN32 programs.
1907
1908 2012-04-09 Karl Berry <[email protected]>
1909
1910 * getopt.h (getopt) [!__cplusplus]: do not declare when compiling
1911 with C++, since g++ 4.7.0 introduced an incompatible declaration.
1912 http://bugs.debian.org/667392
1913
1914 * c-std.h (popen, pclose) [!VMS]: remove these decls to avoid
1915 conflicts, hoping they are now always in the system libraries.
1916 http://bugs.debian.org/64524
1917
1918 2012-04-07 Karl Berry <[email protected]>
1919
1920 * texmf.cnf (glob_str_size): increase from 5000 to 20000 per Akira,
1921 06 Apr 2012 10:25:18.
1922
1923 2012-04-04 Peter Breitenlohner <[email protected]>
1924
1925 * c-unistd.h: Declare getopt() (via <kpathsea/getopt.h>) only
1926 for Mingw and Cygwin; for other systems using the GNU C library
1927 g++-4.7 might choke on incompatible exception specifications.
1928
1929 2012-03-11 Karl Berry <[email protected]>
1930
1931 * *.c: prepend kpathsea: to warnings.
1932
1933 2012-03-04 Peter Breitenlohner <[email protected]>
1934
1935 Avoid 'the address of X will always evaluate as true' warnings.
1936 * lib.h (STREQ): Test '(s) != NULL' instead of '(s)'.
1937 Gcc >=4.3 produces identical code but -Wall yields no warning.
1938
1939 2012-03-01 Peter Breitenlohner <[email protected]>
1940
1941 * c-unistd.h: Declare getopt() (via <kpathsea/getopt.h>) but
1942 not getopt_long().
1943
1944 * getopt.h: With __need_getopt declare only getopt() but not
1945 getopt_long() (with 'struct option').
1946
1947 * getopt.[ch]: Drop pre-ANSI C non-prototype declarations.
1948
1949 2012-02-27 Peter Breitenlohner <[email protected]>
1950
1951 * c-unistd.h [CYGWIN]: Explicitly #include <kpathsea/getopt.h>
1952 such that <getopt.h> from Cygwin will be skipped.
1953
1954 2012-02-27 Ken Brown <[email protected]>
1955
1956 * getopt.h: Cygwin requires getopt() prototype.
1957
1958 2011-12-22 Karl Berry <[email protected]>
1959
1960 * texmf.cnf (TEX.pmpost, TEXINPUTS.(e)up(la)tex): new definitions,
1961 from Norbert.
1962
1963 2011-12-06 Peter Breitenlohner <[email protected]>
1964
1965 * Makefile.am: Replace ${prefix}/texmf => $(datarootdir)/texmf.
1966
1967 2011-10-27 Karl Berry <[email protected]>
1968
1969 * texmf.cnf (FONTCONFIG_*): doc+formatting fix.
1970
1971 2011-10-06 Akira Kakuto <[email protected]>
1972
1973 * win32lib.c, win32lib.h: use const char * in system() and popen().
1974
1975 2011-09-30 Karl Berry <[email protected]>
1976
1977 * types.h (kpse_{ris,bltxml}_format): new types.
1978 * tex-file.c ({RIS,BLTXML}_ENVS): new defines.
1979 (kpse_init_format): initialize them.
1980 * texmf.cnf ({RIS,BLTXML}INPUTS): new definitions.
1981 Request from Phil Kime, tex-k 25 Sep 2011 16:46:07.
1982
1983 2011-08-28 Karl Berry <[email protected]>
1984
1985 * texmf.cnf (LUAINPUTS.lualatex, LUAINPUTS.dvilualatex): new defns.
1986 (LUAINPUTS): duplicate value of TEXINPUTS.luatex, instead
1987 of using $TEXINPUTS.
1988 Report from Herbert Voss, 15 Aug 2011 23:53:45,
1989 among others.
1990
1991 2011-08-12 Peter Breitenlohner <[email protected]>
1992
1993 * version.ac: Update version number 6.0.2dev => 6.1.0dev.
1994
1995 2011-08-09 Peter Breitenlohner <[email protected]>
1996
1997 * Makefile.am (SUBDIRS): Add win32 to build C programs from
1998 Akira's W32TeX as WIN32 replacements for the shell scripts.
1999
2000 2011-08-08 Peter Breitenlohner <[email protected]>
2001
2002 * progname.c (fix_selfdir): Simplified to not modify arg.
2003 (remove_dots): Somewhat clarify the code (suggested by Karl).
2004 * progname.h [WIN32]: Don't declare {kpathsea,kpse)_selfdir().
2005
2006 * progname.c [TEST]: Update and extend the test program.
2007 * Makefile.am (progname-test): Add rules to build the standalone
2008 test program.
2009
2010 2011-08-08 Karl Berry <[email protected]>
2011
2012 * cnf-to-paths.awk: preserve values starting with /,
2013 so distro maintainers can edit texmf.cnf with absolute
2014 paths and not have them replaced with /nonesuch.
2015 Suggestion from Norbert.
2016
2017 2011-08-05 Karl Berry <[email protected]>
2018
2019 * dir.c,
2020 * getopt.c,
2021 * hash.h,
2022 * pathsearch.h,
2023 * progname.h,
2024 * truncate.h: copyright 2011.
2025
2026 2011-08-05 Peter Breitenlohner <[email protected]>
2027
2028 * cnf.c, fontmap.c: Do not #include <kpathsea/recorder.h>.
2029 * Makefile.am (kpseinclude_HEADERS): Remove recorder.h.
2030 * recorder.h (removed): Empty file.
2031
2032 * Makefile.am: Do not install kpathsea internal headers.
2033
2034 * xdirtest.c: Additional test data.
2035
2036 2011-08-04 Peter Breitenlohner <[email protected]>
2037
2038 More diffs between TeX Live and W32TeX.
2039 * xbasename.c: Test for 2-Byte Kanji (CP 932, SJIS) codes and
2040 for Unc names.
2041 * xdirname.c: Test for 2-Byte Kanji (CP 932, SJIS) codes and
2042 slashify the result.
2043
2044 * xdirtest.c (new): Standalone program to test xdirname() and
2045 xbasename(), based on code moved to here ...
2046 * xdirname.c [TEST]: ... from here.
2047
2048 2011-08-03 Akira Kakuto <[email protected]>
2049
2050 * db.c (db_build): No need to slashify lines from db_file.
2051
2052 2011-08-03 Peter Breitenlohner <[email protected]>
2053
2054 * mingw32.[ch] (dostounix_filename): Remove unused function.
2055 (texlive_gs_init): New function copied from win32lib.[ch].
2056
2057 2011-08-03 Peter Breitenlohner <[email protected]>
2058
2059 More diffs between TeX Live and W32TeX.
2060 * db.c (ignore_dir_p, db_build, match),
2061 kpsewhich.c (subdir_match): Slashify and test for 2-Byte Kanji
2062 (CP 932, SJIS) codes.
2063
2064 2011-08-03 Akira Kakuto <[email protected]>
2065
2066 * win32lib.h: #include <direct.h> for _getcwd.
2067
2068 2011-08-02 Peter Breitenlohner <[email protected]>
2069
2070 Unexport kpathsea internal functions, remove unused ones.
2071 * db.[ch] (kpse_db_insert, kpse_init_db, kpse_db_search,
2072 kpse_db_search_list): All removed.
2073 * default.h (kpathsea_expand_default): Internal use only.
2074 * default.h, kdefault.c (kpse_expand_default): Removed.
2075 * elt-dirs.c (kpse_normalize_path, kpse_element_dirs): Removed.
2076 * expand.[ch] (kpathsea_expand): Internal use only.
2077 (kpse_expand): Removed.
2078 * fn.h (fn_init, fn_copy0, fn_free, fn_1grow, fn_grow,
2079 fn_str_grow, fn_shrink_to): ALL internal use only.
2080 * hash.h (hash_insert_normalized): Internal use only.
2081 * path-elt.c (kpse_path_element): Removed.
2082 * pathsearch.[ch] (kpathsea_path_element, kpathsea_element_dirs,
2083 kpathsea_path_search_list, kpathsea_path_search_list_generic,
2084 kpathsea_all_path_search_list): Internal use only.
2085 (kpse_path_element, kpse_filename_component,
2086 kpse_normalize_path, kpse_element_dirs, kpse_path_search_list,
2087 kpse_path_search_list_generic, kpse_all_path_search_list):
2088 Removed.
2089 * fontmap.h, tilde.h, truncate.h, xstat.h: Whole files internal
2090 use only.
2091
2092 2011-08-02 Akira Kakuto <[email protected]>
2093
2094 * win32lib.h: follow mingw32.h for boolean and move definitions
2095 for win32 functions from lib.h.
2096 * win32lib.c: change definitions of xfseek64 and xftell64 to match
2097 with xfseeko and xftello.
2098
2099 2011-08-02 Peter Breitenlohner <[email protected]>
2100
2101 More diffs between TeX Live and W32TeX.
2102 * elt-dirs.c (dir_list_add, do_subdir, expand_elt): Replace
2103 IS_DIR_SEP by IS_DIR_SEP_CH.
2104
2105 * getopt.h: Add (non-ANSI) declaration for getopt().
2106 * mingw32.h: #define off_t as off64_t for ftello64 and fseeko64.
2107
2108 2011-08-01 Peter Breitenlohner <[email protected]>
2109
2110 * win32lib.h.mugica: Renamed from win32lib.h.
2111 * win32lib.[ch]: New files, yet to be filled in.
2112
2113 * knj.c (is_cp932_system): No KPSEDLL in knj.c, only in knj.h.
2114
2115 2011-07-31 Peter Breitenlohner <[email protected]>
2116
2117 More diffs between TeX Live and W32TeX.
2118 * c-pathch.h: IS_DIR_SEP_CH macro to be used with `slashified'
2119 filenames without need to test for 2-Byte Kanji codes.
2120
2121 * elt-dirs.c (kpathsea_normalize_path): Slashify, reformulate,
2122 and test for 2-Byte Kanji (CP 932, SJIS) codes.
2123 (kpathsea_element_dirs): First call kpathsea_normalize_path()
2124 which might modify `elt' and then test for cached answer.
2125
2126 * progname.c: Make sure SELFAUTO* is not just / only for WIN32.
2127
2128 2011-07-30 Peter Breitenlohner <[email protected]>
2129
2130 * dir.c (kpathsea_dir_p, dir_p), lib.h: Unconstify string parms.
2131 * elt-dirs.c (dir_list_add, checked_dir_list_add, do_subdir,
2132 expand_elt): Unconstify string parms and local vars.
2133 * progname.c (kpathsea_selfdir): Don't uselessly initialize ret.
2134
2135 * mingw32.c: #include <kpathsea/c-pathch.h>.
2136 * mingw32.h [IS_DIR_SEP, IS_DEVICE_SEP, IS_UNC_NAME]: Do not
2137 duplicate them here, use definitions from c-pathch.h.
2138
2139 2011-07-29 Akira Kakuto <[email protected]>
2140
2141 * tilde.c [WIN32]: Use kpathsea_getpwnam().
2142
2143 2011-07-28 Peter Breitenlohner <[email protected]>
2144
2145 More diffs between TeX Live and W32TeX.
2146 * db.c, find-suffix.c, xbasename.c:
2147 Reformulate and test for 2-Byte Kanji (CP 932, SJIS) codes.
2148
2149 * expand.c, make-suffix.c, tilde.c: Slashify, reformulate,
2150 and test for 2-Byte Kanji (CP 932, SJIS) codes.
2151
2152 * progname.c: Make sure SELFAUTO{LOC,DIR,PARENT} is not just /.
2153
2154 * types.h (kpathsea_instance): Merge TL and W32TeX.
2155
2156 2011-07-27 Peter Breitenlohner <[email protected]>
2157
2158 More diffs between TeX Live and W32TeX.
2159 * progname.c (kpathsea_set_program_name): Merge TL and W32TeX.
2160
2161 2011-07-26 Peter Breitenlohner <[email protected]>
2162
2163 More diffs between TeX Live and W32TeX.
2164 * knj.[ch]: New files from Akira's W32TeX.
2165 * progname.c (kpathsea_set_program_name): Set is_cp932_system.
2166 * Makefile.am, config.h: Adapt.
2167
2168 * db.c, expand.c, hash, path-elt.c, tilde.c, truncate.c,
2169 variable.c, xdirname.c, xgetcwd.c:
2170 Test for 2-Byte Kanji (CP 932, SJIS) codes.
2171
2172 * db.c (kpathsea_db_search, kpathsea_db_search_list),
2173 tex-file.c (kpathsea_set_suffixes_va_list, init_maketex):
2174 Cast arg to `void *' because MSVC warns for a `const_string *'
2175 arg when expecting `void *'.
2176
2177 * config.h, db.c, hash.c: #define and use TRANSFORM.
2178
2179 2011-07-25 Peter Breitenlohner <[email protected]>
2180
2181 Minor changes to reduce diffs between TeX Live and W32TeX.
2182 * c-ctype.h [WIN32]: Never #define isascii.
2183 * c-fopen.h: Always write text files with Unix line endings.
2184 * tex-glyph.c (bitmap_specs) [WIN32]: Add DOS_BITMAP_SPEC.
2185 * win32lib.h: #define strncasecmp as _strnicmp.
2186 * readable.c: Replace #elif WIN32 => #elif defined (WIN32).
2187 * magstep.c, pathsearch.h, xftell.c: Adjust whitespace.
2188
2189 2011-07-22 Peter Breitenlohner <[email protected]>
2190
2191 * kpathsea.c, progname.c, tex-file.c, types.h:
2192 Drop #if defined(__MINGW32__) already implied by defined(WIN32).
2193
2194 * kpathsea.c (kpathsea_finish): Free suffixlist.
2195
2196 2011-07-15 Peter Breitenlohner <[email protected]>
2197
2198 * version.ac: New file defining the kpathsea version.
2199 Update version number 6.0.1 => 6.0.2dev.
2200 * configure.ac: Adapt. Use KPSE_LT_VERSION.
2201
2202 2011-07-12 Peter Breitenlohner <[email protected]>
2203
2204 * ac/web2c.ac renamed into ac/mktex.ac.
2205 * ac/withenable.ac, configure.ac: web2c.ac => mktex.ac.
2206 * configure.ac: KPSE_WEB2C_PREPARE => KPSE_MKTEX_PREPARE.
2207
2208 2011-06-29 Peter Breitenlohner <[email protected]>
2209
2210 * tex-make.c [WIN32]: Do not #include <kpathsea/win32lib.h>
2211 from here (already done from config.h).
2212
2213 2011-06-28 Karl Berry <[email protected]>
2214
2215 * mktexlsr: need to shift when arg is not a directory.
2216 Found by Luigi Scarso, tex-k mail 28 Jun 2011 00:21:14.
2217
2218 2011-06-19 Karl Berry <[email protected]>
2219
2220 * texmf.cnf (OPENTYPEFONTS): a duplicate entry was created :(.
2221
2222 2011-06-18 Peter Breitenlohner <[email protected]>
2223
2224 * progname.c (remove_dots): Correctly handle dir="/foo/../bar".
2225
2226 2011-06-17 Peter Breitenlohner <[email protected]>
2227
2228 Reduce memory leaks.
2229
2230 * types.h (kpse_format_info_type): Declare path as non-const.
2231 * tex-file.c (init_path): Free old value of path when assigning
2232 a new value.
2233
2234 * progname.c (kpathsea_selfdir): Free strings no longer used.
2235
2236 * kpsewhich.c (lookup): Free string no longer used.
2237
2238 2011-06-16 Peter Breitenlohner <[email protected]>
2239
2240 * fontmap.c (kpathsea_fontmap_lookup), kpsewhich.c (find_dpi),
2241 progname.c (kpathsea_set_program_name): Allow find_suffix() to
2242 return a const string.
2243
2244 * find-suffix.c, lib.h: Declare find_suffix() as const.
2245 * find-suffix.c: Explain that NAME+(find_suffix(NAME)-NAME) is
2246 equivalent to find_suffix(NAME) but not necessarily const.
2247
2248 * progname.c (remove_dots): Somewhat reorganize (initialize
2249 ret as `NULL' instead of `(string)""').
2250
2251 2011-06-16 Peter Breitenlohner <[email protected]>
2252
2253 * tex-glyph.c (try_size, try_fontmap, kpathsea_find_glyph),
2254 tex-glyph.h (kpse_glyph_file_type): Declare font name as const.
2255
2256 2011-06-16 Peter Breitenlohner <[email protected]>
2257
2258 * xgetcwd.c: Fix #include directives (depend on GETCWD_FORKS).
2259 (xgetcwd): The returned string may be long lived, so malloc()
2260 only as needed.
2261 Do not print path when getcwd(path, size) or getwd(path) fail,
2262 the contents is undefined.
2263
2264 2011-06-13 Manuel P\'egour\'e-Gonnard <[email protected]>
2265
2266 * db.c (match): ensure that we are at a dir separator in
2267 the filename before checking for being at the final component.
2268 (We were erroneously matching "foobar" to "foo" in some cases.)
2269 Report from Manuel, tex-k mail 12 Jun 2011 21:29:55.
2270
2271 2011-06-10 Karl Berry <[email protected]>
2272
2273 * configure.ac (AC_PROG_AWK): new test.
2274 * Makefile.am (stamp-paths): use $(AWK).
2275 This is to avoid broken Solaris /usr/bin/awk, which does
2276 not have sub().
2277 Report from Ettore Aldrovandi, 8 Jun 2011 23:36:44.
2278
2279 2011-06-09 Karl Berry <[email protected]>
2280
2281 * mktexlsr: write directory args to a file and read them back,
2282 so we can support spaces (though not newlines) in the directory names.
2283 Reword some error messages.
2284
2285 2011-06-08 Akira Kakuto <[email protected]>
2286
2287 * hash.c: leave original letter cases also on win32.
2288
2289 2011-06-06 Karl Berry <[email protected]>
2290
2291 * texmf.cnf (TEXINPUTS.context): No trailing comma, per Taco.
2292
2293 2011-06-03 Peter Breitenlohner <[email protected]>
2294
2295 * mingw32.c (normalize_filename): Use memmove() instead of
2296 memcpy() for overlapping objects.
2297
2298 2011-05-29 Akira Kakuto <[email protected]>
2299
2300 * texmf.cnf: add "shell_escape.initex = f" and
2301 "parse_first_line.initex = f", since we have initex in TL 2011.
2302 Otherwise the banner of initex is "This is TeXk, ..."
2303
2304 2011-05-27 Peter Breitenlohner <[email protected]>
2305
2306 * extend-fname.c: Remove the `generic const warning'.
2307 * readable.c, rm-suffix.c: Adjust the `generic const warning'.
2308
2309 2011-05-26 Peter Breitenlohner <[email protected]>
2310
2311 * db.c (kpathsea_db_search): Add `free (dir_part)'.
2312 (kpathsea_db_search{,_list}): Declare a few strings as const.
2313 (kpathsea_db_insert): Use pointer arith to avoid const warning.
2314
2315 2011-05-24 Peter Breitenlohner <[email protected]>
2316
2317 * Makefile.am (EXTRA_DIST): Add the new cnf-to-paths.awk script.
2318
2319 2011-05-24 Karl Berry <[email protected]>
2320
2321 * tex-file.c (TRUETYPE_SUFFIXES): add .dfont.
2322 Request from Dohyun Kim, 23 May 2011 16:09:03.
2323 * doc/kpathsea.texi (Supported file formats): mention it.
2324
2325 2011-05-23 Karl Berry <[email protected]>
2326
2327 * cnf-to-paths.awk: new awk script.
2328 * Makefile.am (stamp-paths): use it instead of the inline sed.
2329 Also, change the generated paths.h so that all non-SELFAUTO paths
2330 become a constant string "/nonesuch". That way, if the definitions
2331 change, the binaries don't all uselessly change with them.
2332
2333 2011-05-22 Karl Berry <[email protected]>
2334
2335 * texmf.cnf: doc fixes.
2336
2337 2011-05-15 Peter Breitenlohner <[email protected]>
2338
2339 * absolute.c: Partially revert the minor rewrite.
2340
2341 2011-05-12 Peter Breitenlohner <[email protected]>
2342
2343 * absolute.c: Minor rewrite.
2344
2345 * NEWS, progname.[ch]: Finally remove kpse_set_progname
2346 (deprecated since 1998).
2347
2348 2011-05-06 Karl Berry <[email protected]>
2349
2350 * texmf.cnf (TEXINPUTS.eplatex): no longer needed per Akira.
2351 (platex will always use eptex.)
2352
2353 2011-05-03 Peter Breitenlohner <[email protected]>
2354
2355 * kpsewhich.c (find_format): Drop unused variable 'try_len'.
2356
2357 2011-04-28 Karl Berry <[email protected]>
2358
2359 * kpsewhich.c (try_suffix): new fn, checking entire string for
2360 format names.
2361 (TRY_SUFFIX): change macro to just call the fn.
2362 Report from Philipp Stephani, tex-live mail 25 Apr 2011 16:38:47.
2363
2364 * NEWS,
2365 * kpsewhich.c (read_command_line),
2366 * doc/kpathsea.texi,
2367 * texmf.cnf: 2011.
2368
2369 2011-04-14 Peter Breitenlohner <[email protected]>
2370
2371 * configure.ac: Update version number 6.0.1dev => 6.0.1.
2372
2373 2011-04-11 Peter Breitenlohner <[email protected]>
2374
2375 * texmf.cnf (TEXEDIT): Document Unix and Windows defaults.
2376
2377 * tex-file.c (executable_filep): Avoid using strcpy() for
2378 overlapping strings.
2379
2380 2011-03-22 Karl Berry <[email protected]>
2381
2382 * texmf.cnf (TEXINPUTS.eptex, TEXINPUTS.eplatex): define,
2383 same as .p(la)tex. From Akira.
2384
2385 2011-03-07 Peter Breitenlohner <[email protected]>
2386
2387 * types.h: Rename the variables program_invocation_name and
2388 program_invocation_short_name into kpse_invocation_name and
2389 kpse_invocation_short_name repectively, (1) in order to avoid
2390 conflicts with /usr/include/sys/errno.h from Cygwin, and (2)
2391 because they are not the same as those from the GNU C library.
2392
2393 Problem reported by Ken Brown <[email protected]>.
2394
2395 2011-03-03 Peter Breitenlohner <[email protected]>
2396
2397 * lib.h, xftell.c (xftell): Change return type from unsigned to
2398 signed and use ftell() instead of ftello().
2399
2400 2011-03-01 Karl Berry <[email protected]>
2401
2402 * texmf.cnf: be more explicit that all trees, including TEXMFHOME,
2403 must follow the TDS.
2404
2405 2011-03-01 Peter Breitenlohner <[email protected]>
2406
2407 * mingw32.[ch]: Drop win32_system(); this was a workaround for a
2408 bug in system() under Win9x.
2409
2410 2011-03-01 Peter Breitenlohner <[email protected]>
2411
2412 * man/{kpsewhich,mktexlsr,mktexmf,mktexpk,mktextfm}.man: Drop
2413 useless '.rb' macros.
2414 * man/{kpseaccess,kpsereadlink,kpsestat}.man: The same.
2415 Also remove `additional' from `following additional options'.
2416
2417 2011-02-28 Peter Breitenlohner <[email protected]>
2418
2419 * Makefile.in.orig, common.ac.orig, withenable.ac: Remove
2420 ancient files.
2421 * Makefile.am (EXTRA_DIST): Adapt.
2422
2423 2011-02-08 Peter Breitenlohner <[email protected]>
2424
2425 * man/Makefile.am: Use ../am/man1_links.am for manpage links.
2426
2427 2011-02-02 Karl Berry <[email protected]>
2428
2429 * texmf.cnf (TEXMFROOT): new variable, $SELFAUTOPARENT by default,
2430 to minimize redistributors' patches with a new Perl updmap.
2431
2432 2011-01-06 Karl Berry <[email protected]>
2433
2434 * tex-file.c (LUA_SUFFIXES): add .tlu,
2435 luatex mail from t34www, 6 Jan 2011 22:04:45.
2436
2437 2011-01-01 Karl Berry <[email protected]>
2438
2439 * texmf.cnf (TEXLIVE_WINDOWS_TRY_EXTERNAL_PERL): doc fixes.
2440
2441 2010-12-27 Peter Breitenlohner <[email protected]>
2442
2443 * Makefile.am (install-exec-hook): Check symlink creation.
2444 * man/Makefile.am (install-data-hook): The same.
2445
2446 2010-12-24 Karl Berry <[email protected]>
2447
2448 * Makefile.am (stamp-paths): ensure that grep is not completely
2449 broken, e.g., from GREP_OPTIONS, in which case we'd generate a
2450 useless paths.h.
2451
2452 2010-12-18 Peter Breitenlohner <[email protected]>
2453
2454 * Makefile.am [WIN32]: Skip mktex{lsr,mf,pk,tfm} shell scripts
2455 and texhash->mktexlsr symlink.
2456
2457 2010-12-01 Peter Breitenlohner <[email protected]>
2458
2459 * tex-make.c (maketex): Factor out common WIN32 & Unix code.
2460 [WIN32]: Avoid compiler warnings.
2461
2462 2010-12-01 Akira Kakuto <[email protected]>
2463
2464 * tex-make.c (maketex): [WIN32] spawnvp(_P_NOWAIT, ...) and pipe.
2465
2466 2010-11-29 Karl Berry <[email protected]>
2467
2468 * doc/kpathsea.texi (Brace expansion): no longer derived from Bash.
2469
2470 2010-11-27 Taco Hoekwater <[email protected]>
2471
2472 * db.c (kpathsea_db_search_list): one return list for everything,
2473 else kpsewhich --all plain returns nothing, even though
2474 kpsewhich plain works. Report from Paul Isambert,
2475 25 Nov 2010 19:09:21.
2476
2477 2010-11-27 Karl Berry <[email protected]>
2478
2479 * kpsewhich.test: test this.
2480
2481 2010-11-18 Peter Breitenlohner <[email protected]>
2482
2483 * tex-glyph.c (try_format): Drop unused params fontname and dpi;
2484 mention the use of $KPATHSEA_{NAME,DPI} from environment.
2485
2486 2010-11-10 Peter Breitenlohner <[email protected]>
2487
2488 * configure.ac: Update version number to 6.0.1dev.
2489
2490 2010-11-10 Mathias Kende <[email protected]>
2491
2492 * tex-file.c (kpathsea_set_suffixes_va_list): new fn.
2493 (kpse_set_suffixes, kpathsea_set_suffixes): call it.
2494 Avoids passing variable argument list, which is not portable.
2495 http://bugs.debian.org/602566.
2496
2497 2010-11-07 Karl Berry <[email protected]>
2498
2499 * cnf.c (do_line): remove trailing comment and preceding
2500 whitespace, so they do not appear as part of the value.
2501 From Akira.
2502 * doc/kpathsea.texi (Config files): document this.
2503 * texmf.cnf: doc fixes.
2504
2505 2010-10-02 Peter Breitenlohner <[email protected]>
2506
2507 * Makefile.am (libkpathsea_la_LDFLAGS): Add -no-undefined.
2508
2509 2010-09-24 Karl Berry <[email protected]>
2510
2511 * texmf.cnf (TTFONTS): also read opentype//.
2512 (OPENTYPEFONTS): also read truetype//.
2513 Because common practice is to use .ttf/.ttc for TrueType-flavored
2514 OpenType fonts (and .otf only for PostScript-flavored OpenType).
2515
2516 2010-09-18 Karl Berry <[email protected]>
2517
2518 * texmf.cnf (DVIPDFMXINPUTS): do not include ., so attackers
2519 cannot create a dvipdfmx.cfg with, e.g., xetex.
2520 Report from Heiko, 16 Sep 2010 22:32:25.
2521
2522 2010-09-09 Karl Berry <[email protected]>
2523
2524 * mktexlsr (vc_dirs): remove CVS and RCS from the list,
2525 for compatibility with the corresponding change on Windows,
2526 made so that rcs/rcs.sty is not ignored.
2527
2528 2010-06-13 Karl Berry <[email protected]>
2529
2530 * doc/unixtex.texi: reduce to current reality.
2531
2532 2010-06-10 Peter Breitenlohner <[email protected]>
2533
2534 * getopt.h [NO_KPSE_DLL]: Allow use of this file for chktex.
2535 From Karl Berry, 9 Jun 2010 15:36:44.
2536
2537 2010-06-06 Karl Berry <[email protected]>
2538
2539 * getopt.h (getopt) [! __STDC__]: remove decl since AIX/Solaris
2540 compilers complain (vvv, tlbuild 07 Jun 2010 01:30:47).
2541
2542 2010-06-04 Karl Berry <[email protected]>
2543
2544 * configure.ac (kpse_lib_devel): empty for TeX Live 2010
2545 (pretest 2, maybe final).
2546
2547 2010-05-30 Karl Berry <[email protected]>
2548
2549 * texmf.cnf (shell_escape_commands): turns out fc-list is not
2550 needed after all.
2551
2552 2010-05-30 Manuel P\'egouri\'e-Gonnard <[email protected]>
2553
2554 * texmf.cnf: relax LUAINPUTS not to require and extra "lua"
2555 subdirectory for modules in texmfscripts.
2556 * texmf.cnf: enlarge trie_size to fit with latest hyph-utf8 release.
2557
2558 2010-05-27 Karl Berry <[email protected]>
2559
2560 * getopt.h (getopt) [!__GNU_LIBRARY__]: do not declare at all.
2561 Previous conditional on __cplusplus did not work with Sun CC.
2562 Maybe all systems we compile on have getopt now? We'll see.
2563
2564 2010-05-25 Karl Berry <[email protected]>
2565
2566 * texmf.cnf (shell_escape_commands): include fc-list for
2567 the luaotfload font cache.
2568
2569 2010-05-24 Karl Berry <[email protected]>
2570
2571 * texmf.cnf (font_mem_size): doc fix.
2572
2573 2010-05-21 Karl Berry <[email protected]>
2574
2575 * mktexpk: help msg, mention map files in error.
2576
2577 2010-05-20 Karl Berry <[email protected]>
2578
2579 * mktexdir,
2580 * mktexupd,
2581 * mktex.opt,
2582 * mktexnam.opt: systematize header comments.
2583
2584 2010-05-20 Peter Breitenlohner <[email protected]>
2585
2586 * kpseaccess.test: Allow for unexpected test results.
2587
2588 2010-05-18 Karl Berry <[email protected]>
2589
2590 * texmf.cnf (shell_escape): set to p. Trying restricted shells again.
2591 (shell_escape_commands): bibtex, bibtex8,
2592 kpsewhich, makeindex, repstopdf. Don't plan to add anything
2593 else for TL'10.
2594
2595 * NEWS,
2596 * kpsewhich.c (read_command_line),
2597 * texmf.cnf (TEXMFCONFIG, TEXMFVAR): 2010.
2598
2599 2010-05-16 Peter Breitenlohner <[email protected]>
2600
2601 * access.c: Adapt comment to facts.
2602 * man/kpseaccess.man: Adapt to facts.
2603
2604 2010-05-16 Akira Kakuto <[email protected]>
2605
2606 *absolute.c, c-fopen.h, c-stat.h, config.h, debug.h, dir.c,
2607 elt-dirs.c, expand.c, getopt.c, getopt.h, getopt1.c, hash.c,
2608 kpsewhich.c, lib.h, mingw32.c, path-elt.c, pathsearch.c,
2609 progname.c, putenv.c, readable.c, strcasecmp.c, strstr.c,
2610 strtol.c, tex-file.c, tex-glyph.h,
2611 types.h, win32lib.h: untabify.
2612
2613 2010-05-15 Peter Breitenlohner <[email protected]>
2614
2615 * kpseaccess.test, kpsereadlink.test, kpsestat.test,
2616 kpsewhich.test: New shell scripts to test the programs.
2617 * configure.ac (LT_OBJDIR): AC_SUBST for kpsereadlink.test.
2618 * Makefile.am (TESTS, TESTS_ENVIRONMENT): Add the tests.
2619
2620 2010-05-15 Akira Kakuto <[email protected]>
2621
2622 *absolute.c: avoid late declaration. add support of UNC names (WIN32).
2623 *db.c: try ls-R only on WIN32.
2624 *debug.c: avoid late declaration.
2625 *elt-dirs.c: remove trailing whitespace.
2626 *lib.h: add variables in prototype.
2627 *pathsearch.c, tex-file.c: remove some spaces.
2628 *tex-glyph.c: add some spaces.
2629
2630 2010-05-15 Akira Kakuto <[email protected]>
2631
2632 *absolute.c, access.c, atou.c, c-ctype.h, c-pathch.h, c-std.h, cnf.c,
2633 concatn.c, config.h, db.c, db.h, debug.h, default.h, dir.c,
2634 elt-dirs.c, expand.c, extend-fname.c, find-suffix.c, fn.c,
2635 fontmap.c, getopt.c, kpathsea.c, kpsestat.c, kpsewhich.c, lib.h,
2636 line.c, magstep.c, magstep.h, make-suffix.c, mingw32.c, mingw32.h,
2637 path-elt.c, pathsearch.c, pathsearch.h, proginit.c, proginit.h,
2638 progname.c, readable.c, readable.h, readlink.c, rm-suffix.c,
2639 str-list.c, str-llist.c, strstr.c, tex-file.c, tex-glyph.c,
2640 tex-glyph.h, tex-hush.c, tex-make.c, tex-make.h, truncate.c,
2641 uppercasify.c, variable.h, version.c, win32lib.h, xbasename.c,
2642 xcalloc.c, xdirname.c, xfopen.c, xftell.c, xftello.c, xgetcwd.c,
2643 xopendir.c, xrealloc.c, xstat.c: remove trailing spaces.
2644
2645 2010-05-10 Peter Breitenlohner <[email protected]>
2646
2647 * c-fopen.h [SET_BINARY]: Add cast to void.
2648
2649 2010-05-09 Peter Breitenlohner <[email protected]>
2650
2651 * progname.c (kpathsea_set_program_name): Drop superfluous cast.
2652
2653 * extend-fname.c, lib.h: Change return type of extend_filename()
2654 from 'string' to 'const_string'.
2655 * fontmap.[ch]: Change return type of kpathsea_fontmap_lookup()
2656 from 'string *' to 'const_string *', drop kpse_fontmap_lookup.
2657 * tex-file.c (target_fontmaps), tex-glyph.c (try_fontmap): Adjust.
2658
2659 2010-04-27 Manuel P\'egouri\'e-Gonnard <[email protected]>
2660
2661 * texmf.cnf: - s/pdf(lua(la)?tex)/dvi\1/
2662 - add luatex before generic (for generic package specific to luatex) and
2663 similarly for xetex.
2664
2665 2010-04-22 Karl Berry <[email protected]>
2666
2667 * doc/kpathsea.texi,
2668 * doc/bugs.texi: Avoid over/underfull boxes.
2669
2670 2010-04-19 Peter Breitenlohner <[email protected]>
2671
2672 * texmf.cnf (max_strings.pbibtex): New defn.
2673
2674 2010-04-15 Karl Berry <[email protected]>
2675
2676 * kpsewhich.c (format_abbr_type): new type.
2677 (format_abbrs): new array.
2678 (format_abbr): new fn to use them.
2679 (find_format): call it.
2680
2681 (help_message): new fn, including the abbreviations.
2682
2683 2010-04-12 Peter Breitenlohner <[email protected]>
2684
2685 * Makefile.am (EXTRA_DIST): Add bsnl.awk.
2686
2687 2010-04-11 Karl Berry <[email protected]>
2688
2689 * texmf.cnf ({TEXINPUTS,BIBINPUTS}.{ptex,platex,pbibtex}): new defns.
2690
2691 2010-04-11 Javier Mugica <[email protected]>
2692
2693 * getopt.c, getopt1.c: ANSIfy all fns.
2694
2695 2010-04-10 Karl Berry <[email protected]>
2696
2697 * progname.c (c-pathmx.h): #include unconditionally.
2698 * c-pathmx.h (PATH_MAX) [MAX_PATH]: #define PATH_MAX as MAX_PATH
2699 for Windows.
2700 * win32lib.h: include io.h, fcntl.h, direct.h.
2701 From Javier Mugica, 9 Apr 2010 22:04:46.
2702
2703 2010-04-09 Karl Berry <[email protected]>
2704
2705 * types.h: doc fixes.
2706
2707 2010-04-07 Peter Breitenlohner <[email protected]>
2708
2709 * man/kpseaccess.man, man/kpsestat.man, man/mktexpk.man,
2710 man/mktextfm.man: Uniform manpage formatting: bold for literals,
2711 italic for variable items, roman for meta items.
2712
2713 2010-04-05 Karl Berry <[email protected]>
2714
2715 * progname.h: doc fix.
2716
2717 2010-04-04 Karl Berry <[email protected]>
2718
2719 * bsnl.awk: tiny awk program to eliminate \-newline sequences.
2720 * Makefile.am (stamp-paths): call it.
2721 * texmf.cnf (TEXMF_RESTRICTED_SCRIPTS): use \-newline again.
2722
2723 2010-03-29 Peter Breitenlohner <[email protected]>
2724
2725 * lib.h, xcalloc.c, xmalloc.c, xrealloc.c: Change type of size
2726 arguments of xcalloc(), xmalloc, and xrealloc() from unsigned
2727 to size_t (incompatible change of ABI).
2728
2729 Update version numbers to 6.0.0.
2730
2731 2010-03-24 Peter Breitenlohner <[email protected]>
2732
2733 * texmf.cnf (TEXMF_RESTRICTED_SCRIPTS): The make rules used to
2734 create paths.h can't handle backslash-newline (FIXME?).
2735
2736 2010-03-24 Karl Berry <[email protected]>
2737
2738 * texmf.cnf (TEXMFSCRIPTS): progname before engine, for consistency,
2739 and because the former is more specific.
2740 (TEXMF_RESTRICTED_SCRIPTS): new definition, for the w32 wrapper.
2741
2742 (TEXMFDBS): reorder in file to be next to TEXMF, to make the
2743 relationship more apparent. No change in definition.
2744
2745 2010-03-23 Peter Breitenlohner <[email protected]>
2746
2747 * texmf.cnf (ent_str_size, glob_str_size): New for size of
2748 BibTeX (entry and global) strings.
2749
2750 2010-03-19 Peter Breitenlohner <[email protected]>
2751
2752 * texmf.cnf (BIBTEX_CSFILE): Default codepage and sort order
2753 file for BibTeX8.
2754 (max_strings): Also for BibTeX8 and BibTeXU.
2755
2756 2010-03-18 Karl Berry <[email protected]>
2757
2758 * texmf.cnf (TEXDOCS): remove .; better for texdoc not
2759 to be confused by files randomly in the current directory.
2760
2761 2010-03-11 Peter Breitenlohner <[email protected]>
2762
2763 * texmf.cnf: Append '.mf' to Metafont specific parameters.
2764 Add 'max_strings.bibtex', also for hash_size and hash_prime.
2765
2766 2010-03-09 Peter Breitenlohner <[email protected]>
2767
2768 * texmf.cnf: Append '.gftype' to GFtype specific parameters.
2769 * progname.h: Remove kpse_set_progname from exported API.
2770 Deprecated since 1998. Kept in library for Versions 5.x.y.
2771
2772 2010-03-08 Peter Breitenlohner <[email protected]>
2773
2774 * xrealloc.c (xrealloc): Allocate 1 byte if passed size 0.
2775 * xcalloc.c (xcalloc): Use 1 if passed nelem 0 or elsize 0.
2776
2777 2010-03-05 Peter Breitenlohner <[email protected]>
2778
2779 * texmf.cnf (line_length, max_rows, max_cols): GFtype parameters
2780 settable at runtime (used to be fixed values in gftype.ch).
2781
2782 2010-03-03 Peter Breitenlohner <[email protected]>
2783
2784 * texmf.cnf (screen_width, screen_depth): Increase Metafont
2785 screen size (used to be fixed values in mf.ch).
2786
2787 2010-03-01 Karl Berry <[email protected]>
2788
2789 * texmf.cnf (TW_LIBPATH, TW_INIPATH): TeXworks config/settings.
2790
2791 2010-02-26 Peter Breitenlohner <[email protected]>
2792
2793 * mingw32.c (dostounix_filename): Reactivate as extern KPSEDLL,
2794 used for gsftopk.
2795
2796 2010-02-23 Peter Breitenlohner <[email protected]>
2797
2798 * dir.c (kpathsea_dir_p), tex-make.c (maketex): [WIN32]: Cast
2799 the result of GetLastError() to int (may be or is DWORD).
2800 * tex-make.c (kpathsea_make_tex) [WIN32]: Avoid initialized ret.
2801 * mingw32.c (look_for_cmd): Declare suffixes and s as const.
2802
2803 * config.h [WIN32]: Ensure that __STDC__ is #defined.
2804 #include <kpathsea/win32lib.h>, not <win32lib.h>.
2805 Diffs from Akira, 11 Feb 2010 11:03:39.
2806
2807 * strstr.c (str): Add empty statement after label at the end of
2808 a block. From Javier Mugica, 23 Feb 2010 12:25:55.
2809
2810 * mingw32.c (win32_get_long_filename): Declare extern KPSEDLL.
2811
2812 2010-02-20 Peter Breitenlohner <[email protected]>
2813
2814 * mingw32.c (win32_system): Declare as non-static, for web2c.
2815 * mingw32.h (win32_system): Declare as extern KPSEDLL.
2816
2817 * c-proto.h, getopt.h (KPSE_DLL): Automatically #define for
2818 native WIN32 but not for MinGW32.
2819
2820 2010-02-18 Peter Breitenlohner <[email protected]>
2821
2822 * absolute.c (kpathsea_absolute_p): Unused param.
2823 * truncate.[ch] (kpse_truncate_filename): Removed.
2824
2825 2010-02-15 Karl Berry <[email protected]>
2826
2827 * tex-make.c [DJGPP]: change conditionals to __DJGPP__ for
2828 consistency.
2829
2830 * progname.c (<kpathsea/mingw32.h>) [__MINGW32__]: remove
2831 #include, it's redundant with kpathsea/config.h.
2832 (<kpathsea/c-pathmx.h>) [__DJGPP__]: change conditional from DJGPP.
2833 Suggestion from Javier Mugica, 13 Feb 2010 20:46:12.
2834
2835 2010-02-14 Peter Breitenlohner <[email protected]>
2836
2837 * variable.c (kpathsea_var_value, expand): Treat strings
2838 returned by getenv() and kpathsea_cnf_get() as const.
2839 Replace kpathsea_var_expand() plus kpathsea_tilde_expand() by
2840 kpathsea_expand() and include expand.h instead of tilde.h.
2841
2842 * tilde.[ch] (kpathsea_tilde_expand): Now used only in expand.c
2843 by kpathsea_expand(). Declare string param as non-const.
2844 (kpse_tilde_expand): Removed.
2845
2846 * hash.[ch]: Adjust comments and remove trailing whitespace.
2847
2848 2010-02-13 Peter Breitenlohner <[email protected]>
2849
2850 * xopendir.c [WIN32]: Define neither xopendir nor xclosedir.
2851 * mingw32.[ch], progname.c: Remove set_home_warning().
2852 From Akira.
2853
2854 * xopendir.[ch] (xopendir): Declare string param as const.
2855 Declare prototypes if and only if functions are defined.
2856
2857 * kdefault.c, tex-file.h, xputenv.c:
2858 Formatting, trailing whitespace.
2859
2860 2010-02-12 Peter Breitenlohner <[email protected]>
2861
2862 * dir.c (kpathsea_dir_p), elt-dirs.c (kpathsea_normalize_path),
2863 pathsearch.c (log_search, search, search_list),
2864 tex-file.c (kpathsea_find_file_generic):
2865 Add '#ifdef KPSE_DEBUG' to allow compilation with '-DNO_DEBUG'.
2866
2867 * dir.c (kpathsea_dir_p): Replace kpse_normalize_path() by
2868 kpathsea_normalize_path().
2869
2870 2010-02-11 Peter Breitenlohner <[email protected]>
2871
2872 * db.h (kpathsea_init_db, kpse_init_db, kpathsea_db_search,
2873 kpse_db_search, kpathsea_db_search_list, kpse_db_search_list),
2874 * fontmap.h (kpathsea_fontmap_lookup, kpse_fontmap_lookup),
2875 * getopt.h (_getopt_internal),
2876 * hash.h (hash_print, hash_free),
2877 * mingw32.h (init_user_info, set_home_warning,
2878 win32_get_long_filename, look_for_cmd, quote_args),
2879 * pathsearch.h (kpathsea_filename_component,
2880 kpse_filename_component, kpathsea_normalize_path,
2881 kpse_normalize_path),
2882 * str-list.h (str_list_init, str_list_concat, str_list_free,
2883 * str_list_concat_elements, str_list_uniqify),
2884 * str-llist.h (str_llist_add, str_llist_float),
2885 * tex-file.h (kpathsea_init_fallback_resolutions,
2886 kpse_init_fallback_resolutions),
2887 * tilde.h (kpathsea_tilde_expand, kpse_tilde_expand),
2888 * truncate.h (kpathsea_truncate_filename,
2889 kpse_truncate_filename),
2890 * xopendir.h (xopendir, xclosedir),
2891 * xstat.h (xstat, xlstat): Declare prototypes only within
2892 libkpathsea.
2893
2894 2010-02-10 Peter Breitenlohner <[email protected]>
2895
2896 * mingw32.c (get_home_directory, _parse_root,
2897 normalize_filename, dostounix_filename, unixtodos_filename,
2898 crlf_to_lf, parse_cmdline, build_cmdline, win32_system):
2899 Declare as static.
2900 (dostounix_filename, crlf_to_lf): Drop unused functions.
2901 (win32_system): Drop unused code for look_for_cmd() with 3 args.
2902 * mingw32.h: Remove decl of get_home_directory(), add
2903 quote_args(), use explicit 'extern'.
2904 * tex-make.c (maketex): Drop nested extern decl of quote_args().
2905
2906 * tex-make.h ({kpathsea,kpse}_make_tex),
2907 str-list.h (str_list_add): need KPSEDLL (from Akira).
2908
2909 2010-02-08 Peter Breitenlohner <[email protected]>
2910
2911 * mingw32.c (look_for_cmd): remove unused variable new_cmd,
2912 declare p and q as const and remove cast.
2913
2914 2010-02-07 Taco Hoekwater <[email protected]>
2915
2916 * mingw32.c (look_for_cmd): remove unused variable new,
2917 clean up preprocessor conditionals.
2918 Report by Hib Eris, tex-k 3 Feb 2010 12:11:42.
2919
2920 2010-02-01 Peter Breitenlohner <[email protected]>
2921
2922 * Makefile.am (kpseinclude_HEADERS): Add win32lib.h.
2923
2924 2010-02-01 Karl Berry <[email protected]>
2925
2926 * strstr.c,
2927 * strcasecmp.c,
2928 * getopt.c,
2929 * getopt.h,
2930 * getopt1.c: remove all redefinitions of const.
2931
2932 2010-01-31 Javier Mugica <[email protected]>
2933
2934 Support compilation with MSVC 7.1:
2935 * config.h (win32lib.h) [_WIN32 && !__MINGW32__]: include.
2936 (__STDC__) [WIN32]: do not define ourselves.
2937 * getopt.h (__STDC__): do not define ourselves. Instead, define
2938 const.
2939 * c-stat.h (oldnames.h) [WIN32]: is gone.
2940 * c-ctype.h (isascii): no oldnames.h here either.
2941 * win32lib.h: reinstate.
2942
2943 2010-01-25 Peter Breitenlohner <[email protected]>
2944
2945 * xputenv.c (kpathsea_xputenv): Don't use value of XRETALLOC(),
2946 XRETALLOC(addr, n, t) already assigns the new pointer to addr.
2947
2948 2010-01-22 Peter Breitenlohner <[email protected]>
2949
2950 * tex-make.c (maketex): Replace kpse_readable_file(fn) by
2951 kpathsea_readable_file(kpse,fn) also for WIN32.
2952
2953 2010-01-11 Taco Hoekwater <[email protected]>
2954
2955 * types.h (kpse_clua_format): new type.
2956 (kpse_def, kpse_def_inst): need KPSEDLL (from Akira).
2957 * tex-file.c (CLUA_ENVS): new define.
2958 (kpse_init_format): initialize it.
2959 * texmf.cnf (CLUAINPUTS): new definition.
2960 This implies using, e.g., bin/i386-linux/lib/luatex/lua/*.so
2961 in TL.
2962
2963 2010-01-05 Peter Breitenlohner <[email protected]>
2964
2965 * tex-file.c: Add alt_suffix ".pl" for kpse_opl_format and
2966 ".vpl" for kpse_ovp_format (for C version of opl2ofm/ovp2ovf).
2967
2968 2009-12-24 Karl Berry <[email protected]>
2969
2970 * HIER, INSTALL, README.CONFIGURE: remove, stale.
2971 * Makefile.am (EXTRA_DIST): change accordingly.
2972 * README, PROJECTS,
2973 access.c, readlink.c,
2974 mktex.opt, mktexdir, mktexdir.opt, mktexmf, mktexnam,
2975 mktexnam.opt, mktextfm, mktexupd: doc/email updates.
2976
2977 2009-12-21 Karl Berry <[email protected]>
2978
2979 * kpsewhich.c (find_format): had forgotten to increment the loop
2980 variable, hence the hang. From Akira.
2981
2982 2009-12-20 Karl Berry <[email protected]>
2983
2984 * kpsewhich.c (find_format): restore checking of kpse_fmt_format
2985 last, since a hang was reported by Angelo Graziosi,
2986 http://tug.org/pipermail/tlbuild/2009q4/001222.html.
2987
2988 2009-12-17 Karl Berry <[email protected]>
2989
2990 * c-proto.h (KPSE_DLL) [WIN32]: #define in this case, per Akira.
2991
2992 2009-12-15 Karl Berry <[email protected]>
2993
2994 * kpsewhich.c (-safe-in-name, -safe-out-name): new options.
2995 * doc/kpathsea.texi: document them.
2996 * tex-file.c (kpathsea_name_ok): introduce silent argument;
2997 change callers.
2998 * tex-file.h (kpathsea_{in,out}_name_ok_silent): declare these,
2999 now used in kpsewhich.
3000
3001 2009-12-14 Karl Berry <[email protected]>
3002
3003 * kpsewhich.c (separator): remove never-used variable/option.
3004
3005 * kpsewhich.c (find_format): remove rearrangement of checking
3006 kpse_fmt_format last, since it doesn't have any special extensions
3007 now (what were they?).
3008
3009 2009-12-11 Alexander Cherepanov <[email protected]>
3010
3011 * tex-file.c (kpathsea_name_ok): correct check for /../ so that
3012 "file..txt" is still allowed.
3013 tlsec mail, 05 Dec 2009 12:33:35.
3014
3015 2009-12-05 Karl Berry <[email protected]>
3016
3017 Suggested/reported by Daniel Luecking, 16 Nov 2009 11:58:00:
3018
3019 * kpsewhich.c (init_more): split out lengthier initializations
3020 to own fn. Initialize all mktex programs to false, so that
3021 cnf/env settings such as MKTEXPK=1 don't apply to kpsewhich.
3022 (read_command_line) <--[no-]mktex>: set must_exist, since
3023 otherwise the mktex program is never called.
3024 * doc/kpathsea.texi (Path searching options): minimally describe this.
3025
3026 2009-12-04 Karl Berry <[email protected]>
3027
3028 * tex-file.c (kpathsea_name_ok): not_ok if /..foobar.
3029 Report/patches from Alexander and Akira.
3030
3031 2009-12-03 Karl Berry <[email protected]>
3032
3033 * absolute.c, * absolute.h, * cnf.c, * db.c, * dir.c, * elt-dirs.c,
3034 * expand.c, * kdefault.c, * kpsewhich.c, * lib.h, * magstep.h,
3035 * pathsearch.c, * pathsearch.h, * proginit.c, * progname.c,
3036 * readable.h, * tex-file.c, * tex-file.h, * tex-glyph.c, * tex-glyph.h,
3037 * tex-make.c, * types.h, * xputenv.c: formatting/doc fixes.
3038
3039 2009-12-01 Karl Berry <[email protected]>
3040
3041 * tex-file.c (kpathsea_name_ok): formatting, doc fixes, start
3042 error message on a new line.
3043
3044 2009-12-01 Alexander Cherepanov <[email protected]>
3045
3046 * BUGS,
3047 * doc/bugs.texi: typo fix.
3048
3049 2009-11-18 Peter Breitenlohner <[email protected]>
3050
3051 * tex-file.c (target_fontmaps, target_asis_name,
3052 target_suffixed_names, kpathsea_find_file_generic):
3053 Revised handling of const to avoid warnings.
3054
3055 2009-11-18 Peter Breitenlohner <[email protected]>
3056
3057 * tex-file.c (kpathsea_out_name_ok): Also disallow writing files
3058 in dotted directories.
3059 From Akira Kakuto <[email protected]>.
3060
3061 2009-11-17 Peter Breitenlohner <[email protected]>
3062
3063 * types.h (kpathsea_instance): For W32/Mingw/Cygwin declare
3064 suffixlist, listing the executable file suffixes.
3065 * progname.c (kpathsea_set_program_name): Build suffixlist.
3066 * tex-file.c (kpathsea_out_name_ok): Use suffixlist.
3067 From Akira Kakuto <[email protected]>.
3068
3069 * kpathsea.c: Remove obsolete initializer.
3070 (kpathsea_finish): Destroy suffixlist (not yet used).
3071
3072 2009-11-14 Peter Breitenlohner <[email protected]>
3073
3074 * tex-file.c (kpathsea_out_name_ok): Allow writing of .pl files.
3075 From Akira Kakuto <[email protected]>.
3076
3077 2009-11-13 Peter Breitenlohner <[email protected]>
3078
3079 * tex-file.c (kpathsea_out_name_ok): On Windows disallow writing
3080 to executable files (.com, .exe, .bat, etc).
3081 From Akira Kakuto <[email protected]>.
3082
3083 2009-11-07 Peter Breitenlohner <[email protected]>
3084
3085 * doc/kpathsea.texi (Calling sequence): Document the new
3086 functions kpathsea_out_name_ok and kpathsea_in_name_ok.
3087 Recommend Automake in addition to Autoconf; update URL for both.
3088
3089 2009-10-24 Peter Breitenlohner <[email protected]>
3090
3091 * tex-file[ch] ({kpathsea,kpse}_{in,out}_name_ok): New fuctions
3092 renamed and moved from ../web2c/lib/texmfmp.c to here.
3093
3094 Update version numbers to 5.1.0.
3095
3096 2009-10-24 Peter Breitenlohner <[email protected]>
3097
3098 * Makefile.am (bin_links, install-exec-hook, uninstall-hook),
3099 man/Makefile.am (man1_links, install-data-hook, uninstall-hook):
3100 Moved handling of texhash symlinks from ../tetex/ to here.
3101
3102 2009-10-20 Karl Berry <[email protected]>
3103
3104 * texmf.cnf (shell_escape): doc fixes to discourage shell_escape=p.
3105
3106 2009-10-19 Manuel P\'egouri\'e-Gonnard <[email protected]>
3107
3108 * texmf.cnf: set shell_escape back to 'f': 'p' is broken on Unix.
3109
3110 2009-10-15 Manuel P\'egouri\'e-Gonnard <[email protected]>
3111
3112 * texmf.cnf (shell_escape_commands): add repstopdf, a version of
3113 epstopdf with restrictions intended to make it safer.
3114 Remove bibtex & makeindex for now, they don't respect openout_any.
3115
3116 2009-10-13 Karl Berry <[email protected]>
3117
3118 * texmf.cnf (shell_escape_commands): remove the ps-to-pdf programs
3119 for now, they don't respect openout_any.
3120
3121 2009-10-09 Karl Berry <[email protected]>
3122
3123 * texmf.cnf (TEXDOC): omit now-unneeded man for texdoc (from mpg).
3124
3125 2009-09-22 Peter Breitenlohner <[email protected]>
3126
3127 * tex-file.c: Add .vf to regcognized suffixes for kpse_ovf_format.
3128
3129 2009-09-21 Karl Berry <[email protected]>
3130
3131 * texmf.cnf (shell_escape_commands): remove pygmentize, as intended.
3132
3133 2009-09-04 Peter Breitenlohner <[email protected]>
3134
3135 * lib.h (xfseek, xfseeko, xftell, xftello), xfseek.c, xfseeko.c,
3136 xftell.c, xftello.c: Constify string param filename.
3137
3138 2009-09-03 Karl Berry <[email protected]>
3139
3140 * kpsewhich.c (find_format): remove dvipdfmx.cfg, since there is
3141 no special path for it, and add texglyphlist.txt.
3142
3143 2009-08-22 Peter Breitenlohner <[email protected]>
3144
3145 * version.[ch] (kpathsea_version_string, kpathsea_bug_address):
3146 Constify these strings.
3147
3148 2009-08-18 Peter Breitenlohner <[email protected]>
3149
3150 * tex-file.c (TRY_ENV): remove unused macro.
3151
3152 2009-08-15 Karl Berry <[email protected]>
3153
3154 * texmf.cnf (shell_escape_commands): remove many more,
3155 mail from Heiko, 14 Aug 2009 07:58:02 et al.
3156
3157 2009-07-23 Karl Berry <[email protected]>
3158
3159 * mktexlsr: update help msg.
3160
3161 * texmf.cnf (shell_escape_commands): remove tex programs (too
3162 dangerous?), add other indexing programs, change pdfcrop to
3163 rpdfcrop, convert to imgconvert.
3164
3165 2009-07-22 Taco Hoekwater <[email protected]>
3166
3167 * texmf.cnf (sizes): fix some documentation strings for MetaPost,
3168 which nowadays uses and needs just a handful of the array size
3169 variables.
3170
3171 2009-07-07 Karl Berry <[email protected]>
3172
3173 * texmf.cnf (MAKEMPX): remove, this causes btex..etex to fail
3174 in current mpost.
3175
3176 2009-07-02 Peter Breitenlohner <[email protected]>
3177
3178 * Makefile.am (kpathsea.h): simplify, no more grep.
3179
3180 2009-06-30 Peter Breitenlohner <[email protected]>
3181
3182 * Makefile.am (kpathsea.h): avoid GNU grep specific code.
3183
3184 2009-06-30 Karl Berry <[email protected]>
3185
3186 * variable.c (expand): make boolean, to return whether there
3187 actually was a variable that got expanded.
3188 (kpathsea_var_expand): if no variable was expanded, insert the
3189 unexpanded $foo in the result, so we can read variable names with
3190 dollar signs. Bug report from Gerben Wierda.
3191
3192 2009-06-25 Peter Breitenlohner <[email protected]>
3193
3194 * version.h (new): header file for definitions in version.c.
3195 * version.c: #include <kpathsea/version.h>.
3196 * Makefile.am: add version.h.
3197
3198 * kpsewhich.c: #include <kpathsea/version.h>.
3199
3200 2009-06-23 Peter Breitenlohner <[email protected]>
3201
3202 * concatn.[ch], tex-file.[ch]: use ANSI C function declarations
3203 and prototypes instead of PVAR?[CH] macros.
3204 #include <stdarg.h>, not #include <kpathsea/c-vararg.h>.
3205
3206 * c-vararg.h (removed): no longer used.
3207 * kpathsea.h (removed): no longer distributed.
3208 * Makefile.am: remove c-vararg.h, rebuild kpathsea.h.
3209
3210 * c-proto.h: assume HAVE_PROTOTYPES, remove AA, P?[CH] macros.
3211
3212 2009-06-22 Peter Breitenlohner <[email protected]>
3213
3214 * getopt.c (_getopt_internal):
3215 explicit braces to avoid ambiguous 'else'.
3216
3217 2009-06-19 Peter Breitenlohner <[email protected]>
3218
3219 * Makefile.am: enable compiler warnings.
3220 * kpathsea.c (KPATHSEA_CAN_FREE): disable not yet used code.
3221 (str_llist_free, cache_free): declare as static, not yet used.
3222 (kpathsea_finish): avoid warning about not yet used variables.
3223 * tex-glyph.c (try_size): avoid uninitialized warning.
3224 * mingw32.c: avoid unused static variable.
3225
3226 2009-06-15 Karl Berry <[email protected]>
3227
3228 * texmf.cnf (TEXINPUTS.jadetex,pdfjadetex): search latex, not plain.
3229 Thus we find the latex fonttext.cfg before cslatex's, and thus
3230 we can build the format using latex.ltx, and thus
3231 we can avoid & in fmtutil.cnf, and thus
3232 we can avoid painful infinite loops on failure, or something.
3233 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=427562
3234
3235 2009-06-10 Karl Berry <[email protected]>
3236
3237 * ac/web2c.ac (mktexfmt): default to yes.
3238
3239 2009-06-02 Karl Berry <[email protected]>
3240
3241 * types.h (kpse_file_format_type): add kpse_mlbib_format,
3242 kpse_mlbst_format for Jean-Michel Hufflen and MlBibTeX.
3243 * texmf.cnf (MLBIBINPUTS, MLBSTINPUTS): define default paths.
3244 * tex-file.c (kpathsea_init_format): initialize them.
3245 * doc/kpathsea.texi: document this.
3246
3247 2009-06-01 Karl Berry <[email protected]>
3248
3249 * Update version numbers to 5.0.0.
3250
3251 * kpsewhich.c (lookup): translate ; to : in user_path,
3252 for consistency. Also do path expansions as promised in the
3253 documentation. Report from Tomek T.
3254
3255 2009-05-15 Peter Breitenlohner <[email protected]>
3256
3257 * absolute.c, hash.c: Avoid C99isms (variable declaration not at
3258 the beginning of a block).
3259 From Vladimir Volovich.
3260
3261 2009-05-12 Karl Berry <[email protected]>
3262
3263 * tex-file.c (kpathsea_init_format): set suffix_search_only
3264 for sfd, otf, and lig. Output binmode value for debugging.
3265
3266 2009-05-11 Karl Berry <[email protected]>
3267
3268 * Makefile.am (paths.h): depend on stamp-paths, instead of
3269 recursively invoking it. Else it does not get invoked once it is
3270 created.
3271
3272 2009-05-11 Karl Berry <[email protected]>
3273
3274 * types.h (kpse_file_format_type): add kpse_fea_format,
3275 kpse_cid_format for Hans/Taco.
3276 * texmf.cnf: define default paths (fonts/fea// and fonts/cid//).
3277 * tex-file.c (kpathsea_init_format): initialize them.
3278 Also, for kpse_enc_format, set suffix_search_only=true.
3279 * doc/kpathsea.texi: document this.
3280
3281 2009-04-18 Karl Berry <[email protected]>
3282
3283 * texmf.cnf (shell_escape_commands): add fc-match, request
3284 from Elie Roux, 17 Apr 2009 17:22:55.
3285
3286 2009-04-05 Taco Hoekwater <[email protected]>
3287
3288 * doc/kpathsea.texi,
3289 * doc/bugs.texi: updates for new reentrant API, mostly for
3290 kpse->debug replacing the global kpathsea_debug.
3291
3292 2009-04-02 Peter Breitenlohner <[email protected]>
3293
3294 * config.h: For __MINGW32__ temporarily define eof as macro
3295 while including <unistd.h>.
3296
3297 From Taco Hoekwater <[email protected]>.
3298
3299 2009-03-19 Peter Breitenlohner <[email protected]>
3300
3301 * kpathsea.c: Do not use initializer for kpse_def_inst (FIXME:
3302 to be completely removed).
3303
3304 2009-03-17 Taco Hoekwater <[email protected]>
3305
3306 * types.h: Define kpse_debug_hash_lookup_int.
3307
3308 2009-03-17 Peter Breitenlohner <[email protected]>
3309
3310 * c-std.h, getopt.h: Avoid non-prototype declarations for C++.
3311
3312 2009-03-16 Peter Breitenlohner <[email protected]>
3313
3314 * db.c, debug.c, debug.h, dir.c, elt-dirs.c, hash.c, pathsearch.c,
3315 progname.c, tex-file.c, variable.c:
3316 Rename KPSE_DEBUG_P into KPATHSEA_DEBUG_P (using kpse->debug)
3317 Define KPSE_DEBUG_SET and KPSE_DEBUG_P (using kpathsea_debug)
3318 compatible with old API.
3319
3320 2009-03-12 Taco Hoekwater <[email protected]>
3321
3322 New Kpathsea API: Make libkpathsea reenterable.
3323
3324 * extend-fname.c, file-p.c, xftello.c, make-suffix.c, xcalloc.c,
3325 line.c, readlink.c, concat3.c, line.h, str-llist.c, kpsestat.c,
3326 xmalloc.c, str-llist.h, xbasename.c, xfseeko.c, xgetcwd.c,
3327 concat.c, xstat.h, atou.c, rm-suffix.c, str-list.c,
3328 find-suffix.c, hash.c, xfseek.c, debug.c, str-list.h, hash.h,
3329 xopendir.c, uppercasify.c, debug.h, xopendir.h, xftell.c,
3330 xfopen.c, access.c, fn.c, xdirname.c, fn.h, xstrdup.c,
3331 xrealloc.c, xstat.c:
3332 All of these files have stopped using the PxC and PxH macros.
3333
3334 Besides this change, there are a few extra changes to specific
3335 files.
3336
3337 * debug.c: add a guard that disables debug reporting if
3338 the oldinterface is not compiled in the library, and uses the
3339 kpse_def_inst structure otherwise.
3340
3341 * hash.c (hash_free): new function.
3342
3343 * concat3.c: now allows the second and third argument to be NULL
3344
3345 * tex-hush.h, tex-make.c, progname.h, dir.c,
3346 absolute.c, expand.c, tex-make.h, tex-glyph.c, tex-file.h,
3347 absolute.h, expand.h, truncate.c, variable.c, tex-glyph.h,
3348 default.h, variable.h, truncate.h, kdefault.c, readable.c,
3349 tilde.c, fontmap.c, readable.h, tilde.h, cnf.c, fontmap.h,
3350 cnf.h, path-elt.c, pathsearch.c, elt-dirs.c, db.c, pathsearch.h,
3351 db.h, proginit.c, magstep.c, proginit.h, magstep.h, tex-hush.c:
3352 All of these files have stopped using the PxC and PxH macros.
3353
3354 In all of these files, the exported functions whose names
3355 started with 'kpse_' have been renamed to use the prefix
3356 'kpathsea_' instead, and they now required an extra argument
3357 that is a kpathsea instance structure. New one-line functions
3358 with the old exported names have been added that use a default
3359 kpathsea instance. The functions are build and exported only if
3360 the preprocessor macro KPSE_COMPAT_API is defined (which it
3361 usually is, though).
3362
3363 Besides these changes, there are a few extra changes to speficic
3364 files.
3365
3366 * progname.c: Removed the variables program_invocation_name and
3367 program_invocation_short_name, these are now part of the
3368 kpathsea instance (in renamed form)
3369
3370 * progname.c, xputenv.c, lib.h: Some extra preprocessor macros
3371 (LIB_FATALx) are added and a few others are changed so that
3372 the library functions can give the proper invocation_name
3373 in fatal error messages
3374
3375 * tex-file.c: The default instance variable is moved to the new
3376 file kpathsea.c
3377
3378 * kpathsea.c: New file containing the default
3379 instance variables and the new functions kpathsea_new() and
3380 kpathsea_finish()
3381
3382 * version.c: Variable kpse_bug_address renamed
3383 to kpathsea_bug_address.
3384
3385 * types.h:
3386 Added a preprocessor define KPSE_COMPAT_API, used throughout the
3387 library. If it is undefined then the old-style functions and
3388 definitions are not compiled.
3389 Removed the w32-specific 'cached_home_directory' and 'volumes'
3390 variables from the instance structure.
3391 Added 'invocation_name' and 'invocation_short_name' variables to
3392 the instance structure.
3393 Removed the 'kpse_' prefix from the instance variables fallback_font,
3394 fallback_resolutions_string, fallback_resolutions, and format_info.
3395 Added prototypes for kpathsea_new() and kpathsea_finish().
3396 Added #defines for kpse_bug_address, kpse_fallback_font,
3397 kpse_fallback_resolutions_string, kpse_fallback_resolutions,
3398 kpse_format_info, program_invocation_name, and
3399 program_invocation_short_name
3400
3401 * mingw32.c:
3402 Disabled home directory caching: removed the function
3403 uncache_home_directory() and the cached_home_directory
3404 structure item.
3405 Disabled volume queries: removed win32_volumes typedef,
3406 the static functions lookup_volume_info(), add_volume_info(),
3407 and GetCachedVolumeInformation(), as well as the functions
3408 get_volume_info() and is_fat_volume().
3409
3410 * mingw32.h: Removed volume_user_date typedef
3411 and added declaration for get_home_directory()
3412
3413 * kpsewhich.c: stop using PxC macros and
3414 switch to new API interface
3415
3416 * configure.ac: Bump the version numbers to 5.0.0 (provisionally)
3417
3418 * Makefile.am: Add kpathsea.c
3419
3420 2009-03-05 Peter Breitenlohner <[email protected]>
3421
3422 Part 2 of patches from Taco Hoekwater for __MINGW32__
3423 * mingw32.c: new file.
3424 * mingw32.h (look_for_cmd): use only two arguments.
3425 * tex-make.c (maketex): arg4 of ReadFile is DOWRD, not int.
3426
3427 2009-03-04 Peter Breitenlohner <[email protected]>
3428
3429 Part 1 of patches from Taco Hoekwater for __MINGW32__
3430 * mingw32.h: new.
3431 * c-ctype.h, c-stat.h: do not #include <oldnames.h>.
3432 * config.h: #include <kpathsea/mingw32.h>, not <win32lib.h>
3433 * progname.c: do #include <kpathsea/mingw32.h>.
3434 * xopendir.c: do build xopendir for __MINGW32__.
3435
3436 * progname.c, progname.h: changed static function selfdir()
3437 into exported function kpse_selfdir() for use in luatex.
3438
3439 2009-02-28 Karl Berry <[email protected]>
3440
3441 * texmf.cnf (shell_escape_commands): add pstopdf and convert per
3442 Dick Koch.
3443
3444 2009-02-26 Karl Berry <[email protected]>
3445
3446 * texmf.cnf (shell_escape): set to new possibility p.
3447 (shell_escape_commands): first cut at allow list.
3448
3449 2009-02-21 Karl Berry <[email protected]>
3450
3451 * tex-file.c: doc fixes.
3452
3453 2009-02-12 Peter Breitenlohner <[email protected]>
3454
3455 * xputenv.c: prototype for putenv() if !HAVE_DECL_PUTENV.
3456
3457 2009-02-06 Karl Berry <[email protected]>
3458
3459 * texmf.cnf (TEXINPUTS.lua*): add definitions for
3460 luatex, lualatex, pdfluatex, pdflualatex.
3461
3462 2008-12-31 Karl Berry <[email protected]>
3463
3464 * kpsewhich.c (find_format): special-case XDvi to
3465 kpse_program_text_file ("other text files").
3466
3467 2008-12-15 Karl Berry <[email protected]>
3468
3469 * kpsewhich.c (main): warn if the explicit --user-format string
3470 is not recognized.
3471
3472 2008-12-13 Karl Berry <[email protected]>
3473
3474 * elt-dirs.c (do_subdir): only do the st_nlink trick if st_nlink
3475 is exactly 2; Cygwin sets st_nlink to 1 now. Remove special case
3476 for the Amiga.
3477 * kpathsea.texi (Subdirectory expansion): correct preprocessor
3478 name to ST_NLINK_TRICK.
3479 Report from Ken Brown, tlbuild mail 12 Dec 2008 13:42:19.
3480
3481 2008-11-10 Karl Berry <[email protected]>
3482
3483 * kpsewhich.c (USAGE): mention need for -engine when looking up
3484 format files. Some reformatting.
3485
3486 2008-09-20 Karl Berry <[email protected]>
3487
3488 * texmf.cnf: strongly warn that customizations in this file will
3489 be lost by later updates.
3490
3491 2008-08-05 Karl Berry <[email protected]>
3492
3493 * mktextfm (MAG): set back to 1. mag=0 fails with larm1000.mf,
3494 and we're not going to fix the fonts.
3495
3496 2008-07-08 Karl Berry <[email protected]>
3497
3498 * configure.in: version 3.5.7.
3499
3500 2008-07-06 Karl Berry <[email protected]>
3501
3502 * withenable.ac (texmfmain): do not bother with long verbose
3503 complaint when the tree can't be found, since this is normal in TL.
3504
3505 2008-07-05 Karl Berry <[email protected]>
3506
3507 * mktextfm (MAG): set to 0; why were we using MAG=1? Left
3508 over from when we included pregenerated pk's in the distribution?
3509
3510 2008-07-04 Karl Berry <[email protected]>
3511
3512 * texmf.cnf (max_strings): increase to 500000.
3513 ctt posting from Benno Puetz, http://groups.google.com/group/comp.text.tex/browse_thread/thread/2c3aa2d09b4625e3
3514
3515 * progname.c [HAVE_PROGRAM_INVOCATION_NAME]: remove all #ifdef's
3516 except around the declaration, so that we always use our own code
3517 to compute them. This avoids painful system dependencies.
3518
3519 2008-07-02 Karl Berry <[email protected]>
3520
3521 * mktexlsr: doc fix.
3522
3523 * kpathsea.texi (Path searching options): mention --engine=/ trick.
3524
3525 2008-06-16 Karl Berry <[email protected]>
3526
3527 * texmf.cnf (TEXMFDOC): new var.
3528 (TEXMFDBS): use it, so ls-R gets created there.
3529 (TEXMFDOCDIR): use it.
3530 [Reminder: the texmf.cnf here in Build/ is slaved to the one in
3531 Master/.]
3532
3533 2008-06-15 Karl Berry <[email protected]>
3534
3535 * mktexlsr: once again respect dir names given on cmd line.
3536
3537 2008-06-12 Karl Berry <[email protected]>
3538
3539 * tex-file.c () <kpse_cmap_format>: cmap files (texmf/fonts/cmap)
3540 do not have the .cmap suffix. (t1.cmap, et al., are TeX files,
3541 not cmap files.) So remove the SUFFIXES definition.
3542
3543 2008-05-31 Karl Berry <[email protected]>
3544
3545 * elt-dirs.c (kpse_normalize_path): only output debug line if
3546 value is not 1. Reformat.
3547
3548 * tex-file.c (INIT_FORMAT): construct human-formatted list of
3549 envvars that are considered for each format, as requested by
3550 Nelson Beebe and others over the years.
3551 (init_format) [KPSE_DEBUG]: include it in the debugging output.
3552 (concatn_with_spaces): the function to make the list.
3553
3554 * tex-make.c: concatn.h unused, removed.
3555
3556 * db.c (DB_HASH_SIZE): 32003 seems a better compromise between the
3557 tiny texmf (~1300 entries) and huge texmf-dist (~62000 entries).
3558
3559 2008-05-29 Karl Berry <[email protected]>
3560
3561 * db.c (DB_HASH_SIZE): increase to 75000+, the actual size of
3562 current ls-R.
3563
3564 * cnf.c: doc fixes.
3565
3566 * Makefile.in (stamp-paths): change var substitutions to use /nonesuch.
3567 (texmf.sed, texmf.cnf): remove targets, we will juse use texmf.cnf.
3568 (install-data): texmf.cnf is in srcdir now.
3569
3570 * texmf.in: remove.
3571 * texmf.cnf: new file, slave to Master/texmf/web2c/texmf.cnf.
3572
3573 2008-05-28 Karl Berry <[email protected]>
3574
3575 * mktexlsr: support --quiet/--silent.
3576
3577 2008-05-24 Karl Berry <[email protected]>
3578
3579 * kpathsea.texi (Specially-recognized files): new node to
3580 document the special filenames kpsewhich now knows about.
3581
3582 2008-05-23 Karl Berry <[email protected]>
3583
3584 * tex-file.c (init_path): do not free the translated env_value,
3585 else raw_path ends up pointing to that freed memory.
3586
3587 * default.h: mention that result is always in new memory.
3588 * kpsewhich.c: recognize texmf.cnf as kpse_cnf_format.
3589
3590 * kpsewhich.c (find_format): use the right formats for texmf.cnf,
3591 dvipdfmx.cfg, fmtutil.cnf, mktex.cnf, and updmap.cfg (as well as
3592 config.ps, earlier). Same values as texmf/texconfig/tcfmgr.map.
3593
3594 2008-05-18 Karl Berry <[email protected]>
3595
3596 * mktexlsr (vc_dirs): ignore more than just .svn.
3597 Original suggestion from Michael Schutte, Debian bug 481371,
3598 16 May 2008 11:31:20.
3599
3600 2008-05-05 Karl Berry <[email protected]>
3601
3602 * recorder.h: declare our fn variables extern as they should be.
3603 * cnf.c: make the definitions here.
3604
3605 2008-05-04 Karl Berry <[email protected]>
3606
3607 * finish changing license notices to use FSF url instead of
3608 physical address, other minor consistency changes.
3609
3610 2008-05-01 Karl Berry <[email protected]>
3611
3612 * tex-file.c (ALT_SOURCES_SUFFIXES): new macro (.dtx, .ins).
3613 (kpse_init_format) <kpse_texsource_format>: use it.
3614
3615 2008-04-30 Karl Berry <[email protected]>
3616
3617 * kpsewhich.c (read_command_line): leave two spaces before alt
3618 suffixes, just so they can be distinguished.
3619
3620 * tex-file.c (ALT_TEX_SUFFIXES): define this (rather belatedly)
3621 to check for .sty, .cls, etc.
3622 Rename other *_SUFFIXES to ALT_*_SUFFIXES.
3623
3624 * kpathsea.texi (File lookup): Document this.
3625 * tex-file.c: (target_fontmaps, target_asis_name,
3626 target_suffixed_names): new fns.
3627 (kpse_find_file_generic): call them, respecting new cnf value
3628 try_std_extension_first.
3629
3630 2008-04-29 Karl Berry <[email protected]>
3631
3632 * Makefile.in (install-data): do not cd $(srcdir) in any rule,
3633 that fails when the install program is specified by a relative path.
3634
3635 2008-03-27 Karl Berry <[email protected]>
3636
3637 * tex-make.c: start "running" on a new line, tweak other msgs.
3638
3639 2008-03-07 Peter Breitenlohner <[email protected]>
3640
3641 * kpsewhich.c (main): change type of value from string to
3642 const_string, to avoid warning.
3643 * progname.c (selfdir): change type of elt from string to
3644 const_string, to avoid warning.
3645 * xputenv.c: change type of saved_env from const_string to
3646 string, to avoid warning.
3647
3648 2008-03-06 Peter Breitenlohner <[email protected]>
3649
3650 * access.c, readlink.c: removed `#include <stdio.h>' preceeding
3651 `#include <kpathsea/config.h>' (which in turn includes stdio.h).
3652
3653 * xfseek.c, xftell.c: reverted to state before 2008-02-21.
3654 * xfseeko.c, xftello.c (both new): new functions using off_t
3655 instead of long, and fseeko instead of fseek.
3656 * lib.h: prototypes for xfseek, xfseeko, xftell, and xftello.
3657 * Makefile.in (objects): added xfseeko.lo and xftello.lo.
3658
3659 * configure.in: construct package and (shared) library version
3660 from m4_define'd parts, subtitute KPSE_LT_VERS ...
3661 * Makefile.in ($(kpathsea)): ... here.
3662
3663 2008-03-04 Peter Breitenlohner <[email protected]>
3664
3665 * common.ac: add AC_SYS_LARGEFILE and AC_FUNC_FSEEKO.
3666
3667 2008-03-02 Karl Berry <[email protected]>
3668
3669 * cnf.c (read_all_cnf): change warning text when texmf.cnf is not
3670 found to make it clear we are giving it, and keep it on one line.
3671
3672 2008-01-29 Peter Breitenlohner <[email protected]>
3673
3674 * common.ac: replace the private macro KPSE_STRUCT_ST_MTIM
3675 by AC_CHECK_MEMBERS([struct stat.st_mtim]).
3676
3677 * common.ac: use AC_CHECK_DECLS([strstr]) and ...
3678 * lib.h: ... replace `#ifndef HAVE_STRSTR' by
3679 `#if !HAVE_DECL_STRSTR'.
3680
3681 * common.ac: Move AC_CONFIG_HEADERS from here ...
3682 * configure.in: ... to here and replace PACKAGE_... by
3683 KPSE_PACKAGE_... in c-auto.h, to avoid conflicts with other
3684 packages.
3685
3686 * configure.in: use AH_TOP, AH_BOTTOM, and AC_DEFINE's third
3687 argument to provide autoheader templates ...
3688 * common.ac: m4 code to generate AC_DEFINE with a third argument
3689 for MAKE_..._BY_DEFAULT and set them to 0 or 1 ...
3690 * withenable.ac: use AC_DEFINE's third argument to provide
3691 autoheader templates ...
3692 * acconfig.h: ... removed.
3693
3694 2008-02-24 Martin Schr\"oder <[email protected]>
3695
3696 * lib.h: systypes.h instead of c-std.h
3697
3698 2008-02-23 Martin Schr\"der <[email protected]>
3699
3700 * lib.h: include c-std.h to get off_t from stdio.h
3701
3702 2008-02-21 Martin Schr\"oder <[email protected]>
3703
3704 * lib.h, xfseek.c, xftell.c: LFS support: use off_t instead of long
3705 and fseeko instead of fseek
3706
3707 2008-02-14 Karl Berry <[email protected]>
3708
3709 * texmf.in (font_mem_size): increase to 3000000.
3710 (font_max): increase to 5000 (max_font_max increased in tex.ch).
3711
3712 2008-02-11 Karl Berry <[email protected]>
3713
3714 * install.texi: mention mktexfmt, other mktex updates.
3715 (Bug report from Ken Brooks, 03 Aug 2006 15:15:03.)
3716
3717 2008-02-08 Karl Berry <[email protected]>
3718
3719 * texmf.in: texlive2008 to match texmf/web2c/texmf.cnf.
3720
3721 2008-01-29 Peter Breitenlohner <[email protected]>
3722
3723 Convert from autoconf-2.13 to autoconf-2.59+:
3724 * Makefile.in: Add @configure_input@ line.
3725 * aclocal.m4 (new): Generated (aclocal -I ../m4).
3726 * configure: Regenerated (autoconf).
3727
3728 2008-01-25 Karl Berry <[email protected]>
3729
3730 * variable.c (expand): do ~ expansion here too, for --expand-var,
3731 or mktexnam fails.
3732 Report from Werner Lemberg, 24 Jan 2008 02:19:49.
3733 * kpathsea.texi (Auxiliary tasks): document this.
3734
3735 2008-01-21 Karl Berry <[email protected]>
3736
3737 * kpsewhich.c, kpathsea.texi: document --all and --subdir.
3738
3739 * db.c through tex-file.c: replace FSF physical address with url.
3740
3741 2008-01-18 Karl Berry <[email protected]>
3742
3743 * kpsewhich.c (subdir_match): XRETALLOC is a statement not a function.
3744 * pathsearch.c (search_list): remove unused variable uniq_list.
3745
3746 2008-01-16 Karl Berry <[email protected]>
3747
3748 * absolute.c through config.h: replace FSF physical address with url.
3749
3750 2008-01-15 Karl Berry <[email protected]>
3751
3752 * variable.c (kpse_var_value): only free if new memory.
3753
3754 * tex-file.c (kpse_find_file_generic): call kpse_make_tex if the
3755 first element of the list is NULL, not the list itself.
3756
3757 2008-01-14 Karl Berry <[email protected]>
3758
3759 * variable.c (kpse_var_value): also do ~ expansion.
3760 * variable.h: adjust comments.
3761 * kpathsea.texi (Auxiliary tasks): document this.
3762
3763 * tilde.c (HOMEVAR): new #define; "USERPROFILE" on Windows,
3764 "HOME" else.
3765 * tilde.h: adjust comments.
3766 * kpathsea.texi (Tilde expansion): document this.
3767
3768 2008-01-13 Karl Berry <[email protected]>
3769
3770 * remote.c-no: remove this stub. Suggestion from Martin.
3771
3772 * mktexpk: use $MT_MKTEXDIR in the error message if making
3773 PKDESTDIR fails, instead of hardwiring mktexdir.
3774 From Javier, 7 Jan 2008 11:33:18.
3775
3776 * kpsewhich.c (subdir_match): protect again loc going infinitely
3777 negative. Found by dak, 8 Jan 2008 14:51:08.
3778
3779 2008-01-05 Karl Berry <[email protected]>
3780
3781 * texmf.in (progname, engine): distinguish the unset values.
3782 (main_memory): increase to 3M.
3783 (font_mem_size): increase to 2.5M.
3784 (trie_size): increase to 400K.
3785 (save_size): increase to 50K.
3786 These size changes per gwtex (except a bit more).
3787
3788 2008-01-02 Karl Berry <[email protected]>
3789
3790 * c-std.h (ALLOC_RETURN_TYPE) [!STDC_HEADERS]: just use void in
3791 the unlikely event we're declaring *alloc ourselves. No modern
3792 system uses char * for them.
3793
3794 2007-12-23 Karl Berry <[email protected]>
3795
3796 * kpsewhich.c (subdir_match): new fn.
3797 (lookup): call it if requested.
3798 (subdir_paths): new global.
3799 (read_command_line): new option --subdir.
3800
3801 2007-12-22 Karl Berry <[email protected]>
3802
3803 * kpsewhich.c (lookup): handle --all for regular lookups as well
3804 as user-specific paths.
3805 * pathsearch.c (search_list): uniqify list before returning.
3806 (kpse_path_search_list_generic): new fn.
3807 (kpse_all_path_search_list, kpse_path_search_list): rewrite to
3808 call ..._generic.
3809 * pathsearch.h (kpse_path_search_list_generic): declare it.
3810 * str-list.c (str_list_uniqify): new fn.
3811 * str-list.h (str_list_uniqify): declare it.
3812 * tex-file.c (kpse_find_file_generic): new name for kpse_find_file
3813 code, with addition of argument to find all.
3814 (kpse_find_file): rewrite to call ..._generic.
3815 * tex-file.h (kpse_find_file_generic): declare it.
3816
3817 2007-12-17 Karl Berry <[email protected]>
3818
3819 * kpathsea.texi (Path searching options): clarify --expand-path doc.
3820
3821 2007-12-15 Karl Berry <[email protected]>
3822
3823 * kpsewhich.c (read_command_line, USAGE): improve --version and
3824 --help messages.
3825
3826 2007-12-01 Karl Berry <[email protected]>
3827
3828 * texmf.in (MPMEMS, MFBASES, TEXFORMATS): switch to /$engine,
3829 to try to avoid finding a format for the wrong engine.
3830 From Akira.
3831
3832 2007-11-05 Karl Berry <[email protected]>
3833
3834 * texmf.in (allow_multiple_suffixes): unimplemented.
3835 Reported by Akira, 17 Feb 2007 15:44:39.
3836
3837 2007-10-24 Karl Berry <[email protected]>
3838
3839 * mktexpk (MODE) <720>: epscszz. From Akira.
3840 (PKDESTDIR): Quote. From Paul Vojta,
3841 tex-k 22 Oct 2007 17:38:56.
3842
3843 2007-09-11 Karl Berry <[email protected]>
3844
3845 * texmf.in (TRFONTS): don't recurse through /usr.
3846 Report from Michail Vidiassov, mp-i 10 Sep 2007 12:55:10.
3847
3848 2007-08-27 Karl Berry <[email protected]>
3849
3850 * fontmap.c (map_file_parse): free the original pointer, not the
3851 potentially moved one (after whitespace skipping).
3852 From: "George N. White III", 25 Jul 2007 11:27:12.
3853
3854 2007-07-29 Karl Berry <[email protected]>
3855
3856 * depend.mk: regenerate again.
3857
3858 2007-07-24 Karl Berry <[email protected]>
3859
3860 * recorder.h (kpse_input, kpse_output): use const_string as
3861 argument, not just char *, to avoid warning.
3862
3863 * fontmap.c (map_file_parse): kpse_record_input if requested.
3864 From Akira, 23 Jul 2007 10:20:58 (original report from George
3865 White).
3866
3867 2007-07-15 Karl Berry <[email protected]>
3868
3869 * depend.mak: update.
3870
3871 2007-07-06 Karl Berry <[email protected]>
3872
3873 * tex-file.c (init_path) <kpse_lua_format>: let's make the format
3874 name be lua rather than luatex; otherwise kpsewhich -format=luatex
3875 finds kpse_tex_format sometimes, and it seems unnecessary to debug
3876 that just now.
3877 Also, set suffix_search_only=true.
3878 (LUA_SUFFIXES): put compiled suffixes first.
3879
3880 2007-07-05 Karl Berry <[email protected]>
3881
3882 * tex-file.h (kpse_file_format_type): define kpse_lua_format.
3883 * tex-file.c (LUA_ENVS, LUA_SUFFIXES): new macros
3884 (init_path): initialize kpse_lua_format.
3885
3886 * texmf.in (LUAINPUTS): add $TEXINPUTS per Hans and Taco.
3887
3888 2007-06-14 Karl Berry <[email protected]>
3889
3890 * texmf.in: doc fix ({a,b} is not deprecated).
3891
3892 2007-05-19 Karl Berry <[email protected]>
3893
3894 * texmf.in (SYSTEXMF): add TEXMFSYSVAR (thread around 7mar07).
3895
3896 2007-05-05 Karl Berry <[email protected]>
3897
3898 * kpsewhich.c (find_format): hardware kpse_dvips_config_format for
3899 config.ps.
3900
3901 * texmf.in (TEXMFMAIN, TEXMFDIST, TEXMFLOCAL, TEXMFSYSVAR,
3902 TEXMFSYSCONFIG, VARTEXFONTS, MIMELIBDIR, MAILCAPLIBDIR, TEXMFNCF):
3903 use @texmf@ etc. expansions so that (hopefully)
3904 --disable-multiplatform works again. For TEXMFCNF, restore
3905 inclusion of $TEXMF/web2c, too. Reported by Peter M.
3906
3907 2007-03-21 Karl Berry <[email protected]>
3908
3909 * install.texi (Shared library): remove mention of klibtool.
3910
3911 2007-03-09 Akira Kakuto <[email protected]>
3912
3913 * tex-file.c (kpse_init_format): reduce to just .fmt;
3914 and allow both .t42 and .T42.
3915
3916 2007-02-26 Karl Berry <[email protected]>
3917
3918 * bugs.texi (Logging): mention pdftex -recorder and strace et al.
3919 (Bug checklist): Remove my old physical address.
3920
3921 2007-02-02 Karl Berry <[email protected]>
3922
3923 * texmf.in (OVFFONTS): search for vf.
3924 (OFMFONTS): explicitly adding TFMFONTS seems unnecessary.
3925 From Hans and Taco, 25 Jan 2007.
3926
3927 2006-12-30 Karl Berry <[email protected]>
3928
3929 * configure.in (KPSEVERSION): 3.5.6.
3930
3931 2006-12-29 Karl Berry <[email protected]>
3932
3933 * tex-make.c (set_maketex_mag): deleted wrong extra arg;
3934 do not generate args with spaces for mf. From Akira.
3935
3936 2006-12-26 Karl Berry <[email protected]>
3937
3938 * tex-make.c: (set_maketex_mag): remove spurious extra argument
3939 `r' to sprintf.
3940 (maketex): remove unused variable status.
3941
3942 2006-12-25 Karl Berry <[email protected]>
3943
3944 * mktexlsr: support --verbose.
3945
3946 2006-12-14 Karl Berry <[email protected]>
3947
3948 * texmf.in: unify with TL texmf.cnf to make only real differences
3949 show up.
3950
3951 2006-12-09 Karl Berry <[email protected]>
3952
3953 * c-memstr.h (strings.h): don't include if HAVE_STRING_H (as all
3954 systems should, these days). Reported by vvv.
3955
3956 2006-07-15 Karl Berry <[email protected]>
3957
3958 * expand.c (kpse_expand_kpse_dot): omit empty path elements from
3959 TEXMFCNF, per http://bugs.debian.org/358330. Patch from Julian
3960 Gilbey, tex-k/tex-live mail 27 Mar 2006 19:32:43 +0100.
3961
3962 2006-02-03 Karl Berry <[email protected]>
3963
3964 * mktexlsr: ignore .svn directories.
3965
3966 2005-08-13 Olaf Weber <[email protected]>
3967
3968 * kpsewhich.c: Update copyright message.
3969
3970 2005-08-03 Olaf Weber <[email protected]>
3971
3972 * README: Change references to COPYING and COPYING.LIB to GPL and
3973 LGPL.
3974
3975 * kpathsea.texi: Change references to COPYING and COPYING.LIB to
3976 GPL and LGPL.
3977
3978 * readlink.c: Correct license banner.
3979
3980 2005-07-27 Olaf Weber <[email protected]>
3981
3982 * Makefile.in: Add comment to start of kpathsea.h.
3983
3984 * absolute.h, acconfig.h, c-ctype.h, c-dir.h, c-errno.h,
3985 c-fopen.h, c-limits.h, c-memstr.h, c-minmax.h, c-namemx.h,
3986 c-pathch.h, c-pathmx.h, c-proto.h, c-stat.h, c-std.h, c-unistd.h,
3987 c-vararg.h, cnf.h, concatn.h, config.h, db.h, debug.h, default.h,
3988 expand.h, fn.h, fontmap.h, getopt.h, hash.h, lib.h, line.h,
3989 magstep.h, pathsearch.h, proginit.h, progname.h, readable.h,
3990 str-list.h, str-llist.h, systypes.h, tex-file.h, tex-glyph.h,
3991 tex-hush.h, tex-make.h, tilde.h, truncate.h, types.h, variable.h,
3992 xopendir.h, xstat.h: Update copyright, license to LGPL 2.1.
3993
3994 2005-07-26 Olaf Weber <[email protected]>
3995
3996 * access.c, readlink.c: Update copyright, license text.
3997
3998 * atou.c, absolute.c, cnf.c, concat.c, concat3.c, concatn.c, db.c,
3999 debug.c, dir.c, elt-dirs.c, expand.c, extend-fname.c, file-p.c,
4000 find-suffix.c, fn.c, fontmap.c, getopt.c, getopt1.c, hash.c,
4001 kdefault.c, kpsestat.c, kpsewhich.c, line.c, magstep.c,
4002 make-suffix.c, path-elt.c, pathsearch.c, proginit.c, progname.c,
4003 readable.c, rm-suffix.c, str-list.c, str-llist.c, strcasecmp.c,
4004 strstr.c, strtol.c, tex-file.c, tex-glyph.c, tex-hush.c,
4005 tex-make.c, tilde.c, truncate.c, uppercasify.c, variable.c,
4006 version.c, xbasename.c, xcalloc.c, xdirname.c, xfopen.c, xfseek.c,
4007 xftell.c, xgetcwd.c, xopendir.c, xrealloc.c, xstat.c, xstrdup.c:
4008 Update copyright, license to LGLP 2.1.
4009
4010 * xmalloc.c, xrealloc.c: Update copyright, license to LGPL 2.1.
4011 Don't include stdio.h directly, it comes via config.h.
4012
4013 2005-07-25 Olaf Weber <[email protected]>
4014
4015 * texmf.in: Increase trie_size. Remove inaccurate comment about
4016 its limits.
4017
4018 * common.ac: Remove the check for SMART_PUTENV, the xputenv code
4019 has been rewritten not to need this.
4020
4021 * tex-file.c (kpse_init_format): Add uppercase versions of the
4022 .ttf and .ttc suffixes for truetype fonts. Don't require a
4023 recognized suffix.
4024
4025 * types.h: Don't #define true if it is already defined. From Karl
4026 Berry.
4027
4028 * mktexmf: Additional change for generating cbgreek from Thomas.
4029
4030 2005-07-12 Olaf Weber <[email protected]>
4031
4032 * mktexmf: Patterns for cbgreek weren't inclusive enough. From
4033 Thomas.
4034
4035 2005-07-10 Olaf Weber <[email protected]>
4036
4037 * tex-file.c (kpse_init_format): Revive .otf extension for
4038 kpse_opentype_format, requested by Akira Kakuto
4039 <[email protected]>.
4040
4041 * tex-make.c (maketex): Print the name of the failing command
4042 instead of always mktexpk. From Karl berry
4043 <[email protected]>.
4044
4045 * acconfig.h: Remove SMART_PUTENV code.
4046
4047 * xputenv.c (xputenv): Replace with code that doesn't depend on
4048 the SMART_PUTENV check.
4049 (common.ac): Remove SMART_PUTENV check code.
4050
4051 2005-06-29 Olaf Weber <[email protected]>
4052
4053 * tex-make.c: Metafont doesn't like literals larger than anout
4054 4000, so try to avoid them when specifying magnifications. From
4055 Werner Fink <[email protected]>.
4056
4057 * hash.h [KPSE_DEBUG]: Add KPSEDLL to declaration of
4058 kpse_debug_hash_lookup_int. From Jan Nieuwenhuizen
4059 <[email protected]>.
4060
4061 2005-06-26 Olaf Weber <[email protected]>
4062
4063 * xt.ac: Fully quote the arguments of AC_ARG_WITH. From Peter
4064 Breitenlohner.
4065
4066 * withenable.ac: Fully quote arguments of AC_ARG_WITH. From Peter
4067 Breitenlohner.
4068
4069 * configure.in: Syntax changes to match autoconf2.5x. From Peter
4070 Breitenlohner. Version to 3.5.5.
4071
4072 * common.ac: Fully quote AC_CONFIG_HEADERS. From Peter
4073 Breitenlohner.
4074
4075 * Makefile.in: Replace ac_include with kpse_include. From Peter
4076 Breitenlohner.
4077
4078 2005-06-22 Olaf Weber <[email protected]>
4079
4080 * common.ac: Add KPSE_STRUCT_ST_MTIM check.
4081
4082 * expand.c: Update some comments.
4083
4084 * pathsearch.c: Update some comments.
4085
4086 * tex-file.c (init_path): Translate ';' to ':' in values we get
4087 from the environment if the latter is our env_sep.
4088
4089 * cnf.c (do_line): Always translate ';' to ':' in config values if
4090 the latter is the env_sep.
4091
4092 * kpathsea.texi: Remove ALLOW_SEMICOLON_IN_FILENAMES comment.
4093
4094 2005-06-21 Olaf Weber <[email protected]>
4095
4096 * mktexlsr: Re-export PATH after changing it. Some shells require
4097 this. Reported by Albert Chin <[email protected]>.
4098
4099 * tex-file.c (kpse_find_file): Call kpse_expand() to do tilde and
4100 variable expansion, which kpse_path_search_list() doesn't do, but
4101 kpse_path_search() did. Re-enabling this was requested by several
4102 people, including Oliver Grewe <[email protected]>.
4103
4104 * mktexpk, bugs.texi: From Karl Berry: "Try to be more informative
4105 when mktexpk can't guess the mode; reported by Knuth in tex-k
4106 mail, 26 Apr 2005 18:07:20 -0400."
4107
4108 2005-04-10 Olaf Weber <[email protected]>
4109
4110 * tilde.c (kpse_tilde_expand): Slightly simplify code.
4111
4112 * tilde.c (kpse_tilde_expand): Account for the possibility that
4113 we're fed an argument starting with "!!~". Problem reported by
4114 DEK.
4115
4116 2005-03-07 Olaf Weber <[email protected]>
4117
4118 * install.texi: Document texmfvar and USE_TEXMFVAR. From Thomas.
4119
4120 * mktexdir: Break out of loop on failure of mkdir. Last-minute
4121 change for teTeX 3.0 from Thomas.
4122
4123 2005-02-06 Olaf Weber <[email protected]>
4124
4125 * kpsereadlink.man: Correct banner: READLINK -> KPSEREADLINK.
4126
4127 2005-02-05 Olaf Weber <[email protected]>
4128
4129 * Makefile.in (texmf.sed): With TEXMFSYSVAR and TEXMFSYSCONFIG
4130 added, there's even more potential damage to clean up.
4131 (uninstall-data): Try to cleanly uninstall the info document.
4132
4133 * texmf.in: Add TEXMFSYSVAR, TEXMFSYSCONFIG for teTeX 3.0. From
4134 Thomas.
4135
4136 2005-01-25 Olaf Weber <[email protected]>
4137
4138 * mktexmf: Don't redirect output of cd, Ultrix doesn't like that.
4139
4140 2005-01-21 Olaf Weber <[email protected]>
4141
4142 * Makefile.in: Change POSTINSTALL to POST_INSTALL.
4143
4144 * mktex.opt: Add texmfvar to list of allowed feature options.
4145
4146 * mktexlsr: Make getting the list of directories from $TEXMFDBS
4147 more robust. From Thomas.
4148
4149 * kpsereadlink.man, kpsestat.man, kpsewhich.man, mktexlsr.man,
4150 mktexmf.man, mktextfm.man, mktexpk.man, kpseaccess.man: Man page
4151 corrections from Eric S. Raymond <[email protected]>.
4152
4153 2005-01-07 Olaf Weber <[email protected]>
4154
4155 * mktexpk: Add guess ultre for 1200 dpi. This is a fairly neutral
4156 mode, also useful for pdftex. From Karl Berry.
4157
4158 * mktexlsr: Make sorting the texmf trees more robust. From
4159 Thomas.
4160
4161 2004-12-29 Olaf Weber <[email protected]>
4162
4163 * configure.in: Version 3.5.4.
4164
4165 * mktexlsr: Remove duplicate trees. From Thomas.
4166
4167 * mktexdir: Remove superfluous cd. From Thomas.
4168
4169 * withenable.ac: Sync with Thomas' version, removes
4170 --enabled-multiplatform code.
4171
4172 2004-12-28 Olaf Weber <[email protected]>
4173
4174 * Makefile.in (texmf.sed): New variables were added named TEXMF*.
4175 The cleanup code needed additional fixes for this. From Thomas
4176 Esser.
4177
4178 * mktexnam.opt: Improve comment.
4179
4180 * mktexnam: Handle texmfvar option, which directs all writes into
4181 the system trees to the TEXMFVAR tree, with the usual caveats.
4182
4183 * mktexnam.opt: Add texmfvar option.
4184
4185 * texmf.in: Changes to bring it close to teTeX 3.0.
4186
4187 2004-12-20 Olaf Weber <[email protected]>
4188
4189 * texmf.in: For XeTeX: TEXINPUTS.xetex, TEXINPUTS.xelatex,
4190 OTFFONTS.
4191
4192 2004-12-19 Olaf Weber <[email protected]>
4193
4194 * xt.ac: Mark --with-x-toolkit as obsolete.
4195
4196 * Makefile.in [KPATHSEA_CC]: Don't quote $(CC), as it prevents
4197 libtool from functioning properly if $(CC) contains options in
4198 addition to the compiler name. From Harald Koenig
4199 <[email protected]>.
4200
4201 * mktexpk: Add guesses for dpi 360 and 720. From Frank K\"uster
4202 <[email protected]> (Debian maintainer).
4203
4204 * mktexlsr: Write all regular progress messages to stderr, instead
4205 of some to stdout.
4206
4207 * mktexdir: Handle directories with spaces in the names.
4208
4209 * mktexupd: If we've called mktexlsr, there is no need to do
4210 anything else, so exit immediately. From Thomas.
4211
4212 2004-11-28 Olaf Weber <[email protected]>
4213
4214 * texmf.in: Add default entries for $progname and $engine, so we
4215 don't expand these to empty if the file is used by pre 3.5.3
4216 implementations.
4217
4218 * mktexmf: Extend the pattern for the cbgreek fonts. From Hartmut
4219 Henkel <[email protected]>.
4220
4221 2004-10-05 Olaf Weber <[email protected]>
4222
4223 * texmf.in: Add TEXINPUTS.lamed (Aleph's version of lambda) and
4224 TEXINPUTS.uft8mex (utf8 variation of mex).
4225
4226 2004-08-24 Olaf Weber <[email protected]>
4227
4228 * mktex.opt: Correct syntax error. Reported by Staszek
4229 Wawrykiewicz <[email protected]>.
4230
4231 2004-08-23 Olaf Weber <[email protected]>
4232
4233 * texmf.in: The TEXINPUTS.pdftexinfo entry in obsolete, and will
4234 be removed in the future. Alert by Vladimir Volovich
4235 <[email protected]>.
4236
4237 * tex-file.c (kpse_find_file): Make debug message conditional
4238 KPSE_DEBUG_SEARCH being set.
4239
4240 * kpsewhich.c: Remove spurious space in usage message.
4241
4242 * tex-file.c (kpse_find_file): Add debug message to clarify what
4243 the library is doing when. From Karl Berry <[email protected]>.
4244
4245 * tex-file.c: Add TEXFONTS to the environment variables for all
4246 kinds of font-related stuff. This means you can, if you want to,
4247 just dump all font-related files in a single directory and set a
4248 single variable to point to it. It doesn't have a default.
4249 Suggested by Karl Berry, Hans Hagen, Akira Kakuto.
4250
4251 2004-08-17 Olaf Weber <[email protected]>
4252
4253 * mktexlsr, mktex.opt: Use "test ... || test ..." instead of
4254 "test ... -o ...".
4255
4256 2004-08-06 Olaf Weber <[email protected]>
4257
4258 * xdirname.c: Cygwin also understands UNC names. From Jan
4259 Nieuwenhuizen <[email protected]>.
4260
4261 * config.h: Do not define DOSISH for Cygwin. After Jan
4262 Nieuwenhuizen <[email protected]>.
4263
4264 * mktex.opt: Refine the test of $COMPSEC a bit, to accomodate
4265 Cygwin. After Jan Nieuwenhuizen <[email protected]>.
4266
4267 * mktexlsr: Refine the test for $COMSPEC a bit, to accomodate
4268 Cygwin. After Jan Nieuwenhuizen <[email protected]>.
4269
4270 * Makefile.in: Define MAKE_KPSE_DLL when compiling the library to
4271 support ugly windows declspec stuff. From Jan Nieuwenhuizen
4272 <[email protected]>.
4273
4274 * c-proto.h: Clean up the defines for KPSEDLL a bit. From Jan
4275 Nieuwenhuizen <[email protected]>.
4276
4277 * getopt.h: Clean up defines for KPSEDLL a bit. From Jan
4278 Nieuwenhuizen <[email protected]>.
4279
4280 2004-08-01 Olaf Weber <[email protected]>
4281
4282 * texmf.in: Undoing some simplifications of the search paths, in
4283 particular the texmf/{engine1,engine2,...} style paths are back to
4284 accomodate older texmf trees.
4285
4286 2004-07-23 Olaf Weber <[email protected]>
4287
4288 * texmf.in: Adapt TRFONTS to Linux groff path, which is the most
4289 useful variant these days.
4290
4291 2004-07-21 Olaf Weber <[email protected]>
4292
4293 * Makefile.in (uninstall-exec): Add removal rules for libkpathsea
4294 and the programs other than kpsewhich.
4295
4296 * kpathsea.texi: Push copyright to bottom of page.
4297
4298 * texmf.in: Add paths for pdfxtex, pdfxlatex. After Peter
4299 Breitenlohner <[email protected]>.
4300
4301 * texmf.in: Updates/simplifications to paths, from Thomas.
4302
4303 2004-07-19 Olaf Weber <[email protected]>
4304
4305 * db.c (kpse_db_search_list): Add cast to suppress warning about
4306 discarding "const".
4307
4308 2004-07-03 Olaf Weber <[email protected]>
4309
4310 * common.ac: No m4 quoting needed in the KPSE_CROSS_BUILD_VAR
4311 calls.
4312
4313 * common.ac: Add some invocations of KPSE_CROSS_BUILD_VAR matching
4314 usage in ../make/cross.mk.
4315
4316 * mktextfm: Use the same code as mktexpk for ignoring metafont
4317 errors, to ensure that mktextfm and mktexpk ignore identical sets
4318 of metafont errors.
4319
4320 2004-06-28 Olaf Weber <[email protected]>
4321
4322 * kpathsea.texi: Use @copying, so the license ends up in the HTML
4323 output. Use @ifnottex instead of @ifinfo, so that makeinfo --html
4324 works without further effort. From Karl Berry.
4325
4326 * install.texi: Name of bash manual is now "bash". From Karl
4327 Berry.
4328
4329 2004-06-22 Olaf Weber <[email protected]>
4330
4331 * c-memstr.h [HAVE_STRINGS_H]: Include strings.h if it is
4332 available, as opposed to just doing if HAVE_STRING_H is not
4333 defined. Otherwise we give conflicting information whether
4334 certain old-style functions like index, rindex are defined.
4335 * common.ac: Also check for strings.h.
4336
4337 * c-memstr.h: Add definitions for index and rindex in terms of
4338 strchr and strrchr, as we've got some old code in TeX-live that
4339 needs this on some platforms.
4340
4341 2004-06-15 Olaf Weber <[email protected]>
4342
4343 * install.texi: Karl Berry pointed out that GNU fileutils is now
4344 GNU coreutils.
4345
4346 2004-06-14 Olaf Weber <[email protected]>
4347
4348 * kpathsea.texi: Make it more obvious that applications will often
4349 just want to use <kpathsea/kpathsea.h> rather than pick and choose
4350 headers.
4351
4352 2004-06-11 Olaf Weber <[email protected]>
4353
4354 * kpsewhich.c: Update copyright dates.
4355
4356 2004-05-28 Olaf Weber <[email protected]>
4357
4358 * mktexlsr: Rename readlink to kpsereadlink to avoid name clash.
4359
4360 * Makefile.in: Rename readlink to kpsereadlink to avoid name
4361 clash.
4362
4363 2004-05-26 Olaf Weber <[email protected]>
4364
4365 * tex-file.c: Make .fmt the only "true" suffix for format files,
4366 and add all other suffixes to the list of alternates. In the next
4367 version, these alternates will be dropped entirely.
4368
4369 2004-05-11 Olaf Weber <[email protected]>
4370
4371 * Makefile.in (mostlyclean): access -> kpseaccess. From Thomas.
4372
4373 2004-05-08 Olaf Weber <[email protected]>
4374
4375 * mktexlsr: Widen the matches for the lsR-pattern, so we omit the
4376 temporary directory we used.
4377
4378 2004-05-07 Olaf Weber <[email protected]>
4379
4380 * texmf.in: Use $engine in some paths.
4381
4382 * kpathsea.texi: Date is May 2004.
4383
4384 * kpathsea.texi: Document --engine.
4385
4386 * kpsewhich.man: Document -engine.
4387
4388 * kpsewhich.c: Implement -engine option.
4389
4390 2004-04-24 Olaf Weber <[email protected]>
4391
4392 * cnf.c (read_all_cnf): Fix memory leak.
4393
4394 * mktexupd: Fix logic error. Found by Thomas Esser.
4395
4396 * tex-file.c (kpse_init_fallback_resolutions): Fix memory leak.
4397
4398 2004-04-23 Olaf Weber <[email protected]>
4399
4400 * db.c (kpse_db_search_list): Allow matches like base/plain.tex
4401 when a db is used. This was a regression introduced by the switch
4402 to kpse_db_search_list. Like the original code, this only works
4403 with '/' used for dirsep. Reported by Wlodzimierz Bzyl
4404 <[email protected]>.
4405
4406 2004-04-17 Olaf Weber <[email protected]>
4407
4408 * kpsewhich.c (lookup): Partial implementation of -all option.
4409 Works only in combination with the -path option.
4410 * tex-file.c: Add to list of suffixes that may be used for format
4411 files.
4412
4413 * kpathsea.texi: Document -var-value option kpsewhich.
4414
4415 * kpsewhich.man: Document -var-value.
4416
4417 * kpsewhich.c: Add -var-value option. Change loop that checks for
4418 a kpse_file_format_type to check kpse_format_fmt last.
4419
4420 * texmf.in: Add TEXINPUTS.aleph, TEXINPUTS.alambda.
4421
4422 2004-04-01 Olaf Weber <[email protected]>
4423
4424 * mktexpk: Use dpdfezzz if given 8000 for BDPI. Apparently this
4425 is what -Ppdf ends up giving the script.
4426
4427 2004-03-26 Olaf Weber <[email protected]>
4428
4429 * Makefile.in (install): access -> kpseaccess
4430
4431 2004-03-23 Olaf Weber <[email protected]>
4432
4433 * db.c (kpse_init_db): Look for both "ls-R" and "ls-r" files.
4434 Same contents, but when working cross-platform the all-lowercase
4435 name is easier to work with.
4436
4437 * tex-file.c: Add .afmt as recognized suffix to kpse_fmt_format
4438 (for Aleph). Add ls-r as recognized suffix to kpse_db_format.
4439
4440 * mktexlsr: Allow both ls-R and ls-r as names for an existing
4441 directory tree index file. Always create ls-R.
4442
4443 * mktexupd: Check for both ls-R and ls-r.
4444
4445 * pathsearch.h (kpse_all_path_search_list): New function. Like
4446 kpse_path_search_list, with must_exist true, but returns a list of
4447 filenames instead of the first hit.
4448
4449 * pathsearch.c (kpse_all_path_search_list): New function. Like
4450 kpse_path_search_list, with must_exist true, but returns a list of
4451 filenames instead of the first hit.
4452
4453 * tex-make.c [WIN32] (maketex): Code to print error message for
4454 ERROR_BROKEN_PIPE didn't match the format.
4455
4456 * mktexpk: Allow 'angle(0,0)' errors without aborting. From
4457 Andreas Degert <[email protected]>.
4458
4459 * unixtex.texi: Update from Karl Berry.
4460
4461 2004-03-21 Olaf Weber <[email protected]>
4462
4463 * withenable.ac: Make the warnings more obvious if the search for
4464 the texmf tree fails. Also try to fall back on kpsewhich if we
4465 fail to find anything. A simplified version of code proposed by
4466 Stefan Ulrich <[email protected]> for xdvik.
4467
4468 2004-03-16 Olaf Weber <[email protected]>
4469
4470 * texmf.in: Add file_line_error_style variable, default to false.
4471
4472 2004-02-26 Olaf Weber <[email protected]>
4473
4474 * tex-make.c (maketex): Clean up unused variables.
4475
4476 * texmf.in: Update link in comment for TEXFONTMAPS.
4477
4478 2004-02-25 Olaf Weber <[email protected]>
4479
4480 * mktexnam: Use kpseaccess instead of access.
4481
4482 * mktexlsr: Use kpseaccess instead of access.
4483
4484 * Makefile.in: Rename the access executable to kpseaccess, as the
4485 old name tended to interfere.
4486
4487 * kpseaccess.man: Formerly known as access.man.
4488
4489 * mktexlsr: Only check for magic string in ls-R file if the file
4490 size is larger than 0. Assume that a 0-length ls-R can be
4491 overwritten without penalty.
4492
4493 * mktexlsr: Use a more accurate method to ensure that directory
4494 names, and only directory names, start with ./ in the ls-R file.
4495
4496 2004-02-16 Olaf Weber <[email protected]>
4497
4498 * tex-file.c: Rename kpse_script_format to
4499 kpse_texmfscripts_format.
4500
4501 * tex-file.h: Rename kpse_script_format to
4502 kpse_texmfscripts_format.
4503
4504 2004-02-15 Olaf Weber <[email protected]>
4505
4506 * mktexpk: psfonts.map and ps2pk.map now found through the map
4507 format.
4508
4509 * kpsewhich.c (find_format): psfonts.map and pdftex.map are no
4510 longer special case, pdftex.cfg is a special case now.
4511
4512 * kpathsea.texi: Update for new formats (misc fonts, web, cweb,
4513 enc, cmap, sfd, opentype fonts, pdftex config, lig files,
4514 texmfscripts).
4515
4516 * tex-file.c: Add kpse_lig_format and kpse_script_format.
4517
4518 * tex-file.h: Add kpse_lig_format and kpse_script_format.
4519
4520 * texmf.in: Add LIGFONTS and TEXMFSCRIPTS.
4521
4522 2004-02-10 Olaf Weber <[email protected]>
4523
4524 * db.c (kpse_db_search_list): An absolute or explicit relative
4525 name that makes it here would not be found anyway, so test for it
4526 and skip.
4527
4528 * pathsearch.c (search_list): If we're given only absolute or
4529 relative filenames, then there is no need to dig into the database
4530 or filesystem.
4531 (dir_list_search_list): Skip any absolute filenames that make it here.
4532
4533 2004-02-08 Olaf Weber <[email protected]>
4534
4535 * Makefile.in (stamp-paths): Add TEXMFDIST. Suggested by Thomas.
4536
4537 * texmf.in: Add TEXMFDIST, suggested by Thomas.
4538
4539 2004-01-09 Olaf Weber <[email protected]>
4540
4541 * tex-file.c: Add kpse_pdftex_config_format. From Thomas.
4542
4543 * tex-file.h: Add kpse_pdftex_config_format. From Thomas.
4544
4545 2004-01-04 Olaf Weber <[email protected]>
4546
4547 * texmf.in: Modifications to several paths suggested by Thomas.
4548
4549 2003-12-17 Olaf Weber <[email protected]>
4550
4551 * tex-make.c (kpse_make_tex): Allow '+' is font names as well.
4552 Reported by Hartmut Henkel <[email protected]>.
4553
4554 2003-12-14 Olaf Weber <[email protected]>
4555
4556 * progname.c: Set "progname" in the environment.
4557
4558 * tex-file.h: Add new formats: kpse_enc_format, kpse_cmap_format,
4559 kpse_sfd_format, kpse_opentype_format. Requested by Thomas.
4560
4561 * tex-file.c: Add new formats: kpse_enc_format, kpse_cmap_format,
4562 kpse_sfd_format, kpse_opentype_format. Requested by Thomas.
4563
4564 2003-02-27 Olaf Weber <[email protected]>
4565
4566 * mktexmf: csso12[0-5][0-9] are from CJK package; unsupported by
4567 mktexmf. Fix by Werner Lemberg <[email protected]>.
4568
4569 2003-02-19 Olaf Weber <[email protected]>
4570
4571 * kpathsea.texi: Version 3.5.2.
4572
4573 * configure.in: Version 3.5.2.
4574
4575 * cnf.c (do_line): KISS: Use IS_ENV_SEP(':') to check whether we
4576 might want to replace ';' with ':' in paths instead of trying to
4577 figure whether 'unix' should have been defined.
4578
4579 * db.c (kpse_db_search_list): Change fix to prevent "re-use" of
4580 aliases for the sake of clearer code.
4581
4582 * db.c: Set aliases to NULL after freeing it, so we don't try to
4583 realloc the same value as well. Reported by Thomas Esser
4584 <[email protected]>.
4585
4586 2003-02-17 Olaf Weber <[email protected]>
4587
4588 * configure.in: Version 3.5.1.
4589
4590 * kpathsea.texi: Version 3.5.1.
4591
4592 2003-02-15 Olaf Weber <[email protected]>
4593
4594 * kpathsea.texi: Version 3.5.0.
4595
4596 * configure.in: Version 3.5.0.
4597
4598 * kpathsea.version: removed.
4599
4600 * Makefile.in (dist): Remove kpathsea.version.
4601
4602 * common.ac: From klibtool to libtool. Based on patches from
4603 Albert Chin-A-Young <[email protected]>.
4604
4605 * Makefile.in: From klibtool to libtool. Based on patches from
4606 Albert Chin-A-Young <[email protected]>.
4607
4608 * texmf.in: Add TEXINPUTS.olatex path.
4609
4610 * tex-file.c: Add additional suffixes for formats.
4611
4612 * withenable.ac: When texmfmain is derived from ${prefix}, don't
4613 expand ${prefix}.
4614
4615 2003-02-11 Olaf Weber <[email protected]>
4616
4617 * pathsearch.c (search_list): Add some grotty code for the
4618 searches of absolute pathnames. (Grotty: if _any_ of the given
4619 pathnames is absolute or explicit relative, _and_ it is found, we
4620 stop searching then and there.) Found by Peter Breitenlohner
4621 <[email protected]>.
4622
4623 2003-02-07 Olaf Weber <[email protected]>
4624
4625 * kpathsea.version: Version 3.4.6
4626
4627 * kpathsea.texi: Version 3.4.6.
4628
4629 * configure.in: Version 3.4.6.
4630
4631 * texmf.in: Additions for e-Omega.
4632
4633 * tex-file.c (kpse_find_file): Use kpse_path_search_list for
4634 search.
4635
4636 * pathsearch.h (kpse_path_search_list): New function.
4637
4638 * pathsearch.c (dir_list_search_list): New function.
4639 (search_list): New function.
4640 (kpse_path_search_list): New function: search for a list of names,
4641 look for all names in the list in each directory before moving to
4642 the next directory.
4643
4644 * db.h (kpse_db_search_list): New function.
4645
4646 * db.c (kpse_db_search_list): New function.
4647
4648 2003-01-31 Olaf Weber <[email protected]>
4649
4650 * lib.h: Add include of c-proto.h. Suggested by Peter
4651 Breitenlohner.
4652
4653 2003-01-29 Olaf Weber <[email protected]>
4654
4655 * kpathsea.version: Version 3.4.5.
4656
4657 * kpathsea.texi: Version 3.4.5.
4658
4659 * configure.in: Version 3.4.5.
4660
4661 2003-01-24 Olaf Weber <[email protected]>
4662
4663 * config.h [KPATHSEA]: 33 -> 34.
4664 [DEV_NULL]: Added, "/dev/null" on unix, "NUL" on DOSISH.
4665
4666 * texmf.in [TEXCONFIG]: Remove "." from path for security reasons.
4667
4668 2003-01-16 Olaf Weber <[email protected]>
4669
4670 * kpathsea.texi: Version 3.4.4.
4671
4672 * configure.in: Version 3.4.4.
4673
4674 * kpathsea.version: Version 3.4.4.
4675
4676 * unixtex.texi: Updates.
4677
4678 2003-01-14 Olaf Weber <[email protected]>
4679
4680 * texmf.in: Uncomment definitions for VARTEXMF, HOMETEXMF. Change
4681 TEXMF itself to be same as teTeX. Move '//' outside braces in
4682 XDVIINPUTS and DVIPDFMINPUTS -- not strictly needed, but
4683 consistent with how we do it everywhere else. Comment out (but
4684 otherwise retain) KPSE_DOT.
4685
4686 2003-01-11 Olaf Weber <[email protected]>
4687
4688 * kpathsea.version: Version 3.4.3.
4689
4690 * kpathsea.texi: Version 3.4.3.
4691
4692 * configure.in: Version 3.4.3.
4693
4694 2003-01-08 Olaf Weber <[email protected]>
4695
4696 * texmf.in: Add TEXPSHEADERS.dvipdfm, from Thomas.
4697
4698 2002-12-25 Olaf Weber <[email protected]>
4699
4700 * tex-file.c (kpse_init_format): Add ".web" to the suffixes
4701 recognized for cweb.
4702
4703 2002-12-23 Olaf Weber <[email protected]>
4704
4705 * dir.c (dir_links): Argh. Error while merging stuff from
4706 Fabrice.
4707
4708 * kpathsea.version: Version 3.4.2.
4709
4710 * configure.in: Version 3.4.2.
4711
4712 * kpathsea.texi: Version 3.4.2.
4713
4714 * tex-make.c (maketex) [WIN32]: Add program calling
4715 implementation. From Fabrice Popineau
4716 <[email protected]>.
4717
4718 * Makefile.in: Test for kpathsea.info explicitly in current
4719 directory. Some makes prepend the source dir path otherwise, which
4720 would cause installation of the info files to fail. From Thomas
4721 Esser <[email protected]>.
4722
4723 2002-12-20 Olaf Weber <[email protected]>
4724
4725 * configure.in: Version 3.4.1.
4726
4727 * kpathsea.texi: Version 3.4.1.
4728
4729 * kpathsea.version: Version 3.4.1.
4730
4731 * tex-file.c (add_suffixes): Removed function.
4732 (SUFFIXES, ALT_SUFFIXES): Use kpse_set_suffixes instead of
4733 add_suffixes.
4734
4735 * tex-make.c (kpse_make_tex): On second thought, we should not get
4736 dirseps in these names, ever.
4737
4738 2002-12-17 Olaf Weber <[email protected]>
4739
4740 * tex-make.c (maketex): Be sure to set ret to NULL if there's
4741 nothing to return. From Akira Kakuto
4742 <[email protected]>.
4743
4744 2002-12-15 Olaf Weber <[email protected]>
4745
4746 * tex-file.c: Properly terminate MKTEXPK_ARGS with a NULL.
4747 Spotted by Akira Kakuto <[email protected]>.
4748
4749 2002-12-14 Olaf Weber <[email protected]>
4750
4751 * kpathsea.texi: Version 3.4.0.
4752
4753 * kpathsea.version: Version 3.4.0.
4754
4755 * configure.in: Version 3.4.0.
4756
4757 * texmf.in: Typo in TEXINPUTS.pdfemex-pl.
4758
4759 * xbasename.c (xbasename): Remove redundant call to strlen. From
4760 Fabrice.
4761
4762 * tex-make.c (misstex): Update to print command line correctly.
4763 (maketex): Handle argv style array for command. For unix case, call
4764 fork and exec directly instead of using popen.
4765 (kpse_make_tex): Handle argv style array for defining a command. Be
4766 very restrictive about what a name passed may contain -- this may
4767 well break somethings.
4768
4769 * tex-file.h (kpse_format_info): Instead of having programs args
4770 be a single string, use an argv style array.
4771
4772 * tex-file.c (init_maketex): Change to store command line as an
4773 array of arguments.
4774 [MKTEXPK_ARGS]: Define list of strings instead of single string.
4775 (kpse_init_format): Update debugging code to match new
4776 kpse_format_info structure.
4777
4778 * progname.c [WIN32]: Updates from Fabrice.
4779
4780 * pathsearch.h: Typo in comment.
4781
4782 * pathsearch.c: Typo in comment.
4783
4784 * kpsewhich.c: Correct copyright notice.
4785
4786 * hash.c (hash_normalized): New function.
4787 (hash_insert_normalized): New function.
4788 [MONOCASE_FILENAMES]: Normalize to lower case, not upper case, because
4789 that's what in the ls-R files we distribute.
4790
4791 * fontmap.c (map_file_parse): Use hash_insert_normalized. Again,
4792 we assume the contents of font maps are already normalized.
4793
4794 * expand.c (kpse_expand_kpse_dot): Typo in comment.
4795 (brace_expand): Clarify the comment.
4796
4797 * dir.c (dir_p) [WIN32]: safe_beg_of_path -> kpse_normalize_path.
4798 From Fabrice.
4799 (dir_links) [WIN32]: Changes to code that stores and retrieves
4800 integers from pointers.
4801
4802 * db.c (db_build): Call hash_insert_normalized -- names from the
4803 ls-R file should be normalized already.
4804 (alias_build): Call hash_insert_normalized -- names from the alias
4805 file should be normalized already.
4806 (kpse_db_insert): Note that we call hash_insert here deliberately.
4807
4808 * hash.h (hash_insert_normalized): New function.
4809
4810 * concat.c (concat): Start strcat at the end of the previous
4811 strcpy.
4812
4813 * absolute.c (kpse_absolute_p) [WIN32]: Remove explicit test for
4814 UNC names, they're already covered by the test for names starting
4815 with IS_DIR_SEP.
4816 [TEST] (main): Added, from Fabrice.
4817
4818 2002-11-13 Olaf Weber <[email protected]>
4819
4820 * kpathsea.version: To 3.3.11.
4821
4822 * kpathsea.texi: To 3.3.11.
4823
4824 * configure.in: To 3.3.11.
4825
4826 2002-11-12 Olaf Weber <[email protected]>
4827
4828 * cnf.c (do_line): First check whether len-1 exists, then access
4829 it, rather than the other way round. Spotted by Joern Clausen
4830 <[email protected]>.
4831
4832 * texmf.in: obj_tab_size.context is now redundant. From Thomas.
4833
4834 * mktextfm: Use the same detection mechanism for mf-nowin as
4835 mktexpk. From Thomas.
4836
4837 2002-11-11 Olaf Weber <[email protected]>
4838
4839 * kpathsea.version: Version 3.3.10.
4840
4841 * kpathsea.texi: Version 3.3.10.
4842
4843 * configure.in: Version 3.3.10.
4844
4845 * texmf.in: Disable parse_first_line by default (sorry). Enlarge
4846 a number of constants in general, as opposed to defining lots of
4847 context-specific versions.
4848
4849 * progname.c (remove_dots): We did not correctly handle paths with
4850 ../.. in them. There is still one corner case left, if the path
4851 would try to go to the "parent" of the root directory.
4852
4853 * mktextfm: Test for mf-nowin in a shubshell. Otherwise error
4854 messages could end up being printed if mf-nowin does not exist.
4855
4856 * mktexpk: Test for mf-nowin in a subshell.
4857
4858 2002-10-25 Olaf Weber <[email protected]>
4859
4860 * kdefault.c (kpse_expand_default): Simplify the life of the
4861 callers by always returning allocated memory, so the returned
4862 string can be freed. John W. Eaton <[email protected]>
4863 requested this.
4864
4865 2002-10-22 Olaf Weber <[email protected]>
4866
4867 * withenable.ac: Correct handling of mktexfmt option.
4868
4869 * tex-file.c: Add .oft to regcognized suffixes for tex_format.
4870
4871 * mktexupd: Correct Thomas' email address.
4872
4873 * mktextfm: Correct Thomas' email address.
4874
4875 * mktexpk: Correct Thomas' email address.
4876
4877 * mktexnam.opt: Correct Thomas' email address.
4878
4879 * mktexnam: Correct Thomas' email address.
4880
4881 * mktexmf: Correct Thomas' email address.
4882
4883 * mktexlsr: Correct Thomas' email address.
4884
4885 * mktexdir.opt: Correct Thomas' email address.
4886
4887 * mktexdir: Correct Thomas' email address.
4888
4889 * mktex.opt: Correct Thomas' email address.
4890
4891 * kpathsea.version: Update to 3.3.9.
4892
4893 * kpathsea.texi: Update to 3.3.9.
4894
4895 * configure.in: Update to 3.3.9.
4896
4897 * common.ac: Correct handling of mktexmft option.
4898
4899 2002-10-16 Olaf Weber <[email protected]>
4900
4901 * tex-make.c (kpse_make_tex): Move the test for problematic
4902 filenames so we only do this when we're actually willing to make a
4903 new file.
4904
4905 2002-10-11 Olaf Weber <[email protected]>
4906
4907 * kpathsea.texi: Update date/version to 3.3.8.
4908
4909 * NEWS: Update for 3.3.8.
4910
4911 * configure.in: Version 3.3.8.
4912
4913 * kpathsea.version: Version 3.3.8.
4914
4915 * Makefile.in: Remove install rules for mktexfmt, as it is not a
4916 separate file.
4917
4918 2002-10-06 Olaf Weber <[email protected]>
4919
4920 * texmf.in: Expand main_memory (again).
4921
4922 * xstat.c: Remove lstat() declaration.
4923
4924 * variable.c (kpse_var_value): Check for NAME.progname in the
4925 environment before checking for NAME_progname. Both can occur,
4926 even on UNIX systems.
4927
4928 * tex-file.c (init_path): We need to check PATH.progname,
4929 PATH_programe, and PATH in the environment. PATH.progname is the
4930 "logical" way to set the name on Windows systems, and can even
4931 occur on UNIX systems if env(1) is used to set the environment
4932 variables.
4933
4934 * withenable.ac: Add --with-mktexfmt-default option. After
4935 Fabrice Popineau. He used --with-mkfmt-default, but this was
4936 changed to match the other options.
4937
4938 * texmf.in: Add XDVIINPUTS, TEXINPUTS.pdfamstex. Modiy definition
4939 of TEXMFLOCAL to match Thomas', add MKTEXFMT. All part of the
4940 TeXlive merge.
4941
4942 * tex-make.c (kpse_make_tex): Complain if a number of problematic
4943 characters are found in the requested font name -- this works in
4944 combination with a check in maketex() to prevent misuse of the
4945 system() call that starts the mktex* scripts.
4946
4947 * tex-file.c (kpse_init_format): Support for mktexfmt, from
4948 Fabrice Popineau.
4949
4950 * mktexupd: Delete CR characters at the end-of-line before doing
4951 the compare. Yet another hack for windows/unix cross-platform
4952 support.
4953
4954 * mktextfm: TeXlive merge: support for mf-nowin.
4955
4956 * mktexpk: TeXlive merge: considerably reorganized to support use
4957 of mf-nowin.
4958
4959 * mktexnam: Additional definitions for the LH fonts. TeXlive
4960 merge.
4961
4962 * mktexmf: Additional definitions for the LH fonts. TeXlive
4963 merge.
4964
4965 * common.ac: Add support for MAKE_TEX_FMT. From Fabrice Popineau.
4966
4967 * acconfig.h [MAKE_TEX_FMT_BY_DEFAULT] Added. After Fabrice
4968 Popineau.
4969
4970 2002-07-16 Olaf Weber <[email protected]>
4971
4972 * kpsewhich.c (find_format): Remove special case for pdftex.cfg.
4973 Not needed.
4974
4975 * kpsewhich.c (find_format): Hard-code format types for pdftex.cnf
4976 and pdftex.map.
4977
4978 2002-07-08 Olaf Weber <[email protected]>
4979
4980 * mktex.opt: Limit permissions on $TEMPDIR.
4981
4982 * mktexlsr: Limit permissions on tmp directory.
4983
4984 2002-06-04 Olaf Weber <[email protected]>
4985
4986 * texmf.in: Remove setting of src_specials: it will be ignored
4987 anyway as we'll only allow it to be set from the command line.
4988
4989 2002-05-28 Olaf Weber <[email protected]>
4990
4991 * mktexdir: Guard $KPSE_DOT with quotes. From Emmanuel_Thom\'e
4992 <[email protected]>.
4993
4994 2002-04-01 Olaf Weber <[email protected]>
4995
4996 * mktexlsr: Strip a trailing CR before testing the first line of
4997 an ls-R file. Needed for interoperability with Windows (sigh).
4998
4999 * tex-make.c (maketex): Use a literal "r" in the popen command, as
5000 (under UNIX) it tends not to understand "rb", and we're generating
5001 text anyway.
5002
5003 2001-11-27 Olaf Weber <[email protected]>
5004
5005 * kpathsea.texi: Version 3.3.7.
5006
5007 * configure.in: Version 3.3.7.
5008
5009 2001-11-25 Olaf Weber <[email protected]>
5010
5011 * types.h: Define boolean as int whenever we can. This makes the
5012 option-handling code correct (where pointer to int and pointer to
5013 boolean need to be the same type).
5014
5015 * install.texi: Update totals to (hopefully) more accurate values.
5016
5017 2001-11-19 Olaf Weber <[email protected]>
5018
5019 * line.c (read_line): Add prototype.
5020
5021 2001-11-18 Olaf Weber <[email protected]>
5022
5023 * kpathsea.version: Version 3.3.6.
5024
5025 * kpathsea.texi: Version 3.3.6.
5026
5027 * configure.in: Version 3.3.6.
5028
5029 * xgetcwd.c: Changes to keep C++ compilers from choking.
5030
5031 * xdirname.c: Changes to keep C++ compilers from choking.
5032
5033 * variable.c: Changes to keep C++ compilers from choking.
5034
5035 * str-list.c: Changes to keep C++ compilers from choking.
5036
5037 * readable.c: Add pathsearch.h to included headers, for
5038 kpse_normalize_path.
5039
5040 * pathsearch.c: Changes to keep C++ compilers from choking.
5041
5042 * path-elt.c: Changes to keep C++ compilers from choking.
5043
5044 * make-suffix.c: Changes to keep C++ compilers from choking.
5045
5046 * line.c: Changes to keep C++ compilers from choking.
5047
5048 * kpsewhich.c: Changes to keep C++ compilers from choking.
5049
5050 * kdefault.c: Changes to keep C++ compilers from choking.
5051
5052 * fontmap.c: Changes to keep C++ compilers from choking.
5053
5054 * fn.h (fn_grow): Second argument is a const_string, not a generic
5055 address.
5056
5057 * fn.c (fn_grow): Second argument is a const_string, not generic
5058 address.
5059
5060 * expand.c: Add a few casts to ensure a C++ compiler wouldn't
5061 choke.
5062
5063 * dir.c (dir_links): Replace a conditional expression with an
5064 if-then version.
5065
5066 * db.c: Add a few casts, rename 'try', all to ensure a C++
5067 compiler wouldn't choke.
5068
5069 * cnf.c: Add a few casts, rename 'try', all to ensure a C++
5070 compiler wouldn't choke.
5071
5072 * c-proto.h: Addtional P*H and P*C macros for functions with up to
5073 17 arguments.
5074
5075 2001-11-14 Olaf Weber <[email protected]>
5076
5077 * readlink.c (main): Add prototype.
5078
5079 * kpsewhich.c (main): Add prototype.
5080
5081 * kpsestat.c (main): Add protype.
5082
5083 * c-pathch.h [WIN32] (IS_UNC_NAME): An unc name can be //<digit>
5084 as well as //<letter>.
5085
5086 * access.c (main): Prototype.
5087
5088 2001-11-10 Olaf Weber <[email protected]>
5089
5090 * kpathsea.version: Version 3.3.5.
5091
5092 * kpathsea.texi: Version, date.
5093
5094 * configure.in: Version 3.3.5.
5095
5096 * texmf.in: Additional entries for mex-pl, platex-pl, pdfplatex,
5097 pdfmex-pl, pdfemex, pdfemex-pl. As usual, ConTeXt wants more
5098 space.
5099
5100 * mktexnam: First set defaults, then modify for explicit
5101 destination, not the reverse. From Thomas.
5102
5103 * mktex.opt: Preserve return code over trap. From Thomas.
5104
5105 * kpsewhich.man: Typo.
5106
5107 2001-10-30 Olaf Weber <[email protected]>
5108
5109 * configure.in: To 3.3.4.
5110
5111 * kpathsea.version: To 3.3.4.
5112
5113 * mktexnam.opt: Robustness fix for handling of NAME. Minor
5114 changes in the handling of the defaults when a name isn't found in
5115 the supplier or typeface maps.
5116
5117 * tex-file.c: Add ".ch" as alternate suffix for kpse_web_format
5118 and kpse_cweb_format.
5119
5120 * readable.c [main]: Call kpse_normalize_path.
5121
5122 * progname.c [WIN32]: Update from Fabrice.
5123
5124 * pathsearch.h [WIN32]: Remove prototype for safe_beg_of_path.
5125 Add prototype for kpse_normalize_path.
5126
5127 * pathsearch.c (path_search) [WIN32]: Remove call to
5128 safe_beg_of_path.
5129 (path_search): Add call to kpse_normalize_path.
5130
5131 * expand.c (kpse_path_expand): Don't strip devices and such here,
5132 as we're doing that in kpse_element_dirs anyway.
5133
5134 * elt-dirs.c [WIN32]: Remove safe_beg_of_path.
5135 (kpse_normalize_path): Replaces safe_beg_of_path, but is defined on
5136 all architectures.
5137
5138 * dir.c [WIN32]: Remove safe_beg_of_path prototype here.
5139
5140 * common.ac: Test whether libm exists. If it does, we
5141 unconditionally link with it, which is probably wrong.
5142
5143 * cnf.c [__NetBSD__]: Define unix.
5144
5145 * c-pathch.h [IS_UNC_NAME]: Define on all architectures.
5146
5147 * Makefile.in (distdir): Add *.ftp to destination directory.
5148
5149 2001-09-26 Olaf Weber <[email protected]>
5150
5151 * texmf.in: Add support for Web and Cweb files (kpse_web_format,
5152 kpse_cweb_format). Requested by Wlodek Bzyl.
5153
5154 * tex-file.h, tex-file.c: Add support for Web and Cweb files
5155 (kpse_web_format, kpse_cweb_format). Requested by Wlodek Bzyl.
5156
5157 2001-07-23 Olaf Weber <[email protected]>
5158
5159 * common.ac [kb_cv_func_putenv_malloc]: Add declaration for
5160 malloc, which testing on IA64 revealed to be missing.
5161
5162 2000-08-25 Olaf Weber <[email protected]>
5163
5164 * mktexlsr: Changed the fix for NeXT.
5165
5166 2000-08-05 Olaf Weber <[email protected]>
5167
5168 * kpathsea.texi: Bump version, date.
5169
5170 * kpathsea.version: Bump version.
5171
5172 * configure.in: Update for 3.3.3.
5173
5174 * NEWS: Update for 3.3.3.
5175
5176 * mktexlsr: On NeXT, 'rm -rf ' will recursively remove the current
5177 directory. This is bad if you're in / and are root.
5178
5179 2000-05-25 Olaf Weber <[email protected]>
5180
5181 * lib.h [MONOCASE_FILENAMES]: Parenthesis was omitted in
5182 FILESTRNCASEEQ. Found by Fabrice.
5183
5184 2000-04-26 Olaf Weber <[email protected]>
5185
5186 * unixtex.texi: Added notes that web2c is bare-bones, and that the
5187 texk/texklib packages may contain older components.
5188
5189 2000-04-21 Olaf Weber <[email protected]>
5190
5191 * progname.c: Add P?C macros to functions that lacked them.
5192
5193 * lib.h [STREQ,STRNEQ,FILESTRCASEEQ,FILESTRNCASEEQ]: If any
5194 argument is NULL, compare unequal.
5195
5196 2000-04-13 Olaf Weber <[email protected]>
5197
5198 * tex-hush.c (kpse_tex_hush): Check for "all" and "none" first,
5199 then look for more specific switches. This fixes the most common
5200 case of problems due to non-reentrancy of kpse_path_element.
5201
5202 * kpathsea.texi: Correct example of brace expansion. Document
5203 TEX_HUSH = none. Found by Tijs Michels <[email protected]>.
5204
5205 * texmf.in: Document the use of TEX_HUSH = none.
5206
5207 2000-04-03 Olaf Weber <[email protected]>
5208
5209 * texmf.in: Add variable for src_specials. Increase arrays for
5210 context (again).
5211
5212 * xopendir.c [WIN32]: Only define xclosedir.
5213
5214 * kpsewhich.man: Spelling correction.
5215
5216 * getopt.h [WIN32]: For definition of __STDC__ to 1.
5217
5218 2000-04-02 Olaf Weber <[email protected]>
5219
5220 * xopendir.c [WIN32]: Define neither xopendir nor xclosedir. From
5221 Han The Thanh <[email protected]>.
5222
5223 * xputenv.c (xputenv): The WIN32 conditional code is also valid
5224 for DJGPP. From Fabrice.
5225
5226 * xmalloc.c (xmalloc): Allocate 1 byte if passed size 0.
5227
5228 * xdirname.c (xdirname): Changes for Win32 from Fabrice.
5229
5230 * tex-file.h: Prototype for kpse_set_suffixes. From Fabrice.
5231
5232 * tex-file.c (kpse_set_suffixes): New function, added by Fabrice.
5233
5234 * readable.c: Win32-related changes from Fabrice.
5235
5236 * progname.c [WIN32]: Various changes from Fabrice.
5237
5238 * pathsearch.h [WIN32]: Declare safe_beg_of_path. From Fabrice.
5239
5240 * pathsearch.c (path_search [WIN32]): Use safe_beg_of_path. From
5241 Fabrice.
5242
5243 * kpsestat.c: Remove WIN32 define. From Fabrice.
5244
5245 * hash.c [MONOCASE_FILENAMES]: Change for the WIN32 case from
5246 Fabrice.
5247
5248 * getopt.h [WIN32]: Changes from Fabrice.
5249
5250 * getopt.c [WIN32 && ! __CYGWIN32__]: Ensure getpid is not defined
5251 before defining it. From Fabrice.
5252
5253 * lib.h: Update dir_links prototype, from Fabrice.
5254
5255 * elt-dirs.c: Win32 related changes from Fabrice.
5256
5257 * dir.c: Various Win32-related changes from Fabrice.
5258
5259 * config.h: Various changes for the DOS famility of systems. From
5260 Fabrice.
5261
5262 * c-stat.h [WIN32]: Use oldnames.h instead of kpathsea/win32lib.h.
5263 From Fabrice.
5264
5265 * c-proto.h [WIN32]: _DLL -> KPSE_DLL, from Fabrice Popineau.
5266
5267 * c-memstr.h: Move closer to just the ANSI string functions, if
5268 necessary defined in terms of the BSD functions. After Thomas
5269 Esser <[email protected]>.
5270
5271 [FOPEN_RBIN_MODE, FOPEN_WBIN_MODE, FOPEN_ABIN_MODE]: Specify
5272 binary I/O mode on all systems, not just those where it makes a
5273 difference.
5274 [VMCMS]: Remove as it isn't used.
5275 [SET_BINARY]: Change defines which select it. From Fabrice
5276 Popineau. <[email protected]>
5277
5278 * c-ctype.h [WIN32]: On Windows, get isascii from oldnames.h.
5279 After Fabrice Popineau <[email protected]>.
5280
5281 * access.c: Replace WIN32 code with generic code.
5282
5283 2000-01-31 Olaf Weber <[email protected]>
5284
5285 * mktexlsr: Fix possible symlink exploit. By Thomas Esser
5286 <[email protected]>.
5287
5288 1999-06-28 Olaf Weber <[email protected]>
5289
5290 * mktextfm: Get rid of error message if hbf2gf cannot be found.
5291 From Thomas.
5292
5293 * tex-glyph.c: Test whether glyph_file is NULL before
5294 dereferencing it. Suggested by Julian Gilbey
5295 <[email protected]>.
5296
5297 * texmf.in: Improved comments about VARTEXMF, along lines
5298 suggested by Thomas Esser.
5299 Increased font_mem_size, as requested by Thomas.
5300
5301 * pathsearch.c (path_search): Print a message if we're debugging
5302 the search and we're not pounding the disk because an ls-R file
5303 exists but must_exist=0. This to highlight the most confusing
5304 case where disk searches do not happen.
5305
5306 * mktextfm.man: Cleanup of synopsis.
5307
5308 * mktex.opt: More robust handling of TEMPDIR, after Luc Van Eycken
5309 <[email protected]>.
5310
5311 * kpsestat.man: Remove comment about unclear message.
5312
5313 * kpsestat.c (main): Print a more understandable message when the
5314 stat call fails.
5315
5316 1999-06-20 Olaf Weber <[email protected]>
5317
5318 * pathsearch.c (log_search): If TEXMFLOG is defined, then the
5319 kpathsea library would write a space to stderr for every file
5320 logged. Fix from Charles Karney <[email protected]>.
5321
5322 1999-05-29 Olaf Weber <[email protected]>
5323
5324 * configure.in: Update version number to 3.3.1.
5325
5326 * kpathsea.version: Update version number to 3.3.1.
5327
5328 * kpathsea.texi: Update version info.
5329
5330 * mktexnam, mktexmf: Fix the LH patterns to be more specific.
5331 From Thomas.
5332
5333 * unixtex.texi: Remove node on tape distributions.
5334
5335 * texmf.in: Add platex, add comment about TEXMFDBS.
5336
5337 * tex-file.c (kpse_find_file): Fix off-by-one in tests for suffix
5338 length.
5339
5340 * pathsearch.c (log_search): Fix problem with debugging output.
5341
5342 * mktextfm: Order of options to hbf2gf turns out to matter.
5343
5344 * mktexpk: Updates from Thomas: don't remove generated fonts
5345 because of bad pos errors; better handling of type1 fonts.
5346
5347 * mktexnam: Updates from Thomas for Czech fonts. Consult fontmaps
5348 if a fonts fell into unknown/unknown.
5349
5350 * mktexmf: Updates from Thomas for Czech fonts.
5351
5352 * mktexdir: Small fix from Julian Gilbey.
5353
5354 * cnf.c: Apple's MacOsX is also unix-like.
5355
5356 * access.c: Parametrise the help string as in readlink.c.
5357
5358 * Makefile.in: Use INSTALL_DATA, not INSTALL_SCRIPT, for the *.opt
5359 files.
5360
5361 * AUTHORS: Update accounts for MakeTeX scripts and expand.c.
5362
5363 * c-memstr.h: Don't declare strstr if strstr is already a define.
5364 Suggested by Paul Vojta <[email protected]>.
5365
5366 * readlink.c: Corrected a bug in the help string (wrong program
5367 name), reported by several people.
5368
5369 1999-03-26 Olaf Weber <[email protected]>
5370
5371 * kpathsea.version: Set MINOR to 3.
5372
5373 * configure.in: Bumped KPSEVERSION to 3.3.
5374
5375 1999-03-23 Olaf Weber <[email protected]>
5376
5377 * texmf.in: More changes from Thomas, add MISCFONTS for
5378 kpse_miscfonts_format.
5379
5380 * tex-file.c: Implement kpse_miscfonts_format.
5381
5382 * tex-file.h: New format: kpse_miscfonts_format, to be used for
5383 small sets of fonts for which no real type has been defined.
5384
5385 * mktextfm: Add support for hbf fonts. (From Werner Lemberg.)
5386
5387 * withenable.ac: Remove implementation of some --with-* options.
5388
5389 * common.ac: Move implementation of some --with-* options here
5390 from withenable.ac, so the latter can be included elsewhere with
5391 kpathsea's acconfig.h or derivatives being seen.
5392
5393 1999-03-17 Olaf Weber <[email protected]>
5394
5395 * texmf.in: Size increases for context, requested by Hans Hagen.
5396
5397 * texmf.in: Update from Thomas.
5398
5399 * Makefile.in: TEXMF_CNF -> VARTEXMF
5400
5401 * mktexmf: Small fix to a case statement from Berthold H\"ollmann
5402 <[email protected]>.
5403
5404 1999-03-15 Olaf Weber <[email protected]>
5405
5406 * win32lib.h: Patch from Fabrice.
5407
5408 * variable.c (kpse_var_value, expand): Handle the VAR_progname
5409 construct. After Julian Gilbey <[email protected]>.
5410
5411 * tex-file.c: Fixes to the code that forces an update of the
5412 paths. After Julian Gilbey <[email protected]>.
5413
5414 * mktexmf: Changes to support CB font family. From Kimon
5415 Kontovasilis <[email protected]>.
5416
5417 * kpathsea.texi: Update address info of TUG.
5418
5419 * config.h: Remove outdated comment, explicitly include
5420 kpathsea/c-auto.h.
5421
5422 * cnf.c (do_line): Correct comment, remove unused code.
5423 (read_all_cnf): Strip trailing whitespace.
5424 (kpse_cnf_get): Fix memory leak.
5425 After Julian Gilbey <[email protected]>.
5426
5427 * acconfig.h: We no longer use this for all kpathsea using
5428 programs, just kpathsea itself. Thus the WEB2CVERSION macro goes,
5429 as does other stuff that belongs to web2c or xdvik.
5430
5431 * Makefile.in: Allow the c-auto.h file to be installed.
5432
5433 1999-02-18 Olaf Weber <[email protected]>
5434
5435 * mktex.opt: Document nomfdrivers option.
5436
5437 * mktextfm: Implement nomfdrivers option.
5438
5439 * mktexpk: Implement nomfdrivers option.
5440
5441 * install.texi: Document new option: nomfdrivers.
5442
5443 * kpsewhich.man: Document how search parts are determined.
5444
5445 * mktexlsr: Really skip empty components. From Thomas.
5446
5447 * tex-file.c (kpse_reset_program_name): Don't free the old paths,
5448 they may not have been allocated on the heap.
5449
5450 1999-02-16 Olaf Weber <[email protected]>
5451
5452 * tex-file.c (kpse_reset_program_name): Ensure that when the
5453 program name changes, the various paths will indeed be updated.
5454
5455 1999-02-14 Olaf Weber <[email protected]>
5456
5457 * mktexupd: Fix test whether argument is a directory name. From
5458 Thomas.
5459
5460 * mktexlsr: Skip empty components.
5461
5462 * mktexnam.opt: This file is supposed to be sourced, not executed,
5463 so remove the #!. From Thomas.
5464
5465 * mktexdir.opt: This file is supposed to be sourced, not executed,
5466 so remove the #!. From Thomas.
5467
5468 * mktex.opt: This file is supposed to be sourced, not executed, so
5469 remove the #!. From Thomas.
5470
5471 * config.h: Make sure c-auto.h is included before win32lib.h,
5472 which needs definitions from the former.
5473
5474 1999-02-06 Olaf Weber <[email protected]>
5475
5476 * win32lib.h: Add pragma warning, for the S_* defines, only define
5477 them if they are not defined already.
5478
5479 * pathsearch.h (kpse_all_path_search): Add KPSEDLL, from Fabrice.
5480
5481 * debug.h (fclose): Add KPSEDLL, from Fabrice.
5482
5483 * config.h [WIN32]: Remove pragma warning. From Fabrice.
5484
5485 1999-02-04 Olaf Weber <[email protected]>
5486
5487 * withenable.ac: Rename AR_OPTS to ARFLAGS.
5488
5489 * texmf.in: Cleanup of semicolon/comma. Remove the double slash
5490 between 'fonts' and its subdirs. Sites using pseudo-TDS will have
5491 to add these by hand from now on.
5492
5493 * tex-file.c (init_path, add_suffixes): Remove __cdecl, from
5494 Fabrice.
5495
5496 * mktexmf: Special cases for 30 and 36 points, as requested by the
5497 sauter mainainer Jeroen Nijhof <[email protected]>.
5498
5499 * kpsewhich.c (main): Remove __cdecl, from Fabrice.
5500
5501 * kpsestat.c (main): Remove __cdecl, from Fabrice.
5502
5503 * install.texi: The +u flag is no longer recommended for HP-UX.
5504
5505 * getopt.h [!WIN32]: Remove define of __cdecl, from Fabrice.
5506
5507 * elt-dirs.c (safe_beg_of_path): Change return type to unsigned
5508 int, because other functions expect this.
5509
5510 * concatn.c (concatn): Remove __cdecl, from Fabrice.
5511
5512 * common.ac: sinclude from ../texk now, from Thomas.
5513
5514 * c-proto.h [!WIN32]: Removed define of __cdecl, from Fabrice.
5515
5516 * access.c (main): Removed __cdecl, from Fabrice.
5517
5518 1999-01-27 Olaf Weber <[email protected]>
5519
5520 * xputenv.c (xputenv) [WIN32]: Don't free old value, ever.
5521
5522 * win32lib.h: Fixes by Fabrice.
5523
5524 * win32lib.c: Fixes by Fabrice.
5525
5526 * version.c (kpathsea_version_string, kpse_bug_address): Add
5527 KPSEDLL, by Fabrice.
5528
5529 * variable.h (kpse_var_value, kpse_var_expand): Add KPSEDLL, by
5530 Fabrice.
5531
5532 * texmf.in: Change path separators back to commas, use semicolon
5533 instead of colon, correct TEXINPUTS for the pdfeTeX family,
5534 TEXPSHEADERS for the pdfTeX family. By Thomas Esser.
5535
5536 * tex-make.h (kpse_make_tex_discard_errors): Add KPSEDLL, by
5537 Fabrice.
5538
5539 * tex-make.c (maketex): Add cast to shup up a compiler. From
5540 Fabrice.
5541
5542 * tex-hush.h (kpse_tex_hush): Add KPSEDLL, by Fabrice.
5543
5544 * tex-glyph.h (kpse_find_glyph, kpse_bitmap_tolerance): Add
5545 KPSEDLL, by Fabrice.
5546
5547 * tex-glyph.c (try_resolution): Add casts to quiet a compiler.
5548 From Fabrice.
5549
5550 * tex-file.h (kpse_fallback_resolutions_string, kpse_format_info,
5551 kpse_set_program_enabled, kpse_maketex_option, kpse_init_format,
5552 kpse_find_file, kpse_open_file, kpse_reset_program_name): Add
5553 KPSEDLL, by Fabrice.
5554
5555 * tex-file.c (init_path, add_suffixes): Add __cdecl, by Fabrice.
5556 (kpse_init_format): Correct definition of "other ... files" to take
5557 different path separators into account. After Fabrice.
5558
5559 * str-list.c (str_list_concat_elements): Make loop indices
5560 unsigned to quiet compilers. By Fabrice.
5561
5562 * readable.h (kpse_readable_file): Add KPSEDLL, by Fabrice.
5563
5564 * readable.c [WIN32] (kpse_readable_file): Many changes by
5565 Fabrice.
5566
5567 * progname.h (program_invocation_name,
5568 program_invocation_short_name, kpse_program_name,
5569 kpse_set_program_name, kpse_set_progname): Add KPSEDLL, by
5570 Fabrice.
5571
5572 * progname.c: Remove my_dirname function, which returns in its own
5573 file renamed to xdirname. From Fabrice.
5574 (kpse_set_program_name) [WIN32]: Close handle. By Fabrice.
5575
5576 * proginit.h (kpse_init_prog): Add KPSEDLL, by Fabrice.
5577
5578 * pathsearch.h (kpse_path_element, kpse_element_dirs,
5579 kpse_path_search): Add KPSEDLL, by Fabrice.
5580
5581 * pathsearch.c (path_search): We now strip devices in the caller.
5582 From Fabrice.
5583
5584 * magstep.h (kpse_magstep_fix): Add KPSEDLL, by Fabrice.
5585
5586 * magstep.c (magstep, kpse_magstep_fix): Casts to quiet an unruly
5587 compiler. Added by Fabrice.
5588
5589 * line.h (read_line): Add KPSEDLL, by Fabrice.
5590
5591 * lib.h (concat, concat3, xstrdup, uppercasify, atou, same_file_p,
5592 xbasename, find_suffix, remove_suffix, make_suffix, make_prefix,
5593 extend_filename, xputenv, xputenv_int, xgetcwd,dir_p, dir_links,
5594 xfopen, xfclose, xfseek, xftell, xmalloc, xrealloc, xcalloc): Add
5595 KPSEDLL, by Fabrice.
5596 (xdirname): New function, by Fabrice.
5597
5598 * kpsewhich.c (read_command_line): Add KPSEDLL to external
5599 functions, by Fabrice.
5600 (main): Add __cdecl, by Fabrice.
5601
5602 * kpsestat.c (main): Add __cdecl, by Fabrice.
5603
5604 * hash.h (hash_table_type, hash_insert, hash_remove, hash_lookup):
5605 Add KPSEDLL, by Fabrice.
5606
5607 * hash.c [WIN32]: Different implementation of TRANSFORM, for speed
5608 reasons. From Fabrice.
5609
5610 * getopt.h: Changes for KPSEDLL, by Fabrice.
5611
5612 * fn.h (fn_init, fn_copy0, fn_free, fn_1grow, fn_grow,
5613 fn_str_grow, fn_shrink_to): Add KPSEDLL, by Fabrice.
5614
5615 * expand.h (kpse_expand, kpse_brace_expand, kpse_path_expand): Add
5616 KPSEDLL, by Fabrice.
5617
5618 * elt-dirs.c (safe_beg_of_path): New function by Fabrice. Used to
5619 strip device from a path before feeding it to expand_elt.
5620 (kpse_element_dirs): Call safe_beg_of_path.
5621
5622 * debug.h (kpathsea_debug, fopen): Add KPSEDLL, by Fabrice.
5623
5624 * db.h (kpse_db_insert): Add KPSEDLL, by Fabrice.
5625
5626 * config.h [WIN32]: Add pragma to quiet some warnings. From
5627 Fabrice.
5628
5629 * concatn.h (concatn): Add KPSEDLL. From Fabrice.
5630
5631 * concatn.c (concatn): Add __cdecl. From Fabrice.
5632
5633 * cnf.h (kpse_cnf_get): Add KPSEDLL. From Fabrice.
5634
5635 * c-std.h: Don't include math.h if we're seen be a C++ compiler.
5636 From Fabrice.
5637
5638 * c-proto.h [WIN32]: Instead of defining DllImport, define
5639 KPSEDLL. This change makes building shared libraries on windows
5640 systems work better. From Fabrice.
5641
5642 * c-pathch.h [WIN32]: IS_UNC_NAME macro added by Fabrice.
5643
5644 * access.c (main): Add __cdecl, from Fabrice.
5645
5646 * absolute.h (kpse_absolute_p): Add KPSEDLL, from Fabrice.
5647
5648 * Makefile.in: Account for the addition of xdirname.c.
5649
5650 1999-01-24 Olaf Weber <[email protected]>
5651
5652 * texmf.in: Add support for pdfeTeX.
5653
5654 * mktexpk: Correct typo: ps_topk -> ps_to_pk.
5655
5656 * mktexnam: New version from Thomas.
5657
5658 * mktexmf: Update for cs* fonts from Thomas.
5659
5660 * kpathsea.texi: Update section on brace expansion. Decided to
5661 keep the comma.
5662
5663 * db.c (kpse_db_insert): Replace basename with xbasename.
5664
5665 1999-01-19 Olaf Weber <[email protected]>
5666
5667 * kpsestat.c (main): Replace use of S_IFMT with an octal literal.
5668
5669 1999-01-14 Olaf Weber <[email protected]>
5670
5671 * texmf.in: Remove open_any, add openout_any, openin_any.
5672
5673 * str-list.h: Add prototype for str_list_concat_elements.
5674
5675 1999-01-10 Olaf Weber <[email protected]>
5676
5677 * mktextfm: Implement --foo=bar style options. From Thomas.
5678
5679 * mktexpk: Implement --foo=bar options, by Thomas. Changes for
5680 new version of gsftopk. Changes to handle ttf2pk. From Thomas.
5681
5682 * xt.ac: Remove AC_PATH_XTRA here.
5683
5684 * withenable.ac: Changes to aid cross-compiling. Minor fixes.
5685
5686 * unixtex.texi: Correct tug email address. Minor corrections.
5687
5688 * texmf.in: Minor changes, additions for context. From Thomas.
5689
5690 * tex-file.h: Use size in declaration of kpse_format_info. From
5691 Fabrice.
5692
5693 * tex-file.c (kpse_maketex_option): Initialise fmt on entry. Test
5694 whether a fmt had been specified.
5695 (kpse_init_format): Put $TEXMF into the 'other files' formats, from
5696 Thomas.
5697
5698 * str-list.c (str_list_concat_elements): New function, part of
5699 replacement for bash-derived code.
5700
5701 * progname.c (my_subdir): New implementation from Fabrice.
5702
5703 * mktexnam: Account for new release of lh fonts. Don't do subdirs
5704 if we're using $KPSE_DOT as the destination directory.
5705
5706 * mktexupd: Handle empty elements gracefully.
5707
5708 * mktexmf: Account for new release of lh fonts.
5709
5710 * mktexlsr: Minor fixes from Thomas.
5711
5712 * mktexdir: Allow for creating more directories, fixes from
5713 Thomas.
5714
5715 * mktex.opt: Add defaults for DPI and MAG.
5716
5717 * kpsewhich.man: Various minor corrections.
5718
5719 * kpsewhich.c: Begin implementing -all option. (incomplete)
5720
5721 * kpathsea.texi: Correct copyright, tug email address.
5722
5723 * install.texi: Account for new texklib.tar.gz file. Several
5724 minor corrections.
5725
5726 * expand.c: Remove bash-derived code.
5727
5728 * elt-dirs.c (do_subdir): Correct code to test whether we descend
5729 into subdirectories.
5730
5731 * db.c: Add kpathsea/c-stat.h to includes.
5732 (db_build): Correct test of '0' to 0.
5733
5734 * common.ac: Check for more functions in AC_CHECK_FUNCS, from
5735 Thomas.
5736
5737 * cnf.c: do_line: Remove premature optimization.
5738
5739 * c-proto.h: Add P8H, P8C, P9H, P9C.
5740
5741 * c-memstr.h: Revision by Thomas Esser.
5742
5743 * c-ctype.h: Add ISBLANK macro.
5744
5745 * acconfig.h: Add define guard for c-auto.h.
5746
5747 * Makefile.in: Change ../make/*.make to ../make/*.mk.
5748 Correct texmf.sed.
5749 Prevent substitution of $(texmf) in texmf.cnf in some
5750 cases.
5751 Replace semicolons with colons in paths.h.
5752
5753 1998-09-15 Olaf Weber <[email protected]>
5754
5755 * mktexlsr: Trap more signals, make script hold up better under
5756 'sh -e', from Werner Fink <[email protected]>.
5757
5758 * mktex.opt: Trap more signals, suggested by several people,
5759 particularly Thomas Gellekum.
5760
5761 1998-08-03 Olaf Weber <[email protected]>
5762
5763 * progname.c (selfdir): Interpret empty PATH element as "."
5764
5765 1998-07-26 Olaf Weber <[email protected]>
5766
5767 * tex-glyph.c (kpse_find_glyph): Memory management problem: we
5768 were deallocating a string prematurely.
5769 (try_fontmap): Test !ret before, not after, bumping the loop variable.
5770 Both reported by Werner Lemberg <[email protected]>.
5771
5772 Sun Jun 21 14:43:44 1998 Olaf Weber <[email protected]>
5773
5774 * mktexlsr: Test for the presence of the magic string in ls-R, to
5775 prevent accidentally overwriting ls-R files that are not ours.
5776 Change the code to ensure ./ in front of directory names in the
5777 presence of different output from different versions of ls.
5778
5779 Mon May 4 19:42:44 1998 Olaf Weber <[email protected]>
5780
5781 * Makefile.in (objects): Add xbasename.lo.
5782
5783 * Rename basename.c to xbasename.c.
5784
5785 * tilde.c (kpse_tilde_epxand): Handle a bare ~ gracefully.
5786
5787 * basename.c: Rename basename to xbasename and make its
5788 compilation unconditional.
5789
5790 * common.ac: Remove check for basename.
5791
5792 * acconfig.h: Remove HAVE_BASENAME.
5793
5794 * lib.h: Remove conditional declaration of basename, add
5795 unconditional declaration of xbasename.
5796
5797 * progname.c (kpse_set_program_name): Replace call of basename
5798 with xbasename.
5799
5800 Fri Apr 24 21:15:15 1998 Olaf Weber <[email protected]>
5801
5802 * install.texi: Doc fix; mention the library files for etex,
5803 pdftex, omega.
5804
5805 * pathsearch.c (kpse_path_search): Fix memory leak found by "John
5806 W. Eaton" <[email protected]>.
5807
5808 Tue Apr 7 19:46:07 1998 Olaf Weber <[email protected]>
5809
5810 * kpsewhich.c (find_format): Correct an off-by-one error by using
5811 the found value instead of a faulty comparison.
5812
5813 Mon Mar 16 19:25:15 1998 Olaf Weber <[email protected]>
5814
5815 * configure.in (KPSEVERSION): version 3.2.
5816
5817 * mktex.opt: Set MT_MKTEXNAM_OPT, MT_MKTEXDIR_OPT here.
5818
5819 * mktexnam: Move setting of MT_MKTEXNAM_OPT to mktex.opt.
5820
5821 Sun Mar 15 19:55:30 1998 Olaf Weber <[email protected]>
5822
5823 * c-proto.h: Add P7H and P7C macros.
5824
5825 Sat Mar 14 00:10:20 1998 Olaf Weber <[email protected]>
5826
5827 * win32lib.h: Patch from Fabrice.
5828
5829 * c-dir.h [WIN32]: Patch from Fabrice.
5830
5831 Fri Mar 13 23:23:33 1998 Olaf Weber <[email protected]>
5832
5833 * texmf.in: Added XDVIINPUTS and TEX4HTINPUTS.
5834
5835 Thu Mar 12 08:04:50 1998 Olaf Weber <[email protected]>
5836
5837 * win32lib.c: New version from Fabrice Popineau.
5838
5839 Wed Mar 11 19:55:10 1998 Olaf Weber <[email protected]>
5840
5841 * install.texi: Correction for description of dosnames behaviour
5842 on MS-DOS. From Eli Zaretskii.
5843
5844 Mon Mar 9 07:22:23 1998 Olaf Weber <[email protected]>
5845
5846 * mktexlsr: exit 0 if we succeeded.
5847
5848 * withenable.ac: Remove double slashes from texmfmain variable.
5849 Strictly speaking, it is a user fault when this occurs, but...
5850 From Thomas Esser.
5851
5852 Sun Mar 8 18:23:33 1998 Olaf Weber <[email protected]>
5853
5854 * tex-file.c: omkocp, omkofm -> mkocp, mkofm.
5855
5856 * texmf.in: OMKOFM, OMKOCP -> MKOFM, MKOCP.
5857
5858 * withenable.ac: omkofm, omkocp -> mkofm, mkocp.
5859
5860 Thu Mar 5 15:32:48 1998 Olaf Weber <[email protected]>
5861
5862 * texmf.in: Add OMKOCP and OMKOFM analogous to MKTEXPK.
5863
5864 * c-fopen.h [DOS]: Don't open files read-write if read suffices.
5865
5866 Wed Mar 4 23:55:35 1998 Olaf Weber <[email protected]>
5867
5868 * withenable.ac: Add options for enabling/disabling
5869 omkocp/omkofm. From John Plaice.
5870
5871 * tex-file.c (init_format): Support omkocp and omkofm instead of
5872 MakeOmegaOCP and MakeOmegaOFM programs. From John Plaice.
5873 (kpse_maketex_option): Some changes to handle ofm/ocp as well.
5874
5875 Tue Mar 3 09:02:09 1998 Olaf Weber <[email protected]>
5876
5877 * tex-make.c (kpse_make_tex): Make same exception for AMIGA as for
5878 WIN32 and MSDOS. From Andreas Scherer.
5879
5880 * PROJECTS: Update mail address.
5881
5882 * mktex.opt: Print message if VARTEXMF is not defined, then
5883 default to '$KPSE_DOT'.
5884
5885 * mktexnam: Remove use of "shell !" from tests involving varfonts
5886 feature. Simplify the code a bit.
5887
5888 Fri Feb 27 19:55:11 1998 Olaf Weber <[email protected]>
5889
5890 * withenable.ac: Replace use of -a in test with && and second
5891 test. From Thomas Esser <[email protected]>.
5892
5893 Tue Feb 24 13:16:56 1998 Olaf Weber <[email protected]>
5894
5895 * Makefile.in: Corrections for building/installing outside source
5896 dir. From Vladimir Volovich <[email protected]>.
5897
5898 * mktexnam.opt: Correction MT_PKNAME -> MT_PKBASE to get dosnames
5899 feature to work. From Eli Zaretskii.
5900
5901 Mon Feb 23 10:17:22 1998 Olaf Weber <[email protected]>
5902
5903 * mktex.opt, mktexlsr: Use test ... || test ... instead of test
5904 ... -o ... .
5905
5906 * mktexnam.opt: Remove use of MT_PKPART, MT_MFPART, and MT_TFMPART
5907 variables, since they're no longer defined.
5908
5909 * expand.c (kpse_expand_kpse_dot [MSDOS]): A very ugly hack to
5910 deal with a very broken feature on some MSDOS systems. After Eli
5911 Zaretskii.
5912
5913 Fri Feb 20 17:18:19 1998 Olaf Weber <[email protected]>
5914
5915 * Makefile.in (texmf.sed): Remove VARTEXMF.
5916
5917 * install.texi: Update for changes to varfonts.
5918
5919 * kpathsea.texi: Remove references to format numbers.
5920
5921 * kpsewhich.c (read_command_line): Remove printing of and support
5922 for format numbers.
5923
5924 * mktex.opt: Remove VARTEXMF and related stuff, set dosnames for
5925 DOS.
5926
5927 * mktexnam: Remove use of VARTEXMF, introduce SYSTEXMF, change
5928 semantics of varfonts.
5929
5930 * mktexnam.opt: Remove reference to VARTEXMF, move setting of
5931 dosnames for DOS to mktex.opt.
5932
5933 * mktexpk: Boilerplate tests.
5934
5935 * mktexupd: Boilerplate tests.
5936
5937 * progname.c: Move kpse_reset_program_name to tex-file.c. This
5938 move means progname.o doesn't use a common object from tex-file.o
5939 anymore. The NeXT linker would omit tex-file.o, then complain
5940 about an undefined symbol. Thanks to Gregor Hoffleit
5941 <[email protected]> and Melissa O'Neill
5942 <[email protected]> for their help solving this.
5943
5944 * progname.h: Move kpse_reset_progname to tex-file.h.
5945
5946 * tex-file.c: Move kpse_reset_program_name here from progname.c.
5947
5948 * tex-file.h: Move kpse_reset_program_name here from progname.h.
5949
5950 * texmf.in: Remove VARTEXMF, add SYSTEXMF.
5951
5952 * withenable.ac: Boilerplating, a correction of the default case
5953 of the --enable-multiplatform test.
5954
5955 Mon Feb 16 09:46:47 1998 Olaf Weber <[email protected]>
5956
5957 * mktexpk: Dropped a $ in the wrong place, which made chmod look
5958 for a non-existent file.
5959
5960 * Makefile.in (texmf.sed): Include the substitution for @web2c@ in
5961 TEXMFCNF.
5962
5963 * Makefile.in (texmf.sed): Remove traling / from VARTEXMF
5964 substitution.
5965 (stamp-paths): Replace @ with % as sed delimiter. The @ causes
5966 problems because it used in afs filenames. Spotted by Matthias
5967 Clasen.
5968
5969 * bugs.texi: Since the NeXT(step) problem is likely to be solved
5970 now, make description of bug less definite.
5971
5972 * common.ac: Remove check for readlink.
5973
5974 * kpathsea.texi: Document changes to search algorithm.
5975
5976 * mktexlsr: Use % not @ as sed delimiter.
5977
5978 * mktexmf: Correct permissions problem.
5979
5980 * mktexnam: Use % not @ as sed delimiter.
5981
5982 * mktexpk: Use % not @ as sed delimiter. Correct permissions
5983 problem. Set permissions before the file is moved into place.
5984
5985 * mktextfm: Use % not @ as sed delimiter. Correct permissions
5986 problem. Set permissions before the file is moved into place.
5987
5988 * mktexupd: Use % not @ as delimiter for sed.
5989
5990 * readlink.c (main): Use S_ISLNK instead of HAVE_READLINK to test
5991 whether readlink is a known function.
5992
5993 * tex-file.c (kpse_init_format): Make changes corresponding to the
5994 movement of kpse_tfm_format.
5995 (kpse_find_file): Reorganize searches; fold code of search #3 into
5996 #1 and #2; fold #5 into #2. We now have two searches, plus an
5997 attempt to create missing files.
5998
5999 * tex-file.h: Move kpse_tfm_format before kpse_ofm_format. Might
6000 as well put it near the front then, because it is an often-used
6001 format.
6002
6003 * texmf.in: VARTEXFONTS uses @vartexfonts@ so it can be filled in
6004 from the Makefile. OFMFONTS changed to explicitly use TFMFONTS.
6005 TEXMCNF uses @web2c@ rather than @web2cdir@.
6006
6007 * withenable.ac: Do not force default for --enable-multiplatform,
6008 so that we can inherit one from a script that calls us.
6009
6010 Tue Feb 10 17:59:26 1998 Olaf Weber <[email protected]>
6011
6012 * withenable.ac: Don't abort configure run if the main texmf tree
6013 isn't found.
6014
6015 * acconfig.h: Add EPSFWIN to the undefs.
6016
6017 * install.texi: Update section on the handling of options by
6018 mktexpk.
6019
6020 * mktex.opt: Comment on the duplication of the ls_R_magic string.
6021
6022 * mktexlsr: Copy code from mktex.opt to mktexlsr, so the latter
6023 can run without the need to find the former.
6024
6025 * mktextfm, mktexpk: Replace positional options with normal option
6026 handling.
6027
6028 * mktextfm.man, mktexpk.man: Update documentation for the new
6029 option handling.
6030
6031 * tex-file.c: Update the MKTEXPK_ARGS string for the new
6032 option-handling of mktexpk.
6033
6034 * tex-make.c (kpse_make_tex): We pass the raw / to mktexpk in the
6035 --mfmode switch when appropriate; remove unset_mode variable.
6036 Update comments to reflect new situation.
6037
6038 * kpathsea.texi: Note that empty path components are now ignored
6039 in stead of expanded to cwd.
6040
6041 * line.c: Add prototype and clean up headers.
6042
6043 * mktex.opt, mktexlsr, mktexmf, mktexnam, mktexpk, mktextfm,
6044 mktexdir, mktexupd: Make "caching" of some variables and file
6045 names in the environment possible. Provide defaults in case the
6046 'web2c files' format doesn't work for finding files. Suggested by
6047 Thomas Esser.
6048
6049 * withenable.ac: Give a better message when the main texmf tree
6050 isn't found.
6051
6052 Sat Feb 7 01:00:49 1998 Olaf Weber <[email protected]>
6053
6054 * elt-dirs.c (kpse_element_dirs): Return NULL, not the cwd, if
6055 we're given an empty string.
6056
6057 * mktex.opt: Determine VARTEXFONTS here.
6058
6059 * mktexnam: Move determination of VARTEXFONTS to mktex.opt.
6060
6061 Fri Feb 6 17:59:59 1998 Olaf Weber <[email protected]>
6062
6063 * config.h: Update definition of KPATHSEA to 32.
6064
6065 * expand.c (kpse_path_expand): Do not recursively expand a leading
6066 //, as in pathsearch.c.
6067
6068 * kpsewhich.man: Update for --epxand-braces option.
6069
6070 * texmf.in: Put texmf.local before texmf in the TEXMFCNF path.
6071
6072 * withenable.ac: Make code for finding texmfmain more robust.
6073
6074 Wed Feb 4 20:39:10 1998 Olaf Weber <[email protected]>
6075
6076 * readable.c: Correct typo: '#elsif' -> '#elif'.
6077
6078 Tue Feb 3 17:08:34 1998 Olaf Weber <[email protected]>
6079
6080 * kpathsea.texi: Update for changes to kpsewhich.
6081
6082 Mon Feb 2 21:12:06 1998 Olaf Weber <[email protected]>
6083
6084 * xputenv.c: Undid last patch from Fabrice -- it was a "fix" that
6085 suppresses warnings on his compiler, and engenders them on mine.
6086
6087 Sun Feb 1 16:08:49 1998 Olaf Weber <[email protected]>
6088
6089 * lib.h [!DOSISH]: Correct definition of FILESTRNCASEEQ.
6090
6091 * mktexmf: Correct call to mktexnam.
6092
6093 * kpsewhich.c: New option --expand-braces.
6094 (expand_path): Removed.
6095 (main): Add code for --expand-braces, account for new definition of
6096 kpse_path_expand.
6097
6098 * expand.h: Rename kpse_path_expand to kpse_brace_expand. Add new
6099 kpse_path_expand.
6100
6101 * expand.c (kpse_path_expand): New implementation, based on
6102 path_expand from kpsesewhich.c.
6103 (kpse_brace_expand): The old kpse_path_expand. Change calls to
6104 kpse_brace_expand to kpse_brace_expand_element.
6105 (kpse_brace_expand_element): The old kpse_brace_expand, but with
6106 static linkage. Changes calls to kpse_brace_expand to
6107 kpse_brace_expand_element.
6108
6109 * tex-file.c (init_path): Replace kpse_path_expand with
6110 kpse_brace_expand.
6111
6112 * texmf.in: Correct input variables for mltex variants. Add pdftex
6113 to TEXPSHEADERS path.
6114
6115 Thu Jan 29 16:15:44 1998 Olaf Weber <[email protected]>
6116
6117 * Makefile.in: Update for readlink.
6118
6119 * common.ac: Test for readlink function.
6120
6121 * access.c, kpsestat.c: No need to explicitly include c-auto.h.
6122
6123 * mktex.opt: Adapt to new way of finding the script. Do the
6124 actual lookup for mktexnam, mktexdir, and mktexupd here. Make a
6125 bit more robust.
6126
6127 * mktexlsr: Make file handling more robust, use kpsewhich to find
6128 supporting scripts like mktex.opt and mktexnam, use readlink to
6129 trace symlinks.
6130
6131 * mktexupd, mktexpk, mktextfm, mktexmf, mktexdir, mktexnam: Make
6132 file handling more robust, use kpsewhich to find supporting
6133 scripts like mktex.opt and mktexnam, simplify somewhat.
6134
6135 * mktexnam.opt: Make handling of names more robust.
6136
6137 * readlink.c, readlink.man: New files.
6138
6139 * withenable.ac: Add --enable-multiplatform option. Attempt to
6140 find the texmf directory, and complain if we fail to do so.
6141
6142 * Makefile.in (texmf.sed): Remove sed for dbtex, dbfonts, change
6143 VARTEXFONTS to comply with texmf.in, and update comment.
6144
6145 * c-vararg.h: Comment update from Peter Breitenlohner.
6146
6147 Wed Jan 28 20:36:56 1998 Olaf Weber <[email protected]>
6148
6149 * Makefile.in: Keep c-auto.h out of kpathsea.h.
6150
6151 * c-stat.h [WIN32]: Modification from Fabrice.
6152
6153 * dir.c [WIN32]: Extensive modifications from Fabrice.
6154
6155 * kpsestat.c, kpsewhich.c: Replace exit with return from main.
6156 From Fabrice.
6157
6158 * readable.c [WIN32]: Separate definition of READABLE. From
6159 Fabrice Popineau.
6160
6161 * texmf.in: Remove almost all @var@ stuff, and just assume TDS for
6162 all.
6163
6164 * win32lib.h: Modifications from Fabrice.
6165
6166 * xputenv.c (xputenv): Minor fix from Fabrice.
6167
6168 * win32lib.c: New file from Fabrice Popineau. Replacement
6169 functions for Win32.
6170
6171 Sun Jan 25 20:02:21 1998 Olaf Weber <[email protected]>
6172
6173 * texmf.in: Increase buf_size to 50000 (from 10000).
6174
6175 * tex-file.c (kpse_find_file): In the first search, postpone
6176 pounding the disk until all possible suffixes have been tried.
6177
6178 * line.c (read_line): Accept any of NL, CR, and CRLF as
6179 end-of-line.
6180
6181 Fri Jan 23 14:45:19 1998 Olaf Weber <[email protected]>
6182
6183 * access.c: Use return instead of exit to get rid of some compiler
6184 warnings. From Fabrice.
6185
6186 * c-fopen.h: Changes for CYGWIN32.
6187
6188 * c-proto.h: Patch from Fabrice Popineau for Win32.
6189
6190 * kpathsea.texi: Document kpse_web2c_format,
6191 kpse_program_text_format, kpse_program_binary_format.
6192
6193 * mktex.opt, mktexdir, mktexlsr, mktexmf, mktexnam, mktexpk,
6194 mktextfm, mktexupd: Use -expand-path instead of -expand-var where
6195 possible. This makes the handling of !! more robust.
6196
6197 * tex-file.c (kpse_find_file): Handle other cases than precisely
6198 one extension in search number 3.
6199 (kpse_init_format): Add kpse_web2c_format, kpse_program_text_format,
6200 kpse_program_binary_format.
6201
6202 * tex-file.h: Add kpse_web2c_format, kpse_program_text_format,
6203 kpse_program_binary_format.
6204
6205 * tex-hush.c: Test the "path element" h, not the whole hush.
6206
6207 * texmf.in: Add a definition for WEB2C. Add some Omega-related
6208 parameters, from John Plaice.
6209
6210 Tue Jan 13 19:46:58 1998 Olaf Weber <[email protected]>
6211
6212 * mktexpk, mktextfm: Only move $NAME.log file if it exists and is
6213 not empty.
6214
6215 Mon Jan 12 06:22:59 1998 Olaf Weber <[email protected]>
6216
6217 * kpathsea.texi: Fixes from Gerd Neugebauer <[email protected]>.
6218
6219 Sun Jan 11 18:26:56 1998 Olaf Weber <[email protected]>
6220
6221 * mktexupd: Two changes: absence of the current tree in the ls-R
6222 path is not an error; create an ls-R file if the current tree is
6223 in the ls-R path and the file doesn't yet exist.
6224
6225 Sat Jan 10 09:55:47 1998 Olaf Weber <[email protected]>
6226
6227 * tex-hush.c: A null pointer could be fed to strcmp.
6228
6229 Fri Jan 9 21:08:45 1998 Olaf Weber <[email protected]>
6230
6231 * mktexnam: Add $COMSPEC test, and use $SEP for path separator when
6232 splitting paths. From Eli Zaretskii.
6233
6234 * mktexlsr: Correct usage for determining absolute paths. From
6235 Eli Zaretskii.
6236
6237 * common.ac: Correct code in HAVE_PROTOTYPES test.
6238
6239 Sun Jan 4 15:59:08 1998 Olaf Weber <[email protected]>
6240
6241 * Manual pages for access, kpsestat, kpsewhich, mktexlsr, mktexpk,
6242 mktexmf, mktextfm.
6243
6244 * Makefile.in: Changes for manual pages.
6245
6246 Thu Jan 1 10:11:49 1998 Olaf Weber <[email protected]>
6247
6248 * mktex.opt: Remove definition of $SEP; it is now needed before
6249 this script is sourced.
6250
6251 * mktexlsr: If necessary, add location of script to PATH.
6252
6253 * mktexupd: Put $SEP definition in script itself.
6254
6255 * xputenv.c (xputenv): Move some declarations into the "not
6256 SMART_PUTENV" block to prevent "unused" warnings.
6257
6258 Tue Dec 30 17:55:45 1997 Olaf Weber <[email protected]>
6259
6260 * install.texi, bugs.texi: Add comment about the need to use
6261 special compiler options in HP-UX.
6262
6263 * mktexpk: Use nonstopmode for mf, in case of failure move log
6264 file to working directory.
6265
6266 * mktextfm: Use nonstopmode for mf, in case of failure move log
6267 files to working directory.
6268
6269 * mktexlsr: Add comment about use in cron scripts, use SEP
6270 variable for path separator.
6271
6272 * mktexupd: Check for both new and old magic string in ls-R files,
6273 use SEP variable for path separator.
6274
6275 * mktex.opt: Pick the correct path separator for MS-DOS and UNIX.
6276 Add a more appropriate magic string for ls-R files, but keep the
6277 old one around for compatibility.
6278
6279 * Makefile.in (install-exec): Add check for original mktexlsr.
6280
6281 Thu Dec 18 20:33:56 1997 Olaf Weber <[email protected]>
6282
6283 * tex-file.c (init_path): Rewrite test whether we're initializing
6284 the kpse_cnf_format paths.
6285
6286 * tex-file.c (kpse_init_format): Initialise the binmode fields.
6287 (kpse_open_file): Use binmode field.
6288
6289 * tex-file.h: Add binmode field to kpse_format_info_type.
6290
6291 * kpsewhich.c: Correct option string.
6292
6293 * tex-file.c (kpse_open_file): Assume kpse_truetype_format and
6294 kpse_type42_format are for binary files.
6295
6296 Tue Dec 16 19:13:14 1997 Olaf Weber <[email protected]>
6297
6298 * texmf.in: Don't make PKFONTS.xdvi a special case. Let all
6299 programs look in modeless. If a program shouldn't look there,
6300 give it a special PKFONTS line.
6301
6302 Mon Dec 15 18:58:01 1997 Olaf Weber <[email protected]>
6303
6304 * texmf.in: Add TTFONTS and T42FONTS.
6305
6306 * Makefile.in (stamp-paths): The regular expression for variables
6307 had to be amended for T42FONTS.
6308
6309 * tex-file.c (kpse_init_format): Add kpse_truetype_format and
6310 kpse_type42_format.
6311
6312 * tex-file.h: Add kpse_truetype_format and kpse_type42_format to
6313 kpse_file_format_type.
6314
6315 Sat Dec 13 11:24:23 1997 Olaf Weber <[email protected]>
6316
6317 * xputenv.c (xputenv [WIN32]): This system deletes an environment
6318 variable if it is set to "", with consequences for the code that
6319 reclaims the space. From Fabrice Popineau.
6320
6321 Fri Dec 12 10:44:02 1997 Olaf Weber <[email protected]>
6322
6323 * acconfig.h: Add HAVE_PROTOTYPES.
6324
6325 * c-proto.h, c-vararg.h: Test for HAVE_PROTOTYPES.
6326
6327 * common.ac: Add explicit test for prototypes, instead of relying
6328 on __STDC__.
6329
6330 * hash.c, hash.h (hash_remove): New function.
6331
6332 * install.texi: Rewritten passage on font destinations, corrected
6333 reference to Triptrap node in web2c.
6334
6335 * mktexpk, mktextfm: When mv fails, try cp. Matters on MS-DOS.
6336
6337 * progname.c (selfdir): Test whether we are a directory, rather
6338 than whether we are not a link or file.
6339
6340 * texmf.in: Change openout_any to paranoid.
6341
6342 Tue Dec 9 19:08:04 1997 Olaf Weber <[email protected]>
6343
6344 * mktexpk: Restored test-and-move, which turns out not to be a
6345 no-op for fonts generated with gsftopk.
6346
6347 Thu Dec 4 12:53:52 1997 Olaf Weber <[email protected]>
6348
6349 * texmf.in: Add TEXINPUTS.mltex and TEXINPUTS.mllatex.
6350
6351 Tue Dec 2 12:58:04 1997 Olaf Weber <[email protected]>
6352
6353 * Makefile.in (distclean): Add stamp-paths. From Sebastian Rahtz
6354 <[email protected]>.
6355
6356 * progname.c (kpse_set_program_name [!HAVE_PROGRAM_INVOCATION_NAME
6357 && !WIN32 && !__DJGPP__]): Remember to set
6358 program_invocation_name.
6359
6360 * getopt.c: A few changes for WIN32. From Fabrice Popineau.
6361
6362 Mon Dec 1 19:08:07 1997 Olaf Weber <[email protected]>
6363
6364 * kpathsea.texi: Updated for absence of alternate TeX suffixes.
6365
6366 * kpsewhich.c: Don't complain about unkown suffixes: it's all
6367 kpse_tex_format to us.
6368
6369 * tex-file.c: Remove the interminable list of alternate TeX
6370 suffixes.
6371
6372 * Makefile.in ($(library).h): Take win32lib.h into account: it
6373 should not be included by this file, as config.h will do so if
6374 needed.
6375
6376 * progname.c (kpse_set_program_name [WIN32, __DJGPP__]): Changes
6377 from Fabrice Popineau.
6378
6379 * win32lib.h: New file. From Fabrice Popineau.
6380
6381 * config.h: Include <kpathsea/win32lib.h> instead of
6382 "../win32/win32-compat.h". From Fabrice Popineau.
6383
6384 * access.c: Include <kpathsea/config.h>. From Fabrice Popineau.
6385
6386 * absolute.c (kpse_absolute_p [WIN32]): Filenames starting with \\
6387 are absolute on this platform. From Fabrice Popineau.
6388
6389 * tex-glyph.c (try_format): Oops, kpse_format_info[format].suffix
6390 is now a list of strings.
6391
6392 Sun Nov 30 13:23:54 1997 Olaf Weber <[email protected]>
6393
6394 * texmf.in, mktex.opt, mktexdir, mktexdir.opt, mktexlsr, mktexmf,
6395 mktexnam, mktexnam.opt, mktexpk, mktextfm, mktexupd: Add a
6396 MKTEXSCRIPT variable, which is the directory where supporting
6397 scripts are found. Defaults to $TEXMFMAIN/web2c if not defined.
6398
6399 * Makefile.in, bugs.texi, db.h, install.texi, kpathsea.texi,
6400 kpsewhich.c, proginit.c, tex-file.c, tex-file.h, tex-glyph.c,
6401 tex-make.c, tex-make.h, texmf.in, withenable.ac, mktex.opt,
6402 mktexdir, mktexdir.opt, mktexlsr, mktexmf, mktexnam, mktexnam.opt,
6403 mktexpk, mktextfm, mktexupd: Changes for the great renaming...
6404
6405 Sat Nov 29 13:10:42 1997 Olaf Weber <[email protected]>
6406
6407 * The great renaming of the MakeTeX* scripts.
6408 MakeTeXPK -> mktexpk
6409 MakeTeXTFM -> mktextfm
6410 MakeTeXMF -> mktexmf
6411 MakeTeXls-R -> mktexlsr
6412
6413 MakeTeX.site -> mktex.cnf
6414 MakeTeXcommon -> mktex.opt
6415 MakeTeXmkdir -> mktexdir
6416 MakeTeXmkdir.opt -> mktexdir.opt
6417 MakeTeXnames -> mktexnam
6418 MakeTeXnames.opt -> mktexnam.opt
6419 MakeTeXupdate -> mktexupd
6420
6421 * Makefile.in (install-exec): Adapted for removal MakeTeX.cnf.
6422
6423 * MakeTeX.cnf: Removed.
6424
6425 * MakeTeXcommon: Fold MakeTeX.cnf into MakeTeXcommon.
6426
6427 * tex-file.c (kpse_init_format): Add kpse_fmt_format add ".efmt"
6428 and ".efm" to additional suffixes.
6429
6430 * db.c [DB_HASH_SIZE]: From 7603 increased to 15991.
6431
6432 * tex-file.c: Yet more suffixes for kpse_tex_format.
6433
6434 Tue Nov 25 18:19:17 1997 Olaf Weber <[email protected]>
6435
6436 * progname.c (kpse_set_program_name): Ensure that
6437 kpse_program_name doesn't get an .exe suffix. The
6438 program_invocation*name variables retain it.
6439
6440 Mon Nov 24 22:03:12 1997 Olaf Weber <[email protected]>
6441
6442 * MakeTeXls-R: When creating the ls-R file from scratch, derive
6443 its permissions from the $db_dir, not from the current dir.
6444
6445 Sun Nov 23 13:17:16 1997 Olaf Weber <[email protected]>
6446
6447 * texmf.in: Update to use : instead of , in braces.
6448
6449 * kpathsea.texi: Document use of path separator in brace
6450 expansion, note that the comma is deprecated.
6451
6452 * path-elt.c (element): Dont split within braces.
6453
6454 * expand.c (expand_amble): Break text in pieces at ENV_SEP as well
6455 as commas.
6456
6457 Sat Nov 22 19:35:30 1997 Olaf Weber <[email protected]>
6458
6459 * tex-file.c: Correction of description "PostScript header/font"
6460 to "PostScript header".
6461
6462 * db.c (kpse_db_insert): Add cast for const correctness.
6463
6464 * kpathsea.texi: Document kpse_set_program_name; updates.
6465
6466 * kpsewhich.c: Many changes to support multiple standard suffixes.
6467
6468 * progname.c (kpse_set_program_name): Add a few casts for const
6469 correctness.
6470
6471 * tex-file.c: Many changes to support lists of standard suffixes.
6472
6473 * tex-file.h: kpse_format_info_type: change type of suffix from
6474 const_string to const_string*.
6475
6476 Fri Nov 21 15:17:35 1997 Olaf Weber <[email protected]>
6477
6478 * c-proto.h: Restored AA macro, needed by revised web2c.
6479
6480 Thu Nov 20 14:23:33 1997 Olaf Weber <[email protected]>
6481
6482 * MakeTeXPK: Removed a test-and-move that is always a no-op.
6483
6484 * MakeTeXnames: A shell on FreeBSD didn't like the ${foo:=`bar`}
6485 construct.
6486
6487 Wed Nov 19 17:24:08 1997 Olaf Weber <[email protected]>
6488
6489 * MakeTeXls-R, MakeTeXMF, MakeTeXPK: Make temporary names fit into
6490 the 8.3 pattern. After Eli Zaretskii.
6491
6492 * MakeTeXTFM: Make temporary names fit into the 8.3 pattern.
6493 Allow a second optional argument. Update usage message. After
6494 Eli Zaretskii.
6495
6496 * MakeTeXcommon: Make temporary names fit into the 8.3 pattern.
6497 Do a 'cd /' before we cd to $KPSE_DOT, for MS-DOS' sake. After
6498 Eli Zaretskii.
6499
6500 * MakeTeXnames: If $DEST starts with "letter-colon-slash", it
6501 still indicates an absolute path. After Eli Zaretskii.
6502
6503 * MakeTeXnames.opt: Enable dosnames if we find COMSPEC set in the
6504 environment. This is apparently the canonical test for this kind
6505 of thing. After Eli Zaretskii.
6506
6507 * Makefile.in: Numerous small changes to make building on MS-DOS
6508 easier. In particular to the rule for texmf.sed.
6509
6510 * install.texi: Add table headers. After Eli Zaretskii.
6511
6512 * tex-file.c (kpse_open_file): Open kpse_tex_ps_header_format and
6513 kpse_pict_format files in binary mode. After Eli Zaretskii.
6514
6515 Tue Nov 18 11:50:35 1997 Olaf Weber <[email protected]>
6516
6517 * install.texi, README, Makefile.in: Changed the name of CONFIGURE
6518 to README.CONFIGURE.
6519
6520 * Makefile.in (mostlyclean): delete klibtool.version.
6521
6522 Sat Nov 15 21:13:46 1997 Olaf Weber <[email protected]>
6523
6524 * MakeTeXPK: Use quotes to ensure that test "$mf_bdpi" != $BDPI
6525 has a first argument. This occurs only in pathological
6526 circumstances, but is nevertheless annoying.
6527
6528 * texmf.in: Add TEXINPUTS.foo for omega and lambda.
6529
6530 Fri Nov 14 16:35:46 1997 Olaf Weber <[email protected]>
6531
6532 * texmf.in: Add TEXINPUTS.foo definitions for e-TeX and PDFTeX.
6533
6534 * tex-file.h: Add kpse_find_ofm and kpse_find_ovf macros.
6535
6536 * tex-file.c (kpse_find_file): Add a search for Omega.
6537
6538 Thu Nov 13 22:43:06 1997 Olaf Weber <[email protected]>
6539
6540 * progname.c (expand_symlinks): Don't call fclose on a NULL
6541 pointer. After Gary Jennejohn <[email protected]>.
6542
6543 Wed Nov 12 16:20:02 1997 Olaf Weber <[email protected]>
6544
6545 * kpsewhich.c: Use kpse_set_program_name instead of
6546 kpse_set_progname.
6547
6548 * tex-file.c, cnf.c: Use kpse_program_name instead of
6549 program_invocation_short_name.
6550
6551 * progname.h (kpse_set_program_name, kpse_reset_program_name): New
6552 functions.
6553 (kpse_program_name): New global.
6554
6555 * progname.c (kpse_set_program_name): New function, to replace
6556 kpse_set_progname. This fixes the problem that we may want to
6557 pretend to be a different program, but need the name by which we
6558 were called because that is the one for an executable and is
6559 guaranteed to exist. The pretend-name is stored in
6560 kpse_program_name.
6561 (kpse_reset_program_name): To reset kpse_program_name to a
6562 different value. It makes a half-hearted attempt to clear the
6563 search path information, so that the new name is used there as
6564 well.
6565
6566 Mon Nov 10 13:14:01 1997 Olaf Weber <[email protected]>
6567
6568 * configure.in (KPSEVERSION): version 3.1.
6569
6570 Thu Nov 6 20:25:49 1997 Olaf Weber <[email protected]>
6571
6572 * texmf.in: Corrected comment on size of max_print_line: it must
6573 at least be 60.
6574
6575 Tue Nov 4 19:08:37 1997 Olaf Weber <[email protected]>
6576
6577 * Makefile.in (install-data): Handle a split kpathsea.info.
6578
6579 * common.ac: Add a test to ensure that autoconf 2.12.1 -- the one
6580 with our own hacks -- is used.
6581
6582 Wed Oct 29 11:49:46 1997 Olaf Weber <[email protected]>
6583
6584 * c-fopen.h [!DOSISH]: Guard against redefining O_BINARY. From
6585 Andreas Scherer <[email protected]>.
6586
6587 Mon Oct 27 17:25:19 1997 Olaf Weber <[email protected]>
6588
6589 * install.texi: Update for new MakeTeX* scripts.
6590
6591 * MakeTeXnames: Handling of empty namepart.
6592
6593 Fri Oct 24 14:23:58 1997 Olaf Weber <[email protected]>
6594
6595 * getopt.[hc]: Changes for WIN32, which are likely to be a pain if
6596 these files are ever updated wholesale. After Fabrice Popineau.
6597
6598 Thu Oct 23 11:16:26 1997 Olaf Weber <[email protected]>
6599
6600 * MakeTeXnames: Corrected bug in assignemnt to stdfontpath.
6601
6602 Wed Oct 22 17:36:57 1997 Olaf Weber <[email protected]>
6603
6604 * MakeTeXmkdir: Added a bit of boilerplate to the use of
6605 MT_APPEND_MASK.
6606
6607 * Makefile.in: It's acconfig.h, not c-auto.h, that we do not want
6608 to install.
6609
6610 * lib.h: Remove kpathsea/config.h from the includes. Note that
6611 lib.h is itself included by config.h.
6612
6613 * Makefile.in: Change generation of kpathsea.h to put config.h
6614 first.
6615
6616 Tue Oct 21 23:15:28 1997 Olaf Weber <[email protected]>
6617
6618 * MakeTeX.site, MakeTeX.cnf: Remove MT_FILE_PERMS, MT_DIR_PERMS.
6619
6620 * MakeTeXmkdir: Use kpsestat to obtain suitable directory
6621 permissions.
6622
6623 * MakeTeXnames, MakeTeXnames.opt: Include code that infers
6624 destination directories from where the sources are found. Make
6625 use of fontmaps an option, move that part of the code to
6626 MakeTeXnames.opt.
6627
6628 * MakeTeXls-R: Use kpsestat to obtain suitable file permissions;
6629 this means we no longer use unset. Use access rather than test to
6630 determine whether we can write the ls-R database.
6631
6632 * MakeTeXTFM, MakeTeXMF, MakeTeXPK: Use kpsestat to obtain
6633 suitable file permissions.
6634
6635 * Makefile.in: Minor changes, because of the new files and
6636 renaming.
6637
6638 * MakeTeXnames.opt, MakeTeXmkdir.opt: renamed from
6639 MakeTeXnames.cnf and MakeTeXmkdir.cnf respectively. Now
6640 MakeTeX.cnf contains the standard configuration, and MakeTeX.site
6641 the local adjustments.
6642
6643 * kpsestat.c, access.c: New files.
6644
6645 Mon Oct 20 07:22:33 1997 Olaf Weber <[email protected]>
6646
6647 * common.ac, Makefile.in, acconfig.in, config.h, install.texi,
6648 kpathsea.texi: Rename texmf.cnf.in to texmf.in / c-auto.h.in to
6649
6650 * Renamed texmf.cnf.in to texmf.in.
6651
6652 * bugs.texi: Add descriptions of GSFTOPK_DEBUG, MAKETEX_DEBUG, and
6653 MAKETEX_FINE_DEBUG. From Fabrice Popineau.
6654
6655 * c-fopen.h [WIN32]: Use setmode in stead of _setmode. From
6656 Fabrice Popineau.
6657
6658 * c-pathch.h, absolute.c [NAME_BEGINS_WITH_DEVICE]: Corrected
6659 definition. From Fabrice Popineau.
6660
6661 * c-proto.h: Cosmetic change in definition DllImport. From
6662 Fabrice Popineau.
6663
6664 * debug.h [WIN32 && _DEBUG]: Extra debugging code for WIN32. From
6665 Fabrice Popineau.
6666
6667 * install.texi: Extend description of the dosnames feature. After
6668 Fabrice Popineau.
6669
6670 * lib.h: Add kpathsea/config.h to the includes. New macro STRNEQ.
6671 From Fabrice Popineau.
6672
6673 * progname.c (kpse_set_progname [WIN32]): New environment variable
6674 KPSE_DEBUG_OUTPUT. If defined, it names a file to which stderr
6675 will be redirected. From Fabrice Popineau.
6676
6677 * tex-make.c: Various cosmetic changes for WIN32/MS-DOS. From
6678 Fabrice Popineau.
6679
6680 Fri Oct 17 10:41:08 1997 Olaf Weber <[email protected]>
6681
6682 * db.c (kpse_db_insert): Remove dubious cast of result of basename.
6683
6684 * progname.c (kpse_set_progname [!HAVE_PROGRAM_INVOCATION_NAME]):
6685 Removed dubious cast of basename.
6686
6687 * tex-file.c (kpse_find_file): Reorganize searches, so that
6688 foo.bar.tex is found before foo.bar.
6689
6690 * tex-make.c (maketex) [MSDOS]: Redirect stderr to the null device
6691 without using the shell (which requires users to install a port of
6692 a Unixy shell, since stock DOS shells don't allow redirecting
6693 stderr).
6694 (kpse_make_tex) [MSDOS]: Don't use the shell to redirect stderr.
6695 From Eli Zaretskii <[email protected]>.
6696
6697 * readable.c (READABLE) [__DJGPP__]: Use `access' instead of
6698 `stat', since `stat' is expensive on MS-DOS. Eli Zaretskii
6699 <[email protected]>.
6700
6701 * pathsearch.c (search) [__DJGPP__]: Make `stat' work in the
6702 fastest possible way, since it can be very expensive on MS-DOS.
6703 (main): Use ENV_SEP_STRING instead of explicit ":".
6704 From Eli Zaretskii <[email protected]>.
6705
6706 * path-elt.c (main): Use ENV_SEP_STRING instead of explicit ":".
6707 From Eli Zaretskii <[email protected]>.
6708
6709 * kpsewhich.c (path_expand): Handle file names with device
6710 letters.
6711 (read_command_line): Use ENV_SEP_STRING instead of explicit ":".
6712 After Eli Zaretskii <[email protected]>.
6713
6714 * kdefault.c (main): Use ENV_SEP_STRING instead of explicit ":"
6715 (which is only true on Unix). From Eli Zaretskii
6716 <[email protected]>.
6717
6718 * cnf.c (do_line) [__DJGPP__]: Don't convert semi-colons to
6719 colons, even though DJGPP defines `unix'. From Eli Zaretskii
6720 <[email protected]>.
6721
6722 * absolute.c (kpse_absolute_p) [DOSISH]: Don't assume the drive
6723 letter is alphanumeric. From Eli Zaretskii <[email protected]>.
6724
6725 * xgetcwd.c (xgetcwd) [DOSISH]: Prepend drive letter before path.
6726 From Eli Zaretskii <[email protected]>.
6727
6728 * progname.c (kpse_set_progname) [__DJGPP__]: Compute the long
6729 file name of the program given its 8+3 alias.
6730 (kpse_set_progname) Compute SELFAUTOLOC before removing the
6731 ".exe" suffix, if any, because `selfdir' might look along the PATH
6732 for the file.
6733 After Eli Zaretskii <[email protected]>.
6734
6735 * config.h (DOSISH): Move the definition to the top, so we could
6736 define MONOCASE_FILENAMES right there.
6737 [__DJGPP__]: Include DJGPP-specific headers.
6738 [DOSISH]: Let DJGPP use ST_NLINK_TRICK, since it supports it.
6739 From Eli Zaretskii <[email protected]>.
6740
6741 * lib.h (FILESTRNCASEEQ): New macro, for partial compares of
6742 filenames. From Eli Zaretskii <[email protected]>.
6743
6744 * c-fopen.h (FOPEN_RBIN_MODE, FOPEN_WBIN_MODE): Let MS-DOS use
6745 these also.
6746 (FOPEN_ABIN_MODE): New macro, defines how to open a binary file for
6747 appending.
6748 (SET_BINARY): New macro, switches an already open file to binary
6749 mode (required for stdin/stdout on MS-DOS/MS-Windows).
6750 From Eli Zaretskii <[email protected]>.
6751
6752 * c-pathch.h (NAME_BEGINS_WITH_DEVICE): Don't assume the drive
6753 letter is A-Z only (DOS allows 6 characters beyond Z). After Eli
6754 Zaretskii <[email protected]>.
6755
6756 Thu Oct 16 10:22:42 1997 Olaf Weber <[email protected]>
6757
6758 * configure.in: Update stamp-auto after creating c-auto.h. From
6759 Peter Breitenlohner.
6760
6761 * Makefile.in: Don't rewrite paths.h if it was not changed. After
6762 Peter Breitenlohner.
6763
6764 Wed Oct 15 15:33:43 1997 Olaf Weber <[email protected]>
6765
6766 * xputenv.c (xputenv): Don't do anything if the old and new values
6767 of the environment variables are identical, because some libraries
6768 (DJGPP) will will optimize away such no-ops, and therefore freeing
6769 the old value will lead to disaster. Free new_item if it was
6770 copied by the library `putenv'. From Eli Zaretskii
6771 <[email protected]>
6772
6773 * tex-file.c (kpse_open_file): Open
6774 kpse_{pk,base,fmt,mem,type1}_format files in binary mode.
6775
6776 * install.texi: Remove description of the feature that (say)
6777 MAKETEXPK in the environment can be used to provide a
6778 specification of the argument list of MakeTeXPK. Reason: the
6779 feature isn't implemented.
6780
6781 Tue Oct 14 17:08:22 1997 Olaf Weber <[email protected]>
6782
6783 * xgetcwd.c: Rename DO_NOT_USE_GETCWD to GETCWD_FORKS.
6784 * common.ac: Add a test for GETCWD_FORKS.
6785 * acconfig.h: Include GETCWD_FORKS.
6786
6787 Mon Oct 13 19:42:58 1997 Olaf Weber <[email protected]>
6788
6789 * path-elt.c (element): Always return a new string rather than a
6790 part of the path, as the returned string may be modified.
6791
6792 * tex-file.c (remove_dbonly): Replaced hard-coded ':' with
6793 ENV_SEP. From Fabrice Popineau.
6794
6795 * common.ac, configure.in: Move definition of KPSEVERSION from
6796 common.ac to configure.in.
6797
6798 * common.ac: Check for presence of getcwd.
6799
6800 * xgetcwd.c: Use getcwd in preference to getwd, unless
6801 DO_NOT_USE_GETCWD is defined.
6802
6803 * MakeTeX.cnf: Made varfonts the default.
6804
6805 * elt-dirs.c, path-elt.c, tilde.c, variable.c: Print (nil) instead
6806 of (null), so we can distinguish *printf being fed a null pointer.
6807
6808 * tex-file.c: remove_dbonly: Corrected off-by-one error in
6809 allocation.
6810
6811 Sat Oct 11 13:48:33 1997 Olaf Weber <[email protected]>
6812
6813 * elt-dirs.c (main) [TEST, AMIGA]: Changed test code for Amiga.
6814 From Andreas Scherer <[email protected]>.
6815
6816 Mon Oct 6 16:36:50 1997 Olaf Weber <[email protected]>
6817
6818 * install.texi: Document --enable-maintainer-mode switch.
6819
6820 Sat Oct 4 19:27:22 1997 Olaf Weber <[email protected]>
6821
6822 * MakeTeXnames.cnf: Add "strip" feature for backwards
6823 compatibility with 7.0.
6824 * Use a new set of MakeTeX* scripts, from Thomas Esser.
6825
6826 Fri Oct 3 09:54:47 1997 Olaf Weber <[email protected]>
6827
6828 * kpsewhich.c (path_expand): Don't scribble in the datastructures
6829 of the system to get rid of trailing slash, use "%.*s" format of
6830 printf instead.
6831
6832 * Makefile.in (texmf.sed, paths.h): Take the changes to texmf.cnf.in
6833 into account.
6834 * texmf.cnf.in: Redo variable definitions for the sake of clarity.
6835
6836 * hash.c (hash_create): Make ret static to work around a gcc
6837 optimizer bug on the Alpha.
6838
6839 * elt-dirs.c (do_subdir,expand_elt): Cleanup by Greg Hudson
6840 <[email protected]>, which might fix the '//' in path problem on the
6841 Amiga as well.
6842
6843 * xrealloc.c: Get prototype for realloc from config.h, give
6844 prototype for xmalloc, prototype xrealloc itself. After Fabrice
6845 Popineau.
6846
6847 * xmalloc.c: Give xmalloc a prototype, get prototype for malloc
6848 from config.h. After Fabrice Popineau.
6849
6850 * tex-file.c [TEX_SUFFIXES]: Brought into sync with tex.ch.
6851
6852 * install.texi: Extend comments on shared library support.
6853
6854 Thu Oct 2 00:14:57 1997 Olaf Weber <[email protected]>
6855
6856 * texmf.cnf.in [buf_size]: Increased from 3000 to 10000.
6857
6858 * tex-file.h (enum kpse_src_type): removed trailing comma. From
6859 Ezra Peisach <[email protected]>.
6860
6861 * c-proto.h [AA]: Obsolete due to changes to web2c.y; removed.
6862
6863 * bugs.texi: Document KPSE_DEBUG_VARS.
6864 * debug.h [KPSE_DEBUG_VARS]: New #define for debugging. From
6865 Nicolai Langfeldt <[email protected]>.
6866 * variable.c (kpse_var_value): Add code to report how variables
6867 were expanded. From Nicolai Langfeldt <[email protected]>.
6868
6869 * progname.c (selfdir) [!AMIGA]: Directories were mistaken for
6870 executables. From Matthias Clasen
6871 <[email protected]>
6872
6873 * tex-file.c (remove_dbonly): New function that strips the !! from
6874 path specifications. Called when creating the path for
6875 kpse_db_format. From Thomas Esser <[email protected]>
6876
6877 * install.texi: The default installation directory is not always
6878 /usr/local, as configure will pick the location of an existing tex
6879 installation.
6880
6881 Wed Oct 1 13:43:18 1997 Olaf Weber <[email protected]>
6882
6883 * texmf.cnf.in: Various definitions have changed to take advantage
6884 of the new brace expansion code. The various intermediate
6885 variables (fontdir, web2cdir, ...) have been removed because you
6886 could burn yourself severely by accidentally setting these
6887 undocumented variables -- this happened with some versions of make
6888 during compilation.
6889
6890 Tue Sep 30 16:14:48 1997 Olaf Weber <[email protected]>
6891
6892 * kpathsea.texi: Document changes in brace expansion.
6893 * expand.c (array_concat): reversed the order concatenation, which
6894 result in more usable brace expansion.
6895 (kpse_expand_kpse_dot): new function.
6896 (kpse_path_expand): call kpse_expand_kpse_dot to expand relative
6897 components using KPSE_DOT, if the latter is defined.
6898
6899 * common.ac: Define the version string.
6900 * version.c: Replaced version string with a define.
6901 * acconfig.h: Added defines for version strings.
6902 * Makefile.in: Let version = @KPSEVERSION@.
6903 * common.ac: Introduce KPSEVERSION for version.
6904
6905 * tex-file.c (kpse_maketex_option): choose proper mf and tfm
6906 formats rather than tex.
6907
6908 Mon Sep 29 22:47:23 1997 Olaf Weber <[email protected]>
6909
6910 * db.c (match): Repaired several off-by-one bugs.
6911
6912 Wed Sep 17 21:09:56 1997 Olaf Weber <[email protected]>
6913
6914 * withenable.ac: Added the --enable-maintainer-mode option.
6915
6916 Tue Aug 5 17:26:16 1997 Karl Berry <[email protected]>
6917
6918 * config.h (KPATHSEA): Define for the sake of kpathsea code
6919 getting merged back into original distributions.
6920
6921 Sun Aug 3 17:14:47 1997 Karl Berry <[email protected]>
6922
6923 * install.texi: simple.tex doesn't exist in LaTeX 2e; it's sample2e.
6924 From: "Jonathan I. Kamens" <[email protected]> and others.
6925
6926 * db.c (kpse_db_search): Preprocessor # commands must start in
6927 column 1 for DEC OSF/1 2.0 cc.
6928 From: Andrew Komornicki <[email protected]>.
6929
6930 * common.ac (program_inv_name): Correct usage of AC_TRY_LINK.
6931 From: "John W. Eaton" <[email protected]>.
6932
6933 * Makefile.in (.SUFFIXES): Put before the .c.lo rule for the sake
6934 of FreeBSD 2.1.7 make.
6935 From: Hiroto Kagotani <[email protected]>.
6936
6937 Thu Apr 17 17:35:37 1997 Karl Berry <[email protected]>
6938
6939 * Makefile.in (paths.h): Replace $web2cdir too,
6940 for the sake of DEFAULT_TEXMFCNF.
6941 From: M G Berberich <[email protected]>.
6942
6943 Tue Apr 1 17:48:18 1997 Karl Berry <[email protected]>
6944
6945 * fontmap.c: Doc fix.
6946 * kpsewhich.c (find_format): Try the long name if the file format
6947 has no suffix, e.g., `dvips config'.
6948 From: "Tomasz J. Cholewo" <[email protected]>
6949
6950 Sun Mar 23 16:44:21 1997 Karl Berry <[email protected]>
6951
6952 * tex-file.c (kpse_find_file): Don't assert that `name' is empty,
6953 only NULL, so \input\relax doesn't crash.
6954 From: "Tomasz J. Cholewo" <[email protected]>.
6955
6956 Fri Mar 21 16:09:47 1997 Karl Berry <[email protected]>
6957
6958 * MakeTeXPK, MakeTeXcommon: Support a redirect option to MTPK,
6959 from Thomas via Paul V.
6960
6961 * progname.c (selfdir) [AMIGA]: Fix from Andreas.
6962
6963 Sun Feb 16 15:49:07 1997 Karl Berry <[email protected]>
6964
6965 * withenable.ac: `enableval' should have been `withval',
6966 and value must be quoted.
6967
6968 * MakeTeXTFM: Exit if mf fails, a la MakeTeXPK.
6969 From: Julian Gilbey <[email protected]>.
6970
6971 Thu Feb 13 16:08:30 1997 Karl Berry <[email protected]>
6972
6973 * texmf.cnf.in (latex2*_inputs): Put $dbtex/generic before the
6974 ``other'' latex version.
6975 From: Olaf Weber <[email protected]>.
6976
6977 * progname.c (selfdir): Protect against argv0 being dir/exename,
6978 not found in PATH. Happens under Solaris.
6979 From: Ross Alexander <[email protected]> (and many others).
6980
6981 Sun Feb 09 15:27:15 1997 Fabrice POPINEAU <[email protected]>
6982
6983 * progname.c (kpse_set_progname): Added braces around Win32 code,
6984 because of variables declaration.
6985
6986 Fri Feb 7 11:53:09 1997 Karl Berry <[email protected]>
6987
6988 * Version 3.0.
6989
6990 * MakeTeXMF: Syntax problems with dc*. Fix from Thomas.
6991
6992 * MakeTeX*: sed command to strip off all but the first of multiple
6993 trees in $TEXMF was faulty.
6994
6995 * c-pathch.h (ENV_SEP, ENV_SEP_STRING) [AMIGA]: Change to ;
6996 for Andreas. Then Amiga binaries may be able to share
6997 the same texmf.cnf with Unix and NT.
6998
6999 * texmf.cnf.in (main_memory): Decrease back to 263,000.
7000 It's not worth allocating 7MB on everyone's machine just
7001 to do xy-pic samples. Add a comment about it.
7002
7003 Thu Feb 6 10:27:50 1997 Karl Berry <[email protected]>
7004
7005 * db.c (kpse_db_search): If an alias exists on disk, and the
7006 original entry in ls-R doesn't, use the alias. Idea, sample code
7007 from Fabrice.
7008
7009 * cnf.c (do_line): Add awful kludge to translate ; to :
7010 when reading texmf.cnf values under Unix. The idea is
7011 to be able to write a single texmf.cnf that will work
7012 under both NT and Unix.
7013
7014 * db.c: Doc fixes.
7015
7016 * MakeTeXcommon: Set ps_to_pk.
7017 * MakeTeXPK: Use ps_to_pk instead of hardwiring gsftopk.
7018 * MakeTeX.site: Include ps_to_pk comment.
7019
7020 * texmf.cnf.in (TEXMFCNF): Include SELFAUTOLOC (at the front).
7021 * progname.c (kpse_set_progname): Include SELFAUTOLOC for the real
7022 directory. It may be useful. Suggested by Andreas.
7023
7024 * MakeTeXcommon: Add case for fc.
7025 * MakeTeX.site: Add comment for fc.
7026 * MakeTeXMF: Add case for fc, generated like Sauter.
7027 From Francois and Thomas.
7028
7029 * progname.c [WIN32]: SELFAUTODIR fix from Fabrice.
7030
7031 * kpathsea.h: Do not #include <kpathsea.h> (infinite loop).
7032 From Fabrice and Richard.
7033
7034 Tue Feb 4 13:20:09 1997 Karl Berry <[email protected]>
7035
7036 * tilde.c: xstrdup the result from getenv,
7037 since we end up freeing it with a path element of `~'.
7038
7039 * MakeTeX.site: Include RCS id.
7040
7041 * MakeTeX.site: Replace sample dc assignment with ec.
7042
7043 * MakeTeXMF: Handle ec, use exbase for tc.
7044
7045 * MakeTeXcommon (ecfontdir,tcfontdir): New variables.
7046
7047 Tue Feb 04 15:11:29 1997 Fabrice POPINEAU <[email protected]>
7048
7049 * progname.c: argv[0] under Win95 is set to the short
7050 filename of the executable run. Changed the way
7051 program_invocatio_name is retrieved : used the SearchPath() win32
7052 call, next FindFirstFile() to get the long filename. The selfdir
7053 stuff is not used any more for win32.
7054
7055 Mon Feb 3 18:01:02 1997 Karl Berry <[email protected]>
7056
7057 * kpsewhich.c (read_command_line): Check for -1, not EOF,
7058 per new getopt.
7059
7060 Sun Feb 2 16:06:42 1997 Karl Berry <[email protected]>
7061
7062 * texmf.cnf.in (PKFONTS.xdvi): Replace `gsftopk,ps2pk' by `modeless'.
7063 * MakeTeXPK (mode): Use `modeless' instead of `gsftopk'.
7064
7065 * tex-file.c: Look for TEXINDEXSTYLE before INDEXSTYLE.
7066
7067 Sat Feb 1 16:31:39 1997 Karl Berry <[email protected]>
7068
7069 * texmf.cnf.in: Doc fix.
7070
7071 * progname.c (my_dirname): Check for device separators at the
7072 beginning fo the string. From Andreas.
7073
7074 * c-pathch.h (IS_DIR_SEP) [AMIGA]: New definition from Andreas.
7075 (NAME_BEGINS_WITH_DEVICE): Remove.
7076
7077 * tex-make.c (maketex) [AMIGA]: Have to call system instead of popen
7078 due to different interface. From Andreas.
7079
7080 * progname.c (selfdir): Check self, not ret, for exiting the loop.
7081 (remove_dots): Missing indirection on ret.
7082 From Fabrice.
7083
7084 Tue Jan 21 08:26:17 1997 Karl Berry <[email protected]>
7085
7086 * elt-dirs.c: Doc fixes.
7087
7088 * db.c (match): Don't return false just because the path element
7089 ended in /.
7090 Bug from: Richard Walker <[email protected]>.
7091
7092 * expand.c (kpse_path_expand): Do variable expansion before
7093 splitting on path elements.
7094 Bug from: Richard Walker <[email protected]>.
7095
7096 * tilde.c [TEST]: Function name changed.
7097 From: Richard Walker <[email protected]>.
7098
7099 * texmf.cnf.in (MAILCAPLIBDIR): Rename from MAILCAPDIR.
7100 From Ulrik.
7101
7102 Tue Jan 21 09:34:20 1997 Fabrice POPINEAU <[email protected]>
7103
7104 * c-pathch.h: NAME_BEGINS_WITH_DEVICE(string) new macro testing
7105 for the presence of a device name in front of the string.
7106
7107 * progname.c (remove dots): stop before device name if
7108 present. When building the filename, do not add leading DIR_SEP if
7109 there is a device.
7110
7111 * pathsearch.c (path_search): avoid searching the whole disk
7112 adapted for win32.
7113
7114 * db.c: support aliases file along with db files. An alias file is
7115 named with ALIAS_NAME and the hashtable size is
7116 ALIAS_HASH_SIZE. When a name looked for has an alias, the alias is
7117 searched instead of the original name. The format of the aliases
7118 file is "real_name alias_name", one pair per line. Currently only
7119 for WIN32.
7120
7121 Mon Jan 20 12:01:14 1997 Karl Berry <[email protected]>
7122
7123 * progname.c: Amiga patch from Andreas.
7124
7125 Sun Jan 19 14:29:00 1997 Karl Berry <[email protected]>
7126
7127 * pathsearch.c (path_search): Strip off all but one of leading /'s.
7128 We never want to search the whole disk.
7129
7130 * progname.c: Expand symlinks off the final filename, not the
7131 directory name.
7132
7133 Sat Jan 18 14:39:00 1997 Karl Berry <[email protected]>
7134
7135 * texmf.cnf.in (param_size): Increase to 500 for the chemical
7136 formula macro package. From Thomas.
7137
7138 * progname.c (expand_symlinks, ReadSymLink, CopyFirst, StripFirst,
7139 StripLast): New functions to expand symbolic links for SELFAUTO*.
7140 Noted by Thomas.
7141
7142 * texmf.cnf.in (PKFONTS.xdvi): Fix tpyo.
7143 Document that memory changes
7144 (trie_size): Increase to 64000.
7145
7146 Fri Jan 17 13:08:08 1997 Karl Berry <[email protected]>
7147
7148 * progname.c (remove_dots): Don't free the constant null string.
7149 From Andreas.
7150
7151 * texmf.cnf.in (dbfontdir): Change to dbfonts (the commented-out one).
7152
7153 Thu Jan 16 10:13:19 1997 Karl Berry <[email protected]>
7154
7155 * cnf.c (kpse_cnf_get): Avoid recursive init, due to new
7156 $TETEXDIR and other variables in default TEXMFCNF value.
7157
7158 * getopt*, strtol.c: New versions from /gd/gnu/lib.
7159
7160 * c-std.h (ALLOC_RETURN_TYPE): Only define if we're going to use it.
7161
7162 * acconfig.h (EDITOR): Oops, %s not +%s.
7163 From: [email protected].
7164
7165 * progname.c (kpse_set_progname): One more my_dirname call
7166 to get the parent and the grandparent in the environment variables.
7167
7168 * texmf.cnf.in (texdir): Rename from tex, to avoid clash with
7169 TEX used by makempx -- win32 doesn't distinguish case on envvars.
7170 From Fabrice.
7171 (WEB2CDIR): Lowercase, so it doesn't end up in paths.h, just
7172 for cleanliness.
7173
7174 * progname.c (kpse_set_progname): Pass program_invocation_name
7175 to selfdir instead of progname, just in case we
7176 HAVE_PROGRAM_INVOCATION_NAME and it's something different.
7177 From Fabrice.
7178
7179 * tex-file.c (kpse_open_file): ocp, ofm and ovf should use
7180 FOPEN_RBIN_MODE. From Fabrice and John Plaice.
7181
7182 * progname.c [AMIGA]: Fix syntax errors, remove_dots not necessary.
7183 From Andreas Scherer.
7184
7185 * MakeTeXupdate: MakeTeXls-R isn't in the conf dir anymore, just
7186 in the regular path.
7187 From Thomas.
7188
7189 Sun Jan 12 17:22:35 1997 Karl Berry <[email protected]>
7190
7191 * cnf.c (read_all_cnf): Do not test unallocated memory on empty
7192 lines; crashed on Alphas.
7193
7194 * progname.c (dirname): Rename to my_dirname to avoid clash on Alphas.
7195
7196 Sat Jan 11 16:28:54 1997 Karl Berry <[email protected]>
7197
7198 * c-std.h (calloc, malloc, realloc) [!STDC_HEADERS]: Only declare
7199 in this case.
7200
7201 Tue Jan 7 17:44:01 1997 Karl Berry <[email protected]>
7202
7203 * MakeTeXPK: Doc fix.
7204
7205 * texmf.cnf.in (KPSE_DOT): Define.
7206
7207 * c-memstr.h: Doc fix.
7208
7209 Wed Jan 1 16:58:02 1997 Karl Berry <[email protected]>
7210
7211 * pathsearch.h (kpse_filename_component): Declare this.
7212 * path-elt.c: Define it.
7213 * progname.c (remove_dots): New function to remove . and ..
7214 filename components. Subsumes slashify, it turns out.
7215
7216 * Makefile.in (install-exec): Install MakeTeXls-R in $(scriptdir).
7217
7218 Mon Dec 30 16:22:42 1996 Karl Berry <[email protected]>
7219
7220 * progname.c (kpse_set_progname): Strip off .exe if present.
7221
7222 * cnf.c: Doc fix.
7223
7224 * progname.c (slashify): New function, to translate \ into / for WIN32.
7225 (selfdir): Call it.
7226
7227 * lib.h (FILE{STR,CHAR}CASEEQ) [MONOCASE_FILENAMES]: Define these,
7228 continuing yesterday's changes.
7229 From Fabrice.
7230
7231 Sun Dec 29 13:26:09 1996 Karl Berry <[email protected]>
7232
7233 * db.c (match, elt_in_db),
7234 * elt-dirs.c (cached),
7235 * hash.c (hash_lookup),
7236 * kpsewhich.c (find_format, TRY_SUFFIX),
7237 * tex-file.c,
7238 * cnf.c (do_line): Compare filenames with FILESTRCASEEQ or
7239 FILECHARCASEEQ to support monocase filesystems.
7240 * hash.c (hash) [MONOCASE_FILENAMES]: Transform keys to uppercase.
7241 From Fabrice.
7242
7243 * basename.c (basename): Consider device separators;
7244 if given 'e:foo.tex', should return 'foo.tex'.
7245 From: Fabrice POPINEAU <[email protected]>.
7246
7247 * types.h (boolean): Protect with #ifndef HAVE_BOOLEAN, for NeXT.
7248 From: Raf Schietekat <[email protected]>
7249
7250 Sat Dec 28 07:18:48 1996 Karl Berry <[email protected]>
7251
7252 * progname.c [AMIGA]: Add code for this case from Andreas S.
7253
7254 Fri Dec 27 17:38:43 1996 Karl Berry <[email protected]>
7255
7256 * progname.c (S_IX{USR,GRP,OTH}): Define if not defined, for the NeXT.
7257 From: Gregor Hoffleit <[email protected]>.
7258
7259 * texmf.cnf.in (TEXMFCNF): Rewrite using /.'s etc. From Thomas.
7260
7261 Sun Dec 15 06:21:22 1996 Karl Berry <[email protected]>
7262
7263 * common.ac (AC_CHECK_FUNCS): Add getwd.
7264
7265 * lib.h (xgetcwd): Declare.
7266 * Makefile.in (objects): Add xgetcwd.lo.
7267 * xgetcwd.c: New file from xdvik.
7268
7269 * texmf.cnf.in (TEXMFCNF): Add $SELFAUTODIR:$SELFAUTOPARENT.
7270 * progname.c (selfdir, dirname, etc.): New functions.
7271 (kpse_set_progname): Set SELFAUTODIR and SELFAUTOPARENT.
7272
7273 Sat Dec 14 14:41:39 1996 Karl Berry <[email protected]>
7274
7275 * tex-file.h (kpse_src_type): New types kpse_tex{doc,source}_format.
7276 * tex-file.c (TEXDOC_ENVS, TEXSOURCE_ENVS): New envvars.
7277 (kpse_init_format): Handle them.
7278 * texmf.cnf.in (TEXDOCS, TEXSOURCES): New values.
7279 * kpathsea.texi: Document them.
7280
7281 Fri Dec 13 16:46:00 1996 Karl Berry <[email protected]>
7282
7283 * expand.h: Doc fix.
7284
7285 Thu Dec 12 17:25:25 1996 Karl Berry <[email protected]>
7286
7287 * xputenv.c [WIN32]: Work around putenv ("FOO=") unsetting
7288 FOO under NT. From Fabrice.
7289
7290 Mon Dec 9 23:27:45 MET 1996 Thomas Esser <[email protected]>
7291
7292 * kpsewhich.c: add option -show-path to display the search path for a
7293 given file type.
7294
7295 Mon Dec 9 17:23:32 1996 Karl Berry <[email protected]>
7296
7297 * readable.c (READABLE): Check !S_ISDIR instead of S_ISREG,
7298 to allow fifo's.
7299 Suggestion from: Krzysio Leszczynski <[email protected]>.
7300
7301 * tex-file.c (kpse_open_file): Open VF files in binary mode.
7302 From Fabrice.
7303
7304 * types.h (boolean) [WIN32]: Remove this case, Fabrice
7305 has found another solution.
7306
7307 * elt-dirs.c (expand_elt): Do not check for a device separator.
7308 From Fabrice.
7309
7310 * texmf.cnf.in (OTPINPUTS, OCPINPUTS): These use a subdirectory omega/.
7311 From John P.
7312
7313 Sun Dec 8 17:15:43 1996 Karl Berry <[email protected]>
7314
7315 * c-proto.h (DllImport): Define here.
7316 * config.h (DllImport): Instead of here.
7317 * kpsewhich.c: Other DllImport changes.
7318 * line.c [WIN32]: Include <malloc.h>.
7319 * tex-file.c: Oops, had FOPEN_RBIN_MODE vs. R reversed.
7320 * tex-make.c (kpse_make_tex_discard_errors): Add Dllimport.
7321 * types.h (boolean): Bizarre WIN32 definition.
7322 From: Fabrice POPINEAU <[email protected]>.
7323
7324 Sat Dec 7 22:12:26 MET 1996 Thomas Esser <[email protected]>
7325
7326 * MakeTeXnames: Ensure that cmr1234 will be mapped to
7327 jknappen/sauter while cmr12 will still be mapped to public/cm.
7328
7329 Fri Dec 6 15:08:35 1996 Karl Berry <[email protected]>
7330
7331 * texmf.cnf.in (OFMFONTS, etc.): New definitions for Omega.
7332 * tex-file.h (kpse_file_format_type): Define kpse_ocp_format, etc.
7333 * acconfig.h (MAKE_OMEGA_{OFM,OCP}_BY_DEFAULT): Include these.
7334 * tex-file.c (kpse_init_format): New cases for the Omega types.
7335 (OCP_ENVS, etc.): New environment variable lists.
7336 From: John Plaice <[email protected]>.
7337
7338 * texmf.cnf.in: Use fonts//<format> consistently,
7339 instead of fonts/<format>.
7340
7341 * lib.h (itoa): Remove, it seems we don't use this function any more.
7342 * itoa.c: Remove.
7343 * acconfig.h (HAVE_ITOA): Remove this.
7344 * Makefile.in (objects): Remove.
7345
7346 * cnf.c (do_line): Oops, tested prog after freeing it,
7347 should have tested prog2.
7348 From: Fabrice POPINEAU <[email protected]>.
7349
7350 Tue Dec 3 14:57:52 1996 Karl Berry <[email protected]>
7351
7352 * Makefile.in (objects): Remove strtol.lo, that's generated by
7353 configure.
7354 From: Gregor Hoffleit <[email protected]>.
7355
7356 Mon Dec 2 09:05:54 1996 Karl Berry <[email protected]>
7357
7358 * MakeTeXcommon: Set KPSE_DOT before the trap. From Thomas.
7359
7360 Tue Dec 3 18:02:08 1996 Ulrik Vieth <[email protected]>
7361
7362 * texmf.cnf.in (TRFONTS): Set this to /usr/lib/font/devpost
7363 indepent of $prefix.
7364
7365 Mon Dec 9 00:28:58 1996 Ulrik Vieth <[email protected]>
7366
7367 * MakeTeXcommon: Use `basename $0` in usage and version messages
7368 for consistency with other programs and scripts.
7369 Also accept -help, -version in addition to --help, --version.
7370
7371 * MakeTeX{MF,PK,TFM,ls-R,mkdir,names,update}:
7372 Use `basename $0` in usage messages for consistency.
7373
7374 Tue Dec 3 18:02:08 1996 Ulrik Vieth <[email protected]>
7375
7376 * texmf.cnf.in (TRFONTS): Set this to /usr/lib/font/devpost
7377 indepent of $prefix.
7378
7379 Thu Nov 28 16:33:35 1996 Karl Berry <[email protected]>
7380
7381 * common.ac (AC_ISC_POSIX): Remove this; it causes warnings from
7382 Autoconf that make no sense, isn't cached, and is probably of
7383 dubious value today.
7384 * configure.in: Move the klibtool stuff to common.ac, so the
7385 program configure.in's can find it.
7386
7387 Wed Nov 27 14:43:41 1996 Karl Berry <[email protected]>
7388
7389 * configure.in: Doc fix.
7390 * acconfig.h (HAVE_BASENAME, etc.): #undef these symbols so
7391 Autoheader can replace them; we use a non-standard macro to test
7392 for them, since they're part of the possibly-shared library.
7393
7394 Mon Nov 25 14:04:42 1996 Karl Berry <[email protected]>
7395
7396 * Makefile.in (texmf.sed): Replace all $(texmf) with `$TEXMF'
7397 except on the TEXMF line itself.
7398
7399 Sun Nov 24 10:06:35 1996 Karl Berry <[email protected]>
7400
7401 * Makefile.in (texmf.sed): Insert missing quote.
7402 (distdir): Use doc instead of listing all the targets (we were
7403 missing unixtex.ftp).
7404
7405 * kpsewhich.c (read_command_line): Print the integer equivalent of
7406 each format.
7407
7408 Sat Nov 23 15:38:31 1996 Karl Berry <[email protected]>
7409
7410 * xt.ac (with_x): Remove spurious ;;.
7411
7412 Fri Nov 22 18:00:41 1996 Karl Berry <[email protected]>
7413
7414 * cnf.c (do_line): Let var.prog lines work if we're running prog.exe.
7415 This happens with --enable-shared.
7416 From Ulrik.
7417
7418 Mon Nov 18 16:10:48 1996 Karl Berry <[email protected]>
7419
7420 * tex-file.c (kpse_troff_font_format): Change to DEFAULT_TRFONTS
7421 to make texmf.cnf.in change.
7422
7423 Fri Nov 15 14:13:36 1996 Karl Berry <[email protected]>
7424
7425 * Makefile.in (texmf.sed): Get $TEXMF back into the paths.
7426 Noted by Andreas Scherer.
7427 (distdir): Add klibtool.version to the distribution.
7428 From Ulrik.
7429 (install-exec): Use INSTALL_SCRIPT for scripts.
7430
7431 Mon Nov 11 16:16:50 1996 Karl Berry <[email protected]>
7432
7433 * various .c: Print (nil) instead of (null) so we can possibly
7434 detect printf of a null pointer.
7435
7436 Sun Nov 10 16:22:43 1996 Karl Berry <[email protected]>
7437
7438 * xt.ac: New file so web2c and xdvi treat --with-x-toolkit uniformly.
7439 From Ulrik.
7440
7441 Thu Oct 31 15:38:48 1996 Karl Berry <[email protected]>
7442
7443 * expand.c (kpse_path_expand): Do brace expansion first.
7444 (kpse_brace_expand): Expand each element of the brace expansion, so
7445 {~a,~b} expands. Suggested by Thomas.
7446
7447 Fri Oct 25 16:51:14 1996 Karl Berry <[email protected]>
7448
7449 * Makefile.in (install-data): Install an empty dir file if none exists.
7450 (mostlyclean: Remove PROF etc. subdirs here.
7451
7452 Tue Oct 22 13:56:20 1996 Karl Berry <[email protected]>
7453
7454 * Makefile.in ($(library).h): Make the modtime of the file the
7455 same as the latest other .h; otherwise, we think kpathsea always
7456 has to be remade.
7457
7458 Sun Oct 20 18:06:36 1996 Karl Berry <[email protected]>
7459
7460 * Makefile.in (distdir): No need to distribute copying.texi.
7461
7462 Mon Oct 14 11:32:51 1996 Karl Berry <[email protected]>
7463
7464 * Changes for NT from: Fabrice POPINEAU <[email protected]>.
7465
7466 * xputenv.c (putenv) [WIN32]: #include <stdlib.h> instead of declaring.
7467
7468 * tex-file.c (kpse_open_file): Use FOPEN_RBIN_MODE for tfm and gf
7469 formats.
7470
7471 * xopendir.h [!WIN32]: Conditionalize whole file.
7472 * xopendir.c (xopendir) [!WIN32]: Conditionalize defn.
7473
7474 * kpsewhich.c (DllImport) [_WIN32]: Define.
7475 (path_sep): Use ENV_SEP_STRING.
7476
7477 * progname.h,
7478 * lib.h,
7479 * debug.h (kpathsea_debug),
7480 * concatn.h (concatn): Give DllImport kludge.
7481
7482 * config.h (DOSISH) [WIN32]: #define.
7483 Also include <windows.h>, etc.
7484
7485 * c-std.h (getenv, popen, pclose) [WIN32]: Conditionalize decls.
7486 * c-fopen.h [WIN32]: Use rb and wb.
7487 * c-limits.h [HAVE_SYS_PARAM_H]: Conditionalize #ifdef.
7488 * common.ac: Check for <sys/param.h>
7489 * c-stat.h [WIN32]: #include <io.h> and #define stat _stat.
7490
7491 Sat Oct 12 11:10:45 1996 Karl Berry <[email protected]>
7492
7493 * tex-file.c (kpse_find_file): Include a suffix in what we pass to
7494 kpse_fontmap_lookup.
7495
7496 * Makefile.in (paths.h): Remove extra $ when replacing $VARFONTS.
7497
7498 Tue Oct 8 16:40:07 1996 Karl Berry <[email protected]>
7499
7500 * tex-glyph.c (try_fontmap): Do not return the first alias if it
7501 itself is an alias. Also, if a particular alias succeeds,
7502 return that.
7503
7504 Sun Oct 6 17:52:58 1996 Karl Berry <[email protected]>
7505
7506 * version.c: Doc fix.
7507
7508 Sat Oct 5 17:06:54 1996 Karl Berry <[email protected]>
7509
7510 * kpsewhich.c (-must-exist): New option.
7511 (must_exist): New global.
7512
7513 * Makefile.in (install-data): Call install-info.
7514 * kpathsea.texi, *.texi: Use @url, @email, and @dircategory/@direntry.
7515
7516 Sat Sep 21 19:02:17 1996 Karl Berry <[email protected]>
7517
7518 * MakeTeXnames.cnf: Doc fix.
7519
7520 * texmf.cnf.in (latex{2e,209}_inputs): Replace spurious `latex2e'.
7521 (TEXINPUTS.fontinst): New definition, including AFM files.
7522 (MFINPUTS, TFMFONTS, PKFONTS): Use $VARFONTS.
7523 From Thomas.
7524
7525 Sat Sep 7 16:00:53 1996 Karl Berry <[email protected]>
7526
7527 * MakeTeXupdate,
7528 * MakeTeXnames,
7529 * MakeTeXmkdir,
7530 * MakeTeXls-R,
7531 * MakeTeXTFM,
7532 * MakeTeXPK,
7533 * MakeTeXMF (version): Call kpsewhich in MakeTeXcommon, not here.
7534
7535 * version.c: Doc fix.
7536
7537 * kpsewhich.c (read_command_line): Improve formatting of --help
7538 message.
7539
7540 Fri Sep 6 19:16:20 1996 Karl Berry <[email protected]>
7541
7542 * kpsewhich.c (read_command_line): Print the bug reporting address.
7543 * version.c (kpse_bug_address): New global.
7544
7545 Thu Sep 5 19:08:04 1996 Karl Berry <[email protected]>
7546
7547 * Makefile.in: Doc fix.
7548
7549 * configure.in: Include ../acklibtool.m4 here.
7550 * common.ac: Not here. Move calls to kb_*LIBTOOL* functions, too.
7551
7552 Sun Sep 1 17:34:17 1996 Karl Berry <[email protected]>
7553
7554 * Makefile.in (.c.lo): Put filename right after $(CC), for Klibtool.
7555 (KPATHSEA_CC): Do not include ALL_CFLAGS here.
7556 (paths.h): Instead of deleting definitions with lowercase variable
7557 names, don't include them in the first place.
7558
7559 Sat Aug 31 16:15:33 1996 Karl Berry <[email protected]>
7560
7561 * common.ac: Call kb_KLIBTOOL_REPLACE_FUNCS and kb_PROG_LIBTOOL
7562 instead of the AM_* versions.
7563 Also, include acklibtool.m4 instead of aclibtool.m4.
7564
7565 * Makefile.in (liblobjs): Change to use @LTLIBOBJS@.
7566
7567 Sat Aug 17 17:22:18 1996 Karl Berry <[email protected]>
7568
7569 * texmf.cnf.in (PKFONTS*, GFFONTS): Need another / to match TDS.
7570
7571 Sat Aug 10 15:46:46 1996 Karl Berry <[email protected]>
7572
7573 * texmf.cnf.in (TFMFONTS, VFFONTS): Update with trailing // for TDS.
7574
7575 * MakeTeXupdate,
7576 * MakeTeXnames.cnf,
7577 * MakeTeXnames,
7578 * MakeTeXTFM,
7579 * MakeTeXMF,
7580 * MakeTeXmkdir,
7581 * MakeTeXls-R,
7582 * MakeTeXPK: Change --expand to -expand-var.
7583
7584 * tex-glyph.c (try_fontmap): Return the real name of the first
7585 alias as the font name.
7586 (kpse_find_glyph): Change call, free string if necessary, etc.
7587 Basic idea from a patch sent by [email protected].
7588
7589 Fri Aug 9 15:42:40 1996 Karl Berry <[email protected]>
7590
7591 * Makefile.in (paths.h): Substitute for dbtex, dbfonts, and prefix.
7592 Also, do not define lowercase variables.
7593
7594 Thu Aug 8 14:50:29 1996 Karl Berry <[email protected]>
7595
7596 * texmf.cnf.in (TEXCONFIG, INDEXSTYLE): Use //, just in case there
7597 are subdirectories. From Thomas.
7598
7599 Tue Aug 6 13:59:03 1996 Karl Berry <[email protected]>
7600
7601 * kpsewhich.c (lookup): Handle user_path case.
7602
7603 Mon Aug 5 17:23:56 1996 Karl Berry <[email protected]>
7604
7605 * kpsewhich.c: Rename -expand to -expand-var,
7606 -path to -expand-path, and add new -path option to specify
7607 explicit path for lookups.
7608
7609 * tex-file.h (kpse_ist_format): New format.
7610 * tex-file.c (kpse_init_format): Initialize it.
7611 (IST_ENVS): New #define.
7612 * texmf.cnf.in (INDEXSTYLE): Set the default path.
7613
7614 * tilde.c (kpse_tilde_expand): If $HOME starts with //, only use
7615 one of the slashes.
7616
7617 Sat Aug 3 17:18:00 1996 Karl Berry <[email protected]>
7618
7619 * kpsewhich.c (read_command_line): Change Usage: line to conform.
7620
7621 Fri Aug 2 11:57:23 1996 Karl Berry <[email protected]>
7622
7623 * db.c (db_build): Test len > 0 before evaluating len - 1.
7624 From: "Peter Henderson, Syrinx Speech Systems P/L, Tel: (+61-2)
7625 956-6540" <[email protected]>.
7626
7627 Sat Jul 27 14:35:17 1996 Karl Berry <[email protected]>
7628
7629 * Makefile.in (paths.h): Change target name to
7630 $(kpathsea_dir)/paths.h, for rdepend.make dependency.
7631
7632 * Makefile.in (liblobjs): New variable, gets @LIBTOOL_LIBOBJS@.
7633 * common.ac (kbAC_LIBTOOL_REPLACE_FUNCS): Use this new macro instead
7634 of AC_REPLACE_FUNCS.
7635
7636 Fri Jul 26 15:51:55 1996 Karl Berry <[email protected]>
7637
7638 * Makefile.in (KPATHSEA_CC): Include $(compile).
7639 (.c.lo): Change suffix rule for libtool 0.5.
7640 (install-exec): Use new variables INSTALL_LIBTOOL_*.
7641
7642 Mon Jul 8 17:21:34 1996 Karl Berry <karl@laurie>
7643
7644 * unixtex.texi: Rename from obtain.texi.
7645
7646 Fri Jun 7 19:10:52 1996 K. Berry <[email protected]>
7647
7648 * common.ac: Include ../kpathsea/withenable.ac.
7649
7650 Thu Jun 6 16:34:43 1996 K. Berry <[email protected]>
7651
7652 * Makefile.in (kpsewhich): Use libtool commands etc. instead of
7653 our shared lib stuff.
7654 * common.ac: Replace our shared lib stuff with gm_PROG_LIBTOOL.
7655 * withenable.ac: Remove --enable-shared stuff.
7656
7657 Sat Jun 1 15:05:42 1996 Karl Berry <[email protected]>
7658
7659 * MakeTeX*: Add RCS info for version strings.
7660
7661 Thu May 30 13:46:46 1996 Karl Berry <[email protected]>
7662
7663 * MakeTeXPK: Doc fix; we're called with the base font name
7664 (pplr8r), not the user font name (pplr).
7665
7666 * db.c (ignore_dir_p): Remove the dot_pos != dirname test,
7667 since it's always true. It caused directory names containing .'s
7668 (e.g., `dc-1.2') to be ignored.
7669 From Thomas Esser and Frank Mittelbach.
7670
7671 Sun May 26 16:06:41 1996 Karl Berry <[email protected]>
7672
7673 * tex-make.c (kpse_make_tex): If called kpse_init_form, reassign
7674 our local variable, too.
7675
7676 Thu May 23 16:20:53 1996 Karl Berry <[email protected]>
7677
7678 * MakeTeXnames: Doc fix.
7679
7680 Fri May 3 13:34:51 1996 Karl Berry <[email protected]>
7681
7682 * withenable.ac: Use AC_ARG_WITH instead of AC_ARG_ENABLE for
7683 maketex*.
7684
7685 * tex-file.c (kpse_find_file): Oops, testing for kpse_pk_format
7686 twice, when meant to test for kpse_gf_format.
7687
7688 * cnf.c (do_line): Allow whitespace in variable values.
7689
7690 * texmf.cnf.in: Finish adding easier support for !!. From Joachim.
7691
7692 Wed May 1 16:30:56 1996 Karl Berry <[email protected]>
7693
7694 * texmf.cnf.in (TEXCONFIG): Take $HOME back out again, we're going
7695 to hardwire a seach for dvipsrc in $HOME.
7696
7697 Mon Apr 29 14:02:03 1996 Karl Berry <[email protected]>
7698
7699 * texmf.cnf.in (latex2e_inputs): Use just `latex', not `latex2e'.
7700 From: David Carlisle <[email protected]>.
7701 (TEXINPUTS, etc.): Also rewrite to make !! support easier to add.
7702 From: Joachim Schrod <[email protected]>.
7703
7704 * install.texi: Document ksh/ash/Ultrix sh lossage, in favor of
7705 bash/bsh/sh5.
7706
7707 Sun Apr 28 15:02:55 1996 Karl Berry <[email protected]>
7708
7709 * acconfig.h (ASM_NEEDS_UNDERSCORE): New define.
7710 From: Peter Breitenlohner <[email protected]>.
7711
7712 * Makefile.in (sharedlib_version): Remove unused variable.
7713
7714 Sat Apr 27 17:15:14 1996 Karl Berry <[email protected]>
7715
7716 * texmf.cnf.in (hyph_size): Add this.
7717
7718 Tue Apr 23 07:34:05 1996 Karl Berry <[email protected]>
7719
7720 * texmf.cnf.in (MIMELIBDIR, MAILCAPDIR): Add these.
7721 (MPXCOMMAND): And these.
7722
7723 * MakeTeX.site: New file, just an example.
7724
7725 Mon Apr 22 17:31:27 1996 Karl Berry <[email protected]>
7726
7727 * MakeTeXnames.conf: Rename to MakeTeXnames.cnf.
7728 * MakeTeXnames: Change call.
7729 * Makefile.in (install-exec): Change install.
7730
7731 Sun Apr 21 12:09:06 1996 Karl Berry <[email protected]>
7732
7733 * tex-file.h (kpse_set_program_enabled, kpse_maketex_option):
7734 Declare new functions.
7735 (kpse_src_type): Define new type.
7736 * tex-file.c (kpse_set_program_enabled): New function, so we can
7737 set this at all the various levels and get the overrides right.
7738 (kpse_maketex_option): Handle MakeTeX options in a common place.
7739 * proginit.c (kpse_init_prog): Call it, and remove the make_tex_pk
7740 argument.
7741 * proginit.h (kpse_init_prog): Likewise.
7742 * kpsewhich.c (parse_options): New options -maketex and -nomaketex,
7743 just calls kpse_maketex_option.
7744
7745 * Makefile.in ($(library).h): New target, made at dist time.
7746
7747 Sat Apr 20 17:21:24 1996 Karl Berry <[email protected]>
7748
7749 * tex-file.c (kpse_find_file): Do not pound the disk on the first
7750 search if we might be trying the second.
7751
7752 Tue Mar 12 15:21:16 1996 Karl Berry <[email protected]>
7753
7754 * MakeTeXPK: Restore check for mismatched mode and bdpi. From Thomas.
7755
7756 Sun Mar 10 14:17:14 1996 Karl Berry <[email protected]>
7757
7758 * MakeTeXnames.conf: Rename VARFONTS to VARTEXFONTS.
7759
7760 * MakeTeXcommon (trap): Oops, cd $KPSE_DOT before testing $STDOUT.
7761
7762 Sat Mar 9 17:57:02 1996 Karl Berry <[email protected]>
7763
7764 * MakeTeXcommon (trap): cd back to KPSE_DOT before removing
7765 TEMPDIR, in case $TMPDIR is relative. Reported by Thomas.
7766
7767 Fri Mar 8 11:41:22 1996 Karl Berry <[email protected]>
7768
7769 * db.c (kpse_db_search): Add debug statement with the result of
7770 the match.
7771
7772 * tex-make.c (kpse_make_tex): Don't look for the arg spec here.
7773 * tex-file.c (init_maketex): Do it here. Check for disbaling in
7774 the config file, too.
7775
7776 * tex-make.c (misstex): Look for TEXMFOUTPUT in texmf.cnf.
7777 * texmf.cnf.in (TEXMFOUTPUT): Define this.
7778
7779 * kpathsea.texi (Suppressing warnings): New node to describe TEX_HUSH.
7780
7781 * tex-file.c (kpse_init_format): Include the numeric value of the
7782 format for use with kpsewhich --format.
7783
7784 * tex-hush.c: Support `all' to suppress everything.
7785
7786 Thu Mar 7 11:24:51 1996 Karl Berry <[email protected]>
7787
7788 * kpsewhich.c: Change --program to --progname, for compatibility
7789 with TeX & co.
7790
7791 * texmf.cnf.in (TEXCONFIG): Remove ~ from default path, for
7792 consistency with everything else.
7793
7794 * readable.c: Let's call it TEX_HUSH instead of KPSE_NOWARN_PERM,
7795 so we can use it for checksum warnings, too. And for similarity
7796 with xdvi.
7797 * kpathsea.texi: Corresponding change.
7798 * tex-hush.[ch]: New files.
7799
7800 Wed Feb 28 15:16:32 1996 Karl Berry <[email protected]>
7801
7802 * tex-make.c (misstex): Let the name missfont.log be configurable.
7803 * texmf.cnf.in (MISSFONT_LOG): Add this definition.
7804 * kpathsea.texi: Document this.
7805
7806 Sun Feb 25 16:55:35 1996 Karl Berry <[email protected]>
7807
7808 * tex-file.c: Reverse order of alias & suffix searches, so we look
7809 for the original TFM name before aliases.
7810
7811 Sun Feb 18 16:24:50 1996 Karl Berry <[email protected]>
7812
7813 * tex-file.c (xopenfile): Move this function to here and rename to
7814 kpse_open_file.
7815 * xopenfile.c: Remove this.
7816 * Makefile.in (objects): Remove xopenfile.o.
7817
7818 Thu Feb 15 12:57:56 1996 Karl Berry <[email protected]>
7819
7820 * tex-make.c (maketex): Do not print the `kpathsea: Running ...'
7821 message if we're discarding output.
7822 (misstex): Do not log the missing file in missfont.log, either.
7823
7824 Sat Feb 10 14:59:23 1996 Karl Berry <[email protected]>
7825
7826 * Makefile.in (sharedlib): Add new command here $(shared_postlink)
7827 so we can make the necessary symlink.
7828 (shared_postlink): New variable
7829
7830 Fri Feb 9 15:46:55 1996 Karl Berry <[email protected]>
7831
7832 * withenable.ac (maketex{mf,pk,tfm}-default): Move here from
7833 web2c/withenable.ac.
7834
7835 Wed Feb 7 16:52:08 1996 Karl Berry <[email protected]>
7836
7837 * MakeTeXnames.conf: Extract this new script from MakeTeXcommon, sigh.
7838 * MakeTeX*: Other updates from Thomas --
7839 - replace the exec 3>&1 1>&2 by trap/subshell construction. The
7840 3>&1 may cause the 'open fd bug' with bash.
7841 - ts is a typo. tc are the text companion fonts
7842 - replace >&3 by >$STDOUT where $STDOUT is a filename. Its content is
7843 displayed by the trap command in MTcommon.
7844 - added missing ;; in case/esac
7845 - use : ${VAR=VAL} where possible
7846 - added mt_min_args
7847 - removed psfonts.map parsing (was only needed for ps2pk)
7848 - removed >&2 where redirection stdout->stderr is active anyway
7849 - removed </dev/null where redirection stdin<-/dev/null is active
7850 anyway
7851 - Oops: MakeTeXTFM still used old code: >$TEMPDIR/mtout.$$
7852 - add line
7853 trap 'test -f $STDOUT && cat $STDOUT; cd /; rm -rf $TEMPDIR; exit 0' 0 1 2 15
7854 to MakeTeXcommon
7855 - MT_FEATURES now in MakeTeXnames.conf since we need to read it
7856 later than MakeTeXcommon
7857
7858 Tue Feb 6 17:04:25 1996 Karl Berry <[email protected]>
7859
7860 * tex-file.h (kpse_file_format_type): Add afm and type1 support.
7861 * tex-file.c: Likewise.
7862 (kpse_init_format): In tex_ps_header_format, no longer need to
7863 recognize .pfa and .pfb.
7864 * texmf.cnf.in (AFMFONTS, T1FONTS): Likewise.
7865 * Makefile.in (paths.h): Include 0-9 in the regexp for the sake of
7866 T1FONTS.
7867
7868 Sat Feb 3 15:45:00 1996 Karl Berry <[email protected]>
7869
7870 * Makefile.in (DEFS): Move to common.make.
7871
7872 Mon Jan 29 17:01:44 1996 Karl Berry <[email protected]>
7873
7874 * MakeTeXls-R: Doc fix.
7875
7876 Mon Jan 8 17:17:42 1996 Karl Berry <[email protected]>
7877
7878 * tex-file.c: Doc fix.
7879
7880 * fontmap.c (MAP_NAME, MAP_HASH_SIZE): Conditionalize these #defines.
7881
7882 Sun Jan 7 17:38:00 1996 Karl Berry <[email protected]>
7883
7884 * db.c (DB_HASH_SIZE, DB_NAME): Conditionalize these.
7885
7886 * MakeTeXcommon (dcfontdir, tsfontdir): Use supplier `jknappen'.
7887
7888 Mon Jan 1 15:14:42 1996 Karl Berry <[email protected]>
7889
7890 * Makefile.in (distdir): Don't bother including freedom.texi.
7891
7892 Fri Dec 29 17:17:08 1995 Karl Berry <[email protected]>
7893
7894 * Makefile.in: misc.make is now clean.make.
7895
7896 Tue Dec 26 14:21:08 1995 Karl Berry <[email protected]>
7897
7898 * withenable.ac: New file with --enable option extracted from
7899 common.ac, for the top level to include.
7900
7901 * acconfig.h (MAKE_TEX_PK_BY_DEFAULT): Add this.
7902
7903 * readable.c (kpse_readable_file): Omit warning if
7904 KPSE_NOREAD_WARN is set to 1.
7905
7906 Wed Dec 13 14:14:09 1995 Karl Berry <[email protected]>
7907
7908 * kpsewhich.c: Call kpse_init_format when necessary in the
7909 --format case.
7910
7911 Mon Dec 11 14:42:13 1995 Karl Berry <[email protected]>
7912
7913 * common.ac: --disable-shared should not act like --enable-shared.
7914 From Ulrik.
7915
7916 Sun Dec 10 15:35:15 1995 Karl Berry <[email protected]>
7917
7918 * tex-file.h (kpse_mft_format): New format.
7919 * tex-file.c (MFT_ENVS): New variable.
7920 (kpse_init_format): Initialize it.
7921 * texmf.cnf.in (MFTINPUTS): New variable.
7922
7923 Fri Dec 8 08:54:58 1995 Karl Berry <[email protected]>
7924
7925 * xopenfile.c: Doc fix.
7926
7927 Mon Dec 4 17:23:34 1995 Karl Berry <[email protected]>
7928
7929 * Makefile.in (check): Extra $ missing.
7930
7931 Sun Dec 3 13:42:54 1995 Karl Berry <[email protected]>
7932
7933 * tex-file.c (TEX_SUFFIXES): Add .dtx.
7934
7935 Sun Nov 19 16:19:37 1995 Karl Berry <[email protected]>
7936
7937 * MakeTeX*: Use MakeTeXupdate, mkdir, etc. in $TEXMFCNF_DIR, not
7938 along PATH. From John I.
7939
7940 Sat Nov 18 17:03:46 1995 Karl Berry <[email protected]>
7941
7942 * tex-file.c (TEX_SUFFIXES): Add .txi.
7943
7944 Fri Nov 17 15:12:03 1995 Karl Berry <[email protected]>
7945
7946 * common.ac (kb_AC_SYS_SHAREDLIB): Add the kb_ prefix.
7947
7948 * Makefile.in ({un,}install-exec): Use sharedlibname and
7949 staticlibname instead of `basename`.
7950 Also, pass no arguments to $(shared_postinstall); let the Autoconf
7951 macro set this completely.
7952
7953 * expand.c: Bash code remains under the GPL, per rms.
7954
7955 Thu Nov 16 16:14:14 1995 Karl Berry <[email protected]>
7956
7957 * Makefile.in (uninstall-exec): Needs same `basename` treatment as
7958 install-exec. From Ulrik.
7959
7960 * config.h [AMIGA] (pclose): Must be #defined as 0, not just
7961 empty. From Andreas Scherer.
7962
7963 Tue Nov 14 14:04:57 1995 Karl Berry <[email protected]>
7964
7965 * tex-file.h (kpse_fallback_resolutions_string): New global.
7966 * tex-file.c: Define it.
7967 (kpse_init_fallback_resolutions): Use it instead of
7968 DEFAULT_FONT_SIZES, if set.
7969
7970 Mon Nov 13 10:43:11 1995 Kathy Hargreaves <[email protected]>
7971
7972 * find-suffix.c: Remove spurious + 1.
7973
7974 Sun Nov 12 13:42:51 1995 Karl Berry <[email protected]>
7975
7976 * tex-file.c: Improve warning message if last resort sizes are not
7977 sorted. Suggested by Kathy.
7978
7979 * texmf.cnf.in (trie_size, main_memory): Doc improvements from Wayne.
7980
7981 Sat Nov 11 16:58:37 1995 Karl Berry <[email protected]>
7982
7983 * MakeTeXnames: Correct too many left quotes.
7984
7985 * tex-make.c (kpse_make_tex): Initialize the format if necessary.
7986
7987 Mon Oct 30 16:49:05 1995 Karl Berry <[email protected]>
7988
7989 * MakeTeXPK (GFNAME): Do not assume $cmd produced $GFNAME. From Tim.
7990
7991 * texmf.cnf.in (trie_size): Increase to 32000 so common language
7992 combinations will require no change. Suggested by Ulrik.
7993
7994 * MakeTeXls-R: Missing s in sed cmd.
7995 * MakeTeXTFM (TFM_NAME): Should be TFMNAME.
7996 * MakeTeXnames (FONTNAME): Missing `.
7997 * MakeTeXcommon: If the caller requires no args (i.e.,
7998 MakeTeXls-R), don't complain if given no.
7999 Missing } in varfonts case.
8000 All from Thomas.
8001
8002 Sun Oct 22 17:02:25 1995 Karl Berry <[email protected]>
8003
8004 * c-std.h (hypot): Remove this declaration. It was only needed for
8005 fontutils, and it conflicts under Linux 1.2.10. From Tim Murphy.
8006
8007 Sat Oct 14 10:55:26 1995 Karl Berry <[email protected]>
8008
8009 * acconfig.h (EDITOR): Missing %. From Tim Murphy.
8010
8011 Sat Oct 7 17:44:41 1995 Karl Berry <[email protected]>
8012
8013 * Makefile.in (install-exec): Use basename to get the real name so
8014 we don't install in $(libdir)/../kpathsea/etc.
8015 From Ulrik.
8016
8017 Sat Sep 30 12:16:05 1995 Karl Berry <[email protected]>
8018
8019 * MakeTeXls-R (db_file_tmp): Replace double slashes with single,
8020 for the sake of NetBSD/FreeBSD. From Thomas.
8021
8022 Fri Sep 29 11:29:08 1995 Karl Berry <[email protected]>
8023
8024 * Makefile.in (tex-file.o): CPPFLAGS is now ALL_CPPFLAGS.
8025
8026 Mon Sep 25 15:05:32 1995 Karl Berry <[email protected]>
8027
8028 * lib.h (FATAL_PERROR): Avoid using the formal parameter `s' since
8029 cc gets confused with %s.
8030
8031 * MakeTeXls-R: Include subtleties from Thomas.
8032 * MakeTeXcommon: Rename stickydir to appendonlydir.
8033
8034 Sun Sep 24 13:15:51 1995 Karl Berry <[email protected]>
8035
8036 * cnf.c (kpse_cnf_get): Call kpse_init_db here.
8037 * pathsearch.c (search): Instead of here.
8038
8039 * tex-file.c (init_format): The override path may be null, so use
8040 MAYBE to print it.
8041
8042 * MakeTeXPK: Don't use unset, as Ultrix sh doesn't support it.
8043
8044 Sat Sep 23 15:07:12 1995 Karl Berry <[email protected]>
8045
8046 * common.ac (basename strstr putenv): Use AC_REPLACE_FUNCS instead
8047 of AC_CHECK_FUNCS. Add strtol and strcasecmp from web2c/lib and xdvik.
8048 * Makefile.in (objects): Use @LIBOBJS@ instead of corresponding .o's.
8049
8050 Fri Sep 22 13:34:51 1995 Karl Berry <[email protected]>
8051
8052 * acconfig.h (MAKE_TEX_*): #define as 0/1, instead of #undef,
8053 since we now pass this as a default argument to init_maketex.
8054
8055 * tex-file.c (init_path): Look for environment variables PATH.prog
8056 and PATH_prog before PATH.
8057
8058 Thu Sep 21 13:53:38 1995 Karl Berry <[email protected]>
8059
8060 * kpsewhich.c (USAGE): Avoid bare newline.
8061
8062 * xfseek.c, xftell.c: Add unprototypification.
8063
8064 * common.ac (library_cflags): AC_SUBST for this depending on
8065 --enable-shared.
8066 * Makefile.in (shared_cflags, sharedlib_cflags): Rewrite
8067 accordingly, so the shared flags aren't always used.
8068
8069 Wed Sep 20 17:06:53 1995 Karl Berry <[email protected]>
8070
8071 * tex-file.c: Add .ltx, .texi, and .texinfo as alternate suffices
8072 for kpse_tex_format.
8073
8074 Tue Sep 19 17:12:10 1995 Karl Berry <[email protected]>
8075
8076 * texmf.cnf.in: Changes for TDS.
8077
8078 * MakeTeX*: New scripts from Thomas.
8079
8080 Sat Sep 16 17:30:46 1995 Karl Berry <[email protected]>
8081
8082 * tex-file.c: Do not print extra `kdebug:'s when printing the
8083 alt_suffixes.
8084
8085 * expand.c: Incorporate brace expansion code from bash.
8086 * texmf.cnf.in (PKFONTS.xdvi): Use it here, and document the
8087 possibility for $TEXMF.
8088
8089 Thu Sep 14 12:59:17 1995 Karl Berry <[email protected]>
8090
8091 * tex-file.c (kpse_init_format): For any_glyph_format, do not
8092 initialize a suffix.
8093
8094 * kpsewhich.c (main): Initialize all the formats.
8095 (find_format): psfonts.map => dvips_config_format.
8096
8097 Tue Sep 12 16:19:44 1995 Karl Berry <[email protected]>
8098
8099 * MakeTeX{MF,TFM}: New scripts from te.
8100 * Makefile.in (install-exec, distdir): Install and dist them.
8101
8102 Sun Sep 10 15:11:07 1995 Karl Berry <[email protected]>
8103
8104 * pathsearch.c (search): Doc fix.
8105
8106 * tex-file.h (kpse_format_info_type): Add alt_suffix member.
8107 * tex-file.c (init_format): Set it for PS headers and picts, and
8108 print it if it exists.
8109 * kpsewhich.c: Use the new alt suffixes and also the regular
8110 suffixes to allow for -format names as well as numbers, and for
8111 file format guessing.
8112
8113 Sat Sep 9 14:27:48 1995 Karl Berry <[email protected]>
8114
8115 * MakeTeXPK: If the MODE and BDPI don't match, ignore the mode.
8116 Suggested by Thomas.
8117
8118 * tex-file.[ch] (kpse_font_override_path): Remove this.
8119 (kpse_format_info_type): Replace the `override_p' member with a
8120 general `override_path'.
8121 * proginit.c: Set the override path for both fonts and headers.
8122
8123 * acconfig.h (NOTOOL): Add this.
8124
8125 Fri Sep 8 14:52:42 1995 Karl Berry <[email protected]>
8126
8127 * acconfig.h (HYPERXDVI): Don't need this after all, Autoconf's
8128 default actions are better.
8129
8130 Thu Sep 7 15:11:17 1995 Karl Berry <[email protected]>
8131
8132 * acconfig.h (HYPERXDVI): Define this.
8133
8134 Mon Sep 4 17:14:25 1995 Karl Berry <[email protected]>
8135
8136 * debug.h (KPSE_LAST_DEBUG): Define this, for use with gsftopk.
8137
8138 * Makefile.in (objects): Add xopenfile.o.
8139 * xopenfile.c: New file.
8140 * lib.h (xopenfile): Declare it.
8141
8142 Sat Sep 2 13:49:53 1995 Karl Berry <[email protected]>
8143
8144 * tex-file.h (kpse_file_format): Rename kpse_ps_header_format to
8145 tex_ps_header_format.
8146 * tex-file.c (TEX_PS_HEADER_ENVS): Rename likewise, etc.
8147 * kpsewhich.c (suffixes): Likewise.
8148 * texmf.cnf: Likewise.
8149
8150 * tex-file.c: Never set must_exist on the first search. Is this
8151 really correct?
8152
8153 Fri Sep 1 13:24:49 1995 Karl Berry <[email protected]>
8154
8155 * tex-make.c (maketex): Give perror if the popen fails.
8156
8157 * db.c (db_dir_list): Keep track of the directories we found db's in.
8158 (kpse_db_search): If no db directories are relevant to this path
8159 elt, return NULL.
8160 * db.h: Doc fix.
8161 * pathsearch.c (path_search): Doc fix.
8162
8163 * Makefile.in (shared_ext, etc.): Move to common.make.
8164
8165 Thu Aug 31 14:40:32 1995 Karl Berry <[email protected]>
8166
8167 * kpsewhich.c: Install suffix rewrite from Yves.
8168
8169 * common.ac: Move AC_SYS_SHAREDLIB etc. here.
8170
8171 * acconfig.h (ASM_SCALED_FRACTION): Add this.
8172
8173 Wed Aug 30 17:02:58 1995 Karl Berry <[email protected]>
8174
8175 * tex-file.c (kpse_find_file): Call kpse_make_tex.
8176 * tex-make.c (kpse_make_tex): Only call set_maketex_mag if we are
8177 doing MakeTeX-PK or GF-ing.
8178 From Greg.
8179
8180 Tue Aug 29 13:58:59 1995 Karl Berry <[email protected]>
8181
8182 * Makefile.in (texmf.sed): Depend on paths.make. Should we avoid
8183 creating a new file unless it changes, a la c-auto.h?
8184
8185 * configure.in: Check for --enable-shared.
8186
8187 Mon Aug 28 17:50:06 1995 Karl Berry <[email protected]>
8188
8189 * Makefile.in: Add sharedlib variables.
8190
8191 Sun Aug 27 13:27:01 1995 Karl Berry <[email protected]>
8192
8193 * hash.c (hash_print): New option summary_only, and always print
8194 the summary. Also, output to stderr, not stdout.
8195 * hash.h: Change decl.
8196
8197 * db.c (kpse_init_db): Oops, have to make it external, so rename
8198 again.
8199 * db.h: Declare it.
8200 * pathsearch.c (search): Call it.
8201
8202 * cnf.c (read_all_cnf): Rename from read_files.
8203 * db.c (read_all_lsR): Rename from read_all_dbs.
8204 * fontmap.c (read_all_maps): Rename from map_create.
8205
8206 * tex-file.h (kpse_db_format): Another new type.
8207 * tex-file.c (kpse_init_path): Case for it.
8208 (DB_ENVS): Envvar list.
8209 * texmf.cnf.in (TEXMFDBS): Default path.
8210 * kpsewhich.c (suffix): Add new element.
8211
8212 Sat Aug 26 14:49:28 1995 Karl Berry <[email protected]>
8213
8214 * cnf.c (CNF_NAME): #define this.
8215 * tex-file.c (kpse_init_path): Instead of setting the .program
8216 element to texmf.cnf here.
8217
8218 * db.c (db_insert): Rename to kpse_db_insert.
8219 * db.h: Change decl.
8220 * tex-make.c (maketex): Change call.
8221
8222 * cnf.c, cnf.h, db.c, db.h, pathsearch.c: Remove references to
8223 kpse_db_dir.
8224 * pathsearch.c (first_search): New static.
8225 (path_search): Do not do ls-R search if first_search.
8226 (search): Do not log if first_search.
8227
8228 * pathsearch.c (path_search): Don't bother calling elt_in_db --
8229 the match function in db.c will catch the irrelevant hits.
8230 Pointed out by te.
8231
8232 Fri Aug 25 14:01:24 1995 Karl Berry <[email protected]>
8233
8234 * cnf.c (kpse_cnf_get): Look for NAME.PROGRAM before NAME.
8235 (do_line): Save NAME.PROGRAM separately from NAME.
8236 * texmf.cnf.in: Put the usual definitions of TEXINPUTS and PKFONTS
8237 first now, before the .prog variants.
8238
8239 * fontmap.c: Use ISSPACE instead of just checking for space and tab.
8240
8241 Thu Aug 24 13:46:19 1995 Karl Berry <[email protected]>
8242
8243 * lib.h (strstr) [!HAVE_STRSTR]: Declare this.
8244 * Makefile.in (objects): Add strstr.o.
8245 * common.ac (AC_CHECK_FUNCS): Remove memmove; we seem to never use
8246 this. And add strstr.
8247
8248 * fontmap.c (map_file_parse): Comments at the last % or @c, not at
8249 the first %. Also, implement the include feature.
8250 And thus, don't give up if the map file can't be opened.
8251 (token): New routine, since we can no longer use strtok.
8252
8253 * tex-file.h (kpse_file_format_type): New format kpse_fontmap_format.
8254 * tex-file.c (kpse_init_format): Initialize it.
8255 (FONTMAP_ENVS): Define it.
8256 * texmf.cnf.in (TEXFONTMAPS): Define the default.
8257 * kpsewhich.c (suffix): Add .map.
8258
8259 Tue Aug 22 13:28:46 1995 Karl Berry <[email protected]>
8260
8261 * MakeTeXPK.in: No >&/dev/null, source.map is now supplier.map.
8262
8263 * tex-file.c: Doc fix.
8264
8265 Mon Aug 21 15:52:42 1995 Karl Berry <[email protected]>
8266
8267 * c-memstr.h (SYSV): OK, omit this definition in the never-ending
8268 battle to appease the X headers.
8269 From: [email protected] (Neal Becker).
8270
8271 Sun Aug 20 12:58:28 1995 Karl Berry <[email protected]>
8272
8273 * cnf.c (read_files): Concatenate consecutive lines that end in \.
8274
8275 * types.h (boolean) [__cplusplus]: Don't define true and false for C++.
8276 From: Johannes Sixt <[email protected]>.
8277
8278 * db.c (db_build): Call absolute_p to determine if the possible
8279 directory really is one.
8280 Also, allow relative names in the ls-R file.
8281
8282 * kpsewhich.c: New options -path, -separator.
8283 From: David Aspinall <[email protected]>.
8284
8285 * MakeTeXPK.in: Unset DISPLAY and MFTERM.
8286 From: Yves Arrouye <[email protected]>.
8287
8288 * db.c (ignored_dir_p): New function to ignore . directories.
8289 (db_build): Call it, and do the ignoring. Report on how many
8290 directories were ignored.
8291
8292 * Makefile.in (MakeTeXPK): Remove dcfontdir substitution.
8293 * MakeTeXPK.in: Play redirection games so regular echo's will work.
8294 (dcfontdir): Remove this; it's unused.
8295 From: [email protected] (Thomas Esser).
8296
8297 * pathsearch.c (path_search): Free more garbage.
8298 From: John Eaton <[email protected]>.
8299
8300 Sat Aug 19 12:57:54 1995 Karl Berry <[email protected]>
8301
8302 * kpsewhich.c (USAGE): Document -format and -program.
8303
8304 * tex-make.c (maketex): Give warning if MTPK output a string that
8305 wasn't a filename. From Pierre.
8306
8307 * kpsewhich.c (read_command_line): Execute -expand right
8308
8309 * tilde.c (kpse_tilde_expand): If HOME is /, don't start path with //.
8310 From: Andreas Schott <[email protected]>.
8311
8312 * db.c (match): Make /// (or more) like //.
8313 * elt-dirs.c (do_subdir): Likewise. Also, skip over as many
8314 slashes as we found.
8315
8316 * variable.c (expanding_p, expanding, expansions, expansion_type):
8317 New functions, variables, type.
8318 (expand): Check for recursively expanded variables.
8319 Reported by Nicolai Langfeldt <[email protected]>.
8320
8321 * cnf.c (kpse_cnf_get): Free temporary list after extracting the
8322 first element (the one we return).
8323
8324 Fri Aug 18 17:39:29 1995 Karl Berry <[email protected]>
8325
8326 * MakeTeXPK.in (1270): The guess here should be linohi, not linolo.
8327 From pwa.
8328
8329 * kpsewhich.c (suffix): Update for new MetaPost stuff.
8330 * tex-file.h: Doc fix.
8331
8332 Mon Aug 14 17:49:05 1995 Karl Berry <[email protected]>
8333
8334 * debug.h: Define KPSE_DEBUG, not DEBUG.
8335 * hash.c, hash.h, tex-file.c, elt-dirs.c, dir.c, db.c: Change
8336 #ifdef's accordingly. From John I.
8337
8338 Sun Aug 13 16:03:51 1995 Karl Berry <[email protected]>
8339
8340 * tex-file.h (kpse_file_format_type): Rename kpse_dvips_headers to
8341 just kpse_ps_headers. xdvik uses this too, now.
8342 * tex-file.c (kpse_init_format, KPSE_DVIPS_HEADER_ENVS): Likewise.
8343 Also, look for the PSHEADERS envvar, not DVIPSHEADERS.
8344 * texmf.cnf.in: Likewise.
8345
8346 Thu Aug 10 19:31:14 1995 Karl Berry <[email protected]>
8347
8348 * tex-file.c (kpse_init_fallback_resolutions): Complain if sizes
8349 aren't sorted, and ignore offending sizes.
8350 From: Manuel Fahndrich <[email protected]>.
8351
8352 Tue Aug 1 13:53:53 1995 Karl Berry <[email protected]>
8353
8354 * variable.[ch] (kpse_var_value): Use const_string.
8355
8356 * texmf.cnf.in (string_vacancies): Decrease to 25000. From Bernd.
8357 (font_max): Add this. From Wayne.
8358
8359 Mon Jul 31 15:47:01 1995 Karl Berry <[email protected]>
8360
8361 * db.h (KPSE_DB_DIR): Remove $.
8362 * cnf.c (read_files): Call kpse_var_value instead of kpse_var_expand.
8363
8364 * tex-file.[ch]: Add mpsupport and troff_font formats.
8365 * texmf.cnf.in: Likewise.
8366
8367 Sat Jul 29 09:21:44 1995 Karl Berry <[email protected]>
8368
8369 * variable.h (kpse_var_value): Declare this.
8370 * variable.c (kpse_var_value): New routine.
8371
8372 * tex-file.c: Check TEXMFINI for pool/fmt/base/mem lookups
8373
8374 Tue Jul 25 11:22:25 1995 Karl Berry <[email protected]>
8375
8376 * concatn.c (concatn): Free the intermediate result, not the final
8377 version.
8378
8379 * texmf.cnf.in (TEXMFLOG): Don't mention this, as we need to log
8380 the finding of the .cnf file itself, thus it must be an
8381 environment variable.
8382
8383 Sat Jul 22 17:09:58 1995 Karl Berry <[email protected]>
8384
8385 * tex-file.c (KPSE_{MEM,MP,MPPOOL}_ENVS): Define envvars.
8386 * tex-file.h (kpse_file_format_type): Add kpse_{mem,mp,mppool}_formats.
8387 * texmf.cnf.in (MPPOOL, MPMEMS, MPINPUTS): New variables.
8388 Adapted from: [email protected] (Ulrik Vieth).
8389
8390 Fri Jul 21 15:26:42 1995 Karl Berry <[email protected]>
8391
8392 * *.c, *.h: The FSF has a new address.
8393
8394 * kpsewhich.c: Give error if no args.
8395
8396 Wed Jul 19 17:34:26 1995 Karl Berry <[email protected]>
8397
8398 * texmf.cnf.in: Document limits on error_line et al.
8399
8400 Mon Jul 17 13:09:05 1995 Karl Berry <[email protected]>
8401
8402 * acconfig.h (NO_FMTBASE_SHARE): Rename to NO_DUMP_SHARE.
8403
8404 Sun Jul 16 14:17:16 1995 Karl Berry <[email protected]>
8405
8406 * acconfig.h (IPC, FUNNY_CORE_DUMP, NO_FMTBASE_SHARE): Include these.
8407
8408 Sat Jul 15 12:45:51 1995 Karl Berry <[email protected]>
8409
8410 * acconfig.h (HAVE_ITOA): Remove extraneous #define.
8411
8412 * texmf.cnf.in (hash_extra): New TeX array variable, 0 by default.
8413
8414 * tex-file.c (KPSE_BIB_ENVS): Include TEXBIB.
8415
8416 Thu Jul 13 15:04:52 1995 Karl Berry <[email protected]>
8417
8418 * texmf.cnf.in (TEXPOOL, MFPOOL): Include . after all, now that we
8419 use TEXPOOL to search for tcx files.
8420
8421 Sun Jul 9 15:30:59 1995 Karl Berry <[email protected]>
8422
8423 * tex-file.c (kpse_find_file): Don't go through the
8424 mapped_name_list if it's null.
8425
8426 Wed Jun 21 19:47:33 1995 Karl Berry <[email protected]>
8427
8428 * lib.h (FATAL5): Define this.
8429
8430 Sat Jun 10 15:52:41 1995 Karl Berry <[email protected]>
8431
8432 * tex-file.c (kpse_find_file): Use texfonts.map aliases for TFM
8433 searches.
8434 * tex-file.h: Doc fix.
8435 * fontmap.c (kpse_fontmap_lookup): New name. Fault in the map
8436 table as needed, instead of initializing. Make map_create static.
8437 * fontname.h: New name; remove map_create.
8438 * tex-glyph.c (try_fontmap): Just call kpse_fontmap_lookup, no
8439 need to create it.
8440
8441 * fontmap.c (map_lookup): Don't let return value fall off the end
8442 in the suffix-appending case.
8443 From: "Heading, Anthony" <[email protected]>.
8444
8445 Fri Jun 9 19:11:34 1995 Karl Berry <[email protected]>
8446
8447 * tilde.c: Only assume PWD_H for looking up ~user, not for ~ or ~/.
8448 * make-suffix.c: Use IS_DIR_SEP instead of assuming /.
8449 * concatn.c: Free the in-between concatenations to avoid garbage.
8450 * absolute.c [OS2]: Use same conventions as for DOS.
8451 * c-std.h, c-pathch.h, c-fopen.h: Likewise.
8452 From: [email protected] (Ralph Schleicher).
8453
8454 Tue Jun 6 13:11:46 1995 Karl Berry <[email protected]>
8455
8456 * lib.h (itoa) [!HAVE_ITOA]: Define conditionally.
8457 * itoa.c: Likewise.
8458 * acconfig.h (HAVE_ITOA): Add this.
8459
8460 * c-pathch.h, c-fopen.h [DOS]: Changes from web2pc from Wayne.
8461
8462 * xputenv.c: Doc fix.
8463
8464 * truncate.c (kpse_truncate_filename): Check for a device separator.
8465
8466 * elt-dirs.c (main): Tests for Amiga.
8467
8468 Mon Jun 5 13:12:10 1995 Karl Berry <[email protected]>
8469
8470 * absolute.c: Add Amiga support. From Andreas Scherer.
8471 * c-pathch.h: Ditto.
8472 * elt-dirs.c (dir_list_add): Ditto. Check for device separators, too.
8473
8474 Sun Jun 4 11:29:18 1995 Karl Berry <[email protected]>
8475
8476 * c-proto.h (AA): New macro to throw away (or keep) any number of
8477 arguments, used with an extra set of parens.
8478
8479 * Makefile.in (distdir): Put PROJECTS in the distribution.
8480
8481 Sat Jun 3 11:53:45 1995 Karl Berry <[email protected]>
8482
8483 * texmf.cnf.in (main_memory): Add definitions for TeX array sizes.
8484
8485 * config.h (progname.h): Include this.
8486 * prog{init,name}.c, kpsewhich.c: No longer need to include it.
8487 * lib.h (START_FATAL, FATAL_PERROR): Use program_invocation_name
8488 in the error message.
8489
8490 * variable.h: Doc fix.
8491
8492 Fri Jun 2 13:41:29 1995 Karl Berry <[email protected]>
8493
8494 * config.h (DOSISH) [DOS || OS2]: Define this.
8495
8496 Tue May 30 15:43:56 1995 Karl Berry <[email protected]>
8497
8498 * tex-file.c (kpse_find_file): Don't look for foo.sty.tex before
8499 foo.sty. Suggested by [email protected].
8500
8501 Mon May 29 15:24:38 1995 Karl Berry <[email protected]>
8502
8503 * db.c (db_insert): If DOS, don't check that first character on a
8504 line IS_DIR_SEP. From Sebastian.
8505
8506 Sat May 27 13:51:47 1995 Karl Berry <[email protected]>
8507
8508 * pathsearch.c (log_search): Cast time_t arg to avoid printf warning.
8509
8510 * lib.h (atou): Declare it.
8511 * Makefile.in (objects): Add atou.o.
8512 * atou.c: New file.
8513
8514 Sun May 21 10:58:31 1995 Karl Berry <[email protected]>
8515
8516 * xfopen.c: Assert non-null filenames.
8517
8518 Mon May 15 17:40:27 1995 Karl Berry <[email protected]>
8519
8520 * kpsewhich.c (USAGE): Add one-line description to the help message.
8521
8522 Sun Apr 16 14:25:06 1995 Karl Berry <[email protected]>
8523
8524 * line.c (BLOCK_SIZE): Increase to 56, to avoid realloc's.
8525
8526 Fri Apr 14 15:56:13 1995 Karl Berry <[email protected]>
8527
8528 * Makefile.in (objects): Add xfseek and xftell, from fontutils.
8529
8530 Mon Mar 13 20:05:02 1995 Karl Berry <[email protected]>
8531
8532 * MakeTeXPK.in: Don't egrep in a file that doesn't exist.
8533
8534 Fri Mar 10 10:49:28 1995 Karl Berry <[email protected]>
8535
8536 * tex-file.c (kpse_find_file): Abort if the name passed in is null
8537 or empty.
8538
8539 Thu Mar 9 15:23:07 1995 Karl Berry <[email protected]>
8540
8541 * tex-file.c (kpse_init_format): Only do suffix searches for GF files.
8542
8543 * acconfig.h: Warn that this is not the right thing to edit to fix
8544 configuration problems.
8545
8546 Thu Mar 2 15:58:11 1995 Karl Berry <[email protected]>
8547
8548 * texmf.cnf.in (TEXFORMATS): Doc fix.
8549
8550 Fri Feb 24 16:40:23 1995 Karl Berry <[email protected]>
8551
8552 * MakeTeXPK.in: `generate rootname' with no trailing punctuation
8553 for the dc fonts.
8554
8555 Mon Feb 20 15:23:05 1995 Karl Berry <[email protected]>
8556
8557 * tex-file.h (kpse_find_mf): New abbreviation.
8558
8559 Sat Feb 11 13:06:23 1995 Karl Berry <[email protected]>
8560
8561 * putenv.c: Include c-auto.h instead of kpathsea/c-auto.h, so the
8562 sed commands don't transform it into
8563 $(kpathsea_srcdir)/c-auto.h. From Andreas.
8564
8565 * tex-make.c (maketex): Don't make a bad return from pclose a
8566 fatal error. Reported most recently by Wayne Sullivan, also by
8567 Andy Piper in the past.
8568
8569 * MakeTeXPK.in (sauterdir): Only try this if we have the right
8570 b-foo.mf file. And correct $DESTDIR=... mistake.
8571 From Nick Cropper <[email protected]>.
8572
8573 Fri Feb 10 15:49:49 1995 Karl Berry <[email protected]>
8574
8575 * tex-file.c (INIT_MT): If the .program member has already been
8576 set, don't reset it.
8577
8578 Wed Jan 18 15:47:07 1995 Karl Berry <[email protected]>
8579
8580 * xopendir.c (xclosedir): Use CLOSEDIR_VOID, not VOID_CLOSEDIR.
8581 From [email protected].
8582
8583 * db.c (db_insert): Don't assert db.size>0, since we may not have
8584 called kpse_db_search. From [email protected].
8585
8586 * MakeTeXPK.in (dc fonts): Don't put a trailing period in the
8587 filename. From Tor Lillqvist <[email protected]>.
8588
8589 Sun Jan 8 12:14:47 1995 Karl Berry <[email protected]>
8590
8591 * Version 2.6.
8592
8593 Wed Jan 4 14:44:34 1995 Karl Berry <[email protected]>
8594
8595 * Makefile.in (mostlyclean): Remove kpsewhich.
8596
8597 Tue Jan 3 11:48:40 1995 Karl Berry <[email protected]>
8598
8599 * kpsewhich.c (long_options): Can't make this automatic.
8600
8601 * basename.c: Include <kpathsea/config.h> before testing
8602 HAVE_BASENAME.
8603
8604 * Makefile.in (kpsewhich): Make the library before kpsewhich.o.
8605 (paths.h): No need for the $(kpathsea_dir)/ any more, now make
8606 depend gets rid of it.
8607
8608 * rm-suffix.c: Doc fix.
8609
8610 * kpsewhich.c: Extract the dpi from the filename if possible.
8611
8612 Mon Jan 2 09:45:17 1995 Karl Berry <[email protected]>
8613
8614 * Makefile.in (kpsexpand): Replace with kpsewhich.
8615
8616 * proginit.h: Doc fix.
8617
8618 * texmf.cnf.in (TEXMFCNF): Rename from TEXMF_CNF.
8619 * tex-file.c (kpse_init_format): Likewise.
8620
8621 Sun Jan 1 14:04:41 1995 Karl Berry <[email protected]>
8622
8623 * Makefile.in (MakeTeXPK): Substitute for web2cdir.
8624 * MakeTeXPK.in: Use it for MakeTeXPK.site.
8625 (install-data): Install texmf.cnf in web2cdir instead of texmf.
8626 * texmf.cnf.in (TEXMF_CNF): Default path includes web2cdir.
8627
8628 Sat Dec 31 14:26:48 1994 Karl Berry <[email protected]>
8629
8630 * Makefile.in (objects): No more @LIBOBJS@.
8631 * common.ac: Use AC_CHECK_FUNCS for basename, not REPLACE_FUNCS.
8632 The latter doesn't define HAVE_BASENAME.
8633 * basename.c [!HAVE_BASENAME]: Conditionalize whole file.
8634
8635 * Makefile.in (uninstall-exec): Remove kpsexpand.
8636 (MakeTeXPK): New target.
8637 (install-exec): Install MTPK.
8638 (install-library): New target to replace install-headers.
8639 (install): Don't install-library by default.
8640
8641 Fri Dec 30 15:53:04 1994 Karl Berry <[email protected]>
8642
8643 * Makefile.in (objects): Don't put @LIBOBJS@ on a line by itself.
8644 From Joachim.
8645
8646 Mon Dec 26 07:55:40 1994 Karl Berry <[email protected]>
8647
8648 * common.ac (AC_FUNC_CLOSEDIR_VOID): Call this. Reported by
8649 Timothy Murphy <[email protected]>.
8650
8651 * tex-file.c (init_path): If a variable is set to an empty value,
8652 ignore it. Suggested by Stephen Gildea <[email protected]>.
8653
8654 * proginit.c: If passed a NULL mode, put / in the environment here.
8655 * tex-make.c (kpse_make_tex): Don't do STREQ on NULL (though it
8656 should never be NULL in the first place), and properly restore
8657 MAKETEX_MODE if it was /.
8658
8659 Tue Dec 20 09:57:21 1994 Karl Berry <[email protected]>
8660
8661 * install.texi: Mention how to do optimization.
8662
8663 Mon Dec 19 13:18:04 1994 Karl Berry <[email protected]>
8664
8665 * tex-file.h: Doc fix.
8666
8667 Wed Dec 14 14:46:47 1994 Karl Berry <[email protected]>
8668
8669 * Version 2.5.
8670
8671 * pathsearch.c (log_search): Don't prepend the `kdebug:' to the
8672 search result.
8673
8674 Sat Dec 10 16:49:12 1994 Karl Berry <[email protected]>
8675
8676 * tex-make.c (set_maketex_mag): Make case of magstep -1 work
8677 properly. From a bug report by
8678 [email protected] (Heiko Schlittermann).
8679
8680 Mon Dec 5 11:58:08 1994 Karl Berry <[email protected]>
8681
8682 * Makefile.in (objects): Add @LIBOBJS@.
8683 * common.ac: Check for basename.
8684
8685 * db.c (db_insert): Include trailing / in directory part, and pass
8686 the key and the value in the right order. From
8687 [email protected].
8688
8689 Sun Dec 4 14:26:44 1994 Karl Berry <[email protected]>
8690
8691 * kpsexpand.c: Add extra filename argument. From
8692 [email protected].
8693
8694 * common.ac: Use AC_TRY_RUN to test for SMART_PUTENV, not
8695 AC_TRY_LINK. From [email protected].
8696
8697 * acconfig.h: Use #undef instead of commented-out `/* #define'.
8698
8699 Sun Nov 27 13:47:06 1994 Karl Berry <[email protected]>
8700
8701 * db.c (db_insert): Don't try to insert into an empty hash table.
8702 From [email protected] (and others).
8703
8704 * pathsearch.c (log_search): Call DEBUGF, not printf, for the
8705 filenames. From John I.
8706
8707 * tex-make.c (kpse_make_tex): If MAKETEX_MODE is /, unset it and
8708 reset it around the command expansion.
8709 (maketex): Back to calling db_insert.
8710
8711 Sat Nov 26 11:44:09 1994 Karl Berry <[email protected]>
8712
8713 * cnf.c (read_file): If expansion of $TEXMF (KPSE_DB_DIR) fails,
8714 expand DEFAULT_TEXMF. From [email protected].
8715
8716 Thu Nov 24 13:41:15 1994 Karl Berry <[email protected]>
8717
8718 * tex-file.c (KPSE_BST_ENVS): Do not look at TEXINPUTS.
8719
8720 * tex-file.h: Doc fix.
8721
8722 Tue Nov 15 14:06:56 1994 Karl Berry <[email protected]>
8723
8724 * progname.c (kpse_set_progname): Use basename.
8725
8726 Fri Nov 11 19:12:23 1994 Karl Berry <[email protected]>
8727
8728 * acconfig.h (HAVE_SIGIO): Add this.
8729
8730 Tue Nov 8 19:14:12 1994 Karl Berry <[email protected]>
8731
8732 * tex-make.c (kpse_make_tex): Change argument name from
8733 `basename', since now we have a fn by that name.
8734 * magstep.c (kpse_magstep_fix): Initialize mdpi.
8735 * basename.c (basename): Initalize base.
8736
8737 Mon Nov 7 15:46:21 1994 Karl Berry <[email protected]>
8738
8739 * common.ac: Run autoupdate.
8740 * c-dir.h: Change #if names and NLENGTH to new style.
8741
8742 Fri Oct 28 21:28:02 1994 K. Berry ([email protected])
8743
8744 * Version 2.4.
8745
8746 * tex-make.c (maketex): Don't call db_insert, that routine is
8747 buggy. I'll fix it later. In the meantime, trying to get a
8748 semi-stable release.
8749
8750 Tue Oct 25 16:43:31 1994 Karl Berry <[email protected]>
8751
8752 * Version 2.3.
8753
8754 * progname.c (kpse_set_progname): Initialize kpathsea_debug from
8755 the KPATHSEA_DEBUG envvar. From [email protected].
8756
8757 Mon Oct 24 13:41:24 1994 Karl Berry <[email protected]>
8758
8759 * db.c (db_insert): New function.
8760 * db.h: Declare it.
8761 * tex-make.c (maketex): db_insert the result if we succeeded.
8762
8763 * basename.c: New file to define basename.
8764 * lib.h (basename): Declare it.
8765 * Makefile.in (objects): Include basename.o.
8766
8767 * tex-file.h (kpse_file_format_type): Add missing enum values for
8768 base/fmt/pool files.
8769 * tex-file.c (kpse_init_format): Add cases for these.
8770 From [email protected].
8771
8772 * lib.h (WARNING, FATAL): Use fputs instead of fprintf.
8773 * Many files: Use DEBUGF instead of printf ("kdebug".
8774 * debug.h (DEBUGF) [DEBUG]: Define this.
8775
8776 * xputenv.c (xputenv): Initialize that static saved_env_items to
8777 null, just for documentation's sake.
8778
8779 Tue Oct 18 13:19:06 1994 Karl Berry <[email protected]>
8780
8781 * tex-file.c (KPSE_*_ENVS): Move environment variable list here.
8782 * tex-file.h: Move them from here.
8783
8784 * tex-glyph.h: Doc fix.
8785
8786 * tex-file.c (kpse_find_file): Correct off-by-one in suffix
8787 comparison. From [email protected].
8788
8789 Mon Oct 17 14:01:02 1994 Karl Berry <[email protected]>
8790
8791 * elt-dirs.c (do_subdir): Find a top-level subdir if it matches
8792 the POST.
8793
8794 * db.c (kpse_db_search): Allow for the passed name including a
8795 directory part, as in dpi600/cmr10.pk.
8796 * tex-glyph.c (try_format): First search all specs with
8797 must_exist=false.
8798
8799 * kpsexpand.c: New file, from [email protected].
8800 * Makefile.in (kpsexpand): New target (a program).
8801 (install-exec): Depend on, and install, kpsexpand.
8802
8803 * common.ac: Doc fix.
8804
8805 * cnf.c (do_line): Don't quit just because the variable is in the
8806 environment. From [email protected].
8807
8808 * tex-glyph.c (PXL_BITMAP_SPEC): Remove this, we're not going to
8809 support pxl1500.
8810
8811 Sun Oct 16 20:46:26 1994 Karl Berry <[email protected]>
8812
8813 * kpathsea.texi: Make it clear that names of debugging bits can
8814 never be used.
8815
8816 Fri Oct 14 10:31:35 1994 Karl Berry <[email protected]>
8817
8818 * Version 2.2.
8819
8820 * hash.c (hash_lookup) [DEBUG]: Cast to long, not int.
8821
8822 Thu Oct 13 15:39:34 1994 Karl Berry <karl@owl>
8823
8824 * db.c (db_build): Warn if ls-R contains nothing useful.
8825
8826 * debug.c (fopen, fclose) [DEBUG]: fflush stdout.
8827 * dir.c (dir_links),
8828 * hash.c (hash_lookup),
8829 * tex-file.c (kpse_init_format),
8830 * elt-dirs.c (kpse_element_dirs): Likewise.
8831
8832 Thu Oct 13 09:02:56 1994 Karl Berry <[email protected]>
8833
8834 * hash.c (kpse_debug_hash_lookup_int) [DEBUG]: New global.
8835 (hash_lookup): Use it.
8836 * hash.h [DEBUG]: Declare it.
8837 * dir.c (dir_links) [DEBUG]: Set it and reset it.
8838
8839 * tex-glyph.c (PXL_BITMAP_SPEC): Add this (pxlNNN/cmr10.pk) for
8840 the Bitstream utilities. From [email protected].
8841 (try_format): Search for this.
8842
8843 Tue Oct 11 15:15:49 1994 Karl Berry <[email protected]>
8844
8845 * db.c (db_build): Use kpse_db_dir instead of KPSE_DB_DIR. This
8846 avoids one variable expansion, and [email protected]
8847 says otherwise TeX sometimes can't find ls-R.
8848
8849 Sun Oct 9 17:18:23 1994 Karl Berry <[email protected]>
8850
8851 * kdefault.c: Rename from default.c.
8852 * Makefile.in (objects): Likewise.
8853
8854 Fri Oct 7 12:58:33 1994 Karl Berry <[email protected]>
8855
8856 * tex-file.c (kpse_init_format): Call INIT_MT for the any_glyph
8857 case. From [email protected].
8858
8859 Sun Oct 2 14:11:20 1994 Karl Berry <[email protected]>
8860
8861 * magstep.c: Doc fix.
8862
8863 Sun Sep 25 17:11:40 1994 Karl Berry <[email protected]>
8864
8865 * Makefile.in: Include library.make.
8866
8867 Thu Sep 22 15:34:40 1994 Karl Berry <[email protected]>
8868
8869 * tex-file.h (kpse_file_format_type): Don't make equal to the last
8870 element index, make one more. From Eric Auborg.
8871
8872 Thu Sep 15 19:24:30 1994 Karl Berry ([email protected])
8873
8874 * Makefile.in (distdir): Include install.texi in the distribution.
8875
8876 Mon Sep 12 11:05:18 1994 Karl Berry ([email protected])
8877
8878 * Version 2.1.
8879
8880 Sun Sep 11 15:03:18 1994 Karl Berry ([email protected])
8881
8882 * Makefile.in (install-data): Install texmf.cnf if it didn't exist.
8883
8884 Sat Sep 10 13:28:29 1994 Karl Berry ([email protected])
8885
8886 * Makefile.in (texmf.sed, paths.h): Use tr 012 instead of \n.
8887 From John Interrante.
8888
8889 * Makefile.in (distdir): Include the .aux and .cps files in the
8890 distribution. Don't include paths.h (from John Interrante).
8891
8892 * kpathsea.texi: Fix overfull boxes and other TeX errors.
8893
8894 Wed Sep 7 16:28:37 1994 Karl Berry ([email protected])
8895
8896 * Version 2.0.
8897
8898 Tue Sep 6 10:33:18 1994 Karl Berry ([email protected])
8899
8900 * dir.c (dir_links): Use %ld for ret, since it's now a long.
8901
8902 Sat Sep 3 09:01:25 1994 Karl Berry ([email protected])
8903
8904 * dir.c (dir_links): Use long instead of int for the cast and the
8905 variable, to avoid warnings on the Alpha.
8906
8907 * c-std.h (SYSV, X_NOT_STDC_ENV): Don't define these here.
8908 * c-memstr.h (SYSV): Define this.
8909 (_XFUNCS_H_): And this.
8910
8911 * Makefile.in (distclean): Add texmf.cnf and texmf.sed.
8912
8913 Thu Sep 1 14:22:48 1994 Karl Berry ([email protected])
8914
8915 * xputenv.c (putenv): Declare this to avoid a warning.
8916 * xstat.c (lstat): And this.
8917
8918 * common.ac (SMART_PUTENV): Use program to test for this. From
8919 [email protected].
8920
8921 * tex-glyph.c (try_fallback_resolutions): Quit early if there's no
8922 resolutions in the list. From [email protected].
8923
8924 Tue Aug 30 14:26:48 1994 Karl Berry ([email protected])
8925
8926 * acconfig.h (FOIL_X_WCHAR_T): New definition.
8927
8928 * c-std.h (hypot) [!hypot]: Conditionalize declaration.
8929
8930 Fri Aug 26 09:00:24 1994 Karl Berry ([email protected])
8931
8932 * Makefile.in (install-data): Install headers into
8933 $(includedir)/kpathsea, not just $(includedir). From [email protected].
8934
8935 * pathsearch.c (search): Show results of the search as well as the
8936 start of it.
8937
8938 Thu Aug 25 13:40:29 1994 Karl Berry ([email protected])
8939
8940 * proginit.c (kpse_init_prog): Newline at end of fputs.
8941
8942 * pathsearch.c (search): Add debug statement.
8943 * debug.h (KPSE_DEBUG_SEARCH): New bit.
8944
8945 * tex-file.h (kpse_format_info_type): Rename `font_override_p' from
8946 `font_p'. Also `program_enabled' => `program_enabled_p'.
8947 Also new member `suffix_search_only'.
8948 * tex-file.c (kpse_find_file): Avoid searching for foo.tex.tex, etc.
8949
8950 Tue Aug 16 09:29:59 1994 Karl Berry ([email protected])
8951
8952 * tex-make.c (maketex): Announce that we are running the script
8953 before running it.
8954
8955 Mon Aug 15 11:18:19 1994 Karl Berry ([email protected])
8956
8957 * texmf.cnf.in (PKFONTS.xdvi): Write program-specific definition
8958 to include gsftopk and ps2pk ``modes''.
8959
8960 Sat Aug 13 16:34:43 1994 Karl Berry ([email protected])
8961
8962 * Makefile.in (lib): Rename to program to simplify rules.
8963
8964 * magstep.h: Doc fix.
8965
8966 * common.ac (AC_HAVE_FUNCS): Test for bcopy.
8967
8968 Tue Aug 9 14:18:56 1994 Karl Berry ([email protected])
8969
8970 * tex-make.c (misstex): Prepend kpathsea: to the missfont.log
8971 message.
8972
8973 Mon Aug 8 17:53:58 1994 Karl Berry ([email protected])
8974
8975 * tex-make.c (set_maketex_mag): Rewrite to call kpse_magstep_fix.
8976 * magstep.[ch]: New files.
8977
8978 Fri Aug 5 14:07:51 1994 Karl Berry ([email protected])
8979
8980 * db.c (match): Allow a trailing component in the filename.
8981
8982 Tue Aug 2 08:55:21 1994 Karl Berry ([email protected])
8983
8984 * Change `debug:' to `kdebug:'.
8985 * hash.c (hash_lookup): Print results of lookup if DEBUG_HASH.
8986 * debug.h (KPSE_DEBUG_HASH): New bit, replacing DB_BUILD.
8987 * db.c (db_build): Don't print the built hash table.
8988
8989 * db.c (match): Implement this. Petr Sojka and Zdenek Salvet(?)
8990 supplied code for this, but I wound up writing my own.
8991 * variable.c (expand): Do variable expansion on the value.
8992
8993 * texmf.cnf.in (TEXINPUTS): Put this after the .prog-specific entries.
8994
8995 * tex-file.c (kpse_pict_format): Remember to break after setting
8996 the type.
8997 (EXPAND_DEFAULT, init_path): Keep raw_path as pre-default expansion.
8998
8999 Sun Jul 31 14:18:09 1994 Karl Berry ([email protected])
9000
9001 * debug.c: Don't include debug.h, it's already in debug.h.
9002
9003 * Makefile.in (db.o,pathsearch.o): Don't need these special cases
9004 since tossed db_dir from paths.make.
9005 * db.h (DB_DIR): Change default to $TEXMF, rename to KPSE_DB_DIR.
9006 (kpse_db_dir): New global variable (sigh).
9007 * db.c (kpse_db_dir): Define.
9008 * cnf.c: Include db.h for KPSE_DB_DIR.
9009 (read_files): Set kpse_db_dir after all have been read.
9010 * pathsearch.c (elt_in_db): Check if kpse_db_dir is null.
9011 (path_search): Do not initialize db_dir.
9012
9013 Sat Jul 30 06:12:12 1994 Karl Berry ([email protected])
9014
9015 * c-dir.h [_POSIX_VERSION]: Remove this condition; just use DIRENT.
9016
9017 Fri Jul 29 11:36:25 1994 Karl Berry ([email protected])
9018
9019 * tex-file.c (init_path): Look up cnf file value if no suffix.
9020
9021 * xstat.h (SAME_FILE_P): Move here.
9022 * c-stat.h (SAME_FILE_P): From here.
9023 * file-p.c: Change include.
9024 * lib.h (dir_p, dir_links): Declare here.
9025 * dir.h: Split into xopendir.h and c-dir.h; Sun 3 include files
9026 get confused otherwise, according to [email protected].
9027 * xopendir.c: Include xopendir.h.
9028 * elt-dirs.c, dir.c: Change includes.
9029
9030 Sun Jul 17 10:21:16 1994 Karl Berry ([email protected])
9031
9032 * hash.c (hash_insert): Put new elements in at the end of the
9033 list, instead of the beginning.
9034 * hash.h: Document this.
9035
9036 * texmf.cnf.in (TEXMFROOT): Change to TEXMF.
9037 * kpathsea.texi: Likewise.
9038
9039 * cnf.c (do_line): assert program_invocation_short_name.
9040 * progname.c: Doc fix.
9041
9042 * absolute.[ch] (kpse_absolute_p): Take additional arg relative_ok.
9043 * pathsearch.c (log_search): Call it (with false).
9044 * tex-glyph.c: Change call.
9045
9046 * pathsearch.c (path_search): Initialize db_dir here.
9047 (elt_in_db): Not here.
9048
9049 Fri Jul 15 11:44:15 1994 Karl Berry ([email protected])
9050
9051 * tex-file.h: Doc fix.
9052
9053 * pathsearch.c (log_search): Pass in the whole str_list; anything
9054 else is unreliable.
9055
9056 * proginit.[ch] (kpse_init_prog): Don't pass in argv0; we need it
9057 earlier.
9058
9059 Tue Jul 12 11:56:54 1994 Karl Berry ([email protected])
9060
9061 * tex-file.c (init_path): Use the first envvar that's *set*, not
9062 the first in the list.
9063
9064 * tex-file.h (kpse_format_info_type): New member `type'.
9065 * tex-file.c (kpse_init_format): Initialize it.
9066
9067 * pathsearch.c (log_search): New fn.
9068 (search): Call it.
9069
9070 Fri Jul 1 11:54:29 1994 Karl Berry ([email protected])
9071
9072 * tex-file.c: Doc fix.
9073
9074 Mon Jun 27 10:18:59 1994 Karl Berry ([email protected])
9075
9076 * db.c (db_build): Call kpse_var_expand on the db filename.
9077 * pathsearch.c (elt_in_db): Likewise.
9078
9079 * tex-glyph.h (kpse_find_gf): By analogy with kpse_find_pk.
9080
9081 Sat Jun 25 16:09:05 1994 Karl Berry ([email protected])
9082
9083 * tex-glyph.c (try_format): Try both Unix and DOS bitmap specs,
9084 instead of just one or the other.
9085 (bitmap_name): No longer needed.
9086
9087 Fri Jun 24 11:52:32 1994 Karl Berry ([email protected])
9088
9089 * tex-file.c (kpse_find_file): Don't try the suffix if it doesn't
9090 exist.
9091
9092 * tex-file.h (kpse_find_{dvips_header,pict}): New definition.
9093
9094 Thu Jun 23 16:57:58 1994 Karl Berry ([email protected])
9095
9096 * tex-file.h (kpse_{pict,dvips_header}_format): New consts.
9097 (KPSE_{PICT,DVIPS_HEADER}_ENVS): Likewise.
9098
9099 Tue Jun 21 11:53:09 1994 Karl Berry ([email protected])
9100
9101 * tex-file.c (kpse_find_file): Try the name as given if the name
9102 concatenated with the suffix fails, for the sake of, e.g., EPS files.
9103
9104 * tex-file.h (kpse_find_tex): New definition.
9105
9106 * absolute.[ch]: Make arg const.
9107
9108 * tex-glyph.[ch]: (kpse_bitmap_tolerance): Move here from tex-make.
9109
9110 * c-proto.h (P6[CH]): New definitions.
9111
9112 * Makefile.in (objects): Add proginit.o.
9113 * proginit.[ch]: New files.
9114
9115 Mon Jun 20 14:55:57 1994 Karl Berry ([email protected])
9116
9117 * tex-file.c (kpse_init_format): Make override path not apply to
9118 TFM and VF files.
9119
9120 * tex-glyph.c (kpse_find_glyph_format): Rename to kpse_find_glyph,
9121 and don't call MakeTeXPK if the filename is absolute.
9122 * tex-glyph.h: Likewise.
9123
9124 Sun Jun 19 11:00:50 1994 Karl Berry ([email protected])
9125
9126 * common.ac (HAVE_PROGRAM_INVOCATION_NAME): Test for this.
9127 * acconfig.h: #undef this by default.
9128 * progname.[ch]: New files.
9129 * Makefile.in (objects): Add progname.o.
9130 * cnf.c (do_line): Check for .<progname> qualification.
9131
9132 Sat Jun 18 16:55:36 1994 Karl Berry ([email protected])
9133
9134 * elt-dirs.c (kpse_element_dirs): Avoid stats in leaf directories
9135 found via a non-null post.
9136
9137 Fri Jun 17 14:25:08 1994 Karl Berry ([email protected])
9138
9139 * elt-dirs.c (kpse_element_dirs) [DEBUG]: Print the directory
9140 expansion of the path element.
9141
9142 * str-llist.h: Doc fix.
9143
9144 * elt-dirs.c (do_subdir): Ignore anything beginning with ., not
9145 just `.' and `..'.
9146
9147 Tue Jun 14 11:53:49 1994 Karl Berry ([email protected])
9148
9149 * dir.c (dir_links): Cache the lookups.
9150
9151 * elt-dirs.c (kpse_element_dirs): Don't expand the argument.
9152 * expand.h (kpse_path_expand): New routine.
9153 * expand.c: Define it.
9154 * pathsearch.h: Doc fix.
9155
9156 * db.c, tex-file.c [DEBUG]: Prefix output lines with `debug:'.
9157
9158 * tex-file.h (kpse_format_info_type): Add cnf_path to the struct.
9159 * tex-file.c (kpse_init_path): Print the cnf_path.
9160 (init_path): Set it, instead of a local variable.
9161
9162 * pathsearch.c (path_search): Use !! for no-disk-search instead of
9163 %%, because now % is the comment char in cnf files.
9164 * kpathsea.texi: Document this. Also change all `Kpathsearch' to
9165 `kpathsea'.
9166
9167 Mon Jun 13 10:15:49 1994 Karl Berry ([email protected])
9168
9169 * tex-make.h (kpse_set_maketex_mag): Remove.
9170 * tex-make.c (kpse_set_maketex_mag): Make static, remove kpse_
9171 prefix, and use KPATHSEA_DPI and MAKETEX_BASE_DPI instead of args.
9172
9173 Sun Jun 12 13:49:15 1994 Karl Berry ([email protected])
9174
9175 * db.c (db_build): Put a header on the hash table.
9176
9177 * tex-glyph.c (try_format): Set extension and path after
9178 kpse_init_format, natch.
9179
9180 Sat Jun 11 14:26:34 1994 Karl Berry ([email protected])
9181
9182 * Makefile.in (objects): Add cnf.o.
9183 * variable.c (expand): Call kpse_cnf_get if no envvar value.
9184
9185 Fri Jun 10 11:20:23 1994 Karl Berry ([email protected])
9186
9187 * tex-make.h: Remove spec type and variable.
9188
9189 Thu Jun 9 13:42:21 1994 Karl Berry ([email protected])
9190
9191 * Makefile.in (objects): Remove init-path.o.
9192 * tex-file.c (kpse_find_file): Rewrite to initialize the paths
9193 only once, and keep all path info in a structure.
9194 * tex-file.h: Vastly simplify.
9195 * tex-glyph.h (kpse_font_file_type): Move here, since it's really
9196 only for glyphs.
9197 * tex-glyph.c: Corresponding changes.
9198 * debug.h (KPSE_DEBUG_PATHS): New debug bit.
9199
9200 * default.h, str-list.h: Doc fix.
9201
9202 Tue May 31 10:06:51 1994 Karl Berry ([email protected])
9203
9204 * debug.c: Doc fix.
9205
9206 Mon May 23 11:50:03 1994 Karl Berry ([email protected])
9207
9208 * c-fopen.h (FOPEN_A_MODE): Define this.
9209 * tex-make.c (misstex, maketex): Split up kpse_make_tex into
9210 these, and create missfont.log if appropriate.
9211
9212 Sun May 22 17:39:52 1994 Karl Berry ([email protected])
9213
9214 * tex-make.h: Doc fix.
9215
9216 Wed May 11 13:25:58 1994 Karl Berry ([email protected])
9217
9218 * configure.in (AC_OUTPUT): Use just `Makefile' instead of
9219 `./Makefile', to avoid a bug in Autoconf (through 1.10).
9220
9221 Sun Apr 17 16:18:00 1994 Karl Berry ([email protected])
9222
9223 * debug.h: Prefix macros with KPSE_.
9224 * db.c, dir.c: Change calls.
9225
9226 * common.ac: Remove :: VPATH stuff; that made it in to Autoconf 1.8.
9227
9228 * Makefile.in (top_srcdir): Define this for configure to substitute.
9229
9230 Thu Apr 7 17:52:05 1994 Karl Berry ([email protected])
9231
9232 * debug.[ch]: Implement fopen/fclose tracing.
9233
9234 Thu Mar 31 07:25:49 1994 Karl Berry ([email protected])
9235
9236 * Version 1.8.
9237
9238 Thu Mar 24 10:01:20 1994 Karl Berry ([email protected])
9239
9240 * tex-glyph.c: Doc fix.
9241
9242 * pathsearch.c (path_search): Don't search the disk if there is
9243 magic in the path spec.
9244
9245 * db.c: Doc fix.
9246
9247 Wed Mar 16 13:50:17 1994 Karl Berry ([email protected])
9248
9249 * readable.c (kpse_readable_file): Complain if errno == EPERM.
9250
9251 Sun Mar 13 11:14:19 1994 Karl Berry ([email protected])
9252
9253 * pathsearch.h (kpse_path_search): Take an extra arg must_exist.
9254 * pathsearch.c (kpse_path_search, search, path_search): Likewise.
9255 * tex-file.c (kpse_find_file): Change call.
9256 * tex-file.h (kpse_find_*): Change these calls, too.
9257
9258 * hash.c (hash_create): Don't use xcalloc to init pointers to null.
9259
9260 * db.c (kpse_db_search): Don't free the pointer after incrementing it.
9261 From Frank Jensen.
9262
9263 Sat Mar 12 17:55:36 1994 Karl Berry ([email protected])
9264
9265 * db.h (kpse_db_search): Returns a pointer.
9266 * db.c (kpse_db_search): If db can't be built, return NULL, else a
9267 pointer to the (possibly empty) list.
9268 (db_build): Return whether we found the file.
9269 * pathsearch.c (path_search): Change call.
9270
9271 Thu Mar 10 07:45:13 1994 Karl Berry ([email protected])
9272
9273 * Makefile.in (install-info): New target.
9274
9275 Fri Mar 4 08:06:16 1994 Karl Berry ([email protected])
9276
9277 * hash.c (hash): Change hash function to spread out the values a
9278 bit better.
9279
9280 * debug.h (DEBUG_DB_BUILD): New debug bit.
9281 * db.c (db_build) [DEBUG]: If bit is set, print hash table.
9282 * hash.h (hash_print): Declare.
9283
9284 Thu Mar 3 08:52:01 1994 Karl Berry ([email protected])
9285
9286 * Version 1.7.
9287
9288 Sun Feb 27 15:57:30 1994 Karl Berry ([email protected])
9289
9290 * Makefile.in (objects): Add db.o, hash.o.
9291 * db.[ch]: New files.
9292 * hash.[ch]: Also new files.
9293 * pathsearch.c (path_search): Try db search.
9294 * tex-glyph.c, fontmap.c: Use general hash functions.
9295
9296 Sat Feb 26 13:15:53 1994 Karl Berry ([email protected])
9297
9298 * fontmap.c: Doc fix.
9299
9300 * pathsearch.c (INIT_ALLOC): Increase to 75, what the heck.
9301
9302 Fri Feb 25 08:30:50 1994 Karl Berry ([email protected])
9303
9304 * tex-file.[ch]: Decare args const.
9305
9306 Thu Feb 24 07:55:43 1994 Karl Berry ([email protected])
9307
9308 * tex-make.h: Include tex-file.h, not init-path.h.
9309
9310 * init-path.h (KPSE_*_{ENVS,PATHS}, kpse_font_override_path): Move
9311 to tex-font.h.
9312 * tex-font.h (kpse_find_{file,tfm,vf}): Also declare these.
9313 * tex-font.c (kpse_find_file): Define these.
9314 (kpse_font_override_path): Move definition here.
9315
9316 * tex-file.*: Rename from tex-font.*.
9317 * GNUmakefile: Corresponding changes.
9318
9319 * elt-dirs.c (do_subdir): Only append the / once we know it's a
9320 directory.
9321
9322 Wed Feb 23 16:41:31 1994 Karl Berry ([email protected])
9323
9324 * elt-dirs.c (do_subdir): Don't tack POST on if it is exactly the
9325 d_name, so we can find a/b with a path of a//b.
9326
9327 * c-vararg.h (PVAR3[CH]): New defines.
9328
9329 * init-path.h: Include KPSE_*_{ENVS,PATHS} here.
9330 (kpse_init_path): Take an additional arg font_p.
9331 * init-path.c (kpse_override_path): Rename kpse_font_override_path.
9332 (kpse_init_path): Only use kpse_font_override_font if font_p.
9333
9334 Mon Feb 21 15:38:53 1994 Karl Berry ([email protected])
9335
9336 * common.ac (extrasub): Define to remove VPATH lines if srcdir = `.'.
9337
9338 Thu Feb 3 06:19:49 1994 Karl Berry ([email protected])
9339
9340 * Version 1.6.
9341
9342 * fn.c (fn_copy0): Remember to allocate space for the null.
9343 Thanks, simon.
9344
9345 Wed Feb 2 09:57:47 1994 Karl Berry ([email protected])
9346
9347 * tex-make.h (KPSE_BITMAP_TOLERANCE): Move to here from tex-glyph.c
9348 (kpse_check_bitmap_tolerance): Declare.
9349 * tex-make.c (kpse_check_bitmap_tolerance): Define.
9350
9351 Tue Feb 1 10:42:03 1994 Karl Berry ([email protected])
9352
9353 * c-std.h (*alloc) [! _MALLOC_INTERNAL]: Make decl conditional.
9354
9355 * c-std.h [HAVE_STDLIB_H]: Change #if for including <stdlib.h> to this.
9356 * common.ac (AC_HAVE_HEADERS): Check for stdlib.h.
9357
9358 * Makefile.in (paths.h): Do all substitutions globally.
9359
9360 * absolute.c [DOS]: Include c-ctype.h.
9361 * tex-glyph.c (KPATHSEA_BITMAP_NAME) [DOS]: Double the backslash.
9362 * elt-dirs.c (do_subdir) [!UNIX_ST_LINK]: Avoid dangling else.
9363 From Wayne.
9364
9365 * paths.h.in: Doc fix.
9366
9367 * xputenv.c (xputenv): Check entire variable name for being saved,
9368 not just a prefix of it.
9369
9370 Mon Jan 31 12:05:30 1994 Karl Berry ([email protected])
9371
9372 * fn.c (fn_copy0): Allocate LEN if that's bigger than CHUNK_SIZE.
9373 (CHUNK_SIZE): Increase to 75.
9374
9375 Sat Jan 22 15:36:08 1994 Karl Berry ([email protected])
9376
9377 * Version 1.5.
9378
9379 * common.ac (AC_HAVE_FUNCS): Check for memmove.
9380
9381 * paths.h.in (DEFAULT_MF_PATH): Don't search just public/, cause
9382 we need ams/.
9383
9384 Mon Jan 17 15:09:36 1994 Karl Berry ([email protected])
9385
9386 * paths.h.in (DEFAULT_{FMT,BASE}_PATH): Include `.'.
9387
9388 Sun Jan 16 14:50:02 1994 Karl Berry ([email protected])
9389
9390 * paths.h.in (DEFAULT_PK_PATH): Search subdirs of pk.
9391
9392 Mon Jan 10 16:40:35 1994 Karl Berry ([email protected])
9393
9394 * xputenv.c (xputenv): Don't try to be smart about saving/freeing
9395 stuff if SMART_PUTENV is defined.
9396
9397 * c-std.h (assert) [!HAVE_ASSERT_H]: Define as nothing, to avoid
9398 undefined references to assert.
9399
9400 Tue Dec 21 16:28:13 1993 Karl Berry ([email protected])
9401
9402 * c-std.h (SYSV) [STDC_HEADERS]: Define, to get around old X
9403 include files under hpux.
9404
9405 Sun Dec 19 13:06:15 1993 Karl Berry ([email protected])
9406
9407 * Makefile.in (objects): Put tex-font.o first.
9408
9409 Sat Dec 18 15:03:57 1993 Karl Berry ([email protected])
9410
9411 * config.h (GCC_WCHAR_T, _GCC_WCHAR_T): Remove these; I have
9412 another theory now for wchar_t, done in xdvi.h and x11.c.
9413
9414 Sat Dec 18 14:41:15 1993 Karl Berry ([email protected])
9415
9416 * c-memstr.h ([r]index) [STDC_HEADERS]: Conditionalize #define.
9417
9418 Tue Dec 14 17:43:30 1993 Karl Berry ([email protected])
9419
9420 * Makefile.in (paths.h): Change substitutions accordingly.
9421 * paths.h.in (DEFAULT_FMT_PATH): Variable is now fmtdir.
9422 (DEFAULT_{BIB,BST}_PATH): Variable is now texmf_prefix.
9423
9424 Sat Dec 11 13:21:43 1993 Karl Berry ([email protected])
9425
9426 * tex-make.c (ABS): New macro.
9427 (kpse_set_maketex_mag): Use it, instead of fabs.
9428
9429 Fri Dec 10 15:31:16 1993 Karl Berry ([email protected])
9430
9431 * xmalloc.c, xrealloc.c: Use exit instead of abort, remove abort
9432 decls, and reword error messages to be less cryptic. From
9433 [email protected].
9434
9435 * dir.h: use `defined' instead of just `DIRENT || _POSIX_VERSION'.
9436 How annoying. From [email protected].
9437
9438 * xputenv.c (putenv): Remove declaration, as different systems do
9439 it differently. From [email protected].
9440
9441 Thu Dec 9 09:12:33 1993 Karl Berry ([email protected])
9442
9443 * tex-make.c (kpse_set_maketex_mag): Allow off-by-1 when deciding
9444 if a dpi is a magstep.
9445
9446 Tue Dec 7 11:03:51 1993 Karl Berry ([email protected])
9447
9448 * tex-make.c (kpse_set_maketex_mag): New routine from dvips,
9449 called by dvipsk and xdvik to ensure consistency.
9450 (magstep): Subroutine of above, also from dvips.
9451 * tex-make.h: Declare it.
9452
9453 * tex-doc.texi: Correct menu item (from [email protected]).
9454
9455 Fri Dec 3 12:53:38 1993 Karl Berry ([email protected])
9456
9457 * c-pathmx.h: Doc fix.
9458
9459 Sat Nov 27 14:36:11 1993 Karl Berry ([email protected])
9460
9461 * default.h: Doc fix.
9462
9463 * paths.h.in (texfontdir): This has been renamed to fontdir.
9464
9465 Sun Nov 21 08:28:41 1993 Karl Berry ([email protected])
9466
9467 * Makefile.in (distdir): Include HIER in the distribution, until
9468 we merge it into the manual.
9469
9470 Sun Nov 7 14:54:47 1993 Karl Berry ([email protected])
9471
9472 * c-namemx.h (NAME_MAX): Avoid use of pathconf.
9473 * c-pathmx.h: Doc fix.
9474
9475 Thu Nov 4 14:50:45 1993 Karl Berry ([email protected])
9476
9477 * config.h (_GCC_WCHAR_T) [!GCC_WCHAR]: Conditionalize.
9478
9479 * c-std.h (EXIT_SUCCESS) [!EXIT_SUCCESS]: Move these defines
9480 outside of !STDC_HEADERS, for the sake of SunOS 4.1.1. (From
9481 [email protected].)
9482
9483 Wed Nov 3 14:43:05 1993 Karl Berry ([email protected])
9484
9485 * Version 1.4.
9486
9487 Wed Nov 3 07:05:48 1993 Karl Berry ([email protected])
9488
9489 * paths.h.in (DEFAULT_{BASE,FMT}_PATH): Had these definitions reversed.
9490
9491 Fri Oct 29 19:27:36 1993 Karl Berry ([email protected])
9492
9493 * tex-glyph.c (try_fallback_resolutions): Initialize ret in all cases.
9494
9495 Thu Oct 28 14:32:34 1993 Karl Berry ([email protected])
9496
9497 * lib.h: Doc fix.
9498
9499 * common.h (AC_UNISTD_H): Replace this with unistd.h in the list
9500 of HAVE_HEADERS.
9501
9502 Tue Oct 26 13:59:33 1993 Karl Berry ([email protected])
9503
9504 * str-llist.[ch]: New files.
9505 * Makefile.in (objects): Add str_llist.o.
9506 * elt-dirs.[ch]: Use str_llist_type throughout.
9507 * pathsearch.c (dir_list_search): Take a str_llist_type, and float
9508 a successful dir towards the top.
9509 (path_search): Change call of kpse_element_dirs.
9510
9511 Sun Oct 24 19:41:49 1993 Karl Berry ([email protected])
9512
9513 * elt-dirs.c (do_optional): Remove this stub.
9514 (expand_elt): Don't call it.
9515
9516 Fri Oct 22 14:46:44 1993 Karl Berry ([email protected])
9517
9518 * xmalloc.c, xrealloc.c, line.c, pathsearch.c: Doc fix.
9519
9520 Tue Oct 19 12:11:32 1993 Karl Berry ([email protected])
9521
9522 * tex-glyph.c (try_fallback_resolutions): New routine.
9523 (kpse_find_glyph_format): Call it, instead of repeating (the now
9524 pretty complicated) code.
9525 * tex-font.c (kpse_init_fallback_resolutions): Pass the value of
9526 any environment variable, not its name. From [email protected].
9527
9528 * c-memstr.h (str[r]chr) [!str[r]chr]: Conditionalize. From
9529 [email protected].
9530
9531 Tue Oct 12 16:26:48 1993 Karl Berry ([email protected])
9532
9533 * tex-make.c: Doc fix.
9534
9535 Thu Oct 7 13:13:57 1993 Karl Berry ([email protected])
9536
9537 * xmalloc.c: Rewrite to not require <config.h>.
9538 * xrealloc.c: Likewise.
9539
9540 * make-suffix.c (make_suffix): Declare variables const.
9541 * remove-suffx.c (remove_suffix): Likewise. Also rename to
9542 rm-suffix.c.
9543 * xputenv.c (putenv): Declare with correct prototype.
9544 * fontmap.c (internal routines): Likewise.
9545 * line.c (xmalloc, xrealloc): Declare as void *.
9546 (From [email protected].)
9547
9548 Wed Oct 6 06:49:53 1993 Karl Berry ([email protected])
9549
9550 * Version 1.3.
9551
9552 * tilde.c (kpse_tilde_expand): Always return a malloc-ed value.
9553 (From [email protected].)
9554
9555 Sun Oct 3 14:11:33 1993 Karl Berry ([email protected])
9556
9557 * config.h (_GCC_WCHAR_T): Define.
9558
9559 Sat Oct 2 17:17:32 1993 Karl Berry ([email protected])
9560
9561 * Makefile.in (install-*): Don't reassign PATH, just invoke
9562 mkdirchain explicitly.
9563
9564 * tex-glyph.c (KPATHSEA_BITMAP_NAME) [DOS]: Define what I think
9565 will work for this ...
9566
9567 * paths.h.in: Doc fix.
9568
9569 * Makefile.in: Doc fix.
9570
9571 * tex-glyph.c (kpse_find_glyph_format): Unconditionally initialize
9572 glyph_paths[*], since we might use them both in try_size. From
9573 [email protected].
9574
9575 Fri Oct 1 12:02:11 1993 Karl Berry ([email protected])
9576
9577 * expand.c: Doc fix.
9578
9579 Wed Sep 29 15:21:49 1993 ([email protected])
9580
9581 * Version 1.2.
9582
9583 Sat Sep 25 14:12:00 1993 Karl Berry ([email protected])
9584
9585 * pathsearch.c (path_search, absolute_search): Don't initialize
9586 structs.
9587
9588 Fri Sep 24 12:50:00 1993 Karl Berry ([email protected])
9589
9590 * tex-glyph.c (try_size): Skip the simultaneous stuff.
9591 (try_format): Set the envvar here.
9592 (bitmap_name): Not here.
9593 * pathsearch.c (kpse_*_multi_search): Delete.
9594 Change most other routines to take only a single name again,
9595 instead of a name list.
9596 * pathsearch.h: Delete decls.
9597
9598 * tex-glyph.c (init-path.h): Don't need to include this.
9599
9600 * tex-glyph.c (kpse_find_glyph_format): Try the fallback
9601 resolutions for the fallback font.
9602
9603 * Makefile.in (warn_more, MAKEINFO_FLAGS) [hayley]: Define these
9604 for development and distribution.
9605
9606 * Makefile.in (dvi): Make analogous to info (including use of new
9607 suffix rule).
9608
9609 * tex-glyph.c (kpse_find_glyph_format): Set KPATHSEA_NAME to the
9610 fallback font if we get that far.
9611
9612 Wed Sep 15 19:29:56 1993 Karl Berry ([email protected])
9613
9614 * filefmt.h (KPSE_*_PATH): Pass NULL as first arg.
9615
9616 * xputenv.c (xputenv): Rewrite again to save the variable names,
9617 not the old items.
9618
9619 Mon Sep 13 06:55:29 1993 Karl Berry ([email protected])
9620
9621 * concatn.h: Doc fix.
9622
9623 Sun Sep 12 15:54:55 1993 Karl Berry ([email protected])
9624
9625 * lib.h (XTALLOC): Parenthesize the cast.
9626
9627 * xputenv.c (xputenv): Rewrite to collect some of the garbage.
9628
9629 Fri Sep 10 14:00:35 1993 Karl Berry ([email protected])
9630
9631 * lib.h (ENVVAR_SET_DEFAULT): No longer needed.
9632
9633 * xputenv.c (xputenv_int): New routine.
9634
9635 Thu Sep 9 14:58:00 1993 Karl Berry ([email protected])
9636
9637 * tex-make.c (MAKE_TEX_PK_SPEC): Change MAKETEX_DPI to
9638 KPATHSEA_DPI.
9639
9640 * tex-glyph.c (try_fontmap): Use KPSE_GLYPH_PATH.
9641 * filefmt.c (KPSE_GLYPH_{PATH,ENVS}): New macros.
9642 (KPSE_{GF,PK}_ENVS): Use GLYPH_ENVS.
9643
9644 * tex-glyph.c (bitmap_name): Rewrite to use a variable spec,
9645 introducing KPATHSEA_{BITMAP_NAME,FORMAT,DPI,NAME}.
9646 (kpse_find_glyph_format): Set KPATHSEA_DPI instead of MAKETEX_DPI;
9647 also set KPATHSEA_NAME.
9648 (try_fontmap): Also set KPATHSEA_NAME here.
9649 (try_size): Set KPATHSEA_DPI here.
9650
9651 * tex-glyph.c (try_name): Delete this routine.
9652 (kpse_find_glyph_format): Try fallback resolutions here, call
9653 try_resolution directly.
9654 (try_fontmap): Call try_resolution directly.
9655
9656 * init-path.h: Need not include c-proto.h.
9657
9658 Sun Aug 29 13:34:25 1993 Karl Berry ([email protected])
9659
9660 * tex-make.c: Doc fix.
9661
9662 * filefmt.h: Don't need c-proto.h or types.h.
9663
9664 Fri Aug 27 10:36:46 1993 Karl Berry ([email protected])
9665
9666 * c-vararg.h (PVAR2C): Take AP as an arg.
9667
9668 * init-path.[ch] (kpse_init_path): Take the current value as an
9669 additional argument, separate from the default path, and always
9670 expand_default.
9671
9672 * uppercasify.c (uppercasify): Don't discard upcased result!
9673
9674 Thu Aug 26 10:36:28 1993 Karl Berry ([email protected])
9675
9676 * Version 1.1.
9677
9678 Sun Aug 22 19:18:35 1993 Karl Berry ([email protected])
9679
9680 * install-data (install-data): Replace nonexistent
9681 $(kpath_includedir) with $(includedir), and define it. Also
9682 remove c-auto.h.
9683
9684 Thu Aug 5 09:03:22 1993 Karl Berry ([email protected])
9685
9686 * Version 1.0.
9687
9688 Wed Aug 4 13:51:24 1993 Karl Berry ([email protected])
9689
9690 * tex-glyph.c (kpse_find_glyph_format): Fill in the font_file
9691 struct in the maketex case.
9692
9693 * Makefile.in (info): Just depend on kpathsea.info, and rely on
9694 new suffix rule to do the work.
9695
9696 Tue Aug 3 17:50:40 1993 Karl Berry ([email protected])
9697
9698 * tex-glyph.c (try_name): Don't free expanded_name if we're
9699 returning it.
9700
9701 Tue Aug 3 10:13:43 1993 Karl Berry ([email protected])
9702
9703 * version.c (kpathsea_version_string): Do not declare const.
9704
9705 * line.h (read_line): Protoize decl.
9706
9707 Tue Aug 3 09:10:07 1993 Karl Berry ([email protected])
9708
9709 * c-memstr.h (bcmp, bcopy, bzero) [!HAVE_BCOPY]: Conditionalize.
9710
9711 * putenv.c: Include <kpathsea/c-auto.h>, and use const when
9712 calling memcpy.
9713
9714 Sun Aug 1 08:48:49 1993 Karl Berry ([email protected])
9715
9716 * Add new features to manual.
9717
9718 * Makefile.in (objects): Include putenv.o.
9719 * putenv.c: New file from gdb.
9720 * common.ac: Test for putenv.
9721
9722 Sat Jul 31 11:54:31 1993 Karl Berry ([email protected])
9723
9724 * Makefile.in (distclean): Remove paths.h.
9725
9726 * Most files: changes for traditional C compatibility.
9727
9728 * filefmt.h: Add new KPSE_..._PATH's for the other formats.
9729 * paths.h.in: Add defaults.
9730 * Makefile.in (paths.h): sed the values in.
9731
9732 Fri Jul 30 17:23:10 1993 Karl Berry ([email protected])
9733
9734 * filefmt.h (KPSE_VF_PATH): Add empty parens.
9735
9736 * tex-paths.h*: Rename to just paths.h*.
9737
9738 Tue Jul 27 09:00:58 1993 Karl Berry ([email protected])
9739
9740 * filefmt.h: Include tex-paths.h, and use default paths in
9741 KPSE_..._PATH macros.
9742
9743 * find-suffix.c: Correct logic.
9744
9745 * filefmt.h: Include init-path.h.
9746
9747 Sat Jul 24 10:44:21 1993 Karl Berry ([email protected])
9748
9749 * tex-glyph.c (kpse_find_glyph_format): Assign to it.
9750 * tex-font.h (kpse_font_file_type): New member `source'.
9751 (KPSE_FONT_FILE_SOURCE): Accessor macro.
9752 (kpse_source_type): New type.
9753
9754 Wed Jul 21 19:45:45 1993 Karl Berry ([email protected])
9755
9756 * Makefile.in (configclean): New target.
9757
9758 Sun Jul 18 13:53:38 1993 Karl Berry ([email protected])
9759
9760 * tilde.[ch] (kpse_expand_tilde): Rename to kpse_tilde_expand.
9761
9762 * elt-dirs.c, pathsearch.c, tex-glyph.c: Replace calls to
9763 kpse_expand_tilde with kpse_expand.
9764 * expand.[ch]: New files.
9765 * Makefile.in (objects): Add it.
9766
9767 * fn.[ch]: New files.
9768 * elt-dirs.c (fn*): Moved to fn.c.
9769 * tex-make.c, variable.c: Use the new routines.
9770 * *obstack*: No longer needed.
9771 * Makefile.in (objects): Appropriate changes.
9772
9773 Sat Jul 17 13:25:25 1993 Karl Berry ([email protected])
9774
9775 * concat.c: Doc fix.
9776
9777 * pathsearch.c (search, path_search): Expand variable references.
9778
9779 * itoa.c: New file.
9780 * lib.h (itoa): Declare it.
9781 * Makefile.in (objects): Add it.
9782
9783 * lib.h (ENVVAR_SET_DEFAULT): New macro.
9784 * tex-glyph.c (kpse_find_glyph_format): Call it to set the dpi.
9785
9786 Fri Jul 16 09:10:52 1993 Karl Berry ([email protected])
9787
9788 * xputenv.c: New file.
9789 * Makefile.in (objects): Add it.
9790 * lib.h (xputenv): Declare it.
9791
9792 * c-obstack.h: New file.
9793 * variable.[ch]: New files.
9794 * Makefile.in (objects): Add it.
9795
9796 * uppercasify.c: New file.
9797 * Makefile.in (objects): add it.
9798 * lib.h (uppercasify): Declare it.
9799
9800 Tue Jul 13 13:47:54 1993 Karl Berry ([email protected])
9801
9802 * tex-glyph.c (kpse_find_glyph_format): Simplify path initialization.
9803 * filefmt.h: New file; add abbrevs for GF and PK inits.
9804
9805 * Makefile.in (objects): Add obstack.o and tex-make.o.
9806 * obstack.[ch]: New files from GNU.
9807 * concatn.[ch], tex-make.[ch]: New files.
9808 * init-path.c: Doc fix.
9809
9810 * elt-dirs.c: Doc fix.
9811 * readable.[ch]: Doc fixes.
9812
9813 Sun Jul 11 13:37:02 1993 Karl Berry ([email protected])
9814
9815 * tex-font.h (kpse_font_format_type): Rename to kpse_file_format_type,
9816 and include the other file formats.
9817 * tex-glyph.c: Change uses.
9818
9819 Tue Jul 6 08:09:10 1993 Karl Berry ([email protected])
9820
9821 * tex-font.c (kpse_fallback_font): Initialize to NULL.
9822
9823 Mon Jul 5 08:23:09 1993 Karl Berry ([email protected])
9824
9825 * tex-glyph.c (try_size): Don't fill in FONT_FILE if it's null.
9826
9827 * tex-font.c (kpse_init_fallback_resolutions): Look for TEXSIZES
9828 after the program-specific *SIZES var.
9829
9830 * tex-glyph.c (kpse_find_glyph_format): Use kpse_init_path.
9831 * Makefile.in (objects): Add init_path.o.
9832 * tex-font.[ch] (kpse_override_path): Move to init-path.[ch].
9833 * init-path.[ch]: New files.
9834 * c-vararg.h: New file.
9835
9836 Sun Jul 4 11:26:17 1993 Karl Berry ([email protected])
9837
9838 * tex-font.c (kpse_init_fallback_resolutions): New routine.
9839 * tex-font.h: Declare it, and companion return type.
9840
9841 Fri Jul 2 10:43:11 1993 Karl Berry ([email protected])
9842
9843 * tex-glyph.c (kpse_find_glyph_format): Take first successful
9844 fontmap entry.
9845
9846 * fontmap.c (map_file_parse): Take first % on line as starting the
9847 comment, not the last.
9848
9849 * fontmap.c (map_insert): Always insert the new element.
9850
9851 Thu Jul 1 19:21:35 1993 Karl Berry ([email protected])
9852
9853 * fontmap.c (map_lookup): Return a list, not a single string.
9854 (map_lookup_str): Likewise.
9855 * fontmap.h (map_lookup): Change decl.
9856 * tex-glyph.c (kpse_find_glyph_format): Change caller.
9857
9858 Sat Jun 26 11:48:36 1993 Karl Berry ([email protected])
9859
9860 * tex-font.h: Doc fix.
9861
9862 Thu Jun 24 11:16:41 1993 Karl Berry ([email protected])
9863
9864 * configure.in (MISSING_HEADERS): Toss in favor of HAVE_HEADERS. Sigh.
9865 Also, move all this to an include file.
9866 Change uses in several files.
9867
9868 * stat.h: Rename to c-stat.h, and change includers.
9869
9870 * Makefile.in (objects): Add tex-glyph.o.
9871 * pathsearch.[ch] (kpse_*_multi_search): New routines.
9872
9873 Sat Jun 19 11:37:18 1993 Karl Berry ([email protected])
9874
9875 * str-list.c (str_list_free): New routine.
9876
9877 Fri Jun 18 13:54:08 1993 Karl Berry ([email protected])
9878
9879 * fontmap.c (map_create): Rewrite to use kpse_all_path_search.
9880 Include const in various subroutines.
9881
9882 Tue Jun 15 15:58:18 1993 Karl Berry ([email protected])
9883
9884 * Change <kpathsea/pathsrch.h> to pathsearch. Rename the files
9885 themselves.
9886
9887 * elt-dirs.c (cache): Copy the key into our own storage, since it
9888 comes from kpse_path_element and might get overwritten. Should we
9889 copy all the values, too?
9890
9891 Sun Jun 13 16:49:09 1993 Karl Berry ([email protected])
9892
9893 * pathsearch.c (dir_list_search): Don't need to append the null
9894 here; in fact, it's wrong, since then the final list might have
9895 nulls in the middle.
9896
9897 * elt-dirs.c (dir_list_add): Correct check for new directory
9898 already ending in /.
9899
9900 Fri Jun 11 10:45:33 1993 Karl Berry ([email protected])
9901
9902 * str-list.[ch]: New files.
9903 * pathsrch.c: Use it for the dir_list routines.
9904 * Many changes and new files throughout for new implementation
9905 including TeX-font-lookup routines.
9906
9907 Tue Jun 8 14:00:54 1993 Karl Berry ([email protected])
9908
9909 * Most files: Change `const string' (constant pointer) to `const
9910 char *' (pointer to constant data). What a crock.
9911
9912 Mon Jun 7 09:43:21 1993 Karl Berry ([email protected])
9913
9914 * debug.[ch]: New files.
9915 * config.h: Include debug.h.
9916
9917 * dir-p.c: Rename to dir.c.
9918 (dir_links): New routine.
9919
9920 * c-std.h (assert.h) [!ASSERT_H_MISSING]: Include this.
9921 * configure.in: Check for it with new macro AC_MISSING_HEADERS.
9922
9923 Thu Jun 3 10:12:12 1993 Karl Berry ([email protected])
9924
9925 * dirio.h (leaf_dir_p): No longer defined; rename to dir.h.
9926 * xopendir.c, dir-p.c, pathsrch.c: Change include.
9927
9928 Mon May 31 07:49:16 1993 Karl Berry ([email protected])
9929
9930 * c-std.h (EXIT_{SUCCESS,FAILURE}): Define these if they're undefined.
9931
9932 * config.h: Use <kpathsea/...> instead "...".
9933
9934 * kpathlib.h: Had #ifndef protection messed up. Rename to lib.h.
9935
9936 * c-memstr.h (index, rindex) [!index, !rindex]: Make definitions
9937 conditional.
9938
9939 Tue May 25 10:07:00 1993 Karl Berry ([email protected])
9940
9941 * c-{namemx,pathmx,pathch,...}.h: Doc fixes.
9942
9943 * c-systypes.h: New file.
9944 * c-std.h: Include it.
9945
9946 * stat.h: New file.
9947 * xstat.h: Include it.
9948
9949 * configure.in (AC_HAVE_HEADERS): Test for `pwd.h'.
9950
9951 Sun May 23 19:06:22 1993 Karl Berry ([email protected])
9952
9953 * pathsrch.[ch]: Doc fixes.
9954
9955 Fri May 21 11:27:54 1993 Karl Berry ([email protected])
9956
9957 * line.c (free): Declare.
9958
9959 * pathsrch.c, find-suffix.c: Change caller.
9960 * c-pathch.h ({IS_,}{DIR,ENV}_SEP): Rename existing confusing
9961 definitions to these. Suggested by rocky.
9962
9963 Mon May 17 08:18:18 1993 Karl Berry ([email protected])
9964
9965 * Version 0.3.
9966
9967 * pathsrch.c (expand_default): Handle doubled colon and
9968 nothing-but-colon cases.
9969
9970 * Write documentation, change Makefile accordingly.
9971
9972 Thu May 13 16:32:34 1993 Karl Berry ([email protected])
9973
9974 * c-std.h (popen) [VMS]: Make decl conditional, and include
9975 <unixlib.h> and <unixio.h>.
9976
9977 Mon May 10 07:12:50 1993 Karl Berry ([email protected])
9978
9979 * Version 0.2.
9980
9981 * version.c: Put in placeholder.
9982
9983 Sun May 9 10:42:34 1993 Karl Berry ([email protected])
9984
9985 * config.h (c-auto.h): Use <...> instead of "...".
9986
9987 Tue May 4 14:54:41 1993 Karl Berry ([email protected])
9988
9989 * Makefile.in (info check dvi): New targets (that do nothing).
9990
9991 Mon May 3 13:46:17 1993 Karl Berry ([email protected])
9992
9993 * Version 0.1.
9994
9995 * Use KPATHSEARCH_ prefix for various headers' cpp protections.
9996
9997 Sun May 2 10:28:25 1993 Karl Berry ([email protected])
9998
9999 * Makefile.in (dist): Depend on TAGS, and put it in the dist.
10000
10001 * Makefile.in (c-auto.h.in): Remove extra $(srcdir).
10002
10003 Sun Apr 25 11:22:12 1993 Karl Berry ([email protected])
10004
10005 * pathsrch.h: Include c-proto.h.
10006
10007 * make-suffix.c: New file.
10008 * Makefile.in (objects): Add the .o.
10009
10010 * file-p.c: Use the SAME_FILE_P macro.
10011
10012 * fontmap.h: Include c-proto.h and types.h.
10013
10014 * lib.h: Rename to kpathlib.h.
10015 * config.h: Include changed.
10016
10017 * c-proto.h, c-std.h: Doc fix.
10018
10019 * c-limits.h [LIMITS_H_MISSING]: Conditionalize include of c-std.h.
10020
10021 * xstat.h: Include c-std.h.
10022
10023 * Makefile.in (c-auto.h.in): Add unused warning to top.
10024
10025 * dirio.h: Include c-proto.h and types.h.
10026
10027 Fri Apr 23 16:11:13 1993 Karl Berry ([email protected])
10028
10029 * line.c: Don't include config.h, just declare xmalloc and
10030 xrealloc explicitly.
10031
10032 * pathsrch.c: paths.h need not be included.
10033
10034 * Created.
10035
10036 (This ChangeLog file public domain.)