From 5c02f7388b7b4a4fdbc017f37f4cf884ac3c0135 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Thu, 13 Jan 2011 18:52:46 +0000 Subject: [PATCH] - MGR: Disable the background repaint events for the SGUI Messages and SGUI Preferences dialog. Changing the font color wasn't as easy as I had hoped and the black background for the skin doesn't do any good when the text itself is black as well. clientgui/ sg_DlgMessages.cpp sg_DlgPreferences.cpp svn path=/trunk/boinc/; revision=22900 --- checkin_notes | 228 +++++++++++++++++--------------- clientgui/sg_DlgMessages.cpp | 2 +- clientgui/sg_DlgPreferences.cpp | 4 +- 3 files changed, 122 insertions(+), 112 deletions(-) diff --git a/checkin_notes b/checkin_notes index f43c79e429..83c9926ee2 100644 --- a/checkin_notes +++ b/checkin_notes @@ -1,115 +1,125 @@ -David 1 Jan 2011 - - fix some bad file permissions - - delist defunct stats site - - clientgui/ - DlgItemProperties.cpp,h - AsynRPC.cpp - html/inc/ - stats_sites.inc - samples/ - wrapper/ - wrapper.cpp - example_app/ - uc2.cpp - client/ - sim_control.cpp - -David 2 Jan 2011 - - unix build: remove hardwired -ldl - - lib/ - Makefile.am - -David 3 Jan 2011 - - client: show a given system notice at most once a week - - client/ - client_msgs.cpp - sim_control.cpp - cs_notice.cpp - -Charlie 4 Jan 2010 - - Mac: Fix symbol table generation. - - mac_build/ - boinc.xcodeproj/ - project.pbxproj - -David 6 Jan 2011 - - user web: fix bugs in server status page - - fix some indentation - - html/user/ - server_status.php - client/ - *.cpp - -David 6 Jan 2011 - - simulator work - - fix some indentation - - various files - -David 11 Jan 2011 - - client: use std::deque instead of std::vector - for RR sim's pending-job lists. - Erasing head of vector is slow. - - lib: allow GPU peak FLOPS to be specified in XML (for simulator) - - simulator work - - client: old work fetch policy: projects may need enough jobs - for all device instances, not just resource_share*ninst. - E.g. a project that has only CPU jobs in a CPU/GPU client - - client: with REC scheduling, don't ask for work for - secondary resources if project has negative priority. - - client: in RR sim, make sure we saturate devices if possible. - Otherwise we may report a shortfall incorrectly - - client/ - coproc_detect.cpp - cpu_sched.cpp - rr_sim.cpp,h - sim.cpp - sim_control.php - sim_scenario.php (new) - work_fetch.cpp,h - lib/ - coproc.cpp,h - sched/ - sched_customize.cpp - sched_types.cpp - -David 11 Jan 2011 - - client: set PROJECT::last_upload_start when a job completes, - NOT when its first upload starts. - This prevents a scheduler RPC from happening between the two. - This was a bug in [22841] - - client/ - cs_apps.cpp - pers_file_xfer.cpp - -David 12 Jan 2011 - - client: tweak [22842] so that system clock changes - of < 60 seconds are ignored - - client/ - client_state.h - -Rom 12 Jan 2011 - - MGR: Embed the BOINC skin in the executable using XPM files. - +David 1 Jan 2011 + - fix some bad file permissions + - delist defunct stats site + + clientgui/ + DlgItemProperties.cpp,h + AsynRPC.cpp + html/inc/ + stats_sites.inc + samples/ + wrapper/ + wrapper.cpp + example_app/ + uc2.cpp + client/ + sim_control.cpp + +David 2 Jan 2011 + - unix build: remove hardwired -ldl + + lib/ + Makefile.am + +David 3 Jan 2011 + - client: show a given system notice at most once a week + + client/ + client_msgs.cpp + sim_control.cpp + cs_notice.cpp + +Charlie 4 Jan 2010 + - Mac: Fix symbol table generation. + + mac_build/ + boinc.xcodeproj/ + project.pbxproj + +David 6 Jan 2011 + - user web: fix bugs in server status page + - fix some indentation + + html/user/ + server_status.php + client/ + *.cpp + +David 6 Jan 2011 + - simulator work + - fix some indentation + + various files + +David 11 Jan 2011 + - client: use std::deque instead of std::vector + for RR sim's pending-job lists. + Erasing head of vector is slow. + - lib: allow GPU peak FLOPS to be specified in XML (for simulator) + - simulator work + - client: old work fetch policy: projects may need enough jobs + for all device instances, not just resource_share*ninst. + E.g. a project that has only CPU jobs in a CPU/GPU client + - client: with REC scheduling, don't ask for work for + secondary resources if project has negative priority. + - client: in RR sim, make sure we saturate devices if possible. + Otherwise we may report a shortfall incorrectly + + client/ + coproc_detect.cpp + cpu_sched.cpp + rr_sim.cpp,h + sim.cpp + sim_control.php + sim_scenario.php (new) + work_fetch.cpp,h + lib/ + coproc.cpp,h + sched/ + sched_customize.cpp + sched_types.cpp + +David 11 Jan 2011 + - client: set PROJECT::last_upload_start when a job completes, + NOT when its first upload starts. + This prevents a scheduler RPC from happening between the two. + This was a bug in [22841] + + client/ + cs_apps.cpp + pers_file_xfer.cpp + +David 12 Jan 2011 + - client: tweak [22842] so that system clock changes + of < 60 seconds are ignored + + client/ + client_state.h + +Rom 12 Jan 2011 + - MGR: Embed the BOINC skin in the executable using XPM files. + clientgui/res/skins/default/graphic/ clientgui/ SkinManager.cpp win_build/ boincmgr.vcproj - -David 12 Jan 2011 - - single-job submission system: don't hardwire i686 architecture; - make it work on any Linux system. - From Steffen Moller. - - html/ops/ - single_job_setup.php + +David 12 Jan 2011 + - single-job submission system: don't hardwire i686 architecture; + make it work on any Linux system. + From Steffen Moller. + + html/ops/ + single_job_setup.php + +Rom 13 Jan 2011 + - MGR: Disable the background repaint events for the SGUI Messages and + SGUI Preferences dialog. Changing the font color wasn't as easy as + I had hoped and the black background for the skin doesn't do any + good when the text itself is black as well. + + clientgui/ + sg_DlgMessages.cpp + sg_DlgPreferences.cpp diff --git a/clientgui/sg_DlgMessages.cpp b/clientgui/sg_DlgMessages.cpp index c6b16d43a3..1151230539 100644 --- a/clientgui/sg_DlgMessages.cpp +++ b/clientgui/sg_DlgMessages.cpp @@ -61,7 +61,7 @@ IMPLEMENT_DYNAMIC_CLASS( CPanelMessages, wxPanel ) BEGIN_EVENT_TABLE( CPanelMessages, wxPanel ) ////@begin CPanelPreferences event table entries - EVT_ERASE_BACKGROUND( CPanelMessages::OnEraseBackground ) + //EVT_ERASE_BACKGROUND( CPanelMessages::OnEraseBackground ) EVT_BUTTON( wxID_OK, CPanelMessages::OnOK ) EVT_BUTTON(ID_SIMPLE_HELP, CPanelMessages::OnButtonHelp) ////@end CPanelPreferences event table entries diff --git a/clientgui/sg_DlgPreferences.cpp b/clientgui/sg_DlgPreferences.cpp index be3bf01232..b71163cfc1 100644 --- a/clientgui/sg_DlgPreferences.cpp +++ b/clientgui/sg_DlgPreferences.cpp @@ -206,7 +206,7 @@ IMPLEMENT_DYNAMIC_CLASS( CPanelPreferences, wxPanel ) BEGIN_EVENT_TABLE( CPanelPreferences, wxPanel ) ////@begin CPanelPreferences event table entries - EVT_ERASE_BACKGROUND( CPanelPreferences::OnEraseBackground ) + //EVT_ERASE_BACKGROUND( CPanelPreferences::OnEraseBackground ) EVT_CHECKBOX( ID_CUSTOMIZEPREFERENCES, CPanelPreferences::OnCustomizePreferencesClick ) EVT_COMBOBOX( ID_WORKBETWEENBEGIN, CPanelPreferences::OnWorkBetweenBeginSelected ) EVT_COMBOBOX( ID_CONNECTBETWEENBEGIN, CPanelPreferences::OnConnectBetweenBeginSelected ) @@ -273,6 +273,7 @@ void CPanelPreferences::CreateControls() wxASSERT(wxDynamicCast(pSkinSimple, CSkinSimple)); CPanelPreferences* itemDialog1 = this; + itemDialog1->SetForegroundColour(wxColour(wxT("White"))); wxBoxSizer* itemBoxSizer2 = new wxBoxSizer(wxVERTICAL); itemDialog1->SetSizer(itemBoxSizer2); @@ -281,7 +282,6 @@ void CPanelPreferences::CreateControls() itemBoxSizer2->Add(itemFlexGridSizer3, 0, wxGROW|wxALL, 5); CTransparentStaticText* itemStaticText4 = new CTransparentStaticText( itemDialog1, wxID_ANY, _("Skin"), wxDefaultPosition, wxDefaultSize, 0 ); - itemStaticText4->SetForegroundColour(wxColor(wxT("White"))); itemStaticText4->SetFont(wxFont(LARGE_FONT, wxSWISS, wxNORMAL, wxBOLD, false, _T("Arial"))); itemFlexGridSizer3->Add(itemStaticText4, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);