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
|
eavid 1 Jan 2005
- Deprecated the bad hash function used for the
upload/download directory hierarchies.
It wasn't uniform.
Use MD5 instead.
Kept the old one around for a the time being.
dir_hier_path() and dir_hier_url() take a new arg
saying whether to use new or old hash.
The file_deleter and validator try the new hash, then the old.
doc/
busy_work.php (new)
tools_work.php
lib/
util.C,h
sched/
file_deleter.C
file_upload_handler.C
make_work.C
validate_util.C
wu_check.C
tools/
backend_lib.C
dir_hier_move.C
dir_hier_path.C
David 3 Jan 2005
- split the implementation of REDUCE into 2 parts,
one for the app's main program and one for the shared library
api/
Makefile.am
reduce.C (removed)
reduce_lib.C (new)
reduce_main.C (new)
Bruce 5 Jan 2005
Bruce 6 Jan 2005
- added new directory which builds a self-extracting tar
archive (executable shell script) for installation on
unix platforms. This will only be made when building
the client GUI and installs both the boinc client and
client GUI. Written and tested by Bernd Machenschalk.
- next day revision, name shell script with appropriate
version/release number from configure.ac
Makefile.am
sea/ [New Directory]
make-sea.sh
Makefile.in
BOINC/ [THIS DIRECTORY IS SPURIOUS: NO LONGER NEEDED]
Janus 6 Jan 2005
- Added support for an "Ignore" function in the forums
Users can now ignore a list of other users. The ignored
posts will appear as filtered.
To use this the forum_preferences table needs a new
column:
ALTER TABLE `forum_preferences` ADD `ignorelist` VARCHAR( 254 ) NOT NULL ;
- Added thread name to page title in forums (from Athlonrob)
- Round scores and ratings in forum to avoid a rating of
for instance 2.999999999
/html/user
edit_forum_preferences_form.php
edit_forum_preferences_action.php
forum_thread.php
/html/inc
forum.inc
Rom 6 Jan 2005
- Bug Fix: fix crashing bug when running the old gui and new gui
side by side
- Bug Fix: Fix sync bug in new gui related to how the number of
rows were being calculated
- Bug Fix: Remove the explict call to freeze/thaw which was causing
the messages tab to flicker even when the data has not changed.
- Bug Fix: On Windows systems that support tooltip bubbles, don't
populate the regular tooltip field as it will appear before
the bubble request and makes the taskbar applet appear
ugly
- Bug Fix: The new gui should enforce closing down the core client
when it launches the core client, we were using the wxWidget
framework to do this, but the call to wxProcess::Exists causes
an assert on Windows if the process doesn't exist. And sometimes
crashes in a release build.
- Bug Fix: When syncing the views cache make sure there is at least
one item to syncronize, otherwise we'll reference a NULL pointer
and blow up. This fixes the crashing bug when you startup and
shutdown the core client in the background.
client/win/
wingui_mainwindow.cpp
clientgui/
BOINCGUIApp.cpp, .h
BOINCBaseView.cpp
ViewMessages.cpp
ViewProjects.cpp
ViewResources.cpp
ViewTransfers.cpp
ViewWork.cpp
clientgui/msw/
taskbarex.cpp
Rom 6 Jan 2005
- Bug Fix: On Windows 2000 machines or better use the GetLastInputInfo
API to determine if the system is idle or not instead of hooking
into each process space. This will fix the possible warnings
that key logging detection tools throw with BOINC is started up.
For older platforms we'll hook into the process space.
- Bug Fix: Detect system idle properties across the terminal services
boundry. Thanks to Eric Youngdale for the patch.
- Bug Fix: Detect the condition where the system tick count may have
looped back to zero.
client/
main.C
client/win/
hostinfo_win.cpp
win_idle_tracker.cpp, .h, .def
clientgui/
BOINCGUIApp.cpp, .h
BOINCTaskBar.cpp, .h
MainFrame.cpp, .h
Rom 7 Jan 2005
- Bug Fix: Provide better visuals during the connect and disconnected
states for the BOINC Manager
- Bug Fix: Provide written text describing the BOINC Manager state
- Bug Fix: Add new strings to language files
clientgui/
MainFrame.cpp, .h
stdwx.h
clientgui/res/
connect.xpm
disconnect.xpm
clientgui/locale/
< All PO files >
Janus 7 Jan 2005
- Bug fix: Don't show icon column in helpdesk - icons are not used here
- Bug fix: Filtering can now be turned off in helpdesk
- Ignored userlist is now unique and sorted by userid
(patches from Christian Beer - thanks!)
- More score rounding to avoid float inaccuracy
/html/user
edit_forum_preferences_action.php
/html/inc
forum_show.inc
forum.inc
David 7 Jan 2005
- drop the indices on mod_time.
(result: app_mod_time, workunit: wu_filedel)
For SETI@home they were too much of a performance hit.
They're needed only for db_purge and result_summary.php,
which will have to do a sequential scan instead
- db_dump: try several times to remove old stats directory
db/
constraints.sql
html/ops/
db_update.php
sched/
db_dump.C
sched_locality.C
David 7 Jan 2005
- User web: show "external" version of cross-project ID
(i.e. hashed with email_addr) in the My Account page.
It will now match what's in the XML dump files
html/inc
user.inc
Rom 7 Jan 2005
- Bug Fix: Fix compile error on Unix platforms for the BOINC Manager
- Bug Fix: Don't blow out of the core client when running as a service/daemon
and adding a project fails. Thanks to Sebastian Masch for tracking
down the bug.
client/
client_state.C, .h
cs_cmdline.C
main.C
clientgui/
BOINCGUIApp.cpp
David 7 Jan 2005
- fixes from Christian Beer to avoid undefined PHP vars
html/
inc/
db_ops.inc
ops/
db_action.php
db_form.ph
Bruce 7 Jan 2005
- Reinhard has done a substantial amount of work in the past
couple of weeks to fix a number of bugs and problems in the
X-windows and/or Mac graphics event loop, and with lockfile
handling problems seen on a number of Unix file systems. A
brief summary of the changes is:
lockfile: replace calls to exit() by boinc_finish() + make
boinc_finish() remove the lockfile
graphics-eventloop: some re-structuring and simplification to
make handling of glut-exits/abort-signals more robust. Eric,
if you could test this under Solaris we'd be very grateful.
api/
boinc_api.C
graphics_impl.C
x_opengl.C
diagnostics.C
filesys.C
Rom 7 Jan 2005
- Bug Fix: The screensaver doesn't really need to update every second. change
it to update once a minute.
- Bug Fix: The screensaver only needs to detect if BOINC is running once,
if it doesn't detect it display the not detected message.
client/win/
win_screensaver.cpp
David 7 Jan 2005
- off-by-1 error caused trivial validator to not work
sched/
validate_util.C
David 7 Jan 2005
- moved dir hierarchy code from lib/util.C to sched/sched_util.C
- buffer was too small by 1 byte in md5_file.C
lib/
md5_file.C
util.C,h
sched/
file_deleter.C
sched_util.C,h
David 7 Jan 2005
- Changed Makefile.am's to use libraries (libboinc.a, libsched.a)
instead of listing separate .o files
Makefile.incl
sched/
Makefile.am
wu_check.C
tools/
Makefile.am
backend_lib.C
dir_hier_move.C
dir_hier_path.C
David 7 Jan 2005
- Win compile fix
api/
boinc_api.C
David 7 Jan 2005
- add "ignorelist" field to forum_preferences
- add script for correcting team.nusers
(can drift away from correct value for some reason)
- User web mods:
- improve result field explanations
- user date_str() instead of time_str() when showing signup date
db/
schema.sql
html/
inc/
result.inc
team.inc
user.inc
util.inc
ops/
db_update.php
team_repair.php (new)
user/
explain_state.php
Bruce 8 Jan 2005
In order to coordinate better with David, I am doing a slightly
premature checkin of modifications to scheduling locality. The
basic idea is to provide a simple notification mechanism to the
project, so that if no work is currently available for a given
data file, there is an opportunity to make such work. This is
controlled by an additional tag in config.xml, of the form:
<locality_scheduling_wait_period> N </locality_scheduling_wait_period>
where N is some number of seconds. If this new tag is absent,
then the locality scheduler behaves as before.
The modification to behavior happens in send_results_for_file().
This is the function that queries the database to see if there are
unsent results available for a given (large) data file on the
host. Previously, if such results are not found the scheduler
gives up and tries sending other results. With this modification,
if N is nonzero, then if no results are found the scheduler
touches a file with the same name as the host's data file, in a
directory
PROJECT_ROOT/locality_scheduling/need_work/
The scheduler then sleeps for N seconds, and makes one additional
attempt to find suitable unsent results. The idea is that in this
interval, the project has an opportunity to make additional WU for
this file, which the transitioner can convert to unsent
results. [Note, the transaction for the first query is completed
before the sleep(N), and a new transaction is initiated
afterwards. So there is no 'sleep within a transaction'.] This
delay allows the project to make additional workunits suitable for
the host's existing data files.
In addition, if the project determines that NO further workunits
can be made for a given data file, then the project can touch a
file with the same name as the input data file, in a directory
PROJECT_ROOT/locality_scheduling/no_work_available/
If the scheduler finds this warning then it assumes that the
project can not manufacture additional WU for this data file and
skips the 'notify, sleep, query again' sequence above. Of course
it still does the initial query, so if the transitioner has made
some new results for an existing (old) WU, they will get picked
up.
This mechanism is robust in the sense that if the signals fail for
any reason, or (say) the WU are not converted into unsent results
quickly enough by the transitioner, or if they are snapped up by
some other host, then the scheduler simply proceeds as with its
current unmodified behavior and nothing goes wrong. In other
words, the signals can be ignored at any time and for any time
without adverse consequences.
TODO: further testing.
sched/
sched_locality.C
David 8 Jan 2005
Some changes related to locality scheduling:
- Factored Bruce's new code into a separate function,
make_more_work_for_file()
- Remove the 'id>X' stuff from queries.
Assuming that work is fairly homogeneous
(i.e. no results are rejected because of resource requirements)
this is not needed.
If a result has already been sent,
it won't qualify for the select anyway.
- Add a 'workunitid<>X' clause to the queries.
This is to make the process of enforcing the
one_result_per_wu_per_user rule more efficient.
If the rule is not in effect, X is zero (so always true)
- If two consecutive select queries return the same result,
break out of the loop (avoid undesired looping)
- Use a for i=1,100 loop instead of a while(1) loop
around the work-sending logic,
to avoid infinite loops just in case
sched/
sched_locality.C
David 8 Jan 2005
- Implement the <locality_scheduling_wait_period> element in config.xml
If present, this tells the scheduler how long to sleep
between requesting more work for a file
and looking for it (and giving up if it's not there)
If absent, the scheduler doesn't request more work unit generation.
sched/
sched_config.C,h
sched_locality.C
David 9 Jan 2005
- fix memory leak in get_insert_id()
db/
db_base.C
David 9 Jan 2005
- user profile fixes
- disallow thread titles consisting only of HTML tags
html/inc/
forum.inc
profile.inc
David 9 Jan 2005
- message board fixes - show thread titles using htmlspecialchars()
prevent invisible titles
html/
inc/
forum.inc
forum_show.inc
user/
forum_thread.php
Rom 9 Jan 2005 (boinc)
- Tag for 4.58 release, all platforms
boinc_core_release_4_58
David 9 Jan 2005
- fix a buffer overrun problem by using std::string
in DB_BASE::insert_batch()
db/
db_base.C,h
sched/
transitioner.C
David 10 Jan 2005
- client: fix bug where "requesting more work" messages
are generate every second when all projects are suspended
client/
client_types.h
cs_scheduler.C
David 10 Jan 2005
- locality scheduling changes:
Changed the algorithms a bit to avoid lots of DB queries
Invariant: for a given file/user pair,
results are sent in order of increasing ID
(i.e. the result sent is that with the smallest ID
among all those that CAN be sent).
This ensures that:
- the result for given WU will be sent around the same time
send_results_for_file():
1) of results for this file sent to this user,
find the one R with largest ID
2) find unsent result R2 for this file with next ID greater than R,
and (if one result per user per WU) different workunitid than
ALL previous results sent to this user.
3) if need more results, set R = R2 and go to 2)
send_new_file_work():
min_id = 0
while need more work
find unsent result R with id>min_id of least ID
min_id = R.id
(Note: this is necessary to preserve the invariant)
Changed make_more_work_for_file() to return zero for success
(BOINC convention)
db/
db_base.C,h
sched/
sched_locality.C
David 11 Jan 2005
more locality sched changes (with Bruce Allen)
- Added a notion of "working set" of files.
If a host doesn't have a file, the scheduler picks a
random entry from the working set and tries to send it
work from that file.
The project must supply a daemon program that maintains the working set
(could be the same as the work generator)
- Added config.locality_scheduling_send_timeout.
If any unsent result is older than this,
send it to the first eligible host
- If a host already has files, randomize their order
- Integrate work-generator invocation in send_results_for_file()
- If can't send a result because of no app_version, give up
lib/
error_numbers.h
sched/
sched_locality.C
Janus 12 Jan 2005
- Removed check for $user->disabled_filtering which no longer exists.
- Added output of CVS version information if available.
Someone with time on their hands should add the following line to all
the PHP and include files (right after the inital <php
(remove the star! - inserted to avoid having CVS generate the info...):
$cvs_version_tracker[]="\$I*d$"; //Generated automatically - do not edit
(bug and idea found by Bruce Allen)
html/inc
util.inc
forum_show.inc
Bruce 12 Jan 2005
more locality sched changes.
- bug fix 1, trivial, n % 0 generates FPE if no files.
- bug fix 2, subtle. In the deterministic hunt to find
the next unsent result, the comparison of the result name must be
done with the lexically maximum result name constructed from the
given filename. Eg, if one needs name>FILE_ZZZZ...Z where
Z=0xff (is this charset independent??) and the total name length
is 255 (or is it 254??).
- David, I'll clean out some of the debugging scaffolding in a few
more days, when I get some confidence that there are not other
problems to fix! Please read embedded comments/questions in code.
- Some more comemnts added later. We do sometimes get non-zero
return values from possibly_send_result(). I think that this is
because you've failed to match up the start_transaction and
commit_transaction pairs. Be careful: sleeps AND modifies the
DB. Right now I am too tired to fix this without making it worse.
Your turn.
- A few other comments. Currently, I am 'advertising' filenames
returned by get_working_set_filename() for TWO types of files:
(1) those for which I can make more work
(2) those for which I can NOT make more work, but where you have
not flagged with flag_for_possible_removal().
I am not sure that I understand the intent of
flag_for_possible_removal(). You surely are not guaranteeing
that no results will ever appear in the future for these files
(outstanding results might fail). So what is my WU generator
supposed to do with flag_for_possible_removal? Is (2) above
correct?
- Finally, I have not yet seen a SINGLE instance of a
flag_for_possible_removal. Is the logic right?
sched/
sched_locality.C
David 12 Jan 2005
- xml_escape() and xml_unescape(): handle non-ASCII characters
lib/
parse.C
Rom 12 Jan 2005
- Bug Fix: Fix the bug where the screensaver wasn't saving the
configuration settings to the registry without the prep
work done by the previous installer.
client/win/
win_screensaver.cpp, .h
Bruce 13 Jan 2005
- Various efforts to fix CVS 'loginfo' file so that we get auto
mailings of changes to the top level directory. The main problem
is that one can't use "^boinc[ ]" or "^boinc\ " or
"^boinc\#20" as a regex to try and match the name of the top
level directory with no trailing slash. What a mess!
- More work on sched_locality.C. Note that the 'wacky' warning is
actually not impossible. Consider the following scenario: WU A
has result 1 and WU B has result 2. These are both sent to a
host. Some time later, result 1 fails and the transitioner
creates a new result, result 3 for WU A. Then the host requests
a new result. The maximum result already sent to the host is 2.
The next unsent result (sorted by ID) is #3. But since it is
for WU A, and since the host has already gotten a result for WU
A, it's infeasible. So I think this is only wacky if
!one_wu_per_result_per_host.
- David, I simplified the inner part of send_results_for_file()
somewhat. I can't see the need/use for the bool bool
in_working_set argument. If I have really screwed the pooch
please revert.
sched/
sched_locality.C
David 13 Jan 2005
- Core client: when get a workunit from scheduler,
clear errors (e.g. download failures)
for all files associated with this WU
(this is down in a new function WORKUNIT::clear_errors())
Without this, if a file common to multiple WUs had a download
failure, all WUs would fail until user resets project!!
- Giant bug in HTTP file transfer:
If a network connection failed in the middle,
it wasn't being distinguished from a completed download;
the file size would be checked at the PERS_FILE_XFER level,
and it would get a "bad file size" fatal error.
Fix: when get EOF from a network connection reading HTTP reply,
compare the bytes transferred with the content-length
from HTTP header.
If not equal, classify it as an error.
This will cause higher levels to view it as a transient error,
and restart the download later.
- PERS_FILE_XFER::poll():
the check for actual file size == desired file size
was inexplicably being done even for file uploads,
and even in cases where another error had occurred.
Do it only for download success cases.
client/
client_types.C,h
cs_scheduler.C
http.C
pers_file_xfer.C
Rom 13 Jan 2005 (boinc)
- Tag for 4.59 release, all platforms
boinc_core_release_4_59
David 13 Jan 2005
- user web: in thread page, show numbered lists of pages correctly
Also get rid of goofy big/bold stuff
- page_tail(): use the current year (not necessarily 2004) for copyright
- add warning about CPU overheating to Rules/Policies page
- use tables for result state explanations
html/
inc/
forum_show.inc
util.inc
user/
explain_state.php
info.php
David 13 Jan 2005
- add "hidden" fields to thread and post tables,
in preparation for message board moderation features
NOTE TO PROJECTS: apply this update if you're using current PHP.
It doesn't hurt to apply it anyway.
db/
schema.sql
html/ops/
db_update.php
Rom 13 Jan 2005
- Checkin the changes necessary to hide threads in the forum code.
By: Rob Ogilvie
- Hidden threads should not be visible through a direct call
html/inc/
forum.inc
html/user/
forum_thread.php
David 13 Jan 2005
- modified DB_BASE::enumerate() so that it returns:
- zero if returning a row
- ERR_DB_NOT_FOUND if reached end of result set
- other values indicated DB errors (e.g. lost connection to server)
Strange as it may seem, until now we didn't have a way of
knowing that enumerate() had errored out.
As a result, e.g., db_dump would happily generate
a zero-entry user or host file
if the DB happened to disconnect during the select.
- changed db_dump.C to check error returns from enumerate(),
and exit() on DB failure
- changed xml_escape() to completely remove
control characters except for 9, 10, 13
db/
db_base.C
lib/
error_numbers.h
parse.C
sched/
db_dump.C
David 14 Jan 2005
- Fix problems with backslashes in forum titles;
also kludge display so old titles with extraneous backslashes
are shown without them
html/inc/
forum.inc
David 14 Jan 2005
- fix to fix in msg board code
html/inc/
forum_show.inc
Rom 14 Jan 2005
- Bug Fix: The screensaver was passing the raw blank time (number of
minutes) instead of when in unix time format the screen should go
blank (number of seconds).
client/win/
win_screensaver.cpp
Karl 2005-01-16
- Added support for specifying db_{user,passwd} when creating projects
tools/
make_project
py/Boinc/
setup_project.py
Bruce 17 Jan 2005
- Additional work on locality scheduling.
(a) make DB queries more efficient using name>'FILE__' and
name<'FILE__~' rather than name like 'FILE__%'
(b) Set 'no remaining work for this file' flag correctly
by making a DB scan if needed.
One can show that this is the 'cheapest'
reliable place to put this scan.
(c) Modify deterministic algorithm for finding unsent results
so that instead of starting with FILE="" and scanning forward
over all files, it starts at a random place in file space,
scans cyclicly to the end, and then from "" to the start point.
(d) Satisfy work request if possible.
Don't terminate sending work until none left that is feasible,
or request satisfed.
(e) If a new file is needed, first pick file associated with unsent
results which are more than 2 hours old.
Note: need to make this a user-configurable option,
and add some random +- slack.
For the record, here is the current locality scheduler logic.
I will update the docs once this is a bit better tested and
stable.
(1) If there is an (one) unsent result which is older than
(1) config.locality_scheduling_send_timeout (7 days) and is
(1) feasible for the host, sent it.
(2) If we did send a result in the previous step, then send any
(2) additional results that are feasible for the same input file.
(3) If additional results are needed, step through input files on
(3) the host. For each, if there are results that are feasible for
(3) the host, send them. If there are no results that are feasible
(3) for the host, delete the input file from the host.
(4) If additional results are needed, and there is (one) unsent
(4) result which is older than 2 hours and is feasible for the
(4) host, send it.
(5) If we did send a result in the previous step, then send any
(5) additional results that are feasible for the same input file.
(6) If additional results are needed, select an input file name at
(6) random from the current input file working set advertised by
(6) the WU generator. If there are results for this input file
(6) that are feasible for this host, send them.
(7) If additional results are needed, carry out an expensive,
(7) deterministic search for ANY results that are feasible for the
(7) host. This search starts from a random filename advertised by
(7) the WU generator, but continues cyclicly to cover ALL results
(7) for ALL files. If a feasible result is found, send it. Then
(7) send any additional results that use the same input file. If
(7) there are no feasible results for the host, we are finished:
(7) exit.
(8) If addtional results are needed, return to step 4 above.
sched/
sched_locality.C
David 17 Jan 2005
- don't start apps until after benchmark
(may work around CPDN bug)
client/
client_state.C
Rom 17 Jan 2005
- Bug Fix: Remove the ability for the CC to exit when a project fails to
attach. This now keeps the CC from exiting for te Single and Shared
install types as well.
- Bug Fix: Remove the readme options from setup.
- Bug Fix: Enable the checkboxes in setup by default.
client/
main.C
win_build/installerv2/
BOINC.ism
win_build/installerv2/redist/0409
readme.txt
win_build/installerv2/redist/windows
BOINC.vbs
Janus 18 Jan 2005
- Initial test-version of the moderation system
Please test the current features (deleting posts, moving posts) and see
if this is how it should be done.
The rest is mostly copy-paste work as the same design can be used for
threads as well.
This update includes:
- Deleting posts
- Moving posts
- Sending email notice to post author
- Users cannot edit their posts more than 1 hour after creating them
- Deleted posts are only shown to moderators
- Inversion of $filter_on in getThreads and getPosts (!)
Now the bit means "show deleted posts/threads" and defaults to off
- New special user bitfield
Due to the new special user bitfield you must redefine who is who in your
project. Currently this is done manually (idea for the ops page, anyone?)
This is how the bitfield is used:
1st bit = Moderator
2nd bit = Project Admin
3rd bit = Project dev
4th bit = Project tester
5th bit = Volunteer dev
6th bit = Volunteer tester
7th bit = Project Scientist
So if I'm a project admin and want to be moderator as well, I would
do the following SQL query:
Update forum_preferences set special_user = '1100000' where userid=42
html/
user/
forum_edit.php
+forum_moderate_post.php (new)
+forum_moderate_post_action.php (new)
inc/
forum.inc
email.inc
+forum_moderators.inc (new)
ops/
update_db.php
David 18 Jan 2005
- user web: general code cleanup,
and increased use of stylesheets for formatting
rather than hard-wired HTML
- use tables for profiles
- change way profiles are rated
html/
inc/
forum.inc
prefs.inc
profile.inc
util.inc
user/
forum_edit.php
forum_help_desk.php
forum_sample_index.php
forum_thread.php
profile_rate.php (new)
profile_search_action.php
view_profile.php
white.css
sched/
db_dump.C
David 18 Jan 2005
- fix "added clauses" feature of admin web DB interface
html/inc/
db_ops.inc
David 18 Jan 2005
- added --cron-tasks option to start
(does periodic tasks but doesn't start daemons)
From David Hammer.
This should arguably be used instead of --cron
because if daemons are crashing you'll find out about it sooner.
sched/
start
David 18 Jan 2005
- added <min_core_client_version> element to SCHED_CONFIG.
Lets the scheduler turn away clients below a certain version
without doing a lot of work
(especially important for locality scheduling)
doc/
configuration.php
sched/
sched_config.C,h
handle_request.C
David 18 Jan 2005
- initial checkin of RPCs for account management systems: see
http://boinc.berkeley.edu/acct_mgt.php
NOTE: to use this feature, you'll need to update your DB
using update_1_19_2005()
html/
ops/
db_update.php
user/
am_confirm.php
am_create.php
am_query.php
Bruce 19 Jan 2005
- Patches from Reinhard Prix to fix several problems.
(1) apps being suspended would call boinc_finish(nonzero) and
core client would treat this as app failure. Introduce
a new function boinc_exit() and call that instead.
(2) improvements to GUI build with wxWidgets
(3) improved X event handling loop now ensures that X window
is taken away when window killed.
configure.ac
clientgui/
Makefile.am
api/
boinc_api.h
boinc_api.C
x_opengl.C
lib/
filesys.C
David 19 Jan 2005
- don't show rating buttons when user looks at their own profile
html/inc/
profile.inc
uotd.inc
David 19 Jan 2005
- Change the logic in CLIENT_STATE::do_something to
avoid unsuspending activities before starting them
- change CLIENT_STATE::check_suspend_activities() from int to void
Checked these changes into boinc_public also
client/
client_state.C,h
cs_prefs.C
David 19 Jan 2005
- db_dump: deleting the old stats dir with /bin/rm -rf
fails sometimes ("dir is not empty").
If this happens, try renaming it.
sched/
db_dump.C
Bruce 20 Jan 2005
- From Reinhard Prix. At Rom's request, this builds the
Linux client and clientgui using static rather than
dynamic linking to the gcc C++ lib. Note that modifying
this to do the same whenever gcc is used (not just under
Linux) might be desirable.
configure.ac
client/
Makefile.am
clientgui/
Makefile.am
David 20 Jan 2005
- Added cross-project IDs for hosts.
This lets statistics sites show work per host, summed over projects.
Implementation:
Hosts generate their own "internal" CPIDs,
using an MD5 of time/domain/IP/disk_free.
This should be unique across that user's hosts.
It's stored in the HOST_INFO structure and sent to server.
The server hashes the internal CPID with the user's email address
and stores the resulting "external" CPID in the host table.
It is included by db_dump in <host> elements.
PROJECT NOTE: if you use this server code you will need
to apply update_1_20_2005() from html/ops/db_update.php to existing DBs
client/
client_stats.h
hostinfo_unix.C
win/
hostinfo_win.cpp
db/
boinc_db.C,h
schema.sql
html/ops/
db_update.php
lib/
hostinfo.C,h
sched/
db_dump.C
handle_request.C
server_types.C
start
David 20 Jan 2005
- scheduler compile fix for Solaris
sched/
sched_locality.C
David 20 Jan 2005
- client: strip whitespace from command lines
(prevents buildup of CRLFs in state file)
- in filesys.C, replaced #ifndef NDEBUG with #if 0
to fix Windows compile
client/
client_types.C
lib/
filesys.C
David 20 Jan 2005
- converted code to LGPL license
(essentially all files)
Rom 20 Jan 2005
- Bug Fix: Remove some code that was keeping half of the
check_suspend_activities conditions to be skipped.
NOTE: basically this was causing BOINC to alternate
between suspended mode and non-suspended mode twice
a second because the check for user idle activity
happened after we returned from the function which
means that reason was returning 0, meaning we shouldn't
be suspended.
- Bug Fix: Setting activities_suspended should happen outside
the check for tasks_restarted, since it is used later in
the function, and activities_suspended may not be what
we expect it to be.
- Cleanup: In the idle detection routine save the needed values
to a variable so we can see them as we are steping though
the code, let the optimizer deal with it on release builds.
- Bug Fix: Remove the Modify option in setup, our setup is an
all or nothing deal.
- Bug Fix: Configure setup for automatic upgrades, this requires
the previous MSI databases from the builds we release to
public.
NOTE: I need to talk to David about this a little bit, but
I think it is doable.
- Bug Fix: Fix the screensaver load up problem where it was
taking 60 seconds before the first text was displayed.
NOTE: This reintroduces a bug where the screensaver slows to
a crawl when boinc isn't running in the background. I
think I've figured out a solution to it, but I didn't get
the code written for this release.
client/
client_state.C
cs_prefs.C
client/win
hostinfo_win.cpp
win_screensaver.cpp, .h
win_build/installerv2/
BOINC.ism
Rom 20 Jan 2005 (boinc)
- Tag for 4.60 release, all platforms
boinc_core_release_4_60
David 20 Jan 2005
- Add external_ip_addr field to host table.
This is the REMOTE_ADDR reported by Apache
when the host contacts the scheduler.
May be different from the IP address reported by the host
(e.g. if the host is behind a NAT)
NOTE: project must update their databases
(html/ops/db_update.php, update_1_20a_2005())
to use this code.
db/
boinc_db.C,h
html/ops/
db_update.php
sched/
handle_request.C
David 21 Jan 2005
- Make it possible to abort/suspend/resume
results even when they're not active (i.e. not ACTIVE_TASK exists)
- move suspended_via_gui flag from ACTIVE_TASK to RESULT
- add aborted_via_gui flag to RESULT
- if start a task whose result is aborted_via_gui, abort immediately
- suspended results aren't eligible to start
- GUI RPCs that modify state set dirty flag
client/
app.C,h
client_state.C
client_types.C,h
cs_account.C
cs_apps.C
gui_rpc_server.C
David 21 Jan 2005
- rename ACTIVE_TASK::state to task_state
(to avoid confusion with RESULT::state)
- remove ACTIVE_TASK::exit_status
(just use RESULT::exit_status)
- when start result aborted via GUI, set its exit status accordingly
- CLIENT_STATE::app_finished():
don't deal with output files if task was aborted via GUI
client/
app.C,h
app_control.C
app_start.C
cs_apps.C
David 21 Jan 2005
- finalize result correctly when aborted via GUI
- add aborted_via_gui flag to GUI RPC's version of RESULT
(the BOINC manager needs to look at this flag)
client/
app_control.C
app_start.C
lib/
gui_rpc_client.C,h
Rom 22 Jan 2005
- Bug Fix: Upgrades of BOINC should now work correctly, any new
version of BOINC should automatically uninstall the previous
version before installing the new version.
NOTE: The ProductCode has to be changed between each version or
the installer will believe it is a minor version change and
not prompt the UI, it'll just overwrite the files.
win_build/installerv2/
BOINC.ism
Janus 23 Jan 2005
- When listing a user's posts, only display deleted posts to the
author or moderators. When displaying them, display additional
info as to why the post was deleted.
(by Jens Seidler)
html/user
forum_user_posts.php
html/inc
forum.inc
Bruce 24 Jan 2005
- Fixes from Christian Beer for ops pages to approve profiles and
to errors in the previous 20/next 20 links when 'additional
clauses' is non-empty. Restore missing project_footer() function.
- From Bernd Machenschalk, build self-extracting installer under
Solaris, now works with normal Sun/Solaris make (don't need gnu make).
html/
inc/
db_ops.inc
profile.inc
project.sample/
project.inc
David 24 Jan 2005
- Save proxy user names and passwords to disk in XML-escaped form
(so passwords of the form X<Y will get parsed correctly)
lib/
proxy_info.C
Rom 24 Jan 2005
- When the server requests a delay, make sure we do not overwrite
the min_rpc_time, which has already been set to the proper
delay time.
client/
cs_scheduler.C
scheduler_op.C
lib/
error_numbers.h
David 24 Jan 2005
- Amend the above checkin so that a scheduler reply
is handled completely even if there's a delay request
client/
cs_scheduler.C
scheduler_op.C
lib/
error_numbers.h
Rom 24 Jan 2005 (boinc)
- Tag for 4.62 release, all platforms
boinc_core_release_4_62
NOTE: 4.61 was eaten up in setup testing.
Rom 24 Jan 2005
- Modify configure.ac so that I can try and build the client and
clientgui with the static stdc++ library.
/
configure.ac
David 25 Jan 2005
Policy change: apps of non-CPU-intensive projects are never suspended
- Change ACTIVE_TASK_SET::suspend_all() and unsuspend_all()
to skip non-CPU-intensive projects.
- Ignore GUI RPC requests to suspend non-CPU-intensive projects or results
- Add the non_cpu_intensive flag to GUI RPC's PROJECT structure.
GUIs should not show suspend/resume buttons
for non-CPU-intensive projects or results
client/
app_control.C
gui_rpc_server.C
lib/
gui_rpc_client.C,h
html/project.sample/
project.inc
Rom 25 Jan 2005
- Allow BOINC Manager to search for it's localization catalog files in
a sub directory called 'locale' like it does in Windows.
- The options dialog should grow in size with the different languages,
add a notebook sizer to the mix.
clientgui/
BOINCGUI.pjd
BOINCGUIApp.cpp
DlgOptions.cpp
David 26 Jan 2005
- commented out code in scheduler that notifies user
if a newer core client exists in this project's DB.
Projects don't generally keep track of CC versions any more
sched/
handle_request.C
David 26 Jan 2005
- Reinhard's patch to configure.ac
configure.ac
Rom 26 Jan 2005
- The worker thread priority for a science application should be lowered
for both the graphics capable application and non-graphics capable.
- The graphics thread priority should now be set to a normal thread
priority level instead of high.
NOTE: The above changes were only implemented for Windows right now,
the pthread version of this stuff needs to be done.
api/
boinc_api.C, .h
graphics_impl.C
David 27 Jan 2005
- feeder: improved error message when table overflows shared-mem structure
Also, exit(1) in this case
sched/
sched_shmem.C
David 27 Jan 2005
- build fixes from Reinhard
configure.ac
Rom 27 Jan 2005
- Include some of the battery status flags in the decision when trying to
determine if a notebook is on battery power.
client/win
hostinfo_win.cpp
David 27 Jan 2005
- Enhancements to update_versions
- allow a multi-file app version to include multiple executable files
All files with the u+x bit set are treated as executable
- set min_core_version and max_core_version to zero.
Shouldn't be setting these to anything nonzero here.
Projects are no longer expected to maintain core versions.
py/Boinc/
tools.py
tools/
update_versions
David 27 Jan 2005
- scheduler reply includes scheduler's version info
sched/
server_types.C
David 27 Jan 2005
- db_dump: instead of deleting old stats, move them to a directory
whose name includes the current date
sched/
db_dump.C
David 27 Jan 2005
- added utility programs to tools/ (from Christian Sttrup)
tools/
kill_wu.C
poll_wu.C
David 27 Jan 2005
- API: move code to get worker thread handle,
and set its priority, to set_worker_timer().
This function is guaranteed to be always called
by the worker thread, and only by the worker thread.
Got rid of boinc_adjust_worker_thread_priority().
- removed LHC@home-specific function from boinc_api_fortran.C
api/
boinc_api.C
boinc_api_fortran.C
graphics_impl.C
David 27 Jan 2005
- core client: initialize PROJECT structure more thoroughly
client/
client_types.C
David 28 Jan 2005
- typo in server_types.C
sched/
server_types.C
David 28 Jan 2005
- core client: in MESSAGE_DESC
(used to save messages, so they can be sent to core client)
store project name, instead of pointer to project.
By the time we send msg to GUI, the project object might be deleted!
- improve time_stats
client/
client_msgs.C,h
client_state.C
gui_rpc_server.C
time_stats.C,h
David 28 Jan 2005
- when including FILE_INFOs for sticky files in scheduler request,
include the file size and status
(0=not present, 1=present, else error code)
- change TIME_STATS::last_update from int to double
client/
cs_scheduler.C
time_stats.C,h
David 28 Jan 2005
- core client: add notion of CONNECTED_STATE;
can be CONNECTED, NOT_CONNECTED, or UNKNOWN.
Implemented get_connected_state() on Windows
- if connected state is UNKNOWN,
TIME_STATS::connected_frac is set to -1
- rewrote TIME_STATS::update().
Seems to work in testing.
client/
client_state.C
hostinfo_network.h
hostinfo_unix.C
time_stats.C,h
win
win_net.cpp,h
Rom 28 Jan 2005
- Check to see if we are already connected to the core client before
attempting to get the activity state and network state.
- Change the dynamic object array for the view caches to a vector for
a perf increase, and to cleanup a possible crashing error.
- Add aditional asserts in the base view to check for a possible cache
inconsistency.
- Remove an out of date file from the build list.
clientgui/
BOINCBaseView.cpp, .h
MainDocument.cpp
ViewMessages.cpp, .h
ViewProjects.cpp, .h
ViewResources.cpp, .h
ViewTransfers.cpp, .h
ViewWork.cpp, .h
win_build/
BOINCGUI.vcproj
winbuild/installerv2/
BOINC.ism
Rom 29 Jan 2005
- Cleanup memory leaks due to the conversion to vectors.
clientgui/
ViewMessages.cpp
ViewResources.cpp
ViewTransfers.cpp
ViewWork.cpp
Rom 29 Jan 2005
- We had an interesting crash condition where the GUI would crash while
requesting for a run mode update, aparently the core client has some
junk appended to the end of the RPC, so this allows the cliet-side
code to deal with this condition.
lib/
gui_rpc_client.C
David 29 Jan 2005
- make_work: fixed a basic design problem.
Its main loop creates workunits until the number of
sendable results reaches the "cushion" level.
This worked OK in the old days when creating a workunit
created its results; but these days the transitioner does that.
So make_work would end up creating way more workunits
than it's supposed to.
The fix: estimate how many WUs to create
(based on wu.target_nresults).
Make that many, then sleep for 10 seconds
(give the transitioner a chance to create the results).
- Another problem: the "master WU" used by make_work could
get deleted by file_deleter and db_purge.
Kludgy but effective solution:
change file_deleter and db_purge to ignore WUs whose
name includes "nodelete".
Call your master WU "wu_nodelete".
- change dir_hier_path so that it just prints the pathname of the file,
so you can use it in scripts
sched/
db_purge.C
file_deleter.C
make_work.C
tools/
dir_hier_path.C
David 30 Jan 2005
- fixed bug in xml_unescape(). Didn't parse special chars correctly
lib/
parse.C
David 30 Jan 2005
- user web: slight cleanup
- reduced verbosity in profile page
- moved "you may use HTML tags" to function
html/
inc/
profile.inc
util.inc
user/
edit_forum_preferences_form.php
edit_user_info_form.php
forum_post.php
Bruce 31 Jan 2005
- scheduler changes: if host is not getting any work because available
disk space is < 0, delete files which have <sticky> and <report_on_rpc>
set. Note that (1) this deletion simply removes the <sticky> tag, so
file won't be deleted until after all WU that depend upon it are
completed and (2) the mechanism to determine which file to delete
could be improved. TODO: improve messages to hosts which have no file
space and ALSO have no files to delete.
- scheduler changes: locality scheduling. Clean up code which makes a
deterministic search of results to delete. Data files names can not
contain the "~" character!
- modified the send_new_file_work() function to look for unsent work
starting with a random time 6 to 12 hours ago.
- scheduler changes: added a simple debugging mechanism for scheduler
requests/replies. If you touch a file named 'debug_sched' in the project
root, then files called sched_reply_HOSTID_RPCNO and
sched_request_HOSTID_RPCNO will be created
under cgi-bin/ which contain the scheduler replies. You can turn on
this mechanism for some time to study the scheduler replies.
- David, the write() function that I added to SCHEDULER_REQUEST can
probably be done better. It would be nice if all the classes that
this includes an instance of had their own write() functions: it
would make debugging very easy.
sched/
handle_request.C
sched_locality.C
server_types.h
server_types.C
Eric K. 31 Jan 05
Fixed typo in lib/parse.C
lib/parse.C
Janus 31 Jan 05
- Added functions to read and parse .po translations for the webinterface.
- Changed apps.php to use these new functions as an example.
- Added a tiny example language interface file
- Added language files (that are valid with regards to the interface) for
English and Danish as an example
The script (Apache or whatever webserver is used) must have write-
access to the /languages/compiled directory as well as /languages/. It
will create compiled versions of the interface file and language files the
first time a page is accessed after a new language file or interface file
has been installed.
To output something that can be translated, a page can use:
echo tr(MY_TOKEN);
where MY_TOKEN is the token-name used to identify the text that will be
output. To actually be allowed to write and use MY_TOKEN, the token must
be added to the language interface. The language interface file is simply
a file containing all the valid tokens listed one per line. Adding
MY_TOKEN
to the bottom of the file will make "MY_TOKEN" a valid token.
Whenever you add a new token to the interface you _should_ at least add
the text to the english language file located in
/languages/translations/en.po
This file is used as default language and will be used as fallback in case
a translator for another language does not provide a translation for your
particular token (which especially will be the case when you add a new
token).
You should be able to add comments using a # as the first char in a line -
at least in the .po-files.
Future plans: 1) An expansion for project specific translations which can
be independently maintained by the project.
2) Language selection in user prefs (to override browser defaults)
3) Even better automatic language detection
html/
inc/
translation.inc (new)
languages/ (new)
language_interface (new)
translations/ (new)
da.po (new)
en.po (new)
user/
apps.php
David 31 Jan 2005
- Make it possible for a scheduler RPC reply to include several "messages",
each with its own message body and priority.
This involved changes to both scheduler and core client.
If the current core client gets several messages,
it will display only the last one.
client/
cs_scheduler.C
scheduler_op.C,h
sched/
handle_request.C
sched_send.C
server_types.C,h
David 31 Jan 2005
- Made WORK_REQ into a member of SCHEDULER_REPLY.
This makes it available in handle_request()
in case you want to send user messages based on it.
Also reduces the number of structs that have to be
passed around everywhere.
- Fixed formatting in sched_locality.C.
Bruce: please use 4-space indentation, no tab chars
sched/
sched_locality.C,h
sched_send.C,h
server_types.C,y
David 31 Jan 2005
- Changed the way the core client handles <delete_file_info> elements
in scheduler RPC replies.
Old: clear the FILE_INFO's sticky bit
New: set a FILE_INFO::marked_for_delete flag.
An unreferenced file will be deleted if this flag is set,
regardless of whether the sticky flag is set.
If the marked_for_delete flag is set,
it won't be reported in scheduler RPCs,
even if the report_on_rpc flag is set.
This avoids situations where a server asks the client to delete a file,
but later sends work to that file
because it's reported in an RPC file list
client/
client_state.C
client_types.C,h
cs_scheduler.C
David 31 Jan 2005
- Core client: moved initialization stuff to new boinc_init();
change main() so that it calls boinc_init(),
then does platform-specific stuff,
then calls boinc_main_loop()
This ensures, e.g. that check_unique_instance() is called
before most other stuff
client/
main.C,h
win/
win_service.cpp
Rom 31 Jan 2005
- Implement log files for the BOINC Manager
- Implement call stacks, and memory leak detection for the BOINC Manager
on Windows
- Implement log rotation for both the core client and manager
- Implement stderr and stdout redirects with the core client
- Make the manager start the core client with IO redirection enabled
- Cleanup some more memory leaks in the BOINC Manager
- Enabled the STL use of the debug heap on Windows
client/
client_state.C, .h
cs_cmdline.C
cs_files.C
file_names.h
main.C
client/win/
wingui_mainwindow.cpp
clientgui/
BOINCGUI.cpp, .h
LogBOINC.cpp, .h (Added)
Makefile.am
ViewProjects.cpp
ViewMessages.cpp
ViewResources.cpp
ViewTransfers.cpp
ViewWork.cpp
stdwx.h
lib/
diagnostics.C, .h
win_build/
BOINCGUI.vcproj
Rom 31 Jan 2005
- Move the SetCurrentDirectory call to boinc_init() from service_main()
which was causing the log files to be put into the system32 directory.
Fixes start as service setup case.
- Flush stderr as well as stdout in boinc_init()
- Remove needless calls to PostMessage from check_unique_instance()
- Adjust BOINC Manager so that it can properly detect if it can open
a connection to the core client so that it can determine
if it needs to start it. Fixes single user setup case.
Should I make a complete API call in case another application
has port 1043 open?
- Cleanup exception.C out of the core client project.
client/
file_names.C
main.C
clientgui/win/
win_service.cpp
clientgui/
BOINCGUIApp.cpp
MainDocument.cpp, .h
win_build/
boinc_cli.vcproj
David 1 Feb 2005
- scheduling server: if host is 4.62 or earlier, concatenate messages
sched/
server_types.C
David 1 Feb 2005
- MFILE's buffer was not being maintained as NULL-terminated.
This caused problems with GUI RPC, where the buffer was
transferred to code that expected it to be NULL-terminated
lib/
mfile.C,h
Rom 1 Feb 2005
- Implement the UI for aborted results that have not been executed before.
- Initialize aborted_via_gui since wxWidgets initializes bools to true.
clientgui/
MainDocument.cpp, .h
ViewWork.cpp
lib/
gui_rpc_client.C
Rom 1 Feb 2005 (boinc)
- Tag for 4.63 release, all platforms
boinc_core_release_4_63
Bruce 2 Feb 2005
- Fixed trivial bug in scheduler which caused messages sent to clients
< 4.62 to be interchanged with their priority. So if the message was
supposed to be 'No work available' with priority 'low', the actual
message sent was 'low'.
sched/
server_types.C
Bruce 2 Feb 2005
- Improvements to the file deletion mechanism. Now try removing files if
no work was sent to hosts, and available space<0 OR if available space>0
but work was unfeasible because the disk bound requirements of the work
exceeded the available space.
- Added a new config.xml boolean element called 'choose_download_url_by_timezone'
This requires that projects provide a 2-column file in the project root named
'download_servers'. An example is:
3600 http://einstein.aei.mpg.de
-21600 http://einstein.phys.uwm.edu
The first column is offset from UTC in seconds, and the second column is the URL
of the download server. When enabled, the scheduler will replace the download
path for data and executables by a list of download URLs, ordered by proximity
to the host's timezone. The download path must start with the
BOINC default download/ and the different download servers must have identical
file paths under download/, in other words they must be mirrored.
- Really exciting news, David: I have finally gotten emacs to obey your
indentations and formatting conventions, apart from doing this:
some_function(foo, bar
);
instead of this:
some_function(foo, bar
);
Emacs experts, advice appreciated!
doc/
configuration.php
server_debug.php
sched/
sched_config.h
sched_config.C
sched_send.C
handle_request.C
Rom 2 Feb 2005
- Moved localization resources to the root of the project per a discussion with
Janus, basically we are going to try to have all the localization material
for the web/Forum and clients all in one place.
clientgui/locale/
<all directories and files deleted>
locale/
<all localization files for the client are now here>
Bruce 2 Feb 2005
- Made the caching of md5 info for source files a configuration option in
config.xml. Use the boolean tag <cache_md5_info> to enable it.
This prevents the work generation library from having to go back and
continuously regenerate the md5 sums of your input data files. Note
that reading these from disk can be expensive if you have many such files
that are large and that you re-use. See check-in notes from 30/31 Dec 2004
for some details.
doc/
configuration.php
sched/
sched_config.C
sched_config.h
tools/
backend_lib.C
Rom 2 Feb 2005
- Bug Fix: Adjust the manager so that it'll set it's current directory
to that of its installed location.
This will fix the bug of the log files ending
up where the installer is executed from.
- Bug Fix: Remove the message cache from the message view in the manager.
This should clear up a crashing problem that seems to
strike the Win9x platform.
clientgui/
BOINCGUIApp.cpp
ViewMessages.cpp, .h
David 2 Feb 2005
- Scheduler: make things more uniform between locality
and non-locality (work array) scheduling.
Both cases use the following functions:
1) call wu_is_feasible() to see if the host has enough
disk, memory, and CPU speed to handle a result.
(added this to locality scheduling)
2) call add_result_to_reply() when you decide to send a result.
This updates database and SCHED_REPLY.
- If using locality scheduling, add_result_to_reply() doesn't
decrement wreq.disk_available,
since several results may involve the same file.
BRUCE: we need to decrement disk_available in
the locality scheduling code.
- add disk space check to wu_is_feasible()
(and removed it from scan_work_array())
- simplified the args of wu_is_feasible()
- work_needed(): if wreq.disk_available is <= zero,
set the wreq.insufficient_disk flag and return false.
NOTE: this and wu_is_feasible() are now the only places
where we disk space is checked
lib/
error_numbers.h
sched/
sched_locality.C
sched_send.C,h
David 2 Feb 2005
- core client: add platform name and client version to HTTP request headers
client/
http.C
Rom 2 Feb 2005
- Bug Fix: The screensaver really should call UpdateErrorBox frequently,
otherwise the error box ends up being drawn outside the visible region
of the window, which gives the impression that the screen has gone blank.
- Bug Fix: Give the core client enough time to actually cycle through all
the capable graphics applications before acting on the error codes.
client/win/
win_screensaver.cpp, .h
Rom 2 Feb 2005
- Bug Fix: Ops, when deleting a bunch of code, make sure all of it really
isn't needed. When the manager looses the core client reset the message
sequence back to zero so when we detect the core client again we can
get all the messages.
clientgui/
MainDocument.cpp
Rom 2 Feb 2005
- Tag for 4.64 release, all platforms
boinc_core_release_4_64
Rom 2 Feb 2005
- Use the same technique to statically link nsl and socket for the client
as the clientgui.
- move the apps directory from the API_SUBDIRS variable to the
SERVER_SUBDIRS variable since we really don't need to build the
sample applications when all we really want is just the boinc client
tools.
/
configure.ac
Makefile.am
Rom 3 Feb 2005
- Bug Fix: On machines older than Windows 2000 don't attempt to use memory
mapped files as an IPC mechinism for trapping when the last keyboard
or mouse input has happened. It's just easier to use the DLL shared
memory segment, and keeps us from crashing due to the fact that the
init function isn't called before the hook functions in external
processes.
client/win/
win_idle_tracker.cpp
Bruce 3 Feb 2005
- core client: add platform name and client version to HTTP request headers
when going via a proxy server. See David's change just above from 2 Feb.
client/
http.C
David 3 Feb 2005
- when get a FILE_INFO in a scheduler RPC reply,
replace the current list of URLs
with the list in the scheduler reply
client/
client_types.C
David 3 Feb 2005
- include platform name and client version in all GET and HEAD
HTTP request headers.
(but not POST - not needed since included in request body)
Note: would be nice to include host ID, but that info
isn't available at the HTTP level
client/
http.C
Rom 3 Feb 2005
- Bug Fix: Fix a localization problem where the application version
number was being localized when it shouldn't be.
- Bug Fix: The dwBlankTime variable is initialized at screensaver
startup instead of when BOINC is notified to start the screensaver.
This should fix the case where the blank time is longer than
the project cycle time.
- Bug Fix: Fix the version number display for a science application
in the work tab. It shouldn't use the localization rules.
- Bug Fix: In the transfers tab, replace upload with transfer.
- Bug Fix: In the work tab, replace "Quick Tips" with just "Tips"
to be consistent with the rest of the tabs.
- Bug Fix: Additional check to see if any new messages have been added
before changing the visible messages in the message tab.
- Bug Fix: Change the default blank time to 5 minutes.
- Bug Fix: Remove the ability for us to affect the secure password
option on NT based machines.
- Bug Fix: Check to see if we are running setup on an NT 4.0 box
acting as a Domain Controller, if we are warn the admin that
they'll have to manually set the 'LogonAsService' right themselves
with the User Manager for Domains, and then set the setup flag to
false.
- Bug Fix: Reorder the Service setup dialog so that there are entries
after the password confirmation edit box which gives us the extra
step needed to enable the next button.
- Bug Fix: Enable the 'Property as Integer' bit of the various checkboxes
we use in setup so that when somebody unchecks the damn checkbox it
finally does what I expected it to do in the first place.
client/win/
win_screensaver.cpp, .h
clientgui/
ViewWork.cpp
ViewTransfers.cpp
ViewMessages.cpp
win_build/installerv2/
BOINC.ism
Rom 3 Feb 2005
- Tag for 4.65 release, all platforms
boinc_core_release_4_65
Rom 3 Feb 2005
- Bug Fix: Add a comment to the service install option that states that
show graphics does not work in the service install scenario.
win_build/installerv2/
BOINC.ism
Rom 3 Feb 2005
- Bug Fix: Add the 'Users' group to the list of users permissioned to read
and execute from within the BOINC folder after a service install.
win_build/installerv2/
BOINC.ism
Janus 4 Feb 2005
- Added strong to the list of allowed html tags in the forum.
html/inc/
sanitize_html.php
Rom 4 Feb 2005
- Bug Fix: Surround the calls to atol and atof in parse_int and parse_double
with setlocale calls so that we can parse numerical types from the core
client even while the manager is configured for a different locale.
lib/
boinc_win.h
parse.C
Rom 4 Feb 2005
- Bug Fix: Don't record the blank time as Epoch time in the registry.
client/win/
win_screensaver.cpp
Eric K 4 Feb 2005
- Added diagnostics.[Ch] to the gui build. (Builds were failing because it
was missing)
- Added function xwin_glut_is_initialized() so applications can tell if glut
is initialized.
clientgui/Makefile.am
api/
x_opengl.[Ch]
Rom 4 Feb 2005
- Bug Fix: Adjust the display of the app version in the work tab with a call
to setlocale instead if parsing a string. It looks better, and works
under a larger set of conditions.
- Bug Fix: Change the display of the progress indictator in the work tab to
use printf instead of just setting the string. This allows the progress
to be displayed in a localized fashion.
- Bug Fix: Change the transfer rate in the transfer tab to use printf instead
instead of just setting the string. This allows the progress to be
displayed in a localized fashion.
- Bug Fix: Add keyboard accelerators for all the setup configuration screens.
clientgui/
ViewTransfers.cpp
ViewWork.cpp
win_build/installerv2/
BOINC.ism
Rom 5 Feb 2005
- Bug fix: Rework the logic for NT 4.0 BDC detection and dealing with the
condition.
win_build/installerv2/
BOINC.ism
Rom 5 Feb 2005
- Tag for 4.66 release, all platforms
boinc_core_release_4_66
Rom 5 Feb 2005
- Bug Fix: Remove the Users group from the service install type ACL list.
- Bug Fix: Set ALLUSERS to null when either the Single or Service install
type is selected
- Bug Fix: Adjust the validate setup type script to account for the new
rules
- Bug Fix: When switching from an error state to the blank screensaver
state, invalidate the window and redraw the background. Basically
that was causing us to display out of sync project data.
- Bug Fix: Another screensaver transitional state fix
client/win/
win_screensaver.cpp, .h
win_build/installerv2/
BOINC.ism
win_build/installerv2/redist/windows
BOINC.vbs
Rom 6 Feb 2005
- Bug Fix: Reduce the flicker of the error box by only painting on
every third WM_PAINT message.
client/win/
win_screensaver.cpp, .h
David 6 Feb 2005
- Initial client support for "account managers".
Includes:
- new core client class (ACCT_MGR) for doing RPCs
to account managers
- GUI RPC for initiating an account manager RPC
TODO: add support in BOINC Manager
client/
acct_mgr.C,h (new)
file_names.h
gui_rpc_server.C
win_build/
boinc_cli.vcproj
David 6 Feb 2005
- The critically important "work_req_seconds" field of a scheduler request
was not documented anywhere.
The units of this request are "normalized CPU seconds":
the request specifies the number of wall-clock seconds
the work should take to finish using 1 CPU on the host,
taking into account resource share, on_frac, and active_frac.
- client side:
document;
take on_frac into account
- server side:
document;
use wall-clock instead of cpu estimate for "seconds filled";
take on_frac into account in wallclock estimate.
TODO: it would be simpler if the request just specified a number of FLOPs .
That way the server wouldn't have to
know about on_frac, resource share etc.
- Code cleanup
client/
client_state.h
client_types.h
cs_scheduler.C
doc/
work_req.php (new)
sched/
handle_request.C
sched_send.C
server_types.C
Rom 6 Feb 2005
- Bug Fix: Enable the user to select which language the BOINC Manager
should display on startup. This is configured via the tools\options
dialog.
- Bug Fix: BOINC Manager should now remember whether it is maximized
or minimized, it does not remember position because wxWidgets
has a hard time with negitive coordinate values that multi-mon
configurations may have. If you plug in a negative value for
x or y the client ends up off the visible part of the screen.
clientgui/
BOINCGUI.pjd
BOINCGUIApp.cpp, .h
DlgOptions.cpp, .h
MainFrame.cpp, .h
Rom 6 Feb 2005
- Remove Legacy installer
- Add the BOINC Manager resource templates
clientgui/res/templates
<added a bunch of files>
win_build/installer
<removed a bunch of files>
David 6 Feb 2005
- compile fixes
lib/
parse.C
sched/
sched_locality.C
sched_send.C,h
David 7 Feb 2005
- add "web service" for verifying a user CPID and an authenticator
html/user/
verify_cpid.php
David 7 Feb 2005
- If a result is reported after the canonical result's output files
have been deleted, handle this case specially:
don't trigger the validator,
and set the result's validate_state to TOO_LATE (new value)
- Add acct_mgr to Unix makefile
client/
Makefile.am
acct_mgr.h
db/
boinc_db.h
html/inc
result.inc
sched/
sched_send.C
transitioner.C
David 7 Feb 2005
- change limit in stderr_out reporting from 4KB to 63KB
client/
app_control.C
Bruce 7 Feb 2005
- Add new validate_state==TOO_LATE to ops pages summaries and result table
choice selection menus
- Ops pages fixes from Christian Beers and David Hammer:
* some rearrangement of index page
* fix pass percentage by platform pages to show only non-deprecated apps
* all platforms now appear in summary pages of failures
html/
ops/
cancel_wu_action.php
cancel_wu_form.php
clear_host.php
create_account_action.ph.
create_account_form.php
create_forums.php
db_action.php
db_form.php
index.php
failure_result_summary_by_platform.php
forum_repair.php
make_emails_lowercase.php
pass_percentage_by_platform.php
profile_screen_form.php
repair_validator_problem.php
result_summary.php
show_log.php
team_repair.php
inc/
db_ops.inc
util_ops.inc
Rom 7 Feb 2005
- Bug Fix: Introduce a new state for the screensaver where it can display
that it is starting up, instead of flickering between different states
so fast at startup.
- Bug Fix: Only update the status box every ten seconds instead of every
second.
- Bug Fix: Change the update timer to every 30 seconds.
client/win/
boinc_ss.h
boinc_ss.rc
win_screensaver.cpp, .h
Bruce 8 Feb 2005
- Bug fix: method of determining which download site to point a host to
computing timezone differences, not taking into account the fact that
UTC+11 hours and UTC-11 hours are only 2 hours apart. Duh.
sched/
sched_send.C
Janus 8 Feb 2005
- Added another example of the use of the new multilanguage features for
the website. This time it is the "Rules and policies" page.
- Small correction to better allow comments and empty lines in language-
files and language interface.
html/
inc/
translation.inc
languages/
language_interface
translations/
en.po
user/
info.php
David 8 Feb 2005
- return the last 63KB of stderr output, not first 63KB
client/
app_control.C
David 8 Feb 2005
- locality scheduling: in send_results_for_file(),
if can't send a result because of a transient reason
(too little disk, estimated delay too large) break out of loop.
This is an attempt to preserve the "next available result ID" invariant.
sched/
sched_locality.C
sched_send.C,h
David 8 Feb 2005
- Change the way user cross-project ID is maintained.
OLD: when the client sends a scheduler RPC to project P,
it sends the largest CPID among projects with same
email hash as P.
This is saved in P's database and sent in future RPC replies.
Problem (pointed out by John McLeod):
A user's CPID can change whenever he joins a new project.
Statistics web sites don't have permanent IDs for a user.
NEW: when the client sends a scheduler RPC to project P,
it sends the CPID of the project for which user_create_time
is least (i.e. the project with the oldest account).
Project URL is used as a tie-breaker.
- Fixed a bug where user_create_time wasn't being
parsed correctly from server reply.
client/
client_types.C
cs_scheduler.C
David 8 Feb 2005
Stuff related to web-site translations:
- removed blank lines from language_interface;
these caused bad entries in language_interface.inc
- make_project: create additional directories
(html/languages, /compiled, /translations)
and make them writeable to all
- make_project and upgrade: copy language files too
html/languages/
language_interface
py/Boinc/
setup_project.py
tools/
make_project
Rom 8 Feb 2005
- Bug Fix: Add the ability for setup to shutdown any running instances
of the BOINC Manager during install and uninstall.
- Bug Fix: Change "Launch the program" to "Launch the BOINC Manager"
- Bug Fix: Fix a number of event bubble up issues with the base
wxTaskBarEx class, the sample format provided with the wxWidget
framework leads down the wrong path if you try to extend the class.
- Bug Fix: Add another custom action dll to do the actual shutdown
of the BOINC Manager
clientgui/
BOINCGUIApp.cpp
BOINCTaskBar.cpp, .h
clientgui/msw/
taskbarex.cpp, .h
win_build/installerv2/
BOINC.ism
win_build/installerv2/Windows/src/ShutdownBOINCManager
ShutdownBOINCManager.cpp ( added )
ShutdownBOINCManager.def ( added )
ShutdownBOINCManager.sln ( added )
ShutdownBOINCManager.vcproj ( added )
stdafx.cpp, .h ( added )
win_build/installerv2/Windows/x86/
shutdown.dll
Bruce 8 Feb 2005
Added new tag pair to config.xml:
<min_core_client_version_announced> N </min_core_client_version_announced>
<min_core_client_upgrade_deadline> M </min_core_client_upgrade_deadline>
This is used to warn users in advance if a new minimum core client is going
to be required. Users have until time 'M' (Unix epoch time(2) format)
to upgrade. Not yet tested.
doc/
configuration.php
sched/
handle_request.C
sched_config.C
sched_config.h
Bruce 8 Feb 2005
- Turn off ops pages that update the data base. These now issue a message
informing the project admin that they need to be explicitly edited to
enable updating the database. This will help prevent inadvertent use.
Thanks to David Hammer.
html/
ops/
clear_host.php
forum_repair.php
make_emails_lowercase.php
repair_validator_problem.php
team_repair.php
David 9 Feb 2005
- small bug fix: set must_reschedule_cpus in
ACTIVE_TASK_SET::exit_tasks().
This fixes a (rare) situation where you detach from a project,
other projects' tasks are not run, and the CPU is idle.
- win graphics compile fix
api/
reduce_lib.C
client/
app_control.C
client_state.h
Eric K. 9 Feb 2005
-Unfortunately on some 32 bit systems there is a problem with wx-widgets
configuring itself for largefile support. On these systems largefile
support breaks C++ compiles by defining away many of the C standard library
routines that should reside in namespace std::. In order to get around
problem first we have to check the largefile support macros. Later we will
use the macro SAH_LARGEFILE_BREAKS_CXX to check for the breakage. If
if breakage is found LARGEFILE_BREAKS_CXX is defined in config.h. This
define is checked in std_fixes.h and the appropriate functions are defined
in order to solve the problem. (These functions were already in place)
Because these defines affect the behavior of standard library headers,
std_fixes.h is being included from config.h
-Added AM_CPPFLAGS, AM_CFLAGS, and AM_CXXFLAGS (for flags common to all
compiles) so they will be defined in all Makefile.am files.
-Put #ifdef _cplusplus around the C++ specific items in std_fixes.h so it
may be included from C source files.
configure.ac
Makefile.incl
m4/
sah_largefile_breaks_cxx.m4
api/
Makefile.am
lib/
std_fixes.h
David 9 Feb 2005
- locality scheduling: move check for transient infeasibility
to SCHEDULER_REPLY::work_needed() for uniformity
- scheduler: if request has different CPID, accept it
whether or not it's greater than current one
- file deleter: show full path in error messages
sched/
handle_request.C
sched_locality.C
sched_send.C
server_types.h
Rom 9 Feb 2005
- Bug Fix: Fix a stupid mistake where I wasn't even checking to see if a
person selected to allow the screen to be blanked before setting the
blank timer to work.
client/win/
win_screensaver.cpp, .h
Rom 9 Feb 2005
- Bug Fix: If a result is flagged as 'Aborted', do not show the
'Suspend'/'Resume' options in the task list.
- Bug Fix: If a result is suspended without having already been
executed, display it as suspended instead of 'Ready to Run'
clientgui/
ViewWork.cpp
David 9 Feb 2005
- scheduler changes to get the FCGI version to compile.
Problem: the FCGI library inexplicably doesn't provide
a version of fscanf().
Some of Bruce's recent additions
(timezone-dependent URL, MD5 caching) use fscanf().
I commented them out with the _USING_FCGI_ symbol.
This shouldn't affect anyone since E@h doesn't use FCGI.
sched/
sched_send.C
tools/
backend_lib.C
David 9 Feb 2005
- report GUI RPC connection rejected errors at most once every ten minutes
client/
gui_rpc_server.C
Bruce 10 Feb 2005
More sched locality and other scheduler changes.
- Address David's comment of Feb 2.
Now properly reduce the disk size resource requirements
of a WU being sent if the file is already on the host,
or already included in a previous WU being sent.
DAVID: please check that reply_copy.wus.pop_back() is right.
- For this, define a function host_has_file().
This can also be used in the future for more intelligent
file deletion schemes.
- Make warnings to upgrade old clients have low priority until
3 days before deadline. Then high priority.
- Fix sign error in messages sent to users about insufficient disk space.
- Move extract_filename() from sched_locality.C to sched_util.C
- Pretty up the ordered list of URLs printed for a given host.
- I've even tested these changes before committing them!
sched/
handle_request.C
sched_locality.C
sched_send.C
sched_util.[hC]
Bruce 10 Feb 2005
Added code to the scheduler so that it will dump core on SEGV.
This is disabled by default.
Having this is really useful if the scheduler is crashing
some of the time.
You can load the core dump file into a debugger to see where things are
breaking. To use this, edit sched/main.C by hand and set
#define DUMP_CORE_ON_SEGV 1
sched/
main.C
Eric K 10 Feb 2005
Fixes to get server components compiling under FCGI.
- Added check for _USING_FCGI_ in std_fixes.h in order to prevent
redefinition of stdlib functions with LARGEFILE_BREAKS_CXX is defined.
- Because FCGI doesn't have fscanf() and fgetc() that work on FCGI_FILE*,
the FILE pointers for these functions need to be wrapped in a call to
FCGI_ToFILE(). In the case where FCGI isn't being used we define
FCGI_ToFILE(x) to (x).
lib/
std_fixes.h
sched/
sched_send.C
tools/
backend_lib.C
David 10 Feb 2005
code shuffling in scheduler:
- moved locality-specific code from sched_send.C to sched_locality.C
- moved timezone-related code to sched_timezone.C
sched/
Makefile.am
sched_locality.C,h
sched_send.C
sched_timezone.C,h (new)
David 10 Feb 2005
- expanded gui_test to a full-featured command-line interface
to the core client, and renamed it to boinc_cmd.
The commands have all changed; see code (I'll write a web page too)
lib/
Makefile.am
boinc_cmd.C (new)
gui_rpc_client.C,h
gui_test.C (removed)
Rom 10 Feb 2005
- Bug Fix: Inconsistant window state was causing the BOINC Manager to
be blank on startup, basically either wxWidgets or Windows wasn't
properly dealing with the Window state changes and the client
would believe it was not being displayed when in fact it was on
the screen. When the window was hidden from view, it would
skip updating any of the controls.
clientgui/
BOINCGUIApp.cpp
BOINCTaskBar.cpp
MainFrame.cpp
Eric K 10 Feb 2005
- There was a problem using dynamic allocations (with new) in many of the
graphics classes. In many places the code was written assuming default
values of 0, especially for pointers and booleans. While that's true
in the case of a static instance with the default constructors, it not
generally true with dynamic allocation unless the default constructor
is replaced. Therefore I've added constructors in the following
classes/structs: MOVING_TEXT_PANEL, COLOR, PROGRESS, PROGRESS_2D,
TEXTURE_DESC, REDUCED_ARRAY.
- This will be a problem is any are used from C code unless the
constructors declarations are enclosed in "#ifdef __cplusplus" blocks.
- There was also a problem that showed up under Windows when dynamic
allocations were used. app_graphics_resize() gets called before
app_graphics_init(). This usually results in a crash since classes
haven't yet been constructed. To work around this I've added a case
for WM_CREATE in the WndProc() which calls app_graphics_init. Under
windows this will get passed before WM_SIZE does.
api/
gutil.C
gutil.h
reduce_main.C
windows_opengl.C
Rom 10 Feb 2005
- Bug Fix: Reorder the logic for NT 4.0 domain controllers one more
time. Damn variant variable types.
win_build/installerv2/redist/windows/
BOINC.vbs
Bruce 10 Feb 2005
- Sched locality change: if the host does not have enough memory to satisfy
a work request, do not search for or send further work. This is the same
way that disk space limits are handled. This is necessary since otherwise
a host with small memory will endlessly trigger the WU generator, churning
out infeasible WUs.
- Added boolean arg to host_has_file() following David A's advice. This
eliminates the 'expensive' copy of a large data structure. The bool arg
makes host_has_file() skip the final WU in the vector in hunting for a file.
- Better log message for setting coredump size.
I - Added RCSID tag to sched_timezone.C
- Got rid of annoying 'no <host_venue>' tag messages from scheduler
sched/
sched_send.C
sched_locality.C
main.C
sched_timezone.C
server_types.C
David 11 Feb 2005
- Core client: require that an app version's main program be executable
(and thus that it be digitally signed)
- compile fix for Windows guirpctest (should rename boinc_cmd)
client/
app_control.C
app_start.C
win_build/
boinc_guirpctest.vcproj
Janus 11 Feb 2005
- Added translation features to create_account_form.php
- Inserted the text from the page in the language interface and the
english language file
/html/
users/
create_account_form.php
languages/translations/
en.po
Rom 11 Feb 2005
- Bug Fix: Check to see if the hostname given to us is in dotted decimal
notation, if so, convert it into an ip address, otherwise pass it to
a name resolution service.
client/
net_xfer.C
David 11 Feb 2005
- core client: added a function maybe_more_data()
to see if there might be more data later
on a socket for which recv() returned -1
Previously this was done in HTTP_REPLY_HEADER::read_reply()
in a way that worked on Unix but not Windows,
and it wasn't done at all in read_reply()
(used to read file upload handler replies).
client/
http.C
David 11 Feb 2005
- compile fix for Unix
client/
net_xfer.C
David 11 Feb 2005
- compile fix for FreeBSD (from JR Oldroyd)
api/
graphics_lib.C
Janus 12 Feb 2005
- Added "Delete forum thread" feature
- Added "Double post" to the list of reasons why a post is deleted
/html/
inc/
email.inc
user/
forum_moderate_post.php
forum_moderate_thread.php (new)
forum_moderate_thread_action.php (new)
forum_thread.php
David 12 Feb 2005
- fix to the 11/feb fix
client/
http.C
David 12 Feb 2005
- added functions in PHP code to get data from GET and POST,
and do various safety checking on it.
These functions should be used exclusively;
$_GET and $_POST should not be accessed directly
- moved some stuff out of html/inc/util.inc
html/
inc/
db_ops.inc
gallery.inc
prefs.inc
profile.inc
util.inc
user/
various (didn't finish)
David 13 Feb 2005
- Get rid of the concept of explicitly "activating" an account.
Instead: whenever the server receives an account key
(whether via the web or in a scheduler RPC request)
for an account that has an unverified email address
(i.e. the email_addr field is in 'munged' form)
it changes the email address to non-munged form.
html/
inc/
email.inc
languages/
language_interface
translations/
en.po
user/
account_created.php
account_setup.php
account_setup_first.php
account_setup_nonfirst_done.php
create_account_form.php
login_action.php
sched/
handle_request.C
David 13 Feb 2005
- code cleanup in forum code.
More validation of GET and POST data
html/
forum*.php
David 13 Feb 2005
- scheduler: change config option from "enforce_delay_bound"
to "ignore_delay_bound" (i.e. the default is to enforce the bound)
- scheduler: in estimating result delay,
take into account results being included in this reply
(as well as work already on client)
sched/
sched_config.C,h
sched_send.C
server_types.C,h
David 13 Feb 2005
- Core client: require that all app_version files be signed
- update_versions: put signatures on all app_version files
client/
client_state.C
cs_files.C
py/Boinc/
tools.py
David 14 Feb 2005
- user web fixes
html/user/
create_account_form.php
account_created.php
David 14 Feb 2005
- scheduler: in estimating delay of a result,
ignore time stats (on_frac, active_frac)
if no results have been added to reply yet.
Clients with low on_frac/active_frac
will still get at least one result.
sched/
sched_send.C
server_types.C
David 14 Feb 2005
- Allow remote application graphics via X11. This involves:
- Adding an optional <display> element to graphics messages
passed from core client to app
- Changed the GUI RPC interface to include display
(as well as window_station and desktop)
- X version of API does putenv("DISPLAY=x") with the display X
it gets from the core client
- change BOINC manager so that (on Unix) it gets the DISPLAY
and passes it in graphics RPCs
- modify boinc_cmd so that it can pass display
- fixed indentation in x_opengl.C
Please follow the existing style!!
api/
x_opengl.C
clientgui/
BOINCGUIApp.cpp,h
MainDocument.cpp,h
ViewWork.cpp
lib/
app_ipc.C,h
boinc_cmd.C
gui_rpc_client.C,h
Rom 14 Feb 2005
- Use the display information passed from the BOINC Manager and
screensaver.
client/
app_graphics.C
gui_rpc_server.C
David 15 Feb 2005
- Fix the anonymous platform mechanism
client/
app_start.C
David 15 Feb 2005
- BOINC manager: on Unix, don't ask whether to show remote graphics
clientgui/
ViewWork.cpp
David 15 Feb 2005
- "upgrade" creates any project directories that don't already exist.
(e.g. html/languages stuff)
py/Boinc/
setup_project.py
Bruce 15 Feb 2005
- Scheduler changes (global):
- Ignore CPU limitations and resource share entirely, IF
a host:
(1) has no work for this project
(2) has no results in this sched reply
This ensures that any host that wants to do work will at least
get *something*. It liberalizes slightly David A's approach
from 14 Feb 2005. Eliminate use_time_stats from wreq structure.
- Scheduler changes (locality scheduling only):
- Improve return value info for some functions.
- Modify send_old_work() to accept a t_min < t < t_max time range
- New sched locality algorithm to send work to hosts with no files.
Send oldest result in the time range A < t < B where
B = locality_scheduling_timeout/2
A = B - rand*locality_scheduling_timeout/2
Here rand is a uniformly distributed random number in [0,1].
- When an unsent result is older than locality_scheduling_timeout, no
longer send it to the FIRST host that requests work. Instead send
it to the first host which has a connection speed > 100kb/s.
- Fix file deletion. Previously we were deleting files from hosts
when they got no work for that file. But this might have been
because the work was infeasible (cpu time). Now delete files
from host ONLY if there is no work remaining for that file.
sched/
sched_locality.C
sched_send.C
server_types.h
David 15 Feb 2005
- User web: security-related PHP cleanup
Replace $_GET["id"] with getint("id) here and there.
Use lookup_x() instead of explicit SQL
html/
inc/
db.inc
util.inc
user/
confirm_email_change.php
edit_email_action.php
host_edit_form.php
host_venue_action.php
hosts_user.php
results.php
show_user.php
team_display.php
team_quit_form.php
userw.php
David 15 Feb 2005
- User web: add warning telling message-board posters
not to be obscene or threatening
html/
inc/
forum.inc
user/
forum_post.php
forum_reply.php
Bruce 15 Feb 2004
- More sensible use of request_delay. If a host contacts the
scheduler, and fails to get work because there are N secs
of pending work, then send a delay request of min(3600, N/5) secs.
Otherwise the same host was coming back every hour, without being able
to get additional work.
- Implemented by adding a method set_delay() to
SCHEDULER_REQUEST. This sets the delay to the maximum of the
previous requested delay or the current requested delay. The
delay is NEVER set longer than two days.
sched/
server_types.h
server_types.C
handle_request.C
sched_send.C
David 15 Feb 2005
- user web
html/user/
account_setup_first_done.php (new)
David 16 Feb 2005
- user web fixes
html/user/
account_setup_first_done.php
team_display.php
David 16 Feb 2005
- Giant checkin to remove warnings when compiled with
all known warnings enabled.
This consisted of:
1) string literals ("foo") are type const char*,
so any variables or args that you assign them to
must be const char*
2) shadowed variables
3) unused params (removed or commented out)
4) a couple of printf format/var mismatches
(nothing that would cause a problem at this point)
api/
x_opengl.C
client/
(most .C, .h)
clientgui/
(most .C, .h)
res/
*.xpm
db/
(most .C, .h)
lib/
(most .C, .h)
sched/
(most .C, .h)
tools/
(most .C, .h)
Janus 17 Feb 2005
- Added security checks to forum moderation features
- Added project specific translation ability to the translator:
To use this you simply add language files and tokens in the
project specific language directory:
/html/languages/project_specific_translations/
There's a dummy en.po file there to show how it is done.
You use the tr(TOKEN)-function to get your token translated.
It is possible to override the BOINC-provided translation by
redefining the TOKEN in the project specific translation files.
- Changed the translator to use the project default language as interface
instead of having to explicitly write everything in a seperate file.
Therefore you do no longer have to add tokens to the
language_interface-file.
html/
inc/
translation.inc
user/
forum_moderate_thread.php
forum_moderate_post.php
forum_moderate_thread_action.php
forum_moderate_post_action.php
languages/
language_interface (removed)
project_specific_translations/ (new)
en.po (new)
Rom 17 Feb 2005
- Bug Fix: Close down the local boinc daemon if we started the local boinc
daemon.
- Bug Fix: I forgot to change the comparision in the ENABLESCREENSAVER from
string to integer when I changed the control type
clientgui/
BOINCGUIApp.cpp, .h
win_build/installerv2/
BOINC.ism
David 17 Feb 2005
- make_project: added --db_host option.
Lets you make a project with a remote DB server
- make_project: got rid of --base option
- add html/languages/project_specific_translations to set
of directories created by make_project and upgrade
py/Boinc/
database.py
setup_project.py
tools/
make_project
David 17 Feb 2005
- Win core client: retry CreateProcess() 5 times with random delay,
in case some other process has executable file open
(from Bruce Allen)
client/
app_start.C
Bruce 17 Feb 2005
- make daily_result_quota be PER CPU with a hardwired limit of
4 CPUS.
- Improved error messages if users are being denied work because of
lack of CPU. The message reports back their on fraction, active
fraction, and resouce share fraction, as percentages.
sched/
sched_send.C
doc/
configuration.php
David 17 Feb 2005
- partially fixed test_uc.py.
It doesn't get Python errors any more, but it sometimes fails.
This is because of file_deleter.
It can delete input files that are needed by
another WU, and it can delete output files before they're checked.
Should fix this.
test/
testbase.py
Rom 17 Feb 2005
- Add an additional HTTP trace statement to print out the reply size of
an HTTP operation on a failure condition.
client/
http.C
David 18 Feb 2005
- core client HTTP: in a POST operation (i.e. scheduler RPC)
when start to read reply body,
reset bytes_xferred and file_offset to zero
(otherwise length calculation at the end will fail)
client/
http.C,h
David 18 Feb 2005
- For some reason I removed a strdup() in my 17 Feb checkin to start.C,
which caused memory corruption on all platforms.
It's back now
- handle </venue> in PROJECT::parse_account().
Gets rid of a spurious warning
client/
app_start.C
cs_account.C
scheduler_op.C
David 18 Feb 2005
- fix gcc warning
- printf in http.C had wrong conversion character
client/
app_start.C
http.C
David 18 Feb 2005
- API: removed the check in boinc_init()
that requires the API library to have the same major version
as the core client.
api/
boinc_api.C
David 18 Feb 2005
- core client: pass proxy info to apps correctly
client/
app_start.C
David 19 Feb 2005
- user web cleanup (GET arg checking mostly)
html/user/
(various files)
Janus 20 Feb 2005
- Made the image resize script GD2-aware. It will automatically use >=GD2
if this is available on the webserver.
This will make avatars (and whatever uses the script) look much better.
html/inc/
image.inc
Bruce 20 Feb 2005
Fixed a bug in locality scheduling. When old work was being sent,
the daily_result_quota constraint was not being enforced.
Normally this constraint is enforced in the work_needed()
function. However note that the critical send_work() function
NEVER checks work_needed() [DAVID, perhaps it should?] before
calling send_work_locality() or scan_work_array(). Then, when
send_work_locality() was called, it would in turn call
send_old_work() immediately, WITHOUT checking to see if
work_needed() was TRUE. This allowed the daily_result_quota
constraint to be broken.
Possible fixes included:
test work_needed() before calling send_old_work()
test work_needed() WITHIN send_old_work()
test work_needed() within possibly_send_result()
test work_needed() within wu_is_infeasible()
Conclusion: work is ONLY sent by the function
possibly_send_result() which is called in two places in
sched_locality.C: once in send_results_for_file() and once in
send_old_work(). The first of these DOES check the value of
work_needed(). The second does NOT. So I added a check of
work_needed() within send_old_work(). A also added
added another check of work_needed() at the top of
send_results_for_file() BEFORE any DB access is done. It might be
better to put this test of work_needed() lower down (within
possibly_send_result()) or higher up (where send_old_work())
is called. I am not sure. David, I'd appreciate your advice.
sched/
sched_locality.C
Rom 21 Feb 2005
- Bug Fix: Fix a localization error where we were refering to
"Abort Transfer" as "Abort Upload"
clientgui/
ViewTransfers.cpp
Rom 21 Feb 2005
- Bug Fix: On platforms other than Windows, really close down the
manager, when the user requests the app to close.
clientgui/
MainFrame.cpp
Rom 21 Feb 2005
- Bug Fix: If a result or transfer is paused by some event other than
actually changing it's CPU_SCHED state, such as user activity then
report the result as suspended instead of running.
client/
gui_rpc_server.C
clientgui/
MainDocument.cpp, .h
ViewTransfers.cpp
ViewWork.cpp
lib/
gui_rpc_client.C, .h
Bruce 22 Feb 2005
- Bug fixes to scheduler code
- For locality scheduler, if anonymous platform lacks app,
don't do deterministic search for work!
- For locality scheduler, remove 'unsent' constraint from initial query
so that existing index in result table can be used to perform
a more efficient search.
- Send multi-message replies to core clients > 4.19
- Change 'no work available' message to 'no work sent'
since this is often due to constraints at the client end,
NOT lack of work at project end.
- When daily result quota exceeded,
tell users what its value is for that host.
sched/
sched_locality.C
sched_send.C
server_types.C
server_types.h
David 22 Feb 2005
- prevent users from including HTML tags in the
name, url, postal_code fields of their DB records
- add a script (clean_user_names.php) for fixing existing DBs
- fix type in team edit
html/
inc/
db.inc
translation.inc
ops/
clean_user_names.php (new)
user/
create_account_action.php
edit_user_info_action.php
team_edit_form.php
David 22 Feb 2005
- Validator: added a "-mod n i" cmdline option.
Processes only WUs with ID mod n == i.
Lets you run multiple copies of validators for greater throughput.
db/
boinc_db.C,h
sched/
validator.C
Rom 22 Feb 2005
- Bug Fix: Include the core client version number in the connected to
field of the status bar to ease deployment issues for large farms
client/
gui_rpc_server.C
clientgui/
MainDocument.cpp, .h
MainFrame.cpp
lib/
gui_rpc_client.C, .h
David 22 Feb 2005
- backend processes: centralize avg_turnaround updating,
and write log messages
- backend programs: define CRITICAL/NORMAL/DEBUG as 1/2/3
so that message logging works as advertised
sched/
sched_msgs.h
sched_util.C,h
transitioner.C
validator.C
David 22 Feb 2005
- admin web:
fixed boinc_real_escape_string();
fixed clean_user_names.php (rerun this if you already ran)
- user web:
change "questions and problems" to "questions and answers"
html/
inc/
db.inc
ops/
clean_user_names.php
create_forums.php
user/
forum_help_desk.php
forum_post.php
forum_reply.php
sample_index.php
David 22 Feb 2005
- core client: scheduling: cap project debt at 1 day
client/
cs_apps.C
http.C
scheduler_op.C
sched/
sched_send.C
David 23 Feb 2005
- got test_uc.py to work again - woohoo!
- changed WU name to uc_wu_nodelete.
Otherwise the input file would get deleted
and subsequent WUs (created by make_work) would bomb out
- change make_work to strictly obey its max_wus argument.
- remove check that original input file is deleted, 'cuz it's not.
py/Boinc/
setup_project.py
sched/
make_work.C
test/
make_project_ap.php (removed)
test_backend.py (removed)
test_uc.py
testbase.py
uc_wu (removed)
uc_wu_nodelete (new)
Rom 23 Feb 2005
- Bug Fix: On localized machines the administrators and users groups
can be named something other than administrators and users. This
is also the case if the administrators and users groups have been
renamed on english machines. So thanks to some sample code from
MSDN we can now detect what names we should be using in both cases
during setup to set permissions on the BOINC folder.
win_build/installerv2/
BOINC.ism
win_build/installerv2/redist/Windows/src/GetGroupName
GetGroupName.cpp
GetGroupName.def
GetGroupName.sln, .vcproj
stdafx.cpp, .h
win_build/installerv2/redist/Windows/x86/
getgrpname.dll
Rom 23 Feb 2005
- Bug Fix: Installshield isn't very consistent with how it deals with
copied controls from one dialog to another. It seems on my last
round of updates to make the checkbox controls act as integers
the UI didn't update properly and left me with the impression
that all the controls had been properly flagged as integer values.
It turns out they were not, so i've changed them so that they are.
win_build/installerv2/
BOINC.ism
Rom 24 Feb 2005
- Bug Fix: Reset the client_version integer with every get_state request.
lib/
gui_rpc_client.C
Janus 24 Feb 2005
- Web translator no longer outputs warnings to the screen - instead it logs
it to a file on the server. (defined in translation.inc)
- Added multilanguage features to the rest of the account_creation pages
/html/
inc/
translation.inc
user/
account_*_done.php
David 24 Feb 2005
- Finish server-side support for account management.
Changed all inputs to GET, all outputs to XML
Added get_info and set_info functions
html/
inc/
db.inc
user/
am_create.php
am_get_info.php (new)
am_query.php
am_set_info.php (new)
David 25 Feb 2005
- Core client: in Unix version, make sure that
shared-mem segments get deleted when ^C the core client.
If they don't, some systems (Solaris) eventually run out of something.
client/
app.C,h
app_control.C
cs_apps.C
David 25 Feb 2005
- Scheduler: added a mechanism to dynamically adjust the
max # of results sent per day on a per-host basis,
so that "bad hosts" (those that always return either errors or nothing)
are eventually cut back to 1 result per day.
Added "max_results_day" field to host table.
Initialized to config.daily_result_quota.
When host returns an error result, or a result times out,
decrement max_results_day (but not below 1).
When the host return a success result,
double max_results_day (but not above config.daily_result_quota)
Idea is from Bruce Allen
NOTE TO PROJECTS: you must update your database
(see html/ops/db_update.php) prior to using this on your server.
db/
boinc_db.C,h
schema.sql
html/ops/
db_update.php
sched/
handle_request.C
sched_send.C
server_types.h
transitioner.C
David 25 Feb 2005
- core client: possible fix for heap corruption problem -
check for strlen(file_signature), not file_signature
client/
cs_files.C
David 25 Feb 2005
- allow only one account per email address,
including munged email addresses (from Bruce Allen)
html/user/
create_account_action.php
Rom 27 Feb 2005
- Add another flag to the diagnostics library that will allow
a check of the heap with every allocation/deallocation.
- Enable a check of the heap for every allocation in the
core client.
client/
main.C
lib/
diagnostics.C, .h
David 27 Feb 2005
If you attached to a project and give a URL like "a.b.c//",
two bad things happen:
1) canonicalize_master_url() strips off everything before the //,
leaving an empty URL
2) it will write an account file account_.xml
and make an entry in the client state file
3) next time the core client starts up, it errors out
trying to create the project directory.
Fixes:
- canonicalize_master_url(): check before "://", not "//"
- is_account_file(): tighten up.
Old: anything starting with account_ is considered an account file.
New: must match account_A.B.xml where A and B are nonempty
- invalid_url():
Old: must match http://X, X nonempty
New: must match http://X.Y/, X and Y nonempty
rename to valid_master_url() and invert sense
client/
cs_account.C
file_names.C
lib/
util.C,h
David 27 Feb 2005
- when scanning account files, make sure a project has
a unique master URL before adding to list of projects
client/
cs_account.C
Bruce 28 Feb 2005
- messages containing newlines were being lost when sent to 4.19
core clients. Fix strips newlines from messages sent to clients
<= 4.19. NOTE: stripping may ALSO be needed for more recent
clients. But it would be better to fix the clients so that
embedded newlines in messages are respected.
sched/
server_types.C
David 1 Mar 2005
- core client: in garbage collection, reference-count FILE_INFOs
that are pointed to by FILE_XFER or PERS_FILE_XFER objects.
Hopefully this will prevent crashes when dealing with
app versions with unsigned files.
client/
client_state.C
cs_files.C
pers_file_xfer.C,h
David 1 Mar 2005
- core client: FILE_INFO::merge_info(): merge signature also.
If we get a new version of a FILE_INFO from server
and it has a signature, us it.
client/
client_types.C
David 1 Mar 2005
- fix for update_versions in case of single-file app
with signature included (from John Flynn III)
tools/
update_versions
David 1 Mar 2005
- added host_venue to get_state GUI RPC reply
client/
cs_statefile.C
Janus 2 Mar 2005
- Changed translation compiler to avoid concurrent compiles
html/inc/
translation.inc
David 2 Mar 2005
- change db_update.php script to print messages on success/failure
(from Eric Myers)
html/ops
db_update.php
Rom 3 Mar 2005
- Bug Fix: Remove the prereq's for the Windows Scripting Host on
Windows
- Bug Fix: Convert all the VBS custom actions to C/C++ custom
actions
NOTE: I'm having problems with code paths that involve displaying
something to the user, so 7 out of the 10 custom actions have been
debugged, and the others are waiting on me to figure out why
MsiProcessMessage is returning 0 when it is supposed to be
returning 6.
win_build/installerv2/
< numerous files and folders >
Bruce 3 March 2005
- Added ops page for managing special users (from Christian Beer)
html/
ops/
index.php
manage_special_users.php
manage_special_users_action.php
David 3 Mar 2005
- typo in translation.inc (wrong date format in log file)
- db_update.php must be run from command line,
and gets user name/password interactively
instead of from config file
(from Eric Myers)
html/
inc/
ops.inc (new)
translation.inc
ops/
db_update.php
Rom 3 Mar 2005
- Bug Fix: Fix the rest of the custom actions
- Bug Fix: Hide password values from the log files
- Bug Fix: Enable Next by default on the Service Config page
win_build/installerv2/
< numerous files and folders >
David 3 Mar 2005
- include User-agent: BOINC field in all HTTP requests
(POST as well as GET)
- user web: missing wild-card char in email address lookup
client/
cs_scheduler.C
http.C
html/user/
mail_passwd.C
Janus 4 Mar 2005
- Added optional project-specific callback functions for:
+ Workunit info page
+ User info page
+ User account page
+ Additional credit (old seti and old climateprediction)
These can be found in the project_callbacks.inc-file in the
project directory.
In the future you won't have to manually patch the CVS to edit
these pages - simply add stuff to these callback functions.
- Automatically detect image library to use with profiles
(from Christian Beer)
/html/
inc/
user.inc
profiles.inc
user/
show_user.php
home.php
workunit.php
project-sample/
project_callbacks.inc (new)
Rom 3 Mar 2005
- Bug Fix: Adjust the tail options for Linux with regards to
the self extracting archive script
sea/
make-sea.sh
David 5 Mar 2005
- code cleanup and reorganization.
Remove API-specific stuff from lib/filesys.C
Don't define HANDLE as int on Unix
api/
boinc_api.C
doc/
various changed and new
lib/
filesys.C,h
Rom 5 Mar 2005
- Add some additional log spew to display the daemon configuration
option and a note if the detected configuration doesn't support
graphics.
client/
client_state.C
David 5 Mar 2005
- initial support for GUI RPC authentication
If the core client finds a file called "gui_rpc_auth.cfg",
it reads a password from it, and all GUI RPC requests
must authenticate using a challenge/response sequence,
proving that they have the password without sending it.
- Added --passwd option to boinc_cmd
- Moved network-related code out of gui_rpc_server.C
and http.C (identical stuff) into lib/network.C,h
client/
file_names.h
gui_rpc_server.C,h
http.C
net_xfer.C,h
lib/
boinc_cmd.C
gui_rpc_client.C,h
network.C,h (new)
win_build/
boinc_cli.vcproj
boing_gui.vcproj
Bruce 7 March 2005
- Fix problem with ops page. If a clause had for example "name like '%Jim%'
then pushing the 'Next 20' link would break the additional clause.
Thanks for Christian Beer.
html/
inc/
db_ops.inc
David 7 Mar 2005
- Unix compile fixes and core client code cleanup:
- add network.C to Makefile
- Move check_unique_instance() from file_names.C to main.C
client/
file_names.C,h
main.C
lib/
Makefile.am
network.C,h
David 7 Mar 2005
- Bug fixes in GUI RPC protection.
It works now using boinc_cmd.
(need to integrate in BOINC manager)
client/
gui_rpc_server.C
lib/
boinc_cmd.C
gui_rpc_client.C
David 7 Mar 2005
- validator: change credit-granting formula (median_mean_credit())
to ignore claimed credits close to zero.
This is a workaround for what seems to be a current bug
in the API or core client,
causing 0 or very low CPU time to get reported erroneously.
sched/
db_dump.C
validate_util.C
Rom 7 Mar 2005
- Bug Fix: Change the state refresh functionality from an OnIdle event
to a specific timer event since on some platforms the on timer
event is called really often.
clientgui/
Events.h
MainDocument.cpp, .h
MainFrame.cpp, .h
David 7 Mar 2005
- Core client: if a project is anonymous-platform,
don't require that main programs be marked as executable
client/
app_start.C
David 7 Mar 2005
- core client: win compile fixes
client/
main.C,h
win/
wingui_mainwindow.cpp
lib/
network.cpp
Rom 7 Mar 2005
- Bug Fix: Remove the check to see if we have any projects already defined
or not, before promting the user for project information. This
keeps the client from getting stuck when being launched as a daemon
on the *nix machines.
client/
client_state.C, .h
cs_cmdline.C
main.C, .h
David 8 Mar 2005
- fixed bug where, if a trickle-up file arrives from app
while a scheduler RPC is in progress,
it gets deleted when the RPC concludes
(and therefore is never sent).
Solution: when put a trickle-up message in RPC request,
append ".sent" to its filename if not there already.
When get trickle-up ack, delete files of form trickle_up*.sent
client/
cs_trickle.C
lib/
util.C,h
David 8 Mar 2005
- user web: got rid of the "project_callbacks.inc" file.
"project.inc" is already being used for this purposes.
The project-specific functions must be defined there,
perhaps empty.
Also removed _callback from function names - they're
not callbacks in the conventional sense.
Also, these functions are expected to print, not return a string
(so they can call row2() and stuff like that)
- if a WU is pending validation, show that
- change CHARSET of english translation to UTF-8
html/
inc/
user.inc
languages/translations/
en.po
project.sample/
project.inc
project_callbacks.inc (removed)
user/
home.php
show_user.php
workunit.php
Rom 9 Mar 2005
- Bug Fix: Instead of relying on the wxWidget framework for UI
updates for various menu items, move the update code to the
OnFrameRender function so we don't eat CPU in what seems
to be a busy loop. It seems for platforms other than Windows
the Idle event is fired for each iteration of a message pump
check where no other events were processed. On Windows their
is an actual message sent by the OS called WM_IDLE which is
used by wxWidgets.
clientgui/
MainFrame.cpp, .h
David 9 Mar 2005
- db_dump: add UNIX time to directory names for old stats
(so that you can run db_dump more than once pre day)
sched/
db_dump.C
David 9 Mar 2005
- compile fix
client/
http.C
sched/
validate_util.h
Rom 9 Mar 2005
- Cleanup a few asserts that were happening under Linux and not
Windows
clientgui/
MainFrame.cpp
MainDocument.cpp
David 9 Mar 2005
- core client: allow show_graphics RPCs even for results
that are not currently scheduled
client/
gui_rpc_server.C
David 9 Mar 2005
- get rid of the STRING256 type, and change things to std::string
- subscript error in SCHEDULER_OP::update_urls().
Not sure if this could cause the project-clobber bug
client/
client_types.C,h
cs_prefs.C
cs_scheduler.C
scheduler_op.C,h
David 9 Mar 2005
- When fetch a master URL, put it in a file of the form
master_PROJECTURL.html (not just master.html).
This will hopefully fix a bug where sometimes
one project's scheduler URL show up in another project.
- replace tabs with spaces
client/
acct_mgr.C
app_graphics.C
check_state.C
client_state.C
client_types.C
cs_benchmark.C
cs_files.C
cs_scheduler.C
cs_statefile.C
file_names.C,h
file_xfer.C
gui_rpc_server.C
http.C
main.C
net_xfer.C
scheduler_op.C,h
Rom 9 Mar 2005
- Bug Fix: refactor the status bar code so that it is a derived
class of wxStatusBar and then set it to be the status bar, which
in turn fixes the status bar creation bug on platforms other
than Windows in which the status bar text and bitmaps were
having their top and left values be set to 0,0.
clientgui/
MainFrame.cpp, .h
Rom 10 Mar 2005 ( On behalf of Komori H. )
- Bug Fix: Allow the proper translation of the status bar for languages
that change the ordering of works depending on context.
- Bug Fix: Include a meta tag in the task pane that specifies that the
task pane is UTF8.
clientgui/
MainFrame.cpp
BOINCTaskCtrl.cpp
David 10 Mar 2005
- core client: replace fopen() with boinc_fopen() in several places.
This could solve problems where some
other program (backup, virus check) is scanning files
- fix compile warnings
api/
gutil.C
apps/
concat.C
client/
cs_account.C
http.C
log_flags.C
next_xfer.C
scheduler_op.C
clientgui/
ViewMessages.cpp
ViewResources.cpp
ViewTransfers.cpp
doc/
manager.php (new)
menubar.php (new)
lib/
gui_rpc_client.C,h
util.C,h
sched/
db_dump.C
server_types.C
validate_util.C
David 10 Mar 2005
- tested and fixed bugs in the core client's support for
account management RPC.
It now can make the RPC, parse the reply,
and attach to the projects listed in the reply.
client/
acct_mgr.C,h
client_state.C
lib/
boinc_cmd.C
gui_rpc_client.C
Charlie 11 Mar 2005
- Add support for building Mac GUI BOINC Manager, Core Client
and SETI@home application using XCODE IDE on Macintosh.
Removed Eric Heien's old boinc.pbroj which is confusing
on CVS because it is a bundle, which looks like a directory
to CVS. New boinc.pbproj bundle is checked in zipped.
- Changes for Mac GUI BOINC manager and core client.
Major rework of XCode project file.
BOINC Manager has standard Mac application bundle with icon.
Client doesn't ask for User ID or Project URL on command line.
Added code for Mac to determine idle time (user inactivity).
Core Client is embedded in BOINC Manager application bundle.
BOINC Manager sets working directory to
~/Application Support/Boinc_Data/
and then launches embedded Core Client.
client/
hostinfo_unix.C
main.C
clientgui/
BOINCGUIApp.cpp
lib/
hostinfo.h
mac_build/
boinc.pbproj/project.pbxproj (directory & file both removed)
boinc.pbproj.zip (new)
info.plist (new)
HowToBuildBOINC_XCode.rtf
Rom 11 Mar 2005
- Add Account Management support into the BOINC Manager.
NOTE: Some problems remain with the current design, such as
pointing out when a username and password combination is
invalid. Currently the only way for somebody to know
something is up is by looking into the messages tab, but
by then the username and password have been recorded in
the acct_mgr_login.xml file because there is no way for
the manager to know something is wrong.
clientgui/
BOINCGUI.pjd
DlgAccountManager.cpp, .h (added)
Events.h
MainDocument.cpp, .h
MainFrame.cpp, .h
lib/
acct_mgr_client.C, .h (added)
gui_rpc_client.C, .h
David 11 Mar 2005
- fix make_project
tools/
make_project
David 11 Mar 2005
- BOINC manager: avoid asserts by commenting out some code
- fix account manager functions
- print messages on acct mgr RPC start/end
client/
acct_mgr.C
clientgui/
MainFrame.cpp
lib/
acct_mgr_client.C
gui_rpc_client.C
David 12 Mar 2005
- Change the appearance of the Task area of the BOINC manager.
Use white background instead of blue.
Surround tasks with bordered boxes.
- commented out some unused code. Delete?
clientgui/
BOINCTaskCtrl.cpp,h
VewProjects.cpp
David 13 Mar 2005
- scheduler: add nowork_skip configuration flag.
If set, and there's no work, return from RPC
without looking up user/host records.
(this was previously the default. It no longer is)
- scheduler: if using locality scheduling, never set "have_no_work"
- scheduler: replace "Einstein" by "this project" in message
sched/
handle_request.C
sched_config.C,h
sched_send.C
David 13 Mar 2005
- db_dump: name archive dirs X_YYYY_mm_dd_hh_mm_ss
David 14 Mar 2005
- API: implement keyboard handling in X11 (from Eric Myers)
api/
x_opengl.C
Rom 15 Mar 2005
- Backout the meta tag change that was made to support Japanese,
aparently the string encodings are not automatically converted
in Linux, or something to that effect.
clientgui/
BOINCTaskCtrl.cpp
David 15 Mar 2005
- API: change timer_period from variable to constant
- fix compile warnings
api/
boinc_api.C
lib/
boinc_cmd.C
parse.C
David 15 Mar 2005
- BOINC manager: if project doesn't have a name yet, use its URL
clientgui/
MainDocument.cpp
Rom 15 Mar 2005
- Make the couldn't find messages visible only on debug builds, it
freaks people out when they see them in the BOINC Manager log
file even though it is normal for it to happen when the daemon
shuts down.
lib/
gui_rpc_client.C
Rom 15 Mar 2005
- Remove the accessors from the cache container classes for each
of the views.
- Add the default system encoding to the help/about dialog for
the internationalization team.
clientgui/
DlgAbout.cpp
ViewProjects.cpp, .h
ViewResources.cpp, .h
ViewTransfers.cpp, .h
ViewWork.cpp, .h
Rom 16 Mar 2005
- Implement the diagnostics functions for platforms other than Windows.
NOTE: I was working in this area a bit since I'm trying to track down
why E@H isn't always able to display graphics during a start screen saver
request. The changes here and some build environment changes should
now allow us to build a debug E@H application with debug BOINC API
libraries and now see additional information reported to stderr_txt as
the application tries to identify/transition into the calling desktop.
lib/
diagnostics.C, .h
David 17 Mar 2005
- on Unix, create download files with user/group/other access
(RW or RWX, as needed)
All other files have permissions based on umask.
client/
client_types.C
cs_account.C
David 18 Mar 2005
- Web: make download network stuff work for new projects
html/inc/
download_network.inc
py/Boinc/
setup_project.py
David 19 Mar 2005
- rewrite installer text for LGPL
- remove old license file
doc/
license_1.0.txt (removed)
win_build/installerv2/redist/0409/
eula.rtf
Bruce 19 Mar 2005
- Overdue checkins on a bunch of minor scheduler code. Some that is
E@H specific is now included (but protected by
#ifdef EINSTEIN_AT_HOME
to make it simpler for me to maintain consistency with BOINC cvs.
- Added project-specific unacceptable_os() function for rejecting hosts.
- Transitioner and scheduler now initalize host.max_results_day correctly
in database under all circumstances.
- Browser requests are now correctly identifed (REQUEST_METHO=="GET") and
properly redirected. This was broken. David, please see comment near
one of the probable_user_browser=true in handle_request.C. I think
something is wrong here (or I am missing the point!).
- More info about requests is logged
- If the scheduler hangs (incoming request incomplete) it will normally be
killed by Apache after a timeout. But this happens silently. So I now
install a signal handler and catch this SIGTERM. In this case an
error message is logged and all open files are flushed before exit(1)ing.
- If IO is passed through files, check that request length and content length
agree and log a message if they do NOT.
- active_frac not correctly reported by 4.19 and earlier core clients.
Adjust for this in estimating wallclock execution times.
- All messages sent to user ALSO get logged to cgi.log
- Added a small block into validator code to attach a debugger.
sched/
handle_request.C
sched_send.C
main.C
transitioner.C
validator.C
David 19 Mar 2005
- API: changed all vars modified by signal handler to "volatile"
- API: fixed typo in key handling for Unix
api/
boinc_api.C
David 21 Mar 2005
- API: changed time variables in worker signal handler from double to int.
Apparently some platforms had atomicity problems
where accessing doubles uses multiple instructions
and a signal was happening in the middle.
Don't need fractional time because worker timer period is 1 sec.
From Takafumi Kawana and Bruce Allen.
- boinc_checkpoint_completed(): clear ready_to_checkpoint
AFTER resetting time_until_checkpoint
From Takafumi Kawana.
api/
boinc_api.C
sched/
handle_request.C
David 21 Mar 2005
- BOINC web site: reorganized front page, download page
- scheduler: fixed a heinous bug in validate_util.C
introduced on 7 Mar 2005
doc/
various
sched/
handle_request.C
validate_util.C
Rom 22 Mar 2005
- Bug Fix: Capture the WM_CLOSE message that Intellitype and Intellipoint
sends us and ignore them, that'll keep the screensaver up and running
even when Intellipoint/Intellitype is trying to shut us down.
client/win/
win_screensaver.cpp, .h
David 22 Mar 2005
- user web: mail_passwd.php was broken. Aargh.
html/user/
forum_thread.php
mail_passwd.php
David 22 Mar 2005
- core client: the -attach_project option now must be followed
by the URL and account key.
It no longer prompts for these.
client/
client_state.C,h
cs_cmdline.C
main.C
David 23 Mar 2005
- user web: added "prefs" anchor to home.php so you can
link to Preferences from front page.
- add teamid to account management RPCs
html/
inc/
user.inc
user/
am_get_info.php
am_set_info.php
David 23 Mar 2005
- user web: don't delete teams even when they become empty
html/
inc/
team.inc
ops/
db_update.php
user/
white.css
David 24 Mar 2005
- User web: in create_account_action() there was SQL of the form
select * from user where email_addr like '@$email_addr\\_%'.
THIS IS NOT CORRECT.
The email address itself can contain underscores,
which are wildcards for "like".
If the user table is big (like S@h) and the email address
is like a_a@b.c, a very slow query will result.
- added functions lookup_user_munged_email() and validated()
to inc/email.inc.
Use these for logic related to munged email addresses -
don't put SQL into top-level PHP files.
html/
inc/
email.inc
user/
create_account_action.php
Charlie 25 Mar 2005
- BOINC Manager: create BOINC Data directory in
"/Library/Application Support/" directory,
not in user's "~/Library/Application Support/"
- Set working directory to "BOINC Data" before redirecting stdout and stderr
- Fixed BOINCTRACE compile warning when non-debug build on Mac
- Fixed bug in CTaskBarIcon::OnNetworkSelection
- Implemented Dock popup menu using CTaskBarIcon class
- Implemented System Menubar Icon menu using CMacSystemMenu class
derived from CTaskBarIcon class
- Changed "Hide" menu item to "Close" (Mac only)
client/
main.c
clientGUI/
BOINCGUIApp.cpp
BOINCTaskBar.cpp/h
MainFrame.cpp
clientGUI/mac/
MacSysMenu.cpp/h (add)
SystemMenu_Prefix.pch (add)
SystemMenu.m (add)
lib/
diagnostics.h
mac_build/
Info.plist (add)
SystemMenu-Info.plist (add)
boinc.pbproj/project.pbxproj (add)
Charlie 26 Mar 2005
- BOINC Manager: Workaround apparent bug in Mac version of WxWidgets which
prevented the main window's size and position from being restored on
application launch.
- Precompile stdwx.h in XCode project BOINC Manager builds.
clientGUI/
MainFrame.cpp
mac_build/
boinc.pbproj/
project.pbxproj
Rom 28 Mar 2005
- Well now that I've fully tested and deployed BOINC via Active Directory,
I found something wrong. When deploying BOINC to the computer via
Active Directory the installation runs as the computer account when
copying files so files can be read off a network share, but when we get
to the CopyAccountFiles custom action setup would fail since LOCALSYSTEM
only has access to the local machine.
The solution is to include the account files and any other configuration
file as part of the BOINC MSI transform which needs to be created in
order to populate the global properties for deployment. The setup
documentation will be updated to reflect this change.
- Bug Fix: Attempting to install BOINC in a managed environment would fail
since ALLUSERS is automatically set to 1 for any installation type. So
if we detect that we are being installed in a managed environment
ignore the ALLUSERS value.
Menu items are still installed for all users though, that'll be fixed
a little later.
win_build/installerv2/
BOINC.ism
win_build/installerv2/redist/Windows/src/boinccas/
boinccas95.def
boinccas95.vcproj
CACopyAccountFiles.cpp, .h (removed)
CAValidateSetupType.cpp
win_build/installerv2/redist/Windows/x86/
boinccas.dll
boinccas95.dll
David 28 Mar 2005
- user web: put charset in header if it's defined (from Jens)
- user web: call db_init() before mysql_real_escape_string()
html/
inc/
util.inc
user/
account_created.php
am_get_info.php
am_query.php
am_set_info.php
confirm_email_change.php
login_action.php
Rom 28 Mar 2005
- Keep people from rating posts if their RAC falls below 5.0
html/inc/
forum.inc
David 29 Mar 2005
- user SHM_R|SHM_W instead of 0777 in shmget() call
lib/
shmem.C
David 29 Mar 2005
- API: in boinc_finish(),
call boinc_worker_thread_cpu_time() instead of
boinc_calling_thread_cpu_time()
(since the graphics thread can call boinc_finish()).
Also, offset CPU time by initial_wu_cpu_time
instead of aid.wu_cpu_time
This may help "zero CPU time" problems, but I doubt it
api/
boinc_api.C
lib/
util.C
Rom 29 Mar 2005
- Bug Fix: Populate the tooltip field for the system tray icon
so that people can flag the manager as hidden and keep it hidden,
instead of having it show back up after every reboot.
- Bug Fix: Fix the Disable network access menu items after Charlie's
fix for the Mac, apparently the event class is populated at different
points between the two platforms, which causes code confusion, and
the docs don't help. Instead query the state from the core client
and then figure out what to do, this keeps the code the same on all
platforms and avoids the quirk.
- Add additional information to the attach to projects dialog describing
the project url and account key are sent via email from the project.
- Changed the baloon timeout value from 10 seconds to 5 seconds which is
about where the majority believes it should be.
clientgui/
BOINCGUI.pjd
BOINCTaskBar.cpp
DlgAttachProject.cpp
MainFrame.cpp
clientgui/msw/
taskbarex.h
David 29 Mar 2005
- moved NetOpen(), NetClose(), NetCheck() from win_net.cpp (removed)
to lib/network.C
client/
client_state.C
hostinfo_network.h
hostinfo_unix.C
time_stats.C
win/
win_net.cpp,h (removed)
wingui_mainwindow.cpp
lib/
network.C,h
win_build/
boinc_cli.vcproj
boinc_gui.vcproj
David 29 Mar 2005
- Transitioner: when updating a workunit
(DB_TRANSITIONER_ITEM_SET::update_workunit()),
only update those fields that have changed since we read it.
This is an attempt to deal with the following scenario:
1) validator finds canonical result, triggers assimilation,
sets assimilate_state = READY
2) transitioner reads WU
3) assimilator reads WU and updates assimilate_state = DONE
4) transitioner writes WU (with assimilate_state still READY)
5) assimilator processes WU again (ERROR)
db/
boinc_db.C,h
sched/
assimilator.C
transitioner.C
Rom 29 Mar 2005
- Implement GUI RPC authentication in the manager
- Implement a Select Computer MRU list so you only have to type
the remote computer name once.
clientgui/
DlgSelectComputer.cpp
MainDocument.cpp, .h
MainFrame.cpp, .h
lib/
gui_rpc_client.C, .h
Charlie 29 Mar 2005
BOINC Manager: Work around apparent bug in Mac version of WxWidgets
which prevented the main window's size and position from being
restored on application launch.
Main widow close box doesn't quit application.
Postponed implementing the umask change due to security concerns:
removed umask(0) from Core Client & BOINC Manager; changed BOINC
Data directory back to user's "~/Library/Application Support/"
Automate generating Mac version numbers from version.h file. (Added
shell script build phase and tiny SetVersion shell application to
XCode project to create / update InfoPlist.strings file.)
CViewProjects::OnTaskLinkClicked(): added casts to change compiler
errors to compiler warnings; this allows it to compile.
client/
main.C
clientGUI/
BOINCGUIApp.cpp
MainFrame.cpp
ViewProjects.cpp
clientGUI/mac/
SetVersion.C (add)
mac_build/
boinc.pbproj/
project.pbxproj
David 30 Mar 2005
- Fixed bug where clients report a result CPU time as zero,
even though the result used a lot of CPU.
The basic problem was in the API: the final call to
update_app_progress() (from boinc_finish())
was trying to send a status message.
But some fraction of the time the message slot was full
(core client hadn't read previous message)
so this message wouldn't get delivered.
Core client was using checkpoint_cpu_time as final CPU,
so (for applications that never checkpoint)
the core client would never get a nonzero checkpoint_cpu_time.
I fixed this at both ends, i.e. if you either use a new core client
with old apps, or use new apps with existing core clients,
the problem will go away.
Fixes:
1) API: retry sending final status message a few times w/ sleep
2) core client: use current_cpu_time rather than checkpoint_cpu_time
as the result's final_cpu_time.
- core client: show current directory on startup
- win compile fixes
api/
boinc_api.C
client/
app_control.C
client_state.C
net_xfer.C
win/
wingui.h
clientgui/
BOINCTaskCtrl.cpp
lib/
network.h
David 30 Mar 2005
- Apparently, even though the port number 1043 is assigned to BOINC
(see http://www.iana.org/assignments/port-numbers)
Microsoft IIS binds to it on some systems.
So...
core client: if can't bind to 1043, bind to 31416
BOINC mgr: if can't connect to 31416, connect to 1043
If something is bound to 31416 we're screwed.
Thanks a lot, Microsoft!
client/
gui_rpc_server.C,h
lib/
gui_rpc_client.C,h
sched/
sched_util.C
David 31 Mar 2005
- BOINC Manager compile fixes for Unix
clientgui/
MainDocument.cpp,h
Makefile.am
ViewProjects.cpp
Rom 31 Mar 2005
- Bug#59 Fixed: SystemTray Icon Does Not Remain Hidden
- Bug#79 Fixed: When manager window is in background selecting open
boinc manager does not bring it to front
- Bug#80 Fixed: Double clicking on system tray icon should open
manager/bring it into focus
- Bug#118 Fixed: BOINC Manager needs to prompt for project information
when no projects are detected
- Bug#143 Fixed: Position and size not saved consistantly
clientgui/
BOINCTaskBar.cpp
MainFrame.cpp, .h
Rom 1 Apr 2005
- Make the dialog manager files and implementation match so others
can make changes to the dialogs
clientgui/
BOINCGUI.pjd
DlgAbout.cpp, .h
DlgAccountManager.cpp, .h
DlgAttachProject.cpp, .h
DlgConnection.cpp, .h
DlgOptions.cpp, .h
DlgSelectComputer.cpp, .h
David 1 April 2005
- create_shmem(): use mode 0666 when creating shared mem
- attach_shmem(): fix error check on shmat() return
- sched_util.C: get_log_path() was creating directory in wrong place
api/
boinc_api.C
lib/
shmem.C
sched/
handle_request.C
sched_util.C
David 1 April 2005
- Parse environment vars AFTER parsing the client state file.
Otherwise env vars are ignored
client/
main.C
David 1 April 2005
- core client: if an app hasn't checkpointed yet,
leave it in memory when preempting.
client/
cs_apps.C
Janus 2 April 2005
- Lots of updates for the website translation system:
- Now creates missing dirs when first installed
- Supports "dual ID" language files (ie those files that have
names like xx_YY (for instance zh_TW for the Chinese)
Please note the use of lower- and uppercase letters.
- You can now override the automatic selection by the use of
a cookie named "lang". A page for setting this cookie has also
been made (language_select.php).
- The automatic selection now searches for all the languages that
the user's browser specifies before using the project default
(ie. it no longer uses only the first language that the browser
gives it in the string).
- Made some small additions to en.po so that the language select page
can display the correct names of the languages instead of their
ISO names: "Danish (Dansk)" instead of "da".
- Added some more logging so that missing tokens will be printed to
the logfile as well as on screen.
- Added the title on the sample forum index page to en.po
/html/
inc/
translation.inc
languages/
translations/
en.po
user/
language_select.php (new)
img/ (new)
da.png (new)
David 2 April 2005
html/
inc/
translation.inc
ops/
repair_validator_problem.php
David 3 April 2005
- Maintain the "main host venue" in a more robust way.
(Reminder: the "main host venue" is the host venue of the
project that supplied the most recent global prefs.
Host venues for each project are stored in account files.
The global prefs file identifies the source project.)
Old: main host venue is stored in the client state file,
and updated only when a scheduler RPC returns
global prefs with a new host venue.
Problem: if it's missing from the client state file
it may never get set to the correct value.
New: on startup, the global prefs file is parsed once
to obtain the source project.
Then main host venue is computed, based on the source
project and the host venue specified in its account file.
Then the global prefs file is parsed again, using this venue.
- user web: add option for columnar prefs display.
Append "&cols=1" to prefs.php URL
- boinc_cmd (command-line tool): fix bugs and improve argument checking.
Change syntax of some operations (see web page)
client/
client_state.C
client_types.h
html/
inc/
prefs_col.inc
user/
prefs.php
lib/
boinc_cmd.C
Rom 3 Apr 2005
- Add an additional error code to the screensaver framework to
report back the difference between BOINC being idle and BOINC
being idle and not being attached to any projects.
client/
ss_logic.C, .h
boinc_ss.h
boinc_ss.rc
win_screensaver.cpp, .h
lib/
gui_rpc_client.h
David 3 April 2005
- BOINC manager: new "statistics" tab (from Jens Breitbart)
Here's Jens' summary of changes:
- Client
* Statistics are stored on a daily basis
~ Statistics := {User & host total credit, user & host avg. credit}
~ max. 30 days are stored
* Statistics are gathered after the client has contacted the scheduler
~ No extra call to the scheduler is made, just information already
provided are stored
* Added support for the RPC call "<get_statistics/>"
~ Answer include all saved statistics from all projects
~ Syntax of the answer:
<statistics>
<project_statistics>
<master_url>%s</master_url>
<daily_statistics>
<day>%f</day>
<user_total_credit>%f</user_total_credit>
<user_expavg_credit>%f</user_expavg_credit>
<host_total_credit>%f</host_total_credit>
<host_expavg_credit>%f</host_expavg_credit>
</daily_statistics> <- repeated for each day
</project_statistics> <- repeated for each project
</statistics>
* Statistics are saved in files called "statistics_master_url.xml"
~ Syntax is similar to the one shown above except every project is
saved in its own file
~ Files are saved after every scheduler reply
~ Files are read at client start
~ Files are deleted on project detach
- Manager
* Added a statistic tab
~ Drawing the graph on a wxPanel using the paint event.
~ wxPlottWindow not working very reliable...
~ Design is looking quite simple
* Using the RPC "<get_statistics/>" to get the Information from the client
client/
client_state.C,h
client_types.C,h
cs_account.C
file_names.C,h
gui_rpc_server.C
scheduler_op.C
ss_logic.C
clientgui/
BOINCBaseView.cpp.h
MainDocument.cpp,h
MainFrame.cpp
ViewStatistics.cpp,h (new)
lib/
gui_rpc_client.C,h
util.C,h
win_build/
BOINCGUI.vcproj
David 4 April 2005
- compile fixes for Unix
cliengui/
MainFrame.cpp
Makefile.am
David 4 April 2005
- Call get_connected_state() every 10 seconds, not 10X per second
(it does a registry lookup on Win)
- fix names of SS constants
client/
client_state.C
client_types.C
ss_logic.C,h
time_stats.C,h
win/
win_screensaver.cpp
lib/
boinc_cmd.C
David 4 April 2005
- Core client: don't print "no final message" (not relevant in most cases)
- Core client: don't do SS poll more than once per second
- Core client: don't do SS reset on each CPU resched
(no reason to start/stop SS if same app running)
- Get rid of SS_STATUS_RESTARTREQUEST,
which as far as I can tell involved the core client asking
the screensaver to ask it to do graphics again.
Instead, the core client just tells another app to start doing SSG.
It hangs on to the last GRAPHICS_MSG
(workstation/desktop will be the same)
- Got rid of SS_STATUS_NOTGRAPHICSCAPABLE
???
- Allow really small CPU scheduling periods (for debugging)
client/
app_control.C
app_graphics.C
client_state.C
cs_apps.C
ss_logic.C,h
win/
win_screensaver.cpp,h
lib/
gui_rpc_client.h
prefs.C
Rom 5 April 2005
- Moved the daemon communication to a seperate thread so that the screensaver
can be more responsive to the system since it cannot now be blocked on
network IO.
client/win/
win_screensaver.cpp,h
Charlie 5 April 2005
Mac: Enabled close box on science application graphics, handle Quit properly
using Bernd's suggestions. Hide GLUT menu bar. Bring application to
front when "Show Graphics" is selected in BOINC Manager.
api/
x_opengl.C
Rom 5 April 2005
- Bug Fix: We stoped ack'ing the MODE_UNSUPPORTED from a science application
after a screensaver start request. Check for any graphics messages that
need to be processed from get_next_graphics_capable_app().
- Bug Fix: Adjust the logic of get_next_graphics_capable_app() so that even
if the graphics mode was MODE_WINDOW or MODE_HIDE_GRAPHICS before the
start of the screensaver, we still factor in what it's current
graphics_mode_acked in case it has been changed to MODE_UNSUPPORTED
client/
app_graphics.C
client/win/
win_screensaver.cpp
David 6 April 2005
Changes to support users whose Internet providers
modify image files in transit.
Cell-phone-based providers using UMTS (e.g. Vodaphone)
apparently do this.
- Add a preference "dont_verify_images" that tells BOINC
not to verify (via signature or checksum) image files.
"Image files" for those whose names end with .jpg, .jpeg or .png.
- Change the Windows path separator from \ to /
client/
app_start.C
cs_files.C
file_names.C,h
gui_rpc_server.C
pers_file_xfer.C
html/
inc/
prefs.inc
lib/
filesys.h
prefs.C,h
Rom 6 April 2005
- Implement a connection manager thread for the Manager, it is really rough.
NOTE: Currently crashes on exit, due to an access violation, and changing
computers does not work. It also prompts for a project every time it
starts
- Read/Write font information to the registry so we can attempt to
identify some of the localization issues as possible font set issues with
wxwidgets.
clientgui/
BOINCBaseView.h
BOINCTaskCtrl.cpp
MainDocument.cpp, .h
stdwx.h
David 6 April 2005
- screensaver tweaks
- code cleanup in screensaver.cpp
client/win/
boinc_ss.rc
win_screensaver.cpp
res/
boinc.cmp
Rom 6 April 2005
- Added the connecting state to the status bar since the UI was displaying
it as disconnected when we would switch between machines.
- Bug Fix: Explicitly declare the network connection thread as a joinable
thread, by default wxWidgets defines the default behavior as detached
which handles its own destruction.
NOTE: The documentation also states that on Windows all threads are
joinable, so in the end, the crashes were related to me attempting to
cleanup the thread when it had already deleted itself, which caused a
double free situation.
clientgui/
MainDocument.cpp, .h
MainFrame.cpp, .h
David 6 April 2005
- code cleanup in BOINC manager
clientgui/
*.cpp
David 7 April 2005
- Attempt to fix the situation where:
1) user merges hosts; hosts with lower IDs are folded
into host with maximal ID, then deleted
2) If host's client_state.xml file still has one of the
lower IDs, then the next time it contacts the scheduler,
the host lookup fails and a new host record is created,
which defeats the purpose of the merge.
Solution:
- When merge hosts, don't delete lower-ID records.
Instead, change them to "zombie" state, in which:
- userid is zero
- rpc_seqno is ID of new host record
- scheduler: if host is zombie, follow link to new host,
send back its ID to client
db/
boinc_db.h
html/
inc/
util.inc
user/
host_edit_action.php
host_edit_form.php
sched/
handle_request.C
David 7 April 2005
- Core client: deal correctly with HTTP servers that don't support
the Range: option.
Namely: if we issue an HTTP GET request with a Range option,
and the reply header is 200 OK (rather than 206 Partial Content)
then assume the server is sending us the whole file;
reset bytes_xfered and offset to zero,
and open the file in "wb" rather than "ab" mode.
client/
http.C,h
David 7 April 2005
- Python: in install_boinc_files(): don't copy "sample" php files,
since this is called from "upgrade" and it would overwrite
existing files.
Move the copies to install_project(),
which is used only at project creation.
py/Boinc/
setup_project.py
David 7 April 2005
- Show complete account info in profile page
- fix name conflict in PHP
html/
inc/
profile.inc
user.inc
util.inc
user/
host_edit_form.php
show_user.php
Rom 7 April 2005
- Switch the connection errors and connection initialization routines
from a polling style routines to an event style, this fixes the
issues of the attach to project dialog being displayed at odd
times.
- Warn the user of connection failures to a new host.
- Deal with various odd issues that cropped up due to the connection
thread being introduced to the system.
clientgui/
BOINCGUIApp.cpp
MainDocument.cpp, .h
MainFrame.cpp, .h
lib/
gui_rpc_client.C
Rom 7 April 2005
- Enable the F1 key so that it'll open up a browser to
http://boinc.berkeley.edu/manager.php
- Add status bar text for each task that is defined and don't remove it
until the list has been updated.
- Define and fire an update view window message which is used to quickly
update the listview out of cycle with the timer event, but since the
timer event in turn fires the same event, we won't be caught in a
recursive update loop. We can only process one of these messages at
a time.
clientgui/
BOINCBaseView.cpp, .h
BOINCTaskCtrl.cpp, .h
Events.h
MainFrame.cpp, .h
ViewMessages.cpp, .h
ViewProjects.cpp, .h
ViewResources.cpp, .h
ViewStatistics.cpp, .h
ViewTransfers.cpp, .h
ViewWork.cpp, .h
David 8 April 2005
- compile fixes, code cleanup
clientgui/
BOINCBaseView.cpp
BOINCGUIApp.cpp
BOINCListCtrl.cpp
BOINCTaskBar.cpp
DlgOptions.cpp
MainDocument.cpp
MainFrame.cpp
ViewMessages.cpp
David 8 April 2005
- user web: weaken the test for hosts to be considered compatible
for the "merge" function.
This is needed because different versions of the core client
reported CPU vendor/model differently.
If two hosts have the words "Intel" and "Pentium" anywhere
in their vendor/model,
and they don't have conflicting xxxGHz strings,
consider them compatible
client/
app_graphics.C
html/inc/
host.inc
David 8 April 2005
- Manager: removed extraneous stuff from About box
- Manager: don't show version number in status bar
clientgui/
DlgAbout.cpp
DlgSelectComputer.cpp
MainFrame.cpp
lib/
gui_rpc_client.C
David 8 April 2005
- Made library functions for creating a socket,
and for changing a socket to/from asynch mode
- GUI RPC client: allow for asynchronous connection.
First you call RPC_CLIENT::init(host, true),
then you call RPC_CLIENT::init_poll()
until it returns either zero (connected)
or a value other than ERR_RETRY (error)
client/
net_xfer.C
lib/
error_numbers.h
gui_rpc_client.C,h
network.C,h
David 8 April 2005
- debugged asynchronous connect for GUI RPC
lib/
boinc_cmd.C
gui_rpc_client.C,h
David 9 April 2005
- GUI RPC: allow RPCs used by screensaver
(get/set screensaver state, get state, get results)
from local host without password authentication.
This eliminates need for screensaver to read password file
client/
gui_rpc_server.C,h
David 9 April 2005
- move NET_XFER::get_ip_addr() to lib/network.C,
and rename it resolve_hostname()
client/
gui_rpc_server.C
net_xfer.C
proxy.C
lib/
network.C,h
Rom 9 April 2005
- Initial checkin for async sockets wok for the manager.
NOTE: It currently reports back a -103 ERR_WRITE from the
rpc.authorize function.
clientgui/
Events.h
MainDocument.cpp, .h
MainFrame.cpp, .h
David 10 April 2005
- debug BOINC manager connection code
clientgui/
MainDocument.cpp
MainFrame.cpp
lib/
gui_rpc_client.C
David 10 April 2005
- add is_file() to lib interface
- compile fix in zip code
lib/
filesys.C,h
zip/
boinc_zip.cpp
David 10 April 2005
- Unix compile fixes
client/
Makefile.am
clientgui/
Makefile.am
lib/
filesys.C
Bruce 11 April 2005
- Added signal handler to file_upload_handler along with a bit
of logging. This is intended to help debug file uploading
problems, where apache kills the file upload handler because
something is going wrong.
sched/
file_upload_handler.C
David 11 April 2005
- GUI RPC: if core client is < 4.30, don't do password authentication
lib/
gui_rpc_client.C
Rom 11 April 2005 (boinc)
- Tag for 4.30 release, all platforms
boinc_core_release_4_30
David 11 April 2005
- Core client: if we're configured to not accept remote GUI RPC connections
(i.e., remote_hosts.cfg if absent or empty,
and the -allow_remote_gui_rpc cmdline is absent)
then bind our listening socket to 127.0.0.1 rather than INADDR_ANY.
This will in theory disallow remote connections.
client/
gui_rpc_server.C
Bruce 11 April 2005
- Scheduler: with locality scheduling, if we touch a trigger file then
sleep, and then try again, but DON'T find more work available, give up
trying to make work for that file.
- File upload handler: to prevent multiple instances of file_upload_handler
from trying to upload the SAME file,
use lockf() to place an advisory lock on the file.
David, I probably should have discussed this with you first,
but it's too early in the morning.
Please revert if this is a mistake!
sched/
sched_locality.C
file_upload_handler.C
David 12 April 2005
- The test script test_uc.py didn't work. There were 2 problems:
1) the core client's logic for checking an account filename
was too strict. It required a dot in the hostname,
which wasn't present here ("localhost")
2) the Python code for signing executables needed to look
both in bin/ (for "upgrade") and ../tools/ (for test)
for the sign_executable program
client/
file_names.C
py/Boinc/
setup_project.py
tools.py
David 12 April 2005
- core client: in result-finished message, show result name, not WU name
- core client: fix handling of dont_verify_images preference
FILE_INFO::verify_downloaded_file():
if image file and dont_verify_images is set,
and file is present and nonempty, count it as verified.
Also move file size checking logic here.
PERS_FILE_XFER::start_xfer(): use FILE_INFO::verify_downloaded_file()
to decide whether to use existing file,
rather than doing a bunch of checks manually
PERS_FILE_XFER::poll(): don't check size on completion of xfer.
Leave it to verify_downloaded_file().
- is_dir() and is_file() return bool, not int
(hope this doesn't break C compile)
- scheduler: the parent of a zombie host might be a zombie
client/
cs_apps.C
cs_files.C
pers_file_xfer.C
lib/
error_numbers.h
filesys.C,h
sched/
handle_request.C
David 12 April 2005
- core client: merge verify_existing_file() and verify_downloaded_file()
into a single function verify_file(bool strict),
where "strict" says whether to check checksum/signature
(this is skipped when seeing if a result's input files are available)
This fixes a bug in the dont_verify_images logic
client/
client_types.C,h
cs_apps.C
cs_files.C
pers_file_xfer.C
sched/
sched_send.C
Rom 12 April 2005
- Bug Fix: The manager shuold look for the daemon on the loop back adapter
since that is where the daemon is listening.
- Bug Fix: THREAD_PRIORITY_IDLE is even lower than THREAD_PRIORITY_LOWEST
- Bug Fix: Once again back out a change to support Japanese until we
understand the font problems futher, basically trying to support
Japanese right now causes problems for English based systems.
api/
boinc_api.C
clientgui/
BOINCTaskCtrl.cpp
lib/
gui_rpc_client.C
David 13 April 2005
client/
app_control.C
client_state.C,h
client_types.C,h
cs_apps.C
cs_scheduler.C
scheduler_op.C,h
lib/
boinc_win.h
prefs.C,h
Rom 13 April 2005
- Bug Fix: Re-enable INADDR_ANY for the *nix platforms since they cannot
seem to connect through the loopback adapter.
client/
gui_rpc_server.C
clientgui/
gui_rpc_client.C
David 13 April 2005
- schedule_cpus(): if using deadlines,
DON'T call assign_result_to_projects().
That sets the already_selected fields of running results,
and schedule_earliest_deadline_result() skips over them,
even though they may have the earliest deadline
- name changes
cpu_crunch_nearest_first -> cpu_earliest_deadline_first
schedule_nearest_deadline_project()
-> schedule_earliest_deadline_result()
- core client: make function request_schedule_cpus() so you can
see why CPU is being rescheduled
- don't use "crunch" or "panic mode", especially in user interface
client/
app_control.C
client_state.C,h
cs_apps.C
cs_scheduler.C
gui_rpc_server.C
Bruce 14 April 2005
- file_upload_handler: when responding to a request for the
file length, check first that the file is not already
in open (locked) by another file_upload_handler. If the
file IS open (locked), then do NOT hand back the file length.
Instead return a transient error. This will prevent
transmission of upload data starting at the wrong offset.
- file_upload_handler: ignore <data_server_request>tag
- To help understand when/why multiple file_upload_handlers
are trying to write to the same file, set default log level
to DEBUG. Also log messages at level CRITICAL if there is
an attempt to write to a locked file. We may want to change
this level to DEBUG in the future, if this turns out to be
'normal' TCP buffering of data between host and server.
sched/
file_upload_handler.C
Charlie 15 April 2005
Mac: Fix compile errors for BOINC Manager.
client/
net_xfer.C
clientgui/
BOINCGUIApp.cpp
MainDocument.cpp
mac_build/
boinc.pbproj/
project.pbxproj
English.lproj/
InfoPlist.strings
David 15 April 2005
- file upload handler: Solaris compile fix
- mail_passwd.php: if an account exists with non-munged address,
return that account key (old code could return account key
for a munged address, even though a non-munged one exists)
html/user/
get_passwd.php
mail_passwd.php
sched/
file_upload_handler.C
David 15 April 2005
- core client, GUI RPC: if no remote connections allowed,
use lookback address (127.0.0.1) for listening socket
client/
gui_rpc_server.C
lib/
boinc_cmd.C
gui_rpc_client.C
David 15 April 2005
- Manager: added "no more work" toggle for projects
(from James Drews)
and fix compile warnings
clientgui/
DlgAttachProject.cpp
DlgConnection.cpp
DlgSelectComputer.cpp
MainDocument.cpp,h
MainFrame.cpp
ViewMessages.cpp
ViewProjects.cpp,h
ViewStatistics.cpp
Bruce 15 April 2005
- file_upload_handler: fixed another bug. If you fopen(path, "a") in
append mode then fseek() then write to the file, the fseek() HAS
NO EFFECT. This is documented ANSI C. So I have eliminated the
fseek. We now check that the file size corresponds exactly to the
claimed offset of the data. If they do not agree then return a
transient error to force the host to ask again for the file length
and re-transmit data.
sched/
file_upload_handler.C
David 15 April 2005
- removed close() call in RPC_CLIENT constructor (???)
Manager works on Linux now
lib/
boinc_cmd.C
gui_rpc_client.C
David 15 April 2005
- core client: added "-dir path" cmdline option
(chdir to the given directory at startup)
client/
cs_cmdline.C
David 15 April 2005
- Fortran API: trim whitespace from filenames passed from FORTRAN,
and blank-pad filenames passed to FORTRAN (from Don Bashford)
api/
boinc_api_fortran.C
David 15 April 2005
- Ops web: create account script broken
(fixes from Andy Read)
html/ops
create_account_action.php
David 15 April 2005
- On Mac OS X apparently binding a socket to address 127.0.0.1 fails.
Use INADDR_ANY instead.
client/
gui_rpc_server.C
Charlie 16 April 2005
Mac: Fix paths in XCode project to make them fully portable / relative.
Clear menu bar in science apps using Bernd's suggested code.
api/
x_opengl.C
mac_build/
boinc.pbproj/
project.pbxproj
David 16 April 2005
- fixed GUI RPC connection problem on Mac
(if a connect on a socket fails, you need to close it
and make a new one before trying another connect)
lib/
gui_rpc_client.C
Bruce 17 April 2005
- Made default choice 'ACCEPT' for screening user profiles for UOTD.
html/
ops/
profile_screen_form.php
David 17 April 2005
- (from Reinhard Prix) add IOKit framework to Mac compile of core client
configure.ac
David 17 April 2005
- add PID to log messages of scheduler and file upload handler
lib/
msg_log.C,h
sched/
main.C
file_upload_handler.C
David 18 April 2005
- code cleanup in scheduler
sched/
handle_request.C
sched_send.C,h
server_types.C,h
validate_util.C
Bruce 18 April 2005
- Added ops page script to email owners of 'problem' hosts. Thanks to
Christian Beer for writing this.
html/
inc/
email.inc
ops/
problem_host.php
David 18 April 2005
- scheduler: don't send a result to a host
if its network connection period (work_buf_min_days)
is greater than WU's delay bound
sched/
sched_send.C,h
server_types.C,h
Charlie 18 April 2005
Mac: Move some Mac-specific code out of x_opengl.C into new
Cocoa source file macglutfix.m. Replace Carbon API calls
with equivalent Cocoa calls soScience apps don't need to link
with Carbon framework. They will need to link with AppKit
framework (Macintosh only)
api/
x_opengl.C/h
macglutfix.m (new)
mac_build/
boinc.pbproj/
project.pbxproj
Bruce 19 April 2005
- rework of file_upload_handler. I learned that is it not
reliable to use flock/lockf/fnctl file locking with buffered
IO. This is because the stream libraries might unexpectedly
open/close/dup file descriptors on you. So I have modified
the file write/append functions to use raw IO rather than
buffered IO. In doing this I also found and fixed some small
bugs. There is no guarantee that one can mix flock/lockf/fnctl
file locking so I have settled on fnctl since it is POSIX and
gives the most control.
sched/
file_upload_handler.C
David 19 April 2005
- bug fixes for remote GUI RPC
client/
gui_rpc_client.C
lib/
gui_rpc_client.C
Bruce 19 April 2005
- Better error reporting from problem_host.php reporting page, if
host does not exist. Thanks to Christian Beer.
html/
ops/
index.php
problem_host.php
David 19 April 2005
- BOINC manager: remote connection wasn't working because
it was using the wrong password variable.
clientgui/
MainDocument.cpp
David 19 April 2005
- error checking in boinc_cmd
lib/
boinc_cmd.C
gui_rpc_client.C
David 19 April 2005
- fix bug in -attach_project command line option (from Tony Murray)
- GUI RPC: include <rss_bytes> for active tasks,
(even though it's always zero)
client/
app.C
cs_cmdline.C
gui_rpc_server.C
David 19 April 2005
- core client: warn user if results are overdue
client/
app.C,h
client_state.C
cs_apps.C
Janus 20 April 2005
- Added "sticky forum thread" code from BURP (lightning)
- Added support for per sub-forum posting rules for threads and replies:
- You must have at least X total credit
- You must have at least Y recent credit
- You must wait Z secs between each post
- Moved temporary rules for rating to the forum_rate.php file.
(this file needs a bit of work)
- Added some DB fields to make the above features work
html/
inc/
forum.inc
forum_show.inc
user/
forum_thread.php
forum_moderate_thread_action.php
forum_reply.php
forum_post.php
forum_rate.php
img/
unread_post.png (moved)
filtered_post.png (moved)
emphasized_post (moved)
unread_sticky.png (new)
stick_post.png (new)
ops/
db_update.php
Rom 20 April 2005
- The new UI scheme for the project tab, the rest of the tabs will
follow.
clientgui/
BOINCBaseView.cpp, .h
BOINCTaskCtrl.cpp, .h
Events.h
MainFrame.cpp, .h
ViewProjects.cpp, .h
David 20 April 2005
- added Janus' DB changes to schema.sql
- use get_int() etc. in forum_rate.php
- no time limit in update_forum_activitie.php
db/
schema.sql
html/
ops/
update_forum_activities.php
user/
forum_rate.php
David 20 April 2005
- removed residual CORE_VERSION stuff
db/
boinc_db.C,h
sched/
db_dump.C
handle_request.C
sched_shmem.C,h
Rom 20 April 2005
- Here are the rest of the tabs converted over to the new UI scheme.
clientgui/
BOINCBaseView.cpp, .h
BOINCTaskCtrl.cpp
Events.h
MainFrame.cpp
ViewMessages.cpp, .h
ViewProjects.cpp, .h
ViewResources.cpp, .h
ViewStatistics.cpp, .h
ViewTransfers.cpp, .h
ViewWork.cpp, .h
Rom 20 April 2005
- Fix an Assert where somebody attempts to close the manager and then
selects exit again before the daemon has a chance to close itself
down
clientgui/
BOINCGUIApp.cpp
David 21 April 2005
- change buttons in task tab based on selection
clientgui/
BOINCBaseView.h
MainDocument.cpp,h
ViewProjects.cpp
Rom 21 April 2005
- Code Cleanup
clientgui/
BOINCBaseView.cpp, .h
BOINCListCtrl.cpp, .h
BOINCTaskCtrl.cpp, .h
ViewMessages.cpp, .h
ViewProjects.cpp, .h
ViewResources.cpp, .h
ViewStatistics.cpp, .h
ViewTransfers.cpp, .h
ViewWork.cpp, .h
David 21 April 2005
- CPU scheduler: don't run projects or results suspended via GUI,
even in earliest-deadline-first mode
- fix button logic for projects
- set buttons in work tab based on selection
- include graphics_mode_acked in GUI RPC description RESULT.
Could indicate whether app has window open (but doesn't yet).
client/
app.C
cs_apps.C
clientgui/
MainDocument.cpp,h
ViewProjects.cpp,h
ViewWork.cpp, h
lib/
gui_rpc_client.h
Rom 21 April 2005
- More code cleanup
- Enable the various project defined website under new GUI scheme
clientgui/
BOINCBaseView.cpp, .h
Events.h
ViewMessages.cpp
ViewProjects.cpp, .h
ViewResources.cpp
ViewStatistics.cpp
ViewTransfers.cpp
David 21 April 2005
- improve client startup messages
client/
client_state.C
client_types.h
cs_account.C
cs_scheduler.C
Rom 22 April 2005
- Post an update request instead of forcing one right as the user is changing
tabs, this increases preceived performance since the tab switches over
and the update happens around the same time as ones eyeballs move to the
part of the screen where they are expecting to see a change.
clientgui/
MainFrame.cpp
Charlie 23 April 2005
Mac: Rename "BOINC.app" to "BoincManager.app", rename "boinc_client"
to "boinc".
Create screen saver, add it to BOINC XCode project.
clientgui/
BOINCGUIApp.cpp
mac/
mac_saver_module.cpp (new)
boinc.tiff (new)
Mac_Saver_ModuleView.h (new)
Mac_Saver_ModuleView.m (new)
BOINCSaver.nib.sit (new)
mac_build/
Info.plist
ScreenSaver-Info.plist (new)
boinc.pbproj/
project.pbxproj
Rom 23 April 2005
- More code cleanup work in the manager
clientgui/
MainDocument.cpp, .h
Charlie 24 April 2005
Mac: Fix screensaver to work properly with password option.
MacGLUTFix() gets GLUT graphics window pointer correctly,
sets screensaver window level to 2020 instead of 1000.
Don't change screensaver blanking window's level. Add blocking
to main screensaver thread to yield more time to BOINC apps.
api/
macglutfix.m
clientgui/
mac/
mac_saver_module.cpp
Mac_Saver_ModuleView.m
Charlie 25 April 2005
Mac: screensaver tweaks: banners scroll faster & smoother,
reduce annoying flashes when screensaver graphics are starting.
gutil.C - fix compiler warning.
api/
macglutfix.m
x_opengl.C
gutil.C
clientgui/
mac/
mac_saver_module.cpp
Eric 25 Apr 2005
GUI fix for platforms without tooltips.
Typo fix in Makefile.am
clientgui/
Makefile.am
BOINCTaskCtrl.cpp
ViewProjects.cpp
ViewWork.cpp
Rom 25 April 2005
- Don't allow people to continue posting or reading from a thread that has
already been closed for administrative purposes.
html/user
forum_reply.php
Rom 25 April 2005
- Update the manager so that it'll build against wxWidgets 2.6.0
NOTE: You'll need to upgrade to wxWidgets 2.6.0 and make sure that you
are building the ANSI version of the libraries.
clientgui/
MainDocument.cpp
MainFrame.cpp
clientgui/msw/
taskbarex.cpp, .h
win_build/
BOINCGUI.vcproj
Charlie 26 April 2005
Mac: Changes for compatibility with wxMac-2.6.0
Don't open BOINCManager window if launched automatically at login.
clientgui/
BOINCGUIApp.cpp
mac/
MacSysMenu.cpp
MacSysMenu.m
mac_saver_module.cpp
mac_build/
HowToBuildBOINC_XCode.rtf
Rom 26 April 2005
- More code cleanup in the manager.
- Take care of a couple crashing conditions that occurred after the
migration to wxWidgets 2.6.0
- Make the website buttons work again
- Layout() seems to work better than the call to Fit() to adjust the
various window locations. So switch all the calls from Fit() to
Layout() and see if this fixes the Mac scrollbar issue.
clientgui/
BOINCBaseView.cpp, .h
BOINCTaskCtrl.cpp, .h
Events.h
MainFrame.cpp
ViewProjects.cpp
ViewStatistics.cpp
ViewTransfers.cpp
ViewWork.cpp
David 26 April 2005
- Preliminary checkin for "intermediate upload" feature for CPDN.
This allows an app to upload a file in the middle of a result.
- code cleanup in Manager code:
- Started to get rid of member functions of CMainDocument
that access elements of PROJECT (????).
e.g.:
GetProjectProjectName()
GetProjectTeamName()
Rom: please complete this.
- Started to get rid of functions like
CViewProjects::FormatProjectName()
Rom: please complete this
- ASSERT(NULL != X) -> ASSERT(X)
(do not undo these - please replace everywhere)
- Destructors don't need to reset fields.
TODO: replace the OnDocGetItemText() functions
with functions that get all items at once
api/
boinc_api.C
client/
app.h
app_control.C
cs_files.C
clientgui/
BOINCBaseView.cpp
BOINCGUIApp.cpp
BOINCListCtrl.cpp
BOINCTaskBar.cpp
BOINCTaskCtrl.cpp
MainDocument.cpp,h
MainFrame.cpp
ViewMessages.cpp
ViewProjects.cpp,h
ViewResources.cpp
ViewStatistics.cpp
ViewTransfers.cpp,h
ViewWork.cpp
lib/
gui_rpc_client.C,h
shmem.C,h
win_build/
boinc_cli.vcproj
Charlie 27 April 2005
Mac: created installer. Changed working directory from
user-specific "~/Library/Application Support/BOINC Data"
to global "/Library/Application Support/BOINC Data".
Fixed CViewProjects::OnProjectWebsiteClicked for Mac.
Added progress display to screensaver when no application
graphics.
mac-installer/
LoginItemAPI.c (new)
LoginItemAPI.h (new)
PostInstall.cpp (new)
postinstall (new)
postupgrade (new)
ReadMe.rtf (new)
License.rtf (new)
BOINC.pmsp (new)
clientgui/
BOINCGUIApp.cpp
MainFrame.cpp
mac/
mac_saver_module.cpp
Rom 27 April 2005
- Make the taskbar work again after the wxWidget conversion to 2.6.0
- Fix the Windows projects so that they look for the setup.h file in
correct location.
clientgui/msw/
taskbarex.cpp
win_build/
BOINCGUI.vcproj
Janus 28 April 2005
- Updates from Rob Ogilvie:
- Forum rules apply to rating as well
- Quoting is now done with blockquotes instead of >
- Added blockquote to stylesheet and valid html in sanitizer
- Loads of get_int/get_str corrections
- Moderators can view hidden threads if going direct by ID
- Made the special user feature aware of "holes" in the bitfield
(corrects a potential bug when part of the bitfield isn't specified)
- Added a 5 sec delay to userw.php in the case where the user does not
exist. This will in particular force people to not lookup the
non-existant user 0 hundreds of times per min - which is waste of
resources (DB and bandwidth).
html/
inc/
sanitize_html.inc
forum.inc
user/
forum_rate.php
forum_reply.php
forum_thread.php
style-black.css
style.css
userw.php
Charlie 28 April 2005
Mac: Clean up XCode project by removing unused libraries
and frameworks.
Update build instructions to include screensaver & installer.
mac_build/
HowToBuildBOINC_XCode.rtf
boinc.pbproj/
project.pbxproj
Rom 28 April 2005
- Add a timeout to any gui rpc connection attempt, this should get
around the manager hanging when a firewall is blocking 31416.
lib/
gui_roc_client.C, .h
David 28 April 2005
- debugged intermediate upload feature
- Got rid of some -1 returns.
A BOINC function should never return -1
(or the return value of a system call)
since this discards info about where the error came from
- parse_double(): don't accept NaN or +- infinity
api/
boinc_api.C,h
apps/
upper_case.C
client/
app.C,h
app_control.C
client_state.C
client_types.C,h
cs_apps.C
cs_files.C
gui_rpc_server.C
lib/
app_ipc.h
error_numbers.h
filesys.C
mfile.C
network.C
parse.C
Rom 28 April 2005
- Adjust the installer so that it will not include the pdb files in future
releases.
- Keep previous manager look and feel around.
clientgui/archive/
<Add previous look and feel for reference in case we need them>
win_build/installerv2/
BOINC.ism
Charlie 28 April 2005
Mac: Add Bernd's HOST_INFO::host_is_running_on_batteries
code for Macintosh.
client/
hostinfo_unix.C
David 28 April 2005
- Get rid of a user.update() in the scheduler.
This updates all fields of the user record,
possibly overwriting fields updated by the validator
around the same time.
Replace it with user.update_field()
(From Bruce Allen)
TODO: there's also a host.update() that needs to be dealt with.
sched/
handle_request.C
server_types.C,h
Charlie 29 April 2005
Mac: Add precompiled header to XCode project for mgr_boinc
target to greatly speed up compilation.
clientgui/
mac/
MacGUI.pch (new)
Bruce 29 April 2005
- Fixed update_average() function to do the right thing when the time
between successive calls is small (zero seconds):
Consider the limit
as diff->0, using the first-order Taylor expansion of
exp(x)=1+x+O(x^2).
So to the lowest order in diff:
weight = 1 - diff ln(2) / half_life
so one has
avg += (1-weight)*(work/diff_days)
avg += [diff*ln(2)/half_life] * (work*SECONDS_PER_DAY/diff)
notice that diff cancels out, leaving
avg += [ln(2)/half_life] * work*SECONDS_PER_DAY
lib/
util.C
html/
inc/
credit.inc
Charlie 29 April 2005
Mac: made path to Installer-info.plist in XCode project relative
rather than absolute.
Checked in Installer-info.plist.
mac_build/
Installer-info.plist (new)
Rom 29 April 2005
- Bug Fix: UpdateSelection should be called everytime the listview has
been refreshed in case a project/result/transfer has changed its
status which might cause a button change.
- Bug Fix: Double clicking on the taskbar icon will restore the window
as well as show it.
clientgui/
BOINCBaseView.cpp
BOINCTaskBar.cpp
Charlie 29 April 2005
Mac: Update version to 4.35. Update build instructions.
clientgui/
mac-installer/
BOINC.pmsp
mac_build/
HowToBuildBOINC_XCode.rtf
Info.plist
Janus 30 April 2005
- Changed rating +/- links to be images instead (more visible)
Suggested by Eric Myers.
- Added example images
- Made "sticky sorting" optional. Users can now ignore sticky posts and
have posts sorted by time as usual if they like.
html/
inc/
forum.inc
forum_show.inc
user/
edit_forum_preferences_form.php
edit_forum_preferences_action.php
img/
rate_positive.png (new)
rate_negative.png (new)
Bruce 30 April 2005
- Compile fix for upper_case (was broken under gcc/Linux)
apps/
upper_case.C
David 30 April 2005
- bug fix in scheduler (buffer overrun on user prefs update)
sched/
handle_request.C
sched_shmem.C
David 30 April 2005
- (from Eric Myers)
Windows: if user holds down control key while in screensaver mode,
input is handled by the app (and screensaver mode is not exited)
api/
windows_opengl.C
David 30 April 2005
- changed library order in clientgui Makefile
(from JR Oldroyd; needed for link on FreeBSD)
clientgui/
Makefile.am
Bruce 1 May 2005
- Added a utility function to 'print' a text description of errors
in error_numbers.h. In the future, when adding a new error number
to this file, please update boincerror() in util.C to contain a
short text description of the error.
lib/
error_numbers.h
util.C
util.h
David 2 May 2005
- bug fix for intermediate upload feature
client/
app.C
Bruce 2 May 2005
- locality scheduling: if host resources are inadequate for ANY WU,
assume that they are inadequate for ALL WU. Without this we will
execute an expensive deterministic search over all WU, looking
for one that is appropriate. This could be a config option if
desired, or one might add in an extra search step to find WU with
appropriate resources. But for now this is the cleanest.
sched/
sched_locality.C
Rom 3 May 2005
- Bug Fix: Global Loc issue with the statistics tab on creation.
clientgui/
ViewStatistics.cpp
David 3 May 2005
- scheduler: fixed a bug where host::update()
could potentially overwrite a credit update
happening around the same time.
Did this by adding a function HOST::update_diff(HOST& initial)
which does an update only of those fields that have
changed relative to the given initial values.
(from Bruce Allen)
- scheduler: fixed a bug where host_cpid wasn't being maintained properly.
Caused it to change on each RPC.
- removed unused "p_calculated" from HOST
- removed code to parse non-existent fields p_fpop_err etc. in HOST
db/
boinc_db.C,h
sched/
handle_request.C
server_types.C
Bruce 3 May 2005
- ignore fields p_fpop_err in scheduler requests (still there from
4.19 core clients) else these generate lots of logfile noise.
David, please revert if you don't like it.
- in host page visible to ordinary users, include daily result
quota info.
sched/
server_types.C
html/
inc/
host.inc
Janus 4 May 2005
- Split forum.inc into two files. One DB related (db_forum.inc) and one
that has to do with usual forum functions (like showing posts etc).
html/inc/
forum.inc
db_forum.inc (new)
Bruce 4 May 2005
- log execution times for two cgi scripts (scheduler and
file_upload_handler)
- better print format for timezone
- bug fix: with locality scheduling, permit multiple requests
to make work for same file. Bug introduced April 11, 2005.
sched/
sched_util.h
sched_util.C
sched_timezone.C
main.C
sched_send.C
file_upload_handler.C
sched_locality.C
Jeff 4 May 2005
- Accounted for the fact that function finite() is prototyped in ieeefp.h
under solaris and math.h under linux.
configure.ac
lib/
parse.C
David 4 May 2005
- bug fix in boinc_upload_file() (from Tolu Aina)
- added forum_preferences.ignore_sticky_posts to schema
api/
boinc_api.C
db/
schema.sql
Bruce 4 May 2005
- bug fix so that Unix hosts report their timezones correctly
taking into account the effect of DST on their localtime.
NOTE: hosts that lacked a gmt offset in the tm structure (System V
with no BSD extensions) had the WRONG SIGN for the timezone.
This is now fixed. These host types (AIX, Cygwin?) will now have a
change in sign in their timezone, making it consistent with other
Unix hosts and with Win32 hosts.
- Note that with these changes we adopt the convention that the database
timezone value is the (Local Standard Time) - (UTC time). This
quantity only depends upon spatial location on the earth's surface and
is NOT a function of time.
- Change php functions to correctly describe timezone field.
client/
hostinfo_unix.C
html/
inc/
email.inc
host.inc
db_ops.inc
Rom 4 May 2005
- Bug Fix: Fix the screensaver on Win9x class of machines.
- Bug Fix: The help menu needed to include items for the BOINC website
and manager page.
- Some code cleanup
client/win/
win_screensaver.cpp
clientgui/
Events.h
MainFrame.cpp, .h
ViewMessages.cpp
ViewProjects.cpp
ViewStatistics.cpp
ViewTransfers.cpp
ViewWork.cpp
David 4 May 2005
- core client: fix bug where sometimes we don't fetch work
even though a CPU is idle (from John McLeod)
client/
cs_scheduler.C
David 4 May 2005
- limit size of author field in forums (from Rob Ogilvie)
html/
inc/
forum.inc
user/
black.css
style.css
style-black.css
Rom 4 May 2005
- Update the minimum wxWidgets version we support to 2.6.0.
/
configure.ac
Charlie 5 May 2005
Mac: Modify projects and rebuild with OS 10.3.0 compatibility SDK.
Rebuild WxMac-2.6.0 library with OS 10.3.0 compatibility SDK.
Update build instructions. Update version number in various
*info.plist files. Update ReadMe file. Better logic for avoiding
annoying flashes in screensaver. Avoid screensaver hang if graphics
application is non-responsive. Installer: don't require reboot;
launch BOINC at end of install; refuse to install if OS < 10.3;
set up BOINC Data directory properly if installed by non-admin user.
api/
macglutfix.m
clientgui/
mac/
mac_saver_module.cpp
mac_build/
HowToBuildBOINC_XCode.rtf
Info.plist
SystemMenu-Info.plist
ScrenSaver-Info.plist
Installer-Info.plist
boinc.pbproj/
project.pbxproj
mac_installer/
BOINC.pmsp
PostInstall.cpp
ReadMe.rtf
David 5 May 2005
- core client: exit if can't write state file
client/
client_state.C
scheduler_op.C
David 5 May 2005
- fixes for FreeBSD from J.R. Oldroyd
- BOINC Manager:
Don't use BOINC_DIAG_REDIRECTSTDERR and BOINC_DIAG_REDIRECTSTDOUT
on non-Windows
IsBOINCCoreRunning(): close RPC connection
clientgui/
BOINCGUIApp.cpp
lib/
network.C
David 5 May 2005
- scheduler: HOST::fix_nans(): use !finite() instead of isnan()
(to detect infinity as well as NaN)
- DB_HOST::update_diff(): escape/unescape strings
- scheduler: escape/unescape strings in a could of update_field()s
db/
boinc_db.C
db_base.C
sched/
handle_request.C
David 5 May 2005
- core client: parse multiple <schedule> tags per line from a master file
This should fix a minor bug for UMTS users.
UMTS apparently strips CRLFs from HTML files.
So UMTS users would see only 1 scheduler from a project,
even if it has multiple schedulers.
client/
scheduler_op.C
David 5 May 2005
- sort team pages
html/
inc/
team.inc
user/
team_display.php
Rom 5 May 2005
- When running benchmarks, close down and remove science applications
from memory. If a science application isn't listening to the quit request
it may not be responding to suspend/resume either which would cause problems
during the benchmark process.
- If a science application doesn't shutdown within 10 seconds, kill it.
- Fix the bug I introduced last night with the view statistics tab.
- Make suspend_all call atp->preempt() instead of doing the same thing itself.
- Move the starting benchmark message to a place right before the benchmarks
start. We were receiving a few process control messages and people might
interpret that to mean other stuff was going on during the benchmarks.
client/
app.C, .h
app_control.C
cs_benchmark.C
cs_prefs.C
clientgui/
ViewStatistics.cpp
Eric 05/05/05 Woo Hoo!
- Modified the BOINC_GETSOCKOPT_TYPE macro so it determines the proper type
of parameter 5 to getsockopt() by using the compiler.
The macro was in danger of becoming an ever expanding list of
case statements, since some platforms
use socklen_t, others use size_t, and still others use int. Some aren't
even consistent from OS rev to OS rev.
- A macro BOINC_SOCKLEN_T is set in config.h to indicate the proper type.
This is typedef to be boinc_socklen_t in lib/network.h. The special cases
for __APPLE__ and WIN32 can probably be removed at a later time. Places
where socklen_t was used have been changed to boinc_socklen_t.
- Added double inclusion protection to network.h
- Added libtool.m4 so porters don't need to install libtool.
- Fixed header order problem in SAH_HEADER_STDCXX which caused problems
on solaris
- Added caching of results to SAH_CHECK_NAMESPACES and
SAH_FUNCS_IN_NAMESPACE
- Small changes to configure.ac to improve compatibility with earlier
versions of automake.
- Added include of <sys/socket.h> to time_stats.C
- Fixed problem with std_fixes.h when included from C.
m4/
libtool.m4
boinc_getsockopt.m4
sah_header_stdcxx.m4
sah_namespace.m4
client/
time_stats.C
gui_rpc_server.C
ssl_net_xfer.C
lib/
network.C
network.h
std_fixes.h
Charlie 5 May 2005
Mac installer: Wait until installer quits before launching BOINC.
mac_installer/
PostInstall.cpp
Charlie 6 May 2005
Macintosh only: wxProcess::Exists() and wxKill() are unimplemented
in WxMac-2.6.0 so create our own CBOINCGUIApp::ProcessExists(), use
it and kill() in CBOINCGUIApp::ShutdownBOINCCore().
clientgui/
BOINCGUIApp.cpp/h
David 6 May 2005
- fixes to work fetch policy (from John McLeod)
- changed names of work-fetch urgency constants to WORK_FETCH_*
(use common prefix for related symbols)
client/
client_state.h
client_types.C,h
cs_scheduler.C
scheduler_op.C
David 6 May 2005
- prevent users from changing their name to empty string
(from Rob Ogilvie)
html/user/
edit_user_info_action.php
Charlie 7 May 2005
Mac: Fix problems with window position & size caused by
calling Maximize(false). If m_bFrameVisible-visible is
false at startup, don't show & hide window (to eliminate
annoying flash of window).
clientgui/
BOINCGUIApp.cpp
BOINCTaskBar.cpp
MainFrame.cpp
Bruce 7 May 2005
- compile fix for HPUX and AIX
client/
hostinfo_unix.C
Janus 8 May 2005
- Security patches and improvements from Rob Ogilvie making it harder
to misuse the forums.
- escape all strings before inserting into SQL and check everything else
- use regex do search and remove images instead of old slow function
- added a function cleanTextBox that prepares text to be dropped into
a textarea (replacing < and >). Also added the use of it to the
reply-page and edit-page.
- <pre> changes in the stylesheet
- Added max width on authorcols in forum to css
- Added nicer style to blockquotes
- Removed some old code from forum show_post that wasn't used anymore but
still accessed the database and threw away the result.
- Added a tiny part of the PayPal donation system from BURP, more parts
will show up later when they have been rewritten to work with php4
Please check if the license of the original PayPal script
(http://opensource.org/licenses/cpl.php) fits with the BOINC license. The
way I read it there should be no problems (since BOINC is opensource as
well).
html/
inc/
db_forum.inc
forum.inc
paypal_global_config.php (new)
user/
black.css
forum_edit.php
forum_reply.php
style.css
style-black.css
white.css
payment_success.php (new)
payment_process.php (new)
David 8 May 2005
- work fetch and CPU scheduling fixes (from John McLeod)
client/
client_state.C,h
client_types.C,h
cs_scheduler.C
scheduler_op.C,h
David 9 May 2005
- scheduler: return error (and don't send result)
if result DB update, WU DB update, or XML mods fail
(from Ian Hay)
sched/
sched_send.C
Rom 9 May 2005
- Remove last Friday's benchmark checkin and introduce a benchmark startup
timeout. If an application cannot be shutdown because an application
fails to shutdown, it'll just skip the benchmarks.
- Add a new log flag for the cpu scheduler called '<sched_cpu_debug>' so
that people can debug client-side issues with the scheduler
- Convert the #ifdef scheduler debug code to log flag calls
- Fix a CPU scheduling bug where the client thought all the CPU's were idle.
client/
app.C, .h
app_control.C
client_msgs.C, .h
client_state.C
cs_benchmark.C
cs_scheduler.C
log_flags.C, .h
Bruce 10 May 2005
- Forums: added an html/bookmark style link to the header for each message.
This makes it a bit more convenient to reference a particular message
(rather than the entire thread) in an email or another thread.
Janus, Rob, I hope this is OK with you.
Feel free to revert if you don't like it.
- Forums: added credit and recent average credit to the brief description
of users.
html/
inc/
forum.inc
Janus 10 May 2005
- Reply box on reply page in the forums is now at the top of the page
to avoid scrolling (From Rob Oglivie)
html/user/
forum_reply.php
Rom 10 May 2005
- work fetch and CPU scheduling fixes (from John McLeod)
- Convert screen saver debug messages to scoped messages so that everyone
can see them by adding a flag to log_flags.xml
client/
app_graphics.C
client_msgs.C, .h
client_state.C
cs_scheduler.C
log_flags.C, .h
scheduler_op.C
ss_logic.C
Bruce 11 May 2005
- Eliminate some annoying 'undefined index' errors in PHP log. Note
that in general the right way to use _GET[] is like this:
$x=default_value;
if (isset($_GET["x"])) $x=$_GET["x"];
This prevents PHP notice-type error messages.
- Eliminate some annoying undefined variables
- Typo in download_network.php
html/
inc/
forum.inc
util.inc
prefs.inc
forum_show.inc
db_forum.inc
host.inc
db_ops.php
user/
prefs.php
sample_rss_main.php
download_network.php
top_teams.php
show_host_detail.php
team_display.php
top_hosts.php
top_users.php
create_account_form.php
logout.php
view_profile.php
Rom 11 May 2005
- When adjusting the graphics mode to the application from within
the application use the acked_graphics_mode instead of the
current_graphics_mode since the current
graphics mode is what we would like to be,
not necessarily what we are.
api/
windows_opengl.C
David 11 May 2005
- scheduler: fixed bug where rpc_seqno wasn't getting updated
db/
boinc_db.h
sched/
handle_request.C
server_types.C
Bruce 12 May 2005
- forums: allow project admin, project developers and forum moderators
to edit their own posts at any time (not just within one hour).
- scheduler: if host reaches daily result quota and contacts the scheduler,
tell it to delay until a random time falling within the first hour
of the following day.
Previously the host would be told to delay one hour,
which could lead to as many as 24 retries in a one-day period.
html/
user/
forum_edit.php
sched/
sched_send.C
David 12 May 2005
- db_dump: don't exit if user lookup fails
- user web: improve processing of team names (from Rob Ogilvie)
html/
inc/
team.inc
util.inc
user/
team_create_action.php
team_display.php
team_edit_action.php
sched/
db_dump.C
David 12 May 2005
- core client: dir_scan() shouldn't skip over all entries
starting with ".". It should only skip over "." and "..".
lib/
filesys.C
David 12 May 2005
- parse unused ACTIVE_TASK entries to avoid error messages
client/
app.C
Rom 12 May 2005
- Bug Fix: ShutdownSaver() can be called from the data management thread
in the scrrensaver, so specifically look up the primary window and
post a quit message there instead of the default window proc of the
thread, which in our case doesn't exist.
- Bug Fix: Remove MODE_QUIT from the CC logic and use MODE_HIDE_GRAPHICS
with is_ss_app to stop the screensaver. Some projects were not giving
us the MODE_QUIT message and so the screensaver wouldn't shutdown in
a timely manor.
api/
windows_opengl.C
client/
app_graphics.C
client/win/
win_screensaver.cpp
Charlie 13 may 2005
Mac: Update build instructions.
Fix compile error.
client/
main.C
mac_build/
HowToBuildBOINC_XCode.rtf
Janus 13 May 2005
- Really make optional fields (postal code and url) optional
For those who rewrite stuff to using get_str etc please remember to
consider if the variable is optional (add true to get_str) or not.
- Added support for css class names in start_forum_table:
Use array(array("Header 1", "style_name_1"), "Header 2", array("Header 3", "style_name_2"))
It defaults to the old "heading" style.
- Checking in patch from Rob Oglivie:
- Figured out how to simply merge two objects together in
db_forum.inc's forum preferences function
- Moved forum-related text transforming functions in to
text_transform.inc - these can certainly be used elsewhere
- Defined a text transforming options class where default options
are set
- Created a new output_transform() function that takes text and options
and outputs text transformed as such.
- Implemented said function in show_post and show_post2, as well as in
the signature preview on edit_forum_preferences_form.php
- Various wrappers and modifiers to clean up forum-related table
display when people use long nonbreaking words for thread subjects or
their usernames. These fixes all work in Firefox. IE, Opera, and KTHML
users will get most of the benefits, but not all of them.
- Wrote a page explaining how to use bbcode tags and linked to it
instead of the allowed HTML tags section
- After editing forum preferences, people are now taken back to the
forum preferences page again - so they can see how it looks
- Quoting text on the forums now uses bbcode instead of HTML
- Added a signature delimiter
- Renamed get_settings_from_user to get_transform_settings_from_user
- Made compile_languages optional in the translator (wow how did anything work
without this in earlier versions?)
html/
inc/
db_forum.inc
forum.inc
forum_show.inc
translation.inc
util.inc
text_transform.inc (new)
user/
edit_forum_preferences_form.php
edit_forum_preferences_action.php
edit_user_info_action.php
forum_edit.php
forum_reply.php
forum_thread.php
white.css
bbcode.php (new)
Rom 13 May 2005
- When an application is in screensaver mode,
do not respond to the WM_CLOSE event since Intellitype/Intellipoint
will try to shutdown the screensavers.
- When in screensaver mode respond to a power broadcast event
by shutting ourselves down so the OS can go to sleep.
api/
windows_opengl.C
Rom 13 May 2005
- Cause the screensaver process to exit when a power broadcast event
is fired. It was already shutting down the screensaver
when the APMSUSPEND event was fired
but now we shutdown during the system query phase which happens
before the system actually decides to shutdown
client/win/
win_screensaver.cpp
David 14 May 2005
- fix bug where multiple scheduler RPCs or master file fetches
could be started simultaneously (this is a no-no).
- NET_XFER_SET::do_select(): don't add a socket to fd_set
if io_done is true.
This causes the select() to fail and all I/O locks up.
- break out English strings for socket errors
into a separate function (socket_error_str())
instead of having them embedded in resolve_hostname() (???)
client/
cs_scheduler.C
net_xfer.C
scheduler_op.C
win/
wingui_mainwindow.cpp
lib/
network.C,h
Charlie 15 may 2005
Mac: Update XCode project and build instructions for
OS 10.4 (Tiger) and XCode 2.0. Fix gcc-4.0 compiler warning.
clientgui/
mac/
mac_saver_module.cpp
mac_build/
HowToBuildBOINC_XCode.rtf
boinc.pbproj/
project.pbxproj
David 15 May 2005
- small web cleanup
html/
inc/
mail.inc
user/
mail_passwd.php
David 15 May 2005
- fix bug where sometimes master file fetch
or user-requested scheduler RPC wouldn't happen
- SCHEDULER_OP::init_get_work(): remove master_file_only argument
NOTE: functions should do one thing only.
Please do not overload them with extra arguments
and orthogonal functionality
client/
cs_scheduler.C
scheduler_op.C,h
Janus 16 May 2005
- Don't send reply-notifications in the forum to the user who posted the
reply, this just adds needless datatransfer for sending the mail and
later because the user will check if there actually was a reply...
html/
inc/
subsribe.inc
user/
forum_reply.php
Bruce 17 May 2005
- scheduler: use locking to prevent more than one scheduler instance from
running for a given host. This works by creating a file called
CGI_<HOSTID> in the cgi-bin/ directory, and using Posix advisory file
locking. I have been testing this code for three days and am seeing
*some* invocations of this. David, I'll send details to the dev mailing
list or talk with you about it later this week. Note: this code probably
can be removed in the future, when the core client problems are fixed.
Also note: I don't know if this is compatible with the fast cgi sched.
sched/
handle_request.C
server_types.h
Charlie 17 May 2005
Mac: SetVersion now automatically updates version number
string in all 5 files where needed, but does not touch
these files if the version number is current. Update build
instructions to reflect this new automation.
Fix new warnings from gcc 4.0 compiler. Installer makes
old BOINC quit before starting newly installed BOINC Manager.
clientgui/
mac/
mac_saver_module.cpp
SetVersion.C
mac_build/
HowToBuildBOINC_XCode.rtf
boinc.pbproj/
project.pbxproj
mac_installer
BOINC.pmproj (new, replaces BOINC.pmsp in Tiger)
PostInstall.cpp
Bruce 17 May 2005
- forum style: use 'comma-separated' number format for credit/RAC
html/
inc/
forum.inc
David 17 May 2005
- (from Bruce Allen) fix bug in scheduler in case where
host has been merged,
and results are reported with old (zombie) host ID.
Results in the DB have already been updated to new hostid;
compare with that ID, not old ID
- move mylockf() to sched_util.C
(eliminate duplicate definition in scheduler/file upload handler)
- move delete_file_from_host() to sched_locality.C
sched/
file_upload_handler.C
handle_request.C
sched_locality.C,h
sched_util.C,h
Rom 17 May 2005
- Bug Fix: The Mac screensaver sends us a MODE_HIDE_GRAPHICS even before
it acknowledges the MODE_FULLSCREEN change which in turn tells the CC
to shutdown the screensaver. So lets improve the robustness of the
shutdown logic to only shutdown the screensaver if the CC has received
an ack for the MODE_FULLSCREEN message.
client/
app_graphics.C
Charlie 18 May 2005
Mac: Fix some compiler warnings. Add --build=powerpc-apple-darwin to
configure args in build instructions to force generic platform name.
Fix core client redirection when launched by screensaver.
mac_build/
HowToBuildBOINC_XCode.rtf
boinc.pbproj/
project.pbxproj
clientgui/
mac/
mac_saver_module.cpp
Rom 18 May 2005
- Bug Fix: After starting the CC wait for 5 seconds to give the CC time
to establish the listening socket for the next rpc request.
- Convert the remaining #ifdef'ed debug messages into scoped messages
so they can be tracked in debug/release builds on all platforms.
- We store most if not all time values internally as doubles, so make
the calls to time(0) to dtime() to see if that fixes a deadline
problem on the mac with the screensaver.
client/
app_graphics.C
ss_logic.C
clientgui/
BOINCGUIApp.cpp
Charlie 18 May 2005
Mac: Eliminate an absolute library search path in project.
In build instructions, don't suggeest using jpeglib.h from
seti_boinc project.
mac_build/
HowToBuildBOINC_XCode.rtf
boinc.pbproj/
project.pbxproj
David 19 May 2005
- Core client: When proxy info is updated (via RPC) send a
<reread_app_info/> message to the process_control channel,
telling the app to reread the app_info file (for Folding@home)
api/
boinc_api.C,h
client/
app.h
app_control.C
cs_scheduler.C
gui_rpc_server.C
Charlie 20 May 2005
Mac: Change how wxWidgets libraries are linked so the static
versions are used even if the dynamic libraries are present.
Add information to Build instructions for passing arguments to
the Core Client for debugging under XCode.
mac_build/
HowToBuildBOINC_XCode.rtf
boinc.pbproj/
project.pbxproj
David 20 May 2005
- changed download page to make it small;
details are on separate pages.
- removed "high_priority" and "return_result_immediately" attributes
from RESULT (no changes like this without discussion!)
client/
client_types.C,h
cs_scheduler.C
doc/
download.php
versions.inc (new)
David 20 May 2005
- Added mechanism to report results sooner in some cases.
- results have a new field "completed time":
the time when ready_to_report was set.
- a project's completed results are reported when either
1) the time is within a day of a report deadline, or
2) the time is more than work_buf_min_days after
r.completed_time for some result r.
client/
client_state.C
client_types.C,h
cs_scheduler.C
Rom 20 May 2005
- Reduce flicker in the screensaver by delaying the request to
enter fullscreen mode until after the app has ack'ed the hide_graphics
request.
- Fix what appears to be a long standing bug in the Windows screensaver
where after the first execution of the screensaver the core client
continues to report the screensaver mode as SS_STATUS_QUIT even when
the screensaver is starting up for the second time which causes the
screensaver to exit.
client/
app_graphics.C
ss_logic.C
client/win/
win_screensaver.cpp
David 20 May 2005
- get rid of warnings in ACTIVE_TASK parse
client/
app.C
Rom 20 May 2005
- Fix the one off bug that would allow the screensaver to continue operation
when only one click of the mouse occurred or one click of the keyboard.
client/
app_graphics.C
Charlie 21 may 2005
Mac: If core client exits screensaver mode but Mac screensaver engine
doesn't (as in the case of a mouse button click with no mouse movement)
then show message "BOINC is no longer in screensaver mode."
Update installer to work around problems launching BOINC Manager.
clientgui/
mac/
mac_saver_module.cpp
mac_installer/
postinstall
postupgrade
PostInstall.cpp
David 21 May 2005
- API: there seem to be problems with the user of timer signals
in the BOINC API (Unix version).
On some platforms the signals are delivered to both
the worker and graphics thread,
and they can deadlock on something down in _vprintf().
Rather than try to sort this out,
we'll switch to using a separate thread instead of signals.
(from J.R. Oldroyd)
api/
boinc_api.C
Rom 21 May 2005
- Bug Fix: The ATI graphics drivers do not like to be told to switch
to the original desktop and window station that the application started
with. So now the application will detect which window station and
desktop it is currently running under and only switch if it is different
from the desired desktop and window station. There was no API
failure codes to look for, the application believed everything was
running like it was supposed to be.
api/
windows_opengl.C
Charlie 22 may 2005
Fix problems launching BOINC Manager from installer. Build release
using BOINC.pmsp with PackageMaker 1.2 (from XCode 1.5 / Panther)
instead of BOINC.pmproj with PackageMaker 2.0 (XCode 2.0 / Tiger)
to avoid "null volume" error when installing on Mac OS 10.3.x. So
updated version number strings in BOINC.pmsp.
mac_installer/
BOINC.pmsp
postinstall
postupgrade
PostInstall.cpp
David 22 May 2005
- debugged yesterday's API change on Linux.
It worked OK except CPU time wasn't getting reported.
It turns out that getrusage(), on Linux at least,
returns CPU time only for the calling thread
(in this case the timer thread,
whereas we wanted the worker thread).
So: put back a timer signal, but use it ONLY to get worker CPU time,
and only do that if the worker thread is the one handling the signal.
Store the worker CPU time in a variable (worker_thread_cpu_time)
which is read by the timer thread.
Aargh!!
Still need to make sure this works on Mac OS X, Solaris etc.
api/
boinc_api.C
graphics_impl.C
David 22 May 2005
- screensaver logic: if > 1 apps are running (e.g. multiprocessor)
switch between them every 10 minutes
- compile fix for Win
api/
boinc_api.C
client/
app_graphics.C
ss_logic.C
David 22 May 2005
- Unix API: don't do any floating-point math in the timer signal handler
- compile fixes
api/
boinc_api.C
Charlie 22 may 2005
Mac: add build of boinc_cmd command-line application to XCode project.
Remove wxRESIZE_BORDER from dialog styles so they are not resizeable.
clientgui/
DlgAbout.h
DlgAccountManager.h
DlgAttachProject.h
DlgConnection.h
DlgOptions.h
DlgSelectComputer.h
mac_build/
boinc.pbproj/
project.pbxproj
David 22 May 2005
- compile fix
api/
boinc_api.C
Rom 23 May 2005
- Modify the configure.ac script to explicitly state which combination
of wxWidget libraries we need to link against, otherwise it will
fall back to a default which may cause more harm than good.
/
configure.ac
David 23 May 2005
- scheduler fixes (from John McLeod and others)
- estimate remaining CPU correctly if frac done = 0
- avoid div by zero error
- fix seconds-per-day scaling problem
client/
app.C
client_types.C
cs_apps.C
cs_scheduler.C
scheduler_op.C
Rom 23 May 2005
- Introduce a change in the screensaver logic so that it checks user idle
activity before informing the screensaver to shutdown, so that in the
case of an application exiting due to it completing the result the CC
can promote another application to screensaver status and continue on.
client/
app_graphics.C
David 23 May 2005
- added <sched_lockfile_dir> entry to sched config file (optional).
Specifies where scheduler PID lockfiles are kept
(default is cgi-bin dir)
sched/
handle_request.C
sched_config.C,h
David 23 May 2005
- factored out CLIENT_STATE::adjust_debts()
from CLIENT_STATE::schedule_cpus()
client/
cs_apps.C
Charlie 24 may 2005
Tweaked Rom's fix to screensaver logic to also check if previous mode
was MODE_FULLSCREEN. This makes it work reliably when screensaver is
activated by moving mouse into hot corner.
client/
app_graphics.C
David 24 May 2005
- Removed "max_projects_on_client" from GLOBAL_PREFS structure.
- added RESULT::computing_done() function.
This replaces explicit references to RESULT::state
- minor code cleanup in CPU scheduler
client/
client_types.C,h
cs_apps.C
cs_scheduler.C
lib/
prefs.C,h
result_state.h
Rom 24 May 2005
- Instead of going to sleep to give the CC enough time to open a
listening socket we should attempt to connect after we have received
our first OnFrameRender timer event which will happen after at
least one window idle event.
clientgui/
BOINCGUIApp.cpp
MainFrame.cpp, .h
Rom 24 May 2005
- Throttle back how often the UI is aloud to update itself to two times
a second, the Mac was consuming 12% of the CPU just processing events
in the BOINC Manager
clientgui/
MainFrame.cpp
Charlie 25 may 2005
Mac: If core client sends screensaver SS_STATUS_QUIT, kill the
screensaver engine if it has not quit after 1 second. Eliminate
"BOINC is no longer in screensaver mode" message.
clientgui/
mac/
mac_saver_module.cpp
David 25 May 2005
- Changed the interface for creating a GUI RPC connection.
RPC_CLIENT::init() synchronous
RPC_CLIENT::init_asynch(double timeout, bool retry)
If retry is true, keep trying (alternating between
alternate and main ports) until succeed or time out.
This is used by the BOINC manager when it starts up
the core client, since it may take many seconds before
the core client runs and creates the listening socket.
NOTE: the BOINC Manager sees if the core client is running by
connecting to it. It then closes this connection and connects again.
Would be better to connect just once.
clientgui/
BOINCGUIApp.cpp
MainDocument.cpp
lib/
boinc_cmd.C
gui_rpc_client.C,h
David 25 May 2005
- don't initiate scheduler RPC is activity suspended
client/
cs_scheduler.C
David 25 May 2005
- if an app hasn't checkpointed yet, never preempt it by killing it
(even in CPU benchmark case)
client/
app_control.C
cs_apps.C
cs_benchmark.C
David 26 May 2005
- feeder: added a "-mod n i" option.
This lets you run schedulers on more than one host.
db/
boinc_db.C,h
sched/
feeder.C
David 26 May 2005
- file_deleter: if a file is present but can't be deleted,
don't mark the WU or result as file_delete_state = DONE;
leave it in state READY.
This addresses the case where files can't be deleted because
of dir permissions.
If such an error occurs, sleep for 5 seconds before next scan
(avoid rapid infinite loop)
(From Kevin Reed)
- Change log messages in file_deleter to same format as other daemons,
e.g. [WU#12345]
sched/
file_deleter.C
Rom 26 May 2005
- Include version information for boinc_cmd.exe so the Windows installer
will know it can upgrade the file with future revisions.
client/win/
boinc_cli.rc
boinc_cmd.rc, .h (Added)
win_build/
boinc.sln
boinc_guirpc_test.vcproj
Rom 26 May 2005 (boinc_public)
- Tag for 4.44 release, all platforms
boinc_core_release_4_44
David 27 May 2005
- added help and version cmdline options to boinc_cmd.C
(from Eric Myers)
lib/
boinc_cmd.C
David 28 May 2005
- commented out RedHat stuff from config.guess
(fix problem where Linux platform name contains "redhat")
config.guess
David 28 May 2005
- reschedule CPUs when resume activities for whatever reason
(from Jim Harris)
client/
cs_prefs.C
David 28 May 2005
- BOINC manager: changed message in work tab
try to make it clear WHY a result is not running
Not quite done - need to show if project is suspended
- BOINC manager: changed message in projects tab
"Project suspended" -> "Suspended by user"
Also, don't show "won't get new work"
- BOINC manager code cleanup
- got rid of enums in CMainDocument for RESULTTYPE, CPU_SCHED_TYPE,
and RUN_TYPE.
?? Why make new constants when we already have perfectly good ones?
- got rid of (in CMainDocument):
bool IsProjectSuspended(int iIndex);
bool IsProjectRPCPending(int iIndex);
bool IsProjectAllowedToGetWork(int iIndex);
int GetWorkState(int iIndex);
int GetWorkSchedulerState(int iIndex);
bool IsWorkAborted(int iIndex);
bool IsWorkAcknowledged(int iIndex);
bool IsWorkActive(int iIndex);
bool IsWorkReadyToReport(int iIndex);
bool IsWorkSuspended(int iIndex);
clientgui/
BOINCTaskBar.cpp
MainDocument.cpp,h
ViewProjects.cpp
ViewWork.cpp
David 31 May 2005
- Add 2 new items to scheduler RPC request:
- <other_results>
List of other results for this project
(besides those being reported, if any)
This can be used by the scheduler to resend
previously sent results that were lost somehow.
Includes only the name of the result.
- <in_progress_results>
List of all results for which computation is not done.
Includes estimated remaining CPU time, report deadline.
This can be used by the scheduler to decide whether
to send short-deadline results.
Note 1: the scheduler doesn't use the above info yet.
Need to get this code into clients first.
Note 2: I used tag names <other_result> and <ip_result>
for the results within each element.
This will prevent the current scheduler from
mistaking them for elements being reported.
This is a kludge, but is fixed in new scheduler code
(see next item)
- add skip_unrecognized() function to lib/parse.C
Call this when get an unrecognized line.
If it's a single tag "<foo>",
this will skip all lines up to and including "</foo>"
- Change Win name from "BOINC Daemon" to "BOINC client"
(let's not introduce random new terms at this point)
- boinc_cmd: print error messages in some cases
(should finish this to handle other cases)
- fix bug in boinc_cmd: wasn't connecting to alternate port
client/
cs_scheduler.C
win/
boinc_cli.rc
lib/
boinc_cmd.C
gui_rpc_client.C,h
parse.C,h
util.C
sched/
server_types.C
David 31 May 2005
- core client: remove extraneous scheduling-related messages.
Just say when we're entering/leaving either
no-work-fetch mode or deadline-scheduling mode
- got rid of work_request arg to
CLIENT_STATE::make_scheduler_request() and
SCHEDULER_OP::init_op_project()
- When making a scheduler RPC, always show
the work request and the # of results being returned
client/
client_state.h
client_types.h
cs_apps.C
cs_scheduler.C
scheduler_op.C,h
David 31 May 2005
- If a project has multiple scheduler URLs,
contact them cyclically but starting at a random index.
- Add error-checking on start_rpc() for schedulers beyond the first one.
This might fix some of the problems seen recently with Pirate.
client/
client_state.C
client_types.C,h
scheduler_op.C,h
David 1 June 2005
- Restrict the account management mechanism to reduce its security risk.
1) am_create.php now returns an error if an account
(validated or not) exists with the given email address.
2) The account-confirmation email cautions the recipient
to ignore it if they didn't make the request
2) am_query.php returns an error if an account with same email exists.
- Add an "acct_mgr_name" argument to am_create.php so we can
tell the user where the request came from
The reason for this change is as follows.
Suppose a hacker X knows or guesses the email address of a user Y.
X sends an am_create RPC to the project.
Y receives an email and, without thinking, clicks on the URL.
X then does an am_query RPC and gets Y's authenticator.
These changes prevent this attack.
There's still a small security risk.
A hacker could spam a project with am_create RPCs
with various known email addresses.
A small fraction of recipients might click on validate link,
which would create accounts with authenticators known to the hacker.
However I don't see this as a significant problem.
html/
inc/
email.inc
user/
am_create.php
am_query.php
login_action.php
David 1 June 2005
- Reorganization of schedule RPC and master file fetch code
trying to get rid of bug where once project's scheduler URLS
end up in another project.
The following conditions are either all true or all false:
1) SCHEDULER_OP::project is nonzero
2) SCHEDULER_OP::state is not IDLE
3) SCHEDULER_OP::http_op is in HTTP_OP_SET.
These become true in:
SCHEDULER_OP::start_rpc()
SCHEDULER_OP::init_master_fetch()
These become false in:
SCHEDULER_OP::poll() (when an operation finishes)
SCHEDULER_OP::abort() (called when reset or abort project)
- Changed SCHEDULER_OP from struct to class and hid some of its data
client/
client_state.C
cs_scheduler.C
schedule_op.C,h
David 1 June 2005
- a result is not "in progress" if it's ready to report
client/
client_types.C
David 1 June 2005
- Scheduler: when send the client a delay request because
it's contacted us before min_sendwork_interval,
add an additional 1% to the delay request.
This handles the case where the client's clock is
slightly faster than the servers,
and it repeatedly does an RPC slightly before it should
(from John McLeod)
sched/
handle_request.C
David 1 June 2005
- add <work_fetch_no_new_work> and <cpu_earlist_deadline_first>
items to GUI RPC "get_state" reply.
These indicate the current work-fetch and CPU sched policies.
They're integers - 1 means in effect, 0 means not.
- don't write cpu_sched_work_done_this period to statefile,
or in get_state GUI RPC
client/
client_state.h
cs_statefile.C
David 2 June 2005
- add a new value FILE_DELETE_ERROR for file delete state
(for when the unlink failed, e.g. because of permissions).
- add a new cmdline flag -retry_errors to file deleter
(from Kevin Reed)
db/
boinc_db.h
html/inc/
db_ops.inc
sched/
file_deleter.C
David 2 June 2005
- Scheduler: don't write Content-type: text/plain twice
(from Bruce Allen)
- move set_core_dump_size_limit() code to separate function
sched/
handle_request.C
main.C,h
David 2 June 2005
- scheduler/work fetch changes
(from John McLeod)
client/
app.C
client_types.C
cs_apps.C
cs_scheduler.C
David 3 June 2005
Stuff related to per-host lockfiles in scheduler:
- enable locking only if <sched_lockfile_dir> is present in config file
- delete lockfiles from sched_lockfile_dir (NOT necessarily CGI dir)
- if mylockf(fd) fails (can't lock file) close fd before returning
Otherwise would overflow fd limit under FCGI
- Fix error message if lock_sched() returns -1
(-1 is not a PID)
- move lock-release logic into separate function (unlock_sched())
sched/
handle_request.C
sched_util.C
David 6 June 2005
- remove char* versions of starts_with() and ends_with().
(Attempt to fix app_start problem on HPUX)
client/
cs_trickle.C
file_names.C
lib/
util.C,h
David 6 June 2005
- (scheduler changes from John McLeod):
I believe that I may have found the idle CPU problem for multiple CPUs.
I have also changed one variable name that was apparently
causing some confusion and chqanged a couple of debug messages
to print a bit more information.
client/
cs_scheduler.C
net_xfer.C
David 6 June 2005
- Manager: show frac done correctly
(from Glenn Dill)
clientgui/
ViewWork.cpp
David 7 June 2005
code cleanup in CPU sched/work fetch area:
- introduced concepts of
"runnable result"
"runnable project"
"potentially runnable project"
These encapsulate a lot of the checks
(suspended via gui, blah blah) that we do everywhere.
For each of these, added a bool function.
- rename things in terms of these concepts, e.g.
local_total_resource_share -> runnable_resource_share
(i.e. sum of resource shares of runnable projects)
local_total_lt_available_resource_share
-> potentially_runnable_source_share
- eliminate the use of PROJECT::next_runnable_result
as an indicator of whether a project has a runnable result.
Just call PROJECT::runnable().
Eliminate the use of assign_results_to_project()
to see if projects have a runnable result.
- rename "debt" to "short_term_debt", including in client_state.xml
(this will cause one-time parse error, shouldn't hurt anything)
client/
client_types.C,h
cs_apps.C
cs_scheduler.C
Rom 7 June 2005 (boinc_public)
- Tag for 4.45 release, all platforms
boinc_core_release_4_45
David 7 June 2005
- core client: eliminated the practice of passing "now" (time of day)
as an argument, e.g. to poll functions.
Instead, reference gstate.now.
This is updated at the top of do_something().
If you're doing something that requires high resolution
(e.g. NET_XFER_SET_POLL()) then call dtime() yourself.
client/
*.C, *.h
Rom 7 June 2005 (from Walt Gribben)
- Adjust the logging functions so they do not randomly write outside
the scoped area defined for spacing which might cause random crashes
lib/
msg_log.C
David 7 June 2005
- core client: store the overall work fetch urgency in
CLIENT_STATE::overall_work_fetch_urgency,
and don't pass it around as an argument
- add PROJECT::downloading(): true if the project
has a result in state RESULT_FILES_DOWNLOADING
- got rid of "old" argument to CLIENT_STATE::next_project_need_work()
- CLIENT_STATE::compute_work_requests():
return value is an error code, not overall urgency.
client/
client_state.h
client_types.C,h
cs_scheduler.C
scheduler_op.C,h
David 7 June 2005
- code cleanup: use new functions (like RESULT::runnable() etc.)
instead of inspecting member variables (like suspended_via_gui)
- Added RESULT::runnable_soon(): true iff result is
downloading or runnable, not suspended, project not suspended
- fix bug in Rom's last checkin (Rom, please verify)
client/
client_types.C,h
cs_apps.C
cs_scheduler.C
scheduler_op.C
lib/
msg_log.C
network.C,h
David 7 June 2005
- FILE_INFO::verify_file(): if a file fails verification,
set its "status" field to the appropriate error code.
This wasn't being done, so in most cases the
core client would verify the file over and over.
This was exacerbated by a bug I introduced 7 months and 3 weeks ago
(and fixed earlier today).
In CLIENT_STATE::update_result() I had
if (now - last_time < 1.0) return false;
last_time = 0;
It should be "now", not zero. This caused pending input files to
get checked 10 times a second, rather than once.
client/
cs_files.C
Rom 7 June 2005 (boinc_public)
- Tag for 4.45a release, all platforms
boinc_core_release_4_45a
David 8 June 2005
- core client: add constructor and destructor to NET_XFER,
and have them close the file and/or socket if present.
This should fix a bug where a file was left open
in the case of a download failure,
causing process creation failure later on.
client/
app.C
http.C
net_xfer.C,h
pers_file_xfer.C
David 8 June 2005
- API, Unix/Linux/Mac:
Don't use a SIGALRM signal in the worker thread to get CPU time.
It turns out that the signal handler is usually
called in a different thread anyway,
and getrusage() return CPU time for the entire process,
so it doesn't matter what thread we call it from.
Instead, just call getrusage() from the timer thread.
(From J.R. Oldroyd and Bernd Machenschalk)
api/
boinc_api.C
David 8 June 2005
- Added a new general preference: start/end hours for network communication
client/
client_state.C,h
cs_prefs.C
prefs_file_xfer.C
html/inc/
prefs.inc
lib/
prefs.C,h
David 8 June 2005
- Check network start/end hours even if user_network_request is ALWAYS.
Currently that's the default,
and in fact there's no interface for changing it to AUTO.
- CLIENT_STATE::scheduler_rpc_poll():
check for master file fetch and user-requested scheduler RPCs
before checking network_suspended flag.
Otherwise the user might get into a state where their
prefs don't allow network access (e.g. because of time-of-day),
and they can't do an "update" to change the prefs
client/
cs_prefs.C
cs_scheduler.C
win/
wingui_mainwindow.cpp
David 8 June 2005
- bug fix in net stats calculation
(from Glenn Dill)
- refactor code so adjust_debts() is independent from schedule_cpus()
- call adjust_debts() from quit_activities(), so that long-term debt
updated and written to state file when exit core client
(from Glenn Dill)
client/
client_state.h
cs_apps.C
cs_benchmark.C
net_stats.C
David 9 June 2005
- Changed variable names from "work_done" to "wall_cpu_time";
it's important to emphasize that debt accounting
is done on the basis of how long a process is running,
NOT how much CPU time it actually or reportedly got.
- don't count non-CPU-intensive apps in calculation of
total_wall_cpu_time_this_period
- fixed crash if you run core client with -attach_project X
client/
client_state.C,h
client_types.C,h
cs_apps.C
cs_cmdline.C
David 10 June 2005
- Fixed major goof in last checkin:
caused all debt calculations to be no-op
- Manager: in "status" column of Projects tab,
show all relevant info, comma-separated
client/
cs_apps.C
clientgui/
ViewProjects.cpp
David 10 June 2005
- BOINC Manager: change things so that if user tries to
attach to a project and it fails,
an alert dialog shows up within a few seconds,
saying what went wrong and what to do about it.
This involves several pieces:
- add a new core client message priority: MSG_ALERT.
The accompanying message should be shown in an alert dialog.
- CLIENT_STATE::add_project: show alert msg if URL or key is bad
- project_add_failed(): add a "reason" argument,
and show alert messages accordingly
- change SCHEDULER_OP::check_master_fetch_start(), SCHEDULER_OP::poll()
to call project_add_failed() with appropriate reason
- CMainDocument::CachedMessageUpdate():
scan new messages; if any are MSG_ALERT priority, show alert.
Else append to main message vector.
- CMainFrame::OnListPanelRender(): call pDoc->CachedMessageUpdate().
This is the easiest way I could find of checking new messages
every 5 seconds, even when not in the Messages tab.
NOTE: there's one piece I didn't do.
When the Manager connects to a core client with some ALERT messages
already in its message log, it probably shouldn't show alerts for them.
Rom, please figure out how to do this.
client/
client_msgs.h
cs_account.C
gui_rpc_server.C
main.C,h
scheduler_op.C
win/
wingui_mainwindow.cpp
clientgui/
MainDocument.cpp,h
MainFrame.cpp
ViewMessages.cpp
lib/
gui_rpc_client.h
David 11 June 2005
- changed project_add_failed() to a member function of PROJECT
(PROJECT::attach_failed).
Move code out of main.C,h
- Removed special project_add_failed() from Win GUI code.
client/
client_types.h
cs_account.C
main.C,h
scheduler_op.C
win/
wingui_mainwindow.cpp
David 11 June 2005
- CLIENT_STATE::find_project_with_overdue_result():
need to convert work_buf_min_days to seconds
(from Jim Harris)
client/
cs_scheduler.C
David 12 June 2005
- In language names in .po files,
use HTML special characters (e.g. à)
instead of non-ASCII characters
- user web: fix bug in language select page (from Jens)
- db_dump: don't exit if user lookup fails
- change wording of user-name lookup: "starts with", not "contains"
html/
language/translations/
ca.po
user/
language_select.php
user_search_action.php
sched/
db_dump.C
Rom 13 June 2005
- Code clean for the Manager
- Added two new HTTP_STATUS constants, but haven't done anything with
them yet.
- The title of the account manager dialog is the name of the
organization managing the accounts.
client/
http.C
scheduler_op.C
clientgui/
BOINCBaseView.cpp, .h
BOINCTaskBar.cpp
MainDocument.cpp, .h
MainFrame.cpp
ViewMessages.cpp
ViewProjects.cpp, .h
ViewResources.cpp
ViewStatistics.cpp
ViewTransfers.cpp
ViewWork.cpp
David 13 Jan 2005
- Add code (in TIME_STATS) to compute a quantity "cpu_efficiency".
This is the ratio between CPU time accumulated by BOINC apps
and the wall time those apps are scheduled at the OS level.
It may be less than one if
1) apps page or do I/O
2) other CPU-intensive apps run
This is computed with a 1-day exponential smoothing.
For now, we're just computing this.
At some point we'll use it to estimate how long will take.
(from Glenn Dill)
client/
client_state.h
cs_apps.C
time_stats.C,h
David 13 June 2005
- bug fix in Manager: can't pass a std::string to printf(%s)
clientgui/
ViewWork.cpp
David 13 June 2005
- get Manager to compile on Windows:
- can't do DynamicCast stuff for non-wx objects
- don't bother doing both ASSERT(p) and if(p).
Better yet, don't do either
clientgui/
BOINCTaskBar.cpp
ViewMessages.cpp
ViewProjects.cpp
ViewResources.cpp
ViewStatistics.cpp
ViewTransfers.cpp
ViewWork.cpp
David 13 June 2005
- core client: estimate CPU time to completion of an active result
as a weighted average of estimates based on
1) the workunit's flops count
2) the current reported CPU time and fraction done,
weighted by the fraction done.
This gives better estimates for apps that don't
estimate their fraction done well (e.g. SETI@home).
It should eliminate a behavior where the client gets 1 result,
starts running it, and immediately requests more work.
- core client: fix bug where we'd to a master file fetch
after every scheduler RPC
- core client: show messages when downloading master page,
and when it succeeds or fails
NOTE: I was seeing a bug where each file transfer would fail
immediately with a CONN_REFUSED error (10061 on Win),
but would succeed on retry.
This went away when I changed the settings on my
Symantec Personal Firewall to not check outgoing connections.
Seems like a bug in Symantec to me.
client/
app.C
cs_account.C
net_xfer.C
scheduler_op.C
David 13 June 2005
- core client: don't reset projects on major version change
client/
client_state.C
David 14 June 2005
- core client: use "potentially runnable resource share"
instead of "total resource share" in several places:
- estimating how long a project's work will take
- how many CPUs a project should occupy
- the "resource share fraction" reported to schedulers
The idea: if a process is not potentially runnable
(e.g. because it's suspended by user)
it's not going to get CPU time,
so it shouldn't be included in resource share calculations.
(suggested by Jim Harris)
- rename CLIENT_STATE::ettprc() to time_until_work_done();
add a "subset resource share" parameter
- get rid of the global variable "trs" (total resource share)
- make proj_min_results() a member of CLIENT_STATE,
remove the "ncpus" param, and add a "subset resource share" param
- CLIENT_STATE::avg_proc_rate() now computes processing rate
across all projects
- Multiply by TIME_STATS::cpu_efficiency in avg_proc_rate()
- add functions runnable_resource_share() and
potentially_runnable_resource_share() to CLIENT_STATE
- set_cpu_scheduler_modes(): remove "* ncpus" from
if (frac_booked > MAX_CPU_LOAD_FACTOR * up_frac * ncpus)
(John: is this right?)
Note: in some cases (e.g. if the work-fetch policy has
decided to get work only for 1 or 2 project),
the set of projects used in resource share calculations
should be smaller than the potentially runnable ones.
It's not clear how to do this.
client/
client_state.C,h
cs_apps.C
cs_data.C
cs_scheduler.C
David 14 June 2005
- code to get phys/virt memsize, NCPUs, OS name on HPUX
(from Lars Bausch)
client/
hostinfo_unix.C
Jeff 14 June 2005
- fixed a bug in the feeder code that handles the mod(result id)
functionality.
sched/
feeder.C
David 14 June 2005
- web: the XML variant of show_user.php now allows the
user to be identified either by ID or authenticator.
In the latter case, the output includes a list of the user's hosts.
html/
inc/
xml.inc
user/
show_user.php
David 14 June 2005
- avoid divide by zero in CPU efficiency calc
(from John McLeod)
client/
time_stats.C
David 15 June 2005
- Fixed pernicious API bug:
boinc_get_init_data() was copying the APP_INIT_DATA structure,
which contains a char*.
This produced 2 pointers to the same string,
and both pointers could eventually get free()d.
Solution: overload = and define a copy constructor for APP_INIT_DATA
- fixed minor bug in forum code:
rounding of ratings was wrong in the negative case
html/inc/
forum.inc
lib/
app_ipc.C,h
David 15 June 2005
Scheduler changes:
- renamed set_cpu_scheduler_modes() to set_scheduler_modes()
- in set_scheduler_modes(), moved result checks that
don't involve EDF simulation out of the loop that does EDF simulation.
- in set_scheduler_modes(), change logic so that booked_to
is in units of wall time, not CPU time.
Makes things clearer.
- removed the frac_booked logic from set_scheduler_modes().
I don't think this is correct.
e.g. result A has deadline 1, CPU 1; result B has deadline 2, CPU 1.
Then frac_booked would be 1.5, but we can meet both deadlines
- renamed MAX_CPU_LOAD_FACTOR to CPU_PESSIMISM_FACTOR
client/
cs_scheduler.C
David 15 June 2005
- Add host id, host_cpid to XML output of show_user.php
html/inc/
xml.inc
Rom 15 June 2005
- Due to the previous app_ipc.C change only the project preferences
were being copied, so expand on the previous check-in and copy the rest
of the APP_INIT_DATA data.
lib/
app_ipc.C,h
Charlie 16 June 2005
- Replace Mac BOINCManager icons with new ones contributed by Juho Viitasalo
client/
mac/
BOINCMgr.icns
David 16 June 2005
- use memcpy() in APP_INIT_DATA::copy()
lib/
app_ipc.C
Rom 16 June 2005
- Modify Account Manager interface two incorporate an additional dialog.
There is now a dialog for when you have already signed up with an
account manager, and one for when you need to provide account
manager informaton. Modifing the dialogs should happen from MainFrame.cpp
since the Dlg* files are autogenerated by DialogBlocks.
- Apparently, some languages do not like time to be dual purposed, so
change time to elapsed time for transfers.
clientgui/
BOINCGUI.pjd
DlgAccountManager.cpp, .h (Removed)
DlgAccountManagerSignup.cpp, .h (Added)
DlgAccountManagerSStatus.cpp, .h (Added)
Events.h
MainFrame.cpp, .h
ViewTransfers.cpp
David 16 June 2005
- validate account manager URL before trying to do RPC
- generate MSG_ALERT messages for account manager RPCs
(success or failure).
client/
acct_mgr.C
David 17 June 2005
- scheduler: handle_msgs_from_host():
if insert into msgs_from_host table fails,
don't acknowledge messages
(from Ian Hay)
sched/
handle_request.C
David 17 June 2005
- BOINC manager: get rid of
CMainDocument::IsAccountManagerFound() etc.
clientgui/
MainDocument.cpp,h
MainFrame.cpp
David 17 June 2005
- Run CPU on the same # of CPUs that BOINC will use,
reflecting global preferences.
(from Glenn Dill)
client/
cs_benchmark.C
cs_scheduler.C
Rom 17 June 2005
- Per community request, after verifing that the _CrtMemBlockHeader structure
is the same in VS 2005 I've adjusted stackwalkers requirements so that
BOINC can be built with VS 2005.
lib/
stackwalker.h
Charlie 18 June 2005
- Fix XCode project to use gcc 3.3 compiler for bnackward compatibility
with systems 10.3.0 through 10.3.8 as well as 10.3.9 and later.
- Use pre-built special config.h for Macintosh (don't require running
autoconf.)
- Modify version.h so PACKAGE_STRING is defined for Mac as well as Windows.
make this chaneg iin version.h.in so it will be retained when version.h
is rebuilt by configure process.
clientgui/
mac/
config.h (added)
version.h
version.h.in
David 18 June 2005
- CLIENT_STATE::set_scheduler_modes():
Remove EDF simulation.
Instead, simulate weighted round-robin,
and if a deadline is missed, use EDF
- Remove PROJECT::exp_avg_cpu, PROJECT::exp_avg_mod_time.
This was an attempt, introduced a while back but never used,
to improve estimates of result CPU time.
It's fatally flawed because it assumes all results
from a project are the same #FLOPs.
It will soon be replaced by a better mechanism.
client/
client_types.C,h
cs_apps.C
cs_scheduler.C
David 18 June 2005
- Add a per-project "duration correction factor" used
to scale the estimated CPU time of a result.
This should improve the accuracy of predictions of how much
CPU time results will take,
which should improve the effectiveness of the CPU scheduling
and work fetch policies,
and will also cause schedulers to send more appropriate
amounts of work (once we modify the scheduler)
(from John McLeod)
client/
client_types.C,h
cs_apps.C
cs_scheduler.C
David 18 June 2005
- don't let cpu_efficiency become negative.
Somehow it was -1 on my machine and that hosed everything
client/
cs_scheduler.C
time_stats.C
David 18 June 2005
- Refine the round-robin simulation added earlier today
to model multiple CPUs.
- Fix bug in update of duration_correction_factor
(both from John McLeod)
client/
client_types.C
cs_scheduler.C
David 19 June 2005
- bug fix in scheduler
(from Glenn Dill)
client/
cs_scheduler.C
David 19 June 2005
- work-fetch policy:
if fetching work would cause deadlines to be missed
(based on round-robin simulation) then don't fetch work
- factor simulations of EDF and round-robin
into separate functions
client/
client_state.h
cs_scheduler.C
David 19 June 2005
- change normalization of short-term debt so average (not min) is zero
client/
cs_apps.C
cs_scheduler.C
Rom 19 June 2005
- Checkin the rest of the Account Manager updates to the UI.
clientgui/
BOINCGUI.pjd
DlgAccountManagerStatus.cpp, .h
MainDocument.cpp, .h
MainFrame.cpp
lib/
acct_mgr_client.C, .h
David 20 June 2005
- Wrote version 3 of the round-robin scheduling simulator
(used to decide whether to enter EDF more,
and whether to suspend work fetch).
This version (CLIENT_STATE::rr_misses_deadline())
models the fact that when all the work for a project is finished,
the fractional resource share of other runnable projects increases.
So, e.g., a few short results and one long one,
which almost saturates the CPU, is feasible.
client/
client_state.h
client_types.h
cs_apps.C
cs_scheduler.C
David 21 June 2005
- Account management: move responsibility for the
acct_mgr_url.xml and acct_mgr_login.xml files
from the manager to the core client.
Do this because only the core client knows when an
account manager RPC has succeeded;
unless this happens, these files should not be changed.
Add new type ACCT_MGR_INFO to core client
(member of CLIENT_STATE).
Read files on startup.
When acct manager RPC succeeds, write files.
- Add new GUI RPC for getting acct manager info
- Manager: for "Manage Accounts", get account manager info via RPC,
then decide what dialogs to put up.
- Message types (replace MSG_ALERT):
MSG_ALERT_ERROR shows an error alert
MSG_ALERT_INFO shows an info alert
- Show on info alert when acct mgr RPC succeeds
- Manager: get rid of CMainDocument::UpdateAccountManagerAccounts()
(???)
client/
acct_mgr.C,h
client_msgs.h
client_state.C,h
cs_account.C
file_names.h
gui_rpc_server.C
main.C
clientgui/
MainDocument.cpp,h
MainFrame.cpp
lib/
acct_mgr_client.C,h (removed)
gui_rpc_client.C,h
win_build/
BOINCGUI.vcproj
David 21 June 2005
- GUI principle for manager:
For any user action that can potentially fail
(project attach, acct mgr update)
ALWAYS show an alert when the action is finished.
E.g. show "Attach succeeded" if an attach succeeds.
Don't require users to look in Messages for outcome.
- Add a "show_alerts" argument to add_project().
Says whether to show alert when attach succeeds or fails.
True for attaches via GUI,
false for others (e.g. account manager attaches)
- SCHEDULER_OP::backoff(): if account is tentative,
call attach_failed().
client/
acct_mgr.C
client_state.h
client_types.h
cs_account.C
cs_cmdline.C
gui_rpc_server.C
scheduler_op.C
clientgui/
MainDocument.cpp
David 21 June 2005
- Unix compile fixes
client/
main.C
clientgui/
Makefile.am
lib/
Makefile.am
David 21 June 2005
- Manager: don't reenter message-display code
(else can show same msg or alert twice)
clientgui/
MainWindow.cpp
David 21 June 2005
- scheduler: when handling results, if any of them fails the
sanity checks (e.g. it was already returned)
then don't update the transition time of the corresponding WU
db/
boinc_db.C
sched/
handle_request.C
David 21 June 2005
- core client: round-robin simulator wasn't excluding
non-CPU-intensive projects
(from John McLeod)
- scheduler: comment out transaction stuff.
It's not clear what this does, or if we want it.
client/
cs_scheduler.C
David 21 June 2005
- scheduler: don't send acks for results for which DB update failed
(from Ian Hay)
- change result_acks vector from RESULT to std::string
- scheduler: fix workunit update query empty case
(from Bruce Allen)
db/
boinc_db.C
sched/
handle_request.C
server_types.C,h
David 21 June 2005
- add_project(): set sched_rpc_pending so we always do
a scheduler RPC even if not fetching work
- win compile fixes
client/
cs_account.C
client/win/
wingui_mainwindow.cpp
Rom 22 June 2005
- Remove code that causes the CC to block on network requests, the
dial-up functionality is being moved into the manager
- Add global preferences to the get_state GUI RPC and remove the
proxy_info from get_state since proxy_info has two RPC's of it's
own.
- Add a frequency reminder slider to the Tools/Option dialog so we
don't repeatedly spam the user with connection requests.
- Remove the DlgConnection dialog since we are going to use a
message box instead
- Add prefs.C to various project files for Windows.
- Remove some unused headers from stdwx.h
client/
cs_statefile.C
net_xfer.C
clientgui/
BOINCGUI.pjd
BOINCGUIApp.cpp
DlgOptions.cpp, .h
MainFrame.cpp
stdwx.h
DlgConnection.cpp, .h (Removed)
lib/
app_ipc.C
gui_rpc_client.C, .h
network.C, .h
prefs.C, .h
win_build/
BOINCGUI.vcproj
boinc_guirpc_test.vcproj
boinc_ss.vcproj
Charlie 22 June 2005
Mac: Update build instructions for pre-built config.h file,
using gcc 3.3 compiler, etc.
Added lib/prefs.C to builds of BOINC Manager, screen saver.
mac_build/
HowToBuildBOINC_XCode.rtf
boinc.pbproj/
project.pbxproj
David 22 June 2005
- API: Don't call app_init_graphics() until we've created GL context
(Windows)
(From Eric Myers)
api/
graphics_api.h
windows_opengl.C
sched/
sched_send.C
David 22 June 2005
- Add two new GUI RPCs that let the Manager be in charge of
opening and closing modem connections.
network_query() returns true if the CC wants a network connection,
or is currently using one.
NOTE: wait to get false twice (with a few seconds delay)
before closing a connection
network_available() tells the CC that a connection is available,
and that it should do all the network activity it can.
These are relevant only on Windows.
Implementation:
- CLIENT_STATE has a new member, bool want_network_flag.
If the CC tries to create a network connection and
there's no physical connection, it sets this.
- network_query() return true is want_network_flag is set
or there an HTTP_OP.
- network_available() resets all backoff timers
(of PERS_FILE_XFERs and PROJECTs) to zero,
so everything will be retried immediately.
client/
client_state.C,h
gui_rpc_server.C
http.C,h
net_xfer.C
lib/
gui_rpc_client.C,h
network.C
David 23 June 2005
- server: handle the new fields
"cpu_efficiency": for each wall-clock second that
a BOINC app runs, how much CPU time does it get?
"duration_correction_factor": ratio between actual CPU time
and FLOPs-based estimate.
1) parse them in scheduler request
2) store them in DB host record
3) use them in estimating result duration
- show fields in web page for host
NOTE: this change requires a database update.
See html/ops/db_update.php
db/
boinc_db.C,h
html/
ops/
db_update.php
inc/
host.inc
sched/
handle_request.C
sched_send.C
server_types.C
Charlie 23 June 2005
Mac: add a separate icon for Mac menu bar.
clientgui/
mac/
MacSysMenu.cpp
res/
boinc_mac.xpm (new)
Janus 23 June 2005
- Added translation functions for cached pages
The data from SQL queries is saved in the cache directory on the server
and is reused to display the information again and again - even in
different languages.
- Used the above feature to make the top_user page translatable
(could someone please do the work to also make top_teams and top_hosts
translatable like this?)
- Added the new tokens to the english language file
html/
inc/
user.inc
cache.inc
languages/translations
en.po
user/
top_users.php
David 23 June 2005
- Add new API calls so that optimized apps can claim credit more accurately:
boinc_fpops_per_cpu_sec()
Report results of app-specific benchmarks
boinc_fpops_cumulative()
Report total FP operations so far in this result
These are stored by the API library and passed to the core client
in status messages.
The core client stores them in the RESULT and sends them to server
- scheduling server: assign claimed credit based on
fpops_per_cpu_sec or fpops_cumulative if present
- remove compile warnings
api/
boinc_api.C,h
client/
acct_mgr.C
client_state.h
client_types.C,h
cs_apps.C
gui_rpc_server.C
db/
boinc_db.h
doc/
api.php
sched/
handle_request.C
sched_shmem.C
server_types.C
David 24 June 2005
- attempt to fix bug on multiprocessors running Red Hat 9
(and maybe others)
where shared-memory segment names were all returning -1
(and multiple tasks where using same seg!!).
The problem: we were using the path of the init data file
to generate the key (using ftok)
but doing this before creating the file.
client/
app_start.C
Rom 24 June 2005
- Initial checkin of Dial-up connection support for service and shared
install states. Prompting for connect/disconnect requests is now
handled in the manager instead of the CC so the CC won't lock up
when configured to confirm before connect.
When multiple ISP's are detected but none are defined as the default
another dialog will appear giving you a choice as to which ISP to
use.
If the manager is hidden then the taskbar will display a balloon
stating that BOINC needs to connect and by opening the BOINC
manager you'll be able to connect up and update all projects.
- Added an 'Update All' button to the projects tab.
- More manager code clean-up
- Make alerts show up as a balloon if the manager is hidden. Model
dialogs can be annoying when your typing an email or document and
it pops up right in front of the document. What is even worse is
if you are typing and dismiss the dialog before you have even had a
chance to look at it. The balloons show up in the lower right hand
corner and automatically go away after 5 seconds or so.
- If alerts already exist in the message queue when you connect up
to a remote computer, ignore them.
client/
net_xfer.C
clientgui/
BOINCBaseView.cpp
BOINCGUIApp.h
BOINCTaskBar.h
Events.h
MainDocument.cpp, .h
MainFrame.cpp, .h
ViewProjects.cpp, .h
ViewTransfers.cpp
ViewWork.cpp
David 24 June 2005
- Bug fix in round-robin simulator:
If N is the # of CPUs, and a project has M < N runnable results,
its per_cpu_proc_rate should be scaled by N/M.
(Thanks to John McLeod for identifying this error)
client/
cs_scheduler.C
David 24 June 2005
- Doh! My checkin earlier today for the Red Hat 9 problem
was wrong, and screwed things up on all platforms.
Fixed now, and the Red Hat problem fixed a different way
client/
app_start.C
win/
wingui_mainwindow.cpp
David 24 June 2005
- API library: potential bug:
if the core client sends a "quit" message that is handled
(by the timer handler) while the worker thread is
in the middle of checkpointing,
the result could be an incomplete checkpoint,
which in general screws up the result.
Same problem exists if the app exits due to no CC heartbeat
while a checkpoint is in progress.
Solution: if boinc_time_to_checkpoint() returns true,
it sets a flag (checkpointing) that suppresses
the handling of process control messages
and the checking of heartbeat timeout.
boinc_checkpoint_completed() clears the flag.
One consequence of this design:
if boinc_time_to_checkpoint() returns true,
you HAVE to checkpoint immediately.
So don't call boinc_time_to_checkpoint() unless
you're prepared to checkpoint.
api/
boinc_api.C
David 25 June 2005
- scheduler: skip over <other_results>, <in_progress_results> elements
without log message
- API: don't use perror() for pthread errors
api/
boinc_api.C
sched/
server_types.C
David 25 June 2005
- Fix to PROJECT::set_rrsim_proc_rate()
(problem identified by John McLeod)
client/
cs_scheduler.C
David 25 June 2005
- add an exit_status parameter to ACTIVE_TASK::abort_task.
This may be either ERR_ABORTED_VIA_GUI or ERR_RSC_LIMIT_EXCEEDED
Without this, results aborted for either reason
end up with exit_status = ERR_RESULT_START
(bug reported by Bruce Allen)
client/
app.h
app_control.C
client_state.C
gui_rpc_server_C
David 25 June 2005
- add "pessimism factor" of 0.9 to the round-robin simulation
used to determine CPU sched and work fetch policies
client/
cs_scheduler.C
David 26 June 2005
- scheduler: when handling a reported result,
cap CPU time at now - sent_time.
(from Rattledagger)
Note: this assumes that applications never use >1 CPU
for non-graphical computation.
Currently this is the case,
but if it changes we need to rethink this check.
db/
boinc_db.C,h
sched/
handle_request.C
David 26 June 2005
- bug fix for the above
sched/
handle_request.C
David 26 June 2005
- trigger transitioner when cancel WU, to set file delete
client/
file_names.C
html/ops
cancel_wu_action.php
Bruce 27 June 2005
- when using locality scheduler, have transitioner or backend
lib advertise data file when new result is created.
- code organization: create new lib function boinc_touch_file()
from code that was in locality scheduler module.
lib/
filesys.C
filesys.h
tools/
backend_lib.C
sched/
transitioner.C
sched_locality.C
David 27 June 2005
- fix bug in Manager message display
(can end up showing alerts over and over)
- acct mgr: remove HTTP_OP from set when op finishes
client/
acct_mgr.C
clientgui/
MainDocument.cpp
David 27 June 2005
- added new function escape_mysql_like_pattern(const char* in, char* out);
if you're going to use a "like X" clause,
call this function to escape the non-wildcard part of X.
If it contains wildcard chars (%, _) this will put
two (2) backslashes before each one,
so that they don't get treated as wildcards
- use the above function in sched_locality.C
so that filename chars and our own __ separators
don't get treated as wildcards
- core client: when looking for account files, skip directories
client/
cs_account.C
db/
db_base.C,h
sched/
sched_locality.C
Charlie 28 June 2005
Mac: Adapt code from Bernd Machenschalk to allow science apps to display
application icons in Dock (when displaying graphics) and in Finder.
Created small command-line utility MakeAppIcon_h (built by boinc
XCode project) which converts a xxx.icns file to app_icon.h header
file for use with new setMacIcon() api.
Update build instructions with directions for using this new api.
api/
mac_icon.C (new)
make_app_icon_h.C (new)
doc/
mac_build.html
mac_build/
HowToBuildBOINC_XCode.rtf
Bruce 28 June 2005
- Added a php script grant_credit.php. Running this will grant credit
to users/hosts/teams for workunits that have been cancelled or have
otherwise failed with some problem (error_mask!=0). The script
can be run multiple times without doing any harm. Documentation
contained within as a comment.
html/
ops/
grant_credit.php
Rom 28 June 2005
- Make the Dial-up functionality Windows only.
clientgui/
BOINCGUI.pjd
BOINCGUIApp.cpp, .h
DlgOptions.cpp, .h
MainFrame.cpp, .h
David 28 June 2005
- manager: fixed messages bug
cliengui/
MainDocument.cpp
David 28 June 2005
- core client: if no projects on startup,
print messages about how to attach
- default general prefs: increase max CPUs, max disk limits
- remove spurious "fetching work" messages
client/
cs_scheduler.C
main.C
lib/
prefs.C
Bruce 28 June 2005
- locality scheduler: make searches over file names distinguish
lower case and upper case
- locality scheduler: when searching for new work using advertised
files, retry ten times before starting a deterministic search.
We should probably modify this to try ALL advertised files in
a random order before moving onto a deterministic search.
sched/
sched_locality.C
Rom 28 June 2005
- Additional Dial-up work
- Add space for description and hyperlink access to the
DlgAccountManagerSignup dialog.
clientgui/
BOINCGUI.pjd
DlgOptions.cpp, .h
DlgAccountManagerSignup.cpp, .h
hyperlink.cpp, .h (Added)
MainFrame.cpp
David 28 June 2005
- Make it so that entering an empty string for the account manager URL
clears info about existing account manager (URL, login files)
NOTE: in the course of debugging this I encountered
the following;
std::string foo;
...
foo = "";
and after single-stepping throught this (in VC++)
foo was nonempty (a lengthy GUI-related string of some sort)
I eventually threw up my hands and changed the vars in question
(struct ACCT_MGR_INFO) to char[256], and it works.
But why didn't std::string work???
- show both name and URL in acct mgr status dialog
client/
acct_mgr.C,h
gui_rpc_server.C
clientgui/
DlgAccountManagerSignup.cpp
DlgAccountManagerStatus.cpp,h
MainFrame.cpp
David 28 June 2005
- self-extracting archive includes boinc_cmd,
and run_boinc passes cmdline args to core client
(from Bernd Machenschalk)
sea/
Makefile.am
David 28 June 2005
- scheduler server: parse duration_correction_factor correctly
(it's not in time_stats)
sched/
server_types.C,h
Rom 28 June 2005
- Okay this should be the last round of functional changes for
dial-up functionality, there are probably some more bug fixes
but they should be minor.
There is now a connections tab in the options dialog where
the preferred network type can be configured as well as several
types of dial-up connection parameters.
clientgui/
BOINCGUI.pjd
DlgDialupCredentials.cpp, .h (Added)
DlgOptions.cpp, .h
MainFrame.cpp, .h
Makefile.am
Rom 28 June 2005
- Add UI to the manager that allows the user to specify network activity
states similiar to that of the activity run modes.
network activity always available
network activity based on preferences
network activity suspended.
clientgui/
MainFrame.cpp
David 28 June 2005
- add ERR_NO_NETWORK_CONNECTION error code.
Return this if can't connect to server because no network connection.
- show boincerror(retval) instead of retval in a couple of messages.
Should do this everywhere.
client/
net_xfer.C
scheduler_op.C
lib/
error_numbers.h
util.C
Rom 29 June 2005
- Bug Fix: Check for update all and hangup conditions every ten seconds instead of
every second.
- Bug Fix: Only perform the update all and update all notification once.
clientgui/
MainFrame.cpp
Rom 29 June 2005
- Bug Fix: Reset the notification timers when the modem looses connection in some
random event or we successfully connect to the target network.
- Bug Fix: Post a notification if the network connection disappears out from under
us.
clientgui/
MainFrame.cpp, .h
Charlie 30 June 2005
Mac: Added hyperlink.cpp/h to XCode project BOINC Manager target.
Added "#ifdef __WXMSW__" to Dialog manager related calls in DlgOptions.cpp
clientgui/
DlgOptions.cpp
mac_build/
boinc.pbproj/project.pbxproj (directory & file both removed)
Rom 30 June 2005
- Bug Fix: Change the method for determining connection status from being event
driven to polling for the information, for some reason I stopped receiving
CONNECT and DISCONNECT events from wxWidgets.
- Bug Fix: Fix up a few more dial-up connection issues.
- Bug Fix: Change the default value of prefs.confirm_before_connect from false
to true. In the event that the manager cannot connect up to the core client
we don't want it to get stuck dialing and hanging up every few minutes.
- Revert back to the original Windows icons on Windows.
- Update the dialog template with David's recent changes to the Account Manager
functionality.
clientgui/
BOINCGUI.pjd
DlgAccountManagerSignup.cpp, .h
DlgAccountManagerStatus.cpp, .h
MainFrame.cpp, .h
lib/
prefs.C
Rom 1 July 2005
- Remove the major version check from the scheduler.
sched/
handle_request.C
Rom 4 July 2005
- Add additional check for the min_core_version so that it also takes into
account the major version as well.
- Sync the schema.sql file with implementation.
db/
schema.sql
sched/
handle_request.C
Charlie 4 July 2005
Mac: moved "#include <Carbon/Carbon.h>" before other includes as requested
by Bernd Machenschalk to fix problem building from command-line using make.
Updated installation instructions for Mac advanced GUI on web site.
clientgui/
BOINCGUIApp.cpp
doc/
mac_advanced.php
David 5 July 2005
- Always show the reason for a scheduler RPC: either
- requested by user
- results due for reporting
- fetching work
Implementation: add "reason" argument to init_op_project().
Store in SCHEDULER_OP.
This eliminates the need for must_get_work.
Remove init_return_results().
- handle RPC init errors (by backing off) in init_op_project(),
NOT in the functions that call it (e.g. init_get_work()).
We were backing off twice for the same error.
- network_query GUI RPC: return false if network suspended by user
- Manager: remove wxASSERT(fBuffer)
from CViewReousrces::FormatDiskSpace().
This causes crash if a project has zero disk usage.
?? Why is the amount of disk called "fBuffer"?
?? why is a PROJECT* called "resource"?
client/
client_state.C
cs_scheduler.C
scheduler_op.C,h
clientgui/
ViewResources.cpp
David 5 July 2005
- prevent infinite loop in web (from Rob Ogilvie)
html/inc
text_transform.inc
David 5 July 2005
- API: use signal instead of timer thread,
so that suspend/resume logic will work.
Also: block SIGALRM in graphics thread.
We weren't doing this before,
which could have caused CPU time reporting errors.
NOTE: this may break things on FreeBSD and OpenBSD.
To remedy, uncomment the #define USE_TIMER_THREAD
api/
boinc_api.C
graphics_impl.C
David 5 July 2005
- scheduler: in estimating result duration,
don't divide by resource share fraction.
This assumes round-robin across all projects,
which is no longer necessarily the case.
(From John McLeod)
sched/
sched_send.C
Charlie 5 July 2005
Mac: Integrated Hide of BOINCManager with close of main Manager window.
Closing window hides Manager application, opening window (from menubar
icon menu or from Dock menu) Shows application. Hiding or showing
application closes or opens window. This eliminates having just the
manager's menu bar pop up when a foreground application quits.
Disable all application-specific menu items in Dock menu and menubar
icon menu when a modal dialog is active. This matches the disabling
of items in the Manager's regular menus.
Fixed bug where all items in menubar icon menu were disabled, which
required clicking on the icon repeatedly.
clientgui/
BOINCGUIApp.cpp
BOINCTaskBar.cpp
MainFrame.cpp, .h
mac/
MacSysMenu.cpp, .h
SystemMenu.m
Rom 5 July 2005
- Make the projects compatible with Visual Studio 2005 Express
- Bug Fix: Make sure that the manager successfully connected to an
ISP before calling the network_available RPC to the CC.
client/
client_state.C
client_types.C
main.C
net_xfer.C
client/win/
boinc_cli.rc
boinc_cmd.rc
boinc_dll.rc
boinc_ss.rc
win_screensaver.cpp
clientgui/
DlgAbout.cpp
DlgAccountManagerSignup.cpp
DlgAccountManagerStatus.cpp
DlgAttachProject.cpp
DlgDialupCredentials.cpp
DlgOptions.cpp
DlgSelectComputer.cpp
MainFrame.cpp
stdwx.h
lib/
boinc_win.h
msg_log.C
parse.C
stackwalker_win.cpp
Rom 6 July 2005
- Another fix that is needed to build BOINC with VS 2005 using the
debug profile.
lib/
diagnostics.h
Rom 6 July 2005 (boinc_public)
- Tag for 4.70 release, all platforms
boinc_core_release_4_70
Charlie 7 July 2005
Mac installer: Installer used to set owner of all installed files
and directories to 501 (BOINCManager, Core Client, Screen Saver
and BOINC Data.) Changed this to set ownership to current user if
current user is member of group admin, otherwise use first member
of group admin other than root. Update installer version number
to 4.70.
mac-installer/
PostInstall.cpp
BOINC.pmproj
David 7 July 2005
- Manager: fix for core client startup on Unix
(From Bernd Machenschalk)
api/
boinc_api.C
clientgui/
BOINCGUIApp.cpp
Rom 7 July 2005
- Fix numerious compile warnings when turning on /W4 for the Microsoft
compilers. This was done with VS 2003. We are down to 100 or so
warnings from 400 or so.
client/win/
win_idle_tracker.cpp
win_screensaver.cpp
clientgui/
BOINCTaskBar.cpp
DlgAccountManagerSignup.cpp
DlgAccountManagerStatus.cpp
DlgDialupCredentials.cpp
DlgOptions.cpp
MainFrame.cpp, .h
ViewMessages.cpp
ViewProjects.cpp
ViewResources.cpp
ViewStatistics.cpp
ViewTransfers.cpp
ViewWork.cpp
clientgui/msw/
taskbarex.cpp
lib/
boinc_win.h
diagnostics.C
filesys.C
gui_rpc_client.C
msg_log.h
stackwalker_win.cpp
Rom 7 July 2005
- Bug Fix: Reduce the amount of time the call to
wxDialUpManager->IsAlwaysOnline takes by preloading the DLL in memory.
- Bug Fix: Only check for an always on connection every 60 seconds.
- Provide some more information about what various OS's report about the
client machine as part of the message log. Some people are not aware of
what hyperthreading does and how the various operating systems respond
to detecting it.
client/
client_state.C
clientgui/
MainFrame.cpp, .h
stdwx.h
lib/
hostinfo.h
Rom 8 July 2005
- Cleanup the Account Manager Status dialog.
clientgui/
BOINCGUI.pjd
DlgAccountManagerStatus.cpp, .h
MainFrame.cpp
Rom 8 July 2005
- Fix the issues with enabling precompiled headers on Windows and enable
them. Compile times on a 3Ghz machine goes from 4 mins and 5 seconds
for all the components that are released to 1 min and 27 seconds. On
slower machines the performance increase should be more dramatic.
NOTE: You should choose 'rebuild solution' after sync'ing the source
tree.
NOTE: If you are using Visual Studio to build your science applications
you'll need to force include boinc_win.h when building libboincapi and
libboinc.
client/win/
stdafx.h
win_service.cpp
clientgui/
stdwx.h
lib/
boinc_win.h
diagnostics.C
filesys.C
gui_rpc_client.C
network.C
parse.C
prefs.C
stackwalker_win.cpp
util.C
win_build/
BOINCGUI.vcproj
RSAEuro.vcproj
boinc_cli.vcproj
boinc_dll.vcproj
boinc_gui.vcproj
boinc_guirpc_test.vcproj
boinc_ss.vcproj
upper_case.vcproj
Bruce 10 July 2005
- Add explicity leading path to URLs in a 'show user' function that is
called from one of the ops pages. Janus, I used URL_BASE rather
than MASTER_URL (what's the distinction?). Please confirm this.
html/
inc/
user.inc
David 13 July 2005
- use doubles for memory size calculation in HPUX,
avoid 32-bit overflow (from Walt Gribben and Lars Bausch)
client/
hostinfo_unix.C
David 13 July 2005
- BOINC icons for X11 (from Bernd Machenschalk)
sea/
Makefile.am
boincmanager.8x8.png
boincmanager.16x16.png
boincmanager.32x32.png
David 14 July 2005
- Scheduler: update the transition_time of the WU of a sent result
(setting it to the report deadline)
only if the report deadline is less than current transition_time
This fixes a bug that causes some WUs to go for several days
without enough potentially successful results
(from Bruce Allen)
sched/
sched_send.C
David 14 July 2005
- Improvement on the above.
Set transition time (in SQL) to min of X and its current value.
Avoid overwriting update that occurred
between scheduler's read and update.
sched/
sched_send.C
Rom 14 July 2005
- Make the requirements for precompiled headers on Windows optional.
api/
boinc_api.C
graphics_impl.C
gutil.C
reduce_lib.C
reduce_main.C
windows_opengl.C
client/win/
StdAfx.h
lib/
app_ipc.C
boinc_cmd.C
diagnostics.C
exception.C
filesys.C
gui_rpc_client.C
hostinfo.C
md5_file.C
mem_usage.C
mfile.C
miofile.C
network.C
parse.C
prefs.C
proxy_info.C
shmem.C
util.C
Bruce 14 July 2005
- Transitioner would not set a new WU transition time less
than 24 hours away, to prevent thrashing. But this delayed
reissuing of new results. For example if two results were
issued a hours 17 and 18, and both timed out (no reply). At
time 17+deadline the first would time out and a new result
would be issued. But then instead of setting the transition
time to 18+deadline it would be set to 18+deadline+1 day.
To prevent thrashing I have fixed this so that if a transition
time is in the past, I advance it by TWICE the amount it is late,
but never less than 1 minute or more than 1 day.
- Ops pages: show unsent/in-progress results in purple. For
unsent results show create time rather than deadline.
sched/
transitioner.C
html/
inc/
db_ops.inc
if old results were both issued
Rom 14 July 2005
- Not all Windows machines support balloons, so if the manager is running on
a machine that does not support balloons display a message box instead.
- Display additional network control options on the taskbar menu.
clientgui/
BOINCTaskBar.cpp
MainFrame.cpp
Rom 14 July 2005 (boinc_public)
- Tag for 4.71 release, all platforms
boinc_core_release_4_71
David 17 July 2005
- changed the semantics of "-one_pass" in the daemons
Old: do one enumeration (typically 1000 items), then exit
New: process items until an enumeration returns empty, then exit.
This is to support the performance-measurement stuff I'm doing,
and is probably more useful anyway.
- add -sleep_interval x option to feeder (x can be fractional)
(needed for performance measurements)
- add --batch option to scheduler
Makes the scheduler handle an sequence of concatenated requests
(needed for performance measurements)
- compile fixes in client
client/
app.C
scheduler_op.C
sched/
assimilator.C
db_purge.C
feeder.C
file_deleter.C
main.C
make_work.C
transitioner.C
validator.C
David 17 July 2005
- scheduler bug fixes for non-CPU-intensive
(from John McLeod)
client/
cs_scheduler.C
Rom 17 July 2005
- Windows project file cleanup
Add a library for libboinc and libboinc_api and remove duplicate
compilation from remain projects.
win_build/
*.vcproj
*.sln
Rom 18 July 2005
- Enable clipboard functionality on Linux by default.
/
configure.ac
Charlie 19 July 2005
Mac: include Carbon.h in stdwx.h instead of MacGUI.pch as
requested by Bern so command line build (using autoconf /
make) works without using precompiled header.
Add a "Run Script" Phase to builds of BOINCManager and Core
Client in XCode project. This creates a subdirectory named
SymbolTables under the build directory, and copies the
BOINCManager and Core Client executables there before they are
stripped of symbols. This is useful for analyzing crash reports
from the field. We can use the atos command line utility and
these symbol files to convert addresses from the stack frames to
symbols and line numbers in source files.
clientgui/
stdwx.h
mac/
MacGUI.pch
mac_build/
boinc.pbproj/
project.pbxproj
David 19 July 2005
- bug fix in zip code (from Carl C.)
zip/
boinc_zip.cpp
David 19 July 2005
- API: support for RGB files (from Tolu)
api/
Makefile.am
gutil.C,h
texture.C,h (new)
David 20 July 2005
- db_dump: write nusers, nhosts, nteams, total credit
in tables.xml file
sched/
db_dump.C
David 20 July 2005
- commented out some test code from upper_case.C
This seemed to break test_uc.py
- compile fix in zip
apps/
upper_case.C
lib/
parse.C
zip/
boinc_zip.cpp
David 20 July 2005
- hosts_user.php: userid arg is present AND have cookie for user,
treat as if logged in
html/user/
hosts_user.php
Bruce 21 July 2005
- Sort users list of hosts by last rpc time received and add a
corresponding table column. David's going
to clean this up to sort by any column.
html/
inc/
host.inc
user/
hosts_user.php
David 21 July 2005
- Scheduler: if using locality scheduling,
don't attach to shared memory
(hence don't need to run feeder)
sched/
main.C
David 21 July 2005
- Doh!! shared memory is needed anyway,
e.g. for app and platform tables
sched/
main.C
Rom 21 July 2005
- After a false start here is an update that should allow screen readers
to read something useful. The wxWidget documentation and sample are
kinda stale and lead you believe that you have to define proxies for
the various controls, but in fact you can enable the context help
system in combination with the normal window name/title scheme and
skip the proxy creation. What started out being several hundred lines
of code shrunk down to 20 or so lines of code.
clientgui/
BOINCBaseView.cpp, .h
BOINCGUIApp.cpp
BOINCTaskCtrl.cpp, .h
stdwx.h
ViewMessages.cpp
ViewProjects.cpp
ViewResources.cpp
ViewStatistics.cpp
ViewTransfers.cpp
ViewWork.cpp
Charlie 21 July 2005
- Remove wxRESIZE_BORDER and wxCLOSE_BOX from several dialog styles so
modal dialogs are not resizeable and do not have a close box.
NOTE: the Options Dialog is too narrow on the Mac, so I can not yet
finalize this change for this dialog until Rom fixes it.
- Mac: Fix problems with new "Run Script Phase" (see my 19 July changes.)
Fix bug in menubar icon menu wich appeared only in deployment builds 4.70
and 4.71; modify code so it is less dependent on exact implementation of
wxTaskBarIcon's wxDockEventHandler().
clientgui/
DlgAccountManagerStatus.h
DlgAccountManagerSignup.h
DlgOptions.h
mac/
MacSysMenu.cpp, .h
mac_build/
boinc.pbproj/
project.pbxproj
Rom 21 July 2005
- Bug Fix: correct the control id's for the taskbar context menu which was
using the control ids used by the main application instead of it's own.
clientgui/
BOINCTaskBar.cpp
David 21 July 2005
- use SHM_R|SHM_W instead of 0666 in shmget().
Apparently this is needed for HPUX.
We did this before (Mar 31 2005) and immediately
backed it out, so it's likely to break some other platform.
lib/
shmem.C
Rom 21 July 2005
- Update the templates for the dialogs that DialogBlocks uses to maintain
the various dialogs with by removing the resizing flag and close box
flag. Making changes directly on the source files without updating the
templates just causes the loss of the change next time DialogBlocks
is loaded.
- Instead of specifically defining which flags are used, use
wxDEFAULT_DIALOG_STYLE which is supposed to contain the defaults on a
per platform basis.
clientgui/
BOINCGUI.cst (Added)
BOINCGUI.pjd
DlgAbout.cpp, .h
DlgAccountManagerSignup.cpp, .h
DlgAccountManagerStatus.cpp, .h
DlgAttachProject.cpp, .h
DlgDialupCredentials.cpp, .h
DlgOptions.cpp, .h
DlgSelectComputer.cpp, .h
Rom 21 July 2005
- Start prototyping the new attach to project wizard.
NOTE: It'll only be visible on debug builds for the time being.
clientgui/
BOINCGUI.pjd
DlgAbout.cpp, .h
Events.h
MainFrame.cpp, .h
Makefile.am
WizAttachProject.cpp, .h
clientgui/res/
attachprojectwizard.xpm
clientgui/res/templates/
wizard.png
win_build/
boincmgr.vcproj
Charlie 22 July 2005
- Fix reversed checking of Network Activity menu items in taskbar.
- Mac: Update XCode project for use with Wxmac-2.6.1 (added IOKit
Framework to BOINC Manager target.)
- Update Build instructions for wxMac-2.6.1, more detailed info
for building libraries and sceince projects.
clientgui/
BOINCTaskBar.cpp
doc/
mac_build.html
mac_build/
HowToBuildBOINC_XCode.rtf
boinc.pbproj/
project.pbxproj
Rom 22 July 2005
- Enable scrollbars on the task pane
- Only redraw the website buttons when a selection change event has
occurred with the list pane.
clientgui/
BOINCBaseView.cpp, .h
BOINCTaskCtrl.cpp, .h
ViewProjects.cpp
Rom 22 July 2005
- Fix the statistics buttons so that they show up again after the
wxScrollWindow conversion.
- Fix for wireless USB adapters so that connection request events
happen even when InternetGetConnectedState returns a value
indicating that the machine is not connected.
client/
net_xfer.C
clientgui/
ViewStatistics.cpp
Rom 22 July 2005 (boinc_public)
- Tag for 4.72 release, all platforms
boinc_core_release_4_72
David 23 July 2005
- fix compile warnings on Win
lib/
hostinfo.C
md5_file.C,h
miofile.C
network.C
David 23 July 2005
- API: change heartbeat mechanism so that instead of using time(0),
it uses its own counter (incremented on interrupt).
This avoid specious heartbeat timeout
when user resets system clock.
It should also fix problem where BOINC restarts
after hibernation, app runs before core client,
and it gets heartbeat timeout.
- Core client: add "-no_gui_rpc" cmdline option.
If present, don't create listening socket for GUI RPC.
(Useful if bind() doesn't work).
- shared memory: in shmget() mode, first try 0666;
if that fails, try SHM_R|SHM_W
This is just paranoia, in case 21/July checkin
breaks some platform.
api/
boinc_api.C
client/
client_state.C,h
cs_cmdline.C
gui_rpc_server.C,h
lib/
shmem.C
Janus 23 July 2005
- API: Compile error in the previous checkin due to undefined
variable interrupt_time. I assume it should be interrupt_count.
Please change if this isn't right...
/api/
boinc_api.C
Rom 24 July 2005
- Fix the control positioning on platforms other than Windows.
clientgui/
BOINCBaseView.cpp
BOINCTaskCtrl.cpp
ViewMessages.cpp
ViewProjects.cpp
ViewResources.cpp
ViewStatistics.cpp
ViewTransfers.cpp
David 24 July 2005
- If benchmarks fail (e.g. because an app doesn't exit)
set a flag in state file and rerun on next startup
(from John McLeod)
client/
app_start.C
client_state.h
cs_benchmark.C
cs_statefile.C
David 25 July 2005
- API: in start_worker_thread(), use pthread_sigmask()
instead of sigprocmask() to block SIGALRM in the graphics thread.
On Mac OS X, sigprocmask() blocks SIGALRM in all threads,
which is not the intent.
(From Bruce Allen)
api/
graphics_impl.C
David 25 July 2005
- core client: rewrite account file if GUI URLs change
client/
cs_scheduler.C
Charlie 25 July 2005
- Mac installer: specifically quit core client if running in addition
to quitting BOINC Manager, since cc may be running without manager.
mac_installer/
PostInstall.cpp
Rom 25 July 2005
- Define the wizard page that'll actually handle the communication
with the project server, or help diagnose a problem if it occurs.
NOTE: It is currently setup to simulate a proxy configuration error.
clientgui/
BOINCGUI.pjd
WizAttachProject.cpp
WizAttachProject.h
clientgui/res/
wizfailure.xpm (Added)
wizquestion.xpm (Added)
wizsuccess.xpm (Added)
clientgui/res/templates/
wizfailure.gif (Added)
wizquestion.bmp (Added)
wizsuccess.gif (Added)
David 26 July 2005
- Core client: try DL/UL of replicated files
in URL order listed by project, not random order.
Einstein@home orders URLs by proximity to client.
Left in randomization code but commented it out.
- Shorten host info messages, and move to separate function
(don't lengthen functions that are too large already)
- fix small memory leak when using anon platform
client/
client_state.C,h
client_types.C
cs_scheduler.C
cs_statefile.C
Jeff 26 July 2005
- Allow multiple assimilators and file_deleters to run via
modulus on WU id for the assimilator and WU and result
id for the file_deleter.
sched/
assimilator.C
file_deleter.C
Rom 26 July 2005
- Provide a mechinism for the localization team to be able to
localize the project defined buttons.
clientgui/
ViewProjects.cpp
Localization.cpp, .h (Added)
locale/en_US/
BOINC Manager.po, .mo
David 27 July 2005
- Add code to get swap space size on NetBSD
(from Nikos Ntarmos)
client/
hostinfo_unix.C
David 27 July 2005
- fix fairly minor scheduler bug,
in the case where a reported result was not found in the DB,
which caused scheduler reply messages to contain some garbage
In DB_SCHED_RESULT_ITEM_SET::add_result(),
zero the id of the item added.
That way, if it wasn't found in the database,
it won't be updated or acknowledged
db/
boinc_db.C
sched/
handle_request.C
Rom 28 July 2005
- Add a few of the wizard error pages
- Enable the ability to direct error conditions from the welcome page.
NOTE: For trsting only, it'll be removed before we release to alpha.
- Determine which page to show after the project properties page has
done it's thing based on error conditions.
clientgui/
BOINCGUI.pjd
WizAttachProject.cpp
WizAttachProject.h
David 28 July 2005
- scheduler: if the <other_results> list is present in request,
resend any in-progress results not on the list.
Enabled by <send_lost_results>1</send_lost_results> in config.xml
(with Bruce Allen)
sched/
handle_request.C
sched_locality.C
sched_send.C,h
server_types.C,h
Rom 29 July 2005
- Use a virtual stack to monitor page transitions. Next and Back buttons
should be fully operational.
clientgui/
BOINCGUI.pjd
MainFrame.cpp
WizAttachProject.cpp, .h
stdwx.h
Bruce 29 July 2005
- scheduler: fixed to checkins on 28 July
(1) Put core client version number into wreq BEFORE searching for
an app version. Problem is that reply.wreq.core_client_version was only being set in
send_work(), which was too late for the resend_lost_work() part
of the code. You might want to move all the initialization of reply.wreq
out of send_work(). The core client version is needed to see if the
app is compatible with it when calling get_app_version().
(2) In retransmitting lost work, do NOT set the deadline to new
values. Else the result will never time out! But DO reset
the sent_time, to indicate that result was resent.
- transitioner:
In the transitioner, make the next WU transition time be the min
of deadlines of the in progress results, NOT the min of the
sent_time+delay bound. Unless a project wants to do dynamic
adjustment of delay bounds for in progress results this should be OK.
CPDN people: I don't think this does any harm for trickles but
you might want to give it a quick look to be 100% sure.
sched/
sched_send.C
transitioner.C
Bruce 29 July 2005
- scheduler: don't resend a result to a host if any of the following is true:
[1] WU error flag set
[2] WU already has canonical result
[3] (report_deadline - current_time) < 25% of WU delay bound
If any of these conditions is true, set the report deadline to the
current time and set the WU transition time to the current time.
The transitioner will then 'do the right thing'.
sched/
sched_send.C
Charlie 29 July 2005
Mac: #define __WXDEBUG__ only in our code (not in wxWidgets headers)
in Development version only to allow testing of wizard. See comments
in MacGUI.pch for details.
mac/
MacGUI.pch
Rom 31 July 2005
- Add two new wizard pages, the Account Key page which will be used to help out
projects who have not yet upgraded to the new authentication scheme and the
Account Creation Disabled error page. If the server properties php page
returns that account creation is disabled, then that page will be displayed.
clientgui/
BOINCGUI.pjd
WizAttachProject.cpp, .h
David 31 July 2005
- Split the GUI RPC code into 3 parts:
1) the underlying stuff (sockets, buffers)
2) the RPC themselves (XML write/parse, handlers)
3) textual output (used only by boinc_cmd)
client/
Makefile.am
gui_rpc_server.C
gui_rpc_server_ops.C
scheduler_op.h
clientgui/
Makefile.am
lib/
Makefile.am
gui_rpc_client.C,h
gui_rpc_client_ops.C
gui_rpc_client_print.C
win_build/
boinc_cli.vcproj
boinc_ss.vcproj
boinccmd.vcproj
boincmgr.vcproj
David 1 Aug 2005
- support OpenSSL's crypto libary, preparatory to getting rid of RSAEuro.
For now, there's a #define in lib/crypt.h
that lets you select one or the other.
OpenSSL seems to be working, i.e. you can read keys
and verify file signatures produces with RSAEuro.
lib/
Makefile.am
boinc_cmd.C
crypt.C,h
crypt_prog.C
gui_rpc_client.h
gui_rpc_client_ops.C
gui_rpc_client_print.C
hostinfo.C,h
Rom 1 Aug 2005
- Some wizard work.
- Fix build breaks.
- Add support for OpenSSL in the Win32 environment.
clientgui/
BOINCGUI.pjd
MainDocument.cpp, .h
WizAttachProject.cpp, .h
lib/
crypt.h
openssl/
<everything>
win_build/
boinc.sln
boinc_cli.vcproj
boincmgr.vcproj
libboinc.vcproj
librsaeuro.vcproj (Removed)
win_build/installerv2/
boinc.ism
David 1 Aug 2005
- avoid using sprintf() in signal handler
lib/
boinc_api.C
David 1 Aug 2005
- add -lcrypto on Unix
configure.ac
David 1 Aug 2005
- hasty bug fixes to the above. still not quite working
lib/
boinc_api.C
Eric 2 Aug 2005
- added a check for whether hard and soft links function as expected.
(People were having problems where soft links were faked.)
- added autoconf macro to check for openssl and set up the
USE_RSAEURO or USE_OPENSSL macros in config.h.
- modified configure.ac to run this check.
configure.ac
m4/
check_ssl.m4
Eric 2 Aug 2005
- Modified crypt.h to that it will only define USE_RSAEURO or
USE_OPENSSL if they haven't already been defined.
lib/
crypt.h
Bruce 2 Aug 2005
- scheduler: update of the resend-lost-work algorithm. Now try and
extend deadline somewhat, or cancel rather than resend work if
it's not feasible.
sched/
sched_send.C
Rom 2 Aug 2005
- Get rid of the NOCLIPBOARD and NOTASKBAR defines. Taskbar icons seem
to be available on all platforms now and the clipboard functionality
is guarded by the wx version of the define wxUSE_CLIPBOARD. If we use
it, we don't have to maintain any configuration stuff about it in our
build environment.
/
configure.ac
clientgui/
BOINCGUIApp.cpp, .h
stdwx.h
ViewMessages.cpp, .h
David 2 Aug 2005
- Fix new API stuff that avoids using printf in signal handler.
(my scaling of double to put them in the range [.1,1)
failed to take into account zero... arrgh!)
api/
boinc_api.C
apps/
upper_case.C
win_build/
boinc_gui.vcproj
upper_case.vcproj
David 2 Aug 2005
- Don't force-include boinc_win.h in apps
win_build/
upper_case.vcproj
Rom 2 Aug 2005
- Default stackwalker_win.cpp to include boinc_win.h if another of the
precompiled headers hasn't already been included.
lib/
stackwalker_win.cpp
Charlie 2 Aug 2005
Mac: update XCode project for new source files and to link Core
Client with libcrypto.dylib. (Note: libcrypto.dylib comes with
OS 10.3 and OS 10.4, but libcrypto.a does not.) Remove RSAEuro
sources from Core Client build.
mac_build/
boinc.pbproj/
project.pbxproj
David 2 Aug 2005
- process_result_template(): when inserting XML signature
into a <file_info> element, don't include leading
spaces before </file_info> in the signed text
(from Marco Gazzoni)
tools/
process_result_template.C
Charlie 3 Aug 2005
Mac: update XCode project to add api/texture.C to build of
libboinc_graphics_api.a. Add to Mac builds the functions
TEXTURE_DESC::CreateTextureRGB () and TEXTURE_DESC::CreateTexturePPM().
api/
gUtil.C
mac_build/
boinc.pbproj/
project.pbxproj
David 3 Aug 2005
- replace wait3() and wait4() with waitpid().
wait3 and wait4 are obsolete and might not be
available on future systems.
- changed these obsoleted macros in configure.ac:
- AC_CANONICAL_SYSTEM -> AC_CANONICAL_TARGET
- AC_HELP_STRING -> AS_HELP_STRING
- AM_CONFIG_HEADER -> AC_CONFIG_HEADERS
(from Egon Larsson)
configure.ac
client/
app_control.C
sched/
sched_send.C
David 3 Aug 2005
- split up scheduler code into separate files for:
resending
sending from array
homogeneous redundancy (hr)
sched/
Makefile.am
handle_request.C
sched_array.C,h (new)
sched_hr.C,h (new)
sched_resend.C,h (new)
sched_send.C,h
Rom 3 Aug 2005
- Fix a condition where the manager isn't prompting for a username
and password when a username and password were not already
stored on the system
clientgui/
MainFrame.cpp
Bruce 4 August 2005
- File deleter: only log message at level CRIT if we fail to
find an output file for a SUCCESSFUL result. Failure to
find an output file for an UNSUCCESSFUL result is OK, and
is now logged at level DEBUG not CRIT.
sched/
file_deleter.C
an output file to delete for a result whose outcome was not
David 4 Aug 2005
- Change Unix build to use libcrypto instead of RSAEuro
- compile fix
configure.ac
Makefile.am
Makefile.incl
lib/
hostinfo.h
Rom 4 Aug 2005
- Strip boinc_cmd as well.
/
configure.ac
lib/
Makefile.am
David 5 Aug 2005
- Add a new class GUI_HTTP for HTTP operations done
in response to GUI actions.
Currently the only one is account manager RPC,
but we'll be adding others for account setup.
GUI_HTTP manages polling, HTTP header creation etc.
- Modify ACCT_MGR to use GUI_HTTP
client/
acct_mgr.C,h
client_state.C,h
gui_http.C,h (new)
win_build/
boinc_cli.vcproj
boinc_gui.vcproj
Rom 5 Aug 2005
- Move the check for the socket type above the check for SSL support.
You get compilations errors while attempting to determine socket types
on Debian 3.0 with gcc 3.04 due to header changes.
/
configure.ac
David 5 Aug 2005
- Initial checkin of client-side code for new setup scheme.
Implements 3 new GUI RPCs:
get_project_config()
lookup_account()
create_account()
Note: code is sketchy and almost certainly doesn't work.
It also lacks server-side support.
I'm checking it in to allow Rom to work on Manager.
client/
acct_mgr.C,h
acct_setup.C,h (new)
client_state.h
file_names.h
gui_rpc_server_ops.C
lib/
error_numbers.h
gui_rpc_client.h
gui_rpc_client_ops.C
parse.C,h
win_build/
boinc_cli.vcproj
boinc_gui.vcproj
David 5 Aug 2005
- temporary put the RSAEuro directory back into CVS,
but with no files in it.
David 5 Aug 2005
- change account create/lookup erro rreturn from string to int
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
David 5 Aug 2005
- do password hashing in GUI RPC interface
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
David 6 Aug 2005
- compile fixes for Unix
client/
Makefile.am
acct_setup.h
gui_http.h
gui_rpc_server_ops.C
Rom 6 Aug 2005
- Implement error handling with the new GUI RPCs.
- Add lookup_google, lookup_google_poll, lookup_yahoo,
and lookup_yahoo_poll GUI RPCs.
- Add account creation disabled flag to project policies
GUI RPC.
- Make sure the poll functions are checked for before the
actual rpc request when determining which GUI RPC was
sent otherwise the system will always act as though
a new request is being sent instead of a poll request.
- Hook up the completed GUI RPCs for account creation to
the wizard.
client/
acct_setup.C, .h
client_state.h
file_names.h
gui_rpc_server_ops.C
clientgui/
BOINCGUI.pjd
WizAttachProject.cpp, .h
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
David 6 Aug 2005
- added passwd_hash, email_validated fields to user table
- added web RPCs for get config, lookup account, create account
- web changes:
- can log in with email/password
- added page for changing password
- can change email address without validation
- added options to boinc_cmd:
--get_project_config
--lookup_account
--create_account
- debugged new GUI RPCs
- commented out google/yahoo stuff
NOTE: if you apply these changes, you will have to upgrade
your database using db_update.php
client/
acct_setup.C,h
client_state.h
gui_http.C
gui_rpc_server_ops.C
db/
boinc_db.C,h
schema.sql
html/
inc/
user.inc
util.inc
ops/
create_account_action.php
create_account_form.php
db_updatephp
user/
am_query.php
create_account_action.php
edit_email_action.php
login_action.php
create_account.php (new)
edit_passwd_action.php (new)
edit_passwd_form.php (new)
get_project_config.php (new)
lookup_account.php (new)
lib/
boinc_cmd.C
error_numbers.h
gui_rpc_client.h
gui_rpc_client_ops.C
gui_rpc_client_print.C
Bruce August 8, 2005
- file_deleter: added a new argument -delete_antiques.
If this switch is enabled on the command line, then
periodically (once per hour) removes any files in the
upload/ directory that are older than the oldest WU in the
database. These files are created when BOINC clients
return work really late after the deadline -- so late that
the corresponding WU has been deleted from the database.
About half the results in the E@H upload/ directory were
of this form. The 'find' command is used to locate such
files. This is potentially a dangerous operation since
if we find then delete the wrong file(s) all hell could
break lose on the server. So a lot of 'paranoia and
sanity checking' is done before unlink(path) is called,
and we bail out at the first sign of something odd.
sched/
file_deleter.C
Rom 8 Aug 2005
- Fix build breaks and reenable the lookup website code with
a changed prototype.
- Figured out how to automatically advance from one wizard page
to the next. Yes, I know it breaks convention.
- Remove extra text on the project properties page.
- Display the hourglass cursor while executing the project
properties page.
client/
acct_setup.C, .h
client_state.h
file_names.h
gui_rpc_server_ops.C
clientgui/
BOINCGUI.pjd
WizAttachProject.cpp, .h
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
David 9 Aug 2005
- compile fixes
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
gui_rpc_client_print.C
Bruce 9 August 2005
- Client fixes from Walt Gribben. Do regular checks for drive free
space. And retrieve host info after call that reads client_state.xml
has wiped it out.
client/
app_control.C
client_state.C
Rom 9 Aug 2005
- Checkin initial support for account creation or using an existing
account.
clientgui/
BOINCGUI.pjd
WizAttachProject.cpp, .h
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
David 9 August 2005
- Initial checkin for Curl-based core client.
This will allow the client to use HTTPS for any purpose
(main page, scheduler URL, file upload/download),
and it will eventually eliminate the funky/complex
HTTP and proxy code in the core client.
For now, this should have no effect on standard compiles;
everything is #ifdef'd to use the old HTTP code.
(from Carl Christensen)
If you want to build a Curl-based version:
build the libcurl library
Unix: in client/ rename Makefile_curl.am and build.
Win: rename boinc*_curl.vcproj and build
client/
client_state.C,h
file_xfer.h
gui_http.h
main.C
net_stats.h
next_xfer_curl.C,h (new)
Makefile_curl.am (new)
scheduler_op.h
curl-7.14.0/* (new)
lib/
util.C
win_build/
boinc_cli_curl.vcproj (new)
boincmgr_curl.vcproj (new)
David 9 Aug 2005
- removed curl-7.14.0/ from CVS repository.
No real need for it since libcurl.a is present on most Linux.
We'll put a Windows compiled version in win_build.
David 9 Aug 2005
- get_filesystem_info() call not relevant in check_rsc_limits_exceeded()
- recent change to startup logic caused benchmarks to always
run at startup (because clear_host_info() zeros out p_calculated.
Fix this by doing clear_host_info(),
then parse state file,
then get_host_info().
client/
app_control.C
client_state.C
html/
get_project_config.php
David 9 Aug 2005
- rename wizard_account_creation_supported to
client_account_creation_disabled
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
Rom 10 Aug 2005
- Add a new page that is used for when the wizard detects that the url
provided is not a BOINC based project.
- Add some checks for project policy validation.
- Automatically change the label on certain controls when the uses_username
flag is set as a project property.
- Only populate the username, url, and password hash fields when
uses_username is detected.
- After the wizard completes, inform the core client that it should attach
to the project.
- Show the account key page when the client_account_creation_disabled flag
is set.
- Fix the create_account.php and lookup_account.php pages so that they only
expose one root node which will keep XML validators from blowing up.
clientgui/
BOINCGUI.pjd
WizAttachProject.cpp, .h
html/user/
create_account.php
lookup_account.php
Rom 10 Aug 2005
- Fix various parsing issues.
- Fix a transition error when a project is not detected.
clientgui/
WizAttachProject.cpp
lib/
gui_rpc_client_ops.C
html/user/
create_account.php
lookup_account.php
David 10 Aug 2005
- Add "finish" page for new account creation
(asks for name/country/zip)
- put <archive> tags around db_purge XML
html/user/
account_finish.php (new)
account_finish_action.php (new)
bbcode.php
sched/
db_purge.C
David 10 Aug 2005
- changed logic of some daily-stats-related code
in attempt to fix crash on VC 8
- rename STATISTIC to DAILY_STATS
client/
client_types.C,h
cs_account.C
scheduler_op.C
clientgui/
ViewStatistics.cpp
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
David 10 Aug 2005
- add close_file(), close_socke() to NET_XFER_SET::remove().
May fix socket leak.
From Egon Larsson
client/
net_xfer.C
David 10 Aug 2005
- canonicalize master URLs in GUI RPC client library
client/
acct_setup.C
gui_rpc_server_ops.C
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
util.C,h
Rom 11 Aug 2005
- Replace the question mark bitmap with a rotating circular bitmap.
NOTE: It could probably use a color change.
- Cleanup some of the text.
clientgui/
BOINCGUI.pjd
WizAttachProject.cpp, .h
clientgui/res/
wizprogress1.xpm (Added)
wizprogress2.xpm (Added)
wizprogress3.xpm (Added)
wizprogress4.xpm (Added)
wizquestion.xpm (Removed)
clientgui/res/templates/
wizprogress1.ico (Added)
wizprogress2.ico (Added)
wizprogress3.ico (Added)
wizprogress4.ico (Added)
wizquestion.bmp (Removed)
David 11 Aug 2005
- remove Unix compile warnings
client/
acct_setup.h
gui_http.h
lib/
crypt.C,h
crypt_prog.C
sched/
file_deleter.C
make_work.C
David 11 Aug 2005
- The (hopefully) last chapter in the saga of the Unix BOINC API.
We had previously waffled between using a signal handler
and using a timer thread.
Each has a fatal flaw: you can't do sprintf() (or pretty
much anything else) from an asynch signal handler,
and suspend and CPU time reporting don't work if you use a thread.
The new design uses both a signal handler and a thread!
The signal handler does the bare minimum -
calling getrusage() and sleep() -
and the timer thread does the message sending and receiving
(using sprintf() etc.)
(from Bruce Allen)
api/
boinc_api.C
Rom 11 Aug 2005
- Fix the remaining cancel bugs.
If cancel is selected from the welcome page make the wizard disappear.
If cencel is selected on any other page, advance to the completion error
page.
clientgui/
WizAttachProject.cpp
David 11 Aug 2005
- API: don't comment out CreateTextureRGB, CreateTexturePPM on Unix
- core client: PROJECT::update_duration_correction_factor():
compute factor correctly
(from John McLeod)
api/
gutil.C
client/
client_types.C
Rom 11 Aug 2005
- Don't allow the wizard to get stuck in a validation loop during a cancel
operation.
- Hook up the URL and Account Key validators to the wizard.
clientgui/
BOINCGUI.pjd
ValidateAccountKey.cpp
ValidateURL.cpp
WizAttachProject.cpp, .h
David 11 Aug 2005
- API bug fix: block SIGALRM in timer thread
(make new function block_sigalrm();
call it from graphics, timer thread)
api/
boinc_api.C,h
graphics_impl.C
Jeff 11 Aug 2005
- the modulus applied to the transitioner enumeration is now done in the DB
rather than in C code.
- The file deleter now does N=4 passes through result deletion for every 1
pass through workunit deletion.
- the db_purge program now backs off for a period=5min if it's enumeration
does not return more than half the query limit. Short enums were resulting
in rapid fire queries which robbed DB capacity from other functions.
db/
boinc_db.C
boinc_db.h
sched/
transitioner.C
file_deleter.C
db_purge.C
David 11 Aug 2005
- when parsing state file, make sure no two ACTIVE_TASKs
have same value of slot.
client/
app.C
David 12 Aug 2005
- compile fixes for Curl. Also, print "libcurl enabled" on startup
(from Carl C)
client/
client_state.C
http_curl.h
net_xfer_curl.h
Rom 12 Aug 2005
- More string cleanup in the wizard.
clientgui/
BOINCGUI.pjd
WizAttachProject.cpp, .h
David 12 Aug 2005
- Change the way bools are parsed in log_flags.xml
To turn a flag on:
<foobar/> or <foobar>1</foobar>
To turn a flag off:
<foobar>0</foobar>
This lets you override the defaults
(where task, file_xfer and sched_ops are true)
Note: this is already the way things work in sched_config.xml.
I moved the relevant function (parse_bool()) into parse.C,
and called it from LOG_FLAGS::parse().
Should eventually use this for all bools
client/
client_msgs.h
log_flags.C
lib/
parse.C,h
sched/
sched_config.C
Jeff 12 Aug 2005
- Fix small bug in short enum sleep logic.
sched/
db_purge.C
David 12 Aug 2005
- API: added boinc_begin_critical_section(),
boinc_end_critical_section().
Call these around anything you want to do atomically.
You won't get suspended or killed (at least by the core client)
while in a critical section.
api/
boinc_api.C,h
Rom 12 Aug 2005
- More string cleanup in the wizard.
clientgui/
BOINCGUI.pjd
ValidateURL.cpp, .h
WizAttachProject.cpp, .h
David 12 Aug 2005
- Added project_attach_poll() GUI RPC.
- removed MSG_ALERT messages on attach succeed/fail
- added class PROJECT_ATTACH in core client.
Its error_num field stores result of last attach
- attach failure reasons now have ERR_* values
client/
acct_mgr.C
acct_setup.h
client_state.h
client_types.h
cs_account.C
cs_cmdline.C
gui_rpc_server_ops.C
scheduler_op.C
lib/
error_numbers.h
gui_rpc_client.h
gui_rpc_client_ops.C
util.C
Rom 13 Aug 2005
- Make building with libcurl the default on Windows.
- Add the zlib library to the build environment since curl relies
on it.
clientgui/
BOINCGUI.pjd
WizAttachProject.cpp, .h
curl/win32/x86/bin/
libcurl.dll
curl/win32/x86/lib/
libcurl.lib
lib/
boinc_win.h
win_build/
boinc.sln
boinc_cli_curl.vcproj
boinc_mgr_curl.vcproj
win_build/installerv2/
BOINC.ism
zlib/
<A Bunch of files>
David 13 Aug 2005
- manager: fix result status in certain case (from Bruce Allen)
clientgui
ViewWork.cpp
Bruce 13 Aug 2005
- compile fixes for Mac OSX. The autoconf/automake framework
now works again to build client and clientgui.
- one fix was to modify configure.ac so that HOSTTYPE now
gets set to apple-powerpc-darwin rather than (say)
apple-powerpc-darwin7.9. Without this the core client
reports back a platform version that the server does not
understand.
- fix client gui now gives 'aborted by user' error message in
the work pane.
configure.ac
client/
Makefile.am
clientgui/
Makefile.am
BOINCGUIApp.h
ViewWork.cpp
David 14 Aug 2005
- Don't do scheduler RPC to send trickle-up message
if network comm is suspended.
(previously we were setting sched_rpc_pending
when have trickle up, same as user "update" command,
which overrides comm suspended).
Add new flag PROJECT::trickle_up_pending
(suggested by Glenn Dill)
client/
app_control.C
client_state.h
client_types.C,h
cs_scheduler.C
scheduler_op.h
Rom 15 Aug 2005
- Hook-up the attach to project functionality in the wizard.
client/
gui_rpc_server_ops.C
clientgui/
BOINCGUI.pjd
WizAttachProject.cpp, .h
lib/
gui_rpc_client_ops.C
David 15 Aug 2005
- Happily, I found a more elegant solution than renaming functions & variables
from boinc_zip to zlib.
The InfoZip has a define "USE_ZLIB" which will take into account
that you have zlib available.
Since that is the de-facto boinc
(i.e. we're all using zlib now)
then boinc_zip can reflect this;
and I have updated the necessary files.
(from Carl Christensen)
zip/
Makefile.am
README.txt
boinc_zip.vcproj
ziptest.cpp
ziptest.vcproj
Rom 15 Aug 2005
- Fix the model dialog input problem where network traffic was happening
in the background.
clientgui/
BOINCGUI.pjd
MainFrame.cpp
WizAttachProject.cpp, .h
clientgui/res/
wizprogress??.xpm (Added)
clientgui/res/templates/
wizprogress??.bmp (Added)
Janus 16 Aug 2005
- Fixed some serious typos in top user listings causing the cache to mostly
be bypassed.
- Removed the criteria that a user must have been active in the past 7
days to be on the RAC lists. Some users only crunch one week per month
but they may have large enough farms to actually get to the top list...
And it didnt work right with the caching mechanism because they may
become inactive while still being in the cache.
- Added "translatability" to the top teams page and a title item to the
english language file.
- The start_team_table() function should also remember the team type when
linking to sorting by total/expavg credit.
/html
/user
top_teams.php
top_users.php
/inc
team.inc
/languages
/translations
en.po
David 16 Aug 2005
- Fixed bug that caused partly downloaded files to be
treated as errors on retry.
PERS_FILE_XFER::start_xfer(): if verify_file() returns error,
set file status to FILE_NOT_PRESENT
(i.e. clear the error flag set by verify_file())
- Fixed some bugs in curl code that caused busy loop
(100% CPU) while transferring files
client/
http_curl.C
net_xfer_curl.C
pers_file_xfer.C
Rom 16 Aug 2005
- Keep the wizard from attempting to attach to a project when the account
create or lookup fails for some reason.
clientgui/
WizAttachProject.cpp, .h
David 16 Aug 2005
- core client: use of libcurl is now default on Unix
NOTE: curl version 7.14.0 or higher is recommended.
7.10 does not work.
Install it in /usr, not /usr/local
- core client: change the polling structure for
lower latency for GUI RPCs and higher throughput for file xfers.
Polling for non-time-critical changes is done in
CLIENT_STATE::poll_slow_events(),
which is called once per second
(and repeatedly, if anything changes).
All I/O activites are done in CLIENT_STATE::do_io_or_sleep(x),
which returns after about x seconds,
doing as much I/O as it can in the process.
It does a select() across all descriptors (GUI RPC and HTTP)
and this is the only form of sleep that it does.
Change to the GUI_RPC and NET_XFER layers:
instead of a poll() function, they now export
get_fdset(): returns the set of descriptors in use
got_select(): does I/O based on a set of active descriptors
client/
Makefile.am
client_state.C,h
gui_rpc_server.C,h
main.C
net_xfer_curl.C,h
lib/
network.h
sched/
handle_request.C
David 16 Aug 2005
- bug fixes to the above.
You can't easily take the union of two fd_sets on Windows,
so do it a different way.
client/
client_state.C
gui_rpc_server.C,h
main.C
net_xfer_curl.C
lib/
network.h
David 16 Aug 2005
- code cleanup
client/
client_state.C
http_curl.C,h
net_xfer_curl.C
David 16 Aug 2005
- PROJECT::update_duration_correction_factor():
small tweak in algorithm
- CLIENT_STATE::scheduler_rpc_poll():
call compute_work_requests() in all cases
(to avoid asking for work when shouldn't);
increase polling period to 5 sec
(from John McLeod)
client/
client_types.C
cs_scheduler.C
David 16 Aug 2005
- Make boinc_gui work again
client/win/
wingui_mainwindow.cpp
win_build/
boinc_gui.vcproj
Rom 16 Aug 2005
- CR/LF cleanup in wizard
- Add Account not found page.
clientgui/
BOINCGUI.pjd
WizAttachProject.cpp, .h
Rom 17 Aug 2004
- Only subtract 200 from the HTTP status code when things are okay,
otherwise return the http status code from the project server.
client/
net_xfer_curl.C
David 17 Aug 2005
- skip 5-second polling period in CLIENT_STATE::schedule_rpc_poll()
if there's a tentative project.
This is to make project attach go as fast as possible.
client/
client_state.C,h
cs_account.C
cs_scheduler.C
scheduler_op.C
David 17 Aug 2005
- Add new API calls:
boinc_not_using_cpu()
boinc_using_cpu()
for apps that temporarily stop using the CPU
(e.g. while doing network comm).
Allows other apps to use CPU; treats app as if it were
from a non-CPU-intensive project.
Implementation: add non_cpu_intensive flag to ACTIVE_TASK.
Copy from project initially.
Use this instead of project.non_cpu_intensive for scheduling.
Use app_state message channel to convey non_cpu_intensive
status from app to core client.
(for Folding@Home)
api/
boinc_api.C,h
client/
app.C,h
app_control.C
cs_apps.C
scheduler_op.C
lib/
app_ipc.h
David 17 Aug 2005
- Add new API calls:
boinc_need_network()
boinc_network_poll()
boinc_network_done()
For apps that do network communication.
If there is no physical connection (e.g. modem not dialed)
this allows the app
1) to request (via the core client and the BOINC manager)
that the user establish a connection;
2) to learn when a connection has been established
3) to indicate that it is done with network comm
(e.g. so we can hang up the modem)
Implementation:
Add want_network, have_network flags in API lib.
Send want_network in app_status messages to core.
Core: on network_available(), send <network_available/> to
any app that wants network.
(for Folding@Home)
api/
boinc_api.C
client/
app.C,h
app_control.C
client_state.C
scheduler_op.C
Rom 17 Aug 2005
- Disable Next and Back buttons during network communication.
- Launch account_finish.php when account creation has happened and
we have successfully attached to a project.
clientgui/
BOINCGUI.pjd
WizAttachProject.cpp, .h
Rom 18 Aug 2005
- Adjust the URL validator so that .asdf, asdf., and asdf are not
considered valid host names.
- Save the canonicalized url to the control before wxWidgets
transfers the data around
clientgui/
ValidateURL.cpp
Charlie 19 Aug 2005
Mac: update XCode project for new source files and to link Core
Client with libcurl.dylib. Remove RSAEuro group and files. Add
files to build of libboinc.a to match those in makefile.
mac_build/
boinc.pbproj/
project.pbxproj
Bruce 19 Aug 2005
Mac: work around compiler bug under 10.3.9 autoconf/automake
build. Sigh.
client/
net_xfer_curl.C
Rom 19 Aug 2005
- Update the Windows build environment so that it'll copy the curl,
openssl, and zlib libraries to the output directory after
building.
- Make boincmgr depend on boinc for those who only incrementally
build the manager which didn't cause boinc to be rebuilt when
it's source files have changed.
curl/
<many files>
openssl/
<many files>
win_build/
<many files>
zlib/
<many files>
Bruce 20 Aug 2005
- File deleter changes/mods
Restored 'delete antiques' code overwritten by Jeff Cobb
Now delete files in increasing mtime order
Additional paranoia to avoid deleting 'the wrong' files if there
is a configuration or other user/admin error
Use C++ string type for storage efficiency in list
Only delete antique files when there is no OTHER file deletion to do
sched/
file_deleter.C
Charlie 22 Aug 2005
Mac: update XCode project to static-link Core Client with libcurl.a.
Change paths to eliminate use of symbolic links jpeglib, wx_lib and
wxinclude; instead require these library trees to be in same parent
folder as boinc tree.
Update build instructions for changes
doc/
mac_build.html
mac_build/
HowToBuildBOINC_XCode.rtf
boinc.pbproj/
project.pbxproj
Rom 23 Aug 2005
- Do not allow the checks for need network to happen while the manager
is attempting to connect to the CC.
clientgui/
MainFrame.cpp
Rom 23 Aug 2005
- Respect request_delay even when the project is down for maintenance.
client/
cs_scheduler.C
Rom 23 Aug 2005
- Fix LF problem with Wizard files
- Remove finish page on error
- Enable next and back buttons on a cancel event
clientgui/
BOINCGUI.pjd
WizAttachProject.cpp, .h
Rom 24 Aug 2005
- Apply a net_fer_curl.C, .h patch from Carl Christensen.
- Make http_op_retval return a ERR_GETHOSTBYNAME error when
the host does not exist.
- Checkin a few curl error code to BOINC error code
translations.
client/
net_xfer_curl.C, .h
David 25 Aug 2005
- zip fixes (from Carl C)
zip/
(various files)
Rom 25 Aug 2005
- Introduce a 60 second timeout for the various wizard polling loops
- If the wizard has been cancelled during a polling loop then exit
the polling loop
- Don't attempt to use the next and back button pointers if we either
haven't trapped them yet, or they have been freeed during a cancel
operation.
- Change the libcurl enabled message so that it contains version
information for curl, openssl, and zlib.
- Remove the debug menu and replace the attach to project dialog with
the attach to project wizard at all entry points.
client/
client_state.C
clientgui/
MainFrame.cpp, .h
ViewProjects.cpp
WizAttachProject.cpp
David 25 Aug 2005
- Unix build fixes from Reinhard Prix.
- remove #ifdefs on _USE_CURL. Pre-curl HTTP code is no longer supported.
- added "donated" field to user table.
NOTE: this update requires a database change. See html/ops/db_update.php
configure.ac
api/
texture.C
client/
Makefile.am
client_state.C,h
file_xfer.h
http_curl.C,h
main.C
net_stats.h
net_xfer_curl.C,h
scheduler_op.h
db/
boinc_db.C,h
schema.sql
html/
inc/
util.inc
ops/
db_update.php
m4/
libcurl.m4
sah_check_lib.m4
sched/
file_deleter.C
Rom 25 Aug 2005
- Fixup a few more CRLF issues in the wizard.
clientgui/
BOINCGUI.pjd
WizAttachProject.cpp
Rom 25 Aug 2005
- An update of the project view and work view can cause an update request
to the core client. If you are detaching from a project, the reference
to the project by position can be NULL. Check for the NULL before you
dereference the pointer.
clientgui/
ViewProjects.cpp
ViewWork.cpp
Charlie 26 Aug 2005
Mac: update XCode project to remove obsolete DlgAttachProject.cpp/h;
eliminate define of _USE_CURL.
mac_build/
boinc.pbproj/
project.pbxproj
Rom 26 Aug 2005
- Fix a few more issues related to defreferencing pointers within the views.
clientgui/
ViewTransfers.cpp
ViewWork.cpp
Rom 26 Aug 2005
- Fix a radio button problem on the Mac.
clientgui/
BOINCGUI.pjd
WizAttachProject.cpp
Rom 26 Aug 2005
- The wizard should display a nice dialog when somebody trys to attach to a
project they are already attached too.
client/
gui_rpc_server_ops.C
clientgui/
BOINCGUI.pjd
WizAttachProject.cpp, .h
lib/
gui_rpc_client.C
gui_rpc_client_ops.C
David 26 Aug 2005
- Remove deprecated "tentative_user" table from DB.
- Remove code related to munged email addresses.
- Web changes to support user-selected passwords.
db/
schema.sql
html/
inc/
email.inc
util.inc
ops/
db_update.php
user/
am_confirm.php
am_create.php
am_query.php
confirm_email_change.php
create_account_action.php
edit_email_action.php
edit_passwd_action.php
edit_passwd_form.php
get_project_config.php
login_action.php
login_form.php
mail_passwd.php
team_email_list.php
sched/
handle_request.C
Jeff 27 Aug 2005
- added items to fcgi_SOURCES
sched/
Makefile.am
David 27 Aug 2005
- When user changes email address, set email_validated=0
and send an email message to the new address,
with a "validate email" link.
html/user/
edit_email_action.php
edit_email_form.php
validate_email.php (new)
David 28 Aug 2005
- Unix build fixes (from Reinhard Prix)
configure.ac
m4/
sah_check_lib.m4
David 28 Aug 2005
- compile fixes
clientgui/
WizAttachProject.cpp
lib/
parse.C
David 29 Aug 2005
- bug fix in account creation
html/user/
create_account_action.php
David 29 Aug 2005
- fixed bug that caused scheduler RPC to all projects on startup
- revised update_duration_correction_factor()
(hopefully for the better)
- removed call to tmpname()
client/
client_types.C
http_curl.C
Rom 29 Aug 2005
- Build cleanup on Windows (possibly fixes debugger issue)
- Remove unneeded conditional from CLIENT_STATE::do_io_or_sleep
- Don't tell the user we are going to open a browser window unless
we created an account on the target project through the
wizard
client/
client_state.C
clientgui/
BOINCGUI.pjd
WizAttachProject.cpp, .h
win_build/
BOINC.sln
boinc_cli_curl.vcproj
boinc_dll.vcproj
boinc_ss.vcproj
upper_case.vcproj
boinc_cli.vcproj (Removed)
boincmgr.vcproj (Removed)
Rom 29 Aug 2005 (staging)
- Tag for 4.73 release, all platforms
boinc_core_release_4_73
David 29 Aug 2005
- support PHPMailer
(need to define $USE_PHPMAILER, $PHPMAILER_HOST, $PHPMAILER_MAILER
in your project.inc file)
html/inc/
email.inc
Janus 30 Aug 2005
- When viewing profiles the output text is now based on the logged in
user's forum output preferences (ie. links in new window, images as
links etc).
html/
inc/
profile.inc
user/
view_profile.php
Charlie 30 Aug 2005
- Fix excessive CPU usage on Mac when Manager window was open.
CMainFrame::OnFrameRender() was always calling SetTitle(), which
forced a full redraw of the window once every second. The full
redraw is very CPU-intensive. We now call GetTitle() and don't
call SetTile() unless title text has changed.
clientgui/
MainFrame.cpp
David 30 Aug 2005
- include pubDate in RSS feed
- change getallheaders() to apache_request_headers()
(the former apparently not defined in PHP5)
- if apache_request_headers() is not defined, disable caching
html/
inc/
cache.inc
user/
sample_rss_main.php
David 30 Aug 2005
- passwords were being lower-cased. Oops!!
client/
client_types.C
html/
user/
edit_passwd_action.php
David 30 Aug 2005
Various changes for 3-part (major/minor/release) versions:
- app_init_data.xml file and APP_INIT_DATA struct
now have major/minor/release instead of core_version.
This shouldn't break anything because nothing used
core_version as far as I know.
- added <core_client_release> element to state file,
scheduler RPC requests, file upload handler requests.
- GUI RPC requests now have major/minor/release instead of <version>
- GUI RPC replies now have major/minor/release instead of encoded
NOTE: there are a few places where version numbers are
still being packed into integers using the major*100 + minor encoding:
1) server min_core_client_version_announced mechanism
2) server min_core_client_version mechanism
3) wreq.core_client_version
These are OK for now since they don't care about release,
and we're not going to have minor versions > 99 in the near future.
But at some point we should fix these.
configure.ac
version.h
version.h.in
client/
app_start.C
client_state.C,h
client_types.C
cs_scheduler.C
file_xfer.C
gui_rpc_server_ops.C
clientgui/
MainDocument.cpp,h
lib/
app_ipc.C,h
gui_rpc_client.C,h
gui_rpc_client_ops.C
sched/
server_types.C,h
sea/
Makefile.am
Charlie 30 Aug 2005
- Fix excessive CPU usage on Mac when Statistics pane selected.
Added new routine CMainFrame::SetFrameListPanelRenderTimerRate()
which sets the refresh rate to 60 seconds for the statistics panel
and 5 seconds for all other panels. Except it sets refresh rate
to 5 seconds whenever the manager has been connected to core
client for less than 10 seconds, to allow the Statistics panel to
be drawn properly.
clientgui/
MainFrame.cpp, h
David 31 Aug 2005
- don't crash when boinc_resolve_filename() is passed NULL arg
(from Bernd)
util/
app_ipc.C
util.C
David 31 Aug 2005
- core client: avoid division by zero even when some
project resource shares are zero.
NOTE: these changes don't implement the correct semantics -
whatever they are - but it's a start.
client/
client_state.h
cs_scheduler.C
David 31 Aug 2005
- rename get_project_config.php so don't overwrite custom files
html/user/
get_project_config.php (removed)
sample_get_project_config.php (new)
Rom 31 Aug 2005
- Save an unmodified version of the client and manager on Unix based
builds for debugging later.
client/
Makefile.am
clientgui/
Makefile.am
lib/
Makefile.am
David 1 Sept 2005
- Validator: removed generic_check_set_majority().
I think "quorum" is best defined as a set of
WU.min_quorum/2+1 agreeing results,
regardless of how many results the WU has.
The existing (#results/2) definition has two problems:
- it gets harder and harder to satisfy as nresults increases;
- adding one result at a time may be insufficient
(as noted by Kevin Reed)
- change db_dump so it doesn't write "zombie" (merged) hosts.
sched/
db_dump.C
sample_bitwise_validator.C
validate_util.C
validate_util.h
David 1 Sept 2005
- Include release number in state file, GUI RPC replies
- rerun benchmarks if new release
- fix bug where GUI RPC reported wrong version#
(from Sebastian Masch>
client/
client_state.C,h
cs_statefile.C
gui_rpc_server_ops.C
Charlie 1 Sept 2005
- Mac: create a UNIX shell script to automate creation of installers.
Update build instructions to reflect this.
clientgui/
mac/
SetVersion.C
mac_installer/
release_boinc.sh (new)
Description.plist (new)
mac_build/
HowToBuildBOINC_XCode.rtf
doc/
mac_build.html
Rom 2 Sept 2005
- Attempt at fixing a crash condition on Linux due to differences in
how the compiler handles constructors.
clientgui/
BOINCBaseView.cpp, .h
ViewMessages.cpp
ViewProjects.cpp
ViewResources.cpp
ViewStatistics.cpp
ViewTransfers.cpp
ViewWork.cpp
David 2 Sept 2005
- show app version numbers as single ints
(remove major*100 + minor assumption)
- remove commented-out code (lock_file stuff)
lib/
filesys.h
sched/
assimilator.C
file_deleter.C
make_work.C
transitioner.C
update_stats.C
David 4 Sept 2005
- FILE_INFO::set_permissions():
Don't give write access to other or world.
(from Tetsuji Maverick Rai)
client/
client_types.C
Janus 5 Sept 2005
- Fixed (Rob): Adding and deleting too many slashes in the db functions for
the forum
- HTML code in forums is now disabled by default, people will have to use
BBcode from now on (Rob)
html/
inc/
forum.inc
db_forum.inc
text_transform.inc
Rom 6 Sept 2005
- Fix crashing bug on Linux startup.
- Fix crashing bug on Linux during shutdown. When a feature may or may not
be available on a platform use the wxWidget define for that feature instead
of platform defines. Like taskbar icons and clipboard functionality.
- As part of the Account Manager redesign, a new wizard is being added.
- Adjust menus and menu items.
clientgui/
BOINCGUI.pjd
BOINCBaseView.cpp, .h
Events.h
MainFrame.cpp, .h
ViewMessages.cpp
ViewProjects.cpp, .h
ViewResources.cpp
ViewStatistics.cpp
ViewTransfers.cpp
ViewWork.cpp
WizAttachAccountManager.cpp, .h (Added)
Bruce 6 Sept 2005
- Added WizAttachAccountManager.cpp to Makefile.am
clientgui/
Makefile.am
Charlie 6 Sept 2005
- Fix graphics when running anonymoous platform with BOINC Manager; needed
to create soft links in each slot with same name as the anonymous
application and linked to it, even when resuming a work unit.
- Fix possible bug in set_mode() in x_opengl.C: don't call KillWindow() if
(! glut_is_initialized).
- Mac: Graphics applications set their own 'plst' 0 resource so OS will run
them as a NSUIElement; this suppresses Dock icon and menu bar for a
cleaner look, especially after running screen saver.
- Mac: When closing graphics window, hide the graphics application so that
it does not remain in front, which was confusing.
- Mac: Bring graphics application to front whenever user presses "Show
Graphics" button, even if it was already open in background. This provides
a way to bring hidden graphics to front without an icon in the Dock.
- Mac: Fix bug in XCode project's scripts which caused errors if there was a
space in the path to the project.
api/
boinc_api.h
macglutfix.m
x_opengl.C,h
mac_icon.C
client/
app_start.C
mac_build/
boinc.pbproj/
project.pbxproj
Bruce 7 Sept 2005
- Clarify wording of important message from client to user.
client/
scheduler_op.C
Rom 7 Sept 2005
- Fix a bug in the language change notification dialog where the title and
message were reversed from the way they were supposed to be.
- Modify the proxy page for the wizard by shrinking it down to one page.
- Fix the proxy page so that it correctly loads and save proxy information
when you go to the page.
- When account creation is turned off for a project go to the account info
page, but disable account creation. This will allow attaching to a
project with an existing account.
clientgui/
BOINCGUI.pjd
MainFrame.cpp
WizAttachProject.cpp, .h
Charlie 7 Sept 2005
- Mac: Add step to XCode project which automatically unstuffs BOINCSaver.nib.sit
if needed.
- Add new source files to XCode project.
mac_build/
boinc.pbproj/
project.pbxproj
Janus 7 Sept 2005
- Make the website language compiler more robust by writing to temporary
files and rename those files when done.
- Add translation ability for the top teams page
- Fix bug where "Next 20" would show on top team/user pages even though
there were no more entities to list.
html/
inc/
team.inc
translator.inc
user/
top_teams.php
top_users.php
languages/translations/
en.po
Rom 7 Sept 2005 (staging)
- Tag for 5.1.2 release, all platforms
boinc_core_release_5.1.2
Bruce 7 Sept 2005
- From Reinhard: make openssl and curl detection independent; useful for
building server backend components.
configure.ac
m4/
check_ssl.m4
David 7 Sept 2005
- fix bug where "no new work" flag wasn't getting written in XML
client/
gui_rpc_server_ops.C
Charlie 8 Sept 2005
- Mac: Small fixes to build instructions and installer build script.
Release version 5.1.2
mac_installer/
release_boinc.sh
ReadMe.rtf
mac_build/
HowToBuildBOINC_XCode.rtf
doc/
mac_build.html
versions.inc
David 8 Sept 2005
- User web: don't call process_user_text() on passwords;
it's not needed, and breaks passwords containing punctuation
html/user/
edit_password_action.php
Rom 8 Sept 2005
- Fix a file/rpc transfer issue (From Carl)
- Fix for partial downloads (From Carl)
- Treat all 20* http status codes as a success
client/
client_state.C
http_curl.C
net_xfer_curl.C
Rom 8 Sept 2005
- Update to Account Manager wizard.
- Build a sea package that contains the debug version of the executables
so they can be put into the download directory in case we need them
for future issues.
- Add text to the sys tray balloon that states when BOINC is suspended
and when networking is suspended.
clientgui/
BOINCGUI.pjd
BOINCTaskBar.cpp
WizAttachAccountManager.cpp, .h
sea/
Makefile.am
Bruce 9 Sept 2005
- On many current linux machines pthread_sigmask() is not in glibc.
So use sigprocmask instead.
api/
boinc_api.C
Rom 9 Sept 2005 (staging)
- Tag for 5.1.3 release, all platforms
boinc_core_release_5_1_3
David 9 Sept 2005
- fix web bug, make zip code optional
- add some comments
client/
client_state.C
html/user/
account_finish_action.php
lib/
util.C
David 9 Sept 2005
- add block_sigalrm() to graphics_impl_lib.C
- fix some text in Manager
api/
graphics_impl_lib.C
clientgui/
ViewProjects.cpp
Bruce 10 Sept 2005
- backed out change from Sept 9 (not needed, didn't work).
Change had also propagated to graphics_impl_lib.C.
api/
boinc_api.C
graphics_impl_lib.C
David 9 Sept 2005
- validator: when find a canonical result, trigger the assimilator
but do NOT trigger the transitioner; doing so creates a race condition.
(from Bruce Allen)
Example race condition (time ordered):
transitioner [reads wu.assimilate_state==READY]
...(swapped out by process scheduler)
assimilator [reads wu.assimilate_state==READY]
does assimilation
[write wu.transition_time=NOW]
[write wu.assimilate_state=DONE]
transitioner ...(swapped back in by process scheduler)
[writes wu.transition_time=MAX_INT]
Final effect is wu.assimilate_state==DONE
wu.file_delete_state==INIT
wu.transition_time=MAX_INT
This is wrong: one should have wu.transition_time=NOW
else the WU will never change to file_delete_state=READY.
sched/
validator.C
Bruce 10 Sept 2005
- user profiles: do NOT display pictures in Gallery where admin has
rejected profile. Janus, I don't know if this is complete enough
to prevent rejected pictures from EVER being shown. Do you?
html/
inc/
gallery.inc
David 10 Sept 2005
- Server: don't require that app versions have same major version
as scheduler code
sched/
sched_shmem.C
Bruce 10 Sept 2005
- Web pages. To control the posting of offensive pictures, do not
display any user profile pictures until they have been verified by
project admin. When user enters or modifies picture, only they can
see if. If not yet verified, they will see a message saying that
other users can't see it until it has been verified by the project.
If admins have rejected it, user will see a message saying that they
must replace their picture or no one but themselves can see it.
- The only known side effect of this is that selection of UOTD is now
done slightly differently by the uotd.inc functions. Previously the only
profiles with verification=1 were those with credit, so UOTD was
selected from those. Now there are profiles of users with zero credit
that have verification=1. So script that selects UOTD now does
a table join to restrict profile searches to those of users with
credit only.
html/
inc/
profile.inc
uotd.inc
ops/
profile_screen_form.php
Bruce 10 Sept 2005
- transitioner was doing incorrect log accounting for OVER results.
sched/
transitioner.C
Janus 11 Sept 2005
- (Rob) Cleanup of forum search action file + moderated posts no longer
show up in the result listings.
- Added translation tokens for this page
- Changed page_head() to include a meta tag for CHARSET (if defined) for
buggy IE 5.5 browsers that autodetect the charset to UTF7 (not 8)
adding an extra +AF8- whereever underscore is used in links.
Will keep an eye on this bug.
- The teampage shouldn't use the HTML version of the teamname as page
title and most certainly shouldn't use an extra parameter in page_head()
to do it...
html/
user/
forum_text_search_action.php
languages/translations/
en.po
inc/
util.inc
team.inc
Bruce 13 Sept 2005
- Scheduler: when resending 'lost' or 'ghost' WU, don't count this against
the daily result quota for the host.
sched/
sched_send.C
Bruce 13 Sept 2005
- Add BOINC_RCSID_ tags to those .C, .c and .cpp files that don't yet have
them.
api/
mac_icon.C
make_app_icon_h.C
texture.C
client/
gui_rpc_server_ops.C
acct_setup.C
gui_http.C
DlgAbout.cpp
clientgui/
DlgOptions.cpp
WizAttachProject.cpp
WizAttachAccountManager.cpp
DlgDialupCredentials.cpp
DlgAccountManagerSignup.cpp
DlgSelectComputer.cpp
DlgAccountManagerStatus.cpp
hyperlink.cpp
Localization.cpp
mac/
MacSysMenu.cpp
SetVersion.C
mac_saver_module.cpp
lib/
gui_rpc_client_ops.C
gui_rpc_client_print.C
network.C
mac_installer/
LoginItemAPI.c
PostInstall.cpp
openssl/
include/
openssl/
applink.c
sched/
sched_hr.C
sched_array.C
sched_resend.C
win_build/
installerv2/
redist/
Windows/
src/
boinccas/
CADetectOldInstaller.cpp
CAGetAdministratorsGroupName.cpp
CAGetUsersGroupName.cpp
CAGrantServiceExecutionRight.cpp
CAPopulateServiceAccount.cpp
CAShutdownBOINCManager.cpp
CAValidateServiceAccount.cpp
CAValidateSetupType.cpp
CAVerifyServiceExecutionRight.cpp
CAVerifyServicePassword.cpp
boinccas.cpp
lkuprid.cpp
main.cpp
stdafx.cpp
Bruce 13 Sept 2005
- Scheduler: if admin has set min_sendwork_interval in config file, then
include a delay request at least this big in EVERY sched reply. Else
if the hardwired standard delay in the client is smaller than
min_sendwork_interval, the client will keep getting connections
refused at the server side. David, please give this a glance.
- Logging: to help resolve future race conditions etc, I have modified
the logging functions to print fractional seconds down to hundred
microsecond precision. I think the only place that these logging
functions are used is in the server back-end code and in error logging
on the client side, where this should be OK. Rom, David, Charlie, if
you are unhappy with client side effects, I'm sure there is a way
to do this that only affects server side logging.
sched/
server_types.C
lib/
util.C
util.h
msg_log.C
Charlie 13 Sept 2005
- Mac: Change macintosh libe endings to UNIX line endings.
mac-installer/
LoginItemAPI.C, h
Rom 14 Sept 2005
- Update to account management.
- Override system defaults and specify timeouts for network transfers,
network connections, and network speed.
client/
http_curl.C
clientgui/
DlgAccountManagerSignup.cpp, .h (Removed)
WizAttachAccountManager.cpp, .h
WizAttachProject.cpp
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
David 14 Sept 2005
- The acct_mgr_rpc() GUI RPC now has a corresponding
acct_mgr_rpc_poll() GUI RPC.
The BOINC manager should use this
to find out when the RPC has finished,
and whether it succeeded.
NOTE: this eliminates the use of MSG_ALERT_ERROR and
MSG_ALERT_INFO message types.
We can take this code out of the Manager now.
client/
acct_mgr.C,h
gui_rpc_server_ops.C
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
Bruce 14 Sept 2005
- Backend: To prevent possible namespace confusion in the future, changed the
name of elapsed_time() to elapsed_wallclock_time().
- Backend logging statements on exit() which echo elapsed run time to logs now
do this with much higher printed precision.
- Backend logging, separate scheduler requests with an almost blank line
- Scheduler: when host does not have enough memory, message to this effect
now contains information about how many more bytes of memory are needed.
sched/
file_upload_handler.C
main.C
sched_send.C
sched_util.h
sched_util.C
Rom 16 Sept 2005 (from Walt Gribben)
- Letting the OS cleanup instead of shutting things down ourselves is a bad idea,
begin the process of cleaning up when shuting down so that things don't
disappear in random places.
Basically the OS would free the heap before the graphics thread had shutdown
when the machine was under load, this causes C0000005 errors since the
pointers no longer point to memory that we own.
api/
boinc_api.C
graphics_api.C, .h
graphics_impl.C, .h
windows_opengl.C
win_build/
libboincapi.vcproj
Rom 16 Sept 2005 (from Walt Gribben)
- Use the client area of the window instead of the window size when drawing
graphics on Windows.
api/
windows_opengl.C
David 17 Sept 2005
- include math.h and not ieeefp.h in parse.C
lib/
parse.C
Charlie 19 Sept 2005
- Mac: Add backtrace to stderr after crashes.
- Update XCode project for added and deleted souce files.
- Make pipes more reliable by handling EINTR error from fgets.
api/
mac_icon.C
clientgui/
BOINCGUIApp.cpp
mac/
mac_saver_module.cpp
lib/
diagnostics.C
mac_backtrace.C, .h (new)
mac_build/
boinc.pbproj/
project.pbxproj
mac-installer/
PostInstall.cpp
David 19 Sept 2005
- restore include of ieeefp.h (for Solaris)
lib/
parse.C
David 19 Sept 2005
- added script (from Janus Kristensen)
to convert HTML to BBCode.
Currently just does forums.
Should to profiles etc. too
html/ops/
bbcode_convert.php
Charlie 19 Sept 2005
- Mac: Trim garbage off end of symbols in backtrace.
- Fixed backtracing through signal handler. This required
determining the correct offset within sigtramp's stack
frame of the pointer to the next stack frame; this varies
among major versions of the macintosh OS. I'm confident
I have the correct value for OS 10.3, but three different
offsets all contained the correct value in my tests on
OS 10.4, so I'm less confident there.
lib/
mac_backtrace.C, .h
Matt 20 Sept 2005
- added new file server_status.php to html/user which is a generic server
status page, which can be run as a regular php page or as a standalone
program (which can output static .html as well as .xml). Instructions
for use are in the comments at the top.
- fixed the function parse_element so that it returns *all* the text
between open/close tags, not just the text between the opening tag
and the next "<" sign.
- made a new function parse_next_element which gives the user a cursor so
that they can iterate through multiple similar tags (like <daemon>).
html/user/
server_status.php
html/inc/
util.inc
David 20 Sept 2005
- code cleanup
html/
inc/
forum.inc
ops/
bbcode_convert.php
Rom 20 Sept 2005 (staging)
- Tag for 5.1.4 release, all platforms
boinc_core_release_5.1.4
David 20 Sept 2005
- various fixes to bbcode_convert.php.
Ran it on SETI@Home message boards; seems to work OK
html/ops/
bbcode_convert.php
Charlie 20 Sept 2005
- Mac: Add BOINC library version number to backtrace.
lib/
mac_backtrace.C
Charlie 21 Sept 2005
- Mac: Don't show stack frames of signal handler and of backtrace
in backtrace.
lib/
mac_backtrace.C
David 21 Sept 2005
- when benchmarking, suspend running applications the normal way
(leave in memory or not, depending on general prefs)
rather than always removing from memory.
Note: there may already be suspended apps in memory,
so killing running apps is pointless.
- remove site-specific lines from _autosetup
_autosetup
client/
cs_prefs.C
David 21 Sept 2005
- feeder: add an -allapps option.
This causes the feeder to get equal numbers of
results from all applications.
(The default behavior is that it gets results in
whatever order the DB returns them in,
which could give you lots of results for 1 app
before getting around to another one).
(from Carl Christensen)
NOTE: this enumerates the application table every
time the work enumeration restarts - redundant.
It would be better to pass in the application info
from the feeder (which knows it already, it's in shared mem)
db/
boinc_db.C,h
sched/
feeder.C
Rom 21 Sept 2005
- check-in core client support for project_init.xml
- delete project_init.xml if we detach from that project
- add the notion of cached credentials to acct_mgr_rpc and
project_attach so that way we don't put any username
and password stuff over the wire for remote core clients
- disable boinc_shutdown_graphics() until the design can be
finalized
- adjust the boinc manager menus a bit
api/
boinc_api.C
client/
acct_mgr.C
acct_setup.C, .h
client_state.C, .h
file_names.h
gui_rpc_server_ops.C
clientgui/
MainFrame.cpp
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
David 22 Sept 2005
- bug fix: the GUI RPCs for network mode were missing
the AUTO case
client/
gui_rpc_server_ops.C
David 22 Sept 2005
- we were assuming that if a scheduler RPC reply didn't
have a user ID, it must be because of a bad account key.
Not so - could also be major version mismatch with old schedulers
client/
scheduler_op.C
David 22 Sept 2005
- Change "Macedonia, The Former Yugoslav Republic of" to "Macedonia"
(that's how it's listed on the CIA site).
NOTE: projects should do the corresponding DB update
html/ops/db_update.php
html/
inc/
countries.inc
ops/
db_update.php
David 22 Sept 2005
- Change the server status page to generate XML if
there's an "?xml=1" in the URL.
Also make it cache with 10-min update.
html/user/
server_status.php
David 22 Sept 2005
- Call stripslashes() on passwords in PHP code;
otherwise passwords with " and other chars don't work
- Use name attribute on submits in login form,
so the handler can tell the difference
html/
inc/
util.inc
user/
edit_passwd_action.php
login_action.php
David 23 Sept 2005
- Redo the "clean up graphics thread before exit" logic.
boinc_api.C now has a function pointer that gets set
(in the Windows graphics case) to point to a cleanup function.
This gets called in boinc_exit().
Got rid of boinc_shutdown_graphics_impl(),
boinc_shutdown_options_graphics_impl(), boinc_shutdown_graphics().
Let's try to keep it simple.
TODO: it's not clear to me that the graphics cleanup function
will actually work. Rom's going to redo it.
api/
boinc_api.C,h
graphics_api.C,h
graphics_impl.C,h
windows_opengl.C
David 23 Sept 2005
- removed #ifdefs involving BOINC_APP_GRAPHICS
api/
boinc_api.C
texture.C
Jeff 23 Sept 2005
- Removed the filename_hash_old() and the boolean "new_hash" from
interface to dir_hier_path() and dir_hier_url(). A subsequesnt
change will be to remove any now unneccessary calls to boinc_file_exists().
Note that any project side code that calls dir_hier_path() and dir_hier_url()
will have to have these calls modified. For seti@home thses programs
are the splitter, validator, and assimlator.
sched/
file_upload_handler.C
file_deleter.C
make_work.C
sched_locality.C
wu_check.C
validate_util.C
sched_util.{C,h}
tools/
backend_lib.C
dir_hier_move.C
dir_hier_path.C
David 24 Sept 2005
- comment out profile picture verification stuff
html/
inc/
profile.inc
util.inc
ops/
bbconvert.php
Matt 25 Sept 2005
- fixed missing comma in profile.inc
html/
inc/
profile.inc
Rom 26 Sept 2005
- Send the graphics window a WM_DESTROY message instead of using set_mode()
- Merge the attach to project and account manager wizards
TODO: the acct_mgr_info gui rpc should not be returning actual username
and password data anymore, only a flag that describes that the CC has the
data. It should also return whether it detected the acct_mgr_url.xml and
acct_mgr_login.xml files.
api/
windows_opengl.C
clientgui/
MainFrame.cpp
stdwx.h
clientgui/wizards/
<Added numerous files>
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
win_build/
boincmgr_curl.vcproj
Matt 26 Sept 2005
- cleaned up xml output code for server_status.php
html/
user/
server_status.php
- fixed bugs in cache.inc to properly check to see if
function apache_request_headers exists and act accordingly
html/
inc/
cache.inc
David 26 Sept 2005
- Restored the profile screening code, enabled by a
<profile_screening/> flag in config.xml
html/inc
profile.inc
David 26 Sept 2005
- moved server_stats.php from html/user/ to html/ops/
David 26 Sept 2005
- SCHED_MSG_LOG has an enum in which one element was DEBUG.
This is defined as a preprocessor symbol if you configure
with --enable-debug.
So I changed it to MSG_DEBUG.
For uniformity changed to MSG_NORMAL and MSG_CRITICAL also.
(from Don Bashford)
sched/
sched_msgs.h
*.C
Rom 27 Sept 2005
- Some cleanup work related to the wizards.
- Account manager projects now only need to specify the account
manager root url in the acct_mgr_url.xml file as the core client
will now add the rpc.php to the end of the url.
- Fix a crashing condition I introduced earlier today tracking
down a linux compile issue.
client/
acct_mgr.C
gui_rpc_server_ops.C
clientgui/
MainFrame.cpp
clientgui/wizards/
WizardAccountManager.cpp
WizardAttachProject.cpp, .h
Janus 27 Sept 2005
- Made forum_post.php translatable
- Added BBCode info link to the post edit page as well as warning against
using obscene language etc.
html/
inc/
util.inc
user/
forum_post.php
forum_edit.php
languages/translations
en.po
David 27 Sept 2005
- code cleanup:
- remove bool has_* from PROJECT_INIT
(just use string length)
- in PROJECT_INIT, always keep URL in canonical form
- PROJECT_INIT: clear it if delete file
- in acct_mgr_info GUI RPC reply, use
<have_credentials/> instead of <cached_credentials/>.
- in project_attach and acct_mgr_rpc GUI RPC requests, use
<use_config_file/> instead of <use_cached_credentials/>
- in ACCT_MGR_INFO, rename cached_credentials to have_credentials
client/
acct_setup.C,h
client_state.C
gui_rpc_server_ops.C
clientgui/
MainFrame.cpp
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
David 27 Sept 2005
- if doing CPU benchmarks, don't call most poll functions
client/
client_state.C
Rom 27 Sept 2005
- Some more cleanup.
- Remove old dialog templated from the DialogBlocks datafile.
clientgui/
BOINCGUI.cst
BOINCGUI.pjd
MainFrame.cpp
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
David 27 Sept 2005
- finish the code to pass messages back to the Manager from
1) project attach
2) acct mgr RPC
3) get project config
Rom: please add code to show these messages in Manager.
client/
acct_setup.h
cs_scheduler.C
gui_rpc_server_ops.C
clientgui/wizards/
AccountManagerProcessingPage.cpp
ProjectProcessingPage.cpp
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
Rom 27 Sept 2005
- Add server message support to the attach to project wizard.
- Add the project name to the attach to project wizard title
when it is known.
- Fix a control id problem in the attach to project wizard.
- Fixup the page transition code for the wizards when they
skip the welcome screen and go straight to processing
a request.
- Calling PROJECT::attach_fail(0) is a bad thing. It
introduces false positives within the manager.
- Dump out the server messages before dumping the value of
error_num.
- Trim the spaces before and after the url and account key
text before attempting to validate.
client/
cs_scheduler.C
gui_rpc_server_ops.C
scheduler_op.C
clientgui/
MainFrame.cpp
ValidateAccountKey.cpp
ValidateURL.cpp
clientgui/wizards/
BOINCWizards.h
CompletionErrorPage.cpp, .h
ProjectProcessingPage.cpp
WizardAccountManager.cpp, .h
WizardAttachProject.cpp, .h
lib/
error_numbers.h
gui_rpc_client.h
gui_rpc_client_ops.C
Rom 28 Sept 2005
- Backout the bugfix that keeps network i/o from happening during
benchmarks. It keeps the project_attach and acct_mgr_rpc calls
from happening until after the benchmarks are completed.
- Bug Fixes for the account manager wizard
- Additional bgu fixes for the attach to project wizard.
client/
client_state.C
gui_rpc_server_ops.C
clientgui/
MainFrame.cpp
clientgui/wizards/
AccountInfoPage.cpp
AccountManagerProcessingPage.cpp, .h
AccountManagerPropertiesPage.cpp, .h
CompletionPage.cpp
ProjectProcessingPage.cpp
ProjectPropertiesPage.cpp
WizardAccountManager.cpp
WizardAttachProject.cpp
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
Rom 28 Sept 2005 (staging)
- Tag for 5.1.5 release, all platforms
boinc_core_release_5_1_5
Reinhard 29 Sept 2005
- Install header-files necessary for building workunit-generator externally linked to BOINC.
db/
Makefile.am
db_base.h
lib/
Makefile.am
sched/
Makefile.am
Reinhard 29 Sept 2005
- make getsockopt-len check insensitive to user's CPPFLAG-settings,
in order to avoid this test failing because of higher warning-levels set in
CPPFLAGS (as the test is using -Werror).
m4/
boinc_getsockopt.m4
Rom 29 Sept 2005
- If somebody clicks the account manager menu item, they should get the
account manager wizard.
- Add a server message to the wizard that points out when the wizard
receives a 404 from the server for lookup_account.php and
create_account.php.
- Add some text to the account info page that states that the default
password for accounts created before the new authentication scheme
is the account key.
clientgui/
MainFrame.cpp
clientgui/wizards/
AccountInfoPage.cpp
ProjectProcessingPage.cpp
Reinhard 29 Sept 2005
- added forgotten Mac-sources 'mac_backtrace.[Ch]' to build
lib/
Makefile.am
David 29 Sept 2005
- added Python version of get_output_file_path()
(from Alex A. dos Santos)
py/Boinc/
tools.py
Reinhard 29 Sept 2005
- removed redundant configure-switch 'disable-static-linkage'
- made '--enable-client-release' work as advertised [default=OFF!!]
- make sure that only benchmark-sources have hardcoded -O3 applied to them.
- removed spurious dependencies in tool to avoid pointless re-linking
configure.ac
Makefile.am
client/
Makefile.am
m4/
sah_check_lib.m4
tools/
Makefile.am
Rom 29 Sept 2005
- Account not found page should show a finish button instead of a next
button.
clientgui/wizards/
WizardAttachProject.cpp
Charlie 29 Sept 2005
- Mac: Add new files clientgui/wizards/*.cpp and
clientgui/wizards/*.h to XCode project.
mac_build/
boinc.pbproj/
project.pbxproj
David 29 Sept 2005
- check if $USE_PHPMAILER exists before using it
html/inc/
email.inc
Charlie 30 Sept 2005
- Mac: remove obsolete files WizAttachProject.* and
WizAccountManager.* from XCode project. Fixed bug
when compiling under OS 10.3.9 in script which unstuffs
BOINCSaver.nib.sit.
- Created new shell script to build XCode project from
the command line; works under either OS 10.3.9 or
OS 10.4.x. See comments in BuildMacBOINC.sh for usage.
NOTE: Please be sure to explicitly list by name _all_ source
files added or removed from this project in these checkin_notes,
with the notation (new), (added) or (removed). Thank you.
mac_build/
BuildMacBOINC.sh (new shell script, not part of project)
boinc.pbproj/
project.pbxproj
Rom 30 Sept 2005
- Remove obsolete wizard files from the project.
- Fix a sizer problem when switching from use existing account
to create account when returning from an error page.
- Fix the website buttons in the project tab after a detach from
project.
- Add keyboard accelerators for input fields.
TODO: Add accelerators for the proxy page.
- Use account creation policies against the 'use existing account'
password.
clientgui/
BOINCBaseView.cpp
ViewProjects.cpp
WizAttachProject.cpp, .h (removed)
WizAttachAccountManager.cpp, .h (removed)
clientgui/wizards/
AccountInfoPage.cpp
AccountManagerInfoPage.cpp
ProjectInfoPage.cpp
Reinhard 30 Sept 2005
- more error-checking in
sched/
file_upload_handler.C
Rom 30 Sept 2005
- If an internal server error happens on the web server during the
wizard process, call it out so it can be tracked down.
clientgui/wizards/
AccountManagerProcessingPage.cpp
ProjectProcessingPage.cpp
David 30 Sept 2005
- Improve the client's file transfer backoff logic.
Old: separate backoff for each file.
Suppose a client has 10 results from a project,
each with 5 input files, and server is down.
It will try all 50 downloads, they all back off a minute,
it tries all 50 again, etc.
This is bad, especially if the download server
is up but overloaded.
New: maintain per-project backoff parameters as well
(separate for upload/download directions).
If a project gets 3 consecutive UL or DL failures,
it goes into a random-exponential-length period
of "project backoff" during which no transfers are started.
During this period, individual file backoffs continue to accumulate,
so that retries will be widely spread out when the client
emerges from project backoff
(this is a kludge, and hard to understand,
but I can't think of a simpler way off the top of my head)
From John F. Hall
client/
client_types.C,h
pers_file_xfer.C,h
David 30 Sept 2005
- A refinement of the above: if the user manually retries
a file transfer, exit project-level backoff mode
(suggested by John F. Hall)
client/
gui_rpc_server_ops.C
Rom 30 Sept 2005
- The system tray code wasn't closing down on some Linux distros which
was keeping the manager active without any way to shut it down. So
I'm disabling the system tray code for this release on Linux and
I'll look into fixing it in the next release cycle.
clientgui/
BOINCGUIApp.cpp, .h
MainFrame.cpp
Janus 01 Oct 2005
- Added "Report this post" option to the forum. It will send an email to
the user/mailinglist specified in project.inc.
All projects that want to make use of this feature should define an
email address there like this (in html/project/project.inc):
$forum_post_reporting_admin->email_addr="jbk@vgroup.dk";
If not defined the users will get a warning when trying to use the
feature.
- Fixed a few missing includes in the profile screening ops section
html/
inc/
forum.inc
email.inc
user/
forum_report_post.php
ops/
profile_screen_form.php
Charlie 1 Oct 2005
- Mac: Small fixes to make installer build script more robust.
mac_installer/
release_boinc.sh
David 2 Oct 2005
- API: initialize sa_mask in sigaction() call (from Harold Naparst)
- account_finish_action.php: send cookie to log in user
api/
boinc_api.C
client/
acct_mgr.C
html/user/
account_finish_action.php
David 3 Oct 2005
- User web: on edit email form, give link to set/change password
(from Bruce Allen)
html/user/
edit_email_form.php
edit_passwd_form.php
login_action.php
David 3 Oct 2005
- Client: got rid of MAX_BLOB_LEN constant
(which was deceptively defined as 4K; actual max blob is 64K)
Replaced with:
MAX_PROJ_PREFS_LEN (cs_prefs.C; 64K)
MAX_FILE_INFO_LEN/MAX_SIGNATURE_LEN/MAX_KEY_LEN
(client_types.h; 4K each)
MAX_STDERR_LEN (client_state.C; 64K)
app.h
client_state.C,h
cs_account.C
cs_prefs.C
David 3 Oct 2005
- fix login on complete account setup
(needed session_start())
html/user
account_finish_action.php
login_action.php
David 3 Oct 2005
- API: on Mac, flush stderr before _exit()
(from Rick X)
api/
boinc_api.C
David 3 Oct 2005
- make email change work even if password not set
html/user/
edit_email_action.php
Rom 3 Oct 2005
- Even though it is bad practice to change build tree structure during
a code freeze, we are going to move the wizard files into the
clientgui directory to get around some funky mac build environment
problem.
- Force Input focus on wizard pages that prompt for input on the text
controls instead of leaving it to the dialog management code to
figure out.
clientgui/
AccountInfoPage.cpp, .h (Added)
AccountKeyPage.cpp, .h (Added)
AccountManagerInfoPage.cpp, .h (Added)
AccountManagerProcessingPage.cpp, .h (Added)
AccountManagerPropertiesPage.cpp, .h (Added)
AlreadyAttachedPage.cpp, .h (Added)
AlreadyExistsPage.cpp, .h (Added)
BOINCBaseWizard.cpp, .h (Added)
BOINCWizards.h (Added)
CompletionErrorPage.cpp, .h (Added)
CompletionPage.cpp, .h (Added)
DlgAbout.cpp
MainFrame.cpp
Makefile.am
NoInternetConnectionPage.cpp, .h (Added)
NotDetectedPage.cpp, .h (Added)
NotFoundPage.cpp, .h (Added)
ProjectInfoPage.cpp, .h (Added)
ProjectProcessingPage.cpp, .h (Added)
ProjectPropertiesPage.cpp, .h (Added)
ProxyPage.cpp, .h (Added)
UnavailablePage.cpp, .h (Added)
WelcomePage.cpp, .h (Added)
WizardAccountManager.cpp, .h (Added)
WizardAttachProject.cpp, .h (Added)
wizardex.cpp, .h (Added)
clientgui/wizards
AccountInfoPage.cpp, .h (Removed)
AccountKeyPage.cpp, .h (Removed)
AccountManagerInfoPage.cpp, .h (Removed)
AccountManagerProcessingPage.cpp, .h (Removed)
AccountManagerPropertiesPage.cpp, .h (Removed)
AlreadyAttachedPage.cpp, .h (Removed)
AlreadyExistsPage.cpp, .h (Removed)
BOINCBaseWizard.cpp, .h (Removed)
BOINCWizards.h (Removed)
CompletionErrorPage.cpp, .h (Removed)
CompletionPage.cpp, .h (Removed)
NoInternetConnectionPage.cpp, .h (Removed)
NotDetectedPage.cpp, .h (Removed)
NotFoundPage.cpp, .h (Removed)
ProjectInfoPage.cpp, .h (Removed)
ProjectProcessingPage.cpp, .h (Removed)
ProjectPropertiesPage.cpp, .h (Removed)
ProxyPage.cpp, .h (Removed)
UnavailablePage.cpp, .h (Removed)
WelcomePage.cpp, .h (Removed)
WizardAccountManager.cpp, .h (Removed)
WizardAttachProject.cpp, .h (Removed)
wizardex.cpp, .h (Removed)
lib/
gui_rpc_client.C
gui_rpc_client_ops.C
Bruce 4 October 2005
- file_upload_handler: fix broken print statement format
and don't generate an error when parsing client version
release. Karl, I think the broken print statement
was introduced between rev 1.41 and rev 1.42.
sched/
file_upload_handler.C
David 4 October 2005
- Fix problems with disk space management code, which can cause
- violation of user disk usage prefs
- server sends clients lots of results
even though client has zero free disk space,
and results will immediately error out.
OLD:
client: scheduler requests include disk space info
(d_total and d_free),
but they're the values at client startup,
which may be way out of date!
(e.g. free space may now be zero)
server:
Expected <total_disk_usage> in request message.
This was removed a long time ago.
The formula for computing max additional disk usage was wrong.
NEW:
client: scheduler requests includes
- up-to-date values for d_total and d_free
- up-to-date values for BOINC and project disk usage:
<d_boinc_used_total>, <d_boinc_used_project>
server:
Parse new scheduler request fields.
If new fields are present,
calculate max additional disk usage based on them.
- Change to scheduler RPC requests:
OLD:
<resource_share_fraction> is sent, but it's actually
potentially runnable resource share fraction.
(Didn't matter; it's not currently used by server)
NEW:
<resource_share_fraction> (total resource share fraction)
<rrs_fraction> (runnable resource share fraction)
<prrs_fraction> (potentially runnable resource share fraction)
... are all sent.
Future versions of the server may use them for
disk and/or CPU allocation>
- Commented out or deleted some unused code, e.g. all references to
p_fpop_err, p_iop_err, p_membw_err
NOTES:
1) If old client talks to new server,
only the "min free" preference will be enforced.
2) If old or new client talks to old server,
no preferences are reliably enforced
3) If new client talks to new server,
all preferences are enforced,
BUT project resource shares are not enforced.
E.g. one project might hog all the disk space
even though it's resource share is small and
other projects need space.
Need to figure out how to address this.
client/
client_state.h
cs_prefs.C
cs_scheduler.C
hostinfo_unix.C
db/
boinc_db.h
lib/
gui_rpc_client_ops.C
hostinfo.C,h
sched/
sched_send.C
server_types.C,h
Charlie 4 Oct 2005
- Mac: Update XCode project for new location of wizard files
in build tree structure.
- Update revision date in installer build script.
mac_build/
boinc.pbproj/
project.pbxproj
mac_installer/
release_boinc.sh
Rom 5 Oct 2005
- Remove the 'update all' button from the projects tab and add the
'retry communications' menu item off the commands menu.
clientgui/
Events.h
MainFrame.cpp, .h
ViewProjects.cpp, .h
David 5 Oct 2005
- In the confirm-before-connect modem case,
do as much communication as possible.
E.g. report all ready-to-report results.
Implementation:
Add new variable CLIENT_STATE::have_sporadic_connection.
Set to true on network_available RPC.
Set to false when want_network returns false.
Change CLIENT_STATE::want_network() so it waits 10 seconds
after core client stops using network before returning false.
If have_sporadic_connection is true, report results immediately.
client/
client_state.C,h
cs_scheduler.C
net_xfer.C
Rom 5 Oct 2005 (staging)
- Tag for 5.1.7 release, all platforms
boinc_core_release_5_1_7
David 5 Oct 2005
- before any _exit() (API, app start, etc.) do a fflush(NULL)
(from Bruce Allen)
api/
boinc_api.C
client/
app_start.C
cs_benchmark.C
clientgui/mac/
mac_saver_module.cpp
Rom 5 Oct 2005
- Bug Fix: The manager should honor the account creation disabled flag
correctly. I don't understand why I changed it.
- Bug Fix: Network preferences were dorked because we were setting the
wrong variable.
client/
gui_rpc_server_ops.C
clientgui/
AccountInfoPage.cpp
MainFrame.cpp
Rom 5 Oct 2005 (staging)
- Tag for 5.1.8 release, all platforms
boinc_core_release_5_1_8
Bruce 7 Oct 2005
- Emergency fix: prevent users from creating password<6 chars long
using web-page interface. David, Janus, the min password length
needs to be parsed from a single place, eg config.xml, and used
consistently in both PHP and client-side ops.
html/
user/
edit_passwd_action.php
David 7 Oct 2005
- Add optional <min_passwd_length> element to config.xml.
The change-password web pages get min passwd length from here.
The get_project_config.php RPC gets it from here also.
Default in both cases is 6.
- Add optional <client_account_creation_disabled/> element to config.xml.
This is to be used by projects that have not
updated to version 5 server software yet
(i.e. that don't have create_account.php,
and the database updates that go along with it).
As soon as all projects have upgraded we can get rid of this.
client/
pers_file_xfer.C
html/user/
edit_passwd_action.php
sample_get_project_config.php
David 7 Oct 2005
- A couple of build-system changes,
which I believe are from Eric Korpela but I'm not sure.
Reinhard, please make sure these are OK
Makefile.incl
m4/
sah_check_lib.m4
David 7 Oct 2005
- get_project_config.php now gets all its info from config.xml,
so there's no reason to have project-specific variants.
html/user/
rename sample_get_project_config.php to get_project_config.php
Rom 7 Oct 2005
- Limit which types of characters can be used for passwords.
Standard ASCII is all we care about for now.
clientgui/
AccountInfoPage.cpp
David 7 Oct 2005
- don't allow non-ASCII passwords in PHP code
- add some WU fields (target_nresults, max_*_results, etc.)
to web page display
- change "master page" to "master file" in client messages
(from Paul Buck)
client/
scheduler_op.C
html/user/
edit_password_action.php
workunit.php
Rom 7 Oct 2005
- If the network connection is set to always, then user
perferences should not be checked.
client/
cs_prefs.C
David 8 Oct 2005
- password change used mb_detect_encoding(),
which apparently isn't included by default,
to check for non-ASCII. Use hand_written check instead.
html/user/
edit_passwd_action.php
David 8 Oct 2005
- If user doesn't belong to team, send <team_name></team_name>
in scheduler reply
(otherwise client doesn't know when user has quit team)
- Don't print "process PID x not found" if we're benchmarking;
the process is a benchmark process, not an app
client/
app_control.C
sched/
server_types.C
Rom 8 Oct 2005
- Bug Fix: BroadcastSystemMessage on Win95 aparently doesn't follow
the ANSI vs. Wide Character naming rules. So extract the function
pointer at runtime and call it instead of relying on the program
loader to do it.
client/win
win_screensaver.cpp, .h
Rom 8 Oct 2005
- Bug Fix: Win9x doesn't send console events correctly during shutdown
and so BOINC used to keep the system from being able to shutdown.
So if we detect we are executing on a Win9x machine, we'll skip
registering the console event handler.
client/
main.C
Rom 8 Oct 2005
- Bug Fix: Don't display web site buttons on GTK or Motif environments
since they don't have an easy way to get the default browser
information for now.
clientgui/
ViewProjects.cpp
David 9 Oct 2005
- Core client: on app start, if can't clear out slot directory,
then rename it to slots/DELETE_ME_slot_time and make a new one.
This should deal with situations where a virus-check program
locks a link file (typically .exe) and we can't delete it.
Thanks to Pete Benac for reporting this.
client/
app_start.C
file_names.C,h
lib/
filesys.h
Rom 8 Oct 2005
- Backout previous bug fix with the web site buttons. Apparently some
distro's don't install a mailcap file by default.
clientgui/
ViewProjects.cpp
Rom 8 Oct 2005
- Display an informational dialog on Linux when the text/html mime type
doesn't point to a browser. Inform the user that they may need to
install the 'mailcap' package or the 'mime' package so the manager
knows which browser to launch.
clientgui/
hyperlink.cpp
Rom 9 Oct 2005 (staging)
- Tag for 5.1.9 release, all platforms
boinc_core_release_5_1_9
David 9 Oct 2005
- Core client: try to delete slots/DELETE_ME_* directories on startup
- Scheduler: return at most one "Your computer has only X memory, needs Y"
message in scheduler RPC reply
- return error if no end element in a couple of XML parse functions
(from Chris Sutton)
client/
app.C
client_state.C
file_names.C,h
lib/
hostinfo.C
proxy_info.C
sched/
sched_send.C
Charlie 10 Oct 2005
- Mac: Update XCode project to remove unwanted copy of header files
into built BOINCManager.app bundle.
mac_build/
boinc.pbproj/
project.pbxproj
Rom 10 Oct 2005
- Notifications do not need to be confirmed with an OK dialog box.
Win98 doesn't have balloons and we were still waiting on user
input even when the user had specified automatic dialing and
hang-up operations.
clientgui/
MainFrame.cpp
Rom 10 Oct 2005 (staging)
- Tag for 5.1.10 release, all platforms
boinc_core_release_5_1_10
Rom 10 Oct 2005 (stable)
- Tag for 5.2.0 release, all platforms
boinc_core_release_5_2_0
David 10 Oct 2005
- core client: fix bug introduced yesterday:
check if slots directory doesn't exist yet
before cleaning out DELETE_ME subdirs
client/
file_names.C
Rom 10 Oct 2005 (stable)
- Tag for 5.2.1 release, all platforms
boinc_core_release_5_2_1
Rom 11 Oct 2005 (HEAD, staging, stable, boinc_core_release)
- When all other methods for determining which browser to use
for website links fail, use the BROWSER environment variable.
(from Jens Seidler)
clientgui/
hyperlink.cpp
locale/client/en_US/
BOINC Manager.po, .mo
Bruce 11 Oct 2005
- Fix bug in cancel WU script
- Add WU name to graphics window title.
TODO: add app_version_num to window title.
David or Rom, could you add app_version_num to struct APP_INIT_DATA?
html/
ops/
cancel_wu_action.php
api/
x_opengl.C
windows_opengl.C
Charlie 12 Oct 2005
- Mac: remove warning from installer ReadMe about projects incompatible
with Wizard (in preparation for version 5.2.2)
mac_installer/
ReadMe.rtf
David 12 Oct 2005
- scripts: disable "add", add comments to "xadd"
- Client: make "Communication deferred" message INFO rather than ERROR
client/
cs_scheduler.C
sched/
server_types.C
tools/
add
xadd
David 12 Oct 2005
- Add app version # to window title:
- add app_version to APP_INIT_DATA structure
- initialize it in ACTIVE_TASK::write_app_init_data_file()
- make new function get_window_title() so we don't have
to worry about consistency of X/WIn code
api/
graphics_impl.C,h
windows_opengl.C
x_opengl.C
client/
app_start.C
lib/
app_ipc.C,h
David 12 Oct 2005
- Cleaned up account-creation code.
Got rid of a bunch of old stuff.
There are now two ways to create an account
1) via client
- Enter email and password in BOINC manager
- BOINC manager eventually brings up account_finish.php,
which asks you for name/country/zip.
2) via web
- Enter email/password/name/country/zip in one form
Both paths leave you at the "Your account" page,
with some extra text at the beginning,
telling you to set your preferences,
and (in case 2) to make sure you've downloaded the client software.
html/
inc/
util.inc
user/
account_created.php (removed)
account_finish_action.php
account_setup.php (removed)
account_setup_first.php (removed)
account_setup_first_action.php (removed)
account_setup_first_done.php (removed)
account_setup_first_download.php (removed)
account_setup_nonfirst.php (removed)
account_setup_nonfirst_action.php (removed)
account_setup_nonfirst_done.php (removed)
Charlie 12 Oct 2005
- Mac: update BOINC build shell script to:
- not require cmpatibility SDK if building under OS 10.3.x
- work without "source" command; i.e ./BuildMacBOINC.sh now
works. Thanks to Reinhard for his assistance.
mac_build/
BuildMacBOINC.sh
Janus 13 Oct 2005
- The HTML version of the teamname wasn't displayed correctly on the
teampages.
html/
inc/
team.inc
user/
team_edit_form.php
David 13 Oct 2005
- include text_transform.inc and db_forum.inc in profile.inc
(fixed bug in UOTD-review page)
- remove includes of forum.inc and text_transform.inc from view_profile.php
NOTE: a PHP file (like other languages) should include ONLY
the .inc files for the functions that it itself uses
html/
inc/
profile.inc
user/
view_profile.php
David 13 Oct 2005
- disable change of 30 Sept 2005
We've had reports of file transfer not starting, without explanation.
I'm not sure why, but it seems like this is a possible cause.
client/
pers_file_xfer.C
David 13 Oct 2005
- generalize random-string generator
lib/
hostinfo.C,h
David 13 Oct 2005
- Fix a moderate security loophole in GUI RPC.
Old: by default, core client doesn't create a password file
(gui_rpc_auth.cfg).
Therefore any process on the local host can connect to it;
even processes belonging to other users.
So if user X is running BOINC, evil user Y can use GUI
RPCs to attach BOINC to a rogue project,
causing bad code to run as user X.
New: on startup, if the core client doesn't find a password file,
it creates one, writes a long random string to it,
and (on Unix) makes it user-read/write only.
The BOINC Manager, when connecting to the local host,
looks for a password file in the current directory.
Bottom line: a user running BOINC is now protected against
other users on the same host.
NOTE: this could cause some angst for Mac users,
if they expect things to work the same for all users.
client/
gui_rpc_server.C
clientgui/
MainDocument.cpp
David 16 Oct 2005
- User web: fix bug that caused very few profiles to
appear in user profile "Photo Gallery"
- User web: fix bug that caused nav-bar links in profile
pages to be broken links
Note: this required adding an optional 2nd "prefix" argument to
the project-supplied "project_banner()" and "project_footer()" functions.
This is a string that must be prepended to any relative links
generated by those functions.
html/
inc/
gallery.inc
util.inc
ops/
update_profile_pages.php
Rom 17 Oct 2005 (HEAD, staging, stable, boinc_core_release)
- Include the URL that a web browser needs to open up in the message
box if the default browser cannot be determined.
clientgui/
hyperlink.cpp
Rom 17 Oct 2005 (stable)
- Tag for 5.2.2 release, all platforms
boinc_core_release_5_2_2
Rom 17 Oct 2005
- Bug Fix: graphics_api.C needed to include boinc_win.h before the other
header files so that data types like HANDLE and HINSTANCE can be
resolved correctly.
api/
graphics_api.C
Bruce 17 Oct 2005
- Feeder: removed obsolete #defines for PID file and lockfile.
Trigger file to re-read database is now reread_db in the project
root direcory, consistent with other BOINC trigger files, rather
than in the tmp_project_name subdirectory.
- Log detection/removal of trigger file.
sched/
feeder.C
Reinhard 19 Oct 2005
- put explicit version-checks into _autosetup so the user knows right-away if
he needs to install newer versions of autoconf&automake&Cie.
[taken from E@H-buildscript 'eah_build.sh']
./_autosetup
David 20 Oct 2005
- removed declaration of g_hIdleDetectionDll from lib/hostinfo.h
(what the heck was it doing there??)
lib/
hostinfo.h
David 20 Oct 2005
- core client: delete project_init.xml only on detach via GUI RPC
(not on detach due to initial master file fetch failure)
client/
client_state.C
gui_rpc_server_ops.C
html/inc/
host.inc
David 20 Oct 2005
- core client: fix bug where core client would detach
from a tentative project when its master page
had been downloaded and parsed successfully,
but its schedulers weren't up.
client/
scheduler_op.C
Rom 19 Oct 2005
- Bug Fix: use strLink instead of strBuffer when describing the URL to
go to on Linux when a browser cannot be detected.
clientgui/
hyperlink.cpp
Rom 19 Oct 2005
- Include localization files in the Linux sea.
sea/
Makefile.am
make-tar.sh
make-tar_debug.sh
Rom 19 Oct 2005 (stable)
- Tag for 5.2.3 release, all platforms
boinc_core_release_5_2_3
Rom 19 Oct 2005 (stable)
- Tag for 5.2.4 release, all platforms
boinc_core_release_5_2_4
Charlie 20 Oct 2005
- Mac: update BOINC build shell script to copy only *.mo localization files
to avoid wasting space on CVS and *.po files which are not needed; adapted
from Rom's make-tar.sh script.
mac_installer/
release_boinc.sh
Rom 20 Oct 2005
Bug Fix: Some versions of Windows do not support RAS by default and so
wxWidgets complains when it can't find it. What is worse is we end up
dereferencing a null pointer when somebody tries to bring up the
options dialog. If we detect the null pointer disable all the
controls on the networking/communications tab.
clientgui/
MainFrame.cpp, .h
Charlie 21 Oct 2005
- Mac: Update XCode project to make sure plist files are updated _before_
they are copied into build products.
mac_build/
boinc.pbproj/
project.pbxproj
David 22 Oct 2005
- Prevent the "merge host" feature from being used
to merge distinct hosts
(and create host records with exaggerated credit totals).
Hosts X and Y are considered "compatible" (for merging)
only if X.rpc_time < Y.create_time or vice-versa.
- When merging hosts X and Y,
a) decay their expavg_credit prior to adding and updating
b) set create_time to the min of the two
c) if the target is older, update its rpc_time and rpc_seqno
html/
inc/
host.inc
user/
host_edit_action.php
host_edit_form.php
David 23 Oct 2005
- fix compile warnings
client/
client_state.C
lib/
host_info.C,h
sched/
file_deleter.C
server_types.C
validator.C
David 23 Oct 2005
- fix bugs in checkin-before-last.
When merge hosts X into Y with X < Y,
don't change Y's create time.
If you do, and there are hosts Z with X < Z < Y,
the user won't be able to merge Z into Y.
Also fix typos in SQL queries.
html/
inc/
host.inc
user/
host_edit_action.php
Rom 24 Oct 2005
- Bug Fix: Win9x should not lock-up during a shutdown/logoff
operation. I had to introduce a hack since MS never decided
to fix that console signal bug. This change only effects
Win95/Win98/WinME.
- Trace Messages on Debug builds should be displayed even when
libboinc is compiled as a release build.
clientgui/
main.C
lib/
diagnostics.C
Charlie 25 Oct 2005
- Mac: Work around a bug which caused the core client to block
after receipt of SIGTERM, SIGHUP, SIGINT or SIGQUIT, preventing
the main loop from processing the exit request.
client/
gui_rpc_server.C
David 25 Oct 2005
- "boinc_cmd" looks for a password in gui_rpc_auth.cfg
client/
acct_setup.C
lib/
boinc_cmd.C
David 25 Oct 2005
- avoid SQL injection attack
sched/
server_types.C
David 27 Oct 2005
- Charlie's fix of 25/10/05 works for all Unix, as far as I can tell.
client/
gui_rpc_server.C
Rom 27 Oct 2005 (stable)
- Tag for 5.2.5 release, all platforms
boinc_core_release_5_2_5
David 27 Oct 2005
- make GUI RPC passwords more randomly.
e.g. on Unix use /dev/random
- move calculate_exponential_backoff()
from lib/util.C to client/client_state.C
- remove commented-out RSAEURO references
client/
client_state.C,h
gui_rpc_server.C
lib/
crypt.C
crypt_prog.C
hostinfo.C
md5_file.C,h
util.C,h
David 27 Oct 2005
- core client: parse fpops_per_cpu_sec, fpops_cumulative from app
(This way of assigning credit didn't work because of this)
client/
app_control.C
David 27 Oct 2005
- file upload handler: in file size query, reject names with ".."
- fix possible buffer overruns in file upload handler
sched/
file_upload_handler.C
David 28 Oct 2005
- user web: updates to reflect client version 5.x
(don't need "create account" anymore)
html/
languages/translations/
en.po
user/
create_account_form.php
sample_index.php
David 28 Oct 2005
- don't show languages like 50845_en in language_select page
html/inc/
translation.inc
David 28 Oct 2005
- add a little translation stuff to sample_index_index.php
html/
inc/
translation.inc
util.inc
user/
sample_index.php
David 29 Oct 2005
- added an optional command_line argument to create_work().
Lets you create workunits with different command lines
without having to use different workunit template files
tools/
backend_lib.C,h
David 30 Oct 2005
- restore report_app_status() to API
api/
boinc_api.C
David 31 Oct 2005
- Add a sched config entry <fp_benchmark_weight> (0..1)
that specifies the weight given to the
floating-point (Whetstone) benchmark in credit calculations.
Projects should set this to the fraction of their
arithmetic operations that are floating-point.
I also checked in a script, credit_study.php,
that samples various values for fp_benchmark_weight
and computes the variance in claimed credit that each one produces
(based on results currently in the DB).
Use the lowest one.
html/ops/
credit_study.php
sched/
handle_request.C
sched_config.C,h
David 1 Nov 2005
- Addendum to yesterday's checkin.
It turns out that, on average, the int benchmark
is twice the FP benchmark.
So if a project were to set its fp_benchmark_weight to 1,
the average credit per CPU second would decrease by 1/3.
Similarly it would increase if fp_benchmark_weight were 0.
To fix this, I added a scaling factor that maintains a
constant average credit per CPU second
(the same average as the current 50/50 weighting)
regardless of fp_benchmark_weight.
- relax Curl timeout parameters; apparently some users going through
proxies were geting consistent timeout.
client/
http_curl.C
sched/
handle_request.C
Charlie 1 Nov 2005
- Mac: Augment David's security change of 13 Oct for BOINC Manager.
Because Manager has set-uid bit, it always runs with owner as
effective user, so any logged-in user could attach to a rogue
project using BOINC Manager. If logged-in user is not owner, we
now invokes Mac OS's authorization dialog to requires administrator
password to attach to projects. The Mac OS automatically localizes
this dialog for us.
clientgui/
MainFrame.cpp
Mac_GUI.cpp (new)
MacGUI.pch
mac_build/
boinc.pbproj/
project.pbxproj
Rom 2 Nov 2005
- Catch exceptions thrown by the STL library when vectors may not contain
the requested data. For some reason the list views are trying to
populate themselves with data during a connection cycle which means
the various tabs cache's are empty. We now just return an empty string
in this condition. This should clean up a few crash conditions on
platforms other than Windows.
clientgui/
BOINCBaseView.cpp
MainFrame.cpp
ViewProjects.cpp
ViewResources.cpp
ViewTransfers.cpp
ViewWork.cpp
David 2 Nov 2005
- core client: fix bad formula for computing CPU time remaining
client/
app.C,h
David 2 Nov 2005
- user web: the line
$profile->verification = 0;
in profile.inc prevented anyone from creating a new profile
with a picture.
This is because the $profile argument process_create_result()
is null iff it's a new profile.
The above assignment makes $profile not null,
which screws up the logic.
(from David Kim)
html/inc/
profile.inc
David 2 Nov 2005
- Manager: don't show upload progress > 100%
clientgui/
ViewTransfers.cpp
David 2 Nov 2005
- API: replace boinc_fpops_per_cpu_sec(double fp) with
boinc_ops_per_cpu_sec(double fp, double integer),
and similarly for boinc_fpops_cumulative().
Some apps (like PrimeGrid) do mostly integer.
- corresponding changes to core client and scheduler
api/
boinc_api.C,h
client/
app_control.C
client_types.C,h
db/
boinc_db.h
sched/
handle_request.C
server_types.C
Charlie 3 Nov 2005
- Fix numerous compiler warnings.
api/
gutil.C
clientgui/
AccountManagerProcessingPage.cpp
BOINCTaskBar.cpp
MainFrame.cpp
ProjectProcessingPage.cpp
ViewStatistics.cpp
WizardAccountManager.cpp
WizardAttachProject.cpp
mac/
MacSysMenu.cpp
David 4 Nov 2005
- core client: close the descriptor returned by mkstemp().
This prevented the file from being deleted later.
client/
http_curl.C
Rom 7 Nov 2005
- Another round of sting cleanup.
clientgui/
AccountInfo.cpp, .h
AccountManagerPropertiesPage.cpp
MainFrame.cpp
NotFoundPage.cpp, .h
locale/client/en_US/
BOINC Manager.po
BOINC Manager.mo
Rom 7 Nov 2005
- Use GlobalMemoryStatusEx instead of GlobalMemoryStatus so that
we can detect memory sizes larger than 4GB in size.
client/win/
hostinfo_win.cpp
Rom 7 Nov 2005 (stable)
- Tag for 5.2.7 release, all platforms
boinc_core_release_5_2_7
Charlie 7 nov 2005
- Mac: update scripts to be compatible with XCode 2.1 as well as 1.x.
mac_build/
boinc.pbproj/
project.pbxproj
mac_installer/
release_boinc.sh
Rom 8 Nov 2005
- Set the result state to RESULT_COMPUTE_ERROR for an aborted result
otherwise the CPU scheduler will just attempt to reassign it
to a free CPU.
- Convert some commented out trace statements into scoped messages
client/
app_control.C
app_start.C
cs_apps.C
David 9 Nov 2005
- Core client: every 2 weeks, contact the BOINC web site,
see if there's a newer version, and print a message if so.
Only do this while a scheduler RPC is happening
(to avoid unnecessary dialups, e.g.)
- Core client: if a scheduler returns a new host ID
(indicating that our statefile was copied from another host)
generate a new host CPID
(suggested by Rob Oglivie)
client/
acct_setup.C,h
client_state.C,h
cs_benchmark.C
cs_scheduler.C
cs_statefile.C
file_names.h
scheduler_op.C
Charlie 11 nov 2005
- Update BOINC Manager web page
doc/
manager.php
mgrtransfers.png
mgrdisk.png
mgrmessages.png
mgrstatistics.png
mgrprojects.png
mgrwork.png
mgrsystraymenu.png
David 11 Nov 05
- Core client: when do a "get newer version" RPC,
save the results in the client state file.
- Add GUI RPC for getting the newer version number.
client/
acct_setup.C
client_state.h
cs_statefile.C
gui_rpc_server_ops.C
lib/
gui_rpc_client.h
gui_rpc_client_ops.C
David 12 Nov 2005
- typo fix
client/
cs_statefile.C
David 12 Nov 2005
- add "venue" to acct mgr RPCs
html/user/
am_get_info.php
am_set_info.php
David 13 Nov 2005
- fix compile warnings
lib/
crypt.C
David 13 Nov 2005
- Manager: initialize buffer when read password from file
clientgui/
MainDocument.cpp
David 14 Nov 2005
- the show_user.php web RPC now returns
CPIDs, host CPIDs, default venue, and host venues
- added new rpc, am_set_host_info.php, for setting host venue
See http://boinc.berkeley.edu/web_rpc.php
html/
inc/
xml.inc
user/
am_set_host_info.php (new)
Rom 14 Nov 2005
- Bug Fix: Force a refresh of the statistics window on a resize event.
- Bug Fix: Prepopulate the password box on the Select Computer dialog
when the participant types in localhost for the computer name.
- Bug Fix: Try and make the options dialog automatically adjust it's size
by removing the specific sizes put in for wxWidgets 2.4.x
clientgui/
BOINCGUI.pjd
DlgSelectComputer.cpp, .h
DlgOptions.cpp
MainDocument.cpp, .h
MainFrame.cpp
ViewStatistics.cpp, .h
Janus 16 Nov 2005
- Team search is a substring search rather than prefix search now.
html/user/
team.php
team_lookup.php
Charlie 17 Nov 2005
- Mac: fix stutter in screen saver scrolling text.
clientgui/
mac/
mac_saver_module.cpp
Charlie 18 Nov 2005
- Fix compiler warning (unused variable)
client/
acct_setup.C
Charlie 19 Nov 2005
Updated information for Mac clients on web site.
doc/
bare_core.php
mac_advanced.php
screensaver.php
David 20 Nov 2005
- Scheduling server: change log printfs to write client
version numbers as maj.min.release
sched/
handle_request.C
David 20 Nov 2005
- lookup account web RPC:
If user's passwd_hash is empty, initialize it based on account key
(from Bruce Allen)
html/user/
lookup_account.php
Bruce 20 Nov 2005
- user ops page now shows passwd_hash and a bit of other info.
html/
inc/
db_ops.inc
Rom 21 Nov 2005
- Remove the alert block of code in MainDocument.cpp since it is
now dead code anyway.
clientgui/
MainDocument.cpp
Rom 21 Nov 2005
- Remove duplicate call to scheduler_rpc_poll in
CLIENT_STATE::poll_slow_events().
client/
client_state.C
Rom 21 Nov 2005
- Dump all status messages in the core client out to the debugger output
window to help those debugging on Windows know what is going on
without having to open up the log files.
- Fix a couple of build breaks related to Eric's checkin this morning.
client/
acct_mgr.C
acct_setup.C
gui_http.C
main.C
David 22 Nov 2005
- user web: bug fix in host merge
html/user/
host_edit_action.php
David 22 Nov 2005
- core client: fix bug where only 1 app would have its disk space
check against limit.
Also, do the check every 5 min instead of 1 min
(from Walt Gribben)
client/
app_control.C
David 22 Nov 2005
- Web RPC: add <create_time> and <rpc_seqno> to the host entries
returned by show_user.php XML version
html/inc/
xml.inc
Janus 24 Nov 2005
- Moved some layout information out of the HTML forum files and into
the CSS file. This allows for far more flexibility when defining a
custom layout and colourscheme for the forums.
You should even be able to use nice background images for the bars etc.
Theoretically all or most layout information should be outside
the HTML instead of hardcoded into it...
- Fixed an issue where sometimes the bottom options displayed for each
post would move up into the post (when not enough text was present).
The text is now centered instead and the bottom options stays where
they are.
- Fixed an issue with some foreign characters being turned into random
gibberish in the forums (htmlentities() turned into html_special_chars())
- Added support for only displaying the last Y posts when there are
more than X posts in a thread (for low-bandwidth users)
- Added a way to configure the above X and Y (through forum prefs)
- Added the needed DB update query to db_update in ops.
html/
ops/
db_update.php
inc/
forum.inc
text_transform.inc
user/
forum_thread.php
white.css
edit_forum_preferences_form.php
edit_forum_preferences_action.php
David 24 Nov 2005
- Manager: improvements to Statistics tab
clientgui/
ViewStatistics.cpp
David 25 Nov 2005
- Fixed measurements of network bandwidth:
- Do measurements only while file transfers are active,
not scheduler or other RPCs.
Move the up_active and down_active flags from
NET_XFER_SET to FILE_XFER_SET.
- use a decay of 1 hour instead of 24
- reset delta_t and delta_nbytes after using them
client/
client_state.C
file_xfer.C,h
net_stats.C,h
net_xfer_curl.C,h
David 25 Nov 2005
- Core client: if we're currently using an account manager
(i.e. if we have URL/name/passwd)
then automatically make another RPC periodically.
The RPC manager reply can specify the interval
until the next RPC; the default is 1 day
(see http://boinc.berkeley.edu/acct_mgt.php)
- Account Manager RPC:
- add "host_cpid" argument, so the manager knows
what host this request is from.
- add optional <run_mode> in account manager reply
(always/never/auto)
- add optional <suspend> element in <account>,
so users can suspend/resume projects via acct mgr
client/
acct_mgr.C,h
client_state.C
client_types.h
gui_rpc_server_ops.C
Rom 25 Nov 2005
- Bug Fix: Curses to Windows allowing more than one application
to open up a listening socket to a port. Sometimes the
manager was being directed to another application instead of
BOINC.
client/
gui_rpc_server.C, .h
Rom 25 Nov 2005
- Bug Fix: Somewhere along the lines we broke the automatic swapping
of ports and waiting until the timeout period to stop so that
people had time to handle the firewall prompts.
- Fix the debug and trace macros so that they'll work even for the
.C files when included in wxWidget binaries.
client/
MainDocument.cpp
lib/
diagnostics.h
gui_rpc_client.C
Rom 26 Nov 2005
- Bug Fix: We should not allow either wizard to be executed if the
manager is not even connected to the core client. This is
probably what was causing the massive number of people
hitting the proxy configuration page when either of the other
two bugs that were fixed today were hit.
- Bug Fix: Adjust the way the transition note is displayed so that
the wizard will be able to fit on a 640x480 display.
clientgui/
AccountInfoPage.cpp
MainFrame.cpp, .h
locale/en_US/
BOINC Manager.po
BOINC Manager.mo
Bruce 26 Nov 2005
- Sched fix from Walt Gribben: have scheduler defaults for disk
space prefs agree with web page. Bruce's note: this may require
further fixes for two cases. First, if the project prefs are
not the same as BOINC defaults. Second, if the user doesn't want
BOINC to leave any disk space free and on their web preference page
sets 'leave X bytes free' to zero, then this patch will assume they
mean 100MB. But I'm still applying the patch 'cause Walt says that
this is keeping lots of new users from getting work.
sched/
sched_send.C
David 26 Nov 2005
- Accound lookup web RPC: accept the account key as password
(regardless of value of passwd_hash in database)
html/user/
lookup_account.php
Rom 26 Nov 2005
- Bug Fix: Don't treat various forms of the local computer name as a
remote machine.
- Bug Fix: When any form of the local computer name is used
prepopulate the password field in the select computer dialog.
- Bug Fix: On connection failed messages provide an easy way to
retry the connection attempt.
clientgui/
BOINCTaskBar.cpp
DlgSelectComputer.cpp
MainDocument.cpp, .h
MainFrame.cpp, .h
ViewWork.cpp
Janus 28 Nov 2005
- Small fix to the Nov 24 checkin so that the user-specified ordering of
posts in a thread is taken into consideration when displaying the last
X posts.
/html/inc
forum.inc
David 27 Nov 2005
- pass core client version number in account manager RPC
client/
acct_mgr.C
David 27 Nov 2005
- Manager: more improvements to the Statistics tab
(from Mifistor)
- Account manager: don't try RPC every second
client/
acct_mgr.C
clientgui/
Events.h
ViewStatistics.cpp,h
Rom 28 Nov 2005
- Bug Fix: Fix the URL validator so that it won't modify the user
specified text when there is an error
- Bug Fix: Validation does not occur when the back button is pressed
in the wizards
- Bug Fix: GUI RPC: Return an error if the authenticator is null
- Hitting the cancel button in the wizard only brings up a confirmation
dialog, if the user confirms the wizard is terminated instead of
forwarding them to the final wizard page.
client/
gui_rpc_server_ops.C
clientgui/
MainFrame.cpp
ValidateURL.cpp
WelcomePage.cpp
WizardAccountManager.cpp
WizardAttachProject.cpp
wizardex.cpp
Rom 28 Nov 2005
- Bug Fix: The manager needs to wait until after the core client has
opened up the listening socket before attempting to read the
password file.
clientgui/
MainDocument.cpp, .h
MainFrame.cpp
Bruce 29 Nov 2005
- Bug fix (from Walt Gribben). Don't allow the min free space
preference to be less than 1MB.
sched/
sched_send.C
Rom 28 Nov 2005
- Bug Fix: Like a Phoenix rise from the ashes, so to the return of
the proxy info page for both wizards.
clientgui/
AccountManagerPropertiesPage.cpp
BOINCWizards.h
ProjectPropertiesPage.cpp
ProxyInfoPage.cpp, .h (Added)
WizardAccountManager.cpp, .h
WizardAttachProject.cpp, .h
Charlie 29 Nov 2005
- Mac: Add new files clientgui/ProxyInfoPage.cpp,
clientgui/ProxyInfoPage.h to XCode project.
mac_build/
boinc.pbproj/
project.pbxproj
David 30 Nov 2005
- scheduler, homogeneous redundancy part:
if we get a request from a client that's not one of
the known CPU/OS combinations, don't sent it work.
This will prevent the shared-memory segment from
filling up with hard-to-send results
(for Predictor@home)
- core client: if an app's non_cpu_intensive flag changes value,
request a CPU rescheduling (for Folding@home)
sched/
sched_array.C
sched_hr.C,h
sched_send.C
server_types.h
Eric K. 30 Nov 2005
- minor mods to allow BOINC applications to compile under MINGW.
lib/
boinc_win.h
diagnostics.C
diagnostics.h
util.C
stackwalker_win.h
api/
boinc_gl.h
gutil.h
David 30 Nov 2005
- core client: add -detach option (Windows).
Runs completely detached from the console.
This allows users who can't start it as a service
to be able to run boinc.exe "invisibly".
(from David Goodenough)
client/
client_state.C,h
cs_cmdline.C
main.C
Charlie 1 Dec 2005
- Mac XCode project: fix absolute path to Mac_GUI.cpp; fix bug in
shell script to run SetVersion when path contains a space.
mac_build/
boinc.pbproj/
project.pbxproj
David 1 Dec 2005
- core client: skip aborted results in round-robin simulation
(from John McLeod)
client/
cs_scheduler.C
David 1 Dec 2005
- core client: don't make all tasks non-CPU-intensive
(from John McLeod)
client/
app_control.C
David 2 Dec 2005
- A bunch of changes to make the core client work on OS/2
Also a couple of small bug fixes.
(from Yuri Dario).
Note: this is done using #define __EMX__
(apparently that's a symbol defined in OS/2 compiles).
This goes against our convention of using configure,
but it looks like OS/2 is sufficiently different (like Windows)
so that this is the easiest way to do it.
Anyway, changes are fairly limited.
api/
boinc_api.C
client/
app_start.C
gui_rpc_server.C,h
hostinfo_unix.C
http_curl.C
main.C
net_xfer_curl.C
win/
opt_x86cpu.cpp
os2/ (the following are new)
COPYING
ReadMe.txt
boinc.ico
boinc.ih
boinc.wis
boinc1.ico
boinc_attach.cmd
boinc_client.ico
configure.os2
setup.cmd
lib/
diagnostics.C
filesys.C
gui_rpc_client.C
shmem.C
zip/zip/unix/
Makefile
David 2 Dec 2005
- compile fix
cliengui/
DlgSelectComputer.cpp
David 2 Dec 2005
- compile fix for 64-bit machines
lib/
shmem.C
Rom 4 Dec 2005
- Bug Fix: Verify we are actually talking with a BOINC core client
before declaring a connection successful.
client/
gui_rpc_server_ops.C
lib/
gui_rpc_client.C, .h
gui_rpc_client_ops.C
David 4 Dec 2005
- web: Make some text on account-create form translatable
- web: when showing list of hosts, don't show hosts
idle for > 30 days (but provide a link for showing them)
html/
languages/translations/
en.po
user/
create_account_form.php
hosts_user.php
David 4 Dec 2005
- Manager: if a result's project is suspended,
show this in work tab
- core client: use full BOINC version # in HTTP request header
client/
http_curl.C
clientgui/
ViewWork.cpp
Charlie 5 Dec 2005
Add Mac uninstall instructions to ReadMe and web site.
doc/
mac_advanced.php
mac_installer/
ReadMe.rtf
David 5 Dec 2005
- core client: started to clean up ugly undergrad code
related to retry of scheduler RPCs and master file fetches.
Didn't get very far.
This whole area needs to be redone.
- removed debugging code related to the above
- eliminate possible race condition:
flag task as preempted-by-quit BEFORE telling it to quit
- Manager: compile fixes
client/
app_control.C
client_state.C,h
client_types.C
cs_cmdline.C
sc_scheduler.C
pers_file_xfer.C
scheduler_op.C,h
clientgui/
MainDocument.cpp,h
David 5 Dec 2005
- Improved messages
"Master file" -> "scheduler list"
client/
cs_apps.C
gui_rpc_server.C
net_xfer_curl.C
scheduler_op.C,h
Charlie 6 Dec 2005
- Mac: Fix crash bug launching core client when there is a space
character in the path to the BOINC Manager.
clientgui/
BOINCGUIApp.cpp
Bruce 7 Dec 2005
- Added a script that maintains a set of sanatized scheduler logs
for users, helpers, and admins to view on the web.
- A second script removes these log files if more than one week
old.
- The logs are 'sanatized' by removing IP addresses and authenticators.
- These scripts should be controlled by using the standard start/stop
scripts. To do this, make entries in config.xml. The files both
contain comments at the top detailing how to do this.
tools/
makelog.sh
cleanlogs.sh
Makefile.am
David 7 Dec 2005
- Manager: improvements to Statistics tab
- Account manager RPC:
added optional <detach/> element to projects in reply.
Lets the account manager tell client to detach from a project.
This replaces the previous semantics,
where the client detached from any project not in the reply.
client/
acct_mgr.C,h
clientgui/
ViewStatistics.cpp
Eric 8 Dec 2005
- New autoconf macro "BOINC_PLATFORM" to determine the BOINC platform
being targeted. This overrides the use of the autoconf target as the
BOINC platform. I recommend that people developing BOINC
applications use this macro as well in their autoconf scripts.
This macro can be overridden with the --with-boinc-platform=
option to configure.
Some of the platform modifications made in this script are...
= *-redhat-* -> *-pc-*
= *-*-*[0-9].[0-9] -> *-*-* (trailing version numbers are dropped)
= sparc-sun-solaris -> sparc64-sun-solaris when compiled as 64 bit
binary
= x86_64-*-linux-gnu -> i686-pc-linux-gnu when compiled as a 32 bit
binary
- New autoconf macro "BOINC_CHECK_CYGWIN" to give people who need to
modify their configure script to work with CYGWIN a place to do their
work. Right now the only thing done here is to check whether to use
the Windows GUI or X11. Graphical compiles under CYGWIN currently
do not function due to both __unix__ and _WIN32 being defined.
m4/
boinc_platform.m4
boinc_check_cygwin.m4
configure.ac
David 8 Dec 2005
- use libcurl's error strings instead of our own.
Also, don't use a default error code of 500.
Makes it look like there are server crashes when there aren't.
client/
acct_mgr.C
net_xfer_curl.C
David 8 Dec 2005
- Don't request CPU reschedule if a preempted process exits;
that's a redundant reschedule
- better messages on CPU reschedule
client/
app.h
app_control.C
gui_rpc_server_ops.C
David 9 Dec 2005
- Various changes to account manager handling in response
to conversation with GridRepublic.
Allowing operations (attach/detach/suspend/resume)
to be done from either web or GUI creates big
synchronization problems.
So we adopt the basic principle:
suspend/resume is done only from GUI;
attach/detach is done only from web.
- Account manager RPC is done by POST instead of GET;
arguments are now in XML,
and include a list of AM-attached projects
Note: you can access POST info from PHP as "php://input"
- remove suspend-related stuff from acct mgr reply
- debug the repeat_sec mechanism.
- Maintain project.attached_via_acct_mgr;
keeps track of whether this project was originally
attached in response to an account manager RPC,
or is identical to one such.
Don't allow such projects to be detached via GUI.
NOTE: if user tries to detach an acct-mgr-attached project,
the error message appears in the Messages tab.
It should appear as an error dialog.
client/
acct_mgr.C,h
client_state.h
client_types.C,h
cs_account.C
file_names.h
gui_http.C,h
gui_rpc_server_ops.C
David 9 Dec 2005
- Web: "modem"->"modem, ISDN or VPN"
- fix bug in host merge
html/
inc/
prefs.inc
user/
host_edit_action.php
Bruce 10 Dec 2005
- API: when app version number is shown in the title bar of
a graphics window, print it in the same format at the
client GUI, for example 4.29 rather than existing 429.
This is for consistency with line 506 of clientgui/ViewWork.cpp.
api/
graphics_impl.C
David 12 Dec 2005
- core client: add "-gui_rpc_port" command-line option:
specify port number for GUI RPC listening socket.
- boinc_cmd: allow hostname specification as host:port
- core client: if file size is less than 1 MB,
don't bother getting current file size from server
(just send whole file from the beginning)
- file upload handler:
don't bother reading key if we're not going to use it
client/
client_state.C,h
cs_cmdline.C
file_xfer.C
gui_rpc_server.C,h
lib/
boinc_cmd.C
gui_rpc_client.C,h
sched/
file_upload_handler.C
David 13 Dec 2005
- manager compile fix
- a bit of translation stuff
html/
inc/
team.inc
user.inc
languages/translations/
en.po
lib/
gui_rpc_client.h
David 13 Dec 2005
- Core client: the account manager password is now
stored and communicated in a hashed form
(hashed with the lower-cased account name)
client/
acct_mgr.C,h
gui_rpc_server_ops.C
Jeff 14 Dec 2005
- Enabled the file_upload_handler to be built as a FastCGI program.
sched/
file_upload_handler.C
Makefile.am
Bruce 14 Dec 2005
- Fix to script that cleans 'user-visible' scheduler logs, to prevent
it from inadvertently leaving old files hanging around.
tools/
cleanlogs.sh
David 15 Dec 2005
- Add a security mechanism that limits the damage if hackers
break into an account manager server or do a man-in-the-middle attack.
The attack: hackers break into an account manager and modify
it so that RPC replies include accounts on malicious projects.
The protection:
1) account manager replies now include a "signing key".
This is stored on the client in the account manager URL file.
2) If the client has a signing key for an account manager and
receives a different one, it ignores it and prints an error message.
3) Each account in an account manager reply includes a "URL signature",
which is the URL signed with the signing key.
The client ignores any URLs with missing or bad signatures.
Note: users who sign up with the account manager after it's hacked
are not protected by this
(same as for BOINC project code download protection).
client/
acct_mgr.C,h
lib/
crypt.C,h
crypt_prog.C
error_numbers.h
tools/
process_result_template.C
David 15 Dec 2005
- bug fixes for the above
client/
acct_mgr.C,h
Bruce 15 Dec 2005
- Made 'last scheduler contact' values a link to the posted server-side
scheduler logs. On projects that don't post logs, these links will
simply give a 'not found' error if the user clicks on them.
- On David's request, added the E@H 'server_status.php' page. Note that
this is not linked to from the sample project home page. It also contains
at least some E@H-specific stuff, but David promised to clean this up (:-).
html/
inc/
host.inc
user/
server_status.php [NEW FILE ADDED]
Eric K 15 Dec 2005
- Added autoconf macro AX_WINSOCK for identifying winsock libs and
headers for support of command line compiles. Adds new configure
command line option --with-winsock to enable winsock if necessary w
here alternative socket libraries (sys/socket.h) exist.
- Modified BOINC_CHECK_CYGWIN to call AX_WINSOCK.
- Modified boinc_getsockopt.m4 to get correct type when winsock is used.
- Modified AX_CHECK_GLUT to find correct libraries when compiling under
windows from command line.
m4/
ax_check_glut.m4
boinc_check_cygwin.m4
boinc_getsockopt.m4
ax_winsock.m4 [NEW FILE ADDED]
configure.ac
Bruce 15 Dec 2005
- Restrict list of top hosts to those with > 300 credits. This prevents
hosts that have done only one or two WU and have anomalously high
RAC values from heading the list.
html/
user/
top_hosts.php
Bruce 15 Dec 2005 [from Walt Gribben]
- Cleanup of parameters that define disk free space requirements.
Previously these were spread around in different places. Now
these are defined by some config.xml options that are used by
PHP pages and by the scheduler code. See a description in
doc/configuration.php.
doc/
configuration.php
html/
inc/
prefs.inc
sched/
sched_config.C
sched_config.h
sched_send.C
Bruce 15 Dec 2005
- To address some concerns about security, strip USER # from the
online scheduler logs. The only info that appears in these
online logs is then the HOSTID. If the user has chosen to hide
their hosts, then there is no way to figure out which user a
given hostid belongs to.
Note that this is exactly the same as the current approach of
displaying the results by hostid, but hiding the identity of the
user who owns a given host.
Also, increase default time for retaining logs to two weeks.
tools/
makelog.sh
cleanlogs.sh
David 17 Dec 2005
- core client: set close-on-exec flag of sockets and files so that they
don't get 'leaked' to applications
- moved server status page from ops/ to user/
- make_project: copy sample_project_status.php to project_status.php
html/
languages/translations/
en.po
ops/
server_status.php (moved to user/sample_server_status.php)
user/
eah_server_status.php (new; Einstein@home status page)
sample_server_status.php (new; see above)
sample_status.php (removed)
lib/
filesys.C
network.C
py/Boinc/
setup_project.py
David 18 Dec 2005
- compile fix: include config.h where needed
lib/
boinc_cmd.C
filesys.C
shmem.C
David 18 Dec 2005
- extend the am_set_info.php RPC to let you
change email address and password_hash.
html/
inc/
email.inc
user/
am_set_info.php
edit_email_action.php
Rom 19 Dec 2005
- Merge the account manager status dialog into the wizard and remove
the account manager status dialog.
- Bug Fix: Fix the extra connection validation code in the gui rpc
clients. the get_state rpc contained references to the old
client_version xml tags which were changed awhile back. The
manager used to display the CC version in the status bar.
clientgui/
AccountManagerStatusPage.cpp, .h (Added)
BOINCGUI.pjd
BOINCWizards.h
MainFrame.cpp
WizardAccountManager.cpp, .h
DlgAccountManagerStatus.cpp, .h (Removed)
lib/
gui_rpc_client.C
gui_rpc_client_ops.C
win_build/
boincmgr_curl.vcproj
Rom 19 Dec 2005 (HEAD)
- Tag for 5.3.3 release, all platforms
boinc_core_release_5_3_3
Rom 19 Dec 2005
- Checkin changes for the Grid Republic screen saver.
client/win/
boinc_ss.h
boinc_ss.rc
win_screensaver.cpp, .h
win_util.h
David 19 Dec 2005
- client/Makefile.am inexplicably had a -I ../win.
This cause the win version of config.h to get included,
wreaking havoc with Unix compiles.
It caused the HTTP errors I reported yesterday.
- fix bug in handling of non_cpu_intensive messages from app
client/
Makefile.am
app_control.C
David 19 Dec 2005
- End use of port 1043. This is occupied by Microsoft.
Use port 31416 instead.
- Remove client_time GIU RPC, is_port_available().
client/
gui_rpc_server.C,h
gui_rpc_server_ops.C
lib/
gui_rpc_client.C,h
gui_rpc_client_ops.C
Bruce 20 Dec 2005
- Make update_versions touch ../reread_db to force the
feeder to notice new app versions.
tools/
update_versions
David 20 Dec 2005
- compile fixes for Mac OS 10.4 (from Derek Wright)
lib/
network.C,h
David 21 Dec 2005
- added -command_line argument to create_work program.
(achieves parity with the create_work() function)
tools/
create_work.C
David 21 Dec 2005
- small web fix (from Jens)
html/user/
hosts_user.php
David 21 Dec 2005
- core client: attempt to increase the atomicity of state file write.
Old: write to a FILE.
Return values of printf() not checked -
if run out of disk space, not detected.
No flushing or synching at end -
if power failure or crash, indeterminate result.
New: write to a MFILE (memory-buffered file).
Changed MFILE::flush() to that it:
- checks return value of fwrite() (catch disk-full error)
- calls fflush(f) (to write user-level buffer to OS)
- calls fsync(fileno(f)) (to flush data from OS to disk)
And call MFILE::flush() from MFILE::close().
client/
cs_statefile.C
lib/
error_numbers.h
mfile.C
util.C
Charlie 21 Dec 2005
-Mac: upgrade project for latest developer tools: XCode 2.2 and
wxMac-2.6.2 will soon be needed for MacIntel support; also
upgrade to use curl-7.15.1. Added scripts for building fat
(Universal Binary) libraries of wxMac-2.6.2, curl-7.15.1 and
jpeg-6b, and a new XCode project bundle boinc.xcodeproj. At this
time, I have successfully built the powerpc implementation of
BOINC using these tools, but more work needs to be done.
mac_build/
boinc.xcodeproj/ (new)
project.pbxproj (new)
setupForBOINC.sh (new)
buildjpeg.sh (new)
buildcurl.sh (new)
buildWxMac.sh (new)
David 22 Dec 2005
- user web: translation fixes
html/inc/
user.inc
team.inc
Bruce 22 Dec 2005
- compile fix to create_work.C
- Einstein@Home-specific hack to the locality scheduler. For new
WU, I need to separate two types of 'sticky/report on RPC' files.
One type is used for WU names of the form FILE__ and the others
are auxilliary. David, after I've talked with you I'll either
generalize this notion or we can eliminate it.
tools/
create_work.C
sched/
server_types.h
sched_locality.C
Rom 22 Dec 2005
- Fix up the File Properties for each application and dll that is
going to be included in the GridRepublic client.
- Create a GridRepublic solution file.
client/win/
boinc_cli.rc
boinc_cmd.rc
boinc_dll.rc
boinc_ss.h
boinc_ss.rc
win_screensaver.cpp, .h
client/win/res/
boinc.bmp
clientgui/
BOINCGUIApp.rc
win_build/
gr_boinc_cli_curl.vcproj
gr_boinc_dll.vcproj
gr_boinc_ss.vcproj
gr_boinccmd.vcproj
gr_boincmgr_curl.vcproj
GridRepublic.sln
David 23 Dec 2005
- user web: single "stay logged in" checkbox on login form
html/inc/
util.inC
David 23 Dec 2005
- Change the network suspend/resume logic so that the
"idle while user active" and "idle if on batteries"
preferences are ignored for 5 minutes GUI RPCs.
This means that if the user has one of these preferences,
and attaches to a project,
they'll generally get the initial result download
from the project before the network is suspended.
Implementing this required a moderate change;
bool activities_suspended
suspend_activities()
resume_activities()
(which covered both CPU and network) are replaced by
bool tasks_suspended
suspend_tasks()
resume_tasks()
(which covers only CPU)
client/
client_state.C,h
cs_benchmark.C
cs_files.C
cs_prefs.C
cs_scheduler.C
gui_rpc_server.C,h
gui_rpc_server_ops.C
ss_logic.C
David 24 Dec 2005
- amended yesterday's changes so that only user-initiated RPCs
(e.g. to attach/detach/suspend/resume a project or result) are counted.
Otherwise the preferences would never kick in.
client/
gui_rpc_server.C,h
gui_rpc_server_ops.C
Bruce 26 Dec 2005
- Modified the pages to search users and profiles so that the results
display a bit more info about the users (date joined project, country,
total credit, RAC)..
- Added sort ability on user fields. Limit database stress by requiring
at least three characters of search string.
- To-do: add similar functionality for profile search
html/
user/
user_search_action.php
profile_search_action.php
Rom 28 Dec 2005
- Brand the BOINC Manager for GridRepublic
clientgui/
BOINCGUI.pjd
BOINCGUIApp.cpp, .h
BOINCTaskBar.cpp, .h
DlgAbout.cpp, .h
hyperlink.cpp
MainDocument.cpp
MainFrame.cpp, .h
BOINCGUIApp.xpm (Removed)
Rom 28 Dec 2005 (HEAD)
- Tag for 5.3.6 release, all platforms
boinc_core_release_5_3_6
David 28 Dec 2005
- core client: don't print erroneous messages on update project
client/
gui_rpc_server_ops.C
David 28 Dec 2005
- core client: avoid divide by zero error if no projects
(from Steven Schweda)
client/
cs_apps.C
David 28 Dec 2005
- support alpha/TRU64 in hostinfo code
(from Steven Schweda)
client/
hostinfo_unix.C
David 28 Dec 2005
- core client: bug caused most GUI RPCs to fail
client/
gui_rpc_server_ops.C
David 28 Dec 2005
- fix logic typo
client/
client_state.C
David 29 Dec 2005
- add <guid> elements to RSS items and make the <link>s unique.
Apparently this is needed by some RSS readers.
NOTE: for this to take effect,
project will need to check out the following files,
then rename sample_rss_main.php to rss_main.php
html/
inc/
news.inc
user/
sample_rss_main.php
Bruce 30 Dec 2005
- Nasty bug fix to sched. escape_string() replaces \ by \\ and
' by \'. This makes the string longer. To guarantee that the
resulting longer string does not overflow storage, escape_string()
uses safe_strncpy() to copy the longer string back. But this
is too heavy-handed, since safe_strncpy() will blindly truncate
the string. Thus it might clobber \\ into \ or \' into \ which
causes trouble.
David, Rom, please double-check my changes, since escape_string()
is used all over the place.
db/
db_base.C
|