File: Changes

package info (click to toggle)
swish++ 6.1.5-2
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,256 kB
  • ctags: 1,759
  • sloc: ansic: 11,931; lisp: 804; sh: 629; perl: 366; makefile: 80
file content (10822 lines) | stat: -rw-r--r-- 250,996 bytes parent folder | download | duplicates (5)
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
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
SWISH++ Changes
===============


*******************************************************************************
6.1.5
*******************************************************************************


BUG FIXES
---------

* mod/html/elements.c

	1. s/int const/long const/ for 64-bit systems.

* version.h

	1. Upped version to 6.1.5.


*******************************************************************************
6.1.4
*******************************************************************************

BUG FIXES
---------

* The definition of MAKEDEPEND was wrong.  This broke dependency-file
  generation when not using g++.

  (This bug fix shall be known as bug fix MD1.)

* Indexing of some ID3 tags was broken.

  (This bug fix shall be known as bug fix ID31.)


CHANGES, file-by-file
---------------------

* config/config.mk

	1. For MAKEDEPEND, s/:=/=/ for bug fix MD1.

* mod/id3/id3v2.c

	1. In parse_int(), added cast to unsigned char for bug fix ID31.

* version.h

	1. Upped version to 6.1.4.


*******************************************************************************
6.1.3
*******************************************************************************

BUG FIXES
---------

* The search(1) -d option didn't work.

  (This bug fix shall be known as bug fix SEARCHd.)

* Fixed a mistake in the httpindex.1 manual page that showed incorrect use of
  multiple -e options.

  (This bug fix shall be known as bug fix HTTP1.)


CHANGES, file-by-file
---------------------

* man/man1/httpindex.1

	1. Fixed the aforementioned mistake.

* classic_formatter.c
* classic_formatter.h
* encoded_char.c
* encoded_char.h
* indexer.c
* indexer.h
* results_formatter.c
* results_formatter.h
* xml_formatter.c
* xml_formatter.h

	1. Added virtual destructors.

* search.c

	1. In main(), added check of opt.dump_word_index_opt for bug fix
	   SEARCHd.

* version.h

	1. Upped version to 6.1.3.


*******************************************************************************
6.1.2
*******************************************************************************

BUG FIXES
---------

* A LaTeX file ending in a '%' (with no newline) would result in a core dump.

  (This bug fix shall be known as bug fix LATEX1.)


CHANGES, file-by-file
---------------------

* mod/latex/mod_latex.c

	1. Reworked handling of '%' in index_words() for bug fix LATEX1.

* version.h

	1. Upped version to 6.1.2.


*******************************************************************************
6.1.1
*******************************************************************************

BUG FIXES
---------

* Fixed compilation on non-MacOSX systems.

  (This bug fix shall be known as bug fix MAC1.)


CHANGES, file-by-file
---------------------

* search.c

	1. Moved ';' in usage message for bug fix MAC1.

* version.h

	1. Upped version to 6.1.1.


*******************************************************************************
6.1
*******************************************************************************

NEW FEATURES
------------

* Made search(1) cooperate with Mac OS X's launchd(8).

  (This feature shall be known as feature LAUNCHD.)


CHANGES, file-by-file
---------------------

* conf_var.h

	1. Added "launchdcooperation" for feature LAUNCHD.

* FollowLinks.h

	1. Added missing: #ifndef PJL_NO_SYMBOLIC_LINKS

* INSTALL.unix

	1. Added seperate daemon section.

* man/man1/search.1

	1. Added mention of new -l/--launchd options for feature LAUNCHD.

* man/man4/swish++.conf.4

	1. Added mention of new LaunchdCooperation configuration variable for
	   feature LAUNCHD.

* Group.h
* SearchBackground.h

	1. Added missing: #ifdef SEARCH_DAEMON

* LaunchdCooperation.h

	1. New file for feature LAUNCHD.

* search.c

	1. Added launchd_cooperation global variable.
	2. Made specification of launchd cooperation force not going into the
	   background and not set resource limits.
	3. Added -l case.
	4. Added -l/--launchd to usage message.

* search.h

	1. Added launchd_opt.

* search_daemon.c

	1. Added checking of launchd_cooperation variable.

* search_options.c

	1. Added "launchd".

* swish++.conf

	1. Added new LaunchdCooperation configuration variable for feature
	   LAUNCHD.

* User.h

	1. Added missing: #ifdef SEARCH_DAEMON
	2. Added comment about -U.

* version.h

	1. Upped version to 6.1.


*******************************************************************************
6.0.6
*******************************************************************************

BUG FIXES
---------

* The "fix" in 6.0.4 for queries containing meta-names broke another form of
  using meta-names, e.g.:

  	some_meta=(word1 word2)

  that *should* be equivalent to:

  	some_meta=word1 some_meta=word2

  but wasn't.

  (This bug fix shall be known as bug fix MN2.)

* The installation and removal of SYSV start/stop script symlinks was totally
  wrong.

  (This bug fix shall be known as bug fix SYSV.)

* Some words with hyphens in manual pages weren't indexed correctly.

  (This bug fix shall be known as bug fix MHY.)


CHANGES, file-by-file
---------------------

* config/src/explicit.c
* config/src/namespaces.c
* fake_ansi.h

	1. Removed since they're no longer needed.

* GNUmakefile

	1. Reworked creation of SYSV start/stop symlinks for bug fix SYSV.

* mod/mail/mod_mail.c
* mod/mail/multipart.c
* mod/mail/vcard.c

	1. Split handling of multipart and vCard mail into its own files.

* mod/man/mod_man.c

	1. Changed to using "normal" way of using iso8859_1_to_ascii()
	   for bug fix MHY.

* query.c

	1. Completely reworked the way query parameters are passed for
	   bug fix MN2.

* version.h

	1. Upped version to 6.0.6.


*******************************************************************************
6.0.5
*******************************************************************************

BUG FIXES
---------

* Decoding of mail attachments didn't work right if the attachments contained
  bytes whose value > 127.

  (This bug fix shall be known as bug fix ATB.)


CHANGES, file-by-file
---------------------

* conf_var.c
* do_file.c
* mmap_file.[ch]

	1. s/normal/bt_normal/
	2. s/random/bt_random/
	3. s/sequential/bt_sequential/

* charsets/utf7.c
* encodings/base64.c

	1. Removed call to iso8859_1_to_ascii() for bug fix ATB.

* indexer.c

	1. s/No_Meta_ID/Meta_ID_None/
	2. Removed new_file().
	3. Added call to iso8859_1_to_ascii() for bug fix ATB.

* indexer.h

	1. s/No_Meta_ID/Meta_ID_None/
	2. Removed new_file().

* index_segment.h
* search.c

	1. s/word_index/isi_word/
	2. s/stop_word_index/isi_stop_word/
	3. s/dir_index/isi_dir/
	4. s/file_index/isi_file/
	5. s/meta_name_index/isi_meta_name/

* mod/html/elements.h

	1. s/forbidden/et_forbidden/
	2. s/optional/et_optional/
	3. s/required/et_required/

* mod/html/mod_html.c

	1. s/No_Meta_ID/Meta_ID_None/
	2. Moved element_stack_ here.
	3. Reworked new_file().

* mod/html/mod_html.h

	1. s/No_Meta_ID/Meta_ID_None/
	2. Moved element_stack_ to .c file.

* mod/id3/id3v2.h

	1. s/Failure/hr_failure/
	2. s/Success/hr_success/
	3. s/End_of_Frames/hr_end_of_frames/

* mod/id3/id3v2.c
* mod/id3/mod_id3.c
* mod/id3/mod_id3.h

	1. s/No_Meta_ID/Meta_ID_None/

* mod/mail/mod_mail.c

	1. s/No_Meta_ID/Meta_ID_None/
	2. Moved stack_type, boundary_stack, and did_last_header here.
	3. Renamed content_type enum values.
	4. Reworked new_file().

* mod/mail/mod_mail.h

	1. s/No_Meta_ID/Meta_ID_None/
	2. Moved stack_type, boundary_stack, and did_last_header to .c file.
	3. Renamed content_type enum values.

* mod/latex/mod_latex.c
* mod/man/mod_man.c
* mod/rtf/mod_rtf.c

	1. Added call to iso8859_1_to_ascii() for bug fix ATB.
	2. s/No_Meta_ID/Meta_ID_None/

* query.c

	1. s/no_token/tt_none/
	2. s/and_token/tt_and/
	3. s/equal_token/tt_equal/
	4. s/lparen_token/tt_lparen/
	5. s/near_token/tt_near/
	6. s/not_near_token/tt_not_near/
	7. s/not_token/tt_not/
	8. s/or_token/tt_or/
	9. s/rparen_token/tt_rparen/
	A. s/word_star_token/tt_word_star/
	B. s/word_token/tt_word/
	C. s/No_Meta_ID/Meta_ID_None/

* query_node.c
* mod/man/mod_man.h
* mod/rtf/mod_rtf.h

	1. s/No_Meta_ID/Meta_ID_None/

* stem_word.c

	1. s/initial/st_initial/
	2. s/vowel/st_vowel/
	3. s/consonant/st_consonant/

* stop_words.c

	1. s/stop_word_index/isi_stop_word/

* token.[ch]

	1. s/no_token/tt_none/
	2. s/and_token/tt_and/
	3. s/equal_token/tt_equal/
	4. s/lparen_token/tt_lparen/
	5. s/near_token/tt_near/
	6. s/not_near_token/tt_not_near/
	7. s/not_token/tt_not/
	8. s/or_token/tt_or/
	9. s/rparen_token/tt_rparen/
	A. s/word_star_token/tt_word_star/
	B. s/word_token/tt_word/

* word_info.h

	1. s/No_Meta_ID/Meta_ID_None/


* version.h

	1. Upped version.


*******************************************************************************
6.0.4
*******************************************************************************

BUG FIXES
---------

* Queries containing meta-names didn't work right if the meta-name was given
  in any position other than last.

  (This bug fix shall be known as bug fix MN1.)


CHANGES, file-by-file
---------------------

* query.c

	1. In parse_meta(), added: "args.meta_id = No_Meta_ID" for bug
	   fix MN1.

* version.h

	1. Changed to "6.0.4".


*******************************************************************************
6.0.3
*******************************************************************************

BUG FIXES
---------

* The calculation of word deltas was wrong.

  (This bug fix shall be known as bug fix CWD.)


CHANGES, file-by-file
---------------------

* index.c

	1. Removed no-class and dump-html options.  (They should have
	   been removed a long time ago because module-specific options
	   were moved to the modules themselves.)

* indexer.h

	1. In resume_indexing(), added "if" statement.

* INSTALL.unix

	1. Changed minimum supported g++ compiler to the 3.x series, i.e.,
	   2.95.x and earlier are no longer supported.

* mod/html/mod_html.c

	1. In parse_html_tag(), now additionally skipping XML processing
	   instructions.

* word_info.c
* word_info.h

	1. Added last_absolute_word_pos_ for bug fix CWD.

* version.h

	1. Changed to "6.0.3".


*******************************************************************************
6.0.2
*******************************************************************************

BUG FIXES
---------

* error_string() in util.h failed to compile using g++ 3.4.1.

  (This bug fix shall be known as bug fix G341.)


CHANGES, file-by-file
---------------------

* Group.c
* SocketAddress.c
* WordThreshold.c

	1. Removed config variable name from error message.

* conf_var.c
* search.c
* stop_words.c
* thread_pool.c

	1. Switched to using error_string.

* index.c

	1. Switched to using error_string.
	2. Added: max_out_limit( RLIMIT_FSIZE );

* man/man4/swish++.conf.4

	1. Added missing ID3 and LaTeX modules.

* mod/html/mod_html.c

	1. Made entity_to_ascii() and find_attribute() static.

* util.h

	1. Reworked error_string() for bug fix G341.

* version.h

	1. Changed to "6.0.2".


*******************************************************************************
6.0.1
*******************************************************************************

BUG FIXES
---------

* Changes to make it compile with g++ 3.4.0 which purports to be much more
  standards-conforming.

  (This bug fix shall be known as bug fix G34.)


CHANGES, file-by-file
---------------------

* my_set.h

	1. s/end()/this->end()/ for bug fix G34

* pattern_map.h

	1. s/begin()/this->begin()/, s/end()/this->end()/ for bug fix G34
	2. Made __SUNPRO_CC section the only one for bug fix G34.

* version.h

	1. Changed to "6.0.1".


*******************************************************************************
6.0
*******************************************************************************

NEW FEATURES
------------

* Added the ability to search using "near."  The downside is that word-position
  data must be stored for every word.  This approximately doubles the size of
  the generated indicies.

  (This feature shall be known as feature NS.)


BUG FIXES
---------

* file_list::const_iterator didn't work right for copy construction or
  assignment.

  (This bug fix shall be known as bug fix FLCI.)


OTHER CHANGES
-------------

* Reworked the thread_pool/thread code to use thread-local data.  It makes the
  code much simpler.

* Moved scripts (*.in files) to new scripts directory.

* Added a makedepend.pl script to make dependencies when g++ is not being used,
  e.g. CC on Solaris.

* Made lots of other changes to get SWISH++ to compile using Sun's CC.


CHANGES, file-by-file
---------------------

* charsets/GNUmakefile

	1. s/$(AR) rv/$(AR)/ for Sun's CC.
	2. Added: $(TEMPLATE_REPOSITORY) for Sun's CC.

* config/config.mk

	1. Added FEATURE_LIST, FEATURE_DEFS, and word_pos for feature NS.
	2. Now no longer doing -fno-rtti when the word_pos feature is being
	   compiled in for feature NS.
	3. Added MAKEDEPEND variable.
	4. Reworked OS definition; eliminated $(OS).
	5. Added AR definition.
	6. Added TEMPLATE_REPOSITORY for Sun's CC.

* config/makedepend.pl

	1. New file.

* config/mod.mk
* charsets/GNUmakefile
* encodings/GNUmakefile

	1. s/include/-include/ to silence "no such file or directory"
	   messages.

* config.h

	1. Made comments for ShellFilenameDelimChars and
	   ShellFilenameEscapeChars clear that they are for FILE (not
	   path) names.
	2. Added WordsNear_Default for feature NS.
	3. s/WIN32/__CYGWIN__/

* conf_var.c

	1. Removed \n from internal_error.
	2. In conf_var::map_ref(), added storewordpositions and wordsnear
	   for feature NS.

* directory.c

	1. s/WIN32/__CYGWIN__/

* do_file.c

	1. Added code to reset word_pos for feature NS.

* encoded_char.h

	1. On line 106:

		s/value_type const/encoded_char_range::value_type const/

	   to make Sun's CC happy.

* encodings/GNUmakefile

	1. s/$(AR) rv/$(AR)/ for Sun's CC.
	2. Added: $(TEMPLATE_REPOSITORY) for Sun's CC.

* exit_codes.h

	1. Added Exit_No_Create_Thread_Key.
	2. Added Exit_No_Word_Pos_Data for feature NS.

* extract.c

	1. s/ctime/time.h/ for Sun's CC.

* file_list.c

	1. Added definition of file_list::const_iterator::end_value
	   for bug fix FLCI.
	2. In operator++(), now using end_value for bug fix FLCI.
	3. Added code to accumulate word position data for feature NS.

* file_list.h

	1. Made temp object in operator++(int) const.
	2. Added static end_value for bug fix FLCI.

* filter.c

	1. Got rid of newlines in error messages.

* GNUmakefile

	1. Added: DEBUG_eval_query
	2. Added query_node.c to S_SOURCES for feature NS.
	3. s/include/-include/ to silence "no such file or directory"
	   messages.
	4. Added: $(TEMPLATE_REPOSITORY) for Sun's CC.

* IncludeMeta.c

	1. Added const_cast<char*>() around strchr() for Sun's broken
	   CC strchr() declaration.
	2. s/char const *const m/char *const m/ for Sun's CC compiler.

* index.c

	1. Added #include "StoreWordPositions.h" for feature NS.
	2. s/word_file_max/word_files_max/
	3. Added store_word_positions and word_pos for feature NS.
	4. Added -P option for feature NS.
	5. In merge_indicies() and write_word_index(), added call to
	   write_word_pos() for feature NS.
	6. s/ctime/time.h/ for Sun's CC.

* indexer.c

	1. Added #include "StoreWordPositions.h" for feature NS.
	2. Added "extern int word_pos" for feature NS.
	3. Removed \n from internal_error.
	4. In indexer::index_word(), added "++word_pos" for feature NS.
	5. In indexer::index_word(), added code to store word position
	   data for feature NS.

* INSTALL.unix
* INSTALL.win32

	1. Removed note about "no such file or directory" warnings.

* man/man1/index.1

	1. In the description of the Mail module, item #7, added mention
	   of -A option.
	2. For the -A option, elaborated description.
	3. Added description of the -P option for feature NS.
	4. Added mention of StoreWordPositions variable for feature NS.
	5. Added mention of WordsNear variable for feature NS.

* man/man1/search.1

	1. Added description of "near" for feature NS.
	2. Reworked EXAMPLES section.
	3. Added: Could not create thread key.
	4. Added: Attempted "near" search without word-position data.

* man/man4/swish++.conf.4

	1. Added StoreWordPositions for feature NS.
	2. Added WordsNear for feature NS.

* man/man4/swish++.index.4

	1. Added Word-position list for feature NS.

* mmap_file.c

	1. s/MacOSX/__APPLE__/
	2. s/ctime/time.h/ for Sun's CC.

* mmap_file.h

	1. Removed trailing ',' from behavior_type.
	2. Added "#ifndef __SUNPRO_CC" for problem with Sun's CC compiler.

* mod/mod_id3/mod_id3.h

	1. Removed trailing ',' from enums.

* mod/mod_mail/mod_mail.h

	1. s/Multipart,/Multipart/
	2. Added:
			struct message_type;
			friend struct message_type;

* pattern_map.h

	1. s/WIN32/__CYGWIN__/
	2. Added #ifdef for Sun's CC compiler.

* query.c

	1. s/find_result/word_range/
	2. Added #include "query_node.h" for feature NS.
	3. Added parse_args struct for feature NS.
	4. Reworked parse functions to take parse_args for feature NS.
	5. Move is_too_frequent() to query.h.
	6. Reworked parse functions to build query_nodes.
	7. Moved the code for perform_and() to query_node.c.
	8. Added assert_index_has_word_pos_data() for feature NS.

* query.h

	1. s/find_result/word_range/
	2. Move is_too_frequent() here.

* query_node.[ch]

	1. New files for neature NS.

* search.c

	1. Added #include "WordsNear.h" for feature NS.
	2. s/word_file_max_arg/word_files_max_arg/
	3. Added -n option for feature NS.
	4. s/ctime/time.h/ for Sun's CC.
	5. Added #include "vector_adapter.h" for Sun's CC.
	6. s/search_result_type/search_result/
	7. In search(), added #ifdef __SUNPRO_CC since Sun's CC compiler
	   and/or their STL implementation seems pretty broken.

* search.h

	1. s/word_file_max_arg/word_files_max_arg/
	2. Added words_near_arg for feature NS.

* search_daemon.c

	1. s/ctime/time.h/ for Sun's CC.

* search_options.c

	1. Added "-n" for feature NS.

* search_thread.c

	1. s/ctime/time.h/ for Sun's CC.

* simple_pool.h
* StoreWordPositions.h

	1. New file for feature NS.

* swish++.conf

	1. Removed -f and -p options from search(1).
	2. Added StoreWordPositions for feature NS.
	3. Added WordsNear for feature NS.

* thread_pool.c

	1. Added thread_pool::thread::thread_obj_key_.
	2. s/thread_pool_thread_cleanup/thread_pool_thread_data_cleanup/
	3. Added code to deal with thread-specific data.
	4. Added thread_pool_thread_once().
	5. s/destructing_/in_cleanup_/
	6. s/ctime/time.h/ for Sun's CC.
	7. s/start_function_type/thread_start_function_type/ for Sun's CC.

* thread_pool.h

	1. Removed thread_pool_thread_cleanup().
	2. Added thread_pool_thread_data_cleanup().
	3. Added thread_pool_thread_once().
	4. Removed thread_pool::thread::operator delete().
	5. s/destructing_/in_cleanup_/
	6. Removed thread_pool::thread::thread_.
	7. Added thread_pool::thread::thread_obj_key_.
	8. s/start_function_type/thread_start_function_type/ for Sun's CC.

* token.c

	1. Added "near" for feature NS.
	2. Got rid of #include <algorithm> for Sun's CC.
	3. s/transform/to_lower/ for Sun's CC.

* token.h

	1. Added near_token and not_near_token for feature NS.

* util.c

	1. Added: to_lower( char*, char const* )

* util.h

	1. Added: pjl_abs() for feature NS.
	2. Removed \n from internal_error.
	3. Added FOR_EACH_IN_PAIR.
	4. Added: to_lower( char*, char const* )
	5. s/ctime/time.h/ for Sun's CC.

* vector_adapter.h

	1. New file for Sun's CC.

* version.h

	1. Changed to "6.0".

* word_info.c

	1. Moved word_info::file constructors here.
	2. Added write_word_pos() for feature NS.

* word_info.h

	1. Added file::has_meta_id().
	2. Added word position data for feature NS.

* word_markers.h

	1. Added Word_Pos_List_Marker for feature NS.

* WordsNear.h

	1. New file for feature NS.


*******************************************************************************
5.15.4
*******************************************************************************

BUG FIXES
---------

* extract(1) using stdin was broken.

  (This bug fix shall be known as bug fix ESI2.)


CHANGES, file-by-file
---------------------

