checkin_notes 52.9 KB
Newer Older
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
David  Jan 2 2009
    - added a script to make profile.has_picture consistent
        with the images actually on disk

    html/ops/
       repair_profile_pictures.php 

David  Jan 2 2009
    - client: more work-fetch stuff.
        No more per-project shortfall.
        It's getting pretty close.

    client/
        client_state.cpp
        client_types.cpp,h
        cs_scheduler.cpp
        rr_sim.cpp
        scheduler_op.cpp
        work_fetch.cpp,h
    lib/
        coproc.cpp,h

Janus   Jan 6 2009
    - Various translation fixes
    - Added Danish web interface translation
    - Added some Danish translation texts to the client translation file    
    - Added Finnish web interface translation (contributed by ORE)

    html/
    inc/
        user.inc
    user/
        info.php
    languages/translations
        da.po (fully rewritten)
        fi.po (new)
    locales/da
    BOINC-Manager.po

Charlie Jan 6 2009
    - client: preserve ownership when copying files to slot directory. Fixes
        a problem with Enigma@home which uses the <copy_file/> tag.

    lib/
        filesys.cpp

Rom    7 Jan 2009
    - Fix build environment so that it can build the client again
      (From Nicols Alvarez)
      
    /
        configure.ac
        Makefile.am
    sea/
        make-tar.sh
        make-tar_debug.sh

David  7 Jan 2009
    - get_project_config: don't send error text if no terms_of_use.txt
    - client: compute and store project work-fetch attributes
        fixes #820

    client/
        client_state.h
        work_fetch.h,cpp
    html/user/
        get_project_config.php

