1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
|
2021-03-23 Karl Berry <karl@tug.org>
* TL'21.
2021-03-12 Akira Kakuto <kakuto@w32tex.org>
* texmfmp.c: Disable commands containing a character '|' for
write18 in restricted mode for security.
2021-01-01 Akira Kakuto <kakuto@w32tex.org>
* printversion.c: Update copyright year.
2020-12-10 Akira Kakuto <kakuto@w32tex.org>
* lib.h: Definition of eof() contradicts corecrt_io.h
in Visual Studio 2019.
2020-09-24 Akira Kakuto <kakuto@w32tex.org>
* texmfmp.c: Call kpse_in_name_ok() in find_input_file() for
getfilemoddate(), getfilesize(), getfiledump() and getmd5sum(),
instead of in each separate routine. Doing it in the latter
means we always check an absolute filename, and thus fail with
openin_any=p. Original report from Adrian,
https://tug.org/pipermail/tex-live/2020-September/046127.html
2020-08-28 Karl Berry <karl@tug.org>
* texmfmp.c (input_line): always clear errno before calling getc,
else an EINTR errno might persist, masking a real EOF. On the other
hand, loop as long as we have EOF && EINTR so we don't prematurely
stop reading characters.
https://tug.org/pipermail/tex-k/2020-August/003297.html
2020-07-18 Karl Berry <karl@freefriends.org>
* texmfmp.c: reformat so that all function return types and names
both are at the beginning of a line.
2020-07-17 Karl Berry <karl@freefriends.org>
* texmfmp.c (calledit): close only open input files,
not non-files resulting from terminal interactions.
This means looking at each element of input_stack
instead of only looking at the input_file array. Painful.
Original report from Xiao Zhang,
https://tex.stackexchange.com/q/552113
2020-01-01 Akira Kakuto <kakuto@w32tex.org>
* printversion.c: Update copyright year.
2019-12-10 Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
* do_dump [FMT_COMPRESS]: change conditional from XeTeX.
2019-08-10 Andreas Scherer <https://ascherer.github.io>
* lib.h: add missing prototypes from 'openclose.c' and 'texmfmp.c'.
2019-08-09 Karl Berry <karl@freefriends.org>
* texmfmp.c (texmf_yesno): no longer static, since we call it
from tex.ch.
* texmfmp.c: doc fixes; most "fixme"s were nothing that we ever
need to fix at this late date.
2019-08-08 Akira Kakuto <kakuto@w32tex.org>
* texmfmp.c: This file is not used in lua[jit]tex.
2019-08-07 Akira Kakuto <kakuto@w32tex.org>
* texmfmp.c: Improve support of non-ascii path names in
synctex. Support -cnf-line=command_line_encoding=value.
These changes are for Windows only.
2019-08-06 Karl Berry <karl@freefriends.org>
* texmfmp.c (long_options): new option --cnf-line.
(user_cnf_lines, user_cnf_nlines): new globals.
(maininit): call kpathsea_cnf_line_env_progname
on each specified --cnf-line.
(parse_options): recognize it and save each arg.
Following suggestion from Pavel Sanda on ntg-pdftex,
15 Jun 2019 19:02:11.
2019-07-01 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
* texmfmp.c (getcreationdate): Fix a wrong conditional (XeTeX only).
2019-06-30 Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
* texmfmp.c (getfiledump): Change readbuffer to unsigned char*.
Without this change, xetexdir/tests/filedump.tex ends up with
"!error: snprintf failed: file ../../../texk/web2c/lib/texmfmp.c"
(XeTeX only).
2019-05-14 Akira Kakuto <kakuto@w32tex.org>
* texmfmp.c: Support non-ascii file names in special cases
implemented in a previous change on 2019-05-08 (Windows only).
2019-05-08 Akira Kakuto <kakuto@w32tex.org>
* texmfmp.c: Introduce a new function find_input_file(s)
to fix a bug that in special cases getfilesize() etc. for
image files saved in "output-directory" do not work.
A report in tex-k list:
https://tug.org/pipermail/tex-k/2019-May/003014.html
2019-03-30 Akira Kakuto <kakuto@w32tex.org>
* texmfmp.c: Improve to record texmf.cnf. (ptex and friends,
and w32 only).
* openclose.c: Remove "static" in order to use relevant
functions externally. (w32 only).
2019-03-23 Akira Kakuto <kakuto@w32tex.org>
* texmfmp.c: On windows, xetex and pdftex did not record
texmf.cnf in the case of --recorder because of special
initializations. Fix this bug. It is not needed to rebuild
in other platforms.
2019-01-01 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* printversion.c: Update copyright year.
2018-12-17 Igor Liferenko <igor.liferenko@gmail.com>
* texmfmp.c (maininit): default to guessing an explicit &dumpname
as the "preloaded" (not really) format, if one was specified.
tex-k msgs of 23 Sep 2018 12:13:06, 23 Sep 2018 18:36:52.
(With comment and formatting tinkering from karl.)
2018-12-17 Andreas Scherer <https://ascherer.github.io>
* printversion.c (printversionandexit): Search for PROGNAME
in banner independent of 'This is' prefix.
2018-11-19 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Remove unused functions for XeTeX.
Check kpse_in_name_ok() in getfilesize(), getfiledump(),
and getmd5sum().
2018-11-18 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Make necessary changes for XeTeX in
getcreationdate(), getfilemoddate(), getfilesize(),
and getfiledump().
2018-11-17 Joseph Wright <joseph.wright@morningstar2.co.uk>
* texmfmp.c: Support some primitives from pdfTeX in XeTeX.
2018-11-14 Andreas Scherer <https://ascherer.github.io>
* printversion.c: free xmalloc'd prog_name.
2018-11-13 Karl Berry <karl@freefriends.org>
* texmfmp.c (FORCE_SOURCE_DATE_set, SOURCE_DATE_EPOCH_set): new static.
(init_start_time, get_date_and_time): initialize them.
(getfilemoddate): use_utc if both vars set.
Original suggestion from Ulrike Fischer, tex-live 3 Nov 2018 23:00:48,
original patch from Akira Kakuto.
(getfilemoddate): also, return nothing if ! kpse_in_name_ok.
2018-11-04 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* openclose.c: cleanup for non-ascii file names (w32 only)
2018-06-28 Karl Berry <karl@freefriends.org>
* openclose.c (open_input_with_dirname): do not prepend the
top-level directory name if the subsidiary aux file being searched
for is alrady absolute. Private report from John Collins
(22 Jun 2018 14:01:31).
2018-06-14 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: remove sjisterminal (w32 only).
2018-06-10 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* texmfmp.c: Allow non-ascii file names for pdfTeX
with UTF-8 source files (w32 only).
2018-06-09 TANAKA Takuji <ttk@t-lab.opal.ne.jp>
* texmfmp.c, openclose.c: Support UTF-8 file names
on UTF-8 locale in pTeX (Unix-like platform only).
2018-05-29 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Discard the changes for pdfTeX on 2018-05-11,
since 'command_line_encoding=utf-8' is not so natural
for pdfTeX (w32 only).
2018-05-12 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Allow non-ascii file names for pdfTeX (w32 only).
Changes on 2018-05-11 were incomplete.
2018-05-11 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Allow non-ascii file names for pdfTeX (w32 only).
2018-03-16 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Remove support of short 8.3 names (w32 only).
2018-01-01 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* printversion.c: 2017 ---> 2018.
2017-10-21 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* openclose.c: If opened fname is a directory in
output_directory, discard it in Unix platforms.
Report from Duncan Steele,
http://tug.org/pipermail/tex-live/2017-October/040731.html
In Windows, fopen (fname, mode) is always NULL, in the case
where fname is a directory, thus it is discarded automatically.
Thanks to Hironobu Yamashita,
http://tug.org/pipermail/tex-live/2017-October/040735.html
2017-09-05 Karl Berry <karl@tug.org>
and Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c (IS_SPC_OR_EOL): new macro.
(topenin): use it, instead of ISBLANK.
(parse_first_line): doc fix.
(input_line): remove only trailing space characters
instead of using ISBLANK.
See also analogous change in xetexdir/XeTeX_ext.c.
Original bug report from Evan Aad,
http://tug.org/pipermail/tex-k/2017-August/002801.html
2017-03-12 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Adopt Jonathan's solution for the Change on 2017-02-01.
2017-02-13 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: unsigned long long >= 0. Thanks Luigi.
2017-02-01 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Avoid a crash in xelatex for
http://tug.org/pipermail/xetex/2017-January/026975.html.
It is not a fix but a stopgap.
2017-01-02 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* printversion.c: 2016 ---> 2017.
2016-11-14 Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
* texmfmp.c: Change a condition to support new primitives in e(u)ptex.
2016-06-12 Karl Berry <karl@freefriends.org>
* texmfmp.c (get_date_and_time):
rename envvar SOURCE_DATE_EPOCH_TEX_PRIMITIVES to FORCE_SOURCE_DATE.
http://tug.org/pipermail/tex-k/2016-June/002722.html
(and surrounding thread, starting in May)
2016-05-20 Karl Berry <karl@tug.org>
* TeX Live 2016 release.
2016-05-06 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Avoid crash for too large a value of SOURCE_DATE_EPOCH.
(w32 only).
2016-05-06 Karl Berry <karl@tug.org>
* texmfmp.c (init_start_time, get_date_and_time) [onlyTeX]:
ignore SOURCE_DATE_EPOCH... envvars for original TeX.
2016-05-05 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c (strtoull) [_MSC_VER]: #define as _strtoui64.
2016-05-04 Karl Berry <karl@freefriends.org>
* texmfmp.c (init_start_time): new fn, factored out from
initstarttime.
(get_date_and_time): if envvar SOURCE_DATE_EPOCH_TEX_PRIMITIVES
is set, initialize minutes, day, month, year, from
SOURCE_DATE_EPOCH value. Requested by Debian, thread starting at
http://tug.org/pipermail/tex-k/2016-May/002691.html.
2016-04-14 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Fix a bug to show input file name in the case of pipe input.
Reported by Enrico Gregorio:
http://tug.org/pipermail/tex-live/2016-April/038030.html
2016-03-22 Karl Berry <karl@freefriends.org>
* texmfmp.c: no uexit after FATAL.
2016-03-21 Karl Berry <karl@freefriends.org>
* texmfmp.c (initstarttime): wording of invalid SOURCE_DATE_EPOCH.
2016-01-26 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Improve to skip BOM (win32 only).
2016-01-02 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* printversion.c: 2015 ---> 2016.
2015-11-15 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Show return code of system() if it is not zero.
2015-11-01 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Improve restricted shell escape for w32 a little.
2015-08-19 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c: Another minor modification (unused static).
2015-08-18 The Thanh Han <hanthethanh@gmail.com>
* texmfmp.c: Patch from Maria with some minor modification.
2015-07-09 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Add \pdfmdfivesum to XeTeX.
2015-07-02 Hironori Kitagawa <h_kitagawa2001@yahoo.co.jp>
* texmfmp.c: Moved convertStringToHexString() and getmd5sum()
from ../pdftexdir/utils.c to here.
2015-06-12 Peter Breitenlohner <peb@mppmu.mpg.de>
Integrate MFLua and MFLuaJIT.
* texmfmp.c: Adapted.
2015-03-16 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* printversion.c: 2014 ---> 2015.
2014-11-06 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c: Avoid MinGW64 warnings (INVALID_SOCKET => -1).
2014-11-03 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Indentation.
2014-10-30 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c: Use the decision about tex*.dll from ../texmfmp.h.
2014-10-09 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c: Apply some code from W32TeX.
2014-08-22 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Symplify support of multibyte characters, by
updating fsyscp_popen in kpathsea (Windows only).
2014-08-22 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c: Avoid several compiler warnings (Windows only).
2014-08-22 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Support multibyte characters in pipe (Windows only).
2014-07-23 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Short-file-name convention is incompatible with
--src-specials (Windows only).
2014-07-21 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Use getnullstr() in maketexstring(), also in aleph.
2014-07-19 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Use getnullstr() in maketexstring(), as in pdfTeX,
in most cases in order to avoid an assertion error.
2014-07-15 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c: Replace the deprecated spawnvp() by _spawnvp(),
they differ for 64-bit MinGW.
2014-07-04 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Remove redundant cpp macros (w32 only).
2014-06-20 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Support short-file-name convention (w32 only).
2014-05-06 Peter Breitenlohner <peb@mppmu.mpg.de>
Update to e-pTeX and e-upTeX from Akira Kakuto.
* texmfmp.c (getfiledump): Move definition of this function
also used by e-(u)pTeX from ../pdftexdir/utils.c to here.
2014-01-20 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* printversion.c: 2013 ---> 2014.
2014-01-15 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c: Do not declare dump_name, now done in change files.
2014-01-14 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: use fsyscp_system instead of system (Windows only).
2013-12-31 TANAKA Takuji <KXD02663@nifty.ne.jp>
* openclose.c: bug fix about error check when fopen.
Use fsyscp_fopen() instead of fsyscp_xfopen() (Windows only)
* texmfmp.c: Use get_command_line_args_utf8() (Windows only)
2013-12-03 TANAKA Takuji <KXD02663@nifty.ne.jp>
* openclose.c, texmfmp.c: Support KANJI file name in (e)upTeX and
XeTeX on Windows.
2013-06-11 Peter Breitenlohner <peb@mppmu.mpg.de>
Update to e-pTeX and e-upTeX 130605 from Hironori Kitagawa.
* texmfmp.c (pdftex_fail): Adapted from ../pdftexdir/utils.c.
(initstarttime, makecstring, makecfilename, getcreationdate,
getfilemoddate, getfilesize): Move definition of these functions
also used by e-(u)pTeX from ../pdftexdir/utils.c to here.
2013-04-09 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* printversion.c: 2012 ---> 2013.
2013-01-18 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (mk_shellcmdlist): Simplify.
2013-01-06 Khaled Hosny <khaledhosny@eglug.org>
* texmfmp.c [XeTeX]: Support input pipes.
2012-11-20 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am: Avoid use of deprecated INCLUDES.
2012-10-14 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Use _IONBF for unbuffered stream.
2012-10-10 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (mk_shellcmdlist): The argument is not constant.
2012-10-10 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Modify determination of fullpath for restricted shell
escape commands.
2012-09-19 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c: Since normalize_quotes() is declared static,
the forward declaration should also be static.
2012-09-11 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c (maininit): On Windows, latex "\input" "a b c", for example,
was not allowed. Allow file name with spaces in these cases.
2012-08-28 Peter Breitenlohner <peb@mppmu.mpg.de>
* main.c [WIN32]: Added _setmaxstdio() (from W32TeX).
* openclose.c (recorder_start): Reduce TL/W32TeX diffs.
Avoid using pid_t lacking in WIN32 (MSVC).
2012-08-22 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c [IS_pTeX]: Rename initdefaultkanji() => initkanji().
2012-08-06 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c [WIN32]: bug fix. use rewind (f) to clear error and
EOF indicators.
2012-07-23 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (runpopen): Binary mode for popen() on Windows now
done in kpathsea.
2012-06-30 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c [WIN32]: Ignore DLLPROC for __MINGW32__.
2012-06-30 Peter Breitenlohner <peb@mppmu.mpg.de>
2012-06-27 Norbert Preining <preining@logic.at>
* texmfmp.c (runpopen): Append "b" on Windows.
(open_{in,out}_or_pipe): Do not use the "b" here.
2012-06-27 Karl Berry <karl@tug.org>
* texmfmp.c (generic_synctex_get_current_name): return the
empty string if passed null (can happen with -ini).
2012-06-26 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (open_{in,out}_or_pipe): Use popen() modes "rb" and
"wb" only for Windows, Posix allows them only for fopen().
(This makes pdftex's \input"|..." feature work again,
unintentionally broken.)
tex-live mail, 26 Jun 2012 06:24:11.
2012-05-04 Peter Breitenlohner <peb@mppmu.mpg.de>
* printversion.c (printversionandexit): Update 'Copyright 2012'.
2012-04-08 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (mk_shellcmdlist, init_shell_escape,
shell_cmd_is_allowed, normalize_quotes): Declare as static.
(get_seconds_and_micros): Define only for pdfTeX.
(getrandomseed): Removed, MP only.
2012-03-04 Peter Breitenlohner <peb@mppmu.mpg.de>
Avoid 'differ in signedness' warnings.
* texmfmp.c (input_line): Cast buffer to 'unsigned char *'.
2012-02-14 Peter Breitenlohner <peb@mppmu.mpg.de>
* eofeoln.c (eof): Fix a typo in comment.
2012-01-30 Peter Breitenlohner <peb@mppmu.mpg.de>
* printversion.c, texmfmp.c: Drop report of file offset bits.
2012-01-17 Peter Breitenlohner <peb@mppmu.mpg.de>
* lib.h, printversion.c, texmfmp.c: Report file offset bits.
2011-12-06 Peter Breitenlohner <peb@mppmu.mpg.de>
* setupvar.c (setupboundvariable): Warning message: the bad
value can be from the environment or from texmf.cnf.
2011-10-11 Peter Breitenlohner <peb@mp.mpg.de>
* texmfmp.c [WIN32]: Slightly reformulate Byte order marks.
2011-10-07 Peter Breitenlohner <peb@mp.mpg.de>
* texmfmp.c: More changes to reduce diffs with W32TeX.
2011-10-04 Peter Breitenlohner <peb@mp.mpg.de>
* texmfmp.c: More changes to reduce diffs with W32TeX,
for compilation with MS Visual Studio 2005.
2011-10-05 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c : remove unused free_shellcmdlist()
2011-10-04 Peter Breitenlohner <peb@mp.mpg.de>
* texmfmp.c (calledit): More changes to reduce diffs with W32TeX.
2011-10-01 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: write (sock, buff, n) and send (sock, buff, n, 0)
for ipc_snd () are different in winsock.
2011-09-30 Peter Breitenlohner <peb@mp.mpg.de>
* texmfmp.c [Aleph]: Remove unused variable `eightbitp'.
2011-09-21 Peter Breitenlohner <peb@mp.mpg.de>
* texmfmp.c [IPC]: More changes to reduce diffs with W32TeX.
2011-09-11 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: Disable options -translate-file, -default-translate-file,
and -8bit for Aleph. The option -kanji-internal=STRING is effective
also for pTeX and epTeX.
2011-09-02 Peter Breitenlohner <peb@mp.mpg.de>
* texmfmp.c: More changes to reduce diffs with W32TeX.
2011-09-01 Peter Breitenlohner <peb@mp.mpg.de>
* texmfmp.c [WIN32]: Minor rewrite to reduce diffs with W32TeX.
2011-08-30 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c [WIN32]: Remove a semicolon.
2011-08-29 Peter Breitenlohner <peb@mp.mpg.de>
* texmfmp.c [WIN32]: Allow to build TeX & Co as DLL.
2011-08-23 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c: Remove some (e-)pTeX cruft.
* openclose.c [PTEX]: No nkf_open() and nkf_close() for WIN32.
2011-08-18 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c: Options for (e-)pTeX and (e-)upTeX.
2011-08-12 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c: Add upTeX and e-upTeX.
2011-08-04 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c: Do not #include empty file <kpathsea/recorder.h>.
2011-08-03 Magnus Granberg <zorry@gentoo.org>
* texmfmp.c: Use C code for i?86 when -fPIC.
2011-07-04 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c: Drop `#warning SyncTeX: -synctex command line...'.
2011-05-18 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (ipcpage): Add 'free(cwd)'.
(generic_synctex_get_current_name): Use xgetcwd().
2011-05-12 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c: Change arg2 of kpse_absolute_p() from `0' to `false'.
2011-05-11 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: add a function generic_synctex_get_current_name()
in order to get full path names for SyncTeX.
2011-05-04 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (ipc_open_out): Avoid to #define SOCK_NONBLOCK which
conflicts with newer GNU C library headers.
2011-05-04 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* openclose.c (recorder_change_filename): on windows, an opened file
cannot be renamed.
2011-05-02 Karl Berry <karl@tug.org>
* openclose.c (recorder_change_filename): take output_directory
into account. Report/patch from
Philipp Stephani, 30 Apr 2011 16:11:53,
http://tracker.luatex.org/view.php?id=615
2011-04-28 Karl Berry <karl@tug.org>
* printversion.c (printversionandexit): it is 2011.
2011-04-27 Karl Berry <karl@tug.org>
* texmfmp.c (initscreen): do not mention mfw, which is no more.
Suggestion from Reinhard Kotucha, tex-k mail 21 Jul 2010 11:40:36.
2011-04-19 Peter Breitenlohner <peb@mppmu.mpg.de>
Avoid 'differ in signedness' warnings.
texmfmp.c (input_line): Caat input_line2() arg2 to 'char *'.
2011-03-10 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (calledit): [__MINGW32__] Drop win32_system() and
use system() as for all other systems.
2011-03-07 Peter Breitenlohner <peb@mppmu.mpg.de>
* setupvar.c (setupboundvariable): `program_invocation_name' has
been renamed into `kpse_invocation_name'.
2010-06-10 Peter Breitenlohner <peb@mppmu.mpg.de>
Reorganize web2c headers.
* alloca.c, basechsuffix.c, chartostring.c, coredump.c,
eofeoln.c, fprintreal.c, input2int.c, inputint.c, main.c,
openclose.c, printversion.c, setupvar.c, uexit.c, usage.c,
zround.c:
#include <w2c/config.h> instead of <config.h> or "config.h".
* version.c: #include <w2c/c-auto.h> instead of "c-auto.h".
2010-06-06 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: include kpathsea/concatn.h if WIN32 is defined.
2010-06-04 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: include kpathsea/concatn.h and remove cast
for concatn ().
2010-05-24 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* texmfmp.c: on win32, all restricted shell escape commands are
executed by fullpath.
2010-05-18 Karl Berry <karl@tug.org>
* printversion.c (printversionandexit): 2010.
2010-05-10 Karl Berry <karl@tug.org>
* input2int.c (zinput2ints, zinput3ints): don't bother
to cast result of fprintf.
2010-04-25 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
* lib.h:
* texmfmp.c: remove TEXDLL.
2010-04-21 Karl Berry <karl@tug.org>
* Makefile.am (EXTRA_DIST),
* win32main.c: rm per Akira.
2010-04-20 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c, lib.h: Remove luaTeX specific code.
* lib.h: Move extern declaration of ptexbanner from here
to ../pdftexdir/ptexlib.h (instatiated in texmfmp.c).
2010-04-19 Peter Breitenlohner <peb@mppmu.mpg.de>
* main.c, texmfmp.c: Remove extern declaration of mainbody,
is in lib.h.
* openclose.c (recorder_enabled, output_directory): Remove
extern declarations, are in lib.h.
* lib.h: Move extern declaration of fullnameoffile to here ...
* texmfmp.c: ... from here ...
* openclose.c: ... and from here.
* texmfmp.c [XeTeX]: Move extern declarations of papersize and
outputdriver from here to ../xetexdir/XeTeX_ext.h.
* Makefile.am, openclose.c, printversion.c:
Integrate libp.a for pTeX.
2010-04-18 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (maininit) [__SyncTeX__]: omit warning about no
SyncTeX for pTeX.
2010-04-11 Karl Berry <karl@tug.org>
* texmfmp.c,
* printversion.c,
* openclose.c,
* chartostring.c,
* basechsuffix.c: remove useless casts to (string) or (char *),
etc. of xmalloc.
2010-03-30 Peter Breitenlohner <peb@mppmu.mpg.de>
* openclose.c (open_input): Fixed a typo.
From Akira Kakuto <kakuto@fuk.kindai.ac.jp>, 30 Mar 2010 12:33:33.
2010-03-30 Karl Berry <karl@tug.org>
* (recorder_start): throw in pid in recorder_name so parallel builds
have a chance of working. Report from
Kirill Smelkov, Debian bug 575731, tex-k mail 29 Mar 2010 06:18:35.
2010-03-19 Peter Breitenlohner <peb@mppmu.mpg.de>
* setupvar.c (setupboundvariable): Fix off by one error in msg.
2010-03-05 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (setupboundvariable): Moved from here ...
* setupvar.c (new): ... to here for use in non-engine programs.
* lib.h (setupboundvariable): Moved from ../texmfmp.h to here.
* Makefile.am (lib_a_SOURCES): Added setupvar.c.
2010-02-24 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (IPC) [WIN32]: #include <winsock2.h> instead of
<sys/socket.h> and <fcntl.h>, use ioctlsocket() instead of
fcnt() for non-blocking, and use Sleep() instead of sleep().
2010-02-21 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c: #include <window/mfdisplay.h> instead of externs.
2010-02-20 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (calledit): Use win32_system() with two args only
for MinGW32, native WIN32 uses only one arg.
(catch_interrupt) [WIN32]: Declare as static.
2010-02-01 Karl Berry <karl@tug.org>
* openclose.c (open_input): do not try prepending TEXMFOUTPUT for
reading if the filename is absolute.
2010-01-24 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (mk_shellcmdlist): Declare string param as const.
2010-01-22 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (maininit) [__SyncTeX__]: omit warning about no
SyncTeX for luaTeX.
(gettexstring): Declare as static for luaTeX.
2010-01-16 Karl Berry <karl@tug.org>
* texmfmp.c (do_dump, do_undump): give full name of file
in fatal message when something cannot be (un)dumped.
2010-01-02 Karl Berry <karl@tug.org>
* texmfmp.c (runsystem): doc fix.
2009-12-23 Karl Berry <karl@tug.org>
* usage.c (usagehelp)
* texmfmp.c (BUG_ADDRESS): default to tex-k@tug.org, no @mail.
2009-12-01 Alexander Cherepanov <cherepan@mccme.ru>
* texmfmp.c (parse_first_line): initialize s to NULL.
* usage.c: doc fix.
2009-11-12 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (shell_cmd_is_allowed): Check for invalid single
quote also within quoted arguments.
Reported by Akira Kakuto <kakuto@fuk.kindai.ac.jp>,
diagnosed by Manuel P\'egouri\'e-Gonnard <mpg@elzevir.fr>.
2009-10-24 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (openinnameok, openoutnameok): Moved to Kpathsea
and renamed kpse_{in,out}_name_ok.
2009-09-06 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (last_lineno): MAYBE_STATIC for luaTeX.
(srcspecialsoption, parse_src_specials_option): static but not
used for luaTeX.
2009-09-05 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (runpopen): Used only for pdfTeX and luaTeX.
(last_source_name etc): Not used by MF.
(ipcpage): Avoid unconstifying cast.
(compare_paths): Declare as static.
(mfwin_sw): Constify member string.
2009-09-04 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (initscreen): Add explicit braces.
(getrandomseed, makefullnamestring): ANSI C definition.
2009-08-27 Peter Breitenlohner <peb@mppmu.mpg.de>
* lib.h (NOT_WEB2C): New preprocessor macro, if defined prevents
declaration of argc, argv, cmdline, and mainbody (from main.c).
2009-08-24 Peter Breitenlohner <peb@mppmu.mpg.de>
* openclose.c (open_output): Bugfix? local var 'fname' was
shadowed by a second one. Avoid memory leak.
2009-08-22 Peter Breitenlohner <peb@mppmu.mpg.de>
* lib.h, texmfmp.c, version.c: Constify ptexbanner and
versionstring.
2009-08-21 Peter Breitenlohner <peb@mppmu.mpg.de>
Avoid maximal compiler warnings.
* openclose.c (recorder_record_name): Constify string param1.
(recorder_record_{name,input,output}): Rename param
nameoffile=>name, not to shadow global var.
2009-08-20 Peter Breitenlohner <peb@mppmu.mpg.de>
* lib.h (ptexbanner): Add decl for pdfTeX and luaTeX.
* texmfmp.c (ptexbanner): Drop decl but keep initializer.
* printversion.c (kpathsea_version_string):
#include <kpathsea/version.h> and drop extern declaration.
2009-08-17 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c (shell_cmd_is_allowed): Change param1 from 'char **'
to 'const char *'.
(runsystem, runpopen): Constify string params.
2009-07-24 Martin Schr\"oder <martin@oneiros.de>
* printversion.c: don't nest extern declarations
2009-06-23 Peter Breitenlohner <peb@mppmu.mpg.de>
* basechsuffix.c, chartostring.c, coredump.c, eofeoln.c,
fprintreal.c, input2int.c, inputint.c, main.c, openclose.c,
printversion.c, texmfmp.c, uexit.c, usage.c, win32main.c,
zround.c: drop P?C, P?H, use ANSI C function declarations.
2009-06-10 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am (AM_CFLAGS): enable compiler warnings.
* lib.h (new): declarations for *.c from ../cpascal.h.
* basechsuffix.c, chartostring.c, eofeoln.c, fprintreal.c,
input2int.c, inputint.c, main.c, openclose.c, printversion.c,
zround.c: #include "lib.h" to declare function prototypes.
* openclose.c: declare internal function recorder_record_name as
static; declare param of recorder_record_input and
recorder_record_output as const_string as from ../cpascal.h.
2009-06-01 Karl Berry <karl@tug.org>
* printversion.c (printversionandexit): it's 2009.
Also, remove special references to kpathsea author(s) etc.
2009-03-29 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c: remove all references to (Web2C version of) MP.
2009-05-18 Karl Berry <karl@tug.org>
* openclose.c (recorder_start): use output_directory for the .fls
file, if it has been specified with --output-directory.
metapost mail from Nicola, 16 May 2009 13:41:36.
2009-03-29 Peter Breitenlohner <peb@mppmu.mpg.de>
* texmfmp.c: remove all references to Omega, eOmega, and pdfeTeX.
2009-03-28 Karl Berry <karl@tug.org>
* texmfmp.c (mk_shellcmdlist, shell_cmd_is_allowed): not static,
so luatex can access. From Taco.
2009-03-27 Taco Hoekwater <taco@luatex.org>
* texmfmp.c (parse_options): add #ifndef luaTeX guard for
--src-specials, because luaTeX does not implement it.
(parse_src_specials_option): add #ifndef luaTeX guard for
the same reason.
2009-03-02 Karl Berry <karl@tug.org>
* texmfmp.c (long_options): make -enable-write18 and -disable-write18
synonyms for -shell-escape and -no-shell-escape.
2009-02-26 Karl Berry <karl@tug.org>
* texmfmp.c: Implementation of restricted shell escapes from Akira.
(mk_shellcmdlist, init_shell_escape, char_needs_quote, Isspace,
shell_cmd_is_allowed, runsystem, runpopen): new fns.
(long_options, parse_cmd_line): new option --shell-restricted.
(main): call init_shell_escape.
(open_in_or_pipe, open_out_or_pipe): call runpopen.
2009-02-06 Karl Berry <karl@tug.org>
* texmfmp.c (maininit) [__SyncTeX__]: omit warning about no
SyncTeX for Omega and MF/MP.
2008-03-24 Karl Berry <karl@tug.org>
* printversion.c: it's 2008.
2008-03-16 Karl Berry <karl@tug.org>
* texmfmp.c (maininit): don't append DUMP_EXT if it's already
there. Report from Hans.
2008-03-09 Karl Berry <karl@tug.org>
* texmfmp.c (maketexstring) [!MP]: only define this fn if !MP,
since MetaPost has its own in mpdir/utils.c.
(input_line): initialize i = EOF. From Taco.
2008-01-29 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.in: Add @configure_input@ line.
2007-12-28 Karl Berry <karl@tug.org>
* texmfmp.c (parse_options): do not set user_progname at
DUMP_OPTION or efmt.
(maininit): instead, do it here, after options are read.
2007-09-05 Karl Berry <karl@tug.org>
* texmfmp.c (long_options): move output-directory output to be
enabled for MF and MP too. From Akira.
2007-08-20 Karl Berry <karl@tug.org>
* texmfmp.c (main) [WIN32]: _setmaxstdio(2048), to increase
open files limit. From Akira, 19 Aug 2007 09:30:30 +0900.
2007-07-26 Karl Berry <karl@tug.org>
* openclose.c (recorder_record_name): fflush the recorder file,
since this is for debugging. Suggested by George White.
2006-12-28 Martin Schr\"oder <martin@oneiros.de>
* texmfmp.c: fixed some warnings raised by gcc for unused variables
and different signedness of arguments
2006-07-16 Karl Berry <karl@tug.org>
* mfmpi386.asm: missing " chars.
2006-07-15 Karl Berry <karl@tug.org>
* mfmpi386.asm (asm): prepend with .text to avoid seg fault with
-g3 or -ggdb3 due to the symbols ending up in the data section.
tex-k report by Edward Catmur, 29 Mar 2006 00:09:15 +0100.
2006-06-19 Karl Berry <karl@tug.org>
* texmfmp.c (open_in_or_pipe) [!pdfTeX && !pdfeTeX]: track
fullnameoffile; from Akira and Jonathan.
2005-08-13 Olaf Weber <olaf@infovore.xs4all.nl>
* printversion.c: Update copyright messages.
2005-08-03 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Implement -etex switch.
2005-07-29 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (opennameok): Check all occurrences of ".." in a
filename, not just the first. Reported by Yutaka OIWA
<y.oiwa@aist.go.jp>.
2005-07-27 Olaf Weber <olaf@infovore.xs4all.nl>
* printversion.c: libkpathsea is covered by the LGPL, not the GPL,
and is the common factor that brings in the *GPL to all
web2c-based programs.
* texmfmp.c (get_seconds_and_micros): New function, gets high-res
time if possible. Remove references to pdfxtex.
2005-07-22 Olaf Weber <olaf@infovore.xs4all.nl>
* input2int.c: The correct format string to use depends on whether
integer is an int or a long int. Reported by M.J. Rutter
<mjr19@cus.cam.ac.uk>.
2005-06-26 Olaf Weber <olaf@infovore.xs4all.nl>
* Makefile.in: Replace ac_include with kpse_include. From Peter
Breitenlohner.
2005-06-22 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c [MP][BANNER]: Update for MetaPost 0.901.
2005-06-21 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (opennameok,openinnameok,openoutnameok): Add new
parameter to opennameok() so its diagnostics are correct wrt to
whether we are testing a file name for reading or writing.
2005-04-12 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (getjobname): Add a parameter, the string to return if
--jobname wasn't given.
This is part of a group of changes that fix pdftex bug 302.
http://sarovar.org/tracker/?func=detail&atid=493&aid=302&group_id=106
* openclose.c (open_input): kpse_find_file() always returns a new
string, so we can unconditionally deallocate it.
* texmfmp.c (maininit): Factor out common code into texmf_yesno().
(texmf_yesno): New function, return true if a variable is set and set
to 't', 'y', or '1' in texmf.cnf or the environment.
2004-12-20 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c [pdfTeX,pdfeTeX,pdfxTeX]: New variable ptexbanner.
2004-12-19 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c [TeX] (maininit): For all TeX variants, recognize
"initex" and "virtex" program names, just in case.
2004-09-16 Olaf Weber <olaf@infovore.xs4all.nl>
* printversion.c (printversionandexit): Hartmut Henkel
<hartmut_henkel@gmx.de> noticed that the engines start running
like this: "This is TeX, Version 3.141592 (Web2C 7.5.3)" but the
-version output looks like this "TeX (Web2C 7.5.3) 3.141592".
He supplied a small patch to rectify this.
2004-08-28 Olaf Weber <olaf@infovore.xs4all.nl>
* openclose.c (open_input,open_output): Implement output_directory
option.
* texmfmp.c: Accept -output-directory option.
2004-07-14 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (setupcharset): Remove this fuction. The
initialization is performed is done by the engine.
(read_char_translation_file): Rename to readtcxfile.
(readtcxfile): Some comment changes compared to its previous
incarnation.
* usage.c (usagehelp): Add second argument, email address for bug
reports. Requested by the pdftex team.
* texmfmp.c: Add -output-format to the long_options array.
Also add BUG_ADDRESS to the macros defined for each engine.
Call usagehelp with BUG_ADDRESS as second argument.
2004-07-03 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (parse_options): Make it so that aleph and omega also
parse the -translate-file and -8bit options, even though they now
silently ignore them. (They have to ignore them in any case, as
neither makes sense for these programs.)
2004-07-02 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c [TeX]: Implement -efmt as alternate spelling for -fmt.
This option is only present for backward compatibility, and will
go away in the future.
2004-06-29 Olaf Weber <olaf@infovore.xs4all.nl>
* Makefile.in: Don't include alloca.o in the objects. It
shouldn't be used anywhere.
2004-06-16 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (get_input_name): Off-by-one errors when
erasing/restoring the final quote. From Akira Kakuto
<kakuto@fsci.fuk.kindai.ac.jp>.
2004-06-15 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: (normalize_quotes): New function, takes a filename
and returns an allocated string with the name quoted iff it
contains a space.
(get_input_file_name): Factor out normalize_quotes.
(getjobname): Add quotes if needed. callmakempx: Add quotes if
needed.
2004-06-04 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (get_input_file_name): New function. Get the name of
the input file for use by parse_first_line(), and if the filename
contains spaces make sure a properly quoted version will be given
to TeX.
(parse_first_line): Now takes the name of the input file (or NULL) as
an argument, instead of looking for it.
2004-05-26 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Remove -oem code.
2004-05-14 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Remove much of the locale-dependent code. Some
pieces remain because they are related to the Win32 '-oem' option,
where I do not know yet whether that option should go as well.
2004-05-10 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (setupcharset): Fixing a regression. When a line in a
TCX file contains two numbers and a comment, set printable=1.
Reported by Staszek Wawrykiewicz <staw@gust.org.pl>.
2004-05-08 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (main): We can now put TEXMFENGINENAME into the
environment for $engine in all cases.
* texmfmp.c: Add -halt-on-error option.
2004-05-07 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (maininit): Set $engine appropriately.
* texmfmp.c: Implement -8bit option.
* texmfmp.c (makesrcspecial): Always put a space after the line
number.
2004-04-16 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (setupcharset): More compact xprn assignment.
2004-03-28 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Implement -no-shell-escape, -no-parse-first-line,
-no-file-line-error.
2004-03-25 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c [eTeX](maininit): e-TeX will no longer treat being
called as "initex" or "virtex" special.
(tcx_get_num): Additional argument, upper bound we're accepting.
(read_char_translation_file): Allow for a third integer, 0 or 1, to
set printable status. This way you can translate characters
without making them printable. However, enforce that 7bit ASCII
remains printable.
* texmfmp.c (maininit): Add sanity check for -enc or -mltex
without -ini.
2004-03-24 Olaf Weber <olaf@infovore.xs4all.nl>
* zround.c: Add public domain notice.
* win32main.c: Add public domain notice.
* version.c: Add public domain notice.
* uexit.c: Add public domain notice.
* printversion.c: Bump 2003 to 2004 in copyright notices.
* main.c: Add public domain notice.
* inputint.c: Add public domain notice.
* input2int.c: Add public domain notice.
* fprintreal.c: Add public domain notice.
* eofeoln.c: Add public domain notice.
2004-03-22 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (parse_options): Add -output-format for the pdf*TeX
family.
* texmfmp.c: Changes for Aleph.
* texmfmp.c (long_options): Enable "enc" option.
2004-03-16 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Allow file:line:error style messages to be enabled
from texmf.cnf. From Akira Kakuto <kakuto@fsci.fuk.kindai.ac.jp>.
2004-02-26 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Rename isprintable to xprn.
* win32main.c: Sync with TeXlive.
* texmfmp.c: Add -enc option.
* texmfmp.c: Add support for pdfxTeX.
2003-02-16 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Update banners for TeX 3.141592, MF 2.71828.
2003-02-07 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: e-Omega support.
2003-01-24 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (setupcharset): Do not adapt the isprintable array to
the locale.
2003-01-10 Olaf Weber <olaf@infovore.xs4all.nl>
* printversion.c (printversionandexit): Update copyright notice
years.
2002-12-14 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Remove some unsused variables.
2002-11-11 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Implement a -parse-first-line option. With the
current code it is possible to switch %&-line parsing on from the
command line. To switch it off when it is enabled in texmf.cnf
requires the use of an environment variable.
2002-10-20 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Add support for -jobname option.
2002-10-06 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (maybe_parse_first_line): Split
maybe_parse_first_line: maybe_parse_first_line is called to set
parse_first_line_p for TeX, MF, MP, and parse_first_line is called
to do the actual parsing.
* texmfmp.c: Add support for mktexfmt; from Fabrice Popineau.
2002-06-04 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Do not allow texmf.cnf to set the src_specials
option.
2002-06-02 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Change handling of source specials so that there is a
single flag, src_specials_p, which can be used to see if any
source specials are generated.
* win32main.c: From Fabrice.
2002-04-02 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c [Omega] (ipcpage,gettexstring): Correction of the way
the strstartar array is handled. Reported by Akira Kakuto
<kakuto@fsci.fuk.kindai.ac.jp>
2001-11-27 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (initscreen): Clarify message generated when an X
window cannot be opened.
2001-11-25 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Remove unnecessary casts to (int*). If C++ ->
NO_MF_ASM.
* alloca.c: Changes to allow this file to compile with C++.
2001-11-19 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Changes to keep C++ compilers from choking.
* openclose.c: Remove double declaration of recorder_name, make
prototype of open_input consistent with cpascal.h.
2001-11-18 Olaf Weber <olaf@infovore.xs4all.nl>
* uexit.c: Changes to keep C++ compilers from choking.
* texmfmp.c: Changes to keep C++ compilers from choking. Changes
to support the filename recorder.
* printversion.c: Changes to keep C++ compilers from choking.
* openclose.c: Changes to keep C++ compilers from choking.
(recorder_start): New function, starts filename recorder.
(recorder_change_filename): New function, change the name of the file
used by the filename recorder.
(open_input,open_output): Record filename, starting recorder if
necessary.
* chartostring.c: Changes to keep C++ compilers from choking.
* basechsuffix.c: Changes to keep C++ compilers from choking.
2001-11-14 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (getrandomseed): If available use gettimeofday or
ftime to obtain a random seed number. These functions have a
higher resolution, so fix the problem that subsequent MF or MP
runs could have the same seed.
2001-10-30 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Add support for source specials.
* openclose.c: Add support for file:line:style messages.
2001-10-26 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Implement -tex=program option for mp.
2001-10-24 Olaf Weber <olaf@infovore.xs4all.nl>
* usage.c (usage): Remove first argument, should now only be
called on abnormal exit.
(usage_help): Print help message, implies a normal exit.
* texmfmp.c: Modify usage/usage_help invocation.
* eofeoln.c (readln): New function, read a line and accept CRNL,
CR, and NL as end-of-line delimiters.
2001-04-23 Olaf Weber <olaf@infovore.xs4all.nl>
* eofeoln.c (eoln): Accept both CR and LF as end-of-line
characters.
2000-08-25 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (setupboundvariable): Add parentheses for clarity, and
to silence stupid compilers.
2000-05-03 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (calledit): The first argument should be a pointer to
packedASCIIcode. This matters for Omega. From "C.M. Connelly"
<c@eskimo.com>.
2000-04-21 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c [WIN32]: Add support for -oem option. From Fabrice.
2000-04-13 Olaf Weber <olaf@infovore.xs4all.nl>
* openclose.c: Disabled the supporting code for remembering the
full name while the code for C style error messages and source
specials is under review.
2000-04-03 Olaf Weber <olaf@infovore.xs4all.nl>
* openclose.c (open_input): Save full name of found file in
full_name_of_file variable. For "C-style" error messages and
source-file specials. After Stefan Ulrich
<ulrich@cis.uni-muenchen.de> and Fabrice Popineau
<Fabrice.Popineau@supelec.fr>.
2000-01-13 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (parse_options): Stop option-processing at the first
non-option, so that a command line like 'tex \&sgmlbase
-lhtmlbase.tex -ousing.html using.html' feeds the '-lhtmlbase.tex'
and '-ousing.html' to the format. Reported by Jonathan Fine
<fine@active-tex.demon.co.uk>.
1999-07-12 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (maininit): Add a --default-translate-file option, to
facilitate CSTeX. Suggestion (relayed?) by Petr Olsak
<olsak@math.feld.cvut.cz>.
(input_line): Make sure that catching a SIGINT won't be seen as a EOF
on the terminal. Problem noticed by DEK.
1999-06-28 Olaf Weber <olaf@infovore.xs4all.nl>
* openclose.c (open_input): The pdfTeX people asked that the disk
not be pounded for .vf files.
1999-05-29 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (opennameok): Allow ./ or its equivalent. Use
IS_DIR_SEP rather than comparing against DIR_SEP.
* openclose.c (open_input): Correct comment.
1999-03-15 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (parse_options): Explicit --progname override the
inferred programe of the --fmt option. Suggested by Sebastian.
(ztakefraction,ztakescaled,zmakescaled,blankrectangle,paintrow): Add
prototypes. From Thomas.
1999-02-14 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: The translate_filename variable is now external. Use
kpse_web2c_format to find tcx files.
1999-02-06 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Remove include for kpathsea/config.h because it is
superfluous.
(calledit): Use P?C macro in definition.
1999-02-04 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (maybe_parse_first_line): Allow both --translate-file
and -translate-file in first line.
* main.c (main): Remove __cdecl, from Fabrice.
1999-01-27 Olaf Weber <olaf@infovore.xs4all.nl>
* zround.c (zround): Add cast to quiet compiler. By Fabrice.
* usage.c (usage): Use KPSEDLL for kpse_bug_address. By Fabrice.
* texmfmp.c [WIN32]: include sys/timeb.h.
(mainbody): Add TEXDLL to declaration.
(maininit): The old main function renamed.
(main): A new main function, stripped to the bones.
(getrandomseed): Get a random seed from the current time.
All after Fabrice.
* printversion.c (printversionandexit): Add KPSEDLL for
kpathsea_version_string, by Fabrice.
* main.c (main): Add __cdecl, from Fabrice.
1999-01-24 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Support for pdfeTeX. From Thomas Esser.
* texmfmp.c (maybe_parse_first_line): Default to parsing if
maybe_parse_first_line is not defined in texmf.cnf.
(opennameok): Add an argument to specify default.
(openinok): Default to "a" if no openin_any found.
(openoutok): Default to "p" if no openout_any found.
* mfmpw32.c: Change CRNL to NL line-endings.
1999-01-14 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Further changes and fixes for maybe_parse_first_line.
Add openinnameok and openoutnameok, which call opennameok.
(opennameok): Change implementation to reflect this.
1999-01-13 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Rename maybe_set_dump_default_from_input to
maybe_parse_first_line. Add TCX support in the form of allowing a
--translate-file pseudo-option, as proposed by Wlodzimierz Bzyl
<matwb@monika.univ.gda.pl>.
* printversion.c: Correct --version output.
* Makefile.in: Rename kpathsea.make to kpathsea.mk.
1999-01-10 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Update banners, add MFNOWIN ifdef.
* printversion.c (printversionandexit): Improve & update message.
* Makefile.in: Change of ../make/*.make to ../make/*.mk.
1998-12-04 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Replace isblank with ISBLANK, to improve handling of
whitespace.
1998-07-26 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c (parse_options): Make --progname a no-op after --fmt
has been seen. Thus the order of these options no longer matters.
* texmfmp.c: Rename openoutnameok to opennameok.
Sun May 31 17:27:22 1998 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c: Add a parse_first_line configuration entry, so the
%&format construct can be switched off when desired. Suggested by
Denis B Roegel.
Add a --debug-format option.
Mon May 4 19:41:22 1998 Olaf Weber <olaf@infovore.xs4all.nl>
* basechsuffix.c (basenamechangesuffix): Replace call of basename
with xbasename.
* texmfmp.c (openoutnameok): Replace call of basename with
xbasename.
Tue Mar 10 06:37:51 1998 Olaf Weber <olaf@infovore.xs4all.nl>
* texmfmp.c [TeX & IPC] (ipcpage): Remember to set begun to true
once we've begun.
Sun Mar 8 18:21:46 1998 Olaf Weber <olaf@infovore.xs4all.nl>
* printversion.c (printversionandexit): Copyright year is 1998.
Tue Feb 10 17:56:36 1998 Olaf Weber <infovore@xs4all.nl>
* texmfmp.c: Provide the hooks for the epsf server. From Mathias
Herberts.
* eofeoln.c: Prototype eoln. Spotted by Andreas Scherer
<Andreas.Scherer@Pobox.Com>
* fprintreal.c: Prototype fprintreal. Spotted by Andreas Scherer
<Andreas.Scherer@Pobox.Com>
Fri Jan 23 15:01:31 1998 Olaf Weber <infovore@xs4all.nl>
* texmfmp.c: Various patches for Omega from John Plaice.
(ipcpage [Omega]): Fix because string handling in Omega differs.
(maybe_set_dump_default): Fix to get %& to work in more cases.
Thu Dec 18 20:37:20 1997 Olaf Weber <infovore@xs4all.nl>
* texmfmp.c: Change spelling of -maketex option to -mktex.
Fri Dec 12 10:22:52 1997 Olaf Weber <infovore@xs4all.nl>
* openclose.c (open_output): Don't use TEXMFOUTPUT value if it is
the empty string.
* texmfmp.c (openoutnameok): Rewritten to support three levels of
permissiveness.
(main): Assignment to shellenabledp has been rewritten: we now
enable only if certain values are found.
Mon Dec 1 19:05:06 1997 Olaf Weber <infovore@xs4all.nl>
* texmfmp.c (maybe_set_dump_default_from_input): Reset the program
name if the dump_name changes.
* texmfmp.c [WIN32 && !NO_MF_ASM]: Include "lib/mfmpw32.c" instead
of "../win32/mfmpi386.c".
* texmfmp.c (main, parse_options): Add support for --interaction
option.
* texmfmp.c (main) [eTeX]: Make sure calling e-TeX as initex or
virtex works as it should.
Sat Nov 29 13:06:53 1997 Olaf Weber <infovore@xs4all.nl>
* texmfmp.c (main): We assume "plain" for the dump_name iff the
program was called as ini* or vir*. And in the case of ini*, the
file name will override this anyway.
* texmfmp.c (callmakempx): Add xstrdup, because we end up
potentially freeing a static string otherwise. From Fabrice
Popineau.
Sun Nov 23 19:43:57 1997 Olaf Weber <infovore@xs4all.nl>
* texmfmp.c (openoutnameok): When we're trying to be safe, add
some extra paranoia supplied by Charles Karney <karney@pppl.gov>.
Sat Nov 22 19:26:13 1997 Olaf Weber <infovore@xs4all.nl>
* texmfmp.c (main): Use kpse_set_program_name and
kpse_program_name instead of kpse_set_progname and
program_invocation_short_name.
Sat Nov 15 21:27:23 1997 Olaf Weber <infovore@xs4all.nl>
* texmfmp.c: Various changes to support Omega.
Fri Nov 14 16:43:28 1997 Olaf Weber <infovore@xs4all.nl>
* texmfmp.c [eTeX,PDFTeX]: Inclusion of header file with
appropriate banner.
Fri Oct 24 13:41:56 1997 Olaf Weber <infovore@xs4all.nl>
* texmfmp.c: Prototypes for the mf_*_{blankrectangle,paintrow}
functions.
Mon Oct 20 08:16:40 1997 Olaf Weber <infovore@xs4all.nl>
* texmfmp.c [WIN32]: Added support for WIN32WIN. Added suppport
for redirection of stderr to a logfile. Added support for asm
routines. Prototyped mainbody.
(setupboudvariable): Don't try to free expansion if it is NULL.
From Fabrice Popineau.
* main.c (main): Prototype mainbody. From Fabrice Popineau.
Sun Oct 19 10:57:43 1997 Olaf Weber <infovore@xs4all.nl>
* printversion.c (printversionandexit): Removed web2c maintainer's
name from version info.
Fri Oct 17 10:33:06 1997 Olaf Weber <infovore@xs4all.nl>
* texmfmp.c: Correct prototypes for all the varieties of
...initscreen and ...updatescreen. No prototypes for
...blankrectangle and ...paintrow.
* texmfmp.c (main) [MSDOS, WIN32]: Use case-insensitive comparison
for filenames on MS-DOS/MS-Windows.
(openoutnameok): When testing for `unix' make sure `MSDOS' is NOT
defined since DJGPP defines both.
(initscreen): Use "mftalk" for DJGPP as well.
From Eli Zaretskii <eliz@is.elta.co.il>.
Thu Oct 16 20:34:25 1997 Olaf Weber <infovore@xs4all.nl>
* texmfmp.c (parseoptions [TeX], main): Remove everything related
to the -extend-jobname option.
Fri Oct 3 11:46:15 1997 Olaf Weber <infovore@xs4all.nl>
* texmfmp.c: Add prototypes for the mf_trap_* functions. After
Fabrice Popineau.
Thu Oct 2 18:07:24 1997 Olaf Weber <infovore@xs4all.nl>
* texmfmp.c (main): Added locale support. From Bernd Raichle
<raichle@informatik.uni-stuttgart.de>.
Tue Sep 30 12:00:13 1997 Olaf Weber <infovore@xs4all.nl>
* version.c: use version string from c-auto.h.
* texmfmp.c: Changed return type of main int.
Fri Mar 21 16:38:48 1997 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (struct msg): Do not try to declare the zero-length
array, just leave it out.
Bug from: jumper@lens.sri.com (Greg Jumper)
Wed Feb 12 08:18:07 1997 Fabrice POPINEAU <popineau@ese-metz.fr>
* texmfmp.c (catch_interrupt): Win32, differentiate between user
interrupt and console closing.
Mon Feb 3 18:01:42 1997 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (parse_options): Check for -1, not EOF,
per new getopt.
Mon Jan 27 22:44:29 1997 Ulrik vieth <vieth@thphy.uni-duesseldorf.de>
* texmfmp.c (BANNER) [MP]: Update to version 0.632.
Sat Jan 18 13:04:34 1997 Karl Berry <karl@cs.umb.edu>
* texmfmp.c: Update len.
From: Gregor Hoffleit <flight@mathi.uni-heidelberg.de>.
Thu Jan 16 14:29:50 1997 Karl Berry <karl@cs.umb.edu>
* alloca.c: New version from /gd/gnu/lib.
* texmfmp.c (funny_core_dump): Move to new file.
* coredump.c: New file.
* Makefile.in (objects): Add coredump.o.
This makes it possible for BibTeX to find the function
(not that it needs it).
From: Richard Walker <Richard.Walker@cs.anu.edu.au>
Sun Jan 5 16:11:12 1997 Karl Berry <karl@cs.umb.edu>
* printversion.c: It's 1997 now.
Sun Dec 29 17:11:03 1996 Karl Berry <karl@cs.umb.edu>
* basechsuffix.c (basenamechangesuffix): Filename comparison may
be case-insensitive. From Fabrice.
Sat Dec 28 17:37:14 1996 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (ipcpage): Pass the whole DVI filename to the other
end of the connection, not just the relative name. (It may have
been already started up.)
Sun Dec 15 16:50:25 1996 Karl Berry <karl@cs.umb.edu>
* texmfmp.c: #if 0-out all the TCX file stuff.
Suggested by David Carlisle et al.
Sun Dec 8 16:40:57 1996 Karl Berry <karl@cs.umb.edu>
* openclose.c (standardinput, standardoutput): Remove these;
make them globals in bibtex.ch itself.
* printversion.c, texmfmp.c, usage.c: WIN32 changes.
From Fabrice.
Sat Dec 7 11:10:39 1996 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (topenin): Rewrite to avoid strcat, for Omega.
From: John Plaice <plaice@iad.ift.ulaval.ca>.
Fri Dec 6 17:44:45 1996 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (main) [TeX && Omega]: Initialize MakeTeX{OCP,OFM}.
* openclose.c (ocptemp): New global.
(open_input): Read ahead in ofm and ocp files.
Tue Dec 3 15:15:14 1996 Ulrik Vieth <vieth@thphy.uni-duesseldorf.de>
* Makefile.in: Remove spurious targets for wsun.c and wx11.c.
Tue Dec 3 15:15:14 1996 Ulrik Vieth <vieth@thphy.uni-duesseldorf.de>
* texmfmp.c (long_options): mpost -T or -troff doesn't take an
optional argument.
* Makefile.in: Remove spurious targets for wsun.c and wx11.c.
Wed Nov 27 10:02:21 1996 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (NO_MF_ASM) [__sun__]: Define; our assembler code
doesn't work with the Solaris/x86 assembler.
* mfmpi386.asm: Doc fix.
Sat Nov 23 14:42:53 1996 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (openoutok): Allow .tex as a special case.
Fri Nov 15 16:15:32 1996 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (openoutnameok): Do not free the result of basename;
it's never dynamically allocated anyway.
Sun Nov 10 16:37:19 1996 Karl Berry <karl@cs.umb.edu>
* texmfmp.c: Check for inimpost and virmpost instead of
inimp and virmp.
Mon Oct 14 17:27:34 1996 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (DUMP_EXT) [DOS]: Only truncate to .bas if DOS,
not DOSISH; WinNT/Win95 support long filenames (at long last).
(initscreen) [WIN32]: Use mftalk a la OS2.
(get_date_and_time): Include parameter in old_handler decl.
Mon Oct 7 12:49:38 1996 Karl Berry <karl@cs.umb.edu>
* Makefile.in (objects): Include printversion.o.
* printversion.c: New file.
* texmfmp.c: Oops, iniversion doesn't it, it's global.
(parse_options): Call printversionandexit.
Sun Oct 6 10:17:00 1996 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (main): Initialize iniversion and virversion.
Sat Sep 7 16:14:41 1996 Karl Berry <karl@cs.umb.edu>
* usage.c: Include the bug reporting address.
Sun Aug 4 15:48:03 1996 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (parse_options): Print the Kpathsea version string, too.
* version.c: Do `Web2c VERSION' instead of `C version VERSION'.
Fri Jul 26 15:47:29 1996 Karl Berry <karl@cs.umb.edu>
* Makefile.in: Remove co.make.
Sat Jun 1 13:17:09 1996 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (openoutnameok): Change #ifdef to TeX || MP.
Fri May 24 11:38:59 1996 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (main): Initialize extend_jobname.
(parse_options) [TeX]: New option -extend-jobname.
Sun Apr 28 15:13:22 1996 Karl Berry <karl@cs.umb.edu>
* mfmpi386.asm [ASM_NEEDS_UNDERSCORE]: #ifdef labels on new
configure condition.
From: Peter Breitenlohner <peb@MPPMU.MPG.DE>.
Tue Apr 23 08:26:11 1996 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (callmakempx): Always pass -troff, even if we got the
command name from texmf.cnf.
Sun Apr 21 16:59:44 1996 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (parse_options): New options -maketex and -no-maketex
for TeX and MF.
Sat Apr 20 17:55:37 1996 Karl Berry <karl@cs.umb.edu>
* texmfmp.c [IPC_DEBUG]: Text changes.
Fri Mar 22 15:30:45 1996 Karl Berry <karl@cs.umb.edu>
* Remove GPL from these files; Web2c proper can stay p.d.
Sun Mar 10 16:12:14 1996 Karl Berry <karl@cs.umb.edu>
* openclose.c: Oops, forgot to #include variable.h.
Fri Mar 8 16:00:20 1996 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (init_maketex): Remove this; we will do it in Kpathsea
instead now, in the format initialization tex-file.c.
* openclose.c (open_output): Look for TEXMFOUTPUT in texmf.cnf.
Wed Feb 21 11:45:02 1996 Karl Berry <karl@cs.umb.edu>
* openclose.c: Don't abort if the TFM file is empty.
Sat Feb 17 15:22:52 1996 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (openoutnameok): New function.
Fri Feb 16 17:51:53 1996 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (long_options) [NONASCII]: Include --translate
conditionally. (Really should change the help message, too.)
Sat Feb 10 15:22:59 1996 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (parse_options): Make DUMP_OPTION also set the user
progname, since -progname sets the dump name.
Fri Dec 29 17:16:42 1995 Karl Berry <karl@cs.umb.edu>
* Makefile.in: misc.make is now clean.make.
Sun Dec 17 15:09:44 1995 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (long_options): New option --debug-format, suggested
by David Carlisle.
Sun Dec 10 16:13:46 1995 Karl Berry <karl@cs.umb.edu>
* mfmpi386.asm: Remove _'s. From Wayne.
* texmfmp.c (PROGRAM_VERSION) [MP]: Now at 0.631.
[TeX] No asm stuff. From Gregor Hoffleit, et al.
Sun Nov 26 13:39:00 1995 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (main): Enable mltex extensions if --mltex option or
the program name is mltex.
Fri Nov 17 14:35:45 1995 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (-program): New option for TeX, MF, MP. Suggested by Bernd.
Thu Nov 16 16:20:03 1995 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (argv, argc): Do not define as static, as we declare
them extern in cpascal.h. From Andreas Scherer.
Sun Nov 12 16:32:27 1995 Karl Berry <karl@cs.umb.edu>
* Makefile.in (sysopt_o): Remove this stuff. From Wayne.
* texmfmp.c [i386 && GNUC && !NO_MF_ASM]: #include mfmpi386.asm
instead of using the C code.
* texmfmp.c: Disable shell escapes by default.
Fri Oct 6 16:23:03 1995 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (maybe_set_dump_default_from_input): Make %&ini set
iniversion. Suggested by Wayne.
Mon Oct 2 15:48:21 1995 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (init_maketex): Really disable if the value is zero.
Sat Sep 30 16:02:56 1995 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (main) [TeX]: Look up the `noshell' config variable.
(parse_options): No options -noshell and -output-comment.
Sat Sep 23 15:04:54 1995 Karl Berry <karl@cs.umb.edu>
* Makefile.in (objects): Remove strtol.o, this is in kpathsea now.
Fri Sep 22 15:51:13 1995 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (init_maketex): New routine.
(main): Call it, instead of repeating the weird code.
Mon Sep 4 17:16:06 1995 Karl Berry <karl@cs.umb.edu>
* Makefile.in (objects): Remove xopenfile.o.
* xopenfile.c: Move to kpathsea.
Thu Aug 31 13:35:47 1995 Karl Berry <karl@cs.umb.edu>
* texmfmp.c [!MF_ASM_FRACTION] (takefraction, ...): Conditionalize
the floating-point definitions on this, too.
* Makefile.in (optx86.o): New target.
* optx86.s: New file.
Tue Aug 22 14:11:27 1995 Karl Berry <karl@cs.umb.edu>
* Makefile.in: Include rdepend.make, instead of repeating the code.
Mon Jul 31 17:46:31 1995 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (setupboundvariable): Call kpse_var_value, so we don't
have to pass in the $. Similarly everywhere else.
Sat Jul 29 19:26:33 1995 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (callmakempx): Rewrite to pass -troff flag, instead of
invoking troff script. And use new kpse_var_value.
Fri Jul 28 11:10:26 1995 Karl Berry <karl@cs.umb.edu>
* Makefile.in (depend): Comment out this target in the
distribution, it doesn't work when $srcdir != build-dir.
* texmfmp.c (callmakempx): Don't call anything if the command is
`none'.
Tue Jul 25 13:39:04 1995 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (callmakempx): Free the variable expansion.
Mon Jul 24 11:48:35 1995 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (callmakempx): New fn.
Sun Jul 23 11:39:51 1995 Karl Berry <karl@cs.umb.edu>
* texmfmp.c (edit_value): Remove this #define.
(calledit): Call kpse_var_expand for TEXEDIT et al., instead of
just getenv.
(ztakefraction, zmakefraction, ztakescaled, zmakescaled): Include
Hobby's C code from mpmath.c.
Sat Jul 22 14:20:38 1995 Karl Berry <karl@cs.umb.edu>
* openclose.c (open_input) [FUNNY_CORE_DUMP]: Recognize
HackyInput... for MetaPost. Doc fixes.
* texmf.c: Rename to texmfmp.c for MetaPost support.
(long_options) [MP]: Add -T and -troff.
Thu Jul 20 13:40:39 1995 Karl Berry <karl@cs.umb.edu>
* texmf.c (setupboundvariable) [TeX]: Remove conditional, since MF
sets a couple simple variables dynamically now.
(initscreen): Get MFTERM from texmf.cnf file if it's there,
instead of just calling getenv.
Tue Jul 18 13:40:25 1995 Karl Berry <karl@cs.umb.edu>
* texmf.c (initscreen): Give warning if they're using X, but there
is no X support.
Mon Jul 17 13:10:37 1995 Karl Berry <karl@cs.umb.edu>
* texmf.c (NO_FMTBASE_SHARE): Rename to NO_DUMP_SHARE.
[MF]: Declare return types for window routines.
Also, move trap support to another file, window/trap.c.
Sun Jul 16 14:35:33 1995 Karl Berry <karl@cs.umb.edu>
* texmf.c (main): Rewrite enabling of MakeTeX* to match new
configure stuff.
Sat Jul 15 16:05:37 1995 Karl Berry <karl@cs.umb.edu>
* texmf.c: Doc fix.
Fri Jul 14 14:31:57 1995 Karl Berry <karl@cs.umb.edu>
* texmf.c (read_char_translation_file): Compute `charssavedbycharset'.
(setupcharset): Do not allow dynamic translation in initex.
Thu Jul 13 14:05:24 1995 Karl Berry <karl@cs.umb.edu>
* texmf.c (setupcharset, read_char_translation_file,
tcx_get_num): New functions to implement dynamic char translations.
(parse_options): Add -translate-file option.
Sun Jul 9 15:28:09 1995 Karl Berry <karl@cs.umb.edu>
* texmf.c (maybe_set_dump_default_from_input): Don't index
argv[optind] if optind is >= argc.
Tue Jul 4 16:58:54 1995 Karl Berry <karl@cs.umb.edu>
* texmf.c (maybe_set_dump_default_from_input): Finish implementing
this (%&FNAME on first line => use FNAME for dump file).
Thu Jun 29 17:50:38 1995 Karl Berry <karl@cs.umb.edu>
* texmf.c (parse_options) [TeX && IPC]: Concatenate TEX_IPC_HELP
to the help string.
* openclose.c (open_input): Detect nonexistent files correctly again.
Wed Jun 21 15:54:45 1995 Karl Berry <karl@cs.umb.edu>
* texmf.c (parse_options): Add --fmt (TeX) and --base (MF).
(DUMP_OPTION): #ifdef'd #define to determine which.
Mon Jun 19 20:09:34 1995 Karl Berry <karl@cs.umb.edu>
* texmf.c: Add IPC support.
From: Shamim Mohamed <shamim@howland.isu.edu>
From: Tomas G. Rokicki <rokicki@CS.Stanford.EDU>
Sat Jun 10 16:06:06 1995 Karl Berry <karl@cs.umb.edu>
* openclose.c: Doc fix.
Fri Jun 9 19:36:12 1995 Karl Berry <karl@cs.umb.edu>
* main.c, texmf.c (main) [__EMX__]: Add _wildcard and _response calls.
* texmf.c: Add mftalk support.
(funny_core_dump, catch_interrupt) [__EMX__]: OS2 support.
From: rs@purple.in-ulm.de (Ralph Schleicher).
Sun Jun 4 10:30:36 1995 Karl Berry <karl@cs.umb.edu>
* eofeoln.c (eof): Return true if the file doesn't exist.
* texmf.c: Add support for AMIGAWIN. From Andreas Scherer.
* alloca.c (NULL, xmalloc): Do not define these here, they're
(indirectly) in config.h. From Andreas Scherer.
* texmf.c (setupboundvariable): Don't complain about 0 in the cnf
file if the default is also 0.
Sat Jun 3 11:54:28 1995 Karl Berry <karl@cs.umb.edu>
* xopenfile.c: Include the program name in the error message.
* texmf.c (setupboundvariable): If the variable is unset in
texmf.cnf, the expansion is the empty string, not NULL. Also, free
the expansion.
Fri Jun 2 13:41:41 1995 Karl Berry <karl@cs.umb.edu>
* texmf.c (DUMP_EXT) [DOSISH]: Must be `.bas'. From Wayne.
(input_line): Cast buf_size in printf to avoid warning.
(setupboundvariable): New routine for lookup of dynamic bounds.
Sun May 28 17:41:49 1995 Karl Berry <karl@cs.umb.edu>
* zround.c: Compare against TeX's boundary integers (as floating
point constants), instead of INTEGER_{MIN,MAX}.
Fri May 26 17:47:47 1995 Karl Berry <karl@cs.umb.edu>
* strtol.c: New file, from textutils.
* Makefile.in (objects): Add strtol.o.
Wed May 24 17:07:39 1995 Karl Berry <karl@cs.umb.edu>
* texmf.c (parse_options): New routine for TeX & MF.
(PROGRAM_VERSION, PROGRAM_HELP): Define these.
(main): Call it.
Sat May 20 17:28:51 1995 Karl Berry <karl@cs.umb.edu>
* xopenfile.c: Do perror if we had a full filename to try.
* basechsuffix.c: Take old suffix, and only do the change if the
old suffix matches.
* usage.c (usage): If bad status, construct the --help message.
Tue May 9 15:46:25 1995 Karl Berry <karl@cs.umb.edu>
* usage.c: Doc fix.
Sat May 6 11:23:23 1995 Karl Berry <karl@cs.umb.edu>
* usage.c: New file.
* Makefile.in (objects): Add it.
Tue Apr 25 14:02:10 1995 Karl Berry <karl@cs.umb.edu>
* Makefile.in (library): Set to lib instead of lib.a, to match the
other Makefile conventions.
Sun Apr 23 10:54:35 1995 Karl Berry <karl@cs.umb.edu>
* texmf.c: Have to include {tex,mf}d.h before #ifdef TeX, so do it
from the Makefile.
Sat Apr 22 10:26:10 1995 Karl Berry <karl@cs.umb.edu>
* main.c (main): Call mainbody, not main_body.
* openclose.c (aclose): Don't complain if the file is already closed.
(texinputtype): Define this.
* texmf.c (main): Do program_name stuff unconditionally, not just
in vir*, and rewrite it to use program_invocation_short_name.
Fri Apr 21 11:39:14 1995 Karl Berry <karl@cs.umb.edu>
* main.c: Doc fix.
* input2int.c: Split off from inputint.c.
Sun Apr 16 11:47:37 1995 Karl Berry <karl@cs.umb.edu>
* openclose.c (open_input, open_output): Retrieve and store the
filename from name_of_file + 1, not name_of_file, to avoid extra
hassles in the change files.
Fri Apr 14 15:28:47 1995 Karl Berry <karl@cs.umb.edu>
* Makefile.in (objects): Include openclose.o.
* openclose.c: New file, from openinout.c.
Tue Feb 21 13:51:58 1995 Karl Berry <karl@cs.umb.edu>
* xopenfile.c: Have to take another arg, the original name.
Mon Feb 20 17:18:59 1995 Karl Berry <karl@cs.umb.edu>
* xopenfile.c: New file.
* Makefile.in (objects): Add it, and remove xfopen-pas.o.
Sun Feb 5 15:33:29 1995 Karl Berry <karl@cs.umb.edu>
* basechsuffix.c: New file.
* Makefile.in (objects): Add it.
Tue Jan 10 13:20:47 1995 Karl Berry <karl@cs.umb.edu>
* Makefile.in (objects): Remove strpascal.o (no longer needed) and
getopt.o (in kpathsea).
Sun Dec 18 16:38:03 1994 Karl Berry <karl@cs.umb.edu>
* strpascal.c (errprintpascalstring, etc.): Don't need these any more?
Sat Dec 17 13:42:03 1994 Karl Berry <karl@cs.umb.edu>
* mksuffixchar.c: This was short-lived.
* chartostring.c: This replaces it.
* Makefile.in (objects): Ditto. Also remove ourpaths.o.
Mon Nov 14 15:13:50 1994 Karl Berry <karl@cs.umb.edu>
* mksuffixchar.c: New file.
* Makefile.in (objects): Add it.
Sun Nov 13 16:43:40 1994 Karl Berry <karl@cs.umb.edu>
* Makefile.in (objects): Add w*.o.
(wsun.c, wx11.c): Add links for these.
Fri Oct 28 11:14:08 1994 Karl Berry <karl@cs.umb.edu>
* strpascal.c (extendfilename): Remove this.
Thu Oct 27 17:59:07 1994 Karl Berry <karl@cs.umb.edu>
* main.c (argv): Return a regular C string, instead of a Pascal string.
Fri May 27 09:50:14 1994 Karl Berry (karl@cs.umb.edu)
* texmf.c (main): Don't look for USE_MAKETEX*.
* c-auto.h.top, texmf.c (NO_FMTBASE_SHARE): Rename from
NO_FMTBASE_SWAP.
Thu May 26 20:37:24 1994 Karl Berry (karl@cs.umb.edu)
* c-auto.h.top: Why did I take out the #ifndef's? Put them back.
Tue May 24 14:43:12 1994 Karl Berry (karl@cs.umb.edu)
* texmf.c (funny_core_dump): No need to declare, since we define
it later in this file.
Mon Apr 18 17:31:59 1994 Karl Berry (karl@ra.cs.umb.edu)
* c-auto.h.top: Rename from c-auto.h.in for autoheader convention,
and don't #ifndef the #undef's.
* Makefile.in: autoheader/autoconf changes.
Thu Feb 24 11:00:53 1994 Karl Berry (karl@cs.umb.edu)
* ourpaths.c: Include tex-file.h instead of init-path.h.
Mon Feb 21 14:29:52 1994 Karl Berry (karl@cs.umb.edu)
* Makefile.in: srcdir changes from simon.
* gftodmem.h: Move here from fontutil, to simplify srcdir stuff.
Wed Feb 2 11:00:47 1994 Karl Berry (karl@cs.umb.edu)
* Version 6.1.
Tue Feb 1 11:25:44 1994 Karl Berry (karl@cs.umb.edu)
* Makefile.in (c-auto.h.in): New target.
* common.defines (rh): Declare as a field, for TeX--Xet.
Mon Jan 24 07:33:49 1994 Karl Berry (karl@cs.umb.edu)
* Version 6.0.
Thu Jan 20 14:22:07 1994 Karl Berry (karl@cs.umb.edu)
* c-auto.h.in: Doc fix.
* MakeTeX{TFM,MF}: Include these as samples, from
pnoma@wk.estec.esa.nl.
Fri Dec 24 13:48:46 1993 Karl Berry (karl@cs.umb.edu)
* getopt.c (_NO_PROTO): Define before including config.h.
Tue Dec 7 10:23:59 1993 Karl Berry (karl@cs.umb.edu)
* Makefile.in (objs): Ah, flexfatal is in the library now.
Sun Dec 5 15:23:47 1993 Karl Berry (karl@cs.umb.edu)
* ourpaths.c (setpaths): Remove the KPSE_MAKE_* enables, this file
is not compiled in the tex/mf/bibtex directories.
* texmf.c (main): Set them here.
* c-auto.h.in (XVIEWWIN): Remove this, as x11-Xt should work
with OpenWindows. (But leave it in configure, just for old-times'
sake.)
Sat Dec 4 11:29:57 1993 Karl Berry (karl@cs.umb.edu)
* flexfatal.c: New file.
* Makefile.in (flexfatal.o): New target.
(objs): Include it.
* texmf.h (NO_DEBUG) [!TEXMF_DEBUG]: Define this.
* openinout.c (make_tex_file): Pass address of nameoffile, as required.
Sun Nov 14 02:30:34 1993 Karl Berry (karl@cs.umb.edu)
* version.c (VERSION_STRING) [!VERSION_STRING]: Define and protect.
Fri Nov 12 19:38:26 1993 Karl Berry (karl@cs.umb.edu)
* cpascal.h (reset, rewrite): Use FOPEN_[RW]BIN_MODE instead of
"r" and "w". Still not 100% right, but at least something of an
improvement.
Sun Nov 7 14:17:24 1993 Karl Berry (karl@cs.umb.edu)
* Makefile.in (.c.o): Use $< instead of $*.c; maybe it will help
with $(srcdir) stuff?
* texmf.c (input_line): Trim trailing spaces, tabs, and \r's.
* lib.h: Remove, this is in Kpathsea now.
* config.h (INTEGER_TYPE) [LONG_64_BITS && !NO_FMTBASE_SWAP]:
Define as int in this case.
(INTEGER_MAX,INTEGER_MIN): Define these as well.
* zround.c (zround): Use INTEGER_{MAX,MIN}.
From raichle@informatik.uni-stuttgart.de.
Sat Nov 6 13:21:11 1993 Karl Berry (karl@cs.umb.edu)
* c-auto.h.in (NEXTWIN, REGISWIN): #undef by default.
* texmf.c (mfwin_sw): Add cases for regis and next.
(mf_{next,regis}_*) [NEXT,REGISWIN]: Declare.
Tue Oct 12 14:03:23 1993 Karl Berry (karl@cs.umb.edu)
* openinout.c (open_input): Allow HackyCoreDump's for MF, too.
* ourpaths.c (testreadaccess): Update fontmap stuff, use it for GF
and PK as well as TFM.
* texmf.c: Doc fix.
* common.defines (cinttype): Declare.
* cpascal.h (cinttype): Define.
Sun Oct 10 16:17:48 1993 Karl Berry (karl@cs.umb.edu)
* ourpaths.c: Rewrite for new kpathsea facilities.
Sun Oct 3 13:49:40 1993 Karl Berry (karl@cs.umb.edu)
* ourpaths.c: kpathsea/pathsrch.h has been renamed to pathsearch.h.
* config.h [ibm032]: Remove all this stuff; I don't think it's
needed any longer.
* Makefile.in (*clean): Include standard targets.
Mon Jun 7 08:29:45 1993 Karl Berry (karl@cs.umb.edu)
* cpascal.h (addressofint): Do not cast to int first.
Mon May 31 09:40:00 1993 Karl Berry (karl@cs.umb.edu)
* config.h (EXIT_SUCCESS): Move to c-std.h.
Tue May 25 14:37:16 1993 Karl Berry (karl@cs.umb.edu)
* config.h (EXIT_SUCCESS): Rename from EXIT_SUCCESS_CODE.
Change callers in various files.
Fri May 21 11:56:02 1993 Karl Berry (karl@cs.umb.edu)
* texmf.c (paintrow): Put args in the printf for paintrow.
* texmf.c (custom_default) [INI]: Declare conditionally, since
it's used conditionally.
(main): Declare as void.
* openinout.c (open_input): Rename IS_PATH_SEP to IS_DIR_SEP.
* alloca.c: Replace with version from gcc 2.4.0.
* config.h (testreadaccess): Declare.
* xfopen-pas.c: Remove unused variable `cp'.
* main.c (main): Return 0 instead of using uexit.
Tue May 18 13:43:07 1993 Karl Berry (karl@cs.umb.edu)
* texmf.c (do_undump) [VMS]: Remove this. barabash says it works ok.
Thu May 13 16:53:47 1993 Karl Berry (karl@cs.umb.edu)
* getopt.c (my_index): Return const char *, and change callers.
* Not quite all of Bill's changes below have been merged (not the
new descrip.mms or convert.com files, in particular), but just to
get the gist, I'll include the whole log.
Wed Mar 24 12:28:25 1993 Bill Barabash (barabash@ops5.lmo.dec.com)
* c-auto.h : It's too complicated to convert the big hairy config
shell script; I just created a VMS-acceptable c-auto.h manually.
* c-std.h : Declare VMS's unix-compatibillity routines by including
<unixlib.h> and <unixio.h>; don't declare popen() on VMS.
* common.h : Declare EXIT_SUCCESS_CODE to be 1 on VMS, 0 elsewhere.
Throw away the VMS system library's getname() declaration, it steps
on a WEB procedure and is not needed. Declare routines eof(),
testreadaccess(), zinput2ints(), extendfilename(), and uexit().
* convert.com : VMS command procedure based on the shell script
"convert" (new file).
* descrip.mms : VMS equivalent of makefile (new file).
* dirio.h : Don't declare xopendir and xclosedir on VMS.
* getopt.h : Make my_index accept and return a const character
pointer. Have it return NULL instead of 0 when necessary.
* main.c : Add function prototype for main_body().
* openinout.c, pascal.h, c-auto.h : For BibTeX, use stdin and stdout
on VMS (standardinput and standardoutput become macros).
* pascal.h : On VMS use system-defined abs() and fabs().
* paths.h : Hand-coded for VMS.
* pathsrch.c : On VMS, don't compile routine expand_subdir(), and
look in current directory for input file if path searching fails.
Routine absolute_p() can now deal with VMS directory specifications.
* texmf.c : Declare argc so that it links cleanly. Add an unused
formal parameter to catch_interrupt so that it can be passed to
signal without the compiler complaining. Cast argument to time()
as a (time_t *) rather than as a (long *). Get rid of the VMS
undump code contributed by joe%ril3.decnet@hydra.tamri.com -- it
causes the TRAP test to fail.
* texmf.h : Add function prototypes for routines in texmf.c and
openinout.c.
Thu May 13 14:43:42 1993 Karl Berry (karl@cs.umb.edu)
* cpascal.h (fabs) [fabs]: Undefine if it's already defined.
Sun May 9 09:53:05 1993 Karl Berry (karl@cs.umb.edu)
* convert: Redirect error echo to stderr; exit 0 if no error.
* config.h: Changes for kpathsea. Toss volatile defn.
* Makefile.in (objs): Remove kpathsea files.
Fri Apr 30 15:06:29 1993 Karl Berry (karl@cs.umb.edu)
* openinout.c (make_tex_file): Free cmd.
Fri Apr 16 19:42:15 1993 Karl Berry (karl@cs.umb.edu)
* find-suffix.c: Declare arg and return string const.
* lib.h (find_suffix): Change decl.
* c-pathch.h (IS_PATH_SEP) [DOS & otherwise]: New defn.
* pathsrch.c, openinout.c, find-suffix.c: Consequent changes.
Mon Apr 12 06:14:42 1993 Karl Berry (karl@cs.umb.edu)
* Makefile.in (clean): Remove core here.
Sat Apr 10 15:20:25 1993 Karl Berry (karl@cs.umb.edu)
* openinout.c (make_tex_file): Throw away all output.
* texmf.c (swap_items): Add case for 16-byte items.
(From james@miller.cs.uwm.edu.)
* texmf.c (get_date_and_time): Cast arg to time_t *, not long *.
(From james@miller.cs.uwm.edu.)
* texmf.c (get_date_and_time) [SA_INTERRUPT]: Add code for SunOS
4.1, from ken@cs.toronto.edu.
* pathsrch.c (expand_subdir) [UNIX_ST_NLINK]: Don't check st_link
if we don't have Unix semantics.
* c-auto.h.in (UNIX_ST_NLINK): Define if not DOS or VMS or VMCMS.
(Suggested by buers@dg1.chemie.uni-konstanz.de.)
* texmf.c (catch_interrupt): Declare a(n unused) parameter `arg'
(from beebe).
(get_date_and_time): Don't do assignment in if condition.
Fri Apr 9 16:10:06 1993 Karl Berry (karl@cs.umb.edu)
* xrealloc.c (xrealloc): Don't print old_ptr.
* c-std.h (stddef.h): Don't include.
* openinout.c (make_tex_file): cmd is a string, not a character.
Mon Mar 29 08:33:51 1993 Karl Berry (karl@cs.umb.edu)
* cpascal.h (abs) [abs]: Undef.
Sat Mar 13 10:22:54 1993 Karl Berry (karl@cs.umb.edu)
* Makefile.in (CPPFLAGS): Add @DEFS@, for -DHAVE_CONFIG_H.
* texmf.h: Include cpascal.h instead of config.h.
* common.h: Merge into config.h and remove.
* common.h (pascal.h): Don't include this.
* cpascal.h: Rename from pascal.h.
* convert: Exit with bad status if the pipeline failed; use
cpascal.h instead of config.h.
* openinout.c (make_tex_file): Call xmalloc instead of declaring
an array; put quotes around the arg of sh -c.
Sun Feb 28 11:10:48 1993 Karl Berry (karl@cs.umb.edu)
* c-auto.h.in (MAKE_TEX_*): Replace single NO_MAKETEX with
individual symbols.
* openinout.c (maketex*) [MAKE_TEX*]: Make them individually
selectable.
Sun Feb 21 08:28:06 1993 Karl Berry (karl@cs.umb.edu)
* Version 5.851d.
* common.defines (maketexmf): New defn.
* Makefile.in (.c.o): Put $(CFLAGS) after $(CPPFLAGS).
* openinout.c: Include c-namemx.h.
Tue Feb 16 17:53:54 1993 Karl Berry (karl@cs.umb.edu)
* Makefile.in (install-exec, install-data): New targets.
Mon Feb 15 10:19:02 1993 Karl Berry (karl@cs.umb.edu)
* c-auto.h.in (NO_MAKETEX): New #define for installers.
* openinout.c (maketex*): New routines, rewrite from yesterday.
* common.defines (maketextex): Define.
Sun Feb 14 11:54:30 1993 Karl Berry (karl@cs.umb.edu)
* openinout.c (open_input) [BibTeX]: Only do NO_FILE_PATH stuff if
we are BibTeX; declare tfmtemp only when we need it, instead of at
the outer level; add support for MakeTeX{TeX,MF,TFM}.
Fri Feb 12 07:33:49 1993 Karl Berry (karl@cs.umb.edu)
* c-auto.h.in (const): Add defn for Autoconf to use.
* paths.h.in (TEXFORMATS): Only define once.
Sat Jan 30 09:46:04 1993 Karl Berry (karl@cs.umb.edu)
* fontmap.c (map_lookup): Only extend the filename if we have one.
Tue Jan 26 16:07:21 1993 Karl Berry (karl@cs.umb.edu)
* version.c: New file to define web2c version.
* common.h (versionstring): Declare it here.
* common.defines (versionstring): And here.
* Makefile.in (objs): Add it.
* c-auto.h.in (X11WIN) [XVIEWWIN]: Undefine.
Mon Jan 25 12:04:28 1993 Karl Berry (karl@cs.umb.edu)
* ourpaths.c (testreadaccess.c): Don't free `found' after copying,
as it might not be malloc-ed.
Sun Jan 24 11:04:37 1993 Karl Berry (karl@cs.umb.edu)
* lib.h (FATAL*, WARNING*): Use `str' instead of `s' for macro formals.
* xcalloc.c: Remove prototypes.
* remove-suffx.c, line.c, fontmap.c: Cast *alloc calls to avoid
silly warnings.
* texmf.c (swap_items): Rewrite as four while loops, since `size'
is invariant. (From Tom.)
Sat Jan 23 10:13:51 1993 Karl Berry (karl@cs.umb.edu)
* remove-suffx.c: New file.
Thu Jan 21 11:21:14 1993 Karl Berry (karl@cs.umb.edu)
* Makefile.in (objs5): New variable.
($(lib)): Include it in the archive.
* extend-fname.c, find-suffix.c, xfopen.c, fontmap.[ch]: New files.
* ourpaths.c, fontmap.[ch]: Implement a mapping file.
Sat Jan 16 08:36:36 1993 Karl Berry (karl@cs.umb.edu)
* c-auto.h.in, paths.h.in: Doc fix.
Sun Jan 3 13:27:37 1993 Karl Berry (karl@cs.umb.edu)
* config.h: Move some includes to c-std.h.
* xcalloc.c: New file.
* Makefile.in (objs): Add it.
* Makefile.in (distclean): Remove Makefile; depend on clean.
Fri Jan 1 14:17:37 1993 Karl Berry (karl@cs.umb.edu)
* c-auto.h.in, c-memstr.h, dirio.h: Changes for new Autoconf.
* texmf.c (RETSIGTYPE): Don't default to void.
Fri Dec 18 13:16:47 1992 Karl Berry (karl@cs.umb.edu)
* strpascal.c (makesuffixpas): Rename to `extendfilename'.
* common.defines (extendfilename): Declare.
Wed Dec 16 18:12:51 1992 Karl Berry (karl@cs.umb.edu)
* common.defines (atoi): Declare.
Mon Dec 14 07:25:03 1992 Karl Berry (karl@cs.umb.edu)
* ourpaths.c: Include paths.h.
Sun Dec 13 17:06:15 1992 Karl Berry (karl@cs.umb.edu)
* c-auto.h.in: Merge stuff from site.h.
* site.h: Delete.
* config.h: Don't include site.h.
Sat Dec 12 13:08:52 1992 Karl Berry (karl@cs.umb.edu)
* Makefile.in: Rewrite from Makefile.
* openinout.c (open_{in,out}put): Take an extra arg for the fopen mode.
* texmf.h ([bw]open{in,out}): Use appropriate fopen modes.
* pascal.h (aopen{in,out}): Likewise.
Fri Dec 11 15:19:25 1992 Karl Berry (karl@cs.umb.edu)
* texmf.c: Change ctype references to use uppercase macros.
Sat Dec 5 15:21:24 1992 Karl Berry (karl@cs.umb.edu)
* texmf.h (writedvi, writegf): Check the return status of the write.
* config.h (UNSIGNED_SHORT_STRING): Toss; I think everyone
understands `unsigned short' now.
Thu Dec 3 13:21:06 1992 Karl Berry (karl@cs.umb.edu)
* texmf.c: include c-pathch.h.
Sun Nov 29 14:50:04 1992 Karl Berry (karl@cs.umb.edu)
* strpascal.c: include c-pathch.h.
Mon Nov 16 08:12:16 1992 Karl Berry (karl@cs.umb.edu)
* openinout.c: include c-pathch.h.
Tue Nov 10 06:49:33 1992 Karl Berry (karl@cs.umb.edu)
* texmf.c (main): Change '/' to PATH_SEP.
* openinout.c (open_input): Likewise.
* strpascal.c (makesuffixpas): And here.
Mon Nov 9 09:38:58 1992 Karl Berry (karl@cs.umb.edu)
* openinout.c (open_input): Use FOPEN_RBIN_MODE instead of simply "r".
(open_output): Analogously.
* c-auto.h.in (DOS): New definition, #undef'd by default.
Fri Nov 6 14:52:34 1992 Karl Berry (karl@cs.umb.edu)
* Makefile (lib): Use $(AR) and $(ARFLAGS) several times.
(AR, ARFLAGS): New variables.
(objs1..4): New variables, breaking up the old $(objs).
Tue Oct 27 08:16:41 1992 Karl Berry (karl@cs.umb.edu)
* openinout.c (open_output): Remove `openable', just use *f !=
NULL; also, don't chdir to the envvar's directory, just prepend
the value and change nameoffile.
* site.h (TEXPOOLNAME): More instructions for MLTeX.
Sun Oct 25 06:26:22 1992 Karl Berry (karl@cs.umb.edu)
* getopt.c: New version.
Tue Oct 6 08:17:45 1992 Karl Berry (karl@cs.umb.edu)
* site.h.in: Doc fix.
Thu Sep 24 11:06:14 1992 Karl Berry (karl@cs.umb.edu)
* site.h.in: change instructions for OpenWindows. (mroth@afit.af.mil)
Thu Sep 17 08:29:53 1992 Karl Berry (karl@hayley)
* texmf.c (initscreen): if DISPLAY is set, assume we're running
under X11 for MF online output.
* texmf.c: remove BibTeX conditionals.
Tue Sep 8 17:06:54 1992 Karl Berry (karl@hayley)
* c-auto.h.in (_MINIX, _{ALL,POSIX,POSIX_1}_SOURCE): add #undef's
for configure to define.
Fri Sep 4 09:01:59 1992 Karl Berry (karl@hayley)
* Makefile (extraclean): new target.
Fri Aug 14 07:02:41 1992 Karl Berry (karl@hayley)
* ourpaths.h (path_constant_type): remove trailing comma from
enum, since ANSI stupidly disallows this.
Wed Aug 12 16:20:10 1992 Karl Berry (karl@hayley)
* texmf.c (catch_interrupt): change return type to `RETSIGTYPE'.
* config.h: remove conditional include of c-memstr if `index' is
defined.
Sat Aug 8 10:11:18 1992 Karl Berry (karl@hayley)
* openinout.c (EXTERN) [!BibTeX]: define as `extern'. How did
this ever work?
Fri Jul 3 11:23:32 1992 Karl Berry (karl@hayley)
* texmf.c (input_line): ignore \r's at the end of the line.
* site.h.in (XVIEWWIN): undef by default.
* texmf.c (X11WIN) [MF && (TRAP || INI)]: #undef.
Thu Jul 2 16:11:46 1992 Karl Berry (karl@hayley)
* Makefile (CPPFLAGS): new variable
(.c.o): use it.
(cflags): change to CFLAGS.
Tue Jun 23 09:09:49 1992 Karl Berry (karl@hayley)
* Makefile (CC): change default to `gcc -posix'.
* site.h.in (NONASCII): document that xord and xchr are ignored
unless this is defined.
Thu Jun 11 09:20:51 1992 Karl Berry (karl@hayley)
* zround.c (zround): return LONG_MAX or LONG_MIN if the double
being rounded is outside the range of `integer'.
* c-minmax.h (LONG_{MIN,MAX}): define these if they aren't defined
by the system.
Fri May 15 10:23:47 1992 Karl Berry (karl@hayley)
* getopt.[ch]: new versions.
Thu May 14 19:21:40 1992 Karl Berry (karl@claude.cs.umb.edu)
* Version 5.851c.
Wed May 13 14:32:14 1992 Karl Berry (karl@hayley)
* pathsrch.c (initalize_path_list): initialize path to the
original path.
Mon May 4 14:50:20 1992 Karl Berry (karl@hayley)
* c-auto.h.in: doc fix.
Sun May 3 08:06:07 1992 Karl Berry (karl@hayley)
* main.c (argv): use a prototype if possibile.
* texmf.ch (*dumpthings): parenthesize `len'.
Wed Apr 29 16:07:52 1992 Karl Berry (karl@hayley)
* texmfmem.h (memoryword): had mutually exclusive #if's.
(twohalves.u): don't need junk at the end?
Sat Apr 25 08:55:34 1992 Karl Berry (karl@hayley)
* c-auto.h.in (__CHAR_UNSIGNED__): protect with #ifndef.
* site.h.in: remove #ifndef's from around the #define's. I don't
think these help anything.
Thu Apr 23 07:49:18 1992 Karl Berry (karl@hayley)
* c-auto.h.in: new file.
Wed Apr 22 12:43:30 1992 Karl Berry (karl@hayley)
* texmf.c: SIGTYPE is now RETSIGTYPE.
Sun Apr 19 10:26:16 1992 Karl Berry (karl@hayley)
* texmf.c: had sense of tests on FMTBASE_SWAP reversed.
Thu Apr 16 13:49:36 1992 Karl Berry (karl@ra.cs.umb.edu)
* Version 5.851b.
Tue Apr 14 17:06:57 1992 Karl Berry (karl@hayley)
* common.defines (BSTINPUTPATHBIT): define.
Sun Apr 12 11:42:14 1992 Karl Berry (karl@hayley)
* common.defines (BSTINPUTPATH): define.
* ourpaths.h (path_constant_type): add BSTINPUTPATH.
(BSTINPUTPATHBIT): define.
* site.h-dist (BSTINPUTS): default is TEXINPUTS.
* ourpaths.c (setpaths): add stuff for BSTINPUTS.
Sat Apr 11 09:26:55 1992 Karl Berry (karl@hayley)
* uexit.c: include config.h, for EXIT_SUCCESS_CODE.
Fri Apr 10 16:56:18 1992 Karl Berry (karl@hayley)
* ourpaths.c (setpaths): don't pass cwd to initialize_path_list.
* site.h-dist (*INPUTS, TEXFONTS): add . to these paths.
Wed Apr 8 15:34:21 1992 Karl Berry (karl@hayley)
* texmf.c [FMTBASE_SWAP]: make swapping conditional.
* site.h-dist: add it here for configuration.
* main.c (do_undump) [VMS]: add code from joe.
* main.c: use exit, not exit.
* Makefile (objs): add uexit.o.
* uexit.c: new file.
* pascal.h (uexit): remove this, as it's now a function.
Fri Apr 3 09:55:00 1992 Karl Berry (karl at hayley)
* Version 5.851a.
Thu Apr 2 11:57:06 1992 Karl Berry (karl at apollo.cs.umb.edu)
* c-memstr.h (memcpy) [!NEED_MEMORY_H]: conditionalize.
Thu Apr 2 10:51:11 1992 Karl Berry (karl at ra.cs.umb.edu)
* xstat.c (xlstat): (un)prototype-ize.
* c-limits.h: test for FLOAT_H_MISSING instead of relying on
_POSIX_VERSION to include <float.h>.
* c-pathmx.h [_POSIX_VERSION]: don't do pathconf stuff.
Wed Apr 1 16:57:30 1992 Karl Berry (karl at hayley)
* common.h (FATAL): use `str' as the arg name, not `s', since we
need to do `%s'.
* xopendir.c (xclosedir): prototype-ize it.
* dir-p (leaf_dir_p): don't initialize a structure (!).
* {concat,pathsrch,texmf,xmalloc,xstrdup,xrealloc}.c: cast results from
xmalloc/malloc/realloc (argh).
* alloca.c: comment things after #endif.
* site.h-dist (REGFIX): put this back.
* c-proto.h (P5C) [!__STDC__]: insert missing backslash.
Mon Mar 30 07:28:25 1992 Karl Berry (karl at hayley)
* texmfmem.h (u, v, twohalves) [big MF]: define the halfword junks
again.
Sun Mar 29 15:33:29 1992 Karl Berry (karl at hayley)
* alloca.c: new version from gcc 2.1.
Sat Mar 28 09:46:53 1992 Karl Berry (karl at hayley)
* main.c (main): return int, exit (EXIT_SUCCESS_CODE).
* texmf.c (main): likewise.
* config.h (SCHAR_TYPE): use `__CHAR_UNSIGNED__' again.
Thu Mar 26 06:57:38 1992 Karl Berry (karl at hayley)
* Makefile (clean, realclean): depend on mostlyclean.
Sun Mar 22 09:16:04 1992 Karl Berry (karl at hayley)
* common.h [BibTeX]: remove the include of <setjmp.h>, as
bibtex/convert does it.
Sat Mar 21 11:09:55 1992 Karl Berry (karl at hayley)
* common.defines (input2ints): for patgen2.
* inputint.c (zinput2ints): new routine.
* pascal.h (input2ints): new macro to call it.
* config.h: include c-pathmx.h.
* common.defines (TEXPOOLNAME): declare as a constant.
Fri Mar 20 16:10:44 1992 Karl Berry (karl at hayley)
* paths.h: new file.
* config.h: update for new files c-*.h.
* common.h: remove stuff that is now in lib.h.
Thu Mar 19 11:52:17 1992 Karl Berry (karl at hayley)
* ourpaths.c (append_path_list): remove this.
* ourpaths.c (setpaths): use the envvar TEXFONTS if VFFONTS isn't set.
Tue Feb 11 10:27:38 1992 Karl Berry (karl at hayley)
* config.h [NEED_MEMORY_H]: include <memory.h>.
* config.h [LIMITS_H_MISSING]: include <sys/param.h>.
Sun Feb 2 07:54:53 1992 Karl Berry (karl at hayley)
* pathsearch.c (parse_envpath): remove the second / before doing
subdirectories.
* pascal.h (optiontable): remove, as getopt no longer has a global
table for the long options.
Sat Feb 1 15:32:50 1992 Karl Berry (karl at hayley)
* ourpaths.c (setpaths): use TEXFONTS if PKFONTS/GFFONTS is not
set for GF/PK files, as the documentation claims.
* ourpaths.c (setpaths): remove subdirectory stuff.
* pathsearch.[ch]: new versions to integrate subdirectories into
the main paths.
* texmf{,mem}.c (WEB2C_BIGENDIAN): rename to WORDS_BIGENDIAN.
Fri Jan 31 11:54:46 1992 Karl Berry (karl at hayley)
* strpascal.c ({null,space}_terminate): do not translate using
xord/xchr (from raichle@azu.informatik.uni-stuttgart.de).
Fri Jan 24 07:14:05 1992 Karl Berry (karl at hayley)
* Makefile (cflags): don't include -I../config.
* config.h (__CHAR_UNSIGNED__) [CHAR_UNSIGNED]: define as autoconf
uses the latter and gcc sometimes the former.
* config.h: move from config.
* openinout.c (extensionirrelevantp): new function.
* common.defines: declare it.
* ourpaths.h (path_constant_type): rename from `path_constants'.
* openinout.c (open_input): use it for the path arg.
Wed Jan 15 11:13:45 1992 Karl Berry (karl at hayley)
* xgetcwd.c, xchdir.c: don't need these.
* Makefile (objs): remove from list.
* dirio.h: remove decls.
* pathsearch.c (check_subdir): do not cd to the directory we're
testing.
(add_directory): test if the name is a directory before adding it
to the list.
(parse_envpath): don't test if the names are directories here.
(initialize_path_list): don't find and cd to the current directory
between each subdirectory.
Tue Jan 14 16:06:24 1992 Karl Berry (karl at hayley)
* texmf.c: do not include <sys/types.h>; it's in config.h now.
* types.h: likewise.
Sun Jan 12 07:41:34 1992 Karl Berry (karl at hayley)
* pathsearch.c (initialize_path_list): cd back to . after checking
each subdirectory.
* dirio.h: change directory header stuff as suggested in the
autoconf manual.
* ourpaths.h: make the path list an enumeration type.
* openinout.c (open_input): correctly compute namelength.
* texmfmem.h (memoryword) [TeX]: make declaration of `glueratio'
conditional.
* openinout.c: rearrange ifdefs for coherency.
* ourpaths.c (append_path_list): overwrite the null in the first
list.
* pathsearch.c (initialize_path_list): unconditionally call
parse_envpath.
(parse_envpath): if the envvar name is null, don't call getenv.
If both args are null, do nothing.
* ourpaths.c (setpaths): initialize the TFM path.
* common.h (FATAL*): new macros.
* pascal.h (real): define to be `double'.
* xfopen-pas.c: new file.
* eofeoln.c (test_eof): rename to `eof'.
* pascal.h (eof): remove.
* pascal.h (reset, rewrite): `checked_fopen' => `xfopen_pas'.
* common.h (link): define as `link_var', to avoid conflicts
between the system call and the web var.
* common.defines (FILENAMESIZE): rename to `PATHMAX'.
Tue Jan 7 11:26:02 1992 Karl Berry (karl at hayley)
* getopt*: new versions.
* extra.c (getwd) [GETWD_MISSING]: conditionalize.
* extra.c (zinput3ints): new implementation, from jmr@nada.kth.se.
* texmf.c (swap_items) [!WEB2C_BIG_ENDIAN]: ifdef on this.
* texmfmem.h (twohalves, fourquarters): incorporate changes from
raichle@azu.informatik.uni-stuttgart.de which he says make
format files finally work.
* common.h (SCHAR_TYPE): use `signed_char' if ANSI, `short' if
char is unsigned, otherwise `char'.
|