* extract.c

	1. In main() in the code for processing stdin, s/*argv/file_name/
	   for bug fix ESI2.

* version.h

	1. Changed to "5.15.4".


*******************************************************************************
5.15.3
*******************************************************************************

BUG FIXES
---------

* Fixed a bug in the code that merges partial indicies.  (Hopefully, this was
  the last bug introduced as a result of the new index file format.)

  (This bug fix shall be known as bug fix NMF.)


CHANGES, file-by-file
---------------------

* index.c

	1. In merge_indicies(), moves declaration of "continues" out of
	   the loop for bug fix NMF.

* version.h

	1. Changed to "5.15.3".


*******************************************************************************
5.15.2
*******************************************************************************

BUG FIXES
---------

* Search results didn't include the last one, i.e., if there are N results,
  only N-1 were returned.

  (This bug fix shall be known as bug fix RM1.)


CHANGES, file-by-file
---------------------

* file_list.h

	1. Added: typedef unsigned char byte;
	2. s/unsigned char/byte/

* file_list.c

	1. s/unsigned char/byte/
	2. In calc_size(), fixed list-skipping code.
	3. In operator++(), added "sentinel" code for bug fix RM1.

* SearchResults.xsd

	1. s/homepage.mac.com/www.pauljlucas.org/

* version.h

	1. Changed to "5.15.2".

* xml_formatter.c

	1. Changed xmlns location.


*******************************************************************************
5.15.1
*******************************************************************************

BUG FIXES
---------

* Fixed a bug in new file-format decoder.

  (This bug fix shall be known as bug fix FFD1.)


CHANGES, file-by-file
---------------------

* file_list.c

	1. In calc_size(), removed incorrect ++p for bug fix FFD1.

* version.h

	1. Changed to "5.15.1".


*******************************************************************************
5.15
*******************************************************************************

NEW FEATURES
------------

* Numbers stored in the generated index file are now more highly compressed
  resulting in an overall average savings of approximately 6% in index size.

  (This feature shall be known as feature HCI.)


BUG FIXES
---------

* The call to change the behavior of mmap(2) was in the wrong place.

  (This bug fix shall be known as bug fix MMB2.)


CHANGES, file-by-file
---------------------

* bcd.h
* bcd.c

	1. Replaced by enc_int.[hc], respectively, for feature HCI.

* conf_var.c

	1. Moved call to change behavior of mmap(2) for bug fix MMB2.

* file_info.c

	1. s/bcd.h/enc_int.h/ for feature HCI.
	2. s/parse_bcd/dec_int/ for feature HCI.

* file_list.c

	1. s/bcd.c/enc_int.c/ for feature HCI.
	2. Reworked calc_size() and operator++() for new index file format
	   for feature HCI.

* GNUmakefile

	1. s/bcd.c/enc_int.c/ for feature HCI.

* index.c

	1. s/bcd.c/enc_int.c/ for feature HCI.
	2. Added: #include "word_markers.h" for feature HCI.
	3. s/parse_bcd/dec_int/ for feature HCI.
	4. Reworked merge_indicies() and write_word_index() for new file format
	   for feature HCI.

* query.c

	1. s/bcd.h/enc_int.h/ for feature HCI.
	2. s/parse_bcd/dec_int/ for feature HCI.

* search.c

	1. Removed unneeded #include "bcd.h"

* word_info.c

	1. s/bcd.h/enc_int.h/ for feature HCI.
	2. Added: #include "word_markers.h" for feature HCI.
	3. Now using Meta_Name_List_Marker and Stop_Marker for feature HCI.

* word_markers.h

	1. New file for feature HCI.

* version.h

	1. Changed to "5.15".


*******************************************************************************
5.14.2
*******************************************************************************

BUG FIXES
---------

* When filenames containing shell meta-characters were passed to the shell for
  filtering, they weren't escaped.

  (This bug fix shall be known as bug fix SMC.)

* For extract(1), added check to ensure that the extracted file name's length
  does not exceed PATH_MAX.

  (This bug fix shall be known as bug fix EEL.)

* The call to change the behavior of mmap(2) was in the wrong place.

  (This bug fix shall be known as bug fix MMB.)


CHANGES, file-by-file
---------------------

* config.h

	1. Updated Word_Max_Consec_Consonants to 7.
	2. Updated Word_Max_Consec_Vowels to 5
	3. Added ShellFilenameDelimChars and ShellFilenameEscapeChars for bug
	   fix SMC.

* conf_string.h

	1. Added length() and size().

* do_file.c

	1. Added check against PATH_MAX for bug fix EEL.
	2. Moved call to change behavior of mmap(2) for bug fix MMB.

* filter.c

	1. Added escape_filename() and unescape_filename() for bug fix SMC.
	2. Changed substitute() to use escaped filename for bug fix SMC.

* man/man1/index.1

	1. s/subdiretories/subdirectories/

* man/man1/search.1

	1. Added missing mention of exit codes 68 and 69.

* searchc.in

	1. Added -F option.

* version.h

	1. Changed to "5.14.2".


*******************************************************************************
5.14.1
*******************************************************************************

BUG FIXES
---------

* Fixed a small error when compiling under Solaris.

  (This bug fix shall be know as bug fix MADV1.)

* The version string in 5.14 wasn't updated.


CHANGES, file-by-file
---------------------

* mmap_file.c

	1. Added cast to caddr_t in madvise() call for bug fix MADV1.

* version.h

	1. Changed to "5.14.1".


*******************************************************************************
5.14
*******************************************************************************

NEW FEATURES
------------

* The searchd script now supports chkconfig.

  (This feature shall be know as feature CHK.)


BUG FIXES
---------

* Use of an iterator in the rank_full_index() function was improper.
  Apparantly it doesn't matter under GCC/HP implementations of STL, but does
  under the .NET implementation.

  (This bug fix shall be known as bug fix INVIT.)

* The is_xxxxx() functions in util.h were doing sign-extension during char-to-
  int conversion (apparantly only) under the .NET compiler.  This has been
  fixed by using a proper cast.

  (This bug fix shall be known as bug fix CHCAST.)


CLARIFICATIONS
--------------

* The undocumented behavior of index(1) skipping all files that started with
  '.' has been changed to skip only the directory entires '.' and ".."; this
  has also been documented.

  (This clarification shall be know as clarification DOTS.)


CHANGES, file-by-file
---------------------

* directory.c

	1. In do_directory(), changed code for DOTS.

* index.c

	1. In rank_full_index(), fixed tha handling of the 'w' iterator for bug
	   fix INVIT.

* INSTALL.unix

	1. Updated gcc information.

* man/man1/index.1

	1. For the ID3 module description, fixed references to "header": they
	   should be "field."

* searchd.in

	1. Added chkconfig information for feature CHK.
	2. s!.echotmp!/tmp/.echotmp!

* util.h

	1. Added static_cast<>()s to the is_xxxxx() functions for bug fix
	   CHCAST.

* version.h

	1. Changed to "5.14".


*******************************************************************************
5.13.5
*******************************************************************************

BUG FIXES
---------

* The top-level GNUmakefile didn't make the "etc" directory (I_ETC) if it
  didn't exist.  (This was supposedly fixed in 5.8, but apparantly not.)

  (This bug fix shall be know as bug fix I_ETC2.)


CHANGES, file-by-file
---------------------

* GNUmakefile

	1. Added $(I_ETC) as a target of the $(MKDIR) $@ line for bug
	   fix I_ETC2.

* version.h

	1. Changed to "5.13.5."


*******************************************************************************
5.13.4
*******************************************************************************

BUG FIXES
---------

* For search(1), the --max-results option was missing the "max" part.

  (This bug fix shall be know as bug fix MRO.)


CHANGES, file-by-file
---------------------

* search_options.c

	1. s/results/max-results/ for bug fix MRO.

* version.h

	1. Changed to "5.13.4."


*******************************************************************************
5.13.3
*******************************************************************************

BUG FIXES
---------

* Fixed occasional segmentation fault in the Manual page indexing module.

  (This bug fix shall be know as big fix MMC1.)


CHANGES, file-by-file
---------------------

* BUGS

	1. New file containing bug-reporting instructions.

* INSTALL.win32

	1. s!sources.redhat.com/cygwin!cygwin.com!
	2. Removed mention of Windows 95 -- it's dead.
	3. Added mention of Windows XP.

* man/man4/swish++.index.4

	1. Added (missing) mention of MP3 file titles.

* mod/man/mod_man.c

	1. In index_words(), s/while ( true )/while ( c != e.end_pos() )/
	   for bug fix MMC1.

* version.h

	1. Changed to "5.13.3."


*******************************************************************************
5.13.2
*******************************************************************************

BUG FIXES
---------

* Fixed threads linking problem.

  (This bug fix shall be know as big fix TL1.)


CHANGES, file-by-file
---------------------

* GNUmakefile

	1. s/PTHREAD_LIB/PTHREAD_LINK/ for bug fix TL1.
	2. Added $(PTHREAD_LINK) to E_LINK for bug fix TL1.

* version.h

	1. Changed to "5.13.2."


*******************************************************************************
5.13.1
*******************************************************************************

BUG FIXES
---------

* Yet more BSD compilation fixes.  (Why the hell can't BSD headers #include
  everything they need themselves?)

  (This bug fix shall be know as big fix BSD6.)


CHANGES, file-by-file
---------------------

* util.h

	1. Added: #include <sys/types.h> for bug fix BSD6.

* version.h

	1. Changed to "5.13.1."


*******************************************************************************
5.13
*******************************************************************************

NEW FEATURES
------------

* Added an indexing module for ID3 tags (typically found inside MP3 files).
  ID3v1.x and ID3v2.x through 2.4.0 are supported (with the exception of
  encrypted frames).

  (This feature shall be known as feature ID3.)

* Since it was needed by feature ID3, decoding of UTF-16 text (both big- and
  little-endian) was added.

  (This feature shall be known as feature UTF16.)


BUG FIXES
---------

* If the Mail module was compiled without Base64 encoding compiled in, it was
  indexed as plain text (which is wrong).  It should be treated as Binary and
  not indexed at all.

  (This bug fix shall be known as bug fix MN64.)

* If the Mail module was compiled without the UTF-7 charset compiled in, it was
  indexed as plain text (which is wrong).  It should be treated as Binary and
  not indexed at all.

  (This bug fix shall be known as bug fix MNU7.)

* httpindex didn't accept some index(1) options that it should have.

  (This bug fix shall be known as bug fix HIO.)

* httpindex could block if index(1) was generating partial indicies.

  (This bug fix shall be known as bug fix HPI.)


CHANGES, file-by-file
---------------------

* charsets/charsets.h

	1. Added UNKNOWN_CHARSET for feature ID3.
	2. Added charset_utf16be() and charset_utf16le() for feature UTF16.

* charsets/utf16.c

	1. New file for feature UTF16.

* config/config-sh

	1. Added a target.mk argument.
	2. Now generating a target.mk file.
	3. Added DATE.
	4. s/TARGET/TARGET_H/
	5. Changed define() to emit for both targets.

* config/config.mk

	1. Added "id3" to MOD_LIST for feature ID3.
	2. Added "utf17" to CHARSET_LIST for feature ID3.
	3. Removed CHARSET_LIST and ENCODING_LIST from inside MOD_mail.
	4. Added "DECODING:= -DIMPLEMENT_DECODING" to simplify
	   encoded_char.[ch].
	5. s/PTHREAD_LIB/PTHREAD_LINK/
	6. s/SOCKET_LIB/SOCKET_LINK/
	7. Added ZLIB_LINK for feature ID3.
	8. Added "$(DECODING)" to CCFLAGS.
	9. Added platform.mk fo dependency line.

* config/GNUmakefile

	1. Added platform.mk to $(TARGET).
	2. s/$@/$(TARGET)/
	3. Removed .*.d

* config/src/zlib.c

	1. New file for feature ID3.

* do_file.c

	1. s/#ifdef MOD_mail/#ifdef IMPLEMENT_DECODING/ for feature ID3.
	2. Switched to using indexer::text_indexer().

* encoded_char.c
* encoded_char.h

	1. s/#ifdef MOD_mail/#ifdef IMPLEMENT_DECODING/ for feature ID3.

* encodings/encodings.h

	1. s/-1/~0/

* GNUmakefile

	1. Added include of platform.mk
	2. Added -DDEBUG_id3v2 for feature ID3.
	3. Changed the way CFLAGS was assigned.
	4. Added config to SUBDIRS.
	5. Added ifndef HAVE_ZLIB
	6. Added $(BLIB_LINK) to I_LINK for feature ID3.
	7. s/PTHREAD_LIB/PTHREAD_LINK/
	8. s/SOCKET_LIB/SOCKET_LINK/
	9. Removed platform.h from disclean.

* httpindex.in

	1. Added missing index(1) options for bug fix HIO.
	2. Added code to read extra lines from index(1) for bug fix HPI.

* indexer.c

	1. Added text_indexer_.
	2. In map_ref(), added assignment to text_indexer_.

* indexer.h

	1. Made find_meta() public.
	2. Made index_word() public.
	3. Added text_indexer().
	4. Added text_indexer_.

* man/man1/index.1

	1. Added description of ID3 module for feature ID3.

* mod/id3/GNUmakefile
* mod/id3/id3v1.c
* mod/id3/id3v1.h
* mod/id3/id3v2.c
* mod/id3/id3v2.h
* mod/id3/mod_id3.c
* mod/id3/mod_id3.h

	1. New files for feature ID3.

* mod/html/mod_html.c
* mod/latex/mod_latex.c
* mod/mail/mod_mail.c
* mod/man/mod_man.c

	1. Switched to using move_if_match().

* mod/mail/mod_mail.c

	1. Made indexing treat Base64 as Binary if its encoding wasn't
	   compiled in for bug fix MN64.
	2. Made indexing skip UTF-7 and UTF-8 if their respective character set
	   code wasn't compiled in for bug fix MNU7.
	3. In index_headers(), Removed module #ifdef's since they weren't
	   really needed.

* mod/mail/mod_mail.h

	1. Removed module #ifdef's since they weren't really needed.

* README

	1. Aded blurb about ID3 for feature ID3.

* swish++.conf

	1. Added IncludeMeta's for ID3v2 tag fields for feature ID3.
	2. Added "IncludeFule ID3 *.mp3" for feature ID3.

* util.h

	1. Added NUM_ELEMENTS().

* word_util.c
* word_util.h

	1. Added move_if_match().

* www_example

	1. Added "--" at end of search options to close security hole.

* version.h

	1. Changed to "5.13."


*******************************************************************************
5.12.1
*******************************************************************************

BUG FIXES
---------

* Some ranks returned were negative.  (This became broken in 5.11.)

  (This bug fix shall be known as bug fix FNR.)

* The version number for 5.12 wasn't updated in the code from 5.11.1.


CHANGES, file-by-file
---------------------

* word_info.h

	1. Changed occurrences_ and rank_ from short to int
	   for bug fix FNR.

* version.h

	1. Changed to "5.12.1."


*******************************************************************************
5.12
*******************************************************************************

NEW FEATURES
------------

* WordThreshold may now be set either in a config. file or on the command line
  (as opposed to being only a compiled-in constant).  However, only the super-
  user may specify a value larger than the default.

  (This feature shall be know as feature SWT.)


CHANGES, file-by-file
---------------------

* config.h

	1.s/Word_Threshold/WordThreshold_Default/ for feature SWT.

* conf_var.c

	1. Added wordthreshold for feature SWT.

* do_file.c

	1. s/Word_Threshold/word_threshold/ for feature SWT.

* exit_codes.h

	1. Added Exit_Not_Root for feature SWT.

* GNUmakefile

	1. Added WordThreshold.c to I_SOURCES for feature SWT.

* index.c

	1. Added: #include "WordThreshold.h" for feature SWT.
	2. Added word_threshold for feature SWT.
	3. In main(), added "word-threshold" and -W options for feature SWT.
	4. In usage(), added -W and --word-threshold options for feature SWT.

* man/man1/index.1

	1. Added -W, --word-threshold, end WordThreshold for feature SWT.
	2. Added exit code 13 for feature SWT.

* man/man4/swish++.conf.4

	1. Added WordThreshold for feature SWT.

* mod/html/html.c

	1. Moved over line of ':' to be in-line with those in index.c
	   for feature SWT.

* swish++.conf

	1. Added Word_Threshold for feature SWT.

* WordThreshold.c
* WordThreshold.h

	1. New file for feature SWT.

* version.h

	1. Upped version to "5.12".


*******************************************************************************
5.11.1
*******************************************************************************

BUG FIXES
---------

* Invalid UTF-8 could send the indexer into an infinite loop.

  (This bug fix shall be know as bug fix IU8.)


CHANGES, file-by-file
---------------------

* charsets/utf8.c

	1. Changed syncing to skip forward rather than back for bug fix IU8.
	2. Added check for FE and FF bytes.

* version.h

	1. Upped version to "5.11.1".


*******************************************************************************
5.11
*******************************************************************************

NEW FEATURES
------------

* The ranking result numbers (1-100) have been significantly improved: they are
  much less striated now.  (Simply increasing the scaling factor by 3 orders of
  magnitide did the trick.)

  (This feature shall be know as feature IRF.)


CHANGES, file-by-file
---------------------

* index.c

	1. Added Rank_Factor constant.
	2. Changed rank factor from 10000 to 10000000 for feature IRF.

* man/man1/extract.1

	1. Changed wording for -e to agree with index(1).

* man/man1/index.1

	1. Added (missing) documentation that -e and --pattern options
	   can take multiple patterns separated by commas.

* swish++.conf

	1. Added *.png to ExcludeFile
	2. Changed Word filter to wvText and added URL for www.wvware.com.
	3. Added (missing) LaTeX and Man IncludeFile lines.

* version.h

	1. Upped version to "5.11".


*******************************************************************************
5.10
*******************************************************************************

NEW FEATURES
------------

* Some XHTML 2.0 elements have been added to the HTML module.

  (This feature shall be know as feature XHTML2.)

* Theoretically improved indexing performace by adding calls to madvise(2).

  (This feature shall be know as feature MADV.)


BUG FIXES
---------

* Specifying filename patterns for extract(1) was broken.

  (This bug fix shall be know as bug fix EFP.)

* extract(1) was broken altogether since 6/16/2000.  Apparantly, very few
  people use it since nobody pointed it out.

  (This bug fix shall be know as bug fix ETB.)


CHANGES, file-by-file
---------------------

* config/config.mk

	1. Added -D_BSD_SOURCE to LINUX definition.
	2. Added MAC_OS_X as a separate OS.

* config/src/madvise.c

	1. New file for feature MADV.

* conf_var.c

	1. In parse_file(), added call to mmap_file::behavior().

* do_file.c

	1. In do_file(), added call to mmap_file::behavior() for feature MADV.
	2. In do_file(), added "out = &extracted_file;" for bug fix ETB.

* extract.c

	1. In main(), s/.insert( pat )/.insert( pat, 0 )/ for bug fix EFP.

* ExtractFile.c

	1. s/insert( new_strdup( s ) )/insert( new_strdup( s ), 0 )/
	   for bug fix EFP.

* ExtractFile.h

	1. Made derived from conf_var and pattern_map for bug fix EFP.

* mmap_file.c
* mmap_file.h

	1. Added behavior() for feature MADV.

* mod/html/elements.c

	1. Added the h, line, name, nl, quote, and section elements for feature
	   XHTML2.

* search.c

	1. In main(), added call to mmap_file::behavior().

* stop_words.c

	1. Added call to mmap_file::behavior().

* version.h

	1. Upped version to "5.10".


*******************************************************************************
5.9.6
*******************************************************************************

BUG FIXES
---------

* Non-space whitespace characters were mistakenly turned into spaces.  This has
  been this way since version 5.8 and, in theory, broke meta-names in e-mail
  files (although the old code seems to have worked, but I don't know how).

  (This bug fix shall be known as bug fix NSW.)

* Recognition of LaTeX commands seems to have been completely broken.

  (This bug fix shall be known as bug fix LAC.)

* Unknown LaTeX commands are now ignored (as they should have been) rather than
  indexed.

  (This bug fix shall be known as bug fix LAS.)


CHANGES, file-by-file
---------------------

* iso8859-1.c

	1. Changed ' ' to '\t', '\n', '\v', '\f', '\r' for bug fix NSW.

* mod/latex/mod_latex.c

	1. Added find_left().
	2. In index_words(), added check for '\r'.
	3. In parse_latex_command(), removed local scope.
	4. In parse_latex_command(), s/!is_alnum/is_alnum/ for bug fix LAC.
	5. In parse_latex_command(), added call to find_left().
	6. In parse_latex_command(), added code such that if a command
	   is not found, skip it (for bug fix LAS).

* version.h

	1. Upped version to "5.9.6".


*******************************************************************************
5.9.5
*******************************************************************************

BUG FIXES
---------

* For document sets that contain a lot of words (more than 2^31), the number of
  total words reported was negative due to signed integer overflow.  The fix
  was to make the counter unsigned.

  (This bug fix shall be known as bug fix ULN.)


CHANGES, file-by-file
---------------------

* index.c
* indexer.c

	1. Made num_indexed_words, num_total_words, and num_unique_words
	   unsigned long rather than just long for bug fix ULN.

* version.h

	1. Upped version to "5.9.5".


*******************************************************************************
5.9.4
*******************************************************************************

BUG FIXES
---------

* There was a problem whereby search(1) would core-dump under FreeBSD.  This
  problem surfaced a while ago, then disappeared, and now it's back again.
  This problem has finally been fixed (apparantly).

  (This bug fix shall be known as bug fix END.)


CHANGES, file-by-file
---------------------

* GNUmakefile

	1. Added ifdefs for CHARSET_LIST and ENCODING_LIST.

* extract.c
* index.c
* mod/html/mod_html.c
* mod/mail/mod_mail.c
* mod/man/mod_man.c
* query.c
* search.c
* search_daemon.c
* search_thread.c

	1. Made whatever can be declared static actually static.

* stem_word.c

	1. Made "end" static for bug fix END.
	2. Made whatever else can be declared static actually static.

* version.h

	1. Upped version to "5.9.4".


*******************************************************************************
5.9.3
*******************************************************************************

BUG FIXES
---------

* Under Windows, the printing of file names was slightly messed up.

  (This bug fix shall be known as bug fix WDS.)


CHANGES, file-by-file
---------------------

* directory.c

	1. In do_check_add_file(), s!'/'!Dir_Sep_Char! for bug fix WDS.

* version.h

	1. Upped version to "5.9.3".


*******************************************************************************
5.9.2
*******************************************************************************

BUG FIXES
---------

* If the "mail" module wasn't selected for compilation, then overall
  compilation failed due to a missing #ifdef.

  (This bug fix shall be known as bug fix MMI.)


CHANGES, file-by-file
---------------------

* encoded_char.h

	1. In encoded_char_range::const_iterator::const_iterator(), added
	   missing "#ifdef MOD_mail" for bug fix MMI.

* version.h

	1. Upped version to "5.9.2".


*******************************************************************************
5.9.1
*******************************************************************************

BUG FIXES
---------

* The feature of being able to do "not foo = bar" introduced in 5.8 was broken:
  right intent, wrong line of code.  D'oh!

  (This bug fix shall be known as bug fix NMN1.)


CHANGES, file-by-file
---------------------

* query.c

	1. In parse_primary() in lparen_token case, s/parse_meta/parse_query2/
	   for bug fix NMN1.
	2. In parse_primary() in not_token case, s/parse_primary/parse_meta/
	   for bug fix NMN1.

* version.h

	1. Upped version to "5.9.1".


*******************************************************************************
5.9
*******************************************************************************

NEW FEATURES
------------

* Added XML schema information in seach results XML output.

  (This feature shall be known as feature XMLS.)


CHANGES, file-by-file
---------------------

* man/man1/search.1

	1. Fixed formatting for grammar.
	2. Added LaTeX to set of files that can have titles.
	3. Added XML schema information for feature XMLS.

* man/man4/swish++.index.4

	1. Added missing mention of LaTeX titles.

* version.h

	1. Upped version to "5.9".

* SearchResults.xsd

	1. New file for feature XMLS.

* xml_formatter.c

	1. Added SWISHPP_URI, SEARCH_RESULTS_DTD, SEARCH_RESULTS_NS_URI,
	   SEARCH_RESULTS_XSD, and XML_SCHEMA_INSTANCE_URI for feature XMLS.
	2. In pre(), put "<?xml ..." before "<!DOCUMENT ..."
	3. In pre(), added xmlns, xmlns:xsi, xsi:schemaLocation
	   for feature XMLS.


*******************************************************************************
5.8
*******************************************************************************

NEW FEATURES
------------

* Added ability to decode UTF-7 and UTF-8 mail/news messages.

  (This feature shall be known as feature UTF.)

* Changed the query grammar to allow "not meta" rather than just "not primary".
  It should have been this way all along.  What this means is that, previously:

	not foo = bar

  wasn't legal even though it should have been.  Instead, you had to do:
  
  	not (foo = bar)

  (It's not a bug because the query parser was doing exactly what it was
  documented to do.)

  (This feature shall be known as feature NMN.)


BUG FIXES
---------

* A number of compilation problems with g++ 3.1 have been fixed.

  (This bug fix shall be known as bug fix GCC31.)

* It was reported that index(1) just hung during start-up under Solaris unless
  it was linked with -lpthread.  This is odd since I've run index(1) just fine
  under Solaris many times before.  Anyway, I've added -lpthread to the link
  line.

  (This bug fix shall be known as bug fix SOL_THR.)

* The INSTALL.unix file didn't mention that the version of GNU make needs to
  be at least 3.79.1.

  (This bug fix shall be known as bug fix MAKE_VER.)

* The top-level makefile didn't create the directory specified by $(I_ETC) if
  it didn't already exist.

  (This bug fix shall be known as bug fix I_ETC.)


CHANGES, file-by-file
---------------------

* config/config.mk

	1. Added CHARSET_LIST, CHARSET_DEFS, ENCODING_LIST, and ENCODING_DEFS
	   for feature UTF.
	2. Added CHARSET_DEFS and ENCODING_DEFS to CCFLAGS for feature UTF.

* config/config-sh

	1. Added PJL_GCC_2xx for bug fix GCC31.

* conf_percent.h

	1. In constructor, removed spurious "= 0" for bug fix GCC31.

* charsets/charsets.h
* charsets/GNUmakefile
* charsets/README
* charsets/unicode.h
* charsets/utf7.c
* charsets/utf8.c

	1. New files.

* do_file.c

	1. Added call to encoded_char_range::decoder::reset_all()

* encoded_char.c

	1. Split out decoders into individual files.
	2. Put decoder::decoder() here.

* encoded_char.h

	1. Added: #include <set>
	2. Added: #include "iso8859-1.h"
	3. s/decoder_type/encoding_type/
	4. Added: encoded_char_range::charset_type for feature UTF.
	5. Added charset_type to encoded_char_range and
	   encoded_char_range::const_iterator constructors.
	6. s/decoder_/encoding_/
	7. Added encoded_char_range::charset_ for feature UTF.
	8. Added encoded_char_range::decoder class.
	9. In encoded_char_range::const_iterator::decode(), added code to call
	   charset decoder for feature UTF.
	A. In encoded_char_range::const_iterator::operator*(), added call to
	   iso8859_1_to_ascii().

* encodings/GNUmakefile
* encodings/base64.c
* encodings/encodings.h
* encodings/quoted_printable.c
* encodings/README

	1. New files.

* extract.c

	1. In extract_words(), removed called to iso8859_to_ascii().

* fdbuf.h

	1. Added #ifdef PJL_GCC_2xx for streambuf vs. streambuf.h for bug fix
	   GCC31.

* GNUmakefile

	1. Added $(I_ETC) as a target of the $(MKDIR) $@ line for bug fix I_ETC.
	2. Added CHARSET_* and ENCODING_* variables for feature UTF.
	3. Added CHARSET_LIB and ENCODING_LIB targets for feature UTF.
	4. Added "charsets" and "encodings" to MAKE_SUBDIRS for feature UTF.
	5. Added iso8859-1.c to I_SOURCES, S_SOURCES, and E_SOURCES.
	6. Added $(CHARSET_LINK) and $(ENCODING_LINK) to I_LINK for feature UTF.
	7. Added $(PTHREAD_LIB) to I_LINK for bug fix SOL_THR.
	8. Added $(CHARSET_LIB) and $(ENCODING_LIB) to index for feature UTF.

* indexer.c

	1. In index_words(), removed called to iso8859_to_ascii().

* init_modules-sh
* init_mod_vars-sh

	1. Added -e 's/mod_/MOD_/' to sed lines.

* INSTALL.unix

	1. Added mention of minimum GNU make version for bug fix MAKE_VER.

* iso8859-1.c
* iso8859-1.h

	1. Moved from word_util.[ch]

* man/man1/index.1

	1. For the Mail module, added mention of UTF-7 and UTF-8 for feature
	   UTF.
	2. Added a caveat about an e-mail message having a simultaneous
	   encoding and character set.
	3. Added Unicode references.

* man/man1/search.1

	1. Changed query grammar for feature NMN.

* mmap_file.h

	1. Replaced deprecated declarations for reverse_iterator and
	   const_reverse_iterator for bug fix GCC31.

* mod/mail/mod_html.c

	1. Added: #include "charsets/unicode.h"
	2. In entity_to_ascii(), now using unicode_to_ascii().
	3. In index_words(), removed call to iso8859_to_ascii().

* mod/mail/mod_mail.c

	1. Added: #include "encoded_char.h" for feature UTF.
	2. Removed: #include "word_util.h"
	3. Replaced decoder_ with charset_ and encoding_ for feature UTF.
	4. In index_headers(), added code to extract the charset for
	   feature UTF.
	5. In index_multipart(), added call to
	   encoded_char_range::decoder::reset_all().
	6. s/while ( 1 )/while ( true )/

* mod/mail/mod_mail.h

	1. Added: #include "charsets/charsets.h"
	2. Added: #include "encodings/encodings.h"
	3. Replaced decoder_ with charset_ and encoding_

* mod/rtc/mod_man.c
* mod/rtc/mod_rtf.c

	1. In index_words(), removed call to iso8859_to_ascii().

* option_stream.c

	1. Added #include <iterator> for bug fix GCC31.

* query.c

	1. In parse_query2(), s/parse_query2/parse_meta/ for feature NMN.

* README

	1. Added missing item mentioning ability to index LaTeX and RTF
	   documents.
	2. Moved "Index non-text files such as Microsoft Office documents" up
	   one.
	3. Added mention of UTF-7 and UTF-8 character sets for feature UTF.

* stop_words.c
* token.c

	1. Added: #include "iso8859-1.h"
	2. s/iso8859_to_ascii/iso8859_1_to_ascii/

* token.h

	1. Added #ifdef PJL_GCC_2xx for strstream vs. sstream for bug fix GCC31.
	2. Added #ifdef PJL_GCC_2xx for istrstream vs. istringstream for bug
	   fix GCC31.

* version.h

	1. Upped version to "5.8".

* word_util.c
* word_util.h

	1. Moved iso8859 stuff to iso8859-1.[ch]


*******************************************************************************
5.7.1
*******************************************************************************

BUG FIXES
---------

* Some "and" query results were slightly messed up due to an iterator being
  invalidated.

  (This bug fix shall be known as bug fix PAI.)

* Ranks could be printed as zero (wrong!).

  (This bug fix shall be known as bug fix RANK0.)


CHANGES, file-by-file
---------------------

* auto_vec.h

	1. Made const/non-const versions of accessors.

* conf_enum.c
* IncludeMeta.c

	1. In parse_value(), made "lower" non-const to work with updated
	   auto_vec.

* config/GNUmakefile
* GNUmakefile

	1. Removed "dist" target.

* query.c

	1. In perform_and(), added a temporary iterator for bug fix PAI.

* search.c

	1. In search(), added code to ensure rank is not zero for bug fix
	   RANK0.

	2. In search(), added const to highest_rank.

* thread_pool.h

	1. Made various thread_pool data members "volatile" because
	   this should be done for variables that are accessed by
	   multiple threads.

* version.h

	1. Upped version to to "5.7.1".


*******************************************************************************
5.7
*******************************************************************************

NEW FEATURES
------------

* LaTeX files can now be indexed directly.

  (This feature shall be known as feature LATEX.)

* Document titles now have multiple whitespace characters squeezed into single
  whitespace characters.

  (This feature shall be known as feature STWS.)

* index(1) will now use the value of the environment variable TMPDIR if it's
  set as the default temporary directory.  However, the value is still
  superseded by one of -T, --temp-dir, or TempDirectory if given.

  (This feature shall be known as feature TMPDIR.)


BUG FIXES
---------

* HTML comment parsing was broken in that it allowed "->" in addition to "-->"
  to terminate a comment.

  (This bug fix shall be known as bug fix HTC.)

* Yet more bugs in the thread-pooling code.

  (This bug fix shall be known as bug fix TPB.)


CHANGES, file-by-file
---------------------

* config/config.mk

	1. Added "latex" to MOD_LIST for feature LATEX.
	2. Added I_ETC.

* config.h

	1. Changed value for SocketQueueSize_Default to 511.

* GNUmakefile

	1. Added TempDirectory.c for feature TMPDIR.
	2. Changed installation of swish++.conf to $(I_ETC)

* indexer.c

	1. In tidy_title(), added code to squeeze multiple whitespace
	   characters for feature STWS.

* man/man1/index.1

	1. Added TMPDIR for feature TMPDIR.
	2. Added LaTeX section for feature LATEX.
	3. Added Leslie Lamport reference for feature LATEX.
	4. s/SCCS/CVS/ since nobody uses SCCS any more.

* man/man1/search.1

	1. Changed default value for -q to 511.
	2. Added missing "encoding" to XML example.

* man/man4/swish++.conf.4

	1. Added missing TempDirectory.

* mod/html/mod_html.c

	1. In is_html_comment(), reworked code for bug fix HTC.
	2. In entity_to_ascii(), added static reference to
	   char_entity_map::instance().
	3. In parse_html_tag() and post_options(), made "elements"
	   reference static.

* mod/latex/GNUmakefile
* mod/latex/commands.c
* mod/latex/commands.h
* mod/latex/latex_config.h
* mod/latex/mod_latex.c
* mod/latex/mod_latex.h

	1. New files for feature LATEX.

* README.Solaris

	1. Removed "ephemeral ports" since that wasn't right.

* search_daemon.c

	1. Removed: accept_failed().
	2. Added: handle_accept() and reset_socket().
	3. Moved thread_pool object inside of handle_accept().

* search_thread.c

	1. Factored out reset_socket().

* swish++.conf

	1. Changed value for SocketQueueSize to 511.

* TempDirectory.c

	1. New file for feature TMPDIR.

* TempDirectory.h

	1. Added default_value() for feature TMPDIR.
	2. Moved #include "config.h" to new .c file for feature TMPDIR.

* thread_pool.c

	1. s/thread_pool_thread_destroy/thread_pool_thread_cleanup/
	2. Added: thread_pool_decrement_busy().
	3. In thread_pool_thread_main(), changed code so that pool_.t_idle_ is
	   always signalled when idle.
	4. In thread_pool_thread_main(), added:
	       pthread_cleanup_push( thread_pool_decrement_busy, t )
	   to ensure that t->pool_.t_busy_ gets decremented even if the thread
	   is killed.
	5. In thread_pool_thread_main(), added DEFER_CANCEL/RESTORE_CANCEL
	   around code that removes a task from the queue.
	6. In ~thread(), added DEFER_CANCEL/RESTORE_CANCEL.
	7. In thread_pool::thread_pool(), added t_busy_( 0 ) for bug fix TPB.
	8. In thread_pool_thread_main(), made signaling of idle independent of
	   the size of the thread pool.
	9. Made new_task() take and return a bool argument and queue the task
	   only if it will queue it.

* thread_pool.h

	1. s/thread_pool_thread_destroy/thread_pool_thread_cleanup/
	2. Added: thread_pool_decrement_busy().
	3. Made new_task() take and return a bool argument.

* version.h

	1. Upped version to to "5.7".


*******************************************************************************
5.6
*******************************************************************************

NEW FEATURES
------------

* The text/enriched attachment indexer that was part of the Mail module was
  split off into its own RTF (Rich Text Format) module so stand-alone RTF files
  can be indexed.

  (This feature shall be known as feature RTF.)

* For search(1) running as a daemon, added code to reset the TCP connection for
  bad requests.  The reason for doing this is so we don't potentially have a
  socket lingering in TIME-WAIT from a client that was too dumb to give us a
  valid request in the first place.  This helps alleviate denial-of-service
  attacks (if that's what's going on).

  This came about due to the way Solaris handles TIME-WAIT.  Read the new
  README.Solaris file for details.

  This change has no effect in in Linux 2.2.x kernels since sending a reset on
  close by setting SO_LINGER wasn't implemented.

  (This feature shall be known as feature RST.)


BUG FIXES
---------

* The files Group.c and SocketAddress.c didn't compile under FreeBSD.

  (This bug fix shall be know as big fix BSD5.)


CHANGES, file-by-file
---------------------

* config/config.mk

	1. Added "rtf" to MOD_LIST.
	2. Added explanation about module dependencies.

* Group.c
* SocketAddress.c

	1. Added #include <sys/types.h> for bug fix BSD5.

* INSTALL.unix

	1. Added mention of README.Solaris file for feature RST.
	2. s/www.objectspace.com/www.stlport.org/
	3. Moved module wording in step 2 of building to config/config.mk.

* man/man1/index.1

	1. Added description of RTF module.

* man/man4/swish++.conf.4

	1. Added mention of RTF module.
	2. Added mention that text/enriched attachments can be indexed only if
	   the RTF module is compiled into index(1).
	3. Added mention that text/html attachments can be indexed only if the
	   HTML module is compiled into index(1).
	4. Fixed RFC 1563 attribution.

* mod/mail/mod_mail.c

	1. Removed: #include "platform.h"
	2. Added: #include "mod/rtf/mod_rtf.h"
	3. Removed index_enriched().
	4. In index_headers(), made "text/enriched" #ifdef'd on mod_rtf.
	5. In index_words(), switched to using RTF module.

* mod/mail/mod_mail.h

	1. Fixed RFC attributions.
	2. Made Text_Enriched #ifdef'd on mod_rtf.
	3. Removed index_enriched().

* mod/rtf/GNUmakefile
* mod/rtf/mod_rtf.c
* mod/rtf/mod_rtf.h

	1. New files for feature RTF.

* README.Solaris

	1. New file for feature RST.

* search.c

	1. Made return-type of search() and service_request() bool for feature
	   RST.

* search.h

	1. Made return-type of service_request() bool for feature RST.

* searchc.in

	1. Added call to shutdown() after sending query.

* search_thread.c

	1. In search_thread::main(), added: out << flush;
	2. In search_thread::main(), removed EINTR guard (not needed).

* swish++.conf

	1. Added: IncludeFile RTF *.rtf

* thread_pool.c

	1. s/thread_main/thread_pool_thread_main/
	2. s/thread_destroy/thread_pool_thread_destroy/
	3. Replaced q_lock class by simple mutex again.
	4. Changed state_ back to destructing_.
	5. Added DEFER_CANCEL, RESTORE_CANCEL, MUTEX_LOCK, MUTEX_UNLOCK macros.
	6. In thread_pool_thread_destroy(), removed unlocking of q_lock.
	7. In thread_pool_thread_main(), moved unlock of run_lock_ here.
	8. In thread_pool_thread_main(), reworked mutex locking.
	9. In ~thread(), removed mutex_lock of t_lock_.
	A. In thread_pool(), removed ERRORCHECK attribute.
	B. In ~thread_pool(), added DEFER_CANCEL().
	C. In new_task(), reworked mutex locking.
	D. In new_task(), Added DEFER_CANCEL().

* thread_pool.h

	1. s/thread_main/thread_pool_thread_main/
	2. s/thread_destroy/thread_pool_thread_destroy/
	3. Replaced q_lock class by simple mutex again.
	4. Added private default constructor to argument_type.
	5. Changed state_ back to destructing_.

* version.h

	1. Upped version to to "5.6".


*******************************************************************************
5.5.3
*******************************************************************************

NEW FEATURES
------------

* A sample Procmail recipe has been included that can be used to split incoming
  mail messages into individual files for indexing.

  (This feature shall be known as feature SIM.)

* The indexing word-determination rules have been relaxed somewhat; the
  following rules have been eliminated:

  1. Starts with a capital letter, is of mixed case, and contains more than a
     third capital letters.

     This enables words like FedEx to be indexed.

  2. Contains a capital letter other than the first.

     This enables words like iMac to be indexed.

  (This feature shall be known as feature RWD.)


BUG FIXES
---------

* When running as a server, search(1) had a memory leak.

  (This bug fix shall be know as bug fix SML.)

* When running as a server, search(1) didn't make the sockets reusable.

  (This bug fix shall be know as bug fix RSA.)


CHANGES, file-by-file
---------------------

* GNUmakefile

	1. For INITD_DIR and LEVEL_DIR, redirected error output to /dev/null.

* INSTALL.unix

	1. Added mention of Procmail for feature SIM.

* man/man1/index.1

	1. Removed mention of removed word-determination rules for feature RWD.

* procmailrc

	1. New file for feature SIM.

* searchd.in

	1. Added: KILL=`which kill`
	2. Added "|| exit 1" in a few places.
	3. Added "sleep 3" in restart case.

* search.c

	1. In search(), added "delete format" for bug fix SML.

* search_daemon.c

	1. Added BIND_SOCKET() for bug fix RSA.

* searchmonitor.in

	1. Added: KILL=`which kill`

* version.h

	1. Upped version to 5.5.3.

* word_util.c

	2. In is_ok_word(), removed rules for feature RWD.

* www_example/sample.html

	1. Converted to XMTML.


*******************************************************************************
5.5.2
*******************************************************************************

BUG FIXES
---------

* Indexing attachments has been broken since version 5.2.  Major d'oh.

  (This bug fix shall be known as bug fix IAB.)


CHANGES, file-by-file
---------------------

* mod/mail/mod_mail.c

	1. In index_headers(), put a missing "else" back for bug fix IAB.

* version.h

	1. Upped version to 5.5.2.


*******************************************************************************
5.5.1
*******************************************************************************

BUG FIXES
---------

* Automatic thread-pool size reduction had a race condition where too many
  threads could be destroyed.

  (This bug fix shall be known as bug fix TCD.)


CHANGES, file-by-file
---------------------

* thread_pool.cpp

	1. Changed thread::destructing_ to thread::state_ for bug fix TCD.
	2. In thread_main(), set thread state to expired before calling delete
	   on it for bug fix TCD.

* thread_pool.h

	1. Changed thread::destructing_ to thread::state_ for bug fix TCD.

* version.h

	1. Upped version to 5.5.1.


*******************************************************************************
5.5
*******************************************************************************

NEW FEATURES
------------

* search(1) can now be run as a daemon without it automatically putting itself
  into the background.  This is useful in order to wrap a start script around
  it and automatically restart it if it dies for any reason.

  Correspondingly, there are 2 new utility scripts: searchmonitor (a process
  monitor for search) and searchd (a start/stop script for SysV-like systems).

  (This bug fix shall be known as feature NOB.)

* search(1), when run as a daemon, can give away its root privileges if it
  started with them.  There are now new command-line options of -U, --user, -G,
  and --group as well as new configuration variables User and Group.

  (This bug fix shall be known as feature GAR.)


BUG FIXES
---------

* When search(1) was running as a daemon, it ignored -F and --format options
  specified via the socket.

  (This bug fix shall be known as bug fix SDF.)

* For very large document sets when many partial indicies were generated, if
  the number of partial indicies exceeded the maximum number of file
  descriptors a process could have open, merging would fail.

  (This bug fix shall be known as bug fix MFD.)


CHANGES, file-by-file
---------------------

* conf_enum.c
* conf_enum.h

	1. Added the is_legal() function for bug fix SDF.

* config.h

	1. Added Group_Default and UserDefault for feature GAR.

* conf_var.c

	1. In map_ref(), added "user" and "group" for feature GAR.
	2. In map_ref(), added "searchbackground" for feature NOB.

* GNUmakefile

	1. Added Group.c and User.c to S_SOURCES for feature GAR.
	2. Removed WIN32 PERL_TARGET conditional since WIN32 isn't set at that
	   point.
	3. s/PERL_TARGET/OTHER_TARGET/
	4. Added searchmonitor to OTHER_TARGET for feature NOB.
	5. Added INITD_TARGET for feature NOB.
	6. Added BIN_TARGET since other targets get installed places other than
	   in a bin directory.
	7. Added INITD_DIR and LEVEL_DIR to figure out a SysV system's run
	   level directories for feature NOB.
	8. Added installation of /etc/swish++.conf for feature NOB.
	9. Added install_sysv target for feature NOB.
	A. Added uninstallation of start/stop scripts to uninstall target for
	   feature NOB.

* Group.c
* Group.h

	1. New files for feature GAR.

* exit_codes.h

	1. Added Exit_No_User and Exit_No_Group for feature GAR.
	2. Changed Exit_Internal_Error from 255 to 127.

* index.c

	1. In main(), added maxing out of number of file descriptors to enable
	   more partial indicies to be generated for bug fix MFD.

* INSTALL.unix

	1. Added step 5 regarding installing the searchd start/stop script for
	   feature NOB.

* man/man1/index.1

	1. Added missing error codes 40 and 127.

* man/man1/search.1

	1. Added description of -B and --no-background options and the
	   SearchBackground variable for feature NOB.
	2. Added description of -U, --user, -G, and --group options and the
	   User and Group variables for feature GAR.
	3. Added subsections to Daemon section.
	4. Added mention of giving away root privileges for feature GAR.
	5. Added mention of searchmonitor(8) for feature NOB.

* man/man4/swish++.conf.4

	1. Added mention of SearchBackground variable for feature NOB.
	2. Added mention of Group and User variables for feature GAR.

* man/man8/GNUmakefile
* man/man8/searchd.8
* man/man8/searchmonitor.8
* SearchBackground.h

	1. New files for feature NOB.

* search.c

	1. Added #include "SearchBackground.h" for feature NOB.
	2. Added global search_background variable for feature NOB.
	3. In main(), added check of search_background_opt for feature NOB.
	4. In search_options::search_options(), added initialization of
	   search_background_opt for feature NOB.
	5. In search_options::search_options(), added case for 'B' for feature
	   NOB.
	6. In usage(), added usage for -B and --no-background for feature NOB.
	7. In search(), added results_format parameter for bug fix SDF.
	8. In search_options::search_options(), added code to check legality of
	   argument to -F option for bug fix SDF.
	9. In service_request(), added opt.results_format_arg to call to
	   search() for bug fix SDF.
	A. Added #include "User.h" and "Group.h" for feature GAR.
	B. Added global user and group variables for feature GAR.
	C. In main(), added check of group_arg and user_arg for feature GAR.
	D. In search(), added static_cast to get rid of float->int conversion
	   warning.
	E. In search_options::search_options(), added initialization of
	   user_arg and group_arg for feature GAR.
	F. In search_options::search_options(), added cases for 'G' and 'U' for
	   feature GAR.
	G. In Usage(), added description of -G and -U for feature GAR.

* search.h

	1. Added search_background_opt for feature NOB.
	2. Added user_arg and group_arg for feature GAR.

* searchd.in
* searchmonitor.in

	1. New files for feature NOB.

* search_daemon.c

	1. Added #include "SearchBackground.h" for feature NOB.
	2. In become_daemon(), added tests of search_background for feature NOB.
	3. Added #include "User.h" and "Group.h for feature GAR.
	4. In become_daemon(), added code to change UID/GID for feature GAR.

* search_options.c

	1. Added no-background option for feature NOB.
	2. Added user and group options for feature GAR.

* swish++.conf

	1. Added SearchBackground for feature NOB.
	2. s!/tmp/search.pid!/var/run/search.pid!

* User.c
* User.h

	1. New files for feature GAR.

* util.h

	1. In max_out_limit(), set limit to infinity if running as root for bug
	   fix MFD.

* version.h

	1. Updated version to "5.5".


*******************************************************************************
5.4.6
*******************************************************************************

BUG FIXES
---------

* On systems (such as Solaris) where /bin/sh is still really Bourne shell (as
  opposed to bash in disguise), -e tests don't work.

  (This bug fix shall be known as bug fix DEF.)


CHANGES, file-by-file
---------------------

* GNUmakefile
* init_mod_vars-sh

	1. s/-e/-f/ for bug fix DEF.

* version.h

	1. Updated version to "5.4.6".


*******************************************************************************
5.4.5
*******************************************************************************

BUG FIXES
---------

* If AssociateMeta, IncludeFile, IncludeMeta, ExcludeFile, or ExcludeMeta were
  not given in a configuration file, values given via the command line were
  discarded.

  (This bug fix shall be known as bug fix CRA.)

* On some systems, the auto-building of dependencies got into an infinite loop
  since the "dep" directory's timestamp was updated for every dependency file
  and thus everything that depended on it was always out of date.  Why this
  doesn't happen on all systems isn't clear.

  (This bug fix shall be known as bug fix DTS.)


CHANGES, file-by-file
---------------------

* config/config.mk

	1. Removed "dep" for bug fix DTS.

* config/GNUmakefile

	1. s/dep/.*.d/ for bug fix DTS.

* conf_var.c

	1. In parse_file(), removed call to reset_all() for bug fix CRA.

* conf_var.h

	1. Made reset_all() public.

* GNUmakefile
* mod.mk

	1. Changed "dep/%.d" (back) to ".%.d" for bug fix DTS.
	2. In distclean rule, s/dep/.*.d/ for bug fix DTS.

* INSTALL.win32
* INSTALL.unix

	1. s/dep/.*.d/ for bug fix DTS.

* version.h

	1. Updated version to "5.4.5".


*******************************************************************************
5.4.4
*******************************************************************************

BUG FIXES
---------

* In index(1), the config-file option wasn't recognized because it was spelled
  as just "config" in the source code.  D'oh!

  (This bug fix shall be known as bug fix LCO.)

* Configuration file variables in modules were somehow being corrupted so some
  weren't being recognized any longer.  I really don't know what was going on.
  But, module-specific variables weren't recognized at all in search(1).  Oops.

  (This bug fix shall be known as bug fix XCV.)


CHANGES, file-by-file
---------------------

* conf_var.c

	1. In map_ref(), added call to init_mod_vars() for bug fix XCV.

* conf_var.h

	1. Added init_mod_vars() for bug fix XCV.

* GNUmakefile

	1. Added init_mod_vars.c to I_SOURCES, S_SOURCES, and E_SOURCES for bug
	   fix XCV.
	2. Added rule to make init_mod_vars.c for bug fix XCV.

* index.c

	1. In main(), s/config/config-file/ for bug fix LCO.

* init_mod_vars-sh

	1. New file for bug fix XCV.

* mod/html/mod_html.c
* mod/html/mod_html.h
* mod/mail/mod_mail.c
* mod/mail/mod_mail.h

	1. Moved constructor to .h file and removed register_var() for bug fix
	   XCV.

* mod/html/vars
* mod/mail/vars

	1. New files for bug fix XCV.

* version.h

	1. Updated version to "5.4.4".


*******************************************************************************
5.4.3
*******************************************************************************

BUG FIXES
---------

* When compiling without the search daemon, search(1) wouldn't link because it
  needs conf_enum.o and it wasn't compiled.

  (This bug fix shall be know as big fix CEO.)

* The file thread_pool.c didn't compile under FreeBSD.

  (This bug fix shall be know as big fix BSD4.)


CHANGES, file-by-file
---------------------

* config/config.mk

	1. In "OS selection" section, added comment for Mac OS X.

* GNUmakefile

	1. Moved conf_enum.c so that it's always compiled for bug fix CEO.

* INSTALL.unix

	1. Added fact that g++ 2.95.2 works.
	2. Added note about g++ 2.96.

* thread_pool.c

	1. Added "#ifndef FreeBSD" around use of PTHREAD_MUTEX_ERRORCHECK
	   for bug fix BSD4.

* version.h

	1. Updated version to "5.4.3".


*******************************************************************************
5.4.2
*******************************************************************************

BUG FIXES
---------

* The "classic" results formatting was broken in that the result separator
  wasn't output in all the places it should be.  How I didn't catch this isn't
  clear.

  (This bug fix shall be know as bug fix CFS.)


CHANGES, file-by-file
---------------------

* classic_formatter.c

	1. In result(), added missing "results_separator" for bug fix CFS.

* version.h

	1. Updated version to "5.4.2".


*******************************************************************************
5.4.1
*******************************************************************************

BUG FIXES
---------

* The command-line option spec. building introduced in version 5.4 was broken.

  (This bug fix shall be know as bug fix COS.)


CHANGES, file-by-file
---------------------

* indexer.c

	1. In indexer::all_mods_options(), s/++option_count/*c++ = *s/
	   for buf fix COS.

* version.h

	1. Updated version to "5.4.1".


*******************************************************************************
5.4
*******************************************************************************

NEW FEATURES
------------

* Search results can now optionally be output in XML.

  (This feature shall be known as feature XML.)

* The modular indexing rearchitecture is now complete.


CHANGES, file-by-file
---------------------

* classic_formatter.c
* classic_formatter.h

	1. New files for feature XML.

* conf_var.c

	1. In map_ref(), removed ExcludeClass and FilterAttachment.
	2. Added: register_var()
	3. In map_ref(), added ResultsFormat for feature XML.

* conf_var.h

	1. Added: register_var()

* file_info.c

	1. Reordered mem-initializers to match new order in declaration for
	   feature XML.
	2. Added file_info( unsigned char const* ) for feature XML.

* file_info.h

	1. Added file_info( unsigned char const* ) for feature XML.
	2. Reordered data members to facilitate new constructor for feature
	   XML.

* GNUmakefile

	1. Added file_info.c, classic_formatter.c, ResultsFormat.c,
	   results_formatter.c, and xml_formatter.c to S_SOURCES for
	   feature XML.

* index.c

	1. Removed #include of mod_html .h files.
	2. Removed mod_html command-line options.
	3. In main(), added code to gather all module options.
	4. In main(), moved code to dump HTML elements into mod_html.
	5. In usage(), removed mod_html usage.
	6. In usage(), added call to: indexer::all_mods_usage().

* indexer.c
* indexer.h

	1. Added any_mod_claims_option(), all_mods_options(),
	   all_mods_post_options(), all_mods_usage(), claims_option(),
	   option_spec(), post_options(), and usage().

* INSTALL.unix

	1. Updated Unix prerequisites.

* man/man1/search.1

	1. Added XML results description for feature XML.
	2. Added -F, --format, and ResultsFormat for feature XML.
	3. Corrected wording regaring titles.
	4. For -P and --pid-file, added mention of default being none.
	5. For -u and --socket-file, added mention of default being
	   /tmp/search.socket.
	6. In meta data query examples, removed mention of "HTML or XHTML"
	   since other document types can have meta information.
	7. Added XML output caveat for feature XML.
	8. Added reference to XML specification for feature XML.

* man/man4/swish++.conf.4

	1. Added ResultsFormat for feature XML.

* mod/html/mod_html.c

	1. Moved constructor definition here.
	2. In constructor, added call to register_var( "excludeclass" );
	3. Moded global dump_html_elements_opt definition here.
	4. Added claims_option(), option_spec(), post_options(), and usage().

* mod/html/mod_html.h

	1. Mode constructor definition to mod_html.c.
	2. Added claims_option(), option_spec(), post_options(), and usage().

* mod/mail/mod_mail.c

	1. Moved constructor definition here.
	2. Added call to register_var( "filterattachment" ).

* mod/mail/mod_mail.h

	1. Moved constructor definition to mod_mail.c.

* README

	1. Added "XML search results" for feature XML.

* ResultsFormat.c
* ResultsFormat.h
* results_formatter.c
* results_formatter.h

	1. New files for feature XML.

* search.c

	1. Added #include of classic_formatter.h, file_info.h, ResultsFormat.h,
	   results_formatter.h, ResultsMax.h, and xml_formatter.h for feature
	   XML.
	2. Added global results_format for feature XML.
	3. In main(), added test of opt.results_format_arg for feature XML.
	4. In search(), replaced result output with new result formatter
	   classes for feature XML.
	5. In search_options::search_options(), added initialization of
	   restuls_format_arg for feature XML.
	6. In search_options::search_options(), added case 'F' for feature XML.
	7. Rewrote write_file_info() using a file_info.
	8. In usage(), added usage message for -F option for feature XML.

* search.h

	1. Added results_format_arg for feature XML.

* search_options.c

	1. Added "format" for feature XML.

* SearchResults.dtd

	1. New file for feature XML.

* swish++.conf

	1. Added ResultsFormat for feature XML.

* version.h

	1. Upped version to "5.4."

* xml_formatter.c
* xml_formatter.h

	1. New files for feature XML.


*******************************************************************************
5.3.6
*******************************************************************************

NEW FEATURES
------------

* When compiling using g++, added additional compiler options to reduce code
  size and slightly improve performance.

  (This feature shall be known as feature GPPO.)


BUG FIXES
---------

* Indexing files via standard input where the order of the directories
  wasn't "monotonically increasing," didn't work: files ended up in the wrong
  directory.

  As a beneficial consequence, the -D and -G options and the DirectoriesGrow
  and DirectoriesReserve variables are no longer needed.

  (This bug fix shall be known as big fix ISI2.)

* Destroying a thread_pool's threads didn't work properly in that the clean-up
  function for all threads didn't get called.  (This didn't matter for SWISH++
  since search(1) never destroys its thread_pool.)

  (This bug fix shall be known as big fix TPD.)


CHANGES, file-by-file
---------------------

* config/config.mk

	1. Added -D_XOPEN_SOURCE=500 for compiling search daemon under Linux
	   for bug fix TPD.
	2. Added DEBUG variable.
	3. Added -fno-rtti to CCFLAGS for feature GPPO.
	4. Added -fomit-frame-pointer to OPTIM for feature GPPO.

* config/mod.mk

	1. s/DEBUG/DEBUGFLAGS/

* config.h

	1. Removed DirectoriesGrow_Default and DirectoriesReserve_Default as
	   part of bug fix ISI2.

* conf_var.c

	1. In parse_file(), added reset_all().
	2. In reset_all(), added check for null pointer.
	3. Removed DirectoriesGrow and DirectoriesReserve as part of bug fix
	   ISI2.

* DirectoriesGrow.h
* DirectoriesReserve.h

	1. Removed these files as part of bug fix ISI2.

* directory.c

	1. Changed do_file() to take a second dir_index argument for bug fix
	   ISI2.
	2. Changed return type of check_add_directory() to return a directory
	   index for bug fix ISI2.
	3. In check_add_directory(), changed from using a set to a map where
	   the value is the directory index for bug fix ISI2.
	4. In do_check_add_file() and do_directory(), made it get and pass
	   dir_index to do_file() for bug fix ISI2.
	5. Removed directories_reserve as part of bug fix ISI2.

* directory.h

	1. s/dir_list/dir_set/

* do_file.c

	1. When compiled for index(1), made do_file() take a second argument of
	   dir_index for bug fix ISI2.
	2. Added dir_index to call to file_info() constructor for bug fix ISI2.

* exit_codes.h

	1. s/Exit_No_Init_Condition/Exit_No_Init_Thread_Condition/
	2. s/Exit_No_Init_Mutex/Exit_No_Init_Thread_Mutex/

* file_info.c

	1. Made first constructor take dir_index argument for bug fix ISI2.
	2. Removed second constructor for bug fix ISI2.
	3. Integrated construct() into lone constructor.

* file_info.h

	1. Removed constructor not taking dir_index for bug fix ISI2.
	2. Removed construct().

* GNUmakefile

	1. Added DEBUGFLAGS.
	2. For $(MOD_LIBS) rule, s/DEBUG/DEBUGFLAGS/

* index.c

	1. In load_old_index(), removed new_strdup()'s since file_info is now
	   doing them for bug fix ISI2.
	2. Removed DirectoriesGrow and DirectoriesReserve as part of bug fix
	   ISI2.
	3. Removed -D and -G options as part of bug fix ISI2.
	4. In write_dir_index(), added code to order the directories for bug
	   fix ISI2.
	5. Moved definition of exlude_class_names to mod_html.c.

* index_header.c

	1. s/dir_list/dir_set/ for bug fix ISI2.

* man/man1/httpindex.1

	1. Added -e's to example.

* man/man1/index.1

	1. Removed -D, --dirs-reserve, -G, --dirs-grow, DirectoriesGrow, and
	   DirectoriesReserve as part of bug fix ISI2.

* man/man4/swish++.conf.4

	1. Removed DirectoriesGrow and DirectoriesReserve as part of bug fix
	   ISI2.

* mod/html/mod_html.c

	1. Moved definition of exlude_class_names here.

* search_daemon.c

	1. In set_signal_handlers(), removed SA_RESTART.

* swish++.conf

	1. Removed DirectoriesGrow and DirectoriesReserve as part of bug fix
	   ISI2.

* thread_pool.c

	1. In thread_destroy(), added code to unlock q_lock for bug fix TPD.
	2. In thread_destroy(), added code to decrement q_lock's reference
	   count for bug fix TPD.
	3. In thread_destroy(), added code to deallocate thread object storage
	   for bug fix TPD.
	4. In thread_main(), added code to increment q_lock's reference count
	   for bug fix TPD.
	5. s/Exit_No_Init_Condition/Exit_No_Init_Thread_Condition/
	6. s/Exit_No_Init_Mutex/Exit_No_Init_Thread_Mutex/
	7. In ~thread(), removed destructing_lock_ since I don't think it's
	   needed.
	8. In ~thread(), added optimization for a thread committing suicide.
	9. Added q_lock::dec_ref() and q_lock::inc_ref() functions for bug fix
	   TPD.
	A. In thread_pool::thread_pool(), created q_lock with the
	   PTHREAD_MUTEX_ERRORCHECK attribute for bug fix TPD.
	B. In ~thread_pool(), removed destructing_lock_ since I don't think
	   it's needed.
	C. In ~thread_pool(), added code to decrement q_lock's reference count
	   for bug fix TPD.

* thread_pool.h

	1. Overrode thread::operator delete() to do nothing for bug fix TPD.
	2. Changed q_lock_ to a reference-counted object for bug fix TPD.
	3. Made max/min threads and thread timeout settable after thread_pool
	   creation.

* version.h

	1. Upped version to "5.3.6."


*******************************************************************************
5.3.5
*******************************************************************************

NEW FEATURES
------------

* The code for modules has been reorganized into subdirectories that build
  libraries with the goal of having a completely modular indexing architecture
  similar to the way Apache has modules.  This is a work-in-progress.


BUG FIXES
---------

* Version 5.1 broke indexing file names via standard input.  D'oh!

  (This bug fix shall be known as bug fix FSI.)

* Version 5.1 also added unnecessary work for extract(1).

  (This bug fix shall be known as bug fix ESI.)

* The thread::~thread() destructor mistakenly killed the calling thread rather
  than itself.  Oops.  This didn't actually matter for SWISH++ since it's never
  called.

  (This bug fix shall be known as bug fix TPTD.)


CHANGES, file-by-file
---------------------

* config.h

	1. Moved MOD_HTML parameters to mod/html/html_config.h.

* config/config.mk

	1. Changed format of MOD_LIST.
	2. Added RANLIB.
	3. Moved auto-dependency generation here.

* config/GNUmakefile

	1. Moved TARGET definition before include.
	2. Added removal of accidental dep subdirectory.

* config/mod.mk

	1. New file for modularization.

* conf_var.c

	1. s/MOD_HTML/mod_html/
	2. s/MOD_MAIL/mod_mail/

* directory.c

	1. Made this file #include'd by index.c and extract.c for bug fix FSI.
	2. Added: #include "fake_ansi.h"
	3. Added "#ifdef INDEX" in various places for bug fix ESI.
	4. Added do_check_add_file() for bug fix FSI.

* directory.h

	1. Removed local #include's and follow_symbolic_links and
	   function declarations for bug fix FSI.

* elements.c
* elements.h
* entities.c
* entities.h
* ExcludeClass.h
* mod_html.c
* mod_html.h

	1. Moved to mod/html subdirectory.

* encoded_char.c
* encoded_char.h

	1. s/MOD_MAIL/mod_mail/

* extract.c

	1. Moved #include of platform.h first so PJL_NO_SYMBOLIC_LINKS would be
	   defined at the right time.
	2. Added: #include "FollowLinks.h" for bug fix ESI.
	3. Added: #include "directory.c" for bug fix ESI.
	4. s/::strdup()/new_strdup()/

* ExcludeFile.c
* ExtractFile.c

	1. s/::strdup()/new_strdup()/

* file_info.c

	1. s/::strdup()/new_strdup()/

* FollowLinks.h

	1. s/follow_links/follow_symbolic_links/

* FilterAttachment.h
* mod_mail.c
* mod_mail.h

	1. Moved to mod/mail subdirectory.

* GNUmakefile

	1. Moved target definition before include.
	2. s/C_TARGET/CPP_TARGET/
	3. Added MOD_LIBS, MOD_LIB_PATHS, MOD_LINK.
	4. s/I_SRCS/I_SOURCES/, s/I_OBJS/I_OBJECTS/, s/S_SRCS/S_SOURCES/,
	   s/S_OBJS/S_OBJECTS/, s/E_SRCS/E_SOURCES/, s/E_OBJS/E_OBJECTS/
	5. Removed module-specific .c files.
	6. Removed $(CCLINK) -- not used.
	7. Made use of $(MOD_LINK)
	8. Removed entities.c from E_SOURCES -- not used.
	9. Added $(MOD_LIBS) to index dependencies.
	A. Added rule to build init_modules.c
	B. Added ruleto build module libraries.
	C. Moved auto-dependency generation to config/config.mk.
	D. Added MAKE_SUBDIRS function and made use of it in clean, distclean.
	E. Removed directory.c from I_SOURCES AND E_SOURCES for bug fix ESI.

* IncludeFile.c
* IncludeMeta.c

	1. s/::strdup()/new_strdup()/

* index.c

	1. Changed includes to use mod/html form.
	2. s/MOD_HTML/mod_html/
	3. Moved #include of platform.h first so PJL_NO_SYMBOLIC_LINKS would be
	   defined at the right time.
	4. Added: #include "FollowLinks.h" for bug fix FSI.
	5. Added: #include "directory.c" for bug fix FSI.
	6. In main(), s/do_file()/do_check_add_file()/
	7. s/::strdup()/new_strdup()/

* indexer.c

	1. s/::strdup()/new_strdup()/

* init_modules.c

	1. Removed since it's not automatically generated.

* init_modules-sh

	1. Added to generate init_modules.c automatically.

* mod_man.c
* mod_man.h

	1. Moved to  mod/man subdirectory.

* mod/html/html_config.h

	1. Moved MOD_HTML-specific configuration parameters here.

* mod/html/ExcludeClass.h
* mod/html/GNUmakefile
* mod/html/elements.c
* mod/html/elements.h
* mod/html/entities.c
* mod/html/entities.h
* mod/html/mod_html.c
* mod/html/mod_html.h
* mod/mail/FilterAttachment.h
* mod/mail/GNUmakefile
* mod/mail/encoded_char.c
* mod/mail/mod_mail.c
* mod/mail/mod_mail.h
* mod/man/GNUmakefile
* mod/man/mod_man.c
* mod/man/mod_man.h

	1. Moved from top-level directory.

* stem_word.c
* stop_words.c

	1. s/::strdup()/new_strdup()/

* thread_pool.c

	1. Fixed thread::~thread() for bug fix TPTD.

* util.c
* util.h

	1. Removed unneeded #include's.

* version.h

	1. Changed version to "5.3.5".


*******************************************************************************
5.3.4
*******************************************************************************

BUG FIXES
---------

* File titles turned to garbage when indexing file incrementally.

  (This bug fix shall be known as IIT.)

* option_stream's test main() was incorrectly defined inside the PJL namespace.

  (This bug fix shall be know as bug fix OSM.)

* option_stream didn't report an error for an option that required an argument
  when no argument was given when said option was the last thing on the commend
  line.

  (This bug fix shall be know as bug fix OSN.)


CHANGES, file-by-file
---------------------

* index.c

	1. Merged parse_file_info() function into load_old_index().
	2. In (what is now) load_old_index(), added a strdup() for the file's
	   title for bug fix IIT.
	3. In write_dir_index(), switched to using FOR_EACH().

* option_stream.c

	1. Got rid of option_stream::option::copy().
	2. Moved the test main() outside of the PJL namespace for bug fix OSM.
	3. s/c_/short_name_/, s/index_/argi_/.
	4. Added was_short_option_ variable for bug fix OSN.
	5. Replaced some duplicated option argument code with a goto.
	6. Reworked argument processing for buf fix OSN.

* option_stream.h

	1. Got rid of option_stream::option::copy() and destructor.
	2. Made copy constructor and assignment operator private.
	3. Renamed the following: s/c/short_name/, s/index_/argi_/

* version.h

	1. Changed version to "5.3.4".


*******************************************************************************
5.3.3
*******************************************************************************

BUG FIXES
---------

* SIGPIPE wasn't handled at all so a search client that disconnected
  unexpectedly could crash the server.  Now that this has been fixed, the
  server also needs to check the state of the outgoing stream during writes for
  an error: if an error occurs, assume the client disconnected from the socket
  and stop sending output.

  (This bug fix shall be known as bug fix PIPE.)

* On Linux systems, multiple reads from the search daemon timed out sooner than
  requested because Linux modifies the timeval struct passed to select() to
  reflect the amount of time not slept.

  (This bug fix shall be known as bug fix LMR.)


CHANGES, file-by-file
---------------------

* search.c

	1. In main(), s/search_options opt/search_options const opt/
	2. In dump_single_word(), dump_word_window(), several places in
	   search() and service_request, added a check for the state of the
	   "out" stream for bug fix PIPE.

* search_daemon.c

	1. Added set_signal_handlers() for bug fix PIPE.

* search_thread.c

	1. In search_thread::main():
		s/search_options opt/search_options const opt/
	2. In timed_read_line(), reworked the timeout such that the timeval
	   struct is always initialized properly for every loop iteration for
	   bug fix LMR.

* version.h

	1. Changed version to "5.3.3".


*******************************************************************************
5.3.2
*******************************************************************************

BUG FIXES
---------

* On some platforms, index(1) would index "0 words" for every file.

  (This bug fix shall be known as bug fix IZW.)

* There was a race condition in the search daemon thread pool code whereby the
  prototype thread could begin executing before its owning thread_pool was
  fully constructed.

  (This bug fix shall be known as bug fix TPR.)


CHANGES, file-by-file
---------------------

* encoded_char.h

	1. Made encoded_char_range::const_iterator's ch_ and decode() compile
	   in only when MOD_MAIL is defined for bug fix IZW.

	2. In encoded_char_range::const_iterator::operator*(), made it return
	   *pos_ when MOD_MAIL wasn't defined for bug fix IZW.

* exit_codes.h

	1. Added Exit_No_Init_Condition and Exit_No_Init_Mutex.

* man/man1/search.1

	1. Added exit coded 66 and 67.

* thread_pool.c

	1. In thread_main(), added "::pthread_mutex_lock( &t->run_lock_ );" for
	   bug fix TPR.
	2. In thread_pool::thread::thread(), added initialization and locking
	   of run_lock_ for bug fix TPR.
	3. In thread_pool::thread::~thread(), added destruction of run_lock_
	   for bug fix TPR.
	4. Changed thread_pool::thread_pool() to take a pointer to non-const
	   thread for bug fix TPR.
	5. In thread_pool::thread_pool(), made use of Exit_No_Init_Condition
	   and Exit_No_Init_Mutex.
	6. In thread_pool::thread_pool(), added prototype thread to pool and
	   now creating thread_min - 1 additional threads.
	7. In thread_pool::thread_pool(), s/create/create_and_run()/ for bug
	   fix TPR.
	8. In thread_pool::new_task(), s/create/create_and_run()/ for bug fix
	   TPR.

* thread_pool.h

	1. Added thread_pool::thread::run_lock_ for bug fix TPR.
	2. Added thread_pool::thread::run() and create_and_run() for bug fix
	   TPR.
	3. Changed thread_pool::thread_pool() to take a pointer to non-const
	   thread for bug fix TPR.

* version.h

	1. Changed version to "5.3.2".


*******************************************************************************
5.3.1
*******************************************************************************

BUG FIXES
---------

* Searching with more that two "and" terms caused a core cump.  This bug was a
  result of the "enhancement" to doing multiple "and" terms in 5.3.

  (This bug fix shall be known as bug fix MAT.)

* Compiling with all but the text module produced a syntax error.

  (This bug fix shall be known as bug fix NMS.)


CHANGES, file-by-file
---------------------

* conf_bool.h
* conf_int.h

	1. Removed extraneous backslash.

* init_modules.c

	1. Added #include "indexer" for bug fix NMS.

* query.c

	1. In perform_and(), added needed "break" for bug fix MAT.

* version.h

	1. Changed version to "5.3.1".


*******************************************************************************
5.3
*******************************************************************************

BUG FIXES
---------

* The weighting of multiple "and" terms has been fixed.  Previously, the query:

	mouse and computer and keyboard

  was parsed and treated as:

	(mouse and computer) and keyboard
	  25%         25%           50%

  The problem was that the last term always got 50% of the weighting and the
  rest got 50% divided by the number of terms minus 1.

  In order to weight all the terms equally, the "and" results for each term are
  now saved in a list and then and'ed together at the end.

  (This bug fix shall be known as bug fix MAW.)

* The index(1) manual page didn't explicitly state that words are converted to
  lower case prior to indexing.


CHANGES, file-by-file
---------------------

* conf_var.c

	1. Changed from abort() to internal_error.

* exit_codes.h

	1. Added: Exit_Internal_Error

* filter.c
* indexer.c
* option_stream.c
* thread_pool.c

	1. Changed from abort() to internal_error.

* man/man1/index.1

	1. Added paragraph at the end of the "Word Determination" subsection
	   addressing conversion to lower case prior to indexing.

* query.c

	1. Changed from abort() to internal_error.
	2. Moved declarations for get_meta_id(), parse_meta(), parse_primary(),
	   and parse_optional_relop() here from query.h.
	3. In parse_meta() and parse_primary(), got rid of unused default value.
	4. Changed what what parse_query() to parse_query2().
	5. Added a new parse_query().
	6. Added and_results_type argument to parsing functions for bug fix MAW.
	7. In parse_query2(), deferred and'ing of results for bug fix MAW.
	8. Added perform_and() function for bug fix MAW.

* query.h

	1. Moved declarations for get_meta_id(), parse_meta(), parse_primary(),
	   and parse_optional_relop() to query.c.
	2. Added: stop_word_set
	3. s/set< string >/stop_word_set/
	4. For parse_query(), got rid of unneeded bool& and int arguments.
	5. s/search_results_type/search_results/
	6. s/find_results_type/find_results/

* search.c

	1. s/set< string >/stop_word_set/
	2. In search(), got rid of unused "ignore" variable.
	3. s/search_results_type/search_results/
	4. s/find_results_type/find_results/

* util.h

	1. Added internal_error and report_error().

* version.h

	1. Upped version.


*******************************************************************************
5.2
*******************************************************************************

NEW FEATURES
------------

* E-mail attachments can now be filtered by external programs.

  (This feature shall be know as feature AFP.)


CHANGES, file-by-file
---------------------

* conf_filter.c
* conf_filter.h

	1. Replaced FilterFile.c and made generic for feature AFP.

* conf_var.c

	1. Added filterattachment for feature AFP.

* do_file.c
* extract.c

	1. s/filters/file_filters/ for featuer AFP.

* filter.h

	1. Added: substitute( std::string const &file_name );

* FilterAttachment.h

	1. Added this file for feature AFP.

* FilterFile.c

	1. Replaced by conf_filter.c

* FilterFile.h

	1. Made FilterFile derived from conf_filter for feature AFP.
	2. s/filters/file_filters/ for featuer AFP.

* GNUmakefile

	1. Added conf_filter.c for feature AFP.
	2. Removed FilterFile.c for feature AFP.

* index.c

	1. s/filters/file_filters/ for featuer AFP.

* man/man1/extract.1

	1. Added FilterAttachment for feature AFP.

* man/man1/index.1

	1. Added mention of FilterAttachment for feature AFP.
	2. s/-D/-G/

* man/man4/swish++.conf.4

	1. Added "Filter variables" section.
	2. Added information on filtering attachments for feature AFP.
	3. Added more references.

* mod_mail.c

	1. Added #include's for <algorithm>, <unistd.h>, "FilterAttachment.h",
	   and "Verbosity.h" for feature AFP.
	2. Added "attachment_filters" declaration for feature AFP.
	3. Added index_via_filter() for feature AFP.
	4. In index_headers(), added code for filters for feature AFP.
	5. In index_words(), added case for External_Filter for feature AFP.

* mod_mail.h

	1. Added "External_Filter" for feature AFP.
	2. Changed message_type from s pair<> to a struct for feature AFP.

* README

	1. Added mention of filtering attachments for feature AFP.

* swish++.conf

	1. Added FilterAttachment section for feature AFP.
	2. Added: FilterFile *.ps pstotext %f > @%F.txt
	3. Added: FilterFile *.bz2 bunzip2 -c %f > @%F

* version.h

	1. Upped version.


*******************************************************************************
5.1
*******************************************************************************

NEW FEATURES
------------

* Reduced index storage size by recording directory names once.

  Note that the old -G option for index(1) has changed to -g and that there is
  a new -G option.

  (This feature shall be known as feature DIR1.)


BUG FIXES
---------

* The swish++.conf(4) manual page was missing FilesReserve and ResultsMax.

  (This bug fix shall be known as bug fix MFR.)


CHANGES, file-by-file
---------------------

* bcd.h

	1. Added: #include "fake_ansi.h"

* config.h

	1. Added DirectoriesGrow_Default and DirectoriesReserve_Default for
	   feature DIR1.

* config/config.mk

	1. Added g++ 3.0-specific warnings to CCFLAGS for development purposes.

* conf_bool.h
* conf_enum.h
* conf_int.h
* conf_set.h
* conf_string.h

	1. Added: #include "fake_ansi.h"

* conf_percent.c
* conf_percent.h
* DirectoriesGrow.h
* DirectoriesReserve.h

	1. Added these files for feature DIR1.

* conf_var.c

	1. Added DirectoriesGrow and DirectoriesReserve configuration variables
	   for feature DIR1.

* directory.c

	1. Added dir_list for feature DIR1.
	2. Added directories_reserve.
	3. Added check_add_directory() for feature DIR1.
	4. s/queue< string >/queue< char const* >/
	5. Switched from using std::string to create the current path to using
	   a simpler char buffer.
	6. Made sure the directory that is passed to do_directory() recursively
	   has been strdup()'d.

* directory.h

	1. Added dir_list for feature DIR1.
	2. Added check_add_directory() for feature DIR1.
	3. Added: #include "fake_ansi.h"

* elements.h
* entities.h

	1. Added: #include "fake_ansi.h"

* ExcludeFile.h

	1. Added extern declaration.

* extract.c

	1. s/do_directory( file_name )/do_directory( ::strdup( file_name ) )/

* ExtractFile.h
* ExtractFilter.h

	1. Added extern declaration.

* ExtractExtension.h

	1. Added extern declaration.
	2. Added: #include "fake_ansi.h"

* fake_ansi.h

	1. Removed __STL_NO_NAMESPACES and __STL_USE_NAMESPACES.  This stopped
	   working and I can't figure out why.

* FilesGrow.c

	1. This functionality was replaced by conf_percent.c for feature DIR1.

* FilesGrow.h

	1. Changed to be derived from conf_percent.
	2. Added extern declaration.

* file_info.c

	1. Added result_separator.
	2. Redid the constructor mem-initializers.
	3. Moved common constructor code to construct().
	4. Added a second constructor used for reconsituting instances during
	   incremental indexing.
	5. Moved code for parse() to index.c.

* file_info.h

	1. Removed: #include <iostream>
	2. Added: #include "fake_ansi.h"
	3. Added a second constructor used for reconsituting instances during
	   incremental indexing.
	4. Added dir_index() and dir_index_ for feature DIR1.
	5. Added: construct()
	6. Made all data mambers private and added accessor functions.
	7. s/struct/class/
	8. Added: const_iterator, begin(), end(), ith_info(), and num_files().

* FilterFile.h

	1. Added extern declaration.
	2. Removed: #include <map>

* fnmatch.h

	1. Removed unused #ifndef's.
	2. Added #undef's.
	3. Removed FNM_ERROR since it's not used.

* FollowLinks.h

	1. Added extern declaration.

* GNUmakefile

	1. Added conf_percent.c for feature DIR1.
	2. Removed FilesGrow.c for feature DIR1.
	3. Removed file_info.c from S_SRCS since file_info::out() has been
	   moved to write_file_info() in search.c for feature DIR1.
	4. Added query.c to S_SRCS.

* IncludeFile.h

	1. Added extern declaration.

* IncludeMeta.h

	1. Added: #include "fake_ansi.h"

* Incremental.h

	1. Added extern declaration.

* index.c

	1. Added DirectoriesGrow and DirectoriesReserve for feature DIR1.
	2. Added my_write() since ostream::write() now apparantly requires a
	   char* rather than a void* and I'm lazy about having to cast the
	   pointers.
	3. Added dirs-reserve and dirs-grow command-line options for feature
	   DIR1.
	4. Added #ifdef PJL_GCC_295.
	5. In load_old_index(), added loading of directory index for feature
	   DIR1.
	6. Moved index-file header-writing code to index_header.c.
	7. Added write_dir_index() for feature DIR1.
	8. Added new options to usage message for feature DIR1.
	9. In usage(), s/<TITLE>/title/.
	A. In main(), added: check_add_directory( "." );
	B. s/file_info::parse/parse_file_info/
	C. Added parse_file_info().
	D. s/do_directory( file_name )/do_directory( ::strdup( file_name ) )/

* IndexFile.h

	1. Added: #include "fake_ansi.h"

* indexer.h

	1. Added: #include "fake_ansi.h"

* index_header.c

	1. Added this file to have index-file header-writing code only once.

* index_segment.h

	1. Added dir_index for feature DIR1.

* man/man1/index.1

	1. Added -D, --dirs-reserve options for feature DIR1.
	2. Changed old -G option to -g for feature DIR1.
	3. Added new -G, --dirs-grow options for feature DIR1.
	4. Added missing FilesGrow variable for bug fix MFR.
	5. Added DirectoriesGrow and DirectoriesReserve variables for feature
	   DIR1.

* man/man4/swish++.conf.4

	1. Added missing FilesReserve variable for bug fix MFR.
	2. Added DirectoriesGrow and DirectoriesReserve vairable for feature
	   DIR1.
	3. Added "Percentage variables" section.

* man/man4/swish++.index.4

	1. Added directory index description.
	2. Added other module cases describing a file's title.
	3. Made separate BCD subsection.

* meta_map.h
* mmap_file.h
* mod_html.h
* mod_mail.h

	1. Added: #include "fake_ansi.h"

* mod_man.c

	1. In index_words(), s/register char const* c/char const* c/ since its
	   address is taken.

* my_set.h

	1. Moved declaration of #include "fake_ansi.h".

* omanip.h

	1. Added: #define PJL /* nothing */
	2. Added: #include "fake_ansi.h"