Charlie Jan 6 2009
    - client: fix compiler warnings (formats didn't match data).

    client/
        work_fetch.cpp

David  9 Jan 2009
    - client: connected_frac -1 is OK; fixes #821

    client/
        time_stats.cpp

David  9 Jan 2009
    - scheduler: add support for resource-specific scheduler requests:
        - parse new request message elements
            (CPU and coproc requested seconds and instances)
        - decide how many jobs to send based on these params
        - select app version based on these params
            (may send both CPU and CUDA app versions for the same app!)

    lib/
        coproc.cpp
    sched/
        handle_request.cpp
        main.cpp,h
        sched_plan.cpp
        sched_send.cpp
        server_types.cpp,h

David  9 Jan 2009
    - client: debugging CUDA-related stuff
    - client: if reset a project, clear its overall and per-resource backoffs

    client/
        client_state.cpp
        client_types.cpp
        cs_scheduler.cpp
        rr_sim.cpp
        scheduler_op.cpp
        sim.h
        work_fetch.cpp,h
    lib/
        coproc.cpp

Charlie Jan 10 2009
    - Mac: Fix build scripts for new locale source directory layout.
    
    mac_installer/
        release_GridRepublic.sh
        release_boinc.sh

David  Jan 10 2009
    - client: work_req_seconds is CPU req, not max(CPU req, CUDA req).
        In order to work with the 6.7 client,
        projects with both CUDA and CPU jobs must use the newest scheduler code.

    client/
        work_fetch.cpp

David  Jan 11 2009
    - scheduler: if a Windows host has a GPU slower than 60 GFLOPS,
        don't send it CUDA jobs (they may cause BSOD);
        send user a message to this effect

    sched/
        sched_plan.cpp
        sched_send.cpp
        server_types.h

David  Jan 12 2009
    - lib: check return values of RSA_*() functions.
        Also fix a memory leak, missing RSA_free().
        Fixes #823.

    lib/
        crypt.cpp
        error_numbers.h
        str_util.cpp

Rom    12 Jan 2009
    - WINSETUP: Update custom actions in case the goofy setup
        problems are related to old custom actions.  I don't
        really think this is it, but i'm running out of ideas.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

David  12 Jan 2009
    - web: add Eric's script for forum RSS

    html/user/
        forum_rss.php

David  12 Jan 2009
    - scheduler, file upload handler: fix server runtime message in FCGI case

    sched/
        file_upload_handler.cpp
        handle_request.cpp
        main.cpp
        sched_util.cpp,h
        server_types.cpp

David  12 Jan 2009
    - scheduler: initialize COPROC fields

    lib/
        coproc.cpp

David  12 Jan 2009
    - scheduler: if we're not sending work because of the user's "no GPUs" pref,
        tell them so.
    - scheduler: fix bug that caused no CUDA jobs to be sent

    lib/
        coproc.cpp,h
        common_defs.h
    sched/
        handle_request.cpp
        sched_send.cpp
        sched_plan.cpp
        server_types.h

David  12 Jan 2009
    - scheduler: bug fixes

    sched/
        handle_request.cpp
        sched_send.cpp

David  12 Jan 2009
    - scheduler: bug fixes

    sched/
        sched_plan.cpp

David  13 Jan 2009
    - GUI RPC: add the following items to PROJECT_CONFIG
        (corresponding to the get_project_config.php web RPC):
        - platforms: list of platforms supported by the project
        - sched_stopped: scheduler disabled
        - web_stopped: DB-driven web features disabled
        - min_client_version
    - GUI RPC: add the following items to CC_STATE:
        - platforms: list of platforms supported by the client
            (this replaces the unused <platform_name>)
    - GUI RPC: add the following items to PROJECT_LIST_ENTRY
        (entry in the "all projects" list):
        - platforms: list of platforms supported by the project
    - GUI RPC: move APP_VERSION pointer from WORKUNIT to RESULT;
        include plan class in APP_VERSION lookup.
        This completes the change of March 2008,
        and allows the Manager to work correctly when a project
        has two different app versions of the same (app, platform, version)
        running on a client at once (e.g., a CPU and a GPU app)
    - get_project_config.php: remove logic that checks client version.
        This page is accessed by PHP, not just by client
    - web: add link to forum page to get forum as RSS

    client/
        cs_statefile.cpp
    clientgui/
        DlgItemProperties.cpp
        MainDocument.cpp
        ViewWork.cpp
        sg_ViewTabPage.cpp
    html/user/
        get_project_config.php
        forum_rss.php
        forum_forum.php
        img/feed_logo.png (new)
    lib/
        gui_rpc_client_ops.cpp
        gui_rpc_client.h

David  13 Jan 2009
    - client: GPU bug fix; compile warning fixes

    client/
        client_types.cpp
    clientgui/
        BOINCTaskBar.cpp
    lib/
        filesys.cpp
        parse.cpp

David  13 Jan 2009
    - GUI RPC: finish the changed started above;
        update the way that app versions are identified.

    Old: WORKUNIT contains version_num
        RESULT contains app_version_num (but only if running)

    New: Keep old fields so new client works with old manager.
        RESULT contains version_num, plan_class
        Manager: if RESULT doesn't have version/plan_class
        (because talking to old client)
        look up app version based on WU version num.

    clientgui/
        BOINCTaskBar.cpp
        sg_ViewTabPage.cpp
        MainDocument.cpp
        DlgItemProperties.cpp
        ViewWork.cpp
    lib/
        gui_rpc_client_ops.cpp
        gui_rpc_client.h
        
Eric   13 Jan 2009
    - STILL WORK TO BE DONE TO GET locale STUFF INSTALLED PROPERLY!!!
    - Update to libtool 1.5.24
    - build environment:  Major automake changes that I've been warning about
      for some time.
    - Now uses libtool to build libraries.
    - Builds separate boinc_fcgi and sched_fcgi libraries for use with 
      FCGI server components.
    - New macro "BOINC_CHECK_LIB_WITH" that executes a "AC_CHECK_LIB" on
      a library only if --with-libname[=DIR] is specified on the configure
      command line.  This is to allow inclusion of libraries when the 
      ssl, gtk, wxWidgets, or other configuration is incorrect for static
      libraries.
    - Added a lot of "--with-*" for some libraries that might be required for
      static builds.
    - The sea directory has been moved to packages/generic.  Changes to sea
      and the associated scripts might be required to better make use of the
      staging mechanism and shared libraries.
    - Fixed includes of boinc_fcgi.h in many files.
    - Fixed places where FCGI_FILE needs to be used implicitly.
    - Fixed missing define of _SC_PAGESIZE on hosts that define only
      _SC_PAGE_SIZE.
    - Moved build of boinc_cmd (and source file) from lib to client
    

  ltmain.sh
  config.guess
  config.sub
  Makefile.incl
  m4/
      sah_check_lib.m4
      check_ssl.m4
      boinc_gtk.m4 (new)
      boinc_check_lib_with.m4 (new)
      libcurl.m4
      boinc_wxwidgets.m4
  sea/ (moved to packages/generic/sea)
  packages/ (new)
      generic/ (new)
          sea/ (new)
        Makefile.am
  client/
      Makefile.am
      hostinfo_unix.cpp
  sched/
      edf_sim.cpp
      sched_shmem.h
      sched_msgs.h
      sched_msgs.cpp
      sched_send.cpp
      handle_resuest.cpp
      file_upload_handler.cpp
      main.cpp
      sched_assign.cpp
      Makefile.am
  lib/
      boinc_cmd.cpp (moved to client)
      diagnostics.cpp
      prefs.cpp
      msg_log.h
      cert_sig.cpp
      Makefile.am
  zip/
      Makefile.am
  samples/
      example_app/
          Makefile
  api/
      Makefile.am
  clientgui/
      Makefile.am
  tools/
      backend_lib.cpp
      Makefile.am
  doc/
      manpages/
          Makefile.am

David  13 Jan 2009
    - client/manager fixes

    client/
        client_types.cpp
    lib/
        gui_rpc_client_ops.cpp
        gui_rpc_client.h

David  14 Jan 2009
    - client: fix bug that caused estimated time to completion to increase
        while processing suspended
        Fixes #825

    client/
        app_control.cpp

David  14 Jan 2009
    - client: clamp long term debts tp +- 1 week
    - client: fix CUDA debt calculation
    - client: don't accumulate debt if project->dont_request_more_work
    - client: improves messages

    client/
        rr_sim.cpp

Rom    15 Jan 2009
    - WINSETUP: Fix the problem introduced where Enable Application
        execution wasn't working.
        
    win_build/installerv2/
        BOINC.ism
        BOINCx64.ism

Rom    15 Jan 2009
    - MGR: Don't convert strings to ANSI juts to have to reconvert them
        back to Unicode.  Fix several help link issues.
        Fixes #826
        
    clientgui/
        AdvancedFrame.cpp
        DlgAdvPreferences.cpp
        sg_BoincSimpleGUI.cpp
        sg_DlgMessages.cpp
        sg_DlgPreferences.cpp
        sg_ProjectsComponent.cpp

David  15 Jan 2009
    - scheduler: improve message formatting; add <debug_locality> flag
        for locality scheduling messages

    lib/
        msg_log.cpp
    sched/
        *.cpp

David  15 Jan 2009
    - GUI RPC: add CUDA info to PROJECT struct
    - manager: display CUDA info in project properties page
    - manager: use struct assignment instead of copy() function

    client/
        boinc_cmd.cpp
    clientgui/
        AsyncRPC.cpp
        DlgItemProperties.cpp
    lib/
        gui_rpc_client_ops.cpp
        gui_rpc_client.h

David  15 Jan 2009
    - scheduler: remove clause in app_plan() that withholds jobs from slow GPUs.
        The SETI@home/CUDA app has been fixed so that it works on all GPUs.

    sched/
        sched_plan.cpp

Eric   15 Jan 2009
    - build:  Made static linkage of BOINC libraries the default for client,
      manager, and server components

    configure.ac
    tools/
        Makefile.am
    clientgui/
        Makefile.am
    client/
        Makefile.am
    samples/
        example_app/
        Makefile

Charlie Jan 15 2009
    - client: boinc_copy ownership fix of 1/6/09 didn't work because it used 
        system(cp ...) call, which invokes a shell, and POSIX specifies that 
        shells run from an application use the real UID and GID not the 
        effective UID and GID.  Under Mac Sandbox security, we need to use 
        the effective UID and GID.  Changed boinc_copy to copy file directly.
    - MGR: On Mac, fix problems showing Manager window when it was minimized 
        to Dock, especially if window was closed using Dock menu.
    - Mac: Fix XCode project for boinc_cmd.cpp moved to client/ from lib/.
    
    client/
        app_start.cpp
    clientgui/
        BOINCBaseFrame.cpp
        BOINCGUIApp.h
        BOINCTaskBar.cpp
    lib/
        filesys.cpp
    mac_build/
        boinc.xcodeproj/
            project.pbxproj

David  16 Jan 2009
    - client: remove limits on LTD.

    client/
        work_fetch.cpp

David  19 Jan 2009
    - scheduler: remove the config flag <have_cuda_apps>,
        and add <cuda_multiplier>.
        The latter is used in calculating max jobs/day for a host;
        namely, it's host.max_results_day * (NCPUS + NCUDA*cuda_multiplier).
        Set it to 10 or so if you have CUDA apps.
    - scheduler: don't overload effective_ncpus();
        instead, add two new functions,
        max_results_day_multiplier() and max_wus_in_progress_multiplier()
    - scheduler: don't reduce max_results_day if we get an aborted job
        (it might have been aborted by the project;
        not appopriate to punish host in this case)

    db/
        boinc_db.h
    sched/
        main.cpp
        sched_config.cpp,h
        sched_result.cpp
        server_types.h

David  20 Jan 2009
    - client: fix messages

    client/
        rr_sim.cpp
        work_fetch.cpp

David  20 Jan 2009
    - scheduler: improve no-work messages
    - web: don't use DB conn in mysql_real_escape_string()
        (otherwise won't work if DB is down)

    html/inc/
        boinc_db.inc
        db_conn.inc
    sched/
        sched_plan.cpp.h
        sched_send.cpp
        server_types.h

Charlie Jan 20 2009
    - Mac client: fix bug in build script so that curl-7.19.2 actually 
        does build with c-ares 1.6.0.  Fixes #830.
    
     mac_build/
        buildcurl.sh

David  21 Jan 2009
    - scheduler: accept CUDA version 1.0

    sched/
        sched_plan.cpp

David  21 Jan 2009
    - client: fetch work from non-CPU-intensive projects

    client/
        work_fetch.cpp,h

David  21 Jan 2009
    - client: compile fix, remove spurious message

    client/
        work_fetch.cpp,h

Rom    21 Jan 2009
    - MGR: Make sure the UI thread doesn't call a GUI RPC
        that uses the SET_LOCALE class.
        
    clientgui/
        BOINCClientManager.cpp

Charlie Jan 22 2009
    - MGR: fix compile error.
        
    clientgui/
        BOINCClientManager.cpp

David  22 Jan 2009
    - client: if an app has avg_ncpus < 1, run it at above-idle priority
        even if it doesn't use a coprocessor.
    - scheduler: added an "nci" (non CPU intensive) plan class
        to sched_plan.cpp.  It declares the use of 1% of a CPU.

    The above two changes are intended to allow the QCN app to
    run at above_idle priority, which it needs in order to do 500Hz polling.

    - API: the std::string version of boinc_resolve_filename()
        acts the same as the char[] version.

    client/
        app.cpp
        app_start.cpp
    lib/
        app_ipc.cpp
        gui_rpc_client.cpp
    sched/
        sched_plan.cpp

David  22 Jan 2009
    - web: when using adaptive replication, show a WU's instances
        if it has a canonical result, not if it's been assimilated
        (if the assimilator is not working, the latter causes
        WUs to be hidden longer than needed)

    html/user/
        workunit.php

David  22 Jan 2009
    - client: simplify message describing scheduler request;
        to get work request details, use <sched_op_debug>

    client/
        scheduler_op.cpp

Eric  22 Jan 2009
    - build: reordered compiler flags checking.
        Fixed problems with finding location of wx-config
        when running with cached configuration.
        Made sure to check ${prefix}/lib when looking for
        libGL, libGLU, and libglut.

    m4/
        boinc_wxwidgets.m4
        ax_check_glut.m4
        ax_check_glu.m4
        ax_check_gl.m4
        boinc_set_compile_flags.m4 

David  22 Jan 2009
    - client: when preempting a process, remove it from memory if:
        1) it uses a coprocessor
        2) it has checkpointed since the client started
        3) it's being preempted because of a user action
            (suspend job, project, or all processing)
            or user preference (time of day, computer in use)
    - scheduler: if shared mem seg doesn't exist,
        report it and don't crash

    client/
        app.h
        app_start.cpp
        app_control.cpp
        cpu_sched.cpp
    sched/
        main.cpp

