Commit Graph

16311 Commits

Author SHA1 Message Date
Rom Walton 0d4a10c842 Quick Updates
svn path=/trunk/boinc/; revision=21870
2010-07-06 19:31:19 +00:00
Rom Walton 7320190522 - MGR: Fix Linux build break.
clientgui/
        NoticeListCtrl.cpp, .h

svn path=/trunk/boinc/; revision=21869
2010-07-06 19:26:53 +00:00
Tuan Le 4c5cec8d12 svn path=/trunk/boinc/; revision=21867 2010-07-01 23:33:38 +00:00
Tuan Le ea83d4f5e1 svn path=/trunk/boinc/; revision=21866 2010-07-01 23:33:15 +00:00
Tuan Le 6517c91477 svn path=/trunk/boinc/; revision=21865 2010-07-01 23:31:30 +00:00
Tuan Le fc87ee85d4 Makefile_mac completed
cuda_mac.c and cuda_kernel_mac.cu are targeted on Mac

svn path=/trunk/boinc/; revision=21862
2010-07-01 17:53:11 +00:00
David Anderson d59af26596 - client: add ".xml" to notice file names
svn path=/trunk/boinc/; revision=21857
2010-07-01 02:01:05 +00:00
Rom Walton d07bfd4f05 Quick Updates
svn path=/trunk/boinc/; revision=21856
2010-07-01 00:04:28 +00:00
Charlie Fenton d9299e0154 MGR: after GUI RPC sets NOTICES::complete, only NoticeListCtrl clears it; fix compile warning
svn path=/trunk/boinc/; revision=21855
2010-06-30 23:42:34 +00:00
Charlie Fenton 6906c46383 MGR: get_messages and get_notices RPCs don't alternate buffers, so remove the unused buffers from CMainDocument class
svn path=/trunk/boinc/; revision=21854
2010-06-30 23:29:09 +00:00
David Anderson fa82aaa435 - client: free GUI_RPC_CONN objects at shutdown
svn path=/trunk/boinc/; revision=21853
2010-06-30 21:59:38 +00:00
Rom Walton 256dc30602 - LIB: Reset the completed flag to false at the begining of the get_notices rpc
just in case the notices buffer is being reused.
        
    lib/
        gui_rpc_client_ops.cpp

svn path=/trunk/boinc/; revision=21852
2010-06-30 20:16:36 +00:00
David Anderson 1dca36cdc3 svn path=/trunk/boinc/; revision=21851 2010-06-30 20:14:36 +00:00
Rom Walton 21d1d5375a - MGR: Fix a bug in the notices code. Refresh the UI if the complete notices
list has been downloaded regardless of whether or not the item counts are
        the same.
        
    clientgui/
        NoticeListCtrl.cpp, .h

svn path=/trunk/boinc/; revision=21850
2010-06-30 20:12:24 +00:00
Rom Walton 716db1a13f - WIN: Treat Windows SEH exceptions as C++ exceptions so they can be trapped
using the standard try/catch handlers.
    - WIN: Wrap the coproc detection stuff in C++ exception handlers. If for some
        reason the Nvidia or ATI APIs cause an exception don't use the GPUs and
        don't crash BOINC.
    - WIN: rename boinc_ss to boinc_os_ss and ss_app to boinc_ss.
        
    client/
        coproc_detect.cpp
    win_build/
        *.vcproj

svn path=/trunk/boinc/; revision=21849
2010-06-30 19:17:52 +00:00
David Anderson 8fb8548867 - admin web: tweaks
svn path=/trunk/boinc/; revision=21848
2010-06-30 19:04:36 +00:00
Rom Walton e9455a2d27 - MGR: Rework the notices view to simplify the rendering logic even at the
cost of repeated string conversions (it doesn't appear to mess with
        the messages tab performance too much). Inspired by Charlie.

    clientgui/
        NoticeListCtrl.cpp, .h
        ViewNotices.cpp

svn path=/trunk/boinc/; revision=21847
2010-06-30 18:52:20 +00:00
David Anderson 4b48120b05 - user web: show app name in anonymous platform case on task list
svn path=/trunk/boinc/; revision=21846
2010-06-30 18:37:39 +00:00
Charlie Fenton 632b64c8ca MGR: logic changes & fixes to Notices display for new NOTICES::complete flag
svn path=/trunk/boinc/; revision=21845
2010-06-30 09:38:43 +00:00
David Anderson f575d3ddd9 - GUI RPC: add NOTICES::complete, so caller knows whether
what's being returned is new notices or all notices.

