Commit Graph

13838 Commits

Author SHA1 Message Date
Rom Walton 745e90b935 Add more tracing statements. Verify destructors are being called.
svn path=/trunk/boinc/; revision=17562
2009-03-09 05:00:58 +00:00
Rom Walton 322dd7d6be - MGR: Fix a long standing bug where the pie control in the
disk usage tab was being created but a default pie part
        wasn't being added to the control.  This caused the
        control to display black circles during window
        initialization on slower systems.  This issue has been
        around since we started using the pie control based disk
        usage tab.
    
    clientgui/
        ViewResources.cpp

svn path=/trunk/boinc/; revision=17561
2009-03-09 03:50:35 +00:00
David Anderson 835a5288ac - client, GUI RPC: put <host_venue> back in get_state reply;
it's used by BoincView

svn path=/trunk/boinc/; revision=17560
2009-03-08 15:56:33 +00:00
BOINC Translator 567ed49864 Commit from BOINC Translation Services by user SaharovNA. 131 of 131 messages translated (0 fuzzy).
svn path=/trunk/boinc/; revision=17556
2009-03-07 11:21:41 +00:00
David Anderson 41ed82f791 - scheduler: fix bugs that caused only 1 job to be sent
svn path=/trunk/boinc/; revision=17555
2009-03-07 01:00:05 +00:00
Charlie Fenton af9eb72567 Fix checkin notes
svn path=/trunk/boinc/; revision=17552
2009-03-07 00:14:14 +00:00
Charlie Fenton e0865faeb5 client: Fix compiler warning on Mac
svn path=/trunk/boinc/; revision=17551
2009-03-07 00:10:26 +00:00
David Anderson cd4786166a - client: fix crash
svn path=/trunk/boinc/; revision=17550
2009-03-06 23:27:19 +00:00
David Anderson e1b94a1e53 - client: add a new mechanism for assigning coproc instances to tasks,
and passing them the corresponding --device N cmdline args.
    This fixes a bug introduced in 17402 (Feb 26)
    that broke the --device feature,
    presumably causing problems on systems with multiple GPUs.

svn path=/trunk/boinc/; revision=17549
2009-03-06 23:10:45 +00:00
Rom Walton 2152c5b19d - MGR: Don't hide the main window after attaching to an account manager
if we don't support the system tray on that platform. refs #844
        
    clientgui/
        AdvancedFrame.cpp

svn path=/trunk/boinc/; revision=17545
2009-03-06 23:03:47 +00:00
David Anderson c22b62f25b - scheduler: fix bugs in support for anonymous platform + coprocs
(app versions don't have a <coprocs> around coproc elements,
    may an oversight but let's stick with it).
    Anyway, I think it's working now.
- lib: remove "owner" array from COPROC.
    This was used in client to keep track of assignment of
    coprocessors to tasks, but we got rid of the reserve/free scheme.
    NOTE: this breaks the mechanism for passing --device N to apps;
    I'll have to do this another way.  Stay tuned.

svn path=/trunk/boinc/; revision=17543
2009-03-06 22:21:47 +00:00
David Anderson 4ccfb07065 - GUI RPC: the Jan 13 checkin removed some items from the
get_state() reply which are not included in our client interface.
    However, it turns out that BoincView uses these items; put them back.
- GUI RPC: set_debt() can set CUDA LTD as well as CPU

svn path=/trunk/boinc/; revision=17542
2009-03-06 20:15:13 +00:00
Charlie Fenton c4e6364909 MGR: On Mac, revert to auto-save frequency of 5 minutes because the more frequent saves have no positive effect on the Mac.
svn path=/trunk/boinc/; revision=17522
2009-03-06 05:29:28 +00:00
Charlie Fenton 1b30195893 Mac: Remove obsolete files AlreadyAttachedPage.cpp, .h from XCode project
svn path=/trunk/boinc/; revision=17521
2009-03-06 04:45:30 +00:00
David Anderson 60789a105f - scheduler: message tweaks
svn path=/trunk/boinc/; revision=17520
2009-03-06 00:20:27 +00:00
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
Rom Walton e974d06544 Quick Updates
svn path=/trunk/boinc/; revision=17505
2009-03-05 01:26:41 +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
Rom Walton 7f6196f901 Quick Updates
svn path=/trunk/boinc/; revision=17498
2009-03-04 16:36:48 +00:00
David Anderson 191af8c129 svn path=/trunk/boinc/; revision=17487 2009-03-03 23:30:32 +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 f3781a6ff5 - fix message filtering
svn path=/trunk/boinc/; revision=17467
2009-03-03 22:30:52 +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
Rom Walton 20c1b0a306 Quick Updates
svn path=/trunk/boinc/; revision=17455
2009-03-03 19:42:23 +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 d002f8eae1 svn path=/trunk/boinc/; revision=17447 2009-03-03 16:48:04 +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 30f464aeec Mac: Update libCurl to 7.19.4
svn path=/trunk/boinc/; revision=17443
2009-03-03 09:39:12 +00:00