Charlie Jan 22 2009
    - client sandbox: add details in switcher_exec "execv failed" message.
    - MGR: Work around bug in generic list control GetSelectedItemCount() 
        which caused incorrect update of buttons in Projects tab after 
        detching from a project; remove redundant UpdateSelection() call.
        
    client/
        sandbox.cpp
    clientgui/
        BOINCBaseView.cpp
        BOINCListCtrl.cpp,.h

David  23 Jan 2009
    - client: clear debts when reset project
    - client: respect work-fetch backoff for non-CPU-intensive projects
    - client: for non-CPU-intensive project, fetch new job
        if no currently running jobs
    - client: skip non-CPU-intensive projects in debt calculations
    - manager: show resource backoff times correctly

    client/
        app_control.cpp
        client_state.cpp
        client_types.cpp,h
        work_fetch.cpp,h
    clientgui/
        DlgItemProperties.cpp

David  23 Jan 2009
    - scheduler: for plan class "nci", set flops to CPU speed;
        this will give consistent completion time estimates for existing WUs.

    sched/
        sched_plan.cpp

David  23 Jan 2009
    - scheduler: fix spurious error message when using nci

    sched/
        sched_plan.cpp,h
        sched_send.cpp

David  23 Jan 2009
    - web: fix apps.php so that it knows about plan class

    html/user/
        apps.php

David  23 Jan 2009
    - API: possible compile fix for OS/2

    api/
        boinc_api.cpp

David  23 Jan 2009
    - scheduler: reduce frequency of calls to work_needed()

    sched/
        sched_array.cpp
        sched_send.app

David  23 Jan 2009
    - scheduler: make NCI app versions preferable to non-plan-class

    sched/
        sched_plan.cpp

David  23 Jan 2009
    - scheduler: if client can't do plan class, don't complain about old client

    sched/
        sched_send.cpp

Charlie Jan 23 2009
    - MGR: Remove override of GetSelectedItemCount() introduced yesterday;  
        instead, call DeleteItem() rather than SetItemCount() when number of 
        rows has been reduced, to allow virtual ListCtrl adjust its list of 
        selected rows (and thus keep its count in sync with reality.)
        
    clientgui/
        BOINCBaseView.cpp
        BOINCListCtrl.cpp,.h

David  23 Jan 2009
    - scheduler: initialize global

    sched/
        handle_request.cpp

David  23 Jan 2009
    - scheduler: if anonymous platform, ignore coprocessor requests
        (since anonymous platforms apps are treated as CPU)

    sched/
        sched_send.cpp
        server_types.h

Janus    25 Jan 2009
    - Fixed a major bug in the translation system which was causing a lot
      of people to receive the webpages in semi-random languages.
    - Added the ability for projects to decide whether they want the
      Q&A and Message Boards merged.

    html/
        inc/
        translation.inc
    user/
        forum_index.php
    project_sample/
        project.inc

David  25 Jan 2009
    - client: don't request work for a resource if it has no shortfall.
    - client and server: get rid of coproc_cuda global.

    client/
        client_state.cpp,h
        work_fetch.cpp,h
    lib/
        coproc.cpp,h
    sched/
        handle_request.cpp
        sched_send.cpp
        server_types.cpp,h

Rom    26 Jan 2009
    - MGR: Don't use wxT() to describe parameters passed to GUI RPCs.
    
    clientgui/
        BOINCClientManager.cpp

David  26 Jan 2009
    - client: if we're doing an RPC (for whatever reason)
        to a non-CPU-intensive project without a job, ask for one.

    client/
        work_fetch.cpp

