Commit Graph

224 Commits

Author SHA1 Message Date
David Anderson e79b4a1cf6 - manager: more column reorder in Tasks tab
svn path=/trunk/boinc/; revision=21588
2010-05-19 18:59:51 +00:00
David Anderson 2b33429f18 - scheduler: fix bug in single-replication decision (from Rytis)
svn path=/trunk/boinc/; revision=21576
2010-05-18 22:32:05 +00:00
David Anderson 94fb2a391c - Manager: change order of columns in tasks tab
svn path=/trunk/boinc/; revision=21575
2010-05-18 22:15:03 +00:00
Rom Walton ba3deecbd2 Quick Updates
svn path=/trunk/boinc/; revision=21531
2010-05-14 21:10:43 +00:00
David Anderson 06cb521bbe - manager: improve "suspended" messages for tasks and transfers
- manager: code reorg.  ViewTransfers and DlgItemProperties
		both had a long member function to generate a string describing a task.
		One of these was out of date.
		Replaced these with a single non-member function.
	- manager: fixed sizer problem in attach wizard that caused missing word
	- client: minor code reorg

svn path=/trunk/boinc/; revision=21412
2010-05-07 16:14:54 +00:00
David Anderson e53fdf854b - manager: if user clicks Retry in Transfer tab while network is suspended,
show an alert.
	- manager: in transfers tab, show it if transfers are suspended
		because network is suspended
	- manager: in tasks tab, if a task is downloading or uploading
		and network is suspended, show it

svn path=/trunk/boinc/; revision=21346
2010-05-01 05:28:59 +00:00
Rom Walton 6474fefe65 Quick Updates
svn path=/trunk/boinc/; revision=21233
2010-04-21 20:14:46 +00:00
David Anderson 71ecfd47a0 svn path=/trunk/boinc/; revision=21226 2010-04-21 04:00:17 +00:00
David Anderson 582dcb2912 - client/manager: prefix anonymous platform apps with "Local: "
svn path=/trunk/boinc/; revision=21023
2010-03-29 22:33:08 +00:00
David Anderson 3452bbbc87 - GUI RPC: more replacement of std::string
svn path=/trunk/boinc/; revision=20889
2010-03-13 04:40:37 +00:00
David Anderson 86582342a8 - GUI RPC: in the structures used in the C++ interface to GUI RPC,
change various std::string to char[n], to improve performance.

NOTE: std::string should ONLY be used in cases where there is
no a priori limit on string length.
If there's a limit (e.g. because the string originates in
a fixed-size database field) always use char[n].

svn path=/trunk/boinc/; revision=20877
2010-03-12 17:47:17 +00:00
Rom Walton e14e1cad34 - Remove BOINC_RCSID tags from source files, we are doing branching and tagging
properly.
        
    <Various Files>

svn path=/trunk/boinc/; revision=20873
2010-03-12 16:51:57 +00:00
David Anderson 4054775f35 svn path=/trunk/boinc/; revision=20833 2010-03-11 01:39:14 +00:00
Charlie Fenton 0607e1822a MGR: Make GetCurrentViewPage() indepenedent of tab positons; Always set Periodic RPC timer to 1 second if showing event log; Minor code cleanup from Rom
svn path=/trunk/boinc/; revision=20005
2009-12-22 01:22:11 +00:00
Rom Walton 791040689d - MGR: Remove some old wxWidgets 2.4 cruft for dealing with Hyperlinks.
wxWidgets now natively supports them.
        
    clientgui/
        AccountInfoPage.cpp, .h
        AccountManagerInfoPage.cpp
        AdvancedFrame.cpp
        BOINCBaseFrame.cpp, .h
        BOINCGUI.cst (deleted)
        BOINCGUI.pjd (deleted)
        BOINCTaskBar.cpp
        BOINCWizards.h
        DlgAbout.cpp, .h
        DlgAdvPreferences.cpp
        DlgEventLog.cpp
        hyperlink.cpp, .h (deleted)
        ProjectInfoPage.cpp
        sg_BoincSimpleGUI.cpp
        sg_DlgMessages.cpp
        sg_DlgPreferences.cpp
        sg_ProjectsComponent.cpp
        sg_StatImageLoader.cpp
        stdwx.h
        ViewProjects.cpp
        ViewWork.cpp
        WelcomePage.cpp
        WizardAttachProject.cpp
    win_build/
        boinc_ss.vcproj
        boincmgr.vcproj
        libboinc_staticcrt.vcproj

svn path=/trunk/boinc/; revision=19982
2009-12-19 05:16:41 +00:00
David Anderson 14fd0a3f33 - client: show more general prefs on startup
- manager: show status for jobs aborted because not started by deadline

