From 82191b02ebeb654bed8187c2f2d89099f3b66678 Mon Sep 17 00:00:00 2001
From: David Anderson
Date: Sun, 13 Nov 2005 20:59:27 +0000
Subject: [PATCH] *** empty log message ***
svn path=/trunk/boinc/; revision=8851
---
checkin_notes | 7 +++
doc/client_startup.php | 3 +-
doc/links.php | 1 +
doc/manager.php | 112 +++++++++++++++++++----------------------
doc/stats.php | 2 +-
lib/crypt.C | 10 ++--
6 files changed, 68 insertions(+), 67 deletions(-)
diff --git a/checkin_notes b/checkin_notes
index 09ea3add2c..95e15daadb 100755
--- a/checkin_notes
+++ b/checkin_notes
@@ -13699,3 +13699,10 @@ David 12 Nov 2005
html/user/
am_get_info.php
am_set_info.php
+
+David 13 Nov 2005
+ - fix compile warnings
+
+ lib/
+ crypt.C
+ - add "venue" to acct mgr RPCs
diff --git a/doc/client_startup.php b/doc/client_startup.php
index 1b3fd5a39d..f8235609e2 100644
--- a/doc/client_startup.php
+++ b/doc/client_startup.php
@@ -56,7 +56,8 @@ if the core client is not attached to any projects
if new projects
show projects attached
else
- show 'go to site and pick projects' dialog
+ show dialog that prompts user to
+ visit project manager web site and select projects
else
jump into acct mgr wizard at get_project_config stage
else if project_init.xml exists
diff --git a/doc/links.php b/doc/links.php
index 97752e763e..72721b789d 100644
--- a/doc/links.php
+++ b/doc/links.php
@@ -74,6 +74,7 @@ language("Dutch", array(
));
language("English", array(
site("http://www.boinc-doc.net", "boinc-doc.net"),
+ site("http://forum.setiuk.com/index.php", "SETIUK/Team Lookers"),
site("http://www.kazlev.karoo.net/", "TeamACC (Arthur C. Clarke fans)"),
site("http://www.setiusa.net/", "SETI.USA"),
site("http://www.boincsynergy.com/", "BOINC Synergy"),
diff --git a/doc/manager.php b/doc/manager.php
index f8e68027e8..d82c0229dd 100644
--- a/doc/manager.php
+++ b/doc/manager.php
@@ -4,13 +4,11 @@ page_head("The BOINC manager");
echo "
The BOINC manager program is available for Windows, Mac OS X
-and Linux. It controls the use of your computer's disk, network, and
+and Linux. It controls the use of your computer's disk, network, and
processor resources, and is normally started at boot time.
On Windows, the BOINC Manager is represented by an icon in the system tray.
On Mac OS X, it is represented by icons in both the menubar and the Dock.
-
-
@@ -22,10 +20,9 @@ On Windows:
On Mac OS X:
- - Click on the icon in the menubar or Dock and hold the
+
- Click on the icon in the menubar or Dock and hold the
button down until the menu appears.
-
The icon menu choices are:
@@ -34,10 +31,10 @@ The icon menu choices are:
- Run based on preferences: do work
when your preferences allow it.
- Suspend: stop work (computation and file transfer).
-
- Network activity always available: always allow BOINC to
+
- Network activity always available: always allow BOINC to
contact the project servers when it needs to.
-
- Network activity based on preferences: allow BOINC to contact
-the project servers only when your preferences
+
- Network activity based on preferences: allow BOINC to contact
+the project servers only when your preferences
allow it.
- Network activity suspended: setting this keeps BOINC
from attempting to contact any of the project servers. It is useful
@@ -46,33 +43,31 @@ BOINC prompting to connect or disconnect for a time.
- About BOINC Manager: displays useful information about the
BOINC Manager.
- Exit: exit the BOINC manager and all running BOINC applications.
-No further work will take place until you run the BOINC manager again.
+No further work will take place until you run the BOINC manager again.
(On Mac OS X, this menu item is called Quit.)
-
Hovering over the BOINC icon will display a status balloon which contains
the project it is currently working on, how far along it is, and which
computer it is connected to (Windows only).
-
BOINC Manager Tabs
Projects
-Shows the projects in which this computer is participating.
+Shows the projects in which this computer is participating.
-- Suspended:
+
- Suspended by user:
The project is currently suspended.
- Retry in ...:
The client will wait the specified amount of time before attempting
to contact the project server again.
- Won't get new work:
- The project will not fill the cache for this project
+ The project will not fill the cache for this project
when it runs out of work.
-Click on a project name to enable the following additional buttons:
+Click on a project name to enable the following additional buttons:
- Allow new work:
Allow the project to download additional work, if needed.
@@ -95,45 +90,42 @@ computer it is connected to (Windows only).
and get your latest preferences.
-Project administrators can add buttons
- to the manager to quickly navigate the project website.
+Project administrators can add buttons
+ to the manager to quickly navigate the project website.
Work
Shows the work units currently on your computer.
-
Each work unit is either:
-- Aborted:
- Result has been aborted and will be reported to the project server
- as a computational error.
-
- Downloading:
+
- Aborted by user:
+ Result has been aborted.
+
- Downloading:
Input files are being downloaded.
-
- Paused:
+
- Preempted:
Result has been suspended by the client-side scheduler and will be
resumed the next time the project comes up in the processing rotation.
-
- Ready to report:
+
- Ready to report:
Waiting to notify the scheduling server.
- Ready to run:
An estimate of the total CPU time is shown.
- Running:
Elapsed CPU time and estimated percent done is shown.
-
- Suspended:
+
- Suspended by user:
Result has been suspended.
-
- Uploading:
+
- Uploading:
Output files are being uploaded.
-
-Click on a result name to enable the following additional buttons:
+Click on a result name to enable the following additional buttons:
-- Abort:
+
- Abort:
Abort processing for a result. NOTE: This will prevent you from receiving
credit for any work already completed.
- Resume:
Resumes processing of a previous suspended result.
-
- Show graphics:
+
- Show graphics:
Open a window showing application graphics.
- Suspend:
Suspends any further processing of this result.
@@ -141,25 +133,25 @@ computer it is connected to (Windows only).
Transfers
Shows file transfers (uploads and downloads).
- These may be ready to start, in progress, and completed.
+ These may be ready to start, in progress, and completed.
-- Aborted:
+
- Aborted by user:
Result has been aborted and will be reported to the project server
as a computational error.
-
- Downloading:
+
- Downloading:
Input files are being downloaded.
- Retry in ...:
The client will wait the specified amount of time before attempting
to contact the project server again.
-
- Uploading:
+
- Uploading:
Output files are being uploaded.
-Click on a file name to enable the following additional buttons:
+Click on a file name to enable the following additional buttons:
-- Retry Now:
+
- Retry Now:
Retry the file transfer now.
- Abort Transfer:
Abort the file transfer. NOTE: This will prevent you from receiving credit
@@ -170,12 +162,12 @@ computer it is connected to (Windows only).
Shows status and error messages.
Messages can be sorted by project or time.
You can control what messages are shown.
- Messages are also written to a file 'stdoutdae.txt'.
+ Messages are also written to a file 'stdoutdae.txt'.
-Click on one or more messages to enable the following additional buttons:
+Click on one or more messages to enable the following additional buttons:
-- Copy all messages:
+
- Copy all messages:
Copies all the messages to the clipboard.
- Copy selected messages:
Copies the highlighted messages to the clipboard. NOTE: To highlight a message
@@ -185,24 +177,24 @@ computer it is connected to (Windows only).
Statistics
-Shows some simple charts and graphs about the user and host progress
+Shows some simple charts and graphs about the user and host progress
NOTE: This feature requires three connections to each project scheduler on three
- different days before it starts to work properly.
-Click on any of the buttons to change to a different chart:
+ different days before it starts to work properly.
+Click on any of the buttons to change to a different chart:
-- Show user total:
+
- Show user total:
Shows the user's credit totals for each project.
- Show user average:
Shows the users's credit averages for each project.
-
- Show host total:
+
- Show host total:
Shows the host's credit totals for each project.
- Show host average:
Shows the host's credit averages for each project.
Disk
-This shows how much disk space is currently being used by each project.
+This shows how much disk space is currently being used by each project.
BOINC Manager Menus
@@ -211,24 +203,24 @@ The BOINC manager has the following menus:
- File
- - Select Computer: Allows you to control BOINC on a different
+
- Select Computer: Allows you to control BOINC on a different
computer
- Exit: exit the BOINC manager and all running BOINC applications.
- No further work will take place until you run the BOINC manager again.
+ No further work will take place until you run the BOINC manager again.
(On Mac OS X, this is under the BOINC menu as Quit BOINC.)
-
+
- Commands
- Run always: do work, regardless of preferences.
- Run based on preferences: do work
when your preferences allow it.
- Suspend: stop work (computation and file transfer).
-
- Network activity always available: always allow BOINC to
+
- Network activity always available: always allow BOINC to
contact the project servers when it needs to.
-
- Network activity based on preferences: allow BOINC to contact
- the project servers only when your preferences
+
- Network activity based on preferences: allow BOINC to contact
+ the project servers only when your preferences
allow it.
- Network activity suspended: setting this keeps BOINC
from attempting to contact any of the project servers. It is useful
@@ -241,7 +233,7 @@ The BOINC manager has the following menus:
but you can repeat it whenever you want.
The results are shown in the Messages tab.
-
+
- Projects
- Attach to new project:
@@ -250,27 +242,27 @@ The BOINC manager has the following menus:
You will be asked to enter the project's URL and either your account key
or your email address and password, depending on the project.
-
- Account Manager: attach to one or more new projects using an
+
- Account Manager: attach to one or more new projects using an
account manager web site. See Account managers
- Options
- - Options: opens a dialog allowing you to select your preferred
- language, how often you wish to be reminded of the need to connect to
+
- Options: opens a dialog allowing you to select your preferred
+ language, how often you wish to be reminded of the need to connect to
the project servers (for dial-up users), etc.
If you connect to the web through an HTTP or SOCKS proxy,
use this dialog to enter its address and port.
-
Windows only: use this dialog to tell BOINC your method of connecting
+
Windows only: use this dialog to tell BOINC your method of connecting
to the Internet.
- Help
- - BOINC Manager: open a web page with instructions for using the
+
- BOINC Manager: open a web page with instructions for using the
BOINC manager. The F1 function key also does this.
-
- BOINC Manager: open the main BOINC web page.
-
- About: show BOINC manager version number (on Mac OS X,
+
- BOINC website: open the main BOINC web page.
+
- About BOINC Manager: show BOINC manager version number (on Mac OS X,
this command is under the BOINC menu.)
@@ -282,7 +274,7 @@ Menu names and other text in the BOINC manager can be displayed in
To select the BOINC screensaver:
- Windows: use the Display Properties dialog.
-
- Mac OS X: select System Preferences under the Apple menu and
+
- Mac OS X: select System Preferences under the Apple menu and
click on \"Screen Saver\".
";
diff --git a/doc/stats.php b/doc/stats.php
index 9ecca3b2ee..8a657cdf9a 100644
--- a/doc/stats.php
+++ b/doc/stats.php
@@ -61,7 +61,7 @@ should made at most once per hour.
A data aggregator is a service that collects XML files
from several projects,
and computes the totals for participants and hosts
-(based on cross-project IDs)
+(based on cross-project IDs)
across these projects.
This aggregate data is then exported in two ways:
diff --git a/lib/crypt.C b/lib/crypt.C
index 3cc2e7be00..da25031ce0 100644
--- a/lib/crypt.C
+++ b/lib/crypt.C
@@ -243,7 +243,7 @@ int sign_file(const char* path, R_RSA_PRIVATE_KEY& key, DATA_BLOCK& signature) {
retval = md5_file(path, md5_buf, file_length);
if (retval) return retval;
in_block.data = (unsigned char*)md5_buf;
- in_block.len = strlen(md5_buf);
+ in_block.len = (unsigned int)strlen(md5_buf);
retval = encrypt_private(key, in_block, signature);
if (retval) return retval;
return 0;
@@ -256,7 +256,7 @@ int sign_block(DATA_BLOCK& data_block, R_RSA_PRIVATE_KEY& key, DATA_BLOCK& signa
md5_block(data_block.data, data_block.len, md5_buf);
in_block.data = (unsigned char*)md5_buf;
- in_block.len = strlen(md5_buf);
+ in_block.len = (unsigned int)strlen(md5_buf);
retval = encrypt_private(key, in_block, signature);
if (retval) {
printf("sign_block: encrypt_private returned %d\n", retval);
@@ -278,7 +278,7 @@ int verify_file(
fprintf(stderr, "error: verify_file: md5_file error %d\n", retval);
return retval;
}
- n = strlen(md5_buf);
+ n = (int)strlen(md5_buf);
clear_signature.data = (unsigned char*)clear_buf;
clear_signature.len = MD5_LEN;
retval = decrypt_public(key, signature, clear_signature);
@@ -321,9 +321,9 @@ int verify_string(
int retval, n;
DATA_BLOCK signature, clear_signature;
- retval = md5_block((const unsigned char*)text, strlen(text), md5_buf);
+ retval = md5_block((const unsigned char*)text, (int)strlen(text), md5_buf);
if (retval) return retval;
- n = strlen(md5_buf);
+ n = (int)strlen(md5_buf);
signature.data = signature_buf;
signature.len = sizeof(signature_buf);
retval = sscan_hex_data(signature_text, signature);