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
|
Mon Jun 14 10:08:01 CEST 2004 Gabriele Bartolini <angusgb@users.sourceforge.net>
* Tagged release htdig-3-2-0b6
Sun 13 Jun 2004 Lachlan Andrew <lha at users.sourceforge.net>
* db/os_abs.c, (db/os_abs.c.win32 removed):
Re-fix Cygwin bug (#814268, fixed 25 Apr) so that it won't be
clobbered by autotools.
Sat 12 Jun 2004 Lachlan Andrew <lha at users.sourceforge.net>
* htdoc/RELEASE.html: Separated bug fixes from new features
* htdoc/{htdig,htfuzzy}.html, installdir/{htdig,htfuzzy}.1.in:
Added list of database files used
* htdoc/{htdump,htmerge,htnotify,htpurge,hts_general,htstat,rundig}.html:
Hyperlinked COMMON_DIR, BIN_DIR, DATABASE_DIR to attrs.html.
* htcommon/defaults.cc, htdoc/attrs.html.in:
Remove reference to deprecated '-l' option (generate URL log) of htdig.
Fri Jun 11 11:48:40 2004 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/parser.cc (phrase): Applied Lachlan's patch to prevent endless
loop when boolean keywords appear in a phrase in boolean match method.
Fri Jun 11 11:26:56 2004 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* db/hash.c (CDB___ham_open): Applied Red Hat's h_hash patch, to ensure
that hash function always set to something valid.
Fri Jun 11 10:53:49 2004 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* installdir/HtFileType: Added -f to rm command.
* htsearch/parser.cc (perform_or): Added missing & in if clause.
* contrib/htdig-3.2.0.spec: Updated for 3.2.0b6.
* installdir/Makefile.{am,in}: Don't stick $(DESTDIR) in HtFileType.
Thu Jun 10 16:39:36 CEST 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htcommon/conf_(lexer.lxx,parser.yxx): applied Gilles' patch (April 22)
which features:
- improved error handling, gives file name and correct line number,
even if using include files
- allows space before comment, because otherwise it would just complain
about the "#" character and go on to parse the text after it as a
definition
- allows config file with an unterminated line at end of file, by
pushing an extra newline token to the parser at EOF
- parser correctly handles extra newline tokens, by moving this
handling out of simple_expression, and into simple_expression_list
and block, as simple_expression must return a new ConfigDefaults
object and a newline token doesn't cut it (caused segfaults when
dealing with fix above)
* htcommon/conf_lexer.cxx: Regenerate using flex 2.5.31.
* htcommon/conf_parser.cxx: Regenerate using bison 1.875a.
Wed Jun 9 12:32:47 2004 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HTML.cc (do_tag): Fixed meta date handling fix of June 3 to
ensure null byte gets put in by get() call.
Wed 9 Jun 2004 Lachlan Andrew <lha at users.sourceforge.net>
* contrib/doc2html/doc2html.pl, installdir/mime.types:
Add support for OpenOffice.org documents (#957305)
Sat 5 Jun 2004 Lachlan Andrew <lha at users.sourceforge.net>
* test/t_htdig, test/t_factors: fix tests for non-gnu/linux systems.
Sat 5 Jun 2004 Lachlan Andrew <lha at users.sourceforge.net>
* htdoc/cf_generate.pl: Hyperlink to simplify finding the defaults of
attributes defined in terms of others (e.g.,
accents_db->database_base->database_dir).
* htdoc/attrs.html.in: regenerated using cf_generate.pl
Sat 5 Jun 2004 Lachlan Andrew <lha at users.sourceforge.net>
* htcommon/defaults.cc: Escaped new-line in "allow_spaces_in_url" entry.
Set no_next_page_text to ${next_page_text}; likewise no_prev_page_text.
Fri Jun 4 10:23:53 CEST 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htcommon/URL.cc: added "allow_space_in_url" (from fileSpace.1 patch)
* htcommon/defaults.[cc,xml]: added documentation of allow_space_in_url
* htdoc/attrs.html.in: regenerated using cf_generate.pl
* htdoc/cf_byname.html: ditto
* htdoc/cf_byprog.html: ditto
* htdoc/RELEASE.html: updated with info regarding this attribute
Thu Jun 3 16:04:23 2004 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HTML.cc (do_tag): Fixed meta date handling to avoid inadvertently
matching names like DC.Date.Review.
Thu Jun 3 10:01:50 CEST 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htdoc/RELEASE.html: updated release notes and changes
* htdoc/THANKS.html: updated the 'thanks' section
Thu Jun 3 09:32:52 CEST 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
* global: updated with 'autoreconf -if' (autoconf 2.59, libtool 1.5.6
and automake 1.7.9)
Wed Jun 2 19:03:14 CEST 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
* contrib/rtf2html: added the rtf2html.c source as modified by David Lippi
and Gabriele Bartolini of the Comune di Prato. The source code is now
released under GNU GPL and included in the ht://Dig package.
Tue Jun 1 20:23:40 CEST 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htcommon/HtSGMLCodec.cc: changed ¤ to €
Fri 28 May 2004 Lachlan Andrew <lha at users.sourceforge.net>
* Most files: Update copyright to 2004
Sun 23 May 2004 Lachlan Andrew <lha at users.sourceforge.net>
* htdocs/FAQ.html: Sync with maindocs
Sun 23 May 2004 Lachlan Andrew <lha at users.sourceforge.net>
* configure, configure.in:
Resolve variables (e.g., BINDIR) copied into attrs.html,
without introducing "NONE" prefix detected by Gabriele.
Sun 23 May 2004 Lachlan Andrew <lha at users.sourceforge.net>
* .version, htdoc/RELEASE.html, htdoc/where.html,
htdoc/attrs.html.in, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Prepare docs for release of 3.2.0b6.
Mon Apr 26 15:12:22 2004 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htfuzzy/Soundex.cc (generateKey): Applied Alex Kiesel's fix to prevent
segfaults when word has no letters.
Sun 25 Apr 2004 Lachlan Andrew <lha at users.sourceforge.net>
* htdig/HTML.cc: Handle empty noindex_start/noindex_end lists.
* htlib/StringList.{cc,h}: const-correctness of Add/Insert/Assign(char*)
* redo mistakenly backed out patch...
Sun 25 Apr 2004 Lachlan Andrew <lha at users.sourceforge.net>
* htsearch/parser.cc: Address (but not fix) bug #934739
If collection->getDocumentRef() on line 889 returns NULL, don't crash.
I'm still trying to work out why it does return NULL -- I don't think
it ever should.
* mistakenly back out previous patch :(
Sun 25 Apr 2004 Lachlan Andrew <lha at users.sourceforge.net>
* htdig/Retriever.{h,cc}, htcommon/defaults.cc, htdoc/FAQ.html:
Add store_phrases attribute. If it is false, htdig only stores the
first occurrence of each word in a document. This reduces the database
size dramatically, and slightly increases digging speed.
Sun 25 Apr 2004 Lachlan Andrew <lha at users.sourceforge.net>
* db/{aclocal.m4,configure,os_abs.c.win32}, STATUS, htdoc/THANKS.html:
Correctly dected paths beginning C: as absolute paths in cygwin/Win32.
Fixes bug #814268.
Sun 25 Apr 2004 Lachlan Andrew <lha at users.sourceforge.net>
* htdig/Retriever.cc:
Gilles's patch to avoid regex compile for every URL encountered.
Sun 25 Apr 2004 Lachlan Andrew <lha at users.sourceforge.net>
* contrib/htdig-3.2.0.spec:
Karl Eichwalder's patch to use mktemp to create safe temp file.
Wed Apr 7 17:12:33 2004 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Retriever.cc (IsValidURL): Fixed bug #931377 so bad_extensions
and valid_extensions not thrown off by periods in query strings.
Mon Mar 15 11:56:04 CET 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htsearch/Display.cc: changed (and fixed) the date factor formula as
Lachlan and David Lippi suggested, in order not to give negative results.
Fri Mar 12 09:13:28 CET 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
* configure.in: removed 'eval' expressions which caused the 'NONE' prefix
path to be instantiated and the make script to hang
* acinclude.in: fixed AC_DEFINEs for SSL and ZLIB check macros, which prevented
autoheader (and therefore autoreconf) to correctly work
* moved manual pages from htdoc to installdir
* htdoc/[manpages].in: removed
* installdir/*.[1,8]: removed man pages (htdig-pdfparser.1, htdig.1,
htdump.1, htfuzzy.1, htload.1, htmerge.1, htnotify.1, htpurge.1,
htsearch.1, htstat.1, rundig.1, htdigconfig.8)
* installdir/*.[1,8].in: added pre-configure man pages (htdig-pdfparser.1.in,
htdig.1.in, htdump.1.in, htfuzzy.1.in, htload.1.in, htmerge.1.in, htnotify.1.in,
htpurge.1.in, htsearch.1.in, htstat.1.in, rundig.1.in, htdigconfig.8.in)
* regenerated configure scripts with autoreconf
* fixes bug #909674
Sat 21 Feb 2004 Lachlan Andrew <lha at users.sourceforge.net>
* installdir/HtFileType: Use mktemp to create safe temp file (bug #901555)
Wed Feb 25 11:14:45 CET 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htdocs/THANKS.html: added Robert Ribnitz to the 'thanks' page and fixed
Nenciarini's position (it was not in alphabetical order - sorry!).
Wed Feb 25 11:02:37 CET 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
* installdir/*.[1,8]: added man pages (htdig-pdfparser.1, htdig.1,
htdump.1, htfuzzy.1, htload.1, htmerge.1, htnotify.1, htpurge.1,
htsearch.1, htstat.1, rundig.1, htdigconfig.8) provided by
Robert Ribnitz <ribnitz at linuxbourg.ch> of the Debian Project
* installdir/Makefile.am: prepared the automake script for correctly
handling the man pages
Sat 21 Feb 2004 Lachlan Andrew <lha at users.sourceforge.net>
* htsearch/htsearch.cc:
Back out change of 21 December, as it causes problems with characters
which *should* be unencded, like /
Thu 19 Feb 2004 Lachlan Andrew <lha at users.sourceforge.net>
* aclocal.m4, acinclude.m4, configure.in:
Remove duplicate tests for zlib
Fix tests for SSL (Fixes bug #829081)
Fix configure --help formatting
* htdoc/*.[18].in, htdoc/Makefile.am, configure.in: Added man pages
* htdoc/attrs.html.in, htdoc/cf_generate.pl, htdoc/Makefile.am:
Fill in #define'd attribs (Fixes bug #692125)
* test/Makefile.am: Incorporate new tests in make check
* test/t_htdig, test/t_parsing: suppress unwanted diagnostics
* STATUS: list Cygwin bug (#814268)
* htcommon/default.cc:
added wordlist_cache_inserts, remove worlist_cache_dirty_level
* configure, */Makefile.in, */Makefile, htdoc/cf_by{name,prog}.html:
regenerated
Fri 13 Feb 2004 Lachlan Andrew <lha at users.sourceforge.net>
* db/mp_cmpr.c: Fix bug with --without-zlib
Sun 8 Feb 2004 Lachlan Andrew <lha at users.sourceforge.net>
* htcommon/URL.cc: Make server_alias case insensitive.
* htdig/Document.cc: Don't hex-decode twice. (Caused problems with names
like file%20name)
* htdig/Retriever.cc: Test validity of URL value *before* calling
signature(), as that implictly normalises, and confuses
limit_normalised vs limit_urls_to
* htdig/htdig.cc: Remove stale md5_db if -i specified
* installdir/htdig.conf: Set common_url_parts to contain all strings
which *must* be in a valid URL. Probably contains whole domain name,
so more compression than using standard strings.
* htcommon/defaults.cc: Update docs. Remove default "bad_extensions"
from common_url_parts, and add .shtml
* test/t_htdig, test/t_htdig_local: Update self-tests
Tue Feb 3 18:06:38 CET 2004 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htcommon/HtConfiguration.cc: changed the Find method in order not to
ignore empty string results for string attributes whenever they are
defined in the configuration file by the user
* htdig/Document.cc: fixed bugs in handling the http_proxy,
http_proxy_authorization, authorization attributes
* htlib/Configuration.[h,cc]: added the Exists method in order to query
whether an attribute's definition is present in the configuration
dictionary (before it was checked against its string's length which
prevented empty attributes to be correctly used)
* these changes fix bug #887552
Sun 18 Jan 2004 Lachlan Andrew <lha at users.sourceforge.net>
* htcommon/URL.cc, test/url.cc:
Rename "allow_dbl_slash" to "allow_double_slash", to match defaults.cc
* htcommon/default.cc, htdoc/{hts_temlates,attrs}.html:
Explain that keywords_factor applies to meta keywords. Fix old typo.
* test/t_{factors,templates}, test/htdocs/set1/{title.html,bad_local.htm}
* test/conf/entry-template:
Expanded test suite.
Sat 17 Jan 2004 Lachlan Andrew <lha at users.sourceforge.net>
* test/t_{parsing,htdig_local,factors,templates},
* test/htdocs/set1/title.html:
Expanded test suite.
Sat 17 Jan 2004 Lachlan Andrew <lha at users.sourceforge.net>
* htcommon/DocumentRef.cc:
Fix old-style use of HtConfiguration, so defaults are read correctly.
Causes max_descriptions to be treated correctly.
* htcommon/default.cc, htdoc/{hts_temlates,attrs,cf_byname,cf_byprog}.html:
Explain that max_description{s,_length} don't affect indexing -- only
text used to fill in template variables.
Mon 12 Jan 2004 Lachlan Andrew <lha at users.sourceforge.net>
* Very many files: Fix bug #873965
Replace C++ style comments with C style comments in all C files, and .h
files they include.
Also, change //_WIN32 to /* _WIN32 */ in .cc files for uniformity.
Mon 12 Jan 2004 Lachlan Andrew <lha at users.sourceforge.net>
* test/t_parsing, test/test_functions.in: Add new tests
* htcommon/default.cc, htdoc/hts_templates.html: Cross-ref documentation.
Mon Dec 29 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htdig/Retriever.cc:
Fix bug in which validity of first URL from each server was not checked.
Mon Dec 29 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htdig/htdig.cc, htdoc/htdig.html: Fix bug #845054
Fix behaviour of -m and additional list of urls at the end of a command.
In either case, "-" denotes stdin.
Mon Dec 29 2003 Lachlan Andrew <lha at users.sourceforge.net>
* installdir/rundig, installdir/Makefile.{in,am}: Address bug #860708
Make bin/rundig -a handle multiple database directories
Sun Dec 21 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htsearch/htsearch.cc:
Improve handling of restrict/exclude URLs with spaces or encoded chars
Sun Dec 21 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htsearch/HtURLSeedScore.cc, htsearch/SplitMatches.cc: Fix bug #863860
Split patterns at "|".
For SplitMatches, make "*" only match if all other patterns fail.
Sun Dec 14 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htdig/Server.cc: Fix bug #851303.
Allow indexing if robots.txt has an empty "disallow".
* test/t_htdig, test/t_htsearch, test/htdocs/robots.txt:
Tests for the above.
Sun Dec 14 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htdig/htdig.cc, test/t_factors: Warn if config file has obsolete fields.
Sun Dec 14 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htsearch/Display.cc: Apply Gilles's patch for ellipses bug #844828.
Sun Dec 14 2003 Lachlan Andrew <lha at users.sourceforge.net>
* test/{t_validwords,t_templates,t_fuzzy,t_factors}
* test/{set_attr,synonym_dict,dummy.stems,dummy.affixes,bad_word_list}
* test/conf/main-template test/htdocs/set1/{site2.html,site4.html}:
Added four new tests to test suite. Not included in "make check",
but can be run explicitly by "make TESTS=t_... check".
Sun Dec 14 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htcommon/conf_lexer.{lxx,cxx}:
Back out changes to try to accept files without EOL :(
Sat Dec 13 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htcommon/defaults.{cc,xml}, htdoc/{attrs,cf_byprog}.html:
Fix "used by" for max_excerpts, and resulting hyperlinks.
Sat Nov 22 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htcommon/conf_lexer.{lxx,cxx}, htcommon/conf_parser.{yxx,cxx}:
Partially address bug #823455.
Don't complain if config file doesn't end in EOL.
Should the grammar be fixed not to need EOL?
Report errors to stderr, not stdout, as they confuse the web server.
Sun Nov 9 14:44:02 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* Tagged release htdig-3-2-0b5
Sat Nov 8 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htcommon/default.cc, htsearch/parser.cc: Fix bug #825877
Reduce backlink_factor to comparable with other factors, and
interpret multimatch_factor as the *bonus* given for multiple matches.
Sat Nov 1 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htsearch/parser.cc: Fix bug #806419. Ignore bad words at start of phrase.
Tue Oct 28 11:58:06 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htdig/htdig.cc: set the debug level when we are importing a cookie file.
Fix bug #831478.
Mon Oct 27 17:13:02 2003 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Server.cc: Fix bug #831407. Make sure time properly reset after
delay completed, so that it doesn't allow 2 connections per delay.
Mon Oct 27 15:57:38 2003 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdoc/THANKS.html: Added Lachlan, Jim and Neal to the active developers
list.
Sun Oct 26 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htdoc/hts_templates.html: Clarify that PREV/NEXTPAGE template variables
are empty if there is only one page, ignoring no_{prev,next}_page_text.
Sun Oct 26 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htcommon/defaults.cc: Fixed documentation to close bug #829767
Clarified that noindex_start/end do not get replaced by whitespace.
Also removed spurious '>' from start of boolean_syntax_errors, and
added missing '#' to many local <a href> tags.
Sun Oct 26 12:42:27 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htcommon/defaults.cc: Fixed description of 'head_before_get' after
Lachlan fixes.
* htdoc/attrs.html: rerun cf_generate.pl
Sat Oct 25 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htsearch/Display.cc: Fix #829761.
If last component of the URL is used as a title, URL-decode it.
Sat Oct 25 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htdig/Server.cc: Fix #829754. Avoid calculations with negative time
Fri Oct 24 17:17:15 2003 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdoc/htdig.html, htdoc/meta.html, htdoc/require.html: Update URL for
the Standard for Robot Exclusion.
* htdoc/htmerge.html: Added two clarifications to -m option description.
* htdoc/cf_types.html: Make clear distinction between String List and
Quoted String List.
Fri Oct 24 15:30:08 2003 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc: Fix bug #829746. Applied Niel Kohl's fix for this,
to check if words input given before trying to use it, to avoid NULL
argument to syslog().
Fri Oct 24 15:15:53 2003 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc: Fix bug #578570. The enddate handling now works
correctly for a large, negative startday value.
Fri Oct 24 12:47:51 2003 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HTML.cc (ctor): Fix obvious typo in metadatetags.Pattern setting.
Thu Oct 23 10:27:18 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htcommon/default.cc: Fix bug #828808. Default startyear to empty
Document "startyear defaults to 1970 if a start/end date set".
Thu Oct 23 12:14:30 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htdig/htdig.cc: restored the code before Oct 21 (fixes ##828628)
Thu Oct 23 11:41:15 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htdig/Retriever.[h,cc]: removed 'head_before_get' overriding by
restoring the code before Oct 21.
* htdig/Document.[h,cc]: ditto, with the exception of detaching the HEAD
before GET mechanism from the persistent connections'.
* htcommon/defaults.cc: improved documentation (even though it needs
corrections by an english-speaking developer).
* These changes fix bug #828628
Wed Oct 22 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htsearch/parser.cc: Applied Neal's patch to fix bug #823403
Documents only added to search list if they were successfully dug.
Lines 237-238 of htsearch/Display.cc
if (!ref || ref->DocState() != Reference_normal)
continue;
should now be redundant. (Left in to be defensive.)
Tue Oct 21 11:04:56 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htdig/Retriever.h: added the 'RetrieverType' enum and an object variable
for storing the type of dig we are performing (default initial);
* htdig/Retriever.cc: changed constructor in order to handle the type,
added some debugging explanation regarding the override of the
'head_before_get' attribute, added checks regarding an empty
database of URLs to be updated (set the type to initial).
* htdig/Document.h: added the attribute 'is_initial' which stores the
information regarding the type of indexing (initial or incremental)
we are currently performing. Added access methods (get-and-set-like)
* htdig/Document.cc: modified the logic of the HeadBeforeGet settings during
the retrieval phase, in order to always override user's settings in
an incremental dig and automatically set the 'HEAD' call in this case.
* htcommon/defaults.cc: modified the default value of 'head_before_get' and a bit
of its explanation.
* htnet/HtHTTP.cc: detached the HEAD before GET mechanism to the persistent
connections one
* htdig/Server.cc: added one level of debugging to the display of the
server settings in the server constructor
Fri Oct 17 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htword/WordType.cc, htcommon/defaults.cc: Patched to fix bug #823083
Don't assume IsStrictChar returns false for digits.
Clarify behaviour of allow_numbers in the documentation.
Fri Oct 17 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htcommon/defaults.cc: Patched to fix bug #823455
Escaped "$" in valid_punctuation, and add warnings about $, \ and `.
Wed Oct 15 11:12:52 2003 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Server.cc (robotstxt): Patched to fix bug #765726.
Don't block paths with subpaths excluded by robots.txt, and make
sure any regex meta characters are properly escaped.
Tue Oct 14 11:54:07 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtHTTP.cc: add an empty Accept-Encoding header - this inform the
server that htdig is only able to manage documents that are not encoded
(if no Accept-Encoding is sent, the server assumes that the client is
capable of handling every content encoding - i.e. zipped documents with
Apache's mod_gzip module). Partial fix of bug #594790 (which now becomes a
feature request)
Mon Oct 13 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htfuzzy/Regex.cc: Search for regular expression. (Used to ignore it!)
* htfuzzy/Speling.cc, htword/{WordList.cc,WordList.h,WordKey.cc,WordKey.h}:
When looking in word database for misspelt words, don't ask to match
trailing numeric fields in database key.
* htcommon/defaults.cc, htdoc/htfuzzy.cc: Update docs.
Sun Oct 12 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htsearch/htsearch.cc:
Fix bug if fuzzy algorithms produced no search words.
Send all debugging output to cerr not cout. More debugging output.
Sun Oct 12 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htdig/{Retriever,Server}.cc: Back out the previous.
Gilles pointed out inconsistency with Retriever::IsValidURL().
Sun Oct 5 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htdig/{Retriever,Server}.cc: Jim Cole's patch to bug #765726.
Don't block paths with subpaths excluded by robots.txt.
Sun Oct 5 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htsearch/htsearch.cc: Highlight phrases containing stop words
* test/t_htsearch, test/conf/htdig.conf.in: Tests for the above
Sat Sep 27 2003 Lachlan Andrew <lha at users.sourceforge.net>
* test/{test_functions.in,t_htdig,t_htdig_local,t_htnet}:
Don't assume shell "." command passes arguments. (Doesn't on FreeBSD.)
Sat Sep 27 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htlib/HtDateTime.h, htnet/HtCookie.cc:
Avoid ambiguous function call on systems (HP-UX) where time_t=int
Fri Aug 29 09:35:46 MDT 2003 Neal Richter <nealr at rightnow.com>
* removed references to CDB___mp_dirty_level ,CDB_set_mp_diry_level()
& CDB_get_mp_diry_level()
* The config verb 'wordlist_cache_dirty_level' was left for possible use in
the future.
Thu Aug 28 15:11:21 MDT 2003 Neal Richter <nealr at rightnow.com>
* Changed db/LICENSE file to new LGPL compatible license from Sleepycat
Software -- Thanks Sleepycat!
* Reverted to Revision 1.2 or db/mp_alloc.c The recent changed cuased
large DB growth. Strangely the files contained no 'new' data, they were
just much larger. Looks like the pages were being flushed too often????
Thu Aug 28 12:41:22 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* global: updated with 'autoreconf -if' (autoconf 2.57, libtool 1.5.0a and
automake 1.7.6)
* 'make check' successful on: AMD64 Linux 2.4, Alpha Linux 2.2,
RedHat Linux 7.3 (2.4), SPARC Ultra60 Linux 2.4,
Sparc R220 Sun Solaris (5.8).
* README.developer: added further info
Thu Aug 28 12:00:10 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* db/[config.guess,config.sub,install-sh,ltmain.sh,missing]: added in the
database directory (this way 'make dist' goes on); I have not been able to
tell the db/configure script to get the 'top_srcdir' ones (which should be
the default behaviour). Maybe in the future we'll look for this.
Thu Aug 28 11:53:48 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* db/configure.in: changed AC_PROG_INSTALL() to AC_PROG_INSTALL and removed
AC_CONFIG_AUX_DIR; this implies that autotools copies will be made for the
db directory as well.
Thu Aug 28 11:36:42 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* [htcommon,htdb,htdig,htfuzzy,htlib,htnet,htsearch,httools,htword,test]/Makefile.am:
added the option above to every *_LDFLAGS
Thu Aug 28 11:30:39 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* Makefile.am: removed acconfig.h from the EXTRA_DIST list
Thu Aug 28 11:25:07 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* configure.in: removed portability checks for error, stat and lstat that
caused a compile errors on Solaris. Added the '-mimpure-text'
extra ld flag for GCC on solaris systems (a linkage error occurs
when libstdc++ is not shared)
Thu Aug 28 11:22:57 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* include/Makefile.am: changed htconfig.h.in into config.h.in
Thu Aug 28 11:16:19 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htlib/error.[h,c]: removed for now, until replacement functions will be
correctly performed.
Thu Aug 28 11:11:32 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htdoc/cf_generate.pl: fixed an error when opening tail and head files
* Makefile.am: enabled rebuild from a different directory (it is used
my 'make dist')
Thu Aug 28 10:46:35 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htlib/malloc.c: modified according to autoconf specifications as far
as replacement functions are regarded
* htlib/[lstat, stat].c: removed for now
Thu Aug 28 10:40:58 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htdoc/cf_generate.pl: accept an optional parameter (top source directory)
* htcommon/defaults.cc: fixed some broken lines which prevented
cf_generate.pl from correctly working
* htdoc/Makefile.am: modified the automake file for passing the top
source directory to cf_generate.pl
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Regenerated using cf_generate.pl.
Tue Aug 26 12:25:40 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* configure.in: removed AC_FUNC_MKTIME because it may not work properly
and added default replacement directory (htlib) for future uses
* htlib/Makefile.am: back-step with re-inclusion of mktime.c in the
list of files to be always compiled (caused linking errors
for the __mktime_internal function)
* global: updated with 'autoreconf -if'
Sun Aug 24 12:44:29 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* updated with 'autoreconf -if': autoconf 2.57, automake 1.7.6 and
libtool 1.5.0a (autotools that come with Debian SID)
Sun Aug 24 12:39:34 EST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* configure.in: moved AC_PROG_LEX to AM_PROG_LEX
* db/configure.in: enabled AM_MAINTAINER_MODE which prevented users without
autotools to configure and compile the program (relatively to the db
directory)
* include/htconfig.h: previously excluded from the branch (severe error!)
Mon Jul 21 20:54:47 CEST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htlib/(malloc|error|lstat|stat|realloc).c: added for cross-compiling
reasons (as suggested by automake)
* htlib/error.h: ditto
* db/acconfig.h: removed as suggested by autotools' new versions
* configure.in: removed AC_PROG_RANLIB (overriden by AC_PROG_LIBTOOL)
* updated as of rerun 'autoreconf -if'
Mon Jul 21 10:08:24 CEST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* Patch provided by Marco Nenciarini <mnencia at linux.it> has been
completely applied; the patch adds support for detection
of standard C++ library
* all sources using <iostream.h> <fstream.h> <iomanip.h>: modified
to use standard ISO C++ library, if present
* db/configure scripts: modified for autoconf 2.57
Mon Jul 21 09:59:16 CEST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* [.,*]/Makefile.in: regenerated by new automake against new configure.in
* Makefile.config: now looking for the global configuration file
in the source directory
Mon Jul 21 09:49:22 CEST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* configure.in: completely rewritten, deprecated directives have
been removed and now version 2.57 is a prerequisite.
* acinclude.m4: moved all the macros here
* aclocal.m4, configure: regenerated by aclocal and autoconf
* acconfig.h: removed as now it is deprecated
* include/htconfig.h.in: removed, as 'config.h.in' is preferred
and auto-generated
* config.[guess,sub]: updated with newer versions
Tue Jul 8 16:29:44 2003 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/parser.cc (checkSyntax): Fixed boolean_syntax_errors
handling to work over multiple config files.
Mon Jul 7 00:41:55 CEST 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* Updated to autoconf 2.57, libtool 1.5 and automake 1.7.5
* removed acconfig.h files
* autoconf include file is now include/config.h (for autoheader)
* include/htconfig.h.in renamed in include/htconfig.h: now includes
config.h and redefines the bool types
* htlib/HtRegexList.cc, htdig/(Document.cc|ExternalParser.cc): removed
TRUE and FALSE and converted to C++ standard values
Sat Jul 5 2003 Lachlan Andrew <lha at users.sourceforge.net>
* test/test_functions.in: Fix bugs starting/killing apache
Sat Jul 5 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htcommon/defaults.cc: Disable cache flushing to avoid "page leak".
Tue Jun 24 2003 Neal Richter <nearl at rightnow.com>
* Update Copyright Notices in code & documentation to 2003
* Changed License Notice GPL -> LGPL License change (Decided by HtDig
Board & Membership October 2002
Mon Jun 23 2003 Neal Richter <nearl at rightnow.com>
* Raft of changes. Most todo with Native Win32 support
* TODO: ExternalTranport & ExternalParser are effectively dissabled with
#ifdefs for Native WIN32
* remove global CDB___mp_dirty_level variable and subsitute functions to set/get variable
* Added local copies of GNU LGPL regex, POSIX-like dirent routines, getopt
library and filecopy routines - mainly for Native WIN32 support
* improve IsValidURL with return codes (htdig/Retriever.cc)
* lots of improvements/new-features to libhtdig
Sun Jun 22 2003 Lachlan Andrew <lha at users.sourceforge.net>
* db/mp_cmpr.c (CDB___memp_cmpr_open):
Make weak compression database standalone to avoid recursion
This *should* fix all of the recent problems with dirty cache etc.
* test/search.cc: Don't take sizeof zero sized array
Fri Jun 20 2003 Lachlan Andrew <lha at users.sourceforge.net>
* configure,aclocal.m4,acinclude.m4: --with-ssl set CPPFLAGS, not CFLAGS
Fri Jun 20 2003 Lachlan Andrew <lha at users.sourceforge.net>
* db/configure: Hack which should allow select to be detected on HP/UX
* db/db.c: Replace HAVE_ZLIB with HAVE_LIBZ (as set by configure)
* htword/wordKey.cc: More descriptive error message
(Changes to compile with Sun's C++)
* htnet/{HtCookie.cc,HtFTP.cc,Transport.cc}:
Assign substring of const string to const pointer.
* htsearch/ResultMatch.h:
Allow use of SortType in ResultMatch::setSortType()
* test/search.cc: Don't take sizeof(variable size array)
* htdb/htdb_stat.cc: avoid name clash for global var internal
* htcommon/URL.h, htlib/HtTime.h, htlib/htString.h, htnet/Connection.h,
htword/WordBitCompress.h:
Cast default args of type string literal to type (char*)
* htdocs/require.html: Remove email address.
* htlib/gregex.h: Avoid warning if __restrict_arr already defined
Sun Jun 14 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htcommon/defaults.cc:
Set wordlist_cache_dirty_level to 1 (it most conservative value).
Miscellaneous reformatting.
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Regenerated using cf_generate.pl.
* htdoc/{require.html,meta.html,all.html,meta.html}:
Update disk usage for phrase searching.
Updated list of supported platforms. More hyperlinks.
Fri Jun 13 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htsearch/Display.cc (setVariables), htdocs/hts_template.html:
Set MATCH_MESSAGE from method_names (for internationalisability).
Removed all trace of hack for config attribute...
Thu Jun 12 14:16:05 2003 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/htsearch.cc (main): Fixed boolean_keywords handling to
work over multiple config files (must destroy old list before
creating new one).
* htcommon/defaults.cc, htsearch/Display.cc (setVariables): Removed
incorrect default value for "config" attribute, and removed hack
that attempted to correct it.
* htdoc/attrs.html: Regenerated using cf_generate.pl.
Thu Jun 12 13:28:01 2003 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc, htcommon/HtSGMLCodec.cc (ctor): Added
translate_latin1 option to allow disable Latin 1 specific SGML
translations.
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Regenerated using cf_generate.pl.
Mon Jun 9 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htsearch/htsearch.cc: Fixed setupWords loop for junk at end of query
Mon Jun 9 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htsearch/Display.cc: Set CONFIG template variable to the base name
of the config file (no directory or .conf), as expected by htsearch
Mon Jun 9 2003 Lachlan Andrew <lha at users.sourceforge.net>
* test/test_functions.in: avoid trying killing apache multiple times
* configure,configure.in: Reformat --help output
* htdoc/FAQ.html: Brought up-to-date with main docs
* htdoc/hts_templates.html: added hyperlinks.
* installdir/search.html: Display version
Sun Jun 8 2003 Lachlan Andrew <lha at users.sourceforge.net>
* configure: Hack to set --disable-bigfile for Solaris (with Sun cc)
and --disable-shared --enable-static for Mac OS X
* test/{test_functions.in,t_htdig,t_htdig_local,t_htnet}:
Only start Apache for tests which need it, and kill it after the test
* contrib/parse_doc.pl: Allow file names containing spaces (from .deb)
Mon Jun 2 2003 Lachlan Andrew <lha at users.sourceforge.net>
* db/mp_cmpr.c: Add default zlib setting to default_cmpr_info
* htcommon/defaults.cc, htword/WordDBCompress.cc: Fix docs to say
default compression by 8 (not by 3, which I had "fixed" it to...)
* htcommon/conf_lexer.{cxx,lxx}: Avoid warnings, and document hack.
Thu May 29 2003 Lachlan Andrew <lha at users.sourceforge.net>
* db/mp_cmpr.c: Fix comparison of -1 and unsigned which broke SunOS cc
* htdoc/install.html: Warn SunOS cc users to --disable-bigfile
* htcommon/conf_lexer.cxx: Suppress warnings of unused identifiers
* test/con/htdig.conf2.in: Disable testing of content_classifier
attribute, as didn't work until after installation
Tue May 27 2003 Lachlan Andrew <lha at users.sourceforge.net>
* db/configure, db/ac{local,include}.m4:
Stop test for zlib from adding -I/default/path (*this* time...)
* htword/DBPage.h: Fix bug introduce in previous patch
* test/Makefile.{in,am}: Replace non-portable make -C X by cd X; make
Tue May 27 2003 Lachlan Andrew <lha at users.sourceforge.net>
* {,db/}configure, {,db/}ac{local,include}.m4:
Stop test for zlib from adding -I/default/path (broke SunOS cc)
Fix -Wall test if CCC is g++ but CC is not gcc
* test/dbbench.cc: #include <fcntl.h> later, to avoid #define open
causing problems
* includedir/synonyms: Remove trailing blank line which caused warning
* htnet/HtCookieInFileJar.cc,htfuzzy/Synonym.cc: .get() to stop warnings
* htlib/mhash_md5.c: char -> unsigned char to stop warnings
* test/search.cc, htword/WordDBPage.h:
Casts to (int) to stop printf warnings. ALLIGN -> ALIGN
Sat May 24 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htcommon/defaults.cc: Keep more wordlist cache pages clean
* {,db/}configure{,.in}, {,db/}ac{local,include}.m4:
Patch by Richard Munroe to test if -Wno-deprecated needed.
Many bug fixes / extra search paths added.
* include/htconfig.h.in, db/db_config.h.in:
Only '#define const' if not C++ (htword/WordDB.cc uses db_config.h)
* test/dbbench.cc: check for alloca even if gcc
* test/t_url: used grep -C instead of grep -c (for portability)
* db/mp_{alloc,cmpr}.c: Removed/replaced C++ style comments
* htdoc/require.html: Revised list of supported platforms
Thu May 22 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htnet/HtFile.cc: Fix previous .get() patch...
Thu May 22 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htlib/DB_2.cc: Set wordlist_cache_dirty_level before opening
database, to avoid database memory allocation problem.
* db/db_err.c: Make 'fatal' errors actually exit.
* htdig/Document.cc, htsearch/parser.cc, htdig/htdig.cc,
* htnet/Ht{HTTP,File}.cc:
Add .get() to use of strings to avoid compiler warnings (FreeBSD).
Thu May 22 2003 Lachlan Andrew <lha at users.sourceforge.net>
* ltmain.sh, test/Makefile.in: Hack to list library dependencies
multiple times in g++ command, to get MacOS X to 'make check'.
* test/{search,word}.cc: cast sizeof() to (int) to avoid warnings.
* htdoc/install.html: Documented MacOS X's shared libraries problem.
Sun May 18 2003 Lachlan Andrew <lha at users.sourceforge.net>
* db/mp_alloc.c: Hopefully the *last* fix for this morning's patch...
* configure, aclocal.m4, acinclude.m4:
Look for httpd modules in .../libexec/httpd for OS X
* test/conf/httpd.conf: Disabled mod_auth_db, mod_log{agent,referer}.
Sun May 18 2003 Lachlan Andrew <lha at users.sourceforge.net>
* db/db.h.in: Declare variable introduced in db/mp_cmpr.c patch
Sun May 18 2003 Lachlan Andrew <lha at users.sourceforge.net>
* db/mp.h, db/mp_{alloc,bh,cmpr,region}.c,
* htword/WordDB.cc, htdig/htdig.cc:
Avoid infinite loop if memp_alloc has only dirty,
"weakly compressed" (i.e. overflow) pages.
* htcommon/defaults.cc: Document the above, plus misc updates.
* htword/WordDBPage.h:
Cast sizeof() to (int) in printf()s to avoid compiler warnings.
Sun APR 20 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htdig/htdig.cc: delete db.words.db_weakcmpr if -i specified.
Wed Feb 26 22:10:40 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtHTTP.cc: fixed colon (':') problem with HTTP header parsing,
as Frank Passek, Gilles and others suggested, as space is not
mandatory between the field declaration and the field value returned
by the server
Sun Feb 23 10:20:58 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htcommon/defaults.[cc,xml]: added the 'cookies_input_file'
configuration attribute for pre-loading cookies in memory
* htdig/htdig.cc: added the feature above; the code automatically
loads the cookies from the input file into the 'jar' that will be
used during the crawl.
Sun Feb 23 10:16:08 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtHTTP.h: removed the NULL pointer check before assigning a
new jar to the HTTP code
Tue Feb 11 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htcommon/defaults.cc: Set default compression_level to 6,
which enables Neal's wordlist_compression_zlib flag.
Tue Feb 11 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htcommon/{DocumentRef.h, HtWordReference.h},
htsearch/WeightWord.{cc,h},
htsearch/parser.{cc,h}, htsearch/htsearch.cc:
Added field-restricted searching, by title:word or author:word
* htdig/ExternalParser.cc, htdig/HTML.{cc,h}, htdig/Parsable.{cc,h},
htdig/Retriever.{cc,h}:
Parse author from <meta ...> tags. Also moved some common
functionality from HTML/ExternalParser into Parsable.
* test/t_htsearch, htcommon/defaults.cc,
htdoc/{TODO.html,hts_general.html,hts_method.html}:
Test and document the above
Sun Feb 9 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htdig/HTML.cc: fix bug in detection of deprecated noindex_start/end
* htsearch/Display.cc: try harder to find value for DBL_MAX #680836
* htcommon/defaults.cc: fixed typos.
Sat Feb 1 13:57:17 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtCookie.[h,cc]: allowed printDebug to be passed an ostream object
* htnet/HtCookieMemJar.cc: removed a debug call
Thu Jan 30 19:28:32 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* configure.in: used AC_LIBOBJ instead of deprecated LTLIBOBJS's workaround
* ltconfig: removed as not needed anymore since libtool 1.4
* db/configure.in: added AC_CONFIG_AUX_DIR(../) for letting automake know to use
the main ltmain.sh file
* configure, aclocal.m4, Makefile.in, */Makefile.in, config.guess, config.sub,
install-sh, ltmain.sh, missing, mkinstalldirs: re-generated by autotools:
aclocal, autoconf 2.57, automake 1.6.3 and libtool 1.4.3
* db/aclocal.m4, db/configure, db/mkinstalldirs: ditto
Thu Jan 30 00:16:51 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htsearch/htsearch.cc: removed a warning due to a not-initialized pointer
Wed Jan 29 22:53:25 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* acinclude.m4: included the function for checking against SSL, as
found in the ac-archive.
Tue Jan 28 12:23:16 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/Makefile.am: added HtCookieInFileJar.[h,cc] files
* installdir/cookies.txt: example file for pre-loading HTTP cookies
* installdir/Makefile.am: added cookies.txt
Tue Jan 28 12:16:28 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtCookieMemJar.[h,cc]: performed deep copy of the jar in the copy constructor
Tue Jan 28 12:13:44 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtCookie.[h,cc]: added the constructor of a cookie object from a line
of a cookie input file (Netscape's way): if an expiration value of '0' is set
through the cookies input file, the cookie is managed as a session cookie.
Improved copy constructor, solving a bug related to the expires field.
Tue Jan 28 12:11:27 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtCookieInFileJar.[h,cc]: class for importing cookies from a text file
Tue Jan 28 12:08:20 CET 2003 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htlib/HtDateTime.h: added the constructor HtDateTime(const int)
Sat Jan 25 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htsearch/Display.cc: Convert "<br>\n" in $(DESCRIPTION) to "<br>"
so it can be used in Javascript (feature request #529926).
Tue Jan 21 2003 Lachlan Andrew <lha at users.sourceforge.net>
* HTML.cc (HTML, parse): Handle noindex_start/end as string lists.
* test/{t_htsearch,htdocs/set1/script}: Test the above
* htcomon/defaults.cc:
Add "<SCRIPT" to default noindex_start/end (feature request #586359).
* htlib/String.cc (operator>> (istream&,String&) ):
Exit loop when getline fails for reasons other than a full buffer.
* htnet/HtFile.cc (File2Mime), installdir/HtFileType:
Allow file names containing spaces.
Sat Jan 11 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htnet/HtFile.cc (Request), htdig/Document.cc (RetrieveLocal),
htcommon/URL.h htcommon/URLTrans.cc:
Decode URL paths before use as local filenames (file:/// & local_urls).
* test/{t_htdig,t_htdig_local,t_htsearch}, test/conf/htdig.conf2.in,
test/htdocs/set1/{index.html,site 1,sub%20dir/empty file.html}:
Tests for the above.
* htcommon/HtConfiguration.cc: brackets around assignment in 'if'.
* test/search.cc (LocationCompare): Only specify default arg once.
Fri Jan 10 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htlib/String.cc (operator>> (istream&,String&) ):
Check status of stream, no return value of get().
Fixes bug (for some C++ libs) where reading stops at a blank line.
Fri Jan 1 2003 Lachlan Andrew <lha at users.sourceforge.net>
* htnet/HtFile.cc(Ext2Mime,Request), htdig/Document.cc(RetrieveLocal):
Determine local files' MIME types from mime.types, not hard-coded.
URLs matching attribute "bad_local_extensions" must use their true
transport protocol (HTTP for http://, filesystem for file:///).
* htnet/HtFile.cc (File2Mime, Request): For file:/// URLs only,
files without (or with unrecognised) extensions are checked by
the program specfied by the "content_classifier" attribute.
* htnet/htFile.cc (Request): Symbolic links are treated as
redirects, to avoid problems with relative references.
* htcommon/defaults.cc: Documented the above (and added crossrefs).
* test/t_ht{dig,dig_local,search}, test/htdocs/set1/*,
test/conf/htdig.conf2.in: Add tests for bad_local_extensions.
Mon Dec 31 2002 Lachlan Andrew <lha at users.sourceforge.net>
* configure.in,htfuzzy/EndingsDB.cc,htlib/{HtR,r}egex.h,Makefile.am:
Renamed regex.h to gregex.h and allow use of rx instead.
* htcommon/defaults.cc,htdocs/{attrs,cf_byprog,cf_byname}.html:
Fixed typo in cross-references to restrict and limit_urls_to.
* test/t_htmerge: Re-enabled htmerge command (discarding output).
* test/Makefile,test/conf/htdig.conf3.in: Added conf3 and fixed db path.
Mon Dec 30 2002 Lachlan Andrew <lha at users.sourceforge.net>
* contrib/doc2html/*: Incorporated David Adams' latest version, 3.0.1.
Mon Dec 30 2002 Lachlan Andrew <lha at users.sourcefourge.net>
Forward-ported several patches from 3.1.6:
* htdig/ExternalParser.cc: Added "description_meta_tag_names" attrib.
Added "dc.date|dc.date.created|dc.date.modified" synonyms for "date".
Allow spaces between "url" and "=" in refresh.
Fixed bug in flag positions.
Added "use_doc_date" attribute.
* htdig/HTML.cc: Added "description \_meta_tag_names" attribute.
Added "dc.date|..." synonyms.
Added "ignore_alt_text" attribute.
* htdig/Retriever.cc: Added "ignore_dead_servers" attribute.
Added call to "url.rewrite() in got_href().
* htdig/FAQ.html: Latest version now 3.1.6. Mention old security hole.
Describe external converters for PostScript etc.
Mention pdf_parser not supported in 3.2.
* htdoc/{attrs,cf_byname,cf_byprog}.html: New attributes added
(automatically from defaults.cc).
* htdoc/htmerge.html: Update for multiple database support.
* htdoc/hts_form.html: Describe relative/incomplete dates.
* htdoc/require.html: Describe phrase searching, external parsers,
external transports.
Added some new supported systems. (Commented out as testing
incomplete.)
* htfuzzy/Synonym.cc: Protect against "synonym" entries with one word.
* htlib/String.cc: Protect against negative string lengths.
* htsearch/Display.{cc,h}: Added "search_result_contenttype" attribute,
and corresponding displayHTTPheaders() function.
Rewrite URLs.
Remove old "ANCHOR" variable.
Handle relative dates.
Added "max_excerpts" attribute and buildExcerpts() function.
Added "anchor_target" attribute.
* htsearch/DocMatch.h: Added "orMatches"
* htsearch/htsearch.cc: Added "boolean_keywords" attribute.
Rewrite URLs.
* htsearch/parser.cc: Added "boolean_syntax_errors" attribute.
Added wildcard search.
Fixed bug in perform_phrase() so it now handles "bad words" and
short words properly.
Added "multimatch_factor" to give greater weight to documents matching
multiple "OR" terms.
* htsearch/htparser.h: Added boolean_keywords support.
* htcommon/defaults.{cc,xml}: New attributes added, and enhanced
descriptions
Cleaned code to remove some compiler warnings/errors:
* htcommon/HtConfiguration.cc: Brackets around assignment 'path='
inside 'if'
* htdig/Server.cc, htsearch/Display.cc:
Added ".get()" when strings passed as arguments.
* htlib/StringMatch.h, htword/WordBitCompress.h:
Explicit cast of NULL to (char*)NULL for broken C++ compilers.
Also:
* STATUS: Removed "not all htsearch input parameters handled properly",
"Return all URLs", "Turn on URL parser test",
"htsearch phrase support tests".
Reduced list of things to do for "require.html".
* test/t_htsearch, test/conf/htdig.conf3.in:
Added testing of phrases and boolean_keywords / boolean_syntax_errors.
Thu Nov 28 09:02:46 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* installdir/english.0: Removed S flag from birth, because it doesn't
do what we want (birthes, not births).
Tue Nov 26 23:16:08 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdoc/hts_form.html: Fixed typo in link & description for restrict.
Tue Nov 26 22:30:06 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* installdir/english.0: Patched with Lachlan Andrew's changes, fixing
lots of dubious uses of suffixes to get more appropriate and correct
fuzzy endings expansions.
* installdir/synonyms: Updated with the version contributed by
David Adams, with minor changes. Kept old one as synonyms.original.
Mon Nov 4 10:44:35 CET 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htcommon/URL.[h,cc]: added the assignment operator
Sun Oct 27 09:29:02 2002 Geoffrey Hutchison <ghutchis at localhost>
Merge in word DB zlib patch from Neal Richter.
* db/db.h.in, db/mp_cmpr.c, htword/WordList.cc,
htword/WordDBCompress.h, htword/WordDBCompress.cc: Add support for
using the zlib compression (and compression level) if specified by
the new wordlist_compress_zlib, which is "true" by default.
* htcommon/defaults.cc: Add attribute wordlist_compress_zlib as
above.
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Update using cf_generate.pl.
Sat Oct 26 21:59:01 2002 Geoffrey Hutchison <ghutchis at localhost>
Merge in fixes from Lachlan Andrew
* test/Makefile.am, test/Makefile.in, test/t_url, test/url.cc,
test/url.children, test/url.parents, test/url.output: Add URL
tests to the automatic test suite (rather than requiring them to
be run manually).
* */Makefile.in: Regenerate using automake-1.4p6.
* htcommon/URL.cc, htcommon/URL.h: Add new configuration attribute
allow_double_slash to only remove // marks when requested (since
some server-side code uses them), handle initial protocols
without double slashes, and only remove the default doc string
from appropriate protocol URLs (e.g. not file), treat ".//" as a
relative path, and collapse /../ *after* // and /./ handling.
* htcommon/defaults.cc: Add documentation for allow_double_slash,
as well as various documentation cleanups.
* htdig/ExternalTransport.cc: Fix minor bug--recognize service
specified as https:// rather than https.
* htdoc/hts_form.html, htdoc/hts_templates.html: Documentation fixes.
* htsearch/htsearch.cc: Create valid boolean query if "exact" not
specified in search_algorithms by adding the exact word with low
weight. Solves PR#405294.
Fri Oct 4 17:05:06 2002 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/defaults.xml: Added first-draft XML version of defaults
file. This will eventually be used to generate defaults.cc and
documentation automatically. (As pointed out by Brian White, this
will make the binaries smaller.)
Wed Sep 25 13:56:31 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HTML.cc (parse): Fixed handling of JavaScript skipping so it
doesn't get confused by "<" in code.
Thu Sep 19 09:04:50 CEST 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtHTTP.cc : another check for cookie jar's null pointer
Tue Sep 17 17:41:51 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc (external_protocols): Fixed table formatting
as suggested by Lachlan Andrew.
Thu Aug 29 21:21:34 CEST 2002 Soeren Vejrup Carlsen <svc at users.sourceforge.net>
* htdig/Document.[h,cc]: first steps in FTP handling. HtFTP.h included and
we now test for the 'ftp' protocol in the Document::Retrieve function.
Has not yet been tested!
* htnet/HtFTP.[h,cc]: added class to handle the FTP-protocol. Very
experimental (has not been tested yet).
Fri Aug 9 13:01:05 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* httools/htnotify.cc (readPreAndPostamble): Check for empty strings
in file names, not just NULL, as suggested by Martin Kraemer.
Wed Aug 7 12:11:31 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/ExternalParser.cc (parse): Fixed to impose max_doc_size
restriction on external converter output which it reads in.
Tue Aug 6 18:21:11 CEST 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
* these changes were suggested by David Reed <DReed1 at citgo.com> (thanks)
* htdig/Document.cc: manage cookies via SSL
* htnet/HtCookie.[h,cc]: features both RFC2109 and Netscape version
* htnet/HtCookieJar.cc: ditto
Tue Aug 6 17:12:22 CEST 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htcommon/defaults.cc: added the 'http_proxy_authorization' attribute.
Needs revision due to my usual *spaghetti* english. :-)
* htdig/Document.[h,cc]: proxy authorization is now enabled
Tue Aug 6 09:28:39 CEST 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/Connection.[h,cc]: IP address storing as string (sync with ht://Check)
* htnet/Transport.[h,cc]: HTTP Proxy and Basic credentials handling moved here (ditto)
through the use of a protected static method
* htnet/HtHTTP.h: SetCredentials declared to be virtual (unnecessary because inherited,
but gives better understanding); new method SetProxyCredentials for
proxy authorization.
* htnet/HtHTTP.cc: HTTP header Proxy-Authorization is now handled. The
SetCredentials and SetProxyCredentials methods now make use of the
Transport::SetHTTPBasicAccessAuthorizationString method, in order to
write the string for negotiating the access.
Fri Aug 2 15:40:18 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Document.cc (Retrieve): Allow redirects from HTTPSConnect.
Tue Jul 30 12:46:56 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/md5.cc: Added missing include of stdlib.h, as Geoff suggested.
Sat Jul 27 11:57:25 2002 Geoff Hutchison <ghutchis at wso.williams.edu>
* htnet/SSLConnection.cc: Add fix for segfault on SSL connections
noticed by several users. Fix contributed by Andy Bach
<afbach at users.sourceforge.net>.
Tue Jun 18 10:22:01 2002 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Retriever.cc (got_word): Check that the word length meets
the minimum word length before doing any processing.
Fri Jun 14 17:26:21 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc (buildMatchList), htsearch/HtURLSeedScore.cc
(Match), htsearch/SplitMatches.cc (Match): Added Jim Cole's fix to
bugs in handling of search_results_order.
Wed May 15 09:45:40 CEST 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/Retriever.cc: fixed the bug regarding the server_wait_time
feature after the maximum number of requests per connection has been
reached.
Tue Apr 9 16:41:33 CEST 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtCookie*.[h,cc]: RFC2109 compliant.
* htlib/HtDateTime.[h,cc]: Add const-ness to the DiffTime static method
Tue Apr 9 12:52:30 CEST 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtCookie.cc: fixed a bug regarding expiry date recognition
Fri Apr 5 14:08:39 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/ExternalTransport.cc (Request): Fixed to strip CR from
header lines, output header lines with -vvv.
Tue Mar 19 08:40:54 CET 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtCookie.cc: enhanced controls regarding the expires setting
when no expires is returned. Prevents NULL pointer exceptions to be
arisen.
Mon Mar 18 11:28:02 CET 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htlib/HtDateTime.h: added the copy constructor
* htnet/HtCookie.cc: fixed a NULL pointer bug regarding 'datestring'
management and HtDateTime copy constructor is now used
Tue Mar 12 18:19:49 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/HtDateTime.cc (Parse, SetFTime): Added Parse method for
more flexible parsing of LOOSE/SHORT formats, use it in SetFTime.
Also skip unexpected leading spaces in SetFTime, as these frequently
cause problems with some strptime() implementations.
Mon Feb 11 23:28:37 2002 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Retriever.h (got_redirect): Add referer to properly handle
broken links through a redirect as reported by Joe Jah.
* htdig/Retriever.cc: As above.
* htdig/Document.cc (Retrieve): Fix bug that prevented external
transport methods from reporting redirects as reported by Jamie
Anstice <Jamie.Anstice at sli-systems.com>.
* htlib/Dictionary.cc (hashCode): Trial of hash function suggested
by Jamie Anstice.
Sat Feb 9 18:06:29 2002 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/DocMatch.[h,cc]: Add scoring code for the new htsearch
framework.
Thu Feb 7 11:32:14 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtHTTP.cc (ReadChunkedBody): gets control of Read_Line
methods (return error when they fail).
Fri Feb 1 17:12:31 2002 Geoff Hutchison <ghutchis at wso.williams.edu>
* Merged htdig-3-2-x branch back into CVS mainline.
* ChangeLog.0: Update with current 3.1.6 ChangeLog.
Thu Jan 24 18:06:04 2002 Geoff Hutchison <ghutchis at wso.williams.edu>
* configure.in, aclocal.m4: Use new CHECK_SSL macro from the
autoconf archive.
* configure: Generate via autoconf.
Fri Jan 18 11:15:29 2002 Geoff Hutchison <ghutchis at wso.williams.edu>
* htnet/Transport.h (class Transport): Add const to SetCredentials
method declaration as pointed out by Roman Maeder.
Wed Jan 16 13:35:26 2002 Geoff Hutchison <ghutchis at wso.williams.edu>
* db/db.h.in: Add #include <sys/stat.h> which seems to help
problems of stat64 conflicts on Solaris as suggested by Gilles.
Sat Jan 12 16:19:55 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc: A few changes to the wording and formatting
of the 'accept_language' attribute description.
* htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
Fri Jan 11 21:18:00 CET 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htcommon/defaults.cc: added the 'accept_language' attribute
Fri Jan 11 20:53:36 CET 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtHTTP.[h,cc]: management of the accept-language directive added
* htcommon/URL.[h,cc]: const-ness in copy constructor and other cosmetic changes
* htlib/Server.[h,cc]: management of the 'accept_language' attribute as
a server block configuration directive.
* htlib/Document.cc: set of the attribute above for the HTTP layer
Fri Jan 11 13:25:49 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/ExternalTransport.cc (Request): Fixed to allocate access_time
object before setting it.
Fri Jan 4 12:31:34 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htnet/HtCookie.cc, htword/WordKeyInfo.cc, htword/WordMonitor.cc,
test/search.cc: changed all uses of strcasecmp to mystrcasecmp for
consistency and portability.
Fri Jan 4 12:17:10 2002 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htnet/HtHTTP.cc (HTTPRequest): make the second comparison of the
transfer-encoding header the same as the first, i.e. case insensitive
and limited to 7 characters.
Fri Jan 4 15:13:13 CET 2002 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtHTTP.cc: parse the transfer-encoding header as case insens.
[fix htdig-Bugs-499388 by Matthias Emmert <Matthias.Emmert2 at start.de>]
Sun Dec 30 15:47:35 CET 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
* HtHTTP.[h,cc]: management of the Content-Language directive for the response
Sat Dec 29 13:07:08 CET 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtCookie.[h,cc]: new fields (srcURL and isDomainValid) and
a more robust class with initialization list and copy constructor
* htnet/HtCookieJar.[h,cc]: method for calculating the minimum number
of periods that a domain specification of a cookie must have. Depending
on what the Netscape cookies specification says.
* htnet/HtCookieMemJar.cc: Management of the domain field of the cookie
Mon Dec 17 06:45:02 CET 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htdig/htdig.cc: fixed bug about cookie jar creation. It is done in
here, because there is only one jar for the whole process. However
it can be moved anywhere else. :-)
Mon Dec 17 06:40:25 CET 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtHTTP.cc: check for null pointer of cookie jar
Sun Dec 16 19:55:07 CET 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/Connection.[h,cc]: default constructor is changed and accepts
a socket value (by default is -1)
* htnet/HtCookieJar.[h,cc]: added a simple iterator
* htnet/HtCookieMemJar.[h,cc]: ditto
* htnet/HtFile: removed the management of modification_time (constructor)
* htnet/HtHTTP.[h,cc]: constructor with initilization list and without
a default constructor (the construction is now forced to pass a valid
connection object). Removed any memory deletion from the destructor.
The class is now abstract (see the virtual pure destructor).
* htnet/HtHTTPBasic.cc: creates a Connection object in the initialization
and the destructor has no responsability
* htnet/HtHTTPSecure.cc: creates an SSLConnection object in the initialization
and the destructor has no responsability
* htnet/HtNNTP.cc: creates a Connection object in the initialization
and the destructor has no responsability
* htnet/Transport.[h,cc]: default constructor accepts a pointer to a
Connection object and the destructor carries out the deletion of it
Thu Dec 6 13:24:30 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* contrib/examples/rundig.sh: Fixed to make use of DBDIR variable,
and to test for and copy db.words.db.work_weakcmpr if it's there.
Fri Oct 19 11:07:33 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Retriever.cc (IsValidURL): Fixed discrepancies in debug
levels for messages giving cause of rejection, inadvertantly
changed when regex support added.
Wed Oct 17 15:48:23 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/ExternalTransport.h: Added missing class keyword on friend
declaration.
Tue Oct 16 14:35:16 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/default.cc (external_parsers): Documented external converter
chaining to same content-type, e.g. text/html->text/html-internal.
* htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
Mon Oct 15 22:25:55 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Document.cc, htdig/htdig.cc, htdig/Retriever.cc: Make sure
setEscaped is called with the current value of
case_sensitive. Fixes bug pointed out by Phil Glatz.
Fri Oct 12 17:14:08 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdoc/htdump.html, htdoc/htload.html: Fixed 3 little typos.
Fri Oct 12 15:11:45 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htnet/HtHTTP.cc (ParseHeader): Show header lines in debugging
output at verbosity level 3, not 4, for consistency with 3.1.x.
* htcommon/URL.cc (removeIndex): Fixed to make sure the matched
file name is at the end of the URL.
Fri Oct 12 10:39:54 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/HtRegexList.cc (setEscaped): Fixed to set compiled flag to
FALSE when there's no pattern, so match() can detect this condition.
Fixes handling of empty lists in bad_querystr, exclude_urls, etc.
* htdig/Retriever.cc (IsValidURL): Fixed bad_querystr matching to
look at right part of URL, not whole URL.
Mon Sep 24 11:47:15 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htnet/HtHTTP.cc (SetRequestCommand): Put If-Modified-Since header
out in GMT, not local time, and only put it out if existing document
time > 0.
* htsearch/parser.cc (perform_phrase): Optimized phrase search handling
to use linear algorithm with Dictionary lookups instead of n**2 alg.,
as suggested by Toivo Pedaste.
Tue Sep 18 10:50:40 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdoc/running.html: New documentation on how to run after configuring.
* htdoc/rundig.html: New manual page for rundig script.
* htdoc/install.html: Added link to running.html.
* htdoc/contents.html: Added link to running.html, rundig.html, related
projects. Updated links to contrib and developer site.
Fri Sep 14 22:12:56 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/URL.h: Moved DefaultPort() from private to public for
use in HtHTTP.cc.
Fri Sep 14 09:25:20 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htnet/HtHTTP.cc (SetRequestCommand): Add port to Host: header when
port is not default, as per RFC2616(14.23). Fixes bug #459969.
Sat Sep 8 22:15:33 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* acconfig.h, include/htconfig.h.in: Add undef for
ALLOW_INSECURE_CGI_CONFIG, which if defined does about what you'd
expect. (This is for any wrapper authors who don't want to rewrite
but are willing to run insecure.)
* htsearch/htsearch.cc: Only allow the -c flag to work when
REQUEST_METHOD is undefined. Fixes PR#458013.
Tue Sep 4 18:58:31 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/DocMatch.cc: Add scoring for Quim's new parser
framework. Only the normal word scoring is currently done, not
backlink_factor or other "Document" methods.
Fri Aug 31 15:34:28 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HTML.h, htdig/HTML.cc (ctor, parse, do_tag): Fixed buggy
handling of nested tags that independently turn off indexing, so
</script> doesn't cancel <meta name=robots ...> tag. Add handling
of <noindex follow> tag. Added <> delim. to tag debugging output.
Fixed a few typos.
Wed Aug 29 10:33:01 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc (url_part_aliases): Added clarification
explaining how to use example.
* htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
Mon Aug 27 15:05:09 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* installdir/search.html: Add DTD tag for HTML 4 compliance.
* installdir/htdig.conf: Added .css to bad_extensions default,
added missing closing ">".
* htdoc/config.html: Updated with sample of latest htdig.conf and
installdir/*.html.
Wed Jul 25 22:16:06 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc: Put new htnotify_* entries in alphabetical
order. Removed superfluous quotes from htnotify_webmaster example
(htnotify.cc adds in the quotes).
* htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
Tue Jul 24 16:07:01 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc: Changed references in (no_)page_number_text
entries from maximum_pages to maximum_page_buttons.
* htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
Tue Jul 24 14:38:22 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdoc/hts_templates.html: Document Quim Sanmarti's URL decoding
feature for template variables.
Thu Jul 12 14:12:02 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htnet/HtFile.cc (Request): Fixed so it doesn't remove newlines
from documents, and so it only tries to open mime.types once even
if the open fails.
Thu Jul 12 11:40:07 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* contrib/conv_doc.pl, contrib/parse_doc.pl: Fixed EOF handling in
dehyphenation, fixed to handle %xx codes in title made from URL.
* contrib/doc2html/doc2html.pl, contrib/doc2html/pdf2html.pl,
contrib/doc2html/swf2html.pl: Fixed to handle %xx codes in URL title.
Wed Jul 11 15:05:47 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc (readFile): Added missing fclose() call, and
debugging message for when file can't be opened.
Wed Jul 11 14:26:28 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc (displayParsedFile): Added debugging message
when file can't be opened.
* htseach/Display.cc (buildMatchList): Fixed while loop to avoid
warning.
* htsearch/htsearch.cc (main): Fixed handling of syntax error message
to use String class instead of strdup().
* htsearch/parser.cc (setError): Added debugging message when error
is set.
* htsearch/parser.cc (parse): Fixed not to clear error message after
it's set.
Sat Jul 7 22:19:18 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* */Makefile.in: Update using current production automake
(1.4-p4).
* htfuzzy/Regexp.[cc,h]: Change class name to Regexp to prevent
further namespace clashes.
* htfuzzy/Fuzzy.c: #include "Regexp.h" now and make sure we create
the right class when needed.
* htlib/mktime.c: Change included mktime declaration to mymktime
to avoid conflict on Mac OS X. (For some reason, autoconf's
AC_FUNC_MKTIME doesn't work for Mac OS X. So this is a hack in the
meantime.)
* htfuzzy/Makefile.am: Rename Regex files. Oops!
Fri Jul 6 18:38:58 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htfuzzy/Regexp.cc, htfuzzy/Regexp.h: Rename Regex class to
prevent problems on case-insensitive systems.
* htlib/HtRegexReplaceList.cc, htlib/String.cc, htdig/htdig.cc:
Change #include of <stream.h> to modern standard of iostream.h.
* htlib/Configuration.cc (Read): Make sure we never reference a
negative position when trimming off whitespace.
* config.guess, config.sub: Update with new versions from GNU to
recognize various flavors of Mac OS X/Rhapsody.
* htlib/strptime.cc: Make sure len is initialized.
Fri Jul 6 12:04:52 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/HtRegexList.cc (setEscaped): Fixed a potential problem
with list building. When we go back a step, we still have to
compile the new pattern in case it's the last one.
Wed Jul 4 23:39:19 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/URL.cc (parse, ServerAlias): Fixed two problems that
caused incorrect signatures to be generated.
Wed Jul 4 13:52:54 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* test/document.cc (dodoc), test/url.cc (dourl),
test/testnet.cc (Retrieve): Fixed up handling of config to match
David Graff's changes of May 16, and handling of HtHTTPBasic class
to match Joshua Gerth's changes of Mar 17.
Tue Jul 3 16:20:56 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Retriever.cc (GetLocal): Fixed to use URL class on given
URL, so that default port numbers are stripped off. This was needed
to allow local fetching of robots.txt.
* htnet/Connection.cc (ctors, dtor, Assign_Server, Get_Peername),
htnet/Connection.h: Got rid of strdup stuff, used String class for
peer & server_name.
* htnet/Connection.cc (Get_PeerIP): Used unambiguous name for structure.
* htnet/HtHTTP.cc (ctor, dtor): Don't allocate a 2nd Connection, as
child classes already do this, and set pointer to null when connection
is deleted, so we don't try to delete it twice. This was messing up
the heap and causing segfaults. Call Transport::CloseConnection before
deleting connection.
* htnet/HtHTTPBasic.cc (dtor), htnet/HtHTTPSecure.cc (dtor),
* htnet/HtNNTP.cc (dtor): Only delete connection if non-null, & set
to null after deleting. Call Transport::CloseConnection before
deleting connection.
* htnet/Transport.cc (CloseConnection): Don't exit if connection
pointer is null, as this may be normal when called from destructor.
Fri Jun 29 11:14:36 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htfuzzy/Endings.cc (getWords): Undid change introduced in 3.1.3,
in part. It now gets permutations of word whether or not it has
a root, but it also gets permutations of one or more roots that
the word has, based on a suggestion by Alexander Lebedev.
* htfuzzy/EndingsDB.cc (createRoot): Fixed to handle words that have
more than one root.
* installdir/english.0: Removed P flag from wit, like and high, so
they're not treated as roots of witness, likeness and highness, which
are already in the dictionary.
Mon Jun 25 12:50:47 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/htsearch.cc (main): Got rid of last remnants of 'urllist'
and used the 'l' StringList as was used in the code before, to make
restrict and exclude handling work properly.
Mon Jun 25 15:52:19 CEST 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htsearch/htsearch.cc: defined 'urllist' in order to remove the
compilation error (as Jesse suggested).
Fri Jun 22 16:28:13 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc (buildMatchList): Fix date_factor calculation
to avoid 32-bit int overflow after multiplication by 1000, and avoid
repetitive time(0) call, as contributed by Marc Pohl. Also move the
localtime() call up before gmtime() call, to avoid clobbering gmtime's
returned static structure (my thinko).
* htdig/htdig.cc (main): Use .work file for md5_db, if -a given,
as contributed by Marc Pohl.
* htcommon/URL.cc (constructURL): Ensure that the _host is set if we
are constructing non-file urls, as contributed by Marc Pohl.
* htdoc/THANKS.html: Credit Marc Pohl for patches.
Tue Jun 19 17:14:05 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* README: Bump up to 3.2.0b4, fix note about bug report submissions.
Tue Jun 19 17:01:16 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc (setVariables): Fixed handling of
build_select_lists attribute, to deal with new restrict & exclude
attributes.
Mon Jun 18 12:16:27 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* configure.in, configure: Fix "hdig" typo in help.
Fri Jun 15 17:57:19 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc: Noted effect of locale setting on floating
point numbers in search_algorithm and locale descriptions.
* htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
Fri Jun 15 15:36:51 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdoc/cf_generate.pl: Fixed to handle new defaults.cc format
with trailing backslashes.
* htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
Fri Jun 15 14:57:21 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdb/htdb_dump.cc, htdb/htdb_load.cc, htdb/htdb_stat.cc: Added a
conditional include of <getopt.h> if HAVE_GETOPT_H is defined.
Fri Jun 15 11:25:24 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/htsearch.cc (main), htcommon/defaults.cc,
htdoc/hts_form.html: two new attributes, used by htsearch, have
been added: restrict and exclude. They can now give more control
to template customisation through configuration files, allowing
to restrict or exclude URLs from search without passing
any CGI variables (although this specification overrides the
configuration one).
Fri Jun 15 09:34:23 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/htsearch.cc (main): Changed ridiculously outdated question
"Did you run htmerge?" to "Did you run htdig?".
Fri Jun 8 11:07:04 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/Display.cc: Add <float.h> header, now needed for RH 7.1.
Thu Jun 7 12:05:09 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* contrib/htdig-3.2.0.spec: Updated to 3.2.0b4.
* contrib/README: Mention acroconv.pl script.
Thu Jun 7 10:46:19 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc (expandVariables): Use isalnum() instead of
isalpha() to allow digits in variable names, allow '-' in variable
names too for consistency with attribute name handling.
Wed Jun 6 16:14:06 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* httools/htpurge.cc (main): Added missing "u:" declaration in
getopt() call.
Wed Jun 6 15:24:04 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* contrib/doc2html/DETAILS, contrib/doc2html/README,
contrib/doc2html/doc2html.pl, contrib/doc2html/pdf2html.pl,
contrib/doc2html/swf2html.pl: Update to version 3.0 of doc2html,
contributed by David Adams <D.J.Adams at soton.ac.uk>.
Wed May 16 11:23:04 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
Added a pile of changes contributed by David Graff
<phlat at mindspring.com> fixing compilation problems with
non-gcc/g++ compilers (i.e. Sun's compiler).
* Makefile.config, db/Makefile.am: Added no-dependencies to
AUTOMAKE_OPTIONS for those not on GNU C/C++
* configure.in: Changed AM_PROG_YACC to AC_PROG_YACC as autoconf
and autoreconf both complain that AM_PROG_YACC is not in the
library.
* htcommon/DocumentDB.cc: Removed default parameters as they are
already declared in the header
* htcommon/HtConfiguration.cc: Changed some of the loop
declarations so that Sparc C 4.2 is happy. Removed default
parameters as they are already declared in the header Moved inline
ParseString to header where it belongs. Added initialization for
HtConfiguration::_config static member variable. Added
implementation of HtConfiguration::config() static class member.
* htcommon/HtConfiguration.h: Added include for ParsedString.h.
Added declaration of static member function ::config().
Added private static member variable _config;.
Added inline ParseString from implementation.
* htcommon/HtURLCodec.cc, htcommon/HtURLRewriter.cc,
htcommon/HtZlibCodec.cc, htcommon/URL.cc, htcommon/conf_lexer.lxx,
htdig/Document.cc, htdig/ExternalParser.cc,
htdig/ExternalTransport.cc, htdig/HTML.cc, htdig/Parsable.cc,
htdig/Plaintext.cc, htdig/Retriever.cc, :
Changed to use new global configuration semantics.
* htcommon/conf_parser.yxx: Added a return to yyerror to quiet
Sparc C 4.2. Should really return a value here. Is it normal to
return a YY_something or just -1, 0, ?
* htcommon/defaults.cc: Added line continuation characters at the
end of all the string lines that did not completed by a quote.
* htcommon/defaults.h, htdig/htdig.h: Removed extern
HtConfiguation config in favor of HtConfiguration::config().
* htdig/ExternalTransport.h Changed return type of GetResponse to
match superclass.
* htdig/Server.cc, htdig/htdig.cc, htfuzzy/htfuzzy.cc, htnet/HtFile.cc,
htsearch/Display.cc, htsearch/QueryLexer.cc, htsearch/WordSearcher.cc,
htsearch/htsearch.cc, htsearch/parser.cc, htsearch/qtest.cc,
httools/htdump.cc, httools/htload.cc, httools/htmerge.cc,
httools/htnotify.cc, httools/htpurge.cc, httools/htstat.cc
htlib/Configuration.cc, htlib/HtRegex.cc:
Changed constructor to use initializers
* htlib/HtDateTime.cc: Moved inlines to header
* htlib/HtDateTime.h: Added inlines from implementation
* htlib/HtHeap.cc, htlib/HtHeap.h, htlib/HtVector.cc, htlib/HtVector.h,
htlib/HtVectorGeneric.h, htlib/HtVectorGenericCode.h:
Changed Copy member to return same type as superclass
* htlib/HtRegexReplace.cc, htlib/HtRegexReplaceList.cc: Removed
default parameters as they are declared already in the header
* htlib/myqsort.h: Changed comment in header to use C-style
comments as it's compiled using a C.
* htlib/regex.h: Changed #if __STDC__ to #if defined(__STDC__)
* htword/WordKey.h: Corrected const'ness
Wed May 9 07:50:19 CEST 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtCookieJar.h: ShowSummary makes the class abstract
Sat May 5 20:51:00 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdoc/cf_blocks.html: Add colon in example and description of
blocks to match code for the moment. The parser can be changed
later if we like.
Sat May 5 20:38:44 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/ParsedString.cc (get): Use isalnum() instead of isalpha()
for looking up--allows names that contain digits too.
Sat May 5 20:36:29 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/htString.h (class String): Remove now-obsolete and
confusing int() casting operator. This was previously used to make
a string of a certain length. Use String(int) as a ctor instead.
Sat May 5 20:30:18 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htword/WordContext.[h,cc]: Change Initialize to supply a config
that can be modified (i.e. if we don't have ZLIB_H).
Sat May 5 23:30:55 CEST 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtCookieJar.h: ShowSummary, printing cookies (to be derived)
* htnet/HtCookieMemJar.[h,cc]: ShowSummary, printing cookies
Thu May 3 23:14:14 CEST 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtHTTP[h,cc]: connection object is now created and destroyed.
NULL pointers converted to C++ standard (0).
* htnet/Transport[h,cc]: NULL pointers converted to C++ standard (0).
* htnet/Connection[h,cc]: ditto
Thu May 3 23:09:33 CEST 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htlib/HtDateTime.[h,cc]: Timestamp format added (used by ht://Check
for MySQL interfacing) - keeping them equal helps me maintaining
both of them!
Thu May 3 10:28:56 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/parser.cc (perform_and): Add missing return statement,
as suggested by Quim Sanmarti.
Fri Mar 30 15:50:42 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/ResultMatch.h, htsearch/ResultMatch.cc (setTitle): Changed
argument type to char * to fix problem with sort by title not working,
as reported by Adam Lewenberg.
Fri Mar 30 14:08:51 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Document.h, htdig/Retriever.cc (parse_url): Define and use
Document::StoredLength() method to get actual length of data
retrieved and given to md5(), which may be less than original
length. Fixes bug reported by Michael Haggerty.
Wed Mar 21 22:22:55 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/Display.cc (generateStars): Add NSTARS variable for
template output as suggested by Caleb Crome
<ccrome at users.sourceforge.net> (except here precision is 0). Fixes
feature request #405787.
* htdoc/hts_templates.html: Add description of NSTARS variable
above.
* htlib/HtRegex.cc (set): Make sure we free memory if we've
already compiled a pattern.
* htdig/Retriever.cc (got_href): Fix bug pointed out by Gilles
with hopcounts and don't bother to update the DocURL unless we
have a new doc.
Mon Mar 19 18:00:18 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/URL.cc (URL): Make sure even absolute relative URLs are
run through normalizePath() as pointed out by Gilles. Allows
backout of previous fix of #408586, which does extra re-parsing of
URL.
* htdig/Retriever.cc (Need2Get): Back out change of Mar. 17 for above.
* htcommon/conf_lexer.[cxx, lxx]: Apply change suggested by Jesse
to remove empty statements.
Mon Mar 19 11:33:25 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/HtRegexList.cc (setEscaped): Fix assorted bugs, including
obvious segfault, incorrect creation of limits, and failure to set
"compiled" flag before return().
* htdig/Retriever.cc (IsValidURL): Make sure the tmpList is
cleared before attempting to parse the bad_querystr
config--otherwise we'll just Add to the end of the list.
Sun Mar 18 14:01:56 CET 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/Transport.[h,cc], htnet/HtHTTP.cc: In order to modularize
the net code the default parser string for the content-type has
been added to the Transport class.
* htdig/Document.cc: modified for the changes above.
Sat Mar 17 16:38:27 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* configure.in, configure, include/htconfig.h.in: Add tests for
libssl, libcrypto, and ssl.h.
* htnet/SSLConnection.[cc,h], htnet/HtHTTPBasic.[cc,h],
htnet/HTTPSecure.[cc,h]: New files. Contributed by Joshua Gerth
<jgerth at hmsoaps.com>.
* htnet/Transport.[cc,h], htnet/HtNTTP.cc, htnet/HtHTTP.cc,
htnet/Connection.h: Changes needed to support SSLConnection class.
* htdig/Document.cc, htdig/Document.h: Ditto.
* htnet/Makefile.am, htnet/Makefile.in: Add above for compilation.
* htdoc/THANKS.html: Updated with new contributors.
Sat Mar 17 15:28:20 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htword/WordContext.cc (Initialize): If HAVE_LIBZ or HAVE_ZLIB_H
are not defined, make sure wordlist_compress is set to false. This
semi-hack will not be necessary with new mifluz code which does
not necessary need zlib. Fixes bug #405761.
Sat Mar 17 14:39:17 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/HTML.cc (do_tag): Fixed problems with META descriptions
containing newlines, returns or tabs. They are now replaced with
spaces. Fixes bug #405771.
Sat Mar 17 14:26:55 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/HTML.cc (do_tag): Improve handling of whitespace in META
refresh handling. Fixes bug #406244.
* htlib/HtRegexList.cc (setEscaped): Make this more efficient by
building up larger and larger patterns--when we fail, go back a
step and add the pattern in the next loop. This ensures we have a
list of the maximum allowable length regexp.
* htdig/Retriever.cc (Need2Get): Add change suggested by Yariv Tal
to run URLs through the URL parser for cleanup before comparing to
the visited list. Fixes bug #408586.
Mon Mar 12 13:28:56 2001 Michael Haggerty <mhagger at alum.mit.edu>
* htdig/Retriever.cc, htdig/Retriever.h:
Fixed two off-by-one errors related to Retriever::factor table.
Mon Mar 12 11:25:31 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/Dictionary.cc (Add): Fix comments about add method--it
will replace existing keys. Fixes report #407940.
Thu Mar 8 15:31:45 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtHTTP.cc: removed an unuseful <else>
Tue Mar 6 11:42:10 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/regex.[c,h]: Update with versions from glibc 2.2.2.
Mon Mar 5 13:47:30 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* ltconfig (host_os): Add test to solve problems building C++
shared libraries on some platforms. Currently should only make
--enable-shared the default on Linux and *BSD* unless specified
explicitly by the user.
Mon Mar 5 12:52:57 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/String.cc (operator =): Add fix contributed by Yariv Tal
<YarivT at webmap.com>, fixed bug #406075.
Mon Mar 5 12:06:26 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/HtRegexList.cc (match): Ignore rearrangement code for the
moment--may or may not be the culprit for bug #405277, but is a
start to debugging the problem.
* htlib/List.[cc,h]: Remove *prev pointer from listnode
structure and add a *prev pointer to the cursor structure. Saves
one pointer per item in the list, plus overhead.
Mon Mar 5 11:56:16 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/defaults.cc (bad_extensions): Add .css to ignore CSS docs.
* htdig/Document.cc (getParsable): Ignore CSS documents -- they
aren't very useful to parse. Solves bug report #405772.
Sun Mar 04 11:32:43 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtHTTP.cc: fixed a bug regarding <no header> with persistent
connections enabled, but head call before the get one disabled.
Sourceforge.net's bug reference: 405275 - fixed.
Sat Mar 3 21:09:55 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* .version: Bump to 3.2.0b4 so snapshots have right versioning.
Thu Mar 1 16:51:09 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* configure.in: Added test for alloca.h, which is needed for the
regex.c code.
Wed Feb 28 12:54:43 CEST 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htcommon/defaults.cc: 'disable_cookies' option has been added, with
a 'server' scope. By default it is set to 'false'.
* htdig/Server.h, cc: management of the option above has been enhanced.
* htnet/HtHTTP.h, cc: now an HTTP connection can disable/enable cookies
through the configuration attribute 'disable_cookies'.
* htdig/Document.cc: management of cookies enabling/disabling is here.
* Cookies classes: now support the expiration time. Need only the
subdomain treatment.
Mon Feb 26 16:37:30 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/conf_lexer.lxx: Don't directly call exit(1) on an error
condition! Seems a harsh problem for an unknown character.
* htcommon/conf_parser.yxx: Ditto. (Running out of memory is a
much more fatal condition, of course.)
* htcommon/conf_lexer.cxx: Regenerate using flex 2.5.4.
* htcommon/conf_parser.cxx: Regenerate using bison 1.28.
Sun Feb 25 19:46:01 CEST 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtHTTP.h, cc: support for cookies enabled
* htnet/Makefile.am: files for cookies have been added to make.
Sun Feb 25 19:27:18 CEST 2001 Gabriele Bartolini <angusgb at users.sourceforge.net>
* htnet/HtCookie.h,cc: class HTTP cookie
* htnet/HtCookieJar.h,cc: abstract class for managing the
'jar' of cookies. In this way, we can use different methods
for the storage of them.
* htnet/HtCookieMemJar.h,cc: class for managing the 'jar' of
cookies in memory, without persistent storage (no db or file).
* Many thanks to Robert LaFerla for his coding on this! Yeah,
really really thanks Robert! <robertlaferla at mediaone.net>
Thu Feb 22 16:43:18 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdoc/ChangeLog, htdig/RELEASE.html, README: Update to roll the
release of 3.2.0b3.
Thu Feb 22 16:22:05 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/htsearch.cc (main), htsearch/Display.cc (setVariables,
createURL, buildMatchList), htdoc/hts_form.html,
htdoc/hts_templates.html: Add Mike Grommet's date range search
feature.
Mon Feb 19 18:24:42 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htfuzzy/Synonym.cc (createDB): Create database in a temporary
directory before we move it into place, much like the endings
code. This should prevent problems when we just append to the DB
instead of making a new one.
* htdig/htdig.cc (main): Fix bug discovered by Gilles--htword
should be initialized *after* we are finished modifying config
attributes based on flags and unlink with -i.
* installdir/rundig: Fix bug with calling htpurge with -s option.
Thu Feb 15 11:03:42 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdoc/*.html: Update with 2001 copyrights and various changes
with the website move for the pending 3.2.0b3 release.
Thu Feb 15 10:41:47 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/HtRegexList.cc (match): Fix thinko with logic for matching
and add code to rearrange matching nodes for hopefully better
performance.
Sun Feb 11 16:42:11 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/HtRegexList.h, htlib/HtRegexList.cc (class HtRegexList):
Simple List(HtRegex) object with similar calling conventions to
HtRegex class. This version is not as sophisticated as it could
be, but it's not likely to drop objects when reorganizing.
* htlib/Makefile.[in,am]: Add HtRegexList files to list for
compilation.
* htdig/htdig.h, htdig/htdig.cc, htdig/Retriever.cc: Use
HtRegexList instead of HtRegex for setting escaped values--should
never fail (since each String item is short).
* htlib/HtDateTime.cc: Put back timezone specs into the output
formats so we give everything even if we ignore it when reading
input.
Mon Feb 5 11:47:07 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/HtDateTime.cc: Remove the timezone specs in the date
formats--these are not required in the RFCs because many dates are
in GMT anyway.
Wed Jan 17 08:48:30 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/ExternalTransport.cc (Request): Oops, fixed a holdover from
code borrowed from ExternalParser.cc's fork handling.
Mon Jan 15 23:09:37 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* htnet/Connection.cc: Back out previous change--this should not
in any way be needed since the configure script should set
FD_SET_T.
* configure.in, configure: Add more lenient prototyping for
select() test--now allows "const struct timeval" for compilation
on BSDI.
* htdoc/RELEASE.html: Update with Gilles's changes.
* htdoc/cf_blocks.html: New file describing <server ...></server>
and <url ...></url> blocks.
* htdoc/cf_general.html, htdoc/confmenu.html: Refer to the above.
Mon Jan 15 17:46:07 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/TemplateList.cc (createFromString), htcommon/defaults.cc:
Treat template_map as a _quoted_ string list.
* htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
Mon Jan 15 17:40:45 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdoc/hts_templates.html: Add METADESCRIPTION variable.
* htsearch/Display.cc (displayMatch): Add METADESCRIPTION variable.
* htdig/ExternalParser.cc (parse): Fix up handling of arguments.
* htdig/ExternalTransport.cc (Request): Fix up handling of fork/exec
and command arguments, add wait() call.
Wed Jan 10 19:23:36 2001 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* installdir/rundig: Fix -a handling to move db.words.db.work_weakcmpr
into place if it exists
Sat Jan 6 21:50:58 2001 Geoff Hutchison <ghutchis at wso.williams.edu>
* configure.in: Add checks for <sys/wait.h> and <wait.h> for
ExternalParser.
* include/htconfig.h.in: Regenerate using autoheader.
* configure: Regenerate using configure.
* htnet/Connection.cc: Add definition for FD_SET_T to fix problems
compiling on BSDI mentioned by Joe.
* htdig/ExternalParser.cc: Use <sys/wait.h> or <wait.h> as
appropriate. Should fix problems with compiliation mentioned by
Jesse on HP/UX.
* README, htdoc/RELEASE.html: Adjust dates for the new year.
* htdoc/upgrade.html: A few "remaining features" have been implemented.
Sun Dec 06 19:46:15 CEST 2000 Gabriele Bartolini <g.bartol at comune.prato.it>
* htnet/HtHTTP.cc: Fixed bug for Read_Line function call in
ReadChunkedBody method. Many thanks to Robert LaFerla. ;-)
Tue Dec 12 13:24:49 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/ExternalParser.cc (parse): Fixed to properly handle binary
output from an external converter. Fixed some compilation errors.
Tue Dec 12 12:52:14 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/ExternalParser.cc (parse): Handle parser command string
as a string list again to allow arguments, build up argv and
use execv instead of execl.
Tue Dec 12 12:25:04 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/ExternalParser.cc (parse): Add call to wait for child process,
to avoid zombie buildup.
Mon Dec 11 23:57:43 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/ExternalParser.cc (parse): Fix up handling of fds in child
process, more fault-tolerant handling of pipe or fork errors.
Mon Dec 11 23:30:55 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/ExternalParser.cc (parse): Fix up handling of creation
of temporary file, check for proper return code, give error if
appropriate.
Mon Dec 11 23:19:28 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/ExternalParser.cc (parse): Lowercase content-types and
strip off any trailing semicolons, at one last spot. This reinserts
code added Sep 11, which was dropped Oct 9, probably inadvertantly
during mifluz back-out.
Sun Dec 10 15:28:44 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/ExternalTransport.cc: Use fork/exec instead of calling
popen, which bypasses any shell escape problems.
* htdig/ExternalParser.cc: Ditto, plus use of mkstemp where
available to pick the filename.
* configure, configure.in: Check for mkstemp where available.
* include/htconfig.h.in: Define it as above.
* htlib/Makefile.am: Omit regex.c from SOURCES--this is included
when necessary by the configure script. Otherwise this produces
duplicate declarations, etc.
* htlib/Makefile.in: Regenerate using automake --foreign.
* htcommon/URL.cc: Fix bug with ports of 0 showing up in URLs like
mailto: or other less-common protocols.
Fri Dec 1 14:45:33 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* contrib/htdig-3.2.0.spec: Updated to 3.2.0b3.
Fri Dec 1 13:59:09 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/Makefile.am: Fix pkginclude_HEADERS to list missing headers
ber.h, libdefs.h, myqsort.h, mhash_md5.h, omit unneeded langinfo.h;
fix libht_la_SOURCES to list missing sources regex.c, myqsort.c.
* htlib/Makefile.in: Regenerate using automake --foreign
* htlib/langinfo.h, htlib/nl_types.h: Removed as they're now unused.
Fri Dec 1 13:22:47 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/strptime.cc (mystrptime): make ptr const and use cast on
return value to avoid warnings.
* htlib/Makefile.am: Fix pkginclude_HEADERS to list HtRegexReplace*.h
rather than .cc.
* htlib/Makefile.in: Regenerate using automake --foreign
Fri Dec 1 11:58:21 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* Makefile.in, [hit]*/Makefile.in: Regenerate using automake --foreign
after fixing bug with cp -pr in automake.
Thu Nov 30 14:41:58 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdoc/Makefile.am: Removed howitworks.html from EXTRA_DIST.
* Makefile.in (distdir): Added missing variable name 'd' to cp -pr.
Thu Nov 30 14:01:48 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/strptime.cc, htlib/lib.h: make first 2 args to strptime
const to avoid warnings, use cast in asizeof to avoid warnings.
* htsearch/qtest.cc: Change include from iostream to iostream.h
* htsearch/DocMatch.cc: Change include from iostream to iostream.h
* htsearch/Display.cc (createURL, buildMatchList, excerpt, hilight):
Clean up code to get rid of warnings, especially resulting from
NULLs in ternary operators.
Thu Nov 30 10:55:09 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/String_fmt.cc (form, vform): Use vsnprintf rather than
vsprintf, for buffer overflow prevention if vsnprintf available.
* htdig/Retriever.cc: Remove unused strptime declaration.
* htlib/HtDateTime.cc: Use mystrptime if HAVE_STRPTIME not set.
Wed Nov 29 23:31:10 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdb/htdb_stat.cc, htdb_load.cc, htdb_dump.cc: Make sure we
include htconfig.h to include proper declarations.
* htlib/strptime.cc: Change to strptime.cc, from htdig-3.1 series
hopefully more portable until I can find a more suitable
replacement.
* htlib/Makefile.am, htlib/Makefile.in: As above.
* htlib/clib.h, htlib/lib.h: Ditto.
* htdoc/all.html: Add a first draft of program summaries.
Wed Nov 29 18:00:15 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Retriever.cc (parse_url): Remove undeclared "dup" variable,
add missing calls to words.Skip().
Wed Nov 29 17:44:56 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/htdig.html: Add description of -v output.
Mon Nov 27 12:03:34 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/md5.cc: Added missing include of time.h
Fri Nov 24 00:56:01 2000 Toivo Pedaste <toivo at ucs.uwa.edu.au>
* htsearch/Display.cc: Some extra debugging for scoring
Sun Nov 19 00:56:01 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htnet/HtFile.cc (Request): Use opendir/readdir instead of
scandir for generating directory listings on-the-fly.
* htdoc/RELEASE.html: Write up release notes for 3.2.0b3.
* htdoc/THANKS.html: Update list of contributors for 3.2.0b3 as
current.
Fri Nov 17 14:52:37 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* contrib/acroconv.pl: Added external converter script to convert
PDFs with acroread.
Mon Nov 6 12:13:13 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Retriever.cc (GetLocal, GetLocalUser): move String definition
out of while statement for AIX xlC compiler.
Mon Oct 30 21:50:02 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Server.h, htdig/Server.cc (push): Add newDoc paramter that
will allow redirects (old docs) to be followed and not count
against the maxDoc restrictions.
* htdig/Retriever.cc (got_redirect): Use new parameter so we don't
count against a server's max documents since it's a redirect.
* htlib/nl_types.h: Add for systems missing this header file.
Sun Oct 29 21:36:51 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/defaults.cc: Updated per-server and per-URL fields to
match code. I still have a "wish list" of additional attributes
that should work this way eventually.
* htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
Sun Oct 22 17:13:08 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/HtWordList.h: Add missing include for stdlib.h needed for
abort().
* htsearch/BooleanQueryParser.cc (ParseAnd): Fix problems with RH7
compiler -- shouldn't use "not" as a variable name!
Thu Oct 19 22:19:16 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* ltmain.sh, ltconfig: Update with versions from libtool
1.3.5. which may fix some problems building libraries.
Mon Oct 9 21:59:11 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* */* [many, many files]: Backed out mifluz merge by going back on
modified files to 091000 snapshot.
* configure: Regenerated from configure.in.
* */Makefile.in: Regenerated using automake.
Fri Oct 6 11:03:14 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HTML.cc (do_tag): Parse <object> tags properly, looking
for data= attribute rather than src=.
* htcommon/defaults.cc (server_aliases): Additional clarification
to server_aliases description of port numbers.
Wed Oct 4 12:12:31 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc (limit_normalized, server_aliases,
server_max_docs, server_wait_time): Added clarification
to server_aliases description. Changed word "directive" to
"attribute" where appropriate. Added cross-link to server_aliases
from limit_normalized.
* htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
Wed Sep 27 00:05:41 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdb/mifluz[dict, dump, load].cc, htdb/util_sig.h,
htdb/util_sig.cc: New files from mifluz merge. (Whoops, missed a
directory).
* htdb/*.cc: Change config.h references to htconfig.h.
* htlib/myqsort.c: Ditto.
* htcommon/HtWordReference.h, htcommon/HtWordReference.cc: Ensure
we keep the WordContext object around--unfortunately this also
requires that callers initialize us with a WordContext (e.g. from
the HtWordList class).
* htlib/StringMatch.h, htlib/StringMatch.cc: Changes to use
WordType directly instead of HtWordType.
* htfuzzy/*: Ditto. Additionally make sure HtWordReference objects
are intstantiated properly.
* htcommon/DocumentRef.cc, htcommon/HtWordList.cc: As above.
* htdig/*: As above.
* htsearch/*: As above.
* httools/*: Don't bother initializing WordContext--this is done
in the HtWordList class now.
* htdig/htdig.cc: Ditto.
* htsearch/htsearch.cc, htsearch/qtest.cc: Ditto.
* htfuzzy/htfuzzy.cc: Ditto.
* db/Makefile.am, db/Makefile.in: Update to build libhtdb instead
of libdb to prevent conflicts.
Sun Sep 24 22:50:22 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htword/HtWordList.h, htword/HtWordList.cc: Keep a WordContext
object private that is associated with this word database and
provide accessor.
* htword/WordType.h, htword/WordType.cc: Add WordToken function,
migrated from HtWordType class.
* htcommon/HtWordType.cc: WordType class no longer has Instance()
method, so just pass along the calls.
* htlib/DB2_db.cc (db_init): Remove unnecessary NULL parameter.
* htlib/Makefile.am, htlib/Makefile.in: Remove HtVectorGeneric and
derived files as well as HtWordType as these are depreciated.
Wed Sep 20 22:47:01 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* aclocal.m4: Add in missing autoconf macros that somehow didn't
make the merge before. (No idea why I didn't catch this earlier.)
* acinclude.m4: Use newer CHECK_ZLIB macro.
* */Makefile.in: Updated with automake for new build changes.
* configure, include/htconfig.h.in: Updated using autoconf.
* test/dbbench.cc, test/word.cc, test/search.cc: Fix #include to
point to htconfig.h not non-existant config.h.
* htlib/Configuration.h: Fix copy ctor, removing code in header file.
* htword/*.cc: Ditto.
* htword/Makefile.am: Update from mifluz version.
* htlib/myqsort.h, htlib/myqsort.c: Additional system library
replacement code.
Sat Sep 16 20:14:32 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* configure.in, configure, acinclude.m4, aclocal.m4, acconfig.h,
include/htconfig.h.in: Merged with mifluz versions. Main
difference is that top-level configure script now also configures
db/ directory as well.
* Makefile.am, */Makefile.in: Updated with automake for new build
environment (with db/ run through top-level configure).
* db/*.c: Updated to use htconfig.h instead of config.h.
Wed Sep 13 22:05:33 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* Merged in mifluz-0.19 branch. Everything will break
temporarily. Loic and I will clean up tomorrow.
* htdoc/RELEASE.html, htdoc/THANKS.html, htdoc/TODO.html: Get a
start on updting these files for the next release.
* htdoc/cf_generate.pl: Revert change of Sep. 9 to ignore links to
all.html in cf_byprog.html file.
* htdoc/all.html: New file, moved from howitworks.html and not
updated yet.
* htdoc/contents.html: Change link from howitworks.html to all.html
Tue Sep 12 17:00:00 CEST 2000 Quim Sanmarti <qss at gtd.es>
* htsearch: added AndQuery.cc BooleanLexer.cc BooleanQueryParser.cc
ExactWordQuery.cc GParser.cc NearQuery.cc NotQuery.cc
OperatorQuery.cc OrFuzzyExpander.cc OrQuery.cc
PhraseQuery.cc Query.cc QueryLexer.cc QueryParser.cc
SimpleQueryParser.cc VolatileCache.cc WordSearcher.cc
qtest.cc WordSearcher.h AndQuery.h AndQueryParser.h
BooleanLexer.h BooleanQueryParser.h ExactWordQuery.h
FuzzyExpander.h GParser.h NearQuery.h NotQuery.h
OperatorQuery.h OrFuzzyExpander.h OrQuery.h OrQueryParser.h
PhraseQuery.h Query.h QueryCache.h QueryLexer.h
QueryParser.h SimpleLexer.h SimpleQueryParser.h VolatileCache.h.
This is the new query parsing/evaluation framework.
* Modified DocMatch.{cc,h} and ResultList.{cc,h} for compatibility.
* Removed the previous {And,Or,Exact,}ParseTree.{cc,h} files.
* Modified Makefile.{am,in} consequently.
Mon Sep 11 11:56:44 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/ExternalParser.cc (parse): Lowercase content-types and
strip off any trailing semicolons, at one last spot which Geoff missed.
Sat Sep 9 21:28:29 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Document.cc (getParsable): Fix a bug with earlier
change--if no parser is found and the MIME type is not text/* then
return a NULL parser.
* htdig/Retriever.cc (RetrievedDocument): If a NULL parser is
returned, mark the document as noindex and move on.
* configure.in, configure (enable-tests): Fix bug that would run
the 'yes' program inside the configure script if --enable-tests
was set.
Sat Sep 9 17:50:11 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/defaults.cc: Add "all" program listing for common
attributes--seems more logical esp. now with many httool programs.
* htdoc/cf_generate.pl (cf_byprog): Do not output a link when
'prog' is 'all.'
* htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
Sat Sep 9 11:44:47 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* aclocal.m4 (AM_CHECK_YACC): New macro to check for bison/yacc
and use "missing yacc" if not found.
* configure.in (enable_tests): Fix buglet where --enable-tests=no
or --disable-tests would not work and set the default to enabled
tests. Since the tests do not build unless the user does a "make
check" this should not be confusing and should help debugging.
Also use AM_CHECK_YACC instead of AC_CHECK_YACC.
* configure: Regenerate using autoconf.
Sat Sep 9 11:01:03 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/ExternalParser.cc (canParse): Lowercase content-types and
strip off any trailing semicolons. Should prevent problems with
combined content-type; charset values.
(ctor): As above.
* htdig/Document.cc (getParsable): Only assume plain text if MIME
code starts with text/. Should prevent problems with retrieving
things like image/png or application/postscript as text.
Fri Sep 8 22:59:10 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/defaults.cc: Add new attributes htnotify_replyto,
htnotify_webmaster, htnotify_prefix_file, htnotify_suffix_file.
* htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
* httools/htnotify.cc: Added in code from Richard Beton
<richard.beton at roke.co.uk> to collect multiple URLs per e-mail
address and allow customization of notification messages by
reading in header/footer text as designated by the new attributes
above.
Fri Sep 8 15:15:00 2000 Quim Sanmarti <qss at gtd.es>
* htsearch/Display.cc: Fixed tiny date_format bug;
added url-decoding template variable expansion.
Thu Sep 7 23:45:25 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Retriever.cc (Retriever): Only open up md5 database if
check_unique_md5 attribute is set.
Thu Sep 7 22:56:19 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/URL.cc (DefaultPort): Add file default port of 0.
* htnet/HtFile.cc (Request): Handle directory listings by using
scandir and generating minimal HTML file with appropriate noindex listing.
Wed Sep 06 10:00:50 CEST 2000 Gabriele Bartolini <g.bartol at comune.prato.it>
* htlib/URL.h, htlib/URL.cc: Restored corrected versions of URL.*
* htnet/HtNNTP.h: Removed the error in the NNTP class declaration
Mon Sep 04 13:43:40 CEST 2000 Gabriele Bartolini <g.bartol at comune.prato.it>
* htnet/HtHTTP.cc: Restored previous version of HtHTTP. I removed
an initialization in the constructor (_modification_time). Sorry.
Sun Sep 3 16:51:24 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Retriever.cc, htdig/Server.cc: Fix compiler warnings about
String conversions.
* configure, configure.in, db/configure, db/configure.in,
db/acinclude.m4, db/aclocal.m4: Ensure --enable-bigfile is handled
correctly by the configure scripts as pointed out by Jesse.
Fri Sep 01 23:28:43 CEST 2000 Gabriele Bartolini <g.bartol at comune.prato.it>
* URL.cc: added DefaultPort() method and changed NNTP default port
from 523 to 119.
* Document.cc: management of NNTP documents retrieval.
Fri Sep 01 19:05:02 CEST 2000 Gabriele Bartolini <g.bartol at comune.prato.it>
* htnet/HtNNTP.* : just created them ...
* htnet/HtHTTP.cc : removed modification_time deletion in the
class destructor.
Thu Sep 01 12:00:00 2000 Toivo Pedaste <toivo at ucs.uwa.edu.au>
* htdig/Retriever.cc: Allow for modify time being set to
current time if not available.
Thu Aug 31 13:21:12 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc (allow_in_form, build_select_lists):
Add clearer instructions to allow_in_form description, add
cross-links between these two sections.
* htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
Wed Aug 30 10:01:59 CEST 2000 Gabriele Bartolini <g.bartol at comune.prato.it>
* substition of char * returned types to const String & in URL and
Server classes. This change made me do lots of changes in other files:
HtFile.cc, HtHTTP.cc, HtConfiguration.*, Document.*, ExternalParser.*,
Retriever.*.
Tue Aug 30 12:00:00 2000 Toivo Pedaste <toivo at ucs.uwa.edu.au>
* htlibs/md5.cc, htlibs/md5.h: Generate md5 hash of
a page and also optionally the modify date.
* htlibs/mhash_md5.h, htlibs/mhash_md5.c, htlibs/libdefs.h:
Md5 hash code from libmhash
* htdig/Retriever.cc: Allow storing m5 hashes of pages
in order to reject aliases.
* htcommon/defaults.cc: Options "check_unique_md5" and
"check_unique_date"
Tue Aug 29 08:51:39 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdoc/upgrade.html: Add description of the difference between
htmerge and htpurge. Mention other httools.
* htsearch/parser.cc, htsearch/parser.h: Merge in patch by Quim
Sanmarti <qss at gtd.es> to fix problems with phrase searching and
AND searches and improve performance.
Sun Aug 27 22:41:10 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/AndParseTree.cc, htsearch/OrParseTree.cc (Parse):
Rewrote using new WordToken inherited method. Fixes a bug where
user input two phrases next to each other.
* htsearch/ParseTree.cc (Parse): Fix bug where phrases would
"adsorb" prior query words. Also fix bug where operators were
incorrectly popped off the stack. Should (hopefully) solve all
parsing problems.
* htsearch/*ParseTree.cc (GetLogicalWords): Test for empty list of
children to prevent potential segfault.
Sat Aug 26 18:40:50 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* installdir/{syntax, header, footer, wrapper, nomatch}.html:
Add DTD tags, ALT attributes and remove bogus </select> tags to
fix invalid HTML pointed out in PR#901.
Wed Aug 23 23:39:18 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/ParseTree.cc (Parse): Get rid of compiler warnings, use
new private tokenizer to ensure parens and quote aren't
removed. Also, when popping an operator off the parens stack, make
sure it's adopted by a new ParseTree object so we get the parens
back in the tree heirarchy.
Wed Aug 23 23:34:44 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/AndParseTree.cc (Parse): Fix nasty infinite loop when
phrases hit in AND searches.
* htsearch/OrParseTree.cc (Parse): Ditto.
Wed Aug 23 13:24:31 CEST 2000 Gabriele Bartolini <g.bartol at comune.prato.it>
* htnet/HtHTTP.*, htnet/Transport.h: all 'char *', when possibile,
have been changed into 'const String &' types.
Sun Aug 20 23:25:01 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* httools/htpurge.cc (purgeDocs): Add error message when document
database is completely empty. Should take care of PR#672 (and others).
Sun Aug 20 20:37:53 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/HtRegex.h, htlib/HtRegex.cc: Made destructor virtual,
added lastError() and associated support. Changed return type of
set*() to int. They now return the value of |compiled|.
* htcommon/defaults.cc (url_rewrite_rules): Add new attribute to
support patch by Andy Armstrong <andy at tagish.com> for permanent
URL rewriting.
* htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
* htlib/HtRegexReplace.cc, htlib/HtRegexReplaceList.cc,
htlib/HtRegexReplace.h, htlib/HtRegexReplaceList.h,
htcommon/HtURLRewriter.cc, htcommon/HtURLRewriter.h: New classes.
* htcommon/Makefile.am, htcommon/Makefile.in: Add compilation for
HtURLRewriter.
* htlib/Makefile.am, htcommon/Makefile.in: Ditto for
HtRegexReplace*
* htcommon/URL.h, htcommon/URL.cc (rewrite): New method for
transforming URLs based on HtURLRewriter.
* htdig/Retriever.cc (got_href): Rewrite the URL before we do
anything with it.
* htdig/htdig.cc: Include HtURLRewriter headers and check rewrite
rules for errors.
Sat Aug 19 17:01:36 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/conf_lexer.lxx: Patched to fix the bug with relative
filename includes. Keeps a separate stack with the filenames and
adjusts accordingly.
* htcommon/conf_lexer.cxx: Updated using flex 2.5.4.
Thu Aug 17 23:59:26 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/conf_lexer.lxx: Patched to fix a bug reported by Abel
Deuring -- config filename stack was decremented too many times.
* htcommon/conf_lexer.cxx: Updated using flex 2.5.4.
Thu Aug 17 23:40:08 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htword/WordType.h (WordToken): Add non-destructive version of
HtWordToken using a passed int as a pointer into the
string. Add virtual destructor so class can be sub-classed.
* htword/WordType.cc (WordToken): Implement it.
* httools/htmerge.cc (mergeDB): Back out change of Aug. 9th --
WordSearchDescription has disappeared from htword
interfaces. Should be restored when Loic comes back and can
suggest an alternative.
Thu Aug 17 16:59:05 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc (createURL): Get rid of extra "config="
parameter that was inserted before collections stuff.
Thu Aug 17 15:47:58 CEST 2000 Gabriele Bartolini <g.bartol at comune.prato.it>
* htnet/HtHTTP.cc: ask again for a document after a <NoHeader>
response is given by the HTTPRequest() method.
Thu Aug 17 12:25:33 CEST 2000 Gabriele Bartolini <g.bartol at comune.prato.it>
* htnet/HtHTTP.*, htnet/Transport.* : fixed bug with HTTP/1.1 management.
Now the "Connection: close" directive is handled and force the connection
to be closed. So the bug has now been fixed. Fixed other minor bugs and
strings initializations.
Tue Aug 15 00:24:33 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* contrib/multidig/Makefile, gen-collect, db.conf, multidig.conf:
Add missing trailing newlines as pointed out by Doug Moran
<dmoran at dougmoran.com>.
* contrib/multidig/Makefile (install): Make sure scripts have a+x
permissions. Pointed out by Doug Moran.
* contrib/multidig/new-collect: Fix typo to ensure MULTIDIG_CONF
is set correctly.
Sun Aug 13 23:17:30 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Server.h, htdig/Server.cc (Server): Add support for
per-server user_agent configuration.
* htdig/Document.cc (Retrieve): Ditto.
* httools/htpurge.cc (purgeDocs): Set remove_* attributes on a
per-server basis.
* htcommon/defaults.cc: Fix remove_bad_urls and
remove_unretrieved_urls to point to htpurge and not htmerge.
Sat Aug 12 23:03:32 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdoc/cf_generate.pl (html_escape): Fix mindless thinko with
perl stringwise-equal operator. Documentation is now generated
with block: portion appropriate to defaults.cc.
* htdoc/attrs.html, cf_by{name,prog}.html: Reran cf_generate.pl.
Fri Aug 11 16:03:18 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HTML.cc (parse): fix problem with & not being translated.
Fri Aug 11 10:48:54 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc (setVariables), htcommon/defaults.cc: Added
maximum_page_buttons attribute, to limit buttons to less than
maximum_pages. Fixes PR#731 & PR#781.
* htdoc/attrs.html, cf_by{name,prog}.html: reran cf_generate.pl
Wed Aug 9 23:04:39 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* httools/htmerge.cc (mergeDB): Add fix to prevent duplicate
documents when you merge a database with a copy of itself
contributed by Lorenzo.
Wed Aug 9 22:58:39 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/parser.cc (score): Merged in patch contributed by
Lorenzo Campedelli <lorenzo.campedelli at libero.it> and Arthur
Prokosch <prokosch at aptima.com> to fix problems with AND operators
and phrase matches.
Wed Aug 2 11:44:11 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc (setVariables), htcommon/defaults.cc: Enhanced
build_select_lists attribute, to generate not only single-choice
select lists, but also select multiple lists, radio button lists
and checkbox lists. Added explanation and examples in documentation.
* htdoc/hts_selectors.html: Added detailed explanation of new feature.
* htdoc/attrs.html, cf_by{name,prog}.html: reran cf_generate.pl
Tue Aug 1 21:50:22 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/ParseTree.cc (Parse): Fix problems with token
comparisons and fix thinko with HtWordToken parsing--previously
didn't advance the parse step at all.
* htsearch/*ParseTree.cc (Parse): Fix thinko with HtWordToken as
above--here it acted as an infinite loop.
* htdig/ExternalParser.cc (parse): Add shell quoting around
content-type. Hard to exploit, but a server could potentially
return a strange value that could then be exectuted locally.
Thu Jun 29 23:33:51 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/ParseTree.h, htsearch/ParseTree.cc: New parent class
for the new htsearch framework. Still needs work.
* htsearch/*ParseTree.*: Derived classes appropriate to the method
indicated.
* htsearch/parsetest.cc: New program to alllow initial
command-line testing of ParseTree classes.
* htsearch/Makefile.am, htsearch/Makefile.in: Build parsetest in
addition to htsearch. Eventually, parsetest is probably best
modified slightly and moved into the tests directory.
Tue Jun 20 22:29:57 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* httools/htmerge.cc (mergeDB): Merge in patch contributed by
Lorenzo Campedelli <lorenzo.campedelli at libero.it> to greatly
reduce memory usage.
Sun Jun 18 13:15:43 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/Object.h (class Object): Fix problems with retrieval order
by insuring the compare() method is declared const.
Tue Jun 13 22:57:10 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Retriever.cc (GetLocal): Fix bug that would cause a
coredump when local_urls was used and local_default_docs was
needed. The list of default filenames was freed before it should
have been.
Tue Jun 13 19:30:28 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/HtWordReference.h, htcommon/HtWordReference.cc (Load,
LoadHeaders): New methods to check the header of an ASCII
representation and read it in.
* htcommon/HtWordList.h, htcommon/HtWordList.cc (Load): Add load
method to read in data. Calls the new methods above.
* httools/htload.cc: Open word databases read-write and call
HtWordList::Load().
Sun Jun 11 14:39:28 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/Display.cc (generateStars): Fix problem when maxScore
== minScore as reported by Rajendra. Fixed problem PR#858.
(displayMatch): Ditto.
* htsearch/htsearch.cc: Fix memory corruption problem in reporting
syntax errors pointed out by Rajendra. Fixes PR#860.
Thu Jun 8 09:31:15 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htfuzzy/Accents.h, htfuzzy/Accents.cc: Apply Robert Marchand's
patch to his algorithm. Gets rid of writeDB function (falls back
on default one in Fuzzy.cc), changes addWord, and adds a new
getWords function to override default. These avoid overhead of
unaccented forms of words in accents database, but ensure that
unaccented form of search word is always searched.
Thu Jun 8 09:00:02 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/DocumentRef.h(DocScore, docScore),
htsearch/ResultMatch.cc(ScoreMatch::compare),
htsearch/ResultMatch.h(setScore, getScore, score),
htsearch/Display.cc(displayMatch, generateStars, buildMatchList):
Apply Terry Luedtke's patch for score calculations, to calculate
min & max from log(score).
Thu Jun 8 08:47:03 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* contrib/doc2html/doc2html.pl: Apply David Adams' fix for missing
quote.
Wed Jun 07 10:53:53 2000 Loic Dachary <loic at senga.org>
* db/db.c (CDB___db_dbenv_setup): open mode is 0666 instead
of 0 otherwise the weakcmpr file is not open with the proper
mode.
Tue Jun 6 23:48:48 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* httools/htpurge.cc: Fix coredump problems by passing
dictionaries as pointers rather than full objects (this is
preferred anyway).
Sun Jun 4 22:17:14 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* test/t_htdig_local: Added test for local filesystem support.
* test/config/htdig.conf2.in: Change to be a config file for
local_urls testing.
* test/Makefile.am: Add t_htdig_local to list.
Tue May 30 23:52:45 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* httools/htmerge.cc: Move to httools directory, remove "cleanup"
functionality now in htpurge and merge in htmerge.h and db.cc files.
* httools/Makefile.am: Add htmerge now moved to this directory.
* */Makefile.in: Update with automake.
* Makefile.am (SUBDIRS): Remove htmerge, now found in httools.
* configure.in: Ditto.
* configure: Update with autoconf.
* test/test_functions.in: Add paths for htpurge, htstat, htload,
htdump and update path for htmerge.
* test/t_htdig: Change htmerge to htpurge to clean out incorrect URLs.
* installdir/rundig: Change htmerge to htpurge. This needs serious
additional cleanup for use in 3.2 since many conventions have changed!
Tue May 23 22:21:14 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* README: Fix for 3.2.0b3 and clean up organization a bit for new
directory structure.
Wed May 17 23:22:31 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/HTML.cc (do_tag): Add support for TITLE attributes in
anchor and related tags.
Fri May 12 17:54:09 2000 Loic Dachary <loic at senga.org>
* db/acinclude.m4: bigfile support is disabled by default.
* db/mp_region.c (CDB___memp_close): clear weakcmpr pointer
when closing region so that memory pool files are not
released twice.
Wed May 10 22:26:21 2000 Loic Dachary <loic at senga.org>
* */*.cc: all include htconfig.h
* htlib/HtTime.h: remove htconfig.h inclusion (never in headers)
* htlib/*.h,*.cc: Fix copyright GNU Public -> Gnu General Public
and 1999, 2000 instead of 1999.
Tue May 09 16:38:07 2000 Loic Dachary <loic at senga.org>
* htsearch/Collection.cc (Collection): set searchWords and
searchWordsPattern to null in constructor. Delete in destructor.
Also delete matches in destructor.
* test/word.cc (doskip_harness): free cursor after use.
* test/word.cc (doskip_overflow): free cursor after use.
* test/dbbench.cc (find): free cursor after use.
* htsearch/htsearch.cc (main): free searchWords and searchWordsPattern
after usage.
* htdb/htdb_{load,dump,stat}.cc (main): call WordContext::Finish
to free global context for inverted index.
* htdb/htdb_stat.cc (btree_stats): free stat structure.
* htlib/List.h (class List): Add Shift/Unshift/Push/Pop methods.
* htlib/List.h (class List): Add Remove(int position) method.
Tue May 09 00:22:33 2000 Loic Dachary <loic at senga.org>
* htsearch/htsearch.cc (main): kill useless call to
StringList::Release
* htsearch/HtURLSeedScore.cc (ScoreAdjustItem): remove useless
call to StringList::Destroy.
* htlib/HtWordCodec.cc (HtWordCodec): Fix usage of StringList
that was inserting pointers to volatile strings instead of
permanent copies. I suspect that the tweak on StringList was
primarily done to satisfy this piece of code. After reviewing
all the usage of StringList, it's the only one to use it in this
fashion.
* htlib/QuotedStringList.h (class QuotedStringList): remove
noop destructor to enable Destroy of the underlying StringList
when deleted.
Mon May 08 18:17:02 2000 Loic Dachary <loic at senga.org>
* htlib/StringList.h (class StringList): change methods
Add/Insert/Assign that were copying the String* given in argument.
This behaviour is confusing since it has a different semantic
than the base class List.
Mon May 08 17:16:00 2000 Loic Dachary <loic at senga.org>
* htdig/Retriever.cc (GetLocal): fix leaked defaultdocs
Mon May 08 04:27:47 2000 Loic Dachary <loic at senga.org>
* htlib/StringList.cc (Create): remove SRelease. Deleting
the strings is taken care of by the destructor thru
Destroy. If destruction of the Strings is not desirable
Release should be used. SRelease was added apparently after
a virtual constructor doing nothing was added to hide the
default call to Destroy therefore leaking memory.
Mon May 08 01:28:25 2000 Loic Dachary <loic at senga.org>
* test/txt2mifluz.cc,word.cc,search.cc: fix minor memory leaks.
Sun May 07 19:24:12 2000 Loic Dachary <loic at senga.org>
* Makefile.config (HTLIBS): add libht at end because htdb
now depends on htlib.
* configure.in,htlib/Makefile.am: use LTLIBOBJS as suggested
by the libtool documentation.
Sun May 07 17:09:22 2000 Loic Dachary <loic at senga.org>
* test/Makefile.am (clean-local): clean conf to prevent
inconsistencies when re-configuring in a directory that
is not the source directory.
Sun May 07 05:07:23 2000 Loic Dachary <loic at senga.org>
* db/mkinstalldir,test/benchmark: Add for installation purpose
Sun May 07 02:17:03 2000 Loic Dachary <loic at senga.org>
* Makefile.am (distclean-local): Xtest instead of test
that confuse some shells.
Sun May 07 02:02:46 2000 Loic Dachary <loic at senga.org>
* htword/WordDB.cc: Move Open to WordDB.cc.
Sun May 07 01:32:47 2000 Loic Dachary <loic at senga.org>
* test/t_*: check/fix scripts. All regression tests pass
on RedHat-6.2.
Sun May 07 00:54:30 2000 Loic Dachary <loic at senga.org>
* */*.cc: fix warnings and large file support inclusion
files on Solaris.
Sat May 06 21:55:58 2000 Loic Dachary <loic at senga.org>
* test/: import regression tests from mifluz
* htlib/DB2_db.cc (db_init): fix flags used when creating the
environment to include a memory pool.
* htcommon/defaults.cc: change wordkey_description format.
update all wordlist_* attributes
Sat May 06 04:46:03 2000 Loic Dachary <loic at senga.org>
* htmerge/words.cc (mergeWords): WordSearchDescription becomes
WordCursor.
* httools/htpurge.cc (purgeWords): WordSearchDescription becomes
WordCursor.
Sat May 06 02:01:40 2000 Loic Dachary <loic at senga.org>
* htdb/*: upgrade to Berkeley DB 3.0.55. Very different.
* htlib/getcwd.c,memcmp.c,memcpy.c,memmove.c,raise.c,snprintf.c,
strerror.c,vsnprintf.c,clib.h: Add compatibility support
* htcommon/DocumentDB.cc (LoadDB): remove unused variable
* htlib/DB2_db.cc: adapt to Berkeley DB 3.0.55 syntax.
* htlib/Database.h (class Database): remove DB_INFO, does
not exist in Berkeley DB 3.0.55
* htlib/*: run ../db/prefix-symbols.sh
* Makefile.config (INCLUDES): fix db include dirs
* acconfig.h: Big file support + replacement functions
* acinclude.m4,configure.in : db instead of db/dist + bug fixes
Fri May 5 08:33:59 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* db/*: Merge in changes from Loic's mifluz tree. This will break
everything, but Loic promises he'll fix it ASAP after I make this
change.
Mon Apr 24 21:58:22 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/htdig.cc (main): Make the -l stop & restart mode the
default. This will catch signals and quit gracefully. The
command-line parser will still accept -l, it will just ignore it.
(usage): Remove -l portion.
(main): Fix -m option to read in a file as it's
supposed to do! Also set max_hops correctly so really only indexes
the URLs in that file.
* htdoc/htdig.html: Remove -l from documentation since it's now
the default.
Mon Apr 24 21:22:53 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Server.cc (push): Fix bug where changes in the robots.txt
would be ignored. If a URL was indexed and later the robots.txt
changed to forbid it, the URL would still be updated.
Wed Apr 19 22:13:02 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* Merging in changes from mifluz 0.14 from Loic.
* htlib/Configuration.cc (Read): Removed dependency on fstream.h,
use fopen, fprintf, fgets, fclose instead of iostream.
* htlib/HtPack.cc, htlib/HtVectorGeneric.h, htlib/Object.h,
htlib/ParsedString.cc, htlib/String.cc: Remove use of cerr,
instead use fprintf(stderr ...).
* htlib/Dictionary.cc, htlib/HtVectorGeneric.cc, htlib/List.cc,
htlib/Object.cc, htlib/StringList.cc, htlib/htString.h,
htlib/strcasecmp.cc: Add #ifdef blocks for htconfig.h
Wed Apr 12 19:09:40 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* .version: Bump to 3.2.0b3.
* htdoc/htload.html, htdoc/htpurge.html, htdoc/htstat.html: Fix
typos in headers.
* htdoc/main.html: Fix link to download to actually point to 3.2.0b2.
Tue Apr 11 00:21:48 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/htsearch.cc (setupWords): Does not apply fuzzy
algorithms to phrase queries. This helps prevent the infinite
loops described on the mailing list.
* htcommon/conf_parser.yxx (list): Add conditions for lists
starting with string-number, number-string, and number-number.
* htcommon/conf_parser.cxx: Regenerate using bison.
* htdoc/RELEASE.html: Update release notes for recent bug fixes
and likely release date for 3.2.0b2.
* htdoc/main.html: Add a blurb about the 3.2.0b2 release.
* htdoc/*.html: Remove author notes in the footer as requested by
Andrew. To balance it out, the copyright notice at the top links
to THANKS.html.
Sun Apr 9 15:21:12 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/conf_parser.yxx (list): Fix problem with
build_select_lists--parser didn't support lists including numbers.
* htcommon/conf_parser.cxx: Regenerate using bison.
Sun Apr 9 12:53:02 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdoc/RELEASE.html: Add a first draft of 3.2.0b2 release notes.
Sun Apr 9 12:31:13 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* httools/Makefile.am, httools/Makefile.in: Add htload to
compilation list.
* htcommon/DocumentDB.h: Add optional verbose options to DumpDB
and LoadDB.
* htcommon/DocumentDB.cc (LoadDB): Implement loading and parsing
an ASCII version of the document database. Records on disk will
replace any matching records in the db.
(DumpDB): Add all fields in the DocumentRef to ensure the entire
database is written out.
* htcommon/DocumentRef.h: Add new method for setting DocStatus
from an int type.
* htcommon/DocumentRef.cc (DocStatus): Set it using a switch
statement. (It's not pretty, but it works.)
* httools/htload.cc: New file. Loads in ASCII versions of the
databases, replacing existing records if found.
* httools/htdump.cc: Pass verbose flags to DumpDB method. Make
sure to close the document DB before quitting.
* httools/htpurge.cc: Add -u option to specify a URL to purge from
the command-line.
* httools/htstat.cc: Add -u option to output the list of URLs in
the document DB as well.
Sat Apr 8 16:35:55 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/defaults.cc: Change all <b>, <i>, and <tt> tags to the
HTML-4.0 compliant <strong>, <em>, and <code> tags.
* installdir/long.html, installdir/header.html,
installdir/nomatch.html, installdir/syntax.html,
installdir/wrapper.html: Ditto.
* htdoc/*.html: Ditto. (Don't you just love sed?)
* htsearch/TemplateList.cc (createFromString): Ditto.
* htdoc/htpurge.html, htdoc/htdump.html, htdoc/htload.html,
htdoc/htstat.html: New files documenting usage of httools
programs.
* htdoc/contents.html: Add links to above.
* htdoc/htdig.html: Update table with -t format to match htdump.
Fri Apr 7 00:30:01 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* README: Update to mention 3.2.0b2 and use correct copyright. (It
is 2000 after all!)
* htdoc/FAQ.html, htdoc/where.html, htdoc/uses.html,
htdoc/isp.html: Update with most recent versions from maindocs.
* htdoc/RELEASE.html: Add release notes for 3.1.5 to the
top. (It's out of version ordering, but it is in correct
chronological order.)
Fri Apr 7 00:11:29 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* httools/htpurge.cc (main): Read in URLs from STDIN for purging,
one per line. Pass them along to purgeDocs for removal. Also, make
discard_list into a local variable and pass it from purgeDocs to
purgeWords.
(purgeDocs): Accept a hash of URLs to delete (user input) and
return the list of doc IDs deleted.
(usage): Note the - option to read in URLs to be deleted from STDIN.
Thu Apr 6 00:10:23 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Retriever.cc (got_redirect): Allow the redirect to accept
relative redirects instead of just full URLs.
Wed Apr 5 15:07:52 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc: Added #if test to make sure DBL_MAX is
defined on Solaris, as reported by Terry Luedtke.
Tue Apr 4 12:46:37 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* contrib/doc2html/*: Added parser submitted by D.J.Adams at soton.ac.uk
Mon Apr 3 13:48:59 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc: Fix error in description of new attribute
plural_suffix.
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Regenerate using cf_generate.pl.
Fri Mar 31 21:48:02 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* configure.in, configure: Add test using AC_TRY_RUN to compile
against the htlib/regex.c and attempt to compile a regexp. This
should allow us to find out if the included regex code causes
problems.
* acconfig.h: Add HAVE_BROKEN_REGEX as a result of the configure
script to conditionally include the appropriate regex.h file.
* include/htconfig.h.in: Regenerate using autoheader.
* htlib/regex.c: Move #include "htconfig.h" inside HAVE_CONFIG_H
tests. This file is only created when this is true anyway. This
prevents problems with the configure test.
* htlib/HtRegex.h, htfuzzy/EndingsDB.cc: Use HAVE_BROKEN_REGEX
switch to use the system include instead of the local include
where appropriate.
* htlib/Makefile.am, htlib/Makefile.in: Only compile regex.lo if
the configure script added it to LIBOBJS.
Thu Mar 30 22:41:38 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/URL.cc (normalizePath): Remove Gilles's loop to add
back ../ components to a path that would go above the top
level. Now we simply discard them. Both are allowed under the RFC,
but this should have fewer "surprises."
Tue Mar 28 21:57:49 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htnet/Connection.cc (Read_Partial): Fix bug reported by Valdas
where a zero value returned by select would result in an infinite
loop.
* htcommon/defaults.cc: Add new attribute plural_suffix to set the
language-dependent suffix for PLURAL_MATCHES contributed by Jesse.
* htsearch/Display.cc (setVariables): Use it.
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Regenerate using cf_generate.pl.
Mon Mar 27 22:28:20 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/DocumentRef.cc (Deserialize): Add back stub for
DOC_IMAGESIZE to prevent decoding errors. This just throws away
that field.
* htcommon/HtSGMLCodec.h (class HtSGMLCodec): Differentiate
between codec used for &foo; and numeric form &#nnn; Make sure
encoding goes through both but decoding only goes through the
preferred text form.
* htcommon/HtSGMLCodec.cc (HtSGMLCodec): When constructing the
private HtWordCodec objects, create separate lists for the number
and text codecs.
Mon Mar 27 21:25:27 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/HtURLSeedScore.cc (ScoreAdjustItem): Change to use
HtRegex for flexibility and to get around const char * -> char *
problems.
* htsearch/SplitMatches.cc (MatchArea): Ditto.
* htsearch/Makefile.am, htsearch/Makefile.in: Add SplitMatches.cc
and HtURLSeedScore.cc to compilation list!
Mon Mar 27 21:03:12 2000 Hans-Peter Nilsson <hp at bitrange.com>
* htcommon/defaults.cc (defaults): Add default for
search_results_order, url_seed_score.
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Regenerated using cf_generate.pl.
* htlib/List.h (List): New method AppendList.
* htlib/List.cc (List::AppendList): Implement it.
* htsearch/SplitMatches.h, htsearch/SplitMatches.cc: New.
* htsearch/HtURLSeedScore.cc, HtURLSeedScore.h: New.
* htsearch/Display.h (class Display: Add member minScore.
Change maxScore type to double.
* htsearch/Display.cc: Include SplitMatches.h and HtURLSeedScore.h
(ctor): Initialize minScore, change init value for
maxScore to -DBL_MAX.
(buildMatchList): Use a SplitMatches to hold search results and
interate over its parts when sorting scores.
Ignore Count() of matches when setting minScore and maxScore.
Use an URLSeedScore to adjust the score after other calculations.
Calculate minScore.
Correct maxScore adjustment for change to double.
(displayMatch): Use minScore in calculation of score to adjust for
negative scores.
(sort): Calculation of maxScore moved to buildMatchList.
Mon Mar 27 20:22:24 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/DocumentRef.h, htcommon/DocumentRef.cc: Remove
DocImageSize field since it is not used anywhere and is never updated.
* htdig/Retriever.h (class Retriever): Remove references to Images class.
* htcommon/DocumentDB.cc (DumpDB): Ignore DocImageSize field.
* htdig/Makefile.am, htdig/Makefile.in: Remove Images.cc since
this is no longer used.
* htdig/Plaintext.cc: Do not insert SGML equivalents into the
excerpt, these are decoded by HtSGMLCodec automatically.
Sat Mar 25 21:58:36 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdoc/cf_generate.pl (html_escape): Changed <b></b> and <i></i>
tags to HTML 4.0 <strong> and <em> tags.
Sat Mar 25 17:23:46 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdb/Makefile.am, htdb/Makefile.in: Change the names of the htdb
utility programs to escape name conflicts with httool programs.
* htdb/htdb_load.cc: Rename htload.cc to escape name conflict and
more closely match orignal db_load program name.
* htdb/htdb_dump.cc, htdb/htdb_stat.cc: Ditto.
* htfuzzy/Prefix.cc (getWords): Add code to "weed out" duplicates
returned from WordList::Prefix. We only want to add unique words
to the search list.
Fri Mar 24 22:33:20 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Document.cc (Document): Fix bug reported by Mentos
Hoffman, contributed by Atlee Gordy <agordy at moonlight.net>.
Mon Mar 20 23:14:26 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/DocumentDB.cc (Delete): Fix bug reported by Valdas
where duplicate document records could "sneak in" because the
doc_index entry was removed incorrectly.
Mon Mar 20 19:08:14 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/defaults.cc: Added block field and added appropriate blocks.
* htlib/Configuration.h (struct ConfigDefaults): Add block field.
* htdoc/cf_generate.pl: Parse the new block field.
* htdoc/cf_byname.html, htdoc/cf_byprog.html, htdoc/attrs.html:
Regenerate using above.
* htcommon/DocumentDB.cc (DumpDB): Make sure we decompress the
DocHead field before we write it to disk!
* httools/htdump.cc, httools/htstat.cc: Call
WordContext::Initialize() before doing any htword calls.
Mon Mar 20 14:10:30 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* httools/htpurge.cc: Whoops! Left some references to htmerge in
the error messages and usage message.
* httools/htstat.cc: New program. Simply spits up the total number
of documents, words and unique words in the databases.
* httools/htdump.cc: New program. Simply dumps the contents of the
document DB and the word DB to doc_list and word_dump files
respectively. Also has flags -w and -d to pick one or the other.
* httools/Makefile.am, httools/Makefile.in: Add htdump and htstat
programs to compilation list.
* htcommon/DocumentDB.cc (DumpDB): Change name of CreateSearchDB
and add fields for DocBackLinks, DocSig, DocHopCount, DocEmail,
DocNotification, and DocSubject. This should now export every
portion of the document DB.
* htcommon/DocumentDB.h: Change name of CreateSearchDB and add
stub for LoadDB, to be written shortly.
* htdig/htdig.cc: Call DumpDB instead of CreateSearchDB when
creating an ASCII version of the DB.
Sat Mar 18 22:57:02 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* httools/Makefile.am, httools/Makefile.in: New directory for
useful database utilities.
* httools/htnotify.cc: Moved htnotify to httools directory.
* httools/htpurge.cc: New program--currently just purges documents
(and corresponding words) in the databases. Will shortly also
allow deletion of specified URLs.
* Makefile.am, configure.in: Remove htnotify directory in favor of
httools directory.
* configure: Regenerate using autoconf.
* Makefile.in: Regenerate using automake --foreign.
Fri Mar 17 16:47:37 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc (excerpt, hilight): Correctly handle case
where there is no pattern to highlight.
* htsearch/htsearch.cc (addRequiredWords), htcommon/defaults.cc:
Add any_keywords attribute, to OR keywords rather than ANDing,
fix addRequiredWords not to mess up expression when there are
no search words, but required words are given.
* htdoc/hts_form.html: Mention new attribute, add links to all
mentioned attributes.
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Regenerate using cf_generate.pl.
Fri Mar 17 15:48:12 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htfuzzy/Accents.cc (generateKey): Truncate words to
maximum_word_length, for consistency with what's found in word DB.
Fri Mar 17 10:56:17 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HTML.cc (do_tag): Use case insensitive parsing of META
robots tag content.
* htlib/String.cc (uppercase): Fix misplaced cast for islower().
Mon Mar 6 17:31:37 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/htsearch.cc (setupWords): Don't allow comma as string
list separator, as it can be a decimal point in some locales.
Mon Mar 06 00:58:00 2000 Loic Dachary <loic at ceic.com>
* db/mp/mp_bh.c (__memp_bhfree): always free the chain, if
any. The bh is reset to null after free and we loose the
pointer anyway, finally filling the pool with it.
* db/mp/mp_cmpr.c (__memp_cmpr_write): i < CMPR_MAX - 1 instead of
i < CMPR_MAX otherwise go beyond array limits. This fixes a
major problem when handling large files.
Sat Mar 04 19:41:49 2000 Loic Dachary <loic at ceic.com>
* db/mp/mp_cmpr.c (__memp_cmpr_free_chain): clear BH_CMPR
flag. Was causing core dumps, thanks to
Peter Marelas maral at phase-one.com.au for providing
a simple case to reproduce the error.
Fri Mar 3 11:32:34 2000 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* Fixed bugs regarding yesterday's changes. Even Leonardo da Vinci
used to commit errors, so ...
Fri Mar 3 11:25:42 2000 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* testnet.cc: added the -r and -w options in order to set how many
times it retries to re-connect after a timeout occurs, and how long
it should wait after it.
Thu Mar 2 18:45:15 2000 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* htnet/Connection.*: management of wait_time and number of retries
after a timeout occurs.
* htnet/Transport.*: Management of connection attributes above.
* htdig/Server.*: Set members for managing timeout retries taken from
the configuration file ("timeout", "tcp_max_retries", "tcp_wait_time").
* htdig/Document.cc: Added the chance to configure on a server basis
"persistent_connections", "head_before_get", "timeout",
"tcp_max_retries", "tcp_wait_time". Changed Retrieve method accepting
now a server object pointer: Retrieve (server*, HtDateTime).
* htdig/Retriever.cc: Added the chance to configure on a server basis
"max_connection_requests" attribute.
* htcommon/defaults.cc: Added "tcp_max_retries", "tcp_wait_time" -- Need
to be go over by someone who speaks english better than me. Not a hard
work !!! ;-)
Wed Mar 1 17:01:09 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc (excerpt, hilight): move SGML encoding into
hilight() function, because when it's done earlier it breaks
highlighting of accented characters.
Wed Mar 1 16:02:49 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htfuzzy/htfuzzy.cc (main): Correctly test return value on Open()
of word database, include db name in error message if Open() fails,
do a WordContext::Initialize() before we need htword functions.
(Obviously I'm the first to test htfuzzy in 3.2!)
* htfuzzy/Accents.cc (generateKey): cast characters to unsigned char
before using as array subscripts.
Wed Mar 1 13:27:26 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc: Added accents_db attribute, mentioned accents
algorithm in search_algorithms section.
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Regenerate using cf_generate.pl.
* installdir/htdig.conf: Added mentions of accents, speling & substring,
fixed a couple typos in comments.
* htdoc/htfuzzy.html: Added blurb on accents algorithm.
* htdoc/require.html: Added mentions of accents, speling, substring,
prefix & regex.
* htdoc/config.html: Updated with sample of latest htdig.conf and
installdir/*.html, added blurb on wrapper.html.
Wed Mar 1 00:30:19 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* configure.in, configure: Add test for FD_SET_T, the second (also
third and fourth) argument in calls to select(). Should solve PR#739.
* acconfig.h, include/htconfig.h.in: Add declaration for FD_SET_T.
* htnet/Connection.cc (ReadPartial): Change declaration of fds to
use FD_SET_T define set by the configure script.
Tue Feb 29 23:11:49 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/DB2_db.cc (Error): Simply fprint the error message on
stderr. This is not a method since the db.h interface expects a C
function.
(db_init): Don't set db_errfile, instead set errcall to point to
the new Error function.
Tue Feb 29 15:09:41 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htfuzzy/Accents.h, htfuzzy/Accents.cc: Adapted writeDB() for 3.2.
Tue Feb 29 14:29:37 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htfuzzy/Accents.h, htfuzzy/Accents.cc: Added these, as contributed
by Robert Marchand, to implement accents fuzzy match. Adapted to 3.2.
* htfuzzy/Fuzzy.cc, htfuzzy/htfuzzy.cc, htfuzzy/Makefile.am,
htfuzzy/Makefile.in: Added in accents algorithm, as for soundex.
Tue Feb 29 11:31:53 2000 Loic Dachary <loic at ceic.com>
* test/testnet.cc (Listen): Add -b port to listen to a specific
port. This is to test connect timeout conditions.
* htnet/Connection.cc (Connect): Added SIGALRM signal handler,
Connect() always allow EINTR to occur.
Mon Feb 28 15:32:46 2000 Loic Dachary <loic at ceic.com>
* htword/WordKey.h (class WordKey): explicitly add inline keyword
for all inline functions.
Mon Feb 28 13:10:34 2000 Loic Dachary <loic at ceic.com>
* htword/WordKey.h (class WordKey): nfields data member caches
result of NFields() method.
* htword/WordDBPage.h (class WordDBPage): nfields data member caches
result of WordKey::NFields() method.
* acinclude.m4 (APACHE): check in lib/apache for modules
Sat Feb 26 22:05:03 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/Collection.h, htsearch/Collection.cc: New files
contributed by Rajendra Inamdar <inamdar at beasys.com>.
* htsearch/Makefile.am, htsearch/Makefile.in: Compile them.
* htcommon/defaults.cc: Add new collection_names attribute as
described by Rajendra.
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Regenerate using cf_generate.pl.
* htsearch/Display.h, htsearch/Display.cc: Loop through
collections as we are assembling results.
(buildMatchList): Use 1.0 as minimum score and take log(score) as
the final score. This requires an increase in magnitude in weight
to correspond to a factor of increase in score.
* htsearch/DocMatch.h, htsearch/DocMatch.cc: Keep track of the
collection we're in.
* htsearch/ResultMatch.h: Ditto.
* htsearch/htsearch.h, htsearch/htsearch.cc: Wrap results in
collections.
* htsearch/parser.h, htsearch/parser.cc: Set the collection for
the results--we use this to get to the appropriate word DB.
(score): Divide word weights by word frequency to calibrate for
expected Zipf's law. Rare words should count more.
Fri Feb 25 11:19:47 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc (maximum_pages): Describe new bahaviour (as of
3.1.4), where this limits total matches shown.
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Regenerate using cf_generate.pl.
Thu Feb 24 14:43:06 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htnet/HtFile.cc (Request): Fix silly typo.
* htlib/DB2_db.cc: Remove include of malloc.h, as it causes problems
on some systems (e.g. Mac OS X), and all we need should be in stdlib.h.
Thu Feb 24 13:11:15 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htnet/HtFile.cc (Request): Don't append more than _max_document_size
bytes to _contents string, set _content_length to size returned by
stat().
* htnet/HtHTTP.cc (HTTPRequest): Extra tests in case Content-Length
not given for non-chunked input, and not to close persistent
connection when chunked input exceeds _max_document_size.
(ReadChunkedBody): Don't append more than _max_document_size bytes
to _contents string.
Thu Feb 24 11:40:24 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HTML.cc (do_tag): Fix handling of img alt text to be consistent
with body text, rather than keywords.
* htdig/Retriever.cc (ctor): Treat alt text as plain text, until it has
its own FLAG and factor.
Thu Feb 24 11:16:37 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc (version): Moved example over to correct field.
(defaults[] terminator): Padded zeros to new number of fields.
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Regenerate using cf_generate.pl.
Thu Feb 24 19:08:41 2000 Loic Dachary <loic at ceic.com>
* htmerge/words.cc: only display Word in verbose message instead
of complete key if verbosity < 3.
Thu Feb 24 10:43:12 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc (external_protocols, external_parser):
Swapped these two entries to put them in alphabetical order.
(star_blank): Fixed old typo (incorrect reference to image_star).
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Regenerate using cf_generate.pl.
Wed Feb 23 16:53:40 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc (backlink_factor, external_parser,
local_default_doc, local_urls, local_urls_only, local_user_urls):
Add some updates from 3.1.5's attrs.html.
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Regenerate using cf_generate.pl.
Wed Feb 23 15:11:51 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
[ Improve htsearch's HTML 4.0 compliance ]
* htsearch/TemplateList.cc (createFromString): Use file name rather
than internal name to select builtin-* templates, use $&(TITLE) and
$&(URL) in templates and quote HTML tag parameters.
* installdir/long.html, installdir/short.html: Use $&(TITLE) and
$&(URL) in templates and quote HTML tag parameters.
* htsearch/Display.cc (setVariables): quote all HTML tag parameters
in generated select lists.
* installdir/footer.html, installdir/header.html,
installdir/nomatch.html, installdir/search.html,
installdir/syntax.html, installdir/wrapper.html:
Use $&(var) where appropriate, and quote HTML tag parameters.
* installdir/htdig.conf: quote all HTML tag parameters.
Wed Feb 23 13:40:27 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/URL.h (encodeURL): Change list of valid characters to
include only unreserved ones.
* htcommon/cgi.cc (init): Allow "&" and ";" as input param. separators.
* htsearch/Display.cc (createURL): Encode each parameter separately,
using new unreserved list, before piecing together query string, to
allow characters like "?=&" within parameters to be encoded.
Wed Feb 23 13:22:29 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/URL.cc (ServerAlias): Fix server_aliases processing to prevent
infinite loop (as for local_urls in PR#688).
Wed Feb 23 12:49:52 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/HtDateTime.h, htlib/HtDateTime.cc: change Httimegm() method
to HtTimeGM(), to avoid conflict with Httimegm() C function, so we
don't need "::" override, for Mac OS X.
* htlib/htString.h, htlib/String.cc: change write() method to
Write(), to avoid conflict with write() function, so we don't need
"::" override, for Mac OS X.
Wed Feb 23 12:17:46 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/Configuration.cc(Read): Fixed to allow final line without
terminating newline character, rather than ignoring it.
Wed Feb 23 12:01:01 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Retriever.cc (GetLocal, GetLocalUser): Add URL-decoding
enhancements to local_urls, local_default_urls & local_default_doc,
to allow hex encoding of special characters.
Wed Feb 23 19:14:29 2000 Loic Dachary <loic at ceic.com>
* htcommon/conf_parser.cxx: regenerated from conf_parser.yxx
Wed Feb 23 19:04:16 2000 Loic Dachary <loic at ceic.com>
* test/test_functions.in: inconditionaly remove existing test/var
directory before runing tests to prevent accidents.
* htcommon/URL.cc (URL): fixed String->char warning
* htcommon/defaults.cc (wordlist_compress): defaults to true
Tue Feb 22 17:09:10 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HTML.cc(parse, do_tag): Fix handling of <img alt=...> text
and parsing of words in meta tags, to to proper word separation.
* htlib/HtWordType.h, htlib/HtWordType.cc: Add HtWordToken() function,
to replace strtok() in HTML parser.
Tue Feb 22 16:21:25 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/URL.cc (ctor, normalizePath): Fix PR#779, to handle relative
URLs correctly when there's a trailing ".." or leading "//".
Tue Feb 22 14:09:26 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Document.cc (RetrieveLocal): Handle common extensions for
text/plain, application/pdf & application/postscript.
Mon Feb 21 17:25:21 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* contrib/htdig-3.2.0.spec: Fixed %post script to add more
descriptive entries in htdig.conf, made cron script a config file,
updated to 3.2.0b2.
* contrib/conv_doc.pl, contrib/parse_doc.pl: Added comments to show
Warren Jones's updates in change history.
Mon Feb 21 17:09:13 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/HtConfiguration.h, htcommon/conf_parser.yxx,
htlib/Configuration.h, htlib/Configuration.cc: split Add() method
into Add() and AddParsed(), so that only config attributes get parsed.
Use AddParsed() only in Read() and Defaults().
Fri Feb 18 22:50:54 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htnet/Connection.h, htnet/Connection.cc: Renamed methods with
capitals to remove the need to use ::-escaped library calls.
* htnet/Transport.h, htnet/Transport.cc, htnet/HtHTTP.cc,
htdig/Images.cc: Fix code using Connection to use the newly
capitalized methods.
Fri Feb 18 14:40:50 2000 Loic Dachary <loic at ceic.com>
* test/conf/access.conf.in: removed cookies. Not used and some
httpd are not compiled with usertrack.
Wed Feb 16 12:15:08 2000 Vadim Chekan <vadim at etc.lviv.ua>
* htcommon/Makefile.am replaced conf.tab.cc.h by conf_parser.h in
noinst_HEADERS
* htcommon/conf_parser.yxx,conf_parser.lxx,HtConfiguration.cc,
HtConfiguration.h: added copyright and Id:
* htcommon/cgi.cc(init): fixed bug: array must be free by
delete [] buf, not just delete buf;
Tue Feb 15 23:16:14 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htnet/HtHTTP.cc (isParsable): Remove application/pdf as a
default type--it is now handled through the ExternalParser
interface if at all.
* htcommon/defaults.cc: Remove pdf_parser attribute.
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Regenerate using cf_generate.pl.
* htdig/Document.cc (getParsable): Remove PDF once and for all
(hopefully).
* htdig/ExternalParser.cc (parse): Ditto.
* configure.in: Remove check for PDF_PARSER.
* configure: Regenerate using autoconf
* htdig/Makefile.am: Remove PDF.cc and PDF.h.
* Makefile.in, */Makefile.in: Regenerate using automake --foreign
Tue Feb 15 12:02:39 EET 2000 Vadim Chekan <vadim at etc.lviv.ua>
* htcommon/HtConfiguration.cc,HtConfiguration.h: fixed bug discovered
by Gilles. HtConfiguration was able to get info only from "url" and
"server" block.
* htcommon/conf_parser.yxx: deleted 1st parameter for new char[],
lefted when realloc was replaced by new char[]. Removed a few unused
variable declaration.
* htcommon/Makefile.am: added -d flag to bison to generate
conf_parser.h template from conf_parser.yxx;
conf_lexer.lxx uses #include conf_parser.h;
conf.tab.cc.h removed.
Sun Feb 13 21:19:04 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/defaults.cc: Get rid of uncoded_db_compatible since
the current DB format has clearly broken backwards compatibility.
* htsearch/Display.cc (Display), htnotify/htnotify.cc (main),
htmerge/docs.cc (convertDocs), htmerge/db.cc (mergeDB),
htdig/htdig.cc (main): Remove call to DocumentDB::setCompatibility().
* htcommon/DocumentDB.h (class DocumentDB): Remove
setCompatibility and related private variable.
* htcommon/DocumentDB.cc ([], Delete): Don't bother checking for
an unencoded URL, at this point all URLs will be encoded using
HtURLCodec.
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Regenerate using cf_generate.pl.
Sat Feb 12 21:29:20 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/HtSGMLCodec.cc (HtSGMLCodec): Always translate "
& < and >
* htcommon/defaults.cc: Remove translate_* and word_list
attributes since they're now no longer used.
* htdig/PDF.cc (parseNonTextLine): Fix bogus escape sequences
around Title parsing. Fixes PR#740.
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Regenerate using cf_generate.pl.
Fri Feb 11 11:41:36 2000 Loic Dachary <loic at ceic.com>
* htlib/Makefile.am: removed CFLAGS=-g (use make CXXFLAGS=-g all
instead).
* htdoc/install.html: specify header/lib install directory now
is prefix/include/htdig and prefix/lib/htdig.
* Makefile.am (distclean-local): use TESTDIR instead of deprecated
HTDIGDIRS.
* */Makefile.am: install libraries in prefix/lib/htdig and
includes in prefix/include/htdig. Just prepend pkg in front of
automake targets.
* include/Makefile.am: install htconfig.h
Thu Feb 10 23:18:37 2000 Loic Dachary <loic at ceic.com>
* Connection.cc (Connection): set retry_value to 1 instead of
0 as suggested by Geoff.
Thu Feb 10 17:36:09 2000 Loic Dachary <loic at ceic.com>
* htdig/Document.cc: fix (String)->(char*) conversion warnings.
* htword/WordList.cc: kill Collect(WordSearchDescription) which
was useless and error prone.
* htword/WordDB.h (WordDBCursor::Get): small performance improvement
by copying values only if key found.
* htword/WordDB.h,WordList.cc: fix reference counting bug when
using Override (+1 even if entry existed). Turn WordDB.h return
values to be std Berkeley DB fashion instead of the mixture with
OK/NOTOK that was a stupid idea. This allows to detect Put errors
and handle them properly to fix the Override bug without performance
loss.
* test/conf/httpd.conf.in: comment out loading of mod_rewrite
since not everyone has it.
Thu Feb 10 00:26:02 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/defaults.cc: Add new attribute "nph" to send out
non-parsed headers for servers that do not supply HTTP headers on
CGI output (e.g. IIS).
* htsearch/Display.cc (display): If nph is set, send out HTTP OK
header as suggested by Matthew Daniel <mdaniel at scdi.com>
(displaySyntaxError): Ditto.
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Regenerate from current defaults.cc file.
Thu Feb 10 00:21:58 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/HTML.cc (do_tag): Treat <script></script> tags as noindex
tags, much like <style></style> as suggested by Torsten.
Thu Feb 10 00:02:41 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* .version: Bump for 3.2.0b2.
* htcommon/defaults.cc: Add category fields for each
attribute. Though these are currently unused, they could allow the
documentation to be split into multiple files based on logical
categories and subcategories.
Wed Feb 9 23:52:55 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htnet/Connection.cc (connect): Add alarm(timeout) ... alarm(0)
around ::connect() call to ensure this does timeout as appropriate
as suggested by Russ Lentini <rlentini at atl.lmco.com> to resolve
PR#762 (and probably others as well).
(connect): Add a retry loop as suggested by Wilhelm Schnell
<Wilhelm.Schnell at mn.man.de> to resolve PR#754.
* htnet/HtHTTP.cc (HTTPRequest): Add CloseConnection() when the
connection fails on open before returning from the method. Should
take care of PR#670 for htdig-3-2-x.
Wed Feb 09 17:20:50 2000 Loic Dachary <loic at ceic.com>
* db/dist/Makefile.in (libhtdb.so): move dependent libraries
*after* the list of objects, otherwise it's useless.
* htword/WordKey.h (class WordKey): move #if SWIG around to
please swig (www.swig.org).
* htword/WordList.h (class WordList): allow SWIG to see Walk*
functions (#if SWIG).
Wed Feb 9 09:21:00 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Server.cc (robotstxt): apply more rigorous parsing of
multiple user-agent fields, and use only the first one.
* htlib/HtRegex.cc (set): apply the fix from Valdas Andrulis, to
properly compile case_sensitive expressions.
Mon Feb 09 09:43:59 2000 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* htnet/HtHTTP.cc: changed "<<" to append() for content_length
assignment in ReadChunkedBody() function (as Gilles suggested)
Tue Feb 08 10:54:08 2000 Loic Dachary <loic at ceic.com>
* db/dist/configure.in: Added AC_PREFIX_DEFAULT(/opt/www)
so that headers and libraries are installed in the proper
directory when no --prefix is given.
Tue Feb 08 10:32:48 2000 Loic Dachary <loic at ceic.com>
* test/t_wordskip: copy $srcdir/skiptest_db.txt to allow running
outside the source tree.
* configure.in: use '${prefix}/...' instead of "$ac_default_prefix/..."
that did not carry the --prefix value.
* configure.in: run CHECK_USER and AC_PROG_APACHE if --enable-tests
Mon Feb 07 17:40:47 2000 Loic Dachary <loic at ceic.com>
* htlib/htString.h (last): turn to const
Mon Feb 07 14:05:37 2000 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* htnet/HtHTTP.cc: fixed a bug in ReadChunkedBody() function
regarding document size assignment (raised by Valdas Andrulis)
Sun Feb 06 19:11:05 2000 Loic Dachary <loic at ceic.com>
* configure.in: Fix inconsistencies between default values
shown by ./configure and actual defaults.
* htdoc/install.html: change example version 3.1 to 3.2
Commented out warning about libguile.
Replace CONFIG variables by configure.in options.
Specify default value for each of them.
Replace (and move) make depend by automake (distributed
Makefiles do not include dependency generation)
Added section for running tests.
Added section on shared libraries.
* configure.in: use AM_CONDITIONAL for --enable-tests
* Makefile.am: use automake conditionals for subdir so
that make dist knows what to distribution --enable-tests
specified or not.
* db/Makefile.in: allow make dist to work outside the source
tree.
Sat Feb 05 18:31:04 2000 Loic Dachary <loic at ceic.com>
* test/word.cc (SkipTestEntries): The fix of
WordList::SkipUselessSequentialWalking actually saves us
a few hops when walking lists of words.
Fri Feb 04 17:28:32 2000 Loic Dachary <loic at ceic.com>
* htword/WordKey.cc,WordReference.cc,WordRecord.cc (Print): use
cerr instead of cout for immediate printing under debugger.
Thu Feb 3 16:06:45 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Document.cc (RetrieveLocal): fix bug that prevented local
filesystem digging, because max_doc_size was initialized to 0.
Now sets it to max_doc_size for current url.
Thu Feb 3 12:36:56 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* installdir/Makefile.{am,in}: install mime.types as mime.types,
not as htdig.conf.
* htfuzzy/EndingsDB.cc (createDB): fix code to use MV macro in
system() command, not hard-coded "MV" string literal, and use
get() on config objects to avoid passing String objects to form().
Wed Feb 2 19:44:33 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/HtDateTime.cc (SetRFC1123): Strip off weekday, if present
and use LOOSE format.
(SetRFC850): Ditto.
* configure.in, configure: Add configure check for "mv."
* htfuzzy/Makefile.am: Use it.
* */Makefile.in: Regenerate using automake.
* htfuzzy/EndingsDB.cc (createDB): Use the detected mv, or
whatever is in the path to move the endings DB when they're
finished.
Wed Feb 2 15:49:14 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Document.cc (RetrieveLocal), htdig/Retriever.cc (GetLocal):
Fix compilation errors. Oops!
Wed Feb 2 13:53:27 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Retriever.cc (IsValidURL): fix problem with valid_extensions
matching failure when URL parameters follow extension.
Wed Feb 2 13:29:48 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/QuotedStringList.cc (Create): fix PR#743, where quoted string
lists didn't allow embedded quotes of opposite sort in strings
(e.g. "'" or '"'), and fix to avoid overrunning end of string
if it ends with backslash.
Wed Feb 2 13:23:16 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HTML.cc (ctor, parse, do_tag), htcommon/defaults.cc:
Add max_keywords attribute to limit meta keyword spamming.
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Regenerate using cf_generate.pl.
Wed Feb 2 12:57:40 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Document.cc (RetrieveLocal), htdig/Document.h,
htdig/Retriever.cc (Initial, parse_url, GetLocal, GetLocalUser,
IsLocalURL, got_href, got_redirect), htdig/Retriever.h,
htdig/Server.cc (ctor), htdig/Server.h: Add in Paul Henson's
enhancements to local_urls, local_default_urls & local_default_doc.
* htcommon/defaults.cc: Document these.
Wed Feb 02 10:14:57 2000 Loic Dachary <loic at ceic.com>
* htword/WordKeyInfo.h,WordKey.{cc,h}: fix overflow bug when 32
bits. For that purpose implement Outbound/Overflow/Underflow
methods in WordKey, MaxValue in WordKey/WordKeyInfo.
(WordKey::SetToFollowing) was FUBAR : overflow of field1 tested
with number of bits in next field, do not handle overflow,
Re-implemented.
(WordKey::Set) Change atoi to strtoul.
(WordList::SkipUselessSequentialWalking) was much to fucked up
to explain. Re-implement
(WordKey::Diff) Added as a support function of
SkipUselessSequentialWalking.
implement consistent verbosity.
* htword/WordList.cc (operator >>): explicit error message when
insert failed, with line number.
Wed Feb 2 00:11:03 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdoc/RELEASE.html: Finish up with notes on all significant
new attributes.
* htdoc/FAQ.html, htdoc/where.html: Mention new 3.2.0b1 release
as a beta.
* contrib/README: Update to mention new scripts.
* installdir/mime.types: Add default Apache mime.types file for
systems that do not already have one.
* installdir/Makefile.am: Make sure it is installed by default.
* installdir/Makefile.in: Regenerate using automake.
* htcommon/defaults.cc: Add documentation for mime_types
attribute, remove currently unused image_alt_factor, and add
documentation for external_protocols.
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Regenerate using cf_generate.pl.
Tue Feb 1 10:24:19 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/parser.cc (score): fix up score calculations for
correctness and efficiency.
Mon Jan 31 16:29:20 2000 Marcel Bosc <bosc at ceic.com>
* htword/WordBitCompress.cc: fixed endian bug in compression
Sat Jan 29 21:14:03 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/parser.cc (score): Change config.Value (which returns
int) to config.Double to preserve accuracy of attributes.
* htcommon/defaults.cc: Updated documentation for attributes now
allowing regex, search_algorithms (for new fuzzy) and added
documentation for the overlooked remove_unretrieved_urls.
* htdoc/*.html: Updated copyright notice for 2000, changed footer
to use CVS's magic Date keyword. Regenerated documentation from
defaults changes.
Sat Jan 29 16:32:08 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* contrib/htdig-3.1.4.spec, contrib/htdig-3.1.4-conf.patch: Remove
these since they don't apply to the 3.2.x releases.
* htfuzzy/Synonym.cc (openIndex): Change database format from
DB_BTREE to DB_HASH--no reason for the synonym database to be a
btree. This was probably overlooked when I switched the rest of
the fuzzy databases over to DB_HASH.
Sat Jan 29 05:34:26 2000 Loic Dachary <loic at ceic.com>
* htword/WordKey.h (UnpackNumber): Very nasty bug. Optimization
dated Dec 29 broke endianess on Solaris. Restore previous version.
Fri Jan 28 18:17:08 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/Configuration.h (struct ConfigDefaults): Add version and
category fields for more accurate documentation.
* htcommon/defaults.cc: Add blank category fields and start
filling in version field. Killed modification_time_is_now_attribute.
* htdig/Document.cc (Document): Kill attribute
modification_time_is_now since it can cause more harm than good.
* htnet/HtHTTP.cc (ParseHeader): Ditto.
* htdoc/cf_generate.pl: Added support for new version and category
fields. Currently category does nothing, but it could split the
documentation into categories.
Sat Jan 29 01:37:45 2000 Loic Dachary <loic at ceic.com>
* .version: remove the trailing -dev
Thu Jan 27 12:22:57 2000 Loic Dachary <loic at ceic.com>
* htword/WordList.cc: cdebug replaced by cerr. replace lverbose
by verbose > 2. Remove shutup.
(WordList): monitor = 0
(Open): create monitor only if wordlist_monitor = true
(Close): delete monitor if set, delete compressor if set
* htword/WordDBCompress.cc,WordList.cc: only activate monitoring code
if monitor is set. No interaction with the monitor is therefore possible
if wordlist_monitor is false.
* htword/WordMonitor.cc: remove useless test of wordlist_monitor (done by
WordList now).
* htword/WordDBCompress.cc (TestCompress): remove redundant debuglevel argument.
* htword/WordDBCompress.cc (WordDBCompress): init cmprInfo to 0
* db/include/db_cxx.h: Add get_mp_cmpr_info method
* htword/WordDBCompress.cc (WordDBCompress): set default debug level to 0
* htword/WordDB.h: CmprInfo returns current CmprInfo and non static,
overload to set CmprInfo if argument given.
* htword/WordDBCompress.h: new CmprInfo() method returns DB_CMPR_INFO object
for Berkeley DB database.
* htword/WordList.h: add compressor member, kill cmprInfo member.
* htword/WordList.cc:
Wed Jan 26 20:05:33 2000 Loic Dachary <loic at ceic.com>
* htword/WordList.cc,htword/WordList.h: get rid of obsolete WordBenchmarking
Wed Jan 26 9:14:32 2000 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* htcommon/defaults.cc: added "max_connection_requests".
* htdig/Retriever.cc: now manages the attribute above.
Tue Jan 25 12:59:01 2000 Loic Dachary <loic at ceic.com>
* htsearch/Display.cc (setVariables): fixed
Display.cc:505: warning: multiline `//' comment
Tue Jan 25 8:37:15 2000 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* htdig/Document.h: Added the "HtHTTP *GetHTTPHandler()" method, in
order to be able to control an HTTP object outside the Document class.
This is useful for the Server class, after the request for robots.txt.
We can control the response of a server and check if it supports
persistent connections.
* htdig/Server.cc: inside the constructor, persistent_connections var is
initialized to the configuration parameter value, instead of <true>.
Besides, after the request of the robots.txt, it controls and set
the attribute for persistent connections, depending on whether the
server supports them or not.
* htdig/Retriever.cc: modified the Start() method. Now the loop manage
HTTP persistent connections "on a server" basis. Indeed, it's a
Server object that decides if persisent connections are allowed on
that server or not (depending on configuration or capabilities of
the remote http server).
Mon Jan 24 12:57:45 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc(setVariables): Added double quotes around
default selection value in build_select_lists handling.
Mon Jan 24 12:37:22 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc(setVariables), htcommon/defaults.cc: Added
build_select_lists attribute, to generate selector menus in forms.
Added relevant explanations and links to selectors documentation.
* htdoc/hts_selectors.html: Added this page to explain this new
feature, plus other details on select lists in general.
* htdoc/hts_templates.html: Added relevant links to related attributes
and selectors documentation.
* htdoc/attrs.html, cf_by{name,prog}.html: reran cf_generate.pl
Fri Jan 21 18:57:58 EET 2000 Vadim Chekan <vadim at etc.lviv.ua>
* htcommon/HtConfiguration.cc: added HtConfiguration::ParseString(char*)
method to allow lexer handle "include: ${var}/file.inc" construction
* htcommon/conf_lexer.lxx: fixed handling "include: ${var}file.inc"
bug.
Fri Jan 21 17:04:28 2000 Loic Dachary <loic at ceic.com>
* htword/WordList.cc (WalkFinish,WalkInit,WalkNextStep): fix typos in error messages
and misleading comment.
* htword/WordList.h,WordList.cc: move part of WalkInit in WalkRewind so that
we have a function to go back to the beginning of possible matches.
Wed Jan 19 21:49:57 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/HTML.cc (do_tag): Only add words for META descriptions,
keywords, and IMG ALT attributes if doindex is set.
* htcommon/DocumentRef.h: Added Reference_obsolete for documents
that should be removed (but haven't).
* htdig/Retriever.cc (parse_url): Flag documents that have been
modified as Reference_obsolete and update the database. Flag all
documents with various errors as something other than
Reference_normal, as appropriate--these probably should be pruned.
* htdig/Retriever.h: Get rid of GetRef() method--it's only used once!
* htsearch/Display.cc (display): Don't show DocumentRefs with
states other than Reference_normal--these documents have various
errors.
* htmerge/docs.cc: If a document has a state of Reference_obsolete, ignore it.
* htcommon/HtWordList.h, htcommon/HtWordList.cc (Skip): Change
MarkGone() to Skip() to emphasize that this document should be ignored.
Wed Jan 19 14:11:51 2000 Loic Dachary <loic at ceic.com>
* htword/WordList.cc (SkipUselessSequentialWalking): return OK if skipping,
NOTOK if not skipping.
* htword/WordReference.h: remove useless Clear in WordReference(key, record)
constructor.
* htword/WordList.h,WordList.cc: Split Walk in three separate functions
WalkInit, WalkNext and WalkFinish. Much clearer. Fill the status field
of WordSearchDescription to have more information about the error condition.
Add found field to WordSearchDescription for WalkNext result. Add cursor_get_flags
and searchKeyIsSamePrefix fields to WordSearchDescription as internal state
information.
* htword/WordList.h,WordList.cc: WalkInit to create and prepare cursor,
WalkNext to move to next match
WalkNextStep to move to next index entry, be it a match or not
WalkFinish to release cursor.
* htword/WordList.h: WordSearchDescription::ModifyKey add to jump
while walking.
* htword/WordList.cc (WalkNext) : it is now legal to step without
collection or callback because search contains the last match (found
field) and it s therefore not useless.
Mon Jan 17 12:15:45 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* contrib/htdig-3.2.0.spec: added sample RPM spec file for 3.2
Sat Jan 15 11:53:35 2000 Loic Dachary <loic at ceic.com>
* htdb/htstat.cc,htdb/htdump.cc: remove useless -S option since
the page size is found in the header of the file.
* htdb/htstat.cc,htdump.cc,htload.cc: only call WordContext::Initialize
if -W flag specified.
Fri Jan 14 18:39:12 2000 Marcel Bosc <bosc at ceic.com>
* htword/WordBitCompress.cc: speedup, VlengthCoder::code()
finds appropriate coding interval much faster
Fri Jan 14 11:30:41 2000 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Retriver.cc(IsValidURL): Fix problem with valid_extensions,
which got lost in the shuffle yesterday.
Fri Jan 14 15:56:49 2000 Loic Dachary <loic at ceic.com>
* htword/WordType.cc,WordRecord.cc,WordKeyInfo.cc (Initialize): change
inverted test on instance (== instead of !=).
* htword/WordRecord.cc (WordRecordInfo): change inverted test on compare
Fri Jan 14 14:24:39 2000 Loic Dachary <loic at ceic.com>
* htdig/htdig.cc,htmerge/htmerge.cc,htsearch/htsearch.cc: Use Initialize(defaults)
to load configuration file if provided.
* htword/WordDBCompress.cc (Compress): initialize monitor to null in
constructor and check if null before usage. Core dumped in htdb/htload.
* htword/WordContext.h (class WordContext): Add
Initialize(const ConfigDefaults* config_defaults = 0)
that probe configuration files. Usefull when htword is used as a standalone library.
Thu Jan 13 19:52:27 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Retriver.cc: Fix problem with valid_extensions when an
"extension" would include part of a directory path or server
name, as contributed by Warren Jones.
Thu Jan 13 19:22:25 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htnet/Makefile.am, htnet/Makefile.in: Add HtFile to the build process.
Thu Jan 13 18:58:03 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htnet/HtFile.h, htnet/HtFile.cc: New Transport classes
contributed by Alexis Mikhailov to allow file:// access.
* htdig/Document.h, htdig/Document.cc: Add logic to call HtFile
objects for URLs.
* htcommon/URL.cc: Don't remove a trailing index.html (removeIndex)
if the URL is a file://URL.
Thu Jan 13 18:49:41 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* contrib/conv_doc.pl, contrib/parse_doc.pl: Replace "break" by
"last" for correct Perl syntax and additional cleanups and
simplifications as contributed by Warren Jones.
Thu Jan 13 18:42:29 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* htword/WordType.h, htword/WordType.cc: Implementation of new
methods IsDigit() and IsCntrl() as contributed by Marc Pohl
<marc.pohl at wdr.de>. Fixes some problems with 8-bit characters.
Thu Jan 13 17:17:47 2000 Geoff Hutchison <ghutchis at wso.williams.edu>
* ChangeLog.0, configure, configure.in, htfuzzy/Endings.cc,
htlib/String.cc, htlib/Configuration.cc,
htlib/QuotedStringList.cc, htlib/regex.c, htcommon/defaults.cc,
htdig/ExternalParser.cc, htdig/Retriever.h, htsearch/Display.cc,
include/htconfig.h.in installdir/htdig.conf: Merge in changes from
3.1.x releases.
* htdoc/: Merge in documentation changes from 3.1.x releases.
Thu Jan 13 20:12:42 2000 Loic Dachary <loic at ceic.com>
* htword/WordList.cc (Walk): close the cursor before returning. If
not doing that the cursor might be closed after the database is
closed, leading to double free of the cursor. Bad bug.
Thu Jan 13 13:23:17 2000 Loic Dachary <loic at ceic.com>
* htword/WordContext.h (class WordContext): simplifies a lot. WordContext is
no longer a repository for pointers of class instances. Only a place to call
Initialize for classes that have a single instance.
* htlib/HtWordType.cc: added to include definition of functions shortcuts for
WordType.
* htword/WordRecord.h,WordType.h,WordKeyInfo.h: implement homogeneous scheme to
handle unique instance of the class.
- constructor takes const Configuration& argument and init object with config
values
- static member instance
- static method Initialize the static member instance
- static method Instance returns the pointer in instance data member
* htword/WordRecord.cc: add constructor for WordRecordInfo, and Instance static
function. Add WORD_RECORD_INVALID to depict uninitialize WordRecordInfo object.
* htword/WordKeyInfo.h: rename SetKeyDescriptionFromFile and SetKeyDescriptionFromString
to InitializeFromFile and InitializeFromString and implement them by calling Initialize.
rename SetKeyDescriptionRandom to InitializeRandom
rename Initialize(String& line) to GetNFields(String& line)
rename Initialize(int nfields) to Alloc(int nfields)
* htdig/htdig.cc,htmerge/htmerge.cc,htsearch/htsearch.cc,test/word.cc: replace
WordList::Initialize with WordContext::Initialize and run immediately after
config is read. Otherwise WordType fails to work and configuration value
extraction will fail.
* htmerge/htmerge.cc: move initialization
* test/conf/htdig.conf2.in: reorder so that it looks as much as possible as conf.in
Thu Jan 13 12:33:46 2000 Loic Dachary <loic at ceic.com>
* htdb/htstat.cc,htdump.cc,htload.cc: set proper progname
Wed Jan 12 20:02:26 2000 Loic Dachary <loic at ceic.com>
* htcommon/HtWordList.cc (Dump): Use Walk instead of Collect otherwise does not work.
Wed Jan 12 19:38:33 2000 Loic Dachary <loic at ceic.com>
* htlib/HtDateTime.h (class HtDateTime): killed void SetDateTime(const int t)
because they cause problems when time_t is an int and were useless anyway.
Wed Jan 12 13:31:45 2000 Loic Dachary <loic at ceic.com>
* htword/WordBitCompress.h: remove inline qualifier on check_tag1: its not inline
* htword/WordKey.h: #define WORD_KEY_UNKNOWN_POSITION to -1. Remove default
argument to SetToFollowing so that its more explicit when used with
WORD_KEY_UNKNOWN_POSITION.
* htword/WordKey.cc: change name of variable info0 to info
* htword/WordList.cc: use WordKey::Info instead of WordKeyInfo::Get as done
in WordKey.cc for consistency.
* htword/WordList.{cc,h},htword/WordDB.h: rename WordCursor to WordDBCursor
for consistency.
* htword/WordList.h: Kill the WordSearchDescription::Setup useless function
* htword/WordList.h: WordSearchDescription constructor now have a straightforward
semantics.
* htword/WordList.h: Rename Search into Collect since it already existed, just
with a different prototype.
Wed Jan 12 12:36:46 2000 Loic Dachary <loic at ceic.com>
* htword/WordList.h (class WordSearchDescription): add cursor member
Tue Jan 11 19:33:44 2000 Marcel Bosc <bosc at ceic.com>
* htlib/HtVectorGeneric,htword: Fixed some warnings found
when compiling under FreeBSD
Tue Jan 11 18:22:58 2000 Marcel Bosc <bosc at ceic.com>
* htlib/HtVectorGeneric.h: inlined functions Add and Allocate which
are critical to performance
Tue Jan 11 12:18:47 2000 Marcel Bosc <bosc at ceic.com>
* htword/WordKey.h: fixed uninitialized memory read
* htword/WordBitCompress.cc: Fixed big number BUG
Fixed memeory leak
Tue Jan 11 09:37:36 2000 Loic Dachary <loic at ceic.com>
* htword/WordList.h: move operator << and operator >> to end of
functions declarations instead of data members.
* htword/WordList.h: added more comments on functions behaviour.
* htword/WordList.h: added #if SWIG for Perl interface
Mon Jan 10 17:55:05 2000 Marcel Bosc <bosc at ceic.com>
* htword/WordDBPage: enhanced compression debugging output
Mon Jan 10 09:07:19 2000 Loic Dachary <loic at ceic.com>
* WordContext.h,WordKey.h,WordList.h: Added #if SWIG for perl
interfaces. Remove InSortOrder, useless now that everything
is manipulated in sort order as far as the interface is concerned.
* WordKey.cc,WordList.cc: remove InSortOrder
* WordKey.h,WordRecord.h,WordReference.h: commented out Set/Get for
ascii Set/Get for SWIG.
* WordKey.h: turn CopyFrom to public for those who dont want to
use operator =.
* WordKey.h: rename info -> Info and nfields NFields
* WordKey.h: remove int IsFullyDefined() const redundant with Filled
Thu Jan 06 14:41:15 2000 Marcel Bosc <bosc at ceic.com>
* htword,all: Changed interface to overloaded Walk function that was
ambigous on some compilers...
Thu Jan 06 14:00:01 2000 Loic Dachary <loic at ceic.com>
* htword/WordList.h (class WordSearchDescription): rename setup to Setup
* htword/WordList.h (class WordBenchmarking): rename show to Show
* htword/WordRecord.{h,cc}, htword/WordReference.h, htword/WordList.h:
add comments, reorganize member functions for clarity.
Thu Jan 06 12:01:47 2000 Marcel Bosc <bosc at ceic.com>
* htword/compression: Split WordDBCompress.* to WordDBCompress +
WordDBPage.*
* htword/WordBitCompress: renamed put/get to put_uint/get_uint. added get/put_uint_vl
* htword/compression: modified slightly the compression: this makes old databases
OBSOLETE: headers compress better. Chaged Flags compress better and faster.
* htword/WordKey: added operator [] and Get/Set accessors
* htword: removed the obsolete --with_key configure option (KEYDESC)
* htword/WordMonitor: addded monitor input
Wed Jan 05 14:32:31 2000 Loic Dachary <loic at ceic.com>
* htword/WordKeyInfo.h (class WordKeyInfo ): if(encode) was if(sort)
* htword/WordKeyInfo.h: rename show to Show an nprint to Nprint
* htword/WordKeyInfo.h: move WORD_ISA from WordKey.h to WordKeyInfo.h,
rename WORD_ISA_String to WORD_ISA_STRING.
* htword/WordKey.h: rename FATAL_ABORT to WORD_FATAL_ABORT and errr to word_errr
* htword/WordKey.h: move private functions at bottom of class above data members
rename show_packed to ShowPacked
* htword/WordKey.cc: move WordKeyInfo::SetKeyDescriptionRandom from WordKey.cc
to WordKeyInfo.cc
* htword/WordKeyInfo.cc: add include htconfig.h
Wed Jan 05 13:26:16 2000 Loic Dachary <loic at ceic.com>
* htdig/ExternalParser.cc (parse): use nocase_compare instead of mystrcasecmp to
suppress warnings. (char*)String for mystrncasecmp that has no equivalent in
the String class.
* htdig/Retriever.cc (IsValidURL): remove warning by (char*)url
Wed Jan 05 11:54:19 2000 Loic Dachary <loic at ceic.com>
* htword/WordKey.h: kill obsolete comment and add suffix explanation at
the beginning of the file.
* htword/WordKey.h (class WordKey): rename copy_from and initialize to CopyFrom
and Initialize to fit naming conventions. Reorganize the methods to group them
in logical sets. Fix indenting. Comment each method.
* htword/WordKey.h (Clear): add kword.trunc()
* htword/WordKey.h: protect SetWord(const char *str,int len) because it opens
the door to all kind of specific derivations. Should be
SetWord(String(foo, foo_length)) if not performance critical.
Wed Dec 29 18:41:14 1999 Marcel Bosc <bosc at ceic.com>
* htlib/HtMaxMin: added max/min of arrays, added comments to
HtMaxMin. Added HtMaxMin.cc all these are used in htword
* htlib/HtTime.h: added comments. included portable time.h
* htlib/HtVectorGeneric.cc: added HtVector_double, HtVector_String
* htlib/HtVectorGeneric.h: inlined several methods, disactivated CheckBounds
* htlib/StringMatch.cc: removed #include"WordType.h", this made htlib dependant
on htword, which is not acceptable for a library
* htlib/HtWordType.h: this replaces the macros used in StringMatch.cc
* htlib/HtRandom.h: added tools for using random number
(this is used currently in tests)
* htword/WordBitCompress.cc: transfered max_v/min_v to htlib
* htword/WordBitCompress.cc: optimized put/get for better performance
* htword/WordMonitor: system for detailed monitoring of operation
and performance within htword
* htword/WordDBCompress: fixed compression for case of empty WordRecord
* htword/WordDBCompress: cleaned up some code added some comments
* htword/WordKeyInfo: split WordKey files into WordKey and WordKeyInfo files
* htword/WordContext: centralized global configuration into one class
* htword/WordKey: inserted randomized key/keydescription into WordKey classes
(this was previously used in several tests)
* htword/WordKey: optimized Compare, UnpackNumber for speed (these are
really speed critical)
* htword/WordRecord: is now configurable, type can be configured to "DATA" (htdig)
or "NONE" (for other uses)
* htword/WordType: changed macros to global functions to make it compatible
with cleanup in StringMatch. Integrated WordType to WordContext
configuration/Initialization
* htword/WordKeyInfo: fixed initialization from key descrition file
Tue Dec 28 18:58:21 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
* htlib/String.cc: String::lowercase(), String::uppercase()
support for national character added.
* htfuzzy/Prefix.cc: method "prefix" works now.
Mon Dec 27 22:17:48 1999 Loic Dachary <loic at ceic.com>
* htdig/htdig.cc (main): change '\r\n' to "\r\n"
* Makefile.config,db/dist/Makefile.in: rename libdb to libhtdb to
prevent conflicts with installed libdb.
* db/dist/Makefile.in: do not install documentation nor binary
utilities (db_dump & al) since they are replaced by htdb binaries
(htdump & al).
* db/dist/Makefile.in (prefix): prepend $(DESTDIR) to prefix
to support make DESTDIR=/staging install for binary distribution
packages generation.
* configure.in: use AC_FUNC_ALLOCA to check for alloca. Used
in regex and test/dbbench.cc only but definitely a usefull
feature to have.
Thu Dec 23 11:10:24 1999 Marcel Bosc <bosc at ceic.com>
* htcommon/defaults.cc: set wordlist_cache_size default to 10Meg
* db/mp: removed some debuging messages
* htword/WordList.cc: added warning if no cache
* test/word.cc: added cache
* htlib/HtTime.h: added ifdefs for portable time.h sys/time.h
Tue Dec 21 23:33:06 1999 Loic Dachary <loic at ceic.com>
* htdoc/attrs.html,cf_by*.html: regenerate to include
wordlist_wordkey_description attribute
* htcommon/Makefile.am: Add AM_LFLAGS = -L and AM_YFLAGS = -l to
prevent #line generation because it confuses the dependencies
generator of GCC if configure run out of source tree.
* configure.in: remove --with-key option. Not needed since
word description now dynamic. Destroyed WordKey.h if
specified.
* htword/Makefile.am: remove commented lines for WordKey.h
generation.
Tue Dec 21 18:18:01 1999 Marcel Bosc <bosc at ceic.com>
* htword: added code for benchmarking
Mon Dec 20 17:59:15 1999 Marcel Bosc <bosc at ceic.com>
* WordKey: Made the key structure dynamic: Changing the
key structure used to imply recompiling the htword library.
This should not change anything in htdig.
* WordKey: numerical key fields are stored in an array of unsigned
ints instead of compile-time defined pools.
* WordKey.h: WordKey now needs copy opreators. Setbits are stored
in sort order (used to be in encoding order)
* htword: word_key_info is now a pointer, had to change all references
* word.cc: Rewrote wordkey test for new dynamically
set key structure. The test randomly creates key structures
and tests them.
* test: adapted test files (simplifies things a lot)
1999-12-21 Toivo Pedaste <toivo at ucs.uwa.edu.au>
* htlib/Dictionary.cc: Fix memory leak when destroying dictionary
* htlib/StringList.cc, htdig/Retriever.cc: Fix memory leak, not
the most elegent way but I'm not sure about the exact semantics
of StringList
Mon Dec 20 21:59:03 1999 Loic Dachary <loic at ceic.com>
* htdb/{Makefile.am,err.c,getlong.c}: Fix mistake: err.c and
getlong.c contain C functions (declared in clib_ext) and
must be C compiled otherwise the prototype won't fit. Checking
db Makefiles, getlong.c and err.c are added to the list of objects
for each utility program. This guaranties that they won't conflict
with objects included in libdb.a.
Sun Dec 19 20:04:42 1999 Loic Dachary <loic at ceic.com>
* htdb/{Makefile.am, err.cc}: add err.cc for portability
purposes.
Fri Dec 17 18:04:09 1999 Loic Dachary <loic at ceic.com>
* Makefile.config: add PROFILING variable and document it. Designed
to enable profiling of htdig easily.
* */Makefile.am: add *_LDFLAGS = $(PROFILING) for every binary to
enable profiling, if specified.
Thu Dec 16 17:16:33 1999 Loic Dachary <loic at ceic.com>
* htdb/*.cc: add -W option to activate htword specific compression.
Keep compatibility with zlib compression (-z only).
Thu Dec 16 11:56:02 1999 Loic Dachary <loic at ceic.com>
* test/dbbench.cc: change wrong strcpy with memcpy
Wed Dec 15 15:04:39 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/htdig.cc(main): Handle list of URLs given on stdin, if
optional "-" argument given. (Uses >> operator below.)
* htlib/htString.h, htlib/String.cc: Added Alexis Mikhailov's String
input methods, readLine() and >> operator.
Wed Dec 15 13:59:34 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Retriever.cc: remove include of sys/stat.h, which is no
longer needed after hack removed from Need2Get(), and could pose
a problem on systems that need sys/types.h included first.
Wed Dec 15 17:00:04 1999 Loic Dachary <loic at ceic.com>
* htword/WordDB.h: add inline keyword for portability
* htword/WordDB.h: add CmprInfo method to get object describing
compression scheme for Berkeley DB
* htdb: Add htdump, htload, htstat equivalent of db_dump
db_load and db_stat that know about htword specific compression
strategy.
* htword/WordDBCompress: add static to localy defined functions and
variables, remove unecessary #define and #include from header.
Tue Dec 14 21:56:57 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
* htcommon/conf_parser.lxx, htcommon/conf_lexer.cxx:
bcopy on Solaris is in strings.h, not in string.h. Added
check for #ifdef HAVE_STRINGS_H
Tue Dec 14 19:18:22 1999 Marcel Bosc <bosc at ceic.com>
* WordBitCompress: code cleaned up and commented
Tue Dec 14 18:32:21 1999 Loic Dachary <loic at ceic.com>
* htword/Word{Record,Reference,Key}: added a Get method to
convert the structure into it's ascii string representation.
operator << now uses Get.
Tue Dec 14 17:46:33 1999 Loic Dachary <loic at ceic.com>
* db/dist/Makefile.in (install): fix bugous test for libshared
Tue Dec 14 14:10:28 1999 Loic Dachary <loic at ceic.com>
* htword/{WordKey,WordReference,WordRecord}: rework
the input methods (operator >>). Each class now has a Set function
to initialize itself from an ascii description and a Get function
to retrieve an ascii description of the object.
* htword/WordList: operator >> has a better and cleaner input loop
using StringList and String instead of char*.
Tue Dec 14 12:06:24 1999 Marcel Bosc <bosc at ceic.com>
* WordDBCompress.cc : Added compression version checking
Mon Dec 13 21:09:31 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
* htcommon/conf_parser.lxx, htcommon/conf_lexer.cxx:
Added #include <string.h> Without it failed to compile
on Solaris.
Mon Dec 13 16:31:27 1999 Marcel Bosc <bosc at ceic.com>
* htword/WordBitCompress.cc : fixed bug that made compression
fail on big documents or big number of url's ...
Mon Dec 13 13:49:35 1999 Loic Dachary <loic at ceic.com>
* htword/WordKey.h.tmpl: Added *_POSITION macro generation
Mon Dec 13 11:51:50 1999 Marcel Bosc <bosc at ceic.com>
* htcommon/conf_parser.yxx: fixed several delete that should be delete []
Sun Dec 12 17:14:00 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
* htcommon/conf_lexer.lxx, htcommon/conf_lexer.cxx:
national symbols are allowed in right part of expressions
(noted by Marcel Bosc).
Changed default behavior of flex from print unknown chars
on stdout to exit with error message.
Sat Dec 11 17:34:03 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
* htdig/Retriever.cc,htdig/htdig.cc: "exclude_urls","bad_querystr"
"bad_extensions","valid_extensions","local_default_doc"
changed for new config.
* htdig/Server.cc: "server_max_docs","server_wait_time" changed for
new config.
* check for "limit_normalized" moved from Retriever::got_href and
Retriever::got_redirect to more appropriate Retriever::IsValidUrl
Fri Dec 10 18:05:48 1999 Marcel Bosc <bosc at ceic.com>
* htword: checked for failed memory allocations in compression code
Fri Dec 10 18:03:42 1999 Marcel Bosc <bosc at ceic.com>
* htword/WordList,htcommon/HtWordList.cc,htmerge/words.cc: cleaned up WordList::Walk()
function, change two occurences of WordList::Walk in htdig files
Fri Dec 10 17:40:22 1999 Marcel Bosc <bosc at ceic.com>
* htword/WordKey.cc (Compare): Fixed bug: compare used to compare chars and not
unsigned chars, this failed when non-ascii caracters were used
Fri Dec 10 11:54:36 1999 Marcel Bosc <bosc at ceic.com>
* htcommon/defaults.cc : doc for wordlist_cache_size
Thu Dec 09 17:07:47 1999 Marcel Bosc <bosc at ceic.com>
* htcommon/defaults.cc: added defaults for compression and DB configuration
parameters
Thu Dec 09 16:47:54 1999 Loic Dachary <loic at ceic.com>
* db/dist/configure.in,Makefile.in: Added shared lib support
for linux only. Not enabled if not on linux.
Thu Dec 09 15:07:11 1999 Loic Dachary <loic at ceic.com>
* acinclude.m4,db/dist/acinclude.mr: CHECK_ZLIB now fails if either
zlib.h or libz is not found.
* configure.in: do not test zlib.h
* db/db/db.c,db/mp/mp_fopen.c: added #ifdef HAVE_ZLIB so that
compilation works if zlib is not found
* htlib/.cvsignore: remove wrong *.cxx
* test/dbbench.cc: added #ifdef HAVE_ZLIB so that
compilation works if zlib is not found
Thu Dec 09 13:25:45 1999 Marcel Bosc <bosc at ceic.com>
* test/Word.cc,t_wordlist,Makefile.am: upgraded tests
* htcommon/HtWordList.h: fixed Configuration/HtConfiguration problem
Thu Dec 09 12:10:32 1999 Marcel Bosc <bosc at ceic.com>
* htword: Added the compression code:
* WordDBCompress: Classes for page specific compression code
* WordBitCompress: Classes for bitstreams and non-specific compression
Thu Dec 9 12:09:51 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
* htcommon/HtConfiguration.cc: bug fix: sometimes
htConfiguration::Find(url,char*) retuned empty values
even if there was something to return.
Thu Dec 09 11:15:30 1999 Marcel Bosc <bosc at ceic.com>
* htlib/Configuration.cc (Read): Read is now a virtual function: the old one
for Configuration the new one (Vadim's ... with the parser) in HtConfiguration
Thu Dec 09 11:01:22 1999 Loic Dachary <loic at ceic.com>
* acinclude.m4: upgrade AC_PROG_APACHE macro for
modules detection.
* test/conf/httpd.conf,test/test_functions.in,test/conf/Makefile:
use @APACHE_MODULES@ to accomodate various apache modules directory
flavors.
Tue Dec 07 20:32:34 1999 Marcel Bosc <bosc at ceic.com>
* htdig: Split the Configuration class into Configuration
and HtConfiguration. All the HtConfiguration and the
configuration parsing (lex..) was woved to htcommon.
Configuration was replaced by HtConfiguration as needed
Tue Dec 07 16:21:13 1999 Loic Dachary <loic at ceic.com>
* configure.in: added AM_PROG_LEX and AC_PROG_YACC
* htlib/Makefile.am: simply set conf_lexer.lxx and conf_parser.yxx,
automake knows how to handle these. The renaming is needed to avoid
conflicts in automake generated rules.
Mon Dec 6 16:23:39 CST 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdoc/cf_generate.pl: added a bit of error checking for when it
can't fetch the config info, and made it more flexible for what it
allows as terminator.
* htcommon/defaults.cc: add default and description for authorization
attribute, and clean up external_protocols entry for cf_generate.pl.
* htdoc/attrs.html, cf_by{name,prog}.html: reran cf_generate.pl
* htdig/htdig.cc(main): set authorization parameter before Retriever
constuctor is called, as it may initialize a Server. (Should complete
fix of PR#490.)
Mon Dec 6 21:34:29 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
* htdig/Document.cc htdig/htdig.cc: "authorization" parameter
in config is added and is new config compatible.
New code has'n got PR#490 bug (don't authentificate robot.txt)
Mon Dec 06 11:58:56 1999 Marcel Bosc <bosc at ceic.com>
* HtVectorGeneric.h: generic vectors, stl-free: this was originally a copy of
HtVector.h with Object * replaced by GType and some small changes.
It has been modified and checked to see if it all works ok.
You can build vectors of any type that has an empty constructor.
* HtVectorGenericCode.h: generic vectors, stl-free: implementation
(modified "copy" of HtVector.cc)
* HtVectorGeneric.cc: generic vectors: implementation for common types
* HtVector_int.h: generic vectors: declaration for the most common type
(and example of howto use)
Sat Dec 4 23:49:18 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htfuzzy/Synonym.cc (createDB): Change declaration to match
Fuzzy::createDB(config), allowing the method to be called by
htfuzzy.
* htfuzzy/htfuzzy.cc (main): Add an error message if
fuzzy->createDB() comes back with an error.
Sat Dec 4 15:38:34 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
* htnet/HtHTTP.cc, htnet/HtHTTP.h, htdig/Document.cc
fixed proxy bug. GET command in HtHTTP included only
path of url insead full url when use proxy.
HtHTTP::UseProxy(int) added.
* htdig/Document.cc: make "http_proxy" parameter
url-depended for new configuration.
Fri Dec 03 14:57:13 1999 Marcel Bosc <bosc at ceic.com>
* BerkelyDB: Compression code: added possibility to use
user-defined compression routines (the goal is to enable
the mifluz-specific DB page compression that obtains
higher compression ratios than generic zlib compression)
this envolves the following changes in BerkeleyDB:
* BerkelyDB/CompressionEnvironment: Adding a structure db_cmpr_info
in db_env that permits db user to specify the external compression
routines and other information related to compression
* BerkelyDB/CompressionEnvironment: Adding a cmpr_context structure
to DB_MPOOLFILE that stores information that compression needs
(the _weacmpr DB and the db_cmpr_info)
* BerkelyDB/Compression: Needed to modify the compression
system (that is implemented in the BerkelyDB memory pool) to permit
higher compression ratios and to use the compression environment
Thu Dec 2 16:47:30 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Retriever.cc(parse_url): Use a static int to avoid
re-fetching local_urls_only from the config object.
(Initial, got_href, got_redirect): Try to get the local filename
for a server's robots.txt file and pass it along to the newly
generated server.
* htdig/Server.cc(ctor): Retrieve the robots.txt file from the
filesystem when possible and respect the local_urls_only option.
* htdig/Server.h: Change type of local_robots_file to String* to
better match Retriever::GetLocal().
Thu Dec 02 16:24:27 1999 Loic Dachary <loic at ceic.com>
* htword/WordReference.cc,WordKey.cc,WordRecord.cc (Print): Add function
to ease printing from Perl.
Thu Dec 02 16:06:29 1999 Loic Dachary <loic at ceic.com>
* htword/WordReference.h (WORD_FILLED): remove
unused WORD_FILLED and WORD_PARTIAL macros
Wed Dec 01 19:18:42 1999 Loic Dachary <loic at ceic.com>
* htword/WordKey.h.tmpl,WordRecord.h,WordReference.h,
WordList.h: Added #ifndef SWIG for
www.swig.org sake.
Wed Dec 1 19:47:20 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/HtRegex.cc, htlib/HtRegex.h (set*): Add a case_sensitive
flag which defaults to insensitive. This better mirrors the
StringMatch class.
* htcommon/URL.cc(signature): Make the signature a proper URL to
the base of the server.
* htdig/Server.h: Add IsDead() methods to query the status of the
server, as well as an IsDisallowed() method to query whether a URL
is forbidden by the robots.txt rules. Change _disallow to HtRegex.
* htdig/Server.cc(ctor): Only retrieve the robots.txt file if this
is an http or https server.
(robotstxt): Use the proper HtRegex method for setting the pattern.
(push): Remove logic checking the _disallow patterns. This is now
done by the Retriever object.
* htcommon/defaults.cc: Add new attribute "local_urls_only" which
defaults to false, which dictates whether retrieval should revert
to another method if RetrieveLocal() fails.
* htdig/Retriever.cc(parse_url): Check to see if the server is
dead before calling the Retrieve() method. Notify the server
object if a connection fails. Also respects the new
local_urls_only attribute as described above.
(IsValidURL): Check the server's IsDisallowed() method to see if
the robots.txt forbids this URL.
* htdoc/THANKS.html: Updated to reflect current contributions, etc.
* README: Update to mention version 3.2.0b1.
Wed Dec 1 17:05:48 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Retriever.cc(GetLocal): Fix error in GetLocalUser() return
value check, as suggested by Vadim.
Wed Dec 1 15:57:09 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* contrib/conv_doc.pl: Added a sample external converter script.
Mon Nov 29 23:19:35 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Retriver.cc, htdig/Retriver.h, htdig/Server.cc,
htdig/Server.h: forward-ported patch provided by Alexis Mikhailov
<alexis at medinf.chuvashia.su> and Gilles's for cleaning up
IsLocal/GetLocal. Makes local digging persistent, even when HTTP
server is down.
Mon Nov 29 22:35:06 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* test/url.cc: New test for URL class.
* test/url.parents: Base URLs for parsing.
* test/url.children: Derived relative URLs for testing.
* test/Makefile.am, test/Makefile.in: Add the above for building.
* htcommon/URL.cc: A variety of bug fixes (some hacks), especially
for file:// and user@host URLs.
Sun Nov 28 00:35:59 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* .version: Bump to 3.2.0b1-dev.
Sat Nov 27 20:23:14 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/ExternalTransport.h, htdig/ExternalTransport.cc: New class
to allow external scripts to handle transport methods.
* contrib/handler.pl: Example handler using the program 'curl' to
handle HTTP or HTTPS transactions.
* htcommon/defaults.cc: Add new configuration option
'external_protocols' as a list of protocols and scripts to handle
them. Documentation currently needs to be written.
* htdig/Document.h, htdig/Document.cc(Retrieve): Call
ExternalTransport::canHandle to establish which protocols are
supported by handler scripts and then create an appropriate
transport object.
* Makefile.in, htdig/Makefile.am, htdig/Makefile.in: Add
dependencies for ExternalTransport class.
* htnet/HtHTTP.h, htnet/HtHTTP.cc, htnet/Transport.h,
htnet/Transport.cc: Move _location field from HtHTTP_Response to
Transport_Response to allow other subclasses to use it. Similarly,
move NewDate and RecognizeDateFormat to Transport.
Fri Nov 26 17:07:52 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HTML.cc(HTML & do_tag): add code to turn off indexing between
<style> and </style> tags.
Fri Nov 26 15:56:47 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc(setVariables): added Alexis Mikhailov's fix
to check the number of pages against maximum_pages at the right time.
* htlib/String.cc(write): added Alexis Mikhailov's fix to bump up
pointer after writing a block.
Wed Nov 24 15:10:05 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* installdir/htdig.conf: Add bad_extensions to make it more obvious to
users how to exclude certain document types.
Tue Nov 23 19:29:37 CST 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htnotify/htnotify.cc(send_notification): apply Jason Haar's fix
to quote the sender name "ht://Dig Notification Service".
Tue Nov 23 19:46:00 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
* conf.tab.cc.h conf.l.cc conf.tab.cc
Added files pre-generated from conf.y, conf.l
Sun Nov 21 18:26:21 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
*htdig/Document.cc: "max_doc_size" supports new
configuration and is url-depended now.
Sun Nov 21 17:06:50 EET 1999 Vadim Chekan <vadim at etc.lviv.ua>
* New config parser commited. htlib/(Makefile.am,Makefile.in),
htlib/Configuration.cc, htlib/Configuration.h
htlib/(conf.y, conf.l) added.
Fri Nov 12 14:17:37 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/cgi.cc(init): Fix bug in reading long queries via POST
method (PR#668).
Wed Nov 10 15:34:04 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc(setVariables & createURL),
htsearch/htsearch.cc(main), htdoc/hts_templates.html: handle keywords
input parameter like others, and make it propagate to followups.
Wed Nov 10 15:16:57 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Retriever.cc: Fix PR#688, where htdig goes into an infinite
loop if an entry in local_urls (or local_user_urls) is missing a '='
(or a ',').
* htcommon/defaults.cc: removed vestigial references to MAX_MATCHES
template variables in search_results_{header,footer}.
* htdoc/attrs.html, cf_by{name,prog}.html: reran cf_generate.pl
* htdoc/hts_form.html: add disclaimer about keywords parameter not
being limited to meta keywords.
* htdoc/meta.html: add description of "keywords" meta tag property.
add links to keywords_factor & meta_description_factor attributes.
1999-11-10 Toivo Pedaste <toivo at ucs.uwa.edu.au>
* htdig/Retriever.cc : Ignore SIGPIPEs with persistant connections
* htnet/HtHTTP.cc : Fix buffer overrun reading chunks
* htdig/Document.cc : Make redirects work
* htdig/Retriever.cc : Make valid URL checks apply to initial URL's
particularly those from a previous run
* htlib/Dictionary.cc : Fix memory deallocation error
Tue Nov 02 13:44:57 1999 Marcel Bosc <bosc at ceic.com>
* htsearch/Display.cc (setVariables): parentheses missing around ternary
operator : confusion in priority with <<.
Tue Nov 02 13:33:50 1999 Marcel Bosc <bosc at ceic.com>
* htsearch/Display.cc (hilight): changed static char * (!!) to const string,
static char evaluated before configuration is loaded so config had no
effect + unnecesary conversion
Tue Nov 02 11:45:49 1999 Marcel Bosc <bosc at ceic.com>
* htword/WordKey.cc : Cleaned up obsolete code now using *InSortOrder fcts
and WordKeyInfo.sort[]
* htword/WordKey : Added FirstSkipField :
find first field that must be checked for skip
* htword/WordKey (PrefixOnly): now returns OK/NOTOK, fixed bug which
made Walk loop over the whole db if the searchkey just had
a the "word" field defined
* htword/WordKey.cc (Unpack): had forgten to: SetDefinedWordSuffix
* htword/WordKey.cc (operator >>): added check for very very long words
(even if this should never happen)
* htword/WordKey.cc (operators << >>): added <UNDEF> word suffix handling
* htword/WordKey.h : Filled() did not check for WordSuffix
* htword/WordKey.h : added WordKey::ExactEqual
* htword/WordKey.h (IsDefinedWordSuffix): fixed bad flag check
* htword/WordList : Removed all obsolete HTDIG_WORDLIST flags: only
two remain : COLLECTOR and WALKER the rest is now specified by the searchKey
removed action arg to WordList::Collect()
* htcommon/HtWordList.cc,htmerge/words.cc : changed flags in calls to WordList::Walk
* htword/WordList.cc : skip now deals with the SuffixUndefined case
Fri Oct 29 17:13:21 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdoc/cf_generate.pl: now updates last modified date in attrs.html
* htdoc/attrs.html: reran cf_generate.pl
Fri Oct 29 15:28:22 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc(setVariables & hilight): added Sergey's idea
for start_highlight, end_highlight & page_number_separator attributes.
* htcommon/defaults.cc: added & documented these.
* htdoc/attrs.html, cf_by{name,prog}.html: reran cf_generate.pl
Thu Oct 28 13:06:23 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/ExternalParser.cc: added support for external converters
as extension to external_parsers attribute.
* htcommon/defaults.cc: Updated external_parsers with new description
and examples of external converters.
Thu Oct 28 12:52:28 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc: Updated programs lists for *_factor, so they
all refer to htsearch and not htdig. Added htsearch to programs lists
for translate_*. img_alt_factor & url_factor not defined yet because
they're still not used in htdig/htsearch.
Wed Oct 27 15:53:36 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc: added descriptions & examples for
doc_excerpt, heading_factor, max_descriptions, minimum_speling_length,
regex_max_words, use_doc_date, valid_extensions. Added references
to these elsewhere in document as appropriate. Removed -pairs option
from pdf_parser default (again). Minor changes to noindex_start & end,
and changed example for modification_time_is_now. Corrected references
to heading_factor_[1-6].
* htdoc/attrs.html, cf_by{name,prog}.html: reran cf_generate.pl
Wed Oct 27 13:32:50 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdoc/cf_generate.pl: changed formatting of output to more closely
match format of old attrs.html (to make diff'ing easier),
and fixed handling of pdf_parser default to strip quotes.
* htcommon/defaults.cc: oops, fixed typo in url_part_aliases example.
* htdoc/attrs.html, cf_by{name,prog}.html: reran cf_generate.pl
Wed Oct 27 18:24:36 1999 Loic Dachary <loic at ceic.com>
* htdoc/cf_generate.pl: fixed wrong target for cf_byprog, escape
HTML chars <>&'" for default values.
Wed Oct 27 10:21:18 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc: restored 2nd example for url_part_aliases
Tue Oct 26 16:28:29 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc: corrected descriptions for allow_in_form,
search_results_header, noindex_start, noindex_end. Also fixed a
few small typos & formatting errors here & there in descriptions
and examples.
Tue Oct 26 16:01:22 1999 Loic Dachary <loic at ceic.com>
* htword/Makefile.am: rm Wordkey.h instead of chmod to copy with
non existent WordKey.h
Tue Oct 26 10:54:52 1999 Loic Dachary <loic at ceic.com>
* htcommon/default.cc: fixed all inconsistencies reported by Gilles.
Mon Oct 25 11:42:13 1999 Marcel Bosc <bosc at ceic.com>
* htword/ word.cc,t_wordskip,skip_db.txt: Added test for *Skip Speedup*
* htword/ WordList: Added tracing of Walk() for debuging purposes
Fri Oct 22 18:22:00 1999 Marcel Bosc <bosc at ceic.com>
* htword/ WordList.cc,WordKey: Added a defined/undefined flag for saying
if a search key's word is a prefix or not: WORD_KEY_WORDSUFFIX_DEFINED
reduces code size and makes it much easier to undertand
* htword/ WordList,WordReference,WordKey: Added input output streams for
WordList,WordReference,WordKey
Wed Oct 20 16:47:52 1999 Marcel Bosc <bosc at ceic.com>
* htword/ WordKey,Makefile.am,WordCaseIsAStatements.h: for readability
replaced the switch ... #ifdef ..STATEMENT().... sequence that apeared many times
with an include file :WordCaseIsAStatements.h
* htword/ WordKey: WordKeyInfo: duplicated all of the fields structure into
sort structure, for fast acces without cross referencing and for simplifying code
(required change of perl in template WordKey.h.tmpl)
* htword/ WordList: *Skip Speedup* added a speedup to avoid wasting time
by sequentialy walking through useless entries. see function:
SkipUselessSequentialWalking() for an example and more info
* htword/ WordKey.h,WordKey.cc: Changed Set,Unset,IsSet Wordkey accesors' names to:
SetDefined,Undefined,IsDefined. (easier to read and avoids naming conflicts)
* htword/ WordKey: added generic numerical accesors for accesing
numerical fields in WordKey (in sorted order):GetInSortOrder,SetInSortOrder
* htword/ WordKey,word_builder.pl: added a MAX_NFIELDS constant, that specifies
a maximum number of fields that a WordKey can have. Sanity check in word_builder.pl.
* htword/ word_builder.pl: enforced word sort order to ascending
* htword/ WordList: added a verbose flag using config."wordlist_verbose"
Tue Oct 19 18:36:42 1999 Loic Dachary <loic at ceic.com>
* htword/WordType.h: const accessors to wtype and config
Tue Oct 19 13:10:47 1999 Loic Dachary <loic at ceic.com>
* acconfig.h: remove uncessary VERSION (redundant)
Tue Oct 19 11:32:38 1999 Loic Dachary <loic at ceic.com>
* db/Makefile.in,db/dist/Makefile.in: install db library so
that external applications can be linked.
Tue Oct 19 10:57:27 1999 Loic Dachary <loic at ceic.com>
* configure.in: add --with-key to specify alternate to htword/word.desc
* configure.in: htword is done before htcommon to prevent unecessary
recompilation because WordKey.h changes.
* htword/Makefile.am: use @KEYDESC@
Tue Oct 19 10:38:41 1999 Loic Dachary <loic at ceic.com>
* test/word.cc use TypeA instead of DocID and the like
Mon Oct 18 17:21:34 1999 Loic Dachary <loic at ceic.com>
* Makefile.config: AUTOMAKE_OPTIONS = foreign
Mon Oct 18 11:40:17 1999 Marcel Bosc <bosc at ceic.com>
* htword/ WordList.cc (Walk): fixed bug in Walk: if flag HTDIG_WORDLIST was set
then data was uninitialized in loop
Fri Oct 15 18:52:03 1999 Marcel Bosc <bosc at ceic.com>
* htdig/Document.h (class Document): added const to:
Transport::DocStatus RetrieveLocal(HtDateTime date, const String filename);
Fri Oct 15 17:46:23 1999 Loic Dachary <loic at ceic.com>
* acinclude.m4,configure.in: modified AC_APACHE_PROG to detect
version number and control it.
* test/conf/*.in: patch to fit module loading or not, accomodate
various installation configurations.
* test/test_functions.in: More portable call to apache.
Fri Oct 15 12:55:47 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* htdig/Document: added the management of 'persistent_connections',
'head_before_get', 'max_retries' configuration attributes.
Fri Oct 15 12:54:11 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* test/testnet.cc: added the option '-m' for setting the max size
of the document.
Fri Oct 15 12:48:49 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* htdig/Server: added a flag for persistent connections.
It's set to true if the Server allows persistent connections.
It should be used when retrieving a document.
Fri Oct 15 12:45:42 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* defaults.cc: added the configuration attributes 'persistent_connections',
'max_retries' and 'head_before_get'. Their default values are
respectively true, 3, false.
Fri Oct 15 12:35:51 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* HtHTTP.cc: managing of uncompleted stream reading with persistent
connections (it occurs when max_doc_size is lower than the real
content length of the document, or when a document is not parsable
and we asked for it with a GET call).
* Transport: _host variable is treated as a String, as Loic suggested.
Fri Oct 15 12:11:23 1999 Marcel Bosc <bosc at ceic.com>
* Added README to htword
Thu Oct 14 11:29:35 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/mktime.c, htlib/regex.c, htlib/regex.h, htlib/strptime.c:
Updated with latest glibc versions. Merging from glibc sources may
have introduced bugs, so this is the last merge before htdig-3.2.0b1.
Thu Oct 14 13:09:32 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* htnet/Transport: added statistics for open and close of connections
and changes of servers.
Fixed a bug in the SetConnection method, regarding the host comparison.
Added a method for showing the statistics on a given channel.
* htnet/HtHTTP: More debug info available.
Added a method for showing the statistics on a given channel.
* test/testnet.cc: now receives changes above.
Wed Oct 13 13:35:42 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* htdig/Document.h: added an HtHTTP pointer to the class.
* htdig/Document.cc: Transport and HtHTTP initialization methods
inside the Document constructur. The class destructor now calls
only the HtHTTP destructor (not the Transport destructor).
Modified the Retrieve method.
* htdig/Server.h: _last_connection is now an HtDateTime object.
* htdig/Server.cc: _modified the constructor and the delay method.
* htdig/Retriever.cc: modified the parse_url function in order to manage
all the Document status messages coming from the Transport class.
Also modified the method for not found URLs for managing the no_port
status.
Tue Oct 12 10:12:10 1999 Loic Dachary <loic at ceic.com>
* install headers and libraries so that htdig libraries may be used by external programs
* htword/WordList.cc,WordType.cc: add comments about config parameters used.
Fri Oct 8 09:35:30 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/HtDateTime.cc (SetFTime): Change buffer argument to const
char* to prevent problems passing in const buffers.
* htnet/HtHTTP.h: Change SetUserAgent to take a const char* to
prevent problems passing in const parameters.
* htdig/Document.h, htdig/Document.cc(): Use Transport class for
obtaining documents. Remove duplication of declarations
(e.g. DocStatus).
* htdig/Retriever.cc: Adapt switch statements from
Document::DocStatus to Transport::DocStatus.
* htdig/Server.cc: Use Document::Retrieve instead of RetrieveHTTP.
Fri Oct 08 16:35:16 1999 Loic Dachary <loic at ceic.com>
* test/t_htnet: succeed if timeout occurs. It was the opposite.
* configure.in: AC_MSG_CHECKING(how to call getpeername?) add missing
comma at end for header spec block.
Fri Oct 08 14:42:47 1999 Loic Dachary <loic at ceic.com>
* Fix all warnings reported by gcc-2.95.1 related to string
cast to char*.
Fri Oct 08 14:04:21 1999 Loic Dachary <loic at yoda.ceic.com>
* htlib/Configuration,ParsedString,Dictionary: change char* to String
where possible.
* Fix a lot of warnings reported by gcc-2.95.1 related to string
cast to char*.
* Completely disable exception code from db.
Fri Oct 08 13:44:32 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* HtHTTP.cc: fixed a little bug in setting the modification time
if not returned by the server.
Fri Oct 08 11:30:53 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* HtHTTP.cc: better management of connection failures return values.
* Transport.h: added Document_no_connection and
Document_connection_no_port enum values.
* testnet.cc: management of above changes.
Fri Oct 08 11:27:31 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* configure.in: modified getpeername() test.
Fri Oct 08 10:28:15 1999 Loic Dachary <loic at ceic.com>
* htdig/Retriever.cc (IsValidURL): test return value of
ext = strrchr(url, '.');
* htword/WordRecord.h: initialize info member to 0 in constructor and
Clear.
* htlib/Configuration: char* -> String to all functions. Resolve
warnings.
Thu Oct 07 16:19:46 1999 Loic Dachary <loic at ceic.com>
* htnet/HtHTTP.cc (ReadChunkedBody): use append instead of
<< because buffer is *not* null terminated.
* htnet/Transport.cc (Transport): initialize _port and _max_document_size
otherwise comparison with undefined value occurs.
Thu Oct 07 16:34:21 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* HtHTTP.cc: call FinishRequest everytime in HTTPRequest() a value is
returned.
* testnet.cc: improved with more statistics and connections timeouts
control.
Thu Oct 07 12:53:12 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* configure.in: modified getpeername() test function with
AC_LANG_CPLUSPLUS instead of AC_LANG_C.
Thu Oct 07 11:56:52 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* HtHTTP.cc : fixed bug of double deleting _access_time
and _modification_time objects in ~HtHTTP().
Thu Oct 07 10:17:22 1999 Loic Dachary <loic at ceic.com>
* htword/WordRecord.h: change (const char*) cast to (char*)
* htword/WordKey.h.tmp: fix constness of accessors, const accessor
returns const ref. Prevents unecessary copies.
Wed Oct 6 23:31:50 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htnet/Connection.h, htnet/Connection.cc: Merge in io
class. Connection class was the only subclass of io.
* Makefile.in, htlib/Makefile.am, htlib/Makefile.in: Update for
removed io class.
* htdig/ExternalParser.cc: Add more verbose flags for errors.
Wed Oct 06 14:56:34 1999 Loic Dachary <loic at ceic.com>
* htnet/Connection.cc (assign_server): use free, not delete
on strdup allocated memory.
* htcommon/URL.cc (URL): set _port to 0 in constructors.
Wed Oct 06 12:08:38 1999 Loic Dachary <loic at ceic.com>
* Move htlib/HtSGMLCodec.* to htcommon to prevent
crossed interdependencies between htlib and htcommon
Wed Oct 06 12:07:32 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
* HtHTTP.cc: patch from Michal Hirohama regarding
the SetBodyReadingController() method
Wed Oct 06 11:49:15 1999 Loic Dachary <loic at ceic.com>
* Move htlib/HtZlibCodec.* htlib/cgi.* to htcommon to prevent
crossed interdependencies between htlib and htcommon
Wed Oct 06 11:40:48 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
* HtHTTP: stores the server info correctly and removed some debug info
in chunk managing
Wed Oct 06 11:39:12 1999 Loic Dachary <loic at ceic.com>
* Move htlib/*URL* to htcommon
Wed Oct 06 10:09:19 1999 Loic Dachary <loic at ceic.com>
* README: add htword
* test/t_htnet: fix variable set problem & return code problem
Wed Oct 06 08:53:52 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
* Written t_htnet test
Tue Oct 5 12:24:43 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* db/*: Import of Sleepycat's Berkeley DB 2.7.7.
* db/db/db.c, db/include/db.h, db/include/db_cxx.h, db/mp/mp_bh.c:
Resolve conflicts created in merge.
Tue Oct 05 18:53:13 1999 Loic Dachary <loic at ceic.com>
* htdig/Display.cc, htword/*.cc: add inclusion of htconfig.h
Tue Oct 05 14:54:17 1999 Loic Dachary <loic at ceic.com>
* htlib/htString.h (class String): add set(char*)
* htword/WordKey.cc: define typedefs for key components. Leads to more
regular code and no dependency on a predefined set of known types.
All types must still be castable to unsigned int.
Assume Word of type String always exists.
Generic Get/Set/Unset methods made simpler. Added const and ref
for Get in both forms.
* htword/WordList.cc: enable word reference counting only if wordlist_extend
configuration parameter is set. This parameter is hidden because
no code uses per word statistics at present. It is only activated
in the test directory.
* htword/word_list.pl: add mapping to symbolic type names,
force and check to have exactly one String field named Word.
Mon Oct 04 20:05:35 1999 Loic Dachary <loic at ceic.com>
* test: add thingies to make test work when doing ./configure
outside the source directory.
* htword/WordList: Add Ref and Unref to update statistics.
Fix walking to start from the end of statistics. All statistics
words start with \001, therefore at the beginning of the file and
all clustered together.
* htword/WordStat: derived from WordReference to implement
uniq word statistics.
* test/word.cc: test statistics updating.
* htword/WordKey.cc: fix bugous compare (returned length diff
if key of different length).
Mon Oct 04 18:43:56 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
* test/testnet.cc: added the option for HEAD before GET control
Mon Oct 04 17:33:24 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
* htnet/Transport.h .cc: added the FlushConnection() method
* htnet/HtHTTP.h .cc: now the Request() method can make a HEAD
request precede a GET request. This is made by default, and
can be changed by using the methods Enable/DisableHeadBeforeGet().
A configuration option can be raised to manage it.
Mon Oct 04 12:43:41 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
* htlib/io.h .cc: added a flush() method.
* htnet/HtHTTP.cc: manage the chunk correctly, by calling the flush()
method after reading it.
Mon Oct 04 12:02:24 1999 Loic Dachary <loic at ceic.com>
* htlib/htString.h: move null outside inline operator [] functions.
Fri Oct 01 14:55:56 1999 Loic Dachary <loic at ceic.com>
* htword/WordRecord: mutable, can also contain uniq word statistics.
* htword/WordReference: remove all dependencies related to the actual
structure of the key.
* htcommon/HtWordReference: derived from WordReference, explicit
accessors.
* htcommon/HtWordList: derived from WordList, only handles the
word cache (Flush, MarkGone).
* htdig/HTML.cc (do_tag): add wordindex to have location set in
tags
* htcommon/DocumentRef.cc (AddDescription): add Location calculation
* htword/WordList.cc: add dberror to map Berkeley DB error codes
* htsearch/Display.cc (display): initialize good_sort to get rid
of strange warning.
Fri Oct 01 09:02:11 1999 Loic Dachary <loic at ceic.com>
* Makefile.config: duplicate library lines to resolve
interdependencies.
Thu Sep 30 17:56:55 1999 Loic Dachary <loic at ceic.com>
* htmerge/words.cc (delete_word): Upgrade to use WordCursor.
* htword/WordList: Walk now uses a local WordCursor. Many concurent
Walk can happen at the same time.
* htword/WordList: Walk callback now take the current WordCursor.
Added a Delete method that takes the WordCursor. Allows to delete
the current record while walking.
* db/include/db_cxx.h (DB_ENV): add int return type to operator =
* db/dist/configure.in (CXXFLAGS): disable adding obsolete
g++ option.
* configure.in: enable C++ support when configuring Berkeley DB
* htword: create. move Word* from htcommon. move HtWordType
from htlib and rename WordType.
* htword/WordList: use db_cxx interface instead of Database.
Less interface overhead. Get access to full capabilities of
Berkeley DB. Much more error checking done.
Create WordCursor private class to use String instead of Dbt.
Wed Sep 29 20:03:31 1999 Loic Dachary <loic at yoda.ceic.com>
* htlib/lib.h: AIX xlC does is confused by overloaded mystrcasestr
that only differ in constness. Only keep const form and use cast
where approriate. *sigh*
* htlib/htString.h: accomodate new form of Object::compare and
Copy. Explicitly convert compare arg to String&, prevent hiding
and therefore missing the underlying compare function.
* htlib/HtVector.cc (Copy): make it const
* htlib/HtHeap.cc: accomodate new form of Object::compare
* htcommon/List.h,cc: Add ListCursor to allow many pointers that
walk the list to exist in the same program.
* htlib/Object.h (class Object): kill unused Serialize + Deserialize.
Change unused Copy to const and bark on stderr if called because it
is clearly not was is wanted. If Copy is called and the derived class
does not implement Copy we are in trouble. Alternatives are to make
it pure virtual but it will break things all over the code or to abort
but this will be considered to violent. Change compare to take a
const reference and be a const.
Wed Sep 29 16:51:58 1999 Loic Dachary <loic at yoda.ceic.com>
* acinclude.m4,configure.in,Makefile.config: remove -Wall from
Makefile.conf, add the AC_COMPILE_WARNINGS macro in acinclude.m4
and use it in configure.in.
* htdoc/default_check.pl: remove, unused
Wed Sep 29 13:07:58 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
* htnet/Transport: fixed some bugs on construction and destruction
* htnet/HtHTTP: the most important add is the decoding of chunked
encoded responses, as reported on RFC2616 (HTTP/1.1). It needs
to be developed, because it timeouts at the end of the request.
Added a function pointer in order to dynamically handle the function
that reads the body of a response (for now, normal and chunked, but
other encoding ways exist, so ...). Fixed some bugs on construction
and added some features like Server and Transfer-encoding headers.
Wed Sep 29 13:54:59 1999 Loic Dachary <loic at yoda.ceic.com>
* fix all inline method declarations so that they are always declared
inline in the class declaration if an inline definition follows.
* acinclude.m4: also search apache in /usr/local/apache/bin by default.
* fix various warnings of gcc-2.95, now compiles ok without warnings
and with -Wall.
* htlib/htString.h: removed commented out inline get
* test/testnet.cc: add includes for optarg
Tue Sep 28 18:56:36 1999 Loic Dachary <loic at ceic.com>
* Makefile.config (HTLIBS): libhtnet at the beginning of the list. It
matters on Solaris-2.6 for instance.
* test/testnet.cc: change times to timesvar to avoid conflict with
function (was warning only on Solaris-2.6).
* htdig,htsearch,htmerge,test/word are purify clean when running
make check.
Tue Sep 28 18:23:49 1999 Loic Dachary <loic at ceic.com>
* htmerge/words.cc (mergeWords): use WordList::Walk to avoid loading ALL
the words into memory.
* htlib/DB2_db.cc (Open): we don't want duplicates. Big mistake. If DUP is
on, every put for update will insert a new entry.
* htcommon/WordList.cc (Delete): separate Delete (straight Delete and WalkDelete)
to avoid accessing dbf from outside WordList.
* htcommon/WordList.cc (Walk): now promoted to public.
Tue Sep 28 16:34:56 1999 Loic Dachary <loic at ceic.com>
* test/word.cc (dolist): Add regression tests for Delete.
* htcommon/WordList.cc (Delete): Reimplement from scratch. Use Walk
to find records to delete. This allows to say delete all occurence
of this word, delete all words in this document (slow), delete
all occurences of this word in this document etc.
* htcommon/WordList.cc (Walk): extend so that it handles walk for
partially specified keys, remains fully backward compatible. It allows
to extract all the words in a specific document (slow) or all occurences
of a word in a specific document etc.
Tue Sep 28 12:56:12 1999 Loic Dachary <loic at ceic.com>
* htcommon/DocumentDB.cc (Open): report errors on stderr
* htmerge/docs.cc (convertDocs): rely on error reporting from DocumentDB
instead of implementing a custom one.
Tue Sep 28 11:36:28 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
* htnet/Transport.h: added the status code and the reason phrase
* htnet/HtHTTP.cc .h: removed the attributes above.
Read the body of a response if the code is 2xx. Issues the
GetLocation() method.
Tue Sep 28 10:32:47 1999 Loic Dachary <loic at ceic.com>
* test/htdocs/set3: create and populate with cgi scripts have
bad behaviour (time out and, slow connection).
Tue Sep 28 10:20:23 1999 Loic Dachary <loic at ceic.com>
* test/htdocs: move html files in set1/set2 subdirectories to allows
tests that use different set of files. Change htdig.conf accordingly.
Tue Sep 28 09:31:12 1999 Loic Dachary <loic at ceic.com>
* test/Makefile.am: comment test options, add LONG_TEST='y' for lengthy
tests, by default run quick tests.
* installdir/bad_words: removed it an of : since the minimum word
length is by default 3, these words are ignored anyway.
Mon Sep 27 20:37:38 1999 Loic Dachary <loic at ceic.com>
* htlib/HtWordType.h,cc: concentrate knowledge about word definition in this
class. Rename the class WordType (think WordReference etc...). Change
Initialize to use an external default object. A WordType object may be
allocated on its own. Drag functionalities from BadWordFile, Replace and
IsValid of WordList, and concentrate them in the WordType::Normalize
function.
* htcommon/WordList: use the new WordList semantic. WordType is now a member
of WordList, opening the possibility to have many WordList object with different
configurations within the same program since the constructor takes
* htsearch/htsearch.cc (setupWords): Use HtNormalize to find out if word should
be ignored in query. Formerly using IsValid.
* htlib/String.cc (operator []): fix big mistake, operator [] was indeed last() !
* htlib/String.cc(uppercase, lowercase): return the number of converted chars.
* htlib/String.cc(remove): return the number of chars removed.
Mon Sep 27 17:43:23 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
* Created testnet.cc under test dir for trying the htnet library
It's a simple program that retrieves an URL.
* htnet/HtHTTP.cc, .h: added a 'int (*) (char *)' function pointer.
This attribute is static and it is used under the isParsable method
in order to determine if a document is parsable. It must be set
outside this class by using the SetParsingController static method.
The classic use is to set it to 'ExternalParser::canParse' .
Mon Sep 27 10:52:51 1999 Loic Dachary <loic at ceic.com>
* htmerge/db.cc (mergeDB): delete words instead of words->Destroy()
because the words object itself was not freed.
Mon Sep 27 10:38:37 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
* Created 'htnet' library
Mon Sep 27 12:39:24 1999 Loic Dachary <loic at ceic.com>
* test/word.cc (dolist): don't deal with upper case at present and prevent warning.
Mon Sep 27 10:38:37 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
* htlib/String.cc: removed compiler warnings
* htdig/HtHTTP.h: corrected cvs Id property
Mon Sep 27 10:29:58 1999 Loic Dachary <loic at ceic.com>
* htlib/String.cc (String): make sure *all* constructors set the Data
member to 0.
* htsearch/parser.cc (score): add missing dm->id = wr->DocID();
strange it did not make search fail horribly.
Mon Sep 27 09:46:34 1999 Loic Dachary <loic at ceic.com>
* test/conf/htdig.conf.in (common_dir): add common_dir so that
templates are found in compile directory.
* htsearch/parser.cc (phrase): free wordList at end and only allocate if
needed.
Fri Sep 24 16:35:47 1999 Loic Dachary <loic at ceic.com>
* htcommon/DocumentDB.ccf (Open): change mode to 666 instead of 664,
it's the bizness of umask to remove permission bits.
* htlib/URL.cc (removeIndex): Memory leak. do not use l.Release
since standard Destroy called by destructor is ok.
* htdig/htdig.cc (main): Memory leak. Use l.Destroy instead of
l.Release.
* htlib/StringList.cc (Join): Memory leak (new String str +
return *str). Also change to const fct.
* htlib/List.cc (Nth): add const version to help StringList::Join save
memory.
* htdig/HTML.cc (parse): delete [] text (was missing [])
* htlib/HtVector.cc: Most of the boundary tests with element_count
(but not all of them) were wrong (> instead of >= for instance).
* htlib/HtVector.cc (Previous): limit test cut and pasted from Next
and obviously completely wrong. Fix.
* htlib/HtVector.cc (Remove): use RemoveFrom, avoid code duplication.
* htcommon/DocumentRef.cc (Clear): set all numerical fields to 0,
and truncate strings to 0. Some were missing.
* htlib/Connection.cc (Connection): free(server_name) because allocated
by strdup not new.
Fri Sep 24 14:30:21 1999 Loic Dachary <loic at ceic.com>
* */.cvsignore: update to include .pure, *.la, *.lo, .purify
* htlib/String.cc (String): add Data = 0
* htlib/htString.h (class String): add Data = 0
* htlib/String.cc (String): init set to MinimumAllocationSize at least
prevents leaking if init = 0.
* htlib/String.cc (nocase_compare): use get() instead of direct
pointer to Data so that the trailing null will be added.
* htlib/Dictionary.cc (DictionaryEntry): free(key) instead of
delete [] key because obtained with strdup.
* htlib/DB2_db.cc (Close): free(dbenv) because db_appexit does not
free this although it free everything else.
Thu Sep 23 18:18:40 1999 Loic Dachary <loic at ceic.com>
* configure.in: add PERL detection & use in Makefile.am
Thu Sep 23 14:29:29 1999 Loic Dachary <loic at ceic.com>
* configure.in: removed unused alloca.h
* htcommon/DocumentDB.cc: test isopen in Close instead of before calling Close.
Add some const in functions arguments.
(Read): change char* args to const String&, changed tests for null pointers to
empty().
(Add): Delete the temp class member, use function local temp.
(operator []): change char* args to const String&
(CreateSearchDB): change char* args to const String&
* htcommon/DocumentRef.cc:(AddDescription): Add some const in functions arguments.
Use a WordReference as insertion context instead of merely the docid: it contains
the insertion context.
(AddAnchor): Add some const in functions arguments.
* htcommon/DocumentRef.h: Add some const in inline functions arguments.
* htcommon/Makefile.am: add WordKey + WordKey.h generation
* htcommon/word_builder.pl, word.desc, WordKey.h.tmpl: generate WordKey.h from WordKey.h.tmpl and
word.desc
* htcommon/WordList.cc: In general remove code that belongs to WordReference rather
than WordList and cleanup const + String.
(WordList) the constructor takes a Configuration object in argument.
(Word -> Replace): Word method replaced by Replace method because more explicit. Now
taks a WordReference in argument instead of the list of fields values.
(valid_word deleted, IsValid only): Add some const in functions arguments.
(BadWordFile): change char* args to const String&
(Open + Read -> Open): Open and Read merge into Open with mode argument. change char* args
to const String&.
(Add): use WordReference::Pack and simply do Put.
(operator[], Prefix ...) now take WordReference instead of Word. Autmatic Conversion from
Word for compatibility thru WordReference(const Word& w).
(Dump): change char* args to const String&
(Walk): use WordReference member functions instead of hard coded packing
* htcommon/WordRecord.h: move flag definitions to WordReference.h
only keep anchor, the reste moved to key.
* htdig/Document.cc: change all config[""] manipulations from char* to String
or const String
(setUsernamePassword): Add some const in functions arguments.
* htdig/HTML.cc: change all config[""] manipulations from char* to String
or const String. Change null pointer tests to empty().
(transSGML): change char* args to const String&
* htdig/HtHTTP.cc: Add error messages for default cases in every switch.
* htdig/PDF.cc: (parse) change char* to const String& for config[""]
* htdig/Plaintext.cc: (parse) remove unused variable
* htdig/Retriever.cc: use WordReference word_context instead of simple docid
to hold the insertion context.
(Retriever) pass config to WordList initializer.
(setUsernamePassword): Add some const in functions arguments.
(Initial): change char* args to const String&
(parse_url): use WordReference word_context, add debug information.
(RetrievedDocument): set anchor in word_context.
(got_word): use Replace instead of Word
(got_*): Add some const in functions arguments.
* htdig/htdig.cc: change all config[""] manipulations from char* to String
* htdoc/cf_generate.pl: compute attrs.html, cf_byprog.html and cf_byname.html from
../htlib/default.cc and attrs_head.html attrs_tail.html cf_byname_head.html cf_byname_tail.html
cf_byprog_head.html cf_byprog_tail.html
Add rules in Makefile.am
* htfuzzy: In every programs I changed the constructor to take a
Configuration agrument. The openIndex and writeDB had this
argument sometime used it, sometimes used the global
config. Having it in the contructor is cleaner and safer, there
is no more reference to the global config. I also changed some
char* to String and const. Most of the program look the same, I
won't go into details here :-}
* htlib/Configuration.cc: changed separators from String* to String. Simpler.
(~Configuration): removed because not needed.
(Add): change to String, remove new String + delete for local var.
(Find, operator[]): make it const fct, add some const in functions arguments.
(Value + Double): killed, replaced by as_integer + as_double from String
(Boolean): use String methods + string objects
(Defaults): Add some const in functions arguments.
* htlib/Configuration.h: add
char *type; // Type of the value (string, integer, boolean)
char *programs; // White separated list of programs/modules using this attribute
char *example; // Example usage of the attribute (HTML)
char *description; // Long description of the attribute (HTML)
to the ConfigDefaults type.
* htlib/Connection.cc: (assign_server) change char* args to const String&
* htlib/DB2_db.cc: Merge with DB2_hash.
Add compare and prefix functions pointers.
Merge OpenRead & OpenReadWrite into Open, keep for compatibility.
skey and data are now strings instead of DBT.
Remove Get_Next_Seq.
Get_Next now returns key and value in arguments.
Remove all other Get_Next interfaces.
* htlib/Database.h:
Compatibility functions for Get_Next
Put, Get, Exists, Delete take String args and are inline
Add SetPrefix and SetCompare
* htlib/Dictionary.cc:
Add copy constructor.
Add DictionaryCursor that holds the traversal context.
Use DictionaryCursor object for traversal without explicit
cursor specified.
Add constness where meaningfull.
* htlib/HtPack.cc:
(htPack) format is const, change strtol call
to use temporary variable to cope with constness.
(htUnpack) dataref argument is not a reference anymore. Not used
anywhere and kind of hidden argument nobody wants.
* htlib/HtRegex.cc: set, match, HtRegex have const args.
* htlib/HtWordCodec.cc: (code) orig is const
* htlib/HtWordType.cc,h: statics is made of String instead of char*. Remove
static String punct_and_extra from Initialize.
* htlib/HtZlibCodec.cc: len is unsigned int
* htlib/ParsedString.cc: add constness to function args
(get) use String instead of char
* htlib/QuotedStringList.cc: inline functions argument variations and
add constness.
* htlib/String.cc: add constness whereever possible.
* htlib/htString.h: Add const get, char* cast, operator [].
Add as_double conversion.
* htlib/StringList.cc: inline functions argument variations and
add constness.
* htlib/StringMatch.cc: add constness to function args.
* htlib/URL.cc: add constness to function args.
(URL): fct arg was used as temp. Change, clearer.
* htlib/lib.h: add const declaration of string manipulation functions.
Two forms for mystrcasestsr: const and not const.
* htlib/strcasecmp.cc: add constness to function args.
* htlib/timegm.c: add declaration for __mktime_internal
* htmerge/db.cc: change *doc* vars from char* to const String, use
new WordList + WordReference interface.
* htmerge/docs.cc: change *doc* vars from char* to const String.
* htmerge/words.cc: use new WordList + WordReference interface.
* htsearch/Display.cc: use empty method on String where appropriate.
use String instead of char* where config[""] used.
(includeURL): change char* args to const String&
* htsearch/ResultMatch.cc: (setTitle, setSortType) change char* args to const String&
* htsearch/Template.cc: (createFromFile) change char* args to const String&
* htsearch/Template.h: accessors return const String& or take const char*
* htsearch/TemplateList.cc: (get) use const String for internalNames.
* htsearch/htsearch.cc: use String instead of char* where config[""] used.
* htsearch/parser.cc: Initialize WordList member with config global.
(perform_push): free the result list after calling score.
(score, phrase): use new WordList + WordReference interface.
Thu Sep 23 14:29:29 1999 Loic Dachary <loic at ceic.com>
* htcommon/WordKey.h.tmpl, WordKey.cc: new, describe the key of the word
database.
* htcommon/word.desc: new, abstract description of the key structure of the word
database.
* htcommon/word_builder.pl: new, generate WordKey.h from WordKey.h.tmpl
* htcommon/WordReference.cc: move key manipulation to WordKey.cc
Add Unpack/Pack functions. Add accessors for fields and move fields to private.
Add constness where possible.
Mon Sep 20 14:50:47 1999 Loic Dachary <loic at ceic.com>
* Everywhere config["string"] is used, check that it's *not* converted to
char* for later use. Keep String object so that there is no chance to
use a char* that has been deallocated. Using a String as return for config["string"]
is also *much* safer for the great number of calls that did not check for a possible
0 pointer return.
* htfuzzy/*.{cc,h}: const Configuration& config member. Constructor sets it.
Remove config argument from openIndex & writeDB. The idea (as it was initialy,
I guess) is to be able to have a standalone fuzzy library using a specify
configuration file. It is now possible and consistent.
* htlib/htString.cc: more constness where appropriate. Changed compare
to have const String& arg instead of const Object* because useless and
potential source of bugous code.
* htfuzzy/Regex.cc (getWords): fix bugous setting of extra_word_chars
configuration value. It is set to change the behaviour of HtStripPunctuation
but this function get the extra_word_chars from a static array initialized
at program start by static void Initialize(Configuration & config). Use straight
s.remove() instead. Besides, the string was anchored by prepending a ^ that
was removed because part of the reserved chars.
Mon Sep 20 11:47:05 1999 Loic Dachary <loic at ceic.com>
* htlib/Configuration.cc (operator []): changed return type to String
to solve memory leak. When char* the string was malloced from ParsedString
after substitution and never freed. In fact it was even worse : it was
free before use in some cases.
Sun Sep 19 19:12:44 1999 Loic Dachary <loic at ceic.com>
* htdoc/cf_generate.pl, htcommon/defaults.cc, htlib/Configuration.h:
Change the structure of the configuration defaults. Move
description, examples, types, used_by information from attrs.html.
Write cf_generate.pl to build attrs.html, cf_byname, cf_byprog
from defaults.cc. Makes it easier to maintain an up to date
description of existing attributes. About 10 attributes existed
in defaults.cc and were not describted in the HTML pages.
Add rules in htdoc/Makefile.am to generate the pages if a source
changes.
Fri Sep 17 19:34:48 1999 Loic Dachary <loic at ceic.com>
* Makefile.config: add -Wall to all compilation and fix
all resulting warnings.
* htlib/Connection.cc (assign_server): remove redundant test
and cast litteral value to unsigned
* htlib/String.cc: add const qualifier where possible. Helps
dealing with const objects at an upper level.
Fri Sep 17 18:27:57 1999 Alexander Bergolth <leo at leo.wu-wien.ac.at>
A few changes so that it compiles with xlC on AIX:
* configure.in, include/htconfig.h.in: Add check for sys/select.h.
Add "long unsigned int" to the possible getpeername_length types.
* htdig/htdig.cc: Moved variable declaration out of case block.
* htlib/Connection.cc: Include sys/select.h.
* htcommon/WordList.cc: just a type cast
* htlib/regex.c: define true and false only if they aren't already
* htdig/Transport.{h,cc}: removed inline keywords (inline functions
have to be defined and declared simultaneously)
* htlib/{mktime.c,regex.h,strptime.c,timegm.c}: change // comments
to /* ... */
Tue Sep 14 01:15:48 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htmerge/db.cc: Rewrite to use the WordList functions to merge
the two word databases. Also make sure to load the document
excerpt when adding in DocumentRefs.
* htmerge/docs.cc: Fix bug where ids were not added to the discard
list correctly.
* htmerge/words.cc: Fix bug where ids were not checked for
existance in the discard list correctly.
Sun Sep 12 12:27:16 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/defaults.cc: Remove word_list since that file is no
longer used.
* htdig/htdig.cc: Ensure -a and -i are followed for the word_db
file. Fixes PR #638.
Sat Sep 11 00:11:28 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/StringMatch.h: Add back mistakenly deleted #ifndef/#define.
Fri Sep 10 23:07:43 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htmerge/*, htcommon/*, htdig/*, htlib/*: Add copyright information.
Fri Sep 10 11:33:50 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htnotify/htnotify.cc: Add copyright information.
* htsearch/* htfuzzy/*: Ditto.
Fri Sep 10 15:24:44 1999 Loic Dachary <loic at ceic.com>
* htdig/Retriever.cc: change static WordList words to
object member. words.Close() at end of Start function
to make sure data is flushed by database.
* htcommon/WordList.cc (Close): test isopen to prevent
ugly crash. Remove isopen test in calling functions.
Fri Sep 10 13:45:53 1999 Loic Dachary <loic at ceic.com>
* htcommon/WordList.h htcommon/WordList.cc: methods Collect
and Walk that factorise the behaviour of operator [], Prefix
and WordRefs.
* htcommon/WordList.h htcommon/WordList.cc: method Dump to
dump an ascii version of the word database.
* htcommon/WordReference.h,htcommon/WordReference.cc: method Dump
to write an ascii version of a word.
* htdig/htdig.cc: -t now also dump word database in ascii as
well.
* htdoc/attrs.html,cf_byprog.html,cf_byname.html: added doc
for word_dump
Thu Sep 9 20:30:18 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htfuzzy/Fuzzy.h, htfuzzy/Fuzzy.cc, htfuzzy/Prefix.cc,
htfuzzy/Regex.cc, htfuzzy/Speling.cc, htfuzzy/Substring.cc,
htfuzzy/htfuzzy.cc, htfuzzy.h: Change to use WordList code instead
of direct access to the database.
Thu Sep 9 14:55:59 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* contrib/parse_doc.pl: fix bug in pdf title extraction.
Tue Sep 7 23:49:41 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/ExternalParser.h, htdig/ExternalParser.cc (parse): Change
parsing of location to allow phrase searching -- location is *not*
just 0-1000.
* htdig/Plaintext.h, htdig/Plaintext.cc, htdig/PDF.cc: Ditto.
* htdig/Retriever.h, htdig/Retriever.cc: Don't call
HtStripPunctuation. This is now done in the WordList::Word method.
* htcommon/WordList.h htcommon/WordList.cc (Prefix): New method to
do prefix retrievals. Essentially the same as [], except the loop
is broken only in the unlikely event that we retrieve something
beyond the range set.
(Exists): New method for checking the existance of a
string--attempt to retrieve it and determine if anything's
actually there.
(Word): Call HtStripPunctuation as part of the cleanup.
Tue Sep 7 21:37:44 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/defaults.cc: Add new configuration option
removed_unretrieved_urls to remove docs that have not been accessed.
* htmerge/docs.cc (convertDocs): Use it.
* htcommon/defaults.h, htcommon/WordRecord.h,
htcommon/WordReference.h: Add copyright notice to head of file.
Mon Sep 6 10:32:59 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/HtZlibCodec.h, htlib/HtZlibCodec.cc(instance): New method
as used in other codecs.
(encode, decode): Fix compilation errors.
* htlib/Makefile.am: Added HtZlibCodec.cc to the compilation list.
* htcommon/DocumentDB.cc (ReadExcerpt): Call HtZlibCodec to decompress
the excerpt.
(Add): Call HtZlibCodec to compress the excerpt before storing.
(Open, Read): If the databases are
already open, close them first in case we're opening under a
different filename.
(CreateSearchDB): Remove call to external
sort program. Database is already sorted by DocID.
* configure.in, configure: Remove check for external sort
program. No longer necessary.
* */Makefile.in: Regenerate using automake.
Sun Sep 5 13:50:34 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htmerge/docs.cc: Ensure a document with empty excerpt has
actually been retrieved. Otherwise document stubs are always
removed.
* htlib/String.cc: Implement the nocase_compare method.
* htcommon/WordReference.cc: Implement a compare method for
WordRefs to use in sorting. Uses the above.
* htcommon/DocumentRef.h, htcommon/DocumentRef.cc: Update the
headers.
* htcommon/DocumentDB.h: Ditto.
Sun Sep 5 01:37:27 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/WordList.cc(Flush): Call Add() instead of storing the
data ourselves. Additionally, don't open the database ourself (and
then close it), instead call Open() if it's not open already.
* htcommon/DocumentRef.h, htcommon/DocumentRef.cc(AddDescription):
Pass in a WordList to use when adding link text words. Ensures
that the word db is never opened twice for writing.
* htdig/Retriever.cc: Call AddDescription as above.
* htdig/Server.cc(ctor): If debugging, write out an entry for the
robots.txt file.
* htlib/HtHeap.cc(percolateUp): Fix a bug where the parent was not
updated when moving up more than once.
(pushDownRoot): Fix a bug where the root was inproperly pushed
down when it required looping.
Fri Sep 3 16:23:23 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/HtHeap.cc(Remove): Correct bug where after a removal, the
structure was not "re-heapified" correctly. The last item should
be moved to the top and pushed down.
(pushDownRoot): Don't move items past the size of the underlying
array.
* htdig/Server.h, htdig/Server.cc: Change _paths to work on a
heap, based on the hopcount. Ensures on a given server that the
indexing will be done in level-order by hopcount.
Wed Sep 01 15:40:37 1999 Loic Dachary <loic at ceic.com>
* test: implement minimal tests for htsearch and htdig
Tue Aug 31 02:17:04 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/WordRecord.h: Change back to struct to ensure integrity
when compressed and stored in the word database.
* htcommon/WordList.cc (Flush): Use HtPack to compress the
WordRecord before storage.
([], WordRefs): Use HtUnpack to decompress the WordRecord after
storage.
Sun Aug 29 00:42:07 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/htsearch.cc (convertToBoolean): Remove debugging
strings.
* htsearch/parser.h: Add new method score(List) to merge scoring
for both standard and phrase searching.
* htsearch/parser.cc(phrase): Keep the current list of successful
matched words around to pass to score and perform_phrase.
(perform_phrase): Naively (and slowly, but correctly) loop through
past words to make sure they match DocID as well as successive locations.
Move scoring to score().
(perform_push): Move scoring to score().
(score): Loop through a list of WordReferences and create a list
of scored DocMatches.
Sun Aug 29 00:33:17 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/htsearch.cc(createLogicalWords): Hack to produce
correct output with phrase searching (e.g. anything in quotes is
essentially left alone). Ensure the StringMatch pattern includes
the phrase with correct spacing as well.
(setupWords): Add a " token whenever it occurs in the query.
(convertToBoolean): Make sure booleans are not inserted into
phrases.
* htsearch/parser.h: Add new methods phrase and perfor_phrase to
take care of parsing phrases and performing the actual matching.
* htsearch/parser.cc(lexan): Return a '"' when present for phrase
searching.
(factor): Call phrase() before parsing a factor--phrases are the
highest priority, so ("RedHat Linux" & Debian) ! Windows makes
sense.
(phrase): New method--slurps up the rest of a phrase and calls
perform_phrase to do the matching.
(perform_phrase): New method--currently just calls perform_and to
give the simulation of a phrase match.
Sat Aug 28 15:57:53 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Server.h, htdig/Server.cc: Undo yesterdays change -- still
very buggy and shouldn't be used yet.
* htdig/Retriever.cc (parse_url): Change default index to 1 to
more closely match DocIDs shown with verbose output.
* htsearch/DocMatch.h: Change score to double and clean up
headers.
* htcommon/WordRecord.h: Change unnecessary long ints (id and
flags) to plain ints.
* htdig/HTML.cc (parse): Call got_word with actual word sequence
(i.e. 1, 2, 3...) rather than scaling to 1-1000 by character
offset.
* htlib/Database.h, htlib/DB2_db.h, htlib/DB2_hash.h: Change
Get_Item to Get_Next(String item) to return the data as a
reference. This makes it easier to use in a loop and cuts the
database calls in half.
* htlib/DB2_db.cc, htlib/DB2_hash.cc: Implement it, making sure we
keep the possibly useful data around, rather than tossing it!
* htsearch/htsearch.cc(htsearch): Don't attempt to open the word db
ourselves. Instead, pass the filename off to the parser, which
will do it through WordList.
* htsearch/parser.h: Use a WordList instead of a generic Database.
* htsearch/parser.cc(perform_push): Use the WordList[] operator to
return a list of all matching WordRefs and loop through, summing
the score.
* htcommon/WordList.cc (Flush): Don't use HtPack on the
data--somehow when unpacking, there's a mismatch of sizes.
(Read): Fix thinko where we attempted to open the database as a
DB_HASH.
([]): Don't use HtUnpack since we get mismatches. Use the new
Get_Next(data) call instead of calling Get_Item separately.
(WordRefs): Same as above.
Fri Aug 27 09:44:09 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Retriever.cc (Need2Get): Remove duplicate detection code for
local_urls. The code is somewhat buggy and should be replaced by
more general code shortly.
* htdig/Server.h, htdig/Server.cc (push, pop): Change _paths to a
HtHeap sorted on hopcount first (and order placed on heap
second). Ensures that on each server, the order indexed is
guaranteed to be level-order by hopcount.
* htdig/URLRef.h, htdig/URLRef.cc (compare): Add comparison method
to enable sorting by hopcount.
Fri Aug 27 09:36:35 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/WordList.h, htcommon/WordList.cc (WordList): Change
words to a list instead of a dictionary for minor speed improvement.
Thu Aug 26 11:18:20 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc, htdoc/attrs.html: increase default
maximum_word_length to 32.
Wed Aug 25 16:50:16 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Retriever.cc(got_word): add code to check for compound words
and add their component parts to the word database.
* htdig/PDF.cc(parseString), htdig/Plaintext.cc(parse): Don't strip
punctuation or lowercase the word before calling got_word. That
should be left up to got_word & Word methods.
* htlib/StringMatch.h, htlib/StringMatch.cc(Pattern, IgnoreCase):
Add an IgnorePunct() method, which allows matches to skip over valid
punctuation, change Pattern() and IgnoreCase() to accomodate this.
* htsearch/htsearch.cc(main, createLogicalWords): use IgnorePunct()
to highlight matching words in excerpts regardless of punctuation,
toss out old origPattern, and don't add short or bad words to
logicalPattern.
* htlib/HtWordType.h, htlib/HtWordType.cc(Initialize): set up and
use a lookup table to speed up HtIsWordChar() and HtIsStrictWordChar().
Mon Aug 23 10:13:05 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HTML.cc(parse): fix problems with null pointer when attempting
SGML entity decoding on bare &, as reported by Vadim Chekan.
Thu Aug 19 11:52:06 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/htsearch.cc(main): Fix to allow multiple keywords
input parameter definitions.
* contrib/parse_doc.pl: make spaces optional in LANGUAGE = POSTSCRIPT
PJL test.
Wed Aug 18 11:27:46 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/PDF.cc(parse): Fixed wrong variable name in new code.
Double-Oops! (It was Friday the 13th, after all...)
Tue Aug 17 16:26:46 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/HtHeap.cc(Remove): apply Geoff's patch to fix Remove.
* htlib/HtVector.h, htlib/HtVector.cc(Index): various bounds overrun
bug fixes and checking in Last(), Nth() & Index().
Mon Aug 16 13:55:10 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc(expandVariables): fix up test for &
Mon Aug 16 12:08:57 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* Makefine.am, Makefile.in, installdir/Makefile.am,
installdir/Makefile.in: change all remaining INSTALL_ROOT to DESTDIR.
Fri Aug 13 15:44:31 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/PDF.cc(parse): added missing ')' in new code. Oops!
* htlib/strptime.c, htlib/mktime.c: added #include "htconfig.h"
to pick up definitions from configure program. Let's try to
remember that config.h != htconfig.h!
Fri Aug 13 14:49:07 1999 Loic Dachary <loic at ceic.com>
* configure.in: removed unused HTDIG_TOP, changed AM_WITH_ZLIB
by CHECK_ZLIB
Fri Aug 13 14:00:16 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/PDF.cc(parse), htcommon/defaults.cc, htdoc/attrs.html
(pdf_parser): Removed -pairs option from default arguments, added
special test for acroread to decide whether to use output file or
directory as last argument (also adds -toPostScript if missing).
Program now tries to test for existance of parser before trying
to call it.
Fri Aug 13 10:10:16 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdoc/attrs.html(pdf_parser): updated xpdf version number.
Thu Aug 12 17:09:37 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* contrib/parse_doc.pl: updated for xpdf 0.90, plus other fixes.
Thu Aug 12 11:12:07 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdoc/attrs.html(logging): added Geoff's description of log lines.
Thu Aug 12 11:21:12 1999 Loic Dachary <loic at ceic.com>
* strptime fixes : AC_FUNC_STRPTIME defined in acinclude.m4 and used in configure.in,
conditional compilation of strptime.c (only if HAVE_STRPTIME not defined),
removed Htstrptime (strptime.c now defines strptime), changed all calls to Htstrptime
to calls to strptime.
Wed Aug 11 16:59:41 1999 Loic Dachary <loic at ceic.com>
* */Makefile.am: use -release instead of -version-info because nobody
wants to bother with published shared lib interfaces version numbers
at present.
* htlib/Makefile.am: added langinfo.h
Wed Aug 11 15:00:07 1999 Loic Dachary <loic at yoda.ceic.com>
* acconfig.h: removed MAX_WORD_LENGTH
* re-run auto* to make sure chain is consistent
* Makefile.am: improve distclean for tests
Wed Aug 11 13:46:22 1999 Loic Dachary <loic at yoda.ceic.com>
* configure.in: change --enable-test to --enable-tests so
that Berkeley DB tests are not activated. Since they depend
on tcl this can be a pain.
* acinclude.m4: AM_PROG_TIME locate time command + find out
if verbose output is -l (freebsd) or -v (linux)
Wed Aug 11 13:13:39 1999 Loic Dachary <loic at yoda.ceic.com>
* acinclude.m4 : AM_WITH_ZLIB autoconf macro for zlib detection that
allows --with-zlib=DIR to specify the install root of zlib,
--without-zlib to prevent inclusion of zlib. If nothing
specified zlib is searched in /usr and /usr/local.
--disable-zlib is replaced with --without-zlib.
* configure.in,configure,aclocal.m4,db/dist/acinclude.m4,
db/dist/aclocal.m4,db/dist/configure,db/dist/configure.in:
changed to use AM_WITH_ZLIB
Tue Aug 10 21:14:34 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/Display.cc (outputVariable): Fix compilation error with
assignment between char * and char *.
* htsearch/htsearch.cc (main): Use cleaner trick to sidestep
discarding const char * as suggested by Gilles.
Tue Aug 10 17:24:12 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc(expandVariables): clean up, simplify and
label lexical analyzer states.
Tue Aug 10 17:04:54 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc(expandVariables, outputVariable): add handling
for $%(var) and $&(var) in templates. Still to be documented.
Tue Aug 10 20:13:52 1999 Loic Dachary <loic at yoda.ceic.com>
* db/mp/mp_bh.c: fixed HAVE_ZLIB -> HAVE_LIBZ
Tue Aug 10 17:58:01 1999 Loic Dachary <loic at yoda.ceic.com>
* configure,configure.in,db/dist/configure.in,db/dist/configure:
added --with-zlib configure flag for htdig to specify zlib
installation path. Motivated to have compatible tests between
htdig and db as far as zlib is concerned. Otherwise configuration
is confused and miss an existing libz.
Tue Aug 10 17:44:49 1999 Loic Dachary <loic at yoda.ceic.com>
* db/mp/mp_fopen.c: fixed cmpr_open called even if libz not here
Tue Aug 10 17:40:53 1999 Loic Dachary <loic at yoda.ceic.com>
* htlib/langinfo.h: header missing on FreeBSD-3.2, needed
by strptime.c
Tue Aug 10 11:43:14 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HTML.h, htdig/HTML.cc(parse, do_tag): fix problems with
SGML entity decoding, add decoding of entities within tag attributes.
Mon Aug 9 21:13:50 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/HtHTTP.h(SetRequestMethod): Fix declaration to be void.
* htdig/Transport.h(GetRequestMaxDocumentSize): Fix declaration to
return int.
* htdig/Retriever.cc(got_href): Fix mistake in hopcount
calculations. Now returns the correct hopcount even for pages
when a faster path is found. (Still need to change indexing to
sort on hopcount).
* htsearch/htsearch.cc(main): Fix compiler error in gcc-2.95 when
discarding const by using strcpy. It's a hack, hopefully there's a
better way.
Mon Aug 9 17:23:15 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/URL.cc(ServerAlias): fix small memory leak in new default
path code (don't need to allocate new from string each time).
* htlib/cgi.cc(init): Fix PR#572, where htsearch crashed if
CONTENT_LENGTH was not set but REQUEST_METHOD was.
* htfuzzy/Fuzzy.cc(getWords), htfuzzy/Metaphone.cc(vscode):
Fix Geoff's change of May 15 to Fuzzy.cc, add test to vscode macro
to stay in array bounds, so non-ASCII letters to cause segfault.
Should fix PR#514.
Mon Aug 9 17:03:45 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* include/htconfig.h.in, htcommon/WordList.cc(Word,Flush&BadWordFile),
htcommon/DocumentRef.cc(AddDescription), htcommon/defaults.cc,
htsearch/parser.cc(perform_push), htdoc/attrs.html,
htdoc/cf_byname.html, htdoc/cf_byprog.html:
Convert the MAX_WORD_LENGTH compile-time option into the run-time
configuration attribute maximum_word_length. This required reinserting
word truncation code that had been taken out of WordList.cc.
Mon Aug 9 16:34:14 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HtHTTP.cc (isParsable): allow application/pdf as parsable,
to use builtin PDF code.
* htdig/HtHTTP.cc (ParseHeader),
htdig/Document.cc (readHeader): clean up header parsing.
* htdig/Document.cc (getdate): make tm static, so it's initialized
to zeros. Should fix PR#81 & PR#472, where strftime() would crash
on some systems. Idea submitted by benoit.sibaud at cnet.francetelecom.fr
* htlib/URL.cc (parse): fix PR#348, to make sure a missing or invalid
port number will get set correctly.
Mon Aug 9 15:42:41 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Added descriptions for attributes that were missing, added a few
clarifications, and corrected a few defaults and typos.
Covers PR#558, PR#626, and then some.
* configure.in, configure, include/htconfig.h.in, htlib/regex.c:
PR#545 fixed - configure tests for presence of alloca.h for regex.c
Sat Aug 07 13:40:17 1999 Loic Dachary <loic at ceic.com>
* configure.in: remove test for strptime. Run autoconf + autoheader.
* htlib/HtDateTime.cc: always use htdig strptime, do not try to use
existing function in libc.
* htlib/HtDateTime.h: move inclusion of htconfig.h on top of file,
change #ifdef HAVE_CONFIG to HAVE_CONFIG_H
Fri Aug 6 16:37:33 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Document.cc (UseProxy): fix call to match() and test of
return value to work as documented for http_proxy_exclude (PR#603).
Fri Aug 06 15:06:23 1999 <loic at yoda.ceic.com>
* db/dist/config.hin, db/mp/mp_cmpr.c db/db/db.c, db/mp/mp_fopen.c:
disable compression if zlib not found by configure.
Thu Aug 05 12:27:15 1999 <loic at yoda.ceic.com>
* test/dbbench.cc: invert -z and -Z for consistency
* test/Makefile.am: add dbbench call examples
Thu Aug 05 11:38:58 1999 Loic Dachary <loic at ceic.com>
* test/Makefile.am: all .html go in distribution, compile dbbench
that tests Berkeley DB performances.
* configure.in/Makefile.am: conditional inclusion of the test
directory in the list of subdirs (--enable-test). The list
of subdirs is now @HTDIGDIRS@ in configure.in & Makefile.am
* db/*: Transparent I/O compression implementation. Defines the DB_COMPRESS flag.
For instance DB_CREATE | DB_COMPRESS.
* db/db_dump/load: add -C option to specify cache size to db_dump/db_load
Wed Aug 4 22:57:27 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* db/*: Import of Sleepycat's Berkeley DB 2.7.5.
Wed Aug 4 22:40:49 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* contrib/htparsedoc/htparsedoc: Add in contributed bug fixes from
Andrew Bishop to work on SunOS 4.x machines.
Wed Aug 4 01:58:52 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* COPYING, htdoc/COPYING, configure.in, Makefile.am, Makefile.in:
Update information to use canonical version of the GPL from the
FSF. In particular, this version has the correct mailing address
of the FSF.
Mon Aug 02 11:28:00 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
* htlib/htString.h, htlib/String.cc : added the possibility to
insert an unsigned int into a string.
* htdig.cc : with verbose mode shows start and end time.
Thu Jul 22 18:10:00 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
* htdig/Transport.cc, htdig/HtHTTP.cc : modified the destructors.
Thu Jul 22 13:10:00 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
* htdig/Transport.cc, htdig/Transport.h, htdig/HtHTTP.cc,
htdig/HtHTTP.h: Re-analyzed inheritance methods and attributes of
the 2 classes. This is a first step, not definitive ... cos it
still doesn't work as I hope.
Tue Jul 20 11:21:52 1999 <loic at ceic.com>
* configure.in : added AM_MAINTAINER_MODE to prevent unwanted
dependencies check by default.
* db/Makefile.in : remove Makefile when distclean
Mon Jul 19 13:23:53 1999 <loic at ceic.com>
* Makefile.config (INCLUDES): added -I$(top_srcdir)/include because
automatically -I../include is not good, added -I$(top_builddir)/db/dist
because some db headers are configure generated (if building in a
directory that is not the source directory).
* rename db/Makefile db/Makefile.in: otherwise it does not show
up if if building in a directory that is not the source directory.
Mon Jul 19 13:02:22 1999 <loic at ceic.com>
* .cvsignore: do not ignore Makefile.config
Sun Jul 18 22:47:49 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/parser.cc: Eliminated compiler errors. Currently
returns no matches until bugs in the WordList code are fixed.
Sun Jul 18 22:42:04 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htmerge/htmerge.h: Cleanup, including WordRecord and
WordReference as needed.
* htmerge/htmerge.cc: Update for files necessary for merge
calls.
Call convertDocs before mergeWords so that the discardList gets
the list of documents deleted.
* htmerge/docs.cc: Update for difference in calling order.
* htmerge/words.cc: Update (and significant cleanup) since
WordList writes directly to db.words.db. Iterate over the stored
words, deleting those from deleted documents.
* htmerge/db.cc: Update to eliminate compiler errors. Currently
disabled until bugs in the words code are fixed.
Sun Jul 18 22:33:49 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/defaults.cc: Collapse the multiple heading_factors into
one. (It's prohibitive to define a flag for each h* tag).
Add a new url_factor for the text of URLs (presently unused).
* htcommon/DocumentRef.cc(AddDescription): Use FLAG_LINK_TEXT as
defined in htcommon/WordRecord.h.
* htdig/Retriever.h: Change factor to accomodate flags instead of
weighting factors.
* htdig/Retriever.cc: Update to use flags, and define the indexed
flags in factor as appropriate.
* htdig/HTML.cc: Update calls to got_word with appropriate new
offsets into factor[].
Sun Jul 18 22:18:16 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/WordReference.h, htcommon/WordRecord.h: Update to use
flags instead of weight.
* htcommon/WordList.h, htcommon/WordList.cc: Add database access
routines to match DocumentDB.cc.
(Word): Recognize flags instead of weight, simply add the
word. (Duplicates expected!)
(mark*): Simply delete the list of words.
(flush): Rather than dump to a text file, dump directly to the db.
Sun Jul 18 21:50:04 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/Database.h, htlib/DB2_db.h, htlib/DB2_hash.h: Add new
method Get_Item to access the data of the current item when using
Get_Next() or Get_Next_Seq().
* htlib/DB2_db.h, htlib/DB2_hash.cc: Implement Get_Item() using
cursor access.
Sat Jul 17 12:59:01 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* test/*.html: Added various HTML files as the beginnings of a
testing suite.
Fri Jul 16 16:06:27 1999 Loic Dachary <loic at ceic.com>
* All libraries (except db) use libtools. Shared libraries are
generated by default. --disable-shared to get old behaviour.
Libraries are installed in all cases.
* Change structure of default installation directory (match
standard).
database : var/htdig
programs : bin
libraries : lib
Like default apache:
conf : conf
htdocs : htdocs/htdig
cgi-bin : cgi-bin
* Switch all Makefile.in into Makefile.am
* CONFIG.in CONFIG : removed. Replaced with --with- arguments in
configure.in
* Makefile.config.in removed, only keep Makefile.config : automake
automatically defines variables for each AC_SUBST variables.
Makefile.config has HTLIBS + DEFINES
* db/Makefile : added to forward (clean all distclean) targets to
db/dist and implement distdir target.
* acconfig.h : created to allow autoheader to work (contains GETPEERNAME_LENGTH_T
HAVE_BOOL, HAVE_TRUE, HAVE_FALSE, NEED_PROTO_GETHOSTNAME). Extra definitions
added before @TOP@ (TRUE, FALSE, VERSION, MAX_WORD_LENGTH, LOG_LEVEL, LOG_FACILITY).
* installdir/Makefile.am : installation rules moved from Makefile.am to installdir/Makefile.am
* include/Makefile.am : distribute htconfig.h.in and stamp-h.in
* Makefile.am : do not pre-create the directories, creation is done during the installation
* configure.in: CF_MAKE_INCLUDE not needed anymore : automake handles
the include itself.
Fri Jul 16 13:04:27 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HTML.cc(parse): fix to prevent closing ">" from being passed
to do_tag().
Thu Jul 15 21:25:12 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Document.cc (readHeader, getParsable): Add back
application/pdf to use builtin PDF code.
* htdig/Makefile.in: Remove broken Postscript parser as it never
worked.
* htlib/URL.cc (normalizePath, path): Use config.Boolean as
pointed out by Gilles.
Thu Jul 15 15:54:30 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdoc/attrs.html(pdf_parser & external_parsers): add corrections &
clarifications, links to relevant FAQ entries.
Thu Jul 15 18:00:00 1999 CEST Gabriele Bartolini <g.bartol at comune.prato.it>
* htlib/HtDateTime.cc, htlib/HtDateTime.h : added the possibility
to initialize and compares HtDateTime with integers. Added the
constructor HtDateTime (int) and various operator overloading methods.
Wed Jul 14 22:57:14 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/URL.cc (normalizePath, path): If not case_sensitive,
lowercase the URL. Should ensure that all URLs are appropriately
lowercased, regardless of where they're generated.
Wed Jul 14 22:37:47 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/DB2_db.cc (OpenReadWrite, OpenRead): Add flag DB_DUP to
database to allow storage of duplicate keys (in this case,
words).
Tue Jul 13 15:36:40 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HTML.cc (do_tag): Fix handling of <link> and <area>,
to use href= instead of src=.
Mon Jul 12 22:31:48 1999 Hanno Mueller <kontakt at hanno.de>
* contrib/scriptname/results.shtml: Remove unintentional $(VERSION).
Mon Jul 12 22:20:40 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/HTML.cc (do_tag): Cleanups suggested by Gilles, combining
<link> and <area>, <embed> <object> and <frame> and moving <img>
to a separate case.
Sun Jul 11 19:32:38 1999 Hanno Mueller <kontakt at hanno.de>
* contrib/README: Add scriptname directory.
* contrib/scriptname/*: An example of using htsearch within
dynamic SSI pages
* htcommon/defaults.cc: Add script_name attribute to override
SCRIPT_NAME CGI environment variable.
* htdoc/FAQ.html: Update question 4.7 based on including htsearch
as a CGI in SSI markup.
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html,
htdoc/hts_templates.html: Update based on behavior of script_name
attribute.
* htsearch/Display.cc: Set SCRIPT_NAME variable to attribute
script_name if set and CGI environment variable if undefined.
Sat Jul 10 00:22:34 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htfuzzy/Regex.cc (getWords): Anchor the match to the beginning
of string, add regex-interpeted characters to extra_word_chars
temporarily, and strip remaining punctuation before making a match.
Fri Jul 9 22:35:57 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/Display.cc: Back out change of June 24.
* htsearch/htsearch.cc: Ditto.
* htsearch/htsearch.cc (setupWords): Remove HtStripPunctuation in
favor of requiring Fuzzy classes to strip whatever punctuation is
necessary.
* htfuzzy/Fuzzy.h: Add HtWordType.h to #includes and update comments.
* htfuzzy/Synonym.cc, htfuzzy/Substring.cc, htfuzzy/Speling.cc,
htfuzzy/Prefix.cc, htfuzzy/Exact.cc, htfuzzy/Endings.cc,
htfuzzy/Fuzzy.cc (getWords): Call HtStripPunctuation on input before
performing fuzzy matching.
Thu Jul 8 21:28:44 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/HTML.cc (do_tag): Add support for parsing <LINK> tags.
Mon Jul 5 16:53:23 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/htdig.cc (main): Insert '*' instead of username/password
combination to hide credentials in process accounting.
Sat Jul 3 17:35:52 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Transport.h(ConnectionWrite): Return value from
Connection::write call.
* htdig/URLRef.h, htdig/URLRef.cc: Cleanup and made hopcount
default consistent with 7/3 change to DocumentRef.cc
* htdig/Server.h, htdig/Server.cc, htdig/Retriever.cc: Cleanup and
fixes to match URLRef calling interface.
Sat Jul 3 16:37:29 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/HTML.cc (do_tag): Fix <meta> robots parsing to allow
multiple directives to work correctly. Fixes PR#578, as provided
by Chris Liddiard <c.h.liddiard at qmw.ac.uk>.
Sat Jul 3 00:47:51 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Makefile.in: Remove old SGMLEntities code.
Sat Jul 3 00:26:55 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/DocumentRef.cc (Clear): Change default value of
docHopCount to 0 to fix several hopcount bugs.
* htdig/Transport.h, htdig/Transport.cc: Changes to support URL
referers as well as authentication credentials.
* htdig/HtHTTP.h, htdig/HtHTTP.cc(SetCredentials): Implement HTTP
Basic Authentication credentials.
(SetRequestCommand): Use Referer and Authentication headers if
supplied.
Sun Jun 30 11:26:00 1999 Gabriele Bartolini <g.bartol at comune.prato.it>
* htdig/Transport.h: Inserted the methods declarations regarding
the connection management. The code has been moved out from the
HtHTTP.h code. Also moved here the static variable 'debug'.
* htdig/Transport.cc: Definition of the connection management code.
The code has been moved out from the HtHTTP.cc code.
* htdig/HtHTTP.h: Eliminated the connection management code and the
static variable 'debug'. Inserted the 'modification_time_is_now' as
a static variable, in order to respect the encapsulation principle.
* htdig/HtHTTP.cc: Eliminated the connection management code and the
static variable 'debug' initialization. Inserted the
'modification_time_is_now' initialization.
Sun Jun 27 16:29:49 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/HTML.h: Cleanup.
* htcommon/defaults.cc: Added default for img_alt_factor for text
weighting on <IMG ALT="..." tags.
* htdig/Retriever.cc: Add slot for img_alt_factor.
* htdig/HTML.cc (do_tag): Rewrite using Configuration class to
separate tag attributes.
(parse): Ignore final '>' in string passed to do_tag.
(do_tag): Index IMG ALT text.
Fri Jun 25 17:58:44 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Transport.h: Fix virtual methods for Transport_Response to
have defaults.
* htdig/HtHTTP.h: Fix class declaration of HtHTTP class to prevent
syntax error. Pointed out by Gabriele.
* htdig/Transport.cc: Add (empty) ctor and dtor functions for
Transport_Response.
Thu Jun 24 22:28:44 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/htsearch.cc (main): Add support for form inputs
configdir and commondir as contributed by Herbert Martin Dietze
<herbert at fh-wedel.de>.
* htsearch/Display.cc (createURL): If configdir and commondir are
defined, add them to URLs sent for other pages.
Wed Jun 23 23:00:18 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/HtHTTP.h, htdig/HtHTTP.cc: Make a subclass of Transport.
Wed Jun 23 22:08:20 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/Configuration.cc (Add): Handle single-quoted values for
attributes.
Tue Jun 22 23:35:39 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Transport.h, htdig/Transport.cc: Virtual classes to handle
transport protocols such as HTTP, FTP, WAIS, gopher, etc.
* htdig/Makefile.in: Make sure they're compiled (not that there's
much!)
* htdig/HtHTTP.h: Add htdig.h to ensure config is defined.
Mon Jun 21 14:33:10 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Document.cc(readHeader), htdig/HtHTTP.cc(ParseHeader): fix
handling of modification_time_is_now in readHeader, add similar code
to ParseHeader.
Sun Jun 20 21:25:15 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Retriever.h: Add hop parameter to got_href
method. Defaults to 1.
* htdig/Retriever.cc(got_href): Use it instead of constant 1.
* htdig/HTML.cc (do_tag): Use new hop parameter to keep the same
hopcount for frame, embed and object tags.
* htdig/Makefile.in: Make sure HtHTTP.cc is compiled.
* htdig/HtHTTP.cc (ctor): Add default value for _server to make
prevent strange segmentation faults.
Fri Jun 18 09:53:30 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/DocumentRef.h, htcommon/DocumentRef.cc(Clear, Deserialize):
add docHeadIsSet field, code for setting and getting it.
* htcommon/DocumentDB.cc(Add): only put out excerpt record if DocHead
is really set.
* htmerge/doc.cc(convertDocs): add missing else after code to delete
documents with no excerpts.
(All these changes fix the disappearing excerpts problem in 3.2.)
Wed Jun 16 23:04:38 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Document.cc (UseProxy): Change http_proxy_exclude to an
escaped regex string. Allows for much more complicated rules.
Wed Jun 16 16:04:07 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* Makefile.config.in: fix typo in name IMAGE_URL_PREFIX.
* htdig/Retriever.cc(IsValidURL): change handling of valids to only
reject if list is not empty, give different error message.
Wed Jun 16 14:40:56 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/htsearch.cc(main): pass StringList args to setEscaped()
instead of unprocessed input[] char *'s.
* htsearch/Display.cc(buildMatchList): cast score to (int) in maxScore
calculation, to avoid compiler warnings.
* htdig/htdig.cc(main): change comparison on minimalFile to avoid
compiler warnings.
Wed Jun 16 11:30:23 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/HtRegex.cc(setEscaped): Fix appending of substring to avoid
compiler warnings.
* htlib/HtDateTime.cc(SettoNow): Strip out all the nonsense that
doesn't work, set Ht_t directly instead.
Wed Jun 16 09:58:12 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* configure.in, configure, Makefile.config.in: Correct handling of
SEARCH_FORM variable, as Gabriele recommended.
Wed Jun 16 09:32:06 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/cgi.h, htlib/cgi.cc(cgi & init), htsearch/htsearch.cc
(main & usage): allow a query string to be passed as an argument.
Wed Jun 16 08:43:09 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/Makefile.in, htdig/Makefile.in, htfuzzy/Makefile.in,
htmerge/Makefile.in, htnotify/Makefile.in: Use standard $(bindir)
variable instead of $(BIN_DIR). Allows for standard configure flags
to set this. (Completes Geoff's change on May 15.)
Tue Jun 15 14:31:50 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/PDF.cc(parseNonTextLine): move line that clears _parsedString,
so title cleared even if rejected.
* htsearch/Display.cc(buildMatchList & sort): move maxScore calculation
from sort to buildMatchList, so it's done even if there's only 1 match.
Mon Jun 14 15:01:07 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Document.cc(RetrieveHTTP): Show "Unknown host" message if
Connection::assign_server() fails (due to gethostbyname() failure).
Mon Jun 14 13:52:34 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htcommon/defaults.cc, htsearch/Display.h, htsearch/Display.cc,
htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html,
htdoc/hts_templates.html: add template_patterns attribute, to select
result templates based on URL patterns.
Sun Jun 13 16:29:19 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Retriever.cc (IsValidURL): Add valid_extension list, as
requested numerous times.
* htcommon/defaults.cc: Add config attribute valid_extensions,
with default as empty.
Sat Jun 12 23:10:39 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/DocumentRef.h: Fix thinkos introduced in change earlier
today. Actually compiles correctly now.
Sat Jun 12 22:37:22 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/HtHTTP.cc (ParseHeader): Fix parsing to take empty headers
into account. Fixes PR#557.
* htsearch/Display.h, htsearch/Display.cc (excerpt): Fix
declaration to refer to first as reference--ensures ANCHOR is
properly set. Fixes PR#541 as suggested by <pmb1 at york.ac.uk>.
* htfuzzy/Endings.cc (getWords): Fixed PR#560 as suggested by
Steve Arlow <yorick at ClarkHill.com>. Solves problems with fuzzy
matching on words like -ness: witness, highness, likeness... Tries
to interpret words as root words before attempting stemming.
* installdir/search.html (Match): Add Boolean to default search
form, as suggested by PR#561.
* htlib/URL.cc (URL): Fix PR#566 by setting the correct length of
the string being matched. 'http://' is 7 characters...
Sat Jun 12 19:06:36 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/HtZlibCodec.h, htlib/HtZlibCodec.cc: New files. Provide
general access to zlib compression routines when available.
* htcommon/DocumentRef.h, htcommon/DocumentRef.cc: Remove
compression access and restore DocHead access through default
methods. Compression of excerpts will occur through the
HtZlibCodec classes and through the DocumentDB excerpt access.
Sat Jun 12 15:25:08 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htmerge/docs.cc (convertDocs): Load excerpt from external
database before considering it empty.
Sat Jun 12 14:41:54 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/Display.cc (displayMatch): Added patch from Torsten
Neuer <tneuer at inwise.de> to fix PR# 554.
* htdig/HTML.cc (do_tag): Add parsing for <embed> and <object>,
including suggestions from Gilles as to condensing cases with
<img> parsing.
Sat Jun 12 14:00:39 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/ExternalParser.cc (parse): Quote the filename before
passing it to the command-line to prevent shell escapes. Fixes PR#542.
Fri Jun 11 15:59:10 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/URL.cc(removeIndex): use CompareWord instead of FindFirstWord,
to avoid substring matches.
Wed Jun 2 15:51:00 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/URLTrans.cc(encodeURL): Fix to ensure that non-ASCII letters
get URL-encoded.
Mon May 31 22:40:29 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/DocumentDB.cc(ReadExcerpt): Fix silly typos with methods,
thinko with docID.
(Add): Add the excerpt *before* the URL index is written.
* htdig/Retriever.cc(isValidURL): Remove code restricting URLs to
relative and http://.
* htdig/htdig.cc(main): Unlink the doc_excerpt file when doing an
initial dig.
(main): Fix silly typo with minimumFile.
* htmerge/db.cc(mergeDB): Call DocumentDB::Open() with doc_excerpt for
consistency--doesn't actually do anything with it.
* htmerge/docs.cc(convertDocs): Ditto. Also don't delete a
document simply because it has an empty DocHead. Excerpts are now
stored in a separate database!
* htmerge/htmerge.h: Call mergeDB and convertDocs with
doc_excerpt parameter.
* htmerge/htmerge.cc(main): Ditto.
* htsearch/Display.h: Call ctor with all three doc db filenames.
* htsearch/Display.cc(Display): Call DocumentDB::Open with above.
(excerpt): Retrieve the excerpt from the excerpt database.
* htsearch/htsearch.cc: Call Display::Display with all three doc
db filenames.
Mon May 31 15:08:30 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/DocumentDB.h: Add new method ReadExcerpt to read the
excerpt from the separate (new) excerpt database. Change Open()
and Read() methods to account for this new database.
* htcommon/DocumentDB.cc (Open): Open the excerpt database too.
(Read): Ditto.
(Close): Close it if it exists.
(ReadExcerpt): Explicitly read the DocHead of this DocumentRef.
(Add): Make sure DocHeads go into the excerpt database.
(Delete): Make sure we delete the associated excerpt too.
(CreateSearchDB): Make sure we grab the excerpt from the database.
* htcommon/DocumentRef.cc(Serialize): Don't serialize the DocHead
field, this is done in the DocumentDB code.
* htcommon/defaults.cc(modification_time_is_now): Set to true to
avoid problems with not setting dates when no Last-Modified:
header appears.
(doc_excerpt): Add new attribute for the filename of the excerpt
database.
* htdig/HtHTTP.h: Remove incorrect virtual declarations from
Request and EstablishConnection methods. Assign void return value
to ResetStatistics since it doesn't return a value.
* htdig/htdig.cc (main): Add new "minimal" flag '-m' to only index
the URLs in the supplied file. Sets hopcount to ignore links.
Sun May 30 19:36:15 1999 Alexander Bergolth <leo at leo.wu-wien.ac.at>
* htlib/URL.cc (normalizePath): Fix bug that caused endless loops
and core dumps when normalizing URLs with more than one of
( "/../" | "/./" | "//" | "%7E" )
* htlib/HtDateTime.cc (Httimegm): Call Httimegm in timegm.c unless
HAVE_TIMEGM.
Wed May 26 23:15:46 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htmerge/db.cc (mergeDB): Add patch contributed by Roman Dimov
<roman at twist.mark-itt.ru> to fix problems with confusing docIDs,
resulting in documents in main db removed when the corresponding
DocID was supposed to be removed from the merged db.
Wed May 26 11:30:22 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/Display.h, htsearch/Display.cc, htsearch/htsearch.cc:
Switch restrict and excludes to use HtRegex instead of StringMatch.
* htdig/htdig.cc (main): Fix typo clobbering setting of
excludes. Obviously fixes problems with badquerystr and excludes!
* htdig/HtHTTP.cc (ParseHeader): Change parsing to skip extra
whitespace, as in 5/19 Document.cc(readHeader) change.
Wed May 19 22:17:49 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/HtHTTP.cc, htdig/HtHTTP.h: Add new files, contributed by
Gabriele. A start at an HTTP/1.1 implementation.
* htdig/Document.cc (readHeader): Fix change of 5/16 to actually
work! :-)
* htsearch/Display.cc (expandVariables): Change end-of-expansion
test to include states 2 and 5 to ensure templates ending in } are
still properly expanded, as suggested by Gilles.
Mon May 17 14:31:31 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/HtRegex.cc (setEscaped): Use full list of characters to
escape as suggested by Gilles.
Sun May 16 17:27:51 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Document.cc (readHeader): Since multiple whitespace
characters are allowed after headers, don't use strtok.
(readHeader): We no longer pretend to parse Word, PostScript, or
PDF files internally.
(getParsable): Don't generate PostScript or PDF objects since we
no longer recommend using them.
Sun May 16 17:07:19 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/HtRegex.cc (setEscaped): Ensure escaping does not loop
beyond the end of a string.
* htdig/Retriever.cc (IsValidURL): Fix badquerystr parsing to use
HtRegex as expected. (Oops!)
* htdig/HTML.cc (parse): Use HtSGMLCodec during parsing, rather
than encoding the whole document at the beginning. More consistent
with previous use of SGMLEntities.
Sat May 15 12:57:40 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/URL.cc (normalizePath): Remove extra (useless) variable
declarations.
* htlib/htString.h, htlib/String.cc: Add new method Nth to solve
problems with (String *)->[].
* htlib/HtRegex.h, htlib/HtRegex.cc: Added new method
setEscaped(StringList) to produce a pattern connected with '|' of
possibly escaped strings. Strings are not escaped if enclosed in
[] and the brackets are removed from unescaped regex.
* htdig/htdig.h: Use HtRegex instead of StringMatch for limiting
by default.
* htdig/Retriever.cc: As above.
* htdig/htdig.cc(main): As above. Use setEscaped to set limits
correctly (i.e. in a backwards-compatible way).
Sat May 15 11:24:26 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htfuzzy/Speling.h, htfuzzy/Speling.cc: New files for simple
spelling corection. Currently limited to transpostion and added
character errors. Missing character errors to be added soon.
* htfuzzy/Makefile.in: Compile it.
* htfuzzy/Fuzzy.cc (getFuzzyByName): Use it.
* htcommon/defaults.cc: Add new option minimum_speling_length for
the shortest query word to receive speling fuzzy
modifications. Should prevent problems with valid words generating
unrelated "corrections" of words. Default is 5 chars.
Sat May 15 11:18:27 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htfuzzy/Fuzzy.cc (getWords): Ensure word is not an empty or null
string.
* htfuzzy/Metaphone.cc (generateKey): Ditto. Should solve PR#514.
* htdig/Document.cc (Reset): Do not use modification_time_is_now
attribute. Simply reset modtime to 0, time is set elsewhere.
* Makefile.config.in: Add options from separate CONFIG files.
* configure.in, configure: Add configure-level switches for
--with-image-url-prefix= and --with-search-form=. Do not generate
CONFIG file (hopefully to be phased out soon).
* */Makefile.in: Make linking CONFIG-dependent files depend on
Makefile.config, not CONFIG.
* Makefile.in: Use standard $(bindir) variable instead of
$(BIN_DIR). Allows for standard configure flags to set this.
Tue May 11 11:15:08 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/HtDateTime.h, htlib/HtDateTime.cc: Updates from Gabriele,
fixing SetToNow() and adding GetDiff to return the difference in
time_t between two objects.
* htdig/Retriever.cc (Need2Get): Add patch from Warren Jones
<wjones at tc.fluke.com> to keep track of inodes on local files to
eliminate duplicates. Hopefully this will serve for a first-try at
a signature method for HTTP as well.
Tue May 4 20:20:40 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htfuzzy/Regex.h, htfuzzy/Regex.cc: Add new regex fuzzy
algorithm, based on Substring and Prefix.
* htfuzzy/Fuzzy.cc (getFuzzyByName): Add it.
* htfuzzy/Makefile.in: Compile it.
* htcommon/defaults.cc: Add new attribute regex_max_words, same
concept as substring_max_words.
* htfuzzy/Exact.cc, htfuzzy/Substring.cc, htfuzzy/Prefix.cc:
Define names attribute for debugging purposes.
* installdir/htdig.conf: Fix the comments for search_algorithm to
refer to all the current possibilities.
* htlib/HtRegex.cc (match): Slight cleanup of how to return.
Tue May 4 15:28:38 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/htsearch.cc (reportError): Add e-mail of maintainer to
error message. Should help direct people to the correct place.
* htdig/Retriever.cc (IsValidURL): Lowercase all extensions from
bad_extensions as well as all extensions used in
comparisons. Ensures we're using case-insenstive matching.
Mon May 3 23:20:22 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/Retriever.cc (IsValidURL): Fix typo with #else statement
for REGEX.
* htdig/htdig.cc: Add conditionals for REGEX to use HtRegex
instead of StringMatch methods when defined.
* htlib/HtDateTime.h: Update to remove definitions of true and
false, established by May 2 change in
include/htconfig.h.in as contributed by Gabriele.
* htlib/HtDateTime.cc: Replace call to mktime internal function to
Httimegm in timegm.c, contributed by Leo.
* htlib/timegm.c: Declare my_mktime_gmtime_r to prevent compiler
errors with incompatible gmtime structures, contributed by Leo.
* configure.in: Rearrange date/time checks for clarity.
* configure: Regenerate using autoconf.
* include/htconfig.in: Add HAVE_STRFTIME flag.
Sun May 2 18:49:04 1999 Alexander Bergolth <leo at leo.wu-wien.ac.at>
* configure.in, include/htconfig.h.in: Added a configure test for
the availability of the bool type.
Fri Apr 30 20:00:09 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/HtDateTime.h, htlib/HtDateTime.cc: Update with new
versions sent by Gabriele.
Fri Apr 30 19:30:42 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/HtRegex.h, htlib/HtRegex.cc: New class, contributed by
Peter D. Gray <pdg at draci.its.uow.edu.au> as a small wrapper for
system regex calls.
* htlib/Makefile.in: Build it.
* htdig/htdig.h: Use it if REGEX is defined.
* htdig/htdig.cc: Ditto.
* htdig/Retriever.cc: Ditto.
* htsearch/Display.cc(generateStars): Remove extra newline after
STARSRIGHT and STARSLEFT variables, noted by Torsten Neuer
<tneuer at inwise.de>.
Fri Apr 30 18:52:56 1999 Alexander Bergolth <leo at leo.wu-wien.ac.at>
* htlib/URL.cc(ServerAlias): port for server_aliases entries now
defaults to 80 if omitted.
Wed Apr 28 19:57:38 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/HtDateTime.h, htlib/HtDateTime.cc: New class, contributed
by Gabriele.
* htlib/Makefile.in: Compile it.
* README: Update message from 3.1.0 (oops!) to 3.2.0, remove rx
directory.
* installdir/htdig.conf: Add example of no_excerpt_show_top
attribute in line with most user's expectations.
* contrib/README: Mention contributed section of the website.
* Makefile.in: Ignore mailarchive directory--now removed from CVS.
Wed Apr 28 10:46:31 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htmerge/db.cc(mergeDB): fix a few errors in how the merge index
name is obtained.
Tue Apr 27 23:00:39 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* Makefile.config.in: Remove now-useless LIBDIRS variable.
* mailarchive/Split.java, mailarchive/htdig: Remove ancient
mailarchive stuff.
Tue Apr 27 18:01:52 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc(setupImages): Remove code setting URLimage to
a bogus pattern (remnant left over after merge).
Tue Apr 27 16:43:08 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Document.cc(RetrieveHTTP): Show "Unable to build connection"
message at lower debug level.
Tue Apr 27 11:24:19 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/Display.h: Remove sort, compare functions re-introduced
in merge. Moved to ResultMatch by Hans-Peter's April 19th chnages.
* htsearch/Display.cc: Remove bogus call to ResultMatch:setRef,
removed by Hans-Pater's April 19th changes.
Sat Apr 24 21:08:35 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* Merge in changes from 3.1.2 (see below).
* htcommon/WordList.cc: Change valid_word to use iscntl().
* htdig/Plaintext.cc: Remove CVS Log.
* htdig/Retriever.cc: Fix ancient bug with empty excludes list.
* htlib/List.cc: Remove CVS Log, use more succinct test for
out-of-bounds.
* htsearch/Display.cc: Fix logic with starPatterns, only show top
of META description.
* htsearch/Display.h: Introduce headers needed for sort functionality.
* installdir/htdig.conf: Add example max_doc_size attribute as
well as example for including start_url from a file.
* htdoc/ChangeLog, htdoc/RELEASE.html, htdoc/FAQ.html,
htdoc/where.html, htdoc/cf_byname.html, htdoc/cf_byprog.html,
htdoc/uses.html, htdoc/contents.html, htdoc/mailarchive.html:
Merge in documentation updates from 3.1.2.
Sat Apr 24 15:18:45 1999 Hans-Peter Nilsson <hp at bitrange.com>
* htsearch/Display.cc (sort): Return immediately if <= 1 items to
sort.
Mon Apr 19 00:53:06 1999 Hans-Peter Nilsson <hp at bitrange.com>
* htsearch/ResultMatch.h (create): New. All (the only) ctor
caller changed to use this.
(setRef, getRef): Removed. Callers changed to use nearby data.
(incomplete): Removed.
(setIncompleteScore): Renamed to...
(setScore): ...this. All callers changed.
(setSortType): New.
(getTitle, getTime, setTitle, setTime, getSortFun): New virtual
functions.
(enum SortType): Moved from Display, private.
(mySortType): New static member.
* htsearch/ResultMatch.cc (mySortType): Define static member
variable.
(getScore): Remove handling of "incomplete". Moved to ResultMatch.h
(getTitle, getTime, setTitle, setTime): New dummy functions.
(class ScoreMatch, class TimeMatch, class IDMatch, class
TitleMatch): Derived classes with compare functions (from Display)
and extra sort-method-related members, as needed.
(setSortType): New, mostly moved from Display.
(create): New.
* htsearch/Display.h: Changed first argument from ResultMatch * to
DocumentRef *.
(compare, compareTime, compareID, compareTitle, enum SortType,
sortType): Removed.
* htsearch/Display.cc (display): Call ResultMatch::setSortType and
output syntax error page for invalid sort methods.
(displayMatch): Change first argument from ResultMatch * to
DocumentRef *ref. All callers changed.
(buildMatchList): Remove call to sortType and typ variable.
Always call (ResultMatch::)setTime and setTitle. Remove extra
call to setID.
(sort): Call (ResultMatch::)getSortFun for qsort compare function.
(compare, compareTime, compareID, compareTitle, sortType): Removed.
Wed Apr 14 21:21:35 1999 Alexander Bergolth <leo at leo.wu-wien.ac.at>
* htlib/regex.c: fixed compile problem with AIX xlc compiler
* htlib/HtHeap.h: fixed compile problem with AIX xlc compiler (bool)
* htlib/HtVector.h: ditto
* htsearch/Display.cc: fixed typo
Wed Apr 14 00:17:06 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/Display.h: Add compareID for sorting results by DocID.
* htsearch/Display.cc: As above.
Tue Apr 13 23:50:28 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/defaults.cc: Add new config option use_doc_date to use
document meta information for the DocTime() field.
* htdig/HTML.cc(do_tag): Call Retriever::got_time if use_doc_date
is set and we run across a META date tag.
* htdig/Retriever.h, htdig/Retriver.cc: Add new got_date
function. When called, sets the DocTime field of the DocumentRef
after parsing is completed. Currently assumes ISO 8601 format for
the date tag.
Sun Apr 11 12:51:39 1999 Hans-Peter Nilsson <hp at bitrange.com>
* htsearch/Display.cc (buildMatchList): Delete thisRef if excluded
by URL. Call setRef(NULL), not setRef(thisRef).
Wed Apr 7 19:35:42 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/htsearch.cc(usage): Remove bogus -w flag.
Thu Apr 1 12:05:11 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/htsearch.cc(main): Apply Gabriele's patch to avoid using an
invalid matchesperpage CGI input variable.
* htsearch/Display.cc(display) & (setVariables): Correct any invalid
values for matches_per_page attribute to avoid div. by 0 error.
Wed Mar 31 15:19:25 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htfuzzy/Synonym.cc: Fix previous fix of minor memory leak.
(db pointer wasn't properly set)
Mon Mar 29 10:31:09 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/Display.cc(excerpt): Added patch from Gabriele to
improve display of excerpts--show top of description always,
otherwise try to find the excerpt.
Sun Mar 28 19:45:02 1999 Hans-Peter Nilsson <hp at bitrange.com>
* htlib/HtWordType.h (HtIsWordChar): Avoid matching 0 when using
strchr.
(HtIsStrictWordChar): Ditto.
* htdig/ExternalParser.cc (parse): Before got_href call, set
hopcount of URL to that of base plus 1.
Add URL to external parser error output.
* htlib/URL.cc (URL(char *ref, URL &parent) ): Move call to
constructURL call inside previous else-clause.
(parse): Reset _normal, _signature, _user initially.
Commence parsing, even if no "//" is found. Do not set _normal
here.
(normalizePath): Call removeIndex finally.
* htcommon/WordRecord.h (WORD_RECORD_COMPRESSED_FORMAT)
[!NO_WORD_COUNT]: Change to "cu4".
* htlib/HtPack.cc (htPack): Correct handling at end of code-string
and end of encoding-byte. Add code 'c' for often-1 unsigned ints.
(htUnpack): Add handling of code 'c'.
Thu Mar 25 12:18:05 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* installdir/long.html, installdir/short.html: Remove backslashes
before quotes in HTML versions of the builtin templates.
* Makefile.in: Add long.html & short.html to COMMONHTML list, so
they get installed in common_dir.
Thu Mar 25 11:56:50 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc(displayMatch), htcommon/defaults.cc,
htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Add date_format attribute suggested by Marc Pohl.
Thu Mar 25 09:46:07 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc(displayMatch): Avoid segfault when DocAnchors
list has too few entries for current anchor number.
Tue Mar 23 15:08:40 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc(displayMatch): Fix problem when documents
did not have descriptions.
Tue Mar 23 14:17:14 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/PDF.cc(parseString): Use minimum_word_length instead of
hardcoded constant.
Tue Mar 23 14:02:40 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HTML.cc: Fix bug where noindex_start was empty, allow case
insensitive matching of noindex_start & noindex_end.
* htdoc/attrs.html, htdoc/cf_byname.html, htdoc/cf_byprog.html:
Fix inconsistencies in documentation for noindex_start & noindex_end.
Tue Mar 23 14:01:16 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HTML.cc: Add check for <a href=...> tag that is missing a
closing </a> tag, terminating it at next href.
Tue Mar 23 13:57:35 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Document.cc: Fix check of Content-type header in readHeader(),
correcting bug introduced Jan 10 (for PR#91), and check against
allowed external parsers.
Tue Mar 23 13:54:35 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HTML.cc: More lenient comment parsing, allows extra dashes.
Tue Mar 23 12:22:53 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htlib/Configuration.cc(Add): Fix function to avoid infinite loop
on some systems, which don't allow all the letters in isalnum() that
isalpha() does, e.g. accented ones.
* htdig/HTML.cc: Fix three reported bugs about inconsistent
handling of space and punctuation in title, href description & head.
Now makes destinction between tags that cause word breaks and those
that don't, and which of the latter add space.
Tue Mar 23 12:15:48 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/Plaintext.cc(parse): Use minimum_word_length instead of
hardcoded constant.
Tue Mar 23 12:11:04 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htmerge/words.cc(mergeWords): Fix to prevent description text
words from clobbering anchor number of merged anchor text words.
Tue Mar 23 12:02:00 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/Display.cc(generateStars): Add in support for use_star_image
which was lost when template support was put in way back when.
Tue Mar 23 11:47:52 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* Makefile.in: add missing ';' in for loops, between fi & done
Mon Mar 22 16:06:15 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htdig/HTML.cc: Check for presence of more than one <title> tag.
Mon Mar 22 15:32:15 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* contrib/parse_doc.pl: Fix handling of minimum word length.
Sun Mar 21 15:19:00 1999 Hans-Peter Nilsson <hp at bitrange.com>
* htlib/HtPack.cc (htPack): New.
* htlib/HtPack.h: New.
* htsearch/parser.cc (perform_push): Unpack WordRecords using
htUnpack.
* htsearch/htsearch.h: Add "debug" declaration.
* htmerge/words.cc (mergeWords): Pack WordRecords using htPack.
* htlib/Makefile.in (OBJS): Add HtPack.o
* htcommon/WordRecord.h: Add WORD_RECORD_COMPRESSED_FORMAT
* htdig/HTML.cc (parse): Keep contents in String variable
textified_contents while using its "char *".
* htsearch/Display.cc (excerpt): Similar for head_string.
Thu Mar 18 20:01:24 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* installdir/long.html, installdir/short.html: Write out HTML
versions of the builtin templates.
* installdir/htdig.conf: Add commented-out template_map and
template_name attributes to use the on-disk versions.
Tue Mar 16 03:06:06 1999 Hans-Peter Nilsson <hp at bitrange.com>
* htcommon/DocumentDB.cc (Delete): Fix bad parameter to Get: use
key, not DocID.
Tue Mar 16 01:50:16 1999 Hans-Peter Nilsson <hp at bitrange.com>
* htlib/HtWordType.h (class HtWordType): New.
* htlib/HtWordType.cc: New.
* htlib/Makefile.in (OBJS): Add HtWordType.o
* htdoc/attrs.html: Document attribute extra_word_characters.
* htdoc/cf_byprog.html: Ditto.
* htdoc/cf_byname.html: Ditto.
* htcommon/defaults.cc (defaults): Add extra_word_characters.
* htsearch/htsearch.h: Lose spurious extern declaration of unused
variable valid_punctuation.
* htsearch/htsearch.cc (main): Call HtWordType::Initialize.
(setupWords): Use HtIsWordChar, HtIsStrictWordChar and
HtStripPunctuation. Do not read valid_punctuation.
* htsearch/Display.cc (excerpt): Use HtIsStrictWordChar.
* htlib/StringMatch.cc (FindFirstWord): Ditto.
(CompareWord): Ditto.
* htdig/htdig.cc (main): Call HtWordType::Initialize.
* htdig/Retriever.h (class Retriever): Lose member
valid_punctuation.
* htdig/Retriever.cc (Retriever): Lose its initialization.
* htdig/Postscript.h (class Postscript): Lose member
valid_punctuation.
* htdig/Postscript.cc (Postscript): Lose its initialization.
(flush_word): Use HtStripPunctuation.
(parse_string): Use HtIsWordChar,
HtIsStrictWordChar and HtStripPunctuation.
* htdig/Parsable.h (class Parsable): Lose member
valid_punctuation.
* htdig/Parsable.cc (Parsable): Lose its initilization.
* htcommon/WordList.cc (valid_word): Use HtIsStrictWordChar.
(BadWordFile): Use HtStripPunctuation. Do not read
valid_punctuation.
* htcommon/DocumentRef.cc (AddDescription): Use HtIsWordChar,
HtIsStrictWordChar and HtStripPunctuation. Do not read
valid_punctuation.
* htdig/PDF.cc (parseString): Similar..
* htdig/HTML.cc (parse): Similar.
* htdig/Plaintext.cc (parse): Similar.
Sun Mar 14 14:04:31 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/Makefile.in: Add HtSGMLEntites.o to OBJS.
Sat Mar 13 21:29:38 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htcommon/DocumentDB.cc(Open, Read): Switch to DB_HASH for faster
access. Most important for very quick URL lookups!
* htcommon/DocumentRef.cc(AddDescription): Check to see that
description isn't a null string or contains only whitespace before
doing anything.
* htlib/HtSGMLCodec.h, htlib/HtSGMLCodec.cc: Add new class to
convert between SGML entities and high-bit characters.
* htdig/HTML.cc(parse): Use it instead of SGMLEntities.
* htsearch/Display.cc(excerpt): Use HtSGMLCodec to covert *back*
to SGML entities before displaying.
* htlib/HtHeap.cc: Cleaned up comments, use more efficient
procedure to build from a vector.
* htlib/HtWordCodec.cc(HtWordCodec): Fix bug with constructing from
uninitialized variables!
* htlib/URL.h, htlib/URL.cc: Initial support for multiple schemes and
user@host URLs.
* htlib/List.cc(Nth): Check for out-of-bounds requests before
doing anything.
Fri Mar 12 00:31:03 1999 Hans-Peter Nilsson <hp at bitrange.com>
* htlib/mktime.c (__mon_yday): Correct size to number of
initializers (2).
* htsearch/htsearch.cc (main): Remove doc_index handling.
* htsearch/ResultMatch.h (setURL): Change to setID, use int.
All callers changed.
(getURL): Change to getID.
All callers changed.
(String url): Change to "int id".
* htsearch/Display.h: (Display): Second parameter removed.
(docIndex) removed.
* htsearch/Display.cc (Display, ~Display): Do not handle
docIndex.
(display): Use DocumentDB::operator [](int), not
DocumentDB::operator [] (char *).
(buildMatchList): Changed to handle ResultMatch as DocID int,
instead of URL string: use DocumentDB::operator [](int), not
DocumentDB::operator [] (char *). Get DocumentRef directly, then
filter the URL by includeURL().
* htnotify/htnotify.cc (main): Use DocIDs(), not DocURLs().
Handle the change from String * to IntObject *.
* htmerge/htmerge.cc (main): Do not delete doc_index.
* htmerge/docs.cc (convertDocs): Test doc_index access as
read-only. Pass as parameter for docdb, do not handle separately.
* htmerge/docs.cc (convertDocs): Add debug messages about cause
when deleting documents. If verbose > 1, write id/URL for every URL.
* htmerge/db.cc (mergeDB): Handle doc_index, test accessibility.
* htlib/IntObject.h (class IntObject): Add int-constructor.
* htdoc/attrs.html (doc_index): Say that mapping is from document
URLs to numbers.
(doc_db): Say that indexing is on document number.
* htdoc/cf_byprog.html (doc_index): Move from htsearch to htdig
entry.
* htdig/htdig.cc (main): Add .work suffix to doc_index too.
Unlink doc_index if initial.
* htcommon/DocumentDB.h (Open): New second argument.
(Read): New second argument, default to 0.
(operator [](int)): New.
(Exists(char *), Delete(char *)): Change to int parameter.
(DocIDs, i_dbf): New.
* htcommon/DocumentDB.cc (operator [](int)): New.
(Exists(char *), Delete(char *)): Changed to DocID int parameter.
All callers changed.
(URLs): Assume keys are ok without probing for documents
with each key.
(DocIDs): New.
(Open): Take an index database file name as second argument.
All callers changed.
(Read): Similar, accept 0.
(all): Change to index on DocID.
Wed Mar 10 02:25:24 1999 Hans-Peter Nilsson <hp at bitrange.com>
* htdoc/attrs.html (template_name): Typo; used by htsearch, not
htdig.
Mon Mar 8 13:30:44 1999 Hans-Peter Nilsson <hp at bitrange.com>
* htdig/Retriever.cc (got_href): Check if the ref is for the
current document before adding it to the db.
Mon Mar 8 01:36:38 1999 Hans-Peter Nilsson <hp at bitrange.com>
* htlib/DB2_db.cc: Remove errno.
* htlib/DB2_hash.cc: Ditto.
Sun Mar 7 20:50:37 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htfuzzy/EndingsDB.cc(createDB): Use link and unlink to move,
rather than a non-portable system call.
* htcommon/DocumentRef.h, htcommon/DocumentRef.cc: Fix #ifdef
problems with zlib.
Sun Mar 7 09:39:37 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/timegm.c: Fix problems compiling on libc5 systems noted by
Hans-Peter.
* htlib/Makefile.in, Makefile.in, Makefile.config.in: Use regex.c
instead of rx.
* htfuzzy/EndingsDB.cc: Ditto.
* configure.in, configure: Don't bother to config rx directory.
Fri Mar 5 08:09:20 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* contrig/parse_doc.pl: uses pdftotext to handle PDF files,
generates a head record with punctuation intact, extra checks
for file "wrappers" & check for MS Word signature (no longer
defaults to catdoc), strip extra punct. from start & end of words,
rehyphenate text from PDFs.
Tue Mar 2 23:18:20 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htdig/htdig.cc: Renamed main.cc for consistency with other programs.
* htlib/DB2_hash.h, htlib/DB2_hash.cc: Added interface to Berkeley
hash database format.
* htlib/Makefile.in: Use them!
* htlib/Database.h: Define database types, allowing a choice
between different formats.
* htlib/Database.cc(getDatabaseInstance): Use passed type to pick
between subclasses. Currently only uses Hash and B-Tree formats of
Berkeley DB.
* htcommon/DocumentDB.cc, htfuzzy/Endings.cc,
htfuzzy/EndingsDB.cc, htfuzzy/Fuzzy.cc, htfuzzy/Prefix.cc,
htfuzzy/Substring.cc, htfuzzy/Synonym.cc, htfuzzy/htfuzzy.cc,
htmerge/docs.cc, htmerge/words.cc, htsearch/Display.cc,
htsearch/htsearch.cc: Use new form of getDatabaseInstance(),
currently with DB_BTREE option (for compatibility).
Mon Mar 1 22:53:37 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/regex.c, htlib/striptime.c: Import new versions from
glibc.
* htlib/Makefile.in, htlib/mktime.c, htlib/timegm.c, htlib/lib.h:
Changes to use glibc timegm() function instead of buggy mytimegm().
* htdig/Document.cc(getdate): Use it.
Tue Mar 2 02:35:50 1999 Hans-Peter Nilsson <hp at bitrange.com>
* attrs.html: Rephrase and clarify entry for url_part_aliases.
Sun Feb 28 23:25:40 1999 Hans-Peter Nilsson <hp at bitrange.com>
* htlib/HtURLCodec.cc (~HtURLCodec): Add missing deletion of
myWordCodec.
Fri Feb 26 19:03:58 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* configure, configure.in: Fix typo on timegm test.
* htlib/mytimegm.cc: Fix Y2K problems.
Wed Feb 24 21:09:19 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/htsearch.cc(main): Remember to delete the parser!
* htlib/String.cc(String(char *s, int len)): Remove redundant copy.
* htsearch/Display.cc(display): Free DocumentRef memory after
displaying them.
(displayMatch): Fix memory leak when documents did not have anchors.
Wed Feb 24 15:18:26 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/Configuration.cc(Add): Fix small leak in locale code.
* htlib/String.cc: Fix up code to be cleaner with memory
allocation, inline next_power_of_2.
Mon Feb 22 22:13:49 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/String.cc, htlib/htString.h: Fix some memory leaks.
Mon Feb 22 08:52:19 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/Dictionary.h, htlib/Dictionary.cc(hashCode): Check if key
can be converted to an integer using strtol. If so, use the
integer as the hash code.
* htlib/HtVector.h, htlib/HtVector.cc: Implement Release() method
and make sure delete calls are done properly.
* htsearch/ResultList.h, htsearch/ResultList.cc(elements): Use HtVector
instead of List.
* htsearch/parser.cc: Ditto.
Sun Feb 21 16:13:59 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/HtHeap.h, htlib/HtHeap.cc: Add new class.
* htlib/Makefile.in: Compile it.
* htlib/HtVector.h, htlib/HtVector.cc: Add Assign() to assign to
elements of vectors.
Sun Feb 21 14:45:26 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htsearch/htsearch.cc: Add patch from Jerome Alet <alet at unice.fr>
to allow '.' in config field but NOT './' for security reasons.
* htdig/HTML.cc: Add patch from Gabriele to ensure META
descriptions are parsed, even if 'description' is added to the
keyword list.
Sun Feb 21 14:43:44 1999 Gilles Detillieux <grdetil at scrc.umanitoba.ca>
* htsearch/parser.h, htsearch/parser.cc: Clean up patch made for
error messages, made on Feb 16.
Thu Feb 18 20:19:30 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* htlib/HtVector.h, htlib/HtVector.cc: Added new Vector class.
* htlib/Makefile.in: Compile it.
* htlib/strptime.c: Add new version from glibc-2.1, replacing
strptime.cc.
* htdig/Document.cc: Use it.
* htlib/regex.h, htlib/regex.c: Add new files from glibc-2.1.
* htlib/mktime.c: Update from glibc-2.1.
Wed Feb 17 23:44:59 1999 Geoff Hutchison <ghutchis at wso.williams.edu>
* configure.in, configure, aclocal.m4: Add autoconf macro to
detect syntax of makefile includes.
* Makefile.in, Makefile.config.in, */Makefile.in: Change include
syntax to use it.
Wed Feb 17 12:36:42 1999 Hans-Peter Nilsson <hp at bitrange.com>
* htcommon/defaults.cc (defaults): locale: change to "C".
Local Variables:
add-log-time-format: current-time-string
End:
|