svn path=/trunk/boinc/; revision=19678
2009-11-23 22:47:10 +00:00
Charlie Fenton 25d96f2e37 Mac MGR: Add accessibility support for disabled users to BOINCListCtrl
svn path=/trunk/boinc/; revision=19388
2009-10-29 11:13:48 +00:00
David Anderson 5e862ac495 - client: on startup, if a coproc needed by a job is missing,
set a "coproc_missing" flag rather than aborting the job.
        If use removes a GPU board while there's a large queue of GPU jobs,
        they'll stay queued (until their deadline passes).

        Note: this doesn't fix the situation where user connects via
        Remote Desktop while GPU jobs are running or queued.
        We should check for Remote Desktop every minute or so, and stop GPU jobs.

svn path=/trunk/boinc/; revision=19287
2009-10-12 16:28:17 +00:00
Charlie Fenton 11911cd6b4 MGR: If aborting multiple tasks, ask "Are you sure?" only once.
svn path=/trunk/boinc/; revision=19284
2009-10-09 05:43:35 +00:00
Charlie Fenton 66bf71e4e1 MGR: Implement "Show active tasks / Show all tasks" button
svn path=/trunk/boinc/; revision=18818
2009-08-07 09:44:08 +00:00
Charlie Fenton 1c5cfe55d7 MGR: Implement "Show active tasks / Show all tasks" button
svn path=/trunk/boinc/; revision=18816
2009-08-07 08:33:31 +00:00
David Anderson 575565dc22 - client: fixed nasty bug that caused GPU jobs to crash on startup
when they're preempting another GPU job.
        The problem was as follows:
        - job A is chosen to preempt job B
        - we tell job B to quit, and initialize job A but don't start it;
            however, we set if scheduler state to SCHEDULED
            (rather than UNINITIALIZED)
        - job B exits, and we start job A.
            Since its state is not UNITIALIZED, we don't set up its slot dir.
        - job A runs in an empty slot dir, doesn't find its files, and bombs out.
    - client: add <slot_debug> option (prints messages about
        allocation of slots, creating/removing files in slot dirs).

svn path=/trunk/boinc/; revision=18217
2009-05-28 19:26:27 +00:00
Rom Walton c6b4bcdbee - MGR: Turn GetViewName into the unlocalized version of the view
name, so the configuration group name is consistant across
        all languages and does not cause conversion issues on
        different platforms where the configuration information
        is treated differently when compiled Unicode vs. ANSI.
        
    clientgui/
        ViewMessages.cpp
        ViewNews.cpp
        ViewProjects.cpp
        ViewResources.cpp
        ViewStatistics.cpp
        ViewTransfers.cpp
        ViewWork.cpp

svn path=/trunk/boinc/; revision=17955
2009-05-01 01:32:26 +00:00
David Anderson c1dce6425e - small code shuffle
- fix manager build on unix

svn path=/trunk/boinc/; revision=17650
2009-03-24 17:18:09 +00:00
David Anderson c36cca7b1f - manager: just call it Elapsed
svn path=/trunk/boinc/; revision=17589
2009-03-11 22:16:02 +00:00
David Anderson dfc62d896d - Manager: show elapsed time instead of CPU time in Task tab.
CPU time is visible in task Properties.
- Manager: in task Properties, show final CPU and elapsed times
    if job is finished
- client: honor backoff for account-manager-requested scheduler RPCs
- client: keep track final elapsed time for results
- GUI RPC: report final elapsed time

svn path=/trunk/boinc/; revision=17588
2009-03-11 22:01:38 +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
Rom Walton cdb3304941 - MGR: Remove the ability to display graphics on a remote computer,
or from a remote computer on *nix machines using v5 graphics.
        fixes #674
        
    clientgui/
        ViewWork.cpp

svn path=/trunk/boinc/; revision=17401
2009-02-26 18:32:07 +00:00
Rom Walton cd49bbc260 - MGR: Remove remaining UI thread calls to setlocale which could
confuse the parsing system or vise versa.
        
    clientgui/
        AdvancedFrame.cpp
        DlgItemProperties.cpp
        ViewWork.cpp

svn path=/trunk/boinc/; revision=17215
2009-02-11 22:52:40 +00:00
Rom Walton 84bc54b173 - MGR: Check to see if the app version pointer is legit before attempting
to use it.
        
    clientgui/
        ViewWork.cpp

svn path=/trunk/boinc/; revision=17211
2009-02-11 22:03:34 +00:00
David Anderson d93eb6da48 - 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.

svn path=/trunk/boinc/; revision=16903
2009-01-13 22:46:58 +00:00
David Anderson b2d7812130 - 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

svn path=/trunk/boinc/; revision=16900
2009-01-13 19:34:04 +00:00
Charlie Fenton a12f67047f MGR: Add style wxFULL_REPAINT_ON_RESIZE to Task Pane, remove previous attempts to fix its backgorund erase; remove obsolete m_bForceUpdateSelection logic.
svn path=/trunk/boinc/; revision=16597
2008-12-02 01:24:32 +00:00
Charlie Fenton 0e401b7f8d MGR: Update Tasks panel only when necessary, trying again to fix redraw glitch on Windows; fix Mac Messages tab not getting deselection events due to wxWidgets bug.
svn path=/trunk/boinc/; revision=16587
2008-12-01 09:44:01 +00:00
David Anderson a95c2acb39 - accelerate dup_element_contents()
- manager: truncate task progress bar (display) at 100%

