diff options
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llchatbar.cpp | 3 | ||||
| -rw-r--r-- | indra/newview/llfloaterimnearbychat.cpp | 2 | ||||
| -rw-r--r-- | indra/newview/llstartup.cpp | 3 | ||||
| -rw-r--r-- | indra/newview/llviewermessage.cpp | 1 | ||||
| -rw-r--r-- | indra/newview/llviewerstats.cpp | 3 | ||||
| -rw-r--r-- | indra/newview/llworldmipmap.cpp | 2 | 
6 files changed, 13 insertions, 1 deletions
diff --git a/indra/newview/llchatbar.cpp b/indra/newview/llchatbar.cpp index 3ab5c669c4..e400609a74 100644 --- a/indra/newview/llchatbar.cpp +++ b/indra/newview/llchatbar.cpp @@ -58,6 +58,7 @@  #include "llmultigesture.h"  #include "llui.h"  #include "lluictrlfactory.h" +#include "lluiusage.h"  //  // Globals @@ -566,6 +567,8 @@ void LLChatBar::sendChatFromViewer(const LLWString &wtext, EChatType type, BOOL  	// as soon as we say something, we no longer care about teaching the user  	// how to chat  	gWarningSettings.setBOOL("FirstOtherChatBeforeUser", FALSE); + +	LLUIUsage::instance().logCommand("Chat.Send"); // Pseudo-command  	// Look for "/20 foo" channel chats.  	S32 channel = 0; diff --git a/indra/newview/llfloaterimnearbychat.cpp b/indra/newview/llfloaterimnearbychat.cpp index a6531ed7e1..3a850d4b68 100644 --- a/indra/newview/llfloaterimnearbychat.cpp +++ b/indra/newview/llfloaterimnearbychat.cpp @@ -67,6 +67,7 @@  #include "llviewerchat.h"  #include "lltranslate.h"  #include "llautoreplace.h" +#include "lluiusage.h"  S32 LLFloaterIMNearbyChat::sLastSpecialChatChannel = 0; @@ -697,6 +698,7 @@ void LLFloaterIMNearbyChat::sendChatFromViewer(const std::string &utf8text, ECha  void LLFloaterIMNearbyChat::sendChatFromViewer(const LLWString &wtext, EChatType type, BOOL animate)  { +	LLUIUsage::instance().logCommand("Chat.Send"); // pseuo-command  	// Look for "/20 foo" channel chats.  	S32 channel = 0;  	LLWString out_text = stripChannelNumber(wtext, &channel); diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index 17777c3ceb..b458582fa8 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -142,6 +142,7 @@  #include "lltoolmgr.h"  #include "lltrans.h"  #include "llui.h" +#include "lluiusage.h"  #include "llurldispatcher.h"  #include "llurlentry.h"  #include "llslurl.h" @@ -2257,6 +2258,8 @@ bool idle_startup()  		gAgentAvatarp->sendHoverHeight(); +		LLUIUsage::instance().clear(); +  		return TRUE;  	} diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 458fc3b13d..0d1b074743 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -116,7 +116,6 @@  #include "llviewerregion.h"  #include "llfloaterregionrestarting.h" -#include <boost/algorithm/string/split.hpp> //  #include <boost/foreach.hpp>  #include "llnotificationmanager.h" // diff --git a/indra/newview/llviewerstats.cpp b/indra/newview/llviewerstats.cpp index 05f88b0a75..314c1a1f1e 100644 --- a/indra/newview/llviewerstats.cpp +++ b/indra/newview/llviewerstats.cpp @@ -63,6 +63,7 @@  #include "llsdutil.h"  #include "llcorehttputil.h"  #include "llvoicevivox.h" +#include "lluiusage.h"  namespace LLStatViewer  { @@ -577,6 +578,8 @@ void send_viewer_stats(bool include_preferences)  	fail["invalid"] = (S32) gMessageSystem->mInvalidOnCircuitPackets;  	fail["missing_updater"] = (S32) LLAppViewer::instance()->isUpdaterMissing(); +	body["ui"] = LLUIUsage::instance().asLLSD(); +		  	body["stats"]["voice"] = LLVoiceVivoxStats::getInstance()->read();  	// Misc stats, two strings and two ints diff --git a/indra/newview/llworldmipmap.cpp b/indra/newview/llworldmipmap.cpp index a2e519a61a..040d0deaf3 100644 --- a/indra/newview/llworldmipmap.cpp +++ b/indra/newview/llworldmipmap.cpp @@ -190,6 +190,8 @@ LLPointer<LLViewerFetchedTexture> LLWorldMipmap::loadObjectsTile(U32 grid_x, U32  	//LL_INFOS("WorldMap") << "LLWorldMipmap::loadObjectsTile(), URL = " << imageurl << LL_ENDL;  	LLPointer<LLViewerFetchedTexture> img = LLViewerTextureManager::getFetchedTextureFromUrl(imageurl, FTT_MAP_TILE, TRUE, LLGLTexture::BOOST_NONE, LLViewerTexture::LOD_TEXTURE); +	LL_INFOS("MAPURL") << "fetching map tile from " << imageurl << LL_ENDL; +  	img->setBoostLevel(LLGLTexture::BOOST_MAP);  	// Return the smart pointer  | 