Charlie Jan 26 2009
    - MGR: In CBOINCClientManager::StartupBOINCCore() allow time for Client
        to start up, to avoid repeated attempts which put spurious messages
        "Another instance Another instance of BOINC is running" in 
        stderrdae.txt.
        
    clientgui/
        BOINCClientManager.cpp

David  27 Jan 2009
    - client: change the LTD policy so that
        1) net adjustment for eligible projects is zero;
        2) max LTD is zero
    - scheduler: fix msgs so disk size is shown in GB

    client/
        work_fetch.cpp
    sched/
        sched_send.cpp

Eric K 27 Jan 2009
    - SEA:  Fixed problems building SEA
    - Manager:  Fixed missing includes when building manager on unix.
    
    configure.ac
    packages/
        generic/
            sea/
                Makefile.am
                make-tar.sh
    clientgui/
        BOINCClientManager.cpp


David  27 Jan 2009
    - scheduler: in get_app_version(), if we previously sent a CUDA app,
        but we don't need to send any more CUDA jobs,
        delete the BEST_APP_VERSION record and look for another app version.
        This lets the scheduler send both CUDA and CPU app versions
        for a given app in a single RPC.

    client/
        work_fetch.h
    sched/
        sched_send.cpp

David  27 Jan 2009
    - client: if we're making an RPC to a project because of user request,
        clear the resource backoff times so that we potentially
        can ask the project for work.

    client/
        cs_scheduler.cpp
        work_fetch.cpp

Eric K 27 Jan 2009
    - Manager: fixes to allow compilation on compilers that don't allow string
      concatenation within the _() macro.

    clientgui/
        WelcomePage.cpp
    ProxyInfoPage.cpp

David  27 Jan 2009
    - lib: comment out perror()s in connection code.

    lib/
        gui_rpc_client.cpp

David  27 Jan 2009
    - client: remove the "deadlines_missed" and "overworked"
        clauses from RSC_WORK_FETCH::choose_project()

    client/
        work_fetch.cpp,h

David  27 Jan 2009
    - scheduler: don't count host as reliable if avg_turnaround is zero
    - client: restore notion of overworked;
        if a project is overworked for a resource R,
        don't fetch work for R unless there are idle instances

    client/
        work_fetch.cpp,h
    sched/
        sched_send.cpp

David  28 Jan 2009
    - GUI RPC: the "get all projects" RPC now also returns account managers

    lib/
        gui_rpc_client_ops.cpp
        gui_rpc_client.h

Charlie Jan 28 2009
    - GUI RPC: Fix compiler warning (missing return value).

    lib/
        gui_rpc_client_ops.cpp

Rom    Jan 29 2009
    - MGR: Provide a way for skin creators to suppress error messages for
        missing resources.
        
    clientgui/
        SkinManager.cpp

Rom    Jan 29 2009
    - MGR: Save and Restore the last email address/user id used to attach
        to a project or account manager
    
    clientgui/
        AccountInfoPage.cpp

David  29 Jan 2009
    - web: anywhere we show info about a host, show its GPUs too
    - web: add script to parse GPU completed-job log
        and generate summary data;
        also add page to display this data.

    html/
        inc/
            host.inc
        ops/
            analyze_coproc_log.php
        user/
            hosts_user.php
            show_coproc.php

David  29 Jan 2009
    - client: if user requests RPC, do it even if project is backed off
    - manager: show backoff interval correctly

    client/
        cs_scheduler.cpp
        work_fetch.cpp
    clientgui/
        DlgItemProperties.cpp

David  29 Jan 2009
    - scheduler: get effective RAM sizes and running fraction just once

    sched/
        sched_send.cpp
        server_types.h

David  29 Jan 2009
    - client: update LTD correctly

    client/
        work_fetch.cpp

Rom    29 Jan 2009
    - MGR: Add a virtual list box to display available account managers.
    
    clientgui/
        AccountManagerInfoPage.cpp, .h
        AccountManagerProcessingPage.cpp
        AccountManagerPropertiesPage.cpp
        ProjectInfoPage.cpp, .h
        WizardAccountManager.cpp
    lib/
        gui_rpc_client_ops.cpp

Rom    29 Jan 2009
    - MGR: Filter project list so that it shows only projects supported
        by the core client.
        
    clientgui/
        ProjectInfoPage.cpp, .h

Charlie Jan 29 2009
    - MGR: call UpdateSelection() from OnListRender() instead of from 
        RestoreSelections().  Fixes #837.

    clientgui/
        BOINCBaseView.cpp

Charlie Jan 30 2009
    - MGR: Suppress Skin Manager error messages by default; enable them 
        only if the Manager is launched from the command line with an 
        argument -c or --checkskins.
        
    clientgui/
        BOINCGUIApp.cpp, .h
        SkinManager.cpp, .h

David  30 Jan 2009
    - Work fetch / scheduler:
        There are two mechanisms to prevent the scheduler from
        sending jobs that won't finish by their deadline.
        Simple mechanism:
            The client sends the interval x for which CPUs are projected
            to be saturated.
            Given a job with estimated duration y,
            the scheduler doesn't send it if x + y exceeds the delay bound.
            If it does send it, x is incremented by y.
        Complex mechanism:
            Client sends workload description.
            Scheduler does EDF simulation, sees if deadlines are missed.
            The only project using this AFAIK is BOINC alpha test.
        Neither of these mechanisms takes coprocessors into account,
        and as a result jobs could be sent that are doomed to
        miss their deadline.
        This checkin adds coprocessor awareness to the Simple mechanism.

        Changes:
        Client:
            compute estimated delay (i.e. time until non-saturation)
            for coprocessors as well as CPU.
            Send them in scheduler request as part of coproc descriptor.
        Scheduler:
            Keep track of estimated delays separately for different resources
    - client: fixed bug that computed CPU estimated delay incorrectly
    - client: the work request (req_secs) for a resource is the min
        of the project's share and the shortfall.

    client/
        cs_scheduler.cpp
        rr_sim.cpp
        work_fetch.cpp,h
    html/inc/
        translation.inc
    lib/
        coproc.cpp,h
    sched/
        sched_send.cpp
        server_types.cpp,h

David  30 Jan 2009
    - client: computation of # idle CUDA instances was wrong

    client/
        rr_sim.cpp

David  30 Jan 2009
    - scheduler: show message whether miss or meet deadline

    html/user/
        show_coproc.php
        top_users.php
    sched/
        sched_send.cpp

David  30 Jan 2009
    - client: tweak work fetch messages
    - client: buffer 2000 messages instead of 1000

    client/
        client_msgs.cpp
        work_fetch.cpp
    lib/
        coproc.cpp

