diff --git a/checkin_notes b/checkin_notes index 2d88f02413..a0bb3c5b89 100755 --- a/checkin_notes +++ b/checkin_notes @@ -2799,3 +2799,9 @@ David 23 Mar 2007 ViewProjectsGrid.cpp win_build/ sim.vcproj + +David 23 Mar 2007 + - manager build fix + + clientgui/ + Makefile.am diff --git a/clientgui/Makefile.am b/clientgui/Makefile.am index bee8b4a587..77e505eeac 100644 --- a/clientgui/Makefile.am +++ b/clientgui/Makefile.am @@ -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 \ diff --git a/lib/gui_rpc_client.h b/lib/gui_rpc_client.h index 3b56b5a45c..6aee3f04b7 100644 --- a/lib/gui_rpc_client.h +++ b/lib/gui_rpc_client.h @@ -67,7 +67,7 @@ public: std::string description; std::string home; std::string image; - int rand; + double rand; PROJECT_LIST_ENTRY(); ~PROJECT_LIST_ENTRY(); diff --git a/lib/gui_rpc_client_ops.C b/lib/gui_rpc_client_ops.C index 4cbdf44fd2..8e17606e43 100644 --- a/lib/gui_rpc_client_ops.C +++ b/lib/gui_rpc_client_ops.C @@ -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;