svn path=/trunk/boinc/; revision=16449
2008-11-08 04:25:02 +00:00
Charlie Fenton 98b30841a8 Fixes to Rom's refactoring of Manager code
svn path=/trunk/boinc/; revision=16359
2008-10-30 01:55:11 +00:00
Rom Walton 1f1cc48a4c - client: include precompiled header in rr_sim.cpp so memory
leak detection will work.
    - MGR: Have the BaseFrame call a function to determine if the
        selection list should be saved instead of traversing
        the application pointer.  Each view just overrides the function
        returning a true/false value.  We don't have to worry about null
        pointers and the like.
    - MGR: BOINCGUIApp should never need to know how either the views
        work or the document.  Move the code that determines which
        RPCs should be fired into each of the views.  Have the document
        look for it there.
    - MGR: Reduce duplicate code for hiding and showing an application
    - MGR: Move some Windows and Mac specific code into functions
        and streamline the application startup and shutdown rountines.
    - MGR: Move the event processing that was in BOINCGUIApp into the
        BaseFrame.
    - MGR: General cleanup.
    - MGR: Doxygen comments.
    - MGR: Cleanup some warnings.

    client/
        rr_sim.cpp
    clientgui/
        AdvancedFrame.cpp, .h
        AsyncRPC.cpp, .h
        BOINCBaseFrame.cpp, .h
        BOINCBaseView.cpp, .h
        BOINCClientManager.cpp
        BOINCGUIApp.cpp, .h
        BOINCTaskBar.cpp
        MainDocument.cpp, .h
        sg_BoincSimpleGUI.cpp, .h
        ViewProjects.cpp, .h
        ViewTransfers.cpp, .h
        ViewWork.cpp, .h
        WelcomePage.cpp
    win_build/installerv2/
        BOINC.ism
        BOINCx64.ism
    win_build/
        sim.vcproj

svn path=/trunk/boinc/; revision=16357
2008-10-29 22:44:55 +00:00
Charlie Fenton 160ab76aac MGR: More thorough validity checking to prevent crashes
svn path=/trunk/boinc/; revision=16247
2008-10-21 23:30:59 +00:00
Charlie Fenton 39f17fc77c MGR: Multiple fixes to Async GUI RPCs: Filter events during Please Wait dialog, hide Please Wait dialog when BOINC hidden, use try / catch blocks for all cached list data.
svn path=/trunk/boinc/; revision=16197
2008-10-14 12:35:48 +00:00
Charlie Fenton d5499c9f5a MGR: Fix build breaks on Linux
svn path=/trunk/boinc/; revision=16165
2008-10-09 00:44:09 +00:00
Charlie Fenton 8c66c42a7e MGR: Fix crash in Projects:Properties; Always update underlying data when changing tabs, attaching, detaching, forcing refresh, etc.
svn path=/trunk/boinc/; revision=16155
2008-10-08 08:50:18 +00:00
Charlie Fenton ea339fbe66 Add comments
svn path=/trunk/boinc/; revision=16139
2008-10-06 12:01:27 +00:00
Charlie Fenton 8691a1b8e4 MGR: Erase selection highlight color, gray stripes under progress bars; Async GUI RPCs: remove spurious assert
svn path=/trunk/boinc/; revision=16137
2008-10-06 11:33:28 +00:00
David Anderson a31c5d9e98 - Manager: show resource requirements of all jobs, running or not
- Back-end programs: start adding --help option to all of them

svn path=/trunk/boinc/; revision=16121
2008-10-03 19:31:56 +00:00
David Anderson 30aecfc6f8 - debug "exclusive app" feature
svn path=/trunk/boinc/; revision=16090
2008-09-29 18:51:46 +00:00
David Anderson f0e0e8f977 - client: add "exclusive app" feature. If you put
<exclusive_app>foo.exe</exclusive_app>
    in your cc_config.xml, BOINC will suspend computing
    whenever foo.exe is running (e.g., a game).

    Eventually we might want to put the interface in preferences
    instead of cc_config.xml

svn path=/trunk/boinc/; revision=16087
2008-09-29 16:47:10 +00:00
Rom Walton 984f039f6d Fix build break.
svn path=/trunk/boinc/; revision=16058
2008-09-25 18:25:38 +00:00
Rom Walton 11c4a0a9ac Fix build break.
svn path=/trunk/boinc/; revision=16057
2008-09-25 18:22:12 +00:00
David Anderson b329414a45 - client/manager: show # CPUs and coprocessors in task display
svn path=/trunk/boinc/; revision=16045
2008-09-25 02:00:29 +00:00
Charlie Fenton 5a4ee76c46 MGR: Do not force focus changes because t interferes with disability access (reverse changes of 9/12, 9/13)
svn path=/trunk/boinc/; revision=16006
2008-09-16 23:50:34 +00:00