- 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
This commit is contained in:
Rom Walton 2011-01-13 18:52:46 +00:00
parent c7ab17fa21
commit 5c02f7388b
3 changed files with 122 additions and 112 deletions

View File

@ -1,115 +1,125 @@
David 1 Jan 2011 David 1 Jan 2011
- fix some bad file permissions - fix some bad file permissions
- delist defunct stats site - delist defunct stats site
clientgui/ clientgui/
DlgItemProperties.cpp,h DlgItemProperties.cpp,h
AsynRPC.cpp AsynRPC.cpp
html/inc/ html/inc/
stats_sites.inc stats_sites.inc
samples/ samples/
wrapper/ wrapper/
wrapper.cpp wrapper.cpp
example_app/ example_app/
uc2.cpp uc2.cpp
client/ client/
sim_control.cpp sim_control.cpp
David 2 Jan 2011 David 2 Jan 2011
- unix build: remove hardwired -ldl - unix build: remove hardwired -ldl
lib/ lib/
Makefile.am Makefile.am
David 3 Jan 2011 David 3 Jan 2011
- client: show a given system notice at most once a week - client: show a given system notice at most once a week
client/ client/
client_msgs.cpp client_msgs.cpp
sim_control.cpp sim_control.cpp
cs_notice.cpp cs_notice.cpp
Charlie 4 Jan 2010 Charlie 4 Jan 2010
- Mac: Fix symbol table generation. - Mac: Fix symbol table generation.
mac_build/ mac_build/
boinc.xcodeproj/ boinc.xcodeproj/
project.pbxproj project.pbxproj
David 6 Jan 2011 David 6 Jan 2011
- user web: fix bugs in server status page - user web: fix bugs in server status page
- fix some indentation - fix some indentation
html/user/ html/user/
server_status.php server_status.php
client/ client/
*.cpp *.cpp
David 6 Jan 2011 David 6 Jan 2011
- simulator work - simulator work
- fix some indentation - fix some indentation
various files various files
David 11 Jan 2011 David 11 Jan 2011
- client: use std::deque instead of std::vector - client: use std::deque instead of std::vector
for RR sim's pending-job lists. for RR sim's pending-job lists.
Erasing head of vector is slow. Erasing head of vector is slow.
- lib: allow GPU peak FLOPS to be specified in XML (for simulator) - lib: allow GPU peak FLOPS to be specified in XML (for simulator)
- simulator work - simulator work
- client: old work fetch policy: projects may need enough jobs - client: old work fetch policy: projects may need enough jobs
for all device instances, not just resource_share*ninst. for all device instances, not just resource_share*ninst.
E.g. a project that has only CPU jobs in a CPU/GPU client E.g. a project that has only CPU jobs in a CPU/GPU client
- client: with REC scheduling, don't ask for work for - client: with REC scheduling, don't ask for work for
secondary resources if project has negative priority. secondary resources if project has negative priority.
- client: in RR sim, make sure we saturate devices if possible. - client: in RR sim, make sure we saturate devices if possible.
Otherwise we may report a shortfall incorrectly Otherwise we may report a shortfall incorrectly
client/ client/
coproc_detect.cpp coproc_detect.cpp
cpu_sched.cpp cpu_sched.cpp
rr_sim.cpp,h rr_sim.cpp,h
sim.cpp sim.cpp
sim_control.php sim_control.php
sim_scenario.php (new) sim_scenario.php (new)
work_fetch.cpp,h work_fetch.cpp,h
lib/ lib/
coproc.cpp,h coproc.cpp,h
sched/ sched/
sched_customize.cpp sched_customize.cpp
sched_types.cpp sched_types.cpp
David 11 Jan 2011 David 11 Jan 2011
- client: set PROJECT::last_upload_start when a job completes, - client: set PROJECT::last_upload_start when a job completes,
NOT when its first upload starts. NOT when its first upload starts.
This prevents a scheduler RPC from happening between the two. This prevents a scheduler RPC from happening between the two.
This was a bug in [22841] This was a bug in [22841]
client/ client/
cs_apps.cpp cs_apps.cpp
pers_file_xfer.cpp pers_file_xfer.cpp
David 12 Jan 2011 David 12 Jan 2011
- client: tweak [22842] so that system clock changes - client: tweak [22842] so that system clock changes
of < 60 seconds are ignored of < 60 seconds are ignored
client/ client/
client_state.h client_state.h
Rom 12 Jan 2011 Rom 12 Jan 2011
- MGR: Embed the BOINC skin in the executable using XPM files. - MGR: Embed the BOINC skin in the executable using XPM files.
clientgui/res/skins/default/graphic/ clientgui/res/skins/default/graphic/
<Various Files> <Various Files>
clientgui/ clientgui/
SkinManager.cpp SkinManager.cpp
win_build/ win_build/
boincmgr.vcproj boincmgr.vcproj
David 12 Jan 2011 David 12 Jan 2011
- single-job submission system: don't hardwire i686 architecture; - single-job submission system: don't hardwire i686 architecture;
make it work on any Linux system. make it work on any Linux system.
From Steffen Moller. From Steffen Moller.
html/ops/ html/ops/
single_job_setup.php 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

