mirror of https://github.com/BOINC/boinc.git
cleaned up win_build
svn path=/trunk/boinc/; revision=1498
This commit is contained in:
parent
90f5fa2073
commit
6616e5c5eb
|
@ -52,6 +52,8 @@ void GLOBAL_PREFS::init() {
|
|||
idle_time_to_run = 0;
|
||||
max_bytes_sec_up = 1e9;
|
||||
max_bytes_sec_down = 1e9;
|
||||
max_memory_mbytes = 128;
|
||||
cpu_affinity = -1;
|
||||
};
|
||||
|
||||
GLOBAL_PREFS::GLOBAL_PREFS() {
|
||||
|
@ -143,6 +145,10 @@ int GLOBAL_PREFS::parse(FILE* in, char* host_venue) {
|
|||
} else if (parse_double(buf, "<max_bytes_sec_down>", max_bytes_sec_down)) {
|
||||
if (max_bytes_sec_down <= 0) max_bytes_sec_down = 1e12;
|
||||
continue;
|
||||
} else if (parse_int(buf, "<max_memory_mbytes>", max_memory_mbytes)) {
|
||||
continue;
|
||||
} else if (parse_int(buf, "<cpu_affinity>", cpu_affinity)) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
return ERR_XML_PARSE;
|
||||
|
|
|
@ -52,6 +52,8 @@ struct GLOBAL_PREFS {
|
|||
double idle_time_to_run;
|
||||
double max_bytes_sec_up;
|
||||
double max_bytes_sec_down;
|
||||
int max_memory_mbytes;
|
||||
int cpu_affinity;
|
||||
|
||||
GLOBAL_PREFS();
|
||||
void init();
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1 +1 @@
|
|||
Х&(( @──────────ююю───ЪЪЪЪЪЪЪЪЪЪЪЪ≥°≥≥≥л≥≥ю≥≥≥≥и≥≥л ≥≥≥░Юи≥≥░ли≥≥≥░Юи≥≥≥░лл≥≥DD@л≥≥≥≥°лдDDDDD≥≥≥≥ °лдDDDDDD≥≥≥°л≥≥лDDDDDDDD≥°лю≥лOЪЪТDDDDLлл OЪЪЪЪDDDLли░ ░НЮOТOТOЪDDLл≥░ллНDDOТDOТD@°люНDDOТDDЪDNН≥≥°лDDOТDDЪDN≥≥≥≥люDDOТDOЪD≥≥≥≥≥°лODOЪЪЪТ@ли≥≥≥≥≥лOЪЪЪЪТDDлли≥≥≥°лDDOТЪDDDLлли ≥°лDDOТOЪDDLллл ≥лллOТDOТDI≥≥░ °ллиDOТDOЪDI≥≥░лли≥DOТDDЪТL≥≥ли≥≥OЪТDDЪТL≥≥ли≥≥≥OЪЪDЪЪТЮи░ю≥≥≥OЪЪЪЪ@Н ≥≥≥DЪЪDI ≥░НлDD≥≥░ ░Ю°ли≥≥≥░лю░ °л≥≥≥≥ю≥≥л≥≥≥юи≥ЪЭ?ЪОюЪГЪБПППЮю──────ю─pПЬЧGЪГЪюВЪЭ?Ъ( ю─────────ююю───ЪЪЪЪЪЪЪЪЪЪЪЪD≥░DDD┤DDDDDIOЪЬ└DH OHТЪDH░≥DHТDТH≥≥DHТDЬH≥≥DHЬ┤Т┴≥≥OЪЪЬDI≥≥DHТЬDH≥≥≥HТHТH≥ ≤HТDВH░≤ЪТDЪH≈┤В▐В┴≤HЪD ≈┬░ЬЮюю──ююПЬ
|
||||
(( À€€€€€€€€€ÀÀÀ€€€ÿÿÿÿÿÿÿÿÿÿÿÿÿðÿÿðŸÿÿÿÿ ÿððŸ™ð<>ÿ ðù™ð™ Ÿððÿ Ÿðÿÿÿÿð Ÿðÿÿÿÿ ™Ÿððð™Ÿù™ð<>ÿ Ÿ<0F>ð<>ððð<>ðÿðÿðÿÿÿÀ€€À€€ÀÀàø
|
|
@ -0,0 +1,122 @@
|
|||
h( @€€€€€€€€€ÀÀÀÀÜÀðʦ""")))UUUMMMBBB999€|ÿPPÿ“ÖÿìÌÆÖïÖçç<C3A7>©3f™Ì3333f3™3Ì3ÿff3fff™fÌfÿ™™3™f™™™Ì™ÿÌÌ3ÌfÌ™ÌÌÌÿÿfÿ™ÿÌ3333f3™3Ì3ÿ3333333f33™33Ì33ÿ3f3f33ff3f™3fÌ3fÿ3™3™33™f3™™3™Ì3™ÿ3Ì3Ì33Ìf3Ì™3ÌÌ3Ìÿ3ÿ33ÿf3ÿ™3ÿÌ3ÿÿff3fff™fÌfÿf3f33f3ff3™f3Ìf3ÿffff3fffff™ffÌf™f™3f™ff™™f™Ìf™ÿfÌfÌ3fÌ™fÌÌfÌÿfÿfÿ3fÿ™fÿÌÌÿÿÌ™™™3™™™™Ì™™33™f™3Ì™ÿ™f™f3™3f™f™™fÌ™3ÿ™™3™™f™™™™™Ì™™ÿ™Ì™Ì3fÌf™Ì™™ÌÌ™Ìÿ™ÿ™ÿ3™Ìf™ÿ™™ÿÌ™ÿÿÌ™3ÌfÌ™ÌÌ™3Ì33Ì3fÌ3™Ì3ÌÌ3ÿÌfÌf3™ffÌf™ÌfÌ™fÿ̙̙3Ì™fÌ™™Ì™ÌÌ™ÿÌÌÌÌ3ÌÌfÌÌ™ÌÌÌÌÌÿÌÿÌÿ3™ÿfÌÿ™ÌÿÌÌÿÿÌ3ÿfÿ™Ì3ÿ33ÿ3fÿ3™ÿ3Ìÿ3ÿÿfÿf3Ìffÿf™ÿfÌÌfÿÿ™ÿ™3ÿ™fÿ™™ÿ™Ìÿ™ÿÿÌÿÌ3ÿÌfÿÌ™ÿÌÌÿÌÿÿÿ3Ìÿfÿÿ™ÿÿÌffÿfÿffÿÿÿffÿfÿÿÿf!¥___www†††–––ËË˲²²×××ÝÝÝãããêêêñññøøøðûÿ¤ €€€ÿÿÿÿÿÿÿÿÿÿÿÿ
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
ÿÿÿÿ
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
ÿÿÿÿÿ
|
||||
|
||||
|
||||
Óÿ
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
ÿÿÿÿÿÿÿÿ
|
||||
Óÿÿ
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
ÿÿ
|
||||
|
||||
ÿÿ
|
||||
Óÿ
|
||||
|
||||
|
||||
ÿÓÓ
|
||||
ÿÿ
|
||||
Ó
|
||||
ÿÿ
|
||||
Óÿ
|
||||
ÿÓÓÓ
|
||||
ÿÿ
|
||||
ÓÓ
|
||||
ÿ
|
||||
ÓÓÿÿ
|
||||
|
||||
|
||||
|
||||
ÿÿ
|
||||
|
||||
|
||||
ÿÿ
|
||||
ÓÓÿÿ
|
||||
ÿÿÿÿÿÿÿÿÿ
|
||||
|
||||
ÓÓÿÿ
|
||||
ÿÿÿÿÿÿÿÿ
|
||||
ÓÓÓÓÿÿ
|
||||
|
||||
|
||||
|
||||
ÿÿ
|
||||
|
||||
ÿÿ
|
||||
ÓÓÓÿÿÓÓÓ
|
||||
ÿÿ
|
||||
Ó
|
||||
ÿÿ
|
||||
ÓÓÿ
|
||||
ÿÓ
|
||||
|
||||
ÿÿ
|
||||
Ó
|
||||
|
||||
ÿÿ
|
||||
ÿ
|
||||
|
||||
|
||||
|
||||
ÿ
|
||||
ÿÿ
|
||||
Ó
|
||||
|
||||
ÿÿ
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
ÿÿÿÿ
|
||||
|
||||
ÿÿÿÿ
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
ÿÿÿÿÿÿÿ
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
À€€À€€ÀÀàø
|
|
@ -22,6 +22,7 @@
|
|||
#define IDD_QUIT 125
|
||||
#define IDD_PROXY 127
|
||||
#define IDD_CONNECT 129
|
||||
#define IDI_ICONSMALL 132
|
||||
#define IDC_LOGIN_URL 1000
|
||||
#define IDC_LOGIN_AUTH 1002
|
||||
#define IDC_LIST 1006
|
||||
|
@ -92,7 +93,7 @@
|
|||
//
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NEXT_RESOURCE_VALUE 130
|
||||
#define _APS_NEXT_RESOURCE_VALUE 134
|
||||
#define _APS_NEXT_COMMAND_VALUE 40043
|
||||
#define _APS_NEXT_CONTROL_VALUE 1035
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
|
|
|
@ -259,6 +259,7 @@ IDB_MESS BITMAP DISCARDABLE "res\\mess.bmp"
|
|||
// remains consistent on all systems.
|
||||
IDI_ICON ICON DISCARDABLE "res\\icon.ico"
|
||||
IDI_ICONHIGHLIGHT ICON DISCARDABLE "res\\iconhigh.ico"
|
||||
IDI_ICONSMALL ICON DISCARDABLE "res\\iconsmall.ico"
|
||||
|
||||
#ifndef _MAC
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -572,10 +572,12 @@ void CMainWindow::ShowTab(int nTab)
|
|||
m_TabCtrl.RedrawWindow(NULL, NULL, RDW_INVALIDATE|RDW_UPDATENOW|RDW_ERASE|RDW_FRAME);
|
||||
RedrawWindow();
|
||||
|
||||
/*
|
||||
// draw line between menu and tabs
|
||||
RECT rect = {0, 0, 0, 0}; GetClientRect(&rect);
|
||||
GetDC()->MoveTo(0, 0);
|
||||
GetDC()->LineTo(rect.right, 0);
|
||||
*/
|
||||
}
|
||||
|
||||
//////////
|
||||
|
@ -605,7 +607,7 @@ bool CMainWindow::SetStatusIcon(DWORD dwMessage)
|
|||
icon_data.hIcon = NULL;
|
||||
success = Shell_NotifyIcon(NIM_DELETE, &icon_data);
|
||||
} else if(dwMessage == ICON_NORMAL) {
|
||||
icon_data.hIcon = g_myApp.LoadIcon(IDI_ICON);
|
||||
icon_data.hIcon = g_myApp.LoadIcon(IDI_ICONSMALL);
|
||||
if(m_nIconState == ICON_OFF) {
|
||||
success = Shell_NotifyIcon(NIM_ADD, &icon_data);
|
||||
} else {
|
||||
|
@ -1460,7 +1462,8 @@ int CMainWindow::OnCreate(LPCREATESTRUCT lpcs)
|
|||
m_TabIL.Add(&m_TabBMP[4], RGB(255, 0, 255));
|
||||
|
||||
// create tab control
|
||||
m_TabCtrl.Create(TCS_FIXEDWIDTH|TCS_BUTTONS|TCS_FLATBUTTONS|TCS_FOCUSNEVER|WS_CHILD|WS_VISIBLE, CRect(0,0,0,0), this, TAB_ID);
|
||||
//m_TabCtrl.Create(TCS_FIXEDWIDTH|TCS_BUTTONS|TCS_FLATBUTTONS|TCS_FOCUSNEVER|WS_CHILD|WS_VISIBLE, CRect(0,0,0,0), this, TAB_ID);
|
||||
m_TabCtrl.Create(TCS_FIXEDWIDTH|TCS_FOCUSNEVER|WS_CHILD|WS_VISIBLE, CRect(0,0,0,0), this, TAB_ID);
|
||||
m_TabCtrl.SetImageList(&m_TabIL);
|
||||
m_TabCtrl.InsertItem(1, g_szTabItems[0], 0);
|
||||
m_TabCtrl.InsertItem(2, g_szTabItems[1], 1);
|
||||
|
@ -1710,10 +1713,12 @@ void CMainWindow::OnSize(UINT nType, int cx, int cy)
|
|||
|
||||
RedrawWindow(NULL,NULL,RDW_INVALIDATE|RDW_UPDATENOW|RDW_ERASE|RDW_FRAME);
|
||||
|
||||
/*
|
||||
// draw line between menu and tabs
|
||||
RECT rect = {0, 0, 0, 0}; GetClientRect(&rect);
|
||||
GetDC()->MoveTo(0, 0);
|
||||
GetDC()->LineTo(rect.right, 0);
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
2804
win_build/boinc.opt
2804
win_build/boinc.opt
File diff suppressed because it is too large
Load Diff
|
@ -430,6 +430,10 @@ SOURCE=..\client\win\boinc.bmp
|
|||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\client\win\res\boinc.bmp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\client\win\boincsm.bmp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
@ -448,6 +452,18 @@ SOURCE=..\client\win\res\icon.ico
|
|||
|
||||
SOURCE=..\client\win\res\iconhigh.ico
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\client\win\res\mess.bmp
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\client\win\res\small.ico
|
||||
# End Source File
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=..\client\win\res\smallico.ico
|
||||
# End Source File
|
||||
# End Group
|
||||
# End Target
|
||||
# End Project
|
||||
|
|
Loading…
Reference in New Issue