Commit Graph

129 Commits

Author SHA1 Message Date
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
Charlie Fenton 5314522ac1 Merge commit '03cc6849c7d32f0028869a581ad03916ceb4d8b5' into charlief/wxwidgets30
# By David Anderson (617) and others
# Via Oliver Bock (56) and others
* commit '03cc6849c7d32f0028869a581ad03916ceb4d8b5': (1943 commits)
  remote job submission: add C++ interface to estimate_batch function
  translation stuff
  locale: Update compiled localization files
  Commit from Pootle Demo by user admin.: 1563 of 2856 strings translated (190 fuzzy).
  Commit from Pootle Demo by user admin.: 2741 of 2859 strings translated (45 fuzzy).
  Commit from Pootle Demo by user admin.: 1097 of 2859 strings translated (154 fuzzy).
  locale: Update compiled localization files
  Commit from Pootle Demo by user admin.: 2831 of 2859 strings translated (1 fuzzy).
  Commit from Pootle Demo by user admin.: 1097 of 2859 strings translated (154 fuzzy).
  Commit from Pootle Demo by user admin.: 3158 of 3183 strings translated (2 fuzzy).
  client: Remove build environment changes that attempted to detect Android, it wasn't needed.
  client: fix Android OS detection
  client: only add the pthread libs if not linking for Android
  android: Bulk import of localization text
  android: Bulk import of localization text
  locale: Update compiled localization files
  Commit from Pootle Demo by user admin.: 2817 of 2859 strings translated (4 fuzzy).
  Commit from Pootle Demo by user admin.: 2830 of 2859 strings translated (1 fuzzy).
  locale: Update compiled localization files
  Commit from Pootle Demo by user admin.: 2741 of 2859 strings translated (95 fuzzy).
  ...

Conflicts:
	checkin_notes
	clientgui/AsyncRPC.cpp
	clientgui/BOINCGUIApp.cpp
	clientgui/DlgEventLog.cpp
	clientgui/DlgEventLogListCtrl.cpp
	clientgui/DlgEventLogListCtrl.h
	clientgui/MainDocument.cpp
	clientgui/NoticeListCtrl.cpp
	clientgui/mac/MacBitmapComboBox.cpp
	clientgui/mac/SetVersion.cpp
	clientgui/mac/templates/SystemMenu-Info.plist
	clientgui/sg_BoincSimpleFrame.cpp
	mac_build/boinc.xcodeproj/project.pbxproj
	win_build/example_app_multi_thread.vcproj
	win_build/gr_boinc_ss.vcproj
	win_build/sleeper.vcproj
	win_build/uc2.vcproj
	win_build/uc2_graphics.vcproj
	win_build/vboxwrapper.vcproj
	win_build/wrapper.vcproj
2013-10-22 03:53:45 -07:00
Charlie Fenton 7d372d2803 Fix warnings of class or global variables shadowed by local variables or arguments 2013-07-29 01:31:09 -07:00
David Anderson 994f4d6b4c - Manager: fix case where the client has only an Intel GPU,
and the manager was acting as if it had no GPUs.
2013-03-05 13:39:42 +01:00
Rom Walton 93badc6995 MGR: Revert the changes made to AsyncRPC.cpp on Dec 7th.
It broke our ability to deal with localization on Windows, Mac, and Linux.  We'll have to revisit this issue after the next build for the BSDs.
2013-03-04 17:39:24 +01:00
Charlie Fenton c5e31b7d95 Mgr: Don't call get_notices RPC before previous one is processed to prevent multiple display of notices 2013-03-04 17:24:17 +01:00
Rom Walton 2dd82881de - client/server: fix build breaks I introduced last night with a variable
rename.
2013-03-04 15:30:03 +01:00
David Anderson ca8afde85b - Manager: compile fixes for OpenBSD. From RustyBSD. 2013-03-04 15:23:39 +01:00
Charlie Fenton ce87ec9848 OpenCL: First pass at adding support for Intel Ivy Bridge GPUs 2013-03-04 15:23:39 +01: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 a9b7f9e02a MGR: Rename CC_STATE::have_cuda to CC_STATE::have_nvidia; ProjectInfo page tests values appropriate for connected client version
svn path=/trunk/boinc/; revision=23764
2011-06-22 11:24:23 +00:00
Charlie Fenton 136336f0e8 MGR: Revert Rom's manager changes of 20 June related to GUI RPC changes, for compatibility with older Clients
svn path=/trunk/boinc/; revision=23763
2011-06-21 23:31:15 +00:00
Rom Walton 53bc917999 - MGR: Fix build breaks related to GUI RPC changes.
clientgui/
        AdvancedFrame.cpp
        AsyncRPC.cpp
        BOINCTaskBar.cpp
        DlgItemProperties.cpp
        ProjectInfoPage.cpp

svn path=/trunk/boinc/; revision=23756
2011-06-20 20:35:25 +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
David Anderson 5bbafef4b0 - fix some bad file permissions
- delist defunct stats site


svn path=/trunk/boinc/; revision=22859
2011-01-02 03:07:14 +00:00
Charlie Fenton 45aa09a670 MGR: Fix build break on Mac
svn path=/trunk/boinc/; revision=22237
2010-08-14 22:37:56 +00:00
David Anderson e2299ef8bb - client/manager/GUI RPC: add optional "translatable" arg
to get_messages() RPC; if absent or false,
    client will strip _( ) from messages.

