- client: fix scheduler bug that treated all CPU jobs

as non-high-priority
	- client: don't print spurious "domino prevention"
		and "thrashing prevention" msgs
	- manager: show project descriptions in same size font
		as the rest of the dialog

svn path=/trunk/boinc/; revision=23831
This commit is contained in:
David Anderson 2011-07-11 05:34:09 +00:00
parent b8ba609604
commit c0417a8aaa
4 changed files with 19 additions and 3 deletions

View File

@ -4013,3 +4013,17 @@ David 10 July 2011
client_types.cpp
clientgui/
DlgItemProperties.cpp
David 10 July 2011
- client: fix scheduler bug that treated all CPU jobs
as non-high-priority
- client: don't print spurious "domino prevention"
and "thrashing prevention" msgs
- manager: show project descriptions in same size font
as the rest of the dialog
client/
cpu_sched.cpp
work_fetch.h
clientgui/
ProjectInfoPage.cpp

View File

@ -766,6 +766,7 @@ static bool schedule_if_possible(
static void promote_once_ran_edf() {
for (unsigned int i=0; i<gstate.active_tasks.active_tasks.size(); i++) {
ACTIVE_TASK* atp = gstate.active_tasks.active_tasks[i];
if (atp->result->rr_sim_misses_deadline) continue;
if (atp->once_ran_edf) {
RESULT* rp = atp->result;
PROJECT* p = rp->project;

View File

@ -29,8 +29,8 @@ extern double rec_half_life;
extern bool use_hyst_fetch;
#define RSC_TYPE_ANY 0
#define RSC_TYPE_CPU 1
#define RSC_TYPE_ANY -1
#define RSC_TYPE_CPU 0
struct PROJECT;
struct RESULT;

View File

@ -488,7 +488,8 @@ void CProjectInfoPage::OnProjectSelected( wxCommandEvent& WXUNUSED(event) ) {
EllipseStringIfNeeded(strURL, m_pProjectDetailsURLCtrl);
// Populate the project details area
m_pProjectDetailsDescriptionCtrl->SetPage(pProjectInfo->m_strDescription);
wxString desc = wxString("<font size=-2>", wxConvUTF8)+pProjectInfo->m_strDescription+wxString("</font>", wxConvUTF8);
m_pProjectDetailsDescriptionCtrl->SetPage(desc);
m_pProjectDetailsURLCtrl->SetLabel(strURL);
m_pProjectDetailsURLCtrl->SetURL(pProjectInfo->m_strURL);
// Set tooltip to full text in case ellipsed