David  30 Jan 2009
    - client: work fetch fixes

    client/
        work_fetch.cpp
        scheduler_op.cpp

David  31 Jan 2009
    - client: there was a problem with how the round simulator
        worked in the presence of coprocessors.
        The simulator maintained per-project queues of pending jobs.
        When a job finished (in the simulation) it would get
        one or more jobs from that project's pending queue.

        The problem: this could cause "holes" in the scheduling of GPUs,
        and produce an erroneous nonzero shortfall for GPUs,
        leading to infinite work fetch.

        The solution: maintain a separate (per-resource, not per--project)
        queue of pending coprocessor jobs.
        When a coprocessor job finishes,
        start pending jobs from the queue for that resource.

        Another change: the simulator did strict reservation of coprocessors.
        If there are 2 instances of CUDA,
        and a 1-instance job is running in the simulation,
        it wouldn't start an additional 2-instance job.
        This also can cause erroneous nonzero shortfalls.

        So instead, schedule coprocessors like CPUs, i.e. saturate them.
        This can cause distorted completion time estimates,
        but it's better than infinite work fetch.

    client/
        client_types.cpp,h
        rr_sim.cpp,h
        work_fetch.cpp,h

David  1 Feb 2009
    - client: code cleanup

    client/
        rr_sim.cpp,h
        work_fetch.cpp,h

David  2 Feb 2009
    - client: code cleanup

    client/
        rr_sim.cpp,h
        work_fetch.cpp,h

David  2 Feb 2009
    - Manager: change terms for STD, LTD
    - web: change script that locks old threads to exempt team forums

    clientgui/
        DlgItemProperties.cpp
    html/ops/
        autolock.php

David  3 Feb 2009
    - client: fix bug that caused infinite sched RPCs if project down

    client/
        cs_scheduler.cpp
        scheduler_op.cpp

Rom    3 Feb 2009
    - SCROPENGL: Checkin the files needed for the new OpenGL based
        BOINC screensaver.
        
    clientscr/
        boinc_ss_opengl.h
        boinc_ss_opengl.rc
        screensaver_opengl.cpp
        screensaver_opengl.h
    win_build/
        boinc.sln
        boinc_ss_opengl.vcproj

David  3 Feb 2009
    - renamed boinc_ss_opengl to ss_app

David  3 Feb 2009
    - GUI RPC: made password file read into function
    - lib: minimized FCGI library

    client/
        boinc_cmd.cpp
        file_names.h
    lib/
        gui_rpc_client.cpp,h
        common_defs.h
        Makefile.am

Charlie Feb 4 2009
    - SS: Begin work on upgrading screensaver coordinator for new functionality:
        - add filenames for ss config file and default OpenLG ss executable
        - add sandbox security support for these 2 files.

    client/
        check_security.cpp
        file_names.h
    clientgui/
        mac/
            SetupSecurity.cpp
    mac_build/
        Mac_SA_Secure.sh

Rom    5 Feb 2008
    - MGR: Display all projects in the project list but disable the text control
        is the project doesn't list a supported platform.  If the user clicks
        on it display a message box stating that once attached the user may not
        get any work.
        
    clientgui/
        AccountManagerInfoPage.cpp
        ProjectInfoPage.cpp, .h
        ProjectListCtrl.cpp, .h

Charlie Feb 5 2009
    - SS: Implement basic new functionality in screensaver coordinator.
        - Note: this is tested on Mac only at this point.
    - SS: Add ss_app to XCode Project, with a temporary icon.

    client/
        check_security.cpp
        file_names.h
    clientscr/
        screensaver.cpp, .h
        mac_app_icon.h (added)
        Mac_Saver_Module.h
        screensaver_win.h
    lib/
        common_defs.h
    mac_build/
        boinc.xcodeproj/
            project.pbxproj

David  5 Feb 2009
    - manager: use sprintf() instead of WxString::Printf()
        when copying messages to clipboard, and use tab instead of |

        NOTE TO ROM: use WxWidgets features only where necessary.
        E.g., for a time that's not going to be displayed,
        use double instead of WxDateTime

    clientgui/
        ViewMessages.cpp

Rom    5 Feb 2009
    - MGR: Back out David's change which broke clipboard functionality
        on Linux.  Take care of the real performance problem with
        copying 20000+ records to the clipboard in a Debug build
        by pre-allocating the buffer.
        
    clientgui/
        ViewMessages.cpp, .h

David  5 Feb 2009
    - client: redefine "overworked" as
        debt < -1.5 * work_buf * cpu_sched_period
    - web: on team page, link to cross-project team stats sites

    api/
        graphics2_win.cpp
    client/
        work_fetch.cpp
    html/
        inc/
            stats_sites.inc
            team.inc
        user/
            team_display.php

Rom    5 Feb 2009
    - MGR: On newer versions of the wxWidget framework the project list
        wasn't being properly sized, so create it with a fixed size.
        
    clientgui/
        ProjectListCtrl.cpp

David  5 Feb 2009
    - client: when accounting job elapsed time,
        ignore intervals longer than 10 secs;
        that could only happen if the client or host was suspended/hibernated.
    - client: in adjust_debts(), ignore intervals longer than
        2*work fetch period, not 2*CPU sched period.
        adjust_debts() is called from work fetch.

    client/
        app_control.cpp
        client_state.h
        cpu_sched.cpp
        cs_scheduler.cpp
        work_fetch.cpp

David  5 Feb 2009
    - web: added BOINCstats to list of team stats sites

    html/
        inc/
            stats_sites.inc
            team.inc

David  5 Feb 2009
    - web: add links to cross-project host stats sites
        (currently just boincstats)

    html/
        inc/
            hosts.inc
            stats_sites.inc
            util.inc
        user/
            hosts_user.php

David  5 Feb 2009
    - client: if time intervals for debt adjustment or job elapsed time
        are negative, ignore (must be clock reset)

    client/
        app_control.cpp
        cpu_sched.cpp

David  5 Feb 2009
    - web: must have a DB connection before calling mysql_real_escape_string()

    html/inc/
        boinc_db.inc

David  5 Feb 2009
    - web: add another team stats link
    - client: if ncpus is zero in cc_config.xml, honor it.

    client/
        cpu_sched.cpp
        log_flags.cpp
    html/inc/
        stats_sites.inc
        team.inc

David  5 Feb 2009
    - client: it the state file or an RPC reply has an app version
        using a coprocessor we don't know about, ignore it
        (and all results using that app_version will be flushed).
        This deals with the situation where we have some GPU jobs,
        but the GPU card is removed (previously this resulted in a crash).
        This requires some code shuffling so that we check for coprocessors
        before reading state file.

    client/
        client_types.cpp,h
        client_state.cpp
        cs_scheduler.cpp
        cs_statefile.cpp