* option_stream.h
* pattern_map.h
* PidFile.h

	1. Added: #include "fake_ansi.h"

* query.c
* query.h

	1. Split out thr query-parsing code from search.c to here.

* ResultsMax.h

	1. Added extern declaration.

* ResultSeparator.h

	1. Added extern declaration.
	2. Added: #include "fake_ansi.h"

* search.c

	1. Added "directories" index_segment global variable for feature DIR1.
	2. Moved file_info::out() to write_file_info() for feature DIR1.
	3. Moved result_separator definition here for feature DIR1.
	4. Moved query-parsing code to query.c.

* search.h
* SocketAddress.h
* SocketFile.h

	1. Added: #include "fake_ansi.h"

* StemWords.h

	1. Added extern declaration.

* StopWordFile.h

	1. Added: #include "fake_ansi.h"

* swish++.conf

	1. Added DirectoriesGrow and DirectoriesReserve for feature DIR1.

* TempDirectory.h

	1. Added: #include "fake_ansi.h"

* thread_pool.c

	1. Added start_function_type to thread() constructor.

* thread_pool.h

	1. Added start_function_type to thread() constructor.
	2. Added: #define PJL /* nothing */
	3. Added: #include "fake_ansi.h"

* util.h

	1. Added: #include "fake_ansi.h"

