Commit Graph

6873 Commits

Author SHA1 Message Date
Rom Walton d21d414e87 - MGR: Set the dial-up and VPN connection list box to a static
size so that a scroll bar will appear if the number of items
        exceeds the space to display them. Fixes #96
    
    clientgui/
        DlgOptions.cpp

svn path=/trunk/boinc/; revision=17519
2009-03-06 00:04:16 +00:00
David Anderson f40dfabdbe - client: with anonymous platforms, app versions are identified
by app/platform/version/plan-class, same as normal

svn path=/trunk/boinc/; revision=17518
2009-03-05 23:31:00 +00:00
Rom Walton 43f2e70fdc - MGR: Don't display the Simple GUI 'Remove Project' menu item
if it was attached via an account manager. Fixes #261
    
    clientgui/
        sg_StatImageLoader.cpp

svn path=/trunk/boinc/; revision=17517
2009-03-05 23:25:41 +00:00
Rom Walton db36729f90 - MGR: Saving and Restoring window diminisions is not a Mac only
operation when starting up or shutting down the client. Increase
        the frequency of the auto-save state timer from 5 minutes to
        5 seconds.  Fixes #69, Fixes #735, Fixes #790, 
    - MGR: Lengthen the connected to client status field. Fixes #632
    - MGR: Properly update the connected to client status field
        even after a change to the simple view. Fixes #688
        
    clientgui/
        AdvancedFrame.cpp
        sg_BoincSimpleGUI.cpp, .h

svn path=/trunk/boinc/; revision=17516
2009-03-05 23:10:24 +00:00
David Anderson efbe5f616f - scheduler: move all send-work setup stuff (including messages)
into a function that's called before resend_lost_results()

svn path=/trunk/boinc/; revision=17515
2009-03-05 23:08:53 +00:00
David Anderson 012bf4c696 - scheduler: get work request parameters before resend_lost_jobs();
otherwise get NaNs for CPU fraction, etc.
- scheduler: show reasons in English when send job aborts


svn path=/trunk/boinc/; revision=17514
2009-03-05 22:12:21 +00:00
Rom Walton c626f48aae - MGR: Newer versions of the server-side software publish their
master url in the response to the get_project_config.php
        request.  If it exists use it over what was specified
        by the user.  Fixes #259
        
    clientgui/
        AccountManagerProcessingPage.cpp
        ProjectProcessingPage.cpp

svn path=/trunk/boinc/; revision=17513
2009-03-05 21:36:35 +00:00
Rom Walton d6cab7309e - MGR: Account for new error code returned by the CC in response
to a get_project_config.php request.  It was causing the
        wizards to throw a temp unavailable error page instead
        of the not a boinc project page. Fixes #640
        
    clientgui/
        AccountManagerPropertiesPage.cpp
        ProjectPropertiesPage.cpp

svn path=/trunk/boinc/; revision=17512
2009-03-05 21:14:40 +00:00
Rom Walton c2bccd57ed - MGR: Remove previous implementations of the already attached
to projects detection code.
    - MGR: Prevent the user from progressing beyond the project
        selection page if they are already attached to the
        project they are trying to attach to.  Display a dialog
        box telling they are already attached to that project
        and to choose a different project.  This skips a bunch
        of steps if they meant to attach to a different project.
        
    clientgui/
        AlreadyAttachedPage.cpp, .h
        BOINCWizards.h
        ProjectInfoPage.cpp
        ProjectPropertiesPage.cpp, .h
        WizardAttachProject.cpp, .h
    win_build/
        boincmgr_curl.vcproj

svn path=/trunk/boinc/; revision=17511
2009-03-05 20:25:00 +00:00
David Anderson e268dd735a - client: anon plaform app versions can specify coprocs
svn path=/trunk/boinc/; revision=17510
2009-03-05 18:23:54 +00:00
David Anderson ffb1a1636e - manager: show version minor numbers as 0n
svn path=/trunk/boinc/; revision=17509
2009-03-05 17:56:40 +00:00
David Anderson 52d46f05d6 - scheduler: parse and return platform name in anon platform apps.
Otherwise, if an app version has a platform different from
    the client's primary platform, the client won't find it.


svn path=/trunk/boinc/; revision=17508
2009-03-05 17:54:39 +00:00
David Anderson e74f93c10d - client: if using anonymous platform, ignore (and complain about)
app versions in scheduler reply
- client: when reporting anonymous platform apps in sched request,
    don't include <file_info>s (not relevant to server)

svn path=/trunk/boinc/; revision=17507
2009-03-05 17:45:36 +00:00
David Anderson e6f3027567 - scheduler: add support for anonymous-platform coproc apps.
Old: although the request message contained all info
        about the app version (flops, coproc usage etc.)
        the server ignored this info,
        and assumed that all anonymous platform apps where CPU.
        With 6.6 client, this could produce infinite work fetch:
        - client uses anon platform, has coproc app
        - client has idle CPU, requests CPU work
        - scheduler sends it jobs, thinking they will be done by CPU app
        - client asks for more work etc.
    New: scheduler parses full info on anon platform app versions:
        plan class, FLOPS, coprocs.
        It uses this info to make scheduling decisions;
        in particular, if the request is for CUDA work,
        if will only send jobs that use a CUDA app version.
        The <result> records it returns contain info
        (plan_class) that tells the client which app_version to use.
    This will work correctly even if the client has multiple app versions
    for the same app (e.g., a CPU version and a GPU version)


