*** empty log message ***

svn path=/trunk/boinc/; revision=6286
This commit is contained in:
David Anderson 2005-06-06 19:18:01 +00:00
parent 6aa21f5c1f
commit d37df9e36f
11 changed files with 38 additions and 29 deletions

View File

@ -7395,3 +7395,13 @@ David 3 June 2005
sched/
handle_request.C
sched_util.C
David 6 June 2005
- remove char* versions of starts_with() and ends_with().
(Attempt to fix app_start problem on HPUX)
client/
cs_trickle.C
file_names.C
lib/
util.C,h

View File

@ -197,9 +197,9 @@ void get_statistics_filename(char* master_url, char* path) {
bool is_image_file(const char* filename) {
std::string fn = filename;
downcase_string(fn);
if (ends_with(fn, ".jpg")) return true;
if (ends_with(fn, ".jpeg")) return true;
if (ends_with(fn, ".png")) return true;
if (ends_with(fn, std::string(".jpg"))) return true;
if (ends_with(fn, std::string(".jpeg"))) return true;
if (ends_with(fn, std::string(".png"))) return true;
return false;
}

View File

@ -33,7 +33,7 @@ Some examples follow.
Instructions from Paul Buck's
<a href=http://boinc-doc.net/site-boinc/oman-app/inst-mac.php>BOINC Owner's Manual</a>.
<li>
<a href=mac_yenigun.html>Instructions from Berki Yenigun</a>,
<a href=mac_yenigun.php>Instructions from Berki Yenigun</a>,
deadsmile at minitel.net
<li>
<a href=http://stegic.net/archives/2005/05/boinc_as_a_syst.html>Running

View File

@ -2,6 +2,14 @@
$project_news = array(
array("June 3, 2005",
"Two Wiki-based BOINC informational sites have been launched recently:
<a href=http://boinc-doc.net/boinc-wiki/>The Unofficial BOINC Wiki</a>
(in English) and
<a href=http://faq.boinc.de/>Deutsche BOINC FAQ</a> (in German).
Because these sites are Wikis,
participants can add and modify content."
),
array("May 31, 2005",
"BOINC is featured in <a href=http://sciencereview.berkeley.edu:7066/pdf/5.1/briefs_pt3.pdf>The Berkeley Science Review</a>."
),

View File

@ -123,8 +123,11 @@ features on the administrative pages. Note: enabling 'grep logs' with
very long log files can hang your server, since grepping GB files can
take a long time. If you enable this feature, be sure to rotate the
logs so that they are not too big.");
list_item("sched_lockfile_dir", "Directory where scheduler lockfiles
are stored. Must be writeable to the Apache user.");
list_item("sched_lockfile_dir",
"Enables scheduler locking (recommended) and specifies
directory where scheduler lockfiles are stored.
Must be writeable to the Apache user.
");
list_end();
echo "

View File

@ -26,7 +26,7 @@ Contact him at rwalton at ssl.berkeley.edu.
</dl>
<p>
Other BOINC developers (many of them volunteers) include:
BOINC developers (many of them volunteers) include:
<p>
";
$i = 0;

View File

@ -86,8 +86,11 @@ computer resources
<tr><td bgcolor=$light_blue><h2>Resources</h2></td></tr>
<tr><td>
<ul>
<li> <a href=http://boinc-doc.net/boinc-wiki/>BOINC documentation Wiki</a>:
much of the content of this web site, in Wiki (editable) form.
<li> Wikis (user-editable information and documentation):
<ul>
<li> <a href=http://boinc-doc.net/boinc-wiki/>The Unofficial BOINC Wiki</a> (in English)
<li> <a href=http://faq.boinc.de/>Deutsche BOINC FAQ</a> (in German)
</ul>
<li> <a href=links.php>Web sites</a> for BOINC participants
<li> <a href=community.php#email_lists>Email lists</a>
<li> An <a href=intro.php>overview</a> of BOINC, and links to papers

View File

@ -20,8 +20,7 @@ with the following files:
<dd> The BOINC manager
<dt>
run_client
<dd> A script the cd's into the BOINC directory
and runs the core client.
<dd> A script that cd's into the BOINC directory and runs the core client.
</dl>
You may want to run the executable each time your machine boots

View File

@ -54,22 +54,6 @@ function mac_advanced() {
}
}
$w419 = array(
"num"=>"4.19",
"status"=>"Older version",
"file"=>"boinc_4.19_windows_intelx86.exe",
"date"=>"25 Jan 2005",
"type"=>win_old(),
null,
"bugs"=>"<ul>
<li> Doesn't work with some HTTP proxies (fixed in later versions).
<li>
If BOINC runs at the same time as Windows XP 3-D screensavers,
the system becomes sluggish.
</ul>
"
);
$w443= array(
"num"=>"4.43",
"status"=>"Recommended version",

View File

@ -371,6 +371,7 @@ void strip_whitespace(string& str) {
}
}
#if 0
bool starts_with(const char* str, const char* prefix) {
if (strstr(str, prefix) == str) return true;
return false;
@ -384,6 +385,7 @@ bool ends_with(const char* str, const char* suffix) {
if (strcmp(str+nstr-nsuff, suffix)) return false;
return true;
}
#endif
void unescape_url(char *url) {
int x,y;

View File

@ -68,8 +68,8 @@ inline bool starts_with(std::string const& s, std::string const& prefix) {
return s.substr(0, prefix.size()) == prefix;
}
extern bool ends_with(const char*, const char* suffix);
extern bool starts_with(const char*, const char* prefix);
//extern bool ends_with(const char*, const char* suffix);
//extern bool starts_with(const char*, const char* prefix);
// http://lists.debian.org/debian-gcc/2002/debian-gcc-200204/msg00092.html
inline void downcase_string(