* version.h

	1. Updated version to "5.1".

* WordFilesMax.h
* WordPercentMax.h

	1. Added extern declaration.


*******************************************************************************
5.0.1
*******************************************************************************

BUG FIXES
---------

* This releases fixes a lot of compile issues (mostly namespaces) with g++ 3.0.

  (This bug fix shall be known as bug fix GCC3.)

* The changes to fix the above have apparantly caused bugs in (at least) g++
  2.95.3 to manifest themselves:

	1. In some cases, the compiler "forgets" that operator<<(
	   ostream&, string const& ) has been defined.  The hack
	   workaround is to use operator<<( ostream&, char const* ) and
	   use string::c_str().

	2. The compiler "forgets" that stream manipulators have been defined.
	   The workaround is not to use them.  :-(

  (This fix shall be known as fix OOS.)


CHANGES, file-by-file
---------------------

* bcd.h

	1. Switched to using local omanip since depending on the
	   underlying C++ implementation is not portable.  This was
	   done for GCC3.

* config/config-sh

	1. Added PJL_GCC_295 since it's used in multiple places.  This was done
	   for OOS.

* config/config.mk

	1. Made OPTIM = -O2 for g++ also since the optimizer under 3.0
	   takes ridiculously long and uses most of the CPU and memory.
	2. s/($(CC),g++)/($(findstring g++,$(CC)),g++)/

* conf_var.h

	1. s/cerr/std::cerr/ for OOS.

* do_file.c

	1. s/basename/pjl_basename/ due to name collision.

* fake_ansi.h

	1. Replaced __GNUC__, et al, with PJL_GCC_295 for OOS.

* fdbuf.c
* fdbuf.h

	1. Added these files since the ability to attach an fstream to a Unix
	   file descriptor has been removed from ANSI C++.  This was done for
	   OOS.

* filter.c

	1. s/basename/pjl_basename/ due to name collision.

* filter.h

	1. s/std::unlink/::unlink/ for OOS.

* GNUmakefile

	1. Added fdbuf.c to S_SRCS for OOS.

* index.c

	1. Added my_write() since ostream::write() now apparantly requires a
	   char* rather than a void* and I'm lazy about having to cast the
	   pointers.  This was done for OOS.
	2. s/o.write( /my_write( o, / for OOS.
	3. Added #ifdef PJL_GCC_295 for fix OOS.

* index_segment.h

	1. s/random_access_iterator_tag/std::random_access_iterator_tag/ for
	   OOS.

* less.h

	1. Added needed "namespace std { ... }" for OOS.

* mmap_file.c

	1. s/ios::open_mode/ios::openmode/ for OOS.

* mmap_file.h

	1. Added missing #include <fstream> for OOS.
	2. s/ios::open_mode/std::ios::openmode/ for OOS.
	3. s/reverse_bidirectional_iterator/std::reverse_bidirectional_iterator/
	   for OOS.

* omanip.h

	1. Added this file to roll own ostream manipulator since depending on
	   the underlying C++ implementation is not portable.  This was done
	   for OOS.

* option_stream.h

	1. s/cerr/std::cerr/ for OOS.

* pattern_map.h

	1. Removed PJL_LOCAL_FNMATCH since it's not needed.
	2. s/unary_function/std::unary_function/ for OOS.
	3. s/std::fnmatch/::fnmatch/ for OOS.

* search.c

	1. s/#include <iomanip>/#include "omanip"/ for OOS.
	2. Added #ifdef PJL_GCC_295 for fix OOS.

* search.h

	1. s/cerr/std::cerr/ for OOS.
	2. s/cout/std::cout/ for OOS.

* search_thread.c

	1. Removed #include <fstream> for OOS.
	2. Added #include "fdbuf.h" for OOS.
	3. Switched to using fdbuf since the ability to attach an fstream to a
	   Unix file descriptor has been removed from ANSI C++.

* stem_word.h

	1. s/less/std::less/

* util.h

	1. Added missing #include <iostream>
	2. s/basename/pjl_basename/ due to name collision.
	3. s/std::stat/::stat/ for OOS.
	4. s/std::lstat/::lstat/ for OOS.
	5. s/cerr/std::cerr/ for OOS.
	6. s/endl/std::endl/ for OOS.

* version.h

	1. Updated version to "5.0.1".

* word_info.c

	1. Added missing "using namespace std;" for OOS.


*******************************************************************************
5.0
*******************************************************************************

NEW FEATURES
------------

* The indexing code has bee rearchitected to be modular allowing for new file
  formats to be indexed directly (without filters).  Consequently, the indexing
  of HTML files has been turned into a module.

  The -e option and IncludeFile variable are now INCOMPATIBLE with previous
  releases.  Read the updated documentation.

  (This feature shall be known as feature MOD.)

* A filter module for mail (and news) files has been added.

  (This feature shall be known as feature MAIL.)

* A filter module for manual page files has been added.

  (This feature shall be known as feature MAN.)

* For index, a new -A or --no-assoc-meta option and AssociateMeta configuration
  variable have been added.

  (This feature shall be known as feature AMN.)

* There is a new %E (second-to-last filename extenstion) substitution.

  (This feature shall be known as feature 22L.)

* FilterFile configuration lines are now different and INCOMPATIBLE with
  previous releases.  The @ character no longer does substitutions but merely
  marks the target filename.  This was done to enable filtering to files having
  a fixed name to be able to handle filenames with spaces better.

  (This feature shall be known as feature SM2.)

* The search daemon can now answer queries via TCP sockets in addition to Unix
  domain sockets.

  (This feature shall be known as feature TCP.)

* You can now specify the separator character in search results.

  (This feature shall be known as feature SRS.)

* Added parsing of XHTML 1.1 ruby elements.

  (This feature shall be known as feature RUBY.)


BUG FIXES
---------

* The index(1) -T option was ignored.

  (This bug fix shall be known as bug fix ITO.)

* A configuration file that did not end in a newline would cause a segfault.
  (I think: I never tried it, but it looked like a bug to me.)

  (This bug fix shall be known as bug fix CNL.)

* Configuration error messages output "(null)" (or seg-faulted) for the
  variable name.  I don't see how the compiler didn't catch this since the
  name_ data member is const and therefore must be initialized in the
  constructor.

  (This bug fix shall be known as bug fix NVR.)

* Setting the SearchDaemon config. variable to Y didn't allow no command-line
  arguments to be given.

  (This bug fix shall be known as bug fix DCL.)

* Filter substitution incorrectly rescanned substituted text.

  (This bug fix shall be known as bug fix FSR.)

* Several tweaks were made to make SWISH++ compiled under FreeBSD.

  (This bug fix shall be known as bug fix BSD3.)

* Added -lnsl for compiling the search daemon under Solaris.

  (This bug fix shall be known as bug fix SOL2.)

* Removed some more buffer-overflow bugs.

  (This bug fix shall be known as bug fix BOB.)

* Filename patterns didn't match if the wildcard wasn't first, e.g., foo*

  (This bug fix shall be known as bug fix WWF.)


CHANGES, file-by-file
---------------------

* AssociateMeta.h

	1. Added this file for feature AMN.

* auto_vec.h

	1. Removed #ifdef SEARCH_DAEMON since it's now used by code not
	   in the search daemon for bug fix BOB.
	2. Added "explicit" to constructor.
	3. Added: auto_vec<T>& operator=( T *p )
	4. s/T *const p_/T *p_/
	5. Added PJL namespace.

* bcd.c

	1. s/fake_ansi.h/platform.h/
	2. s/STATIC_CAST(...)/static_cast<...>/

* config/config.mk

	1. Added MOD_* definitions for feature MOD.
	2. Added MOD_LIST to CCFLAGS for feature MOD.
	3. Removed definition of MAKE.
	4. Added separate "OS selection" section since there's now
	   FreeBSD and Solaris also.
	5. Added "PTHREAD_LIB= -pthread" for bug fix BSD.
	6. Added "SOCKET_LIB+= -lnsl" for bug fix SOL2.
	7. Wrapped thread and socket stuff inside "ifdef SEARCH_DAEMON".
	8. Added OS variable.
	9. Added OPTIM variable since -O3 in the cygwin environment
	   causes a segfault due to an optimizer bug, presumeably.
	A. Added: -DMOD_MAN for feature MAN.
	B. If g++, added: -fno-exceptions to reduce code size.

* config/src/mutable.c

	1. Removed this file since all C++ compilers should now support
	   "mutable".

* config/src/new_casts.c

	1. Removed this file since compilers should be implementing new
	   casts by now.

* config/src/socklen_1_socklen_t.c
* config/src/socklen_2_int.c
* config/src/socklen_2_unsigned.c

	1. Added "#include <sys/types.h>" for bug fix BSD3.

* config.h

	1. Added "#ifdef MOD_HTML" around HTML and XHTML options for
	   feature MOD.
	2. Moved Title_Max_Size and TitleLines_Default down to
	   Miscellaneous section for feature MAIL.
	3. Added SocketPort_Default for feature TCP.

* conf_bool.h
* conf_int.c
* conf_int.h
* conf_set.c
* conf_set.h
* conf_string.c
* conf_string.h
* ExcludeFile.h
* FilesGrow.c
* FilesGrow.h
* FilterFile.c
* FilterFile.h

	1. Removed "var_name" parameter from parse_value().

* conf_bool.c

	1. Removed "var_name" parameter from parse_value().
	2. Added "using namespace std;" since it should have been there
	   all along.
	3. Switched to using auto_vec<char> and to_lower_r() for bug fix BOB.
	4. Added PJL namespace.

* conf_enum.c
* conf_enum.h

	1. Added for feature TCP.

* conf_int.c

	1. Switched to using auto_vec<char> and to_lower_r() for bug fix BOB.
	2. s/cerr << error/error()/
	3. Added PJL namespace.

* conf_set.h

	1. Added PJL namespace.

* conf_string.c

	1. Added (missing) include of platform.h and namespace stuff.
	2. Added code to strip leading/trailing quotes for feature SRS.
	3. s/cerr << error/error()/

* conf_string.h

	1. Added == and != operators.

* conf_var.c

	1. Removed HTMLFile for feature MOD.
	2. Added "#ifdef MOD_HTML" around ExcludeClass for feature MOD.
	3. Removed "var_name" parameter from parse_value().
	4. Replaced alias_name() by constructor.
	5. Added ExtractFile for feature MOD.
	6. In parse_file(), redid the finding of a newline for bug fix CNL.
	7. In parse_file(), made use of find_newline().
	8. In map_ref(), added "SocketAddress" for feature TCP.
	9. In conf_var::conf_var(), added initialization of name_ for
	   bug fix NVR.
	A. In conf_var::conf_var():
		s/map_ref()[ name_ ]/map_ref()[ to_lower( name_ ) ]/
	   so the case for variable names is irrelevant.
	B. In conf_var::map_ref(), made all variable names lower case.
	C. In conf_var::parse_line(), added "to_lower( line )" so the
	   case for variable names is irrelevant.
	D. In conf_var::parse_line(): s/ in config. file//
	E. In conf_var::map_ref(), changed to doing initialization via
	   a table.  (This had the side-effect of making "search" work
	   under FreeBSD.)
	F. Added ResultSeparator variable for feature SRS.
	G. s/cerr << warning/warning()/
	H. Added PJL namespace.
	I. s/isspace/is_space/
	J. Added "associatemeta" for feature AMN.

* conf_var.h

	1. Added default argument of "cerr" to error() and warning().

* directory.c

	1. Moved configuration variable extern declarations to .h
	   files.

* do_file.c

	1. Added "#ifdef INDEX" around declaration of orig_file_size
	   and orig_file_name.  (It should have been there all along.)
	2. Reworked calling of the indexer for feature MOD.
	3. Added ExtractFile::const_iterator for feature MOD.
	4. s/name_set_.contains()/seen_file()/
	5. s/file_info::current_file().num_words_/fi->num_words()/
	6. Removed "filter_list.reserve( 5 )" so as not to waste time and
	   thereby penalize the performance for files that are not filtered.
	7. Recalculated basename for bug fix WWF.

* elements.c

	1. Added "#ifdef MOD_HTML" for feature MOD.
	2. s/REINTERPRET_CAST(...)/reinterpret_cast<...>/
	3. Added ruby elements for feature RUBY.

* elements.h

	1. Added "#ifdef MOD_HTML" for feature MOD.
	2. Added PJL namespace.

* entities.h
* entities.c

	1. Added "#ifdef MOD_HTML" for feature MOD.

* encoded_char.c
* encoded_char.h

	1. Added for feature MAIL.

* ExcludeClass.h

	1. Added "extern ExcludeClass exclude_class_names;".

* ExcludeFile.c

	1. Added "using namespace std;".

	2. Removed "var_name" parameter from parse_value().

* ExcludeMeta.h

	1. Added "extern ExcludeMeta exclude_meta_names;".

* exit_codes.h

	1. Created TCP and Unix versions of the search daemon exit
	   codes.

* extract.c

	1. s/IncludeFile/ExtractFile/ for feature MOD since extraction
	   doesn't use modules.
	2. Reworked -e and -E options to allow multiple,
	   comma-separated patterns just like for index(1).
	3. Added PJL namespace.
	4. In extract_words(), removed "buf" and now using "word" exclusively.

* ExtractFile.c
* ExtractFile.h

	1. Added for feature MOD.

* fake_ansi.h

	1. Got rid of faking "mutable" since all C++ compilers should
	   now support this.
	2. Removed new casts section since compilers should be
	   implementing them by now.
	3. Added hack to fix g++/STL/iterator bug.

* file_info.c

	1. s/fake_ansi.h/platform.h/
	2. s/REINTERPRET_CAST(...)/reinterpret_cast<...>/
	3. Added: #ifndef PJL_NO_NAMESPACES (it should have been there
	   all along).
	4. Added definition of result_separator variable for feature SRS.
	5. s/' '/result_separator for feature SRS.

* file_info.h

	1. s/ostream/std::ostream/
	2. Made all but list_ data members private.
	3. Added public accessor functions for now-private data members.
	4. Added inc_words() and seen_file().
	5. Added PJL namespace.

* file_list.c

	1. Removed: #include "fake_ansi.h"
	2. Removed PJL_NO_MUTABLE section.
	3. s/THIS->//

* file_list.h

	1. Removed: #include "fake_ansi.h".
	2. s/REINTERPRET_CAST(...)/reinterpret_cast<...>/
	3. Removed pointer and reference type.
	4. Made const_iterator derived from std::iterator.

* file_vector.c
* file_vector.h

	1. Replaced by mmap_file.[ch]

* FilesReserve.h

	1. Added "extern FilesReserve files_reserve;".

* filter.c

	1. Removed all WIN32 special cases.
	2. Added (missing) #include "platform.h"
	3. s/find()/rfind()/
	4. Added code to increment pos past substituted text for bug fix FSR.
	5. Added code for %E for feature 22L.
	6. Changed handling of @ for feature SM2.
	7. Made use of basename() added to util.h.

* filter.h

	1. s/::unlink/std::unlink/

* FilterFile.c

	1. Changed handling of @ for feature SM2.
	2. Consequently, now require only 1 substitution.
	3. Added %E as a valid substitution for feature 22L.

* fnmatch.c

	1. Added: #include "platform.h"
	2. Added: #ifndef PJL_NO_NAMESPACES

* GNUmakefile

	1. Reorganized HTML sources for feature MOD.
	2. Added MOD_MAIL sources for feature MAIL.
	3. Added conf_enum.c, SearchDaemon.c, and SocketAddress.c for
	   feature TCP.
	4. Added IncludeMeta.c for feature MAIL.
	5. Added splitmail target for feature MAIL.
	6. s/ifndef WIN32/ifdef SEARCH_DAEMON/
	7. Added fnmatch.c conditionally for WIN32 to E_SRCS.
	8. Removed WIN32 special case for platform.h.
	9. s/=/:=/
	A. Reworded C++ compiler section.
	B. Added MOD_MAN sources for feature MAN.

* html.c
* html.h

	1. Replaced by mod_html.c and mod_html.h, respectively, for
	   feature MOD.

* IncludeFile.h

	1. Removed "var_name" parameter from parse_value().
	2. Removed the alias for HTML_File for feature MOD.
	3. s/pattern_map< bool >/pattern_map< indexer* >/ for feature MOD.

* IncludeFile.c

	1. Removed "var_name" parameter from parse_value().
	2. Changed form of line to include indexer for feature MOD.
	3. Added "using namespace std;".

* IncludeMeta.c

	1. Added this file for feature MAIL.
	2. Added PJL namespace.

* IncludeMeta.h

	1. Added "extern IncludeMeta include_meta_names;".
	2. Changed base class from conf_set to conf_var and map for
	   feature MAIL.

* index.c

	1. Added "#ifdef MOD_HTML" for feature MOD.
	2. Performed following substitutions for feature MOD.
		s/html.h/mod_html.h/
		s/index.h/indexer.h/
	3. Changed the syntax for -e for feature MOD.
	4. Removed the -h option for feature MOD.
	5. Moved index_word() to indexer.c for feature MOD.
	6. Allowed multiple patterns to be specified via -E option.
	7. In main(), performed following substitution:
		s/TempDirectory_Default/0/
	   for bug fix ITO.
	8. Updated the usage message for feature MOD.
	9. Moved configuration variable extern declarations to .h files.
	A. In main() for case 'm', performed following substitution:
		s/include_meta_names.insert( to_lower( opt.arg() ) )
		 /include_meta_names.parse_value( opt.arg() )/
	B. Added "#include <sys/time.h>" for bug fix BSD3.
	C. s/REINTERPRET_CAST(...)/reinterpret_cast<...>/
	D. s/remove_temp_files()/remove_temp_files( void )/ for picky
	   HP-UX compiler.
	E. In rank(), s/num_words_/num_words()/
	F. In write_file_index(), made use of new file_info member functions.
	G. Removed all WIN32 special cases.
	H. Added PJL namespace.
	I. Added associate_meta global variable for feature AMN.
	J. Added "no-assoc-meta" and 'A' command-line options for feature AMN.

* index.h

	1. Replaced by indexer.h for feature MOD.

* indexer.c
* indexer.h

	1. Added for feature MOD.
	2. Added PJL namespace.

* index_segment.c

	1. Removed: #include "fake_ansi.h"
	2. s/REINTERPRET_CAST(...)/reinterpret_cast<...>/
	3. Added PJL namespace.

* index_segment.h

	1. Made index_segment::const_iterator derived from std::iterator.
	2. Added PJL namespace.

* init_modules.c

	1. Added for features MOD and MAIL.

* INSTALL.win32

	1. Changed from mingw to cygwin.
	2. Removed note about extract(1).
	3. Changed build instructions to match Unix version.

* itoa.c

	1. s/fake_ansi.h/platform.h/
	2. Added PJL namespace.

* itoa.h

	1. Added PJL namespace.

* less.h

	1. s/binary_function/std::binary_function/

* man/man1/extract.1

	1. Added description for multiple patterns for -e, --pattern,
	   -E, and --no-pattern options.
	2. s/pjl@best.com/pauljlucas@mac.com/

* man/man1/httpindex.1
* man/man4/swish++.index.4

	1. s/pjl@best.com/pauljlucas@mac.com/

* man/man1/index.1

	1. s/pjl@best.com/pauljlucas@mac.com/
	2. Added description of modules and mod_mail for feature MAIL.
	3. Removed -h, --html-pattern, and HTMLFile.
	4. Reworked description of -m and --meta.
	5. Added references for feature MAIL.
	6. Added references for feature MAN.
	7. Added -A, --no-assoc-meta, and AssociateMeta for feature AMN.
	8. Added mention of and reference for Ruby elements for feature RUBY.
	9. Made -T option no longer refer to <TITLE> element.

* man/man1/search.1

	1. Added -R, --separator, ResultSeparator for feature SRS.
	2. Made "select" in daemon example more concise.

* man/man1/splitmail.1

	1. Added for feature MAIL.

* man/man3/WWW.3

	1. s/pjl@best.com/pauljlucas@mac.com/
	2. Redid formatting of references.
	3. Removed trim_whitespace(), url_decode(), and url_encode()
	   since they are no longer used now that the search.cgi
	   example uses CGI.pm

* man/man4/swish++.conf.4

	1. Added section for enumeration variables and SearchDaemon
	   for feature TCP.
	2. Changed IncludeFile from a set variable to an other
	   variable for feature MOD.
	3. Added SocketAddress for feature TCP.
	4. Added section for IncludeMeta for feature MAIL.
	5. s/pjl@best.com/pauljlucas@mac.com/
	6. Added: "For variables_names, case is irrelevant."
	7. Added note about preserving whitespace in string values.
	8. Added ResultSeparator for feature SRS.
	9. Added more IP address detail for SocketAddress.
	A. Added "# WRONG!" comment to filter example.
	B. Added "AssociateMeta" for feature AMN.
	C. Added missing FollowLinks.
	D. Added "Man" module for feature MAN.

* mmap_file.c

	1. Added "#include <sys/time.h>" for bug fix BSD3.
	2. s/REINTERPRET_CAST( caddr_t )( -1 )/MAP_FAILED/
	3. Removed all WIN32 code.
	4. s/fake_ansi.h/platform.h/
	5. Added PJL namespace.

* mmap_file.h

	1. Removed all WIN32 code.
	2. Added PJL namespace.

* mod_html.c

	1. Replaced html.c for feature MOD.
	2. Reworked everything to use encoded_char_ranges.
	3. Moved configuration variable extern declarations to .h files.
	4. In parse_html_tag(), s/tag/name/
	5. Added PJL namespace.
	6. Removed "buf" and now using "word" by itself.
	7. s/isxdigit/is_xdigit/
	8. s/isdigit/is_digit/
	9. s/isalpha/is_alpha/
	A. s/isspace/is_space/
	B. Reworked meta names are handled for feature AMN.
	C. In tag_cmp(), "fixed" increment and end-of-string test.

* mod_html.h

	1. Replaced html.h for feature MOD.
	2. Made find_title(), index_words(), and new_file() public so
	   they could be accessed from mod_mail.c.
	3. Made index_words() and parse_html_tag() take an
	   encoded_char_range or encoded_char_range::const_iterator
	   argument so they could parse HTML that is encoded.
	4. Moved configuration variable extern declarations to .h files.
	5. Added PJL namespace.

* mod_mail.c
* mod_mail.h

	1. Added for feature MAIL.

* mod_man.c
* mod_man.h

	1. Added for feature MAN.

* my_set.h

	1. Added PJL namespace.

* option_stream.c
* option_stream.h

	1. Added PJL namespace.

* pattern_map.h

	1. s/::find_if/std::find_if/
	2. Added: #ifdef PJL_LOCAL_FNMATCH
	3. Added "typename" to declaration of map_type.
	4. s/value_type const&/argument_type/

* PidFile.h

	1. Added "extern PidFile pid_file_name;".

* platform.h.win32

	1. Removed since not longer needed under cygwin.

* postscript.h

	1. Added PJL namespace.

* README

	1. Added new feature descriptions.
	2. s!www.best.com/~pjl!homepage.mac.com/pauljlucas!
	3. Added mention of Christoph Conrad.

* RecurseSubdirs.h

	1. Added "extern RecurseSubdirs recurse_subdirs;".

* ResultSeparator.h

	1. Added this file for feature SRS.

* search.c

	1. s/html.h/indexer.h/ for feature MOD.
	2. Added #include "SocketAddress.h" for feature TCP.
	3. s/am_daemon/daemon_type/ and s/daemon_opt/type_type_arg/ for
	   feature TCP.
	4. Made the daemon configuration variables global and
	   become_daemon() take no arguments because the argument list
	   was getting way too long.
	5. In search_options::search_options(), added socket_address_arg
	   for feature TCP.
	6. In search_options::search_options(), added -a option for
	   feature TCP.
	7. In usage(), updated message for feature TCP.
	8. Added "#include <sys/time.h>" for bug fix BSD3.
	9. In main(), moved check of number of command-line arguments
	   after conf_var::parse_file() and command-line override code
	   for bug fix DCL.
	A. Switched to using auto_vec<char> and to_lower_r() all the
	   time for bug fix BOB.
	B. Removed all WIN32 special cases.
	C. Added: #include "ResultsSeparator.h" for feature SRS.
	D. In main(), added code for result_separator for feature SRS.
	E. In dump_single_word(), search(), and service_request():
	   s/' '/result_separator/ for feature SRS.
	F. In search_options::search_options(), added 'R' case for feature SRS.
	G. In usage(), added line for -R for feature SRS.
	H. Added PJL namespace.

* search.h

	1. s/bool daemon_opt/char const* daemon_opt_arg/ for feature TCP.
	2. Added socket_address_arg for feature TCP.
	3. s/ostream/std::ostream/ (it should have been that way all along).
	4. Added result_separator_arg for feature SRS.
	5. Added PJL namespace.

* searchc.in

	1. Added stuff to connect via a TCP socket to the search daemon
	   for feature TCP.
	2. Updated Perl book references for 3rd ed.

* search_daemon.c

	1. Moved configuration variable extern declarations to .h files.
	2. Added "#include <sys/time.h>" for bug fix BSD3.
	3. In accept_failed(), added "#ifdef EPROTO" for bug fix BSD3.
	4. Partitioned the code into smaller functions.
	5. Added PJL namespace.

* SearchDaemon.c

	1. Added a bunch of #include's ane extern declarations since
	   become_daemon() now uses globals rather than parameters.
	   This was done for feature TCP.
	2. Added accept_failed() function for feature TCP.
	3. In become_daemon(), added code for TCP sockets for feature TCP.

* SearchDaemon.h

	1. Changed to be derived from conf_enum for feature TCP.

* SearchDaemon.c

	1. Added this file for feature TCP.

* search_options.c

	1. Added "separator", 'R' option for feature SRS.

* search_thread.c

	1. s/fake_ansi.h/platform.h/
	2. Added PJL namespace.
	3. s/isspace/is_space/

* search_thread.h

	1. Added PJL namespace.

* SocketAddress.h
* SocketAddress.c

	1. Added these files for feature TCP.

* SocketFile.h

	1. Added "extern SocketFile socket_file_name;".

* socket_options.c

	1. Added "socket-address" for feature TCP.
	2. s/daemon/daemon-type/ and made it take an argument for feature TCP.

* SocketQueueSize.h

	1. Added "extern SocketQueueSize socket_queue_size;".

* SocketTimeout.h

	1. Added "extern SocketTimeout socket_timeout;".

* splitmail.in

	1. Added this utility for feature MAIL.

* stem_word.c

	1. Performed following substitution:
		s/replace_suffix( char *word, rule_list* )
		 /replace_suffix( char *word, rule_list const* )/
	   It should have been that way all along.

* stop_words.c

	1. Added "shall", "you'll", "you're".
	2. Added PJL namespace.
	3. s/word_buf/word/
	4. s/word_len/len/

* stop_words.c

	1. Added PJL namespace.

* swish++.conf

	1. Added ExtractFile for feature MOD.
	2. Removed HTMLFile for feature MOD.
	3. Added module name to IncludeFile for feature MOD.
	4. Changed SearchDaemon for feature TCP.
	5. Added SocketAddress for feature TCP.
	6. Added missing variables and sorted alphabetically properly.
	7. Added IncludeMeta values for mail/news.
	8. Added ResultSeparator variable for feature SRS.
	9. Changed @ in FilterFile lines for feaure SM2.
	A. Added "AssociateMeta" for feature AMN.

* swish++.conf.4

	1. Added note about preserving whitespace in string values.
	2. Added ResultSeparator for feature SRS.
	3. Added more IP address detail for SocketAddress.
	4. Added "# WRONG!" comment to filter example.
	5. Added "For variables_names, case is irrelevant."
	6. Sorted Other variables.
	7. Added section for IncludeMeta.
	8. Removed HTMLFile.
	9. Added ExtractFile.
	A. Added section for enumeration variables and SearchDaemon.
	B. Changed IncludeFile from a set variable to an other variable.
	C. Added SocketAddress.
	D. s/pjl@best.com/pauljlucas@mac.com/
	E. Added %E substitution for feature 22L.
	F. Added @ changes for feature SM2.
	G. Added code to increment pos for bug fix FSR.

* thread_pool.c

	1. s/fake_ansi.h/platform.h/
	2. Added: #ifndef PJL_NO_NAMESPACES (it should have been there
	   all along).
	3. s/STATIC_CAST(...)/static_cast<...>/
	4. Added PJL namespace.

* thread_pool.h

	1. Added PJL namespace.
	2. s/queue/std::queue/
	3. s/set/std::set/
	4. Made ~thread() public.

* ThreadsMax.h

	1. Added "extern ThreadsMax max_threads;".

* ThreadsMin.h

	1. Added "extern ThreadsMin min_threads;".

* ThreadTimeout.h

	1. Added "extern ThreadTimeout thread_timeout;".

* TitleLines.h

	1. Changed comments to reflect that TitleLines isn't used
	   exclusively for HTML or XHTML files any more for feature MAIL.
	2. Added "extern TitleLines num_title_lines;"

* token.c

	1. s/(cfc)/static_cast<char (*)(char)>/

* util.c

	1. Moved "char_buffer_pool<128,5> buf" to file scope.
	2. s/fake_ansi.h/platform.h/
	3. Added: to_lower_r(char const*, char const*) for bug fix BOB.

* util.h

	1. Added find_newline() and skip_newline().
	2. Added "#include <sys/time.h>" for bug fix BSD3.
	3. Removed #ifdef SEARCH_DAEMON around to_lower_r(char const*) since
	   it's now used by code not in the search daemon for bug fix BOB.
	4. Added: to_lower_r(char const*, char const*) for bug fix BOB.
	5. s/file_vector::const_iterator/char const */
	6. Added: is_alnum(), is_alpha(), is_digit(), is_punct(), is_space(),
	   is_upper(), and is_xdigit().

* Verbosity.h

	1. Added "extern Verbosity verbosity;".

* version.h

	1. Updated version to "5.0".

* word_info.h

	1. s/html.h/indexer.h/ for feature MOD.
	2. Added PJL namespace.

* man/man3/WWW.3

	1. Removed trim_whitespace(), url_decode(), and url_encode()
	   since they are no longer used now that the search.cgi
	   example uses CGI.pm

* option_stream.h

	1. s/ostream/std::ostream/

* util.h

	1. Removed all WIN32 special cases.
	2. Added: basename().

* Win32-Makefile-index.v
* Win32-Makefile-search.v

	1. Removed these since they are not needed under cygwin.

* word_info.h

	1. s/ostream/std::ostream/

* word_util.c

	1. s/isdigit/is_digit/
	2. s/ispunct/is_punct/
	3. s/isupper/is_upper/

* word_util.h

	1. s/STATIC_CAST(...)/static_cast<...>/
	2. s/isalnum/is_alnum/

* www_example/search.cgi

	1. Updated Perl book references for 3rd ed.
	2. s/the.index/swish++.index/
	3. Added $SOCKET_ADDRESS for feature TCP.
	4. Rewrote to use standard CGI.pm module.
	5. Added code to do TCP sockets for feature TCP.
	6. Fixed printing of file size in results.


*******************************************************************************
4.8
*******************************************************************************

NEW FEATURES
------------

* The filename pattern matching (FNP) feature introduced in 4.5 has finally
  been ported to Windows.

  (This feature shall be known as feature WFNP.)


BUG FIXES
---------

* The GNUmakefile didn't build dependencies properly for files that are
  conditionally #include'd.

  (This bug fix shall be knows as bug fix IDB.)

* The directory separator character ('/' for Unix) is apparantly transformed
  into '\' for Windows by the intermediate Windows port of POSIX functions.
  However, in the case where '/' is inserted into a string and that string is
  printed, the mere printing won't do the transformation.

  (This bug fix shall be knows as bug fix WDSC.)


CHANGES, file-by-file
---------------------

* auto_vec.h

	1. Renamed and cleaned-up from managed_ptr.h.

* config.h

	1. Added:

		TempDirectory_Default[]	= "/temp";

	   when compiling for Windows.

* conf_int.c

	1. s/managed_vec/auto_vec/

* copying.dj
* fnmatch.c
* fnmatch.h

	1. Added these files for feature WFNP.

* directory.c

	1. Added Dir_Sep_Char for bug fix WDSC.

* GNUmakefile

	1. Added:

		I_SRCS+=	fnmatch.c

	   for feature WFNP.

	2. Performed the following substitution:

		s/CPPFLAGS/CFLAGS/

	   for bug fix IDB.

	3. Added some comments for the clean, distclean, and dist targets.

* index_segment.c

	1. Performed the following substitution:

		s/long/size_type/

	   It should have been that way all along.

* index_segment.h

	1. Performed the following substitution:

		s/long size_type/unsigned long size_type/

	   ...no need for it to be signed.

	2. Performed the following substitution:

		s/char* value_type/char const* value_type/

	   It should have been that way all along.

	3. Eliminated "pointer" and "reference" types since they
	   weren't used.

	4. Performed the following substitution:

		s/long/size_type/

	   It should have been that way all along.

* managed_ptr.h

	1. Renamed to auto_vec.h.

* man/man1/index.1

	1. Added mention of "/temp" for Windows.

	2. Added section on differences for the Windows command line.

* pattern_map.h

	1. Added:

		#include "fnmatch.h"

	   for feature WFNP.

* search.c

	1. Performed the following substitution:

		1/managed_vec/auto_vec/

* version.h

	1. Updated version to "4.8".


*******************************************************************************
4.7
*******************************************************************************

NEW FEATURES
------------

* Added 'b' and 'B' substitutions for filters that are the base name and base
  name minus the extension of a file name, respectively.  This is useful when
  you need the temporary files created in a location other than where the
  originals are, for example when the originals are on a filesystem that you
  don't have write access to.

  Note that, for consistency, the 'E' substitution has been renamed to 'F'.
  This is therefore an incompatible change with previous versions of SWISH++.

  (This feature shall be knows as feautre BBS.)


CHANGES, file-by-file
---------------------

* filter.c

	1. Added code to determine the base name of a file for feature
	   BBS.

	2. Added 'b' and 'B' cases for feature BBS.

	3. Renamed 'E' case to 'F' case for consistency.

* FilterFile.c

	1. Added 'b' and 'B' substitutions as legal for feature BBS.

	2. Changed 'E' substitution to 'F' for consistency.

	3. Edit corresponding error message for feature BBS.

* GNUmakefile

	1. Undid the split of the dist and distclean targets done in
	   version 4.5 since that change started to bug me to much.

* man/man4/swish++.conf.4

	1. Changed description of filter substitutions to match feature
	   BBS.

* swish++.conf

	1. Changed all '@E' to '@F' corresponding to filter.c item #3.

* version.h

	1. Updated version to "4.7".


*******************************************************************************
4.6.6
*******************************************************************************

BUG FIXES
---------

* Fixed segmentation fault when parsing HTML files that contain tags longer
  than Tag_Name_Max_Size characters.

  (This bug fix shall be known as bug fix HTL.)


CHANGES, file-by-file
---------------------

* html.c

	1. In parse_html_tag(), added tag buffer overflow check for bug
	   fix HTL.

* man/man4/swish++.conf.4

	1. Added (missing) mention of "HTMLFile".

* man/man4/swish++.index.4

	1. Fixed typo: s/numm/null/

* version.h

	1. Updated version to "4.6.6".


*******************************************************************************
4.6.5
*******************************************************************************

BUG FIXES
---------

* Adding files incrementally to an index that has meta names caused a SEGFAULT.

  (This bug fix shall be known as bug fix IIM.)


CHANGES, file-by-file
---------------------

* index.c

	1. In load_old_index(), performed the following substitution
	   for bug fix IIM:

		s/meta_names[ *meta_name ] = parse_bcd( p );/
		  meta_names[ ::strdup( *meta_name ) ] = parse_bcd( p );/

* version.h

	1. Updated version to "4.6.5".


*******************************************************************************
4.6.4
*******************************************************************************

BUG FIXES
---------

* File having path names longer than 255 characters weren't indexed.

  (This bug fix shall be known as bug fix PATH.)


CHANGES, file-by-file
---------------------

* do_file.c
* extract.c
* index.c

	1. Performed the following substitution for bug fix PATH:

		s/NAME_MAX/PATH_MAX/

* util.h

	1. Performed the following substitution for bug fix PATH:

		s/NAME_MAX = 255/PATH_MAX = 1024/

* version.h

	1. Updated version to "4.6.4".


*******************************************************************************
4.6.3
*******************************************************************************

BUG FIXES
---------

* DD elements weren't implicitly terminated by a new <DT> tag.

  (This bug fix shall be known as bug fix DDDT.)


CHANGES, file-by-file
---------------------

* elements.c

	1. Added:

		"dt", "/dt",

	   to the "dd" line for bug fix DDDT.

* version.h

	1. Updated version to "4.6.3".


*******************************************************************************
4.6.2
*******************************************************************************

BUG FIXES
---------

* When using filters, the post-filtered filename and size were stored in the
  index rather than the original filename and size.

  (This bug fix will be known as bug fix FFS.)


CHANGES, file-by-file
---------------------

* do_file.c

	1. Added orig_file_size for bug fix FFS.

	2. Moved test for encountering file during incremental indexing
	   to before the filter filename substitutions for bug fix FFS.

	3. Added orig_file_name for bug fix FFS.

	4. Changed "new file_info()" call to use orig_file_name and
	   orig_file_size for bug fix FFS.

* filter.c
* filter.h

	1. Performed following substitution:

		s/target_file_/target_file_name_/

* util.h

	1. Added file_size() for bug fix FFS.

* version.h

	1. Updated version to "4.6.2".


*******************************************************************************
4.6.1
*******************************************************************************

BUG FIXES
---------

* extract(1) incorrectly required arguments for -l and -r.

  (This bug fix will be known as bug fix LRO.)


CHANGES, file-by-file
---------------------

* extract.c

	1. In main(), fixed opt_spec for bug fix LRO.

* version.h

	1. Updated version to "4.6.1".


*******************************************************************************
4.6
*******************************************************************************

NEW FEATURES
------------

* Added the ability to specify the extension appended to files for extract(1).

  (This feature will be known as feature SEE.)

* Added the ability to run extract(1) as a filter.

  (This feature will be known as feature EF.)


BUG FIXES
---------

* extract(1) didn't print the file name of files that didn't exist in its error
  message.

  (This bug fix will be known as bug fix DNE.)


CHANGES, file-by-file
---------------------

* config.h

	1. Added ExtractExtension_Default for feature SEE.

* conf_var.c

	1. In map_ref(), added ExtractExtension for feature SEE.

	2. In map_ref(), added ExtractFilter for feature EF.

* do_file.c

	1. Changed to use user-specified extension for feature SEE.

	2. Changed to have the ability write to standard output for
	   feature EF.

* exit_codes.h

	1. Added Exit_No_Such_File for feature EF.

* extract.c

	1. Added global extract_extension variable for feature SEE.

	2. In main(), added -x and --extension options for feature SEE.

	3. In usage(), added description of -x and --extension options
	   for feature SEE.

	4. In extract_*() functions, changed ofstream argument to
	   ostream for feature EF.

	5. Added extract_as_filter global variable for feature EF.

	6. In main() and usage(), added -f and --filter option for
	   feature EF.

	7. In main(), added code for the filter case for feature EF.

	8. In main(), fixed bug DNE.

* ExtractExtension.h

	1. Added this file for feature SEE.

* ExtractFilter.h

	1. Added this file for feature EF.

* man/man1/extract.1

	1. Added description of -x and --extension options for feature
	   SEE.

	2. Added description of -f and --filter options for feature EF.

* man/man4/swish++.conf.4
* swish++.conf

	1. Added ExtractExtension variable for feature SEE.

	2. Added ExtractFilter variable for feature EF.

* version.h

	1. Updated version to "4.6".


*******************************************************************************
4.5
*******************************************************************************

NEW FEATURES
------------

* Added the ability to index, not index, and filter files based on filename
  pattern rather than merely extension.

  (This feature will be known as feature FNP.)


BUG FIXES
---------

* If an HTML file doing selective non-indexing via CLASS attributes wasn't
  well-formed such that an HTML element having the CLASS attribute didn't end
  properly, then all words in all subsequent files indexed would be discarded.

  (This bug fix shall be known as bug fix ECC.)

* The --verbosity option in index(1) wasn't recognized.

  (This bug fix shall be known as bug fix VLO.)


CHANGES, file-by-file
---------------------

* config/config.mk

	1. Added -pedantic to CCFLAGS to make code cleaner.

* config/config-sh

	1. Changed &- to /dev/null because of a weird interaction with
	   g++ -pedantic.

* conf_var.c

	1. Performed the following substitution for configuration
	   variable names for feature FNP:

		s/(.+)Extension/$1File/

* do_file.c

	1. Changed extension-based processing to pattern-based for
	   feature FNP.

	2. Added "true" argument to call of index_words() for bug fix
	   ECC.

* entities.c

	1. Added "apos", "Scaron", "scaron", and "Yuml" for support of
	   XHTML.

* ExcludeExtension.h
* IncludeExtension.c
* IncludeExtension.h
* FilterExtension.c
* FilterExtension.h
* ExcludeFile.h
* IncludeFile.c
* IncludeFile.h
* FilterFile.c
* FilterFile.h

	1. Replaced *Extension files with *File equivalents for feature
	   FNP.

* exit_codes.h

	1. Added Exit_End_Enum_Marker to make compile with the
	   -pedantic option of g++.

* extract.c

	1. Same as conf_var.c item #1.

	2. Performed following substitution for feature FNP:

		s/extension/pattern/

	3. Made usage() take an ostream& argument just so it parallels
	   the way it's done in index.c.

* file_info.c

	1. In file_info::out(), eliminated unused num_words variable.

* file_list.c

	1. Removed #include <sys/types.h> since it's apparantly not
	   needed.

* file_vector.h

	1. Replaced off_t with size_t since mmap(2) uses size_t.

* GNUmakefile

	1. Added/removed source files for feature FNP.

	2. Added ".PHONY: all" so a "make -t" doesn't "touch all".

	3. Changed from using .%.d to dep/%.d dependency files since
	   Windows doesn't like filenames beginning with a dot.

	4. Split dist and distclean targets since only distclean should
	   remove the dependencies.

* html.h
* index_segment.h
* option_stream.h
* token.h

	1. Removed comma and end of enum list to make compile with the
	   -pedantic option of g++.

* html.c

	1. Added mention of XHTML in comments.

* index.c

	1. Same as conf_var.c item #1.

	2. Same as extract.c item #2.

	3. In main() for the 'C', 'm', and 'M' command-line options
	   cases, removed unnecessary strdup() since the variables are
	   derived from conf_set that is-a string_set that uses
	   std::string so the strings are copied anyway.

	4. In load_old_index(), removed unnecessary strdup() for
	   similar reason to item 3.

	5. In index_word(), performed following substitution:

		s/if ( exclude_class_count )/if ( exclude_class_count > 0 )/

	   just because it seemed "more correct."

	6. Corresponding change as index.h item #1.

	7. In index_words(), removed "static bool new_file" variable
	   for bug fix ECC.

	8. In index_words(), added:

		if ( is_new_file )
			exclude_class_count = 0;

	   for bug fix ECC.

	9. In index_words(), removed last "new_file = true;" for bug
	   fix ECC.

	A. In main(), performed following substitution:

		s/verbose/verbosity/

	   for bug fix VLO.

* index.h

	1. Added "is_new_file" argument for bug fix ECC.

* man/man1/index.1
* man/man1/extract.1
* man/man4/swish++.conf.4

	1. Modified description for feature FNP.

* my_set.h

	1. Performed following substitition:

		s/key_type/T const &/

	   to make it compile with the -pedantic option of g++.

	2. Added specialization of my_set< char const* > (see the
	   comment for why).

* pattern_map.h

	1. Added this file for feature FNP.

* README

	1. Changed "extension" to "patterns" for feature FNP.

* stop_words.c

	1. Added "mustn't" to the list of stop-words.

* swish++.conf

	1. Same as conf_var.c item #1.

* version.h

	1. Updated version to "4.5".

* word_util.c

	1. Added #include <iostream> if DEBUG_is_ok_word is defined.


*******************************************************************************
4.4
*******************************************************************************

NEW FEATURES
------------

* The FilterExtension variable now allows you to specify literal % and @
  characters by simply doubling the character.

  (This feature will be known as feature FLC.)


BUG FIXES
---------

* Added various #include lines and replacement for ENODATA to make it compile
  on FreeBSD systems.

  (This bug fix will be known as bug fix BSD2.)

* Fixed a bug in config.pl whereby a \$ would cause all $ after it not to
  expand because the while loop exited prematurely.  (This didn't currently
  matter, but it might in the future.)

  (This bug fix will be known as bug fix CEV.)

* Fixed a bug in install-sh whereby source files in subdirectories would not
  be chown'd and chmod'd properly.  (This didn't matter for SWISH++ the way
  it's distributed, but it might in the future.)

  (This bug fix will be known as bug fix ISD.)


CHANGES, file-by-file
---------------------

* config.pl

	1. 

* config/man.mk

	1. Added empty "all" rule so text versions of manual pages are
	   not automatically built.

* directory.c

	1. Added #include <sys/types.h> for bug fix BSD2.

* file_vector.c

	1. Added #include <sys/types.h> for bug fix BSD2.

	2. Added test for ENODATA and, if not available, use something
	   else.  (For bug fix BSD2.)

* filter.c

	1. Added code for feature FLC.

	2. Added special-case code for sleep(3) for Windows.

* FilterExtension.c

	1. Added code for feature FLC.

* GNUmakefile

	1. Performed substitutions of the form:

		s/@cd $(DIR) && $(MAKE) $@/@$(MAKE) -C $(DIR) $@/

	   since GNU make has a -C option.

	2. Added conditionals so as not to regenerate .d files when
	   making clean, distclean, or dist.

	3. Added "txt" as a target.

* install-sh

	1. Added code to strip directories via basename and xargs for
	   bug fix ISD.

* man/Makefile

	1. Renamed to GNUmakefile.

* man/GNUmakefile

	1. Renamed from Makefile.

	2. Replaced all targets with simpler %.

* man/man1/GNUmakefile
* man/man1/Makefile
* man/man3/GNUmakefile
* man/man3/Makefile
* man/man4/GNUmakefile
* man/man4/Makefile

	1. Renamed Makefile to GNUmakefile.

* man/man4/swish++.conf.4

	1. Added description of feature FLC.

* search.c
* search_daemon.c
* util.h

	1. Added #include <ctime> for bug fix BSD2.

* version.h

	1. Updated version to "4.4".


*******************************************************************************
4.3.1
*******************************************************************************

BUG FIXES
---------

* Indexing via standard input did NOT index all files: it still required you to
  specify extensions via -e.  This is totally wrong.  It seems it's been wrong
  since version 3.1.  I'm surprised nobody noticed.

  (This bug fix will be know as bug fix SII.)

* Fixed build problem on Debian Linux systems having to do with the type of the
  3rd argument to accept(3).

  (This bug fix will be know as bug fix A3A.)


CHANGES, file-by-file
---------------------

* config/config-sh

	1. Completely reworked to support multiple tests for the same
	   thing for bug fix A3A.

* config/src/explicit.c
* config/src/mutable.c
* config/src/namespaces.c
* config/src/new_casts.c

	1. Performed following subtitution:

		s/DEFINE/FAIL/

	   for bug fix A3A.

* config/socklen.c

	1. Replaced by other socklen*.c files.

* config/socklen_1_socklen_t.c
* config/socklen_2_int.c
* config/socklen_2_unsigned.c

	1. Replaced socklen.c with individual tests for bug fix A3A.

* do_file.c

	1. Performed following substitution:

		s/exclude_extensions.empty()/!include_extensions.empty()/

	   for bug fix SII.

* GNUmakefile

	1. Added platform.h as a dependency for all .*.d files so it
	   will get built first since it is #include'd by most other
	   files.

* httpindex.in

	1. Added more options that are passed to index(1).

* man/man1/httpindex.1

	1. Corresponding changes for httpindex.in.

* search_daemon.c

	1. Replaced use of PJL_SOCKLEN_NOT_INT with PJL_SOCKLEN_TYPE
	   for bug fix A3A.

* version.h

	1. Updated version to "4.3.1".


*******************************************************************************
4.3
*******************************************************************************

NEW FEATURES
------------

* 'search' has a new -P (or --pid-file) option and PidFile configuration
  variable to specify a file to write its process ID when running as a daemon.

  (This feature will be known as feature PID.)


BUG FIXES
---------

* The FilesGrow feature was broken because I forgot a needed set of parentheses
  to get the precedence right.  :-(

  (This bug will be known as bug fix FGP.)

* For 'search', the description of the -p and --word-percent option in the
  usage message wasn't printed unless it was compiled as a daemon (and these
  options have nothing to do with it being a daemon).

  (This bug will be known as bug fix WPO.)


CHANGES, file-by-file
---------------------

* config.h

	1. Performed the following substitution:

		s/swish++.socket/search.socket/

* config/config.pl

	1. Rewrote it so that it parses Makefiles directly rather than
	   needing to be passed arguments.

* config/Makefile

	1. Condensed a few things.

* conf_var.c

	1. Added PidFile variable for feature PID.

* exit_codes.h

	1. Added Exit_No_Write_PID for feature PID.

* FilesGrow.h

	1. Added parentheses around ?: operator for bug fix FGP.

* GNUmakefile

	1. Added in place of Makefiles.

* html.c

	1. Made is_html_comment() automatically skip it.

* index.c

	1. In index_words(), performed following substitution:

		s/char/file_vector::value_type/

	   It should have been that way all along.

* Makefile
* Makefile.win32

	1. Replaced by GNUmakefile.

* man/man1/search.1

	1. Added description of feature PID.

	2. Added -a, --socket-address for feature TCP.

	3. Made changes to daemon (daemon-type) for feature TCP.

	4. Added stuff for TCP sockets for feature TCP.

	5. Updated exit status codes for feature TCP.

	6. s/pjl@best.com/pauljlucas@mac.com/

	7. Updated Perl book references for 3rd ed.

* man/man4/swish++.conf.4

	1. Added mention of PidFile.

* PidFile.h

	1. Added this file for feature PID.

* search.c

	1. Added #include "PidFile.h" for feature PID.

	2. Added "char const*" argument to become_daemon() function
	   declaration for feature PID.

	3. In main(), added:
	
		PidFile pid_file_name;

	   and code to override with a command-line option for feature
	   PID.

	5. In search_options::search_options(), added pid_file_name_arg
	   and case for it for feature PID.

	6. In usage(), added description of -P and --pid-file options
	   for feature PID.

	7. In usage(), fixed bug WPO.

* searchc.in

	1. Same as config.h item #1.

* search_daemon.c

	1. Added "#include <fstream>" for feature PID.

	2. Removed "#ifndef WIN32" since the search daemon feature
	   isn't supported for Windows anyway.

	3. Added "pid_file_name" argument to become_daemon() for
	   feature PID.

	4. Added code to write the process ID for feature PID.

* search.h

	1. Added pid_file_name_arg to struct for feature PID.

* search_options.c

	1. Added "pid-file" option for feature PID.

* SocketFile.c

	1. Removed this file to remove absolute path name requirement.

* StopWordFile.h

	1. Performed following substitution:
	
		s/string/std::string/

	   It should have been that way all along.

* swish++.conf

	1. Added PidFile for feature PID.

	2. Same as config.h item #1.

* version.h

	1. Updated version to "4.3".

* www_example/search.cgi

	1. Same as config.h item #1.


*******************************************************************************
4.2
*******************************************************************************

NEW FEATURES
------------

* You can now index incrementally.

  (This feature will be known as feature II.)


BUG FIXES
---------

* You could get a segmentation fault if you indexed an HTML file that has no
  title and has fewer than title_lines lines.

  (This bug fix will be known as bug fix FTL.)

* There was a small memory leak with stop-words when search(1) ran as a daemon.

  (This bug fix will be known as bug fix SWL.)

* When running as a daemon, the thread timeout value was set to a garbage
  value.

  (This bug fix will be known as bug fix TTG.)

* In index(1), the --files-reserve option was incorrectly named --file-reserve.

  (This bug fix will be known as bug fix FRO.)


CHANGES, file-by-file
---------------------

* config/config.mk

	1. Added GCC_WARNINGS for development purposes.

* config.h

	1. Added FilesGrow_Default for feature II.

* conf_bool.h

	1. Make parse_value() protected rather than private for feature
	   II.

	2. Performed the following substitution:

		s/string/std::string/

* conf_int.c

	1. Made parse_value() thread-safe.

	2. Same as conf_bool.h item #1.

	3. Same as conf_bool.h item #2.

* conf_set.h

	1. Same as conf_bool.h item #1.

	2. Added CONF_SET_ASSIGN_OPS macro.

* conf_string.h

	1. Added operator+=() for feature II.

	2. Performed the following substitution:

		s/string/std::string/

* conf_var.c

	1. Added definition of conf_var::~conf_var().

	2. In map_ref(), added "Incremental" and "FilesGrow" for
	   feature II.

* conf_var.h

	1. Added #include <string>.

	2. Added virtual ~conf_var() because the class has virtual
	   functions.

	3. Performed the following substitution:

		s/string/std::string/

* do_file.c

	1. In do_file(), added code to check for encountering the same
	   file when incrementally indexing for feature II.

	2. In do_file(), moved the code that checks the title for null
	   to file_info.c.

* ExcludeClass.h
* ExcludeExtension.h
* ExcludeMeta.h
* IncludeMeta.h

	1. Added CONF_SET_ASSIGN_OPS.

* exit_codes.h

	1. Adjusted exit codes for feature II.

* file_index.h
* file_index.c

	1. These files were deleted; their functionality was
	   consolidated into index_segment.[ch].

* file_info.c

	1. A num_words parameter was added to the constructor for
	   feature II.

	2. operator<< was eliminated for feature II.

	3. Added file_info::out() and file_info::parse() for feature
	   II.

	4. Eliminated the class-specific operator new and moved the
	   functionality inside the constructor.

* file_info.h

	Everything in file_info.c plus:

	1. The private data members were made public and const for
	   feature II.

	2. Added name_set_ for feature II.

* file_list.c

	1. In calc_size(), code was added to skip occurrences for
	   feature II.

	2. In operator++(), code was added to parse occurrences for
	   feature II.

* file_list.h

	1. Performed the following substitution:

		s/word_index/index_segment/

	   for feature II.

* FilesReserve.h

	1. Added extern declaration.

* file_vector.h

	1. In end(), performed following substitution:

		s/size()/size_/

	   so g++ can inline the functions.

* filter.c

	1. Changed types of pos and target_pos to string::size_type and
	   changed -1 to string::npos.  (It should have been this way
	   all along.)

* html.c

	1. In grep_title(), removed register storage class for 'c'
	   since its address is taken.

	2. In grep_title(), added "return 0" at the end for bug fix
	   FTL.

* Incremental.c
* Incremental.h

	1. Added these files for feature II.

* index.c

	1. Added global variables "files_grow", "incremental", and
	   "partial_index_file_names" for feature II.

	2. Added load_old_index() function for feature II.

	3. In main() and usage(), changed "file-reserve" option to
	   "files-reserve" for bug fix FRO.

	4. In main(), added code to new -I and -G options for feature
	   II.

	5. In main(), added code to call load_old_index() for feature
	   II.

	6. In index_words(), removed "register" from declaration of
	   argument 'c' since its address is taken.

	7. In merge_indicies(), changed from using num_temp_files to
	   partial_index_file_names.size() for feature II.

	8. In write_file_index(), added code to write the format
	   directly since file_info::operator<<() was eliminated.

	9. In write_partial_index(), added code to add the partial
	   index file name to the global variable "partial_index_file_names"
	   for feature II.

	A. In write_word_index(), added code to write the occurrence
	   data for feature II.

	B. In usage(), added description of new -I, --incremental, -G,
	   and --files-grow options for feature II.

* index_segment.c
* index_segment.h

	1. Added these files.

* man/man1/index.1
* man/man1/search.1

	1. Added description of incremental indexing and new supporting
	   options and variables for feature II.

* man/man4/swish++.conf.4

	1. Added description of "Incremental" and "FilesGrow" variables
	   for feature II.

* man/man4/swish++.index.4

	1. Updated the description of the index file format for feature
	   II.

* managed_ptr.h

	1. Added various member functions.

* option_stream.c

	1. Removed the constructor without the ostream argument and
	   just made the other constructor have a default value.

* search.c

	1. Performed the following substitutions:

		s/result_type/search_result_type/
		s/results_type/search_results_type/

	   that fixed the problem with deriving sort_by_rank from
	   binary_function.

	2. Changed the types of "files", "meta_names", "stop_words",
	   and "words" to "index_segment" for feature II.

	3. In main(), added word_file_max_arg and word_percent_max_arg
	   for feature II.

	4. Moved the become_daemon() into the new search_daemon.c file.

	5. In dump_single_word(), added occurrence data to output.

	6. Added is_too_frequent() function for feature II.

	7. In parse_query(), added a default case to the switch statement.

	8. In parse_primary(), eliminated the call to strdup() for bug
	   fix SWL.

	9. In parse_primary(), added code to check to see if a word is
	   too frequent for feature II.

	A. In search_options::search_options(), added code for
	   word_file_max_arg and word_percent_max_arg for feature II.

	B. In service_request(), added occurrence data to dump output
	   for the entire index.

	C. In usage(), added description for =f and -p options for
	   feature II.

* search.h

	1. Added word_file_max_arg and word_percent_max_arg for feature
	   II.

* search_daemon.c

	1. Moved the daemon code into this file.

* search_options.c

	1. Added "word-files" and "percent-files" arguments for feature
	   II.

* stop_words.c
* stop_words.h

	1. Added new contructor for feature II.

* thread_pool.c

	1. In thread_pool::thread_pool(), performed following substitution:

		s/timeout_( timeout_ )/timeout_( timeout )/

	   for bug fix TTG.

* util.c
* util.h

	1. Moved get_index_info() to index_segment.c for feature II.

* version.h

	1. Updated version to "4.2".

* word_info.h

	1. Removed "union" in word_info::file for feature II.

	2. Added initialization of rank_ data member for feature II.


*******************************************************************************
4.1
*******************************************************************************

NEW FEATURES
------------

* Generated index files are now approximately 24% smaller.

  (This feature will be known as feature SIF.)


BUG FIXES
---------

* When index(1) generated partial indicies, it never removed words that
  occurred in more files than the allowable percentage.

  (This bug fix will be known as bug fix PIR.)

* The -T/--temp-dir options were left out of the option specification for
  index(1) so you could never specify these options on the command line.

  (This bug fix will be known as bug fix TDO.)

* Added a call to setsid() for becomming a search daemon.  It should have been
  there all along.

  (This bug fix will be known as bug fix SID.)


CHANGES, file-by-file
---------------------

* bcd.c
* bcd.h

	1. Added these files for feature SIF.

* config.h

	1. Added #error directives to force people to read config.h and
	   set important values for their system.

* exit_codes.h

	1. Added Exit_No_Unlink.

* file_list.c

	1. Rewrote file_list::calc_size() for bug fix PIR.  I was
	   counting spaces.  Why?  I don't know.  There were never any
	   spaces in the file list data.  As far as I can tell, this
	   never worked.

	2. Rewrote file_list::const_iterator::operator++() to parse
	   index file word data in new format for feature SIF.

* file_list.h

	1. Performed following substitution:

		s/ptr/ptr_/

	2. Performed following substitution:

		s/char const/unsigned char const/

	   for feature SIF since we now have to deal with byte values
	   greater than 0x7F.

* index.c

	1. In merge_indicies() and write_word_index(), changed the
	   format in which the index file is written from ASCII to BCD
	   for feature SIF.

	2. It seems as though the merge_indicies() code was slightly
	   broken.  While it appeared to merge properly, I don't think
	   it ever threw out words that exceeded any thresholds.  I
	   rewrote chunks of it for bug fix PIR.

	3. Factored out some code into a new is_too_frequent() function.

	4. In write_meta_name_index(), changed the ASCII numerical
	   output to BCD for feature SIF.

	5. In write_full_index(), changed the comment describing the
	   format of the index file for feature SIF.

	6. In main(), added -T/--temp-dir to option spec. for bug fix TDO.

* Makefile
* Makefile.win32

	1. Added bcd.o target and dependencies for feature SIF.

	2. Added word_info.o target and dependencies.

* man/man1/index.1

	1. Added Exit_No_Unlink to exit codes section.

* man/man4/swish++.index.4

	1. Changed the desription of the index file format for feature
	   SIF.

* search.c

	1. In get_meta_id(), changed the parsing of the META ID from
	   ASCII to BCD for feature SIF.

	2. In become_daemon(), added call to setsid() for bug fix SID.

* version.h

	1. Updated version to "4.1".

* word_info.c

	1. Added this file to factor out the code for writing META IDs.

* word_info.h

	1. Added write_meta_ids() function declaration.


*******************************************************************************
4.0
*******************************************************************************

NEW FEATURES
------------

* 'search' now has the ability to run in the background as a multi-threaded
  daemon process functioning as a search server.

  (This feature will be known as feature MSD.)


CHANGES, file-by-file
---------------------

* config/config.mk

	1. Added SEARCH_DAEMON, PTHREAD_LIB, and SOCKET_LIB variables
	   for feature MSD.

* config/Makefile

	1. Added src/errno$(CCCEXT) dependency to $(TARGET) for feature
	   MSD.

	2. Added src/socklen$(CCCEXT) dependency to $(TARGET) for
	   feature MSD.

* config/config-sh

	1. Performed following substitution:

		s/trap "x=$?; rm -f *$CCOEXT $TARGET; exit $x" 0 1 2 15/
		  trap "rm -f *$CCOEXT $TARGET; exit 1" 0 1 2 15

	   since it wasn't saving the exit code and always exiting with 0
	   (I don't know why.)  This was done for feature MSD.

	2. Added code to handle the new ERROR case for feature MSD.

* INSTALL.win32

	1. Added reference to Makefile.win32.

* Makefile

	1. Added new objects and dependencies for feature MSD.

	2. Added new DEBUG_threads flag for feature MSD.

* Makefile.win32

	1. Added this not including the objects and dependencies for
	   feature MSD until somebody helps me port MSD to Windows.

* man/man1/search.1

	1. Added description of feature MSD.

* man/man4/swish++.conf.4

	1. Added new configuration file variables for feature MSD.

* README

	1. Added synopsis of feature MSD.

* search.c

	1. Added #include of headers for socket-related stuff for
	   feature MSD.

	2. Added global "am_daemon" variable for feature MSD.

	3. Added a "set<string>&" parameter to parse_meta(),
	   parse_primary(), and parse_query() functions to collect the
	   stop words found for feature MSD.

	4. In main(), moved command-line option processing code into
	   new search_options object for feature MSD.

	5. In main(), moved search-request code into new search()
	   and service_request() functions for feature MSD.

	6. Added new become_daemon() function for feature MSD.

	7. Added "out" parameters to dump_single_word() and
	   dump_word_window() functions for feature MSD.

	8. In both dump_single_word() and dump_word_window(), made
	   lower_word a managed_vec<char> if compiled as a search
	   daemon.

	9. In usage() added description for new options for feature MSD.

* managed_ptr.h
* SearchDaemon.h
* search_thread.c
* search_thread.h
* SocketFile.h
* SocketQueueSize.h
* src/socklen.c
* thread_pool.c
* thread_pool.h
* ThreadsMax.h
* ThreadsMin.h

	1. New files for feature MSD.

* stem_word.c

	1. In stem_word(), added mutex around access to cache for
	   feature MSD.

* util.c
* util.h

	1. Added to_lower_r() function for feature MSD.

* version.h

	1. Updated version to "4.0".


*******************************************************************************
3.1
*******************************************************************************

NEW FEATURES
------------

* All executables now accept alternate long ("GNU-style") command-line options.

  (This feature will be known as feature LOPT.)

* Added -? option to print usage ("help") message.

  (This feature will be known as feature HELP.)

* Added new -h option and HTMLExtention configuration variable to allow
  filename extensions that are to be treated as HTML to be specified.

  (This feature will be known as feature HEXT.)

* In 'search', allow max-results to be specified as 0.  This allows the -R
  option to be eliminated.

  (This feature will be known as feature MR0.)

* Added code to max-out various resource limits since SWISH++ is resource-
  intensive.  This may alleviate out-of-memory conditions on some platforms.

  (This feature will be known as feature MAXR.)

* Added code to map ISO 8859-1 (Latin 1) characters to their closest ASCII
  equivalent so that they are treated eactly like character entity references.
  This should also improve use of SWISH++ in other languages.

  (This feature will be known as feature ISOMAP.)


BUG FIXES
---------

* Feature CLASS has had a subtle bug in it since its inception in version 2.0.
  It was over-zealous in closing HTML elements.  For example, given:

	<TABLE>
	    <TR>			<!-- 2 -->
	        <TD>			<!-- 1 -->
	            <TABLE>		<!-- 0 -->
	                <TR>
	                    <TD>
	                    Hello
	                    </TD>
	            </TABLE>		<!-- trouble -->
	        </TD>
	</TABLE>

  The "trouble" tag should have stopped closing elements at tag "0" but it kept
  closing elements "1" and "2" because </TD> and </TR> have </TABLE> in their
  set of close tags.

  The fix is to make a tag check to see whether the element it's closing is its
  own start tag: if so, stop.

  (This bug fix will be known as bug fix CLASS1.)

* Really long start tags, those with lots of attributes, exceeding 128
  characters, would cause a buffer overflow and, occasionally, a core dump.
  The fix is to change the way getting the name of tags is done.

  (This bug fix will be known as bug fix RLST.)


CHANGES, file-by-file
---------------------

* config/config/mk

	1. Added suffix and rule for ".in" files.

* conf_bool.h
* conf_int.h
* conf_set.h

	1. Added reset() member function.

	2. Added var_name argument to parse_value() for feature HEXT.

* conf_string.h

	1. Added reset() member function.

	2. Changed use of "char const*" to "string" so as not to have
	   to sorry about properly managing the value.

	3. Added var_name argument to parse_value() for feature HEXT.

* conf_var.c

	1. Added alias_name() function for feature HEXT.

	2. In parse_const_value() and parse_line(), added var_name
	   argument to parse_value() call for feature HEXT.

	3. In msg(), performed following substitution:

		s/cerr/o/

	   It should have been that way all along.

	4. Made parse_config_file() a member function.

	5. Added reset_all() member function.

	5. In map_ref(), added "HTMLExtension" for feature HEXT.

* conf_var.h

	1. Added alias_name() function for feature HEXT.

	2. Made error() use the 'o' reference instread of cerr.

	3. Added argument to warning().

	4. Added reset_all() member function.

* config.h

	1. Added WordPercentMax_Default.  It should have been there all
	   along.

	2. Added Tag_Name_Max_Size for bug fix RLST.

* do_file.c

	1. Removed is_html_ext() for feature HEXT.

	2. Changes MAXNAMLEN to NAME_MAX.

	3. In do_file(), changed access to include_extensions for
	   feature HEXT.

* entities.c
* entities.h

	1. Moved num_entities[] to word_util.[ch] for feature ISOMAP.

* exit_codes.h

	1. Flipped errors 50 and 51.

* extract.c

	1. Removed MAXNAMLEN in favor of NAME_MAX in util.h.

	2. Replaced getopt() code with opt_stream code for feature LOPT.

	3. In main(), added code to max-out RLIMIT_CPU for feature MAXR.

	4. In main(), added code for new -? option for feature HELP.

	5. In usage(), added long option descriptions for feature LOPT.

	6. In usage(), added description for -? (and --help) options
	   for features HELP and LOPT, respectively.

	7. Corresponding change to file_vector.h item #1.

	8. Performed following substitution:

		s/ERROR/error()/

	9. In extract_words(), added call to iso8859_to_ascii() for
	   feature ISOMAP.

* file_index.h

	1. Corresponding changes for file_vector.h item #1.

* file_info.c

	1. Performed following substitution:

		s/num_files_reserve/files_reserve/

* file_vector.h

	1. Detemplatized file_vector class to be only of char.  I
	   realized that file_vectors of other types may not have their
	   elements suitably alogned and could cause alighment faults.

* file_vector.c

	1. Corresponding change to file_vector.h item #1.

	2. In file_vector::init(), added code to max-out RLIMIT_VMEM
	   for feature MAXR.

	3. For Unix, error() now returns the value of the standard
	   errno variable.

	4. In open(), made it so that it won't attempt to mmap() the
	   file if it has zero size; instead set error to ENODATA.

* FilterExtension.c

	1. Added missing #include <cstdlib>

* FilterExtension.h

	1. Added reset() member function.

* html.c

	1. Added #include "word_util.h"

	2. Corresponding change to file_vector.h item #1.

	3. Made find_attribute() insist that the "attribute" argument
	   be passed as lower case.  This way, it doesn't have to
	   convert it to lower case.

	4. Made tag_cmp() insist that the "tag" argument be passed as
	   lower case.  This way, it doesn't have to convert it to
	   lower case.

	5. In parse_html_tag(), corresponding changes for items #3 and #4.

	6. In parse_html_tag(), added code for bug fix CLASS1.

	7. In parse_html_tag(), changed first call to to_lower( begin, end )
	   to be inline code for bug fix RLST.

	8. In convert_entity(), performed following substitution:

		s/num_entities/iso8859_map/

	   for feature ISOMAP.

* html.h

	1. Corresponding change to file_vector.h item #1.

* index.c

	1. Same as extract.c item #1.

	2. Same as extract.c item #2.

	3. Same as extract.c item #3.

	4. Same as extract.c item #4.

	5. Same as extract.c item #5.

	6. Same as extract.c item #6.

	7. Same as extract.c item #7.

	8. Same as extract.c item #8.

	9. Same as extract.c item #9.

	A. In main(), added code to max-out RLIMIT_AS and RLIMIT_DATA
	   for feature MAXR.

	B. In usage(), added missing description for -T option.

	C. Same as file_info.c #1 plus:

		s/num_files_reserve_arg/files_reserve_arg/

* index.h

	1. Corresponding change to file_vector.h item #1.

* IndexFile.h

	1. Corresponding change to conf_string item #2.

* itoa.c
* itoa.h

	1. Moved ltoa() into its own file.

* Makefile

	1. Added dependencies for option_stream.[cho] for feature LOPT.

	2. Added dependencies for itoa.[ch].

	3. Made TARGET names more explicit.

	4. Performed following substitution:

		s/the.index/swish++.index/

	   This should have been done in release 3.0.

* man/man1/extract.1
* man/man1/index.1
* man/man1/search.1

	1. Added descriptions for feature LOPT.

* my_set.h

	1. Eliminated my_set::key_type since it's already defined in set.

	2. Made base_type private.

	3. Changed what was "string_set" to "char_ptr_set" and added a
	   new "string_set" that really is a set of strings.

* option_stream.c
* option_stream.h

	1. Added for feature LOPT.

* ResultsMax.h

	1. Changed allowable lower bound for ResultsMax to 0 for
	   fearure MR0.

* search.c

	1. Same as extract.c item #2.

	2. In main(), added code to max-out RLIMIT_AS for feature MAXR.

	3. Changed use of istrstream to token_stream.

	4. In parse_meta(), made tokens const.

	5. In parse_meta() and parse_optional_relop(), changed lines of
	   the form:

		t.put_back();
	   to:
		query.put_back( t );

	6. In parse_primary(), used improved less_stem to eliminate
	   conditional calls of binary_search() and equal_range().

	7. Same as extract.c item #5.

	8. In main(), added call to setlocale(3) for feature LOCALE.

* stem_word.h

	1. Enhanced less_stem class to accept a Boolean argument
	   whether to stem or not.

	2. Made stem_word() a member function.

* stem_word.c

	1. Corresponding change to stem_word.h item #2.

	2. Added #include "word_util.h"

* stop_words.c

	1. Added #include "word_util.h"

	2. Performed following substitution:

		s/ERROR/error()/

	3. Corresponding change to file_vector.h item #1.

	4. Added call to iso8859_to_ascii() for feature ISOMAP.

* StopWordFile.h
* TempDirectory.h

	1. Corresponding change to conf_string item #2.

* token.c

	1. Removed token::hold() in favor of new token_stream class.

	2. In operator>>(), replaced call to to_lower() with
	   ::transform() thus making operator>>() thread-safe (since
	   to_lower() isn't thread-safe).

	3. Added #include "word_util.h"

	4. Added call to iso8859_to_ascii() for feature ISOMAP.

* token.h

	1. Added token_stream class to hold "put back" tokens.  This
	   makes it thread-safe.

* util.c

	1. Moved ltoa() to itoa.c so it's in its own .o file since only
	   index(1) uses it so there's no reason for it to be linked
	   into extract(1) or search(1).

	2. Added max_out_limit() for feature MAXR.

	3. Moved is_ok_word() to word_util.h thereby making it easier
	   for others to customize or replace it with a custom one
	   (perhaps with different heuristics for other languages).

	4. Moved parse_config_file() to be a member of conf_var.

	5. Corresponding change to file_vector.h item #1.

* util.h

	1. Added definition of NAME_MAX to replace MAXNAMLEN to be more
	   POSIXly correct.

	2. Correpsonding change as do_file.c item #1.

	3. Added declaration of max_out_limit() for feature MAXR.

	4. Moved declarations of ltoa() and itoa() to itoa.h.

	5. The is_ok_word(), is_vowel(), is_word_begin_char(),
	   is_word_char(), and is_word_end_char() have been moved to
	   word_util.h thereby making it easier for others to customize
	   or replace them with custom ones (perhaps with different
	   heuristics for other languages).

	6. Replaced ERROR macro with error() function.

	7. Added error_string() function.

	8. Corresponding change to file_vector.h item #1.

* version.h

	1. Updated version to "3.1".

* word_index.c
* word_index.h

	1. Corresponding change to file_vector.h item #1.

* WordPercentMax.h

	1. Added WordPercentMax_Default to constructor.  (It should
	   have been here since version 3.0.)

* word_util.c

	1. Corresponding changes to util.c item #3 and util.h item #5.

	2. Moved num_entities[] definition from entities.c to
	   word_util.c and renamed it iso8859_map[] for feature ISOMAP.

* word_util.h

	1. Corresponding changes to util.c item #3 and util.h item #5.

	2. Moved num_entities[] declaration from entities.h to
	   word_util.h and renamed it iso8859_map[] for feature ISOMAP.

	3. Added iso8859_to_ascii() function for feature ISOMAP.

* WWW.pm

	1. Made regular expression for e_mail more accurate.

* www_example/search.cgi

	1. Added code to pass along -s option to do stemming.

* www_example/search.html

	1. Added checkbox for stemming.


*******************************************************************************
3.0.3
*******************************************************************************

NEW FEATURES
------------

* A -H option has been added to 'index' to dump the built-in set of recognized
  HTML elements to standard output (so you can check to see if a certain tag is
  recognized or not).

  (This feature will be known as feature OPTH.)

* Boolean configuration file variables now accept "on" and "off" values.

  (This feature will be known as feature ON_OFF.)


BUG FIXES
---------

* There was a small memory leak when indexing META names.

  (This bug fix will be known as bug fix ML1.)

* Reporting errors in a configuration file says what line number the error is
  on.  However, the same error-reporting code is also used to print errors when
  command-line arguments are invalid.  The line number variable wasn't cleared
  so it would print an erroneous line number for an invalid command-line
  option.

  (This bug fix will be known as bug fix CLN.)

* Parsing of Boolean values in configuration files was completely broken.

  (This bug fix will be know as bug fix PBV.)

* WWW::extract_description() did it wrong for ALT attributes with an empty
  value, i.e., ALT="".

  (This bug fix will be known as bug fix ADE.)


CHANGES, file-by-file
---------------------

* conf_bool.c

	1. In parse_value(), added code to accept "on" and "off" for
	   feature ON_OFF.

	2. In parse_value(), added '!' characters before ::strcmp()
	   calls for bug fix PBV.

* conf_bool.h
* conf_int.h
* conf_string.h

	1. Made assignment operators protected since (1) they're not
	   inherited and (2) it's an abstract class.

* conf_int.c
* conf_string.c

	1. Performed following substitution:

		s/cerr/error()/

* conf_var.c

	1. Corresponding change to conf_var.h #1

	2. In parse_line(), added:

		current_config_file_line_no_ = 0;

	   for bug fix CLN.

* conf_var.h

	1. Made msg() accept an ostream& to write to.

	2. Performed following substitution:

		s/string/std::string/

* do_file.c

	1. Corresponding change to my_set.h #1.

* elements.c

	1. Added element_map::instance() for feature OPTH.

	2. Added explicit case for element::forbidden.

* elements.h

	1. Corresponding change for elements.c item #1.

	2. Made element_map::element_map() private for feature OPTH.

	3. Added operator<<( ostream&, element_map::value_type const& )
	   for feature OPTH.

* extract.c

	1. Corresponding change to my_set.h #1.

	2. In usage(), performed following substitution:

		s/Dump default stop-words/Dump stop-words/

	   since it dumps whatever stop-words are being used, not just
	   the built-in default set.

* filter.h

	1. Performed following substitution:

		s/string/std::string/

* FilterExtension.c

	1. Performed following substitution:

		s/cerr/error()/

* html.c

	1. In convert_entity(), changed access to the char_entity_map
	   for feature OPTH.

	2. In parse_html_tag(), corresponding change to my_set.h #1.

	3. In parse_html_tag(), corresponding change to elements.c #1.

	4. In parse_html_tag(), changed the way META names are looked
	   up for bug fix ML1.  Specifically, we no longer
	   unconditionally do a strdup(): this was the source of the
	   memory leak.

* index.c

	1. Added #include "elements.h" for feature OPTH.

	2. In main() and usage(), added code for feature OPTH.

	3. Corresponding change to my_set.h #1.

	4. Corresponding change to extract.c #2.

* less.h

	1. Started using binary_function's first_argument_type,
	   second_argument_type, and result_type typedefs.

* Makefile

	1. Added dependency for index.c on elements.h feature OPTH.

* man/man1/index.1

	1. Added description for new -H option for feature OPTH.

	2. Mentioned which verbosity level is the default.

	3. Added a reference to the "Index of Elements" in the HTML 4.0
	   specification.

* man/man4/swish++.conf.4

	1. Added "on" and "off" for feature ON_OFF.

* my_set.h

	1. Performed following substitution:

		s/find/contains/

	   to distinguish it from STL find() functions that return
	   iterators.

* search.c

	1. Corresponding change to my_set.h #1.

	2. In usage(), removed "standard out" verbiage.

* stem_word.c

	1. In stem_word(), removed use of char_buffer_pool.

* stem_word.h

	1. Corresponding change to less.h item #1.

* util.c

	1. Performed following substitution:

		s/string/std::string/

* util.h

	1. Used S_ISxxx() macros for file tests rather than S_IFxxx.

* version.h

	1. Updated version to "3.0.3".

* WWW.pm

	1. Changed lines 103 and 104 from:

		$s =~ s/<[^>]+?ALT\s*=\s*(['"])([^>]+)\1[^>]*?>/$2/gi;
		$s =~ s/<[^>]+?ALT\s*=\s*(['"])([^'"]+)\1?\s*$/$2/i;
	   to:
		$s =~ s/<[^>]+?ALT\s*=\s*(['"])([^>]*?)\1[^>]*?>/$2/gi;
		$s =~ s/<[^>]+?ALT\s*=\s*(['"])([^'"]*)\1?\s*$/$2/i;

	   for bug fix ADE.


*******************************************************************************
3.0.2
*******************************************************************************

BUG FIXES
---------

* The -r option for index and extract was broken by release 3.0; it's fixed
  now.

  (This bug fix will be known as bug fix DASHR.)


CHANGES, file-by-file
---------------------

* directory.c

	1. On line 104, reversed the order of the conditions to now be:

		if ( is_directory( path ) && recurse_subdirectories )

	   for bug fix DASHR.  For directories, a stat(2) wasn't being
	   performed so the is_plain_file() call in do_file() didn't
	   work.

* extract.c
* index.c

	1. In main(), performed following substitutions for command
	   line argument variables:

		s/char*/char const*/

* search.c

	1. In main(), performed following substitutions for command
	   line argument variables:

		s/char*/char const*/

	2. Performed following substitutions:

		s/dump_match/dump_match_arg/
		s/dump_window_size/dump_window_size_arg/
		s/skip_results/skip_results_arg/

* version.h

	1. Updated version to "3.0.2".


*******************************************************************************
3.0.1
*******************************************************************************

BUG FIXES
---------

* The code failed to compile under g++ 2.95 because it caught errors that
  previous versions of g++ allowed to compile.

  (This bug fix will be known as GCC2.95.)

* There were a few mistakes in the section 1 manual pages to cover all the
  changes to version 3.0.

  (This bug fix will be known as MAN3.)


CHANGES, file-by-file
---------------------

* elements.c

	1. On line 276, added an intermediate cast to int to get rid of
	   an error trying to convert directly from a char* to an enum
	   for bug fix GCC2.95.

* index.c

	1. In rank_full_index(), added another local scope for bug fix
	   GCC2.95.

* man/man1/extract.1
* man/man1/index.1
* man/man1/search.1

	1. Performed following substitution:

		s/the.index/swish++.index/

	   for bug fix MAN3.

	2. Fixed some formatting errors.

* man/man4/swish++.conf.4

	1. Fixed some formatting errors.

* search.c

	1. Performed following substitution:

		s/result_type/results_type/
		s/sorted_result_type/sorted_results_type/

	   and added new result_type type for bug fix GCC2.95.

	2. In main(), performed following substitution;:

		s/typedef vector< result_type::value_type > sorted_result_type;
		 /typedef vector< result_type > sorted_results_type;/

	   for bug fix GCC2.95.

* util.h

	1. Rewrote is_directory() and is_plain_file() in terms of
	   file_exists().

* version.h

	1. Updated version to "3.0.1".

* word_index.h

	1. Added definitions for:

		word_index::const_iterator::operator+=()
		word_index::const_iterator::operator-=()

	   for bug fix GCC2.95.


*******************************************************************************
3.0
*******************************************************************************

NEW FEATURES
------------

* SWISH++ now allows flexible file filtering for extraction and indexing.

  (This feature will be known as feature FFF.)

* SWISH++ now allows configuration files since they were necessary for feature
  FFF.  If I had to add them, I might as well do it right.

  (This feature will be known as feature CONF.)

* SWISH++ now compiles and runs under Windows (95/98/NT).

  (This feature will be known as feature WIN32.)

* 'index' now accepts a -T option that allows the directory to use for
  temporary files to be specified.

  (This feature will be known as feature TEMP.)

* 'index' and 'extract' now report the number of files examined in addition to
  the number indexed or extracted, respectively.

  (This feature will be known as feature EXAM.)


BUG FIXES
---------

* In the admitedly rare case of a malformed HTML file ending in a '<' character
  (without a newline, i.e., '<' is the *VERY* last character in the file),
  'index' would core-dump.

  (This bug fix will be known as bug fix EGT.)


CHANGES, file-by-file
---------------------

* conf_bool.c
* conf_bool.h
* conf_int.c
* conf_int.h
* conf_set.c
* conf_set.h
* conf_string.c
* conf_string.h
* conf_var.c
* conf_var.h
* ExcludeClass.h
* ExcludeExtension.h
* ExcludeMeta.h
* FilesReserve.h
* filter.c
* filter.h
* FilterExtension.c
* FilterExtension.h
* FollowLinks.h
* IncludeExtension.h
* IncludeMeta.h
* IndexFile.h
* man/man4/swish++.conf.4
* RecurseSubdirs.h
* ResultsMax.h
* StemWords.h
* StopWordFile.h
* TitleLines.h
* Verbosity.h
* WordFilesMax.h
* WordPercentMax.h

	1. New files for feature CONF.

* config.h

	1. Added Config_Filename_Default for feature CONF.

	2. Performed following substitution:

		s/the.index/swish++.index/

* config/config.mk

	1. Added -DWIN32 to CCFLAGS for feature WIN32.

	2. Added more comments to CCFLAGS.

	3. Added CCLINK for feature WIN32.

	4. Added a "You shouldn't have to change anything below this
	   line" line.

	5. Added more comments for the "Manual pages" section and the
	   DISTILL variable.

	6. Added .SUFFIXES at bottom.

* config/config-sh

	1. Renamed from config.sh so some versions of make don't get
	   confused with the .sh suffix and try to build it.

	2. Define PJL_NO_SYMBOLIC_LINKS if WIN32 is defined for feature
	   WIN32.

* config/Makefile

	1. Removed test for bool type: bool is now a requirement of the
	   C++ compiler.  This was necessary for feature CONF since it
	   specializes a template on bool.

	2. Performed following substitution:

		s/config.sh/config-sh/

	   corresponding to config/config-sh item #1.

* config/src/bool.c

	1. This file was removed corresponding to config/Makefile item
	   #1.

* directory.c

	1. Performed following substitutions:

	    s/bool recurse_subdirectories/RecurseSubdirs recurse_subdirectories/
	    s/int verbosity/Verbosity verbosity/

	   for feature CONF.

	2. Added PJL_NO_SYMBOLIC_LINKS for WIN32.

	3. Moved definition of stat_buf to util.c.

* directory.h

	1. Include platform.h for new PJL_NO_SYMBOLIC_LINKS symbol.

	2. Moved stat_buf and file test functions to util.h.

* do_file.c

	1. The common code between 'index' and 'extract' was moved
	   here.

	2. The increment of "num_examined_files" was added for feature
	   EXAM.

* exit_codes.h

	1. New header file.

* extract.c

	1. Added explicit definition of MAXNAMLEN under Windows for
	   feature WIN32.

	2. Performed following substitutions:

	    s/string_set exclude_extensions/ExcludeExtension exclude_extensions/
	    s/string_set include_extensions/IncludeExtension include_extensions/

	   for feature CONF.

	3. Corresponding change to directory.c item #1.

	4. Added extract_words() function to parallel index.c's
	   index_words() function.

	5. In main(), redid the way in which command line options are
	   processed such that they take precedence over configuration
	   file variables for feature CONF.

	6. In main(), made -l option conditional on whether we're
	   compiling under Window or not for feature WIN32.

	7. In main(), added -c option for feature CONF.

	8. In main(), added code to test whether a file or directory
	   actually exists before calling do_directory or do_file().

	9. Moved code for do_file() to do_file.c to factor out code
	   common between extract and index.

	A. In usage(), added description of -c option for feature CONF.

	B. In usage(), made description of -l option conditional on
	   Windows for feature WIN32.

	C. Changed all calls to exit(3) to use new exit code enums.

	D. Added "num_examined_files" global variable for feature EXAM.

	E. In main(), added code to print "num_examined_files" for
	   feature EXAM.

* fake_ansi.h

	1. Removed __cplusplus test.

	2. Removed section for bool type: bool is now a requirement of
	   the C++ compiler.  This was necessary for feature CONF since
	   it specializes a template on bool.

* file_index.h
* file_index.c

	1. Removed #include "fake_ansi.h" since bool is now required.

* file_list.c

	1. Added #include "fake_ansi.h".

	2. Removed erroneous #include "html.h".

* file_vector.h

	1. Added #include's for Windows for feature WIN32.

	2. Added conditional compilation for file_vector_base's
	   size_type and fd_ for Windows for feature WIN32.

* file_vector.c

	1. Removed #include "fake_ansi.h" since bool is now required.

	2. Added conditional compilation for Windows for feature WIN32.

* html.c

	1. Performed following substitutions:

		s/no_index_class_count/exclude_class_count/
		s/no_index_class_names/exclude_class_names/

	2. In parse_html_tag(), added:

		if ( c == end )
			return;

	   for bug fix EGT.

* html.h

	1. Performed following substitutions:

		s/no_meta_id/No_Meta_ID/
		s/meta_id_not_found/Meta_ID_Not_Found/

	   to make all enum's have capital letters.

* index.c

	1. Corresponding change to extract.c item #1.

	2. Corresponding change to extract.c item #2.

	3. Corresponding change to extract.c item #5.

	4. Corresponding change to extract.c item #6.

	5. Corresponding change to extract.c item #7.

	6. Corresponding change to extract.c item #8.

	7. Corresponding change to extract.c item #9.

	8. Corresponding change to extract.c item #A.

	9. Corresponding change to extract.c item #B.

	A. Corresponding change to extract.c item #C.

	B. Performed following substitutions:

		s/no_index_class_count/exclude_class_count/
		s/no_index_class_names/exclude_class_names/

	C. Performed following substitutions:

		s/int num_files_reserve/FilesReserve num_files_reserve/
		s/int num_title_lines/TitleLines num_title_lines/
		s/int word_file_file_max/WordFilesMax word_file_max/
		s/int word_file_percent_max/WordPercentMax word_percent_max/

	   for feature CONF.

	D. In main() and write_partial_index(), added "ios::binary" to
	   "out" ofstream for feature WIN32.

	E. In main(), added code for -T option for feature TEMP.

	F. Corresponding change to extract.c item #D.

	G. Corresponding change to extract.c item #E.

* index.h

	1. Corresponding change as html.h #1.

* INSTALL.unix

	1. Remaned from INSTALL due to introduction of INSTALL.win32

* INSTALL.win32

	1. New file for feature WIN32

* Makefile

	1. Added more comments for DEBUG options.

	2. Added new targets for feature CONF.

	3. Redid a lot of dependencies as a result.

* man/man1/index.1

	1. Added descriptions of configuration file variable for
	   feature CONF.

	2. Added Filters subsection to DESCRIPTION for feature FFF.

	3. Added description of -c option for feature CONF.

	4. Added caveat that the -l option is not available under
	   Windows for feature WIN32.

	5. Added description of -T option for feature TEMP.

	6. Added CONFIGURATION FILE section for feature CONF.

	7. Added Filters subsection to EXAMPLES for feature FFF.

	8. Expanded EXIT STATUS section to list specific exit codes.

	9. Added compress(1), gunzip(1), gzip(1), uncompress(1), and
	   swish++.conf(4) to SEE ALSO section.

* man/man1/extract.1

	1. Added descriptions of configuration file variable for
	   feature CONF.

	5. Added caveat that the -l option is not available under
	   Windows for feature WIN32.

	6. Expanded EXIT STATUS section to list specific exit codes.

	7. Added swish++.conf to FILES section for feature CONF.

	8. Performed following substitution:

		s/the.index/swish++.index/

	9. Added swish++.conf(4) to SEE ALSO section for feature CONF.

* man/man1/search.1

	1. Added decription of -c option for feature CONF.

	2. Added CONFIGURATION FILE section for feature CONF.

	3. Expanded EXIT STATUS section to list specific exit codes.

	4. Added swish++.conf to FILES section for feature CONF.

	5. Performed following substitution:

		s/the.index/swish++.index/

	6. Added swish++.conf(4) to SEE ALSO section for feature CONF.

* man/man4/Makefile

	1. Corresponding change to swish++.index.4 item #1.

	2. Added swish++.conf.4 for feature CONF.

* man/man4/swish++.index.4

	1. This file was renamed from swish++.4.

* search.c

	1. Performed following substitution:

		s/bool stem_words/StemWords stem_words/

	   for feature CONF.

	2. Corresponding change as html.h #1.

	3. Corresponding change to extract.c item #C.

	4. Corresponding change to extract.c item #5.

	5. Corresponding change to extract.c item #A.

* stop_words.c

	1. Added local static variable to constructor.

	2. Corresponding change to extract.c item #C.

* stop_words.h

	1. Removed private static data member.

* swish++.conf

	1. Added template configuration for feature FFF.

* token.c

	1. Performed following substitution:

		s/fake_ansi.h/platform.h/

	   since bool is now required.

* util.c
	
	1. Moved stat_buf here from directory.h.

	2. Added parse_config_file() for feature CONF.

* util.h

	1. Corresponding change to util.c item #1.

	2. Moved file test functions here from directory.h.

	3. orresponding change to util.c item #2.

* version.h

	1. Updated version to "3.0".

* word_index.c

	1. Removed #include "fake_ansi.h" since bool is now required.

* word_index.h

	1. Removed #include "fake_ansi.h" since bool is now required.

* word_info.h

	1. Corresponding change as html.h #1.


*******************************************************************************
2.0.1
*******************************************************************************

BUG FIXES
---------

* The code parsed HTML attributes inside HTML comments.  This is (obviously)
  the wrong thing to do.  HTML comments declarations are now really, really
  ignored.  Honest.

  (This bug fix will be known as bug fix ACP.)

* The code parsed HTML attributes inside <!DOCTYPE ...> declarations.  This is
  also (obviously) the wrong thing to do.  <!DOCTYPE...> declarations are now
  also ignored.

  (This bug fix will be known as bug fix EXP.)

* The set of HTML end tags that close some HTML elements was incomplete.

  (This bug fix will be known as bug fix HC1.)


CHANGES, file-by-file
---------------------

* elements.c

	1. For the <colgroup> element, added <colgroup> for bug fix
	   HC1.

	2. For the <td> element, added <tbody>, </tbody>, </td>,
	   <tfoot>, </tfoot>, <tr>, and </tr> for bug fix HC1.

	3. For the <tfoot> element, added <tbody> and <thead> for bug
	   fix HC1.

	4. For the <th> element, added <tbody>, </tbody>, <tfoot>,
	   </tfoot>, </th>, <tr>, and </tr> for bug fix HC1.

	5. For the <thead> element, added <tbody> and <tfoot> for bug
	   fix HC1.

	6. For the <tr> element, added <tbody>, </tbody>, <tfoot>,
	   </tfoot>, and </thead> for bug fix HC1.

* html.c

	1. In parse_html_tag(), added "if ( ... ) return;" aroun