svn path=/trunk/boinc/; revision=17506
2009-03-05 17:30:10 +00:00
David Anderson 8544b20886 - client: reorganize and improve the logic for deciding
when to do a scheduler RPC:
    if user request or acct mgr request, ignore backoff and suspend via GUI;
    in all other cases honor both of these.

svn path=/trunk/boinc/; revision=17504
2009-03-05 00:10:16 +00:00
David Anderson c750daed46 - client: reorganize and improve the logic for deciding
when to do a scheduler RPC:
    if user request or acct mgr request, ignore backoff and suspend via GUI;
    in all other cases honor both of these.

svn path=/trunk/boinc/; revision=17503
2009-03-04 22:55:57 +00:00
David Anderson 5cf568a180 - client: don't allow coproc apps in app_info.xml.
Otherwise we'll get stuck in a loop where the client asks for CPU work,
    and the scheduler sends jobs for what it thinks is a CPU app
    but is actually a coproc app.

    Eventually we should add coproc info to the app descriptions
    send in scheduler request,
    so that you can use anonymous platform for coproc apps.
    But let's wait on this.

- scheduler: compile fix for gcc 4.4.  Fixes #854

svn path=/trunk/boinc/; revision=17502
2009-03-04 22:12:16 +00:00
David Anderson fb1187e398 svn path=/trunk/boinc/; revision=17501 2009-03-04 22:07:16 +00:00
David Anderson c481086bc0 - client: show duration estimates for CPU and CUDA separately
- web: reverse Reply and Delete buttons in private msg page
    fixes #858

svn path=/trunk/boinc/; revision=17500
2009-03-04 21:02:18 +00:00
David Anderson 8689df5922 - client: run CPU benchmarks and contact ref site if platform changes
svn path=/trunk/boinc/; revision=17499
2009-03-04 19:17:38 +00:00
David Anderson 4a8b4fae2c - client: change garbage-collect logic.
old: reference-count files involved in a PERS_FILE_XFER
    new: if a PERS_FILE_XFER refers to an unreferenced file,
        delete it (and the associated FILE_XFER and HTTP_OP if present)
    May fix #366