View File

@ -61,7 +61,7 @@ IMPLEMENT_DYNAMIC_CLASS( CPanelMessages, wxPanel )
BEGIN_EVENT_TABLE( CPanelMessages, wxPanel ) BEGIN_EVENT_TABLE( CPanelMessages, wxPanel )
////@begin CPanelPreferences event table entries ////@begin CPanelPreferences event table entries
EVT_ERASE_BACKGROUND( CPanelMessages::OnEraseBackground ) //EVT_ERASE_BACKGROUND( CPanelMessages::OnEraseBackground )
EVT_BUTTON( wxID_OK, CPanelMessages::OnOK ) EVT_BUTTON( wxID_OK, CPanelMessages::OnOK )
EVT_BUTTON(ID_SIMPLE_HELP, CPanelMessages::OnButtonHelp) EVT_BUTTON(ID_SIMPLE_HELP, CPanelMessages::OnButtonHelp)
////@end CPanelPreferences event table entries ////@end CPanelPreferences event table entries

View File

@ -206,7 +206,7 @@ IMPLEMENT_DYNAMIC_CLASS( CPanelPreferences, wxPanel )
BEGIN_EVENT_TABLE( CPanelPreferences, wxPanel ) BEGIN_EVENT_TABLE( CPanelPreferences, wxPanel )
////@begin CPanelPreferences event table entries ////@begin CPanelPreferences event table entries
EVT_ERASE_BACKGROUND( CPanelPreferences::OnEraseBackground ) //EVT_ERASE_BACKGROUND( CPanelPreferences::OnEraseBackground )
EVT_CHECKBOX( ID_CUSTOMIZEPREFERENCES, CPanelPreferences::OnCustomizePreferencesClick ) EVT_CHECKBOX( ID_CUSTOMIZEPREFERENCES, CPanelPreferences::OnCustomizePreferencesClick )
EVT_COMBOBOX( ID_WORKBETWEENBEGIN, CPanelPreferences::OnWorkBetweenBeginSelected ) EVT_COMBOBOX( ID_WORKBETWEENBEGIN, CPanelPreferences::OnWorkBetweenBeginSelected )
EVT_COMBOBOX( ID_CONNECTBETWEENBEGIN, CPanelPreferences::OnConnectBetweenBeginSelected ) EVT_COMBOBOX( ID_CONNECTBETWEENBEGIN, CPanelPreferences::OnConnectBetweenBeginSelected )
@ -273,6 +273,7 @@ void CPanelPreferences::CreateControls()
wxASSERT(wxDynamicCast(pSkinSimple, CSkinSimple)); wxASSERT(wxDynamicCast(pSkinSimple, CSkinSimple));
CPanelPreferences* itemDialog1 = this; CPanelPreferences* itemDialog1 = this;
itemDialog1->SetForegroundColour(wxColour(wxT("White")));
wxBoxSizer* itemBoxSizer2 = new wxBoxSizer(wxVERTICAL); wxBoxSizer* itemBoxSizer2 = new wxBoxSizer(wxVERTICAL);
itemDialog1->SetSizer(itemBoxSizer2); itemDialog1->SetSizer(itemBoxSizer2);
@ -281,7 +282,6 @@ void CPanelPreferences::CreateControls()
itemBoxSizer2->Add(itemFlexGridSizer3, 0, wxGROW|wxALL, 5); itemBoxSizer2->Add(itemFlexGridSizer3, 0, wxGROW|wxALL, 5);
CTransparentStaticText* itemStaticText4 = new CTransparentStaticText( itemDialog1, wxID_ANY, _("Skin"), wxDefaultPosition, wxDefaultSize, 0 ); 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"))); itemStaticText4->SetFont(wxFont(LARGE_FONT, wxSWISS, wxNORMAL, wxBOLD, false, _T("Arial")));
itemFlexGridSizer3->Add(itemStaticText4, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5); itemFlexGridSizer3->Add(itemStaticText4, 0, wxALIGN_CENTER_HORIZONTAL|wxALIGN_CENTER_VERTICAL|wxALL, 5);