David  5 Feb 2009
    - screensaver: flesh out new SS a bit

    clientscr/
        ss_app.cpp

Charlie Feb 5 2009
    - SS: Continue work on screensaver coordinator.
    - SS: Fix ss_app compile errors on Mac.

    clientscr/
        screensaver.cpp
        mac_saver_module.cpp
1293
        Mac_Saver_Module.h
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
        screensaver_win.h
        ss_app.cpp
    mac_build/
        boinc.xcodeproj/
            project.pbxproj

David  5 Feb 2009
    - web: fix bug in cached user page stuff from 12/29/08

    client/
        time_stats.cpp
    html/
        inc/
            pm.inc
            user.inc
        user/
            show_user.php

Charlie Feb 5 2009
    - SS: Screensaver coordinator reads ss_config.xml file.
    - SS: If coordinator runs default screensaver during science phase because 
        no science graphics are available, then shorten the next default 
        graphics phase by that much time. 

    clientscr/
        screensaver.cpp, .h
        Mac_Saver_Module.h
        screensaver_win.h
        ss_config.xml (added)

David  6 Feb 2009
    - web: don't show x-project links for anonymous hosts; fix &bull's

    html/inc/
        host.inc
        user.inc

Rom    7 Feb 2009
    - MGR: fix build break for GCC based compilers.
    
    clientgui/
        ProjectInfoPage.cpp

David  8 Feb 2009
    - web: remove <nobr> around user links; doesn't play well
        with long user names
    html/inc
        util.inc

David  9 Feb 2009
    - client: all scheduler RPCs except user request are subject to backoff.
    - client: if a project-requested RPC doesn't return work,
        don't do resource backoff.
    - client: if a user-requested scheduler RPC errors out, clear the request

    client/
        cs_scheduler.cpp
        scheduler_op.cpp
        work_fetch.cpp

Charlie 10 Feb 2009
    - SS: Fix new screensaver coordinator to work properly on Windows.

    clientscr/
        Mac_Saver_Module.h
        screensaver.cpp
        screensaver_win.h

David  10 Feb 2009
    - client: add SCHEDULER_OP::rpc_failed();
        this gets called when the op fails,
        either at initialization or later on;
        it clears the project's sched_rpc_pending flag if needed.
        This fixes a bug that caused user-requested RPCs
        to retry every 10 seconds
        when the network is down.
    - client: if debt-adjust period is too long, reset accounting.
        Otherwise we'll get this infinitely.
    - API: all optional alpha argument to TEXTURE_DESC::draw()


    api/
        gutil.cpp,h
    client/
        cpu_sched.cpp
        file_xfer.cpp
        gui_http.cpp
        http_curl.cpp,h
        scheduler_op.cpp,h
    clientscr/
        ss_app.cpp

David  10 Feb 2009
    - client: if master file doesn't have URLs, clear RPC request

    client/
        work_fetch.cpp
        cs_scheduler.cpp
        scheduler_op.cpp

David  10 Feb 2009
    - client: show proxy info correctly on startup
    - client: fix minor bug that produced spurious
        adjust debt interval too long messages when zero projects

    client/
        client_state.cpp
        cpu_sched.cpp
        cs_scheduler.cpp

Charlie 11 Feb 2009
    - SS: Fix new screensaver coordinator sandbox permissions.
    - ss_app: Replace temporary icon with standard BOINC icon.
    - ss_app: Fix compiler warning.
    - lib: add time stamps to BOINCTRACE on non-Windows systems.

    client/
        check_security.cpp
    clientgui/
        mac/
            SetupSecurity.cpp
    clientscr/
        mac_app_icon.h
    lib/
        diagnostics.cpp
    mac_build/
        Mac_SA_Secure.sh

David  11 Feb 2009
    - client: change the formula for debt update
        so that largest debt among eligible projects tends towards zero
    - client: change definition of "overworked"; debt must be < 1 day

    client/
        work_fetch.cpp

David  11 Feb 2009
    - client: change garbage collection so that an app version
        is deleted only if there's another version *of the same plan class*
        with a higher version number

    client/
        client_state.cpp

David  11 Feb 2009
    - client and API: eliminate dynamically-allocated parts of GLOBAL_PREFS.
        This fixes a double-free bug in the API.

    lib/
        prefs.cpp,h

David  11 Feb 2009
    - boinc_zip: put null arg at end of argv.
        Fixes crashing bug.
        From Michael Tyka.

    zip/
        boinc_zip.cpp
        unzip/
            unzip.c

Rom    11 Feb 2009
    - MGR: Check to see if the app version pointer is legit before attempting
        to use it.
        
    clientgui/
        ViewWork.cpp

David  11 Feb 2009
    - lib: implement APP_INIT_DATA::copy() with assignments instead of
        memcpy().  This protects against any future double-free bugs.

    lib/
        app_ipc.h,cpp

Rom    11 Feb 2009
    - MGR: Remove remaining UI thread calls to setlocale which could
        confuse the parsing system or vise versa.
        
    clientgui/
        AdvancedFrame.cpp
        DlgItemProperties.cpp
        ViewWork.cpp

David  11 Feb 2009
    - client, API: populate APP_INIT_DATA::hostid.
        Remove userid and teamid fields, since the client doesn't know these.

    client/
        app_start.cpp
    lib/
        app_ipc.cpp,h

Charlie 11 Feb 2009
    - SS: Graphics executables need a Mac icon only if they can be run in 
        a window, to allow the user to bring it to the front or control it.  
        Since the new boincscr app runs only as a screensaver, the Dock is 
        not visible when it is running so there is no reason to have an icon.
        So restore the previous permissions settings (non-writable).
    - ss_app: Remove code which adds a Mac icon.
    - ss_app: Fix compiler warning.
    - ss_app: Change Windows build executable file name to boincscr.exe.

    client/
        check_security.cpp
    clientgui/
        mac/
            SetupSecurity.cpp
    clientscr/
        mac_app_icon.h (deleted)
    mac_build/
        boinc.xcodeproj/
            project.pbxproj
        Mac_SA_Secure.sh
    win_build/
        ss_app.vcproj

Charlie 12 Feb 2009
1512
    - SS: Continue refining screensaver coordinator logic.
1513 1514 1515

    clientscr/
        screensaver.cpp
1516 1517 1518 1519 1520 1521 1522 1523

David  12 Feb 2009
    - client: debt_eligible() was returning false if the backoff was max.
        This can lead to a situation where a project never gets work.
        Remove that clause.

    client/
        work_fetch.cpp
1524 1525 1526 1527 1528 1529 1530 1531 1532 1533

David  12 Feb 2009
    - client, web: add preference for not using GPU while computer busy

    client/
        cpu_sched.cpp
    html/inc/
        prefs.inc
    lib/
        prefs.cpp,h
