Commit Graph

40 Commits

Author SHA1 Message Date
David Anderson 4434a9dd62 - client: add support for bool <no_project_notices> element
in account manager RPC reply.
    If set, suppress display of notices from projects
    (still display notices from the account manager).
2013-04-19 21:40:10 -07:00
David Anderson 24e8133e4b - tabs -> spaces 2013-04-02 17:23:37 -07:00
David Anderson 0e3d27961c - client: in handling the acct_mgr GUI RPC,
don't start the RPC directly;
    that might fail if CLIENT_STATE::gui_http is busy.
    Instead, set a timer field.
- client: structure ACCT_MGR_OP the same as other GUI_HTTP_OP variants
- client: clarify the comments on GUI_HTTP and GUI_HTTP_OP

Note: GUI_HTTP and GUI_HTTP_OP are misnomers; they refer to
any HTTP op other than scheduler requests and file transfers.
Should change the name, maybe to CLIENT_HTTP*


svn path=/trunk/boinc/; revision=24238
2011-09-19 21:15:36 +00:00
David Anderson 3b906a191c - client: generalize the GPU framework so that
- new GPU types can be added easily
		- users can specify GPUs in cc_config.xml,
			referred to by app_info.xml,
			and they will be scheduled by BOINC
			and passed --device N options
			Note: the parsing of cc_config.xml is not done yet.
		- RPC protocols (account manager and scheduler)
			can now specify GPU types in separate elements
			rather than embedding them in tag names
			e.g. <no_rsc>NVIDIA</no_rsc> rather than <no_cuda/>
	- client: in account manager replies, parse elements of the form
		<no_rsc>NAME</no_rsc>
		indicating the GPUs of type NAME should not be used.
		This allows account managers to control GPU types
		not hardwired into the client.
		Note: <no_cuda/> and <no_ati/> will continue to be supported.
	- scheduler RPC reply: add
		<no_rsc_apps>NAME</no_rsc_apps>
		(NAME = GPU name)
		to indicate that the project has no jobs for the indicated GPU type.
		<no_cuda_apps> etc. are still supported 
	- client/lib: remove set_debts() GUI RPC
	- client/scheduler RPC
		remove <cuda_backoff> etc. (superceded by no_app)
		Exception: <ip_result> elements in sched request
		still have <ncudas> and <natis>.
		Fix this later.

	Implementation notes:
	- client/lib: change "CUDA" to "NVIDIA" in type/variable names, and in XML
		Continue to recognize "CUDA" for compatibility
	- host_info.coprocs no longer used within the client;
		use a global var (COPROCS coprocs) instead.
		COPROCS now has an array of COPROCs;
		GPUs types are identified by the array index.
		Index zero means CPU.
	- a bunch of other resource-specific structs (like RSC_WORK_FETCH)
		are now stored in arrays, with same indices as COPROCS
		(i.e. index 0 is CPU)
	- COPROCS still has COPROC_NVIDIA and COPROC_ATI structs to hold vendor-specific info
	- APP_VERSION now has a struct GPU_USAGE to describe its GPU usage

svn path=/trunk/boinc/; revision=23253
2011-03-25 03:44:09 +00:00
David Anderson 58dadd91a8 - client, acct manager protocol:
allow <no_cpu>, <no_cuda> and <no_ati> bools
    within <account> in reply message.
    They suppress work fetch for that resource type from that project.
- scheduler:
    check max_granted_credit after wu.rsc_fpops_bound,
    so that max_granted_credit will be enforced
    even if wu.rsc_fpops_bound is absurdly high
    Fixes #1034.  From Diggory Hardy.


svn path=/trunk/boinc/; revision=22793
2010-12-02 04:53:12 +00:00
David Anderson a129c0d8cd - client: do exponential backoff (from 10 min to 24 hours)
on account manager RPC failures,
    rather than always waiting 24 hours

svn path=/trunk/boinc/; revision=22747
2010-11-25 04:35:50 +00:00
David Anderson 8d9cf013c5 - client: account manager RPC:
Additions to request message:
        <not_started_dur>X</not_started_dur>
        <in_progress_dur>X</in_progress_dur>
        The estimated remaining duration of unstarted
        and in-progress tasks
    Additions to reply message, within <project>, optional:
        <suspend>0|1</suspend>
            suspend or resume project (overrides local state)
        <abort_not_started>0|1</abort_not_started>
            if set, abort unstarted jobs


svn path=/trunk/boinc/; revision=22698
2010-11-17 20:04:58 +00:00
David Anderson ec151ec6a2 - finish the above
svn path=/trunk/boinc/; revision=22325
2010-09-08 20:20:02 +00:00
David Anderson f31e311dd2 - client: support notice feeds from account managers.
Implementation: create a base class PROJ_AM,
    from which both PROJECT and ACCT_MGR_INFO are derived,
    with basic stuff like name, URL, and RSS feed list

svn path=/trunk/boinc/; revision=22324
2010-09-08 18:06:56 +00:00
David Anderson b0cb81159f - client: when looking for new file xfers to start,
favor those that are partially done
- client: fix crashing bug if a project is detached
    while an RSS feed fetch for it is in progress
- code cleanup: switch from /// back to // for comments
    (so much for doxygen)

svn path=/trunk/boinc/; revision=21041
2010-04-01 05:54:29 +00:00
Rom Walton 674437a3bc - MGR: Introduce the cookie detection failure URL to the
acct_mgr_logon.xml file. If the cookies cannot be found provide
        a hyperlink control on the AcctountInfo page in the wizard
        which will point to a fallback URL the user can go to to
        find out what logon credentials to use.
        
    client/
        acct_mgr.cpp, .h
        gui_rpc_server_ops.cpp
    clientgui/
        AccountInfoPage.cpp, .h
        BOINCWizards.h
        WizardAttachProject.cpp, .h
    lib/
        gui_rpc_client.h
        gui_rpc_client_ops.cpp

svn path=/trunk/boinc/; revision=18400
2009-06-12 21:34:33 +00:00
David Anderson f17c0879de - changed some comments for Doxygen
svn path=/trunk/boinc/; revision=16130
2008-10-04 23:44:24 +00:00
David Anderson 4f66bb4c95 - added copyright and license info to .C, .cpp, .h files
- scheduler: fix bug in adaptive replication:
    if send an unreplicated job to untrusted host,
    set both wu.target_nresults and wu.min_quorum to app.target_nresults.

svn path=/trunk/boinc/; revision=15762
2008-08-06 18:36:30 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00
David Anderson f255490173 *** empty log message ***
svn path=/trunk/boinc/; revision=12259
2007-03-21 03:23:50 +00:00
David Anderson 6b4803d969 *** empty log message ***
svn path=/trunk/boinc/; revision=12146
2007-02-23 20:24:52 +00:00
David Anderson 431da99db5 *** empty log message ***
svn path=/trunk/boinc/; revision=11464
2006-11-03 19:24:21 +00:00
David Anderson 61865a41bd *** empty log message ***
svn path=/trunk/boinc/; revision=11341
2006-10-23 16:00:51 +00:00
David Anderson 0331e2d4c7 *** empty log message ***
svn path=/trunk/boinc/; revision=11148
2006-09-12 18:18:15 +00:00
David Anderson a5bca2d3e9 prefs and account managers
svn path=/trunk/boinc/; revision=10237
2006-06-01 19:03:00 +00:00
David Anderson 3cfed73a33 get_cc_status GUI RPC
svn path=/trunk/boinc/; revision=10232
2006-06-01 05:29:37 +00:00
David Anderson a1ac47381b AMS can tell client to update
svn path=/trunk/boinc/; revision=9682
2006-03-17 20:18:39 +00:00
David Anderson f7d1c67469 AM additions
svn path=/trunk/boinc/; revision=9195
2006-01-09 07:14:58 +00:00
David Anderson 0fd523b0af farm manager support
svn path=/trunk/boinc/; revision=9192
2006-01-06 23:13:21 +00:00
David Anderson d093c54c2b account manager security
svn path=/trunk/boinc/; revision=9069
2005-12-15 00:55:09 +00:00
David Anderson 86855fc26d *** empty log message ***
svn path=/trunk/boinc/; revision=9068
2005-12-14 23:43:50 +00:00
David Anderson bcb5d07cb8 *** empty log message ***
svn path=/trunk/boinc/; revision=9064
2005-12-14 01:44:11 +00:00
David Anderson 60b33d4b6c account manager changes
svn path=/trunk/boinc/; revision=9058
2005-12-09 22:29:21 +00:00
David Anderson 4e64127d49 account manager detach semantics
svn path=/trunk/boinc/; revision=9051
2005-12-08 19:21:56 +00:00
David Anderson 42c9d23238 account manager changes
svn path=/trunk/boinc/; revision=8936
2005-11-26 00:12:44 +00:00
David Anderson f33a8479b3 account manager RPC poll function
svn path=/trunk/boinc/; revision=8018
2005-09-15 00:16:55 +00:00
David Anderson 3ad888e260 new account setup support
svn path=/trunk/boinc/; revision=7194
2005-08-05 22:00:19 +00:00
David Anderson ded613f084 GUI HTTP class
svn path=/trunk/boinc/; revision=7192
2005-08-05 18:41:46 +00:00
David Anderson 2a09ee3ee9 *** empty log message ***
svn path=/trunk/boinc/; revision=6484
2005-06-28 23:56:56 +00:00
David Anderson d05dc1b022 *** empty log message ***
svn path=/trunk/boinc/; revision=6389
2005-06-21 08:22:18 +00:00
David Anderson 9c07f39813 *** empty log message ***
svn path=/trunk/boinc/; revision=6292
2005-06-07 19:22:50 +00:00
David Anderson 5e54282244 *** empty log message ***
svn path=/trunk/boinc/; revision=5626
2005-03-11 00:33:25 +00:00
David Anderson b961c2ce3d *** empty log message ***
svn path=/trunk/boinc/; revision=5349
2005-02-08 00:39:05 +00:00
Rom Walton 975f298574 *** empty log message ***
svn path=/trunk/boinc/; revision=5346
2005-02-08 00:01:50 +00:00
David Anderson daa7c4559d *** empty log message ***
svn path=/trunk/boinc/; revision=5335
2005-02-06 21:26:21 +00:00