- client/manager: prefix anonymous platform apps with "Local: "

svn path=/trunk/boinc/; revision=21023
This commit is contained in:
David Anderson 2010-03-29 22:33:08 +00:00
parent 2335e009bb
commit 582dcb2912
6 changed files with 100 additions and 81 deletions

View File

@ -1227,11 +1227,11 @@ David 16 Feb 2010
cancel_wu_action.php cancel_wu_action.php
David 16 Feb 2010 David 16 Feb 2010
- screensaver: fix bug where sometimes no tasks are shown; - screensaver: fix bug where sometimes no tasks are shown;
change font sizes for max of 2 sizes at a time change font sizes for max of 2 sizes at a time
clientscr/ clientscr/
ss_app.cpp ss_app.cpp
Rom 16 Feb 2010 Rom 16 Feb 2010
- MGR: Fix icons for dialogs that display them. - MGR: Fix icons for dialogs that display them.
@ -1315,20 +1315,20 @@ David 18 Feb 2010
gui_rpc_client_ops.cpp gui_rpc_client_ops.cpp
David 18 Feb 2010 David 18 Feb 2010
- API: in txfRenderString, replace non-ASCII chars with ?. - API: in txfRenderString, replace non-ASCII chars with ?.
Otherwise it calls abort()! Otherwise it calls abort()!
api/ api/
texfont.cpp texfont.cpp
David 18 Feb 2010 David 18 Feb 2010
- client: fix bug in "suspend if CPU load too high" feature. - client: fix bug in "suspend if CPU load too high" feature.
Forgot to convert between fraction and percentage Forgot to convert between fraction and percentage
client/ client/
app.cpp app.cpp
cs_prefs.cpp cs_prefs.cpp
log_flags.cpp log_flags.cpp
David 19 Feb 2010 David 19 Feb 2010
- web: translation stuff - web: translation stuff
@ -1434,14 +1434,14 @@ David 26 Feb 2010
sched_customize.cpp sched_customize.cpp
David 26 Feb 2010 David 26 Feb 2010
- client: if suspend a file xfer, set upload_offset to -1; - client: if suspend a file xfer, set upload_offset to -1;
that way it will query server for file length when it resumes, that way it will query server for file length when it resumes,
rather than uploading from the beginning rather than uploading from the beginning
- client: back out SEH handling for GPU detection - client: back out SEH handling for GPU detection
client/ client/
coproc_detect.cpp coproc_detect.cpp
file_xfer.cpp file_xfer.cpp
pers_file_xfer.cpp pers_file_xfer.cpp
David 27 Feb 2010 David 27 Feb 2010
- client: if have coproc jobs but coproc is missing, - client: if have coproc jobs but coproc is missing,
@ -1483,13 +1483,13 @@ Rom 1 Mar 2010
str_util.h str_util.h
David 1 Mar 2010 David 1 Mar 2010
- client: if suspending apps because of CPU benchmarks, - client: if suspending apps because of CPU benchmarks,
leave them in memory leave them in memory
client/ client/
app.h app.h
app_control.cpp app_control.cpp
cs_prefs.cpp cs_prefs.cpp
Charlie 2 Mar 2010 Charlie 2 Mar 2010
- MGR: Fix more Event Log bugs: Exit from taskbar closes Event Log just - MGR: Fix more Event Log bugs: Exit from taskbar closes Event Log just
@ -1537,22 +1537,22 @@ David 2 Mar 2010
rboinc/* rboinc/*
David 2 Mar 2010 David 2 Mar 2010
- client: generalize the GUI RPC mechanism to access via HTTP. - client: generalize the GUI RPC mechanism to access via HTTP.
The handler checks for POST headers, The handler checks for POST headers,
and if present adds a reply header. and if present adds a reply header.
Also: remove the restriction that request messages Also: remove the restriction that request messages
must be read in their entirety on the first recv(). must be read in their entirety on the first recv().
I'm testing this using javascript's XMLHttpRequest. I'm testing this using javascript's XMLHttpRequest.
It's not completely working; It's not completely working;
the browser sends an OPTIONS request, then sends a POST. the browser sends an OPTIONS request, then sends a POST.
The BOINC client parses and replies to these, The BOINC client parses and replies to these,
but for some reason the browser doesn't seem to be but for some reason the browser doesn't seem to be
parsing the POST reply. parsing the POST reply.
client/ client/
gui_rpc_server.cpp,h gui_rpc_server.cpp,h
gui_rpc_server_ops.cpp gui_rpc_server_ops.cpp
Charlie 2 Mar 2010 Charlie 2 Mar 2010
- MGR: Save & restore size information of properties dialogs separately - MGR: Save & restore size information of properties dialogs separately
@ -1858,15 +1858,15 @@ Charlie 11 Mar 2010
DlgEventLogListCtrl.h DlgEventLogListCtrl.h
David 11 Mar 2010 David 11 Mar 2010
- Manager/client: show project name with notices - Manager/client: show project name with notices
client/ client/
client_msgs.cpp client_msgs.cpp
cs_notice.cpp,h cs_notice.cpp,h
clientgui/ clientgui/
ViewNotices.cpp ViewNotices.cpp
lib/ lib/
notice.cpp notice.cpp
Charlie 12 Mar 2010 Charlie 12 Mar 2010
- MGR: Allow separate compile-time choice of rules and / or alternating gray - MGR: Allow separate compile-time choice of rules and / or alternating gray
@ -2003,13 +2003,13 @@ Charlie 18 Mar 2010
gui_rpc_client_ops.cpp gui_rpc_client_ops.cpp
David 18 Mar 2010 David 18 Mar 2010
- client (and anything else using MFILE): Win efficiency fix. - client (and anything else using MFILE): Win efficiency fix.
Shockingly, realloc() wasn't doing exponential growth. Shockingly, realloc() wasn't doing exponential growth.
So create realloc_aux() that does. So create realloc_aux() that does.
lib/ lib/
mfile.cpp mfile.cpp
gui_rpc_client_ops.cpp gui_rpc_client_ops.cpp
Charlie 19 Mar 2010 Charlie 19 Mar 2010
- MGR: Switch background color for the list view stripes back to - MGR: Switch background color for the list view stripes back to
@ -2040,17 +2040,17 @@ Charlie 22 Mar 2010
DlgEventLogListCtrl.cpp, .h DlgEventLogListCtrl.cpp, .h
David 22 Mar 2010 David 22 Mar 2010
- client: fix bug where if anon platform file had bad platform name, - client: fix bug where if anon platform file had bad platform name,
it would cause jobs to get discarded on client restart. it would cause jobs to get discarded on client restart.
- manager: remove flicker-producing messages on status bar - manager: remove flicker-producing messages on status bar
client/ client/
cs_statefile.cpp cs_statefile.cpp
clientgui/ clientgui/
BOINCBaseFrame.cpp BOINCBaseFrame.cpp
BOINCBaseFrame.h BOINCBaseFrame.h
lib/ lib/
mfile.cpp mfile.cpp
Charlie 23 Mar 2010 Charlie 23 Mar 2010
- Mac SS: Fix build break due to RPC changes of std::string to char[n]. - Mac SS: Fix build break due to RPC changes of std::string to char[n].
@ -2121,10 +2121,10 @@ David 28 Mar 2010
forum.inc forum.inc
David 28 Mar 2010 David 28 Mar 2010
- Manager: fix bug in task properties app name display - Manager: fix bug in task properties app name display
lib/ lib/
gui_rpc_client_ops.cpp gui_rpc_client_ops.cpp
Rom 29 Mar 2010 Rom 29 Mar 2010
- MGR: Display a balloon on Windows and Linux, while causing - MGR: Display a balloon on Windows and Linux, while causing
@ -2137,17 +2137,17 @@ Rom 29 Mar 2010
taskbarex.cpp taskbarex.cpp
David 29 Mar 2010 David 29 Mar 2010
- client/manager: show "No CPU prefs" etc. in project properties - client/manager: show "No CPU prefs" etc. in project properties
client/ client/
client_types.cpp client_types.cpp
clientgui/ clientgui/
DlgItemProperties.cpp DlgItemProperties.cpp
lib/ lib/
gui_rpc_client.h gui_rpc_client.h
gui_rpc_client_ops.cpp gui_rpc_client_ops.cpp
David 26 Mar 2010 David 29 Mar 2010
- server: various changes; - server: various changes;
see http://boinc.berkeley.edu/trac/wiki/CreditNew see http://boinc.berkeley.edu/trac/wiki/CreditNew
@ -2213,3 +2213,16 @@ David 26 Mar 2010
validator.cpp validator.cpp
tools/ tools/
upgrade upgrade
David 29 Mar 2010
- client/manager: prefix anonymous platform apps with "Local: "
client/
client_state.cpp
client_types.cpp
clientgui/
DlgItemProperties.cpp
ViewWork.cpp
lib/
gui_rpc_client.h
gui_rpc_client_ops.cpp

View File

@ -279,7 +279,7 @@ int PROJECT::write_state(MIOFILE& out, bool gui_rpc) {
" <sched_rpc_pending>%d</sched_rpc_pending>\n" " <sched_rpc_pending>%d</sched_rpc_pending>\n"
" <send_time_stats_log>%d</send_time_stats_log>\n" " <send_time_stats_log>%d</send_time_stats_log>\n"
" <send_job_log>%d</send_job_log>\n" " <send_job_log>%d</send_job_log>\n"
"%s%s%s%s%s%s%s%s%s%s%s%s", "%s%s%s%s%s%s%s%s%s%s%s%s%s",
master_url, master_url,
project_name, project_name,
symstore, symstore,
@ -312,6 +312,7 @@ int PROJECT::write_state(MIOFILE& out, bool gui_rpc) {
sched_rpc_pending, sched_rpc_pending,
send_time_stats_log, send_time_stats_log,
send_job_log, send_job_log,
anonymous_platform?" <anonymous_platform/>\n":"",
master_url_fetch_pending?" <master_url_fetch_pending/>\n":"", master_url_fetch_pending?" <master_url_fetch_pending/>\n":"",
trickle_up_pending?" <trickle_up_pending/>\n":"", trickle_up_pending?" <trickle_up_pending/>\n":"",
send_file_list?" <send_file_list/>\n":"", send_file_list?" <send_file_list/>\n":"",

View File

@ -381,7 +381,8 @@ wxString CDlgItemProperties::FormatApplicationName(RESULT* result ) {
} }
strBuffer.Printf( strBuffer.Printf(
wxT("%s %d.%02d %s"), wxT("%s%s %d.%02d %s"),
state_result->project->anonymous_platform?_("Local: "):_(""),
strAppBuffer.c_str(), strAppBuffer.c_str(),
state_result->avp->version_num / 100, state_result->avp->version_num / 100,
state_result->avp->version_num % 100, state_result->avp->version_num % 100,

View File

@ -951,7 +951,8 @@ void CViewWork::GetDocApplicationName(wxInt32 item, wxString& strBuffer) const {
} }
strBuffer.Printf( strBuffer.Printf(
wxT(" %s %d.%02d %s"), wxT(" %s%s %d.%02d %s"),
state_result->project->anonymous_platform?_("Local: "):_(""),
strAppBuffer.c_str(), strAppBuffer.c_str(),
state_result->avp->version_num / 100, state_result->avp->version_num / 100,
state_result->avp->version_num % 100, state_result->avp->version_num % 100,

View File

@ -137,6 +137,7 @@ public:
double ati_backoff_interval; double ati_backoff_interval;
double duration_correction_factor; double duration_correction_factor;
bool anonymous_platform;
bool master_url_fetch_pending; // need to fetch and parse the master URL bool master_url_fetch_pending; // need to fetch and parse the master URL
int sched_rpc_pending; // need to contact scheduling server int sched_rpc_pending; // need to contact scheduling server
bool non_cpu_intensive; bool non_cpu_intensive;

View File

@ -257,6 +257,7 @@ int PROJECT::parse(MIOFILE& in) {
if (parse_double(buf, "<ati_backoff_time>", ati_backoff_time)) continue; if (parse_double(buf, "<ati_backoff_time>", ati_backoff_time)) continue;
if (parse_double(buf, "<ati_backoff_interval>", ati_backoff_interval)) continue; if (parse_double(buf, "<ati_backoff_interval>", ati_backoff_interval)) continue;
if (parse_double(buf, "<duration_correction_factor>", duration_correction_factor)) continue; if (parse_double(buf, "<duration_correction_factor>", duration_correction_factor)) continue;
if (parse_bool(buf, "anonymous_platform", anonymous_platform)) continue;
if (parse_bool(buf, "master_url_fetch_pending", master_url_fetch_pending)) continue; if (parse_bool(buf, "master_url_fetch_pending", master_url_fetch_pending)) continue;
if (parse_int(buf, "<sched_rpc_pending>", sched_rpc_pending)) continue; if (parse_int(buf, "<sched_rpc_pending>", sched_rpc_pending)) continue;
if (parse_bool(buf, "non_cpu_intensive", non_cpu_intensive)) continue; if (parse_bool(buf, "non_cpu_intensive", non_cpu_intensive)) continue;
@ -315,6 +316,7 @@ void PROJECT::clear() {
ati_backoff_time = 0; ati_backoff_time = 0;
ati_backoff_interval = 0; ati_backoff_interval = 0;
duration_correction_factor = 0; duration_correction_factor = 0;
anonymous_platform = false;
master_url_fetch_pending = false; master_url_fetch_pending = false;
sched_rpc_pending = 0; sched_rpc_pending = 0;
ended = false; ended = false;