diff --git a/checkin_notes b/checkin_notes index 87d96ce5a7..a5034f5cdf 100755 --- a/checkin_notes +++ b/checkin_notes @@ -20372,3 +20372,24 @@ Bruce 30 Nov 2004 db_ops.inc sched/ db_purge.C + +David 30 Nov 2004 + - fixed a bug in DB_VALIDATOR_ITEM_SET::update_result(): the lines + "server_state=%d, outcome=%d, opaque=%lf" + "where id=%d", + produce a bad SQL query (e.g. opaque=0.0000where id=4) + - fixed a bug in the transitioner: + TRANSITIONER_ITEM::enumerate() and query() + weren't reading "need_validate". + In some (rare) cases this would cause the flag + to get incorrectly cleared by the transitioner + + NOTES: + - ALL VALIDATORS SHOULD BE RECOMPILED + - RECOMPILE THE TRANSITIONER + + db/ + boinc_db.C + client/ + cs_account.C + main.C diff --git a/client/cs_account.C b/client/cs_account.C index 96fe4ec30c..c270e87a0f 100644 --- a/client/cs_account.C +++ b/client/cs_account.C @@ -238,7 +238,7 @@ int CLIENT_STATE::add_project(const char* master_url, const char* _auth) { safe_strcpy(auth, _auth); strip_whitespace(auth); if (!strlen(auth)) { - msg_printf(0, MSG_ERROR, "Invalid account ID: %s", auth); + msg_printf(0, MSG_ERROR, "Invalid account key: %s", auth); return ERR_AUTHENTICATOR; } diff --git a/client/main.C b/client/main.C index 5772ce08fc..4ce24643a3 100644 --- a/client/main.C +++ b/client/main.C @@ -60,7 +60,7 @@ void project_add_failed(PROJECT* project) { if (project->scheduler_urls.size()) { printf( "BOINC failed to log in to %s.\n " - "Please check your account ID and try again.\n", + "Please check your account key and try again.\n", project->master_url ); } else { diff --git a/db/boinc_db.C b/db/boinc_db.C index 14f122bac4..55e1309b31 100644 --- a/db/boinc_db.C +++ b/db/boinc_db.C @@ -643,6 +643,7 @@ void TRANSITIONER_ITEM::parse(MYSQL_ROW& r) { strcpy2(name, r[i++]); appid = atoi(r[i++]); min_quorum = atoi(r[i++]); + need_validate = atoi(r[i++]); canonical_resultid = atoi(r[i++]); transition_time = atoi(r[i++]); delay_bound = atoi(r[i++]); @@ -684,6 +685,7 @@ int DB_TRANSITIONER_ITEM_SET::enumerate( " wu.name, " " wu.appid, " " wu.min_quorum, " + " wu.need_validate, " " wu.canonical_resultid, " " wu.transition_time, " " wu.delay_bound, " @@ -924,7 +926,7 @@ int DB_VALIDATOR_ITEM_SET::update_result(RESULT& res) { sprintf(query, "update result set validate_state=%d, granted_credit=%.15e, " - "server_state=%d, outcome=%d, opaque=%lf" + "server_state=%d, outcome=%d, opaque=%lf " "where id=%d", res.validate_state, res.granted_credit, diff --git a/doc/boinc_dev.php b/doc/boinc_dev.php index a06b508a55..4d12a64420 100644 --- a/doc/boinc_dev.php +++ b/doc/boinc_dev.php @@ -4,7 +4,24 @@ echo "
-The BOINC source code is here. +
+cvs -d :pserver:anonymous@alien.ssl.berkeley.edu:/home/cvs/cvsroot checkout boinc ++
+Source code for a typical BOINC application, +SETI@home, is here.
If you are an experienced C++ system programmer you may be able to help us maintain and enhance BOINC. @@ -15,6 +32,8 @@ You should understand exactly how BOINC is supposed to work (for both participants and developers) before getting into the source code. + +
View database of bugs and feature requests
diff --git a/doc/project_cookbook.php b/doc/project_cookbook.php index 59e2b661bf..51d8b57e9b 100644 --- a/doc/project_cookbook.php +++ b/doc/project_cookbook.php @@ -9,7 +9,8 @@ Make sure MySQL is configured and running.
update_versions
script
releases new application versions.
It makes the needed database entries and copies files
@@ -20,6 +18,7 @@ with the same name as the application.
Put new application versions here.
update_versions
scans these directories for new application versions.
+@@ -49,22 +48,23 @@ Recommended code-signing practices are described here. -
min_core_version
which,
-if nonzero, indicates the minimum core client version number
+min_core_version
+and max_core_version
which, if nonzero,
+indicates the range of core client version numbers
to which the application version should be sent.
Update_versions, by default, sets this to the largest
core client version number in the database.
-You can disable this by editing update_versions,
-or by manually changing the app_version record.
+To change this, you can manually edit the app_version record.