1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 14158 14159 14160 14161 14162 14163 14164 14165 14166 14167 14168 14169 14170 14171 14172 14173 14174 14175 14176 14177 14178 14179 14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 14389 14390 14391 14392 14393 14394 14395 14396 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525 14526 14527 14528 14529 14530 14531 14532 14533 14534 14535 14536 14537 14538 14539 14540 14541 14542 14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 14553 14554 14555 14556 14557 14558 14559 14560 14561 14562 14563 14564 14565 14566 14567 14568 14569 14570 14571 14572 14573 14574 14575 14576 14577 14578 14579 14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 14590 14591 14592 14593 14594 14595 14596 14597 14598 14599 14600 14601 14602 14603 14604 14605 14606 14607 14608 14609 14610 14611 14612 14613 14614 14615 14616 14617 14618 14619 14620 14621 14622 14623 14624 14625 14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 14642 14643 14644 14645 14646 14647 14648 14649 14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 14660 14661 14662 14663 14664 14665 14666 14667 14668 14669 14670 14671 14672 14673 14674 14675 14676 14677 14678 14679 14680 14681 14682 14683 14684 14685 14686 14687 14688 14689 14690 14691 14692 14693 14694 14695 14696 14697 14698 14699 14700 14701 14702 14703 14704 14705 14706 14707 14708 14709 14710 14711 14712 14713 14714 14715 14716 14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 14733 14734 14735 14736 14737 14738 14739 14740 14741 14742 14743 14744 14745 14746 14747 14748 14749 14750 14751 14752 14753 14754 14755 14756 14757 14758 14759 14760 14761 14762 14763 14764 14765 14766 14767 14768 14769 14770 14771 14772 14773 14774 14775 14776 14777 14778 14779 14780 14781 14782 14783 14784 14785 14786 14787 14788 14789 14790 14791 14792 14793 14794 14795 14796 14797 14798 14799 14800 14801 14802 14803 14804 14805 14806 14807 14808 14809 14810 14811 14812 14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 14833 14834 14835 14836 14837 14838 14839 14840 14841 14842 14843 14844 14845 14846 14847 14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 14877 14878 14879 14880 14881 14882 14883 14884 14885 14886 14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 14906 14907 14908 14909 14910 14911 14912 14913 14914 14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 14928 14929 14930 14931 14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035 15036 15037 15038 15039 15040 15041 15042 15043 15044 15045 15046 15047 15048 15049 15050 15051 15052 15053 15054 15055 15056 15057 15058 15059 15060 15061 15062 15063 15064 15065 15066 15067 15068 15069 15070 15071 15072 15073 15074 15075 15076 15077 15078 15079 15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100 15101 15102 15103 15104 15105 15106 15107 15108 15109 15110 15111 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 15148 15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 15160 15161 15162 15163 15164 15165 15166 15167 15168 15169 15170 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249 15250 15251 15252 15253 15254 15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 15313 15314 15315 15316 15317 15318 15319 15320 15321 15322 15323 15324 15325 15326 15327 15328 15329 15330 15331 15332 15333 15334 15335 15336 15337 15338 15339 15340 15341 15342 15343 15344 15345 15346 15347 15348 15349 15350 15351 15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 15378 15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 15437 15438 15439 15440 15441 15442 15443 15444 15445 15446 15447 15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 15488 15489 15490 15491 15492 15493 15494 15495 15496 15497 15498 15499 15500 15501 15502 15503 15504 15505 15506 15507 15508 15509 15510 15511 15512 15513 15514 15515 15516 15517 15518 15519 15520 15521 15522 15523 15524 15525 15526 15527 15528 15529 15530 15531 15532 15533 15534 15535 15536 15537 15538 15539 15540 15541 15542 15543 15544 15545 15546 15547 15548 15549 15550 15551 15552 15553 15554 15555 15556 15557 15558 15559 15560 15561 15562 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 15578 15579 15580 15581 15582 15583 15584 15585 15586 15587 15588 15589 15590 15591 15592 15593 15594 15595 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 15607 15608 15609 15610 15611 15612 15613 15614 15615 15616 15617 15618 15619 15620 15621 15622 15623 15624 15625 15626 15627 15628 15629 15630 15631 15632 15633 15634 15635 15636 15637 15638 15639 15640 15641 15642 15643 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 15657 15658 15659 15660 15661 15662 15663 15664 15665 15666 15667 15668 15669 15670 15671 15672 15673 15674 15675 15676 15677 15678 15679 15680 15681 15682 15683 15684 15685 15686 15687 15688 15689 15690 15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 15705 15706 15707 15708 15709 15710 15711 15712 15713 15714 15715 15716 15717 15718 15719 15720 15721 15722 15723 15724 15725 15726 15727 15728 15729 15730 15731 15732 15733 15734 15735 15736 15737 15738 15739 15740 15741 15742 15743 15744 15745 15746 15747 15748 15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 15764 15765 15766 15767 15768 15769 15770 15771 15772 15773 15774 15775 15776 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 15815 15816 15817 15818 15819 15820 15821 15822 15823 15824 15825 15826 15827 15828 15829 15830 15831 15832 15833 15834 15835 15836 15837 15838 15839 15840 15841 15842 15843 15844 15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867 15868 15869 15870 15871 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 15923 15924 15925 15926 15927 15928 15929 15930 15931 15932 15933 15934 15935 15936 15937 15938 15939 15940 15941 15942 15943 15944 15945 15946 15947 15948 15949 15950 15951 15952 15953 15954 15955 15956 15957 15958 15959 15960 15961 15962 15963 15964 15965 15966 15967 15968 15969 15970 15971 15972 15973 15974 15975 15976 15977 15978 15979 15980 15981 15982 15983 15984 15985 15986 15987 15988 15989 15990 15991 15992 15993 15994 15995 15996 15997 15998 15999 16000 16001 16002 16003 16004 16005 16006 16007 16008 16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 16070 16071 16072 16073 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 16115 16116 16117 16118 16119 16120 16121 16122 16123 16124 16125 16126 16127 16128 16129 16130 16131 16132 16133 16134 16135 16136 16137 16138 16139 16140 16141 16142 16143 16144 16145 16146 16147 16148 16149 16150 16151 16152 16153 16154 16155 16156 16157 16158 16159 16160 16161 16162 16163 16164 16165 16166 16167 16168 16169 16170 16171 16172 16173 16174 16175 16176 16177 16178 16179 16180 16181 16182 16183 16184 16185 16186 16187 16188 16189 16190 16191 16192 16193 16194 16195 16196 16197 16198 16199 16200 16201 16202 16203 16204 16205 16206 16207 16208 16209 16210 16211 16212 16213 16214 16215 16216 16217 16218 16219 16220 16221 16222 16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 16238 16239 16240 16241 16242 16243 16244 16245 16246 16247 16248 16249 16250 16251 16252 16253 16254 16255 16256 16257 16258 16259 16260 16261 16262 16263 16264 16265 16266 16267 16268 16269 16270 16271 16272 16273 16274 16275 16276 16277 16278 16279 16280 16281 16282 16283 16284 16285 16286 16287 16288 16289 16290 16291 16292 16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 16303 16304 16305 16306 16307 16308 16309 16310 16311 16312 16313 16314 16315 16316 16317 16318 16319 16320 16321 16322 16323 16324 16325 16326 16327 16328 16329 16330 16331 16332 16333 16334 16335 16336 16337 16338 16339 16340 16341 16342 16343 16344 16345 16346 16347 16348 16349 16350 16351 16352 16353 16354 16355 16356 16357 16358 16359 16360 16361 16362 16363 16364 16365 16366 16367 16368 16369 16370 16371 16372 16373 16374 16375 16376 16377 16378 16379 16380 16381 16382 16383 16384 16385 16386 16387 16388 16389 16390 16391 16392 16393 16394 16395 16396 16397 16398 16399 16400 16401 16402 16403 16404 16405 16406 16407 16408 16409 16410 16411 16412 16413 16414 16415 16416 16417 16418 16419 16420 16421 16422 16423 16424 16425 16426 16427 16428 16429 16430 16431 16432 16433 16434 16435 16436 16437 16438 16439 16440 16441 16442 16443 16444 16445 16446 16447 16448 16449 16450 16451 16452 16453 16454 16455 16456 16457 16458 16459 16460 16461 16462 16463 16464 16465 16466 16467 16468 16469 16470 16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 16482 16483 16484 16485 16486 16487 16488 16489 16490 16491 16492 16493 16494 16495 16496 16497 16498 16499 16500 16501 16502 16503 16504 16505 16506 16507 16508 16509 16510 16511 16512 16513 16514 16515 16516 16517 16518 16519 16520 16521 16522 16523 16524 16525 16526 16527 16528 16529 16530 16531 16532 16533 16534 16535 16536 16537 16538 16539 16540 16541 16542 16543 16544 16545 16546 16547 16548 16549 16550 16551 16552 16553 16554 16555 16556 16557 16558 16559 16560 16561 16562 16563 16564 16565 16566 16567 16568 16569 16570 16571 16572 16573 16574 16575 16576 16577 16578 16579 16580 16581 16582 16583 16584 16585 16586 16587 16588 16589 16590 16591 16592 16593 16594 16595 16596 16597 16598 16599 16600 16601 16602 16603 16604 16605 16606 16607 16608 16609 16610 16611 16612 16613 16614 16615 16616 16617 16618 16619 16620 16621 16622 16623 16624 16625 16626 16627 16628 16629 16630 16631 16632 16633 16634 16635 16636 16637 16638 16639 16640 16641 16642 16643 16644 16645 16646 16647 16648 16649 16650 16651 16652 16653 16654 16655 16656 16657 16658 16659 16660 16661 16662 16663 16664 16665 16666 16667 16668 16669 16670 16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 16686 16687 16688 16689 16690 16691 16692 16693 16694 16695 16696 16697 16698 16699 16700 16701 16702 16703 16704 16705 16706 16707 16708 16709 16710 16711 16712 16713 16714 16715 16716 16717 16718 16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 16729 16730 16731 16732 16733 16734 16735 16736 16737 16738 16739 16740 16741 16742 16743 16744 16745 16746 16747 16748 16749 16750 16751 16752 16753 16754 16755 16756 16757 16758 16759 16760 16761 16762 16763 16764 16765 16766 16767 16768 16769 16770 16771 16772 16773 16774 16775 16776 16777 16778 16779 16780 16781 16782 16783 16784 16785 16786 16787 16788 16789 16790 16791 16792 16793 16794 16795 16796 16797 16798 16799 16800 16801 16802 16803 16804 16805 16806 16807 16808 16809 16810 16811 16812 16813 16814 16815 16816 16817 16818 16819 16820 16821 16822 16823 16824 16825 16826 16827 16828 16829 16830 16831 16832 16833 16834 16835 16836 16837 16838 16839 16840 16841 16842 16843 16844 16845 16846 16847 16848 16849 16850 16851 16852 16853 16854 16855 16856 16857 16858 16859 16860 16861 16862 16863 16864 16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 16911 16912 16913 16914 16915 16916 16917 16918 16919 16920 16921 16922 16923 16924 16925 16926 16927 16928 16929 16930 16931 16932 16933 16934 16935 16936 16937 16938 16939 16940 16941 16942 16943 16944 16945 16946 16947 16948 16949 16950 16951 16952 16953 16954 16955 16956 16957 16958 16959 16960 16961 16962 16963 16964 16965 16966 16967 16968 16969 16970 16971 16972 16973 16974 16975 16976 16977 16978 16979 16980 16981 16982 16983 16984 16985 16986 16987 16988 16989 16990 16991 16992 16993 16994 16995 16996 16997 16998 16999 17000 17001 17002 17003 17004 17005 17006 17007 17008 17009 17010 17011 17012 17013 17014 17015 17016 17017 17018 17019 17020 17021 17022 17023 17024 17025 17026 17027 17028 17029 17030 17031 17032 17033 17034 17035 17036 17037 17038 17039 17040 17041 17042 17043 17044 17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 17057 17058 17059 17060 17061 17062 17063 17064 17065 17066 17067 17068 17069 17070 17071 17072 17073 17074 17075 17076 17077 17078 17079 17080 17081 17082 17083 17084 17085 17086 17087 17088 17089 17090 17091 17092 17093 17094 17095 17096 17097 17098 17099 17100 17101 17102 17103 17104 17105 17106 17107 17108 17109 17110 17111 17112 17113 17114 17115 17116 17117 17118 17119 17120 17121 17122 17123 17124 17125 17126 17127 17128 17129 17130 17131 17132 17133 17134 17135 17136 17137 17138 17139 17140 17141 17142 17143 17144 17145 17146 17147 17148 17149 17150 17151 17152 17153 17154 17155 17156 17157 17158 17159 17160 17161 17162 17163 17164 17165 17166 17167 17168 17169 17170 17171 17172 17173 17174 17175 17176 17177 17178 17179 17180 17181 17182 17183 17184 17185 17186 17187 17188 17189 17190 17191 17192 17193 17194 17195 17196 17197 17198 17199 17200 17201 17202 17203 17204 17205 17206 17207 17208 17209 17210 17211 17212 17213 17214 17215 17216 17217 17218 17219 17220 17221 17222 17223 17224 17225 17226 17227 17228 17229 17230 17231 17232 17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 17252 17253 17254 17255 17256 17257 17258 17259 17260 17261 17262 17263 17264 17265 17266 17267 17268 17269 17270 17271 17272 17273 17274 17275 17276 17277 17278 17279 17280 17281 17282 17283 17284 17285 17286 17287 17288 17289 17290 17291 17292 17293 17294 17295 17296 17297 17298 17299 17300 17301 17302 17303 17304 17305 17306 17307 17308 17309 17310 17311 17312 17313 17314 17315 17316 17317 17318 17319 17320 17321 17322 17323 17324 17325 17326 17327 17328 17329 17330 17331 17332 17333 17334 17335 17336 17337 17338 17339 17340 17341 17342 17343 17344 17345 17346 17347 17348 17349 17350 17351 17352 17353 17354 17355 17356 17357 17358 17359 17360 17361 17362 17363 17364 17365 17366 17367 17368 17369 17370 17371 17372 17373 17374 17375 17376 17377 17378 17379 17380 17381 17382 17383 17384 17385 17386 17387 17388 17389 17390 17391 17392 17393 17394 17395 17396 17397 17398 17399 17400 17401 17402 17403 17404 17405 17406 17407 17408 17409 17410 17411 17412 17413 17414 17415 17416 17417 17418 17419 17420 17421 17422 17423 17424 17425 17426 17427 17428 17429 17430 17431 17432 17433 17434 17435 17436 17437 17438 17439 17440 17441 17442 17443 17444 17445 17446 17447 17448 17449 17450 17451 17452 17453 17454 17455 17456 17457 17458 17459 17460 17461 17462 17463 17464 17465 17466 17467 17468 17469 17470 17471 17472 17473 17474 17475 17476 17477 17478 17479 17480 17481 17482 17483 17484 17485 17486 17487 17488 17489 17490 17491 17492 17493 17494 17495 17496 17497 17498 17499 17500 17501 17502 17503 17504 17505 17506 17507 17508 17509 17510 17511 17512 17513 17514 17515 17516 17517 17518 17519 17520 17521 17522 17523 17524 17525 17526 17527 17528 17529 17530 17531 17532 17533 17534 17535 17536 17537 17538 17539 17540 17541 17542 17543 17544 17545 17546 17547 17548 17549 17550 17551 17552 17553 17554 17555 17556 17557 17558 17559 17560 17561 17562 17563 17564 17565 17566 17567 17568 17569 17570 17571 17572 17573 17574 17575 17576 17577 17578 17579 17580 17581 17582 17583 17584 17585 17586 17587 17588 17589 17590 17591 17592 17593 17594 17595 17596 17597 17598 17599 17600 17601 17602 17603 17604 17605 17606 17607 17608 17609 17610 17611 17612 17613 17614 17615 17616 17617 17618 17619 17620 17621 17622 17623 17624 17625 17626 17627 17628 17629 17630 17631 17632 17633 17634 17635 17636 17637 17638 17639 17640 17641 17642 17643 17644 17645 17646 17647 17648 17649 17650 17651 17652 17653 17654 17655 17656 17657 17658 17659 17660 17661 17662 17663 17664 17665 17666 17667 17668 17669 17670 17671 17672 17673 17674 17675 17676 17677 17678 17679 17680 17681 17682 17683 17684 17685 17686 17687 17688 17689 17690 17691 17692 17693 17694 17695 17696 17697 17698 17699 17700 17701 17702 17703 17704 17705 17706 17707 17708 17709 17710 17711 17712 17713 17714 17715 17716 17717 17718 17719 17720 17721 17722 17723 17724 17725 17726 17727 17728 17729 17730 17731 17732 17733 17734 17735 17736 17737 17738 17739 17740 17741 17742 17743 17744 17745 17746 17747 17748 17749 17750 17751 17752 17753 17754 17755 17756 17757 17758 17759 17760 17761 17762 17763 17764 17765 17766 17767 17768 17769 17770 17771 17772 17773 17774 17775 17776 17777 17778 17779 17780 17781 17782 17783 17784 17785 17786 17787 17788 17789 17790 17791 17792 17793 17794 17795 17796 17797 17798 17799 17800 17801 17802 17803 17804 17805 17806 17807 17808 17809 17810 17811 17812 17813 17814 17815 17816 17817 17818 17819 17820 17821 17822 17823 17824 17825 17826 17827 17828 17829 17830 17831 17832 17833 17834 17835 17836 17837 17838 17839 17840 17841 17842 17843 17844 17845 17846 17847 17848 17849 17850 17851 17852 17853 17854 17855 17856 17857 17858 17859 17860 17861 17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 17886 17887 17888 17889 17890 17891 17892 17893 17894 17895 17896 17897 17898 17899 17900 17901 17902 17903 17904 17905 17906 17907 17908 17909 17910 17911 17912 17913 17914 17915 17916 17917 17918 17919 17920 17921 17922 17923 17924 17925 17926 17927 17928 17929 17930 17931 17932 17933 17934 17935 17936 17937 17938 17939 17940 17941 17942 17943 17944 17945 17946 17947 17948 17949 17950 17951 17952 17953 17954 17955 17956 17957 17958 17959 17960 17961 17962 17963 17964 17965 17966 17967 17968 17969 17970 17971 17972 17973 17974 17975 17976 17977 17978 17979 17980 17981 17982 17983 17984 17985 17986 17987 17988 17989 17990 17991 17992 17993 17994 17995 17996 17997 17998 17999 18000 18001 18002 18003 18004 18005 18006 18007 18008 18009 18010 18011 18012 18013 18014 18015 18016 18017 18018 18019 18020 18021 18022 18023 18024 18025 18026 18027 18028 18029 18030 18031 18032 18033 18034 18035 18036 18037 18038 18039 18040 18041 18042 18043 18044 18045 18046 18047 18048 18049 18050 18051 18052 18053 18054 18055 18056 18057 18058 18059 18060 18061 18062 18063 18064 18065 18066 18067 18068 18069 18070 18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 18086 18087 18088 18089 18090 18091 18092 18093 18094 18095 18096 18097 18098 18099 18100 18101 18102 18103 18104 18105 18106 18107 18108 18109 18110 18111 18112 18113 18114 18115 18116 18117 18118 18119 18120 18121 18122 18123 18124 18125 18126 18127 18128 18129 18130 18131 18132 18133 18134 18135 18136 18137 18138 18139 18140 18141 18142 18143 18144 18145 18146 18147 18148 18149 18150 18151 18152 18153 18154 18155 18156 18157 18158 18159 18160 18161 18162 18163 18164 18165 18166 18167 18168 18169 18170 18171 18172 18173 18174 18175 18176 18177 18178 18179 18180 18181 18182 18183 18184 18185 18186 18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 18197 18198 18199 18200 18201 18202 18203 18204 18205 18206 18207 18208 18209 18210 18211 18212 18213 18214 18215 18216 18217 18218 18219 18220 18221 18222 18223 18224 18225 18226 18227 18228 18229 18230 18231 18232 18233 18234 18235 18236 18237 18238 18239 18240 18241 18242 18243 18244 18245 18246 18247 18248 18249 18250 18251 18252 18253 18254 18255 18256 18257 18258 18259 18260 18261 18262 18263 18264 18265 18266 18267 18268 18269 18270 18271 18272 18273 18274 18275 18276 18277 18278 18279 18280 18281 18282 18283 18284 18285 18286 18287 18288 18289 18290 18291 18292 18293 18294 18295 18296 18297 18298 18299 18300 18301 18302 18303 18304 18305 18306 18307 18308 18309 18310 18311 18312 18313 18314 18315 18316 18317 18318 18319 18320 18321 18322 18323 18324 18325 18326 18327 18328 18329 18330 18331 18332 18333 18334 18335 18336 18337 18338 18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 18357 18358 18359 18360 18361 18362 18363 18364 18365 18366 18367 18368 18369 18370 18371 18372 18373 18374 18375 18376 18377 18378 18379 18380 18381 18382 18383 18384 18385 18386 18387 18388 18389 18390 18391 18392 18393 18394 18395 18396 18397 18398 18399 18400 18401 18402 18403 18404 18405 18406 18407 18408 18409 18410 18411 18412 18413 18414 18415 18416 18417 18418 18419 18420 18421 18422 18423 18424 18425 18426 18427 18428 18429 18430 18431 18432 18433 18434 18435 18436 18437 18438 18439 18440 18441 18442 18443 18444 18445 18446 18447 18448 18449 18450 18451 18452 18453 18454 18455 18456 18457 18458 18459 18460 18461 18462 18463 18464 18465 18466 18467 18468 18469 18470 18471 18472 18473 18474 18475 18476 18477 18478 18479 18480 18481 18482 18483 18484 18485 18486 18487 18488 18489 18490 18491 18492 18493 18494 18495 18496 18497 18498 18499 18500 18501 18502 18503 18504 18505 18506 18507 18508 18509 18510 18511 18512 18513 18514 18515 18516 18517 18518 18519 18520 18521 18522 18523 18524 18525 18526 18527 18528 18529 18530 18531 18532 18533 18534 18535 18536 18537 18538 18539 18540 18541 18542 18543 18544 18545 18546 18547 18548 18549 18550 18551 18552 18553 18554 18555 18556 18557 18558 18559 18560 18561 18562 18563 18564 18565 18566 18567 18568 18569 18570 18571 18572 18573 18574 18575 18576 18577 18578 18579 18580 18581 18582 18583 18584 18585 18586 18587 18588 18589 18590 18591 18592 18593 18594 18595 18596 18597 18598 18599 18600 18601 18602 18603 18604 18605 18606 18607 18608 18609 18610 18611 18612 18613 18614 18615 18616 18617 18618 18619 18620 18621 18622 18623 18624 18625 18626 18627 18628 18629 18630 18631 18632 18633 18634 18635 18636 18637 18638 18639 18640 18641 18642 18643 18644 18645 18646 18647 18648 18649 18650 18651 18652 18653 18654 18655 18656 18657 18658 18659 18660 18661 18662 18663 18664 18665 18666 18667 18668 18669 18670 18671 18672 18673 18674 18675 18676 18677 18678 18679 18680 18681 18682 18683 18684 18685 18686 18687 18688 18689 18690 18691 18692 18693 18694 18695 18696 18697 18698 18699 18700 18701 18702 18703 18704 18705 18706 18707 18708 18709 18710 18711 18712 18713 18714 18715 18716 18717 18718 18719 18720 18721 18722 18723 18724 18725 18726 18727 18728 18729 18730 18731 18732 18733 18734 18735 18736 18737 18738 18739 18740 18741 18742 18743 18744 18745 18746 18747 18748 18749 18750 18751 18752 18753 18754 18755 18756 18757 18758 18759 18760 18761 18762 18763 18764 18765 18766 18767 18768 18769 18770 18771 18772 18773 18774 18775 18776 18777 18778 18779 18780 18781 18782 18783 18784 18785 18786 18787 18788 18789 18790 18791 18792 18793 18794 18795 18796 18797 18798 18799 18800 18801 18802 18803 18804 18805 18806 18807 18808 18809 18810 18811 18812 18813 18814 18815 18816 18817 18818 18819 18820 18821 18822 18823 18824 18825 18826 18827 18828 18829 18830 18831 18832 18833 18834 18835 18836 18837 18838 18839 18840 18841 18842 18843 18844 18845 18846 18847 18848 18849 18850 18851 18852 18853 18854 18855 18856 18857 18858 18859 18860 18861 18862 18863 18864 18865 18866 18867 18868 18869 18870 18871 18872 18873 18874 18875 18876 18877 18878 18879 18880 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903 18904 18905 18906 18907 18908 18909 18910 18911 18912 18913 18914 18915 18916 18917 18918 18919 18920 18921 18922 18923 18924 18925 18926 18927 18928 18929 18930 18931 18932 18933 18934 18935 18936 18937 18938 18939 18940 18941 18942 18943 18944 18945 18946 18947 18948 18949 18950 18951 18952 18953 18954 18955 18956 18957 18958 18959 18960 18961 18962 18963 18964 18965 18966 18967 18968 18969 18970 18971 18972 18973 18974 18975 18976 18977 18978 18979 18980 18981 18982 18983 18984 18985 18986 18987 18988 18989 18990 18991 18992 18993 18994 18995 18996 18997 18998 18999 19000 19001 19002 19003 19004 19005 19006 19007 19008 19009 19010 19011 19012 19013 19014 19015 19016 19017 19018 19019 19020 19021 19022 19023 19024 19025 19026 19027 19028 19029 19030 19031 19032 19033 19034 19035 19036 19037 19038 19039 19040 19041 19042 19043 19044 19045 19046 19047 19048 19049 19050 19051 19052 19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 19068 19069 19070 19071 19072 19073 19074 19075 19076 19077 19078 19079 19080 19081 19082 19083 19084 19085 19086 19087 19088 19089 19090 19091 19092 19093 19094 19095 19096 19097 19098 19099 19100 19101 19102 19103 19104 19105 19106 19107 19108 19109 19110 19111 19112 19113 19114 19115 19116 19117 19118 19119 19120 19121 19122 19123 19124 19125 19126 19127 19128 19129 19130 19131 19132 19133 19134 19135 19136 19137 19138 19139 19140 19141 19142 19143 19144 19145 19146 19147 19148 19149 19150 19151 19152 19153 19154 19155 19156 19157 19158 19159 19160 19161 19162 19163 19164 19165 19166 19167 19168 19169 19170 19171 19172 19173 19174 19175 19176 19177 19178 19179 19180 19181 19182 19183 19184 19185 19186 19187 19188 19189 19190 19191 19192 19193 19194 19195 19196 19197 19198 19199 19200 19201 19202 19203 19204 19205 19206 19207 19208 19209 19210 19211 19212 19213 19214 19215 19216 19217 19218 19219 19220 19221 19222 19223 19224 19225 19226 19227 19228 19229 19230 19231 19232 19233 19234 19235 19236 19237 19238 19239 19240 19241 19242 19243 19244 19245 19246 19247 19248 19249 19250 19251 19252 19253 19254 19255 19256 19257 19258 19259 19260 19261 19262 19263 19264 19265 19266 19267 19268 19269 19270 19271 19272 19273 19274 19275 19276 19277 19278 19279 19280 19281 19282 19283 19284 19285 19286 19287 19288 19289 19290 19291 19292 19293 19294 19295 19296 19297 19298 19299 19300 19301 19302 19303 19304 19305 19306 19307 19308 19309 19310 19311 19312 19313 19314 19315 19316 19317 19318 19319 19320 19321 19322 19323 19324 19325 19326 19327 19328 19329 19330 19331 19332 19333 19334 19335 19336 19337 19338 19339 19340 19341 19342 19343 19344 19345 19346 19347 19348 19349 19350 19351 19352 19353 19354 19355 19356 19357 19358 19359 19360 19361 19362 19363 19364 19365 19366 19367 19368 19369 19370 19371 19372 19373 19374 19375 19376 19377 19378 19379 19380 19381 19382 19383 19384 19385 19386 19387 19388 19389 19390 19391 19392 19393 19394 19395 19396 19397 19398 19399 19400 19401 19402 19403 19404 19405 19406 19407 19408 19409 19410 19411 19412 19413 19414 19415 19416 19417 19418 19419 19420 19421 19422 19423 19424 19425 19426 19427 19428 19429 19430 19431 19432 19433 19434 19435 19436 19437 19438 19439 19440 19441 19442 19443 19444 19445 19446 19447 19448 19449 19450 19451 19452 19453 19454 19455 19456 19457 19458 19459 19460 19461 19462 19463 19464 19465 19466 19467 19468 19469 19470 19471 19472 19473 19474 19475 19476 19477 19478 19479 19480 19481 19482 19483 19484 19485 19486 19487 19488 19489 19490 19491 19492 19493 19494 19495 19496 19497 19498 19499 19500 19501 19502 19503 19504 19505 19506 19507 19508 19509 19510 19511 19512 19513 19514 19515 19516 19517 19518 19519 19520 19521 19522 19523 19524 19525 19526 19527 19528 19529 19530 19531 19532 19533 19534 19535 19536 19537 19538 19539 19540 19541 19542 19543 19544 19545 19546 19547 19548 19549 19550 19551 19552 19553 19554 19555 19556 19557 19558 19559 19560 19561 19562 19563 19564 19565 19566 19567 19568 19569 19570 19571 19572 19573 19574 19575 19576 19577 19578 19579 19580 19581 19582 19583 19584 19585 19586 19587 19588 19589 19590 19591 19592 19593 19594 19595 19596 19597 19598 19599 19600 19601 19602 19603 19604 19605 19606 19607 19608 19609 19610 19611 19612 19613 19614 19615 19616 19617 19618 19619 19620 19621 19622 19623 19624 19625 19626 19627 19628 19629 19630 19631 19632 19633 19634 19635 19636 19637 19638 19639 19640 19641 19642 19643 19644 19645 19646 19647 19648 19649 19650 19651 19652 19653 19654 19655 19656 19657 19658 19659 19660 19661 19662 19663 19664 19665 19666 19667 19668 19669 19670 19671 19672 19673 19674 19675 19676 19677 19678 19679 19680 19681 19682 19683 19684 19685 19686 19687 19688 19689 19690 19691 19692 19693 19694 19695 19696 19697 19698 19699 19700 19701 19702 19703 19704 19705 19706 19707 19708 19709 19710 19711 19712 19713 19714 19715 19716 19717 19718 19719 19720 19721 19722 19723 19724 19725 19726 19727 19728 19729 19730 19731 19732 19733 19734 19735 19736 19737 19738 19739 19740 19741 19742 19743 19744 19745 19746 19747 19748 19749 19750 19751 19752 19753 19754 19755 19756 19757 19758 19759 19760 19761 19762 19763 19764 19765 19766 19767 19768 19769 19770 19771 19772 19773 19774 19775 19776 19777 19778 19779 19780 19781 19782 19783 19784 19785 19786 19787 19788 19789 19790 19791 19792 19793 19794 19795 19796 19797 19798 19799 19800 19801 19802 19803 19804 19805 19806 19807 19808 19809 19810 19811 19812 19813 19814 19815 19816 19817 19818 19819 19820 19821 19822 19823 19824 19825 19826 19827 19828 19829 19830 19831 19832 19833 19834 19835 19836 19837 19838 19839 19840 19841 19842 19843 19844 19845 19846 19847 19848 19849 19850 19851 19852 19853 19854 19855 19856 19857 19858 19859 19860 19861 19862 19863 19864 19865 19866 19867 19868 19869 19870 19871 19872 19873 19874 19875 19876 19877 19878 19879 19880 19881 19882 19883 19884 19885 19886 19887 19888 19889 19890 19891 19892 19893 19894 19895 19896 19897 19898 19899 19900 19901 19902 19903 19904 19905 19906 19907 19908 19909 19910 19911 19912 19913 19914 19915 19916 19917 19918 19919 19920 19921 19922 19923 19924 19925 19926 19927 19928 19929 19930 19931 19932 19933 19934 19935 19936 19937 19938 19939 19940 19941 19942 19943 19944 19945 19946 19947 19948 19949 19950 19951 19952 19953 19954 19955 19956 19957 19958 19959 19960 19961 19962 19963 19964 19965 19966 19967 19968 19969 19970 19971 19972 19973 19974 19975 19976 19977 19978 19979 19980 19981 19982 19983 19984 19985 19986 19987 19988 19989 19990 19991 19992 19993 19994 19995 19996 19997 19998 19999 20000 20001 20002 20003 20004 20005 20006 20007 20008 20009 20010 20011 20012 20013 20014 20015 20016 20017 20018 20019 20020 20021 20022 20023 20024 20025 20026 20027 20028 20029 20030 20031 20032 20033 20034 20035 20036 20037 20038 20039 20040 20041 20042 20043 20044 20045 20046 20047 20048 20049 20050 20051 20052 20053 20054 20055 20056 20057 20058 20059 20060 20061 20062 20063 20064 20065 20066 20067 20068 20069 20070 20071 20072 20073 20074 20075 20076 20077 20078 20079 20080 20081 20082 20083 20084 20085 20086 20087 20088 20089 20090 20091 20092 20093 20094 20095 20096 20097 20098 20099 20100 20101 20102 20103 20104 20105 20106 20107 20108 20109 20110 20111 20112 20113 20114 20115 20116 20117 20118 20119 20120 20121 20122 20123 20124 20125 20126
|
2006-11-11 Nathaniel Smith <njs@pobox.com>
* NEWS: Set release date.
2006-11-10 Nathaniel Smith <njs@pobox.com>
* debian/control (Build-Depends): Remove
libboost-program-options-dev.
2006-11-10 Nathaniel Smith <njs@pobox.com>
* UPGRADE, configure.ac, monotone.spec, debian/changelog:
* win32/monotone.iss, visualc/config.h: Bump version numbers to
0.31.
2006-11-10 Nathaniel Smith <njs@pobox.com>
* INSTALL: Remove libboost-program-options-dev from the list of
debian packages.
* NEWS: First draft of 0.31 release notes.
2006-11-06 Thomas Keller <me@thomaskeller.biz>
Improved error message for invalid uri's (per bug #17736)
2006-11-03 Richard Levitte <richard@levitte.org>
* cert.cc (get_user_key): app.opts.key_given is only true when
-k is given. However, the signing key may be given in
_MTN/options as well, and that should be respected.
2006-11-02 Timothy Brownawell <tbrownaw@gmail.com>
Make add non-recursive by default, and also give it a
--no-respect-ignore switch.
2006-11-03 Daniel Carosone <dan@geek.com.au>
Tidy up some description of certs and the tag command:
* mention the purpose of tag certs
* remove stale mention of file certs in the description of "comment"
* move "mtn cert" to the certificate section, together with all the
things that are synonyms for it.
* rename the "key and cert" section accordingly
* add a "tag" section to the cvs phrasebook.
2006-11-02 Timothy Brownawell <tbrownaw@gmail.com>
Allow commands with subcommands (such as automate) to take
different options depending on which subcommand was called.
Make AUTOMATE() specify what options are taken. Test (and
fix) having spaces between automate commands.
2006-11-02 Timothy Brownawell <tbrownaw@gmail.com>
Allow automate commands to take options. Change "automate stdio"
error handling (exit instead of returning usage information when
given an invalid command line) and bump automate version. Increase
default "automate stdio" blocksize to 32k.
2006-11-02 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* cmd_automate.cc, option.cc, options_list.hh: fixes for sun studio
2006-11-01 Richard Levitte <richard@levitte.org>
* po/sv.po: A fuzzy to fix.
2006-10-31 Benoît Dejean <benoit@placenet.org>
* std_hooks.lua (ignore_file): Fixed many patterns.
Also added gettext and intltool related patterns.
2006-10-31 Nathaniel Smith <njs@pobox.com>
* work.cc (perform_rename): Tweak error message that just annoyed
me.
2006-10-26 Richard Levitte <richard@levitte.org>
* tests/disapproving_with_message/__driver__.lua (r_sha): New
rudimentary test to check that disapprove with messages works.
* testsuite.lua: Add it.
2006-10-26 Richard Levitte <richard@levitte.org>
* commands.cc (process_commit_message_args): Only prepend the
message prefix is it's more than 0 characters.
2006-10-26 Richard Levitte <richard@levitte.org>
* cmd_ws_commit.cc (CMD(disapprove)): Make it possible to specify
extra message lines to be added after the standard "disapprove"
line, as well as author and date. Makes use of the following
change:
* commands.cc,cmd.hh (process_commit_message_args): Add an extra
parameter to have as a prefix of the user message. If the prefix
exists, there will always be a message containing it.
2006-10-24 Matthew Gregan <kinetik@orcon.net.nz>
* lua/lstrlib.cc: Patch for Lua 5.1.1 bug #3, from
lua.org/bugs.html.
2006-10-24 Timothy Brownawell <tbrownaw@gmail.com>
Fix an epoch refinement bug. If we already have an epoch for a branch
we're receiving and don't have any revisions for, we will be re-sent
that epoch. There is code to ignore received items that we already
have. This code needs to call maybe_note_epochs_finished() for
epoch items.
2006-10-24 Nathaniel Smith <njs@pobox.com>
* cmd_automate.cc (automate stdio): Do not run randomly through
memory doing random things when we get a 0-length stdio command
list.
* tests/automate_stdio/__driver__.lua: Add some bad-input tests.
2006-10-24 Nathaniel Smith <njs@pobox.com>
* cmd_automate.cc (automate_reader): Use delete[] to free array
allocated with new[].
2006-10-22 Timothy Brownawell <tbrownaw@gmail.com>
Rewrite options handling. Options are listed in options_list.hh.
options.{cc,hh} is support for this; option.{cc,hh} is options
infrastructure. unit_tests.cc uses this infrastructure directly for
handling the options that it accepts.
2006-10-22 Matthew Nicholson <matt@matt-land.com>
* debian/monotone-server.postinst: Swap execution of 'set +e' and 'set
-e'.
2006-10-15 Timothy Brownawell <tbrownaw@gmail.com>
Propagate the rerwite of 'automate stdio' (in branch
...automate-stdio-extensions) to mainline. It doesn't actually
have any extensions anymore, just a rewrite that should make
the code cleaner.
2006-10-13 Timothy Brownawell <tbrownaw@gmail.com>
Revert automate stdio extensions (never were on mainline) so
that the only change is that automate stdio is implemented
more cleanly.
2006-10-12 Thomas Keller <me@thomaskeller.biz>
* automate.cc: replaced std::endl in favour of simple unix
unix line endings which is useful if these commands are used
over automate stdio (flushing is expensive...)
2006-10-03 Evan Deaubl <evan@warpedview.com>
* monotone.cc, options_list.hh: Added ability to specify
multiple --message arguments.
* monotone.texi: Added documentation for multiple --message
arguments.
* tests/multiple_message_commit/__driver__.lua, testsuite.lua:
Added integration test for multiple --message arguments.
2006-10-09 Richard Levitte <richard@levitte.org>
* po/sv.po: 35 fuzzies cleared,
2006-10-08 Richard Levitte <richard@levitte.org>
* debian/control (monotone-doc): Set up build dependencies for the
tools needed to make the documentation.
2006-10-08 Richard Levitte <richard@levitte.org>
* debian/control (monotone-doc): New package that contains all
the documentation.
* debian/rules (binary-install/monotone-server): Add special rule
so the PDF document really gets created.
* debian/monotone.docs: Move the documentation referenses from
here ...
* debian/monotone-doc.docs: ... to here, since we have a separate
package for documentation.
2006-10-04 Timothy Brownawell <tbrownaw@gmail.com>
* automate.cc: Fix automate inventory.
"workspace_inventory" test should be named "automate_inventory".
2006-10-03 Timothy Brownawell <tbrownaw@gmail.com>
* visualc/lua.vcproj visualc/monotone.vcproj: Make it build again.
2006-09-29 Timothy Brownawell <tbrownaw@gmail.com>
* tests/workspace_inventory/__driver__.lua: This test has been
broken since efe5767b8eebbc5440f543a08b8a3521e760a02a ; added files
should also be marked as patched.
2006-09-26 Richard Levitte <richard@levitte.org>
* contrib/monotone-notify.pl: Change the default monotone program
from "monotone" to "mtn".
2006-09-26 Matt Johnston <matt@ucc.asn.au>
* cmd_netsync.cc (CMD(push/sync)): don't require a -k
argument for a non-authed transport.
2006-09-26 Matt Johnston <matt@ucc.asn.au>
* cmd_ws_commit.cc (CMD(commit)): fail early if a key
wasn't set.
2006-09-26 Marcel van der Boom <marcel@hsdev.com>
* lua_hooks.cc (hook_validate_commit_message): Add a branchname
argument.
* cmd_ws_commit.cc (commit): Pass it.
* monotone.texi (Hooks): Document it.
* tests/commit_validation_lua_hook/commit_validate.lua: Test it.
2006-09-25 Thomas Moschny <thomas.moschny@gmx.de>
* contrib/monotone.zsh_completion: Applied a patch by Bruce
Stephens <monotone@cenderis.demon.co.uk>: Selectors can now be
completed in addition to revision ids, using the new functions
_mtn_tags and _mtn_public_keys together with _mtn_branches.
Selector completion is done by _mtn_selector_or_revision.
2006-09-23 Grahame Bowland <grahame@angrygoats.net>
* automate.cc (get_content_changed): use the file_content
make rather than the parent_name mark.
2006-09-23 Nathaniel Smith <njs@pobox.com>
* randomizer.{cc,hh}: Make randomizer a stateful struct, not a
namespace. Now, each test must instantiate its own randomizer,
and the randomizer is deterministically seeded at each test, so
the actual tests performed no longer depend on what other tests
were run in this session.
* diff_patch.cc, graph.cc, randomfile.hh, refiner.cc, roster.cc:
Adjust accordingly.
* roster.cc (perform_random_action): Remove stateless
change_automaton struct.
2006-09-22 Nathaniel Smith <njs@pobox.com>
* graph.cc: I dunno, maybe this will make the buildslaves happier?
2006-09-22 Nathaniel Smith <njs@pobox.com>
* graph.cc: Add randomized tests for get_reconstruction_path.
2006-09-22 Zack Weinberg <zackw@panix.com>
* work.cc (workspace::perform_pivot_root): Partially revert
revision 7e648a47fdd80f004a529ef5ddba9428f59f673d: apply the
renames to the current roster and then calculate the complete set
of changes, instead of just blindly writing the changeset to the
workspace revision.
* tests/pivot_root_to_new_dir: No longer expected to fail.
2006-09-22 Matt Johnston <matt@ucc.asn.au>
* tests/pivot_root_to_new_dir: new test for pivot_root into
a directory that hasn't been committed yet (xfailed, 0.30 regression)
2006-09-22 Matt Johnston <matt@ucc.asn.au>
* tests/{--*/}: rename to tests/_--*/ so that using
the * wildcard in tests/ isn't awkward.
2006-09-21 Nathaniel Smith <njs@pobox.com>
* lru_writeback_cache.hh (clean_insert): Correct the cache
overflow logic so as to _actually_ never remove the last element.
Add an invariant to verify this.
(insert_dirty): Add an invariant here too.
2006-09-20 Nathaniel Smith <njs@pobox.com>
* roster.hh: *sigh* Previous changes were just dumb. Remove
them again.
2006-09-20 Nathaniel Smith <njs@pobox.com>
* roster.hh: Oops.
2006-09-20 Nathaniel Smith <njs@pobox.com>
* roster.hh: Expose some useful dump() overloads that are already
defined in roster.cc.
2006-09-19 Alex Queiroz <alex@ventonegro.org>
* po/pt_BR.po: 1 fuzzy fixed.
2006-09-18 Matt Johnston <matt@ucc.asn.au>
* cmd.hh (ALIAS macro): somehow g++ 4.x is happy with std:string.
g++ 3.3.5 isn't.
2006-09-18 Zack Weinberg <zackw@panix.com>
Fix a latent bug in the roster random actions test, and make it
somewhat more rigorous.
* roster.cc (random_actions): Always compare with the
just-previous roster; the random walk can return to an earlier
position. Restructure with nested loops; run tests_on_two_rosters
more frequently. Set up the scratch roster with a root here.
(perform_random_action): Invariant on entry that r has
a root already. Do not delete the root node. Add commented L()
for content changes.
2006-09-18 Nathaniel Smith <njs@pobox.com>
* Makefile.am (DISTCLEANFILES): Add unit_tests.log.
2006-09-18 Zack Weinberg <zackw@panix.com>
* unit_tests.cc: Rewrite for declarative registration of test cases,
better command line handling, and more useful stderr chatter in
normal operation. All debug output now goes to a logfile (default
"unit_tests.log") and can be sent back to stderr with --debug.
* unit_tests.hh: Remove declarations of removed functions.
Don't include unit_test_suite.hpp.
(UNIT_TEST, struct unit_test_case): New.
(BOOST_CHECK_NOT_THROW): Reindent and wrap in do { } while (0).
* charset.cc, crypto_tests.cc, cset.cc, diff_patch.cc, globish.cc
* keys.cc, netcmd.cc, netxx_pipe.cc, packet.cc, paths.cc, refiner.cc
* restrictions.cc, revision.cc, roster.cc, roster_merge.cc
* simplestring_xform.cc, string_queue.cc, transforms.cc, uri.cc
* numeric_vocab.cc, xdelta.cc: Unit tests are now defined like
commands, as UNIT_TEST(group, test) { ... } and no registration
function is necessary.
* cert.cc, file_io.cc, vocab.cc: Remove empty BUILD_UNIT_TESTS block.
* commands.cc (command::command) Remove redundant boolean, just
check whether cmds is NULL.
2006-09-18 Richard Levitte <richard@levitte.org>
* po/sv.po: 1 fuzzy.
2006-09-17 Nathaniel Smith <njs@pobox.com>
* cmd_ws_commit.cc (status): Don't put a colon after parent
revision ids, to ease double-click copying from terminals.
2006-09-17 Nathaniel Smith <njs@pobox.com>
* NEWS: Insert date.
2006-09-17 Nathaniel Smith <njs@pobox.com>
* NEWS: Fixes suggested on IRC.
2006-09-17 Matthew Gregan <kinetik@orcon.net.nz>
* win32/cputime.cc: GetProcessTimes returns non-zero on failure.
2006-09-17 Nathaniel Smith <njs@pobox.com>
* win32/monotone.iss, visualc/config.h, monotone.spec:
* debian/changelog, configure.ac: Bump version numbers to 0.30.
2006-09-17 Nathaniel Smith <njs@pobox.com>
* NEWS: First draft of 0.30 release notes.
* UPGRADE: Update for 0.30.
2006-09-17 Matthew Gregan <kinetik@orcon.net.nz>
* win32/cputime.cc: Include cstdlib, define WIN32_LEAN_AND_MEAN,
correct case of FILETIME member.
* std_hooks.lua (mergers.tortoise): Be consistent about case.
2006-09-16 Nathaniel Smith <njs@pobox.com>
* win32/cputime.cc: Include numeric_vocab.hh.
2006-09-14 Nathaniel Smith <njs@pobox.com>
* cmd.hh: Make hidden_group a proper singleton, so it is safe to
use in other files.
* platform.hh, {unix,win32}/cputime.cc (cpu_now): New function for
measuring cpu time, for benchmarking.
* sha1.{hh,cc}, sha1_engine.hh: Framework for adding new SHA-1
cores. New hidden command benchmark_sha1 to benchmark them.
* monotone.cc (botan_library): Call hook_botan_sha1().
* Makefile.am: Add new files.
2006-09-14 Zack Weinberg <zackw@panix.com>
Use the roster cache in content_merge_adaptors.
* diff_patch.hh: Constify all shared_ptr<roster_t>s.
* diff_patch.cc: Similarly.
(load_and_cache_roster): Use the db.get_roster overload
that returns a cached_roster.
* merge.cc (resolve_merge_conflicts): Constify a shared_ptr<roster_t>.
* work.cc (content_merge_empty_adaptor): Similarly.
2006-09-12 Thomas Moschny <thomas.moschny@gmx.de>
* .mtn-ignore: Ignore mtn instead of monotone; additionally ignore
tester and tester.h, package_full_revision_raw.txt and
package_revision_raw.txt.
2006-09-12 Alex Queiroz <alex@ventonegro.org>
* po/pt_BR.po: 8 fuzzies, 1 new string.
2006-09-12 Richard Levitte <richard@levitte.org>
* po/sv.po: 4 fuzzies, one new string.
2006-09-12 Nathaniel Smith <njs@pobox.com>
* roster.cc (has_node): Do not crash when has_node(foo/bar) is
called, and foo exists but is a file.
* work.cc (perform_rename, visit_file): Add more sanity checking.
* tests/ws_ops_with_wrong_node_type: Un-xfail.
2006-09-12 Nathaniel Smith <njs@pobox.com>
* tests/ws_ops_with_wrong_node_type: Add two failing test cases,
from bug report from Albert Ramstedt.
2006-09-12 Nathaniel Smith <njs@pobox.com>
* work.cc (perform_additions, perform_deletions)
(perform_rename, perform_pivot_root):
* revision.cc (make_revision_for_workspace): Add some MMs.
2006-09-12 Richard Levitte <richard@levitte.org>
* po/sv.po: 3 fuzzies.
2006-09-11 Nathaniel Smith <njs@pobox.com>
* tests/commit_validation_lua_hook/errmsg: Update for new phrasing
of error message.
2006-09-11 Nathaniel Smith <njs@pobox.com>
* cert.{cc,hh} (cert_revision_changelog): Take utf8 instead of string.
* work.cc (read_user_log, write_user_log):
* lua_hooks.{hh,cc} (hook_validate_commit_message):
(hook_edit_comment):
* cmd_ws_commit.cc (get_log_message_interactively):
* commands.cc (process_commit_message_args): Type properly, and do
charset conversion when necessary.
* cmd_merging.cc (merge_into_dir):
* cmd_ws_commit.cc (commit): Generate utf8 changelogs.
* tests/i18n_commit_messages/: New test.
2006-09-12 Richard Levitte <richard@levitte.org>
* debian/monotone-server.postinst: Add code to regenerate
rosters when appropriate.
2006-09-12 Thomas Moschny <thomas.moschny@gmx.de>
* Makefile.am (package_revision.txt): Follow-up for the merge of
the workspace-merge.migration branch: Use 'mtn automate
get_base_revision' to get the base revision instead of copying the
contents of _MTN/revision.
2006-09-11 Richard Levitte <richard@levitte.org>
* po/sv.po: 2 fuzzies.
2006-09-09 Benoît Dejean <benoit@placenet.org>
* fr.po: Updated French translation.
2006-09-09 Nathaniel Smith <njs@pobox.com>
* cmd_merging.cc (pluck): Error out if there is no work to be
done, or if the merge resulting in no changes to be applied.
* tests/pluck_restricted/__driver__.lua: Test for this.
2006-09-08 Grahame Bowland <grahame@angrygoats.net>
* basic_io.hh (basic_io::printer):
note that only one printer can be referenced at a time,
due to shared static buffer.
* basic_io.cc (basic_io::printer::printer,
basic_io::printer::~printer): add reference tracking,
and invariant if more than one printer referenced at a time.
2006-09-08 Alex Queiroz <alex@ventonegro.org>
* po/pt_BR.po: 8 fuzzies, 4 new strings.
2006-09-08 Grahame Bowland <grahame@angrygoats.net>
* automate.cc (get_corresponding_path, get_content_changed):
fix output; roster information was being written to
basic_io::printer mysteriously. Tests now pass.
* testsuite.lua: remove second reference to
automate_get_corresponding_path test
2006-09-07 Nathaniel Smith <njs@pobox.com>
* tests/basic_invocation_and_options: Fix test broken by
usage to stdout vs. stderr changes.
2006-09-07 Nathaniel Smith <njs@pobox.com>
* contrib/monotone.el (monotone-vc-prefix-map): Add some more
intuitive keys, and some more notes on FIXMEs.
2006-09-07 Nathaniel Smith <njs@pobox.com>
* numeric_vocab.hh (widen): Add a comment documenting what widen<>
is for. Add a fast-path to it for when V is unsigned anyway.
Throw in some static stdint-actually-works tests too, while I'm,
here.
* numeric_vocab.cc, unit_tests.{hh,cc}: Add tests for widen.
2006-09-07 Grahame Bowland <grahame@angrygoats.net>
* monotone.texi: add *-merge documentation sourced
from mailing list archives (new entry under "Special
"Topics").
2006-09-07 Richard Levitte <richard@levitte.org>
* revision.cc: It's really rosters, not revisions that are
regenerated.
* po/sv.po: Clear the resulting fuzzy.
2006-09-07 Richard Levitte <richard@levitte.org>
* po/sv.po: 3 fuzzies.
2006-09-07 Grahame Bowland <grahame@angrygoats.net>
* automate.cc (get_content_changed, get_corresponding_path)
add new functions, allowing determinination of last content
change and also filenames between revisions.
* monotone.texi: document new automate commands
* monotone.texi: document new automate commands
tests/automate_get_content_changed,
tests/automate_get_corresponding_path,
tests/automate_get_content_changed/__driver__.lua,
tests/automate_get_content_changed/expected,
tests/automate_get_corresponding_path/__driver__.lua,
tests/automate_get_corresponding_path/expected,
tests/automate_get_corresponding_path/expected2A:
test new automate commands
* testsuite.lua: call automate_get_content_changed,
automate_get_corresponding_path tests.
2006-09-07 Nathaniel Smith <njs@pobox.com>
* monotone.cc (cpp_main): Send usage text to stderr if there was
an error, but stdout if it was requested with --help.
* tests/usage_output_streams: New test.
2006-09-07 Richard Levitte <richard@levitte.org>
* po/sv.po: 5 fuzzies, 4 new strings.
2006-09-05 Zack Weinberg <zackw@panix.com>
* revision.hh (enum made_for): New.
(revision_t): Add 'made_for' field; in default constructor,
initialize it to made_for_nobody.
(make_revision_for_workspace): Two new functions.
* revision.cc: Throughout, set made_for when appropriate.
Implement new functions.
* work.cc (get_work_rev): Set made_for.
(put_work_rev): Invariant failure if made_for is not
made_for_workspace.
(perform_additions, perform_deletions, perform_rename)
(perform_pivot_root): Use make_revision_for_workspace.
* database.cc (put_revision): Invariant failure if made_for is not
made_for_database.
* merge.cc (store_roster_merge_result)
* rcs_import.cc (consume_cluster): Set made_for on revision
constructed.
* cmd_merging.cc, cmd_ws_commit.cc: Use make_revision_for_workspace
where appropriate.
* work_migration.cc: Add a note to the commentary about not being
able to use the database here.
(migrate_1_to_2): Remove database argument.
Use make_revision_for_workspace instead of messing about with
rosters.
* tests/workspace_migration/__driver__.lua: Strengthen test of
options preservation; invoke migrate_workspace using raw_mtn.
* tests/workspace_migration/{test-1,test-2}: Update to match.
2006-09-05 Alex Queiroz <alex@ventonegro.org>
* po/pt_BR.po: Fuzzies fixed and strings translated.
2006-09-05 Alex Queiroz <alex@ventonegro.org>
* luaext_*.cc: Minor cleanups.
2006-09-05 Richard Levitte <richard@levitte.org>
* po/sv.po: 4 more fuzzies, 6 more new strings.
2006-09-05 Richard Levitte <richard@levitte.org>
* po/sv.po: 5 fuzzies and 3 new strings to fix. New translation
for "option" when it's about the options file.
2006-09-04 Nathaniel Smith <njs@pobox.com>
* roster.cc (get_attr): Remove file_path overload, for consistency
wiht the rest of roster_t.
* diff_patch.cc (attribute_manual_merge, get_file_encoding):
Adjust accordingly.
2006-09-03 Zack Weinberg <zackw@panix.com>
* roster.cc (roster_t::get_attr): Make has_node(pth) an invariant.
2006-09-03 Zack Weinberg <zackw@panix.com>
* NEWS: Mention workspace format change.
* monotone.texi: Update for workspace format change (pluck from
nvm.workspace-merge.api [this branch is now dead], with further
tweaks)
* work_migration.cc: Correct comment.
2006-08-31 Zack Weinberg <zackw@panix.com>
* work.hh: Update comment describing contents of _MTN directory.
2006-08-30 Zack Weinberg <zackw@panix.com>
* work.cc: No need to include app_state.cc.
(workspace::update_current_roster_from_filesystem): Put back
variant that doesn't take a node_restriction.
(workspace::maybe_update_inodeprints): Remove app_state argument.
Use 1-argument update_current_roster_from_filesystem.
* work.hh: Update to match.
* automate.cc, cmd_merging.cc, cmd_ws_commit.cc: All callers changed.
2006-08-30 Zack Weinberg <zackw@panix.com>
* automate.cc (get_option): Rewrite for revised _MTN/options
handling.
2006-08-27 Zack Weinberg <zackw@panix.com>
Cleanup after merge from mainline.
* cmd_ws_commit.cc (migrate_workspace): OPT_NONE -> option::none.
* work.cc: Include ui.hh.
(workspace::update_current_roster_from_filesystem):
Remove the overload that doesn't take a node_restriction argument.
Remove the app_state argument from the overload that does.
Use ui.prog_name.
* work_migration.cc: Include ui.hh; not app_state.hh.
(workspace::check_ws_format): Use ui.prog_name.
(first_version_supporting_current_format): Will now be 0.30.
* tester.lua (deltree, _deltree): Delete, unused.
* tests/migrate_workspace/__driver__.lua: Update for changes in
mtn status output.
* automate.cc (inventory)
* cmd_ws_commit.cc (add): Adjust call to find_unknown_and_ignored.
* automate.cc (get_revision, get_current_revision_id, get_manifest_of)
* cmd_merging.cc (update, pluck)
* work.cc (workspace::maybe_update_inodeprints):
Call update_current_roster_from_filesystem with a dummy
node_restriction.
* cmd_diff_log.cc (diff)
* cmd_list.cc (ls_changed)
* cmd_ws_commit.cc (status, commit): Remove last (app_state)
argument from call to update_current_roster_from_filesystem.
* app_state.cc (app_state::process_options): Adjust call to
check_ws_format.
2006-08-08 Zack Weinberg <zackw@panix.com>
* tests/migrate_workspace/__driver__.lua: Add migration tests for
format 1.
* tests/migrate_workspace/format-1-unmodified
* tests/migrate_workspace/format-1-rename: New files.
* tester.lua: Fix some typos.
2006-08-05 Zack Weinberg <zackw@panix.com>
* tester.lua (gettree, _gettree, deltree, _deltree): New functions.
2006-08-04 Zack Weinberg <zackw@panix.com>
"Full revision in _MTN" transition. Compiles, passes lua
testsuite, bizarro failures in unit tests; migration testing needs
to be implemented.
* cmd_ws_commit.cc (setup): Give put_work_rev a revision with a
single empty ancestor, not with no ancestors.
* testsuite.lua, tests/_MTN_files_handled_correctly_in_aborted_commit
* tests/automate_get_base_revision_id, tests/database_check
* tests/delete_work_file_on_checkout, tests/netsync_permissions
* tests/normalized_filenames, tests/renaming_a_file
* tests/revert_file_to_base_revision, tests/revert_renames
* tests/update_with_pending_add, tests/update_with_pending_drop
* tests/update_with_pending_rename: Update code that looked at
_MTN/work and/or _MTN/revision; partial pluck from
ca0e87f5aa94378df6e221f06dce5c5058683873, with edits (the revision
is in _MTN/revision, not _MTN/workrev).
2006-08-01 Zack Weinberg <zackw@panix.com>
* work.cc (get_work_rev, workspace::put_work_rev): New functions.
(get_work_path, workspace::remove_work_cset, workspace::put_work_cset)
(workspace::put_revision_id): Delete.
All callers changed.
* work.hh: Update to match.
* revision.cc, revision.hh (make_revision): Add an overload that
takes a base roster and a cset.
* cmd_merging.cc, cmd_ws_commit.cc: Use put_work_rev and the
csetful make_revision if appropriate.
* work_migration.cc: Fix typos and include some missing headers.
* work_migration.cc: Bump current_workspace_format to 2 and
first_version_supporting_format to 0.29.
(migrate_1_to_2): New function.
(workspace::migrate_ws_format): Call it. Add more commentary and
an invariant check.
2006-07-30 Zack Weinberg <zackw@panix.com>
* work_migration.cc: New file.
* Makefile.am (MOST_SOURCES): Add it.
* app_state.cc (app_state::process_options): Call work.check_ws_format.
(app_state::create_workspace): Call work.write_ws_format.
* cmd_ws_commit (migrate_workspace): New NO_WORKSPACE command.
* paths.cc (old_bookkeeping_root): New global constant.
(find_bookdir): Split out of ...
(find_and_go_to_workspace): ...here. If we don't have _MTN, look
for MT.
* paths.hh: Declare old_bookkeeping_root.
* work.hh: Declare check_ws_format, migrate_ws_format, write_ws_format.
* tests/migrate_workspace: New test.
* testsuite.lua: Add it.
2006-07-28 Zack Weinberg <zackw@panix.com>
* app_state.hh (app_state): Add boolean field 'have_set_key'.
* app_state.cc (app_state constructor): Initialize have_set_key
to false.
(app_state::set_signing_key): Set have_set_key to true.
(app_state::process_options): Do not allow workspace options to
override command line settings.
(app_state::write_options): Don't write out a key if it wasn't set.
* diff_patch.cc (content_merge_workspace_adaptor::get_version):
Check the temporary store before the database.
* work.cc (workspace::set_ws_options): If any argument is empty,
leave the corresponding option as-is in _MTN/options, rather than
writing over it with an empty string.
2006-07-27 Zack Weinberg <zackw@panix.com>
* app_state.cc: Delete static strings.
(app_state constructor): Initialize branch_is_sticky too.
(allow_workspace): Don't call read_options.
(process_options): Call work.get_ws_options here. Restructure
for new convention.
(write_options): Move next to process_options; use
work.set_ws_options.
(read_options): Delete.
(set_database, set_key_dir, set_signing_key): Don't mess with
options array.
(make_branch_sticky): Set branch_is_sticky, not options array.
* app_state.hh (struct app_state): Remove options and read_options;
add branch_is_sticky.
* database.cc, database.hh (database::get_filename): New method.
* work.cc (get_ws_options, set_ws_options): New methods.
(read_options_map, write_options_map): Delete.
* work.hh: Update to match. Don't declare options_map.
2006-07-27 Zack Weinberg <zackw@panix.com>
* work.cc: Include work.hh first. Don't include vocab.hh.
(file_itemizer, addition_builder, editable_working_tree)
Remove 'app' instance variable; replace with 'db' and/or 'lua'.
Update constructor to match. All constructor users changed.
(get_base_revision, get_base_roster, get_current_roster_shape)
(get_base_and_current_roster_shape, classify_roster_paths)
(find_unknown_and_ignored, perform_additions, perform_content_update)
(update_any_attrs): Remove 'app' argument; use 'db' and/or 'lua'
instance variables instead.
(file_itemizer::visit_file, addition_builder::add_node_for)
(addition_builder::visit_file, editable_working_tree::attach_node)
(editable_working_tree::apply_delta)
Use 'db' and/or 'lua' instance variables, instead of 'app'.
(add_parent_dirs): Take 'db' and 'lua' arguments instead of 'app'.
All callers changed.
(update_current_roster_from_filesystem): Use 'lua' instead of
'app.lua' in one place. Still has and uses an app_state argument.
(perform_deletions): Remove app_state argument; add 'recursive'
and 'execute' boolean arguments.
(perform_rename, perform_pivot_root): Remove app_state argument;
add 'execute' boolean argument.
* work.hh: Don't include cset.hh or file_io.hh. Forward declare
classes database, app_state, lua_hooks.
(workspace): Add data members 'db' and 'lua', cached references to
the active database and lua hooks. Add nontrivial constructor
which initializes these. Update prototypes of changed interfaces.
* app_state.cc (app_state constructor): Give db and lua to work
constructor.
* automate.cc, cmd_diff_log.cc, cmd_list.cc, cmd_merging.cc
* cmd_ws_commit.cc: Update callers of changed interfaces.
2006-07-27 Zack Weinberg <zackw@panix.com>
* app_state.cc (read_options): Just call work.read_options_map.
(write_options): Just call work.write_options_map.
* work.cc (get_options_path, get_inodeprints_path): No longer
methods; make static, move near the rest of these functions.
(read_options_map): Bulk of app_state::read_options folded in here.
(write_options_map): Bulk of app_state::write_options folded in here.
(in_inodeprints_mode, read_inodeprints, write_inodeprints):
No longer methods; make static.
(maybe_update_inodeprints): Define here, as a workspace method...
* commands.cc: ... not here.
* work.hh, cmd.hh, cmd_merging.cc, cmd_ws_commit.cc: Update to match.
2006-07-27 Zack Weinberg <zackw@panix.com>
* work.cc: Reorganize. No semantic changes.
2006-07-27 Zack Weinberg <zackw@panix.com>
* work.hh: Don't declare struct editable_working_tree.
Delete file_content_source and empty_file_content_source.
Forward declare content_merge_adaptor.
(workspace::perform_content_update): New method.
* work.cc: Include diff_patch.hh. Declare struct
editable_working_tree here, inside an anonymous namespace.
Change its 'source' member from type file_content_source to
type content_merge_adaptor. Wrap all member functions in the
anonymous namespace.
(editable_working_tree::attach_node)
(editable_working_tree::apply_delta): Adjust for different type of
'source'.
(content_merge_empty_adaptor): New.
(workspace::perform_content_update): New.
(workspace::perform_pivot_root): Use perform_content_update and
content_merge_empty_adaptor.
* cmd_merging.cc (struct update_source): Delete.
(update, pluck): Use workspace::perform_content_update instead of
manipulating update_source and editable_working_tree objects.
* diff_patch.hh: Make all content_merge_adaptor::get_version variants
const methods.
* diff_patch.cc (content_merge_workspace_adaptor::get_version):
Use E(), not N(), if the idents don't match.
2006-07-27 Zack Weinberg <zackw@panix.com>
* automate.cc (inventory): Use workspace::find_unknown_and_ignored.
* work.hh: Move struct file_itemizer...
* work.cc: ...here; wrap it and all its methods in an anonymous
namespace.
2006-07-27 Zack Weinberg <zackw@panix.com>
* work.cc (addition_builder): Wrap class and all its methods in an
anonymous namespace.
2006-07-27 Zack Weinberg <zackw@panix.com>
* work.cc (get_attribute_from_roster): Move ...
* roster.cc (roster_t::get_attr): ...here; make into a roster_t
method; provide both split_path and file_path variants.
* roster.hh, work.hh: Update to match.
* diff_patch.cc (content_merger::get_file_encoding)
(content_merger::attribute_manual_merge): Update to match.
2006-07-26 Zack Weinberg <zackw@panix.com>
* roster.cc: No need to include inodeprint.hh.
(inodeprint_unchanged, classify_roster_paths)
(update_current_roster_from_filesystem [both overloads]):
Move to work.cc.
* roster.hh: Remove prototypes of functions moved to work.cc.
* work.hh (workspace): New class. Make all work.cc functions
except get_attribute_from_roster into member functions of this
class, including the functions moved here from roster.hh.
Declare those functions.
* work.cc: Include inodeprint.hh. Adjust function definitions to
match changes in work.hh.
* app_state.hh (struct app_state): Add 'work' data member.
* app_state.cc, automate.cc, cmd_diff_log.cc, cmd_files.cc, cmd_list.cc
* cmd_merging.cc, cmd_ws_commit.cc, commands.cc: Update calls to work
interfaces.
2006-09-04 Nathaniel Smith <njs@pobox.com>
* configure.ac (AM_INIT_AUTOMAKE): Remove check-news option, it
causes more trouble than it's worth.
2006-09-04 Nathaniel Smith <njs@pobox.com>
* revision.cc (erase_ancestors_and_failures):
* cert.cc (get_branch_heads): Add some logging.
2006-09-04 Nathaniel Smith <njs@pobox.com>
* botan/out_buf.cpp (Output_Buffers::retire): Backport memory leak
fix from Botan 1.4.12 (trivial change).
2006-09-04 Nathaniel Smith <njs@pobox.com>
* revision.cc (erase_ancestors_and_failures): New erase_ancestors
core algorithm, with linear memory usage and that simultaneously
filters the candidate set with an arbitrary predicate.
(erase_ancestors): Turn into a thin layer over the above.
* database.cc (get_revision_certs): Add a quick way to get all
revisions that might be in a given branch.
* cert.cc (get_branch_heads): Use the above to make branch head
calculation take O(n) memory, and roughly O(log n) trust
evaluations.
2006-09-04 Alex Queiroz <alex@ventonegro.org>
* po/pt_BR.po: Remaining strings translated. Job done, yay!
2006-09-03 Alex Queiroz <alex@ventonegro.org>
* po/pt_BR.po: Fuzzies fixed and more strings translated.
2006-08-31 Nathaniel Smith <njs@pobox.com>
* charset.cc (system_charset_is_ascii_extension_impl): Add "646".
2006-08-31 Nathaniel Smith <njs@pobox.com>
* work.cc (update_any_attrs): Remove stale comment.
2006-08-30 Zack Weinberg <zackw@panix.com>
* restrictions.hh (class restriction): Remove 'app' member.
Remove app_state arguments from both constructors.
(class node_restriction): Remove app_state argument from
the constructor that doesn't take any file_path vectors.
(class path_restriction): Likewise.
* restrictions.cc: Update to match. In constructors that do take
file_path vectors, pass the app_state argument directly to
validate_roster_paths and/or validate_workspace_paths.
(test_empty_restriction): Construct empty restrictions without an
app_state object.
* automate.cc, cmd_diff_log.cc, roster.cc: Construct empty
restrictions without an app_state object.
2006-08-30 Nathaniel Smith <njs@pobox.com>
* restrictions.{hh,cc}: Don't use app.depth directly -- take depth
as a constructor argument. Now uninitialized masks _do_ always
include everything, as some code expected...
* cmd_ws_commit.cc, cmd_merging.cc, cmd_list.cc, cmd_diff_log.cc:
Adjust calling conventions accordingly.
2006-08-30 Zack Weinberg <zackw@panix.com>
* unit_tests.cc (localize_monotone): Define as a stub so the
unit_tests binary will link.
2006-08-29 Richard Levitte <richard@levitte.org>
* automate.cc (AUTOMATE(get_option)): And I did the error
report wrong as well...
2006-08-29 Richard Levitte <richard@levitte.org>
* automate.cc (AUTOMATE(get_option)): I did the output
incorrectly to `std::cout' instead of the `output' stream.
2006-08-28 Richard Levitte <richard@levitte.org>
* cmd.hh (ALIAS): Rework so gettext() can do its job properly,
and get the alias description string translated as well.
* po/sv.po: Translate the alias description string.
2006-08-28 Richard Levitte <richard@levitte.org>
* po/POTFILES.in: Oh look, automate.cc was missing!
* po/sv.po: Adding automate.cc resulted in 7 new fuzzies and 9
new untranslated strings. Fixed.
2006-08-28 Richard Levitte <richard@levitte.org>
* automate.cc (AUTOMATE(get_option)): New automate command to
fetch values from _MTN/options in a supported manner.
2006-08-28 Richard Levitte <richard@levitte.org>
* monotone.cc, i18n.h (localize_monotone): New function that does
the locale and gettext initialization if it isn't already done.
This can be called from anywhere, even from code that's run before
main().
* options.cc (option::localize_string): New function that calls
localize_monotone(), then localizes a string. This is currently
exclusively used by...
(GOPT, COPT): ... these macros, so option descriptions get
translated properly.
2006-08-28 Richard Levitte <richard@levitte.org>
* po/POTFILES.in: Add options_list.hh, since it contains a lot
of translatable text. These strings were previously in
monotone.cc.
* po/sv.po: Updated automatically.
2006-08-28 Richard Levitte <richard@levitte.org>
* debian/monotone.examples: Added, currently exactly the same
as debian/monotone-server.examples. There's no reason why the
"client" should be without some of the examples.
2006-08-28 Matthew Nicholson <matt@matt-land.com>
* debian/monotone-server.examples: Dropped.
* debian/examples: Renamed to debian/monotone-server.examples.
2006-08-27 Richard Levitte <richard@levitte.org>
* debian/examples/read-permissions
debian/examples/write-permissions: Move to ...
* examples/read-permissions examples/write-permissions:
... here.
* examples/000README.txt: add a subtle little comment covering
the moved files.
2006-08-28 Richard Levitte <richard@levitte.org>
* po/sv.po: A few fuzzies to fix.
2006-08-28 Thomas Moschny <thomas.moschny@gmx.de>
* m4/ax_create_stdint_h.m4 (ac_cv_stdint_message): Change the
still not portable `head -n 1' into a `sed 1q'.
2006-08-28 Thomas Moschny <thomas.moschny@gmx.de>
* m4/ax_create_stdint_h.m4 (ac_cv_stdint_message): Correct
non-portable option to the `head' command.
2006-08-27 Nathaniel Smith <njs@pobox.com>
* tests/status: Add indentation to match changes in output
format.
* cmd_ws_commit.cc (status): Remove unsightly extra \n.
2006-08-27 Nathaniel Smith <njs@pobox.com>
* database.cc (put_version): Add some MM()'s, in case the
invariant in this function fails again (as reported on the mailing
list).
2006-08-25 Nathaniel Smith <njs@pobox.com>
* cmd_ws_commit.cc (status): Print current branch, and parent rev,
in 'status'.
2006-08-24 Richard Levitte <richard@levitte.org>
* po/ja.po: Change the number of possible plurals to 2.
This was done with permission from the official JA
translator.
2006-08-25 Matt Johnston <matt@ucc.asn.au>
* options.hh: workaround for gcc < 3.4 parse error on
vv.as<T)();
2006-08-24 Thomas Moschny <thomas.moschny@gmx.de>
* revision.cc (select_nodes_modified_by_rev)
* revision.hh (select_nodes_modified_by_rev): Remove unused first
argument (rid).
* cmd_diff_log.cc (CMD(log)): Adjust sole usage of that function.
2006-08-24 Matthew Gregan <kinetik@orcon.net.nz>
* merge.cc (resolve_merge_conflicts): Bail out of conflict
resolution early if content_merger::try_to_merge_files indicates
conflicts remain after a merge attempt.
2006-08-23 Lapo Luchini <lapo@lapo.it>
* po/it.po: Updated and translated a few more strings (40 to go).
2006-08-23 Jon Bright <jon@siliconcircus.com>
* tests/diff_against_empty_file/__driver__.lua: Canonicalize the
output before checking.
2006-08-23 Julio M. Merino Vidal <jmmv@NetBSD.org>
* tests/diff_against_empty_file/expected.diff:
* tests/diff_against_empty_file/__driver__.lua: Instead of
checking if the resulting patch file applies correctly, compare it
to a correct prestored copy. This is to prevent a bug in some
patch(1) implementations that do not deal correctly with reversed
patches applied to empty files. Problem exposed under NetBSD.
2006-08-23 Jon Bright <jon@siliconcircus.com>
* automate.cc: add new automate genkey command, avoiding people
having to enter into a little chat script with monotone in order to
provide genkey with an alternative interface.
* tests/automate_genkey: Test it.
* testsuite.lua: Add the test
* cmd_automate.cc: Bump the interface version to 3.1
* tests/automate_genkey: Fix the test.
2006-08-23 Richard Levitte <richard@levitte.org>
* monotone.texi (Hooks): The hooks merge2 and
get_preferred_merge2_command are dead. Remove them from
documentation as well.
2006-08-23 Richard Levitte <richard@levitte.org>
* std_hooks.lua: The previous change wasn't entirely wise.
So, a larger rework is in order to make the merging methods
more intelligent, as follows.
(mergers): all mergers now have an `available' and a `wanted'
function, to distinguish between availability of the programs
needed by each merger method and a check if the user wants to
use a perticular merger.
(mergers.rcsmerge.cmd): Use a hardcoded "vim" instead of the
non-existing variable `vim'. This is untested and may need
further correction.
(get_preferred_merge3_command): If the user defined $MTN_MERGE
or the lua variable `merger', use it if the needed programs
are available, and fail if not. If neither was defined, go
through all the mergers and pick the first for which the needed
programs are available and the user wants to use it. Return
the name of the merger as well if it was specified through
$MTN_MERGE or `merger'.
(merge3): If get_preferred_merge2_command failed and returned
a merger name, tell the user about $MTN_MERGE and `merger',
otherwise, print the same old message as before.
2006-08-23 Richard Levitte <richard@levitte.org>
* std_hooks.lua (mergers.emacs.available): Since
mergers.emacs.cmd uses the command names "emacs" or "xemacs",
it's quite useless to look at the EDITOR environment variable
to determine availability. Check that one of those exist on
the path instead. As a result, the variable `merger' and the
environment variable MTN_MERGE can truly be used to tell the
merge3 hook what program should be used for conflict resolution
without having to define EDITOR as well.
2006-08-22 Richard Levitte <richard@levitte.org>
* contrib/monotone-notify-hookversion.lua: New file that
implements notification of changes received by netsync.
The software is self-contained but depends on some other
packages. It's also not entirely optimal as it will send
notifications for all revisions, unfiltered. Still, it
was time to share this. Tests are underway.
2006-08-22 Zack Weinberg <zackw@panix.com>
* app_state.hh (app_state): Remove set_prog_name and prog_name members.
* app_state.cc (app_state::app_state): Don't call set_prog_name.
(app_state::set_prog_name): Delete definition.
* ui.hh (user_interface): Make prog_name member public. Delete
set_prog_name member.
* ui.cc (user_interface::user_interface): Initialize prog_name to "?".
(user_interface::set_prog_name): Delete definition.
* monotone.cc (my_poptStuffArgFile): Delete.
(cpp_main): Delete code that was deleted once before and came
back in the .boost-program-options merge. Handle argv[0]
separately from the rest of argv. Update for ui.prog_name being
the only copy of the program invocation name. Use ui.prog_name
instead of the local variable.
* commands.cc, roster.cc: Include ui.hh.
* cmd_merging.cc (update, pluck)
* cmd_ws_commit.cc (checkout, commit)
* commands.cc (notify_if_multiple_heads)
* database.cc (database::check_schema)
* netsync.cc (session::process_hello_command)
* roster.cc (update_current_roster_from_filesystem):
Use ui.prog_name instead of app.prog_name.
2006-08-22 Zack Weinberg <zackw@panix.com>
* m4/boost.m4 (BOOST_VERSION_SPECIFIC_BUGS): No need to check for
1.32.x bugs now we require 1.33.1 or newer.
(BOOST_SUFFIX_ARG): Clarify semantics of the variable; set the
default here.
(BOOST_LIB_IFELSE): Take care to distinguish 'we don't know what
suffix to use yet' from 'the selected suffix is the empty string'.
Once a suffix has been chosen, use it exclusively for all
subsequent libraries.
(BOOST_STATIC_LINK_OPTION): Properly handle BOOST_SUFFIX being a list.
2006-08-22 Jon Bright <jon@siliconcircus.com>
* keys.cc: Fix the unit tests. Thou shalt (or at least, I shall)
remember to run make check before syncing.
2006-08-22 Jon Bright <jon@siliconcircus.com>
* keys.hh, keys.cc: Make passphrases be UTF-8. Change generate_key_pair
to have two prototypes, one of which asks for a passphrase as before and
one of which accepts a passphrase as a parameter.
2006-08-22 Nathaniel Smith <njs@pobox.com>
* cmd_files.cc (annotate): Invert the meaning of --brief --- now
the default is to display name/date, and --brief causes it to
simply show revisions. This functionality should probably move
from here to 'automate annotate', but this commit doesn't go that
far.
* tests/annotate_with_human_output: New test.
* tests/*annotate*: Update command line syntax, and add check()
calls to some tests that were missing them (!).
2006-08-22 Richard Levitte <richard@levitte.org>
* po/sv.po: Two untranslated strings to translate.
2006-08-22 Thomas Moschny <thomas.moschny@gmx.de>
* contrib/monotone.zsh_completion: Extended filename completion to
subdirs, minor cleanups.
(_mtn_files): New function, factored out filename completion.
(_mtn_rcwd): New function, determines cwd relative to wd.
2006-08-22 Nathaniel Smith <njs@pobox.com>
* cmd_ws_commit.cc (checkout): Allow user to pass -r without
either -b or a directory (as per bug #17498).
* tests/checkout_-r_no_dir/: New test.
2006-08-22 Nathaniel Smith <njs@pobox.com>
* cmd_ws_commit.cc (checkout): Improve error messages.
2006-08-22 Nathaniel Smith <njs@pobox.com>
* sanity.hh (sanity): Move 'brief' from here...
* app_state.cc (app_state): ...to here, with the rest of the
options.
* monotone.cc, cmd_diff_log.cc: Adjust accordingly.
* cmd_files.cc (annotate):
* annotate.cc (do_annotate): Take the brief option from outside,
instead of accessing the global from deep in the middle of
annotate.
No behavioral changes in this commit.
2006-08-22 Nathaniel Smith <njs@pobox.com>
* sanity.cc: Remove tabs.
2006-08-22 Nathaniel Smith <njs@pobox.com>
* annotate.cc: Remove tabs.
2006-08-22 Nathaniel Smith <njs@pobox.com>
* restrictions.cc (includes): Don't log what's going on when we
have a totally unrestricted mask; it's taking several percent of
cpu time.
2006-08-22 Richard Levitte <richard@levitte.org>
* examples/display_branches.lua (netsync_branches): Change it
so internal calls to other hooks are done to private versions.
This is so we don't mess with other implementations of the same
hooks which may be simultaneously present.
2006-08-21 Matt Johnston <matt@ucc.asn.au>
* debian/control: add libboost-program-options-dev to build dependencies
2006-08-20 Nathaniel Smith <njs@pobox.com>
* Makefile.am (EXTRA_DIST): Remove a trailing comma to get a
non-mangled directory layout for tester-tests/ in the distribution
tarball.
2006-08-20 Nathaniel Smith <njs@pobox.com>
* NEWS: Put in date.
* INSTALL: Bump boost requirement to 1.33.1.
2006-08-21 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* cmd_merging.cc: Add includes and using std::* statements
2006-08-20 Richard Levitte <richard@levitte.org>
* po/sv.po: Translated the last current untranslated string.
2006-08-20 Zack Weinberg <zackw@panix.com>
* tests/log_quits_on_SIGPIPE: Rewrite so it actually tests what we
want it to (and hopefully is now race free).
2006-08-20 Thomas Moschny <thomas.moschny@gmx.de>
* contrib/monotone.zsh_completion: Revised completion for almost
all commands, especially cat, co, diff, drop, log, propagate,
status, and update. Updated list of subcommands for db, ls, and
automate. Fixed indentation. Add author information.
2006-08-20 Richard Levitte <richard@levitte.org>
* NEWS: Small typo corrected ("merge" => "merger").
* po/sv.po: Fixed a few fuzzies and untranslated strings.
2006-08-20 Nathaniel Smith <njs@pobox.com>
* win32/monotone.iss, visualc/config.h, monotone.spec:
* debian/changelog, configure.ac, UPGRADE: Bump version number to
0.29.
2006-08-20 Nathaniel Smith <njs@pobox.com>
* NEWS: Draft 0.29 release notes.
* cmd_ws_commit.cc (status): Print "no changes", when there are no
changes. Also, use F() for all strings, so that they will be
available for translation.
* monotone.texi (Hooks): Document that you can set MTN_MERGE or
lua variable 'merger' to control what merger is selected.
(Other Transports): Document the ssh://host/~/foo syntax.
2006-08-18 Nathaniel Smith <njs@pobox.com>
* tests/log_quits_on_SIGPIPE/__driver__.lua: Increase the time we
give the background process to die on its own, before we decide it
failed and just kill it. Hopefully will work better on the loaded
buildslaves now?
2006-08-18 Nathaniel Smith <njs@pobox.com>
* unix/main.cc (interrupt_signal): Newline-terminate our
"operation canceled" message.
2006-08-18 Richard Levitte <richard@levitte.org>
* INSTALL: Say that a Debian user needs to install
libboost-program-options-dev as well.
2006-08-16 Timothy Brownawell <tbrownaw@gmail.com>
* cmd.hh cmd_automate.cc monotone.text tests/automate_stdio/:
Comment out stuff related to giving automate commands an input stream.
2006-08-16 Timothy Brownawell <tbrownaw@gmail.com>
* std_hooks.lua: Fix some brokenness from the merge hook changes.
2006-08-15 Zack Weinberg <zackw@panix.com>
* Makefile.am: put the lists back the way they were (mostly).
2006-08-15 Timothy Brownawell <tbrownaw@gmail.com>
* tests/log_quits_on_SIGPIPE/: Try to make the test work.
2006-08-15 Timothy Brownawell <tbrownaw@gmail.com>
The new lua version doesn't like the file objects our mkstemp produces.
* mkstemp.cc mkstemp.hh: Don't keep the file open. This is only called
from LUAEXT(mkstemp, ), which no longer wants an fd.
* luaext_mkstemp.cc: Don't try to make a file object, just have
monotone_mkstemp create a file, then let...
* std_hooks.lua (temp_file): ... open it with io.open, so lua will
be happy with it.
2006-08-15 Timothy Brownawell <tbrownaw@gmail.com>
* cmd_ws_commit.cc: "status" and "automate get_revision" give
identical output, except for leading/trailing whitespace. Make "status"
do what "status --brief" used to do, and make status not take the
--brief option.
* tests/status/__driver__.lua:
* tests/use_restrictions_with_--exclude/__driver__.lua:
* tests/use_restrictions_with_--exclude_and_inodeprints/__driver__.lua:
Update affected tests.
2006-08-15 Zack Weinberg <zackw@panix.com>
* configure.ac: Delete MTN_POPT_DEPENDENCIES. Add strptime to
main AC_CHECK_FUNCS list (this is the only thing that
MTN_POPT_DEPENDENCIES checked for, that was used outside popt).
Also add lrint to this list. Delete AC_SEARCH_LIBS for libdl.
* lua/luaconf.h: Include config.h. Set LUA_USE_POSIX if _WIN32 is
not defined. Add versions of lua_number2int and lua_number2integer
that use the C99 lrint() function; remove the unreliable union hack.
At end of file, forcibly undefine all LUA_DL_* macros to ensure
that lualib.cc uses the stub implementation.
* m4/popt.m4: Delete file.
* m4/boost.m4: Create a new macro to factor out code in common
among most of the MTN_BOOST_LIB_* macros.
* options.hh: Fix typo.
2006-08-15 Timothy Brownawell <tbrownaw@gmail.com>
* options.hh: Have a non-template option_base class to allow for...
* cmd.hh (command_opts): Keep a set of option_base*, not
shared_ptr<option_description>. This is to avoid problems with global
object initialization order. Also provide a function to convert a
command_opts to an options_description.
* commands.cc commands.hh monotone.cc: Adjust accordingly.
2006-08-15 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* monotone.cc: work around some boost/stlport4 interaction
by explicitely keeping NULL out of shared_ptrs
2006-08-15 Matthew Gregan <kinetik@orcon.net.nz>
* lua/*.c: Lua 5.1 supports raising exceptions using C++ exception
handling mechanisms. Rename to *.cc so that automake compiles
with the C++ compiler. Yes, this is lame, unless an automake guru
has a better way...
* lua.hh, lua_hooks.cc, tester.cc: Remove 'extern "C"' from around
the Lua includes (also change the includes from <> to "" since
we're using a local copy of Lua).
* Makefile.am: Update for renamed Lua files.
* Makefile.am: Post-merge cleanup.
* luaext_mkstemp.cc: Slightly cleaner way to create a Lua IO
object from a FILE*.
* lua/*, Makefile.am: Import Lua 5.1.1 plus fixes for the two
5.1.1 bugs listed on the Lua website.
* tests/(normal)_netsync_revision_with_no_certs,
tests/_MTN_case-folding_security_patch, tests/common/netsync.lua,
tests/db_check_and_non-serious_errors,
tests/exchanging_work_via_netsync,
tests/tags_and_tagging_of_revisions, testsuite.lua, std_hooks.lua:
Syntax tweaks and cleanups for Lua 5.1.1.
* lua_hooks.cc, tester.cc: Migrate to Lua 5.1 API.
* lua.cc: Slightly cleaner FILE* handling.
2006-08-14 Matthew Gregan <kinetik@orcon.net.nz>
* sqlite/*: Import SQLite 3.3.7.
* Makefile.am: Disable new SQLite loadable extensions for now since
we don't use it.
2006-08-14 Richard Levitte <richard@levitte.org>
* std_hooks.lua (mergers): All the functions in this table
returned `outfile' (which is unknown) instead of `tbl.outfile'.
(merge3): Incorrect variable `res' used instead of `ret'.
2006-08-14 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* luaext_mkstemp.cc, luaext_platform.cc, tester.cc:
Add includes and using std::* statements
* mtn-sanity.cc, tester.cc:
use slightly more compatible syntax for static reference initialization
* options.cc, options.hh:
GOPT and COPT macros used <ARGUMENT>, what has been expanded to
<vector<string>> at times. sunpro parses that as <vector<string >>
* po/sv.po: a newline was missing
* m4/boost.m4, configure.ac: move boost_program_options check to
boost.m4 because it's cleaner and --enable-static-boost is honored
that way
2006-08-14 Richard Levitte <richard@levitte.org>
* po/POTFILES.in: Add merge.cc and merge.hh.
* po/sv.po: Translate the resulting untranslated strings.
2006-08-14 Nathaniel Smith <njs@pobox.com>
* safe_map.hh: #include "sanity.hh".
2006-08-14 Richard Levitte <richard@levitte.org>
* tests/drop_directory_with_unversioned_files_and_merge/__driver__.lua:
Added test for the case when an update tries to remove a directory
that isn't empty (it has unversioned files).
* testsuite.lua: Add it to the common tests.
2006-08-14 Richard Levitte <richard@levitte.org>
* po/sv.po: Clear a few fuzzies.
2006-08-14 Timothy Brownawell <tbrownaw@gmail.com>
* monotone.cc: Boost has buggy option completion. Disable guessing of
partial options, such as --hel for --help.
2006-08-14 Timothy Brownawell <tbrownaw@gmail.com>
* testsuite.lua: Dump "mtn --full-version" output to the logfile.
2006-08-13 Timothy Brownawell <tbrownaw@gmail.com>
* cmd_automate.cc monotone.cc options_list.hh: Put back the
--automate-stdio-size option.
2006-08-12 Timothy Brownawell <tbrownaw@gmail.com>
* monotone.cc options.cc options.hh: Make option parsing not subject
to bad_any_cast. Misremembering the option type will now be caught
at compile time.
* options_list.hh options.cc options.hh: We don't need to list all
the options twice.
* Makefile.am: Adjust for new file.
2006-08-12 Timothy Brownawell <tbrownaw@gmail.com>
Make it pass the testsuite.
* tests/diff_--external/__driver__.lua:
* tests/netsync_permissions/__driver__.lua: "--option=" is not valid
anymore, use "--option ''". (appears to be a misfeature of
boost::program_options)
* options.cc options.hh monotone.cc: Work on option handling.
* cmd_netsync.cc: More merge fixes.
2006-08-12 Timothy Brownawell <tbrownaw@gmail.com>
Fix merge, and make unit_tests build.
* options.cc monotone.cc: Move option definitions to their own file.
* Makefile.am: Adjust accordingly.
* cmd.hh cmd_automate.cc cmd_diff_log.cc cmd_files.cc cmd_merging.cc:
* cmd_ws_commit.cc commands.cc configure.ac monotone.ac options.hh:
Fix enough merge errors that it can compile.
2006-08-12 Derek Scherger <derek@echologic.com>
* cmd_list.cc (ls_unknown_or_ignored):
* cmd_ws_commit.cc (add): use args as roots to start the tree walk
for unknown files rather than walking from the workspace root
* work.{cc,hh} (find_unknown_and_ignored): walk tree from the
specified roots rather than the workspace root. this can make
restricted ls unknown *much* faster in a workspace with large
unversioned directories.
2006-08-16 Benoît Dejean <benoit@placenet.org>
* po/fr.po: Updated French translation.
2006-08-12 Nathaniel Smith <njs@pobox.com>
* xdelta.cc (spin): New utility function for tests.
(xdelta_simple_cases): New test.
(xdelta_random_simple_delta_test): Use spin to improve coverage.
(xdelta_random_piecewise_delta_test): New test.
(compute_delta): Actually work when target == destination.
(size_accumulating_delta_applicator,
(measure_delta_target_size): Remove dead code.
I believe this file actually has complete unit test coverage now.
2006-08-12 Nathaniel Smith <njs@pobox.com>
* database.cc (put_roster): We only need one way to reconstruct a
given roster -- check whether the _old_ roster is stored in full
before doing deltification, rather than that the _new_ roster
(that we stored in full 10 lines up) is stored in full.
2006-08-11 Timothy Brownawell <tbrownaw@gmail.com>
* std_hooks.lua: merge3 merger selection is horrible. Make it better.
2006-08-10 Richard Levitte <richard@levitte.org>
* cmd_ws_commit.cc (CMD(commit)):
* database_check.cc (report_certs): Don't use positional format
specifiers in the C++ source files. Positional format
specifiers should only be used in the translation strings, if
needed. For further information/opinions, see
http://lists.gnu.org/archive/html/monotone-devel/2006-07/msg00357.html
* po/sv.po: Clear the fuzzies created by this change.
2006-08-09 Nathaniel Smith <njs@pobox.com>
* diff_patch.cc (record_merge): Don't error out when two merges
give the same resulting file.
2006-08-08 Timothy Brownawell <tbrownaw@gmail.com>
* Makefile.am: Fix run_tester_tests to run tester-testsuite.lua instead
of testsuite.lua .
2006-08-07 Lapo Luchini <lapo@lapo.it>
* po/it.po: Updated and translated a few more strings (45 to go).
2006-08-07 Richard Levitte <richard@levitte.org>
* po/POTFILES.in: Remove main.cc, since it's been removed from
the source tree.
* po/sv.po: A fuzzy and two untranslated strings to translate.
2006-08-06 Nathaniel Smith <njs@pobox.com>
* packet.cc (extract_packets, read_packets): Make some const
strings static (patch from Vaclav Haisman).
2006-08-06 Thomas Moschny <thomas.moschny@gmx.de>
Make the block size for automate stdio configurable:
* constants.hh, constants.cc: Remove automate_stdio_size constant.
* app_state.cc, app_state.hh, options.hh, monotone.cc: Add new
option commandline option '--automate-stdio-size'. Default is 1024,
which is the value of the old constant.
* cmd_automate.cc: Use the new commandline option instead of the
old onstant.
* monotone.texi (Automation): Document the new option.
2006-08-05 Nathaniel Smith <njs@pobox.com>
* tests/log_quits_on_SIGPIPE/__driver__.lua: Make the cute commit
message actually a commit message, rather than the world's longest
branch name.
2006-08-05 Zack Weinberg <zackw@panix.com>
Clean up after merge from mainline:
* luaext_globish.cc (match): Use e.what() instead of e.what.c_str(),
when e is an informative_failure.
* tester.cc (main): Similarly.
* monotone.cc (process_all_options): Add an .as_external() that
got lost.
* mtn-sanity.cc: Include mt_version.hh.
(mtn_sanity::initialize): New function.
* mtn-sanity.hh: Prototype it.
* sanity.hh: Make sanity::initialize virtual.
* sanity.cc (sanity::initialize): Remove IN_TESTER #ifdef.
Do PERM_MM system_flavour.
* unix/main.cc (main): Change i to a size_t.
* Makefile.am (tester_CPPFLAGS): Remove -DIN_TESTER kludge.
2006-08-04 Zack Weinberg <zackw@panix.com>
* platform.hh: Define ignore_sigpipe as a nop on win32 or declare
it as an external on Unix.
* unix/process.cc: Define ignore_sigpipe.
* netsync.cc: No need to conditionally include signal.h.
(run_netsync_protocol): Use ignore_sigpipe.
* sanity.hh: Define PERM_MM here, with comment explaining when it
is safe to use.
* sanity.cc: Don't define PERM_MM.
* ui.cc (fatal): Add note about need to keep message in sync with
other copies.
* unix/main.cc: Correct name in comment. Downcase
WRITE_STR_TO_STDERR and make it an inline function. Adjust note
about need to keep bug_report_message in sync with other copies.
* win32/main.cc: Similarly.
* commands.cc (crash): Undef maybe_throw_bare at end.
* tests/log_quits_on_SIGPIPE: New test.
* testsuite.lua: Add it.
2006-08-05 Nathaniel Smith <njs@pobox.com>
* cmd_diff_log.cc (log): Call cout.flush() after describing each
revision.
2006-08-05 Nathaniel Smith <njs@pobox.com>
* work.cc (visit_file): Print a message when implicitly adding
directories, and simplify a bit.
2006-08-04 Nathaniel Smith <njs@pobox.com>
* database.cc (cancel_pending_write): >, <, what's the difference
anyway...
2006-08-04 Nathaniel Smith <njs@pobox.com>
* database.cc: Limit the amount of pending writes we buffer up,
from Eric Anderson. Pluck of 4e99cc37f548b5884d63c48bc486df
through 033e5805502c5441ef539ab5cbc1a4, with formatting fixups,
factoring out of duplicated code, commented precondition on
cancel_pending_write, and removal of comments about the
relationship between how often this buffer flushes and how often
netsync flushes, since these are logically separate.
2006-08-04 Nathaniel Smith <njs@pobox.com>
* xdelta.cc (piece_table::build, insert_insn): Better handling of
string expansion, from Eric Anderson.
Pluck of d1e563447ab7d92bb965eb330988c637f3c22d14, plus formatting
fixups.
2006-08-04 Nathaniel Smith <njs@pobox.com>
* mtn.1, monotone.texi: Who are we kidding? The man page is more
misleading than helpful. Put a big warning at its top, and delete
the yet-even-more-bitrotten copy from the texinfo manual.
2006-08-04 Matt Johnston <matt@ucc.asn.au>
* std_hooks.lua: make ssh://host/~/path/file.mtn and
ssh://host/~user/path/file.mtn work for paths relative to homedirs.
2006-08-04 Thomas Keller <me@thomaskeller.biz>
* automate.cc: reworked `automate attributes`, this now
outputs basic_io and shows the state of each attribute
(added, dropped, changed or unchanged) and also lists
those attributes which have been dropped obviously
* monotone.texi: updated the docs for that change
* cmd_automate.cc: bumped interface_version to 3.0 since
the new automate attributes is incompatible with the
previous one
* tests/automate_attributes/__driver__.lua: updated test
* roster.cc: moved syms namespace ...
* basic_io.hh: ... here and updated the references in the
former file. This is a first start for a more generic
symbols namespace which should lead to a more consistent
output of the different automate commands which make use
of basic_io
2006-08-03 Matt Johnston <matt@ucc.asn.au>
* cmd_diff_log.cc: don't include revisions with deleted files
when doing "log FILE".
* tests/log_with_restriction/: a test
2006-08-03 Matt Johnston <matt@ucc.asn.au>
* inodeprints.cc: just silently skip (but L()) inodeprint files
if the format version is unknown.
2006-08-02 Zack Weinberg <zackw@panix.com>
* acinclude.m4: Rename to m4/inaddrnone.m4; update macro to
autoconf 2.5x conventions.
* m4/ac_compile_check_sizeof.m4: Delete, unused.
* m4/acx_pthread.m4, m4/ax_create_stdint_h.m4, m4/externtemplate.m4
* m4/fexception.m4, m4/gnucxxhashmap.m4, m4/stlporthashmap.m4
* m4/typeof.m4: Update to autoconf 2.5x conventions.
* m4/externtemplate.m4, m4/gnucxxhashmap.m4, m4/stlporthashmap.m4
* m4/typeof.m4: Use AC_LANG_SOURCE where appropriate.
* m4/prog_cxx_warnings.m4: Set CXXFLAGS outside the AC_CACHE_CHECK.
* m4/boost.m4: New file. All boost-related logic goes here now.
Cache results of library searches; simplify handling of
--enable-static-boost.
* m4/tr1unorderedmap.m4: New file with tests for tr1::unordered_*.
* configure.ac: Use the macros from the above new files.
* Makefile.am: Conditional on STATIC_BOOST is no longer necessary.
Wrap some lines.
* m4/localeworks.m4, m4/netxx.m4, m4/pch.m4, m4/popt.m4, m4/sqlite.m4
* m4/syncwithstdio.m4, m4/tempstatconst.m4, m4/xgettextflag.m4:
New files.
* configure.ac: Use the macros defined in the above files instead
of in-line code.
* configure.ac: Reorganize tests for ease of reading and to ensure
that all tests are performed only once.
* m4/acx_pthread.m4, m4/externtemplate.m4, m4/fexception.m4
* m4/gnucxxhashmap.m4, m4/stlporthashmap.m4, mtl/tempstatconst.m4
* m4/tr1unorderedmap.m4, m4/typeof.m4: Use AC_LANG_ASSERT instead
of AC_LANG_PUSH/POP, per autoconf manual's recommendation.
* m4/popt.m4: Avoid double tests for headers.
* m4/prog_cxx_warnings.m4: Fix typo in last change.
2006-07-31 Richard Levitte <richard@levitte.org>
* po/sv.po: Reformat some messages so they fit 80 columns better.
2006-07-28 Nathaniel Smith <njs@pobox.com>
* file_io.cc (walk_tree_recursive): Walk files first, then
directories; cuts down memory usage greatly on reiserfs.
2006-07-27 Timothy Brownawell <tbrownaw@gmail.com>
Implement the automate stdio extensions mentioned on the ML.
- options: can be given, but don't do anything yet. Fixing this will
probably be easier after landing the boost-program-options branch.
- input stream: there has been some discussion on IRC as to whether we
actually want to keep this.
* cmd_automate.cc: Redo automate stdio I/O parsing.
* cmd.hh: Automate commands now get an input stream, and can take
options (but the options are currently just discared, since I'm not
sure how to make it work with our current option-parsing machinery).
* monotone.texi: Update the documentation of automate stdio.
2006-07-27 Nathaniel Smith <njs@pobox.com>
* configure.ac: Add a check for g++ 4.0/4.0.1 std::tr1 hashtable
const-correctness bug.
* hash_map.hh: Check for new #define.
2006-07-27 Nathaniel Smith <njs@pobox.com>
* file_io.cc (guess_binary): Set did_char_is_binary_init to true
after initialization.
(set_char_is_binary): Make un-public.
2006-07-26 Matthew Gregan <kinetik@orcon.net.nz>
* std_hooks.lua (temp_file): Allow callers to pass a filename hint
to be included in the temporary file name.
(write_to_temporary_file): Pass name hint to temp_file.
(merge3): Use left/right/ancestor/merged as name hints for
temporary files.
(get_netsync_connect_command): Formatting tweak.
2006-07-26 Nathaniel Smith <njs@pobox.com>
* platform.hh (inodeprint_calculator): Add an empty virtual
destructor, as per compiler warning.
2006-07-26 Nathaniel Smith <njs@pobox.com>
* roster.cc (dfs_iter): Remove dirname member.
2006-07-26 Richard Levitte <richard@levitte.org>
* po/sv.po: A fuzzy to fix.
2006-07-25 Zack Weinberg <zackw@panix.com>
* paths.cc: Correct Windows tilde-expansion unit test.
2006-07-25 Nathaniel Smith <njs@pobox.com>
* roster.cc (make_roster_for_base_plus_cset): Remove unused
entry-point.
2005-07-25 Timothy Brownawell <tbrownaw@gmail.com>
More cleanups spotten by KingGuppy on IRC:
* cset.cc (print_cset):
* merkle_tree.cc (insert_into_merkle_tree): Remove some unused code.
* refiner.hh: Remove declarations of never-defined functions.
* paths.cc (test_system_path): Replace a '=' with a '==' in the
unit tests.
2005-07-25 Timothy Brownawell <tbrownaw@gmail.com>
* netcmd.cc (write_delta_cmd): Fix logic for compressing large deltas.
2006-07-26 Benoît Dejean <benoit@placenet.org>
* cmd_ws_commit.cc (CMD(commit)): Use positional format
to ease translation.
2006-07-25 Benoît Dejean <benoit@placenet.org>
* po/fr.po: Updated French translation.
2006-07-25 Benoît Dejean <benoit@placenet.org>
* database_check.cc (report_certs): Switched to
positional format to ease translation.
2006-07-25 Benoît Dejean <benoit@placenet.org>
* po/fr.po: Updated French translation.
2006-07-25 Zack Weinberg <zackw@panix.com>
* vocab.hh: Provide base definition of dump template which
generates a compile-time error if ever instantiated.
* roster.hh: Correct declaration of dump<set<revision_id>>
specialization.
2005-07-25 Timothy Brownawell <tbrownaw@gmail.com>
Rearrange things somewhat, to disentangle tester from the rest
of the monotone sorce.
* luaext_*.cc: Split out our lua extension functions into multiple
files.
* lua.hh: Add a LUAEXT(name, [table]) mechanism, similar to CMD() and
AUTOMATE().
* mtn-sanity.{cc,hh} sanity.{cc,hh}: Make sanity.{cc,hh} not depend
on ui.{cc,hh}.
* platform-wrapped.hh platform.hh win32/* unix/*: Inline wrappers for
various platform functions, so that libplatform doesn't depend on
vocab or paths.
* many files: Fix includes for the platform and sanity changes.
* inodeprint.{cc,hh} {win32,unix}/inodeprint.cc: Rearrange slightly.
* Makefile.am: Adjust for all the new files.
2006-07-25 Nathaniel Smith <njs@pobox.com>
* std_hooks.lua (edit_comment): If the user_log_message did not
end with a newline, insert one.
2006-07-25 Richard Levitte <richard@levitte.org>
* po/sv.po: A fuzzy to take care of.
2006-07-25 Nathaniel Smith <njs@pobox.com>
* merge.cc (resolve_merge_conflicts): Remove unused arguments, and
adjust callers.
* cmd_merging.cc (three_way_merge): Helper function factored out
of pluck.
(pluck): Use it.
(update): Rewrite for clarity, and use 'three_way_merge'.
2006-07-25 Nathaniel Smith <njs@pobox.com>
* boost/format.hpp, boost/format/feed_args.hpp: Drop moldy old
files and hope it doesn't make any difference...
2006-07-24 Nathaniel Smith <njs@pobox.com>
* diff_patch.cc (struct hunk_consumer): Fix compiler warning about
initialization order.
(find_encloser): Ditto, signed vs. unsigned comparison.
2006-07-24 Timothy Brownawell <tbrownaw@gmail.com>
* visualc/tester.vjproj: Forgot to add this.
2006-07-24 Alex Queiroz <alex@ventonegro.org>
* po/pt_BR.po: Updated and fixed fuzzies.
2006-07-24 Nathaniel Smith <njs@pobox.com>
* vocab.cc (fake_id): New function.
* cmd_merging.cc (update, pluck): Use it.
2006-07-24 Nathaniel Smith <njs@pobox.com>
* vocab.cc, vocab.hh: Remove tabs.
2006-07-24 Derek Scherger <derek@echologic.com>
* roster.cc (check_restricted_cset): allow temp nodes and ensure
the node source does not overlap with any existing temp nodes
2006-07-23 Zack Weinberg <zackw@panix.com>
* Makefile.am (tester_CPPFLAGS): Define IN_TESTER.
* sanity.cc, sanity.hh: Remove C-string specialization of dump() again.
(sanity::initialize): New function with more logic split out of ...
* monotone.cc (cpp_main): ... here. Move exit_after_options catch
to main chain of catches.
2006-07-23 Zack Weinberg <zackw@panix.com>
* monotone.cc: No need to include <strings.h>. Reorganize entire
file, putting things in logical order and splitting large chunks
of cpp_main out to...
(process_all_options, hide_irrelevant_options): ... these new
functions.
(cpp_main): Also, avoid some unnecessary C-string-to-std::string
conversions, and use ui.fatal_exception for the outermost catch
clauses.
* sanity.cc, sanity.hh: Specialize dump() for C strings too.
* ui.cc: Add conditional compilation goo for systems with or
without cxxabi.h.
(user_interface::fatal_exception): New function (2 overloads).
* ui.hh: Declare new user_interface member functions.
* unix/main.cc, win32/main.cc: Remove try/catch in main() and all
logic supporting it.
* commands.cc (crash): Remove ability to throw strings.
* tests/dump_on_crash: Don't test throwing strings.
2006-07-23 Benoît Dejean <benoit@placenet.org>
* configure.ac:
* database.cc (transitive_closure):
* hash_map.hh:
* interner.hh (interner): Use tr1 associative containers and hash
functions when available.
2006-07-23 Benoît Dejean <benoit@placenet.org>
* diff_patch.cc (hunk_consumer::find_encloser): Added missing parents.
Fixed warning.
2006-07-23 Matthew Gregan <kinetik@orcon.net.nz>
* tests/automate_tags/__driver__.lua: Fix test on Win32 (globs vs
quoting).
2006-07-22 Zack Weinberg <zackw@panix.com>
* sanity.hh: Remove Q().
* unix/main.cc: Delete all code related to deferred exception-throwing
on user interrupt.
(interrupt_signal): Just exit, telling the user they may have to
clean up a locked database.
* win32/main.cc: Remove most MSVC/Borland #ifdefs, preserving only
the MSVC-specific _CrtSetReportHook call. Use
SetUnhandledExceptionFilter to trap errors reported via SEH.
(report_ms_se_error): Rename seh_reporting_function; restructure
to be suitable for SetUnhandledExceptionFilter; add cases for all
documented exception codes.
* netsync.cc: Include signal.h if not Windows.
(run_netsync_protocol): Ignore SIGPIPE if not Windows.
* tests/database_is_closed_on_signal_exit: Expected to fail.
2006-07-21 Zack Weinberg <zackw@panix.com>
* main.cc: Break up into...
* unix/main.cc, win32/main.cc: ...these two files specialized for
the relevant operating systems. Revamp Unix signal handling.
* Makefile.am: Update to match.
* configure.ac: Add tests for <cxxabi.h> interfaces conditionally
used by unix/main.cc.
* sanity.hh (informative_failure): Conform to std::exception interface.
(sanity): Remove clean_shutdown member.
* sanity.cc (sanity::sanity): Do not do any work here.
(sanity::do_format): Catch anything, and do not attempt to refer
to what().
* cmd_automate.cc, lua.cc, netxx_pipe.cc: informative_failure::what
is now a member function returning a char *, conforming to the
std::exception interface.
* ui.hh (user_interface): Add initialize and deinitialize members.
Correct typo in fatal(format_base const&) inline overload.
* ui.cc (user_interface::user_interface)
(user_interface::~user_interface): Do not do any work here...
(user_interface::initialize, user_interface::deinitialize):
... do it here instead.
* monotone.cc (dumper): Remove.
(struct botan_library, struct ui_library): New.
(cpp_main): Use struct botan_library and struct ui_library to
initialize global state. Don't muck with global_sanity.clean_shutdown.
Catch standard exceptions here. Log system_flavour here.
* commands.cc (crash): Add ability to throw any standard library
exception, bare strings, or (on Unix) raise any of the basic signals.
* unix/process.cc (process_wait): If process exited with a signal,
return -WTERMSIG(status) not -1.
* tests/database_is_closed_on_signal_exit: Ensure that the mtn
process actually exits in response to the signal, with the proper
exit status.
* tests/dump_on_crash: Add tests of all standard exceptions and
some signals.
2006-07-21 Nathaniel Smith <njs@pobox.com>
* AUTHORS: Add Thomas Moschny and Zack Weinberg.
* UPGRADE, monotone.spec, visualc/config.h, win32/monotone.iss:
* debian/changelog: Bump to version 0.28.
2006-07-21 Nathaniel Smith <njs@pobox.com>
* monotone.texi (Workspace): Make the Warnings about pluck more
Dire.
2006-07-21 Nathaniel Smith <njs@pobox.com>
* NEWS: Update for 0.28.
* tests/netsync_over_pipes/__driver__.lua: Remove no-longer-needed
--debug.
2006-07-21 Nathaniel Smith <njs@pobox.com>
* roster.cc (print_to): It is perfectly valid to have an attr set
to the empty string (which is why we have whole "full_attr"
annoyance). Remove incorrect I().
2006-07-21 Nathaniel Smith <njs@pobox.com>
* roster.cc (check_restricted_cset, editable_roster_for_check):
Tweak comments.
2006-07-21 Nathaniel Smith <njs@pobox.com>
* configure.ac: Go ahead and bump the version number, to make
distcheck happy.
2006-07-21 Derek Scherger <derek@echologic.com>
* roster.cc (mark_roster_with_one_parent): remove std:: prefix
(editable_roster_for_check): new class for checking cset
application
(check_restricted_cset): convert check to use cset.apply_to with
editable_roster_for_check
* tests/restrictions_with_deletes: un-xfail
* tests/restrictions_with_renames_and_adds: un-xfail
2006-07-21 Thomas Moschny <thomas.moschny@gmx.de>
* monotone.texi: Document command aliases 'mv', 'ci' and 'ls',
motivated by savannah bug report #16923.
2006-07-20 Matt Johnston <matt@ucc.asn.au>
* monotone.texi: avoid "to to".
2006-07-20 Zack Weinberg <zackw@panix.com>
* Makefile.am (run_lua_tests): In generated script, pass command
line arguments down to tester, and exec it.
2006-07-19 Derek Scherger <derek@echologic.com>
* tests/restrictions_with_deletes/: new test for bugs in
check_restricted_cset
* testsuite.lua: add it
2006-07-19 Timothy Brownawell <tbrownaw@gmail.com>
* NEWS: It's been about a month since the last release. Collect
important-looking things from the changelog.
2006-07-19 Zack Weinberg <zackw@panix.com>
* constants.cc (illegal_path_bytes_arr, illegal_path_bytes): Delete.
* constants.hh (illegal_path_bytes): Delete.
* paths.cc (has_bad_chars): Code set of forbidden characters
explicitly here.
2006-07-18 Zack Weinberg <zackw@panix.com>
* revision.cc (print_insane_revision): New function.
(print_revision, write_insane_revision): Use it.
2006-07-16 Timothy Brownawell <tbrownaw@gmail.com>
* tests/dump_on_crash: New test; check that debug dumps work.
* testsuite.lua: Add it. Also, supply --confdir in safe_mtn.
2006-07-16 Timothy Brownawell <tbrownaw@gmail.com>
* cmd.hh: Declare a string commands::hidden_group, that can be given
as the group name to make a command invisible.
* commands.cc: Make it work and use it for a new command, "mtn crash".
2006-07-16 Timothy Brownawell <tbrownaw@gmail.com>
* monotone.cc: If we don't have a workspace and no dump file is
specified, set the dumpfile to $CONFDIR/dump . Not tested; that would
seem to need a reliable (not-a-bug) way to make monotone crash.
2006-07-16 Lapo Luchini <lapo@lapo.it>
* po/it.po: Updated and translated a few more strings (53 to go).
2006-07-16 Timothy Brownawell <tbrownaw@gmail.com>
* tests/revert_--missing_in_subdir/__driver__.lua: Make it
line-ending safe.
2006-07-15 Derek Scherger <derek@echologic.com>
* tester.txt: wrap long lines and fix a couple spelling errors
2006-07-15 Richard Levitte <richard@levitte.org>
* po/sv.po: A few fuzzies to clear.
2006-07-15 Nathaniel Smith <njs@pobox.com>
* tests/diff_output_formats/: Use --no-show-encloser in the places
where it used to not use --show-encloser.
2006-07-15 Matt Johnston <matt@ucc.asn.au>
* boost/format/feed_args.hpp: cast buf.pcount() to size_type as well,
fixes compiling with boost 1.32.0 for sarge
2006-07-14 Nathaniel Smith <njs@pobox.com>
* cmd_files.cc (diff):
* cmd_diff_log.cc (fdiff): Oops, rename OPT_SHOW_ENCLOSER here
too.
2006-07-14 Nathaniel Smith <njs@pobox.com>
* app_state.cc (diff_show_encloser): Default to true.
* options.hh (OPT_SHOW_ENCLOSER): Rename to OPT_NO_SHOW_ENCLOSER.
* monotone.cc (coptions): Adjust accordingly -- rename switches to
--no-show-encloser and --no-show-c-function, remove -p.
(cpp_main): Adjust accordingly.
2006-07-14 Alex Queiroz <alex@ventonegro.org>
* po/pt_BR.po: More strings translated.
2006-07-14 Richard Levitte <richard@levitte.org>
* po/sv.po: One new string.
2006-07-14 Nathaniel Smith <njs@pobox.com>
* tests/revert_--missing_in_subdir/: Un-XFAIL.
2006-07-14 Nathaniel Smith <njs@pobox.com>
* work.cc (find_missing): Take a restriction, instead of building
one from command line args.
(find_unknown_and_ignored): Similarly.
* cmd_list.cc (ls_missing, ls_unknown_or_ignored):
* cmd_ws_commit.cc (add, drop): Adjust accordingly.
(revert): Re-do --missing handling to work correctly.
2006-07-14 Nathaniel Smith <njs@pobox.com>
* restrictions.cc: Take file_path's instead of utf8 strings; make
it the cmd_* files's responsibility to convert user input into
properly typed data.
* cmd.hh (args_to_paths): Convenience function to make this
easier.
* cmd_ws_commit.cc, cmd_merging.cc, cmd_list.cc, cmd_diff_log.cc:
Use it.
2006-07-14 Nathaniel Smith <njs@pobox.com>
* tests/revert_file_to_base_revision/: Expect a proper error
message.
2006-07-13 Alex Queiroz <alex@ventonegro.org>
* po/pt_BR.po: Fixed fuzzy translations and removed old ones.
2006-07-13 Nathaniel Smith <njs@pobox.com>
* cmd_ws_commit.cc (revert): Only require some restriction be
passed if --missing is not passed. Print a proper error message
when no restriction is given.
2006-07-13 Nathaniel Smith <njs@pobox.com>
* cmd_ws_commit.cc: Remove tabs.
2006-07-13 Zack Weinberg <zackw@panix.com>
* Makefile.am: Add explicit dependencies of object files on
generated headers, to prevent parallel make issues.
* revision.cc: Rename revision_set to revision_t,
make_revision_set to make_revision, read_revision_set to
read_revision, write_insane_revision_set to write_insane_revision,
and write_revision_set to write_revision.
* roster.cc: Rename flip_revision_set to flip_revision.
* automate.cc, cmd_diff_log.cc, cmd_merging.cc, cmd_ws_commit.cc
* database.cc, database.hh, database_check.cc, enumerator.cc
* merge.cc, netsync.cc, packet.cc, rcs_import.cc, revision.hh
* roster.cc roster.hh, work.cc: Update to match.
2006-07-13 Timothy Brownawell <tbrownaw@gmail.com>
* netsync.cc (session::process_*): Replace "W(msg); return false;"
with "error(msg);" in several places, so the other side gets told why
the connection is being killed.
2006-07-13 Nathaniel Smith <njs@pobox.com>
* tests/restrictions_with_renames_and_adds/__driver__.lua:
* tests/diff_shows_renames/__driver__.lua: Add notes on possible
fixes for these bugs.
2006-07-13 Nathaniel Smith <njs@pobox.com>
* tests/diff_shows_renames/__driver__.lua: Tests for bug in diff
rename handling.
2006-07-13 Richard Levitte <richard@levitte.org>
* po/sv.po: One new string and a few fuzzies to fix.
2006-07-13 Nathaniel Smith <njs@pobox.com>
* tests/restrictions_with_renames_and_adds/: Tests for bugs in
check_restricted_cset.
2006-07-13 Nathaniel Smith <njs@pobox.com>
* tester.lua, tester.txt: Add plain 'xfail' convenience function.
* tests/revert_--missing_in_subdir/: A bunch of revert --missing
tests.
* roster.cc (check_restricted_cset): Add some MM()'s.
2006-07-13 Nathaniel Smith <njs@pobox.com>
* monotone.texi (Tree): Remove documentation of --lca and
explicit_merge-with-ancestor.
2006-07-12 Nathaniel Smith <njs@pobox.com>
* std_hooks.lua (get_encloser_pattern): Add regexes for texinfo
and latex, and disable enclosers for pure text.
* monotone.texi (Hooks): Mention that there are default,
language-specific regexen.
2006-07-12 Nathaniel Smith <njs@pobox.com>
* std_hooks.lua: Remove tabs.
2006-07-12 Nathaniel Smith <njs@pobox.com>
* cmd_merging.cc (merge): Small tweaks.
* tests/merge_multiple_heads_1/__driver__.lua: Correctly document
old algorithm.
2006-07-12 Timothy Brownawell <tbrownaw@gmail.com>
* tests/diff_output_formats/__driver__.lua: Needs canonicalization.
2006-07-11 Zack Weinberg <zackw@panix.com>
* diff_patch.cc (struct hunk_consumer): Change type of
encloser_last_match and encloser_last_search from ssize_t to
vector<string>::const_reverse_iterator.
(hunk_consumer constructor): Initialize them with a.rend().
(hunk_consumer::find_encloser): Restructure to do less pointer
arithmetic. Add some invariant checks.
2006-07-11 Zack Weinberg <zackw@panix.com>
* cmd_merging.cc (merge_two): New function.
(CMD(merge)): Rewrite again - only merge one pair of heads on each
pass. Also, skip all the work of finding a good choice if there
are only two heads. Use merge_two.
(CMD(explicit_merge)): Use merge_two.
2006-07-11 Richard Levitte <richard@levitte.org>
* po/sv.po: Two new strings to translate.
2006-07-10 Derek Scherger <derek@echologic.com>
* restrictions.cc (node_restriction::includes,
path_restriction::includes): handle --depth with empty restriction
(test_include_depth_0_empty_restriction): new test for depth with
empty restriction
* restrictions.cc (add_restrictions_tests): add it to the testsuite
* sanity.hh (dump): new template function for dumping variables
when fiddling around or debugging
(DUMP): macro wrapper for new dump function
2006-07-10 Zack Weinberg <zackw@panix.com>
* tests/diff_output_formats: Merge from mainline. Correct
expected output where necessary. Use long switches in __driver__.lua.
* diff_patch.cc (hunk_consumer::find_encloser): Use
reverse_iterators instead of mucking with ssize_t.
(unidiff_hunk_writer::flush_hunk)
(ctxdiff_hunk_writer::flush_hunk): Scan what is about to be
output, and give find_encloser exactly the right position.
(make_diff): Collapse the overload that takes vectors of strings
into its sole caller, the other overload. * diff_patch.hh: Remove
prototype for deleted overload of make_diff.
2006-07-10 Zack Weinberg <zackw@panix.com>
* tests/database_is_closed_on_signal_exit/__driver__.lua: Invert
sense of SIGSEGV test - expect database *not* to be cleaned up,
consistent with main.cc. Remove xfail.
2006-07-10 Zack Weinberg <zackw@panix.com>
* configure.ac: Add test and workaround for gcc 4.1.[01] bug
causing link to fail with a pile of multiple-definition errors.
* .mtn-ignore: Add aclocal.m4 and all the files in m4/ that
autoreconf --install likes to create.
2006-07-10 Zack Weinberg <zackw@panix.com>
* po/de.po, po/fr.po, po/it.po, po/ja.po, po/pt_BR.po: Re-msgmerge'd.
2006-07-10 Richard Levitte <richard@levitte.org>
* po/sv.po: A string got changed...
2006-07-09 Nathaniel Smith <njs@pobox.com>
* cmd_merging.cc (pluck): Restrictions support.
* tests/pluck_restricted/__driver__.lua: New test.
2006-07-09 Nathaniel Smith <njs@pobox.com>
* roster.cc (check_sane_against): Take a temp_nodes_ok arg.
(mark_roster_with_one_parent): Pass it.
2006-07-09 Nathaniel Smith <njs@pobox.com>
* cmd_merging.cc (pluck): Restructure to handle nids correctly.
* tests/pluck_lifecycle/__driver__.lua: Fix and un-xfail.
* roster.hh (make_roster_for_base_plus_cset): Fix typo.
2006-07-08 Nathaniel Smith <njs@pobox.com>
* roster.cc (mark_roster_with_no_parents)
(mark_roster_with_one_parent): New functions.
Plus tests, etc.
2006-07-08 Nathaniel Smith <njs@pobox.com>
* cmd_merging.cc (pluck): Check that revisions exist before using
them.
2006-07-08 Richard Levitte <richard@levitte.org>
* cmd_files.cc (CMD(fdiff)): Make the synopsis match the
convention used in the rest of the commands.
* po/sv.po: Translate the new string.
2006-07-08 Richard Levitte <richard@levitte.org>
* po/sv.po: New string and a few fuzzies.
2006-07-08 Matthew Gregan <kinetik@orcon.net.nz>
* tests/pluck_lifecycle/__driver__.lua: New XFAILed test for a
minor pluck bug.
* testsuite.lua: Add it.
2006-07-07 Zack Weinberg <zackw@panix.com>
* diff_patch.cc: Add commentary on cxtdiff_hunk_writer algorithm.
(cxtdiff_hunk_writer::advance_to): Flush pending mods before computing
whether we need to make a new hunk.
(unidiff_append_test): Remove.
* cmd_files.cc (CMD(fdiff)): New debugging command.
* tests/diff_output_formats: New test.
* tests/(minor)_context_diff: Remove stub.
* testsuite.lua: Update to match.
2006-07-07 Timothy Brownawell <tbrownaw@gmail.com>
* contrib/ChangeLog.sh: Make it work from anywhere in a workspace,
not just the workspace root.
2006-07-07 Nathaniel Smith <njs@pobox.com>
* diff_patch.cc (make_diff): Add more notes on how diffs are
interpreted.
2006-07-07 Nathaniel Smith <njs@pobox.com>
* diff_patch.cc (make_diff): Add notes on how 5 different diff
parsing tools interpret diff headers.
2006-07-07 Nathaniel Smith <njs@pobox.com>
* cmd_diff_log.cc (dump_diffs): Oops again.
2006-07-07 Nathaniel Smith <njs@pobox.com>
* cmd_diff_log.cc (dump_diffs): Oops, fix typos.
2006-07-07 Nathaniel Smith <njs@pobox.com>
* diff_patch.cc (make_diff): Add a version that does a bit more
work.
* cmd_diff_log.cc (dump_diffs): Use it to simplify this code.
2006-07-07 Nathaniel Smith <njs@pobox.com>
* cmd_diff_log.cc: Remove tabs.
2006-07-07 Nathaniel Smith <njs@pobox.com>
* lcs.cc (_longest_common_subsequence): Trivial whitespace tweak.
2006-07-07 Nathaniel Smith <njs@pobox.com>
* cmd_merging.cc (pluck): Remove pointless call to
maybe_update_inodeprints.
2006-07-07 Timothy Brownawell <tbrownaw@gmail.com>
* tester.cc: Add a newline to the help message.
* tester.txt: Add a brief overview at the beginning.
2006-07-06 Nathaniel Smith <njs@pobox.com>
* tests/inodeprints/__driver__.lua: Add some sleep()s, so that the
clever new inodeprints logic does not notice we are changing
things very quickly and turn itself off.
2006-07-06 Timothy Brownawell <tbrownaw@gmail.com>
* Makefile.am: distcheck isn't happy that run_lua_tests doesn't get
removed by distclean. I think it needs to be in DISTCLEANFILES ?
2006-07-06 Timothy Brownawell <tbrownaw@gmail.com>
Make 'mtn help' and 'mtn --help' exit with status 0 instead of 2.
* app_state.{cc,hh}: requested_help is now in app_state
* monotone.cc: requested_help is now in app_state. Also, check this
when catching a usage, and exit with 0 instead of 2 if it's set.
* commands.cc (CMD(help)): Set app.requested_help.
* tests/basic_invocation_and_options/__driver__.lua:
* tests/check_that_--xargs_and_-(at)_behave_correctly/__driver__.lua:
* tests/empty_environment/__driver__.lua:
* tests/test_the_help_command/__driver__.lua:
Update to expect the new exit code.
2006-07-06 Nathaniel Smith <njs@pobox.com>
* unix/inodeprint.cc (inodeprint_file): Add some clever logic
inspired by Martin Pool, to be somewhat more robust against clock
issues. This should be ported to win32, but I don't know how; I
also have no earthly idea how to test this new code.
2006-07-06 Nathaniel Smith <njs@pobox.com>
* cmd_merging.cc (pluck): Write a note to _MTN/log after each
pluck.
* tests/pluck_basics/__driver__.lua: Test for it.
2006-07-07 Richard Levitte <richard@levitte.org>
* po/sv.po: A new string to translate
2006-07-06 Timothy Brownawell <tbrownaw@gmail.com>
* tests/common/cvs.lua: Sleep after running CVS.
* tester.lua: Adjust command handling somewhat, so the above works.
* tests/*cvs*/__driver__.lua: Remove any sleep(1) lines. This is now
handled automatically.
2006-07-06 Timothy Brownawell <tbrownaw@gmail.com>
* tests/importing_cvs_branches_with_correct_ancestory/__driver__.lua:
Move a sleep(). Maybe it'll work reliably now?
2006-07-06 Timothy Brownawell <tbrownaw@gmail.com>
* tests/fail_cleanly_on_unreadable__MTN_options/__driver__.lua:
Monotone now checks that it was given a command before it looks at
_MTN. So, check that "mtn status" fails properly, instead of just "mtn".
2006-07-06 Timothy Brownawell <tbrownaw@gmail.com>
* tester.cc: New function, does approximately "chmod -R u+rwx".
* tester.lua: Use this on things we copy from the test dir to the
scratch dir. This should fix the failures on the distcheck buildbots.
* tests/importing_cvs_with_vendor_imports_and_branches/__driver__.lua:
* tests/importing_cvs_files_with_identical_logs/__driver__.lua:
Add sleep() s between some of the CVS operations.
2006-07-06 Alex Queiroz <alex@ventonegro.org>
* po/pt_BR.po: Fuzzies cleared and more strings translated.
2006-07-06 Richard Levitte <richard@levitte.org>
* po/sv.po: Another fuzzy.
2006-07-06 Richard Levitte <richard@levitte.org>
* cmd_merging.cc (CMD(pluck)): A message said 'cherrypatch' when
it should say 'pluck'.
* po/sv.po: New strings to translate and a few fuzzies that needed
changing.
2006-07-05 Nathaniel Smith <njs@pobox.com>
* tests/checking_a_few_command_specific_options/__driver__.lua
(output): Fix test to actually work.
2006-07-05 Nathaniel Smith <njs@pobox.com>
* monotone.cc (cpp_main): Tyop in previous commit.
2006-07-05 Nathaniel Smith <njs@pobox.com>
* commands.cc (complete_command):
* monotone.cc (cpp_main): Minor code cleanups.
2006-07-05 Nathaniel Smith <njs@pobox.com>
* tests/checking_a_few_command_specific_options/__driver__.lua:
Add test for minor bug reported by Marcin 'hrw' Juszkiewicz.
2006-07-05 Timothy Brownawell <tbrownaw@gmail.com>
* tests/importing_cvs_branches_with_correct_ancestory/__driver__.lua:
Add some sleep() s to (try to) fix intermittent failures, apparently
caused by CVS using only timestamps for change detection.
2006-07-05 Nathaniel Smith <njs@pobox.com>
* diff_patch.cc (get_ancestral_roster): Update comment and add an
invariant.
2006-07-05 Timothy Brownawell <tbrownaw@gmail.com>
* diff-patch.cc: Apply njs's patch to fix crash.
* tests/merge_conflict_with_no_lca/__driver__.lua: Remove xfail.
2006-07-05 Timothy Brownawell <tbrownaw@gmail.com>
* tests/merge_conflict_with_no_lca: We don't want to crash when
a merge has a content conflict but no lca.
2006-07-05 Timothy Brownawell <tbrownaw@gmail.com>
* randomfile.hh (file_randomizer::build_random_fork): When generating
two consecutive 'insert' hunks where the inserts occur on opposite
sides of the fork, insert spacer lines between the hunks. This
prevents it from generating some real conflicts that were making some
of the unit_tests (which expect cleanly mergable files) fail.
2006-07-05 Timothy Brownawell <tbrownaw@gmail.com>
* tester.lua: Use open_or_err more.
2006-07-04 Alex Queiroz <alex@ventonegro.org>
* po/pt_BR.po: A few more strings translated.
2006-07-04 Timothy Brownawell <tbrownaw@gmail.com>
* tester.cc: When setting env vars, don't take .c_str() of a temporary.
2006-07-04 Graydon Hoare <graydon@pobox.com>
* cmd_automate.cc: Fix for VC8 compatibility.
* netxx_pipe.cc: Minor cleanups.
* visualc/*.vcproj: Build fixes.
2006-07-04 Graydon Hoare <graydon@pobox.com>
* randomizer.{cc,hh}: Remove seed function.
* randomfile.hh: Remove use of seed().
* diff_patch.cc: Remove seeding arg from tester.
2006-07-04 Graydon Hoare <graydon@pobox.com>
* randomizer.{cc,hh}: New helpers for prngs.
* Makefile.am (MOST_SOURCES): Add them.
* charset.cc: Fix some missing initializers in unit tests.
* randomfile.hh: Use randomizer, not rand().
* roster.cc: Likewise.
* refiner.{cc,hh}: Add random unit tester,
and fix serious protocol-wedging bug.
* unit_tests.{cc,hh}: Register refiner tests.
2006-07-19 Thomas Moschny <thomas.moschny@gmx.de>
* tests/automate_tags: Some basic tests for automate tags.
* testsuite.lua: Activated new test.
2006-07-04 Thomas Moschny <thomas.moschny@gmx.de>
* automate.cc (AUTOMATE(tags)): New function: List all tags in
basic_io format, possibly filtered by branch.
* monotone.texi (Automation): Description of the new added.
2006-07-02 Roberta Lazzeri <ripley@lapo.it>
* po/it.po: Translated a few more strings to Italian (42 to go).
2006-07-02 Timothy Brownawell <tbrownaw@gmail.com>
* tester.txt: Short descriptions of the functions provided for use
by testsuites.
* testsuite.txt: Short descriptions of the functions provided for
use by tests.
2006-07-01 Thomas Moschny <thomas.moschny@gmx.de>
* automate.cc (AUTOMATE(branches)): New function, almost similar
to ls branches.
* cmd_automate.cc (interface_version): Incremented.
* monotone.texi (Automation): Description of the new command added.
* tests/automate_branches/: Testing the new command.
* testsuite.lua: Activated new test.
2006-06-30 Thomas Moschny <thomas.moschny@gmx.de>
* contrib/monotone.zsh_completion: New function
_mtn_files_changed, used by _mtn_commit and _mtn_revert. Renamed
and updated mtn_files_unmaintained. Minor fixes.
2006-06-29 Thomas Moschny <thomas.moschny@gmx.de>
* contrib/monotone.zsh_completion: Bugfix: completion for 'mtn ci'
used _mtn_checkout(). Directory completion for --keydir and
--confdir. Revised _mtn_commit(). Redirecting stderr to /dev/null
while completing branches or known files.
2006-06-28 Matthew Gregan <kinetik@orcon.net.nz>
* hash_map.hh: %s/_T/T/g; _T is reserved for the implementation,
and attempting to use it results in compile failures on OS X 10.3.
2006-06-24 Richard Levitte <richard@levitte.org>
* Changelog: Convert all CRLF to LF.
* po/sv.po: A few more fuzzies to correct.
2006-06-24 Lapo Luchini <lapo@lapo.it>
* po/it.po: Updated and translated a few more strings (63 to go).
Removed quotes around revision values.
* app_state.cc, revision.cc, work.cc: removed a newline.
2006-06-24 Thomas Moschny <thomas.moschny@gmx.de>
* contrib/monotone.zsh_completion: Recommend installation into
/usr/share/zsh/site-functions, as suggested by Steven E. Harris
<seh@panix.com>. Add a note about per-user installation.
2006-06-24 Matthew Gregan <kinetik@orcon.net.nz>
* visualc/config.h: Bump version number to 0.27.
* monotone.cc (cpp_main): Fix another 'monotone' vs 'mtn' in
command output.
* roster.cc (update_current_roster_from_filesystem): Use prog_name
here too.
2006-06-24 Marcel van der Boom <marcel@hsdev.com>
* roster.cc (update_current_roster_from_filesystem): Change
'monotone' to 'mtn' in an error message.
2006-06-24 Thomas Moschny <thomas.moschny@gmx.de>
* contrib/monotone.zsh_completion: Replace references to
'monotone' with 'mtn'. Allow more than one standard option on the
command line.
2006-06-22 Richard Levitte <richard@levitte.org>
* testsuite.lua: Make sure to set all NLS environment variables
to "C", so tests don't fail when the default locale is non-
english.
2006-06-21 Matthew Gregan <kinetik@orcon.net.nz>
* tests/empty_environment/__driver__.lua: Fix test on Cygwin--copy
essential DLLs into current directory before emptying $PATH.
* win32/monotone.iss: Remove hardcoded paths that were
accidentally left in after debugging.
2006-06-20 Matthew Gregan <kinetik@orcon.net.nz>
* hash_map.hh: Add a specialization for unsigned long; fixes build
on Cygwin/GCC 3.4. Thanks to Lapo Luchini for the original patch.
* win32/monotone.iss: Add monotone logo to wizard (generated from
figures/monotone-logo.svg). Sanity check key ID, branch name, and
workspace path.
* Makefile.am: Include win32/modpath.iss in EXTRA_DIST.
2006-06-20 Alex Queiroz <alex@ventonegro.org>
* po/pt_BR.po: Fixed remaining fuzzies.
2006-06-20 Nathaniel Smith <njs@pobox.com>
* tester.lua (open_or_err): New function.
(pre_cmd): Use it. It should probably be used much more widely,
but I'm not sure what I'm doing yet...
2006-06-20 Nathaniel Smith <njs@pobox.com>
* INSTALL: Update a little bit, in particular, give a newer boost
download link in response to complaint on mailing list, and put
1.9 version number on automake command line.
2006-06-20 Nathaniel Smith <njs@pobox.com>
* configure.ac: Remove autotest-related configury.
Add magic AM_INIT_AUTOMAKE options to make tar handle the long
filenames in the new test suite (automake 1.9 is now required).
2006-06-20 Nathaniel Smith <njs@pobox.com>
* Makefile.am (EXTRA_DIST): The auto* gods demand sacrifice;
remove an extra / to balance previous change.
(NB: apparently a trailing / on a directory in EXTRA_DIST does
bizarre things.)
Also, remove empty files tests/atconfig.in, tests/atlocal.in.
2006-06-19 Nathaniel Smith <njs@pobox.com>
* Makefile.am (EXTRA_DIST): Add missing \.
2006-06-19 Nathaniel Smith <njs@pobox.com>
* Makefile.am (EXTRA_DIST, BUILT_SOURCES_CLEAN):
* database.hh, database.cc: Remove old dead views stuff.
2006-06-20 Richard Levitte <richard@levitte.org>
* po/sv.po: A fuzzy to clear.
2006-06-20 Richard Levitte <richard@levitte.org>
* cmd_automate.cc (AUTOMATE(interface_version),AUTOMATE(stdio)),
cmd_list.cc (AUTOMATE(keys)): Don't send an empty string to
gettext. Here's what xgettext said:
cmd_automate.cc:68: warning: Empty msgid. It is reserved by GNU gettext:
gettext("") returns the header entry with
meta information, not the empty string.
cmd_automate.cc:209: warning: Empty msgid. It is reserved by GNU gettext:
gettext("") returns the header entry with
meta information, not the empty string.
cmd_list.cc:539: warning: Empty msgid. It is reserved by GNU gettext:
gettext("") returns the header entry with
meta information, not the empty string.
I'm quite sure we don't want the header entry printed...
2006-06-19 Alex Queiroz <alex@ventonegro.org>
* po/pt_BR.po: Fixed several fuzzy translations.
2006-06-19 Richard Levitte <richard@levitte.org>
* Makefile.am (EXTRA_DIST): Make sure that all the files in
examples/ get properly distributed as well.
2006-06-19 Nathaniel Smith <njs@pobox.com>
* cmd_automate.cc: #include <boost/function.hpp>, as requested in
bug #16866 for boost 1.32.0 compatibility.
2006-06-19 Derek Scherger <derek@echologic.com>
* automate.cc (inventory): use path_restriction
* cmd_diff_log.cc (diff,log):
* cmd_list.cc (ls_known,ls_changed):
* cmd_ws_commit.cc (revert,status,commit): use node_restrictions
* restrictions.{cc,hh} (restriction): subclass into ...
(node_restriction): ... this, operating on roster nodes and
validated against roster paths
(path_restriction): ... and this, operating on split paths and
validated against workspace paths ; the unit_tests currently
create directories {x,y}/{x,y} wherever they run to pass workspace
path validation and this should probably be cleaned up
* roster.{cc,hh} (make_restricted_csets,
update_current_roster_from_filesystem,
extract_path_set): use node_restrictions
* work.{cc,hh} (find_missing): use node_restriction
(find_unknown_and_ignored): use path_restriction
* tests/ls_unknown_of_unknown_subdir/__driver__.lua: un-xfail
and add output checks
2006-06-18 Derek Scherger <derek@echologic.com>
* cmd_ws_commit.cc (checkout): replace size check with call to
workspace_root
* paths.{cc,hh} (workspace_root): new function to test if a
split_path is the workspace root
* roster.cc (extract_path_set): replace size check with call to
workspace_root
2006-06-18 Ethan Blanton <elb@elitists.net>
* std_hooks.lua: Call the lua function get_mtn_command(host)
from get_netsync_connect_command in order to determine the
monotone command on the remote host.
* monotone.texi: Document get_mtn_command, update the
get_netsync_connect_command definition to incorporate it.
2006-06-17 Graydon Hoare <graydon@pobox.com>
* Makefile.am: Permit building 'tester' with static boost.
2006-06-17 Derek Scherger <derek@echologic.com>
* testsuite.lua: fix references to renamed tests
2006-06-17 Derek Scherger <derek@echologic.com>
* tests/README: add a couple of notes on where to find test logs
2006-06-17 Derek Scherger <derek@echologic.com>
* tests/'heads':
* tests/heads:
* tests/'heads'_with_discontinuous_branches:
* tests/heads_with_discontinuous_branches:
* tests/trust_hooks_and_'trusted'_command:
* tests/trust_hooks_and_trusted_command:
rename tests to play nicer with find and xargs
2006-06-17 Derek Scherger <derek@echologic.com>
* tests/ls_unknown_of_unknown_subdir: new xfail test
* testsuite.lua: insert in tests table
2006-06-17 Timothy Brownawell <tbrownaw@gmail.com>
* cmd.hh, commands.cc: Modify how command parameters description
strings are handled.
* cmd_automate.cc, cmd.hh: Use this to make the parameters for
each automate subcommand be a parameter of the ATUOMATE() macro,
instead of all being a big block in the automate command.
* automate.cc, cmd_list.cc, cmd_automate.cc: Update AUTOMATE() usage.
2006-06-18 Richard Levitte <richard@levitte.org>
* po/sv.po: One new untranslated string and a couple of fuzzies.
2006-06-17 Nathaniel Smith <njs@pobox.com>
* configure.ac, debian/changelog, monotone.spec:
* win32/monotone.iss, NEWS, UPGRADE: Bump version numbers to
0.27.
2006-06-17 Timothy Brownawell <tbrownaw@gmail.com>
(see bug #15995, asking for a more comprehensive automate command set)
Start splitting up automate.cc . There is now an AUTOMATE() macro in
cmd.hh , similar to the CMD() macro. Individual automate commands can
share a file with similar command-line commands, and many commands can
be factored into an implementation with CMD() and AUTOMATE() wrappers
to format input/output.
* cmd.hh: Add stuff needed to define a new automate command.
* cmd_automate.cc: This gets automate infrastructure similar to
what commands.cc is for command-line commands. And automate stdio.
* cmd_list.cc: "keys" and "certs" automate commands go here
* automate.hh: No longer needed.
* automate.cc: use AUTOMATE() macro for the automate commands that
haven't got a new home yet.
2006-06-16 Richard Levitte <richard@levitte.org>
* examples/display_branches.lua: Enhanced to display how many
times each branch cert appeared.
2006-06-14 Alex Queiroz <alex@ventonegro.org>
* monotone.texi: Added a trick about reusing code from the default
hooks using Lua closures.
2006-06-13 Derek Scherger <derek@echologic.com>
* cmd_list.cc (ls_changed): roster friendly rewrite using existing
select_nodes_modified_by_cset
2006-06-12 Derek Scherger <derek@echologic.com>
* cmd_merging.cc (get_roster): allow no arguments and default to
value in _MTN/revision
* std_hooks.lua: switch temporary file names from mt.XXX to
mtn.XXX; update attr function docs; add java class files to
standard ignore hook
2006-06-11 Lapo Luchini <lapo@lapo.it>
* po/it.po: Updated and translated a few more strings (68 to go).
2006-06-10 Richard Levitte <richard@levitte.org>
* po/sv.po: Clear 2 fuzzies. Change a %s to %d, corresponding to
Lapo's change below.
2006-06-09 Lapo Luchini <lapo@lapo.it>
* database.cc: corrected a '%s' in a '%d', removed a couple of '\n'.
* po/it.po: Updated and translated a few more strings (71 to go).
2006-06-08 Matthew Gregan <kinetik@orcon.net.nz>
* visualc/sqlite3.vcproj: Let SQLite build find our config.h.
2006-06-08 Matt Johnston <matt@ucc.asn.au>
* inodeprint.cc: convert to basic_io format.
Silently skips reading old format files, then writes
out the new format as per usual. Old mtn versions
have no format checking so will read the (nonsensical)
new format file without errors.
2006-06-08 Matt Johnston <matt@ucc.asn.au>
* boost/format/feed_args.hpp: 0 needs to be unsigned.
* vocab.cc: #undef EXTERN before #defining it again
2006-06-07 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* cert.cc:
* charset.cc:
* commands.cc:
* keys.cc:
* lua.cc:
* netsync.cc:
* netxx_pipe.cc:
* rcs_import.cc:
* schema_migration.cc:
* simplestring_xform.cc:
* txt2c.cc:
* xdelta.cc: add some more using std::* directives.
* boost/format/feed_args.hpp: std::streamsize might be signed
2006-06-07 Matthew Gregan <kinetik@orcon.net.nz>
* Makefile.am: Add new SQLite sources.
* sqlite/*: Import SQLite 3.3.6.
* Makefile.am, configure.ac: Test for fdatasync and usleep.
2006-06-07 Nathaniel Smith <njs@pobox.com>
* netxx_pipe.cc (simple_pipe_test): Another test failure,
another klugey #ifdef...
2006-06-07 Graydon Hoare <graydon@pobox.com>
* netxx_pipe.cc (simple_pipe_test): Attempt to fix broken unit
test.
2006-06-05 Graydon Hoare <graydon@pobox.com>
* sanity.{cc,hh}: Specialize formatters to number types.
* NEWS: Mention some optimizations.
2006-06-05 Matt Johnston <matt@ucc.asn.au>
* NEWS: fix ssh:// syntax to match what works
2006-06-04 Derek Scherger <derek@echologic.com>
* NEWS: fix version typo
2006-06-04 Nathaniel Smith <njs@pobox.com>
* NEWS: Draft release notes for 0.27.
2006-06-04 Nathaniel Smith <njs@pobox.com>
* HACKING (Tip): Add some tips on tracking down unit test
failures.
2006-06-04 Richard Levitte <richard@levitte.org>
* m4/ac_compile_check_sizeof.m4, m4/acx_pthread.m4: Updates
contributed by Peter Simons <simons@cryp.to>.
2006-06-03 Graydon Hoare <graydon@pobox.com>
* *.{cc,hh}: Update editor mode lines.
2006-06-03 Graydon Hoare <graydon@pobox.com>
* *.{cc,hh}: Update copyright notices.
2006-06-04 Richard Levitte <richard@levitte.org>
* po/sv.po: Lots of fuzzies to fix.
2006-06-03 Graydon Hoare <graydon@pobox.com>
* std_hooks.lua (merge3_xxdiff_cmd): Fix typo.
* cmd_diff_log.cc (dump_diffs): Undo overzealous removal of '\n'.
2006-06-03 Graydon Hoare <graydon@pobox.com>
* {cert,charset,cleanup,cmd*}.{cc,hh}: Coppyright and formatting
fixes.
2006-06-03 Lapo Luchini <lapo@lapo.it>
* *.cc *.hh: removed extra "\n" from translatable strings.
removed trailing spaces.
* po/it.po: Updated to the new newline-less strings.
2006-06-03 Matthew Gregan <kinetik@orcon.net.nz>
* win32/os_strerror.cc (os_strerror): Trim trailing newlines from
error string returned from FormatMessage.
* sanity.{cc,hh} (format_base): Add dtor to delete pimpl.
2006-06-02 Lapo Luchini <lapo@lapo.it>
* po/it.po: Updated and translated a few more strings (95 to go).
2006-06-02 Roberta Lazzeri <ripley@lapo.it>
* po/it.po: Translated a few more and fuzzy strings to Italian (90 to go).
2006-06-01 Matthew Gregan <kinetik@orcon.net.nz>
* visualc/monotone.vcproj: Add win32/os_strerror.cc to project.
2006-05-30 Richard Levitte <richard@levitte.org>
* HACKING: A small correction about namespaces.
2006-05-29 Derek Scherger <derek@echologic.com>
* HACKING: add note on using namespaces
* ROADMAP: remove janitorial items pertaining to namespaces and
splitting commands.cc
2006-05-29 Richard Levitte <richard@levitte.org>
* po/sv.po: A new string to translate.
2006-05-29 Richard Levitte <richard@levitte.org>
* std_hooks.lua (merge3_*_cmd): Make all the merge3 merge helpers
check the returned exit code of the merge program and generate an
error message if it fails.
(execute_confirm): Don't output an error message, that's the
caller's responsability.
(merge3): Follow the way the check of exit code is done elsewhere.
2006-05-29 Richard Levitte <richard@levitte.org>
* std_hooks.lua (merge3): Check the exit code from the merging
program to detect failure. We could do that by strictly checking
if the output file exists, but since some programs, like meld,
don't produce a specific output file, that method is unsafe.
(execute_confirm): Check the exit code from the execute call,
and tell the user if something went wrong.
2006-05-28 Graydon Hoare <graydon@pobox.com>
* AUTHORS: Minor touchups.
* ChangeLog: Fix capitalization.
* annotate.{cc,hh}:
* app_state.{cc,hh}:
* automate.{cc,hh}:
* lcs.cc:
* basic_io.{cc,hh}: Cosmetic and copyright fixes.
* configure.ac: Permit PCH for 4.* not 4.0*.
* cert.cc:
* charset.cc:
* cmd_diff_log.cc:
* cmd_merging.cc:
* cmd_ws_commit.cc:
* database.cc:
* ui.hh:
* unix/get_system_flavour.cc:
* xdelta.cc: Purge boost::format uses.
* sanity.{cc,hh}: Hide boost::format in pimpl.
2006-05-28 Derek Scherger <derek@echologic.com>
* app_state.cc:
* charset.cc:
* cmd.hh:
* cmd_automate.cc:
* cmd_files.cc:
* cmd_key_cert.cc:
* cmd_list.cc:
* cmd_merging.cc:
* cmd_othervcs.cc:
* cmd_ws_commit.cc:
* commands.cc:
* database.cc:
* diff_patch.cc:
* keys.cc:
* restrictions.cc:
* restrictions.hh:
* revision.cc:
* schema_migration.cc:
* string_queue.cc:
* transforms.cc:
* txt2c.cc:
* update.cc:
* work.cc:
* xdelta.cc:
more namespace fixups
2006-05-28 Richard Levitte <richard@levitte.org>
* po/sv.po: A few new and fuzzy strings to (re)translate.
2006-05-28 Matt Johnston <matt@ucc.asn.au>
* std_hooks.lua (get_netsync_connect_command): quote patterns
so that remote shells won't expand them.
2006-05-28 Matthew Gregan <kinetik@orcon.net.nz>
* visualc/config.h: Fix build: add typedef needed by recent
os_strerror changes.
* netxx_pipe.cc (Netxx::PipeCompatibleProbe::add): Compile fix for
Win32.
* win32/fs.cc (rename_clobberingly_impl): Fix crash with
VC8--calling convention for MoveFileEx was not correct (we
defaulted to cdecl, should have been using stdcall).
* win32/monotone.iss: First pass at rewriting InnoSetup file for
modern versions of IS.
* win32/modpath.iss: Add Jared Breland's GPL-licensed IS script
for portable %PATH% modification.
2006-05-27 Matthew Gregan <kinetik@orcon.net.nz>
* {unix,win32}/os_strerror.cc, platform.hh: Add OS-specific
wrapper around strerror().
* Makefile.am: Add new files.
* configure.ac: Define os_err_t based on detected OS.
* {unix,win32}/{fs,process}.cc, file_io.cc: Use new strerror
wrapper.
* netxx/{resolve_gethostbyname,sockopt}.cxx: A couple more error
reporting cleanups.
2006-05-28 Graydon Hoare <graydon@pobox.com>
* visualc/monotone.vcproj: Fix for package revision generation
(still not capturing workspace changes, but base rev)
2006-05-28 Graydon Hoare <graydon@pobox.com>
* netcmd.cc: Fix build breakage in unit tests.
2006-05-28 Graydon Hoare <graydon@pobox.com>
* app_state.cc (search_root): Initialize to current_root_path().
* paths.{cc,hh} (current_root_path): New function.
* win32/get_system_flavour.cc (processor_types): Fix typo.
2006-05-28 Lapo Luchini <lapo@lapo.it>
* po/it.po: Translated a few more strings to Italian (105 to go).
2006-05-27 Derek Scherger <derek@echologic.com>
* annotate.cc:
* app_state.cc:
* automate.cc:
* basic_io.cc:
* cert.cc:
* charset.cc:
* cmd_automate.cc:
* cmd_db.cc:
* cmd_diff_log.cc:
* cmd_list.cc:
* cmd_merging.cc:
* cmd_netsync.cc:
* cmd_packet.cc:
* cmd_ws_commit.cc:
* commands.cc:
* constants.cc:
* crypto_tests.cc:
* cset.cc:
* database.cc:
* database_check.cc:
* diff_patch.cc:
* enumerator.cc:
* epoch.cc:
* file_io.cc:
* globish.cc:
* hmac.cc:
* inodeprint.cc:
* key_store.cc:
* keys.cc:
* lcs.cc:
* legacy.cc:
* lua.cc:
* lua_hooks.cc:
* main.cc:
* merge.cc:
* merkle_tree.cc:
* mkstemp.cc:
* monotone.cc:
* mt_version.cc:
* netcmd.cc:
* netsync.cc:
* packet.cc:
* paths.cc:
* rcs_file.cc:
* rcs_import.cc:
* refiner.cc:
* revision.cc:
* roster.cc:
* roster_merge.cc:
* sanity.cc:
* schema_migration.cc:
* selectors.cc:
* simplestring_xform.cc:
* ui.cc:
* unit_tests.cc:
* vocab.cc:
* vocab_macros.hh:
* work.cc:
* xdelta.cc:
namespace fixups as described in the ROADMAP
2006-05-28 Richard Levitte <richard@levitte.org>
* po/sv.po: Update two fuzzies.
2006-05-27 Derek Scherger <derek@echologic.com>
* paths.cc (find_and_go_to_workspace): ensure that the current
directory is below the specified --root; issue a warning and abort
the search if it's not
* tests/t_invalid_root.at: new test
* testsuite.at: call it
2006-05-27 Derek Scherger <derek@echologic.com>
* tests/t_invalid_root.at:
2006-05-27 Lapo Luchini <lapo@lapo.it>
* po/it.po: Translated a few more strings to Italian (116 to go).
* netxx/resolve_gethostbyname.cxx: Reverted what I think was an
unwanted replace in r:0f1782f7e2348f991a0b8eeac03c45a72c8633a2
2006-05-26 Derek Scherger <derek@echologic.com>
* automate.cc (automate_get_manifest_of, automate_get_file):
* cmd_merging.cc (get_roster): use roster_data instead of generic
data
* database.{cc,hh} (get_roster): rename to ...
(get_roster_version): ... this and move to a better spot
(put_roster): use roster_data
* database_check.cc (check_rosters_manifest,
check_rosters_marking): use roster_data
* roster.{cc,hh} (read_roster_and_marking,
write_roster_and_marking, write_manifest_of_roster,
calculate_ident, do_testing_on_one_roster, tests_on_two_rosters,
write_roster_test):
* transforms.{cc,hh} (calculate_ident): use roster_data
* vocab.cc: add dump template for roster_data
* vocab.hh: add roster_data typedef
* vocab_terms.hh: instantiate roster_data template, add
roster_data operator<<
2006-05-25 Matthew Gregan <kinetik@orcon.net.nz>
* cmd_merging.cc (CMD(update)): Report branch switch after
reporting updated files so that the user is less likely to miss
the message.
* netxx/osutil.cxx: Mark string table static const. Trim any
trailing line feeds from message returned from FormatMessage.
* netxx/osutil.h: error_type is a DWORD on Win32.
2006-05-25 Derek Scherger <derek@echologic.com>
* database.{cc,hh} (exists): indentation fix
(roster_version_exists, roster_exists_for_revision,
get_roster_links, get_roster_ids, delete_existing_rev_and_certs,
get_roster_id_for_revision, get_roster, put_roster):
* database_check.cc (check_rosters_manifest,
check_rosters_marking, check_roster_links, check_revisions,
report_rosters, check_db): replace hexenc<id> with roster_id
* transforms.{cc,hh} (calculate_ident): new roster_id variant
* vocab.cc (dump): new roster_id variant
* vocab.hh: typedef roster_id
* vocab_terms.hh: roster_id template instantiations
2006-05-24 Derek Scherger <derek@echologic.com>
* cmd_merging.cc (merge_into_dir): use the_null_node rather than 0
2006-05-24 Matthew Gregan <kinetik@orcon.net.nz>
* win32/get_system_flavour.cc: Report service pack number, if any
is installed. While here, make a few other tweaks based on
documentation in MSDN.
* win32/fs.cc: Add win32_strerror() and use it in
rename_clobberingly() rather than displaying a raw error number to
the user.
* netxx/osutil.{cxx,h}: Add OS-specific strerror function. This
continues to call strerror() on POSIX, and tries using
FormatMessage() and a built-in error message table on Win32.
* netxx/{accept,datagram,peer,probe_select,recvfrom}.cxx,
netxx/{resolve_gethostbyname,serverbase,socket,sockopt}.cxx,
netxx/{streambase,streamserver}.cxx: s/strerror/Netxx::str_error/g.
2006-05-23 Timothy Brownawell <tbrownaw@gmail.com>
* tester.cc tester.lua: New files, which will eventually become a
new testsuite system.
* Makefile.am: Break sanity.* and dependencies out as
SANITY_CORE_SOURCES. Break lua.* and non-sanity dependencies out
as LUAEXT_SOURCES. Right now these are just included into MOST_SOURCES,
maybe compile them into .a files later? New target tester also
uses these.
2006-05-23 Richard Levitte <richard@levitte.org>
* po/sv.po: A fuzzy to change.
2006-05-22 Graydon Hoare <graydon@pobox.com>
* cmd_netsync.cc (serve): Make --no-transport-auth require --stdio.
2006-05-22 Graydon Hoare <graydon@pobox.com>
* Makefile.am: Add uri.{cc,hh}.
* app_state.{cc,hh} (use_transport_auth): New state variable.
* cmd_netsync.cc (serve): Support use_transport_auth.
* constants.hh (netcmd_minsz): Remove dead byte count related to adler32.
* hmac.{cc,hh} (active): New state variable.
* lua.{cc,hh} (lua_hooks::hook_get_netsync_connect_command):
(lua_hooks::hook_use_transport_auth): New hooks.
* monotone.cc: Support --no-transport-auth.
* monotone.texi: Document all this stuff.
* netcmd.cc: Predicate hmac activity on hmac.is_active().
* netsync.cc: Parse URIs via lua, optionally disable transport auth.
* options.hh (OPT_NO_TRANSPORT_AUTH): New option.
* std_hooks.lua (get_netsync_connect_command):
(use_transport_auth): New default definitions.
* tests/t_netsync_pipe.at: New test.
* testsuite.at: Add new hooks and t_netsync_pipe.at.
* unit_tests.{cc,hh}: Support URI tests.
* uri.{cc,hh}: New files.
2006-05-22 Timothy Brownawell <tbrownaw@gmail.com>
* file_io.{cc,hh} localized_file_io.{cc,hh}: Split off the functions
that use lua_hooks (to get localization settings) into a separate file.
* Makefile.am: Adjust for having new files.
* roster.cc work.cc diff_patch.cc cmd_diff_log.cc:
* cmd_files.cc cmd_ws_commit.cc: Adjust includes.
2006-05-22 Timothy Brownawell <tbrownaw@gmail.com>
* transforms.{cc,hh} charset.{cc,hh} simplestring_xform.{cc,hh}:
Split up transforms.cc . Hex, base64, gzip, and ident stay in
transforms. Simple string stuff (no botan or idna) goes in
simplestring_xform. Charset stuff goes in charset.
* Makefile.am unit_tests.{cc,hh}: Adjust for having new files.
* 20 others: Adjust includes.
2006-05-22 Timothy Brownawell <tbrownaw@gmail.com>
* work.{cc,hh} constants.{cc,hh}: Move attribute strings to constants.
* transforms.cc: Include constants.hh instead of work.hh .
* annotate.cc diff_patch.cc crypto_tests.cc: Fix includes.
2006-05-22 Timothy Brownawell <tbrownaw@gmail.com>
* transforms.{cc,hh} revision.{cc,hh} roster.{cc,hh} file_io.{cc,hh}:
Move calculate_ident for revision_set and roster to those files. Move
calulate_ident for files to file_io.
* 10 others: Fix includes.
2006-05-22 Timothy Brownawell <tbrownaw@gmail.com>
Do not include cert.hh from vocab.hh .
* vocab_macros.hh vocab.{cc,hh} cert.{cc,hh}: Move the type definition
macros to vocab_macros.hh, and move revision<cert> and manifest<cert>
to cert.{cc,hh} .
* Makefile.am: Adjust for having a new file.
* 12 others: Fix includes that relied on cert.hh being included
by vocab.hh .
2006-05-21 Timothy Brownawell <tbrownaw@gmail.com>
Split lua.cc into two files: lua_hooks.cc gets the lua_hooks class
and the one callback that needs an app_state, lua.cc gets everything
else.
* lua.{cc,hh}: Rename to lua_hooks.{cc,hh}. Move almost everything
except the lua_hooks class to...
* lua.{cc,hh}: New files.
* Makefile.am: Adjust accordingly.
* app_state.hh file_io.cc keys.cc transforms.hh: Adjust includes to
account for rename.
2006-05-21 Richard Levitte <richard@levitte.org>
* po/sv.po: Correct a translation that was clearly cut and pasted
but never changed. What was I thinking?
2006-05-21 Richard Levitte <richard@levitte.org>
* debian/changelog: Updated from the latest Debian release.
2006-05-20 Graydon Hoare <graydon@pobox.com>
* figures/monotone-logo.svg: Add.
2006-05-20 Derek Scherger <derek@echologic.com>
* automate.cc: add basic_io symbols
(hook_get_revision_cert_trust, automate_certs): push symbols
(automate_keys): push symbols and hexenc's
* basic_io.{cc,hh}
(is_xdigit, is_alpha, is_alnum, is_space): move to vocab.hh
(push_hex_pair, push_hex_triple, push_str_pair, push_file_pair,
push_str_multi, push_str_triple, print_stanza): use symbol and
hexenc<id> in place of strings to avoid repeated/redundant
validations which account for 4% of the client profile of a fresh
pull of the monotone db
* cset.cc (print_cset): push symbols and hexenc's
* legacy.cc (read_dot_mt_attrs, extract_renames,
get_manifest_and_renames_for_rev): parse symbols
* revision.cc (print_edge, print_stanza): push symbols and hexenc's
* roster.cc (push_marking, print_to): push symbols and hexenc's
* vocab.cc (is_xdigit): move to vocab.hh
(verify): new verification for symbol type
* vocab.hh (is_xdigit, is_alpha, is_alnum, is_space): add functions
from basic_io.hh
* vocab_terms.hh (symbol): new ATOMIC type for basic_io symbols
which allow only [a-zA-Z0-9_]
2006-05-21 Timothy Brownawell <tbrownaw@gmail.com>
Split lua.cc into two files: lua_hooks.cc gets the lua_hooks class
and the one callback that needs an app_state, lua.cc gets everything
else.
* lua.{cc,hh}: Rename to lua_hooks.{cc,hh}. Move almost everything
except the lua_hooks class to...
* lua.{cc,hh}: New files.
* Makefile.am: Adjust accordingly.
* app_state.hh file_io.cc keys.cc transforms.hh: Adjust includes to
account for rename.
2006-05-21 Richard Levitte <richard@levitte.org>
* po/sv.po: Correct a translation that was clearly cut and pasted
but never changed. What was I thinking?
2006-05-21 Richard Levitte <richard@levitte.org>
* debian/changelog: Updated from the latest Debian release.
2006-05-20 Graydon Hoare <graydon@pobox.com>
* figures/monotone-logo.svg: Add.
2006-05-19 Richard Levitte <richard@levitte.org>
* ui.cc (tick_write_count::write_ticks): Simplify the condition
to check if the count width needs to be changed.
2006-05-19 Richard Levitte <richard@levitte.org>
* ui.hh (struct ticker), ui.cc (tick_write_count::ticker,
ticker::write_ticks): Keep track of the last total we were given
and recalculate the counter width each time we detect a change in
total. The reason is that the counter is sometimes display even
though the real total isn't figured out yet, which gives the old
stepwise increase of counter size instead of doing it in one go
when we have the real total.
2006-05-19 Richard Levitte <richard@levitte.org>
* tests/t_quiet.at: Test that --quiet doesn't suppress warnings.
* tests/t_reallyquiet.at: New file. Test that --reallyquiet
suppresses progress meters and warnings.
* testsuite.at: Add t_reallyquiet.at.
2006-05-19 Richard Levitte <richard@levitte.org>
* automate.cc (automate_certs): Change a warning disguised as a
progress meter into a real warning.
* po/sv.po: Retranslate two fuzzies.
2006-05-19 Timothy Brownawell <tbrownaw@gmail.com>
* tests/t_quiet.at: --quiet now allows warnings to still be printed
2006-05-19 Timothy Brownawell <tbrownaw@gmail.com>
* sanity.cc: second sanity::set_quiet should be sanity::set_reallyquiet
2006-05-19 Richard Levitte <richard@levitte.org>
* monotone.cc, options.hh, sanity.cc, sanity.hh: Do not suppress
warnings when --quiet is given. Add --reallyquiet which does
suppress warnings as well as everything that --quiet suppresses.
2006-05-18 Richard Levitte <richard@levitte.org>
* po/sv.po: Forgot to unfuzzy a string.
2006-05-19 Matthew Gregan <kinetik@orcon.net.nz>
* monotone.cc (cpp_main): Smarter stripping of ".exe" extension.
2006-05-18 Matthew Gregan <kinetik@orcon.net.nz>
* testsuite.at, t_merge_lca.at: Rename to t_merge_7.at, tweak
comments to reflect that this used to test --lca, but now is
simply another merge test.
2006-05-18 Nathaniel Smith <njs@pobox.com>
* options.hh, app_state.cc, monotone.cc:
* cmd_merging.cc (merge, propagate, merge_into_dir): Remove
OPT_LCA option.
2006-05-17 Richard Levitte <richard@levitte.org>
* po/sv.po: Another fuzzy to re-translate.
2006-05-16 Timothy Brownawell <tbrownaw@gmail.com>
* automate.cc: Uncomment automate_common_ancestors.
* tests/t_automate_common_ancestors.at, testsuite.at: Test it.
* monotone.texi: Document it.
* cmd_automate.cc: Add it to the command description for automate.
2006-05-17 Matt Johnston <matt@ucc.asn.au>
* paths.cc (internal_string_to_split_path): move from cset.hh to
here, make it share the path splitting with fully_normalized_path().
(has_bad_chars): use lookup table to check bad chars.
(bad_component): don't compare string vs char* every time.
* roster.cc, cset.hh: internal_string_to_split_path changes
* vocab.cc (verify(hexenc<id>): .empty() rather than == ""
2006-05-16 Matt Johnston <matt@ucc.asn.au>
* roster.cc (parse_from): don't use lexical_cast, avoid copying a
marking_t.
2006-05-15 Matt Johnston <matt@ucc.asn.au>
* cmd_diff_log (log, dump_diffs): limit diffs to restricted files,
updated for new restrictions code.
* tests/t_log_diffs.at: A test for log --diffs
2006-05-14 Derek Scherger <derek@echologic.com>
* database.cc (info): allow any number of rows to be returned from
query of next_roster_node_number
* tests/t_db_init_info.at: new test of info on a new database
* testsuite.at: call it
2006-05-14 Graydon Hoare <graydon@pobox.com>
* netsync.cc: Fix invariant typo.
* merkle_tree.hh: Remove unused equal_to struct.
* hash_map.hh: Correct for Microsoft hash_map assumption
that the binary functor in the traits class is an order,
not just an equality predicate.
2006-05-14 Graydon Hoare <graydon@pobox.com>
* netxx_pipe.{cc,hh}: Various cleanups to build on unix.
* netsync.cc (drop_session_associated_with_fd): New helper,
and use it everywhere we did sessions.erase() before.
2006-05-13 Graydon Hoare <graydon@pobox.com>
* netsync.cc, netxx/probe.h, netxx_pipe.{cc,hh}: Adaptation of
Christof Petig's PipeStream work, with heavy modifications; seems
to work under win32 / visualc8 now.
* options.hh (OPT_STDIO): New option.
* app_state.{cc,hh} (bind_stdio): Store it.
* monotone.cc (cpp_main): Parse it.
* cmd_netsync.cc (serve): Accept --stdio option for 'serve'.
* platform.hh (munge_argv_into_cmdline): Export on win32.
* win32/process.cc (munge_argv_into_cmdline): Make non-static.
* unit_tests.{cc,hh}: Add tests for pipes.
* visualc/monotone.vcproj: Add netxx_pipe.{cc,hh}
* Makefile.am: Likewise.
2006-05-13 Christof Petig <christof@petig-baender.de>
(Originally from 2004-06-18, on a different branch)
* netsync.cc:
(struct session): use PipeStream, pair of sockets
(find_wordend,parse_ssh_url): helper functions to parse an URL
(call_server): recognize ssh: and file: URLs
(serve_stdio): variant of serve_connections for stdio
(run_netsync_protocol): call serve_stdio if address is -
2006-05-14 Lapo Luchini <lapo@lapo.it>
* po/it.po: Translated a few more strings to Italian (115 to go).
2006-05-14 Richard Levitte <richard@levitte.org>
* po/sv.po: A fuzzy to correct.
2006-05-13 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_automate_get_current_revision_id.at: Canonicalise output
before comparison--fixes test on Win32.
2006-05-13 Matt Johnston <matt@ucc.asn.au>
* cmd_diff_log (log): don't get the roster unless we have restrictions.
2006-05-13 Timothy Brownawell <tbrownaw@gmail.com>
* netsync.cc: (process_hello_cmd) Build our merkle tries after
replying to the server.
(call_server, serve_connections) Use instant timeout for our streams.
Looking at the netxx code, it appears that reads will select() using
the stream's timeout. Regardless of whether the stream has been set
non-blocking.
(call_server) Move maybe_step and maybe_say_goodbye to before we arm
the session.
(write_netcmd_and_try_flush) Uncomment the {read,write}_some calls.
2006-05-12 Nathaniel Smith <njs@pobox.com>
* monotone.texi: Re-sync the two copyright blocks.
2006-05-12 Derek Scherger <derek@echologic.com>
* testsuite.at (test_hooks.lua): ignore testsuite.log files
2006-05-12 Derek Scherger <derek@echologic.com>
* database.cc (begin_transaction): ensure there are no pending
writes when a transaction begins
(rollback_transaction): clear any pending writes before rolling
back a transaction
2006-05-12 Derek Scherger <derek@echologic.com>
* automate.cc (automate_get_base_revision_id,
automate_get_current_revision_id): new functions
(automate_command): call them
* cmd_automate.cc (automate): fix indentation and add entries for
new commands
* monotone.texi: document new commands
* tests/t_automate_get_base_revision_id.at:
* tests/t_automate_get_current_revision_id.at: new tests
* testsuite.at: call them
2006-05-12 Timothy Brownawell <tbrownaw@gmail.com>
* lua.hh: Remove unused, unimplemented template lua_hooks::call_hook.
2006-05-12 Matt Johnston <matt@ucc.asn.au>
* netsync.cc (process_hello_cmd): ask for passphrase before
doing merkle tree things.
2006-05-12 Matt Johnston <matt@ucc.asn.au>
* merkle_tree.cc (bitset_to_prefix): use strings directly
rather than ostringstream for getting bitset blocks, ~10%
cpu time improvement for empty pull.
2006-05-12 Graydon Hoare <graydon@pobox.com>
* xdelta.cc (apply_delta): Tolerate 0-length instructions.
2006-05-11 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* roster.cc: include proper header for srand, rand and prefix
srand, rand, search with std:: for sunpro
2006-05-11 Graydon Hoare <graydon@pobox.com>
* xdelta.cc (read_num): New function.
(apply_delta): Rewrite to avoid string streams.
2006-05-10 Roberta Lazzeri <ripley@lapo.it>
* po/it.po: Translated a few more strings to Italian (140 to go).
2006-05-09 Graydon Hoare <graydon@pobox.com>
* xdelta.cc (copied_extent::operator<): Fix ordering bug which
caused an unfortunate degradation in inverse delta quality,
particularly on ChangeLogs.
2006-05-09 Derek Scherger <derek@echologic.com>
* packet.cc (consume_file_delta): remove redundant file delta
verification
2006-05-09 Derek Scherger <derek@echologic.com>
* automate.cc (automate_inventory): remove invalid assertion
* cmd_diff_log.cc (log): check for null revision id rather than
missing revision id
* commands.cc: remove unnecessary #include
(help): fix indentation
* netsync.cc: remove stale comment
2006-05-08 Roberta Lazzeri <ripley@lapo.it>
* po/it.po: Changed translation of 'directory' to 'directory'.
2006-05-07 Roberta Lazzeri <ripley@lapo.it>
* po/it.po: Translated a few more strings to Italian (148 to go).
2006-05-07 Graydon Hoare <graydon@pobox.com>
* database.{cc,hh} (pending_writes): New fulltext write buffer,
gives about 20% performance gain on initial pull.
(database::have_pending_write): Helper function.
(database::load_pending_write): Likewise.
(database::cancel_pending_write): Likewise.
(database::schedule_write): Likewise.
(database::exists): Modify to use buffer.
(database::put_version): Likewise.
(database::put_file): Likewise.
(database::put_roster): Likewise.
2006-05-06 Lapo Luchini <lapo@lapo.it>
* po/it.po: Translated a few more strings to Italian (162 to go).
2006-05-06 Richard Levitte <richard@levitte.org>
* po/sv.po: New string to translate.
2006-05-06 Richard Levitte <richard@levitte.org>
* INSTALL: Warn people not to run "make check" as root, since it
will cause failure of the tests. I jave no idea if there's any
such possiblity on Windows, someone else will have to fill that
in.
2006-05-06 Timothy Brownawell <tbrownaw@gmail.com>
* database_check.cc (check_db_integrity_check): Replace F with FL.
2006-05-06 Nathaniel Smith <njs@pobox.com>
Patch contributed by 'zecke'.
* database.cc (check_integrity):
* database_check.cc (check_db_integrity_check): Add a call to
PRAGMA integrity_check to 'db check'.
2006-05-05 Richard Levitte <richard@levitte.org>
* po/sv.po: Retranslate a few changed strings.
2006-05-05 Nathaniel Smith <njs@pobox.com>
* database.cc (info): Include count of total nodes allocated in
this db in 'db info' output.
2006-05-04 Nathaniel Smith <njs@pobox.com>
* ChangeLog: fix whitespace.
2006-05-04 Nathaniel Smith <njs@pobox.com>
* cmd_files.cc (annotate): Check whether file exists.
* tests/t_annotate.at: Test this check.
2006-05-04 Matt Johnston <matt@ucc.asn.au>
* work.cc (editable_working_tree::apply_delta): filename argument
was missing for E() format string.
2006-05-04 Matthew Nicholson <matt@matt-land.com>
* debian/monotone-server.monotone.default: Removed BRANCHES option and
make all other options optional. Also DB became MTN_DB.
* debian/monotone-server.monotone.init: Set defaults for every option
in /etc/default/monotone, also serve '*' instead of specific branches.
Restrictions can be added using the read and write permissions files.
2006-05-02 Richard Levitte <richard@levitte.org>
* po/sv.po: A few new strings to translate.
2006-05-02 Matthew Nicholson <matt@matt-land.com>
* monotone.texi (Composite selectors): Added note about escaping in
selectors.
2006-05-02 Richard Levitte <richard@levitte.org>
* commands.cc (commands::complete_command): Make sure to catch the
case of a unknown command, and treat it as a naughty.
2006-05-01 Nathaniel Smith <njs@pobox.com>
* cmd_merging.cc (update): Hopefully clarify messages in the
different cases where target branch differs from current branch.
* tests/t_update_off_branch.at: Test all paths.
* ui.cc (warn): Use prefix_lines_with and mark "warning:" for
translation.
2006-05-01 Matthew Gregan <kinetik@orcon.net.nz>
* win32/terminal.cc (have_smart_terminal): Simplify smart terminal
detection, since it doesn't really work anyway. We'll now default
to smart almost everywhere (except inside environments with
TERM=dumb or TERM=emacs). Users can override this with
--ticker=(dot|none) if need be.
* win32/fs.cc (get_current_working_dir): Strip trailing backslash
from path, if present. Fixes bug #16442.
2006-05-01 Timothy Brownawell <tbrownaw@gmail.com>
* automate.cc: "automate common_ancestors" was committed accidentally.
Comment it out until tests/documentation are ready.
2006-04-30 Graydon Hoare <graydon@pobox.com>
* xdelta.{cc,hh} (invert_xdelta): New function.
* database.{cc,hh} (database::get_arbitrary_file_delta): Add.
(database::put_file_version): Use invert_xdelta.
* netsync.cc (session::note_file_delta):
Use get_arbitrary_file_delta.
2006-04-30 Matthew Nicholson <matt@matt-land.com>
* debian/monotone-server.postinst: Change $MONOTONE to $MTN. Added
--quite flag to key generation.
2006-04-29 Richard Levitte <richard@levitte.org>
* po/sv.po: Updated a fuzzy.
2006-04-29 Matt Johnston <matt@ucc.asn.au>
* vocab.hh: removing superfluous string("") constructor shrinks mtn
binary by >100kB (from Benoît Dejean)
2006-04-28 Matthew Nicholson <matt@matt-land.com>
* tests/t_escaped_selectors.at: Added. Tests escaped selectors.
* testsuite.at: Added t_escaped_selectors.at.
2006-04-28 Alex Queiroz <alex@ventonegro.org>
* po/pt_BR.po: Translated more strings.
2006-04-28 Graydon Hoare <graydon@pobox.com>
* contrib/color-logs.sh: Update to 'mtn'.
* enumerator.{cc,hh}: Expose parent map, cache certs.
* netsync.cc: Use caches in enumerator and refiners.
* refiner.hh (local_item_exists): New helper.
2006-04-28 Matthew Gregan <kinetik@orcon.net.nz>
* database.cc (query::query): Allow query to be constructed
without an initial SQL command.
* database.cc (database::complete): Replace use of boost::format
with query; building the query.sql_cmd as we go. Fixes potential
SQL injection attacks.
2006-04-28 Alex Queiroz <alex@ventonegro.org>
* po/pt_BR.po: Translated even more strings.
2006-04-27 Matthew Nicholson <matt@matt-land.com>
* selectors.cc (parse_selector): Change boost::char_separator to
boost::escaped_list_separator to support branch names containing '/'.
2006-04-27 Timothy Brownawell <tbrownaw@gmail.com>
* std_hooks.lua: Remove default validate_commit_message hook.
2006-04-27 Timothy Brownawell <tbrownaw@gmail.com>
* hash_map.hh: Do things a little differently. Should make
instantiating different types of hash_map (like merkle_tree.hh does)
easier, slightly less dependent on the compiler/library. (Currently,
this should mostly be useful in the .visualc8 branch.)
* basic_io.hh cmd_list.hh rcs_file.cc rcs_import.cc unix/fs.cc: These
wouldn't compile with g++/stlport. Add includes, replace a
const_iterator with an iterator in rcs_import.cc
* database.cc interner.hh merkle_tree.hh vocab.cc xdelta.cc: Adjust
to match the new hash_map.
Compile-tested on g++ and g++ with stlport. Won't link when using
stlport, because my boost was compiled against g++'s normal stl.
2006-04-27 Daniel Carosone <dan@geek.com.au>
* monotone.texi: add a missing $ to a packet example, and an
introductory paragraph to the section. From Jeronimo Pellegrini,
with minor wording tweaks.
2006-04-27 Alex Queiroz <alex@ventonegro.org>
* po/pt_BR.po: Translated more strings.
2006-04-27 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* cmd_list.cc: missing using std::sort; broke build with stlport4
2006-04-26 Timothy Brownawell <tbrownaw@gmail.com>
* netsync.cc (serve_connections): Cycle through all results before
recalculating the probe. Netxx does not make this as simple as it
should be.
2006-04-26 Derek Scherger <derek@echologic.com>
* automate.cc:
* cmd_diff_log.cc:
* cmd_list.cc:
* cmd_merging.cc:
* cmd_ws_commit.cc:
* commands.cc:
* work.cc: use explicit temp_node_id_sources everywhere
* tests/t_log_dir.at: remove stale comment
2006-04-25 Derek Scherger <derek@echologic.com>
* cmd_*.cc: merge new restrictions changes in from commands.cc
split
* tests/t_log_dir.at: remove stale comment
* work.{cc,hh}(find_missing, find_unknown_and_ignored): move
these functions here from commands.cc split
2006-04-26 Nathaniel Smith <njs@pobox.com>
* Makefile.am (package_full_revision_raw.txt): Pass --root to our
calls to mtn.
2006-04-25 Derek Scherger <derek@echologic.com>
* restrictions.{cc,hh} (find_missing, find_unknown_and_ignored): move to...
* work.{cc,hh}: ...here since these are not really restriction things
* cmd_ws_commit.cc: sort includes and add work.hh to account for moves
2006-04-26 Timothy Brownawell <tbrownaw@gmail.com>
* app_state.{cc,hh}: Overload set_restriction to take a path_set as
the list of paths to restrict to.
* cmd_ws_commit.cc: Use this to fix revert --missing.
2006-04-25 Timothy Brownawell <tbrownaw@gmail.com>
* monotone.cc: --quiet forces --ticker=none
* tests/t_quiet.at: Check that --quiet turns off tickers.
* testsuite.at: Call it.
2006-04-25 Timothy Brownawell <tbrownaw@gmail.com>
* lua.cc: There is now an "extract_classified_str" to go with
"extract_str", which doesn't log the value of the returned string.
Use this in hook_get_passphrase.
* tests/t_no_log_password.at: Test that the passphrase is not logged.
* testsuite.at: Call it.
2006-04-25 Timothy Brownawell <tbrownaw@gmail.com>
* po/POTFILES.in: add cmd.hh and the cmd_*.cc files
2006-04-25 Richard Levitte <richard@levitte.org>
* examples/000README.txt, examples/display_branches.lua: Start a
directory of small examples and other cool things you can do with
monotone. Contrary to the contrib directory, these files can
seldom be taken and used as they are, they usually need to get
integrated into some other file.
* debian/docs, debian/changelog: Make sure the examples directory
end up inside Debian's standard documentation directory, and
document this change.
2006-04-25 Nathaniel Smith <njs@pobox.com>
* monotone.texi: Add Jeronimo to copyright holder list.
* AUTHORS: And the contributor list.
2006-04-25 Jeronimo Pellegrini <pellegrini@mpcnet.com.br>
* monotone.texi (Using packets): New section, short tutorial
showing how packets work. (With some small fixups by Nathaniel.)
2006-04-25 Jeronimo Pellegrini <pellegrini@mpcnet.com.br>
* monotone.texi: Replace many references to 'monotone' with
'mtn'.
2006-04-24 Derek Scherger <derek@echologic.com>
* contrib/monotone.el (monotone-commit-complete): call line
removal function by it's actual name
2006-04-24 Derek Scherger <derek@echologic.com>
* cmd_diff_log.cc (log): remove --recursive option from log;
directories are always recursive as with other restricted commands
* tests/t_log_dir.at: account for recursive directories
2006-04-23 Nathaniel Smith <njs@pobox.com>
* commands.cc (attr): Use get_base_and_current_roster_shape
instead of doing a pointless workspace scan.
2006-04-23 Richard Levitte <richard@levitte.org>
* po/sv.po: Clear a fuzzy.
2006-04-23 Richard Levitte <richard@levitte.org> & Alex Queiroz <alex@ventonegro.org>
* lua.cc (monotone_includedir_for_lua): Tweak a spelling mistake.
Notified by Jeronimo Pellegrini <pellegrini@mpcnet.com.br>.
2006-04-23 Alex Queiroz <alex@ventonegro.org>
* pt_BR.po: Fixed some fuzzy translations.
2006-04-21 Richard Levitte <richard@levitte.org>
* contrib/usher.cc (fork_server): Make sure to append to already
existing log file.
2006-04-21 Richard Levitte <richard@levitte.org>
* contrib/usher.cc (fork_server): Redirect the logs of the sub-
servers to log files instead of a pipe, and have the main
process read that file instead of the pipe.
(read_server_record): Complain about unrecognised commands, and
continue processing.
(reload_conffile): Parse the logdir command. Complain about
unrecognised commands, and continue processing.
2006-04-21 Alex Queiroz <alex@ventonegro.org>
* Make clear in the "automate get_revision" documentation that
path stanzas are grouped under the corresponding "old_revision" one.
2006-04-21 Richard Levitte <richard@levitte.org>
* contrib/usher.cc (server::set_hosts, server::set_patterns):
Explain a little more what is removed from what.
2006-04-21 Richard Levitte <richard@levitte.org>
* contrib/usher.cc (server::set_hosts, server::set_patterns):
Write a warning saying that existing entries with the same host
or pattern are stripped of said host or pattern.
(server::set_patterns): Erasing the list node that we're iterating
on, then trying to go to the next node doesn't work. Save the
iterator, then increment it before erasing the node using the
saved value. No more segfaults. This is the same fix as was done
for server::set_hosts February 21st.
2006-04-21 Richard Levitte <richard@levitte.org>
* po/sv.po: A fuzzy updated
2006-04-20 Timtohy Brownawell <tbrownaw@gmail.com>
* commands.{cc,hh} cmd.hh cmd_*.cc Makefile.am: Split commands.cc into
lots of smaller files. Current grouping is semi-arbitrary by other
code called and general "what it does" concept.
2006-04-20 Timtohy Brownawell <tbrownaw@gmail.com>
* tests/t_hook_helpers.at: New file: test some of the helper functions
for the lua hooks.
* testsuite.at: Add it.
2006-04-20 Timtohy Brownawell <tbrownaw@gmail.com>
* commands.cc (commit): E() if the old end of a delta is missing.
2006-04-20 Timtohy Brownawell <tbrownaw@gmail.com>
* tests/t_ls_changed.at: Also check that it detects added files/dirs.
2006-04-20 Timtohy Brownawell <tbrownaw@gmail.com>
* tests/t_ls_epochs.at: New file: test "ls epochs" and
"ls epochs <branch>"
* testsuite.at: Add it.
2006-04-20 Timtohy Brownawell <tbrownaw@gmail.com>
* tests/t_checkout_heads.at: New file: checkout should fail if there
are multiple heads.
* testsuite.at: Add it.
2006-04-20 Timtohy Brownawell <tbrownaw@gmail.com>
* testsuite.at: NOT_ON_WIN32 seems to be broken. Fix it.
2006-04-19 Timtohy Brownawell <tbrownaw@gmail.com>
* commands.cc (log): Make log accept --recursive, which makes
"log dir" log revisions where anything under dir/ changes.
* tests/t_log_dir.at: Remove XFAIL. Test logging at attr change.
* tests/t_help.at: New file, test the "help" command.
* tests/t_approve.at: New file, test the "approve" command.
* testsuite.at: Add the new tests.
2006-04-19 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_mtn_ignore.at: Tweak test so it would have detected the
broken .mtn-ignore error handling fixed in the last commit.
* std_hooks.lua (ignore_file): Fix up error handling for
non-existent .mtn-ignore files.
2006-04-18 Richard Levitte <richard@levitte.org>
This change was contributed by Shaun Jackman <sjackman@gmail.com>
* debian/changelog: Add missing Debian releases.
* debian/rules: From Debian bug report #334999: FTBFS on
arm/hppa/m68k: please use g++-3.4
2006-04-17 Benoît Dejean <benoit@placenet.org>
* po/fr.po: Fixed nœud spelling.
2006-04-15 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_pidfile_log_permissions.at: Minor tweak to last change.
* tests/t_empty_env.at: Remove LD_LIBRARY_PATH test; it was
causing the test to be skipped without good reason in too many
environments.
* tests/t_ls_branches.at: Tweak include and exclude patterns to
avoid spurious glob expansion under MinGW.
* tests/t_pidfile_log_permissions.at: Skip part of the test under
MinGW since we can't get UNIX permissions to map to the particular
NT permissions we'd need for this portion of the test.
2006-04-14 Richard Levitte <richard@levitte.org>
* commands.cc (CMD(setup)): Make this a CMD_NO_WORKSPACE. The
reason is a use-case, when someone setup a new project as a
subdirectory of another project, and forgot to give the database
and branch for this new project, and thereby ended up having it
be in the same database and branch as the parent directory.
* tests/t_setup_workspace_in_workspace.at (setup in subdirectory),
testsuit.at: Add a test for it.
2006-04-14 Lapo Luchini <lapo@lapo.it>
* po/it.po: Corrected an error (some "help command" were translated).
2006-04-14 Julio M. Merino Vidal <jmmv@NetBSD.org>
* Makefile.am: Use sed instead of perl to add the stylesheet
reference in HTML files. Perl is not available in some systems
by default so this avoids an extra build-time dependency.
2006-04-13 Matthew Nicholson <matt@matt-land.com>
* debian/monotone-server.postinst: Only try to
migrate/rosterify/whatever database once. If it fails print a
message. This is how the script was coded but 'set -e' prevented it
from working properly.
2006-04-13 Matthew Nicholson <matt@matt-land.com>
* debian/control: Made monotone-server's Architecture 'all' instead of
'any', as it does not contain any architecture dependent files.
2006-04-12 Nathaniel Smith <njs@pobox.com>
* unix/process.cc (read_umask): New function.
(make_executable): Use it.
* tests/t_executable_umask.at, testsuite.at: New test.
XFAILed, because of totally mysterious failure!
2006-04-12 Matthew Gregan <kinetik@orcon.net.nz>
* monotone.cc (cpp_main): Use the entire path leaf for prog_name,
but strip ".exe" off if present.
2006-04-12 Richard Levitte <richard@levitte.org>
* ui.cc (compose_count): Simplify for count/total ticks. There's
no need to calculate the maximum size every time, since
write_ticks has a specific test with the exact same effect.
(tick_write_count::write_ticks): Specialise the test for the
count/total case, since we know the exact maximum and therefore
don't need to make space for a ludicrously large number.
2006-04-12 Matthew Nicholson <matt@matt-land.com>
* debian/monotone.docs: Added monotone.html back in.
2006-04-12 Richard Levitte <richard@levitte.org>
* ui.hh (struct ticker): Add a member count_size to hold the size
of the tick count output and a method set_count_size to modify it.
* ui.cc (compose_count): New function to compose the count string
for a ticker. The code was moved from...
(write_ticks): ... here. If the tick's count_size is zero, use
compose_count to calculate the output string for a well chosen
large number and use its size as a default initial count size.
This is still updated dynamically if we get a count string size
that's still larger, but it should happen very rarely (when we get
a size of 1024 gibibytes or more, quite precisely).
2006-04-12 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_pidfile_log_permissions.at: Spelling.
2006-04-12 Richard Levitte <richard@levitte.org>
* po/sv.po: A few more fuzzies to change.
2006-04-12 Richard Levitte <richard@levitte.org>
* contrib/usher.cc (fork_server): Set the C locale before
executing monotone itself. This is needed since usher is
trying to interpret the first line of monotone output, and
only understands the english message.
2006-04-12 Richard Levitte <richard@levitte.org>
* po/sv.po: "ls branches" changed to take a pattern.
2006-04-12 Matthew Nicholson <matt@matt-land.com>
* commands.cc (pid_file::pid_file): Move check for open pidfile until
after we attempt to open the file :).
2006-04-12 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_pidfile_log_permissions.at: New test to check that we
fail properly if the specified pid or log file could not be
opened. Thanks to Matthew Nicholson for the bug report.
* testsuite.at: Add it.
* ui.cc (user_interface::redirect_log_to): Check that file is open.
* commands.cc (pid_file::pid_file): Ditto.
2006-04-11 Nathaniel Smith <njs@pobox.com>
* UPGRADE: Add a note that all certs will be re-issued, and all
revids will change.
2006-04-12 Thomas Keller <me@thomaskeller.biz>
* po/README: Added small HOWTO for new translations
2006-04-11 Timothy Brownawell <tbrownaw@gmail.com>
* merkle_tree.hh: make merkle_table be a hash_map instead of a map.
2006-04-11 Timothy Brownawell <tbrownaw@gmail.com>
* commands.cc (ls_branches): Allow "ls branches <pattern>".
* tests/t_ls_branches.at: Test it.
2006-04-11 Richard Levitte <richard@levitte.org>
* contrib/usher.cc (main): Small error. When -m was parsed, it
was saved as the path to mtn instead of its value.
2006-04-11 Matthew Gregan <kinetik@orcon.net.nz>
* win32/make_io_binary.cc: Fix compile errors under MinGW.
2006-04-11 Henry Nestler <Henry@BigFoot.de>
* contrib/mtbrowse.sh: Binary call to mtn
2006-04-11 Richard Levitte <richard@levitte.org>
* netxx/resolve_getaddrinfo.cxx (resolve_hostname): monotone might
be compiled on a computer that has AI_ADDRCONFIG and run on one
that doesn't understand that flag. If the error EAI_BADFLAGS is
returned, try again without AI_ADDRCONFIG.
2006-04-10 Richard Levitte <richard@levitte.org>
* contrib/usher.cc: Changed all reference to "monotone" to the new
"mtn". Submitted by Ethan Blanton <eblanton@cs.ohiou.edu>.
2006-04-09 Matthew Gregan <kinetik@orcon.net.nz>
* paths.cc (file_path::file_path): MM() on source path.
2006-04-09 Timothy Brownawell <tbrownaw@gmail.com>
* platform.hh (make_io_binary): new function, turn off textmode
"\n"->"\r\n" translation on Windows
* {win32,unix}/make_io_binary.cc: Implementations of said function.
* commands.cc (automate): Use said function so our output doesn't get
mangled. (Mostly important for "automate stdio".)
* Makefile.am: Add the new files.
2006-04-09 Nathaniel Smith <njs@pobox.com>
* restrictions.{cc,hh}: Audit use of node id sources, and make a
number of functions take an explicit node_id_source argument.
* roster.cc (make_roster_for_base_plus_cset): Also take an
explicit node_id_source.
* commands.cc, automate.cc: Update to match new calling conventions.
2006-04-09 Nathaniel Smith <njs@pobox.com>
* std_hooks.lua (accept_testresult_change): s/MT/_MTN/, thanks to
Alex Queiroz for the catch...
2006-04-08 Nathaniel Smith <njs@pobox.com>
* NEWS: Finish paragraph that stopped in the
2006-04-08 Nathaniel Smith <njs@pobox.com>
* configure.ac, debian/changelog, win32/monotone.iss:
* monotone.spec: Bump version number to 0.26.
* NEWS: Insert release time.
2006-04-08 Timothy Brownawell <tbrownaw@gmail.com>
* commands.cc (process_netsync_args): fix crash when calling netsync
with an --exclude but no include argument.
* tests/t_netsync_no_include.at: netsync with --exclude but no
include should E(), not I().
* testsuite.at: call it
2006-04-08 Nathaniel Smith <njs@pobox.com>
* monotone.texi: Several little content improvements, scattered
throughout.
(Automation): Document new rev and manifest formats. Document new
packet commands.
* database_check.cc: Add a comment to warn people that there are
detailed docs on this, so if they add new stuff they'll want to
add new docs too.
* automate.cc (automate_get_manifest_of, automate_get_revision):
Re-sync docs to manual.
(automate_packet_for_fdata): Fix copy/paste error in error
message.
2006-04-08 Nathaniel Smith <njs@pobox.com>
* netxx/resolve_gethostbyname.cxx (resolve_hostname): #ifdef out
Win32-incompatible error reporting call.
2006-04-08 Nathaniel Smith <njs@pobox.com>
* netsync.cc, annotate.cc: Turn all ticker labels from _() to
N_(), to match Benoît's changes to the ticker class.
2006-04-08 Nathaniel Smith <njs@pobox.com>
* AUTHORS: Add Thomas Keller.
2006-04-08 Nathaniel Smith <njs@pobox.com>
* Makefile.am (distcleancheck_listfiles): Third time's
the... charm?
2006-04-08 Matthew Gregan <kinetik@orcon.net.nz>
* monotone.cc: Oops, needed to include
boost/filesystem/convenience.hpp too.
* monotone.cc (cpp_main): Exclude .exe extension by using
fs::basename rather than path.leaf().
2006-04-08 Richard Levitte <richard@levitte.org>
* netxx/resolve_gethostbyname.cxx (resolve_hostname),
* netxx/resolve_getaddrinfo.cxx (resolve_hostname): Include the
error string associated with the error returned by getaddrinfo()
and gethostbyname() in the exception text.
* netsync.cc (serve_connections): When socket() fails in Netxx,
it throws a Netxx::Exception rather than a
Netxx::NetworkException, so we need to catch that as well. This
should solve the problems some have experienced when they don't
have a IPv6 stack and try to run a IPv6-enabled monotone.
2006-04-08 Richard Levitte <richard@levitte.org>
* po/sv.po: A phrase was changed in command.cc...
2006-04-07 Richard Levitte <richard@levitte.org>
* po/sv.po: A few untranslated ones appeared.
2006-04-07 Richard Levitte <richard@levitte.org>
* po/sv.po: Fixed a fuzzy.
2006-04-07 Matthew Gregan <kinetik@orcon.net.nz>
* Makefile.am: Syntax tweak. I bet this still won't work...
* Makefile.am: Backticks don't nest, use $().
2006-04-07 Daniel Carosone <dan@geek.com.au>
* monotone.texi: Update more examples to reflect new program
output for revisions and diffs and manifests.
2006-04-07 Matthew Gregan <kinetik@orcon.net.nz>
* lua.cc, commands.cc: Tiny string cleanups.
* Makefile.am (distcleancheck_listfiles): Fix up find(1) syntax.
2006-04-07 Daniel Carosone <dan@geek.com.au>
* monotone.texi: Correct a copy/paste error, bug #15708
2006-04-07 Daniel Carosone <dan@geek.com.au>
* figures/README: Revise to describe a better .png generation method
* figures/{manifest,file-id-manifest-id,revision-chaining,revision}.png:
Reregenerate accordingly
* figures/oo-figures.sxd: Source changes for the following:
* figures/{local,general}-workflow: "working copy" to "workspace", MT to _MTN
2006-04-07 Nathaniel Smith <njs@pobox.com>
* Makefile.am (distcleancheck_listfiles): Another try at this...
2006-04-07 Nathaniel Smith <njs@pobox.com>
* Makefile.am (distcleancheck_listfiles): Attempt to teach
distcheck that it's okay that distclean does not remove
package_revision.txt and package_full_revision_dist.txt files.
Untested, because the test is taking ages and I want to go to
sleep, so good luck :-).
2006-04-07 Nathaniel Smith <njs@pobox.com>
* figures/README: Add note on PNGs.
* figures/{manifest,file-id-manifest-id,revision-chaining,revision}.png:
Regenerate PNGs.
2006-04-07 Nathaniel Smith <njs@pobox.com>
* figures/oo-figures.sxd: Sigh, accidentally discarded the changes
I had to make since the fonts changed and the arrows/boxes became
incorrect. This redoes them, to approximately match the version
used to generate the current pdf files.
2006-04-07 Nathaniel Smith <njs@pobox.com>
* figures/README: More notes.
* figures/oo-figures.sxd: No idea what changed about this file,
don't care.
* figures/{manifest,file-id-manifest-id,revision-chaining,revision}:
Finally managed to get proper pdfs out of OpenOffice. Committing
now before I have a chance to screw things up.
2006-04-06 Nathaniel Smith <njs@pobox.com>
* figures/README: New file.
* figures/oo-figures.sxd: Write into the file the filename that
each figure should be exported to. I'll actually do the exports
later...
2006-04-07 Benoît Dejean <benoit@placenet.org>
* ui.{cc,hh}: Use untranslated ticker name as key in ui.tickers
to prevent buggy translations from crashing monotone.
2006-04-07 Benoît Dejean <benoit@placenet.org>
* po/fr.po: Fixed.
2006-04-07 Benoît Dejean <benoit@placenet.org>
* po/fr.po: Replaced nice unicode arrows with long strings.
2006-04-07 Matthew Gregan <kinetik@orcon.net.nz>
* monotone.cc: Remove libgen.h and basename(), replace with
equivalent from boost::filesystem.
* sqlite/*: Import SQLite 3.3.5.
* tests/t_mtn_ignore.at: Shuffle the output grepping tests a bit
to make failure cases more obvious.
2006-04-06 Matthew Nicholson <matt@matt-land.com>
* debian/monotone-server.postrm: Fix purging of monotone-server
package by not using debconf in postrm script.
2006-04-06 Matthew Nicholson <matt@matt-land.com>
* debian/monotone-server.examples: Don't install entire directory
hierarchy.
2006-04-06 Nathaniel Smith <njs@pobox.com>
* Makefile.am (mostlyclean-local): Delete
package_full_revision.txt, not package_full_revision_dist.txt.
2006-04-06 Nathaniel Smith <njs@pobox.com>
* monotone.texi: Fix up the ascii diagrams in the early sections
to match current data formats. Fix up sample output similarly.
Fix even more places where we say "monotone" to refer to the
command.
* figures/oo-figures.sxd: Update graphical figures to match
current data formats.
2006-04-06 Nathaniel Smith <njs@pobox.com>
* monotone.texi: Fix a bunch more places where we say "monotone"
to refer to the command name.
2006-04-06 Nathaniel Smith <njs@pobox.com>
* monotone.texi: .mt-attrs? Never heard of it...
2006-04-06 Nathaniel Smith <njs@pobox.com>
* po/LINGUAS: Add de.
2006-04-06 Nathaniel Smith <njs@pobox.com>
* NEWS: Go ahead and add a note about sqlite 3.3, since
incompatibility with the 3.2 command line client has apparently
bitten at least two of us.
2006-04-06 Nathaniel Smith <njs@pobox.com>
* Makefile.am (package_full_revision_*.txt): Try this again,
hopefully now 'distcheck' will work in a clean dir on systems that
have no mtn binary.
2006-04-06 Nathaniel Smith <njs@pobox.com>
* UPGRADE: Expand and hopefully clarify 0.26 upgrading notes.
Also add a paragraph at the top to explain how the file is
organized (maybe this should have been there a long time ago...)
2006-04-06 Nathaniel Smith <njs@pobox.com>
* NEWS: Complete (?) draft of 0.26 release notes.
2006-04-07 Satoru SATOH <ss@gnome.gr.jp>
* po/ja.po: Updated Japanese translation.
2006-04-06 Richard Levitte <richard@levitte.org>
* ui.cc (user_interface::output_prefix): Move the invariant
checking that prog_name isn't empty...
(user_interface::set_prog_name): here. The reason is that an
invariant generates a log, and that will generate another call
to this message, which will trigger the invariant again, which
generates a log, which...
In user_interface::output_prefix, still check if prog_name is
empty, and output something harmless if it is.
2006-04-05 Nathaniel Smith <njs@pobox.com>
* NEWS: Start writing 0.26 release notes.
2006-04-05 Nathaniel Smith <njs@pobox.com>
* roster.cc (unify_roster_oneway): Discover that this code is not
really composable with arbitrary node_id_sources; add an assertion
to document the real interface, and a comment explaining why this
is the case, and why it is a problem for workspace merge and db
check.
2006-04-05 Nathaniel Smith <njs@pobox.com>
* database_check.cc (check_sane): Remove dead code.
2006-04-05 Richard Levitte <richard@levitte.org>
* monotone.cc: Make sure prog_name gets the basename of the
program from argv[0], not the whole absolute path to it.
* tests/t_commit_validate.at, tests/t_log_to_file.at: The monotone
logs are prefixed with the program name ('mtn'), not with
'monotone' any longer.
2006-04-05 Richard Levitte <richard@levitte.org>
* mt_version.cc (get_version): Close the parenthesis.
* po/sv.po: Fix a few fuzzy strings and translate a new one.
2006-04-05 Nathaniel Smith <njs@pobox.com>
* sanity.cc (dump_buffer): Make the "discarding debug log"
slightly more informative.
2006-04-05 Nathaniel Smith <njs@pobox.com>
* ui.{cc,hh}: Use the prog_name in output.
* app_state.cc (app_state::prog_name): Change default to 'mtn'.
Set the global ui object's prog_name whenever our prog_name is
set.
* monotone.cc (cpp_main): Use the new prog_name setter.
2006-04-05 Nathaniel Smith <njs@pobox.com>
* monotone.cc (cpp_main): MM() our command line, LC_ALL, and full
version, so that they are always included in dump and debug
files.
2006-04-04 Nathaniel Smith <njs@pobox.com>
* mt_version.{cc,hh} (get_version, get_full_version): New
functions. Also tweak --full-version output for readability.
2006-04-04 Nathaniel Smith <njs@pobox.com>
* mt_version.cc (print_full_version): Include compiler
vendor/version, c++ stdlib vendor/version, and boost version in
--full-version output.
2006-04-04 Nathaniel Smith <njs@pobox.com>
* Makefile.am: Yet another try at the package full revision stuff;
hopefully this version still works just as well as the old
versions, while also getting rid of the repeated "Generated from
cached data" messages.
2006-04-05 Lapo Luchini <lapo@lapo.it>
* po/it.po: Changed "in/out" translations as graphical arrows.
2006-04-04 Matt Johnston <matt@ucc.asn.au>
* tests/t_rosterify_empty_manifest.at: a test for rosterifying a db
that has empty manifests
2006-04-04 Matt Johnston <matt@ucc.asn.au>
* revision.cc (construct_revisions_from_ancestry): all rosters must be
given a root node, even if all files have been dropped.
2006-04-04 Matt Johnston <matt@ucc.asn.au>
* database.cc (database::dump): don't check schema of the db.
2006-04-04 Nathaniel Smith <njs@pobox.com>
* roster.hh (class roster_t): Add massive comment about roster_t's
location tracking stuff. Conclusion: it is a little icky, but
it's icky in an overly conservative way that doesn't cause any
forseeable problems, so we'll leave it for now.
2006-04-04 Richard Levitte <richard@levitte.org>
* po/sv.po: Updated and additional translations.
2006-04-02 Matthew Nicholson <matt@matt-land.com>
* ChangeLog: Fix typo and merge goofs.
2006-04-02 Matthew Nicholson <matt@matt-land.com>
* debian/monotone-server.monotone.init: Clean up monotone's pid file
for it. This is a temporary work around until monotone learns to
clean up after itself.
2006-04-02 Matthew Nicholson <matt@matt-land.com>
* debian/monotone-server.TODO.Debian: Added.
2006-04-02 Matthew Nicholson <matt@matt-land.com>
* debian/monotone-server.postinst: Changed to use the
get_passphrase_from_file.lua file as the default hooks file for the
server.
2006-04-02 Matthew Nicholson <matt@matt-land.com>
* contrib/get_passphrase_from_file.lua: Added. This hook reads
passphrases from 'confdir/passphrases'.
2006-04-02 Matthew Nicholson <matt@matt-land.com>
* contrib/ChangeLog.sh: Updated to reflect monotone name changes.
2006-04-02 Matthew Nicholson <matt@matt-land.com>
* tests/t_pidfile.at: Added. Test's pid file cleanup.
* testsuite.at: Added new t_pidfile.at test.
2006-04-02 Richard Levitte <richard@levitte.org>
* ui.cc (user_interface::redirect_log_to): Someone correctly
pointed out that the log gets clobbered. Now corrected.
2006-04-01 Matthew Nicholson <matt@matt-land.com>
* po/ja.po, po/pt_BR.po: Import from net.venge.monotone.
2006-04-01 Matthew Nicholson <matt@matt-land.com>
* debian/monotone-server.examples: Added.
* debian/monotone-server.install: Removed. The
monotone-server.examples file handles this now.
2006-04-01 Matthew Nicholson <matt@matt-land.com>
* debian/monotone-server.dirs: Added new /var/log/monotone and
/var/run/monotone directories.
* debian/monotone-server.postinst: Set ownership and on new
directories.
* debian/monotone-server.monotone.init: Modified to use new log and
pid file locations and new --log option.
2006-04-01 Lapo Luchini <lapo@lapo.it>
* po/it.po: Translated a few more strings to Italian (170 to go).
2006-04-01 Benoît Dejean <benoit@placenet.org>
* commands.cc (CMD(attr)): 2 more strings for I18N.
2006-04-01 Benoît Dejean <benoit@placenet.org>
* xdelta.cc (apply_copy): Fixed warning.
2006-04-01 Lapo Luchini <lapo@lapo.it>
* po/it.po: Translated a few more strings to Italian (205 to go).
2006-04-01 Petr Ovtchenkov <ptr at island.corbina.net>
* xdelta.cc: avoid dereference of iterators at end()
2006-03-31 Nathaniel Smith <njs@pobox.com>
* work.cc (apply_delta): Don't print file hashes when updating.
2006-03-31 Nathaniel Smith <njs@pobox.com>
* commands.cc (update): Print branch name when updating.
2006-04-01 Henry Nestler <Henry@BigFoot.de>
* contrib/mtbrowse.sh: Bookkeeping directory _MTN
2006-03-31 Matthew Nicholson <matt@matt-land.com>
* debian/monotone-server.monotone.init: Fix pidfile saving.
2006-03-31 Lapo Luchini <lapo@lapo.it>
* po/it.po: Translated a few more strings to Italian (243 to go).
2006-03-30 Nathaniel Smith <njs@pobox.com>
* testsuite.at: Ah-hah, missed AT_TESTED. Should fix the
"monotone not found" errors people have reported.
2006-03-30 Henry Nestler <Henry@BigFoot.de>
* mnt.1: '--bind' for serve on host, syntax from monotone.texi
2006-03-29 Nathaniel Smith <njs@pobox.com>
* testsuite.at: Clean up the macros that call monotone a little.
2006-03-29 Nathaniel Smith <njs@pobox.com>
* .mt-ignore: Rename to .mtn-ignore.
2006-03-29 Nathaniel Smith <njs@pobox.com>
* NEWS: Set date.
2006-03-29 Nathaniel Smith <njs@pobox.com>
* Makefile.am (package_revision.txt): Whoops, missed a few spots,
thanks to Marcel for the tip...
2006-03-29 Nathaniel Smith <njs@pobox.com>
* INSTALL: mtn-related tweaks.
* monotone.spec, win32/monotone.iss: Untested mtn-related tweaks,
and bump version to 0.26pre3.
* debian/changelog: Bump version.
2006-03-29 Nathaniel Smith <njs@pobox.com>
* NEWS: First pass at entry for 0.26pre3.
2006-03-28 Nathaniel Smith <njs@pobox.com>
* revision.cc (construct_revisions_from_ancestry): Convert
.mt-ignore to .mtn-ignore. We have always been at war with
Oceania.
* tests/t_rosterify_mt_ignore.at, testsuite.at: Test it.
2006-03-28 Nathaniel Smith <njs@pobox.com>
* std_hooks.lua (ignore_file): Read .mtn-ignore, not .mt-ignore.
* tests/t_mt_ignore.at, tests/t_add.at, testsuite.at: Adjust
accordingly.
* monotone.texi: Update accordingly.
2006-03-28 Nathaniel Smith <njs@pobox.com>
* tests/t_case_insensitive__MTN.at, testsuite.at: New test.
2006-03-28 Matthew Nicholson <matt@matt-land.com>
* contrib/monotone.bash_completion: Convert to use mtn instead of
monotone.
2006-03-28 Lapo Luchini <lapo@lapo.it>
* AUTHORS: Added myself as translator.
* po/it.po: Added Itailan translation.
2006-03-28 Richard Levitte <richard@levitte.org>
* contrib/monotone.bash_completion: Make if complete mtn as well.
* po/fr.po: Translation update.
* po/sv.po: Translation update.
* contrib/monotone-import.pl, contrib/monotone-import.pl: Change
MT to _MTN.
2006-03-28 Nathaniel Smith <njs@pobox.com>
* tests/t_at_sign.at: Add a missing MTN_SETUP.
2006-03-28 Nathaniel Smith <njs@pobox.com>
* tests/README, testsuite.at, tests/*.at: First pass at updating
tests for s/monotone/mtn/. NB: new tests should use MTN_SETUP and
MTN macros.
2006-03-28 Nathaniel Smith <njs@pobox.com>
* Makefile.am: Build "mtn", not "monotone".
* monotone.1: Rename to...
* mtn.1: ...this.
2006-03-28 Nathaniel Smith <njs@pobox.com>
* tests/*_MT*: Rename to reflect that they now test _MTN, not MT.
* testsuite.at: Update accordingly.
2006-03-28 Nathaniel Smith <njs@pobox.com>
* tests/*.at: s/MT/_MTN/.
2006-03-28 Nathaniel Smith <njs@pobox.com>
* testsuite.at: s/MT/_MTN/.
2006-03-28 Nathaniel Smith <njs@pobox.com>
* monotone.texi: s/.db/.mtn/ everywhere. Also, s/MT:/MTN:/, and
s/MT/_MTN/ as appropriate.
* monotone.1: Likewise.
2006-03-28 Nathaniel Smith <njs@pobox.com>
* paths.cc (file_path): Use in_bookkeeping_dir when joining paths,
instead of being clever. It should be just about as fast, and
means that there's only one code path that has to know how to
detect bookkeeping dirs.
* app_state.cc, automate.cc: Oops, forgot to hit save before.
s/MT/_MTN/.
2006-03-28 Nathaniel Smith <njs@pobox.com>
* paths.cc (in_bookkeeping_dir): Argh. Really correct now!
Really!
(test_split_join): Another cut-and-paste error.
2006-03-28 Nathaniel Smith <njs@pobox.com>
* paths.cc (test_split_join): Whoops, be more careful
copy-and-pasting within a single scope...
(in_bookkeeping_dir): Was totally wrong, make all the constants
correct...
2006-03-28 Nathaniel Smith <njs@pobox.com>
* commands.cc (CMD_NO_MT): Rename to...
(CMD_NO_WORKSPACE): ...this.
* *.cc, *.hh: s/MT/_MTN/ (mostly in comments).
2006-03-28 Nathaniel Smith <njs@pobox.com>
* commands.cc (get_log_message_interactively):
* std_hooks.lua (edit_comment): s/MT:/MTN:/
2006-03-28 Nathaniel Smith <njs@pobox.com>
* paths.cc: s/MT/_MTN/ everywhere.
(in_bookkeeping_dir): Also apply the security kluge from 0.25.2,
where we define the bookkeeping dir case-insensitively.
Add tests for this.
2006-03-27 Nathaniel Smith <njs@pobox.com>
* database.cc (check_format): Use .empty() instead of comparing
.size() to zero, trivial style cleanup.
(check_is_not_rosterified): New method.
* revision.cc (build_changesets_from_manifest_ancestry)
(build_roster_style_revs_from_manifest_style_revs): Call it.
* tests/t_rosterify_on_rosterified_db.at, testsuite.at: New test.
2006-03-27 Matthew Gregan <kinetik@orcon.net.nz>
* idna/nfkc.c, popt/popt.c, popt/popt.h, popt/popthelp.c: Warning
cleanups.
2006-03-25 Matthew Gregan <kinetik@orcon.net.nz>
* diff_patch.cc, hash_map.hh, lua/lua.h, mkstemp.cc, monotone.cc,
platform.hh, rcs_file.cc, sanity.hh, ui.cc, vocab.hh: config.h
cleanups--ensure it is included before any other includes, and
that we use "", rather than <>.
* idna/version.c: Use STRINGPREP_VERSION rather than VERSION,
which just happens to be defined to the monotone version number.
2006-03-24 Richard Levitte <richard@levitte.org>
* po/sv.po: Corrected all the fuzzy translations
* po/fr.po: Added some missing translations.
2006-03-24 Matthew Gregan <kinetik@orcon.net.nz>
* database.cc (database::load): Analyze database after load.
(database::execute): Minor whitespace cleanup.
2006-03-23 Richard Levitte <richard@levitte.org>
* tests/t_update_off_branch.at: Instead of retrying the update
by specifying the branch of the off-branch revision, check that
the branch specified in MT/options has changed automagically to
the intended revision's branch.
2006-03-22 Matthew Gregan <kinetik@orcon.net.nz>
* database.{cc,hh}: Report page size and default cache size in 'db
info' output.
2006-03-22 Nathaniel Smith <njs@pobox.com>
* key_store.cc (consume_key_pair, read_key_dir)
(ensure_in_database, write_key): Add some logging.
2006-03-22 Matt Johnston <matt@ucc.asn.au>
* commands.cc (CMD(update)): update the workspace branch
to match a revision given with -r.
2006-03-22 Matt Johnston <matt@ucc.asn.au>
* schema_migration.cc, database.cc: print a more helpful
error message when we fail in calculate_schema_id() (usually
because of locking). Don't bother telling the user what the
sqlite error number is (but still log it).
2006-03-20 Matthew Gregan <kinetik@orcon.net.nz>
* configure.ac: Fix Windows identification test so that it doesn't
pass unexpected under Cygwin. Reported by Lapo Luchini.
2006-03-20 Matt Johnston <matt@ucc.asn.au>
* configure.ac: use test -f rather than test -e, since Solaris's
/bin/sh doesn't have the latter.
2006-03-19 Matthew Gregan <kinetik@orcon.net.nz>
* Makefile.am: Tidier versions of html and monotone.html targets,
thanks to Thomas Moschny for the patch.
2006-03-18 Matthew Gregan <kinetik@orcon.net.nz>
* automate.cc (automate_inventory): Add an MM().
* Makefile.am: Copy figures/ into two places for html target, and
don't attempt to copy std_hooks.lua over itself if we're building
in the src dir.
2006-03-18 Richard Levitte <richard@levitte.org>
* Makefile.am (html): For the html target, figures/ and
std_hooks.lua should always be copied. Making it conditional
should only be done for the monotone.html target.
2006-03-18 Richard Levitte <richard@levitte.org>
* Makefile.am (monotone.html, html): Only copy figures/ and
std_hooks.lua if the builder is in a separate build directory.
2006-03-18 Richard Levitte <richard@levitte.org>
* tests/t_netsync_notes.at: Enhance the test by checking that a
netsync where no data is written to the database won't trigger
the note_netsync* hooks.
2006-03-18 Matthew Gregan <kinetik@orcon.net.nz>
* Makefile.am: Fix a couple of cases where documentation was
failing to build. If you're building outside of the source dir we
need to copy figures/ and std_hooks.lua into the build dir.
* win32/monotone.iss: Include zlib1.dll in installer package.
* tests/t_empty_env.at: Copy zlib1.dll into the current directory
like we have to for libiconv-2.dll. While here, add a check for
LD_LIBRARY_PATH and cause the test to be skipped if it is set.
* tests/t_netsync_notes.at: Canonicalise output in a few places so
that the test passes on CRLF platforms.
2006-03-18 Richard Levitte <richard@levitte.org>
* netsync.cc (session): Only call the note_netsync hooks if
something has been written to the database. The reason is that
if those hooks are called from a server process and those hooks
are used to update another database (say, for viewmtn), it means
another run will be done with monotone to pull from the server,
which would trigger another call to the hooks, which would cause
another pull, which would cause those hooks to be called again,
...
2006-03-17 Richard Levitte <richard@levitte.org>
* tests/t_netsync_notes.at: New test to check that the
note_netsync hooks work as they should.
* testsuite.at: Add the above test as well as the following
useful macros.
(BASE_MANIFEST): Gives the manifest identity of the base
revision.
(WORKING_MANIFEST): Gives the manifest identity of the workspace.
(CERTVALUE): Picks out the value of a specific cert from a given
revision.
(DATA): Like AT_DATA, but allows environment variables to be
expanded in the resulting file.
(NETSYNC_SETUP_WITH_NOTES): A variant of NETSYNC_SETUP that adds
note_netsync hooks.
2006-03-17 Richard Levitte <richard@levitte.org>
* lua.cc, lua.hh (lua::hookshook_note_netsync_revision_received,
lua::hookshook_note_netsync_cert_received,
lua::hookshook_note_netsync_pubkey_received): Change them so nonce
comes last. It means that hooks written for the older inteface
(the once without nonce) will work transparently.
* monotone.texi (Hooks): Change the docs accordingly.
* netsync.cc (session::~session): Change the calls accordingly.
2006-03-17 Richard Levitte <richard@levitte.org>
There are times when it is good to be able to prepare for a
bunch of calls to note_netsync* hooks, as well as to know when
there are not more such calls to be expected. To that end, I've
added note_netsync_start and note_netsync_end, and changed the
others to take the exact same nonce as those two. The purpose
of the nonce is to differentiate between different runs, if they
ever would run in parallel.
* lua.cc, lua.hh (lua_hooks::hook_note_netsync_start,
lua_hooks::hook_note_netsync_end): Added methods.
(lua_hooks::hook_note_netsync_revision_received,
lua_hooks::hook_note_netsync_pubkey_received,
lua_hooks::hook_note_netsync_cert_received): Modified to take a
nonce.
* monotone.texi (Hooks): Documented.
* netsync.cc (session::~session): Modified to call
app.lua.hook_note_netsync_start and app.lua.hook_note_netsync_end
as well as the others with the nonce argument.
2006-03-16 Benoît Dejean <benoit@placenet.org>
* commands.cc (log): Don't include <sys/time.h>, my mistake.
2006-03-16 Richard Levitte <richard@levitte.org>
* revision.cc (construct_revisions_from_ancestry): Linguistics:
Close a parenthesis.
* po/sv.po: Translation update.
2006-03-15 Richard Levitte <richard@levitte.org>
* diff_patch.cc (unidiff_hunk_writer::advance_to,
cxtdiff_hunk_writer::advance_to): Because ctx is a size_t, make
everything dealing with it a size_t as well. Keeps the compiler
quiet...
2006-03-15 Matt Johnston <matt@ucc.asn.au>
* database.cc (db::load), schema.sql: PRAGMA page_size=8192
2006-03-13 Richard Levitte <richard@levitte.org>
* tests/t_serve_ignores_mt_options.at: New test to check that
'monotone serve' really ignores the contents of an available
MT/options.
* testsuite.at: Use it.
2006-03-12 Timothy Brownawell <tbrownaw@gmail.com>
* netsync.cc (session::maybe_note_epochs_finished): only begin the
other refinements if we're the client, as per the comment in refiner.cc
2006-03-14 Nathaniel Smith <njs@pobox.com>
* revision.cc (construct_revisions_from_ancestry): Now with 17%
more helpfulness.
2006-03-12 Richard Levitte <richard@levitte.org>
Some of the monotone commands don't really need to use the data
in MT/options. As a matter of fact, it's even a really bad idea
for some command, for example 'monotone serve'. We must still
check for the MT directory and read whatever is there, just
don't immediately use the data from MT/options. I've done it by
moving the code that processes the data from MT/options in
app_state::allow_workspace to another method, which is then used
separately.
* app_state.cc, app_state.hh (app_state::allow_workspace): The
code that processes data from MT/options and uses the information
is now moved...
(app_state::process_options): ... here.
* commands.cc (struct command, commands::process, CMD, CMT_NO_MT):
Add a per-command flag that says if the particular command needs
to bother with the workspace options or not. CMD_NO_MT is a new
macro to help define commands that don't.
(CMD(serve)): Change into...
(CMD_NO_MT(serve)): ... this.
* monotone.cc (cpp_main): Changed the comment so it matches
reality.
2006-03-12 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_dump_load.at: Don't canonicalise database dump output;
there should be no need to do so.
2006-03-12 Nathaniel Smith <njs@pobox.com>
* monotone.texi (Selectors): Remove line noise.
Also, add an example for c:.
* roster.cc (update_restricted_roster_from_filesystem): Put back
hint about drop --missing, revert --missing that was lost in
transition to rosters.
2006-03-12 Matthew Gregan <kinetik@orcon.net.nz>
* configure.ac: Add a second sync_for_stdio test to work around a
bug in OS X.
* testsuite.at: Changes to Perl and Python UNB64_COMMAND
invocations to work around some quoting issues broken/revealed in
my last change.
2006-03-12 Benoît Dejean <benoit@placenet.org>
* commands.cc: log: retrieve changes summary and ancestors only when
needed.
2006-03-12 Benoît Dejean <benoit@placenet.org>
* po/fr.po: Small fixes.
2006-03-12 Matthew Gregan <kinetik@orcon.net.nz>
* paths.cc, annotate.cc, xdelta.cc: Fix the signed vs unsigned
warnings which have obvious solutions.
* testsuite.at: Remove eval in UNB64_COMMAND and UNGZ_COMMAND; it
breaks testsuite tracing.
* tests/t_database_check.at, tests/t_rosterify_attrs.at,
tests/t_rosterify_rename.at: Use POSIX syntax for tail.
2006-03-12 Richard Levitte <richard@levitte.org>
* ChangeLog: Fixup after merge lossage.
2006-03-11 Matthew Gregan <kinetik@orcon.net.nz>
* m4/prog_cxx_warnings.m4: Turn on extra warnings (-W) when using
GCC. Also disable 'unused variable' warnings (enabled by -W) for
now. This change only causes 8 new warnings (all of one
type--signed vs unsigned) to occur.
* netxx/peer.cxx, netxx/sockaddr.cxx, netxx/sockaddr.h: Correct
the only six cases of type punning that occur (that GCC 4.1 can
detect, at least) in C++ code we compile. It is probably safe to
remove -fno-strict-aliasing from CXXFLAGS now.
2006-03-11 Benoît Dejean <benoit@placenet.org>
* po/fr.po: Fixed encoding.
2006-03-10 Richard Levitte <richard@levitte.org>
* po/fr.po: Small details to change.
2006-03-10 Matthew Gregan <kinetik@orcon.net.nz>
* ROADMAP: Remove items that have been done and correct a typo.
* COPYING: Update FSF address.
* po/fr.po: Fix up broken msgstrs that were causing msgmerge to
choke.
2006-03-09 Richard Levitte <richard@levitte.org>
* po/fr.po: Finished almost all untranslated things. I'm a
bit tired...
2006-03-09 Richard Levitte <richard@levitte.org>
* po/fr.po: More translations done.
2006-03-09 Richard Levitte <richard@levitte.org>
* po/fr.po: More translations done. Started using freedict
services.
2006-03-09 Richard Levitte <richard@levitte.org>
* po/fr.po: More translations done. Some new standard
translations added.
2006-03-09 Richard Levitte <richard@levitte.org>
* po/fr.po: More translations done. Note that I changed the
translation "cert" -> "cert" to "cert" -> "certif" because I
found a previous translation of the latter kind and liked it
better.
2006-03-08 Richard Levitte <richard@levitte.org>
* po/fr.po: Translating more untranslated strings.
2006-03-08 Richard Levitte <richard@levitte.org>
* po/sv.po: Traduce 2 new strings.
2006-03-08 Matt Johnston <matt@ucc.asn.au>
* monotone.texi: mention merge_into_dir in the pivot_root description.
2006-03-08 Derek Scherger <derek@echologic.com>
* work.{cc,hh} (get_current_restricted_roster,
get_base_and_current_restricted_roster): comment out
suspicious/unused functions
2006-03-08 Derek Scherger <derek@echologic.com>
* tests/t_revert_file_blocked_by_dir.at: new XFAIL test for revert
* testsuite.at: call it
2006-03-08 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_sink_has_extra_epochs.at: Er, and also check for branch
names rather than revisions in the output of 'ls branches'.
* tests/t_sink_has_extra_epochs.at: Fix up subtle syntax error.
* lru_cache.h: Rename some enums to avoid namespace collisions on
Win32.
2006-03-08 Joel Rosdahl <joel@rosdahl.net>
* po/sv.po: Minor updates.
2006-03-08 Matthew Gregan <kinetik@orcon.net.nz>
* monotone.texi: Spelling fixes.
2006-03-08 Nathaniel Smith <njs@pobox.com>
* tests/t_disapprove_branch.at: I'm an idiot.
2006-03-08 Nathaniel Smith <njs@pobox.com>
* tests/t_disapprove_branch.at: Actually add.
2006-03-08 Nathaniel Smith <njs@pobox.com>
* tests/t_disapprove_branch.at, testsuite.at: Add a placeholder
test for disapprove's broken branch handling; from code
inspection, it is obviously broken. I don't have time to write a
real test right now, though, never mind fix it... but at least we
have an XFAIL and a comment...
2006-03-07 Matthew Gregan <kinetik@orcon.net.nz>
* std_hooks.lua (ignore_file): Fixup after introduction of
dir_matches() helper. Visual SourceSafe stores metadata in named
files, not named directories.
2006-03-07 Richard Levitte <richard@levitte.org>
* po/fr.po: Started on the untranslated strings.
2006-03-07 Richard Levitte <richard@levitte.org>
* po/fr.po: Done all the fuzzy translations I could.
2006-03-06 Timothy Brownawell <tbrownaw@gmail.com>
* tests/t_push_with_upstream_epochs.at: Test that we don't hang on a
one-way transfer where the sink has extra epochs.
* testsuite.at: call it
* tests/t_epoch.at: When we're setting epochs by hand, also try one
with an invalid length. It should N(), not I().
2006-03-06 Graydon Hoare <graydon@pobox.com>
* lru_cache.hh (LRUCache::insert): Fix memory leak.
2006-03-06 Timothy Brownawell <tbrownaw@gmail.com>
* tests/t_delete_dir.at: Check that drop on a non-empty dir
without --recursive doesn't work.
2006-03-06 Timothy Brownawell <tbrownaw@gmail.com>
* app_state.{cc,hh}, options.hh, monotone.cc: Add a --recursive option.
* commands.cc (drop): accept --recursive
* work.cc (perform_deletions): obey --recursive
* tests/t_delete_dir{,_patch}.at, tests/t_subdir_drop.at:
use --recursive, remove XFAIL
* tests/t_add_intermediate_MT_path.at: reenable recursive drop section
2006-03-06 Richard Levitte <richard@levitte.org>
* po/fr.po: More translations.
2006-03-05 Timothy Brownawell <tbrownaw@gmail.com>
* commands.cc (db set_epoch): N() on the epoch size, so we don't I()
on it in database.cc .
* netsync.cc (maybe_note_epochs_finished): If we're in source_role,
epochs can be finished even if the refiner says we still have some
to receive.
* refiner.cc (begin_refinement): Add logging.
2006-03-05 Richard Levitte <richard@levitte.org>
* po/fr.po: Add a translation guide, partly borrowed from
subversion, work on a translation update, partly done.
(this is done with Benoît's blessing)
2006-03-05 Richard Levitte <richard@levitte.org>
* commands.cc (CMD(tag)): "revision version" seems a bit
redundant.
* po/sv.po: change the translation accordingly.
2006-03-05 Nathaniel Smith <njs@pobox.com>
* monotone.texi (Hooks): Update merge2 and merge3 hook
documentation to reflect current reality.
2006-03-05 Graydon Hoare <graydon@pobox.com>
* basic_io.{cc,hh}: Change printer to use static string buf.
* {automate,cset,revision,roster,work}.cc: Update to match.
* xdelta.cc: Minor optimizations.
2006-03-05 Graydon Hoare <graydon@pobox.com>
* lru_cache.h: New file.
* AUTHORS: Mention Patrick.
* Makefile.am: Include file.
* basic_io.cc: Change uses of isxdigit, isalnum.
* botan/gzip.h: Reduce gzip to level 1.
* constants.cc (db_roster_cache_sz): Set to 7.
* database.cc: Use lru cache for vcache; add roster cache.
* hmac.cc: Instantiate "SHA-160" not "SHA-1"
(corrects lookup miss in botan's algorithm table).
* transforms.cc ({encode,decode}_hexenc): Specialize for idlen.
2006-03-05 Matthew Gregan <kinetik@orcon.net.nz>
* work.cc: Remove single quotes from the new adding, dropping, and
renaming messages to make them consistent with the existing update
message.
2006-03-04 Derek Scherger <derek@echologic.com>
* tests/t_revert_move_to_renamed_dir.at: new test for bug reported
by Thomas Keller
* testsuite.at: call it
2006-03-05 Richard Levitte <richard@levitte.org>
* po/sv.po: A few changes.
2006-03-03 Nathaniel Smith <njs@pobox.com>
* commands.cc (checkout): Oops, missed a format string
argument...
2006-03-03 Nathaniel Smith <njs@pobox.com>
* std_hooks.lua (merge3_xxdiff_cmd): Pass --exit-with-merge-status
so as to get a meaningful exit code.
2006-03-03 Nathaniel Smith <njs@pobox.com>
* commands.cc (update): Make plain update with multiple heads an
Error, not a Naughty.
(checkout): If a branch has multiple heads, list candidates, give
usage hint, and use Error instead of Naughty.
2006-03-31 Derek Scherger <derek@echologic.com>
* restrictions.cc (get_nodes, merge_states): remove;
(add_paths, add_nodes, map_paths, map_nodes): simplify after above
cleanup and removal of implicit includes;
* restrictions.hh: remove stale comments
2006-03-30 Derek Scherger <derek@echologic.com>
* commands.cc (status, ls_changed, commit, diff, revert): call
check_restricted_cset after make_restricted_csets
* restrictions.cc: remove implicit parents gunk and update
unit tests accordingly
* roster.{cc,hh} (check_restricted_cset): new function to issue a
nice message if required directories have been excluded
* tests/t_log_dir.at: un-XFAIL
2006-03-03 Derek Scherger <derek@echologic.com>
* restrictions.cc (check_for_missing_additions): new function
(remap_paths): make static
(get_base_roster_and_working_cset): call check_for_missing_additions
* tests/t_restriction_excludes_parent.at: un-XFAIL
2006-03-03 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* commands.cc: remove rdata, certs, fdata and fdelta commands
from user interface, and move them to
* automate.cc: the automate interface as packet_for_rdata,
packets_for_certs, packet_for_fdata, packet_for_fdelta
* tests/t_bad_packets.at: adapt for 0.26 and for the changes above
2006-03-02 Derek Scherger <derek@echologic.com>
testsuite.at: fix broken include of t_restriction_excludes_parent.at
2006-03-02 Derek Scherger <derek@echologic.com>
* app_state.{cc,hh} (restriction_requires_parent): remove
* restrictions.cc (restrict_cset): remove call to
restriction_requires_parent
* restrictions.hh: remove unused struct
* tests/t_persistent_server_keys.at: use unrestricted commit to
avoid parent exclusion
* tests/t_restriction_with_exclude.at: remove bogus check
* tests/t_restrictions.at: work around excluded parents
* tests/t_revert_new_project.at: un-XFAIL
* tests/t_subdirs.at: work around excluded parents
* tests/t_restriction_excludes_parent.at: new XFAIL test for restrictions
that exclude required parent dirs
* testsuite.at: call it
2006-03-02 Emile Snyder <emile@alumni.reed.edu>
add --unknown, when new files exist in new directories, would try
to add files multiple times.
* commands.cc (CMD(add)): Call perform_additions() with correct
new boolean flag val to determine whether it recurses on the paths
we hand it.
* work.{cc,hh} (perform_additions): Use boolean flag to indicate
whether the paths should be treated as a set of starting points
for recursively adding entries, or a fixed set of paths.
* tests/t_add.at: Test that we are not getting the warning
messages when adding new files in new directories.
2006-03-01 Benoît Dejean <benoit@placenet.org>
* po/fr.po: Updated French translation.
2006-03-01 Richard Levitte <richard@levitte.org>
* po/sv.po: One small translation change.
2006-03-01 Matthew Gregan <kinetik@orcon.net.nz>
* transforms.cc: Better use of appropriately typedefed types.
* transforms.cc: Don't assume wchar_t is wide enough to hold a
UCS-4 character.
* transforms.cc, transforms.hh: Add utf8_validate function and
some validity unit tests.
(system_to_utf8): Check that conversion has resulted in valid
UTF-8.
* paths.cc (file_path::file_path): Check that path is valid UTF-8.
2006-02-28 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_mt_ignore.at: Fix test on MinGW/Win32.
2006-02-28 Matt Johnston <matt@ucc.asn.au>
* commands.cc (CMD(merge)): don't say "misuse" if it's
just already merged.
2006-02-27 Benoît Dejean <benoit@placenet.org>
* netsync.cc: Fixed string surgery.
One more string for i18n.
2006-02-27 Richard Levitte <richard@levitte.org>
* po/sv.po: More translations.
2006-02-27 Timothy Brownawell <tbrownaw@gmail.com>
* netsync.cc: more logging
2006-02-27 Richard Levitte <richard@levitte.org>
* po/sv.po: Updated translation.
2006-02-26 Nathaniel Smith <njs@pobox.com>
* revision.cc (parse_revision): Prepare for the future by giving a
more user-friendly error message on unknown format_version
strings.
2006-02-27 Richard Levitte <richard@levitte.org>
* po/sv.po: Updated translations.
2006-02-26 Nathaniel Smith <njs@pobox.com>
* schema_migration.cc (migrate): Provide a little more feedback
during migration, so it doesn't look like it's taking minutes and
minutes just to "calculate necessary migration steps".
2006-02-26 Timothy Brownawell <tbrownaw@gmail.com>
Add a new command, merge_into_dir, to allow a project to include an
unrelated project as a subdir. Also add a show_conflicts command that
performs a dry-run merge and prints conflict counts.
* commands.cc: new commands, merge_into_dir and show_conflicts
* commands.cc (propagate): remove duplicated code; this now calls
merge_into_dir with a dir of '' (the empty string).
* monotone.texi: Document the new commands.
* tests/t_{merge_into_dir,show_conflicts}.at: Test the new commands.
* testsuite.at: Use the new tests.
* merge.{cc,hh}: Factor a store_roster_merge_result function out
of interactive_merge_and_store.
2006-02-26 Derek Scherger <derek@echologic.com>
* tests/t_log_dir.at: new XFAIL test of log restricted to a single
directory
* testsuite.at: call it
2006-02-27 Matt Johnston <matt@ucc.asn.au>
* monotone.cc, app_state.{cc,hh}, ...: print argv[0] when giving
usage of commands to run, rather than just "monotone"
2006-02-27 Matt Johnston <matt@ucc.asn.au>
* std_hooks.lua (ignore_file, dir_matches): add dir_matches helper
to avoid including ignored dirs such as '.svn', since dirs now
actually exist.
2006-02-26 Nathaniel Smith <njs@pobox.com>
* roster_merge.cc: Update notes on tests.
2006-02-25 Nathaniel Smith <njs@pobox.com>
* work.cc (attach_node): Apparently the tests depend on update
clobbering existing non-versioned files... and we don't have a
good solution _anyway_, so just go back to clobbering them.
2006-02-25 Nathaniel Smith <njs@pobox.com>
* cset.cc (root_dir_test, invalid_csets_test): Don't test that
root dir stuff fails. Test that it works.
2006-02-25 Nathaniel Smith <njs@pobox.com>
* roster.cc (detach_node): Add missing invariant.
2006-02-25 Nathaniel Smith <njs@pobox.com>
* roster_merge.cc (roster_merge): Fix strange merge-created
problem...
2006-02-25 Nathaniel Smith <njs@pobox.com>
* work.cc (attach_node): This code should use path_exists, not
file_exists.
2006-02-24 Timothy Brownawell <tbrownaw@gmail.com>
* netcmd.cc: Ignore protocol version field on usher_cmd packets. It
should now be possible to use an usher to redirect connections based
on netsync version.
* netcmd.hh: Remove unused netcmd::get_version() and
unused/unimplemented netcmd::netcmd(u8 version).
2006-02-24 Richard Levitte <richard@levitte.org>
* commands.cc (ls_changed): I was a bit overly paranoid about the
possibilities with C++ and defined an explicit functor for the set
instead of relying on the automatic generation of less<file_path>.
Derek Scherger made me realise I was a bit overzealous, and this
change removes the explicit functor.
2006-02-23 Matthew Gregan <kinetik@orcon.net.nz>
* enumerator.hh: Another GCC 4.1 compile fix.
* tests/t_log_selectors.at: UnXFAIL.
* commands.cc (complete): Refactor selector completion to enable
return of single or sets of completed revisions.
(CMD(log)): Do something sensible with selectors that return
multiple revisions.
* tests/t_log_selectors.at: XFAILed test for bug #15877.
* testsuite.at: Add it.
* app_state.cc, app_state.hh, commands.cc, monotone.cc,
options.hh: Revert failed UI experiment: reenable logging merges
by default and rename --merges back to --no-merges.
* contrib/color-logs.{conf,sh}, contrib/monotone-notify.pl,
contrib/monotone.el, tests/t_log_nofiles_nomerges.at,
testsuite.at: Handle --no-merges.
* monotone.texi: Document --no-merges.
2006-02-23 Matt Johnston <matt@ucc.asn.au>
* enumerator.{cc,hh}: avoid transferring deltas on both sides of merge
revisions, and prefer deltas to data when both are available.
See
https://savannah.nongnu.org/bugs/?func=detailitem&item_id=15846
2006-02-25 Derek Scherger <derek@echologic.com>
* automate.cc (automate_inventory):
* commands.cc (status, ls_known, find_unknown_and_ignored,
find_missing, ls_changed, commit, diff, revert, log):
* roster.cc (update_current_roster_from_filesystem): add app_state
to restriction constructors
* restrictions.{cc,hh}: add support for --depth option and ignored
files in restrictions to match old functionality; clean up
constructors a bit
* tests/t_automate_get_manifest_of.at: add format_version stanza
to test manifest
* tests/t_restrictions.at: re-enable --depth tests
2006-02-22 Derek Scherger <derek@echologic.com>
* automate.cc (automate_get_revision, automate_get_manifest_of):
merge fixups
* commands.cc (ls_changed): convert to new restrictions
(commit, update, revert):
* restrictions.cc:
* roster.cc: merge fixups
2006-02-20 Derek Scherger <derek@echologic.com>
* restrictions.{cc,hh}: attempt to simplify and remove duplication
2006-02-20 Derek Scherger <derek@echologic.com>
* commands.cc (status, ls_known, find_unknown_and_ignored,
find_missing, commit, diff, revert, log): add excludes to restrictions
* restrictions.{cc,hh}: preliminary support for excludes and unit
tests to see if it works
2006-02-13 Derek Scherger <derek@echologic.com>
* app_state.{cc,hh}:
* globis.{cc,hh}: make exclude_patterns a vector rather than a
set so that restriction includes/excludes are of the same type
2006-02-21 Nathaniel Smith <njs@pobox.com>
* work.cc (detach_node): This time for sure!
2006-02-21 Nathaniel Smith <njs@pobox.com>
* work.cc (detach_node): Oops, x != y != !(x == y).
2006-02-21 Nathaniel Smith <njs@pobox.com>
* roster_merge.cc: Fixup after merge.
2006-02-21 Nathaniel Smith <njs@pobox.com>
* work.cc (detach_node): Check if we are passed the root dir, and
error out if so.
2006-02-21 Matt Johnston <matt@ucc.asn.au>
* commands.cc (pid_file): newline-terminate the pid
2006-02-21 Richard Levitte <richard@levitte.org>
* contrib/usher.cc (server::set_hosts): Erasing the list node that
we're iterating on, then trying to go to the next node doesn't
work. Save the iterator, then increment it before erasing the
node using the saved value. No more segfaults.
2006-02-21 Matthew Gregan <kinetik@orcon.net.nz>
* sanity.hh: Work around roster_merge.cc compilation failure with
GCC 3.4.
2006-02-20 Richard Levitte <richard@levitte.org>
* monotone.cc (cpp_main), options.hh, ui.cc (redirect_log_to),
ui.hh (struct user_interface): Add --log option, to redirect the
log lines to a file.
* monotone.texi (OPTIONS): Document it.
* po/sv.po: Translate help for this option to Swedish.
* testsuite.at, tests/t_log_to_file.at: Test it.
2006-02-20 Matt Johnston <matt@ucc.asn.au>
* database.cc (remove_version): get rid of dangling deltas,
don't try to put data or deltas if they already exist.
* tests/t_db_kill_rev_locally_2.at: un-XFAIL
2006-02-20 Matthew Gregan <kinetik@orcon.net.nz>
* testsuite.at: Add an ADD_FILE variant that allows use of
alternate databases.
* tests/t_netsync_permissions.at: Missed some cases of the
database locking race.
2006-02-19 Nathaniel Smith <njs@pobox.com>
* ChangeLog: Fixup after xxdiff lossage.
2006-02-19 Nathaniel Smith <njs@pobox.com>
* roster_merge.cc (make_lifecycle_objs): Fix test bug.
2006-02-19 Matthew Gregan <kinetik@orcon.net.nz>
* testsuite.at: Add a REVERT_TO variant that allows use of
alternate databases.
* tests/t_netsync_permissions.at: Attempt to avoid a database
locking race in this test that is causing spurious failures by
using the new REVERT_TO variant to cause revert to be performed
using the "client" database.
2006-02-19 Nathaniel Smith <njs@pobox.com>
* roster.cc (shallow_equal): Publically expose.
* roster.cc, roster_merge.cc: Various compile fixes.
2006-02-19 Nathaniel Smith <njs@pobox.com>
* roster_merge.{hh,cc}: Make terminology more consistent.
"marking_map" type -> "markings" name, "marking_t" type ->
"marking" name.
2006-02-19 Nathaniel Smith <njs@pobox.com>
* roster.{hh,cc} (testing_node_id_source): Make this node source
available to unit tests in other files.
* roster_merge.cc (test_roster_merge_node_lifecycle): New test.
Still quite ugly.
2006-02-18 Nathaniel Smith <njs@pobox.com>
* roster_merge.cc (roster_merge): Remove obsolete FIXME.
2005-10-19 Matthew A. Nicholson <matt@matt-land.com>
* contrib/monotone.bash_completion: Update for 0.25.
2006-02-19 Matthew Gregan <kinetik@orcon.net.nz>
* cset.hh (struct editable_tree): Add commit() member function to
editable_tree.
* cset.cc (cset::apply_to): Call editable_tree::commit() after
applying any other changes.
* roster.hh, roster.cc: Empty implementation of
editable_roster_base::commit().
* work.hh, work.cc: Implementation of
editable_working_tree::commit() that ensures all detached nodes
have been reattached.
* work.hh (struct editable_working_tree): Add map for tracking
path name mappings across node detach operations.
* work.cc (editable_working_tree::detach_node): Insert path name
mappings into map.
(editable_working_tree::drop_detached_node,
editable_working_tree::attach_node): Report add/drop/rename
operations during workspace updates.
* lua.cc: Use the safer luaL_check* rather than lua_to* in
monotone_*_for_lua functions.
2006-02-18 Markus Schiltknecht <markus@bluegap.ch>
* tests/t_cvsimport_branch.at, testsuite.at: New XFAIL test for
cvs_import branch reconstruction.
2006-02-18 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_log_nofiles_merges.at: Add test for the log options
--no-files and --merges.
* testsuite.at: Add t_log_nofiles_merges.at.
2006-02-13 Nathaniel Smith <njs@pobox.com>
* roster_merge.cc (log_conflicts): Tweak string.
Add list of tests needed.
2006-02-13 Nathaniel Smith <njs@pobox.com>
* roster_merge.cc (is_clean): Simplify.
(add_roster_merge_tests):
* unit_tests.cc (init_unit_test_suite):
* unit_tests.hh (add_roster_merge_tests): Add unit test
boilerplate.
2006-02-18 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_db_kill_rev_locally_2.at: Add an XFAIL test for a
kill_rev_locally bug reported by Daniel Carosone.
* testsuite.at: Add t_db_kill_rev_locally_2.at.
* sqlite/parse.h: Regenerated parse.h from pristine SQLite 3.3.4
source. The version committed in the 3.3.4 import had a bunch of
duplicate entries.
* commands.cc (CMD(identify)): This isn't really a "workspace"
command--stick it under "debug" for lack of a better place.
* commands.cc (CMD(refresh_inodeprints)): Check for a valid
workspace rather than failing with an invariant when run outside
of a workspace.
* tests/t_revert_new_project.at: Add an XFAIL test for a bug where
reverting a file added in a new project will leave the workspace
in a bad state until MT/work is removed manually.
* testsuite.at: Add t_revert_new_project.at.
* app_state.cc, app_state.hh, commands.cc, monotone.cc,
options.hh: Add '--no-files' option to log to allow users to
exclude the list of files changed in each revision from the log
output.
* monotone.texi: Document '--no-files', and '--next' and '--diffs'
while there.
2006-02-17 Matthew Gregan <kinetik@orcon.net.nz>
* lua.cc, lua.hh, monotone.texi, std_hooks.lua, test_hooks.lua,
testsuite.at: Remove unused non_blocking_rng_ok hook.
* sqlite/*: Import SQLite 3.3.4.
2006-02-16 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* netsync.cc (handle_new_connection): Netxx::Address.get_name()
returns NULL every now and then. if so, continue with "" instead
* sqlite/parse.c: move #line under all #include directives so
the compiler can't be confused by it.
2006-02-14 Richard Levitte <richard@levitte.org>
* Makefile.am (htmldir): Add variables so monotone.html is created
and installed automatically.
This is prompted by debian/monotone.html, which indicates
monotone.html should be available.
* netsync.cc (serve_connections): Correct spelling.
2006-02-13 Matthew Gregan <kinetik@orcon.net.nz>
* sanity.cc (sanity::dump_buffer): Fix a SEGV when we're in an
error unwind and about to ask the user to mail us the crash
log--we must use FL() rather than F() here, since by the time this
is called we can't rely on the i18n infrastructure being alive.
2006-02-12 Nathaniel Smith <njs@pobox.com>
* netsync.cc (serve_connections): Revert garbage that I
accidentally checked in last time...
2006-02-12 Nathaniel Smith <njs@pobox.com>
* NEWS: Add things done since last time I did this...
2006-02-12 Matthew Gregan <kinetik@orcon.net.nz>
* {cset,paths,revision,roster,sanity,vocab}.{cc,hh}: GCC 4.1
compile fixes.
2006-02-11 Richard Levitte <richard@levitte.org>
* NEWS: Removed my notice about netsync, as I just noticed it
was already mentioned under Bugs:.
2006-02-11 Nathaniel Smith <njs@pobox.com>
* configure.ac, debian/changelog, monotone.spec:
* win32/monotone.iss: Bump version to 0.26pre2.
2006-02-11 Nathaniel Smith <njs@pobox.com>
* NEWS: Add mention of validate_commit_message.
2006-02-11 Blake Kaplan <mrbkap@gmail.com>
* monotone.texi (Hooks): Added new subsection about validation
hooks, and describe validate_commit_message in it.
* std_hooks.lua (validate_commit_message): Change the second
argument to match the documentation.
2006-02-11 Matt Johnston <matt@ucc.asn.au>
* database.hh: increase checkpoint batch size from 100 to 1000
2006-02-11 Matt Johnston <matt@ucc.asn.au>
* NEWS: Fix rename example.
2006-02-11 Richard Levitte <richard@levitte.org>
* NEWS: Update with the netsync change.
2006-02-11 Nathaniel Smith <njs@pobox.com>
* NEWS: Draft for 0.26pre2.
2006-02-11 Richard Levitte <richard@levitte.org>
* netsync.cc (serve_connections): Enclose more or less everything
in a try-catch block to catch if using IPv6 failed, and to try
with just IPv4 in that case. This is important for those who
copy a IPv6-enabled binary to a system that doesn't use IPv6.
* po/sv.po: Adapt translation to the newly changed messages.
2006-02-10 Derek Scherger <derek@echologic.com>
* tests/t_drop_missing.at:
* tests/t_rename.at:
* work.cc (visit_file): attempt to improve a couple of messages;
remove some unrequired \n's
2006-02-10 Derek Scherger <derek@echologic.com>
* netsync.cc (process_anonymous_cmd, process_auth_cmd): don't
report misleading permission denied errors for branches that are
not being served
* paths.cc (find_and_go_to_workspace): delete stale comment
* tests/t_netsync_permissions.at: add test pull of branch that is
not served
2006-02-11 Timothy Brownawell <tbrownaw@gmail.com>
Adding your db is silly and confusing (what should revert do?).
So, it's not allowed any more (the db file is ignored, regardless of
what the ignore hook says).
* tests/t_add_owndb.at: remove XFAIL, use 'ls known' instead of
'ls unknown'
* testsuite.at: don't put the db in the ignore hook
* database.{cc,hh}: is_dbfile(), check if a path is the database file
* work.cc: check is_dbfile where we check the ignore hook when
walking the filesystem
* tests/t_mt_ignore.at: fix for having the db always be ignored
2006-02-10 Richard Levitte <richard@levitte.org>
* monotone.texi (Hooks): Change the example for
get_revisions_cert_trust to check "branch" certs instead of
"ancestor" ones, and thereby match the effect of the "approve"
command.
2006-02-10 Matt Johnston <matt@ucc.asn.au>
* commands.cc (CMD(checkout)): wrapping in a transaction makes
a big difference.
2006-02-09 Nathaniel Smith <njs@pobox.com>
* Makefile.am (SQLITE_SOURCES): Remove header files lost in
latest SQLite upstream import.
2006-02-09 Graydon Hoare <graydon@pobox.com>
* lua.cc (hook_validate_commit_message): make validated the
default.
2006-02-09 Richard Levitte <richard@levitte.org>
* tests/t_cvsimport.at, tests/t_cvsimport3.at,
tests/t_cvsimport_deleted_invar.at,
tests/t_cvsimport_manifest_cycle.at, tests/t_cvsimport_samelog.at,
tests/t_singlecvs.at: Changed to cope with the strictness of
CVSNT. It doesn't create a CSVROOT/history file automagically,
but CVSROOT/modules is created automatically both by the older CVS
and by CVSNT. You can't check out a group of files using revision
numbers with CVSNT. You MUST stand in the work directory for some
command with CVSNT. Finally, with CVSNT, 'cvs init' generates the
following message if you're a normal user, at least on Debian:
cvs init: Unable to register repository.
cvs init: Your login may not have sufficient permissions to modify the
cvs init: global server settings.
cvs init: Repository /home/levitte/cvsfoo initialised
2006-02-09 Matthew Gregan <kinetik@orcon.net.nz>
* testsuite.at: Remove duplicate line.
2006-02-08 Matthew Gregan <kinetik@orcon.net.nz>
* sqlite/*: Import SQLite 3.3.3.
* Makefile.am: Adjust for new and removed files in import.
* NEWS: Make a note of the SQLite database format change.
* database.cc (database::load): Rewrite so that we don't need any
local changes to SQLite.
2006-02-08 Richard Levitte <richard@levitte.org>
* testsuite.at, tests/t_ls_changed.at: News test, for "list
changed".
* monotone.texi, monotone.1: Document "list changed".
* po/sv.po: Correct translations of changed messages, translate
new messages.
* commands.cc (ls_changed, CMD(list)): Add a new command, "list
changed", to list changed files, always sorted in lexical order.
2006-02-06 Blake Kaplan <mrbkap@gmail.com>
* commands.cc CMD(commit): Call a new lua hook to validate the commit
message. Don't ignore -m "" when it's passed on the command line.
* lua.cc, lua.hh: Add a new hook that validates a given commit message
and passes in the added files, deleted files, and modified files.
* std_hooks.lua: Give a default hook to validate commit messages. This
currently disallows empty messages, as monotone currently does.
2006-02-05 Benoît Dejean <benoit@placenet.org>
* ui.cc (tick_write_count::write_ticks): Reverted lexical_cast,
back to F().
2006-02-05 Benoît Dejean <benoit@placenet.org>
* ui.cc (tick_write_count::write_ticks): Fixed utf8 handling.
boost::format + locale sucks, it ouputs "1\u+ffff24" for
"%d" % 1024.
2006-02-02 Emile Snyder <emile@alumni.reed.edu>
* merge.cc (resolve_merge_conflicts): If the merge has non-content
conflicts warn the user and abort before making them do content
merges. Move logging/warning of conflicts to methods in the
roster_merge_result struct.
* roster_merge.{cc,hh} (log_conflicts,
warn_non_content_conflicts): New methods to do the busy work of
logging or warning.
2006-02-02 Emile Snyder <emile@alumni.reed.edu>
* netsync.cc (run_netsync_protocol): Print a warning if either the
include or the exclude branch pattern have a ' or a " character
anywhere in them. Hopefully will help users running in a Windows
shell when they do: monotone sync myserver 'mybranch*' and nothing
happens because the ' characters are passed in to monotone.
2005-01-30 Emile Snyder <emile@alumni.reed.edu>
* annotate.cc: (do_annotate) Add ticker for revisions processed to
annotate command.
2006-01-29 Richard Levitte <richard@levitte.org>
* po/sv.po: Update a few translations, leave a number of fuzzy
ones until we've decided how "workspace" should be translated.
2006-01-27 Matthew Gregan <kinetik@orcon.net.nz>
* *: Use the term 'workspace' consistently throughout monotone for
the concept we previously described interchangably using the two
terms 'working copy' and 'working directory'. This change has
been made everywhere except in historical documentation (NEWS and
ChangeLog).
2006-01-27 Richard Levitte <richard@levitte.org>
* monotone.texi (Generating Keys): Correct small type, the keys
are not stored in /home/jim/.monotone/monotonerc.
2006-01-26 Derek Scherger <derek@echologic.com>
* app_state.{cc,hh}:
* commands.cc (log):
* monotone.cc:
* options.hh: allow --next to view upcoming changes
* tests/t_log_depth.at: rename to ...
* tests/t_log_last_next.at: ... this since log now uses
--last/--next and not --depth
* testsuite.at: rename t_log_depth.at to t_log_last_next.at
2006-01-27 Matthew Gregan <kinetik@orcon.net.nz>
* monotone.texi: Clean up 'serve' syntax in a couple of places.
2006-01-26 Nathaniel Smith <njs@pobox.com>
* monotone.texi (Generating Keys, Network Service Revisited):
Clean up some key-related stuff -- genkey doesn't need a db, so
don't confuse the reader by giving it one, and update the sample
output too.
2006-01-27 Stéphane Gimenez <dev@gim.name>
* sanity.hh: fix scoping issue revealed by gcc-4.1.
2006-01-26 Richard Levitte <richard@levitte.org>
* po/sv.po: One more translation.
2006-01-25 Matthew Gregan <kinetik@orcon.net.nz>
* netsync.cc (session::rebuild_merkle_trees): Ticker header
consistency tweak.
2005-01-25 Matt Johnston <matt@ucc.asn.au>
* HACKING: add some notes about compiling - precompiled headers,
-O0, and ccache.
* INSTALL: mention --enable-pch
2006-01-25 Richard Levitte <richard@levitte.org>
* po/sv.po: Fix all fuzzy translations (some needed no fix).
Translate the last untranslated ones.
2005-01-24 Timothy Brownawell <tbrownaw@gmail.com>
Make a netsync client crash not hang the testsuite.
* tests/t_netsync_single.at: use netsync macros
* testsuite.at: Make NETSYNC_SETUP set a trap on exit to kill
any servers.
2005-01-24 Timothy Brownawell <tbrownaw@gmail.com>
* commands.cc (update): Remove fixme comment.
2005-01-24 Timothy Brownawell <tbrownaw@gmail.com>
* commands.cc (update): Allow backwards/sideways updates.
tests/t_update_to_revision.at: remove XFAIL
2006-01-23 Nathaniel Smith <njs@pobox.com>
* database.{cc,hh}: Clean up code formatting a bit, rename some
variables, rely more on automatic conversion.
2006-01-24 Vinzenz Feenstra <evilissimo@c-plusplus.de>
* query_args.hh: Introduced struct query_args and struct
query_args_param. Used to typesafe arguments for database::execute
and database::fetch
* database.cc/.hh: Adjusted database to the new fetch and execute
argument style via operator% which is more typesafe.
2006-01-23 Nathaniel Smith <njs@pobox.com>
* database.cc (assert_sqlite3_ok): Improve the hint message given
for SQLITE_ERROR's.
2006-01-23 Timothy Brownawell <tbrownaw@gmail.com>
* tests/t_database_check_normalized.at: update included database to
use rosters
2006-01-23 Timothy Brownawell <tbrownaw@gmail.com>
New ChangeLog utilities in contrib/ .
* contrib/ChangeLog.sh: Script that takes the date, author, and
changelog certs from the last n revisions and prints them in standard
ChangeLog format.
* contrib/edit_comment_from_changelog.lua: an edit_comment hook that
takes the initial commit message from the most recent ChangeLog entry
2006-01-23 Henry Nestler <henry@bigfoot.de>
* monotone.texi, monotone.1: Mode none for --ticker.
2006-01-23 Nathaniel Smith <njs@pobox.com>
* commands.cc (update): Hopefully improve wording of help a bit.
2006-01-21 Nathaniel Smith <njs@pobox.com>
* netcmd.cc (read): Expand the error message we issue on protocol
version mismatch to be a bit more informative.
2006-01-21 Matthew Gregan <kinetik@orcon.net.nz>
* configure.ac: Fix up Windows and IPv6 tests after the change
from AC_TRY_RUN to AC_TRY_COMPILE. Also a couple of other minor
cleanups.
* Makefile.am: Remove win32/wcwidth.c from WIN32_PLATFORM_SOURCES.
2006-01-21 Timothy Brownawell <tbrownaw@gmail.com>
* tests/t_db_execute.at: Play with the files table instead of the
revisions table, so we don't trigger the has-revisions-but-no-rosters
check.
2006-01-21 Richard Levitte <richard@levitte.org>
* po/sv.po: Sort the translation guidelines a little more.
2006-01-21 Joel Rosdahl <joel@rosdahl.net>
* po/sv.po: Corrections in translation guidelines.
2006-01-21 Joel Rosdahl <joel@rosdahl.net>
* AUTHORS: Added myself as a translation contributor.
* po/sv.po: Second round of review of Swedish translation.
2006-01-20 Richard Levitte <richard@levitte.org>
* po/sv.po: Added a \n at the end of a msgstr that was missing
it.
2006-01-20 Joel Rosdahl <joel@rosdahl.net>
* po/sv.po: Review and suggested corrections of Swedish
translation.
2006-01-20 Timothy Brownawell <tbrownaw@gmail.com>
* netsync.cc: Make our sockets non-blocking.
2006-01-20 Matt Johnston <matt@ucc.asn.au>
* commands.cc CMD(setup): default to current dir
* monotone.texi: update
* t_setup_existing_path.at: add test
2006-01-19 Emile Snyder <emile@alumni.reed.edu>
Add a --brief mode to the annotate command which prints more
informative annotations rather than just the raw revision ids.
* commands.cc (CMD(annotate)): Add --brief option to the annotate
command and remove obsolete comment lines.
* annotate.cc (dump): Pass in app_state to allow access to db for
cert lookups on revisions. Honor new --brief
flag by printing <short id>.. by <author> <date>: as the
annotation rather than the raw revision id, and only printing the
annotation for the first line of each block of lines from the same
revision.
(cert_string_value): Given a set of certs from a revision, a cert
name, and some detail of what part of the value we want, find and
return that part of the cert.
(build_revisions_to_annotations): After we finish with the
annotations pass, build up a mapping of revision id to annotation
string.
* monotone.texi: Add --brief flag and description to the annotate
section of the command reference.
2006-01-19 Matt Johnston <matt@ucc.asn.au>
* work.{cc,hh}, commands.cc: add "rename src1 [src2 ...] dst/"
syntax.
* monotone.texi: update
* testsuite.at, tests/t_rename_destdir: new test (is incomplete).
* tests/t_no_rename_overwrite.at: syntax should now succeed.
* vocab.cc: add hexenc<id> dump() instantiation.
2006-01-19 Matt Johnston <matt@ucc.asn.au>
* HACKING: escape the colon in the cino vim modeline option.
2006-01-19 Nathaniel Smith <njs@pobox.com>
* database.cc (check_format): Small cleanups to previous change.
2006-01-19 Nathaniel Smith <njs@pobox.com>
Fix bug reported by Henry Nestler, where 'serve' did not detect
that the user had not run 'db rosterify'.
* database.cc (check_rosterified): Rename to...
(check_format): ...this. Detect unchangesetified dbs too.
(sql, ensure_open_for_format_changes, get_roster_id_for_revision):
* revision.cc (build_roster_style_revs_from_manifest_style_revs)
(build_changesets_from_manifest_ancestry): Adjust accordingly.
* tests/t_check_db_format.at, testsuite.at: New test.
2005-01-18 Timothy Brownawell <tbrownaw@gmail.com>
* tests/t_lua_privkey.at: Remove; this tests a hook that was removed.
* testsuite: adjust accordingly
2006-01-19 Matthew Gregan <kinetik@orcon.net.nz>
* keys.cc (get_passphrase): Update std::map correctly--remove
existing cached passphrase for a given keyid, then store the new
one using safe_insert().
(make_signature): Fix crash when running monotone with persistent
passphrases disallowed--remove shared_ptr that was going out of
scope too early, and shadowed and existing shared_ptr in the
correct scope.
* tests/t_no_persist_phrase.at: New test to check that basic no
persistent passphrase functionality works.
* testsuite.at: Include new test.
2006-01-18 Timothy Brownawell <tbrownaw@gmail.com>
* merkle_tree.{cc,hh}: Add a locate_item() function to find the
node and slot in a merkle_table that a given item is in.
* refiner.cc (refiner::process_refinement_command): If they have
a leaf and we have a subtree then if their leaf is in our subtree,
we need to tell them.
2006-01-18 Nathaniel Smith <njs@pobox.com>
* configure.ac: Remove some dead comments.
2006-01-18 Nathaniel Smith <njs@pobox.com>
* configure.ac: s/TRY_RUN/TRY_COMPILE/ a few places, for general
cleanliness.
2006-01-18 Richard Levitte <richard@levitte.org>
* po/sv.po: Better translation of "branch". Inspired from
subversion.
2006-01-18 Nathaniel Smith <njs@pobox.com>
* database.cc (begin_transaction): Turn an E() into an I().
2006-01-15 Richard Levitte <richard@levitte.org>
* po/sv.po: Almost all translations done. I've left a few for
lack of inspiration. Someone, PLEASE REVIEW!
2006-01-15 Nathaniel Smith <njs@pobox.com>
* AUTHORS: Add Richard as a translator.
2006-01-15 Nathaniel Smith <njs@pobox.com>
* roster.cc (union_corpses): New function.
(unify_roster_oneway, unify_rosters): Remove unused new_ids
argument. Add call to union_corpses. Add big comment explaining
what's going on.
(test_unify_rosters_end_to_end_ids)
(test_unify_rosters_end_to_end_attr_corpses): Split and improve
tests.
2006-01-15 Richard Levitte <richard@levitte.org>
* po/sv.po: More translations done.
2006-01-15 Richard Levitte <richard@levitte.org>
* LINGUAS: Change sv_SE to just sv.
* po/sv_SE.po: Rename ...
* po/sv.po: ... to this, as there aren't so many dialects. Update
with more strings to translate.
* std_hooks.lua: xgettext whines about a missing quote, so add
one.
2006-01-15 Nathaniel Smith <njs@pobox.com>
* roster.cc (test_unify_rosters_end_to_end): Add failing test for
unify_roster's handling of attr corpses.
2006-01-15 Nathaniel Smith <njs@pobox.com>
* cert.cc (load_key_pair):
* keys.cc (require_password): Use accessor method, so as to
actually compile...
2006-01-15 Matt Johnston <matt@ucc.asn.au>
* ui.cc: make tickers saner (203 K vs 0.2 M).
Print full byte counts below 1 K.
2006-01-14 Nathaniel Smith <njs@pobox.com>
* lua.cc (hook_get_key_pair): Remove.
* keys.cc (require_password): Adjust accordingly.
* cert.cc (priv_key_exists, load_key_pair): Likewise.
2006-01-14 Christof Petig <christof@petig-baender.de>
* database.cc, database.h: binary transparent infrastructure,
store and retrieve former base64 encoded columns as BLOBs
* schema_migration.cc: unbase64 changed columns, change comment
on files.data which indicates a different database format
* schema.sql: change comment on file which indicates, that
files.data is no longer base64 encoded
2006-01-14 Richard Levitte <richard@levitte.org>
* configure.ac: Make sure there's an empty xgettext.opts
when xgettext accepts --flag. This avoids getting an error
message later on when cat can't find it to append to
po/Makefile.in.
* po/LINGUAS, po/sv_SE.po: New Swedish translation. Needs
reviewing at this stage.
2006-01-13 Richard Levitte <richard@levitte.org>
* monotone-notify.pl: Make it possible for the user to say what
the monotone binary is called or where it is. Adapt to revision
output changes and to changes in the monotone UI.
2006-01-12 Nathaniel Smith <njs@pobox.com>
* po/Makevars (XGETTEXT_OPTIONS): This time for sure!
2006-01-13 Nathaniel Smith <njs@pobox.com>
* database.cc (check_rosterified): Clarify message emitted when db
has not been rosterified.
2006-01-12 Nathaniel Smith <njs@pobox.com>
* po/Makevars (XGETTEXT_OPTIONS): More fiddling to make
intltool-update happy.
2006-01-13 Bruce Stephans <monotone@cenderis.demon.co.uk>
* lua.cc (shared_trust_function_body): Index lua arrays
from 1, not 0.
2006-01-12 Nathaniel Smith <njs@pobox.com>
* sanity.cc (dump_buffer): Add forgotten newline.
2006-01-12 Nathaniel Smith <njs@pobox.com>
* roster.cc (make_roster_for_merge): Add more MM()'s.
2006-01-12 Matthew Gregan <kinetik@orcon.net.nz>
* contrib/{color-logs.{conf,sh},monotone.el}: Changes to handle
renaming of --no-merges.
* app_state.{cc,hh}, commands.cc, monotone.cc, options.hh: Make
'log' default to not displaying merges. Rename '--no-merges'
option to '--merges'.
2006-01-11 Nathaniel Smith <njs@pobox.com>
* commands.cc (diff): gettext'ify the "no changes" tag.
2006-01-11 Richard Levitte <richard@levitte.org>
* Makefile.am: Add contrib/usher as an extra program. This works
as a reminder that this program exists, and provides supported
ways to build it.
* contrib/usher.cc: Add a -m switch, to be able to specify the
name or complete path of/to the monotone binary, in case there
are several floating around on the system.
2006-01-11 Matt Johnston <matt@ucc.asn.au>
* Makefile.am: pch.hh should be included
2006-01-11 Nathaniel Smith <njs@pobox.com>
* sanity.hh (struct i18n_format): Make internationalized format
strings and non-internationalized format strings type-distinct.
(This hopefully sets up for fixing some of the charset mess later
down the road.)
(FL): New macro; like F but without the i18n glue.
Use FL with L, and F/FP with everything else.
* *.hh, *.cc: Adjust existing F/L/etc. usage accordingly.
2006-01-11 Nathaniel Smith <njs@pobox.com>
* HACKING: Add section listing all the single-character macros.
2006-01-11 Nathaniel Smith <njs@pobox.com>
* database.cc (fetch): Don't log all SQL unless requested by
user.
2006-01-11 Nathaniel Smith <njs@pobox.com>
* po/Makevars (XGETTEXT_OPTIONS):
* configure.ac: Tweak xgettext configuration to make intltool
happier.
2006-01-11 Nathaniel Smith <njs@pobox.com>
* netsync.cc (process_confirm_cmd): Remove.
2006-01-11 Matthew Gregan <kinetik@orcon.net.nz>
* platform.hh, win32/wcwidth.c: Remove local wcswidth
implementation--it's no longer needed.
2006-01-10 Derek Scherger <derek@echologic.com>
* tests/t_revert_unchanged.at: new test to check that reverting
nothing but unchanged files doesn't end up with an empty
restriction and revert everything
* testsuite.at: call it
2006-01-10 Nathaniel Smith <njs@pobox.com>
* packet.cc (packet_roundabout_test): Test rdata packets too.
2006-01-10 Nathaniel Smith <njs@pobox.com>
* netsync.cc (session):
* commands.cc (read): Adjust to match previous change.
2006-01-10 Nathaniel Smith <njs@pobox.com>
* packet.{hh,cc} (struct packet_db_writer): Remove old guard
against accidentally ingesting public keys -- this has not been
useful for some years.
2006-01-10 Nathaniel Smith <njs@pobox.com>
* diff_patch.hh (struct content_merger): Oops, forgot to remove
the merge2 prototype.
2006-01-10 Nathaniel Smith <njs@pobox.com>
* std_hooks.lua:
* lua.cc (hook_merge2):
* diff_patch.cc (try_to_merge_files): Remove merge2 code, since we
no longer do merge2's. (We can always revive it if we add suture
support.)
2006-01-10 Nathaniel Smith <njs@pobox.com>
* packet.cc (consume_file_delta): Remove unused 4-argument form.
2006-01-10 Nathaniel Smith <njs@pobox.com>
* lua.{cc,hh} (hook_resolve_file_conflict)
(hook_resolve_dir_conflict): Remove dead code.
2006-01-10 Nathaniel Smith <njs@pobox.com>
* tests/t_selectors_b_h.at, testsuite.at: New test.
2006-01-10 Nathaniel Smith <njs@pobox.com>
* database.cc (manifest_cert_exists, put_manifest_cert):
(get_manifest_cert, get_manifest_certs): Remove unused methods.
2006-01-10 Nathaniel Smith <njs@pobox.com>
* database.cc (put_reverse_version, put_file_reverse_version):
Whoops, missed some dead code.
2006-01-10 Nathaniel Smith <njs@pobox.com>
* revision.cc (build_roster_style_revs_from_manifest_style_revs):
Remove unused variable; silence gcc warning.
2006-01-10 Nathaniel Smith <njs@pobox.com>
* packet.cc (consume_file_reverse_delta)
(struct feed_packet_consumer): Remove support for nonexistent
"frdelta" packet type.
* database.{hh,cc} (put_reverse_version)
(put_file_reverse_version): Remove unused methods.
* key_store.cc (struct keyreader): Remove obsolete methods.
2006-01-10 Nathaniel Smith <njs@pobox.com>
* database.cc (set_filename): Simplify slightly.
(delta_exists): Remove unused 3-argument version.
2006-01-10 Nathaniel Smith <njs@pobox.com>
* commands.cc (reindex): Remove.
* database.cc (database::rehash): Likewise.
2006-01-10 Nathaniel Smith <njs@pobox.com>
* change_set.{cc,hh}: Remove.
2006-01-10 Nathaniel Smith <njs@pobox.com>
* contrib/ciabot_monotone.py (Monotone.get_revision): Update to
use 'automate get_revision' instead of 'cat revision'.
2006-01-10 Richard Levitte <richard@levitte.org>
* lua.cc (monotone_parse_basic_io_for_lua): Don't trust the
returned value from lua_tostring() to stick around. Instead, copy
it into a regular std::string.
* std_hooks.lua (get_netsync_read_permissions,
get_netsync_write_permissions): Make sure to properly close the
permission files.
2006-01-09 Richard Levitte <richard@levitte.org>
* contrib/usher.cc, monotone.1, monotone.cc, po/fr.po, po/ja.po,
po/pt_BR.po, testsuite.at: Change the default port from 5253 to
4691 (assigned to us by IANA).
2006-01-07 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* schema_migration.cc: add safe-guard against passing a null pointer
into string handling. (necessary with sun studio)
2006-01-05 Derek Scherger <derek@echologic.com>
* app_state.{cc,hh} (set_restriction): remove "respect_ignore"
flag and don't complain about ignored files
* commands.cc (status, list, diff): allow --exclude option for
restrictions
* restrictions.hh: add a comment about restricted command
consistency
* tests/t_restricted_commands_consistent.at: new test to give that
bark some bite
* testsuite.at: call it
2005-12-29 Nathaniel Smith <njs@pobox.com>
* NEWS: Write up for 0.25.
2005-12-29 Matthew Gregan <kinetik@orcon.net.nz>
* sqlite/{pager.c,sqlite3.h}: Upgrade to SQLite 3.2.8.
2005-12-29 Nathaniel Smith <njs@pobox.com>
* NEWS: Notes on what to write up for 0.25.
* win32/monotone.iss, monotone.spec, debian/changelog:
* configure.ac, UPGRADE: Bump.
2005-12-26 Matt Johnston <matt@ucc.asn.au>
* commands.cc (CMD(revert)): revert with no args prints usage,
mention "." for entire working copy.
2005-12-21 Matt Johnston <matt@ucc.asn.au>
* commands.cc (dump_difs, CMD(log)): only print --diffs for the file
of interest.
2005-12-21 Matthew Gregan <kinetik@orcon.net.nz>
* botan/es_capi.{cpp,h}: Windows compile fixes for Botan 1.4.10.
2005-12-21 Matt Johnston <matt@ucc.asn.au>
* upgrade to Botan 1.4.10
2005-12-20 Daniel Carosone <dan@geek.com.au>
* monotone.texi: Rearrange the description of monotone serve into
two sections; the first one describing basic steps necessary to
get Jim and the reader through to the next sections, and a later
more advanced section that discusses some of the subleties and
choices and moves them on to running a dedicated server. Other
small tweaks in nearby sections while here.
2005-12-18 Graydon Hoare <graydon@pobox.com>
* AUTHORS: Add Roland.
2005-12-17 Roland McGrath <roland@redhat.com>
* work.hh (struct file_itemizer): Remove extraneous qualifier on
visit_file declaration.
* app_state.hh (class app_state): Remove extraneous qualifier on
set_restriction declaration.
2005-12-14 Matthew Gregan <kinetik@orcon.net.nz>
* win32/fs.cc: Handle the fact that the MoveFileEx symbol might
exist in kernel32.dll even though it doesn't actually work. It
turns out that Win9x implements a bunch of NT-only symbols as
stubs that return ERROR_CALL_NOT_IMPLEMENTED, so it's not
sufficient to detect feature availability by doing symbol lookups
at runtime. Also add a missing parameter to the final error
message. Fixes #15063.
2005-12-13 Derek Scherger <derek@echologic.com>
* commands.cc (update): remove \n from F() string
(revert): display "reverting..." messages similar to update
* tests/t_revert.at: allow output from revert
2005-12-13 Matthew Gregan <kinetik@orcon.net.nz>
* testsuite.at: Use SIGTERM rather than SIGSEGV to close down
monotone servers.
* HACKING, tests/README: Remove references to use of SEGV for
terminating monotone servers.
2005-12-13 Timothy Brownawell <tbrownaw@gmail.com>
* constants.cc: New netsync is incompatible, bump protocol version.
* constants.hh: Change default port to the one IANA assigned us.
2005-12-10 Timothy Brownawell <tbrownaw@gmail.com>
* roster.cc (make_roster_for_merge): unshadow the node_id_source
argument. Resolve usages to the argument or the local by educated guess.
2005-12-10 Timothy Brownawell <tbrownaw@gmail.com>
* paths.{cc,hh}: operator<() for split_path's
2005-12-10 Timothy Brownawell <tbrownaw@gmail.com>
* sanity.{cc,hh}: Fix musing dumps so that the header line always gets
printed, even if printing the body throws an exception.
* database.cc, packet,cc, revision.cc: sprinkle MMs
* cset.cc: sanity check print_cset to match parse_cset
2005-12-08 Matthew Gregan <kinetik@orcon.net.nz>
* po/pt_BR.po: Add missing newline.
* AUTHORS: Add Alex Queiroz to list of translators.
2005-12-08 Alex Queiroz <asandroq@gmail.com>
* po/pt_BR.po: Beginnings of the Brazilian Portuguese translation.
* po/LINGUAS: Add it.
2005-12-06 Timothy Brownawell <tbrownaw@gmail.com>
* packet.cc (packet stream reading): Fix handling of privkey packets.
It would convert pubkey+privkey to keypair, but not change the private
key to the new encryption type. Now uses migrate_private_key to
convert privkey->keypair. Reading privkey packets from stdin only works
if the get_passphrase hook is defined for that key.
Fix packet_roundabout_test; the send+receive part was using an empty
stream, rather than the packet sequence generated in the first part.
* packet.hh, commands.cc, key_store.cc: read_packets now takes an
app_state argument.
* tests/t_dropkey_2.at: use genkey instead of reading packets
* tests/t_read_privkey.at: check that reading a privkey packet works
* testsuite.at: add read_privkey test
2005-12-06 Matthew Gregan <kinetik@orcon.net.nz>
* ui.cc (write_ticks): Move CR out of tickline2; output it where
required instead. Fixes brokeness of 'count' ticker on Win32 (and
perhaps elsewhere) that was causing each line redraw to be written
on a new line.
* contrib/usher.cc (fork_server): Avoid getting stuck in an
infinte loop attempting to read() from a stream that has
reached EOF before we've read anything from it. This can occur if
the fork()+exec() of an usher managed monotone server fails.
* ui.cc (write_ticks): Don't call display_width() repeatedly for
the same string--get the result once and reuse it where necessary.
* netxx/sockopt.cxx, netxx/sockopt.h (set_ipv6_listen_for_v6_only):
New member function to set the IPV6_V6ONLY flag on a socket.
* netxx/serverbase.cxx (bind_to): Call set_ipv6_listen_for_v6_only
on IPv6 sockets.
* app_state.cc (allow_working_copy): Use keydir path from
MT/options if set.
2005-12-05 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_database_sig_cleanup.at: Mark this as NOT_ON_WIN32; as
per the MSDN link I've added to the test, we can't handle
SIGINT/SIGTERM gracefully on Windows.
2005-12-04 Nathaniel Smith <njs@pobox.com>
* paths.cc (file_path): MM() the path we're validating.
2005-12-04 Nathaniel Smith <njs@pobox.com>
* schema_migration.cc: Modernize error checking a bit. (Use E()
and I() instead of throwing runtime_errors.)
2005-12-03 Nathaniel Smith <njs@pobox.com>
* sanity.cc (dump_buffer): If we dumped debug info, write out a
note asking that it be included in bug reports.
2005-12-03 Nathaniel Smith <njs@pobox.com>
* schema_migration.cc (logged_sqlite3_exec): New function.
Use everywhere in this file. Enables logging of migration
commands for debugging purposes.
2005-12-03 Nathaniel Smith <njs@pobox.com>
* tests/t_mixed_case_pwd.at, testsuite.at: New test.
2005-12-02 Matthew Gregan <kinetik@orcon.net.nz>
* Makefile.am: Make Win32 build link against shfolder.lib to get
SHGetFolderPathA on older Windows platforms (we had previously
been relying on it to be available in shell32.lib) .
* packet.cc (feed_packet_consumer::feed_packet_consumer,
extract_packets): Move duplicated sets of regexs for key IDs,
certs, etc. into constants.cc.
* constants.{cc,hh}: Add regex strings extracted from packet.cc. Also
fix the key ID regex to accept a few characters we allowed in
legal_key_name_bytes already.
* tests/t_genkey.at: Test good and bad keys with all characters we
allow in the user portion of a key id.
2005-12-01 Matthew Gregan <kinetik@orcon.net.nz>
* database.cc: Revert last change; db version and db migrate need
to be able to open databases with old schema versions. Calling
sql() directly broke this. Moved a db existence check scattered
through the code into db_check_exists(), and added calls to this
into ::version and ::migrate.
* database.cc (database::version, database::migrate): Improve
error handling where user has supplied the path to a non-existant
database file. Submitted by Neil Conway.
* win32/fs.cc (rename_clobberingly_impl): Improve error handling
around LoadLibrary call.
* lua/{lvm.c,lgc.c,lapi.c}: Lua post-5.0.2 bugfixes from
http://www.lua.org/bugs.html. Submitted by Alex Queiroz.
2005-11-29 Matt Johnston <matt@ucc.asn.au>
* Makefile.am: add PCH_FLAGS only when compiling monotone and
unit_tests objects, not for libs.
* pch.hh: define __STDC_CONSTANT_MACROS as required for UINT32_C.
2005-11-28 Nathaniel Smith <njs@pobox.com>
* txt2c.cc (main): Work correctly even on empty files.
2005-11-28 Nathaniel Smith <njs@pobox.com>
* schema_migration.cc: Provide more feedback while 'db migrate' is
running.
2005-11-28 Matthew Gregan <kinetik@orcon.net.nz>
* HACKING: Make a note of the fact that we kill 'monotone serve'
processes with a SIGSEGV.
* tests/README: Minor cleanup, mention SIGSEGV thing here too.
2005-11-27 Nathaniel Smith <njs@pobox.com>
* std_hooks.lua: Make regexp matching error slightly more
user-friendly.
2005-11-27 Nathaniel Smith <njs@pobox.com>
* commands.cc (diff): Remove OPT_BRANCH from diff's options.
2005-11-27 Julio M. Merino Vidal <jmmv@NetBSD.org>
* configure.ac: Do not use test's == operator because it is not
compatible with many implementations; use = instead.
2005-11-27 Julio M. Merino Vidal <jmmv@NetBSD.org>
* configure.ac, ui.cc: Windows does have sync_with_iostream; the
problem is that it does not behave correctly on some MinGW versions.
Properly detect this condition. Thanks to Matthew Gregan for the
explanation.
2005-11-27 Matthew Gregan <kinetik@orcon.net.nz>
* netxx/address.cxx (parse_uri): Reset URI parser state after
checking for IPv6 address.
2005-11-27 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_netsync_largish_file.at: Move LARGISH_FILE_CREATE
definition from here...
* testsuite.at: ...to here.
* tests/t_dump_load.at: Use LARGISH_FILE_CREATE to create a 1MB
file so that the db dump output is larger than a few kB. This is
needed to catch the iostreams-returning-EOF-early bogosity under
MinGW when sync_with_stdio(false) has been called on the iostream.
2005-11-27 Nathaniel Smith <njs@pobox.com>
* monotone.cc: Include "i18n.h" instead of "libintl.h" directly,
to theoretically play better with autoconf stuff.
2005-11-27 Julio M. Merino Vidal <jmmv@NetBSD.org>
* tests/t_automate_stdio.at: Don't expect perl to be in /usr/bin;
this assumption doesn't hold breaks on several systems (such as
NetBSD).
2005-11-27 Julio M. Merino Vidal <jmmv@NetBSD.org>
* tests/t_checkout_options.at: Use the [] operator instead of {} in
a shell pattern so that it works with interpreters other than bash
(e.g., NetBSD's sh).
2005-11-27 Julio M. Merino Vidal <jmmv@NetBSD.org>
* testsuite.at, tests/t_empty_env.at, tests/t_i18n_file.at,
tests/t_netsync_sigpipe.at, tests/t_update_1.at, tests/t_update_2.at:
Do not use test's == operator because it is not portable; use =
instead.
2005-11-27 Matt Johnston <matt@ucc.asn.au>
* Makefile.am, configure.ac, pch.hh: add --enable-pch configure
flag to enable precompiled boost headers. Based on LyX automake/autoconf
rules, Zbynek Winkler suggested that just boost headers would be
beneficial.
2005-11-27 Julio M. Merino Vidal <jmmv@NetBSD.org>
* app_state.cc: No need to include headers for chdir() any more.
This function was replaced by change_current_working_dir.
* monotone.cc: Unconditionally include libintl.h as this file uses
gettext functions.
* configure.ac, rcs_import.cc: Check for strptime(3) and use the
check results instead of assuming that only Windows lacks this
function.
* configure.ac, ui.cc: Check whether C++ streams support the
sync_with_stdio method and use the check results instead of assuming
that only Windows lacks this function.
Addresses part of bug #12086.
2005-11-27 Julio M. Merino Vidal <jmmv@NetBSD.org>
* app_state.cc: Correctly detect when MT/options does not have a
database property instead of printing the cryptic message "misuse:
invalid path ''".
2005-11-27 Grahame Bowland <grahame@angrygoats.net>
* configure.ac: expose --enable-ipv6 in config.h
* monotone.cc (cpp_main): parse IPv6 addresses correctly
in --bind arguments
* netsync.cc (call_server,serve_connections): if USE_IPV6 defined,
create netxx Address instances with ipv6 enabled.
* netxx/address.cxx (parse_uri): parse IPv6 addresses as hostnames
* closes bug #14446
2005-11-27 Grahame Bowland <grahame@angrygoats.net>
* automate.cc (automate_stdio_read): remove check for EINTR
that was breaking win32 build.
2005-11-27 Grahame Bowland <grahame@angrygoats.net>
* automate.cc (automate_certs,automate_keys): use non-exclusive
transaction guard
* commands.cc (ls_certs,ls_keys,cat): use non-exclusive
transaction guard
* database.cc (begin_transaction): used BEGIN DEFERRED (only attempt
exclusive lock once a write is attempted on DB) when not exclusive
(transaction_guard::transaction_guard): new argument exclusive indicating
whether an immediate exclusive lock is requested, defaults to true
* database.hh: update prototype for transaction_guard
2005-11-26 Nathaniel Smith <njs@pobox.com>
* NEWS: Fill in date for 0.24 release.
2005-11-26 Nathaniel Smith <njs@pobox.com>
* UPGRADE: Add note about serve changing syntax.
2005-11-26 Nathaniel Smith <njs@pobox.com>
* UPGRADE: Update for 0.24.
* configure.ac, win32/monotone.iss, monotone.spec:
* debian/changelog: Bump version number.
2005-11-26 Nathaniel Smith <njs@pobox.com>
* ChangeLog: fixup after merge.
2005-11-27 Daniel Carosone <dan@geek.com.au>
* monotone.texi, std_hooks.lua: sync hook definitions with
std_hooks.lua, and group the descriptions into @subsections,
reordering a few items accordingly.
2005-11-26 Nathaniel Smith <njs@pobox.com>
* Makefile.am: Remove botan/{omac,fips_rng}.h.
2005-11-26 Julio M. Merino Vidal <jmmv@NetBSD.org>
* AUTHORS, ChangeLog: Update my email address; I don't read the
other one any more and the new one represents better my limited
involvement in Monotone.
2005-11-26 Julio M. Merino Vidal <jmmv@NetBSD.org>
* configure.ac, Makefile.am, po/Makevars: Avoid using xgettext's
--flag option on versions that do not support it.
2005-11-26 Grahame Bowland <grahame@angrygoats.net>
* automate.cc (automate_stdio) add wrapper function to read()
so that loops will not wind backwards possibly overrunning buffers
if an error occurs. Hopefully fixes some of the strange edge cases
seen using automate. (Closes #15062 in bug tracker)
2005-11-26 Matthew Gregan <kinetik@orcon.net.nz>
* botan/mem_pool.cpp (Pooling_Allocator::allocate): Botan's
Pooling_Allocator assumes that Buffers stored in free_list are
sorted, and uses std::inplace_merge() in deallocate() to ensure
the recently freed Buffer is positioned in free_list
appropriately. This same check was not being performed when a
Buffer was added to free_list in allocate() (it's not safe to
assume that the address of a newly allocated Buffer will always be
greated than existing Buffers).
2005-11-25 Graydon Hoare <graydon@pobox.com>
* database.cc (get_version): Another important fix: make sure to
cancel overlapping paths, to avoid exponential memory requirement
in deep, heavily-forked-and-merged storage paths.
2005-11-25 Graydon Hoare <graydon@pobox.com>
* database.cc (get_version): Another important fix: make sure to
cancel overlapping paths, to avoid exponential memory requirement
in deep, heavily-forked-and-merged storage paths.
2005-11-25 Graydon Hoare <graydon@pobox.com>
* database.cc (get_version): Crucial fix! Rewrite the
delta-reconstruction algorithm to work with a DAG storage topology,
rather than assuming an inverted tree. Counterpart to the
delta-storage optimization made by Timothy Brownawell on
2005-11-05.
2005-11-23 Matt Johnston <matt@ucc.asn.au>
* botan/*: import of Botan 1.4.9
2005-11-23 Grahame Bowland <grahame@angrygoats.net>
* automate.cc (automate_stdio): Fix partial reads cloberring
start of buffer.
2005-11-22 Matthew Gregan <kinetik@orcon.net.nz>
* database.cc (database::dump): Don't include SQLite internal
tables in the dump.
* tests/t_dump_load.at (database dump/load): Run a db analyze
before dumping the db--catches cases where we dump internal db
tables that we can't reload.
2005-11-21 Henry Nestler <Henry@BigFoot.de>
* contrib/mtbrowse.sh: Version 0.1.13
Handle authors without '@'. Minor box sizing.
Get Version of monotone before starts anything.
DEPTH_LAST detects for version >0.19, no save to config.
'cat revision' replaced with 'automate get_revision'.
ANCESTORS "M" changed to "A". Default "L" (monotone log --brief).
Warn user about misconfigurations. Temp files without tailing dot.
New option: Sort by Date/Time, up or down.
Fix: Parents of merge, if certs list from cache (ncolor).
2005-11-21 Matthew Gregan <kinetik@orcon.net.nz>
* NEWS: Minor spelling tweaks.
* platform.hh: Add get_default_confdir().
* app_state.cc (app_state::app_state): Call get_default_confdir()
to initialize confdir.
* unix/fs.cc (get_default_confdir): Use the home directory as the
base of the default configuration dir.
* win32/fs.cc (get_default_confdir): Use either %APPDATA% or the
result of querying SHGetFolderPath() for CISDL_APPDATA as the base
of the default configuration dir.
(get_homedir): More consistent method for deciding what the user's
home directory is. Behaviour based on the documentation for Qt's
QDir::home().
2005-11-21 Nathaniel Smith <njs@pobox.com>
* NEWS: Initial draft of 0.24 release notes.
2005-11-14 Benoît Dejean <benoit@placenet.org>
* po/fr.po: Updated French translation.
* netsync.cc: Removed many i18n strings.
2005-11-14 Nathaniel Smith <njs@pobox.com>
* monotone.texi (Historical records): Clarify wording, based on
feedback from Daniel Phillips.
2005-11-13 Nathaniel Smith <njs@pobox.com>
* monotone.texi (Automation): Document sort order for 'automate
select'.
2005-11-10 Richard Levitte <richard@levitte.org>
* monotone.texi (Hooks): Small correction so the text matches the
example.
2005-11-10 Timothy Brownawell <tbrownaw@gmail.com>
* lua.cc, std_hooks.lua, monotone.texi: basic_io parser for lua is
now called parse_basic_io
2005-11-10 Timothy Brownawell <tbrownaw@gmail.com>
* monotone.texi: document parse_basicio in the
"Additional Lua Functions" section
2005-11-10 Timothy Brownawell <tbrownaw@gmail.com>
* testsuite.at: Several MINHOOKS_* macros that use the standard hooks
and only load predefined hooks about passphrase and rng.
* tests/t_netsync_permissions, tests/t_netsync_read_permissions: use
the standard permission hooks and define {read,write}-permissions files.
Check both the permissions mechanism and the standard hooks at once.
2005-11-10 Timothy Brownawell <tbrownaw@gmail.com>
* monotone.texi: update example project with latest read-permissions
format. Mention comment lines in the description in the hooks section
2005-11-08 Timothy Brownawell <tbrownaw@gmail.com>
Make a basic_io parser available to Lua.
* lua.cc: new function, monotone_parse_basicio_for_lua
* std_hooks.lua: use it in get_netsync_read_permitted
2005-11-05 Timothy Brownawell <tbrownaw@gmail.com>
Make sure that all new revisions added to the db deltify as much as
possible.
* commands.cc, diff_patch.cc: deltify both sides when doing a merge
* database.{cc,hh}: new function, database::deltify_revision()
call it from put_revision, so all new revisions will be deltified
2005-10-30 Nathaniel Smith <njs@pobox.com>
* std_hooks.lua (edit_comment): Insert a blank line if there is no
user log message, so the user doesn't have to.
2005-10-25 Emile Snyder <emile@alumni.reed.edu>
Fix bug reported on mailing list by Wim Oudshoorn and Tom Koelman
where 'disapprove REV' inappropriately uses your working copy
branch for the disapproved revision.
* app_state.{cc,hh} (set_is_explicit_option, is_explicit_option):
New methods to determine if a given option value was set via
command line flag or not.
* cert.cc (guess_branch): Only accept explicit --branch values in
preference to the branch the given revision lives on.
* commands.cc (CMD(commit)): Explicitly use app.branch_name() if
it exists before calling guess_branch, so pick up MT/options
setting.
* monotone.cc (cpp_main): Set the explicit_option_map entries for
select command line flag processing.
2005-10-26 Matt Johnston <matt@ucc.asn.au>
* INSTALL: mention that zlib is required
* debian/control: monotone doesn't work over plain network protocols
2005-10-25 Timothy Brownawell <tbrownaw@gmail.com>
* lua.cc: make the globish matcher available to lua
* std_hooks.lua: new (better) format for read-permissions
* monotone.texi: update documentation
2005-10-24 Benoît Dejean <benoit@placenet.org>
* commands.cc: Merged 2 i18n strings.
2005-10-23 Timothy Brownawell <tbrownaw@gmail.com>
* std_hooks.lua: new default get_netsync_*_permitted hooks, which
read permissions setting from $confdir/{read,write}-permissions
* monotone.texi: document the new default hooks
2005-10-23 Timothy Brownawell <tbrownaw@gmail.com>
* contrib/usher.cc: new option "-p <pidfile>", catch SIGTERM and SIGINT
and exit cleanly
2005-10-22 Timothy Brownawell <tbrownaw@gmail.com>
* constants.cc: increase log_line_sz so that the new unified
"SERVER IDENTIFICATION HAS CHANGED" message doesn't get truncated.
It used to be multiple print statements but was merged into one,
apparently to help with translation.
2005-10-22 Timothy Brownawell <tbrownaw@gmail.com>
* contrib/usher.cc: Support friendly shutdown (no new connections, but
don't kill existing ones) of local servers and the usher as a whole.
Simple admin interface to start/stop or get the status of individual
servers or the whole usher (listens for connections on a separate
port, only enabled if specified on the command line).
2005-10-22 Richard Levitte <richard@levitte.org>
* tests/t_database_sig_cleanup.at: Two more sleeps that I forgot.
2005-10-20 Nathaniel Smith <njs@pobox.com>
* cert.hh (find_common_ancestor): Remove dead declaration.
* database.cc (check_schema): Improve schema mismatch error
message.
2005-10-20 Richard Levitte <richard@levitte.org>
* tests/t_database_sig_cleanup.at: Sleep for a couple of seconds,
so monotone has a chance to clean up and die properly, even on a
slower machine.
2005-10-19 Nathaniel Smith <njs@pobox.com>
* tests/t_update_switch_branch.at, testsuite.at: New test.
2005-10-19 Nathaniel Smith <njs@pobox.com>
* commands.cc (update): Make branch sticky even if update target
== current rid.
2005-10-19 Matt Johnston <matt@ucc.asn.au>
* main.cc, database.{cc,hh}: SIGINT and SIGTERM handlers
exit gracefully, and try to ROLLBACK+close any databases to clean up
.db-journal files. Added new database::close() method to be used
rather than sqlite_close() directly
* monotone.{cc,hh}, sanity.{cc.hh}: move clean_shutdown flag to
global_sanity
* tests/t_database_sig_cleanup.at: test it
* keys.cc: don't L() private key
2005-10-19 Matthew A. Nicholson <matt@matt-land.com>
* std_hooks.lua: Minor correction to vim warning during 3-way merge.
2005-10-18 Timothy Brownawell <tbrownaw@gmail.com>
* contrib/usher.cc: Update comment about client versions
2005-10-18 Timothy Brownawell <tbrownaw@gmail.com>
* netsync.cc netcmd.{cc,hh}: usher_reply_cmd now has both who we
connected to *and* what pattern we asked for
* contrib/usher.cc: new file format, allow to key servers on either
hostname or pattern, hostname checked first
reload config file on SIGHUP
2005-10-18 Timothy Brownawell <tbrownaw@gmail.com>
* netsync.cc (session::process_usher_cmd): reply with who we connected
to (hostname or hostname:port), not what pattern we asked for.
* contrib/usher.cc: Update comment.
2005-10-18 Timothy Brownawell <tbrownaw@gmail.com>
* contrib/usher.cc: support dynamic local servers
These are started when a client attempts to connect, and killed at
a set time interval after the last client has disconnected.
2005-10-15 Nathaniel Smith <njs@pobox.com>
* manifest.cc (build_restricted_manifest_map): Mention the new
--missing option in the missing files error message hint.
2005-10-17 Timothy Brownawell <tbrownaw@gmail.com>
* commands.cc (serve): check that the db is valid before beginning
service (would previously not know until someone connected)
* netsync.cc (serve_connections): don't say "beginning service" until
after opening the socket.
2005-10-16 Timothy Brownawell <tbrownaw@gmail.com>
* app_state.{cc,hh}, key_store.cc: change how the keystore directory
is initialized; was using app.confdir before it was ready
2005-10-16 Timothy Brownawell <tbrownaw@gmail.com>
Make the configuration directory configurable and available to lua
* lua.cc: export new function to lua, "get_confdir"
* app_state.{cc,hh} monotone.cc options.hh: new option --confdir,
make the configuration directory something other than ~/.monotone
* lua.{cc,hh}: make the app_state availabe to lua callbacks
* key_store.cc: use get_confdir instead of hardcoded
* lua.cc: use get_confdir instead of hardcoded
* tests/t_config_confdir.at: test --confdir and lua get_confdir
* testsuite.at: add it
2005-10-16 Timothy Brownawell <tbrownaw@gmail.com>
Teach client to optionally push unused keys; new pubkeys can now be
given to a server without restarting it.
* app_state.{cc,hh}, monotone.cc, options.hh:
new command-specific-option --key-to-push=<key> , used to sync/push
a key that hasn't signed anything
* netsync.cc: make it work
* commands.cc: push and sync take it
* tests/t_netsync_pubkey.at: test it
2005-10-16 Matthew Gregan <kinetik@orcon.net.nz>
* configure.ac: Don't add boost_unit_test_framework to global
LIBS, we will link against it directly when needed.
* Makefile.am: Only allow unit_tests to be built if
boost_unit_test_framework was available at configure time.
2005-10-15 Matthew Gregan <kinetik@orcon.net.nz>
* configure.ac: Use boost_filesystem as the library to test for
when trying to guess a suitable BOOST_SUFFIX. Make a missing
boost_unit_test_framework library a non-fatal error.
2005-10-14 Emile Snyder <emile@alumni.reed.edu>
* commands.cc: Fix breakage I introduced with the --unknown flag.
Rename find_unknown to find_unknown_and_ignored, since that's what
it's actually doing. Likewise ls_unknown ->
ls_unknown_or_ignored, and use find_unknown_and_ignored correctly.
Fixes t_mt_ignore.at failures.
2005-10-14 Nathaniel Smith <njs@pobox.com>
* key_store.{cc,hh} (get_key_dir): New method.
* schema_migration.cc (migrate_client_to_external_privkeys): Tell
user that we're moving their keys.
* commands.cc (genkey): Refer to keystore by the directory, not as
"keystore".
(ls_keys): Likewise.
2005-10-14 Timothy Brownawell <tbrownaw@gmail.com>
Add .mt-ignore, ignore most generated files, except for the *m4 files.
2005-10-14 Emile Snyder <emile@alumni.reed.edu>
* app_state.{cc,hh}: new 'unknown' class member for --unknown flag.
* commands.cc (CMD(add), ls_unknown, find_unknown): use new
--unknown flag to add any files in the working copy that monotone
doesn't know about (and isn't ignoring).
* monotone.cc (coptions, cpp_main): add the --unknown flag handling.
* options.hh: add OPT_UNKNOWN.
* monotone.texi: document it.
* tests/t_add.at: test it.
2005-10-14 Emile Snyder <emile@alumni.reed.edu>
* database.cc (complete): enhance h: and b: to mean "current
branch" (as defined by your working copy) when given empty.
* monotone.texi: document it.
2005-10-14 Matthew Gregan <kinetik@orcon.net.nz>
* database.cc: Exclusively lock the database when performing a 'db
dump'.
* schema_migration.cc: Run an analyze at the end of a database
migration to help out the SQLite query optimizer. Also change
schema id calculation to match 'sqlite_stat%' rather than the
specific table 'sqlite_stat1'--the SQLite docs suggest that more
tables will be created in the future.
2005-10-14 Matthew Gregan <kinetik@orcon.net.nz>
* database.cc, schema.sql, schema_migration.cc: Use SQLite 3's
exclusive locking whereever we start a new transaction; allows
monotone to report database locking errors earlier if a second
monotone process attempts to perform database operations.
2005-10-14 Matthew Gregan <kinetik@orcon.net.nz>
* commands.cc (message_width): Refactor into display_width() and
remove message_width().
* transforms.{cc,hh} (display_width): Rename length() to
display_width() and use the code from message_width().
* ui.cc, commands.cc: Change calls to length() to display_width().
* netsync.cc: Remove length() calls, test for string emptiness
instead.
2005-10-13 Emile Snyder <emile@alumni.reed.edu>
* commands.cc (CMD(revert)): use --missing for revert a'la drop.
* monotone.texi: document it.
* tests/t_revert_restrict.at: test it.
2005-10-13 Emile Snyder <emile@alumni.reed.edu>
* app_state.{cc,hh}: new missing class member for --missing flag.
* commands.cc (CMD(drop), ls_missing, find_missing): use new
--missing flag to drop any files already deleted in the working copy.
* monotone.cc (coptions, cpp_main): add the --missing flag handling.
* options.hh: add OPT_MISSING.
* monotone.texi: document it.
* tests/t_drop_missing.at: test it.
2005-10-13 Emile Snyder <emile@alumni.reed.edu>
* database.cc (complete): implementation for h:branch selector to
find heads of a branch.
* selectors.{cc,hh}: add sel_head with selector character 'h'.
* monotone.texi: document it.
2005-10-12 Nathaniel Smith <njs@pobox.com>
* revision.hh: Oops, missed a bit.
2005-10-12 Nathaniel Smith <njs@pobox.com>
* revision.cc (add_node_for_old_revision): Rename to...
(add_node_for_oldstyle_revision): ...this.
(build_changesets_from_existing_revs): Rename to...
(build_roster_style_revs_from_manifest_style_revs): ...this.
* commands.cc (db): Rename "rebuild" to "rosterify".
2005-10-08 Nathaniel Smith <njs@pobox.com>
* revision.cc (analyze_manifest_changes): Remove.
2005-10-08 Nathaniel Smith <njs@pobox.com>
* revision.cc (calculate_change_sets_recursive):
(find_subgraph_for_composite_search)
(calculate_composite_change_set, calculate_arbitrary_change_set):
Remove.
(construct_revision_from_ancestry): Likewise.
2005-10-08 Nathaniel Smith <njs@pobox.com>
* revision.cc (check_sane_history): Remove.
2005-10-13 Matt Johnston <matt@ucc.asn.au>
* botan/mem_pool.cpp: fix bug preventing remove_empty_buffers()
from being called, gives significant improvements for long-running
processes.
2005-10-12 Emile Snyder <emile@alumni.reed.edu>
* monotone.texi: add njs's lucid definition of what the disapprove
actually means in terms of the revision graph to it's section in
the documentation.
2005-10-12 Matt Johnston <matt@ucc.asn.au>
* monotone.cc: return with exit code of 2 on usage output
* testsuite.at: turn "cat_foo" into "automate get_foo"
* tests/t_empty_env.at, tests/t_null.at, tests/t_at_sign.at,
tests/t_unreadable_db.at, tests/t_cmdline_options.at: expect 2 exit code
* tests/t_cross.at: update to the changeset paradigm of immutable
ancestors.
2005-10-11 Emile Snyder <emile@alumni.reed.edu>
* app_state.{cc,hh}: new bind_address and bind_port class members.
* options.hh: new OPT_BIND for serve command.
* monotone.cc: handle OPT_BIND.
* commands.cc (process_netsync_args, CMD(serve)): use values from
the new --bind=[addr]:port option for 'monotone serve' rather than
the positional argument. default to binding all interfaces.
* monotone.texi: document new serve syntax
* netsync.cc (serve_connections): use empty address argument to
mean bind all interfaces.
* netxx/address.cxx (Address::add_all_addresses): set port_ member
from passed in port argument.
* testsuite.at, tests/t_netsync_single.at: use new --bind syntax
for serve commands.
2005-10-11 Matthew Gregan <kinetik@orcon.net.nz>
* commands.cc (message_width, explain_usage): New function to
calculate display width of translated strings. Use it in
explain_usage.
Patch from Thomas Moschny <thomas.moschny@gmx.de>
* certs.cc (get_user_key): Correct logic in N() test for multiple
keys. Resolves bug reported by Malte Thoma.
2005-10-10 Timothy Brownawell <tbrownaw@gmail.com>
Make netsync shutdown work properly.
* netsync.cc (session::which_events): Only ask to read if not armed.
A read failure will discard all read-but-not-processed commands.
* netsync.cc (session::maybe_say_goodbye): Only say goodbye once.
Repeated goodbyes means that one side *will* have a full write-queue
when the connection is torn down.
2005-10-10 Timothy Brownawell <tbrownaw@gmail.com>
* tests/t_automate_stdio.at: Add comment here too.
2005-10-10 Timothy Brownawell <tbrownaw@gmail.com>
* contrib/get_stdio.pl: Add comments. I'm told it was "obtuse",
hopefully this will help somewhat.
2005-10-10 Matt Johnston <matt@ucc.asn.au>
* configure.ac, Makefile.am: add {MONOTONE,LIB3RDPARTY}_C{,XX}FLAGS
variables.
2005-10-10 Benoît Dejean <benoit@placenet.org>
* commands.cc: s/key store/keystore/g.
2005-10-10 Matt Johnston <matt@ucc.asn.au>
* netsync.cc, database.{cc,hh}: don't include unwanted branch
certs when building the merkle tree.
* merkle.hh: add variant of insert_into_merkle_tree
taking non-raw id.
* markle.cc: comment out unused bits
2005-10-10 Nathaniel Smith <njs@pobox.com>
* cert.{cc,hh} (get_user_key): New function, replacing
guess_default_key.
* revision.cc (build_changesets_from_existing_revs)
(build_changesets_from_manifest_ancestry):
* rcs_import.cc (import_cvs_repo):
* commands.cc (internalize_cert_name, push, sync, serve):
* cert.cc (make_simple_cert, cert_revision_author_default): Use
it.
2005-10-10 Matthew Gregan <kinetik@orcon.net.nz>
* netsync.cc: Clean up another case where port numbers were being
munged by localized iostreams.
* tests/t_netsync_largish_file.at: Tweak the random file
generation so that it's a bit faster on platforms with slow awk
implementations.
* netsync.cc: Remove comment stating that our official IANA port
should be renamed from 'netsync' to 'monotone'; Tomas sorted this
out a while ago.
* lua.cc (Lua::ok): Only log the 'Lua::ok() failed' message if
there has been a failure.
* monotone.texi: Fix a typo.
* win32/fs.cc (get_homedir): Clarify comment.
2005-10-09 Matthew Gregan <kinetik@orcon.net.nz>
* contrib/usher.cc (main): Reset parser state for config file
parser.
* win32/monotone.iss: Reduce minimum OS version for installer.
* configure.ac: Another Boost library suffix.
2005-10-08 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_automate_keys.at: Portability fixes.
2005-10-08 Benoît Dejean <benoit@placenet.org>
* commands.cc: One more i18n string.
2005-10-08 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_automate_keys.at: Don't rely on extended sed either!
2005-10-08 Nathaniel Smith <njs@pobox.com>
* database.{hh,cc}: Clean-up previous change -- switch to using a
cleanup_ptr to hold sqlite3_stmt handles, for proper exception
safety.
2005-10-08 Nathaniel Smith <njs@pobox.com>
* database.cc (fetch): Do not insert prepared statements into the
statement table until they are successfully created, to avoid
segfaults on database teardown.
2005-10-08 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_automate_keys.at: Use sed rather than relying on an
extended grep being available.
2005-10-08 Nathaniel Smith <njs@pobox.com>
* contrib/ciabot_monotone.py (send_change_for): Handle branch-less
revisions.
2005-10-08 Nathaniel Smith <njs@pobox.com>
* paths.cc: Make initial_rel_path an fs::path. Adjust code
correspondingly. Add tests that calling monotone from inside MT
should work.
* tests/t_add_inside_MT.at, testsuite.at: New test.
2005-10-08 Matthew Gregan <kinetik@orcon.net.nz>
* win32/fs.cc: Don't consider USERPROFILE as a possible home
directory; APPDATA is more appropriate. Add a second method to
get the APPDATA path. Always use HOME if it's set (not just under
Cygwin/MinGW).
* tests/t_netsync_absorbs.at: Add missing CANONICALISE().
2005-10-07 Timothy Brownawell <tbrownaw@gmail.com>
* commands.cc (pubkey): don't insist on having a database
* tests/t_key_management_without_db.at: check it
2005-10-07 Timothy Brownawell <tbrownaw@gmail.com>
* file_io.cc, vocab.cc, Makefile.am: fix merge
* botan/algolist.cpp, botan/def_alg.cpp: fix merge
2005-10-07 Timothy Brownawell <tbrownaw@gmail.com>
* automate.cc: add "automate keys". like "ls keys", except it
uses basic_io (since "ls keys" is now slightly irregular and not
very well suited to machine interpretation).
* monotone.texi: document it
* tests/t_automate_keys.at: test for it
* testsuite.at: add test
* basic_io.{cc,hh} (stanza): add push_str_multi, for entries
that can take a variable number of string arguments.
* commands.cc: add "automate keys" to automate help
misc minor whitespace cleanup
2005-10-06 Timothy Brownawell <tbrownaw@gmail.com>
* commands.cc (ls_keys): don't insist on having a db
* tests/t_key_management_without_db.at: check ls keys
* monotone.texi: update for new key storage
* concepts :: storage and workflow
* tutorial :: generating keys
* tutorial :: committing work
* command reference :: informative
* command reference :: key and cert
* command reference :: packet I/O
2005-10-06 Timothy Brownawell <tbrownaw@gmail.com>
* commands.cc (chkeypass): doesn't use the db, so we don't need a guard
* commands.cc (dropkey): don't insist on having a db
* tests/t_genkey_without_db.at: rename (s/genkey/key_management) and
add checks for chkeypass and dropkey without a db
2005-10-06 Timothy Brownawell <tbrownaw@gmail.com>
* database.{cc,hh}: new function, database::database_specified()
return whether we were given a database (doesn't care about validity,
only that we were told to use one)
* commands.cc (genkey): don't insist on having a db, but still
check it for duplicates if we're given one.
* tests/t_genkey_without_db.at: make sure it works
* testsuite.at: add test
2005-09-28 Timothy Brownawell <tbrownaw@gmail.com>
* keys.cc (get_private_key): don't use lua hook passwords for
chkeypass.
2005-09-28 Matt Johnston <matt@ucc.asn.au>
* keys.cc (get_private_keys): don't use lua hook passwords for
chkeypass.
2005-09-28 Timothy Brownawell <tbrownaw@gmail.com>
* key_store.cc: fix delete_key
* tests/t_database_check_normalized: needs 'db migrate'
* tests/t_lua_privkey.at: update for new key location
* tests/t_netsync_absorbs.at: use genkey instead of packets
* tests/t_netsync_checks_server_key.at: same
* tests/t_netsync_pubket.at: update key packet to new format
2005-09-27 Timothy Brownawell <tbrownaw@gmail.com>
Replace extract_keys command with a database migrator.
* database.{cc,hh}: Remove last traces of private keys in db.
* schema.sql: Remove private_keys table
* commands.cc (dropkey): private keys can no longer be in the db.
* schema_migration.cc: new migrator
* commands.cc: remove extract_keys
* tests/t_migrate_schema.at: update
* keys.hh, cert.cc, key_store.cc: keys_match doesn't work well on
privkeys. Don't use it.
* key_store.cc: Allow duplicate insertions, if they match.
2005-09-27 Timothy Brownawell <tbrownaw@gmail.com>
* schema_migration.hh: migrate_depot_schema() doesn't really exist
* database.cc, schema_migration.{cc,hh}: migrate_monotone_schema
now takes an app_state * , so data can be moved to/from the database.
2005-09-27 Matt Johnston <matt@ucc.asn.au>
* botan/pkcs8.cc, keys.cc: fix monotone-specific pkcs8 key
parsing.
* commands.cc: ls keys shows keystore-only pubkeys as well
* packet.cc: fix unit tests
* testsuite.at: use keypair packet rather than privkey/pubkey
packets.
2005-09-26 Matt Johnston <matt@ucc.asn.au>
* commands.cc, keys.cc, others: use standard
"PBE-PKCS5v20(SHA-1,TripleDES/CBC)" encoding rather than
raw arc4. extract_keys will re-encode keys, still
need to work on packet.cc encoding.
* botan/{des*,pkcs5*,algolist.cpp}: required files
from Botan 1.4.6
2005-09-25 Timothy Brownawell <tbrownaw@gmail.com>
Move private keys outside the database.
They're now stored as keypairs in ~/.monotone/keys
Details:
* keystore.{cc,hh}: handle storage of keypairs
* tests*: Specify keystore location when running the testsuite.
This prevents it from polluting the user's keystore.
* database{cc,hh}: remove ability to put privkeys. They can still
be listed, retrieved, and deleted, to support
* commands.cc: New command, extract_keys. Copies private keys from
the database to the keystore.
* vocab.hh: add keypair type, like pair<pubkey, privkey>, except that
the members are named pub and priv.
* packet.cc: Clean up read_packets.
* packet.{cc,hh}: privkey packets no longer exists, handle keypair
packets instead.
* file_io.{cc,hh}: add read_directory because tree_walker needs to
be in the wc. add a write_data that works outside the wc.
* Makefile.am: add keystore.{cc,hh}
* others: update to work with new key storage
2005-10-06 Matthew Gregan <kinetik@orcon.net.nz>
* std_hooks.lua (merge3_emacs_cmd): Minor cleanup.
* std_hooks.lua: Pass '--eval' rather than '-eval' to Emacs; the
CVS emacsclient does not consider '-eval' as valid.
* platform.hh, unix/fs.cc, win32/fs.cc (rename_clobberingly): New
function for best-effort atomic renames. This will probably never
be atomic on Win32.
* file_io.cc (write_data_impl): Append process ID to temporary
file name so that multiple monotone processes operating on the
same working copy are less likely to clobber each other. Use
rename_clobberingly().
* ui.cc (user_interface): Allow std::cout to raise
ios_base::failure exceptions if stream goes bad (e.g. stream
receives EPIPE).
* monotone.cc (cpp_main): Catch ios_base::failure exceptions and
exit cleanly.
* main.cc (main_with_signal_handlers): Install handler to ignore
SIGPIPE.
* Makefile.am: Remove platform_netsync.cc references.
* {unix,win32}/platform_netsync.cc: Remove files.
* platform.hh, netsync.cc (run_netsync_protocol):
Remove {start,end}_platform_netsync() calls.
2005-10-04 Nathaniel Smith <njs@pobox.com>
* monotone.texi (Automation): Document the mysterious columns of
numbers in 'automate inventory' output format.
2005-10-04 Matt Johnston <matt@ucc.asn.au>
* botan/, Makefile.am: update to Botan 1.4.7
2005-10-03 Nathaniel Smith <njs@pobox.com>
* monotone.texi (Automation): Clean up formatting and description
of 'automate inventory' sample output.
2005-10-02 Marcel van der Boom <marcel@hsdev.com>
* commands.cc (CMD(checkout)): Check for non-existant checkout dir
earlier, so we can fail earlier.
2005-09-30 Nathaniel Smith <njs@pobox.com>
* Makefile.am (AM_CFLAGS, AM_CXXFLAGS): Add
-DBOOST_SP_DISABLE_THREADS (disables thread-safe shared_ptr
reference counting).
2005-09-30 Nathaniel Smith <njs@pobox.com>
* debian/README.Debian, debian/TODO.Debian: Add debian files
left out of repository.
2005-09-30 Nathaniel Smith <njs@pobox.com>
* NEWS: Set date for 0.23.
2005-09-30 Nathaniel Smith <njs@pobox.com>
* testsuite.at: Whoops, forgot to hit save. Remove
t_diff_changeset_bug.at.
2005-09-30 Grahame Bowland <grahame@angrygoats.net>
* paths.cc: remove unit tests for
file_path_internal_from_user
2005-09-30 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* configure.ac: only add gnu specific CFLAGS and CXXFLAGS for
gnu compilers
2005-09-30 Nathaniel Smith <njs@pobox.com>
* tests/t_log_outside_working_dir.at: Fix summary line.
* tests/t_diff_changeset_bug.at: Remove redundant test
(cf. t_restricted_diff_unchanged.at).
2005-09-30 Nathaniel Smith <njs@pobox.com>
* Makefile.am (BOTAN_SOURCES): Add botan/hash_id.h.
2005-09-30 Nathaniel Smith <njs@pobox.com>
* NEWS: More additions (mention MM and the problems paths.cc will
cause for colinux folks).
2005-09-30 Nathaniel Smith <njs@pobox.com>
* Makefile.am (MOST_SOURCES): Add hash_map.hh.
(BOTAN_SOURCES): Add botan/charset.h.
2005-09-29 Nathaniel Smith <njs@pobox.com>
* NEWS: Fix typos pointed out by Matthew Gregan.
2005-09-29 Nathaniel Smith <njs@pobox.com>
* UPGRADE, configure.ac, monotone.spec, win32/monotone.iss:
* debian/changelog: Bump version number.
2005-09-30 Grahame Bowland <grahame@angrygoats.net>
* paths.hh: update file_path documentation,
remove file_path_internal_from_user
* paths.cc: remove file_path_internal_from_user
* commands.cc CMD(cat): change file_path_internal_from_user
to file_path_external
* tests/t_diff_outside_working_dir.at: check diff works outside
of a working dir (with a file specified)
* tests/t_log_outside_working_dir.at: check log works outside
of a working dir (with a file specified)
* tests/t_diff_changeset_bug.at: mysterious changeset bug
* testsuite.at: add new tests
2005-09-29 Nathaniel Smith <njs@pobox.com>
* AUTHORS: Add Grahame and Marcel.
* NEWS: Write 0.23 entry.
* monotone.texi (Reserved Files): Mention in .mt-ignore docs that
the patterns are regexes.
2005-09-30 Grahame Bowland <grahame@angrygoats.net>
* paths.cc (file_path::file_path): Allow external paths outside of
a working directory, so long as we don't enter a working directory
later.
(access_tracker) add new very_uninitialized state which
prevents subsequent initialization
(test_access_tracker) check the very_uninitialized state works
* paths.hh: correct mention of monotone cat file to new syntax
2005-09-29 Matthew Gregan <kinetik@orcon.net.nz>
* paths.cc: Restore two unit tests on Win32.
2005-09-29 Richard Levitte <richard@levitte.org>
* testsuite.at: Removed a spurious G...
2005-09-29 Matthew Gregan <kinetik@orcon.net.nz>
* paths.cc, win32/fs.cc: Fixes to allow unit tests to pass on Win32.
2005-09-29 Marcel van der Boom <marcel@hsdev.com>
* netsync.cc (rebuild_merkle_trees): only get matched branch
certs, not all of them
2005-09-28 Nathaniel Smith <njs@pobox.com>
* tests/t_rename_diff_names.at, testsuite.at: New test.
2005-09-27 Richard Levitte <richard@levitte.org>
* monotone.texi (Tutorial): It seems like texi2pdf gets quite
confused when a @chapter has a @subsection with a @section in
between. The resulting PDF had a Tutorial that was a indexed as a
subsection under Concepts/Branches instead of being indexed as the
chapter it is, and most confusingly, it's last subsection
(Branching and Merging) ended up as a a separate chapter of it's
own...
2005-09-27 Matt Johnston <matt@ucc.asn.au>
* netsync.cc (ancestry_fetcher): new approach to requesting file
and manifest deltas and full data. Tries to be more efficient
for the vcache of recontstructed data, and conceptually simpler
* tests/t_netsync_unrelated.at: passes, remove XFAIL
2005-09-26 Benoît Dejean <benoit@placenet.org>
* database.cc: Merged 3 strings.
2005-09-26 Matt Johnston <matt@ucc.asn.au>
* commands.cc: add 'help' command
* monotone.cc: add -h alias for --help
2005-09-25 Matt Johnston <matt@ucc.asn.au>
* netsync.cc: use lexical_cast on port numbers to avoid
strange-looking "port 5,253"
2005-09-25 Matthew Gregan <kinetik@orcon.net.nz>
* sqlite/*: Update in-tree SQLite from 3.2.6 to 3.2.7.
2005-09-25 Benoît Dejean <benoit@placenet.org>
* netsync.cc: 3 more i18n strings.
2005-09-25 Benoît Dejean <benoit@placenet.org>
* cert.cc (cert_signable_text): F() vs. boost::format.
* lua.cc (monotone_guess_binary_file_contents_for_lua),
(monotone_include_for_lua), (monotone_includedir_for_lua):
* rcs_import.cc (import_cvs_repo): Merged some strings.
2005-09-25 Benoît Dejean <benoit@placenet.org>
* lua.cc (monotone_guess_binary_file_contents_for_lua):
Fixed signednes warning and istream usage.
2005-09-25 Matt Johnston <matt@ucc.asn.au>
* ui.cc: fallback to the default locale if locale("") fails.
2005-09-25 Matt Johnston <matt@ucc.asn.au>
* botan/arc4.cpp: increase maximum keylength to 256 bytes.
2005-09-24 Benoît Dejean <benoit@placenet.org>
* ChangeLog: Fixed.
I don't understand how xxdiff works :/ Please help.
2005-09-24 Satoru SATOH <ss@gnome.gr.jp>
* po/ja.po: Updated Japanese translation.
2005-09-23 Benoît Dejean <benoit@placenet.org>
* std_hooks.lua: More i18n strings.
I don't know how to handle lua
"multiline" ..
"strings" because gettext doesn't join them.
2005-09-22 Benoît Dejean <benoit@placenet.org>
* sanity.{cc,hh}: Uninlined F() and FP().
This happily saves ~100KB of .text on my ppc.
2005-09-22 Benoît Dejean <benoit@placenet.org>
* netsync.cc: Reverted changes
from f0a632bf14468b6e03a488d6f1a64ef18b61d04c
to 4f7f638954c79c54460d04c3be111acad8b26dd3
2005-09-22 Benoît Dejean <benoit@placenet.org>
* lua.cc (monotone_gettext_for_lua): New function.
* po/POTFILES.in: Added std_hooks.lua.
* std_hooks.lua: One more string for i18n.
2005-09-22 Benoît Dejean <benoit@placenet.org>
* ui.{cc,hh} (get_user_locale): Returns a const &.
2005-09-21 Timothy Brownawell <tbrownaw@gmail.com>
* contrib/usher.cc: better error checking
2005-09-20 Timothy Brownawell <tbrownaw@gmail.com>
* restrictions.cc: Make calculate_unrestricted_revision work
with --exclude
* tests/t_restriction_with_exclude_iprint.at: remove XFAIL
2005-09-20 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* configure.ac: solaris needs librt for fdatasync
* sqlite/parse.c: #line and #include interactions aren't defined
2005-09-20 Matt Johnston <matt@ucc.asn.au>
* database.cc (space_usage): workaround the issue that in sqlite
3.2.6, SUM({empty set}) returns NULL. (this is part of the sql spec,
see http://www.sqlite.org/cvstrac/tktview?tn=1413 and the comment for
SUM() in sqlite docs).
2005-09-20 Matt Johnston <matt@ucc.asn.au>
* ui.cc, ui.hh, sanity.hh: replace ui.user_locale with
get_user_locale(), so that we can guarantee that it will be
initialised when the global_sanity object (and probably other things)
are instantiated.
2005-09-20 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_restriction_with_exclude_iprint.at: New test, variant of
t_restriction_exclude.at, but with inodeprints enabled. Mark as
XFAILed.
* testsuite.at: Add new test.
* sqlite/*: Update in-tree SQLite from 3.2.2 to 3.2.6.
* Makefile.am: Add sqlite/{analyze,vbdefifo,complete}.c to
SQLITE_SOURCES
* schema_migration.cc (calculate_schema_id): Explicitly exclude
sqlite_stat1 table from schema ID calculation. This is a new
magic table created by the 'analyze' command in SQLite >= 3.2.3.
2005-09-18 Nathaniel Smith <njs@pobox.com>
* po/ja.po: New translation from Satoru SATOH <ss@gnome.gr.jp>.
* AUTHORS: Add Satoru SATOH.
2005-09-18 Matthew Gregan <kinetik@orcon.net.nz>
* testsuite.at: Tweak default 'eveything' netsync glob to
something that works around the MinGW/Win32 globbing issues for
now.
* tests/t_log_brief.at: Canonicalise output on Win32.
2005-09-17 Timothy Brownawell <tbrownaw@gmail.com>
* contrib/usher.cc: Remove stray "new int[2];' statements from
debugging. Remove connections from list when finished.
2005-09-16 Timothy Brownawell <tbrownaw@gmail.com>
* Makefile.am (EXTRA_DIST): add contrib/monotone-cvs-ignore.lua,
contrib/ciabot_monotone_hookversion.py, and contrib/usher.cc .
also remove duplicate of contrib/monoprof.sh
2005-09-16 Timothy Brownawell <tbrownaw@gmail.com>
* netsync.cc: finish renaming things, so it compiles again...
2005-09-16 Timothy Brownawell <tbrownaw@gmail.com>
* contrib/usher.cc: A simple usher/proxy server. It asks connecting
clients for their include pattern, and then forwards the connection
to an appropriate (as given in a config file) monotone server. Note
that all servers operating behind one usher need to have the same
server key.
2005-09-16 Timothy Brownawell <tbrownaw@gmail.com>
* netcmd.{cc,hh}, netsync.cc: new netcmd types: usher_cmd and
usher_reply_cmd. They are not included in the HMAC, and do not
occur during normal communication. Purpose: running multiple servers
from the same port. This allows a special server to ask for the
client's include pattern, and then forward the connection to a real
monotone server.
2005-09-16 Matt Johnston <matt@ucc.asn.au>
* botan/pkcs8.cpp: re-add the monotone-specific code for guessing if
a key is DER encoded or not.
2005-09-16 Matt Johnston <matt@ucc.asn.au>
* botan/*: update to Botan 1.4.6
* Makefile.am: ditto
2005-09-15 Timothy Brownawell <tbrownaw@gmail.com>
* app_state.{cc,hh}: restrictions now understand --exclude
* commands.cc: commit and revert now take OPT_EXCLUDE
* monotone.cc: update description of --exclude
* tests/t_restriction_with_exclude.at: new test
* testsuite.at: add it
2005-09-14 Timothy Brownawell <tbrownaw@gmail.com>
* contrib/ciabot_monotone_hookversion.py: CIA bot client script
meant to be called from the note_netsync_revision_received hook.
* lua.{cc,hh}: hook_note_commit and hook_note_netsync_revision_received
now take the text of the revision as an argument.
* netsync.cc, commands.cc: Give hooks new argument.
* monotone.texi: Update documentation for those hooks.
2005-09-11 Benoît Dejean <benoit@placenet.org>
* database.cc
* database_check.cc
* netsync.cc
* po/POTFILES.in
* po/POTFILES.skip
* rcs_import.cc: More i18n strings.
2005-09-07 Jim Meyering <jim@meyering.net>
* tests/t_rename_dir_cross_level.at: When invoking mv to rename
a directory, do not include a trailing slash on the target -- that
is not portable.
* Makefile.am (TESTS_ENVIRONMENT): Ensure that PATH starts with
the current directory, so we test the just-built monotone binary,
not some older version.
2005-09-07 Benoît Dejean <benoit@placenet.org>
* std_hooks.lua: Don't spawn emacs with '-no-init-file'.
2005-09-09 Matthew Gregan <kinetik@orcon.net.nz>
* paths.cc (save_initial_path): Default Boost's fs::path to
fs::native grammar.
* tests/t_unreadable_{db,MT}.at: Disable on Win32 for now.
* paths.cc: Consistency--use WIN32 rather than _WIN32.
* file_io.cc (walk_tree): Correct test for file existence.
2005-09-08 Matthew Gregan <kinetik@orcon.net.nz>
* Makefile.am: Add '-f' argument to 'mv'; avoids build waiting on
user confirmation in some cases.
2005-09-08 Nathaniel Smith <njs@pobox.com>
* monotone.texi (Certificates): Remove mention of fcerts and
mcerts.
2005-09-07 Benoît Dejean <benoit@placenet.org>
* ui.{cc,hh}: Added user_inferface::user_locale.
* sanity.hh: Made F() and FP() locale aware.
2005-09-06 Benoît Dejean <benoit@placenet.org>
* monotone.cc: One more i18n string.
2005-09-06 Benoît Dejean <benoit@placenet.org>
* po/fr.po: Updated French translation.
2005-09-06 Benoît Dejean <benoit@placenet.org>
* commands.cc: No i18n for cert_revision_changelog.
2005-09-06 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_netsync_read_permissions.at: Tweak tests so we aren't
trying to serve a bare '*'; works around test hangs due to glob
expansion sillyness on MinGW.
* tests/t_netsync_globs.at: Ditto.
* tests/t_netsync_exclude.at: Ditto.
* std_hooks.lua (ignore_file): Add Mac OS X (.DS_Store) and
Windows (desktop.ini) per-directory browser configuration files.
2005-09-05 Benoît Dejean <benoit@placenet.org>
* commands.cc: Fixed some strings (added ' around revisions).
Removed some whitespaces.
No i18n in diff output.
2005-09-05 Benoît Dejean <benoit@placenet.org>
* sanity.{cc,hh}: boost::format vs. F(). Merged boost::format
and moved non-template code to sanity.cc.
2005-09-05 Matthew Gregan <kinetik@orcon.net.nz>
* win32/terminal.cc (have_smart_terminal): We were returning false
in almost all circumstances; changed logic so that we at least
work when running in a cmd.exe window.
2005-09-05 Matt Johnston <matt@ucc.asn.au>
* commands.cc (dump_diffs): don't use the terminal width to
print ===== seperators.
2005-09-05 Matthew Gregan <kinetik@orcon.net.nz>
* paths.cc (find_and_go_to_working_copy): Create root and bookdir
paths as fs::native.
* main.cc: Tweak #ifdef to avoid exposing some unused SEH handling
on MinGW.
* configure.ac: Minor cleanup to Win32 configure test.
2005-09-04 Nathaniel Smith <njs@pobox.com>
* monotone.cc (options): Remove default from the help string for
--count, since none of the options listed are actually the
default.
2005-09-04 Nathaniel Smith <njs@pobox.com>
* tests/t_unreadable_db.at, testsuite.at: New test.
2005-09-03 Nathaniel Smith <njs@pobox.com>
* po/Makevars (XGETTEXT_OPTIONS): N_ != ngettext.
Add c-format flags on F() and FP() calls (only partially
successful on latter, because of bug in xgettext).
2005-09-04 Grahame Bowland <grahame@angrygoats.net>
* commands.cc: siplify the monotone cat command
to "monotone cat [-r] FIELNAME" (as in bug #12597)
* monotone.texi: update documentation of "monotone cat"
* tests/t_add_edge.at, tests/t_cat_file_by_name.at,
tests/t_change_empty_file.at, tests/t_cvsimport.at,
tests/t_cvsimport_deleted_invar.at, tests/t_cvsimport_drepper.at,
tests/t_cvsimport_drepper2.at, tests/t_cvsimport_manifest_cycle.at,
tests/t_cvsimport_samelog.at, tests/t_database_check.at,
tests/t_db_kill_rev_locally.at, tests/t_empty_id_completion.at,
tests/t_epoch.at, tests/t_epoch_server.at, tests/t_erename.at,
tests/t_i18n_file.at, tests/t_import.at, tests/t_merge_add_del.at,
tests/t_movedel.at, tests/t_movepatch.at, tests/t_netsync.at,
tests/t_netsync_exclude.at, tests/t_netsync_exclude_default.at,
tests/t_netsync_globs.at, tests/t_netsync_nocerts.at,
tests/t_netsync_permissions.at, tests/t_netsync_read_permissions.at,
tests/t_netsync_single.at, tests/t_normalized_filenames.at,
tests/t_persistent_server_revision.at, tests/t_remerge.at,
tests/t_rename.at, tests/t_renamed.at, tests/t_scan.at,
tests/t_set_default.at, tests/t_singlecvs.at,
tests/t_update_with_pending_add.at, tests/t_update_with_pending_drop.at,
tests/t_update_with_pending_rename.at, tests/t_versions.at:
use automation interface rather than "monotone cat"
2005-09-04 Grahame Bowland <grahame@angrygoats.net>
* ChangeLog: fix up screwed up three-way merge
2005-09-04 Grahame Bowland <grahame@angrygoats.net>
* automate.cc, commands.cc: add "automate get_file",
"automate get_revision" and "automate get_manifest" to
automation interface.
* monotone.texi: document new automation commands
* tests/t_automate_get_file.at, tests/t_automate_get_revision_at,
tests/t_automate_get_manifest.at: trivial testing of new
automation commands for output as specified, make sure they
do not complete IDs, make sure invalid IDs are caught.
* testsuite.at: add new tests
2005-09-03 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_persistent_server_keys_2.at: 'commit' needs a commit
message. Un-XFAIL.
* tests/t_netsync_unrelated.at: Fix 'setup' syntax.
* tests/t_add_vs_commit.at: BASE_REVISION needs to be in the root
of a working copy to work. Un-XFAIL.
* tests/t_add_stomp_file.at: 'add' does not take a --branch
argument. BASE_REVISION needs to be in the root of a working copy
to work.
* annotate.cc (build_parent_lineage): Don't access uninitialized
memory--use resize() rather than reserve().
2005-09-02 Matthew Gregan <kinetik@orcon.net.nz>
* monotone.cc: Use consistent case in option descriptions.
2005-09-02 Nathaniel Smith <njs@pobox.com>
* paths.{hh,cc}: Add split_path typedef. Use it.
2005-09-02 Matt Johnston <matt@ucc.asn.au>
* lua.cc (monotone_guess_binary_file_contents_for_lua): use a
temporary char* buffer rather than &string[], extra copying seems
to have negligible performance impact.
* tests/perf-test.sh: change path from tests/ to contrib/, make
executable.
* tests/parse-accounting.pl: make executable.
2005-09-01 Timothy Brownawell <tbrownaw@gmail.com>
* lua.cc, std_hooks.lua: use proper regexes for .mt-ignore
taken from a patch from Martin Dvorak
* contrib/monotone-cvs-ignore.lua: New file, from the same patch.
supports .cvsignore files
* tests/t_mt_ignore.at: check that a missing .mt-ignore
doesn't cause problems
2005-09-01 Timothy Brownawell <tbrownaw@gmail.com>
* tests/t_mt_ignore.at: use RAW_MONOTONE instead of ugly --rcfile
Also actually do "mtn add" this time.
2005-09-01 Timothy Brownawell <tbrownaw@gmail.com>
* tests/t_mt_ignore.at: new test, checks that .mt-ignore works
* testsuite.at: add it
2005-09-01 Timothy Brownawell <tbrownaw@gmail.com>
* std_hooks.lua: support .mt-ignore
* monotone.texi: mention .mt-ignore and MT/wanted-testresults under
"Existing control files"
* .mt-ignore: ignore testsuite.dir
2005-09-03 Benoît Dejean <benoit@placenet.org>
* commands.cc (ls_certs):
* netsync.cc (load_data): Merged strings.
2005-09-01 Benoît Dejean <benoit@placenet.org>
* commands.cc: Merged one more "no such revision '%s'" string.
2005-09-01 Benoît Dejean <benoit@placenet.org>
* commands.cc: Merged all "no such revision '%s'" strings.
(string_to_datetime): Merged catch blocks in order to merge error
messages.
2005-09-01 Benoît Dejean <benoit@placenet.org>
* ChangeLog: Fixed.
2005-09-01 Matthew Gregan <kinetik@orcon.net.nz>
* ui.cc (user_interface): Avoid calling sync_with_stdio(false) on
Win32 for now to work around a bug in MinGW where unsynchronized
std::cin returns EOF earlier when reading a stream with DOS
newlines. Resolves 'db load' failure reported by Howard Spindel.
* database.cc (load): Don't bother executing an empty string.
* commands.cc (ALIAS(import, setup)): Remove alias.
2005-09-01 Matt Johnston <matt@ucc.asn.au>
* schema.sql: add BEGIN, COMMIT to make it a single transaction,
improves db init performance significantly on OS X (avoids many
disk-cache flushes).
2005-09-01 Matthew Gregan <kinetik@orcon.net.nz>
* testsuite.at: Increase entropy used to generate port numbers
where we can and increase range of port numbers generated.
* monotone.texi: Fix a couple of minor typos.
2005-09-01 Matthew Gregan <kinetik@orcon.net.nz>
* monotone.texi: Update 'setup' documentation and tutorial to
reflect new usage. Also update much of the monotone output in the
tutorials to reflect the output of more modern versions of
monotone. Correct some minor errors and typos while here.
* commands.cc (CMD(setup)): Require database and branch arguments.
(ALIAS(import,setup)): Add setup alias.
* testsuite.at, tests/*.at: Update 'setup' usage.
2005-08-31 Richard Levitte <richard@levitte.org>
* lua.cc, std_hooks.lua: Rename
monotone_guess_binary_filename_for_lua and guess_binary_filename
to monotone_guess_binary_file_contents_for_lua and
guess_binary_file_contents.
2005-08-31 Benoît Dejean <benoit@placenet.org>
* basic_io.cc (basic_io::input_source::err): Merged strings.
2005-08-31 Nathaniel Smith <njs@pobox.com>
* file_io.cc (set_char_is_binary, guess_binary): static_cast chars
to uint8_t before using as array indices. Also replace some ints
with size_t's to quiet g++ warnings.
2005-08-30 Benoît Dejean <benoit@placenet.org>
In function void set_char_is_binary(char, bool)
133: warning: array subscript has type char
In function void init_char_is_binary()
147: warning: comparison between signed and unsigned integer expressions
In function bool guess_binary(const std::string&)
160: warning: comparison between signed and unsigned integer expressions
162: warning: array subscript has type char
2005-08-30 Benoît Dejean <benoit@placenet.org>
* file_io.cc (walk_tree): Fixed format.
2005-08-31 Marcel van der Boom <marcel@hsdev.com>
* std_hooks.lua (execute_confirm): New function.
(merge2_opendiff_cmd, merge3_opendiff_cmd): Add.
2005-08-31 Matthew Gregan <kinetik@orcon.net.nz>
* paths.cc (test_bookkeeping_path, test_system_path): Second
attempt at compile fixes; this time the unit tests actually pass
too.
2005-08-30 Matthew Gregan <kinetik@orcon.net.nz>
* paths.cc (test_bookkeeping_path, test_system_path): Shift object
instantiation around a little to work around what seems to be a
bug in the gcc 3.3 parser.
* win32/inodeprint.cc (inodeprint_file): Update to use new path
handling code.
* win32/fs.cc (tilde_expand): Compile fix.
2005-08-30 Petr Baudis <pasky@suse.cz>
* std_hooks.lua: Simple support for merging using merge(1) and vim.
2005-08-30 Benoît Dejean <benoit@placenet.org>
* po/fr.po: Updated French translation.
2005-08-30 Benoît Dejean <benoit@placenet.org>
* commands.cc: Merged some error messages.
2005-08-30 Benoît Dejean <benoit@placenet.org>
* commands.cc: Merged complete(..., file_id) and
complete(..., manifest_id) into template complete(..., ID).
2005-08-30 Benoît Dejean <benoit@placenet.org>
* commands.cc (ls_certs): Reworked for i18n.
(CMD(commit)): Merged 2 strings.
2005-08-30 Matthew Gregan <kinetik@orcon.net.nz>
* revision.cc (ensure_parents_loaded): Don't reuse an iterator
after we've invalidated it. Fixes 'diff' crash reported by Howard
Spindel.
2005-08-30 Matt Johnston <matt@ucc.asn.au>
* botan/allocate.cpp: avoid string comparison when looking up the
default allocator
* monotone.cc (cpp_main): set a default allocator
2005-08-28 Nathaniel Smith <njs@pobox.com>
* tests/t_attributes.at: Delete checkout dir in between
checkouts.
2005-08-28 Matt Johnston <matt@ucc.asn.au>
* keys.cc (keys_match): new function to compare whether two keys
match (ignoring whitespace as the database does, etc).
* packet.cc, keys.cc: use it for existing-key-comparison.
2005-08-27 Nathaniel Smith <njs@pobox.com>
* commands.cc (checkout): Special-case "checkout ."
* tests/t_checkout_dir.at: Test it.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* file_io.hh: Remove comment describing old path types.
* paths.hh: Add comment describing new path types.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* app_state.cc (create_working_copy): Remove
fs::filesystem_exception catching.
* file_io.hh (mkdir_p): Remove comment noting app_state.cc's
dependence on a boost-based implementation.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* paths.cc: Include <string>. Helps build on g++ 3.3?
2005-08-26 Nathaniel Smith <njs@pobox.com>
* commands.cc (get_log_message): Make the log message commentary a
little more descriptive for people who may not know what a log
message is...
(commit): When canceling a commit due to empty log message, say
so.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* std_hooks.lua: Check for both "vi" and "notepad.exe" as fallback
editors. If no editor was found, print a helpful message instead
of just running "vi" anyway. Print a message if the editor exited
with error.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* file_io.cc (mkdir_p, make_dir_for): Increase error checking.
* commands.cc (checkout): Make sure that checkout target directory
does not already exist. Also use system_path more uniformly.
* tests/t_checkout_dir.at: Test.
* tests/t_setup_existing_path.at: New test.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* commands.cc (read): Optionally take files on command line.
* tests/t_read_from_file.at, testsuite.at: New test.
* monotone.texi (Network Service): Show Jim using this.
(Packet I/O, Commands): Document.
* monotone.1: Likewise.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* change_set.cc (move_files_from_tmp_top_down): Typo again.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* database.cc (open): Convert stray line to paths.cc.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* change_set.cc (move_files_from_tmp_top_down): Typo.
* file_io.cc (move_path): New function.
(move_file, move_dir): Minor cleanup -- use
require_path_is_nonexistent.
* work.cc (build_deletions): Use delete_file, rather than unlink.
If file is already non-existent, do nothing.
(build_rename): Use move_path, rather than rename. If file
already appears to have been renamed, do nothing.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* app_state.cc (allow_working_copy): Make logging more sensible.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* transforms.cc (length):
* database.cc (sql, load, open):
* commands.cc (rename, attr):
* change_set.cc (move_files_to_tmp_bottom_up)
(move_files_from_tmp_top_down): Merge fixups.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* database_check.cc: Track and report on manifest and revision
parseability.
* tests/t_database_check_normalized.at: Update to expect "not
parseable" messages rather than "not normalized" messages.
All tests pass.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* tests/t_unreadable_MT.at: This test was called "do not fail on
unreadable MT/options". I do not know why we wanted such
behavior. I am making it "fail cleanly on unreadable
MT/options".
2005-08-26 Nathaniel Smith <njs@pobox.com>
* paths.cc (check_fp_normalizes_to, test_file_path_internal):
Oops, there were more places testing for non-brokenness; break
them too.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* paths.cc (test_split_join): Test that you cannot create a path
in MT by joining.
(file_path): Implement it.
(split): Break, to match broken behavior of old splitter (easier
than fixing change_set.cc...)
(file_path_internal): Test for brokenness accordingly.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* commands.cc (cat): Hack so that 'cat file REV PATH' works
correctly both inside and outside of working copy, interpreting
path slightly differently in each case.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* tests/t_normalized_filenames.at: Internal unnormalized pathnames
are no longer silently normalized, but rather a hard error.
Adjust test accordingly.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* paths.hh (file_path_internal_from_user): New constructor.
* paths.cc (test_file_path_internal): Test it.
(file_path::file_path): Implement it.
* commands.cc (cat): Use it to create/validate passed in
filenames.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* paths.cc (test_system_path): Require that system_path normalize
out ..'s.
(system_path): Do so.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* work.cc (build_additions): Remove redundant (and now wrong)
code.
Test 53 now passes.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* file_io.cc (make_dir_for): Oops, this doesn't need a
fs::native.
Test 37 now passes.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* file_io.cc (mkdir): New function. Now with extra brain-eating
power.
(mkdir_p, make_dir_for, delete_file, delete_dir_recursive)
(move_file, move_dir, write_data_impl): Use it, to make all
fs::path's native and disable boost's random rejection of paths.
2005-08-26 Nathaniel Smith <njs@pobox.com>
* paths.cc (test_file_path_external_prefix_a_b)
(test_file_path_external_no_prefix, test_file_path_internal): Test
for validity of more strange characters (,+@*%#$=).
2005-08-26 Nathaniel Smith <njs@pobox.com>
* file_io.cc (ident_existing_file): Remove accidentally-left-in
code. Test 26 now passes.
* lua.cc (monotone_includedir_for_lua, load_rcfile): Add
fs::native's.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* paths.hh (system_path::system_path): Add new boolean argument
controlling some access_tracker behavior.
* app_state.cc (allow_working_copy): Use it.
* paths.cc (system_path): Implement it.
(test_system_path): Test it.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* file_io.cc (walk_tree): Return properly.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* paths.cc (test_file_path_internal): Add tests for
file_path.empty().
* file_io.cc (walk_tree_recursive): Add explicit fs::native.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* paths.cc: Many small changes. Unit tests now pass. 72
unexpected autotest failures.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* paths.cc (file_path): Fix up error reporting in external path
normalization.
(test_file_path_external_no_prefix): "" is always an invalid
path.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* database.cc (sql): Only check schema version when db actually
exists.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* file_io.cc (read_data_for_command_line): We are given a
system_path.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* paths.cc: Fix all unit test failures, except for two mysterious
boost::too_few_args exceptions.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* paths.cc, unix/fs.cc: Many, many fixes and some new tests too.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* paths.cc (struct access_tracker): Doh, initializer should set
'initialized'...
(test_file_path_internal): It's valid for a split file
to have a null component if the file is "".
2005-08-25 Nathaniel Smith <njs@pobox.com>
* paths.cc (in_bookkeeping_dir): Last change didn't work out so
well; let's remove some negatives and see if I can understand what
the code does this way...
2005-08-25 Nathaniel Smith <njs@pobox.com>
* paths.cc (not_in_bookkeeping_dir): Handle "MT" case.
Update tests to make sure it sticks...
2005-08-25 Nathaniel Smith <njs@pobox.com>
* unit_tests.{cc,hh} (init_unit_test_suite): Remove
path_component_tests.
* unix/fs.cc (tilde_expand): Another compile fix.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* {unix,win32}/fs.cc: Misc. compile fixes.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* Makefile.am (UNIX_PLATFORM_SOURCES): Add unix/fs.cc
(WIN32_PLATFORM_SOURCES): Add win32/fs.cc
* paths.hh (bookkeeping_path): Implement default constructor.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* rcs_import.cc (import_cvs_repo):
* lua.cc (default_rcfilename):
* diff_patch.cc (get_version): Small compile fixes.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* paths.{cc,hh} (is_bookkeeping_path): New static method.
* file_io.cc (walk_tree_recursive): Use it. Now compiles.
paths.cc and file_io.cc now compile.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* file_io.cc (delete_dir_recursive): Implement.
Misc. compile fixes.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* file_io.cc (test_book_keeping_file): Remove.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* file_io.cc (walk_tree_recursive, walk_tree): Implement.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* paths.cc (const_system_path): Do tilde expansion.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* file_io.cc (read_localized_data, read_data_for_command_line)
(write_localized_data, write_data, write_data_impl): Implement.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* file_io.cc (read_data): Implement. Remove the base64<gzip<>>
versions.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* file_io.cc (move_file, move_dir): Implement.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* file_io.cc (assert_path_is_nonexistent, assert_path_is_file)
(assert_path_is_directory, require_path_is_nonexistent)
(require_path_is_file, require_path_is_directory)
(ident_existing_file, mkdir_p, make_dir_for, delete_file)
(delete_dir_recursive): Implement.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* Audit uses of 'file_exists', because its semantics have changed;
it now checks to see if a path exists and is a regular file,
rather than that it simply exists. A fair amount of code already
thought it meant that... other places now use 'path_exists'.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* file_io.cc (path_exists, directory_exists, file_exists):
Implement.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* platform.hh (get_path_status): New function.
* unix/fs.cc (get_path_status): Implement.
* win32/fs.cc (get_path_status): Implement inefficiently (does
win32 have stat?)
2005-08-25 Nathaniel Smith <njs@pobox.com>
* file_io.cc (get_homedir, tilde_expand, book_keeping_file)
(book_keeping_dir): Remove.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* platform.hh (get_homedir): New function.
* {win32,unix}/fs.cc (get_homedir): Expose.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* Minor compile fixes.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* platform.hh (tilde_expand): New function.
* win32/fs.cc, unix/fs.cc: Implement it.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* paths.cc: Many more fixes. Now compiles with and without unit
tests.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* paths.cc: Lots of compile fixes for unit tests.
Add a test for access_tracker.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* paths.cc: Many fixes. Now compiles.
2005-08-25 Nathaniel Smith <njs@pobox.com>
* paths.cc (system_path): Implement.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* paths.cc (fully_normalized_path): Use find_first_of.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* paths.cc (find_and_go_to_working_copy, save_initial_path)
(go_to_working_copy): Use new checked structure.
(operator <<): Make sure we can log our access_tracked values
without marking them as used.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* paths.cc (struct access_tracker): Add invariant checking on
lifetime usage of path roots.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* paths.hh (any_path::operator =): return *this.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* paths.{cc,hh}: More fixes.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* paths.{cc,hh}: Reorganize a bit. Implement file_path and
bookkeeping_path.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* paths.cc (file_path): Implement basic constructor.
Misc compile fixes.
Add single-character names to tests.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* paths.cc (go_to_working_copy): New function. Implement.
* app_state.cc (create_working_copy): Adjust accordingly.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* paths.cc (find_and_go_to_working_copy): Implement.
* app_state.cc (allow_working_copy): Adjust accordingly.
(relative_directory): Remove.
* file_io.cc (find_working_copy): Remove.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* paths.cc (save_initial_path): Update for previous changes.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* paths.cc (test_system_path): Add tests for the
from-any_path constructor. Add test for "~foo" handling.
Start cleaning up path roots.
* platform.hh: Note that get_current_working_dir() is
charset-broken (i.e., operations started inside non-utf8
directories are probably broken).
2005-08-24 Nathaniel Smith <njs@pobox.com>
* app_state.cc (allow_working_copy):
* change_set.cc (print_insane_change_set): Two more small compile
fixes.
All remaining compile errors are localized to unimplemented
paths.cc/file_io.cc functionality.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* database.cc (initialize): Missing ;.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* monotone.cc (cpp_main): Handle message_file right.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* change_set.cc (print_insane_path_rearrangement):
* database.cc (initialize):
* monotone.cc (cpp_main): More small compile fixes.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* file_io.hh
({assert,require}_path_is_{nonexistent,file,directory}): New
functions.
Use them everywhere.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* basic_io.hh: #include "paths.hh".
* monotone.cc (add_rcfile): Remove obsolete absolutification, etc.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* paths.hh (system_path): Add a from-any_path constructor.
* Makefile.am (MOST_SOURCES): Remove path_component.{cc,hh}.
* basic_io.hh (push_file_pair): New method.
* change_set.cc (print_insane_change_set)
(print_insane_path_rearrangement): Use it.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* paths.hh (any_path::as_internal): On second thought, return a
std::string, not a utf8 -- utf8 would be better, but should wait
for some more general charset handling cleanup.
* Adjust other files accordingly.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* More compile fixes. All remaing compile errors are real
problems, yay.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* Lots and lots more compile fixes.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* paths.hh, monotone.cc, app_state.hh, app_state.cc:
* unix/inodeprint.cc: More compile fixes.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* manifest.hh: Include paths.hh.
* file_io.hh: Fix syntax errors, and fixup interface.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* paths.hh, sanity.hh: Compilation fixes.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* paths.cc: Update tests to use path_state_* and pass utf8
objects.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* paths.hh (file_path_external): Take a utf8() object, always.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* paths.hh (class file_path): Make "convenience functions"
required.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* Switch rest of instances to using convenience functions.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* Switch many instances to using convenience functions.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* paths.hh (file_path_internal, file_path_external): Define
convenience functions.
(file_path, bookkeeping_path, system_path): Add default
constructors.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* app_state.cc, change_set.cc, change_set.hh, commands.cc:
* inodeprint.cc, manifest.cc, rcs_import.cc, restrictions.cc:
* work.cc: Audit all calls to file_path() to add internal/external
notation.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* app_state.cc: More paths.hh conversion.
(app_state::prefix): Remove.
* commands.cc: Remove uses of app.prefix.
* automate.cc (automate_attributes): Likewise.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* paths.hh (any_path::as_internal): On second thought, return a
utf8 object.
* app_state.cc (set_database): Take a system_path.
(set_pidfile): Likewise.
* monotone.cc (cpp_main): Pass one.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* file_io.hh (get_homedir): Return a system_path.
* app_state.hh (app_state): Make pidfile a system_path.
* sanity.hh (sanity::filename): Make a system_path.
* monotone.cc (cpp_main): Adjust accordingly.
* paths.hh (any_path): Add as_internal() to interface.
* paths.cc: Add roundtripping tests.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* platform.hh, unix/fs.cc, win32/fs.cc
(change_current_working_dir): Take an any_path, not a string.
* rcs_import.{cc,hh}: Convert to paths.hh.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* commands.cc (pid_file): Remove fs::path.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* mkstemp.cc (monotone_mkstemp): Remove references to fs::path.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* change_set.cc (apply_rearrangement_to_filesystem): Oops, missed
some local_path's.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* path_component.{cc,hh}: Delete.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* change_set.cc (move_files_to_tmp_bottom_up)
(move_files_from_tmp_top_down): Convert to paths.hh.
Whole file: stop using path_component.hh.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* paths.cc (test_bookkeeping_path): Oops, "" is an invalid
bookkeeping_path.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* lua.cc, paths.cc: Few more tweaks for previous change.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* paths.{cc,hh}: Add / operators. Make that the usual way to use
bookkeeping_path's.
* work.cc: Adjust accordingly.
* lua.cc (working_copy_rcfilename): Likewise.
* commands.cc (update): Likewise.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* paths.{cc,hh} (operator <<): Implement for any_paths.
* paths.hh (class bookkeeping_path): Note that current design is
bogus to remind myself to fix it tomorrow...
2005-08-23 Nathaniel Smith <njs@pobox.com>
* work.{hh,cc}: Convert to paths.hh.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* lua.{cc,hh}: Mostly convert to paths.hh. (Still uses boost::fs
internally for some directory iteration.)
* app_state.cc (load_rcfiles): Update accordingly.
* file_io.hh (path_state): De-templatify; take any_path instead of
a T.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* paths.cc (any_path): New base class.
(file_path, bookkeeping_path, system_path): Inherit from it.
* transforms.{hh,cc} (utf8_to_system): Actually, always take a
utf8 after all (but still have two return types).
2005-08-23 Nathaniel Smith <njs@pobox.com>
* transforms.cc: Convert to paths.hh.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* transforms.{cc,hh} (localized, localized_as_string): Remove.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* transforms.cc (utf8_to_system): Make fast.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* transforms.hh (utf8_to_system): Add a string->string version.
* transforms.cc (utf8_to_system): Implement it.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* paths.cc (localized_path_str): New function.
Fix some tests.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* commands.cc: Convert to paths.hh.
* mkstemp.cc (monotone_mkstemp): Likewise.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* vocab_terms.hh, vocab.cc: Remove file_path, local_path.
* database.{hh,cc}, monotone.cc: Convert to paths.hh.
* file_io.{hh,cc}: Start to convert to paths.hh.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* paths.{cc,hh} (fully_normalized_path): Implement.
(external_path): Rename to system_path.
Misc. other updates.
2005-08-21 Eric Anderson <anderse-monotone@cello.hpl.hp.com>
* file_io.cc, file_io.hh, lua.cc, std_hooks.lua: determine if a
file is binary by looking at it incrementally, rather than reading
it in entirely. Prepare for making it possible to control what
characters are considered "binary"
2005-08-20 Nathaniel Smith <njs@codesourcery.com>
* paths.cc (is_absolute): New function.
(file_path::file_path(vector<path_component>))
(file_path::split): Implement.
2005-08-20 Nathaniel Smith <njs@pobox.com>
* interner.hh (interner): Add a scary constructor that lets us
insert an initial value and assert that we already knew that the
value assigned to it would be. (This lets us make it an inlined
constant.)
2005-08-20 Nathaniel Smith <njs@pobox.com>
* paths.cc: Yet more tests.
2005-08-20 Nathaniel Smith <njs@pobox.com>
* paths.cc (save_initial_path): Implement.
Add more tests.
2005-08-20 Nathaniel Smith <njs@codesourcery.com>
* paths.{cc,hh}: New files.
* Makefile.am (MOST_SOURCES): Add them.
* unit_tests.hh (add_paths_tests): Declare.
* unit_tests.cc (init_unit_test_suite): Add them.
* platform.hh (get_current_working_dir)
(change_current_working_dir): New functions.
* {unix,win32}/fs.cc: New files.
2005-08-19 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Tutorial): Tweak wording, use --db at more
appropriate places.
2005-08-26 Richard Levitte <richard@levitte.org>
* database.cc (version): Revert the change done earlier, as it
aborted if the schema isn't the current one, rendering this method
useless.
2005-08-26 Matt Johnston <matt@ucc.asn.au>
* change_set.cc (check_depth, confirm_proper_tree):
more efficient algorithm to check for no loops
* constants.hh: new constant max_path_depth to limit
recursion in check_depth.
2005-08-26 Benoît Dejean <benoit@placenet.org>
* po/fr.po: Updated French translation.
2005-08-26 Richard Levitte <richard@levitte.org>
* options.hh, monotone.cc: Add the '--execute' command-specific
option.
* monotone.cc (cpp_main): ... and process it.
* app_state.hh (class app_state): Add the 'execute' boolean.
* app_state.cc (app_state): Initialise it.
* commands.cc (CMD(drop)): Add '--execute' capability.
* commands.cc (CMD(rename)): Add '--execute' capability. Pass
'app' to build_rename.
* work.hh, work.cc (build_deletions, build_rename): Do the actual
work. This required the addition of an app_state parameter to
build_rename.
* tests/t_drop_execute.at, tests/t_rename_execute.at: New tests.
* testsuite.at: Add them.
2005-08-26 Benoît Dejean <benoit@placenet.org>
* mt_version.cc (print_full_version): Merged strings.
* change_set.cc: No i18n for unittests. Wow, this saves
21 strings (total 781).
2005-08-25 Benoît Dejean <benoit@placenet.org>
* commands.cc (safe_gettext): New function.
(explain_usage): Used there to avoid _("").
2005-08-25 Benoît Dejean <benoit@placenet.org>
* sanity.{cc,hh} (sanity::do_format): Merged code from
sanity::{log, warning, progress} in order to merge
strings. Fixed exception rethrowing.
2005-08-25 Benoît Dejean <benoit@placenet.org>
* commands.cc (CMD(lca)): One more string for i18n.
(CMD(trusted)): Merged all strings.
2005-08-25 Benoît Dejean <benoit@placenet.org>
* po/fr.po: Updated French translation.
2005-08-25 Benoît Dejean <benoit@placenet.org>
* database.cc (database::version): Marked string for i18n
and simplifed.
(database::info): Reworked to merge all strings for i18n.
2005-08-25 Benoît Dejean <benoit@placenet.org>
* database.{cc,hh} (database::open, database::check_filename):
New functions to avoid error handling code and string duplicates.
2005-08-25 Matt Johnston <matt@ucc.asn.au>
* transform.cc ({int,ext}ernalize_rsa_keypair_id): don't
convert the username portion of key ids to/from ACE.
* tests/t_genkey.at: check that foo+bar@example.com works
and foobar@exam+ple.com doesn't.
2005-08-24 Benoît Dejean <benoit@placenet.org>
* database.cc (assert_sqlite3_ok): Somehow merged error messages.
2005-08-24 Benoît Dejean <benoit@placenet.org>
* change_set.cc (move_files_to_tmp_bottom_up): Better strings.
* keys.cc (generate_key_pair): Merged 2 strings.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* database.cc (assert_sqlite3_ok): Remove accidentally-left-in
format string argument.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* revision.cc (check_sane_history): Add MM's for calculated
changesets.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* database.cc (assert_sqlite3_ok): Don't print the raw sqlite
error code. Do add some auxiliary information when sqlite errors
are confusing.
2005-08-24 Nathaniel Smith <njs@pobox.com>
* Back out most changes since
b580c6ac5bf8eea1f442b8bddc60283b047ade1e. Handling charsets
properly by working in utf8 and then converting sucks. Problems
include
- gettext hates you (wants to return stuff in local charset)
- strerror hates you (same reason, but you can't turn it off)
- can't report charset conversion errors
We thus return to our "sorta-correct, by accident" status quo.
Only change left in is signedness fix in
5548868ab56d939c1fd8713aa2ac8caacd1184a1.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* ui.cc (sanitize): Fix signedness bug in comparison.
* unix/unix.{cc,hh}: New files.
* Makefile.am (UNIX_PLATFORM_SOURCES): Add them.
* unix/process.cc (is_executable, make_executable): Use new
function last_error.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* transforms.{cc,hh} (system_charset): Expose.
* monotone.cc (cpp_main): Use it to fiddle with gettext's charset
conversion and make --help output actually correct.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* transforms.cc (outprep): Don't sanitize all output; removes too
many valid characters (\r, \t, etc.).
* ui.cc: Call outprep on ticker output.
(inform): Do still sanitize ui.inform() output.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* transforms.cc (outprep): New function.
* ui.cc (inform): Use it.
* monotone.cc (cpp_main): Use it.
Everything that writes user-intended output directly (i.e., via
cout) must call outprep() on that data before printing it.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* monotone.cc (cpp_main): Trick popt into converting its generated
help messages into the current locale's charset.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* ui.cc (inform, sanitize): Convert all output from utf8 to
current locale's charset.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* monotone.cc (cpp_main): Use bind_textdomain_codeset to request
that all gettext'ed strings be returned in UTF-8.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* idna/nfkc.c (g_utf8_strlen): Expose.
* transforms.{cc,hh} (length): New function.
* ui.cc (write_ticks): Use length() instead of .size() to
calculate string widths; should support multibyte characters
better. (Still some problems relating to truncating strings to
avoid overflow -- calculate truncation by length, but perform
truncation by bytes...)
2005-08-24 Benoît Dejean <benoit@placenet.org>
* po/fr.po: Updated French translation.
2005-08-24 Benoît Dejean <benoit@placenet.org>
* monotone.cc:
* commands.cc: Two more i18n strings.
2005-08-23 Benoît Dejean <benoit@placenet.org>
* lua.cc: boost::format vs. F.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* AUTHORS: Add Benoît Dejean <benoit@placenet.org>. Create new
section for translators. Add Benoît there too.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* commands.cc: N_("") -> "".
2005-08-23 Nathaniel Smith <njs@pobox.com>
* commands.cc: Make all CMD() calls use N_() instead of _().
(commands): Insert _() everywhere usage strings are used. This is
icky.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* keys.cc (get_passphrase): Put back trailing ": " removed in
recent i18n changes.
2005-08-23 Benoît Dejean <benoit@placenet.org>
* change_set.cc (dump_change_set): boost::format instead of F.
* commands.cc (get_log_message, notify_if_multiple_heads,
complete, CMD(attr)): Marked some strings for i18n. Replaced a
multiline string by prefix_lines_with(). Merged strings.
* diff_patch.cc (merge_provider::try_to_merge_files): Merged
strings.
* i18n.h: N_() stands for gettext_noop(), not plural.
* keys.cc (get_passphrase): Fixed string surgery.
* netsync.cc: i18nized tickers' labels. Added xgettext comment
as tickers do not play well with multibytes characters (like é).
(session::analyze_attachment): Fixed string surgery.
(session::process_hello_cmd): Merged many strings.
(session::process_data_cmd): Removed some leading/trailing
whitespaces.
* sanity.cc: Marked error prefixes for i18n.
* ui.cc (tick_write_count::write_ticks): Reworked and fixed
surgery. Merged some strings.
2005-08-23 Benoît Dejean <benoit@placenet.org>
* commands.cc (CMD*): _("") -> "" as _("") returns the PO
header.
2005-08-23 Benoît Dejean <benoit@placenet.org>
* transforms.cc (check_idna_encoding): No i18n for unittests.
2005-08-23 Benoît Dejean <benoit@placenet.org>
* change_set.cc (dump_change_set): boost::format instead of F.
* commands.cc (get_log_message, notify_if_multiple_heads,
complete, CMD(attr)): Marked some strings for i18n. Replaced a
multiline string by prefix_lines_with(). Merged strings.
* diff_patch.cc (merge_provider::try_to_merge_files): Merged
strings.
* i18n.h: N_() stands for gettext_noop(), not plural.
* keys.cc (get_passphrase): Fixed string surgery.
* netsync.cc: i18nized tickers' labels. Added xgettext comment
as tickers do not play well with multibytes characters (like é).
(session::analyze_attachment): Fixed string surgery.
(session::process_hello_cmd): Merged many strings.
(session::process_data_cmd): Removed some leading/trailing
whitespaces.
* sanity.cc: Marked error prefixes for i18n.
* ui.cc (tick_write_count::write_ticks): Reworked and fixed
surgery. Merged some strings.
2005-08-23 Benoît Dejean <benoit@placenet.org>
* netcmd.cc (test_netcmd_functions): Don't translate unittest
strings.
* rcs_import.cc (cvs_commit::cvs_commit):
* database.cc (version_cache::put):
* lua.cc (dump_stack): boost::format vs. F for strings that are
not messages.
2005-08-23 Benoît Dejean <benoit@placenet.org>
* xdelta.cc: Don't translate unittest strings.
2005-08-23 Matthew Gregan <kinetik@orcon.net.nz>
* monotone.texi: Bring 'update' syntax up to date.
2005-08-23 Nathaniel Smith <njs@pobox.com>
* tests/t_diff_external.at: --diff-args without --external is an
error.
* commands.cc (diff): Likewise.
2005-08-22 Nathaniel Smith <njs@pobox.com>
* contrib/ciabot_monotone.py (send_change_for): Handle author
names with spaces in.
2005-08-22 Matt Johnston <matt@ucc.asn.au>
* HACKING: change the vim modeline to something that seems to work
better.
2005-08-23 Olivier Andrieu <oliv__a@users.sourceforge.net>
* contrib/monotone.el: When running monotone commands, re-use
*monotone* buffers. Make the "status" command use the prefix
argument. Make the "tree"-restricted commands work in dired
buffers. Add the "--no-merges" option in the log command. Various
other innocuous changes.
2005-08-22 Nathaniel Smith <njs@pobox.com>
* mt_version.cc (print_full_version): Typo.
2005-08-22 Nathaniel Smith <njs@pobox.com>
* mt_version.cc: Include sanity.hh.
2005-08-22 Nathaniel Smith <njs@pobox.com>
* netsync.cc (process_error_cmd, run_netsync_protocol): Remove
some newlines to avoid translation noise.
2005-08-22 Nathaniel Smith <njs@pobox.com>
* po/LINGUAS, po/ja.po: Remove ja translation again, it seems to
be corrupt.
2005-08-22 Nathaniel Smith <njs@pobox.com>
* commands.cc (update): Don't use F() to indent things.
2005-08-22 Nathaniel Smith <njs@pobox.com>
* commands.cc (dump_diffs): Don't use F() to create diff headers.
(commands::process): Put '' in the log message to make Benoît
Dejean happy ;-).
2005-08-22 Nathaniel Smith <njs@pobox.com>
* po/LINGUAS, po/ja.po: Add Japanese translation by Satoru SATOH.
2005-08-20 Benoît Dejean <benoit@placenet.org>
* po/monotone.pot: Remove from version control.
* po/POTFILES.skip: New file.
* po/fr.po: French translation (initial version).
* po/LINGUAS: Add fr.
2005-08-22 Nathaniel Smith <njs@pobox.com>
* commands.cc (read): Use FP (thanks to Benoît Dejean for
catch).
* mt_version.cc (print_version, print_full_version): Mark more
strings for i18n (also thanks to Benoît Dejean).
2005-08-22 Nathaniel Smith <njs@pobox.com>
* commands.cc (commands): Revert previous changes, xgettext is
buggy.
Mark every CMD() string argument with _().
* i18n.h, Makefile.am: New file.
* sanity.hh: Include it.
* po/Makevars (XGETTEXT_OPTIONS): Learn about _() and N_() as
markers.
2005-08-22 Nathaniel Smith <njs@pobox.com>
* commands.cc (commands): Oops, can't call gettext on a
std::string...
2005-08-22 Nathaniel Smith <njs@pobox.com>
* monotone.cc (coptions, options): Use gettext_noop to mark usage
strings for i18n.
* commands.cc (commands): gettextify command descriptions
* po/Makevars (XGETTEXT_OPTIONS): Include the 2nd, 3rd, and 4th
arguments to CMD macro as translatedable strings.
2005-08-22 Nathaniel Smith <njs@pobox.com>
* database.cc: Replace a bunch of F()'s by boost::format's,
because F is only for strings displayed to user.
2005-08-22 Nathaniel Smith <njs@pobox.com>
* po/Makevars (XGETTEXT_OPTIONS): Extract FP'ed strings.
2005-08-22 Nathaniel Smith <njs@pobox.com>
* sanity.hh (FP): New macro. Usage:
FP("frobbed %i bar", "frobbed %s bars", num_bars) % num_bars
2005-08-22 Richard Levitte <richard@levitte.org>
* contrib/monotone-import.pl: When temporarly touching files that
have disappeared since last import, don't forget to create
intermediary directories as well (and to remove them later on).
Make sure all file arguments are quoted. Finally, pick up the
newly created revision by reading MT/revision instead of relying
on backquotes working.
Notofication and initial correction submitted by
BigFish <bigfische@gmail.com>.
2005-08-20 Matthew Gregan <kinetik@orcon.net.nz>
* revision.hh: Delete doubled line of text in comment.
2005-08-20 Benoît Dejean <benoit@placenet.org>
* monotone.cc (cpp_main): setlocale(LC_ALL).
* commands.cc (dropkey): Unify warning into a single string.
2005-08-20 Nathaniel Smith <njs@codesourcery.com>
* contrib/monoprof.sh (test_commit): Kernel tarball unpacks to
linux-$KVER/, not $KVER/.
2005-08-19 Nathaniel Smith <njs@codesourcery.com>
* contrib/monoprof.sh (SETUP): Put netsync hooks in the default
hook file.
2005-08-19 Nathaniel Smith <njs@codesourcery.com>
* contrib/monoprof.sh: Give a sensible error message if $DATADIR
doesn't exist.
2005-08-20 Matt Johnston <matt@ucc.asn.au>
* database.cc (put_revision): uncomment check_sane_history call
(was accidentally committed commented out)
2005-08-19 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Tutorial): Tweak wording, use --db at more
appropriate places.
2005-08-19 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_crlf.at: Adjust expected line count to accomodate diff
output change.
* commands.cc (CMD(diff)): Include base revision ID in diff output
header when diffing against working copy. Useful to identify what
revision a patch was created against.
* std_hooks.lua (ignore_file): Ignore Visual SourceSafe junk.
2005-08-18 Timothy Brownawell <tbrownaw@gmail.com>
* std_hooks.lua: accept_testresult_change now only cares about
testresults listed in MT/wanted-testresults
2005-08-18 Matthew Gregan <kinetik@orcon.net.nz>
* INSTALL: Remove outdated references to configure options and
Solaris build workarounds.
* configure.ac: Lower gettext requirement from 0.12.1 to 0.11.5.
2005-08-17 Timothy Brownawell <tbrownaw@gmail.com>
* sanity.cc (gasp()): When catching an error from dumping a MM'd
variable, do not discard output generated prior to the error. This
way, at least the header line (function name, file, line no.) is
printed.
* change_set.cc: write_insane_change_set: new function to write a
change set without sanity checking it, now used by dump().
2005-08-17 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* unix/process.cc: missing include
* m4/fexceptions.m4, configure.ac, Makefile.am: remove hardcoded
-fexceptions in CFLAGS and add it only if compiler doesn't freak
out.
2005-08-17 Nathaniel Smith <njs@pobox.com>
* work.cc (build_additions): Tweak wording.
2005-08-17 Nathaniel Smith <njs@pobox.com>
* netsync.cc: Add IANA port assignment to the todo list.
2005-08-17 Nathaniel Smith <njs@pobox.com>
* unix/process.cc (make_executable): Open the fd read-only, avoids
problems with read-only files, and a writeable fd doesn't seem to
be necessary to change permission bits.
2005-08-17 Nathaniel Smith <njs@pobox.com>
* unix/process.cc (is_executable, make_executable): When reporting
an error in a syscall, include the actual error message.
2005-08-17 Nathaniel Smith <njs@pobox.com>
* lua.cc (dump_stack): New function.
(Lua::fail): New method; use above.
(get, get_fn, get_tab, get_str, get_num, get_bool, extract_str)
(extract_int, extract_double, extract_bool, begin, next, pop): Use
it, to give better logging.
2005-08-17 Nathaniel Smith <njs@pobox.com>
* Makefile.am (lib3rdparty_a_CFLAGS): Build 3rd party C code with
-fexceptions.
2005-08-17 Matthew Gregan <kinetik@orcon.net.nz>
* win32/process.cc: Slightly smarter argv->cmdline munging.
* std_hooks.lua: Merge hooks for TortoiseMerge (part of
TortoiseSVN).
2005-08-17 Nathaniel Smith <njs@pobox.com>
* lua.cc (lua_hooks): Re-enable panic thrower, we no longer
support Lua 4.
2005-08-16 Nathaniel Smith <njs@pobox.com>
* netsync.cc: Add more netsync todos.
2005-08-15 Nathaniel Smith <njs@pobox.com>
* tests/t_explicit_merge_with_anc.at: New test.
* testsuite.at: Add it.
2005-08-15 Nathaniel Smith <njs@pobox.com>
* tests/t_log_brief.at: New test.
* testsuite.at: Add it.
2005-08-15 Nathaniel Smith <njs@pobox.com>
* commands.cc (fcommit): Remove. This command has never been
documented, tested, or maintained; it also doesn't avoid the use
of temporary files (which was supposed to be its purpose). Has it
ever actually been used...?
2005-08-15 Nathaniel Smith <njs@pobox.com>
* lua.cc (hook_init_attributes): Do more logging; use begin()
instead of starting iteration by hand.
2005-08-15 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* testsuite.at, tests/*.at: make testsuite less demanding:
- QGREP() and QEGREP() provide a portable [e]grep -q
- export FOO=bar -> FOO=bar; export FOO
- tail -n $x -> TAIL($x) with appropriate macro
2005-08-15 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* m4/typeof.m4: new test, looks if compiler knows the typeof()
extension
* configure.ac: use it
* sanity.hh: use the test, and boost's abstraction over
__PRETTY_FUNCTION__ and similar pseudo-macros
2005-08-15 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* configure.ac (BOOST_FIX_VERSION): only apply that fix on gcc.
2005-08-14 Nathaniel Smith <njs@pobox.com>
* configure.ac (BOOST_VERSION_CHECK, BOOST_FIX_VERSION): Fix for
cross-compilation. (Thanks to John Bowler <jbowler@acm.org>.)
2005-08-14 Matthew Gregan <kinetik@orcon.net.nz>
* testsuite.at: Don't use agraph.
* Makefile.am: Minor cleanups.
2005-08-13 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* botan/gzip.cpp, botan/mutex.cpp: c functions via c* headers need
std:: prefix
2005-08-13 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* schema_migration.cc (lowercase): it's only used for processing sha1
values whos size we know: make array size constant
* transforms.cc (encode_hexenc, decode_hexenc): they have to work with
all kinds of string sizes, so at least make them nicer by using
boost::scoped_array
2005-08-13 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* revision.cc: make copy constructor of revision_set behave like
normal constructor in case it's copying a freshly created object
2005-08-13 Nathaniel Smith <njs@pobox.com>
* testsuite.at: Use SEGV to kill netsync servers, in hopes it will
give better coverage information.
2005-08-13 Julio M. Merino Vidal <jmmv@NetBSD.org>
* configure.ac: Remove an obsolete check to see if SQLite was
bundled or not, because the bundled version has been used
exclusively for quite some time.
2005-08-13 Julio M. Merino Vidal <jmmv@NetBSD.org>
* database_check.cc: Remove trailing newline from error messages
when embedding them inside other strings, so that the trailing
closing parenthesis is printed correctly.
2005-08-13 Julio M. Merino Vidal <jmmv@NetBSD.org>
* configure.ac: Add '-mt' as another possible suffix to detect the
Boost libraries. It's very common when these libraries are built
with the "native naming layout".
2005-08-13 Nathaniel Smith <njs@pobox.com>
* monotone.1, monotone.texi: Don't mention agraph.
* tests/t_netsync_repeated.at: Don't use agraph.
* tests/t_netsync_unrelated.at: Likewise.
2005-08-13 Nathaniel Smith <njs@pobox.com>
* commands.cc (agraph): Remove.
2005-08-13 Nathaniel Smith <njs@pobox.com>
* tests/t_commit_log_writeback.at: New test.
* testsuite.at: Add it.
2005-08-12 Nathaniel Smith <njs@pobox.com>
* commands.cc (commit): When user uses --message or
--message-file, don't require non-empty logs, and don't write out
message to MT/log. (This makes re-running a 'commit -m foo'
command line until it works possible; otherwise the second try
will get a 'MT/log non-empty and -m supplied' error.)
2005-08-11 Nathaniel Smith <njs@pobox.com>
* netsync.cc: Add a list of ideas for improvement that will break
network compatibility and thus perhaps should go together.
2005-08-11 Nathaniel Smith <njs@pobox.com>
* tests/t_commit_message_file.at: Un-double file contents.
2005-08-11 Nathaniel Smith <njs@pobox.com>
* lua.cc (ok, extract_str, extract_int, extract_double)
(extract_bool): Add more logging.
2005-08-11 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* INSTALL: remove section about crypto++ on solaris
* config.rpath, mkinstalldirs, po/Makefile.in.in,
various files in m4, ABOUT-NLS:
remove as they're autogenerated
* hash_map.hh, m4/gnucxxhashmap.m4, m4/stlporthashmap.m4:
new files, abstraction over hash_map differences in STL impls.
* m4/externtemplate.m4: new file, check if compiler is happy
with "extern template"
* configure.ac: hook up the new autoconf tests
* Makefile.am: remove -Wall
* botan/gzip.cpp, botan/mutex.cpp: add includes
* constants.*: move values to .hh if used for array sizes
* interner.hh, xdelta.cc: use hash_map.hh
* merkle_tree.cc, unix/inodeprint.cc: make array size truly
constant
* sanity.hh: work-around for missing typeof() and
__PRETTY_FUNCTIONS on non-gcc compilers
* schema_migration.cc, transforms.cc: moved dynamically
initialized array to heap
* transforms.hh, vocab.hh: use externtemplate autoconf test
2005-08-10 Matthew Gregan <kinetik@orcon.net.nz>
* monotone.spec: include zlib-devel and texinfo as build
requirements, zlib as a runtime requirement.
2005-08-09 Eric Anderson <anderse-monotone@cello.hpl.hp.com>
* tests/perf-test.sh: A repeatable performance test harness
* tests/parse-accounting.pl: A script that parses the accounting
output into a nice tabular format
2005-08-09 Eric Anderson <anderse-monotone@cello.hpl.hp.com>
* Changes to significantly improve network pull performance
* string_queue.hh: created to store pending data and allow for
efficient removal from the front. The string queue automatically
reduces its buffer size if it is very empty.
* hmac.{cc,hh}: Add in a version of chained_hmac::process that can
operate on a string_queue for use during read.
* netcmd.{cc,hh}: update netcmd::read to use a string_queue rather
than a string, update all the regression tests also. This required
the somewhat ugly creation of a read_string function because the
netcmd read and write functions are no longer using the same type.
* netio.hh: introduce functions for operating on a string_queue. They
are identical to the equivalent string functions except for the type
of the argument.
* netsync.cc: Use a string_queue rather than a string for storing the
input and output buffers.
* string_queue.cc: unit tests (Matt Johnston)
2005-08-09 Richard Li <richardl@redhat.com>
* std_hooks.lua (merge2, merge3): explain a little better why
monotone can't find a merge command.
2005-08-09 Nathaniel Smith <njs@pobox.com>
* commands.cc (update): Fix helpful error message to suggest
_current_ commandline syntax.
2005-08-09 Olivier Andrieu <oliv__a@users.sourceforge.net>
* contrib/monotone.el: a couple of fixes spotted by the compiler
* Changelog, contrib/colorize: utf8ize
2005-08-09 Nathaniel Smith <njs@pobox.com>
* NEWS: Put a time in.
* po/monotone.pot: Regenerate.
2005-08-08 Nathaniel Smith <njs@pobox.com>
* configure.ac, monotone.spec, debian/changelog:
* win32/monotone.iss: Bump version number.
2005-08-08 Nathaniel Smith <njs@pobox.com>
* UPGRADE: Fix title.
* NEWS: Add --lca.
2005-08-08 Nathaniel Smith <njs@pobox.com>
* commands.cc (merge, propagate): Take --lca.
* options.hh: Add OPT_LCA.
* monotone.cc (coptions, cpp_main): Support it it.
* app_state.{hh,cc} (app_state::usa_lca): New variable.
* revision.cc (find_common_ancestor_for_merge): Use LCA if user
passed --lca.
* tests/t_merge_lca.at: New test.
* testsuite.at: Add it.
* monotone.texi (Tree): Document --lca.
2005-08-08 Nathaniel Smith <njs@pobox.com>
* NEWS: First-pass for 0.22 release.
* UPGRADE: Likewise.
2005-08-08 Nathaniel Smith <njs@pobox.com>
* Makefile.am (BOTAN_SOURCES): Add botan headers.
* po/monotone.pot: Regenerate.
2005-08-07 Nathaniel Smith <njs@pobox.com>
* netsync.cc (rebuild_merkle_trees, insert_with_parents): Make a
ticker for added revisions, since traversing the tree to pull in
ancestors causes a noticeable pause before the cert/key tickers
start up.
(insert_with_parents): Also simplify logic.
2005-08-07 Nathaniel Smith <njs@pobox.com>
* commands.cc (pull): Clarify what the "doing anonymous pull"
message means and what you might do about it.
2005-08-07 Nathaniel Smith <njs@pobox.com>
* monotone.texi (Network Service, Hooks): Document
get_netsync_read_permitted as getting a nil value on anonymous
connects.
* lua.{cc.hh} (hook_get_netsync_anonymous_read_permitted):
Remove. Replace with 1-argument version of
hook_get_netsync_write_permitted.
* netsync.cc (process_anonymous_cmd): Update.
* tests/t_netsync_permissions.at: Likewise.
2005-08-07 Matthew Gregan <kinetik@orcon.net.nz>
* botan/{data_snk,es_file}.cpp: Open fstreams in binary mode.
These changes, plus the same change for data_src.cpp and
es_ftw.cpp, have been sent upstream.
2005-08-05 Nathaniel Smith <njs@pobox.com>
* commands.cc (commit): Write out the log message to MT/log
_after_ making sure it's non-empty.
* tests/t_commit_cancelled.at: New test.
* testsuite.at: Add it.
2005-08-04 Nathaniel Smith <njs@pobox.com>
* netsync.cc (rebuild_merkle_trees): Typo.
2005-08-04 Nathaniel Smith <njs@pobox.com>
* netsync.cc (rebuild_merkle_trees): Tweak message ("rebuilding
merkle trees" does not mean anything to J. Random User...)
2005-08-04 Nathaniel Smith <njs@pobox.com>
* manifest.cc (build_restricted_manifest_map): In 'missing files'
error message, explain how to recover.
2005-08-03 Nathaniel Smith <njs@pobox.com>
* testsuite.at (NETSYNC_ADDRESS): New macro.
(NETSYNC_SERVE_N_START, NETSYNC_SERVE_START)
(NETSYNC_CLIENT_N_RUN): Use it.
* tests/t_netsync_checks_server_key.at: Make sure can unset the
known-servers entry.
2005-08-03 Matthew A. Nicholson <matt@matt-land.com>
* std_hooks.lua (get_preferred_merge2_command)
(get_preferred_merge3_command): Provide more information on how to
use vim as merge tool.
2005-08-03 Graydon Hoare <graydon@pobox.com>
* unix/process.cc (make_executable): Fix race, set user/group/other.
2005-08-03 Matthew Gregan <kinetik@orcon.net.nz>
* botan/data_src.cpp (DataSource_Stream::DataSourceStream): Open
fstream as binary file.
2005-08-03 Matthew Gregan <kinetik@orcon.net.nz>
* win32/inodeprint.cc: Botan changes. Also, hash individual
FileTime structure members rather than the entire structure.
* keys.cc: Add explicit 'using' for Botan::byte.
* botan/es_win32.{cpp,h}: Add missing files.
* Makefile.am: Enable entropy collection via CryptoAPI and Win32
API.
2005-08-02 Matt Johnston <matt@ucc.asn.au>
* botan/gzip.cpp: forgot to commit some semicolons
2005-08-02 Matt Johnston <matt@ucc.asn.au>
* botan/gzip.{cpp,h}: rearranged the code to be clearer.
2005-08-01 Nathaniel Smith <njs@pobox.com>
* netsync.cc (get_branches): Remove warning when there are no
branches.
2005-07-29 Nathaniel Smith <njs@pobox.com>
* globish.cc (matcher::operator()): Log what's happening.
(checked_globish_to_regex_test): Fix previously added test.
2005-07-29 Nathaniel Smith <njs@pobox.com>
* globish.cc (checked_globish_to_regex_test): Add another test for
quoted characters.
2005-07-28 Nathaniel Smith <njs@pobox.com>
* update.cc (calculate_update_set): Only include current rev in
update set if it is an acceptable candidate.
* commands.cc (update): Clarify error message in this case.
* tests/t_update_branch.at: Update accordingly.
2005-07-28 Matthew Gregan <kinetik@orcon.net.nz>
* monotone.spec: Require boost >= 1.32.
2005-07-27 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_merge_add_del.at: 'drop' does not take a branch (test
now fails in expected place).
* tests/t_merge_add_rename_add.at: New test.
* testsuite.at: Add it.
2005-07-27 Nathaniel Smith <njs@pobox.com>
* tests/t_update_branch.at: New test.
* testsuite.at: Add it.
(REVERT_TO): Do not preserve MT/options file (can setup invalid
branch).
* app_state.cc (make_branch_sticky): Call write_options when
already have a working copy.
* commands.cc (update): Call make_branch_sticky at appropriate
time.
2005-07-27 Nathaniel Smith <njs@pobox.com>
* commands.cc: ALIAS(mv, rename). ALIAS(rm, drop).
2005-07-26 Nathaniel Smith <njs@pobox.com>
* change_set.cc (dump): Add state_renumbering dumper.
(merge_disjoint_analyses): Add MM().
2005-07-26 Nathaniel Smith <njs@pobox.com>
* change_set.cc (dump): Add path_analysis dumper.
(merge_change_sets): Add more MM()s.
2005-07-26 Nathaniel Smith <njs@pobox.com>
* change_set.cc (dump): Add path_state dumper.
(sanity_check_path_state): Add MM().
2005-07-26 Richard Levitte <richard@levitte.org>
* revision.cc (check_sane_history): Convert tabs to the
appropriate amount of spaces.
2005-07-26 Richard Levitte <richard@levitte.org>
* sanity.hh, revision.cc (check_sane_history),
change_set.cc (concatenate_change_sets, merge_change_sets,
invert_change_set): Because boost currently uses the symbol M, we
have a clash. Therefore, let's rename M to MM, for now.
2005-07-26 Richard Levitte <richard@levitte.org>
* commands.cc (CMD(privkey)): Change so both the public and
private key are printed.
* tests/t_dropkey_2.at, tests/t_lua_privkey.at: Adapt to the new
private key format.
2005-07-24 Nathaniel Smith <njs@pobox.com>
* sanity.cc (MusingI, ~MusingI): No-op when already in the middle
of dumping.
2005-07-25 Matthew Gregan <kinetik@orcon.net.nz>
* Makefile.am, configure.ac: Remove BUNDLED_{LUA,SQLITE} tests and
clarify the comment for popt. Using external versions of these
tools didn't work anyway, so there's no point giving the
impression that it might.
2005-07-24 Nathaniel Smith <njs@pobox.com>
* sanity.cc (gasp): Handle the possibility of multiple valid calls
to gasp(), 'db check' can trigger multiple invariants without
dying.
2005-07-24 Nathaniel Smith <njs@pobox.com>
* sanity.{hh,cc} (sanity::already_dumping, gasp): Don't let gasp
be called recursively, in case a dump triggers an invariant.
2005-07-24 Nathaniel Smith <njs@pobox.com>
* sanity.cc (gasp): Make more robust against new errors triggered
during error unwind. (write_change_set in particular likes to
blow up when handling in invalid change_set.)
2005-07-24 Nathaniel Smith <njs@pobox.com>
* change_set.cc (merge_change_sets, check_sane)
(concatenate_change_sets, invert_change_set): Add M()s.
2005-07-24 Nathaniel Smith <njs@pobox.com>
* sanity.{hh,cc} (dump): Remove templated version, add std::string
version.
* vocab.{hh,cc} (dump): Add ATOMIC/DECORATE/ENCODING dumpers.
* change_set.{hh,cc} (dump): Add change_set dumper.
* manifest.{hh,cc} (dump): Add manifest_map dumper.
* revision.cc (check_sane_history): Add some M()s.
2005-07-24 Nathaniel Smith <njs@pobox.com>
* sanity.hh (class Musing, gasp, dump): Actually, take a
std::string instead of a std::ostream; fits our idioms better.
2005-07-24 Nathaniel Smith <njs@pobox.com>
* sanity.cc (log, progress, warning): Append '\n' to strings when
necessary.
(gasp): Save string properly.
(M): Apply black magic. Now works correctly.
(dump): Write newline.
2005-07-24 Nathaniel Smith <njs@pobox.com>
* sanity.hh (dump): Add a default 'dump' implementation for all
<<able objects.
2005-07-24 Nathaniel Smith <njs@pobox.com>
* constants.{cc,hh} (default_terminal_width): New constant.
* ui.cc (guess_terminal_width): Use it.
2005-07-24 Nathaniel Smith <njs@pobox.com>
* diff_patch.cc (unidiff_append_test): Fix typo.
2005-07-24 Nathaniel Smith <njs@pobox.com>
* tests/t_annotate_no_rev.at: New test.
* testsuite.at: Add it.
2005-07-24 Nathaniel Smith <njs@pobox.com>
* sanity.{hh,cc} (sanity, dump_buffer, invariant_failure)
(index_failure, MusingI, Musing, M): Implement macro M(), for
'musing', which marks data that monotone was musing over when an
invariant tripped.
* Makefile.am (MOST_SOURCES): Fix spacing.
2005-07-23 Nathaniel Smith <njs@pobox.com>
* ui.{hh,cc} (guess_terminal_width): New function.
(tick_write_dot::chars_on_line): Make unsigned to quiet gcc warning.
(tick_write_dot::write_ticks): Use guess_terminal_width.
* commands.cc (dump_diffs): Take full responsibility for printing
=== lines, and use guess_terminal_width.
* diff_patch.cc (make_diff): Don't print === lines.
(unidiff_append_test): Adjust accordingly.
2005-07-23 Matthew Gregan <kinetik@orcon.net.nz>
* commands.cc (CMD(annotate)): Check for a valid revision before
trying to fetch it from the database.
* lua/lundump.[ch], lua/ldump.c: Rename VERSION and VERSION0 to
LUA_DUMP_VERSION and LUA_DUMP_VERSION0 to avoid clashes with
VERSION from config.h.
2005-07-22 Nathaniel Smith <njs@pobox.com>
* monotone.texi (Committing Work): Remove discussion of manifests.
2005-07-20 Nathaniel Smith <njs@pobox.com>
* netsync.cc (rebuild_merkle_trees): Make 'including branch'
message L() instead of P(); it's nice information, but too much to
be useful with large databases.
2005-07-22 Matt Johnston <matt@ucc.asn.au>
* database_check.cc: check that revisions and manifests
are normalised to the same for that they would be written as.
* tests/t_database_check_normalized.at: a test for it.
* testsuite.at: add it.
2005-07-21 Richard Levitte <richard@levitte.org>
* contrib/monotone-import.pl: Now uses the given tag.
2005-07-20 Marcel van der Boom <marcel@hsdev.com>
* database.{cc,hh} (get_branches): New method.
* commands.cc (ls_branches): Use it.
* netsync.cc (get_branches): Likewise.
* tests/t_ls_branches.at: New test.
* testsuite.at: Add it.
2005-07-20 Nathaniel Smith <njs@pobox.com>
* commands.cc (db): Rename kill_branch_locally to
kill_branch_certs_locally.
* tests/t_db_kill_branch_locally.at: Rename to...
* tests/t_db_kill_branch_certs_locally.at: ...this. Update.
* testsuite.at: Update.
* monotone.texi (Database): Update.
2005-07-19 Nathaniel Smith <njs@pobox.com>
* schema_migration.cc (migrator::migrate): Add a check for schemas
that are just... wrong.
* tests/t_migrate_broken_schema.at: New test.
2005-07-19 Nathaniel Smith <njs@pobox.com>
* netcmd.cc (read): Make the bad HMAC error message clearer.
2005-07-19 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_diff_external.at: Canonicalise output for Win32.
2005-07-18 Nathaniel Smith <njs@pobox.com>
* keys.cc (get_passphrase): Do still error out if they keep typing
empty passphrases.
2005-07-18 Richard Levitte <richard@levitte.org>
* database.cc: Move the inclusion of stdarg.h...
* database.hh: ... here.
2005-07-18 Matt Johnston <matt@ucc.asn.au>
* keys.cc (get_passphrase): don't bomb out if they type an empty passphrase.
2005-07-18 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* work.cc, manifest.cc: Remove 'using namespace boost'.
2005-07-18 Nathaniel Smith <njs@pobox.com>
* netsync.cc (received_items): New instance variable.
(session::session): Initialize it.
(note_item_arrived): Maintain it.
(item_request_outstanding): Rename it to...
(item_already_received): ...this, and have it check both
outstanding and fulfilled requests.
(queue_send_data_cmd, queue_send_delta_cmd): Call it via new
name.
Hopefully this will eliminate cases where "revs in" is larger than
"revs written".
2005-07-17 Nathaniel Smith <njs@pobox.com>
* constants.cc (legal_key_name_bytes): Allow + and _ to appear in
key names.
2005-07-17 Nathaniel Smith <njs@pobox.com>
* ui.{cc,hh} (tick_write_dot::write_ticks): Start a new line when
too many dots have been written.
* netsync.cc (process_refine_cmd): Add comment noting a possible
optimization regarding subtree refinement.
2005-07-17 Nathaniel Smith <njs@pobox.com>
* configure.ac, win32/monotone.iss, monotone.spec:
* debian/changelog: Bump version numbers to 0.21.
* NEWS: Commit to a timestamp.
2005-07-17 Nathaniel Smith <njs@pobox.com>
* NEWS: Add diff changes, more tweaking.
* UPGRADE: Update for 0.21.
* AUTHORS: Add Vladimir Vukicevic.
2005-07-18 Matt Johnston <matt@ucc.asn.au>
* netsync.cc: merge fixup
* botan/pipe_rw.cpp (read_all_as_string): make it smarter and faster
2005-07-18 Matt Johnston <matt@ucc.asn.au>
* botan/sha160.{cpp,h}: new faster sha160 implementation from Jack Lloyd
and Kaushik Veeraraghavan.
2005-07-17 Nathaniel Smith <njs@pobox.com>
* tests/t_diff_external.at: New test.
* testsuite.at: Add it.
2005-07-17 Nathaniel Smith <njs@pobox.com>
* monotone.texi (Restrictions): diff -r -r does accept
restrictions now.
(CVS Phrasebook): Clarify diff section.
(Informative): Document diff [--unified|--context|--external],
--diff-args.
2005-07-17 Nathaniel Smith <njs@pobox.com>
* app_state.{cc,hh}: Record whether --diff-args was passed, not
just a string value.
* lua.{cc,hh} (hook_external_diff): Take a diff_args_provided
variable.
* commands.cc (do_external_diff): Pass it.
2005-07-17 Nathaniel Smith <njs@pobox.com>
* std_hooks.lua (external_diff_default_args): New variable.
(external_diff): Use it as a default, and use user-provided
diff_args otherwise.
* monotone.texi (Hooks): Document this.
2005-07-16 Vladimir Vukicevic <vladimirv@gmail.com>
* lua.{cc,hh} (hook_external_diff): New hook.
* std_hooks.lua (external_diff): Add default definition.
* monotone.texi (Hooks): Document external_diff hook.
* app_state.{cc,hh}, options.hh, monotone.cc: Add --context,
--external, --unified, --diff-args options.
* commands.cc (do_external_diff): New function.
(dump_diffs): Put a == line between each file's diffs.
Pass file_ids of pre- and post-states to make_diff.
(diff): Take new options.
(cdiff): Remove.
* diff_patch.{cc,hh} (make_diff): Print file ids in diff file
headers.
(unidiff_append_test): Update.
(enum diff_type): Move to...
* vocab.hh: ...here.
* tests/t_restrictions.at, tests/t_crlf.at: Update.
2005-07-16 Nathaniel Smith <njs@pobox.com>
* manifest.cc (build_restricted_manifest_map): Remove doubled
comment.
2005-07-16 Nathaniel Smith <njs@pobox.com>
* NEWS: Mention need for 'db migrate'.
2005-07-17 Matthew Gregan <kinetik@orcon.net.nz>
* lua/*: Import Lua 5.0.2 from upstream.
* lua/*: Fix up CVS $Id$ tags, which appear to have been trashed
since monotone existed in CVS.
2005-07-16 Nathaniel Smith <njs@pobox.com>
* NEWS: Update for 0.21.
2005-07-16 Nathaniel Smith <njs@pobox.com>
* database.cc (assert_sqlite3_ok): Remove dead function.
2005-07-16 Nathaniel Smith <njs@pobox.com>
* app_state.cc (require_working_copy): Oops, make it compile.
2005-07-16 Nathaniel Smith <njs@pobox.com>
* app_state.{cc,hh} (require_working_copy): Take an optional
argument to give more details about why a working copy was
required.
* commands.cc (log): Give said details.
2005-07-16 Nathaniel Smith <njs@pobox.com>
* monotone.texi (CVS Phrasebook): Include 'log'.
2005-07-16 Nathaniel Smith <njs@pobox.com>
* monotone.texi (Selectors): Document use of globs.
* tests/t_selector_globbing.at: New test.
* testsuite.at: Add it.
2005-07-16 Jordan Breeding <jordan.breeding@mac.com>
* database.cc (selector_to_certname): Make 't:' selector match
exactly by default as well.
2005-06-25 Brian Downing <bdowning@lavos.net>
* database.cc (selector_to_certname, complete): Makes 'b:'
selector be interpreted as a glob instead of as a partial string
match.
2005-07-16 Nathaniel Smith <njs@pobox.com>
* netsync.cc: Revert accidentally committed changes.
2005-07-16 Nathaniel Smith <njs@pobox.com>
* ChangeLog: Fix formatting.
2005-07-15 Matt Johnston <matt@ucc.asn.au>
* netsync.cc (rebuild_merkle_trees): bad_branch_certs is a set of cert
hashes, not of revision idents.
2005-07-14 Nathaniel Smith <njs@pobox.com>
* database.cc (get_revision_cert_index): "reserve" and "resize"
are different.
2005-07-14 Nathaniel Smith <njs@pobox.com>
* netsync.cc (process_delta_cmd): Remove meaningless comment.
2005-07-14 Nathaniel Smith <njs@pobox.com>
* database.hh: Pre-declare sqlite3_stmt, instead of including
sqlite3.h.
2005-07-14 Derek Scherger <derek@echologic.com>
* commands.cc (lca,lcad,try_one_merge): call describe_revision for
logging common ancestors
(propagate): log final merged line after propagate completes
to indicate that it actually worked and to be consistent with merge
2005-07-13 Derek Scherger <derek@echologic.com>
* ChangeLog: merge fixup
2005-07-13 Derek Scherger <derek@echologic.com>
* database.cc (debug): delete stale comment
(delete_branch_named):
(delete_tag_named):
(clear): replace vprintf stuff with query parameters
2005-07-13 Nathaniel Smith <njs@pobox.com>
* contrib/ciabot_monotone.py (main): Optimistically run 'db
migrate' before using database.
2005-07-13 Nathaniel Smith <njs@pobox.com>
* schema_migration.cc (migrate_monotone_schema)
(migrator::migrate): Move the "nothing happened" check, and don't
vacuum unless a migration occurred.
2005-07-13 Nathaniel Smith <njs@pobox.com>
* tests/t_restricted_diff_unchanged.at: New test.
* testsuite.at: Add it.
2005-07-13 Graydon Hoare <graydon@pobox.com>
* rcs_import.cc (cvs_branch::cvs_branch): Initialize bools to false.
2005-07-13 Nathaniel Smith <njs@pobox.com>
* monotone.texi (Database): Document kill_tag_locally.
2005-07-13 Nathaniel Smith <njs@pobox.com>
* tests/t_kill_tag_locally.at, tests/t_ambiguous_tags.at: New
tests.
* testsuite.at: Add them.
2005-07-11 Graydon Hoare <graydon@pobox.com>
* AUTHORS: Add Jordan.
* commands.cc (ls_tags): Do not uniquify tags.
* constants.{cc,hh} (cvs_window): Change to time_t, tighten to 5 minutes.
* rcs_import.cc (window): Remove.
(note_type): Remove dead code.
(is_sbr): Add test for synthetic branch roots.
(cvs_commit::is_synthetic_branch_root): New test.
(process_branch): Skip synthetic branch roots, push new branch
before picking branch to mark, rather than after.
(cvs_history::index_branchpoint_symbols): Handle vendor branches.
(cvs_history::push_branch): Do not duplicate root on private branches.
(import_branch): Fix up cluster inference.
(cluster_consumer::consume_cluster): New invariant.
* tests/t_cvsimport_drepper2.at: Modify to reflect fixes.
2005-07-11 Jordan Breeding <jordan.breeding@mac.com>
* commands.cc (db): New subcommand "kill_tag_locally"
* database.{cc,hh} (delete_tag_named): New function.
2005-07-12 Nathaniel Smith <njs@pobox.com>
* schema_migration.cc (migrator::migrate): When there is nothing
to be done, do nothing.
2005-07-12 Nathaniel Smith <njs@pobox.com>
* netsync.cc (rebuild_merkle_trees): Reduce memory usage a bit,
and don't insert branch certs that the other side will just end up
throwing away (reduces network traffic).
2005-07-12 Nathaniel Smith <njs@pobox.com>
* testsuite.at (NETSYNC_SERVE_START, NETSYNC_SERVE_N_START):
Really, really really fix up quoting. Really.
I hope.
2005-07-12 Nathaniel Smith <njs@pobox.com>
* contrib/ciabot_monotone.py (config.project_for_branch): Clarify
comment text for non-Python programmers.
2005-07-12 Nathaniel Smith <njs@pobox.com>
* testsuite.at (NETSYNC_SERVE_START, NETSYNC_SERVE_N_START): Fixup
quoting.
2005-07-11 Nathaniel Smith <njs@pobox.com>
* crypto_tests.cc: New SHA1 correctness tests from Kaushik Veeraraghavan.
* unit_tests.cc (init_unit_test_suite):
* unit_tests.hh (add_crypto_tests):
* Makefile.am (unit_tests_SOURCES): Call them.
* AUTHORS: Add Kaushik Veeraraghavan.
2005-07-11 Nathaniel Smith <njs@pobox.com>
* tests/t_netsync_exclude_default.at: New test.
* testsuite.at: Add it.
(NETSYNC_SERVE_N_START, NETSYNC_SERVE_START): Use '*' as pattern
when none is passed.
2005-07-11 Nathaniel Smith <njs@pobox.com>
* monotone.texi (Network): Tweak documentation for netsync
commands.
2005-07-11 Nathaniel Smith <njs@pobox.com>
* app_state.{hh,cc} (exclude_patterns, add_exclude):
* options.hh (OPT_EXCLUDE):
* monotone.cc (coptions, cpp_main): New option --exclude.
* commands.cc (pull, push, sync, serve): Accept it.
(process_netsync_args): Implement it.
* tests/t_netsync_exclude.at: New test.
* testsuite.at: Add it.
2005-07-11 Timothy Brownawell <tbrownaw@gmail.com>
* options.hh, app_state.{hh,cc}, monotone.cc: New command specific
option, "--exclude=x", puts arg into a vector app.excludes .
Used by the netsync commands.
* commands.cc (netsync commands): accept said option
(process_netsync_args): Handle excludes.
* monotone.texi: document it
2005-07-11 Timothy Brownawell <tbrownaw@gmail.com>
* interner.hh: make slightly faster
2005-07-11 Matt Johnston <matt@ucc.asn.au>
* hmac.cc: <string> not <string.h>
2005-07-11 Matt Johnston <matt@ucc.asn.au>
* keys.cc (encrypt_rsa): fix typo
* hmac.{cc,hh}: store key as SymmetricKey, pass correctly to
MAC_Filter
2005-07-10 Nathaniel Smith <njs@pobox.com>
* ChangeLog, configure.ac: Re-remove mysteriously revived
jibberish.
2005-07-10 Nathaniel Smith <njs@pobox.com>
* tests/t_netsync_read_permissions.at: New test.
* testsuite.at: Run it.
* netsync.cc (set_session_key, dispatch_payload)
(respond_to_auth_cmd): Refactor to key HMAC earlier, so error
packets will get the right HMAC.
2005-07-10 Richard Levitte <richard@levitte.org>
* Makefile.am (monotone_CPPFLAGS, unit_tests_CPPFLAGS): Re-remove
previously removed stuff.
* ChangeLog, configure.ac: Revert accidentally-recommitted changes.
2005-07-10 Richard Levitte <richard@levitte.org>
* monotone.texi (Network), monotone.1: Mention the default port
number.
2005-07-10 Matthew Gregan <kinetik@orcon.net.nz>
* configure.ac: Check for boost >= 1.32.
2005-07-09 Nathaniel Smith <njs@pobox.com>
* schema.sql (revision_ancestry__child, revision_certs__id,
revision_certs__name_value): New indexes.
* database.cc (dump, dump_table_cb, dump_index_cb): Include
indexes in dumps.
(database::database):
* schema_migration.cc (migrate_monotone_schema)
(migrate_client_to_add_indexes):
* tests/t_migrate_schema.at: Corresponding migration gunk.
2005-07-09 Jordan Breeding <jordan.breeding@mac.com>
* Makefile.am (monotone_CPPFLAGS, unit_tests_CPPFLAGS):
* configure.ac (BOOST_FIX_VERSION): Restrict boost compile kluges
to boost 1.32.
2005-07-09 Nathaniel Smith <njs@pobox.com>
* schema_migration.cc (calculate_schema_id): Include indexes in
the schema id.
2005-07-09 Nathaniel Smith <njs@pobox.com>
* ChangeLog, configure.ac: Revert accidentally-committed changes.
2005-07-09 Nathaniel Smith <njs@pobox.com>
* monotone.texi (Generating Keys): Make it a little clearer that
we aren't necessarily recommending people store their passphrase
in plaintext.
2005-07-08 Matt Johnston <matt@ucc.asn.au>
* propagate mainline to botan branch
* constants.{cc,hh}: add sha1_digest_length as botan
doesn't provide a convenient definition.
* hmac.{cc,hh}: convert to use botan
* keys.cc (encrypt_rsa, decrypt_rsa): use botan
* transforms.{cc,hh}: use botan
2005-07-08 Matt Johnston <matt@ucc.asn.au>
* tests/t_normalized_filenames.at: expect exit code of 1 not 3 for
"cat manifest" with a directory in MT/work
* file_io.cc, netcmd.cc, transforms.cc, vocab.hh: revert changes which
used swap() for strings and atomic types since strings are
copy-on-write.
2005-07-08 Matt Johnston <matt@ucc.asn.au>
* file_io.cc (ident_existing_file): new function to calculate
the ident of a file failing gracefully if it doesn't exist
or is a directory.
* file_io.hh (classify_manifest_paths,
build_restricted_manifest_map): use ident_existing_file
* ui.cc: cast to avoid compiler warnings
2005-07-07 Nathaniel Smith <njs@pobox.com>
* contrib/ciabot_monotone.py (Monotone.log): Fix to work with
0.20.
2005-07-07 Nathaniel Smith <njs@pobox.com>
* Makefile.am (monotone_CPPFLAGS, unit_tests_CPPFLAGS): Add
-DBOOST_REGEX_V4_CHAR_REGEX_TRAITS_HPP to work around g++
4.0/boost 1.32.0 lossage.
2005-07-07 Vaclav Haisman <V.Haisman@sh.cvut.cz>
* Makefile.am: Compile fix for FreeBSD.
2005-07-07 Nathaniel Smith <njs@pobox.com>
* netsync.cc (process_hello_cmd, process_anonymous_cmd)
(process_auth_cmd): Change permission checking -- always build
merkle tree (even when a pure sink), send permission denied and
abort whenever client tries to read/write a branch they don't have
access to.
2005-07-07 Nathaniel Smith <njs@pobox.com>
* ChangeLog: fixup formatting.
2005-07-06 Matt Johnston <matt@ucc.asn.au>
* database.cc (assert_sqlite3_ok): database corruption and similar
problems are errors, not invariants.
2005-07-06 Nathaniel Smith <njs@pobox.com>
* commands.cc (push, pull, sync): Fix --help description.
2005-07-06 Nathaniel Smith <njs@pobox.com>
* options.hh (OPT_SET_DEFAULT):
* app_state.{hh,cc} (app_state::set_default):
* monotone.cc (coptions, cpp_main): New option.
* commands.cc (pull, push, sync): Accept it.
(process_netsync_args): Use it.
* tests/t_set_default.at, testsuite.at: New test.
2005-07-07 Matthew Gregan <kinetik@orcon.net.nz>
* win32/monotone.iss: Bump version number.
2005-07-05 Nathaniel Smith <njs@pobox.com>
* debian/rules (config.status): Use bundled sqlite.
* debian/control (Build-Depends): Remove popt and sqlite.
2005-07-05 Nathaniel Smith <njs@pobox.com>
* NEWS: Add timestamp. Barring unforeseen issues, this is 0.20.
2005-07-05 Nathaniel Smith <njs@pobox.com>
* Makefile.am (EXTRA_DIST): Include some missed contrib/ stuff.
2005-07-05 Nathaniel Smith <njs@pobox.com>
* po/monotone.pot: Regenerate for release.
2005-07-05 Nathaniel Smith <njs@pobox.com>
* configure.ac, debian/changelog, monotone.spec: Bump version
number.
* UPGRADE: Update for 0.20 release.
2005-07-05 Nathaniel Smith <njs@pobox.com>
* ChangeLog, NEWS, AUTHORS: Fixup Eric Anderson's email address.
2005-07-05 Nathaniel Smith <njs@pobox.com>
* monotone.texi (Database): Note that db kill_rev_locally also
will trigger "unreferenced manifest" warnings from db check.
2005-07-05 Nathaniel Smith <njs@pobox.com>
* NEWS: Oops, 'automate select' was in 0.19 after all.
2005-07-05 Nathaniel Smith <njs@pobox.com>
* contrib/ciabot_monotone.py: Fix multiple collection support.
2005-07-05 Richard Levitte <richard@levitte.org>
* monotone.texi (Hooks): Add space after periods where there's
a lack of space.
* NEWS: Correct the blurb about
get_netsync_{read,anonymous_read,write}_permitted
2005-07-05 Nathaniel Smith <njs@codesourcery.com>
* NEWS: Add more explicit note on how to upgrade.
2005-07-05 Nathaniel Smith <njs@codesourcery.com>
* NEWS: First cut at 0.20 release notes.
2005-07-03 Matthew Gregan <kinetik@orcon.net.nz>
* sqlite/*, Makefile.am: Import SQLite 3.2.2 from upstream.
* sqlite/main.c: Compile fix.
* sqlite/{callback.c,prepare.c}: Add new files.
2005-07-03 Matthew Gregan <kinetik@orcon.net.nz>
* sqlite/{sqlite3.h,tokenize.c} (sqlite3_complete_last): New
function to find the last valid SQL statement in a string; based
on sqlite3_complete. This change should be offered upstream, but
probably not before sqlite3_complete_last16 is implemented.
* database.cc (database::load): Load and execute dump in chunks,
fixes bug 13570.
2005-07-01 Eric Anderson <anderse-monotone@cello.hpl.hp.com>
* file_io.cc: Pre-allocate space for the file read so that the
string doesn't have to be incrementally expanded during the read.
2005-07-01 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_cvsimport_drepper2.at: Canonicalise monotone output so
that the test passes on Win32.
2005-06-30 Eric Kidd <eric.kidd@dartmouth.edu>
* contrib/monotone-import.pl: Changed $branch to
$user_branch. This script may need more work, but at least Perl
compiles it now.
2005-06-30 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* automate.cc, basic_io.hh, cert.cc, change_set.cc,
cryptopp/config.h, cryptopp/integer.cpp, main.cc, merkle_tree.cc,
merkle_tree.hh, monotone.cc, netcmd.cc, netsync.cc,
netxx/osutil.h, packet.cc: Namespace and include file cleanup.
2005-06-29 Graydon Hoare <graydon@pobox.com>
* tests/t_cvsimport_drepper2.at: New test.
* testsuite.at: Call it.
2005-06-23 Graydon Hoare <graydon@pobox.com>
* rcs_import.cc (import_cvs_repo): Put branch imports inside
transaction blocks, add a couple tickers.
2005-06-22 Graydon Hoare <graydon@pobox.com>
* rcs_file.cc: Track file:line numbers, accept files which violate
some lies in rcs file format.
* rcs_import.cc (cvs_tree_walker):
Warn rather than crash on parse errors.
(cvs_history)
(cvs_commit)
(cvs_cluster)
(prepared_revision)
(import_branch)
(import_cvs_repo): Support non-branch tags.
2005-06-21 Graydon Hoare <graydon@pobox.com>
* rcs_import.{cc,hh} (import_rcs_file): Rename to test_parse_rcs_file.
* commands.cc (rcs_import): rename call.
2005-06-19 Graydon Hoare <graydon@pobox.com>
* rcs_import.cc: Rewrite change set inference logic.
2005-06-28 Roland Illig <roland.illig@gmx.de>
* app_state.cc: #include <unistd.h>, needed on NetBSD.
2005-06-28 Nathaniel Smith <njs@codesourcery.com>
* std_hooks.lua (ignore_file): Ignore vim swap files and emacs
temp files.
2005-06-27 Nathaniel Smith <njs@codesourcery.com>
* INSTALL: Bump required version of Boost to 1.32.
2005-06-26 Matthew Gregan <kinetik@orcon.net.nz>
* app_state.cc (app_state::app_state()): Initialise no_merges to
false so that 'log' will show merges by default (the recently
added --no-merges option provides a means to disable the merge
entries).
2005-06-26 Matthew Gregan <kinetik@orcon.net>
* tests/t_automate_stdio.at, tests/t_cvsimport_drepper.at,
tests/t_selector_later_earlier.at: Further canonicalisation of
monotone output to resolve test failures on Win32.
2005-06-25 Brian Campbell <brian.p.campbell@dartmouth.edu>
* commands.cc (CMD(db)): Added db kill_branch_locally command.
* database.cc, database.hh (delete_branch_named): New function to
delete all branch certs with a given branch name.
* monotone.texi (Database): Added documentation for db
kill_branch_locally.
* tests/t_db_kill_branch_locally.at: New test for db
kill_branch_locally.
* testsuite.at: Add the test.
* AUTHORS: Add myself.
* ChangeLog: Change my email address on an old contribution to
match my pubkey.
2005-06-24 Nathaniel Smith <njs@codesourcery.com>
* tests/t_db_kill_rev_locally.at: Clean up style.
2005-06-24 Nathaniel Smith <njs@codesourcery.com>
* unix/process.cc (process_spawn): Format log output correctly.
2005-06-24 Nathaniel Smith <njs@codesourcery.com>
* unix/process.cc (existsonpath): Reindent. Add logging, and use
'command -v' instead of 'which' (as per Matt Johnston's discovery
that it is more portable).
(process_spawn): Handle exec failure more properly.
* tests/t_existsonpath.at: New test.
* testsuite.at: Add it.
2005-06-25 Matthew Gregan <kinetik@orcon.net.nz>
* monotone.cc: Log correct locale set for LC_MESSAGES.
2005-06-24 Nathaniel Smith <njs@codesourcery.com>
* unix/process.cc: Remove tabs.
2005-06-24 Nathaniel Smith <njs@codesourcery.com>
* std_hooks.lua (get_preferred_merge2_command)
(get_preferred_merge3_command): Move meld to the bottom of the
default merge tool search order. Also, use xemacs if it appears
in $EDITOR, otherwise use emacs.
* revision.cc (check_sane_history): Remove stale comment.
2005-07-05 Nathaniel Smith <njs@codesourcery.com>
* globish.cc (combine_and_check_globish): Don't add unnecessary
{}'s.
* tests/t_netsync_globs.at, testsuite.at: New test.
2005-07-04 Nathaniel Smith <njs@codesourcery.com>
* netcmd.cc (do_netcmd_roundtrip, test_netcmd_mac): Update for new
chained_hmac object.
* constants.hh (netsync_key_initializer): Update comment.
* hmac.hh (hmac_length): Expose length of MACs.
* hmac.cc: I() that it matches what CryptoPP wants to give.
* netcmd.cc: I() that it matches the length hard-coded into the
netsync protocol.
* vocab.cc (verify(netsync_hmac_value)): Fix error message.
2005-07-04 Nathaniel Smith <njs@codesourcery.com>
* tests/t_netsync_defaults.at: Update for new var names. All
tests now pass.
2005-07-04 Nathaniel Smith <njs@codesourcery.com>
* lua.cc (hook_get_netsync_write_permitted): Fix typo.
2005-07-04 Nathaniel Smith <njs@codesourcery.com>
* globish.cc (globish_matcher_test): Add check for {foo} (no
commas).
2005-07-04 Nathaniel Smith <njs@codesourcery.com>
* globish.cc (checked_globish_to_regex): Make the special case for
the empty pattern, actually work. Unit tests now pass.
2005-07-04 Nathaniel Smith <njs@codesourcery.com>
* netcmd.cc (test_netcmd_functions): Update for new anonymous/auth
packet formats.
2005-07-04 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi, monotone.1: Update for new glob stuff.
* commands.cc (process_netsync_args, push, pull, sync, serve):
'serve' always requires arguments, rather than falling back on db
defaults.
2005-07-04 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (process_netsync_args, push, pull, sync, serve):
Adapt for patterns instead of regexen; slight refactoring too.
2005-07-03 Nathaniel Smith <njs@codesourcery.com>
* netsync.cc: Finally self-consistent.
2005-07-03 Nathaniel Smith <njs@codesourcery.com>
* netsync.hh (run_netsync_protocol): Fix prototype.
2005-07-03 Nathaniel Smith <njs@codesourcery.com>
* globish.hh: Document the empty pattern as never matching.
* globish.cc (checked_globish_to_regex): Implement it.
(globish_matcher_test): Check it.
2005-07-03 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Network Service, Hooks):
* testsuite.at:
* tests/t_netsync_permissions.at:
* tests/t_netsync_single.at: Update to match new
get_netsync_write_permitted definition.
2005-07-03 Nathaniel Smith <njs@codesourcery.com>
* lua.{cc,hh} (hook_get_netsync_write_permitted): Don't take a
branch argument; write permission is now all or none. (It really
was before anyway...)
* netsync.cc: Update accordingly.
2005-07-03 Nathaniel Smith <njs@codesourcery.com>
* netsync.cc: More updating for pattern stuff; getting there...
2005-06-28 Nathaniel Smith <njs@codesourcery.com>
* netsync.cc: Update low-level functions to use include_pattern
and exclude_pattern.
2005-06-28 Nathaniel Smith <njs@codesourcery.com>
* netcmd.{cc,hh} (read_anonymous_cmd, write_anonymous_cmd)
(read_auth_cmd, write_auth_cmd): Take include_pattern and
exclude_pattern arguments.
2005-06-28 Nathaniel Smith <njs@codesourcery.com>
* globish.{cc,hh}: New files.
* Makefile.am (MOST_SOURCES): Add them.
* transforms.{cc,hh}: Remove glob-related stuff.
* unit_tests.{cc,hh}: Call globish unit tests.
2005-06-27 Nathaniel Smith <njs@codesourcery.com>
* transforms.cc (glob_to_regex, globs_to_regex, regexes_to_regex):
Choose "regex" as standard spelling. Clean up code, add code for
handling sets, start improving tests (don't currently pass).
* transforms.hh (glob_to_regex, globs_to_regex, regexes_to_regex):
Prototype.
2005-06-28 Matt Johnston <matt@ucc.asn.au>
* constants.cc: increase db_version_cache_sz to 7 MB
* netsync.cc: use a deque<string> rather than a single
string buffer for outbuf.
* netsync.cc (arm): only queue data when there is
available space
* AUTHORS: added Eric Anderson
2005-06-26 Matt Johnston <matt@ucc.asn.au>
* transforms.hh: remove extraneous #ifdef
* hmac.cc, hmac.hh: actually add them
2005-06-26 Matt Johnston <matt@ucc.asn.au>
* netcmd.cc (netcmd::read, netcmd::write): change to using a HMACs
chained by including the previous HMAC in the input data, rather
than altering the key each time.
* netcmd.cc ({read,write}_{data,delta}_cmd): use encode_gzip/decode_gzip
rather than raw xform.
* hmac.{cc,hh}: new chained_hmac abstraction
* Makefile.in: add them
* netsync.cc: each session keeps a chained_hmac for read/write
* transforms.hh: add a string variant for encode_gzip
2005-06-25 Nathaniel Smith <njs@codesourcery.com>
* netsync.cc: Tweak comment.
2005-06-25 Nathaniel Smith <njs@codesourcery.com>
* AUTHORS: Add Ethan Blanton <elb@elitists.net>.
2005-06-22 Nathaniel Smith <njs@codesourcery.com>
* netcmd.hh (netcmd::read, netcmd::write): Don't have defaults for
key/hmac arguments.
* netcmd.cc (do_netcmd_roundtrip): New function.
(test_netcmd_functions): Use it. Also, make work with hmac
changes.
(test_netcmd_mac): New test.
(add_netcmd_tests): Call it.
2005-06-22 Nathaniel Smith <njs@codesourcery.com>
* netcmd.cc (read): Remove unused variable.
* netsync.cc (call_server, process)
(arm_sessions_and_calculate_probe, handle_read_available): Give
better error message on bad_decode exceptions.
2005-06-22 Nathaniel Smith <njs@codesourcery.com>
* netcmd.cc, netsync.cc: Revert backwards compatibility code; 0.19
and 0.20 can't be usefully compatible, and the code as it existed
would cause real version mismatch error reporting to not work
right. (Old client with new server would give a generic "server
disconnected" error message instead of something useful.)
2005-06-21 Nathaniel Smith <njs@codesourcery.com>
* netsync.cc (rebuild_merkle_trees): Fix FIXME comments to match
reality.
* tests/t_netsync_diffbranch.at: No longer a bug, remove
priority.
2005-06-20 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Hook Reference): Oops, missed a @ref.
2005-06-20 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Default monotonerc): Rename section to...
(Default hooks): ...this, to emphasize is still read even when a
monotonerc exists.
2005-06-19 Richard Levitte <richard@levitte.org>
* Makefile.am: There's no reason for monotone.pdf or .dvi to
depend on monotone.info, since they are built from the .texi
files. Also, make the monotone.html and html targets depend
on version.texi and std_hooks.lua as well.
2005-06-18 Matt Johnston <matt@ucc.asn.au>
* INSTALL: fix typo, should be -Iboost_1_31_0 not -Iboost_1_31_2
2005-06-18 Riccardo Ghetta <birrachiara@tin.it>
* monotone.texi: include std_hooks.lua as an appendix and remove long
lua excerpts from hook reference.
* Makefile.am : make monotone.pdf/eps depend on monotone.info
2005-06-24 Matt Johnston <matt@ucc.asn.au>
* transforms.{cc,hh}: combine gzip and base64 in one
pipe for pack()/unpack() to save memory
* vocab.hh: add swap() to encodings/atomics
* file_io.cc: use swap() to avoid copying
2005-06-21 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (do_diff): Use calculate_arbitrary_change_set,
instead of reimplementing it.
2005-06-21 Nathaniel Smith <njs@codesourcery.com>
* revision.cc (find_least_common_ancestor): Handle left == right
case.
* tests/t_diff_currev.at: Un-XFAIL.
2005-06-21 Nathaniel Smith <njs@codesourcery.com>
* netsync.cc (rebuild_merkle_trees): Fix FIXME comments to match
reality.
* tests/t_netsync_diffbranch.at: No longer a bug, remove
priority.
2005-06-20 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Hook Reference): Oops, missed a @ref.
2005-06-20 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Default monotonerc): Rename section to...
(Default hooks): ...this, to emphasize is still read even when a
monotonerc exists.
2005-06-19 Richard Levitte <richard@levitte.org>
* Makefile.am: There's no reason for monotone.pdf or .dvi to
depend on monotone.info, since they are built from the .texi
files. Also, make the monotone.html and html targets depend
on version.texi and std_hooks.lua as well.
2005-06-18 Matt Johnston <matt@ucc.asn.au>
* INSTALL: fix typo, should be -Iboost_1_31_0 not -Iboost_1_31_2
2005-06-18 Riccardo Ghetta <birrachiara@tin.it>
* monotone.texi: include std_hooks.lua as an appendix and remove long
lua excerpts from hook reference.
* Makefile.am : make monotone.pdf/eps depend on monotone.info
2005-06-17 Matt Johnston <matt@ucc.asn.au>
* database.cc (database::execute()): truncate long query log messages
before copying, saving memory.
Patch from Eric Anderson <anderse-monotone@cello.hpl.hp.com>
2005-06-17 Riccardo Ghetta <birrachiara@tin.it>
Adds include()/includedir() to lua hooks and extend --rcfile
* lua.cc: handle --rcfile with directories, implement
include() and includedir()
* testsuite.at, t_lua_includedir.at, t_rcfile_dir.at:
test new functionality
* monotone.texi: document all functions available to hook
writers, including the new include() and includedir()
2005-06-16 Nathaniel Smith <njs@codesourcery.com>
* diff_patch.cc (merge_extents): Typo caught by anonymous reader.
2005-06-16 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (cat): Account for being in a subdir in 'cat file
REV PATH'.
* tests/t_cat_file_by_name.at: Test.
2005-06-17 Richard Levitte <richard@levitte.org>
* app_state.cc (app_state::app_state()): Avoid a gcc warning by
having the class members initialised in the same order they are
defined in the class.
2005-06-16 Nathaniel Smith <njs@pobox.com>
* std_hooks.lua (ignore_file): Add Cons/SCons cache files to
default ignore list.
2005-06-16 Matt Johnston <matt@ucc.asn.au>
* ui.cc: increase the divisor as required so that we don't get spurious
screen updates when we're using the kilobyte/megabyte tickers
2005-06-15 Matt Johnston <matt@ucc.asn.au>
* monotone.texi: clarify some netsync parts of the tutorial
2005-06-15 Richard Levitte <richard@levitte.org>
* netsync.cc (struct session): Add a pattern regex cache.
(analyze_ancestry_graph): Use the regex cache instead of the
pattern string itself. This is especially important when the
pattern is used as an old-style collection.
(process_hello_cmd): Recreate the pattern regex cache with the
conversion of the pattern to a regex when it's used as an
old-style collection.
(process_auth_cmd): When the pattern changes, change the regex
cache as well.
2005-06-14 Richard Levitte <richard@levitte.org>
* std_hooks.lua (get_preferred_merge2_command,
get_preferred_merge3_command): EDITOR may be undefined. In that
case, os.getenv() returns nil, on which string.lower() chokes.
It's much better to check for that and default to an empty
string.
2005-06-11 Derek Scherger <derek@echologic.com>
* commands.cc (complete_command): log command expansion messages
with L instead of P to reduce chatter
(status): add --brief option and corresponding output
(identify): add trailing space to comment gcc complains about
* monotone.cc: fix comment typo and add additional details for
command specific options
* monotone.texi (Automation): list inventory status code
combinations and descriptions
* tests/t_status.at: new test of status command and --brief option
* testsuite.at: add it
2005-06-11 Matt Johnston <matt@ucc.asn.au>
* commands.cc: revert should ignore the ignore hooks, otherwise bad
things happen (revert a single ignored file, resultant empty ignore list
reverts the whole working copy).
* app_state.cc, app_state.hh: give set_restriction a flag to disregard
file-ignore hooks.
* tests/t_revert_restrict.at, testsuite.at: a test
2005-06-09 Riccardo Ghetta <birrachiara@tin.it>
* std_hooks.lua: make binary_file return nil on unreadable/empty files
2005-06-10 Joel Reed <joelwreed@comcast.com>
* commands.cc (CMD(cdiff)): Add OPT_DEPTH to command options.
* t_restrictions.at: Add to testcase.
2005-06-09 Joel Reed <joelwreed@comcast.com>
* commands.cc (CMD(diff)): Add OPT_DEPTH back in, as it is used.
* t_restrictions.at: Add to testcase to increase likelihood of
keeping it around :)
2005-06-10 Richard Levitte <richard@levitte.org>
* commands.cc (CMD(diff)): Remove OPT_DEPTH, as it was never
used.
2005-06-09 Richard Levitte <richard@levitte.org>
* monotone.texi (Merging): I assume that "apposite" was supposed
to be "appropriate".
2005-06-09 Riccardo Ghetta <birrachiara@tin.it>
* diff_patch.cc/hh: honor the new manual_merge attribute
* file_io.cc/hh: move here the guess_binary function
* lua.cc: let guess_binary available to lua
* std_hooks.lua: handle manual_merge as an add-time attribute and
initialize by default make it true if the file appears to be binary.
Make read_contents_of_file able to read "binary" files.
* tests/t_merge_manual.at: tests new behaviour, superceding the
old XFAIL t_merge_binary.at test.
* monotone.texi: document changes, adding a small section on merging.
2005-06-07 Nathaniel Smith <njs@codesourcery.com>
* ChangeLog: Fixup.
2005-06-07 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Storage and workflow): Attempt to thwart some
common misconceptions.
2005-06-07 Nathaniel Smith <njs@codesourcery.com>
* netsync.cc (rebuild_merkle_trees): Add a comment describing how
this code should work (and why it currently doesn't quite).
2005-06-05 Nathaniel Smith <njs@codesourcery.com>
* tests/t_bad_packets.at: Expect certs on a non-existent rev to
fail. Run db check instead.
* commands.cc (complete): Let callers specify they're okay with
non-existent revisions.
(CMD(trusted)): So specify.
2005-06-05 Nathaniel Smith <njs@codesourcery.com>
* tests/t_tags.at: 'tag' on a non-existent revid should fail.
* commands.cc (complete): Fail on non-existent revids.
2005-05-29 Nathaniel Smith <njs@codesourcery.com>
* tests/t_epoch.at: Typo.
* tests/t_automate_certs.at, tests/t_selector_later_earlier.at:
Throw in some calls to CANONICALISE, maybe this will help on
Win32...
2005-06-04 Timothy Brownawell <tbrownaw@gmail.com>
* netsync.cc, netcmd.cc: Style cleanups (mostly whitespace).
2005-06-04 Timothy Brownawell <tbrownaw@gmail.com>
* netsync.cc (process_hello_cmd): Warn about collection/regex
usage when talking to an old server.
2005-06-04 Derek Scherger <derek@echologic.com>
* commands.cc (update): update MT/work based on the changes
between the chosen revision and the new merge revision
* tests/t_update_with_pending_drop.at:
* tests/t_update_with_pending_add.at:
* tests/t_update_with_pending_rename.at: un-XFAIL and clean up now
that things work
2005-06-04 Timothy Brownawell <tbrownaw@gmail.com>
* netcmd.{cc,hh}, netsync.cc: Move {read,write}_*_cmd_payload
to netcmd::{read,write}_*_cmd .
* netcmd.cc, netsync.cc: Compatibility infrastructure.
* netsync.cc: Interoperate with v4 servers.
2005-06-03 Timothy Brownawell <tbrownaw@gmail.com>
* automate.cc (print_some_output): Fix compiler warning.
2005-06-04 Derek Scherger <derek@echologic.com>
* app_state.cc (app_state): initialize diffs to false; it seemed
to be defaulting to true for me
2005-06-04 Derek Scherger <derek@echologic.com>
* tests/t_update_with_pending_drop.at:
* tests/t_update_with_pending_add.at:
* tests/t_update_with_pending_rename.at:
* tests/t_restricted_commit_with_inodeprints.at: new bug reports
* testsuite.at: call them
2005-06-04 Graydon Hoare <graydon@pobox.com>
* rcs_import.cc
(note_state_at_branch_beginning): Move time back when
there are known commits on a branch.
2005-06-03 Joel Reed <joelwreed@comcast.com>
* commands.cc, monotone.texi: provide --verbose option for
monotone complete revision which adds date and author
completion output
* contrib/monotone.zsh_completion: use verbose output when
completing revisions
2005-06-02 Graydon Hoare <graydon@pobox.com>
* rcs_import.cc
(cvs_key::is_synthetic_branch_founding_commit): New field.
(cvs_key::operator==): Handle synthetic case specially.
(cvs_key::operator<): Likewise.
(note_state_at_branch_beginning): Likewise.
* tests/t_cvsimport_drepper.at: Converted bug testcase.
* testsuite.at: Call it.
* monotone.cc, commands.cc, options.hh
(OPT_NO_MERGES, OPT_DIFFS): New options.
* app_state.cc (app_state::no_merges, app_state::diffs): Likewise.
* commands.cc (log): Honor no_merges, diffs.
* contrib/color_logs.{sh,conf}: Helpers for reviewing work in a
nice colorized, easy-to-read fashion.
* contrib/colorize: A colorization script found on the net.
* HACKING, ROADMAP: Expand a bit.
* commands.cc (changes_summary::print): Change macro to helper fn.
* contrib/monotone.el (monotone-cmd): Handle nil exit code.
2005-06-02 Joel Reed <joelwreed@comcast.com>
* commands.cc, database.cc, database.hh, vocab.hh, vocab_terms.hh:
add complete key subcommand and provide --brief option of zsh/bash
completion. See http://lists.gnu.org/archive/html/monotone-devel/2005-05/msg00461.html
* tests/t_rebuild.at: add tests for complete key subcommand
* monotone.texi: document new subcommand
* contrib/monotone.zsh_completion: update for new complete key
command, improve _monotone_existing_entries using new --depth=0
option, add revision completion for cert command, and a bugfix
for cat command
2005-06-01 Matt Johnston <matt@ucc.asn.au>
* tests/t_i18n_changelog.at: capitalise UTF-8 CHARSET to keep
solaris happy.
2005-06-01 Timothy Brownawell <tbrownaw@gmail.com>
* netsync.cc (analyze_ancestry_graph): Try to fix segfault.
Always accept tags.
2005-06-01 Timothy Brownawell <tbrownaw@gmail.com>
* netsync.cc (process_auth_cmd, analyze_ancestry_graph): Move
write-permission checking to where it belongs, *after* we know
exactly what we're checking permissions about. Drop things we
don't want.
2005-06-01 Matt Johnston <matt@ucc.asn.au>
* tests/t_cvsimport_deleted_invar.at: don't use -C with tar
* tests/t_i18n_file.at: capitalise CHARSET=UTF-8, seems more standard.
* tests/t_merge_normalization_edge_case.at: use known-good output
rather than using diff3 --merge
2005-05-31 Timothy Brownawell <tbrownaw@gmail.com>
* tests/t_epoch_server.at: fix typo
* netsync.cc (session::process_auth_cmd): If no branches are allowed
for writing, also check for write permissions to branch "" (needed
for serving empty dbs). For sync, don't refuse connection if there
are no readable branches (only do this for pull).
2005-05-31 Timothy Brownawell <tbrownaw@gmail.com>
* monotone.texi: Update documentation for get_netsync_*_permitted
hooks to reflect that they now get individual branch names.
2005-05-31 Timothy Brownawell <tbrownaw@gmail.com>
* netsync.cc: session::rebuild_merkle_trees now takes a set of
branches to include as an argument. On the server, calculate
this set at the same time the get_netsync_*_permitted hooks are
called; call said hooks on each branch individually.
2005-05-31 Timothy Brownawell <tbrownaw@gmail.com>
Remove old collection support in favor of using regexes exclusively.
* netsync.cc (convert_pattern): Remove function.
* (14 files): collections are unexist; do not mention (potential
for confusion)
* constants.cc: Increase netsync protocol version.
* monotone.texi: Update documentation.
* tests/t_epoch_unidirectional.at: Fix to sync subbranches.
* commands.cc (CMD update): Fix usage check.
* tests/t_select_cert.at: Fix to use --revision.
2005-05-30 Timothy Brownawell <tbrownaw@gmail.com>
* netsync.cc: Call note_netsync_*_received hooks in the order they're
written to the db (for revisions, gives topological order).
2005-05-30 Timothy Brownawell <tbrownaw@gmail.com>
* lua.{cc,hh}: Replace note_netsync_commit with
note_netsync_{revision,cert,pubkey}_received
* packet.{cc,hh}: Callbacks for cert or key written to the database.
* netsync.cc: Use said callbacks, call note_netsync_*_received hooks.
* monotone.texi: Update documentation.
2005-05-30 Timothy Brownawell <tbrownaw@gmail.com>
* packet.{cc,hh}, netsync.cc: on_revision_written callback now takes
the revision_id as an argument.
* lua.{cc,hh}: New Lua hook, note_netsync_commit.
* netsync.cc: At end of netsync session, call new hook for each
revision received.
monotone.texi: Document new hook.
2005-05-30 Richard Levitte <richard@levitte.org>
* commands.cc (CMD(checkout), CMD(cdiff), CMD(diff), CMD(log)):
Remove '[--revision=REVISION]' from command argument synopsis,
and add more text to the help to explain what happens when
--revision options are used.
(CMD(update)): Instead of the optional revision argument, use
the --revision option. Add information on what happens when the
--revision option is used, and when it's not.
* tests/t_add_stomp_file.at, tests/t_add_vs_commit.at,
tests/t_annotate.at, tests/t_lf_crlf.at,
tests/t_update_nonexistent.at, tests/t_update_off_branch.at,
tests/t_update_to_revision.at: Update to use --revision with
'monotone update'.
2005-05-30 Matt Johnston <matt@ucc.asn.au>
* netsync.cc: cosmetic linebreak tidying for "double-check the
fingerprint" message.
* main.cc: make it clearer that "unknown type" refers to an exception
* monotone.cc: catch early informative_failures (due to charset
problems etc)
2005-05-30 Matt Johnston <matt@ucc.asn.au>
* tests/t_fmerge.at: scrap all the diff3/ed, just compare it with
known-good output.
2005-05-30 Timothy Brownawell <tbrownaw@gmail.com>
* revision.cc (toposort): Better algorithm.
2005-05-30 Matt Johnston <matt@ucc.asn.au>
* tests/t_fmerge.at: make sure we write the file with the ed script.
2005-05-30 Matt Johnston <matt@ucc.asn.au>
* testsuite.at: use "command -v" rather than "which", since
Solaris doesn't give useful exit codes for "which".
* tests/t_fmerge.at: don't use --merge with diff3, pipe to ed instead
so we don't rely on gnu diff3.
2005-05-29 Timothy Brownawell <tbrownaw@gmail.com>
* contrib/monoprof.sh: Add support for using valgrind for
heap profiling.
2005-05-28 Joel Reed <joelwreed@comcast.com>
* app_state.cc, app_state.hh, commands.cc, monotone.cc, options.h:
add new --depth command, and rename log's --depth to --last
* monotone.texi: update documentation
* tests/t_log_depth.at, tests/t_log_depth_single.at: update
log tests to use --last instead of --depth
* tests/t_options.at, tests/t_restrictions.at: test usage of
--depth for commands using restrictions
* contrib/ciabot_monotone.py, contrib/monotone-notify.pl,
contrib/monotone.el, contrib/monotone.zsh_completion,
contrib/mtbrowse.sh: change all occurences of "depth" to "last"
2005-05-28 Timothy Brownawell <tbrownaw@gmail.com>
* netcmd.cc (read_netcmd): Reserve space in the buffer if needed,
swap buffers instead of copying (memory savings for sync
large files)
* netsync.cc (session::arm): Don't clear the buffer (now done
by read_netcmd).
2005-05-27 Timothy Brownawell <tbrownaw@gmail.com>
* netsync.cc: Allow REGEXes as well as collections.
Fix out-of-branch ancestor handling.
* tests/t_netsync_diffbranch.at: Remove bug report and XFAIL (fixed).
* commands.cc: Update description fields for netsync commands.
* monotone.texi: Update documentation.
2005-05-25 Timothy Brownawell <tbrownaw@gmail.com>
* tests/t_automate_stdio.at: Make it self-contained.
2005-05-25 Timothy Brownawell <tbrownaw@gmail.com>
* contrib/get_stdio.pl (new file): Perl script to parse the output from
"mtn automate stdio". Used by...
* tests/t_automate_stdio.at (new file): Test for "mtn automate stdio".
* testsuite.at: Add it.
2005-05-25 Timothy Brownawell <tbrownaw@gmail.com>
* automate.cc ("automate stdio"): Fix block size limiting.
Honor "output.flush()" in commands.
2005-05-24 Timothy Brownawell <tbrownaw@gmail.com>
* automate.cc: Fix buffering for "automate stdio"
2005-05-24 Timothy Brownawell <tbrownaw@gmail.com>
* automate.cc: Put back lost "automate certs".
2005-05-24 Matt Johnston <matt@ucc.asn.au>
* commands.cc (try_one_merge, CMD(merge), CMD(explicit_merge),
CMD(propagate): allow --author flag.
2005-05-24 Timothy Brownawell <tbrownaw@gmail.com>
* automate.cc: Fix comment for automate stdio to match the code.
* monotone.texi: Document ignored locations in automate stdio
input as reserved.
2005-05-24 Riccardo Ghetta <birrachiara@tin.it>
* tests/t_merge_binary.at: new XFAIL test to cover monotone
inclination to algorithmically merge binary files.
2005-05-24 Richard Levitte <richard@levitte.org>
* commands.cc (try_one_merge): Change 'rid' to 'merged_id'.
2005-05-23 Timothy Brownawell <tbrownaw@gmail.com>
Fix "automate stdio" input/output format according to ML discussion
* automate.cc: changed: automate_stdio
added: print_some_output, class my_stringbuf
* constants.{cc,hh}: add constant for automate stdio block size
* monotone.texi: update documentation
2005-05-23 Nathaniel Smith <njs@codesourcery.com>
* win32/terminal.cc (have_smart_terminal): Call _isatty on stderr,
not stdout.
2005-05-23 Richard Levitte <richard@levitte.org>
* commands.cc (try_one_merge): Use the value of --date and
--author if there are any.
(CMD(merge), CMD(propagate), CMD(explicit_merge)): Change to
accept --date and --author.
2005-05-23 Riccardo Ghetta <birrachiara@tin.it>
* selectors.cc/.hh, database.cc: add two new selectors:
"earlier or equal than" and "later than".
* lua.cc/.hh, std-hooks.lua: create a new "expand_date" hook
* monotone.texi: document the changes
* testsuite.at, tests/t_selector_later_earlier.at: add specific tests
for the new selectors
2005-05-21 Richard Levitte <richard@levitte.org>
* Makefile.am: Make monotone.pdf and monotone.dvi depend on
version.texi.
2005-05-21 Richard Levitte <richard@levitte.org>
* monotone.texi: Add a note about the --brief option with
'monotone log', and restructure the synopsis since it was getting
a bit silly with all possible variants.
2005-05-21 Richard Levitte <richard@levitte.org>
* commands.cc (log_certs): Add two arguments; a separator string
to be used in front of the second to last cert for multi-valued
cert types, a bool to say if each cert should be ended with a
newline. Overload with shortcuts.
(CMD(log)): Use the --brief option and implement it using the
shortcut variants of log_certs.
* monotone.cc, options.hh: Add the --brief option (OPT_BRIEF
internally).
* sanity.cc, sanity.hh (struct sanity): Add the member variable
and function to hold and set the brief flag.
2005-05-21 Matt Johnston <matt@ucc.asn.au>
* tests/t_short_opts.at: remove the saved MT/log message
from the failed commit.
* Makefile.am: MAKEINFOFALGS to MAKEINFOFLAGS
2005-05-21 Matt Johnston <matt@ucc.asn.au>
* commands.cc (commit): write the log message to MT/log
during the commit, so it will be available later if the commit
fails.
* work.{cc,hh} (write_user_log): new function
2005-05-20 Nathaniel Smith <njs@codesourcery.com>
* contrib/mtbrowse.sh: New file.
* contrib/README: Document it. Also, document some missed files,
and re-order listing.
* Makefile.am (EXTRA_DIST): Add several missing contrib/ files.
2005-05-21 Grahame Bowland <grahame@angrygoats.net>
* automate.cc: (automate_certs) change "status" field
to "signature". Check whether each cert is trusted, and
output in the "trusted" field.
* testsuite.at: add t_automate_certs.at
* tests/t_automate_certs.at: Test that the output of
"automate certs" is consistent, and that we exit with
error when rev is incomplete or missing.
* monotone.texi: update output documentation for
"automate certs"
2005-05-20 Emile Snyder <emile@alumni.reed.edu>
* annotate.{hh,cc}: Rework to handle lineage dependent line
mappings and lines which split from a single line in a parent
revision into multiple lines in some descendent. Fixes bug where
some lines remained unannotated. Fixes wrong assignment of lines
bug.
* tests/t_annotate.at: Check no-changes since addition of file
case.
* tests/t_annotate_lineage_dependent.at
* tests/t_annotate_split_lines.at: New tests.
* testsuite.at: Add them.
2005-05-20 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Network): Clarify that ports can be specified on
the command line to serve/pull/push/sync.
2005-05-21 Matt Johnston <matt@ucc.asn.au>
* packet.cc (db_packet_writer::~impl, prerequisite.cleanup):
add code to remove up circular dependencies between prerequisite
and delayed_packet shared_ptrs upon destruction, so that unsatisified
dependency warnings are printed.
2005-05-19 Matt Johnston <matt@ucc.asn.au>
* change_set.cc (merge_disjoint_analyses): handle the case where
a file is dropped on both sides but re-added on one.
* tests/t_drop_vs_dropadd.at: a test for it
* testsuite.at
2005-05-19 Derek Scherger <derek@echologic.com>
* commands.cc (checkout): rearrange to use --revision option
* monotone.1:
* monotone.texi: document checkout --revision option
* tests/t_attr.at:
* tests/t_attributes.at:
* tests/t_checkout_id_sets_branch.at:
* tests/t_checkout_noop_on_fail.at:
* tests/t_checkout_options.at:
* tests/t_cwork.at:
* tests/t_delete_dir.at:
* tests/t_delete_dir_patch.at:
* tests/t_empty_path.at:
* tests/t_i18n_file_data.at:
* tests/t_inodeprints_hook.at:
* tests/t_inodeprints_update.at:
* tests/t_largish_file.at:
* tests/t_lf_crlf.at:
* tests/t_monotone_up.at:
* tests/t_netsync_defaults.at:
* tests/t_netsync_set_defaults.at:
* tests/t_persistent_server_revision.at:
* tests/t_rename_added_in_rename.at:
* tests/t_rename_dir_cross_level.at:
* tests/t_rename_dir_patch.at:
* tests/t_single_char_filenames.at:
* tests/t_subdir_add.at:
* tests/t_subdir_attr.at:
* tests/t_subdir_drop.at:
* tests/t_subdir_rename.at:
* tests/t_subdir_revert.at:
* tests/t_tags.at:
* tests/t_update_off_branch.at:
* tests/t_versions.at:
* testsuite.at: add --revision option to checkout
2005-05-18 Richard Levitte <richard@levitte.org>
* ui.cc: Move the copyright and license section to the top of the
file, and add an emacs mode specifier.
* ui.cc (write_ticks): Change the counter ticker so the trailer
comes at the end of the counter line instead of the title line.
This is especially important for code that changes the trailer
a little now and then.
2005-05-17 Grahame Bowland <grahame@angrygoats.net>
* commands.cc: add "automate certs ID" to the help string
for the automate command
* automate.cc: implement "automate certs". Add to the list
of commands available through "automate stdio".
* monotone.texi: document "automate certs"
2005-05-17 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Network): Document 'serve' as taking more than
one collection argument.
2005-05-15 Graydon Hoare <graydon@pobox.com>
* rcs_import.cc (note_state_at_branch_beginning): collect
branch beginning states into a single synthetic commit.
2005-05-15 Graydon Hoare <graydon@pobox.com>
* rcs_import.cc: rewrite most of the branch logic to
address issues raised in bugs 13032 and 13063.
* tests/t_cvsimport_deleted_invar.at: un-XFAIL.
2005-05-16 Matt Johnston <matt@ucc.asn.au>
* commands.cc (commit): change scope of the transaction guard so that
the transaction will fail before MT/revision is written (which could
leave a non-committed revision/bad working dir).
2005-05-16 Grahame Bowland <grahame@angrygoats.net>
* monotone.texi: update "monotone log" documentation
* commands.cc: fix "monotone log" when run with no --revision args
2005-05-15 Derek Scherger <derek@echologic.com>
* tests/t_update_with_blocked_rename.at: new test
* testsuite.at: call it
2005-05-15 Derek Scherger <derek@echologic.com>
* netsync.cc (process_anonymous_cmd, process_auth_cmd): log
details of permissions allowed/denied
* tests/t_netsync_permissions.at: new test
* testsuite.at: call it
2005-05-15 Richard Levitte <richard@levitte.org>
* contrib/monotone-notify.pl (revision_is_in_branch): Another
place where --revision was missing.
2005-05-14 Timothy Brownawell <tbrownaw@gmail.com>
* contrib/monoprof.sh: Clean up variable definitions some.
- Add option --datadir, should now be usable without editing
variables to match system paths
- Add option --setup, generates most of the needed files
2005-05-13 Timothy Brownawell <tbrownaw@gmail.com>
Add "monotone automate stdio", to let the automation interface
take commands on standard input.
* automate.cc: (automate_stdio) New function.
(automate_command) Add it.
* commands.cc: Add to description for "automate".
* monotone.texi: Add to documentation.
2005-05-13 Joel Reed <joelwreed@comcast.com>
* tests/t_unidiff3.at: opps. forgot to add this file which
should have been included as fix for bug 13072.
2005-05-13 Joel Reed <joelwreed@comcast.com>
* diff_patch.cc, transforms.cc, testsuite.at: Patch from
drepper@redhat.com, who writes: "The attached patch should fix bug
13072. I have no idea why the code in transform.cc insists on
adding an empty line in case the file is empty. Removing the code
didn't cause any regressions in the test suite and the
diff_patch.cc change corrects the output format. A new test case
is included as well."
2005-05-13 Joel Reed <joelwreed@comcast.com>
* automate.cc: add automate attributes command
* commands.cc: add attributes subcommand helptext
* contrib/monotone.zsh_completion: use automate attributes
for completion of monotone attr and cleanup ignore files code
* tests/t_automate_attributes.at: add testcase
* testsuite.at: include new testcaes
2005-05-13 Jon Bright <jon@siliconcircus.com>
* testsuite.at (UNGZ): Change the way the ungzipping works on
Win32, in the hope that test 206 will no longer be given invalid
files.
2005-05-12 Derek Scherger <derek@echologic.com>
* automate.cc: bump version number to 1.0
(struct inventory_item): add pre/post states
(inventory_paths): remove obsolete function
(inventory_pre_state, inventory_post_state, inventory_file_state,
inventory_renames): add fancy new functions
(automate_inventory): rework for new output format
* manifest.{cc,hh} (classify_paths): rename to ...
(classify_manifest_paths): ... this and work solely from manifest
* monotone.texi: (Automation): update inventory docs
* tests/t_automate_inventory.at: update for new format and add
some more tests
2005-05-13 Matthew Gregan <kinetik@orcon.net.nz>
* HACKING: New file. First pass at a brief document to help
newcomers hack on monotone.
2005-05-12 Riccardo Ghetta <birrachiara@tin.it>
* options.hh (OPT_MSGFILE): New option.
* monotone.cc (message-file): New option.
(cpp_main): Handle it.
* app_state.{cc,hh} (set_message_file): New function.
* commands.cc (commit): Accept and handle new option.
* monotone.1, monotone.texi: Document it.
* tests/t_commit_message_file.at: New test.
* testsuite.at: Add it.
2005-05-12 Timothy Brownawell <tbrownaw@gmail.com>
* (20 files): Do not indent with both tabs and spaces in the same file.
2005-05-13 Ulrich Drepper <drepper@redhat.com>
* rcs_import.cc (process_one_hunk): Improve handling of corrupt
RCS files.
2005-05-13 Matthew Gregan <kinetik@orcon.net.nz>
* testsuite.at: Fix typo error in Win32 kill logic that was
causing the testsuites to hang on Win32 machines that don't have
pskill installed.
2005-05-12 Matthew Gregan <kinetik@orcon.net.nz>
* file_io.cc (write_data_impl): Use portable boost::filesystem
calls in place of unlink(2)/remove(2).
2005-05-12 Grahame Bowland <grahame@angrygoats.net>
* commands.cc: Modify the "log" command to accept multiple
revisions on command line, and display the log for all
of those revisions.
2005-05-11 Nathaniel Smith <njs@codesourcery.com>
* std_hooks.lua (ignore_file): Organize a bit more, add
patterns for autotools cache files, and darcs, codeville, git
metadata directories.
2005-05-11 Timothy Brownawell <tbrownaw@gmail.com>
* revision.cc (expand_dominators): Fix bitmap size-matching.
(find_common_ancestor_for_merge): Do not wait for ancestors
to be expanded to the beginning of time before expanding
dominators. Requires above fix for correct behavior.
* ChangeLog: Fix date on previous entry.
2005-05-11 Timothy Brownawell <tbrownaw@gmail.com>
* contrib/monoprof.sh: Add profiling test for "netsync large file".
Add options to only run specific profile tests.
2005-05-11 Stanislav Karchebny <stanislav.karchebny@skype.net>
* contrib/monotone-notify.pl: 'monotone log' takes a revision
through the --revision= option.
2005-05-11 Richard Levitte <richard@levitte.org>
* contrib/monotone-notify.pl: Change all occurences of $symbol' to
${symbol}' to avoid a confusing Perl warning.
2005-05-11 Joel Reed <joelwreed@comcast.com>
* contrib/monotone.zsh_completion: add zsh completion contrib.
2005-05-11 Matt Johnston <matt@ucc.asn.au>
* tests/t_add_intermediate_MT_path.at: remove the drop dir part
* tests/t_delete_dir.at: add a note about re-enabling the above test
* tests/t_cvsimport3.at: ignore stderr
2005-05-11 Matt Johnston <matt@ucc.asn.au>
* rcs_import.cc (find_branchpoint): if a branch is derived from two
differing parent branches, take the one closest to the trunk.
* tests/t_cvsimport3.at: add a test for cvs_importing where branches
come off a vendor import.
* testsuite.at: add it
2005-05-11 Nathaniel Smith <njs@codesourcery.com>
* work.cc (build_deletions): Disable delete_dir.
2005-05-11 Matthew Gregan <kinetik@orcon.net.nz>
* constants.cc (constants::bufsz): Increase buffer size. Reduces
the runtime to tests/t_netsync_largish_file.at by four to seven
times on my test machines.
2005-05-10 Timothy Brownawell <tbrownaw@gmail.com>
* revision.cc: Make expand_{ancestors,dominators} twice as fast.
Loop over revisions in the other direction so that changes at the
frontier propogate fully in 1 pass, instead of one level at a time.
2005-05-10 Timothy Brownawell <tbrownaw@gmail.com>
* packet.{cc,hh}: Give packet_consumer and children a callback to call
after writing out a revision.
* netsync.cc: Use this callback to add a "revisions written" ticker,
to provide user feedback while sanity checking.
2005-05-10 Timothy Brownawell <tbrownaw@gmail.com>
* ui.cc: Make tick_write_count take less horizontal space
2005-05-09 Nathaniel Smith <njs@codesourcery.com>
* AUTHORS: Give Riccardo his real name.
* ChangeLog: Likewise.
2005-05-09 Riccardo Ghetta <birrachiara@tin.it>
* std_hooks.lua: Support kdiff3.
2005-05-09 Matthew Gregan <kinetik@orcon.net.nz>
* lua.cc (loadstring, run_string): New parameter to identify the
source of the Lua string being loaded.
(add_{std,test}_hooks, load_rcfile): Pass an identity through.
2005-05-09 Matthew Gregan <kinetik@orcon.net.nz>
* monotone.cc: Absolutify and tilde expand pid file.
2005-05-09 Matthew Gregan <kinetik@orcon.net.nz>
* testsuite.at: Revert bogus changes committed in revision 9d478.
2005-05-09 Matt Johnston <matt@ucc.asn.au>
* commands.cc (pid_file): use fs::path .empty() rather than ==, since
boost 1.31 doesn't seem to have the latter.
2005-05-08 Matthew Gregan <kinetik@orcon.net.nz>
* lua.cc (report_error, load{file,string}): New member functions.
Error handling in call moved into report_error.
(call): Call report_error.
(run_{file,string}): Call load{file,string} member functions to
load Lua code into the VM. Allows us to report syntax errors when
loading rc files.
* testsuite.at: test_hooks.lua was calling nonexistent (obsolete)
strfind function and failing silently. The improved error
reporting from Lua caught this and cause testsuite failures.
2005-05-08 Matthew Gregan <kinetik@orcon.net.nz>
* monotone.1: Document --pid-file option. Also make some minor
spelling and punctuation fixes.
2005-05-08 Timothy Brownawell <tbrownaw@gmail.com>
* app_state.cc: {read,write}_options now print a warning instead of
failing on unreadable/unwritable MT/options .
* tests/t_unreadable_MT.at: add matching test
* testsuite.at: add test
* tests/README: Mention that new tests must be added to testsuite.at
* work.cc: (get_revision_id) Friendlier error message for
unreadable MT/revision .
2005-05-08 Matthew Gregan <kinetik@orcon.net.nz>
* monotone.texi: Right words, wrong order.
* testsuite.at: Drop pid mapping trickery, it doesn't work
consistently. We now try and use SysInternal's pskill to kill the
process. If pskill is not available, we fall back to the old
'kill all monotone processes' method. These changes affect
Win32/MingW only.
2005-05-07 Matthew Gregan <kinetik@orcon.net.nz>
* commands.cc (pid_file): Remove leftover debugging output.
* configure.ac: Correct typos in TYPE_PID_T test.
* testsuite.at: Use some trickery on MingW/Cygwin to map the
Windows pid to the Cygwin pid.
* win32/process.cc (process_wait): Correct return type.
(process_spawn): Replace dropped cast on return.
2005-05-07 Matt Johnston <matt@ucc.asn.au>
* change_set.cc: fix the code which skips deltas on deleted files,
it was looking at the merged filename not the ancestor
filename.
* tests/t_drop_vs_patch_rename.at: a test for the above fix
* testsuite.at: add it
2005-05-06 Timothy Brownawell <tbrownaw@gmail.com>
* contrib/monoprof.sh: Add lcad test.
Add options to pull/rebuild before profiling.
2005-05-06 Nathaniel Smith <njs@codesourcery.com>
* INSTALL: s/g++ 3.2 or 3.3/g++ 3.2 or later/.
2005-05-06 Nathaniel Smith <njs@codesourcery.com>
* monotone.1:
* monotone.texi (Commands, Importing from CVS, RCS): Clarify
cvs_import documentation on cvsroot vs. module issues.
2005-05-05 Richard Levitte <richard@levitte.org>
* AUTHORS: Add rghetta.
2005-05-05 Matthew Gregan <kinetik@orcon.net.nz>
* monotone.texi: Document --pid-file option for serve command.
* app_state.{cc,hh} (set_pidfile, pidfile): New function, new
member.
* commands.cc (pid_file): New class.
(CMD(serve)): Use pid_file.
* monotone.cc (coptions, cppmain): Add command-specific option
--pid-file.
* options.hh (OPT_PIDFILE): New option.
* {unix,win32}/process.cc (get_process_id): New function.
(process_{spawn,wait,kill}): Use pid_t.
* platform.hh (process_{spawn,wait,kill}): Use pid_t.
(get_process_id): New function
* configure.ac: Test for pid_t.
* lua.cc (monotone_{spawn,wait,kill}_for_lua): Use pid_t.
* testsuite.at: Update netsync kill functions to use pid file.
* tests/t_netsync_sigpipe.at: Update to use pid file.
* tests/t_netsync_single.at: Update to use pid file.
2005-05-04 Nathaniel Smith <njs@codesourcery.com>
* tests/t_monotone_up.at: New test.
* testsuite.at: Add it.
2005-05-05 Matthew Gregan <kinetik@orcon.net.nz>
* work.cc: Use attr_file_name rather than hardcoded strings.
2005-05-04 Brian Campbell <brian.p.campbell@dartmouth.edu>
* contrib/monotone.el (monotone-vc-register): Fix arguments to
monotone-cmd-buf, to make work.
2005-05-03 Nathaniel Smith <njs@codesourcery.com>
* file_io.cc (read_data_for_command_line): Check that file exists,
if reading a file.
2005-05-04 Matthew Gregan <kinetik@orcon.net.nz>
* configure.ac: Add TYPE_SOCKLEN_T function from the Autoconf
archive.
* cryptopp/cryptlib.h (NameValuePairs): Change GetVoidValue from a
pure virtual to an implemented (but never called) member function
to work around build problem with GCC 4 on OS X 10.4
* netxx/osutil.h: Include config.h, use new HAVE_SOCKLEN_T define
to determine socklen_t type.
2005-05-03 Nathaniel Smith <njs@codesourcery.com>
* lua.cc (load_rcfile): Make a version that takes utf8 strings,
and understands -.
* app_state.cc (load_rcfiles): Use it.
* file_io.{cc,hh} (absolutify_for_command_line): New function.
* monotone.cc (cpp_main): Use it.
* tests/t_rcfile_stdin.at: New test.
* testsuite.at: Include it.
2005-05-03 Nathaniel Smith <njs@codesourcery.com>
* netsync.cc (load_epoch): Remove unused function.
2005-05-03 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_cvsimport_manifest_cycle.at: Add missing symbols.
* tests/t_cvsimport_deleted_invar.at: Add new test.
* testsuite.at: New test.
2005-05-03 Nathaniel Smith <njs@codesourcery.com>
* netsync.cc (run_netsync_protocol): Don't use the word
"exception" in error messages.
2005-05-03 Nathaniel Smith <njs@codesourcery.com>
* UPGRADE: Fix version number.
2005-05-03 Nathaniel Smith <njs@codesourcery.com>
* debian/compat: New file.
2005-05-03 Nathaniel Smith <njs@codesourcery.com>
* UPGRADE: Mention upgrading from 0.18.
* debian/copyright: Re-sync with AUTHORS.
* win32/monotone.iss, monotone.spec, debian/changelog: Bump
version numbers to 0.19.
* NEWS: Finish updating for 0.19.
2005-05-03 Jon Bright <jon@siliconcircus.com>
* win32/monotone.iss: Bump version to 0.19
2005-05-03 Jon Bright <jon@siliconcircus.com>
* tests/t_automate_select.at: Use arithmetic comparison for
checking output of wc, since wc pads its results with initial
spaces on MinGW.
2005-05-03 Nathaniel Smith <njs@codesourcery.com>
* tests/t_cvsimport2.at: Pass correct module directory.
2005-05-02 Nathaniel Smith <njs@codesourcery.com>
* configure.ac: Bump version to 0.19.
* NEWS: Tweaks.
* Makefile.am (MOST_SOURCES): Add options.hh.
(%.eps): Fix ps2eps calling convention.
* po/monotone.pot: Regenerate.
* testsuite.at (CHECK_SAME_CANONICALISED_STDOUT): New macro.
2005-05-02 Nathaniel Smith <njs@codesourcery.com>
* NEWS: More updates.
* rcs_import.cc (store_manifest_edge): Fix some edge cases.
* tests/t_cvsimport_manifest_cycle.at: Make work. Un-XFAIL.
2005-05-01 Matt Johnston <matt@ucc.asn.au>
* diff_patch.cc (normalize_extents): broaden the condition when
changes can be normalised.
* tests/t_merge_6.at: now passes.
2005-05-01 Emile Snyder <emile@alumni.reed.edu>
* annotate.cc: Fix bug that njs pointed out when a merge has one
side with no changes. Be smarter about how we get parent
file_id's to do file diffs; give another big speedup.
* tests/t_annotate_copy_all.at: New test for the bug that is fixed.
* testsuite.at: Add the new test.
2005-05-02 Richard Levitte <richard@levitte.org>
* tests/t_override_author_date.at: Adapt to the new way to give
revision IDs to 'monotone log'.
2005-05-01 Richard Levitte <richard@levitte.org>
* monotone.texi: Document the change in 'monotone log'.
2005-05-01 Riccardo Ghetta <birrachiara@tin.it>
* commands.cc (CMD(log)): Use --revision.
2005-05-02 Matt Johnston <matt@ucc.asn.au>
* netsync.cc (process_auth_cmd): make it clearer what the "unknown
key hash" refers to.
2005-05-01 Richard Levitte <richard@levitte.org>
* commands.hh: Expose complete_commands().
* commands.cc (explain_usage, command_options, process): Don't
call complete_command(). Except the caller to have done that
already.
* monotone.cc (cpp_main): Start with completing the command after
processing the options. Use the result everywhere the command is
required. This avoids giving the user duplicate (or in some case,
triplicate) messages about command expansion.
2005-04-30 Derek Scherger <derek@echologic.com>
* app_state.{cc,hh}: remove --all-files option
* automate.cc: move inventory command and associated stuff here from ...
* commands.cc: ... here, where it has been removed
* monotone.1: relocate inventory command, remove --all-files option
* monotone.cc: remove --all-files option
* monotone.texi: relocate inventory documentation to automation
section, remove --all-files option
* tests/t_automate_inventory.at: renamed and updated for move to automate
* testsuite.at: adjust for rename
2005-04-30 Derek Scherger <derek@echologic.com>
* Makefile.am (MOST_SOURCES): add restrictions.{cc,hh}
* commands.cc (extract_rearranged_paths):
(extract_delta_paths):
(extract_changed_paths):
(add_intermediate_paths):
(restrict_path_set):
(restrict_rename_set):
(restrict_path_rearrangement):
(restrict_delta_map):
(calculate_restricted_rearrangement):
(calculate_restricted_revision):
(calculate_current_revision):
(calculate_restricted_change_set): move to restrictions.{cc,hh}
(maybe_update_inodeprints):
(cat):
(dodiff):
(update): rename calculate_current_revision to
calculate_unrestricted_revision
* database_check.hh: update header guard #define
* restrictions.{cc,hh}: add new files
2005-04-30 Nathaniel Smith <njs@codesourcery.com>
* commands.cc: Add a placeholder OPT_NONE for commands that don't
take any command-specific options; use it everywhere. Now the
last argument to CMD never starts with %, and the last argument is
always required to be present.
2005-04-30 Richard Levitte <richard@levitte.org>
* contrib/monotone-nav.el (mnav-rev-make): Move it so it's defined
after the definition of the macro mnav-rev-id. Otherwise, the
byte compiler complains there is no setf method for mnav-rev-id.
2005-04-30 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Database): Minor correction.
2005-04-30 Nathaniel Smith <njs@codesourcery.com>
* vocab.cc (trivially_safe_file_path): New function.
(verify): Use it.
(test_file_path_verification, test_file_path_normalization): Add a
few more checks.
* transforms.{cc,hh} (localized_as_string): New function.
* {win32,unix}/inodeprint.cc (inodeprint_file): Use it, to avoid
mkpath().
* commands.cc (add_intermediate_paths): Hand-code intermediate
path generator, taking advantage of normalization of file_path's,
to avoid mkpath().
2005-04-29 Joel Rosdahl <joel@rosdahl.net>
* monotone.texi: Minor corrections.
2005-04-29 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (ls_tags): Sort output.
* tests/t_tags.at: Test that output is sorted.
2005-04-29 Derek Scherger <derek@echologic.com>
* commands.cc (struct file_itemizer): move to ...
* work.hh (file_itemizer} ... here
* work.cc (file_itemizer::visit_file} ... and here
2005-04-29 Emile Snyder <emile@alumni.reed.edu>
* annotate.cc (do_annotate_node): Stop doing expensive
calculate_arbitrary_change_set when we already know we have parent
and child revisions. Cuts annotate run time in half.
2005-04-29 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (update_inodeprints): Rename to...
(refresh_inodeprints): ...this, so 'monotone up' continues to mean
update.
* monotone.texi (Inodeprints): Mention refresh_inodeprints in the
Inodeprints section.
* testsuite.at:
* tests/t_update_inodeprints.at:
* tests/t_refresh_inodeprints.at:
* monotone.texi (Working Copy, Commands):
* monotone.1: Update accordingly.
2005-04-29 Nathaniel Smith <njs@codesourcery.com>
* change_set.cc (dump_change_set): Don't truncate output.
(invert_change_test): New unit test.
(invert_change_set): Make it pass. This fixes (some?)
isect.empty() invariant failures.
* NEWS: Start updating for 0.19.
* revision.cc (check_sane_history): Make comment more
informative.
2005-04-29 Grahame Bowland <grahame@angrygoats.net>
* netxx/types.h: Add new NetworkException type network
issue not caused by calling program
* netsync.cc: Catch Netxx::NetworkException and display
as informative_error.
* netxx/address.cxx: NetworkException for unparsable URIs.
* netxx/datagram.cxx: NetworkException for connection failure.
* netxx/resolve_getaddrinfo.cxx, resolve_gethostbyname.cxx:
NetworkException when DNS resolution fails.
* netxx/serverbase.cxx: NetworkException if unable to bind
to server port.
* netxx/streambase.cxx: NetworkException if unable to
connect.
2005-04-28 Nathaniel Smith <njs@codesourcery.com>
* tests/t_netsync_error.at: New test.
* testsuite.at: Add it.
2005-04-28 Nathaniel Smith <njs@codesourcery.com>
* tests/t_rename_attr.at: Fix a bit; also test that rename refuses
to move a file to a name that already has attrs.
* work.cc (build_rename): Cleanup a bit; refuse to move a file to
a name that already has attrs.
* monotone.texi (Working Copy): Document explicitly that "drop"
and "rename" do not modify the filesystem directly, and do affect
attributes.
2005-04-28 Derek Scherger <derek@echologic.com>
* commands.cc (get_work_path):
(get_revision_path):
(get_revision_id):
(put_revision_id):
(get_path_rearrangement):
(remove_path_rearrangement):
(put_path_rearrangement):
(update_any_attrs):
(get_base_revision):
(get_base_manifest): move to work.{cc,hh}
(update): indicate optional revision with [ and ]
(explicit_merge): indicate optional ancestor with [ and ]
* manifest.{cc,hh} (extract_path_set): move here from work.{cc,hh}
* revision.{cc,hh} (revision_file_name): move to work.{cc,hh}
* work.{cc,hh} (extract_path_set): move to manifest.{cc,hh}
(get_work_path):
(get_path_rearrangement):
(remove_path_rearrangement):
(put_path_rearrangement):
(get_revision_path):
(get_revision_id):
(put_revision_id):
(get_base_revision):
(get_base_manifest):
(update_any_attrs): move here from commands.cc
2005-04-28 Derek Scherger <derek@echologic.com>
* ChangeLog:
* Makefile.am
* tests/t_automate_select.at: merge fixups
2005-04-28 Emile Snyder <emile@alumni.reed.edu>
* annotate.cc: Fix broken build after propagate from .annotate
branch to mainline. The lcs stuff was changed to use
quick_allocator, so our use of it had to change as well.
2005-04-28 Emile Snyder <emile@alumni.reed.edu>
* commands.cc: New command "annotate"
* annotate.{cc,hh}: New files implement it.
* Makefile.am: Build it.
* monotone.texi: Document it.
* tests/t_annotate.at:
* tests/t_annotate_add_collision.at:
* tests/t_annotate_branch_collision.at:
* testsuite.at: Test it.
2005-04-28 Matt Johnston <matt@ucc.asn.au>
* tests/t_merge_6.at: narrow the testcase down considerably.
2005-04-28 Matt Johnston <matt@ucc.asn.au>
* tests/t_merge_6.at, testsuite.at: add a new test for the case where
duplicate lines appear in a file during a merge. This testcase can
be correctly handled by merge(1).
2005-04-28 Matt Johnston <matt@ucc.asn.au>
* tests/t_i18n_file.at, transforms.cc: OS X expects all paths to be
utf-8, don't try to use other encodings in the test.
2005-04-28 Richard Levitte <richard@levitte.org>
* tests/t_automate_select.at: silly ignores not needed any more.
2005-04-28 Richard Levitte <richard@levitte.org>
* commands.cc (complete): Don't talk of there really was no
expansion.
2005-04-28 Richard Levitte <richard@levitte.org>
* commands.cc, commands.hh: Selector functions and type are moved
to...
* selectors.cc, selectors.hh: ... these files.
* database.cc, database.hh: Adapt to this change.
* automate.cc (automate_select): New function, implements
'automate select'.
(automate_command): Use it.
* monotone.texi (Automation): Document it.
* tests/t_automate_select.at: New test.
* testsuite.at: Use it.
* Makefile.am (MOST_SOURCES): reorganise. Add selectors.{cc,hh}.
2005-04-27 Derek Scherger <derek@echologic.com>
* commands.cc (ls_unknown): remove unneeded braces
(struct inventory_item): new struct for tracking inventories
(print_inventory): removed old output functions
(inventory_paths): new functions for paths, data and renames
(inventory): rework to display two column status codes
* monotone.texi (Informative): update for new status codes
* tests/t_inventory.at: update for two column status codes
2005-04-27 Richard Levitte <richard@levitte.org>
* quick_alloc.hh: Define QA_SUPPORTED when quick allocation is
supported.
* sanity.hh: Only defined the QA(T) variants of checked_index()
when QA_SUPPORTED is defined.
2005-04-27 Joel Reed <joelwreed@comcast.com>
* work.cc: on rename move attributes as well.
* tests/t_rename_attr.at: No longer a bug.
2005-04-27 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Working Copy, Commands): Document update_inodeprints.
* monotone.1: Likewise.
* tests/t_update_inodeprints.at: New test.
* testsuite.at: Add it.
2005-04-27 Richard Levitte <richard@levitte.org>
* database.cc (selector_to_certname): Add a case for
commands::sel_cert.
2005-04-27 Richard Levitte <richard@levitte.org>
* sanity.hh: Add a couple of variants of checked_index() to
accomodate for indexes over vector<T, QA(T)>.
* commands.hh: Add new selector to find arbitrary cert name and
value pairs. The syntax is 'c:{name}={value}'.
* commands.cc (decode_selector): Recognise it.
* database.cc (complete): Parse it.
* std_hooks.lua (expand_selector): Add an expansion for it.
* monotone.texi (Selectors): Document it.
* tests/t_select_cert.at: Add test.
* testsuite.at: Use it.
2005-04-27 Matt Johnston <matt@ucc.asn.au>
* vocab.cc (verify(file_path)): don't find() twice.
* change_set.cc (extend_state): remove commented out line
2005-04-27 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_cvsimport_manifest_cycle.at: New test.
* testsuite.at: Add test.
* AUTHORS: Add self.
2005-04-27 Nathaniel Smith <njs@codesourcery.com>
* AUTHORS: Add Timothy Brownawell.
2005-04-27 Timothy Brownawell <tbrownaw@gmail.com>
* ui.{cc,hh}: Delegate tick line blanking to tick_writers.
2005-04-27 Matt Johnston <matt@ucc.asn.au>
* change_set.cc (extend_state): don't mix find() and insert() on
the path_state, to avoid hitting the smap's worst-case.
2005-04-27 Matt Johnston <matt@ucc.asn.au>
* change_set.cc (confirm_proper_tree): move things out of the loops
for better performance.
2005-04-26 Nathaniel Smith <njs@codesourcery.com>
* work.cc: Don't include boost/regex.hpp.
2005-04-26 Nathaniel Smith <njs@codesourcery.com>
* manifest.cc, inodeprint.cc: Don't include boost/regex.hpp.
2005-04-26 Nathaniel Smith <njs@codesourcery.com>
* sqlite/vdbeaux.c (MAX_6BYTE): Apply patch from
http://www.sqlite.org/cvstrac/chngview?cn=2445. It shouldn't
affect monotone's usage, but just in case.
2005-04-26 Nathaniel Smith <njs@codesourcery.com>
* rcs_import.cc (struct cvs_key, process_branch): Fix
indentation.
(build_change_set): Handle the case where a file is "added dead".
* tests/t_cvsimport2.at: Un-XFAIL, improve description.
2005-04-26 Richard Levitte <richard@levitte.org>
* monotone.cc (cpp_main): Count the number of command specific
options exist. If there is any, add a title for them.
2005-04-26 Matt Johnston <matt@ucc.asn.au>
* change_set.cc (analyze_rearrangement): get rid of damaged_in_first
since it is not used.
2005-04-26 Matt Johnston <matt@ucc.asn.au>
* monotone.texi: fix mashed up merge of docs for kill_rev_locally
and db check.
2005-04-26 Richard Levitte <richard@levitte.org>
* monotone.cc, commands.cc: Make some more options global.
2005-04-25 Nathaniel Smith <njs@codesourcery.com>
* tests/t_i18n_file_data.at: New test.
* testsuite.at: Add it.
2005-04-25 Nathaniel Smith <njs@codesourcery.com>
* automate.cc (automate_parents, automate_children)
(automate_graph): New automate commands.
(automate_command): Add them.
* commands.cc (automate): Synopsisfy them.
* monotone.texi (Automation): Document them.
* tests/t_automate_graph.at, test/t_parents_children.at: Test
them.
* testsuite.at: Add the tests.
* tests/t_automate_ancestors.at: Remove obsolete comment.
2005-04-24 Derek Scherger <derek@echologic.com>
* tests/t_rename_file_to_dir.at:
* tests/t_replace_file_with_dir.at:
* tests/t_replace_dir_with_file.at: new bug reports
* testsuite.at: include new tests
2005-04-24 Derek Scherger <derek@echologic.com>
* app_state.{cc,hh} (app_state): add all_files flag to the constructor
(set_all_files): new method for setting flag
* basic_io.{cc,hh} (escape): expose public method to quote and
escape file_paths
(push_str_pair): use it internally
* commands.cc (calculate_restricted_rearrangement): new function
factored out of calculate_restricted_revision
(calculate_restricted_revision): use new function
(struct unknown_itemizer): rename to ...
(struct file_itemizer): ... this; use a path_set rather than a
manifest map; build path sets of unknown and ignored files, rather
than simply printing them
(ls_unknown): adjust to compensate for itemizer changes
(print_inventory): new functions for printing inventory lines from
path sets and rename maps
(inventory): new command for printing inventory of working copy
files
* manifest.cc (inodeprint_unchanged): new function factored out
from build_restricted_manifest_map
(classify_paths): new function to split paths from an old manifest
into unchanged, changed or missing sets for inventory
(build_restricted_manifest_map): adjust to use
inodeprint_unchanged
* manifest.hh (classify_paths): new public function
* monotone.1: document new inventory command and associated
--all-files option
* monotone.cc: add new --all-files option which will be specific
to the inventory command asap
* monotone.texi (Informative): document new inventory command
(Commands): add manpage entry for inventory
(OPTIONS): add entries for --xargs, -@ and --all-files
* tests/t_status_missing.at: remove bug priority flag
* tests/t_inventory.at: new test
* testsuite.at: include new test
2005-04-24 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Database): Document 'db kill_rev_locally'.
2005-04-24 Nathaniel Smith <njs@codesourcery.com>
* ChangeLog: Fixup after merge.
2005-04-24 Nathaniel Smith <njs@codesourcery.com>
* manifest.cc (build_restricted_manifest_map): Careful to only
stat things once on the inodeprints fast-path.
(read_manifest_map): Hand-code a parser, instead of using
boost::regex.
* inodeprint.cc (read_inodeprint_map): Likewise.
2005-04-23 Derek Scherger <derek@echologic.com>
* (calculate_restricted_revision): remove redundant variables,
avoiding path_rearrangement assignments and associated sanity
checks
(calculate_current_revision): rename empty to empty_args for
clarity
2005-04-23 Derek Scherger <derek@echologic.com>
* commands.cc (calculate_base_revision): rename to ...
(get_base_revision): ... this, since it's not calculating anything
(calculate_base_manifest): rename to ...
(get_base_manifest): ... this, and call get_base_revision
(calculate_restricted_revision): call get_base_revision and remove
missing files stuff
(add):
(drop):
(rename):
(attr): call get_base_manifest
(ls_missing):
(revert): call get_base_revision
* manifest.{cc,hh} (build_restricted_manifest_map): don't return
missing files and don't produce invalid manifests; do report on
all missing files before failing
2005-04-23 Derek Scherger <derek@echologic.com>
* app_state.cc:
* database.cc:
* file_io.{cc, hh}: fix bad merge
2005-04-23 Nathaniel Smith <njs@codesourcery.com>
* database.cc (put_key): Check for existence of keys with
conflicting key ids, give more informative message than former SQL
constraint error.
2005-04-23 Nathaniel Smith <njs@codesourcery.com>
* transforms.cc (filesystem_is_ascii_extension_impl): Add EUC to
the list of ascii-extending encodings.
* tests/t_multiple_heads_msg.at: Make more robust, add tests for
branching.
2005-04-23 Nathaniel Smith <njs@codesourcery.com>
* app_state.cc (restriction_includes): Remove some L()'s that were
taking 5-6% of time in large tree diff.
2005-04-23 Nathaniel Smith <njs@codesourcery.com>
* file_io.{cc,hh} (localized): Move from here...
* transforms.{cc,hh} (localized): ...to here. Add lots of gunk to
avoid calling iconv whenever possible.
2005-04-23 Richard Levitte <richard@levitte.org>
* monotone.cc, options.hh: Move the option numbers to options.hh,
so they can be easily retrieved by other modules.
* monotone.cc: split the options table in global options and
command specific options. The former are always understood, while
the latter are only understood by the commands that declare it
(see below).
(my_poptStuffArgFile): There's no need to keep a copy of the
stuffed argv. This was really never a problem.
(coption_string): New function to find the option string from an
option number.
(cpp_main): Keep track of which command-specific options were
given, and check that the given command really uses them. Make
sure that when the help is written, only the appropriate command-
specific options are shown. We do this by hacking the command-
specific options table.
Throw away sub_argvs, as it's not needed any more (and realy never
was).
* commands.cc: Include options.hh to get the option numbers.
(commands_ops): New structure to hold the option
numbers used by a command.
(commands): Use it.
(command_options): Function to get the set of command-specific
options for a specific command.
(CMD): Changed to take a new parameter describing which command-
specific options this command takes. Note that for commands that
do not take command-specific options, this new parameter must
still be given, just left empty.
Update all commands with this new parameter.
* commands.hh: Declare command_options.
* tests/t_automate_heads.at: 'automate heads' never used the value
of --branch.
* tests/t_sticky_branch.at: and neither did 'log'...
* tests/t_update_missing.at: nor did 'add'...
2005-04-23 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_diff_currev.at: Use CHECK_SAME_STDOUT.
2005-04-23 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_diff_currev.at: New test.
* testsuite.at: Add new test.
2005-04-22 Christof Petig <christof@petig-baender.de>
* sqlite/*: update to sqlite 3.2.1
2005-04-22 Nathaniel Smith <njs@codesourcery.com>
* manifest.cc (build_restricted_manifest_map): Fixup after merge
-- use file_exists instead of fs::exists.
2005-04-22 Derek Scherger <derek@echologic.com>
* manifest.{cc,hh} (build_restricted_manifest_map): keep and
return a set of missing files rather than failing on first missing
file
* commands.cc (calculate_restricted_revision): handle set of
missing files
* revision.hh: update comment on the format of a revision
* tests/t_status_missing.at: un-XFAIL and add a few tests
2005-04-22 Nathaniel Smith <njs@codesourcery.com>
* vocab.cc (verify(file_path), verify(local_path)): Normalize
paths on the way in.
* tests/t_normalized_filenames.at: Fix to match behavior
eventually declared "correct".
2005-04-22 Nathaniel Smith <njs@codesourcery.com>
* vocab.{cc,hh}: Make verify functions public, make ATOMIC(foo)'s
verify function a friend of foo, add ATOMIC_NOVERIFY macro, add
long comment explaining all this.
* vocab_terms.hh: Add _NOVERIFY to some types.
2005-04-22 Nathaniel Smith <njs@codesourcery.com>
* file_io.{cc,hh} (localized): Take file_path/local_path instead
of string; expose in public interface. Adjust rest of file to
match.
(walk_tree): Don't convert the (OS-supplied) current directory
from UTF-8 to current locale.
* transforms.{cc,hh} (charset_convert): Be more informative on
error.
(calculate_ident): Localize the filename, even on the fast-path.
Also assert file exists and is not a directory, since Crypto++
will happily hash directories. (They are like empty files,
apparently.)
* manifest.cc (build_restricted_manifest_map): Use file_exists
instead of fs::exists, to handle localized paths.
* {win32,unix}/inodeprint.cc (inodeprint_file): Use localized
filenames to stat.
* tests/t_i18n_file.at: Rewrite to work right.
* tests/t_normalized_filenames.at: New test.
* testsuite.at: Add it.
* vocab.cc (test_file_path_verification): MT/path is not a valid
file_path either.
(test_file_path_normalization): New unit-test.
2005-04-22 Joel Reed <joelwreed@comcast.net>
* work.cc (build_deletions) : on drop FILE also drop attributes.
* tests/t_drop_attr.at : test for success now, fixed bug.
2005-04-22 Jon Bright <jon@siliconcircus.com>
* monotone.texi: Changed all quoting of example command lines to
use " instead of ', since this works everywhere, but ' doesn't
work on Win32
2005-04-21 Jeremy Cowgar <jeremy@cowgar.com>
* tests/t_multiple_heads_msg.at: Now checks to ensure 'multiple head'
message does not occur on first commit (which creates a new head
but not multiple heads).
* commands.cc (CMD(commit)): renamed head_size to better described
old_head_size, now checks that old_head_size is larger than 0 as
well otherwise, on commit of a brand new project, a new head was
detected and a divergence message was displayed.
2005-04-21 Richard Levitte <richard@levitte.org>
* commands.cc (ALIAS): refactor so you don't have to repeat all
the strings given to the original command.
(ALIAS(ci)): added as a short form for CMD(commit).
* Makefile.am (%.eps): create .eps files directly from .ps files,
using ps2eps.
2005-04-21 Sebastian Spaeth <Sebastian@SSpaeth.de>
* monotone.texi: add command reference docs about kill_rev_locally
2005-04-21 Nathaniel Smith <njs@codesourcery.com>
* change_set.cc (apply_path_rearrangement_can_fastpath)
(apply_path_rearrangement_fastpath)
(apply_path_rearrangement_slowpath, apply_path_rearrangement):
Refactor into pieces, so all versions of apply_path_rearrangement
can take a fast-path when possible.
2005-04-21 Jeremy Cowgar <jeremy@cowgar.com>
* commands.cc: Renamed maybe_show_multiple_heads to
notify_if_multiple_heads, renamed headSize to head_size for
coding standards/consistency.
* tests/t_multiple_heads_msg.at: Added to monotone this time.
2005-04-20 Jeremy Cowgar <jeremy@cowgar.com>
* commands.cc: Added maybe_show_multiple_heads, update now notifies
user of multiple heads if they exist, commit now notifies user
if their commit created a divergence.
* tests/t_multiple_heads_msg.at: Added
* testsuite.at: Added above test
2005-04-20 Nathaniel Smith <njs@codesourcery.com>
* Makefile.am (EXTRA_DIST): Put $(wildcard) around "debian/*", so
it will actually work.
2005-04-20 Nathaniel Smith <njs@codesourcery.com>
* Makefile.am (EXTRA_DIST): Include tests, even when not building
packages out in the source directory.
2005-04-20 Matthew Gregan <kinetik@orcon.net.nz>
* commands.cc (kill_rev_locally): Move up with rest of non-CMD()
functions. Mark static. Minor whitespace cleanup.
* commands.hh (kill_rev_locally): Declaration not needed now.
2005-04-20 Sebastian Spaeth <Sebastian@SSpaeth.de>
* automate.cc: fix typo, add sanity check to avoid empty r_id's
bein passed in. The automate version was bumped to 0.2 due to
popular request of a single person.
* t_automate_ancestors.at: adapt test; it passes now
2005-04-20 Sebastian Spaeth <Sebastian@SSpaeth.de>
* testuite.at:
* t_automate_ancestors.at: new test; automate ancestors. This is still
_failing_ as a) it outputs empty newlines when no ancestor exists and
b) does not output all ancestors if multiple ids are supplied as input
2005-04-20 Sebastian Spaeth <Sebastian@SSpaeth.de>
* commands.cc:
* automate.cc: new command: automate ancestors
* monotone.texi: adapt documentation
2005-04-20 Nathaniel Smith <njs@codesourcery.com>
* tests/t_log_depth_single.at:
* tests/t_add_stomp_file.at:
* tests/t_log_depth.at: Shorten blurbs.
2005-04-20 Nathaniel Smith <njs@codesourcery.com>
* std_hooks.lua (ignore_file): Ignore compiled python files.
2005-04-20 Jon Bright <jon@siliconcircus.com>
* tests/t_sticky_branch.at: Really fix this test
2005-04-20 Jon Bright <jon@siliconcircus.com>
* tests/t_sticky_branch.at: Canonicalise stdout before comparison
* tests/t_setup_checkout_modify_new_dir.at: Ditto
* tests/t_netsync_largish_file.at: Check the file out rather
than catting it, so that canonicalisation is unneeded.
Canonicalisation is bad here, because the file is random
binary data, not text with line-ending conventions
2005-04-20 Richard Levitte <richard@levitte.org>
* contrib/monotone.el: define-after-key's KEY argument has to be a
vector with only one element. The code I used is taken directly
from the Emacs Lisp Reference Manual, section "Modifying Menus".
2005-04-20 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (mdelta, mdata, fdelta, fdata, rdata): Check for
existence of command line arguments.
* lua.{cc,hh} (hook_use_inodeprints): New hook.
* std_hooks.lua (use_inodeprints): Default definition.
* monotone.texi (Inodeprints): New section.
(Reserved Files): Document MT/inodeprints.
(Hook Reference): Document use_inodeprints.
* work.{cc,hh} (enable_inodeprints): New function.
* app_state.cc (create_working_copy): Maybe call
enable_inodeprints.
* tests/t_inodeprints_hook.at: New test.
* tests/t_bad_packets.at: New test.
* testsuite.at: Add them.
2005-04-20 Nathaniel Smith <njs@codesourcery.com>
* AUTHORS: Actually add Joel Reed (oops).
2005-04-20 Nathaniel Smith <njs@codesourcery.com>
Most of this patch from Joel Reed, with only small tweaks myself.
* AUTHORS: Add Joel Reed.
* platform.hh (is_executable): New function.
* {unix,win32}/process.cc: Define it.
* lua.cc (monotone_is_executable_for_lua): New function.
(lua_hooks): Register it.
(Lua::push_nil): New method.
(lua_hooks::hook_init_attributes): New hook.
* lua.hh: Declare it.
* monotone.texi (Hook Reference): Document it.
* work.cc (addition_builder): Call new hook, collect attributes
for added files.
(build_additions): Set attributes on new files.
* tests/t_attr_init.at: New test.
* tests/t_add_executable.at: New test.
* testsuite.at: Add them.
2005-04-19 Nathaniel Smith <njs@codesourcery.com>
* file_io.cc (read_localized_data, write_localized_data): Remove
logging of complete file contents.
* tests/t_lf_crlf.at: Remove --debugs, clean up, test more.
2005-04-19 Emile Snyder <emile@alumni.reed.edu>
* file_io.cc: Fix bugs with read/write_localized_data when using
CRLF line ending conversion.
* transforms.cc: Fix line_end_convert to add correct end of line
string if the split_into_lines() call causes us to lose one from
the end.
* tests/t_lf_crlf.at: Clean up and no longer XFAIL.
2005-04-19 Sebastian Spaeth <Sebastian@SSpaeth.de>
* monotone.texi: modified documentation to match changes due to
previous checking.
* AUTHORS: Adding myself
2005-04-19 Sebastian Spaeth <Sebastian@SSpaeth.de>
* automate.cc: make BRANCH optional in "automate heads BRANCH"
we use the default branch as given in MT/options if not specified
* commands.cc: BRANCH -> [BRANCH] in cmd description
2005-04-19 Richard Levitte <richard@levitte.org>
* contrib/monotone-import.pl (my_exit): As in monotone-notify.pl,
my_exit doesn't close any network connections.
* testsuite.at (REVERT_TO): Make it possible to revert to a
specific branch. This is useful to resolve ambiguities.
* tests/t_merge_add_del.at: Use it.
2005-04-19 Matthew Gregan <kinetik@orcon.net.nz>
* sanity.hh: Mark {naughty,error,invariant,index}_failure methods
as NORETURN.
* commands.cc (string_to_datetime): Drop earlier attempt at
warning fix, it did not work with Boost 1.31.0. Warning fixed by
change to sanity.hh.
2005-04-19 Matthew Gregan <kinetik@orcon.net.nz>
* lua.cc (default_rcfilename): Use ~/.monotone/monotonerc. This
change is to prepare for the upcoming support for storing user
keys outside of the database (in ~/.monotone/keys/).
* app_state.cc (load_rcfiles): Refer to new rc file location in
comments.
* monotone.cc (options): Refer to new rc file location.
* monotone.texi: Refer to new rc file location. Also change bare
references to the rc file from '.monotonerc' to 'monotonerc'.
2005-04-19 Matthew Gregan <kinetik@orcon.net.nz>
* commands.cc (log): 'depth' option did not handle the single file
case correctly. Also a couple of minor cleanups.
* tests/t_log_depth_single.at: New test.
* testsuite.at: Add test.
2005-04-18 Matthew Gregan <kinetik@orcon.net.nz>
* commands.cc (string_to_datetime): Fix warning.
2005-04-18 Richard Levitte <richard@levitte.org>
* Makefile.am (EXTRA_DIST): Add contrib/monotone-import.pl.
* contrib/monotone-import.pl: New script to mimic "cvs import".
* contrib/README: describe it.
* commands.cc (CMD(attr)): Make it possible to drop file
attributes.
* contrib/monotone-notify.pl (my_exit): The comment was incorrect,
there are no network connections to close gracefully.
Implement --ignore-merges, which is on by default, and changes the
behavior to not produce diffs on merges and propagates where the
ancestors hve already been shown.
* tests/t_attr_drop.at: New test to check that 'attr drop'
correctly drops the given entry.
* tests/t_drop_attr.at: New test, similar to t_rename_attr.at.
* testsuite.at: Add them.
2005-04-18 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Dealing with a Fork): Clarify (hopefully) what we
mean when we say that "update" is a dangerous command.
2005-04-17 Matt Johnston <matt@ucc.asn.au>
* change_set.cc (confirm_proper_tree): remove incorrect code
setting confirmed nodes.
2005-04-17 Matt Johnston <matt@ucc.asn.au>
* change_set.cc (confirm_proper_tree): use a std::set rather than
dynamic_bitset for the ancestor list, improving performance for
common tree structures.
* basic_io.cc: reserve() a string
2005-04-17 Matt Johnston <matt@ucc.asn.au>
* packet.cc: fix up unit test compilation.
* transforms.cc: fix up unit test compilation.
2005-04-17 Matt Johnston <matt@ucc.asn.au>
* vocab_terms.hh: remove commented out lines.
2005-04-17 Matt Johnston <matt@ucc.asn.au>
* Move base64<gzip> code as close to the database as possible,
to avoid unnecessary inflating and deflating.
2005-04-17 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Branching and Merging): A few small edits.
2005-04-17 Nathaniel Smith <njs@codesourcery.com>
* change_set.cc (path_item, sanity_check_path_item): Mark things
inline.
2005-04-17 Henrik Holmboe <henrik@holmboe.se>
* contrib/monotone-notify.pl: Add signal handlers. Correct some
typos.
(my_exit): New function that does a cleanup and exit.
2005-04-17 Olivier Andrieu <oliv__a@users.sourceforge.net>
* transforms.cc: fix glob_to_regexp assertions
2005-04-17 Sebastian Spaeth <Sebastian@sspaeth.de>
* tests/t_db_kill_rev_locally.at: new test;
make sure that db kill_rev_locally works as intended
2005-04-17 Sebastian Spaeth <Sebastian@sspaeth.de>
* commands.cc,database.cc: add 'db kill_rev_locally <id>' command
still missing: documentation and autotests. Otherwise seems ok.
2005-04-17 Richard Levitte <richard@levitte.org>
* transforms.cc: Remove tabs and make sure emacs doesn't add
them.
2005-04-17 Nathaniel Smith <njs@codesourcery.com>
* sanity.{hh,cc} (E, error_failure): New sort of invariant.
* netsync.cc (process_hello_cmd): Make initial pull message
more clear and friendly.
Also, if the key has changed, that is an error, not naughtiness.
* database_check.cc (check_db): Database problems are also errors,
not naughtiness. Revamp output in case of errors, to better
distinguish non-serious errors and serious errors.
* tests/t_database_check.at: Update accordingly.
* tests/t_database_check_minor.at: New test.
* testsuite.at: Add it.
2005-04-17 Richard Levitte <richard@levitte.org>
* transforms.cc (glob_to_regexp): New function that takes a glob
expression and transforms it into a regexp. This will be useful
for globbing branch expressions when collections are exchanged to
branch globs and regexps.
(glob_to_regexp_test): A unit test for glob_to_regexp().
2005-04-17 Matt Johnston <matt@ucc.asn.au>
* commands.cc: warn that dropkey won't truly erase the privkey
from the database
* monotone.texi: same
2005-04-17 Matt Johnston <matt@ucc.asn.au>
* database.cc: mention that it could be the filesystem that
is full in the SQLITE_FULL error message
2005-04-17 Matthew Gregan <kinetik@orcon.net.nz>
* monotone.cc: Fix warnings: add missing initializers.
* netsync.cc: Fix warnings: inline static vs static inline.
2005-04-16 Emile Snyder <emile@alumni.reed.edu>
* tests/t_add_stomp_file.at: New test for failing case.
If you have a file foo in your working dir (not monotone
controlled) and someone else adds a file foo and commits,
update should at least warn you before stomping your
non-recoverable foo file.
* testsuite.at: Add it.
2005-04-16 Derek Scherger <derek@echologic.com>
* work.cc (known_preimage_path): rename to...
(known_path): this, since it's image agnostic
(build_deletions): update for renamed function
(build_rename): ensure rename source exists in current revision
and rename target does not exist in current revision
* tests/t_no_rename_overwrite.at: un-XFAIL
2005-04-16 Nathaniel Smith <njs@codesourcery.com>
* app_state.{cc,hh} (set_author, set_date): New methods.
* cert.cc (cert_revision_date): Rename to...
(cert_revision_date_time): ...an overloaded version of this.
(cert_revision_author_default): Check app.date.
* cert.hh: Expose cert_revision_date_time.
* commands.cc (commit): Handle --date.
* main.cc: Parse --date and --author options.
* monotone.1: Document --date, --author.
* monotone.texi (Working Copy, OPTIONS): Likewise.
* tests/t_override_author_date.at: New test.
* testsuite.at: Add it.
This commit heavily based on a patch by Markus Schiltknecht
<markus@bluegap.ch>.
2005-04-16 Nathaniel Smith <njs@codesourcery.com>
* ChangeLog: Fixup after merge.
2005-04-16 Nathaniel Smith <njs@codesourcery.com>
* tests/t_update_nonexistent.at: New test.
* testsuite.at: Add it.
* commands.cc (update): Verify that user's requested revision
exists.
2005-04-16 Nathaniel Smith <njs@codesourcery.com>
* ChangeLog: Fixup after merge.
2005-04-16 Emile Snyder <emile@alumni.reed.edu>
* tests/t_add_vs_commit.at: New test for failing case. If you
add a file in you working dir, someone else adds the same file
and commits, then you do an update it messes up your working
directory.
* testsuite.at: Add it.
2005-04-16 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (checkout): Move check for existence of revision
earlier.
* tests/t_netsync_defaults.at, tests/t_netsync_single.at:
Don't hard-code netsync port.
2005-04-16 Nathaniel Smith <njs@codesourcery.com>
* testsuite.at: Use a random server port.
* .mt-attrs, contrib/README: Update for Notify.pl ->
monotone-notify.pl rename.
* monotone.1: Warn people off rcs_import.
* monotone.texi (Commands): Likewise.
2005-04-16 Nathaniel Smith <njs@codesourcery.com>
* AUTHORS: Add Emile Snyder <emile@alumni.reed.edu>.
2005-04-16 Nathaniel Smith <njs@codesourcery.com>
* tests/t_lf_crlf.at: New test from Emile Snyder
<emile@alumni.reed.edu>, with tweaks.
* testsuite.at: Add it.
2005-04-16 Nathaniel Smith <njs@codesourcery.com>
* ChangeLog: Small fixups.
2005-04-16 Sebastian Spaeth <Sebastian@sspaeth.de>
* tests/t_cvsimport2.at: new test; CVS Attic files fail test
reported by: hjlipp@web.de 15.04.2005 02:45
2005-04-16 Sebastian Spaeth <Sebastian@sspaeth.de>
* tests/t_rcs_import.at: new test; problematic CVS import as
reported in the list. However it works just fine here, so it
really tests for a successful pass
2005-04-16 Sebastian Spaeth <Sebastian@sspaeth.de>
* tests/README: new file, on how to create/run tests
2005-04-16 Nathaniel Smith <njs@codesourcery.com>
* tests/t_rename_dir_add_dir_with_old_name.at: XFAIL.
2005-04-16 Nathaniel Smith <njs@codesourcery.com>
* tests/t_diff_binary.at: Un-XFAIL.
2005-04-16 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Network Service): Rewrite to include former
Exchanging Keys section.
(Branching and Merging): New tutorial section, inspired by a patch
from Martin Kihlgren <zond@troja.ath.cx>.
(CVS Phrasebook): Add "Importing a New Project".
* AUTHORS: Add Martin Dvorak.
2005-04-16 Matt Johnston <matt@ucc.asn.au>
* change_set.cc (compose_rearrangement): remove logging statements
that were using noticable CPU time.
2005-04-15 Martin Dvorak <jezek2@advel.cz>
* tests/t_rename_dir_add_dir_with_old_name.at: New test.
* testsuite.at: Add it.
2005-04-15 Olivier Andrieu <oliv__a@users.sourceforge.net>
* diff_patch.cc(guess_binary): do not use '\x00' as first
character of a C string ...
2005-04-15 Sebastian Spaeth <Sebastian@SSpaeth.de>
* ui.cc: print byte progress to one decimal place
in k or M.
* netsync.cc: update dot ticker every 1024 bytes.
2005-04-15 Matt Johnston <matt@ucc.asn.au>
* change_set.cc (confirm_proper_tree): use bitsets rather than maps
for tracking set membership.
* smap.hh: return reverse iterators properly, iterate over the vector
rather than self in ensure_sort()
2005-04-14 Derek Scherger <derek@echologic.com>
* database_check.cc (check_db): fail with N(...) when problems are
detected to exit with a non-zero status
2005-04-14 Derek Scherger <derek@echologic.com>
* monotone.texi (Informative): update description of 'diff' with
two revision arguments
2005-04-14 Matthew Gregan <kinetik@orcon.net.nz>
* win32/process.cc: Fix build on MingW 3.2.0-rc[123] by adding
<sstream> include.
2005-04-14 Jon Bright <jon@siliconcircus.com>
* win32/process.cc (process_spawn): Add some extra debug info
* std_hooks.lua (execute): If pid is -1, don't try and wait on
the process
2005-04-14 Matt Johnston <matt@ucc.asn.au>
* change_set.cc (confirm_unique_entries_in_directories): use a
std::vector rather than std::map for better performance (only sort
once).
* smap.hh: an invariant
2005-04-14 Nathaniel Smith <njs@codesourcery.com>
* tests/t_vcheck.at: Update notes.
2005-04-14 Jeremy Cowgar <jeremy@cowgar.com>
* monotone.texi (Making Changes): Fixed duplicate paragraph
* NEWS: Corrected spelling error in my name.
2005-04-14 Olivier Andrieu <oliv__a@users.sourceforge.net>
* Makefile.am: silence cmp
2005-04-14 Matthew Gregan <kinetik@orcon.net.nz>
* win32/terminal.cc (have_smart_terminal): Implement for Win32.
2005-04-13 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Informative): 'diff' with two revision arguments
can now be filtered by file.
* constants.cc (netcmd_payload_limit): Bump to 256 megs.
2005-04-13 Matthew Gregan <kinetik@orcon.net.nz>
* tests/t_netsync_largish_file.at: Add test for netsyncing largish
(32MB) files. This test is failing at present.
* testsuite.at: Add new test.
2005-04-13 Nathaniel Smith <njs@codesourcery.com>
* tests/t_setup_checkout_modify_new_dir.at:
* tests/t_update_off_branch.at: New tests.
* testsuite.at: Add them.
* commands.cc (checkout): Tweak branch checking logic.
(update): Make user explicitly switch branches.
2005-04-13 Nathaniel Smith <njs@codesourcery.com>
* rcs_import.cc (import_cvs_repo): Check that user isn't trying to
import a whole CVS repo.
* tests/t_cvsimport.at: Test new check.
2005-04-13 Richard Levitte <richard@levitte.org>
* contrib/Notify.pl: Rename ...
* contrib/monotone-notify.pl: ... to this.
* Makefile.am (EXTRA_DIST): Take note of the change.
* debian/docs: Distribute the contributions as well.
* debian/compat, debian/files, debian/monotone.1: Remove, since
they are self-generated by debhelper. They were obviously added
by mistake.
2005-04-13 Nathaniel Smith <njs@codesourcery.com>
* cert.cc (guess_branch): Call app.set_branch.
* app_state.cc (create_working_copy): Call make_branch_sticky
here...
* commands.cc (checkout): ...instead of here.
(approve, disapprove, fcommit, commit): Don't call app.set_branch
on guess_branch's output.
(checkout): Call guess_branch.
* tests/t_sticky_branch.at:
* tests/t_checkout_id_sets_branch.at: New tests.
* testsuite.at: Add them.
2005-04-13 Matthew Gregan <kinetik@orcon.net.nz>
* cryptopp/integer.h: Fix detection of GCC version for SSE2
builds.
2005-04-12 Florian Weimer <fw@deneb.enyo.de>
* app_state.cc (app_state::allow_working_copy): Only update
branch_name from the options file if it has not yet been set. Log
the branch name.
(app_state::set_branch): No longer update the options map.
(app_state::make_branch_sticky): New function which copies the
stored branch name to the options map. Only commands which call
this function change the branch default stored in the working
copy.
* commands.cc (CMD(checkout)): Mark branch argument as sticky.
(CMD(commit)): Likewise.
(CMD(update)): Likewise.
* monotone.texi (Working Copy): Mention that the "commit" and
"update" commands update the stored default branch ("checkout"
does, too, but this one should be obvious).
2005-04-12 Jon Bright <jon@siliconcircus.com>
* rcs_import.cc (find_key_and_state): Fix stupid bug in storing the
list of files a cvs_key contains. CVS delta invariant failure now
really fixed. The rearrangement failure still exists, though.
2005-04-12 Jon Bright <jon@siliconcircus.com>
* tests/t_cvsimport_samelog.at: Add test for the deltas.find
cvs import problem as sent to the ML by Emile Snyder.
* testsuite.at: Call it
* rcs_import.cc (cvs_key): Add an ID for debug output purposes,
sprinkle a little more debug output about what's being compared to
what
* rcs_import.cc (cvs_key): Maintain a map of file paths and CVS
versions appearing in this CVS key.
(cvs_key::similar_enough): A key is only similar enough if it doesn't
include a different version of the same file path.
(cvs_history::find_key_and_state): Add files to cvs_keys as
appropriate
2005-04-12 Matthew Gregan <kinetik@orcon.net.nz>
* win32/terminal.cc (terminal_width): Use
GetConsoleScreenBufferInfo to request width information for
terminals.
2005-04-12 Nathaniel Smith <njs@codesourcery.com>
* ChangeLog: Fixup after merge.
2005-04-12 Nathaniel Smith <njs@codesourcery.com>
* platform.hh (terminal_width): New function.
* {unix,win32}/have_smart_terminal.cc: Rename to...
* {unix,win32}/terminal.cc: ...these. Implement terminal_width.
* ui.cc (write_ticks): Call it.
* Makefile.am: Update for renames.
2005-04-11 Matt Johnston <matt@ucc.asn.au>
* ui.{cc,hh}, netsync.cc: netsync progress ticker in kilobytes to
avoid wrapping.
2005-04-11 Jon Bright <jon@siliconcircus.com>
* Makefile.am (EXTRA_DIST): Add debian/*
2005-04-11 Jon Bright <jon@siliconcircus.com>
* Makefile.am (EXTRA_DIST): Add win32/monotone.iss, PNG_FIGURES
(PNG_FIGURES): Add, constructing in same way as EPS_FIGURES
(monotone.html): Use .perlbak workaround so that this works on Win32
2005-04-11 Matthew Gregan <kinetik@orcon.net.nz>
* unix/inodeprint.cc, configure.ac: Use nanosecond time resolution for
inodeprints on BSDs and other platforms if available.
2005-04-10 Nathaniel Smith <njs@codesourcery.com>
* Makefile.am (BUILT_SOURCES_CLEAN): Add package_revision.txt.
This is the 0.18 release.
2005-04-10 Derek Scherger <derek@echologic.com>
* monotone.texi (Informative): fix typo in ls known docs
2005-04-10 Nathaniel Smith <njs@codesourcery.com>
* Makefile.am: Use pdftops instead of acroread.
(EXTRA_DIST): Include new contrib/ files, and fix wildcards.
* NEWS: Update for 0.18.
* configure.ac: Bump version number.
* debian/changelog: Mention new release.
* debian/copyright: Update from AUTHORS.
* monotone.spec: Mention new release.
* po/monotone.pot: Regenerate.
2005-04-10 Florian Weimer <fw@deneb.enyo.de>
* monotone.texi (Commands): Use "working copy" instead of "working
directory", to match the rest of the manual.
2005-04-10 Florian Weimer <fw@deneb.enyo.de>
* commands.cc (ls_known): New function which prints all known
files in the working copy.
(CMD(list)): Invoke ls_known for "list known". Update help
message.
(ALIAS(ls)): Update help message.
* monotone.texi: Document "list known".
* tests/t_ls_known.at: New file.
* testsuite.at: Include it.
2005-04-10 Richard Levitte <richard@levitte.org>
* contrib/Notify.pl: Count the number of messages sent, and
display the count at the end.
Version bumped to 1.0.
2005-04-10 Matt Johnston <matt@ucc.asn.au>
* unix/inodeprint.cc, configure.ac: don't use the nsec time
on non-Linux-style systems (quick compile fix for OS X and probably
others, can be made generic later).
2005-04-10 Olivier Andrieu <oliv__a@users.sourceforge.net>
* contrib/monotone.el: Some elisp code for running monotone from
inside Emacs. Supports diff, status, add, drop, revert and commit.
2005-04-09 Richard Levitte <richard@levitte.org>
* contrib/Notify.pl: Allow globbing branches. Make the revision
records branch specific. Show what records you would have updated
even with --noupdate. Add --before and --since, so users can
select datetime ranges to create logs for. Remove --to and add
--difflogs-to and --nodifflogs-to to send logs with diffs to one
address and logs without diffs to another (both can be given at
once). More and better documentation.
2005-04-08 Nathaniel Smith <njs@codesourcery.com>
* change_set.cc (basic_change_set): Remove problematic
rename_dir/add combination, until directory semantics are
fixed.
2005-04-08 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (revert): Call maybe_update_inodeprints.
* app_state.cc (set_restriction): Clear any old restrictions
first.
2005-04-08 Jon Bright <jon@siliconcircus.com>
* testsuite.at (NOT_ON_WIN32): Add a function to prevent tests from
running on Win32 (for cases where the functionality being tested
makes no sense on Win32. Not for cases where the functionality
just isn't there yet on Win32.)
* tests/t_final_space.at: Use NOT_ON_WIN32. The filenames "a b"
and "a b " refer to the same file on Win32, obviating this test
2005-04-08 Jon Bright <jon@siliconcircus.com>
* win32/inodeprint.cc (inodeprint_file): Still close the file if
getting its time failed.
* tests/t_netsync_sigpipe.at: Don't bother doing a kill -PIPE on
Win32. There is no real SIGPIPE on Win32 and sockets don't get this
signal if their pipe goes away. MinGW's kill seems to translate
-PIPE to some signal that *does* kill monotone, so it seems like the
easiest solution is just not to send the signal in the first place
here.
* tests/t_automate_ancestry_difference.at: Remove old
CHECK_SAME_STDOUT call which I'd left by accident.
* tests/t_automate_leaves.at: Canonicalise monotone output before
passing to CHECK_SAME_STDOUT
* tests/t_log_depth.at: Check line count with arithmetic comparison
rather than autotest's string comparison
2005-04-08 Nathaniel Smith <njs@codesourcery.com>
* inodeprint.cc (operator<<): Typo.
* inodeprint.{hh,cc} (build_inodeprint_map,
build_restricted_inodeprint_map): Remove unused functions.
2005-04-08 Nathaniel Smith <njs@codesourcery.com>
* work.cc: Remove doxygen comments. Comments are good; comments
that are longer than the function they document, and give less
information, are not so good...
2005-04-08 Nathaniel Smith <njs@codesourcery.com>
* ChangeLog: Fixup after merge.
2005-04-08 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (calculate_current_revision): Defer to
calculate_restricted_revision instead of special casing.
(put_revision_id): constify argument.
(maybe_update_inodeprints): New function.
(commit, update, checkout): Call it.
* manifest.{cc,hh} (build_manifest_map): Remove, since only caller
was removed.
(build_restricted_manifest_map): Go faster if the user is using
inode signatures.
* tests/t_inodeprints.at:
* tests/t_inodeprints_update.at: Typoes.
* work.cc (read_inodeprints): Typo.
2005-04-08 Nathaniel Smith <njs@codesourcery.com>
* tests/t_inodeprints.at:
* tests/t_inodeprints_update.at: New tests.
* testsuite.at: Add them.
* UPGRADE: Document 0.17 -> 0.18 upgrade path.
2005-04-08 Jon Bright <jon@siliconcircus.com>
* tests/t_cat_file_by_name.at: CHECK_SAME_STDOUT can only be used
to check two 'cat' processes or two monotone processes on Win32,
not to check monotone and 'cat'. Change to go through an
intermediate stdout
* tests/t_automate_erase_ancestors.at: Ditto
* tests/t_automate_toposort.at: Ditto
* tests/t_automate_ancestry_difference.at: Ditto
* tests/t_vars.at: Call CANONICALISE for stdout output.
* tests/t_netsync_absorbs.at: Ditto.
* tests/t_empty_env.at: For Win32, copy libiconv-2.dll to the
current dir before the test, otherwise Win32 will search the
(empty) path for it and not find it.
* tests/t_automate_descendents.at: Ditto
* win32/inodeprint.cc: Implement inodeprint_file for Win32, based
on mode, device, size, create time and write time.
2005-04-08 Jon Bright <jon@siliconcircus.com>
* win32/inodeprint.cc: Change the function name to match the one
on Unix.
2005-04-08 Nathaniel Smith <njs@codesourcery.com>
* {win32,unix}/fingerprint.cc: Rename to...
* {win32,unix}/inodeprint.cc: ...this. Change function name and
calling conventions.
* platform.hh (inodeprint_file): Likewise.
* inodeprint.{cc,hh}: New files.
* Makefile.am (MOST_SOURCES, UNIX_PLATFORM_SOURCES,
WIN32_PLATFORM_SOURCES): Fixup accordingly.
* vocab_terms.hh (inodeprint): New ATOMIC.
* work.hh: Prototype inodeprint working copy functions.
* work.cc: Implement them.
* manifest.{hh,cc} (manifest_file_name): Remove unused variable.
2005-04-08 Jeremy Cowgar <jeremy@cowgar.com>
* doxygen.cfg: added
* Makefile.am: added apidocs target (builds doxygen docs)
2005-04-07 Nathaniel Smith <njs@codesourcery.com>
* manifest.{hh,cc}: Remove some commented out unused functions.
* win32/have_smart_terminal.cc: Include platform.hh.
* unix/fingerprint.cc: New file, with new function.
* win32/fingerprint.cc: New file, with stub function.
* Makefile.am (UNIX_PLATFORM_SOURCES, WIN32_PLATFORM_SOURCES): Add
them.
2005-04-07 Nathaniel Smith <njs@codesourcery.com>
* manifest.hh, manifest.cc: Remove tabs.
2005-04-07 Nathaniel Smith <njs@codesourcery.com>
* tests/t_final_space.at: New test.
* testsuite.at: Add it.
2005-04-07 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Dealing with a Fork): 'merge' has slightly
different output.
* NEWS: Summarize changes of last 2.5 weeks.
2005-04-07 Nathaniel Smith <njs@codesourcery.com>
* database.{cc,hh} (space_usage): New method.
* database.cc (info): Use it.
2005-04-07 Nathaniel Smith <njs@codesourcery.com>
* vocab.cc (verify): Cache known-good strings, to speed up
repeated processing of related changesets.
* change_set.cc (basic_change_set_test): Revert last change; the
old version _was_ valid.
2005-04-07 Nathaniel Smith <njs@codesourcery.com>
* smap.hh (insert): Fix stupid bug in assertion condition.
2005-04-07 Nathaniel Smith <njs@codesourcery.com>
* change_set.cc (basic_change_set_test): Test a _valid_
change_set.
(directory_node): Make a std::map, instead of an smap. Add a
comment explaining the bug that makes this temporarily necessary.
* smap.hh (smap): Don't check for duplicates at insert time,
unless we've decided not to mark things damaged; don't return
iterators from insert. Do check for duplicates at sort time, and
always sort, instead of sometimes doing linear search. This makes
insert O(1), while still preserving the invariant that keys must
be unique.
* commands.cc (commit): Explain why we're aborting, in the case
that we detect that a file has changed under us in the middle of a
commit.
2005-04-07 Richard Levitte <richard@levitte.org>
* cryptopp/config.h: typo...
2005-04-06 Nathaniel Smith <njs@codesourcery.com>
* work.cc (build_deletions): Issue warning when generating
delete_dir's; they're totally broken, but I don't want to disable
them, because then our tests won't see when they're fixed...
2005-04-05 Nathaniel Smith <njs@codesourcery.com>
* tests/t_db_execute.at (db execute): New test.
* testsuite.at: Add it.
* database.cc (debug): Don't printf-interpret %-signs in input.
2005-04-05 Matt Johnston <matt@ucc.asn.au>
* database.cc: remove dulicated block introduced
in rev 9ab3031f390769f1c455ec7764cc9c083f328a1b
(merge of 76f4291b9fa56a04feb2186074a731848cced81c and
c7917be7646df52363f39d2fc2f7d1198c9a8c27). Seems to be another
instance of the case tested in t_merge_5.at
2005-04-05 Matt Johnston <matt@ucc.asn.au>
* basic_io.hh: reserve() the string which we're appending to
frequently. Seems to give ~5% speedup in
diff -r t:revision-0.16 -r t:revision-0.17 - can't hurt.
2005-04-04 Nathaniel Smith <njs@codesourcery.com>
* monotone.spec, debian/control: We no longer need external popt.
* INSTALL: Ditto, plus some general updating.
2005-04-04 Nathaniel Smith <njs@codesourcery.com>
* tests/t_sql_unpack.at: New test.
* testsuite.at: Add it.
2005-04-04 Matt Johnston <matt@ucc.asn.au>
* file_io.cc (read_data_stdin): make it use botan
* mkstemp.cc: merge cleanup (missed something up the manual merge)
2005-04-04 Nathaniel Smith <njs@codesourcery.com>
* contrib/ciabot_monotone.py (config): Genericize again, so lazy
people using it won't start sending commits for monotone.
* .mt-attrs: Make it executable.
2005-04-04 Richard Levitte <richard@levitte.org>
* Makefile.am (EXTRA_DIST): Add the extra popt files.
* popt/popt.3, popt/popt.ps, popt/testit.sh: Include a few more
files from popt, mostly to have documentation on hand. post.ps
is mentioned in popt/README.
2005-04-03 Nathaniel Smith <njs@codesourcery.com>
* Makefile.am (EXTRA_DIST): Add contrib/ stuff to distributed
files list.
* contrib/ciabot_monotone.py (config.delivery): Turn on.
(send_change_for): Don't include "ChangeLog:" line when extracting
changelog.
2005-04-03 Nathaniel Smith <njs@codesourcery.com>
* contrib/ciabot_monotone.py: New file.
* contrib/README: Describe it.
2005-04-03 Richard Levitte <richard@levitte.org>
* AUTHORS: Add information about popt.
* monotone.cc (my_poptStuffArgFile): Include the bundled popt.h.
Since we now have a working popt, we can remove the restrictions
on the use of -@.
* tests/t_at_sign.at: Test that we can take more tha one -@.
* monotone.1: Document it.
* popt/poptint.h (struct poptContext_s): Add field to keep track
of the number of allocated leftovers elements.
* popt/popt.c (poptGetContext): Initialise it and use it.
(poptGetNextOpt): Use it and realloc leftovers when needed.
Also make sure that the added element is a dynamically allocated
copy of the original string, or we may end up with a dangling
pointer. These are huge bugs in popt 1.7, when using
poptStuffArgs().
(poptFreeContext): Free the leftovers elements when freeing
leftovers.
(poptSaveLong, poptSaveInt): Apply a small patch from Debian.
* popt/CHANGES, popt/COPYING, popt/README, popt/findme.c,
popt/findme.h, popt/popt.c, popt/poptconfig.c, popt/popt.h,
popt/popthelp.c, popt/poptint.h, popt/poptparse.c,
popt/system.h, popt/test1.c, popt/test2.c, popt/test3.c: Bundle
popt 1.7.
* configure.ac, Makefile.am: Adapt.
2005-04-01 Richard Levitte <richard@levitte.org>
* contrib/Notify.pl: Complete rewrite. Among other things, it
makes better use of some new monotone automate features. It's
also better organised and much more documented.
2005-04-01 Jeremy Cowgar <jeremy@cowgar.com>
* tests/t_dropkey_2.at: Updated to test dropkey instead of delkey
* tests/t_dropkey_1.at: Updated to test dropkey instead of delkey
* monotone.texi (Key and Cert): Changed references to delkey
to dropkey
(Commands): Changed references to delkey to dropkey
* testsuite.at: changed references from t_delkey* to t_dropkey*
* t_delkey_1.at: renamed to t_dropkey_1.at
* t_delkey_2.at: renamed to t_dropkey_2.at
* commands.cc (CMD(delkey)): renamed to dropkey to maintain
command consistency (with existing drop command)
2005-04-01 Richard Levitte <richard@levitte.org>
* monotone.cc (my_poptStuffArgFile): An argument file might be
empty, and therefore contain no arguments to be parsed. That's
OK.
* tests/t_at_sign.at: Test it.
2005-04-01 Nathaniel Smith <njs@codesourcery.com>
* monotone.cc: Fixup after merge.
2005-04-01 Nathaniel Smith <njs@codesourcery.com>
* file_io.cc (read_data_for_command_line): New function.
(read_data_stdin): New function.
* file_io.hh (read_data_for_command_line): Add prototype.
* monotone.cc (my_poptStuffArgFile): Clean up a little. Use
read_data_for_command_line. Don't free argv, but rather return
it.
(cpp_main): Keep a list of allocated argv's, and free them.
(options): Tweak wording of help text on -@.
2005-04-01 Nathaniel Smith <njs@codesourcery.com>
* file_io.hh: Remove tabs.
2005-04-01 Nathaniel Smith <njs@codesourcery.com>
* monotone.cc (cpp_main): Actually remove newline.
2005-04-01 Nathaniel Smith <njs@codesourcery.com>
* ChangeLog: Fixup after merge.
* monotone.text (Making Changes): Fix typo.
2005-04-01 Nathaniel Smith <njs@codesourcery.com>
* monotone.cc (cpp_main): Remove now-unneccessary newline.
* commands.cc (commit): Fix typo.
* monotone.texi (Making Changes): Don't claim that writing to
MT/log prevents the editor from starting. Clarify later that
having written to MT/log still means the editor will pop up
later.
2005-04-01 Richard Levitte <richard@levitte.org>
* monotone.cc: Add the long name --xargs for -@.
* monotone.1: Document it.
* tests/t_at_sign.at: Remove extra empty line and test --xargs.
* monotone.texi (Making Changes): Cleanupy tweaks.
* monotone.cc (my_poptStuffArgFile): New function to parse a file
for more arguments and stuff them into the command line.
(cpp_main): Add the -@ option
* tests/t_at_sign.at, testsuite.at: Test it
* monotone.1: Document it.
2005-03-31 Nathaniel Smith <njs@codesourcery.com>
* tests/t_log_depth.at: Cleanupy tweaks.
2005-03-31 Jeremy Cowgar <jeremy@cowgar.com>
* monotone.texi: Tutorial updated to include example of
editing/committing with MT/log
* work.cc (has_contents_user_log) Added
* work.hh (has_contents_user_log) Added
* commands.cc (CMD(commit)): Checks to ensure both MT/log and the
--message option does not exist during commit.
* transforms.hh (prefix_lines_with): Added
* transforms.cc (prefix_lines_with): Added
* sanity.cc (naughty_failure): Made use of prefix_lines_with()
* ui.cc (inform): now handles messages w/embedded newlines
* tests/t_commit_log_3.at: Created to test new functionality
added to CMD(commit)
* testsuite.at: Added above test
2005-03-31 Richard Levitte <richard@levitte.org>
* monotone.cc: Add the --depth option...
* app_state.hh (class app_state),
app_state.cc (app_state::set_depth): ... and the field and
method to store and set it.
* commands.cc (CMD(log)): ... then handle it.
* tests/t_log_depth.at: Add a test for 'log --depth=n'
* testsuite.at: Add it.
* monotone.texi (Informative): Document it.
2005-03-31 Nathaniel Smith <njs@codesourcery.com>
* automate.cc (automate_erase_ancestors): Accept zero arguments,
and in such case print nothing. (Important for scripting.)
* commands.cc (automate):
* monotone.texi (Automation):
* tests/t_automate_erase_ancestors.at: Update accordingly.
2005-03-31 Nathaniel Smith <njs@codesourcery.com>
* automate.cc (automate_toposort): Accept zero arguments, and in
such case print nothing. (Important for scripting.)
* commands.cc (automate):
* monotone.texi (Automation):
* tests/t_automate_toposort.at: Update accordingly.
2005-03-30 Richard Levitte <richard@levitte.org>
* contrib/Notify.pl: A new Perl hack to send change logs by
email.
* contrib/README: Add a quick description.
2005-03-30 Nathaniel Smith <njs@codesourcery.com>
* automate.cc (automate_leaves): New function.
(automate_command): Add it.
* commands.cc (automate): Synopsify it.
* monotone.1: Add it.
* monotone.texi (Automation, Commands): Likewise.
* tests/t_automate_leaves.at: New test.
* testsuite.at: Add it.
2005-03-30 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Automation): Make newly added sample outputs
verbatim also.
2005-03-30 Nathaniel Smith <njs@codesourcery.com>
* tests/t_automate_toposort.at: New test.
* tests/t_automate_ancestry_difference.at: New test.
* tests/t_diff_first_rev.at: New test.
* testsuite.at: Add them.
* revision.cc (calculate_ancestors_from_graph): Do not keep an
"interesting" set and return only ancestors from this set;
instead, simply return all ancestors. Returning a limited set of
ancestors does not speed things up, nor reduce memory usage in
common cases. (The only time it would reduce memory usage is when
examining only a small ancestor set, which the important case,
'heads', does not; even then, erase_ancestors would need to intern
the interesting revisions first so they got low numbers, which it
doesn't.)
(erase_ancestors): Adjust accordingly.
(toposort, ancestry_difference): New functions.
* revision.hh (toposort, ancestry_difference): Declare.
* automate.cc (automate_toposort, automate_ancestry_difference):
New functions.
(automate_command): Add them.
All functions: clarify in description whether output is sorted
alphabetically or topologically.
* commands.cc (automate): Synopsify them.
* monotone.1: Add them.
* monotone.texi (Commands): Likewise.
(Automation): Likewise. Also, clarify for each command whether
its output is alphabetically or topologically sorted.
2005-03-29 Richard Levitte <richard@levitte.org>
* commands.cc (CMD(ls)): Update with the same information as
CMD(list)
* monotone.texi (Automation): Make the sample output verbatim
2005-03-26 Nathaniel Smith <njs@codesourcery.com>
* automate.cc (automate_erase_ancestors): New function.
(automate_command): Use it.
* commands.cc (automate): Document it.
* tests/t_automate_erase_ancestors.at: New test.
* testsuite.at: Add it.
* monotone.texi (Automation, Commands): Document automate
erase_ancestors.
* monotone.1: Document automate erase_ancestors.
2005-03-26 Nathaniel Smith <njs@codesourcery.com>
* automate.cc (interface_version): Bump to 0.1.
(automate_descendents): New function.
(automate_command): Call it.
* commands.cc (automate): Add it to help text.
* tests/t_automate_descendents.at: New test.
* testsuite.at: Add it.
* monotone.texi (Automation, Commands): Document automate
descendents.
* monotone.1: Document automate descendents, and vars stuff.
2005-03-26 Nathaniel Smith <njs@codesourcery.com>
* tests/t_attr.at: No longer a bug report.
* tests/t_rename_attr.at: New test.
* testsuite.at: Add it.
2005-03-26 Joel Crisp <jcrisp@s-r-s.co.uk>
* contrib/Log2Gxl.java: New file.
2005-03-26 Nathaniel Smith <njs@pobox.com>
* contrib/README: New file.
2005-03-25 Nathaniel Smith <njs@pobox.com>
* commands.cc (user_log_file_name): Remove unused variable
again. Hopefully it will take this time...
2005-03-25 Nathaniel Smith <njs@pobox.com>
* commands.cc (user_log_file_name): Remove unused variable.
2005-03-25 Jeremy Cowgar <jeremy@cowgar.com>
* monotone.texi: Added a bit more documentation about MT/log
Updated edit_comment hook and addded delkey docs
* commands.cc: Added delkey command
* t_delkey_1.at: Tests delkey command on public key
* t_delkey_2.at: Tests delkey command on public and private key
* testsuite.at: Added above tests
* std_hooks.lua: Transposed the MT: lines and user_log_contents,
user_log_contents now appears first.
2005-03-25 Jeremy Cowgar <jeremy@cowgar.com>
* t_setup_creates_log.at: Ensures that MT/log is created
on setup
* t_checkout_creates_log.at: Ensures that MT/log is created
on checkout
* t_commit_log_1.at: Ensures that:
1. Read and entered as the ChangeLog message
2. Is blanked after a successful commit
* t_commit_log_2.at: Ensures that commit works w/o MT/log being
present
* testsuite.at: Added the above tests.
2005-03-25 Matt Johnston <matt@ucc.asn.au>
* {unix,win32}/platform_netsync.cc, platform.hh, Makefile.am: new
functions to disable and enable sigpipe.
* netsync.cc, main.cc: call the functions from netsync rather than
globally, so that sigpipe still works for piping output of commands
such as 'log'.
* tests/t_netsync_sigpipe.at: test it.
* testsuite.at: add it.
2005-03-25 Matt Johnston <matt@ucc.asn.au>
* tests/t_database_check.at: re-encode the manifestX
data so that it doesn't use any fancy gzip features like
filenames (so that the botan parse can handle it).
( if it should be able to handle it, an additional test
can be added testing it explicitly).
2005-03-25 Matt Johnston <matt@ucc.asn.au>
* botan/base64.h: Change default break value so that
output is split into 72 col lines.
2005-03-25 Matt Johnston <matt@ucc.asn.au>
* monotone.cc: add short options -r, -b, -k, and -m
for --revision, --branch, --key, and --message respectively.
* monotone.texi, monotone.1: document them
* tests/t_short_opts.at: test them
* testsuite.at: add it
2005-03-24 Nathaniel Smith <njs@codesourcery.com>
* tests/t_empty_env.at: New test.
* testsuite.at: Add it. Absolutify path to monotone so it will
work.
* unix/have_smart_terminal.cc (have_smart_terminal): Handle the
case where TERM is unset or empty.
2005-03-24 Nathaniel Smith <njs@codesourcery.com>
* ui.hh (tick_write_nothing): New class.
* monotone.cc (cpp_main): Enable it.
2005-03-24 Nathaniel Smith <njs@codesourcery.com>
* work.cc (build_deletions, build_additions): Fixup after merge.
2005-03-23 Nathaniel Smith <njs@codesourcery.com>
* tests/t_cat_file_by_name.at: Check for attempting to cat
non-existent files.
* tests/t_empty_id_completion.at: New test.
* tests/t_empty_path.at: New test.
* testsuite.at: Add them.
* database.cc (complete): Always generate some sort of limit term,
even a degenerate one.
* app_state.cc (create_working_copy): Check for null directory.
* work.cc (build_deletion, build_addition, build_rename): Check
for null paths.
2005-03-23 Derek Scherger <derek@echologic.com>
* Makefile.am UNIX_PLATFORM_SOURCES:
WIN32_PLATFORM_SOURCES: add have_smart_terminal.cc
* platform.hh (have_smart_terminal): prototype
* ui.cc (user_interface): set ticker to dot/count based on
have_smart_terminal
* unix/have_smart_terminal.cc:
* win32/have_smart_terminal.cc: new file
2005-03-23 Derek Scherger <derek@echologic.com>
* commands.cc (add): pass list of prefixed file_path's to
build_additions
(drop): pass list of prefixed file_path's to build_deletions
(attr): pass attr_path as a 1 element vector to build_additions
* work.{cc,hh} (build_addition): rename to...
(build_additions): this, and accept a vector of paths to be added
in a single path_rearrangement
(build_deletion): rename to ...
(build_deletions): this, and accept a vector of paths to be
dropped in a single path_rearrangement
(known_preimage_path): replace manifest and path_rearrangement
args with a path_set to avoid extracting paths for every file
(build_rename): adjust for change to known_preimage_path
2005-03-23 Nathaniel Smith <njs@codesourcery.com>
* monotone.cc (my_poptFreeContext, cpp_main): Apparently
poptFreeContext silently changed its return type at some unknown
time. Hack around this.
2005-03-23 Nathaniel Smith <njs@codesourcery.com>
* monotone.cc (cpp_main): Remove the special code to dump before
printing exception information, since we no longer dump to the
screen, so it's always better to have the little status message
saying what happened to the log buffer at the end of everything.
* sanity.cc (dump_buffer): Give a hint on how to get debug
information, when discarding it.
* work.{hh,cc} (get_local_dump_path): New function.
* app_state.cc (allow_working_copy): Use it for default
global_sanity dump path.
* monotone.texi (Reserved Files): Document MT/debug.
(Network): Capitalize Bob and Alice (sorry graydon).
Document new defaulting behavior.
2005-03-23 Nathaniel Smith <njs@codesourcery.com>
* work.cc, sanity.cc: Remove tabs.
2005-03-23 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Network Service): Mention that monotone remembers
your server/collection.
(Vars): New section.
* netsync.cc (process_hello_cmd): Touch more cleaning.
* tests/t_merge_5.at: More commentary.
2005-03-23 Matt Johnston <matt@ucc.asn.au>
* tests/t_merge_5.at: new test for a merge which ends up with
duplicate lines.
* testsuite.at: add it
2005-03-22 Jeremy Cowgar <jeremy@cowgar.com>
* AUTHORS: Added my name
* app_state.cc, commands.cc, lua.cc, lua.hh, monotone.texi,
std_hooks.lua, work.cc, work.hh: Added functionality to
read the MT/log file for commit logs. In this revision
tests are not yet complete nor is documenation complete
but the reading, blanking and creating of MT/log is.
2005-03-22 Nathaniel Smith <njs@codesourcery.com>
* vocab_terms.hh: Declare base64<var_name>.
* database.cc (clear_var, set_var, get_vars): base64-encode
var_names in the database.
* monotone.texi (Internationalization): Update description of
vars.
* transforms.{cc,hh} ({in,ex}ternalize_var_name): Remove.
* commands.cc (set, unset, ls_vars): Update accordingly.
(unset): Error out if the variable doesn't exist.
* tests/t_vars.at: Verify this works.
* netcmd.cc (test_netcmd_functions): Properly type arguments to
{read,write}_hello_cmd_payload.
(write_hello_cmd_payload): Properly type arguments.
* netcmd.hh (write_hello_cmd_payload):
* netsync.cc (queue_hello_cmd): Adjust accordingly.
(process_hello_cmd): More cleaning. Also, save new server keys to
a var, and check old server keys against the var.
* tests/t_netsync_checks_server_key.at: New test.
* testsuite.at: Add it. Better docs for some netsync macros,
while I'm here...
* tests/t_netsync_absorbs.at: Add 'netsync' keyword.
2005-03-22 Nathaniel Smith <njs@codesourcery.com>
* tests/t_netsync_absorbs.at: New test.
* testsuite.at: Add it.
* netcmd.{cc,hh} (read_hello_cmd_payload): Properly type
arguments.
* netsync.cc (dispatch_payload): Adjust accordingly. Move some
logic into process_hello_cmd.
(known_servers_domain): New constant.
(process_hello_cmd): Tweak arguments appropriately. Include logic
formerly in dispatch_payload. Cleanup.
No semantic changes.
2005-03-21 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Starting a New Project): Tweak phrasing.
2005-03-21 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (process_netsync_client_args): If user specifies
server/collection and there is no default, set the default.
* tests/t_netsync_set_defaults.at: New test.
* testsuite.at: Add it.
2005-03-21 Nathaniel Smith <njs@codesourcery.com>
* vocab.hh (var_key): New typedef.
* database.{cc,hh}: Use it. Make most var commands take it.
* commands.cc (set, unset): Adjust accordingly.
(default_server_key, default_collection_key): New constants.
(process_netsync_client_args): New function.
(push, pull, sync): Use it.
* tests/t_netsync_defaults.at: New test.
* testsuite.at: Add it.
2005-03-21 Matt Johnston <matt@ucc.asn.au>
* change_set.cc: use std::map rather than smap for
confirm_unique_entries_in_directories() and confirm_proper_tree()
since they perform a lot of insert()s.
2005-03-21 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (list tags, list vars, set, unset): Document.
(Internationalization): Document vars.
2005-03-21 Nathaniel Smith <njs@codesourcery.com>
* transforms.{hh,cc} ({in,ex}ternalize_var_{name,domain}): New
functions.
* vocab_terms.hh (base64<var_value>): Declare template.
* database.hh (get_vars): Simplify API.
* database.cc (get_vars, get_var, var_exists, set_var, clear_var):
Implement.
* commands.cc (set, unset): New commands.
(ls): New "vars" subcommand.
* tests/t_vars.at: Fix. Un-XFAIL.
2005-03-21 Nathaniel Smith <njs@codesourcery.com>
* transforms.{cc,hh}: Remove tabs.
2005-03-20 Nathaniel Smith <njs@codesourcery.com>
* tests/t_vars.at: New test.
* testsuite.at: Add it.
2005-03-20 Nathaniel Smith <njs@codesourcery.com>
* schema.sql (db_vars): New table.
* database.cc (database::database): Update schema id.
* schema_migration.cc (migrate_client_to_vars): New function.
(migrate_monotone_schema): Use it.
* tests/t_migrate_schema.at: Another schema, another test...
* vocab_terms.hh (var_domain, var_name, var_value): New types.
* database.hh (get_vars, get_var, var_exists, set_var, clear_var):
Prototype new functions.
2005-03-20 Derek Scherger <derek@echologic.com>
* file_io.cc (book_keeping_file): return true only if first
element of path is MT, allowing embedded MT elements
(walk_tree_recursive): check relative paths for ignoreable book
keeping files, rather than absolute paths
(test_book_keeping_file): add fs::path tests for book keeping
files
* tests/t_add_intermediate_MT_path.at: un-XFAIL, fix some problems
with commas, add tests for renames and deletes with embedded MT
path elements.
2005-03-20 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi: Add some missing @sc{}'s.
* cryptopp/config.h: Use "mt-stdint.h", not <stdint.h>, for
portability.
2005-03-19 Nathaniel Smith <njs@codesourcery.com>
* Makefile.am (EXTRA_DIST): Add UPGRADE and README.changesets.
* debian/files: Auto-updated by dpkg-buildpackage.
* This is the 0.17 release.
2005-03-18 Nathaniel Smith <njs@codesourcery.com>
* Makefile.am (MOST_SOURCES): Add package_{full_,}revision.h.
* NEWS: Fill in date.
* debian/copyright: Update from AUTHORS.
* configure.ac: Bump version number to 0.17.
* debian/changelog, monotone.spec: Update for release.
* po/monotone.pot: Auto-updated by distcheck.
2005-03-18 Christof Petig <christof@petig-baender.de>
* sqlite/*: Imported sqlite version 3.1.6 tree
2005-03-18 Nathaniel Smith <njs@codesourcery.com>
* monotone.1, commands.cc, Makefile.am: Fixup after merge.
2005-03-18 Nathaniel Smith <njs@codesourcery.com>
* path_component (split_path): Fix bug.
Also, add unit tests for file.
* unit_tests.{hh,cc}: Add path_component unit tests.
2005-03-18 Nathaniel Smith <njs@codesourcery.com>
* Makefile.am: Fixup after merge.
2005-03-18 Nathaniel Smith <njs@codesourcery.com>
* change_set.cc: Move path_component stuff to...
* path_component.{hh,cc}: ...these new files.
* Makefile.am: Add them.
2005-03-18 Matt Johnston <matt@ucc.asn.au>
* txt2c.cc: add --no-static option
* Makefile.am, package_revision.h, package_full_revision.h:
create revision info files as standalone .c files to speed
compilation (mt_version.cc doesn't need to recompile each time)
2005-03-17 Derek Scherger <derek@echologic.com>
* INSTALL: add note about creating a ./configure script
2005-03-16 Nathaniel Smith <njs@codesourcery.com>
* UPGRADE: Finish, hopefully.
* monotone.texi (db check): Be more clear about what is normally
checked, and when 'db check' is useful.
2005-03-16 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* monotone.texi (Hook Reference): Typo.
2005-03-16 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi: Add Derek Scherger to the copyright list.
Various tweaks.
(Starting a New Project): Rewrite to clarify that only Jim runs
"setup", and explain why.
(Network Service): Add a note that most people do use a central
server, since people on the mailing list seem to perhaps be
getting the wrong idea.
(Making Changes): Expand a little on what the "." in "checkout ."
means, since people seem to accidentally checkout stuff into real
directories.
(db check): Add much verbiage on the implications
of various problems, and how to fix them. Also clarify some
wording.
* NEWS: Small tweaks.
* UPGRADE: More instructions, not done yet...
2005-03-15 Matt Johnston <matt@ucc.asn.au>
* commands.cc, monotone.texi, monotone.1: mention that agraph
output is in VCG format.
2005-03-14 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (cat): 'cat file REV PATH'.
* monotone.texi: Mention it.
* tests/t_cat_file_by_name.at: New test.
* testsuite.at: Add it.
2005-03-11 Nathaniel Smith <njs@codesourcery.com>
* automate.cc (automate_heads): Remove app.initialize call.
* revision.cc, revision.hh (calculate_arbitrary_change_set): New
function.
(calculate_composite_change_set): Touch more sanity checking.
* commands.cc (update): Use it.
2005-03-10 Derek Scherger <derek@echologic.com>
* app_state.cc (set_restriction): adjust bad path error message
* commands.cc (get_valid_paths): refactor into ...
(extract_rearranged_paths): ... this
(extract_delta_paths): ... this
(extract_changed_paths): ... this
(add_intermediate_paths): ... and this
(restrict_delta_map): new function
(calculate_restricted_change_set): new function
(calculate_restricted_revision):
(ls_missing):
(revert): rework using new valid path functions
(do_diff): adjust --revision variants to work with restrictions
* tests/t_diff_restrict.at: un-XFAIL
2005-03-09 Jon Bright <jon@siliconcircus.com>
* win32/monotone.iss: Install the many-files version of the
docs, install the figures, create a start-menu icon for the
docs.
* Makefile.am: Make docs generation work with MinGW
2005-03-09 Jon Bright <jon@siliconcircus.com>
* win32/monotone.iss: Monotone -> monotone
2005-03-09 Jon Bright <jon@siliconcircus.com>
* win32/monotone.iss: Added an Inno Setup script for
generating a Windows installer. Inno Setup is GPLed, see
http://www.jrsoftware.org for download
2005-03-09 Jon Bright <jon@siliconcircus.com>
* t_diff_binary.at: binary.bz.b64 -> binary.gz.b64
2005-03-08 Derek Scherger <derek@echologic.com>
* Makefile.am: adjust for fsck rename
* commands.cc (db fsck): rename to db check and add short help;
adjust for fsck file renames
* database.{cc,hh}: minor alignment adjustments
(get_statistic): remove redundant method
(info): use count in place of get_statistic
(count): return unsigned long instead of int
(get_keys): new method
(get_public_keys): new method
(get_private_keys): rewrite using get_keys
(get_certs): new method to get all certs in database from
specified table
(get_revision_certs): ditto
* fsck.{cc,hh}: rename to...
* database_check.{cc,hh}: ...this; add key, cert and sane revision
history checking
* monotone.1: document db dump/load/check commands
* monotone.texi: document db check command
* tests/t_fsck.at: rename to...
* tests/t_database_check.at: ...this; and add tests for key and
cert problems
* testsuite.at: account for new test name
2005-03-08 Nathaniel Smith <njs@codesourcery.com>
* ChangeLog: Insert some missing newlines.
* NEWS: Note file format changes.
* file_io.cc (tilde_expand): Clarify error message.
2005-03-08 Nathaniel Smith <njs@codesourcery.com>
* keys.{cc,hh} (require_password): Simplify interface, do more
work.
* rcs_import.cc (import_cvs_repo): Update accordingly.
* commands.cc (server): Likewise.
* revision.cc (build_changesets_from_existing_revs)
(build_changesets_from_manifest_ancestry): Require passphrase
early.
2005-03-08 Nathaniel Smith <njs@codesourcery.com>
* NEWS, INSTALL, README.changesets: Update in preparation for
0.17.
* UPGRADE: New file.
* tests/t_diff_restrict.at: Oops. XFAIL it.
2005-03-08 Jon Bright <jon@siliconcircus.com>
* win32/process.cc (process_spawn): Escape the parameters,
surround them with quotes before adding them to the consolidated
command line string
* mkstemp.cc (monotone_mkstemp): Now takes a std::string&, and
returns the *native* form of the path in this.
* mkstemp.hh: Now always use monotone_mkstemp
(monotone_mkstemp): Update prototype
* lua.cc (monotone_mkstemp_for_lua): Use new-style
monotone_mkstemp
2005-03-08 Jon Bright <jon@siliconcircus.com>
* win32/read_password.cc (read_password): Now correctly hides
password when run in a Windows console. Does at least enough in
a MinGW rxvt console to make sure that you can't see the password.
* win32/process.cc: Change indentation.
(process_spawn): Log commands executed, as for unix process.cc
2005-03-07 Nathaniel Smith <njs@codesourcery.com>
* tests/t_diff_restrict.at: New test.
* testsuite.at: Add it.
2005-03-05 Nathaniel Smith <njs@codesourcery.com>
* netsync.cc (encountered_error, error): New variable and method.
(session::session): Initialize encountered_error.
(write_netcmd_and_try_flush, read_some, write_some): Check it.
(queue_error_cmd): Consider it like sending a goodbye.
(process_error_cmd): Throw an exception instead of considering it
a goodbye.
(process_data_cmd): Call error() if epochs don't match.
* tests/t_epoch.at, tests/t_epoch_server.at: More minor tweaks.
Expect failed pulls to exit with status 0. This isn't really
correct, but looks complicated to fix...
2005-03-05 Nathaniel Smith <njs@codesourcery.com>
* testsuite.at (NETSYNC_SERVE_N_START): New macro.
* tests/t_epoch_server.at: Misc. fixes.
* netsync.cc (session::session): Don't open valve yet.
(maybe_note_epochs_finished): New method to open
valve.
(process_done_cmd, process_data_cmd): Call it.
(rebuild_merkle_trees): Actually calculate hashes for epoch merkle
trees. Also, only include epochs that meet the branch mask.
(session): Remove unused id_to_epoch map.
2005-03-05 Nathaniel Smith <njs@codesourcery.com>
* netcmd.cc (read_netcmd_item_type): Handle epoch_item.
(test_netcmd_functions): Update for new confirm_cmd_payload
format.
* netsync.cc (process_confirm_cmd): Cut and paste error.
2005-03-05 Nathaniel Smith <njs@codesourcery.com>
* constants.{cc,hh}: Add new epochlen, epochlen_bytes constants.
* vocab_terms.hh, vocab.hh: Add new epoch_data type. Add predeclarations
for it.
* commands.cc (ls_epochs):
* revision.cc (
* database.hh:
* database.cc: Update for epoch_data. Add get_epoch, epoch_exists
methods.
* epoch.{cc,hh}: New files.
* netsync.cc: Actually implement epochs-via-merkle code.
2005-03-04 Nathaniel Smith <njs@codesourcery.com>
* schema.sql (branch_epochs): Add 'hash' field.
* schema_migration.cc: Fixup for.
* database.cc (database): Change schemas.
* tests/t_migrate_schema.at: Replace epoch db test case with one
with new schema.
2005-03-03 Nathaniel Smith <njs@codesourcery.com>
* netsync.cc (session::id_to_epoch): New variable.
(session::session): Create refinement and requested item tables
for epochs.
(rebuild_merkle_trees): Fill epoch merkle tree and id_to_epoch
table.
* netsync.cc (queue_confirm_cmd, process_confirm_cmd)
(dispatch_payload, rebuild_merkle_trees):
* netcmd.hh:
* netcmd.cc (read_confirm_cmd_payload, write_confirm_cmd_payload):
Remove epochs.
2005-02-27 Nathaniel Smith <njs@codesourcery.com>
* constants.cc:
* revision.cc:
* testsuite.at:
* commands.cc:
* ChangeLog: Fixup after merge.
2005-02-27 Nathaniel Smith <njs@codesourcery.com>
* merkle_tree.hh (netcmd_item_type): Add epoch_item.
* merkle_tree.cc (netcmd_item_type_to_string): Handle epoch_item.
* packet.hh, packet.cc (struct packet_db_valve): New class.
* netsync.cc (session): Use a valved writer.
2005-02-26 Nathaniel Smith <njs@codesourcery.com>
* merkle_tree.hh: Fix comment.
Remove prototypes for non-existing functions.
2005-02-26 Nathaniel Smith <njs@codesourcery.com>
* tests/t_epoch_unidirectional.at: New test.
* testsuite.at: Add it.
2005-02-26 Nathaniel Smith <njs@codesourcery.com>
* tests/t_epoch.at: Even more paranoid.
* tests/t_epoch_server.at: New test.
* testsuite.at: Add it.
2005-02-21 Nathaniel Smith <njs@codesourcery.com>
* tests/t_epoch.at: Check that netsync only sends relevant
epochs, and be a little more paranoid.
2005-02-19 Nathaniel Smith <njs@codesourcery.com>
* revision.cc (struct anc_graph): Fixup after merge.
2005-02-18 Graydon Hoare <graydon@pobox.com>
* database.cc (set_epoch): Fix SQL.
* monotone.texi (Rebuilding ancestry): Reword a bit.
* netcmd.{cc,hh}
({read,write}_hello_cmd_payload): Transfer server key with hello.
({read,write}_confirm_cmd_payload): Transfer epoch list with confirm.
* netsync.cc: Adapt to changes in netcmd.
(rebuild_merkle_trees): Set nonexistent epochs to zero before sync.
* revision.cc (anc_graph): Randomize epochs on rebuild.
* tests/t_epoch.at: Fix up to test slightly new semantics.
2005-02-07 Nathaniel Smith <njs@codesourcery.com>
* monotone.1: Add more db commands.
* monotone.texi: Document db rebuild. Add section on rebuilding
ancestry and epochs.
2005-02-06 Graydon Hoare <graydon@pobox.com>
* commands.cc (db): Add epoch commands.
(list): Likewise.
Also remove some unneeded transaction guards.
* database.{cc,hh} (get_epochs): New function.
(set_epoch): Likewise.
(clear_epoch): Likewise.
Also remove all persistent merkle trie stuff.
* schema.sql: Add epochs, remove tries.
* schema_migration.cc: Update.
* tests/t_epoch.at: New test.
* tests/t_migrate_schema.at: Update.
* testsuite.at: Add some new helpers, call t_epoch.at.
* vocab.hh (epoch_id): Define.
* vocab_terms.hh (epoch): Define.
2005-02-05 Nathaniel Smith <njs@codesourcery.com>
* merkle_tree.hh: Remove mcert_item and fcert_item, rename
rcert_item to cert_item, renumber to remove gaps left.
* merkle_tree.cc (netcmd_item_type_to_string):
* netcmd.cc (read_netcmd_item_type):
* netsync.cc: Adjust accordingly.
2005-02-05 Nathaniel Smith <njs@codesourcery.com>
* constants.cc (constants): Bump netsync protocol version.
2005-03-07 Nathaniel Smith <njs@codesourcery.com>
* lua.cc (monotone_spawn_for_lua): Minimal change to get arguments
in right order. Still needs hygienic cleanups...
* tests/t_can_execute.at: Run 'cp' instead of 'touch', because cp
will actually notice if we pass arguments out of order.
* testsuite.at: Remove mysterious blank line.
2005-03-07 Nathaniel Smith <njs@codesourcery.com>
* unix/process.cc (process_spawn): Log command line before
executing.
2005-03-07 Nathaniel Smith <njs@codesourcery.com>
* revision.cc (kill_redundant_edges): Rename back to...
(kluge_for_3_ancestor_nodes): ...this. Go back to only cleaning
up parents of 3+ parent nodes.
(analyze_manifest_changes): Take a third argument, of files whose
ancestry needs splitting.
(construct_revision_from_ancestry): Make more more complex, in
order to properly track file identity in merges.
2005-03-05 Nathaniel Smith <njs@codesourcery.com>
* revision.cc (check_sane_history): Typo.
2005-03-05 Nathaniel Smith <njs@codesourcery.com>
* revision.hh (check_sane_history): Take an app_state instead of a
database as an argument.
* database.cc: Pass an app_state instead of a database as its
argument.
* revision.cc (check_sane_history): Update accordingly. Add a new
check for merges, that they are creating consistent changesets
(even when the common ancestor is outside of the usual
paranoia-checking search depth).
2005-03-05 Nathaniel Smith <njs@codesourcery.com>
* revision.cc (kluge_for_3_ancestor_nodes): Rename to...
(kill_redundant_edges): ...this. Kill all redundant edges, not
just ones on nodes with 3+ parents. Also, make it actually work.
2005-03-05 Nathaniel Smith <njs@codesourcery.com>
* revision.cc (kluge_for_3_ancestor_nodes): New method.
(rebuild_ancestry): Call it.
2005-03-03 Nathaniel Smith <njs@codesourcery.com>
* revision.cc (check_sane_history): Print a warning to let the
user know why things like 'pull' can take so long.
* netsync.cc: Remove a few tabs.
2005-03-04 Jon Bright <jon@siliconcircus.com>
* win32/process.cc (process_spawn): Now takes
const char * const argv[]
* unix/process.cc (process_spawn): Ditto. Cast for call to
execvp
(existsonpath): Initialise args in a const way
2005-03-04 Jon Bright <jon@siliconcircus.com>
* win32/process.cc (process_spawn): Now takes
char * const argv[]
* platform.hh (process_spawn): Ditto
* unix/process.cc (process_spawn): Ditto
* lua.cc (monotone_spawn_for_lua): Remove debug code
* General: Beginning to hate C++'s const rules
2005-03-04 Jon Bright <jon@siliconcircus.com>
* win32/process.cc (process_spawn): Now takes
const char * const *
* platform.hh (process_spawn): Ditto
* unix/process.cc (process_spawn): Ditto
* General: Sorry about all these commits, I'm syncing back and
forth between Linux and Win32
2005-03-04 Jon Bright <jon@siliconcircus.com>
* win32/process.cc (process_spawn): Now takes char * const *
* platform.hh (process_spawn): Ditto
* unix/process.cc (process_spawn): Ditto
(existsonpath): argv now const char*[]
2005-03-04 Jon Bright <jon@siliconcircus.com>
* win32/process.cc: Added forgotten file
* unix/process.cc: Include stat.h, (process_*) fix compilation
errors
2005-03-04 Jon Bright <jon@siliconcircus.com>
* unix/process.cc: Added forgotten file
2005-03-03 Jon Bright <jon@siliconcircus.com>
* lposix.c: Deleted
* win32/process.cc: Created, added Win32 versions of functions
existsonpath, make_executable, process_spawn, process_wait,
process_kill, process_sleep
* unix/process.cc: Ditto, for the Unix versions.
* lua.cc: Add LUA wrappers for the above functions, register
them with LUA
* std_hooks.lua (execute, attr_functions->execute,
program_exists_in_path): Use the new functions instead of posix
functions
* t_can_execute.at (touchhook.lua): Ditto
2005-03-01 Derek Scherger <derek@echologic.com>
* app_state.cc (set_restriction): actually ignore ignored files
rather than trying to validate them
2005-03-01 Derek Scherger <derek@echologic.com>
* tests/t_diff_binary.at: new test (bug report)
* tests/t_command_completion.at: new test
* tests/t_merge_rename_file_and_rename_dir.at: new test
* testsuite.at: include new tests
2005-02-28 Richard Levitte <richard@levitte.org>
* Makefile.am (BUILT_SOURCES_CLEAN): Moved mt-stding.h from here...
(DISTCLEANFILES): ... to here. Since mt-stding.h is created by
config.status, it should only be removed by the distclean target.
2005-02-28 Matt Johnston <matt@ucc.asn.au>
* std_hooks.lua: posix.iswin32() == 1, rather than plain boolean
comparison (0 doesn't compare as false in lua it seems).
2005-02-27 Jon Bright <jon@siliconcircus.com>
* lposix.c (win32 Pspawn): Search the path
(win32 Pexistsonpath): Added. 'which' isn't easily available,
and not available at all from a normal Win32 command shell
(Piswin32): Added a function for both Unix and Win32 to detect
if running on Windows
* std_hooks.lua (program_exists_in_path): Now calls
posix.iswin32. If win32, calls posix.existsonpath, otherwise
calls which as it always did.
2005-02-27 Jon Bright <jon@siliconcircus.com>
* lposix.c (win32 Pspawn): Remove dumb strlen bug resulting in
AVs on commit.
2005-02-27 Jon Bright <jon@siliconcircus.com>
* t_can_execute.at: Test to see if hooks can execute things
* testsuite.at: Add t_can_execute
2005-02-27 Jon Bright <jon@siliconcircus.com>
* lposix.c (win32 Pspawn): Ensure the command string is always
NUL-terminated. Also, allocate enough memory for the quotes
around the command string.
2005-02-27 Jon Bright <jon@siliconcircus.com>
* xdelta.cc (unittests): Define BOOST_STDC_NO_NAMESPACE, needed
to compile with the latest MinGW which uses gcc 3.4.2
* vocab.cc (verify(local_path)): Catch fs::filesystem_error too
and rethrow this as an informative_failure, thereby fixing the
Win32 unit tests without disabling anything
* idna/toutf8.c (stringprep_convert): Fix a potential segfault
when memory allocation fails. Potentially security-relevant.
* tests/t_i18n_file.at: Add a SET_FUNNY_FILENAME macro, which
gets a platform-appropriate funny filename (with/without
colon).
Change references to utf8 to utf-8, iso88591 to iso-8859-1, and
eucjp to euc-jp, on the grounds that MinGW's iconv knows all
of the latter and none of the former, but Linux iconv knows all
of them. Test now passes one Win32. I'm presuming we weren't
deliberately using non-standard names for charsets here.
* tests/t_i18n_changelog.at: Same charset name changes.
* tests/t_dump_load.at: Canonicalise dump before loading it
* tests/t_load_into_existing.at: Ditto
* tests/t_fmerge.at: Canonicalise fmerge output
* tests/t_merge_normalization_edge_case.at: Ditto
* tests/t_unidiff.at: Canonicalise diff output
* tests/t_largish_file.at: Instead of using dd, which MinGW
doesn't have, I've generated the file with dd on a nearby Linux
box, then gziped and b64ed it, and the test case now generates
it with UNGZB64
* testsuite.at: Add a comment every 10 tests with the test
number. Useful if you're trying to locate which test number
you're trying to run and only have the filename. If people
hate this, though, please do delete.
(UNB64_COMMAND) Do special handling for Win32 to avoid
having to canonicalise the file.
(UNGZ_COMMAND) Canonicalise the file after ungzipping it.
* lposix.c: (Pfork, Pexec) Removed, on the grounds that we only
really want to support fork+exec as a single operation. fork()
without exec() could be risky with a child process also having
our sqlite handles, etc. exec() could be risky since we
wouldn't be exiting gracefully, just dying in the middle of a
hook.
(Pspawn) Implemented for both Win32 and Unix. Does fork/exec
for Unix, CreateProcess for Win32. Returns -1 on error, pid on
success in both cases.
(Pwait, Pkill, Psleep) Implemented for Win32. Note that pid is
not optional for Pwait on Win32.
* std_hooks.lua: (execute) Now uses spawn()
2005-02-25 Jon Bright <jon@siliconcircus.com>
* ChangeLog: Add all my previous changes.
* tests/t_add_owndb.at: Add test for trying to add the db to
itself.
* testsuite.at: Call it
* tests/t_automate_heads.at: Canonicalise stdout output.
* tests/t_automate_version.at: Use arithmetic comparison against
wc output instead of string comparison, to avoid problems with
MinGW's wc, which outputs with initial space-padding
* tests/t_change_empty_file.at: Canonicalise stdout output
and compare manually instead of letting autotest check it
* tests/t_fmerge_normalize.at: Canonicalise stdout output.
* tests/t_netsync_single.at: Use NETSYNC_KILLHARD instead of
killall, as for the NETSYNC functions in testsuite.at
2005-02-27 Matt Johnston <matt@ucc.asn.au>
* main.cc: ignore SIGPIPE so that monotone won't be killed
unexpectedly upon remote disconnection for netsync
2005-02-27 Nathaniel Smith <njs@codesourcery.com>
* idna/idn-int.h: Oops, really add this time.
2005-02-27 Nathaniel Smith <njs@codesourcery.com>
* AUTHORS: Add Corey Halpin.
* idna/idn-int.h: New file (don't generate from configure anymore,
but just ship).
* configure.ac: Don't generate idna/idn-int.h. Do generate
mt-stdint.h.
* Makefile.am: Adjust for idna/idn-int.h and mt-stdint.h.
* acinclude.m4: Remove AX_CREATE_STDINT_H, ACX_PTHREAD,
AC_COMPILE_CHECK_SIZEOF (let aclocal pick them up from m4/
instead).
* m4/ax_create_stdint_h.m4:
* m4/acx_pthread.m4: Update from http://autoconf-archive.cryp.to/
* numeric_vocab.hh: Instead of dancing around which header to
include, include mt-stdint.h.
* app_state.cc (restriction_includes, set_restriction): Move
global static 'dot' into these functions, because file_path
depends on global book_keeping_dir being initialized already, and
there is no guaranteed order of initialization of C++ statics.
(Bug reported by Matt Johnston.)
2005-02-27 Corey Halpin <chalpin@cs.wisc.edu>
* numeric_vocab.hh: Try both stdint.h and inttypes.h.
* main.cc: OpenBSD has Unix signals too.
2005-02-26 Derek Scherger <derek@echologic.com>
* file_io.cc (absolutify): normalize fs::path to remove ..'s
* tests/t_db_with_dots.at: ensure database path in MT/options
doesn't contain ..'s
2005-02-25 Jon Bright <jon@siliconcircus.com>
* ChangeLog: Add all my previous changes.
* tests/t_add_owndb.at: Add test for trying to add the db to
itself.
* testsuite.at: Call it
* tests/t_automate_heads.at: Canonicalise stdout output.
* tests/t_automate_version.at: Use arithmetic comparison against
wc output instead of string comparison, to avoid problems with
MinGW's wc, which outputs with initial space-padding
* tests/t_change_empty_file.at: Canonicalise stdout output
and compare manually instead of letting autotest check it
* tests/t_fmerge_normalize.at: Canonicalise stdout output.
* tests/t_netsync_single.at: Use NETSYNC_KILLHARD instead of
killall, as for the NETSYNC functions in testsuite.at
2005-02-25 Nathaniel Smith <njs@codesourcery.com>
* vocab.cc (test_file_path_verification): Re-enable some tests
disabled by Jon Bright, following discussion on IRC concluding
that they were catching a real bug.
2005-02-24 Nathaniel Smith <njs@codesourcery.com>
* tests/t_add_dot.at: Run "add ." in a subdirectory, so as not to
add the test database. (Reported by Jon Bright.)
* AUTHORS: Fix gettext.h copyright note, to not be in the middle
of libidn copyright note.
Add Jon Bright.
2005-02-24 Jon Bright <jon@siliconcircus.com>
* app_state.cc (prefix): Use string() instead of
native_directory_string(). For Unix, these should be equivalent.
For Win32, I believe string()'s correct (since we compare
everywhere against normalized paths with / characters, but
native_directory_string produces paths with \ characters on Win32.
* rcs_file.cc (file_source): Map the map, not the mapping.
* tests/t_i18n_file.at: Remove colon from filename with symbols.
I need to return to this and add a proper test for Win32, so we
only use the colon on non-Win32.
* testsuite.at: Add a CANONICALISE function, which does nothing
on Unix and strips out carriage returns from files on Win32. This
is useful for being able to compare Monotone's stdout output to
files on disk. Add NETSYNC_KILL and NETSYNC_KILLHARD functions,
to deal with MinGW not having killall (Unix still uses killall,
though).
* tests/t_import.at: Add CANONICALISE calls before comparing
stdout output.
* tests/t_netsync.at: Likewise
* tests/t_netsync_single.at: Likewise
* tests/t_scan.at: Likewise
* tests/t_versions.at: Likewise
* tests/t_ls_missing.at: Likewise. Also, generate missingfoo and
missingbar files with expected output from ls missing for these
files being missing and compare against those.
2005-02-24 Derek Scherger <derek@echologic.com>
* app_state.{cc,hh} (add_restriction): rename to ...
(set_restriction) this; and add path validation
* commands.cc (get_valid_paths): new function
(get_path_rearrangement) remove restricted include/exclude variant
(calculate_restricted_revision) get valid paths and use to set up
restriction
(status, ls_unknown, commit, do_diff) pass args to
calculate_restricted_revision to valid restriction paths
(ls_missing, revert) get valid paths and use to set up restriction
* tests/t_checkout_options.at: remove bug report priority (it's
fixed!)
* tests/t_diff_added_file.at: add --revision options to diff
* tests/t_restrictions.at: remove invalid paths from ls unknown
and ls ignored
* tests/t_restrictions_warn_on_unknown.at: un-XFAIL
2005-02-23 Derek Scherger <derek@echologic.com>
* commands.cc (ls_missing): replace duplicated code with call to
calculate_base_revision
2005-02-23 Jon Bright <jon@siliconcircus.com>
* vocab.cc (test_file_path_verification): Disable foo//nonsense
test for Win32, add tests for UNC paths. This was the only
failing unit test on Win32.
2005-02-23 Jon Bright <jon@siliconcircus.com>
* txt2c.cc (main): Don't claim the file was generated from
--strip-trailing if that option's used.
2005-02-23 Jon Bright <jon@siliconcircus.com>
* app_state.cc: Add include of io.h for Win32, for chdir()
* file_io.cc (get_homedir): Correct assertion (remove bracket)
* lua/lposix.c, lua/modemuncher.c: Remove all references to
functions and modes that don't exist on Win32.
* monotone.cc: Include libintl.h on Win32
2005-02-21 Nathaniel Smith <njs@codesourcery.com>
* file_io.cc (get_homedir): Add more comments and logging to Win32
version. Also, only check HOME under Cygwin/MinGW.
2005-02-21 Derek Scherger <derek@echologic.com>
* Makefile.am: merge fixup
2005-02-21 Derek Scherger <derek@echologic.com>
* Makefile.am: add fsck.{cc,hh}
* commands.cc(check_db): move to ...
* fsck.{cc,hh}: here and do lots more checking
* database.{cc,hh}(get_ids): new method
(get_file_ids,get_manifest_ids,get_revision_ids): more new methods
* tests/t_fsck.at: new test
* testsuite.at: call it
2005-02-21 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (commit): Simplify chatter.
2005-02-21 Nathaniel Smith <njs@codesourcery.com>
* file_io.cc (get_homedir): Check more environment variables in
Win32 version.
2005-02-21 Nathaniel Smith <njs@codesourcery.com>
* file_io.cc: Remove tabs.
2005-02-21 Nathaniel Smith <njs@codesourcery.com>
* smap.hh (smap): Remove leading underscores, add comments.
2005-02-20 Nathaniel Smith <njs@codesourcery.com>
* std_hooks.lua (merge2, merge3): Check for DISPLAY before
invoking gvim.
2005-02-20 Julio M. Merino Vidal <jmmv@NetBSD.org>
* ChangeLog: Use tabs for indentation rather than spaces. Drop
trailing whitespace. While here, fix a date by adding zeros before
the month and the day number.
2005-02-20 Julio M. Merino Vidal <jmmv@NetBSD.org>
* gettext.h: Add file.
* AUTHORS: Mention that it comes from the GNU Gettext package.
* Makefile.am: Distribute it.
* sanity.hh: Use gettext.h rather than libintl.h so that --disable-nls
works. Also improves portability, according to the GNU Gettext
manual.
2005-02-19 Derek Scherger <derek@echologic.com>
* automate.cc (automate_heads): remove bogus call to
app.allow_working_copy() which is called in cpp_main
* database.cc (check_sqlite_format_version): don't check database
version when "file" is really a directory; add filename to error
message
(sql): check for empty database early, even though this seems
impossible as absolutify changes "" into path to working dir;
convert to use N-style assertions; add check to ensure "file" is
not really a directory
* tests/t_db_missing.at: new test for above problems
* testsuite.at: call it
2005-02-19 Nathaniel Smith <njs@codesourcery.com>
* tests/t_add_intermediate_MT_path.at: Tighten up.
* tests/t_merge_3.at: New test.
* tests/t_merge_4.at: Likewise.
* testsuite.at: Add them.
2005-02-19 Ole Dalgaard <josua+monotone@giraffen.dk>
* configure.ac: Check for 64-bit versions of Boost static
libraries.
2005-02-18 Julio M. Merino Vidal <jmmv@NetBSD.org>
* INSTALL:
* configure.ac: Improve Boost detection by trying several possible
library suffixes before aborting.
2005-02-18 Graydon Hoare <graydon@pobox.com>
* change_set.cc
(apply_change_set): Avoid fast path when there are adds.
(apply_path_rearrangement): Likewise.
2005-02-18 Graydon Hoare <graydon@pobox.com>
* automate.cc (automate_heads): Fix initialize() call.
* change_set.{cc,hh}
(apply_path_rearrangement): Add quick version.
* revision.cc
(check_sane_history): Use quick version of apply_change_set.
* work.cc
(build_addition): Use quick version of apply_path_rearrangement.
(known_preimage_path): Likewise.
* testsuite.at: Fix definitions of _ROOT_DIR, add --norc some
places.
* AUTHORS: Mention Daniel.
2005-02-18 Daniel Berlin <dberlin@dberlin.org>
* xdelta.cc (compute_delta_insns): Correct 1-byte-source bug.
2005-02-18 Graydon Hoare <graydon@pobox.com>
* Makefile.am (MOST_SOURCES): Add smap.hh.
2005-02-18 Graydon Hoare <graydon@pobox.com>
* basic_io.{cc,hh}: Inline some stuff.
* change_set.cc: Use smap various places, reduce to 32-bit tids.
* commands.cc: Use shared_ptr<change_set> everywhere.
* netsync.cc: Likewise.
* rcs_import.cc: Likewise.
* revision.{cc,hh}: Likewise.
* smap.hh: New file.
2005-02-18 Julio M. Merino Vidal <jmmv@NetBSD.org>
* INSTALL:
* configure.ac: Improve Boost detection by trying several possible
library suffixes before aborting.
2005-02-17 Derek Scherger <derek@echologic.com>
* tests/t_add_intermediate_MT_path.at: new test
* testsuite.at: call it
2005-02-17 Julio M. Merino Vidal <jmmv@NetBSD.org>
* testsuite.at:
* tests/t_change_empty_file.at: Verify that modifying an empty file
creates a patch revision rather than an add/delete sequence. The
incorrect behavior was reported in bug #9964.
2005-02-17 Derek Scherger <derek@echologic.com>
* app_state.{cc,hh} (app_state): initialize search root
(initialize): boolean signature variant renamed to ...
(allow_working_copy): this; add explicit search root; move
requirement for working copy to ...
(require_working_copy): this new method
(initialize): string signature variant renamed to ...
(create_working_copy): this
(set_root): new method
* commands.cc: remove app.initialize(false) calls; replace
app.initialize(true) with app.require_working_copy(); replace
app.initialize(dir) with app.create_working_copy(dir)
(checkout): ensure revision is member of specified branch
* file_io.{cc,hh} (find_working_copy): stop search at --root if
specified
* monotone.cc (OPT_ROOT): new option
(cpp_main): call app.allow_working_copy() before executing
commands to always read default options
* monotone.1: add --root option
* monotone.texi: add --root option
* tests/t_checkout_noop_on_fail.at: un-XFAIL
* tests/t_checkout_options.at: un-XFAIL, add check for specified
revision not in specified branch
* testsuite.at: add --root option to MONOTONE to prevent searching
above test dir
* vocab.cc: remove redundant forward declaration
2005-02-16 Derek Scherger <derek@echologic.com>
* commands.cc (revert): don't rewrite unchanged files
* tests/t_revert_unchanged.at: new test
* testsuite.at: call it
2005-02-12 Derek Scherger <derek@echologic.com>
* database.cc (sqlite3_unpack_fn): new function for viewing
base64, gzipped data
(install_functions): install it
(rehash): remove unused obsolete fcerts ticker
2005-02-17 Nathaniel Smith <njs@codesourcery.com>
* debian/changelog: s/graydon@mogo/graydon@pobox.com/, to make
lintian happy.
* debian/rules (config.status): Remove --with-bundled-adns.
* debian/control (Build-Depends): Don't Build-Depend on libpopt,
only libpopt-dev.
* .mt-attrs (debian/control): Make executable.
2005-02-17 Nathaniel Smith <njs@codesourcery.com>
* tests/t_undo_update.at: Stupid typo.
* tests/t_largish_file.at: New test.
* testsuite.at: Add it.
* commands.cc (push, pull, sync): Remove misleading "..." from
help text.
2005-02-16 Julio M. Merino Vidal <jmmv@NetBSD.org>
* Makefile.am: Append $(BOOST_SUFFIX) to -lboost_unit_test_framework
to fix 'make check' on systems where boost libraries can only be
found by passing the exact suffix as part of the name.
2005-02-16 Julio M. Merino Vidal <jmmv@NetBSD.org>
* monotone.texi: Fix a typo (hexidecimal to hexadecimal). Also
change an example command to append stuff to ~/.monotonerc, instead
of completely destroying the possibily existing file. Addresses
bug #11136.
2005-02-16 Julio M. Merino Vidal <jmmv@NetBSD.org>
* cryptopp/config.h: Use uint{8,16,32,64}_t as size types instead of
trying to match them to unsigned char/int/long/long long respectively.
Should fix build on FreeBSD/sparc64, as seen in bug #10203.
2005-02-16 Julio M. Merino Vidal <jmmv@NetBSD.org>
* INSTALL:
* Makefile.am:
* configure.ac: Add the --disable-large-file option to manually
disable large file support from the builtin sqlite (compatibility
with old systems and FAT). Addresses bug #8380.
2005-02-16 Nathaniel Smith <njs@codesourcery.com>
* tests/t_undo_update.at: New todo.
* testsuite.at: Add it.
2005-02-15 Nathaniel Smith <njs@codesourcery.com>
* monotone.1: Add cursory note about "automate".
* monotone.texi: Synchronize with manpage.
2005-02-15 Nathaniel Smith <njs@codesourcery.com>
* automate.cc: Add "Error conditions" to the standard comment
sections.
* monotone.texi (Scripting): New section.
(Automation): New section.
* tests/t_automate_heads.at: Test behavior with nonexistent
branch.
2005-02-14 Nathaniel Smith <njs@codesourcery.com>
* tests/t_merge_normalization_edge_case.at: New test.
* testsuite.at: Add it.
* diff_patch.cc (normalize_extents): Soften the warning message
now that we have one test case.
2005-02-14 Matthew A. Nicholson <mnicholson@digium.com>
* std_hooks.lua: Add vimdiff merge hooks.
2005-02-14 Nathaniel Smith <njs@codesourcery.com>
* std_hooks.lua: Remove tabs.
2005-02-14 Nathaniel Smith <njs@codesourcery.com>
* tests/t_automate_heads.at: New test.
* tests/t_automate_version.at: New test.
* testsuite.at: Add then.
* commands.cc (automate): Fix documentation string.
* automate.cc: Much more structured documentation comments.
2005-02-13 Nathaniel Smith <njs@codesourcery.com>
* automate.{cc,hh}: New files.
* commands.cc: New command "automate".
2005-02-13 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Creating a Database): Fix typo, clarify
conventions for database management following question on mailing
list.
2005-02-12 Graydon Hoare <graydon@pobox.com>
* change_set.{cc,hh}: Correct code to pass newly-added unit tests.
2005-02-10 Derek Scherger <derek@echologic.com>
* monotone.1: update for restrictions
* monotone.texi: sync with manpage
2005-02-09 Derek Scherger <derek@echologic.com>
* cert.cc (cert_revision_testresult): allow pass/fail testresult
values
* commands.cc (testresult): likewise
* commands.cc (do_diff): disallow restriction of non-working copy
diffs
* monotone.texi: update for restrictions
2005-02-08 Graydon Hoare <graydon@pobox.com>
* database.cc (version_cache::set): Fix bad expiry logic.
2005-02-08 Nathaniel Smith <njs@codesourcery.com>
* change_set.cc (check_sane): Null sources are only valid for
adds.
2005-02-07 Nathaniel Smith <njs@codesourcery.com>
* database.cc (struct version_cache): Fix invariant in cache
clearing logic.
2005-02-06 Nathaniel Smith <njs@codesourcery.com>
* change_set.cc: Add a few more invariants; add lots and lots of
unit tests.
2005-02-06 Graydon Hoare <graydon@pobox.com>
* change_set.cc: Use hash_map in a few places.
(confirm_unique_entries_in_directories): Fix invariants.
* constants.{cc,hh} (db_version_cache_sz): New constant.
* database.cc (version_cache): New structure.
(get_version): Use it.
* interner.hh: Rewrite to use hash_map and vector.
* tests/t_no_rename_overwrite.at: Tweak return codes.
2005-02-06 Nathaniel Smith <njs@codesourcery.com>
* ui.hh (ensure_clean_line): New method.
* ui.cc (inform): Use it.
* keys.cc (get_passphrase): Call it before prompting for passphrase.
2005-02-06 Nathaniel Smith <njs@codesourcery.com>
* database.cc (info): Report more statistics.
* ROADMAP: Remove finished items.
* revision.cc (analyze_manifest_changes): Childs cannot be null,
that makes no sense.
(add_node_for_old_manifest): Log node names, don't print it.
(construct_revision_from_ancestry): Partially rewrite to handle
root nodes explicitly.
(build_changesets_from_existing_revs): Don't put the null revision
in the ancestry graph, to match changesetify logic.
(add_node_for_old_revision): Enforce decision that the ancestry
graph not contain the null revision.
(anc_graph::heads): Remove.
(add_node_ancestry): Don't try creating it; logic was broken
anyway.
(rebuild_from_heads): Rename to...
(rebuild_ancestry): ...this. Calculate head set correctly.
2005-02-05 Nathaniel Smith <njs@codesourcery.com>
* change_set.cc (compose_path): Add more invariants.
2005-02-05 Nathaniel Smith <njs@codesourcery.com>
* monotone.cc (cpp_main): Log command line, to help interpret the
logs people send in.
2005-02-05 Nathaniel Smith <njs@codesourcery.com>
* revision.cc (check_sane): Turn off this invariant when
global_sanity.relaxed.
2005-02-03 Nathaniel Smith <njs@codesourcery.com>
* tests/t_load_into_existing.at: Oops, really add it too, sigh.
2005-02-03 Nathaniel Smith <njs@codesourcery.com>
* tests/t_need_mt_revision.at: Oops, really add it.
2005-02-03 Nathaniel Smith <njs@codesourcery.com>
* interner.hh (interner::intern): Add version taking a bool&, so
callers can tell whether this string has previously been checked.
* change_set.cc: Use new interned string identifier
'path_component's instead of file_path's for components of paths;
sanity-check each component exactly once.
2005-02-03 Nathaniel Smith <njs@codesourcery.com>
* database.cc (load): Check for existence of target database.
* tests/t_load_into_existing.at: New test.
* testsuite.at: Add it.
2005-02-03 Nathaniel Smith <njs@codesourcery.com>
* tests/t_checkout_dir.at: Also check that checkout to unwriteable
directory fails.
* tests/t_branch_checkout.at: New test.
* testsuite.at: Add it.
* app_state.cc (initialize): Simplify working directory
initialization, and improve error handling.
* keys.cc (get_passphrase): Disallow empty passphrases early
(before they trigger an invariant down the line...).
2005-02-03 Nathaniel Smith <njs@codesourcery.com>
* update.cc (pick_update_candidates): Add I().
* commands.cc (calculate_base_revision): Remove 'rev' argument,
which was never set and callers never used.
(calculate_base_manifest, calculate_current_revision)
(calculate_restricted_revision, revert): Update correspondingly.
(update): Check for null old revision.
* main.cc (main): Make exit status 3 if we caught an unhandled
exception, in particular so the testsuite can tell the difference
between an error handled cleanly and an error caught by an
invariant.
* tests/t_update_null_revision.at: New test.
* testsuite.at: Add it.
2005-02-03 Nathaniel Smith <njs@codesourcery.com>
* main.cc: Remove tabs.
2005-02-02 Nathaniel Smith <njs@codesourcery.com>
* change_set.cc (extract_first): Rename to...
(extract_pairs_and_insert): ...this.
(path_rearrangement::check_sane): Use it to add additional
checks.
* work.hh: Update comments (MT/manifest doesn't exist
anymore...).
* tests/t_need_mt_revision.at: New test.
* testsuite.at: Add it.
* commands.cc (get_revision_id): Require MT/revision to exist.
(setup): Create MT/revision.
2005-02-02 Nathaniel Smith <njs@codesourcery.com>
* work.hh: Remove tabs.
2005-02-03 Graydon Hoare <graydon@pobox.com>
* tests/t_i18n_changelog.at: New test.
* testsuite.at: Run it.
* lua/lposix.c: New file.
* lua/modemuncher.c: New file
* lua.cc: Load posix library.
* lua/liolib.c: Disable execute and popen.
* std_hooks.lua: Remove io.execute uses.
* AUTHORS: Update to mention lposix.c, modemuncher.c.
* Makefile.am: Likewise.
2005-02-01 Nathaniel Smith <njs@codesourcery.com>
* tests/t_rebuild.at: Beef up test in response to possible
problems reported by Derek Scherger.
2005-01-31 Nathaniel Smith <njs@codesourcery.com>
* rcs_import.cc (store_manifest_edge): Don't try to store deltas
to the null manifest.
(import_cvs_repo): Root revision has null manifest, not empty
manifest.
* revision.cc (check_sane): More invariants.
2005-01-28 Graydon Hoare <graydon@pobox.com>
* database.{cc,hh}: More netsync speed tweaks.
* netsync.cc: Likewise.
2005-01-27 Nathaniel Smith <njs@codesourcery.com>
* tests/t_restrictions_warn_on_unknown.at: New test.
* testsuite.at: Add it.
2005-01-27 Derek Scherger <derek@echologic.com>
* commands.cc (attr): adjust for subdir; ensure files exist
* tests/t_attr.at: improve setup description
* tests/t_attributes.at: improve setup description so that
testsuite -k attr runs this test; check for attributes on missing
files
* tests/t_subdir_attr.at: new test
* testsuite.at: fix dutch spelling of monotone; call new test
2005-01-27 Nathaniel Smith <njs@codesourcery.com>
* change_set.hh (null_id): New function.
* revision.cc (analyze_manifest_changes): Fix typo, use null_id.
* tests/t_rebuild.at: Un-XFAIL.
2005-01-27 Nathaniel Smith <njs@codesourcery.com>
* tests/t_rebuild.at: Add priority tag.
* tests/t_cvsimport.at: Be more thorough.
* rcs_import.cc (store_edge): Rename to...
(store_manifest_edge): ...this. Remove revision arguments, and
remove storing of revision.
(import_states_recursive): Update accordingly.
Add 'revisions' argument; update it instead of trying to write
revisions now.
(import_states_by_branch): Add 'revisions' argument.
(import_cvs_repo): Add a stage 3 that writes out the revisions
accumulated in the 'revisions' vector.
2005-01-27 Matt Johnston <matt@ucc.asn.au>
(compile fixes for Linux/gcc 3.3.4)
* botan/{util.cpp,primes.cpp}: give large constants ULL
suffixes
* botan/{gzip.cpp}: fix type for std::max() comparison
2005-01-27 Graydon Hoare <graydon@pobox.com>
* AUTHORS: Mention Georg.
* change_set.cc: Null out names which are in null directories.
* commands.cc (reindex): Remove COLLECTION argument.
* database.{cc,hh} (get_revision_certs):
Add brute force "load all certs" method.
* merkle_tree.{cc,hh}: Modify to use memory rather than disk.
* netsync.{cc,hh}: Likewise.
* packet.hh (manifest_edge_analyzer): Kill dead code.
2005-01-26 Nathaniel Smith <njs@codesourcery.com>
* mt_version.cc (print_full_version): Include system flavour.
2005-01-26 Nathaniel Smith <njs@codesourcery.com>
* tests/t_rebuild.at: New test.
* testsuite.at: Add it.
2005-01-26 Nathaniel Smith <njs@codesourcery.com>
* tests/t_checkout_noop_on_fail.at: Clarify description and XFAIL.
* tests/t_approval_semantics.at: New TODO.
* tests/t_monotone_agent.at: New TODO.
* testsuite.at: Add them.
2005-01-25 Nathaniel Smith <njs@codesourcery.com>
* tests/t_checkout_noop_on_fail.at: New test.
* testsuite.at: Add it.
(RAW_MONOTONE): Add $PREEXECUTE to definition.
2005-01-25 Nathaniel Smith <njs@codesourcery.com>
* change_set.cc (extend_renumbering_from_path_identities): Add
invariant.
(extend_renumbering_via_added_files): Likewise.
* constants.hh (maxbytes, postsz): Remove dead constants.
(verify_depth): New constant.
* constants.cc: Likewise.
* revision.hh (check_sane_history): New function.
* revision.cc (check_sane_history): Likewise.
* database.cc (put_revision): Sanity check revision and revision
history before storing it.
This breaks cvs import. Why?
* update.cc (find_deepest_acceptable_descendent): Remove.
(acceptable_descendent, calculate_update_set): New functions.
(pick_update_candidates): Use 'calculate_update_set'.
* tests/t_update_2.at: Un-XFAIL.
* tests/t_ambig_update.at: Un-XFAIL.
* tests/t_no_rename_overwrite.at: New test.
* tests/t_cdiff.at: New test placeholder.
* testsuite.at: Add them.
(MONOTONE): Prefix command line with $PREEXECUTE to e.g. support
running under Valgrind.
2005-01-25 Matt Johnston <matt@ucc.asn.au>
* cert.cc: ignore whitespace when comparing private keys
from the database and with the lua hook
* tests/t_lua_privkey.at: new test
* testsuite.at: run it
2005-01-23 Derek Scherger <derek@echologic.com>
* commands.cc (restrict_rename_set): include renames if either
name is present in restriction
(calculate_base_revision): remove unused variant
(calculate_current_revision): remove unsed variable
(calculate_restricted_revision): remove unsed variable
(ls_missing): remove unsed variable
(revert): rewrite with restrictions
* tests/t_revert.at: test partial reverts adjust MT/work properly
* tests/t_revert_dirs.at: un-XFAIL
* tests/t_revert_rename.at: un-XFAIL; revert rename via both names
2005-01-23 Derek Scherger <derek@echologic.com>
* tests/t_revert_rename.at: remove extra MONOTONE_SETUP
attempt revert by both original name and new name
2005-01-23 Derek Scherger <derek@echologic.com>
* tests/t_revert_rename.at: New test.
* testsuite.at: Add it.
2005-01-22 Derek Scherger <derek@echologic.com>
* tests/t_revert_dirs.at: New test.
* testsuite.at: Add it.
2005-01-22 Nathaniel Smith <njs@codesourcery.com>
* configure.ac (AC_INIT): Set bug-reporting address to list
address, rather than Graydon's personal email.
* diff_patch.cc (normalize_extents): Use it.
* ui.cc (fatal): Likewise.
* tests/t_vcheck.at: New priority "todo", tweak descriptive text.
2005-01-23 Derek Scherger <derek@echologic.com>
* database.{cc,hh}: convert queries to use prepared statements
2005-01-22 Nathaniel Smith <njs@codesourcery.com>
* tests/t_delete_dir.at: Add more commentary.
* tests/t_rename_dir_patch.at: New test.
* tests/t_delete_dir_patch.at: New test.
* testsuite.at: Add them.
2005-01-22 Nathaniel Smith <njs@codesourcery.com>
* change_set.cc (apply_change_set): Add invariants.
* tests/t_rename_dir_cross_level.at: New test.
* tests/t_rename_added_in_rename.at: New test.
* tests/t_rename_conflict.at: New test.
* testsuite.at: Add them.
2005-01-21 Nathaniel Smith <njs@codesourcery.com>
* tests/t_ambig_update.at: Update comments.
* tests/t_update_2.at: New test from Georg-W. Koltermann
<Georg.Koltermann@mscsoftware.com>.
* testsuite.at: Add it.
2005-01-20 Nathaniel Smith <njs@codesourcery.com>
* tests/t_lca_1.at: New bug report.
* testsuite.at: Add it.
2005-01-19 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (merge): Improve merge chatter.
(do_diff): Don't print anything when there are no
changes.
2005-01-19 Nathaniel Smith <njs@codesourcery.com>
* tests/t_db_with_dots.at: New test.
* testsuite.at: Add it.
2005-01-19 Patrick Mauritz <oxygene@studentenbude.ath.cx>
* Makefile.am (%.h, package_revision.h, package_full_revision.h):
Don't update target file if no change has occurred, to reduce
unnecessary rebuilds.
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* rcs_import.cc (cvs_key): Initialize struct tm to all zeros, to
stop garbage sneaking in -- thanks to Zack Weinberg for pointing
this out. Also, handle 2 digit years properly on WIN32.
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* rcs_import.cc: Remove tabs.
2005-01-19 Matt Johnston <matt@ucc.asn.au>
* database.cc: Pass filename to check_sqlite_format_version as a
fs::path, so that it doesn't get passed as a freshly created fs::path
with default checker (which disallows '.foo' path components)
2005-01-19 Nathaniel Smith <njs@codesourcery.com>
* netsync.cc (session, process_confirm_cmd, dispatch_payload):
Back out some over-zealous changes that broke netsync
compatibility. Probably should redo later, when have a chance to
bump netsync protocol number, but we're not ready for that now.
2005-01-19 Nathaniel Smith <njs@codesourcery.com>
* tests/t_subdir_revert.at: New test.
* tests/t_subdir_rename.at: New test.
* testsuite.at: Add them.
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* tests/t_subdir_add.at: New test.
* tests/t_subdir_drop.at: New test.
* testsuite.at: Add them.
* tests/t_delete_dir.at: Implement it.
2005-01-19 Nathaniel Smith <njs@codesourcery.com>
* netcmd.cc: Remove tabs.
2005-01-19 Nathaniel Smith <njs@codesourcery.com>
* merkle_tree.cc: Remove tabs.
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* rcs_import.cc (cvs_key): Initialize struct tm to all zeros, to
stop garbage sneaking in -- thanks to Zack Weinberg for pointing
this out. Also, handle 2 digit years properly on WIN32.
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* rcs_import.cc: Remove tabs.
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi: Undocument mcerts, fcerts; rename rcerts to
certs.
* monotone.1: Likewise.
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (restrict_rename_set): Fix types to compile with old
rename_set gunk removed.
Alter logic to yell if a rename crosses the restriction boundary,
rather than silently ignore it.
2005-01-19 Graydon Hoare <graydon@pobox.com>
* commands.cc: Fix up some merge breakage.
* tests/t_add_dot.at: Un-XFAIL.
* testsuite.at: Run "setup ." before "db init".
2005-01-09 Derek Scherger <derek@echologic.com>
* commands.cc (get_path_rearrangement): new function/signature for
splitting restricted rearrangements
(calculate_restricted_revision): use it and update to work
similarly to calculate_current_revision
(trusted): call app.initialize(false)
(ls_missing): adjust for new get_path_rearrangement
(attr): call app.initialize(true)
(diff): merge cleanup
(lca, lcad, explicit_merge): call app.initialize(false)
* app_state.cc (constructor): set database app state
(load_rcfiles): add required booleans
* lua.{cc,hh} (load_rcfile): add required boolean
* tests/t_add.at:
* tests/t_diff_added_file.at:
* tests/t_disapprove.at:
* tests/t_drop_missing.at:
* tests/t_heads.at:
* tests/t_heads_discontinuous_branch.at:
* tests/t_i18n_file.at:
* tests/t_log_nonexistent.at:
* tests/t_merge_add_del.at:
* tests/t_netsync.at:
* tests/t_netsync_pubkey.at:
* tests/t_netsync_single.at:
* tests/t_persistent_server_keys.at:
* tests/t_persistent_server_revision.at:
* tests/t_remerge.at:
* tests/t_tags.at:
* tests/t_update_missing.at:
* tests/t_update_to_revision.at: add --message option to commits
* tests/t_merge2_add.at:
* tests/t_merge2_data.at:
* tests/t_netsync_unrelated.at: create working directory with new
setup command
* tests/t_erename.at: update for revisions
* tests/t_no_change_deltas.at: add --revision options to diff
* tests/t_restrictions.at: remove some cruft and update to work
with revisions
* tests/t_subdirs.at: pass correct --rcfile and --db options from
within subdir
* testsuite.at (REVERT_TO): remove MT dir before checkout, which
now fails if MT exists, replace checkout MT/options with old
MT/options
(COMMIT): add --message option to commit macro
* work.cc (read_options_map): don't overwrite option settings when
reading options map so that command line settings take precedence
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* netsync.cc: Partially fix comment (s/manifest/revision/ etc.).
(dispatch_payload): Ignore mcert and fcert refinement requests,
instead of dying on them. Hack, but I think it should let this
netsync continue to interoperate with old netsync...
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* vocab.hh: Remove file<cert>.
* vocab.cc: Likewise.
* packet_types.hh: Remove file.
* Makefile.am (MOST_SOURCES): Remove packet_types.hh and mac.hh.
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* netsync.cc (process_confirm_cmd): Don't try refining mcert and
fcert trees.
Remove other dead/pointless code.
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* database.hh: Remove file cert stuff.
* netsync.cc (data_exists): We don't have file/manifest certs.
(load_data): Likewise.
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* netsync.cc (process_data_cmd): Ignore file/manifest certs.
* database.cc (struct valid_certs): Don't support file certs.
(rehash): No file certs.
(file_cert_exists): Remove.
(put_file_cert): Remove.
(get_file_certs): Remove.
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* packet.cc (class delayed_manifest_cert_packet):
(class delayed_file_cert_packet): Remove.
(packet_db_writer::consume_file_cert, consume_manifest_cert)
(packet_writer::consume_file_cert, consume_manifest_cert)
Remove.
(struct feed_packet_consumer): Don't support mcert/fcert packets.
(extract_packets): Likewise.
(packet_roundabout_test): Test revision certs, not manifest/file
certs.
* packet.hh (packet_consumer::consume_file_cert):
(packet_consumer::consume_manifest_cert):
(packet_writer::consume_file_cert):
(packet_writer::consume_manifest_cert):
(packet_db_writer::consume_file_cert):
(packet_db_writer::consume_manifest_cert):
Remove.
* lua.hh (hook_get_file_cert_trust): Remove.
* lua.cc (hook_get_file_cert_trust): Remove.
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* cert.hh (erase_bogus_certs): Re-add manifest cert version.
* monotone.texi (Hook Reference): Remove documentation of
get_{file,manifest}_cert_trust.
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* cert.cc (erase_bogus_certs): Re-add manifest cert version.
(bogus_cert_p): Likewise.
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* cert.hh (rename_edge):
(rename_set):
(calculate_renames):
(rename_cert_name): Remove.
(cert_file_comment):
(cert_manifest_comment): Remove.
(erase_bogus_certs): Remove manifest and file versions.
* cert.cc (rename_cert_name): Remove.
(bogus_cert_p): Remove manifest<cert> and file<cert> variants.
(erase_bogus_certs): Likewise.
(put_simple_manifest_cert):
(put_simple_file_cert):
(cert_file_comment): Remove.
* commands.cc (fcerts): Remove.
(mcerts): Likewise.
(rcerts): Rename to...
(certs): ...this. s/revision certs/certs/ in help text.
(trusted): s/revision cert/cert/.
(ls_certs): Don't special-case rename certs.
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* tests/t_vcheck.at: Fix AT_XFAIL_IF typo.
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Reserved Certs): Remove 'vcheck'.
(Key and Cert): Remove 'vcheck'.
(Accidental collision): Likewise.
(Commands): Likewise.
* tests/t_vcheck.at: Add note about manual having useful stuff for
when vcheck is re-added.
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* mac.hh:
* cert.cc (vcheck_cert_name):
(calculate_vcheck_mac):
(cert_manifest_vcheck
(check_manifest_vcheck):
* cert.hh (cert_manifest_vcheck):
(check_manifest_vcheck):
* constants.cc (constants::vchecklen):
* constants.hh (constants::vchecklen):
* commands.cc (vcheck):
Remove.
* tests/t_vcheck.at: New test.
* testsuite.at: Call it.
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* ROADMAP: Remove 'upgrade to sqlite3' todo item.
2005-01-18 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (tag):
(testresult):
(approve):
(disapprove):
(comment):
(fload):
(fmerge):
(cat):
(rcs_import): Change grouping for "--help" display, to make more
informative.
(rcs_import): Also add more details to help text.
2005-01-17 Matt Johnston <matt@ucc.asn.au>
* file_io.cc: re-add accidentally removed #include
* botan/gzip.cc: improved comments, removed unused code
2005-01-17 Nathaniel Smith <njs@codesourcery.com>
* diff_patch.cc (normalize_extents): Add missing ')'.
2005-01-17 Nathaniel Smith <njs@codesourcery.com>
* tests/t_update_1.at: New test.
* testsuite.at: Call it.
2005-01-11 Nathaniel Smith <njs@codesourcery.com>
* diff_patch.cc (normalize_extents): Add warning for anyone who
manages to trigger the untested part of the normalization code.
2005-01-14 Christian Kollee <stuka@pestilenz.org>
* search for and link with sqlite3 when --bundle-sqlite=no
2005-01-12 Derek Scherger <derek@echologic.com>
* tests/t_ambig_update.at: add comments from discussion on irc
* tests/t_status_missing.at: new test
* testsuite.at: include it
2005-01-10 Graydon Hoare <graydon@pboox.com>
* commands.cc (explicit_merge): Tweak merge message.
* database.cc (check_sqlite_format_version): New function.
(database::sql): Call it.
* sqlite/pager.hh (SQLITE_DEFAULT_PAGE_SIZE): Adjust to 8192.
(SQLITE_MAX_PAGE_SIZE): Adjust to 65536.
* schema_migration.cc: Post-merge cleanup.
* Makefile.am: Likewise.
2005-01-10 Christof Petig <christof@petig-baender.de>
* sqlite/*: SQLite 3.0.8 CVS import
* database.{cc,hh}:
* schema_migration.{cc,hh}: convert to use the SQLite3 API
This does not yet use any of the more sophisticated API features
of SQLite3 (query parameters, BLOBs), so there is plenty of room
for optimization. This also does not change the schema (i.e.
still uses base64 encoded values in tables)
2005-01-17 Graydon Hoare <graydon@pobox.com>
* AUTHORS: Mention Wojciech and Neil.
* revision.cc (calculate_ancestors_from_graph): Make non-recursive.
2005-01-17 Wojciech Miłkowski <wmilkowski@interia.pl>
* std_hooks.lua: Teach about meld.
2005-01-17 Neil Conway <neilc@samurai.com>
* diff_patch.cc: add a new context diff hunk consumer. Rename
unidiff() to make_diff().
* diff_patch.hh: Rename unidiff() to make_diff().
* command.cc: Add new "cdiff" command, and refactor "diff" to
invoke a common subroutine that is parameterized on the diff
type. Unrelated change: make a branch-based checkout default to
using the same directory name as the branch name, unless a
branch is specified.
2005-01-17 Graydon Hoare <graydon@pobox.com>
* cryptopp/osrng.cpp (NonblockingRng::GenerateBlock):
Bring forward patch lost in cryptopp 5.2 upgrade.
* revision.cc (add_bitset_to_union)
(calculate_ancestors_from_graph): New functions.
(erase_ancestors)
(is_ancestor): Rewrite.
* cert.cc (get_branch_heads): Rewrite.
* database.{cc,hh} (get_heads): Remove
(get_revision_ancestry): Use multimap.
(install_views): Disable.
Remove everything related to the trust views. Too slow.
Also tidy up whitespace formatting in sqlite3 code.
* views.sql: Clear out all views.
* commands.cc: Adapt to using multimap for ancestry.
* AUTHORS: Mention Faheem and Christian.
2005-01-17 Faheem Mitha <faheem@email.unc.edu>
* debian/control: Fix up build depends.
2005-01-17 Ulrich Drepper <drepper@redhat.com>
* acinclude.m4 (AC_CHECK_INADDR_NONE): Fix quoting.
* Makefile.am (EXTRA_DIST): Add sqlite/keywordhash.c.
2005-01-14 Christian Kollee <stuka@pestilenz.org>
* search for and link with sqlite3 when --bundle-sqlite=no
2005-01-12 Derek Scherger <derek@echologic.com>
* tests/t_ambig_update.at: add comments from discussion on irc
* tests/t_status_missing.at: new test
* testsuite.at: include it
2005-01-10 Graydon Hoare <graydon@pboox.com>
* commands.cc (explicit_merge): Tweak merge message.
* database.cc (check_sqlite_format_version): New function.
(database::sql): Call it.
* sqlite/pager.hh (SQLITE_DEFAULT_PAGE_SIZE): Adjust to 8192.
(SQLITE_MAX_PAGE_SIZE): Adjust to 65536.
* schema_migration.cc: Post-merge cleanup.
* Makefile.am: Likewise.
2005-01-10 Christof Petig <christof@petig-baender.de>
* sqlite/*: SQLite 3.0.8 CVS import
* database.{cc,hh}:
* schema_migration.{cc,hh}: convert to use the SQLite3 API
This does not yet use any of the more sophisticated API features
of SQLite3 (query parameters, BLOBs), so there is plenty of room
for optimization. This also does not change the schema (i.e.
still uses base64 encoded values in tables)
2005-01-11 Nathaniel Smith <njs@codesourcery.com>
* tests/t_migrate_schema.at: Switch to using pre-dumped db's, make
it work, un-XFAIL it.
2005-01-11 Nathaniel Smith <njs@codesourcery.com>
* tests/t_persistent_server_keys_2.at: XFAIL it, add commentary on
solution.
2005-01-11 Nathaniel Smith <njs@codesourcery.com>
* tests/t_persistent_server_keys_2.at: New test.
* testsuite.at: Add it.
2005-01-06 Nathaniel Smith <njs@codesourcery.com>
* schema_migration.cc (migrate_monotone_schema): Add comment
pointing to t_migrate_schema.at.
* tests/t_migrate_schema.at: Implement, mostly. (Still broken.)
* tests/t_heads_discontinuous_branch.at: Remove urgency
annotation.
* tests/t_netsync_nocerts.at: Add urgency annotation.
* testsuite.at: Add UNGZ, UNGZB64 macros.
* tests/t_fmerge.at: Use them.
2005-01-05 Nathaniel Smith <njs@codesourcery.com>
* schema_migration.cc: Update comment about depot code.
(migrate_depot_split_seqnumbers_into_groups):
(migrate_depot_make_seqnumbers_non_null):
(migrate_depot_schema): Remove; all are dead code.
2005-01-05 Nathaniel Smith <njs@codesourcery.com>
* schema_migration.cc: Remove tabs.
2005-01-05 Nathaniel Smith <njs@codesourcery.com>
* tests/t_check_same_db_contents.at: Uncapitalize title to unbreak
testsuite.
* revision.cc (is_ancestor): Add FIXME comment.
(erase_ancestors): New function.
* revision.hh (erase_ancestors): Prototype it.
* cert.cc (get_branch_heads): Call it.
* tests/t_heads_discontinuous_branch.at: Un-XFAIL it.
* revision.cc (find_subgraph_for_composite_search): Ignore null
revision ids.
* commands.cc (try_one_merge): Add invariant - never create merges
where the left parent is an ancestor or descendent of the right.
(explicit_merge): Same check.
(propagate): Handle cases where no merge is necessary. Also, make
generated log message more readable.
* tests/t_propagate_desc.at: Un-XFAIL it.
* tests/t_propagate_anc.at: Un-XFAIL it. Use new
CHECK_SAME_DB_CONTENTS macros.
* testsuite.at: Move t_check_same_db_contents.at to run before
propagation tests. Make CHECK_SAME_DB_CONTENTS more thorough.
* tests/t_dump_load.at: Implement test.
2005-01-05 Nathaniel Smith <njs@codesourcery.com>
* tests/t_check_same_db_contents.at: New test.
* testsuite.at: Add it.
(CHECK_SAME_DB_CONTENTS): New macro.
2005-01-04 Nathaniel Smith <njs@codesourcery.com>
* cert.cc: Remove tabs.
* revision.hh: Likewise.
2005-01-04 Nathaniel Smith <njs@codesourcery.com>
* tests/t_propagate_anc.at: Also check the case where we're
propagating a non-strict ancestor, i.e. the heads are actually
equal.
2005-01-04 Nathaniel Smith <njs@codesourcery.com>
* database.cc (get_revision_parents): Add invariant.
(get_revision_children): Likewise.
(get_revision): Likewise.
(put_revision): Likewise.
* tests/t_merge_ancestor.at: New test.
* tests/t_propagate_desc.at: Likewise.
* tests/t_propagate_anc.at: Likewise.
* testsuite.at: Call them.
2005-01-04 Nathaniel Smith <njs@codesourcery.com>
* tests/t_netsync_diffbranch.at: Add priority, add description of
problem and solution.
Also, XFAIL it.
* tests/t_netsync_unrelated.at: Add reference to discussion.
* tests/t_cmdline_options.at: Remove priority marking from
non-bug.
* tests/t_checkout_dir.at: XFAIL when run as root.
* tests/t_netsync_nocerts.at: New test.
* testsuite.at: Call it.
2005-01-03 Matt Johnston <matt@ucc.asn.au>
* tests/t_netsync_diffbranch.at: add a new test for pulling a branch
with a parent from a different branch.
* testsuite.at: add it
2005-01-02 Derek Scherger <derek@echologic.com>
* commands.cc (log_certs): new function
(log) add Ancestor: and Branch: entries to output; use above new
function
* tests/t_cross.at: update to work with changesets
2005-1-1 Matt Johnston <matt@ucc.asn.au>
* botan/base64.cpp: Include a terminating newline in all cases for
compatibility with cryptopp
2005-1-1 Matt Johnston <matt@ucc.asn.au>
* keys.cc: fix merge issues propagating 0.16 to net.venge.monotone.botan
* botan/config.h: add it
* botan/{aes,des,dh,dsa,elgamal,lion,lubyrack,nr,rw,openpgp}*: removed
unused files.
2004-12-30 Graydon Hoare <graydon@pobox.com>
* constants.cc (netcmd_current_protocol_version): Set to 3.
* tests/t_crlf.at: New test of crlf line encodings.
* testsuite.at: Call it.
* monotone.spec: Note 0.16 release.
2004-12-30 Graydon Hoare <graydon@pobox.com>
* win32/get_system_flavour.cc: Fix little compile bugs.
2004-12-30 Julio M. Merino Vidal <jmmv@NetBSD.org>
* change_set.{cc,hh}: Add the has_renamed_file_src function in
change_set::path_rearrangement.
* commands.cc: Make the 'log' command show nothing for renamed or
deleted files (when asked to do so) and stop going backwards in
history when such condition is detected; they don't exist any more,
so there is no point in showing history (and could drive to incorrect
logs anyway).
* tests/t_log_nonexistent.at: New check to verify previous.
* testsuite.at: Add it.
2004-12-30 Graydon Hoare <graydon@pobox.com>
* Makefile.am: Clean full testsuite directory and full-version.
* configure.ac: Bump version number.
* po/monotone.pot: Regenerate.
* NEWS: Describe new release.
2004-12-29 Julio M. Merino Vidal <jmmv@NetBSD.org>
* tests/t_cmdline_options.at: New test for previous: ensure that
monotone is actually checking for command line correctness.
* testsuite.at: Add it.
2004-12-29 Julio M. Merino Vidal <jmmv@NetBSD.org>
* monotone.cc: Verify that the command line is syntactically correct
as regards to options (based on error codes from popt).
2004-12-29 Matt Johnston <matt@ucc.asn.au>
* tests/t_drop_rename_patch.at: A test to check that deltas on
renamed files are included in concatenate_change_sets, if there was a
deletion of a file with the same name as the rename src.
* testsuite.at: add it
2004-12-29 Graydon Hoare <graydon@pobox.com>
* AUTHORS: Add Jordi.
* change_set.{cc,hh}: Make sanity helpers const.
(normalize_change_set): Drop a->a deltas.
(merge_change_sets): Call normalize.
(invert_change_set): Likewise.
* revision.cc
(find_subgraph_for_composite_search): New fn.
(calculate_composite_change_set): Call it.
(calculate_change_sets_recursive): Use results.
* tests/t_no_change_deltas.at: Fix.
2004-12-29 Graydon Hoare <graydon@pobox.com>
* change_set.cc: Fix unit tests to satisfy sanity checks.
* std_hooks.lua: Fix status checking on external merges.
2004-12-29 Matt Johnston <matt@ucc.asn.au>
* change_set.{cc,hh}: Take account of files which are the
destination of a rename_file operation, when examining
file deletions. Added helper methods to clean up related code.
2004-12-29 Matt Johnston <matt@ucc.asn.au>
* change_set.cc: added a sanity check for deltas with same src/dst,
and deleted files with deltas.
2004-12-29 Matt Johnston <matt@ucc.asn.au>
* testsuite.at, tests/t_netsync_single.at: don't use -q with
killall since it isn't portable.
2004-12-28 Julio M. Merino Vidal <jmmv@NetBSD.org>
* commands.cc: Make the 'log' command show all affected files
in each revision in a nice format (easier to read than what
'cat revision' shows).
2004-12-28 Julio M. Merino Vidal <jmmv@NetBSD.org>
* commands.cc: Change the order used by the 'log' command to show
affected files so that it matches the order in which these changes
really happen. Otherwise, a sequence like "rm foo; mv bar foo;
patch foo" could be difficult to understand by the reader.
2004-12-28 Jordi Vilalta Prat <jvprat@wanadoo.es>
* monotone.texi: Fix a typo: "not not" should be "not".
2004-12-28 Julio M. Merino Vidal <jmmv@NetBSD.org>
* commands.cc: Make the 'log' command show all affected files
in each revision in a nice format (easier to read than what
'cat revision' shows).
2004-12-28 Graydon Hoare <graydon@pobox.com>
* AUTHORS: Add various recent authors.
2004-12-28 Badai Aqrandista <badaiaqrandista@hotmail.com>
* debian/*: Fix up for package building.
2004-12-28 Graydon Hoare <graydon@pobox.com>
* change_set.{cc,hh}: Add sanity checking, rework
some of concatenation logic to accomodate.
* revision.{cc,hh}: Likewise.
Teach about generalized graph rebuilding.
* database.cc (delete_existing_revs_and_certs): New fn.
* commands.cc (db rebuild): New command.
(db fsck) New command.
* sanity.{cc,hh} (relaxed): New flag.
* work.cc: Use new concatenation logic.
2004-12-25 Julio M. Merino Vidal <jmmv@NetBSD.org>
* commands.cc: During 'log', print duplicate certificates (by
different people) in separate lines, rather than showing them
together without any spacing. While here, homogenize new lines
in other messages as well; this also avoids printing some of
them in case of missing certificates).
2004-12-24 Nathaniel Smith <njs@codesourcery.com>
* tests/t_disapprove.at: Enable previously disabled test.
* tests/t_no_change_deltas.at: New test.
* testsuite.at: Call it.
2004-12-23 Nathaniel Smith <njs@codesourcery.com>
* win32/read_password.c: Remove unused file.
2004-12-22 Julio M. Merino Vidal <jmmv@NetBSD.org>
* commands.cc: Verify that the key identifier passed to the pubkey
and privkey commands exists in the database. Otherwise exit with
an informational message instead of an exception.
2004-12-20 Matt Johnston <matt@ucc.asn.au>
* keys.cc: don't cache bad passphrases, so prompt for a correct
password if the first ones fail.
2004-12-19 Matt Johnston <matt@ucc.asn.au>
* commands.cc: print out author/date next to ambiguous revision
lists from selectors.
2004-12-19 Julio M. Merino Vidal <jmmv@NetBSD.org>
* testsuite.at:
* tests/t_fmerge.at:
* tests/t_netsync.at:
* tests/t_netsync_single.at:
* tests/t_revert.at:
* tests/t_tags.at: Avoid usage of test's == operator. It's a
GNUism and causes unexpected failures in many tests. The correct
operator to use is just an equal sign (=).
* tests/t_renamed.at: Don't use cp's -a flag, which is not
supported by some implementations of this utility (such as the
one in NetBSD). Try to add some of its funcionality by using
the -p flag, although everything could be fine without it.
* tests/t_unidiff.at: Discard patch's stderr output. Otherwise
it's treated as errors, but NetBSD's patch uses it to print
informative messages.
2004-12-19 Julio M. Merino Vidal <jmmv@NetBSD.org>
* tests/t_scan.at: Instead of running sha1sum, use a prestored
manifest file to do the verification. This avoids problems in
systems that do not have the sha1sum tool, like NetBSD.
2004-12-19 Julio M. Merino Vidal <jmmv@NetBSD.org>
* Makefile.am: Remove obsolete --with-bundled-adns flag from
DISTCHECK_CONFIGURE_FLAGS.
2004-12-18 Nathaniel Smith <njs@codesourcery.com>
* tests/t_checkout_dir.at: Make the test directory chdir'able
again after the test.
* tests/t_delete_dir.at: Add trailing newline.
* tests/t_dump_load.at: New bug report.
* tests/t_migrate_schema.at: Likewise.
* testsuite.at: Call them.
2004-12-18 Nathaniel Smith <njs@codesourcery.com>
* change_set.hh: Remove obsolete comment.
2004-12-18 Nathaniel Smith <njs@codesourcery.com>
* tests/t_delete_dir.at: New bug report.
* testsuite.at: Call it.
2004-12-18 Julio M. Merino Vidal <jmmv@NetBSD.org>
* commands.cc: Homogenize help message for 'ls' with the one shown
by 'list'.
2004-12-18 Julio M. Merino Vidal <jmmv@NetBSD.org>
* ChangeLog: Add missing entries for several modifications I did
in December 6th and 3rd.
2004-12-18 Julio M. Merino Vidal <jmmv@NetBSD.org>
* tests/t_checkout_dir.at: New test triggering the bug I fixed
previously in the checkout command, verifying that directory
creation and chdir succeed.
* testsuite.at: Add new test.
2004-12-18 Nathaniel Smith <njs@codesourcery.com>
* ChangeLog: Add log entry for <jmmv@NetBSD.org>'s last change.
* std_hooks.lua: Check exit status of external merge commands.
2004-12-18 Julio M. Merino Vidal <jmmv@NetBSD.org>
* commands.cc: Include cerrno, cstring,
boost/filesystem/exception.hpp.
(checkout): Verify that directory creation and chdir succeeded.
2004-12-18 Nathaniel Smith <njs@codesourcery.com>
* diff_patch.cc (struct hunk_offset_calculator): Remove dead
code. (I believe it was used by the old, non-extent-based
merging.)
(calculate_hunk_offsets): Likewise.
(struct hunk_consumer): Move next to rest of unidiff code.
(walk_hunk_consumer): Likewise.
2004-12-18 Matt Johnston <matt@ucc.asn.au>
* change_set.cc (concatenate_change_sets): Be more careful checking
whether to discard deltas for deleted files (in particular take
care when files are removed then re-added) - fixes tests
t_patch_drop_add, t_add_drop_add.at, t_add_patch_drop_add,
t_merge2_add_drop_add
* change_set.cc (project_missing_deltas): don't copy deltas
for deleted files, and handle the case where src file ids vary when
files are added/removed. (fixes t_patch_vs_drop_add)
* t_patch_drop_add.at, t_add_drop_add.at, t_add_patch_drop_add.at,
t_merge2_add_drop_add.at, t_patch_vs_drop_add.t: don't expect
to fail any more.
2004-12-17 Nathaniel Smith <njs@codesourcery.com>
* tests/t_persistent_server_keys.at:
* tests/t_attr.at:
* tests/t_patch_vs_drop_add.at:
* tests/t_merge2_add_drop_add.at:
* tests/t_add_drop_add.at:
* tests/t_add_patch_drop_add.at:
* tests/t_patch_drop_add.at: Remove priority notes, since these
are no longer bugs.
2004-12-17 Graydon Hoare <graydon@pobox.com>
* tests/t_merge_2.at: Works now, remove xfail.
2004-12-17 Graydon Hoare <graydon@pobox.com>
* tests/t_merge_1.at: Remove AT_CHECK(false) and xfail.
* tests/t_fdiff_normalize.at: New test.
* testsuite.at: Call it.
* diff_patch.cc (normalize_extents): Fix the normalize bug.
* revision.{cc,hh} (construct_revisions): Rename to prepare for
next rebuild-the-graph migration.
* commands.cc (db): Change call name.
2004-12-16 Joel Rosdahl <joel@rosdahl.net>
* revision.cc (is_ancestor): Use std::queue for the queue.
2004-12-14 Joel Rosdahl <joel@rosdahl.net>
Generalize the explicit_merge command with an optional ancestor
argument:
* revision.cc (is_ancestor): New method.
* revision.hh (is_ancestor): Add prototype.
* commands.cc (try_one_merge): Add ancestor argument. Empty
ancestor means use ancestor from find_common_ancestor_for_merge.
(merge): Pass empty ancestor to try_one_merge.
(propagate): Likewise.
(explicit_merge): Add optional ancestor argument.
* monotone.texi: Document new explicit_merge argument.
2004-12-13 Joel Rosdahl <joel@rosdahl.net>
* tests/t_merge_2.at: New test triggering a bad merge.
* testsuite.at: Add new test.
2004-12-13 Joel Rosdahl <joel@rosdahl.net>
* revision.cc (find_least_common_ancestor): Add a missing "return
true;" that mysteriously was removed in
c853237f9d8d155431f88aca12932d2cdaaa31fe.
2004-12-13 Joel Rosdahl <joel@rosdahl.net>
* revision.cc (find_least_common_ancestor): Remove unused variable.
* commands.cc (lca): Correct negative status text.
* commands.cc (update): Use GNU style braces.
2004-12-12 Graydon Hoare <graydon@pobox.com>
* commands.cc: Fix bug reported in t_attr.at
* tests/t_attr.at: Remove xfail.
* change_set.cc: Change unit tests syntax.
(read_change_set): Assert complete read.
* revision_ser.cc (read_revision_set): Likewise.
* os_specific.hh: Drop obsolete file.
2004-12-12 Joel Rosdahl <joel@rosdahl.net>
* revision.cc (find_least_common_ancestor): New function for
finding the vanilla LCA.
* revision.hh: Added prototype for find_least_common_ancestor.
* commands.cc (update): Use find_least_common_ancestor for finding
a common ancestor.
* commands.cc (diff): Likewise.
* revision.cc (find_common_ancestor): Rename to...
(find_common_ancestor_for_merge): ...this, for clarity.
* revision.hh: find_common_ancestor -->
find_common_ancestor_for_merge.
* commands.cc (try_one_merge): Call find_common_ancestor_for_merge
to find ancestor.
* commands.cc (lcad): Rename lca command to lcad.
* commands.cc (lca): New command for finding the vanilla LCA.
2004-12-12 Nathaniel Smith <njs@codesourcery.com>
* tests/t_persistent_server_keys.at: Actually test what it's
supposed to. Also, un-XFAIL it, since now it seems to pass.
2004-12-12 Nathaniel Smith <njs@codesourcery.com>
* tests/t_persistent_server_keys.at: New test.
* testsuite.at: Call it.
* tests/t_persistent_server_revision.at: Fix typo.
2004-12-12 Nathaniel Smith <njs@codesourcery.com>
* tests/t_persistent_server_revision.at: New test.
* testsuite.at: Call it. Tweak NETSYNC macros in support of it.
2004-12-11 Nathaniel Smith <njs@codesourcery.com>
* lua.hh (add_rcfile): Add 'required' argument.
* lua.cc (add_rcfile): Implement it. Simplify error checking
logic while I'm there...
* monotone.cc (cpp_main): Pass new argument to add_rcfile.
* tests/t_rcfile_required.at: New test.
* testsuite.at: Call it.
Revamp netsync support macros, to allow long-running servers.
Make netsync-killer try first with -TERM, in case that plays nicer
with gcov.
2004-12-11 Nathaniel Smith <njs@codesourcery.com>
* lua.hh: Remove tabs.
2004-12-11 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi: Document explicit_merge.
2004-12-11 Nathaniel Smith <njs@codesourcery.com>
* Makefile.am: Redo full-revision support again, to properly
handle 'make dist' and caching. Hopefully.
2004-12-11 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (File Attributes): Rewrite for new .mt-attrs
syntax.
2004-12-11 Nathaniel Smith <njs@codesourcery.com>
* tests/t_attr.at: New test.
* testsuite.at: Call it.
2004-12-11 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (trusted): Print spaces between key ids.
* lua.cc (add_rcfile): Errors while loading a user-provided rc
file are naughtiness, not oopses.
2004-12-11 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (commands::explain_usage): Use split_into_lines to
do formatting of per-command usage; allow multi-line
descriptions.
(trusted): New command.
* monotone.texi (Key and Cert): Document 'trusted' command.
* tests/t_trusted.at: New test.
* testsuite.at: Change get_revision_cert_trust to support
t_trusted.at. Call t_trusted.at.
2004-12-11 Derek Scherger <derek@echologic.com>
* app_state.{cc,hh} (restriction_includes): renamed from
in_restriction to be less obscure; use path_set rather than
set<file_path>
* commands.cc
(restrict_path_set):
(restrict_rename_set):
(restrict_path_rearrangement):
(calculate_restricted_revision): new restriction functions
(restrict_patch_set): remove old restrictions machinery
(status): call calculate_restricted_revision
(ls_tags): call app.initialize
(unknown_itemizer): restriction_includes renamed
(ls_unknown): call calculate_restricted_revision
(ls_missing): rework for restrictions
(commit): switch to --message option, optional paths and preserve
restricted work
(diff): allow restrictions for zero and one arg variants
(revert): note some work left to do
* manifest.{cc,hh} (build_manifest_map): hide unused things
(build_restricted_manifest_map): new function
* transforms.{cc,hh} (calculate_ident): clean up merge artifacts
* work.cc (read_options_map): merge cleanup to preserve command
line options
2004-12-10 Nathaniel Smith <njs@codesourcery.com>
* Makefile.am (package_full_revision.txt): Redo Joel Rosdahl
<joel@rosdahl.net>'s change below after it got clobbered by
merge.
2004-12-10 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (log): Synopsize optional 'file' argument, and
describe both arguments in help description.
2004-12-10 Matt Johnston <matt@ucc.asn.au>
* cert.cc: Added priv_key_exists() function
* commands.cc, rcs_import.cc: use new privkey functions
* netsync.cc: change some bits that were missed
2004-12-09 Derek Scherger <derek@echologic.com>
* .mt-nonce: delete obsolete file
* change_set.cc (merge_deltas): add file paths in call to
try_to_merge_files
* commands.cc (propagate): add progress logging similar to merge
* diff_patch.{cc,hh} (try_to_merge_files): add file paths to
merge2 and merge3 hooks; add logging of paths before calling merge
hooks
* lua.{cc,hh} (hook_merge2, hook_merge3): add file paths to merge
hooks
* std_hooks.lua (merge2, merge3, merge2_xxdiff_cmd,
merge3_xxdiff_cmd): pass file paths to xxdiff for use as titles
* testsuite.at (MONOTONE_SETUP): add paths to merge2 hook
2004-12-09 Matt Johnston <matt@ucc.asn.au>
* cert.cc, cert.hh, lua.cc, lua.hh, netsync.cc:
Added a new get_priv_key(keyid) lua hook to retrieve
a private key from ~/.monotonerc
2004-12-09 Matt Johnston <matt@ucc.asn.au>
* change_set.cc: Don't include patch deltas on files which
are being deleted in changesets. (partial fix for bug
invoked by t_merge_add_del.at)
2004-12-09 Matt Johnston <matt@ucc.asn.au>
* configure.ac,Makefile.am: Fix iconv and intl
handling so that the libraries are used (required for OS X).
2004-12-09 Nathaniel Smith <njs@codesourcery.com>
* Makefile.am (BUILT_SOURCES_NOCLEAN): add 'S'.
* netsync.cc (session): Make ticker pointers into auto_ptr's. Add
cert and revision tickers.
(session::session): Initialize new tickers.
(session::note_item_sent): New method. Increment tickers.
(session::note_item_arrived): Increment tickers.
(session::read_some): Adjust for auto_ptr.
(session::write_some): Likewise.
(call_server): Conditionally initialize cert and revision
tickers.
(queue_data_cmd): Call 'note_item_sent'.
(queue_delta_cmd): Call 'note_item_sent'.
2004-12-09 Graydon Hoare <graydon@pobox.com>
* ROADMAP: Add file.
2004-12-08 Nathaniel Smith <njs@codesourcery.com>
* tests/t_patch_vs_drop_add.at:
* tests/t_patch_drop_add.at:
* tests/t_netsync_unrelated.at:
* tests/t_merge_add_del.at:
* tests/t_merge2_add_drop_add.at:
* tests/t_merge_1.at:
* tests/t_heads_discontinuous_branch.at:
* tests/t_cleanup_empty_dir.at:
* tests/t_checkout_options.at:
* tests/t_ambig_update.at:
* tests/t_add_patch_drop_add.at:
* tests/t_add_drop_add.at:
* tests/t_add_dot.at: Add (importance) markers to all bug report
tests.
2004-12-08 Nathaniel Smith <njs@codesourcery.com>
* app_state.hh (write_options): Add 'force' option.
* app_state.cc: Remove tabs.
(write_options): Implement.
* commands.cc (checkout): Pass force=true to 'write_options'.
* tests/t_checkout_options.at: New test.
* testsuite.at: Define RAW_MONOTONE.
(t_checkout_options.at): Call it.
2004-12-08 Nathaniel Smith <njs@codesourcery.com>
* update.hh (pick_update_target): Rename to...
(pick_update_candidates): ...this. Return a set of candidates,
rather than a single best.
* update.cc (pick_update_candidates): Likewise. Remove logic
checking for unique candidate.
* commands.cc (describe_revision): New function.
(heads): Use it.
(update): Use new 'pick_update_candidates' function. Add logic
checking for unique candidate. On non-unique candidate, print all
candidates, using 'describe_revision'.
* tests/t_ambig_update.at: Check that failure messages describe
the candidate set.
2004-12-08 Nathaniel Smith <njs@codesourcery.com>
* update.cc: Remove tabs.
2004-12-08 Nathaniel Smith <njs@codesourcery.com>
* tests/t_ambig_update.at: Also check that update fails when one
candidate edge is deeper than the other.
2004-12-08 Graydon Hoare <graydon@pobox.com>
* change_set.cc (extend_renumbering_via_added_files):
Look up parent tid in existing renumbering.
* commands.cc (attr): Check index for "set" subcommand.
(lca): New diagnostic command.
(log): Tidy up output formatting a bit.
* po/monotone.pot: Regenerate.
* tests/t_add_edge.at: New test to catch add failure.
* testsuite.at: Call it.
2004-12-08 Nathaniel Smith <njs@codesourcery.com>
* tests/t_ambig_update.at: New test.
* testsuite.at: Add it.
* tests/t_explicit_merge.at: Add, having forgotten to last time.
2004-12-08 Nathaniel Smith <njs@codesourcery.com>
* tests/t_explicit_merge.at: New test.
* testsuite.at: Add it.
2004-12-08 Nathaniel Smith <njs@codesourcery.com>
* testsuite.at: Remove duplicate line created by merge.
* ChangeLog: Re-sort after merges.
* commands.cc (explicit_merge): Remove stray space. Print id of
merge result.
(complete_command): Add back "}" deleted by merge.
2004-12-08 Nathaniel Smith <njs@codesourcery.com>
* change_set.cc: Remove tabs.
* diff_patch.cc: Likewise.
* commands.cc (explicit_merge): New command.
2004-12-08 Graydon Hoare <graydon@pobox.com>
* change_set.cc (extend_renumbering_via_added_files):
Look up parent tid in existing renumbering.
* commands.cc (attr): Check index for "set" subcommand.
(lca): New diagnostic command.
(log): Tidy up output formatting a bit.
* po/monotone.pot: Regenerate.
* tests/t_add_edge.at: New test to catch add failure.
* testsuite.at: Call it.
2004-12-07 Richard Levitte <richard@levitte.org>
* Makefile.am: Keep package_*revision.{txt,h}, so they are saved
as part of a distribution, and thereby make as sure as possible
people who download monotone get historical information on where
their copy of monotone came from.
2004-12-06 Richard Levitte <richard@levitte.org>
* monotone.cc: Add a hint on how to use --ticker.
2004-12-06 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (ls_certs): Sort the certs before printing.
* tests/t_netsync_repeated.at: Actually check that certs were
transferred correctly.
2004-12-06 Julio M. Merino Vidal <jmmv@NetBSD.org>
* figures/cert.pdf:
* figures/cert.png:
* figures/oo-figures.sxd:
* monotone.texi: Use example host names under the
example.{com,org,net} subdomains instead of invented names.
These are defined in RFC 2606.
2004-12-06 Julio M. Merino Vidal <jmmv@NetBSD.org>
* configure.ac: Now that we depend on GNU Autoconf >= 2.58, we
can use the AS_HELP_STRING macro everywhere we need to pretty-print
help strings. Also convert old calls to AC_HELP_STRING (deprecated)
to this one.
2004-12-06 Joel Rosdahl <joel@rosdahl.net>
* Makefile.am (package_full_revision.txt): Silence error messages
when deducing full package revision.
2004-12-06 Graydon Hoare <graydon@pobox.com>
* unix/get_system_flavour.cc:
* win32/get_system_flavour.cc: Add missing files.
2004-12-06 Graydon Hoare <graydon@pobox.com>
* commands.cc (merge): Add newline in output.
* change_set.cc (project_missing_deltas): Fix very bad
delta-renaming bug.
2004-12-06 Graydon Hoare <graydon@pobox.com>
* change_set.cc:
* tests/t_merge_add_del.at:
* netsync.cc:
* commands.cc: Clean up from merge.
2004-12-06 Nathaniel Smith <njs@codesourcery.com>
* tests/t_add_patch_drop_add.at: New test.
* tests/t_merge2_add_drop_add.at: New test.
* tests/t_patch_drop_add.at: New test.
* tests/t_patch_vs_drop_add.at: New test.
* testsuite.at: Add them.
* tests/t_add_drop_add.at: Fix to test what it was supposed to.
* tests/t_merge2_data.at: Remove extraneous [stdout].
* tests/t_merge_add_del.at: Fix description.
XFAIL it.
2004-12-06 Nathaniel Smith <njs@codesourcery.com>
* tests/t_add_drop_add.at: New test.
* testsuite.at: Add it.
2004-12-05 Nathaniel Smith <njs@codesourcery.com>
* tests/t_merge_add_del: Shorten name for better display.
2004-12-05 Matt Johnston <matt@ucc.asn.au>
* tests/t_merge_add_del: added a new test for merging
branches where a file is added then removed.
* testsuite.at: added the new test
* configure.ac: bumped the prequisite version to 2.58 since
some tests use AT_XFAIL_IF
2004-12-05 Graydon Hoare <graydon@pobox.com>
* Makefile.am (package_full_revision.txt): Use top_builddir
to locate monotone executable.
2004-12-05 Nathaniel Smith <njs@codesourcery.com>
* tests/t_merge_add_del: Shorten name for better display.
2004-12-05 Matt Johnston <matt@ucc.asn.au>
* tests/t_merge_add_del: added a new test for merging
branches where a file is added then removed.
* testsuite.at: added the new test
* configure.ac: bumped the prequisite version to 2.58 since
some tests use AT_XFAIL_IF
2004-12-04 Graydon Hoare <graydon@pobox.com>
* commands.cc (fcommit): New command.
(update): Finish off merge of update command.
2004-12-04 Derek Scherger <derek@echologic.com>
* commands.cc: (complete_command): New function.
(explain_usage/process): Use it.
2004-12-04 Nathaniel Smith <njs@codesourcery.com>
* change_set.cc (merge_deltas): Call correct variant of
try_to_merge_files depending on whether ancestor is available.
* diff_patch.cc (try_to_merge_files -- merge3 version): Add
assertions about ids.
(try_to_merge_files -- merge2 version): Likewise.
* testsuite.at: Add a trivial working merge2 hook.
* tests/t_related_merge2_data.at: Update to use.
Mark as expected to PASS.
* tests/t_merge2_data.at: Likewise.
2004-12-04 Nathaniel Smith <njs@codesourcery.com>
* change_set.cc (merge_deltas): Call correct variant of
try_to_merge_files depending on whether ancestor is available.
* diff_patch.cc (try_to_merge_files -- merge3 version): Add
assertions about ids.
(try_to_merge_files -- merge2 version): Likewise.
* testsuite.at: Add a trivial working merge2 hook.
* tests/t_related_merge2_data.at: Update to use.
Mark as expected to PASS.
* tests/t_merge2_data.at: Likewise.
2004-12-04 Nathaniel Smith <njs@codesourcery.com>
* change_set.cc: Remove tabs.
* diff_patch.cc: Likewise.
2004-12-04 Nathaniel Smith <njs@codesourcery.com>
* change_set.cc: Remove tabs.
* diff_patch.cc: Likewise.
2004-12-03 Julio M. Merino Vidal <jmmv@NetBSD.org>
* commands.cc: Add a missing newline to a message.
2004-12-03 Julio M. Merino Vidal <jmmv@NetBSD.org>
* cryptopp/config.h:
* configure.ac: NetBSD does not define __unix__ nor __unix, so the
build fails. To solve, check for __NetBSD__ where appropiate to
detect a Unix system.
2004-12-03 Julio M. Merino Vidal <jmmv@NetBSD.org>
* INSTALL: Document my latest changes: --enable-ipv6 option, ability
to specify static boost prefix through --enable-static-boost and
BOOST_SUFFIX variable.
2004-12-03 Julio M. Merino Vidal <jmmv@NetBSD.org>
* Makefile.am:
* configure.am: Add a variable, BOOST_SUFFIX, that identifies the
suffix string that has to be appended to Boost library names to use
them. This variable can be defined on configure's command line.
2004-12-03 Julio M. Merino Vidal <jmmv@NetBSD.org>
* configure.ac: Let the --enable-static-boost argument take a prefix
to where boost libraries are located.
2004-12-03 Julio M. Merino Vidal <jmmv@NetBSD.org>
* configure.ac: Add a three-state --enable-ipv6 argument to the
configure script to explicitly enable or disable IPv6 support.
2004-12-03 Julio M. Merino Vidal <jmmv@NetBSD.org>
* std_hooks.lua: Add missing newlines to two error messages.
2004-12-02 Derek Scherger <derek@echologic.com>
* commands.cc: more tweaking to ease changeset merge
2004-12-01 Derek Scherger <derek@echologic.com>
* commands.cc: reordered commands to help merge with changesets
branch
2004-12-01 Graydon Hoare <graydon@pobox.com>
* {unix,win32}/get_system_flavour.cc: New files.
* basic_io.{cc,hh}: Give names to input sources.
* monotone.cc: Move app_state ctor inside try.
* platform.hh (get_system_flavour): Declare.
* revision.cc: Name input source "revision".
* sanity.cc: Log flavour on startup.
* tests/t_attributes.at: Use new syntax.
* transforms.{cc,hh} (split_into_lines): New variant, and rewrite.
* work.{cc,hh}: Rewrite attributes to use basic_io.
(get_attribute_from_db):
(get_attribute_from_working_copy): New functions.
2004-11-30 Nathaniel Smith <njs@codesourcery.com>
* keys.cc (get_passphrase): Simplify arguments.
(generate_key_pair): Force new passphrases to come from the user.
Adapt to new 'get_passphrase' arguments.
(change_key_passphrase): Likewise.
(generate_key_pair): Add argument specifying passphrase, for
exclusive use of the unit tests.
(signature_round_trip_test): Use it.
* keys.hh (generate_key_pair): Adjust prototype correspondingly.
* tests/t_genkey.at: Test that 'genkey' requires the passphrase to
be entered.
* tests/t_chkeypass.at: Check that 'chkeypass' fails if no
passphrase is given.
2004-11-30 Nathaniel Smith <njs@codesourcery.com>
* keys.hh: Remove tabs.
* keys.cc: Likewise.
2004-11-30 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Hook Reference): Clarify description of
'get_passphrase', following confusion on IRC.
2004-11-30 Joel Rosdahl <joel@rosdahl.net>
* ui.cc (fatal): Added missing newlines in fatal message.
2004-11-29 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi: Add more details to documentation of 'update
<revision>' command.
* ui.cc (fatal): Typo in previous commit.
2004-11-29 Nathaniel Smith <njs@codesourcery.com>
* ui.cc (fatal): On suggestion of Zack Weinberg, add a note to
fatal error messages 1) telling the user that it's a bug (i.e.,
not their fault), and 2) requesting a bug report.
2004-11-29 Nathaniel Smith <njs@codesourcery.com>
* ui.cc: Remove tabs.
2004-11-30 Matt Johnston <matt@ucc.asn.au>
* change_set.cc (merge_disjoint_analyses): Prevent duplicated
tids being used.
(merge_disjoint_analyses): Fix typo (s/a_tmp/b_tmp/)
2004-11-27 Matt Johnston <matt@ucc.asn.au>
* Replaced cryptopp with botan
2004-11-24 Nathaniel Smith <njs@codesourcery.com>
* tests/t_cleanup_empty_dir.at: Shorten name.
2004-11-24 Nathaniel Smith <njs@codesourcery.com>
* Makefile.am (BUILT_SOURCES): List package_*version.{h,txt}.
* package_{full_,}version.txt: Work when blddir != srcdir.
2004-11-24 Nathaniel Smith <njs@codesourcery.com>
* mt_version.hh: New file.
* mt_version.cc: New file.
* monotone.cc (package_revision.h): Don't include it.
(mt_version.hh): Include it.
(OPT_FULL_VERSION): New option.
(options): Add it.
(cpp_main): Implement --version and --full-version in terms of
mt_version.hh.
* Makefile.am (package_full_revision.h): Build it.
(MOST_SOURCES): Add mt_version.{cc,hh}.
2004-11-24 Nathaniel Smith <njs@codesourcery.com>
* txt2c.cc (main): Add "--skip-trailing" option to skip trailing
whitespace.
* Makefile.am (package_revision.h): Generate it.
* monotone.cc (package_revision.h): Include it.
(cpp_main): Print it as part of --version.
2004-11-23 Nathaniel Smith <njs@codesourcery.com>
* tests/t_cleanup_empty_dir.at: New test.
* testsuite.at: Call it.
2004-11-23 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (File Attributes): Document how restricted format
of .mt-attrs currently is. Also talk about 'the' .mt-attrs file
instead of 'an', in response to confusion.
2004-11-23 Nathaniel Smith <njs@codesourcery.com>
* work.cc (build_deletion): Add missing newline.
(build_rename): Likewise.
(build_rename): Likewise.
2004-11-23 Nathaniel Smith <njs@codesourcery.com>
* work.cc: Remove tabs.
2004-11-23 Nathaniel Smith <njs@codesourcery.com>
* commands.cc: Remove tabs.
2004-11-23 Nathaniel Smith <njs@codesourcery.com>
* tests/t_add_dot.at: New test.
* testsuite.at: Call it.
2004-11-22 Joel Rosdahl <joel@rosdahl.net>
* testsuite.at (NEED_UNB64): Check that python knows how to decode
strings before using it.
2004-11-21 Joel Rosdahl <joel@rosdahl.net>
* testsuite.at (NEED_UNB64): Find more programs for decoding
base64.
2004-11-20 Nathaniel Smith <njs@codesourcery.com>
* tests/t_merge_1.at: New test.
* testsuite.at: Add it.
(NEED_UNB64): New macro.
(UNB64): Likewise.
* tests/t_unidiff.at: Use them.
* tests/t_unidiff2.at: Likewise.
2004-11-19 Nathaniel Smith <njs@codesourcery.com>
* tests/t_initfork.at: Remove file; redundant with
t_merge2_add.at.
* testsuite.at: Don't call it.
2004-11-18 Derek Scherger <derek@echologic.com>
* commands.cc (list tags): new command.
* monotone.1: update.
* monotone.texi: update.
* std_hooks.lua: remove unused get_problem_solution hook.
* test/t_tags.at: new test.
* testsuite.at: call it.
2004-11-18 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Committing Work): Remove mistakenly added
redundant command line argument.
2004-11-17 Joel Rosdahl <joel@rosdahl.net>
* commands.cc (diff): Don't print hashes around diff output if
there is no diff to print.
Fix bugs #8714 "monotone update working copy to previous version"
and #9069 "update with multiple candidates":
* commands.cc (update): Let the update command take an optional
revision target parameter. Without an explicit revision target,
the current branch head is used just like before. Added logic for
updating to an older revision or another revision reachable via a
common ancestor.
* tests/t_update_to_revision.at: Add regression tests for new
update logic.
* testsuite.at: Add new test.
* monotone.texi: Document new update argument.
2004-11-17 Nathaniel Smith <njs@codesourcery.com>
* netsync.cc (request_fwd_revisions): Rename 'first_attached_edge'
to 'an_attached_edge', because it does not represent the first
attached edge. Likewise for 'first_attached_cset'.
(analyze_attachment): Remove early exit from loop; we want to
analyze the entire graph, not just some linear subgraphs.
* revision.cc (ensure_parents_loaded): Filter out the null
revision when calculating parents.
* change_set.hh (null_id): Define for 'revision_id's.
* tests/t_merge2_add.at: New test.
* tests/t_merge2_data.at: New test.
* tests/t_related_merge2_data.at: New test.
* tests/t_merge_add.at: New test.
* tests/t_netsync_pubkey.at: New test.
* tests/t_netsync_repeated.at: New test.
* tests/t_netsync_unrelated.at: New test.
* testsuite.at: Add new tests.
(NETSYNC_SETUP): New macro.
(MONOTONE2): New macro.
(RUN_NETSYNC): New macro.
(ADD_FILE): New macro.
(SET_FILE): New macro.
(COMMIT): New macro.
* tests/t_netsync.at: Use them.
* tests/t_singlenetsync.at: Add 'netsync' keyword'. Rename to...
* tests/t_netsync_single.at: ...this.
* tests/t_heads_discontinuous_branch.at: XFAIL it.
2004-11-17 Nathaniel Smith <njs@codesourcery.com>
* netsync.cc: Remove hard tabs.
2004-11-17 Nathaniel Smith <njs@codesourcery.com>
* revision.cc: Remove hard tabs.
* change_set.hh: Likewise.
2004-11-16 Nathaniel Smith <njs@codesourcery.com>
* tests/t_heads.at: Replace last tricky case with a less tricky case.
* tests/t_heads_discontinuous_branch.at: New test for the really
tricky case.
* testsuite.at: Run it.
2004-11-16 Nathaniel Smith <njs@codesourcery.com>
* views.sql (trusted_parents_in_branch): Remove.
(trusted_children_in_branch): Remove.
(trusted_branch_members): New view.
(trusted_branch_parents): New view.
(branch_heads): Use the new views, not the removed ones.
* database.cc (get_heads): Column name in 'branch_heads'
unavoidably changed from 'id' to 'parent'; adjust SELECT statement
to use new name.
2004-11-16 Nathaniel Smith <njs@codesourcery.com>
* database.cc: Remove hard tabs.
2004-11-16 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (dump_diffs): Fetch delta destination, not source,
on new files.
2004-11-15 Joel Rosdahl <joel@rosdahl.net>
* tests/t_diff_added_file.at: Added testcase exposing a bug in
"monotone diff x y" where x is an ancestor of y and y adds a new
file.
* testsuite.at: Add new test.
2004-11-14 Joel Rosdahl <joel@rosdahl.net>
Fix bug #9092 "add command to change passphrase":
* commands.cc (chkeypass): New command.
* keys.cc (get_passphrase): Added parameters for prompt beginning and
disabling hook lookup and passphrase caching.
* keys.hh, keys.cc (change_key_passphrase): New function.
* database.hh, database.cc (delete_private_key): New function.
* monotone.texi (Key and Cert): Document command.
* tests/t_chkeypass.at: Testcase for the command.
* testsuite.at: Added new testcase.
2004-11-14 Matt Johnston <matt@ucc.asn.au>
* tests/t_initfork.at: New test for merging two ancestor-less heads.
2004-11-13 Nathaniel Smith <njs@codesourcery.com>
* tests/t_heads.at: New test.
* testsuite.at: Add it.
2004-11-13 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi: Fix various typos.
(Committing Work): Add missing command line argument.
(Branch Names): New section.
Add me to the copyright block.
2004-11-12 Joel Rosdahl <joel@rosdahl.net>
* monotone.texi: Fix documentation of the approve and disapprove
commands. Fix jp.co.juicebot.jb7 branch name in examples. Other
minor fixes.
2004-11-11 Joel Rosdahl <joel@rosdahl.net>
* monotone.texi: Fix typos.
2004-11-08 Graydon Hoare <graydon@pobox.com>
* monotone.texi: Some minor cleanups.
* netsync.cc: Fix a formatter.
2004-11-07 Graydon Hoare <graydon@pobox.com>
* figures/*.txt: Drop.
* monotone.texi: Pull ASCII figures back in conditionally.
* NEWS, AUTHORS, monotone.spec: Update for 0.15.
* monotone.1: Update.
2004-11-06 Graydon Hoare <graydon@pobox.com>
* README.changesets: New file.
* config.guess, config.sub: Remove.
* Makefile.am: Improve document-building brains.
* cert.cc, netsync.cc: Remove include.
* configure.ac: Bump version number.
* merkle_tree.{cc,hh}: Use unsigned char in dynamic_bitset.
* po/POTFILES.in: Update to remove os_specific.hh.
* po/monotone.pot: Regenerate.
2004-11-05 Graydon Hoare <graydon@pobox.com>
* constants.cc: Up timeout, connection limit.
* monotone.texi: Various cleanups.
2004-11-05 Ulrich Drepper <drepper@redhat.com>
* configure.ac: Reduce dependencies.
* lua/lua.h: Include config.h.
* mkstemp.{cc,hh}: Use system variant when found.
* netxx/resolve_getaddrinfo.cxx: Check for AI_ADDRCONFIG
definition.
* po/POTFILES.in: Update to mention changes.
* Makefile.am (EXTRA_DIST): Include spec file.
* commands.cc (diff): No output if empty diff.
2004-10-31 Graydon Hoare <graydon@pobox.com>
* commands.cc (diff): Use guess_binary.
Fix up some messages to fit on single lines.
* Makefile.am: Make monotone.pdf depend on figures.
* change_set.cc: Make inversion drop "delete deltas".
* texinfo.css: Make images align nicely.
* netsync.cc: Fix up some messages to be clearer.
2004-10-30 Graydon Hoare <graydon@pobox.com>
* figures/*: New figures.
* monotone.texi: Rewrite much of the tutorial.
2004-10-30 Nathaniel Smith <njs@codesourcery.com>
* netsync.cc (process_hello_cmd): Make clear that when the
server's key is unknown, we abort the connection.
2004-10-29 Nathaniel Smith <njs@codesourcery.com>
* sanity.cc (dump_buffer): Wrap bare string in call to string(),
to disambiguate conversions (required by Boost 1.30).
2004-10-26 Graydon Hoare <graydon@pobox.com>
* tests/t_update_missing.at: New test from Bruce Stephens
* testsuite.at: Call it.
* change_set.cc: Fix the error exposed by it.
2004-10-26 Graydon Hoare <graydon@pobox.com>
* work.{cc,hh}: Comply with Derek's new tests.
* commands.cc: Likewise.
2004-10-28 Derek Scherger <derek@echologic.com>
* tests/t_rename.at: add test for renaming a file after it has
been moved rather than before
* tests/t_revert.at: add test for reverting a missing file
2004-10-28 Derek Scherger <derek@echologic.com>
* tests/t_drop_missing.at: New test.
* testsuite.at: Call it.
2004-10-28 Derek Scherger <derek@echologic.com>
* tests/t_add.at: New test.
* testsuite.at: Call it.
2004-10-26 Graydon Hoare <graydon@pobox.com>
* basic_io.{cc,hh}: Rework to use indented stanzas.
* change_set.cc, revision.cc: Likewise.
* change_set.cc: Fix formatter bug.
* commands.cc: Sanity check file ID on delta commit.
* work.cc: Chatter a bit more on add/drop.
2004-10-17 Graydon Hoare <graydon@pobox.com>
* merkle_tree.cc: Fix bad logging.
* netsync.cc: Fix transmission bugs.
* work.cc: Add some progress messages back in.
* monotone.texi: Change contents of MT/work in example.
2004-10-17 Graydon Hoare <graydon@pobox.com>
* commands.cc (log): Keep a seen list, mask frontier by it.
* monotone.texi: Updates to cover revision terminology.
Also various further merges from trunk, see below.
2004-10-17 Derek Scherger <derek@echologic.com>
* lua.{cc,hh} (hook_ignore_branch): new hook
* commands.cc (ls_branches): call it
* monotone.texi (Hook Reference): describe it
2004-10-17 Richard Levitte <richard@levitte.org>
fix bug 8715 and more
* diff_patch.cc (struct unidiff_hunk_writer,
unidiff_hunk_writer::flush_hunk): the skew is not just the
size difference between added and deleted lines in the current
hunk, it's the size difference between /all/ added and deleted
lines so far. Therefore, the skew needs to be a member of the
struct rather than being something calculated for each hunk.
Furthermore, we need to add trailing context even if the change
only consisted of one line.
2004-10-17 Richard Levitte <richard@levitte.org>
* monotone.texi (Working Copy): Change the description of
'monotone revert' to explain what happens when there are
arguments.
2004-10-17 Richard Levitte <richard@levitte.org>
* monotone.texi (OPTIONS): Add a description of --ticker.
* ui.cc, ui.hh: Rethink the writing conditions as the ticks being
"dirty" when they have changed since the last print. That way,
it's very easy to see when they need being printed. This fixes a
small bug where, in some cases, the exact same tick output is
produced twice, once before a separate message, and once after,
when a ticker is actually being removed.
(tick_write_dot::write_ticks): Add a line that describes the
ticks, including the amount of each tick per short name.
2004-10-17 Richard Levitte <richard@levitte.org>
fix bug 8733
* ui.cc, ui.hh: Define a separate tick writer struct, and two
subclasses, one that write counters, and one that writes progress
characters. As a consequence, move the count to the ticker class
itself, and have the user interface contain a map of pointers to
tickers instead of a map of counters, so data is easier to expand
and access in a consistent manner. Finally, correct a few errors
in the checks for when ticks should be written, and make sure the
final value gets written when the tickers are removed.
* cert.cc (write_ancestry_paths):
* database.cc (rehash):
* netsync.cc (call_server, rebuild_merkle_trees):
* rcs_import.cc (import_cvs_repo, cvs_history): Adapt to the new
tickers.
* monotone.cc: Add the option '--ticker' which takes the values
"dot" or "count" to express which type of tick writer to use. As
a result, set the tick writer to be the progress dot kind or the
counting type.
2004-10-15 Graydon Hoare <graydon@pobox.com>
* std_hooks.lua (get_revision_cert_trust): Add.
2004-10-14 Graydon Hoare <graydon@pobox.com>
* main.cc (UNIX_STYLE_SIGNAL_HANDLING): Enable on OSX.
* cryptopp/*: Upgrade to 5.2.1
* Makefile.am: Adjust for a couple new files.
2004-10-13 Graydon Hoare <graydon@pobox.com>
* change_set.cc (__STDC_CONSTANT_MACROS): Further hammering.
* commands.cc (changesetify): New subcommand to db.
* database.{cc,hh} (sql): Install views.
(install_views): New function.
(get_manifest_certs): Restore old variant.
* numeric_vocab.hh: Use stdint.h.
* revision.{cc,hh} (analyze_manifest_changes)
(construct_revisions)
(build_changesets): New functions.
* schema.sql: Remove views stuff.
* views.sql: Put views here.
* schema_migration.cc: Add migration code for revisions.
* Makefile.am: Mention views.sql.
2004-10-12 Graydon Hoare <graydon@pobox.com>
* unix/read_password.cc: Don't force echo on.
2004-10-10 Graydon Hoare <graydon@pobox.com>
merge a batch of changes from trunk, see below.
* monotone.spec: Bump to 0.14.
2004-10-10 Graydon Hoare <graydon@pobox.com>
fix bug 9884
* tests/t_singlenetsync.at: sleep 5
* tests/t_netsync.at: sleep 5
2004-10-10 Graydon Hoare <graydon@pobox.com>
* AUTHORS: Mention Richard Levitte.
* Makefile.am: Remove nonce stuff.
* NEWS: Describe changes from last release.
* cert.cc (cert_manifest_testresult): Teach about other ways
of writing a boolean value.
* commands.cc (commit): Don't commit when no change.
(debug): Rename to "db execute".
(serve): Require passphrase on startup.
(bump): Remove command.
(ls keys): Handle no keys.
* configure.ac: Bump version number.
* keys.cc (get_passphrase): Reject empty passphrase nicely,
from user and from hook.
* lua.{cc,hh} (hook_get_sorter): Dead code, remove.
* main.cc (main_with_many_flavours_of_exception): s/char/int/.
* monotone.cc (OPT_DUMP): New option.
(OPT_VERBOSE): Rename as OPT_DEBUG.
* monotone.{texi,1}: Document changes, s/rdiff/xdelta/.
* nonce.{cc,hh}: Drop.
* sanity.hh (sanity::filename): New field.
* sanity.cc (dump_buffer): Dump to file or be silent.
* testsuite.at (persist_phrase_ok): Define as true.
* tests/t_null.at: Adjust for new option names.
* unit_tests.cc: Set debug, not verbose.
2004-10-10 Graydon Hoare <graydon@pobox.com>
* tests/t_remerge.at: New test.
* testsuite.at: Call it.
2004-10-10 Graydon Hoare <graydon@pobox.com>
* cryptopp/algebra.cpp:
* cryptopp/asn.h:
* cryptopp/hmac.h:
* cryptopp/iterhash.h:
* cryptopp/mdc.h:
* cryptopp/modes.h:
* cryptopp/osrng.h:
* cryptopp/pubkey.h:
* cryptopp/seckey.h:
* cryptopp/simple.h:
* cryptopp/smartptr.h:
* cryptopp/strciphr.cpp:
* cryptopp/strciphr.h:
* lcs.cc:
* lua.cc: Fixes for g++ 3.4 from Michael Scherer.
* AUTHORS: Mention Michael.
2004-10-10 Graydon Hoare <graydon@pobox.com>
* tests/t_movedel.at: New test.
* testsuite.at: Call it.
2004-10-10 Graydon Hoare <graydon@pobox.com>
* tests/t_movepatch.at: New test.
* testsuite.at: Call it.
2004-10-10 Graydon Hoare <graydon@pobox.com>
* change_set.cc:
* file_io.{cc,hh}: Bug Fixes.
2004-10-10 Graydon Hoare <graydon@pobox.com>
* cert.{cc,hh} (cert_revision_manifest): Bug fixes.
* commands.cc (approve)
(disapprove)
(testresult): Teach about revisions.
* tests/t_disapprove.at:
* tests/t_i18n_file.at:
* tests/t_ls_missing.at:
* tests/t_testresult.at: Bug fixes.
2004-10-09 Graydon Hoare <graydon@pobox.com>
* netsync.cc:
* packet.cc:
* tests/t_i18n_file.at:
* tests/t_netsync.at:
* tests/t_single_char_filenames.at:
* tests/t_singlenetsync.at: Bug fixes.
2004-10-04 Graydon Hoare <graydon@pobox.com>
* Makefile.am: Re-enable rcs stuff.
* cert.{cc,hh}: Bug fixes.
* change_set.{cc,hh} (apply_change_set)
(apply_change_set_inverse): New helper functions.
* commands.cc (log)
(rcs_import)
(cvs_import): Teach about revisions.
* database.cc (get_version): Block reconstruction loops.
* diff_patch.cc:
* lua.cc:
* netsync.cc: Remove references to obsolete includes.
* rcs_file.cc: Pick up bug fix from trunk.
* rcs_import.cc: Teach about revisions.
2004-10-03 Graydon Hoare <graydon@pobox.com>
* change_set.{cc,hh}: Lots of little bug fixes.
* commands.cc: Likewise.
* database.cc: Comment some chatter.
* file_io.{cc,hh}: Bug fixes, remove unlink / hardlink stuff.
* netcmd.cc: Bug fixes.
* netsync.cc: Likewise.
* tests/t_*.at: Teach about revisions.
* testsuite.at: Likewise.
* work.cc: Bug fixes.
2004-09-30 Graydon Hoare <graydon@pobox.com>
* app_state.cc: Inform db of app.
* change_set.cc: Bug fixes.
* commands.cc: Use delete_file not unlink.
* database.{cc,hh}: Bug fixes in trust function machinery.
* revisions.cc: Skip consideration of empty parents.
* file_io.{cc,hh}: Remove unlink function.
* schema.sql: Pass pubkey data into trust call.
2004-09-29 Graydon Hoare <graydon@pobox.com>
* change_set.cc: Various bug fixes, merge unit tests.
2004-09-26 Graydon Hoare <graydon@pobox.com>
* predicament.{cc,hh}: Remove.
* Makefile.am: Update.
* change_set.{cc,hh}: Compilation fixes.
* commands.cc: Likewise.
* file_io.{cc,hh}: Likewise, and implement link/unlink.
* lua.{cc,hh}: Implement conflict resolver hooks.
2004-09-25 Graydon Hoare <graydon@pobox.com>
* change_set.{cc,hh}: Rewrite entirely.
* work.cc: Adjust to compensate.
* commands.cc: Likewise.
* numeric_vocab.hh: Ask for C99 constant ctor macros.
2004-09-24 Derek Scherger <derek@echologic.com>
* app_state.{cc,hh} (initialize,prefix,in_restriction): rename
restriction vars; require explicit subdir restriction with ".";
remove restriction if any path evaluates to working copy root
* commands.cc (update): disallow restricted updates
(diff): use --manifest options for initialization
* tests/t_restrictions.at: remove restricted update test
* tests/t_subdirs.at: added (missed previously)
* vocab.cc (verify): allow "." elements in local_path
(test_file_path_verification): test for "." in paths
2004-09-20 Derek Scherger <derek@echologic.com>
* app_state.{cc,hh}: add message and manifest options; add subdir
restriction; use set instead of vector for path restrictions
(prefix): new method
(add_restriction): change signature for set of path restrictions
(in_restriction): renamed from is_restricted; adjust path matching
(set_message): new method
(add_manifest): new method
(initialize): remove code to adjust restrictions from old options
* commands.cc
(restrict_patch_set, struct unknown_itemizer): rename
app.is_restricted to app.in_restriction
(add,drop,rename,revert): prefix file args with current subdir
(update,status,ls_unknown,ls_missing): build restriction from args
(commit): build restriction from args; use --message option
(diff): build restriction from args; use --manifest options
* file_io.cc (find_working_copy): logging tweaks
* monotone.cc: remove --include/--exclude options; add --manifest
and --message options
* tests/t_attributes.at: add commit --message option
* tests/t_cross.at: commit --message
* tests/t_cwork.at: commit --message
* tests/t_disapprove.at: commit --message
* tests/t_drop.at: commit --message
* tests/t_erename.at: commit --message; diff --manifest
* tests/t_fork.at: commit --message
* tests/t_genkey.at: commit --message
* tests/t_i18n_file.at: commit --message
* tests/t_import.at: commit --message
* tests/t_ls_missing.at: commit --message
* tests/t_merge.at: commit --message
* tests/t_movedel.at: commit --message
* tests/t_movepatch.at: commit --message
* tests/t_netsync.at: commit --message
* tests/t_persist_phrase.at: commit --message
* tests/t_rename.at: commit --message
* tests/t_renamed.at: commit --message
* tests/t_restrictions.at: remove --include/--exlclude options
* tests/t_revert.at: commit --message
* tests/t_scan.at: commit --message
* tests/t_single_char_filenames.at: commit --message
* tests/t_testresult.at: commit --message
* tests/t_unidiff.at: commit --message
* tests/t_unidiff2.at: commit --message
* tests/t_update.at: commit --message
* tests/t_versions.at: commit --message
2004-09-19 Graydon Hoare <graydon@pobox.com>
* change_set.cc: More bug fixes.
* basic_io.cc: Improve error reporting.
* commands.cc (complete): Teach about revisions.
* database.{cc,hh}: Add complete variant for revisions.
2004-09-19 Graydon Hoare <graydon@pobox.com>
* change_set.cc: Add a unit test, fix some bugs.
2004-09-18 Graydon Hoare <graydon@pobox.com>
* change_set.{cc,hh} (subtract_change_sets): New function.
(build_pure_addition_change_set): New function.
* commands.cc (try_one_merge): Teach about revisions
(merge): Likewise.
(propagate): Likewise.
(update): Change from changeset inversion to negation.
* database.{cc,hh} (get_manifest): New function.
* cert.cc: Use it.
2004-09-13 Graydon Hoare <graydon@pobox.com>
* change_set.cc: Bug fixes.
* commands.cc: Likewise.
2004-09-13 Graydon Hoare <graydon@pobox.com>
* change_set.{cc,hh}: Implement delta renaming and merging.
* commands.cc
(update): Teach about revisions.
(agraph): Likewise.
* diff_patch.{cc,hh}: Tidy up interface a bit.
* database.{cc,hh} (get_revision_ancestry): New helper.
* file_io.{cc,hh}
(move_dir): New function.
(delete_dir_recursive): New function.
2004-09-10 Graydon Hoare <graydon@pobox.com>
* basic_io.{cc,hh}: Move to more "normal" looking
quoted output.
* change_set.{cc,hh}: Extend, bugfix.
* commands.cc (diff): Teach about revisions.
* revision.{cc,hh}: Extend, bugfix.
2004-09-07 Derek Scherger <derek@echologic.com>
subdirectory restrictions
* file_io.{hh,cc} (find_working_copy): new function
(absolutify) use fs::current_path
* work.cc (add_to_options_map): use options.insert to preserve
previous settings
* work.hh: add note about MT/options file to header comment
* lua.{hh,cc} (load_rcfile): renamed from add_rcfile
* app_state.{cc,hh} (constructor): remove read of MT/options
(initialize): new methods to find/create working copy
(set_stdhooks,set_rcfiles,add_rcfile,load_rcfiles,read_options):
new methods
(set_database,set_branch,set_signing_key): update for new options
reading
* monotone.cc: update help for --norc option
(cpp_main): move loading of lua hooks to app_state after book
keeping dir is found
* commands.cc: all commands call app initialize to relocate to
working copy directory
(bookdir_exists,ensure_bookdir) remove
(setup) new command to create working copy
* tests/t_subdirs.at: new test
* testsuite.at: call new setup command to initialize working copy;
call new test
(PROBE_NODE): adjust for new checkout requirement that MT dir does
not exist
* tests/t_attributes.at: ditto
* tests/t_cwork.at: ditto
* tests/t_single_char_filenames.at: ditto
* tests/t_versions.at: ditto
2004-09-06 Graydon Hoare <graydon@pobox.com>
* Makefile.am: Revise,
* cert.{cc,hh}: Minor bug fixes.
* change_set.{cc,hh}
(apply_path_rearrangement): New variant.
(read_path_rearrangement): New function.
(write_path_rearrangement): New function.
* commands.cc: Partially teach about revisions.
* database.{cc,hh}: Bug fixes.
* revision.cc: Print new manifest as hex.
* schema.sql: Fix typos.
* update.{cc,hh}: Teach about revisions.
2004-09-06 Graydon Hoare <graydon@pobox.com>
* Makefile.am (unit_tests): Revise.
* change_set.{cc,hh}: Move accessors to header.
* constants.cc (netcmd_current_protocol_version): Bump.
(netcmd_minimum_bytes_to_bother_with_gzip): Expand to 0xfff.
* database.{cc,hh}: Teach about reverse deltas, bug fixes.
* diff_patch.{cc,hh}: Remove dead code.
* merkle_tree.{cc,hh}: Teach about revisions.
* netsync.cc: Teach about revisions, reverse deltas.
* packet.{cc,hh}: Likewise.
* unit_tests.{cc,hh}: Reactivate tests.
2004-09-02 Derek Scherger <derek@echologic.com>
* tests/t_restrictions.at: rework and attempt to clean things up a
bit; add test for bug in restrict_patch_set
* commands.cc (restrict_patch_set): fix bug in removal of
restricted adds/dels/moves/deltas
2004-08-28 Graydon Hoare <graydon@pobox.com>
* Makefile.am (unit_tests): Split out working parts.
* basic_io.{cc,hh}: Minor fixes.
* cert.{cc,hh}: Fixes, remove major algorithms.
* revision.{cc,hh}: Rewrite algorithms from cert.cc.
* change_set.{cc,hh}: Extensive surgery, unit tests.
* database.{cc,hh}: Minor fixes.
* file_io.{cc,hh}: Likewise.
* lua.cc: Likewise.
* packet.{cc,hh}: Teach about revisions.
* schema.sql: Drop some optimistic tables.
* unit_tests.{cc,hh}: Add revision, change_set tests.
* vocab.cc: Instantiate revision<cert>.
* work.{cc,hh}: Rewrite in terms of path_rearrangement.
2004-08-17 Graydon Hoare <graydon@pobox.com>
* database.cc: Simplified.
* schema.sql: Simplified.
* transforms.cc: Fixed bug.
* revision.{hh,cc}: Stripped out tid_source.
* change_set.{cc,hh}: Oops, never committed!
2004-08-16 Graydon Hoare <graydon@pobox.com>
* change_set.{hh,cc}: Simplified, finished i/o.
* revision.{hh,cc}: Fix to match, redo i/o.
* basic_io.cc (basic_io::parser::key): Print trailing colon.
* vocab.hh: Whitespace tweak.
2004-08-09 Graydon Hoare <graydon@pobox.com>
* change_set.{hh,cc}: New files.
* basic_io.{hh,cc}: New files.
* predicament.{hh,cc}: New files.
* revision.{hh,cc}: Break completely, need to fix.
* diff_patch.{hh,cc}: Minor touchups.
* lua.{hh,cc}, std_hooks.lua: Model predicaments.
* Makefile.am: Update.
2004-07-10 Graydon Hoare <graydon@pobox.com>
* lcs.{hh,cc}: Move lcs.hh body into lcs.cc.
* diff_patch.cc: Modify to compensate.
* revision.{hh,cc}: New files.
* Makefile.am: Update
* patch_set.{hh,cc}: Remove.
* {cert,database,lua,packets}.{hh,cc}, commands.cc:
Modify partially (incomplete) to use revisions.
* manifest.{hh,cc}: Cleanup, remove dead code.
* schema.sql: Declare new revision tables.
* schema_migration.cc: Incomplete migrator.
* {transforms.{hh,cc}, vocab{,_terms}.hh:
Infrastructure for revisions.
2004-07-20 Derek Scherger <derek@echologic.com>
* tests/t_restrictions.at: new test
* testsuite.at: run it
* app_state.{cc,hh} (add_restriction, is_restricted): new functions
* monotone.cc (--include,--exclude): new options
* commands.cc (restrict_patch_set): new function. called by
commit, update, status, diff commands
2004-07-05 Graydon Hoare <graydon@pobox.com>
* cert.cc (operator<): Fix wrong ordering of
fields.
2004-06-07 Graydon Hoare <graydon@pobox.com>
* cryptopp/algebra.cpp:
* cryptopp/asn.h:
* cryptopp/hmac.h:
* cryptopp/iterhash.h:
* cryptopp/mdc.h:
* cryptopp/modes.h:
* cryptopp/osrng.h:
* cryptopp/pubkey.h:
* cryptopp/seckey.h:
* cryptopp/simple.h:
* cryptopp/smartptr.h:
* cryptopp/strciphr.cpp:
* cryptopp/strciphr.h:
* lcs.hh:
* lua.cc: Fixes for g++ 3.4 from Michael Scherer.
* AUTHORS: Mention Michael.
2004-05-28 Graydon Hoare <graydon@pobox.com>
* tests/t_movedel.at: New test.
* testsuite.at: Call it.
* diff_patch.cc (adjust_deletes_under_renames): New function.
(merge3): Use it.
2004-05-27 Graydon Hoare <graydon@pobox.com>
* tests/t_movepatch.at: New test.
* testsuite.at: Call it.
* diff_patch.cc (adjust_deltas_under_renames): New function.
(merge3): Use it.
2004-05-20 Graydon Hoare <graydon@pobox.com>
* NEWS: Note 0.13 release.
* configure.ac: Bump version number.
* monotone.spec: Likewise.
2004-05-19 Graydon Hoare <graydon@pobox.com>
* file_io.cc (tilde_expand): Fix fs::path use.
2004-05-18 Graydon Hoare <graydon@pobox.com>
* diff_patch.cc (apply_directory_moves): Fix fs::path use.
* file_io.cc (write_data_impl): Likewise.
* packet.cc: Use explicit true/false maps in caches.
* sanity.cc (dump_buffer): Write to clog (buffered).
2004-05-16 Graydon Hoare <graydon@pobox.com>
* keys.cc (get_passphrase): Reimplement.
* unix/read_password.c: Remove.
* {unix,win32}/read_password.cc: Add.
* constants.{hh,cc} (maxpasswd): New constant.
* Makefile.am: Teach about platform specific stuff.
2004-05-16 Graydon Hoare <graydon@pobox.com>
* diff_patch.cc (merge2): Don't discard files on one side.
* std_hooks.lua (merge2_xxdiff_cmd): Specify merge filename.
2004-05-14 Joel Rosdahl <joel@rosdahl.net>
* std_hooks.lua (ignore_file): Quote dots in .svn patterns.
* monotone.texi: Updated ignore_file hook example.
2004-05-13 Nathaniel Smith <njs@codesourcery.com>
* commands.cc: Include boost/filesystem/path.hpp,
boost/filesystem/convenience.hpp.
(checkout): Make checkout directory an fs::path, not a local_path.
2004-05-13 Nathaniel Smith <njs@codesourcery.com>
* testsuite.at (test_hooks.lua): Add a 'test_attr' attribute
hook. Add tests t_attributes and t_single_char_filenames.
* tests/t_attributes.at: New test.
* tests/t_single_char_filenames.at: New test.
* manifest.cc (read_manifest_map): Replace ".+" with ".*" to
support single-character filenames.
* work.cc (read_work_set): Likewise.
(read_attr_map): Likewise.
2004-05-13 Nathaniel Smith <njs@codesourcery.com>
* monotone.texi (Hook Reference): Update documented default
definitions of 'merge2' and 'merge3'.
2004-05-12 Graydon Hoare <graydon@pobox.com>
* AUTHORS: Rename Netxx back to netxx. Really, look in
the manifest; it's been renamed!
* configure.ac: Remove prg_exec_monitor checks.
2004-05-12 Nathaniel Smith <njs@pobox.com>
* AUTHORS: Remove discussion of adns, since we no longer
distribute it. Fix capitalization of "Netxx".
2004-05-12 Nathaniel Smith <njs@pobox.com>
* std_hooks.lua (merge2): Support xemacs. Add error message
if no merge tool is found.
(merge3): Likewise. Also add (disabled) hook to use CVS
'merge' command, as a demonstration of how to.
2004-05-12 Graydon Hoare <graydon@pobox.com>
* std_hooks.lua (get_author): Remove standard definition.
* monotone.texi: Document change.
2004-05-12 Graydon Hoare <graydon@pobox.com>
* cert.cc (cert_manifest_author_default): Use default signing key
name for default author, if lua hook fails.
2004-05-12 Joel Rosdahl <joel@rosdahl.net>
* file_io.cc (walk_tree): Removed extraneous newline in error
message.
* std_hooks.lua (edit_comment): Added missing newline in log
message template.
* tests/t_ls_missing.at: New test case.
* testsuite.at: Added t_ls_missing.at.
2004-05-10 Graydon Hoare <graydon@pobox.com>
* nonce.cc, nonce.hh: New files.
* Makefile.am: Note new files.
* lua.cc, lua.hh (hook_get_nonce): New hook.
* commands.cc (bump): New command.
* commands.cc: Remove "(file|manifest)" args most places.
* tests/t_disapprove.at
* tests/t_genkey.at
* tests/t_singlenetsync.at
* tests/t_netsync.at
* tests/t_persist_phrase.at: Adjust to compensate.
* monotone.texi, monotone.1: Adjust to compensate.
* work.cc, work.hh: Constify some arguments.
2004-05-09 Graydon Hoare <graydon@pobox.com>
* diff_patch.cc: Remove recording of file merge ancestry.
2004-05-09 Graydon Hoare <graydon@pobox.com>
* commands.cc (ls_missing): Modify to account for work.
2004-05-09 Graydon Hoare <graydon@pobox.com>
* commands.cc (list missing): New command.
* monotone.texi, monotone.1: Update to document.
2004-05-08 Graydon Hoare <graydon@pobox.com>
* main.cc: New file encompassing prg_exec_monitor.
* mkstemp.cc, mkstemp.hh: New portable implementation.
* lua.cc: Use mkstemp from bundled version.
* lua/liolib.c: Remove old mkstemp definition.
* monotone.cc (cpp_main): Remove prg_exec env setting.
* sanity.cc (sanity::dump_buffer): Dump logbuf to stderr, not stdout.
* std_hooks.lua (temp_file): Use mkstemp not io.mkstemp.
* Makefile.am (MOST_SOURCES): Add new files.
2004-05-03 Joel Rosdahl <joel@rosdahl.net>
* monotone.texi: Removed extraneous @ftable directive.
2004-05-02 Graydon Hoare <graydon@pobox.com>
* monotone.texi: Add stuff on selectors, new hooks.
* AUTHORS: Typo fix.
* configure.ac: Bump version number.
Release point (v 0.12).
2004-05-02 Joel Rosdahl <joel@rosdahl.net>
Made it possible to rename a rename target and to undo a rename.
I.e.: Given a rename set A -> B, "monotone rename B C" gives the
rename set A -> C and "monotone rename B A" gives the empty rename
set.
* work.cc (visit_file): Implement new behavior.
* tests/t_rename.at: Added test cases for new behavior.
* monotone.texi: Note that a rename can be undone.
Fix bug #8458:
* file_io.hh, file_io.cc (walk_tree): Added require_existing_path
parameter.
* work.cc (build_deletion): Pass new parameter to walk_tree.
* work.cc (build_rename): Ditto.
* manifest.cc (build_manifest_map): Fix missing file check for
i18n paths.
2004-05-01 Joel Rosdahl <joel@rosdahl.net>
Fix bug #7220:
* manifest.cc (build_manifest_map): Handle missing file
gracefully.
* file_io.cc (walk_tree): Handle nonexistent file/directory
gracefully.
2004-04-30 Christof Petig <christof@petig-baender.de>
* rcs_import.cc (store_trunk_manifest_edge):
skip ancestry to empty manifest
* rcs_import.cc (process_branch):
also follow branches of last/first versions
2004-04-29 Graydon Hoare <graydon@pobox.com>
* configure.ac: Fix up windows probe and bundling checks.
* netxx/resolve_getaddrinfo.cxx: Local hack for stream addresses.
* netsync.cc: Report address before listening.
2004-04-29 Graydon Hoare <graydon@pobox.com>
* cert.cc (get_branch_heads): Calculate a "disapproved version"
attribute which culls a version with only disapproved ancestry
edges.
* monotone.texi: Fix some ascii-art diagrams.
2004-04-28 Christof Petig <christof@petig-baender.de>
* command.cc (heads):
show date and author certificates for each head
2004-04-28 Christof Petig <christof@petig-baender.de>
* configure.ac:
default to using the bundled SQLite
2004-04-28 Christof Petig <christof@petig-baender.de>
* commands.cc (log):
support optional file argument to show change log for
e.g. monotone log [ID] cert.cc
2004-04-26 Christof Petig <christof@petig-baender.de>
* rcs_import.cc (process branch):
insert dummy cvs_edge to mark newly added file
as previously non existant
2004-04-25 Joel Rosdahl <joel@rosdahl.net>
* po/stamp-po: Removed since it's generated.
* std_hooks.lua (ignore_file): Corrected name of Subversion's
administrative directory.
* work.hh: Ditto.
* monotone.texi (Hook Reference): Updated default definition of
ignore_file.
2004-04-23 Christof Petig <christof@petig-baender.de>
* rcs_import.cc (build_parent_state, build_child_state):
remove dying files from manifest
* rcs_import.cc (cvs_file_edge, note_file_edge):
calculate state and remember it (alive or dead)
2004-04-23 Christof Petig <christof@petig-baender.de>
* rcs_import.cc (import_rcs_file_with_cvs):
do not include dead files in head_manifest
2004-04-22 Christof Petig <christof@petig-baender.de>
* rcs_file.cc, rcs_file.hh: read and remember 'state' of revision
* rcs_import.cc: remove Attic/ part from path
2004-04-21 Christof Petig <christof@petig-baender.de>
* configure.ac: enable use of installed SQLite library
2004-04-20 Graydon Hoare <graydon@pobox.com>
* lua.hh, lua.cc (hook_note_commit): New hook.
* commands.cc (commit): Call it.
2004-04-19 Graydon Hoare <graydon@pobox.com>
* cert.cc: Make trust messages nicer.
* merkle_tree.cc: Clarify logging messages.
* netsync.cc: Reorganize tickers, put client in txn.
* packet.cc, packet.hh: Teach about constructability.
2004-04-16 Graydon Hoare <graydon@pobox.com>
* netsync.cc (session::extra_manifests): New member.
(session::analyze_ancestry_graph): Use it.
* tests/t_singlenetsync.at: New test for single manifest sync.
* testsuite.at: Call it.
2004-04-14 Tom Tromey <tromey@redhat.com>
* rcs_import.cc (import_cvs_repo): Use require_password.
Include keys.hh.
* keys.hh (require_password): Declare.
* keys.cc (require_password): New function.
2004-04-13 Tom Tromey <tromey@redhat.com>
* monotone.texi: Typo fixes.
2004-04-10 Graydon Hoare <graydon@pobox.com>
* netsync.cc: Minor bug fixes.
2004-04-10 Graydon Hoare <graydon@pobox.com>
* database.{cc,hh}:
* commands.{cc,hh}:
* lua.{cc,hh}:
* std_hooks.lua:
* vocab_terms.hh:
Implement first cut at selectors.
2004-04-10 Graydon Hoare <graydon@pobox.com>
* cert.cc (operator<): Include name in compare.
(operator==): Likewise.
* packet.cc: Include shared_ptr.
* rcs_file.cc: Rewrite by hand, no spirit.
* rcs_import.cc: Change ticker names a bit.
2004-04-09 Graydon Hoare <graydon@pobox.com>
* app_state.cc: Fix a couple file path constructions.
* file_io.cc (book_keeping_file): Make one variant static.
* manifest.cc: Remove some dead code in walkers.
* work.cc: Ditto.
* rcs_file.cc: fcntl fix from Paul Snively for OSX.
2004-04-09 Graydon Hoare <graydon@pobox.com>
* file_io.cc: Fix boost filesystem "." and ".." breakage.
* lua.cc: Fix format of log entry.
* monotone.cc: Log locale settings on startup.
* sanity.cc: Dump prefix on --verbose activation.
* testsuite/t_i18n_file.at: Fix autotest LANG breakage.
* testsuite/t_null.at: Account for chatter with --verbose.
2004-04-09 Graydon Hoare <graydon@pobox.com>
* configure.ac: Comment out check for sse2,
set bundling to true by default.
* INSTALL: describe changes to bundling.
* Makefile.am: Remove vestiges of depot.
2004-04-07 Graydon Hoare <graydon@pobox.com>
* adns/*:
* network.{cc,hh}:
* proto_machine.{cc,hh}:
* {http,smtp,nntp}_tasks.{cc,hh}:
* tests/t_{http,smtp,nntp,proxy}.at:
* url.{cc,hh}:
* depot.cc:
Delete files.
* commands.cc:
* lua.{cc,hh}:
* database.{cc,hh}: Remove network/queue stuff.
* configure.ac:
* constants.{cc,hh}:
* tests/t_{netsync,singlecvs,cvsimport}.at:
* testsuite.at:
* transforms.{cc,hh}:
* unit_tests.{cc,hh}:
* vocab_terms.hh:
* vocab.{cc,hh}:
* Makefile.am: Adjust for deletions.
* app_state.hh: Cleanup.
* monotone.texi: Fix some typos.
* packet.{cc,hh}: Implement database ordering.
* netsync.cc: Massage to use new packet logic.
* commands.cc:
* std_hooks.lua: Add initial selector stuff.
2004-03-29 Graydon Hoare <graydon@pobox.com>
* monotone.spec: Update for 0.11 release.
Release point (v 0.11).
2004-03-29 Graydon Hoare <graydon@pobox.com>
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Set.
* commands.cc: Tidy up / narrow output width.
* patch_set.cc: Likewise.
* monotone.texi: Cleanups for PDF generation.
2004-03-28 Graydon Hoare <graydon@pobox.com>
* NEWS: Mention 0.11 release.
* AUTHORS: Mention Robert.
2004-03-28 Robert Bihlmeyer <robbe+mt@orcus.priv.at>
* file_io.cc (walk_tree_recursive): Ignore broken symlinks.
2004-03-27 Graydon Hoare <graydon@pobox.com>
* monotone.texi: Flesh out netsync stuff, remove old network stuff.
* monotone.1: Likewise.
2004-03-27 Robert Helgesson <rycee@home.se>
* Makefile.am:
* configure.ac:
* database.cc:
* depot.cc:
* lua.cc:
* network.cc:
* schema_migration.cc: Bundled library switch logic.
2004-03-27 Graydon Hoare <graydon@pobox.com>
* depot.cc (dump): Implement.
* tests/t_http.at, test/t_proxy.at: Use "depot.cgi dump" rather than sqlite.
* sqlite/pager.h: Change page size.
* README: Massage slightly.
* INSTALL: Write real installation instructions.
* Makefile.am: Include build of "one big page" docs.
* boost/circular_buffer_base.hpp: Another boost version insulation fix.
* vocab.cc (verify): Normalize local_path's during verification on boost 1.31.0.
* monotone.texi: Rip out some of the pre-netsync networking docs.
2004-03-24 Graydon Hoare <graydon@pobox.com>
* boost/circular_buffer_base.hpp: Boost version insulation.
* cert.cc, cert.hh, commands.cc: Differentiate "unknown" keys from "bad".
* xdelta.cc, proto_machine.cc: Fix boost version insulation.
2004-03-24 Graydon Hoare <graydon@pobox.com>
* rcs_import.cc (import_substates): Filter by branch.
* xdelta.cc: Minor bits of insulation.
2004-03-24 Graydon Hoare <graydon@pobox.com>
* AUTHORS: Mention Robert.
* configure.ac: Enable sse2 stuff.
* monotone.spec: Adjust CFLAGS and CXXFLAGS
* monotone.texi (Network Service): Expand a bit.
2004-03-24 Robert Helgesson <rycee@home.se>
* commands.cc:
* http_tasks.cc:
* lua.cc:
* manifest.cc:
* netsync.cc:
* nntp_tasks.cc:
* proto_machine.cc:
* work.cc:
* xdelta.cc:
Portability fixes for boost 1.31.0
2004-03-22 Graydon Hoare <graydon@pobox.com>
* cryptopp/integer.cpp, integer.h: Enable SSE2 multiply code.
* database.cc, database.hh, certs.cc: Speed up 'heads'.
2004-03-21 Graydon Hoare <graydon@pobox.com>
* lcs.hh, sanity.hh: Minor performance tweaks.
2004-03-20 Graydon Hoare <graydon@pobox.com>
* rcs_import.cc: Teach how to aggregate branches.
* monotone.texi: Start section on netsync.
2004-03-20 Olivier Andrieu <oliv__a@users.sourceforge.net>
* commands.cc (log): Show tags in log.
* AUTHORS: Mention Olivier.
2004-03-17 Nathan Myers <ncm@cantrip.org>
* boost/circular_buffer.hpp:
* commands.cc:
* cryptopp/fltrimpl.h:
* cryptopp/iterhash.cpp:
* quick_alloc.hh:
Fixes for gcc 3.4 compat and warnings.
2004-03-17 Graydon Hoare <graydon@pobox.com>
* cryptopp/config.h: Fix for gcc aliasing optimization error.
* rcs_import.cc (cvs_history::note_file_edge):
Fix for first changelog import bug (#5813).
2004-03-15 Graydon Hoare <graydon@pobox.com>
* rcs_import.cc: Import lone versions properly.
* tests/t_singlecvs.at: New test for it.
* testsuite.at: Call it.
2004-03-14 Graydon Hoare <graydon@pobox.com>
* commands.cc (diff): Show added files too.
* monotone.texi: Fix typo.
2004-03-08 Graydon Hoare <graydon@pobox.com>
* netsync.cc (analyze_manifest_edge): Fix broken formatter.
2004-03-07 Graydon Hoare <graydon@pobox.com>
* Makefile.am (BOOST_SANDBOX_SOURCES): Remove boost::socket entries.
(NETXX_SOURCES): Predicate on IP6 support in OS (from Paul Snively).
* boost/socket/*.[hc]pp: Remove.
* boost/io/streambuf_wrapping.hpp: Remove.
* AUTHORS: Remove copyright notice for boost::socket.
* acinclude.m4 (ACX_PTHREAD): Add.
* network.cc: Replace boost::socket machinery with Netxx.
* network.hh (open_connection): Remove prototype, static function.
* sanity.hh, sanity.cc: Make log formatters give file:line coords,
throw log offending coordinate if formatting fails.
2004-03-07 Graydon Hoare <graydon@pobox.com>
* sqlite/date.c, sqlite/vdbeInt.h, sqlite/vdbeaux.c: Add.
* sqlite/*.c: Upgrade to 2.8.12.
* Makefile.am: Update to mention new files.
* cert.cc
(expand_ancestors)
(expand_dominators): Resize child bitmaps to cover parent.
2004-03-06 Graydon Hoare <graydon@pobox.com>
* netsync.cc (get_root_prefix): Fix from Paul Snively
to fix static initialization order on mac OSX.
* montone.texi: Typo fix from Anders Petersson.
* *.cc: Move all function defs into column 0.
2004-03-04 Graydon Hoare <graydon@pobox.com>
* std_hooks.lua: Fix merger execution pessimism.
2004-03-04 Graydon Hoare <graydon@pobox.com>
* adler32.hh: Modify to use u8.
* depot.cc, netcmd.cc, xdelta.cc: Modify to use u8.
* netio.hh, numeric_vocab.hh (widen): Move between headers.
* netsync.cc: Correct role-assumption bugs.
* schema_migration.cc: Strip whitespace in sha1.
(changes received from Christof Petig)
2004-03-01 Graydon Hoare <graydon@pobox.com>
* commands.cc: Handle anonymous pulling.
* netsync.cc: Ditto.
Release point (v 0.10).
2004-03-01 Graydon Hoare <graydon@pobox.com>
* NEWS: Mention impending 0.10 release.
* cert.cc, cert.hh: Bug fixes, implement trust function, QA stuff.
* commands.cc: Tweak disapprove, approve, testresult, push, pull.
* configure.ac: Bump version number.
* cryptopp/rng.h, cryptopp/rng.cpp
(MaurerRandomnessTest): Fix bitrot.
* keys.cc: Add Maurer PRNG randomness test.
* lua.cc, lua.hh: Add trust, testresult, anonymous netsync hooks.
* monotone.1: Update to follow changes to commands.
* monotone.texi: Include QA section, adjust some UI drift, clarify
reserved cert names, document new hooks and commands.
* netcmd.hh, netcmd.cc: Add anonymous, error commands; fix bugs.
* netsync.cc: Process new commands, factor server loop a bit.
* std_hooks.lua: Add new hook defaults, factor mergers.
* tests/t_netsync.at: Check SHA1 of each edge.
* tests/t_null.at: Call with --norc to skip ~/.monotonerc
* tests/t_update.at: Fix glaring error.
* tests/t_disapprove.at, tests/t_testresult.at: New tests.
* testsuite.at: Call them.
* ui.cc (sanitize): Clean escape chars from output (optional?)
* update.cc: Rewrite entirely in terms of new QA definitions.
2004-02-24 Graydon Hoare <graydon@pobox.com>
* commands.cc (ls_keys): Write key hash codes.
* constands.cc (netsync_timeout_seconds): Up to 120.
* netsync.cc: Fix a bunch of bugs.
* patch_set.cc (manifests_to_patch_set): Fix bug in overload
default construction.
2004-02-22 Graydon Hoare <graydon@pobox.com>
* patch_set.cc, patch_set.hh: Parameterize yet further.
* netsync.cc: Fix a lot of bugs, add manifest and file grovelling.
* tests/t_netsync.at: A new test (which runs!)
* testsuite.at: Call it.
2004-02-20 Graydon Hoare <graydon@pobox.com>
* cert.cc, cert.hh, key.cc, key.hh, database.cc, database.hh:
Add lots of little netsync support routines.
* commands.cc (rebuild): Rehash everything too.
* constants.cc (netcmd_minsz): Recalculate.
* cryptopp/osrng.cpp (NonblockingRng::GenerateBlock): Handle
/dev/urandom a bit better.
* netcmd.cc, netcmd.hh: Remove describe cmds, add nonexistant cmd.
* netio.hh: Add uleb128 stuff.
* xdelta.cc: Add randomizing unit test suite.
* diff_patch.cc: Remove commented-out dead line-merger code.
* merkle_tree.cc: Fix various bugs.
* netcmd.cc: Switch everything over to uleb128s.
* netsync.cc: Implement lots of missing stuff.
2004-02-09 Graydon Hoare <graydon@pobox.com>
* netsync.cc (ROOT_PREFIX): New variable.
* commands.cc (merkle): New command.
2004-02-09 Ben Elliston <bje@wasabisystems.com>
* monotone.texi: Spelling corrections.
2004-02-09 Graydon Hoare <graydon@pobox.com>
* database.cc, database.hh
(get_version_size)
(get_file_version_size)
(get_manifest_version_size): New functions.
* xdelta.cc, xdelta.hh (measure_delta_target_size): New function.
* merkle_tree.cc, merkle_tree.hh, netcmd.cc, netcmd.hh:
Cleanup and typesafety.
* netsync.cc: Cleanup, typesafety, implement refine phase.
2004-02-01 Graydon Hoare <graydon@pobox.com>
* netsync.cc: Remove a lot of stuff, implement auth phase.
* constants.cc, constants.hh: Move constants from netsync.cc.
* netcmd.cc, netcmd.hh: Split out of netsync.cc.
* merkle_tree.cc, merkle_tree.hh: Likewise.
* numeric_vocab.hh: New header.
* adler32.hh: include numeric_vocab.hh.
* netio.hh: Likewise.
* unit_tests.cc, unit_tests.hh: Update.
* Makefile.am: Likewise.
* commands.cc: Guess signing key for auth phase.
* database.cc, database.hh (public_key_exists)
(get_pubkey): New functions based on key hashes.
2004-01-31 Graydon Hoare <graydon@pobox.com>
* Netxx/*: New files.
* AUTHORS: Mention Netxx.
* Makefile.am: Mention Netxx and netsync.{cc,hh}
* adler32.hh: Delegate typedefs to boost.
* cert.hh, cert.cc (cert_hash_code): New function.
* commands.cc (find_oldest_ancestors): Block cycles.
(netsync): New command.
* database.cc, database.hh (schema): Update.
(put_key): Calculate key hash on the fly.
(put_cert): Likewise.
(merkle_node_exists)
(get_merkle_node)
(put_merkle_node)
(erase_merkle_nodes): New functions.
* keys.hh, keys.cc (key_hash_code): New function.
* lua.cc, lua.hh
(hook_get_netsync_read_permitted)
(hook_get_netsync_write_permitted): New hooks.
* monotone.spec: Update for FC1 info conventions.
* monotone.texi (Quality Assurance): New section.
* netsync.cc, netsync.hh: New files, preliminary
netsync infrastructure. Command bodies still missing.
* schema.sql: Add intrinsic key and cert hashes, merkle nodes.
* schema_migration.cc: Add code to migrate to new schema.
* unit_tests.cc: Handle command-line args to limit test set.
* vocab_terms.hh: Add merkle and prefix as new terms.
2004-01-13 Nathaniel Smith <njs@codesourcery.com>
* idna/idn-int.h: Remove (generated by configure).
2004-01-13 Nathaniel Smith <njs@codesourcery.com>
* configure.ac: Switch "if" and "else" branches in pthreads
checks.
2004-01-12 Nathaniel Smith <njs@codesourcery.com>
* configure.ac: Remove check for -lpthread.
Add check for pthread_mutex_lock and ACX_PTHREAD.
* m4/acx_pthread.m4: New file.
2004-01-07 Graydon Hoare <graydon@pobox.com>
* Makefile.am:
* po/POTFILES.in:
* po/monotone.pot: Minor tweaks for distclean.
* adns/config.h:
* boost/socket/src/interface.cpp:
* boost/socket/src/ip4/address.cpp:
* boost/socket/src/ip4/protocol.cpp: OSX portability.
* AUTHORS: Mention new contributors.
* monotone.texi (Hook Reference): Document i18n hooks.
Release point (v 0.9).
2004-01-07 Graydon Hoare <graydon@pobox.com>
* cert.cc (ensure_parents_loaded)
(expand_dominators)
(expand_ancestors)
(find_intersecting_node): New functions.
(find_common_ancestor): Reimplement in terms of dominator
and ancestor bitset intersection.
2004-01-05 Christof Petig <christof@petig-baender.de>
* vocab.cc (verify<local_path>) Fix use of val() / iterator.
* constants.cc (illegal_path_bytes): NUL-terminate.
2004-01-02 Graydon Hoare <graydon@pobox.com>
* diff_patch.cc (normalize_extents): Improve to handle an odd case.
* tests/t_fmerge.at: New test, to test it.
* commands.cc (fload, fmerge): Permanently enable, for test.
* testsuite.at: Call new test.
2004-01-01 Graydon Hoare <graydon@pobox.com>
* file_io.hh, file_io.cc (read_localized_data, write_localized_data):
New functions
* commands.cc, manifest.cc, transforms.cc: Use them.
* monotone.texi: Minor update to i18n docs.
* lua.hh, lua.cc (hook_get_linesep_conv, hook_get_charset_conv):
New hooks.
* acinclude.m4: Move AX_CREATE_STDINT_H in here.
* po/monotone.pot: Regenerate.
* NEWS, configure.ac: Prep for 0.9 release.
2003-12-30 Graydon Hoare <graydon@pobox.com>
* file_io.hh, file_io.cc (mkpath): New function.
* commands.cc, database.cc, diff_patch.cc, file_io.cc,
lua.cc, vocab.cc, work.cc: Use it.
* constants.cc (illegal_path_bytes_arr): Remove leading null.
* monotone.texi: Include i18n docs.
* tests/t_i18n_file.at: Check colon in filename.
2003-12-29 Graydon Hoare <graydon@pobox.com>
* file_io.cc: Localize names before touching fs.
* lua.hh, lua.cc (hook_get_system_charset): Remove useless fn.
* test_hooks.lua: Likewise.
* monotone.cc, transforms.cc, transforms.hh:
Remove lua from system charset conv.
* tests/t_i18n_file.at: New test.
* testsuite.at: Call it.
2003-12-28 Graydon Hoare <graydon@pobox.com>
* app_state.cc, app_state.hh: Massage to use i18n vocab.
* cert.cc, commands.cc, commands.hh, rcs_import.cc,
update.cc, update.hh, url.cc, url.hh: Likewise.
* work.cc, work.hh: --> Likewise, and break file format! <--
* constants.hh, constants.cc (legal_ace_bytes): New constant.
* vocab.cc (verify<ace>): Use it.
(verify<urlenc>) New function.
* vocab_terms.hh (ace, urlenc, utf8): New terms.
* transforms.hh, transforms.cc: Use them.
* monotone.cc (utf8_argv): Charconv argv.
* network.hh, network.cc: Use url.{hh,cc}.
2003-12-28 Graydon Hoare <graydon@pobox.com>
* constants.hh, constants.cc (idlen): New constant.
* commands.cc, vocab.cc: Use it.
* manifest.cc (read_manifest_map): Tighten up regex.
* packet.cc: Likewise.
* transforms.cc (uppercase)
(lowercase): Rewrite.
(utf8_to_urlenc)
(urlenc_to_utf8)
(internalize_url)
(internalize_cert_name)
(internalize_rsa_keypair_id)
(externalize_url)
(externalize_cert_name)
(externalize_rsa_keypair_id): New functions.
* url.hh, url.cc (parse_utf8_url): New function.
2003-12-20 Graydon Hoare <graydon@pobox.com>
* diff_patch.cc (normalize_extents): New function.
(merge_via_edit_scripts): Use it.
2003-12-19 Graydon Hoare <graydon@pobox.com>
[net.venge.monotone.i18n branch]
* idna/*.[ch]: New files.
* po/*: New files.
* url.cc, url.hh, constants.cc: New files.
* Makefile.am, configure.ac: Various fiddling for gettext.
* lua.hh, lua.cc (hook_get_system_charset): New hook.
(hook_get_system_linesep): New hook.
* transforms.hh, transforms.cc
(charset_convert)
(system_to_utf8)
(utf8_to_system)
(ace_to_utf8)
(utf8_to_ace)
(line_end_convert): New functions.
* vocab.cc: Refine constraints.
* vocab_terms.hh (external): New atomic type.
* monotone.cc (cpp_main): Initialize gettext.
* sanity.hh (F): Call gettext() on format strings.
* commands.cc, depot.cc, database.cc, http_tasks.cc, keys.cc,
network.cc, rcs_import.cc, sanity.cc, mac.hh : Update to use
'constants::' namespace.
* config.h.in: Remove.
* commands.cc: Various formatting cleanups.
* unit_tests.cc, unit_tests.hh: Connect to url tests.
2003-12-19 Graydon Hoare <graydon@pobox.com>
* diff_patch.cc (merge3): Skip patches to deleted files.
2003-12-16 Graydon Hoare <graydon@pobox.com>
* commands.cc (ls_ignored, ignored_itemizer): Fold in as subcases of unknown.
2003-12-16 Graydon Hoare <graydon@pobox.com>
* lua.cc (working_copy_rcfilename): MT/monotonerc not MT/.monotonerc.
2003-12-16 Graydon Hoare <graydon@pobox.com>
* lua.hh, lua.cc (working_copy_rcfilename): New function.
* monotone.cc: Add working copy rcfiles.
* commands.cc (ls_unknown, unknown_itemizer): Skip ignored files.
2003-12-16 Graydon Hoare <graydon@pobox.com>
* file_io.cc (walk_tree_recursive): continue on book-keeping file.
2003-12-15 Graydon Hoare <graydon@pobox.com>
* tests/t_unidiff.at, t_unidiff2.at: Check for mimencode.
2003-12-15 Graydon Hoare <graydon@pobox.com>
* configure.ac: Add --enable-static-boost.
* Makefile.am: Likewise.
* AUTHORS: Mention new contributors.
2003-12-14 Lorenzo Campedelli <lorenzo.campedelli@libero.it>
* work.cc (add_to_attr_map): Finish change to attr map format.
2003-12-10 Tom Tromey <tromey@redhat.com>
* commands.cc (checkout): Give better error message if branch is
empty.
2003-12-07 Eric Kidd <eric.kidd@pobox.com>
* commands.cc (agraph): Handle repositories with a single version.
* database.cc (get_head_candidates): Handle heads with no ancestors.
* cert.cc (get_branch_heads): Handle heads with no ancestors.
2003-12-06 Eric Kidd <eric.kidd@pobox.com>
* update.hh, update.cc (pick_update_target): Return current
version if no better update candidates available.
* update.cc (pick_update_target): Always do branch filtering.
* commands.cc (update): Notice when we're already up-to-date.
* commands.cc (propagate): Assign branch name correctly when merging.
2003-12-05 Graydon Hoare <graydon@pobox.com>
* lcs.hh (edit_script): New entry point.
* diff_patch.cc: Rewrite merge in terms of edit scripts.
* network.cc (post_queued_blobs_to_network): Tidy up transient
failure message.
* randomfile.hh: Prohibit deletes on end of chunks.
* sanity.cc: EOL-terminate truncated long lines.
2003-12-02 Graydon Hoare <graydon@pobox.com>
* database.cc, database.hh (reverse_queue): Copy constructor.
* std_hooks.lua (merge3): Remove afile, not ancestor.
* monotone.cc: Remove debugging message.
* ui.cc (finish_ticking): Set last_write_was_a_tick to false.
2003-12-01 Graydon Hoare <graydon@pobox.com>
* app_state.hh, app_state.cc (set_signing_key): New fn, persist key.
* monotone.cc (cpp_main): Permit commuting the --help argument around.
2003-11-30 Graydon Hoare <graydon@pobox.com>
* network.cc (post_queued_blobs_to_network): Fail when posted_ok is false.
* database.cc (initialize): Fail when -journal file exists.
* keys.cc (make_signature): Nicer message when privkey decrypt fails.
2003-11-29 Tom Tromey <tromey@redhat.com>
* rcs_import.cc (store_auxiliary_certs): Renamed to fix typo.
Updated all callers.
* http_tasks.cc (check_received_bytes): Allow "-" as well.
* depot.cc (execute_post_query): Allow "-" as well.
2003-11-28 Tom Tromey <tromey@redhat.com>
* http_tasks.cc (check_received_bytes): Allow "-" as well.
* depot.cc (execute_post_query): Allow "-" as well.
2003-11-28 Graydon Hoare <graydon@pobox.com>
* cert.cc: Various speedups.
* cycle_detector.hh (edge_makes_cycle): Use visited set, too.
* database.hh, database.cc (get_head_candidates): New, complex query.
* keys.hh, keys.cc (check_signature): Cache verifiers.
* sqlite/os.c (sqliteOsRandomSeed): Harmless valgrind purification.
* tests/t_fork.at, tests/t_merge.at: Ignore stderr chatter on 'heads'.
2003-11-27 Graydon Hoare <graydon@pobox.com>
* Makefile.am (AM_LDFLAGS): No more -static, sigh.
* cert.cc (find_relevant_edges): Keep dynamic-programming caches.
(calculate_renames_recursive): Likewise.
* cert.cc, cert.hh (rename_edge): Add constructor, copy constructor.
* commands.cc (list certs): Note rename certs are binary.
2003-11-24 Graydon Hoare <graydon@pobox.com>
* network.cc: Continue fetch, post loops even if one target has
an exception.
2003-11-24 Graydon Hoare <graydon@pobox.com>
* database.hh, database.cc (delete_posting): Change to take queue
sequence numbers.
* commands.cc (queue): Use new API.
* network.cc (post_queued_blobs_to_network): Use new API.
2003-11-24 Graydon Hoare <graydon@pobox.com>
* std_hooks.lua (get_http_proxy): Return nil when no ENV var.
* monotone.texi (get_http_proxY): Document change.
2003-11-24 Graydon Hoare <graydon@pobox.com>
* tests/t_proxy.at: Add a test for proxying with tinyproxy.
* testsuite.at: Call it.
* lua.cc: Fix dumb error breaking proxying.
* network.cc: Be verbose about proxying.
2003-11-23 Graydon Hoare <graydon@pobox.com>
* http_tasks.cc (read_chunk): Tolerate 0x20* after chunk len.
2003-11-23 Graydon Hoare <graydon@pobox.com>
* network.cc: Make more informative error policy.
* boost/socket/socketstream.hpp: Pass SocketType to streambuf template.
* boost/socket/src/default_socket_impl.cpp: Translate EINTR.
2003-11-22 Graydon Hoare <graydon@pobox.com>
* lua.cc, lua.hh (hook_get_http_proxy): New hook.
* std_hooks.lua (get_http_proxy): Default uses HTTP_PROXY.
(get_connect_addr): Undefine, it's for tunnels alone now.
* network.cc: Use new hook.
* http_tasks.hh, http_tasks.cc: Teach about proxies (sigh).
* monotone.texi: Document new hooks.
2003-11-22 Graydon Hoare <graydon@pobox.com>
* lua.cc, lua.hh (hook_get_connect_addr): New hook.
* std_hooks.lua (get_connect_addr): Default uses HTTP_PROXY.
* network.cc, network.hh: Use new hook.
* http_tasks.cc: Teach about HTTP/1.1.
* cert.cc (bogus_cert_p): Fix UI ugly.
2003-11-21 Graydon Hoare <graydon@pobox.com>
* constants.hh (postsz): New constant for suggested post size.
* database.cc, database.hh (queue*): Change db API slightly.
* commands.cc (queue): Adjust to changed db API.
* network.cc (post_queued_blobs_to_network): Switch to doing
incremental posts.
* cert.cc (write_rename_edge, read_rename_edge): Put files on
separate lines to accomodate future i18n work.
* work.cc (add_to_attr_map, write_attr_map): Reorder fields to
accomodate future i18n work.
* monotone.texi: Document it.
* configure.ac, NEWS: Mention 0.8 release.
Release point (v 0.8).
2003-11-16 Tom Tromey <tromey@redhat.com>
* missing: Removed generated file.
2003-11-14 Graydon Hoare <graydon@pobox.com>
* commands.cc (vcheck): Add.
* cert.cc, cert.hh (cert_manifest_vcheck): Add.
(check_manifest_vcheck): Add.
(calculate_vcheck_mac): Add.
* constants.hh (vchecklen): New constant.
* mac.hh: Re-add.
* monotone.texi (Hash Integrity): New section.
* monotone.1: Document vcheck.
2003-11-14 Graydon Hoare <graydon@pobox.com>
* database.cc, database.hh (reverse_queue): New class.
(compute_older_version): New functions.
(get_manifest_delta): Remove.
* network.cc, network.hh (queue_blob_for_network): Remove.
* packet.cc, packet.hh (queueing_packet_writer): Change UI,
write to queue directly, accept optional<reverse_queue>.
* cert.cc (write_paths_recursive): Rewrite to use constant
memory.
* commands.cc (queue, queue_edge_for_target_ancestor):
Install optional<reverse_queue> in qpw.
* tests/t_cross.at: Ignore new UI chatter.
* monotone.texi (Transmitting Changes): Change UI output.
2003-11-13 Graydon Hoare <graydon@pobox.com>
* Makefile.am (AUTOMAKE_OPTIONS): Require 1.7.1
* commands.cc (addtree): Wrap in transaction guard.
* database.cc, database.hh (manifest_delta_exists): Add.
(get_manifest_delta): Add.
* cert.cc (write_paths_recursive): Use partial deltas.
* manifest.cc, manifest.hh (read_manifest_map): New variant.
* patch_set.cc, patch_set.hh (patch_set): Add map_new, map_old
fields.
(manifests_to_patch_set) Store new field.
(patch_set_to_packets) Don't read manifest versions from db.
* std_hooks.lua (ignore_file): ignore .a, .so, .lo, .la, ~ files.
* tests/t_cvsimport.at: New test.
* testsuite.at: Call it.
2003-11-10 Graydon Hoare <graydon@pobox.com>
* commands.cc (find_oldest_ancestors): New function.
(queue): New "addtree" subcommand.
* monotone.texi: Document it.
* monotone.1: Document it.
2003-11-10 Graydon Hoare <graydon@pobox.com>
* file_io.cc (walk_tree_recursive): Ignore MT/
2003-11-09 Graydon Hoare <graydon@pobox.com>
* database.cc (dump, load): Implement.
* commands.cc (db): Call db.dump, load.
* cycle_detector.hh: Skip when no in-edge on src.
* monotone.texi: Document dump and load, add some
special sections.
* monotone.1: Mention dump and load.
2003-11-09 Graydon Hoare <graydon@pobox.com>
* rcs_file.hh (rcs_symbol): New structure.
* rcs_file.cc (symbol): New rule.
* rcs_import.cc (find_branch_for_version): New function.
(cvs_key::branch): New field.
(store_auxilliary_certs): Cert branch tag.
* cycle_detector.hh: Fix bugs, don't use quick_alloc.
* commands.cc (checkout): Add --branch based version.
* monotone.texi: Document new command variant.
* monotone.1: Ditto.
2003-11-09 Graydon Hoare <graydon@pobox.com>
* quick_alloc.hh: New file.
* Makefile.am: Add it.
* cycle_detector.hh: Rewrite.
* manifest.hh: Use quick_alloc.
* vocab.cc: Relax path name requirements a bit.
* sqlite/sqliteInt.h: Up size of row to 16mb.
2003-11-02 Graydon Hoare <graydon@pobox.com>
* commands.cc (post): Post everything if no URL given; don't base
decision off branch name presence.
* app_state.cc, monotone.cc, file_io.cc, file_io.hh: Support
absolutifying args.
* lua.hh, lua.cc, std_hooks.lua (hook_get_mail_hostname): New hook.
* monotone.texi: Document it.
* monotone.texi, monotone.1: Minor corrections, new sections.
* monotone.cc: Don't look in $ENV at all.
* network.cc: Correct MX logic.
* nntp_tasks.cc, smtp_tasks.cc: Separate postlines state.
* smtp_tasks.cc: Correct some SMTP logic.
* configure.ac, NEWS: Mention 0.7 release.
Release point (v 0.7).
2003-11-01 Graydon Hoare <graydon@pobox.com>
* http_tasks.cc: Drop extra leading slashes in HTTP messages.
2003-10-31 Graydon Hoare <graydon@pobox.com>
* commands.cc, database.cc, database.hh, lua.cc, lua.hh,
network.cc, network.hh, packet.cc, packet.hh, schema.sql,
schema_migration.cc, tests/t_http.at, tests/t_nntp.at, vocab.cc:
Eliminate "groupname", use lone URL.
* monotone.texi: Update to cover new URL rules.
* network.cc, network.hh, lua.cc, lua.hh, smtp_tasks.cc:
Implement "mailto" URLs.
* tests/t_smtp.at: New test.
* testsuite.at: Call it.
2003-10-31 Graydon Hoare <graydon@pobox.com>
* patch_set.cc (manifests_to_patch_set): Second form with explicit renames.
(manifests_to_patch_set): Split edit+rename events when we see them.
* commands.cc (status, commit): Include explicit rename set.
* diff_patch.cc (merge3): Accept edit+rename events split by patch_set.cc.
* smtp_tasks.hh, smtp_tasks.cc: New files.
* nntp_machine.hh, nntp_machine.cc: Rename to proto_machine.{hh,cc} (woo!)
* nntp_tasks.cc: Adjust to use proto_ prefix in various places.
* proto_machine.cc (read_line): get() into streambuf.
* Makefile.am: Cover renames and adds.
2003-10-31 Graydon Hoare <graydon@pobox.com>
* diff_patch.cc (merge3): Extract renames.
* commands.cc (calculate_new_manifest_map): Extract renames.
(try_one_merge): Extract renames, propagate to merge target.
(commit): Extract renames, propagate to commit target.
* cert.cc (calculate_renames_recursive): Fix wrong logic.
(find_common_ancestor_recursive): Stall advances at top of graph.
* patch_set.cc: (manifests_to_patch_set): Teach about historical
renames.
* tests/t_erename.at: New test for edit+rename events.
* testsuite.at: Call t_erename.at.
2003-10-30 Graydon Hoare <graydon@pobox.com>
* patch_set.cc (operator<): s/a/b/ in a few places, yikes!
* cert.cc: Add machinery for rename edge certs.
* commands.cc: Call diff(manifest,manifest) directly.
* tests/t_nntp.at: Kill tcpserver DNS lookups on nntp test.
* network.cc (parse_url): Character class typo fix, from
Johannes Winkelmann.
* app_state.hh, cert.hh, commands.hh, cycle_detector.hh,
database.hh, diff_patch.cc, diff_patch.hh, http_tasks.hh,
interner.hh, keys.hh, lua.hh, manifest.hh, network.hh,
nntp_machine.hh, nntp_tasks.hh, packet.hh, patch_set.hh,
transforms.hh, update.hh, vocab.hh, work.hh, xdelta.hh:
fix use of std:: prefix / "using namespace" pollution.
2003-10-27 Graydon Hoare <graydon@pobox.com>
* lua/liolib.c (io_mkstemp): Portability fix
from Ian Main.
* xdelta.cc,hh (compute_delta): New manifest-specific variant.
* transforms.cc,hh (diff): Same.
* rcs_import.cc: Various speedups to cvs import.
2003-10-26 Graydon Hoare <graydon@pobox.com>
* cert.cc (get_parents): New function.
(write_paths_recursive): New function.
(write_ancestry_paths): New function.
* cert.hh (write_ancestry_paths): Declare.
* commands.cc (queue_edge_for_target_ancestor):
Call write_ancestry_paths for "reposting" queue
strategy.
2003-10-25 Graydon Hoare <graydon@pobox.com>
* commands.cc (log): Skip looking inside nonexistent
manifests for file comments.
2003-10-24 Graydon Hoare <graydon@pobox.com>
* adns/*.c, adns/*.h: Import adns library.
* Makefile.am: Update to build adns into lib3rdparty.a.
* AUTHORS: Mention adns.
* network.cc: Call adns functions, not gethostbyname.
2003-10-20 Nathaniel Smith <njs@codesourcery.com>
* patch_set.cc (patch_set_to_text_summary): Give more detailed
output.
* commands.cc (get_log_message, status, diff): Use
patch_set_to_text_summary for complete description.
2003-10-22 Graydon Hoare <graydon@pobox.com>
* monotone.texi: Document 'queue' command.
* monotone.1: Likewise.
2003-10-22 Graydon Hoare <graydon@pobox.com>
* diff_patch.cc
(infer_directory_moves): New function.
(rebuild_under_directory_moves): New function.
(apply_directory_moves): New function.
(merge3): Handle directory moves.
* tests/t_renamed.at: New test for dir renames.
* testsuite.at: Call it.
2003-10-21 Graydon Hoare <graydon@pobox.com>
* commands.cc (queue): New command.
(list): Add "queue" subcommand, too.
2003-10-21 Graydon Hoare <graydon@pobox.com>
* diff_patch.cc (merge_deltas): New function.
(check_map_inclusion): New function.
(check_no_intersect): New function.
(merge3): Rewrite completely.
* tests/t_rename.at: New test.
* testsuite.at: Call it.
* file_io.cc, file_io.hh (make_dir_for): New function.
* commands.cc (update): Call make_dir_for on update.
2003-10-20 Graydon Hoare <graydon@pobox.com>
* commands.cc: Replace [] with idx() everywhere.
2003-10-20 Tom Tromey <tromey@redhat.com>
* cert.hh (get_branch_heads): Updated.
Include <set>.
* commands.cc (head): Updated for new get_branch_heads.
(merge): Likewise.
(propagate): Likewise.
* cert.cc (get_branch_heads): Use set<manifest_id>.
* commands.cc (merge): Use all caps for metasyntactic variable.
(heads): Likewise.
* network.cc (post_queued_blobs_to_network): Do nothing if no
packets to post.
2003-10-20 Graydon Hoare <graydon@pobox.com>
* cert.cc (get_branch_heads): Fix dumb bug.
* diff_patch.cc (merge3): Fix dumb bug.
(merge2): Fix dumb bug.
(try_to_merge_files): Fix dumb bug.
2003-10-20 Graydon Hoare <graydon@pobox.com>
* file_io.cc (tilde_expand): New function.
* monotone.cc (cpp_main): Expand tildes in
db and rcfile arguments.
2003-10-20 Graydon Hoare <graydon@pobox.com>
* rcs_import.cc (import_cvs_repo): Check key existence
at beginning of import pass, to avoid wasted work.
2003-10-19 Tom Tromey <tromey@redhat.com>
* commands.cc (log): Add each seen id to `cycles'.
2003-10-19 Graydon Hoare <graydon@pobox.com>
* AUTHORS: Mention Tecgraf PUC-Rio and their
copyright.
* Makefile.am: Mention circular buffer stuff.
* configure.ac, NEWS: Mention 0.6 release.
* cert.hh, cert.cc (erase_bogus_certs): file<cert> variant.
* commands.cc (log): Erase bogus certs before writing,
cache comment-less file IDs.
* monotone.spec: Don't specify install-info args,
do build with optimization on RHL.
Release point (v 0.6).
2003-10-19 Matt Kraai <kraai@ftbfs.org>
* commands.cc (merge): Use app.branch_name instead of args[0] for
the branch name.
2003-10-17 Graydon Hoare <graydon@pobox.com>
* commands.cc (log): New command.
Various other bug fixes.
* monotone.1, monotone.texi: Minor updates.
2003-10-17 Graydon Hoare <graydon@pobox.com>
* monotone.texi: Expand command and hook references.
* commands.cc: Disable db dump / load commands for now.
2003-10-16 Graydon Hoare <graydon@pobox.com>
* sanity.hh: Add a const version of idx().
* diff_patch.cc: Change to using idx() everywhere.
* cert.cc (find_common_ancestor): Rewrite to recursive
form, stepping over historic merges.
* tests/t_cross.at: New test for merging merges.
* testsuite.at: Call t_cross.at.
2003-10-10 Graydon Hoare <graydon@pobox.com>
* lua.hh, lua.cc (hook_apply_attribute): New hook.
* work.hh, work.cc (apply_attributes): New function.
* commands.cc (update_any_attrs): Update attrs when writing to
working copy.
* std_hooks.lua (temp_file): Use some env vars.
(attr_functions): Make table of attr-setting functions.
2003-10-10 Graydon Hoare <graydon@pobox.com>
* work.cc: Fix add/drop inversion bug.
* lua/*.{c,h}: Import lua 5.0 sources.
* lua.cc: Rewrite lua interface completely.
* std_hooks.lua, test_hooks.lua, testsuite,
tests/t_persist_phrase.at, configure.ac, config.h.in, Makefile.am:
Modify to handle presence of lua 5.0.
2003-10-08 Graydon Hoare <graydon@pobox.com>
* rcs_import.cc: Attach aux certs to child, not parent.
* manifest.cc: Speed up some calculations.
* keys.cc: Optionally cache decoded keys.
2003-10-07 Graydon Hoare <graydon@pobox.com>
* manifest.hh, manifest.cc, rcs_import.cc: Write manifests w/o
compression.
* vocab.hh, vocab.cc: Don't re-verify verified data.
* ui.hh, ui.cc: Minor efficiency tweaks.
2003-10-07 Graydon Hoare <graydon@pobox.com>
* commands.cc, work.cc, work.hh: Add some preliminary stuff
to support explicit renaming, .mt-attrs.
* monotone.texi: Add skeletal sections for command reference,
hook reference, CVS phrasebook. Fill in some parts.
2003-10-02 Graydon Hoare <graydon@pobox.com>
* boost/circular_buffer*.hpp: Add.
* AUTHORS, cert.cc, commands.cc, database.cc,
diff_patch.cc, http_tasks.cc, keys.cc, lua.cc, manifest.cc,
network.cc, nntp_machine.cc, packet.cc, patch_set.cc,
rcs_import.cc, sanity.cc, sanity.hh, ui.hh, update.cc,
vocab_terms.hh, work.cc:
remove existing circular buffer code, replace all
logging and asserty stuff with boost::format objects
rather than vsnprintf.
2003-10-01 Graydon Hoare <graydon@pobox.com>
* testsuite.at: Don't use getenv("HOSTNAME").
* database.cc (exec, fetch): Do va_end/va_start again in between
logging and executing query.
2003-09-28 Tom Tromey <tromey@redhat.com>
* monotone.texi: Added @direntry.
2003-09-27 Nathaniel Smith <njs@pobox.com>
* monotone.cc: Remove "monotone.db" default to --db
option in help text.
2003-09-27 Graydon Hoare <graydon@pobox.com>
* diff_patch.cc: Rework conflict detection.
* rcs_import.cc: Remove some pointless slowness.
* monotone.spec: Install info files properly.
Release point (v 0.5).
2003-09-27 Graydon Hoare <graydon@pobox.com>
* AUTHORS, NEWS, configure.ac: Update for 0.5 release.
* monotone.texi: Various updates.
* xdelta.cc (compute_delta): Fix handling of empty data.
* database.cc (sql): Require --db for init.
* work.cc (read_options_map): Fix options regex.
2003-09-27 Graydon Hoare <graydon@pobox.com>
* lcs.hh: New jaffer LCS algorithm.
* interner.hh, rcs_import.cc: Templatize interner.
* diff_patch.hh: Use interner, new LCS.
2003-09-27 Tom Tromey <tromey@redhat.com>
* commands.cc (fetch): Always try lua hook; then default to all
known URLs.
2003-09-26 Tom Tromey <tromey@redhat.com>
* commands.cc (tag): Use all-caps for meta-syntactic variables.
(comment, add, cat, complete, mdelta, fdata): Likewise.
* monotone.1: There's no default database.
* monotone.texi (OPTIONS): There's no default database.
* database.cc (sql): Throw informative error if database name not
set.
* app_state.cc (app_state): Default to no database.
2003-09-26 Graydon Hoare <graydon@pobox.com>
* debian/*, monotone.spec: Add packaging control files.
2003-09-24 Graydon Hoare <graydon@pobox.com>
* database.cc, database.hh (debug): New function.
* commands.cc (debug): New command.
* cert.cc, cert.hh (guess_branch): New function.
* commands.cc (cert): Queue certs to network servers.
* commands.cc (cert, commit): Use guess_branch.
* commands.cc (list): List unknown, ignored files.
* monotone.texi, monotone.1: Document.
2003-09-24 Graydon Hoare <graydon@pobox.com>
* commands.cc (queue_edge_for_target_ancestor): Queue the
correct ancestry cert, from child to target, as well as
patch_set.
2003-09-22 Graydon Hoare <graydon@pobox.com>
* depot_schema.sql, schema_migration.cc,
schema_migration.hh: Add.
* database.cc, depot.cc: Implement schema migration.
* database.cc, commands.cc: Change to db ... cmd.
* monotone.texi, monotone.1: Document command change.
* depot.cc: Fix various query bugs.
2003-09-21 Nathaniel Smith <njs@codesourcery.com>
* depot.cc (depot_schema): Remove unique constraint on (contents),
replace with unique constraint on (groupname, contents).
2003-09-21 Nathaniel Smith <njs@codesourcery.com>
* commands.cc (diff): Take manifest ids as arguments. Add
explanatory text on files added, removed, modified.
2003-09-19 Tom Tromey <tromey@redhat.com>
* commands.cc (genkey): Use all-caps for meta-syntactic variable.
(cert, tag, approve, disapprove, comment, add, drop, commit,
update, revert, cat, checkout, co, propagate, complete, list, ls,
mdelta, fdelta, mdata, fdata, mcerts, fcerts, pubkey, privkey,
fetch, post, rcs_import, rcs): Likewise.
(explain_usage): Indent explanatory text past the command names.
2003-09-17 Tom Tromey <tromey@redhat.com>
* commands.cc (list): Don't compute or use "subname".
* commands.cc (revert): Handle case where argument is a
directory.
* tests/t_revert.at: Test for revert of directory.
* testsuite.at (MONOTONE_SETUP): Use "monotone initdb".
* monotone.1: Document "initdb".
* monotone.texi (Commands): Document initdb.
(Creating a Database): New node.
(Getting Started): Refer to it.
* commands.cc (initdb): New command.
* database.cc (database::sql): New argument `init'.
(database::initialize): New method.
* database.hh (database::initalize): Declare.
(database::sql): New argument `init'.
2003-09-17 Tom Tromey <tromey@redhat.com>
* tests/t_persist_phrase.at: Use "ls certs".
* tests/t_nntp.at: Use "ls certs".
* tests/t_genkey.at: Use "ls keys" and "ls certs".
2003-09-16 Tom Tromey <tromey@redhat.com>
* monotone.1: Document "list branches".
* commands.cc (ls_certs): New function, from `lscerts' command.
(ls_keys): New function, from `lskeys' command.
(ls_branches): New function.
(list): New command.
(ls): New alias.
(explain_usage): Split parameter info at \n.
* monotone.texi (Adding Files): Use "list certs".
(Committing Changes): Likewise.
(Forking and Merging): Likewise.
(Commands): Likewise.
(Generating Keys): Use "list keys".
(Commands): Likewise.
(Commands): Mention "list branches".
(Branches): Likewise.
2003-09-15 Graydon Hoare <graydon@redhat.com>
* http_tasks.cc: Fix networking to handle long input.
* ui.cc, ui.hh: Only pad with blanks enough to cover old output
when ticking.
* update.cc, cert.cc, commands.cc: Fix cert fetching functions to
remove bogus certs.
2003-09-15 Tom Tromey <tromey@redhat.com>
* monotone.1: Don't mention MT_KEY or MT_BRANCH.
* monotone.texi (Getting Started): Don't mention MT_DB or
MT_BRANCH.
(Adding Files): Explicitly use --db and --branch.
* app_state.hh (app_state): New fields options, options_changed.
Declare new methods. Include work.hh.
* work.cc (work_file_name): New constant.
(add_to_options_map): New structure.
(get_options_path): New function.
(read_options_map, write_options_map): Likewise.
* work.hh (options_map): New type.
(get_options_path, read_options_map, write_options_map): Declare.
* commands.cc (add, drop, commit, update, revert, checkout,
merge): Write options file.
* app_state.cc (database_option, branch_option): New constants.
(app_state::app_state): Read options file.
(app_state::set_database): New method.
(app_state::set_branch): Likewise.
(app_state::write_options): Likewise.
Include work.hh.
* monotone.cc (cpp_main): Don't set initial database name on
app. Use new settor methods. Don't look at MT_BRANCH or MT_DB.
2003-09-14 Graydon Hoare <graydon@pobox.com>
* vocab.cc, vocab.hh: Add streamers for vocab terms in preparation
for switch to formatter.
* cert.cc (check_signature): Treat missing key as failed check.
* commands.cc (lscerts): Warn when keys are missing.
* rcs_import.cc, nntp_tasks.cc, http_tasks.cc: Tick progress.
* sanity.cc, monotone.cc: Tidy up output a bit.
* xdelta.cc: Add code to handle empty files. Maybe correct?
* ui.cc, ui.hh: Add.
2003-09-13 Tom Tromey <tromey@redhat.com>
* tests/t_nntp.at: If we can't find tcpserver or snntpd, skip the
test.
* tests/t_http.at: If we can't find boa or depot.cgi, skip the
test.
2003-09-12 Graydon Hoare <graydon@pobox.com>
* update.cc (pick_update_target): Only insert base rev as update
candidate if it actually exists in db.
* commands.cc, database.cc, database.hh: Implement id completion
command, and general id completion in all other commands.
2003-09-12 Tom Tromey <tromey@redhat.com>
* commands.cc (revert): A deleted file always appears in the
manifest.
* tests/t_revert.at: Check reverting a change plus a delete; also
test reverting by file name.
* work.cc (deletion_builder::visit_file): Check for file in
working add set before looking in manifest.
* tests/t_drop.at: Added add-then-drop test.
* testsuite.at: Include t_drop.at.
* tests/t_drop.at: New test.
* work.cc (visit_file): Check for file in working delete set
before looking in manifest.
2003-09-12 Tom Tromey <tromey@redhat.com>
* Makefile.am ($(srcdir)/testsuite): tests/atconfig and
tests/atlocal are not in srcdir.
* Makefile.am (TESTS): unit_tests is not in srcdir.
2003-09-11 Graydon Hoare <graydon@pobox.com>
* commands.cc: Check for MT directory in status.
* commands.cc: Require directory for checkout.
* commands.cc: Delete MT/work file after checkout.
* commands.cc: Implement 'revert', following tromey's lead.
* commands.cc: Print base, working manifest ids in status.
* diff_patch.cc: Further merge corrections.
* diff_patch.cc (unidiff): Compensate for occasional miscalculation
of LCS.
* tests/t_merge.at: Check that heads works after a merge.
* tests/t_fork.at: Check that heads works after a fork.
* tests/t_genkey.at: Remove use of 'import'.
* tests/t_cwork.at: Check deletion of work file on checkout.
* tests/t_revert.at: Check that revert works.
* commands.cc, monotone.cc: Report unknown commands nicely.
2003-09-08 Graydon Hoare <graydon@pobox.com>
* tests/merge.at: Accept tromey's non-error case for update.
* commands.cc(try_one_merge): Write merged version to packet
writer, not directly to db.
(merge): Write branch, changelog cert on merged version to db.
* std_hooks.lua(merge3): Open result in mode "r", not "w+".
2003-09-06 Tom Tromey <tromey@redhat.com>
* update.cc (pick_update_target): Not an error if nothing to
update.
* monotone.texi: Use VERSION; include version.texi.
* monotone.1: Document "co".
* monotone.texi (Commands): Document "co".
* commands.cc (ALIAS): New macro.
(co): New alias.
* README: Updated.
* txt2c.cc: Added missing file.
* texinfo.tex, INSTALL, Makefile.in, aclocal.m4, compile, depcomp,
install-sh, missing, mkinstalldirs: Removed generated files.
2003-09-04 Graydon Hoare <graydon@pobox.com>
* Makefile.am, depot.cc, http_tasks.cc, http_tasks.hh,
lua.cc, lua.hh, monotone.texi, network.cc, tests/t_http.at,
vocab_terms.hh:
Use public key signatures to talk to depot, not mac keys.
* commands.cc, file_io.cc, monotone.texi, monotone.1,
tests/t_scan.at, tests/t_import.at, work.cc, work.hh:
Remove the 'import' and 'scan' commands, in favour of generalized
'add' which chases subdirectories.
* configure.ac, NEWS:
Release point (v 0.4).
2003-09-03 Graydon Hoare <graydon@pobox.com>
* monotone.texi: Expand notes about setting up depot.
* update.cc: Update by ancestry. Duh.
2003-09-02 Graydon Hoare <graydon@pobox.com>
* boost/socket/streambuf.hpp: Bump ppos on overflow.
* packet.cc, transforms.cc, transforms.hh: Add function for
canonicalization of base64 encoded strings. Use on incoming cert
packet values.
* commands.cc: Change fetch and post to take URL/groupname params
rather than branchname.
* network.cc, network.hh, depot.cc, http_tasks.cc: Fix URL parser,
improve logging, change signatures to match needs of commands.cc
* Makefile.am: Don't install txt2c or unit_tests.
* Makefile.am: Build depot.cgi not depot.
* database.cc, database.hh: Add "all known sources" fetching support.
* patch_set.cc: Sort in a path-lexicographic order for nicer summaries.
* monotone.texi: Expand coverage of packets and networking.
* tests/t_nntp.at, tests/t_http.at: Update to provide URL/groupname
pairs.
2003-09-02 Tom Tromey <tromey@redhat.com>
* aclocal.m4, monotone.info: Removed generated files.
2003-08-31 Nathaniel Smith <njs@codesourcery.com>
* configure.ac: Check for lua40/lua.h, lua40/lualib.h and -llua40,
-lliblua40.
* config.h.in: Add LUA_H, LIBLUA_H templates, remove HAVE_LIBLUA,
HAVE_LIBLUALIB templates.
* lua.cc: Include config.h. Use LUA_H, LIBLUA_H macros.
2003-08-29 Graydon Hoare <graydon@pobox.com>
* Makefile.am, txt2c.cc, lua.cc, database.cc:
Use a C constant-building converter rather than objcopy.
* cert.cc, cert.hh, packet.cc, packet.hh, diff_patch.cc,
rcs_import.cc:
Modify cert functions to require a packet consumer, do no implicit
database writing.
* commands.cc, database.cc, database.hh, schema.sql, network.cc:
Modify packet queueing strategy to select ancestors from known
network server content, rather than most recent edge.
2003-08-25 Graydon Hoare <graydon@pobox.com>
* AUTHORS, ChangeLog, Makefile.am, NEWS, configure.ac,
tests/t_http.at: Release point (v 0.3)
2003-08-24 Graydon Hoare <graydon@pobox.com>
* nntp_tasks.cc: Measure success from postlines state.
* network.cc: Print summary counts of transmissions.
* packet.cc: Count packets into database.
* depot.cc: Add administrative commands, fix a bunch of
little bugs.
* t_http.at: Testcase for depot-driven communication.
* monotone.texi: Update to reflect depot existence.
* http_tasks.cc: Pick bugs out.
2003-08-24 Graydon Hoare <graydon@pobox.com>
* commands.cc: Wash certs before output.
* *.cc,*.hh: Adjust cert packet format to
be more readable, avoid superfluous gzipping.
2003-08-24 Graydon Hoare <graydon@pobox.com>
* configure, Makefile.in: Remove generated files, oops.
* commands.cc: Implement 'propagate'.
* lua.cc, lua.hh, network.cc, network.hh: Remove
'aggregate posting' stuff.
* network.cc: Batch postings into larger articles.
* diff_patch.hh, diff_patch.cc: Implement basic
merge2-on-manifest.
2003-08-23 Graydon Hoare <graydon@pobox.com>
* monotone.cc: Handle user-defined lua hooks as
overriding internal / .monotonerc hooks no matter
where on cmd line they occur.
* update.cc: Made failures more user-friendly.
* lua.cc: Improve logging a bit.
* testsuite.at, tests/*.{at,in}, testsuite/: Rewrite tests in
autotest framework, move to tests/ directory.
* boost/io/*, cryptopp/hmac.h: Add missing files.
2003-08-23 Tom Tromey <tromey@redhat.com>
* monotone.cc (OPT_VERSION): New macro.
(cpp_main): Handle OPT_VERSION.
(options): Added `version' entry.
Include config.h.
2003-08-21 Tom Tromey <tromey@redhat.com>
* database.cc: Include "sqlite/sqlite.h", not <sqlite.h>.
2003-08-20 Graydon Hoare <graydon@pobox.com>
* boost/*:
incorporate boost sandbox bits, for now.
* Makefile.am, Makefile.in, configure, configure.ac, diff_patch.cc,
http_tasks.cc, http_tasks.hh, network.cc, nntp_machine.cc,
nntp_machine.hh, nntp_tasks.cc, nntp_tasks.hh, testsuite/t_nntp.sh:
fix up networking layer to pass nntp tests again
2003-08-19 Graydon Hoare <graydon@pobox.com>
* Makefile.am, Makefile.in, app_state.hh, cert.cc, commands.cc,
constants.hh, cryptopp/misc.h, database.cc, depot.cc,
http_tasks.cc, http_tasks.hh, keys.cc, lua.cc, lua.hh, monotone.cc,
network.cc, network.hh, nntp_machine.cc, nntp_machine.hh,
nntp_tasks.cc, nntp_tasks.hh, packet.cc, packet.hh, rcs_import.cc,
sanity.cc, sanity.hh, schema.sql, test_hooks.lua,
testsuite/runtest.sh, testsuite/t_null.sh, vocab_terms.hh:
major surgery time
- move to multi-protocol posting and fetching.
- implement nicer failure modes for sanity.
- redo commands to print nicer, fail nicer.
2003-08-18 Graydon Hoare <graydon@pobox.com>
* Makefile.am, Makefile.in, adler32.hh, database.cc, depot.cc,
mac.hh, xdelta.cc, Makefile.am, Makefile.in:
first pass at a depot (CGI-based packet service)
2003-08-08 Graydon Hoare <graydon@pobox.com>
* Makefile.am, Makefile.in AUTHORS, ChangeLog, Makefile.am,
Makefile.in, NEWS, monotone.1, monotone.info, monotone.texi:
release point (v 0.2)
2003-08-08 Graydon Hoare <graydon@pobox.com>
* cert.cc, cert.hh, interner.hh, rcs_import.cc:
auxilliary certs
* cert.cc, cert.hh, cycle_detector.hh, interner.hh, patch_set.cc,
rcs_import.cc:
improvements to cycle detection stuff
2003-08-05 Graydon Hoare <graydon@pobox.com>
* rcs_import.cc:
almost even more seemingly correct CVS graph reconstruction (still slow)
* sqlite/* cryptopp/* Makefile.am, Makefile.in, aclocal.m4,
config.h.in, configure, configure.ac, file_io.cc, keys.cc,
sanity.cc, sanity.hh, transforms.cc:
minimizing dependencies on 3rd party libs by importing the
necessary bits and rewriting others.
* cert.cc, cert.hh, rcs_import.cc:
cvs import seems to be working, but several linear algorithms need
replacement
2003-07-28 Graydon Hoare <graydon@pobox.com>
* Makefile.am, Makefile.in, cert.cc, commands.cc, database.cc,
database.hh, manifest.cc, rcs_file.cc, rcs_import.cc,
rcs_import.hh, vocab.cc, xdelta.cc:
cvs graph reconstruction hobbling along.
2003-07-21 Graydon Hoare <graydon@pobox.com>
* database.cc, xdelta.cc, xdelta.hh:
piecewise xdelta; improves speed a fair bit.
2003-07-11 Graydon Hoare <graydon@pobox.com>
* Makefile.am, Makefile.in, config.h.in, configure, configure.ac,
transforms.cc, xdelta.cc, xdelta.hh:
implement xdelta by hand, forget 3rd party delta libs.
2003-07-02 Graydon Hoare <graydon@pobox.com>
* database.cc, rcs_import.cc, transforms.cc, transforms.hh:
speedups all around in the storage system
2003-07-01 Graydon Hoare <graydon@pobox.com>
* database.hh, rcs_import.cc, transforms.cc, transforms.hh: speed
improvements to RCS import
2003-06-30 Graydon Hoare <graydon@pobox.com>
* rcs_import.cc, transforms.cc:
some speed improvements to RCS import
2003-06-29 Graydon Hoare <graydon@pobox.com>
* commands.cc, database.hh, rcs_import.cc, transforms.cc:
RCS file import successfully (albeit slowly) pulls in some pretty
large (multi-hundred revision, >1MB) test cases from GCC CVS
* Makefile.in, commands.cc, rcs_file.cc, rcs_file.hh,
rcs_import.cc, rcs_import.hh,
Makefile.am: preliminary support for reading and walking RCS files
2003-04-09 Graydon Hoare <graydon@pobox.com>
* autogen.sh: oops
* */*: savannah import
2003-04-06 Graydon Hoare <graydon@pobox.com>
* initial release.
|