From 9127c6c1ff35e1c912ea35fde89719481002f083 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Tue, 8 Mar 2005 00:23:58 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=5579 --- checkin_notes | 7 +++++++ client/app_start.C | 2 +- doc/anonymous_platform.php | 9 +++++---- doc/download.php | 15 ++++++++++++--- doc/gui_rpc.php | 4 ++++ 5 files changed, 29 insertions(+), 8 deletions(-) diff --git a/checkin_notes b/checkin_notes index a3ec6b0b05..8d1f80fdae 100755 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/client/app_start.C b/client/app_start.C index ed3f12395c..cc8dde8330 100644 --- a/client/app_start.C +++ b/client/app_start.C @@ -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 ); diff --git a/doc/anonymous_platform.php b/doc/anonymous_platform.php index cab8e86068..6d96a70c92 100644 --- a/doc/anonymous_platform.php +++ b/doc/anonymous_platform.php @@ -48,9 +48,9 @@ Run the core client and attach to the project. This will create a directory. Exit the client.
  • -Create a file app_info.xml in the project directory. This file -lists the applications you have compiled or downloaded. It has the -following form: +Create a file app_info.xml in the project directory. +This file lists the applications you have compiled or downloaded. +It has the following form: ".html_text(" @@ -58,6 +58,7 @@ following form: setiathome_4.07_windows_intelx86.exe + setiathome @@ -69,7 +70,7 @@ following form: ")." -In the example XML file, 407 is the (major + minor/100). +where 407 is the application's version number.
  • 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 diff --git a/doc/download.php b/doc/download.php index 939c2e1435..7176bc74a4 100755 --- a/doc/download.php +++ b/doc/download.php @@ -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 = "Download"; $md = md5_file($path); @@ -26,6 +32,7 @@ function version($platform, $filename, $install_type, $xml) { $platform http://boinc.berkeley.edu/$path $filename + $version_num $md "; @@ -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 " "; - echo "\n"; + echo "\n"; show_stable(true); - echo "\n"; + echo "\n"; + echo "\n"; show_dev(true); + echo "\n"; echo "\n"; exit(); } diff --git a/doc/gui_rpc.php b/doc/gui_rpc.php index e879c08c47..372f55f8fe 100644 --- a/doc/gui_rpc.php +++ b/doc/gui_rpc.php @@ -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,