1534 1535 1536 1537 1538 1539 1540 1541 1542

David  12 Feb 2009
    - client: bug fix for GPU pref

    client/
        cpu_sched.cpp
        sim.h
    lib/
        prefs.cpp
1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562

Charlie 13 Feb 2009
    - ss_app: Under sandbox security, set boincscr permissions the same as 
        for BOINC Manager: setgid to boinc_master but do not setuid; this 
        allows the screensaver coordinator to kill boincscr but still gives 
        boincscr access to GUI RPC password file and so to all GUI RPCs.
    - SS: On Windows, add code to get paths to BOINC data and executable 
        directories from Windows registry; expects boincscr in BOINC  
        executable directory and ss-config.xml in BOINC data directory.

    client/
        check_security.cpp
    clientgui/
        mac/
            SetupSecurity.cpp
    clientscr/
        screensaver.cpp
        screensaver_win.cpp,.h
    mac_build/
        Mac_SA_Secure.sh
1563 1564 1565 1566 1567 1568 1569

David  13 Feb 2009
    - GUI RPC: "get prefs" RPC was messed up by yesterdays's checkin;
        also, change all bools to <foo>0|1</foo> rather than <foo/>

    lib/
        prefs.cpp
1570 1571 1572 1573 1574 1575 1576

David  13 Feb 2009
    - Manager: add GPU preference to advanced prefs dialog

    clientgui/
        DlgAdvPreferences.cpp
        DlgAdvPreferencesBase.cpp,h
1577 1578 1579 1580 1581 1582 1583

David  13 Feb 2009
    - client: fix bug where master fetch failure doesn't clear request flag,
        leading to infinite retry without backoff

    client/
        scheduler_op.cpp,h
1584 1585 1586 1587 1588 1589

David  13 Feb 2009
    - client: fix bug in time-of-day limit prefs (both CPU and network)

    lib/
        prefs.cpp,h
1590 1591 1592 1593 1594 1595 1596 1597

David  13 Feb 2009
    - GUI RPC: add master_url and local_revision to PROJECT_CONFIG struct.
        The former will allow the Manager to verify project URLs

    lib/
        gui_rpc_client_ops.cpp
        gui_rpc_client.h
1598 1599 1600 1601 1602 1603

Charlie 13 Feb 2009
    - SS: On Windows, make path strings Unicode compatible in ss coordinator.

    clientscr/
        screensaver.cpp
1604 1605 1606 1607 1608 1609 1610 1611

Rom    16 Feb 2009
    - WINBUILD: Remove ReleaseSigned build depends.
    - WINBUILD: Add NVAPI to the list of static libraries to include during
        the build process.  Driver version detection.
        
    /
        <Various Files>
1612 1613 1614 1615 1616 1617 1618 1619 1620

David  16 Feb 2009
    - client: detect NVIDIA driver version number, show it on startup,
        and include it with CUDA coprocessor descriptor in request msgs

    lib/
        coproc.cpp,h
    win_build/
        libboinc.vcproj
1621

1622
Charlie 16 Feb 2009
1623 1624 1625 1626
    - client: fix compile break on Mac.

    lib/
        coproc.cpp
1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639

David  16 Feb 2009
    - client: add a debug flag <dcf_debug> for seeing changes in DCF
    - scheduler: add a limit on NVIDIA driver version for CUDA apps
        (default 17500)

    client/
        work_fetch.cpp
        log_flags.cpp,h
        cpu_sched.cpp
    sched/
        sched_send.cpp
        sched_plan.cpp,h
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

David  17 Feb 2009
    - client: don't ignore jobs with fraction_done=1 (but still running)
        in RR simulation; we may need to mark them as deadline miss.
    - web: replace & with &amp; various places

    client/
        rr_sim.cpp
    html/
        inc/
            prefs.inc
            results.inc
            stats_sites.inc
        ops/
            update_profile_pages.php
        user/
            edit_forum_preferences.php
            edit_passwd_form.php
            hosts_user.php
            pm.php
            prefs_remove.php
            profile_menu.php
            top_hosts.php
            top_teams.php
            top_users.php
1665 1666 1667 1668 1669 1670 1671 1672

David  18 Feb 2009
    - client: if "no more work" checked, don't request more work (duh!)

    client/
        work_fetch.cpp
    tools/
        make_project
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

David  18 Feb 2009
    - client: adjust debts at least every minute.
        This fixes a bug that can cause debts to NEVER get updated.
    - client: added "abort_jobs_on_exit" feature
        (available by --abort_jobs_on_exit cmdline
        or <abort_jobs_on_exit> in cc_config.xml).
        If set, when the client is exited by user request
        (this includes signals on Unix)
        it marks all pending jobs as aborted,
        and does a scheduler RPC to all projects with jobs.
        When these are completed the client exits.
        This is useful when BOINC is being used on grids
        where it is wiped clean after each run.

    client/
        client_state.cpp,h
        cpu_sched.cpp
        cs_cmdline.cpp
        cs_prefs.cpp
        cs_scheduler.cpp
        log_flags.cpp
        main.cpp
        work_fetch.cpp
    lib/
        error_numbers.h
David Anderson's avatar
David Anderson committed
1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709

David  18 Feb 2009
    - web tweaks

    html/
        inc/
            host.inc
            result.inc
        user/
            workunit.php
            result.php
1710

1711
David  19 Feb 2009
1712 1713 1714 1715 1716 1717
    - scheduler: make host.p_features available to app_plan()

    db/
        boinc_db.h
    sched/
        server_types.cpp
1718

1719
David  19 Feb 2009
1720 1721 1722 1723 1724 1725 1726 1727 1728
    - web: in lists of tasks, give the option of showing names instead of IDs

    html/
        inc/
            host.inc
            result.inc
        user/
            results.php
            workunit.php
1729 1730 1731 1732 1733 1734

David  19 Feb 2009
    - client: add more info to <work_fetch_debug> messages

    client/
        work_fetch.cpp
1735 1736 1737 1738 1739 1740

David  19 Feb 2009
    - client: don't complain that master URLs differ if it's only in case

    client/
        cs_scheduler.cpp
1741 1742 1743 1744 1745 1746 1747

Charlie 19 Feb 2009
    - screensaver: Implement --test and --retry_connect command-line arguments
        as requested by Rom.

    clientscr/
        ss_app.cpp
1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767

