- 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.
# 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
- 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
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