# HG changeset patch # User Dremov Kirill (Nokia-D-MSW/Tampere) # Date 1266613987 -7200 # Node ID ca392eff71523a3370ed5fc11be08c77fb6c15c1 # Parent c8caa15ef8826278b00dd18a8421e6a235c9a89d Revision: 201003 Kit: 201007 diff -r c8caa15ef882 -r ca392eff7152 XDMSettingsUI/src/XDMPlugin.cpp --- a/XDMSettingsUI/src/XDMPlugin.cpp Tue Feb 02 01:05:17 2010 +0200 +++ b/XDMSettingsUI/src/XDMPlugin.cpp Fri Feb 19 23:13:07 2010 +0200 @@ -412,9 +412,9 @@ // void CXDMPlugin::HandleResourceChangeManual(TInt aType) { - if (iMainListContainer) + if ( iSettingListContainer ) iSettingListContainer->HandleResourceChangeManual(aType); - if (iSettingListContainer) + if ( iMainListContainer ) iMainListContainer->HandleResourceChangeManual(aType); } @@ -465,6 +465,10 @@ { cba->SetCommandSetL(R_XDMUI_MAINVIEW_SOFTKEYS_SL); cba->MakeCommandVisible( EGSXDMPluginCmdChange, ETrue); + if ( iSettingListContainer->IsVisible() ) + { + iCurrentContainer->DrawNow(); + } } cba->DrawNow(); } diff -r c8caa15ef882 -r ca392eff7152 xdmprotocols/XcapProtocol/XcapHttpTransport/src/XcapHttpAuthManager.cpp --- a/xdmprotocols/XcapProtocol/XcapHttpTransport/src/XcapHttpAuthManager.cpp Tue Feb 02 01:05:17 2010 +0200 +++ b/xdmprotocols/XcapProtocol/XcapHttpTransport/src/XcapHttpAuthManager.cpp Fri Feb 19 23:13:07 2010 +0200 @@ -298,13 +298,12 @@ iTransportMain.WriteToLog( _L8( "CXcapHttpAuthManager::RequestDigestLC()" ) ); #endif HBufC8* ret = NULL; - TPtrC8 nonce( iServerNonce->Des() ); if( iQop == EXcapAuth || iQop == EXcapAuthInt ) { TBuf8<8> nonceCount; TBuf8 hashBush; nonceCount.AppendFormat( _L8( "%08x" ), iNonceCount ); - TPtrC8 nonce( iServerNonce->Des() ); + TPtrC8 nonce( iServerNonce ? iServerNonce->Des() : TPtrC8() ); TPtrC8 qop( iQop == EXcapAuth ? _L8( "auth" ) : _L8( "auth-int" ) ); HBufC8* stringToHash = HBufC8::NewLC( nonce.Length() + qop.Length() + 3 * KXcapHashLength + 8 + 5 ); @@ -321,7 +320,7 @@ desc.Append(':'); ConstructHA2L( hashBush, aHttpRequest ); desc.Append( hashBush ); - hashBush.Zero(); + hashBush.Zero(); ret = HBufC8::NewL( KXcapHashLength ); Hash( *stringToHash, hashBush ); ret->Des().Copy( hashBush ); @@ -509,16 +508,19 @@ #ifdef _DEBUG iTransportMain.WriteToLog( _L8( "CXcapHttpAuthManager::ConstructHA1L()" ) ); #endif + + TPtrC8 realm( iRealm ? iRealm->Des() : TPtrC8() ); + HBufC8* buffer = HBufC8::NewLC( iUserName.Length() + - iPassword.Length() + iRealm->Des().Length() + 2 ); + iPassword.Length() + realm.Length() + 2 ); TPtr8 desc( buffer->Des() ); desc.Copy( iUserName ); desc.Append(':'); - desc.Append( iRealm->Des() ); + desc.Append( realm ); desc.Append(':'); desc.Append( iPassword ); Hash( *buffer, aResult ); - CleanupStack::PopAndDestroy(); //buffer + CleanupStack::PopAndDestroy(); //buffer } // ---------------------------------------------------------- diff -r c8caa15ef882 -r ca392eff7152 xdmprotocols/XdmXmlParser/src/XdmXmlContentHandler.cpp --- a/xdmprotocols/XdmXmlParser/src/XdmXmlContentHandler.cpp Tue Feb 02 01:05:17 2010 +0200 +++ b/xdmprotocols/XdmXmlParser/src/XdmXmlContentHandler.cpp Fri Feb 19 23:13:07 2010 +0200 @@ -254,7 +254,14 @@ } } } - else iCurrentNode = iCurrentNode->Parent(); + else if ( iCurrentNode ) + { + iCurrentNode = iCurrentNode->Parent(); + } + else + { + // For PC-lint note + } } // ---------------------------------------------------------