summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: e714d73def896dc1b0b1be89f05b9af0a65db8ca (plain)
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
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
2020-10-25  G. Branden Robinson <g.branden.robinson@gmail.com>

	Fix ms .TC macro by allowing it to actually use lowercase Roman
	numerals for the page(s) of the table of contents when a custom
	title (header or footer) is defined containing '%'.

	As a side effect, eliminate the PN register, which was
	apparently misused because it was undocumented and had a name
	just long enough to be both suggestive and ambiguous.  Another
	pin goes into my Ken Thompson voodoo doll.

	* tmac/s.tmac (IX): Write out page number of index term(s) in
	using the % register (instead of PN), obtaining whatever format
	is assigned to the register at that time.
	(CH): Similarly, output %, not PN, in the center of the default
	heading.
	(PT): Save the format of %, set it to decimal, copy its value to
	a new register, pg*page-number-in-decimal, then restore %'s
	previous format.  Compare the new register, not %, to 1 to
	determine whether special page one behavior should be used.
	(pg*end-page): Assign pg*next-format to %, not PN.
	(XA): Define toc*num with the interpolation of %, not PN.

	* tmac/tests/s-TC-works-with-percent-in-custom-titles.sh: Test.
	* tmac/tmac.an (tmac_TEST): Run test.

	Problem appears to be very old; as I read it, Larry Kollar was
	complaining of it in his ms.ms document over 20 years ago.

	Fixes <https://savannah.gnu.org/bugs/?59345>.

2020-10-25  G. Branden Robinson <g.branden.robinson@gmail.com>

	* man/groff.7 (Requests/Request short reference) <.af>: Fix
	error; "l" is not a valid register format.  Explain what the
	request does, and the default format, as tersely as possible.

2020-10-22  G. Branden Robinson <g.branden.robinson@gmail.com>

	Use only malloc() and free() to manage memory of paths opened by
	the parser instead of mixing in C++ new/delete management under
	some runtime-dependent circumstances.

	* src/libs/libgroff/relocate.cpp (relocatep): Use malloc(), not
	new.
	* src/roff/troff/input.cpp (process_macro_file,
	process_startup_file, macro_source): Use free(), not (a_)delete.

	Thanks to an anonymous contributor for the report and patch.

	Fixes <https://savannah.gnu.org/bugs/index.php?56694>.

2020-10-22  G. Branden Robinson <g.branden.robinson@gmail.com>

	* man/groff_char.7.man (Description/Special character escape
	forms): Clarify discussion of Unicode Normalization Form D and
	its applicability to code points acceptable in Unicode numeric
	special character escapes.  Also document that these escapes
	must use uppercase hexadecimal digits.

	Attempts once again to slay the unkillable beast that is
	<https://savannah.gnu.org/bugs/index.php?57618>.

2020-10-21  Ingo Schwarze <schwarze@openbsd.org>

	On systems without NAME_MAX, use FILENAME_MAX as a last resort.

	Problem reported by Eli Zaretskii <eliz at gnu dot org>
	on MS Windows in https://savannah.gnu.org/bugs/?55449

2020-10-20  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/troff/env.cpp (environment::possibly_break_line):
	Emit break warning and return if the output width is not
	positive.  The code assumes that it will be and loops infinitely
	if it isn't.  I _think_ this is because we're not able to get
	width data for (some?) CJK glyphs.  Based on a patch by Osamu
	Sayama.

	* src/roff/groff/tests/\
	do_not_loop_infinitely_when_breaking_cjk.sh: Test it.
	* src/roff/groff/groff.am: Run test.

	Fixes <https://savannah.gnu.org/bugs/index.php?44018>.

