*** empty log message ***

svn path=/trunk/boinc/; revision=9490
This commit is contained in:
Rom Walton 2006-02-16 19:59:23 +00:00
parent 454c0f4081
commit 8e0d3dde71
4 changed files with 5 additions and 19 deletions

View File

@ -1937,6 +1937,7 @@ Rom 16 Feb 2006
defect from an account manager
- Remove CompletionUpdatePage.cpp and CompletionRemovePage.cpp
- Remove AccountManagerStatusPage.cpp
- Remove trace messages from boinc dll.
clientgui/
AccountManagerProcessingPage.cpp
@ -1951,3 +1952,6 @@ Rom 16 Feb 2006
clientgui/res/
stats.xpm (Added)
usage.xpm
clientlib/win/
BOINCSENSSink.cpp
NetworkTracker.cpp

View File

@ -318,7 +318,7 @@ void CWelcomePage::OnPageChanged( wxWizardExEvent& event ) {
);
strBuffer.Printf(
_("We'll now remove this computer from %s. You will\n"
"be responisible for managing the BOINC client software from\n"
"be responsible for managing the BOINC client software from\n"
"now on."),
pWAM->m_strProjectName.c_str()
);

View File

@ -43,9 +43,6 @@ void CBOINCSENSSink::FinalRelease()
HRESULT CBOINCSENSSink::ConnectionMade(BSTR bstrConnection, unsigned long ulType, SENS_QOCINFO * lpQOCInfo)
{
USES_CONVERSION;
ATLTRACE(TEXT("ConnectionMade: Connection: '%s' Type '%d'\n"), COLE2T(bstrConnection), ulType);
ATLTRACE(TEXT("ConnectionMade: dwSize '%d' dwFlags: '%d' dwOutSpeed '%d' dwInSpeed '%d'\n"),
lpQOCInfo->dwSize, lpQOCInfo->dwFlags, lpQOCInfo->dwOutSpeed, lpQOCInfo->dwInSpeed);
std::vector<PNETWORK_CONNECTION>::iterator iter;
BOOL bCachedConnectionFound = FALSE;
@ -62,7 +59,6 @@ HRESULT CBOINCSENSSink::ConnectionMade(BSTR bstrConnection, unsigned long ulType
}
if (!bCachedConnectionFound) {
ATLTRACE(TEXT("ConnectionMade: Creating new record.\n"));
PNETWORK_CONNECTION pNetworkConnection = new NETWORK_CONNECTION;
pNetworkConnection->bstrConnection = bstrConnection;
pNetworkConnection->ulType = ulType;
@ -76,7 +72,6 @@ HRESULT CBOINCSENSSink::ConnectionMade(BSTR bstrConnection, unsigned long ulType
HRESULT CBOINCSENSSink::ConnectionMadeNoQOCInfo(BSTR bstrConnection, unsigned long ulType)
{
USES_CONVERSION;
ATLTRACE(TEXT("ConnectionMadeNoQOCInfo: Connection: '%s' Type '%d'\n"), COLE2T(bstrConnection), ulType);
std::vector<PNETWORK_CONNECTION>::iterator iter;
BOOL bCachedConnectionFound = FALSE;
@ -105,7 +100,6 @@ HRESULT CBOINCSENSSink::ConnectionMadeNoQOCInfo(BSTR bstrConnection, unsigned lo
HRESULT CBOINCSENSSink::ConnectionLost(BSTR bstrConnection, unsigned long ulType)
{
USES_CONVERSION;
ATLTRACE(TEXT("ConnectionLost: Connection: '%s' Type '%d'\n"), COLE2T(bstrConnection), ulType);
std::vector<PNETWORK_CONNECTION>::iterator iter;
for (iter = gpNetworkConnections.begin(); iter != gpNetworkConnections.end(); iter++) {
if ((*iter)->bstrConnection == bstrConnection) {

View File

@ -42,16 +42,12 @@ EXTERN_C __declspec(dllexport) BOOL BOINCIsNetworkAlive( LPDWORD lpdwFlags )
BOOL bCachePopulated = FALSE;
PNETWORK_CONNECTION pNetworkConnection = NULL;
ATLTRACE(TEXT("BOINCIsNetworkAlive - Function Begin\n"));
// Check cached connection state
if (!gpNetworkConnections.empty()) {
ATLTRACE(TEXT("BOINCIsNetworkAlive - Using cached connection list\n"));
bCachePopulated = TRUE;
for (i=0; i<gpNetworkConnections.size(); i++) {
pNetworkConnection = gpNetworkConnections[i];
if (pNetworkConnection->ulType & *lpdwFlags) {
ATLTRACE(TEXT("BOINCIsNetworkAlive - Cached connection type found\n"));
bReturnValue = TRUE;
}
}
@ -60,7 +56,6 @@ EXTERN_C __declspec(dllexport) BOOL BOINCIsNetworkAlive( LPDWORD lpdwFlags )
// If we do not have any cached information, then fall back to other
// methods
if (!bCachePopulated) {
ATLTRACE(TEXT("BOINCIsNetworkAlive - Calling SENS IsNetworkAlive()\n"));
bReturnValue = IsNetworkAlive( lpdwFlags );
if (!bReturnValue) {
DWORD current_flags = NULL;
@ -77,7 +72,6 @@ EXTERN_C __declspec(dllexport) BOOL BOINCIsNetworkAlive( LPDWORD lpdwFlags )
if (NETWORK_ALIVE_AOL & *lpdwFlags)
desired_flags |= INTERNET_CONNECTION_LAN | INTERNET_CONNECTION_MODEM;
ATLTRACE(TEXT("BOINCIsNetworkAlive - Calling InternetGetConnectedState()\n"));
BOOL retval = InternetGetConnectedState(&current_flags, 0);
if (retval && (current_flags & desired_flags)) {
bReturnValue = TRUE;
@ -87,8 +81,6 @@ EXTERN_C __declspec(dllexport) BOOL BOINCIsNetworkAlive( LPDWORD lpdwFlags )
}
}
ATLTRACE(TEXT("BOINCIsNetworkAlive - Returning '%d'\n"), bReturnValue);
ATLTRACE(TEXT("BOINCIsNetworkAlive - Function End\n"));
return bReturnValue;
}
@ -98,12 +90,8 @@ EXTERN_C __declspec(dllexport) BOOL BOINCIsNetworkAlwaysOnline()
BOOL bReturnValue = FALSE;
DWORD dwFlags = NETWORK_ALIVE_LAN;
ATLTRACE(TEXT("BOINCIsNetworkAlwaysOnline - Function Begin\n"));
bReturnValue = BOINCIsNetworkAlive(&dwFlags);
ATLTRACE(TEXT("BOINCIsNetworkAlwaysOnline - Returning '%d'\n"), bReturnValue);
ATLTRACE(TEXT("BOINCIsNetworkAlwaysOnline - Function End\n"));
return bReturnValue;
}