svn path=/trunk/boinc/; revision=17486
2009-03-03 23:21:17 +00:00
David Anderson 4cca81bedf - manager: when filtering messages by project,
show messages not tagged with a project (fixes #852)
- web: show X-project stats links as icons

svn path=/trunk/boinc/; revision=17456
2009-03-03 21:58:03 +00:00
David Anderson ce62c8ace5 - client: fix message: "idle instance" => "starved"
svn path=/trunk/boinc/; revision=17451
2009-03-03 17:45:03 +00:00
Rom Walton 456d517640 Quick Updates
svn path=/trunk/boinc/; revision=17450
2009-03-03 17:32:20 +00:00
Rom Walton 274381f5ce - Update to LibCurl 7.19.4 for Win32 and Win64
curl/
        <Various Files>

svn path=/trunk/boinc/; revision=17448
2009-03-03 17:04:30 +00:00
David Anderson d8a60fbf37 - scheduler: don't need to set wreq->infeasible_only in send_work()
svn path=/trunk/boinc/; revision=17446
2009-03-03 16:46:47 +00:00
David Anderson 33d5a81cf6 - scheduler: add locality_scheduling arg to add_result_to_reply();
eliminate the need to diddle around with config.locality_scheduling.

svn path=/trunk/boinc/; revision=17445
2009-03-03 16:38:54 +00:00
Charlie Fenton 2bf1427dce WINSCR: fix a bug. Mac screensaver: logic to stop Data Management thread even if hung on an RPC.
svn path=/trunk/boinc/; revision=17444
2009-03-03 12:08:49 +00:00
Charlie Fenton 733551a143 Mac: Update libCurl to 7.19.4
svn path=/trunk/boinc/; revision=17440
2009-03-03 09:07:02 +00:00
Charlie Fenton 2a18a8abeb client: Revise Apple idle time detection for compatibility with OS 10.6
svn path=/trunk/boinc/; revision=17432
2009-03-03 01:57:48 +00:00
David Anderson 66ec889431 - scheduler: add <locality_scheduling_sticky_file>
and <locality_scheduling_workunit_file> options
    From Bernd M.

svn path=/trunk/boinc/; revision=17431
2009-03-03 00:25:41 +00:00
David Anderson e36e700f22 svn path=/trunk/boinc/; revision=17430 2009-03-03 00:14:51 +00:00
David Anderson aadf813336 - scheduler/feeder: add <locality_scheduler_fraction> option;
lets you intermix locality and job-cache scheduling
    From Bernd M.

svn path=/trunk/boinc/; revision=17429
2009-03-03 00:12:55 +00:00
Rom Walton 5f5e56885b - Update to LibCurl 7.19.3 for Win32 and Win64
curl/
        <Various Files>

svn path=/trunk/boinc/; revision=17428
2009-03-02 23:58:07 +00:00
David Anderson 2d707927ab - scheduler: replace choose_download_url_by_timezone with
replace_download_url_by_timezone.


svn path=/trunk/boinc/; revision=17427
2009-03-02 23:47:11 +00:00
Rom Walton 9059e026cf Quick Updates
svn path=/trunk/boinc/; revision=17426
2009-03-02 21:25:54 +00:00
Rom Walton e13e03eef1 - Update to OpenSSL 0.9.8i for Win32 and Win64
openssl/
        <Various Files>

svn path=/trunk/boinc/; revision=17425
2009-03-02 21:24:25 +00:00
David Anderson 85106ed7e8 - Manager: scheduling params are not defined for non-CPU-intensive projects;
don't show them.

svn path=/trunk/boinc/; revision=17422
2009-03-02 18:03:57 +00:00
David Anderson 63dfde353e svn path=/trunk/boinc/; revision=17421 2009-03-02 17:57:57 +00:00
David Anderson 7b10a4649a - manager and GUI RPC: always show resource debt and backoff even if zero;
also show backoff interval

svn path=/trunk/boinc/; revision=17419
2009-03-02 00:12:50 +00:00
David Anderson 412208b007 - web: fix buggy changeset 17278
svn path=/trunk/boinc/; revision=17418
2009-03-01 23:32:15 +00:00
David Anderson 8470b55be3 - web: link to 3rd-party signature sources on community prefs page
svn path=/trunk/boinc/; revision=17417
2009-03-01 19:00:40 +00:00
David Anderson ebbf9d5636 - client: if we're going to do a scheduler RPC for reasons
other than work fetch (e.g., user request, project request)
    temporarily clear resource backoffs while deciding
    whether to request work.
    The backoffs are there only to delay RPCs,
    and we're going an RPC anyway.

svn path=/trunk/boinc/; revision=17416
2009-03-01 18:11:18 +00:00
David Anderson 346ac348b3 - client: RR sim FLOPS estimate for GPU jobs should reflect
fraction of time BOINC is running.


svn path=/trunk/boinc/; revision=17412
2009-02-27 21:44:39 +00:00
David Anderson fd5fc4a24b - client: fix bug that could cause scheduler RPC
to ask for work inappropriately,
    and tell user that it wasn't asking for work.
    Here's what was going on:
    There are two different structures with work request fields
    (req_secs, req_instances, estimated_delay):
    COPROC_CUDA *coproc_cuda
    and
    RSC_WORK_FETCH cuda_work_fetch.
    WORK_FETCH::choose_project() copied from cuda_work_fetch to coproc_cuda,
    but only if a project was selected.
    WORK_FETCH::clear_request() clears cuda_work_fetch but not coproc_cuda.

    Scenario:
    - a scheduler op is made to project A requesting X>0 secs of CUDA
    - later, a scheduler op is made to project B for reason
        other than work fetch (e.g., user request)
    - choose_project() doesn't choose anything,
        so the value of coproc_cuda->req_secs remains X
    - clear_request() is called but that doesn't change *coproc_cuda

    Solution: work-fetch code no longer knows about internals of
        COPROC_CUDA and is not responsible for settings its request fields.
        The copying of request fields from RSC_WORK_FETCH to COPROC
        is done at a higher level,
        in CLIENT_STATE::make_scheduler_request()

    Additional bug fix: estimated_delay wasn't being cleared in some cases.


svn path=/trunk/boinc/; revision=17411
2009-02-27 18:46:00 +00:00
Rom Walton 7f0efb5437 - MGR: Make CTRL-SHIFT-A the accelerator in the simple GUI that
switches back to the advanced view.
        refs #147

    clientgui/
        sg_BoincSimpleGUI.cpp, .h

svn path=/trunk/boinc/; revision=17410
2009-02-27 17:04:04 +00:00
David Anderson 58593802de - manager: fix roundoff error in Advanced Prefs; fixes #613
svn path=/trunk/boinc/; revision=17409
2009-02-27 16:42:56 +00:00
Charlie Fenton 1b39ca2315 screensaver: remove error codes & messages handled by new default gfx app, add new error codes; better logic when coordinator window covered on Mac
svn path=/trunk/boinc/; revision=17408
2009-02-27 11:20:08 +00:00
David Anderson debef2bfc1 - boinccmd: make --get_messages output more readable
svn path=/trunk/boinc/; revision=17407
2009-02-27 00:53:15 +00:00
David Anderson 6a8e754f62 - screensaver: show correct info if CPU throttling;
show correct window title;
		show "no projects" message.

svn path=/trunk/boinc/; revision=17405
2009-02-26 23:32:29 +00:00