2020-10-20  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/preproc/tbl/table.cpp (table::init_output): Save the value
	of \n[.tabs] when starting a table.  In the reset macro, restore
	the saved value.

	Based on a patch by Bjarni Ingi Gislason (tweaked to use a more
	normative preprocessor symbol; "REG"s aren't "NAME"s).

	* src/preproc/tbl/tests/save-and-restore-tab-stops.sh: Test it.
	* src/preproc/tbl/tbl.am (tbl_TESTS): Run test.

	Fixes <https://savannah.gnu.org/bugs/index.php?42978>.

2020-10-20  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/nroff/nroff.sh: Recognize -E option and pass it
	through to troff.  Document it in usage message.
	* src/roff/nroff/nroff.1.man: Document new -E option.

	Based on a patch by Ingo Schwarze.

	Fixes <https://savannah.gnu.org/bugs/index.php?44289>.

2020-10-18  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac: Stop remapping ` and '.  Our own pages now
	appear to be clear of wrong-quote problems, so let's make them
	visible if they recur.  Those who don't want to fix bad man
	pages (distributors, site admins) can restore the mappings in
	their man.local files.

2020-10-18  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac (an-warn): New; emits warning diagnostic.
	(R): Use new macro instead of .tm* requests directly.

2020-10-18  Ingo Schwarze <schwarze@openbsd.org>

	#include "config.h" before <stdio.h>

	Required with e.g. gcc 4.2.1 because gnulib/lib/stdio.in.h
	uses the "restrict" keyword since this gnulib commit:
	commit 182afcba2635cbff91240656c7fb3742dd23ab6f
	Author: Bruno Haible <bruno@clisp.org>
	Date: Sat Feb 22 20:57:30 2020 +0100

	Otherwise, the build may die from the declaration of
	various printf-like functions with messages like:
	./lib/stdio.h:851: error: expected ',' or '...' before 'fp'

	* src/libs/libgroff/assert.cpp, src/libs/libgroff/errarg.cpp,
	src/libs/libgroff/error.cpp, src/preproc/eqn/eqn.ypp:
	#include "config.h".

2020-10-18  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	hpftodit: incorrect 'delete' after new[]

	* src/utils/hpftodit/hpftodit.cpp (output_font_name): use
	'delete[]'.

	Fixes bug #55331. Found by David Binderman, fixed by Ingo
	Schwarze.

2020-10-18  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	preconv: don't use libuchardet if input is stdin

	* src/preproc/preconv/preconv.cpp (do_file): don't call
	detect_file_encoding if input file is "-"

	This fixes the failure on MS-Windows described #55334, however
	this does not fix the encoding detection with uchardet if the
	input is stdin (the user would have to pass with -D the correct
	encoding as explained in the man page).

2020-10-17  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/preproc/eqn/lex.cpp (troff_defs): Set the "..." token on
	the baseline, not vertically centered, aligning the actual
	behavior with what our eqn(1) man page has claimed since 2007.

	Fixes <https://savannah.gnu.org/bugs/index.php?59285>.

2020-10-17  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/devices/grops/grops.1.man
	(Usage/TrueType and other font formats): Remove dead URL to
	ttftot42 utility.  Update URL to fontforge tool.  Replace much
	of the discussion with an example, motivated by Jordan Torbiak's
	"groff-install-font" script on GitHub Gist, of how to add the
	Roboto Slab Regular font to a user-local groff font directory
	{and how to test it, too}.

	Fixes <https://savannah.gnu.org/bugs/index.php?58077>.

2020-10-17  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/utils/afmtodit/afmtodit.pl: Report program name in warning
	diagnostics.

	Continues the long process of fixing Savannah #52463.

2020-10-16  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/preproc/eqn/main.cpp (main):
	* src/preproc/pic/main.cpp (main):
	* src/preproc/tbl/main.cpp (main):
	* tmac/eqnrc:
	* tmac/troffrc: Perform checks of register and macro definitions
	with a .do request, since we might be in compatibilty mode.

2020-10-16  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/troff/input.cpp (do_if_request): Emit warning of type
	"syntax" if a groff conditional expression extension is used
	when compatibility mode is active.

	* doc/groff.texi:
	* src/roff/troff/troff.1.man: Update description of "syntax"
	warning type to be more general.  It was inaccurate, referring
	only to "dubious syntax in numeric expressions", which was not
	the case.  Instead it was being used only for poor construction
	of character classes with the .class request.

2020-10-14  Ingo Schwarze <schwarze@openbsd.org>

	In groff(1), fix the combination of -v with -k, -j, and -J.

	* src/roff/groff/groff.cpp: Pass the -v option through to the
	preconv, chem, and ideal preprocessors, just like for all
	other preprocessors, to print the version of the preprocessor
	and to avoid garbage output.

	Bugfix patch from Eli Zaretskii <eliz at gnu dot org>
	submitted in: https://savannah.gnu.org/bugs/?55297

2020-10-12  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Update 'gnulib' submodule.

	* gnulib: now points on d60a35e94c4f5b8f09f15828242418f5073d46e7
	from 'gnulib' repository.

	* configure.ac: minimum autoconf version is now 2.64 due to
	gnulib upgrade.

	* FOR-RELEASE: add the gnulib update to the checklist.

2020-10-11  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/andoc.tmac: When switching between macro packages in
	andoc and using continuous-rendering mode, flush any partially
	collected output line and write page footer.
	(reload-doc): Call an-end if it is defined.
	(reload-man): Call doc-end-macro if it is defined.
	* tmac/tests/andoc-flush-between-packages.sh: Add regression
	test.
	* tmac/tmac.am (tmac_TESTS): Run test.

	Fixes <https://savannah.gnu.org/bugs/index.php?59106>.

2020-10-11  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/andoc.tmac: Remove traps set by mdoc package by the names
	they actually use.
	* tmac/tests/andoc-clear-doc-traps.sh: Add regression test.
	* tmac/tmac.am (tmac_TESTS): Run test.

	Fixes <https://savannah.gnu.org/bugs/index.php?59246>.

2020-10-10  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/preproc/tbl/table.cpp (table::init_output): In the release
	macro written to the output, reword the warning diagnostic that
	is emitted when a table row is to be output without enough room
	before the next page location trap.  The former wording said
	that a "text block" would not fit on the page, and that is
	normally how table rows grow longer than one line in the first
	place.  However, there are other ways the conditional can be
	satisfied, as witnessed in Savannah #57665, so simply say what
	is known; that the table _row_ overruns the space to the next
	trap (we say the row won't "fit on [the] page").

	Fixes <https://savannah.gnu.org/bugs/index.php?59233>.

2020-10-10  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/preproc/tbl/table.cpp
	(double_line_entry::double_line_entry):
	(double_line_entry::simple_print): Remove garbage lines
	inadvertently added in previous commit.

2020-10-09  G. Branden Robinson <g.branden.robinson@gmail.com>

	Stop tbl from injecting spurious blank lines (and emitting
	spurious warnings about tables and "text blocks" not "fitting on
	a page") into long tables in man pages when continuous rendering
	is used (the default for nroff output devices).

	* src/preproc/tbl/table.cpp (USE_KEEPS_REG): New preprocessor
	symbol stores name of groff register for dynamic determination
	of keep usage.
	(table::init_output): If the NOKEEP flag is not set, then in
	generated groff output, see if the usekeeps register is defined;
	if not, define it and enable usage of keeps.
	(table::do_row): In groff output, check usekeeps register before
	calling keep and release macros.
	(table::do_bottom): In groff output, check usekeeps register
	before calling release macro.

	* tmac/an-old.tmac (TS): Set the usekeeps register used by tbl
	to the logical complement of the man(7) cR (continuous
	rendering) register.

	* tmac/tests/an-old_TS_do_not_keep_tables_when_cR_set.sh: Add
	regression test.
	* tmac/tmac.am (tmac_TESTS): Run test.

	Problem appears to date back to the introduction of continuous
	rendering in groff 1.17 (3 May 2001).

	Fixes <https://savannah.gnu.org/bugs/index.php?57665>.

2020-10-09  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/preproc/tbl/table.cpp (simple_entry::position_vertically):
	(block_entry::position_vertically):
	(table::determine_row_type):
	(printfs): Update assertions to indicate what actually went
	wrong.

2020-10-02  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/troff/node.cpp: Make diagnostics slightly more
	informative in unusual error cases.
	(real_output_file::~real_output_file): If ferror() reports error
	status on a stream say that, instead of "error writing".  If it
	does not, but fflush() fails on the stream, describe the flush
	as failing, and use strerror() since fflush() sets errno.  If
	pclose() fails, say that we were unable to close a pipe instead
	of repeating the name of the C library function to the user, who
	might not be a C programmer.  Report sterror() in this case and
	for a failing fclose().
	(real_output_file::flush): Repeat updated fflush() logic from
	previous function.

2020-09-30  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac (register setup): Make interaction of \n[C]
	register and HTML output more clear in code and comments.

2020-09-30  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/groff/tests/regression_savannah_59202.sh: Reduce test
	case.

2020-09-29  G. Branden Robinson <g.branden.robinson@gmail.com>

	Fix SEGV arising from recursing destructor.

	* src/roff/troff/node.h (output_file): Add class member
	`is_dying` to track whether destructor has already been entered;
	initialize false.
	* src/roff/troff/node.cpp (real_output_file::~real_output_file):
	Set `is_dying` true when destructor entered.
	* src/roff/troff/div.cpp (cleanup_and_exit): Only delete
	`the_output` object if it is not already being destroyed.
	* src/roff/groff/tests/regression_savannah_59202.sh: Add test.
	* src/roff/groff/groff.am (groff_TESTS): Run test.

	Thanks to "hackerb9" for reporting the problem.  Problem appears
	to date back to groff 1.02 (June 1991) or earlier.

	Fixes <https://savannah.gnu.org/bugs/index.php?59202>.

2020-09-28  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac (register setup): Condition decisions on
	\n[an-html] rather than a string comparison using \*[.T]; that
	is what the register is there for.

2020-09-28  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/andoc.tmac: Save alias to .ne request.
	(reload-doc): Restore .ne request, which an-old.tmac meddles
	with if continuous rendering is used.  (The meddling ultimately
	dates back to 777e2d262862621966c18d685a000cc88f432bc6, 26
	January 2002, which simply redefined .ne as empty on nroff
	devices.)

2020-09-27  G. Branden Robinson <g.branden.robinson@gmail.com>

	Ship tests in distribution archive.

	* src/preproc/preconv/preconv.am (EXTRA_DIST):
	* src/roff/groff/groff.am (EXTRA_DIST):
	* src/roff/nroff/nroff.am (EXTRA_DIST):
	* tmac/tmac.am (EXTRA_DIST): Add
	$({preconv,groff,nroff,tmac}_TESTS), as appropriate.

	* src/roff/nroff/nroff.am (MOSTLYCLEANFILES): Stop adding
	$(nroff_TESTS), which can only have unhappy consequences.

2020-09-27  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/tmac.am: Fix problem with recently-relocated mdoc macro
	files not ending up in the right place in the distribution
	archive.
	(dist_tmac_DATA): Also include $(TMACUNSTRIPFILES).
	(TMACMDOCSTRIPFILES): Rename from $(TMACMDOCFILES).  Update
	interpolation sites.
	(TMACMDOCUNSTRIPFILES): New variable holds mdoc macro files in
	the tmac/mdoc subdirectory.  Stop adding these files to
	$(TMACUNSTRIPFILES) since those reside in tmac/ directly.
	(EXTRA_DIST): Add $(TMACMDOCUNSTRIPFILES).
	($(TMACSTRIPFILES)): Depend only on $(TMACUNSTRIPFILES).
	($(TMACMDOCSTRIPFILES)): Add new rule, much like the foregoing.
	Depend on $(TMACMDOCUNSTRIPFILES) and copy files into tmac/mdoc.
	(dist-hook, tmac-dist-hook): Remove; they no longer do any
	distinct work.

	Fixes <https://savannah.gnu.org/bugs/index.php?59186>.

2020-09-26  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/preproc/tbl/table.cpp (table::init_output):
	(table::compute_expand_width):
	(table::compute_separation_factor): Use consistent format for
	diagnostic messages.
	+ Do not spread a single diagnostic across multiple lines.
	+ Report messages in GNU Coding Standards format, that is:
	+ Report the name of the file the problem is in...
	+ ...then the line number...
	+ ...then the diagnostic severity level...
	+ ...then the specific problem.

2020-09-26  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac: Emit warnings when configuration registers
	are ignored when producing output for HTML.

2020-09-25  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac (an-p-footer): Define \*[an-page-string] if
	(1) the output device is not HTML; (2) \n[X] has been defined;
	and (3) the page number has not yet reached the threshold
	defined by \n[X].

	Fixes <https://savannah.gnu.org/bugs/index.php?59179>.

2020-09-25  G. Branden Robinson <g.branden.robinson@gmail.com>

	Add regression test for Savannah #59179.

	* tmac/tests/an-old_X_register_works.sh: Do it.
	* tmac/tmac.am (tmac_TESTS): Run it.

2020-09-25  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac:
	* tmac/doc.tmac-u: Emit more informative fatal diagnostic when
	installed version of groff is too old.  Report the version found
	and explicitly note consequent abort.

2020-09-25  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/tmac.am: Regenerate stripped macro files upon changes to
	any of their unstripped counterparts.  This is crude, but they
	weren't being regenerated at _all_.  Defeating a central
	function of Make is bad.
	(TMACUNSTRIPFILES): New variable.  Populate with -u files.
	($(TMACMDOCFILES) $(TMACSTRIPFILES)): Depend on
	$(TMACUNSTRIPFILES).

2020-09-25  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac:
	* tmac/andoc.tmac:
	* tmac/doc.tmac-u:
	* tmac/s.tmac: Clarify fatal diagnostics by informing the user
	that the program is aborting.

2020-09-25  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/www.tmac.in: Revise diagnostic message handling.
	(www:fatal): New macro handles fatal macro usage errors.
	(www:lenstr): Use www:fatal instead of writing to standard error
	with .tm (rather than www:error) and then calling .ab without
	arguments, which produces an unsightly "User Abort." message.
	(www:lenstr):
	(www:splitstr):
	(www:url_breaks):
	(www:url_breaks_split):
	(LINKSTYLE): Report expected number of arguments in diagnostics.
	(www:fontstyle): Shorten diagnostic message.

2020-09-25  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/troff/div.cpp
	(top_level_diversion::clear_diversion_trap): Fix copy and paste
	error in diagnostic, which wrongly reported that a top-level
	diversion trap couldn't be "set" when "clear"ed was meant.

2020-09-19  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/preproc/grn/main.cpp (conv):
	* src/roff/troff/node.cpp (suppress_node::tprint): Remove
	embedded newlines from diagnostic messages.

2020-09-18  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac: Move setup of remaining rendering option
	parameters (registers C, D, P, and X) to end of file.

2020-09-17  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac (TH): Move setup of rendering parameter
	registers IN and SN from here to the end of the file.  Update
	comments.

2020-09-17  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac: Drop \*[an-empty] string.  This string is
	documented as preventing "looping" (presumably infinitely) if
	someone calls a two-font macro with an inconvenient parameter;
	the example shown is ".RB ( \\ )".  This string was being
	interpolated at the end of each argument pair to the two-font
	macros BI, BR, IB, RB, and RI.  This code dates back to groff
	1.10 (dc5351364982f78f8c630f1e856d692d4a82666f, 26 November
	1995).  Did you notice a two-font macro missing?  It was: IR.
	Using it with the proscribed input fails to cause a problem; the
	others similarly operate just fine when the empty string
	interpolation is removed.  Presumably at some point in the past
	25 years, this workaround became unnecessary.
	(BI, BR, IB, RB, RI): Remove interpolations of string.

	* tmac/tests/an-old_avoid_two-font_denial_of_service.sh: Add
	regression test.
	* tmac/tmac.am (tmac_TESTS): Run test.

2020-09-16  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac: Refactor continuous rendering handling.
	Relocate set up of \n[cR] to end of file in parallel with other
	rendering parameter management.  Instead of conditionally
	defining the an-ne and an-bp macros, define them
	unconditionally.  Also define them with .de instead of .de1,
	since they will only be called within the contexts of macros
	that are already running with compatibility mode off (i.e., the
	public interface macros).  Relocate definition of an-end to sit
	alongside these other continuous-rendering-mode specific macros
	and avoid a forward reference and scattering of \n[cR]
	conditionals around the file.
	(an-set-up-continuous-rendering): Define new macro to move
	macros (and end macro) into place.  Call it at the end of the
	file only if cR eventually winds up being true.

2020-09-16  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac: Improve name space management.  Rename .ne
	request to .an-ne instead of outright clobbering it (and in
	parallel with .an-bp).  Rename 'an-ne' register to 'an-need' to
	prevent confusion with renamed request.

2020-09-16  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac: Drop .ll hack for LL register.

	Drop the .ll hack for setting the line length on nroff devices.

	Once upon a time, the only way to get man pages to render on a
	terminal at any width other than the nroff default of 65n was to
	put an .ll request into the page--a mortal sin against
	portability--or your man(1) program could sneak such a request
	into nroff's input stream.

	Also, long ago, John Eaton of UT Austin wrote a man(1) program.
	In a few years this implementation branched into two lines of
	development, which I'll call man-db man (Wilford/Polacco/Watson)
	and another, Brouwer/Lucifredi man, which as of this writing saw
	its last release in 2011 (1.6g).

	The man and mdoc macros of groff 1.18 (July 2002) introduced an
	LL register to configure the line length, respecting an -rLL
	command-line option.  The source change was made by Werner
	Lemberg on 3 May 2002 and Colin Watson updated man-db man(1)--on
	the same day!--to synthesize the option when calling groff.

	Later, in August 2005, Keith Marshall, a user of vesion 1.5m of
	Brouwer/Lucifredi man(1), which did not set the LL register,
	suggested that the existing .ll setting (technically, the value
	of \n[.l], the only way the result of an .ll request could be
	introspected) be honored in the absence of the LL register.
	However, it is impossible to distinguish a user-supplied ".ll
	65n" request from nroff's default setting, which was in that
	case overridden to the modern default of 78n.

	And so, in what is now git commit
	f9d5df4aebd3d834b4084ffefa52a115e00dce38 (1 September 2005), it
	was done.

	This led to (1) surprising behavior for users accustomed to old
	methods and desirous of the nroff default and (2) lengthy
	apologia in groff source code comments and the groff_man(7) man
	page.

	Ironically, Brouwer/Lucifredi man(1) had already added support
	for the LL register by the time of its 1.6 release two months
	earlier (20 June 2005).  (Curiously, it did so similarly to the
	old .ll hack, by injecting an '.nr LL' request into groff's
	input stream, rather than using the -r command-line option.)
	Moreover, Marshall and the groff list were already aware of
	this, but the change was accepted anyway because version 1.6
	was "too new"!  (Distributions are slow sometimes, true...)

	Let us survey the field in 2020.  man-db man(1) has supported
	the LL register for eighteen years, and Brouwer/Lucifredi man(1)
	for fifteen.  Heirloom Doctools's man macros set the line length
	to 78n on nroff devices unconditionally.  mandoc(1) similarly
	also always formats for 78 columns on terminals.  groff's
	mdoc(7) macros grew support for LL in parallel with man(7) in
	2002 and never added the \n[.l] introspection at all.

	There no longer seems to be any reason to preserve this hack.

	* tmac/an-old.tmac (initialization): Drop complex setup of LL
	register.
	(TH): Relocate line length reset; no behavior change.
	(after .mso man.local): Initialize LL only if the user hasn't;
	use device default in troff mode, and 78n in nroff mode.

	* tmac/groff_man.7.man.in (Options) <-rLL>: Stop documenting .ll
	hack.

	Fixes <https://savannah.gnu.org/bugs/index.php?58992>.

2020-09-16  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/tests/an-old_LL_init_sanely.sh: Add test.
	* tmac/tmac.am (tmac_TESTS): Run test.

2020-09-15  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/devices/xditview/GXditview.ad: Widen the default geometry
	to accommodate the width of a page rendered using the X100-12
	device.  Display devices these days have much greater horizontal
	resolution than they did 20 years ago.

2020-09-14  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac: Use correct point size default for
	X{75,100}-12 devices.

2020-09-14  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/mdoc/doc-common-u (doc-prepare-section-heading): New
	macro defines new string doc-sec-head to enable recognition of
	mixed-case section headings in mdoc man pages.  For example,
	"Name" and "Description" are now recognized in addition to
	"NAME" and "DESCRIPTION".
	(doc-section-{name,synopsis,library,description,see-also,files,
	authors}): Redefine strings to be mixed-case.  Add trailing
	comment guard per recommended best practice.
	(Sh): Call doc-prepare-section-heading instead of
	doc-first-parameter, and compare predefined section strings to
	doc-sec-head instead of doc-str-dfp.

	* tmac/tests/doc-accept-mixed-case-section-headings.sh: Test it.
	* tmac/tmac.am (tmac_TESTS): Run test.
	* tmac/tests/doc-smoke-test.sh: Use mixed-case section headings.

2020-09-03  G. Branden Robinson <g.branden.robinson@gmail.com>

	* FOR-RELEASE: Start a release checklist.  We probably should
	have done the afmtodit.tables update for 1.22.4.  There were no
	AGL changes and the Unicode decomposition changes were limited
	to additions for Balinese (11), CJK compatibility ideographs
	(5), and 13 code points outside the Basic Multilingual Plane.

2020-09-02  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/utils/afmtodit/afmtodit.tables: Regenerate using Unicode
	13.0.0.

2020-09-02  G. Branden Robinson <g.branden.robinson@gmail.com>

	make-afmtodit-tables: Automate AGL reassignments.

	Automate the procedure done manually in
	b72b91e85e80a69304e6569db535bcca0e0ecab5 (9 April 2007), so that
	it doesn't regress when we regenerate afmtodit.tables.

	* src/utils/afmtodit/make-afmtodit-tables: Do it.
	* src/utils/afmtodit/afmtodit.tables: Regenerate it.

2020-09-02  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/groff/groff.1.man (Options) <-E>:
	* src/roff/troff/troff.1.man (Options) <-E>: Document that -E
	implies -Ww.

	Fixes <https://savannah.gnu.org/bugs/index.php?59030>.

2020-09-01  G. Branden Robinson <g.branden.robinson@gmail.com>

	* man/groff_char.7.man: Revise glyph descriptions.

	Fixes <https://savannah.gnu.org/bugs/index.php?59031>.

2020-09-01  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/tty.tmac: Define fallback glyphs for Bell Systems logo
	{non-breaking adjustable space} and radical extension and square
	root extension (both non-printing input breaks) to suppress
	warnings from groff_char(7).  As none of these are encoded in
	Unicode it seems unlikely they will become supported soon.

2020-08-30  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/troff/troff.1.man (Options) <-I>: The current working
	directory is searched _last_, not first, unless the order is
	altered with "-I .".

	* src/roff/groff/groff.1.man (Options) <-I>: Rearrange
	description.

2020-08-25  G. Branden Robinson <g.branden.robinson@gmail.com>

	Update mdoc package to honor HY register as man does now, per
	suggestion from Colin Watson.  Recognize but ignore AD string
	for man package compatibility (essentially "reserving" it),
	though mdoc intentionally does not permit configuration of
	adjustment.

	* tmac/mdoc/doc-ditroff-u:
	* tmac/mdoc/doc-nroff-u: Do it.

	* tmac/mdoc/doc-common-u: Initialize \n[doc-hyphen-flags] from
	\n[HY].

	* tmac/groff_mdoc.7.man \
	(FORMATTING WITH GROFF, TROFF, AND NROFF): Document it.

2020-08-25  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac (TH): Reset inter-word and inter-sentence
	spacing to default with each new page rendered.

	{To observe the problem prior to this change,
	  $ groff -mandoc groff_mmse.7 $any_other_man_page
	groff_mmse(7) loads sv.tmac, which changes the sentence
	spacing.}

2020-08-25  G. Branden Robinson <g.branden.robinson@gmail.com>

	* PROBLEMS: Undocument the problem with test-groff and mdoc.
	It's resolved.

	Fixes <https://savannah.gnu.org/bugs/index.php?51073>.

2020-08-25  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/tmac.am (NORMALFILES, MDOCFILES): Drop unused variables.
	($(TMACMDOCFILES) $(TMACSTRIPFILES)): Scrub trailing whitespace.
	Wrap long line.

2020-08-25  G. Branden Robinson <g.branden.robinson@gmail.com>

	mdoc: Relocate within build tree.

	The (modern) mdoc macro package has not been usable within the
	build tree, unlike the others.  This makes it more troublesome
	to test changes, and frustrates deploying our test
	infrastructure against it.  Re-arrange the build tree to
	resemble an installation tree closely enough for the macro
	package to load.

	* tmac/doc-common-u:
	* tmac/doc-ditroff-u:
	* tmac/doc-nroff-u:
	* tmac/doc-syms-u: Rename to...
	* tmac/mdoc/doc-common-u:
	* tmac/mdoc/doc-ditroff-u:
	* tmac/mdoc/doc-nroff-u:
	* tmac/mdoc/doc-syms-u: ...these.

	* tmac/tmac.am (TMACMDOCFILES): Look for files in tmac/mdoc.
	($(TMACMDOCFILES)): Create tmac/mdoc in build tree.

	Fixes <https://savannah.gnu.org/bugs/index.php?51003>.

2020-08-25  G. Branden Robinson <g.branden.robinson@gmail.com>

	Add regression test for usable in-tree mdoc.

	* tmac/tests/doc-smoke-test.sh: Add test.
	* tmac/tmac.am (tmac_TESTS): Run test.

2020-08-22  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/tests/an-old_TH_repairs_ad_damage.sh:
	* tmac/tests/an-old_TH_repairs_hy_damage.sh: Add tests.
	* tmac/tmac.am (tmac_TESTS): Run tests.

2020-08-22  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac (TH): Set hyphenation mode to user preference
	with each new page rendered, in case a hostile page meddled with
	'.hy' or '.nh'.
	(after .mso man.local): Relocate setting of default hyphenation
	mode here (instead of just before .mso man.local).  Eliminate
	conditional on \n[an-html]; this doesn't matter because
	grohtml(1) doesn't support hyphenation anyway.  If it does learn
	to hyphenate, we should treat it the same as other output
	devices in any case.  Add comment explaining why we fall back to
	different defaults depending on \n[cR].

2020-08-22  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac (TH): Set adjustment to user preference with
	each new page rendered, in case a hostile page meddled with
	'.ad' or '.na'.
	(after .mso man.local): Set the default adjustment mode only if
	a -d option or man.local did not.  Also do the same for the HF
	string; relocate its definition here and make it similarly
	conditional.  Also update comment on setting of CS and CT
	registers and style their conditionals consistently with the
	rest of the package.

	* tmac/groff_man.7.man.in (Strings) <\*(AD>: Document it.
	(Strings) <\*(HF>: Parallelize language with new \*(AD.
	(Options) Expand introductory sentence to discuss -d and -r
	options.
	(Options) <-dAD>: Document default and likely values.  Nobody
	right-justifies or centers man page text; send the curious to
	groff(7) for '.ad' request documentation.
	(Options) <-dHF>: Document default and steer people to groff(7)
	for '.ft' request documentation.

2020-08-21  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac (set-an-margin): Rename...
	(an-set-margin): ...to this.  It was the only package-internal
	register, macro, string, or diversion that wasn't named using
	the "an-*" schema.
	(TH, SH, SS): Update call sites.

2020-08-16  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-ext.tmac (.ME, .UE): Restore hyphenation after
	"punctuation" arguments have been output.  The next token will
	always be a space node, the end of the document, or similar.

	* tmac/tmac.am (tmac_XFAIL_TESTS): Mark the punctuation
	hyphenation tests as expected to fail, because they now do.

2020-08-16  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/ps.tmac: Define ordinary hyphen-minus as fallback
	character for U+2011 (non-breaking hyphen).  Prompted by
	discussion with Dave Kemper in Savannah #58390.

2020-08-15  G. Branden Robinson <g.branden.robinson@gmail.com>

	Fix hyphenation bug.  The UR/UE and MT/ME macros were much too
	aggressive about turning hyphenation off.  Disable it only when
	writing the actual URL or email address.

	* tmac/an-ext.tmac (.MT, .UR): Stop disabling hyphenation here.
	(.ME, .UE): Disable hyphenation right before output of
	URL/address; restore it right before output of supplementary
	arguments ("punctuation").

	* tmac/tests/an-ext_ME_punct_hyphenates.sh:
	* tmac/tests/an-ext_MT_body_hyphenates.sh:
	* tmac/tests/an-ext_UE_punct_hyphenates.sh:
	* tmac/tests/an-ext_UR_body_hyphenates.sh: Test behavior.

	* tmac/tmac.am (tmac_TESTS): Run tests.

2020-08-15  G. Branden Robinson <g.branden.robinson@gmail.com>

	Adapt to the fact that \: reënables hyphenation.  Rename
	"hyphenless [discretionary] break" to "non-printing break point"
	in documentation.

	* doc/groff.texi (Manipulating Hyphenation): Rename "hyphenless
	break" to "non-printing break point".  Clarify that it is the
	soft hyphen glyph, not necessarily a hyphen, that is ordinarily
	written to the output on hyphenation breaks.  Note that the
	remainder of a word after \: is subject to hyphenation as
	normal.  Note (new) '\:\%' idiom for getting what people will
	want at least some of the time.  Update example to use it.
	* makevarescape.sed: Insert \% after we insert \: to rewrite
	slashes in filenames, to protect later portions of the filename
	from hyphenation.
	* man/groff.7.man (Escape Sequences/Escape short reference):
	Rename "hyphenless break" to "non-printing break point".
	* man/groff_diff.7.man (Language/Escape sequences): Resync with
	our Texinfo manual.
	* tmac/groff_man.7.man.in (Description/Hyperlink and email
	macros): Rename "hyphenless break" to "non-printing break
	point".

2020-08-15  G. Branden Robinson <g.branden.robinson@gmail.com>

	documentation: Re-christen 'ESCAPE_AMPERSAND'.

	s/zero[- ]width space character/non-printing input break/

	* doc/groff.texi (Requests): Rename.  Update conceptual index
	entries; retain old name (with an appended "[sic]") to aid
	readers accustomed to it.
	(Ligatures and kerning): Update conceptual index entries.
	Supply context ("effect on kerning").
	(Drawing requests): Update conceptual index entries.  Supply
	context ("effect on '\l'").
	* man/groff.7.man (Description): Rename in macro-advice-writing
	shorthand.
	(Escape Sequences/Escape short reference): Rename.
	* tmac/groff_man.7.man.in (Description/Command synopsis macros
	[style]: Rename.
	(Description/Portability) [style]: Rename.
	* tmac/groff_mdoc.7.man (TROFF IDIOSYNCRASIES/Macro Usage):
	Rename.
	(TROFF IDIOSYNCRASIES/Other Possible Pitfalls): Rename.

2020-08-14  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/groff_man.7.man.in (Description/{Document structure
	macros/.TH, Horizontal and vertical spacing}): Fix erroneous use
	of "flush left".  The current uses were introduced by me, but
	the page has borne incorrect uses of it as far back as 1999 (in
	the description of .TP).  Simply say "with no indentation"
	instead.

2020-08-13  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/groff_man.7.man.in (Description/Number registers): Inform
	reader that registers can be set in man.local file and
	cross-reference it.
	(Files/*/man.local): [style] Supply example of man.local
	customizations, prompted by recent discussions on groff,
	linux-man, and man-db mailing lists.

2020-08-12  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/tmac.am: Use a stamp file for m4 keyword check.
	(M4CHECK): Add stamp file variable.
	($(M4CHECK)): Create stamp file if check succeeds.

2020-08-12  G. Branden Robinson <g.branden.robinson@gmail.com>

	Split groff_man(7) into two pages; one a (relatively) terse
	reference and the other a tutorial and style guide.  Both are
	generated from the same source, which is processed by m4 into
	two man page sources.

	* tmac/groff_man.7.man: Rename...
	* tmac/groff_man.7.man.in: ...to this.

	* tmac/groff_man.7.man.in: Add m4 directives and define macros.
	Protect m4 keywords in English from unintended expansion (this
	affected the word "include").  Add new .TH and apropos lines for
	style guide.  Convert marker comments into m4 macros for content
	control.  Uncomment material intended only for basic reference
	page.

	* tmac/tmac.am (man7_MANS): Add groff_man_style.7.
	(EXTRADIST) Add groff_man.7.man.in.
	(MOSTLYCLEANFILES): Add m4-generated man page sources
	tmac/groff_man{,_style}.7.man.
	Add targets to generate those same two pages from the renamed
	file.  Add target to grep the page for unprotected English m4
	keywords and halt the build if they are found.  Make generation
	of those pages depend on this new target.

2020-08-11  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/groff_man.7.man: Add material on hooks and encoding.
	(Description, ./Deprecated features): Stop identifying .BT and
	.DT as "deprecated"; they shouldn't ever be called in man pages,
	but that has never been their intention.
	(Description): Identify character encoding and line-ending
	requirements (tutorial/style-guide material).
	(Description/Hooks): Add new subsection to house descriptions of
	.BT and .DT.  Add mnemonic expansions for both.

2020-07-31  G. Branden Robinson <g.branden.robinson@gmail.com>

	* man/groff.7.man (Control Characters): Incorrect claims were
	made.  Double quotes can indeed be used to enclose arguments to
	string interpolations.  The statement about a leading " in a
	string definition (or appendment with .as) was stated too
	generally.  The leading quote is not necessary to include
	leading tab characters, which can be input as-is, even in
	compatibility mode.

2020-07-28  G. Branden Robinson <g.branden.robinson@gmail.com>

	* man/groff.7.man (Requests/Request short reference/.ft): Fix
	some outright damage in the description of the request; the
	escape sequences that are synonymous with a nullary .ft had been
	wrongly removed.

2020-07-25  G. Branden Robinson <g.branden.robinson@gmail.com>

	* doc/meintro.me:
	* doc/meref.me:
	* tmac/e.tmac-u: Remove postal address for Eric Allman.  It's
	probably decades out of date.  Adjust footnote symbols.  Thanks
	to Dave Kemper for the bug report and the patch.  Fixes
	<https://savannah.gnu.org/bugs/?58726>.

2020-07-23  G. Branden Robinson <g.branden.robinson@gmail.com>

	Migrate macro packages from font CW to CR.  The font name "CW"
	{"constant-width"} is a legacy item we can dispose of (except
	for the DVI device, which also has CWI for "constant-width
	italic"), and much of the groff codebase already did starting
	with commit 0de1d6d79cdb959ffa7dac3af77c2a36ef31873f {October
	2017}.  Courier is available in the usual four styles {roman,
	bold, italic, bold+italic}.

	* tmac/an-ext.tmac (.EX): Set font to R, not CW.  The existing
	.ft request was somewhat redundant with the '.do fam C'
	immediately before, which set the font family to Courier.
	* tmac/s.tmac (.UC): Use font CR, not CW.

2020-07-23  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/tty.tmac: Stop suppressing nonexistent font warning.
	Prompted by a 2017 suggestion and patch from Bjarni Ingi
	Gislason.  Documents and macro packages that want to change the
	font family should do so in awareness that this is meaningless
	on terminal (nroff) devices (and -Thtml as well).

	Fixes <https://savannah.gnu.org/bugs/?51364>.

2020-07-18  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/groff_man.7.man (.PP, .LP, .P): Fix error; these macros
	do not reset the left margin.

2020-07-16  G. Branden Robinson <g.branden.robinson@gmail.com>

	* doc/groff.texi (Strings): Document behavior of .ds request
	when only one argument is supplied.  (The string is defined as
	empty.)  Thanks to Dave Kemper for the report and the patch.

	Fixes <https://savannah.gnu.org/bugs/index.php?58746>.

2020-07-16  G. Branden Robinson <g.branden.robinson@gmail.com>

	* doc/groff.texi (Using Symbols): Fix error in .rfschar
	description, which should refer to "font f" rather than "glyph
	f".  Thanks to Dave Kemper for the report and the patch.

	Fixes <https://savannah.gnu.org/bugs/index.php?58767>.

2020-07-12  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/groff_man.7.man (.EE, .YS): Fix error; refer to "initial
	hyphenation setting" instead of "previous hyphenation mode".
	Incidentally, this fact points out why putting ".hy 0" or ".nh"
	in your man page is futile.

2020-06-28  G. Branden Robinson <g.branden.robinson@gmail.com>

	* man/groff.7.man (Requests/Request short reference): Fix error
	in description of .hc; it changes the hyphenation character
	rather than supplying an additional one.

2020-06-12  G. Branden Robinson <g.branden.robinson@gmail.com>

	* doc/groff.texi (Groff Options): Remove editorial comment about
	'-a' option being "useless".  It isn't.  Update example for
	contemporary systems (like Debian) and to reflect the fact that
	the GNU troff(1) man page needs to be preprocessed with tbl(1).
	(Invoking grotty): Recast discussion of -c option, importing
	much language from grotty(1) page rewrite from a year ago.  Add
	program index entries for col, more, and ul.  Fix transposition
	error in ISO document number.

	* src/devices/grotty/grotty.1.man (Description/Legacy output
	format): Make slight wording changes prompted by content of
	parallel section in our Texinfo manual.

	* src/roff/groff/groff.1.man (Options/-a): Parallelize with
	first sentence of corresponding material in our Texinfo
	manual.

	* src/roff/troff/troff.1.man (Options/-a): Parallelize with
	our Texinfo manual.

	Fixes the rest of
	<https://savannah.gnu.org/bugs/index.php?55278>.

2020-06-12  G. Branden Robinson <g.branden.robinson@gmail.com>

	* man/groff_diff.7.man (Language/Long names): Fix error; groff
	adds three new requests with short names, not two.  List them in
	an adjacent comment.

2020-06-04  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-ext.tmac (.ME, .UE): Fix portability issue.  While
	widely supported, the \$* escape is not documented in CSTR #54.
	If groff is not the typesetter, append macro arguments using
	\$1, \$2, ..., \$9 instead.

2020-05-19  G. Branden Robinson <g.branden.robinson@gmail.com>

	* man/groff.7.man (Numerical Expressions): Fix error: negative
	expressions evaluate false, not true as was implied.
	Parallelize descriptions with our Texinfo manual and
	groff_diff(7) (in abbreviated form).

2020-05-18  G. Branden Robinson <g.branden.robinson@gmail.com>

	* doc/groff.texi (Manipulating Filling and Adjusting): Fix error
	in code sample: missing 'n' in number register interpolation.

2020-05-14  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/preproc/preconv/tests/smoke-test.sh: Make BOM detection
	override less hinky (i.e., use more normative input).  Add tests
	for all five detected BOMs.

2020-05-09  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/troff/env.cpp (space_size): Prevent assertion
	failure.  If an argument to the .ss request is negative, throw a
	range warning and ignore it.
	* src/roff/groff/tests/regression_savannah_58337.sh: Add test.
	* src/roff/groff/groff.am (groff_TESTS): Run test.

	Fixes https://savannah.gnu.org/bugs/index.php?58337.

2020-05-08  G. Branden Robinson <g.branden.robinson@gmail.com>

	Update documentation of .ss request.

	* doc/groff.texi (Manipulating Filling and Adjusting): Rewrite
	documentation of .ss request and \n[.ss] and \n[.sss] escapes.
	Note that negative values are not permitted in either argument
	to .ss.  Use new terminology, "minimal inter-word spacing" and
	"additional inter-sentence spacing" for clarity.  Clarify that
	additional inter-sentence spacing is only used when the output
	line is not full when the end of a sentence occurs.  Add index
	nodes to help readers find discussion of details of spacing
	between words and sentences.  Move discussion of differences
	from AT&T troff to section "Implementation Differences".  Update
	example to more closely resemble a real-world case, use second
	argument to .ss request, and eliminate hackish use of .nop
	request.

	* man/groff_diff.7.man (New number registers): Recast in
	parallel with the foregoing.

	* man/groff.7.man (Read-only registers): Use new terminology and
	describe \n[.ss] and \n[.sss] in meaningful terms, not by
	reference to arguments to the .ss request (which wasn't even
	accurate, because these registers have default values).

	Fixes https://savannah.gnu.org/bugs/index.php?54101.

2020-05-06  G. Branden Robinson <g.branden.robinson@gmail.com>

	Undocument plans to support end-of-file GNU Emacs coding tags.

	* src/preproc/preconv/preconv.cpp (check_coding_tag):  Update
	comments.
	(detect_file_encoding): Alter debugging output so it's easier to
	grep and verify Emacs coding tag detection.

	* src/preproc/preconv/preconv.1.man (Bugs): Delete; its sole
	concern was the absence of this feature.
	(Usage): Document detection algorithm in more detail.  Note
	which detection methods don't work on unseekable input (pipes).
	Offer recommendations for those struggling with encoding
	detection.
	(Usage/Coding Tags): Stop manipulating line adjustment.  Use
	hyphen-minus (\- escape) characters in coding tag names, since
	they are literals that one might copy and paste.  Stop
	referencing XEmacs, whose development appears moribund.
	(See Also): Add cross-references to iconv(3) and locale(7) man
	pages.

	* src/preproc/preconv/tests/smoke-test.sh: Test each of the
	steps in the detection algorithm.
	* src/preproc/preconv/preconv.am: Run test.
	(preconv_TESTS): Add new variable.
	(TESTS): Append $(preconv_TESTS).

2020-05-05  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/utils/afmtodit/afmtodit.pl: Format usage message with
	full capitals for parameters, and break out -v option in a
	separate "synopsis".

2020-05-05  G. Branden Robinson <g.branden.robinson@gmail.com>

	* font/devpdf/util/BuildFoundries.pl: Stop throwing away
	diagnostics from afmtodit.  This results in only one extra line
	of build output:

		both Upsilon1 and Upsilon map to *U at .../afmtodit line
		6413.

2020-05-05  G. Branden Robinson <g.branden.robinson@gmail.com>

	Correct documentation of .pm request.

	* man/groff.7.man (Requests/Request short reference): The .pm
	request's classical behavior was described instead of groff's,
	and omitted mention of strings and diversions; correct it.

	* man/groff_diff.7.man (Implementation Differences): Document
	this difference between AT&T troff and groff.

	* doc/groff.texi (Debugging): Relocate description of .pm
	behavioral difference...
	(Implementation Differences): ...hither.

2020-04-30  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/utils/addftinfo/addftinfo.cpp (usage):
	* src/utils/tfmtodit/tfmtodit.cpp (usage): Add "usage:" prefix
	to messages documenting auxiliary modes of invoking the program.
	The output doesn't look right without one, and it feels
	dishonest to not document the relevant options (-v, --version)
	disjunctively.  I'm trying to strike a balance between the
	ultra-terse BSD approach and the ultra-garrulous GNU one (see,
	e.g., ls(1)).  Likely both camps will be unhappy.  :-/

2020-04-30  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/utils/tfmtodit/tfmtodit.cpp (read_map): Report invalid
	character code from map file in diagnostic.
	(main): Report invalid skew character position in diagnostic.
	Explicitly report insufficient arguments in addition to usage
	message.  Lift invariant computed expressions out of loops (more
	to shorten long lines than because I think the compiler won't
	figure it out).  Give content to "impossible assertion".
	(tfm::load): Capitalize TFM initialism in diagnostics.
	(usage): Use full capitals for parameters as is conventional.
	Document disjunction of -v/--version flag from other
	invocations.

2020-04-29  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/utils/addftinfo/addftinfo.cpp (usage): Add overloaded
	version that accepts a constant string argument, which emits the
	argument as a diagnostic and then calls usage().
	(main): Add diagnostics to usage message where the problem is
	clear.  Add comment explaining why it sometimes isn't.
	(usage): Refactor main usage message (which prints the summary)
	to report the actual names of the accepted option arguments
	instead of just "-param", which is not literally accepted.

	Sort param_table alphabetically for use by the usage message.

2020-04-22  G. Branden Robinson <g.branden.robinson@gmail.com>

	Delete groffer.

	Per discussion on the groff development mailing list, there is
	no desire to retain the maintenance of this portion of the groff
	distribution.

	See
	<https://lists.gnu.org/archive/html/groff/2020-04/msg00051.html>
	et seq.

	* contrib/groffer: Recursively delete.

	* Makefile.am:
	* arch/mingw/mingw.am: Stop building groffer.

	* m4/groff.m4 (GROFF_GROFFERDIR_DEFAULT):
	(GROFF_GROFFERDIR_OPTION): Delete; remove "--with-grofferdir"
	configuration option.
	* configure.ac: Stop calling these macros.

	* MANIFEST:
	* NEWS:
	* PROJECTS:
	* TODO:
	* contrib/chem/chem.1.man:
	* contrib/chem/examples/122/README.txt:
	* contrib/chem/examples/README.txt:
	* contrib/glilypond/glilypond.1.man:
	* contrib/gperl/gperl.1.man:
	* contrib/gpinyin/gpinyin.1.man:
	* contrib/groff_filenames/groff_filenames.5.man:
	* man/groff_font.5.man:
	* man/roff.7.man:
	* src/roff/groff/groff.1.man:
	* src/roff/grog/grog.1.man:
	* src/utils/addftinfo/addftinfo.1.man:
	* tmac/groff_trace.7.man: Delete references to groffer.

2020-04-19  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/include/curtime.h: #include <time.h> if we're returning
	a time_t from current_time().

	* src/libs/libgroff/curtime.cpp (current_time): Quote
	$SOURCE_DATE_EPOCH variable content in diagnostics produced due
	to bad input since it's under user control and could have all
	kinds of bogosity in it (like whitespace).

2020-04-19  G. Branden Robinson <g.branden.robinson@gmail.com>

	* **/*.{man,tmac}: Save compatibility mode robustly.

	Use new \n[.cp] register to save compatibilty mode.

	Use register names based on the filename (at the source
	maintenance level) to avoid clobbering other files' saved
	compatibility modes.

	* tmac/html.tmac: Eliminate test of saved-compatibility
	register by moving its body inside the block where compatibility
	mode is off.  This is the only part of this changeset that was
	not automated.

	Fixes <https://savannah.gnu.org/bugs/index.php?58162>.

2020-04-16  G. Branden Robinson <g.branden.robinson@gmail.com>

	Implement new read-only .cp register.

	Within a .do request, \n[.cp] holds the saved value of
	compatibility mode.

	The register \n[.cp] is specialized and may require a statement
	of rationale.  When writing macro packages or documents that use
	groff features and which may be mixed with other packages or
	documents that do not—common scenarios include serial processing
	of man pages or use of the .so or .mso requests—you may desire
	correct operation regardless of compatibility mode in the
	surrounding context.  It may occur to you to save the existing
	value of \n(.C into a register, say, _C, at the beginning of
	your file, turn compatibility mode off with “.cp 0”, then
	restore it from that register at the end with “.cp \n(_C”.  At
	the same time, a modular design of a document or macro package
	may lead you to multiple layers of inclusion.  You cannot use
	the same register name everywhere or you risk “clobbering” the
	value from a preceding or enclosing context.  The two‐character
	register namespace of AT&T troff is confining and mnemonically
	challenging; you may wish to use groff's more capacious
	namespace.  However, attempting “.nr _my_saved_C \n(.C” will not
	work in compatibility mode; the register name is too long.
	“This is exactly what .do is for,” you think, “.do nr
	_my_saved_C \n(.C”.  The foregoing will always save zero to your
	register, because .do turns compatibility mode off while it
	interprets its argument list.  What you need is:
		.do nr _my_saved_C \n[.cp]
		.cp 0
	at the beginning of your file, followed by
		.cp _my_saved_C
	at the end.  As in the C language, we all have to share one big
	namespace, so choose a register name that is unlikely to collide
	with other uses.

	* src/roff/troff/input.cpp (do_request, init_input_requests):
	Implement it.

	* doc/groff.texi:
	* man/groff.7.man:
	* man/groff_diff.7.man: Document it.

	* src/roff/groff/tests/dot-cp_register_works.sh: Test it.
	* src/roff/groff/groff.am (groff_TESTS): Run test.

	Enables a fix for
	<https://savannah.gnu.org/bugs/index.php?58162>.

	Thanks to John Gardner and Ingo Schwarze for the discussion.

2020-04-15  G. Branden Robinson <g.branden.robinson@gmail.com>

	* doc/groff.texi (Implementation Differences):
	* man/groff_diff.7.man (New requests): Rewrite description of
	.do request, and replace example with a more illustrative one.

	* man/groff.7.man (Request short reference): Rewrite description
	of .do request briefly.

2020-04-14  G. Branden Robinson <g.branden.robinson@gmail.com>

	* doc/groff.texi (Implementation Differences): Remove incorrect
	claim.  The .C register cannot be manipulated manually.

2020-04-14  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/groff/tests/smoke-test_html_device.sh: Simplify
	charmap test.

2020-04-13  G. Branden Robinson <g.branden.robinson@gmail.com>

	It's too easy for the nroff version to get desynced from the
	groff version when we're running test cases, leading to spurious
	results.  Make it easier to see a discrepancy.

	* src/roff/nroff/nroff.sh: Call groff with -v or --version when
	we are called that way.  Let test cases tell us to use
	test-groff as groff with an environment variable.

	* src/roff/nroff/tests/verbose_option_works.sh.in: Rename to...
	* src/roff/nroff/tests/verbose_option_works.sh: ...this.  Check
	the nroff version being tested against the groff version being
	wrapped.  This exposes a bug; the system groff rather than the
	build tree groff was being invoked.  Refactor.  Stop messing
	with @GROFF_BIN_PATH_SETUP@ (enabling the rename); instead, let
	test-groff handle that for us.  Locate it and export the
	variable GROFF_TEST_GROFF so nroff can find it.  Because we
	manipulate $PATH to run the tests, the $PATH of an installed
	groff system will _always_ differ from that used by a build
	tree; ignore it in the test cases.  Dispose of bashisms and set
	shebang to /bin/sh.

	* src/roff/nroff/nroff.am: Stop generating the above test
	script.  It can now be run as it ships.

2020-04-13  G. Branden Robinson <g.branden.robinson@gmail.com>

	Make our assert() C99-conformant.

	groff has its own implementation of the standard C library's
	assert() macro.  It hasn't been updated since C89.  C99 requires
	that the diagnostic emitted by assert() contain the failing
	expression and name of the function in scope.

	* src/include/assert.h: Add additional pointer to const char
	arguments to do_assert() and assertion_failed() for function
	name and stringified expression.
	(assertion_failed): Update prototype.
	(do_assert): Accept 'func' and 'msg' parameters and pass them to
	assertion_failed().
	(assert): Update macro to collect '__func__' and stringify the
	expr parameter (as 'msg') and pass them do do_assert().
	* src/libs/libgroff/assert.cpp (assertion_failed): Rewrite
	diagnostic to more closely match GNU Coding Style format and
	also report function and failing expression.

	Example output:
		troff: ../src/roff/troff/input.cpp:2644: do_request():
		assertion failed: '0 == "But first, here's a rotten old
		BBC programme."'

	We have no excuse to assert(0) ever again.  Express the
	invariant that has been violated.

2020-04-13  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/groff/tests/smoke-test_html_device.sh: Set
	LC_CTYPE=C.UTF-8 so that byte sequences in the pipelines are
	handled correctly.  Skip the test if the environment doesn't
	support UTF-8.  Thanks to Bjarni Ingi Gislason for the trouble
	report.

	Fixes <https://savannah.gnu.org/bugs/?58164>.

2020-04-13  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/html.tmac: Use .do so we correctly load unicode.tmac in
	compatibility mode.

	Fixes the following problem (wrapped, filenames abbreviated):

	$ echo | ./build/test-groff -C -Thtml >/dev/null
	troff: backtrace: file '.../groff/build/../tmac/html.tmac':546
	troff: backtrace: file '.../groff/build/../tmac/troffrc':30
	troff: .../groff/build/../tmac/html.tmac:546: warning: macro
		'ms' not defined

2020-04-13  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/groff/tests/smoke-test_html_device.sh: Add test.
	* src/roff/groff/groff.am (groff_TESTS): Run test.

2020-04-12  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/groff/tests/regression_savannah_58153.sh:
	* src/roff/groff/tests/\
	use_point_size_escape_with_single_digit_arg.sh: Use "set -e" to
	ensure that multi-test script files don't hide problems.  There
	are arguments against "set -e" (and you can ask Greg Wooledge
	for all of them), but I'm so used to it from years of writing
	Debian package maintainer scripts that I feel comfortable with
	it.  It is less verbose than several alternatives (especially
	having one test script per case).

	* src/roff/groff/tests/string_case_xform_unicode_escape.sh:
	Update with respect to new failure output (in a comment only,
	since this is an XFAIL test).

	* tmac/tests/an-old_AT_and_UC_footer_saved_and_restored.sh:
	Drop unnecessary "|| exit 1" from end of script.  Incidentally,
	this script illustrates an alternative to "set -e".

2020-04-11  G. Branden Robinson <g.branden.robinson@gmail.com>

	Rework documentation of .spreadwarn.

	* doc/groff.texi (Debugging):
	* man/groff.7.man (Request short reference):
	* man/groff_diff.7.man (New requests): Recast description of
	.spreadwarn request, some based on suggestions from Dave Kemper.
	Make more prominent the fact that spreading only applies to
	adjustment mode 'b'.  Document warning type used.

	Fixes half of Savannah #58035.

2020-04-11  G. Branden Robinson <g.branden.robinson@gmail.com>

	Require Texinfo 5.0 (February 2013) at a minimum.

	* m4/groff.m4 (GROFF_MAKEINFO): Check for version 5.0 (increased
	from 4.8).  Update diagnostics and comments.

	* INSTALL.extra:
	* README:
	* doc/groff.texi:
	* doc/webpage.ms: Document updated requirement.

	* doc/fixinfo.sh: Delete; it is no longer necessary to work
	around Texinfo 4.x bugs.

	* doc/doc.am (EXTRA_DIST): Stop shipping fixinfo.sh.
	(.texi.html): Remove makeinfo < 5.0 version check and consequent
	execution of fixinfo.sh.  Update comment.

2020-04-11  G. Branden Robinson <g.branden.robinson@gmail.com>

	Enable backtracing across process/file boundaries when errors or
	non-ignored warnings are encountered.

	Experimentation reveals that .so, .mso, and .pso requests acted
	as barriers to backtracing except when explicitly requested with
	the .backtrace request.  Judging by the git history, this
	behavior dates back to June 1991 or earlier.  The intention,
	according to a source comment, was only to suppress the
	backtrace output for the line corresponding to the outermost
	level of the input stack (commonly, a file argument to groff).
	Unfortunately, that wasn't its only effect.

	This change does result in one additional line of output for
	each error or (non-ignored) warning when -b is given.  However,
	I regard this as unobjectionable because {1} a backtrace was in
	fact explicitly requested; and {2} it seems a poor tradeoff to
	suppress most of the backtrace in some complicated and
	frustrating cases for the sake of one fewer line of backtrace
	output in a trivial one.

	Now, backtracing behaves the same no matter what triggers it.

	Fixes Savannah #58153.

	* src/roff/troff/input.cpp (file_iterator::backtrace): Call
	get_location() for its side effect of rewriting a filename of
	"-" to "<standard input>", for consistency with other diagnostic
	messages.  (In this class, this member function always returns
	1, so ignore the return value.  This fact is an essential part
	of what led to the bug; the conditional
		p && !p->get_location(0, &f, &n)
	which appeared in the for loop of input_stack::backtrace() prior
	to this change would always evaluate to false when a node of the
	file_iterator class was encountered.)
	(input_stack::backtrace): Replace member function body with that
	of input_stack::backtrace_all().
	(input_stack::backtrace_all): Delete.
	(backtrace_request): Update the only call site of the above.

	* src/roff/groff/tests/regression_savannah_58153.sh: Add test.
	* src/roff/groff/groff.am (groff_TESTS): Run test.

	* src/roff/groff/tests/string_case_xform_errors.sh: Update
	regression test to not be confounded by additional line of
	backtrace output.  Remove bashism along the way.

	* doc/groff.texi:
	* man/groff.7.man:
	* man/groff_diff.7.man: Update documentation.

2020-04-10  G. Branden Robinson <g.branden.robinson@gmail.com>

	Reorganize backtrace output.

	* src/roff/troff/input.cpp (string_iterator::backtrace):
	Prefix the output with the program name if it is known.  In a
	deviation from the GNU Coding Standards, put the string
	"backtrace:" immediately next instead of the file and line
	number; this is because, particularly in cases where the
	backtrace is most interesting or needed, it will produce
	multiple lines of output and the common prefix aids visual
	understanding.
	(file_iterator::backtrace): As above; also, change prefix for
	popened nodes in the iterator from "process" to "pipe".  This
	seemed preferable to omitting the information entirely or using
	an inscrutable sigil like 'f' or 'p'.  The advantage is that the
	output is better aligned--better ergonomics for those who have
	to cope with a lot of it.  Furthermore, output the filename only
	once.

	Example of old and new output:

	/tmp/inner:2: backtrace: file '/tmp/inner'
	echo .so /tmp/inner:1: backtrace: process 'echo .so /tmp/inner'
	/tmp/outer:1: backtrace: file '/tmp/outer'

	troff: backtrace: file '/tmp/inner':2
	troff: backtrace: pipe 'echo .so /tmp/inner':1
	troff: backtrace: file '/tmp/outer':1

2020-04-10  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/troff/input.cpp (read_size): Add units to diagnostic.
	This function works only with device-specific basic units
	internally; users likely think in terms of point size, so add
	the basic unit suffix "u" to offer a hint about what's going on.

	Example:
	$ groff -ww >/dev/null
	\s[10]A\s[-12]B
	troff: <standard input>:1: warning: point-size escape results in
	non-positive size -2000u; set to 1u

	On a PostScript device with 1000 basic units to the point, the
	difference is important and would be confusing without the unit
	indication.

2020-04-08  G. Branden Robinson <g.branden.robinson@gmail.com>

	Correct and clarify point size documentation.

	Our Texinfo manual has long documented the request '.ps 0' as
	restoring the previous point size (just as '\s0' or '.ps' with
	no argument does), but this is incorrect; since groff 1.02 or
	earlier (June 1991), the request has not actually worked this
	way.  Instead, '.ps 0' sets the point size to 1 basic unit
	{though output drivers may clamp this to a higher value}.  This
	behavior is consistent with AT&T troff, Hierloom Doctools troff
	and, per Ingo Schwarze, Plan 9 troff.  (It is, however, not
	consistent with neatroff.)

	* doc/groff.texi (Changing Type Sizes): Stop claiming that '.ps
	0' works like '\s0'.  Note that the resulting (computed) point
	size, not the argument, is clamped.  Note that it is
	non-positive, not negative, point sizes that are clamped to 1u.
	Add (forward) cross-reference to section where \n[.ps] is
	defined since it is mentioned here.  Move explanation of special
	handling of zero argument to \s escape description.

	* man/groff.7.man (Request short reference): Explain .ps N
	independently of \s.  Note clamping behavior.

2020-04-06  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/troff/input.cpp (read_size): Correctly brace 'else'
	block.

	* src/roff/groff/tests/\
	use_point_size_escape_with_single_digit_arg.sh:
	Check that we get a diagnostic when relying on ambiguous form.

2020-04-04  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/troff/input.cpp (read_size): Move special-case
	interpretation of the '\sN' form of point-size escapes when 'N'
	is 1, 2, or 3 to compatibility mode (groff -C) only, and throw
	error diagnostic with suggestion for remedy if encountered.

	Traditionally, '\s36A' is interpreted as "set point size to 36,
	then emit 'A'".  However, only values in the range 10-39 are
	handled specially; '\s40A' is interpreted as a four-point "0A".
	This is unlike anything else in *roff grammar; see \*, \$, \f,
	\F, \g, \k, \m, \M, \n, \V, \Y, and \z.

	To anticipate objections: Why not throw only a warning?  Because
	there isn't a warning category for supported but ambiguous
	syntax (this behavior of AT&T troff dates back to the mid-1970s
	but was not documented in the Troff User's Manual until 1992).
	Why not throw the error outside of compatibility mode too?
	Because outside of compatibility mode we (now) have an
	unambiguous parse.

	Background: The Graphic Systems C/A/T phototypesetter (the
	original device target for AT&T troff) only supported a few
	discrete point sizes in the range 6..36, so Ossanna
	special-cased the parser to do what the user must have meant.
	Kernighan warned of this in the 1992 revision of CSTR #54
	{§2.3}, and more recently, McIlroy referred to it as a "living
	fossil".

	See:
	  https://lists.gnu.org/archive/html/groff/2020-03/msg00054.html
	  https://lists.gnu.org/archive/html/groff/2020-04/msg00002.html
	  https://lists.gnu.org/archive/html/groff/2020-04/msg00015.html
	and follow-ups for discussion.

	* NEWS: Advise users of behavior change and offer guidance.

	* doc/groff.texi:
	* man/groff.7.man: Document the restriction of special handling
	of point-size arguments to '\s' to compatibility mode.

	* src/roff/groff/tests/\
	use_point_size_escape_with_single_digit_arg.sh: Add regression
	test.
	* src/roff/groff/groff.am (groff_TESTS): Run test.

2020-04-04  G. Branden Robinson <g.branden.robinson@gmail.com>

	Improve point-size escape diagnostics.

	* src/roff/troff/input.cpp (read_size): Disclose context
	{point-size escape intepretation} in diagnostic messages.  When
	a "bad digit" is encountered, describe it if possible.  When a
	relative adjustment results in a negative point size, report the
	computed value.  Also rename a variable for slightly more
	clarity ("bad" does not refer to all bad parses, just some cases
	of bad digits), and update an insufficiently generalized comment
	{"\s(00" is also an acceptable expression for point-size zero}.

	Based on suggestions by Ingo Schwarze and Bjarni Ingi Gislason.

2020-04-01  G. Branden Robinson <g.branden.robinson@gmail.com>

	Align diagnostic message format.

	* src/libs/libgroff/error.cpp (do_error_with_file_and_line):
	* src/roff/troff/input.cpp (do_error):
	Display the diagnostic level when it is "error", instead of
	leaving it implicit.

	* src/roff/troff/input.cpp (error_with_file_and_line): Include
	the program name in the diagnostic message if it is known.

	* src/roff/groff/tests/string_case_xform_errors.sh: Update
	diagnostic message expectation.

2020-02-10  G. Branden Robinson <g.branden.robinson@gmail.com>

	* doc/groff.texi (Page Motions):
	* man/groff.7.man (Single-character escapes): Document
	non-breaking spaces as such.

	Report and patch by Dave Kemper <saint.snit@gmail.com>.
	Fixes <https://savannah.gnu.org/bugs/index.php?55954>.

2020-02-10  G. Branden Robinson <g.branden.robinson@gmail.com>

	nroff: Implement -P and -V options.

	* src/roff/nroff/nroff.sh: Recognize -P option (with argument)
	and pass it through to groff.  Recognize -V option; if given,
	display constructed groff command instead of executing it.
	Update usage message to document new options.  Tidy up shell
	style and indentation.  Add comments.
	* src/roff/nroff/nroff.1.man: Document new -P and -V options.
	* src/roff/nroff/tests/verbose_option_works.sh.in: Test -V
	option.
	* src/roff/nroff/nroff.am: Generate test and run it.

2020-02-06  G. Branden Robinson <g.branden.robinson@gmail.com>

	Stop ms macro package from manipulating warnings.

	* tmac/s.tmac: Remove code block that attempted to enable all
	warnings "only if none are given on the command line".  It did
	this by simply comparing the value of the warn register
	{\n[.warn]} against the default value; but of course, a user
	could specify -w options that exactly matched the default and
	the test would not be able to tell, causing puzzling and
	undesired behavior.  Furthermore, the hard-coded default was out
	of date and did not correspond to recent releases of groff.  If
	you want all warnings on, use the ".warn" request with no
	arguments in your ms document or pass "-w w" to groff (see
	troff(1) or our Texinfo manual for more on warnings).

	Thanks to Bjarni Ingi Gislason for bringing this issue to our
	attention.

	Resolves <https://savannah.gnu.org/bugs/?57583>.

2020-01-21  George HELFFRICH  <ghfbsd@gmail.com>

	[me]: Fix regression of '.nm' (#57638).

	* tmac/e.tmac-u (nm): Use saved point size and font position
	for line numbering only if those registers exist.

	Fixes <https://savannah.gnu.org/bugs/index.php?57638>.

2020-01-18  Ingo Schwarze  <schwarze@openbsd.org>

	Accept any number of arguments for .Dd in the groff_mdoc(7)
	macros.

	* tmac/doc-common-u: The .Dd macro behaved in a weird way:
	Without arguments, it printed the string "Epoch".
	With one, two, four, or more arguments, it ignored all arguments
	and used the current date instead.
	Only for exactly three arguments, it printed the arguments.
	None of this made sense.  Giving the date as "Epoch" is
	absurd, and printing the current date is just misleading:
	why should a document be considered up-to-date when the author
	did not even bother to state the date of the last change?
	Admittedly, the behaviour for 0 and 4 or more arguments
	already appeared 4.3BSD-Reno, and the behaviour for 2 or 3
	arguments in 4.4BSD.  But it was already wrong even in those
	days: several manual pages in 4.4BSD gave .Dd a single, quoted
	argument, e.g. .Dd "June 9, 1993": cap_mkdb(1), id(1), sed(1),
	err(3), getcap(3), sysctl(3), amd(8), disklabel(8), and others.
	Consequently, simply print all the arguments, no matter how
	many there are.

	This bug was found by Jonathan Gray <jsg@openbsd.org>
	while he looked at 4.xBSD manual pages.

2020-01-18  G. Branden Robinson <g.branden.robinson@gmail.com>

	* doc/groff.texi: Document initial empty set membership of
	characters with cflags values of 128, 256, or 512 in parallel
	with preceding paragraphs regarding smaller powers of two.

	Report and patch by Dave Kemper <saint.snit@gmail.com>.
	Fixes <https://savannah.gnu.org/bugs/?57549>.

2020-01-18  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/groff/tests/*.sh: Rename some tests so their
	filenames are more self-descriptive.
	* src/roff/groff/groff.am (groff_TESTS): Update.

2020-01-18  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/groff/tests/transparent_end-of-sentence_chars.sh: Add
	test for end-of-sentence recognition.
	* src/roff/groff/groff.am (groff_TESTS): Run test.

2020-01-18  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/troff/input.cpp: Mark \[dd] character (double dagger)
	as transparent for purposes of end-of-sentence recognition.

	* doc/groff.texi (Sentences):
	* man/groff_diff.7.man (New requests/.cflags): Document this.

	Report and patch by Dave Kemper <saint.snit@gmail.com>.
	Fixes <https://savannah.gnu.org/bugs/?57546>.

2020-01-17  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/preproc/refer/refer.1.man (See Also):
	* src/utils/indxbib/indxbib.1.man (See Also):
	* src/utils/lkbib/lkbib.1.man (See Also):
	* src/utils/lookbib/lookbib.1.man (See Also): Add bibliographic
	reference to the original Bell Labs "refer" paper by Mike Lesk.

2020-01-17  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/tests/an-old_AT_and_UC_footer_saved_and_restored.sh: Add
	regression test for Ingo's change below.

2020-01-16  Ingo Schwarze  <schwarze@openbsd.org>

	Repair .AT and .UC in the groff_man(7) macros.

	* tmac/an-old.tmac: Setting user-defined strings in a macro that
	will later be called indirectly from page location traps is
	excessively complicated.  Besides, the implementation doesn't
	work: when the trap is finally sprung, the defaults from the
	an-init macro clobber what the author specified with .AT or .UC.
	Instead, all that is needed is setting the strings for the
	header before triggering the page break, such that they appear
	right away, while setting the strings for the footer after the
	page break, such that they don't appear on the previous page.

	This bug was found by Jonathan Gray <jsg@openbsd.org> while he
	looked at 4.xBSD manual pages.

2020-01-16  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/groff_man.7.man (Document structure macros/.SH): Fix
	errors in footer description.

2020-01-12  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/tests/an-old_CS_register_on.sh: Tweak flags; all the
	other tests in this group pass "-Tascii -P-cbou" instead of
	"-Tutf8".  (This is so that output is easy to grep from a shell
	script.)  Bring this test into line.  Does not regress anything.

2019-12-30  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Certain pdfmark destination names caused gropdf to fail.

	* src/devices/gropdf/gropdf.pl: Look for pdfmark types, (i.e.
	DEST, OUT, ANN), only preceding 'pdfmark' at end of line, not
	anywhere else.

2019-12-30  Ingo Schwarze  <schwarze@openbsd.org>

	Correct output of sprintf("%%") in pic(1).

	* src/preproc/pic/pic.ypp: Print "%" rather than "%%".

	Bug reported by Doug McIlroy <doug at cs dot dartmouth dot edu>.
	Patch using feedback from Larry McVoy <lm at mcvoy dot com>.

2019-12-29  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Update man page of gropdf to document \X calls.

	* src/devices/gropdf/gropdf.1.man: The calls 'pagename' and
	  'switchtopage' (used by mom to relocate TOC) are documented,
	  together with their convenience commands '.pdfpagename' and
	  '.pdfswitchtopage'.

2019-12-29  Ingo Schwarze  <schwarze@openbsd.org>

	Improve documentation of pic(1) regarding printf.

	* src/preproc/pic/pic.1.man:
	  Document which conversion specifications are supported.
	* doc/pic.ms:
	  Correct the list of supported conversion specifications.

2019-12-21  Ingo Schwarze  <schwarze@openbsd.org>

	Update NetBSD, OpenBSD, FreeBSD, Darwin, and DragonFly version
	strings.

	* tmac/doc-common-u: Update.
	* tmac/groff_mdoc.7.man: Synchronize.

	Based on a patch from Guillem Jover <guillem@debian.org>
	via Colin Watson <cjwatson@debian.org>, tweaked by me.
	Fixes: https://bugs.debian.org/867123

2019-09-22  G. Branden Robinson <g.branden.robinson@gmail.com>

	Use a vertical spacing of 1v between paragraphs in man page
	examples.  This looks better (on typesetter devices like
	PostScript and PDF) with the Courier font family also used in
	examples.  Typewriter devices (like the terminal) already used
	an inter-paragraph spacing of 1v.

	* tmac/an-ext.tmac (EX): Save the value of the PD number
	register (inter-paragraph distance), and set it to 1v.
	(EE): Restore previous value of the PD register.

2019-09-21  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Changes to allow configure to check for URW fonts

	* font/devpdf/util/BuildFoundries.pl: Call the program with
	--dirURW with path provided to ./configure, and --check to do
	a dry-run just checking if the fonts are available. (bug #56748)

2019-09-21  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Add new ghostscript font names (bug #56748)

	* font/devpdf/Foundry.in: Add changed font names

2019-09-21  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Prevent gropdf executing arbitrary commands

	* src/devices/gropdf/gropdf.pl: See bug #55557

2019-09-15  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac: Move test for definitions of CS and CT
	registers to after man.local is sourced; this way we can both
	respect any setting of those registers in that file (which is
	intended for customization by the site administrator) and ensure
	that the registers are defined when dereferenced later.

2019-09-15  G. Branden Robinson <g.branden.robinson@gmail.com>

	* **/*.man: Put section headings in title case.

2019-09-13  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/troff/input.cpp: Lift invariant out of loop.

2019-09-11  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/preproc/refer/refer.1.man: Add mention of man and mm
	packages as supporting the "refer" preprocessor (GNU mm grew
	this support back in groff 1.22.1).

2019-09-10  G. Branden Robinson <g.branden.robinson@gmail.com>

	Mark expected-to-fail test as XFAIL.

	Automake supports XFAIL and XPASS, so actually use the
	infrastructure as intended.

	* Makefile.am: Declare XFAIL_TESTS variable.
	* src/roff/groff/groff.am (groff_XFAIL_TESTS): Add
	string_case_xform_unicode_escape.sh.
	* src/roff/groff/tests/string_case_xform_unicode_escape.sh: Set
	the expected output to what it would be if string case
	transforms worked on groff Unicode escapes.

2019-09-10  G. Branden Robinson <g.branden.robinson@gmail.com>

	Retire '@G@' build system macro.

	It existed only for forcibly-capitalized man page titles; it was
	the uppercase-transformed counterpart of @g@.

	* Makefile.am: Delete sed transformation of @G@.
	* src/preproc/tbl/tbl.1.man: Replace '@G@EQN' in section heading
	with '@g@eqn'.

2019-09-10  G. Branden Robinson <g.branden.robinson@gmail.com>

	* **/*.man: Downcase man page titles, except for glilypond and
	roff2*, which did not require it.

	Here's a sed script for the aid of those who have a corpus of
	man pages to migrate.

		# Downcase man page titles.
		#
		# Use the first line to skip any .TH lines that require
		# special handling, perhaps because the name of the
		# command gets externally macro-expanded.  In groff, the
		# "roff2.1.man" page is an example.
		#
		# This script operates _only_ on .TH lines.
		#
		# usage: sed -i -f this_script.sed your_man_page.1 ...
		/@ROFF2MODE@/b
		/^\.\s*TH/{
		h
		s/^\.\s*TH \+\([^ ]\+\) .*/\1/
		y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/
		G
		s/\([^ ]\+\)\n\(^\.\s*TH \+\)[^ ]\+\( .*\)/\2\1\3/
		}

2019-09-09  G. Branden Robinson <g.branden.robinson@gmail.com>

	The an (man) macro package supports new CS and CT number
	registers to control rendering of man page section headings and
	titles, respectively, in full capitals.  These default off (with
	no visible effect on pages which already fully capitalize these
	strings in man page sources).  The rationale is to encourage man
	page authors to preserve case distinction information in (or
	restore it to) their titles and section headings, while giving
	users (including system administrators, distributors,
	integrators, and maintainers of man(1) implementations) a way to
	view the rendered page elements in full capitals if desired.

	* tmac/an-old.tmac (TH/an-init): If number register CT is
	defined and nonzero, call .stringup on \*[an-title].
	(SH): Store macro argument list to \*[an-section-heading].  If
	number register CS is defined and nonzero, call .stringup on it.
	* tmac/groff_man.7.man (OPTIONS): Document the CS and CT number
	registers.
	* tmac/tests/an-old_CS_register_off.sh:
	* tmac/tests/an-old_CS_register_on.sh:
	* tmac/tests/an-old_CS_register_unspecified.sh:
	* tmac/tests/an-old_CT_register_off.sh:
	* tmac/tests/an-old_CT_register_on.sh:
	* tmac/tests/an-old_CT_register_unspecified.sh: Add tests.
	* tmac/tmac.am (tmac_TESTS): Run tests.

2019-09-09  G. Branden Robinson <g.branden.robinson@gmail.com>

	Add regression test to check behavior of case transformation
	request on a string containing a Unicode character escape.
	Right now, this is not supported, so it is an XFAIL test in the
	parlance of DejaGNU/POSIX 1003.3.

	* src/roff/groff/tests/string_case_xform_unicode_escape.sh: New
	test.
	* src/roff/groff/groff.am (groff_TESTS): Run test.

2019-09-09  G. Branden Robinson <g.branden.robinson@gmail.com>

	Implement .stringdown and .stringup requests.

	* src/roff/troff/input.cpp: Add .stringdown and .stringup
	requests.
	* doc/groff.texi: Document them, including example.
	* man/groff_diff.7.man: Same.
	* man/groff.7.man: Document them briefly.

2019-09-09  G. Branden Robinson <g.branden.robinson@gmail.com>

	Regression-test string case transform feature.

	* src/roff/groff/tests/string_case_xform_errors.sh: New test.
	* src/roff/groff/tests/string_case_xform_requests.sh: New test.
	* src/roff/groff/groff.am (groff_TESTS): Run tests.

2019-06-30  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/devices/grotty/grotty.1.man (Options/-i): Note support of
	recent versions of xterm for italic (oblique) styles.

	Fixes part of <https://savannah.gnu.org/bugs/index.php?55278>.

2019-06-28  G. Branden Robinson <g.branden.robinson@gmail.com>

	devlatin1: Map \(oq to ' on output.

	* font/devlatin1/R.proto: Render the output glyph \[oq]
	{opening quote} as 0x27 (apostrophe) instead of 0x60 (grave
	accent).  A grave accent is just flat wrong for the Latin-1
	character set, a.k.a. ISO 8859-1.  The defining document ECMA-94
	{June 1986} is freely available for perusal.  The ECMA-94 Latin
	character sets do not define any glyphs for directional
	{"typographer's"} quotation marks, but the apostrophe is
	depicted as a neutral (vertical) glyph, whereas the grave accent
	0x60 and acute accent 0xB4 are mirror-symmetric diacritical
	marks.

	Note that this change has no effect on _input_ conventions for
	roff source documents.  You can still get directional single
	quotes on UTF-8, PostScript, PDF, and other output devices
	supporting them by typing sequences like `this' in the input
	{character remapping with ".char" requests and similar
	notwithstanding}.

	Patch and idea from Ingo Schwarze, who originally proposed it
	for ASCII as well, and included Latin-1 for parallelism.
	The groff developers could reach no consensus about the wisdom
	of such a change for ASCII (which was designed to support
	ambiguity for some code points, requiring the development of
	supplementary interpretation conventions between parties).
	ECMA-94/ISO-8859 is more strongly prescriptive.

	See https://savannah.gnu.org/bugs/?55616 and the groff mailing
	list archives for 31 January to 23 February 2019 at
	https://lists.gnu.org/archive/html/groff for lengthy discussion.

	* src/roff/groff/tests/on-latin1-device-oq-is-0x27.sh: Check for
	correct output glyph.

	* src/roff/groff/groff.am: Add test.

2019-06-28  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/unicode.tmac: Save and restore compatibility mode since
	the script uses a GNU extension (.char).

2019-06-27  G. Branden Robinson <g.branden.robinson@gmail.com>

	libdriver: Fix SEGV (Savannah #56555).

	* src/libs/libdriver/printer.cpp: Check result of
	set_char_and_width() for error condition before relying on it.

	* src/roff/groff/tests/regression-56555.sh: Provoke segfault
	with five bytes of input using transparent line indicator.

	* src/roff/groff/groff.am: Add test.

2019-01-12  Ingo Schwarze  <schwarze@openbsd.org>

	Correctly handle groff_mdoc(7) .Lk arguments starting with a
	dot.

	* tmac/doc.tmac-u: Each argument to the .Lk macro is printed
	on its own roff input line.  If it happens to start with a dot
	or apostroph, it was misinterpreted as a request or macro.
	Force it to be treated as text by adding "\&" in front of it.

2018-12-31  Ingo Schwarze  <schwarze@openbsd.org>

	* man/groff_diff.7.man: remove two stray .RE macros

2018-12-18 Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Fix 'dvi' and 'pdf' texinfo doc generation.

	GNU make has a built-in variable 'TEXI2DVI' but it is not the case
	of all 'make' implementations, which causes 'make doc' to fail
	with an unclear message although 'texi2dvi' is available.  Also,
	'texi2dvi' is invoked inconditionnally.

	* m4/groff.m4 (GROFF_TEXI2DVI): new macro to detect properly the
	presence of 'texi2dvi'.

	* configure.ac: use 'GROFF_TEXI2DVI' and define automake conditional
	'HAVE_TEXI2DVI'.

	* doc/doc.am:
	- Define TEXI2DVI to 'texi2dvi'.
	- Print an error message if 'texi2dvi' is not available.

2018-12-14  G. Branden Robinson <g.branden.robinson@gmail.com>

	* doc/groff.texi: Drop documentation of "man" macro package from
	  our Texinfo manual.  The mdoc, me, mm, and mom packages all
	  maintain their documentation externally to this manual as
	  well.  Exception: portions not about man proper--which are not
	  duplicated from groff_man(7)--on use of man.local (including
	  examples of Ultrix-compatible macros) are retained.

2018-12-08 Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Install texinfo doc on 'make install-pdf' and 'make install-html'

	* doc/doc.am:
	- Use automake 'install-pdf-local' and 'install-html-local' rules
	to install groff.pdf and groff.html
	- New rules 'uninstall_pdf' and 'uninstall_html'.
	- Use $(RM) instead of 'rm'.
	- Don't try to build doc if 'BUILD_INFODOC' is not set.
	* INSTALL.REPO: document texinfo build and installation.

2018-12-10 Ingo Schwarze <schwarze@openbsd.org>

	* Makefile.am: Remove the unused variables PREFIXMAN5 and PREFIXMAN7.

	They caused installation failures on Solaris 9.

2018-12-08 Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Remove gnulib's hypot module.

	The removal of 'GROFF_NEED_DECLARATION([hypot])' in 'configure.ac'
	was correct as the test was buggy, but there is no need to use
	gnulib's hypot module as previously we did not need to provide a
	replacement function.

	* bootstrap.conf: do it.

2018-12-08  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Problem running gropdf on big endian (Sparc)

	* src/devices/gropdf/gropdf.pl: Prior to perl v5.9 the 'L<'
	template for 'unpack' was unavailable. Solaris 10 uses v5.8.4
	so safer to use the template 'V' rather than 'L<'.

2018-12-08 Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Use gnulib's 'hypot' module.

	In 'configure.ac', the macro call
	'GROFF_NEED_DECLARATION([hypot])' checks whether the function
	'hypot' is correctly declared in 'math.h', but the test is buggy
	and may yields false results.

	* bootsrap.conf: add 'hypot' module.

	* configure.ac: Remove GROFF_NEED_DECLARATION([hypot]).

	* src/libs/libgroff/hypot.cpp: remove declaration of hypot.

2018-12-07  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Problem running gropdf on big endian (Sparc)

	* src/devices/gropdf/gropdf.pl: When loading a binary (.pfb)
	font for embedding always use little endian to unpack chunk
	headers.

2018-12-05  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Skip mom tests if needed config is missing.

	* contrib/mom/examples/test-mom.sh.in: exit 77 if URW fonts are
	not available.

	* contrib/mom/mom.am: distribute inconditionnally test-mom.in.

	* m4/groff.m4 (GROFF_URW_FONTS): check if 'awk' and 'gs' are
	available, and replace non-portable 'grep' command by awk script.

2018-12-01  Colin Watson  <cjwatson@debian.org>

	Fix error handling in tests of mom examples

	* contrib/mom/examples/test-mom.sh.in (check_number_pages): Correct
	error message.
	(check_has_images): Correct shell syntax error.

2018-11-26  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Document .sp behaviour in -me doc -- French translation

	* doc/meintro_fr.me: translation of commit
	7a83f7f5003e24f020306f09f4d497e04e82cb14.

	Fixes bug https://savannah.gnu.org/bugs/?54958.

2018-11-24  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Fix tarball generation: script 'makevarescape.sed' was missing.

	* Makefile.am (EXTRA_DIST): add it.

2018-11-24  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Add automatic tests on mom examples

	* m4/groff.m4 (GROFF_PDFTOOLS): check presence of some pdf tools.
	* configure.ac: use 'GROFF_PDFTOOLS', add new AM conditional.
	* contrib/mom/examples/test-mom.sh.in: new file that use 'pdfinfo'
	and 'pdfimages' to make some basic checks on mom examples.

2018-11-21  G. Branden Robinson <g.branden.robinson@gmail.com>

	tmac/sv.tmac: Set Swedish hyphenation flags to 32.

	This permits hyphenation after the first character but continues
	prohibiting it before the last character of a word, in
	congruence with the TeX-based hyphenation patterns we use.

	Fixes <https://savannah.gnu.org/bugs/index.php?55066>.

2018-11-19  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Fix build on environment where /etc/papersize contains comments

	Issue introduced on commit efea81c75f831ddc6717c2ef25556e0f49d1f679.

	* m4/groff.m4 (GROFF_PAGE): remove comments and get the 1st string
	of '/etc/papersize'.

2018-11-12  G. Branden Robinson <g.branden.robinson@gmail.com>

	* m4/groff.m4 (GROFF_PAGE): Try /etc/papersize first.

	Fixes <https://savannah.gnu.org/bugs/index.php?53271>.

2018-11-12  G. Branden Robinson <g.branden.robinson@gmail.com>

	* bootstrap.conf: Bump Autoconf dependency to 2.68.  We need it
	to support our bug-reporting URL, which contains a "?".
	Strictly, Autoconf 2.65 is fine, but 2.66 and 2.67 broke this.
	Even 2.69 is over 6 years old now.

	See <https://savannah.gnu.org/support/?107450>.

2018-11-12  G. Branden Robinson <g.branden.robinson@gmail.com>

	* m4/groff.m4 (GROFF_PAGE): Quote shell variables that are under
	external control and may contain embedded whitespace.  A test
	shows that our configure script is now robust in this way, but
	our Automake files are not, starting with
	src/utils/afmtodit/afmtodit.am.

2018-11-12  G. Branden Robinson <g.branden.robinson@gmail.com>

	* makevarescape.sed:
	  - Escape plain spaces and double-quotes (ASCII 32 and 34) so
	    that bad things don't happen if they are embedded in a Make
	    variable expanded in a man page @THUS@ _and_ given as an
	    argument to a macro that distinguishes its parameters, such
	    as .IR.
	  - Add discretionary breaks after groups of slashes not
	    preceded by a space; e.g., transform "/usr/bin/groff" into
	    "/usr/\:bin/\:groff".  Will also work on URLs
	    {"https://\:example.com/\:page.html"} in case we need that.

2018-11-11  G. Branden Robinson <g.branden.robinson@gmail.com>

	Undocument Werner and Ted as groff maintainers.

	* README:
	* doc/pic.ms:
	* src/roff/grog/grog.pl:
	* src/roff/nroff/nroff.sh: Werner (and Ted) retired from the
	role some time ago and Bertrand Garrigues has stepped up; see
	https://lists.gnu.org/archive/html/groff/2017-09/msg00048.html.
	I'll let him document his maintainer status as and where he
	prefers.

2018-11-11  G. Branden Robinson <g.branden.robinson@gmail.com>

	Stop spelling "Unix" as "UNIX".

	Per AT&T Bell Labs veterans Doug McIlroy and Meg McRoberts,
	spelling "Unix" in full caps was a contrivance insisted upon by
	AT&T lawyers, and not a practice used in the Unix manuals
	themselves or the Bell Labs Technical Journal.  See
	  https://lists.gnu.org/archive/html/groff/2015-01/msg00026.html
	and
	  https://lists.gnu.org/archive/html/groff/2015-01/msg00029.html
	for support.

	There are instances I did _not_ change; they may require further
	review.
		ChangeLog.*
		NEWS
			One reference relevant to mdoc; see below.
		doc/meintro{,_fr}.me
			These documents also give the small caps
			treatment to groff, troff, and nroff, suggesting
			a separate changeset.
		src/preproc/pic/pic.ypp
			Contains a comment referring to "Compaq Tru64
			UNIX"; not worth the candle IMO.
		tmac/s.tmac:
			{ms macro package} Leaving UX macro definition
			alone until/unless it can be established that
			this doesn't change the rendering of historical
			documents in an objectionable way.
		tmac/doc-syms-u:
		tmac/doc-old.tmac-u:
		tmac/doc-common-u:
		tmac/groff_mdoc.7.man:
			{mdoc macro package} Similar; mdoc defines many
			strings that spit out "UNIX" (albeit not with a
			font size change).

	* MORE.STUFF:
	* NEWS:
	* README.MinGW:
	* contrib/groffer/README:
	* contrib/pdfmark/pdfmark.ms:
	* contrib/pdfmark/pdfroff.1.man:
	* doc/groff.texi:
	* doc/webpage.ms:
	* m4/groff.m4:
	* man/groff_diff.7.man:
	* man/groff_tmac.5.man:
	* man/roff.7.man:
	* src/preproc/html/pre-html.cpp:
	* src/roff/troff/troff.1.man: Change "UNIX" to "Unix",
	discarding markup as necessary.

2018-11-10  G. Branden Robinson <g.branden.robinson@gmail.com>

	man pages: Escape interpolated Make variables.

	* makevarescape.sed: Transform - to \-, ~ to \(ti, and so forth,
	{with an extra layer of backslashes--see below} so that Makefile
	variables containing ASCII characters that do not represent
	themselves literally in *roff (see groff_char(7)) are correctly
	interpolated into man page text.

	* Makefile.am (.man): Transform Makefile variables with the
	above script when interpolating them into man page text.

	Note that while the script, combined with this target, will
	transform ` to \(ga, including grave accents in Makefile
	variables is likely to fail when the shell lexes the argument to
	echo within the old-style command substitution ``.  Testing
	shows that grave accents should work[1] if POSIX-style command
	substitution $() is done instead.  However, $() is less
	portable.  (Triple-escaping grave accents \\\` inside the
	interpolated Makefile variable will work, but is not attempted
	at present.)

	Note also that the amount of backslash-escaping in the sed
	script is excessive (and incorrect) for normal purposes, but
	required here because a command substitution is being nested
	inside yet another invocation of sed.

	{1} For this target; no assurances about the good behavior of
	unusual characters in Makefile variables in other aspects of the
	groff build are offered.

	Fixes <https://savannah.gnu.org/bugs/index.php?55004>.

2018-11-06  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/utils/lookbib/lookbib.cpp: Doesn't make much sense to mark
	Version_string as a C extern if you're just going to hide it in
	a throwaway scope again.  Remove braces, exposing it.

	"lookbib -v" now reports a version number, instead of "(null)".

	Fixes <https://savannah.gnu.org/bugs/index.php?54972>.

2018-11-06  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/libs/libgroff/error.cpp (do_error_with_file_and_line):
	If:
	  a program name is known;
	but
	  no file is being processed or the line number is negative,
	then there was no space between the program name (with colon),
	and the succeeding diagnostic message.

	Example: lookbib:fatal error: no databases

	Fixes <https://savannah.gnu.org/bugs/index.php?54971>.

2018-11-05  G. Branden Robinson <g.branden.robinson@gmail.com>

	Make strip.sed operate only if given permission.

	* tmac/strip.sed: Do nothing whatsoever to any input file that
	lacks a line matching "%beginstrip%".  This implements a
	contract between the macro file writer and the stripper script
	{roff input is not parseable with crude weaponry like regular
	expressions}.  In practice, most of the changes performed by the
	script were already in a block enforcing this.  My changes:
	- Stop unconditionally inserting a roff comment noting the
	  reader of stripping at line 2.  Instead, replace the line
	  matching "%beginstrip%" with this comment if and only if it
	  is present.
	- Stop deleting lines containing only the empty request if
	  they occur before "%beginstrip%".
	- Tweak the wording of the roff comment.
	- Remove comment within the sed script; see
	  https://lists.gnu.org/archive/html/groff/2017-11/msg00057.html
	  and the sed section of "Limitations of Usual Tools" in the
	  GNU Autoconf Manual.

	Invalidates <https://savannah.gnu.org/bugs/index.php?53784>.

2018-11-04  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/an-old.tmac: When emitting diagnostics, report the name
	of the macro file complaining, and the name and line number of
	the input file at the time of trouble.  Thanks to Bjarni Ingi
	Gislason for part of the patch.

	Fixes <https://savannah.gnu.org/bugs/?54175> and continues the
	long process of fixing <https://savannah.gnu.org/bugs/?52463>.

2018-11-04  G. Branden Robinson <g.branden.robinson@gmail.com>

	* doc/meintro_fr.me: Add encoding hint to top of file so preconv
	works correctly even if the build environment's encoding is not
	UTF-8.  Adapted from Bjarni Ingi Gislason's patch.  Also add
	long-form Emacs coding declaration at end of file.  Vim's
	auto-detection seems to be fine, so did not update its modeline.

	Fixes <https://savannah.gnu.org/bugs/index.php?54530>.

2018-11-04  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/groff_man.7.man: Reorganize and largely rewrite to more
	precisely document the macro package's behavior and to be more
	helpful and accessible to man page writers who may never read
	any other groff documentation.

2018-10-25  G. Branden Robinson <g.branden.robinson@gmail.com>

	Clarify meaning of \p escape.  Also make more explicit that line
	adjustment for the .brp request and \p escape depends on the
	current adjustment mode.

	* doc/groff.texi: Clarify that \p has effect at the next word
	boundary.  Thanks to Dave <barx> for pointing out the issue and
	providing elucidating language.

	* man/groff.7.man: Similar, but terser.

	Fixes https://savannah.gnu.org/bugs/index.php?54894.

2018-10-04  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Savannah bug # 54812

	* font/devpdf/util/BuildFoundries.pl: If a font is not found
	report list of paths searched.

	Fix https://savannah.gnu.org/bugs/?54812

2018-10-10  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Update 'gnulib' submodule.

	* gnulib: now points on dce8759f0f0236a860a3e68b63c5e99cc6f168f9
	from 'gnulib' repository.  This fixes build error with glibc 2.28
	(see https://bugzilla.redhat.com/show_bug.cgi?id=1595702).

2018-10-04  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Savannah bug # 54779

	* font/devpdf/Foundry.in: Recent ghostscript changed name
	used for embedding groff font HNBI

	Fix https://savannah.gnu.org/bugs/?54779

2018-08-27  Ingo Schwarze  <schwarze@openbsd.org>

	* tmac/groff_www.7.man: Do not use .URL, .MTO, .FTP.

2018-08-21  Ingo Schwarze  <schwarze@openbsd.org>

	Improve terminal rendering for a few special characters:

	* tmac/tty.tmac: add \[.j] (dotless j)
	* tmac/tty-char.tmac: for \[a.], fall back to "."
	* tmac/tty-char.tmac: add playing card suits

2018-08-16  Ingo Schwarze  <schwarze@openbsd.org>

	* src/preproc/preconv/preconv.1.man: add -D to the SYNOPSIS

2018-08-09  Ingo Schwarze  <schwarze@openbsd.org>

	* Makefile.am: correctly calculate MAJOR_VERSION etc.

2018-06-19  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Fixes to gropdf

	* src/devices/gropdf/gropdf.pl: Make default line width 0.4pt
	to match grops. Use 'S' operator (stroke) rather than 's' (close
	and stroke) when Dl command received. Improve switching between
	text and graphic modes.

2018-07-01 Bertrand Garrigues <bertrand.garrigues@laposte.net>

	[me] paragraph with umlaut incorrectly rendered

	* tmac/e.tmac-u: workaround done by Werner LEMBERG <wl@gnu.org>.

	Fix https://savannah.gnu.org/bugs/?42191

2018-06-19  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Add gropdf new features to NEWS file.

	* NEWS: new features.

2018-05-29  Werner LEMBERG  <wl@gnu.org>

	[dvi] Fix glyph map for `cmitt10'.

	Problem reported by Pali Rohár <pali.rohar@gmail.com>.

	  http://lists.gnu.org/archive/html/groff/2018-05/msg00088.html

	* font/devdvi/texitt.map: New file.  This is identical to
	`textt.map' except the dollar glyph, which gets replaced by the
	pound glyph.

	* font/devdvi/generate/Makefile (CWI): Use `texitt.map'.

	* font/devdvi/CWI: Regenerated.

2018-05-07  G. Branden Robinson <g.branden.robinson@gmail.com>

	Improve diagnostics on bad hyphenation requests.

	* src/roff/troff/env.cpp: Add new HYPHEN_* symbols to anonymous
	enum.

	* src/roff/troff/env.cpp (hyphenate_request):
	  - Warn about hyphenation request values that are completely
	    out of range.
	  - Report bad hyphenation request value in diagnostic messages.

2018-04-28  G. Branden Robinson <g.branden.robinson@gmail.com>

	grap2graph: Parallelize changes with pic2graph.

	* contrib/grap2graph/grap2graph.sh:
	  - Refactor temp directory handling.
	  - Handle embedded whitespace in temp dir.
	  - Adapt to old convert(1) programs.

	* contrib/grap2graph/grap2graph.1.man: Make editorial/style
	changes and minor corrections.

2018-04-26  G. Branden Robinson <g.branden.robinson@gmail.com>

	eqn2graph: Remove -unsafe option.

	* contrib/eqn2graph/eqn2graph.sh: Unrecognize "-unsafe" option
	and eliminate $groff_opts variable.  As far as I can tell, this
	option had no effect because (1) pic is not run on the input
	stream (no -p argument to groff); (2) eqn doesn't support
	"shelling out" as pic does; and (3) there is no way to embed
	*roff requests inside a sequence of eqn commands.  If I'm wrong,
	let me know.

	* contrib/eqn2graph/eqn2graph.1.man: Undocument "-unsafe"
	option.

2018-04-26  G. Branden Robinson <g.branden.robinson@gmail.com>

	eqn2graph: Parallelize changes with pic2graph.

	* contrib/eqn2graph/eqn2graph.sh:
	  - Refactor temp directory handling.
	  - Handle embedded whitespace in temp dir.
	  - Adapt to old convert(1) programs.

	* contrib/eqn2graph/eqn2graph.1.man: Make editorial/style
	changes and minor corrections.

2018-04-25  G. Branden Robinson <g.branden.robinson@gmail.com>

	pic2graph: Refactor temp directory handling.

	* contrib/pic2graph/pic2graph.sh: Issue a diagnostic and give up
	if the user's desired temporary directory does not exist.  Also
	document the Bashism $RANDOM and work around its absence.

2018-04-25  G. Branden Robinson <g.branden.robinson@gmail.com>

	pic2graph: Handle embedded whitespace in temp dir.

	* contrib/pic2graph/pic2graph.sh: Quote shell variables having
	to do with the temporary directory's location; without
	quotation, temporary directory names with embedded whitespace
	are wrongly handled.

2018-04-24  G. Branden Robinson <g.branden.robinson@gmail.com>

	* doc/groff.texi: Bump end of copyright range to 2018.  Werner
	added substantial text this year about hyphenation.

2018-04-24  G. Branden Robinson <g.branden.robinson@gmail.com>

	Set version to 1.22.4 in the few places that hard-code it.

	* arch/mingw/grap2graph.cmd:
	* contrib/groffer/version.sh:
	* doc/groff.texi:
	* doc/webpage.ms: Bump from 1.22.3 to 1.22.4.

2018-04-24  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Restrict scaling factors to 3dp and better handle CR/LF in import.

	* src/devices/gropdf/gropdf.pl: Restrict scaling factors to 3dp
	rounded. If pdf imported with pdfpic uses CR/LF line termination
	ibclude XObject Image, length of stream out by 1.

2018-04-23  G. Branden Robinson <g.branden.robinson@gmail.com>

	man pages: Shorten version footer.

	* **/*.man: Replace "Groff Version" with "groff" in the fourth
	argument to .TH in all man pages.  This suffices to keep that
	part of the footer from overrunning the date, even in dirty
	trees on 80-column terminals.

	Fixes https://savannah.gnu.org/bugs/index.php?53721.

2018-04-23  G. Branden Robinson <g.branden.robinson@gmail.com>

	pic2graph(1): Make editorial/style changes and minor
	corrections.

2018-04-23  G. Branden Robinson <g.branden.robinson@gmail.com>

	pic2graph: Adapt to old convert(1) programs.

	* contrib/pic2graph/pic2graph.sh: Grep convert's -help output
	for the string "-trim".  If it is not found, the old method for
	image trimming documented in pic2graph's man page, "-crop 0x0",
	is used.  I am motivated by the fact that the warning about this
	in our man page is very old (10 years or more), and I wanted to
	get rid of it.

	pic2graph emits a warning when performing this fallback, in the
	event the ImageMagick and/or GraphicsMagick teams surprise the
	world again.

	* contrib/pic2graph/pic2graph.1.man: Remove BUGS section, the
	entire contents of which was dedicated to convert's change in
	behavior.

2018-04-22  G. Branden Robinson <g.branden.robinson@gmail.com>

	groff_man(7): Expand command synopsis section.

	This section now explains in detail how to write (and read) a
	command synopsis.

2018-04-12  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Make PDFPIC behave the same whether -Tps or -Tpdf used.

	Previously the -Tpdf version did not cause a break nor position
	to the line beneath the imported picture, whilst the -Tps
	version did.

	* tmac/pdfpic.tmac: Corrected behavior.

	* NEWS: Explain the change of behaviour and how to reinstate
	the previous behaviour using register PDFPIC_NOSPACE or the
	environment variable GROFF_PDFPIC_NOSPACE.

2018-03-27  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Define a short version for data installation dir name.

	This is the full version stripped of any characters after the
	third digit.  Used for installation of font, macro and various
	data (by default in /usr/local/share/groff).  The various programs
	and scripts still use the full version from gnulib script
	'git-version-gen' .

	* configure.ac (SHORT_VERSION): short version definition.

	* Makefile.am: use 'SHORT_VERSION' for 'docdir' and 'datasubdir'
	definitions.

2018-03-11  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Remove doc/automake_migration_tests.txt

	Automake migration was completed long time ago and this file is no
	longer needed.

2018-03-11  Colin Watson  <cjwatson@debian.org>

	Switch to Gnulib implementation of snprintf

	This is more actively maintained, straightforward to integrate now
	that we have Gnulib integration, and simplifies groff's overall
	licensing.

	* bootstrap.conf (gnulib_modules): Add `snprintf' and `vsnprintf'.
	* configure.ac: Remove local checks for `snprintf' and `vsnprintf'.
	* Makefile.am: Remove various comments related to local checks for
	`snprintf' and `vsnprintf'.
	* src/include/lib.h: Remove declarations of `snprintf' and
	`vsnprintf'.
	* src/libs/libgroff/libgroff.am (EXTRA_DIST): Remove
	`src/libs/snprintf/snprintf.c'.
	* src/libs/snprintf/snprintf.c: Remove.

	* LICENSES: Remove section about `src/libs/snprintf/snprintf.c'.
	* MANIFEST: Remove entry for `src/libs/libxutil'.

2018-03-09  Deri James  <deri@chuzzlewit.myzen.co.uk>

	PDF must not open in presentation mode.

	* src/devices/gropdf/gropdf.pl: When GROPDF_NOSLIDE=1
	passed do not set pdf to presentation mode.

2018-03-09  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Allow a "." to signify a missing parameter in .pdftransition

	* src/devices/gropdf/gropdf.1.man: Explain the .pdftransition
	macro (and underlying '\X' command) accepts a "." to specify
	a parameter retains its current value.

2018-03-09  Colin Watson  <cjwatson@debian.org>

	man pages: fix incorrect cross-referenced section

	* man/roff.7.man (FILE NAME EXTENSIONS): Correct reference to
	groff_filenames(5).

2018-03-09  Colin Watson  <cjwatson@debian.org>

	mdate.sh: rewrite in Perl

	groff already requires perl to build.  This version is much shorter
	and easier to understand than the shell/awk version: we don't have
	to worry about convincing ls to produce output that we can parse,
	and we don't have to play games with the way that the same field may
	contain either the year or the time depending on how old the file
	is.

	While I'm at it, this version also adds `SOURCE_DATE_EPOCH' support
	for reproducible builds: when `SOURCE_DATE_EPOCH' is set, files are
	considered to have been last modified at that time.

	* mdate.sh: Rewrite in Perl, moving to ...
	* mdate.pl: ... this new file.
	* Makefile.am (EXTRA_DIST, .man): Update references.

2018-03-09  Colin Watson  <cjwatson@debian.org>

	Remove #! lines from non-executable files

	These are always invoked by the build system (either in-tree or via
	the installed Makefiles) using the necessary program, so the #!
	lines were unnecessary.  They were harmless except that they caused
	Debian's `lintian` tool to complain about installed non-executable
	scripts.

	* font/devlj4/generate/special.awk: Remove #! line.
	* font/devps/generate/symbol.sed: Likewise.

2018-03-09  Colin Watson  <cjwatson@debian.org>

	doc: stop generating W3C validation icons

	Debian's `lintian' tool says:

	  These badges may be displayed to tell readers that care has been
	  taken to make a page compliant with W3C standards.  Unfortunately,
	  downloading the image from www.w3.org might expose the reader's IP
	  address to potential tracking.

	I think the risk is a small one, but I also don't think the badges
	are especially valuable, so it doesn't seem like much to ask to just
	drop them at least for groff's own documentation.

	* doc/doc.am (.ms.html, doc/pic.html): Remove `-P-V' option.

2018-03-01  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Place pdf in presentation mode if new commands used.

	* src/devices/gropdf/gropdf: The new commands which
	control page transitions should result in the pdf being
	opened in presentation mode.

2018-03-02  Werner LEMBERG  <wl@gnu.org>

	Hyphenation exceptions in pattern files now obey `.hy' (#53196).

	* src/roff/troff/env.cpp (hyphen_trie::read_patterns_file): Mark
	`\hyphenation' entries with a trailing space.
	(hyphen_trie::insert_hyphenation): Updated.
	(hyphenate): Make `\hyphenation' entries obey `.hy' restrictions.

	* doc/groff.texi (.hy): Updated.

2018-03-01  Werner LEMBERG  <wl@gnu.org>

	Adjust `.hy' values.

	In most cases hyphenation constraints were too strict.  The now
	selected values reflect the parameters used for the generation of
	the (TeX) hyphenation patterns.

	* tmac/an-old.tmac, tmac/cs.tmac, tmac/de.tmac, tmac/doc-common-u,
	tmac/e.tmac-u, tmac/fr.tmac, tmac/s.tmac, tmac/sv.tmac: Fix `.hy',
	`\n[HY]', and `\n[doc-hyphen-flags]' values.

	* doc/groff.texi, tmac/groff_man.7.man, tmac/groff_ms.7.man, NEWS:
	Updated.

2018-03-01  Werner LEMBERG  <wl@gnu.org>

	Fix some problems related to hyphenation.

	Introduce values 16 (allow hyphenation before last character) and 32
	(allow hyphenation after first character) to the `hy' request
	(#48904).

	Really fix problem reported in issue #48904.

	Fix #53243, which is a regression introduced in 2016-09-09.

	* src/roff/troff/env.cpp (HYPHEN_LAST_CHAR, HYPHEN_FIRST_CHAR): New
	enumeration values.
	(hyphenate_request): Check for contradicting values.
	(environment::hyphenate_line): Fix minimum word length considered
	for hyphenation.
	(environment::print_env): Updated.
	(hyphenate): Fix and extend logic.  The original patch to handle
	#48904 was bad.

	* doc/groff.texi, man/groff_diff.7.man, NEWS: Updated.

2018-03-01  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Add page transitions to pdfs created with gropdf.

	* src/devices/gropdf.pl: Handle new '\X' commands to support page
	transitions in presentation mode pdfs. These commands are a subset
	of the commands used in present.tmac allowing slideshows to be
	directly produced from -Tpdf without using postscript -> gpresent.pl
	-> ghostscript.

	* tmac/pdf.tmac: New macros '.pdfpause' and '.pdftransition' to
	support page transitions.

	* src/devices/gropdf.1.man: Document the '\X' commands supported.

2018-03-01  Werner LEMBERG  <wl@gnu.org>

	Use $(AM_V_GEN) and $(AM_V_P) to silence even more file generation.

	* font/devpdf/devpdf.am (BuildFoundries, DESC, Foundry,
	build_font_files): Do it.

2018-02-28  Werner LEMBERG  <wl@gnu.org>

	Use $(GROFF_V) to silence documentation creation.

	* Makefile.am (GROFF_V): Define.

	* doc/doc.am (.me.txt, .me.ps, .ms.html, .ms.txt, .ms.ps, pic.html,
	webpage.html): Use $(GROFF_V).

2018-02-28  Werner LEMBERG  <wl@gnu.org>

	Use $(AM_V_GEN) to silence file generation.

	* Makefile.am (.man), contrib/eqn2graph/eqn2graph.am (eqn2graph),
	contrib/grap2graph/grap2graph.am (grap2graph), contrib/pic2graph.am
	(pic2graph), src/devices/gropdf/gropdf.am (gropdf, pdfmom),
	src/preproc/eqn/eqn.am (neqn), src/roff/grog/grog.am (grog),
	src/roff/nroff/nroff.am (nroff), src/utils/afmtodit/afmtodit.am
	(afmtodit), font/devascii/devascii.am (DEVASCIIFONTSFILES, DESC),
	font/devcp1047/devcp1047.am (DEVCP1047FONTSFILES, DESC),
	font/devhtml/devhtml.am (DEVHTMLFONTSFILES, DESC),
	font/devlatin1/devlatin1.am (DEVLATIN1FONTSFILES, DESC),
	font/devutf8/devutf8.am (DEVUTF8FONTSFILES, DESC),
	font/devps/devps.am (DESC, prologue, zapfdr.pfa, symbolsl.pfa),
	font/devdvi/devdvi.am (DESC), font/devlbp/devlbp.am (DESC),
	font/devlj4/devlj4.am (DESC): Do it.

2018-02-28  Werner LEMBERG  <wl@gnu.org>

	* configure.ac: Activate silent Makefile rules.

2018-02-28  Werner LEMBERG  <wl@gnu.org>

	Minor compilation warnings.

	* src/devices/xditview/draw.c: Don't declare `MaxFontPosition'.

	* src/roff/troff/input.cpp (psbb_locator::context_args): Avoid
	shadowing of `buf'.

2018-02-28  Werner LEMBERG  <wl@gnu.org>

	* src/roff/troff/env.cpp: s/HYPHEN_/HYPHEN_NOT/ for clarification.

2018-02-26  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Update installation doc.

	* INSTALL.REPO: mention that 'pkg-config' is a dependency.

	* INSTALL.extra: add dependency 'makeinfo' and optional
	dependencies 'pkg-config' and 'uchardet'.

	* TESTS: move to doc/automake_migration_tests.txt

	* INSTALL.gen: remove, this file is redundant with the 'INSTALL'
	file from gnulib.

2018-02-02  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Update 'gnulib' submodule.

	* gnulib: now points on cf56f8f618c48cfadd2499ced58574633d12f129
	from 'gnulib' repository.

2018-02-02  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Use gnulib script 'git-version-gen' to define groff's version

	* bootstrap.conf: add 'git-version-gen' script.

	* configure.ac: suppress 'GROFF_VERSION_STRING' and replace it by
	the script.  If the current commit corresponds to a tag, then the
	version is simply the tag name.  Otherwise the version has the
	format: <tag>-<nb_commits_from_latest_tag>-<commit sha1>.  The
	version is now stored in '.version'.

	* REVISION: removed.

	* VERSION: removed.

	* Makefile.am: define 'MAJOR_VERSION', 'MINOR_VERSION' and
 	'REVISION'.

	* src/libs/libgroff/libgroff.am: use 'MAJOR_VERSION',
	'MINOR_VERSION' and 'REVISION', add dependency on '.version'.

	* src/roff/troff/troff.am: ditto.

	* contrib/mom/om.tmac-u (short_revision): new string that extracts
	the first digit of the revision, to be used when checking groff
	version.

2018-01-18  Deri James  <deri@chuzzlewit.myzen.co.uk>

	On reflection using an array for Filter is not optimal.

	* src/devices/gropdf.pl: revert single line from commit
	18fd1fd0bf05eb9a5ba0d2be1a655a044662a8bf.

2018-01-17  Deri James  <deri@chuzzlewit.myzen.co.uk>

	All values should be 3 decimals

	* src/devices/gropdf.pl: for values approaching zero values
	in the for 0.nnnnnnE-nn could be written, not valid syntax for
	PDF. Make all values rounded to 3 decimals, becomes 0.000.

	Also changed stream Filter dictionary entry to an array.

2018-01-14  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Fix tarball generation ('make distcheck'  failed)

	* src/devices/xditview/xditview.am: add .h created by commit
	382ab4af269a1dea422c8f9bb5c67a065d026deb to EXTRA_DIST

	* contrib/mm/mm.am: restore distribution of files removed by
	commit 445bf58765b759546e238a235651eb0bf5b34325.

2018-01-13  Ingo Schwarze <schwarze@openbsd.org>

	Makefile.am: Re-add -F and -M flags needed to build out of src.

2018-01-13  Ingo Schwarze <schwarze@openbsd.org>

	[mdoc]: rewrite the implementation of the .Lk macro

	* tmac/doc.tmac-u (Lk): Rewrite.

	The old implementation was written before the big mdoc
	rewrite for groff-1.17.  In contrast to most other macros,
	it was never updated to use the new techniques.
	This new implementation makes .Lk callable, makes trailing
	punctuation work in the normal way, and makes the style of
	the implementation consistent with other macros.

	It also removes the feature of automatically switching
	between in-line and displayed rendering depending on the
	length of the link because that was inconsistent across
	output modes and counter-intuitive, resulting in ugly
	output for many existing real-world manual pages.
	It now always renders in-line.  Use .D1 Lk where desired.

	Merging http://savannah.gnu.org/bugs/?52849
	OK wl@gnu, jmc@openbsd, bentley@openbsd

2017-12-14  G. Branden Robinson <g.branden.robinson@gmail.com>

	man pages: Comment compatibility-mode switching.

	The '.do' and '.cp' requests (both groffisms) are some of the
	more obscure features of groff's own man page corpus.
	Consequently, they get cargo-culted around, within and outside
	groff.  Thanks to Werner Lemberg for the discussion, which
	revealed (to me) that groff ships with compatibility mode on by
	default on Solaris 10 and 11.

	Fix bug https://savannah.gnu.org/bugs/?52444.

2017-11-30  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/roff/troff/input.cpp:
	Make writers to stderr identify themselves.

	* font/devpdf/util/BuildFoundries.pl:
	Same; also refactor all diagnostics into Notice(), Warn(), and
	Die() functions, which delegate their common message-printing to
	Msg().

	Fix part of bug https://savannah.gnu.org/bugs/?52463.

2017-11-21  G. Branden Robinson <g.branden.robinson@gmail.com>

	man pages: Fix compatibility-mode problems.

	* contrib/gperl/gperl.1.man: Use idiomatic .BI macro instead of
	  leading an input line with a font escape followed by a dot,
	  the interpretation of which differs based on compatibility
	  mode.

	* src/preproc/soelim/soelim.1.man: Make .mso request only after
	  compatibility mode is turned off.

2017-11-19  G. Branden Robinson <g.branden.robinson@gmail.com>

	* Makefile.am: Protect arguments to "tr" from globbing.

	Prevents errors from tr during man page generation and possible
	incorrect program prefixing in those pages if, for example, some
	doofus has directories called "A", "B", ...  hanging around in
	the build tree.

2017-11-18  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/groff_mdoc.7.man: Use unstripped symbol names.

	Fix bug https://savannah.gnu.org/bugs/?52442.

2017-11-18  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/include/.gitignore: Ignore config.hin~ files.

2017-11-18  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

	test-groff.in: Enable backtraces and all warnings by default.

	Fix bug https://savannah.gnu.org/bugs/?51482.

2017-11-18  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/**: Migrate macro package diagnostics away from `quotes'.

2017-11-15  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/libs/libgroff/new.cpp: Quieten compiler warning.

	Define sized version of overloaded delete operator.  Duplicate
	code from unsized delete operator because simply calling through
	to it provokes another warning, -Wdelete-incomplete.

	Fix rest of https://savannah.gnu.org/bugs/?52335.

2017-11-12  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Better handle glyphs in font positions > 255

	* src/devices/gropdf/gropdf.pl: Improve handling
	when glyphs above 255 are used.

2017-11-12  Deri James  <deri@chuzzlewit.myzen.co.uk>

	gropdf should load ALL 'download' files

	* src/devices/gropdf/gropdf.pl: only the first 'download' file
	found was loaded, it should load all found.

2017-11-12  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/libs/libxutil/DviChar.c: Initialize "buckets" field of
	structs.

	Resolves missing-field-initializers warnings.

2017-11-12  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/strip.sed: Stop rewriting symbol names.  A substitution
	originally intended to strip the "doc-" prefix off of mdoc macro
	and string names unintentionally caught some mom stuff.
	Harmlessly in this instance, but with potentially surprising
	future effects.  Remove (only) this substitution per discussion
	in
	https://lists.gnu.org/archive/html/groff/2017-11/msg00055.html
	et sequentia.

2017-11-11  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

	* src/devices/grolbp/lbp.cpp (lbp_printer::setfillmode): Address
	  misleading indentation warning.

	* src/roff/troff/mtsm.cpp (mtsm::push_state, mtsm::pop_state):
	  Same.  Only flush standard error if we just wrote to it,
	  instead of unconditionally.

	Fix bug https://savannah.gnu.org/bugs/?51483.

2017-11-11  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/utils/xtotroff/xtotroff.c: Mark private function static.

2017-11-11  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/libs/libxutil/xmalloc.c: Quieten gcc warning.  Mollify
	-Wmissing-prototypes for xmalloc() in single-function file.

2017-11-11  G. Branden Robinson <g.branden.robinson@gmail.com>

	gxditview: Migrate extern declarations to headers.

	Also mark some private functions as static.

2017-11-11  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

	src: Declare function protypes where necessary.

	Fix bug https://savannah.gnu.org/bugs/?51513.

2017-11-10  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

	mom: Abort early with diagnostic in compatibility mode.

	Fix bug https://savannah.gnu.org/bugs/?52333.

2017-11-10  G. Branden Robinson <g.branden.robinson@gmail.com>

	* contrib/**: Migrate diagnostics away from `quotes'.

2017-11-09  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/**: Migrate diagnostics away from `these quotes'.

	Fix bug https://savannah.gnu.org/bugs/?52374.

2017-11-07  G. Branden Robinson <g.branden.robinson@gmail.com>

	* tmac/strip.sed: Remove nilpotent capture from address.

2017-11-05  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	`preconv': fix usage of lib `uchardet'.

	* src/preproc/preconv/preconv.cpp (detect_file_encoding): Fix
	usage of uchardet 0.0.1, which may fail but return an empty string
	instead of a null pointer, and fix some incorrect error
	managements that might cause memory leaks.

2017-11-05  G. Branden Robinson <g.branden.robinson@gmail.com>

	* font/devpdf/devpdf.am: Silence warning from grep during clean.

2017-11-04  G. Branden Robinson <g.branden.robinson@gmail.com>

	* Makefile.am: Drop unnecessary -F and -M flags from pdfmom
	call.

2017-11-02  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

	man/groff_diff.7.man: Correct the explanation of the request
	".itc"--it was backwards.

	Fix bug https://savannah.gnu.org/bugs/?51502.

2017-11-02  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

	test-groff.in: Recognize additional contrib tmacs.

	Fix bug https://savannah.gnu.org/bugs/?51598.

2017-11-02  G. Branden Robinson <g.branden.robinson@gmail.com>

	* Makefile.am: Force build to generate test-groff script.

2017-11-02  G. Branden Robinson <g.branden.robinson@gmail.com>

	* font/devpdf/devpdf.am: Silence warning from grep during build.

2017-11-02  G. Branden Robinson <g.branden.robinson@gmail.com>

	* doc/doc.am: Fix build of pic.html from clean tree.

2017-11-02  G. Branden Robinson <g.branden.robinson@gmail.com>

	* m4/groff.m4: Kill whitespace in macro diagnostic.

2017-11-01  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

	src/roff/grog/subs.pl: Fix typo in usage message.

	Fix bug https://savannah.gnu.org/bugs/?51540.

2017-10-28  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

	m.tmac: Fix some formatting and textual issues.
	* Protect full stops in strings \*[Letns!{1,2,10,11}].
	* Remove extraneous whitespace from string \*[Pg_type!1].

	Fix bug https://savannah.gnu.org/bugs/?51610.

2017-10-22  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

	refer-mm.tmac: Protect full stop in abbreviation of "ed.".

	Fix bug https://savannah.gnu.org/bugs/?51611.

2017-10-22  G. Branden Robinson <g.branden.robinson@gmail.com>

	* src/preproc/html/pre-html.cpp: Fix grammar in usage message.
	When used attributively, e.g. as an adjectival phrase,
	"command-line" should be hyphenated.

2017-10-22  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

	pdfpic: Suppress warning if in compatibility mode.

	Fix bug https://savannah.gnu.org/bugs/?51945.

2017-10-22  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

	www.tmac: Rename font 'C' to 'CR'; define 'CR'.

	The font name 'C' ('CW') is not a part of groff's fonts.

	Fix bug https://savannah.gnu.org/bugs/?51417.
	Also see https://savannah.gnu.org/bugs/?51426.

2017-10-04  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Fix build on MacOS X

	See https://savannah.gnu.org/bugs/?49651

2017-09-11  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Build from git: Make `configure' fail if `yacc' is not found.

	* m4/groff.m4 (GROFF_PROG_YACC): look for (in this order) `byacc',
	`bison -y', `yacc'.  Set `YACC' to `missing' is nothing is found
	and generate an error.  Don't generate an error if build is not
	done from git as tarball already distribute files generated by
	`yacc'.

2017-09-02  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Update `gnulib' submodule with latest version.

	* gnulib: now points on 07a187be7f66d3ced66587405f18205971c762e9
	from `gnulib' repository.

2017-09-02  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Fix .gitignore files for in-source build.

	Fix bug https://savannah.gnu.org/bugs/?51415.

2017-09-01  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Fix build on MacOS X

	* Makefile.am: define `SED' command with LANG and LC_ALL set to C.
	* contrib/mm/mm.am: use it.
	* doc/doc.am: Ditto.

	Fix bug https://savannah.gnu.org/bugs/?49649

2017-08-30  Colin Watson <cjwatson@debian.org>

	`BuildFoundries' should not be installed.

	* font/devpdf/devpdf.am: remove installation of generated script
	`BuildFoundries'.

2017-08-30  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

	pic2graph.1.man: Fix wrong macro for e-mail addresses.

	Fix bug https://savannah.gnu.org/bugs/?51110.

2017-08-30  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

	groff_diff(7): Remove a repeated word.

	Fix bug https://savannah.gnu.org/bugs/?51077.

2017-08-30  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

	groff_tmac(5): Fix double dot before request.

	Fix bug https://savannah.gnu.org/bugs/?51070.

2017-08-28  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

	groff.texi: remove repeated words.

	Fix bug https://savannah.gnu.org/bugs/?51046.

2017-08-28  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

	groff_man(7) manual page: Fix explanation of the ".itc" request.

	See bug at https://savannah.gnu.org/bugs/?51043.

2017-08-28  Ingo Schwarze  <schwarze@usta.de>

	groff_man(7) manual page: recommendations for escape sequences.

	See bug at https://savannah.gnu.org/bugs/?51021.

2017-08-28  Ingo Schwarze  <schwarze@usta.de>

	groff_char(7) manual: fix table "7-bit Character Codes"

	See bug at https://savannah.gnu.org/bugs/?51020.

2017-08-28  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Fix troff.1 misleading definition of -w all.

	See bug at https://savannah.gnu.org/bugs/?47784.  Suggested by Kaz
	Kylheku <kaz@kylheku.com>.

2017-08-25  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

	`preconv --version' crashes.

	See bug at: https://savannah.gnu.org/bugs/?51587.

	* src/preproc/preconv/preconv.cpp: Add a missing comma in the
	argument list of "printf".

2017-08-25  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

	Fix bug: `.itc' request breaks subsequent `.it' requests.

	See bug at: https://savannah.gnu.org/bugs/?51376.  Using `.itc'
	lets all later uses of `.it' behave like `.itc', that is,
	interrupted text line ending with \c is not counted as a separate
	line.

	* env.cpp: Restore input_trap state to normal when '.it' is
	called.

2017-08-25  Bjarni Ingi Gislason <bjarniig@rhi.hi.is>

	Fix a part of a virtual (pseudo) structure in "tty.tmac".

	* tmac/tty.tmac: Fix warning:  ".../git/groff/tmac/tty.tmac:19:
	warning: unbalanced .el request"

2017-08-25  Ingo Schwarze  <schwarze@usta.de>

	`tty-char.tmac': focus on meaning rather than graphical shape

	* tmac/tty-char.tmac: add ASCII renderings for six missing
	mathematical symbols

2017-08-22  Ingo Schwarze  <schwarze@usta.de>

	`tty-char.tmac': focus on meaning rather than graphical shape

	* tmac/tty-char.tmac: Switch the policy from trying to imitate the
	characters' graphical shapes, which resulted in unintelligible
	renderings in many cases, to transliterations conveying the
	characters' meanings.  One benefit is making these characters
	usable for portable manual pages.

2017-08-21  Deri James  <deri@chuzzlewit.myzen.co.uk>

	'gropdf' does not correctly load new ghostscript fonts

	See bug at: https://savannah.gnu.org/bugs/?50989. Since ghostscript
	9.21 the fonts supplied have changed from .pfb to .pfa type (with a
	raw binary section). These failed to be properly loaded.

	* src/devices/gropdf/gropdf: Changes to handle raw binary section in
	a .pfa type font.

2017-08-18  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	`pdfmom' man page incorrectly displayed.

	* src/devices/gropdf/pdfmom.1.man: Remove `]' character mistakenly
	added at the beginning of the file.

2017-08-18  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Incorrect font name for CBI in Foundry.in.

2017-08-15  Ingo Schwarze  <schwarze@usta.de>

	Fix build if `configure' check for `fprintf-posix' fails.

	See bug at: https://savannah.gnu.org/bugs/?51554.  If tests for
	posix compliance of fprintf from `gnulib_m4/fprintf-posix.m4'
	fail, a replacement function of `fprintf' is used.  Consequently,
	all executables that use this function must link against the
	gnulib (`libgnu.a').  The bug was introduced by commit
	fa41eeba06987a12bc0434f8b51896d4618a3997.

	* src/devices/xditview/xditview.am
	* src/preproc/eqn/eqn.am
	* src/preproc/pic/pic.am
	* src/preproc/preconv/preconv.am
	* src/preproc/refer/refer.am
	* src/preproc/soelim/soelim.am
	* src/preproc/tbl/tbl.am
	* src/utils/addftinfo/addftinfo.am
	* src/utils/hpftodit/hpftodit.am
	* src/utils/indxbib/indxbib.am
	* src/utils/lkbib/lkbib.am
	* src/utils/lookbib/lookbib.am
	* src/utils/pfbtops/pfbtops.am
	* src/utils/tfmtodit/tfmtodit.am
	* src/utils/xtotroff/xtotroff.am: link against libgnu.a

	* INSTALL.REPO: recommend the autoconf and automake versions used
	during automake migration rather than the minimum versions.

2017-08-04  Deri James  <deri@chuzzlewit.myzen.co.uk>

	See bug at: https://savannah.gnu.org/bugs/?51568

	* src/devices/gropdf/gropdf: Further 'fix' to handle those octal
	characters. See comment #5 - thank you Bjarni.

2017-07-31  Deri James  <deri@chuzzlewit.myzen.co.uk>

	See bug at: https://savannah.gnu.org/bugs/?51568
	
	* src/devices/gropdf/gropdf: previous 'fix' was too narrow, all
	'\' characters should be escaped. Also there was an unwanted 
	interaction with code in routine 'do_t'. Sometimes, do_C, when 
	the named glyph is mapped to a chr < 32, this is encoded as octal
	\nnn, so in this case the '\' must not be escaped.
	
2017-07-25  Deri James  <deri@chuzzlewit.myzen.co.uk>

	If input text contained string which could be interpreted as
	escaped octal (\ddd) a pdf viewer would interpret as an octal
	character.  See bug at: https://savannah.gnu.org/bugs/?51568
	
	* src/devices/gropdf/gropdf: protect text which resembles \ddd
	by escaping with extra '\'.
	
2017-07-12  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Use uchardet library in `preconv' to detect input file encoding

	* m4/groff.m4 (GROFF_UCHARDET): new macro that use pkg-config to
	check if uchardet library is available and define new option
	`--with-uchardet':
	- If `yes' is passed and uchardet is not found, configure fails.
	- If `no' is passed we don't use uchardet and don't display any
	warning.
	- If `auto' (or any other option) is passed of if --with-uchardet
	is not passed, we use uchardet if available, otherwise the build
	goes on but a warning is displayed at the end of the configuration
	phase.

	* configure.ac: use pkg-config and `GROFF_UCHARDET' to detect the
	presence of uchardet library.

	* src/preproc/preconv/preconv.am: link against uchardet library if
	available.

	* src/preproc/preconv/preconv.cpp (detect_file_encoding): new
	function that uses uchardet library to detect input file encoding.
	(do_file): `detect_file_encoding'.

	* src/preproc/preconv/preconv.1.man: update `preconv'
	documentation.

	See https://savannah.gnu.org/bugs/?51330

2017-07-12  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Add gnulib module fprintf-posix

	* bootstrap.conf: do it.

	* Fix compilation in some files that needed inclusion of
	`config.h'.

	See https://savannah.gnu.org/bugs/?51330

2017-05-09  Bertrand Garrigues <bertrand.garrigues@laposte.net>

	Package `ghostscript' 9.21 renamed some fonts installed in
	`/usr/share/ghostscript/9.21/Resource/Font', e.g. URWGothicL-Demi
	renamed to URWGothic-Demi, and droped the installation of URW
	fonts in `/usr/share/fonts/type1/gsfonts/', breaking font
	generation in `font/devpdf/util/BuildFoundries.pl'.

	* m4/groff.m4 (GROFF_URW_FONTS_PATH): New option
	`--with-urw-fonts-dir' to pass a custom path to URW fonts.
	(GROFF_URW_FONTS): search the presence of URW fonts by checking if
	file `a010013l.pfb' exists in the paths given by `gs -h', in the
	default paths used in `Foundry.in' and in the path given with
	option `--with-urw-fonts-dir'.
	(GROFF_URW_FONTS_CHECK): print a warning at the end of the
	configuration phase if no URW fonts were found.

	* configure.ac: call new macros `GROFF_URW_FONTS_PATH',
	`GROFF_URW_FONTS' and `GROFF_URW_FONTS_CHECK'.

	* font/devpdf/Foundry.in: add new basic fonts names and pass
	custom URW fonts path `urwfontsdir'.

	* font/devpdf/devpdf.am: subsitute `urwfontsdir' in `Foundry'
	generation.

	Fixes https://savannah.gnu.org/bugs/?50786

2017-05-04  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Fixes for gropdf
	
	* src/devices/gropdf/gropdf.pl: Escape '(' and ')' if
	used in a bookmark, and ignore relative move 'h' if 
	followed by absolute move 'H' in groff intermediate output.
	
2017-04-29  Ingo Schwarze  <schwarze@usta.de>

	groff_char(7): improve description of ASCII characters

	* man/groff_char.7.man: improve description of ASCII
	characters that do not render as themselves

	See https://savannah.gnu.org/bugs/?50898

2017-04-28  Osamu Sayama

	lkbib with empty file dumps core

	* src/libs/libbib/index.cpp: Test if argument to malloc(3)
	is zero.

	See https://savannah.gnu.org/bugs/?48433

2017-04-28  David Gilman

	Typo in groff.texi

	* doc/groff.texi: Dp instead of DP used

	https://savannah.gnu.org/bugs/index.php?42251

2017-04-28  Rich Burridge

	"grops -c a" dumps core

	* src/devices/grops/ps.cpp: conversion specifier %s changed
	to %1 (errprint() uses special syntax different from
	printf(3))

	https://savannah.gnu.org/bugs/?42190

2017-04-28  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>

	Macro "itc" is needed to make escape "\c" useful

	* tmac/an-old.tmac: .it changed to .itc

	https://savannah.gnu.org/bugs/?42907

2017-04-28  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>

	First italic correction (\,) is absent in macros IR and IB

	* tmac/an-old.tmac: Italic correction added

	https://savannah.gnu.org/bugs/?42906

2017-04-13  Ingo Schwarze  <schwarze@usta.de>

	* tmac/doc.tmac-u: Make .Lk with more than two arguments
	mdoc(7) conform

	Use the second and following arguments as the link text.

	Do not mark up the following colon with \fI.

	Handle any number of trailing delimiters.

	Problem reported by Anthony Bentley <bentley@openbsd.org>,
	fixed by Ingo Schwarze <schwarze@usta.de>.

	https://savannah.gnu.org/bugs/?50789

2017-04-12  Werner LEMBERG  <wl@gnu.org>

	Update German hyphenation patterns.

	* tmac/de.tmac: Add more hcode values.
	No longer use `hyphenex.det'.
	* tmac/hyphen.den, tmac/hyphen.det: Updated to `dehyph-exptl-0.41'.
	* tmac/hyphenex.det: Removed, no longer needed.
	* tmac/tmac.am (TMACNORMALFILES): Updated.

2017-04-10  Ingo Schwarze  <schwarze@usta.de>

	* tmac/doc.tmac-u: Punctuation handling of .Lk fixed

	The implementation of the groff_mdoc(7) .Lk (hyperlink) macro
	contains code to make sure that the second argument is not
	punctuation before treating it as a link text, but the test
	can never lead to the result "punctuation" because the
	initialization of the global variable doc-width was missing
	before the call to doc-get-arg-type.  Consequently, even "."
	was not recognized as punctuation.

	Problem reported by Anthony Bentley <bentley@openbsd.org>,
	fixed by Ingo Schwarze <schwarze@usta.de>.

	https://savannah.gnu.org/bugs/?50771

2017-04-07  Werner LEMBERG  <wl@gnu.org>

	* tmac/hyphenex.us: Updated to current release from TeXLive.

2017-02-23  Bertrand Garrigues  <bertrand.garrigues@laposte.net>

	* bootstrap: update with latest version from gnulib.
	* gnulib: update the git submodule with latest version (commit
	4084b3a1094372b960ce4a97634e08f4538c8bdd from gnulib).

2017-02-18  Colin Watson  <cjwatson@debian.org>

	* src/preproc/eqn/main.cpp: Define EQ and EN if they are not already
	defined, to appease "groff -wmac".
	* src/preproc/pic/main.cpp: Likewise for PS and PE.

	Fixes: http://bugs.debian.org/495713

2017-02-16  Ingo Schwarze  <schwarze@usta.de>

	mdoc %T: use typographic quotes

	* tmac/doc.tmac-u: Changed \*[q] to \*[Lq] and \*[Rq]

	Citing Anthony J. Bentley:

	The below patch causes -mdoc to generate typographic quotes
	around a %T (reference title) instead of straight quotes.

	I also submitted similar diffs to mandoc and heirloom troff
	(which haven't been committed yet).  It would be nice for
	the major implementations not to differ here, and the change
	is trivial. 

	It's worth noting that groff's refer(1) already uses typographic
	quotes around %T with my -ms documents.

	https://savannah.gnu.org/bugs/?43553
	http://comments.gmane.org/gmane.comp.tools.mdocml.devel/723 
	https://github.com/n-t-roff/heirloom-doctools/pull/6

2017-02-16  Ingo Schwarze  <schwarze@usta.de>

	mdoc \*[Lq], \*[Rq]: map to \[lq], \[rq] for all terminal
	devices

	* tmac/doc-nroff-u: .ds Lq \[lq], .ds Rq \[rq]

	If you use \[lq] and \[rq] directly in your document, the
	quotes already render nicely for all terminal devices:
	as U+201C and U+201D for devutf8 and as ASCII 0x22 (") for
	devascii and devlatin1.
	So it is not quite clear why doc-nroff should avoid
	\[lq] and \[rq] when resolving \[Lq] and \[Rq] for devascii
	and devlatin1. Quite to the contrary, many people seem to
	consider "``" and "''" ugly renderings because they look
	unbalanced.

	See

	https://savannah.gnu.org/bugs/?43554

2017-02-16  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>

	Use the traditional (portable) method of using a backslash
	after '\{'

	* contrib/mm/m.tmac, tmac/e.tmac-u,
	  tmac/s.tmac: Add '\' after "\{"

	See

	https://savannah.gnu.org/bugs/?49917

2017-02-16  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>

	Use explicit \s±n after a variable string instead of \s0

	* tmac/e.tmac-u: Change \s0 to \s+3

	See

	https://savannah.gnu.org/bugs/?49915

2016-12-29  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Remove duplicate '-e' from gropdf manual.
	
	* src/devices/gropdf/gropdf.1.man: Remove first '-e'.
	
2016-11-25  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Remove incorrect info from gropdf manual.
	
	* src/devices/gropdf/gropdf.1.man: Remove references
	to postscript.
	
2016-11-22  George HELFFRICH  <ghfbsd@gmail.com>

	[me]: Fix alignment of `(c' macro (#43306).

	* tmac/e.tmac-u ((c): Properly initialize environment.

2016-11-20  George HELFFRICH  <ghfbsd@gmail.com>

	[me] Fix vertical spacing of `(b' macro (#42217).

	* tmac/e.tmac-u (@k): Apply pre-spacing conditionally.
	()b): Updated.

2016-11-19  George HELFFRICH  <ghfbsd@gmail.com>

	[me] Fix remaining bugs with line numbering (#49650).

	* tmac/e.tmac-u (nm): Redefine.
	(.n1, .n2): Update so all environments affected.
	(.ip): Fix double numbering.
	(.)c, .)l): Restore numbering after diversion included.

2016-11-01  Deri James  <deri@chuzzlewit.myzen.co.uk>

	gropdf remaps characters to position 13 (#48986).
	
	* src/devices/gropdf/gropdf: Do not remap anything to chr(13).

2016-11-01  Deri James  <deri@chuzzlewit.myzen.co.uk>

	pdfmom was not including $preconv in the initial groff run.
	
	* src/devices/gropdf/pdfmom.pl: Include $preconv in first 
	groff run which resolves forward pdf references.

2016-10-05  Ingo Schwarze  <schwarze@usta.de>

	* tmac/doc.tmac-u: Simplify behaviour of .Bl -tag
	* tmac/groff_mdoc.7.man: Update documentation to the new
	behaviour of .Bl -tag

	If an mdoc(7) .Bl -tag macro lacks the -width argument, the
	body indentation is calculated separately for each child .It
	macro.  Neither the Heirloom nor the mandoc(1) implementation
	of the mdoc(7) language show such behaviour; both use a
	constant default width for the whole list in that case.

	Apart from doubts whether lists with variable indentation are
	typographically sound in the first place, support for variable
	widths in groff is so restricted that it's practically
	useless.  For each .It, the width will be the default width of
	whatever happens to be the leading macro after the .It, or of
	.No if .It is not followed by a macro.

	See

	https://savannah.gnu.org/bugs/index.php?49272

	and

	http://lists.gnu.org/archive/html/groff/2016-10/msg00006.html


2016-09-09  Werner LEMBERG  <wl@gnu.org>

	* tmac/sv.tmac: Fix `.hy' settings (#48904).

	The Swedish patterns allow hyphenation after the first character and
	before the last two characters, not vice versa.

2016-09-09  Werner LEMBERG  <wl@gnu.org>

	troff: Fix hyphenation (#48904).

	This commit fixes two bugs present from the very beginning: troff
	(a) didn't allow to hyphenate words shorter than 4 characters
	(ignoring `.hy' settings), and (b) never tried to hyphenate after
	the first character due to wrong handling of the `.hy' settings.

	* src/roff/troff/env.cpp (environment::hyphenate_line): Use
	hyphenation flags to determine the minimum word length considered
	for hyphenation.
	(hyphenate): Fix handling of `HYPHEN_FIRST_CHARS'.

2016-07-29  Colin Watson  <cjwatson@debian.org>

	Implement `SOURCE_DATE_EPOCH' for reproducible builds.

	* src/include/curtime.h: New file.
	* src/libs/libgroff/curtime.cpp: New file.
	* src/libs/libgroff/libgroff.am (libgroff_a_SOURCES): Add
	src/libs/libgroff/curtime.cpp.

	* src/roff/troff/input.cpp (init_registers): Use `current_time'
	instead of `time(0)'.
	* src/devices/grohtml/post-html.cpp
	(html_printer::do_file_components): Likewise.
	(html_printer::~html_printer): Likewise.
	* src/devices/grops/ps.cpp (ps_printer::~ps_printer): Likewise.
	* src/devices/gropdf/gropdf.pl: Use `$ENV{SOURCE_DATE_EPOCH}` if
	available in preference to `time`.

	* doc/groff.texi (Environment): Document `SOURCE_DATE_EPOCH'.
	* src/devices/grohtml/grohtml.1.man (ENVIRONMENT): Likewise.
	* src/devices/gropdf/gropdf.1.man (ENVIRONMENT): Likewise.
	* src/devices/grops/grops.1.man (ENVIRONMENT): Likewise.

2016-04-19  Carsten Kunze  <carsten.kunze@arcor.de>

	eqn: Fix problem with explicite spacing before unary operator

	* src/preproc/eqn/list.cpp (list_box::compute_metrics): Change
	item spacing type from BINARY to ORDINARY also when previous
	type is SUPPRESS_TYPE.

	As reported in

	http://lists.gnu.org/archive/html/groff/2016-04/msg00024.html

	by Douglas McIlroy <doug@cs.dartmouth.edu>

	an implicite space is added between an unary operator and it's
	operand when an explicite space is put before the unary
	operator.  Unary operators are initially set up as binary.
	Depending on the preceding element their type can be changed
	to unary.  This did not happen when an explicite space ('~' or
	'^') had been before that operator.

2016-02-16  Bálint Réczey  <balint@balintreczey.hu>

	Fix many malloc/new vs. free/delete/delete[] mismatches (#47164)

	* src/devices/grops/ps.cpp (ps_font::~ps_font,
	ps_printer::define_encoding): Use `free'.
	* src/devices/grops/psrm.cpp (resource::~resource,
	resource_manager::output_prolog, resource_manager::supply_resource,
	resource_manager::read_download_file): Ditto.

	* src/include/ptable.h (PTABLE::~PTABLE, PTABLE::define): Ditto.

	* src/libs/libgroff/searchpath.cpp
	(search_path::open_file_cautious): Ditto.

	* src/libs/libgroff/string.cpp: Include `stdlib.h'.
	(string::extract): Use `malloc'.

	* src/preproc/eqn/box.cpp (quoted_text_box::~quoted_text_box): Use
	`free'.

	* src/preproc/eqn/lex.cpp (definition::~definition,
	macro_input::~macro_input, top_input::~top_input, do_definition):
	Ditto.

	* src/preproc/eqn/main.cpp (main): Ditto.

	* src/preproc/eqn/other.cpp: Include `stdlib.h'.
	(size_box::~size_box, font_box::~font_box): Use `free'.

	* src/preproc/eqn/text.cpp: Include `stdlib.h'.
	(box::set_spacing_type, special_char_box::~special_char_box,
	split_text): Use `free'.

	* src/preproc/grn/main.cpp (conv): Use `free'.

	* src/preproc/html/pre-html.cpp (get_resolution): Ditto.

	* src/preproc/pic/lex.cpp (macro_input::~macro_input,
	argument_macro_input::~argument_macro_input, for_input::~for_input):
	Ditto.

	* src/preproc/pic/main.cpp (do_picture): Ditto.

	* src/preproc/pic/object.cpp: Include `stdlib.h'.
	(text_piece::~text_piece, string_list::~string_list): Use `free'.

	* src/preproc/pic/pic.ypp (placeless_element, element, text, label,
	expr_not_lower_than): Ditto.

	* src/preproc/pic/troff.cpp (troff_output::reset_color): Ditto.

	* src/preproc/preconv/preconv.cpp (check_coding_tag): Ditto.

	* src/preproc/soelim/soelim.cpp (do_file): Ditto.

	* src/preproc/tbl/table.cpp (text_entry::~text_entry): Ditto.

	* src/roff/groff/groff.cpp (possible_command::~possible_command,
	possible_command::set_name): Ditto.

	* src/roff/troff/env.cpp (hyphen_trie::read_patterns_file): Ditto.

	* src/roff/troff/node.cpp (suppress_node::tprint): Ditto.

2016-02-16  Bálint Réczey  <balint@balintreczey.hu>

	Use `malloc' in `strsave'; use `free' for returned pointers (#47164).

	* src/libs/libgroff/font.cpp (text_file::~text_file): Use `free'.

	* src/libs/libgroff/searchpath.cpp (search_path::open_file): Use
	`free'.

	* src/libs/libgroff/strsave.cpp: Include `stdlib.h'.
	(strsave): Use `malloc'.

2016-02-16  Bálint Réczey  <balint@balintreczey.hu>

	Simplify memory allocation (#47162).

	Many invalid memory accesses were caught by UBSAN (e.g., invalid
	memory access in `small_temp_iterator::operator new') while
	bootstrapping hardened1-linux-amd64 Debian port in the `free_list'
	handling because it doesn't properly handle the padding between
	array elements.

	Some places were already #if 0-d out anyway.

	* src/roff/troff/input.cpp (small_temp_iterator): Remove class.
	(make_temp_iterator): Use `temp_iterator' only.

	* src/devices/grotty/tty.cpp (tty_glyph): Remove `free_list', `new',
	and `delete'.

	* src/include/color.h, src/include/color.cpp (color): Ditto.

	* src/roff/troff/env.cpp (tab): Ditto.

	* src/roff/troff/node.cpp (glyph_node): Ditto.

2016-02-15  Bálint Réczey  <balint@balintreczey.hu>

	[pre-grohtml] Fix out-of-bounds array access (#47161).

	* src/preproc/html/pre-html.cpp (char_buffer::write_upto_newline):
	Implement it.

2016-02-15  Bálint Réczey  <balint@balintreczey.hu>

	Don't use `memcpy' with NULL input or output argument (#47160).

	* src/libs/libgroff/string.cpp (string::string, string::operator=):
	Implement it.

	* src/roff/troff/input.cpp (temp_iterator::temp_iterator): Implement
	it.

2016-02-04  Carsten Kunze  <carsten.kunze@arcor.de>

	* tmac/s.tmac: Bugfix of previous commit simplified (and
	introduced redundancy removed) by use of .par*start for .QS and
	.QE.  This is consistent since any other paragraph macro is
	using .par*start.

2016-02-02  Carsten Kunze  <carsten.kunze@arcor.de>

	* tmac/s.tmac: Macros .QS and .QE changed to insert vertical
	inter-paragraph space.  A paragraph bracketed with .QS/.QE
	should appear identical to a .QP paragraph followed by .LP.

	* tmac/groff_ms.7.man, doc/groff.texi: Documentation of macros
	.QS and .QE added and .QP information improved (effect of
	registers QI and PD).

	See also discussion at groff@gnu.org, thread starting at

	http://lists.gnu.org/archive/html/groff/2016-01/msg00033.html

	Issue reported by Douglas McIlroy <doug@cs.dartmouth.edu>

2015-12-26  Carsten Kunze  <carsten.kunze@arcor.de>

	* contrib/mm/m.tmac: Disable macro misc@tag in case output
	  type is not HTML.

	This macro did cause unwanted space in case a MM macros .H
	had been followed immediately by .DS.

	(See also discussion at groff@gnu.org, thread starting at
	http://lists.gnu.org/archive/html/groff/2015-12/msg00033.html)

	Bug reported by Damian McGuckin <damianm@esi.com.au>.

2015-12-14  Werner LEMBERG  <wl@gnu.org>

	* src/preproc/eqn/text.cpp (entity_table): s/lamda/lambda/.

	Bug reported by Brian McGuinness <mcguinne@fdu.edu>.

2015-10-27  Deri James  <deri@chuzzlewit.myzen.co.uk>

	gropdf was choking on -I flag passed by groff, now uses
	these directories to search for included pdfs.
	
	* src/devices/gropdf/gropdf.pl: Handle -I flag, avoid
	  unitialised values.
	
	* src/roff/groff/groff.1.man: Include 'X pdf: pdfpic'
	
	* src/devices/gropdf/gropdf.1.man: Document -I flag
	
2015-09-10  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/subs.pl: fix comments

2015-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>

	* tmac/troffrc: Add .mso for file `pdfpic.tmac'.

2015-08-28  Bertrand Garrigues  <bertrand.garrigues@laposte.net>

	* Makefile.am:
	- Use only the naming `.section.man' for all man.pages.
	- Replace `.man.n' by `.man' only, such that no `.n' is
	generated.
	- For example, the source `groff.7.man' is transformed into
	`groff.7' in the same directory and then is by installing just
	copied into one of the suitable installed man directory.

2015-08-27  Bernd Warken  <groff-bernd.warken-72@web.de>

	* tmac/pfdpic.tmac: Add tmac file for macro `PDFPIC'.

	* tmac/tmac.am: Add new `pdfpic.tmac' file.

	* man/groff_tmac.5.man: Add definition for the new tmac.

2015-08-22  Bernd Warken  <groff-bernd.warken-72@web.de>

	* all man-pages *.man: Rename man-pages such that the man section
	number before the final `.man'.

	* all *.am: Include renaming.

	* Makefile.am: Reset `.man.n' by `.[157].man.n' with SUFFIXES
	`.[157].man .n'.

2015-08-20  Bernd Warken  <groff-bernd.warken-72@web.de>

	* Makefile.am: Fix definition of man[157]_MANS.

2015-08-13  Bernd Warken  <groff-bernd.warken-72@web.de>

	* all *.am: Correct Emacs mode `End:' instead of `End.'.

2015-08-09  Werner LEMBERG  <wl@gnu.org>

	Revert previous commit, since it doesn't work correctly yet.

2015-08-07  Bernd Warken  <groff-bernd.warken-72@web.de>

	Add section name to all man-page names.

	* Makefile.am: In `install-prefix-man' and `uninstall-prefix-man'
	change `sed' commands.  Correct saving in man[157]_MANS.

	* all *.man in source tree: Rename `manpage.man' to
	`manpage.[157].man'.

	* all makefile.am in source tree: Add new man-page file name.

2015-08-05  Bernd Warken  <groff-bernd.warken-72@web.de>

	* Makefile.am, arch/mingw/mingw.am, arch/misc/misc.am,
	* contrib/eqn2graph/eqn2graph.am, contrib/grap2graph/grap2graph,
	* contrib/pic2graph/pic2graph.am, doc/doc.am,
	* font/devX100/devX100.am, font/devX100-12/devX100-12.am,
	* font/devX75/devX75.am, font/devX75-12/devX75-12.am,
	* font/devascii/devascii.am, font/devcp1047/devcp1047.am,
	* font/devdvi/devdvi.am, font/devhtml/devhtml.am,
	* font/devlatin1/devlatin1.am, font/devlbp/devlbp.am,
	* font/devlj4/devlj4.am, font/devpdf/devpdf.am,
	* font/devps/devps.am, font/devutf8/devutf8.am,
	* font/scripts/scripts.am, man/man.am,
	* src/devices/grodvi/grodvi.am, src/devices/grohtml/grohtml.am,
	* src/devices/grolbp/grolbp.am, src/devices/grolj4/grolj4.am,
	* src/devices/gropdf/gropdf.am, src/devices/grops/grops.am,
	* src/devices/grotty/grotty.am,
	* src/include/include.am, src/libs/libbib/libbib.am,
	* src/libs/libdriver/libdriver.am, src/libs/libgroff/libgroff.am,
	* src/libs/libxutil/libxutil.am, src/preproc/grn/grn.am,
	* src/preproc/html/html.am, src/preproc/pic/pic.am,
	* src/preproc/preconv/preconv.am, src/preproc/tbl/tbl.am
	* src/preproc/refer/refer.am, src/preproc/soelim/soelim.am,
	* src/roff/groff/groff.am, src/roff/grog/grog.am,
	* src/roff/nroff/nroff.am, src/roff/troff/troff.am,
	* src/utils/addftinfo/addftinfo.am,
	* src/utils/afmtodit/afmtodit.am, src/utils/hpftodit/hpftodit.am,
	* src/utils/indxbib/indxbib.am, src/utils/lkbib/lkbib.am,
	* src/utils/lookbib/lookbib.am, src/utils/pfbtops/pfbtops.am,
	* src/utils/tfmtodit/tfmtodit.am, src/utils/xtotroff/xtotroff.am,
	* tmac/tmac.am:
	Add `Last update'.  Setup Emacs mode.

2015-07-29  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/subs.pl: Add -T for all `grog' output, also using
	-Tps when no option -T is given in the arguments.

	* src/roff/grog/grog.man: Add information about -T output.

2015-07-23  Bernd Warken  <groff-bernd.warken-72@web.de>

	* man/groff.man: Add last update.  Add link on Wikipedia on groff.
	Add link of groff tutorial by Laha.

2015-07-19  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/*.pl: Add last update.

	* src/roff/grog/subs.pl: Remove call to Perl INC::System::Simple,
	use backticks instead.
	Define &err().
	Reorder some extensions.
	Distinguish between .TH at first command for man and later on for
	ms.

2015-07-01 Peter Bray <pdb_ml@yahoo.com.au>

	Fix Savannah bug #44784.

	Compatibility Mode rendering of groff manual pages

	* m4/groff.m4 (GROFF_WITH_COMPATIBILITY_WRAPPERS): New macro to
	implement 'configure' option
	'--with-compatibility-wrappers=<value>'.  With this option the
	user can control how groff compatibility wrappers for
	vendor-provided non-GNU macro sets are installed.

	* configure.ac: Use new macro GROFF_WITH_COMPATIBILITY_WRAPPERS.

	* Makefile.am: Define tmac_*_prefix if 'compatibility_wrappers' is
	set to 'yes'.

	* tmac/tmac.am: Use 'compatibility_wrappers' to control the
	installation:

	- If set to `no', the groff-provided macro set are installed in
	<prefix>/share/groff/<version>/tmac/ with the original macro set
	name.

	- If set to `yes', the groff-provided macro set are installed in
	<prefix>/share/groff/<version>/tmac/ with a prefix of
	$(tmac_prefix) (which is usually `g') and the generated
	compatibility wrappers are installed in
	<prefix>/lib/groff/site-tmac, with the original macro set name.

	- If set to `manual', the groff-provided macro set are installed
	in <prefix>/share/groff/<version>/tmac/ with the original macro
	set name and the generated compatibility wrappers are installed in
	<prefix>/lib/groff/site-tmac, with a name of
	<macro><wrapper_suffix> (which is usually `-os').

2015-06-17  Werner LEMBERG  <wl@gnu.org>

	* tmac/tty.tmac: Fix mapping of \[bu] character for -Tutf8.

	Problem reported by carsten.kunze@arcor.de.

2015-06-15  Deri James  <deri@chuzzlewit.myzen.co.uk>

	pdfmom should use $RT_SEP as path separator.

	* src/devices/gropdf/gropdf.am: Use @RT_SEP@ as path separator.

	* src/devices/gropdf/pdfmom.pl: As above but also fix typo in regex
	for grep.

2015-05-08  Eli Zaretskii  <eliz@gnu.org>

	[groff] Make relocation really work.

	See

	  https://lists.gnu.org/archive/html/groff/2015-05/msg00000.html

	* src/roff/groff/groff.cpp: Include `relocate.h'.
	(main): Use `relocatep'.

2015-05-03  Bertrand Garrigues  <bertrand.garrigues@laposte.net>

	Fix Savannah bug #44768 (Solaris 10 compatibility issues).

	* m4/groff.m4 (GROFF_DIFF_D): new macro to check if `diff' has
	option -D, and search for `gdiff' if not (new variable DIFF_PROG
	will contain the `diff' program to be used).

	* m4/groff.m4 (GROFF_HAVE_TEST_EF_OPTION): new macro to check if
	`test' supports the option -ef (created new variable
	HAVE_TEST_EF_OPTION).

	* m4/groff.m4 (GROFF_BASH): new macro to search for `bash' (new
	variable BASH_PROG will contain the full path to `bash' or
	`/bin/sh' if `bash' was not found).

	* configure.ac: use the 3 new macros defined in m4/groff.m4.

	* contrib/gdiffmk/gdiffmk.am: set HAVE_TEST_EF_OPTION, BASH_PROG,
	DIFF_PROG in the generated script `gdiffmk'.

	* contrib/gdiffmk/gdiffmk.sh:
	- Fix incorrect space after '!' in sed script regex.
	- `test -ef' is not portable: If `bash' is not available and the
	shell does not support `test -ef', the option to pass a third
	argument as the output file is disabled.
	- Report an error if `diff' does not support -D option.
	- GNU diff and Solaris diff support -D, but #ifndef / #endif are
	treated differently (GNU adds a '!' in the #endif): modify the
	regexs in the sed script accordingly.

2015-05-01  Werner LEMBERG  <wl@gnu.org>

	* tmac/tmac.am (TMACNORMALFILES): Add `zh.tmac'.

2015-04-30  Darcy SHEN  <sadhen1992@gmail.com>

	Fix Savannah bug #44941.

	* tmac/zh.tmac: New file to support basic Chinese (both simplified
	and traditional).

2015-04-22  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Fix Savannah bug #44891.

	* src/devices/gropdf/gropdf.pl: If module Compress::Zlib is not
	available fall back to producing uncompressed PDF and output a
	warning.

2015-04-22  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>

	Fix Savannah bug #44894.

	* tmac/strip.sed: Add a `generated file' warning.

2015-04-21  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Fix Savannah bug #44890.
	Patch by Peter Bray.

	* font/devpdf/devpdf.am: Don't use 'find -maxdepth'.

2015-03-07  Ingo Schwarze  <schwarze@openbsd.org>

	[mdoc] Fix Savannah bug #44733.

	Prevent mdoc(7) Bl with trailing -width or -offset from picking up
	old args.

	* tmac/doc.tmac-u (doc-do-Bl-args): When checking whether there is
	another argument to a Bl macro, do not inspect the argument list
	because it is never cleaned and may contain arguments from previous
	macro invocations.  Instead, inspect the argument count which is
	always up to date.

2015-04-10  Daiki Ueno  <ueno@gnu.org>

	Fix link error on NetBSD 6.

	Reported by carsten.kunze@arcor.de in:
	<https://lists.gnu.org/archive/html/groff/2015-04/msg00000.html>.
	The problem can also be reproduced if gl_cv_func_wcwidth_works=no
	is passed to configure.

	* src/preproc/grn/grn.am (grn_LDADD): Change the link order of
	libgroff.a and lib/libgnu.a according to dependency.
	* src/roff/troff/troff.am (troff_LDADD): Likewise.

2015-04-08  Werner LEMBERG  <wl@gnu.org>

	Fix Savannah bug #44767.
	Patch by Peter Bray.

	* src/roff/grog/grog.am (grog): Correctly substitute `grog_dir'.

2015-04-03  Werner LEMBERG  <wl@gnu.org>

	Fix Savannah bug #44708 (2/2).

	Make man pages work in compatibility mode.
	Also fix some minor typos.

	* contrib/pic2graph/pic2graph.man, man/ditroff.man, man/groff.man,
	man/groff_diff.man, man/groff_out.man, man/groff_tmac.man,
	man/roff.man, src/devices/grodvi/grodvi.man,
	src/devices/grohtml/grohtml.man, src/devices/grolbp/grolbp.man,
	src/devices/grolj4/grolj4.man, src/devices/grolj4/lj4_font.man,
	src/devices/gropdf/gropdf.man, src/devices/gropdf/pdfmom.man,
	src/devices/grops/grops.man, src/devices/grotty/grotty.man,
	src/devices/xditview/xditview.man, src/preproc/eqn/eqn.man,
	src/preproc/eqn/neqn.man, src/preproc/grn/grn.man,
	src/preproc/pic/pic.man, src/preproc/preconv/preconv.man,
	src/preproc/refer/refer.man, src/preproc/soelim/soelim.man,
	src/preproc/tbl/tbl.man, src/roff/groff/groff.man,
	src/roff/grog/grog.man, src/roff/nroff/nroff.man,
	src/roff/troff/troff.man, src/utils/addftinto/addftinfo.man,
	src/utils/afmtodit/afmtodit.man, src/utils/hpftodit/hpftodit.man,
	src/utils/indxbib/indxbib.man, src/utils/lkbib/lkbib.man,
	src/utils/lookbib/lookbib.man, src/utils/pfbtops/pfbtops.man,
	src/utils/tfmtodit/tfmtodit.man, src/utils/xtotroff/xtotroff.man,
	tmac/groff_man.man, tmac/groff_trace.man: Do it.

2015-04-03  Werner LEMBERG  <wl@gnu.org>

	Fix Savannah bug #44708 (1/2).

	* tmac/andoc.tmac (reload_doc, reload_man): Don't use `de1',
	otherwise we can't manipulate the compatibility flag within the
	macro.

	* tmac/doc-common-u (Dt): Remove invalid leading whitespace.

2015-03-11  Deri James  <deri@chuzzlewit.myzen.co.uk>

	* src/devices/gropdf/gropdf.pl: Was not handling the final glyph
	correctly in the "standard" fonts which are not embedded. They
	actually have 257 glyphs (0-256) not 256 as I'd assumed, so the
	remappiing code needs to be applied for them as well as the
	embedded downloadable fonts.

2015-03-11  Deri James  <deri@chuzzlewit.myzen.co.uk>

	* src/devices/gropdf/gropdf.pl: Fix problem remappiing
	ellipsis (affects all glyphs > 255).

2015-03-07  Werner LEMBERG  <wl@gnu.org>

	* tmac/tmac.am (TMACSPECIALFILES): Removed.  No longer used.

2015-03-07  Ingo Schwarze  <schwarze@openbsd.org>

	* tmac/doc-common-u (Dd): Avoid warning `unbalanced .el request'.

2015-02-12  Werner LEMBERG  <wl@gnu.org>

	Minor fixes due to renaming `groff.texinfo' to `groff.texi'.

	* doc/doc.am (SUFFIXES): Update.
	* m4/groff.m4 (GROFF_MAKEINFO): Update.

2015-01-30  Bertrand Garrigues  <bertrand.garrigues@laposte.net>

	Automake migration and Gnulib integration.

	Gnulib:
	- Added gnulib as a git submodule.
	- Integrated bootstrap scripts from gnulib.
	- Gnulib m4 directory is now in `gnulib_m4', while Gnulib's .c
	files are located in `lib'.  `gnulib_m4' and `lib' are generated
	and distributed.

	Automake:
	- Removed Makefiles from the old build system.
	- Converted Makefile.in into Makefile.am.
	- Converted Makefile.sub files in all directories to a .am file.
	- Removed configure, src/include/config.hin (now generated).
	- Removed various helper scripts (config.guess, config.rpath...),
	now installed by bootstrap in `build-aux'.
	- Moved aclocal.m4 to acinclude.m4 (aclocal.m4 is now generated).
	- Makefile in non-recursive style.
	- Updated INSTALL.REPO (INSTALL is now a symlink to
	gnulib/doc/INSTALL, original INSTALL file moved to INSTALL.extra)
	- Added (empty) THANKS, AUTHORS files.
	- Added a document on the usage of automake in groff in
	doc/automake.pdf.

	Additional features:
	- Out-of-source build is supported.
	- Parallel build is possible (make -j).
	- Automatic targets from Automake: `make dist', `make distcheck'.
	- 'make check' is available for automatic testing, gdiffmk's test
	was plugged to this target.
	- Auto-detect if make has builtin variable `RM'.

2015-01-14  Ingo Schwarze  <schwarze@openbsd.org>

	Fix Savannah bug #43905.

	* src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
	* src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
	double entries for `rk', `lk', `lt', `rt', `rb', and `lb'.

2014-12-16  Werner LEMBERG  <wl@gnu.org>

	Update Unicode-to-Unicode mapping to version 7.0.0.

	* src/libs/libgroff/make-uniuni: Update emitted copyright.

	* src/libs/libgroff/uniuni.cpp: Regenerated.

2014-11-29  Werner LEMBERG  <wl@gnu.org>

	Fix previous commit.

	We forgot to test whether the patch works if compiling from
	scratch...

	Problem reported by Bertrand Garrigues
	<bertrand.garrigues@laposte.net>.

	* src/include/lib.h (interpret_lf_args, normalize_for_lf): Move
	declarations to...
	* src/include/lf.h: This new file.

	* src/libs/libgroff/lf.cpp, src/preproc/pic/pic.h,
	src/preproc/preconv/preconv.cpp, src/preproc/refer/refer.h,
	src/preproc/soelim/soelim.cpp, src/preproc/tbl/table.h: Include
	`lf.h'.
	Make `lib.h' the first included header file.

	* src/preproc/eqn/eqn.h: Don't include `stringclass.h'.
	* src/preproc/eqn/main.cpp: Include `stringclass.h' and `lf.h'.

	* src/roff/groff/groff.cpp: Make `lib.h' the first included header
	file.

2014-11-10  Eli Zaretskii  <eliz@gnu.org>

	Improve native Windows port.

	This patch fixes two issues.

	  . Handle backslashes in `.lf' arguments for MSDOS and Windows.
	  . Fix file name quoting for the groff pipeline.

	* src/preproc/soelim/soelim.cpp (do_file):
	* src/preproc/refer/refer.cpp (do_file):
	* src/preproc/preconv/preconv.cpp (do_file):
	* src/preproc/pic/main.cpp (do_file):
	* src/preproc/eqn/main.cpp (do_file): Call `normalize_for_lf' to
	convert backslashes in the file name being processed to forward
	slashes.

	* src/include/lib.h (normalize_for_lf): Add prototype.

	* src/preproc/eqn/eqn.h:
	* src/preproc/pic/pic.h:
	* src/preproc/refer/refer.h:
	* src/preproc/tbl/table.h: Include stringclass.h before lib.h.

	* src/libs/libgroff/lf.cpp (normalize_for_lf): New function.

	* src/roff/groff/groff.cpp: Include stringclass.h before lib.h.
	(append_arg_to_string) [_WIN32 && !__CYGWIN__]: Use only "..." for
	quoting in native Windows builds.

2014-11-18  Deri James  <deri@chuzzlewit.myzen.co.uk>

	My commit '3fe78135c9fe666dadffde2a822b0535d8db6feb' introduced
	problem in subroutine `TextWid'.  Octal char `\nnn' returns width of
	4 char string rather than width of single character.

	* src/devices/gropdf/gropdf.pl: Change `TextWid' to recognise octal
	escaped characters (\nnn).

2014-11-07  Deri James  <deri@chuzzlewit.myzen.co.uk>

	See bug #43555.

	* src/devices/gropdf/gropdf.pl: Correct Date Format.

2014-11-04  Werner LEMBERG  <wl@gnu.org>

	* src/libs/gnulib/*: Regenerate autotool files.

2014-11-04  Werner LEMBERG  <wl@gnu.org>

Version 1.22.3 released
=======================

	* NEWS, README, doc/webpage.ms: Updated.

	* doc/texinfo.tex: Updated from `texinfo' repository.

2014-10-29  Bertrand Garrigues  <bertrand.garrigues@laposte.net>

	* Makefile.in (OTHERDIRS): Mention `afmtodit' first.

	Otherwise, some fonts in `devpdf' (`U-*') are not built.

2014-10-26  Eli Zaretskii  <eliz@gnu.org>
	    Werner LEMBERG  <wl@gnu.org>

	Add Windows `.cmd' wrapper files.

	* arch/mingw/*: New files, provided by Eli.

	* Makefile.in (make_winscripts, make_install_winscripts,
	make_uninstall_winscripts): New target variables.
	(MDEFINES): Add them.
	(OTHERDIRS): Add `arch/mingw'.

	* m4/groff.m4 (GROFF_CMD_FILES): New macro
	* configure.ac: Call it.
	* configure: Regenerated.

2014-10-23  Bertrand Garrigues  <bertrand.garrigues@laposte.net>

	Fix `install' and `uninstall' issues.

	* contrib/chem/Makefile.sub (install_data): Fix build with option
	--with-doc=no passed to configure (target `install_examples'
	should not be executed).

	* contrib/chem/Makefile.sub (uninstall_sub):  `uninstall' failed
	if directories to be removed were not present.

	* contrib/gpinyin/Makefile.sub (uninstall_sub): Ditto.

	* contrib/hdtbl/Makefile.sub (GENFILES): generated files should
	depend on the creation of the `examples' directory.

2014-10-23  Daiki Ueno  <ueno@gnu.org>

	* m4/iconv.m4: Really avoid false detection of non-working iconv.

2014-10-21  Daiki Ueno  <ueno@gnu.org>

	iconv: avoid false detection of non-working iconv

	The INBUF/OUTBUF arguments of iconv can be either 'const char **'
	or 'char **'.  If CC is g++, the difference causes a compile error
	and thus leads to a false detection of non-working iconv.
	Reported by Eli Zaretskii and Werner LEMBERG in:
	<https://lists.gnu.org/archive/html/bug-gnulib/2014-10/msg00023.html>.

	* m4/iconv.m4 (AM_ICONV_LINK): Try all possible argument types of
	iconv.  Bump serial number.

2014-10-20  Werner LEMBERG  <wl@gnu.org>

	* src/libs/gnulib/lib/wctype.in.h: Include `config.h'.

	Problem reported by Eli Zaretskii <eliz@gnu.org>.

	This is a temporary hack to make groff compile with MinGW.  After
	the switch to an automake infrastructure, together with proper use
	of `gnulib', we can safely replace the patched file with a standard
	version.

2014-10-19  Doug McIlroy  <doug@cs.dartmouth.edu>

	Fix Savannah bug #42151.

	* src/preproc/eqn/lex.cpp (file_input::read_line): Handle CR/LF.
	* src/preproc/pic/pic.cpp (file_input::read_line): Ditto.

2014-10-18  Werner LEMBERG  <wl@gnu.org>

	[mdoc] Add Darwin version string for OS X 10.10.

	* tmac/doc-common (doc-operating-system-Darwin-14.0.0): New string.

	* tmac/groff_mdoc.man: Updated.

2014-10-15  Werner LEMBERG  <wl@gnu.org>

	* doc/webpage.ms: Remove obsolete references to tarballs and diffs.

	Reported by Dave Kemper <saint.snit@gmail.com>.

2014-10-15  Colin Watson  <cjwatson@debian.org>

	Always distribute the parts of groff that require X11.

	* Makefile.in (ALLLIBDIRS): Clone from `LIBDIRS', but include
	src/devices/libxutil unconditionally.
	(ALLPROGDIRS): Clone from `PROGDIRS', but include
	src/devices/xditview and src/utils/xtotroff unconditionally.
	(DISTDIRS): Use `ALLLIBDIRS' and `ALLPROGDIRS' rather than `LIBDIRS'
	and `PROGDIRS'.

2014-10-14  Keith Marshall  <keith.d.marshall@ntlworld.com>

	Minor update to NEWS for pdfroff.

	* NEWS (pdfroff): Note use of PHASE register, and not pdf:href.map,
	to choose when to emit toc_relocation control record.

2014-10-13  Keith Marshall  <keith.d.marshall@ntlworld.com>

	For pdfroff, deduce "--no-toc-relocation" from input stream.

	* NEWS: Add notification; document the effect of changes, as recorded
	in contrib/pdfmark/ChangeLog.

2014-10-12  Ingo Schwarze  <schwarze@openbsd.org>

	[mdoc] Support `Mdocdate' CVS keyword substitution.
	This fixes Savannah bug #42968.

	This feature is used for OpenBSD manuals.

	* tmac/doc-common (Dd): Handle `$Mdocdate:' argument.

	* tmac/groff_mdoc.man: Document it.

2014-10-12  Ingo Schwarze  <schwarze@openbsd.org>

	[mdoc] Add `.At III' and `.St -iso8601'.
	This fixes Savannah bug #42971.

	* tmac/doc-syms: Add corresponding version strings.

	* tmac/groff_mdoc.man: Synchronize.

2014-10-12  Ingo Schwarze  <schwarze@openbsd.org>

	[mdoc] Update operating system release numbers.
	This fixes Savannah bug #42969.

	* tmac/doc-common: Update NetBSD, OpenBSD, FreeBSD, and DragonFly
	version strings.

	* tmac/groff_mdoc.man: Synchronize.

2014-10-12  Werner LEMBERG  <wl@gnu.org>

	* doc/Makefile.in: Use `LC_ALL' in addition to `LANG'.
	Suggested by Steffen.

2014-10-12  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Make PDF version compilable with makeinfo 5.x.

	makeinfo 5.x handles macro expansion better, which changes the way
	how an \LE macro (for a less-than sign) has to be defined.  However,
	since we can't be sure that the latest version of `texinfo.tex' gets
	used with makeinfo 5.x only, we would have to support both 4.x and
	5.x.  No idea whether this is possible at all...  For this reason,
	we now simply use @value directly instead of wrapping it into a
	macro, avoiding any issues.

2014-10-12  Werner LEMBERG  <wl@gnu.org>

	[doc] Protect against picky `sed' programs.
	Problem reported by Axel Kielhorn <tex@axelkielhorn.de>.

	* doc/Makefile.in (GROFF_BIN_PATH, GROFF): Add `LANG=' to avoid
	interpretation of non-ASCII characters by sed.

2014-10-12  Michail Vidiassov  <master@iaas.msu.ru>

	* tmac/doc-common: Add new Darwin versions.

2014-10-12  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: s/which/that/ where apropriate.

2014-10-12  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Various minor fixes.

	Most of those glitches have been found by comparing the info output
	from makeinfo 4.13 and the current SVN development version (of
	makeinfo).

2014-10-12  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Improve indexing.

	Change @DefXXXItem and @DefXXXListEnd macros to not insert an index
	entry.  New macro variants with a trailing `x' (like `@DefreqItemx')
	can override this.

	Update macro calls where necessary.

2014-10-12  Werner LEMBERG  <wl@gnu.org>

	[doc] Improve call to generation of `groff.pdf'.
	Problem reported by Axel Kielhorn <tex@axelkielhorn.de>.

	Since `groff.texinfo' contains latin-1 characters, some sed
	implementations (like the one used on Mac OS 10.8) fail if called
	with the wrong locale.  Basically, this is a `texi2dvi' bug, but we
	can set `LANG' by ourselves to improve the situation.

	* doc/Makefile.in (.texinfo.dvi, .texinfo.pdf): Set `LANG'
	environment variable to empty string.

2014-10-12  Werner LEMBERG  <wl@gnu.org>

	[doc] Correctly handle `MAKEINFO' environment variable.
	Bug introduced in commit from 2014-03-29.

	* m4/groff.m4 (GROFF_MAKEINFO): Don't set MAKEINFO to empty string
	before actually testing it.

	* configure: Regenerated.

2014-10-11  Bertrand Garrigues  <bertrand.garrigues@laposte.net>

	Fix an issue on `make dist'.

	In order to make the tarball, `make dist' copies src/libs/gnulib
	directories into the `tmp' directory without the `.deps'
	directories, causing the failure of `make distclean' in
	tmp/src/libs/gnulib.  Forcing a call to `config.status' recreates
	the `.deps' directories.

	* Makefile.in (dist): For gnulib, call `config.status' before `make
	distclean'.

2014-10-11  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/*.pl: Remove call from `IPC', use normal system
	`instead'.

2014-10-11  Guillem Jover  <guillem@hadrons.org>

	Add support for various BSD versions.

	* tmac/doc-common: Add new FreeBSD and DragonFly versions.

2014-10-11  Keith Marshall  <keith.d.marshall@ntlworld.com>

	Refactor .psbb request handling code.

	* src/roff/troff/input.cpp (do_ps_file): Reimplement it, using...
	(psbb_locator): ...this new locally declared and implemented class;
	its constructor replaces all `do_ps_file()' capability, delegating
	to other class methods, as appropriate.
	(assign_registers): Encapsulate it, as a `psbb_locator' method.
	(ps_get_line): Likewise, also renaming it to become...
	(get_line): ...this class method; its internally defined `lastc'
	static variable also becomes a non-static class member variable.
	(PSBB_RANGE_IS_BAD, PSBB_RANGE_IS_SET, PSBB_RANGE_AT_END): New
	manifest constants; define them.  They are now used by...
	(parse_bounding_box): ...this function, now also encapsulated as
	a `psbb_locator' class method, to convey parsing status.
	(bounding_box): Struct obsoleted by `psbb_locator'; delete it.
	(ps_bbox_request): Delegate to `psbb_locator'.

2014-10-11  Werner LEMBERG  <wl@gnu.org>

	Various clean-ups.

	* NEWS: More updates.

	* REVISION: Set to 3.

	* doc/groff.texinfo: Update version and year.

	* configure: Regenerated.

	* src/roff/groff/groff.cpp (main) <'v'>: Update copyright year.

2014-10-11  Werner LEMBERG  <wl@gnu.org>

	Update generic GNU files to recent versions.

	* INSTALL.gen, config.guess, config.rpath, config.sub,
	contrib/groff_filenames/Makefile.sub, doc/fdl.texi, doc/texinfo.tex,
	doc/txi-en.tex, install-sh, m4/ax_prog_perl_version.m4,
	m4/codeset.m4, m4/fcntl-o.m4, m4/glibc21.m4, m4/iconv.m4,
	m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4, m4/localcharset.m4,
	src/include/localcharset.h, src/libs/gnulib/Makefile.in,
	src/libs/gnulib/aclocal.m4, src/libs/gnulib/build-aux/compile,
	src/libs/gnulib/build-aux/config.guess,
	src/libs/gnulib/build-aux/config.sub,
	src/libs/gnulib/build-aux/depcomp,
	src/libs/gnulib/build-aux/install-sh,
	src/libs/gnulib/build-aux/snippet/arg-nonnull.h,
	src/libs/gnulib/build-aux/snippet/c++defs.h,
	src/libs/gnulib/build-aux/snippet/warn-on-use.h,
	src/libs/gnulib/configure, src/libs/gnulib/lib/Makefile.in,
	src/libs/gnulib/lib/config.charset, src/libs/gnulib/lib/intprops.h,
	src/libs/gnulib/lib/localcharset.c,
	src/libs/gnulib/lib/localcharset.h, src/libs/gnulib/lib/ref-add.sin,
	src/libs/gnulib/lib/ref-del.sin, src/libs/gnulib/lib/stdbool.in.h,
	src/libs/gnulib/lib/stddef.in.h, src/libs/gnulib/lib/streq.h,
	src/libs/gnulib/lib/unitypes.in.h,
	src/libs/gnulib/lib/uniwidth.in.h,
	src/libs/gnulib/lib/uniwidth/cjk.h,
	src/libs/gnulib/lib/uniwidth/width.c, src/libs/gnulib/lib/verify.h,
	src/libs/gnulib/lib/wchar.in.h, src/libs/gnulib/lib/wctype-h.c,
	src/libs/gnulib/lib/wctype.in.h, src/libs/gnulib/lib/wcwidth.c,
	src/libs/gnulib/m4/00gnulib.m4, src/libs/gnulib/m4/Makefile.in,
	src/libs/gnulib/m4/codeset.m4, src/libs/gnulib/m4/configmake.m4,
	src/libs/gnulib/m4/extensions.m4, src/libs/gnulib/m4/fcntl-o.m4,
	src/libs/gnulib/m4/glibc21.m4, src/libs/gnulib/m4/gnulib-tool.m4,
	src/libs/gnulib/m4/inttypes-pri.m4,
	src/libs/gnulib/m4/localcharset.m4, src/libs/gnulib/m4/longlong.m4,
	src/libs/gnulib/m4/onceonly.m4, src/libs/gnulib/m4/wchar_t.m4,
	src/libs/gnulib/m4/wint_t.m4, src/libs/libgroff/config.charset,
	src/libs/libgroff/localcharset.c, src/libs/libgroff/ref-add.sin,
	src/libs/libgroff/ref-del.sin, src/preproc/refer/refer.man: Do it.

2014-10-11  Werner LEMBERG  <wl@gnu.org>

	* NEWS, MANIFEST: Updated.

2014-10-11  Werner LEMBERG  <wl@gnu.org>

	* Makefile.in (OTHERDIRS, NOMAKEDIRS): Remove `ideal' references.

2014-10-10  Bernd Warken  <groff-bernd.warken-72@web.de>

	* contrib/gideal: Temporarily remove this directory, because the
	documentation and the preprocessor are not yet finished for
	groff-1.2.23.

2014-10-10  Werner LEMBERG  <wl@gnu.org>

	* Makefile.in (dist): Clean up `src/libs/gnulib'.

2014-10-10  Werner LEMBERG  <wl@gnu.org>

	* doc/webpage.ms: Updates.

	The README and NEWS sections are not yet synchronized, though.

2014-10-09  Ingo Schwarze  <schwarze@openbsd.org>

	* Makefile.in: Let `clean' and `distclean' descend into gnulib.

	This fixes Savannah bug #42970.

2014-10-02  Bertrand Garrigues  <bertrand.garrigues@laposte.net>

	Set default X11 resources dir to `$prefix/lib/X11/app-defaults'.

	Previously, X11 resources for gxditview were installed in
	`/usr/X11/lib/X11/app-defaults', no matter which prefix was set.

	Now, gxditview resources are installed in
	`appresdir=$prefix/lib/X11/app-defaults'.  If `appresdir' is not a
	standard X11 resource directory, the environment variable
	`XFILESEARCHPATH' should be set to this path.

	The behaviour of `--with-appresdir' is unchanged: This option can
	still be used to set `appresdir', and its value will not be modified
	by the prefix.

	* m4/groff.m4 (GROFF_APPRESDIR_DEFAULT): Implement new behaviour.
	Fix detection app-defaults location on the system.
	(GROFF_APPRESDIR_CHECK): Updated.

	* configure.ac: Improve output of configuration.
	* configure: Regenerated.

	* NEWS: Mention it.

2014-09-27  Werner LEMBERG  <wl@gnu.org>

	Set `transparent' flag for `\[cq].
	Problem reported by Dave Kemper <saint.snit@gmail.com>.

	* src/roff/troff/input.cpp (init_charset_table): Do it.

	* doc/groff.texinfo (Sentences, Using Symbols), man/groff_diff.man:
	Document it.

2014-09-25  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/*.pl: Program more reasonable subs (functions).
	Repair details in many places.

2014-09-24  Keith Marshall  <keith.d.marshall@ntlworld.com>

	Refactor psbb line input function; avoid a buffer overrun.

	* src/roff/troff/input.cpp (ps_get_line): Declare it as `static'.
	Refactor, to avoid the overhead of character look-ahead and push-back
	on CR stream input.  Add new `dscopt' parameter, in place of internal
	`err' variable; update all call references, passing value of...
	(DSC_LINE_MAX_ENFORCE): ...this new manifest constant; define it.
	(DSC_LINE_MAX_IGNORED): Likewise; currently unused, but intended for
	future use as an alternative to `DSC_LINE_MAX_ENFORCE'.
	(DSC_LINE_MAX_CHECKED): New manifest constant; used internally only.
	(PS_LINE_MAX): Manifest constant, renamed for notional consistency...
	(DSC_LINE_MAX): ...to this; defined value remains as 255.
	(do_ps_file): Increase stack allocation for `buf' char array; former
	allocation of PS_LINE_MAX (now DSC_LINE_MAX) bytes exposed a potential
	buffer overrun, after reading DSC_LINE_MAX bytes; two additional bytes
	are required, to accommodate a terminating LF and NUL.  Add `dscopt'
	parameter, with value `DSC_LINE_MAX_ENFORCE', in each of three calls
	to `ps_get_line()'.

2014-09-20  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/groff/Makefile.sub: Remove too much deleting while
	running `make'.

2014-09-20  Bernd Warken  <groff-bernd.warken-72@web.de>

	* `Makefile.sub' in the whole groff source tree: Add $(RM) and
	change all `rm -f'.  Add directory test before `rmdir'.

2014-09-20  Bernd Warken  <groff-bernd.warken-72@web.de>

	* Man-pages (*.man) in the whole groff source tree: Improve
	documents by adding \[co], \[cq], \[aq] instead of ` or ' and use
	also \[co] as long as it makes sense.  Remove \[en] in the years
	date in order to allow the automatic license year increasing.

2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* <groff-source-top>/*: Improve the license information and Emacs
	setup.

2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* tmac/*: Improve the license information and Emacs setup.

2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/utils/xtotroff/*: Improve the license information and Emacs
	setup.

2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/utils/tfmtodit/*: Improve the license information and Emacs
	setup.

2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/utils/pfbtops/*: Improve the license information and Emacs
	setup.

2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/utils/lookbib/*: Improve the license information and Emacs
	setup.

2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/utils/lkbib/*: Improve the license information and Emacs
	setup.

2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/utils/indxbib/*: Improve the license information and Emacs
	setup.

2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/utils/hpftodit/*: Improve the license information and Emacs
	setup.

2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/utils/afmtodit/*: Improve the license information and Emacs
	setup.

2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/utils/addftinfo/*: Improve the license information and Emacs
	setup.

2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/troff/*: Improve the license information and Emacs
	setup.

2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/nroff/*: Improve the license information and Emacs
	setup.

2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/*: Improve the license information and Emacs
	setup.

2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/groff/*: Improve the license information and Emacs
	setup.

2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/preproc/tbl/*: Improve the license information and Emacs
	setup.

2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/preproc/soelim/*: Improve the license information and Emacs
	setup.

2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/preproc/refer/*: Improve the license information and Emacs
	setup.

2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/preproc/preconv/*: Improve the license information and Emacs
	setup.

2014-09-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/preproc/pic/*: Improve the license information and Emacs
	setup.

2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/preproc/html/*: Improve the license information and Emacs
	setup.

2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/preproc/grn/*: Improve the license information and Emacs
	setup.

2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/preproc/eqn/*: Improve the license information and Emacs
	setup.

2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/libs/libxutil/*: Improve the license information and Emacs
	setup.

2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/libs/libgroff/*: Improve the license information and Emacs
	setup.

2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/libs/libdriver/*: Improve the license information and Emacs
	setup.

2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/libs/libbib/*: Improve the license information and Emacs
	setup.

2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/libs/gnulib/*: Improve the license information and Emacs
	setup.  The former run of that was not yet complete.

2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/libs/gnulib/*: Improve the license information and Emacs
	setup.

2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/include/*: Improve the license information and Emacs setup.

2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/devices/grotty/*: Improve the license information and Emacs
	setup.

2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/devices/grops/*: Improve the license information and Emacs
	setup.

2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/devices/gropdf/*: Improve the license information and Emacs
	setup.

2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/devices/grolj4/*: Improve the license information and Emacs
	setup.

2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/devices/grolbp/*: Improve the license information and Emacs
	setup.

2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/devices/grohtml/*: Improve the license information and Emacs
	setup.

2014-09-17  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/devices/grodvi/*: Improve the license information and Emacs
	setup.

2014-09-15  Bernd Warken  <groff-bernd.warken-72@web.de>

	* man/*.man: Improve the license information (definiton of .co and
	.au).

2014-09-15  Bernd Warken  <groff-bernd.warken-72@web.de>

	* m4/*.m4: Improve the license information without changing the
	related information.

2014-09-06  Werner LEMBERG  <wl@gnu.org>

	Fix build issues.

	* m4/groff.m4: Fix typo.
	s/refer_dir/referdir/ for consistency.

	* configure: Regenerated.

	* Makefile.in: s/refer_dir/referdir/ for consistency.

	* src/preproc/refer/Makefile.sub (install_data, uninstall_sub):
	Don't handle binaries or manpages; this is handled elsewhere
	already.  Right now, only install and uninstall the `refer' data
	directory.

2014-09-04  Bernd Warken  <groff-bernd.warken-72@web.de>

	* configure: When I change the `configure' file manually, the
	refer data dir is created.  But when running aclocal/autoreconf,
	the dir is again not created.

2014-09-04  Bernd Warken  <groff-bernd.warken-72@web.de>

	* m4/groff.m4, configure.ac, Makefile.in,
	src/preproc/refer/Makefile.sub: Add information to create a refer
	data directory by installing.  That dir is not yet generated
	anyway.

2014-09-05  Werner LEMBERG  <wl@gnu.org>

	Regenerate configure files with correct parameters.

	* configure.ac: Comment out m4 macros still missing.

	* aclocal.m4, config.hin, configure: Regenerated.

2014-09-04  Bernd Warken  <groff-bernd.warken-72@web.de>

	* some files in doc: Change the copying years to package form.
	But many files have strange or no copying information.

2014-09-04  Bernd Warken  <groff-bernd.warken-72@web.de>

	* contrib/pic2graph/Makefile.sub: Change the copying years to
	package form.

2014-09-04  Bernd Warken  <groff-bernd.warken-72@web.de>

	* FDL: Replace the changed actual file by the original `fdl.txt'
	from <http://www.gnu.org/licenses/>.

2014-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>

	* contrib/grap2graph/Makefile.sub: Remove `Last updates' from all
	files.  Add and repair copyright.  Write Emacs setup.

2014-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/preproc/refer/refer.man: Include more distances for better
	reading of the source file.  Add `%' for documentation of
	bibliographic database lines.

2014-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>

	* tree contrib/eqn2graph: Remove `Last updates' from all files.
	Add and repair copyright.  Write Emacs setup.

2014-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>

	* tree `arch': Remove `Last updates' from all files.  Add
	and repair copyright.  Write Emacs seetup.

2014-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>

	* <groff top source directory>: Remove `Last updates' from all
	files.  Only `timestamp' values are left.

2014-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>

	* <groff top source directory>: Repair copyright years from
	starting year to actual year for almost all files.

2014-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>

	* autom4te.cache: Remove that tree after running
	`autoconf' or `autoreconf'.

	* .gitignore: Add all files within `autom4te.cache' to get rid of
	them automatically.  Not sure so far, if this works.

2014-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>

	* BUG-REPORT, FDL, INSTALL*, MANIFEST, MORE.STUFF, NEWS, PROBLEMS,
	PROJECTS, README*: Remove Emacs settings for coding style.  Change
	copyright years from 1989-2014 and 1993-2014 into 2014 only.

2014-09-03  Bernd Warken  <groff-bernd.warken-72@web.de>

	* configure.ac, Makefile.in: Try to use /usr/local/share directory
	for `refer'.  Does not work so far.

2014-09-02  Bernd Warken  <groff-bernd.warken-72@web.de>

	* All Makefile*: Add Emacs settings and lacking licenses.

2014-09-02  Bernd Warken  <groff-bernd.warken-72@web.de>

	* BUG-REPORT, FDL, INSTALL*, MANIFEST, MORE.STUFF, NEWS, PROBLEMS,
	PROJECTS, README*: Add Emacs settings.

2014-09-02  Bernd Warken  <groff-bernd.warken-72@web.de>

	* PROJECTS: Add TODO for `refer'.

2014-08-31  Bernd Warken  <groff-bernd.warken-72@web.de>

	* man/roff.man (roff.7): Replace Heirloom links to more actual
	places.  Create macro definitions for authors (.au) and copying
	(.co).

2014-08-30  Bernd Warken  <groff-bernd.warken-72@web.de>

	* man/groff_font.man (groff_font.7): Restructure
	file format, but keep content.

2014-08-30  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/utils/addftinfo/addftinfo.man (addftinfo.1): Restructure
	file format, but keep content.

2014-08-30  Bernd Warken  <groff-bernd.warken-72@web.de>

	* man/roff.man (roff.7): Repair documentation of heirloom.

2014-08-28  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/grog.pl, src/roff/grog/subs.pl: Add `gpinyin'.

	* src/roff/grog/grog.man: Restructure `SEE ALSO'.

2014-08-28  Bernd Warken  <groff-bernd.warken-72@web.de>

	* contrib/gpinyin: Make it runnable, version 1.0.0.

2014-08-20  Bernd Warken  <groff-bernd.warken-72@web.de>

	* groff.7 (man/groff.man): Add further preprocessor regions.
	Repair documentation for Unicode.

2014-08-08  Bernd Warken  <groff-bernd.warken-72@web.de>

	* configure.ac, configure, Makefile.in, m4/groff.m4: Install paths
	for implementing contrib/gpinyin's sub.pl.

2014-08-06  Bernd Warken  <groff-bernd.warken-72@web.de>

	* man/groff_char.man: Add description for displaying `uxxxx' as
	`\[uxxxx]'.

2014-08-05  Bernd Warken  <groff-bernd.warken-72@web.de>

	* man/groff.man (groff.7): Replace \[rs] to \e as far as useful.

2014-08-05  Bernd Warken  <groff-bernd.warken-72@web.de>

	* man/groff.man (groff.7): Add documentation for the Unicode
	escapes \[u....] and \[u.....].

2014-08-02  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/groff/groff.man: Improve documentation for `utf8'.

2014-08-01  Bernd Warken  <groff-bernd.warken-72@web.de>

	* contrib/gpinyin: New preprocessor for having the European-style
	writing	`pinyin' for the Chinese language.

2014-07-22  Bernd Warken  <groff-bernd.warken-72@web.de>

	* groff.7 (man/groff.man): Add some useful special characters.

2014-07-21  Bernd Warken  <groff-bernd.warken-72@web.de>

	* tbl.1 (src/preproc/tbl/tbl.man): Add simple examples.

2014-07-12  Bernd Warken  <groff-bernd.warken-72@web.de>

	* groff.7 (man/groff.man): Add section about underlining.

2014-07-07  Bernd Warken  <groff-bernd.warken-72@web.de>

	* man/groff.man (groff.7): Add some basic special characters
	`\(xy'.

2014-07-06  Bernd Warken  <groff-bernd.warken-72@web.de>

	* grog, groffer: Minor repairing.

2014-07-06  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/subs.pl: Repair ligatures handling.

2014-07-06  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/subs.pl: Correct handling of standard input.

2014-07-06  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/groff/groff.man: Minor correction.

2014-07-06  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/*: Minor corrections.

2014-07-05  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/groff/groff.cpp: In `usage()' and `help()' order
	alphabetically.

2014-07-05  Bernd Warken  <groff-bernd.warken-72@web.de>

	* grog.pl, subs.pl: Heavily improve argument handling and `groff'
	command line creation.

2014-07-05  Bernd Warken  <groff-bernd.warken-72@web.de>

	* grog.man: Make file runnable for `doclifter'.

2014-07-05  Bernd Warken  <groff-bernd.warken-72@web.de>

	* grog.man: Replace all .de by copying.  Restrict all .char names
	to lenght 2 only.

2014-07-04  Bernd Warken  <groff-bernd.warken-72@web.de>

	* grog.man: Minor optimization.

2014-07-04  Bernd Warken  <groff-bernd.warken-72@web.de>

	* grog.man: Transform in classical man-page style.

2014-07-04  Bernd Warken  <groff-bernd.warken-72@web.de>

	* grog.pl, subs.pl: Add option `--warnings'.  Rename
	`--with_ligatures' to `--ligatures', but keep `--with_ligatures'
	for compatibility.

2014-07-03  Bernd Warken  <groff-bernd.warken-72@web.de>

	* Makefile.in: Remove directories `groffer/perl' and
	`groffer.shell', which don't exist any more.

2014-07-03  Bernd Warken  <groff-bernd.warken-72@web.de>

	* PROJECTS: Mention the start of the `ideal' project.

2014-06-21  Ingo Schwarze  <schwarze@openbsd.org>

	* Makefile.in: Unbreak make install:
	Add missing gideal dirs to the dist tarball.

2014-06-19  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/groff/groff.man: Correct the collection of the
	installation directories.

2014-06-19  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/groff/groff.man: Add the installation file and
	directory positions of the whole package with @...@.

2014-06-19  Bernd Warken  <groff-bernd.warken-72@web.de>

	* man/groff.man, src/roff/groff/groff.man: Add file position
	before and after installation and the latest update.

2014-06-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/grog.pl: Corrections about `require' and `our'
	definitions.

	* src/roff/grog/subs.pl: In the `groff' output command line, split
	the single character options collections into different
	1-character options, each with a leading minus `-'..
2014-06-20  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/subs.pl: Repair call of `push'.

2014-06-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/subs.pl: Minor correction at `do_first_line'.

2014-06-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/subs.pl: Adjust for first lines with non-preproc
	and not-tmac names to be ignored.

2014-06-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/grog.pl, src/roff/grog/subs.pl: Add new first line
	of roff files with the names of the needed preprocessors and the
	actual tmac, see 2014-06-17 Ulrich Lauther.  Replace the
	word `ideal' by `gideal', when the preprocessor is meant.

2014-06-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/Makefile.sub: Add $(RM).

	* src/roff/grog/grog.pl: Remove call to perl_test.pl.  `require
	5.6;' is enough as Perl test.

	* src/roff/grog/perl_test.pl: Remove this file.

2014-06-18  Bernd Warken  <groff-bernd.warken-72@web.de>

	* ChangeLog: Add Emacs-mode and a separator for the license.

2014-06-17  Ulrich Lauther  <ulrich.lauther@t-online.de>

	* grog: Invent new first comment line of roff files with long
	names of needed preprocessors and the tmac.

2014-06-17  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/subs.pl: Correct handling of option `-J' for
	ideal.

2014-06-17  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/groff/groff.cpp, src/roff/groff/pipeline.h,
	* src/roff/grog/subs.pl: Add `groff' option `-J' for `gideal'.

2014-06-16  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/subs.pl: Remove too early listing of 3 `groff'
	preprocessors options: gideal, glilypond, gperl.

2014-06-16  Bernd Warken  <groff-bernd.warken-72@web.de>

	* contrib/gideal: New project for installing `ideal' for `groff'.

	* Makefile.in: Add `gideal' for `OTHERDIRS'.

2014-06-15  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/grog.pl, src/roff/grog/subs.pl: Repair argument
	handling for output `groff' line.

2014-06-15  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/grog.pl, src/roff/grog/grog.man: Correct and add
	the documentation for filespec options.

2014-06-14  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/subs.pl: Activate handling of `--run', such that
	now the generated `groff' command line can run.

2014-06-14  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/subs.pl: Repair handling of filespec arguments.

2014-06-12  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/grog.pl, src/roff/grog/subs.pl: Add testing
	methods of Ralph Corderoy's `grog.sh' of 2006.  Add primary usage
	of file name extensions.

2014-06-10  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/grog.pl: Totally rewrite the `grog' version,
	starting at the last stable version.  Write many parts as `sub'
	functions.

	* src/roff/grog/subs.pl: New file by splitting the src file
	`grog.pl', such that all functions get into the new file
	`subs.pl'.

	* src/roff/grog/Makefile.sub: Add file `subs.pl', which goes into
	the `grog' libdir.

2014-06-03  James Cloos  <cloos@jhcloos.com>

	* src/roff/grog/grog.pl: The errors with `ligatures' come also
	from `TeX GYRE' fonts.  Print this information, when `grog' should
	work with the `pdf' device.

2014-06-02  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/grog.pl: The `grog' version of yesterday has many
	bugs.  So reinstall an old version of `grog'.

2014-06-01  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/Makefile.sub: Remove changing of first line
	`#! ...'.

2014-06-01  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/grog.pl: Remove `$Sp' mostly.  Reorder script.
	Check and repair requests.  Add final character `$' to many
	checked requests.

2014-06-01  Bernd Warken  <groff-bernd.warken-72@web.de>

	* man/roff.man: Move .TH at the beginning.

2014-05-29  Bernd Warken  <groff-bernd.warken-72@web.de>

	* man/groff.man: In special characters, add the mentioning of the
	`groff' writing `\[xy]'.

2014-05-27  Bernd Warken  <groff-bernd.warken-72@web.de>

	* man/groff_char.man: Finish notes in all tables.

2014-05-26  Bernd Warken  <groff-bernd.warken-72@web.de>

	* man/groff_char.man: Add notes in some tables, more will come.

2014-05-26  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/grog.pl: Add further first line characters for
	single character `groff' options.

	* src/roff/grog/grog.man: make generated options more readable.

2014-05-26  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/grog.pl: Add detection of `.\" [eprt]' as first
	line to `grog'.  Change usage of `$Sp' to reasonable efforts in
	`groff'.

	* src/roff/grog/grog.man, man/groff_char.man: Add website for
	license text, not only the postal address.

2014-04-03  Steffen Nurpmeso  <sdaoden@yandex.com>

	* */Makefile.*: Path quoting fixes, whitespace, formatting.

	Remove many quotes (and introduce a few as additional guards)
	since groff's build system is generally not set up to properly
	handle paths that need quoting.

2014-04-03  Steffen Nurpmeso  <sdaoden@yandex.com>

	* Makefile.comm (extraclean): Don't delete `old'.

	The rule calling `rm -f' was originally thought to remove private,
	temporary files.  However, we now have a subdirectory called `old'
	in `fonts/devps' that may not be removed, and trying so now causes
	an error because we no longer ignore the returned error code of
	`rm'.

2014-04-03  Steffen Nurpmeso  <sdaoden@yandex.com>

	* Makefile.in (OTHERDIRS): Fix directory order.

	This has been accidentally broken in commit 51476bee from
	2014-02-25.

2014-04-03  Steffen Nurpmeso  <sdaoden@yandex.com>

	* src/devices/gropdf/pdfmom.pl: Fix perl(1) warning.

2014-03-30  Werner LEMBERG  <wl@gnu.org>

	* configure: Regenerated.

2014-03-30  Steffen Nurpmeso  <sdaoden@yandex.com>

	* */Makefile.*: Put straight error-prevention prefixes for `rm'.

2014-03-30  Steffen Nurpmeso  <sdaoden@yandex.com>

	`uninstall' target: Avoid spurious and misleading error messages.

	* Makefile.comm (uninstall_dev): Improve.

	* font/devpdf/Makefile.sub (install_data): Remove superfluous `rm'.
	(uninstall_sub): Improve.

	* src/roff/groff/Makefile.sub (uninstall_sub): Fix.

2014-03-30  Steffen Nurpmeso  <sdaoden@yandex.com>

	Fixes for `uninstall' target.

	* Makefile.in (uninstall_dirs): Use `DESTDIR'.

	* src/libs/libgroff/Makefile.sub (uninstall_charset_data): Typo.

	* src/roff/groff/Makefile.sub (uninstall_sub): Typo.

	* src/roff/grog/Makefile.sub (uninstall_sub): Minor.

2014-03-30  Steffen Nurpmeso  <sdaoden@yandex.com>

	* src/roff/grog/Makefile.sub (install_data): Typo.

2014-03-29  Steffen Nurpmeso  <sdaoden@yandex.com>

	Add fine-tuning of doc generation to `configure'.

	* m4/groff.m4 (GROFF_DOC_CHECK): New macro, handling option
	`--with-doc' and its new arguments.  It sets
	`docadd_{html,info,other,pdf,examples}' and exports
	`make{_,_install_,_uninstall_}{otherdoc,examples}'.
	(GROFF_MAKEINFO): Extended to export
	`make{_,_install_,_uninstall_}infodoc'.
	(GROFF_HTML_PROGRAMS): Extended to export
	`make{_,_install_,_uninstall_}{htmldoc,htmlexamples}'.
	(GROFF_PDFDOC_PROGRAMS): Extended to export
	`make{_,_install_,_uninstall_}{pdfdoc,pdfexamples}'.
	(GROFF_INSTALL_INFO): Guard test with `docadd_info'.

	* configure.ac: Use GROFF_DOC_CHECK.
	* Makefile.in: Updated.

	* doc/Makefile.sub: Handle examples separately, controlled by
	$(make{_,_install_,_uninstall_}examples).

2014-03-27  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>

	* tmac/www.tmac (TAG): Define register `PN'.

2014-03-27  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>

	* tmac/an-ext.tmac (EX, EE): Preserve font family.

2014-03-17  Werner LEMBERG  <wl@gnu.org>

	* src/preproc/eqn/box.cpp (set_script_size): Fix minimum test.

	Problem reported by Ted Harding <ted.harding@wlandres.net> in a
	thread starting with

	http://lists.gnu.org/archive/html/groff/2014-03/msg00181.html

2014-03-16  Werner LEMBERG  <wl@gnu.org>

	Fix previous commit.

	Problem reported (with a patch) by Ingo Schwarze
	<schwarze@openbsd.org>.

	* doc/Makefile.sub (groff_bin_dirs): Add `preconv'.

	* doc/Makefile.in (groff_bin_dirs): Add `preconv'.
	(.me.txt): Call preconv.  Use UTF8 as output encoding.
	(.me.ps): Call preconv.

2014-03-14  Werner LEMBERG  <wl@gnu.org>

	[me] Add translation of `meintro.me' to French.

	Contributed by Grégoire Babey <gibux@gmx.ch>.

	* doc/meintro_fr.me: New file.
	* LICENSES, doc/Makefile.sub: Updated.

2014-03-13  Ingo Schwarze  <schwarze@openbsd.org> (tiny change)

	man: Correctly reset margins.

	See

	http://lists.gnu.org/archive/html/groff/2013-11/msg00026.html

	for more.

	* tmac/an-old.tmac (set-an-margin): Whenever (re)setting
	`\n[an-level]' to 1 (which happens when encountering `.TH', `.SH',
	and `.SS') make sure to also (re)set `\n[an-saved-margin1]' and
	`\n[an-saved-prevailing-indent1]' to a sane value such that an
	immediate `.RE' cannot wreak havoc.
	(TH, SH, SS): Updated.

2014-03-11  Ingo Schwarze  <schwarze@openbsd.org> (tiny change)

	* Makefile.in: Do not forget to install gropdf manuals.

	This got broken in 290eaaac6cfc33856cd683838accc72ccf3e5a84:
	src/devices/gropdf was split out of OTHERDIRS into SHPROGDIRS, and
	consequently, Makefile.man was no longer used there.  Note that
	Makefile.dev is *not* needed, even though it's below /devices/.

2014-03-11  Ingo Schwarze  <schwarze@openbsd.org> (tiny change)

	* src/roff/groff/Makefile.sub: POSIX conformance.

	- POSIX says that the meaning of the make(1) `$<' macro shall be
	   unspecified except in inference rules.  Consequently, use `$?'
	   for portability.

	   That's safe because the rules have only one prerequisite and
	   are not `.PHONY', so `$?' will always expand to one item.

	- While here, clean up two instances of superfluous use of cat(1).

2014-03-11  Ingo Schwarze  <schwarze@openbsd.org> (tiny change)

	* Makefile.in (dist): Improve.

	- Bugfix: Do not error out if one of the DISTDIRS
	   contains a subdirectory.
	- Make debugging easier by splitting the huge "cd tmp; ...; ..."
	   command sequence into several independent shell commands,
	   such that one can see which command actually fails.

2014-03-06  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Missing RE escape in grep.

	* src/devices/gropdf/pdfmom.pl: Escape '\' dot in grep RE.

2014-02-26  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/grog.pl: Add detection of `gperl' to `grog'.

2014-02-25  Bernd Warken  <groff-bernd.warken-72@web.de>

	* contrib/gperl: New preprocessor for Perl parts in groff files.

2014-02-15  Ingo Schwarze  <schwarze@openbsd.org>

	* tmac/groff_mdoc.man: Improve the manual page template.

	 - Add the EXIT STATUS section.  It is widely used in at least
	   NetBSD, FreeBSD, OpenBSD, and DragonFly manuals.
	 - Recommend the DIAGNOSTICS section for section 4 manuals.  Such
	   usage is very widespread, in particular for kernel printf
	   messages emitted by device drivers.
	 - Do not recommend the DIAGNOSTICS section for command return
	   values to the shell any longer.  While such usage historically
	   existed, it does not seem common nowadays, and in any case, using
	   the now well-established EXIT STATUS section seems preferable to
	   me.
	 - Mention the possibility to use ERRORS for section 4 manuals.
	   While most section 4 manuals have a DIAGNOSTICS section, only
	   some will need an ERRORS section, but these cases aren't exactly
	   rare, either.  Quite some device driver manuals explain how to
	   use the device using system calls like ioctl(2), open(2), read(2)
	   or write(2), in which case the ERRORS section is the natural
	   place to explain which errno values the driver may set during
	   such system calls.
	 - Mentioning signal handling as a content of the ERRORS section
	   seems redundant, it is already covered by talking about the
	   errno.  The case of errno == EINTR should be handled just like
	   all other errno cases.  For an example showing that there is no
	   need to single out error handling in any way, please look at a
	   typical read(2) manual page.
	 - Mention the CAVEATS section.  It first appeared in the 4.2BSD
	   execve(2) manual in 1983, was already used by several manuals by
	   the time of 4.4BSD-Lite2 in 1995, and is in whidespread use
	   today, not just in BSD base system manuals, but for example in
	   Perl manuals as well.

2014-02-14  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/grog.pl: Add detection of glilypond-parts in groff
	files.  For example `grog example.groff' from the glilypond source
	gets `glilypond example.groff | groff'.

2014-02-12  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/grog.pl: With the former bugfix of 2014-02-12,
	it's now possible to run `grog meref.me' etc., which wasn't
	possible before.  That addition of the macro handling was
	necessary for the automatic for `groffer'.

2014-02-12  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/grog/grog.pl: Add handling of macro definition and fix
	problems with @VERSION@.

2014-02-12  Rich Burridge  <rich.burridge@oracle.com>

	[grn] Prevent crash if more than 50 command line arguments.

	* src/preproc/grn/main.cpp (INIT_FILE_SIZE, FILE_SIZE_INCR): New
	macros.
	(add_file): New function.
	(main): Use it to add file arguments.

2014-01-29  Ulrich Spörlein  <uqs@FreeBSD.org>

	* tmac/doc-common: Add even more DragonFlyBSD releases.

2014-01-28  Ulrich Spörlein  <uqs@FreeBSD.org>

	* tmac/doc-common: Add some new *BSD version strings.

2014-01-06  Bernd Warken  <groff-bernd.warken-72@web.de>

	* man/roff.man: Add information of new archives for RUNOFF and
	roff_classical.

	* Makefile.in: Replace `contrib/RUNOFF' by
	`contrib/groff_filenames'.

2014-01-05  Bernd Warken  <groff-bernd.warken-72@web.de>
	    Werner LEMBERG  <wl@gnu.org>

	* groff/tmac/groff_man.man: Minor typos, formatting, reordering.

2014-01-05  Werner LEMBERG  <wl@gnu.org>

	Revert recent changes to `an-ext.tmac' and `groff_man.man'.

	* groff/tmac/an-ext.tmac (.FONT): Remove.  This doesn't belong into
	this file.

	* groff/tmac/groff_man.man: Reset to state previous to 2014-01-04.
	Useful changes will be re-committed in smaller, logical chunks.

2014-01-05  Bernd Warken  <groff-bernd.warken-72@web.de>

	* groff/tmac/an-ext.tmac: in .FONT change variable name `result'
	to `an_ext_FONT_result'.

2014-01-04  Bernd Warken  <groff-bernd.warken-72@web.de>

	* groff/tmac/an-ext.tmac: add new request .FONT for using
	different font names on a single line.

	* groff/tmac/groff_man.man: put under GPL2, reordered and enhanced.

2014-01-02  Deri James  <deri@chuzzlewit.myzen.co.uk>

	* src/devices/gropdf/gropdf.pl: gropdf use to fail when handling
	output from preconv, now works.

	* src/devices/gropdf/pdfmom.pl: can now be used as a pipeline, and
	improvements made to its switch handling and use with preconv.

	* tmac/pdf.tmac: changes to support preconv.

2014-01-02  Colin Watson  <cjwatson@debian.org>

	* font/devascii/Makefile.sub ($(FONTS)): Convert extended regex
	syntax to basic for sed.
	* font/devcp1047/Makefile.sub ($(FONTS)): Likewise.
	* font/devhtml/Makefile.sub ($(FONTS)): Likewise.
	* font/devlatin1/Makefile.sub ($(FONTS)): Likewise.
	* font/devutf8/Makefile.sub ($(FONTS)): Likewise.

2013-12-23  Bernd Warken  <groff-bernd.warken-72@web.de>

	* groff/src/roff/groff/groff.cpp: add groff option `-G' to the
	documentation in `synopsis()'.

2013-12-06  Mike Frysinger  <vapier@gentoo.org>

	Fix parallel build with gropdf and mom examples.

	The `contrib/mom/examples/' directory uses the helper script from
	`src/devices/gropdf/'.  Currently though, parallel builds might fail
	like so:

	  ...
	  make[2]: Entering directory `.../groff-1.22.2/contrib/mom'
	  <groff command> examples/letter.mom >examples/letter.pdf
	  <groff command> examples/mom-pdf.mom >examples/mom-pdf.pdf
	  /bin/sh: .../groff-1.22.2/src/devices/gropdf/pdfmom: No such file or directory
	  make[2]: *** [examples/letter.pdf] Error 127
	  /bin/sh: .../groff-1.22.2/src/devices/gropdf/pdfmom: No such file or directory
	  make[2]: *** [examples/mom-pdf.pdf] Error 127
	  make[2]: Leaving directory `.../groff-1.22.2/contrib/mom'
	  make[1]: *** [contrib/mom] Error 2
	  ...
	  make[2]: Entering directory `.../groff-1.22.2/src/devices/gropdf'
	  sed -f .../groff-1.22.2/arch/misc/shdeps.sed \
	      -e "s|@VERSION@|1.22.2|" \
	      -e "s|@PERLPATH@|/usr/bin/perl|" ./pdfmom.pl >pdfmom

	The top level makefile tries to account for this in general with
	OTHERDIRS, but looks like `src/devices/gropdf/' was added to this
	variable (which holds `contrib/mom/' too) because gropdf installs a
	shell script, and the other prog vars require it to be a dir of
	things to compile.

	  URL: http://crbug.com/324116
	  URL: https://bugs.gentoo.org/487276

	* Makefile.in (SHPROGDIRS): Declare.
	(PROGDIRS): Add $(SHPROGDIRS).
	(OTHERDIRS): Delete src/devices/gropdf.
	($(SHPROGDIRS):): Add to existing rule.
	($(OTHERDIRS):): Depend on $(SHPROGDIRS).

2013-12-08  Eric S. Raymond  <esr@thyrsus.com>

	Repository fully converted to git.

2013-11-21  Werner LEMBERG  <wl@gnu.org>

	* config.guess, config.sub: Updated from `config' repository.

2013-11-06  Werner LEMBERG  <wl@gnu.org>

	* src/libs/libgroff/tmpname.cpp (gen_tempname): Use O_BINARY.

	Problem reported by Charlie Van Dien <charlie@vandien.com>; see

	  http://lists.gnu.org/archive/html/groff/2013-10/msg00006.html

2013-11-06  Werner LEMBERG  <wl@gnu.org>

	* Makefile.comm (.man.n): Use C locale.

	Problem reported by Petr Man <petr@madnetwork.org>; fix suggested by
	Ralph Corderoy <ralph@inputplus.co.uk>.

2013-07-24  Ingo Schwarze  <schwarze@openbsd.org>

	[mdoc] Implement `.%C'.

	* tmac/doc.tmac, tmac/doc-common: Do it.
	* tmac/groff_mdoc.man: Updated.

2013-07-31  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Fix overprinting issue with Acrobat reader.

	Problem reported by Heinz-Jürgen Oertel <hj.oertel@t-online.de>.

	* src/devices/gropdf/gropdf.pl (do_t, FindChar): Use ascii octal
	notation (i.e., \015) when outputting characters with value < 32.
	This fixes a bug which affected acroread when control-M (cr) was
	embedded in a text string.

2013-07-16  Werner LEMBERG  <wl@gnu.org>

	* tmac/fallbacks.tmac: Make it work in compatibility mode.

	Problem reported by Y T <doarhop@hotmail.com>.

2013-07-16  Werner LEMBERG  <wl@gnu.org>

	* src/roff/grog/Makefile.sub (install_data, uninstall_sub): Typos.

2013-07-16  Werner LEMBERG  <wl@gnu.org>

	* Makefile.in (GREP, MDEFINES): Define and use plain grep.

	Necessary for Bernd's code to extract groff options.

2013-07-16  Ingo Schwarze  <schwarze@openbsd.org>

	* tmac/an-old.tmac (TP): Do not clobber line length after double
	call to `.TP'.

2013-07-02  Colin Watson  <cjwatson@debian.org>

	* doc/groff.texinfo: Fix syntax error in documentation of `\z'.

2013-07-02  Colin Watson  <cjwatson@debian.org>

	* src/devices/grolbp/lbp.cpp (main): Don't write trailer if no
	printer was created.

2013-06-19  Eric S. Raymond  <esr@thyrsus.com>

	* src/utils/lkbib/lbib.man: Move running text out of synopsis.

2013-05-06  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/groff/Makefile.sub: Replace `cpp' by `groff.cpp'.

2013-05-06  Bernd Warken  <groff-bernd.warken-72@web.de>

	* Makefile.in: Add new `contrib' directory `RUNOFF'.

2013-05-01  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/groff/Makefile.sub: Remove all `.PHONY:' lines.

2013-04-30  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/groff/Makefile.sub: Replace `egrep' by `$(GREP)'.
	commands.  Don't use $(CCSRCS) any more.

2013-04-30  Bernd Warken  <groff-bernd.warken-72@web.de>

	* Makefile.in, m4/groff.m4: Add `@libprogramdir@' and
	`$libprogramdir' (usually `/usr/local/lib/groff').  Change
	`$libdir/groff' into $libprogramdir for several `groff' programs.
	Run `autoreconf -I m4'.

	* src/roff/groff/MAkefile.sub: Add $(DESTDIR) and $(srcdir) in
	order to support installation outside of source code.

	* contrib/glilypond/Makefile.sub, contrib/glilypond/glilypond.pl:
	Correct the install directories.

2013-04-29  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/groff/Makefile.sub: Replace some variables by shell
	commands.  Improve the output for the `make' runs.

2013-04-28  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/groff/Makefile.sub: Make this Makefile compatible.

2013-04-28  Bernd Warken  <groff-bernd.warken-72@web.de>
2013-04-28  Werner LEMBERG  <wl@gnu.org>

	* src/roff/groff/Makefile.sub: Use `make' variables to get
	`groff' options from `getopt' in `groff.cpp'.  Create 2 files
	`groff_opts_no_arg.txt' and `groff_opts_with_arg.txt'.

2013-04-26  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/groff/read_groff_options.pl: Remove this file.  It's
	no longer needed.

	* src/roff/groff/Makefile.sub: Get the `groff' options from the
	use of `getopt...' in `groff.cpp' using `$(EGREP)' and `sed'.
	Store this information in a new file `groff_options.txt', which
	is copied to `groff libdir' during the installation.

2013-04-26  Werner LEMBERG  <wl@gnu.org>

	Various minor fixes.

	* INSTALL.gen: Take the newest version from the `gnulib'
	repository.

	* configure: Regenerated.

2013-04-26  Bernd Warken  <groff-bernd.warken-72@web.de>

	* INSTALL.gen: Restore an older version from `2006' in
	`groff-1.21'.

	* FOR-RELEASE: New file which describes how to prepare `groff'
	for a new release.

2013-04-26  Bernd Warken  <groff-bernd.warken-72@web.de>

	* src/roff/groff/read_groff_options.pl: Reads `groff' options
	from `groff.cpp' and writes them into the file `groff_options.info'.

	* src/roff/groff/Makefile.sub: Have the generated file
	`groff_options.info' be installed into the `groff libdir'.

2013-04-16  Bernd Warken  <groff-bernd.warken-72@web.de>

	* INSTALL.gen: Replace this file by the daily `git' version of
	`automake' `INSTALL' file.

	* INSTALL.autotools: Remove file.

	* INSTALL.CVS: New file, moved from `INSTALL.autotools'.

	* m4/ax_prog_perl_version.m4: New file, taken from package
	`autoconf-archive-2013.04.06'.

	* m4/groff.m4: Remove unnecessary blank line.

	* Makefile.in: Add `$(PERLVERSION)'.

	* aclocal.m4: Run `autoreconf -I m4' (this includes
	`aclocal -I m4').  This creates a suitable `aclocal.m4'.  Remove
	generated subdirectory `autom4te.cache'.

	* src/roff/grog/Makefile.sub: Correct `sed' command.  Use `tabs'
	that are needed by `GNU make'.

2013-04-16  Bernd Warken  <groff-bernd.warken-72@web.de>

	* Makefile.sub: Add `m4/ax_compare_version.m4'.

	* aclocal.m4: Run the latest `aclocal -I m4' which generates a
	suitable content in that file.

	* INSTALL.autotools: Information of the usage of `GNU autotools'
	with `groff'.

	* INSTALL.gen: Move `autotool' parts to file `INSTALL.autotools'.

2013-04-15  Bernd Warken  <groff-bernd.warken-72@web.de>

	* m4/groff.m4: Replace tabs by spaces.  Use a double line between
	AC_DEFUNs.

2013-04-15  Bernd Warken  <groff-bernd.warken-72@web.de>

	In the whole `groff' system, rename autoconf variable `$PERLPATH'
	to `$PERL', which has the same content.  But `$PERL' suits to
	`AX_PROG_PERL_VERSION' in m4 macro `GROFF_PERL' in `m4/groff.m4'.

	* src/utils/afmtodit/Makefile.sub,
	* src/devices/gropdf/gropdf.pl,
	* src/devices/gropdf/Makefile.sub,
	* src/devices/gropdf/pdfmom.pl,
	* arch/djgpp/config.site,
	* font/devpdf/Makefile.sub,
	* contrib/mm/Makefile.sub,
	* m4/groff.m4,
	* Makefile.in: Replace `$PERLPATH' by `$PERL'.

	* m4/ax_compare_version.m4: New file, copied from daily version of
	`GNU autoconf-archive'.

	`autoconf' was not yet run, a newer version is needed.

2013-04-15  Bernd Warken  <groff-bernd.warken-72@web.de>

	* README, INSTALL, INSTALL.gen, MANIFEST: Add documentation in the
	top directory about some parts of `autotools' and `glilypond'.

2013-04-15  Bernd Warken  <groff-bernd.warken-72@web.de>

	* configure.ac: Add information of the macro `GROFF_PERL'.

	* Makefile.in: Add definitions of the macro variables and their
	`@...@' counterparts.

	Run `autoreconf -I m4'.

2013-04-15  Bernd Warken  <groff-bernd.warken-72@web.de>
2013-04-15  Werner LEMBERG  <wl@gnu.org>
2013-04-15  Ralph Carderoy  <ralph@inputplus.co.uk>

	Add Perl test to configuration.  During the run of `configure' the
	program is broken with error when there is no `Perl' or the `perl'
	program is too old.

	* m4/groff.m4: Add macro `GROFF_PERL' that tests the availability
	of the `perl' program and tests wether this has a version of at
	most `v5.6.1'.  Define variables $PERL and $PERLPATH for the full
	name of the `perl' program and $PERLVERSION as the lest version.

2013-04-13  Keith Marshall  <keithmarshall@users.sourceforge.net>

	Avoid consideration of autotool cache for CVS inclusion.

	* .cvsignore (autom4te.cache): Add reference.

2013-04-13  Bernd Warken  <groff-bernd.warken-72@web.de>

	* `autotools': During the run of `autoconf' and `autoreconf' a
	subdirectory `autom4te.cache' was created.  I first added this to
	groff CVS and removed it again after an email-discussion.

2013-04-12  Bernd Warken  <groff-bernd.warken-72@web.de>

	* `grog': Remove the shell version of `grog'.  Now there is only
	Perl version.

	* src/roff/grog/perl.sh: Remove this file.

	* src/roff/grog/Makefile.sub: This file handles the removement of
	the shell version.

	* src/roff/grog/perl_test.pl: New file for testing the available
	Perl version in the system to be installed into.  This file will
	be installed into the grog lib-directory.

2013-04-12  Bernd Warken  <groff-bernd.warken-72@web.de>

	* `grog': In the following, the file `grog.pl' will be split.  For
	the coming files, a lib-directory is needed for storage.

	* m4/groff.m4, configure.ac: Add libdir information for `grog'.

	* Makefile.in: Add @grog_dir@.

	Run `autoconf'.

	`grog' has now a lib-directory at `$prefix/lib/groff/grog'.

2013-04-11  Bernd Warken  <groff-bernd.warken-72@web.de>

	* contrib/groffer/: There is a free `git' package containing all
	old `groffer' versions `v0.*' and `v1.*'.  The new versions
	`groffer 2.*' will actually not be included.  This package can be
	got at:

	$ git clone git@github.com:RUNOFF/groffer.git

2013-04-11  Bernd Warken  <groff-bernd.warken-72@web.de>

	* contrib/glilypond/: There is a free `git' package containing all
	old versions of the former name `groff_lilypond v0.*'.  They work
	with `lilypond' parts in `roff' files, but were not installed.
	This package can be got at:

	$ git clone git@github.com:RUNOFF/groff_lilypond.git

	The new versions `glilypond v1.*' are not included there.

2013-04-11  Bernd Warken  <groff-bernd.warken-72@web.de>

	* man/roff.man: For roff(7), add information about the free git
	package RUNOFF.git with documentation about historical RUNOFF and
	the available files written in the classical RUNOFF language..

2013-03-29  Bernd Warken  <groff-bernd.warken-72@web.de>

	Rename `groff_lilypond' to `glilypond'.  So remove the former
	source directory `<groff_src_dir>/contrib/lilypond' and newly
	install `<groff_src_dir>/contrib/glilypond', which now has many
	files.  The new version starts at `v1.0'.

	* m4/groff.m4, configure.ac: Add libdir information for
	`glilypond'.

	* Makefile.in: Add `<groff_src_dir>/contrib/glilypond'.

	Run `autoconf'.

	`glilypond' can now be installed to the system.

2013-03-17  Ingo Schwarze  <schwarze@openbsd.org>

	* font/devpdf/Makefile.sub: Build system fixes.

	(GROFF_FONT_FILES): Avoid installing Makefile.sub.orig when it's
	around.
	(install): Create $(DESTDIR)$(fontsubdir)/util when missing.

2013-03-05  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Improve documentation of `\s'.

	Reported by Jim Avera <james_avera@yahoo.com>.

2013-02-16  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Improve documentation of `.substring'.

	Reported by Jim Avera <james_avera@yahoo.com>.

2013-02-13  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Fix if-else example.

	Reported by Jim Avera <james_avera@yahoo.com>.

2013-02-10  Werner LEMBERG  <wl@gnu.org>

	[grops] Make binary `%%BeginData' work; support `fontset' resource.

	* src/devices/grops/psrm.cpp (resource_table): Add `fontset'.

	(resource_manager::read_resource_arg): Do a case insensitive
	comparison.  The PostScript Reference Manual gives the following
	example for a CFF resource (example 5.7):

	%!PS-Adobe-3.0 Resource-FontSet
	%%DocumentNeedResources: ProcSet (FontSetInit)
	%%Title: (FontSet/CFFRoman27)
	%%Version: 1.000
	%%EndComments
	%%IncludeResource: ProcSet (FontSetInit)
	%%BeginResource: FontSet (CFFRoman27)
	/FontSetInit /ProcSet findresource begin
	%%BeginData: 622532 Binary Bytes
	/CFFRoman27 622503 StartData
	... 622,503 bytes of binary data ...
	%%EndData
	%%EndResource
	%%EOF

	Note the `ProcSet' and `FontSet' keywords.  While the old DSC
	(Document Structure Convention) documentation doesn't cover
	`FontSet' at all (the DSC documentation predates the invention of
	CFF), it describes only `procset' (all letters downcase), and it
	also says that the DSC parser works in a case sensitive manner.

	In other words, `ProcSet' is not valid according to the DSC
	documentation, only `procset' is.  So much about today's validity
	of DSC...  This patch adapts grops's code to the PostScript
	reality.

	(resource_manager::do_begin_data): Fix typo (present since the
	beginning) which prevented correct handling of binary data.

	* src/devices/grops/ps.h (resource_type): Add RESOURCE_FONTSET.

2013-02-10  Bernd Warken  <groff-bernd.warken-72@web.de>

	* contrib/lilypond: New files for adding lilypond parts into groff
	files.

2013-02-07  Werner LEMBERG  <wl@gnu.org>

Version 1.22.2 released
=======================

	* NEWS, REVISION, doc/groff.texinfo, doc/webpage.ms: Updated.

	* configure: Regenerated.

	* doc/texinfo.tex: Updated from `texinfo' repository.

	* src/roff/groff/groff.cpp (main) <'v'>: Update copyright year.

2013-02-07  Werner LEMBERG  <wl@gnu.org>

	* src/libs/gnulib/*: Update `gnulib' files.

2013-02-02  Gilles Espinasse  <g.esp@free.fr>

	[grohtml] Don't ignore return value of `dup'.

	* src/preproc/html/pushback.cpp (pushBackBuffer::pushBackBuffer,
	pushBackBuffer::~pushBackBuffer): Abort if `dup' fails.

2013-01-30  Bernd Warken  <groff-bernd.warken-72@web.de>

	* tmac/groff_man.man: Fix wrong connection for tbl(1).

2013-01-29  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Fix documentation of .LP macro in ms.
	Problem reported by Omari Norman <omari@smileystation.com>.

2013-01-29  Werner LEMBERG  <wl@gnu.org>

	* doc/Makefile.sub (uninstall_sub): Handle `gnu.eps'.

2013-01-29  Werner LEMBERG  <wl@gnu.org>

	Building clean-ups.

	* Makefile.in: Use $(top_srcdir) where appropriate.
	* Makefile.sub (M4MACROS): Add `fcntl-o.m4' and `localcharset.m4'.

	* font/devpdf/Makefile.sub (UTILFILES): Removed, unused.
	(MOSTLYCLEANADD): Add `BuildFoundries'.
	* src/devices/gropdf/Makefile.sub (MOSTLYCLEANADD): Add `pdfmom'.

2013-01-24  Bernd Warken  <groff-bernd.warken-72@web.de>

	* Add a shell command to 'MANIFEST' that displays all man source
	files and their section.

2013-01-22  Bernd Warken  <groff-bernd.warken-72@web.de>

	* Add email address in all files having the name.

2013-01-14  Deri James  <deri@chuzzlewit.myzen.co.uk>

	* src/devices/gropdf/gropdf.pl (do_x, do_p, do_s, Set_LWidth): The
	grops driver defaults to round linecaps and linejoins, gropdf
	incorrectly used butt caps and miter joins.

	(Since the MOM package expects to use butt caps and miter joins
	(emitting the necessary postscript code to change the caps and
	joins), gropdf now parses the same postscript commands.)

	* src/devices/gropdf/gropdf.man: Document the handling of linecaps
	and linejoins.

	* tmac/pdf.tmac (pdfbookmark): Fix bug where the current
	PDFOUTLINE.FOLDLEVEL may not be honoured if warnings of the type

	macro warning: adjusted level n bookmark; should be <= n

	Added copyright and mention debt owed to Keith Marshall for
	original `pdfmark.tmac', upon which `pdf.tmac' is largely based.

	* font/devpdf/Foundry.in, font/devpdf/util/BuildFoundries.pl
	(LocateFile): The font for EURO had the wrong entry in the
	`download' file (it pointed to The font in the build directory,
	which is wrong).  It has always been permissable to include a path
	along with the font name in the Foundry file, but until now the
	font had to exist to be valid.  It is now permitted to start the
	path with an asterisk which tells BuildFoundry to use the
	path/filename in the download file without checking if the font
	exists.  This allows the font to be found in `../devps' even
	though it is not there during the build (if source and build are
	different), but will be there after the install.

2013-01-13  Werner LEMBERG  <wl@gnu.org>

	[eqn] Fix display of matrices in nroff output.

	Problem reported by Andy Spencer <andy753421@gmail.com>.

	* src/preproc/eqn/pile.cpp (pile_box::compute_metrics,
	matrix_box::compute_metrics): Fix rounding.

2013-01-07  Deri James  <deri@chuzzlewit.myzen.co.uk>

	* tmac/europs.tmac: Protect against missing fonts.

2013-01-07  Deri James  <deri@chuzzlewit.myzen.co.uk>

	* font/devpdf/util/BuildFoundries.pl (LoadFoundry): Improve
	warning.

2013-01-07  Werner LEMBERG  <wl@gnu.org>

	[tbl] Allow characters #, `, and ' as eqn delimiters.

	While problems ` and ' have been unintentionally introduced rather
	recently, the limitation regarding # was there from the beginning.

	At the same time, fix a small bug causing `.lf' requests not
	starting a line.

	* src/preproc/tbl/table.cpp (table::init_output)
	(table::compute_expand_width, table::compute_separation_factor)
	(table::define_bottom_macro, table::do_bottom): Temporarily switch
	off eqn delimiters, wrapping the code into a `.ig' block.  This
	uses the new functionality just added to eqn.

	* src/preproc/eqn/eqn.man, src/preproc/tbl/tbl.man: Updated.

2013-01-06  Werner LEMBERG  <wl@gnu.org>

	[eqn] Add `delim on'.

	* src/preproc/eqn/lex.cpp (start_delim_saved, end_delim_saved):
	New global variables.
	(do_delim): Handle `delim on' to restore previous start and end
	delimiters.

	* src/preproc/eqn/eqn.man, NEWS: Document it.

2013-01-02  Deri James  <deri@chuzzlewit.myzen.co.uk>

	[gropdf] Various minor fixes.

	* src/devices/gropdf/gropdf (do_x) <'X'> <'pdfpic'>: Using

	\X'pdf: pdfpic'

	with a zero width now works correctly.

	(LoadPDF): Scale width in proportion to given height.

	(do_s): In some circumstances a font size change is emitted before
	current font is established.  Fix handles this situation.

2012-12-30  Werner LEMBERG  <wl@gnu.org>

Version 1.22.1 released
=======================

	Due to CVE-2012-3386, ftp.gnu.org rejected uploading of version
	1.22 -- in other words, 1.22 has never been released.

	* NEWS, REVISION, doc/groff.texinfo, doc/webpage.ms: Updated.

	* Makefile.in (NOMAKEDIRS): Updated.

2012-12-30  Werner LEMBERG  <wl@gnu.org>

	* src/libs/gnulib/*: Update `gnulib' files.

	Because we currently don't support `gnulib-tool' directly but add
	everything to the CVS repository, and many internal details of the
	gnulib setup has changed, it is necessary to do redo the import.

	. Temporarily rename `src/libs/gnulib' to `src/libs/gnulib.old'.

	. Call

	    gnulib-tool --create-testdir \
	                --dir=src/libs/gnulib \
	                wcwidth

	. Manually move directories `src/libs/gnulib/gl{lib,m4}' to
	`src/libs/gnulib/{lib,m4}', and do `s/gllib/lib/' and `s/glm4/m4/'
	in all files to `convert' the gnulib testbed to a standard gnulib
	configuration as maintained by gnulib-tool.  Additionally, remove
	the directory `src/libs/gnulib/gltests' and the references to
	`gltests' in all files.

	(All of this could be done with a script, but I hope that this is
	eventually replaced with migrating groff as a whole to gnulib and
	its setup).

	. Call

	    gnulib-tool --add-import \
	                --dir=src/libs/gnulib \
	                wcwidth

	to update everything.

	. Merge the changed, new, and deleted files into `gnulib.old',
	delete `gnulib', rename `gnulib.old' to `gnulib', then commit.

2012-12-28  Werner LEMBERG  <wl@gnu.org>

	[doc] More documentation generation rules.

	* doc/Makefile.in (.texinfo.txt): New rule.
	(.texinfo.html): Use `LANG='.
	(split-html): New target.

2012-12-28  Werner LEMBERG  <wl@gnu.org>

	* doc/fixinfo.sh: Make it work with makinfo 4.13 also.

2012-12-28  Werner LEMBERG  <wl@gnu.org>

	Split ChangeLog.

	* ChangeLog: Split off older entries into...
	* ChangeLog.121: this new file.

2012-12-28  Werner LEMBERG  <wl@gnu.org>

Version 1.22 released
=====================

	* NEWS, VERSION, doc/groff.texinfo, doc/webpage.ms: Updated.

	* config.guess, config.sub: Updated from `config' repository.

	* INSTALL.gen: Updated from `gnulib' repository (file `INSTALL').

	* aclocal.m4, configure: Regenerated.

	* doc/texinfo.tex: Updated from `texinfo' repository.

	* src/roff/groff/groff.cpp (main) <'v'>: Update copyright year.

2012-12-27  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>

	* man/groff_font.man: Typographical improvements and typos.

2012-12-27  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>

	* man/ditroff.man: Typographical improvements and typos.

2012-12-18  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>

	* man/groff_diff.man: Typographical improvements and typos.

2012-12-16  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>

	* man/groff.man: Typographical improvements (and one typo).
	* man/groff_char.man: Typographical improvements.

2012-10-17  Deri James  <deri@chuzzlewit.myzen.co.uk>

	* src/devices/gropdf/gropdf.pl (do_D): The command \D't N' moves
	horizontal position by 'N'.  gropdf now obeys this rule.
	(do_t): Fixed kerning issue where width of non-kerned text could
	be wrongly calculated using previous kern factor.

2012-09-21  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Improve documentation of `.ad'.

2012-09-20  Werner LEMBERG  <wl@gnu.org>

	* doc/Makefile.sub (uninstall_sub): Fix removal of info files.

2012-09-20  Werner LEMBERG  <wl@gnu.org>

	Simplify environment handling.

	Suggested by Ivan Shmakov <oneingray@gmail.com>.

	* doc/Makefile.in, doc/Makefile.sub (GROFF): Don't use export.

2012-09-20  Deri James  <deri@chuzzlewit.myzen.co.uk>

	[gropdf] Various minor fixes.

	* font/devpdf/Foundry.in: Add font path to debian `gsfonts'
	package.

	* font/devpdf/util/BuildFoundries.pl: Handle missing fonts in a
	more sane way, do NOT abort the complete make run!

	* src/devices/gropdf/gropdf: Accept papersize names (i.e. A4) as
	either upper or lower case.  The -p (papersize) option should be
	length,width (currently reversed - width,length)

	* src/devices/gropdf/pdfmom.pl: Support use of GROFF_BIN_PATH.

2012-09-11  Ralph Corderoy  <ralph@inputplus.co.uk>
	    Werner LEMBERG <wl@gnu.org>

	* src/preproc/tbl/tbl.man: Better document `d' column specifier.

2012-08-31  Deri James  <deri@chuzzlewit.myzen.co.uk>

	Add `pdfmom' to handle mom documents with gropdf.

	* Makefile.in (OTHERDIRS): Move contrib/mom to be run after
	devices/gropdf.

	* src/devices/gropdf/gropdf.pl: Various fixes:

	. Correct image scaling issue.
	. Handle relative horizontal movement 'h' followed by absolute
	vertical movement 'V'.
	. Correct handling of track kerning.

	* src/devices/gropdf/pdfmom.pl: New wrapper for mom (pdfmom)
	using gropdf or grops driver.
	* src/devices/gropdf/pdfmom.man: New man page.
	* src/devices/gropdf/Makefile.sub: Updated to handle new files.

2012-08-31  Deri James  <deri@chuzzlewit.myzen.co.uk>

	* Makefile.in (OTHERDIRS): Move contrib/mom to be run after
	devices/gropdf.

	* src/devices/gropdf/gropdf.pl: Various fixes:

	. Correct image scaling issue.
	. Handle relative horizontal movement 'h' followed by absolute
	    vertical movement 'V'.
	. Correct handling of track kerning.

	* src/devices/gropdf/pdfmom.pl: New wrapper for mom (pdfmom)
	using gropdf or grops driver.
	* src/devices/gropdf/pdfmom.man: New man page.
	* src/devices/gropdf/Makefile.sub: Updated to handle new files.

2012-08-31  Julien Moutinho  <julm+groff@autogeree.net>

	* tmac/www.tmac (www-push-li): Fix indentation.

	See

	http://lists.gnu.org/archive/html/bug-groff/2012-08/msg00009.html

	for the full report.

2012-08-08  Eric S. Raymond  <esr@thyrsus.com>

	TBLization, as discussed on the list.  There's a rewrite of
	this file in planning, but this gets the content clean for now.

	* tmac/groff_mdoc.man: In this file.

2012-08-09  Werner LEMBERG  <wl@gnu.org>

	Provide proper Unicode mapping from and to dotless j.

	* src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
	src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Add it.

2012-08-08  Eric S. Raymond  <esr@thyrsus.com>

	Added Unicode code point for dotless j.

	* man/groff_char.man: In this file.

2012-08-08  Werner LEMBERG  <wl@gnu.org>

	* man/groff_char.man: Clean-ups.

2012-08-08  Eric S. Raymond  <esr@thyrsus.com>

	Elimination of nasty presentation-level macro tangles makes
	structural translation to XML possible.

	* man/groff_char.man: Clean up the mess, use real TBL tables.

2012-07-23  Eric S. Raymond  <esr@thyrsus.com>

	More elimination of low-level troff hackery in the documentation
	so it can be lifted to structural markup.

	* tmac/groff_me.man: Use TBL rather than wacky diversions and .ti
	requests.

2012-07-24  Werner LEMBERG  <wl@gnu.org>

	Fix appearance of groff.texinfo's HTML output.

	Cartouches within an `example' environment don't work.

	* doc/groff.texinfo (CartoucheExample, endCartoucheExample): New
	macros.  Use them where appropriate.

2012-07-17  Ingo Schwarze  <schwarze@usta.de>

	[mdoc] Make `Fl' correctly restore fonts.

	* tmac/doc.tmac (doc-flag-recursion): Do it.

2012-07-07  Eric S. Raymond  <esr@thyrsus.com>

	* src/preproc/eqn/eqn.man, src/preproc/grn/grnn.man,
	src/devices/grodvi/grodvi.man, src/devices/grolj4/grolj4.man,
	src/devices/grops/grops.man, src/utils/lkbib/lkbib.man,
	src/utils/indxbib/indxbib.man, src/utils/tfmtodit/tfmtodit.man,
	src/utils/xtotroff/xtotroff.man:
	Remove running text in the synopses of various manual pages,
	as it badly screws up attempts to mechanically parse them.

	* contrib/mom/groff_mom.man: Use .URL rather than .UR/.UE, as this
	is now preferred for manual pages.

2012-07-03  Werner LEMBERG  <wl@gnu.org>

	Fix Unicode mapping of Greek stroked and curly phi.

	Problem reported by Alkis Georgopoulos <alkisg@gmail.com>;
	see

	https://bugs.launchpad.net/ubuntu/+source/groff/+bug/1008115

	* src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Flip
	values of U+03C6 and U+03D5.

2012-06-13  Deri James  <deri@chuzzlewit.demon.co.uk>

	* src/devices/gropdf/gropdf.pl: When using variable page
	sizes (with \X'papersize ...') ensure final page is correct
	size.

2012-05-24  Werner LEMBERG  <wl@gnu.org>

	* src/roff/grog/grog.pl (process): Fix .so handling.

	This does the same as the previous commit.

2012-05-24  Denis M. Wilson  <dmw@oxytropis.plus.com>

	* src/roff/grog/grog.sh: Fix .so handling.

	See

	http://lists.gnu.org/archive/html/bug-groff/2012-05/msg00000.html

	for the report and the bug fix.

2012-05-24  Ivan Shmakov  <oneingray@gmail.com>

	Add some generic fallback characters.

	* tmac/fallbacks.tmac: New file.
	* tmac/troffrc: Include it.
	* tmac/Makefile.sub (NORMALFILES): Include it.

2012-05-20  Deri James  <deri@chuzzlewit.demon.co.uk>

	* doc/groff.texinfo: Add extra info about `.asciify'.
	Document new gropdf options -u and -s.

	* src/devices/gropdf/gropdf.man: Remove references to Type 42
	fonts, they do not work in PDFs.

	Document new option -s which adds `statistics' line to end of PDF
	file showing number of pages in document.  This has always been
	the default behaviour (to add this line), all other software seems
	to ignore it as intended, but `gs' sometimes complains, so the
	default is now to omit the statistics.

	Document new option -u[cmapfilename] to allow a user ToUnicode
	CMap instead of gropdf's default.  If no `cmapfilename' given then
	do not include any ToUnicode CMap.

	* src/devices/gropdf/gropdf.pl <top>: Allow `bundled' flags on
	command line (i.e. -de = -d -e).

	Use $RT_SEP as multi path separator, not hard coded `:'.  Update
	all users.

	New flags -u and -s.  Once a custom papersize has been set as
	\X'papersize x,y' make it sticky so all following pages use custom
	size.  When importing pdf with \X'pdf: pdfpic ...' do not compress
	objects which are already compressed! This caused problems with
	PDFs created with ImageMagick, now fixed.

	(IsText, PutLine, do_t): The troff `u' command can contain a
	kerning adjustment number, this was not being handled, now fixed.

	(do_c): The troff `c' command was not being handled correctly, now
	fixed.
	(FindChar, RemapChr, do_N): Handle fonts with more than 255 glyphs.
	($ucmap): Define CMap ToUnicode to convert ligatures
	(fl,fi,ff,ffl,ffi) back to individual characters, useful for
	cut'n'paste and text searching.
	(LoadFont): Handle it.
	(ToPoints, GetPoints): Handle `z' unit.
	(do_x, FixPDFColour, PutHotSpot): Allow Annotation colour to be
	groff colour, i.e. 0-65535 *3, or #rrggbb, or #rrrrbbbbgggg.
	(do_p):The papersize width/length in switch -p were reversed,
	corrected.

	* src/devices/gropdf/Makefile.sub (gropdf): Use $RT_SEP.
	Use $fontpath rather than $fontdir (this ensures site-font is
	included in searches).

	* tmac/pdf.tmac (PDFBOOKMARK.VIEW, PDFHREF.VIEW, PDFPAGE.Y): Fix
	strings.
	(pdfbookmark): Correct handling of bookmark levels.
	Convert \[em] to hyphen in bookmarks

	Rather use -N than -T for "named" bookmarks (-T already used for
	"tag" in pdfmark.tmac)

	(.pdfclean): New macro which attempts to asciify bookmark text.
	(.pdfpagename): New wrapper macro for \X'pdf: pagename'.
	(.pdfswitchtopage): New wrapper macro for \X'pdf: switchtopage'.

2012-03-10  Werner LEMBERG  <wl@gnu.org>

	Fix compiler warnings.

	* src/preproc/html/pre-html.cpp (alterDeviceTo): Avoid ambiguous
	if-else clause.

	* src/preproc/grn/main.cpp (sccsid): Comment out.

	* src/roff/troff/number.cpp (parse_expr) <case '*'>: Add cast.

	* src/devices/xditview/Makefile.sub (EXTRA_CFLAGS): Add `-Dlint'
	so that unused static ID arrays don't cause a warning.

	(Some) problems reported by Bjarni Ingi Gislason
	<bjarniig@rhi.hi.is>.

2012-03-05  Werner LEMBERG  <wl@gnu.org>

	* tmac/an-ext.tmac (SY): Handle argument with spaces correctly.

	Problem reported by Bjarni Ingi Gislason <bjarniig@rhi.hi.is>.

2012-03-01  Bjarni Ingi Gislason  <bjarniig@rhi.hi.is>

	[an-old] Fix warnings.

	* tmac/an-old.tmac (an-init): Insert missing braces.

2012-02-26  Werner LEMBERG  <wl@gnu.org>

	Update configuration files from `gnulib' and `config' repositories.

	This also fixes a problem with `iconv' on Solaris 10, as reported
	in

	http://lists.gnu.org/archive/html/bug-groff/2012-02/msg00007.html

	* configure.ac: Call `gl_LOCALCHARSET.
	Call `AM_ICONV' as C++.

	* config.guess, config.rpath, config.sub, install-sh, mkinstalldir:
	Updated.

	* m4/codeset.m4, m4/glib21.m4, m4/iconv.m4, m4/lib-ld.m4,
	m4/lib-link.m4, m4/lib-prefix.m4: Updated.
	* m4/fcntl-o.m4, m4/localcharset.m4: New files.

	* Makefile.in: Updated.

	* src/include/localcharset.h, src/libs/libgroff/config.charset,
	src/libs/libgroff/localcharset.c: Updated.

	* aclocal.m4, configure, src/include/config.hin: Regenerated.

2012-02-20  Werner LEMBERG  <wl@gnu.org>

	Update `gnulib' files.

	The invocation was

	gnulib-tool --add-import \
	              --dir=src/libs/gnulib \
	              wcwidth

	Additionally, src/libs/gnulib/configure.ac was adjusted from a
	`test' run as described in the change from 2010-12-13.

	* src/libs/gnulib/*: Updated.

2012-02-15  Deri James  <deri@chuzzlewit.demon.co.uk>

	[gropdf] Fixes and omissions.

	* src/devices/gropdf/gropdf.pl (<top>, do_u): Add facility to
	handle track kerning (.tkf).

	(do_x, do_p, do_t): If pages are reordered using `pagename' and
	`switchtopage' keep track of outline bookmarks.
	(do_x): Handle multiple files on gropdf command line, stitch
	multiple groff_out files together.  In the main read loop any argc
	values not consumed by options are taken as input files and
	processed in order.  What prevented it working properly before is
	the way an `x i' (initialize) record has been handled.  It now
	processes the initialization code only in the first file.

	(PutHotSpot): Allow user to control size of hotspot bounding box
	on clickable links by setting PDFHREF.LEADING

	* tmac/pdf.tmac (PDFHREF.LEADING): Adjust value.
	(pdf*href): Pass value of PDFHREF.LEADING to gropdf.

2012-02-10  Deri James  <deri@chuzzlewit.demon.co.uk>

	[gropdf] Fix compatibility issues with pdfmark.

	* tmac/pdf.tmac (PDFHREF.VIEW.LEADING): Fix value.
	(pdf:href.opt-X): Add check for -X option for .pdfhref.

2012-02-08  Werner LEMBERG  <wl@gnu.org>

	* src/preproc/pic/main.cpp (do_file): Check for invalid characters.

	Problem reported by Doug McIlroy <doug@cs.dartmouth.edu>.

2012-01-25  Ingo Schwarze  <schwarze@usta.de>

	[mdoc] * tmac/doc-syms: Fix meaning of XBD acronym.

2012-01-25  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>

	* tmac/e.tmac (bl): Make it work inside blocks.

	See threads starting with

	http://lists.gnu.org/archive/html/groff/2011-12/msg00055.html
	http://lists.gnu.org/archive/html/groff/2012-01/msg00000.html

2012-01-10  Bruno Haible  <bruno@clisp.org>

	Fix handling of MAKEFLAGS variable.

	* Makefile.in (MAKE_K_FLAGS): Improved definition,
	as explained and discussed in

	http://lists.gnu.org/archive/html/groff/2012-01/msg00039.html

2012-01-03  Ingo Schwarze  <schwarze@usta.de>

	Improve parallel builds.

	Some hdtbl and mom examples want PostScript formatting which
	requires the `DESC' file to be ready; however, the top-level
	`Makefile.in' doesn't currently enforce the proper order of
	building of `font/dev' before `contrib/hdtbl', `contrib/mom', and
	so on.

	Given that `font/dev' and the contrib examples are in different
	child processes of the recursive make system, it doesn't seem
	possible to solve this using clean Makefile dependencies.  We now
	enforce the order by splitting the shell command invoking
	recursive make in the top level `Makefile.in'.

	* Makefile.in (ALLDIRS): Remove `OTHERDIRS'.
	(dodirs): Updated.
	(`$(TARGETS)'): Handle `OTHERDIRS' separately.

2012-01-03  Kristaps Dzonsons  <kristaps@bsd.lv>

	[mdoc] Add `-isoC-2011'.

	* tmac/doc-syms (doc-str-St--isoC-2011): Add it.
	* tmac/groff_mdoc.man: Document it.

2011-12-26  Deri James  <deri@chuzzlewit.demon.co.uk>

	* font/devpdf/Makefile.sub: Only build fonts on first `make'.

2011-12-08  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo (.tl): Improve documentation.
	Wording suggested by Keith Marshall
	<keithmarshall@users.sourceforge.net>.

2011-12-01  Werner LEMBERG  <wl@gnu.org>

	[me] Fix behaviour of centered block.
	Problem and possible fix reported in thread starting at

	http://lists.gnu.org/archive/html/groff/2011-11/msg00002.html

	* tmac/e.tmac (`(c'): Always start with a new line.

2011-12-01  Ingo Schwarze  <schwarze@usta.de>

	[man] Print volume headers like mdoc.

	* tmac/an-old.tmac (an-init): Add default volume name if fifth
	argument to `.TH' is missing.

2011-11-22  Werner LEMBERG  <wl@gnu.org>

	* tmac/groff_man.man: Minor documentation improvements.
	Suggested by Jeff Conrad <jeff_conrad@msn.com>.

2011-11-14  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Improve doc for calling undefined identifiers.

2011-11-14  Werner LEMBERG  <wl@gnu.org>

	* src/preproc/tbl/tbl.man: Improve documentation of `_' and
	friends.

2011-10-31  Werner LEMBERG  <wl@gnu.org>

	Fix compiler warnings.

	* src/preproc/eqn/main.cpp (do_file), src/roff/troff/env.cpp
	(environment::print_env), src/roff/troff/mtsm.cpp
	(statem::display_state): Add syntactical sugar.

	* src/utils/tfmtodit/tfmtodit.cpp (char_info_word): Use `unsigned
	char' for all members.

	* src/devices/grohtml/html-text.cpp (html_text::remove_def):
	Remove unused variable `q'.

	* src/devices/grohtml/post-html.cpp
	(html_printer::lookahead_for_tables): Remove unused variable `left'
	and `seen_text'.

2011-10-23  Ingo Schwarze  <schwarze@openbsd.org>

	[mdoc] Synchronize string tables with the mandoc(1) utility.

	* tmac/doc-common: Add many architecture names used in NetBSD and
	OpenBSD (and "arm" from FreeBSD) and remove the duplicate OS
	version entry for Darwin-10.6.0.

	* tmac/doc-syms: Add many library names used in NetBSD and FreeBSD.

	* tmac/groff_mdoc.man: Document all supported architecture names)
	(OS versions, and library names.

2011-09-11  Joseph Koshy  <jkoshy@users.sourceforge.net>

	[mdoc] Add some library strings.

	* tmac/doc-syms: Add `libdwarf' and `libelf'.
	* tmac/groff_mdoc.man: Document them.

2011-08-14  Deri James  <deri@chuzzlewit.demon.co.uk>

	[gropdf] More minor fixes.

	* font/devpdf/Makefile.sub (MOSTLYCLEANADD): Don't attempt to
	install 'util/BuildFoundries', only used in 'make'.

	* src/devices/gropdf/gropdf.pl (<top>, GetType1): Make STDOUT and
	any font files read to be accessed in binary rather than text mode.
	Prevents errors when running on systems set up for UTF-8.

2011-08-10  Deri James  <deri@chuzzlewit.demon.co.uk>

	[gropdf] Minor updates and fixes.

	* src/devices/gropdf/gropdf.pl: Change command line option `-fy'
	to `-y' for consistency.

	Better support for Windows platform.
	(do_x): Handle keywords `pagename' and `switchtopage'.

	* doc/groff.texinfo, src/devices/gropdf/gropdf.man: Updated.

	* font/devpdf/Foundry: Renamed to...
	* font/devpdf/Foundry.in: This.
	Add default alias font names.

	* font/devpdf/util/BuildFoundries.pl: This is now an installation
	helper script and gets not longer installed.
	Support alternative font file names (separated with `!').

	* font/devpdf/Makefile.sub: Fixes to work with a separate build
	directory.
	Font files are now build at `make' time; this makes `test-groff'
	work with -Tpdf.

	* font/devpdf/util/Makefile.sub: Removed.

	* Makefile.in (DEVDIRS, OTHERDIRS, EXTRADIRS): Handle devpdf
	specially.

2011-07-29  Daiki Ueno  <ueno@unixuser.org>

	Fix cross building.  Problem reported by Christophe Jarry
	<christophe.jarry@ouvaton.org>.

	* Makefile.in ($GNULIBDIRS): Pass original config arguments to
	src/libs/gnulib/configure.

2011-06-25  Deri James  <deri@chuzzlewit.demon.co.uk>

	Add new output device `gropdf'.

	* font/devpdf/*: New device files for gropdf.
	* src/devices/gropdf/*: New device.

	* Makefile.comm (install_dev, uninstall_dev): Handle more
	subdirectories.
	* Makefile.in (DEVDIRS, OTHERDIRS, EXTRADIRS): Add directories
	related to gropdf.
	* MANIFEST: Updated.
	* test-groff.in (GROFF_BIN_PATH): Updated.

	* tmac/Makefile.sub (NORMALFILES): Updated.
	* tmac/pdf.tmac: New file.
	* tmac/troffrc: Updated.

	* doc/groff.texinfo: Document it.
	* doc/Makefile.in, doc/Makefile.sub (groff_bin_dirs): Udpated.
	* doc/pic.ms: Updated.

	* man/groff_out.man, src/devices/grops/grops.man,
	src/preproc/pic/pic.man, src/roff/groff/groff.man,
	src/utils/afmtodit/afmtodit.man, src/utils/pfbtops/pfbtops.man:
	Updated.

	* contrib/pdfmark/pdfmark.ms: Updated.

2011-07-20  George HELFFRICH  <ghfbsd@gmail.com>

	Improve line numbering support in tbl and with me macros.

	* tmac/e.tmac (n1, n2, TH, PS): Implement it.
	(@h, @n, @o, @t, @k, )b, (c, (q, )q, (l, )l, (f, @q, PE): Updated.
	* doc/meref.me: Document changes.

	* src/preproc/tbl/table.cpp (ROW_START_LINE_REG)
	(ROW_SAVE_LINE_REG, ROW_MAX_LINE_REG, REPEATED_NM_SET_MACRO)
	(REPEATED_NM_SUS_MACRO): New macros.

	(table::init_output): Define REPEATED_NM_SET_MACRO and
	REPEATED_NM_SUS_MACRO.
	(table::print_single_hline, table::print_double_hline,
	table::define_bottom_macro, table::do_row, table::do_top,
	table::do_bottom): Updated.

	* doc/webpage.ms: Updated.

2011-07-12  Ted Harding  <ted.harding@wlandres.net>
	    Werner LEMBERG <wl@gnu.org>

	* src/preproc/tbl/tbl.man: Mention trick to get abutting rules.

2011-07-03  Ben Laurie  <benl@FreeBSD.org>

	Fix clang warnings.

	* src/libs/libdriver/input.cpp (odd): Use parentheses.

	* src/roff/troff/mtsm.cpp (state_set::is_in): Fix parentheses;
	previous code always tested for bit 0.

2011-07-03  Guillem Jover  <guillem@debian.org>

	mdoc: Update more OS versions strings.

	* tmac/doc-common: Add versions strings for NetBSD, OpenBSD,
	FreeBSD, and DragonFly.

2011-04-08  Michail Vidiassov  <master@iaas.msu.ru>

	mdoc: Update various strings related to Mac OS X and FreeBSD.

	* tmac/doc-common: Add strings for FreeBSD 8.2 and Darwin 9.7-11.0.
	* tmac/doc-syms: Add strings -lbsm and -lSystem.

2011-03-29  Christian Weisgerber  <naddy@mips.inka.de>

	Fix compilation issues with gcc 2.95.

	* src/roff/troff/input.cpp (my_input_iterator): Define as an alias
	for `input_iterator' which is predefined by an old libstdc++.

2011-03-29  Ingo Schwarze  <schwarze@usta.de>

	Add another POSIX standard.

	* tmac/doc-syms: Add POSIX 1003.1b.

2011-03-29  Christian Weisgerber  <naddy@mips.inka.de>

	Fix build with non-GNU make.

	* Makefile.in ($TARGETS): We must not pass `$MDEFINES' recursively
	down to the sub-makes started in src/libs/gnulib, because that
	directory has its own values for `$top_srcdir' etc., and
	overriding those from the command line will cause the build to
	fail.  Currently, `$MAKEOVERRIDES' will prevent the recursive
	passing of those overrides with GNU make, but not with other
	make(1) implementations.  It looks like all targets that require
	`$MDEFINES' set them explicitly anyway, so we shouldn't need to
	set `$MDEFINES' on the top level.

2011-03-21  Jan Vcelak  <jvcelak@redhat.com>
	    Bernd Warken <groff-bernd.warken-72@web.de>

	[groffer] Remove hardcoded path to 'libdir/groff/groffer'
	directory.

	* configure.ac: add GROFFERDIR variables.

	* Makefile.in: add and handle variable groffer_dir

	* m4/groff.m4: set up the --with-grofferdir command line option.

2011-03-18  Werner LEMBERG  <wl@gnu.org>

	[troff] Improve error message.

	* src/roff/troff/input.cc (token::delimiter): Improve error
	message.  Suggested by Doug McIlroy <doug@cs.dartmouth.edu>.

2011-03-04  Werner LEMBERG  <wl@gnu.org>

	[mdoc] Within .An, .Aq, .Ao, and .Ac now use `<' and `>'.
	Problem reported by Ulrich Spörlein <uqs@spoerlein.net>

	* tmac/doc.tmac (Aq, Ao, Ac): Implement it to follow RFC 822 and
	RFC 2822.

2011-02-14  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Add another example for .em request
	Based on a patch from Anton Shepelev <anton.txt@gmail.com>.

2011-01-31  Werner LEMBERG  <wl@gnu.org>

	More fixes for Savannah bug #32301.

	* src/devices/grops/Makefile.sub (XLIBS),
	src/devices/grodvi/Makefile.sub, src/devices/grolj4/Makefile.sub,
	src/devices/grohtml/Makefile.sub, src/devices/grolbp/Makefile.sub:
	Add $(LIBGNU).

2011-01-31  Werner LEMBERG  <wl@gnu.org>

	Fix Savannah bug #32301.

	* src/roff/groff/Makefile.sub (XLIBS),
	src/preproc/grn/Makefile.sub, src/preproc/html/Makefile.sub: Add
	$(LIBGNU).

2011-01-29  Krzysztof Żelechowski  <giecrilj@stegny.2a.pl>

	* doc/groff.texinfo: Complete documentation on output devices.

2011-01-28  Werner LEMBERG  <wl@gnu.org>

	Handle `refer*.tmac'.

	* tmac/Makefile.sub (NORMALFILES): Add `refer*.tmac'.
	* tmac/refer-mm.tmac: Moved to contrib/mm.

2011-01-28  Werner LEMBERG  <wl@gnu.org>

	Improve `refer' support of -me.

	* tmac/refer.tmac, tmac/refer-me.tmac, tmac/refer-ms.tmac,
	tmac/refer-mm.tmac: New files.  The code in refer.tmac is
	based on the old code from `s.tmac'.

	* tmac/s.tmac: Remove direct refer support and include
	`refer-ms.tmac' instead.
	* tmac/e.tmac: Remove direct refer support and include
	`refer-me.tmac' instead.

	* NEWS: Updated.

2011-01-22  Werner LEMBERG  <wl@gnu.org>

	[groff.texinfo]: Updates.

	* doc/groff.texinfo: Document groff's `-j' option.
	Add dummy section for `chem' preprocessor.

2011-01-22  Werner LEMBERG  <wl@gnu.org>

	Update `grog'.

	* src/roff/grog/{groff.sh,groff.pl}: `groff' now calls `pic'
	automatically if `grap' or `chem' is used.
	`chem' has been folded into `groff'.
	* src/roff/grog/grog.man: Updated.

2011-01-22  Werner LEMBERG  <wl@gnu.org>

	Make `groff -G' imply `-p'.

	* src/roff/groff/groff.cpp (main): Implement it.
	* src/roff/groff/groff.man: Updated.

2011-01-22  Werner LEMBERG  <wl@gnu.org>

	Integrate `chem' into `groff' (new option -j).

	* src/roff/groff/groff.cpp (CHEM_INDEX): New constant.
	(main) ['j']: Add `chem'.
	(synopsis, help): Updated.
	* src/roff/troff/pipeline.h (MAX_COMMANDS): Increase to 14.

	* src/roff/groff/groff.man: Document new command line option.
	* NEWS: Updated.

2011-01-22  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: `chem' is now part of groff.

2011-01-22  Werner LEMBERG  <wl@gnu.org>

	* doc/groff.texinfo: Improve description of `.de'.

	Based on suggestions by Ted Harding and Deri James.

2011-01-20  Colin Watson  <cjwatson@debian.org>

	Fix handling of wide characters in no-SGR mode.

	* src/devices/grotty/tty.cpp (tty_printer::make_underline): Only
	emit a single backspace in no-SGR mode.  less (at least)
	backspaces over a character at a time.
	(tty_printer::make_bold): Likewise.

2011-01-19  Werner LEMBERG  <wl@gnu.org>

	* src/preproc/pic/pic.man: Add pic manual to `SEE ALSO' section.

2011-01-14  Werner LEMBERG  <wl@gnu.org>

	Split ChangeLog.

	* ChangeLog: Split off older entries into...
	* ChangeLog.119, ChangeLog.120: these new files.

2011-01-15  Colin Watson  <cjwatson@debian.org>

	* Makefile.comm (INCLUDES): Fix typo.

2011-01-05  Werner LEMBERG  <wl@gnu.org>

	* doc/webpage.ms: Fix rendering of title image.


________________________________________________________________________

##### License

Copyright 2011-2018 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.


##### Editor settings
Local Variables:
fill-column: 72
mode: change-log
version-control: never
End:
vim:set autoindent textwidth=72: