Commit Graph

39 Commits

Author SHA1 Message Date
Juha Sointusalo 5463a4d718 client,mgr: pass on GUI name in <exchange_versions>
The name of GUI RPC client will be used when creating an account at a
project that requires users to consent to terms of use. The project will
register both the consent and the GUI that was used to create the
account.

Store API version as well for future use.
2018-11-21 00:12:31 +02:00
David Anderson 13a5b9bf3e change multiple-inclusion guard names to BOINC_FILENAME_H 2017-04-07 23:54:49 -07:00
Charlie Fenton 74f8f1ea97 MGR: Cosmetic fix: eliminate brief display of all tasks when switching from Simple View to Advanced View when Show only active tasks is selected. 2014-09-02 07:10:56 -07:00
David Anderson eebec1c63c Manager: compile fixes 2014-05-08 01:05:11 -07:00
David Anderson 8f7e94ec5d Client and Manager: make notices translatable
- Add a GUI RPC ("set_language") that lets the Manager communicate
  the user's selected language code to the client at startup.
- The client stores the language code in the client state file
- The client appends a "lang=X" GET argument to the URLs from
  which notices are fetched.
- The next steps (not done) are 1) to change the get_notices.php
  script to parse the argument and do translation, and
  2) extend our Pootle system to allow volunteer translation
  of notices by all projects.
2013-12-03 10:47:56 -08:00
Rom Walton 243dc79b52 wxWidgets 2.9/3.0 changes 2013-02-04 13:03:49 -05:00
Rom Walton afb727eba3 - Remove dead code related to v5 graphics applications from the
client software.
    
    client/
        boinc_cmd.cpp
    clientgui/
        AsyncRPC.cpp, .h
        BOINCGUIApp.cpp, .h
        MainDocument.cpp
    clientgui/gtk/
        taskbarex.cpp
    clientscr/
        screensaver.cpp
    lib/
        gui_rpc_client.h
        gui_rpc_client_ops.cpp
    win_build/
        win-config.h

svn path=/trunk/boinc/; revision=24398
2011-10-14 19:02:43 +00:00
Charlie Fenton 9a4b695299 lib, MGR: Implement get_cc_config, set_cc_config RPCs
svn path=/trunk/boinc/; revision=23470
2011-04-27 11:01:07 +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
Charlie Fenton fa1cf386b4 MGR: If get_results RPC takes x seconds, do it no more often than once every (x*10) seconds
svn path=/trunk/boinc/; revision=21606
2010-05-24 10:06:07 +00:00
Rom Walton 1039cbdbe0 - lib: update client-side RPC files for configured
download url.
    - manager: update get_newer_version async RPC for
        configured download url.

    clientgui/
        AsyncRPC.cpp, .h
    lib/
        gui_rpc_client.h
        gui_rpc_client_ops.cpp

svn path=/trunk/boinc/; revision=21386
2010-05-05 18:30:22 +00:00
Charlie Fenton f8e7683427 MGR: Separate refresh of Event Log from refresh of tabs; Update Notices tab only when data changed; Clean up some async RPC logic
svn path=/trunk/boinc/; revision=20110
2010-01-09 01:42:46 +00:00
Rom Walton 014569af1f - MGR: Implement Notice RPC infrastructure.
clientgui/
        AsyncRPC.cpp, .h
        MainDocument.cpp, .h