svn path=/trunk/boinc/; revision=21843
2010-06-29 21:40:12 +00:00
Rom Walton f921d090a2 Quick Updates
svn path=/trunk/boinc/; revision=21842
2010-06-29 20:20:56 +00:00
David Anderson 9735a3a2be - client: improve (or at least change) logic related to duplicate notices
svn path=/trunk/boinc/; revision=21841
2010-06-29 19:33:18 +00:00
Rom Walton 27fdba819b Quick Updates
svn path=/trunk/boinc/; revision=21840
2010-06-29 17:07:44 +00:00
David Anderson 0f613d61d8 - scheduler and client: fix the "allow multiple clients" feature.
This feature lets you run the BOINC client as a job on grid systems
    that handle only 1-CPU jobs;
    it disables various mechanisms that prevent multiple clients per host
    (which is normally a bad thing).
    Old:
        - Run the client with a --allow_multiple_clients flag.
            This tells it not to use a mutex that prevents
            multiple clients per host.
        - Run the project with the <multiple_clients_per_host> config flag.
            This suppresses two mechanisms:
            - (avoid duplicate host records)
                on a scheduler request with no host ID,
                looks for a host with same domain name, OS type,
                and mem size, and assumes the request is from that host
            - (job retry)
                If we get a request that doesn't have a host ID
                but does have a host CPID,
                mark its in-progress results as over
                NOTE: I CAN'T REMEMBER WHY WE SUPPRESS THIS;
                MARK S, DO YOU REMEMBER?

    Problem:
        if the grid clients attach to a project that
        doesn't use <multiple_clients_per_host>, bad things happen.
        E.g., if there are several requests at about the same time,
        most of them will fail with
        "another RPC already in progress" errors.
        If a project does include this flag,
        it loses protection from duplicate host records.

    New:
        - If the client is run with --allow_multiple_clients flag,
            it passes a <allow_multiple_clients> element
            in scheduler requests.
        - The scheduler skips the duplicate-host check on
            requests that include this flag.
        - There is no more <multiple_clients_per_host> scheduler option.

    Note: if a project using the old mechanism upgrades to this change,
    it will need to use new clients for its grid deployment.


svn path=/trunk/boinc/; revision=21839
2010-06-29 16:37:28 +00:00
Charlie Fenton 36fcd2fcc7 client: revert my recent change to keep_old argument above
svn path=/trunk/boinc/; revision=21838
2010-06-29 12:09:25 +00:00
Charlie Fenton 0987478dc8 client: Fix 2 bugs in handling of notices
svn path=/trunk/boinc/; revision=21837
2010-06-29 11:51:17 +00:00
David Anderson 114f4f15cf - scheduler and client: use "notice" rather than "high" priority
for messages intended as notices.
    This will avoid showing lots of obscure stuff as notices
    for projects with old server code.

svn path=/trunk/boinc/; revision=21836
2010-06-29 03:23:13 +00:00
David Anderson d756994bda - scheduler and back end: message tweaks and fixes
svn path=/trunk/boinc/; revision=21835
2010-06-29 03:20:19 +00:00
Charlie Fenton 55a2779cc9 Mac: Update XCode project for new source files BOINCInternetFSHandler.cpp,.h
svn path=/trunk/boinc/; revision=21834
2010-06-29 00:13:33 +00:00
Rom Walton 3be70942ad - MGR: Introduce the notion of a cached internet filesystem in the
manager, right now it stores everything in memory but will be extended
        in the future.
    - MGR: Clean up notice memory on shutdown

    clientgui/
        BOINCGUIApp.cpp
        BOINCInternetFSHandler.cpp, .h
        NoticeListCtrl.cpp, .h
        stdwx.h
        ViewNotices.cpp
    win_build/
        boincmgr.vcproj

svn path=/trunk/boinc/; revision=21833
2010-06-28 18:05:31 +00:00
David Anderson 457b69dfe4 - scheduler: message tweak
svn path=/trunk/boinc/; revision=21832
2010-06-28 17:58:37 +00:00
Rom Walton dd0cb83107 - CC: Fix typo
client/
        cs_notice.cpp

