*** empty log message ***

svn path=/trunk/boinc/; revision=12267
This commit is contained in:
David Anderson 2007-03-23 20:06:55 +00:00
parent fc46f147f2
commit d183ca2a7f
4 changed files with 49 additions and 38 deletions

View File

@ -2799,3 +2799,9 @@ David 23 Mar 2007
ViewProjectsGrid.cpp
win_build/
sim.vcproj
David 23 Mar 2007
- manager build fix
clientgui/
Makefile.am

View File

@ -22,11 +22,20 @@ endif
bin_PROGRAMS = boinc_gui
# keep the following alphabetic
boinc_gui_SOURCES = \
common/wxPieCtrl.cpp \
common/wxFlatNotebook.cpp \
AccountInfoPage.cpp \
AccountKeyPage.cpp \
AccountManagerInfoPage.cpp \
AccountManagerProcessingPage.cpp \
AccountManagerPropertiesPage.cpp \
AdvancedFrame.cpp \
AlreadyAttachedPage.cpp \
AlreadyExistsPage.cpp \
BOINCBaseFrame.cpp \
BOINCBaseView.cpp \
BOINCBaseWizard.cpp \
BOINCDialupManager.cpp \
BOINCGUIApp.cpp \
BOINCListCtrl.cpp \
@ -34,17 +43,43 @@ boinc_gui_SOURCES = \
BOINCTaskCtrl.cpp \
BOINCGridCtrl.cpp \
BOINCGridCtrl.h \
CompletionErrorPage.cpp \
CompletionPage.cpp \
common/wxPieCtrl.cpp \
common/wxFlatNotebook.cpp \
DlgAbout.cpp \
DlgAdvPreferences.cpp \
DlgAdvPreferencesBase.cpp \
DlgGenericMessage.cpp \
DlgOptions.cpp \
DlgSelectComputer.cpp \
hyperlink.cpp \
LogBOINC.cpp \
SkinManager.cpp \
MainDocument.cpp \
AdvancedFrame.cpp \
NoInternetConnectionPage.cpp \
NotDetectedPage.cpp \
NotFoundPage.cpp \
ProjectInfoPage.cpp \
ProjectListCtrl.cpp \
ProjectProcessingPage.cpp \
ProjectPropertiesPage.cpp \
ProxyInfoPage.cpp \
ProxyPage.cpp \
sg_BoincSimpleGUI.cpp \
sg_ClientStateIndicator.cpp \
sg_CustomControls.cpp \
sg_DlgMessages.cpp \
sg_DlgPreferences.cpp \
sg_ImageButton.cpp \
sg_ImageLoader.cpp \
sg_ProgressBar.cpp \
sg_ProjectsComponent.cpp \
sg_SGUIListControl.cpp \
sg_StatImageLoader.cpp \
sg_ViewTabPage.cpp \
SkinManager.cpp \
stdwx.cpp \
UnavailablePage.cpp \
ValidateAccountKey.cpp \
ValidateEmailAddress.cpp \
ValidateURL.cpp \
@ -58,42 +93,11 @@ boinc_gui_SOURCES = \
ViewTransfersGrid.cpp \
ViewWork.cpp \
ViewWorkGrid.cpp \
AccountInfoPage.cpp \
AccountKeyPage.cpp \
AccountManagerInfoPage.cpp \
AccountManagerProcessingPage.cpp \
AccountManagerPropertiesPage.cpp \
AlreadyAttachedPage.cpp \
AlreadyExistsPage.cpp \
BOINCBaseWizard.cpp \
CompletionErrorPage.cpp \
CompletionPage.cpp \
NoInternetConnectionPage.cpp \
NotDetectedPage.cpp \
NotFoundPage.cpp \
ProjectInfoPage.cpp \
ProjectProcessingPage.cpp \
ProjectPropertiesPage.cpp \
ProxyInfoPage.cpp \
ProxyPage.cpp \
UnavailablePage.cpp \
WelcomePage.cpp \
WizardAccountManager.cpp \
WizardAttachProject.cpp \
wizardex.cpp \
sg_BoincSimpleGUI.cpp \
sg_ClientStateIndicator.cpp \
sg_CustomControls.cpp \
sg_DlgMessages.cpp \
sg_DlgPreferences.cpp \
sg_ImageButton.cpp \
sg_ImageLoader.cpp \
sg_ProgressBar.cpp \
sg_ProjectsComponent.cpp \
sg_SGUIListControl.cpp \
sg_StatImageLoader.cpp \
sg_ViewTabPage.cpp \
hyperlink.cpp $(mac_sources)
$(mac_sources)
EXTRA_DIST = *.h \
res \

View File

@ -67,7 +67,7 @@ public:
std::string description;
std::string home;
std::string image;
int rand;
double rand;
PROJECT_LIST_ENTRY();
~PROJECT_LIST_ENTRY();

View File

@ -65,6 +65,7 @@
#include "diagnostics.h"
#include "parse.h"
#include "str_util.h"
#include "util.h"
#include "error_numbers.h"
#include "miofile.h"
#include "md5_file.h"
@ -1421,7 +1422,7 @@ int RPC_CLIENT::get_all_projects_list(ALL_PROJECTS_LIST& pl) {
project = new PROJECT_LIST_ENTRY();
retval = project->parse(xp);
if (!retval) {
project->rand = rand();
project->rand = drand();
pl.projects.push_back(project);
} else {
delete project;