Charlie 20 Feb 2009
    - screensaver: Implement new screensaver coordinator logic as requested by Rom:
        If the coordinator cannot connect to the core client:
            - coordinator retries connecting every 10 seconds 
            - coordinator launches the default graphics application with the 
                argument --retry_connect, so the default graphics app will continue 
                running and will also retry connecting every 10 seconds.
        If the coordinator successfully connected to the core client, it launches the 
            default graphics application without the argument --retry_connect.  If the 
            default graphics application can't connect, it will return immediately 
            with the exit code ERR_CONNECT.  In that case, the coordinator assumes 
            the default graphics app was blocked by a firewall and so the coordinator 
            will run only project (science) graphics.

    clientscr/
        mac_saver_module.cpp
        Mac_Saver_Module.h
        screensaver.cpp,.h
        screensaver_win.cpp,.h
Charlie Fenton's avatar
Charlie Fenton committed
1768
        ss_app.cpp
1769 1770 1771 1772 1773 1774 1775

Charlie 20 Feb 2009
    - lib: Fix build break on Windows.

    win_build/
        libboinc.vcproj
        libboinc_staticcrt.vcproj
1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789

David  20 Feb 2009
    - client: if a project is at max backoff for a resource,
        stop accumulating debt if it's at or around zero.
        This prevents other projects from being driven unboundedly negative.
    - client: if the number of overworked projects exceeds the number
        of device instances, clear debts; this indicates that an earlier
        client was buggy and produced bad debt values.

    client/
        client_state.h
        cpu_sched.cpp
        sim.h
        work_fetch.cpp,h
1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811

David  20 Feb 2009
    - client: new work-fetch policy:
        1) if an instance is idle, get work from highest-debt project,
            even if it's overworked.
        2) if resource has a shortfall, get work from highest-debt
            non-overworked project
        3) if there's a fetchable non-overworked project with no runnable jobs,
            get from from the highest-debt one.
        (each step is done first for GPU, then CPU)
        Clause 3) is new.
        It will cause the client to get jobs for as many projects as possible,
        even if there is no shortfall.
        This is necessary to make the notion of "overworked" meaningful
        (otherwise, any project with long jobs can become overworked).
        It also maintains as much variety as possible (like pre-6.6 clients).

        Also (small bug fix) if a project is overworked for resource R,
        request work for R only in case 1).

    client/
        work_fetch.cpp,h
1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822

David  20 Feb 2009
    - client: remove the "debt repair" mechanism added earlier today.
        There are situations where multiple projects can legitimately
        have large negative LTD on a uniprocessor.
        Instead...
    - client: add <zero_debts> option to cc_config.xml

    client/
        log_flags.cpp,h
        work_fetch.cpp,h
1823 1824 1825 1826 1827 1828 1829

David  20 Feb 2009
	- client: fix bug that can cause no GPU jobs to be scheduled
		even when a GPU is free

	client/
		cpu_sched.cpp
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

Charlie 20 Feb 2009
    - Update various source filed to GPL 3.  Note: I've only updated those 
        files which I created or have been maintaining.  There are many 
        others which still have the GPL 2.1 license.
        
    clientgui/
        mac/
            browser_safari.mm
            MacGUI.pch
            SystemMenu.m
        res/
            macbadgemask.xpm
            macdisconnectbadge.xpm
    clientscr/
        Mac_Saver_ModuleView.m
        screensaver.cpp
    mac_build/
        buildcurl.sh
        buildjpeg.sh
        buildc-ares.sh
        BuildMacBOINC.sh
        buildWxMac.sh
        Make_BOINC_Service.sh
        Mac_SA_Insecure.sh
        Mac_SA_Secure.sh
        setupForBOINC.sh
    mac_installer/
        release_boinc.sh
        release_GridRepublic.sh
        make_GridRepublic.sh
    samples/
        example_app/
            MakeMacExample.sh
David Anderson's avatar
 
David Anderson committed
1864 1865 1866 1867 1868 1869 1870 1871 1872

David  20 Feb 2009
    - add a few GPL 3 notices

    clientsrc/
        screensaver.cpp
    lib/
        coproc.h
        boinc_fcgi.cpp,h
1873 1874 1875 1876 1877 1878 1879

David  21 Feb 2009
    - client: tweak the LTD calculation so that the largest debt
        always tends towards zero

    client/
        work_fetch.cpp
1880 1881 1882 1883 1884 1885 1886 1887 1888

David  22 Feb 2009
    - client: print message if downloaded file has wrong size
    - client: associate file xfer messages with a project; fixes #848

    client/
        cs_files.cpp
        file_xfer.cpp
        pers_file_xfer.cpp
1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901

David  22 Feb 2009
    - client: more instances of showing project with message.  Fixes #848

    client/
        app_start.cpp
        app_graphics.cpp
        file_xfer.cpp
        cs_account.cpp
        cs_scheduler.cpp
        scheduler_op.cpp
        app.cpp
        app_control.cpp
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

Rom    22 Feb 2009
    - WINSCR: Fix the BOINC text displayed is the screensaver control
        panel applet
    - WINSCR: Get rid of the 'Up to 5 second wait' for the data thread
        to terminate.  Force terminate the thread and clean up the
        graphics app in a clean-up routine.  Forcing the user to wait
        when they return to the system isn't a good idea.
    - WINSCR: Fix screensaver issue where the screensaver locks up
        when the graphics application deadlocks for one reason or
        another.
        
        Create two new threads:
          1. Monitor system for keyboard and mouse events.
          2. Shuffle window z-order positions if needed.
          
        The keyboard/mouse event monitor is isolated from either
          the core client getting stuck in a loop and not returning
          the results of an RPC or the window shuffling code which
          can get stuck if the graphics application dead locks.
          
        The window shuffle code is isolated due to the
          BroadcastSystemMessage() API using something akin to
          SendMessage() which waits for a return value from the
          target windows winproc.  If a graphics application
          deadlocks for one reason or another it'll cause
          the thread to stall.  This isn't terminal and so we
          just wait for the next time the data thread chooses
          a new application and terminates the old one which
          will cause the thread to resume.
          
        This should resolve all outstanding issues with the
          screensaver not exiting when the mouse or keyboard
          is used.
          
    clientscr/
        boinc_ss.rc
        screensaver.cpp
        screensaver_win.cpp, .h
1941 1942 1943 1944 1945 1946 1947
        
David  22 Feb 2009
    - client: fix work-fetch bug that caused infinite fetch;
        cleanup/reorganization of work fetch logic

    client/
        work_fetch.cpp,h
1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958

David  22 Feb 2009
    - client: work-fetch bug fix: if we're fetching work for a starved
        project, it most have no runnable jobs for ANY resource.
    - client: work-fetch bug fix: when setting requests in the
        shortfall case, don't request anything if project is backed off
        or overworked for the resource.

    client/
        rr_sim.cpp
        work_fetch.cpp,h
1959 1960 1961 1962 1963 1964 1965

Charlie 22 Feb 2009
    - screensaver: Code consolidation, fix bug terminating default graphics 
        application on screensaver exit.
        
     clientscr/
        screensaver.cpp