svn path=/trunk/boinc/; revision=21831
2010-06-28 15:04:58 +00:00
Charlie Fenton f5dad6fa33 MGR: Fix off by one error in Notices display
svn path=/trunk/boinc/; revision=21829
2010-06-28 09:12:42 +00:00
Rom Walton dbc2cff924 - MGR: Delete expired entries from the notices control
- MGR: Remove sort code.  Entries in the pDoc notices
        structure is already sorted.
        
    clientgui/
        NoticeListCtrl.cpp, .h
        ViewNotices.cpp

svn path=/trunk/boinc/; revision=21828
2010-06-28 02:41:34 +00:00
David Anderson 1d11ad5c61 - user web: notices fix
svn path=/trunk/boinc/; revision=21827
2010-06-27 04:05:48 +00:00
Rom Walton e1f992fce2 - MGR: Sort notices by dtime()
clientgui/
        ViewNotices.cpp
        NoticeListCtrl.cpp, .h

svn path=/trunk/boinc/; revision=21825
2010-06-25 23:34:38 +00:00
David Anderson f7ce13cdd4 - scheduler: host_app_version.n_jobs_today was being cleared
only if the previous request was on a different day
    AND the current request asks for work.
    Sometimes it wasn't getting cleared when it should have.

svn path=/trunk/boinc/; revision=21824
2010-06-25 22:00:09 +00:00
David Anderson 2bc044bd05 - scheduler: don't resend work if client isn't requesting work
svn path=/trunk/boinc/; revision=21823
2010-06-25 21:38:39 +00:00
Tuan Le 522cd39c45 svn path=/trunk/boinc/; revision=21822 2010-06-25 21:31:28 +00:00
Tuan Le 8b7b7e9e4c svn path=/trunk/boinc/; revision=21821 2010-06-25 21:28:55 +00:00
Tuan Le cd07f4aafc svn path=/trunk/boinc/; revision=21820 2010-06-25 21:10:02 +00:00
Tuan Le dc0c7ce657 svn path=/trunk/boinc/; revision=21819 2010-06-25 21:09:33 +00:00
Tuan Le 951a04fb3f svn path=/trunk/boinc/; revision=21818 2010-06-25 20:45:33 +00:00
Tuan Le 95f76a815e svn path=/trunk/boinc/; revision=21817 2010-06-25 20:43:48 +00:00
David Anderson 21d697fe9f svn path=/trunk/boinc/; revision=21816 2010-06-25 20:26:08 +00:00
David Anderson 56293c22d1 svn path=/trunk/boinc/; revision=21815 2010-06-25 20:25:42 +00:00
David Anderson 5ef4dead7d - validator: need parens in boolean expression
svn path=/trunk/boinc/; revision=21814
2010-06-25 19:23:16 +00:00
David Anderson 9e64a36958 - manager: message tweak
svn path=/trunk/boinc/; revision=21813
2010-06-25 19:06:43 +00:00
David Anderson 7c51512cbf - transitioner: the format string for a DB query had %.15d instead of %.15e.
That produced a messed-up query that assigned garbage values to:
        host_app_version.turnaround_var
        host_app_version.turnaround_q
        host_app_version.max_jobs_per_day
        host_app_version.consecutive_valid
    To repair these:
        - set turnaround_var and turnaround_q to zero
        - if max_jobs_per_day is outside of
            (0..config.daily_result_quota)
            set it to config.daily_result_quota
        - if consecutive_valid is outside (0..1000), set it to zero
    I added a script, html/ops/repair_21812.php, that does this;
    if you ran server code between [21181] and [21812], run this script.
- scheduler/transitioner: add <debug_quota> log flag
- changed the build system to always use -Wall
    (if we'd done this before, this bug wouldn't have happened)
- fixed a bunch of other compile warnings


svn path=/trunk/boinc/; revision=21812
2010-06-25 18:54:37 +00:00
Rom Walton 89fbfae2b8 - MGR: Bug fixes to previous commit.
clientgui/
        ViewNotices.cpp
        NoticeListCtrl.cpp, .h

svn path=/trunk/boinc/; revision=21811
2010-06-25 15:53:28 +00:00