svn path=/trunk/boinc/; revision=20066
2010-01-04 18:09:29 +00:00
David Anderson 2ff21d2a21 - client/manager: finish "snooze GPU" button
svn path=/trunk/boinc/; revision=19854
2009-12-11 00:08:28 +00:00
Charlie Fenton 40f48d6eae MGR: Test changes to avoid non-stop RPC Wait dialog when client is heavily loaded
svn path=/trunk/boinc/; revision=18823
2009-08-08 03:55: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
Charlie Fenton ddc3d4eb0b MGR: In Async RPC logic, use posix mutexes and condition instead of wxMutex and wxCondition, as this appears to fix an intermittent hang in wxCondition::Wait()
svn path=/trunk/boinc/; revision=18333
2009-06-08 22:44:03 +00:00
Charlie Fenton 837171fc09 Add an "Exit BOINC" button to async RPC "Please wait" dialog.
svn path=/trunk/boinc/; revision=18117
2009-05-15 11:07:10 +00:00
Charlie Fenton d37dfda290 MGR: Delete RPCThread::OnExit(); add new source files to XCode Project
svn path=/trunk/boinc/; revision=17604
2009-03-17 08:38:18 +00:00
Charlie Fenton 1a5c93ff19 MGR: Async RPCs: use wxCondition with timeout to block main thread while waiting for Demand RPC to finish; set m_pTaskBarIcon and m_pMacSystemMenu to NULL when deleted.
svn path=/trunk/boinc/; revision=16517
2008-11-18 13:28:26 +00:00
Charlie Fenton c219928655 MGR: Async RPCs: Use wxCondition to block RPC thread when it is idle instead of creating and a new RPC thread for each RPC
svn path=/trunk/boinc/; revision=16497
2008-11-15 13:21:08 +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 655301bfda MGR: Multiple fixes to Async GUI RPCs, message polling, task bar tooltip updates
svn path=/trunk/boinc/; revision=16196
2008-10-14 03:28:34 +00:00
Charlie Fenton 7a9468edbb Mgr: Fix 2 async GUI RPCs, also hoping to fix memory leak.
svn path=/trunk/boinc/; revision=16091
2008-09-30 01:12:49 +00:00
Rom Walton b595d7af76 build break fixes and some cleanup
svn path=/trunk/boinc/; revision=16088
2008-09-29 17:29:03 +00:00
Charlie Fenton 3e05e93278 MGR: Simplify Async GUI RPC refresh event logic; prevent a possible case of undesirable recursion.
svn path=/trunk/boinc/; revision=16040
2008-09-23 00:16:43 +00:00
David Anderson d0102629e7 - client: print error msg if missing acct mgr info
- manager: last arg to acct_mgr_rpc is bool, not bool*

svn path=/trunk/boinc/; revision=16023
2008-09-18 22:14:45 +00:00
Charlie Fenton 39263d4fe3 MGR: async GUI RPCs: Fix show_graphics RPC.
svn path=/trunk/boinc/; revision=15888
2008-08-19 01:35:46 +00:00
Charlie Fenton 80d276db8b Add comments on usage
svn path=/trunk/boinc/; revision=15854
2008-08-15 09:26:37 +00:00
Charlie Fenton 1cf4b28528 MGR: async GUI RPCs: Merge GUI RPC code from private workspace into trunk. Eliminate Grid views.
svn path=/trunk/boinc/; revision=15850
2008-08-15 07:13:00 +00:00
Charlie Fenton 99de98c8be MGR: async GUI RPCs: Code cleanup
svn path=/workspaces/charlief/; revision=15848
2008-08-15 02:27:30 +00:00
Charlie Fenton 9bde2e1b44 MGR: async GUI RPCs: Suspend RPC thread when not in use.
svn path=/workspaces/charlief/; revision=15720
2008-07-31 01:35:17 +00:00
Charlie Fenton 3237c4ae3e MGR: async GUI RPCs: All periodic RPCs for Simple View implemented.
svn path=/workspaces/charlief/; revision=15703
2008-07-29 13:06:28 +00:00
Charlie Fenton 1830e05ad4 MGR: async GUI RPCs: disallow events while processing demand RPCs, wait 1250ms before Please Wait dialog.
svn path=/workspaces/charlief/; revision=15686
2008-07-27 01:06:01 +00:00
Charlie Fenton 29ddd3421b MGR: async GUI RPCs: All RPCs now go through separate thread, but still one at a time.
svn path=/workspaces/charlief/; revision=15663
2008-07-23 14:16:59 +00:00
Charlie Fenton e294c3f876 MGR: async GUI RPCs: Begin adding support for all RPCs.
svn path=/workspaces/charlief/; revision=15662
2008-07-23 03:54:49 +00:00
Charlie Fenton 4a12ba89e7 More fixes, Linux make files.
svn path=/workspaces/charlief/; revision=15653
2008-07-22 13:26:52 +00:00
Charlie Fenton f3d4907bee MGR: First round of changes for asycn GUI RPCs; includes temporary changes for testing
svn path=/workspaces/charlief/; revision=15633
2008-07-18 14:38:27 +00:00