*** empty log message ***

svn path=/trunk/boinc/; revision=5579
This commit is contained in:
David Anderson 2005-03-08 00:23:58 +00:00
parent 1a8c656e9d
commit 9127c6c1ff
5 changed files with 29 additions and 8 deletions

View File

@ -25631,3 +25631,10 @@ Rom 7 Mar 2005
Events.h
MainDocument.cpp, .h
MainFrame.cpp, .h
David 7 Mar 2005
- Core client: if a project is anonymous-platform,
don't require that main programs be marked as executable
client/
app_start.C

View File

@ -272,7 +272,7 @@ int ACTIVE_TASK::start(bool first_time) {
fip = fref.file_info;
get_pathname(fip, file_path);
if (fref.main_program) {
if (!fip->executable) {
if (!fip->executable && !wup->project->anonymous_platform) {
msg_printf(wup->project, MSG_ERROR,
"Main program %s is not executable", fip->name
);

View File

@ -48,9 +48,9 @@ Run the core client and attach to the project. This will create a
directory. Exit the client.
<li>
Create a file <b>app_info.xml</b> in the project directory. This file
lists the applications you have compiled or downloaded. It has the
following form:
Create a file <b>app_info.xml</b> in the project directory.
This file lists the applications you have compiled or downloaded.
It has the following form:
".html_text("
<app_info>
<app>
@ -58,6 +58,7 @@ following form:
</app>
<file_info>
<name>setiathome_4.07_windows_intelx86.exe</name>
<executable/>
</file_info>
<app_version>
<app_name>setiathome</app_name>
@ -69,7 +70,7 @@ following form:
</app_version>
</app_info>
")."
In the example XML file, 407 is the (major + minor/100).
where 407 is the application's version number.
<li>
Run the core client again. When it requests work from the scheduling
server, it will report its platform as 'anonymous', and provides a list of

View File

@ -2,7 +2,12 @@
require_once("docutil.php");
$version_num;
function version_start($num, $date, $xml, $comment=null) {
global $version_num;
$version_num = $num;
if ($xml) return;
list_start();
list_bar("Version $num (released $date)");
@ -17,6 +22,7 @@ function version_start($num, $date, $xml, $comment=null) {
}
function version($platform, $filename, $install_type, $xml) {
global $version_num;
$path = "dl/$filename";
$dlink = "<a href=http://boinc.berkeley.edu/$path>Download</a>";
$md = md5_file($path);
@ -26,6 +32,7 @@ function version($platform, $filename, $install_type, $xml) {
<platform>$platform</platform>
<url>http://boinc.berkeley.edu/$path</url>
<filename>$filename</filename>
<version_num>$version_num</version_num>
<md5>$md</md5>
</version>
";
@ -66,7 +73,7 @@ function mac_advanced() {
function show_425($xml=false) {
version_start("4.25", "3 Mar 2005", $xml);
version("Windows", "boinc_4.25_windows_intelx86.exe", win_new(), $xml);
version("Mac OS X", "BOINC_Menubar.zip", mac_simple(), $xml);
version("Mac OS X", "BOINC_Menubar_4.25_mac.zip", mac_simple(), $xml);
//version("Mac OS X", "BOINC.app.sit", mac_advanced(), $xml);
version("Mac OS X", "boinc_4.25_powerpc-apple-darwin.gz", bare_core(), $xml);
version("Linux/x86", "boinc_4.25_i686-pc-linux-gnu.sh", sea(), $xml);
@ -150,10 +157,12 @@ if ($_GET["xml"]) {
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>
<core_versions>
";
echo "<stable_versions/>\n";
echo "<stable_versions>\n";
show_stable(true);
echo "<unstable_versions/>\n";
echo "</stable_versions>\n";
echo "<unstable_versions>\n";
show_dev(true);
echo "</unstable_versions>\n";
echo "</core_versions>\n";
exit();
}

View File

@ -24,6 +24,10 @@ list_item_func(
"init(char* host)",
"Establish RPC connection to the given host"
);
list_item_func(
"authorize(char* password)",
"Do authorization sequence with the peer, using given password"
);
list_item_func(
"get_state(CC_STATE&)",
"Get the core client's 'static' state,