diff options
Diffstat (limited to 'indra')
| -rwxr-xr-x | indra/llcommon/llapp.cpp | 6 | ||||
| -rwxr-xr-x | indra/llcommon/llcoros.cpp | 4 | ||||
| -rwxr-xr-x | indra/llcommon/llerrorthread.cpp | 2 | ||||
| -rwxr-xr-x | indra/llcommon/llsys.cpp | 6 | ||||
| -rwxr-xr-x | indra/llmessage/llurlrequest.cpp | 10 | ||||
| -rwxr-xr-x | indra/media_plugins/winmmshim/winmm_shim.cpp | 2 | ||||
| -rwxr-xr-x | indra/newview/llpanelface.cpp | 2 | ||||
| -rwxr-xr-x | indra/viewer_components/login/lllogin.cpp | 36 | 
8 files changed, 33 insertions, 35 deletions
| diff --git a/indra/llcommon/llapp.cpp b/indra/llcommon/llapp.cpp index b66fc82250..67a98d5fb8 100755 --- a/indra/llcommon/llapp.cpp +++ b/indra/llcommon/llapp.cpp @@ -378,7 +378,7 @@ void LLApp::startErrorThread()  	//  	if(!mThreadErrorp)  	{ -//		llinfos << "Starting error thread" << llendl; +		llinfos << "Starting error thread" << llendl;  		mThreadErrorp = new LLErrorThread();  		mThreadErrorp->setUserData((void *) this);  		mThreadErrorp->start(); @@ -986,9 +986,9 @@ bool windows_post_minidump_callback(const wchar_t* dump_path,  	}  	llinfos << "generated minidump: " << LLApp::instance()->getMiniDumpFilename() << llendl; -    // *NOTE:Mani - this code is stolen from LLApp, where its never actually used. +   // *NOTE:Mani - this code is stolen from LLApp, where its never actually used.  	//OSMessageBox("Attach Debugger Now", "Error", OSMB_OK); -    // *TODO: Translate the signals/exceptions into cross-platform stuff +   // *TODO: Translate the signals/exceptions into cross-platform stuff  	// Windows implementation  	llinfos << "Entering Windows Exception Handler..." << llendl; diff --git a/indra/llcommon/llcoros.cpp b/indra/llcommon/llcoros.cpp index a629f71d4b..baaddcaed1 100755 --- a/indra/llcommon/llcoros.cpp +++ b/indra/llcommon/llcoros.cpp @@ -60,7 +60,7 @@ bool LLCoros::cleanup(const LLSD&)          // since last tick?          if (mi->second->exited())          { -            LL_INFOS("LLCoros") << "LLCoros: cleaning up coroutine " << mi->first << LL_ENDL; +			   LL_INFOS("LLCoros") << "LLCoros: cleaning up coroutine " << mi->first << LL_ENDL;              // The erase() call will invalidate its passed iterator value --              // so increment mi FIRST -- but pass its original value to              // erase(). This is what postincrement is all about. @@ -94,7 +94,7 @@ std::string LLCoros::generateDistinctName(const std::string& prefix) const      {          if (mCoros.find(name) == mCoros.end())          { -            LL_INFOS("LLCoros") << "LLCoros: launching coroutine " << name << LL_ENDL; +			   LL_INFOS("LLCoros") << "LLCoros: launching coroutine " << name << LL_ENDL;              return name;          }      } diff --git a/indra/llcommon/llerrorthread.cpp b/indra/llcommon/llerrorthread.cpp index 4a0c8ef342..950fcd6e83 100755 --- a/indra/llcommon/llerrorthread.cpp +++ b/indra/llcommon/llerrorthread.cpp @@ -106,7 +106,7 @@ void LLErrorThread::run()  	// This thread sits and waits for the sole purpose  	// of waiting for the signal/exception handlers to flag the  	// application state as APP_STATUS_ERROR. -	//llinfos << "thread_error - Waiting for an error" << llendl; +	llinfos << "thread_error - Waiting for an error" << llendl;  	S32 counter = 0;  #if !LL_WINDOWS diff --git a/indra/llcommon/llsys.cpp b/indra/llcommon/llsys.cpp index b8e8125e68..57a6de9060 100755 --- a/indra/llcommon/llsys.cpp +++ b/indra/llcommon/llsys.cpp @@ -1032,9 +1032,9 @@ LLMemoryInfo& LLMemoryInfo::refresh()  {  	mStatsMap = loadStatsMap(); -//	LL_DEBUGS("LLMemoryInfo") << "Populated mStatsMap:\n"; -//	LLSDSerialize::toPrettyXML(mStatsMap, LL_CONT); -//	LL_ENDL; +	LL_DEBUGS("LLMemoryInfo") << "Populated mStatsMap:\n"; +	LLSDSerialize::toPrettyXML(mStatsMap, LL_CONT); +	LL_ENDL;  	return *this;  } diff --git a/indra/llmessage/llurlrequest.cpp b/indra/llmessage/llurlrequest.cpp index 627d591839..de9e2fe294 100755 --- a/indra/llmessage/llurlrequest.cpp +++ b/indra/llmessage/llurlrequest.cpp @@ -314,11 +314,11 @@ LLIOPipe::EStatus LLURLRequest::process_impl(  		 const F32 TIMEOUT_ADJUSTMENT = 2.0f;  		 mDetail->mByteAccumulator = 0;  		 pump->adjustTimeoutSeconds(TIMEOUT_ADJUSTMENT); -		 lldebugs << "LLURLRequest adjustTimeoutSeconds for request: " << mDetail->mURL << llendl; -		 if (mState == STATE_INITIALIZED) -		 { -			  llinfos << "LLURLRequest adjustTimeoutSeconds called during upload" << llendl; -		 } +		lldebugs << "LLURLRequest adjustTimeoutSeconds for request: " << mDetail->mURL << llendl; +		if (mState == STATE_INITIALIZED) +		{ +			llinfos << "LLURLRequest adjustTimeoutSeconds called during upload" << llendl; +		}  	}  	switch(mState) diff --git a/indra/media_plugins/winmmshim/winmm_shim.cpp b/indra/media_plugins/winmmshim/winmm_shim.cpp index 47a1e5c018..aac349bf57 100755 --- a/indra/media_plugins/winmmshim/winmm_shim.cpp +++ b/indra/media_plugins/winmmshim/winmm_shim.cpp @@ -56,7 +56,7 @@ void ll_winmm_shim_initialize(){  		// grab winmm.dll from system path, where it should live  		wsprintf(dll_path, "%s\\winmm.dll", system_path);  		HMODULE winmm_handle = ::LoadLibrary(dll_path); -		 +  		if (winmm_handle != NULL)  		{	// we have a dll, let's get out pointers!  			initialized = true; diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp index dcedbba81b..01ed6e84b8 100755 --- a/indra/newview/llpanelface.cpp +++ b/indra/newview/llpanelface.cpp @@ -2387,8 +2387,6 @@ void LLPanelFace::onCommitRepeatsPerMeter(LLUICtrl* ctrl, void* userdata)  {  	LLPanelFace* self = (LLPanelFace*) userdata; -	gFocusMgr.setKeyboardFocus( NULL ); -  	LLUICtrl* repeats_ctrl = self->getChild<LLUICtrl>("rptctrl");  	F32 repeats_per_meter = repeats_ctrl->getValue().asReal(); diff --git a/indra/viewer_components/login/lllogin.cpp b/indra/viewer_components/login/lllogin.cpp index 3357ad812d..8f33b2ad58 100755 --- a/indra/viewer_components/login/lllogin.cpp +++ b/indra/viewer_components/login/lllogin.cpp @@ -137,7 +137,7 @@ void LLLogin::Impl::login_(LLCoros::self& self, std::string uri, LLSD login_para  	//{  	//	printable_params["params"]["passwd"] = "*******";  	//} -    LL_DEBUGS("LLLogin") << "Entering coroutine " << LLCoros::instance().getName(self) +	LL_DEBUGS("LLLogin") << "Entering coroutine " << LLCoros::instance().getName(self)                          << " with uri '" << uri << "', parameters " << printable_params << LL_ENDL;  	// Arriving in SRVRequest state @@ -146,23 +146,23 @@ void LLLogin::Impl::login_(LLCoros::self& self, std::string uri, LLSD login_para      LLSD rewrittenURIs;      { -        LLEventTimeout filter(replyPump); -        sendProgressEvent("offline", "srvrequest"); +		LLEventTimeout filter(replyPump); +		sendProgressEvent("offline", "srvrequest"); -        // Request SRV record. -        LL_DEBUGS("LLLogin") << "Requesting SRV record from " << uri << LL_ENDL; +      // Request SRV record. +		LL_DEBUGS("LLLogin") << "Requesting SRV record from " << uri << LL_ENDL; -        // *NOTE:Mani - Completely arbitrary default timeout value for SRV request. +      // *NOTE:Mani - Completely arbitrary default timeout value for SRV request.  		F32 seconds_to_timeout = 5.0f;  		if(login_params.has("cfg_srv_timeout"))  		{  			seconds_to_timeout = login_params["cfg_srv_timeout"].asReal();  		} -        // If the SRV request times out (e.g. EXT-3934), simulate response: an -        // array containing our original URI. -        LLSD fakeResponse(LLSD::emptyArray()); -        fakeResponse.append(uri); +		// If the SRV request times out (e.g. EXT-3934), simulate response: an +		// array containing our original URI. +		LLSD fakeResponse(LLSD::emptyArray()); +		fakeResponse.append(uri);  		filter.eventAfter(seconds_to_timeout, fakeResponse);  		std::string srv_pump_name = "LLAres"; @@ -172,13 +172,13 @@ void LLLogin::Impl::login_(LLCoros::self& self, std::string uri, LLSD login_para  		}  		// Make request -        LLSD request; -        request["op"] = "rewriteURI"; -        request["uri"] = uri; -        request["reply"] = replyPump.getName(); -        rewrittenURIs = postAndWait(self, request, srv_pump_name, filter); -        // EXP-772: If rewrittenURIs fail, try original URI as a fallback. -        rewrittenURIs.append(uri); +		LLSD request; +		request["op"] = "rewriteURI"; +		request["uri"] = uri; +		request["reply"] = replyPump.getName(); +		rewrittenURIs = postAndWait(self, request, srv_pump_name, filter); +		// EXP-772: If rewrittenURIs fail, try original URI as a fallback. +		rewrittenURIs.append(uri);      } // we no longer need the filter      LLEventPump& xmlrpcPump(LLEventPumps::instance().obtain("LLXMLRPCTransaction")); @@ -230,7 +230,7 @@ void LLLogin::Impl::login_(LLCoros::self& self, std::string uri, LLSD login_para                  // Still Downloading -- send progress update.                  sendProgressEvent("offline", "downloading");              } -				  +	  			LL_DEBUGS("LLLogin") << "Auth Response: " << mAuthResponse << LL_ENDL;              status = mAuthResponse["status"].asString(); | 