svn path=/trunk/boinc/; revision=21946
2010-07-14 21:23:17 +00:00
Charlie Fenton 9574ea88bf MGR: If get_results RPC takes x seconds, do it no more often than once every (x
svn path=/trunk/boinc/; revision=21611
2010-05-24 11:41:05 +00:00
Charlie Fenton 7808990b81 MGR: If get_results RPC takes x seconds, do it no more often than once every (x*10) seconds
svn path=/trunk/boinc/; revision=21607
2010-05-24 10:32:23 +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
David Anderson 28fb7e7889 - fix compile warnings
svn path=/trunk/boinc/; revision=21567
2010-05-18 20:16:46 +00:00
Charlie Fenton 657dd5e065 MGR: Fix build break.
svn path=/trunk/boinc/; revision=21388
2010-05-05 23:45:18 +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
David Anderson d810f104f3 - manager: fixed one last (hopefully) instance of == applied to
a char[] formerly std::string

svn path=/trunk/boinc/; revision=21051
2010-04-01 20:29:36 +00:00
Rom Walton 6e388fd050 - MGR: Another place that interacts with the taskbar but was
included only if compiled for Windows or the Mac.
        
    clientgui/
        AsyncRPC.cpp
        MainDocument.cpp

svn path=/trunk/boinc/; revision=20534
2010-02-11 05:16:24 +00:00
Rom Walton bed5b48159 - MGR: Enable task bar icon on Linux. (bug fixes)
clientgui/
        AsyncRPC.cpp
        BOINCBaseFrame.cpp
        BOINCGUIApp.cpp

svn path=/trunk/boinc/; revision=20444
2010-02-05 20:11:51 +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
Charlie Fenton efce090466 client: Async get_state RPC was not updating state.have_ati field
svn path=/trunk/boinc/; revision=20080
2010-01-06 11:56:05 +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
Rom Walton c8a045fa16 bug fix
svn path=/trunk/boinc/; revision=20016
2009-12-22 20:20:20 +00:00
Rom Walton 426b3240a2 - MGR: Move the event log initialization and clean-up to the application
class, it is not owned by any frame, it is modeless.
        
        NOTE: Need to consult with Charlie about how best to register modeless
          dialogs for RPC updates. They are not owned by a frame and should
          be capable of being displayed or view from any frame.  i.e.
          SwitchActiveGUI() should not have any effect on them.
    - MGR: Display a window title with the async waiting dialog.
          
    clientgui/
        AdvancedFrame.cpp, .h
        AsyncRPC.cpp
        BOINCBaseFrame.cpp
        BOINCGUIApp.cpp, .h
        DlgEventLog.cpp

svn path=/trunk/boinc/; revision=20014
2009-12-22 20:15:55 +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 0eeb16abaf Mgr: skip exit confirmation dialog if user pressed emergency Exit button on AsyncRPCDlg
svn path=/trunk/boinc/; revision=19046
2009-09-11 20:38:05 +00:00
Charlie Fenton 42fbc64cce MGR: Bug fixes for Linux
svn path=/trunk/boinc/; revision=18927
2009-08-27 10:46:54 +00:00
Charlie Fenton f989eba75a MGR: Bug fixes for Linux
svn path=/trunk/boinc/; revision=18925
2009-08-27 01:46:20 +00:00
Charlie Fenton b46586d7a9 MGR: Test changes to avoid non-stop RPC Wait dialog when client is heavily loaded
svn path=/trunk/boinc/; revision=18822
2009-08-08 03:32:05 +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 3e61da304f MGR: use branded Manager name in async RPC Please Wait dialog
svn path=/trunk/boinc/; revision=18358
2009-06-10 23:15:24 +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 f47ae35b4d Mac MGR: Fix per-thread-locale logic on Mac; weak-link sqlite3 for OS 10.3.9 compatibility.
svn path=/trunk/boinc/; revision=18257
2009-06-02 02:01:08 +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 da880ec5ae MGR: Always treat quit RPCs as non-demand so Manager can exit when client is not responding
svn path=/trunk/boinc/; revision=18094
2009-05-14 01:44:11 +00:00
Charlie Fenton b9ec2afddb MGR: Add comments and slightly reorder code for clarity
svn path=/trunk/boinc/; revision=18022
2009-05-06 01:36:47 +00:00
Charlie Fenton a20e70fc62 Better support if platforms don't have per-thread locale; ensure Mac BOINC libraries build OK using config/make; fix Mac build breaks for example_app.
svn path=/trunk/boinc/; revision=17677
2009-03-27 05:25:58 +00:00
Charlie Fenton 78ecec4b16 MGR: SET_LOCALE constructor, destructor change locale only if no per-thread locale, XCode project supports weak-linking of uselocale()
svn path=/trunk/boinc/; revision=17662
2009-03-26 16:05:57 +00:00
Charlie Fenton a402e3f19a MGR: Remove erroneous call of locale in main thread; set locale only on a per-thread basis
svn path=/trunk/boinc/; revision=17661
2009-03-26 01:22:35 +00:00
Charlie Fenton 1e03e67ab2 MGR: RPCThread::KillRPCThread() defers to RPC thread before testing if thread has exited on its own
svn path=/trunk/boinc/; revision=17618
2009-03-18 00:22:34 +00:00