From 23e8b5851088cc5be543e84059d29d38efea8875 Mon Sep 17 00:00:00 2001 From: NiranV <niranv.dean@googlemail.com> Date: Thu, 12 Nov 2020 02:46:26 +0100 Subject: [PATCH] Changed: Disabled all debug logs. --- indra/llappearance/llavatarappearance.cpp | 12 +- indra/llappearance/llavatarjointmesh.cpp | 12 +- indra/llappearance/llpolymesh.cpp | 6 +- indra/llappearance/lltexlayer.cpp | 6 +- indra/llappearance/lltexlayerparams.cpp | 2 +- indra/llappearance/llwearable.cpp | 2 +- indra/llaudio/llaudiodecodemgr.cpp | 12 +- indra/llaudio/llaudioengine.cpp | 10 +- indra/llaudio/llaudioengine_fmodstudio.cpp | 16 +- indra/llcharacter/llbvhloader.cpp | 22 +- indra/llcharacter/lljoint.cpp | 68 ++-- indra/llcharacter/lljointsolverrp3.cpp | 20 +- indra/llcharacter/llkeyframemotion.cpp | 64 +-- indra/llcharacter/llvisualparam.cpp | 2 +- indra/llcommon/llcallstack.h | 2 +- indra/llcommon/llcoros.cpp | 2 +- indra/llcommon/llerror.cpp | 4 +- indra/llcommon/llerror.h | 6 +- indra/llcommon/lleventcoro.cpp | 29 +- indra/llcommon/lleventdispatcher.cpp | 4 +- indra/llcommon/lleventfilter.cpp | 4 +- indra/llcommon/llfasttimer.cpp | 14 +- indra/llcommon/llfile.cpp | 2 +- indra/llcommon/llleap.cpp | 14 +- indra/llcommon/lllivefile.cpp | 6 +- indra/llcommon/llmemorystream.cpp | 2 +- indra/llcommon/llprocess.cpp | 28 +- indra/llcommon/llsingleton.cpp | 4 +- indra/llcommon/llsys.cpp | 6 +- indra/llcommon/lluri.cpp | 8 +- indra/llcorehttp/_httppolicy.cpp | 16 +- indra/llcorehttp/_httppolicyglobal.cpp | 6 +- indra/llcrashlogger/llcrashlogger.cpp | 16 +- indra/llimage/llimage.cpp | 4 +- indra/llimagej2coj/llimagej2coj.cpp | 12 +- indra/llinventory/llinventory.cpp | 30 +- indra/llinventory/lllandmark.cpp | 14 +- indra/llinventory/llsettingsbase.cpp | 2 +- indra/llinventory/lltransactionflags.cpp | 8 +- indra/llmath/llcalc.cpp | 2 +- indra/llmath/llrigginginfo.cpp | 2 +- indra/llmath/llvolume.cpp | 2 +- indra/llmessage/llassetstorage.cpp | 46 +-- indra/llmessage/llavatarname.cpp | 4 +- indra/llmessage/llavatarnamecache.cpp | 40 +- indra/llmessage/llblowfishcipher.cpp | 4 +- indra/llmessage/llbufferstream.cpp | 2 +- indra/llmessage/llcachename.cpp | 6 +- indra/llmessage/llcoproceduremanager.cpp | 6 +- indra/llmessage/llexperiencecache.cpp | 8 +- indra/llmessage/llfiltersd2xmlrpc.cpp | 16 +- indra/llmessage/llhttpnode.cpp | 10 +- indra/llmessage/llinstantmessage.cpp | 2 +- indra/llmessage/lliohttpserver.cpp | 22 +- indra/llmessage/lliopipe.cpp | 2 +- indra/llmessage/lliosocket.cpp | 36 +- indra/llmessage/llmail.cpp | 4 +- indra/llmessage/llmessageconfig.cpp | 12 +- indra/llmessage/llproxy.cpp | 2 +- indra/llmessage/llpumpio.cpp | 52 +-- indra/llmessage/llsdmessagebuilder.cpp | 2 +- indra/llmessage/lltemplatemessagereader.cpp | 8 +- indra/llmessage/lltransfermanager.cpp | 2 +- indra/llmessage/lltransfertargetvfile.cpp | 4 +- indra/llmessage/lluseroperation.cpp | 2 +- indra/llmessage/llxfer_file.cpp | 4 +- indra/llmessage/llxfermanager.cpp | 16 +- indra/llmessage/message.cpp | 30 +- indra/llmessage/net.cpp | 8 +- indra/llplugin/llpluginclassmedia.cpp | 18 +- indra/llplugin/llplugininstance.cpp | 4 +- indra/llplugin/llpluginmessagepipe.cpp | 6 +- indra/llplugin/llpluginprocesschild.cpp | 12 +- indra/llplugin/llpluginprocessparent.cpp | 24 +- indra/llplugin/llpluginsharedmemory.cpp | 8 +- indra/llprimitive/lldaeloader.cpp | 4 +- indra/llprimitive/llprimitive.cpp | 6 +- indra/llrender/llfontfreetype.cpp | 2 +- indra/llrender/llgl.cpp | 8 +- indra/llrender/llglslshader.cpp | 12 +- indra/llrender/llpostprocess.cpp | 2 +- indra/llrender/llrender.cpp | 8 +- indra/llrender/llshadermgr.cpp | 4 +- indra/llui/llbadge.cpp | 2 +- indra/llui/llbutton.cpp | 4 +- indra/llui/llcommandmanager.cpp | 2 +- indra/llui/lldraghandle.cpp | 4 +- indra/llui/llfloater.cpp | 4 +- indra/llui/llfloaterreg.cpp | 2 +- indra/llui/llfolderviewitem.cpp | 4 +- indra/llui/llfunctorregistry.h | 4 +- indra/llui/llkeywords.cpp | 2 +- indra/llui/lllineeditor.cpp | 4 +- indra/llui/llmenugl.cpp | 6 +- indra/llui/llmodaldialog.cpp | 2 +- indra/llui/llmultislider.cpp | 4 +- indra/llui/llnotifications.cpp | 22 +- indra/llui/llpanel.cpp | 2 +- indra/llui/llscrollbar.cpp | 4 +- indra/llui/llslider.cpp | 4 +- indra/llui/lltextbase.cpp | 4 +- indra/llui/lltexteditor.cpp | 2 +- indra/llui/lluictrl.cpp | 8 +- indra/llui/llview.cpp | 16 +- indra/llui/llviewereventrecorder.cpp | 30 +- indra/llvfs/lldir.cpp | 26 +- indra/llwindow/lldxhardware.cpp | 18 +- indra/llwindow/llkeyboard.cpp | 2 +- indra/llwindow/llwindowwin32.cpp | 36 +- indra/llxml/llcontrol.cpp | 2 +- indra/llxml/llxmlnode.cpp | 20 +- indra/newview/bdfloateranimator.cpp | 4 +- indra/newview/bdfloaterposer.cpp | 4 +- indra/newview/bdfunctions.cpp | 2 +- indra/newview/llaccountingcostmanager.cpp | 6 +- indra/newview/llagent.cpp | 14 +- indra/newview/llagentbenefits.cpp | 2 +- indra/newview/llagentpilot.cpp | 10 +- indra/newview/llagentwearables.cpp | 28 +- indra/newview/llaisapi.cpp | 56 +-- indra/newview/llappcorehttp.cpp | 10 +- indra/newview/llappearancemgr.cpp | 158 ++++---- indra/newview/llappviewer.cpp | 34 +- indra/newview/llappviewerwin32.cpp | 12 +- indra/newview/llattachmentsmgr.cpp | 58 +-- indra/newview/llautoreplace.cpp | 40 +- indra/newview/llavatarlist.cpp | 6 +- .../newview/llavatarrenderinfoaccountant.cpp | 30 +- indra/newview/llavatarrendernotifier.cpp | 22 +- indra/newview/llcallingcard.cpp | 16 +- indra/newview/llchatbar.cpp | 8 +- indra/newview/llchicletbar.cpp | 22 +- indra/newview/llcompilequeue.cpp | 6 +- indra/newview/llcontrolavatar.cpp | 18 +- indra/newview/llconversationmodel.cpp | 2 +- indra/newview/lldrawable.cpp | 4 +- indra/newview/lldrawpoolwlsky.cpp | 4 +- indra/newview/llenvironment.cpp | 12 +- indra/newview/llestateinfomodel.cpp | 18 +- indra/newview/lleventpoll.cpp | 14 +- indra/newview/llface.cpp | 20 +- indra/newview/llfavoritesbar.cpp | 8 +- indra/newview/llfeaturemanager.cpp | 28 +- indra/newview/llfilepicker.cpp | 4 +- indra/newview/llfirstuse.cpp | 4 +- indra/newview/llfloaterabout.cpp | 2 +- .../newview/llfloaterautoreplacesettings.cpp | 22 +- indra/newview/llfloatereditextdaycycle.cpp | 6 +- indra/newview/llfloaterfixedenvironment.cpp | 2 +- indra/newview/llfloatergesture.cpp | 26 +- indra/newview/llfloaterimnearbychat.cpp | 8 +- .../newview/llfloaterimnearbychathandler.cpp | 16 +- indra/newview/llfloaterimsession.cpp | 8 +- indra/newview/llfloaterland.cpp | 8 +- indra/newview/llfloaterlinkreplace.cpp | 14 +- indra/newview/llfloateroutfitsnapshot.cpp | 12 +- indra/newview/llfloaterperms.cpp | 6 +- indra/newview/llfloaterregioninfo.cpp | 10 +- indra/newview/llfloatersnapshot.cpp | 42 +- indra/newview/llfloatervoiceeffect.cpp | 8 +- indra/newview/llfriendcard.cpp | 12 +- indra/newview/llgesturemgr.cpp | 2 +- indra/newview/llgroupmgr.cpp | 52 +-- indra/newview/llimprocessing.cpp | 10 +- indra/newview/llinventorybridge.cpp | 32 +- indra/newview/llinventorymodel.cpp | 84 ++-- .../llinventorymodelbackgroundfetch.cpp | 2 +- indra/newview/llinventoryobserver.cpp | 16 +- indra/newview/llinventorypanel.cpp | 6 +- indra/newview/lllandmarklist.cpp | 2 +- indra/newview/lllogchat.cpp | 4 +- indra/newview/lllogininstance.cpp | 8 +- indra/newview/llmachineid.cpp | 8 +- indra/newview/llmanip.cpp | 4 +- indra/newview/llmaniprotate.cpp | 4 +- indra/newview/llmanipscale.cpp | 4 +- indra/newview/llmaniptranslate.cpp | 12 +- indra/newview/llmaterialmgr.cpp | 58 +-- indra/newview/llmediactrl.cpp | 38 +- indra/newview/llmediadataclient.cpp | 72 ++-- indra/newview/llmeshrepository.cpp | 36 +- indra/newview/llmodelpreview.cpp | 2 +- indra/newview/llnamelistctrl.cpp | 2 +- indra/newview/llnavigationbar.cpp | 2 +- indra/newview/lloutputmonitorctrl.cpp | 2 +- indra/newview/llpaneleditwearable.cpp | 4 +- indra/newview/llpanelenvironment.cpp | 4 +- indra/newview/llpanelface.cpp | 26 +- indra/newview/llpanelface.h | 4 +- indra/newview/llpanelgroup.cpp | 2 +- indra/newview/llpanelgroupgeneral.cpp | 2 +- indra/newview/llpanelgroupnotices.cpp | 6 +- indra/newview/llpanelgrouproles.cpp | 28 +- indra/newview/llpanelland.cpp | 2 +- indra/newview/llpanellogin.cpp | 18 +- indra/newview/llpanelobjectinventory.cpp | 2 +- indra/newview/llpanelpeople.cpp | 12 +- indra/newview/llpanelpresetspulldown.cpp | 6 +- indra/newview/llparticipantlist.cpp | 8 +- indra/newview/llpresetsmanager.cpp | 10 +- indra/newview/llpreviewnotecard.cpp | 2 +- indra/newview/llpreviewscript.cpp | 14 +- indra/newview/llregioninfomodel.cpp | 4 +- indra/newview/llscenemonitor.cpp | 2 +- indra/newview/llsechandler_basic.cpp | 38 +- indra/newview/llselectmgr.cpp | 2 +- indra/newview/llskinningutil.cpp | 8 +- indra/newview/llsnapshotlivepreview.cpp | 18 +- indra/newview/llspatialpartition.cpp | 12 +- indra/newview/llspeakers.cpp | 12 +- indra/newview/llspeakingindicatormanager.cpp | 22 +- indra/newview/llstartup.cpp | 114 +++--- indra/newview/llsyntaxid.cpp | 30 +- indra/newview/lltexturecache.cpp | 12 +- indra/newview/lltexturectrl.cpp | 8 +- indra/newview/lltexturefetch.cpp | 74 ++-- indra/newview/lltool.cpp | 2 +- indra/newview/lltoolbrush.cpp | 4 +- indra/newview/lltooldraganddrop.cpp | 46 +-- indra/newview/lltoolfocus.cpp | 10 +- indra/newview/lltoolgrab.cpp | 12 +- indra/newview/lltoolgun.cpp | 4 +- indra/newview/lltoolpie.cpp | 14 +- indra/newview/lltoolplacer.cpp | 2 +- indra/newview/lltoolselectland.cpp | 8 +- indra/newview/lltoolselectrect.cpp | 4 +- indra/newview/llviewerassetstorage.cpp | 16 +- indra/newview/llviewercontrol.cpp | 2 +- indra/newview/llviewerdisplay.cpp | 4 +- indra/newview/llviewerinventory.cpp | 24 +- indra/newview/llviewerjoystick.cpp | 6 +- indra/newview/llviewerkeyboard.cpp | 2 +- indra/newview/llviewermedia.cpp | 88 ++-- indra/newview/llviewermediafocus.cpp | 24 +- indra/newview/llviewermenu.cpp | 2 +- indra/newview/llviewermenufile.cpp | 2 +- indra/newview/llviewermessage.cpp | 114 +++--- indra/newview/llviewernetwork.cpp | 26 +- indra/newview/llviewerobject.cpp | 56 +-- indra/newview/llviewerobjectlist.cpp | 44 +- indra/newview/llviewerparcelmedia.cpp | 54 +-- indra/newview/llviewerparcelmgr.cpp | 8 +- indra/newview/llviewerregion.cpp | 36 +- indra/newview/llviewerstats.cpp | 8 +- indra/newview/llviewerstatsrecorder.cpp | 4 +- indra/newview/llviewertexlayer.cpp | 2 +- indra/newview/llviewertexteditor.cpp | 2 +- indra/newview/llviewertexture.cpp | 8 +- indra/newview/llviewertexturelist.cpp | 14 +- indra/newview/llviewerthrottle.cpp | 4 +- indra/newview/llviewerwindow.cpp | 28 +- indra/newview/llvlcomposition.cpp | 2 +- indra/newview/llvoavatar.cpp | 228 +++++------ indra/newview/llvoavatarself.cpp | 48 +-- indra/newview/llvoicechannel.cpp | 4 +- indra/newview/llvoiceclient.cpp | 8 +- indra/newview/llvoicevivox.cpp | 378 +++++++++--------- indra/newview/llvovolume.cpp | 104 ++--- indra/newview/llwearablelist.cpp | 14 +- indra/newview/llwebprofile.cpp | 8 +- indra/newview/llwind.cpp | 2 +- indra/newview/llwlhandlers.cpp | 6 +- indra/newview/llworld.cpp | 4 +- indra/newview/llworldmapview.cpp | 2 +- indra/newview/llxmlrpclistener.cpp | 12 +- indra/newview/llxmlrpctransaction.cpp | 4 +- indra/newview/piemenu.cpp | 14 +- indra/newview/pieseparator.cpp | 2 +- indra/newview/pieslice.cpp | 2 +- indra/newview/pipeline.cpp | 18 +- indra/newview/rlvdefines.h | 2 +- indra/newview/rlvhandler.cpp | 20 +- indra/test/io.cpp | 34 +- indra/test/llblowfish_tut.cpp | 2 +- indra/test/llpipeutil.cpp | 4 +- indra/test/sync.h | 6 +- indra/viewer_components/login/lllogin.cpp | 16 +- .../win_crash_logger/llcrashloggerwindows.cpp | 4 +- 278 files changed, 2349 insertions(+), 2348 deletions(-) diff --git a/indra/llappearance/llavatarappearance.cpp b/indra/llappearance/llavatarappearance.cpp index dcec91252d3..8468898f95f 100644 --- a/indra/llappearance/llavatarappearance.cpp +++ b/indra/llappearance/llavatarappearance.cpp @@ -472,13 +472,13 @@ void LLAvatarAppearance::compareJointStateMaps(joint_state_map_t& last_state, const std::string& key = it->first; if (last_state[key] != curr_state[key]) { - LL_DEBUGS("AvatarBodySize") << "BodySize change " << key << " " << last_state[key] << "->" << curr_state[key] << LL_ENDL; + // _LL_DEBUGS("AvatarBodySize") << "BodySize change " << key << " " << last_state[key] << "->" << curr_state[key] << LL_ENDL; diff_count++; } } if (diff_count > 0) { - LL_DEBUGS("AvatarBodySize") << "Total of BodySize changes " << diff_count << LL_ENDL; + // _LL_DEBUGS("AvatarBodySize") << "Total of BodySize changes " << diff_count << LL_ENDL; } } @@ -622,11 +622,11 @@ BOOL LLAvatarAppearance::setupBone(const LLAvatarBoneInfo* info, LLJoint* parent { LLJoint* joint = NULL; - LL_DEBUGS("BVH") << "bone info: name " << info->mName + /*// _LL_DEBUGS("BVH") << "bone info: name " << info->mName << " isJoint " << info->mIsJoint << " volume_num " << volume_num << " joint_num " << joint_num - << LL_ENDL; + << LL_ENDL;*/ if (info->mIsJoint) { @@ -716,7 +716,7 @@ BOOL LLAvatarAppearance::allocateCharacterJoints( U32 num ) //----------------------------------------------------------------------------- BOOL LLAvatarAppearance::buildSkeleton(const LLAvatarSkeletonInfo *info) { - LL_DEBUGS("BVH") << "numBones " << info->mNumBones << " numCollisionVolumes " << info->mNumCollisionVolumes << LL_ENDL; + // _LL_DEBUGS("BVH") << "numBones " << info->mNumBones << " numCollisionVolumes " << info->mNumCollisionVolumes << LL_ENDL; // allocate joints if (!allocateCharacterJoints(info->mNumBones)) @@ -839,7 +839,7 @@ void LLAvatarAppearance::buildCharacter() stop_glerror(); // gPrintMessagesThisFrame = TRUE; - LL_DEBUGS() << "Avatar load took " << timer.getElapsedTimeF32() << " seconds." << LL_ENDL; + // _LL_DEBUGS() << "Avatar load took " << timer.getElapsedTimeF32() << " seconds." << LL_ENDL; if (!status) { diff --git a/indra/llappearance/llavatarjointmesh.cpp b/indra/llappearance/llavatarjointmesh.cpp index 0a23b1fda30..4bd3f4bdc6c 100644 --- a/indra/llappearance/llavatarjointmesh.cpp +++ b/indra/llappearance/llavatarjointmesh.cpp @@ -53,7 +53,7 @@ LLAvatarJoint *getBaseSkeletonAncestor(LLAvatarJoint* joint) LLJoint *ancestor = joint->getParent(); while (ancestor->getParent() && (ancestor->getSupport() != LLJoint::SUPPORT_BASE)) { - LL_DEBUGS("Avatar") << "skipping non-base ancestor " << ancestor->getName() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "skipping non-base ancestor " << ancestor->getName() << LL_ENDL; ancestor = ancestor->getParent(); } return (LLAvatarJoint*) ancestor; @@ -329,7 +329,7 @@ void LLAvatarJointMesh::setMesh( LLPolyMesh *mesh ) if (!mMesh->isLOD()) { setupJoint((LLAvatarJoint*)getRoot()); - LL_DEBUGS("Avatar") << getName() << " joint render entries: " << mMesh->mJointRenderData.size() << LL_ENDL; + // _LL_DEBUGS("Avatar") << getName() << " joint render entries: " << mMesh->mJointRenderData.size() << LL_ENDL; } } @@ -351,7 +351,7 @@ void LLAvatarJointMesh::setupJoint(LLAvatarJoint* current_joint) } // we've found a skinjoint for this joint.. - LL_DEBUGS("Avatar") << "Mesh: " << getName() << " joint " << current_joint->getName() << " matches skinjoint " << sj << LL_ENDL; + // _LL_DEBUGS("Avatar") << "Mesh: " << getName() << " joint " << current_joint->getName() << " matches skinjoint " << sj << LL_ENDL; // is the last joint in the array our parent? @@ -366,15 +366,15 @@ void LLAvatarJointMesh::setupJoint(LLAvatarJoint* current_joint) // ...then just add ourselves LLAvatarJoint* jointp = js.mJoint; jrd.push_back(new LLJointRenderData(&jointp->getWorldMatrix(), &js)); - LL_DEBUGS("Avatar") << "add joint[" << (jrd.size()-1) << "] = " << js.mJoint->getName() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "add joint[" << (jrd.size()-1) << "] = " << js.mJoint->getName() << LL_ENDL; } // otherwise add our ancestor and ourselves else { jrd.push_back(new LLJointRenderData(&ancestor->getWorldMatrix(), NULL)); - LL_DEBUGS("Avatar") << "add2 ancestor joint[" << (jrd.size()-1) << "] = " << ancestor->getName() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "add2 ancestor joint[" << (jrd.size()-1) << "] = " << ancestor->getName() << LL_ENDL; jrd.push_back(new LLJointRenderData(¤t_joint->getWorldMatrix(), &js)); - LL_DEBUGS("Avatar") << "add2 joint[" << (jrd.size()-1) << "] = " << current_joint->getName() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "add2 joint[" << (jrd.size()-1) << "] = " << current_joint->getName() << LL_ENDL; } } diff --git a/indra/llappearance/llpolymesh.cpp b/indra/llappearance/llpolymesh.cpp index 0a7a8d27bbf..9d71ac569fa 100644 --- a/indra/llappearance/llpolymesh.cpp +++ b/indra/llappearance/llpolymesh.cpp @@ -302,7 +302,7 @@ BOOL LLPolyMeshSharedData::loadMesh( const std::string& fileName ) BOOL status = FALSE; if ( strncmp(header, HEADER_BINARY, strlen(HEADER_BINARY)) == 0 ) /*Flawfinder: ignore*/ { - LL_DEBUGS() << "Loading " << fileName << LL_ENDL; + // _LL_DEBUGS() << "Loading " << fileName << LL_ENDL; //---------------------------------------------------------------- // File Header (seek past it) @@ -559,10 +559,10 @@ BOOL LLPolyMeshSharedData::loadMesh( const std::string& fileName ) numTris++; } - LL_DEBUGS() << "verts: " << numVertices + /*// _LL_DEBUGS() << "verts: " << numVertices << ", faces: " << numFaces << ", tris: " << numTris - << LL_ENDL; + << LL_ENDL;*/ //---------------------------------------------------------------- // NumSkinJoints diff --git a/indra/llappearance/lltexlayer.cpp b/indra/llappearance/lltexlayer.cpp index aa0e47a3ee7..e473dc35dd8 100644 --- a/indra/llappearance/lltexlayer.cpp +++ b/indra/llappearance/lltexlayer.cpp @@ -1438,7 +1438,7 @@ void LLTexLayer::renderMorphMasks(S32 x, S32 y, S32 width, S32 height, const LLC { if (!force_render && !hasMorph()) { - LL_DEBUGS() << "skipping renderMorphMasks for " << getUUID() << LL_ENDL; + // _LL_DEBUGS() << "skipping renderMorphMasks for " << getUUID() << LL_ENDL; return; } LL_RECORD_BLOCK_TIME(FTM_RENDER_MORPH_MASKS); @@ -1479,7 +1479,7 @@ void LLTexLayer::renderMorphMasks(S32 x, S32 y, S32 width, S32 height, const LLC success &= param->render( x, y, width, height ); if (!success && !force_render) { - LL_DEBUGS() << "Failed to render param " << param->getID() << " ; skipping morph mask." << LL_ENDL; + // _LL_DEBUGS() << "Failed to render param " << param->getID() << " ; skipping morph mask." << LL_ENDL; return; } } @@ -1565,7 +1565,7 @@ void LLTexLayer::renderMorphMasks(S32 x, S32 y, S32 width, S32 height, const LLC // We can get bad morph masks during login, on minimize, and occasional gl errors. // We should only be doing this when we believe something has changed with respect to the user's appearance. { - LL_DEBUGS("Avatar") << "gl alpha cache of morph mask not found, doing readback: " << getName() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "gl alpha cache of morph mask not found, doing readback: " << getName() << LL_ENDL; // clear out a slot if we have filled our cache S32 max_cache_entries = getTexLayerSet()->getAvatarAppearance()->isSelf() ? 4 : 1; while ((S32)mAlphaCache.size() >= max_cache_entries) diff --git a/indra/llappearance/lltexlayerparams.cpp b/indra/llappearance/lltexlayerparams.cpp index ff682d69069..f0f2b8161dd 100644 --- a/indra/llappearance/lltexlayerparams.cpp +++ b/indra/llappearance/lltexlayerparams.cpp @@ -332,7 +332,7 @@ BOOL LLTexLayerParamAlpha::render(S32 x, S32 y, S32 width, S32 height) mStaticImageRaw = new LLImageRaw; mStaticImageTGA->decodeAndProcess(mStaticImageRaw, info->mDomain, effective_weight); mNeedsCreateTexture = TRUE; - LL_DEBUGS() << "Built Cached Alpha: " << info->mStaticImageFileName << ": (" << mStaticImageRaw->getWidth() << ", " << mStaticImageRaw->getHeight() << ") " << "Domain: " << info->mDomain << " Weight: " << effective_weight << LL_ENDL; + // _LL_DEBUGS() << "Built Cached Alpha: " << info->mStaticImageFileName << ": (" << mStaticImageRaw->getWidth() << ", " << mStaticImageRaw->getHeight() << ") " << "Domain: " << info->mDomain << " Weight: " << effective_weight << LL_ENDL; } if (mCachedProcessedTexture) diff --git a/indra/llappearance/llwearable.cpp b/indra/llappearance/llwearable.cpp index 6079913a8e7..711ee1cffbf 100644 --- a/indra/llappearance/llwearable.cpp +++ b/indra/llappearance/llwearable.cpp @@ -173,7 +173,7 @@ void LLWearable::createVisualParams(LLAvatarAppearance *avatarp) { if( !param->linkDrivenParams(boost::bind(param_function,avatarp,_1 ), true)) { - LL_DEBUGS("Avatar") << "could not link driven params for wearable " << getName() << " id: " << param->getID() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "could not link driven params for wearable " << getName() << " id: " << param->getID() << LL_ENDL; continue; } } diff --git a/indra/llaudio/llaudiodecodemgr.cpp b/indra/llaudio/llaudiodecodemgr.cpp index e7db84f6ab2..e60da1b3390 100644 --- a/indra/llaudio/llaudiodecodemgr.cpp +++ b/indra/llaudio/llaudiodecodemgr.cpp @@ -199,7 +199,7 @@ BOOL LLVorbisDecodeState::initDecode() vfs_callbacks.close_func = vfs_close; vfs_callbacks.tell_func = vfs_tell; - LL_DEBUGS("AudioEngine") << "Initing decode from vfile: " << mUUID << LL_ENDL; + // _LL_DEBUGS("AudioEngine") << "Initing decode from vfile: " << mUUID << LL_ENDL; mInFilep = new LLVFile(gVFS, mUUID, LLAssetType::AT_SOUND); if (!mInFilep || !mInFilep->getSize()) @@ -526,7 +526,7 @@ BOOL LLVorbisDecodeState::finishDecode() LLVFile output(gVFS, mUUID, LLAssetType::AT_SOUND_WAV); output.write(&mWAVBuffer[0], mWAVBuffer.size()); #endif - LL_DEBUGS("AudioEngine") << "Finished decode for " << getUUID() << LL_ENDL; + // _LL_DEBUGS("AudioEngine") << "Finished decode for " << getUUID() << LL_ENDL; return TRUE; } @@ -648,7 +648,7 @@ void LLAudioDecodeMgr::Impl::processQueue(const F32 num_secs) continue; } - LL_DEBUGS() << "Decoding " << uuid << " from audio queue!" << LL_ENDL; + // _LL_DEBUGS() << "Decoding " << uuid << " from audio queue!" << LL_ENDL; std::string uuid_str; std::string d_path; @@ -691,18 +691,18 @@ BOOL LLAudioDecodeMgr::addDecodeRequest(const LLUUID &uuid) if (gAudiop && gAudiop->hasDecodedFile(uuid)) { // Already have a decoded version, don't need to decode it. - LL_DEBUGS("AudioEngine") << "addDecodeRequest for " << uuid << " has decoded file already" << LL_ENDL; + // _LL_DEBUGS("AudioEngine") << "addDecodeRequest for " << uuid << " has decoded file already" << LL_ENDL; return TRUE; } if (gAssetStorage->hasLocalAsset(uuid, LLAssetType::AT_SOUND)) { // Just put it on the decode queue. - LL_DEBUGS("AudioEngine") << "addDecodeRequest for " << uuid << " has local asset file already" << LL_ENDL; + // _LL_DEBUGS("AudioEngine") << "addDecodeRequest for " << uuid << " has local asset file already" << LL_ENDL; mImpl->mDecodeQueue.push_back(uuid); return TRUE; } - LL_DEBUGS("AudioEngine") << "addDecodeRequest for " << uuid << " no file available" << LL_ENDL; + // _LL_DEBUGS("AudioEngine") << "addDecodeRequest for " << uuid << " no file available" << LL_ENDL; return FALSE; } diff --git a/indra/llaudio/llaudioengine.cpp b/indra/llaudio/llaudioengine.cpp index 7d41226b497..3158cd7a9e5 100644 --- a/indra/llaudio/llaudioengine.cpp +++ b/indra/llaudio/llaudioengine.cpp @@ -596,7 +596,7 @@ LLAudioBuffer * LLAudioEngine::getFreeBuffer() if (buffer_id >= 0) { - LL_DEBUGS() << "Taking over unused buffer " << buffer_id << LL_ENDL; + // _LL_DEBUGS() << "Taking over unused buffer " << buffer_id << LL_ENDL; //LL_INFOS() << "Flushing unused buffer!" << LL_ENDL; mBuffers[buffer_id]->mAudioDatap->mBufferp = NULL; delete mBuffers[buffer_id]; @@ -678,7 +678,7 @@ void LLAudioEngine::cleanupBuffer(LLAudioBuffer *bufferp) bool LLAudioEngine::preloadSound(const LLUUID &uuid) { - LL_DEBUGS("AudioEngine")<<"( "<<uuid<<" )"<<LL_ENDL; + // _LL_DEBUGS("AudioEngine")<<"( "<<uuid<<" )"<<LL_ENDL; getAudioData(uuid); // We don't care about the return value, this is just to make sure // that we have an entry, which will mean that the audio engine knows about this @@ -994,7 +994,7 @@ void LLAudioEngine::cleanupAudioSource(LLAudioSource *asp) } else { - LL_DEBUGS("AudioEngine") << "Cleaning up audio sources for "<< asp->getID() <<LL_ENDL; + // _LL_DEBUGS("AudioEngine") << "Cleaning up audio sources for "<< asp->getID() <<LL_ENDL; delete asp; mAllSources.erase(iter); } @@ -1025,7 +1025,7 @@ bool LLAudioEngine::hasLocalFile(const LLUUID &uuid) { // See if it's in the VFS. bool have_local = gVFS->getExists(uuid, LLAssetType::AT_SOUND); - LL_DEBUGS("AudioEngine") << "sound uuid "<<uuid<<" exists in VFS"<<LL_ENDL; + // _LL_DEBUGS("AudioEngine") << "sound uuid "<<uuid<<" exists in VFS"<<LL_ENDL; return have_local; } @@ -1705,7 +1705,7 @@ void LLAudioChannel::setSource(LLAudioSource *sourcep) } else { - LL_DEBUGS("AudioEngine") << "( id: " << sourcep->getID() << ")" << LL_ENDL; + // _LL_DEBUGS("AudioEngine") << "( id: " << sourcep->getID() << ")" << LL_ENDL; if (sourcep == mCurrentSourcep) { diff --git a/indra/llaudio/llaudioengine_fmodstudio.cpp b/indra/llaudio/llaudioengine_fmodstudio.cpp index d8d43ac75f6..e090880c5fb 100644 --- a/indra/llaudio/llaudioengine_fmodstudio.cpp +++ b/indra/llaudio/llaudioengine_fmodstudio.cpp @@ -79,7 +79,7 @@ bool LLAudioEngine_FMODSTUDIO::init(const S32 num_channels, void* userdata, cons U32 version; FMOD_RESULT result; - LL_DEBUGS("AppInit") << "LLAudioEngine_FMODSTUDIO::init() initializing FMOD" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "LLAudioEngine_FMODSTUDIO::init() initializing FMOD" << LL_ENDL; result = FMOD::System_Create(&mSystem); if(Check_FMOD_Error(result, "FMOD::System_Create")) @@ -133,11 +133,11 @@ bool LLAudioEngine_FMODSTUDIO::init(const S32 num_channels, void* userdata, cons { if (NULL == getenv("LL_BAD_FMOD_PULSEAUDIO")) /*Flawfinder: ignore*/ { - LL_DEBUGS("AppInit") << "Trying PulseAudio audio output..." << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Trying PulseAudio audio output..." << LL_ENDL; if((result = mSystem->setOutput(FMOD_OUTPUTTYPE_PULSEAUDIO)) == FMOD_OK && (result = mSystem->init(num_channels + EXTRA_SOUND_CHANNELS, fmod_flags, const_cast<char*>(mAppName.c_str()))) == FMOD_OK) { - LL_DEBUGS("AppInit") << "PulseAudio output initialized OKAY" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "PulseAudio output initialized OKAY" << LL_ENDL; audio_ok = true; } else @@ -147,18 +147,18 @@ bool LLAudioEngine_FMODSTUDIO::init(const S32 num_channels, void* userdata, cons } else { - LL_DEBUGS("AppInit") << "PulseAudio audio output SKIPPED" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "PulseAudio audio output SKIPPED" << LL_ENDL; } } if (!audio_ok) { if (NULL == getenv("LL_BAD_FMOD_ALSA")) /*Flawfinder: ignore*/ { - LL_DEBUGS("AppInit") << "Trying ALSA audio output..." << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Trying ALSA audio output..." << LL_ENDL; if((result = mSystem->setOutput(FMOD_OUTPUTTYPE_ALSA)) == FMOD_OK && (result = mSystem->init(num_channels + EXTRA_SOUND_CHANNELS, fmod_flags, 0)) == FMOD_OK) { - LL_DEBUGS("AppInit") << "ALSA audio output initialized OKAY" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "ALSA audio output initialized OKAY" << LL_ENDL; audio_ok = true; } else @@ -168,7 +168,7 @@ bool LLAudioEngine_FMODSTUDIO::init(const S32 num_channels, void* userdata, cons } else { - LL_DEBUGS("AppInit") << "ALSA audio output SKIPPED" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "ALSA audio output SKIPPED" << LL_ENDL; } } if (!audio_ok) @@ -489,7 +489,7 @@ bool LLAudioChannelFMODSTUDIO::updateBuffer() } else { - LL_DEBUGS() << "No source buffer!" << LL_ENDL; + // _LL_DEBUGS() << "No source buffer!" << LL_ENDL; return false; } diff --git a/indra/llcharacter/llbvhloader.cpp b/indra/llcharacter/llbvhloader.cpp index e906d81ce15..e7acb4752f3 100644 --- a/indra/llcharacter/llbvhloader.cpp +++ b/indra/llcharacter/llbvhloader.cpp @@ -158,8 +158,8 @@ LLBVHLoader::LLBVHLoader(const char* buffer, ELoadStatus &loadStatus, S32 &error S32 error_line; mStatus = loadBVHFile(buffer, error_text, error_line); //Reads all joints in BVH file. - LL_DEBUGS("BVH") << "============================================================" << LL_ENDL; - LL_DEBUGS("BVH") << "Raw data from file" << LL_ENDL; + // _LL_DEBUGS("BVH") << "============================================================" << LL_ENDL; + // _LL_DEBUGS("BVH") << "Raw data from file" << LL_ENDL; dumpBVHInfo(); if (mStatus != E_ST_OK) @@ -173,8 +173,8 @@ LLBVHLoader::LLBVHLoader(const char* buffer, ELoadStatus &loadStatus, S32 &error applyTranslations(); //Maps between joints found in file and the aliased names. optimize(); - LL_DEBUGS("BVH") << "============================================================" << LL_ENDL; - LL_DEBUGS("BVH") << "After translations and optimize" << LL_ENDL; + // _LL_DEBUGS("BVH") << "============================================================" << LL_ENDL; + // _LL_DEBUGS("BVH") << "After translations and optimize" << LL_ENDL; dumpBVHInfo(); mInitialized = TRUE; @@ -538,7 +538,7 @@ void LLBVHLoader::dumpBVHInfo() for (U32 j=0; j<mJoints.size(); j++) { Joint *joint = mJoints[j]; - LL_DEBUGS("BVH") << joint->mName << LL_ENDL; + // _LL_DEBUGS("BVH") << joint->mName << LL_ENDL; for (S32 i=0; i<mNumFrames; i++) { if (i<joint->mKeys.size()) // Check this in case file load failed. @@ -554,9 +554,9 @@ void LLBVHLoader::dumpBVHInfo() (key.mRot[2] != prevkey.mRot[2]) ) { - LL_DEBUGS("BVH") << "FRAME " << i + /*// _LL_DEBUGS("BVH") << "FRAME " << i << " POS " << key.mPos[0] << "," << key.mPos[1] << "," << key.mPos[2] - << " ROT " << key.mRot[0] << "," << key.mRot[1] << "," << key.mRot[2] << LL_ENDL; + << " ROT " << key.mRot[0] << "," << key.mRot[1] << "," << key.mRot[2] << LL_ENDL;*/ } } } @@ -695,14 +695,14 @@ ELoadStatus LLBVHLoader::loadBVHFile(const char *buffer, char* error_text, S32 & //---------------------------------------------------------------- mJoints.push_back( new Joint( jointName ) ); Joint *joint = mJoints.back(); - LL_DEBUGS("BVH") << "Created joint " << jointName << LL_ENDL; - LL_DEBUGS("BVH") << "- index " << mJoints.size()-1 << LL_ENDL; + // _LL_DEBUGS("BVH") << "Created joint " << jointName << LL_ENDL; + // _LL_DEBUGS("BVH") << "- index " << mJoints.size()-1 << LL_ENDL; S32 depth = 1; for (S32 j = (S32)parent_joints.size() - 1; j >= 0; j--) { Joint *pjoint = mJoints[parent_joints[j]]; - LL_DEBUGS("BVH") << "- ancestor " << pjoint->mName << LL_ENDL; + // _LL_DEBUGS("BVH") << "- ancestor " << pjoint->mName << LL_ENDL; if (depth > pjoint->mChildTreeMaxDepth) { pjoint->mChildTreeMaxDepth = depth; @@ -903,7 +903,7 @@ ELoadStatus LLBVHLoader::loadBVHFile(const char *buffer, char* error_text, S32 & } float_token_iter++; } - LL_DEBUGS("BVH") << "Got " << floats.size() << " floats " << LL_ENDL; + // _LL_DEBUGS("BVH") << "Got " << floats.size() << " floats " << LL_ENDL; for (U32 j=0; j<mJoints.size(); j++) { Joint *joint = mJoints[j]; diff --git a/indra/llcharacter/lljoint.cpp b/indra/llcharacter/lljoint.cpp index dd83a6f2b4a..323751a4c5f 100644 --- a/indra/llcharacter/lljoint.cpp +++ b/indra/llcharacter/lljoint.cpp @@ -354,7 +354,7 @@ void LLJoint::setPosition( const LLVector3& requested_pos, bool apply_attachment if (pos != active_override && do_debug_joint(getName())) { LLScopedContextString str("setPosition"); - LL_DEBUGS("Avatar") << " joint " << getName() << " requested_pos " << requested_pos + // _LL_DEBUGS("Avatar") << " joint " << getName() << " requested_pos " << requested_pos << " overriden by attachment " << active_override << LL_ENDL; } #endif @@ -366,9 +366,9 @@ void LLJoint::setPosition( const LLVector3& requested_pos, bool apply_attachment LLScopedContextString str("setPosition"); LLCallStack cs; LLContextStatus con_status; - LL_DEBUGS("Avatar") << " joint " << getName() << " set pos " << pos << LL_ENDL; - LL_DEBUGS("Avatar") << "CONTEXT:\n" << "====================\n" << con_status << "====================" << LL_ENDL; - LL_DEBUGS("Avatar") << "STACK:\n" << "====================\n" << cs << "====================" << LL_ENDL; + // _LL_DEBUGS("Avatar") << " joint " << getName() << " set pos " << pos << LL_ENDL; + // _LL_DEBUGS("Avatar") << "CONTEXT:\n" << "====================\n" << con_status << "====================" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "STACK:\n" << "====================\n" << cs << "====================" << LL_ENDL; } #endif if (pos != getPosition()) @@ -403,7 +403,7 @@ void showJointPosOverrides( const LLJoint& joint, const std::string& note, const std::ostringstream os; os << joint.m_posBeforeOverrides; joint.m_attachmentPosOverrides.showJointVector3Overrides(os); - LL_DEBUGS("Avatar") << av_info << " joint " << joint.getName() << " " << note << " " << os.str() << LL_ENDL; + // _LL_DEBUGS("Avatar") << av_info << " joint " << joint.getName() << " " << note << " " << os.str() << LL_ENDL; } void showJointScaleOverrides( const LLJoint& joint, const std::string& note, const std::string& av_info ) @@ -411,7 +411,7 @@ void showJointScaleOverrides( const LLJoint& joint, const std::string& note, con std::ostringstream os; os << joint.m_scaleBeforeOverrides; joint.m_attachmentScaleOverrides.showJointVector3Overrides(os); - LL_DEBUGS("Avatar") << av_info << " joint " << joint.getName() << " " << note << " " << os.str() << LL_ENDL; + // _LL_DEBUGS("Avatar") << av_info << " joint " << joint.getName() << " " << note << " " << os.str() << LL_ENDL; } bool LLJoint::aboveJointPosThreshold(const LLVector3& pos) const @@ -445,7 +445,7 @@ void LLJoint::addAttachmentPosOverride( const LLVector3& pos, const LLUUID& mesh { if (do_debug_joint(getName())) { - LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() << " saving m_posBeforeOverrides " << getPosition() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() << " saving m_posBeforeOverrides " << getPosition() << LL_ENDL; } m_posBeforeOverrides = getPosition(); } @@ -458,7 +458,7 @@ void LLJoint::addAttachmentPosOverride( const LLVector3& pos, const LLUUID& mesh active_override_changed = true; if (do_debug_joint(getName())) { - LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() << " addAttachmentPosOverride for mesh " << mesh_id << " pos " << pos << LL_ENDL; + // _LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() << " addAttachmentPosOverride for mesh " << mesh_id << " pos " << pos << LL_ENDL; } updatePos(av_info); } @@ -487,8 +487,8 @@ void LLJoint::removeAttachmentPosOverride( const LLUUID& mesh_id, const std::str active_override_changed = true; if (do_debug_joint(getName())) { - LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() - << " removeAttachmentPosOverride for " << mesh_id << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() + << " removeAttachmentPosOverride for " << mesh_id << LL_ENDL;*/ showJointPosOverrides(*this, "remove", av_info); } updatePos(av_info); @@ -558,12 +558,12 @@ void LLJoint::showAttachmentPosOverrides(const std::string& av_info) const { LLVector3OverrideMap::map_type::const_iterator it = m_attachmentPosOverrides.getMap().begin(); std::string highlight = (has_active_override && (it->second == active_override)) ? "*" : ""; - LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() - << " has single attachment pos override " << highlight << "" << it->second << " default " << mDefaultPosition << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() + << " has single attachment pos override " << highlight << "" << it->second << " default " << mDefaultPosition << LL_ENDL;*/ } else if (count>1) { - LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() << " has " << count << " attachment pos overrides" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() << " has " << count << " attachment pos overrides" << LL_ENDL; std::set<LLVector3> distinct_offsets; LLVector3OverrideMap::map_type::const_iterator it = m_attachmentPosOverrides.getMap().begin(); for (; it != m_attachmentPosOverrides.getMap().end(); ++it) @@ -572,17 +572,17 @@ void LLJoint::showAttachmentPosOverrides(const std::string& av_info) const } if (distinct_offsets.size()>1) { - LL_DEBUGS("Avatar") << "CONFLICTS, " << distinct_offsets.size() << " different values" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "CONFLICTS, " << distinct_offsets.size() << " different values" << LL_ENDL; } else { - LL_DEBUGS("Avatar") << "no conflicts" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "no conflicts" << LL_ENDL; } std::set<LLVector3>::iterator dit = distinct_offsets.begin(); for ( ; dit != distinct_offsets.end(); ++dit) { std::string highlight = (has_active_override && *dit == active_override) ? "*" : ""; - LL_DEBUGS("Avatar") << " POS " << highlight << "" << (*dit) << " default " << mDefaultPosition << LL_ENDL; + // _LL_DEBUGS("Avatar") << " POS " << highlight << "" << (*dit) << " default " << mDefaultPosition << LL_ENDL; } } } @@ -598,7 +598,7 @@ void LLJoint::updatePos(const std::string& av_info) { if (do_debug_joint(getName())) { - LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() << " updatePos, winner of " << m_attachmentPosOverrides.count() << " is mesh " << mesh_id << " pos " << found_pos << LL_ENDL; + // _LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() << " updatePos, winner of " << m_attachmentPosOverrides.count() << " is mesh " << mesh_id << " pos " << found_pos << LL_ENDL; } pos = found_pos; } @@ -606,7 +606,7 @@ void LLJoint::updatePos(const std::string& av_info) { if (do_debug_joint(getName())) { - LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() << " updatePos, winner is posBeforeOverrides " << m_posBeforeOverrides << LL_ENDL; + // _LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() << " updatePos, winner is posBeforeOverrides " << m_posBeforeOverrides << LL_ENDL; } pos = m_posBeforeOverrides; } @@ -624,7 +624,7 @@ void LLJoint::updateScale(const std::string& av_info) { if (do_debug_joint(getName())) { - LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() << " updateScale, winner of " << m_attachmentScaleOverrides.count() << " is mesh " << mesh_id << " scale " << found_scale << LL_ENDL; + // _LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() << " updateScale, winner of " << m_attachmentScaleOverrides.count() << " is mesh " << mesh_id << " scale " << found_scale << LL_ENDL; } scale = found_scale; } @@ -632,7 +632,7 @@ void LLJoint::updateScale(const std::string& av_info) { if (do_debug_joint(getName())) { - LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() << " updateScale, winner is scaleBeforeOverrides " << m_scaleBeforeOverrides << LL_ENDL; + // _LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() << " updateScale, winner is scaleBeforeOverrides " << m_scaleBeforeOverrides << LL_ENDL; } scale = m_scaleBeforeOverrides; } @@ -652,14 +652,14 @@ void LLJoint::addAttachmentScaleOverride( const LLVector3& scale, const LLUUID& { if (do_debug_joint(getName())) { - LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() << " saving m_scaleBeforeOverrides " << getScale() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() << " saving m_scaleBeforeOverrides " << getScale() << LL_ENDL; } m_scaleBeforeOverrides = getScale(); } m_attachmentScaleOverrides.add(mesh_id,scale); if (do_debug_joint(getName())) { - LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() << " addAttachmentScaleOverride for mesh " << mesh_id << " scale " << scale << LL_ENDL; + // _LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() << " addAttachmentScaleOverride for mesh " << mesh_id << " scale " << scale << LL_ENDL; } updateScale(av_info); } @@ -677,8 +677,8 @@ void LLJoint::removeAttachmentScaleOverride( const LLUUID& mesh_id, const std::s { if (do_debug_joint(getName())) { - LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() - << " removeAttachmentScaleOverride for " << mesh_id << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() + << " removeAttachmentScaleOverride for " << mesh_id << LL_ENDL;*/ showJointScaleOverrides(*this, "remove", av_info); } updateScale(av_info); @@ -719,12 +719,12 @@ void LLJoint::showAttachmentScaleOverrides(const std::string& av_info) const { LLVector3OverrideMap::map_type::const_iterator it = m_attachmentScaleOverrides.getMap().begin(); std::string highlight = (has_active_override && (it->second == active_override)) ? "*" : ""; - LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() - << " has single attachment scale override " << highlight << "" << it->second << " default " << mDefaultScale << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() + << " has single attachment scale override " << highlight << "" << it->second << " default " << mDefaultScale << LL_ENDL;*/ } else if (count>1) { - LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() << " has " << count << " attachment scale overrides" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "av " << av_info << " joint " << getName() << " has " << count << " attachment scale overrides" << LL_ENDL; std::set<LLVector3> distinct_offsets; LLVector3OverrideMap::map_type::const_iterator it = m_attachmentScaleOverrides.getMap().begin(); for (; it != m_attachmentScaleOverrides.getMap().end(); ++it) @@ -733,17 +733,17 @@ void LLJoint::showAttachmentScaleOverrides(const std::string& av_info) const } if (distinct_offsets.size()>1) { - LL_DEBUGS("Avatar") << "CONFLICTS, " << distinct_offsets.size() << " different values" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "CONFLICTS, " << distinct_offsets.size() << " different values" << LL_ENDL; } else { - LL_DEBUGS("Avatar") << "no conflicts" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "no conflicts" << LL_ENDL; } std::set<LLVector3>::iterator dit = distinct_offsets.begin(); for ( ; dit != distinct_offsets.end(); ++dit) { std::string highlight = (has_active_override && *dit == active_override) ? "*" : ""; - LL_DEBUGS("Avatar") << " POS " << highlight << "" << (*dit) << " default " << mDefaultScale << LL_ENDL; + // _LL_DEBUGS("Avatar") << " POS " << highlight << "" << (*dit) << " default " << mDefaultScale << LL_ENDL; } } } @@ -901,7 +901,7 @@ void LLJoint::setScale( const LLVector3& requested_scale, bool apply_attachment_ if (scale != active_override && do_debug_joint(getName())) { LLScopedContextString str("setScale"); - LL_DEBUGS("Avatar") << " joint " << getName() << " requested_scale " << requested_scale + // _LL_DEBUGS("Avatar") << " joint " << getName() << " requested_scale " << requested_scale << " overriden by attachment " << active_override << LL_ENDL; } #endif @@ -913,9 +913,9 @@ void LLJoint::setScale( const LLVector3& requested_scale, bool apply_attachment_ LLScopedContextString str("setScale"); LLCallStack cs; LLContextStatus con_status; - LL_DEBUGS("Avatar") << " joint " << getName() << " set scale " << scale << LL_ENDL; - LL_DEBUGS("Avatar") << "CONTEXT:\n" << "====================\n" << con_status << LL_ENDL; - LL_DEBUGS("Avatar") << "STACK:\n" << "====================\n" << cs << "====================" << LL_ENDL; + // _LL_DEBUGS("Avatar") << " joint " << getName() << " set scale " << scale << LL_ENDL; + // _LL_DEBUGS("Avatar") << "CONTEXT:\n" << "====================\n" << con_status << LL_ENDL; + // _LL_DEBUGS("Avatar") << "STACK:\n" << "====================\n" << cs << "====================" << LL_ENDL; } #endif mXform.setScale(scale); diff --git a/indra/llcharacter/lljointsolverrp3.cpp b/indra/llcharacter/lljointsolverrp3.cpp index 69a7e3dc6e7..38865cb2e83 100644 --- a/indra/llcharacter/lljointsolverrp3.cpp +++ b/indra/llcharacter/lljointsolverrp3.cpp @@ -150,7 +150,7 @@ void LLJointSolverRP3::solve() LLVector3 cPos = mJointC->getWorldPosition(); LLVector3 gPos = mJointGoal->getWorldPosition(); - LL_DEBUGS("JointSolver") << "LLJointSolverRP3::solve()" << LL_NEWLINE + /*// _LL_DEBUGS("JointSolver") << "LLJointSolverRP3::solve()" << LL_NEWLINE << "bPosLocal = " << mJointB->getPosition() << LL_NEWLINE << "cPosLocal = " << mJointC->getPosition() << LL_NEWLINE << "bRotLocal = " << mJointB->getRotation() << LL_NEWLINE @@ -158,7 +158,7 @@ void LLJointSolverRP3::solve() << "aPos : " << aPos << LL_NEWLINE << "bPos : " << bPos << LL_NEWLINE << "cPos : " << cPos << LL_NEWLINE - << "gPos : " << gPos << LL_ENDL; + << "gPos : " << gPos << LL_ENDL;*/ //------------------------------------------------------------------------- // get the poleVector in world space @@ -194,14 +194,14 @@ void LLJointSolverRP3::solve() //------------------------------------------------------------------------- LLVector3 abacCompOrthoVec = abVec - acVec * ((abVec * acVec)/(acVec * acVec)); - LL_DEBUGS("JointSolver") << "abVec : " << abVec << LL_NEWLINE + /*// _LL_DEBUGS("JointSolver") << "abVec : " << abVec << LL_NEWLINE << "bcVec : " << bcVec << LL_NEWLINE << "acVec : " << acVec << LL_NEWLINE << "agVec : " << agVec << LL_NEWLINE << "abLen : " << abLen << LL_NEWLINE << "bcLen : " << bcLen << LL_NEWLINE << "agLen : " << agLen << LL_NEWLINE - << "abacCompOrthoVec : " << abacCompOrthoVec << LL_ENDL; + << "abacCompOrthoVec : " << abacCompOrthoVec << LL_ENDL;*/ //------------------------------------------------------------------------- // compute the normal of the original ABC plane (and store for later) @@ -269,7 +269,7 @@ void LLJointSolverRP3::solve() LLQuaternion bRot(theta - abbcAng, abbcOrthoVec); - LL_DEBUGS("JointSolver") << "abbcAng : " << abbcAng << LL_NEWLINE + /*// _LL_DEBUGS("JointSolver") << "abbcAng : " << abbcAng << LL_NEWLINE << "abbcOrthoVec : " << abbcOrthoVec << LL_NEWLINE << "agLenSq : " << agLenSq << LL_NEWLINE << "cosTheta : " << cosTheta << LL_NEWLINE @@ -279,7 +279,7 @@ void LLJointSolverRP3::solve() << theta*180.0/F_PI << " " << abbcAng*180.0f/F_PI << " " << (theta - abbcAng)*180.0f/F_PI - << LL_ENDL; + << LL_ENDL;*/ //------------------------------------------------------------------------- // compute rotation that rotates new A->C to A->G @@ -293,9 +293,9 @@ void LLJointSolverRP3::solve() LLQuaternion cgRot; cgRot.shortestArc( acVec, agVec ); - LL_DEBUGS("JointSolver") << "bcVec : " << bcVec << LL_NEWLINE + /*// _LL_DEBUGS("JointSolver") << "bcVec : " << bcVec << LL_NEWLINE << "acVec : " << acVec << LL_NEWLINE - << "cgRot : " << cgRot << LL_ENDL; + << "cgRot : " << cgRot << LL_ENDL;*/ // update A->B and B->C with rotation from C to G abVec = abVec * cgRot; @@ -358,11 +358,11 @@ void LLJointSolverRP3::solve() //------------------------------------------------------------------------- LLQuaternion twistRot( mTwist, agVec ); - LL_DEBUGS("JointSolver") << "abcNorm = " << abcNorm << LL_NEWLINE + /*// _LL_DEBUGS("JointSolver") << "abcNorm = " << abcNorm << LL_NEWLINE << "apgNorm = " << apgNorm << LL_NEWLINE << "pRot = " << pRot << LL_NEWLINE << "twist : " << mTwist*180.0/F_PI << LL_NEWLINE - << "twistRot : " << twistRot << LL_ENDL; + << "twistRot : " << twistRot << LL_ENDL;*/ //------------------------------------------------------------------------- // compute rotation of A diff --git a/indra/llcharacter/llkeyframemotion.cpp b/indra/llcharacter/llkeyframemotion.cpp index cde38c8091d..edd81807de8 100644 --- a/indra/llcharacter/llkeyframemotion.cpp +++ b/indra/llcharacter/llkeyframemotion.cpp @@ -498,7 +498,7 @@ LLMotion::LLMotionInitStatus LLKeyframeMotion::onInitialize(LLCharacter *charact // request asset mAssetStatus = ASSET_FETCHED; - LL_DEBUGS("Animation") << "Requesting data fetch for: " << mID << LL_ENDL; + // _LL_DEBUGS("Animation") << "Requesting data fetch for: " << mID << LL_ENDL; character_id = new LLUUID(mCharacter->getID()); gAssetStorage->getAssetData(mID, LLAssetType::AT_ANIMATION, @@ -599,7 +599,7 @@ LLMotion::LLMotionInitStatus LLKeyframeMotion::onInitialize(LLCharacter *charact return STATUS_FAILURE; } - LL_DEBUGS() << "Loading keyframe data for: " << getName() << ":" << getID() << " (" << anim_file_size << " bytes)" << LL_ENDL; + // _LL_DEBUGS() << "Loading keyframe data for: " << getName() << ":" << getID() << " (" << anim_file_size << " bytes)" << LL_ENDL; LLDataPackerBinaryBuffer dp(anim_data, anim_file_size); @@ -1960,7 +1960,7 @@ BOOL LLKeyframeMotion::serialize(LLDataPacker& dp) const { BOOL success = TRUE; - LL_DEBUGS("BVH") << "serializing" << LL_ENDL; + // _LL_DEBUGS("BVH") << "serializing" << LL_ENDL; success &= dp.packU16(KEYFRAME_MOTION_VERSION, "version"); success &= dp.packU16(KEYFRAME_MOTION_SUBVERSION, "sub_version"); @@ -1975,18 +1975,18 @@ BOOL LLKeyframeMotion::serialize(LLDataPacker& dp) const success &= dp.packU32(mJointMotionList->mHandPose, "hand_pose"); success &= dp.packU32(mJointMotionList->getNumJointMotions(), "num_joints"); - LL_DEBUGS("BVH") << "version " << KEYFRAME_MOTION_VERSION << LL_ENDL; - LL_DEBUGS("BVH") << "sub_version " << KEYFRAME_MOTION_SUBVERSION << LL_ENDL; - LL_DEBUGS("BVH") << "base_priority " << mJointMotionList->mBasePriority << LL_ENDL; - LL_DEBUGS("BVH") << "duration " << mJointMotionList->mDuration << LL_ENDL; - LL_DEBUGS("BVH") << "emote_name " << mJointMotionList->mEmoteName << LL_ENDL; - LL_DEBUGS("BVH") << "loop_in_point " << mJointMotionList->mLoopInPoint << LL_ENDL; - LL_DEBUGS("BVH") << "loop_out_point " << mJointMotionList->mLoopOutPoint << LL_ENDL; - LL_DEBUGS("BVH") << "loop " << mJointMotionList->mLoop << LL_ENDL; - LL_DEBUGS("BVH") << "ease_in_duration " << mJointMotionList->mEaseInDuration << LL_ENDL; - LL_DEBUGS("BVH") << "ease_out_duration " << mJointMotionList->mEaseOutDuration << LL_ENDL; - LL_DEBUGS("BVH") << "hand_pose " << mJointMotionList->mHandPose << LL_ENDL; - LL_DEBUGS("BVH") << "num_joints " << mJointMotionList->getNumJointMotions() << LL_ENDL; + // _LL_DEBUGS("BVH") << "version " << KEYFRAME_MOTION_VERSION << LL_ENDL; + // _LL_DEBUGS("BVH") << "sub_version " << KEYFRAME_MOTION_SUBVERSION << LL_ENDL; + // _LL_DEBUGS("BVH") << "base_priority " << mJointMotionList->mBasePriority << LL_ENDL; + // _LL_DEBUGS("BVH") << "duration " << mJointMotionList->mDuration << LL_ENDL; + // _LL_DEBUGS("BVH") << "emote_name " << mJointMotionList->mEmoteName << LL_ENDL; + // _LL_DEBUGS("BVH") << "loop_in_point " << mJointMotionList->mLoopInPoint << LL_ENDL; + // _LL_DEBUGS("BVH") << "loop_out_point " << mJointMotionList->mLoopOutPoint << LL_ENDL; + // _LL_DEBUGS("BVH") << "loop " << mJointMotionList->mLoop << LL_ENDL; + // _LL_DEBUGS("BVH") << "ease_in_duration " << mJointMotionList->mEaseInDuration << LL_ENDL; + // _LL_DEBUGS("BVH") << "ease_out_duration " << mJointMotionList->mEaseOutDuration << LL_ENDL; + // _LL_DEBUGS("BVH") << "hand_pose " << mJointMotionList->mHandPose << LL_ENDL; + // _LL_DEBUGS("BVH") << "num_joints " << mJointMotionList->getNumJointMotions() << LL_ENDL; for (U32 i = 0; i < mJointMotionList->getNumJointMotions(); i++) { @@ -1995,7 +1995,7 @@ BOOL LLKeyframeMotion::serialize(LLDataPacker& dp) const success &= dp.packS32(joint_motionp->mPriority, "joint_priority"); success &= dp.packS32(joint_motionp->mRotationCurve.mNumKeys, "num_rot_keys"); - LL_DEBUGS("BVH") << "Joint " << joint_motionp->mJointName << LL_ENDL; + // _LL_DEBUGS("BVH") << "Joint " << joint_motionp->mJointName << LL_ENDL; for (RotationCurve::key_map_t::iterator iter = joint_motionp->mRotationCurve.mKeys.begin(); iter != joint_motionp->mRotationCurve.mKeys.end(); ++iter) { @@ -2014,7 +2014,7 @@ BOOL LLKeyframeMotion::serialize(LLDataPacker& dp) const success &= dp.packU16(y, "rot_angle_y"); success &= dp.packU16(z, "rot_angle_z"); - LL_DEBUGS("BVH") << " rot: t " << rot_key.mTime << " angles " << rot_angles.mV[VX] <<","<< rot_angles.mV[VY] <<","<< rot_angles.mV[VZ] << LL_ENDL; + // _LL_DEBUGS("BVH") << " rot: t " << rot_key.mTime << " angles " << rot_angles.mV[VX] <<","<< rot_angles.mV[VY] <<","<< rot_angles.mV[VZ] << LL_ENDL; } success &= dp.packS32(joint_motionp->mPositionCurve.mNumKeys, "num_pos_keys"); @@ -2034,12 +2034,12 @@ BOOL LLKeyframeMotion::serialize(LLDataPacker& dp) const success &= dp.packU16(y, "pos_y"); success &= dp.packU16(z, "pos_z"); - LL_DEBUGS("BVH") << " pos: t " << pos_key.mTime << " pos " << pos_key.mPosition.mV[VX] <<","<< pos_key.mPosition.mV[VY] <<","<< pos_key.mPosition.mV[VZ] << LL_ENDL; + // _LL_DEBUGS("BVH") << " pos: t " << pos_key.mTime << " pos " << pos_key.mPosition.mV[VX] <<","<< pos_key.mPosition.mV[VY] <<","<< pos_key.mPosition.mV[VZ] << LL_ENDL; } } success &= dp.packS32(mJointMotionList->mConstraints.size(), "num_constraints"); - LL_DEBUGS("BVH") << "num_constraints " << mJointMotionList->mConstraints.size() << LL_ENDL; + // _LL_DEBUGS("BVH") << "num_constraints " << mJointMotionList->mConstraints.size() << LL_ENDL; for (JointMotionList::constraint_list_t::const_iterator iter = mJointMotionList->mConstraints.begin(); iter != mJointMotionList->mConstraints.end(); ++iter) { @@ -2070,17 +2070,17 @@ BOOL LLKeyframeMotion::serialize(LLDataPacker& dp) const success &= dp.packF32(shared_constraintp->mEaseOutStartTime, "ease_out_start"); success &= dp.packF32(shared_constraintp->mEaseOutStopTime, "ease_out_stop"); - LL_DEBUGS("BVH") << " chain_length " << shared_constraintp->mChainLength << LL_ENDL; - LL_DEBUGS("BVH") << " constraint_type " << (S32)shared_constraintp->mConstraintType << LL_ENDL; - LL_DEBUGS("BVH") << " source_volume " << source_volume << LL_ENDL; - LL_DEBUGS("BVH") << " source_offset " << shared_constraintp->mSourceConstraintOffset << LL_ENDL; - LL_DEBUGS("BVH") << " target_volume " << target_volume << LL_ENDL; - LL_DEBUGS("BVH") << " target_offset " << shared_constraintp->mTargetConstraintOffset << LL_ENDL; - LL_DEBUGS("BVH") << " target_dir " << shared_constraintp->mTargetConstraintDir << LL_ENDL; - LL_DEBUGS("BVH") << " ease_in_start " << shared_constraintp->mEaseInStartTime << LL_ENDL; - LL_DEBUGS("BVH") << " ease_in_stop " << shared_constraintp->mEaseInStopTime << LL_ENDL; - LL_DEBUGS("BVH") << " ease_out_start " << shared_constraintp->mEaseOutStartTime << LL_ENDL; - LL_DEBUGS("BVH") << " ease_out_stop " << shared_constraintp->mEaseOutStopTime << LL_ENDL; + // _LL_DEBUGS("BVH") << " chain_length " << shared_constraintp->mChainLength << LL_ENDL; + // _LL_DEBUGS("BVH") << " constraint_type " << (S32)shared_constraintp->mConstraintType << LL_ENDL; + // _LL_DEBUGS("BVH") << " source_volume " << source_volume << LL_ENDL; + // _LL_DEBUGS("BVH") << " source_offset " << shared_constraintp->mSourceConstraintOffset << LL_ENDL; + // _LL_DEBUGS("BVH") << " target_volume " << target_volume << LL_ENDL; + // _LL_DEBUGS("BVH") << " target_offset " << shared_constraintp->mTargetConstraintOffset << LL_ENDL; + // _LL_DEBUGS("BVH") << " target_dir " << shared_constraintp->mTargetConstraintDir << LL_ENDL; + // _LL_DEBUGS("BVH") << " ease_in_start " << shared_constraintp->mEaseInStartTime << LL_ENDL; + // _LL_DEBUGS("BVH") << " ease_in_stop " << shared_constraintp->mEaseInStopTime << LL_ENDL; + // _LL_DEBUGS("BVH") << " ease_out_start " << shared_constraintp->mEaseOutStartTime << LL_ENDL; + // _LL_DEBUGS("BVH") << " ease_out_stop " << shared_constraintp->mEaseOutStopTime << LL_ENDL; } return success; @@ -2128,7 +2128,7 @@ void LLKeyframeMotion::dumpToFile(const std::string& name) S32 file_size = getFileSize(); U8* buffer = new U8[file_size]; - LL_DEBUGS("BVH") << "Dumping " << outfilename << LL_ENDL; + // _LL_DEBUGS("BVH") << "Dumping " << outfilename << LL_ENDL; LLDataPackerBinaryBuffer dp(buffer, file_size); if (serialize(dp)) { @@ -2337,7 +2337,7 @@ void LLKeyframeMotion::onLoadComplete(LLVFS *vfs, U8* buffer = new U8[size]; file.read((U8*)buffer, size); /*Flawfinder: ignore*/ - LL_DEBUGS("Animation") << "Loading keyframe data for: " << motionp->getName() << ":" << motionp->getID() << " (" << size << " bytes)" << LL_ENDL; + // _LL_DEBUGS("Animation") << "Loading keyframe data for: " << motionp->getName() << ":" << motionp->getID() << " (" << size << " bytes)" << LL_ENDL; LLDataPackerBinaryBuffer dp(buffer, size); if (motionp->deserialize(dp, asset_uuid)) diff --git a/indra/llcharacter/llvisualparam.cpp b/indra/llcharacter/llvisualparam.cpp index 2235496ac5f..d8148fdb1b3 100644 --- a/indra/llcharacter/llvisualparam.cpp +++ b/indra/llcharacter/llvisualparam.cpp @@ -370,7 +370,7 @@ void LLVisualParam::setParamLocation(EParamLocation loc) } else { - LL_DEBUGS() << "param location is already " << mParamLocation << ", not slamming to " << loc << LL_ENDL; + // _LL_DEBUGS() << "param location is already " << mParamLocation << ", not slamming to " << loc << LL_ENDL; } } diff --git a/indra/llcommon/llcallstack.h b/indra/llcommon/llcallstack.h index edc0b6c6839..9fe04aab3e9 100644 --- a/indra/llcommon/llcallstack.h +++ b/indra/llcommon/llcallstack.h @@ -85,7 +85,7 @@ LL_COMMON_API std::ostream& operator<<(std::ostream& s, const LLContextStatus& c if (enable_log) \ { \ LLCallStack cs; \ - LL_DEBUGS(tag) << "STACK:\n" << "====================\n" << cs << "====================" << LL_ENDL; \ + // _LL_DEBUGS(tag) << "STACK:\n" << "====================\n" << cs << "====================" << LL_ENDL; } #else #define dumpStack(tag) diff --git a/indra/llcommon/llcoros.cpp b/indra/llcommon/llcoros.cpp index 262929006dd..ebd6e8c3587 100644 --- a/indra/llcommon/llcoros.cpp +++ b/indra/llcommon/llcoros.cpp @@ -207,7 +207,7 @@ std::string LLCoros::logname() void LLCoros::setStackSize(S32 stacksize) { - LL_DEBUGS("LLCoros") << "Setting coroutine stack size to " << stacksize << LL_ENDL; + // _LL_DEBUGS("LLCoros") << "Setting coroutine stack size to " << stacksize << LL_ENDL; mStackSize = stacksize; } diff --git a/indra/llcommon/llerror.cpp b/indra/llcommon/llerror.cpp index 1f31040e8bc..5bd6f72d4d0 100644 --- a/indra/llcommon/llerror.cpp +++ b/indra/llcommon/llerror.cpp @@ -335,8 +335,8 @@ namespace LLError if (is_available()) { // in Python, " or ".join(vector) -- but in C++, a PITB - LL_DEBUGS() << "Did not see 'class' or 'struct' prefix on '" - << name << "'" << LL_ENDL; + /*// _LL_DEBUGS() << "Did not see 'class' or 'struct' prefix on '" + << name << "'" << LL_ENDL;*/ } return name; diff --git a/indra/llcommon/llerror.h b/indra/llcommon/llerror.h index 6d54df8317b..b73f2b9d380 100644 --- a/indra/llcommon/llerror.h +++ b/indra/llcommon/llerror.h @@ -108,7 +108,7 @@ const int LL_ERR_NOERR = 0; Messages can be logged to one of four increasing levels of concern, using one of four "streams": - LL_DEBUGS("StringTag") - debug messages that are normally suppressed + // _LL_DEBUGS("StringTag") - debug messages that are normally suppressed LL_INFOS("StringTag") - informational messages that are normal shown LL_WARNS("StringTag") - warning messages that signal a problem LL_ERRS("StringTag") - error messages that are major, unrecoverable failures @@ -168,7 +168,7 @@ const int LL_ERR_NOERR = 0; Lastly, logging is now very efficient in both compiled code and execution when skipped. There is no need to wrap messages, even debugging ones, in - #ifdef _DEBUG constructs. LL_DEBUGS("StringTag") messages are compiled into all builds, + #ifdef _DEBUG constructs. // _LL_DEBUGS("StringTag") messages are compiled into all builds, even release. Which means you can use them to help debug even when deployed to a real grid. */ @@ -354,7 +354,7 @@ typedef LLError::NoClassInfo _LL_CLASS_TO_LOG; // See top of file for common usage. ///////////////////////////////// -// Instead of using LL_DEBUGS(), LL_INFOS() et al., it may be tempting to +// Instead of using // _LL_DEBUGS(), LL_INFOS() et al., it may be tempting to // directly code the lllog() macro so you can pass in the LLError::ELevel as a // variable. DON'T DO IT! The reason is that the first time control passes // through lllog(), it initializes a local static LLError::CallSite with that diff --git a/indra/llcommon/lleventcoro.cpp b/indra/llcommon/lleventcoro.cpp index 995356dc520..a9452738e43 100644 --- a/indra/llcommon/lleventcoro.cpp +++ b/indra/llcommon/lleventcoro.cpp @@ -176,9 +176,9 @@ postAndSuspendSetup(const std::string& callerName, auto& statsd = status["status"]; if (statsd.asString() != "running") { - LL_DEBUGS("lleventcoro") << listenerName + /*// _LL_DEBUGS("lleventcoro") << listenerName << " spotted status " << statsd - << ", throwing Stopping" << LL_ENDL; + << ", throwing Stopping" << LL_ENDL;*/ try { promise.set_exception( @@ -210,8 +210,9 @@ postAndSuspendSetup(const std::string& callerName, } catch(boost::fibers::promise_already_satisfied & ex) { - LL_DEBUGS("lleventcoro") << "promise already satisfied in '" - << listenerName << "': " << ex.what() << LL_ENDL; + /*LL_DEBUGS("lleventcoro") << "promise already satisfied in '" + << listenerName << "': " << ex.what() << LL_ENDL;*/ + ex.what(); // We could not propagate the result value to the // listener. return false; @@ -226,17 +227,17 @@ postAndSuspendSetup(const std::string& callerName, // request event. LLSD modevent(event); storeToLLSDPath(modevent, replyPumpNamePath, replyPump.getName()); - LL_DEBUGS("lleventcoro") << callerName << ": coroutine " << listenerName + /*// _LL_DEBUGS("lleventcoro") << callerName << ": coroutine " << listenerName << " posting to " << requestPump.getName() - << LL_ENDL; + << LL_ENDL;*/ // *NOTE:Mani - Removed because modevent could contain user's hashed passwd. // << ": " << modevent << LL_ENDL; requestPump.post(modevent); } - LL_DEBUGS("lleventcoro") << callerName << ": coroutine " << listenerName + /*// _LL_DEBUGS("lleventcoro") << callerName << ": coroutine " << listenerName << " about to wait on LLEventPump " << replyPump.getName() - << LL_ENDL; + << LL_ENDL;*/ return { connection, stopper }; } @@ -260,8 +261,8 @@ LLSD llcoro::postAndSuspend(const LLSD& event, const LLEventPumpOrPumpName& requ // calling get() on the future makes us wait for it LLCoros::TempStatus st(STRINGIZE("waiting for " << replyPump.getPump().getName())); LLSD value(future.get()); - LL_DEBUGS("lleventcoro") << "postAndSuspend(): coroutine " << listenerName - << " resuming with " << value << LL_ENDL; + /*// _LL_DEBUGS("lleventcoro") << "postAndSuspend(): coroutine " << listenerName + << " resuming with " << value << LL_ENDL;*/ // returning should disconnect the connection return value; } @@ -298,9 +299,9 @@ LLSD llcoro::postAndSuspendWithTimeout(const LLSD& event, // if the future is NOT yet ready, return timeoutResult instead if (status == boost::fibers::future_status::timeout) { - LL_DEBUGS("lleventcoro") << "postAndSuspendWithTimeout(): coroutine " << listenerName + /*// _LL_DEBUGS("lleventcoro") << "postAndSuspendWithTimeout(): coroutine " << listenerName << " timed out after " << timeout << " seconds," - << " resuming with " << timeoutResult << LL_ENDL; + << " resuming with " << timeoutResult << LL_ENDL;*/ return timeoutResult; } else @@ -309,8 +310,8 @@ LLSD llcoro::postAndSuspendWithTimeout(const LLSD& event, // future is now ready, no more waiting LLSD value(future.get()); - LL_DEBUGS("lleventcoro") << "postAndSuspendWithTimeout(): coroutine " << listenerName - << " resuming with " << value << LL_ENDL; + /*// _LL_DEBUGS("lleventcoro") << "postAndSuspendWithTimeout(): coroutine " << listenerName + << " resuming with " << value << LL_ENDL;*/ // returning should disconnect the connection return value; } diff --git a/indra/llcommon/lleventdispatcher.cpp b/indra/llcommon/lleventdispatcher.cpp index 5b6d4efbe98..c7a6596895d 100644 --- a/indra/llcommon/lleventdispatcher.cpp +++ b/indra/llcommon/lleventdispatcher.cpp @@ -334,8 +334,8 @@ LLSD LLSDArgsMapper::map(const LLSD& argsmap) const // our names array. Caller typically receives a map containing // the function name, cruft such as reqid, etc. Ignore keys // not defined in _indexes. - LL_DEBUGS("LLSDArgsMapper") << _function << " ignoring " - << mi->first << "=" << mi->second << LL_ENDL; + /*// _LL_DEBUGS("LLSDArgsMapper") << _function << " ignoring " + << mi->first << "=" << mi->second << LL_ENDL;*/ continue; } LLSD::Integer pos = ixit->second; diff --git a/indra/llcommon/lleventfilter.cpp b/indra/llcommon/lleventfilter.cpp index 4cded7f88e0..4c7d0e1f1ad 100644 --- a/indra/llcommon/lleventfilter.cpp +++ b/indra/llcommon/lleventfilter.cpp @@ -465,8 +465,8 @@ LLBoundListener LLEventLogProxy::listen_impl(const std::string& name, const NameList& after, const NameList& before) { - LL_DEBUGS("LogProxy") << "LLEventLogProxy('" << getName() << "').listen('" - << name << "')" << LL_ENDL; + /*// _LL_DEBUGS("LogProxy") << "LLEventLogProxy('" << getName() << "').listen('" + << name << "')" << LL_ENDL;*/ return mPump.listen(name, [this, name, target](const LLSD& event)->bool { return listener(name, target, event); }, diff --git a/indra/llcommon/llfasttimer.cpp b/indra/llcommon/llfasttimer.cpp index 08ea668964e..fabb142aa36 100644 --- a/indra/llcommon/llfasttimer.cpp +++ b/indra/llcommon/llfasttimer.cpp @@ -243,8 +243,8 @@ void BlockTimer::incrementalUpdateTimerTree() { // since ancestors have already been visited, re-parenting won't affect tree traversal //step up tree, bringing our descendants with us - LL_DEBUGS("FastTimers") << "Moving " << timerp->getName() << " from child of " << timerp->getParent()->getName() << - " to child of " << timerp->getParent()->getParent()->getName() << LL_ENDL; + /*// _LL_DEBUGS("FastTimers") << "Moving " << timerp->getName() << " from child of " << timerp->getParent()->getName() << + " to child of " << timerp->getParent()->getParent()->getName() << LL_ENDL;*/ timerp->setParent(timerp->getParent()->getParent()); accumulator.mParent = timerp->getParent(); accumulator.mMoveUpTree = false; @@ -347,11 +347,11 @@ void BlockTimer::logStats() static S32 call_count = 0; if (call_count % 100 == 0) { - LL_DEBUGS("FastTimers") << "countsPerSecond: " << countsPerSecond() << LL_ENDL; - LL_DEBUGS("FastTimers") << "LLProcessorInfo().getCPUFrequency() " << LLProcessorInfo().getCPUFrequency() << LL_ENDL; - LL_DEBUGS("FastTimers") << "getCPUClockCount32() " << getCPUClockCount32() << LL_ENDL; - LL_DEBUGS("FastTimers") << "getCPUClockCount64() " << getCPUClockCount64() << LL_ENDL; - LL_DEBUGS("FastTimers") << "elapsed sec " << ((F64)getCPUClockCount64() / (F64HertzImplicit)LLProcessorInfo().getCPUFrequency()) << LL_ENDL; + // _LL_DEBUGS("FastTimers") << "countsPerSecond: " << countsPerSecond() << LL_ENDL; + // _LL_DEBUGS("FastTimers") << "LLProcessorInfo().getCPUFrequency() " << LLProcessorInfo().getCPUFrequency() << LL_ENDL; + // _LL_DEBUGS("FastTimers") << "getCPUClockCount32() " << getCPUClockCount32() << LL_ENDL; + // _LL_DEBUGS("FastTimers") << "getCPUClockCount64() " << getCPUClockCount64() << LL_ENDL; + // _LL_DEBUGS("FastTimers") << "elapsed sec " << ((F64)getCPUClockCount64() / (F64HertzImplicit)LLProcessorInfo().getCPUFrequency()) << LL_ENDL; } call_count++; diff --git a/indra/llcommon/llfile.cpp b/indra/llcommon/llfile.cpp index 8355b1e797e..782bbb04c54 100644 --- a/indra/llcommon/llfile.cpp +++ b/indra/llcommon/llfile.cpp @@ -134,7 +134,7 @@ int warnif(const std::string& desc, const std::string& filename, int rc, int acc if (errn == EACCES) // *not* EPERM { // Only do any of this stuff (before LL_ENDL) if it will be logged. - LL_DEBUGS("LLFile") << empty; + // _LL_DEBUGS("LLFile") << empty; // would be nice to use LLDir for this, but dependency goes the // wrong way const char* TEMP = LLFile::tmpdir(); diff --git a/indra/llcommon/llleap.cpp b/indra/llcommon/llleap.cpp index cf8f8cc6a5e..9b88a50bd06 100644 --- a/indra/llcommon/llleap.cpp +++ b/indra/llcommon/llleap.cpp @@ -161,7 +161,7 @@ class LLLeapImpl: public LLLeap // Normally we'd expect to arrive here only via done() virtual ~LLLeapImpl() { - LL_DEBUGS("LLLeap") << "destroying LLLeap(\"" << mDesc << "\")" << LL_ENDL; + // _LL_DEBUGS("LLLeap") << "destroying LLLeap(\"" << mDesc << "\")" << LL_ENDL; // Restore original FatalFunction LLError::setFatalFunction(mPrevFatalFunction); } @@ -231,7 +231,7 @@ class LLLeapImpl: public LLLeap } |*==========================================================================*/ - LL_DEBUGS("EventHost") << "Sending: " << buffer.tellp() << ':'; + /*// _LL_DEBUGS("EventHost") << "Sending: " << buffer.tellp() << ':'; std::string::size_type truncate(80); if (buffer.tellp() <= truncate) { @@ -241,7 +241,7 @@ class LLLeapImpl: public LLLeap { LL_CONT << buffer.str().substr(0, truncate) << "..."; } - LL_CONT << LL_ENDL; + LL_CONT << LL_ENDL;*/ LLProcess::WritePipe& childin(mChild->getWritePipe(LLProcess::STDIN)); childin.get_ostream() << buffer.tellp() << ':' << buffer.str() << std::flush; @@ -276,8 +276,8 @@ class LLLeapImpl: public LLLeap // Saw length prefix, saw colon, life is good. Now wait for // that length of data to arrive. mExpect = expect; - LL_DEBUGS("LLLeap") << "got length, waiting for " - << mExpect << " bytes of data" << LL_ENDL; + /*// _LL_DEBUGS("LLLeap") << "got length, waiting for " + << mExpect << " bytes of data" << LL_ENDL;*/ // Block calls to this method; resetting mBlocker unblocks // calls to the other method. mBlocker.reset(new LLEventPump::Blocker(mStdoutConnection)); @@ -309,8 +309,8 @@ class LLLeapImpl: public LLLeap if (childout.size() >= mExpect) { // Ready to rock and roll. - LL_DEBUGS("LLLeap") << "needed " << mExpect << " bytes, got " - << childout.size() << ", parsing LLSD" << LL_ENDL; + /*// _LL_DEBUGS("LLLeap") << "needed " << mExpect << " bytes, got " + << childout.size() << ", parsing LLSD" << LL_ENDL;*/ LLSD data; LLPointer<LLSDParser> parser(new LLSDNotationParser()); S32 parse_status(parser->parse(childout.get_istream(), data, mExpect)); diff --git a/indra/llcommon/lllivefile.cpp b/indra/llcommon/lllivefile.cpp index ea485c2d86a..11203147e3d 100644 --- a/indra/llcommon/lllivefile.cpp +++ b/indra/llcommon/lllivefile.cpp @@ -103,7 +103,7 @@ bool LLLiveFile::Impl::check() { mLastExists = false; detected_change = true; // no longer existing is a change! - LL_DEBUGS() << "detected deleted file '" << mFilename << "'" << LL_ENDL; + // _LL_DEBUGS() << "detected deleted file '" << mFilename << "'" << LL_ENDL; } } else @@ -112,13 +112,13 @@ bool LLLiveFile::Impl::check() if ( ! mLastExists ) { // last check, it did not exist - that counts as a change - LL_DEBUGS() << "detected created file '" << mFilename << "'" << LL_ENDL; + // _LL_DEBUGS() << "detected created file '" << mFilename << "'" << LL_ENDL; detected_change = true; } else if ( stat_data.st_mtime > mLastModTime ) { // file modification time is newer than last check - LL_DEBUGS() << "detected updated file '" << mFilename << "'" << LL_ENDL; + // _LL_DEBUGS() << "detected updated file '" << mFilename << "'" << LL_ENDL; detected_change = true; } mLastExists = true; diff --git a/indra/llcommon/llmemorystream.cpp b/indra/llcommon/llmemorystream.cpp index 707ac8fd0ff..99f3a2ef207 100644 --- a/indra/llcommon/llmemorystream.cpp +++ b/indra/llcommon/llmemorystream.cpp @@ -45,7 +45,7 @@ void LLMemoryStreamBuf::reset(const U8* start, S32 length) int LLMemoryStreamBuf::underflow() { - //LL_DEBUGS() << "LLMemoryStreamBuf::underflow()" << LL_ENDL; + //// _LL_DEBUGS() << "LLMemoryStreamBuf::underflow()" << LL_ENDL; if(gptr() < egptr()) { return *gptr(); diff --git a/indra/llcommon/llprocess.cpp b/indra/llcommon/llprocess.cpp index 23936f0526e..4cfb34cad74 100644 --- a/indra/llcommon/llprocess.cpp +++ b/indra/llcommon/llprocess.cpp @@ -82,7 +82,7 @@ class LLProcessListener // incrementing, listen on "mainloop". if (mCount++ == 0) { - LL_DEBUGS("LLProcess") << "listening on \"mainloop\"" << LL_ENDL; + // _LL_DEBUGS("LLProcess") << "listening on \"mainloop\"" << LL_ENDL; mConnection = LLEventPumps::instance().obtain("mainloop") .listen("LLProcessListener", boost::bind(&LLProcessListener::tick, this, _1)); } @@ -94,7 +94,7 @@ class LLProcessListener // stop listening on "mainloop". if (--mCount == 0) { - LL_DEBUGS("LLProcess") << "disconnecting from \"mainloop\"" << LL_ENDL; + // _LL_DEBUGS("LLProcess") << "disconnecting from \"mainloop\"" << LL_ENDL; mConnection.disconnect(); } } @@ -119,7 +119,7 @@ class LLProcessListener // centralize such calls, using "mainloop" to ensure it happens once // per frame, and refcounting running LLProcess objects to remain // registered only while needed. - LL_DEBUGS("LLProcess") << "calling apr_proc_other_child_refresh_all()" << LL_ENDL; + // _LL_DEBUGS("LLProcess") << "calling apr_proc_other_child_refresh_all()" << LL_ENDL; apr_proc_other_child_refresh_all(APR_OC_REASON_RUNNING); return false; } @@ -217,13 +217,13 @@ class WritePipeImpl: public LLProcess::WritePipe remainptr += written; remainlen -= written; - char msgbuf[512]; - LL_DEBUGS("LLProcess") << "wrote " << written << " of " << towrite + //char msgbuf[512]; + /*// _LL_DEBUGS("LLProcess") << "wrote " << written << " of " << towrite << " bytes to " << mDesc << " (original " << total << ")," << " code " << err << ": " << apr_strerror(err, msgbuf, sizeof(msgbuf)) - << LL_ENDL; + << LL_ENDL;*/ // The parent end of this pipe is nonblocking. If we weren't able // to write everything we wanted, don't keep banging on it -- that @@ -386,7 +386,7 @@ class ReadPipeImpl: public LLProcess::ReadPipe // Handle EOF specially: it's part of normal-case processing. if (err == APR_EOF) { - LL_DEBUGS("LLProcess") << "EOF on " << mDesc << LL_ENDL; + // _LL_DEBUGS("LLProcess") << "EOF on " << mDesc << LL_ENDL; } else { @@ -406,8 +406,8 @@ class ReadPipeImpl: public LLProcess::ReadPipe // received. Make sure we commit those later. (Don't commit them // now, that would invalidate the buffer iterator sequence!) tocommit += gotten; - LL_DEBUGS("LLProcess") << "filled " << gotten << " of " << toread - << " bytes from " << mDesc << LL_ENDL; + /*// _LL_DEBUGS("LLProcess") << "filled " << gotten << " of " << toread + << " bytes from " << mDesc << LL_ENDL;*/ // The parent end of this pipe is nonblocking. If we weren't even // able to fill this buffer, don't loop to try to fill the next -- @@ -746,7 +746,7 @@ LLProcess::LLProcess(const LLSDOrParams& params): // Removed temporaily for Xcode 7 build tests: error was: // "error: expression with side effects will be evaluated despite // being used as an operand to 'typeid' [-Werror,-Wpotentially-evaluated-expression]"" - //LL_DEBUGS("LLProcess") << "Instantiating " << typeid(mPipes[i]).name() + //// _LL_DEBUGS("LLProcess") << "Instantiating " << typeid(mPipes[i]).name() // << "('" << desc << "')" << LL_ENDL; } } @@ -936,9 +936,9 @@ static struct ReasonCode void LLProcess::handle_status(int reason, int status) { { - // This odd appearance of LL_DEBUGS is just to bracket a lookup that will + // This odd appearance of // _LL_DEBUGS is just to bracket a lookup that will // only be performed if in fact we're going to produce the log message. - LL_DEBUGS("LLProcess") << empty; + /*// _LL_DEBUGS("LLProcess") << empty; std::string reason_str; BOOST_FOREACH(const ReasonCode& rcp, reasons) { @@ -952,7 +952,7 @@ void LLProcess::handle_status(int reason, int status) { reason_str = STRINGIZE("unknown reason " << reason); } - LL_CONT << mDesc << ": handle_status(" << reason_str << ", " << status << ")" << LL_ENDL; + LL_CONT << mDesc << ": handle_status(" << reason_str << ", " << status << ")" << LL_ENDL;*/ } if (! (reason == APR_OC_REASON_DEATH || reason == APR_OC_REASON_LOST)) @@ -1080,7 +1080,7 @@ boost::optional<PIPETYPE&> LLProcess::getOptPipe(FILESLOT slot) PIPETYPE* wp = getPipePtr<PIPETYPE>(error, slot); if (! wp) { - LL_DEBUGS("LLProcess") << error << LL_ENDL; + // _LL_DEBUGS("LLProcess") << error << LL_ENDL; return boost::optional<PIPETYPE&>(); } return *wp; diff --git a/indra/llcommon/llsingleton.cpp b/indra/llcommon/llsingleton.cpp index d3d25201b2a..4fa8f8c133b 100644 --- a/indra/llcommon/llsingleton.cpp +++ b/indra/llcommon/llsingleton.cpp @@ -281,7 +281,7 @@ void LLSingletonBase::MasterList::LockedInitializing::log(const char* verb, cons { if (oktolog()) { - LL_DEBUGS("LLSingleton") << verb << ' ' << demangle(name) << ';'; + /*// _LL_DEBUGS("LLSingleton") << verb << ' ' << demangle(name) << ';'; if (mList) { for (list_t::const_reverse_iterator ri(mList->rbegin()), rend(mList->rend()); @@ -291,7 +291,7 @@ void LLSingletonBase::MasterList::LockedInitializing::log(const char* verb, cons LL_CONT << ' ' << classname(sb); } } - LL_ENDL; + LL_ENDL;*/ } } diff --git a/indra/llcommon/llsys.cpp b/indra/llcommon/llsys.cpp index 9246b54bdbd..7827173e14c 100644 --- a/indra/llcommon/llsys.cpp +++ b/indra/llcommon/llsys.cpp @@ -918,9 +918,9 @@ LLMemoryInfo& LLMemoryInfo::refresh() { mStatsMap = loadStatsMap(); - LL_DEBUGS("LLMemoryInfo") << "Populated mStatsMap:\n"; + /*// _LL_DEBUGS("LLMemoryInfo") << "Populated mStatsMap:\n"; LLSDSerialize::toPrettyXML(mStatsMap, LL_CONT); - LL_ENDL; + LL_ENDL;*/ return *this; } @@ -1115,7 +1115,7 @@ LLSD LLMemoryInfo::loadStatsMap() std::string line; while (std::getline(meminfo, line)) { - LL_DEBUGS("LLMemoryInfo") << line << LL_ENDL; + // _LL_DEBUGS("LLMemoryInfo") << line << LL_ENDL; if (regex_match_no_exc(line, matched, stat_rx)) { // e.g. "MemTotal: 4108424 kB" diff --git a/indra/llcommon/lluri.cpp b/indra/llcommon/lluri.cpp index a83abfc6bec..864fa1f2273 100644 --- a/indra/llcommon/lluri.cpp +++ b/indra/llcommon/lluri.cpp @@ -457,7 +457,7 @@ LLURI LLURI::buildHTTP(const std::string& prefix, it != path.endArray(); ++it) { - LL_DEBUGS() << "PATH: inserting " << it->asString() << LL_ENDL; + // _LL_DEBUGS() << "PATH: inserting " << it->asString() << LL_ENDL; result.mEscapedPath += "/" + escapePathComponent(it->asString()); } } @@ -682,7 +682,7 @@ LLSD LLURI::queryMap() const // static LLSD LLURI::queryMap(std::string escaped_query_string) { - LL_DEBUGS() << "LLURI::queryMap query params: " << escaped_query_string << LL_ENDL; + // _LL_DEBUGS() << "LLURI::queryMap query params: " << escaped_query_string << LL_ENDL; LLSD result = LLSD::emptyArray(); while(!escaped_query_string.empty()) @@ -708,12 +708,12 @@ LLSD LLURI::queryMap(std::string escaped_query_string) { std::string key = unescape(tuple.substr(0,key_end)); std::string value = unescape(tuple.substr(key_end+1)); - LL_DEBUGS() << "inserting key " << key << " value " << value << LL_ENDL; + // _LL_DEBUGS() << "inserting key " << key << " value " << value << LL_ENDL; result[key] = value; } else { - LL_DEBUGS() << "inserting key " << unescape(tuple) << " value true" << LL_ENDL; + // _LL_DEBUGS() << "inserting key " << unescape(tuple) << " value true" << LL_ENDL; result[unescape(tuple)] = true; } } diff --git a/indra/llcorehttp/_httppolicy.cpp b/indra/llcorehttp/_httppolicy.cpp index 885f0ed61d6..cdaac82bad5 100644 --- a/indra/llcorehttp/_httppolicy.cpp +++ b/indra/llcorehttp/_httppolicy.cpp @@ -175,12 +175,12 @@ void HttpPolicy::retryOp(const HttpOpRequest::ptr_t &op) { ++op->mPolicy503Retries; } - LL_DEBUGS(LOG_CORE) << "HTTP request " << op->getHandle() + /*// _LL_DEBUGS(LOG_CORE) << "HTTP request " << op->getHandle() << " retry " << op->mPolicyRetries << " scheduled in " << (delta / HttpTime(1000)) << " mS (" << (external_delta ? "external" : "internal") << "). Status: " << op->mStatus.toTerseString() - << LL_ENDL; + << LL_ENDL;*/ if (op->mTracing > HTTP_TRACE_OFF) { LL_INFOS(LOG_CORE) << "TRACE, ToRetryQueue, Handle: " @@ -275,9 +275,9 @@ HttpService::ELoopSpeed HttpPolicy::processReadyQueue() if (now >= state.mThrottleEnd) { // Throttle expired, move to next window - LL_DEBUGS(LOG_CORE) << "Throttle expired with " << state.mThrottleLeft + /*// _LL_DEBUGS(LOG_CORE) << "Throttle expired with " << state.mThrottleLeft << " requests to go and " << state.mRequestCount - << " requests issued." << LL_ENDL; + << " requests issued." << LL_ENDL;*/ state.mThrottleLeft = state.mOptions.mThrottleRate; state.mThrottleEnd = now + HttpTime(1000000); } @@ -304,9 +304,9 @@ HttpService::ELoopSpeed HttpPolicy::processReadyQueue() if (now >= state.mThrottleEnd) { // Throttle expired, move to next window - LL_DEBUGS(LOG_CORE) << "Throttle expired with " << state.mThrottleLeft + /*// _LL_DEBUGS(LOG_CORE) << "Throttle expired with " << state.mThrottleLeft << " requests to go and " << state.mRequestCount - << " requests issued." << LL_ENDL; + << " requests issued." << LL_ENDL;*/ state.mThrottleLeft = state.mOptions.mThrottleRate; state.mThrottleEnd = now + HttpTime(1000000); } @@ -439,9 +439,9 @@ bool HttpPolicy::stageAfterCompletion(const HttpOpRequest::ptr_t &op) } else if (op->mPolicyRetries) { - LL_DEBUGS(LOG_CORE) << "HTTP request " << op->getHandle() + /*// _LL_DEBUGS(LOG_CORE) << "HTTP request " << op->getHandle() << " succeeded on retry " << op->mPolicyRetries << "." - << LL_ENDL; + << LL_ENDL;*/ } op->stageFromActive(mService); diff --git a/indra/llcorehttp/_httppolicyglobal.cpp b/indra/llcorehttp/_httppolicyglobal.cpp index 8da6cba6d0b..4d061caea12 100644 --- a/indra/llcorehttp/_httppolicyglobal.cpp +++ b/indra/llcorehttp/_httppolicyglobal.cpp @@ -88,17 +88,17 @@ HttpStatus HttpPolicyGlobal::set(HttpRequest::EPolicyOption opt, const std::stri switch (opt) { case HttpRequest::PO_CA_PATH: - LL_DEBUGS("CoreHttp") << "Setting global CA Path to " << value << LL_ENDL; + // _LL_DEBUGS("CoreHttp") << "Setting global CA Path to " << value << LL_ENDL; mCAPath = value; break; case HttpRequest::PO_CA_FILE: - LL_DEBUGS("CoreHttp") << "Setting global CA File to " << value << LL_ENDL; + // _LL_DEBUGS("CoreHttp") << "Setting global CA File to " << value << LL_ENDL; mCAFile = value; break; case HttpRequest::PO_HTTP_PROXY: - LL_DEBUGS("CoreHttp") << "Setting global Proxy to " << value << LL_ENDL; + // _LL_DEBUGS("CoreHttp") << "Setting global Proxy to " << value << LL_ENDL; mHttpProxy = value; break; diff --git a/indra/llcrashlogger/llcrashlogger.cpp b/indra/llcrashlogger/llcrashlogger.cpp index 125b373f797..c39103fb001 100644 --- a/indra/llcrashlogger/llcrashlogger.cpp +++ b/indra/llcrashlogger/llcrashlogger.cpp @@ -73,7 +73,7 @@ class LLCrashLoggerHandler : public LLHttpSDHandler void LLCrashLoggerHandler::onSuccess(LLCore::HttpResponse * response, const LLSD &content) { - LL_DEBUGS("CRASHREPORT") << "Request to " << response->getRequestURL() << "succeeded" << LL_ENDL; + // _LL_DEBUGS("CRASHREPORT") << "Request to " << response->getRequestURL() << "succeeded" << LL_ENDL; gBreak = true; gSent = true; } @@ -286,7 +286,7 @@ void LLCrashLogger::gatherFiles() std::string file = (*itr).second; if (!file.empty()) { - LL_DEBUGS("CRASHREPORT") << "trying to read " << itr->first << ": " << file << LL_ENDL; + // _LL_DEBUGS("CRASHREPORT") << "trying to read " << itr->first << ": " << file << LL_ENDL; llifstream f(file.c_str()); if(f.is_open()) { @@ -312,7 +312,7 @@ void LLCrashLogger::gatherFiles() } else { - LL_DEBUGS("CRASHREPORT") << "empty file in list for " << itr->first << LL_ENDL; + // _LL_DEBUGS("CRASHREPORT") << "empty file in list for " << itr->first << LL_ENDL; } } @@ -356,17 +356,17 @@ void LLCrashLogger::gatherFiles() } else { - LL_DEBUGS("CRASHREPORT") << "MDMP not found in " << fullname << LL_ENDL; + // _LL_DEBUGS("CRASHREPORT") << "MDMP not found in " << fullname << LL_ENDL; } } else { - LL_DEBUGS("CRASHREPORT") << "failed to open " << fullname << LL_ENDL; + // _LL_DEBUGS("CRASHREPORT") << "failed to open " << fullname << LL_ENDL; } } else { - LL_DEBUGS("CRASHREPORT") << "Name does not match minidump name pattern " << *iter << LL_ENDL; + // _LL_DEBUGS("CRASHREPORT") << "Name does not match minidump name pattern " << *iter << LL_ENDL; } } } @@ -453,7 +453,7 @@ bool LLCrashLogger::sendCrashLog(std::string dump_dir) "BlackDragonCrashReport"); std::string report_file = dump_path + ".log"; - LL_DEBUGS("CRASHREPORT") << "sending " << report_file << LL_ENDL; + // _LL_DEBUGS("CRASHREPORT") << "sending " << report_file << LL_ENDL; gatherFiles(); @@ -559,7 +559,7 @@ void LLCrashLogger::updateApplication(const std::string& message) bool LLCrashLogger::init() { - LL_DEBUGS("CRASHREPORT") << LL_ENDL; + // _LL_DEBUGS("CRASHREPORT") << LL_ENDL; LLCore::LLHttp::initialize(); diff --git a/indra/llimage/llimage.cpp b/indra/llimage/llimage.cpp index e3fbe6c5049..6f8943f7c44 100644 --- a/indra/llimage/llimage.cpp +++ b/indra/llimage/llimage.cpp @@ -1845,8 +1845,8 @@ bool LLImageRaw::createFromFile(const std::string &filename, bool j2c_lowest_mip llifstream ifs(name.c_str(), llifstream::binary); if (!ifs.is_open()) { - // SJB: changed from LL_INFOS() to LL_DEBUGS() to reduce spam - LL_DEBUGS() << "Unable to open image file: " << name << LL_ENDL; + // SJB: changed from LL_INFOS() to // _LL_DEBUGS() to reduce spam + // _LL_DEBUGS() << "Unable to open image file: " << name << LL_ENDL; return false; } diff --git a/indra/llimagej2coj/llimagej2coj.cpp b/indra/llimagej2coj/llimagej2coj.cpp index d1a2f9c8f78..2635e358f2a 100644 --- a/indra/llimagej2coj/llimagej2coj.cpp +++ b/indra/llimagej2coj/llimagej2coj.cpp @@ -70,21 +70,21 @@ sample error callback expecting a LLFILE* client object */ void error_callback(const char* msg, void*) { - LL_DEBUGS() << "LLImageJ2COJ: " << chomp(msg) << LL_ENDL; + // _LL_DEBUGS() << "LLImageJ2COJ: " << chomp(msg) << LL_ENDL; } /** sample warning callback expecting a LLFILE* client object */ void warning_callback(const char* msg, void*) { - LL_DEBUGS() << "LLImageJ2COJ: " << chomp(msg) << LL_ENDL; + // _LL_DEBUGS() << "LLImageJ2COJ: " << chomp(msg) << LL_ENDL; } /** sample debug callback expecting no client object */ void info_callback(const char* msg, void*) { - LL_DEBUGS() << "LLImageJ2COJ: " << chomp(msg) << LL_ENDL; + // _LL_DEBUGS() << "LLImageJ2COJ: " << chomp(msg) << LL_ENDL; } // Divide a by 2 to the power of b and round upwards @@ -176,7 +176,7 @@ bool LLImageJ2COJ::decodeImpl(LLImageJ2C &base, LLImageRaw &raw_image, F32 decod // dereference the array. if(!image || !image->numcomps) { - LL_DEBUGS("Texture") << "ERROR -> decodeImpl: failed to decode image!" << LL_ENDL; + // _LL_DEBUGS("Texture") << "ERROR -> decodeImpl: failed to decode image!" << LL_ENDL; if (image) { opj_image_destroy(image); @@ -253,7 +253,7 @@ bool LLImageJ2COJ::decodeImpl(LLImageJ2C &base, LLImageRaw &raw_image, F32 decod } else // Some rare OpenJPEG versions have this bug. { - LL_DEBUGS("Texture") << "ERROR -> decodeImpl: failed to decode image! (NULL comp data - OpenJPEG bug)" << LL_ENDL; + // _LL_DEBUGS("Texture") << "ERROR -> decodeImpl: failed to decode image! (NULL comp data - OpenJPEG bug)" << LL_ENDL; opj_image_destroy(image); base.decodeFailed(); return true; // done @@ -386,7 +386,7 @@ bool LLImageJ2COJ::encodeImpl(LLImageJ2C &base, const LLImageRaw &raw_image, con if (!bSuccess) { opj_cio_close(cio); - LL_DEBUGS("Texture") << "Failed to encode image." << LL_ENDL; + // _LL_DEBUGS("Texture") << "Failed to encode image." << LL_ENDL; return false; } codestream_length = cio_tell(cio); diff --git a/indra/llinventory/llinventory.cpp b/indra/llinventory/llinventory.cpp index 11647c55185..3dfaa2197b5 100644 --- a/indra/llinventory/llinventory.cpp +++ b/indra/llinventory/llinventory.cpp @@ -409,23 +409,23 @@ U32 LLInventoryItem::getCRC32() const // *NOTE: We currently do not validate the name or description, // but if they change in transit, it's no big deal. U32 crc = mUUID.getCRC32(); - //LL_DEBUGS() << "1 crc: " << std::hex << crc << std::dec << LL_ENDL; + //// _LL_DEBUGS() << "1 crc: " << std::hex << crc << std::dec << LL_ENDL; crc += mParentUUID.getCRC32(); - //LL_DEBUGS() << "2 crc: " << std::hex << crc << std::dec << LL_ENDL; + //// _LL_DEBUGS() << "2 crc: " << std::hex << crc << std::dec << LL_ENDL; crc += mPermissions.getCRC32(); - //LL_DEBUGS() << "3 crc: " << std::hex << crc << std::dec << LL_ENDL; + //// _LL_DEBUGS() << "3 crc: " << std::hex << crc << std::dec << LL_ENDL; crc += mAssetUUID.getCRC32(); - //LL_DEBUGS() << "4 crc: " << std::hex << crc << std::dec << LL_ENDL; + //// _LL_DEBUGS() << "4 crc: " << std::hex << crc << std::dec << LL_ENDL; crc += mType; - //LL_DEBUGS() << "5 crc: " << std::hex << crc << std::dec << LL_ENDL; + //// _LL_DEBUGS() << "5 crc: " << std::hex << crc << std::dec << LL_ENDL; crc += mInventoryType; - //LL_DEBUGS() << "6 crc: " << std::hex << crc << std::dec << LL_ENDL; + //// _LL_DEBUGS() << "6 crc: " << std::hex << crc << std::dec << LL_ENDL; crc += mFlags; - //LL_DEBUGS() << "7 crc: " << std::hex << crc << std::dec << LL_ENDL; + //// _LL_DEBUGS() << "7 crc: " << std::hex << crc << std::dec << LL_ENDL; crc += mSaleInfo.getCRC32(); - //LL_DEBUGS() << "8 crc: " << std::hex << crc << std::dec << LL_ENDL; + //// _LL_DEBUGS() << "8 crc: " << std::hex << crc << std::dec << LL_ENDL; crc += (U32)mCreationDate; - //LL_DEBUGS() << "9 crc: " << std::hex << crc << std::dec << LL_ENDL; + //// _LL_DEBUGS() << "9 crc: " << std::hex << crc << std::dec << LL_ENDL; return crc; } @@ -589,7 +589,7 @@ BOOL LLInventoryItem::unpackMessage(LLMessageSystem* msg, const char* block, S32 #ifdef CRC_CHECK if(local_crc == remote_crc) { - LL_DEBUGS() << "crc matches" << LL_ENDL; + // _LL_DEBUGS() << "crc matches" << LL_ENDL; return TRUE; } else @@ -756,7 +756,7 @@ BOOL LLInventoryItem::importFile(LLFILE* fp) if((LLInventoryType::IT_NONE == mInventoryType) || !inventory_and_asset_types_match(mInventoryType, mType)) { - LL_DEBUGS() << "Resetting inventory type for " << mUUID << LL_ENDL; + // _LL_DEBUGS() << "Resetting inventory type for " << mUUID << LL_ENDL; mInventoryType = LLInventoryType::defaultForAssetType(mType); } @@ -964,7 +964,7 @@ BOOL LLInventoryItem::importLegacyStream(std::istream& input_stream) if((LLInventoryType::IT_NONE == mInventoryType) || !inventory_and_asset_types_match(mInventoryType, mType)) { - LL_DEBUGS() << "Resetting inventory type for " << mUUID << LL_ENDL; + // _LL_DEBUGS() << "Resetting inventory type for " << mUUID << LL_ENDL; mInventoryType = LLInventoryType::defaultForAssetType(mType); } @@ -1203,7 +1203,7 @@ bool LLInventoryItem::fromLLSD(const LLSD& sd, bool is_new) if((LLInventoryType::IT_NONE == mInventoryType) || !inventory_and_asset_types_match(mInventoryType, mType)) { - LL_DEBUGS() << "Resetting inventory type for " << mUUID << LL_ENDL; + // _LL_DEBUGS() << "Resetting inventory type for " << mUUID << LL_ENDL; mInventoryType = LLInventoryType::defaultForAssetType(mType); } @@ -1286,7 +1286,7 @@ void LLInventoryItem::unpackBinaryBucket(U8* bin_bucket, S32 bin_bucket_size) item_buffer[bin_bucket_size] = '\0'; std::string str(&item_buffer[0]); - LL_DEBUGS() << "item buffer: " << str << LL_ENDL; + // _LL_DEBUGS() << "item buffer: " << str << LL_ENDL; // Tokenize the string. typedef boost::tokenizer<boost::char_separator<char> > tokenizer; @@ -1323,7 +1323,7 @@ void LLInventoryItem::unpackBinaryBucket(U8* bin_bucket, S32 bin_bucket_size) perm.init(creator_id, owner_id, last_owner_id, group_id); perm.initMasks(mask_base, mask_owner, mask_group, mask_every, mask_next); setPermissions(perm); - //LL_DEBUGS() << "perm: " << perm << LL_ENDL; + //// _LL_DEBUGS() << "perm: " << perm << LL_ENDL; LLUUID asset_id((*(iter++)).c_str()); setAssetUUID(asset_id); diff --git a/indra/llinventory/lllandmark.cpp b/indra/llinventory/lllandmark.cpp index 4c6075d6b56..b2578775057 100644 --- a/indra/llinventory/lllandmark.cpp +++ b/indra/llinventory/lllandmark.cpp @@ -176,7 +176,7 @@ void LLLandmark::requestRegionHandle( if(region_id.isNull()) { // don't bother with checking - it's 0. - LL_DEBUGS() << "requestRegionHandle: null" << LL_ENDL; + // _LL_DEBUGS() << "requestRegionHandle: null" << LL_ENDL; if(callback) { const U64 U64_ZERO = 0; @@ -187,7 +187,7 @@ void LLLandmark::requestRegionHandle( { if(region_id == mLocalRegion.first) { - LL_DEBUGS() << "requestRegionHandle: local" << LL_ENDL; + // _LL_DEBUGS() << "requestRegionHandle: local" << LL_ENDL; if(callback) { callback(region_id, mLocalRegion.second); @@ -198,14 +198,14 @@ void LLLandmark::requestRegionHandle( region_map_t::iterator it = mRegions.find(region_id); if(it == mRegions.end()) { - LL_DEBUGS() << "requestRegionHandle: upstream" << LL_ENDL; + // _LL_DEBUGS() << "requestRegionHandle: upstream" << LL_ENDL; if(callback) { region_callback_map_t::value_type vt(region_id, callback); sRegionCallbackMap.insert(vt); } - LL_DEBUGS() << "Landmark requesting information about: " - << region_id << LL_ENDL; + /*// _LL_DEBUGS() << "Landmark requesting information about: " + << region_id << LL_ENDL;*/ msg->newMessage("RegionHandleRequest"); msg->nextBlock("RequestBlock"); msg->addUUID("RegionID", region_id); @@ -214,7 +214,7 @@ void LLLandmark::requestRegionHandle( else if(callback) { // we have the answer locally - just call the callack. - LL_DEBUGS() << "requestRegionHandle: ready" << LL_ENDL; + // _LL_DEBUGS() << "requestRegionHandle: ready" << LL_ENDL; callback(region_id, (*it).second.mRegionHandle); } } @@ -248,7 +248,7 @@ void LLLandmark::processRegionIDAndHandle(LLMessageSystem* msg, void**) #if LL_DEBUG U32 grid_x, grid_y; grid_from_region_handle(info.mRegionHandle, &grid_x, &grid_y); - LL_DEBUGS() << "Landmark got reply for region: " << region_id << " " + // _LL_DEBUGS() << "Landmark got reply for region: " << region_id << " " << grid_x << "," << grid_y << LL_ENDL; #endif diff --git a/indra/llinventory/llsettingsbase.cpp b/indra/llinventory/llsettingsbase.cpp index 61b59e35aac..38e03e660cf 100644 --- a/indra/llinventory/llsettingsbase.cpp +++ b/indra/llinventory/llsettingsbase.cpp @@ -387,7 +387,7 @@ bool LLSettingsBase::validate() } if (result["warnings"].size() > 0) { - LL_DEBUGS("SETTINGS") << "Validation warnings: " << result["warnings"] << LL_ENDL; + // _LL_DEBUGS("SETTINGS") << "Validation warnings: " << result["warnings"] << LL_ENDL; } return result["success"].asBoolean(); diff --git a/indra/llinventory/lltransactionflags.cpp b/indra/llinventory/lltransactionflags.cpp index e21f29df41f..446d721c701 100644 --- a/indra/llinventory/lltransactionflags.cpp +++ b/indra/llinventory/lltransactionflags.cpp @@ -92,11 +92,11 @@ std::string build_transfer_message_to_source( S32 transaction_type, const std::string& description) { - LL_DEBUGS() << "build_transfer_message_to_source: " << amount << " " + /*// _LL_DEBUGS() << "build_transfer_message_to_source: " << amount << " " << source_id << " " << dest_id << " " << dest_name << " " << transaction_type << " " << (description.empty() ? "(no desc)" : description) - << LL_ENDL; + << LL_ENDL;*/ if(source_id.isNull()) { return description; @@ -144,10 +144,10 @@ std::string build_transfer_message_to_destination( S32 transaction_type, const std::string& description) { - LL_DEBUGS() << "build_transfer_message_to_dest: " << amount << " " + /*// _LL_DEBUGS() << "build_transfer_message_to_dest: " << amount << " " << dest_id << " " << source_id << " " << source_name << " " << transaction_type << " " << (description.empty() ? "(no desc)" : description) - << LL_ENDL; + << LL_ENDL;*/ if(0 == amount) { return std::string(); diff --git a/indra/llmath/llcalc.cpp b/indra/llmath/llcalc.cpp index edc6986cc91..45fd0391469 100644 --- a/indra/llmath/llcalc.cpp +++ b/indra/llmath/llcalc.cpp @@ -141,7 +141,7 @@ bool LLCalc::evalString(const std::string& expression, F32& result) try { info = parse(start, expr_upper.end(), calc, space_p); - LL_DEBUGS() << "Math expression: " << expression << " = " << result << LL_ENDL; + // _LL_DEBUGS() << "Math expression: " << expression << " = " << result << LL_ENDL; } catch(parser_error<std::string, std::string::iterator> &e) { diff --git a/indra/llmath/llrigginginfo.cpp b/indra/llmath/llrigginginfo.cpp index 0de07950c14..ed27da41ba1 100644 --- a/indra/llmath/llrigginginfo.cpp +++ b/indra/llmath/llrigginginfo.cpp @@ -136,7 +136,7 @@ void showDetails(const LLJointRiggingInfoTab& src, const std::string& str) } } } - LL_DEBUGS("RigSpammish") << "details: " << str << " has " << count_rigged << " rigged joints, of which " << count_box << " are non-empty" << LL_ENDL; + // _LL_DEBUGS("RigSpammish") << "details: " << str << " has " << count_rigged << " rigged joints, of which " << count_box << " are non-empty" << LL_ENDL; } void LLJointRiggingInfoTab::merge(const LLJointRiggingInfoTab& src) diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp index c20dcfe6f89..59234d4bc43 100644 --- a/indra/llmath/llvolume.cpp +++ b/indra/llmath/llvolume.cpp @@ -2379,7 +2379,7 @@ bool LLVolume::unpackVolumeFaces(std::istream& is, S32 size) U32 uzip_result = LLUZipHelper::unzip_llsd(mdl, is, size); if (uzip_result != LLUZipHelper::ZR_OK) { - LL_DEBUGS("MeshStreaming") << "Failed to unzip LLSD blob for LoD with code " << uzip_result << " , will probably fetch from sim again." << LL_ENDL; + // _LL_DEBUGS("MeshStreaming") << "Failed to unzip LLSD blob for LoD with code " << uzip_result << " , will probably fetch from sim again." << LL_ENDL; return false; } diff --git a/indra/llmessage/llassetstorage.cpp b/indra/llmessage/llassetstorage.cpp index d7801b6ddc1..d5de7ea8bda 100644 --- a/indra/llmessage/llassetstorage.cpp +++ b/indra/llmessage/llassetstorage.cpp @@ -185,8 +185,8 @@ void LLAssetInfo::setFromNameValue( const LLNameValue& nv ) setName( buf ); buf.assign( str, pos2, std::string::npos ); setDescription( buf ); - LL_DEBUGS("AssetStorage") << "uuid: " << mUuid << LL_ENDL; - LL_DEBUGS("AssetStorage") << "creator: " << mCreatorID << LL_ENDL; + // _LL_DEBUGS("AssetStorage") << "uuid: " << mUuid << LL_ENDL; + // _LL_DEBUGS("AssetStorage") << "creator: " << mCreatorID << LL_ENDL; } ///---------------------------------------------------------------------------- @@ -376,7 +376,7 @@ LLAssetStorage::~LLAssetStorage() void LLAssetStorage::setUpstream(const LLHost &upstream_host) { - LL_DEBUGS("AppInit") << "AssetStorage: Setting upstream provider to " << upstream_host << LL_ENDL; + // _LL_DEBUGS("AppInit") << "AssetStorage: Setting upstream provider to " << upstream_host << LL_ENDL; mUpstreamHost = upstream_host; } @@ -489,9 +489,9 @@ void LLAssetStorage::getAssetData(const LLUUID uuid, void *user_data, BOOL is_priority) { - LL_DEBUGS("AssetStorage") << "LLAssetStorage::getAssetData() - " << uuid << "," << LLAssetType::lookup(type) << LL_ENDL; + // _LL_DEBUGS("AssetStorage") << "LLAssetStorage::getAssetData() - " << uuid << "," << LLAssetType::lookup(type) << LL_ENDL; - LL_DEBUGS("AssetStorage") << "ASSET_TRACE requesting " << uuid << " type " << LLAssetType::lookup(type) << LL_ENDL; + // _LL_DEBUGS("AssetStorage") << "ASSET_TRACE requesting " << uuid << " type " << LLAssetType::lookup(type) << LL_ENDL; if (user_data) { @@ -501,7 +501,7 @@ void LLAssetStorage::getAssetData(const LLUUID uuid, if (mShutDown) { - LL_DEBUGS("AssetStorage") << "ASSET_TRACE cancelled " << uuid << " type " << LLAssetType::lookup(type) << " shutting down" << LL_ENDL; + // _LL_DEBUGS("AssetStorage") << "ASSET_TRACE cancelled " << uuid << " type " << LLAssetType::lookup(type) << " shutting down" << LL_ENDL; if (callback) { @@ -525,7 +525,7 @@ void LLAssetStorage::getAssetData(const LLUUID uuid, // Try static VFS first. if (findInStaticVFSAndInvokeCallback(uuid,type,callback,user_data)) { - LL_DEBUGS("AssetStorage") << "ASSET_TRACE asset " << uuid << " found in static VFS" << LL_ENDL; + // _LL_DEBUGS("AssetStorage") << "ASSET_TRACE asset " << uuid << " found in static VFS" << LL_ENDL; return; } @@ -543,7 +543,7 @@ void LLAssetStorage::getAssetData(const LLUUID uuid, callback(mVFS, uuid, type, user_data, LL_ERR_NOERR, LLExtStat::VFS_CACHED); } - LL_DEBUGS("AssetStorage") << "ASSET_TRACE asset " << uuid << " found in VFS" << LL_ENDL; + // _LL_DEBUGS("AssetStorage") << "ASSET_TRACE asset " << uuid << " found in VFS" << LL_ENDL; } else { @@ -577,8 +577,8 @@ void LLAssetStorage::getAssetData(const LLUUID uuid, } if (duplicate) { - LL_DEBUGS("AssetStorage") << "Adding additional non-duplicate request for asset " << uuid - << "." << LLAssetType::lookup(type) << LL_ENDL; + /*// _LL_DEBUGS("AssetStorage") << "Adding additional non-duplicate request for asset " << uuid + << "." << LLAssetType::lookup(type) << LL_ENDL;*/ } _queueDataRequest(uuid, type, callback, user_data, duplicate, is_priority); @@ -629,10 +629,10 @@ void LLAssetStorage::downloadCompleteCallback( LLBaseDownloadRequest* user_data, LLExtStat ext_status) { - LL_DEBUGS("AssetStorage") << "ASSET_TRACE asset " << file_id << " downloadCompleteCallback" << LL_ENDL; + // _LL_DEBUGS("AssetStorage") << "ASSET_TRACE asset " << file_id << " downloadCompleteCallback" << LL_ENDL; - LL_DEBUGS("AssetStorage") << "LLAssetStorage::downloadCompleteCallback() for " << file_id - << "," << LLAssetType::lookup(file_type) << LL_ENDL; + /*// _LL_DEBUGS("AssetStorage") << "LLAssetStorage::downloadCompleteCallback() for " << file_id + << "," << LLAssetType::lookup(file_type) << LL_ENDL;*/ LLAssetRequest* req = (LLAssetRequest*)user_data; if(!req) { @@ -708,7 +708,7 @@ void LLAssetStorage::getEstateAsset( void *user_data, BOOL is_priority) { - LL_DEBUGS() << "LLAssetStorage::getEstateAsset() - " << asset_id << "," << LLAssetType::lookup(atype) << ", estatetype " << etype << LL_ENDL; + // _LL_DEBUGS() << "LLAssetStorage::getEstateAsset() - " << asset_id << "," << LLAssetType::lookup(atype) << ", estatetype " << etype << LL_ENDL; // // Probably will get rid of this early out? @@ -781,7 +781,7 @@ void LLAssetStorage::getEstateAsset( tpvf.setAsset(asset_id, atype); tpvf.setCallback(downloadEstateAssetCompleteCallback, req); - LL_DEBUGS("AssetStorage") << "Starting transfer for " << asset_id << LL_ENDL; + // _LL_DEBUGS("AssetStorage") << "Starting transfer for " << asset_id << LL_ENDL; LLTransferTargetChannel *ttcp = gTransferManager.getTargetChannel(source_host, LLTCT_ASSET); ttcp->requestTransfer(spe, tpvf, 100.f + (is_priority ? 1.f : 0.f)); } @@ -854,7 +854,7 @@ void LLAssetStorage::getInvItemAsset( void *user_data, BOOL is_priority) { - LL_DEBUGS() << "LLAssetStorage::getInvItemAsset() - " << asset_id << "," << LLAssetType::lookup(atype) << LL_ENDL; + // _LL_DEBUGS() << "LLAssetStorage::getInvItemAsset() - " << asset_id << "," << LLAssetType::lookup(atype) << LL_ENDL; bool exists = false; U32 size = 0; @@ -916,16 +916,16 @@ void LLAssetStorage::getInvItemAsset( spi.setInvItem(owner_id, task_id, item_id); spi.setAsset(asset_id, atype); - LL_DEBUGS("ViewerAsset") << "requesting inv item id " << item_id << " asset_id " << asset_id << " type " << LLAssetType::lookup(atype) << LL_ENDL; + // _LL_DEBUGS("ViewerAsset") << "requesting inv item id " << item_id << " asset_id " << asset_id << " type " << LLAssetType::lookup(atype) << LL_ENDL; // Set our destination file, and the completion callback. LLTransferTargetParamsVFile tpvf; tpvf.setAsset(asset_id, atype); tpvf.setCallback(downloadInvItemCompleteCallback, req); - LL_DEBUGS("AssetStorage") << "Starting transfer for inventory asset " + /*// _LL_DEBUGS("AssetStorage") << "Starting transfer for inventory asset " << item_id << " owned by " << owner_id << "," << task_id - << LL_ENDL; + << LL_ENDL;*/ LLTransferTargetChannel *ttcp = gTransferManager.getTargetChannel(source_host, LLTCT_ASSET); ttcp->requestTransfer(spi, tpvf, 100.f + (is_priority ? 1.f : 0.f)); } @@ -1267,9 +1267,9 @@ bool LLAssetStorage::deletePendingRequest(LLAssetStorage::ERequestType rt, request_list_t* requests = getRequestList(rt); if (deletePendingRequestImpl(requests, asset_type, asset_id)) { - LL_DEBUGS("AssetStorage") << "Asset " << getRequestName(rt) << " request for " + /*// _LL_DEBUGS("AssetStorage") << "Asset " << getRequestName(rt) << " request for " << asset_id << "." << LLAssetType::lookup(asset_type) - << " removed from pending queue." << LL_ENDL; + << " removed from pending queue." << LL_ENDL;*/ return true; } return false; @@ -1373,7 +1373,7 @@ void LLAssetStorage::getAssetData(const LLUUID uuid, user_data == ((LLLegacyAssetRequest *)tmp->mUserData)->mUserData) { // this is a duplicate from the same subsystem - throw it away - LL_DEBUGS("AssetStorage") << "Discarding duplicate request for UUID " << uuid << LL_ENDL; + // _LL_DEBUGS("AssetStorage") << "Discarding duplicate request for UUID " << uuid << LL_ENDL; return; } } @@ -1460,7 +1460,7 @@ void LLAssetStorage::reportMetric( const LLUUID& asset_id, const LLAssetType::ET { if( !metric_recipient ) { - LL_DEBUGS("AssetStorage") << "Couldn't store LLAssetStoreage::reportMetric - no metrics_recipient" << LL_ENDL; + // _LL_DEBUGS("AssetStorage") << "Couldn't store LLAssetStoreage::reportMetric - no metrics_recipient" << LL_ENDL; return; } diff --git a/indra/llmessage/llavatarname.cpp b/indra/llmessage/llavatarname.cpp index 7e1246f8857..3314b6d01e5 100644 --- a/indra/llmessage/llavatarname.cpp +++ b/indra/llmessage/llavatarname.cpp @@ -260,10 +260,10 @@ std::string LLAvatarName::getUserName(bool lowercase) const void LLAvatarName::dump() const { - LL_DEBUGS("AvNameCache") << "LLAvatarName: " + /*// _LL_DEBUGS("AvNameCache") << "LLAvatarName: " << "user '" << mUsername << "' " << "display '" << mDisplayName << "' " << "expires in " << mExpires - LLFrameTimer::getTotalSeconds() << " seconds" - << LL_ENDL; + << LL_ENDL;*/ } diff --git a/indra/llmessage/llavatarnamecache.cpp b/indra/llmessage/llavatarnamecache.cpp index c8691457e2c..75fb26bd1f3 100644 --- a/indra/llmessage/llavatarnamecache.cpp +++ b/indra/llmessage/llavatarnamecache.cpp @@ -133,8 +133,8 @@ LLAvatarNameCache::~LLAvatarNameCache() void LLAvatarNameCache::requestAvatarNameCache_(std::string url, std::vector<LLUUID> agentIds) { - LL_DEBUGS("AvNameCache") << "Entering coroutine " << LLCoros::getName() - << " with url '" << url << "', requesting " << agentIds.size() << " Agent Ids" << LL_ENDL; + /*// _LL_DEBUGS("AvNameCache") << "Entering coroutine " << LLCoros::getName() + << " with url '" << url << "', requesting " << agentIds.size() << " Agent Ids" << LL_ENDL;*/ // Check pointer that can be cleaned up by cleanupClass() if (!sHttpRequest || !sHttpOptions || !sHttpHeaders) @@ -152,7 +152,7 @@ void LLAvatarNameCache::requestAvatarNameCache_(std::string url, std::vector<LLU LLCoreHttpUtil::HttpCoroutineAdapter httpAdapter("NameCache", sHttpPolicy); LLSD results = httpAdapter.getAndSuspend(sHttpRequest, url); - LL_DEBUGS() << results << LL_ENDL; + // _LL_DEBUGS() << results << LL_ENDL; if (!results.isMap()) { @@ -216,7 +216,7 @@ void LLAvatarNameCache::handleAvNameCacheSuccess(const LLSD &data, const LLSD &h // Use expiration time from header av_name.mExpires = expires; - LL_DEBUGS("AvNameCache") << "LLAvatarNameResponder::result for " << agent_id << LL_ENDL; + // _LL_DEBUGS("AvNameCache") << "LLAvatarNameResponder::result for " << agent_id << LL_ENDL; av_name.dump(); // cache it and fire signals @@ -243,9 +243,9 @@ void LLAvatarNameCache::handleAvNameCacheSuccess(const LLSD &data, const LLSD &h LLAvatarNameCache::handleAgentError(agent_id); } } - LL_DEBUGS("AvNameCache") << "LLAvatarNameResponder::result " + /*// _LL_DEBUGS("AvNameCache") << "LLAvatarNameResponder::result " << LLAvatarNameCache::mCache.size() << " cached names" - << LL_ENDL; + << LL_ENDL;*/ } // Provide some fallback for agents that return errors @@ -269,7 +269,7 @@ void LLAvatarNameCache::handleAgentError(const LLUUID& agent_id) LLAvatarNameCache::mPendingQueue.erase(agent_id); LLAvatarName& av_name = existing->second; - LL_DEBUGS("AvNameCache") << "LLAvatarNameCache use cache for agent " << agent_id << LL_ENDL; + // _LL_DEBUGS("AvNameCache") << "LLAvatarNameCache use cache for agent " << agent_id << LL_ENDL; av_name.dump(); // Reset expiry time so we don't constantly rerequest. @@ -356,12 +356,12 @@ void LLAvatarNameCache::requestNamesViaCapability() if (!url.empty()) { - LL_DEBUGS("AvNameCache") << "requested " << ids << " ids" << LL_ENDL; + // _LL_DEBUGS("AvNameCache") << "requested " << ids << " ids" << LL_ENDL; std::string coroname = LLCoros::instance().launch("LLAvatarNameCache::requestAvatarNameCache_", boost::bind(&LLAvatarNameCache::requestAvatarNameCache_, url, agent_ids)); - LL_DEBUGS("AvNameCache") << coroname << " with url '" << url << "', agent_ids.size()=" << agent_ids.size() << LL_ENDL; + // _LL_DEBUGS("AvNameCache") << coroname << " with url '" << url << "', agent_ids.size()=" << agent_ids.size() << LL_ENDL; } } @@ -385,10 +385,10 @@ void LLAvatarNameCache::legacyNameFetch(const LLUUID& agent_id, const std::string& full_name, bool is_group) { - LL_DEBUGS("AvNameCache") << "LLAvatarNameCache agent " << agent_id << " " + /*// _LL_DEBUGS("AvNameCache") << "LLAvatarNameCache agent " << agent_id << " " << "full name '" << full_name << "'" << ( is_group ? " [group]" : "" ) - << LL_ENDL; + << LL_ENDL;*/ // Construct an av_name record from this name. LLAvatarName av_name; @@ -414,7 +414,7 @@ void LLAvatarNameCache::requestNamesViaLegacy() // invoked below. This should never happen in practice. mPendingQueue[agent_id] = now; - LL_DEBUGS("AvNameCache") << "agent " << agent_id << LL_ENDL; + // _LL_DEBUGS("AvNameCache") << "agent " << agent_id << LL_ENDL; gCacheName->get(agent_id, false, // legacy compatibility boost::bind(&LLAvatarNameCache::legacyNameCallback, _1, _2, _3)); @@ -560,10 +560,10 @@ void LLAvatarNameCache::eraseUnrefreshed() const LLAvatarName& av_name = it->second; if (av_name.mExpires < max_unrefreshed) { - LL_DEBUGS("AvNameCacheExpired") << "LLAvatarNameCache " << it->first + /*// _LL_DEBUGS("AvNameCacheExpired") << "LLAvatarNameCache " << it->first << " user '" << av_name.getAccountName() << "' " << "expired " << now - av_name.mExpires << " secs ago" - << LL_ENDL; + << LL_ENDL;*/ mCache.erase(it++); expired++; } @@ -599,8 +599,8 @@ bool LLAvatarNameCache::getName(const LLUUID& agent_id, LLAvatarName *av_name) { if (!isRequestPending(agent_id)) { - LL_DEBUGS("AvNameCache") << "LLAvatarNameCache refresh agent " << agent_id - << LL_ENDL; + /*// _LL_DEBUGS("AvNameCache") << "LLAvatarNameCache refresh agent " << agent_id + << LL_ENDL;*/ mAskQueue.insert(agent_id); } } @@ -611,7 +611,7 @@ bool LLAvatarNameCache::getName(const LLUUID& agent_id, LLAvatarName *av_name) if (!isRequestPending(agent_id)) { - LL_DEBUGS("AvNameCache") << "LLAvatarNameCache queue request for agent " << agent_id << LL_ENDL; + // _LL_DEBUGS("AvNameCache") << "LLAvatarNameCache queue request for agent " << agent_id << LL_ENDL; mAskQueue.insert(agent_id); } @@ -787,7 +787,7 @@ bool LLAvatarNameCache::expirationFromCacheControl(LLCore::HttpHeaders *headers, fromCacheControl = true; } } - LL_DEBUGS("AvNameCache") + // _LL_DEBUGS("AvNameCache") << ( fromCacheControl ? "expires based on cache control " : "default expiration " ) << "in " << *expires - now << " seconds" << LL_ENDL; @@ -832,10 +832,10 @@ bool LLAvatarNameCache::expirationFromCacheControl(const LLSD& headers, F64 *exp fromCacheControl = true; } } - LL_DEBUGS("AvNameCache") << "LLAvatarNameCache " + /*// _LL_DEBUGS("AvNameCache") << "LLAvatarNameCache " << ( fromCacheControl ? "expires based on cache control " : "default expiration " ) << "in " << *expires - now << " seconds" - << LL_ENDL; + << LL_ENDL;*/ return fromCacheControl; } diff --git a/indra/llmessage/llblowfishcipher.cpp b/indra/llmessage/llblowfishcipher.cpp index 0b5025a4225..e0f321bfb83 100644 --- a/indra/llmessage/llblowfishcipher.cpp +++ b/indra/llmessage/llblowfishcipher.cpp @@ -70,10 +70,10 @@ U32 LLBlowfishCipher::encrypt(const U8* src, U32 src_len, U8* dst, U32 dst_len) int blocksize = EVP_CIPHER_CTX_block_size(&context); int keylen = EVP_CIPHER_CTX_key_length(&context); int iv_length = EVP_CIPHER_CTX_iv_length(&context); - LL_DEBUGS() << "LLBlowfishCipher blocksize " << blocksize + /*// _LL_DEBUGS() << "LLBlowfishCipher blocksize " << blocksize << " keylen " << keylen << " iv_len " << iv_length - << LL_ENDL; + << LL_ENDL;*/ int output_len = 0; int temp_len = 0; diff --git a/indra/llmessage/llbufferstream.cpp b/indra/llmessage/llbufferstream.cpp index 39508c1c52e..703883b813c 100644 --- a/indra/llmessage/llbufferstream.cpp +++ b/indra/llmessage/llbufferstream.cpp @@ -54,7 +54,7 @@ LLBufferStreamBuf::~LLBufferStreamBuf() // virtual int LLBufferStreamBuf::underflow() { - //LL_DEBUGS() << "LLBufferStreamBuf::underflow()" << LL_ENDL; + //// _LL_DEBUGS() << "LLBufferStreamBuf::underflow()" << LL_ENDL; if(!mBuffer) { return EOF; diff --git a/indra/llmessage/llcachename.cpp b/indra/llmessage/llcachename.cpp index 0064b10fefb..e0d5c0db43a 100644 --- a/indra/llmessage/llcachename.cpp +++ b/indra/llmessage/llcachename.cpp @@ -464,7 +464,7 @@ BOOL LLCacheName::getGroupName(const LLUUID& id, std::string& group) // COUNTER-HACK to combat James' HACK in exportFile()... // this group name was loaded from a name cache that did not // bother to save the group name ==> we must ask for it - LL_DEBUGS() << "LLCacheName queuing HACK group request: " << id << LL_ENDL; + // _LL_DEBUGS() << "LLCacheName queuing HACK group request: " << id << LL_ENDL; entry = NULL; } @@ -673,8 +673,8 @@ void LLCacheName::processPending() if(!impl.mUpstreamHost.isOk()) { - LL_DEBUGS() << "LLCacheName::processPending() - bad upstream host." - << LL_ENDL; + /*// _LL_DEBUGS() << "LLCacheName::processPending() - bad upstream host." + << LL_ENDL;*/ return; } diff --git a/indra/llmessage/llcoproceduremanager.cpp b/indra/llmessage/llcoproceduremanager.cpp index 26684a4d9e9..5a7363af726 100644 --- a/indra/llmessage/llcoproceduremanager.cpp +++ b/indra/llmessage/llcoproceduremanager.cpp @@ -401,14 +401,14 @@ void LLCoprocedurePool::coprocedureInvokerCoro( if(status == boost::fibers::channel_op_status::timeout) { - LL_DEBUGS_ONCE("CoProcMgr") << "pool '" << mPoolName << "' waiting." << LL_ENDL; + // _LL_DEBUGS_ONCE("CoProcMgr") << "pool '" << mPoolName << "' waiting." << LL_ENDL; continue; } // we actually popped an item --mPending; mActiveCoprocsCount++; - LL_DEBUGS("CoProcMgr") << "Dequeued and invoking coprocedure(" << coproc->mName << ") with id=" << coproc->mId.asString() << " in pool \"" << mPoolName << "\" (" << mPending << " left)" << LL_ENDL; + // _LL_DEBUGS("CoProcMgr") << "Dequeued and invoking coprocedure(" << coproc->mName << ") with id=" << coproc->mId.asString() << " in pool \"" << mPoolName << "\" (" << mPending << " left)" << LL_ENDL; try { @@ -430,7 +430,7 @@ void LLCoprocedurePool::coprocedureInvokerCoro( continue; } - LL_DEBUGS("CoProcMgr") << "Finished coprocedure(" << coproc->mName << ")" << " in pool \"" << mPoolName << "\"" << LL_ENDL; + // _LL_DEBUGS("CoProcMgr") << "Finished coprocedure(" << coproc->mName << ")" << " in pool \"" << mPoolName << "\"" << LL_ENDL; mActiveCoprocsCount--; } diff --git a/indra/llmessage/llexperiencecache.cpp b/indra/llmessage/llexperiencecache.cpp index 64c01bd9ebd..13970d642c0 100644 --- a/indra/llmessage/llexperiencecache.cpp +++ b/indra/llmessage/llexperiencecache.cpp @@ -142,7 +142,7 @@ void LLExperienceCache::importFile(std::istream& istr) mCache[public_key] = it->second; } - LL_DEBUGS("ExperienceCache") << "importFile() loaded " << mCache.size() << LL_ENDL; + // _LL_DEBUGS("ExperienceCache") << "importFile() loaded " << mCache.size() << LL_ENDL; } void LLExperienceCache::exportFile(std::ostream& ostr) const @@ -287,8 +287,8 @@ void LLExperienceCache::requestExperiencesCoro(LLCoreHttpUtil::HttpCoroutineAdap const LLSD& row = *it; LLUUID public_key = row[EXPERIENCE_ID].asUUID(); - LL_DEBUGS("ExperienceCache") << "Received result for " << public_key - << " display '" << row[LLExperienceCache::NAME].asString() << "'" << LL_ENDL; + /*// _LL_DEBUGS("ExperienceCache") << "Received result for " << public_key + << " display '" << row[LLExperienceCache::NAME].asString() << "'" << LL_ENDL;*/ processExperience(public_key, row); } @@ -467,7 +467,7 @@ bool LLExperienceCache::fetch(const LLUUID& key, bool refresh/* = true*/) { if(!key.isNull() && !isRequestPending(key) && (refresh || mCache.find(key)==mCache.end())) { - LL_DEBUGS("ExperienceCache") << " queue request for " << EXPERIENCE_ID << " " << key << LL_ENDL; + // _LL_DEBUGS("ExperienceCache") << " queue request for " << EXPERIENCE_ID << " " << key << LL_ENDL; mRequestQueue.insert(key); return true; diff --git a/indra/llmessage/llfiltersd2xmlrpc.cpp b/indra/llmessage/llfiltersd2xmlrpc.cpp index d3e195789bf..5a794b46de3 100644 --- a/indra/llmessage/llfiltersd2xmlrpc.cpp +++ b/indra/llmessage/llfiltersd2xmlrpc.cpp @@ -519,7 +519,7 @@ LLIOPipe::EStatus stream_out(std::ostream& ostr, XMLRPC_VALUE value) break; } case xmlrpc_type_boolean: - //LL_DEBUGS() << "stream_out() bool" << LL_ENDL; + //// _LL_DEBUGS() << "stream_out() bool" << LL_ENDL; ostr << " " << (XMLRPC_GetValueBoolean(value) ? "true" : "false"); break; case xmlrpc_type_datetime: @@ -527,23 +527,23 @@ LLIOPipe::EStatus stream_out(std::ostream& ostr, XMLRPC_VALUE value) break; case xmlrpc_type_double: ostr << " r" << XMLRPC_GetValueDouble(value); - //LL_DEBUGS() << "stream_out() double" << XMLRPC_GetValueDouble(value) + //// _LL_DEBUGS() << "stream_out() double" << XMLRPC_GetValueDouble(value) // << LL_ENDL; break; case xmlrpc_type_int: ostr << " i" << XMLRPC_GetValueInt(value); - //LL_DEBUGS() << "stream_out() integer:" << XMLRPC_GetValueInt(value) + //// _LL_DEBUGS() << "stream_out() integer:" << XMLRPC_GetValueInt(value) // << LL_ENDL; break; case xmlrpc_type_string: - //LL_DEBUGS() << "stream_out() string: " << str << LL_ENDL; + //// _LL_DEBUGS() << "stream_out() string: " << str << LL_ENDL; ostr << " s(" << XMLRPC_GetValueStringLen(value) << ")'" << XMLRPC_GetValueString(value) << "'"; break; case xmlrpc_type_array: // vector case xmlrpc_type_mixed: // vector { - //LL_DEBUGS() << "stream_out() array" << LL_ENDL; + //// _LL_DEBUGS() << "stream_out() array" << LL_ENDL; ostr << " ["; U32 needs_comma = 0; XMLRPC_VALUE current = XMLRPC_VectorRewind(value); @@ -558,7 +558,7 @@ LLIOPipe::EStatus stream_out(std::ostream& ostr, XMLRPC_VALUE value) } case xmlrpc_type_struct: // still vector { - //LL_DEBUGS() << "stream_out() struct" << LL_ENDL; + //// _LL_DEBUGS() << "stream_out() struct" << LL_ENDL; ostr << " {"; std::string name; U32 needs_comma = 0; @@ -618,7 +618,7 @@ LLIOPipe::EStatus LLFilterXMLRPCResponse2LLSD::process_impl( buf[bytes] = '\0'; buffer->readAfter(channels.in(), NULL, (U8*)buf, bytes); - //LL_DEBUGS() << "xmlrpc response: " << buf << LL_ENDL; + //// _LL_DEBUGS() << "xmlrpc response: " << buf << LL_ENDL; PUMP_DEBUG; XMLRPC_REQUEST response = XMLRPC_REQUEST_FromXML( @@ -702,7 +702,7 @@ LLIOPipe::EStatus LLFilterXMLRPCRequest2LLSD::process_impl( buf[bytes] = '\0'; buffer->readAfter(channels.in(), NULL, (U8*)buf, bytes); - //LL_DEBUGS() << "xmlrpc request: " << buf << LL_ENDL; + //// _LL_DEBUGS() << "xmlrpc request: " << buf << LL_ENDL; // Check the value in the buffer. XMLRPC_REQUEST_FromXML will report a error code 4 if // values that are less than 0x20 are passed to it, except diff --git a/indra/llmessage/llhttpnode.cpp b/indra/llmessage/llhttpnode.cpp index 6fd17c91549..404688a7d76 100644 --- a/indra/llmessage/llhttpnode.cpp +++ b/indra/llmessage/llhttpnode.cpp @@ -181,7 +181,7 @@ LLSD LLHTTPNode::simpleDel(const LLSD&) const void LLHTTPNode::options(ResponsePtr response, const LLSD& context) const { //LL_INFOS() << "options context: " << context << LL_ENDL; - LL_DEBUGS("LLHTTPNode") << "context: " << context << LL_ENDL; + // _LL_DEBUGS("LLHTTPNode") << "context: " << context << LL_ENDL; // default implementation constructs an url to the documentation. // *TODO: Check for 'Host' header instead of 'host' header? @@ -248,10 +248,10 @@ const LLHTTPNode* LLHTTPNode::traverse( LLHTTPNode* child = node->getChild(*iter, context); if(!child) { - LL_DEBUGS() << "LLHTTPNode::traverse: Couldn't find '" << *iter << "'" << LL_ENDL; + // _LL_DEBUGS() << "LLHTTPNode::traverse: Couldn't find '" << *iter << "'" << LL_ENDL; break; } - LL_DEBUGS() << "LLHTTPNode::traverse: Found '" << *iter << "'" << LL_ENDL; + // _LL_DEBUGS() << "LLHTTPNode::traverse: Found '" << *iter << "'" << LL_ENDL; node = child; } @@ -459,8 +459,8 @@ void LLHTTPRegistrar::buildAllServices(LLHTTPNode& root) FactoryMap::const_iterator end = map.end(); for (; i != end; ++i) { - LL_DEBUGS("AppInit") << "LLHTTPRegistrar::buildAllServices adding node for path " - << i->first << LL_ENDL; + /*// _LL_DEBUGS("AppInit") << "LLHTTPRegistrar::buildAllServices adding node for path " + << i->first << LL_ENDL;*/ root.addNode(i->first, i->second->build()); } diff --git a/indra/llmessage/llinstantmessage.cpp b/indra/llmessage/llinstantmessage.cpp index dd5a655d7eb..fe7aa6ecb9e 100644 --- a/indra/llmessage/llinstantmessage.cpp +++ b/indra/llmessage/llinstantmessage.cpp @@ -69,7 +69,7 @@ void pack_instant_message( const U8* binary_bucket, S32 binary_bucket_size) { - LL_DEBUGS() << "pack_instant_message()" << LL_ENDL; + // _LL_DEBUGS() << "pack_instant_message()" << LL_ENDL; msg->newMessageFast(_PREHASH_ImprovedInstantMessage); pack_instant_message_block( msg, diff --git a/indra/llmessage/lliohttpserver.cpp b/indra/llmessage/lliohttpserver.cpp index d9042fa8b03..96a99df1b83 100644 --- a/indra/llmessage/lliohttpserver.cpp +++ b/indra/llmessage/lliohttpserver.cpp @@ -147,7 +147,7 @@ LLIOPipe::EStatus LLHTTPPipe::process_impl( { LL_RECORD_BLOCK_TIME(FTM_PROCESS_HTTP_PIPE); PUMP_DEBUG; - LL_DEBUGS() << "LLSDHTTPServer::process_impl" << LL_ENDL; + // _LL_DEBUGS() << "LLSDHTTPServer::process_impl" << LL_ENDL; // Once we have all the data, We need to read the sd on // the the in channel, and respond on the out channel @@ -238,9 +238,9 @@ LLIOPipe::EStatus LLHTTPPipe::process_impl( // Log all HTTP transactions. // TODO: Add a way to log these to their own file instead of indra.log // It is just too spammy to be in indra.log. - LL_DEBUGS() << verb << " " << context[CONTEXT_REQUEST][CONTEXT_PATH].asString() + /*// _LL_DEBUGS() << verb << " " << context[CONTEXT_REQUEST][CONTEXT_PATH].asString() << " " << mStatusCode << " " << mStatusMessage << " " << delta - << "s" << LL_ENDL; + << "s" << LL_ENDL;*/ // Log Internal Server Errors //if(mStatusCode == HTTP_INTERNAL_SERVER_ERROR) @@ -615,7 +615,7 @@ LLHTTPResponder::LLHTTPResponder(const LLHTTPNode& tree, const LLSD& ctx) : // virtual LLHTTPResponder::~LLHTTPResponder() { - //LL_DEBUGS() << "destroying LLHTTPResponder" << LL_ENDL; + //// _LL_DEBUGS() << "destroying LLHTTPResponder" << LL_ENDL; } bool LLHTTPResponder::readHeaderLine( @@ -632,7 +632,7 @@ bool LLHTTPResponder::readHeaderLine( { if(len) { - LL_DEBUGS() << "readLine failed - too long maybe?" << LL_ENDL; + // _LL_DEBUGS() << "readLine failed - too long maybe?" << LL_ENDL; markBad(channels, buffer); } return false; @@ -715,10 +715,10 @@ LLIOPipe::EStatus LLHTTPResponder::process_impl( header >> mAbsPathAndQuery; header >> mVersion; - LL_DEBUGS() << "http request: " + /*// _LL_DEBUGS() << "http request: " << mVerb << " " << mAbsPathAndQuery - << " " << mVersion << LL_ENDL; + << " " << mVersion << LL_ENDL;*/ std::string::size_type delimiter = mAbsPathAndQuery.find('?'); @@ -748,7 +748,7 @@ LLIOPipe::EStatus LLHTTPResponder::process_impl( { read_next_line = false; parse_all = false; - LL_DEBUGS() << "unknown http verb: " << mVerb << LL_ENDL; + // _LL_DEBUGS() << "unknown http verb: " << mVerb << LL_ENDL; markBad(channels, buffer); } } @@ -783,7 +783,7 @@ LLIOPipe::EStatus LLHTTPResponder::process_impl( if(NULL == pos_colon) { keep_parsing = false; - LL_DEBUGS() << "bad header: " << buf << LL_ENDL; + // _LL_DEBUGS() << "bad header: " << buf << LL_ENDL; markBad(channels, buffer); break; } @@ -794,7 +794,7 @@ LLIOPipe::EStatus LLHTTPResponder::process_impl( LLStringUtil::toLower(name); if(HTTP_IN_HEADER_CONTENT_LENGTH == name) { - LL_DEBUGS() << "Content-Length: " << value << LL_ENDL; + // _LL_DEBUGS() << "Content-Length: " << value << LL_ENDL; mContentLength = atoi(value.c_str()); } else @@ -879,7 +879,7 @@ LLIOPipe::EStatus LLHTTPResponder::process_impl( = node->getProtocolHandler(); if (protocolHandler) { - LL_DEBUGS() << "HTTP context: " << context << LL_ENDL; + // _LL_DEBUGS() << "HTTP context: " << context << LL_ENDL; protocolHandler->build(chain, context); } else diff --git a/indra/llmessage/lliopipe.cpp b/indra/llmessage/lliopipe.cpp index 4676a9a8f01..2e3fa724e30 100644 --- a/indra/llmessage/lliopipe.cpp +++ b/indra/llmessage/lliopipe.cpp @@ -72,7 +72,7 @@ LLIOPipe::LLIOPipe() : LLIOPipe::~LLIOPipe() { - //LL_DEBUGS() << "destroying LLIOPipe" << LL_ENDL; + //// _LL_DEBUGS() << "destroying LLIOPipe" << LL_ENDL; } //virtual diff --git a/indra/llmessage/lliosocket.cpp b/indra/llmessage/lliosocket.cpp index a9cc71c3657..41d3fa7cfea 100644 --- a/indra/llmessage/lliosocket.cpp +++ b/indra/llmessage/lliosocket.cpp @@ -77,7 +77,7 @@ void ll_debug_socket(const char* msg, apr_socket_t* apr_sock) #if LL_DEBUG_SOCKET_FILE_DESCRIPTORS if(!apr_sock) { - LL_DEBUGS("Socket") << "Socket -- " << (msg?msg:"") << ": no socket." << LL_ENDL; + // _LL_DEBUGS("Socket") << "Socket -- " << (msg?msg:"") << ": no socket." << LL_ENDL; return; } // *TODO: Why doesn't this work? @@ -85,12 +85,12 @@ void ll_debug_socket(const char* msg, apr_socket_t* apr_sock) int os_sock; if(APR_SUCCESS == apr_os_sock_get(&os_sock, apr_sock)) { - LL_DEBUGS("Socket") << "Socket -- " << (msg?msg:"") << " on fd " << os_sock + // _LL_DEBUGS("Socket") << "Socket -- " << (msg?msg:"") << " on fd " << os_sock << " at " << apr_sock << LL_ENDL; } else { - LL_DEBUGS("Socket") << "Socket -- " << (msg?msg:"") << " no fd " + // _LL_DEBUGS("Socket") << "Socket -- " << (msg?msg:"") << " no fd " << " at " << apr_sock << LL_ENDL; } #endif @@ -172,13 +172,13 @@ LLSocket::ptr_t LLSocket::create(apr_pool_t* pool, EType type, U16 port, const c rv.reset(); return rv; } - LL_DEBUGS() << "Bound " << ((DATAGRAM_UDP == type) ? "udp" : "tcp") - << " socket to port: " << sa->port << LL_ENDL; + /*// _LL_DEBUGS() << "Bound " << ((DATAGRAM_UDP == type) ? "udp" : "tcp") + << " socket to port: " << sa->port << LL_ENDL;*/ if(STREAM_TCP == type) { // If it's a stream based socket, we need to tell the OS // to keep a queue of incoming connections for ACCEPT. - LL_DEBUGS() << "Setting listen state for socket." << LL_ENDL; + // _LL_DEBUGS() << "Setting listen state for socket." << LL_ENDL; status = apr_socket_listen( socket, LL_DEFAULT_LISTEN_BACKLOG); @@ -297,7 +297,7 @@ LLIOSocketReader::LLIOSocketReader(LLSocket::ptr_t socket) : LLIOSocketReader::~LLIOSocketReader() { - //LL_DEBUGS() << "Destroying LLIOSocketReader" << LL_ENDL; + //// _LL_DEBUGS() << "Destroying LLIOSocketReader" << LL_ENDL; } static LLTrace::BlockTimerStatHandle FTM_PROCESS_SOCKET_READER("Socket Reader"); @@ -322,8 +322,8 @@ LLIOPipe::EStatus LLIOSocketReader::process_impl( if(pump) { PUMP_DEBUG; - LL_DEBUGS() << "Initializing poll descriptor for LLIOSocketReader." - << LL_ENDL; + /*// _LL_DEBUGS() << "Initializing poll descriptor for LLIOSocketReader." + << LL_ENDL;*/ apr_pollfd_t poll_fd; poll_fd.p = NULL; poll_fd.desc_type = APR_POLL_SOCKET; @@ -350,7 +350,7 @@ LLIOPipe::EStatus LLIOSocketReader::process_impl( status = apr_socket_recv(mSource->getSocket(), read_buf, &len); buffer->append(channels.out(), (U8*)read_buf, len); } while((APR_SUCCESS == status) && (READ_BUFFER_SIZE == len)); - LL_DEBUGS() << "socket read status: " << status << LL_ENDL; + // _LL_DEBUGS() << "socket read status: " << status << LL_ENDL; LLIOPipe::EStatus rv = STATUS_OK; PUMP_DEBUG; @@ -397,7 +397,7 @@ LLIOSocketWriter::LLIOSocketWriter(LLSocket::ptr_t socket) : LLIOSocketWriter::~LLIOSocketWriter() { - //LL_DEBUGS() << "Destroying LLIOSocketWriter" << LL_ENDL; + //// _LL_DEBUGS() << "Destroying LLIOSocketWriter" << LL_ENDL; } static LLTrace::BlockTimerStatHandle FTM_PROCESS_SOCKET_WRITER("Socket Writer"); @@ -421,8 +421,8 @@ LLIOPipe::EStatus LLIOSocketWriter::process_impl( if(pump) { PUMP_DEBUG; - LL_DEBUGS() << "Initializing poll descriptor for LLIOSocketWriter." - << LL_ENDL; + /*// _LL_DEBUGS() << "Initializing poll descriptor for LLIOSocketWriter." + << LL_ENDL;*/ apr_pollfd_t poll_fd; poll_fd.p = NULL; poll_fd.desc_type = APR_POLL_SOCKET; @@ -548,7 +548,7 @@ LLIOServerSocket::LLIOServerSocket( LLIOServerSocket::~LLIOServerSocket() { - //LL_DEBUGS() << "Destroying LLIOServerSocket" << LL_ENDL; + //// _LL_DEBUGS() << "Destroying LLIOServerSocket" << LL_ENDL; } void LLIOServerSocket::setResponseTimeout(F32 timeout_secs) @@ -578,8 +578,8 @@ LLIOPipe::EStatus LLIOServerSocket::process_impl( // This segment sets up the pump so that we do not call // process again until we have an incoming read, aka connect() // from a remote host. - LL_DEBUGS() << "Initializing poll descriptor for LLIOServerSocket." - << LL_ENDL; + /*// _LL_DEBUGS() << "Initializing poll descriptor for LLIOServerSocket." + << LL_ENDL;*/ apr_pollfd_t poll_fd; poll_fd.p = NULL; poll_fd.desc_type = APR_POLL_SOCKET; @@ -594,7 +594,7 @@ LLIOPipe::EStatus LLIOServerSocket::process_impl( // we are initialized, and told to process, so we must have a // socket waiting for a connection. - LL_DEBUGS() << "accepting socket" << LL_ENDL; + // _LL_DEBUGS() << "accepting socket" << LL_ENDL; PUMP_DEBUG; apr_pool_t* new_pool = NULL; @@ -684,7 +684,7 @@ LLIODataSocket::LLIODataSocket( if(ll_apr_warn_status(status)) return; if(sa->port) { - LL_DEBUGS() << "Bound datagram socket to port: " << sa->port << LL_ENDL; + // _LL_DEBUGS() << "Bound datagram socket to port: " << sa->port << LL_ENDL; mPort = sa->port; } else diff --git a/indra/llmessage/llmail.cpp b/indra/llmessage/llmail.cpp index fcda2a85f62..5f44310773c 100644 --- a/indra/llmessage/llmail.cpp +++ b/indra/llmessage/llmail.cpp @@ -346,11 +346,11 @@ bool LLMail::send( << "when sending messages larger than " << LL_MAX_KNOWN_GOOD_MAIL_SIZE << " bytes. The next log about success is potentially a lie." << LL_ENDL; } - LL_DEBUGS() << "send_mail success: " + /*// _LL_DEBUGS() << "send_mail success: " << "to=<" << to_address << ">, from=<" << from_address << ">" << ", bytes=" << original_size - << ", sent=" << send_size << LL_ENDL; + << ", sent=" << send_size << LL_ENDL;*/ #if LL_LOG_ENTIRE_MAIL_MESSAGE_ON_SEND LL_INFOS() << rfc2822_msg.str() << LL_ENDL; diff --git a/indra/llmessage/llmessageconfig.cpp b/indra/llmessage/llmessageconfig.cpp index 64e79d67675..1ee7d34ef99 100644 --- a/indra/llmessage/llmessageconfig.cpp +++ b/indra/llmessage/llmessageconfig.cpp @@ -100,7 +100,7 @@ bool LLMessageConfigFile::loadFile() if (file.is_open()) { - LL_DEBUGS("AppInit") << "Loading message.xml file at " << filename() << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Loading message.xml file at " << filename() << LL_ENDL; LLSDSerialize::fromXML(data, file); } @@ -163,8 +163,8 @@ void LLMessageConfigFile::loadCapBans(const LLSD& data) mCapBans = bans; - LL_DEBUGS("AppInit") << "LLMessageConfigFile::loadCapBans: " - << bans.size() << " ban tests" << LL_ENDL; + /*// _LL_DEBUGS("AppInit") << "LLMessageConfigFile::loadCapBans: " + << bans.size() << " ban tests" << LL_ENDL;*/ } void LLMessageConfigFile::loadMessageBans(const LLSD& data) @@ -182,7 +182,7 @@ void LLMessageConfigFile::loadMessageBans(const LLSD& data) bool LLMessageConfigFile::isCapBanned(const std::string& cap_name) const { - LL_DEBUGS() << "mCapBans is " << LLSDNotationStreamer(mCapBans) << LL_ENDL; + // _LL_DEBUGS() << "mCapBans is " << LLSDNotationStreamer(mCapBans) << LL_ENDL; return mCapBans[cap_name]; } @@ -197,8 +197,8 @@ void LLMessageConfig::initClass(const std::string& server_name, sServerName = server_name; sConfigDir = config_dir; (void) LLMessageConfigFile::instance(); - LL_DEBUGS("AppInit") << "LLMessageConfig::initClass config file " - << config_dir << "/" << messageConfigFileName << LL_ENDL; + /*// _LL_DEBUGS("AppInit") << "LLMessageConfig::initClass config file " + << config_dir << "/" << messageConfigFileName << LL_ENDL;*/ } //static diff --git a/indra/llmessage/llproxy.cpp b/indra/llmessage/llproxy.cpp index 86bcfe6881f..01288be26d4 100644 --- a/indra/llmessage/llproxy.cpp +++ b/indra/llmessage/llproxy.cpp @@ -539,6 +539,6 @@ static LLSocket::ptr_t tcp_open_channel(LLHost host) */ static void tcp_close_channel(LLSocket::ptr_t* handle_ptr) { - LL_DEBUGS("Proxy") << "Resetting proxy LLSocket handle, use_count == " << handle_ptr->use_count() << LL_ENDL; + // _LL_DEBUGS("Proxy") << "Resetting proxy LLSocket handle, use_count == " << handle_ptr->use_count() << LL_ENDL; handle_ptr->reset(); } diff --git a/indra/llmessage/llpumpio.cpp b/indra/llmessage/llpumpio.cpp index a2524e98043..6f48b5fe148 100644 --- a/indra/llmessage/llpumpio.cpp +++ b/indra/llmessage/llpumpio.cpp @@ -78,7 +78,7 @@ void ll_debug_poll_fd(const char* msg, const apr_pollfd_t* poll) #if LL_DEBUG_POLL_FILE_DESCRIPTORS if(!poll) { - LL_DEBUGS() << "Poll -- " << (msg?msg:"") << ": no pollfd." << LL_ENDL; + // _LL_DEBUGS() << "Poll -- " << (msg?msg:"") << ": no pollfd." << LL_ENDL; return; } if(poll->desc.s) @@ -86,12 +86,12 @@ void ll_debug_poll_fd(const char* msg, const apr_pollfd_t* poll) apr_os_sock_t os_sock; if(APR_SUCCESS == apr_os_sock_get(&os_sock, poll->desc.s)) { - LL_DEBUGS() << "Poll -- " << (msg?msg:"") << " on fd " << os_sock + // _LL_DEBUGS() << "Poll -- " << (msg?msg:"") << " on fd " << os_sock << " at " << poll->desc.s << LL_ENDL; } else { - LL_DEBUGS() << "Poll -- " << (msg?msg:"") << " no fd " + // _LL_DEBUGS() << "Poll -- " << (msg?msg:"") << " no fd " << " at " << poll->desc.s << LL_ENDL; } } @@ -100,18 +100,18 @@ void ll_debug_poll_fd(const char* msg, const apr_pollfd_t* poll) apr_os_file_t os_file; if(APR_SUCCESS == apr_os_file_get(&os_file, poll->desc.f)) { - LL_DEBUGS() << "Poll -- " << (msg?msg:"") << " on fd " << os_file + // _LL_DEBUGS() << "Poll -- " << (msg?msg:"") << " on fd " << os_file << " at " << poll->desc.f << LL_ENDL; } else { - LL_DEBUGS() << "Poll -- " << (msg?msg:"") << " no fd " + // _LL_DEBUGS() << "Poll -- " << (msg?msg:"") << " no fd " << " at " << poll->desc.f << LL_ENDL; } } else { - LL_DEBUGS() << "Poll -- " << (msg?msg:"") << ": no descriptor." << LL_ENDL; + // _LL_DEBUGS() << "Poll -- " << (msg?msg:"") << ": no descriptor." << LL_ENDL; } #endif } @@ -195,10 +195,10 @@ bool LLPumpIO::addChain(const chain_t& chain, F32 timeout, bool has_curl_request info.mData->setThreaded(has_curl_request); LLLinkInfo link; #if LL_DEBUG_PIPE_TYPE_IN_PUMP - LL_DEBUGS() << "LLPumpIO::addChain() " << chain[0] << " '" + // _LL_DEBUGS() << "LLPumpIO::addChain() " << chain[0] << " '" << typeid(*(chain[0])).name() << "'" << LL_ENDL; #else - LL_DEBUGS() << "LLPumpIO::addChain() " << chain[0] <<LL_ENDL; + // _LL_DEBUGS() << "LLPumpIO::addChain() " << chain[0] <<LL_ENDL; #endif chain_t::const_iterator it = chain.begin(); chain_t::const_iterator end = chain.end(); @@ -226,10 +226,10 @@ bool LLPumpIO::addChain( if(links.empty()) return false; #if LL_DEBUG_PIPE_TYPE_IN_PUMP - LL_DEBUGS() << "LLPumpIO::addChain() " << links[0].mPipe << " '" + // _LL_DEBUGS() << "LLPumpIO::addChain() " << links[0].mPipe << " '" << typeid(*(links[0].mPipe)).name() << "'" << LL_ENDL; #else - LL_DEBUGS() << "LLPumpIO::addChain() " << links[0].mPipe << LL_ENDL; + // _LL_DEBUGS() << "LLPumpIO::addChain() " << links[0].mPipe << LL_ENDL; #endif LLChainInfo info; info.setTimeoutSeconds(timeout); @@ -295,12 +295,12 @@ bool LLPumpIO::setConditional(LLIOPipe* pipe, const apr_pollfd_t* poll) if(!pipe) return false; ll_debug_poll_fd("Set conditional", poll); - LL_DEBUGS() << "Setting conditionals (" << (poll ? events_2_string(poll->reqevents) :"null") + /*// _LL_DEBUGS() << "Setting conditionals (" << (poll ? events_2_string(poll->reqevents) :"null") << ") " #if LL_DEBUG_PIPE_TYPE_IN_PUMP << "on pipe " << typeid(*pipe).name() #endif - << " at " << pipe << LL_ENDL; + << " at " << pipe << LL_ENDL;*/ // remove any matching poll file descriptors for this pipe. LLIOPipe::ptr_t pipe_ptr(pipe); @@ -457,7 +457,7 @@ void LLPumpIO::pump(const S32& poll_timeout) if(!mPendingChains.empty()) { PUMP_DEBUG; - //LL_DEBUGS() << "Pushing " << mPendingChains.size() << "." << LL_ENDL; + //// _LL_DEBUGS() << "Pushing " << mPendingChains.size() << "." << LL_ENDL; std::copy( mPendingChains.begin(), mPendingChains.end(), @@ -527,7 +527,7 @@ void LLPumpIO::pump(const S32& poll_timeout) signal_client_t::iterator not_signalled = signalled_client.end(); // Process everything as appropriate - //LL_DEBUGS() << "Running chain count: " << mRunningChains.size() << LL_ENDL; + //// _LL_DEBUGS() << "Running chain count: " << mRunningChains.size() << LL_ENDL; running_chains_t::iterator run_chain = mRunningChains.begin(); bool process_this_chain = false; while( run_chain != mRunningChains.end() ) @@ -559,13 +559,13 @@ void LLPumpIO::pump(const S32& poll_timeout) // it timed out and no one handled it, so we need to // retire the chain #if LL_DEBUG_PIPE_TYPE_IN_PUMP - LL_DEBUGS() << "Removing chain " + // _LL_DEBUGS() << "Removing chain " << (*run_chain).mChainLinks[0].mPipe << " '" << typeid(*((*run_chain).mChainLinks[0].mPipe)).name() << "' because it timed out." << LL_ENDL; #else -// LL_DEBUGS() << "Removing chain " +// // _LL_DEBUGS() << "Removing chain " // << (*run_chain).mChainLinks[0].mPipe // << " because we reached the end." << LL_ENDL; #endif @@ -592,12 +592,12 @@ void LLPumpIO::pump(const S32& poll_timeout) { // if there are no conditionals, just process this chain. process_this_chain = true; - //LL_DEBUGS() << "no conditionals - processing" << LL_ENDL; + //// _LL_DEBUGS() << "no conditionals - processing" << LL_ENDL; } else { PUMP_DEBUG; - //LL_DEBUGS() << "checking conditionals" << LL_ENDL; + //// _LL_DEBUGS() << "checking conditionals" << LL_ENDL; // Check if this run chain was signalled. If any file // descriptor is ready for something, then go ahead and // process this chian. @@ -674,12 +674,12 @@ void LLPumpIO::pump(const S32& poll_timeout) if((*run_chain).mHead == (*run_chain).mChainLinks.end()) { #if LL_DEBUG_PIPE_TYPE_IN_PUMP - LL_DEBUGS() << "Removing chain " << (*run_chain).mChainLinks[0].mPipe + // _LL_DEBUGS() << "Removing chain " << (*run_chain).mChainLinks[0].mPipe << " '" << typeid(*((*run_chain).mChainLinks[0].mPipe)).name() << "' because we reached the end." << LL_ENDL; #else -// LL_DEBUGS() << "Removing chain " << (*run_chain).mChainLinks[0].mPipe +// // _LL_DEBUGS() << "Removing chain " << (*run_chain).mChainLinks[0].mPipe // << " because we reached the end." << LL_ENDL; #endif @@ -793,7 +793,7 @@ void LLPumpIO::cleanup() { if(mPollset) { -// LL_DEBUGS() << "cleaning up pollset" << LL_ENDL; +// // _LL_DEBUGS() << "cleaning up pollset" << LL_ENDL; apr_pollset_destroy(mPollset); mPollset = NULL; } @@ -807,10 +807,10 @@ void LLPumpIO::cleanup() void LLPumpIO::rebuildPollset() { -// LL_DEBUGS() << "LLPumpIO::rebuildPollset()" << LL_ENDL; +// // _LL_DEBUGS() << "LLPumpIO::rebuildPollset()" << LL_ENDL; if(mPollset) { - //LL_DEBUGS() << "destroying pollset" << LL_ENDL; + //// _LL_DEBUGS() << "destroying pollset" << LL_ENDL; apr_pollset_destroy(mPollset); mPollset = NULL; } @@ -821,7 +821,7 @@ void LLPumpIO::rebuildPollset() { size += (*run_it).mDescriptors.size(); } - //LL_DEBUGS() << "found " << size << " descriptors." << LL_ENDL; + //// _LL_DEBUGS() << "found " << size << " descriptors." << LL_ENDL; if(size) { // Recycle the memory pool @@ -1076,7 +1076,7 @@ bool LLPumpIO::handleChainError( do { #if LL_DEBUG_PIPE_TYPE_IN_PUMP - LL_DEBUGS() << "Passing error to " << typeid(*((*rit).mPipe)).name() + // _LL_DEBUGS() << "Passing error to " << typeid(*((*rit).mPipe)).name() << "." << LL_ENDL; #endif error = (*rit).mPipe->handleError(error, this); @@ -1091,7 +1091,7 @@ bool LLPumpIO::handleChainError( case LLIOPipe::STATUS_BREAK: case LLIOPipe::STATUS_NEED_PROCESS: #if LL_DEBUG_PIPE_TYPE_IN_PUMP - LL_DEBUGS() << "Pipe " << typeid(*((*rit).mPipe)).name() + // _LL_DEBUGS() << "Pipe " << typeid(*((*rit).mPipe)).name() << " returned code to stop error handler." << LL_ENDL; #endif keep_going = false; diff --git a/indra/llmessage/llsdmessagebuilder.cpp b/indra/llmessage/llsdmessagebuilder.cpp index 49456c71ed3..a4509a7141b 100644 --- a/indra/llmessage/llsdmessagebuilder.cpp +++ b/indra/llmessage/llsdmessagebuilder.cpp @@ -391,7 +391,7 @@ void LLSDMessageBuilder::copyFromMessageData(const LLMsgData& data) void LLSDMessageBuilder::copyFromLLSD(const LLSD& msg) { mCurrentMessage = msg; - LL_DEBUGS() << LLSDNotationStreamer(mCurrentMessage) << LL_ENDL; + // _LL_DEBUGS() << LLSDNotationStreamer(mCurrentMessage) << LL_ENDL; } const LLSD& LLSDMessageBuilder::getMessage() const diff --git a/indra/llmessage/lltemplatemessagereader.cpp b/indra/llmessage/lltemplatemessagereader.cpp index 1265ea14738..edebbfdadd0 100644 --- a/indra/llmessage/lltemplatemessagereader.cpp +++ b/indra/llmessage/lltemplatemessagereader.cpp @@ -698,7 +698,7 @@ BOOL LLTemplateMessageReader::decodeData(const U8* buffer, const LLHost& sender if (mCurrentRMessageData->mMemberBlocks.empty() && !mCurrentRMessageTemplate->mMemberBlocks.empty()) { - LL_DEBUGS() << "Empty message '" << mCurrentRMessageTemplate->mName << "' (no blocks)" << LL_ENDL; + // _LL_DEBUGS() << "Empty message '" << mCurrentRMessageTemplate->mName << "' (no blocks)" << LL_ENDL; return FALSE; } @@ -744,9 +744,9 @@ BOOL LLTemplateMessageReader::decodeData(const U8* buffer, const LLHost& sender if(decode_time > LLMessageReader::getTimeDecodesSpamThreshold()) { - LL_DEBUGS() << "--------- Message " << mCurrentRMessageTemplate->mName << " decode took " << decode_time << " seconds. (" << + /*// _LL_DEBUGS() << "--------- Message " << mCurrentRMessageTemplate->mName << " decode took " << decode_time << " seconds. (" << mCurrentRMessageTemplate->mMaxDecodeTimePerMsg << " max, " << - (mCurrentRMessageTemplate->mTotalDecodeTime / mCurrentRMessageTemplate->mTotalDecoded) << " avg)" << LL_ENDL; + (mCurrentRMessageTemplate->mTotalDecodeTime / mCurrentRMessageTemplate->mTotalDecoded) << " avg)" << LL_ENDL;*/ } } } @@ -764,7 +764,7 @@ BOOL LLTemplateMessageReader::validateMessage(const U8* buffer, if(valid) { mCurrentRMessageTemplate->mReceiveCount++; - //LL_DEBUGS() << "MessageRecvd:" + //// _LL_DEBUGS() << "MessageRecvd:" // << mCurrentRMessageTemplate->mName // << " from " << sender << LL_ENDL; } diff --git a/indra/llmessage/lltransfermanager.cpp b/indra/llmessage/lltransfermanager.cpp index 452b77fb6d1..e8261a37fad 100644 --- a/indra/llmessage/lltransfermanager.cpp +++ b/indra/llmessage/lltransfermanager.cpp @@ -1324,7 +1324,7 @@ void LLTransferSourceParamsInvItem::setAsset(const LLUUID &asset_id, const LLAss void LLTransferSourceParamsInvItem::packParams(LLDataPacker &dp) const { - LL_DEBUGS() << "LLTransferSourceParamsInvItem::packParams()" << LL_ENDL; + // _LL_DEBUGS() << "LLTransferSourceParamsInvItem::packParams()" << LL_ENDL; dp.packUUID(mAgentID, "AgentID"); dp.packUUID(mSessionID, "SessionID"); dp.packUUID(mOwnerID, "OwnerID"); diff --git a/indra/llmessage/lltransfertargetvfile.cpp b/indra/llmessage/lltransfertargetvfile.cpp index b27f0881e0f..6a8a66db1c2 100644 --- a/indra/llmessage/lltransfertargetvfile.cpp +++ b/indra/llmessage/lltransfertargetvfile.cpp @@ -183,10 +183,10 @@ void LLTransferTargetVFile::completionCallback(const LLTSCode status) } } err_code = LL_ERR_NOERR; - LL_DEBUGS() << "LLTransferTargetVFile::completionCallback for " + /*// _LL_DEBUGS() << "LLTransferTargetVFile::completionCallback for " << mParams.getAssetID() << "," << LLAssetType::lookup(mParams.getAssetType()) - << " with temp id " << mTempID << LL_ENDL; + << " with temp id " << mTempID << LL_ENDL;*/ break; case LLTS_ERROR: case LLTS_ABORT: diff --git a/indra/llmessage/lluseroperation.cpp b/indra/llmessage/lluseroperation.cpp index c506af19ce8..7427ea16172 100644 --- a/indra/llmessage/lluseroperation.cpp +++ b/indra/llmessage/lluseroperation.cpp @@ -160,7 +160,7 @@ void LLUserOperationMgr::deleteExpiredOperations() op = (*it).second; if(op && op->isExpired()) { - LL_DEBUGS() << "expiring: " << (*it).first << LL_ENDL; + // _LL_DEBUGS() << "expiring: " << (*it).first << LL_ENDL; op->expire(); mUserOperationList.erase(it++); delete op; diff --git a/indra/llmessage/llxfer_file.cpp b/indra/llmessage/llxfer_file.cpp index 7fd4222fb75..6386b074cc2 100644 --- a/indra/llmessage/llxfer_file.cpp +++ b/indra/llmessage/llxfer_file.cpp @@ -102,12 +102,12 @@ void LLXfer_File::cleanup () if (mDeleteLocalOnCompletion) { - LL_DEBUGS("Xfer") << "Removing file: " << mLocalFilename << LL_ENDL; + // _LL_DEBUGS("Xfer") << "Removing file: " << mLocalFilename << LL_ENDL; LLFile::remove(mLocalFilename, ENOENT); } else { - LL_DEBUGS("Xfer") << "Keeping local file: " << mLocalFilename << LL_ENDL; + // _LL_DEBUGS("Xfer") << "Keeping local file: " << mLocalFilename << LL_ENDL; } LLXfer::cleanup(); diff --git a/indra/llmessage/llxfermanager.cpp b/indra/llmessage/llxfermanager.cpp index 4cea886c8a2..bce7a1ac5b2 100644 --- a/indra/llmessage/llxfermanager.cpp +++ b/indra/llmessage/llxfermanager.cpp @@ -134,8 +134,8 @@ void LLXferManager::setAckThrottleBPS(const F32 bps) // Set F32 actual_rate = llmax(min_bps*1.1f, bps); - LL_DEBUGS("AppInit") << "LLXferManager ack throttle min rate: " << min_bps << LL_ENDL; - LL_DEBUGS("AppInit") << "LLXferManager ack throttle actual rate: " << actual_rate << LL_ENDL; + // _LL_DEBUGS("AppInit") << "LLXferManager ack throttle min rate: " << min_bps << LL_ENDL; + // _LL_DEBUGS("AppInit") << "LLXferManager ack throttle actual rate: " << actual_rate << LL_ENDL; #ifdef LL_XFER_DIAGNOISTIC_LOGGING LL_INFOS("Xfer") << "LLXferManager ack throttle min rate: " << min_bps << LL_ENDL; LL_INFOS("Xfer") << "LLXferManager ack throttle actual rate: " << actual_rate << LL_ENDL; @@ -272,11 +272,11 @@ void LLXferManager::removeXfer(LLXfer *delp, xfer_list_t & xfer_list) { if ((*iter) == delp) { - LL_DEBUGS("Xfer") << "Deleting xfer to host " << (*iter)->mRemoteHost + /*// _LL_DEBUGS("Xfer") << "Deleting xfer to host " << (*iter)->mRemoteHost << " of " << (*iter)->mXferSize << " bytes" << ", status " << (S32)((*iter)->mStatus) << " from the " << direction << " list" - << LL_ENDL; + << LL_ENDL;*/ xfer_list.erase(iter); delete (delp); @@ -937,7 +937,7 @@ void LLXferManager::processFileRequest (LLMessageSystem *mesgsys, void ** /*user { // Not many transfers in progress already, so start immediately xferp->sendNextPacket(); changeNumActiveXfers(xferp->mRemoteHost,1); - LL_DEBUGS("Xfer") << "Starting xfer ID " << U64_to_str(id) << " immediately" << LL_ENDL; + // _LL_DEBUGS("Xfer") << "Starting xfer ID " << U64_to_str(id) << " immediately" << LL_ENDL; } else if (mHardLimitOutgoingXfersPerCircuit == 0 || (host_statusp->mNumActive + host_statusp->mNumPending) < mHardLimitOutgoingXfersPerCircuit) @@ -1122,7 +1122,7 @@ void LLXferManager::retransmitUnackedPackets() } else { // No error re-opening the file, send the first packet - LL_DEBUGS("Xfer") << "Moving pending xfer ID " << U64_to_str(xferp->mID) << " to active" << LL_ENDL; + // _LL_DEBUGS("Xfer") << "Moving pending xfer ID " << U64_to_str(xferp->mID) << " to active" << LL_ENDL; xferp->sendNextPacket(); changeNumActiveXfers(xferp->mRemoteHost,1); } @@ -1229,9 +1229,9 @@ void LLXferManager::startPendingDownloads() S32 start_count = mMaxIncomingXfers - download_count; - LL_DEBUGS("Xfer") << "LLXferManager::startPendingDownloads() - XFER_IN_PROGRESS: " + /*// _LL_DEBUGS("Xfer") << "LLXferManager::startPendingDownloads() - XFER_IN_PROGRESS: " << download_count << " XFER_PENDING: " << pending_count - << " startring " << llmin(start_count, pending_count) << LL_ENDL; + << " startring " << llmin(start_count, pending_count) << LL_ENDL;*/ if((start_count > 0) && (pending_count > 0)) { diff --git a/indra/llmessage/message.cpp b/indra/llmessage/message.cpp index da62bb12e8a..e55b4a6bbca 100644 --- a/indra/llmessage/message.cpp +++ b/indra/llmessage/message.cpp @@ -113,7 +113,7 @@ void LLMessageHandlerBridge::post(LLHTTPNode::ResponsePtr response, std::string name = context[CONTEXT_REQUEST][CONTEXT_WILDCARD]["message-name"]; char* namePtr = LLMessageStringTable::getInstance()->getString(name.c_str()); - LL_DEBUGS() << "Setting mLastSender " << input["sender"].asString() << LL_ENDL; + // _LL_DEBUGS() << "Setting mLastSender " << input["sender"].asString() << LL_ENDL; gMessageSystem->mLastSender = LLHost(input["sender"].asString()); gMessageSystem->mPacketsIn += 1; gMessageSystem->mLLSDMessageReader->setMessage(namePtr, input["body"]); @@ -241,7 +241,7 @@ LLMessageSystem::LLMessageSystem(const std::string& filename, U32 port, mbError = TRUE; mErrorCode = error; } -// LL_DEBUGS("Messaging") << << "*** port: " << mPort << LL_ENDL; +// // _LL_DEBUGS("Messaging") << << "*** port: " << mPort << LL_ENDL; // // Create the data structure that we can poll on @@ -616,7 +616,7 @@ BOOL LLMessageSystem::checkMessages(LockMessageChecker&, S64 frame_count ) cdp->collectRAck(mCurrentRecvPacketID); } - LL_DEBUGS("Messaging") << "Discarding duplicate resend from " << host << LL_ENDL; + // _LL_DEBUGS("Messaging") << "Discarding duplicate resend from " << host << LL_ENDL; if(mVerboseLog) { std::ostringstream str; @@ -1483,7 +1483,7 @@ void LLMessageSystem::showCircuitInfo() void LLMessageSystem::dumpCircuitInfo() { - LL_DEBUGS("Messaging") << mCircuitInfo << LL_ENDL; + // _LL_DEBUGS("Messaging") << mCircuitInfo << LL_ENDL; } /* virtual */ @@ -1597,7 +1597,7 @@ BOOL LLMessageSystem::checkCircuitBlocked(const U32 circuit) if (!host.isOk()) { - LL_DEBUGS("Messaging") << "checkCircuitBlocked: Unknown circuit " << circuit << LL_ENDL; + // _LL_DEBUGS("Messaging") << "checkCircuitBlocked: Unknown circuit " << circuit << LL_ENDL; return TRUE; } @@ -1619,7 +1619,7 @@ BOOL LLMessageSystem::checkCircuitAlive(const U32 circuit) if (!host.isOk()) { - LL_DEBUGS("Messaging") << "checkCircuitAlive: Unknown circuit " << circuit << LL_ENDL; + // _LL_DEBUGS("Messaging") << "checkCircuitAlive: Unknown circuit " << circuit << LL_ENDL; return FALSE; } @@ -1644,7 +1644,7 @@ BOOL LLMessageSystem::checkCircuitAlive(const LLHost &host) } else { - LL_DEBUGS("Messaging") << "checkCircuitAlive(host): Unknown host - " << host << LL_ENDL; + // _LL_DEBUGS("Messaging") << "checkCircuitAlive(host): Unknown host - " << host << LL_ENDL; return FALSE; } } @@ -2061,9 +2061,9 @@ void LLMessageSystem::dispatch( return; } // enable this for output of message names - LL_DEBUGS("Messaging") << "< \"" << msg_name << "\"" << LL_ENDL; - LL_DEBUGS("Messaging") << "context: " << context << LL_ENDL; - LL_DEBUGS("Messaging") << "message: " << message << LL_ENDL; + // _LL_DEBUGS("Messaging") << "< \"" << msg_name << "\"" << LL_ENDL; + // _LL_DEBUGS("Messaging") << "context: " << context << LL_ENDL; + // _LL_DEBUGS("Messaging") << "message: " << message << LL_ENDL; handler->post(responsep, context, message); } @@ -2100,7 +2100,7 @@ static void check_for_unrecognized_messages( void LLMessageSystem::setMessageBans( const LLSD& trusted, const LLSD& untrusted) { - LL_DEBUGS("AppInit") << "LLMessageSystem::setMessageBans:" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "LLMessageSystem::setMessageBans:" << LL_ENDL; bool any_set = false; for (message_template_name_map_t::iterator iter = mMessageTemplates.begin(), @@ -2130,7 +2130,7 @@ void LLMessageSystem::setMessageBans( if (!any_set) { - LL_DEBUGS("AppInit") << " no messages banned" << LL_ENDL; + // _LL_DEBUGS("AppInit") << " no messages banned" << LL_ENDL; } check_for_unrecognized_messages("trusted", trusted, mMessageTemplates); @@ -2201,7 +2201,7 @@ void process_packet_ack(LLMessageSystem *msgsystem, void** /*user_data*/) for (S32 i = 0; i < ack_count; i++) { msgsystem->getU32Fast(_PREHASH_Packets, _PREHASH_ID, packet_id, i); -// LL_DEBUGS("Messaging") << "ack recvd' from " << host << " for packet " << (TPACKETID)packet_id << LL_ENDL; +// // _LL_DEBUGS("Messaging") << "ack recvd' from " << host << " for packet " << (TPACKETID)packet_id << LL_ENDL; cdp->ackReliablePacket(packet_id); } if (!cdp->getUnackedPacketCount()) @@ -2479,7 +2479,7 @@ bool start_messaging_system( } else { - LL_DEBUGS("AppInit") << "Message template version matches prehash version number" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Message template version matches prehash version number" << LL_ENDL; } } @@ -2694,7 +2694,7 @@ void LLMessageSystem::dumpReceiveCounts() if(mNumMessageCounts > 0) { - LL_DEBUGS("Messaging") << "Dump: " << mNumMessageCounts << " messages processed in " << mReceiveTime << " seconds" << LL_ENDL; + // _LL_DEBUGS("Messaging") << "Dump: " << mNumMessageCounts << " messages processed in " << mReceiveTime << " seconds" << LL_ENDL; for (message_template_name_map_t::const_iterator iter = mMessageTemplates.begin(), end = mMessageTemplates.end(); iter != end; iter++) diff --git a/indra/llmessage/net.cpp b/indra/llmessage/net.cpp index 523bcbb60d1..68a6963a912 100644 --- a/indra/llmessage/net.cpp +++ b/indra/llmessage/net.cpp @@ -222,7 +222,7 @@ S32 start_net(S32& socket_out, int& nPort) stLclAddr.sin_port = htons(nPort); S32 attempt_port = nPort; - LL_DEBUGS("AppInit") << "attempting to connect on port " << attempt_port << LL_ENDL; + // _LL_DEBUGS("AppInit") << "attempting to connect on port " << attempt_port << LL_ENDL; nRet = bind(hSocket, (struct sockaddr*) &stLclAddr, sizeof(stLclAddr)); if (nRet == SOCKET_ERROR) @@ -236,7 +236,7 @@ S32 start_net(S32& socket_out, int& nPort) attempt_port++) { stLclAddr.sin_port = htons(attempt_port); - LL_DEBUGS("AppInit") << "trying port " << attempt_port << LL_ENDL; + // _LL_DEBUGS("AppInit") << "trying port " << attempt_port << LL_ENDL; nRet = bind(hSocket, (struct sockaddr*) &stLclAddr, sizeof(stLclAddr)); if (!(nRet == SOCKET_ERROR && @@ -295,8 +295,8 @@ S32 start_net(S32& socket_out, int& nPort) getsockopt(hSocket, SOL_SOCKET, SO_RCVBUF, (char *)&rec_size, &buff_size); getsockopt(hSocket, SOL_SOCKET, SO_SNDBUF, (char *)&snd_size, &buff_size); - LL_DEBUGS("AppInit") << "startNet - receive buffer size : " << rec_size << LL_ENDL; - LL_DEBUGS("AppInit") << "startNet - send buffer size : " << snd_size << LL_ENDL; + // _LL_DEBUGS("AppInit") << "startNet - receive buffer size : " << rec_size << LL_ENDL; + // _LL_DEBUGS("AppInit") << "startNet - send buffer size : " << snd_size << LL_ENDL; // Setup a destination address stDstAddr.sin_family = AF_INET; diff --git a/indra/llplugin/llpluginclassmedia.cpp b/indra/llplugin/llpluginclassmedia.cpp index 58069afdf91..a1d385f5ae2 100644 --- a/indra/llplugin/llpluginclassmedia.cpp +++ b/indra/llplugin/llpluginclassmedia.cpp @@ -69,9 +69,9 @@ LLPluginClassMedia::~LLPluginClassMedia() bool LLPluginClassMedia::init(const std::string &launcher_filename, const std::string &plugin_dir, const std::string &plugin_filename, bool debug) { - LL_DEBUGS("Plugin") << "launcher: " << launcher_filename << LL_ENDL; - LL_DEBUGS("Plugin") << "dir: " << plugin_dir << LL_ENDL; - LL_DEBUGS("Plugin") << "plugin: " << plugin_filename << LL_ENDL; + // _LL_DEBUGS("Plugin") << "launcher: " << launcher_filename << LL_ENDL; + // _LL_DEBUGS("Plugin") << "dir: " << plugin_dir << LL_ENDL; + // _LL_DEBUGS("Plugin") << "plugin: " << plugin_filename << LL_ENDL; mPlugin = LLPluginProcessParent::create(this); mPlugin->setSleepTime(mSleepTime); @@ -268,7 +268,7 @@ void LLPluginClassMedia::idle(void) message.setValueReal("background_a", mBackgroundColor.mV[VW]); mPlugin->sendMessage(message); // DO NOT just use sendMessage() here -- we want this to jump ahead of the queue. - LL_DEBUGS("Plugin") << "Sending size_change" << LL_ENDL; + // _LL_DEBUGS("Plugin") << "Sending size_change" << LL_ENDL; } } @@ -774,7 +774,7 @@ void LLPluginClassMedia::setPriority(EPriority priority) mPlugin->setSleepTime(mSleepTime); } - LL_DEBUGS("PluginPriority") << this << ": setting priority to " << priority_string << LL_ENDL; + // _LL_DEBUGS("PluginPriority") << this << ": setting priority to " << priority_string << LL_ENDL; // This may affect the calculated size, so recalculate it here. setSizeInternal(); @@ -960,7 +960,7 @@ void LLPluginClassMedia::receivePluginMessage(const LLPluginMessage &message) mDirtyRect.unionWith(newDirtyRect); } - LL_DEBUGS("Plugin") << "adjusted incoming rect is: (" + /*// _LL_DEBUGS("Plugin") << "adjusted incoming rect is: (" << newDirtyRect.mLeft << ", " << newDirtyRect.mTop << ", " << newDirtyRect.mRight << ", " @@ -969,7 +969,7 @@ void LLPluginClassMedia::receivePluginMessage(const LLPluginMessage &message) << mDirtyRect.mTop << ", " << mDirtyRect.mRight << ", " << mDirtyRect.mBottom << ")" - << LL_ENDL; + << LL_ENDL; */ mediaEvent(LLPluginClassMediaOwner::MEDIA_EVENT_CONTENT_UPDATED); } @@ -1025,7 +1025,7 @@ void LLPluginClassMedia::receivePluginMessage(const LLPluginMessage &message) { std::string status = message.getValue("status"); - LL_DEBUGS("Plugin") << "Status changed to: " << status << LL_ENDL; + // _LL_DEBUGS("Plugin") << "Status changed to: " << status << LL_ENDL; if(status == "loading") { @@ -1506,5 +1506,5 @@ void LLPluginClassMedia::initializeUrlHistory(const LLSD& url_history) message.setValueLLSD("history", url_history); sendMessage(message); - LL_DEBUGS("Plugin") << "Sending history" << LL_ENDL; + // _LL_DEBUGS("Plugin") << "Sending history" << LL_ENDL; } diff --git a/indra/llplugin/llplugininstance.cpp b/indra/llplugin/llplugininstance.cpp index 7cde82a20e6..99c49d407c9 100644 --- a/indra/llplugin/llplugininstance.cpp +++ b/indra/llplugin/llplugininstance.cpp @@ -141,7 +141,7 @@ void LLPluginInstance::sendMessage(const std::string &message) { if(mPluginSendMessageFunction) { - LL_DEBUGS("Plugin") << "sending message to plugin: \"" << message << "\"" << LL_ENDL; + // _LL_DEBUGS("Plugin") << "sending message to plugin: \"" << message << "\"" << LL_ENDL; mPluginSendMessageFunction(message.c_str(), &mPluginUserData); } else @@ -176,7 +176,7 @@ void LLPluginInstance::receiveMessage(const char *message_string) { if(mOwner) { - LL_DEBUGS("Plugin") << "processing incoming message: \"" << message_string << "\"" << LL_ENDL; + // _LL_DEBUGS("Plugin") << "processing incoming message: \"" << message_string << "\"" << LL_ENDL; mOwner->receivePluginMessage(message_string); } else diff --git a/indra/llplugin/llpluginmessagepipe.cpp b/indra/llplugin/llpluginmessagepipe.cpp index 9766e1bfede..de868a4d162 100644 --- a/indra/llplugin/llpluginmessagepipe.cpp +++ b/indra/llplugin/llpluginmessagepipe.cpp @@ -304,7 +304,7 @@ bool LLPluginMessagePipe::pumpInput(F64 timeout) if(status == APR_SUCCESS) { - LL_DEBUGS("PluginSocket") << "success, read " << size << LL_ENDL; + // _LL_DEBUGS("PluginSocket") << "success, read " << size << LL_ENDL; if(size != request_size) { @@ -314,14 +314,14 @@ bool LLPluginMessagePipe::pumpInput(F64 timeout) } else if(APR_STATUS_IS_TIMEUP(status)) { - LL_DEBUGS("PluginSocket") << "TIMEUP, read " << size << LL_ENDL; + // _LL_DEBUGS("PluginSocket") << "TIMEUP, read " << size << LL_ENDL; // Timeout was hit. Since the initial read is 1 byte, this should never be a partial read. break; } else if(APR_STATUS_IS_EAGAIN(status)) { - LL_DEBUGS("PluginSocket") << "EAGAIN, read " << size << LL_ENDL; + // _LL_DEBUGS("PluginSocket") << "EAGAIN, read " << size << LL_ENDL; // Non-blocking read returned immediately. break; diff --git a/indra/llplugin/llpluginprocesschild.cpp b/indra/llplugin/llpluginprocesschild.cpp index c5304d2ccf6..91c0407c362 100644 --- a/indra/llplugin/llpluginprocesschild.cpp +++ b/indra/llplugin/llpluginprocesschild.cpp @@ -308,7 +308,7 @@ void LLPluginProcessChild::sendMessageToPlugin(const LLPluginMessage &message) { std::string buffer = message.generate(); - LL_DEBUGS("Plugin") << "Sending to plugin: " << buffer << LL_ENDL; + // _LL_DEBUGS("Plugin") << "Sending to plugin: " << buffer << LL_ENDL; LLTimer elapsed; mInstance->sendMessage(buffer); @@ -325,7 +325,7 @@ void LLPluginProcessChild::sendMessageToParent(const LLPluginMessage &message) { std::string buffer = message.generate(); - LL_DEBUGS("Plugin") << "Sending to parent: " << buffer << LL_ENDL; + // _LL_DEBUGS("Plugin") << "Sending to parent: " << buffer << LL_ENDL; writeMessageRaw(buffer); } @@ -334,7 +334,7 @@ void LLPluginProcessChild::receiveMessageRaw(const std::string &message) { // Incoming message from the TCP Socket - LL_DEBUGS("Plugin") << "Received from parent: " << message << LL_ENDL; + // _LL_DEBUGS("Plugin") << "Received from parent: " << message << LL_ENDL; // Decode this message LLPluginMessage parsed; @@ -473,7 +473,7 @@ void LLPluginProcessChild::receiveMessageRaw(const std::string &message) /* virtual */ void LLPluginProcessChild::receivePluginMessage(const std::string &message) { - LL_DEBUGS("Plugin") << "Received from plugin: " << message << LL_ENDL; + // _LL_DEBUGS("Plugin") << "Received from plugin: " << message << LL_ENDL; if (mBlockingRequest) { @@ -556,7 +556,7 @@ void LLPluginProcessChild::receivePluginMessage(const std::string &message) if (passMessage) { - LL_DEBUGS("Plugin") << "Passing through to parent: " << message << LL_ENDL; + // _LL_DEBUGS("Plugin") << "Passing through to parent: " << message << LL_ENDL; writeMessageRaw(message); } @@ -577,7 +577,7 @@ void LLPluginProcessChild::receivePluginMessage(const std::string &message) void LLPluginProcessChild::setState(EState state) { - LL_DEBUGS("Plugin") << "setting state to " << state << LL_ENDL; + // _LL_DEBUGS("Plugin") << "setting state to " << state << LL_ENDL; mState = state; }; diff --git a/indra/llplugin/llpluginprocessparent.cpp b/indra/llplugin/llpluginprocessparent.cpp index a382df6206f..010ab671212 100644 --- a/indra/llplugin/llpluginprocessparent.cpp +++ b/indra/llplugin/llpluginprocessparent.cpp @@ -108,7 +108,7 @@ LLPluginProcessParent::LLPluginProcessParent(LLPluginProcessParentOwner *owner): LLPluginProcessParent::~LLPluginProcessParent() { - LL_DEBUGS("Plugin") << "destructor" << LL_ENDL; + // _LL_DEBUGS("Plugin") << "destructor" << LL_ENDL; // Destroy any remaining shared memory regions sharedMemoryRegionsType::iterator iter; @@ -180,7 +180,7 @@ void LLPluginProcessParent::requestShutdown() // After requestShutdown has been called our previous owner will no longer call // our idle() method. Tie into the event loop here to do that until we are good // and finished. - LL_DEBUGS("LLPluginProcessParent") << "listening on \"mainloop\"" << LL_ENDL; + // _LL_DEBUGS("LLPluginProcessParent") << "listening on \"mainloop\"" << LL_ENDL; mPolling = LLEventPumps::instance().obtain("mainloop") .listen(namestream.str(), boost::bind(&LLPluginProcessParent::pollTick, this)); @@ -418,7 +418,7 @@ void LLPluginProcessParent::idle(void) } } - LL_DEBUGS("Plugin") << "Bound tcp socket to port: " << addr->port << LL_ENDL; + // _LL_DEBUGS("Plugin") << "Bound tcp socket to port: " << addr->port << LL_ENDL; // Make the listen socket non-blocking status = apr_socket_opt_set(mListenSocket->getSocket(), APR_SO_NONBLOCK, 1); @@ -527,7 +527,7 @@ void LLPluginProcessParent::idle(void) break; case STATE_HELLO: - LL_DEBUGS("Plugin") << "received hello message" << LL_ENDL; + // _LL_DEBUGS("Plugin") << "received hello message" << LL_ENDL; // Send the message to load the plugin { @@ -668,7 +668,7 @@ void LLPluginProcessParent::sendMessage(const LLPluginMessage &message) } std::string buffer = message.generate(); - LL_DEBUGS("Plugin") << "Sending: " << buffer << LL_ENDL; + // _LL_DEBUGS("Plugin") << "Sending: " << buffer << LL_ENDL; writeMessageRaw(buffer); // Try to send message immediately. @@ -720,7 +720,7 @@ void LLPluginProcessParent::dirtyPollSet() if(sReadThread) { - LL_DEBUGS("PluginPoll") << "unpausing read thread " << LL_ENDL; + // _LL_DEBUGS("PluginPoll") << "unpausing read thread " << LL_ENDL; sReadThread->unpause(); } } @@ -737,7 +737,7 @@ void LLPluginProcessParent::updatePollset() if(sPollSet) { - LL_DEBUGS("PluginPoll") << "destroying pollset " << sPollSet << LL_ENDL; + // _LL_DEBUGS("PluginPoll") << "destroying pollset " << sPollSet << LL_ENDL; // delete the existing pollset. apr_pollset_destroy(sPollSet); sPollSet = NULL; @@ -773,7 +773,7 @@ void LLPluginProcessParent::updatePollset() } else { - LL_DEBUGS("PluginPoll") << "created pollset " << sPollSet << LL_ENDL; + // _LL_DEBUGS("PluginPoll") << "created pollset " << sPollSet << LL_ENDL; // Pollset was created, add all instances to it. for(iter = sInstances.begin(); iter != sInstances.end(); iter++) @@ -879,7 +879,7 @@ void LLPluginProcessParent::poll(F64 timeout) { // This happens when one of the file descriptors in the pollset is destroyed, which happens whenever a plugin's socket is closed. // The pollset has been or will be recreated, so just return. - LL_DEBUGS("PluginPoll") << "apr_pollset_poll returned EBADF" << LL_ENDL; + // _LL_DEBUGS("PluginPoll") << "apr_pollset_poll returned EBADF" << LL_ENDL; } else if(status != APR_SUCCESS) { @@ -920,7 +920,7 @@ void LLPluginProcessParent::servicePoll() void LLPluginProcessParent::receiveMessageRaw(const std::string &message) { - LL_DEBUGS("Plugin") << "Received: " << message << LL_ENDL; + // _LL_DEBUGS("Plugin") << "Received: " << message << LL_ENDL; LLPluginMessage parsed; if(LLSDParser::PARSE_FAILURE != parsed.parse(message)) @@ -1030,7 +1030,7 @@ void LLPluginProcessParent::receiveMessage(const LLPluginMessage &message) mCPUUsage = message.getValueReal("cpu_usage"); - LL_DEBUGS("Plugin") << "cpu usage reported as " << mCPUUsage << LL_ENDL; + // _LL_DEBUGS("Plugin") << "cpu usage reported as " << mCPUUsage << LL_ENDL; } else if(message_name == "shm_add_response") @@ -1156,7 +1156,7 @@ std::string LLPluginProcessParent::getPluginVersion(void) void LLPluginProcessParent::setState(EState state) { - LL_DEBUGS("Plugin") << "setting state to " << state << LL_ENDL; + // _LL_DEBUGS("Plugin") << "setting state to " << state << LL_ENDL; mState = state; }; diff --git a/indra/llplugin/llpluginsharedmemory.cpp b/indra/llplugin/llpluginsharedmemory.cpp index 63ff5085c6e..e94db406cef 100644 --- a/indra/llplugin/llpluginsharedmemory.cpp +++ b/indra/llplugin/llpluginsharedmemory.cpp @@ -266,7 +266,7 @@ bool LLPluginSharedMemory::map(void) return false; } - LL_DEBUGS("Plugin") << "memory mapped at " << mMappedAddress << LL_ENDL; + // _LL_DEBUGS("Plugin") << "memory mapped at " << mMappedAddress << LL_ENDL; return true; } @@ -275,7 +275,7 @@ bool LLPluginSharedMemory::unmap(void) { if(mMappedAddress != NULL) { - LL_DEBUGS("Plugin") << "calling munmap(" << mMappedAddress << ", " << mSize << ")" << LL_ENDL; + // _LL_DEBUGS("Plugin") << "calling munmap(" << mMappedAddress << ", " << mSize << ")" << LL_ENDL; if(::munmap(mMappedAddress, mSize) == -1) { // TODO: Is this a fatal error? I think not... @@ -291,7 +291,7 @@ bool LLPluginSharedMemory::close(void) { if(mImpl->mSharedMemoryFD != -1) { - LL_DEBUGS("Plugin") << "calling close(" << mImpl->mSharedMemoryFD << ")" << LL_ENDL; + // _LL_DEBUGS("Plugin") << "calling close(" << mImpl->mSharedMemoryFD << ")" << LL_ENDL; if(::close(mImpl->mSharedMemoryFD) == -1) { // TODO: Is this a fatal error? I think not... @@ -405,7 +405,7 @@ bool LLPluginSharedMemory::map(void) return false; } - LL_DEBUGS("Plugin") << "memory mapped at " << mMappedAddress << LL_ENDL; + // _LL_DEBUGS("Plugin") << "memory mapped at " << mMappedAddress << LL_ENDL; return true; } diff --git a/indra/llprimitive/lldaeloader.cpp b/indra/llprimitive/lldaeloader.cpp index cbc21449340..6d102003561 100644 --- a/indra/llprimitive/lldaeloader.cpp +++ b/indra/llprimitive/lldaeloader.cpp @@ -1480,7 +1480,7 @@ void LLDAELoader::processDomModel(LLModel* model, DAE* dae, daeElement* root, do } else { - LL_DEBUGS("Mesh")<<"Possibly misnamed/missing joint [" <<lookingForJoint.c_str()<<"] "<<LL_ENDL; + // _LL_DEBUGS("Mesh")<<"Possibly misnamed/missing joint [" <<lookingForJoint.c_str()<<"] "<<LL_ENDL; } } @@ -1935,7 +1935,7 @@ daeElement* LLDAELoader::getChildFromElement( daeElement* pElement, std::string { return pChildOfElement; } - LL_DEBUGS("Mesh")<< "Could not find a child [" << name << "] for the element: \"" << pElement->getAttribute("id") << "\"" << LL_ENDL; + // _LL_DEBUGS("Mesh")<< "Could not find a child [" << name << "] for the element: \"" << pElement->getAttribute("id") << "\"" << LL_ENDL; return NULL; } diff --git a/indra/llprimitive/llprimitive.cpp b/indra/llprimitive/llprimitive.cpp index 695a1f65130..4fdd91f826d 100644 --- a/indra/llprimitive/llprimitive.cpp +++ b/indra/llprimitive/llprimitive.cpp @@ -1098,7 +1098,7 @@ S32 LLPrimitive::unpackTEField(U8 *cur_ptr, U8 *buffer_end, U8 *data_ptr, U8 dat while ((cur_ptr < buffer_end) && (*cur_ptr != 0)) { - LL_DEBUGS("TEFieldDecode") << "TE exception" << LL_ENDL; + // _LL_DEBUGS("TEFieldDecode") << "TE exception" << LL_ENDL; i = 0; while (*cur_ptr & 0x80) { @@ -1113,10 +1113,10 @@ S32 LLPrimitive::unpackTEField(U8 *cur_ptr, U8 *buffer_end, U8 *data_ptr, U8 dat if (i & 0x01) { htolememcpy(data_ptr+(j*data_size),cur_ptr,type,data_size); - LL_DEBUGS("TEFieldDecode") << "Assigning " ; + /*// _LL_DEBUGS("TEFieldDecode") << "Assigning " ; char foo[64]; sprintf(foo,"%x %x",*(data_ptr+(j*data_size)), *(data_ptr+(j*data_size)+1)); - LL_CONT << foo << " to face " << j << LL_ENDL; + LL_CONT << foo << " to face " << j << LL_ENDL;*/ } i = i >> 1; } diff --git a/indra/llrender/llfontfreetype.cpp b/indra/llrender/llfontfreetype.cpp index c41730ebaaa..9b3f9e23f28 100644 --- a/indra/llrender/llfontfreetype.cpp +++ b/indra/llrender/llfontfreetype.cpp @@ -430,7 +430,7 @@ LLFontGlyphInfo* LLFontFreetype::addGlyph(llwchar wch) const return FALSE; llassert(!mIsFallback); - //LL_DEBUGS() << "Adding new glyph for " << wch << " to font" << LL_ENDL; + //// _LL_DEBUGS() << "Adding new glyph for " << wch << " to font" << LL_ENDL; FT_UInt glyph_index; diff --git a/indra/llrender/llgl.cpp b/indra/llrender/llgl.cpp index 2cac422e69c..47bf2f8bc26 100644 --- a/indra/llrender/llgl.cpp +++ b/indra/llrender/llgl.cpp @@ -563,7 +563,7 @@ bool LLGLManager::initGL() { std::string ext((const char*) glGetStringi(GL_EXTENSIONS, i)); str << ext << " "; - LL_DEBUGS("GLExtensions") << ext << LL_ENDL; + // _LL_DEBUGS("GLExtensions") << ext << LL_ENDL; } { @@ -951,7 +951,7 @@ void LLGLManager::printGLInfoString() #if !LL_MESA_HEADLESS std::string all_exts= ll_safe_string(((const char *)gGLHExts.mSysExts)); LLStringUtil::replaceChar(all_exts, ' ', '\n'); - LL_DEBUGS("RenderInit") << "GL_EXTENSIONS:\n" << all_exts << LL_ENDL; + // _LL_DEBUGS("RenderInit") << "GL_EXTENSIONS:\n" << all_exts << LL_ENDL; #endif } @@ -1246,7 +1246,7 @@ void LLGLManager::initExtensions() glGetIntegerv(GL_MAX_TEXTURE_SIZE, (GLint*) &mGLMaxTextureSize); #if (LL_WINDOWS || LL_LINUX || LL_SOLARIS) && !LL_MESA_HEADLESS - LL_DEBUGS("RenderInit") << "GL Probe: Getting symbols" << LL_ENDL; + // _LL_DEBUGS("RenderInit") << "GL Probe: Getting symbols" << LL_ENDL; if (mHasVertexBufferObject) { glBindBufferARB = (PFNGLBINDBUFFERARBPROC)GLH_EXT_GET_PROC_ADDRESS("glBindBufferARB"); @@ -1508,7 +1508,7 @@ void LLGLManager::initExtensions() glGetVertexAttribPointervARB = (PFNGLGETVERTEXATTRIBPOINTERVARBPROC) GLH_EXT_GET_PROC_ADDRESS("glgetVertexAttribPointervARB"); glIsProgramARB = (PFNGLISPROGRAMARBPROC) GLH_EXT_GET_PROC_ADDRESS("glIsProgramARB"); } - LL_DEBUGS("RenderInit") << "GL Probe: Got symbols" << LL_ENDL; + // _LL_DEBUGS("RenderInit") << "GL Probe: Got symbols" << LL_ENDL; #endif mInited = TRUE; diff --git a/indra/llrender/llglslshader.cpp b/indra/llrender/llglslshader.cpp index a45a653617b..8f7d5811782 100644 --- a/indra/llrender/llglslshader.cpp +++ b/indra/llrender/llglslshader.cpp @@ -409,7 +409,7 @@ BOOL LLGLSLShader::createShader(std::vector<LLStaticHashedString> * attributes, for ( ; fileIter != mShaderFiles.end(); fileIter++ ) { GLhandleARB shaderhandle = LLShaderMgr::instance()->loadShaderFile((*fileIter).first, mShaderLevel, (*fileIter).second, &mDefines, mFeatures.mIndexedTextureChannels); - LL_DEBUGS("ShaderLoading") << "SHADER FILE: " << (*fileIter).first << " mShaderLevel=" << mShaderLevel << LL_ENDL; + // _LL_DEBUGS("ShaderLoading") << "SHADER FILE: " << (*fileIter).first << " mShaderLevel=" << mShaderLevel << LL_ENDL; if (shaderhandle) { attachObject(shaderhandle); @@ -578,7 +578,7 @@ BOOL LLGLSLShader::mapAttributes(const std::vector<LLStaticHashedString> * attri mAttribute[i] = index; #endif mAttributeMask |= 1 << i; - LL_DEBUGS("ShaderUniform") << "Attribute " << name << " assigned to channel " << index << LL_ENDL; + // _LL_DEBUGS("ShaderUniform") << "Attribute " << name << " assigned to channel " << index << LL_ENDL; } } if (attributes != NULL) @@ -590,7 +590,7 @@ BOOL LLGLSLShader::mapAttributes(const std::vector<LLStaticHashedString> * attri if (index != -1) { mAttribute[LLShaderMgr::instance()->mReservedAttribs.size() + i] = index; - LL_DEBUGS("ShaderUniform") << "Attribute " << name << " assigned to channel " << index << LL_ENDL; + // _LL_DEBUGS("ShaderUniform") << "Attribute " << name << " assigned to channel " << index << LL_ENDL; } } } @@ -675,7 +675,7 @@ void LLGLSLShader::mapUniform(GLint index, const vector<LLStaticHashedString> * mUniformNameMap[location] = name; mUniformMap[hashedName] = location; - LL_DEBUGS("ShaderUniform") << "Uniform " << name << " is at location " << location << LL_ENDL; + // _LL_DEBUGS("ShaderUniform") << "Uniform " << name << " is at location " << location << LL_ENDL; //find the index of this uniform for (S32 i = 0; i < (S32) LLShaderMgr::instance()->mReservedUniforms.size(); i++) @@ -728,7 +728,7 @@ GLint LLGLSLShader::mapUniformTextureChannel(GLint location, GLenum type) type == GL_SAMPLER_2D_MULTISAMPLE) { //this here is a texture glUniform1iARB(location, mActiveTextureChannels); - LL_DEBUGS("ShaderUniform") << "Assigned to texture channel " << mActiveTextureChannels << LL_ENDL; + // _LL_DEBUGS("ShaderUniform") << "Assigned to texture channel " << mActiveTextureChannels << LL_ENDL; return mActiveTextureChannels++; } return -1; @@ -872,7 +872,7 @@ BOOL LLGLSLShader::mapUniforms(const vector<LLStaticHashedString> * uniforms) unbind(); - LL_DEBUGS("ShaderUniform") << "Total Uniform Size: " << mTotalUniformSize << LL_ENDL; + // _LL_DEBUGS("ShaderUniform") << "Total Uniform Size: " << mTotalUniformSize << LL_ENDL; return res; } diff --git a/indra/llrender/llpostprocess.cpp b/indra/llrender/llpostprocess.cpp index b6ea5aa7f12..1a88f489568 100644 --- a/indra/llrender/llpostprocess.cpp +++ b/indra/llrender/llpostprocess.cpp @@ -64,7 +64,7 @@ LLPostProcess::LLPostProcess(void) : /* Do nothing. Needs to be updated to use our current shader system, and to work with the move into llrender. std::string pathName(gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, "windlight", XML_FILENAME)); - LL_DEBUGS("AppInit", "Shaders") << "Loading PostProcess Effects settings from " << pathName << LL_ENDL; + // _LL_DEBUGS("AppInit", "Shaders") << "Loading PostProcess Effects settings from " << pathName << LL_ENDL; llifstream effectsXML(pathName); diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp index 11d9ef3f57f..d01a20f15cf 100644 --- a/indra/llrender/llrender.cpp +++ b/indra/llrender/llrender.cpp @@ -276,11 +276,11 @@ bool LLTexUnit::bind(LLTexture* texture, bool for_rendering, bool forceBind) { if (texture) { - LL_DEBUGS() << "NULL LLTexUnit::bind GL image" << LL_ENDL; + // _LL_DEBUGS() << "NULL LLTexUnit::bind GL image" << LL_ENDL; } else { - LL_DEBUGS() << "NULL LLTexUnit::bind texture" << LL_ENDL; + // _LL_DEBUGS() << "NULL LLTexUnit::bind texture" << LL_ENDL; } return false; } @@ -300,7 +300,7 @@ bool LLTexUnit::bind(LLImageGL* texture, bool for_rendering, bool forceBind) if(!texture) { - LL_DEBUGS() << "NULL LLTexUnit::bind texture" << LL_ENDL; + // _LL_DEBUGS() << "NULL LLTexUnit::bind texture" << LL_ENDL; return false; } @@ -1830,7 +1830,7 @@ LLTexUnit* LLRender::getTexUnit(U32 index) } else { - LL_DEBUGS() << "Non-existing texture unit layer requested: " << index << LL_ENDL; + // _LL_DEBUGS() << "Non-existing texture unit layer requested: " << index << LL_ENDL; return mDummyTexUnit; } } diff --git a/indra/llrender/llshadermgr.cpp b/indra/llrender/llshadermgr.cpp index 7846e8ca62c..fcda06ebbb0 100644 --- a/indra/llrender/llshadermgr.cpp +++ b/indra/llrender/llshadermgr.cpp @@ -664,11 +664,11 @@ GLhandleARB LLShaderMgr::loadShaderFile(const std::string& filename, S32 & shade */ - LL_DEBUGS("ShaderLoading") << "Looking in " << open_file_name << LL_ENDL; + // _LL_DEBUGS("ShaderLoading") << "Looking in " << open_file_name << LL_ENDL; file = LLFile::fopen(open_file_name, "r"); /* Flawfinder: ignore */ if (file) { - LL_DEBUGS("ShaderLoading") << "Loading file: " << open_file_name << " (Want class " << gpu_class << ")" << LL_ENDL; + // _LL_DEBUGS("ShaderLoading") << "Loading file: " << open_file_name << " (Want class " << gpu_class << ")" << LL_ENDL; break; // done } } diff --git a/indra/llui/llbadge.cpp b/indra/llui/llbadge.cpp index 589b75ab5bd..877fad4a8e0 100644 --- a/indra/llui/llbadge.cpp +++ b/indra/llui/llbadge.cpp @@ -343,7 +343,7 @@ void LLBadge::draw() } else { - LL_DEBUGS() << "No image for badge " << getName() << " on owner " << owner_view->getName() << LL_ENDL; + // _LL_DEBUGS() << "No image for badge " << getName() << " on owner " << owner_view->getName() << LL_ENDL; renderBadgeBackground(badge_center_x, badge_center_y, badge_width, badge_height, diff --git a/indra/llui/llbutton.cpp b/indra/llui/llbutton.cpp index 2490b61ef77..3b51dc5dc53 100644 --- a/indra/llui/llbutton.cpp +++ b/indra/llui/llbutton.cpp @@ -622,7 +622,7 @@ BOOL LLButton::handleHover(S32 x, S32 y, MASK mask) // We only handle the click if the click both started and ended within us getWindow()->setCursor(UI_CURSOR_ARROW); - LL_DEBUGS("UserInput") << "hover handled by " << getName() << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by " << getName() << LL_ENDL; } return TRUE; } @@ -860,7 +860,7 @@ void LLButton::draw() else { // no image - LL_DEBUGS() << "No image for button " << getName() << LL_ENDL; + // _LL_DEBUGS() << "No image for button " << getName() << LL_ENDL; // draw it in pink so we can find it gl_rect_2d(0, getRect().getHeight(), getRect().getWidth(), 0, LLColor4::pink1 % alpha, FALSE); } diff --git a/indra/llui/llcommandmanager.cpp b/indra/llui/llcommandmanager.cpp index 3e159365e5d..54f99e595ec 100644 --- a/indra/llui/llcommandmanager.cpp +++ b/indra/llui/llcommandmanager.cpp @@ -156,7 +156,7 @@ void LLCommandManager::addCommand(LLCommand * command) mCommandIndices[command_id.uuid()] = mCommands.size(); mCommands.push_back(command); - LL_DEBUGS() << "Successfully added command: " << command->name() << LL_ENDL; + // _LL_DEBUGS() << "Successfully added command: " << command->name() << LL_ENDL; } //static diff --git a/indra/llui/lldraghandle.cpp b/indra/llui/lldraghandle.cpp index 48bf5bb80ff..58230a8f627 100644 --- a/indra/llui/lldraghandle.cpp +++ b/indra/llui/lldraghandle.cpp @@ -365,13 +365,13 @@ BOOL LLDragHandle::handleHover(S32 x, S32 y, MASK mask) mDragLastScreenY += delta_y; getWindow()->setCursor(UI_CURSOR_ARROW); - LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (active)" <<LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (active)" <<LL_ENDL; handled = TRUE; } else { getWindow()->setCursor(UI_CURSOR_ARROW); - LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (inactive)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (inactive)" << LL_ENDL; handled = TRUE; } diff --git a/indra/llui/llfloater.cpp b/indra/llui/llfloater.cpp index e448eab3a5d..b337b1c527b 100644 --- a/indra/llui/llfloater.cpp +++ b/indra/llui/llfloater.cpp @@ -1566,7 +1566,7 @@ BOOL LLFloater::handleScrollWheel(S32 x, S32 y, S32 clicks, MASK mask) // virtual BOOL LLFloater::handleMouseUp(S32 x, S32 y, MASK mask) { - LL_DEBUGS() << "LLFloater::handleMouseUp calling LLPanel (really LLView)'s handleMouseUp (first initialized xui to: " << getPathname() << " )" << LL_ENDL; + // _LL_DEBUGS() << "LLFloater::handleMouseUp calling LLPanel (really LLView)'s handleMouseUp (first initialized xui to: " << getPathname() << " )" << LL_ENDL; BOOL handled = LLPanel::handleMouseUp(x,y,mask); // Not implemented in LLPanel so this actually calls LLView #if AL_VIEWER_EVENT_RECORDER @@ -3477,7 +3477,7 @@ bool LLFloater::buildFromFile(const std::string& filename) bool res = true; - LL_DEBUGS() << "Building floater " << filename << LL_ENDL; + // _LL_DEBUGS() << "Building floater " << filename << LL_ENDL; LLUICtrlFactory::instance().pushFileName(filename); { if (!getFactoryMap().empty()) diff --git a/indra/llui/llfloaterreg.cpp b/indra/llui/llfloaterreg.cpp index b7dea943976..4e3073ee2ba 100644 --- a/indra/llui/llfloaterreg.cpp +++ b/indra/llui/llfloaterreg.cpp @@ -490,7 +490,7 @@ void LLFloaterReg::toggleInstanceOrBringToFront(const LLSD& sdname, const LLSD& if (!instance) { - LL_DEBUGS() << "Unable to get instance of floater '" << name << "'" << LL_ENDL; + // _LL_DEBUGS() << "Unable to get instance of floater '" << name << "'" << LL_ENDL; return; } diff --git a/indra/llui/llfolderviewitem.cpp b/indra/llui/llfolderviewitem.cpp index 47a3efb269c..53cdbe648f1 100644 --- a/indra/llui/llfolderviewitem.cpp +++ b/indra/llui/llfolderviewitem.cpp @@ -665,7 +665,7 @@ BOOL LLFolderViewItem::handleDragAndDrop(S32 x, S32 y, MASK mask, BOOL drop, } if (handled) { - LL_DEBUGS("UserInput") << "dragAndDrop handled by LLFolderViewItem" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "dragAndDrop handled by LLFolderViewItem" << LL_ENDL; } return handled; @@ -1841,7 +1841,7 @@ BOOL LLFolderViewFolder::handleDragAndDrop(S32 x, S32 y, MASK mask, { handleDragAndDropToThisFolder(mask, drop, cargo_type, cargo_data, accept, tooltip_msg); - LL_DEBUGS("UserInput") << "dragAndDrop handled by LLFolderViewFolder" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "dragAndDrop handled by LLFolderViewFolder" << LL_ENDL; } return TRUE; diff --git a/indra/llui/llfunctorregistry.h b/indra/llui/llfunctorregistry.h index e43974bc52f..e22de1a0e92 100644 --- a/indra/llui/llfunctorregistry.h +++ b/indra/llui/llfunctorregistry.h @@ -95,7 +95,7 @@ class LLFunctorRegistry : public LLSingleton<LLFunctorRegistry<FUNCTOR_TYPE> > } else { - LL_DEBUGS() << "tried to find '" << name << "' in LLFunctorRegistry, but it wasn't there." << LL_ENDL; + // _LL_DEBUGS() << "tried to find '" << name << "' in LLFunctorRegistry, but it wasn't there." << LL_ENDL; return mMap[LOGFUNCTOR]; } } @@ -107,7 +107,7 @@ class LLFunctorRegistry : public LLSingleton<LLFunctorRegistry<FUNCTOR_TYPE> > static void log_functor(const LLSD& notification, const LLSD& payload) { - LL_DEBUGS() << "log_functor called with payload: " << payload << LL_ENDL; + // _LL_DEBUGS() << "log_functor called with payload: " << payload << LL_ENDL; } static void do_nothing(const LLSD& notification, const LLSD& payload) diff --git a/indra/llui/llkeywords.cpp b/indra/llui/llkeywords.cpp index 69e338ddb97..53030cbb452 100644 --- a/indra/llui/llkeywords.cpp +++ b/indra/llui/llkeywords.cpp @@ -296,7 +296,7 @@ void LLKeywords::processTokensGroup(const LLSD& tokens, const std::string& group } color_group = getColorGroup(group); - LL_DEBUGS("SyntaxLSL") << "Group: '" << group << "', using color: '" << color_group << "'" << LL_ENDL; + // _LL_DEBUGS("SyntaxLSL") << "Group: '" << group << "', using color: '" << color_group << "'" << LL_ENDL; if (tokens.isMap()) { diff --git a/indra/llui/lllineeditor.cpp b/indra/llui/lllineeditor.cpp index df10d00ab65..776a11a75ed 100644 --- a/indra/llui/lllineeditor.cpp +++ b/indra/llui/lllineeditor.cpp @@ -869,14 +869,14 @@ BOOL LLLineEditor::handleHover(S32 x, S32 y, MASK mask) mKeystrokeTimer.reset(); getWindow()->setCursor(UI_CURSOR_IBEAM); - LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (active)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (active)" << LL_ENDL; handled = TRUE; } if( !handled ) { getWindow()->setCursor(UI_CURSOR_IBEAM); - LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (inactive)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (inactive)" << LL_ENDL; handled = TRUE; } diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp index 4768ba93a3a..d3307b99b3c 100644 --- a/indra/llui/llmenugl.cpp +++ b/indra/llui/llmenugl.cpp @@ -193,11 +193,11 @@ LLMenuItemGL::LLMenuItemGL(const LLMenuItemGL::Params& p) LLKeyboard::keyFromString(key_str, &mAcceleratorKey); - LL_DEBUGS("HotKeys") << "Process short cut key: shortcut: " << shortcut + /*// _LL_DEBUGS("HotKeys") << "Process short cut key: shortcut: " << shortcut << ", key str: " << key_str << ", accelerator mask: " << mAcceleratorMask << ", accelerator key: " << mAcceleratorKey - << LL_ENDL; + << LL_ENDL;*/ } //virtual @@ -311,7 +311,7 @@ BOOL LLMenuItemGL::addToAcceleratorList(std::list <LLKeyBinding*> *listp) void LLMenuItemGL::appendAcceleratorString( std::string& st ) const { st = LLKeyboard::stringFromAccelerator( mAcceleratorMask, mAcceleratorKey ); - LL_DEBUGS("HotKeys") << "appendAcceleratorString: " << st << LL_ENDL; + // _LL_DEBUGS("HotKeys") << "appendAcceleratorString: " << st << LL_ENDL; } void LLMenuItemGL::setJumpKey(KEY key) diff --git a/indra/llui/llmodaldialog.cpp b/indra/llui/llmodaldialog.cpp index 701a8258a69..4fd1befb71d 100644 --- a/indra/llui/llmodaldialog.cpp +++ b/indra/llui/llmodaldialog.cpp @@ -195,7 +195,7 @@ BOOL LLModalDialog::handleHover(S32 x, S32 y, MASK mask) if( childrenHandleHover(x, y, mask) == NULL ) { getWindow()->setCursor(UI_CURSOR_ARROW); - LL_DEBUGS("UserInput") << "hover handled by " << getName() << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by " << getName() << LL_ENDL; } LLView* popup_menu = LLMenuGL::sMenuContainer->getVisibleMenu(); diff --git a/indra/llui/llmultislider.cpp b/indra/llui/llmultislider.cpp index acfe4a0cba7..217acdbf2ea 100644 --- a/indra/llui/llmultislider.cpp +++ b/indra/llui/llmultislider.cpp @@ -505,7 +505,7 @@ BOOL LLMultiSlider::handleHover(S32 x, S32 y, MASK mask) onCommit(); getWindow()->setCursor(UI_CURSOR_ARROW); - LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (active)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (active)" << LL_ENDL; } else { @@ -528,7 +528,7 @@ BOOL LLMultiSlider::handleHover(S32 x, S32 y, MASK mask) } getWindow()->setCursor(UI_CURSOR_ARROW); - LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (inactive)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (inactive)" << LL_ENDL; } return TRUE; } diff --git a/indra/llui/llnotifications.cpp b/indra/llui/llnotifications.cpp index eb404c82294..6265f6718f7 100644 --- a/indra/llui/llnotifications.cpp +++ b/indra/llui/llnotifications.cpp @@ -242,8 +242,8 @@ LLNotificationForm::LLNotificationForm(const std::string& name, const LLNotifica } } - LL_DEBUGS("Notifications") << name << LL_ENDL; - LL_DEBUGS("Notifications") << ll_pretty_print_sd(mFormData) << LL_ENDL; + // _LL_DEBUGS("Notifications") << name << LL_ENDL; + // _LL_DEBUGS("Notifications") << ll_pretty_print_sd(mFormData) << LL_ENDL; } LLNotificationForm::LLNotificationForm(const LLSD& sd) @@ -448,11 +448,11 @@ LLNotificationTemplate::LLNotificationTemplate(const LLNotificationTemplate::Par mUniqueContext.push_back(context.value); } - LL_DEBUGS("Notifications") << "notification \"" << mName << "\": tag count is " << p.tags.size() << LL_ENDL; + // _LL_DEBUGS("Notifications") << "notification \"" << mName << "\": tag count is " << p.tags.size() << LL_ENDL; BOOST_FOREACH(const LLNotificationTemplate::Tag& tag, p.tags) { - LL_DEBUGS("Notifications") << " tag \"" << std::string(tag.value) << "\"" << LL_ENDL; + // _LL_DEBUGS("Notifications") << " tag \"" << std::string(tag.value) << "\"" << LL_ENDL; mTags.push_back(tag.value); } @@ -1502,7 +1502,7 @@ void replaceSubstitutionStrings(LLXMLNodePtr node, StringMap& replacements) if (found != replacements.end()) { replacement = found->second; - LL_DEBUGS("Notifications") << "replaceSubstitutionStrings: value: \"" << value << "\" repl: \"" << replacement << "\"." << LL_ENDL; + // _LL_DEBUGS("Notifications") << "replaceSubstitutionStrings: value: \"" << value << "\" repl: \"" << replacement << "\"." << LL_ENDL; it->second->setValue(replacement); } else @@ -1782,7 +1782,7 @@ LLNotificationPtr LLNotifications::find(LLUUID uuid) LLNotificationSet::iterator it=mItems.find(target); if (it == mItems.end()) { - LL_DEBUGS("Notifications") << "Tried to dereference uuid '" << uuid << "' as a notification key but didn't find it." << LL_ENDL; + // _LL_DEBUGS("Notifications") << "Tried to dereference uuid '" << uuid << "' as a notification key but didn't find it." << LL_ENDL; return LLNotificationPtr((LLNotification*)NULL); } else @@ -1845,13 +1845,13 @@ bool LLNotifications::isVisibleByRules(LLNotificationPtr n) for(it = mVisibilityRules.begin(); it != mVisibilityRules.end(); it++) { // An empty type/tag/name string will match any notification, so only do the comparison when the string is non-empty in the rule. - LL_DEBUGS("Notifications") + /*// _LL_DEBUGS("Notifications") << "notification \"" << n->getName() << "\" " << "testing against " << ((*it)->mVisible?"show":"hide") << " rule, " << "name = \"" << (*it)->mName << "\" " << "tag = \"" << (*it)->mTag << "\" " << "type = \"" << (*it)->mType << "\" " - << LL_ENDL; + << LL_ENDL;*/ if(!(*it)->mType.empty()) { @@ -1890,7 +1890,7 @@ bool LLNotifications::isVisibleByRules(LLNotificationPtr n) if((*it)->mResponse.empty()) { // Response property is empty. Cancel this notification. - LL_DEBUGS("Notifications") << "cancelling notification " << n->getName() << LL_ENDL; + // _LL_DEBUGS("Notifications") << "cancelling notification " << n->getName() << LL_ENDL; cancel(n); } @@ -1901,7 +1901,7 @@ bool LLNotifications::isVisibleByRules(LLNotificationPtr n) // TODO: verify that the response template has an item with the correct name response[(*it)->mResponse] = true; - LL_DEBUGS("Notifications") << "responding to notification " << n->getName() << " with response = " << response << LL_ENDL; + // _LL_DEBUGS("Notifications") << "responding to notification " << n->getName() << " with response = " << response << LL_ENDL; n->respond(response); } @@ -1913,7 +1913,7 @@ bool LLNotifications::isVisibleByRules(LLNotificationPtr n) break; } - LL_DEBUGS("Notifications") << "allowing notification " << n->getName() << LL_ENDL; + // _LL_DEBUGS("Notifications") << "allowing notification " << n->getName() << LL_ENDL; return true; } diff --git a/indra/llui/llpanel.cpp b/indra/llui/llpanel.cpp index 1489118b4cc..61309165c66 100644 --- a/indra/llui/llpanel.cpp +++ b/indra/llui/llpanel.cpp @@ -828,7 +828,7 @@ BOOL LLPanel::buildFromFile(const std::string& filename, const LLPanel::Params& return didPost; } - LL_DEBUGS() << "Building panel " << filename << LL_ENDL; + // _LL_DEBUGS() << "Building panel " << filename << LL_ENDL; LLUICtrlFactory::instance().pushFileName(filename); { diff --git a/indra/llui/llscrollbar.cpp b/indra/llui/llscrollbar.cpp index 16f0e456ee9..78b2d243b52 100644 --- a/indra/llui/llscrollbar.cpp +++ b/indra/llui/llscrollbar.cpp @@ -383,7 +383,7 @@ BOOL LLScrollbar::handleHover(S32 x, S32 y, MASK mask) } getWindow()->setCursor(UI_CURSOR_ARROW); - LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (active)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (active)" << LL_ENDL; handled = TRUE; } else @@ -395,7 +395,7 @@ BOOL LLScrollbar::handleHover(S32 x, S32 y, MASK mask) if( !handled ) { getWindow()->setCursor(UI_CURSOR_ARROW); - LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (inactive)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (inactive)" << LL_ENDL; handled = TRUE; } diff --git a/indra/llui/llslider.cpp b/indra/llui/llslider.cpp index d9173cd81f9..8845f0497bb 100644 --- a/indra/llui/llslider.cpp +++ b/indra/llui/llslider.cpp @@ -221,7 +221,7 @@ BOOL LLSlider::handleHover(S32 x, S32 y, MASK mask) } getWindow()->setCursor(UI_CURSOR_ARROW); - LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (active)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (active)" << LL_ENDL; } else { @@ -235,7 +235,7 @@ BOOL LLSlider::handleHover(S32 x, S32 y, MASK mask) } getWindow()->setCursor(UI_CURSOR_ARROW); - LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (inactive)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (inactive)" << LL_ENDL; } return TRUE; } diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index 371b0f3230f..cd644e9534d 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -1580,7 +1580,7 @@ void LLTextBase::reflow() // use an even number of iterations to avoid user visible oscillation of the layout if(++reflow_count > 2) { - LL_DEBUGS() << "Breaking out of reflow due to possible infinite loop in " << getName() << LL_ENDL; + // _LL_DEBUGS() << "Breaking out of reflow due to possible infinite loop in " << getName() << LL_ENDL; break; } @@ -2312,7 +2312,7 @@ void LLTextBase::setFont(const LLFontGL* font) void LLTextBase::needsReflow(S32 index) { - LL_DEBUGS() << "reflow on object " << (void*)this << " index = " << mReflowIndex << ", new index = " << index << LL_ENDL; + // _LL_DEBUGS() << "reflow on object " << (void*)this << " index = " << mReflowIndex << ", new index = " << index << LL_ENDL; mReflowIndex = llmin(mReflowIndex, index); } diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp index 73dbac87f9f..e5d69349a52 100644 --- a/indra/llui/lltexteditor.cpp +++ b/indra/llui/lltexteditor.cpp @@ -802,7 +802,7 @@ BOOL LLTextEditor::handleHover(S32 x, S32 y, MASK mask) setCursorAtLocalPos( clamped_x, clamped_y, true ); mSelectionEnd = mCursorPos; } - LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (active)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by " << getName() << " (active)" << LL_ENDL; getWindow()->setCursor(UI_CURSOR_IBEAM); handled = TRUE; } diff --git a/indra/llui/lluictrl.cpp b/indra/llui/lluictrl.cpp index 58c9cc3bbd0..938a25fa2bc 100644 --- a/indra/llui/lluictrl.cpp +++ b/indra/llui/lluictrl.cpp @@ -344,7 +344,7 @@ void LLUICtrl::onMouseLeave(S32 x, S32 y, MASK mask) BOOL LLUICtrl::handleMouseDown(S32 x, S32 y, MASK mask) { - LL_DEBUGS() << "LLUICtrl::handleMouseDown calling LLView)'s handleMouseUp (first initialized xui to: " << getPathname() << " )" << LL_ENDL; + // _LL_DEBUGS() << "LLUICtrl::handleMouseDown calling LLView)'s handleMouseUp (first initialized xui to: " << getPathname() << " )" << LL_ENDL; BOOL handled = LLView::handleMouseDown(x,y,mask); @@ -352,7 +352,7 @@ BOOL LLUICtrl::handleMouseDown(S32 x, S32 y, MASK mask) { (*mMouseDownSignal)(this,x,y,mask); } - LL_DEBUGS() << "LLUICtrl::handleMousedown - handled is returning as: " << handled << " " << LL_ENDL; + // _LL_DEBUGS() << "LLUICtrl::handleMousedown - handled is returning as: " << handled << " " << LL_ENDL; #if AL_VIEWER_EVENT_RECORDER if (handled && LLViewerEventRecorder::getLoggingStatus()) { @@ -366,7 +366,7 @@ BOOL LLUICtrl::handleMouseDown(S32 x, S32 y, MASK mask) BOOL LLUICtrl::handleMouseUp(S32 x, S32 y, MASK mask) { - LL_DEBUGS() << "LLUICtrl::handleMouseUp calling LLView)'s handleMouseUp (first initialized xui to: " << getPathname() << " )" << LL_ENDL; + // _LL_DEBUGS() << "LLUICtrl::handleMouseUp calling LLView)'s handleMouseUp (first initialized xui to: " << getPathname() << " )" << LL_ENDL; BOOL handled = LLView::handleMouseUp(x,y,mask); @@ -380,7 +380,7 @@ BOOL LLUICtrl::handleMouseUp(S32 x, S32 y, MASK mask) (*mMouseUpSignal)(this,x,y,mask); } - LL_DEBUGS() << "LLUICtrl::handleMouseUp - handled for xui " << getPathname() << " - is returning as: " << handled << " " << LL_ENDL; + // _LL_DEBUGS() << "LLUICtrl::handleMouseUp - handled for xui " << getPathname() << " - is returning as: " << handled << " " << LL_ENDL; return handled; } diff --git a/indra/llui/llview.cpp b/indra/llui/llview.cpp index 0842f6a5ce5..4191b1e4186 100644 --- a/indra/llui/llview.cpp +++ b/indra/llui/llview.cpp @@ -168,7 +168,7 @@ LLView::~LLView() //LL_INFOS() << "Deleting view " << mName << ":" << (void*) this << LL_ENDL; if (LLView::sIsDrawing) { - LL_DEBUGS() << "Deleting view " << mName << " during UI draw() phase" << LL_ENDL; + // _LL_DEBUGS() << "Deleting view " << mName << " during UI draw() phase" << LL_ENDL; } // llassert(LLView::sIsDrawing == FALSE); @@ -644,7 +644,7 @@ void LLView::onVisibilityChange ( BOOL new_visibility ) // Consider changing returns to confirm success and know which widget grabbed it // For now assume success and log at highest xui possible // NOTE we log actual state - which may differ if it somehow failed to set visibility - LL_DEBUGS() << "LLView::handleVisibilityChange - now: " << getVisible() << " xui: " << viewp->getPathname() << " name: " << viewp->getName() << LL_ENDL; + // _LL_DEBUGS() << "LLView::handleVisibilityChange - now: " << getVisible() << " xui: " << viewp->getPathname() << " name: " << viewp->getName() << LL_ENDL; } #endif @@ -753,8 +753,8 @@ LLView* LLView::childrenHandleMouseEvent(const METHOD& method, S32 x, S32 y, XDA if ((viewp->*method)( local_x, local_y, extra ) || (allow_mouse_block && viewp->blockMouseEvent( local_x, local_y ))) { - LL_DEBUGS() << "LLView::childrenHandleMouseEvent calling updatemouseeventinfo - local_x|global x "<< local_x << " " << x << "local/global y " << local_y << " " << y << LL_ENDL; - LL_DEBUGS() << "LLView::childrenHandleMouseEvent getPathname for viewp result: " << viewp->getPathname() << "for this view: " << getPathname() << LL_ENDL; + // _LL_DEBUGS() << "LLView::childrenHandleMouseEvent calling updatemouseeventinfo - local_x|global x "<< local_x << " " << x << "local/global y " << local_y << " " << y << LL_ENDL; + // _LL_DEBUGS() << "LLView::childrenHandleMouseEvent getPathname for viewp result: " << viewp->getPathname() << "for this view: " << getPathname() << LL_ENDL; LLViewerEventRecorder::instance().updateMouseEventInfo(x,y,-55,-55,getPathname()); @@ -785,8 +785,8 @@ LLView* LLView::childrenHandleScrollEvent(const METHOD& method, S32 x, S32 y, S3 if ((viewp->*method)(local_x, local_y, clicks, mask) || (allow_mouse_block && viewp->blockMouseEvent(local_x, local_y))) { - LL_DEBUGS() << "LLView::childrenHandleMouseEvent calling updatemouseeventinfo - local_x|global x " << local_x << " " << x << "local/global y " << local_y << " " << y << LL_ENDL; - LL_DEBUGS() << "LLView::childrenHandleMouseEvent getPathname for viewp result: " << viewp->getPathname() << "for this view: " << getPathname() << LL_ENDL; + // _LL_DEBUGS() << "LLView::childrenHandleMouseEvent calling updatemouseeventinfo - local_x|global x " << local_x << " " << x << "local/global y " << local_y << " " << y << LL_ENDL; + // _LL_DEBUGS() << "LLView::childrenHandleMouseEvent getPathname for viewp result: " << viewp->getPathname() << "for this view: " << getPathname() << LL_ENDL; LLViewerEventRecorder::instance().updateMouseEventInfo(x, y, -55, -55, getPathname()); @@ -972,7 +972,7 @@ BOOL LLView::handleKey(KEY key, MASK mask, BOOL called_from_parent) handled = handleKeyHere( key, mask ); if (handled) { - LL_DEBUGS() << "Key handled by " << getName() << LL_ENDL; + // _LL_DEBUGS() << "Key handled by " << getName() << LL_ENDL; } } } @@ -1004,7 +1004,7 @@ BOOL LLView::handleKeyUp(KEY key, MASK mask, BOOL called_from_parent) handled = handleKeyUpHere(key, mask); if (handled) { - LL_DEBUGS() << "Key handled by " << getName() << LL_ENDL; + // _LL_DEBUGS() << "Key handled by " << getName() << LL_ENDL; } } } diff --git a/indra/llui/llviewereventrecorder.cpp b/indra/llui/llviewereventrecorder.cpp index 755edd4b495..12eeee7a499 100644 --- a/indra/llui/llviewereventrecorder.cpp +++ b/indra/llui/llviewereventrecorder.cpp @@ -54,14 +54,14 @@ void LLViewerEventRecorder::setEventLoggingOn() { mLog.open(mLogFilename.c_str(), std::ios_base::out); } sLogEvents=true; - LL_DEBUGS() << "LLViewerEventRecorder::setEventLoggingOn event logging turned on" << LL_ENDL; + // _LL_DEBUGS() << "LLViewerEventRecorder::setEventLoggingOn event logging turned on" << LL_ENDL; } void LLViewerEventRecorder::setEventLoggingOff() { sLogEvents=false; mLog.flush(); mLog.close(); - LL_DEBUGS() << "LLViewerEventRecorder::setEventLoggingOff event logging turned off" << LL_ENDL; + // _LL_DEBUGS() << "LLViewerEventRecorder::setEventLoggingOff event logging turned off" << LL_ENDL; } @@ -102,10 +102,10 @@ void LLViewerEventRecorder::updateMouseEventInfo(S32 local_x, S32 local_y, S32 g if (!sLogEvents) return; LLView * target_view = LLUI::getInstance()->resolvePath(LLUI::getInstance()->getRootView(), xui); if (! target_view) { - LL_DEBUGS() << "LLViewerEventRecorder::updateMouseEventInfo - xui path on file at moment is NOT valid - so DO NOT record these local coords" << LL_ENDL; + // _LL_DEBUGS() << "LLViewerEventRecorder::updateMouseEventInfo - xui path on file at moment is NOT valid - so DO NOT record these local coords" << LL_ENDL; return; } - LL_DEBUGS() << "LLViewerEventRecorder::updateMouseEventInfo b4 updatemouseeventinfo - local_x|global x "<< this->local_x << " " << this->global_x << "local/global y " << this->local_y << " " << this->global_y << " mname: " << mName << " xui: " << xui << LL_ENDL; + // _LL_DEBUGS() << "LLViewerEventRecorder::updateMouseEventInfo b4 updatemouseeventinfo - local_x|global x "<< this->local_x << " " << this->global_x << "local/global y " << this->local_y << " " << this->global_y << " mname: " << mName << " xui: " << xui << LL_ENDL; if (this->local_x < 1 && this->local_y<1 && local_x && local_y) { @@ -122,7 +122,7 @@ void LLViewerEventRecorder::updateMouseEventInfo(S32 local_x, S32 local_y, S32 g xui = mName; // TODO review confirm we never call with partial path - also cAN REMOVE CHECK FOR "" - ON OTHER HAND IT'S PRETTY HARMLESS } - LL_DEBUGS() << "LLViewerEventRecorder::updateMouseEventInfo after updatemouseeventinfo - local_x|global x "<< this->local_x << " " << this->global_x << "local/global y " << this->local_y << " " << this->global_y << " mname: " << mName << " xui: " << xui << LL_ENDL; + // _LL_DEBUGS() << "LLViewerEventRecorder::updateMouseEventInfo after updatemouseeventinfo - local_x|global x "<< this->local_x << " " << this->global_x << "local/global y " << this->local_y << " " << this->global_y << " mname: " << mName << " xui: " << xui << LL_ENDL; } void LLViewerEventRecorder::logVisibilityChange(std::string xui, std::string name, BOOL visibility, std::string event_subtype) { @@ -159,10 +159,10 @@ std::string LLViewerEventRecorder::get_xui() { } void LLViewerEventRecorder::update_xui(std::string xui) { if (xui!="" && this->xui=="" ) { - LL_DEBUGS() << "LLViewerEventRecorder::update_xui to " << xui << LL_ENDL; + // _LL_DEBUGS() << "LLViewerEventRecorder::update_xui to " << xui << LL_ENDL; this->xui=xui; } else { - LL_DEBUGS() << "LLViewerEventRecorder::update_xui called with empty string" << LL_ENDL; + // _LL_DEBUGS() << "LLViewerEventRecorder::update_xui called with empty string" << LL_ENDL; } } @@ -202,11 +202,11 @@ void LLViewerEventRecorder::logKeyEvent(KEY key, MASK mask) { // (maybe it should) - instead it has a convenience method that generates the keydown and keyup events // Here we will use "type" as our event type - LL_DEBUGS() << "LLVIewerEventRecorder::logKeyEvent Serialized LLSD for event " << event.asString() << "\n" << LL_ENDL; + // _LL_DEBUGS() << "LLVIewerEventRecorder::logKeyEvent Serialized LLSD for event " << event.asString() << "\n" << LL_ENDL; - //LL_DEBUGS() << "[VITA] key_name: " << LLKeyboard::stringFromKey(key) << "mask: "<< mask << "handled by " << getName() << LL_ENDL; - LL_DEBUGS() << "LLVIewerEventRecorder::logKeyEvent key_name: " << LLKeyboard::stringFromKey(key) << "mask: "<< mask << LL_ENDL; + //// _LL_DEBUGS() << "[VITA] key_name: " << LLKeyboard::stringFromKey(key) << "mask: "<< mask << "handled by " << getName() << LL_ENDL; + // _LL_DEBUGS() << "LLVIewerEventRecorder::logKeyEvent key_name: " << LLKeyboard::stringFromKey(key) << "mask: "<< mask << LL_ENDL; recordEvent(event); @@ -220,14 +220,14 @@ void LLViewerEventRecorder::playbackRecording() { // ivita sets this on startup, it also sends commands to the viewer to make start, stop, and playback menu items visible in viewer LeapCommand =LLUI::getInstance()->mSettingGroups["config"]->getLLSD("LeapPlaybackEventsCommand"); - LL_DEBUGS() << "[VITA] launching playback - leap command is: " << LLSDXMLStreamer(LeapCommand) << LL_ENDL; + // _LL_DEBUGS() << "[VITA] launching playback - leap command is: " << LLSDXMLStreamer(LeapCommand) << LL_ENDL; LLLeap::create("", LeapCommand, false); // exception=false } void LLViewerEventRecorder::recordEvent(LLSD event) { - LL_DEBUGS() << "LLViewerEventRecorder::recordEvent event written to log: " << LLSDXMLStreamer(event) << LL_ENDL; + // _LL_DEBUGS() << "LLViewerEventRecorder::recordEvent event written to log: " << LLSDXMLStreamer(event) << LL_ENDL; mLog << event << std::endl; } @@ -245,7 +245,7 @@ void LLViewerEventRecorder::logKeyUnicodeEvent(llwchar uni_char) { // keycode...or // char - LL_DEBUGS() << "Wrapped in conversion to wstring " << wstring_to_utf8str(LLWString( 1, uni_char)) << "\n" << LL_ENDL; + // _LL_DEBUGS() << "Wrapped in conversion to wstring " << wstring_to_utf8str(LLWString( 1, uni_char)) << "\n" << LL_ENDL; event.insert("char", LLSD( wstring_to_utf8str(LLWString( 1,uni_char)) ) @@ -259,8 +259,8 @@ void LLViewerEventRecorder::logKeyUnicodeEvent(llwchar uni_char) { event.insert("event",LLSD("keyDown")); - LL_DEBUGS() << "[VITA] unicode key: " << uni_char << LL_ENDL; - LL_DEBUGS() << "[VITA] dumpxml " << LLSDXMLStreamer(event) << "\n" << LL_ENDL; + // _LL_DEBUGS() << "[VITA] unicode key: " << uni_char << LL_ENDL; + // _LL_DEBUGS() << "[VITA] dumpxml " << LLSDXMLStreamer(event) << "\n" << LL_ENDL; recordEvent(event); diff --git a/indra/llvfs/lldir.cpp b/indra/llvfs/lldir.cpp index 0d1b55f5795..ed0637045cf 100644 --- a/indra/llvfs/lldir.cpp +++ b/indra/llvfs/lldir.cpp @@ -313,7 +313,7 @@ const std::string &LLDir::getLindenUserDir() const { if (mLindenUserDir.empty()) { - LL_DEBUGS() << "getLindenUserDir() called early, we don't have the user name yet - returning empty string to caller" << LL_ENDL; + // _LL_DEBUGS() << "getLindenUserDir() called early, we don't have the user name yet - returning empty string to caller" << LL_ENDL; } return mLindenUserDir; @@ -578,10 +578,10 @@ std::string LLDir::getExpandedFilename(ELLPath location, const std::string& subd // which to build this string), then intentionally return a blank // string to the caller and skip the below warning about a blank // prefix. - LL_DEBUGS("LLDir") << "getLindenUserDir() not yet set: " + /*// _LL_DEBUGS("LLDir") << "getLindenUserDir() not yet set: " << ELLPathToString(location) << ", '" << subdir1 << "', '" << subdir2 << "', '" << in_filename - << "' => ''" << LL_ENDL; + << "' => ''" << LL_ENDL;*/ return std::string(); } break; @@ -596,7 +596,7 @@ std::string LLDir::getExpandedFilename(ELLPath location, const std::string& subd { // potentially directory was not set yet // intentionally return a blank string to the caller - LL_DEBUGS("LLDir") << "Conversation log directory is not yet set" << LL_ENDL; + // _LL_DEBUGS("LLDir") << "Conversation log directory is not yet set" << LL_ENDL; return std::string(); } break; @@ -704,9 +704,9 @@ std::string LLDir::getExpandedFilename(ELLPath location, const std::string& subd expanded_filename += mDirDelimiter; expanded_filename += in_filename; - LL_DEBUGS("LLDir") << ELLPathToString(location) + /*// _LL_DEBUGS("LLDir") << ELLPathToString(location) << ", '" << subdir1 << "', '" << subdir2 << "', '" << in_filename - << "' => '" << expanded_filename << "'" << LL_ENDL; + << "' => '" << expanded_filename << "'" << LL_ENDL;*/ return expanded_filename; } @@ -819,10 +819,10 @@ std::vector<std::string> LLDir::findSkinnedFilenames(const std::string& subdir, ("textures") // textures not localized ; - LL_DEBUGS("LLDir") << "subdir '" << subdir << "', filename '" << filename + /*// _LL_DEBUGS("LLDir") << "subdir '" << subdir << "', filename '" << filename << "', constraint " << ((constraint == CURRENT_SKIN)? "CURRENT_SKIN" : "ALL_SKINS") - << LL_ENDL; + << LL_ENDL;*/ // Build results vector. std::vector<std::string> results; @@ -944,14 +944,14 @@ std::vector<std::string> LLDir::findSkinnedFilenames(const std::string& subdir, } } - LL_DEBUGS("LLDir") << empty; + /*// _LL_DEBUGS("LLDir") << empty; const char* comma = ""; BOOST_FOREACH(std::string path, results) { LL_CONT << comma << "'" << path << "'"; comma = ", "; } - LL_CONT << LL_ENDL; + LL_CONT << LL_ENDL;*/ return results; } @@ -1049,8 +1049,8 @@ void LLDir::setPerAccountChatLogsDir(const std::string &username) void LLDir::setSkinFolder(const std::string &skin_folder, const std::string& language) { - LL_DEBUGS("LLDir") << "Setting skin '" << skin_folder << "', language '" << language << "'" - << LL_ENDL; + /*// _LL_DEBUGS("LLDir") << "Setting skin '" << skin_folder << "', language '" << language << "'" + << LL_ENDL;*/ mSkinName = skin_folder; mLanguage = language; @@ -1087,7 +1087,7 @@ void LLDir::addSearchSkinDir(const std::string& skindir) { if (std::find(mSearchSkinDirs.begin(), mSearchSkinDirs.end(), skindir) == mSearchSkinDirs.end()) { - LL_DEBUGS("LLDir") << "search skin: '" << skindir << "'" << LL_ENDL; + // _LL_DEBUGS("LLDir") << "search skin: '" << skindir << "'" << LL_ENDL; mSearchSkinDirs.push_back(skindir); } } diff --git a/indra/llwindow/lldxhardware.cpp b/indra/llwindow/lldxhardware.cpp index 0d830de22ca..3f2a174b559 100644 --- a/indra/llwindow/lldxhardware.cpp +++ b/indra/llwindow/lldxhardware.cpp @@ -245,7 +245,7 @@ std::string LLDXHardware::getDriverVersionWMI() if (FAILED(hres)) { - LL_DEBUGS("AppInit") << "Failed to initialize COM library. Error code = 0x" << hres << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Failed to initialize COM library. Error code = 0x" << hres << LL_ENDL; return std::string(); // Program has failed. } @@ -273,7 +273,7 @@ std::string LLDXHardware::getDriverVersionWMI() return std::string(); // Program has failed. } - LL_DEBUGS("AppInit") << "Connected to ROOT\\CIMV2 WMI namespace" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Connected to ROOT\\CIMV2 WMI namespace" << LL_ENDL; // Set security levels on the proxy ------------------------- hres = CoSetProxyBlanket( @@ -639,7 +639,7 @@ BOOL LLDXHardware::getInfo(BOOL vram_only) mVRAM = 0; // CoCreate a IDxDiagProvider* - LL_DEBUGS("AppInit") << "CoCreateInstance IID_IDxDiagProvider" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "CoCreateInstance IID_IDxDiagProvider" << LL_ENDL; hr = CoCreateInstance(CLSID_DxDiagProvider, NULL, CLSCTX_INPROC_SERVER, @@ -666,14 +666,14 @@ BOOL LLDXHardware::getInfo(BOOL vram_only) dx_diag_init_params.bAllowWHQLChecks = TRUE; dx_diag_init_params.pReserved = NULL; - LL_DEBUGS("AppInit") << "dx_diag_providerp->Initialize" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "dx_diag_providerp->Initialize" << LL_ENDL; hr = dx_diag_providerp->Initialize(&dx_diag_init_params); if (FAILED(hr)) { goto LCleanup; } - LL_DEBUGS("AppInit") << "dx_diag_providerp->GetRootContainer" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "dx_diag_providerp->GetRootContainer" << LL_ENDL; hr = dx_diag_providerp->GetRootContainer(&dx_diag_rootp); if (FAILED(hr) || !dx_diag_rootp) { @@ -683,7 +683,7 @@ BOOL LLDXHardware::getInfo(BOOL vram_only) HRESULT hr; // Get display driver information - LL_DEBUGS("AppInit") << "dx_diag_rootp->GetChildContainer" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "dx_diag_rootp->GetChildContainer" << LL_ENDL; hr = dx_diag_rootp->GetChildContainer(L"DxDiag_DisplayDevices", &devices_containerp); if (FAILED(hr) || !devices_containerp) { @@ -702,7 +702,7 @@ BOOL LLDXHardware::getInfo(BOOL vram_only) // Get device 0 // By default 0 device is the primary one, howhever in case of various hybrid graphics // like itegrated AMD and PCI AMD GPUs system might switch. - LL_DEBUGS("AppInit") << "devices_containerp->GetChildContainer" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "devices_containerp->GetChildContainer" << LL_ENDL; hr = devices_containerp->GetChildContainer(L"0", &device_containerp); if (FAILED(hr) || !device_containerp) { @@ -763,7 +763,7 @@ BOOL LLDXHardware::getInfo(BOOL vram_only) // This call may take some time while dxdiag gathers the info. DWORD num_devices = 0; WCHAR wszContainer[256]; - LL_DEBUGS("AppInit") << "dx_diag_rootp->GetChildContainer DxDiag_SystemDevices" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "dx_diag_rootp->GetChildContainer DxDiag_SystemDevices" << LL_ENDL; hr = dx_diag_rootp->GetChildContainer(L"DxDiag_SystemDevices", &system_device_containerp); if (FAILED(hr)) { @@ -776,7 +776,7 @@ BOOL LLDXHardware::getInfo(BOOL vram_only) goto LCleanup; } - LL_DEBUGS("AppInit") << "DX9 iterating over devices" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "DX9 iterating over devices" << LL_ENDL; S32 device_num = 0; for (device_num = 0; device_num < (S32)num_devices; device_num++) { diff --git a/indra/llwindow/llkeyboard.cpp b/indra/llwindow/llkeyboard.cpp index 3c2f09e100b..e4c7d7c676d 100644 --- a/indra/llwindow/llkeyboard.cpp +++ b/indra/llwindow/llkeyboard.cpp @@ -258,7 +258,7 @@ BOOL LLKeyboard::handleTranslatedKeyUp(KEY translated_key, U32 translated_mask) handled = mCallbacks->handleTranslatedKeyUp(translated_key, translated_mask); } - LL_DEBUGS("UserInput") << "keyup -" << translated_key << "-" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "keyup -" << translated_key << "-" << LL_ENDL; return handled; } diff --git a/indra/llwindow/llwindowwin32.cpp b/indra/llwindow/llwindowwin32.cpp index 5ed4d151e3c..f60f92bf3b0 100644 --- a/indra/llwindow/llwindowwin32.cpp +++ b/indra/llwindow/llwindowwin32.cpp @@ -714,7 +714,7 @@ LLWindowWin32::~LLWindowWin32() void LLWindowWin32::show() { - LL_DEBUGS("Window") << "Setting window to show" << LL_ENDL; + // _LL_DEBUGS("Window") << "Setting window to show" << LL_ENDL; ShowWindow(mWindowHandle, SW_SHOW); SetForegroundWindow(mWindowHandle); SetFocus(mWindowHandle); @@ -802,7 +802,7 @@ void LLWindowWin32::setFullscreenWindow(BOOL fFullscreen) // Usually called from LLWindowManager::destroyWindow() void LLWindowWin32::close() { - LL_DEBUGS("Window") << "Closing LLWindowWin32" << LL_ENDL; + // _LL_DEBUGS("Window") << "Closing LLWindowWin32" << LL_ENDL; // Is window is already closed? if (!mWindowHandle) { @@ -836,7 +836,7 @@ void LLWindowWin32::close() gGLManager.shutdownGL(); } - LL_DEBUGS("Window") << "Releasing Context" << LL_ENDL; + // _LL_DEBUGS("Window") << "Releasing Context" << LL_ENDL; if (mhRC) { if (!wglMakeCurrent(NULL, NULL)) @@ -864,7 +864,7 @@ void LLWindowWin32::close() mhDC = NULL; } - LL_DEBUGS("Window") << "Destroying Window" << LL_ENDL; + // _LL_DEBUGS("Window") << "Destroying Window" << LL_ENDL; // Make sure we don't leave a blank toolbar button. ShowWindow(mWindowHandle, SW_HIDE); @@ -1213,12 +1213,12 @@ BOOL LLWindowWin32::switchContext(BOOL fullscreen, const LLCoordScreen &size, BO mPostQuit = FALSE; // create window - LL_DEBUGS("Window") << "Creating window with X: " << window_rect.left + /*// _LL_DEBUGS("Window") << "Creating window with X: " << window_rect.left << " Y: " << window_rect.top << " Width: " << (window_rect.right - window_rect.left) << " Height: " << (window_rect.bottom - window_rect.top) << " Fullscreen: " << mFullscreen - << LL_ENDL; + << LL_ENDL;*/ DestroyWindow(mWindowHandle); mWindowHandle = CreateWindowEx(dw_ex_style, mWindowClassName, @@ -1587,19 +1587,19 @@ BOOL LLWindowWin32::switchContext(BOOL fullscreen, const LLCoordScreen &size, BO { case WGL_SWAP_EXCHANGE_ARB: mSwapMethod = SWAP_METHOD_EXCHANGE; - LL_DEBUGS("Window") << "Swap Method: Exchange" << LL_ENDL; + // _LL_DEBUGS("Window") << "Swap Method: Exchange" << LL_ENDL; break; case WGL_SWAP_COPY_ARB: mSwapMethod = SWAP_METHOD_COPY; - LL_DEBUGS("Window") << "Swap Method: Copy" << LL_ENDL; + // _LL_DEBUGS("Window") << "Swap Method: Copy" << LL_ENDL; break; case WGL_SWAP_UNDEFINED_ARB: mSwapMethod = SWAP_METHOD_UNDEFINED; - LL_DEBUGS("Window") << "Swap Method: Undefined" << LL_ENDL; + // _LL_DEBUGS("Window") << "Swap Method: Undefined" << LL_ENDL; break; default: mSwapMethod = SWAP_METHOD_UNDEFINED; - LL_DEBUGS("Window") << "Swap Method: Unknown" << LL_ENDL; + // _LL_DEBUGS("Window") << "Swap Method: Unknown" << LL_ENDL; break; } } @@ -1712,12 +1712,12 @@ BOOL LLWindowWin32::switchContext(BOOL fullscreen, const LLCoordScreen &size, BO // Disable vertical sync for swap if (disable_vsync && wglSwapIntervalEXT) { - LL_DEBUGS("Window") << "Disabling vertical sync" << LL_ENDL; + // _LL_DEBUGS("Window") << "Disabling vertical sync" << LL_ENDL; wglSwapIntervalEXT(0); } else { - LL_DEBUGS("Window") << "Keeping vertical sync" << LL_ENDL; + // _LL_DEBUGS("Window") << "Keeping vertical sync" << LL_ENDL; } SetWindowLongPtr(mWindowHandle, GWLP_USERDATA, (LONG_PTR)this); @@ -2956,7 +2956,7 @@ LRESULT CALLBACK LLWindowWin32::mainWindowProc(HWND h_wnd, UINT u_msg, WPARAM w_ else { // (NULL == window_imp) - LL_DEBUGS("Window") << "No window implementation to handle message with, message code: " << U32(u_msg) << LL_ENDL; + // _LL_DEBUGS("Window") << "No window implementation to handle message with, message code: " << U32(u_msg) << LL_ENDL; } // pass unhandled messages down to Windows @@ -3217,7 +3217,7 @@ BOOL LLWindowWin32::restoreGamma() { if (mCustomGammaSet != FALSE) { - LL_DEBUGS("Window") << "Restoring gamma" << LL_ENDL; + // _LL_DEBUGS("Window") << "Restoring gamma" << LL_ENDL; mCustomGammaSet = FALSE; return SetDeviceGammaRamp(mhDC, mPrevGammaRamp); } @@ -3233,7 +3233,7 @@ BOOL LLWindowWin32::setGamma(const F32 gamma) { if (!gGLManager.mIsIntel) // skip for Intel GPUs (see SL-11341) { - LL_DEBUGS("Window") << "Getting the previous gamma ramp to restore later" << LL_ENDL; + // _LL_DEBUGS("Window") << "Getting the previous gamma ramp to restore later" << LL_ENDL; if(GetDeviceGammaRamp(mhDC, mPrevGammaRamp) == FALSE) { LL_WARNS("Window") << "Failed to get the previous gamma ramp" << LL_ENDL; @@ -3243,7 +3243,7 @@ BOOL LLWindowWin32::setGamma(const F32 gamma) mCustomGammaSet = TRUE; } - LL_DEBUGS("Window") << "Setting gamma to " << gamma << LL_ENDL; + // _LL_DEBUGS("Window") << "Setting gamma to " << gamma << LL_ENDL; for ( int i = 0; i < 256; ++i ) { @@ -3410,7 +3410,7 @@ BOOL LLWindowWin32::setFullscreenResolution() // protected BOOL LLWindowWin32::resetDisplayResolution() { - LL_DEBUGS("Window") << "resetDisplayResolution START" << LL_ENDL; + // _LL_DEBUGS("Window") << "resetDisplayResolution START" << LL_ENDL; LONG cds_result = ChangeDisplaySettings(NULL, 0); @@ -3421,7 +3421,7 @@ BOOL LLWindowWin32::resetDisplayResolution() LL_WARNS("Window") << "resetDisplayResolution failed" << LL_ENDL; } - LL_DEBUGS("Window") << "resetDisplayResolution END" << LL_ENDL; + // _LL_DEBUGS("Window") << "resetDisplayResolution END" << LL_ENDL; return success; } diff --git a/indra/llxml/llcontrol.cpp b/indra/llxml/llcontrol.cpp index 6b9eaa5be5f..0310a60baa6 100644 --- a/indra/llxml/llcontrol.cpp +++ b/indra/llxml/llcontrol.cpp @@ -1273,7 +1273,7 @@ U32 LLControlGroup::loadFromFile(const std::string& filename, bool set_default_v ++validitems; } - LL_DEBUGS("Settings") << "Loaded " << validitems << " settings from " << filename << LL_ENDL; + // _LL_DEBUGS("Settings") << "Loaded " << validitems << " settings from " << filename << LL_ENDL; return validitems; } diff --git a/indra/llxml/llxmlnode.cpp b/indra/llxml/llxmlnode.cpp index 024b7bd5ab4..bcb39f74221 100644 --- a/indra/llxml/llxmlnode.cpp +++ b/indra/llxml/llxmlnode.cpp @@ -654,7 +654,7 @@ bool LLXMLNode::updateNode( bool LLXMLNode::parseFile(const std::string& filename, LLXMLNodePtr& node, LLXMLNode* defaults_tree) { // Read file - LL_DEBUGS("XMLNode") << "parsing XML file: " << filename << LL_ENDL; + // _LL_DEBUGS("XMLNode") << "parsing XML file: " << filename << LL_ENDL; LLFILE* fp = LLFile::fopen(filename, "rb"); /* Flawfinder: ignore */ if (fp == NULL) { @@ -1733,7 +1733,7 @@ U32 LLXMLNode::getBoolValue(U32 expected_length, BOOL *array) #if LL_DEBUG if (ret_length != expected_length) { - LL_DEBUGS() << "LLXMLNode::getBoolValue() failed for node named '" + // _LL_DEBUGS() << "LLXMLNode::getBoolValue() failed for node named '" << mName->mString << "' -- expected " << expected_length << " but " << "only found " << ret_length << LL_ENDL; } @@ -1786,7 +1786,7 @@ U32 LLXMLNode::getByteValue(U32 expected_length, U8 *array, Encoding encoding) #if LL_DEBUG if (i != expected_length) { - LL_DEBUGS() << "LLXMLNode::getByteValue() failed for node named '" + // _LL_DEBUGS() << "LLXMLNode::getByteValue() failed for node named '" << mName->mString << "' -- expected " << expected_length << " but " << "only found " << i << LL_ENDL; } @@ -1839,7 +1839,7 @@ U32 LLXMLNode::getIntValue(U32 expected_length, S32 *array, Encoding encoding) #if LL_DEBUG if (i != expected_length) { - LL_DEBUGS() << "LLXMLNode::getIntValue() failed for node named '" + // _LL_DEBUGS() << "LLXMLNode::getIntValue() failed for node named '" << mName->mString << "' -- expected " << expected_length << " but " << "only found " << i << LL_ENDL; } @@ -1893,7 +1893,7 @@ U32 LLXMLNode::getUnsignedValue(U32 expected_length, U32 *array, Encoding encodi #if LL_DEBUG if (i != expected_length) { - LL_DEBUGS() << "LLXMLNode::getUnsignedValue() failed for node named '" + // _LL_DEBUGS() << "LLXMLNode::getUnsignedValue() failed for node named '" << mName->mString << "' -- expected " << expected_length << " but " << "only found " << i << LL_ENDL; } @@ -1947,7 +1947,7 @@ U32 LLXMLNode::getLongValue(U32 expected_length, U64 *array, Encoding encoding) #if LL_DEBUG if (i != expected_length) { - LL_DEBUGS() << "LLXMLNode::getLongValue() failed for node named '" + // _LL_DEBUGS() << "LLXMLNode::getLongValue() failed for node named '" << mName->mString << "' -- expected " << expected_length << " but " << "only found " << i << LL_ENDL; } @@ -1993,7 +1993,7 @@ U32 LLXMLNode::getFloatValue(U32 expected_length, F32 *array, Encoding encoding) #if LL_DEBUG if (i != expected_length) { - LL_DEBUGS() << "LLXMLNode::getFloatValue() failed for node named '" + // _LL_DEBUGS() << "LLXMLNode::getFloatValue() failed for node named '" << mName->mString << "' -- expected " << expected_length << " but " << "only found " << i << LL_ENDL; } @@ -2038,7 +2038,7 @@ U32 LLXMLNode::getDoubleValue(U32 expected_length, F64 *array, Encoding encoding #if LL_DEBUG if (i != expected_length) { - LL_DEBUGS() << "LLXMLNode::getDoubleValue() failed for node named '" + // _LL_DEBUGS() << "LLXMLNode::getDoubleValue() failed for node named '" << mName->mString << "' -- expected " << expected_length << " but " << "only found " << i << LL_ENDL; } @@ -2086,7 +2086,7 @@ U32 LLXMLNode::getStringValue(U32 expected_length, std::string *array) #if LL_DEBUG if (num_returned_strings != expected_length) { - LL_DEBUGS() << "LLXMLNode::getStringValue() failed for node named '" + // _LL_DEBUGS() << "LLXMLNode::getStringValue() failed for node named '" << mName->mString << "' -- expected " << expected_length << " but " << "only found " << num_returned_strings << LL_ENDL; } @@ -2131,7 +2131,7 @@ U32 LLXMLNode::getUUIDValue(U32 expected_length, LLUUID *array) #if LL_DEBUG if (i != expected_length) { - LL_DEBUGS() << "LLXMLNode::getUUIDValue() failed for node named '" + // _LL_DEBUGS() << "LLXMLNode::getUUIDValue() failed for node named '" << mName->mString << "' -- expected " << expected_length << " but " << "only found " << i << LL_ENDL; } diff --git a/indra/newview/bdfloateranimator.cpp b/indra/newview/bdfloateranimator.cpp index 2c609bd34b8..e74aceec05a 100644 --- a/indra/newview/bdfloateranimator.cpp +++ b/indra/newview/bdfloateranimator.cpp @@ -1718,7 +1718,7 @@ void BDFloaterAnimator::onKeyTimeMoved() // check to see if a key exists BDPoseKey key = mSliderToKey[cur_sldr].keyframe; - //LL_DEBUGS() << "Setting key time: " << time24 << LL_ENDL; + //// _LL_DEBUGS() << "Setting key time: " << time24 << LL_ENDL; mSliderToKey[cur_sldr].time = time24; // if it exists, turn on check box @@ -1742,7 +1742,7 @@ void BDFloaterAnimator::onKeyTimeChanged() F32 time = mKeySlider->getCurSliderValue() / 60; // now set the key's time in the sliderToKey map - //LL_DEBUGS() << "Setting key time: " << time << LL_ENDL; + //// _LL_DEBUGS() << "Setting key time: " << time << LL_ENDL; mSliderToKey[cur_sldr].time = time; //applyTrack(); diff --git a/indra/newview/bdfloaterposer.cpp b/indra/newview/bdfloaterposer.cpp index 4b6d19db98b..12f55f43d19 100644 --- a/indra/newview/bdfloaterposer.cpp +++ b/indra/newview/bdfloaterposer.cpp @@ -2274,7 +2274,7 @@ void BDFloaterPoser::onKeyTimeMoved() // check to see if a key exists BDPoseKey key = mSliderToKey[cur_sldr].keyframe; - //LL_DEBUGS() << "Setting key time: " << time24 << LL_ENDL; + //// _LL_DEBUGS() << "Setting key time: " << time24 << LL_ENDL; mSliderToKey[cur_sldr].time = time24; // if it exists, turn on check box @@ -2298,7 +2298,7 @@ void BDFloaterPoser::onKeyTimeChanged() F32 time = mKeySlider->getCurSliderValue() / 60; // now set the key's time in the sliderToKey map - //LL_DEBUGS() << "Setting key time: " << time << LL_ENDL; + //// _LL_DEBUGS() << "Setting key time: " << time << LL_ENDL; mSliderToKey[cur_sldr].time = time; //applyTrack(); diff --git a/indra/newview/bdfunctions.cpp b/indra/newview/bdfunctions.cpp index 42b1613d16d..7a8c608a14d 100644 --- a/indra/newview/bdfunctions.cpp +++ b/indra/newview/bdfunctions.cpp @@ -743,7 +743,7 @@ bool BDFunctions::doLoadPreset(const std::string& path) return false; } - LL_DEBUGS("AppInit", "Shaders") << "Loading preset: " << name << LL_ENDL; + // _LL_DEBUGS("AppInit", "Shaders") << "Loading preset: " << name << LL_ENDL; LLSD params_data; LLPointer<LLSDParser> parser = new LLSDXMLParser(); diff --git a/indra/newview/llaccountingcostmanager.cpp b/indra/newview/llaccountingcostmanager.cpp index e09527a34b5..8b02fac3697 100644 --- a/indra/newview/llaccountingcostmanager.cpp +++ b/indra/newview/llaccountingcostmanager.cpp @@ -48,8 +48,8 @@ LLAccountingCostManager::LLAccountingCostManager() void LLAccountingCostManager::accountingCostCoro(std::string url, eSelectionType selectionType, const LLHandle<LLAccountingCostObserver> observerHandle) { - LL_DEBUGS("LLAccountingCostManager") << "Entering coroutine " << LLCoros::getName() - << " with url '" << url << LL_ENDL; + /*// _LL_DEBUGS("LLAccountingCostManager") << "Entering coroutine " << LLCoros::getName() + << " with url '" << url << LL_ENDL;*/ LLCore::HttpRequest::policy_t httpPolicy(LLCore::HttpRequest::DEFAULT_POLICY_ID); LLCoreHttpUtil::HttpCoroutineAdapter::ptr_t @@ -177,7 +177,7 @@ void LLAccountingCostManager::fetchCosts( eSelectionType selectionType, std::string coroname = LLCoros::instance().launch("LLAccountingCostManager::accountingCostCoro", boost::bind(&LLAccountingCostManager::accountingCostCoro, this, url, selectionType, observer_handle)); - LL_DEBUGS() << coroname << " with url '" << url << LL_ENDL; + // _LL_DEBUGS() << coroname << " with url '" << url << LL_ENDL; } else diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index 340a4614ef6..a03d71b8a33 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -916,7 +916,7 @@ void LLAgent::standUp() void LLAgent::changeParcels() { - LL_DEBUGS("AgentLocation") << "Calling ParcelChanged callbacks" << LL_ENDL; + // _LL_DEBUGS("AgentLocation") << "Calling ParcelChanged callbacks" << LL_ENDL; // Notify anything that wants to know about parcel changes mParcelChangedSignal(); } @@ -1022,7 +1022,7 @@ void LLAgent::setRegion(LLViewerRegion *regionp) LLFloaterMove::sUpdateMovementStatus(); // [/RLVa:KB] - LL_DEBUGS("AgentLocation") << "Calling RegionChanged callbacks" << LL_ENDL; + // _LL_DEBUGS("AgentLocation") << "Calling RegionChanged callbacks" << LL_ENDL; mRegionChangedSignal(); } @@ -1111,12 +1111,12 @@ void LLAgent::sendReliableMessage() { if (gDisconnected) { - LL_DEBUGS() << "Trying to send message when disconnected!" << LL_ENDL; + // _LL_DEBUGS() << "Trying to send message when disconnected!" << LL_ENDL; return; } if (!mRegionp) { - LL_DEBUGS() << "LLAgent::sendReliableMessage No region for agent yet, not sending message!" << LL_ENDL; + // _LL_DEBUGS() << "LLAgent::sendReliableMessage No region for agent yet, not sending message!" << LL_ENDL; return; } gMessageSystem->sendReliable(mRegionp->getHost()); @@ -4444,7 +4444,7 @@ void LLAgent::setTeleportState(ETeleportState state) " for previously failed teleport. Ignore!" << LL_ENDL; return; } - LL_DEBUGS("Teleport") << "Setting teleport state to " << state << " Previous state: " << mTeleportState << LL_ENDL; + // _LL_DEBUGS("Teleport") << "Setting teleport state to " << state << " Previous state: " << mTeleportState << LL_ENDL; mTeleportState = state; if (mTeleportState > TELEPORT_NONE && gSavedSettings.getBOOL("FreezeTime")) { @@ -4478,7 +4478,7 @@ void LLAgent::setTeleportState(ETeleportState state) void LLAgent::stopCurrentAnimations() { - LL_DEBUGS("Avatar") << "Stopping current animations" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "Stopping current animations" << LL_ENDL; // This function stops all current overriding animations on this // avatar, propagating this change back to the server. @@ -4497,7 +4497,7 @@ void LLAgent::stopCurrentAnimations() // don't cancel a ground-sit anim, as viewers // use this animation's status in // determining whether we're sitting. ick. - LL_DEBUGS("Avatar") << "sit or do-not-disturb animation will not be stopped" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "sit or do-not-disturb animation will not be stopped" << LL_ENDL; } else { diff --git a/indra/newview/llagentbenefits.cpp b/indra/newview/llagentbenefits.cpp index 2d219735a09..0c98f3081b0 100644 --- a/indra/newview/llagentbenefits.cpp +++ b/indra/newview/llagentbenefits.cpp @@ -60,7 +60,7 @@ bool get_required_S32(const LLSD& sd, const LLSD::String& key, S32& value) bool LLAgentBenefits::init(const LLSD& benefits_sd) { - LL_DEBUGS("Benefits") << "initializing benefits from " << benefits_sd << LL_ENDL; + // _LL_DEBUGS("Benefits") << "initializing benefits from " << benefits_sd << LL_ENDL; if (!get_required_S32(benefits_sd, "animated_object_limit", m_animated_object_limit)) { diff --git a/indra/newview/llagentpilot.cpp b/indra/newview/llagentpilot.cpp index 356976c67bc..8383757be09 100644 --- a/indra/newview/llagentpilot.cpp +++ b/indra/newview/llagentpilot.cpp @@ -72,7 +72,7 @@ void LLAgentPilot::load() } else { - LL_DEBUGS() << "no autopilot file found" << LL_ENDL; + // _LL_DEBUGS() << "no autopilot file found" << LL_ENDL; return; } } @@ -88,8 +88,8 @@ void LLAgentPilot::loadTxt(const std::string& filename) if (!file) { - LL_DEBUGS() << "Couldn't open " << filename - << ", aborting agentpilot load!" << LL_ENDL; + /*// _LL_DEBUGS() << "Couldn't open " << filename + << ", aborting agentpilot load!" << LL_ENDL;*/ return; } else @@ -129,8 +129,8 @@ void LLAgentPilot::loadXML(const std::string& filename) if (!file) { - LL_DEBUGS() << "Couldn't open " << filename - << ", aborting agentpilot load!" << LL_ENDL; + /*// _LL_DEBUGS() << "Couldn't open " << filename + << ", aborting agentpilot load!" << LL_ENDL;*/ return; } else diff --git a/indra/newview/llagentwearables.cpp b/indra/newview/llagentwearables.cpp index 1407c069cf6..8c87a09b810 100644 --- a/indra/newview/llagentwearables.cpp +++ b/indra/newview/llagentwearables.cpp @@ -856,7 +856,7 @@ void LLAgentWearables::createStandardWearables() // remove this function once the SH-3455 changesets are universally deployed. void LLAgentWearables::sendDummyAgentWearablesUpdate() { - LL_DEBUGS("Avatar") << "sendAgentWearablesUpdate()" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "sendAgentWearablesUpdate()" << LL_ENDL; // Send the AgentIsNowWearing gMessageSystem->newMessageFast(_PREHASH_AgentIsNowWearing); @@ -1057,9 +1057,9 @@ void LLAgentWearables::setWearableOutfit(const LLInventoryItem::item_array_t& it if (!new_wearable || !curr_wearable || new_wearable->getAssetID() != curr_wearable->getAssetID()) { - LL_DEBUGS("Avatar") << "mismatch, type " << type << " index " << index + /*// _LL_DEBUGS("Avatar") << "mismatch, type " << type << " index " << index << " names " << (curr_wearable ? curr_wearable->getName() : "NONE") << "," - << " names " << (new_wearable ? new_wearable->getName() : "NONE") << LL_ENDL; + << " names " << (new_wearable ? new_wearable->getName() : "NONE") << LL_ENDL;*/ mismatched++; continue; } @@ -1070,29 +1070,29 @@ void LLAgentWearables::setWearableOutfit(const LLInventoryItem::item_array_t& it if (curr_wearable->getName() != new_item->getName() || curr_wearable->getItemID() != new_item->getUUID()) { - LL_DEBUGS("Avatar") << "mismatch on name or inventory id, names " + /*// _LL_DEBUGS("Avatar") << "mismatch on name or inventory id, names " << curr_wearable->getName() << " vs " << new_item->getName() << " item ids " << curr_wearable->getItemID() << " vs " << new_item->getUUID() - << LL_ENDL; + << LL_ENDL;*/ update_inventory = TRUE; continue; } // If we got here, everything matches. matched++; } - LL_DEBUGS("Avatar") << "matched " << matched << " mismatched " << mismatched << LL_ENDL; + // _LL_DEBUGS("Avatar") << "matched " << matched << " mismatched " << mismatched << LL_ENDL; for (S32 j=0; j<LLWearableType::WT_COUNT; j++) { LLWearableType::EType type = (LLWearableType::EType) j; if (getWearableCount(type) != type_counts[j]) { - LL_DEBUGS("Avatar") << "count mismatch for type " << j << " current " << getWearableCount(j) << " requested " << type_counts[j] << LL_ENDL; + // _LL_DEBUGS("Avatar") << "count mismatch for type " << j << " current " << getWearableCount(j) << " requested " << type_counts[j] << LL_ENDL; mismatched++; } } if (mismatched == 0 && !update_inventory) { - LL_DEBUGS("Avatar") << "no changes, bailing out" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "no changes, bailing out" << LL_ENDL; notifyLoadingFinished(); return; } @@ -1149,7 +1149,7 @@ void LLAgentWearables::setWearableOutfit(const LLInventoryItem::item_array_t& it if (mismatched == 0) { - LL_DEBUGS("Avatar") << "inventory updated, wearable assets not changed, bailing out" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "inventory updated, wearable assets not changed, bailing out" << LL_ENDL; notifyLoadingFinished(); return; } @@ -1191,7 +1191,7 @@ void LLAgentWearables::setWearableOutfit(const LLInventoryItem::item_array_t& it gAgentAvatarp->dumpAvatarTEs("setWearableOutfit"); - LL_DEBUGS("Avatar") << "setWearableOutfit() end" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "setWearableOutfit() end" << LL_ENDL; } @@ -1218,7 +1218,7 @@ void LLAgentWearables::setWearableOutfit(const LLInventoryItem::item_array_t& it // if ((old_wearable->getAssetID() == new_wearable->getAssetID()) && // (old_item_id == new_item->getUUID())) // { -// LL_DEBUGS() << "No change to wearable asset and item: " << LLWearableType::getTypeName(type) << LL_ENDL; +// // _LL_DEBUGS() << "No change to wearable asset and item: " << LLWearableType::getTypeName(type) << LL_ENDL; // return; // } // @@ -1474,7 +1474,7 @@ void LLAgentWearables::userRemoveMultipleAttachments(llvo_vec_t& objects_to_remo if (objects_to_remove.empty()) return; - LL_DEBUGS("Avatar") << "ATT [ObjectDetach] removing " << objects_to_remove.size() << " objects" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "ATT [ObjectDetach] removing " << objects_to_remove.size() << " objects" << LL_ENDL; gMessageSystem->newMessage("ObjectDetach"); gMessageSystem->nextBlockFast(_PREHASH_AgentData); gMessageSystem->addUUIDFast(_PREHASH_AgentID, gAgent.getID()); @@ -1490,7 +1490,7 @@ void LLAgentWearables::userRemoveMultipleAttachments(llvo_vec_t& objects_to_remo gMessageSystem->addU32Fast(_PREHASH_ObjectLocalID, objectp->getLocalID()); const LLUUID& item_id = objectp->getAttachmentItemID(); LLViewerInventoryItem *item = gInventory.getItem(item_id); - LL_DEBUGS("Avatar") << "ATT removing object, item is " << (item ? item->getName() : "UNKNOWN") << " " << item_id << LL_ENDL; + // _LL_DEBUGS("Avatar") << "ATT removing object, item is " << (item ? item->getName() : "UNKNOWN") << " " << item_id << LL_ENDL; LLAttachmentsMgr::instance().onDetachRequested(item_id); } gMessageSystem->sendReliable(gAgent.getRegionHost()); @@ -1502,7 +1502,7 @@ void LLAgentWearables::userAttachMultipleAttachments(LLInventoryModel::item_arra S32 obj_count = obj_item_array.size(); if (obj_count > 0) { - LL_DEBUGS("Avatar") << "ATT attaching multiple, total obj_count " << obj_count << LL_ENDL; + // _LL_DEBUGS("Avatar") << "ATT attaching multiple, total obj_count " << obj_count << LL_ENDL; } for(LLInventoryModel::item_array_t::const_iterator it = obj_item_array.begin(); diff --git a/indra/newview/llaisapi.cpp b/indra/newview/llaisapi.cpp index 0adc7a703a3..0d521f1e520 100644 --- a/indra/newview/llaisapi.cpp +++ b/indra/newview/llaisapi.cpp @@ -96,7 +96,7 @@ void AISAPI::CreateInventory(const LLUUID& parentId, const LLSD& newInventory, c tid.generate(); std::string url = cap + std::string("/category/") + parentId.asString() + "?tid=" + tid.asString(); - LL_DEBUGS("Inventory") << "url: " << url << LL_ENDL; + // _LL_DEBUGS("Inventory") << "url: " << url << LL_ENDL; // I may be suffering from golden hammer here, but the first part of this bind // is actually a static cast for &HttpCoroutineAdapter::postAndSuspend so that @@ -170,7 +170,7 @@ void AISAPI::RemoveCategory(const LLUUID &categoryId, completion_t callback) } std::string url = cap + std::string("/category/") + categoryId.asString(); - LL_DEBUGS("Inventory") << "url: " << url << LL_ENDL; + // _LL_DEBUGS("Inventory") << "url: " << url << LL_ENDL; invokationFn_t delFn = boost::bind( // Humans ignore next line. It is just a cast to specify which LLCoreHttpUtil::HttpCoroutineAdapter routine overload. @@ -203,7 +203,7 @@ void AISAPI::RemoveItem(const LLUUID &itemId, completion_t callback) } std::string url = cap + std::string("/item/") + itemId.asString(); - LL_DEBUGS("Inventory") << "url: " << url << LL_ENDL; + // _LL_DEBUGS("Inventory") << "url: " << url << LL_ENDL; invokationFn_t delFn = boost::bind( // Humans ignore next line. It is just a cast to specify which LLCoreHttpUtil::HttpCoroutineAdapter routine overload. @@ -234,7 +234,7 @@ void AISAPI::CopyLibraryCategory(const LLUUID& sourceId, const LLUUID& destId, b return; } - LL_DEBUGS("Inventory") << "Copying library category: " << sourceId << " => " << destId << LL_ENDL; + // _LL_DEBUGS("Inventory") << "Copying library category: " << sourceId << " => " << destId << LL_ENDL; LLUUID tid; tid.generate(); @@ -279,7 +279,7 @@ void AISAPI::PurgeDescendents(const LLUUID &categoryId, completion_t callback) } std::string url = cap + std::string("/category/") + categoryId.asString() + "/children"; - LL_DEBUGS("Inventory") << "url: " << url << LL_ENDL; + // _LL_DEBUGS("Inventory") << "url: " << url << LL_ENDL; invokationFn_t delFn = boost::bind( // Humans ignore next line. It is just a cast to specify which LLCoreHttpUtil::HttpCoroutineAdapter routine overload. @@ -382,7 +382,7 @@ void AISAPI::InvokeAISCommandCoro(LLCoreHttpUtil::HttpCoroutineAdapter::ptr_t ht httpOptions->setTimeout(LLCoreHttpUtil::HTTP_REQUEST_EXPIRY_SECS); - LL_DEBUGS("Inventory") << "url: " << url << LL_ENDL; + // _LL_DEBUGS("Inventory") << "url: " << url << LL_ENDL; LLSD result = invoke(httpAdapter, httpRequest, url, body, httpOptions, httpHeaders); LLSD httpResults = result[LLCoreHttpUtil::HttpCoroutineAdapter::HTTP_RESULTS]; @@ -671,7 +671,7 @@ void AISUpdate::parseLink(const LLSD& link_map) new_link->setPermissions(default_perms); LLSaleInfo default_sale_info; new_link->setSaleInfo(default_sale_info); - //LL_DEBUGS("Inventory") << "creating link from llsd: " << ll_pretty_print_sd(link_map) << LL_ENDL; + //// _LL_DEBUGS("Inventory") << "creating link from llsd: " << ll_pretty_print_sd(link_map) << LL_ENDL; mItemsCreated[item_id] = new_link; mCatDescendentDeltas[parent_id]++; } @@ -710,7 +710,7 @@ void AISUpdate::parseCategory(const LLSD& category_map) } else { - LL_DEBUGS() << "No owner provided, folder might be assigned wrong owner" << LL_ENDL; + // _LL_DEBUGS() << "No owner provided, folder might be assigned wrong owner" << LL_ENDL; new_cat = new LLViewerInventoryCategory(LLUUID::null); } } @@ -738,16 +738,16 @@ void AISUpdate::parseCategory(const LLSD& category_map) if (category_map.has("version")) { S32 version = category_map["version"].asInteger(); - LL_DEBUGS("Inventory") << "Setting version to " << version - << " for new category " << category_id << LL_ENDL; + /*// _LL_DEBUGS("Inventory") << "Setting version to " << version + << " for new category " << category_id << LL_ENDL;*/ new_cat->setVersion(version); } uuid_int_map_t::const_iterator lookup_it = mCatDescendentsKnown.find(category_id); if (mCatDescendentsKnown.end() != lookup_it) { S32 descendent_count = lookup_it->second; - LL_DEBUGS("Inventory") << "Setting descendents count to " << descendent_count - << " for new category " << category_id << LL_ENDL; + /*// _LL_DEBUGS("Inventory") << "Setting descendents count to " << descendent_count + << " for new category " << category_id << LL_ENDL;*/ new_cat->setDescendentCount(descendent_count); } mCategoriesCreated[category_id] = new_cat; @@ -827,7 +827,7 @@ void AISUpdate::parseEmbeddedLinks(const LLSD& links) const LLSD& link_map = (*linkit).second; if (mItemIds.end() == mItemIds.find(link_id)) { - LL_DEBUGS("Inventory") << "Ignoring link not in items list " << link_id << LL_ENDL; + // _LL_DEBUGS("Inventory") << "Ignoring link not in items list " << link_id << LL_ENDL; } else { @@ -859,7 +859,7 @@ void AISUpdate::parseEmbeddedItems(const LLSD& items) const LLSD& item_map = (*itemit).second; if (mItemIds.end() == mItemIds.find(item_id)) { - LL_DEBUGS("Inventory") << "Ignoring item not in items list " << item_id << LL_ENDL; + // _LL_DEBUGS("Inventory") << "Ignoring item not in items list " << item_id << LL_ENDL; } else { @@ -891,7 +891,7 @@ void AISUpdate::parseEmbeddedCategories(const LLSD& categories) const LLSD& category_map = (*categoryit).second; if (mCategoryIds.end() == mCategoryIds.find(category_id)) { - LL_DEBUGS("Inventory") << "Ignoring category not in categories list " << category_id << LL_ENDL; + // _LL_DEBUGS("Inventory") << "Ignoring category not in categories list " << category_id << LL_ENDL; } else { @@ -906,20 +906,20 @@ void AISUpdate::doUpdate() for (std::map<LLUUID,S32>::const_iterator catit = mCatDescendentDeltas.begin(); catit != mCatDescendentDeltas.end(); ++catit) { - LL_DEBUGS("Inventory") << "descendant accounting for " << catit->first << LL_ENDL; + // _LL_DEBUGS("Inventory") << "descendant accounting for " << catit->first << LL_ENDL; const LLUUID cat_id(catit->first); // Don't account for update if we just created this category. if (mCategoriesCreated.find(cat_id) != mCategoriesCreated.end()) { - LL_DEBUGS("Inventory") << "Skipping version increment for new category " << cat_id << LL_ENDL; + // _LL_DEBUGS("Inventory") << "Skipping version increment for new category " << cat_id << LL_ENDL; continue; } // Don't account for update unless AIS told us it updated that category. if (mCatVersionsUpdated.find(cat_id) == mCatVersionsUpdated.end()) { - LL_DEBUGS("Inventory") << "Skipping version increment for non-updated category " << cat_id << LL_ENDL; + // _LL_DEBUGS("Inventory") << "Skipping version increment for non-updated category " << cat_id << LL_ENDL; continue; } @@ -929,16 +929,16 @@ void AISUpdate::doUpdate() { S32 descendent_delta = catit->second; S32 old_count = cat->getDescendentCount(); - LL_DEBUGS("Inventory") << "Updating descendant count for " + /*// _LL_DEBUGS("Inventory") << "Updating descendant count for " << cat->getName() << " " << cat_id << " with delta " << descendent_delta << " from " - << old_count << " to " << (old_count+descendent_delta) << LL_ENDL; + << old_count << " to " << (old_count+descendent_delta) << LL_ENDL;*/ LLInventoryModel::LLCategoryUpdate up(cat_id, descendent_delta); gInventory.accountForUpdate(up); } else { - LL_DEBUGS("Inventory") << "Skipping version accounting for unknown category " << cat_id << LL_ENDL; + // _LL_DEBUGS("Inventory") << "Skipping version accounting for unknown category " << cat_id << LL_ENDL; } } @@ -950,7 +950,7 @@ void AISUpdate::doUpdate() LLPointer<LLViewerInventoryCategory> new_category = create_it->second; gInventory.updateCategory(new_category, LLInventoryObserver::CREATE); - LL_DEBUGS("Inventory") << "created category " << category_id << LL_ENDL; + // _LL_DEBUGS("Inventory") << "created category " << category_id << LL_ENDL; } // UPDATE CATEGORIES @@ -971,7 +971,7 @@ void AISUpdate::doUpdate() new_category->setVersion(curr_cat->getVersion()); new_category->setDescendentCount(curr_cat->getDescendentCount()); gInventory.updateCategory(new_category); - LL_DEBUGS("Inventory") << "updated category " << new_category->getName() << " " << category_id << LL_ENDL; + // _LL_DEBUGS("Inventory") << "updated category " << new_category->getName() << " " << category_id << LL_ENDL; } } @@ -985,7 +985,7 @@ void AISUpdate::doUpdate() // FIXME risky function since it calls updateServer() in some // cases. Maybe break out the update/create cases, in which // case this is create. - LL_DEBUGS("Inventory") << "created item " << item_id << LL_ENDL; + // _LL_DEBUGS("Inventory") << "created item " << item_id << LL_ENDL; gInventory.updateItem(new_item, LLInventoryObserver::CREATE); } @@ -998,8 +998,8 @@ void AISUpdate::doUpdate() // FIXME risky function since it calls updateServer() in some // cases. Maybe break out the update/create cases, in which // case this is update. - LL_DEBUGS("Inventory") << "updated item " << item_id << LL_ENDL; - //LL_DEBUGS("Inventory") << ll_pretty_print_sd(new_item->asLLSD()) << LL_ENDL; + // _LL_DEBUGS("Inventory") << "updated item " << item_id << LL_ENDL; + //// _LL_DEBUGS("Inventory") << ll_pretty_print_sd(new_item->asLLSD()) << LL_ENDL; gInventory.updateItem(new_item); } @@ -1007,7 +1007,7 @@ void AISUpdate::doUpdate() for (uuid_list_t::const_iterator del_it = mObjectsDeletedIds.begin(); del_it != mObjectsDeletedIds.end(); ++del_it) { - LL_DEBUGS("Inventory") << "deleted item " << *del_it << LL_ENDL; + // _LL_DEBUGS("Inventory") << "deleted item " << *del_it << LL_ENDL; gInventory.onObjectDeletedFromServer(*del_it, false, false, false); } @@ -1020,7 +1020,7 @@ void AISUpdate::doUpdate() const LLUUID id = ucv_it->first; S32 version = ucv_it->second; LLViewerInventoryCategory *cat = gInventory.getCategory(id); - LL_DEBUGS("Inventory") << "cat version update " << cat->getName() << " to version " << cat->getVersion() << LL_ENDL; + // _LL_DEBUGS("Inventory") << "cat version update " << cat->getName() << " to version " << cat->getVersion() << LL_ENDL; if (cat->getVersion() != version) { LL_WARNS() << "Possible version mismatch for category " << cat->getName() diff --git a/indra/newview/llappcorehttp.cpp b/indra/newview/llappcorehttp.cpp index dd3ae0efd27..c0749a4a86d 100644 --- a/indra/newview/llappcorehttp.cpp +++ b/indra/newview/llappcorehttp.cpp @@ -160,7 +160,7 @@ void LLAppCoreHttp::init() std::string ca_file = gDirUtilp->getCAFile(); if ( LLFile::isfile(ca_file) ) { - LL_DEBUGS("Init") << "Setting CA File to " << ca_file << LL_ENDL; + // _LL_DEBUGS("Init") << "Setting CA File to " << ca_file << LL_ENDL; status = LLCore::HttpRequest::setStaticPolicyOption(LLCore::HttpRequest::PO_CA_FILE, LLCore::HttpRequest::GLOBAL_POLICY_ID, ca_file, NULL); @@ -440,9 +440,9 @@ void LLAppCoreHttp::refreshSettings(bool initial) } else { - LL_DEBUGS("Init") << "Changed " << init_data[i].mUsage + /*// _LL_DEBUGS("Init") << "Changed " << init_data[i].mUsage << " pipelining. New value: " << new_depth - << LL_ENDL; + << LL_ENDL;*/ mHttpClasses[app_policy].mPipelined = to_pipeline; } } @@ -503,9 +503,9 @@ void LLAppCoreHttp::refreshSettings(bool initial) } else { - LL_DEBUGS("Init") << "Changed " << init_data[i].mUsage + /*// _LL_DEBUGS("Init") << "Changed " << init_data[i].mUsage << " concurrency. New value: " << setting - << LL_ENDL; + << LL_ENDL;*/ mHttpClasses[app_policy].mConnLimit = setting; if (initial && setting != init_data[i].mDefault) { diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp index 03dcd4a1180..61487850fbd 100644 --- a/indra/newview/llappearancemgr.cpp +++ b/indra/newview/llappearancemgr.cpp @@ -246,10 +246,10 @@ class LLCallAfterInventoryBatchMgr: public LLEventTimer // Request or re-request operation for specified item. void addItem(const LLUUID& item_id) { - LL_DEBUGS("Avatar") << "item_id " << item_id << LL_ENDL; + // _LL_DEBUGS("Avatar") << "item_id " << item_id << LL_ENDL; if (!requestOperation(item_id)) { - LL_DEBUGS("Avatar") << "item_id " << item_id << " requestOperation false, skipping" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "item_id " << item_id << " requestOperation false, skipping" << LL_ENDL; return; } @@ -279,7 +279,7 @@ class LLCallAfterInventoryBatchMgr: public LLEventTimer } mPendingRequests--; F32 elapsed = timestamp.getElapsedTimeF32(); - LL_DEBUGS("Avatar") << "op done, src_id " << src_id << " dst_id " << dst_id << " after " << elapsed << " seconds" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "op done, src_id " << src_id << " dst_id " << dst_id << " after " << elapsed << " seconds" << LL_ENDL; if (mWaitTimes.find(src_id) == mWaitTimes.end()) { // No longer waiting for this item - either serviced @@ -359,8 +359,8 @@ class LLCallAfterInventoryBatchMgr: public LLEventTimer { if (retries < mMaxRetries) { - LL_DEBUGS("Avatar") << "Waited " << time_waited << - " for " << curr_it->first << ", retrying" << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "Waited " << time_waited << + " for " << curr_it->first << ", retrying" << LL_ENDL;*/ mRetryCount++; addItem(curr_it->first); } @@ -383,16 +383,16 @@ class LLCallAfterInventoryBatchMgr: public LLEventTimer void reportStats() { - LL_DEBUGS("Avatar") << "Phase: " << mTrackingPhase << LL_ENDL; - LL_DEBUGS("Avatar") << "mFailCount: " << mFailCount << LL_ENDL; - LL_DEBUGS("Avatar") << "mRetryCount: " << mRetryCount << LL_ENDL; - LL_DEBUGS("Avatar") << "Times: n " << mTimeStats.getCount() << " min " << mTimeStats.getMinValue() << " max " << mTimeStats.getMaxValue() << LL_ENDL; - LL_DEBUGS("Avatar") << "Mean " << mTimeStats.getMean() << " stddev " << mTimeStats.getStdDev() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "Phase: " << mTrackingPhase << LL_ENDL; + // _LL_DEBUGS("Avatar") << "mFailCount: " << mFailCount << LL_ENDL; + // _LL_DEBUGS("Avatar") << "mRetryCount: " << mRetryCount << LL_ENDL; + // _LL_DEBUGS("Avatar") << "Times: n " << mTimeStats.getCount() << " min " << mTimeStats.getMinValue() << " max " << mTimeStats.getMaxValue() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "Mean " << mTimeStats.getMean() << " stddev " << mTimeStats.getStdDev() << LL_ENDL; } virtual ~LLCallAfterInventoryBatchMgr() { - LL_DEBUGS("Avatar") << "deleting" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "deleting" << LL_ENDL; } protected: @@ -437,10 +437,10 @@ class LLCallAfterInventoryCopyMgr: public LLCallAfterInventoryBatchMgr { LLViewerInventoryItem *item = gInventory.getItem(item_id); llassert(item); - LL_DEBUGS("Avatar") << "copying item " << item_id << LL_ENDL; + // _LL_DEBUGS("Avatar") << "copying item " << item_id << LL_ENDL; if (ll_frand() < gSavedSettings.getF32("InventoryDebugSimulateOpFailureRate")) { - LL_DEBUGS("Avatar") << "simulating failure by not sending request for item " << item_id << LL_ENDL; + // _LL_DEBUGS("Avatar") << "simulating failure by not sending request for item " << item_id << LL_ENDL; return true; } copy_inventory_item( @@ -528,7 +528,7 @@ void LLUpdateAppearanceOnDestroy::fire(const LLUUID& inv_item) LLViewerInventoryItem* item = (LLViewerInventoryItem*)gInventory.getItem(inv_item); const std::string item_name = item ? item->getName() : "ITEM NOT FOUND"; #ifndef LL_RELEASE_FOR_DOWNLOAD - LL_DEBUGS("Avatar") << self_av_string() << "callback fired [ name:" << item_name << " UUID:" << inv_item << " count:" << mFireCount << " ] " << LL_ENDL; + // _LL_DEBUGS("Avatar") << self_av_string() << "callback fired [ name:" << item_name << " UUID:" << inv_item << " count:" << mFireCount << " ] " << LL_ENDL; #endif mFireCount++; } @@ -555,7 +555,7 @@ LLUpdateAppearanceAndEditWearableOnDestroy::LLUpdateAppearanceAndEditWearableOnD LLRequestServerAppearanceUpdateOnDestroy::~LLRequestServerAppearanceUpdateOnDestroy() { - LL_DEBUGS("Avatar") << "ATT requesting server appearance update" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "ATT requesting server appearance update" << LL_ENDL; if (!LLApp::isExiting()) { LLAppearanceMgr::instance().requestServerAppearanceUpdate(); @@ -706,7 +706,7 @@ LLWearableHoldingPattern::LLWearableHoldingPattern(): } mIndex = sNextIndex++; sActiveHoldingPatterns.insert(this); - LL_DEBUGS("Avatar") << "HP " << index() << " created" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "HP " << index() << " created" << LL_ENDL; selfStartPhase("holding_pattern"); } @@ -717,7 +717,7 @@ LLWearableHoldingPattern::~LLWearableHoldingPattern() { selfStopPhase("holding_pattern"); } - LL_DEBUGS("Avatar") << "HP " << index() << " deleted" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "HP " << index() << " deleted" << LL_ENDL; } bool LLWearableHoldingPattern::isMostRecent() @@ -833,7 +833,7 @@ void LLWearableHoldingPattern::onAllComplete() // Activate all gestures in this folder if (mGestItems.size() > 0) { - LL_DEBUGS("Avatar") << self_av_string() << "Activating " << mGestItems.size() << " gestures" << LL_ENDL; + // _LL_DEBUGS("Avatar") << self_av_string() << "Activating " << mGestItems.size() << " gestures" << LL_ENDL; LLGestureMgr::instance().activateGestures(mGestItems); @@ -851,7 +851,7 @@ void LLWearableHoldingPattern::onAllComplete() if (isAgentAvatarValid()) { -// LL_DEBUGS("Avatar") << self_av_string() << "Updating " << mObjItems.size() << " attachments" << LL_ENDL; +// // _LL_DEBUGS("Avatar") << self_av_string() << "Updating " << mObjItems.size() << " attachments" << LL_ENDL; // LLAgentWearables::llvo_vec_t objects_to_remove; // LLAgentWearables::llvo_vec_t objects_to_retain; // LLInventoryModel::item_array_t items_to_add; @@ -861,7 +861,7 @@ void LLWearableHoldingPattern::onAllComplete() // objects_to_retain, // items_to_add); // -// LL_DEBUGS("Avatar") << self_av_string() << "Removing " << objects_to_remove.size() +// // _LL_DEBUGS("Avatar") << self_av_string() << "Removing " << objects_to_remove.size() // << " attachments" << LL_ENDL; // // // Here we remove the attachment pos overrides for *all* @@ -872,7 +872,7 @@ void LLWearableHoldingPattern::onAllComplete() // // if (objects_to_remove.size() || items_to_add.size()) // { -// LL_DEBUGS("Avatar") << "ATT will remove " << objects_to_remove.size() +// // _LL_DEBUGS("Avatar") << "ATT will remove " << objects_to_remove.size() // << " and add " << items_to_add.size() << " items" << LL_ENDL; // } // @@ -898,7 +898,7 @@ void LLWearableHoldingPattern::onAllComplete() // } // // // Add new attachments to match those requested. -// LL_DEBUGS("Avatar") << self_av_string() << "Adding " << items_to_add.size() << " attachments" << LL_ENDL; +// // _LL_DEBUGS("Avatar") << self_av_string() << "Adding " << items_to_add.size() << " attachments" << LL_ENDL; // LLAgentWearables::userAttachMultipleAttachments(items_to_add); } @@ -1020,7 +1020,7 @@ void recovered_item_cb(const LLUUID& item_id, LLWearableType::EType type, LLView // [/SL:KB] } - LL_DEBUGS("Avatar") << self_av_string() << "Recovered item for type " << type << LL_ENDL; + // _LL_DEBUGS("Avatar") << self_av_string() << "Recovered item for type " << type << LL_ENDL; LLConstPointer<LLInventoryObject> itemp = gInventory.getItem(item_id); wearable->setItemID(item_id); holder->eraseTypeToRecover(type); @@ -1043,8 +1043,8 @@ void LLWearableHoldingPattern::recoverMissingWearable(LLWearableType::EType type // Try to recover by replacing missing wearable with a new one. LLNotificationsUtil::add("ReplacedMissingWearable"); - LL_DEBUGS() << "Wearable " << LLWearableType::getTypeLabel(type) - << " could not be downloaded. Replaced inventory item with default wearable." << LL_ENDL; + /*// _LL_DEBUGS() << "Wearable " << LLWearableType::getTypeLabel(type) + << " could not be downloaded. Replaced inventory item with default wearable." << LL_ENDL;*/ LLViewerWearable* wearable = LLWearableList::instance().createNewWearable(type, gAgentAvatarp); // Add a new one in the lost and found folder. @@ -1245,7 +1245,7 @@ void LLWearableHoldingPattern::onWearableAssetFetch(LLViewerWearable *wearable) } mResolved += 1; // just counting callbacks, not successes. - LL_DEBUGS("Avatar") << self_av_string() << "HP " << index() << " resolved " << mResolved << "/" << getFoundList().size() << LL_ENDL; + // _LL_DEBUGS("Avatar") << self_av_string() << "HP " << index() << " resolved " << mResolved << "/" << getFoundList().size() << LL_ENDL; if (!wearable) { LL_WARNS() << self_av_string() << "no wearable found" << LL_ENDL; @@ -1501,21 +1501,21 @@ void LLAppearanceMgr::wearItemsOnAvatar(const uuid_vec_t& item_ids_to_wear, if (item_id_to_wear.isNull()) { - LL_DEBUGS("Avatar") << "null id " << item_id_to_wear << LL_ENDL; + // _LL_DEBUGS("Avatar") << "null id " << item_id_to_wear << LL_ENDL; continue; } LLViewerInventoryItem* item_to_wear = gInventory.getItem(item_id_to_wear); if (!item_to_wear) { - LL_DEBUGS("Avatar") << "inventory item not found for id " << item_id_to_wear << LL_ENDL; + // _LL_DEBUGS("Avatar") << "inventory item not found for id " << item_id_to_wear << LL_ENDL; continue; } if (gInventory.isObjectDescendentOf(item_to_wear->getUUID(), gInventory.getLibraryRootFolderID())) { - LL_DEBUGS("Avatar") << "inventory item in library, will copy and wear " - << item_to_wear->getName() << " id " << item_id_to_wear << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "inventory item in library, will copy and wear " + << item_to_wear->getName() << " id " << item_id_to_wear << LL_ENDL;*/ LLPointer<LLInventoryCallback> cb = new LLBoostFuncInventoryCallback(boost::bind(wear_on_avatar_cb,_1,replace)); copy_inventory_item(gAgent.getID(), item_to_wear->getPermissions().getOwner(), item_to_wear->getUUID(), LLUUID::null, std::string(), cb); @@ -1524,21 +1524,21 @@ void LLAppearanceMgr::wearItemsOnAvatar(const uuid_vec_t& item_ids_to_wear, else if (!gInventory.isObjectDescendentOf(item_to_wear->getUUID(), gInventory.getRootFolderID())) { // not in library and not in agent's inventory - LL_DEBUGS("Avatar") << "inventory item not in user inventory or library, skipping " - << item_to_wear->getName() << " id " << item_id_to_wear << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "inventory item not in user inventory or library, skipping " + << item_to_wear->getName() << " id " << item_id_to_wear << LL_ENDL;*/ continue; } else if (gInventory.isObjectDescendentOf(item_to_wear->getUUID(), gInventory.findCategoryUUIDForType(LLFolderType::FT_TRASH))) { LLNotificationsUtil::add("CannotWearTrash"); - LL_DEBUGS("Avatar") << "inventory item is in trash, skipping " - << item_to_wear->getName() << " id " << item_id_to_wear << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "inventory item is in trash, skipping " + << item_to_wear->getName() << " id " << item_id_to_wear << LL_ENDL;*/ continue; } else if (isLinkedInCOF(item_to_wear->getUUID())) // EXT-84911 { - LL_DEBUGS("Avatar") << "inventory item is already in COF, skipping " - << item_to_wear->getName() << " id " << item_id_to_wear << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "inventory item is already in COF, skipping " + << item_to_wear->getName() << " id " << item_id_to_wear << LL_ENDL;*/ continue; } @@ -1810,7 +1810,7 @@ void LLAppearanceMgr::slamCategoryLinks(const LLUUID& src_id, const LLUUID& dst_ { case LLAssetType::AT_LINK: { - LL_DEBUGS("Avatar") << "linking inventory item " << item->getName() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "linking inventory item " << item->getName() << LL_ENDL; //getActualDescription() is used for a new description //to propagate ordering information saved in descriptions of links LLSD item_contents; @@ -1826,7 +1826,7 @@ void LLAppearanceMgr::slamCategoryLinks(const LLUUID& src_id, const LLUUID& dst_ LLViewerInventoryCategory *catp = item->getLinkedCategory(); if (catp && include_folder_links) { - LL_DEBUGS("Avatar") << "linking inventory folder " << item->getName() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "linking inventory folder " << item->getName() << LL_ENDL; LLSD base_contents; base_contents["name"] = catp->getName(); base_contents["desc"] = ""; // categories don't have descriptions. @@ -1863,7 +1863,7 @@ void LLAppearanceMgr::shallowCopyCategoryContents(const LLUUID& src_id, const LL { case LLAssetType::AT_LINK: { - LL_DEBUGS("Avatar") << "linking inventory item " << item->getName() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "linking inventory item " << item->getName() << LL_ENDL; link_array.push_back(LLConstPointer<LLInventoryObject>(item)); break; } @@ -1873,7 +1873,7 @@ void LLAppearanceMgr::shallowCopyCategoryContents(const LLUUID& src_id, const LL // Skip copying outfit links. if (catp && catp->getPreferredType() != LLFolderType::FT_OUTFIT) { - LL_DEBUGS("Avatar") << "linking inventory folder " << item->getName() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "linking inventory folder " << item->getName() << LL_ENDL; link_array.push_back(LLConstPointer<LLInventoryObject>(item)); } break; @@ -1883,7 +1883,7 @@ void LLAppearanceMgr::shallowCopyCategoryContents(const LLUUID& src_id, const LL case LLAssetType::AT_BODYPART: case LLAssetType::AT_GESTURE: { - LL_DEBUGS("Avatar") << "copying inventory item " << item->getName() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "copying inventory item " << item->getName() << LL_ENDL; copy_inventory_item(gAgent.getID(), item->getPermissions().getOwner(), item->getUUID(), @@ -2326,8 +2326,8 @@ void LLAppearanceMgr::updateCOF(LLInventoryModel::item_array_t& body_items_new, if (desc_iter != desc_map.end()) { desc = desc_iter->second; - LL_DEBUGS("Avatar") << item->getName() << " overriding desc to: " << desc - << " (was: " << item->getActualDescription() << ")" << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << item->getName() << " overriding desc to: " << desc + << " (was: " << item->getActualDescription() << ")" << LL_ENDL;*/ } else { @@ -2361,7 +2361,7 @@ void LLAppearanceMgr::updateCOF(LLInventoryModel::item_array_t& body_items_new, } slam_inventory_folder(getCOF(), contents, link_waiter); - LL_DEBUGS("Avatar") << self_av_string() << "waiting for LLUpdateAppearanceOnDestroy" << LL_ENDL; + // _LL_DEBUGS("Avatar") << self_av_string() << "waiting for LLUpdateAppearanceOnDestroy" << LL_ENDL; } void LLAppearanceMgr::updatePanelOutfitName(const std::string& name) @@ -2393,7 +2393,7 @@ void LLAppearanceMgr::createBaseOutfitLink(const LLUUID& category, LLPointer<LLI void LLAppearanceMgr::updateAgentWearables(LLWearableHoldingPattern* holder) { - LL_DEBUGS("Avatar") << "updateAgentWearables()" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "updateAgentWearables()" << LL_ENDL; LLInventoryItem::item_array_t items; std::vector< LLViewerWearable* > wearables; wearables.reserve(32); @@ -2591,7 +2591,7 @@ void LLAppearanceMgr::updateAppearanceFromCOF(bool enforce_item_restrictions, return; } - LL_DEBUGS("Avatar") << self_av_string() << "starting" << LL_ENDL; + // _LL_DEBUGS("Avatar") << self_av_string() << "starting" << LL_ENDL; if (enforce_item_restrictions) { @@ -2645,7 +2645,7 @@ void LLAppearanceMgr::updateAppearanceFromCOF(bool enforce_item_restrictions, LLUUID current_outfit_id = getCOF(); // Find all the wearables that are in the COF's subtree. - LL_DEBUGS() << "LLAppearanceMgr::updateFromCOF()" << LL_ENDL; + // _LL_DEBUGS() << "LLAppearanceMgr::updateFromCOF()" << LL_ENDL; LLInventoryModel::item_array_t wear_items; LLInventoryModel::item_array_t obj_items; LLInventoryModel::item_array_t gest_items; @@ -2702,7 +2702,7 @@ void LLAppearanceMgr::updateAppearanceFromCOF(bool enforce_item_restrictions, } // (Start of LL code from LLWearableHoldingPattern::onAllComplete()) - LL_DEBUGS("Avatar") << self_av_string() << "Updating " << obj_items.size() << " attachments" << LL_ENDL; + // _LL_DEBUGS("Avatar") << self_av_string() << "Updating " << obj_items.size() << " attachments" << LL_ENDL; LLAgentWearables::llvo_vec_t objects_to_remove; LLAgentWearables::llvo_vec_t objects_to_retain; @@ -2720,7 +2720,7 @@ void LLAppearanceMgr::updateAppearanceFromCOF(bool enforce_item_restrictions, // (but don't remove attachments until avatar is fully loaded - should reduce random attaching/detaching/reattaching at log-on) if (gAgentAvatarp->isFullyLoaded()) { - LL_DEBUGS("Avatar") << self_av_string() << "Removing " << objects_to_remove.size() << " attachments" << LL_ENDL; + // _LL_DEBUGS("Avatar") << self_av_string() << "Removing " << objects_to_remove.size() << " attachments" << LL_ENDL; LLAgentWearables::userRemoveMultipleAttachments(objects_to_remove); } @@ -2736,7 +2736,7 @@ void LLAppearanceMgr::updateAppearanceFromCOF(bool enforce_item_restrictions, } // Add new attachments to match those requested. - LL_DEBUGS("Avatar") << self_av_string() << "Adding " << items_to_add.size() << " attachments" << LL_ENDL; + // _LL_DEBUGS("Avatar") << self_av_string() << "Adding " << items_to_add.size() << " attachments" << LL_ENDL; LLAgentWearables::userAttachMultipleAttachments(items_to_add); // (End of LL code) } @@ -2752,7 +2752,7 @@ void LLAppearanceMgr::updateAppearanceFromCOF(bool enforce_item_restrictions, sortItemsByActualDescription(wear_items); - LL_DEBUGS("Avatar") << "HP block starts" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "HP block starts" << LL_ENDL; LLTimer hp_block_timer; LLWearableHoldingPattern* holder = new LLWearableHoldingPattern; @@ -2828,7 +2828,7 @@ void LLAppearanceMgr::updateAppearanceFromCOF(bool enforce_item_restrictions, { LLFoundData& found = *it; - LL_DEBUGS() << self_av_string() << "waiting for onWearableAssetFetch callback, asset " << found.mAssetID.asString() << LL_ENDL; + // _LL_DEBUGS() << self_av_string() << "waiting for onWearableAssetFetch callback, asset " << found.mAssetID.asString() << LL_ENDL; // Fetch the wearables about to be worn. LLWearableList::instance().getAsset(found.mAssetID, @@ -2847,7 +2847,7 @@ void LLAppearanceMgr::updateAppearanceFromCOF(bool enforce_item_restrictions, } post_update_func(); - LL_DEBUGS("Avatar") << "HP block ends, elapsed " << hp_block_timer.getElapsedTimeF32() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "HP block ends, elapsed " << hp_block_timer.getElapsedTimeF32() << LL_ENDL; } void LLAppearanceMgr::getDescendentsOfAssetType(const LLUUID& category, @@ -3434,7 +3434,7 @@ void LLAppearanceMgr::updateIsDirty() if(outfit_items.size() != cof_items.size()) { - LL_DEBUGS("Avatar") << "item count different - base " << outfit_items.size() << " cof " << cof_items.size() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "item count different - base " << outfit_items.size() << " cof " << cof_items.size() << LL_ENDL; // Current outfit folder should have one more item than the outfit folder. // this one item is the link back to the outfit folder itself. mOutfitIsDirty = true; @@ -3456,19 +3456,19 @@ void LLAppearanceMgr::updateIsDirty() { if (item1->getLinkedUUID() != item2->getLinkedUUID()) { - LL_DEBUGS("Avatar") << "link id different " << LL_ENDL; + // _LL_DEBUGS("Avatar") << "link id different " << LL_ENDL; } else { if (item1->getName() != item2->getName()) { - LL_DEBUGS("Avatar") << "name different " << item1->getName() << " " << item2->getName() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "name different " << item1->getName() << " " << item2->getName() << LL_ENDL; } if (item1->getActualDescription() != item2->getActualDescription()) { - LL_DEBUGS("Avatar") << "desc different " << item1->getActualDescription() + /*// _LL_DEBUGS("Avatar") << "desc different " << item1->getActualDescription() << " " << item2->getActualDescription() - << " names " << item1->getName() << " " << item2->getName() << LL_ENDL; + << " names " << item1->getName() << " " << item2->getName() << LL_ENDL;*/ } } mOutfitIsDirty = true; @@ -3477,7 +3477,7 @@ void LLAppearanceMgr::updateIsDirty() } } llassert(!mOutfitIsDirty); - LL_DEBUGS("Avatar") << "clean" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "clean" << LL_ENDL; } // *HACK: Must match name in Library or agent inventory @@ -3550,7 +3550,7 @@ void LLAppearanceMgr::copyLibraryGestures() } else { - LL_DEBUGS("Avatar") << self_av_string() << "initiating fetch and copy for " << folder_name << " cat_id " << cat_id << LL_ENDL; + // _LL_DEBUGS("Avatar") << self_av_string() << "initiating fetch and copy for " << folder_name << " cat_id " << cat_id << LL_ENDL; callAfterCategoryFetch(cat_id, boost::bind(&LLAppearanceMgr::shallowCopyCategory, &LLAppearanceMgr::instance(), @@ -3656,7 +3656,7 @@ bool LLAppearanceMgr::updateBaseOutfit() const LLUUID base_outfit_id = getBaseOutfitUUID(); if (base_outfit_id.isNull()) return false; - LL_DEBUGS("Avatar") << "saving cof to base outfit " << base_outfit_id << LL_ENDL; + // _LL_DEBUGS("Avatar") << "saving cof to base outfit " << base_outfit_id << LL_ENDL; LLPointer<LLInventoryCallback> cb = new LLBoostFuncInventoryCallback(no_op_inventory_func, update_base_outfit_after_ordering); @@ -3812,8 +3812,8 @@ void LLAppearanceMgr::updateClothingOrderingInfo(LLUUID cat_id, const LLUUID& item_id = it->first; const std::string& new_order_str = it->second; LLViewerInventoryItem *item = gInventory.getItem(item_id); - LL_DEBUGS("Avatar") << item->getName() << " updating desc to: " << new_order_str - << " (was: " << item->getActualDescription() << ")" << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << item->getName() << " updating desc to: " << new_order_str + << " (was: " << item->getActualDescription() << ")" << LL_ENDL;*/ updates["desc"] = new_order_str; update_inventory_item(item_id,updates,cb); } @@ -3981,7 +3981,7 @@ void LLAppearanceMgr::serverAppearanceUpdateCoro(LLCoreHttpUtil::HttpCoroutineAd } // Actually send the request. - LL_DEBUGS("Avatar") << "Will send request for cof_version " << cofVersion << LL_ENDL; + // _LL_DEBUGS("Avatar") << "Will send request for cof_version " << cofVersion << LL_ENDL; bRetry = false; LLCore::HttpRequest::ptr_t httpRequest(new LLCore::HttpRequest()); @@ -4062,7 +4062,7 @@ void LLAppearanceMgr::serverAppearanceUpdateCoro(LLCoreHttpUtil::HttpCoroutineAd } } - LL_DEBUGS("Avatar") << "succeeded" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "succeeded" << LL_ENDL; if (gSavedSettings.getBOOL("DebugAvatarAppearanceMessage")) { dump_sequential_xml(gAgentAvatarp->getFullname() + "_appearance_request_ok", result); @@ -4173,14 +4173,14 @@ void show_created_outfit(LLUUID& folder_id, bool show_panel = true) return; } - LL_DEBUGS("Avatar") << "called" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "called" << LL_ENDL; LLSD key; //EXT-7727. For new accounts inventory callback is created during login process // and may be processed after login process is finished if (show_panel) { - LL_DEBUGS("Avatar") << "showing panel" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "showing panel" << LL_ENDL; LLFloaterSidePanelContainer::showPanel("appearance", "panel_outfits_inventory", key); } @@ -4199,7 +4199,7 @@ void show_created_outfit(LLUUID& folder_id, bool show_panel = true) // link, since, the COF version has changed. There is a race // condition in initial outfit setup which can lead to rez // failures - SH-3860. - LL_DEBUGS("Avatar") << "requesting appearance update after createBaseOutfitLink" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "requesting appearance update after createBaseOutfitLink" << LL_ENDL; LLPointer<LLInventoryCallback> cb = new LLUpdateAppearanceOnDestroy; LLAppearanceMgr::getInstance()->createBaseOutfitLink(folder_id, cb); } @@ -4225,7 +4225,7 @@ void LLAppearanceMgr::makeNewOutfitLinks(const std::string& new_folder_name, boo { if (!isAgentAvatarValid()) return; - LL_DEBUGS("Avatar") << "creating new outfit" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "creating new outfit" << LL_ENDL; gAgentWearables.notifyLoadingStarted(); @@ -4286,7 +4286,7 @@ void LLAppearanceMgr::removeItemsFromAvatar(const uuid_vec_t& ids_to_remove, LLP LLViewerInventoryItem *item = gInventory.getItem(linked_item_id); if (item && item->getType() == LLAssetType::AT_OBJECT) { - LL_DEBUGS("Avatar") << "ATT removing attachment " << item->getName() << " id " << item->getUUID() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "ATT removing attachment " << item->getName() << " id " << item->getUUID() << LL_ENDL; } if (item && item->getType() == LLAssetType::AT_BODYPART) { @@ -4391,7 +4391,7 @@ bool LLAppearanceMgr::moveWearable(LLViewerInventoryItem* item, bool closer_to_b swap_item->setDescription(item->getActualDescription()); item->setDescription(tmp); - // LL_DEBUGS("Inventory") << "swap, item " + // // _LL_DEBUGS("Inventory") << "swap, item " // << ll_pretty_print_sd(item->asLLSD()) // << " swap_item " // << ll_pretty_print_sd(swap_item->asLLSD()) << LL_ENDL; @@ -4464,7 +4464,7 @@ void LLAppearanceMgr::dumpItemArray(const LLInventoryModel::item_array_t& items, { asset_id = linked_item->getAssetUUID(); } - LL_DEBUGS("Avatar") << self_av_string() << msg << " " << i <<" " << (item ? item->getName() : "(nullitem)") << " " << asset_id.asString() << LL_ENDL; + // _LL_DEBUGS("Avatar") << self_av_string() << msg << " " << i <<" " << (item ? item->getName() : "(nullitem)") << " " << asset_id.asString() << LL_ENDL; } } @@ -4498,7 +4498,7 @@ LLAppearanceMgr::~LLAppearanceMgr() void LLAppearanceMgr::setAttachmentInvLinkEnable(bool val) { - LL_DEBUGS("Avatar") << "setAttachmentInvLinkEnable => " << (int) val << LL_ENDL; + // _LL_DEBUGS("Avatar") << "setAttachmentInvLinkEnable => " << (int) val << LL_ENDL; mAttachmentInvLinkEnabled = val; } boost::signals2::connection LLAppearanceMgr::setAttachmentsChangedCallback(attachments_changed_callback_t cb) @@ -4526,8 +4526,8 @@ void dumpAttachmentSet(const std::set<LLUUID>& atts, const std::string& msg) void LLAppearanceMgr::registerAttachment(const LLUUID& item_id) { LLViewerInventoryItem *item = gInventory.getItem(item_id); - LL_DEBUGS("Avatar") << "ATT registering attachment " - << (item ? item->getName() : "UNKNOWN") << " " << item_id << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "ATT registering attachment " + << (item ? item->getName() : "UNKNOWN") << " " << item_id << LL_ENDL;*/ gInventory.addChangedMask(LLInventoryObserver::LABEL, item_id); LLAttachmentsMgr::instance().onAttachmentArrived(item_id); @@ -4538,15 +4538,15 @@ void LLAppearanceMgr::registerAttachment(const LLUUID& item_id) void LLAppearanceMgr::unregisterAttachment(const LLUUID& item_id) { LLViewerInventoryItem *item = gInventory.getItem(item_id); - LL_DEBUGS("Avatar") << "ATT unregistering attachment " - << (item ? item->getName() : "UNKNOWN") << " " << item_id << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "ATT unregistering attachment " + << (item ? item->getName() : "UNKNOWN") << " " << item_id << LL_ENDL;*/ gInventory.addChangedMask(LLInventoryObserver::LABEL, item_id); LLAttachmentsMgr::instance().onDetachCompleted(item_id); if (mAttachmentInvLinkEnabled && isLinkedInCOF(item_id)) { - LL_DEBUGS("Avatar") << "ATT removing COF link for attachment " - << (item ? item->getName() : "UNKNOWN") << " " << item_id << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "ATT removing COF link for attachment " + << (item ? item->getName() : "UNKNOWN") << " " << item_id << LL_ENDL;*/ LLAppearanceMgr::removeCOFItemLinks(item_id); } else diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 0bd26f106dd..833dd32376a 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -1206,7 +1206,7 @@ bool LLAppViewer::init() // Iterate over --leap command-line options. But this is a bit tricky: if // there's only one, it won't be an array at all. LLSD LeapCommand(gSavedSettings.getLLSD("LeapCommand")); - LL_DEBUGS("InitInfo") << "LeapCommand: " << LeapCommand << LL_ENDL; + // _LL_DEBUGS("InitInfo") << "LeapCommand: " << LeapCommand << LL_ENDL; if (LeapCommand.isDefined() && ! LeapCommand.isArray()) { // If LeapCommand is actually a scalar value, make an array of it. @@ -2852,7 +2852,7 @@ bool LLAppViewer::initConfiguration() std::string nextLoginLocation = gSavedSettings.getString( "NextLoginLocation" ); if ( !nextLoginLocation.empty() ) { - LL_DEBUGS("AppInit")<<"set start from NextLoginLocation: "<<nextLoginLocation<<LL_ENDL; + // _LL_DEBUGS("AppInit")<<"set start from NextLoginLocation: "<<nextLoginLocation<<LL_ENDL; LLStartUp::setStartSLURL(LLSLURL(nextLoginLocation)); } else if ( ( clp.hasOption("login") || clp.hasOption("autologin")) @@ -2861,7 +2861,7 @@ bool LLAppViewer::initConfiguration() // If automatic login from command line with --login switch // init StartSLURL location. std::string start_slurl_setting = gSavedSettings.getString("LoginLocation"); - LL_DEBUGS("AppInit") << "start slurl setting '" << start_slurl_setting << "'" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "start slurl setting '" << start_slurl_setting << "'" << LL_ENDL; LLStartUp::setStartSLURL(LLSLURL(start_slurl_setting)); } else @@ -3752,7 +3752,7 @@ void LLAppViewer::handleViewerCrash() #endif char *minidump_file = pApp->getMiniDumpFilename(); - LL_DEBUGS("CRASHREPORT") << "minidump file name " << minidump_file << LL_ENDL; + // _LL_DEBUGS("CRASHREPORT") << "minidump file name " << minidump_file << LL_ENDL; if(minidump_file && minidump_file[0] != 0) { gDebugInfo["Dynamic"]["MinidumpPath"] = minidump_file; @@ -3771,7 +3771,7 @@ void LLAppViewer::handleViewerCrash() { std::string filename; filename = gDirUtilp->getExpandedFilename(LL_PATH_DUMP, "stats.log"); - LL_DEBUGS("CRASHREPORT") << "recording stats " << filename << LL_ENDL; + // _LL_DEBUGS("CRASHREPORT") << "recording stats " << filename << LL_ENDL; llofstream file(filename.c_str(), std::ios_base::binary); if(file.good()) { @@ -3830,11 +3830,11 @@ bool LLAppViewer::markerIsSameVersion(const std::string& marker_name) const { sameVersion = true; } - LL_DEBUGS("MarkerFile") << "Compare markers for '" << marker_name << "': " + /*// _LL_DEBUGS("MarkerFile") << "Compare markers for '" << marker_name << "': " << "\n mine '" << my_version << "'" << "\n marker '" << marker_string << "'" << "\n " << ( sameVersion ? "same" : "different" ) << " version" - << LL_ENDL; + << LL_ENDL;*/ marker_file.close(); } return sameVersion; @@ -3859,7 +3859,7 @@ void LLAppViewer::processMarkerFiles() marker_is_same_version = markerIsSameVersion(mMarkerFileName); // now test to see if this file is locked by a running process (try to open for write) - LL_DEBUGS("MarkerFile") << "Checking exec marker file for lock..." << LL_ENDL; + // _LL_DEBUGS("MarkerFile") << "Checking exec marker file for lock..." << LL_ENDL; mMarkerFile.open(mMarkerFileName, LL_APR_WB); apr_file_t* fMarker = mMarkerFile.getFileHandle() ; if (!fMarker) @@ -3879,7 +3879,7 @@ void LLAppViewer::processMarkerFiles() { // No other instances; we've locked this file now, so record our version; delete on quit. recordMarkerVersion(mMarkerFile); - LL_DEBUGS("MarkerFile") << "Exec marker file existed but was not locked; rewritten." << LL_ENDL; + // _LL_DEBUGS("MarkerFile") << "Exec marker file existed but was not locked; rewritten." << LL_ENDL; } } @@ -3907,11 +3907,11 @@ void LLAppViewer::processMarkerFiles() if (s == APR_SUCCESS && mMarkerFile.getFileHandle()) { - LL_DEBUGS("MarkerFile") << "Exec marker file '"<< mMarkerFileName << "' created." << LL_ENDL; + // _LL_DEBUGS("MarkerFile") << "Exec marker file '"<< mMarkerFileName << "' created." << LL_ENDL; if (APR_SUCCESS == apr_file_lock(mMarkerFile.getFileHandle(), APR_FLOCK_NONBLOCK | APR_FLOCK_EXCLUSIVE)) { recordMarkerVersion(mMarkerFile); - LL_DEBUGS("MarkerFile") << "Exec marker file locked." << LL_ENDL; + // _LL_DEBUGS("MarkerFile") << "Exec marker file locked." << LL_ENDL; } else { @@ -3998,7 +3998,7 @@ void LLAppViewer::removeMarkerFiles() { mMarkerFile.close() ; LLAPRFile::remove( mMarkerFileName ); - LL_DEBUGS("MarkerFile") << "removed exec marker '"<<mMarkerFileName<<"'"<< LL_ENDL; + // _LL_DEBUGS("MarkerFile") << "removed exec marker '"<<mMarkerFileName<<"'"<< LL_ENDL; } else { @@ -4009,7 +4009,7 @@ void LLAppViewer::removeMarkerFiles() { mLogoutMarkerFile.close(); LLAPRFile::remove( mLogoutMarkerFileName ); - LL_DEBUGS("MarkerFile") << "removed logout marker '"<<mLogoutMarkerFileName<<"'"<< LL_ENDL; + // _LL_DEBUGS("MarkerFile") << "removed logout marker '"<<mLogoutMarkerFileName<<"'"<< LL_ENDL; } else { @@ -4423,7 +4423,7 @@ bool LLAppViewer::initCache() { sscanf(found_file.substr(start_pos+1).c_str(), "%d", &old_salt); } - LL_DEBUGS("AppCache") << "Default vfs data file not present, found: " << old_vfs_data_file << " Old salt: " << old_salt << LL_ENDL; + // _LL_DEBUGS("AppCache") << "Default vfs data file not present, found: " << old_vfs_data_file << " Old salt: " << old_salt << LL_ENDL; } } @@ -4462,7 +4462,7 @@ bool LLAppViewer::initCache() if (resize_vfs) { - LL_DEBUGS("AppCache") << "Removing old vfs and re-sizing" << LL_ENDL; + // _LL_DEBUGS("AppCache") << "Removing old vfs and re-sizing" << LL_ENDL; LLFile::remove(old_vfs_data_file); LLFile::remove(old_vfs_index_file); @@ -4470,8 +4470,8 @@ bool LLAppViewer::initCache() else if (old_salt != new_salt) { // move the vfs files to a new name before opening - LL_DEBUGS("AppCache") << "Renaming " << old_vfs_data_file << " to " << new_vfs_data_file << LL_ENDL; - LL_DEBUGS("AppCache") << "Renaming " << old_vfs_index_file << " to " << new_vfs_index_file << LL_ENDL; + // _LL_DEBUGS("AppCache") << "Renaming " << old_vfs_data_file << " to " << new_vfs_data_file << LL_ENDL; + // _LL_DEBUGS("AppCache") << "Renaming " << old_vfs_index_file << " to " << new_vfs_index_file << LL_ENDL; LLFile::rename(old_vfs_data_file, new_vfs_data_file); LLFile::rename(old_vfs_index_file, new_vfs_index_file); } diff --git a/indra/newview/llappviewerwin32.cpp b/indra/newview/llappviewerwin32.cpp index 1864576370b..796997bed96 100644 --- a/indra/newview/llappviewerwin32.cpp +++ b/indra/newview/llappviewerwin32.cpp @@ -723,7 +723,7 @@ bool LLAppViewerWin32::initHardwareTest() LLSplashScreen::update(LLTrans::getString("StartupDetectingHardware")); - LL_DEBUGS("AppInit") << "Attempting to poll DirectX for hardware info" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Attempting to poll DirectX for hardware info" << LL_ENDL; gDXHardware.setWriteDebugFunc(write_debug_dx); BOOL probe_ok = gDXHardware.getInfo(vram_only); @@ -748,7 +748,7 @@ bool LLAppViewerWin32::initHardwareTest() } gWarningSettings.setBOOL("AboutDirectX9", FALSE); } - LL_DEBUGS("AppInit") << "Done polling DirectX for hardware info" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Done polling DirectX for hardware info" << LL_ENDL; // Only probe once after installation gSavedSettings.setBOOL("ProbeHardwareOnStartup", FALSE); @@ -879,16 +879,16 @@ bool LLAppViewerWin32::sendURLToOtherInstance(const std::string& url) if (other_window != NULL) { - LL_DEBUGS() << "Found other window with the name '" << getWindowTitle() << "'" << LL_ENDL; + // _LL_DEBUGS() << "Found other window with the name '" << getWindowTitle() << "'" << LL_ENDL; COPYDATASTRUCT cds; const S32 SLURL_MESSAGE_TYPE = 0; cds.dwData = SLURL_MESSAGE_TYPE; cds.cbData = url.length() + 1; cds.lpData = (void*)url.c_str(); - LRESULT msg_result = SendMessage(other_window, WM_COPYDATA, NULL, (LPARAM)&cds); - LL_DEBUGS() << "SendMessage(WM_COPYDATA) to other window '" - << getWindowTitle() << "' returned " << msg_result << LL_ENDL; + //LRESULT msg_result = SendMessage(other_window, WM_COPYDATA, NULL, (LPARAM)&cds); + /*// _LL_DEBUGS() << "SendMessage(WM_COPYDATA) to other window '" + << getWindowTitle() << "' returned " << msg_result << LL_ENDL;*/ return true; } return false; diff --git a/indra/newview/llattachmentsmgr.cpp b/indra/newview/llattachmentsmgr.cpp index 0d51d581dbb..4a191fca7cc 100644 --- a/indra/newview/llattachmentsmgr.cpp +++ b/indra/newview/llattachmentsmgr.cpp @@ -90,13 +90,13 @@ void LLAttachmentsMgr::addAttachmentRequest(const LLUUID& item_id, if (mAttachmentRequests.wasRequestedRecently(item_id)) { - LL_DEBUGS("Avatar") << "ATT not adding attachment to mPendingAttachments, recent request is already pending: " - << (item ? item->getName() : "UNKNOWN") << " id " << item_id << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "ATT not adding attachment to mPendingAttachments, recent request is already pending: " + << (item ? item->getName() : "UNKNOWN") << " id " << item_id << LL_ENDL;*/ return; } - LL_DEBUGS("Avatar") << "ATT adding attachment to mPendingAttachments " - << (item ? item->getName() : "UNKNOWN") << " id " << item_id << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "ATT adding attachment to mPendingAttachments " + << (item ? item->getName() : "UNKNOWN") << " id " << item_id << LL_ENDL;*/ AttachmentsInfo attachment; attachment.mItemID = item_id; @@ -135,8 +135,8 @@ void LLAttachmentsMgr::onAttachmentRequested(const LLUUID& item_id) // [/SL:KB] LLViewerInventoryItem *item = gInventory.getItem(item_id); - LL_DEBUGS("Avatar") << "ATT attachment was requested " - << (item ? item->getName() : "UNKNOWN") << " id " << item_id << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "ATT attachment was requested " + << (item ? item->getName() : "UNKNOWN") << " id " << item_id << LL_ENDL;*/ mAttachmentRequests.addTime(item_id); } @@ -214,8 +214,8 @@ void LLAttachmentsMgr::requestAttachments(attachments_vec_t& attachment_requests obj_count = MAX_OBJECTS_TO_SEND; } - LL_DEBUGS("Avatar") << "ATT [RezMultipleAttachmentsFromInv] attaching multiple from attachment_requests," - " total obj_count " << obj_count << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "ATT [RezMultipleAttachmentsFromInv] attaching multiple from attachment_requests," + " total obj_count " << obj_count << LL_ENDL;*/ LLUUID compound_msg_id; compound_msg_id.generate(); @@ -244,8 +244,8 @@ void LLAttachmentsMgr::requestAttachments(attachments_vec_t& attachment_requests LLViewerInventoryItem* item = gInventory.getItem(attachment.mItemID); if (item) { - LL_DEBUGS("Avatar") << "ATT requesting from attachment_requests " << item->getName() - << " " << item->getLinkedUUID() << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "ATT requesting from attachment_requests " << item->getName() + << " " << item->getLinkedUUID() << LL_ENDL;*/ S32 attachment_pt = attachment.mAttachmentPt; if (attachment.mAdd) attachment_pt |= ATTACHMENT_ADD; @@ -288,21 +288,21 @@ void LLAttachmentsMgr::linkRecentlyArrivedAttachments() if (mAttachmentRequests.empty()) { // Not waiting for any more. - LL_DEBUGS("Avatar") << "ATT all pending attachments have arrived after " - << mCOFLinkBatchTimer.getElapsedTimeF32() << " seconds" << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "ATT all pending attachments have arrived after " + << mCOFLinkBatchTimer.getElapsedTimeF32() << " seconds" << LL_ENDL;*/ } else if (mCOFLinkBatchTimer.getElapsedTimeF32() > COF_LINK_BATCH_TIME) { - LL_DEBUGS("Avatar") << "ATT " << mAttachmentRequests.size() - << " pending attachments have not arrived, but wait time exceeded" << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "ATT " << mAttachmentRequests.size() + << " pending attachments have not arrived, but wait time exceeded" << LL_ENDL;*/ } else { return; } - LL_DEBUGS("Avatar") << "ATT checking COF linkability for " << mRecentlyArrivedAttachments.size() - << " recently arrived items" << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "ATT checking COF linkability for " << mRecentlyArrivedAttachments.size() + << " recently arrived items" << LL_ENDL;*/ uuid_vec_t ids_to_link; for (std::set<LLUUID>::iterator it = mRecentlyArrivedAttachments.begin(); @@ -314,8 +314,8 @@ void LLAttachmentsMgr::linkRecentlyArrivedAttachments() { LLUUID item_id = *it; LLViewerInventoryItem *item = gInventory.getItem(item_id); - LL_DEBUGS("Avatar") << "ATT adding COF link for attachment " - << (item ? item->getName() : "UNKNOWN") << " " << item_id << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "ATT adding COF link for attachment " + << (item ? item->getName() : "UNKNOWN") << " " << item_id << LL_ENDL;*/ ids_to_link.push_back(item_id); } } @@ -387,7 +387,7 @@ LLAttachmentsMgr::LLItemRequestTimes::LLItemRequestTimes(const std::string& op_n void LLAttachmentsMgr::LLItemRequestTimes::addTime(const LLUUID& inv_item_id) { LLInventoryItem *item = gInventory.getItem(inv_item_id); - LL_DEBUGS("Avatar") << "ATT " << mOpName << " adding request time " << (item ? item->getName() : "UNKNOWN") << " " << inv_item_id << LL_ENDL; + // _LL_DEBUGS("Avatar") << "ATT " << mOpName << " adding request time " << (item ? item->getName() : "UNKNOWN") << " " << inv_item_id << LL_ENDL; LLTimer current_time; (*this)[inv_item_id] = current_time; } @@ -398,8 +398,8 @@ void LLAttachmentsMgr::LLItemRequestTimes::removeTime(const LLUUID& inv_item_id) S32 remove_count = (*this).erase(inv_item_id); if (remove_count) { - LL_DEBUGS("Avatar") << "ATT " << mOpName << " removing request time " - << (item ? item->getName() : "UNKNOWN") << " " << inv_item_id << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "ATT " << mOpName << " removing request time " + << (item ? item->getName() : "UNKNOWN") << " " << inv_item_id << LL_ENDL;*/ } } @@ -489,7 +489,7 @@ void LLAttachmentsMgr::onAttachmentArrived(const LLUUID& inv_item_id) if (expected && mAttachmentRequests.empty()) { // mAttachmentRequests just emptied out - LL_DEBUGS("Avatar") << "ATT all active attachment requests have completed" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "ATT all active attachment requests have completed" << LL_ENDL; } if (mRecentlyArrivedAttachments.empty()) { @@ -515,12 +515,12 @@ void LLAttachmentsMgr::onDetachCompleted(const LLUUID& inv_item_id) LLInventoryItem *item = gInventory.getItem(inv_item_id); if (mDetachRequests.getTime(inv_item_id, timer)) { - LL_DEBUGS("Avatar") << "ATT detach completed after " << timer.getElapsedTimeF32() - << " seconds for " << (item ? item->getName() : "UNKNOWN") << " " << inv_item_id << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "ATT detach completed after " << timer.getElapsedTimeF32() + << " seconds for " << (item ? item->getName() : "UNKNOWN") << " " << inv_item_id << LL_ENDL;*/ mDetachRequests.removeTime(inv_item_id); if (mDetachRequests.empty()) { - LL_DEBUGS("Avatar") << "ATT all detach requests have completed" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "ATT all detach requests have completed" << LL_ENDL; } } else @@ -529,7 +529,7 @@ void LLAttachmentsMgr::onDetachCompleted(const LLUUID& inv_item_id) << (item ? item->getName() : "UNKNOWN") << " id " << inv_item_id << LL_ENDL; } -// LL_DEBUGS("Avatar") << "ATT detached item flagging as questionable for COF link checking " +// // _LL_DEBUGS("Avatar") << "ATT detached item flagging as questionable for COF link checking " // << (item ? item->getName() : "UNKNOWN") << " id " << inv_item_id << LL_ENDL; // mQuestionableCOFLinks.addTime(inv_item_id); } @@ -587,7 +587,7 @@ bool LLAttachmentsMgr::isAttachmentStateComplete() const // bool is_wearing_attachment = isAgentAvatarValid() && gAgentAvatarp->isWearingAttachment(item_id); // if (is_wearing_attachment && is_flagged_questionable) // { -// LL_DEBUGS("Avatar") << "ATT was flagged questionable but is now " +// // _LL_DEBUGS("Avatar") << "ATT was flagged questionable but is now " // << (is_wearing_attachment ? "attached " : "") // <<"removing flag after " // << timer.getElapsedTimeF32() << " item " @@ -608,7 +608,7 @@ bool LLAttachmentsMgr::isAttachmentStateComplete() const // { // if (LLAppearanceMgr::instance().isLinkedInCOF(item_id)) // { -// LL_DEBUGS("Avatar") << "ATT Linked in COF but not attached or requested, deleting link after " +// // _LL_DEBUGS("Avatar") << "ATT Linked in COF but not attached or requested, deleting link after " // << curr_it->second.getElapsedTimeF32() << " seconds for " // << (inv_item ? inv_item->getName() : "UNKNOWN") << " id " << item_id << LL_ENDL; // LLAppearanceMgr::instance().removeCOFItemLinks(item_id); @@ -638,7 +638,7 @@ void LLAttachmentsMgr::spamStatusInfo() const LLViewerInventoryItem* inv_item = item_array.at(i).get(); if (inv_item->getType() == LLAssetType::AT_OBJECT) { - LL_DEBUGS("Avatar") << "item_id: " << inv_item->getUUID() + // _LL_DEBUGS("Avatar") << "item_id: " << inv_item->getUUID() << " linked_item_id: " << inv_item->getLinkedUUID() << " name: " << inv_item->getName() << " parent: " << inv_item->getParentUUID() diff --git a/indra/newview/llautoreplace.cpp b/indra/newview/llautoreplace.cpp index 0516520c563..d7d40c57e55 100644 --- a/indra/newview/llautoreplace.cpp +++ b/indra/newview/llautoreplace.cpp @@ -67,7 +67,7 @@ void LLAutoReplace::autoreplaceCallback(S32& replacement_start, S32& replacement { word_start--; // walk word_start back to the beginning of the word } - LL_DEBUGS("AutoReplace") << "word_start: " << word_start << " word_end: " << word_end << LL_ENDL; + // _LL_DEBUGS("AutoReplace") << "word_start: " << word_start << " word_end: " << word_end << LL_ENDL; LLWString old_string = input_text.substr(word_start, word_end - word_start + 1); std::string last_word = wstring_to_utf8str(old_string); std::string replacement_word(mSettings.replaceWord(last_word)); @@ -345,7 +345,7 @@ std::string LLAutoReplaceSettings::replacementFor(std::string keyword, std::stri ) { replacement = thisList[AUTOREPLACE_LIST_REPLACEMENTS][keyword].asString(); - LL_DEBUGS("AutoReplace")<<"'"<<keyword<<"' -> '"<<replacement<<"'"<<LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<"'"<<keyword<<"' -> '"<<replacement<<"'"<<LL_ENDL; } } if (!foundList) @@ -362,7 +362,7 @@ std::string LLAutoReplaceSettings::replacementFor(std::string keyword, std::stri LLSD LLAutoReplaceSettings::getListNames() { - LL_DEBUGS("AutoReplace")<<"====="<<LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<"====="<<LL_ENDL; LLSD toReturn = LLSD::emptyArray(); S32 counter=0; for( LLSD::array_const_iterator list = mLists.beginArray(), endList = mLists.endArray(); @@ -376,7 +376,7 @@ LLSD LLAutoReplaceSettings::getListNames() if ( thisList.has(AUTOREPLACE_LIST_NAME) ) { std::string name = thisList[AUTOREPLACE_LIST_NAME].asString(); - LL_DEBUGS("AutoReplace")<<counter<<" '"<<name<<"'"<<LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<counter<<" '"<<name<<"'"<<LL_ENDL; toReturn.append(LLSD(name)); } else @@ -390,7 +390,7 @@ LLSD LLAutoReplaceSettings::getListNames() } counter++; } - LL_DEBUGS("AutoReplace")<<"^^^^^^"<<LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<"^^^^^^"<<LL_ENDL; return toReturn; } @@ -545,7 +545,7 @@ LLAutoReplaceSettings::AddListResult LLAutoReplaceSettings::replaceList(const LL { if ( listNameMatches( targetList, listName) ) { - LL_DEBUGS("AutoReplace")<<"list to replace found at "<<search_index<<LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<"list to replace found at "<<search_index<<LL_ENDL; mLists.erase(search_index); mLists.insert(search_index, newList); listFound = true; @@ -573,7 +573,7 @@ bool LLAutoReplaceSettings::removeReplacementList(std::string listName) { if( listNameMatches(mLists.get(index), listName) ) { - LL_DEBUGS("AutoReplace")<<"list '"<<listName<<"'"<<LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<"list '"<<listName<<"'"<<LL_ENDL; mLists.erase(index); found = true; } @@ -584,7 +584,7 @@ bool LLAutoReplaceSettings::removeReplacementList(std::string listName) /// Move the named list up in the priority order bool LLAutoReplaceSettings::increaseListPriority(std::string listName) { - LL_DEBUGS("AutoReplace")<<listName<<LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<listName<<LL_ENDL; bool found = false; S32 search_index, previous_index; LLSD targetList; @@ -599,13 +599,13 @@ bool LLAutoReplaceSettings::increaseListPriority(std::string listName) { if ( listNameMatches( targetList, listName) ) { - LL_DEBUGS("AutoReplace")<<"found at "<<search_index<<", previous is "<<previous_index<<LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<"found at "<<search_index<<", previous is "<<previous_index<<LL_ENDL; found = true; if (previous_index >= 0) { - LL_DEBUGS("AutoReplace") << "erase "<<search_index<<LL_ENDL; + // _LL_DEBUGS("AutoReplace") << "erase "<<search_index<<LL_ENDL; mLists.erase(search_index); - LL_DEBUGS("AutoReplace") << "insert at "<<previous_index<<LL_ENDL; + // _LL_DEBUGS("AutoReplace") << "insert at "<<previous_index<<LL_ENDL; mLists.insert(previous_index, targetList); } else @@ -620,7 +620,7 @@ bool LLAutoReplaceSettings::increaseListPriority(std::string listName) } else { - LL_DEBUGS("AutoReplace") << search_index<<" is "<<LLSD::typeString(targetList.type())<<LL_ENDL; + // _LL_DEBUGS("AutoReplace") << search_index<<" is "<<LLSD::typeString(targetList.type())<<LL_ENDL; } } return found; @@ -629,7 +629,7 @@ bool LLAutoReplaceSettings::increaseListPriority(std::string listName) /// Move the named list down in the priority order bool LLAutoReplaceSettings::decreaseListPriority(std::string listName) { - LL_DEBUGS("AutoReplace")<<listName<<LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<listName<<LL_ENDL; S32 found_index = -1; S32 search_index; for ( search_index = 0; @@ -639,7 +639,7 @@ bool LLAutoReplaceSettings::decreaseListPriority(std::string listName) { if ( listNameMatches( mLists[search_index], listName) ) { - LL_DEBUGS("AutoReplace")<<"found at index "<<search_index<<LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<"found at index "<<search_index<<LL_ENDL; found_index = search_index; } } @@ -657,9 +657,9 @@ bool LLAutoReplaceSettings::decreaseListPriority(std::string listName) if ( next_index < mLists.size() ) { LLSD next_list = mLists[next_index]; - LL_DEBUGS("AutoReplace") << "erase "<<next_index<<LL_ENDL; + // _LL_DEBUGS("AutoReplace") << "erase "<<next_index<<LL_ENDL; mLists.erase(next_index); - LL_DEBUGS("AutoReplace") << "insert at "<<found_index<<LL_ENDL; + // _LL_DEBUGS("AutoReplace") << "insert at "<<found_index<<LL_ENDL; mLists.insert(found_index, next_list); } else @@ -681,7 +681,7 @@ std::string LLAutoReplaceSettings::replaceWord(const std::string currentWord) static LLCachedControl<bool> autoreplace_enabled(gSavedSettings, "AutoReplace", false); if ( autoreplace_enabled ) { - LL_DEBUGS("AutoReplace")<<"checking '"<<currentWord<<"'"<< LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<"checking '"<<currentWord<<"'"<< LL_ENDL; //loop through lists in order bool found = false; for( LLSD::array_const_iterator list = mLists.beginArray(), endLists = mLists.endArray(); @@ -695,10 +695,10 @@ std::string LLAutoReplaceSettings::replaceWord(const std::string currentWord) if ( replacements.has(currentWord) ) { found = true; - LL_DEBUGS("AutoReplace") + /*// _LL_DEBUGS("AutoReplace") << " found in list '" << checkList[AUTOREPLACE_LIST_NAME].asString() << " => '" << replacements[currentWord].asString() << "'" - << LL_ENDL; + << LL_ENDL;*/ returnedWord = replacements[currentWord].asString(); } } @@ -773,7 +773,7 @@ bool LLAutoReplaceSettings::removeEntryFromList(std::string keyword, std::string LLSD LLAutoReplaceSettings::getExampleLLSD() { - LL_DEBUGS("AutoReplace")<<LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<LL_ENDL; LLSD example = LLSD::emptyArray(); example[0] = LLSD::emptyMap(); diff --git a/indra/newview/llavatarlist.cpp b/indra/newview/llavatarlist.cpp index a88fb6d5d6f..046564a2e53 100644 --- a/indra/newview/llavatarlist.cpp +++ b/indra/newview/llavatarlist.cpp @@ -232,7 +232,7 @@ void LLAvatarList::setDirty(bool val /*= true*/, bool force_refresh /*= false*/) void LLAvatarList::addAvalineItem(const LLUUID& item_id, const LLUUID& session_id, const std::string& item_name) { - LL_DEBUGS("Avaline") << "Adding avaline item into the list: " << item_name << "|" << item_id << ", session: " << session_id << LL_ENDL; + // _LL_DEBUGS("Avaline") << "Adding avaline item into the list: " << item_name << "|" << item_id << ", session: " << session_id << LL_ENDL; LLAvalineListItem* item = new LLAvalineListItem(/*hide_number=*/false); item->setAvatarId(item_id, session_id, true, false); item->setName(item_name); @@ -709,13 +709,13 @@ void LLAvalineListItem::setName(const std::string& name) if (mAvalineCallersNums.find(uuid) == mAvalineCallersNums.end()) { mAvalineCallersNums[uuid] = ++order; - LL_DEBUGS("Avaline") << "Set name for new avaline caller: " << uuid << ", order: " << order << LL_ENDL; + // _LL_DEBUGS("Avaline") << "Set name for new avaline caller: " << uuid << ", order: " << order << LL_ENDL; } LLStringUtil::format_map_t args; args["[ORDER]"] = llformat("%u", mAvalineCallersNums[uuid]); std::string hidden_name = LLTrans::getString("AvalineCaller", args); - LL_DEBUGS("Avaline") << "Avaline caller: " << uuid << ", name: " << hidden_name << LL_ENDL; + // _LL_DEBUGS("Avaline") << "Avaline caller: " << uuid << ", name: " << hidden_name << LL_ENDL; LLAvatarListItem::setAvatarName(hidden_name); LLAvatarListItem::setAvatarToolTip(hidden_name); } diff --git a/indra/newview/llavatarrenderinfoaccountant.cpp b/indra/newview/llavatarrenderinfoaccountant.cpp index 7e9cfc07166..6a383e5342d 100644 --- a/indra/newview/llavatarrenderinfoaccountant.cpp +++ b/indra/newview/llavatarrenderinfoaccountant.cpp @@ -123,8 +123,8 @@ void LLAvatarRenderInfoAccountant::avatarRenderInfoGetCoro(std::string url, U64 const LLSD & agent_info_map = agent_iter->second; if (agent_info_map.isMap()) { - LL_DEBUGS("AvatarRenderInfo") << " Agent " << target_agent_id - << ": " << agent_info_map << LL_ENDL; + /*// _LL_DEBUGS("AvatarRenderInfo") << " Agent " << target_agent_id + << ": " << agent_info_map << LL_ENDL;*/ if (agent_info_map.has(KEY_WEIGHT)) { @@ -141,7 +141,7 @@ void LLAvatarRenderInfoAccountant::avatarRenderInfoGetCoro(std::string url, U64 } else { - LL_DEBUGS("AvatarRenderInfo") << "Unknown agent " << target_agent_id << LL_ENDL; + // _LL_DEBUGS("AvatarRenderInfo") << "Unknown agent " << target_agent_id << LL_ENDL; } } // for agent_iter } @@ -161,7 +161,7 @@ void LLAvatarRenderInfoAccountant::avatarRenderInfoGetCoro(std::string url, U64 U32 reporting = result[KEY_REPORTING_COMPLEXITY_LIMIT].asInteger(); U32 overlimit = result[KEY_OVER_COMPLEXITY_LIMIT].asInteger(); - LL_DEBUGS("AvatarRenderInfo") << "complexity limit: "<<reporting<<" reporting, "<<overlimit<<" over limit"<<LL_ENDL; + // _LL_DEBUGS("AvatarRenderInfo") << "complexity limit: "<<reporting<<" reporting, "<<overlimit<<" over limit"<<LL_ENDL; LLAvatarRenderNotifier::getInstance()->updateNotificationRegion(reporting, overlimit); } @@ -191,9 +191,9 @@ void LLAvatarRenderInfoAccountant::avatarRenderInfoReportCoro(std::string url, U return; } - LL_DEBUGS("AvatarRenderInfoAccountant") + /*// _LL_DEBUGS("AvatarRenderInfoAccountant") << "Sending avatar render info for region " << regionp->getName() - << " to " << url << LL_ENDL; + << " to " << url << LL_ENDL;*/ U32 num_avs = 0; // Build the render info to POST to the region @@ -221,8 +221,8 @@ void LLAvatarRenderInfoAccountant::avatarRenderInfoReportCoro(std::string url, U info[KEY_TOO_COMPLEX] = LLSD::Boolean(avatar->isTooComplex()); agents[avatar->getID().asString()] = info; - LL_DEBUGS("AvatarRenderInfo") << "Sending avatar render info for " << avatar->getID() - << ": " << info << LL_ENDL; + /*// _LL_DEBUGS("AvatarRenderInfo") << "Sending avatar render info for " << avatar->getID() + << ": " << info << LL_ENDL;*/ num_avs++; } } @@ -270,10 +270,10 @@ void LLAvatarRenderInfoAccountant::avatarRenderInfoReportCoro(std::string url, U } else { - LL_DEBUGS("AvatarRenderInfoAccountant") + /*// _LL_DEBUGS("AvatarRenderInfoAccountant") << "POST result for region " << regionp->getName() << ": " << result - << LL_ENDL; + << LL_ENDL;*/ } } else @@ -310,10 +310,10 @@ void LLAvatarRenderInfoAccountant::getRenderInfoFromRegion(LLViewerRegion * regi && regionp->getRenderInfoRequestTimer().hasExpired() ) { - LL_DEBUGS("AvatarRenderInfo") + /*// _LL_DEBUGS("AvatarRenderInfo") << "Requesting avatar render info for region " << regionp->getName() << " from " << url - << LL_ENDL; + << LL_ENDL;*/ // make sure we won't re-request, coro will update timer with correct time later regionp->getRenderInfoRequestTimer().resetWithExpiry(SECS_BETWEEN_REGION_REQUEST); @@ -331,8 +331,8 @@ void LLAvatarRenderInfoAccountant::idle() { if (mRenderInfoScanTimer.hasExpired()) { - LL_DEBUGS("AvatarRenderInfo") << "Scanning regions for render info updates" - << LL_ENDL; + /*// _LL_DEBUGS("AvatarRenderInfo") << "Scanning regions for render info updates" + << LL_ENDL;*/ // Check all regions for (LLWorld::region_list_t::const_iterator iter = LLWorld::getInstance()->getRegionList().begin(); @@ -366,7 +366,7 @@ void LLAvatarRenderInfoAccountant::resetRenderInfoScanTimer() // are returned for a new LLViewerRegion, and is the earliest time to get render info void LLAvatarRenderInfoAccountant::scanNewRegion(const LLUUID& region_id) { - LL_DEBUGS("AvatarRenderInfo") << region_id << LL_ENDL; + // _LL_DEBUGS("AvatarRenderInfo") << region_id << LL_ENDL; // Reset the global timer so it will scan regions on the next call to ::idle LLAvatarRenderInfoAccountant::getInstance()->resetRenderInfoScanTimer(); diff --git a/indra/newview/llavatarrendernotifier.cpp b/indra/newview/llavatarrendernotifier.cpp index 5f23b6d1028..b8e084d66bb 100644 --- a/indra/newview/llavatarrendernotifier.cpp +++ b/indra/newview/llavatarrendernotifier.cpp @@ -364,7 +364,7 @@ void LLHUDRenderNotifier::updateNotificationHUD(hud_complexity_list_t complexity } else if (warning_level >= 0) { - LL_DEBUGS("HUDdetail") << "HUD individual warning postponed" << LL_ENDL; + // _LL_DEBUGS("HUDdetail") << "HUD individual warning postponed" << LL_ENDL; } if (mLatestHUDComplexity.objectsCost != new_total_complexity.objectsCost @@ -403,9 +403,9 @@ LLHUDRenderNotifier::EWarnLevel LLHUDRenderNotifier::getWarningType(LLHUDComplex { // Note: Memory might not be accurate since texture is still loading or discard level changes - LL_DEBUGS("HUDdetail") << "HUD " << object_complexity.objectName << " memory usage over limit, " + /*// _LL_DEBUGS("HUDdetail") << "HUD " << object_complexity.objectName << " memory usage over limit, " << " was " << cmp_complexity.texturesMemoryTotal - << " is " << object_complexity.texturesMemoryTotal << LL_ENDL; + << " is " << object_complexity.texturesMemoryTotal << LL_ENDL;*/ return WARN_MEMORY; } @@ -414,33 +414,33 @@ LLHUDRenderNotifier::EWarnLevel LLHUDRenderNotifier::getWarningType(LLHUDComplex && max_render_cost > 0 && object_complexity.objectsCost + object_complexity.texturesCost > max_render_cost) { - LL_DEBUGS("HUDdetail") << "HUD " << object_complexity.objectName << " complexity over limit," + /*// _LL_DEBUGS("HUDdetail") << "HUD " << object_complexity.objectName << " complexity over limit," << " HUD textures cost: " << object_complexity.texturesCost - << " HUD objects cost: " << object_complexity.objectsCost << LL_ENDL; + << " HUD objects cost: " << object_complexity.objectsCost << LL_ENDL;*/ return WARN_COST; } else if (cmp_complexity.largeTexturesCount < object_complexity.largeTexturesCount && object_complexity.largeTexturesCount > max_oversized_count) { - LL_DEBUGS("HUDdetail") << "HUD " << object_complexity.objectName << " contains to many large textures: " - << object_complexity.largeTexturesCount << LL_ENDL; + /*// _LL_DEBUGS("HUDdetail") << "HUD " << object_complexity.objectName << " contains to many large textures: " + << object_complexity.largeTexturesCount << LL_ENDL;*/ return WARN_HEAVY; } else if (cmp_complexity.texturesCount < object_complexity.texturesCount && object_complexity.texturesCount > max_textures_count) { - LL_DEBUGS("HUDdetail") << "HUD " << object_complexity.objectName << " contains too many textures: " - << object_complexity.texturesCount << LL_ENDL; + /*// _LL_DEBUGS("HUDdetail") << "HUD " << object_complexity.objectName << " contains too many textures: " + << object_complexity.texturesCount << LL_ENDL;*/ return WARN_CRAMPED; } else if (cmp_complexity.objectsCount < object_complexity.objectsCount && object_complexity.objectsCount > max_objects_count) { - LL_DEBUGS("HUDdetail") << "HUD " << object_complexity.objectName << " contains too many objects: " - << object_complexity.objectsCount << LL_ENDL; + /*// _LL_DEBUGS("HUDdetail") << "HUD " << object_complexity.objectName << " contains too many objects: " + << object_complexity.objectsCount << LL_ENDL;*/ return WARN_TEXTURES; } diff --git a/indra/newview/llcallingcard.cpp b/indra/newview/llcallingcard.cpp index 31b652a70f4..7cd778678f1 100644 --- a/indra/newview/llcallingcard.cpp +++ b/indra/newview/llcallingcard.cpp @@ -258,11 +258,11 @@ S32 LLAvatarTracker::addBuddyList(const LLAvatarTracker::buddy_map_t& buds) LLAvatarNameCache::get(agent_id, &av_name); addChangedMask(LLFriendObserver::ADD, agent_id); - LL_DEBUGS() << "Added buddy " << agent_id + /*// _LL_DEBUGS() << "Added buddy " << agent_id << ", " << (mBuddyInfo[agent_id]->isOnline() ? "Online" : "Offline") << ", TO: " << mBuddyInfo[agent_id]->getRightsGrantedTo() << ", FROM: " << mBuddyInfo[agent_id]->getRightsGrantedFrom() - << LL_ENDL; + << LL_ENDL;*/ } else { @@ -293,7 +293,7 @@ void LLAvatarTracker::copyBuddyList(buddy_map_t& buddies) const void LLAvatarTracker::terminateBuddy(const LLUUID& id) { - LL_DEBUGS() << "LLAvatarTracker::terminateBuddy()" << LL_ENDL; + // _LL_DEBUGS() << "LLAvatarTracker::terminateBuddy()" << LL_ENDL; LLRelationship* buddy = get_ptr_in_map(mBuddyInfo, id); if(!buddy) return; mBuddyInfo.erase(id); @@ -331,7 +331,7 @@ void LLAvatarTracker::setBuddyOnline(const LLUUID& id, bool is_online) { info->online(is_online); addChangedMask(LLFriendObserver::ONLINE, id); - LL_DEBUGS() << "Set buddy " << id << (is_online ? " Online" : " Offline") << LL_ENDL; + // _LL_DEBUGS() << "Set buddy " << id << (is_online ? " Online" : " Offline") << LL_ENDL; } else { @@ -627,14 +627,14 @@ void LLAvatarTracker::agentFound(const LLUUID& prey, // static void LLAvatarTracker::processOnlineNotification(LLMessageSystem* msg, void**) { - LL_DEBUGS() << "LLAvatarTracker::processOnlineNotification()" << LL_ENDL; + // _LL_DEBUGS() << "LLAvatarTracker::processOnlineNotification()" << LL_ENDL; instance().processNotify(msg, true); } // static void LLAvatarTracker::processOfflineNotification(LLMessageSystem* msg, void**) { - LL_DEBUGS() << "LLAvatarTracker::processOfflineNotification()" << LL_ENDL; + // _LL_DEBUGS() << "LLAvatarTracker::processOfflineNotification()" << LL_ENDL; instance().processNotify(msg, false); } @@ -687,7 +687,7 @@ void LLAvatarTracker::processChange(LLMessageSystem* msg) void LLAvatarTracker::processChangeUserRights(LLMessageSystem* msg, void**) { - LL_DEBUGS() << "LLAvatarTracker::processChangeUserRights()" << LL_ENDL; + // _LL_DEBUGS() << "LLAvatarTracker::processChangeUserRights()" << LL_ENDL; instance().processChange(msg); } @@ -696,7 +696,7 @@ void LLAvatarTracker::processNotify(LLMessageSystem* msg, bool online) S32 count = msg->getNumberOfBlocksFast(_PREHASH_AgentBlock); BOOL chat_notify = gSavedSettings.getBOOL("ChatOnlineNotification"); - LL_DEBUGS() << "Received " << count << " online notifications **** " << LL_ENDL; + // _LL_DEBUGS() << "Received " << count << " online notifications **** " << LL_ENDL; if(count > 0) { LLUUID agent_id; diff --git a/indra/newview/llchatbar.cpp b/indra/newview/llchatbar.cpp index e19f1bd15c5..8475fe7d25a 100644 --- a/indra/newview/llchatbar.cpp +++ b/indra/newview/llchatbar.cpp @@ -610,17 +610,17 @@ void LLChatBar::sendChatFromViewer(const LLWString &wtext, EChatType type, BOOL { if (type == CHAT_TYPE_WHISPER) { - LL_DEBUGS() << "You whisper " << utf8_text << LL_ENDL; + // _LL_DEBUGS() << "You whisper " << utf8_text << LL_ENDL; gAgent.sendAnimationRequest(ANIM_AGENT_WHISPER, ANIM_REQUEST_START); } else if (type == CHAT_TYPE_NORMAL) { - LL_DEBUGS() << "You say " << utf8_text << LL_ENDL; + // _LL_DEBUGS() << "You say " << utf8_text << LL_ENDL; gAgent.sendAnimationRequest(ANIM_AGENT_TALK, ANIM_REQUEST_START); } else if (type == CHAT_TYPE_SHOUT) { - LL_DEBUGS() << "You shout " << utf8_text << LL_ENDL; + // _LL_DEBUGS() << "You shout " << utf8_text << LL_ENDL; gAgent.sendAnimationRequest(ANIM_AGENT_SHOUT, ANIM_REQUEST_START); } else @@ -633,7 +633,7 @@ void LLChatBar::sendChatFromViewer(const LLWString &wtext, EChatType type, BOOL { if (type != CHAT_TYPE_START && type != CHAT_TYPE_STOP) { - LL_DEBUGS() << "Channel chat: " << utf8_text << LL_ENDL; + // _LL_DEBUGS() << "Channel chat: " << utf8_text << LL_ENDL; } } diff --git a/indra/newview/llchicletbar.cpp b/indra/newview/llchicletbar.cpp index 06669e4eb25..bab2c72ea60 100644 --- a/indra/newview/llchicletbar.cpp +++ b/indra/newview/llchicletbar.cpp @@ -66,27 +66,27 @@ void LLChicletBar::log(LLView* panel, const std::string& descr) { if (NULL == panel) return; LLView* layout = panel->getParent(); - LL_DEBUGS("ChicletBarRects") << descr << ": " + /*// _LL_DEBUGS("ChicletBarRects") << descr << ": " << "panel: " << panel->getName() << ", rect: " << panel->getRect() << " layout: " << layout->getName() << ", rect: " << layout->getRect() - << LL_ENDL; + << LL_ENDL;*/ } void LLChicletBar::reshape(S32 width, S32 height, BOOL called_from_parent) { static S32 debug_calling_number = 0; - LL_DEBUGS() << "**************************************** " << ++debug_calling_number << LL_ENDL; + // _LL_DEBUGS() << "**************************************** " << ++debug_calling_number << LL_ENDL; S32 current_width = getRect().getWidth(); S32 delta_width = width - current_width; - LL_DEBUGS() << "Reshaping: " + /*// _LL_DEBUGS() << "Reshaping: " << ", width: " << width << ", cur width: " << current_width << ", delta_width: " << delta_width << ", called_from_parent: " << called_from_parent - << LL_ENDL; + << LL_ENDL;*/ if (mChicletPanel) log(mChicletPanel, "before"); @@ -142,7 +142,7 @@ void LLChicletBar::reshape(S32 width, S32 height, BOOL called_from_parent) if (should_be_reshaped) { - LL_DEBUGS() << "Reshape all children with width: " << width << LL_ENDL; + // _LL_DEBUGS() << "Reshape all children with width: " << width << LL_ENDL; LLPanel::reshape(width, height, called_from_parent); } @@ -161,23 +161,23 @@ S32 LLChicletBar::processWidthDecreased(S32 delta_width) // we have some space to decrease chiclet panel S32 shrink_by = llmin(-delta_width, chiclet_panel_shrink_headroom); - LL_DEBUGS() << "delta_width: " << delta_width + /*// _LL_DEBUGS() << "delta_width: " << delta_width << ", panel_delta_min: " << chiclet_panel_shrink_headroom << ", shrink_by: " << shrink_by - << LL_ENDL; + << LL_ENDL;*/ // is chiclet panel wide enough to process resizing? delta_width += chiclet_panel_shrink_headroom; still_should_be_processed = delta_width < 0; - LL_DEBUGS() << "Shrinking chiclet panel by " << shrink_by << " px" << LL_ENDL; + // _LL_DEBUGS() << "Shrinking chiclet panel by " << shrink_by << " px" << LL_ENDL; mChicletPanel->getParent()->reshape(mChicletPanel->getParent()->getRect().getWidth() - shrink_by, mChicletPanel->getParent()->getRect().getHeight()); log(mChicletPanel, "after processing panel decreasing via chiclet panel"); - LL_DEBUGS() << "RS_CHICLET_PANEL" + /*// _LL_DEBUGS() << "RS_CHICLET_PANEL" << ", delta_width: " << delta_width - << LL_ENDL; + << LL_ENDL;*/ } S32 extra_shrink_width = 0; diff --git a/indra/newview/llcompilequeue.cpp b/indra/newview/llcompilequeue.cpp index fdc3235c6c7..7ec547df4c6 100644 --- a/indra/newview/llcompilequeue.cpp +++ b/indra/newview/llcompilequeue.cpp @@ -785,7 +785,7 @@ void LLFloaterScriptQueue::objectScriptProcessingQueueCoro(std::string action, L // TODO: Get the name of the object we are looking at here so that we can display it below. //std::string objName = (dynamic_cast<LLInventoryObject *>(obj.get()))->getName(); - LL_DEBUGS("SCRIPTQ") << "Object has " << inventory.size() << " items." << LL_ENDL; + // _LL_DEBUGS("SCRIPTQ") << "Object has " << inventory.size() << " items." << LL_ENDL; for (LLInventoryObject::object_list_t::iterator itInv = inventory.begin(); itInv != inventory.end(); ++itInv) @@ -797,7 +797,7 @@ void LLFloaterScriptQueue::objectScriptProcessingQueueCoro(std::string action, L if (((*itInv)->getType() == LLAssetType::AT_LSL_TEXT)) { - LL_DEBUGS("SCRIPTQ") << "Inventory item " << (*itInv)->getUUID().asString() << "\"" << (*itInv)->getName() << "\"" << LL_ENDL; + // _LL_DEBUGS("SCRIPTQ") << "Inventory item " << (*itInv)->getUUID().asString() << "\"" << (*itInv)->getName() << "\"" << LL_ENDL; if (firstForObject) { //floater->addStringMessage(objName + ":"); @@ -824,6 +824,6 @@ void LLFloaterScriptQueue::objectScriptProcessingQueueCoro(std::string action, L { // This is expected. It means that floater has been closed before // processing was completed. - LL_DEBUGS("SCRIPTQ") << "LLExeceptionStaleHandle caught! Floater has most likely been closed." << LL_ENDL; + // _LL_DEBUGS("SCRIPTQ") << "LLExeceptionStaleHandle caught! Floater has most likely been closed." << LL_ENDL; } } diff --git a/indra/newview/llcontrolavatar.cpp b/indra/newview/llcontrolavatar.cpp index 7e679d61088..3f6e9e51857 100644 --- a/indra/newview/llcontrolavatar.cpp +++ b/indra/newview/llcontrolavatar.cpp @@ -119,20 +119,20 @@ void LLControlAvatar::getNewConstraintFixups(LLVector3& new_pos_fixup, F32& new_ } if (new_pos_fixup != mPositionConstraintFixup) { - LL_DEBUGS("ConstraintFix") << getFullname() << " pos fix, offset_dist " << offset_dist << " pos fixup " - << new_pos_fixup << " was " << mPositionConstraintFixup << LL_ENDL; - LL_DEBUGS("ConstraintFix") << "vol_pos " << vol_pos << LL_ENDL; - LL_DEBUGS("ConstraintFix") << "extents " << extents[0] << " " << extents[1] << LL_ENDL; - LL_DEBUGS("ConstraintFix") << "unshift_extents " << unshift_extents[0] << " " << unshift_extents[1] << LL_ENDL; + /*// _LL_DEBUGS("ConstraintFix") << getFullname() << " pos fix, offset_dist " << offset_dist << " pos fixup " + << new_pos_fixup << " was " << mPositionConstraintFixup << LL_ENDL;*/ + // _LL_DEBUGS("ConstraintFix") << "vol_pos " << vol_pos << LL_ENDL; + // _LL_DEBUGS("ConstraintFix") << "extents " << extents[0] << " " << extents[1] << LL_ENDL; + // _LL_DEBUGS("ConstraintFix") << "unshift_extents " << unshift_extents[0] << " " << unshift_extents[1] << LL_ENDL; } } if (box_size/mScaleConstraintFixup > max_legal_size) { new_scale_fixup = mScaleConstraintFixup*max_legal_size/box_size; - LL_DEBUGS("ConstraintFix") << getFullname() << " scale fix, box_size " << box_size << " fixup " + /*// _LL_DEBUGS("ConstraintFix") << getFullname() << " scale fix, box_size " << box_size << " fixup " << mScaleConstraintFixup << " max legal " << max_legal_size - << " -> new scale " << new_scale_fixup << LL_ENDL; + << " -> new scale " << new_scale_fixup << LL_ENDL;*/ } } } @@ -216,7 +216,7 @@ void LLControlAvatar::matchVolumeTransform() const LLMeshSkinInfo* skin_info = mRootVolp->getSkinInfo(); if (skin_info) { - LL_DEBUGS("BindShape") << getFullname() << " bind shape " << skin_info->mBindShapeMatrix << LL_ENDL; + // _LL_DEBUGS("BindShape") << getFullname() << " bind shape " << skin_info->mBindShapeMatrix << LL_ENDL; bind_rot = LLSkinningUtil::getUnscaledQuaternion(skin_info->mBindShapeMatrix); } #endif @@ -539,7 +539,7 @@ void LLControlAvatar::updateAnimations() // Animation not already present, use this sequence id. anims[anim_it->first] = anim_it->second; } - LL_DEBUGS("AnimatedObjectsNotify") << "found anim for vol " << volp->getID() << " anim " << anim_it->first << " root " << mRootVolp->getID() << LL_ENDL; + // _LL_DEBUGS("AnimatedObjectsNotify") << "found anim for vol " << volp->getID() << " anim " << anim_it->first << " root " << mRootVolp->getID() << LL_ENDL; } } if (!mPlaying) diff --git a/indra/newview/llconversationmodel.cpp b/indra/newview/llconversationmodel.cpp index dd9f4ca46d2..4cf8996712a 100644 --- a/indra/newview/llconversationmodel.cpp +++ b/indra/newview/llconversationmodel.cpp @@ -393,7 +393,7 @@ void LLConversationItemSession::setDistance(const LLUUID& participant_id, F64 di void LLConversationItemSession::buildContextMenu(LLMenuGL& menu, U32 flags) { - LL_DEBUGS() << "LLConversationItemParticipant::buildContextMenu()" << LL_ENDL; + // _LL_DEBUGS() << "LLConversationItemParticipant::buildContextMenu()" << LL_ENDL; menuentry_vec_t items; menuentry_vec_t disabled_items; if((flags & ITEM_IN_MULTI_SELECTION) && (this->getType() != CONV_SESSION_NEARBY)) diff --git a/indra/newview/lldrawable.cpp b/indra/newview/lldrawable.cpp index 28dcec11303..b51ff5dae4a 100644 --- a/indra/newview/lldrawable.cpp +++ b/indra/newview/lldrawable.cpp @@ -963,13 +963,13 @@ void LLDrawable::updateDistance(LLCamera& camera, bool force_update) LLVector3 cam_to_box_offset = point_to_box_offset(cam_region_pos, av_box); mDistanceWRTCamera = llmax(0.01f, ll_round(cam_to_box_offset.magVec(), 0.01f)); - LL_DEBUGS("DynamicBox") << avatarp->getFullname() + /*// _LL_DEBUGS("DynamicBox") << avatarp->getFullname() << " pos (ignored) " << pos << " cam pos " << cam_pos << " cam region pos " << cam_region_pos << " box " << av_box[0] << "," << av_box[1] << " -> dist " << mDistanceWRTCamera - << LL_ENDL; + << LL_ENDL;*/ mVObjp->updateLOD(); return; } diff --git a/indra/newview/lldrawpoolwlsky.cpp b/indra/newview/lldrawpoolwlsky.cpp index d4e7f1600e7..543c8e70afc 100644 --- a/indra/newview/lldrawpoolwlsky.cpp +++ b/indra/newview/lldrawpoolwlsky.cpp @@ -244,7 +244,7 @@ void LLDrawPoolWLSky::renderStars(void) const // If star brightness is not set, exit if( star_alpha.mV[3] < 0.001 ) { - LL_DEBUGS("SKY") << "star_brightness below threshold." << LL_ENDL; + // _LL_DEBUGS("SKY") << "star_brightness below threshold." << LL_ENDL; return; } @@ -307,7 +307,7 @@ void LLDrawPoolWLSky::renderStarsDeferred(void) const // If start_brightness is not set, exit if(star_alpha < 0.001f) { - LL_DEBUGS("SKY") << "star_brightness below threshold." << LL_ENDL; + // _LL_DEBUGS("SKY") << "star_brightness below threshold." << LL_ENDL; return; } diff --git a/indra/newview/llenvironment.cpp b/indra/newview/llenvironment.cpp index 61a1b8a4b17..be57ff2ed73 100644 --- a/indra/newview/llenvironment.cpp +++ b/indra/newview/llenvironment.cpp @@ -1652,21 +1652,21 @@ void LLEnvironment::recordEnvironment(S32 parcel_id, LLEnvironment::EnvironmentI mTrackAltitudes = envinfo->mAltitudes; } - LL_DEBUGS("ENVIRONMENT") << "Altitudes set to {" << mTrackAltitudes[0] << ", "<< mTrackAltitudes[1] << ", " << mTrackAltitudes[2] << ", " << mTrackAltitudes[3] << LL_ENDL; + // _LL_DEBUGS("ENVIRONMENT") << "Altitudes set to {" << mTrackAltitudes[0] << ", "<< mTrackAltitudes[1] << ", " << mTrackAltitudes[2] << ", " << mTrackAltitudes[3] << LL_ENDL; } else { LLParcel *parcel = LLViewerParcelMgr::instance().getAgentParcel(); - LL_DEBUGS("ENVIRONMENT") << "Have parcel environment #" << envinfo->mParcelId << LL_ENDL; + // _LL_DEBUGS("ENVIRONMENT") << "Have parcel environment #" << envinfo->mParcelId << LL_ENDL; if (parcel && (parcel->getLocalID() != parcel_id)) { - LL_DEBUGS("ENVIRONMENT") << "Requested parcel #" << parcel_id << " agent is on " << parcel->getLocalID() << LL_ENDL; + // _LL_DEBUGS("ENVIRONMENT") << "Requested parcel #" << parcel_id << " agent is on " << parcel->getLocalID() << LL_ENDL; return; } if (!envinfo->mDayCycle) { - LL_DEBUGS("ENVIRONMENT") << "Clearing environment on parcel #" << parcel_id << LL_ENDL; + // _LL_DEBUGS("ENVIRONMENT") << "Clearing environment on parcel #" << parcel_id << LL_ENDL; clearEnvironment(ENV_PARCEL); } else if (envinfo->mDayCycle->isTrackEmpty(LLSettingsDay::TRACK_WATER) @@ -1862,7 +1862,7 @@ void LLEnvironment::coroRequestEnvironment(S32 parcel_id, LLEnvironment::environ if (url.empty()) return; - LL_DEBUGS("ENVIRONMENT") << "Requesting for parcel_id=" << parcel_id << LL_ENDL; + // _LL_DEBUGS("ENVIRONMENT") << "Requesting for parcel_id=" << parcel_id << LL_ENDL; if (parcel_id != INVALID_PARCEL_ID) { @@ -2941,7 +2941,7 @@ bool LLEnvironment::loadFromSettings() if (!env_data.isMap() || env_data.emptyMap()) { - LL_DEBUGS("ENVIRONMENT") << "Empty map loaded from: " << user_filepath << LL_ENDL; + // _LL_DEBUGS("ENVIRONMENT") << "Empty map loaded from: " << user_filepath << LL_ENDL; return false; } diff --git a/indra/newview/llestateinfomodel.cpp b/indra/newview/llestateinfomodel.cpp index 4fdb8605928..e831989e78f 100644 --- a/indra/newview/llestateinfomodel.cpp +++ b/indra/newview/llestateinfomodel.cpp @@ -95,10 +95,10 @@ void LLEstateInfoModel::update(const strings_t& strings) mFlags = strtoul(strings[3].c_str(), NULL, 10); mSunHour = ((F32)(strtod(strings[4].c_str(), NULL)))/1024.0f; - LL_DEBUGS("WindlightSync") << "Received estate info: " + /*// _LL_DEBUGS("WindlightSync") << "Received estate info: " << "is_sun_fixed = " << getUseFixedSun() - << ", sun_hour = " << getSunHour() << LL_ENDL; - LL_DEBUGS() << getInfoDump() << LL_ENDL; + << ", sun_hour = " << getSunHour() << LL_ENDL;*/ + // _LL_DEBUGS() << getInfoDump() << LL_ENDL; // Update region owner. LLViewerRegion* regionp = gAgent.getRegion(); @@ -153,10 +153,10 @@ void LLEstateInfoModel::commitEstateInfoCapsCoro(std::string url) body["invoice"] = LLFloaterRegionInfo::getLastInvoice(); - LL_DEBUGS("WindlightSync") << "Sending estate caps: " + /*// _LL_DEBUGS("WindlightSync") << "Sending estate caps: " << "is_sun_fixed = " << getUseFixedSun() - << ", sun_hour = " << getSunHour() << LL_ENDL; - LL_DEBUGS() << body << LL_ENDL; + << ", sun_hour = " << getSunHour() << LL_ENDL;*/ + // _LL_DEBUGS() << body << LL_ENDL; LLSD result = httpAdapter->postAndSuspend(httpRequest, url, body); @@ -183,10 +183,10 @@ void LLEstateInfoModel::commitEstateInfoCapsCoro(std::string url) // strings[3] = str((S32)(sun_hour * 1024.f)) void LLEstateInfoModel::commitEstateInfoDataserver() { - LL_DEBUGS("WindlightSync") << "Sending estate info: " + /*// _LL_DEBUGS("WindlightSync") << "Sending estate info: " << "is_sun_fixed = " << getUseFixedSun() - << ", sun_hour = " << getSunHour() << LL_ENDL; - LL_DEBUGS() << getInfoDump() << LL_ENDL; + << ", sun_hour = " << getSunHour() << LL_ENDL;*/ + // _LL_DEBUGS() << getInfoDump() << LL_ENDL; LLMessageSystem* msg = gMessageSystem; msg->newMessage("EstateOwnerMessage"); diff --git a/indra/newview/lleventpoll.cpp b/indra/newview/lleventpoll.cpp index 299fffd9ab9..1abd2ca697b 100644 --- a/indra/newview/lleventpoll.cpp +++ b/indra/newview/lleventpoll.cpp @@ -145,7 +145,7 @@ namespace Details int errorCount = 0; int counter = mCounter; // saved on the stack for logging. - LL_DEBUGS("LLEventPollImpl") << " <" << counter << "> entering coroutine." << LL_ENDL; + // _LL_DEBUGS("LLEventPollImpl") << " <" << counter << "> entering coroutine." << LL_ENDL; mAdapter = httpAdapter; @@ -157,13 +157,13 @@ namespace Details request["ack"] = acknowledge; request["done"] = mDone; -// LL_DEBUGS("LLEventPollImpl::eventPollCoro") << "<" << counter << "> request = " +// // _LL_DEBUGS("LLEventPollImpl::eventPollCoro") << "<" << counter << "> request = " // << LLSDXMLStreamer(request) << LL_ENDL; - LL_DEBUGS("LLEventPollImpl") << " <" << counter << "> posting and yielding." << LL_ENDL; + // _LL_DEBUGS("LLEventPollImpl") << " <" << counter << "> posting and yielding." << LL_ENDL; LLSD result = httpAdapter->postAndSuspend(mHttpRequest, url, request); -// LL_DEBUGS("LLEventPollImpl::eventPollCoro") << "<" << counter << "> result = " +// // _LL_DEBUGS("LLEventPollImpl::eventPollCoro") << "<" << counter << "> result = " // << LLSDXMLStreamer(result) << LL_ENDL; LLSD httpResults = result["http_result"]; @@ -173,7 +173,7 @@ namespace Details { if (status == LLCore::HttpStatus(LLCore::HttpStatus::EXT_CURL_EASY, CURLE_OPERATION_TIMEDOUT)) { // A standard timeout response we get this when there are no events. - LL_DEBUGS("LLEventPollImpl") << "All is very quiet on target server. It may have gone idle?" << LL_ENDL; + // _LL_DEBUGS("LLEventPollImpl") << "All is very quiet on target server. It may have gone idle?" << LL_ENDL; errorCount = 0; continue; } @@ -255,7 +255,7 @@ namespace Details } // was LL_INFOS() but now that CoarseRegionUpdate is TCP @ 1/second, it'd be too verbose for viewer logs. -MG - LL_DEBUGS("LLEventPollImpl") << " <" << counter << "> " << events.size() << "events (id " << acknowledge << ")" << LL_ENDL; + // _LL_DEBUGS("LLEventPollImpl") << " <" << counter << "> " << events.size() << "events (id " << acknowledge << ")" << LL_ENDL; LLSD::array_const_iterator i = events.beginArray(); LLSD::array_const_iterator end = events.endArray(); @@ -267,7 +267,7 @@ namespace Details } } } - LL_DEBUGS("LLEventPollImpl") << " <" << counter << "> Leaving coroutine." << LL_ENDL; + // _LL_DEBUGS("LLEventPollImpl") << " <" << counter << "> Leaving coroutine." << LL_ENDL; } } diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 3d37ef01a49..30c50929ba4 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -925,16 +925,16 @@ BOOL LLFace::genVolumeBBoxes(const LLVolume &volume, S32 f, const LLVolumeFace &face = volume.getVolumeFace(f); - LL_DEBUGS("RiggedBox") << "updating extents for face " << f + /*// _LL_DEBUGS("RiggedBox") << "updating extents for face " << f << " starting extents " << mExtents[0] << ", " << mExtents[1] << " starting vf extents " << face.mExtents[0] << ", " << face.mExtents[1] - << " num verts " << face.mNumVertices << LL_ENDL; + << " num verts " << face.mNumVertices << LL_ENDL;*/ // MAINT-8264 - stray vertices, especially in low LODs, cause bounding box errors. if (face.mNumVertices < 3) { - LL_DEBUGS("RiggedBox") << "skipping face " << f << ", bad num vertices " - << face.mNumVertices << " " << face.mNumIndices << " " << face.mWeights << LL_ENDL; + /*// _LL_DEBUGS("RiggedBox") << "skipping face " << f << ", bad num vertices " + << face.mNumVertices << " " << face.mNumIndices << " " << face.mWeights << LL_ENDL;*/ return FALSE; } @@ -947,8 +947,8 @@ BOOL LLFace::genVolumeBBoxes(const LLVolume &volume, S32 f, matMulBoundBox(mat_vert, face.mExtents, mExtents); - LL_DEBUGS("RiggedBox") << "updated extents for face " << f - << " bbox gave extents " << mExtents[0] << ", " << mExtents[1] << LL_ENDL; + /*// _LL_DEBUGS("RiggedBox") << "updated extents for face " << f + << " bbox gave extents " << mExtents[0] << ", " << mExtents[1] << LL_ENDL;*/ if (!mDrawablep->isActive()) { // Shift position for region @@ -956,12 +956,12 @@ BOOL LLFace::genVolumeBBoxes(const LLVolume &volume, S32 f, offset.load3(mDrawablep->getRegion()->getOriginAgent().mV); mExtents[0].add(offset); mExtents[1].add(offset); - LL_DEBUGS("RiggedBox") << "updating extents for face " << f - << " not active, added offset " << offset << LL_ENDL; + /*// _LL_DEBUGS("RiggedBox") << "updating extents for face " << f + << " not active, added offset " << offset << LL_ENDL;*/ } - LL_DEBUGS("RiggedBox") << "updated extents for face " << f - << " to " << mExtents[0] << ", " << mExtents[1] << LL_ENDL; + /*// _LL_DEBUGS("RiggedBox") << "updated extents for face " << f + << " to " << mExtents[0] << ", " << mExtents[1] << LL_ENDL;*/ LLVector4a t; t.setAdd(mExtents[0],mExtents[1]); t.mul(0.5f); diff --git a/indra/newview/llfavoritesbar.cpp b/indra/newview/llfavoritesbar.cpp index a7ea9d92a1c..26feecdf8e4 100644 --- a/indra/newview/llfavoritesbar.cpp +++ b/indra/newview/llfavoritesbar.cpp @@ -1672,7 +1672,7 @@ void LLFavoritesOrderStorage::getSLURL(const LLUUID& asset_id) boost::bind(&LLFavoritesOrderStorage::onLandmarkLoaded, this, asset_id, _1)); if (lm) { - LL_DEBUGS("FavoritesBar") << "landmark for " << asset_id << " already loaded" << LL_ENDL; + // _LL_DEBUGS("FavoritesBar") << "landmark for " << asset_id << " already loaded" << LL_ENDL; onLandmarkLoaded(asset_id, lm); } return; @@ -1929,7 +1929,7 @@ void LLFavoritesOrderStorage::onLandmarkLoaded(const LLUUID& asset_id, LLLandmar { if (landmark) { - LL_DEBUGS("FavoritesBar") << "landmark for " << asset_id << " loaded" << LL_ENDL; + // _LL_DEBUGS("FavoritesBar") << "landmark for " << asset_id << " loaded" << LL_ENDL; LLVector3d pos_global; if (!landmark->getGlobalPos(pos_global)) { @@ -1940,7 +1940,7 @@ void LLFavoritesOrderStorage::onLandmarkLoaded(const LLUUID& asset_id, LLLandmar if (!pos_global.isExactlyZero()) { - LL_DEBUGS("FavoritesBar") << "requesting slurl for landmark " << asset_id << LL_ENDL; + // _LL_DEBUGS("FavoritesBar") << "requesting slurl for landmark " << asset_id << LL_ENDL; LLLandmarkActions::getSLURLfromPosGlobal(pos_global, boost::bind(&LLFavoritesOrderStorage::storeFavoriteSLURL, this, asset_id, _1)); } @@ -1949,7 +1949,7 @@ void LLFavoritesOrderStorage::onLandmarkLoaded(const LLUUID& asset_id, LLLandmar void LLFavoritesOrderStorage::storeFavoriteSLURL(const LLUUID& asset_id, std::string& slurl) { - LL_DEBUGS("FavoritesBar") << "Saving landmark SLURL '" << slurl << "' for " << asset_id << LL_ENDL; + // _LL_DEBUGS("FavoritesBar") << "Saving landmark SLURL '" << slurl << "' for " << asset_id << LL_ENDL; mSLURLs[asset_id] = slurl; } diff --git a/indra/newview/llfeaturemanager.cpp b/indra/newview/llfeaturemanager.cpp index d915a9fd269..6b3ae6fb0c0 100644 --- a/indra/newview/llfeaturemanager.cpp +++ b/indra/newview/llfeaturemanager.cpp @@ -92,10 +92,10 @@ void LLFeatureList::addFeature(const std::string& name, const BOOL available, co } LLFeatureInfo fi(name, available, level); - LL_DEBUGS_ONCE("RenderInit") << "Feature '" << name << "' " + /*// _LL_DEBUGS_ONCE("RenderInit") << "Feature '" << name << "' " << (available ? "" : "not " ) << "available" << " at " << level - << LL_ENDL; + << LL_ENDL;*/ mFeatures[name] = fi; } @@ -117,7 +117,7 @@ F32 LLFeatureList::getRecommendedValue(const std::string& name) { if (mFeatures.count(name) && isFeatureAvailable(name)) { - LL_DEBUGS_ONCE("RenderInit") << "Setting '" << name << "' to recommended value " << mFeatures[name].mRecommendedLevel << LL_ENDL; + // _LL_DEBUGS_ONCE("RenderInit") << "Setting '" << name << "' to recommended value " << mFeatures[name].mRecommendedLevel << LL_ENDL; return mFeatures[name].mRecommendedLevel; } @@ -127,7 +127,7 @@ F32 LLFeatureList::getRecommendedValue(const std::string& name) BOOL LLFeatureList::maskList(LLFeatureList &mask) { - LL_DEBUGS_ONCE() << "Masking with " << mask.mName << LL_ENDL; + // _LL_DEBUGS_ONCE() << "Masking with " << mask.mName << LL_ENDL; // // Lookup the specified feature mask, and overlay it on top of the // current feature mask. @@ -156,31 +156,31 @@ BOOL LLFeatureList::maskList(LLFeatureList &mask) } cur_fi.mAvailable = mask_fi.mAvailable; cur_fi.mRecommendedLevel = llmin(cur_fi.mRecommendedLevel, mask_fi.mRecommendedLevel); - LL_DEBUGS("RenderInit") << "Feature mask " << mask.mName + /*// _LL_DEBUGS("RenderInit") << "Feature mask " << mask.mName << " Feature " << mask_fi.mName << " Mask: " << mask_fi.mRecommendedLevel - << " Now: " << cur_fi.mRecommendedLevel << LL_ENDL; + << " Now: " << cur_fi.mRecommendedLevel << LL_ENDL;*/ } - LL_DEBUGS("RenderInit") << "After applying mask " << mask.mName << std::endl; + /*// _LL_DEBUGS("RenderInit") << "After applying mask " << mask.mName << std::endl; // Will conditionally call dump only if the above message will be logged, thanks - // to it being wrapped by the LL_DEBUGS and LL_ENDL macros. + // to it being wrapped by the // _LL_DEBUGS and LL_ENDL macros. dump(); - LL_CONT << LL_ENDL; + LL_CONT << LL_ENDL;*/ return TRUE; } void LLFeatureList::dump() { - LL_DEBUGS("RenderInit") << "Feature list: " << mName << LL_ENDL; + // _LL_DEBUGS("RenderInit") << "Feature list: " << mName << LL_ENDL; LLFeatureInfo fi; feature_map_t::iterator feature_it; for (feature_it = mFeatures.begin(); feature_it != mFeatures.end(); ++feature_it) { fi = feature_it->second; - LL_DEBUGS("RenderInit") << "With " << mName << " feature " << fi.mName << " " << fi.mAvailable << ":" << fi.mRecommendedLevel << LL_ENDL; + // _LL_DEBUGS("RenderInit") << "With " << mName << " feature " << fi.mName << " " << fi.mAvailable << ":" << fi.mRecommendedLevel << LL_ENDL; } } @@ -248,7 +248,7 @@ BOOL LLFeatureManager::maskFeatures(const std::string& name) LLFeatureList *maskp = findMask(name); if (!maskp) { - LL_DEBUGS("RenderInit") << "Unknown feature mask " << name << LL_ENDL; + // _LL_DEBUGS("RenderInit") << "Unknown feature mask " << name << LL_ENDL; return FALSE; } LL_INFOS("RenderInit") << "Applying GPU Feature list: " << name << LL_ENDL; @@ -324,7 +324,7 @@ bool LLFeatureManager::parseFeatureTable(std::string filename) if (name == "list") { - LL_DEBUGS("RenderInit") << "Before new list" << std::endl; + /*// _LL_DEBUGS("RenderInit") << "Before new list" << std::endl; if (flp) { flp->dump(); @@ -333,7 +333,7 @@ bool LLFeatureManager::parseFeatureTable(std::string filename) { LL_CONT << "No current list"; } - LL_CONT << LL_ENDL; + LL_CONT << LL_ENDL;*/ // It's a new mask, create it. file >> name; diff --git a/indra/newview/llfilepicker.cpp b/indra/newview/llfilepicker.cpp index 919e2337ef4..0a224d96d43 100644 --- a/indra/newview/llfilepicker.cpp +++ b/indra/newview/llfilepicker.cpp @@ -981,7 +981,7 @@ void LLFilePicker::add_to_selectedfiles(gpointer data, gpointer user_data) if (filename_utf8) { picker->mFiles.push_back(std::string(filename_utf8)); - LL_DEBUGS() << "ADDED FILE " << filename_utf8 << LL_ENDL; + // _LL_DEBUGS() << "ADDED FILE " << filename_utf8 << LL_ENDL; g_free(filename_utf8); } @@ -993,7 +993,7 @@ void LLFilePicker::chooser_responder(GtkWidget *widget, gint response, gpointer { LLFilePicker* picker = (LLFilePicker*)user_data; - LL_DEBUGS() << "GTK DIALOG RESPONSE " << response << LL_ENDL; + // _LL_DEBUGS() << "GTK DIALOG RESPONSE " << response << LL_ENDL; if (response == GTK_RESPONSE_ACCEPT) { diff --git a/indra/newview/llfirstuse.cpp b/indra/newview/llfirstuse.cpp index 5f6d0b09201..8ee2db271ca 100644 --- a/indra/newview/llfirstuse.cpp +++ b/indra/newview/llfirstuse.cpp @@ -131,7 +131,7 @@ void LLFirstUse::firstUseNotification(const std::string& control_var, bool enabl static const LLCachedControl<bool> enable_ui_hints(gSavedSettings, "EnableUIHints"); if (enable_ui_hints) { - LL_DEBUGS("LLFirstUse") << "Trigger first use notification " << notification_name << LL_ENDL; + // _LL_DEBUGS("LLFirstUse") << "Trigger first use notification " << notification_name << LL_ENDL; // if notification doesn't already exist and this notification hasn't been disabled... if (gWarningSettings.getBOOL(control_var)) @@ -142,7 +142,7 @@ void LLFirstUse::firstUseNotification(const std::string& control_var, bool enabl } else { - LL_DEBUGS("LLFirstUse") << "Disabling first use notification " << notification_name << LL_ENDL; + // _LL_DEBUGS("LLFirstUse") << "Disabling first use notification " << notification_name << LL_ENDL; LLNotifications::instance().cancelByName(notification_name); // redundantly clear settings var here, in case there are no notifications to cancel gWarningSettings.setBOOL(control_var, FALSE); diff --git a/indra/newview/llfloaterabout.cpp b/indra/newview/llfloaterabout.cpp index 81faaaf4155..bc139f2621e 100644 --- a/indra/newview/llfloaterabout.cpp +++ b/indra/newview/llfloaterabout.cpp @@ -151,7 +151,7 @@ BOOL LLFloaterAbout::postBuild() } else // not logged in { - LL_DEBUGS("ViewerInfo") << "cannot display region info when not connected" << LL_ENDL; + // _LL_DEBUGS("ViewerInfo") << "cannot display region info when not connected" << LL_ENDL; setSupportText(LLTrans::getString("NotConnected")); } diff --git a/indra/newview/llfloaterautoreplacesettings.cpp b/indra/newview/llfloaterautoreplacesettings.cpp index ec05ba924c0..89505710013 100644 --- a/indra/newview/llfloaterautoreplacesettings.cpp +++ b/indra/newview/llfloaterautoreplacesettings.cpp @@ -86,7 +86,7 @@ BOOL LLFloaterAutoReplaceSettings::postBuild(void) { // get copies of the current settings that we will operate on mEnabled = gSavedSettings.getBOOL("AutoReplace"); - LL_DEBUGS("AutoReplace") << ( mEnabled ? "enabled" : "disabled") << LL_ENDL; + // _LL_DEBUGS("AutoReplace") << ( mEnabled ? "enabled" : "disabled") << LL_ENDL; mSettings = LLAutoReplace::getInstance()->getSettings(); @@ -192,12 +192,12 @@ void LLFloaterAutoReplaceSettings::onSelectList() if (selected.isDefined()) { mSelectedListName = selected.asString(); - LL_DEBUGS("AutoReplace")<<"selected list '"<<mSelectedListName<<"'"<<LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<"selected list '"<<mSelectedListName<<"'"<<LL_ENDL; } else { mSelectedListName.clear(); - LL_DEBUGS("AutoReplace")<<"unselected"<<LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<"unselected"<<LL_ENDL; } updateListNamesControls(); @@ -214,7 +214,7 @@ void LLFloaterAutoReplaceSettings::onSelectEntry() if (selectedRow.isDefined()) { mPreviousKeyword = selectedRow.asString(); - LL_DEBUGS("AutoReplace")<<"selected entry '"<<mPreviousKeyword<<"'"<<LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<"selected entry '"<<mPreviousKeyword<<"'"<<LL_ENDL; mKeyword->setValue(selectedRow); std::string replacement = mSettings.replacementFor(mPreviousKeyword, mSelectedListName ); mReplacement->setValue(replacement); @@ -225,7 +225,7 @@ void LLFloaterAutoReplaceSettings::onSelectEntry() { // no entry selection, so the entry panel should be off disableReplacementEntry(); - LL_DEBUGS("AutoReplace")<<"no row selected"<<LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<"no row selected"<<LL_ENDL; } } @@ -269,7 +269,7 @@ void LLFloaterAutoReplaceSettings::updateReplacementsList() void LLFloaterAutoReplaceSettings::enableReplacementEntry() { - LL_DEBUGS("AutoReplace")<<LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<LL_ENDL; mKeyword->setEnabled(true); mReplacement->setEnabled(true); getChild<LLButton>("autoreplace_save_entry")->setEnabled(true); @@ -278,7 +278,7 @@ void LLFloaterAutoReplaceSettings::enableReplacementEntry() void LLFloaterAutoReplaceSettings::disableReplacementEntry() { - LL_DEBUGS("AutoReplace")<<LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<LL_ENDL; mPreviousKeyword.clear(); mKeyword->clear(); mKeyword->setEnabled(false); @@ -293,7 +293,7 @@ void LLFloaterAutoReplaceSettings::onAutoReplaceToggled() { // set our local copy of the flag, copied to the global preference in onOk mEnabled = childGetValue("autoreplace_enable").asBoolean(); - LL_DEBUGS("AutoReplace")<< "autoreplace_enable " << ( mEnabled ? "on" : "off" ) << LL_ENDL; + // _LL_DEBUGS("AutoReplace")<< "autoreplace_enable " << ( mEnabled ? "on" : "off" ) << LL_ENDL; } // called when the List Up button is pressed @@ -418,7 +418,7 @@ void LLFloaterAutoReplaceSettings::onNewList() bool LLFloaterAutoReplaceSettings::callbackNewListName(const LLSD& notification, const LLSD& response) { - LL_DEBUGS("AutoReplace")<<"called"<<LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<"called"<<LL_ENDL; LLSD newList = notification["payload"]["list"]; @@ -529,7 +529,7 @@ void LLFloaterAutoReplaceSettings::onDeleteList() } else { - LL_DEBUGS("AutoReplace")<<"no list selected for delete"<<LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<"no list selected for delete"<<LL_ENDL; } } @@ -561,7 +561,7 @@ void LLFloaterAutoReplaceSettings::onAddEntry() void LLFloaterAutoReplaceSettings::onSaveEntry() { - LL_DEBUGS("AutoReplace")<<"called"<<LL_ENDL; + // _LL_DEBUGS("AutoReplace")<<"called"<<LL_ENDL; if ( ! mPreviousKeyword.empty() ) { diff --git a/indra/newview/llfloatereditextdaycycle.cpp b/indra/newview/llfloatereditextdaycycle.cpp index 97f79cbc7c0..feb0471a638 100644 --- a/indra/newview/llfloatereditextdaycycle.cpp +++ b/indra/newview/llfloatereditextdaycycle.cpp @@ -984,7 +984,7 @@ void LLFloaterEditExtDayCycle::onFrameSliderCallback(const LLSD &data) // handleKeyUp will do the move if user releases key too early. if (!(mEditDay->getSettingsNearKeyframe(sliderpos, mCurrentTrack, LLSettingsDay::DEFAULT_FRAME_SLOP_FACTOR)).second) { - LL_DEBUGS("ENVDAYEDIT") << "Copying frame from " << it->second.mFrame << " to " << sliderpos << LL_ENDL; + // _LL_DEBUGS("ENVDAYEDIT") << "Copying frame from " << it->second.mFrame << " to " << sliderpos << LL_ENDL; LLSettingsBase::ptr_t new_settings; // mEditDay still remembers old position, add copy at new position @@ -1433,7 +1433,7 @@ void LLFloaterEditExtDayCycle::removeCurrentSliderFrame() keymap_t::iterator iter = mSliderKeyMap.find(sldr); if (iter != mSliderKeyMap.end()) { - LL_DEBUGS("ENVDAYEDIT") << "Removing frame from " << iter->second.mFrame << LL_ENDL; + // _LL_DEBUGS("ENVDAYEDIT") << "Removing frame from " << iter->second.mFrame << LL_ENDL; LLSettingsBase::Seconds seconds(iter->second.mFrame); mEditDay->removeTrackKeyframe(mCurrentTrack, seconds); mSliderKeyMap.erase(iter); @@ -1875,7 +1875,7 @@ void LLFloaterEditExtDayCycle::loadSettingFromFile(const std::vector<std::string LLSD messages; if (filenames.size() < 1) return; std::string filename = filenames[0]; - LL_DEBUGS("ENVDAYEDIT") << "Selected file: " << filename << LL_ENDL; + // _LL_DEBUGS("ENVDAYEDIT") << "Selected file: " << filename << LL_ENDL; LLSettingsDay::ptr_t legacyday = LLEnvironment::createDayCycleFromLegacyPreset(filename, messages); if (!legacyday) diff --git a/indra/newview/llfloaterfixedenvironment.cpp b/indra/newview/llfloaterfixedenvironment.cpp index 8b60cee1d15..914bcbb9151 100644 --- a/indra/newview/llfloaterfixedenvironment.cpp +++ b/indra/newview/llfloaterfixedenvironment.cpp @@ -581,7 +581,7 @@ void LLFloaterFixedEnvironment::doApplyCreateNewInventory(std::string settings_n void LLFloaterFixedEnvironment::doApplyUpdateInventory(const LLSettingsBase::ptr_t &settings) { - LL_DEBUGS("ENVEDIT") << "Update inventory for " << mInventoryId << LL_ENDL; + // _LL_DEBUGS("ENVEDIT") << "Update inventory for " << mInventoryId << LL_ENDL; if (mInventoryId.isNull()) { LLSettingsVOBase::createInventoryItem(settings, gInventory.findCategoryUUIDForType(LLFolderType::FT_SETTINGS), std::string(), diff --git a/indra/newview/llfloatergesture.cpp b/indra/newview/llfloatergesture.cpp index c4e0dd483fa..dc6010e2536 100644 --- a/indra/newview/llfloatergesture.cpp +++ b/indra/newview/llfloatergesture.cpp @@ -136,12 +136,12 @@ void LLFloaterGesture::done() //this method can be called twice: for GestureFolder and once after loading all sudir of GestureFolder if (gInventory.isCategoryComplete(mGestureFolderID)) { - LL_DEBUGS("Gesture")<< "mGestureFolderID loaded" << LL_ENDL; + // _LL_DEBUGS("Gesture")<< "mGestureFolderID loaded" << LL_ENDL; // we load only gesture folder without childred. LLInventoryModel::cat_array_t* categories; LLInventoryModel::item_array_t* items; uuid_vec_t unloaded_folders; - LL_DEBUGS("Gesture")<< "Get subdirs of Gesture Folder...." << LL_ENDL; + // _LL_DEBUGS("Gesture")<< "Get subdirs of Gesture Folder...." << LL_ENDL; gInventory.getDirectDescendentsOf(mGestureFolderID, categories, items); if (categories->empty()) { @@ -149,25 +149,25 @@ void LLFloaterGesture::done() LL_INFOS("Gesture")<< "Gesture dos NOT contains sub-directories."<< LL_ENDL; return; } - LL_DEBUGS("Gesture")<< "There are " << categories->size() << " Folders "<< LL_ENDL; + // _LL_DEBUGS("Gesture")<< "There are " << categories->size() << " Folders "<< LL_ENDL; for (LLInventoryModel::cat_array_t::iterator it = categories->begin(); it != categories->end(); it++) { if (!gInventory.isCategoryComplete(it->get()->getUUID())) { unloaded_folders.push_back(it->get()->getUUID()); - LL_DEBUGS("Gesture")<< it->get()->getName()<< " Folder added to fetchlist"<< LL_ENDL; + // _LL_DEBUGS("Gesture")<< it->get()->getName()<< " Folder added to fetchlist"<< LL_ENDL; } } if (!unloaded_folders.empty()) { - LL_DEBUGS("Gesture")<< "Fetching subdirectories....." << LL_ENDL; + // _LL_DEBUGS("Gesture")<< "Fetching subdirectories....." << LL_ENDL; setFetchIDs(unloaded_folders); startFetch(); } else { - LL_DEBUGS("Gesture")<< "All Gesture subdirectories have been loaded."<< LL_ENDL; + // _LL_DEBUGS("Gesture")<< "All Gesture subdirectories have been loaded."<< LL_ENDL; gInventory.removeObserver(this); buildGestureList(); } @@ -265,7 +265,7 @@ void LLFloaterGesture::buildGestureList() S32 scroll_pos = mGestureList->getScrollPos(); uuid_vec_t selected_items; getSelectedIds(selected_items); - LL_DEBUGS("Gesture")<< "Rebuilding gesture list "<< LL_ENDL; + // _LL_DEBUGS("Gesture")<< "Rebuilding gesture list "<< LL_ENDL; mGestureList->deleteAllItems(); LLGestureMgr::item_map_t::const_iterator it; @@ -386,7 +386,7 @@ void LLFloaterGesture::addGesture(const LLUUID& item_id , LLMultiGesture* gestur element["columns"][3]["font"]["style"] = font_style; } - LL_DEBUGS("Gesture") << "Added gesture [" << item_name << "]" << LL_ENDL; + // _LL_DEBUGS("Gesture") << "Added gesture [" << item_name << "]" << LL_ENDL; LLScrollListItem* sl_item = list->addElement(element, ADD_BOTTOM); if(sl_item) @@ -453,7 +453,7 @@ void LLFloaterGesture::onClickPlay() const LLUUID& item_id = mGestureList->getCurrentID(); if(item_id.isNull()) return; - LL_DEBUGS("Gesture")<<" Trying to play gesture id: "<< item_id <<LL_ENDL; + // _LL_DEBUGS("Gesture")<<" Trying to play gesture id: "<< item_id <<LL_ENDL; if(!LLGestureMgr::instance().isGestureActive(item_id)) { // we need to inform server about gesture activating to be consistent with LLPreviewGesture and LLGestureComboList. @@ -465,7 +465,7 @@ void LLFloaterGesture::onClickPlay() if (item) { LLGestureMgr::instance().activateGestureWithAsset(item_id, item->getAssetUUID(), inform_server, deactivate_similar); - LL_DEBUGS("Gesture")<< "Activating gesture with inventory ID: " << item_id <<LL_ENDL; + // _LL_DEBUGS("Gesture")<< "Activating gesture with inventory ID: " << item_id <<LL_ENDL; } } else @@ -604,8 +604,8 @@ void LLFloaterGesture::onCopyPasteAction(const LLSD& command) { LLStringUtil::format_map_t string_args; string_args["[COPY_NAME]"] = item->getName(); - LL_DEBUGS("Gesture")<< "Copying gesture " << item->getName() << " "<< item->getUUID() << " into " - << gesture_dir->getName() << " "<< gesture_dir->getUUID() << LL_ENDL; + /*// _LL_DEBUGS("Gesture")<< "Copying gesture " << item->getName() << " "<< item->getUUID() << " into " + << gesture_dir->getName() << " "<< gesture_dir->getUUID() << LL_ENDL;*/ copy_inventory_item(gAgent.getID(), item->getPermissions().getOwner(), item->getUUID(), gesture_dir->getUUID(), getString("copy_name", string_args), cb); } @@ -701,7 +701,7 @@ void LLFloaterGesture::addToCurrentOutFit() void LLFloaterGesture::playGesture(LLUUID item_id) { - LL_DEBUGS("Gesture")<<"Playing gesture "<< item_id<<LL_ENDL; + // _LL_DEBUGS("Gesture")<<"Playing gesture "<< item_id<<LL_ENDL; if (LLGestureMgr::instance().isGesturePlaying(item_id)) { diff --git a/indra/newview/llfloaterimnearbychat.cpp b/indra/newview/llfloaterimnearbychat.cpp index 7aa9a666003..a50ca299a04 100644 --- a/indra/newview/llfloaterimnearbychat.cpp +++ b/indra/newview/llfloaterimnearbychat.cpp @@ -746,17 +746,17 @@ void LLFloaterIMNearbyChat::sendChatFromViewer(const LLWString &wtext, EChatType { if (type == CHAT_TYPE_WHISPER) { - LL_DEBUGS() << "You whisper " << utf8_text << LL_ENDL; + // _LL_DEBUGS() << "You whisper " << utf8_text << LL_ENDL; gAgent.sendAnimationRequest(ANIM_AGENT_WHISPER, ANIM_REQUEST_START); } else if (type == CHAT_TYPE_NORMAL) { - LL_DEBUGS() << "You say " << utf8_text << LL_ENDL; + // _LL_DEBUGS() << "You say " << utf8_text << LL_ENDL; gAgent.sendAnimationRequest(ANIM_AGENT_TALK, ANIM_REQUEST_START); } else if (type == CHAT_TYPE_SHOUT) { - LL_DEBUGS() << "You shout " << utf8_text << LL_ENDL; + // _LL_DEBUGS() << "You shout " << utf8_text << LL_ENDL; gAgent.sendAnimationRequest(ANIM_AGENT_SHOUT, ANIM_REQUEST_START); } else @@ -769,7 +769,7 @@ void LLFloaterIMNearbyChat::sendChatFromViewer(const LLWString &wtext, EChatType { if (type != CHAT_TYPE_START && type != CHAT_TYPE_STOP) { - LL_DEBUGS() << "Channel chat: " << utf8_text << LL_ENDL; + // _LL_DEBUGS() << "Channel chat: " << utf8_text << LL_ENDL; } } diff --git a/indra/newview/llfloaterimnearbychathandler.cpp b/indra/newview/llfloaterimnearbychathandler.cpp index 80e72fe7c6d..3303f0b1966 100644 --- a/indra/newview/llfloaterimnearbychathandler.cpp +++ b/indra/newview/llfloaterimnearbychathandler.cpp @@ -116,7 +116,7 @@ class LLFloaterIMNearbyChatScreenChannel: public LLScreenChannelBase virtual void deleteAllChildren() { - LL_DEBUGS("NearbyChat") << "Clearing toast pool" << LL_ENDL; + // _LL_DEBUGS("NearbyChat") << "Clearing toast pool" << LL_ENDL; m_toast_pool.clear(); m_active_toasts.clear(); LLScreenChannelBase::deleteAllChildren(); @@ -127,7 +127,7 @@ class LLFloaterIMNearbyChatScreenChannel: public LLScreenChannelBase void addToToastPool(LLToast* toast) { if (!toast) return; - LL_DEBUGS("NearbyChat") << "Pooling toast" << LL_ENDL; + // _LL_DEBUGS("NearbyChat") << "Pooling toast" << LL_ENDL; toast->setVisible(FALSE); toast->stopTimer(); toast->setIsHidden(true); @@ -194,7 +194,7 @@ void LLFloaterIMNearbyChatScreenChannel::deactivateToast(LLToast* toast) if (pos != m_active_toasts.end()) { - LL_DEBUGS("NearbyChat") << "Deactivating toast" << LL_ENDL; + // _LL_DEBUGS("NearbyChat") << "Deactivating toast" << LL_ENDL; m_active_toasts.erase(pos); } } @@ -206,7 +206,7 @@ void LLFloaterIMNearbyChatScreenChannel::createOverflowToast(S32 bottom, F32 tim void LLFloaterIMNearbyChatScreenChannel::onToastDestroyed(LLToast* toast, bool app_quitting) { - LL_DEBUGS("NearbyChat") << "Toast destroyed (app_quitting=" << app_quitting << ")" << LL_ENDL; + // _LL_DEBUGS("NearbyChat") << "Toast destroyed (app_quitting=" << app_quitting << ")" << LL_ENDL; if (app_quitting) { @@ -225,7 +225,7 @@ void LLFloaterIMNearbyChatScreenChannel::onToastDestroyed(LLToast* toast, bool a void LLFloaterIMNearbyChatScreenChannel::onToastFade(LLToast* toast) { - LL_DEBUGS("NearbyChat") << "Toast fading" << LL_ENDL; + // _LL_DEBUGS("NearbyChat") << "Toast fading" << LL_ENDL; //fade mean we put toast to toast pool if(!toast) @@ -279,7 +279,7 @@ bool LLFloaterIMNearbyChatScreenChannel::createPoolToast() // If the toast gets somehow prematurely destroyed, deactivate it to prevent crash (STORM-1352). toast->setOnToastDestroyedCallback(boost::bind(&LLFloaterIMNearbyChatScreenChannel::onToastDestroyed, this, _1, false)); - LL_DEBUGS("NearbyChat") << "Creating and pooling toast" << LL_ENDL; + // _LL_DEBUGS("NearbyChat") << "Creating and pooling toast" << LL_ENDL; m_toast_pool.push_back(toast->getHandle()); return true; } @@ -324,7 +324,7 @@ void LLFloaterIMNearbyChatScreenChannel::addChat(LLSD& chat) if(m_toast_pool.empty()) { //"pool" is empty - create one more panel - LL_DEBUGS("NearbyChat") << "Empty pool" << LL_ENDL; + // _LL_DEBUGS("NearbyChat") << "Empty pool" << LL_ENDL; if(!createPoolToast())//created toast will go to pool. so next call will find it return; addChat(chat); @@ -344,7 +344,7 @@ void LLFloaterIMNearbyChatScreenChannel::addChat(LLSD& chat) //take 1st element from pool, (re)initialize it, put it in active toasts - LL_DEBUGS("NearbyChat") << "Getting toast from pool" << LL_ENDL; + // _LL_DEBUGS("NearbyChat") << "Getting toast from pool" << LL_ENDL; LLToast* toast = m_toast_pool.back().get(); m_toast_pool.pop_back(); diff --git a/indra/newview/llfloaterimsession.cpp b/indra/newview/llfloaterimsession.cpp index cb90577aa06..f65a09404dc 100644 --- a/indra/newview/llfloaterimsession.cpp +++ b/indra/newview/llfloaterimsession.cpp @@ -111,7 +111,7 @@ void LLFloaterIMSession::refresh() // Send an additional Start Typing packet every ME_TYPING_TIMEOUT seconds if (mMeTypingTimer.getElapsedTimeF32() > ME_TYPING_TIMEOUT && false == mShouldSendTypingState) { - LL_DEBUGS("TypingMsgs") << "Send additional Start Typing packet" << LL_ENDL; + // _LL_DEBUGS("TypingMsgs") << "Send additional Start Typing packet" << LL_ENDL; LLIMModel::instance().sendTypingState(mSessionID, mOtherParticipantUUID, TRUE); mMeTypingTimer.reset(); } @@ -120,14 +120,14 @@ void LLFloaterIMSession::refresh() if (mTypingTimeoutTimer.getElapsedTimeF32() > LLAgent::TYPING_TIMEOUT_SECS) { setTyping(false); - LL_DEBUGS("TypingMsgs") << "Send stop typing due to timeout" << LL_ENDL; + // _LL_DEBUGS("TypingMsgs") << "Send stop typing due to timeout" << LL_ENDL; } } // Clear <name is typing> message if no data received for OTHER_TYPING_TIMEOUT seconds if (mOtherTyping && mOtherTypingTimer.getElapsedTimeF32() > OTHER_TYPING_TIMEOUT) { - LL_DEBUGS("TypingMsgs") << "Received: is typing cleared due to timeout" << LL_ENDL; + // _LL_DEBUGS("TypingMsgs") << "Received: is typing cleared due to timeout" << LL_ENDL; removeTypingIndicator(mImFromId); mOtherTyping = false; } @@ -1097,7 +1097,7 @@ void LLFloaterIMSession::setTyping(bool typing) void LLFloaterIMSession::processIMTyping(const LLUUID& from_id, BOOL typing) { - LL_DEBUGS("TypingMsgs") << "typing=" << typing << LL_ENDL; + // _LL_DEBUGS("TypingMsgs") << "typing=" << typing << LL_ENDL; if ( typing ) { // other user started typing diff --git a/indra/newview/llfloaterland.cpp b/indra/newview/llfloaterland.cpp index ffcd4078632..f0b5c959abe 100644 --- a/indra/newview/llfloaterland.cpp +++ b/indra/newview/llfloaterland.cpp @@ -1018,7 +1018,7 @@ void LLPanelLandGeneral::onClickRelease(void*) // static void LLPanelLandGeneral::onClickReclaim(void*) { - LL_DEBUGS() << "LLPanelLandGeneral::onClickReclaim()" << LL_ENDL; + // _LL_DEBUGS() << "LLPanelLandGeneral::onClickReclaim()" << LL_ENDL; LLViewerParcelMgr::getInstance()->reclaimParcel(); } @@ -1697,8 +1697,8 @@ void LLPanelLandObjects::processParcelObjectOwnersReply(LLMessageSystem *msg, vo item_params.columns.add().value(LLDate((time_t)most_recent_time)).font(FONT).column("mostrecent").type("date"); self->mOwnerList->addNameItemRow(item_params); - LL_DEBUGS() << "object owner " << owner_id << " (" << (is_group_owned ? "group" : "agent") - << ") owns " << object_count << " objects." << LL_ENDL; + /*// _LL_DEBUGS() << "object owner " << owner_id << " (" << (is_group_owned ? "group" : "agent") + << ") owns " << object_count << " objects." << LL_ENDL;*/ } // check for no results @@ -3381,7 +3381,7 @@ void LLPanelLandEnvironment::refreshFromSource() setNoSelection(false); if (isSameRegion()) { - LL_DEBUGS("ENVIRONMENT") << "Requesting environment for parcel " << parcel->getLocalID() << ", known version " << mCurEnvVersion << LL_ENDL; + // _LL_DEBUGS("ENVIRONMENT") << "Requesting environment for parcel " << parcel->getLocalID() << ", known version " << mCurEnvVersion << LL_ENDL; setCrossRegion(false); LLHandle<LLPanel> that_h = getHandle(); diff --git a/indra/newview/llfloaterlinkreplace.cpp b/indra/newview/llfloaterlinkreplace.cpp index 595d584799d..9c4d34381ce 100644 --- a/indra/newview/llfloaterlinkreplace.cpp +++ b/indra/newview/llfloaterlinkreplace.cpp @@ -218,12 +218,12 @@ void LLFloaterLinkReplace::onStartClickedResponse(const LLSD& notification, cons void LLFloaterLinkReplace::linkCreatedCallback(LLHandle<LLFloaterLinkReplace> floater_handle, const LLUUID& old_item_id, const LLUUID& target_item_id, bool needs_wearable_ordering_update, bool needs_description_update, const LLUUID& outfit_folder_id) { - LL_DEBUGS() << "Inventory link replace:" << LL_NEWLINE + /*// _LL_DEBUGS() << "Inventory link replace:" << LL_NEWLINE << " - old_item_id = " << old_item_id.asString() << LL_NEWLINE << " - target_item_id = " << target_item_id.asString() << LL_NEWLINE << " - order update = " << (needs_wearable_ordering_update ? "true" : "false") << LL_NEWLINE << " - description update = " << (needs_description_update ? "true" : "false") << LL_NEWLINE - << " - outfit_folder_id = " << outfit_folder_id.asString() << LL_ENDL; + << " - outfit_folder_id = " << outfit_folder_id.asString() << LL_ENDL;*/ // If we are replacing an object, bodypart or gesture link within an outfit folder, // we need to change the actual description of the link itself. LLAppearanceMgr *should* @@ -251,7 +251,7 @@ void LLFloaterLinkReplace::linkCreatedCallback(LLHandle<LLFloaterLinkReplace> fl item->getType() == LLAssetType::AT_GESTURE) && !item->getActualDescription().empty()) { - LL_DEBUGS() << "Updating description for " << item->getName() << LL_ENDL; + // _LL_DEBUGS() << "Updating description for " << item->getName() << LL_ENDL; LLSD updates; updates["desc"] = ""; @@ -306,13 +306,13 @@ void LLFloaterLinkReplace::decreaseOpenItemCount() LLStringUtil::format_map_t args; args["NUM"] = llformat("%d", mRemainingItems); mStatusText->setText(getString("ItemsRemaining", args)); - LL_DEBUGS() << "Inventory link replace: " << mRemainingItems << " links remaining..." << LL_ENDL; + // _LL_DEBUGS() << "Inventory link replace: " << mRemainingItems << " links remaining..." << LL_ENDL; } } BOOL LLFloaterLinkReplace::tick() { - LL_DEBUGS() << "Calling tick - remaining items = " << mRemainingInventoryItems.size() << LL_ENDL; + // _LL_DEBUGS() << "Calling tick - remaining items = " << mRemainingInventoryItems.size() << LL_ENDL; LLInventoryModel::item_array_t current_batch; @@ -350,9 +350,9 @@ void LLFloaterLinkReplace::processBatch(LLInventoryModel::item_array_t items) // Other items in the COF need a description update (description of the actual link item must be empty) bool needs_description_update = is_outfit_folder && target_item->getType() != LLAssetType::AT_CLOTHING; - LL_DEBUGS() << "is_outfit_folder = " << (is_outfit_folder ? "true" : "false") << LL_NEWLINE + /*// _LL_DEBUGS() << "is_outfit_folder = " << (is_outfit_folder ? "true" : "false") << LL_NEWLINE << "needs_wearable_ordering_update = " << (needs_wearable_ordering_update ? "true" : "false") << LL_NEWLINE - << "needs_description_update = " << (needs_description_update ? "true" : "false") << LL_ENDL; + << "needs_description_update = " << (needs_description_update ? "true" : "false") << LL_ENDL;*/ LLInventoryObject::const_object_list_t obj_array; obj_array.push_back(LLConstPointer<LLInventoryObject>(target_item)); diff --git a/indra/newview/llfloateroutfitsnapshot.cpp b/indra/newview/llfloateroutfitsnapshot.cpp index 9b8c5c29eb1..7053052b902 100644 --- a/indra/newview/llfloateroutfitsnapshot.cpp +++ b/indra/newview/llfloateroutfitsnapshot.cpp @@ -98,7 +98,7 @@ void LLFloaterOutfitSnapshot::Impl::updateControls(LLFloaterSnapshotBase* floate BOOL got_snap = previewp && previewp->getSnapshotUpToDate(); // *TODO: Separate maximum size for Web images from postcards - LL_DEBUGS() << "Is snapshot up-to-date? " << got_snap << LL_ENDL; + // _LL_DEBUGS() << "Is snapshot up-to-date? " << got_snap << LL_ENDL; LLLocale locale(LLLocale::USER_LOCALE); std::string bytes_string; @@ -135,7 +135,7 @@ void LLFloaterOutfitSnapshot::Impl::updateControls(LLFloaterSnapshotBase* floate info["have-snapshot"] = got_snap; current_panel->updateControls(info); } - LL_DEBUGS() << "finished updating controls" << LL_ENDL; + // _LL_DEBUGS() << "finished updating controls" << LL_ENDL; } // virtual @@ -191,13 +191,13 @@ void LLFloaterOutfitSnapshot::Impl::updateResolution(void* data) llassert(width > 0 && height > 0); // use the resolution from the selected pre-canned drop-down choice - LL_DEBUGS() << "Setting preview res selected from combo: " << width << "x" << height << LL_ENDL; + // _LL_DEBUGS() << "Setting preview res selected from combo: " << width << "x" << height << LL_ENDL; previewp->setSize(width, height); if (original_width != width || original_height != height) { // hide old preview as the aspect ratio could be wrong - LL_DEBUGS() << "updating thumbnail" << LL_ENDL; + // _LL_DEBUGS() << "updating thumbnail" << LL_ENDL; previewp->updateSnapshot(TRUE); } } @@ -284,7 +284,7 @@ void LLFloaterOutfitSnapshot::onOpen(const LLSD& key) LLSnapshotLivePreview* preview = getPreviewView(); if (preview) { - LL_DEBUGS() << "opened, updating snapshot" << LL_ENDL; + // _LL_DEBUGS() << "opened, updating snapshot" << LL_ENDL; preview->updateSnapshot(TRUE); } focusFirstItem(FALSE); @@ -333,7 +333,7 @@ LLFloaterOutfitSnapshot* LLFloaterOutfitSnapshot::getInstance() // virtual void LLFloaterOutfitSnapshot::saveTexture() { - LL_DEBUGS() << "saveTexture" << LL_ENDL; + // _LL_DEBUGS() << "saveTexture" << LL_ENDL; LLSnapshotLivePreview* previewp = getPreviewView(); if (!previewp) diff --git a/indra/newview/llfloaterperms.cpp b/indra/newview/llfloaterperms.cpp index 649a107d74f..5b82f2b100f 100644 --- a/indra/newview/llfloaterperms.cpp +++ b/indra/newview/llfloaterperms.cpp @@ -197,7 +197,7 @@ void LLFloaterPermsDefault::updateCap() } else { - LL_DEBUGS("ObjectPermissionsFloater") << "AgentPreferences cap not available." << LL_ENDL; + // _LL_DEBUGS("ObjectPermissionsFloater") << "AgentPreferences cap not available." << LL_ENDL; } } @@ -220,11 +220,11 @@ void LLFloaterPermsDefault::updateCapCoro(std::string url) (LLSD::Integer)LLFloaterPerms::getNextOwnerPerms(sCategoryNames[CAT_OBJECTS]); { - LL_DEBUGS("ObjectPermissionsFloater") << "Sending default permissions to '" + /*// _LL_DEBUGS("ObjectPermissionsFloater") << "Sending default permissions to '" << url << "'\n"; std::ostringstream sent_perms_log; LLSDSerialize::toPrettyXML(postData, sent_perms_log); - LL_CONT << sent_perms_log.str() << LL_ENDL; + LL_CONT << sent_perms_log.str() << LL_ENDL;*/ } while (true) diff --git a/indra/newview/llfloaterregioninfo.cpp b/indra/newview/llfloaterregioninfo.cpp index ec1909d02ae..adbf10c4b90 100644 --- a/indra/newview/llfloaterregioninfo.cpp +++ b/indra/newview/llfloaterregioninfo.cpp @@ -1418,10 +1418,10 @@ bool LLPanelRegionTerrainInfo::refreshFromRegion(LLViewerRegion* region) texture_ctrl = getChild<LLTextureCtrl>(buffer); if(texture_ctrl) { - LL_DEBUGS() << "Detail Texture " << i << ": " + /*// _LL_DEBUGS() << "Detail Texture " << i << ": " << compp->getDetailTextureID(i) << LL_ENDL; LLUUID tmp_id(compp->getDetailTextureID(i)); - texture_ctrl->setImageAssetID(tmp_id); + texture_ctrl->setImageAssetID(tmp_id);*/ } } @@ -1435,7 +1435,7 @@ bool LLPanelRegionTerrainInfo::refreshFromRegion(LLViewerRegion* region) } else { - LL_DEBUGS() << "no region set" << LL_ENDL; + // _LL_DEBUGS() << "no region set" << LL_ENDL; getChild<LLUICtrl>("region_text")->setValue(LLSD("")); } @@ -2405,7 +2405,7 @@ bool LLDispatchEstateUpdateInfo::operator()( const LLUUID& invoice, const sparam_t& strings) { - LL_DEBUGS() << "Received estate update" << LL_ENDL; + // _LL_DEBUGS() << "Received estate update" << LL_ENDL; // Update estate info model. // This will call LLPanelEstateInfo::refreshFromEstate(). @@ -3781,7 +3781,7 @@ bool LLPanelRegionEnvironment::refreshFromRegion(LLViewerRegion* region) void LLPanelRegionEnvironment::refreshFromSource() { - LL_DEBUGS("ENVIRONMENT") << "Requesting environment for region, known version " << mCurEnvVersion << LL_ENDL; + // _LL_DEBUGS("ENVIRONMENT") << "Requesting environment for region, known version " << mCurEnvVersion << LL_ENDL; LLHandle<LLPanel> that_h = getHandle(); if (mCurEnvVersion < UNSET_PARCEL_ENVIRONMENT_VERSION) diff --git a/indra/newview/llfloatersnapshot.cpp b/indra/newview/llfloatersnapshot.cpp index 4f100e9a219..23a924fbdca 100644 --- a/indra/newview/llfloatersnapshot.cpp +++ b/indra/newview/llfloatersnapshot.cpp @@ -208,7 +208,7 @@ void LLFloaterSnapshot::Impl::updateControls(LLFloaterSnapshotBase* floater) if (width_ctrl->getValue().asInteger() == 0) { S32 w = gViewerWindow->getWindowWidthRaw(); - LL_DEBUGS() << "Initializing width spinner (" << width_ctrl->getName() << "): " << w << LL_ENDL; + // _LL_DEBUGS() << "Initializing width spinner (" << width_ctrl->getName() << "): " << w << LL_ENDL; width_ctrl->setValue(w); if (getActiveSnapshotType(floater) == LLSnapshotModel::SNAPSHOT_TEXTURE) { @@ -218,7 +218,7 @@ void LLFloaterSnapshot::Impl::updateControls(LLFloaterSnapshotBase* floater) if (height_ctrl->getValue().asInteger() == 0) { S32 h = gViewerWindow->getWindowHeightRaw(); - LL_DEBUGS() << "Initializing height spinner (" << height_ctrl->getName() << "): " << h << LL_ENDL; + // _LL_DEBUGS() << "Initializing height spinner (" << height_ctrl->getName() << "): " << h << LL_ENDL; height_ctrl->setValue(h); if (getActiveSnapshotType(floater) == LLSnapshotModel::SNAPSHOT_TEXTURE) { @@ -265,7 +265,7 @@ void LLFloaterSnapshot::Impl::updateControls(LLFloaterSnapshotBase* floater) BOOL got_snap = previewp && previewp->getSnapshotUpToDate(); // *TODO: Separate maximum size for Web images from postcards - LL_DEBUGS() << "Is snapshot up-to-date? " << got_snap << LL_ENDL; + // _LL_DEBUGS() << "Is snapshot up-to-date? " << got_snap << LL_ENDL; LLLocale locale(LLLocale::USER_LOCALE); std::string bytes_string; @@ -324,7 +324,7 @@ void LLFloaterSnapshot::Impl::updateControls(LLFloaterSnapshotBase* floater) info["have-snapshot"] = got_snap; current_panel->updateControls(info); } - LL_DEBUGS() << "finished updating controls" << LL_ENDL; + // _LL_DEBUGS() << "finished updating controls" << LL_ENDL; } //virtual @@ -366,7 +366,7 @@ void LLFloaterSnapshotBase::ImplBase::onClickNewSnapshot(void* data) if (previewp) { floater->impl->setStatus(ImplBase::STATUS_READY); - LL_DEBUGS() << "updating snapshot" << LL_ENDL; + // _LL_DEBUGS() << "updating snapshot" << LL_ENDL; previewp->mForceUpdateSnapshot = TRUE; } } @@ -473,7 +473,7 @@ void LLFloaterSnapshot::Impl::applyKeepAspectCheck(LLFloaterSnapshotBase* view, previewp->getSize(w, h) ; updateSpinners(view, previewp, w, h, TRUE); // may change w and h - LL_DEBUGS() << "updating thumbnail" << LL_ENDL; + // _LL_DEBUGS() << "updating thumbnail" << LL_ENDL; previewp->setSize(w, h) ; previewp->updateSnapshot(TRUE); } @@ -615,7 +615,7 @@ void LLFloaterSnapshot::Impl::updateResolution(LLUICtrl* ctrl, void* data, BOOL if (width == 0 || height == 0) { // take resolution from current window size - LL_DEBUGS() << "Setting preview res from window: " << gViewerWindow->getWindowWidthRaw() << "x" << gViewerWindow->getWindowHeightRaw() << LL_ENDL; + // _LL_DEBUGS() << "Setting preview res from window: " << gViewerWindow->getWindowWidthRaw() << "x" << gViewerWindow->getWindowHeightRaw() << LL_ENDL; previewp->setSize(gViewerWindow->getWindowWidthRaw(), gViewerWindow->getWindowHeightRaw()); } else if (width == -1 || height == -1) @@ -625,7 +625,7 @@ void LLFloaterSnapshot::Impl::updateResolution(LLUICtrl* ctrl, void* data, BOOL LLPanelSnapshot* spanel = getActivePanel(view); if (spanel) { - LL_DEBUGS() << "Loading typed res from panel " << spanel->getName() << LL_ENDL; + // _LL_DEBUGS() << "Loading typed res from panel " << spanel->getName() << LL_ENDL; new_width = spanel->getTypedPreviewWidth(); new_height = spanel->getTypedPreviewHeight(); @@ -638,10 +638,10 @@ void LLFloaterSnapshot::Impl::updateResolution(LLUICtrl* ctrl, void* data, BOOL } else { - LL_DEBUGS() << "No custom res chosen, setting preview res from window: " + /*// _LL_DEBUGS() << "No custom res chosen, setting preview res from window: " << gViewerWindow->getWindowWidthRaw() << "x" << gViewerWindow->getWindowHeightRaw() << LL_ENDL; new_width = gViewerWindow->getWindowWidthRaw(); - new_height = gViewerWindow->getWindowHeightRaw(); + new_height = gViewerWindow->getWindowHeightRaw();*/ } llassert(new_width > 0 && new_height > 0); @@ -650,7 +650,7 @@ void LLFloaterSnapshot::Impl::updateResolution(LLUICtrl* ctrl, void* data, BOOL else { // use the resolution from the selected pre-canned drop-down choice - LL_DEBUGS() << "Setting preview res selected from combo: " << width << "x" << height << LL_ENDL; + // _LL_DEBUGS() << "Setting preview res selected from combo: " << width << "x" << height << LL_ENDL; previewp->setSize(width, height); } @@ -687,12 +687,12 @@ void LLFloaterSnapshot::Impl::updateResolution(LLUICtrl* ctrl, void* data, BOOL previewp->setSize(width, height); // hide old preview as the aspect ratio could be wrong - LL_DEBUGS() << "updating thumbnail" << LL_ENDL; + // _LL_DEBUGS() << "updating thumbnail" << LL_ENDL; // Don't update immediately, give window chance to redraw getPreviewView()->updateSnapshot(TRUE, FALSE, 1.f); if(do_update) { - LL_DEBUGS() << "Will update controls" << LL_ENDL; + // _LL_DEBUGS() << "Will update controls" << LL_ENDL; updateControls(view); } } @@ -730,7 +730,7 @@ void LLFloaterSnapshot::Impl::onImageFormatChange(LLFloaterSnapshotBase* view) { if (view) { - LL_DEBUGS() << "image format changed, updating snapshot" << LL_ENDL; + // _LL_DEBUGS() << "image format changed, updating snapshot" << LL_ENDL; getPreviewView()->updateSnapshot(TRUE); updateControls(view); } @@ -812,7 +812,7 @@ void LLFloaterSnapshot::Impl::updateSpinners(LLFloaterSnapshotBase* view, LLSnap void LLFloaterSnapshot::Impl::applyCustomResolution(LLFloaterSnapshotBase* view, S32 w, S32 h) { - LL_DEBUGS() << "applyCustomResolution(" << w << ", " << h << ")" << LL_ENDL; + // _LL_DEBUGS() << "applyCustomResolution(" << w << ", " << h << ")" << LL_ENDL; if (!view) return; LLSnapshotLivePreview* previewp = getPreviewView(); @@ -831,7 +831,7 @@ void LLFloaterSnapshot::Impl::applyCustomResolution(LLFloaterSnapshotBase* view, comboSetCustom(view, "postcard_size_combo"); comboSetCustom(view, "texture_size_combo"); comboSetCustom(view, "local_size_combo"); - LL_DEBUGS() << "applied custom resolution, updating thumbnail" << LL_ENDL; + // _LL_DEBUGS() << "applied custom resolution, updating thumbnail" << LL_ENDL; previewp->updateSnapshot(TRUE); } } @@ -1036,7 +1036,7 @@ void LLFloaterSnapshot::onOpen(const LLSD& key) LLSnapshotLivePreview* preview = getPreviewView(); if(preview) { - LL_DEBUGS() << "opened, updating snapshot" << LL_ENDL; + // _LL_DEBUGS() << "opened, updating snapshot" << LL_ENDL; preview->setAllowFullScreenPreview(TRUE); preview->updateSnapshot(TRUE); } @@ -1231,7 +1231,7 @@ BOOL LLFloaterSnapshotBase::ImplBase::updatePreviewList(bool initialized) return FALSE; BOOL changed = FALSE; - LL_DEBUGS() << "npreviews: " << LLSnapshotLivePreview::sList.size() << LL_ENDL; + // _LL_DEBUGS() << "npreviews: " << LLSnapshotLivePreview::sList.size() << LL_ENDL; for (std::set<LLSnapshotLivePreview*>::iterator iter = LLSnapshotLivePreview::sList.begin(); iter != LLSnapshotLivePreview::sList.end(); ++iter) { @@ -1245,7 +1245,7 @@ void LLFloaterSnapshotBase::ImplBase::updateLivePreview() { if (ImplBase::updatePreviewList(true) && mFloater) { - LL_DEBUGS() << "changed" << LL_ENDL; + // _LL_DEBUGS() << "changed" << LL_ENDL; updateControls(mFloater); } } @@ -1279,7 +1279,7 @@ LLFloaterSnapshot* LLFloaterSnapshot::getInstance() // virtual void LLFloaterSnapshot::saveTexture() { - LL_DEBUGS() << "saveTexture" << LL_ENDL; + // _LL_DEBUGS() << "saveTexture" << LL_ENDL; LLSnapshotLivePreview* previewp = getPreviewView(); if (!previewp) @@ -1293,7 +1293,7 @@ void LLFloaterSnapshot::saveTexture() void LLFloaterSnapshot::saveLocal(const snapshot_saved_signal_t::slot_type& success_cb, const snapshot_saved_signal_t::slot_type& failure_cb) { - LL_DEBUGS() << "saveLocal" << LL_ENDL; + // _LL_DEBUGS() << "saveLocal" << LL_ENDL; LLSnapshotLivePreview* previewp = getPreviewView(); llassert(previewp != NULL); if (previewp) diff --git a/indra/newview/llfloatervoiceeffect.cpp b/indra/newview/llfloatervoiceeffect.cpp index 227720bee34..4ab76b6f6a6 100644 --- a/indra/newview/llfloatervoiceeffect.cpp +++ b/indra/newview/llfloatervoiceeffect.cpp @@ -108,7 +108,7 @@ void LLFloaterVoiceEffect::refreshEffectList() return; } - LL_DEBUGS("Voice")<< "Rebuilding Voice Morph list."<< LL_ENDL; + // _LL_DEBUGS("Voice")<< "Rebuilding Voice Morph list."<< LL_ENDL; // Preserve selected items and scroll position S32 scroll_pos = mVoiceEffectList->getScrollPos(); @@ -240,7 +240,7 @@ void LLFloaterVoiceEffect::onVoiceEffectChanged(bool effect_list_updated) void LLFloaterVoiceEffect::onClickRecord() { - LL_DEBUGS("Voice") << "Record clicked" << LL_ENDL; + // _LL_DEBUGS("Voice") << "Record clicked" << LL_ENDL; LLVoiceEffectInterface* effect_interface = LLVoiceClient::instance().getVoiceEffectInterface(); if (effect_interface) { @@ -251,7 +251,7 @@ void LLFloaterVoiceEffect::onClickRecord() void LLFloaterVoiceEffect::onClickPlay() { - LL_DEBUGS("Voice") << "Play clicked" << LL_ENDL; + // _LL_DEBUGS("Voice") << "Play clicked" << LL_ENDL; if (!mVoiceEffectList) { return; @@ -269,7 +269,7 @@ void LLFloaterVoiceEffect::onClickPlay() void LLFloaterVoiceEffect::onClickStop() { - LL_DEBUGS("Voice") << "Stop clicked" << LL_ENDL; + // _LL_DEBUGS("Voice") << "Stop clicked" << LL_ENDL; LLVoiceEffectInterface* effect_interface = LLVoiceClient::instance().getVoiceEffectInterface(); if (effect_interface) { diff --git a/indra/newview/llfriendcard.cpp b/indra/newview/llfriendcard.cpp index 0be748ace9d..7babcbb7cca 100644 --- a/indra/newview/llfriendcard.cpp +++ b/indra/newview/llfriendcard.cpp @@ -542,32 +542,32 @@ void LLFriendCardsManager::addFriendCardToInventory(const LLUUID& avatarID) LLAvatarNameCache::get(avatarID, &av_name); const std::string& name = av_name.getAccountName(); - LL_DEBUGS() << "Processing buddy name: " << name + /*// _LL_DEBUGS() << "Processing buddy name: " << name << ", id: " << avatarID - << LL_ENDL; + << LL_ENDL; */ if (shouldBeAdded && !isManagerReady()) { shouldBeAdded = false; - LL_DEBUGS() << "Calling cards manager not ready, state: " << getManagerState() << LL_ENDL; + // _LL_DEBUGS() << "Calling cards manager not ready, state: " << getManagerState() << LL_ENDL; } if (shouldBeAdded && findFriendCardInventoryUUIDImpl(avatarID).notNull()) { shouldBeAdded = false; - LL_DEBUGS() << "is found in Inventory: " << name << LL_ENDL; + // _LL_DEBUGS() << "is found in Inventory: " << name << LL_ENDL; } if (shouldBeAdded && isAvatarDataStored(avatarID)) { shouldBeAdded = false; - LL_DEBUGS() << "is found in sentRequests: " << name << LL_ENDL; + // _LL_DEBUGS() << "is found in sentRequests: " << name << LL_ENDL; } if (shouldBeAdded) { putAvatarData(avatarID); - LL_DEBUGS() << "Sent create_inventory_item for " << avatarID << ", " << name << LL_ENDL; + // _LL_DEBUGS() << "Sent create_inventory_item for " << avatarID << ", " << name << LL_ENDL; // TODO: mantipov: Is CreateFriendCardCallback really needed? Probably not LLPointer<LLInventoryCallback> cb = new CreateFriendCardCallback; diff --git a/indra/newview/llgesturemgr.cpp b/indra/newview/llgesturemgr.cpp index eaa6668cba2..08b6eb48739 100644 --- a/indra/newview/llgesturemgr.cpp +++ b/indra/newview/llgesturemgr.cpp @@ -1337,7 +1337,7 @@ void LLGestureMgr::removeObserver(LLGestureManagerObserver* observer) // from the list. void LLGestureMgr::notifyObservers() { - LL_DEBUGS() << "LLGestureMgr::notifyObservers" << LL_ENDL; + // _LL_DEBUGS() << "LLGestureMgr::notifyObservers" << LL_ENDL; for(std::vector<LLGestureManagerObserver*>::iterator iter = mObservers.begin(); iter != mObservers.end(); diff --git a/indra/newview/llgroupmgr.cpp b/indra/newview/llgroupmgr.cpp index 447cefd90dc..a120fce064a 100644 --- a/indra/newview/llgroupmgr.cpp +++ b/indra/newview/llgroupmgr.cpp @@ -951,7 +951,7 @@ void LLGroupMgr::processGroupMembersReply(LLMessageSystem* msg, void** data) { LL_RECORD_BLOCK_TIME(FTM_PROCESS_GROUP_MEMBERS_REPLY); - LL_DEBUGS("GrpMgr") << "LLGroupMgr::processGroupMembersReply" << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "LLGroupMgr::processGroupMembersReply" << LL_ENDL; LLUUID agent_id; msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id ); if (gAgent.getID() != agent_id) @@ -1061,7 +1061,7 @@ void LLGroupMgr::processGroupPropertiesReply(LLMessageSystem* msg, void** data) { LL_RECORD_BLOCK_TIME(FTM_PROCESS_GROUP_PROPERTIES_REPLY); - LL_DEBUGS("GrpMgr") << "LLGroupMgr::processGroupPropertiesReply" << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "LLGroupMgr::processGroupPropertiesReply" << LL_ENDL; if (!msg) { LL_ERRS() << "Can't access the messaging system" << LL_ENDL; @@ -1134,7 +1134,7 @@ void LLGroupMgr::processGroupPropertiesReply(LLMessageSystem* msg, void** data) } else { - LL_DEBUGS("GrpMgr") << "GroupPropertyResponse received with no pending request. Response was slow." << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "GroupPropertyResponse received with no pending request. Response was slow." << LL_ENDL; } LLGroupMgr::getInstance()->notifyObservers(GC_PROPERTIES); } @@ -1145,7 +1145,7 @@ void LLGroupMgr::processGroupRoleDataReply(LLMessageSystem* msg, void** data) { LL_RECORD_BLOCK_TIME(FTM_PROCESS_GROUP_ROLE_DATA_REPLY); - LL_DEBUGS("GrpMgr") << "LLGroupMgr::processGroupRoleDataReply" << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "LLGroupMgr::processGroupRoleDataReply" << LL_ENDL; LLUUID agent_id; msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id ); if (gAgent.getID() != agent_id) @@ -1206,7 +1206,7 @@ void LLGroupMgr::processGroupRoleDataReply(LLMessageSystem* msg, void** data) - LL_DEBUGS("GrpMgr") << "Adding role data: " << name << " {" << role_id << "}" << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "Adding role data: " << name << " {" << role_id << "}" << LL_ENDL; LLGroupRoleData* rd = new LLGroupRoleData(role_id,name,title,desc,powers,member_count); group_datap->mRoles[role_id] = rd; } @@ -1233,7 +1233,7 @@ void LLGroupMgr::processGroupRoleMembersReply(LLMessageSystem* msg, void** data) { LL_RECORD_BLOCK_TIME(FTM_PROCESS_GROUP_ROLE_MEMBERS_REPLY); - LL_DEBUGS("GrpMgr") << "LLGroupMgr::processGroupRoleMembersReply" << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "LLGroupMgr::processGroupRoleMembersReply" << LL_ENDL; LLUUID agent_id; msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id ); if (gAgent.getID() != agent_id) @@ -1294,7 +1294,7 @@ void LLGroupMgr::processGroupRoleMembersReply(LLMessageSystem* msg, void** data) if (rd && md) { - LL_DEBUGS("GrpMgr") << "Adding role-member pair: " << role_id << ", " << member_id << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "Adding role-member pair: " << role_id << ", " << member_id << LL_ENDL; rd->addMember(member_id); md->addRole(role_id,rd); } @@ -1346,7 +1346,7 @@ void LLGroupMgr::processGroupRoleMembersReply(LLMessageSystem* msg, void** data) // static void LLGroupMgr::processGroupTitlesReply(LLMessageSystem* msg, void** data) { - LL_DEBUGS("GrpMgr") << "LLGroupMgr::processGroupTitlesReply" << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "LLGroupMgr::processGroupTitlesReply" << LL_ENDL; LLUUID agent_id; msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id ); if (gAgent.getID() != agent_id) @@ -1379,7 +1379,7 @@ void LLGroupMgr::processGroupTitlesReply(LLMessageSystem* msg, void** data) if (!title.mTitle.empty()) { - LL_DEBUGS("GrpMgr") << "LLGroupMgr adding title: " << title.mTitle << ", " << title.mRoleID << ", " << (title.mSelected ? 'Y' : 'N') << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "LLGroupMgr adding title: " << title.mTitle << ", " << title.mRoleID << ", " << (title.mSelected ? 'Y' : 'N') << LL_ENDL; group_datap->mTitles.push_back(title); } } @@ -1391,7 +1391,7 @@ void LLGroupMgr::processGroupTitlesReply(LLMessageSystem* msg, void** data) // static void LLGroupMgr::processEjectGroupMemberReply(LLMessageSystem* msg, void ** data) { - LL_DEBUGS("GrpMgr") << "processEjectGroupMemberReply" << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "processEjectGroupMemberReply" << LL_ENDL; LLUUID group_id; msg->getUUIDFast(_PREHASH_GroupData, _PREHASH_GroupID, group_id); BOOL success; @@ -1407,7 +1407,7 @@ void LLGroupMgr::processEjectGroupMemberReply(LLMessageSystem* msg, void ** data // static void LLGroupMgr::processJoinGroupReply(LLMessageSystem* msg, void ** data) { - LL_DEBUGS("GrpMgr") << "processJoinGroupReply" << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "processJoinGroupReply" << LL_ENDL; LLUUID group_id; BOOL success; msg->getUUIDFast(_PREHASH_GroupData, _PREHASH_GroupID, group_id); @@ -1427,7 +1427,7 @@ void LLGroupMgr::processJoinGroupReply(LLMessageSystem* msg, void ** data) // static void LLGroupMgr::processLeaveGroupReply(LLMessageSystem* msg, void ** data) { - LL_DEBUGS("GrpMgr") << "processLeaveGroupReply" << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "processLeaveGroupReply" << LL_ENDL; LLUUID group_id; BOOL success; msg->getUUIDFast(_PREHASH_GroupData, _PREHASH_GroupID, group_id); @@ -1615,13 +1615,13 @@ void LLGroupMgr::addGroup(LLGroupMgrGroupData* group_datap) void LLGroupMgr::sendGroupPropertiesRequest(const LLUUID& group_id) { - LL_DEBUGS("GrpMgr") << "LLGroupMgr::sendGroupPropertiesRequest" << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "LLGroupMgr::sendGroupPropertiesRequest" << LL_ENDL; // This will happen when we get the reply //LLGroupMgrGroupData* group_datap = createGroupData(group_id); if (LLGroupMgr::getInstance()->hasPendingPropertyRequest(group_id)) { - LL_DEBUGS("GrpMgr") << "LLGroupMgr::sendGroupPropertiesRequest suppressed repeat for " << group_id << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "LLGroupMgr::sendGroupPropertiesRequest suppressed repeat for " << group_id << LL_ENDL; return; } LLGroupMgr::getInstance()->addPendingPropertyRequest(group_id); @@ -1638,7 +1638,7 @@ void LLGroupMgr::sendGroupPropertiesRequest(const LLUUID& group_id) void LLGroupMgr::sendGroupMembersRequest(const LLUUID& group_id) { - LL_DEBUGS("GrpMgr") << "LLGroupMgr::sendGroupMembersRequest" << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "LLGroupMgr::sendGroupMembersRequest" << LL_ENDL; LLGroupMgrGroupData* group_datap = createGroupData(group_id); if (group_datap->mMemberRequestID.isNull()) { @@ -1660,7 +1660,7 @@ void LLGroupMgr::sendGroupMembersRequest(const LLUUID& group_id) void LLGroupMgr::sendGroupRoleDataRequest(const LLUUID& group_id) { - LL_DEBUGS("GrpMgr") << "LLGroupMgr::sendGroupRoleDataRequest" << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "LLGroupMgr::sendGroupRoleDataRequest" << LL_ENDL; LLGroupMgrGroupData* group_datap = createGroupData(group_id); if (group_datap->mRoleDataRequestID.isNull()) { @@ -1681,7 +1681,7 @@ void LLGroupMgr::sendGroupRoleDataRequest(const LLUUID& group_id) void LLGroupMgr::sendGroupRoleMembersRequest(const LLUUID& group_id) { - LL_DEBUGS("GrpMgr") << "LLGroupMgr::sendGroupRoleMembersRequest" << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "LLGroupMgr::sendGroupRoleMembersRequest" << LL_ENDL; LLGroupMgrGroupData* group_datap = createGroupData(group_id); if (group_datap->mRoleMembersRequestID.isNull()) @@ -1715,7 +1715,7 @@ void LLGroupMgr::sendGroupRoleMembersRequest(const LLUUID& group_id) void LLGroupMgr::sendGroupTitlesRequest(const LLUUID& group_id) { - LL_DEBUGS("GrpMgr") << "LLGroupMgr::sendGroupTitlesRequest" << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "LLGroupMgr::sendGroupTitlesRequest" << LL_ENDL; LLGroupMgrGroupData* group_datap = createGroupData(group_id); group_datap->mTitles.clear(); @@ -1734,7 +1734,7 @@ void LLGroupMgr::sendGroupTitlesRequest(const LLUUID& group_id) void LLGroupMgr::sendGroupTitleUpdate(const LLUUID& group_id, const LLUUID& title_role_id) { - LL_DEBUGS("GrpMgr") << "LLGroupMgr::sendGroupTitleUpdate" << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "LLGroupMgr::sendGroupTitleUpdate" << LL_ENDL; LLMessageSystem* msg = gMessageSystem; msg->newMessage("GroupTitleUpdate"); @@ -1793,7 +1793,7 @@ void LLGroupMgr::sendCreateGroupRequest(const std::string& name, void LLGroupMgr::sendUpdateGroupInfo(const LLUUID& group_id) { - LL_DEBUGS("GrpMgr") << "LLGroupMgr::sendUpdateGroupInfo" << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "LLGroupMgr::sendUpdateGroupInfo" << LL_ENDL; LLGroupMgrGroupData* group_datap = createGroupData(group_id); LLMessageSystem* msg = gMessageSystem; @@ -1822,7 +1822,7 @@ void LLGroupMgr::sendUpdateGroupInfo(const LLUUID& group_id) void LLGroupMgr::sendGroupRoleMemberChanges(const LLUUID& group_id) { - LL_DEBUGS("GrpMgr") << "LLGroupMgr::sendGroupRoleMemberChanges" << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "LLGroupMgr::sendGroupRoleMemberChanges" << LL_ENDL; LLGroupMgrGroupData* group_datap = createGroupData(group_id); if (group_datap->mRoleMemberChanges.empty()) return; @@ -2237,7 +2237,7 @@ void LLGroupMgr::processCapGroupMembersRequest(const LLSD& content) // Did we get anything in content? if(!content.size()) { - LL_DEBUGS("GrpMgr") << "No group member data received." << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "No group member data received." << LL_ENDL; return; } @@ -2369,7 +2369,7 @@ void LLGroupMgr::processCapGroupMembersRequest(const LLSD& content) void LLGroupMgr::sendGroupRoleChanges(const LLUUID& group_id) { - LL_DEBUGS("GrpMgr") << "LLGroupMgr::sendGroupRoleChanges" << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "LLGroupMgr::sendGroupRoleChanges" << LL_ENDL; LLGroupMgrGroupData* group_datap = getGroupData(group_id); if (group_datap && group_datap->pendingRoleChanges()) @@ -2384,7 +2384,7 @@ void LLGroupMgr::sendGroupRoleChanges(const LLUUID& group_id) void LLGroupMgr::cancelGroupRoleChanges(const LLUUID& group_id) { - LL_DEBUGS("GrpMgr") << "LLGroupMgr::cancelGroupRoleChanges" << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "LLGroupMgr::cancelGroupRoleChanges" << LL_ENDL; LLGroupMgrGroupData* group_datap = getGroupData(group_id); if (group_datap) group_datap->cancelRoleChanges(); @@ -2418,7 +2418,7 @@ bool LLGroupMgr::parseRoleActions(const std::string& xml_filename) std::string action_set_name; if (action_set->getAttributeString("name", action_set_name)) { - LL_DEBUGS("GrpMgr") << "Loading action set " << action_set_name << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "Loading action set " << action_set_name << LL_ENDL; role_action_data->mName = action_set_name; } else @@ -2459,7 +2459,7 @@ bool LLGroupMgr::parseRoleActions(const std::string& xml_filename) std::string action_name; if (action->getAttributeString("name", action_name)) { - LL_DEBUGS("GrpMgr") << "Loading action " << action_name << LL_ENDL; + // _LL_DEBUGS("GrpMgr") << "Loading action " << action_name << LL_ENDL; role_action->mName = action_name; } else diff --git a/indra/newview/llimprocessing.cpp b/indra/newview/llimprocessing.cpp index 255fea1c664..d02faa34b24 100644 --- a/indra/newview/llimprocessing.cpp +++ b/indra/newview/llimprocessing.cpp @@ -551,7 +551,7 @@ void LLIMProcessing::processNewMessage(LLUUID from_id, buffer = message; - LL_DEBUGS("Messaging") << "session_id( " << session_id << " ), from_id( " << from_id << " )" << LL_ENDL; + // _LL_DEBUGS("Messaging") << "session_id( " << session_id << " ), from_id( " << from_id << " )" << LL_ENDL; // add to IM panel, but do not bother the user gIMMgr->addMessage( @@ -600,7 +600,7 @@ void LLIMProcessing::processNewMessage(LLUUID from_id, } buffer = saved + message; - LL_DEBUGS("Messaging") << "session_id( " << session_id << " ), from_id( " << from_id << " )" << LL_ENDL; + // _LL_DEBUGS("Messaging") << "session_id( " << session_id << " ), from_id( " << from_id << " )" << LL_ENDL; bool mute_im = is_muted; if (accept_im_from_only_friend && !is_friend && !is_linden) @@ -1182,7 +1182,7 @@ void LLIMProcessing::processNewMessage(LLUUID from_id, buffer = message; - LL_DEBUGS("Messaging") << "message in dnd; session_id( " << session_id << " ), from_id( " << from_id << " )" << LL_ENDL; + // _LL_DEBUGS("Messaging") << "message in dnd; session_id( " << session_id << " ), from_id( " << from_id << " )" << LL_ENDL; // add to IM panel, but do not bother the user gIMMgr->addMessage( @@ -1209,7 +1209,7 @@ void LLIMProcessing::processNewMessage(LLUUID from_id, buffer = saved + message; - LL_DEBUGS("Messaging") << "standard message session_id( " << session_id << " ), from_id( " << from_id << " )" << LL_ENDL; + // _LL_DEBUGS("Messaging") << "standard message session_id( " << session_id << " ), from_id( " << from_id << " )" << LL_ENDL; gIMMgr->addMessage( session_id, @@ -1241,7 +1241,7 @@ void LLIMProcessing::processNewMessage(LLUUID from_id, case IM_DO_NOT_DISTURB_AUTO_RESPONSE: if (is_muted) { - LL_DEBUGS("Messaging") << "Ignoring do-not-disturb response from " << from_id << LL_ENDL; + // _LL_DEBUGS("Messaging") << "Ignoring do-not-disturb response from " << from_id << LL_ENDL; return; } else diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index e602fa0fd24..9182df0f9b1 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -902,7 +902,7 @@ void LLInvFVBridge::getClipboardEntries(bool show_asset_id, void LLInvFVBridge::buildContextMenu(LLMenuGL& menu, U32 flags) { - LL_DEBUGS() << "LLInvFVBridge::buildContextMenu()" << LL_ENDL; + // _LL_DEBUGS() << "LLInvFVBridge::buildContextMenu()" << LL_ENDL; menuentry_vec_t items; menuentry_vec_t disabled_items; if(isItemInTrash()) @@ -3470,7 +3470,7 @@ void LLFolderBridge::copyOutfitToClipboard() void LLFolderBridge::openItem() { - LL_DEBUGS() << "LLFolderBridge::openItem()" << LL_ENDL; + // _LL_DEBUGS() << "LLFolderBridge::openItem()" << LL_ENDL; LLInventoryModel* model = getInventoryModel(); if(!model) return; if(mUUID.isNull()) return; @@ -4378,7 +4378,7 @@ void LLFolderBridge::buildContextMenu(LLMenuGL& menu, U32 flags) menuentry_vec_t items; menuentry_vec_t disabled_items; - LL_DEBUGS() << "LLFolderBridge::buildContextMenu()" << LL_ENDL; + // _LL_DEBUGS() << "LLFolderBridge::buildContextMenu()" << LL_ENDL; LLInventoryModel* model = getInventoryModel(); if(!model) return; @@ -5524,7 +5524,7 @@ bool LLTextureBridge::canSaveTexture(void) void LLTextureBridge::buildContextMenu(LLMenuGL& menu, U32 flags) { - LL_DEBUGS() << "LLTextureBridge::buildContextMenu()" << LL_ENDL; + // _LL_DEBUGS() << "LLTextureBridge::buildContextMenu()" << LL_ENDL; menuentry_vec_t items; menuentry_vec_t disabled_items; if(isItemInTrash()) @@ -5597,7 +5597,7 @@ void LLSoundBridge::openSoundPreview(void* which) void LLSoundBridge::buildContextMenu(LLMenuGL& menu, U32 flags) { - LL_DEBUGS() << "LLSoundBridge::buildContextMenu()" << LL_ENDL; + // _LL_DEBUGS() << "LLSoundBridge::buildContextMenu()" << LL_ENDL; menuentry_vec_t items; menuentry_vec_t disabled_items; @@ -5678,7 +5678,7 @@ void LLLandmarkBridge::buildContextMenu(LLMenuGL& menu, U32 flags) menuentry_vec_t items; menuentry_vec_t disabled_items; - LL_DEBUGS() << "LLLandmarkBridge::buildContextMenu()" << LL_ENDL; + // _LL_DEBUGS() << "LLLandmarkBridge::buildContextMenu()" << LL_ENDL; if (isMarketplaceListingsFolder()) { addMarketplaceContextMenuOptions(flags, items, disabled_items); @@ -5976,7 +5976,7 @@ void LLCallingCardBridge::openItem() void LLCallingCardBridge::buildContextMenu(LLMenuGL& menu, U32 flags) { - LL_DEBUGS() << "LLCallingCardBridge::buildContextMenu()" << LL_ENDL; + // _LL_DEBUGS() << "LLCallingCardBridge::buildContextMenu()" << LL_ENDL; menuentry_vec_t items; menuentry_vec_t disabled_items; @@ -6126,7 +6126,7 @@ void LLNotecardBridge::openItem() void LLNotecardBridge::buildContextMenu(LLMenuGL& menu, U32 flags) { - LL_DEBUGS() << "LLNotecardBridge::buildContextMenu()" << LL_ENDL; + // _LL_DEBUGS() << "LLNotecardBridge::buildContextMenu()" << LL_ENDL; if (isMarketplaceListingsFolder()) { @@ -6267,7 +6267,7 @@ BOOL LLGestureBridge::removeItem() void LLGestureBridge::buildContextMenu(LLMenuGL& menu, U32 flags) { - LL_DEBUGS() << "LLGestureBridge::buildContextMenu()" << LL_ENDL; + // _LL_DEBUGS() << "LLGestureBridge::buildContextMenu()" << LL_ENDL; menuentry_vec_t items; menuentry_vec_t disabled_items; if(isItemInTrash()) @@ -6330,7 +6330,7 @@ void LLAnimationBridge::buildContextMenu(LLMenuGL& menu, U32 flags) menuentry_vec_t items; menuentry_vec_t disabled_items; - LL_DEBUGS() << "LLAnimationBridge::buildContextMenu()" << LL_ENDL; + // _LL_DEBUGS() << "LLAnimationBridge::buildContextMenu()" << LL_ENDL; if (isMarketplaceListingsFolder()) { addMarketplaceContextMenuOptions(flags, items, disabled_items); @@ -6624,7 +6624,7 @@ bool confirm_attachment_rez(const LLSD& notification, const LLSD& response) U8 attachment_pt = notification["payload"]["attachment_point"].asInteger(); BOOL is_add = notification["payload"]["is_add"].asBoolean(); - LL_DEBUGS("Avatar") << "ATT calling addAttachmentRequest " << (itemp ? itemp->getName() : "UNKNOWN") << " id " << item_id << LL_ENDL; + // _LL_DEBUGS("Avatar") << "ATT calling addAttachmentRequest " << (itemp ? itemp->getName() : "UNKNOWN") << " id " << item_id << LL_ENDL; LLAttachmentsMgr::instance().addAttachmentRequest(item_id, attachment_pt, is_add); } } @@ -6884,7 +6884,7 @@ void LLWearableBridge::openItem() void LLWearableBridge::buildContextMenu(LLMenuGL& menu, U32 flags) { - LL_DEBUGS() << "LLWearableBridge::buildContextMenu()" << LL_ENDL; + // _LL_DEBUGS() << "LLWearableBridge::buildContextMenu()" << LL_ENDL; menuentry_vec_t items; menuentry_vec_t disabled_items; if(isItemInTrash()) @@ -7156,7 +7156,7 @@ std::string LLLinkItemBridge::sPrefix("Link: "); void LLLinkItemBridge::buildContextMenu(LLMenuGL& menu, U32 flags) { // *TODO: Translate - LL_DEBUGS() << "LLLink::buildContextMenu()" << LL_ENDL; + // _LL_DEBUGS() << "LLLink::buildContextMenu()" << LL_ENDL; menuentry_vec_t items; menuentry_vec_t disabled_items; @@ -7230,7 +7230,7 @@ void LLSettingsBridge::performAction(LLInventoryModel* model, std::string action } S32 parcel_id = parcel->getLocalID(); - LL_DEBUGS("ENVIRONMENT") << "Applying asset ID " << asset_id << " to parcel " << parcel_id << LL_ENDL; + // _LL_DEBUGS("ENVIRONMENT") << "Applying asset ID " << asset_id << " to parcel " << parcel_id << LL_ENDL; LLEnvironment::instance().updateParcel(parcel_id, asset_id, name, LLEnvironment::NO_TRACK, -1, -1, flags); LLEnvironment::instance().setSharedEnvironment(); } @@ -7252,7 +7252,7 @@ void LLSettingsBridge::openItem() void LLSettingsBridge::buildContextMenu(LLMenuGL& menu, U32 flags) { - LL_DEBUGS() << "LLSettingsBridge::buildContextMenu()" << LL_ENDL; + // _LL_DEBUGS() << "LLSettingsBridge::buildContextMenu()" << LL_ENDL; menuentry_vec_t items; menuentry_vec_t disabled_items; @@ -7352,7 +7352,7 @@ LLUIImagePtr LLLinkFolderBridge::getIcon() const void LLLinkFolderBridge::buildContextMenu(LLMenuGL& menu, U32 flags) { // *TODO: Translate - LL_DEBUGS() << "LLLink::buildContextMenu()" << LL_ENDL; + // _LL_DEBUGS() << "LLLink::buildContextMenu()" << LL_ENDL; menuentry_vec_t items; menuentry_vec_t disabled_items; diff --git a/indra/newview/llinventorymodel.cpp b/indra/newview/llinventorymodel.cpp index 0ba2b8db0fc..3dd7773eac9 100644 --- a/indra/newview/llinventorymodel.cpp +++ b/indra/newview/llinventorymodel.cpp @@ -581,7 +581,7 @@ LLUUID LLInventoryModel::createNewCategory(const LLUUID& parent_id, if(LLFolderType::lookup(preferred_type) == LLFolderType::badLookup()) { - LL_DEBUGS(LOG_INV) << "Attempt to create undefined category." << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "Attempt to create undefined category." << LL_ENDL; return id; } @@ -614,7 +614,7 @@ LLUUID LLInventoryModel::createNewCategory(const LLUUID& parent_id, request["message"] = "CreateInventoryCategory"; request["payload"] = body; - LL_DEBUGS(LOG_INV) << "create category request: " << ll_pretty_print_sd(request) << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "create category request: " << ll_pretty_print_sd(request) << LL_ENDL; LLCoros::instance().launch("LLInventoryModel::createNewCategoryCoro", boost::bind(&LLInventoryModel::createNewCategoryCoro, this, url, body, callback)); @@ -1212,7 +1212,7 @@ void LLInventoryModel::updateCategory(const LLViewerInventoryCategory* cat, U32 void LLInventoryModel::moveObject(const LLUUID& object_id, const LLUUID& cat_id) { - LL_DEBUGS(LOG_INV) << "LLInventoryModel::moveObject()" << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "LLInventoryModel::moveObject()" << LL_ENDL; if(!isInventoryUsable()) { LL_WARNS(LOG_INV) << "Inventory is broken." << LL_ENDL; @@ -1258,8 +1258,8 @@ void LLInventoryModel::changeItemParent(LLViewerInventoryItem* item, { if (item->getParentUUID() == new_parent_id) { - LL_DEBUGS(LOG_INV) << "'" << item->getName() << "' (" << item->getUUID() - << ") is already in folder " << new_parent_id << LL_ENDL; + /*// _LL_DEBUGS(LOG_INV) << "'" << item->getName() << "' (" << item->getUUID() + << ") is already in folder " << new_parent_id << LL_ENDL;*/ } else { @@ -1330,7 +1330,7 @@ void LLInventoryModel::onItemUpdated(const LLUUID& item_id, const LLSD& updates, U32 mask = LLInventoryObserver::NONE; LLPointer<LLViewerInventoryItem> item = gInventory.getItem(item_id); - LL_DEBUGS(LOG_INV) << "item_id: [" << item_id << "] name " << (item ? item->getName() : "(NOT FOUND)") << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "item_id: [" << item_id << "] name " << (item ? item->getName() : "(NOT FOUND)") << LL_ENDL; if(item) { for (LLSD::map_const_iterator it = updates.beginMap(); @@ -1371,7 +1371,7 @@ void LLInventoryModel::onCategoryUpdated(const LLUUID& cat_id, const LLSD& updat U32 mask = LLInventoryObserver::NONE; LLPointer<LLViewerInventoryCategory> cat = gInventory.getCategory(cat_id); - LL_DEBUGS(LOG_INV) << "cat_id: [" << cat_id << "] name " << (cat ? cat->getName() : "(NOT FOUND)") << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "cat_id: [" << cat_id << "] name " << (cat ? cat->getName() : "(NOT FOUND)") << LL_ENDL; if(cat) { for (LLSD::map_const_iterator it = updates.beginMap(); @@ -1509,7 +1509,7 @@ void LLInventoryModel::onObjectDeletedFromServer(const LLUUID& object_id, bool f // Delete a particular inventory object by ID. void LLInventoryModel::deleteObject(const LLUUID& id, bool fix_broken_links, bool do_notify_observers) { - LL_DEBUGS(LOG_INV) << "LLInventoryModel::deleteObject()" << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "LLInventoryModel::deleteObject()" << LL_ENDL; LLPointer<LLInventoryObject> obj = getObject(id); if (!obj) { @@ -1517,7 +1517,7 @@ void LLInventoryModel::deleteObject(const LLUUID& id, bool fix_broken_links, boo return; } - LL_DEBUGS(LOG_INV) << "Deleting inventory object " << id << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "Deleting inventory object " << id << LL_ENDL; mLastItem = NULL; LLUUID parent_id = obj->getParentUUID(); mCategoryMap.erase(id); @@ -1762,8 +1762,8 @@ void LLInventoryModel::cache( const LLUUID& parent_folder_id, const LLUUID& agent_id) { - LL_DEBUGS(LOG_INV) << "Caching " << parent_folder_id << " for " << agent_id - << LL_ENDL; + /*// _LL_DEBUGS(LOG_INV) << "Caching " << parent_folder_id << " for " << agent_id + << LL_ENDL;*/ LLViewerInventoryCategory* root_cat = getCategory(parent_folder_id); if(!root_cat) return; cat_array_t categories; @@ -1784,7 +1784,7 @@ void LLInventoryModel::cache( gzip_filename.append(".gz"); if(gzip_file(inventory_filename, gzip_filename)) { - LL_DEBUGS(LOG_INV) << "Successfully compressed " << inventory_filename << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "Successfully compressed " << inventory_filename << LL_ENDL; LLFile::remove(inventory_filename); } else @@ -1873,9 +1873,9 @@ void LLInventoryModel::addItem(LLViewerInventoryItem* item) if (item->getType() >= LLAssetType::AT_COUNT) { // Not yet supported. - LL_DEBUGS(LOG_INV) << "Got unknown asset type for item [ name: " << item->getName() + /*// _LL_DEBUGS(LOG_INV) << "Got unknown asset type for item [ name: " << item->getName() << " type: " << item->getType() - << " inv-type: " << item->getInventoryType() << " ]." << LL_ENDL; + << " inv-type: " << item->getInventoryType() << " ]." << LL_ENDL;*/ } else { @@ -1940,9 +1940,9 @@ void LLInventoryModel::accountForUpdate(const LLCategoryUpdate& update) const descendents_actual += update.mDescendentDelta; cat->setDescendentCount(descendents_actual); cat->setVersion(++version); - LL_DEBUGS(LOG_INV) << "accounted: '" << cat->getName() << "' " + /*// _LL_DEBUGS(LOG_INV) << "accounted: '" << cat->getName() << "' " << version << " with " << descendents_actual - << " descendents." << LL_ENDL; + << " descendents." << LL_ENDL;*/ } else { @@ -2044,7 +2044,7 @@ bool LLInventoryModel::loadSkeleton( const LLSD& options, const LLUUID& owner_id) { - LL_DEBUGS(LOG_INV) << "importing inventory skeleton for " << owner_id << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "importing inventory skeleton for " << owner_id << LL_ENDL; typedef std::set<LLPointer<LLViewerInventoryCategory>, InventoryIDPtrLess> cat_set_t; cat_set_t temp_cats; @@ -2202,10 +2202,10 @@ bool LLInventoryModel::loadSkeleton( if (item->getIsBrokenLink()) { //bad_link_count++; - LL_DEBUGS(LOG_INV) << "Attempted to add cached link item without baseobj present ( name: " + /*// _LL_DEBUGS(LOG_INV) << "Attempted to add cached link item without baseobj present ( name: " << item->getName() << " itemID: " << item->getUUID() << " assetID: " << item->getAssetUUID() - << " ). Ignoring and invalidating " << cat->getName() << " . " << LL_ENDL; + << " ). Ignoring and invalidating " << cat->getName() << " . " << LL_ENDL;*/ possible_broken_links.push_back(item); continue; } @@ -2272,7 +2272,7 @@ bool LLInventoryModel::loadSkeleton( { LLViewerInventoryCategory* cat = (*invalid_cat_it).get(); cat->setVersion(NO_VERSION); - LL_DEBUGS(LOG_INV) << "Invalidating category name: " << cat->getName() << " UUID: " << cat->getUUID() << " due to invalid descendents cache" << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "Invalidating category name: " << cat->getName() << " UUID: " << cat->getUUID() << " due to invalid descendents cache" << LL_ENDL; } LL_INFOS(LOG_INV) << "Invalidated " << invalid_categories.size() << " categories due to invalid descendents cache" << LL_ENDL; @@ -2911,8 +2911,8 @@ bool LLInventoryModel::messageUpdateCore(LLMessageSystem* msg, bool account, U32 { LLPointer<LLViewerInventoryItem> titem = new LLViewerInventoryItem; titem->unpackMessage(msg, _PREHASH_InventoryData, i); - LL_DEBUGS(LOG_INV) << "LLInventoryModel::messageUpdateCore() item id: " - << titem->getUUID() << LL_ENDL; + /*// _LL_DEBUGS(LOG_INV) << "LLInventoryModel::messageUpdateCore() item id: " + << titem->getUUID() << LL_ENDL;*/ items.push_back(titem); // examine update for changes. LLViewerInventoryItem* itemp = gInventory.getItem(titem->getUUID()); @@ -2959,17 +2959,17 @@ void LLInventoryModel::removeInventoryItem(LLUUID agent_id, LLMessageSystem* msg { LLUUID item_id; S32 count = msg->getNumberOfBlocksFast(msg_label); - LL_DEBUGS(LOG_INV) << "Message has " << count << " item blocks" << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "Message has " << count << " item blocks" << LL_ENDL; uuid_vec_t item_ids; update_map_t update; for(S32 i = 0; i < count; ++i) { msg->getUUIDFast(msg_label, _PREHASH_ItemID, item_id, i); - LL_DEBUGS(LOG_INV) << "Checking for item-to-be-removed " << item_id << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "Checking for item-to-be-removed " << item_id << LL_ENDL; LLViewerInventoryItem* itemp = gInventory.getItem(item_id); if(itemp) { - LL_DEBUGS(LOG_INV) << "Item will be removed " << item_id << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "Item will be removed " << item_id << LL_ENDL; // we only bother with the delete and account if we found // the item - this is usually a back-up for permissions, // so frequently the item will already be gone. @@ -2980,7 +2980,7 @@ void LLInventoryModel::removeInventoryItem(LLUUID agent_id, LLMessageSystem* msg gInventory.accountForUpdate(update); for(uuid_vec_t::iterator it = item_ids.begin(); it != item_ids.end(); ++it) { - LL_DEBUGS(LOG_INV) << "Calling deleteObject " << *it << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "Calling deleteObject " << *it << LL_ENDL; gInventory.deleteObject(*it); } } @@ -2988,7 +2988,7 @@ void LLInventoryModel::removeInventoryItem(LLUUID agent_id, LLMessageSystem* msg // static void LLInventoryModel::processRemoveInventoryItem(LLMessageSystem* msg, void**) { - LL_DEBUGS(LOG_INV) << "LLInventoryModel::processRemoveInventoryItem()" << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "LLInventoryModel::processRemoveInventoryItem()" << LL_ENDL; LLUUID agent_id, item_id; msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id); if(agent_id != gAgent.getID()) @@ -3005,7 +3005,7 @@ void LLInventoryModel::processRemoveInventoryItem(LLMessageSystem* msg, void**) void LLInventoryModel::processUpdateInventoryFolder(LLMessageSystem* msg, void**) { - LL_DEBUGS(LOG_INV) << "LLInventoryModel::processUpdateInventoryFolder()" << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "LLInventoryModel::processUpdateInventoryFolder()" << LL_ENDL; LLUUID agent_id, folder_id, parent_id; //char name[DB_INV_ITEM_NAME_BUF_SIZE]; msg->getUUIDFast(_PREHASH_FolderData, _PREHASH_AgentID, agent_id); @@ -3090,7 +3090,7 @@ void LLInventoryModel::removeInventoryFolder(LLUUID agent_id, void LLInventoryModel::processRemoveInventoryFolder(LLMessageSystem* msg, void**) { - LL_DEBUGS() << "LLInventoryModel::processRemoveInventoryFolder()" << LL_ENDL; + // _LL_DEBUGS() << "LLInventoryModel::processRemoveInventoryFolder()" << LL_ENDL; LLUUID agent_id, session_id; msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id); msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_SessionID, session_id); @@ -3108,7 +3108,7 @@ void LLInventoryModel::processRemoveInventoryFolder(LLMessageSystem* msg, void LLInventoryModel::processRemoveInventoryObjects(LLMessageSystem* msg, void**) { - LL_DEBUGS() << "LLInventoryModel::processRemoveInventoryObjects()" << LL_ENDL; + // _LL_DEBUGS() << "LLInventoryModel::processRemoveInventoryObjects()" << LL_ENDL; LLUUID agent_id, session_id; msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id); msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_SessionID, session_id); @@ -3142,8 +3142,8 @@ void LLInventoryModel::processSaveAssetIntoInventory(LLMessageSystem* msg, // The viewer ignores the asset id because this message is only // used for attachments/objects, so the asset id is not used in // the viewer anyway. - LL_DEBUGS() << "LLInventoryModel::processSaveAssetIntoInventory itemID=" - << item_id << LL_ENDL; + /*// _LL_DEBUGS() << "LLInventoryModel::processSaveAssetIntoInventory itemID=" + << item_id << LL_ENDL;*/ LLViewerInventoryItem* item = gInventory.getItem( item_id ); if( item ) { @@ -3192,7 +3192,7 @@ void LLInventoryModel::processBulkUpdateInventory(LLMessageSystem* msg, void**) LLUUID tid; msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_TransactionID, tid); #ifndef LL_RELEASE_FOR_DOWNLOAD - LL_DEBUGS("Inventory") << "Bulk inventory: " << tid << LL_ENDL; + // _LL_DEBUGS("Inventory") << "Bulk inventory: " << tid << LL_ENDL; #endif update_map_t update; @@ -3204,9 +3204,9 @@ void LLInventoryModel::processBulkUpdateInventory(LLMessageSystem* msg, void**) { LLPointer<LLViewerInventoryCategory> tfolder = new LLViewerInventoryCategory(gAgent.getID()); tfolder->unpackMessage(msg, _PREHASH_FolderData, i); - LL_DEBUGS("Inventory") << "unpacked folder '" << tfolder->getName() << "' (" + /*// _LL_DEBUGS("Inventory") << "unpacked folder '" << tfolder->getName() << "' (" << tfolder->getUUID() << ") in " << tfolder->getParentUUID() - << LL_ENDL; + << LL_ENDL;*/ // If the folder is a listing or a version folder, all we need to do is update the SLM data int depth_folder = depth_nesting_in_marketplace(tfolder->getUUID()); @@ -3271,8 +3271,8 @@ void LLInventoryModel::processBulkUpdateInventory(LLMessageSystem* msg, void**) { LLPointer<LLViewerInventoryItem> titem = new LLViewerInventoryItem; titem->unpackMessage(msg, _PREHASH_ItemData, i); - LL_DEBUGS("Inventory") << "unpacked item '" << titem->getName() << "' in " - << titem->getParentUUID() << LL_ENDL; + /*// _LL_DEBUGS("Inventory") << "unpacked item '" << titem->getName() << "' in " + << titem->getParentUUID() << LL_ENDL;*/ U32 callback_id; msg->getU32Fast(_PREHASH_ItemData, _PREHASH_CallbackID, callback_id); if(titem->getUUID().notNull() ) // && callback_id.notNull() ) @@ -3354,7 +3354,7 @@ void LLInventoryModel::processBulkUpdateInventory(LLMessageSystem* msg, void**) // static void LLInventoryModel::processMoveInventoryItem(LLMessageSystem* msg, void**) { - LL_DEBUGS() << "LLInventoryModel::processMoveInventoryItem()" << LL_ENDL; + // _LL_DEBUGS() << "LLInventoryModel::processMoveInventoryItem()" << LL_ENDL; LLUUID agent_id; msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id); if(agent_id != gAgent.getID()) @@ -3379,8 +3379,8 @@ void LLInventoryModel::processMoveInventoryItem(LLMessageSystem* msg, void**) msg->getUUIDFast(_PREHASH_InventoryData, _PREHASH_FolderID, folder_id, i); msg->getString("InventoryData", "NewName", new_name, i); - LL_DEBUGS() << "moving item " << item_id << " to folder " - << folder_id << LL_ENDL; + /*// _LL_DEBUGS() << "moving item " << item_id << " to folder " + << folder_id << LL_ENDL;*/ update_list_t update; LLCategoryUpdate old_folder(item->getParentUUID(), -1); update.push_back(old_folder); @@ -4170,8 +4170,8 @@ void LLInventoryModel::FetchItemHttpHandler::processData(LLSD & content, LLCore: LLPointer<LLViewerInventoryItem> titem = new LLViewerInventoryItem; titem->unpackMessage(content_items[i]); - LL_DEBUGS(LOG_INV) << "ItemHttpHandler::httpSuccess item id: " - << titem->getUUID() << LL_ENDL; + /*// _LL_DEBUGS(LOG_INV) << "ItemHttpHandler::httpSuccess item id: " + << titem->getUUID() << LL_ENDL;*/ items.push_back(titem); // examine update for changes. diff --git a/indra/newview/llinventorymodelbackgroundfetch.cpp b/indra/newview/llinventorymodelbackgroundfetch.cpp index 362fed2aa00..ceb1dc5faf8 100644 --- a/indra/newview/llinventorymodelbackgroundfetch.cpp +++ b/indra/newview/llinventorymodelbackgroundfetch.cpp @@ -258,7 +258,7 @@ void LLInventoryModelBackgroundFetch::start(const LLUUID& id, BOOL recursive) if (cat || (id.isNull() && ! isEverythingFetched())) { // it's a folder, do a bulk fetch - LL_DEBUGS(LOG_INV) << "Start fetching category: " << id << ", recursive: " << recursive << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "Start fetching category: " << id << ", recursive: " << recursive << LL_ENDL; mBackgroundFetchActive = TRUE; mFolderFetchActive = true; diff --git a/indra/newview/llinventoryobserver.cpp b/indra/newview/llinventoryobserver.cpp index 26d7a7a28a8..99a477d6842 100644 --- a/indra/newview/llinventoryobserver.cpp +++ b/indra/newview/llinventoryobserver.cpp @@ -149,10 +149,10 @@ LLInventoryFetchItemsObserver::LLInventoryFetchItemsObserver(const uuid_vec_t& i void LLInventoryFetchItemsObserver::changed(U32 mask) { - LL_DEBUGS() << this << " remaining incomplete " << mIncomplete.size() + /*// _LL_DEBUGS() << this << " remaining incomplete " << mIncomplete.size() << " complete " << mComplete.size() << " wait period " << mFetchingPeriod.getRemainingTimeF32() - << LL_ENDL; + << LL_ENDL;*/ // scan through the incomplete items and move or erase them as // appropriate. @@ -191,8 +191,8 @@ void LLInventoryFetchItemsObserver::changed(U32 mask) if (mIncomplete.empty()) { - LL_DEBUGS() << this << " done at remaining incomplete " - << mIncomplete.size() << " complete " << mComplete.size() << LL_ENDL; + /*// _LL_DEBUGS() << this << " done at remaining incomplete " + << mIncomplete.size() << " complete " << mComplete.size() << LL_ENDL;*/ done(); } //LL_INFOS() << "LLInventoryFetchItemsObserver::changed() mComplete size " << mComplete.size() << LL_ENDL; @@ -229,7 +229,7 @@ void fetch_items_from_llsd(const LLSD& items_llsd) } if (0 == body[i]["items"].size()) { - LL_DEBUGS() << "Skipping body with no items to fetch" << LL_ENDL; + // _LL_DEBUGS() << "Skipping body with no items to fetch" << LL_ENDL; continue; } @@ -481,7 +481,7 @@ void LLInventoryAddItemByAssetObserver::changed(U32 mask) { if (isAssetWatched(asset_uuid)) { - LL_DEBUGS("Inventory_Move") << "Found asset UUID: " << asset_uuid << LL_ENDL; + // _LL_DEBUGS("Inventory_Move") << "Found asset UUID: " << asset_uuid << LL_ENDL; mAddedItems.push_back(item->getUUID()); } } @@ -489,7 +489,7 @@ void LLInventoryAddItemByAssetObserver::changed(U32 mask) if (mAddedItems.size() == mWatchedAssets.size()) { - LL_DEBUGS("Inventory_Move") << "All watched items are added & processed." << LL_ENDL; + // _LL_DEBUGS("Inventory_Move") << "All watched items are added & processed." << LL_ENDL; done(); mAddedItems.clear(); @@ -505,7 +505,7 @@ void LLInventoryAddItemByAssetObserver::watchAsset(const LLUUID& asset_id) { if (mIsDirty) { - LL_DEBUGS("Inventory_Move") << "Watched items are dirty. Clean them." << LL_ENDL; + // _LL_DEBUGS("Inventory_Move") << "Watched items are dirty. Clean them." << LL_ENDL; mWatchedAssets.clear(); mIsDirty = false; } diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index 662f2e2ef89..7b9dfd585d3 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -1083,9 +1083,9 @@ LLFolderViewItem* LLInventoryPanel::buildNewViews(const LLUUID& id, LLInventoryO if (objectp->getType() >= LLAssetType::AT_COUNT) { // Example: Happens when we add assets of new, not yet supported type to library - LL_DEBUGS() << "LLInventoryPanel::buildNewViews called with unknown objectp->mType : " + /*// _LL_DEBUGS() << "LLInventoryPanel::buildNewViews called with unknown objectp->mType : " << ((S32) objectp->getType()) << " name " << objectp->getName() << " UUID " << objectp->getUUID() - << LL_ENDL; + << LL_ENDL;*/ LLInventoryItem* item = (LLInventoryItem*)objectp; if (item) @@ -1751,7 +1751,7 @@ void LLInventoryPanel::openInventoryPanelAndSetSelection(BOOL auto_open, const L if (active_panel) { - LL_DEBUGS("Messaging") << "Highlighting" << obj_id << LL_ENDL; + // _LL_DEBUGS("Messaging") << "Highlighting" << obj_id << LL_ENDL; if (reset_filter) { diff --git a/indra/newview/lllandmarklist.cpp b/indra/newview/lllandmarklist.cpp index 1fc70cd6d64..16b5d90e2f9 100644 --- a/indra/newview/lllandmarklist.cpp +++ b/indra/newview/lllandmarklist.cpp @@ -159,7 +159,7 @@ void LLLandmarkList::processGetAssetReply( } else { - // SJB: No use case for a notification here. Use LL_DEBUGS() instead + // SJB: No use case for a notification here. Use // _LL_DEBUGS() instead if( LL_ERR_ASSET_REQUEST_NOT_IN_DATABASE == status ) { LL_WARNS("Landmarks") << "Missing Landmark" << LL_ENDL; diff --git a/indra/newview/lllogchat.cpp b/indra/newview/lllogchat.cpp index 354f5a453bb..b99e5153f6e 100644 --- a/indra/newview/lllogchat.cpp +++ b/indra/newview/lllogchat.cpp @@ -184,7 +184,7 @@ class LLLogChatTimeScanner: public LLSingleton<LLLogChatTimeScanner> mTimeStream.clear(); } - LL_DEBUGS("LLChatLogParser") + /*// _LL_DEBUGS("LLChatLogParser") << " log_date: " << log_date << " today: " @@ -193,7 +193,7 @@ class LLLogChatTimeScanner: public LLSingleton<LLLogChatTimeScanner> << days_alive << " new time: " << time_str - << LL_ENDL; + << LL_ENDL;*/ } diff --git a/indra/newview/lllogininstance.cpp b/indra/newview/lllogininstance.cpp index 0f846c152ae..808fa138ee3 100644 --- a/indra/newview/lllogininstance.cpp +++ b/indra/newview/lllogininstance.cpp @@ -226,7 +226,7 @@ void LLLoginInstance::constructAuthParams(LLPointer<LLCredential> user_credentia request_params["extended_errors"] = true; // request message_id and message_args // log request_params _before_ adding the credentials - LL_DEBUGS("LLLogin") << "Login parameters: " << LLSDOStreamer<LLSDNotationFormatter>(request_params) << LL_ENDL; + // _LL_DEBUGS("LLLogin") << "Login parameters: " << LLSDOStreamer<LLSDNotationFormatter>(request_params) << LL_ENDL; // Copy the credentials into the request after logging the rest LLSD credentials(user_credential->getLoginParams()); @@ -254,7 +254,7 @@ void LLLoginInstance::constructAuthParams(LLPointer<LLCredential> user_credentia bool LLLoginInstance::handleLoginEvent(const LLSD& event) { - LL_DEBUGS("LLLogin") << "LoginListener called!: \n" << event << LL_ENDL; + // _LL_DEBUGS("LLLogin") << "LoginListener called!: \n" << event << LL_ENDL; if(!(event.has("state") && event.has("change") && event.has("progress"))) { @@ -294,9 +294,9 @@ void LLLoginInstance::handleLoginFailure(const LLSD& event) std::string reason_response = response["reason"].asString(); std::string message_response = response["message"].asString(); - LL_DEBUGS("LLLogin") << "reason " << reason_response + /*// _LL_DEBUGS("LLLogin") << "reason " << reason_response << " message " << message_response - << LL_ENDL; + << LL_ENDL;*/ // For the cases of critical message or TOS agreement, // start the TOS dialog. The dialog response will be handled // by the LLLoginInstance::handleTOSResponse() callback. diff --git a/indra/newview/llmachineid.cpp b/indra/newview/llmachineid.cpp index 57a6ecb604c..12f4ba6247e 100644 --- a/indra/newview/llmachineid.cpp +++ b/indra/newview/llmachineid.cpp @@ -46,8 +46,8 @@ class LLComInitialize LLComInitialize() { mHR = CoInitializeEx(0, COINIT_MULTITHREADED); - if (FAILED(mHR)) - LL_DEBUGS("AppInit") << "Failed to initialize COM library. Error code = 0x" << hex << mHR << LL_ENDL; + //if (FAILED(mHR)) + // _LL_DEBUGS("AppInit") << "Failed to initialize COM library. Error code = 0x" << hex << mHR << LL_ENDL; } ~LLComInitialize() @@ -152,7 +152,7 @@ S32 LLMachineID::init() return 1; // Program has failed. } - LL_DEBUGS("AppInit") << "Connected to ROOT\\CIMV2 WMI namespace" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Connected to ROOT\\CIMV2 WMI namespace" << LL_ENDL; // Step 5: -------------------------------------------------- @@ -266,7 +266,7 @@ S32 LLMachineID::init() has_static_unique_id = true; LL_INFOS("AppInit") << "UniqueID: 0x"; - // Code between here and LL_ENDL is not executed unless the LL_DEBUGS + // Code between here and LL_ENDL is not executed unless the // _LL_DEBUGS // actually produces output for (size_t i = 0; i < len; ++i) { diff --git a/indra/newview/llmanip.cpp b/indra/newview/llmanip.cpp index 2a0eec7e9dc..f46aa4b9b58 100644 --- a/indra/newview/llmanip.cpp +++ b/indra/newview/llmanip.cpp @@ -228,11 +228,11 @@ BOOL LLManip::handleHover(S32 x, S32 y, MASK mask) setMouseCapture( FALSE ); } - LL_DEBUGS("UserInput") << "hover handled by LLManip (active)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLManip (active)" << LL_ENDL; } else { - LL_DEBUGS("UserInput") << "hover handled by LLManip (inactive)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLManip (inactive)" << LL_ENDL; } gViewerWindow->setCursor(UI_CURSOR_ARROW); return TRUE; diff --git a/indra/newview/llmaniprotate.cpp b/indra/newview/llmaniprotate.cpp index de52af94edd..350ac8e35dd 100644 --- a/indra/newview/llmaniprotate.cpp +++ b/indra/newview/llmaniprotate.cpp @@ -523,12 +523,12 @@ BOOL LLManipRotate::handleHover(S32 x, S32 y, MASK mask) drag(x, y); } - LL_DEBUGS("UserInput") << "hover handled by LLManipRotate (active)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLManipRotate (active)" << LL_ENDL; } else { highlightManipulators(x, y); - LL_DEBUGS("UserInput") << "hover handled by LLManipRotate (inactive)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLManipRotate (inactive)" << LL_ENDL; } gViewerWindow->setCursor(UI_CURSOR_TOOLROTATE); diff --git a/indra/newview/llmanipscale.cpp b/indra/newview/llmanipscale.cpp index b02e6df74b1..51d64b70def 100644 --- a/indra/newview/llmanipscale.cpp +++ b/indra/newview/llmanipscale.cpp @@ -428,7 +428,7 @@ BOOL LLManipScale::handleHover(S32 x, S32 y, MASK mask) drag( x, y ); } } - LL_DEBUGS("UserInput") << "hover handled by LLManipScale (active)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLManipScale (active)" << LL_ENDL; } else { @@ -558,7 +558,7 @@ void LLManipScale::highlightManipulators(S32 x, S32 y) } } - LL_DEBUGS("UserInput") << "hover handled by LLManipScale (inactive)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLManipScale (inactive)" << LL_ENDL; } diff --git a/indra/newview/llmaniptranslate.cpp b/indra/newview/llmaniptranslate.cpp index 0bf2c073ad6..c8191cf8d58 100644 --- a/indra/newview/llmaniptranslate.cpp +++ b/indra/newview/llmaniptranslate.cpp @@ -414,7 +414,7 @@ BOOL LLManipTranslate::handleHover(S32 x, S32 y, MASK mask) // Bail out if mouse not down. if( !hasMouseCapture() ) { - LL_DEBUGS("UserInput") << "hover handled by LLManipTranslate (inactive)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLManipTranslate (inactive)" << LL_ENDL; // Always show cursor // gViewerWindow->setCursor(UI_CURSOR_ARROW); gViewerWindow->setCursor(UI_CURSOR_TOOLTRANSLATE); @@ -450,7 +450,7 @@ BOOL LLManipTranslate::handleHover(S32 x, S32 y, MASK mask) // rotation above. if( x == mLastHoverMouseX && y == mLastHoverMouseY && !rotated) { - LL_DEBUGS("UserInput") << "hover handled by LLManipTranslate (mouse unmoved)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLManipTranslate (mouse unmoved)" << LL_ENDL; gViewerWindow->setCursor(UI_CURSOR_TOOLTRANSLATE); return TRUE; } @@ -463,7 +463,7 @@ BOOL LLManipTranslate::handleHover(S32 x, S32 y, MASK mask) { if (abs(mMouseDownX - x) < MOUSE_DRAG_SLOP && abs(mMouseDownY - y) < MOUSE_DRAG_SLOP ) { - LL_DEBUGS("UserInput") << "hover handled by LLManipTranslate (mouse inside slop)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLManipTranslate (mouse inside slop)" << LL_ENDL; gViewerWindow->setCursor(UI_CURSOR_TOOLTRANSLATE); return TRUE; } @@ -480,7 +480,7 @@ BOOL LLManipTranslate::handleHover(S32 x, S32 y, MASK mask) // When we make the copy, we don't want to do any other processing. // If so, the object will also be moved, and the copy will be offset. - LL_DEBUGS("UserInput") << "hover handled by LLManipTranslate (made copy)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLManipTranslate (made copy)" << LL_ENDL; gViewerWindow->setCursor(UI_CURSOR_TOOLTRANSLATE); } } @@ -533,7 +533,7 @@ BOOL LLManipTranslate::handleHover(S32 x, S32 y, MASK mask) if (relative_move.magVecSquared() > max_drag_distance * max_drag_distance) { - LL_DEBUGS("UserInput") << "hover handled by LLManipTranslate (too far)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLManipTranslate (too far)" << LL_ENDL; gViewerWindow->setCursor(UI_CURSOR_NOLOCKED); return TRUE; } @@ -773,7 +773,7 @@ BOOL LLManipTranslate::handleHover(S32 x, S32 y, MASK mask) gAgentCamera.clearFocusObject(); dialog_refresh_all(); // ??? is this necessary? - LL_DEBUGS("UserInput") << "hover handled by LLManipTranslate (active)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLManipTranslate (active)" << LL_ENDL; gViewerWindow->setCursor(UI_CURSOR_TOOLTRANSLATE); return TRUE; } diff --git a/indra/newview/llmaterialmgr.cpp b/indra/newview/llmaterialmgr.cpp index 43c944791ca..91c165b5753 100644 --- a/indra/newview/llmaterialmgr.cpp +++ b/indra/newview/llmaterialmgr.cpp @@ -97,7 +97,7 @@ LLMaterialHttpHandler::~LLMaterialHttpHandler() void LLMaterialHttpHandler::onSuccess(LLCore::HttpResponse * response, const LLSD &content) { - LL_DEBUGS("Materials") << LL_ENDL; + // _LL_DEBUGS("Materials") << LL_ENDL; mCallback(true, content); } @@ -174,30 +174,30 @@ void LLMaterialMgr::markGetPending(const LLUUID& region_id, const LLMaterialID& const LLMaterialPtr LLMaterialMgr::get(const LLUUID& region_id, const LLMaterialID& material_id) { - LL_DEBUGS("Materials") << "region " << region_id << " material id " << material_id << LL_ENDL; + // _LL_DEBUGS("Materials") << "region " << region_id << " material id " << material_id << LL_ENDL; LLMaterialPtr material; material_map_t::const_iterator itMaterial = mMaterials.find(material_id); if (mMaterials.end() != itMaterial) { material = itMaterial->second; - LL_DEBUGS("Materials") << " found material " << LL_ENDL; + // _LL_DEBUGS("Materials") << " found material " << LL_ENDL; } else { if (!isGetPending(region_id, material_id)) { - LL_DEBUGS("Materials") << " material pending " << material_id << LL_ENDL; + // _LL_DEBUGS("Materials") << " material pending " << material_id << LL_ENDL; get_queue_t::iterator itQueue = mGetQueue.find(region_id); if (mGetQueue.end() == itQueue) { - LL_DEBUGS("Materials") << "mGetQueue add region " << region_id << " pending " << material_id << LL_ENDL; + // _LL_DEBUGS("Materials") << "mGetQueue add region " << region_id << " pending " << material_id << LL_ENDL; std::pair<get_queue_t::iterator, bool> ret = mGetQueue.insert(std::pair<LLUUID, material_queue_t>(region_id, material_queue_t())); itQueue = ret.first; } itQueue->second.insert(material_id); markGetPending(region_id, material_id); } - LL_DEBUGS("Materials") << " returning empty material " << LL_ENDL; + // _LL_DEBUGS("Materials") << " returning empty material " << LL_ENDL; material = LLMaterialPtr(); } return material; @@ -210,7 +210,7 @@ boost::signals2::connection LLMaterialMgr::get(const LLUUID& region_id, const LL material_map_t::const_iterator itMaterial = mMaterials.find(material_id); if (itMaterial != mMaterials.end()) { - LL_DEBUGS("Materials") << "region " << region_id << " found materialid " << material_id << LL_ENDL; + // _LL_DEBUGS("Materials") << "region " << region_id << " found materialid " << material_id << LL_ENDL; get_callback_t signal; signal.connect(cb); signal(material_id, itMaterial->second); @@ -223,11 +223,11 @@ boost::signals2::connection LLMaterialMgr::get(const LLUUID& region_id, const LL get_queue_t::iterator itQueue = mGetQueue.find(region_id); if (mGetQueue.end() == itQueue) { - LL_DEBUGS("Materials") << "mGetQueue inserting region "<<region_id << LL_ENDL; + // _LL_DEBUGS("Materials") << "mGetQueue inserting region "<<region_id << LL_ENDL; std::pair<get_queue_t::iterator, bool> ret = mGetQueue.insert(std::pair<LLUUID, material_queue_t>(region_id, material_queue_t())); itQueue = ret.first; } - LL_DEBUGS("Materials") << "adding material id " << material_id << LL_ENDL; + // _LL_DEBUGS("Materials") << "adding material id " << material_id << LL_ENDL; itQueue->second.insert(material_id); markGetPending(region_id, material_id); } @@ -251,7 +251,7 @@ boost::signals2::connection LLMaterialMgr::getTE(const LLUUID& region_id, const material_map_t::const_iterator itMaterial = mMaterials.find(material_id); if (itMaterial != mMaterials.end()) { - LL_DEBUGS("Materials") << "region " << region_id << " found materialid " << material_id << LL_ENDL; + // _LL_DEBUGS("Materials") << "region " << region_id << " found materialid " << material_id << LL_ENDL; get_callback_te_t signal; signal.connect(cb); signal(material_id, itMaterial->second, te); @@ -264,11 +264,11 @@ boost::signals2::connection LLMaterialMgr::getTE(const LLUUID& region_id, const get_queue_t::iterator itQueue = mGetQueue.find(region_id); if (mGetQueue.end() == itQueue) { - LL_DEBUGS("Materials") << "mGetQueue inserting region "<<region_id << LL_ENDL; + // _LL_DEBUGS("Materials") << "mGetQueue inserting region "<<region_id << LL_ENDL; std::pair<get_queue_t::iterator, bool> ret = mGetQueue.insert(std::pair<LLUUID, material_queue_t>(region_id, material_queue_t())); itQueue = ret.first; } - LL_DEBUGS("Materials") << "adding material id " << material_id << LL_ENDL; + // _LL_DEBUGS("Materials") << "adding material id " << material_id << LL_ENDL; itQueue->second.insert(material_id); markGetPending(region_id, material_id); } @@ -299,12 +299,12 @@ void LLMaterialMgr::getAll(const LLUUID& region_id) { if (!isGetAllPending(region_id)) { - LL_DEBUGS("Materials") << "queuing for region " << region_id << LL_ENDL; + // _LL_DEBUGS("Materials") << "queuing for region " << region_id << LL_ENDL; mGetAllQueue.insert(region_id); } else { - LL_DEBUGS("Materials") << "already pending for region " << region_id << LL_ENDL; + // _LL_DEBUGS("Materials") << "already pending for region " << region_id << LL_ENDL; } } @@ -329,7 +329,7 @@ void LLMaterialMgr::put(const LLUUID& object_id, const U8 te, const LLMaterial& put_queue_t::iterator itQueue = mPutQueue.find(object_id); if (mPutQueue.end() == itQueue) { - LL_DEBUGS("Materials") << "mPutQueue insert object " << object_id << LL_ENDL; + // _LL_DEBUGS("Materials") << "mPutQueue insert object " << object_id << LL_ENDL; auto ret = mPutQueue.insert(std::pair<LLUUID, facematerial_map_t>(object_id, facematerial_map_t())); itQueue = ret.first; } @@ -361,7 +361,7 @@ void LLMaterialMgr::setLocalMaterial(const LLUUID& region_id, LLMaterialPtr mate material_id.set(uuid.mData); } - LL_DEBUGS("Materials") << "region " << region_id << "new local material id " << material_id << LL_ENDL; + // _LL_DEBUGS("Materials") << "region " << region_id << "new local material id " << material_id << LL_ENDL; mMaterials.insert(std::pair<LLMaterialID, LLMaterialPtr>(material_id, material_ptr)); setMaterialCallbacks(material_id, material_ptr); @@ -371,11 +371,11 @@ void LLMaterialMgr::setLocalMaterial(const LLUUID& region_id, LLMaterialPtr mate const LLMaterialPtr LLMaterialMgr::setMaterial(const LLUUID& region_id, const LLMaterialID& material_id, const LLSD& material_data) { - LL_DEBUGS("Materials") << "region " << region_id << " material id " << material_id << LL_ENDL; + // _LL_DEBUGS("Materials") << "region " << region_id << " material id " << material_id << LL_ENDL; material_map_t::const_iterator itMaterial = mMaterials.find(material_id); if (mMaterials.end() == itMaterial) { - LL_DEBUGS("Materials") << "new material" << LL_ENDL; + // _LL_DEBUGS("Materials") << "new material" << LL_ENDL; LLMaterialPtr newMaterial(new LLMaterial(material_data)); std::pair<material_map_t::const_iterator, bool> ret = mMaterials.insert(std::pair<LLMaterialID, LLMaterialPtr>(material_id, newMaterial)); itMaterial = ret.first; @@ -442,7 +442,7 @@ void LLMaterialMgr::onGetResponse(bool success, const LLSD& content, const LLUUI } llassert(response_data.isArray()); - LL_DEBUGS("Materials") << "response has "<< response_data.size() << " materials" << LL_ENDL; + // _LL_DEBUGS("Materials") << "response has "<< response_data.size() << " materials" << LL_ENDL; for (LLSD::array_const_iterator itMaterial = response_data.beginArray(); itMaterial != response_data.endArray(); ++itMaterial) { const LLSD& material_data = *itMaterial; @@ -488,7 +488,7 @@ void LLMaterialMgr::onGetAllResponse(bool success, const LLSD& content, const LL material_map_t materials; llassert(response_data.isArray()); - LL_DEBUGS("Materials") << "response has "<< response_data.size() << " materials" << LL_ENDL; + // _LL_DEBUGS("Materials") << "response has "<< response_data.size() << " materials" << LL_ENDL; for (LLSD::array_const_iterator itMaterial = response_data.beginArray(); itMaterial != response_data.endArray(); ++itMaterial) { const LLSD& material_data = *itMaterial; @@ -523,7 +523,7 @@ void LLMaterialMgr::onGetAllResponse(bool success, const LLSD& content, const LL mGetQueue.erase(itQueue); } - LL_DEBUGS("Materials")<< "recording that getAll has been done for region id " << region_id << LL_ENDL; + // _LL_DEBUGS("Materials")<< "recording that getAll has been done for region id " << region_id << LL_ENDL; mGetAllRequested.insert(region_id); // prevents subsequent getAll requests for this region mGetAllPending.erase(region_id); // Invalidates region_id } @@ -555,7 +555,7 @@ void LLMaterialMgr::onPutResponse(bool success, const LLSD& content) else { llassert(response_data.isArray()); - LL_DEBUGS("Materials") << "response has "<< response_data.size() << " materials" << LL_ENDL; + // _LL_DEBUGS("Materials") << "response has "<< response_data.size() << " materials" << LL_ENDL; for (LLSD::array_const_iterator faceIter = response_data.beginArray(); faceIter != response_data.endArray(); ++faceIter) { # ifdef SHOW_ASSERT // same condition that controls llassert() @@ -645,7 +645,7 @@ void LLMaterialMgr::processGetQueue() } else if (mGetAllRequested.end() == mGetAllRequested.find(region_id)) { - LL_DEBUGS("Materials") << "calling getAll for " << regionp->getName() << LL_ENDL; + // _LL_DEBUGS("Materials") << "calling getAll for " << regionp->getName() << LL_ENDL; getAll(region_id); continue; } @@ -697,8 +697,8 @@ void LLMaterialMgr::processGetQueue() boost::bind(&LLMaterialMgr::onGetResponse, this, _1, _2, region_id) )); - LL_DEBUGS("Materials") << "POSTing to region '" << regionp->getName() << "' at '" << capURL << " for " << materialsData.size() << " materials." - << "\ndata: " << ll_pretty_print_sd(materialsData) << LL_ENDL; + /*// _LL_DEBUGS("Materials") << "POSTing to region '" << regionp->getName() << "' at '" << capURL << " for " << materialsData.size() << " materials." + << "\ndata: " << ll_pretty_print_sd(materialsData) << LL_ENDL;*/ LLCore::HttpHandle handle = LLCoreHttpUtil::requestPostWithLLSD(mHttpRequest, mHttpPolicy, mHttpPriority, capURL, @@ -740,7 +740,7 @@ void LLMaterialMgr::processGetQueueCoro() } else if (mGetAllRequested.end() == mGetAllRequested.find(region_id)) { - LL_DEBUGS("Materials") << "calling getAll for " << regionp->getName() << LL_ENDL; + // _LL_DEBUGS("Materials") << "calling getAll for " << regionp->getName() << LL_ENDL; getAll(region_id); continue; } @@ -792,7 +792,7 @@ void LLMaterialMgr::processGetQueueCoro() boost::bind(&LLMaterialMgr::onGetResponse, this, _1, _2, region_id) ); - LL_DEBUGS("Materials") << "POSTing to region '" << regionp->getName() << "' at '" << capURL << " for " << materialsData.size() << " materials." + // _LL_DEBUGS("Materials") << "POSTing to region '" << regionp->getName() << "' at '" << capURL << " for " << materialsData.size() << " materials." << "\ndata: " << ll_pretty_print_sd(materialsData) << LL_ENDL; LLCore::HttpHandle handle = LLCoreHttpUtil::requestPostWithLLSD(mHttpRequest, @@ -871,7 +871,7 @@ void LLMaterialMgr::processGetAllQueueCoro(LLUUID regionId) return; } - LL_DEBUGS("Materials") << "GET all for region " << regionId << "url " << capURL << LL_ENDL; + // _LL_DEBUGS("Materials") << "GET all for region " << regionId << "url " << capURL << LL_ENDL; LLCoreHttpUtil::HttpCoroutineAdapter::ptr_t httpAdapter( new LLCoreHttpUtil::HttpCoroutineAdapter("processGetAllQueue", LLCore::HttpRequest::DEFAULT_POLICY_ID)); @@ -980,7 +980,7 @@ void LLMaterialMgr::processPutQueue() LLSD putData = LLSD::emptyMap(); putData[MATERIALS_CAP_ZIP_FIELD] = materialBinary; - LL_DEBUGS("Materials") << "put for " << itRequest->second.size() << " faces to region " << itRequest->first->getName() << LL_ENDL; + // _LL_DEBUGS("Materials") << "put for " << itRequest->second.size() << " faces to region " << itRequest->first->getName() << LL_ENDL; LLCore::HttpHandler::ptr_t handler (new LLMaterialHttpHandler("PUT", boost::bind(&LLMaterialMgr::onPutResponse, this, _1, _2) diff --git a/indra/newview/llmediactrl.cpp b/indra/newview/llmediactrl.cpp index a6128389f31..46a7cd0f628 100644 --- a/indra/newview/llmediactrl.cpp +++ b/indra/newview/llmediactrl.cpp @@ -975,19 +975,19 @@ void LLMediaCtrl::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent event) { case MEDIA_EVENT_CONTENT_UPDATED: { - // LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CONTENT_UPDATED " << LL_ENDL; + // // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CONTENT_UPDATED " << LL_ENDL; }; break; case MEDIA_EVENT_TIME_DURATION_UPDATED: { - // LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_TIME_DURATION_UPDATED, time is " << self->getCurrentTime() << " of " << self->getDuration() << LL_ENDL; + // // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_TIME_DURATION_UPDATED, time is " << self->getCurrentTime() << " of " << self->getDuration() << LL_ENDL; }; break; case MEDIA_EVENT_SIZE_CHANGED: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_SIZE_CHANGED " << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_SIZE_CHANGED " << LL_ENDL; LLRect r = getRect(); reshape( r.getWidth(), r.getHeight(), FALSE ); }; @@ -995,20 +995,20 @@ void LLMediaCtrl::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent event) case MEDIA_EVENT_CURSOR_CHANGED: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CURSOR_CHANGED, new cursor is " << self->getCursorName() << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CURSOR_CHANGED, new cursor is " << self->getCursorName() << LL_ENDL; } break; case MEDIA_EVENT_NAVIGATE_BEGIN: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAVIGATE_BEGIN, url is " << self->getNavigateURI() << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAVIGATE_BEGIN, url is " << self->getNavigateURI() << LL_ENDL; hideNotification(); }; break; case MEDIA_EVENT_NAVIGATE_COMPLETE: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAVIGATE_COMPLETE, result string is: " << self->getNavigateResultString() << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAVIGATE_COMPLETE, result string is: " << self->getNavigateResultString() << LL_ENDL; if(mHidingInitialLoad) { mHidingInitialLoad = false; @@ -1018,25 +1018,25 @@ void LLMediaCtrl::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent event) case MEDIA_EVENT_PROGRESS_UPDATED: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_PROGRESS_UPDATED, loading at " << self->getProgressPercent() << "%" << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_PROGRESS_UPDATED, loading at " << self->getProgressPercent() << "%" << LL_ENDL; }; break; case MEDIA_EVENT_STATUS_TEXT_CHANGED: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_STATUS_TEXT_CHANGED, new status text is: " << self->getStatusText() << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_STATUS_TEXT_CHANGED, new status text is: " << self->getStatusText() << LL_ENDL; }; break; case MEDIA_EVENT_LOCATION_CHANGED: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_LOCATION_CHANGED, new uri is: " << self->getLocation() << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_LOCATION_CHANGED, new uri is: " << self->getLocation() << LL_ENDL; }; break; case MEDIA_EVENT_NAVIGATE_ERROR_PAGE: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAVIGATE_ERROR_PAGE" << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAVIGATE_ERROR_PAGE" << LL_ENDL; if ( mErrorPageURL.length() > 0 ) { navigateTo(mErrorPageURL, HTTP_CONTENT_TEXT_HTML); @@ -1050,7 +1050,7 @@ void LLMediaCtrl::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent event) std::string url = self->getClickURL(); std::string target = self->isOverrideClickTarget() ? self->getOverrideClickTarget() : self->getClickTarget(); std::string uuid = self->getClickUUID(); - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CLICK_LINK_HREF, target is \"" << target << "\", uri is " << url << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CLICK_LINK_HREF, target is \"" << target << "\", uri is " << url << LL_ENDL; // try as slurl first if (!LLURLDispatcher::dispatch(url, "clicked", NULL, mTrusted)) @@ -1078,43 +1078,43 @@ void LLMediaCtrl::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent event) case MEDIA_EVENT_CLICK_LINK_NOFOLLOW: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CLICK_LINK_NOFOLLOW, uri is " << self->getClickURL() << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CLICK_LINK_NOFOLLOW, uri is " << self->getClickURL() << LL_ENDL; }; break; case MEDIA_EVENT_PLUGIN_FAILED: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_PLUGIN_FAILED" << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_PLUGIN_FAILED" << LL_ENDL; }; break; case MEDIA_EVENT_PLUGIN_FAILED_LAUNCH: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_PLUGIN_FAILED_LAUNCH" << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_PLUGIN_FAILED_LAUNCH" << LL_ENDL; }; break; case MEDIA_EVENT_NAME_CHANGED: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAME_CHANGED" << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAME_CHANGED" << LL_ENDL; }; break; case MEDIA_EVENT_CLOSE_REQUEST: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CLOSE_REQUEST" << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CLOSE_REQUEST" << LL_ENDL; } break; case MEDIA_EVENT_PICK_FILE_REQUEST: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_PICK_FILE_REQUEST" << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_PICK_FILE_REQUEST" << LL_ENDL; } break; case MEDIA_EVENT_GEOMETRY_CHANGE: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_GEOMETRY_CHANGE, uuid is " << self->getClickUUID() << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_GEOMETRY_CHANGE, uuid is " << self->getClickUUID() << LL_ENDL; } break; @@ -1138,7 +1138,7 @@ void LLMediaCtrl::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent event) case MEDIA_EVENT_LINK_HOVERED: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_LINK_HOVERED, hover text is: " << self->getHoverText() << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_LINK_HOVERED, hover text is: " << self->getHoverText() << LL_ENDL; mHoverTextChanged = true; }; break; diff --git a/indra/newview/llmediadataclient.cpp b/indra/newview/llmediadataclient.cpp index bc45eb6d3ae..68549525e38 100644 --- a/indra/newview/llmediadataclient.cpp +++ b/indra/newview/llmediadataclient.cpp @@ -210,7 +210,7 @@ bool LLMediaDataClient::isInQueue(const LLMediaDataClientObject::ptr_t &object) void LLMediaDataClient::removeFromQueue(const LLMediaDataClientObject::ptr_t &object) { - LL_DEBUGS("LLMediaDataClient") << "removing requests matching ID " << object->getID() << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClient") << "removing requests matching ID " << object->getID() << LL_ENDL; PredicateMatchRequest upred(object->getID()); mark_dead_and_remove_if(mQueue, upred); @@ -221,12 +221,12 @@ void LLMediaDataClient::startQueueTimer() { if (! mQueueTimerIsRunning) { - LL_DEBUGS("LLMediaDataClient") << "starting queue timer (delay=" << mQueueTimerDelay << " seconds)" << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClient") << "starting queue timer (delay=" << mQueueTimerDelay << " seconds)" << LL_ENDL; // LLEventTimer automagically takes care of the lifetime of this object new QueueTimer(mQueueTimerDelay, this); } else { - LL_DEBUGS("LLMediaDataClient") << "queue timer is already running" << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClient") << "queue timer is already running" << LL_ENDL; } } @@ -240,14 +240,14 @@ bool LLMediaDataClient::processQueueTimer() if (isDoneProcessing()) return true; - LL_DEBUGS("LLMediaDataClient") << "QueueTimer::tick() started, queue size is: " << mQueue.size() << LL_ENDL; - LL_DEBUGS("LLMediaDataClientQueue") << "QueueTimer::tick() started, SORTED queue is: " << mQueue << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClient") << "QueueTimer::tick() started, queue size is: " << mQueue.size() << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClientQueue") << "QueueTimer::tick() started, SORTED queue is: " << mQueue << LL_ENDL; serviceQueue(); serviceHttp(); - LL_DEBUGS("LLMediaDataClient") << "QueueTimer::tick() finished, queue size is: " << mQueue.size() << LL_ENDL; - LL_DEBUGS("LLMediaDataClientQueue") << "QueueTimer::tick() finished, SORTED queue is: " << mQueue << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClient") << "QueueTimer::tick() finished, queue size is: " << mQueue.size() << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClientQueue") << "QueueTimer::tick() finished, SORTED queue is: " << mQueue << LL_ENDL; return isDoneProcessing(); } @@ -259,7 +259,7 @@ LLMediaDataClient::Request::ptr_t LLMediaDataClient::dequeue() if (queue_p->empty()) { - LL_DEBUGS("LLMediaDataClient") << "queue empty: " << (*queue_p) << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClient") << "queue empty: " << (*queue_p) << LL_ENDL; } else { @@ -565,7 +565,7 @@ void LLMediaDataClient::Request::updateScore() F64 tmp = mObject->getMediaInterest(); if (tmp != mScore) { - LL_DEBUGS("LLMediaDataClient") << "Score for " << mObject->getID() << " changed from " << mScore << " to " << tmp << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClient") << "Score for " << mObject->getID() << " changed from " << mScore << " to " << tmp << LL_ENDL; mScore = tmp; } } @@ -620,7 +620,7 @@ void LLMediaDataClient::Handler::onSuccess(LLCore::HttpResponse * response, cons return; } - LL_DEBUGS("LLMediaDataClientResponse") << *mRequest << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClientResponse") << *mRequest << LL_ENDL; } void LLMediaDataClient::Handler::onFailure(LLCore::HttpResponse * response, LLCore::HttpStatus status) @@ -722,13 +722,13 @@ void LLObjectMediaDataClient::enqueue(Request::ptr_t request) static LLCachedControl<bool> audio_streaming_enabled(gSavedSettings, "AudioStreamingMedia", true); if (!audio_streaming_enabled) { - LL_DEBUGS("LLMediaDataClient") << "not queueing request when Media is disabled " << *request << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClient") << "not queueing request when Media is disabled " << *request << LL_ENDL; return; } if(request->isDead()) { - LL_DEBUGS("LLMediaDataClient") << "not queueing dead request " << *request << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClient") << "not queueing dead request " << *request << LL_ENDL; return; } @@ -748,7 +748,7 @@ void LLObjectMediaDataClient::enqueue(Request::ptr_t request) if( (iter != mRoundRobinQueue.end()) || (iter2 != mUnQueuedRequests.end()) ) { - LL_DEBUGS("LLMediaDataClient") << "ALREADY THERE: NOT Queuing request for " << *request << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClient") << "ALREADY THERE: NOT Queuing request for " << *request << LL_ENDL; return; } @@ -766,26 +766,26 @@ void LLObjectMediaDataClient::enqueue(Request::ptr_t request) if (is_new) { - LL_DEBUGS("LLMediaDataClient") << "Queuing SORTED request for " << *request << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClient") << "Queuing SORTED request for " << *request << LL_ENDL; mQueue.push_back(request); - LL_DEBUGS("LLMediaDataClientQueue") << "SORTED queue:" << mQueue << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClientQueue") << "SORTED queue:" << mQueue << LL_ENDL; } else { if (mRoundRobinQueue.size() > mMaxRoundRobinQueueSize) { LL_INFOS_ONCE("LLMediaDataClient") << "RR QUEUE MAXED OUT!!!" << LL_ENDL; - LL_DEBUGS("LLMediaDataClient") << "Not queuing " << *request << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClient") << "Not queuing " << *request << LL_ENDL; return; } - LL_DEBUGS("LLMediaDataClient") << "Queuing RR request for " << *request << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClient") << "Queuing RR request for " << *request << LL_ENDL; // Push the request on the pending queue mRoundRobinQueue.push_back(request); - LL_DEBUGS("LLMediaDataClientQueue") << "RR queue:" << mRoundRobinQueue << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClientQueue") << "RR queue:" << mRoundRobinQueue << LL_ENDL; } // Start the timer if not already running startQueueTimer(); @@ -797,7 +797,7 @@ bool LLObjectMediaDataClient::canServiceRequest(Request::ptr_t request) { if(!request->getObject()->isInterestingEnough()) { - LL_DEBUGS("LLMediaDataClient") << "Not fetching " << *request << ": not interesting enough" << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClient") << "Not fetching " << *request << ": not interesting enough" << LL_ENDL; return false; } } @@ -846,26 +846,26 @@ bool LLObjectMediaDataClient::processQueueTimer() if (isDoneProcessing()) return true; - LL_DEBUGS("LLMediaDataClient") << "started, SORTED queue size is: " << mQueue.size() - << ", RR queue size is: " << mRoundRobinQueue.size() << LL_ENDL; - LL_DEBUGS("LLMediaDataClientQueue") << " SORTED queue is: " << mQueue << LL_ENDL; - LL_DEBUGS("LLMediaDataClientQueue") << " RR queue is: " << mRoundRobinQueue << LL_ENDL; + /*// _LL_DEBUGS("LLMediaDataClient") << "started, SORTED queue size is: " << mQueue.size() + << ", RR queue size is: " << mRoundRobinQueue.size() << LL_ENDL;*/ + // _LL_DEBUGS("LLMediaDataClientQueue") << " SORTED queue is: " << mQueue << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClientQueue") << " RR queue is: " << mRoundRobinQueue << LL_ENDL; // purgeDeadRequests(); sortQueue(); - LL_DEBUGS("LLMediaDataClientQueue") << "after sort, SORTED queue is: " << mQueue << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClientQueue") << "after sort, SORTED queue is: " << mQueue << LL_ENDL; serviceQueue(); serviceHttp(); swapCurrentQueue(); - LL_DEBUGS("LLMediaDataClient") << "finished, SORTED queue size is: " << mQueue.size() - << ", RR queue size is: " << mRoundRobinQueue.size() << LL_ENDL; - LL_DEBUGS("LLMediaDataClientQueue") << " SORTED queue is: " << mQueue << LL_ENDL; - LL_DEBUGS("LLMediaDataClientQueue") << " RR queue is: " << mRoundRobinQueue << LL_ENDL; + /*// _LL_DEBUGS("LLMediaDataClient") << "finished, SORTED queue size is: " << mQueue.size() + << ", RR queue size is: " << mRoundRobinQueue.size() << LL_ENDL;*/ + // _LL_DEBUGS("LLMediaDataClientQueue") << " SORTED queue is: " << mQueue << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClientQueue") << " RR queue is: " << mRoundRobinQueue << LL_ENDL; return isDoneProcessing(); } @@ -942,7 +942,7 @@ void LLObjectMediaDataClient::Handler::onSuccess(LLCore::HttpResponse * response } // This responder is only used for GET requests, not UPDATE. - LL_DEBUGS("LLMediaDataClientResponse") << *(getRequest()) << " " << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClientResponse") << *(getRequest()) << " " << LL_ENDL; // Look for an error if (content.has("error")) @@ -989,13 +989,13 @@ void LLObjectMediaNavigateClient::enqueue(Request::ptr_t request) static LLCachedControl<bool> audio_streaming_enabled(gSavedSettings, "AudioStreamingMedia", true); if (!audio_streaming_enabled) { - LL_DEBUGS("LLMediaDataClient") << "not queueing request when Media is disabled " << *request << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClient") << "not queueing request when Media is disabled " << *request << LL_ENDL; return; } if(request->isDead()) { - LL_DEBUGS("LLMediaDataClient") << "not queuing dead request " << *request << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClient") << "not queuing dead request " << *request << LL_ENDL; return; } @@ -1005,7 +1005,7 @@ void LLObjectMediaNavigateClient::enqueue(Request::ptr_t request) request_queue_t::iterator iter = std::find_if(mQueue.begin(), mQueue.end(), upred); if(iter != mQueue.end()) { - LL_DEBUGS("LLMediaDataClient") << "removing matching queued request " << (**iter) << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClient") << "removing matching queued request " << (**iter) << LL_ENDL; mQueue.erase(iter); } else @@ -1013,7 +1013,7 @@ void LLObjectMediaNavigateClient::enqueue(Request::ptr_t request) request_set_t::iterator set_iter = std::find_if(mUnQueuedRequests.begin(), mUnQueuedRequests.end(), upred); if(set_iter != mUnQueuedRequests.end()) { - LL_DEBUGS("LLMediaDataClient") << "removing matching unqueued request " << (**set_iter) << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClient") << "removing matching unqueued request " << (**set_iter) << LL_ENDL; mUnQueuedRequests.erase(set_iter); } } @@ -1024,12 +1024,12 @@ void LLObjectMediaNavigateClient::enqueue(Request::ptr_t request) if(request->getObject()->isCurrentMediaUrl(request->getFace(), request->getURL())) { // This navigate request is trying to send the face to the current URL. Drop it. - LL_DEBUGS("LLMediaDataClient") << "dropping spurious request " << (*request) << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClient") << "dropping spurious request " << (*request) << LL_ENDL; } else #endif { - LL_DEBUGS("LLMediaDataClient") << "queuing new request " << (*request) << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClient") << "queuing new request " << (*request) << LL_ENDL; mQueue.push_back(request); // Start the timer if not already running @@ -1098,7 +1098,7 @@ void LLObjectMediaNavigateClient::Handler::onSuccess(LLCore::HttpResponse * resp else { // No action required. - LL_DEBUGS("LLMediaDataClientResponse") << *(getRequest()) << LL_ENDL; + // _LL_DEBUGS("LLMediaDataClientResponse") << *(getRequest()) << LL_ENDL; } } diff --git a/indra/newview/llmeshrepository.cpp b/indra/newview/llmeshrepository.cpp index e3660830043..950824d172c 100644 --- a/indra/newview/llmeshrepository.cpp +++ b/indra/newview/llmeshrepository.cpp @@ -998,7 +998,7 @@ void LLMeshRepoThread::run() } else { - LL_DEBUGS() << "mHeaderReqQ failed: " << req.mMeshParams << LL_ENDL; + // _LL_DEBUGS() << "mHeaderReqQ failed: " << req.mMeshParams << LL_ENDL; } } } @@ -1040,7 +1040,7 @@ void LLMeshRepoThread::run() { LLMutexLock locker(mMutex); mSkinUnavailableQ.push(req); - LL_DEBUGS() << "mSkinReqQ failed: " << req.mId << LL_ENDL; + // _LL_DEBUGS() << "mSkinReqQ failed: " << req.mId << LL_ENDL; } } } @@ -1082,7 +1082,7 @@ void LLMeshRepoThread::run() } else { - LL_DEBUGS() << "mDecompositionRequests failed: " << req.mId << LL_ENDL; + // _LL_DEBUGS() << "mDecompositionRequests failed: " << req.mId << LL_ENDL; } } } @@ -1118,7 +1118,7 @@ void LLMeshRepoThread::run() } else { - LL_DEBUGS() << "mPhysicsShapeRequests failed: " << req.mId << LL_ENDL; + // _LL_DEBUGS() << "mPhysicsShapeRequests failed: " << req.mId << LL_ENDL; } } } @@ -1242,13 +1242,13 @@ void LLMeshRepoThread::constructUrl(LLUUID mesh_id, std::string * url) { LL_WARNS_ONCE(LOG_MESH) << "Current region does not have ViewerAsset capability! Cannot load meshes. Region id: " << gAgent.getRegion()->getRegionID() << LL_ENDL; - LL_DEBUGS_ONCE(LOG_MESH) << "Cannot load mesh " << mesh_id << " due to missing capability." << LL_ENDL; + // _LL_DEBUGS_ONCE(LOG_MESH) << "Cannot load mesh " << mesh_id << " due to missing capability." << LL_ENDL; } } else { LL_WARNS_ONCE(LOG_MESH) << "Current region is not loaded so there is no capability to load from! Cannot load meshes." << LL_ENDL; - LL_DEBUGS_ONCE(LOG_MESH) << "Cannot load mesh " << mesh_id << " due to missing capability." << LL_ENDL; + // _LL_DEBUGS_ONCE(LOG_MESH) << "Cannot load mesh " << mesh_id << " due to missing capability." << LL_ENDL; } *url = std::move(res_url); @@ -1984,7 +1984,7 @@ bool LLMeshRepoThread::skinInfoReceived(const LLUUID& mesh_id, U8* data, S32 dat LLMeshSkinInfo info(skin); info.mMeshID = mesh_id; - // LL_DEBUGS(LOG_MESH) << "info pelvis offset" << info.mPelvisOffset << LL_ENDL; + // // _LL_DEBUGS(LOG_MESH) << "info pelvis offset" << info.mPelvisOffset << LL_ENDL; { LLMutexLock lock(mMutex); mSkinInfoQ.emplace(std::move(info)); @@ -2641,7 +2641,7 @@ void LLMeshUploadThread::generateHulls() void LLMeshUploadThread::doWholeModelUpload() { - LL_DEBUGS(LOG_MESH) << "Starting model upload. Instances: " << mInstance.size() << LL_ENDL; + // _LL_DEBUGS(LOG_MESH) << "Starting model upload. Instances: " << mInstance.size() << LL_ENDL; if (mWholeModelUploadURL.empty()) { @@ -2651,7 +2651,7 @@ void LLMeshUploadThread::doWholeModelUpload() else { generateHulls(); - LL_DEBUGS(LOG_MESH) << "Hull generation completed." << LL_ENDL; + // _LL_DEBUGS(LOG_MESH) << "Hull generation completed." << LL_ENDL; mModelData = LLSD::emptyMap(); wholeModelToLLSD(mModelData, true); @@ -2679,7 +2679,7 @@ void LLMeshUploadThread::doWholeModelUpload() { U32 sleep_time(10); - LL_DEBUGS(LOG_MESH) << "POST request issued." << LL_ENDL; + // _LL_DEBUGS(LOG_MESH) << "POST request issued." << LL_ENDL; mHttpRequest->update(0); while (! LLApp::isQuitting() && ! finished() && ! isDiscarded()) @@ -2691,11 +2691,11 @@ void LLMeshUploadThread::doWholeModelUpload() if (isDiscarded()) { - LL_DEBUGS(LOG_MESH) << "Mesh upload operation discarded." << LL_ENDL; + // _LL_DEBUGS(LOG_MESH) << "Mesh upload operation discarded." << LL_ENDL; } else { - LL_DEBUGS(LOG_MESH) << "Mesh upload operation completed." << LL_ENDL; + // _LL_DEBUGS(LOG_MESH) << "Mesh upload operation completed." << LL_ENDL; } } } @@ -2739,7 +2739,7 @@ void LLMeshUploadThread::requestWholeModelFee() } if (isDiscarded()) { - LL_DEBUGS(LOG_MESH) << "Mesh fee query operation discarded." << LL_ENDL; + // _LL_DEBUGS(LOG_MESH) << "Mesh fee query operation discarded." << LL_ENDL; } } } @@ -3890,9 +3890,9 @@ void LLMeshRepository::notifyLoadedMeshes() region_name = gAgent.getRegion()->getName(); const std::string mesh_cap(gAgent.getRegion()->getViewerAssetUrl()); mThread->setGetMeshCap(mesh_cap); - LL_DEBUGS(LOG_MESH) << "Retrieving caps for region '" << region_name + /*// _LL_DEBUGS(LOG_MESH) << "Retrieving caps for region '" << region_name << "', ViewerAsset cap: " << mesh_cap - << LL_ENDL; + << LL_ENDL;*/ } } @@ -4666,11 +4666,11 @@ F32 LLMeshCostData::getRadiusWeightedTris(F32 radius) F32 LLMeshCostData::getEstTrisForStreamingCost() { - LL_DEBUGS("StreamingCost") << "tris_by_lod: " + /*// _LL_DEBUGS("StreamingCost") << "tris_by_lod: " << mEstTrisByLOD[0] << ", " << mEstTrisByLOD[1] << ", " << mEstTrisByLOD[2] << ", " - << mEstTrisByLOD[3] << LL_ENDL; + << mEstTrisByLOD[3] << LL_ENDL;*/ F32 charged_tris = mEstTrisByLOD[3]; F32 allowed_tris = mEstTrisByLOD[3]; @@ -4684,7 +4684,7 @@ F32 LLMeshCostData::getEstTrisForStreamingCost() F32 excess_tris = mEstTrisByLOD[i]-allowed_tris; if (excess_tris>0.f) { - LL_DEBUGS("StreamingCost") << "excess tris in lod[" << i << "] " << excess_tris << " allowed " << allowed_tris << LL_ENDL; + // _LL_DEBUGS("StreamingCost") << "excess tris in lod[" << i << "] " << excess_tris << " allowed " << allowed_tris << LL_ENDL; charged_tris += excess_tris; } } diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp index dc384a98aaf..d231514ef3d 100644 --- a/indra/newview/llmodelpreview.cpp +++ b/indra/newview/llmodelpreview.cpp @@ -1837,7 +1837,7 @@ void LLModelPreview::updateStatusMessages() if (index_c == 0 && index_b == 0 && index_a == 0) // test in reverse as 3rd index is less likely to be 0 in a normal case { - LL_DEBUGS("MeshValidation") << "Empty placeholder triangle (3 identical index 0 verts) ignored" << LL_ENDL; + // _LL_DEBUGS("MeshValidation") << "Empty placeholder triangle (3 identical index 0 verts) ignored" << LL_ENDL; } else { diff --git a/indra/newview/llnamelistctrl.cpp b/indra/newview/llnamelistctrl.cpp index b741bc04c38..6a5a60bb959 100644 --- a/indra/newview/llnamelistctrl.cpp +++ b/indra/newview/llnamelistctrl.cpp @@ -127,7 +127,7 @@ BOOL LLNameListCtrl::handleDragAndDrop( } handled = TRUE; - LL_DEBUGS("UserInput") << "dragAndDrop handled by LLNameListCtrl " << getName() << LL_ENDL; + // _LL_DEBUGS("UserInput") << "dragAndDrop handled by LLNameListCtrl " << getName() << LL_ENDL; return handled; } diff --git a/indra/newview/llnavigationbar.cpp b/indra/newview/llnavigationbar.cpp index 1804beeb693..5688ee20edd 100644 --- a/indra/newview/llnavigationbar.cpp +++ b/indra/newview/llnavigationbar.cpp @@ -664,7 +664,7 @@ void LLNavigationBar::showTeleportHistoryMenu(LLUICtrl* btn_ctrl) // Don't show the popup if teleport history is empty. if (LLTeleportHistory::getInstance()->isEmpty()) { - LL_DEBUGS() << "Teleport history is empty, will not show the menu." << LL_ENDL; + // _LL_DEBUGS() << "Teleport history is empty, will not show the menu." << LL_ENDL; return; } diff --git a/indra/newview/lloutputmonitorctrl.cpp b/indra/newview/lloutputmonitorctrl.cpp index e9fe493d7ec..b34ee6c56f2 100644 --- a/indra/newview/lloutputmonitorctrl.cpp +++ b/indra/newview/lloutputmonitorctrl.cpp @@ -349,7 +349,7 @@ void LLOutputMonitorCtrl::switchIndicator(bool switch_on) ////////////////////////////////////////////////////////////////////////// void LLOutputMonitorCtrl::notifyParentVisibilityChanged() { - LL_DEBUGS("SpeakingIndicator") << "Notify parent that visibility was changed: " << mSpeakerId << ", new_visibility: " << getVisible() << LL_ENDL; + // _LL_DEBUGS("SpeakingIndicator") << "Notify parent that visibility was changed: " << mSpeakerId << ", new_visibility: " << getVisible() << LL_ENDL; LLSD params = LLSD().with("visibility_changed", getVisible()); diff --git a/indra/newview/llpaneleditwearable.cpp b/indra/newview/llpaneleditwearable.cpp index 00d394c09bc..16bf9a38169 100644 --- a/indra/newview/llpaneleditwearable.cpp +++ b/indra/newview/llpaneleditwearable.cpp @@ -1101,9 +1101,9 @@ void LLPanelEditWearable::saveChanges(bool force_save_as) if (link_item) { // Create new link - LL_DEBUGS("Avatar") << "link refresh, creating new link to " << link_item->getLinkedUUID() + /*// _LL_DEBUGS("Avatar") << "link refresh, creating new link to " << link_item->getLinkedUUID() << " removing old link at " << link_item->getUUID() - << " wearable item id " << mWearablePtr->getItemID() << LL_ENDL; + << " wearable item id " << mWearablePtr->getItemID() << LL_ENDL;*/ LLInventoryObject::const_object_list_t obj_array; obj_array.push_back(LLConstPointer<LLInventoryObject>(link_item)); diff --git a/indra/newview/llpanelenvironment.cpp b/indra/newview/llpanelenvironment.cpp index d0e52ef9e2b..65adea4c16b 100644 --- a/indra/newview/llpanelenvironment.cpp +++ b/indra/newview/llpanelenvironment.cpp @@ -1032,7 +1032,7 @@ void LLPanelEnvironmentInfo::onEnvironmentChanged(LLEnvironment::EnvSelection_t return; } - LL_DEBUGS("ENVPANEL") << "Received environment update " << mCurEnvVersion << " " << new_version << LL_ENDL; + // _LL_DEBUGS("ENVPANEL") << "Received environment update " << mCurEnvVersion << " " << new_version << LL_ENDL; // Environment comes from different sources, from environment update callbacks, // from hovers (causes callbacks on version change) and from personal requests @@ -1106,7 +1106,7 @@ void LLPanelEnvironmentInfo::onEnvironmentReceived(S32 parcel_id, LLEnvironment: { // Server provided version, use it mCurEnvVersion = mCurrentEnvironment->mEnvVersion; - LL_DEBUGS("ENVPANEL") << " Setting environment version: " << mCurEnvVersion << " for parcel id: " << parcel_id << LL_ENDL; + // _LL_DEBUGS("ENVPANEL") << " Setting environment version: " << mCurEnvVersion << " for parcel id: " << parcel_id << LL_ENDL; } // Backup: Version was not provided for some reason else diff --git a/indra/newview/llpanelface.cpp b/indra/newview/llpanelface.cpp index 15f2afd92fc..e4263179db1 100644 --- a/indra/newview/llpanelface.cpp +++ b/indra/newview/llpanelface.cpp @@ -287,7 +287,7 @@ void LLPanelFace::sendBump(U32 bumpiness) { if (bumpiness < BUMPY_TEXTURE) { - LL_DEBUGS("Materials") << "clearing bumptexture control" << LL_ENDL; + // _LL_DEBUGS("Materials") << "clearing bumptexture control" << LL_ENDL; mBumpyTextureCtrl->clear(); mBumpyTextureCtrl->setImageAssetID(LLUUID()); } @@ -1239,7 +1239,7 @@ void LLPanelFace::updateUI(bool force_set_values) if (material && editable) { - LL_DEBUGS("Materials") << material->asLLSD() << LL_ENDL; + // _LL_DEBUGS("Materials") << material->asLLSD() << LL_ENDL; U32 alpha_mode = material->getDiffuseAlphaMode(); @@ -1376,7 +1376,7 @@ void LLPanelFace::updateUI(bool force_set_values) void LLPanelFace::refresh() { - LL_DEBUGS("Materials") << LL_ENDL; + // _LL_DEBUGS("Materials") << LL_ENDL; getState(); } @@ -1488,7 +1488,7 @@ void LLPanelFace::onCommitTexGen(LLUICtrl* ctrl, void* userdata) void LLPanelFace::updateShinyControls(bool is_setting_texture, bool mess_with_shiny_combobox) { LLUUID shiny_texture_ID = mShinyTextureCtrl->getImageAssetID(); - LL_DEBUGS("Materials") << "Shiny texture selected: " << shiny_texture_ID << LL_ENDL; + // _LL_DEBUGS("Materials") << "Shiny texture selected: " << shiny_texture_ID << LL_ENDL; if (mess_with_shiny_combobox) { @@ -1524,12 +1524,12 @@ void LLPanelFace::updateShinyControls(bool is_setting_texture, bool mess_with_sh void LLPanelFace::updateBumpyControls(bool is_setting_texture, bool mess_with_combobox) { LLUUID bumpy_texture_ID = mBumpyTextureCtrl->getImageAssetID(); - LL_DEBUGS("Materials") << "texture: " << bumpy_texture_ID << (mess_with_combobox ? "" : " do not") << " update combobox" << LL_ENDL; + // _LL_DEBUGS("Materials") << "texture: " << bumpy_texture_ID << (mess_with_combobox ? "" : " do not") << " update combobox" << LL_ENDL; if (mess_with_combobox) { LLUUID bumpy_texture_ID = mBumpyTextureCtrl->getImageAssetID(); - LL_DEBUGS("Materials") << "texture: " << bumpy_texture_ID << (mess_with_combobox ? "" : " do not") << " update combobox" << LL_ENDL; + // _LL_DEBUGS("Materials") << "texture: " << bumpy_texture_ID << (mess_with_combobox ? "" : " do not") << " update combobox" << LL_ENDL; if (!bumpy_texture_ID.isNull() && is_setting_texture) { @@ -1649,19 +1649,19 @@ void LLPanelFace::onSelectTexture(const LLSD& data) void LLPanelFace::onCloseTexturePicker(const LLSD& data) { - LL_DEBUGS("Materials") << data << LL_ENDL; + // _LL_DEBUGS("Materials") << data << LL_ENDL; updateUI(); } void LLPanelFace::onCommitSpecularTexture(const LLSD& data) { - LL_DEBUGS("Materials") << data << LL_ENDL; + // _LL_DEBUGS("Materials") << data << LL_ENDL; sendShiny(SHINY_TEXTURE); } void LLPanelFace::onCommitNormalTexture(const LLSD& data) { - LL_DEBUGS("Materials") << data << LL_ENDL; + // _LL_DEBUGS("Materials") << data << LL_ENDL; LLUUID nmap_id = getCurrentNormalMap(); sendBump(nmap_id.isNull() ? 0 : BUMPY_TEXTURE); } @@ -1688,13 +1688,13 @@ void LLPanelFace::onCancelNormalTexture(const LLSD& data) void LLPanelFace::onSelectSpecularTexture(const LLSD& data) { - LL_DEBUGS("Materials") << data << LL_ENDL; + // _LL_DEBUGS("Materials") << data << LL_ENDL; sendShiny(SHINY_TEXTURE); } void LLPanelFace::onSelectNormalTexture(const LLSD& data) { - LL_DEBUGS("Materials") << data << LL_ENDL; + // _LL_DEBUGS("Materials") << data << LL_ENDL; LLUUID nmap_id = getCurrentNormalMap(); sendBump(nmap_id.isNull() ? 0 : BUMPY_TEXTURE); } @@ -1976,7 +1976,7 @@ void LLPanelFace::onCommitPlanarAlign(LLUICtrl* ctrl, void* userdata) void LLPanelFace::onTextureSelectionChanged(LLInventoryItem* itemp) { - LL_DEBUGS("Materials") << "item asset " << itemp->getAssetUUID() << LL_ENDL; + // _LL_DEBUGS("Materials") << "item asset " << itemp->getAssetUUID() << LL_ENDL; //BD U32 mattype = mRadioMaterialType->getSelectedIndex(); std::string which_control = "texture control"; @@ -1990,7 +1990,7 @@ void LLPanelFace::onTextureSelectionChanged(LLInventoryItem* itemp) break; // no default needed } - LL_DEBUGS("Materials") << "control " << which_control << LL_ENDL; + // _LL_DEBUGS("Materials") << "control " << which_control << LL_ENDL; LLTextureCtrl* texture_ctrl = getChild<LLTextureCtrl>(which_control); if (texture_ctrl) { diff --git a/indra/newview/llpanelface.h b/indra/newview/llpanelface.h index 536a8fdd37c..6001bdc1173 100644 --- a/indra/newview/llpanelface.h +++ b/indra/newview/llpanelface.h @@ -330,13 +330,13 @@ class LLPanelFace : public LLPanel if (!is_need_material) { - LL_DEBUGS("Materials") << "Removing material from object " << object->getID() << " face " << face << LL_ENDL; + // _LL_DEBUGS("Materials") << "Removing material from object " << object->getID() << " face " << face << LL_ENDL; LLMaterialMgr::getInstance()->remove(object->getID(),face); new_material = NULL; } else { - LL_DEBUGS("Materials") << "Putting material on object " << object->getID() << " face " << face << ", material: " << new_material->asLLSD() << LL_ENDL; + // _LL_DEBUGS("Materials") << "Putting material on object " << object->getID() << " face " << face << ", material: " << new_material->asLLSD() << LL_ENDL; LLMaterialMgr::getInstance()->put(object->getID(),face,*new_material); } diff --git a/indra/newview/llpanelgroup.cpp b/indra/newview/llpanelgroup.cpp index 1c648f125fa..f68c51117bc 100644 --- a/indra/newview/llpanelgroup.cpp +++ b/indra/newview/llpanelgroup.cpp @@ -270,7 +270,7 @@ void LLPanelGroup::onBtnGroupChatClicked(void* user_data) void LLPanelGroup::onBtnJoin() { - LL_DEBUGS() << "joining group: " << mID << LL_ENDL; + // _LL_DEBUGS() << "joining group: " << mID << LL_ENDL; LLGroupActions::join(mID); } diff --git a/indra/newview/llpanelgroupgeneral.cpp b/indra/newview/llpanelgroupgeneral.cpp index a94b231e211..269ce7b41dc 100644 --- a/indra/newview/llpanelgroupgeneral.cpp +++ b/indra/newview/llpanelgroupgeneral.cpp @@ -268,7 +268,7 @@ void LLPanelGroupGeneral::onClickInfo(void *userdata) if ( !self ) return; - LL_DEBUGS() << "open group info: " << self->mGroupID << LL_ENDL; + // _LL_DEBUGS() << "open group info: " << self->mGroupID << LL_ENDL; LLGroupActions::show(self->mGroupID); diff --git a/indra/newview/llpanelgroupnotices.cpp b/indra/newview/llpanelgroupnotices.cpp index 7373c7412ce..6877ecde30c 100644 --- a/indra/newview/llpanelgroupnotices.cpp +++ b/indra/newview/llpanelgroupnotices.cpp @@ -441,7 +441,7 @@ void LLPanelGroupNotices::refreshNotices() { onClickRefreshNotices(this); /* - LL_DEBUGS() << "LLPanelGroupNotices::onClickGetPastNotices" << LL_ENDL; + // _LL_DEBUGS() << "LLPanelGroupNotices::onClickGetPastNotices" << LL_ENDL; mNoticesList->deleteAllItems(); @@ -465,7 +465,7 @@ void LLPanelGroupNotices::clearNoticeList() void LLPanelGroupNotices::onClickRefreshNotices(void* data) { - LL_DEBUGS() << "LLPanelGroupNotices::onClickGetPastNotices" << LL_ENDL; + // _LL_DEBUGS() << "LLPanelGroupNotices::onClickGetPastNotices" << LL_ENDL; LLPanelGroupNotices* self = (LLPanelGroupNotices*)data; self->clearNoticeList(); @@ -609,7 +609,7 @@ void LLPanelGroupNotices::onSelectNotice(LLUICtrl* ctrl, void* data) msg->addUUID("GroupNoticeID",item->getUUID()); gAgent.sendReliableMessage(); - LL_DEBUGS() << "Item " << item->getUUID() << " selected." << LL_ENDL; + // _LL_DEBUGS() << "Item " << item->getUUID() << " selected." << LL_ENDL; } void LLPanelGroupNotices::showNotice(const std::string& subject, diff --git a/indra/newview/llpanelgrouproles.cpp b/indra/newview/llpanelgrouproles.cpp index 30336e51451..7c8594e81dc 100644 --- a/indra/newview/llpanelgrouproles.cpp +++ b/indra/newview/llpanelgrouproles.cpp @@ -129,7 +129,7 @@ LLPanelGroupRoles::~LLPanelGroupRoles() BOOL LLPanelGroupRoles::postBuild() { - LL_DEBUGS() << "LLPanelGroupRoles::postBuild()" << LL_ENDL; + // _LL_DEBUGS() << "LLPanelGroupRoles::postBuild()" << LL_ENDL; mSubTabContainer = getChild<LLTabContainer>("roles_tab_container"); @@ -568,7 +568,7 @@ void LLPanelGroupSubTab::buildActionCategory(LLScrollListCtrl* ctrl, BOOL filter, BOOL is_owner_role) { - LL_DEBUGS() << "Building role list for: " << action_set->mActionSetData->mName << LL_ENDL; + // _LL_DEBUGS() << "Building role list for: " << action_set->mActionSetData->mName << LL_ENDL; // See if the allow mask matches anything in this category. if (show_all || (allowed_by_some & action_set->mActionSetData->mPowerBit)) { @@ -873,7 +873,7 @@ void LLPanelGroupMembersSubTab::onMemberSelect(LLUICtrl* ctrl, void* user_data) void LLPanelGroupMembersSubTab::handleMemberSelect() { - LL_DEBUGS() << "LLPanelGroupMembersSubTab::handleMemberSelect" << LL_ENDL; + // _LL_DEBUGS() << "LLPanelGroupMembersSubTab::handleMemberSelect" << LL_ENDL; mAssignedRolesList->deleteAllItems(); mAllowedActionsList->deleteAllItems(); @@ -2056,7 +2056,7 @@ void LLPanelGroupRolesSubTab::activate() void LLPanelGroupRolesSubTab::deactivate() { - LL_DEBUGS() << "LLPanelGroupRolesSubTab::deactivate()" << LL_ENDL; + // _LL_DEBUGS() << "LLPanelGroupRolesSubTab::deactivate()" << LL_ENDL; LLPanelGroupSubTab::deactivate(); mFirstOpen = FALSE; @@ -2064,7 +2064,7 @@ void LLPanelGroupRolesSubTab::deactivate() bool LLPanelGroupRolesSubTab::needsApply(std::string& mesg) { - LL_DEBUGS() << "LLPanelGroupRolesSubTab::needsApply()" << LL_ENDL; + // _LL_DEBUGS() << "LLPanelGroupRolesSubTab::needsApply()" << LL_ENDL; LLGroupMgrGroupData* gdatap = LLGroupMgr::getInstance()->getGroupData(mGroupID); if(!gdatap) @@ -2080,7 +2080,7 @@ bool LLPanelGroupRolesSubTab::needsApply(std::string& mesg) bool LLPanelGroupRolesSubTab::apply(std::string& mesg) { - LL_DEBUGS() << "LLPanelGroupRolesSubTab::apply()" << LL_ENDL; + // _LL_DEBUGS() << "LLPanelGroupRolesSubTab::apply()" << LL_ENDL; saveRoleChanges(true); mFirstOpen = FALSE; @@ -2143,7 +2143,7 @@ bool LLPanelGroupRolesSubTab::matchesSearchFilter(std::string rolename, std::str void LLPanelGroupRolesSubTab::update(LLGroupChange gc) { - LL_DEBUGS() << "LLPanelGroupRolesSubTab::update()" << LL_ENDL; + // _LL_DEBUGS() << "LLPanelGroupRolesSubTab::update()" << LL_ENDL; if (mGroupID.isNull()) return; @@ -2243,7 +2243,7 @@ void LLPanelGroupRolesSubTab::onRoleSelect(LLUICtrl* ctrl, void* user_data) void LLPanelGroupRolesSubTab::handleRoleSelect() { BOOL can_delete = TRUE; - LL_DEBUGS() << "LLPanelGroupRolesSubTab::handleRoleSelect()" << LL_ENDL; + // _LL_DEBUGS() << "LLPanelGroupRolesSubTab::handleRoleSelect()" << LL_ENDL; mAssignedMembersList->deleteAllItems(); mAllowedActionsList->deleteAllItems(); @@ -2391,7 +2391,7 @@ void LLPanelGroupRolesSubTab::handleActionCheck(LLUICtrl* ctrl, bool force) if (!check) return; - LL_DEBUGS() << "LLPanelGroupRolesSubTab::handleActionSelect()" << LL_ENDL; + // _LL_DEBUGS() << "LLPanelGroupRolesSubTab::handleActionSelect()" << LL_ENDL; LLGroupMgrGroupData* gdatap = LLGroupMgr::getInstance()->getGroupData(mGroupID); if (!gdatap) @@ -2588,7 +2588,7 @@ void LLPanelGroupRolesSubTab::onMemberVisibilityChange(LLUICtrl* ctrl, void* use void LLPanelGroupRolesSubTab::handleMemberVisibilityChange(bool value) { - LL_DEBUGS() << "LLPanelGroupRolesSubTab::handleMemberVisibilityChange()" << LL_ENDL; + // _LL_DEBUGS() << "LLPanelGroupRolesSubTab::handleMemberVisibilityChange()" << LL_ENDL; LLGroupMgrGroupData* gdatap = LLGroupMgr::getInstance()->getGroupData(mGroupID); if (!gdatap) @@ -2872,27 +2872,27 @@ void LLPanelGroupActionsSubTab::activate() void LLPanelGroupActionsSubTab::deactivate() { - LL_DEBUGS() << "LLPanelGroupActionsSubTab::deactivate()" << LL_ENDL; + // _LL_DEBUGS() << "LLPanelGroupActionsSubTab::deactivate()" << LL_ENDL; LLPanelGroupSubTab::deactivate(); } bool LLPanelGroupActionsSubTab::needsApply(std::string& mesg) { - LL_DEBUGS() << "LLPanelGroupActionsSubTab::needsApply()" << LL_ENDL; + // _LL_DEBUGS() << "LLPanelGroupActionsSubTab::needsApply()" << LL_ENDL; return false; } bool LLPanelGroupActionsSubTab::apply(std::string& mesg) { - LL_DEBUGS() << "LLPanelGroupActionsSubTab::apply()" << LL_ENDL; + // _LL_DEBUGS() << "LLPanelGroupActionsSubTab::apply()" << LL_ENDL; return true; } void LLPanelGroupActionsSubTab::update(LLGroupChange gc) { - LL_DEBUGS() << "LLPanelGroupActionsSubTab::update()" << LL_ENDL; + // _LL_DEBUGS() << "LLPanelGroupActionsSubTab::update()" << LL_ENDL; if (mGroupID.isNull()) return; diff --git a/indra/newview/llpanelland.cpp b/indra/newview/llpanelland.cpp index 37d65d38989..27ad81eb737 100644 --- a/indra/newview/llpanelland.cpp +++ b/indra/newview/llpanelland.cpp @@ -200,7 +200,7 @@ void LLPanelLandInfo::refresh() else { mBtnJoinLand->setEnabled(FALSE); - LL_DEBUGS() << "Invalid selection for joining land" << LL_ENDL; + // _LL_DEBUGS() << "Invalid selection for joining land" << LL_ENDL; } mBtnAboutLand->setEnabled(TRUE); diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index 1f5a1965924..6e2622cabee 100644 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -275,13 +275,13 @@ LLPanelLogin::LLPanelLogin(const LLRect &rect, { if (!grid_choice->first.empty() && current_grid != grid_choice->first) { - LL_DEBUGS("AppInit") << "adding " << grid_choice->first << LL_ENDL; + // _LL_DEBUGS("AppInit") << "adding " << grid_choice->first << LL_ENDL; mGridCombo->add(grid_choice->second, grid_choice->first); } } mGridCombo->sortByName(); - LL_DEBUGS("AppInit") << "adding current " << current_grid << LL_ENDL; + // _LL_DEBUGS("AppInit") << "adding current " << current_grid << LL_ENDL; mGridCombo->add(LLGridManager::getInstance()->getGridLabel(), current_grid, ADD_TOP); @@ -401,12 +401,12 @@ void LLPanelLogin::addFavoritesToStartLocation() S32 res = LLStringUtil::compareInsensitive(user_defined_name, iter->first); if (res != 0) { - LL_DEBUGS() << "Skipping favorites for " << iter->first << LL_ENDL; + // _LL_DEBUGS() << "Skipping favorites for " << iter->first << LL_ENDL; continue; } mFavoritesCombo->addSeparator(); - LL_DEBUGS() << "Loading favorites for " << iter->first << LL_ENDL; + // _LL_DEBUGS() << "Loading favorites for " << iter->first << LL_ENDL; LLSD user_llsd = iter->second; for (LLSD::array_const_iterator iter1 = user_llsd.beginArray(); iter1 != user_llsd.endArray(); ++iter1) @@ -710,7 +710,7 @@ void LLPanelLogin::onUpdateStartSLURL(const LLSLURL& new_start_slurl) { if (!sInstance) return; - LL_DEBUGS("AppInit") << new_start_slurl.asString() << LL_ENDL; + // _LL_DEBUGS("AppInit") << new_start_slurl.asString() << LL_ENDL; /* * Determine whether or not the new_start_slurl modifies the grid. @@ -769,13 +769,13 @@ void LLPanelLogin::onUpdateStartSLURL(const LLSLURL& new_start_slurl) void LLPanelLogin::setLocation(const LLSLURL& slurl) { - LL_DEBUGS("AppInit") << "setting Location " << slurl.asString() << LL_ENDL; + // _LL_DEBUGS("AppInit") << "setting Location " << slurl.asString() << LL_ENDL; LLStartUp::setStartSLURL(slurl); // calls onUpdateStartSLURL, above } void LLPanelLogin::autologinToLocation(const LLSLURL& slurl) { - LL_DEBUGS("AppInit") << "automatically logging into Location " << slurl.asString() << LL_ENDL; + // _LL_DEBUGS("AppInit") << "automatically logging into Location " << slurl.asString() << LL_ENDL; LLStartUp::setStartSLURL(slurl); // calls onUpdateStartSLURL, above if (sInstance) @@ -820,7 +820,7 @@ void LLPanelLogin::onClickConnect() LLSD combo_val = sInstance->mGridCombo->getSelectedValue(); // the grid definitions may come from a user-supplied grids.xml, so they may not be good - LL_DEBUGS("AppInit")<<"grid "<<combo_val.asString()<<LL_ENDL; + // _LL_DEBUGS("AppInit")<<"grid "<<combo_val.asString()<<LL_ENDL; try { LLGridManager::getInstance()->setGridChoice(combo_val.asString()); @@ -1164,7 +1164,7 @@ void LLPanelLogin::onLocationSLURL() { //LLComboBox* location_combo = getChild<LLComboBox>("start_location_combo"); std::string location = mFavoritesCombo->getValue().asString(); - LL_DEBUGS("AppInit") << location << LL_ENDL; + // _LL_DEBUGS("AppInit") << location << LL_ENDL; LLStartUp::setStartSLURL(location); // calls onUpdateStartSLURL, above } diff --git a/indra/newview/llpanelobjectinventory.cpp b/indra/newview/llpanelobjectinventory.cpp index 0df40f2924c..b2dbd947ae9 100644 --- a/indra/newview/llpanelobjectinventory.cpp +++ b/indra/newview/llpanelobjectinventory.cpp @@ -287,7 +287,7 @@ LLUIImagePtr LLTaskInvFVBridge::getIcon() const void LLTaskInvFVBridge::openItem() { // no-op. - LL_DEBUGS() << "LLTaskInvFVBridge::openItem()" << LL_ENDL; + // _LL_DEBUGS() << "LLTaskInvFVBridge::openItem()" << LL_ENDL; } BOOL LLTaskInvFVBridge::isItemRenameable() const diff --git a/indra/newview/llpanelpeople.cpp b/indra/newview/llpanelpeople.cpp index 4e6eacd057e..164a42c29ed 100644 --- a/indra/newview/llpanelpeople.cpp +++ b/indra/newview/llpanelpeople.cpp @@ -442,7 +442,7 @@ class LLFriendListUpdater : public LLAvatarListUpdater, public LLFriendObserver } /*virtual*/ void changed(U32 mask) { - LL_DEBUGS() << "Inventory changed: " << mask << LL_ENDL; + // _LL_DEBUGS() << "Inventory changed: " << mask << LL_ENDL; static bool synchronize_friends_folders = true; if (synchronize_friends_folders) @@ -458,9 +458,9 @@ class LLFriendListUpdater : public LLAvatarListUpdater, public LLFriendObserver // That means LLInventoryObserver::STRUCTURE is present in MASK instead of LLInventoryObserver::REMOVE if ((CALLINGCARD_ADDED & mask) == CALLINGCARD_ADDED) { - LL_DEBUGS() << "Calling card added: count: " << gInventory.getChangedIDs().size() + /*// _LL_DEBUGS() << "Calling card added: count: " << gInventory.getChangedIDs().size() << ", first Inventory ID: "<< (*gInventory.getChangedIDs().begin()) - << LL_ENDL; + << LL_ENDL;*/ bool friendFound = false; std::set<LLUUID> changedIDs = gInventory.getChangedIDs(); @@ -475,7 +475,7 @@ class LLFriendListUpdater : public LLAvatarListUpdater, public LLFriendObserver if (friendFound) { - LL_DEBUGS() << "friend found, panel should be updated" << LL_ENDL; + // _LL_DEBUGS() << "friend found, panel should be updated" << LL_ENDL; mUpdater->changed(LLFriendObserver::ADD); } } @@ -813,12 +813,12 @@ void LLPanelPeople::updateFriendList() if (buddies_uuids.size() > 0) { - LL_DEBUGS() << "Friends added to the list: " << buddies_uuids.size() << LL_ENDL; + // _LL_DEBUGS() << "Friends added to the list: " << buddies_uuids.size() << LL_ENDL; all_friendsp = buddies_uuids; } else { - LL_DEBUGS() << "No friends found" << LL_ENDL; + // _LL_DEBUGS() << "No friends found" << LL_ENDL; } mAllFriendList->setDirty(true, !mAllFriendList->filterHasMatches()); diff --git a/indra/newview/llpanelpresetspulldown.cpp b/indra/newview/llpanelpresetspulldown.cpp index 81726a2a486..46e08bb01c5 100644 --- a/indra/newview/llpanelpresetspulldown.cpp +++ b/indra/newview/llpanelpresetspulldown.cpp @@ -164,7 +164,7 @@ void LLPanelPresetsPulldown::onRowClick(const LLSD& user_data) { std::string name = item->getColumn(1)->getValue().asString(); - LL_DEBUGS() << "selected '" << name << "'" << LL_ENDL; + // _LL_DEBUGS() << "selected '" << name << "'" << LL_ENDL; //BD gSavedSettings.loadPreset(1, gDragonLibrary.escapeString(name)); gSavedSettings.setString("PresetGraphicActive", name); @@ -172,12 +172,12 @@ void LLPanelPresetsPulldown::onRowClick(const LLSD& user_data) } else { - LL_DEBUGS() << "none selected" << LL_ENDL; + // _LL_DEBUGS() << "none selected" << LL_ENDL; } } else { - LL_DEBUGS() << "no scroll" << LL_ENDL; + // _LL_DEBUGS() << "no scroll" << LL_ENDL; } } diff --git a/indra/newview/llparticipantlist.cpp b/indra/newview/llparticipantlist.cpp index ee6893907e2..e6723e43a10 100644 --- a/indra/newview/llparticipantlist.cpp +++ b/indra/newview/llparticipantlist.cpp @@ -121,7 +121,7 @@ class LLAvalineUpdater : public LLVoiceClientParticipantObserver const LLUUID& participant_id = *it; if (!LLVoiceClient::getInstance()->isParticipantAvatar(participant_id)) { - LL_DEBUGS("Avaline") << "Avaline caller found among voice participants: " << participant_id << LL_ENDL; + // _LL_DEBUGS("Avaline") << "Avaline caller found among voice participants: " << participant_id << LL_ENDL; if (mAvalineFoundCallback) { @@ -149,11 +149,11 @@ class LLAvalineUpdater : public LLVoiceClientParticipantObserver while (it != mAvalineCallers.end()) { const LLUUID participant_id = *it; - LL_DEBUGS("Avaline") << "Check avaline caller: " << participant_id << LL_ENDL; + // _LL_DEBUGS("Avaline") << "Check avaline caller: " << participant_id << LL_ENDL; bool not_found = participant_uuids.find(participant_id) == participants_it_end; if (not_found) { - LL_DEBUGS("Avaline") << "Watched Avaline caller is not found among voice participants: " << participant_id << LL_ENDL; + // _LL_DEBUGS("Avaline") << "Watched Avaline caller is not found among voice participants: " << participant_id << LL_ENDL; // notify Participant List if (mAvalineRemovedCallback) @@ -270,7 +270,7 @@ void LLParticipantList::onAvalineCallerFound(const LLUUID& participant_id) void LLParticipantList::onAvalineCallerRemoved(const LLUUID& participant_id) { - LL_DEBUGS("Avaline") << "Removing avaline caller from the list: " << participant_id << LL_ENDL; + // _LL_DEBUGS("Avaline") << "Removing avaline caller from the list: " << participant_id << LL_ENDL; mSpeakerMgr->removeAvalineSpeaker(participant_id); } diff --git a/indra/newview/llpresetsmanager.cpp b/indra/newview/llpresetsmanager.cpp index 4c77e67c911..d77fa8d708f 100644 --- a/indra/newview/llpresetsmanager.cpp +++ b/indra/newview/llpresetsmanager.cpp @@ -85,7 +85,7 @@ void LLPresetsManager::createMissingDefault(const std::string& subdirectory) } else { - LL_DEBUGS() << "default preset exists; no-op" << LL_ENDL; + // _LL_DEBUGS() << "default preset exists; no-op" << LL_ENDL; } } @@ -162,7 +162,7 @@ void LLPresetsManager::loadPresetNamesFromDir(const std::string& subdirectory, p { std::string path = gDirUtilp->add(dir, file); std::string name = LLURI::unescape(gDirUtilp->getBaseFileName(path, /*strip_exten = */ true)); - LL_DEBUGS() << " Found preset '" << name << "'" << LL_ENDL; + // _LL_DEBUGS() << " Found preset '" << name << "'" << LL_ENDL; if (IS_CAMERA) { @@ -297,7 +297,7 @@ bool LLPresetsManager::savePreset(const std::string& subdirectory, std::string n { gSavedSettings.setString("PresetGraphicActive", name); instance->getControlNames(name_list); - LL_DEBUGS() << "saving preset '" << name << "'; " << name_list.size() << " names" << LL_ENDL; + // _LL_DEBUGS() << "saving preset '" << name << "'; " << name_list.size() << " names" << LL_ENDL; name_list.push_back("PresetGraphicActive"); } else @@ -394,7 +394,7 @@ bool LLPresetsManager::savePreset(const std::string& subdirectory, std::string n presetsXML.close(); saved = true; - LL_DEBUGS() << "saved preset '" << name << "'; " << paramsData.size() << " parameters" << LL_ENDL; + // _LL_DEBUGS() << "saved preset '" << name << "'; " << paramsData.size() << " parameters" << LL_ENDL; if (IS_GRAPHIC) { @@ -461,7 +461,7 @@ void LLPresetsManager::loadPreset(const std::string& subdirectory, std::string n std::string full_path(getPresetsDir(subdirectory) + gDirUtilp->getDirDelimiter() + LLURI::escape(name) + ".xml"); - LL_DEBUGS() << "attempting to load preset '"<<name<<"' from '"<<full_path<<"'" << LL_ENDL; + // _LL_DEBUGS() << "attempting to load preset '"<<name<<"' from '"<<full_path<<"'" << LL_ENDL; mIgnoreChangedSignal = true; if(gSavedSettings.loadFromFile(full_path, false, true) > 0) diff --git a/indra/newview/llpreviewnotecard.cpp b/indra/newview/llpreviewnotecard.cpp index e82290d991f..d174919fc89 100644 --- a/indra/newview/llpreviewnotecard.cpp +++ b/indra/newview/llpreviewnotecard.cpp @@ -205,7 +205,7 @@ void LLPreviewNotecard::refreshFromInventory(const LLUUID& new_item_id) mItemUUID = new_item_id; setKey(LLSD(new_item_id)); } - LL_DEBUGS() << "LLPreviewNotecard::refreshFromInventory()" << LL_ENDL; + // _LL_DEBUGS() << "LLPreviewNotecard::refreshFromInventory()" << LL_ENDL; loadAsset(); } diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp index 102e9393745..cd297d062da 100644 --- a/indra/newview/llpreviewscript.cpp +++ b/indra/newview/llpreviewscript.cpp @@ -468,7 +468,7 @@ BOOL LLScriptEdCore::postBuild() void LLScriptEdCore::processKeywords() { - LL_DEBUGS("SyntaxLSL") << "Processing keywords" << LL_ENDL; + // _LL_DEBUGS("SyntaxLSL") << "Processing keywords" << LL_ENDL; mEditor->clearSegments(); mEditor->initKeywords(); mEditor->loadKeywords(); @@ -1718,8 +1718,8 @@ void LLPreviewLSL::saveIfNeeded(bool sync /*= true*/) void LLPreviewLSL::onLoadComplete( LLVFS *vfs, const LLUUID& asset_uuid, LLAssetType::EType type, void* user_data, S32 status, LLExtStat ext_status) { - LL_DEBUGS() << "LLPreviewLSL::onLoadComplete: got uuid " << asset_uuid - << LL_ENDL; + /*// _LL_DEBUGS() << "LLPreviewLSL::onLoadComplete: got uuid " << asset_uuid + << LL_ENDL;*/ LLUUID* item_uuid = (LLUUID*)user_data; LLPreviewLSL* preview = LLFloaterReg::findTypedInstance<LLPreviewLSL>("preview_script", *item_uuid); if( preview ) @@ -1849,7 +1849,7 @@ void LLLiveLSLEditor::callbackLSLCompileSucceeded(const LLUUID& task_id, const LLUUID& item_id, bool is_script_running) { - LL_DEBUGS() << "LSL Bytecode saved" << LL_ENDL; + // _LL_DEBUGS() << "LSL Bytecode saved" << LL_ENDL; mScriptEd->mErrorList->setCommentText(LLTrans::getString("CompileSuccessful")); mScriptEd->mErrorList->setCommentText(LLTrans::getString("SaveComplete")); getChild<LLCheckBoxCtrl>("running")->set(is_script_running); @@ -1860,7 +1860,7 @@ void LLLiveLSLEditor::callbackLSLCompileSucceeded(const LLUUID& task_id, // virtual void LLLiveLSLEditor::callbackLSLCompileFailed(const LLSD& compile_errors) { - LL_DEBUGS() << "Compile failed!" << LL_ENDL; + // _LL_DEBUGS() << "Compile failed!" << LL_ENDL; for(LLSD::array_const_iterator line = compile_errors.beginArray(); line < compile_errors.endArray(); line++) @@ -1993,8 +1993,8 @@ void LLLiveLSLEditor::onLoadComplete(LLVFS *vfs, const LLUUID& asset_id, LLAssetType::EType type, void* user_data, S32 status, LLExtStat ext_status) { - LL_DEBUGS() << "LLLiveLSLEditor::onLoadComplete: got uuid " << asset_id - << LL_ENDL; + /*// _LL_DEBUGS() << "LLLiveLSLEditor::onLoadComplete: got uuid " << asset_id + << LL_ENDL;*/ LLSD* floater_key = (LLSD*)user_data; LLLiveLSLEditor* instance = LLFloaterReg::findTypedInstance<LLLiveLSLEditor>("preview_scriptedit", *floater_key); diff --git a/indra/newview/llregioninfomodel.cpp b/indra/newview/llregioninfomodel.cpp index 7daaa7ef8e8..a9a72c1b99b 100644 --- a/indra/newview/llregioninfomodel.cpp +++ b/indra/newview/llregioninfomodel.cpp @@ -158,7 +158,7 @@ void LLRegionInfoModel::update(LLMessageSystem* msg) // actually the "last set" sun hour, not the current sun hour. JC msg->getF32(_PREHASH_RegionInfo, _PREHASH_SunHour, mSunHour); - LL_DEBUGS("WindlightSync") << "Got region sun hour: " << mSunHour << LL_ENDL; + // _LL_DEBUGS("WindlightSync") << "Got region sun hour: " << mSunHour << LL_ENDL; msg->getS32Fast(_PREHASH_RegionInfo2, _PREHASH_HardMaxAgents, mHardAgentLimit); @@ -221,7 +221,7 @@ void LLRegionInfoModel::sendEstateOwnerMessage( std::vector<std::string>::const_iterator end = strings.end(); for (unsigned i = 0; it != end; ++it, ++i) { - LL_DEBUGS() << "- [" << i << "] " << (*it) << LL_ENDL; + // _LL_DEBUGS() << "- [" << i << "] " << (*it) << LL_ENDL; msg->nextBlock("ParamList"); msg->addString("Parameter", *it); } diff --git a/indra/newview/llscenemonitor.cpp b/indra/newview/llscenemonitor.cpp index 2c0c38dc75b..c5c8c880d5a 100644 --- a/indra/newview/llscenemonitor.cpp +++ b/indra/newview/llscenemonitor.cpp @@ -501,7 +501,7 @@ void LLSceneMonitor::fetchQueryResult() mDiffResult = sqrtf(count * 0.5f / (mDiff->getWidth() * mDiff->getHeight() * mDiffPixelRatio * mDiffPixelRatio)); //0.5 -> (front face + back face) - LL_DEBUGS("SceneMonitor") << "Frame difference: " << mDiffResult << LL_ENDL; + // _LL_DEBUGS("SceneMonitor") << "Frame difference: " << mDiffResult << LL_ENDL; record(sFramePixelDiff, mDiffResult); static LLCachedControl<F32> diff_threshold(gSavedSettings,"SceneLoadingMonitorPixelDiffThreshold"); diff --git a/indra/newview/llsechandler_basic.cpp b/indra/newview/llsechandler_basic.cpp index 9fc5c74d1eb..ad10b4c3730 100644 --- a/indra/newview/llsechandler_basic.cpp +++ b/indra/newview/llsechandler_basic.cpp @@ -533,9 +533,9 @@ void LLBasicCertificateVector::insert(iterator _iter, } else { - LL_DEBUGS("SECAPI") << "Certificate already in vector: " + /*// _LL_DEBUGS("SECAPI") << "Certificate already in vector: " << "'" << cert_info << "'" - << LL_ENDL; + << LL_ENDL;*/ } } @@ -598,17 +598,17 @@ void LLBasicCertificateStore::load_from_file(const std::string& filename) validation_params, 0); add(new_cert); - LL_DEBUGS("SECAPI") << "Loaded valid cert for " + /*// _LL_DEBUGS("SECAPI") << "Loaded valid cert for " << "Name '" << cert_string_name_from_X509_NAME(X509_get_subject_name(cert_x509)) << "'"; std::string skeyid(_subject_key_identifier(cert_x509)); LL_CONT << " Id '" << skeyid << "'" - << LL_ENDL; + << LL_ENDL;*/ loaded++; } catch (const LLCertException& cert_exception) { LLSD cert_info(cert_exception.getCertData()); - LL_DEBUGS("SECAPI_BADCERT","SECAPI") << "invalid certificate (" << cert_exception.what() << "): " << cert_info << LL_ENDL; + // _LL_DEBUGS("SECAPI_BADCERT","SECAPI") << "invalid certificate (" << cert_exception.what() << "): " << cert_info << LL_ENDL; rejected++; } catch (...) @@ -1057,8 +1057,8 @@ void LLBasicCertificateStore::validate(int validation_policy, LLTHROW(LLInvalidCertificate(current_cert_info)); } - LL_DEBUGS("SECAPI") << "Validating the hostname " << validation_params[CERT_HOSTNAME].asString() << - "against the cert CN " << current_cert_info[CERT_SUBJECT_NAME][CERT_NAME_CN].asString() << LL_ENDL; + /*// _LL_DEBUGS("SECAPI") << "Validating the hostname " << validation_params[CERT_HOSTNAME].asString() << + "against the cert CN " << current_cert_info[CERT_SUBJECT_NAME][CERT_NAME_CN].asString() << LL_ENDL;*/ if(!_cert_hostname_wildcard_match(validation_params[CERT_HOSTNAME].asString(), current_cert_info[CERT_SUBJECT_NAME][CERT_NAME_CN].asString())) { @@ -1077,11 +1077,11 @@ void LLBasicCertificateStore::validate(int validation_policy, std::string subject_name(cert_string_name_from_X509_NAME(X509_get_subject_name(cert_x509))); std::string skeyid(_subject_key_identifier(cert_x509)); - LL_DEBUGS("SECAPI") << "attempting to validate cert " + /*// _LL_DEBUGS("SECAPI") << "attempting to validate cert " << " for '" << (validation_params.has(CERT_HOSTNAME) ? validation_params[CERT_HOSTNAME].asString() : "(unknown hostname)") << "'" << " as subject name '" << subject_name << "'" << " subject key id '" << skeyid << "'" - << LL_ENDL; + << LL_ENDL;*/ X509_free( cert_x509 ); cert_x509 = NULL; @@ -1113,10 +1113,10 @@ void LLBasicCertificateStore::validate(int validation_policy, } } // successfully found in cache - LL_DEBUGS("SECAPI") << "Valid cert for '" << validation_params[CERT_HOSTNAME].asString() << "'" + /*// _LL_DEBUGS("SECAPI") << "Valid cert for '" << validation_params[CERT_HOSTNAME].asString() << "'" << " skeyid '" << skeyid << "'" << " found in cache" - << LL_ENDL; + << LL_ENDL;*/ return; } if(current_cert_info.isUndefined()) @@ -1162,7 +1162,7 @@ void LLBasicCertificateStore::validate(int validation_policy, if(found_store_cert != end()) { mTrustedCertCache[skeyid] = std::pair<LLDate, LLDate>(from_time, to_time); - LL_DEBUGS("SECAPI") << "Valid cert " + /*// _LL_DEBUGS("SECAPI") << "Valid cert " << " for '" << (validation_params.has(CERT_HOSTNAME) ? validation_params[CERT_HOSTNAME].asString() : "(unknown hostname)") << "'"; X509* cert_x509 = (*found_store_cert)->getOpenSSLX509(); std::string found_cert_subject_name(cert_string_name_from_X509_NAME(X509_get_subject_name(cert_x509))); @@ -1170,7 +1170,7 @@ void LLBasicCertificateStore::validate(int validation_policy, LL_CONT << " as '" << found_cert_subject_name << "'" << " skeyid '" << current_cert_info[CERT_SUBJECT_KEY_IDENTFIER].asString() << "'" << " found in cert store" - << LL_ENDL; + << LL_ENDL; */ return; } @@ -1208,12 +1208,12 @@ void LLBasicCertificateStore::validate(int validation_policy, } // successfully validated. mTrustedCertCache[skeyid] = std::pair<LLDate, LLDate>(from_time, to_time); - LL_DEBUGS("SECAPI") << "Verified and cached cert for '" << validation_params[CERT_HOSTNAME].asString() << "'" + /*// _LL_DEBUGS("SECAPI") << "Verified and cached cert for '" << validation_params[CERT_HOSTNAME].asString() << "'" << " as '" << subject_name << "'" << " id '" << skeyid << "'" << " using CA '" << cert_search_params[CERT_SUBJECT_NAME_STRING] << "'" << " with id '" << cert_search_params[CERT_SUBJECT_KEY_IDENTFIER].asString() << "' found in cert store" - << LL_ENDL; + << LL_ENDL; */ return; } previous_cert = (*current_cert); @@ -1233,9 +1233,9 @@ void LLBasicCertificateStore::validate(int validation_policy, } else { - LL_DEBUGS("SECAPI") << "! Caching untrusted cert for '" << subject_name << "'" + /*// _LL_DEBUGS("SECAPI") << "! Caching untrusted cert for '" << subject_name << "'" << " skeyid '" << skeyid << "' in cert store because ! VALIDATION_POLICY_TRUSTED" - << LL_ENDL; + << LL_ENDL; */ mTrustedCertCache[skeyid] = std::pair<LLDate, LLDate>(from_time, to_time); } } @@ -1639,7 +1639,7 @@ void LLSecAPIBasicHandler::saveCredential(LLPointer<LLCredential> cred, bool sav { credential["authenticator"] = cred->getAuthenticator(); } - LL_DEBUGS("SECAPI") << "Saving Credential " << cred->getGrid() << ":" << cred->userID() << " " << save_authenticator << LL_ENDL; + // _LL_DEBUGS("SECAPI") << "Saving Credential " << cred->getGrid() << ":" << cred->userID() << " " << save_authenticator << LL_ENDL; setProtectedData(DEFAULT_CREDENTIAL_STORAGE, cred->getGrid(), credential); //*TODO: If we're saving Agni credentials, should we write the // credentials to the legacy password.dat/etc? @@ -1752,7 +1752,7 @@ void LLSecAPIBasicHandler::addToCredentialMap(const std::string& storage, LLPoin { credential["authenticator"] = cred->getAuthenticator(); } - LL_DEBUGS("SECAPI") << "Saving Credential " << cred->getGrid() << ":" << cred->userID() << " " << save_authenticator << LL_ENDL; + // _LL_DEBUGS("SECAPI") << "Saving Credential " << cred->getGrid() << ":" << cred->userID() << " " << save_authenticator << LL_ENDL; addToProtectedMap(storage, cred->getGrid(), user_id, credential); _writeProtectedData(); diff --git a/indra/newview/llselectmgr.cpp b/indra/newview/llselectmgr.cpp index 6021be98612..b6ee26a8138 100644 --- a/indra/newview/llselectmgr.cpp +++ b/indra/newview/llselectmgr.cpp @@ -2237,7 +2237,7 @@ void LLSelectMgr::selectionRemoveMaterial() { if (object->permModify()) { - LL_DEBUGS("Materials") << "Removing material from object " << object->getID() << " face " << face << LL_ENDL; + // _LL_DEBUGS("Materials") << "Removing material from object " << object->getID() << " face " << face << LL_ENDL; LLMaterialMgr::getInstance()->remove(object->getID(),face); object->setTEMaterialParams(face, NULL); } diff --git a/indra/newview/llskinningutil.cpp b/indra/newview/llskinningutil.cpp index c4d50ef670b..54ad5b45595 100644 --- a/indra/newview/llskinningutil.cpp +++ b/indra/newview/llskinningutil.cpp @@ -111,7 +111,7 @@ void LLSkinningUtil::scrubInvalidJoints(LLVOAvatar *avatar, LLMeshSkinInfo* skin // needed for handling of any legacy bad data. if (!avatar->getJoint(skin->mJointNames[j])) { - LL_DEBUGS("Avatar") << avatar->getFullname() << " mesh rigged to invalid joint " << skin->mJointNames[j] << LL_ENDL; + // _LL_DEBUGS("Avatar") << avatar->getFullname() << " mesh rigged to invalid joint " << skin->mJointNames[j] << LL_ENDL; LL_WARNS_ONCE("Avatar") << avatar->getFullname() << " mesh rigged to invalid joint" << skin->mJointNames[j] << LL_ENDL; skin->mJointNames[j] = "mPelvis"; skin->mJointNumsInitialized = false; // force update after names change. @@ -368,7 +368,7 @@ void LLSkinningUtil::updateRiggingInfo(const LLMeshSkinInfo* skin, LLVOAvatar *a } } } - //LL_DEBUGS("RigSpammish") << "built rigging info for vf " << &vol_face + //// _LL_DEBUGS("RigSpammish") << "built rigging info for vf " << &vol_face // << " num_verts " << vol_face.mNumVertices // << " active joints " << active_joints.size() // << " active verts " << active_verts @@ -380,12 +380,12 @@ void LLSkinningUtil::updateRiggingInfo(const LLMeshSkinInfo* skin, LLVOAvatar *a #if DEBUG_SKINNING if (vol_face.mJointRiggingInfoTab.size()!=0) { - LL_DEBUGS("RigSpammish") << "we have rigging info for vf " << &vol_face + // _LL_DEBUGS("RigSpammish") << "we have rigging info for vf " << &vol_face << " num_verts " << vol_face.mNumVertices << LL_ENDL; } else { - LL_DEBUGS("RigSpammish") << "no rigging info for vf " << &vol_face + // _LL_DEBUGS("RigSpammish") << "no rigging info for vf " << &vol_face << " num_verts " << vol_face.mNumVertices << LL_ENDL; } #endif diff --git a/indra/newview/llsnapshotlivepreview.cpp b/indra/newview/llsnapshotlivepreview.cpp index f2c6cf65025..66b2c4be6d1 100644 --- a/indra/newview/llsnapshotlivepreview.cpp +++ b/indra/newview/llsnapshotlivepreview.cpp @@ -146,7 +146,7 @@ F32 LLSnapshotLivePreview::getImageAspect() void LLSnapshotLivePreview::updateSnapshot(BOOL new_snapshot, BOOL new_thumbnail, F32 delay) { - LL_DEBUGS() << "updateSnapshot: mSnapshotUpToDate = " << getSnapshotUpToDate() << LL_ENDL; + // _LL_DEBUGS() << "updateSnapshot: mSnapshotUpToDate = " << getSnapshotUpToDate() << LL_ENDL; // Update snapshot if requested. if (new_snapshot) @@ -274,7 +274,7 @@ void LLSnapshotLivePreview::reshape(S32 width, S32 height, BOOL called_from_pare LLView::reshape(width, height, called_from_parent); if (old_rect.getWidth() != width || old_rect.getHeight() != height) { - LL_DEBUGS() << "window reshaped, updating thumbnail" << LL_ENDL; + // _LL_DEBUGS() << "window reshaped, updating thumbnail" << LL_ENDL; if (mViewContainer && mViewContainer->isInVisibleChain()) { // We usually resize only on window reshape, so give it a chance to redraw, assign delay @@ -502,7 +502,7 @@ BOOL LLSnapshotLivePreview::onIdle( void* snapshot_preview ) // time to produce a snapshot if(!previewp->getSnapshotUpToDate()) { - LL_DEBUGS() << "producing snapshot" << LL_ENDL; + // _LL_DEBUGS() << "producing snapshot" << LL_ENDL; if (!previewp->mPreviewImage) { previewp->mPreviewImage = new LLImageRaw; @@ -545,7 +545,7 @@ BOOL LLSnapshotLivePreview::onIdle( void* snapshot_preview ) //BD previewp->mSnapshotDelayTimer.stop(); previewp->mSnapshotActive = FALSE; - LL_DEBUGS() << "done creating snapshot" << LL_ENDL; + // _LL_DEBUGS() << "done creating snapshot" << LL_ENDL; } if (!previewp->getThumbnailUpToDate()) @@ -595,7 +595,7 @@ LLPointer<LLImageRaw> LLSnapshotLivePreview::getEncodedImage() if (getSnapshotType() == LLSnapshotModel::SNAPSHOT_TEXTURE) { // We don't store the intermediate formatted image in mFormattedImage in the J2C case - LL_DEBUGS() << "Encoding new image of format J2C" << LL_ENDL; + // _LL_DEBUGS() << "Encoding new image of format J2C" << LL_ENDL; LLPointer<LLImageJ2C> formatted = new LLImageJ2C; // Copy the preview LLPointer<LLImageRaw> scaled = new LLImageRaw( @@ -686,7 +686,7 @@ LLPointer<LLImageFormatted> LLSnapshotLivePreview::getFormattedImage() // Create the new formatted image of the appropriate format. LLSnapshotModel::ESnapshotFormat format = getSnapshotFormat(); - LL_DEBUGS() << "Encoding new image of format " << format << LL_ENDL; + // _LL_DEBUGS() << "Encoding new image of format " << format << LL_ENDL; switch (format) { @@ -711,7 +711,7 @@ LLPointer<LLImageFormatted> LLSnapshotLivePreview::getFormattedImage() void LLSnapshotLivePreview::setSize(S32 w, S32 h) { - LL_DEBUGS() << "setSize(" << w << ", " << h << ")" << LL_ENDL; + // _LL_DEBUGS() << "setSize(" << w << ", " << h << ")" << LL_ENDL; setWidth(w); setHeight(h); } @@ -733,7 +733,7 @@ void LLSnapshotLivePreview::getSize(S32& w, S32& h) const void LLSnapshotLivePreview::saveTexture(BOOL outfit_snapshot, std::string name) { - LL_DEBUGS() << "saving texture: " << mPreviewImage->getWidth() << "x" << mPreviewImage->getHeight() << LL_ENDL; + // _LL_DEBUGS() << "saving texture: " << mPreviewImage->getWidth() << "x" << mPreviewImage->getHeight() << LL_ENDL; // gen a new uuid for this asset LLTransactionID tid; tid.generate(); @@ -761,7 +761,7 @@ void LLSnapshotLivePreview::saveTexture(BOOL outfit_snapshot, std::string name) } scaled->biasedScaleToPowerOfTwo(MAX_TEXTURE_SIZE); - LL_DEBUGS() << "scaled texture to " << scaled->getWidth() << "x" << scaled->getHeight() << LL_ENDL; + // _LL_DEBUGS() << "scaled texture to " << scaled->getWidth() << "x" << scaled->getHeight() << LL_ENDL; if (formatted->encode(scaled, 0.0f)) { diff --git a/indra/newview/llspatialpartition.cpp b/indra/newview/llspatialpartition.cpp index 944f0968110..dfd347dae3f 100644 --- a/indra/newview/llspatialpartition.cpp +++ b/indra/newview/llspatialpartition.cpp @@ -784,9 +784,9 @@ F32 LLSpatialPartition::calcDistance(LLSpatialGroup* group, LLCamera& camera) dist = eye.getLength3().getF32(); } - LL_DEBUGS("RiggedBox") << "calcDistance, group " << group << " camera " << origin << " obj bounds " + /*// _LL_DEBUGS("RiggedBox") << "calcDistance, group " << group << " camera " << origin << " obj bounds " << group->mObjectBounds[0] << ", " << group->mObjectBounds[1] - << " dist " << dist << " radius " << group->mRadius << LL_ENDL; + << " dist " << dist << " radius " << group->mRadius << LL_ENDL;*/ if (dist < 16.f) { @@ -842,13 +842,13 @@ BOOL LLSpatialGroup::changeLOD() if (fabsf(ratio) >= getSpatialPartition()->mSlopRatio) { - LL_DEBUGS("RiggedBox") << "changeLOD true because of ratio compare " - << fabsf(ratio) << " " << getSpatialPartition()->mSlopRatio << LL_ENDL; - LL_DEBUGS("RiggedBox") << "sg " << this << "\nmDistance " << mDistance + /*// _LL_DEBUGS("RiggedBox") << "changeLOD true because of ratio compare " + << fabsf(ratio) << " " << getSpatialPartition()->mSlopRatio << LL_ENDL;*/ + /*// _LL_DEBUGS("RiggedBox") << "sg " << this << "\nmDistance " << mDistance << " mLastUpdateDistance " << mLastUpdateDistance << " mRadius " << mRadius << " fab ratio " << fabsf(ratio) - << " slop " << getSpatialPartition()->mSlopRatio << LL_ENDL; + << " slop " << getSpatialPartition()->mSlopRatio << LL_ENDL;*/ return TRUE; } diff --git a/indra/newview/llspeakers.cpp b/indra/newview/llspeakers.cpp index abb936c3e5b..eec06183a2d 100644 --- a/indra/newview/llspeakers.cpp +++ b/indra/newview/llspeakers.cpp @@ -301,7 +301,7 @@ LLPointer<LLSpeaker> LLSpeakerMgr::setSpeaker(const LLUUID& id, const std::strin speakerp->mStatus = status; mSpeakers.insert(std::make_pair(speakerp->mID, speakerp)); mSpeakersSorted.push_back(speakerp); - LL_DEBUGS("Speakers") << "Added speaker " << id << LL_ENDL; + // _LL_DEBUGS("Speakers") << "Added speaker " << id << LL_ENDL; fireEvent(new LLSpeakerListChangeEvent(this, speakerp->mID), "add"); } else @@ -386,7 +386,7 @@ void LLSpeakerMgr::update(BOOL resort_ok) if (moderator_muted_voice != speakerp->mModeratorMutedVoice) { speakerp->mModeratorMutedVoice = moderator_muted_voice; - LL_DEBUGS("Speakers") << (speakerp->mModeratorMutedVoice? "Muted" : "Umuted") << " speaker " << speaker_id<< LL_ENDL; + // _LL_DEBUGS("Speakers") << (speakerp->mModeratorMutedVoice? "Muted" : "Umuted") << " speaker " << speaker_id<< LL_ENDL; speakerp->fireEvent(new LLSpeakerVoiceModerationEvent(speakerp)); } @@ -581,7 +581,7 @@ bool LLSpeakerMgr::removeSpeaker(const LLUUID& speaker_id) } } - LL_DEBUGS("Speakers") << "Removed speaker " << speaker_id << LL_ENDL; + // _LL_DEBUGS("Speakers") << "Removed speaker " << speaker_id << LL_ENDL; fireEvent(new LLSpeakerListChangeEvent(this, speaker_id), "remove"); update(TRUE); @@ -699,7 +699,7 @@ void LLIMSpeakerMgr::setSpeakers(const LLSD& speakers) // Fire event only if moderator changed if ( is_moderator != speakerp->mIsModerator ) { - LL_DEBUGS("Speakers") << "Speaker " << agent_id << (is_moderator ? "is now" : "no longer is") << " a moderator" << LL_ENDL; + // _LL_DEBUGS("Speakers") << "Speaker " << agent_id << (is_moderator ? "is now" : "no longer is") << " a moderator" << LL_ENDL; fireEvent(new LLSpeakerUpdateModeratorEvent(speakerp), "update_moderator"); } } @@ -772,7 +772,7 @@ void LLIMSpeakerMgr::updateSpeakers(const LLSD& update) // Fire event only if moderator changed if ( is_moderator != speakerp->mIsModerator ) { - LL_DEBUGS("Speakers") << "Speaker " << agent_id << (is_moderator ? "is now" : "no longer is") << " a moderator" << LL_ENDL; + // _LL_DEBUGS("Speakers") << "Speaker " << agent_id << (is_moderator ? "is now" : "no longer is") << " a moderator" << LL_ENDL; fireEvent(new LLSpeakerUpdateModeratorEvent(speakerp), "update_moderator"); } } @@ -970,7 +970,7 @@ void LLActiveSpeakerMgr::updateSpeakerList() // always populate from active voice channel if (LLVoiceChannel::getCurrentVoiceChannel() != mVoiceChannel) //MA: seems this is always false { - LL_DEBUGS("Speakers") << "Removed all speakers" << LL_ENDL; + // _LL_DEBUGS("Speakers") << "Removed all speakers" << LL_ENDL; fireEvent(new LLSpeakerListChangeEvent(this, LLUUID::null), "clear"); mSpeakers.clear(); mSpeakersSorted.clear(); diff --git a/indra/newview/llspeakingindicatormanager.cpp b/indra/newview/llspeakingindicatormanager.cpp index 5ca1d4b4a57..9d610cd36ab 100644 --- a/indra/newview/llspeakingindicatormanager.cpp +++ b/indra/newview/llspeakingindicatormanager.cpp @@ -139,7 +139,7 @@ void SpeakingIndicatorManager::registerSpeakingIndicator(const LLUUID& speaker_i { // do not exclude agent's indicators. They should be processed in the same way as others. See EXT-3889. - LL_DEBUGS("SpeakingIndicator") << "Registering indicator: " << speaker_id << "|"<< speaking_indicator << ", session: " << session_id << LL_ENDL; + // _LL_DEBUGS("SpeakingIndicator") << "Registering indicator: " << speaker_id << "|"<< speaking_indicator << ", session: " << session_id << LL_ENDL; ensureInstanceDoesNotExist(speaking_indicator); @@ -158,14 +158,14 @@ void SpeakingIndicatorManager::registerSpeakingIndicator(const LLUUID& speaker_i void SpeakingIndicatorManager::unregisterSpeakingIndicator(const LLUUID& speaker_id, const LLSpeakingIndicator* const speaking_indicator) { - LL_DEBUGS("SpeakingIndicator") << "Unregistering indicator: " << speaker_id << "|"<< speaking_indicator << LL_ENDL; + // _LL_DEBUGS("SpeakingIndicator") << "Unregistering indicator: " << speaker_id << "|"<< speaking_indicator << LL_ENDL; speaking_indicators_mmap_t::iterator it; it = mSpeakingIndicators.find(speaker_id); for (;it != mSpeakingIndicators.end(); ++it) { if (it->second == speaking_indicator) { - LL_DEBUGS("SpeakingIndicator") << "Unregistered." << LL_ENDL; + // _LL_DEBUGS("SpeakingIndicator") << "Unregistered." << LL_ENDL; mSpeakingIndicators.erase(it); break; } @@ -199,17 +199,17 @@ void SpeakingIndicatorManager::sOnCurrentChannelChanged(const LLUUID& /*session_ void SpeakingIndicatorManager::onParticipantsChanged() { - LL_DEBUGS("SpeakingIndicator") << "Voice participant list was changed, updating indicators" << LL_ENDL; + // _LL_DEBUGS("SpeakingIndicator") << "Voice participant list was changed, updating indicators" << LL_ENDL; speaker_ids_t speakers_uuids; LLVoiceClient::getInstance()->getParticipantList(speakers_uuids); - LL_DEBUGS("SpeakingIndicator") << "Switching all OFF, count: " << mSwitchedIndicatorsOn.size() << LL_ENDL; + // _LL_DEBUGS("SpeakingIndicator") << "Switching all OFF, count: " << mSwitchedIndicatorsOn.size() << LL_ENDL; // switch all indicators off switchSpeakerIndicators(mSwitchedIndicatorsOn, FALSE); mSwitchedIndicatorsOn.clear(); - LL_DEBUGS("SpeakingIndicator") << "Switching all ON, count: " << speakers_uuids.size() << LL_ENDL; + // _LL_DEBUGS("SpeakingIndicator") << "Switching all ON, count: " << speakers_uuids.size() << LL_ENDL; // then switch current voice participants indicators on switchSpeakerIndicators(speakers_uuids, TRUE); } @@ -226,7 +226,7 @@ void SpeakingIndicatorManager::switchSpeakerIndicators(const speaker_ids_t& spea speaker_ids_t::const_iterator it_uuid = speakers_uuids.begin(); for (; it_uuid != speakers_uuids.end(); ++it_uuid) { - LL_DEBUGS("SpeakingIndicator") << "Looking for indicator: " << *it_uuid << LL_ENDL; + // _LL_DEBUGS("SpeakingIndicator") << "Looking for indicator: " << *it_uuid << LL_ENDL; indicator_range_t it_range = mSpeakingIndicators.equal_range(*it_uuid); indicator_const_iterator it_indicator = it_range.first; bool was_found = false; @@ -242,11 +242,11 @@ void SpeakingIndicatorManager::switchSpeakerIndicators(const speaker_ids_t& spea if (was_found) { - LL_DEBUGS("SpeakingIndicator") << mSpeakingIndicators.count(*it_uuid) << " indicators were found" << LL_ENDL; + // _LL_DEBUGS("SpeakingIndicator") << mSpeakingIndicators.count(*it_uuid) << " indicators were found" << LL_ENDL; if (switch_on && !was_switched_on) { - LL_DEBUGS("SpeakingIndicator") << "but none of them were switched on" << LL_ENDL; + // _LL_DEBUGS("SpeakingIndicator") << "but none of them were switched on" << LL_ENDL; } if (was_switched_on) @@ -260,13 +260,13 @@ void SpeakingIndicatorManager::switchSpeakerIndicators(const speaker_ids_t& spea void SpeakingIndicatorManager::ensureInstanceDoesNotExist(LLSpeakingIndicator* const speaking_indicator) { - LL_DEBUGS("SpeakingIndicator") << "Searching for an registered indicator instance: " << speaking_indicator << LL_ENDL; + // _LL_DEBUGS("SpeakingIndicator") << "Searching for an registered indicator instance: " << speaking_indicator << LL_ENDL; speaking_indicators_mmap_t::iterator it = mSpeakingIndicators.begin(); for (;it != mSpeakingIndicators.end(); ++it) { if (it->second == speaking_indicator) { - LL_DEBUGS("SpeakingIndicator") << "Found" << LL_ENDL; + // _LL_DEBUGS("SpeakingIndicator") << "Found" << LL_ENDL; break; } } diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index 925a328be32..4de1536c13b 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -462,7 +462,7 @@ bool idle_startup() // // Initialize messaging system // - LL_DEBUGS("AppInit") << "Initializing messaging system..." << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Initializing messaging system..." << LL_ENDL; std::string message_template_path = gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS,"message_template.msg"); @@ -574,7 +574,7 @@ bool idle_startup() if (gSavedSettings.getBOOL("LogMessages")) { - LL_DEBUGS("AppInit") << "Message logging activated!" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Message logging activated!" << LL_ENDL; msg->startLogging(); } @@ -599,13 +599,13 @@ bool idle_startup() F32 outBandwidth = gSavedSettings.getF32("OutBandwidth"); if (inBandwidth != 0.f) { - LL_DEBUGS("AppInit") << "Setting packetring incoming bandwidth to " << inBandwidth << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Setting packetring incoming bandwidth to " << inBandwidth << LL_ENDL; msg->mPacketRing.setUseInThrottle(TRUE); msg->mPacketRing.setInBandwidth(inBandwidth); } if (outBandwidth != 0.f) { - LL_DEBUGS("AppInit") << "Setting packetring outgoing bandwidth to " << outBandwidth << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Setting packetring outgoing bandwidth to " << outBandwidth << LL_ENDL; msg->mPacketRing.setUseOutThrottle(TRUE); msg->mPacketRing.setOutBandwidth(outBandwidth); } @@ -737,7 +737,7 @@ bool idle_startup() if (STATE_BROWSER_INIT == LLStartUp::getStartupState()) { - LL_DEBUGS("AppInit") << "STATE_BROWSER_INIT" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "STATE_BROWSER_INIT" << LL_ENDL; std::string msg = LLTrans::getString("LoginInitializingBrowser"); set_startup_status(0.03f, msg.c_str(), gAgent.mMOTD.c_str()); display_startup(); @@ -749,14 +749,14 @@ bool idle_startup() if (STATE_LOGIN_SHOW == LLStartUp::getStartupState()) { - LL_DEBUGS("AppInit") << "Initializing Window, show_connect_box = " - << show_connect_box << LL_ENDL; + /*// _LL_DEBUGS("AppInit") << "Initializing Window, show_connect_box = " + << show_connect_box << LL_ENDL;*/ // if we've gone backwards in the login state machine, to this state where we show the UI // AND the debug setting to exit in this case is true, then go ahead and bail quickly if ( mLoginStatePastUI && gSavedSettings.getBOOL("QuitOnLoginActivated") ) { - LL_DEBUGS("AppInit") << "taking QuitOnLoginActivated exit" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "taking QuitOnLoginActivated exit" << LL_ENDL; // no requirement for notification here - just exit LLAppViewer::instance()->earlyExitNoNotify(); } @@ -765,7 +765,7 @@ bool idle_startup() // Login screen needs menus for preferences, but we can enter // this startup phase more than once. - LL_DEBUGS("AppInit") << "initializing menu bar" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "initializing menu bar" << LL_ENDL; initialize_edit_menu(); initialize_spellcheck_menu(); init_menus(); @@ -773,13 +773,13 @@ bool idle_startup() if (show_connect_box) { - LL_DEBUGS("AppInit") << "show_connect_box on" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "show_connect_box on" << LL_ENDL; // Load all the name information out of the login view // NOTE: Hits "Attempted getFields with no login view shown" warning, since we don't // show the login view until login_show() is called below. if (gUserCredential.isNull()) { - LL_DEBUGS("AppInit") << "loading credentials from gLoginHandler" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "loading credentials from gLoginHandler" << LL_ENDL; gUserCredential = gLoginHandler.initializeLoginInfo(); } // Make sure the process dialog doesn't hide things @@ -800,7 +800,7 @@ bool idle_startup() } else { - LL_DEBUGS("AppInit") << "FirstLoginThisInstall off" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "FirstLoginThisInstall off" << LL_ENDL; } } display_startup(); @@ -808,7 +808,7 @@ bool idle_startup() } else { - LL_DEBUGS("AppInit") << "show_connect_box off, skipping to STATE_LOGIN_CLEANUP" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "show_connect_box off, skipping to STATE_LOGIN_CLEANUP" << LL_ENDL; // skip directly to message template verification LLStartUp::setStartupState( STATE_LOGIN_CLEANUP ); } @@ -817,7 +817,7 @@ bool idle_startup() show_debug_menus(); // Hide the splash screen - LL_DEBUGS("AppInit") << "Hide the splash screen and show window" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Hide the splash screen and show window" << LL_ENDL; LLSplashScreen::hide(); // Push our window frontmost gViewerWindow->getWindow()->show(); @@ -825,12 +825,12 @@ bool idle_startup() // DEV-16927. The following code removes errant keystrokes that happen while the window is being // first made visible. #ifdef _WIN32 - LL_DEBUGS("AppInit") << "Processing PeekMessage" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Processing PeekMessage" << LL_ENDL; MSG msg; while( PeekMessage( &msg, /*All hWnds owned by this thread */ NULL, WM_KEYFIRST, WM_KEYLAST, PM_REMOVE ) ) { } - LL_DEBUGS("AppInit") << "PeekMessage processed" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "PeekMessage processed" << LL_ENDL; #endif display_startup(); timeout.reset(); @@ -1348,10 +1348,10 @@ bool idle_startup() LLViewerRegion *regionp = LLWorld::getInstance()->getRegionFromHandle(gFirstSimHandle); LL_INFOS("AppInit") << "Adding initial simulator " << regionp->getOriginGlobal() << LL_ENDL; - LL_DEBUGS("CrossingCaps") << "Calling setSeedCapability from init_idle(). Seed cap == " - << gFirstSimSeedCap << LL_ENDL; + /*// _LL_DEBUGS("CrossingCaps") << "Calling setSeedCapability from init_idle(). Seed cap == " + << gFirstSimSeedCap << LL_ENDL;*/ regionp->setSeedCapability(gFirstSimSeedCap); - LL_DEBUGS("AppInit") << "Waiting for seed grant ...." << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Waiting for seed grant ...." << LL_ENDL; set_startup_status(0.23f, LLTrans::getString("WorldInit"), "Setting Region"); display_startup(); // Set agent's initial region to be the one we just created. @@ -1517,7 +1517,7 @@ bool idle_startup() // Sets up the parameters for the first simulator - LL_DEBUGS("AppInit") << "Initializing camera..." << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Initializing camera..." << LL_ENDL; gFrameTime = totalTime(); F32Seconds last_time = gFrameTimeSeconds; gFrameTimeSeconds = (gFrameTime - gStartTime); @@ -1550,7 +1550,7 @@ bool idle_startup() display_startup(); // Initialize global class data needed for surfaces (i.e. textures) - LL_DEBUGS("AppInit") << "Initializing sky..." << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Initializing sky..." << LL_ENDL; // Initialize all of the viewer object classes for the first time (doing things like texture fetches. LLGLState::checkStates(); LLGLState::checkTextureChannels(); @@ -1562,7 +1562,7 @@ bool idle_startup() set_startup_status(0.40f, LLTrans::getString("SeedGranted"), "Decoding Images"); display_startup(); - LL_DEBUGS("AppInit") << "Decoding images..." << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Decoding images..." << LL_ENDL; // For all images pre-loaded into viewer cache, decode them. // Need to do this AFTER we init the sky const S32 DECODE_TIME_SEC = 2; @@ -1617,7 +1617,7 @@ bool idle_startup() //--------------------------------------------------------------------- if(STATE_WORLD_WAIT == LLStartUp::getStartupState()) { - LL_DEBUGS("AppInit") << "Waiting for simulator ack...." << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Waiting for simulator ack...." << LL_ENDL; set_startup_status(0.48f, LLTrans::getString("LoginWaitingForRegionHandshake"), ""); if(gGotUseCircuitCodeAck) { @@ -1643,7 +1643,7 @@ bool idle_startup() //--------------------------------------------------------------------- if (STATE_AGENT_SEND == LLStartUp::getStartupState()) { - LL_DEBUGS("AppInit") << "Connecting to region..." << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Connecting to region..." << LL_ENDL; set_startup_status(0.50f, LLTrans::getString("AgentSend"), ""); display_startup(); // register with the message system so it knows we're @@ -1699,8 +1699,8 @@ bool idle_startup() } else { - LL_DEBUGS("AppInit") << "Awaiting AvatarInitComplete, got " - << gMessageSystem->getMessageName() << LL_ENDL; + /*// _LL_DEBUGS("AppInit") << "Awaiting AvatarInitComplete, got " + << gMessageSystem->getMessageName() << LL_ENDL;*/ } display_startup(); } @@ -1975,17 +1975,17 @@ bool idle_startup() if (rate_bps > FASTER_RATE_BPS && rate_bps > max_bandwidth) { - LL_DEBUGS("AppInit") << "Fast network connection, increasing max bandwidth to " + /*// _LL_DEBUGS("AppInit") << "Fast network connection, increasing max bandwidth to " << FASTER_RATE_BPS/1024.f - << " kbps" << LL_ENDL; + << " kbps" << LL_ENDL;*/ gViewerThrottle.setMaxBandwidth(FASTER_RATE_BPS / 1024.f); } else if (rate_bps > FAST_RATE_BPS && rate_bps > max_bandwidth) { - LL_DEBUGS("AppInit") << "Fast network connection, increasing max bandwidth to " + /*// _LL_DEBUGS("AppInit") << "Fast network connection, increasing max bandwidth to " << FAST_RATE_BPS/1024.f - << " kbps" << LL_ENDL; + << " kbps" << LL_ENDL;*/ gViewerThrottle.setMaxBandwidth(FAST_RATE_BPS / 1024.f); } @@ -2045,8 +2045,8 @@ bool idle_startup() = LLLoginInstance::getInstance()->getResponse("gestures"); if (gesture_options.isDefined()) { - LL_DEBUGS("AppInit") << "Gesture Manager loading " << gesture_options.size() - << LL_ENDL; + /*// _LL_DEBUGS("AppInit") << "Gesture Manager loading " << gesture_options.size() + << LL_ENDL;*/ uuid_vec_t item_ids; for(LLSD::array_const_iterator resp_it = gesture_options.beginArray(), end = gesture_options.endArray(); resp_it != end; ++resp_it) @@ -2083,9 +2083,9 @@ bool idle_startup() msg->setHandlerFuncFast(_PREHASH_AttachedSound, process_attached_sound); msg->setHandlerFuncFast(_PREHASH_AttachedSoundGainChange, process_attached_sound_gain_change); - LL_DEBUGS("AppInit") << "Initialization complete" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Initialization complete" << LL_ENDL; - LL_DEBUGS("SceneLoadTiming", "Start") << "Scene Load Started " << LL_ENDL; + // _LL_DEBUGS("SceneLoadTiming", "Start") << "Scene Load Started " << LL_ENDL; gRenderStartTime.reset(); gForegroundTime.reset(); @@ -2104,7 +2104,7 @@ bool idle_startup() { LL_INFOS() << "gAgentStartLocation : " << gAgentStartLocation << LL_ENDL; LLSLURL start_slurl = LLStartUp::getStartSLURL(); - LL_DEBUGS("AppInit") << "start slurl "<<start_slurl.asString()<<LL_ENDL; + // _LL_DEBUGS("AppInit") << "start slurl "<<start_slurl.asString()<<LL_ENDL; if (((start_slurl.getType() == LLSLURL::LOCATION) && (gAgentStartLocation == "url")) || ((start_slurl.getType() == LLSLURL::LAST_LOCATION) && (gAgentStartLocation == "last")) || @@ -2264,7 +2264,7 @@ bool idle_startup() if (isAgentAvatarValid() && gAgentAvatarp->isFullyLoaded()) { - LL_DEBUGS("Avatar") << "avatar fully loaded" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "avatar fully loaded" << LL_ENDL; LLStartUp::setStartupState( STATE_CLEANUP ); return TRUE; } @@ -2275,7 +2275,7 @@ bool idle_startup() if ( gAgentWearables.areWearablesLoaded() ) { // We have our clothing, proceed. - LL_DEBUGS("Avatar") << "wearables loaded" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "wearables loaded" << LL_ENDL; LLStartUp::setStartupState( STATE_CLEANUP ); return TRUE; } @@ -2304,7 +2304,7 @@ bool idle_startup() gViewerWindow->showCursor(); gViewerWindow->getWindow()->resetBusyCount(); gViewerWindow->getWindow()->setCursor(UI_CURSOR_ARROW); - LL_DEBUGS("AppInit") << "Done releasing bitmap" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Done releasing bitmap" << LL_ENDL; //gViewerWindow->revealIntroPanel(); gViewerWindow->setStartupComplete(); gViewerWindow->setProgressCancelButtonVisible(FALSE); @@ -2325,7 +2325,7 @@ bool idle_startup() // Start automatic replay if the flag is set. if (gSavedSettings.getBOOL("StatsAutoRun") || gAgentPilot.getReplaySession()) { - LL_DEBUGS("AppInit") << "Starting automatic playback" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Starting automatic playback" << LL_ENDL; gAgentPilot.startPlayback(); } @@ -2458,7 +2458,7 @@ bool first_run_dialog_callback(const LLSD& notification, const LLSD& response) S32 option = LLNotificationsUtil::getSelectedOption(notification, response); if (0 == option) { - LL_DEBUGS("AppInit") << "First run dialog cancelling" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "First run dialog cancelling" << LL_ENDL; LLWeb::loadURLExternal(LLTrans::getString("create_account_url") ); } @@ -2768,7 +2768,7 @@ std::string LLStartUp::getScreenHomeFilename() void LLStartUp::loadInitialOutfit( const std::string& outfit_folder_name, const std::string& gender_name ) { - LL_DEBUGS() << "starting" << LL_ENDL; + // _LL_DEBUGS() << "starting" << LL_ENDL; // Not going through the processAgentInitialWearables path, so need to set this here. LLAppearanceMgr::instance().setAttachmentInvLinkEnable(true); @@ -2778,12 +2778,12 @@ void LLStartUp::loadInitialOutfit( const std::string& outfit_folder_name, ESex gender; if (gender_name == "male") { - LL_DEBUGS() << "male" << LL_ENDL; + // _LL_DEBUGS() << "male" << LL_ENDL; gender = SEX_MALE; } else { - LL_DEBUGS() << "female" << LL_ENDL; + // _LL_DEBUGS() << "female" << LL_ENDL; gender = SEX_FEMALE; } @@ -2802,7 +2802,7 @@ void LLStartUp::loadInitialOutfit( const std::string& outfit_folder_name, outfit_folder_name); if (cat_id.isNull()) { - LL_DEBUGS() << "standard wearables" << LL_ENDL; + // _LL_DEBUGS() << "standard wearables" << LL_ENDL; gAgentWearables.createStandardWearables(); } else @@ -2818,7 +2818,7 @@ void LLStartUp::loadInitialOutfit( const std::string& outfit_folder_name, // Need to fetch cof contents before we can wear. callAfterCategoryFetch(LLAppearanceMgr::instance().getCOF(), boost::bind(&LLAppearanceMgr::wearInventoryCategory, LLAppearanceMgr::getInstance(), cat, do_copy, do_append)); - LL_DEBUGS() << "initial outfit category id: " << cat_id << LL_ENDL; + // _LL_DEBUGS() << "initial outfit category id: " << cat_id << LL_ENDL; } gAgent.setOutfitChosen(TRUE); @@ -2829,16 +2829,16 @@ void LLStartUp::loadInitialOutfit( const std::string& outfit_folder_name, void LLStartUp::saveInitialOutfit() { if (sInitialOutfit.empty()) { - LL_DEBUGS() << "sInitialOutfit is empty" << LL_ENDL; + // _LL_DEBUGS() << "sInitialOutfit is empty" << LL_ENDL; return; } if (sWearablesLoadedCon.connected()) { - LL_DEBUGS("Avatar") << "sWearablesLoadedCon is connected, disconnecting" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "sWearablesLoadedCon is connected, disconnecting" << LL_ENDL; sWearablesLoadedCon.disconnect(); } - LL_DEBUGS("Avatar") << "calling makeNewOutfitLinks( \"" << sInitialOutfit << "\" )" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "calling makeNewOutfitLinks( \"" << sInitialOutfit << "\" )" << LL_ENDL; LLAppearanceMgr::getInstance()->makeNewOutfitLinks(sInitialOutfit,false); } @@ -2866,7 +2866,7 @@ std::string LLStartUp::getUserId() LL_INFOS("AppInit") << "re-initializing start screen" << LL_ENDL; } - LL_DEBUGS("AppInit") << "Loading startup bitmap..." << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Loading startup bitmap..." << LL_ENDL; U8 image_codec = IMG_CODEC_PNG; std::string temp_str = gDirUtilp->getLindenUserDir() + gDirUtilp->getDirDelimiter(); @@ -2936,7 +2936,7 @@ std::string LLStartUp::getUserId() // frees the bitmap void release_start_screen() { - LL_DEBUGS("AppInit") << "Releasing bitmap..." << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Releasing bitmap..." << LL_ENDL; gStartTexture = NULL; }*/ @@ -3020,14 +3020,14 @@ void reset_login() // early, before the login screen). JC void LLStartUp::multimediaInit() { - LL_DEBUGS("AppInit") << "Initializing Multimedia...." << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Initializing Multimedia...." << LL_ENDL; //set_startup_status(0.42f, msg.c_str(), gAgent.mMOTD.c_str()); display_startup(); } void LLStartUp::fontInit() { - LL_DEBUGS("AppInit") << "Initializing fonts...." << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Initializing fonts...." << LL_ENDL; std::string msg = LLTrans::getString("LoginInitializingFonts"); display_startup(); @@ -3103,12 +3103,12 @@ bool LLStartUp::dispatchURL() void LLStartUp::setStartSLURL(const LLSLURL& slurl) { - LL_DEBUGS("AppInit")<<slurl.asString()<<LL_ENDL; + // _LL_DEBUGS("AppInit")<<slurl.asString()<<LL_ENDL; if ( slurl.isSpatial() ) { std::string new_start = slurl.getSLURLString(); - LL_DEBUGS("AppInit")<<new_start<<LL_ENDL; + // _LL_DEBUGS("AppInit")<<new_start<<LL_ENDL; sStartSLURL = slurl; LLPanelLogin::onUpdateStartSLURL(slurl); // updates grid if needed @@ -3402,7 +3402,7 @@ void apply_udp_blacklist(const std::string& csv) } std::string item(csv, start, comma-start); - LL_DEBUGS() << "udp_blacklist " << item << LL_ENDL; + // _LL_DEBUGS() << "udp_blacklist " << item << LL_ENDL; gMessageSystem->banUdpMessage(item); start = comma + 1; @@ -3430,7 +3430,7 @@ bool init_benefits(LLSD& response) } else { - LL_DEBUGS("Benefits") << "Initialized current benefits, level " << package_name << " from " << benefits_sd << LL_ENDL; + // _LL_DEBUGS("Benefits") << "Initialized current benefits, level " << package_name << " from " << benefits_sd << LL_ENDL; } const LLSD& packages_sd = response["premium_packages"]; for(LLSD::map_const_iterator package_iter = packages_sd.beginMap(); @@ -3441,7 +3441,7 @@ bool init_benefits(LLSD& response) const LLSD& benefits_sd = package_iter->second["benefits"]; if (LLAgentBenefitsMgr::init(package_name, benefits_sd)) { - LL_DEBUGS("Benefits") << "Initialized benefits for package " << package_name << " from " << benefits_sd << LL_ENDL; + // _LL_DEBUGS("Benefits") << "Initialized benefits for package " << package_name << " from " << benefits_sd << LL_ENDL; } else { diff --git a/indra/newview/llsyntaxid.cpp b/indra/newview/llsyntaxid.cpp index 10a9dee4157..fafd9a912d2 100644 --- a/indra/newview/llsyntaxid.cpp +++ b/indra/newview/llsyntaxid.cpp @@ -83,21 +83,21 @@ bool LLSyntaxIdLSL::syntaxIdChanged() // get and check the hash LLUUID new_syntax_id = sim_features[SYNTAX_ID_SIMULATOR_FEATURE].asUUID(); mCapabilityURL = region->getCapability(SYNTAX_ID_CAPABILITY_NAME); - LL_DEBUGS("SyntaxLSL") << SYNTAX_ID_SIMULATOR_FEATURE << " capability URL: " << mCapabilityURL << LL_ENDL; + // _LL_DEBUGS("SyntaxLSL") << SYNTAX_ID_SIMULATOR_FEATURE << " capability URL: " << mCapabilityURL << LL_ENDL; if (new_syntax_id != mSyntaxId) { - LL_DEBUGS("SyntaxLSL") << "New SyntaxID '" << new_syntax_id << "' found." << LL_ENDL; + // _LL_DEBUGS("SyntaxLSL") << "New SyntaxID '" << new_syntax_id << "' found." << LL_ENDL; mSyntaxId = new_syntax_id; return true; } - else - LL_DEBUGS("SyntaxLSL") << "SyntaxID matches what we have." << LL_ENDL; + //else + // _LL_DEBUGS("SyntaxLSL") << "SyntaxID matches what we have." << LL_ENDL; } } else { region->setCapabilitiesReceivedCallback(boost::bind(&LLSyntaxIdLSL::handleCapsReceived, this, _1)); - LL_DEBUGS("SyntaxLSL") << "Region has not received capabilities. Waiting for caps..." << LL_ENDL; + // _LL_DEBUGS("SyntaxLSL") << "Region has not received capabilities. Waiting for caps..." << LL_ENDL; } } return false; @@ -110,7 +110,7 @@ void LLSyntaxIdLSL::fetchKeywordsFile(const std::string& filespec) { LLCoros::instance().launch("LLSyntaxIdLSL::fetchKeywordsFileCoro", boost::bind(&LLSyntaxIdLSL::fetchKeywordsFileCoro, this, mCapabilityURL, filespec)); - LL_DEBUGS("SyntaxLSL") << "LSLSyntaxId capability URL is: " << mCapabilityURL << ". Filename to use is: '" << filespec << "'." << LL_ENDL; + // _LL_DEBUGS("SyntaxLSL") << "LSLSyntaxId capability URL is: " << mCapabilityURL << ". Filename to use is: '" << filespec << "'." << LL_ENDL; } //----------------------------------------------------------------------------- @@ -172,7 +172,7 @@ void LLSyntaxIdLSL::cacheFile(const std::string &fileSpec, const LLSD& content_r file.write(xml.c_str(), str.str().size()); file.close(); - LL_DEBUGS("SyntaxLSL") << "Syntax file received, saving as: '" << fileSpec << "'" << LL_ENDL; + // _LL_DEBUGS("SyntaxLSL") << "Syntax file received, saving as: '" << fileSpec << "'" << LL_ENDL; } //----------------------------------------------------------------------------- @@ -187,7 +187,7 @@ void LLSyntaxIdLSL::initialize() } else if (!mCapabilityURL.empty()) { - LL_DEBUGS("SyntaxLSL") << "LSL version has changed, getting appropriate file." << LL_ENDL; + // _LL_DEBUGS("SyntaxLSL") << "LSL version has changed, getting appropriate file." << LL_ENDL; // Need a full spec regardless of file source, so build it now. buildFullFileSpec(); @@ -195,24 +195,24 @@ void LLSyntaxIdLSL::initialize() { if (!gDirUtilp->fileExists(mFullFileSpec)) { // Does not exist, so fetch it from the capability - LL_DEBUGS("SyntaxLSL") << "LSL syntax not cached, attempting download." << LL_ENDL; + // _LL_DEBUGS("SyntaxLSL") << "LSL syntax not cached, attempting download." << LL_ENDL; fetchKeywordsFile(mFullFileSpec); } else { - LL_DEBUGS("SyntaxLSL") << "Found cached Syntax file: " << mFullFileSpec << " Loading keywords." << LL_ENDL; + // _LL_DEBUGS("SyntaxLSL") << "Found cached Syntax file: " << mFullFileSpec << " Loading keywords." << LL_ENDL; loadKeywordsIntoLLSD(); } } else { - LL_DEBUGS("SyntaxLSL") << "LSLSyntaxId is null. Loading default values" << LL_ENDL; + // _LL_DEBUGS("SyntaxLSL") << "LSLSyntaxId is null. Loading default values" << LL_ENDL; loadDefaultKeywordsIntoLLSD(); } } else { - LL_DEBUGS("SyntaxLSL") << "LSLSyntaxId capability URL is empty." << LL_ENDL; + // _LL_DEBUGS("SyntaxLSL") << "LSLSyntaxId capability URL is empty." << LL_ENDL; loadDefaultKeywordsIntoLLSD(); } mInitialized = true; @@ -234,7 +234,7 @@ bool LLSyntaxIdLSL::isSupportedVersion(const LLSD& content) if (content.has(LLSD_SYNTAX_LSL_VERSION_KEY)) { - LL_DEBUGS("SyntaxLSL") << "LSL syntax version: " << content[LLSD_SYNTAX_LSL_VERSION_KEY].asString() << LL_ENDL; + // _LL_DEBUGS("SyntaxLSL") << "LSL syntax version: " << content[LLSD_SYNTAX_LSL_VERSION_KEY].asString() << LL_ENDL; if (content[LLSD_SYNTAX_LSL_VERSION_KEY].asInteger() == LLSD_SYNTAX_LSL_VERSION_EXPECTED) { @@ -243,7 +243,7 @@ bool LLSyntaxIdLSL::isSupportedVersion(const LLSD& content) } else { - LL_DEBUGS("SyntaxLSL") << "Missing LSL syntax version key." << LL_ENDL; + // _LL_DEBUGS("SyntaxLSL") << "Missing LSL syntax version key." << LL_ENDL; } return is_valid; @@ -279,7 +279,7 @@ void LLSyntaxIdLSL::loadKeywordsIntoLLSD() { if (isSupportedVersion(content)) { - LL_DEBUGS("SyntaxLSL") << "Deserialized: " << mFullFileSpec << LL_ENDL; + // _LL_DEBUGS("SyntaxLSL") << "Deserialized: " << mFullFileSpec << LL_ENDL; } else { diff --git a/indra/newview/lltexturecache.cpp b/indra/newview/lltexturecache.cpp index ecdfecc54e0..ee6400ff8b7 100644 --- a/indra/newview/lltexturecache.cpp +++ b/indra/newview/lltexturecache.cpp @@ -561,7 +561,7 @@ bool LLTextureCacheRemoteWorker::doRead() { // No body, we're done. mDataSize = llmax(TEXTURE_CACHE_ENTRY_SIZE - mOffset, 0); - LL_DEBUGS() << "No body file for: " << filename << LL_ENDL; + // _LL_DEBUGS() << "No body file for: " << filename << LL_ENDL; } // Nothing else to do at that point... done = true; @@ -1741,7 +1741,7 @@ void LLTextureCache::purgeTexturesLazy(F32 time_limit_sec) break; } } - LL_DEBUGS("TextureCache") << "Formed Purge list of " << mPurgeEntryList.size() << " entries" << LL_ENDL; + // _LL_DEBUGS("TextureCache") << "Formed Purge list of " << mPurgeEntryList.size() << " entries" << LL_ENDL; } else { @@ -1818,7 +1818,7 @@ void LLTextureCache::purgeTextures(bool validate) validate_idx = gSavedSettings.getU32("CacheValidateCounter"); U32 next_idx = (validate_idx + 1) % 256; gSavedSettings.setU32("CacheValidateCounter", next_idx); - LL_DEBUGS("TextureCache") << "TEXTURE CACHE: Validating: " << validate_idx << LL_ENDL; + // _LL_DEBUGS("TextureCache") << "TEXTURE CACHE: Validating: " << validate_idx << LL_ENDL; } S64 cache_size = mTexturesSizeTotal; @@ -1836,7 +1836,7 @@ void LLTextureCache::purgeTextures(bool validate) if (uuididx == validate_idx) { std::string filename = getTextureFileName(entries[idx].mID); - LL_DEBUGS("TextureCache") << "Validating: " << filename << "Size: " << entries[idx].mBodySize << LL_ENDL; + // _LL_DEBUGS("TextureCache") << "Validating: " << filename << "Size: " << entries[idx].mBodySize << LL_ENDL; // mHeaderAPRFilePoolp because this is under header mutex in main thread S32 bodysize = LLAPRFile::size(filename, mHeaderAPRFilePoolp); if (bodysize != entries[idx].mBodySize) @@ -1859,13 +1859,13 @@ void LLTextureCache::purgeTextures(bool validate) { purge_count++; std::string filename = getTextureFileName(entries[idx].mID); - LL_DEBUGS("TextureCache") << "PURGING: " << filename << LL_ENDL; + // _LL_DEBUGS("TextureCache") << "PURGING: " << filename << LL_ENDL; cache_size -= entries[idx].mBodySize; removeEntry(idx, entries[idx], filename) ; } } - LL_DEBUGS("TextureCache") << "TEXTURE CACHE: Writing Entries: " << num_entries << LL_ENDL; + // _LL_DEBUGS("TextureCache") << "TEXTURE CACHE: Writing Entries: " << num_entries << LL_ENDL; writeEntriesAndClose(entries); diff --git a/indra/newview/lltexturectrl.cpp b/indra/newview/lltexturectrl.cpp index b05617241e0..2e1a24d10e5 100644 --- a/indra/newview/lltexturectrl.cpp +++ b/indra/newview/lltexturectrl.cpp @@ -290,7 +290,7 @@ BOOL LLFloaterTexturePicker::handleDragAndDrop( } handled = TRUE; - LL_DEBUGS("UserInput") << "dragAndDrop handled by LLFloaterTexturePicker " << getName() << LL_ENDL; + // _LL_DEBUGS("UserInput") << "dragAndDrop handled by LLFloaterTexturePicker " << getName() << LL_ENDL; return handled; } @@ -1441,9 +1441,9 @@ void LLTextureCtrl::onFloaterCommit(ETexturePickOp op, LLUUID id) else { mImageItemID = floaterp->findItemID(floaterp->getAssetID(), FALSE); - LL_DEBUGS() << "mImageItemID: " << mImageItemID << LL_ENDL; + // _LL_DEBUGS() << "mImageItemID: " << mImageItemID << LL_ENDL; mImageAssetID = floaterp->getAssetID(); - LL_DEBUGS() << "mImageAssetID: " << mImageAssetID << LL_ENDL; + // _LL_DEBUGS() << "mImageAssetID: " << mImageAssetID << LL_ENDL; } if (op == TEXTURE_SELECT && mOnSelectCallback) @@ -1553,7 +1553,7 @@ BOOL LLTextureCtrl::handleDragAndDrop(S32 x, S32 y, MASK mask, } handled = TRUE; - LL_DEBUGS("UserInput") << "dragAndDrop handled by LLTextureCtrl " << getName() << LL_ENDL; + // _LL_DEBUGS("UserInput") << "dragAndDrop handled by LLTextureCtrl " << getName() << LL_ENDL; return handled; } diff --git a/indra/newview/lltexturefetch.cpp b/indra/newview/lltexturefetch.cpp index 6c12c276278..6363db4339f 100644 --- a/indra/newview/lltexturefetch.cpp +++ b/indra/newview/lltexturefetch.cpp @@ -1157,7 +1157,7 @@ bool LLTextureFetchWorker::doWork(S32 param) { if (mState == INIT || mState == LOAD_FROM_NETWORK || mState == LOAD_FROM_SIMULATOR) { - LL_DEBUGS(LOG_TXT) << mID << " abort: mImagePriority < F_ALMOST_ZERO" << LL_ENDL; + // _LL_DEBUGS(LOG_TXT) << mID << " abort: mImagePriority < F_ALMOST_ZERO" << LL_ENDL; return true; // abort } } @@ -1210,8 +1210,8 @@ bool LLTextureFetchWorker::doWork(S32 param) setState(LOAD_FROM_TEXTURE_CACHE); mInCache = FALSE; mDesiredSize = llmax(mDesiredSize, TEXTURE_CACHE_ENTRY_SIZE); // min desired size is TEXTURE_CACHE_ENTRY_SIZE - LL_DEBUGS(LOG_TXT) << mID << ": Priority: " << llformat("%8.0f",mImagePriority) - << " Desired Discard: " << mDesiredDiscard << " Desired Size: " << mDesiredSize << LL_ENDL; + /*// _LL_DEBUGS(LOG_TXT) << mID << ": Priority: " << llformat("%8.0f",mImagePriority) + << " Desired Discard: " << mDesiredDiscard << " Desired Size: " << mDesiredSize << LL_ENDL;*/ // fall through } @@ -1282,7 +1282,7 @@ bool LLTextureFetchWorker::doWork(S32 param) // //This should never happen // - LL_DEBUGS(LOG_TXT) << mID << " this should never happen" << LL_ENDL; + // _LL_DEBUGS(LOG_TXT) << mID << " this should never happen" << LL_ENDL; return false; } } @@ -1309,9 +1309,9 @@ bool LLTextureFetchWorker::doWork(S32 param) setState(DECODE_IMAGE); mInCache = TRUE; mWriteToCacheState = NOT_WRITE ; - LL_DEBUGS(LOG_TXT) << mID << ": Cached. Bytes: " << mFormattedImage->getDataSize() + /*// _LL_DEBUGS(LOG_TXT) << mID << ": Cached. Bytes: " << mFormattedImage->getDataSize() << " Size: " << llformat("%dx%d",mFormattedImage->getWidth(),mFormattedImage->getHeight()) - << " Desired Discard: " << mDesiredDiscard << " Desired Size: " << mDesiredSize << LL_ENDL; + << " Desired Discard: " << mDesiredDiscard << " Desired Size: " << mDesiredSize << LL_ENDL;*/ record(LLTextureFetch::sCacheHitRate, LLUnits::Ratio::fromValue(1)); } else @@ -1325,7 +1325,7 @@ bool LLTextureFetchWorker::doWork(S32 param) // need more data else { - LL_DEBUGS(LOG_TXT) << mID << ": Not in Cache" << LL_ENDL; + // _LL_DEBUGS(LOG_TXT) << mID << ": Not in Cache" << LL_ENDL; setState(LOAD_FROM_NETWORK); } record(LLTextureFetch::sCacheHitRate, LLUnits::Ratio::fromValue(0)); @@ -1371,20 +1371,20 @@ bool LLTextureFetchWorker::doWork(S32 param) LL_WARNS(LOG_TXT) << "trying to seek a non-default texture on the sim. Bad!" << LL_ENDL; } setUrl(http_url + "/?texture_id=" + mID.asString().c_str()); - LL_DEBUGS(LOG_TXT) << "Texture URL: " << mUrl << LL_ENDL; + // _LL_DEBUGS(LOG_TXT) << "Texture URL: " << mUrl << LL_ENDL; mWriteToCacheState = CAN_WRITE ; //because this texture has a fixed texture id. } else { mCanUseHTTP = false ; - LL_DEBUGS(LOG_TXT) << "Texture not available via HTTP: empty URL." << LL_ENDL; + // _LL_DEBUGS(LOG_TXT) << "Texture not available via HTTP: empty URL." << LL_ENDL; } } else { // This will happen if not logged in or if a region deoes not have HTTP Texture enabled //LL_WARNS(LOG_TXT) << "Region not found for host: " << mHost << LL_ENDL; - LL_DEBUGS(LOG_TXT) << "Texture not available via HTTP: no region " << mUrl << LL_ENDL; + // _LL_DEBUGS(LOG_TXT) << "Texture not available via HTTP: no region " << mUrl << LL_ENDL; mCanUseHTTP = false; } } @@ -1452,7 +1452,7 @@ bool LLTextureFetchWorker::doWork(S32 param) } } - LL_DEBUGS(LOG_TXT) << mID << ": Loaded from Sim. Bytes: " << mFormattedImage->getDataSize() << LL_ENDL; + // _LL_DEBUGS(LOG_TXT) << mID << ": Loaded from Sim. Bytes: " << mFormattedImage->getDataSize() << LL_ENDL; mFetcher->removeFromNetworkQueue(this, false); if (mFormattedImage.isNull() || !mFormattedImage->getDataSize()) { @@ -1589,10 +1589,10 @@ bool LLTextureFetchWorker::doWork(S32 param) mLoaded = FALSE; mGetStatus = LLCore::HttpStatus(); mGetReason.clear(); - LL_DEBUGS(LOG_TXT) << "HTTP GET: " << mID << " Offset: " << mRequestedOffset + /*// _LL_DEBUGS(LOG_TXT) << "HTTP GET: " << mID << " Offset: " << mRequestedOffset << " Bytes: " << mRequestedSize << " Bandwidth(kbps): " << mFetcher->getTextureBandwidth() << "/" << mFetcher->mMaxBandwidth - << LL_ENDL; + << LL_ENDL;*/ // Will call callbackHttpGet when curl request completes // Only server bake images use the returned headers currently, for getting retry-after field. @@ -1866,7 +1866,7 @@ bool LLTextureFetchWorker::doWork(S32 param) { // We aborted, don't decode setState(DONE); - LL_DEBUGS(LOG_TXT) << mID << " DECODE_IMAGE abort: desired discard " << mDesiredDiscard << "<0" << LL_ENDL; + // _LL_DEBUGS(LOG_TXT) << mID << " DECODE_IMAGE abort: desired discard " << mDesiredDiscard << "<0" << LL_ENDL; return true; } @@ -1876,7 +1876,7 @@ bool LLTextureFetchWorker::doWork(S32 param) //abort, don't decode setState(DONE); - LL_DEBUGS(LOG_TXT) << mID << " DECODE_IMAGE abort: (mFormattedImage->getDataSize() <= 0)" << LL_ENDL; + // _LL_DEBUGS(LOG_TXT) << mID << " DECODE_IMAGE abort: (mFormattedImage->getDataSize() <= 0)" << LL_ENDL; return true; } if (mLoadedDiscard < 0) @@ -1885,7 +1885,7 @@ bool LLTextureFetchWorker::doWork(S32 param) //abort, don't decode setState(DONE); - LL_DEBUGS(LOG_TXT) << mID << " DECODE_IMAGE abort: mLoadedDiscard < 0" << LL_ENDL; + // _LL_DEBUGS(LOG_TXT) << mID << " DECODE_IMAGE abort: mLoadedDiscard < 0" << LL_ENDL; return true; } @@ -1896,8 +1896,8 @@ bool LLTextureFetchWorker::doWork(S32 param) U32 image_priority = LLWorkerThread::PRIORITY_NORMAL | mWorkPriority; mDecoded = FALSE; setState(DECODE_IMAGE_UPDATE); - LL_DEBUGS(LOG_TXT) << mID << ": Decoding. Bytes: " << mFormattedImage->getDataSize() << " Discard: " << discard - << " All Data: " << mHaveAllData << LL_ENDL; + /*// _LL_DEBUGS(LOG_TXT) << mID << ": Decoding. Bytes: " << mFormattedImage->getDataSize() << " Discard: " << discard + << " All Data: " << mHaveAllData << LL_ENDL;*/ mDecodeHandle = mFetcher->mImageDecodeThread->decodeImage(mFormattedImage, image_priority, discard, mNeedsAux, new DecodeResponder(mFetcher, mID, this)); // fall though @@ -1919,7 +1919,7 @@ bool LLTextureFetchWorker::doWork(S32 param) if (mCachedSize > 0 && !mInLocalCache && mRetryAttempt == 0) { // Cache file should be deleted, try again - LL_DEBUGS(LOG_TXT) << mID << ": Decode of cached file failed (removed), retrying" << LL_ENDL; + // _LL_DEBUGS(LOG_TXT) << mID << ": Decode of cached file failed (removed), retrying" << LL_ENDL; llassert_always(mDecodeHandle == 0); mFormattedImage = NULL; ++mRetryAttempt; @@ -1929,15 +1929,15 @@ bool LLTextureFetchWorker::doWork(S32 param) } else { - LL_DEBUGS(LOG_TXT) << "Failed to Decode image " << mID << " after " << mRetryAttempt << " retries" << LL_ENDL; + // _LL_DEBUGS(LOG_TXT) << "Failed to Decode image " << mID << " after " << mRetryAttempt << " retries" << LL_ENDL; setState(DONE); // failed } } else { llassert_always(mRawImage.notNull()); - LL_DEBUGS(LOG_TXT) << mID << ": Decoded. Discard: " << mDecodedDiscard - << " Raw Image: " << llformat("%dx%d",mRawImage->getWidth(),mRawImage->getHeight()) << LL_ENDL; + /*// _LL_DEBUGS(LOG_TXT) << mID << ": Decoded. Discard: " << mDecodedDiscard + << " Raw Image: " << llformat("%dx%d",mRawImage->getWidth(),mRawImage->getHeight()) << LL_ENDL;*/ setPriority(LLWorkerThread::PRIORITY_HIGH | mWorkPriority); setState(WRITE_TO_CACHE); } @@ -2009,9 +2009,9 @@ bool LLTextureFetchWorker::doWork(S32 param) { // More data was requested, return to INIT setState(INIT); - LL_DEBUGS(LOG_TXT) << mID << " more data requested, returning to INIT: " + /*// _LL_DEBUGS(LOG_TXT) << mID << " more data requested, returning to INIT: " << " mDecodedDiscard " << mDecodedDiscard << ">= 0 && mDesiredDiscard " << mDesiredDiscard - << "<" << " mDecodedDiscard " << mDecodedDiscard << LL_ENDL; + << "<" << " mDecodedDiscard " << mDecodedDiscard << LL_ENDL;*/ setPriority(LLWorkerThread::PRIORITY_HIGH | mWorkPriority); return false; } @@ -2086,10 +2086,10 @@ void LLTextureFetchWorker::onCompleted(LLCore::HttpHandle handle, LLCore::HttpRe std::string reason(status.toString()); setGetStatus(status, reason); - LL_DEBUGS(LOG_TXT) << "HTTP COMPLETE: " << mID + /*// _LL_DEBUGS(LOG_TXT) << "HTTP COMPLETE: " << mID << " status: " << status.toTerseString() << " '" << reason << "'" - << LL_ENDL; + << LL_ENDL;*/ if (! status) { @@ -2331,7 +2331,7 @@ S32 LLTextureFetchWorker::callbackHttpGet(LLCore::HttpResponse * response, LLCore::BufferArray * body(response->getBody()); data_size = body ? body->size() : 0; - LL_DEBUGS(LOG_TXT) << "HTTP RECEIVED: " << mID.asString() << " Bytes: " << data_size << LL_ENDL; + // _LL_DEBUGS(LOG_TXT) << "HTTP RECEIVED: " << mID.asString() << " Bytes: " << data_size << LL_ENDL; if (data_size > 0) { LLViewerStatsRecorder::instance().textureFetch(data_size); @@ -2483,8 +2483,8 @@ void LLTextureFetchWorker::callbackDecoded(bool success, LLImageRaw* raw, LLImag mRawImage = raw; mAuxImage = aux; mDecodedDiscard = mFormattedImage->getDiscardLevel(); - LL_DEBUGS(LOG_TXT) << mID << ": Decode Finished. Discard: " << mDecodedDiscard - << " Raw Image: " << llformat("%dx%d",mRawImage->getWidth(),mRawImage->getHeight()) << LL_ENDL; + /*// _LL_DEBUGS(LOG_TXT) << mID << ": Decode Finished. Discard: " << mDecodedDiscard + << " Raw Image: " << llformat("%dx%d",mRawImage->getWidth(),mRawImage->getHeight()) << LL_ENDL;*/ } else { @@ -2660,7 +2660,7 @@ bool LLTextureFetch::createRequest(FTType f_type, const std::string& url, const if (f_type == FTT_SERVER_BAKE) { - LL_DEBUGS("Avatar") << " requesting " << id << " " << w << "x" << h << " discard " << desired_discard << " type " << f_type << LL_ENDL; + // _LL_DEBUGS("Avatar") << " requesting " << id << " " << w << "x" << h << " discard " << desired_discard << " type " << f_type << LL_ENDL; } LLTextureFetchWorker* worker = getWorker(id) ; if (worker) @@ -2685,13 +2685,13 @@ bool LLTextureFetch::createRequest(FTType f_type, const std::string& url, const llassert(!url.empty() && (!exten.empty() && LLImageBase::getCodecFromExtension(exten) != IMG_CODEC_J2C)); // Do full requests for baked textures to reduce interim blurring. - LL_DEBUGS(LOG_TXT) << "full request for " << id << " texture is FTT_SERVER_BAKE" << LL_ENDL; + // _LL_DEBUGS(LOG_TXT) << "full request for " << id << " texture is FTT_SERVER_BAKE" << LL_ENDL; desired_size = MAX_IMAGE_DATA_SIZE; desired_discard = 0; } else if (!url.empty() && (!exten.empty() && LLImageBase::getCodecFromExtension(exten) != IMG_CODEC_J2C)) { - LL_DEBUGS(LOG_TXT) << "full request for " << id << " exten is not J2C: " << exten << LL_ENDL; + // _LL_DEBUGS(LOG_TXT) << "full request for " << id << " exten is not J2C: " << exten << LL_ENDL; // Only do partial requests for J2C at the moment desired_size = MAX_IMAGE_DATA_SIZE; desired_discard = 0; @@ -2761,8 +2761,8 @@ bool LLTextureFetch::createRequest(FTType f_type, const std::string& url, const worker->unlockWorkMutex(); // -Mw } - LL_DEBUGS(LOG_TXT) << "REQUESTED: " << id << " f_type " << fttype_to_string(f_type) - << " Discard: " << desired_discard << " size " << desired_size << LL_ENDL; + /*// _LL_DEBUGS(LOG_TXT) << "REQUESTED: " << id << " f_type " << fttype_to_string(f_type) + << " Discard: " << desired_discard << " size " << desired_size << LL_ENDL;*/ return true; } @@ -2975,7 +2975,7 @@ bool LLTextureFetch::getRequestFinished(const LLUUID& id, S32& discard_level, worker->mDecodeTimer.reset(); worker->mFetchTimer.reset(); res = true; - LL_DEBUGS(LOG_TXT) << id << ": Request Finished. State: " << worker->mState << " Discard: " << discard_level << LL_ENDL; + // _LL_DEBUGS(LOG_TXT) << id << ": Request Finished. State: " << worker->mState << " Discard: " << discard_level << LL_ENDL; worker->unlockWorkMutex(); // -Mw } else @@ -3949,8 +3949,8 @@ class AssetReportHandler : public LLCore::HttpHandler if (status) { - LL_DEBUGS(LOG_TXT) << "Successfully delivered asset metrics to grid." - << LL_ENDL; + /*// _LL_DEBUGS(LOG_TXT) << "Successfully delivered asset metrics to grid." + << LL_ENDL;*/ } else { diff --git a/indra/newview/lltool.cpp b/indra/newview/lltool.cpp index 10c5c9b639f..805f6ce3103 100644 --- a/indra/newview/lltool.cpp +++ b/indra/newview/lltool.cpp @@ -103,7 +103,7 @@ BOOL LLTool::handleMouseUp(S32 x, S32 y, MASK mask) BOOL LLTool::handleHover(S32 x, S32 y, MASK mask) { gViewerWindow->setCursor(UI_CURSOR_ARROW); - LL_DEBUGS("UserInput") << "hover handled by a tool" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by a tool" << LL_ENDL; // by default, do nothing, say we handled it return TRUE; } diff --git a/indra/newview/lltoolbrush.cpp b/indra/newview/lltoolbrush.cpp index 76415a43faf..31126692241 100644 --- a/indra/newview/lltoolbrush.cpp +++ b/indra/newview/lltoolbrush.cpp @@ -405,9 +405,9 @@ BOOL LLToolBrushLand::handleMouseDown(S32 x, S32 y, MASK mask) BOOL LLToolBrushLand::handleHover( S32 x, S32 y, MASK mask ) { - LL_DEBUGS("UserInput") << "hover handled by LLToolBrushLand (" + /*// _LL_DEBUGS("UserInput") << "hover handled by LLToolBrushLand (" << (hasMouseCapture() ? "active":"inactive") - << ")" << LL_ENDL; + << ")" << LL_ENDL;*/ mMouseX = x; mMouseY = y; mGotHover = TRUE; diff --git a/indra/newview/lltooldraganddrop.cpp b/indra/newview/lltooldraganddrop.cpp index 7044a1827e9..73e8bda7e70 100644 --- a/indra/newview/lltooldraganddrop.cpp +++ b/indra/newview/lltooldraganddrop.cpp @@ -180,7 +180,7 @@ class LLCategoryFireAndForget : public LLInventoryFetchComboObserver virtual void done() { /* no-op: it's fire n forget right? */ - LL_DEBUGS() << "LLCategoryFireAndForget::done()" << LL_ENDL; + // _LL_DEBUGS() << "LLCategoryFireAndForget::done()" << LL_ENDL; } }; @@ -551,7 +551,7 @@ BOOL LLToolDragAndDrop::handleHover( S32 x, S32 y, MASK mask ) ECursorType cursor = acceptanceToCursor(acceptance); gViewerWindow->getWindow()->setCursor( cursor ); - LL_DEBUGS("UserInput") << "hover handled by LLToolDragAndDrop" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolDragAndDrop" << LL_ENDL; return TRUE; } @@ -1724,14 +1724,14 @@ bool LLToolDragAndDrop::handleGiveDragAndDrop(LLUUID dest_agent, LLUUID session_ EAcceptance LLToolDragAndDrop::dad3dNULL( LLViewerObject*, S32, MASK, BOOL) { - LL_DEBUGS() << "LLToolDragAndDrop::dad3dNULL()" << LL_ENDL; + // _LL_DEBUGS() << "LLToolDragAndDrop::dad3dNULL()" << LL_ENDL; return ACCEPT_NO; } EAcceptance LLToolDragAndDrop::dad3dRezAttachmentFromInv( LLViewerObject* obj, S32 face, MASK mask, BOOL drop) { - LL_DEBUGS() << "LLToolDragAndDrop::dad3dRezAttachmentFromInv()" << LL_ENDL; + // _LL_DEBUGS() << "LLToolDragAndDrop::dad3dRezAttachmentFromInv()" << LL_ENDL; // must be in the user's inventory if(mSource != SOURCE_AGENT && mSource != SOURCE_LIBRARY) { @@ -1818,7 +1818,7 @@ EAcceptance LLToolDragAndDrop::dad3dRezObjectOnLand( return dad3dRezFromObjectOnLand(obj, face, mask, drop); } - LL_DEBUGS() << "LLToolDragAndDrop::dad3dRezObjectOnLand()" << LL_ENDL; + // _LL_DEBUGS() << "LLToolDragAndDrop::dad3dRezObjectOnLand()" << LL_ENDL; LLViewerInventoryItem* item; LLViewerInventoryCategory* cat; locateInventory(item, cat); @@ -1892,7 +1892,7 @@ EAcceptance LLToolDragAndDrop::dad3dRezObjectOnObject( return dad3dRezFromObjectOnObject(obj, face, mask, drop); } - LL_DEBUGS() << "LLToolDragAndDrop::dad3dRezObjectOnObject()" << LL_ENDL; + // _LL_DEBUGS() << "LLToolDragAndDrop::dad3dRezObjectOnObject()" << LL_ENDL; LLViewerInventoryItem* item; LLViewerInventoryCategory* cat; locateInventory(item, cat); @@ -1964,7 +1964,7 @@ EAcceptance LLToolDragAndDrop::dad3dRezObjectOnObject( EAcceptance LLToolDragAndDrop::dad3dRezScript( LLViewerObject* obj, S32 face, MASK mask, BOOL drop) { - LL_DEBUGS() << "LLToolDragAndDrop::dad3dRezScript()" << LL_ENDL; + // _LL_DEBUGS() << "LLToolDragAndDrop::dad3dRezScript()" << LL_ENDL; // *HACK: In order to resolve SL-22177, we need to block drags // from notecards and objects onto other objects. @@ -2002,7 +2002,7 @@ EAcceptance LLToolDragAndDrop::dad3dRezScript( EAcceptance LLToolDragAndDrop::dad3dApplyToObject( LLViewerObject* obj, S32 face, MASK mask, BOOL drop, EDragAndDropType cargo_type) { - LL_DEBUGS() << "LLToolDragAndDrop::dad3dApplyToObject()" << LL_ENDL; + // _LL_DEBUGS() << "LLToolDragAndDrop::dad3dApplyToObject()" << LL_ENDL; // *HACK: In order to resolve SL-22177, we need to block drags // from notecards and objects onto other objects. @@ -2086,7 +2086,7 @@ EAcceptance LLToolDragAndDrop::dad3dMeshObject( EAcceptance LLToolDragAndDrop::dad3dTextureSelf( LLViewerObject* obj, S32 face, MASK mask, BOOL drop) { - LL_DEBUGS() << "LLToolDragAndDrop::dad3dTextureAvatar()" << LL_ENDL; + // _LL_DEBUGS() << "LLToolDragAndDrop::dad3dTextureAvatar()" << LL_ENDL; if(drop) { if( !(mask & MASK_SHIFT) ) @@ -2101,7 +2101,7 @@ EAcceptance LLToolDragAndDrop::dad3dTextureSelf( EAcceptance LLToolDragAndDrop::dad3dWearItem( LLViewerObject* obj, S32 face, MASK mask, BOOL drop) { - LL_DEBUGS() << "LLToolDragAndDrop::dad3dWearItem()" << LL_ENDL; + // _LL_DEBUGS() << "LLToolDragAndDrop::dad3dWearItem()" << LL_ENDL; LLViewerInventoryItem* item; LLViewerInventoryCategory* cat; locateInventory(item, cat); @@ -2145,7 +2145,7 @@ EAcceptance LLToolDragAndDrop::dad3dWearItem( EAcceptance LLToolDragAndDrop::dad3dActivateGesture( LLViewerObject* obj, S32 face, MASK mask, BOOL drop) { - LL_DEBUGS() << "LLToolDragAndDrop::dad3dActivateGesture()" << LL_ENDL; + // _LL_DEBUGS() << "LLToolDragAndDrop::dad3dActivateGesture()" << LL_ENDL; LLViewerInventoryItem* item; LLViewerInventoryCategory* cat; locateInventory(item, cat); @@ -2194,7 +2194,7 @@ EAcceptance LLToolDragAndDrop::dad3dActivateGesture( EAcceptance LLToolDragAndDrop::dad3dWearCategory( LLViewerObject* obj, S32 face, MASK mask, BOOL drop) { - LL_DEBUGS() << "LLToolDragAndDrop::dad3dWearCategory()" << LL_ENDL; + // _LL_DEBUGS() << "LLToolDragAndDrop::dad3dWearCategory()" << LL_ENDL; LLViewerInventoryItem* item; LLViewerInventoryCategory* category; locateInventory(item, category); @@ -2263,7 +2263,7 @@ EAcceptance LLToolDragAndDrop::dad3dWearCategory( EAcceptance LLToolDragAndDrop::dad3dUpdateInventory( LLViewerObject* obj, S32 face, MASK mask, BOOL drop) { - LL_DEBUGS() << "LLToolDragAndDrop::dadUpdateInventory()" << LL_ENDL; + // _LL_DEBUGS() << "LLToolDragAndDrop::dadUpdateInventory()" << LL_ENDL; // *HACK: In order to resolve SL-22177, we need to block drags // from notecards and objects onto other objects. @@ -2303,7 +2303,7 @@ BOOL LLToolDragAndDrop::dadUpdateInventory(LLViewerObject* obj, BOOL drop) EAcceptance LLToolDragAndDrop::dad3dUpdateInventoryCategory( LLViewerObject* obj, S32 face, MASK mask, BOOL drop) { - LL_DEBUGS() << "LLToolDragAndDrop::dad3dUpdateInventoryCategory()" << LL_ENDL; + // _LL_DEBUGS() << "LLToolDragAndDrop::dad3dUpdateInventoryCategory()" << LL_ENDL; if (obj == NULL) { LL_WARNS() << "obj is NULL; aborting func with ACCEPT_NO" << LL_ENDL; @@ -2362,7 +2362,7 @@ EAcceptance LLToolDragAndDrop::dad3dUpdateInventoryCategory( rv = gInventory.isCategoryComplete(cat->getUUID()) ? ACCEPT_YES_MULTI : ACCEPT_NO; if(rv < ACCEPT_YES_SINGLE) { - LL_DEBUGS() << "Category " << cat->getUUID() << "is not complete." << LL_ENDL; + // _LL_DEBUGS() << "Category " << cat->getUUID() << "is not complete." << LL_ENDL; break; } } @@ -2384,7 +2384,7 @@ EAcceptance LLToolDragAndDrop::dad3dUpdateInventoryCategory( rv = willObjectAcceptInventory(root_object, item, DAD_CATEGORY); if (rv < ACCEPT_YES_COPY_SINGLE) { - LL_DEBUGS() << "Object will not accept " << item->getUUID() << LL_ENDL; + // _LL_DEBUGS() << "Object will not accept " << item->getUUID() << LL_ENDL; break; } } @@ -2440,7 +2440,7 @@ BOOL LLToolDragAndDrop::dadUpdateInventoryCategory(LLViewerObject* obj, EAcceptance LLToolDragAndDrop::dad3dGiveInventoryObject( LLViewerObject* obj, S32 face, MASK mask, BOOL drop) { - LL_DEBUGS() << "LLToolDragAndDrop::dad3dGiveInventoryObject()" << LL_ENDL; + // _LL_DEBUGS() << "LLToolDragAndDrop::dad3dGiveInventoryObject()" << LL_ENDL; // item has to be in agent inventory. if(mSource != SOURCE_AGENT) return ACCEPT_NO; @@ -2478,7 +2478,7 @@ EAcceptance LLToolDragAndDrop::dad3dGiveInventoryObject( EAcceptance LLToolDragAndDrop::dad3dGiveInventory( LLViewerObject* obj, S32 face, MASK mask, BOOL drop) { - LL_DEBUGS() << "LLToolDragAndDrop::dad3dGiveInventory()" << LL_ENDL; + // _LL_DEBUGS() << "LLToolDragAndDrop::dad3dGiveInventory()" << LL_ENDL; // item has to be in agent inventory. if(mSource != SOURCE_AGENT) return ACCEPT_NO; LLViewerInventoryItem* item; @@ -2501,7 +2501,7 @@ EAcceptance LLToolDragAndDrop::dad3dGiveInventory( EAcceptance LLToolDragAndDrop::dad3dGiveInventoryCategory( LLViewerObject* obj, S32 face, MASK mask, BOOL drop) { - LL_DEBUGS() << "LLToolDragAndDrop::dad3dGiveInventoryCategory()" << LL_ENDL; + // _LL_DEBUGS() << "LLToolDragAndDrop::dad3dGiveInventoryCategory()" << LL_ENDL; if(drop && obj) { LLViewerInventoryItem* item; @@ -2519,7 +2519,7 @@ EAcceptance LLToolDragAndDrop::dad3dGiveInventoryCategory( EAcceptance LLToolDragAndDrop::dad3dRezFromObjectOnLand( LLViewerObject* obj, S32 face, MASK mask, BOOL drop) { - LL_DEBUGS() << "LLToolDragAndDrop::dad3dRezFromObjectOnLand()" << LL_ENDL; + // _LL_DEBUGS() << "LLToolDragAndDrop::dad3dRezFromObjectOnLand()" << LL_ENDL; LLViewerInventoryItem* item = NULL; LLViewerInventoryCategory* cat = NULL; locateInventory(item, cat); @@ -2540,7 +2540,7 @@ EAcceptance LLToolDragAndDrop::dad3dRezFromObjectOnLand( EAcceptance LLToolDragAndDrop::dad3dRezFromObjectOnObject( LLViewerObject* obj, S32 face, MASK mask, BOOL drop) { - LL_DEBUGS() << "LLToolDragAndDrop::dad3dRezFromObjectOnObject()" << LL_ENDL; + // _LL_DEBUGS() << "LLToolDragAndDrop::dad3dRezFromObjectOnObject()" << LL_ENDL; LLViewerInventoryItem* item; LLViewerInventoryCategory* cat; locateInventory(item, cat); @@ -2577,7 +2577,7 @@ EAcceptance LLToolDragAndDrop::dad3dCategoryOnLand( { return ACCEPT_NO; /* - LL_DEBUGS() << "LLToolDragAndDrop::dad3dCategoryOnLand()" << LL_ENDL; + // _LL_DEBUGS() << "LLToolDragAndDrop::dad3dCategoryOnLand()" << LL_ENDL; LLInventoryItem* item; LLInventoryCategory* cat; locateInventory(item, cat); @@ -2615,7 +2615,7 @@ EAcceptance LLToolDragAndDrop::dad3dAssetOnLand( { return ACCEPT_NO; /* - LL_DEBUGS() << "LLToolDragAndDrop::dad3dAssetOnLand()" << LL_ENDL; + // _LL_DEBUGS() << "LLToolDragAndDrop::dad3dAssetOnLand()" << LL_ENDL; LLViewerInventoryCategory::cat_array_t cats; LLViewerInventoryItem::item_array_t items; LLViewerInventoryItem::item_array_t copyable_items; diff --git a/indra/newview/lltoolfocus.cpp b/indra/newview/lltoolfocus.cpp index 3f868aa4e7a..898434aaadc 100644 --- a/indra/newview/lltoolfocus.cpp +++ b/indra/newview/lltoolfocus.cpp @@ -440,7 +440,7 @@ BOOL LLToolCamera::handleHover(S32 x, S32 y, MASK mask) // //BD - Third Person Steering if (!mValidClickPoint && !gAgentCamera.mThirdPersonSteeringMode) { - LL_DEBUGS("UserInput") << "hover handled by LLToolFocus [invalid point]" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolFocus [invalid point]" << LL_ENDL; gViewerWindow->setCursor(UI_CURSOR_NO); gViewerWindow->showCursor(); return TRUE; @@ -478,7 +478,7 @@ BOOL LLToolCamera::handleHover(S32 x, S32 y, MASK mask) gViewerWindow->moveCursorToCenter(); } - LL_DEBUGS("UserInput") << "hover handled by LLToolFocus [active]" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolFocus [active]" << LL_ENDL; } else if ( gCameraBtnPan || mask == MASK_PAN || @@ -506,7 +506,7 @@ BOOL LLToolCamera::handleHover(S32 x, S32 y, MASK mask) gViewerWindow->moveCursorToCenter(); } - LL_DEBUGS("UserInput") << "hover handled by LLToolPan" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolPan" << LL_ENDL; } else if (gCameraBtnZoom) { @@ -546,7 +546,7 @@ BOOL LLToolCamera::handleHover(S32 x, S32 y, MASK mask) gViewerWindow->moveCursorToCenter(); } - LL_DEBUGS("UserInput") << "hover handled by LLToolZoom" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolZoom" << LL_ENDL; } } // //BD - Right Click Steering @@ -583,7 +583,7 @@ BOOL LLToolCamera::handleHover(S32 x, S32 y, MASK mask) LLUI::getInstance()->setMousePositionScreen(mMouseRightUpX, mMouseRightUpY); //gViewerWindow->moveCursorToCenter(); - LL_DEBUGS("UserInput") << "hover handled by LLToolPan" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolPan" << LL_ENDL; } else { diff --git a/indra/newview/lltoolgrab.cpp b/indra/newview/lltoolgrab.cpp index a39a28d751a..5576f4cf5a2 100644 --- a/indra/newview/lltoolgrab.cpp +++ b/indra/newview/lltoolgrab.cpp @@ -769,7 +769,7 @@ void LLToolGrabBase::handleHoverActive(S32 x, S32 y, MASK mask) // HACK to avoid assert: error checking system makes sure that the cursor is set during every handleHover. This is actually a no-op since the cursor is hidden. gViewerWindow->setCursor(UI_CURSOR_ARROW); - LL_DEBUGS("UserInput") << "hover handled by LLToolGrab (active) [cursor hidden]" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolGrab (active) [cursor hidden]" << LL_ENDL; } @@ -934,7 +934,7 @@ void LLToolGrabBase::handleHoverNonPhysical(S32 x, S32 y, MASK mask) void LLToolGrabBase::handleHoverInactive(S32 x, S32 y, MASK mask) { // JC - TODO - change cursor based on gGrabBtnVertical, gGrabBtnSpin - LL_DEBUGS("UserInput") << "hover handled by LLToolGrab (inactive-not over editable object)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolGrab (inactive-not over editable object)" << LL_ENDL; gViewerWindow->setCursor(UI_CURSOR_TOOLGRAB); } @@ -944,7 +944,7 @@ void LLToolGrabBase::handleHoverFailed(S32 x, S32 y, MASK mask) if( GRAB_NOOBJECT == mMode ) { gViewerWindow->setCursor(UI_CURSOR_NO); - LL_DEBUGS("UserInput") << "hover handled by LLToolGrab (not on object)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolGrab (not on object)" << LL_ENDL; } else { @@ -957,13 +957,13 @@ void LLToolGrabBase::handleHoverFailed(S32 x, S32 y, MASK mask) { case GRAB_LOCKED: gViewerWindow->setCursor(UI_CURSOR_GRABLOCKED); - LL_DEBUGS("UserInput") << "hover handled by LLToolGrab (grab failed, no move permission)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolGrab (grab failed, no move permission)" << LL_ENDL; break; // Non physical now handled by handleHoverActive - CRO // case GRAB_NONPHYSICAL: // gViewerWindow->setCursor(UI_CURSOR_ARROW); -// LL_DEBUGS("UserInput") << "hover handled by LLToolGrab (grab failed, nonphysical)" << LL_ENDL; +// // _LL_DEBUGS("UserInput") << "hover handled by LLToolGrab (grab failed, nonphysical)" << LL_ENDL; // break; default: llassert(0); @@ -972,7 +972,7 @@ void LLToolGrabBase::handleHoverFailed(S32 x, S32 y, MASK mask) else { gViewerWindow->setCursor(UI_CURSOR_ARROW); - LL_DEBUGS("UserInput") << "hover handled by LLToolGrab (grab failed but within slop)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolGrab (grab failed but within slop)" << LL_ENDL; } } } diff --git a/indra/newview/lltoolgun.cpp b/indra/newview/lltoolgun.cpp index 205f570cf14..3f04bb82652 100644 --- a/indra/newview/lltoolgun.cpp +++ b/indra/newview/lltoolgun.cpp @@ -133,11 +133,11 @@ BOOL LLToolGun::handleHover(S32 x, S32 y, MASK mask) gViewerWindow->hideCursor(); } - LL_DEBUGS("UserInput") << "hover handled by LLToolGun (mouselook)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolGun (mouselook)" << LL_ENDL; } else { - LL_DEBUGS("UserInput") << "hover handled by LLToolGun (not mouselook)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolGun (not mouselook)" << LL_ENDL; } // HACK to avoid assert: error checking system makes sure that the cursor is set during every handleHover. This is actually a no-op since the cursor is hidden. diff --git a/indra/newview/lltoolpie.cpp b/indra/newview/lltoolpie.cpp index a8201b2aa19..814b04c5d78 100644 --- a/indra/newview/lltoolpie.cpp +++ b/indra/newview/lltoolpie.cpp @@ -698,7 +698,7 @@ BOOL LLToolPie::handleHover(S32 x, S32 y, MASK mask) // could disable it here. show_highlight = true; // cursor set by media object - LL_DEBUGS("UserInput") << "hover handled by LLToolPie (inactive)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolPie (inactive)" << LL_ENDL; } //BD /*else if (!mMouseOutsideSlop @@ -736,7 +736,7 @@ BOOL LLToolPie::handleHover(S32 x, S32 y, MASK mask) show_highlight = true; ECursorType cursor = cursorFromObject(click_action_object); gViewerWindow->setCursor(cursor); - LL_DEBUGS("UserInput") << "hover handled by LLToolPie (inactive)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolPie (inactive)" << LL_ENDL; } // [RLVa:KB] - Checked: RLVa-1.1.0 else if ( (object) && (RlvActions::isRlvEnabled()) && (!RlvActions::canTouch(object, mHoverPick.mObjectOffset)) ) @@ -750,19 +750,19 @@ BOOL LLToolPie::handleHover(S32 x, S32 y, MASK mask) { show_highlight = true; gViewerWindow->setCursor(UI_CURSOR_TOOLGRAB); - LL_DEBUGS("UserInput") << "hover handled by LLToolPie (inactive)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolPie (inactive)" << LL_ENDL; } else if ((!object || !object->isAttachment() || object->getClickAction() != CLICK_ACTION_DISABLED) && ((object && object->flagHandleTouch()) || (parent && parent->flagHandleTouch()))) { show_highlight = true; gViewerWindow->setCursor(UI_CURSOR_HAND); - LL_DEBUGS("UserInput") << "hover handled by LLToolPie (inactive)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolPie (inactive)" << LL_ENDL; } else { gViewerWindow->setCursor(UI_CURSOR_ARROW); - LL_DEBUGS("UserInput") << "hover handled by LLToolPie (inactive)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolPie (inactive)" << LL_ENDL; } } @@ -863,11 +863,11 @@ BOOL LLToolPie::handleMouseUp(S32 x, S32 y, MASK mask) } else { - LL_DEBUGS("maint5901") << "walk target was " + /*// _LL_DEBUGS("maint5901") << "walk target was " << (mPick.mPosGlobal.isExactlyZero() ? "zero" : "not zero") << ", pick type was " << (mPick.mPickType == LLPickInfo::PICK_LAND ? "land" : "not land") << ", pick object was " << mPick.mObjectID - << LL_ENDL; + << LL_ENDL;*/ // we didn't click to walk, so restore the original target mPick = savedPick; } diff --git a/indra/newview/lltoolplacer.cpp b/indra/newview/lltoolplacer.cpp index bb9c7f884ad..be09acd230d 100644 --- a/indra/newview/lltoolplacer.cpp +++ b/indra/newview/lltoolplacer.cpp @@ -542,7 +542,7 @@ BOOL LLToolPlacer::placeObject(S32 x, S32 y, MASK mask) BOOL LLToolPlacer::handleHover(S32 x, S32 y, MASK mask) { - LL_DEBUGS("UserInput") << "hover handled by LLToolPlacer" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolPlacer" << LL_ENDL; gViewerWindow->setCursor(UI_CURSOR_TOOLCREATE); return TRUE; } diff --git a/indra/newview/lltoolselectland.cpp b/indra/newview/lltoolselectland.cpp index 675a38d2edf..1a7522c8a6e 100644 --- a/indra/newview/lltoolselectland.cpp +++ b/indra/newview/lltoolselectland.cpp @@ -168,13 +168,13 @@ BOOL LLToolSelectLand::handleHover(S32 x, S32 y, MASK mask) roundXY(mWestSouthBottom); roundXY(mEastNorthTop); - LL_DEBUGS("UserInput") << "hover handled by LLToolSelectLand (active, land)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolSelectLand (active, land)" << LL_ENDL; gViewerWindow->setCursor(UI_CURSOR_ARROW); } else { mDragEndValid = FALSE; - LL_DEBUGS("UserInput") << "hover handled by LLToolSelectLand (active, no land)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolSelectLand (active, no land)" << LL_ENDL; gViewerWindow->setCursor(UI_CURSOR_NO); } @@ -183,13 +183,13 @@ BOOL LLToolSelectLand::handleHover(S32 x, S32 y, MASK mask) } else { - LL_DEBUGS("UserInput") << "hover handled by LLToolSelectLand (active, in slop)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolSelectLand (active, in slop)" << LL_ENDL; gViewerWindow->setCursor(UI_CURSOR_ARROW); } } else { - LL_DEBUGS("UserInput") << "hover handled by LLToolSelectLand (inactive)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolSelectLand (inactive)" << LL_ENDL; gViewerWindow->setCursor(UI_CURSOR_ARROW); } diff --git a/indra/newview/lltoolselectrect.cpp b/indra/newview/lltoolselectrect.cpp index bae32f7bc08..4a8d6258ed1 100644 --- a/indra/newview/lltoolselectrect.cpp +++ b/indra/newview/lltoolselectrect.cpp @@ -145,11 +145,11 @@ BOOL LLToolSelectRect::handleHover(S32 x, S32 y, MASK mask) return LLToolSelect::handleHover(x, y, mask); } - LL_DEBUGS("UserInput") << "hover handled by LLToolSelectRect (active)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolSelectRect (active)" << LL_ENDL; } else { - LL_DEBUGS("UserInput") << "hover handled by LLToolSelectRect (inactive)" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLToolSelectRect (inactive)" << LL_ENDL; } gViewerWindow->setCursor(UI_CURSOR_ARROW); diff --git a/indra/newview/llviewerassetstorage.cpp b/indra/newview/llviewerassetstorage.cpp index 13570966a46..e1b5f4c995e 100644 --- a/indra/newview/llviewerassetstorage.cpp +++ b/indra/newview/llviewerassetstorage.cpp @@ -152,8 +152,8 @@ void LLViewerAssetStorage::storeAssetData( F64Seconds timeout) { LLAssetID asset_id = tid.makeAssetID(gAgent.getSecureSessionID()); - LL_DEBUGS("AssetStorage") << "LLViewerAssetStorage::storeAssetData (legacy) " << tid << ":" << LLAssetType::lookup(asset_type) - << " ASSET_ID: " << asset_id << LL_ENDL; + /*// _LL_DEBUGS("AssetStorage") << "LLViewerAssetStorage::storeAssetData (legacy) " << tid << ":" << LLAssetType::lookup(asset_type) + << " ASSET_ID: " << asset_id << LL_ENDL;*/ if (mUpstreamHost.isOk()) { @@ -284,9 +284,9 @@ void LLViewerAssetStorage::storeAssetData( } LLAssetID asset_id = tid.makeAssetID(gAgent.getSecureSessionID()); - LL_DEBUGS("AssetStorage") << "LLViewerAssetStorage::storeAssetData (legacy)" << asset_id << ":" << LLAssetType::lookup(asset_type) << LL_ENDL; + // _LL_DEBUGS("AssetStorage") << "LLViewerAssetStorage::storeAssetData (legacy)" << asset_id << ":" << LLAssetType::lookup(asset_type) << LL_ENDL; - LL_DEBUGS("AssetStorage") << "ASSET_ID: " << asset_id << LL_ENDL; + // _LL_DEBUGS("AssetStorage") << "ASSET_ID: " << asset_id << LL_ENDL; S32 size = 0; LLFILE* fp = LLFile::fopen(filename, "rb"); @@ -390,7 +390,7 @@ void LLViewerAssetStorage::queueRequestHttp( BOOL duplicate, BOOL is_priority) { - LL_DEBUGS("ViewerAsset") << "Request asset via HTTP " << uuid << " type " << LLAssetType::lookup(atype) << LL_ENDL; + // _LL_DEBUGS("ViewerAsset") << "Request asset via HTTP " << uuid << " type " << LLAssetType::lookup(atype) << LL_ENDL; bool with_http = true; LLViewerAssetRequest *req = new LLViewerAssetRequest(uuid, atype, with_http); @@ -498,7 +498,7 @@ void LLViewerAssetStorage::assetRequestCoro( return; } std::string url = getAssetURL(mViewerAssetUrl, uuid,atype); - LL_DEBUGS("ViewerAsset") << "request url: " << url << LL_ENDL; + // _LL_DEBUGS("ViewerAsset") << "request url: " << url << LL_ENDL; LLCore::HttpRequest::policy_t httpPolicy(LLAppCoreHttp::AP_TEXTURE); LLCoreHttpUtil::HttpCoroutineAdapter::ptr_t @@ -520,13 +520,13 @@ void LLViewerAssetStorage::assetRequestCoro( LLCore::HttpStatus status = LLCoreHttpUtil::HttpCoroutineAdapter::getStatusFromLLSD(httpResults); if (!status) { - LL_DEBUGS("ViewerAsset") << "request failed, status " << status.toTerseString() << LL_ENDL; + // _LL_DEBUGS("ViewerAsset") << "request failed, status " << status.toTerseString() << LL_ENDL; result_code = LL_ERR_ASSET_REQUEST_FAILED; ext_status = LLExtStat::NONE; } else { - LL_DEBUGS("ViewerAsset") << "request succeeded, url " << url << LL_ENDL; + // _LL_DEBUGS("ViewerAsset") << "request succeeded, url " << url << LL_ENDL; const LLSD::Binary &raw = result[LLCoreHttpUtil::HttpCoroutineAdapter::HTTP_RESULTS_RAW].asBinary(); diff --git a/indra/newview/llviewercontrol.cpp b/indra/newview/llviewercontrol.cpp index 3f15d97c713..e05a45c7d30 100644 --- a/indra/newview/llviewercontrol.cpp +++ b/indra/newview/llviewercontrol.cpp @@ -561,7 +561,7 @@ bool handleLoginLocationChanged() * panel immediately changes to match your new preference. */ std::string new_login_location = gSavedSettings.getString("LoginLocation"); - LL_DEBUGS("AppInit")<<new_login_location<<LL_ENDL; + // _LL_DEBUGS("AppInit")<<new_login_location<<LL_ENDL; LLStartUp::setStartSLURL(LLSLURL(new_login_location)); return true; } diff --git a/indra/newview/llviewerdisplay.cpp b/indra/newview/llviewerdisplay.cpp index 9253abd6d61..09cdfecae60 100644 --- a/indra/newview/llviewerdisplay.cpp +++ b/indra/newview/llviewerdisplay.cpp @@ -156,7 +156,7 @@ void display_startup() } else { - LL_DEBUGS("Window") << "First display_startup frame" << LL_ENDL; + // _LL_DEBUGS("Window") << "First display_startup frame" << LL_ENDL; } LLGLState::checkStates(); @@ -262,7 +262,7 @@ void display(BOOL rebuild, F32 zoom_factor, int subfield, BOOL for_snapshot) if (gWindowResized) { //skip render on frames where window has been resized - LL_DEBUGS("Window") << "Resizing window" << LL_ENDL; + // _LL_DEBUGS("Window") << "Resizing window" << LL_ENDL; LL_RECORD_BLOCK_TIME(FTM_RESIZE_WINDOW); gGL.flush(); glClear(GL_COLOR_BUFFER_BIT); diff --git a/indra/newview/llviewerinventory.cpp b/indra/newview/llviewerinventory.cpp index cd2409dadbf..5ed3a6bae41 100644 --- a/indra/newview/llviewerinventory.cpp +++ b/indra/newview/llviewerinventory.cpp @@ -111,7 +111,7 @@ class LLLocalizedInventoryItemsDictionary : public LLSingleton<LLLocalizedInvent */ bool localizeInventoryObjectName(std::string& object_name) { - LL_DEBUGS(LOG_LOCAL) << "Searching for localization: " << object_name << LL_ENDL; + // _LL_DEBUGS(LOG_LOCAL) << "Searching for localization: " << object_name << LL_ENDL; std::map<std::string, std::string>::const_iterator dictionary_iter = mInventoryItemsDict.find(object_name); @@ -119,7 +119,7 @@ class LLLocalizedInventoryItemsDictionary : public LLSingleton<LLLocalizedInvent if(found) { object_name = dictionary_iter->second; - LL_DEBUGS(LOG_LOCAL) << "Found, new name is: " << object_name << LL_ENDL; + // _LL_DEBUGS(LOG_LOCAL) << "Found, new name is: " << object_name << LL_ENDL; } return found; } @@ -686,7 +686,7 @@ bool LLViewerInventoryCategory::fetch() if((VERSION_UNKNOWN == getVersion()) && mDescendentsRequested.hasExpired()) //Expired check prevents multiple downloads. { - LL_DEBUGS(LOG_INV) << "Fetching category children: " << mName << ", UUID: " << mUUID << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "Fetching category children: " << mName << ", UUID: " << mUUID << LL_ENDL; const F32 FETCH_TIMER_EXPIRY = 10.0f; mDescendentsRequested.reset(); mDescendentsRequested.setTimerExpirySec(FETCH_TIMER_EXPIRY); @@ -1309,7 +1309,7 @@ void link_inventory_array(const LLUUID& category, links.append(link); #ifndef LL_RELEASE_FOR_DOWNLOAD - LL_DEBUGS(LOG_INV) << "Linking Object [ name:" << baseobj->getName() + // _LL_DEBUGS(LOG_INV) << "Linking Object [ name:" << baseobj->getName() << " UUID:" << baseobj->getUUID() << " ] into Category [ name:" << cat_name << " UUID:" << category << " ] " << LL_ENDL; @@ -1391,7 +1391,7 @@ void update_inventory_category( LLPointer<LLInventoryCallback> cb) { LLPointer<LLViewerInventoryCategory> obj = gInventory.getCategory(cat_id); - LL_DEBUGS(LOG_INV) << "cat_id: [" << cat_id << "] name " << (obj ? obj->getName() : "(NOT FOUND)") << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "cat_id: [" << cat_id << "] name " << (obj ? obj->getName() : "(NOT FOUND)") << LL_ENDL; if(obj) { if (LLFolderType::lookupIsProtectedType(obj->getPreferredType())) @@ -1433,7 +1433,7 @@ void remove_inventory_item( } else { - LL_DEBUGS(LOG_INV) << "item_id: [" << item_id << "] name " << "(NOT FOUND)" << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "item_id: [" << item_id << "] name " << "(NOT FOUND)" << LL_ENDL; } } @@ -1445,7 +1445,7 @@ void remove_inventory_item( if(obj) { const LLUUID item_id(obj->getUUID()); - LL_DEBUGS(LOG_INV) << "item_id: [" << item_id << "] name " << obj->getName() << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "item_id: [" << item_id << "] name " << obj->getName() << LL_ENDL; if (AISAPI::isAvailable()) { AISAPI::completion_t cr = (cb) ? boost::bind(&doInventoryCb, cb, _1) : AISAPI::completion_t(); @@ -1513,7 +1513,7 @@ void remove_inventory_category( const LLUUID& cat_id, LLPointer<LLInventoryCallback> cb) { - LL_DEBUGS(LOG_INV) << "cat_id: [" << cat_id << "] " << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "cat_id: [" << cat_id << "] " << LL_ENDL; LLPointer<LLViewerInventoryCategory> obj = gInventory.getCategory(cat_id); if(obj) { @@ -1559,7 +1559,7 @@ void purge_descendents_of(const LLUUID& id, LLPointer<LLInventoryCallback> cb) LLInventoryModel::EHasChildren children = gInventory.categoryHasChildren(id); if(children == LLInventoryModel::CHILDREN_NO) { - LL_DEBUGS(LOG_INV) << "No descendents to purge for " << id << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "No descendents to purge for " << id << LL_ENDL; return; } LLPointer<LLViewerInventoryCategory> cat = gInventory.getCategory(id); @@ -1606,7 +1606,7 @@ void purge_descendents_of(const LLUUID& id, LLPointer<LLInventoryCallback> cb) else // no cap { // Fast purge - LL_DEBUGS(LOG_INV) << "purge_descendents_of fast case " << cat->getName() << LL_ENDL; + // _LL_DEBUGS(LOG_INV) << "purge_descendents_of fast case " << cat->getName() << LL_ENDL; // send it upstream LLMessageSystem* msg = gMessageSystem; @@ -1806,8 +1806,8 @@ void slam_inventory_folder(const LLUUID& folder_id, const LLSD& contents, LLPointer<LLInventoryCallback> cb) { - LL_DEBUGS(LOG_INV) << "using AISv3 to slam folder, id " << folder_id - << " new contents: " << ll_pretty_print_sd(contents) << LL_ENDL; + /*// _LL_DEBUGS(LOG_INV) << "using AISv3 to slam folder, id " << folder_id + << " new contents: " << ll_pretty_print_sd(contents) << LL_ENDL;*/ AISAPI::completion_t cr = boost::bind(&doInventoryCb, cb, _1); AISAPI::SlamFolder(folder_id, contents, cr); diff --git a/indra/newview/llviewerjoystick.cpp b/indra/newview/llviewerjoystick.cpp index dd4ba0c363b..efbc12bda28 100644 --- a/indra/newview/llviewerjoystick.cpp +++ b/indra/newview/llviewerjoystick.cpp @@ -231,7 +231,7 @@ void LLViewerJoystick::init(bool autoenable) { if (mNdofDev) { - LL_DEBUGS("joystick") << "ndof_create() returned: " << mNdofDev << LL_ENDL; + // _LL_DEBUGS("joystick") << "ndof_create() returned: " << mNdofDev << LL_ENDL; // Different joysticks will return different ranges of raw values. // Since we want to handle every device in the same uniform way, // we initialize the mNdofDev struct and we set the range @@ -250,7 +250,7 @@ void LLViewerJoystick::init(bool autoenable) // just have the absolute values instead. mNdofDev->absolute = 1; - LL_DEBUGS("joystick") << "ndof_init_first() received: " << mNdofDev << LL_ENDL; + // _LL_DEBUGS("joystick") << "ndof_init_first() received: " << mNdofDev << LL_ENDL; // init & use the first suitable NDOF device found on the USB chain if (ndof_init_first(mNdofDev, NULL)) { @@ -262,7 +262,7 @@ void LLViewerJoystick::init(bool autoenable) { mDriverState = JDS_INITIALIZED; } - LL_DEBUGS("joystick") << "ndof_init_first() left: " << mNdofDev << LL_ENDL; + // _LL_DEBUGS("joystick") << "ndof_init_first() left: " << mNdofDev << LL_ENDL; } else { diff --git a/indra/newview/llviewerkeyboard.cpp b/indra/newview/llviewerkeyboard.cpp index 0591f13334a..464a6fd209e 100644 --- a/indra/newview/llviewerkeyboard.cpp +++ b/indra/newview/llviewerkeyboard.cpp @@ -752,7 +752,7 @@ BOOL LLViewerKeyboard::handleKey(KEY translated_key, MASK translated_mask, BOOL return FALSE; } - LL_DEBUGS("UserInput") << "keydown -" << translated_key << "-" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "keydown -" << translated_key << "-" << LL_ENDL; // skip skipped keys if(mKeysSkippedByUI.find(translated_key) != mKeysSkippedByUI.end()) { diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp index 781a7f7ddf0..548e235724c 100644 --- a/indra/newview/llviewermedia.cpp +++ b/indra/newview/llviewermedia.cpp @@ -294,10 +294,10 @@ viewer_media_t LLViewerMedia::updateMediaImpl(LLMediaEntry* media_entry, const s // Try to find media with the same media ID viewer_media_t media_impl = getMediaImplFromTextureID(media_entry->getMediaID()); - LL_DEBUGS() << "called, current URL is \"" << media_entry->getCurrentURL() + /*// _LL_DEBUGS() << "called, current URL is \"" << media_entry->getCurrentURL() << "\", previous URL is \"" << previous_url << "\", update_from_self is " << (update_from_self?"true":"false") - << LL_ENDL; + << LL_ENDL;*/ bool was_loaded = false; bool needs_navigate = false; @@ -329,7 +329,7 @@ viewer_media_t LLViewerMedia::updateMediaImpl(LLMediaEntry* media_entry, const s // The current media URL is now empty. Unload the media source. media_impl->unload(); - LL_DEBUGS() << "Unloading media instance (new current URL is empty)." << LL_ENDL; + // _LL_DEBUGS() << "Unloading media instance (new current URL is empty)." << LL_ENDL; } } else @@ -343,9 +343,9 @@ viewer_media_t LLViewerMedia::updateMediaImpl(LLMediaEntry* media_entry, const s needs_navigate = url_changed; } - LL_DEBUGS() << "was_loaded is " << (was_loaded?"true":"false") + /*// _LL_DEBUGS() << "was_loaded is " << (was_loaded?"true":"false") << ", auto_play is " << (auto_play?"true":"false") - << ", needs_navigate is " << (needs_navigate?"true":"false") << LL_ENDL; + << ", needs_navigate is " << (needs_navigate?"true":"false") << LL_ENDL;*/ } } else @@ -371,7 +371,7 @@ viewer_media_t LLViewerMedia::updateMediaImpl(LLMediaEntry* media_entry, const s if(needs_navigate) { media_impl->navigateTo(media_impl->mMediaEntryURL, "", true, true); - LL_DEBUGS() << "navigating to URL " << media_impl->mMediaEntryURL << LL_ENDL; + // _LL_DEBUGS() << "navigating to URL " << media_impl->mMediaEntryURL << LL_ENDL; } else if(!media_impl->mMediaURL.empty() && (media_impl->mMediaURL != media_impl->mMediaEntryURL)) { @@ -381,7 +381,7 @@ viewer_media_t LLViewerMedia::updateMediaImpl(LLMediaEntry* media_entry, const s // If this causes a navigate at some point (such as after a reload), it should be considered server-driven so it isn't broadcast. media_impl->mNavigateServerRequest = true; - LL_DEBUGS() << "updating URL in the media impl to " << media_impl->mMediaEntryURL << LL_ENDL; + // _LL_DEBUGS() << "updating URL in the media impl to " << media_impl->mMediaEntryURL << LL_ENDL; } } @@ -534,7 +534,7 @@ bool LLViewerMedia::isInterestingEnough(const LLVOVolume *object, const F64 &obj } else { - LL_DEBUGS() << "object interest = " << object_interest << ", lowest loadable = " << sLowestLoadableImplInterest << LL_ENDL; + // _LL_DEBUGS() << "object interest = " << object_interest << ", lowest loadable = " << sLowestLoadableImplInterest << LL_ENDL; if(object_interest >= sLowestLoadableImplInterest) result = true; } @@ -914,7 +914,7 @@ void LLViewerMedia::updateMedia(void *dummy_arg) proximity_order[i]->mProximity = i; } - LL_DEBUGS("PluginPriority") << "Total reported CPU usage is " << total_cpu << LL_ENDL; + // _LL_DEBUGS("PluginPriority") << "Total reported CPU usage is " << total_cpu << LL_ENDL; } @@ -1306,8 +1306,8 @@ void LLViewerMedia::getOpenIDCookieCoro(std::string url) httpHeaders->append(HTTP_OUT_HEADER_COOKIE, inst->mOpenIDCookie); httpHeaders->append(HTTP_OUT_HEADER_USER_AGENT, inst->getCurrentUserAgent()); - LL_DEBUGS("MediaAuth") << "Requesting " << url << LL_ENDL; - LL_DEBUGS("MediaAuth") << "sOpenIDCookie = [" << inst->mOpenIDCookie << "]" << LL_ENDL; + // _LL_DEBUGS("MediaAuth") << "Requesting " << url << LL_ENDL; + // _LL_DEBUGS("MediaAuth") << "sOpenIDCookie = [" << inst->mOpenIDCookie << "]" << LL_ENDL; LLSD result = httpAdapter->getRawAndSuspend(httpRequest, url, httpOpts, httpHeaders); @@ -1328,7 +1328,7 @@ void LLViewerMedia::getOpenIDCookieCoro(std::string url) } const std::string& cookie = resultHeaders[HTTP_IN_HEADER_SET_COOKIE].asStringRef(); - LL_DEBUGS("MediaAuth") << "cookie = " << cookie << LL_ENDL; + // _LL_DEBUGS("MediaAuth") << "cookie = " << cookie << LL_ENDL; // Set cookie for snapshot publishing. std::string authCookie = cookie.substr(0, cookie.find(";")); // strip path @@ -1338,7 +1338,7 @@ void LLViewerMedia::getOpenIDCookieCoro(std::string url) ///////////////////////////////////////////////////////////////////////////////////////// void LLViewerMedia::openIDSetup(const std::string &openidUrl, const std::string &openidToken) { - LL_DEBUGS("MediaAuth") << "url = \"" << openidUrl << "\", token = \"" << openidToken << "\"" << LL_ENDL; + // _LL_DEBUGS("MediaAuth") << "url = \"" << openidUrl << "\", token = \"" << openidToken << "\"" << LL_ENDL; LLCoros::instance().launch("LLViewerMedia::openIDSetupCoro", boost::bind(&LLViewerMedia::openIDSetupCoro, openidUrl, openidToken)); @@ -1394,14 +1394,14 @@ void LLViewerMedia::openIDSetupCoro(std::string openidUrl, std::string openidTok // *TODO: What about bad status codes? Does this destroy previous cookies? LLViewerMedia::getInstance()->openIDCookieResponse(openidUrl, cookie); - LL_DEBUGS("MediaAuth") << "OpenID cookie set." << LL_ENDL; + // _LL_DEBUGS("MediaAuth") << "OpenID cookie set." << LL_ENDL; } ///////////////////////////////////////////////////////////////////////////////////////// void LLViewerMedia::openIDCookieResponse(const std::string& url, const std::string &cookie) { - LL_DEBUGS("MediaAuth") << "Cookie received: \"" << cookie << "\"" << LL_ENDL; + // _LL_DEBUGS("MediaAuth") << "Cookie received: \"" << cookie << "\"" << LL_ENDL; mOpenIDCookie += cookie; @@ -1827,7 +1827,7 @@ bool LLViewerMediaImpl::initializePlugin(const std::string& media_type) if(mPriority == LLPluginClassMedia::PRIORITY_UNLOADED) { // This impl should not be loaded at this time. - LL_DEBUGS("PluginPriority") << this << "Not loading (PRIORITY_UNLOADED)" << LL_ENDL; + // _LL_DEBUGS("PluginPriority") << this << "Not loading (PRIORITY_UNLOADED)" << LL_ENDL; return false; } @@ -2511,7 +2511,7 @@ void LLViewerMediaImpl::navigateTo(const std::string& url, const std::string& mi } // This impl should not be loaded at this time. - LL_DEBUGS("PluginPriority") << this << "Not loading (PRIORITY_UNLOADED)" << LL_ENDL; + // _LL_DEBUGS("PluginPriority") << this << "Not loading (PRIORITY_UNLOADED)" << LL_ENDL; return; } @@ -2660,7 +2660,7 @@ void LLViewerMediaImpl::mimeDiscoveryCoro(std::string url) mimeType = HTTP_CONTENT_TEXT_HTML; } - LL_DEBUGS() << "Media type \"" << mediaType << "\", mime type is \"" << mimeType << "\"" << LL_ENDL; + // _LL_DEBUGS() << "Media type \"" << mediaType << "\", mime type is \"" << mimeType << "\"" << LL_ENDL; // the call to initializeMedia may disconnect the responder, which will clear mMediaImpl. // Make a local copy so we can call loadURI() afterwards. @@ -2809,13 +2809,13 @@ void LLViewerMediaImpl::update() // This media may need to be loaded. if(sMediaCreateTimer.hasExpired()) { - LL_DEBUGS("PluginPriority") << this << ": creating media based on timer expiration" << LL_ENDL; + // _LL_DEBUGS("PluginPriority") << this << ": creating media based on timer expiration" << LL_ENDL; createMediaSource(); sMediaCreateTimer.setTimerExpirySec(LLVIEWERMEDIA_CREATE_DELAY); } else { - LL_DEBUGS("PluginPriority") << this << ": NOT creating media (waiting on timer)" << LL_ENDL; + // _LL_DEBUGS("PluginPriority") << this << ": NOT creating media (waiting on timer)" << LL_ENDL; } } } @@ -2946,8 +2946,8 @@ LLViewerMediaTexture* LLViewerMediaImpl::updatePlaceholderImage() || (mTextureUsedHeight != mMediaSource->getHeight()) ) { - LL_DEBUGS("Media") << "initializing media placeholder" << LL_ENDL; - LL_DEBUGS("Media") << "movie image id " << mTextureId << LL_ENDL; + // _LL_DEBUGS("Media") << "initializing media placeholder" << LL_ENDL; + // _LL_DEBUGS("Media") << "movie image id " << mTextureId << LL_ENDL; int texture_width = mMediaSource->getTextureWidth(); int texture_height = mMediaSource->getTextureHeight(); @@ -3170,7 +3170,7 @@ void LLViewerMediaImpl::handleMediaEvent(LLPluginClassMedia* plugin, LLPluginCla { case MEDIA_EVENT_CLICK_LINK_NOFOLLOW: { - LL_DEBUGS("Media") << "MEDIA_EVENT_CLICK_LINK_NOFOLLOW, uri is: " << plugin->getClickURL() << LL_ENDL; + // _LL_DEBUGS("Media") << "MEDIA_EVENT_CLICK_LINK_NOFOLLOW, uri is: " << plugin->getClickURL() << LL_ENDL; std::string url = plugin->getClickURL(); std::string nav_type = plugin->getClickNavType(); LLURLDispatcher::dispatch(url, nav_type, NULL, mTrustedBrowser); @@ -3178,7 +3178,7 @@ void LLViewerMediaImpl::handleMediaEvent(LLPluginClassMedia* plugin, LLPluginCla break; case MEDIA_EVENT_CLICK_LINK_HREF: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CLICK_LINK_HREF, target is \"" << plugin->getClickTarget() << "\", uri is " << plugin->getClickURL() << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CLICK_LINK_HREF, target is \"" << plugin->getClickTarget() << "\", uri is " << plugin->getClickURL() << LL_ENDL; }; break; case MEDIA_EVENT_PLUGIN_FAILED_LAUNCH: @@ -3214,7 +3214,7 @@ void LLViewerMediaImpl::handleMediaEvent(LLPluginClassMedia* plugin, LLPluginCla case MEDIA_EVENT_CURSOR_CHANGED: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CURSOR_CHANGED, new cursor is " << plugin->getCursorName() << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CURSOR_CHANGED, new cursor is " << plugin->getCursorName() << LL_ENDL; std::string cursor = plugin->getCursorName(); @@ -3242,7 +3242,7 @@ void LLViewerMediaImpl::handleMediaEvent(LLPluginClassMedia* plugin, LLPluginCla case LLViewerMediaObserver::MEDIA_EVENT_NAVIGATE_BEGIN: { - LL_DEBUGS("Media") << "MEDIA_EVENT_NAVIGATE_BEGIN, uri is: " << plugin->getNavigateURI() << LL_ENDL; + // _LL_DEBUGS("Media") << "MEDIA_EVENT_NAVIGATE_BEGIN, uri is: " << plugin->getNavigateURI() << LL_ENDL; hideNotification(); if(getNavState() == MEDIANAVSTATE_SERVER_SENT) @@ -3258,7 +3258,7 @@ void LLViewerMediaImpl::handleMediaEvent(LLPluginClassMedia* plugin, LLPluginCla case LLViewerMediaObserver::MEDIA_EVENT_NAVIGATE_COMPLETE: { - LL_DEBUGS("Media") << "MEDIA_EVENT_NAVIGATE_COMPLETE, uri is: " << plugin->getNavigateURI() << LL_ENDL; + // _LL_DEBUGS("Media") << "MEDIA_EVENT_NAVIGATE_COMPLETE, uri is: " << plugin->getNavigateURI() << LL_ENDL; std::string url = plugin->getNavigateURI(); if(getNavState() == MEDIANAVSTATE_BEGUN) @@ -3288,7 +3288,7 @@ void LLViewerMediaImpl::handleMediaEvent(LLPluginClassMedia* plugin, LLPluginCla case LLViewerMediaObserver::MEDIA_EVENT_LOCATION_CHANGED: { - LL_DEBUGS("Media") << "MEDIA_EVENT_LOCATION_CHANGED, uri is: " << plugin->getLocation() << LL_ENDL; + // _LL_DEBUGS("Media") << "MEDIA_EVENT_LOCATION_CHANGED, uri is: " << plugin->getLocation() << LL_ENDL; std::string url = plugin->getLocation(); @@ -3351,7 +3351,7 @@ void LLViewerMediaImpl::handleMediaEvent(LLPluginClassMedia* plugin, LLPluginCla case LLViewerMediaObserver::MEDIA_EVENT_PICK_FILE_REQUEST: { - LL_DEBUGS("Media") << "Media event - file pick requested." << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event - file pick requested." << LL_ENDL; init_threaded_picker_load_dialog(plugin, LLFilePicker::FFLOAD_ALL, plugin->getIsMultipleFilePick()); } @@ -3636,11 +3636,11 @@ void LLViewerMediaImpl::setPriority(LLPluginClassMedia::EPriority priority) { if(mPriority != priority) { - LL_DEBUGS("PluginPriority") + /*// _LL_DEBUGS("PluginPriority") << "changing priority of media id " << mTextureId << " from " << LLPluginClassMedia::priorityToString(mPriority) << " to " << LLPluginClassMedia::priorityToString(priority) - << LL_ENDL; + << LL_ENDL;*/ } mPriority = priority; @@ -3679,19 +3679,19 @@ void LLViewerMediaImpl::setNavState(EMediaNavState state) { mMediaNavState = state; - switch (state) - { - case MEDIANAVSTATE_NONE: LL_DEBUGS("Media") << "Setting nav state to MEDIANAVSTATE_NONE" << LL_ENDL; break; - case MEDIANAVSTATE_BEGUN: LL_DEBUGS("Media") << "Setting nav state to MEDIANAVSTATE_BEGUN" << LL_ENDL; break; - case MEDIANAVSTATE_FIRST_LOCATION_CHANGED: LL_DEBUGS("Media") << "Setting nav state to MEDIANAVSTATE_FIRST_LOCATION_CHANGED" << LL_ENDL; break; - case MEDIANAVSTATE_FIRST_LOCATION_CHANGED_SPURIOUS: LL_DEBUGS("Media") << "Setting nav state to MEDIANAVSTATE_FIRST_LOCATION_CHANGED_SPURIOUS" << LL_ENDL; break; - case MEDIANAVSTATE_COMPLETE_BEFORE_LOCATION_CHANGED: LL_DEBUGS("Media") << "Setting nav state to MEDIANAVSTATE_COMPLETE_BEFORE_LOCATION_CHANGED" << LL_ENDL; break; - case MEDIANAVSTATE_COMPLETE_BEFORE_LOCATION_CHANGED_SPURIOUS: LL_DEBUGS("Media") << "Setting nav state to MEDIANAVSTATE_COMPLETE_BEFORE_LOCATION_CHANGED_SPURIOUS" << LL_ENDL; break; - case MEDIANAVSTATE_SERVER_SENT: LL_DEBUGS("Media") << "Setting nav state to MEDIANAVSTATE_SERVER_SENT" << LL_ENDL; break; - case MEDIANAVSTATE_SERVER_BEGUN: LL_DEBUGS("Media") << "Setting nav state to MEDIANAVSTATE_SERVER_BEGUN" << LL_ENDL; break; - case MEDIANAVSTATE_SERVER_FIRST_LOCATION_CHANGED: LL_DEBUGS("Media") << "Setting nav state to MEDIANAVSTATE_SERVER_FIRST_LOCATION_CHANGED" << LL_ENDL; break; - case MEDIANAVSTATE_SERVER_COMPLETE_BEFORE_LOCATION_CHANGED: LL_DEBUGS("Media") << "Setting nav state to MEDIANAVSTATE_SERVER_COMPLETE_BEFORE_LOCATION_CHANGED" << LL_ENDL; break; - } + /*switch (state) + { + case MEDIANAVSTATE_NONE: // _LL_DEBUGS("Media") << "Setting nav state to MEDIANAVSTATE_NONE" << LL_ENDL; break; + case MEDIANAVSTATE_BEGUN: // _LL_DEBUGS("Media") << "Setting nav state to MEDIANAVSTATE_BEGUN" << LL_ENDL; break; + case MEDIANAVSTATE_FIRST_LOCATION_CHANGED: // _LL_DEBUGS("Media") << "Setting nav state to MEDIANAVSTATE_FIRST_LOCATION_CHANGED" << LL_ENDL; break; + case MEDIANAVSTATE_FIRST_LOCATION_CHANGED_SPURIOUS: // _LL_DEBUGS("Media") << "Setting nav state to MEDIANAVSTATE_FIRST_LOCATION_CHANGED_SPURIOUS" << LL_ENDL; break; + case MEDIANAVSTATE_COMPLETE_BEFORE_LOCATION_CHANGED: // _LL_DEBUGS("Media") << "Setting nav state to MEDIANAVSTATE_COMPLETE_BEFORE_LOCATION_CHANGED" << LL_ENDL; break; + case MEDIANAVSTATE_COMPLETE_BEFORE_LOCATION_CHANGED_SPURIOUS: // _LL_DEBUGS("Media") << "Setting nav state to MEDIANAVSTATE_COMPLETE_BEFORE_LOCATION_CHANGED_SPURIOUS" << LL_ENDL; break; + case MEDIANAVSTATE_SERVER_SENT: // _LL_DEBUGS("Media") << "Setting nav state to MEDIANAVSTATE_SERVER_SENT" << LL_ENDL; break; + case MEDIANAVSTATE_SERVER_BEGUN: // _LL_DEBUGS("Media") << "Setting nav state to MEDIANAVSTATE_SERVER_BEGUN" << LL_ENDL; break; + case MEDIANAVSTATE_SERVER_FIRST_LOCATION_CHANGED: // _LL_DEBUGS("Media") << "Setting nav state to MEDIANAVSTATE_SERVER_FIRST_LOCATION_CHANGED" << LL_ENDL; break; + case MEDIANAVSTATE_SERVER_COMPLETE_BEFORE_LOCATION_CHANGED: // _LL_DEBUGS("Media") << "Setting nav state to MEDIANAVSTATE_SERVER_COMPLETE_BEFORE_LOCATION_CHANGED" << LL_ENDL; break; + }*/ } void LLViewerMediaImpl::setNavigateSuspended(bool suspend) diff --git a/indra/newview/llviewermediafocus.cpp b/indra/newview/llviewermediafocus.cpp index 4afd224a61e..aafd7d50abf 100644 --- a/indra/newview/llviewermediafocus.cpp +++ b/indra/newview/llviewermediafocus.cpp @@ -224,7 +224,7 @@ LLVector3d LLViewerMediaFocus::setCameraZoom(LLViewerObject* object, LLVector3 n F32 aspect_ratio = getBBoxAspectRatio(bbox, normal, &height, &width, &depth); F32 camera_aspect = LLViewerCamera::getInstance()->getAspect(); - LL_DEBUGS() << "normal = " << normal << ", aspect_ratio = " << aspect_ratio << ", camera_aspect = " << camera_aspect << LL_ENDL; + // _LL_DEBUGS() << "normal = " << normal << ", aspect_ratio = " << aspect_ratio << ", camera_aspect = " << camera_aspect << LL_ENDL; // We will normally use the side of the volume aligned with the short side of the screen (i.e. the height for // a screen in a landscape aspect ratio), however there is an edge case where the aspect ratio of the object is @@ -242,14 +242,14 @@ LLVector3d LLViewerMediaFocus::setCameraZoom(LLViewerObject* object, LLVector3 n angle_of_view = llmax(0.1f, LLViewerCamera::getInstance()->getView() * LLViewerCamera::getInstance()->getAspect()); distance = width * 0.5 * padding_factor / tan(angle_of_view * 0.5f ); - LL_DEBUGS() << "using width (" << width << "), angle_of_view = " << angle_of_view << ", distance = " << distance << LL_ENDL; + // _LL_DEBUGS() << "using width (" << width << "), angle_of_view = " << angle_of_view << ", distance = " << distance << LL_ENDL; } else { angle_of_view = llmax(0.1f, LLViewerCamera::getInstance()->getView()); distance = height * 0.5 * padding_factor / tan(angle_of_view * 0.5f ); - LL_DEBUGS() << "using height (" << height << "), angle_of_view = " << angle_of_view << ", distance = " << distance << LL_ENDL; + // _LL_DEBUGS() << "using height (" << height << "), angle_of_view = " << angle_of_view << ", distance = " << distance << LL_ENDL; } distance += depth * 0.5; @@ -495,7 +495,7 @@ F32 LLViewerMediaFocus::getBBoxAspectRatio(const LLBBox& bbox, const LLVector3& F32 dot1 = 0.f; F32 dot2 = 0.f; - LL_DEBUGS() << "bounding box local size = " << bbox_max << ", local_normal = " << local_normal << LL_ENDL; + // _LL_DEBUGS() << "bounding box local size = " << bbox_max << ", local_normal = " << local_normal << LL_ENDL; // The largest component of the localized normal vector is the depth component // meaning that the other two are the legs of the rectangle. @@ -508,21 +508,21 @@ F32 LLViewerMediaFocus::getBBoxAspectRatio(const LLBBox& bbox, const LLVector3& if(XgtY && XgtZ) { - LL_DEBUGS() << "x component of normal is longest, using y and z" << LL_ENDL; + // _LL_DEBUGS() << "x component of normal is longest, using y and z" << LL_ENDL; comp1.mV[VY] = bbox_max.mV[VY]; comp2.mV[VZ] = bbox_max.mV[VZ]; *depth = bbox_max.mV[VX]; } else if(!XgtY && YgtZ) { - LL_DEBUGS() << "y component of normal is longest, using x and z" << LL_ENDL; + // _LL_DEBUGS() << "y component of normal is longest, using x and z" << LL_ENDL; comp1.mV[VX] = bbox_max.mV[VX]; comp2.mV[VZ] = bbox_max.mV[VZ]; *depth = bbox_max.mV[VY]; } else { - LL_DEBUGS() << "z component of normal is longest, using x and y" << LL_ENDL; + // _LL_DEBUGS() << "z component of normal is longest, using x and y" << LL_ENDL; comp1.mV[VX] = bbox_max.mV[VX]; comp2.mV[VY] = bbox_max.mV[VY]; *depth = bbox_max.mV[VZ]; @@ -536,19 +536,19 @@ F32 LLViewerMediaFocus::getBBoxAspectRatio(const LLBBox& bbox, const LLVector3& *height = comp1.length(); *width = comp2.length(); - LL_DEBUGS() << "comp1 = " << comp1 << ", height = " << *height << LL_ENDL; - LL_DEBUGS() << "comp2 = " << comp2 << ", width = " << *width << LL_ENDL; + // _LL_DEBUGS() << "comp1 = " << comp1 << ", height = " << *height << LL_ENDL; + // _LL_DEBUGS() << "comp2 = " << comp2 << ", width = " << *width << LL_ENDL; } else { *height = comp2.length(); *width = comp1.length(); - LL_DEBUGS() << "comp2 = " << comp2 << ", height = " << *height << LL_ENDL; - LL_DEBUGS() << "comp1 = " << comp1 << ", width = " << *width << LL_ENDL; + // _LL_DEBUGS() << "comp2 = " << comp2 << ", height = " << *height << LL_ENDL; + // _LL_DEBUGS() << "comp1 = " << comp1 << ", width = " << *width << LL_ENDL; } - LL_DEBUGS() << "returning " << (*width / *height) << LL_ENDL; + // _LL_DEBUGS() << "returning " << (*width / *height) << LL_ENDL; // Return the aspect ratio. return *width / *height; diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index aa96c07f0c6..5b89132c95a 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -9416,7 +9416,7 @@ class LLUploadCostCalculator : public view_listener_t { asset_type_str = fields[1]; } - LL_DEBUGS("Benefits") << "userdata " << userdata << " menu_name " << menu_name << " asset_type_str " << asset_type_str << LL_ENDL; + // _LL_DEBUGS("Benefits") << "userdata " << userdata << " menu_name " << menu_name << " asset_type_str " << asset_type_str << LL_ENDL; calculateCost(asset_type_str); gMenuHolder->childSetLabelArg(menu_name, "[COST]", mCostStr); diff --git a/indra/newview/llviewermenufile.cpp b/indra/newview/llviewermenufile.cpp index 031dc296d6e..df261b840ca 100644 --- a/indra/newview/llviewermenufile.cpp +++ b/indra/newview/llviewermenufile.cpp @@ -609,7 +609,7 @@ void upload_error(const std::string& error_message, const std::string& label, co LLNotificationsUtil::add(label, args); if(LLFile::remove(filename) == -1) { - LL_DEBUGS() << "unable to remove temp file" << LL_ENDL; + // _LL_DEBUGS() << "unable to remove temp file" << LL_ENDL; } LLFilePicker::instance().reset(); } diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index c268d121743..2071c09ebbf 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -197,7 +197,7 @@ void accept_friendship_coro(std::string url, LLSD notification) } else { - LL_DEBUGS("Friendship") << "Adding friend to list" << httpResults << LL_ENDL; + // _LL_DEBUGS("Friendship") << "Adding friend to list" << httpResults << LL_ENDL; // add friend to recent people list LLRecentPeople::instance().add(payload["from_id"]); @@ -240,7 +240,7 @@ void decline_friendship_coro(std::string url, LLSD notification, S32 option) } else { - LL_DEBUGS("Friendship") << "Friendship declined" << httpResults << LL_ENDL; + // _LL_DEBUGS("Friendship") << "Friendship declined" << httpResults << LL_ENDL; if (option == 1) { LLNotificationsUtil::add("FriendshipDeclinedByMe", @@ -276,16 +276,16 @@ bool friendship_offer_callback(const LLSD& notification, const LLSD& response) // This will also trigger an onlinenotification if the user is online std::string url = gAgent.getRegionCapability("AcceptFriendship"); - LL_DEBUGS("Friendship") << "Cap string: " << url << LL_ENDL; + // _LL_DEBUGS("Friendship") << "Cap string: " << url << LL_ENDL; if (!url.empty() && payload.has("online") && payload["online"].asBoolean() == false) { - LL_DEBUGS("Friendship") << "Accepting friendship via capability" << LL_ENDL; + // _LL_DEBUGS("Friendship") << "Accepting friendship via capability" << LL_ENDL; LLCoros::instance().launch("LLMessageSystem::acceptFriendshipOffer", boost::bind(accept_friendship_coro, url, notification)); } else if (payload.has("session_id") && payload["session_id"].asUUID().notNull()) { - LL_DEBUGS("Friendship") << "Accepting friendship via viewer message" << LL_ENDL; + // _LL_DEBUGS("Friendship") << "Accepting friendship via viewer message" << LL_ENDL; msg->newMessageFast(_PREHASH_AcceptFriendship); msg->nextBlockFast(_PREHASH_AgentData); msg->addUUIDFast(_PREHASH_AgentID, gAgent.getID()); @@ -315,16 +315,16 @@ bool friendship_offer_callback(const LLSD& notification, const LLSD& response) // We no longer notify other viewers, but we DO still send // the rejection to the simulator to delete the pending userop. std::string url = gAgent.getRegionCapability("DeclineFriendship"); - LL_DEBUGS("Friendship") << "Cap string: " << url << LL_ENDL; + // _LL_DEBUGS("Friendship") << "Cap string: " << url << LL_ENDL; if (!url.empty() && payload.has("online") && payload["online"].asBoolean() == false) { - LL_DEBUGS("Friendship") << "Declining friendship via capability" << LL_ENDL; + // _LL_DEBUGS("Friendship") << "Declining friendship via capability" << LL_ENDL; LLCoros::instance().launch("LLMessageSystem::declineFriendshipOffer", boost::bind(decline_friendship_coro, url, notification, option)); } else if (payload.has("session_id") && payload["session_id"].asUUID().notNull()) { - LL_DEBUGS("Friendship") << "Declining friendship via viewer message" << LL_ENDL; + // _LL_DEBUGS("Friendship") << "Declining friendship via viewer message" << LL_ENDL; msg->newMessageFast(_PREHASH_DeclineFriendship); msg->nextBlockFast(_PREHASH_AgentData); msg->addUUIDFast(_PREHASH_AgentID, gAgent.getID()); @@ -436,7 +436,7 @@ void send_complete_agent_movement(const LLHost& sim_host) void process_logout_reply(LLMessageSystem* msg, void**) { // The server has told us it's ok to quit. - LL_DEBUGS("Messaging") << "process_logout_reply" << LL_ENDL; + // _LL_DEBUGS("Messaging") << "process_logout_reply" << LL_ENDL; LLUUID agent_id; msg->getUUID("AgentData", "AgentID", agent_id); @@ -481,7 +481,7 @@ void process_layer_data(LLMessageSystem *mesgsys, void **user_data) { LLViewerRegion *regionp = LLWorld::getInstance()->getRegion(mesgsys->getSender()); - LL_DEBUGS_ONCE("SceneLoadTiming") << "Received layer data" << LL_ENDL; + // _LL_DEBUGS_ONCE("SceneLoadTiming") << "Received layer data" << LL_ENDL; if(!regionp) { @@ -792,7 +792,7 @@ void response_group_invitation_coro(std::string url, LLUUID group_id, bool notif } else { - LL_DEBUGS("GroupInvite") << "Successfully sent response to group " << group_id << " invitation" << LL_ENDL; + // _LL_DEBUGS("GroupInvite") << "Successfully sent response to group " << group_id << " invitation" << LL_ENDL; if (notify_and_update) { LLNotificationsUtil::add("JoinGroupSuccess"); @@ -836,7 +836,7 @@ void send_join_group_response(LLUUID group_id, LLUUID transaction_id, bool accep if (!url.empty()) { - LL_DEBUGS("GroupInvite") << "Capability url: " << url << LL_ENDL; + // _LL_DEBUGS("GroupInvite") << "Capability url: " << url << LL_ENDL; LLCoros::instance().launch("LLMessageSystem::acceptGroupInvitation", boost::bind(response_group_invitation_coro, url, group_id, accept_invite)); } @@ -848,7 +848,7 @@ void send_join_group_response(LLUUID group_id, LLUUID transaction_id, bool accep } else { - LL_DEBUGS("GroupInvite") << "Replying to group invite via IM message" << LL_ENDL; + // _LL_DEBUGS("GroupInvite") << "Replying to group invite via IM message" << LL_ENDL; EInstantMessage type = accept_invite ? IM_GROUP_INVITATION_ACCEPT : IM_GROUP_INVITATION_DECLINE; @@ -969,7 +969,7 @@ static void highlight_inventory_objects_in_panel(const std::vector<LLUUID>& item continue; } - LL_DEBUGS("Inventory_Move") << "Highlighting inventory item: " << item->getName() << ", " << item_id << LL_ENDL; + // _LL_DEBUGS("Inventory_Move") << "Highlighting inventory item: " << item->getName() << ", " << item_id << LL_ENDL; LLFolderView* fv = inventory_panel->getRootFolder(); if (fv) { @@ -981,7 +981,7 @@ static void highlight_inventory_objects_in_panel(const std::vector<LLUUID>& item { // Parent folders can be different in case of 2 consecutive drag and drop // operations when the second one is started before the first one completes. - LL_DEBUGS("Inventory_Move") << "Open folder: " << fv_folder->getName() << LL_ENDL; + // _LL_DEBUGS("Inventory_Move") << "Open folder: " << fv_folder->getName() << LL_ENDL; fv_folder->setOpen(TRUE); if (fv_folder->isSelected()) { @@ -1083,7 +1083,7 @@ class LLViewerInventoryMoveFromWorldObserver : public LLInventoryAddItemByAssetO // if selection is not changed since watch started lets hightlight new items. if (active_panel && !isSelectionChanged()) { - LL_DEBUGS("Inventory_Move") << "Selecting new items..." << LL_ENDL; + // _LL_DEBUGS("Inventory_Move") << "Selecting new items..." << LL_ENDL; active_panel->clearSelection(); highlight_inventory_objects_in_panel(mAddedItems, active_panel); } @@ -1118,8 +1118,8 @@ class LLViewerInventoryMoveFromWorldObserver : public LLInventoryAddItemByAssetO std::set_symmetric_difference(mSelectedItems.begin(), mSelectedItems.end(), selected_items.begin(), selected_items.end(), std::inserter(different_items, different_items.begin())); - LL_DEBUGS("Inventory_Move") << "Selected firstly: " << mSelectedItems.size() - << ", now: " << selected_items.size() << ", difference: " << different_items.size() << LL_ENDL; + /*// _LL_DEBUGS("Inventory_Move") << "Selected firstly: " << mSelectedItems.size() + << ", now: " << selected_items.size() << ", difference: " << different_items.size() << LL_ENDL;*/ return different_items.size() > 0; } @@ -1251,7 +1251,7 @@ class LLOpenTaskOffer : public LLInventoryAddedObserver const LLUUID& asset_uuid = added_item->getAssetUUID(); if (gInventoryMoveObserver->isAssetWatched(asset_uuid)) { - LL_DEBUGS("Inventory_Move") << "Found asset UUID: " << asset_uuid << LL_ENDL; + // _LL_DEBUGS("Inventory_Move") << "Found asset UUID: " << asset_uuid << LL_ENDL; was_moved = true; } } @@ -1333,7 +1333,7 @@ class LLDiscardAgentOffer : public LLInventoryFetchItemsObserver virtual void done() { - LL_DEBUGS("Messaging") << "LLDiscardAgentOffer::done()" << LL_ENDL; + // _LL_DEBUGS("Messaging") << "LLDiscardAgentOffer::done()" << LL_ENDL; // We're invoked from LLInventoryModel::notifyObservers(). // If we now try to remove the inventory item, it will cause a nested @@ -1372,14 +1372,14 @@ bool check_offer_throttle(const std::string& from_name, bool check_only) if(gThrottleTimer.checkExpirationAndReset(OFFER_THROTTLE_TIME)) { - LL_DEBUGS("Messaging") << "Throttle Expired" << LL_ENDL; + // _LL_DEBUGS("Messaging") << "Throttle Expired" << LL_ENDL; throttle_count=1; throttle_logged=false; return true; } else //has not expired { - LL_DEBUGS("Messaging") << "Throttle Not Expired, Count: " << throttle_count << LL_ENDL; + // _LL_DEBUGS("Messaging") << "Throttle Not Expired, Count: " << throttle_count << LL_ENDL; // When downloading the initial inventory we get a lot of new items // coming in and can't tell that from spam. if (LLStartUp::getStartupState() >= STATE_STARTED @@ -1470,7 +1470,7 @@ void open_inventory_offer(const uuid_vec_t& objects, const std::string& from_nam // Special handling for various types. if (check_offer_throttle(from_name, false)) // If we are throttled, don't display { - LL_DEBUGS("Messaging") << "Highlighting inventory item: " << item->getUUID() << LL_ENDL; + // _LL_DEBUGS("Messaging") << "Highlighting inventory item: " << item->getUUID() << LL_ENDL; // If we opened this ourselves, focus it const BOOL take_focus = from_name.empty() ? TAKE_FOCUS_YES : TAKE_FOCUS_NO; switch(asset_type) @@ -1539,7 +1539,7 @@ void open_inventory_offer(const uuid_vec_t& objects, const std::string& from_nam LLFloaterReg::showInstance("preview_sound", LLSD(obj_id), take_focus); break; default: - LL_DEBUGS("Messaging") << "No preview method for previewable asset type : " << LLAssetType::lookupHumanReadable(asset_type) << LL_ENDL; + // _LL_DEBUGS("Messaging") << "No preview method for previewable asset type : " << LLAssetType::lookupHumanReadable(asset_type) << LL_ENDL; break; } } @@ -1838,8 +1838,8 @@ bool LLOfferInfo::inventory_offer_callback(const LLSD& notification, const LLSD& { case IOR_SHOW: // we will want to open this item when it comes back. - LL_DEBUGS("Messaging") << "Initializing an opener for tid: " << mTransactionID - << LL_ENDL; + /*// _LL_DEBUGS("Messaging") << "Initializing an opener for tid: " << mTransactionID + << LL_ENDL;*/ switch (mIM) { case IM_INVENTORY_OFFERED: @@ -2447,7 +2447,7 @@ static LLNotificationFunctorRegistration callingcard_offer_cb_reg("OfferCallingC void process_offer_callingcard(LLMessageSystem* msg, void**) { // someone has offered to form a friendship - LL_DEBUGS("Messaging") << "callingcard offer" << LL_ENDL; + // _LL_DEBUGS("Messaging") << "callingcard offer" << LL_ENDL; LLUUID source_id; msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, source_id); @@ -2978,7 +2978,7 @@ void process_teleport_start(LLMessageSystem *msg, void**) LL_WARNS("Messaging") << "Got TeleportStart, but teleport already in progress. TeleportFlags=" << teleport_flags << LL_ENDL; } - LL_DEBUGS("Messaging") << "Got TeleportStart with TeleportFlags=" << teleport_flags << ". gTeleportDisplay: " << gTeleportDisplay << ", gAgent.mTeleportState: " << gAgent.getTeleportState() << LL_ENDL; + // _LL_DEBUGS("Messaging") << "Got TeleportStart with TeleportFlags=" << teleport_flags << ". gTeleportDisplay: " << gTeleportDisplay << ", gAgent.mTeleportState: " << gAgent.getTeleportState() << LL_ENDL; // *NOTE: The server sends two StartTeleport packets when you are teleporting to a LM LLViewerMessage::getInstance()->mTeleportStartedSignal(); @@ -3041,7 +3041,7 @@ void process_teleport_progress(LLMessageSystem* msg, void**) } std::string buffer; msg->getString("Info", "Message", buffer); - LL_DEBUGS("Messaging") << "teleport progress: " << buffer << " flags: " << teleport_flags << LL_ENDL; + // _LL_DEBUGS("Messaging") << "teleport progress: " << buffer << " flags: " << teleport_flags << LL_ENDL; //Sorta hacky...default to using simulator raw messages //if we don't find the coresponding mapping in our progress mappings @@ -3153,7 +3153,7 @@ BOOL LLPostTeleportNotifiers::tick() // We're going to pretend to be a new agent void process_teleport_finish(LLMessageSystem* msg, void**) { - LL_DEBUGS("Messaging") << "Got teleport location message" << LL_ENDL; + // _LL_DEBUGS("Messaging") << "Got teleport location message" << LL_ENDL; LLUUID agent_id; msg->getUUIDFast(_PREHASH_Info, _PREHASH_AgentID, agent_id); if (agent_id != gAgent.getID()) @@ -3269,8 +3269,8 @@ void process_teleport_finish(LLMessageSystem* msg, void**) gAgent.setTeleportState( LLAgent::TELEPORT_MOVING ); gAgent.setTeleportMessage(LLAgent::sTeleportProgressMessages["contacting"]); - LL_DEBUGS("CrossingCaps") << "Calling setSeedCapability from process_teleport_finish(). Seed cap == " - << seedCap << LL_ENDL; + /*// _LL_DEBUGS("CrossingCaps") << "Calling setSeedCapability from process_teleport_finish(). Seed cap == " + << seedCap << LL_ENDL;*/ regionp->setSeedCapability(seedCap); // Don't send camera updates to the new region until we're @@ -3316,7 +3316,7 @@ void process_agent_movement_complete(LLMessageSystem* msg, void**) return; } - LL_DEBUGS("Messaging") << "process_agent_movement_complete()" << LL_ENDL; + // _LL_DEBUGS("Messaging") << "process_agent_movement_complete()" << LL_ENDL; // *TODO: check timestamp to make sure the movement compleation // makes sense. @@ -3513,8 +3513,8 @@ void process_crossed_region(LLMessageSystem* msg, void**) LLViewerRegion* regionp = LLWorld::getInstance()->addRegion(region_handle, sim_host); - LL_DEBUGS("CrossingCaps") << "Calling setSeedCapability from process_crossed_region(). Seed cap == " - << seedCap << LL_ENDL; + /*// _LL_DEBUGS("CrossingCaps") << "Calling setSeedCapability from process_crossed_region(). Seed cap == " + << seedCap << LL_ENDL;*/ regionp->setSeedCapability(seedCap); } @@ -3759,7 +3759,7 @@ void send_agent_update(BOOL force_send, BOOL send_reliable) gAgent.sendReliableMessage(); } -// LL_DEBUGS("Messaging") << "agent " << avatar_pos_agent << " cam " << camera_pos_agent << LL_ENDL; +// // _LL_DEBUGS("Messaging") << "agent " << avatar_pos_agent << " cam " << camera_pos_agent << LL_ENDL; // Copy the old data last_head_rot = head_rotation; @@ -3987,12 +3987,12 @@ void process_kill_object(LLMessageSystem *mesgsys, void **user_data) LLViewerObjectList::getUUIDFromLocal(id, local_id, ip, port); if (id == LLUUID::null) { - LL_DEBUGS("Messaging") << "Unknown kill for local " << local_id << LL_ENDL; + // _LL_DEBUGS("Messaging") << "Unknown kill for local " << local_id << LL_ENDL; continue; } else { - LL_DEBUGS("Messaging") << "Kill message for local " << local_id << LL_ENDL; + // _LL_DEBUGS("Messaging") << "Kill message for local " << local_id << LL_ENDL; } if (id == gAgentID) @@ -4059,7 +4059,7 @@ void process_time_synch(LLMessageSystem *mesgsys, void **user_data) LLWorld::getInstance()->setSpaceTimeUSec(space_time_usec); - LL_DEBUGS("WindlightSync") << "Sun phase: " << phase << " rad = " << fmodf(phase / F_TWO_PI + 0.25, 1.f) * 24.f << " h" << LL_ENDL; + // _LL_DEBUGS("WindlightSync") << "Sun phase: " << phase << " rad = " << fmodf(phase / F_TWO_PI + 0.25, 1.f) * 24.f << " h" << LL_ENDL; /* LAPRAS We decode these parts of the message but ignore them @@ -4323,7 +4323,7 @@ void process_avatar_animation(LLMessageSystem *mesgsys, void **user_data) S32 num_blocks = mesgsys->getNumberOfBlocksFast(_PREHASH_AnimationList); S32 num_source_blocks = mesgsys->getNumberOfBlocksFast(_PREHASH_AnimationSourceList); - LL_DEBUGS("Messaging", "Motion") << "Processing " << num_blocks << " Animations" << LL_ENDL; + // _LL_DEBUGS("Messaging", "Motion") << "Processing " << num_blocks << " Animations" << LL_ENDL; //clear animation flags avatarp->mSignaledAnimations.clear(); @@ -4375,14 +4375,14 @@ void process_avatar_animation(LLMessageSystem *mesgsys, void **user_data) avatarp->mAnimationSources.insert(LLVOAvatar::AnimationSourceMap::value_type(object_id, animation_id)); } } - LL_DEBUGS("Messaging", "Motion") << "Anim sequence ID: " << anim_sequence_id + /*// _LL_DEBUGS("Messaging", "Motion") << "Anim sequence ID: " << anim_sequence_id << " Animation id: " << animation_id - << " From block: " << object_id << LL_ENDL; + << " From block: " << object_id << LL_ENDL;*/ } else { - LL_DEBUGS("Messaging", "Motion") << "Anim sequence ID: " << anim_sequence_id - << " Animation id: " << animation_id << LL_ENDL; + /*// _LL_DEBUGS("Messaging", "Motion") << "Anim sequence ID: " << anim_sequence_id + << " Animation id: " << animation_id << LL_ENDL;*/ } } } @@ -4411,38 +4411,38 @@ void process_object_animation(LLMessageSystem *mesgsys, void **user_data) mesgsys->getUUIDFast(_PREHASH_Sender, _PREHASH_ID, uuid); - LL_DEBUGS("AnimatedObjectsNotify") << "Received animation state for object " << uuid << LL_ENDL; + // _LL_DEBUGS("AnimatedObjectsNotify") << "Received animation state for object " << uuid << LL_ENDL; signaled_animation_map_t signaled_anims; S32 num_blocks = mesgsys->getNumberOfBlocksFast(_PREHASH_AnimationList); - LL_DEBUGS("AnimatedObjectsNotify") << "processing object animation requests, num_blocks " << num_blocks << " uuid " << uuid << LL_ENDL; + // _LL_DEBUGS("AnimatedObjectsNotify") << "processing object animation requests, num_blocks " << num_blocks << " uuid " << uuid << LL_ENDL; for( S32 i = 0; i < num_blocks; i++ ) { mesgsys->getUUIDFast(_PREHASH_AnimationList, _PREHASH_AnimID, animation_id, i); mesgsys->getS32Fast(_PREHASH_AnimationList, _PREHASH_AnimSequenceID, anim_sequence_id, i); signaled_anims[animation_id] = anim_sequence_id; - LL_DEBUGS("AnimatedObjectsNotify") << "added signaled_anims animation request for object " - << uuid << " animation id " << animation_id << LL_ENDL; + /*// _LL_DEBUGS("AnimatedObjectsNotify") << "added signaled_anims animation request for object " + << uuid << " animation id " << animation_id << LL_ENDL;*/ } LLObjectSignaledAnimationMap::instance().getMap()[uuid] = signaled_anims; LLViewerObject *objp = gObjectList.findObject(uuid); if (!objp) { - LL_DEBUGS("AnimatedObjectsNotify") << "Received animation state for unknown object " << uuid << LL_ENDL; + // _LL_DEBUGS("AnimatedObjectsNotify") << "Received animation state for unknown object " << uuid << LL_ENDL; return; } LLVOVolume *volp = objp->asVolume(); if (!volp) { - LL_DEBUGS("AnimatedObjectsNotify") << "Received animation state for non-volume object " << uuid << LL_ENDL; + // _LL_DEBUGS("AnimatedObjectsNotify") << "Received animation state for non-volume object " << uuid << LL_ENDL; return; } if (!volp->isAnimatedObject()) { - LL_DEBUGS("AnimatedObjectsNotify") << "Received animation state for non-animated object " << uuid << LL_ENDL; + // _LL_DEBUGS("AnimatedObjectsNotify") << "Received animation state for non-animated object " << uuid << LL_ENDL; return; } @@ -4450,7 +4450,7 @@ void process_object_animation(LLMessageSystem *mesgsys, void **user_data) LLControlAvatar *avatarp = volp->getControlAvatar(); if (!avatarp) { - LL_DEBUGS("AnimatedObjectsNotify") << "Received animation request for object with no control avatar, ignoring " << uuid << LL_ENDL; + // _LL_DEBUGS("AnimatedObjectsNotify") << "Received animation request for object with no control avatar, ignoring " << uuid << LL_ENDL; return; } @@ -4841,10 +4841,10 @@ void process_money_balance_reply( LLMessageSystem* msg, void** ) const S32 POP_FRONT_SIZE = 12; if(recent.size() > MAX_LOOKBACK) { - LL_DEBUGS("Messaging") << "Removing oldest transaction records" << LL_ENDL; + // _LL_DEBUGS("Messaging") << "Removing oldest transaction records" << LL_ENDL; recent.erase(recent.begin(), recent.begin() + POP_FRONT_SIZE); } - //LL_DEBUGS("Messaging") << "Pushing back transaction " << tid << LL_ENDL; + //// _LL_DEBUGS("Messaging") << "Pushing back transaction " << tid << LL_ENDL; recent.push_back(tid); if (msg->has("TransactionInfo")) @@ -5782,7 +5782,7 @@ void process_frozen_message(LLMessageSystem *msgsystem, void **user_data) // do some extra stuff once we get our economy data void process_economy_data(LLMessageSystem *msg, void** /*user_data*/) { - LL_DEBUGS("Benefits") << "Received economy data, not currently used" << LL_ENDL; + // _LL_DEBUGS("Benefits") << "Received economy data, not currently used" << LL_ENDL; } void notify_cautioned_script_question(const LLSD& notification, const LLSD& response, S32 orig_questions, BOOL granted) @@ -6220,7 +6220,7 @@ void container_inventory_arrived(LLViewerObject* object, S32 serial_num, void* data) { - LL_DEBUGS("Messaging") << "container_inventory_arrived()" << LL_ENDL; + // _LL_DEBUGS("Messaging") << "container_inventory_arrived()" << LL_ENDL; if( gAgentCamera.cameraMouselook() ) { gAgentCamera.changeCameraToDefault(); @@ -7253,7 +7253,7 @@ void onCovenantLoadComplete(LLVFS *vfs, LLAssetType::EType type, void* user_data, S32 status, LLExtStat ext_status) { - LL_DEBUGS("Messaging") << "onCovenantLoadComplete()" << LL_ENDL; + // _LL_DEBUGS("Messaging") << "onCovenantLoadComplete()" << LL_ENDL; std::string covenant_text; if(0 == status) { diff --git a/indra/newview/llviewernetwork.cpp b/indra/newview/llviewernetwork.cpp index ff649754be0..fed141c7f80 100644 --- a/indra/newview/llviewernetwork.cpp +++ b/indra/newview/llviewernetwork.cpp @@ -88,7 +88,7 @@ LLGridManager::LLGridManager() // an attacker. Don't want someone snagging a password. std::string grid_file = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, "grids.xml"); - LL_DEBUGS("GridManager")<<LL_ENDL; + // _LL_DEBUGS("GridManager")<<LL_ENDL; initialize(grid_file); @@ -184,7 +184,7 @@ void LLGridManager::initialize(const std::string& grid_file) } else { - LL_DEBUGS("GridManager")<<"no grid file specified"<<LL_ENDL; + // _LL_DEBUGS("GridManager")<<"no grid file specified"<<LL_ENDL; } // load a grid from the command line. @@ -303,20 +303,20 @@ bool LLGridManager::addGrid(LLSD& grid_data) grid_data[GRID_LOGIN_IDENTIFIER_TYPES].append(CRED_IDENTIFIER_TYPE_ACCOUNT); } - LL_DEBUGS("GridManager") <<grid<<"\n" + /*// _LL_DEBUGS("GridManager") <<grid<<"\n" <<" id: "<<grid_data[GRID_ID_VALUE].asString()<<"\n" <<" label: "<<grid_data[GRID_LABEL_VALUE].asString()<<"\n" <<" login page: "<<grid_data[GRID_LOGIN_PAGE_VALUE].asString()<<"\n" <<" helper page: "<<grid_data[GRID_HELPER_URI_VALUE].asString()<<"\n" <<" web profile: "<<grid_data[GRID_WEB_PROFILE_VALUE].asString()<<"\n"; - /* still in LL_DEBUGS */ - for (LLSD::array_const_iterator login_uris = grid_data[GRID_LOGIN_URI_VALUE].beginArray(); + /* still in // _LL_DEBUGS */ + /*for (LLSD::array_const_iterator login_uris = grid_data[GRID_LOGIN_URI_VALUE].beginArray(); login_uris != grid_data[GRID_LOGIN_URI_VALUE].endArray(); login_uris++) { LL_CONT << " login uri: "<<login_uris->asString()<<"\n"; } - LL_CONT << LL_ENDL; + LL_CONT << LL_ENDL;*/ mGridList[grid] = grid_data; added = true; } @@ -400,7 +400,7 @@ std::map<std::string, std::string> LLGridManager::getKnownGrids() void LLGridManager::setGridChoice(const std::string& grid) { // Set the grid choice based on a string. - LL_DEBUGS("GridManager")<<"requested "<<grid<<LL_ENDL; + // _LL_DEBUGS("GridManager")<<"requested "<<grid<<LL_ENDL; std::string grid_name = getGrid(grid); // resolved either the name or the id to the name if(!grid_name.empty()) @@ -460,7 +460,7 @@ std::string LLGridManager::getGridLabel(const std::string& grid) { LL_WARNS("GridManager")<<"invalid grid '"<<grid<<"'"<<LL_ENDL; } - LL_DEBUGS("GridManager")<<"returning "<<grid_label<<LL_ENDL; + // _LL_DEBUGS("GridManager")<<"returning "<<grid_label<<LL_ENDL; return grid_label; } @@ -476,7 +476,7 @@ std::string LLGridManager::getGridId(const std::string& grid) { LL_WARNS("GridManager")<<"invalid grid '"<<grid<<"'"<<LL_ENDL; } - LL_DEBUGS("GridManager")<<"returning "<<grid_id<<LL_ENDL; + // _LL_DEBUGS("GridManager")<<"returning "<<grid_id<<LL_ENDL; return grid_id; } @@ -524,7 +524,7 @@ std::string LLGridManager::getHelperURI(const std::string& grid) LL_WARNS("GridManager")<<"invalid grid '"<<grid<<"'"<<LL_ENDL; } - LL_DEBUGS("GridManager")<<"returning "<<helper_uri<<LL_ENDL; + // _LL_DEBUGS("GridManager")<<"returning "<<helper_uri<<LL_ENDL; return helper_uri; } @@ -546,7 +546,7 @@ std::string LLGridManager::getLoginPage(const std::string& grid) std::string LLGridManager::getLoginPage() { std::string login_page = mGridList[mGrid][GRID_LOGIN_PAGE_VALUE].asString(); - LL_DEBUGS("GridManager")<<"returning "<<login_page<<LL_ENDL; + // _LL_DEBUGS("GridManager")<<"returning "<<login_page<<LL_ENDL; return login_page; } @@ -658,7 +658,7 @@ std::string LLGridManager::getSLURLBase(const std::string& grid) grid_base = llformat(DEFAULT_SLURL_BASE, grid_name.c_str()); } } - LL_DEBUGS("GridManager")<<"returning '"<<grid_base<<"'"<<LL_ENDL; + // _LL_DEBUGS("GridManager")<<"returning '"<<grid_base<<"'"<<LL_ENDL; return grid_base; } @@ -678,6 +678,6 @@ std::string LLGridManager::getAppSLURLBase(const std::string& grid) grid_base = llformat(DEFAULT_APP_SLURL_BASE, grid_name.c_str()); } } - LL_DEBUGS("GridManager")<<"returning '"<<grid_base<<"'"<<LL_ENDL; + // _LL_DEBUGS("GridManager")<<"returning '"<<grid_base<<"'"<<LL_ENDL; return grid_base; } diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp index e73ddcc2cd8..631a0ff0e15 100644 --- a/indra/newview/llviewerobject.cpp +++ b/indra/newview/llviewerobject.cpp @@ -155,7 +155,7 @@ static LLTrace::BlockTimerStatHandle FTM_CREATE_OBJECT("Create Object"); // static LLViewerObject *LLViewerObject::createObject(const LLUUID &id, const LLPCode pcode, LLViewerRegion *regionp, S32 flags) { - LL_DEBUGS("ObjectUpdate") << "creating " << id << LL_ENDL; + // _LL_DEBUGS("ObjectUpdate") << "creating " << id << LL_ENDL; dumpStack("ObjectUpdateStack"); LLViewerObject *res = NULL; @@ -1135,9 +1135,9 @@ U32 LLViewerObject::processUpdateMessage(LLMessageSystem *mesgsys, const EObjectUpdateType update_type, LLDataPacker *dp) { - LL_DEBUGS_ONCE("SceneLoadTiming") << "Received viewer object data" << LL_ENDL; + // _LL_DEBUGS_ONCE("SceneLoadTiming") << "Received viewer object data" << LL_ENDL; - LL_DEBUGS("ObjectUpdate") << " mesgsys " << mesgsys << " dp " << dp << " id " << getID() << " update_type " << (S32) update_type << LL_ENDL; + // _LL_DEBUGS("ObjectUpdate") << " mesgsys " << mesgsys << " dp " << dp << " id " << getID() << " update_type " << (S32) update_type << LL_ENDL; dumpStack("ObjectUpdateStack"); U32 retval = 0x0; @@ -2061,7 +2061,7 @@ U32 LLViewerObject::processUpdateMessage(LLMessageSystem *mesgsys, { if (((LLViewerObject*)sent_parentp)->isAvatar()) { - //LL_DEBUGS("Avatar") << "ATT got object update for attachment " << LL_ENDL; + //// _LL_DEBUGS("Avatar") << "ATT got object update for attachment " << LL_ENDL; } // @@ -2505,7 +2505,7 @@ U32 LLViewerObject::processUpdateMessage(LLMessageSystem *mesgsys, // Don't clear invisibility flag on update if still orphaned! if (mDrawable->isState(LLDrawable::FORCE_INVISIBLE) && !mOrphaned) { -// LL_DEBUGS() << "Clearing force invisible: " << mID << ":" << getPCodeString() << ":" << getPositionAgent() << LL_ENDL; +// // _LL_DEBUGS() << "Clearing force invisible: " << mID << ":" << getPCodeString() << ":" << getPositionAgent() << LL_ENDL; mDrawable->clearState(LLDrawable::FORCE_INVISIBLE); gPipeline.markRebuild( mDrawable, LLDrawable::REBUILD_ALL, TRUE ); } @@ -2703,9 +2703,9 @@ void LLViewerObject::interpolateLinearMotion(const F64SecondsImplicit& frame_tim { // Was clipped, so this means we hit a edge where there is no region to enter LLVector3 clip_pos = mRegionp->getPosRegionFromGlobal(clip_pos_global); - LL_DEBUGS("Interpolate") << "Hit empty region edge, clipped predicted position to " + /*// _LL_DEBUGS("Interpolate") << "Hit empty region edge, clipped predicted position to " << clip_pos - << " from " << new_pos << LL_ENDL; + << " from " << new_pos << LL_ENDL;*/ new_pos = clip_pos; // Stop motion and get server update for bouncing on the edge @@ -2723,14 +2723,14 @@ void LLViewerObject::interpolateLinearMotion(const F64SecondsImplicit& frame_tim // Workaround: we can't accurately figure out time when we cross border // so just write down time 'after the fact', it is far from optimal in // case of lags, but for lags sMaxUpdateInterpolationTime will kick in first - LL_DEBUGS("Interpolate") << "Predicted region crossing, new position " << new_pos << LL_ENDL; + // _LL_DEBUGS("Interpolate") << "Predicted region crossing, new position " << new_pos << LL_ENDL; mRegionCrossExpire = frame_time + sMaxRegionCrossingInterpolationTime; } else if (frame_time > mRegionCrossExpire) { // Predicting crossing over 1s, stop motion // Stop motion - LL_DEBUGS("Interpolate") << "Predicting region crossing for too long, stopping at " << new_pos << LL_ENDL; + // _LL_DEBUGS("Interpolate") << "Predicting region crossing for too long, stopping at " << new_pos << LL_ENDL; new_v.clear(); setAcceleration(LLVector3::zero); mRegionCrossExpire = 0; @@ -2890,7 +2890,7 @@ void LLViewerObject::saveScript( * XXXPAM Investigate not making this copy. Seems unecessary, but I'm unsure about the * interaction with doUpdateInventory() called below. */ - LL_DEBUGS() << "LLViewerObject::saveScript() " << item->getUUID() << " " << item->getAssetUUID() << LL_ENDL; + // _LL_DEBUGS() << "LLViewerObject::saveScript() " << item->getUUID() << " " << item->getAssetUUID() << LL_ENDL; LLPointer<LLViewerInventoryItem> task_item = new LLViewerInventoryItem(item->getUUID(), mID, item->getPermissions(), @@ -2922,7 +2922,7 @@ void LLViewerObject::saveScript( void LLViewerObject::moveInventory(const LLUUID& folder_id, const LLUUID& item_id) { - LL_DEBUGS() << "LLViewerObject::moveInventory " << item_id << LL_ENDL; + // _LL_DEBUGS() << "LLViewerObject::moveInventory " << item_id << LL_ENDL; LLMessageSystem* msg = gMessageSystem; msg->newMessageFast(_PREHASH_MoveTaskInventory); msg->nextBlockFast(_PREHASH_AgentData); @@ -3128,13 +3128,13 @@ void LLViewerObject::updateControlAvatar() if (should_have_control_avatar && !has_control_avatar) { std::string vobj_name = llformat("Vol%p", root); - LL_DEBUGS("AnimatedObjects") << vobj_name << " calling linkControlAvatar()" << LL_ENDL; + // _LL_DEBUGS("AnimatedObjects") << vobj_name << " calling linkControlAvatar()" << LL_ENDL; root->linkControlAvatar(); } if (!should_have_control_avatar && has_control_avatar) { std::string vobj_name = llformat("Vol%p", root); - LL_DEBUGS("AnimatedObjects") << vobj_name << " calling unlinkControlAvatar()" << LL_ENDL; + // _LL_DEBUGS("AnimatedObjects") << vobj_name << " calling unlinkControlAvatar()" << LL_ENDL; root->unlinkControlAvatar(); } if (getControlAvatar()) @@ -3158,9 +3158,9 @@ void LLViewerObject::linkControlAvatar() return; } mControlAvatar = LLControlAvatar::createControlAvatar(volp); - LL_DEBUGS("AnimatedObjects") << volp->getID() + /*// _LL_DEBUGS("AnimatedObjects") << volp->getID() << " created control av for " - << (S32) (1+volp->numChildren()) << " prims" << LL_ENDL; + << (S32) (1+volp->numChildren()) << " prims" << LL_ENDL;*/ } LLControlAvatar *cav = getControlAvatar(); if (cav) @@ -3220,12 +3220,12 @@ struct LLFilenameAndTask LLFilenameAndTask() { ++sCount; - LL_DEBUGS() << "Constructing LLFilenameAndTask: " << sCount << LL_ENDL; + // _LL_DEBUGS() << "Constructing LLFilenameAndTask: " << sCount << LL_ENDL; } ~LLFilenameAndTask() { --sCount; - LL_DEBUGS() << "Destroying LLFilenameAndTask: " << sCount << LL_ENDL; + // _LL_DEBUGS() << "Destroying LLFilenameAndTask: " << sCount << LL_ENDL; } private: LLFilenameAndTask(const LLFilenameAndTask& rhs); @@ -3290,7 +3290,7 @@ void LLViewerObject::processTaskInv(LLMessageSystem* msg, void** user_data) if (ft->mFilename.empty()) { - LL_DEBUGS() << "Task has no inventory" << LL_ENDL; + // _LL_DEBUGS() << "Task has no inventory" << LL_ENDL; // mock up some inventory to make a drop target. if (object->mInventory) { @@ -3344,11 +3344,11 @@ void LLViewerObject::processTaskInvFile(void** user_data, S32 error_code, LLExtS && ft->mSerial >= object->mInventorySerialNum) { object->mInventorySerialNum = ft->mSerial; - LL_DEBUGS() << "Receiving inventory task file for serial " << object->mInventorySerialNum << " taskid: " << ft->mTaskID << LL_ENDL; + // _LL_DEBUGS() << "Receiving inventory task file for serial " << object->mInventorySerialNum << " taskid: " << ft->mTaskID << LL_ENDL; if (ft->mSerial < object->mExpectedInventorySerialNum) { // User managed to change something while inventory was loading - LL_DEBUGS() << "Processing file that is potentially out of date for task: " << ft->mTaskID << LL_ENDL; + // _LL_DEBUGS() << "Processing file that is potentially out of date for task: " << ft->mTaskID << LL_ENDL; } if (object->loadTaskInvFile(ft->mFilename)) @@ -3383,8 +3383,8 @@ void LLViewerObject::processTaskInvFile(void** user_data, S32 error_code, LLExtS { // This Occurs When two requests were made, and the first one // has already handled it. - LL_DEBUGS() << "Problem loading task inventory. Return code: " - << error_code << LL_ENDL; + /*// _LL_DEBUGS() << "Problem loading task inventory. Return code: " + << error_code << LL_ENDL;*/ } delete ft; } @@ -4172,7 +4172,7 @@ BOOL LLViewerObject::removeNVPair(const std::string& name) { char* canonical_name = gNVNameTable.addString(name); - LL_DEBUGS() << "LLViewerObject::removeNVPair(): " << name << LL_ENDL; + // _LL_DEBUGS() << "LLViewerObject::removeNVPair(): " << name << LL_ENDL; name_value_map_t::iterator iter = mNameValuePairs.find(canonical_name); if (iter != mNameValuePairs.end()) @@ -4198,7 +4198,7 @@ BOOL LLViewerObject::removeNVPair(const std::string& name) } else { - LL_DEBUGS() << "removeNVPair - No region for object" << LL_ENDL; + // _LL_DEBUGS() << "removeNVPair - No region for object" << LL_ENDL; } } return FALSE; @@ -5239,10 +5239,10 @@ S32 LLViewerObject::setTEMaterialID(const U8 te, const LLMaterialID& pMaterialID } //else if (pMaterialID != tep->getMaterialID()) { - LL_DEBUGS("Material") << "Changing texture entry for te " << (S32)te + /*// _LL_DEBUGS("Material") << "Changing texture entry for te " << (S32)te << ", object " << mID << ", material " << pMaterialID - << LL_ENDL; + << LL_ENDL;*/ retval = LLPrimitive::setTEMaterialID(te, pMaterialID); refreshMaterials(); } @@ -5260,10 +5260,10 @@ S32 LLViewerObject::setTEMaterialParams(const U8 te, const LLMaterialPtr pMateri } retval = LLPrimitive::setTEMaterialParams(te, pMaterialParams); - LL_DEBUGS("Material") << "Changing material params for te " << (S32)te + /*// _LL_DEBUGS("Material") << "Changing material params for te " << (S32)te << ", object " << mID << " (" << retval << ")" - << LL_ENDL; + << LL_ENDL;*/ setTENormalMap(te, (pMaterialParams) ? pMaterialParams->getNormalID() : LLUUID::null); setTESpecularMap(te, (pMaterialParams) ? pMaterialParams->getSpecularID() : LLUUID::null); diff --git a/indra/newview/llviewerobjectlist.cpp b/indra/newview/llviewerobjectlist.cpp index 08900920b58..ed46047d84c 100644 --- a/indra/newview/llviewerobjectlist.cpp +++ b/indra/newview/llviewerobjectlist.cpp @@ -245,8 +245,8 @@ void LLViewerObjectList::processUpdateCore(LLViewerObject* objectp, } // ignore returned flags - LL_DEBUGS("ObjectUpdate") << "uuid " << objectp->mID << " calling processUpdateMessage " - << objectp << " just_created " << just_created << " from_cache " << from_cache << " msg " << msg << LL_ENDL; + /*// _LL_DEBUGS("ObjectUpdate") << "uuid " << objectp->mID << " calling processUpdateMessage " + << objectp << " just_created " << just_created << " from_cache " << from_cache << " msg " << msg << LL_ENDL;*/ dumpStack("ObjectUpdateStack"); objectp->processUpdateMessage(msg, user_data, i, update_type, dpp); @@ -367,7 +367,7 @@ LLViewerObject* LLViewerObjectList::processObjectUpdateFromCache(LLVOCacheEntry* { objectp = createObjectFromCache(pcode, regionp, fullid, entry->getLocalID()); - LL_DEBUGS("ObjectUpdate") << "uuid " << fullid << " created objectp " << objectp << LL_ENDL; + // _LL_DEBUGS("ObjectUpdate") << "uuid " << fullid << " created objectp " << objectp << LL_ENDL; dumpStack("ObjectUpdateStack"); if (!objectp) @@ -488,7 +488,7 @@ void LLViewerObjectList::processObjectUpdate(LLMessageSystem *mesgsys, compressed_dp.reset(); uncompressed_length = mesgsys->getSizeFast(_PREHASH_ObjectData, i, _PREHASH_Data); - LL_DEBUGS("ObjectUpdate") << "got binary data from message to compressed_dpbuffer" << LL_ENDL; + // _LL_DEBUGS("ObjectUpdate") << "got binary data from message to compressed_dpbuffer" << LL_ENDL; mesgsys->getBinaryDataFast(_PREHASH_ObjectData, _PREHASH_Data, compressed_dpbuffer, 0, i, 2048); compressed_dp.assignBuffer(compressed_dpbuffer, uncompressed_length); @@ -529,7 +529,7 @@ void LLViewerObjectList::processObjectUpdate(LLMessageSystem *mesgsys, gMessageSystem->getSenderPort()); if (fullid.isNull()) { - LL_DEBUGS() << "update for unknown localid " << local_id << " host " << gMessageSystem->getSender() << ":" << gMessageSystem->getSenderPort() << LL_ENDL; + // _LL_DEBUGS() << "update for unknown localid " << local_id << " host " << gMessageSystem->getSender() << ":" << gMessageSystem->getSenderPort() << LL_ENDL; mNumUnknownUpdates++; } } @@ -550,7 +550,7 @@ void LLViewerObjectList::processObjectUpdate(LLMessageSystem *mesgsys, } else { - LL_DEBUGS("ObjectUpdate") << "Non-full, non-compressed update, obj " << local_id << ", global ID " << fullid << " from " << mesgsys->getSender() << LL_ENDL; + // _LL_DEBUGS("ObjectUpdate") << "Non-full, non-compressed update, obj " << local_id << ", global ID " << fullid << " from " << mesgsys->getSender() << LL_ENDL; } } else // OUT_FULL only? @@ -560,17 +560,17 @@ void LLViewerObjectList::processObjectUpdate(LLMessageSystem *mesgsys, mesgsys->getU32Fast(_PREHASH_ObjectData, _PREHASH_ID, local_id, i); msg_size += sizeof(LLUUID); msg_size += sizeof(U32); - LL_DEBUGS("ObjectUpdate") << "Full Update, obj " << local_id << ", global ID " << fullid << " from " << mesgsys->getSender() << LL_ENDL; + // _LL_DEBUGS("ObjectUpdate") << "Full Update, obj " << local_id << ", global ID " << fullid << " from " << mesgsys->getSender() << LL_ENDL; } objectp = findObject(fullid); if (compressed) { - LL_DEBUGS("ObjectUpdate") << "uuid " << fullid << " received compressed data from message (earlier in function)" << LL_ENDL; + // _LL_DEBUGS("ObjectUpdate") << "uuid " << fullid << " received compressed data from message (earlier in function)" << LL_ENDL; } - LL_DEBUGS("ObjectUpdate") << "uuid " << fullid << " objectp " << objectp + /*// _LL_DEBUGS("ObjectUpdate") << "uuid " << fullid << " objectp " << objectp << " update_cache " << (S32) update_cache << " compressed " << compressed - << " update_type " << update_type << LL_ENDL; + << " update_type " << update_type << LL_ENDL;*/ dumpStack("ObjectUpdateStack"); if(update_cache) @@ -648,7 +648,7 @@ void LLViewerObjectList::processObjectUpdate(LLMessageSystem *mesgsys, objectp = createObject(pcode, regionp, fullid, local_id, gMessageSystem->getSender()); - LL_DEBUGS("ObjectUpdate") << "creating object " << fullid << " result " << objectp << LL_ENDL; + // _LL_DEBUGS("ObjectUpdate") << "creating object " << fullid << " result " << objectp << LL_ENDL; dumpStack("ObjectUpdateStack"); if (!objectp) @@ -746,7 +746,7 @@ void LLViewerObjectList::processCachedObjectUpdate(LLMessageSystem *mesgsys, mesgsys->getU32Fast(_PREHASH_ObjectData, _PREHASH_UpdateFlags, flags, i); msg_size += sizeof(U32) * 2; - LL_DEBUGS("ObjectUpdate") << "got probe for id " << id << " crc " << crc << LL_ENDL; + // _LL_DEBUGS("ObjectUpdate") << "got probe for id " << id << " crc " << crc << LL_ENDL; dumpStack("ObjectUpdateStack"); // Lookup data packer and add this id to cache miss lists if necessary. @@ -754,7 +754,7 @@ void LLViewerObjectList::processCachedObjectUpdate(LLMessageSystem *mesgsys, if(!regionp->probeCache(id, crc, flags, cache_miss_type)) { // Cache Miss. - LL_DEBUGS("ObjectUpdate") << "cache miss for id " << id << " crc " << crc << " miss type " << (S32) cache_miss_type << LL_ENDL; + // _LL_DEBUGS("ObjectUpdate") << "cache miss for id " << id << " crc " << crc << " miss type " << (S32) cache_miss_type << LL_ENDL; recorder.cacheMissEvent(id, update_type, cache_miss_type, msg_size); @@ -1347,7 +1347,7 @@ void LLViewerObjectList::cleanupReferences(LLViewerObject *objectp) // Cleanup any references we have to this object // Remove from object map so noone can look it up. - LL_DEBUGS("ObjectUpdate") << " dereferencing id " << objectp->mID << LL_ENDL; + // _LL_DEBUGS("ObjectUpdate") << " dereferencing id " << objectp->mID << LL_ENDL; dumpStack("ObjectUpdateStack"); mUUIDObjectMap.erase(objectp->mID); @@ -1498,7 +1498,7 @@ void LLViewerObjectList::killAllFullbrights() const LLTextureEntry* te = objectp->getTE(i); if (te->getFullbrightFlag()) { - LL_DEBUGS() << itoc(te->getFullbright()) << LL_ENDL; + // _LL_DEBUGS() << itoc(te->getFullbright()) << LL_ENDL; objectp->setTEFullbright(i, 0); } } @@ -2206,7 +2206,7 @@ LLViewerObject *LLViewerObjectList::createObjectFromCache(const LLPCode pcode, L { llassert_always(uuid.notNull()); - LL_DEBUGS("ObjectUpdate") << "creating " << uuid << " local_id " << local_id << LL_ENDL; + // _LL_DEBUGS("ObjectUpdate") << "creating " << uuid << " local_id " << local_id << LL_ENDL; dumpStack("ObjectUpdateStack"); LLViewerObject *objectp = LLViewerObject::createObject(uuid, pcode, regionp); @@ -2255,7 +2255,7 @@ LLViewerObject *LLViewerObjectList::createObject(const LLPCode pcode, LLViewerRe return NULL; } - LL_DEBUGS("ObjectUpdate") << "createObject creating " << fullid << LL_ENDL; + // _LL_DEBUGS("ObjectUpdate") << "createObject creating " << fullid << LL_ENDL; dumpStack("ObjectUpdateStack"); LLViewerObject *objectp = LLViewerObject::createObject(fullid, pcode, regionp); @@ -2314,7 +2314,7 @@ S32 LLViewerObjectList::findReferences(LLDrawable *drawablep) const void LLViewerObjectList::orphanize(LLViewerObject *childp, U32 parent_id, U32 ip, U32 port) { - LL_DEBUGS("ORPHANS") << "Orphaning object " << childp->getID() << " with parent " << parent_id << LL_ENDL; + // _LL_DEBUGS("ORPHANS") << "Orphaning object " << childp->getID() << " with parent " << parent_id << LL_ENDL; // We're an orphan, flag things appropriately. childp->mOrphaned = TRUE; @@ -2408,10 +2408,10 @@ void LLViewerObjectList::findOrphans(LLViewerObject* objectp, U32 ip, U32 port) continue; } - LL_DEBUGS("ORPHANS") << "Reunited parent " << objectp->mID - << " with child " << childp->mID << LL_ENDL; - LL_DEBUGS("ORPHANS") << "Glob: " << objectp->getPositionGlobal() << LL_ENDL; - LL_DEBUGS("ORPHANS") << "Agent: " << objectp->getPositionAgent() << LL_ENDL; + /*// _LL_DEBUGS("ORPHANS") << "Reunited parent " << objectp->mID + << " with child " << childp->mID << LL_ENDL;*/ + // _LL_DEBUGS("ORPHANS") << "Glob: " << objectp->getPositionGlobal() << LL_ENDL; + // _LL_DEBUGS("ORPHANS") << "Agent: " << objectp->getPositionAgent() << LL_ENDL; #ifdef ORPHAN_SPAM addDebugBeacon(objectp->getPositionAgent(),""); #endif diff --git a/indra/newview/llviewerparcelmedia.cpp b/indra/newview/llviewerparcelmedia.cpp index 83b05e6b4d2..32c9ff1c607 100644 --- a/indra/newview/llviewerparcelmedia.cpp +++ b/indra/newview/llviewerparcelmedia.cpp @@ -76,7 +76,7 @@ void LLViewerParcelMedia::update(LLParcel* parcel) { mMediaRegionID = LLUUID() ; stop() ; - LL_DEBUGS("Media") << "no agent region, bailing out." << LL_ENDL; + // _LL_DEBUGS("Media") << "no agent region, bailing out." << LL_ENDL; return ; } @@ -87,7 +87,7 @@ void LLViewerParcelMedia::update(LLParcel* parcel) bool location_changed = false; if (parcelid != mMediaParcelLocalID || regionid != mMediaRegionID) { - LL_DEBUGS("Media") << "New parcel, parcel id = " << parcelid << ", region id = " << regionid << LL_ENDL; + // _LL_DEBUGS("Media") << "New parcel, parcel id = " << parcelid << ", region id = " << regionid << LL_ENDL; mMediaParcelLocalID = parcelid; mMediaRegionID = regionid; location_changed = true; @@ -140,7 +140,7 @@ void LLViewerParcelMedia::update(LLParcel* parcel) // static void LLViewerParcelMedia::play(LLParcel* parcel) { - LL_DEBUGS() << "LLViewerParcelMedia::play" << LL_ENDL; + // _LL_DEBUGS() << "LLViewerParcelMedia::play" << LL_ENDL; if (!parcel) return; @@ -163,7 +163,7 @@ void LLViewerParcelMedia::play(LLParcel* parcel) && mMediaImpl->getMimeType() == mime_type && mMediaImpl->getMediaTextureID() == placeholder_texture_id) { - LL_DEBUGS("Media") << "playing with existing url " << media_url << LL_ENDL; + // _LL_DEBUGS("Media") << "playing with existing url " << media_url << LL_ENDL; mMediaImpl->play(); } @@ -190,7 +190,7 @@ void LLViewerParcelMedia::play(LLParcel* parcel) { if(!mMediaImpl) { - LL_DEBUGS("Media") << "new media impl with mime type " << mime_type << ", url " << media_url << LL_ENDL; + // _LL_DEBUGS("Media") << "new media impl with mime type " << mime_type << ", url " << media_url << LL_ENDL; // There is no media impl, make a new one mMediaImpl = LLViewerMedia::getInstance()->newMediaImpl( @@ -479,133 +479,133 @@ void LLViewerParcelMedia::handleMediaEvent(LLPluginClassMedia* self, EMediaEvent { case MEDIA_EVENT_DEBUG_MESSAGE: { - // LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_DEBUG_MESSAGE " << LL_ENDL; + // // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_DEBUG_MESSAGE " << LL_ENDL; }; break; case MEDIA_EVENT_CONTENT_UPDATED: { - // LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CONTENT_UPDATED " << LL_ENDL; + // // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CONTENT_UPDATED " << LL_ENDL; }; break; case MEDIA_EVENT_TIME_DURATION_UPDATED: { - // LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_TIME_DURATION_UPDATED, time is " << self->getCurrentTime() << " of " << self->getDuration() << LL_ENDL; + // // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_TIME_DURATION_UPDATED, time is " << self->getCurrentTime() << " of " << self->getDuration() << LL_ENDL; }; break; case MEDIA_EVENT_SIZE_CHANGED: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_SIZE_CHANGED " << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_SIZE_CHANGED " << LL_ENDL; }; break; case MEDIA_EVENT_CURSOR_CHANGED: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CURSOR_CHANGED, new cursor is " << self->getCursorName() << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CURSOR_CHANGED, new cursor is " << self->getCursorName() << LL_ENDL; }; break; case MEDIA_EVENT_NAVIGATE_BEGIN: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAVIGATE_BEGIN " << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAVIGATE_BEGIN " << LL_ENDL; }; break; case MEDIA_EVENT_NAVIGATE_COMPLETE: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAVIGATE_COMPLETE, result string is: " << self->getNavigateResultString() << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAVIGATE_COMPLETE, result string is: " << self->getNavigateResultString() << LL_ENDL; }; break; case MEDIA_EVENT_PROGRESS_UPDATED: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_PROGRESS_UPDATED, loading at " << self->getProgressPercent() << "%" << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_PROGRESS_UPDATED, loading at " << self->getProgressPercent() << "%" << LL_ENDL; }; break; case MEDIA_EVENT_STATUS_TEXT_CHANGED: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_STATUS_TEXT_CHANGED, new status text is: " << self->getStatusText() << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_STATUS_TEXT_CHANGED, new status text is: " << self->getStatusText() << LL_ENDL; }; break; case MEDIA_EVENT_LOCATION_CHANGED: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_LOCATION_CHANGED, new uri is: " << self->getLocation() << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_LOCATION_CHANGED, new uri is: " << self->getLocation() << LL_ENDL; }; break; case MEDIA_EVENT_NAVIGATE_ERROR_PAGE: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAVIGATE_ERROR_PAGE" << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAVIGATE_ERROR_PAGE" << LL_ENDL; }; break; case MEDIA_EVENT_CLICK_LINK_HREF: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CLICK_LINK_HREF, target is \"" << self->getClickTarget() << "\", uri is " << self->getClickURL() << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CLICK_LINK_HREF, target is \"" << self->getClickTarget() << "\", uri is " << self->getClickURL() << LL_ENDL; }; break; case MEDIA_EVENT_CLICK_LINK_NOFOLLOW: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CLICK_LINK_NOFOLLOW, uri is " << self->getClickURL() << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CLICK_LINK_NOFOLLOW, uri is " << self->getClickURL() << LL_ENDL; }; break; case MEDIA_EVENT_PLUGIN_FAILED: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_PLUGIN_FAILED" << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_PLUGIN_FAILED" << LL_ENDL; }; break; case MEDIA_EVENT_PLUGIN_FAILED_LAUNCH: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_PLUGIN_FAILED_LAUNCH" << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_PLUGIN_FAILED_LAUNCH" << LL_ENDL; }; break; case MEDIA_EVENT_NAME_CHANGED: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAME_CHANGED" << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_NAME_CHANGED" << LL_ENDL; }; break; case MEDIA_EVENT_CLOSE_REQUEST: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CLOSE_REQUEST" << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_CLOSE_REQUEST" << LL_ENDL; } break; case MEDIA_EVENT_PICK_FILE_REQUEST: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_PICK_FILE_REQUEST" << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_PICK_FILE_REQUEST" << LL_ENDL; } break; case MEDIA_EVENT_FILE_DOWNLOAD: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_FILE_DOWNLOAD" << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_FILE_DOWNLOAD" << LL_ENDL; } break; case MEDIA_EVENT_GEOMETRY_CHANGE: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_GEOMETRY_CHANGE, uuid is " << self->getClickUUID() << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_GEOMETRY_CHANGE, uuid is " << self->getClickUUID() << LL_ENDL; } break; case MEDIA_EVENT_AUTH_REQUEST: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_AUTH_REQUEST, url " << self->getAuthURL() << ", realm " << self->getAuthRealm() << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_AUTH_REQUEST, url " << self->getAuthURL() << ", realm " << self->getAuthRealm() << LL_ENDL; } break; case MEDIA_EVENT_LINK_HOVERED: { - LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_LINK_HOVERED, hover text is: " << self->getHoverText() << LL_ENDL; + // _LL_DEBUGS("Media") << "Media event: MEDIA_EVENT_LINK_HOVERED, hover text is: " << self->getHoverText() << LL_ENDL; }; break; }; diff --git a/indra/newview/llviewerparcelmgr.cpp b/indra/newview/llviewerparcelmgr.cpp index b161c6fc369..1d1572693c1 100644 --- a/indra/newview/llviewerparcelmgr.cpp +++ b/indra/newview/llviewerparcelmgr.cpp @@ -1445,7 +1445,7 @@ void LLViewerParcelMgr::setHoverParcel(const LLVector3d& pos) last_south = south_parcel_step; last_region = region_id; - LL_DEBUGS("ParcelMgr") << "Requesting parcel properties on hover, for " << pos << LL_ENDL; + // _LL_DEBUGS("ParcelMgr") << "Requesting parcel properties on hover, for " << pos << LL_ENDL; // Send a rectangle around the point. @@ -1650,7 +1650,7 @@ void LLViewerParcelMgr::processParcelProperties(LLMessageSystem *msg, void **use msg->getS32("ParcelData", "OtherCleanTime", other_clean_time ); - LL_DEBUGS("ParcelMgr") << "Processing parcel " << local_id << " update, target(sequence): " << sequence_id << LL_ENDL; + // _LL_DEBUGS("ParcelMgr") << "Processing parcel " << local_id << " update, target(sequence): " << sequence_id << LL_ENDL; // Actually extract the data. if (parcel) @@ -1732,7 +1732,7 @@ void LLViewerParcelMgr::processParcelProperties(LLMessageSystem *msg, void **use } } parcel->setParcelEnvironmentVersion(parcel_environment_version); - LL_DEBUGS("ENVIRONMENT") << "Parcel environment version is " << parcel->getParcelEnvironmentVersion() << LL_ENDL; + // _LL_DEBUGS("ENVIRONMENT") << "Parcel environment version is " << parcel->getParcelEnvironmentVersion() << LL_ENDL; // Notify anything that wants to know when the agent changes parcels gAgent.changeParcels(); instance->mTeleportInProgress = FALSE; @@ -1744,7 +1744,7 @@ void LLViewerParcelMgr::processParcelProperties(LLMessageSystem *msg, void **use parcel_mgr.mAgentParcel->unpackMessage(msg); if ((LLEnvironment::instance().isExtendedEnvironmentEnabled() && environment_changed)) { - LL_DEBUGS("ENVIRONMENT") << "Parcel environment version is " << parcel->getParcelEnvironmentVersion() << LL_ENDL; + // _LL_DEBUGS("ENVIRONMENT") << "Parcel environment version is " << parcel->getParcelEnvironmentVersion() << LL_ENDL; LLEnvironment::instance().requestParcel(local_id); } } diff --git a/indra/newview/llviewerregion.cpp b/indra/newview/llviewerregion.cpp index fffbcccc5ce..105618ae7b1 100644 --- a/indra/newview/llviewerregion.cpp +++ b/indra/newview/llviewerregion.cpp @@ -257,8 +257,8 @@ void LLViewerRegionImpl::requestBaseCapabilitiesCoro(U64 regionHandle) LL_WARNS("AppInit", "Capabilities") << "Attempting to get capabilities for region that no longer exists!" << LL_ENDL; return; // this error condition is not recoverable. } - LL_DEBUGS("AppInit", "Capabilities") << "requesting seed caps for handle " << regionHandle - << " name " << regionp->getName() << LL_ENDL; + /*// _LL_DEBUGS("AppInit", "Capabilities") << "requesting seed caps for handle " << regionHandle + << " name " << regionp->getName() << LL_ENDL;*/ std::string url = regionp->getCapability("Seed"); if (url.empty()) @@ -292,7 +292,7 @@ void LLViewerRegionImpl::requestBaseCapabilitiesCoro(U64 regionHandle) LL_INFOS("AppInit", "Capabilities") << "Requesting seed from " << url << " region name " << regionp->getName() << " (attempt #" << mSeedCapAttempts + 1 << ")" << LL_ENDL; - LL_DEBUGS("AppInit", "Capabilities") << "Capabilities requested: " << capabilityNames << LL_ENDL; + // _LL_DEBUGS("AppInit", "Capabilities") << "Capabilities requested: " << capabilityNames << LL_ENDL; regionp = NULL; result = httpAdapter->postAndSuspend(httpRequest, url, capabilityNames); @@ -342,8 +342,8 @@ void LLViewerRegionImpl::requestBaseCapabilitiesCoro(U64 regionHandle) { regionp->setCapability(iter->first, iter->second); - LL_DEBUGS("AppInit", "Capabilities") - << "Capability '" << iter->first << "' is '" << iter->second << "'" << LL_ENDL; + /*// _LL_DEBUGS("AppInit", "Capabilities") + << "Capability '" << iter->first << "' is '" << iter->second << "'" << LL_ENDL;*/ } #if 0 @@ -351,8 +351,8 @@ void LLViewerRegionImpl::requestBaseCapabilitiesCoro(U64 regionHandle) #endif regionp->setCapabilitiesReceived(true); - LL_DEBUGS("AppInit", "Capabilities") << "received caps for handle " << regionHandle - << " region name " << regionp->getName() << LL_ENDL; + /*// _LL_DEBUGS("AppInit", "Capabilities") << "received caps for handle " << regionHandle + << " region name " << regionp->getName() << LL_ENDL;*/ if (STATE_SEED_GRANTED_WAIT == LLStartUp::getStartupState()) { @@ -478,7 +478,7 @@ void LLViewerRegionImpl::requestBaseCapabilitiesCompleteCoro(U64 regionHandle) } else { - LL_DEBUGS("CrossingCaps") << "Sim sent multiple base cap grants with matching sizes." << LL_ENDL; + // _LL_DEBUGS("CrossingCaps") << "Sim sent multiple base cap grants with matching sizes." << LL_ENDL; } mSecondCapabilitiesTracker.clear(); } @@ -2225,8 +2225,8 @@ void LLViewerRegion::getInfo(LLSD& info) void LLViewerRegion::requestSimulatorFeatures() { - LL_DEBUGS("SimulatorFeatures") << "region " << getName() << " ptr " << this - << " trying to request SimulatorFeatures" << LL_ENDL; + /*// _LL_DEBUGS("SimulatorFeatures") << "region " << getName() << " ptr " << this + << " trying to request SimulatorFeatures" << LL_ENDL;*/ // kick off a request for simulator features std::string url = getCapability("SimulatorFeatures"); if (!url.empty()) @@ -2483,7 +2483,7 @@ LLViewerRegion::eCacheUpdateResult LLViewerRegion::cacheFullUpdate(LLDataPackerB // we've seen this object before if (entry->getCRC() == crc) { - LL_DEBUGS("AnimatedObjects") << " got dupe for local_id " << local_id << LL_ENDL; + // _LL_DEBUGS("AnimatedObjects") << " got dupe for local_id " << local_id << LL_ENDL; dumpStack("AnimatedObjectsStack"); // Record a hit @@ -2492,7 +2492,7 @@ LLViewerRegion::eCacheUpdateResult LLViewerRegion::cacheFullUpdate(LLDataPackerB } else //CRC changed { - LL_DEBUGS("AnimatedObjects") << " got update for local_id " << local_id << LL_ENDL; + // _LL_DEBUGS("AnimatedObjects") << " got update for local_id " << local_id << LL_ENDL; dumpStack("AnimatedObjectsStack"); // Update the cache entry @@ -2505,7 +2505,7 @@ LLViewerRegion::eCacheUpdateResult LLViewerRegion::cacheFullUpdate(LLDataPackerB } else { - LL_DEBUGS("AnimatedObjects") << " got first notification for local_id " << local_id << LL_ENDL; + // _LL_DEBUGS("AnimatedObjects") << " got first notification for local_id " << local_id << LL_ENDL; dumpStack("AnimatedObjectsStack"); // we haven't seen this object before @@ -2680,7 +2680,7 @@ void LLViewerRegion::requestCacheMisses() msg->addU8Fast(_PREHASH_CacheMissType, (*iter).mType); msg->addU32Fast(_PREHASH_ID, (*iter).mID); - LL_DEBUGS("AnimatedObjects") << "Requesting cache missed object " << (*iter).mID << LL_ENDL; + // _LL_DEBUGS("AnimatedObjects") << "Requesting cache missed object " << (*iter).mID << LL_ENDL; blocks++; @@ -3346,17 +3346,17 @@ void LLViewerRegion::resetMaterialsCapThrottle() << requests_per_sec << " per second" << LL_ENDL; } - LL_DEBUGS("Materials") << "region '" << getName() + /*// _LL_DEBUGS("Materials") << "region '" << getName() << "' RenderMaterialsCapability " << requests_per_sec - << LL_ENDL; + << LL_ENDL;*/ } else { - LL_DEBUGS("Materials") + /*// _LL_DEBUGS("Materials") << "region '" << getName() << "' did not return RenderMaterialsCapability, using default " << requests_per_sec << " per second" - << LL_ENDL; + << LL_ENDL;*/ } mMaterialsCapThrottleTimer.resetWithExpiry( 1.0f / requests_per_sec ); diff --git a/indra/newview/llviewerstats.cpp b/indra/newview/llviewerstats.cpp index c64edd1d6a7..3c6fa91680d 100644 --- a/indra/newview/llviewerstats.cpp +++ b/indra/newview/llviewerstats.cpp @@ -653,12 +653,12 @@ void LLViewerStats::PhaseMap::startPhase(const std::string& phase_name) { LLTimer& timer = getPhaseTimer(phase_name); timer.start(); - //LL_DEBUGS("Avatar") << "startPhase " << phase_name << LL_ENDL; + //// _LL_DEBUGS("Avatar") << "startPhase " << phase_name << LL_ENDL; } void LLViewerStats::PhaseMap::clearPhases() { - //LL_DEBUGS("Avatar") << "clearPhases" << LL_ENDL; + //// _LL_DEBUGS("Avatar") << "clearPhases" << LL_ENDL; mPhaseMap.clear(); } @@ -725,11 +725,11 @@ bool LLViewerStats::PhaseMap::getPhaseValues(const std::string& phase_name, F32& found = true; elapsed = iter->second.getElapsedTimeF32(); completed = !iter->second.getStarted(); - //LL_DEBUGS("Avatar") << " phase_name " << phase_name << " elapsed " << elapsed << " completed " << completed << " timer addr " << (S32)(&iter->second) << LL_ENDL; + //// _LL_DEBUGS("Avatar") << " phase_name " << phase_name << " elapsed " << elapsed << " completed " << completed << " timer addr " << (S32)(&iter->second) << LL_ENDL; } else { - //LL_DEBUGS("Avatar") << " phase_name " << phase_name << " NOT FOUND" << LL_ENDL; + //// _LL_DEBUGS("Avatar") << " phase_name " << phase_name << " NOT FOUND" << LL_ENDL; } return found; diff --git a/indra/newview/llviewerstatsrecorder.cpp b/indra/newview/llviewerstatsrecorder.cpp index b5ccf4ffa06..b09e51f255e 100644 --- a/indra/newview/llviewerstatsrecorder.cpp +++ b/indra/newview/llviewerstatsrecorder.cpp @@ -173,7 +173,7 @@ void LLViewerStatsRecorder::writeToLog( F32 interval ) if ( delta_time < interval || total_objects == 0) return; mLastSnapshotTime = LLTimer::getTotalSeconds(); - LL_DEBUGS() << "ILX: " + /*// _LL_DEBUGS() << "ILX: " << mObjectCacheHitCount << " hits, " << mObjectCacheMissFullCount << " full misses, " << mObjectCacheMissCrcCount << " crc misses, " @@ -186,7 +186,7 @@ void LLViewerStatsRecorder::writeToLog( F32 interval ) << mObjectCacheUpdateAdds << " cache update adds, " << mObjectCacheUpdateReplacements << " cache update replacements, " << mObjectUpdateFailures << " update failures" - << LL_ENDL; + << LL_ENDL;*/ if (mObjectCacheFile == NULL) { diff --git a/indra/newview/llviewertexlayer.cpp b/indra/newview/llviewertexlayer.cpp index 53eefc28379..5eb7943d9a1 100644 --- a/indra/newview/llviewertexlayer.cpp +++ b/indra/newview/llviewertexlayer.cpp @@ -247,7 +247,7 @@ void LLViewerTexLayerSetBuffer::doUpdate() args["BODYREGION"] = layer_set->getBodyRegionName(); args["RESOLUTION"] = lod_str; LLNotificationsUtil::add("AvatarRezSelfBakedTextureUpdateNotification",args); - LL_DEBUGS("Avatar") << self_av_string() << "Locally updating [ name: " << layer_set->getBodyRegionName() << " res:" << lod_str << " time:" << (U32)mNeedsUpdateTimer.getElapsedTimeF32() << " ]" << LL_ENDL; + // _LL_DEBUGS("Avatar") << self_av_string() << "Locally updating [ name: " << layer_set->getBodyRegionName() << " res:" << lod_str << " time:" << (U32)mNeedsUpdateTimer.getElapsedTimeF32() << " ]" << LL_ENDL; } } diff --git a/indra/newview/llviewertexteditor.cpp b/indra/newview/llviewertexteditor.cpp index e2de7ac825e..df006af5ac1 100644 --- a/indra/newview/llviewertexteditor.cpp +++ b/indra/newview/llviewertexteditor.cpp @@ -933,7 +933,7 @@ BOOL LLViewerTextEditor::handleDragAndDrop(S32 x, S32 y, MASK mask, } handled = TRUE; - LL_DEBUGS("UserInput") << "dragAndDrop handled by LLViewerTextEditor " << getName() << LL_ENDL; + // _LL_DEBUGS("UserInput") << "dragAndDrop handled by LLViewerTextEditor " << getName() << LL_ENDL; return handled; } diff --git a/indra/newview/llviewertexture.cpp b/indra/newview/llviewertexture.cpp index 9de3c284621..12ad06aa939 100644 --- a/indra/newview/llviewertexture.cpp +++ b/indra/newview/llviewertexture.cpp @@ -713,7 +713,7 @@ LLViewerTexture::LLViewerTexture(const LLImageRaw* raw, BOOL usemipmaps) : LLViewerTexture::~LLViewerTexture() { - // LL_DEBUGS("Avatar") << mID << LL_ENDL; + // // _LL_DEBUGS("Avatar") << mID << LL_ENDL; cleanup(); sImageCount--; } @@ -1412,7 +1412,7 @@ void LLViewerFetchedTexture::destroyTexture() return; } - //LL_DEBUGS("Avatar") << mID << LL_ENDL; + //// _LL_DEBUGS("Avatar") << mID << LL_ENDL; destroyGLTexture(); mFullyLoaded = FALSE; } @@ -1566,7 +1566,7 @@ BOOL LLViewerFetchedTexture::createTexture(S32 usename/*= 0*/) S32 discard_level = mRawDiscardLevel; if (mRawDiscardLevel < 0) { - LL_DEBUGS() << "Negative raw discard level when creating image: " << mRawDiscardLevel << LL_ENDL; + // _LL_DEBUGS() << "Negative raw discard level when creating image: " << mRawDiscardLevel << LL_ENDL; discard_level = 0; } @@ -2284,7 +2284,7 @@ bool LLViewerFetchedTexture::updateFetch() const F32 FETCH_IDLE_TIME = 5.f; if (mLastPacketTimer.getElapsedTimeF32() > FETCH_IDLE_TIME) { - LL_DEBUGS("Texture") << "exceeded idle time " << FETCH_IDLE_TIME << ", deleting request: " << getID() << LL_ENDL; + // _LL_DEBUGS("Texture") << "exceeded idle time " << FETCH_IDLE_TIME << ", deleting request: " << getID() << LL_ENDL; LLAppViewer::getTextureFetch()->deleteRequest(getID(), true); mHasFetcher = FALSE; } diff --git a/indra/newview/llviewertexturelist.cpp b/indra/newview/llviewertexturelist.cpp index a781b41415c..c6808254a66 100644 --- a/indra/newview/llviewertexturelist.cpp +++ b/indra/newview/llviewertexturelist.cpp @@ -116,7 +116,7 @@ void LLViewerTextureList::init() void LLViewerTextureList::doPreloadImages() { - LL_DEBUGS("ViewerImages") << "Preloading images..." << LL_ENDL; + // _LL_DEBUGS("ViewerImages") << "Preloading images..." << LL_ENDL; llassert_always(mInitialized) ; llassert_always(mImageList.empty()) ; @@ -252,7 +252,7 @@ void LLViewerTextureList::doPrefetchImages() } } } - LL_DEBUGS() << "fetched " << texture_count << " images from " << filename << LL_ENDL; + // _LL_DEBUGS() << "fetched " << texture_count << " images from " << filename << LL_ENDL; } /////////////////////////////////////////////////////////////////////////////// @@ -315,7 +315,7 @@ void LLViewerTextureList::shutdown() std::string filename = get_texture_list_name(); llofstream file; file.open(filename.c_str()); - LL_DEBUGS() << "saving " << imagelist.size() << " image list entries" << LL_ENDL; + // _LL_DEBUGS() << "saving " << imagelist.size() << " image list entries" << LL_ENDL; LLSDSerialize::toPrettyXML(imagelist, file); } @@ -438,9 +438,9 @@ LLViewerFetchedTexture* LLViewerTextureList::getImageFromUrl(const std::string& { // This is not an error as long as the images really match - // e.g. could be two avatars wearing the same outfit. - LL_DEBUGS("Avatar") << "Requested texture " << new_id + /*// _LL_DEBUGS("Avatar") << "Requested texture " << new_id << " already exists with a different url, requested: " << url - << " current: " << texture->getUrl() << LL_ENDL; + << " current: " << texture->getUrl() << LL_ENDL;*/ } } @@ -1252,10 +1252,10 @@ void LLViewerTextureList::decodeAllImages(F32 max_time) max_time = llmax(max_time, .001f); F32 create_time = updateImagesCreateTextures(max_time); - LL_DEBUGS("ViewerImages") << "decodeAllImages() took " << timer.getElapsedTimeF32() << " seconds. " + /*// _LL_DEBUGS("ViewerImages") << "decodeAllImages() took " << timer.getElapsedTimeF32() << " seconds. " << " fetch_pending " << fetch_pending << " create_time " << create_time - << LL_ENDL; + << LL_ENDL;*/ } diff --git a/indra/newview/llviewerthrottle.cpp b/indra/newview/llviewerthrottle.cpp index 2729253d183..04e3b415d7f 100644 --- a/indra/newview/llviewerthrottle.cpp +++ b/indra/newview/llviewerthrottle.cpp @@ -179,9 +179,9 @@ void LLViewerThrottleGroup::dump() S32 i; for (i = 0; i < TC_EOF; i++) { - LL_DEBUGS("Throttle") << LLViewerThrottle::sNames[i] << ": " << mThrottles[i] << LL_ENDL; + // _LL_DEBUGS("Throttle") << LLViewerThrottle::sNames[i] << ": " << mThrottles[i] << LL_ENDL; } - LL_DEBUGS("Throttle") << "Total: " << mThrottleTotal << LL_ENDL; + // _LL_DEBUGS("Throttle") << "Total: " << mThrottleTotal << LL_ENDL; } class LLBPSListener : public LLSimpleListener diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index 2960b8d2b16..524ab1a25ec 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -1016,7 +1016,7 @@ BOOL LLViewerWindow::handleAnyMouseClick(LLWindow *window, LLCoordGL pos, MASK BOOL r = mouse_captor->handleAnyMouseClick(local_x, local_y, mask, clicktype, down); if (r) { - LL_DEBUGS() << "LLViewerWindow::handleAnyMouseClick viewer with mousecaptor calling updatemouseeventinfo - local_x|global x "<< local_x << " " << x << "local/global y " << local_y << " " << y << LL_ENDL; + // _LL_DEBUGS() << "LLViewerWindow::handleAnyMouseClick viewer with mousecaptor calling updatemouseeventinfo - local_x|global x "<< local_x << " " << x << "local/global y " << local_y << " " << y << LL_ENDL; #if AL_VIEWER_EVENT_RECORDER if (LLViewerEventRecorder::getLoggingStatus()) { @@ -1039,7 +1039,7 @@ BOOL LLViewerWindow::handleAnyMouseClick(LLWindow *window, LLCoordGL pos, MASK if (r) { - LL_DEBUGS() << "LLViewerWindow::handleAnyMouseClick calling updatemouseeventinfo - global x "<< " " << x << "global y " << y << "buttonstate: " << buttonstatestr << " buttonname " << buttonname << LL_ENDL; + // _LL_DEBUGS() << "LLViewerWindow::handleAnyMouseClick calling updatemouseeventinfo - global x "<< " " << x << "global y " << y << "buttonstate: " << buttonstatestr << " buttonname " << buttonname << LL_ENDL; #if AL_VIEWER_EVENT_RECORDER if (LLViewerEventRecorder::getLoggingStatus()) @@ -1229,7 +1229,7 @@ LLWindowCallbacks::DragNDropResult LLViewerWindow::handleDragNDrop( LLWindow *wi S32 object_face = pick_info.mObjectFace; std::string url = data; - LL_DEBUGS() << "Object: picked at " << pos.mX << ", " << pos.mY << " - face = " << object_face << " - URL = " << url << LL_ENDL; + // _LL_DEBUGS() << "Object: picked at " << pos.mX << ", " << pos.mY << " - face = " << object_face << " - URL = " << url << LL_ENDL; LLViewerObject* vobjp = static_cast<LLViewerObject*>(pick_info.getObject()); LLVOVolume *obj = vobjp ? vobjp->asVolume() : nullptr; @@ -1916,7 +1916,7 @@ LLViewerWindow::LLViewerWindow(const Params& p) // We want to set this stuff up BEFORE we initialize the pipeline, so we can turn off // stuff like AGP if we think that it'll crash the viewer. // - LL_DEBUGS("Window") << "Loading feature tables." << LL_ENDL; + // _LL_DEBUGS("Window") << "Loading feature tables." << LL_ENDL; // Initialize OpenGL Renderer if (!LLFeatureManager::getInstance()->isFeatureAvailable("RenderVBOEnable") || @@ -2050,7 +2050,7 @@ void LLViewerWindow::initBase() // Create global views // Login screen and main_view.xml need edit menus for preferences and browser - LL_DEBUGS("AppInit") << "initializing edit menu" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "initializing edit menu" << LL_ENDL; initialize_edit_menu(); // Create the floater view at the start so that other views can add children to it. @@ -2757,14 +2757,14 @@ BOOL LLViewerWindow::handleKeyUp(KEY key, MASK mask) { if (keyboard_focus->handleKeyUp(key, mask, FALSE)) { - LL_DEBUGS() << "LLviewerWindow::handleKeyUp - in 'traverse up' - no loops seen... just called keyboard_focus->handleKeyUp an it returned true" << LL_ENDL; + // _LL_DEBUGS() << "LLviewerWindow::handleKeyUp - in 'traverse up' - no loops seen... just called keyboard_focus->handleKeyUp an it returned true" << LL_ENDL; #if AL_VIEWER_EVENT_RECORDER LLViewerEventRecorder::instance().logKeyEvent(key, mask); #endif return TRUE; } else { - LL_DEBUGS() << "LLviewerWindow::handleKeyUp - in 'traverse up' - no loops seen... just called keyboard_focus->handleKeyUp an it returned FALSE" << LL_ENDL; + // _LL_DEBUGS() << "LLviewerWindow::handleKeyUp - in 'traverse up' - no loops seen... just called keyboard_focus->handleKeyUp an it returned FALSE" << LL_ENDL; } } @@ -2803,7 +2803,7 @@ BOOL LLViewerWindow::handleKey(KEY key, MASK mask) //||(gLoginMenuBarView && gLoginMenuBarView->handleKey(key, mask, TRUE)) ||(gMenuHolder && gMenuHolder->handleKey(key, mask, TRUE))) { - LL_DEBUGS() << "LLviewerWindow::handleKey handle nav keys for nav" << LL_ENDL; + // _LL_DEBUGS() << "LLviewerWindow::handleKey handle nav keys for nav" << LL_ENDL; #if AL_VIEWER_EVENT_RECORDER LLViewerEventRecorder::instance().logKeyEvent(key,mask); #endif @@ -2920,19 +2920,19 @@ BOOL LLViewerWindow::handleKey(KEY key, MASK mask) if (keyboard_focus->handleKey(key, mask, FALSE)) { - LL_DEBUGS() << "LLviewerWindow::handleKey - in 'traverse up' - no loops seen... just called keyboard_focus->handleKey an it returned true" << LL_ENDL; + // _LL_DEBUGS() << "LLviewerWindow::handleKey - in 'traverse up' - no loops seen... just called keyboard_focus->handleKey an it returned true" << LL_ENDL; #if AL_VIEWER_EVENT_RECORDER LLViewerEventRecorder::instance().logKeyEvent(key,mask); #endif return TRUE; } else { - LL_DEBUGS() << "LLviewerWindow::handleKey - in 'traverse up' - no loops seen... just called keyboard_focus->handleKey an it returned FALSE" << LL_ENDL; + // _LL_DEBUGS() << "LLviewerWindow::handleKey - in 'traverse up' - no loops seen... just called keyboard_focus->handleKey an it returned FALSE" << LL_ENDL; } } if( LLToolMgr::getInstance()->getCurrentTool()->handleKey(key, mask) ) { - LL_DEBUGS() << "LLviewerWindow::handleKey toolbar handling?" << LL_ENDL; + // _LL_DEBUGS() << "LLviewerWindow::handleKey toolbar handling?" << LL_ENDL; #if AL_VIEWER_EVENT_RECORDER LLViewerEventRecorder::instance().logKeyEvent(key,mask); #endif @@ -2942,7 +2942,7 @@ BOOL LLViewerWindow::handleKey(KEY key, MASK mask) // Try for a new-format gesture if (LLGestureMgr::instance().triggerGesture(key, mask)) { - LL_DEBUGS() << "LLviewerWindow::handleKey new gesture feature" << LL_ENDL; + // _LL_DEBUGS() << "LLviewerWindow::handleKey new gesture feature" << LL_ENDL; #if AL_VIEWER_EVENT_RECORDER LLViewerEventRecorder::instance().logKeyEvent(key,mask); #endif @@ -2953,7 +2953,7 @@ BOOL LLViewerWindow::handleKey(KEY key, MASK mask) // don't pass it down to the menus. if (gGestureList.trigger(key, mask)) { - LL_DEBUGS() << "LLviewerWindow::handleKey check gesture trigger" << LL_ENDL; + // _LL_DEBUGS() << "LLviewerWindow::handleKey check gesture trigger" << LL_ENDL; #if AL_VIEWER_EVENT_RECORDER LLViewerEventRecorder::instance().logKeyEvent(key,mask); #endif @@ -3562,7 +3562,7 @@ void LLViewerWindow::updateUI() if( !handled ) { - LL_DEBUGS("UserInput") << "hover not handled by mouse captor" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover not handled by mouse captor" << LL_ENDL; } } else diff --git a/indra/newview/llvlcomposition.cpp b/indra/newview/llvlcomposition.cpp index c63c5f6b23b..5908d595c92 100644 --- a/indra/newview/llvlcomposition.cpp +++ b/indra/newview/llvlcomposition.cpp @@ -290,7 +290,7 @@ BOOL LLVLComposition::generateTexture(const F32 x, const F32 y, { mDetailTextures[i]->destroyRawImage() ; } - LL_DEBUGS("Terrain") << "cached raw data for terrain detail texture is not ready yet: " << mDetailTextures[i]->getID() << " Discard: " << ddiscard << LL_ENDL; + // _LL_DEBUGS("Terrain") << "cached raw data for terrain detail texture is not ready yet: " << mDetailTextures[i]->getID() << " Discard: " << ddiscard << LL_ENDL; return FALSE; } diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index 38672636b0d..d9436db490a 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -696,7 +696,7 @@ LLVOAvatar::LLVOAvatar(const LLUUID& id, mExpiryTime(0.0f), mCurrentAction(0) { - LL_DEBUGS("AvatarRender") << "LLVOAvatar Constructor (0x" << this << ") id:" << mID << LL_ENDL; + // _LL_DEBUGS("AvatarRender") << "LLVOAvatar Constructor (0x" << this << ") id:" << mID << LL_ENDL; //VTResume(); // VTune setHoverOffset(LLVector3(0.0, 0.0, 0.0)); @@ -705,7 +705,7 @@ LLVOAvatar::LLVOAvatar(const LLUUID& id, const BOOL needsSendToSim = false; // currently, this HUD effect doesn't need to pack and unpack data to do its job mVoiceVisualizer = ( LLVoiceVisualizer *)LLHUDManager::getInstance()->createViewerEffect( LLHUDObject::LL_HUD_EFFECT_VOICE_VISUALIZER, needsSendToSim ); - LL_DEBUGS("Avatar","Message") << "LLVOAvatar Constructor (0x" << this << ") id:" << mID << LL_ENDL; + // _LL_DEBUGS("Avatar","Message") << "LLVOAvatar Constructor (0x" << this << ") id:" << mID << LL_ENDL; mPelvisp = NULL; mDirtyMesh = 2; // Dirty geometry, need to regenerate. @@ -814,7 +814,7 @@ LLVOAvatar::~LLVOAvatar() logPendingPhases(); - LL_DEBUGS("Avatar") << "LLVOAvatar Destructor (0x" << this << ") id:" << mID << LL_ENDL; + // _LL_DEBUGS("Avatar") << "LLVOAvatar Destructor (0x" << this << ") id:" << mID << LL_ENDL; std::for_each(mAttachmentPoints.begin(), mAttachmentPoints.end(), DeletePairedPointer()); mAttachmentPoints.clear(); @@ -826,7 +826,7 @@ LLVOAvatar::~LLVOAvatar() getPhases().clearPhases(); - LL_DEBUGS() << "LLVOAvatar Destructor end" << LL_ENDL; + // _LL_DEBUGS() << "LLVOAvatar Destructor end" << LL_ENDL; } void LLVOAvatar::markDead() @@ -2028,7 +2028,7 @@ void LLVOAvatar::resetVisualParams() //----------------------------------------------------------------------------- void LLVOAvatar::resetSkeleton(bool reset_animations) { - LL_DEBUGS("Avatar") << avString() << " reset starts" << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << " reset starts" << LL_ENDL; if (!isControlAvatar() && !mLastProcessedAppearance) { LL_WARNS() << "Can't reset avatar; no appearance message has been received yet." << LL_ENDL; @@ -2120,7 +2120,7 @@ void LLVOAvatar::resetSkeleton(bool reset_animations) } } - LL_DEBUGS("Avatar") << avString() << " reset ends" << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << " reset ends" << LL_ENDL; } //----------------------------------------------------------------------------- @@ -2407,7 +2407,7 @@ LLViewerFetchedTexture *LLVOAvatar::getBakedTextureImage(const U8 te, const LLUU LL_WARNS() << "unable to determine URL for te " << te << " uuid " << uuid << LL_ENDL; return NULL; } - LL_DEBUGS("Avatar") << avString() << "get server-bake image from URL " << url << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << "get server-bake image from URL " << url << LL_ENDL; result = LLViewerTextureManager::getFetchedTextureFromUrl( url, FTT_SERVER_BAKE, TRUE, LLGLTexture::BOOST_NONE, LLViewerTexture::LOD_TEXTURE, 0, 0, uuid); if (result->isMissingAsset()) @@ -4591,49 +4591,49 @@ void LLVOAvatar::debugBodySize() const // some of the joints have not been cached LLVector3 skull = mSkullp->getPosition(); - LL_DEBUGS("Avatar") << "skull pos " << skull << LL_ENDL; + // _LL_DEBUGS("Avatar") << "skull pos " << skull << LL_ENDL; //LLVector3 skull_scale = mSkullp->getScale(); LLVector3 neck = mNeckp->getPosition(); LLVector3 neck_scale = mNeckp->getScale(); - LL_DEBUGS("Avatar") << "neck pos " << neck << " neck_scale " << neck_scale << LL_ENDL; + // _LL_DEBUGS("Avatar") << "neck pos " << neck << " neck_scale " << neck_scale << LL_ENDL; LLVector3 chest = mChestp->getPosition(); LLVector3 chest_scale = mChestp->getScale(); - LL_DEBUGS("Avatar") << "chest pos " << chest << " chest_scale " << chest_scale << LL_ENDL; + // _LL_DEBUGS("Avatar") << "chest pos " << chest << " chest_scale " << chest_scale << LL_ENDL; // the rest of the joints have been cached LLVector3 head = mHeadp->getPosition(); LLVector3 head_scale = mHeadp->getScale(); - LL_DEBUGS("Avatar") << "head pos " << head << " head_scale " << head_scale << LL_ENDL; + // _LL_DEBUGS("Avatar") << "head pos " << head << " head_scale " << head_scale << LL_ENDL; LLVector3 torso = mTorsop->getPosition(); LLVector3 torso_scale = mTorsop->getScale(); - LL_DEBUGS("Avatar") << "torso pos " << torso << " torso_scale " << torso_scale << LL_ENDL; + // _LL_DEBUGS("Avatar") << "torso pos " << torso << " torso_scale " << torso_scale << LL_ENDL; LLVector3 hip = mHipLeftp->getPosition(); LLVector3 hip_scale = mHipLeftp->getScale(); - LL_DEBUGS("Avatar") << "hip pos " << hip << " hip_scale " << hip_scale << LL_ENDL; + // _LL_DEBUGS("Avatar") << "hip pos " << hip << " hip_scale " << hip_scale << LL_ENDL; LLVector3 knee = mKneeLeftp->getPosition(); LLVector3 knee_scale = mKneeLeftp->getScale(); - LL_DEBUGS("Avatar") << "knee pos " << knee << " knee_scale " << knee_scale << LL_ENDL; + // _LL_DEBUGS("Avatar") << "knee pos " << knee << " knee_scale " << knee_scale << LL_ENDL; LLVector3 ankle = mAnkleLeftp->getPosition(); LLVector3 ankle_scale = mAnkleLeftp->getScale(); - LL_DEBUGS("Avatar") << "ankle pos " << ankle << " ankle_scale " << ankle_scale << LL_ENDL; + // _LL_DEBUGS("Avatar") << "ankle pos " << ankle << " ankle_scale " << ankle_scale << LL_ENDL; LLVector3 foot = mFootLeftp->getPosition(); - LL_DEBUGS("Avatar") << "foot pos " << foot << LL_ENDL; + // _LL_DEBUGS("Avatar") << "foot pos " << foot << LL_ENDL; F32 new_offset = (const_cast<LLVOAvatar*>(this))->getVisualParamWeight(AVATAR_HOVER); - LL_DEBUGS("Avatar") << "new_offset " << new_offset << LL_ENDL; + // _LL_DEBUGS("Avatar") << "new_offset " << new_offset << LL_ENDL; F32 new_pelvis_to_foot = hip.mV[VZ] * pelvis_scale.mV[VZ] - knee.mV[VZ] * hip_scale.mV[VZ] - ankle.mV[VZ] * knee_scale.mV[VZ] - foot.mV[VZ] * ankle_scale.mV[VZ]; - LL_DEBUGS("Avatar") << "new_pelvis_to_foot " << new_pelvis_to_foot << LL_ENDL; + // _LL_DEBUGS("Avatar") << "new_pelvis_to_foot " << new_pelvis_to_foot << LL_ENDL; LLVector3 new_body_size; new_body_size.mV[VZ] = new_pelvis_to_foot + @@ -4649,7 +4649,7 @@ void LLVOAvatar::debugBodySize() const new_body_size.mV[VX] = DEFAULT_AGENT_DEPTH; new_body_size.mV[VY] = DEFAULT_AGENT_WIDTH; - LL_DEBUGS("Avatar") << "new_body_size " << new_body_size << LL_ENDL; + // _LL_DEBUGS("Avatar") << "new_body_size " << new_body_size << LL_ENDL; } //------------------------------------------------------------------------ @@ -4704,7 +4704,7 @@ void LLVOAvatar::updateVisibility() LLNameValue* firstname = getNVPair("FirstName"); if (firstname) { - LL_DEBUGS("Avatar") << avString() << " updating visibility" << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << " updating visibility" << LL_ENDL; } else { @@ -4793,7 +4793,7 @@ void LLVOAvatar::updateVisibility() if ( visible != mVisible ) { - LL_DEBUGS("AvatarRender") << "visible was " << mVisible << " now " << visible << LL_ENDL; + // _LL_DEBUGS("AvatarRender") << "visible was " << mVisible << " now " << visible << LL_ENDL; } mVisible = visible; } @@ -4908,7 +4908,7 @@ U32 LLVOAvatar::renderSkinned() LLNameValue* firstname = getNVPair("FirstName"); if (firstname) { - LL_DEBUGS("Avatar") << avString() << " in render" << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << " in render" << LL_ENDL; } else { @@ -5370,7 +5370,7 @@ void LLVOAvatar::releaseOldTextures() S32Bytes new_total_mem = totalTextureMemForUUIDS(new_texture_ids); //S32 old_total_mem = totalTextureMemForUUIDS(mTextureIDs); - //LL_DEBUGS("Avatar") << getFullname() << " old_total_mem: " << old_total_mem << " new_total_mem (L/B): " << new_total_mem << " (" << new_local_mem <<", " << new_baked_mem << ")" << LL_ENDL; + //// _LL_DEBUGS("Avatar") << getFullname() << " old_total_mem: " << old_total_mem << " new_total_mem (L/B): " << new_total_mem << " (" << new_local_mem <<", " << new_baked_mem << ")" << LL_ENDL; if (!isSelf() && new_total_mem > new_baked_mem) { LL_WARNS() << "extra local textures stored for non-self av" << LL_ENDL; @@ -5979,13 +5979,13 @@ LLUUID LLVOAvatar::remapMotionID(const LLUUID& id) //----------------------------------------------------------------------------- BOOL LLVOAvatar::startMotion(const LLUUID& id, F32 time_offset) { - LL_DEBUGS("Motion") << "motion requested " << id.asString() << " " << gAnimLibrary.animationName(id) << LL_ENDL; + // _LL_DEBUGS("Motion") << "motion requested " << id.asString() << " " << gAnimLibrary.animationName(id) << LL_ENDL; LLUUID remap_id = remapMotionID(id); if (remap_id != id) { - LL_DEBUGS("Motion") << "motion resultant " << remap_id.asString() << " " << gAnimLibrary.animationName(remap_id) << LL_ENDL; + // _LL_DEBUGS("Motion") << "motion resultant " << remap_id.asString() << " " << gAnimLibrary.animationName(remap_id) << LL_ENDL; } if (isSelf() && remap_id == ANIM_AGENT_AWAY) @@ -6001,13 +6001,13 @@ BOOL LLVOAvatar::startMotion(const LLUUID& id, F32 time_offset) //----------------------------------------------------------------------------- BOOL LLVOAvatar::stopMotion(const LLUUID& id, BOOL stop_immediate) { - LL_DEBUGS("Motion") << "Motion requested " << id.asString() << " " << gAnimLibrary.animationName(id) << LL_ENDL; + // _LL_DEBUGS("Motion") << "Motion requested " << id.asString() << " " << gAnimLibrary.animationName(id) << LL_ENDL; LLUUID remap_id = remapMotionID(id); if (remap_id != id) { - LL_DEBUGS("Motion") << "motion resultant " << remap_id.asString() << " " << gAnimLibrary.animationName(remap_id) << LL_ENDL; + // _LL_DEBUGS("Motion") << "motion resultant " << remap_id.asString() << " " << gAnimLibrary.animationName(remap_id) << LL_ENDL; } if (isSelf()) @@ -6192,7 +6192,7 @@ void LLVOAvatar::rebuildAttachmentOverrides() #ifdef ENABLE_DEBUG LLScopedContextString str("rebuildAttachmentOverrides " + getFullname()); - LL_DEBUGS("AnimatedObjects") << "rebuilding" << LL_ENDL; + // _LL_DEBUGS("AnimatedObjects") << "rebuilding" << LL_ENDL; dumpStack("AnimatedObjectsStack"); #endif @@ -6204,8 +6204,8 @@ void LLVOAvatar::rebuildAttachmentOverrides() LLVOVolume *volp = static_cast<LLControlAvatar*>(this)->mRootVolp; if (volp) { - LL_DEBUGS("Avatar") << volp->getID() << " adding attachment overrides for root vol, prim count " - << (S32) (1+volp->numChildren()) << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << volp->getID() << " adding attachment overrides for root vol, prim count " + << (S32) (1+volp->numChildren()) << LL_ENDL;*/ addAttachmentOverridesForObject(volp); } } @@ -6244,7 +6244,7 @@ void LLVOAvatar::updateAttachmentOverrides() #ifdef ENABLE_DEBUG LLScopedContextString str("updateAttachmentOverrides " + getFullname()); - LL_DEBUGS("AnimatedObjects") << "updating" << LL_ENDL; + // _LL_DEBUGS("AnimatedObjects") << "updating" << LL_ENDL; dumpStack("AnimatedObjectsStack"); #endif @@ -6257,8 +6257,8 @@ void LLVOAvatar::updateAttachmentOverrides() LLVOVolume *volp = control_av->mRootVolp; if (volp) { - LL_DEBUGS("Avatar") << volp->getID() << " adding attachment overrides for root vol, prim count " - << (S32) (1+volp->numChildren()) << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << volp->getID() << " adding attachment overrides for root vol, prim count " + << (S32) (1+volp->numChildren()) << LL_ENDL;*/ addAttachmentOverridesForObject(volp, &meshes_seen); } } @@ -6368,7 +6368,7 @@ void LLVOAvatar::addAttachmentOverridesForObject(LLViewerObject *vo, std::set<LL #ifdef ENABLE_DEBUG LLScopedContextString str("addAttachmentOverridesForObject " + getFullname()); - LL_DEBUGS("AnimatedObjects") << "adding" << LL_ENDL; + // _LL_DEBUGS("AnimatedObjects") << "adding" << LL_ENDL; dumpStack("AnimatedObjectsStack"); #endif @@ -6393,11 +6393,11 @@ void LLVOAvatar::addAttachmentOverridesForObject(LLViewerObject *vo, std::set<LL } LLViewerObject *root_object = (LLViewerObject*)vobj->getRoot(); - LL_DEBUGS("AnimatedObjects") << "trying to add attachment overrides for root object " << root_object->getID() << " prim is " << vobj << LL_ENDL; + // _LL_DEBUGS("AnimatedObjects") << "trying to add attachment overrides for root object " << root_object->getID() << " prim is " << vobj << LL_ENDL; if (vobj->isMesh() && ((vobj->getVolume() && !vobj->getVolume()->isMeshAssetLoaded()) || !gMeshRepo.meshRezEnabled())) { - LL_DEBUGS("AnimatedObjects") << "failed to add attachment overrides for root object " << root_object->getID() << " mesh asset not loaded" << LL_ENDL; + // _LL_DEBUGS("AnimatedObjects") << "failed to add attachment overrides for root object " << root_object->getID() << " mesh asset not loaded" << LL_ENDL; return; } const LLMeshSkinInfo* pSkinData = nullptr; @@ -6422,15 +6422,15 @@ void LLVOAvatar::addAttachmentOverridesForObject(LLViewerObject *vo, std::set<LL bool mesh_overrides_loaded = (mActiveOverrideMeshes.find(mesh_id) != mActiveOverrideMeshes.end()); if (mesh_overrides_loaded) { - LL_DEBUGS("AnimatedObjects") << "skipping add attachment overrides for " << mesh_id + /*// _LL_DEBUGS("AnimatedObjects") << "skipping add attachment overrides for " << mesh_id << " to root object " << root_object->getID() << ", already loaded" - << LL_ENDL; + << LL_ENDL;*/ } else { - LL_DEBUGS("AnimatedObjects") << "adding attachment overrides for " << mesh_id - << " to root object " << root_object->getID() << LL_ENDL; + /*// _LL_DEBUGS("AnimatedObjects") << "adding attachment overrides for " << mesh_id + << " to root object " << root_object->getID() << LL_ENDL;*/ } bool fullRig = (jointCnt>=JOINT_COUNT_REQUIRED_FOR_FULLRIG) ? true : false; if ( fullRig && !mesh_overrides_loaded ) @@ -6484,7 +6484,7 @@ void LLVOAvatar::addAttachmentOverridesForObject(LLViewerObject *vo, std::set<LL } else { - LL_DEBUGS("AnimatedObjects") << "failed to add attachment overrides for root object " << root_object->getID() << " not mesh or no pSkinData" << LL_ENDL; + // _LL_DEBUGS("AnimatedObjects") << "failed to add attachment overrides for root object " << root_object->getID() << " not mesh or no pSkinData" << LL_ENDL; } //Rebuild body data if we altered joints/pelvis @@ -6548,7 +6548,7 @@ void LLVOAvatar::showAttachmentOverrides(bool verbose) const } else { - LL_DEBUGS("Avatar") << getFullname() << " no attachment positions defined for any joints" << "\n" << LL_ENDL; + // _LL_DEBUGS("Avatar") << getFullname() << " no attachment positions defined for any joints" << "\n" << LL_ENDL; } if (scale_names.size()) { @@ -6602,8 +6602,8 @@ void LLVOAvatar::showAttachmentOverrides(bool verbose) const if (count) { - LL_DEBUGS("Avatar") << avString() << " end of pos, scale overrides" << LL_ENDL; - LL_DEBUGS("Avatar") << "=================================" << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << " end of pos, scale overrides" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "=================================" << LL_ENDL; } } @@ -7149,7 +7149,7 @@ void LLVOAvatar::addChild(LLViewerObject *childp) { const LLUUID& item_id = childp->getAttachmentItemID(); LLViewerInventoryItem *item = gInventory.getItem(item_id); - LL_DEBUGS("Avatar") << "ATT attachment child added " << (item ? item->getName() : "UNKNOWN") << " id " << item_id << LL_ENDL; + // _LL_DEBUGS("Avatar") << "ATT attachment child added " << (item ? item->getName() : "UNKNOWN") << " id " << item_id << LL_ENDL; } @@ -7232,8 +7232,8 @@ const LLViewerJointAttachment *LLVOAvatar::attachObject(LLViewerObject *viewer_o { const LLUUID& item_id = viewer_object->getAttachmentItemID(); LLViewerInventoryItem *item = gInventory.getItem(item_id); - LL_DEBUGS("Avatar") << "ATT attaching object " - << (item ? item->getName() : "UNKNOWN") << " id " << item_id << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "ATT attaching object " + << (item ? item->getName() : "UNKNOWN") << " id " << item_id << LL_ENDL; */ } LLViewerJointAttachment* attachment = getTargetAttachmentPoint(viewer_object); @@ -7364,8 +7364,8 @@ void LLVOAvatar::lazyAttach() { const LLUUID& item_id = cur_attachment->getAttachmentItemID(); LLViewerInventoryItem *item = gInventory.getItem(item_id); - LL_DEBUGS("Avatar") << "ATT attaching object " - << (item ? item->getName() : "UNKNOWN") << " id " << item_id << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << "ATT attaching object " + << (item ? item->getName() : "UNKNOWN") << " id " << item_id << LL_ENDL;*/ } if (!attachObject(cur_attachment)) { // Drop it @@ -7484,7 +7484,7 @@ BOOL LLVOAvatar::detachObject(LLViewerObject *viewer_object) updateMeshVisibility(); - LL_DEBUGS() << "Detaching object " << viewer_object->mID << " from " << attachment->getName() << LL_ENDL; + // _LL_DEBUGS() << "Detaching object " << viewer_object->mID << " from " << attachment->getName() << LL_ENDL; return TRUE; } } @@ -7864,7 +7864,7 @@ void LLVOAvatar::updateRezzedStatusTimers(S32 rez_status) if (rez_status != mLastRezzedStatus) { - LL_DEBUGS("Avatar") << avString() << "rez state change: " << mLastRezzedStatus << " -> " << rez_status << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << "rez state change: " << mLastRezzedStatus << " -> " << rez_status << LL_ENDL; if (mLastRezzedStatus == -1 && rez_status != -1) { @@ -7915,17 +7915,17 @@ void LLVOAvatar::startPhase(const std::string& phase_name) F32 elapsed = 0.0; bool completed = false; bool found = getPhases().getPhaseValues(phase_name, elapsed, completed); - //LL_DEBUGS("Avatar") << avString() << " phase state " << phase_name + //// _LL_DEBUGS("Avatar") << avString() << " phase state " << phase_name // << " found " << found << " elapsed " << elapsed << " completed " << completed << LL_ENDL; if (found) { if (!completed) { - LL_DEBUGS("Avatar") << avString() << "no-op, start when started already for " << phase_name << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << "no-op, start when started already for " << phase_name << LL_ENDL; return; } } - LL_DEBUGS("Avatar") << "started phase " << phase_name << LL_ENDL; + // _LL_DEBUGS("Avatar") << "started phase " << phase_name << LL_ENDL; getPhases().startPhase(phase_name); } @@ -7940,13 +7940,13 @@ void LLVOAvatar::stopPhase(const std::string& phase_name, bool err_check) getPhases().stopPhase(phase_name); completed = true; logMetricsTimerRecord(phase_name, elapsed, completed); - LL_DEBUGS("Avatar") << avString() << "stopped phase " << phase_name << " elapsed " << elapsed << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << "stopped phase " << phase_name << " elapsed " << elapsed << LL_ENDL; } else { if (err_check) { - LL_DEBUGS("Avatar") << "no-op, stop when stopped already for " << phase_name << LL_ENDL; + // _LL_DEBUGS("Avatar") << "no-op, stop when stopped already for " << phase_name << LL_ENDL; } } } @@ -7954,7 +7954,7 @@ void LLVOAvatar::stopPhase(const std::string& phase_name, bool err_check) { if (err_check) { - LL_DEBUGS("Avatar") << "no-op, stop when not started for " << phase_name << LL_ENDL; + // _LL_DEBUGS("Avatar") << "no-op, stop when not started for " << phase_name << LL_ENDL; } } } @@ -8066,13 +8066,13 @@ void LLVOAvatar::updateRuthTimer(bool loading) const F32 LOADING_TIMEOUT__SECONDS = 120.f; if (mRuthTimer.getElapsedTimeF32() > LOADING_TIMEOUT__SECONDS) { - LL_DEBUGS("Avatar") << avString() + /*// _LL_DEBUGS("Avatar") << avString() << "Ruth Timer timeout: Missing texture data for '" << getFullname() << "' " << "( Params loaded : " << !visualParamWeightsAreDefault() << " ) " << "( Lower : " << isTextureDefined(TEX_LOWER_BAKED) << " ) " << "( Upper : " << isTextureDefined(TEX_UPPER_BAKED) << " ) " << "( Head : " << isTextureDefined(TEX_HEAD_BAKED) << " )." - << LL_ENDL; + << LL_ENDL;*/ LLAvatarPropertiesProcessor::getInstance()->sendAvatarTexturesRequest(getID()); mRuthTimer.reset(); @@ -8690,7 +8690,7 @@ void LLVOAvatar::releaseComponentTextures() void LLVOAvatar::dumpAvatarTEs( const std::string& context ) const { - LL_DEBUGS("Avatar") << avString() << (isSelf() ? "Self: " : "Other: ") << context << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << (isSelf() ? "Self: " : "Other: ") << context << LL_ENDL; for (LLAvatarAppearanceDictionary::Textures::const_iterator iter = LLAvatarAppearanceDictionary::getInstance()->getTextures().begin(); iter != LLAvatarAppearanceDictionary::getInstance()->getTextures().end(); ++iter) @@ -8700,23 +8700,23 @@ void LLVOAvatar::dumpAvatarTEs( const std::string& context ) const const LLViewerTexture* te_image = getImage(iter->first,0); if( !te_image ) { - LL_DEBUGS("Avatar") << avString() << " " << texture_dict->mName << ": null ptr" << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << " " << texture_dict->mName << ": null ptr" << LL_ENDL; } else if( te_image->getID().isNull() ) { - LL_DEBUGS("Avatar") << avString() << " " << texture_dict->mName << ": null UUID" << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << " " << texture_dict->mName << ": null UUID" << LL_ENDL; } else if( te_image->getID() == IMG_DEFAULT ) { - LL_DEBUGS("Avatar") << avString() << " " << texture_dict->mName << ": IMG_DEFAULT" << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << " " << texture_dict->mName << ": IMG_DEFAULT" << LL_ENDL; } else if( te_image->getID() == IMG_DEFAULT_AVATAR ) { - LL_DEBUGS("Avatar") << avString() << " " << texture_dict->mName << ": IMG_DEFAULT_AVATAR" << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << " " << texture_dict->mName << ": IMG_DEFAULT_AVATAR" << LL_ENDL; } else { - LL_DEBUGS("Avatar") << avString() << " " << texture_dict->mName << ": " << te_image->getID() << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << " " << texture_dict->mName << ": " << te_image->getID() << LL_ENDL; } } } @@ -8801,7 +8801,7 @@ LLBBox LLVOAvatar::getHUDBBox() const //----------------------------------------------------------------------------- void LLVOAvatar::onFirstTEMessageReceived() { - LL_DEBUGS("Avatar") << avString() << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << LL_ENDL; if( !mFirstTEMessageReceived ) { mFirstTEMessageReceived = TRUE; @@ -8830,7 +8830,7 @@ void LLVOAvatar::onFirstTEMessageReceived() image->setLoadedCallback( onBakedTextureMasksLoaded, MORPH_MASK_REQUESTED_DISCARD, TRUE, TRUE, new LLTextureMaskData( mID ), src_callback_list, paused); } - LL_DEBUGS("Avatar") << avString() << "layer_baked, setting onInitialBakedTextureLoaded as callback" << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << "layer_baked, setting onInitialBakedTextureLoaded as callback" << LL_ENDL; image->setLoadedCallback( onInitialBakedTextureLoaded, MAX_DISCARD_LEVEL, FALSE, FALSE, new LLUUID( mID ), src_callback_list, paused ); if (image->getDiscardLevel() < 0 && !paused) @@ -8927,7 +8927,7 @@ void LLVOAvatar::dumpAppearanceMsgParams( const std::string& dump_prefix, } else { - LL_DEBUGS("Avatar") << "dumping appearance message to " << fullpath << LL_ENDL; + // _LL_DEBUGS("Avatar") << "dumping appearance message to " << fullpath << LL_ENDL; } apr_file_printf(file, "<header>\n"); @@ -8971,7 +8971,7 @@ void LLVOAvatar::parseAppearanceMessage(LLMessageSystem* mesgsys, LLAppearanceMe U8 av_u8; mesgsys->getU8Fast(_PREHASH_AppearanceData, _PREHASH_AppearanceVersion, av_u8, 0); contents.mAppearanceVersion = av_u8; - //LL_DEBUGS("Avatar") << "appversion set by AppearanceData field: " << contents.mAppearanceVersion << LL_ENDL; + //// _LL_DEBUGS("Avatar") << "appversion set by AppearanceData field: " << contents.mAppearanceVersion << LL_ENDL; mesgsys->getS32Fast(_PREHASH_AppearanceData, _PREHASH_CofVersion, contents.mCOFVersion, 0); // For future use: //mesgsys->getU32Fast(_PREHASH_AppearanceData, _PREHASH_Flags, appearance_flags, 0); @@ -8983,7 +8983,7 @@ void LLVOAvatar::parseAppearanceMessage(LLMessageSystem* mesgsys, LLAppearanceMe { LLVector3 hover; mesgsys->getVector3Fast(_PREHASH_AppearanceHover, _PREHASH_HoverHeight, hover); - //LL_DEBUGS("Avatar") << avString() << " hover received " << hover.mV[ VX ] << "," << hover.mV[ VY ] << "," << hover.mV[ VZ ] << LL_ENDL; + //// _LL_DEBUGS("Avatar") << avString() << " hover received " << hover.mV[ VX ] << "," << hover.mV[ VY ] << "," << hover.mV[ VZ ] << LL_ENDL; contents.mHoverOffset = hover; contents.mHoverOffsetWasSet = true; } @@ -8993,7 +8993,7 @@ void LLVOAvatar::parseAppearanceMessage(LLMessageSystem* mesgsys, LLAppearanceMe bool drop_visual_params_debug = gSavedSettings.getBOOL("BlockSomeAvatarAppearanceVisualParams") && (ll_rand(2) == 0); // pretend that ~12% of AvatarAppearance messages arrived without a VisualParam block, for testing if( num_blocks > 1 && !drop_visual_params_debug) { - //LL_DEBUGS("Avatar") << avString() << " handle visual params, num_blocks " << num_blocks << LL_ENDL; + //// _LL_DEBUGS("Avatar") << avString() << " handle visual params, num_blocks " << num_blocks << LL_ENDL; LLVisualParam* param = getFirstVisualParam(); llassert(param); // if this ever fires, we should do the same as when num_blocks<=1 @@ -9031,7 +9031,7 @@ void LLVOAvatar::parseAppearanceMessage(LLMessageSystem* mesgsys, LLAppearanceMe getVisualParamCountInGroup(VISUAL_PARAM_GROUP_TRANSMIT_NOT_TWEAKABLE); // don't worry about VISUAL_PARAM_GROUP_TWEAKABLE_NO_TRANSMIT if (num_blocks != expected_tweakable_count) { - LL_DEBUGS("Avatar") << "Number of params in AvatarAppearance msg (" << num_blocks << ") does not match number of tweakable params in avatar xml file (" << expected_tweakable_count << "). Processing what we can. object: " << getID() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "Number of params in AvatarAppearance msg (" << num_blocks << ") does not match number of tweakable params in avatar xml file (" << expected_tweakable_count << "). Processing what we can. object: " << getID() << LL_ENDL; } } else @@ -9042,7 +9042,7 @@ void LLVOAvatar::parseAppearanceMessage(LLMessageSystem* mesgsys, LLAppearanceMe } else { - LL_DEBUGS("Avatar") << "AvatarAppearance msg received without any parameters, object: " << getID() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "AvatarAppearance msg received without any parameters, object: " << getID() << LL_ENDL; } } @@ -9054,7 +9054,7 @@ void LLVOAvatar::parseAppearanceMessage(LLMessageSystem* mesgsys, LLAppearanceMe { S32 index = it - contents.mParams.begin(); contents.mParamAppearanceVersion = ll_round(contents.mParamWeights[index]); - //LL_DEBUGS("Avatar") << "appversion req by appearance_version param: " << contents.mParamAppearanceVersion << LL_ENDL; + //// _LL_DEBUGS("Avatar") << "appversion req by appearance_version param: " << contents.mParamAppearanceVersion << LL_ENDL; } } } @@ -9083,7 +9083,7 @@ bool resolve_appearance_version(const LLAppearanceMessageContents& contents, S32 { appearance_version = 1; } - //LL_DEBUGS("Avatar") << "appearance version info - field " << contents.mAppearanceVersion + //// _LL_DEBUGS("Avatar") << "appearance version info - field " << contents.mAppearanceVersion // << " param: " << contents.mParamAppearanceVersion // << " final: " << appearance_version << LL_ENDL; return true; @@ -9094,7 +9094,7 @@ bool resolve_appearance_version(const LLAppearanceMessageContents& contents, S32 //----------------------------------------------------------------------------- void LLVOAvatar::processAvatarAppearance( LLMessageSystem* mesgsys ) { - LL_DEBUGS("Avatar") << "starts" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "starts" << LL_ENDL; bool enable_verbose_dumps = gSavedSettings.getBOOL("DebugAvatarAppearanceMessage"); std::string dump_prefix = getFullname() + "_" + (isSelf()?"s":"o") + "_"; @@ -9136,9 +9136,9 @@ void LLVOAvatar::processAvatarAppearance( LLMessageSystem* mesgsys ) S32 aisCOFVersion(LLAppearanceMgr::instance().getCOFVersion()); - LL_DEBUGS("Avatar") << "handling self appearance message #" << thisAppearanceVersion << + /*// _LL_DEBUGS("Avatar") << "handling self appearance message #" << thisAppearanceVersion << " (highest seen #" << mLastUpdateReceivedCOFVersion << - ") (AISCOF=#" << aisCOFVersion << ")" << LL_ENDL; + ") (AISCOF=#" << aisCOFVersion << ")" << LL_ENDL;*/ if (mLastUpdateReceivedCOFVersion >= thisAppearanceVersion) { @@ -9149,7 +9149,7 @@ void LLVOAvatar::processAvatarAppearance( LLMessageSystem* mesgsys ) } if (isEditingAppearance()) { - LL_DEBUGS("Avatar") << "Editing appearance. Dropping appearance update." << LL_ENDL; + // _LL_DEBUGS("Avatar") << "Editing appearance. Dropping appearance update." << LL_ENDL; return; } @@ -9163,7 +9163,7 @@ void LLVOAvatar::processAvatarAppearance( LLMessageSystem* mesgsys ) // appearance version, which may cause us to look for baked // textures in the wrong place and flag them as missing // assets. - LL_DEBUGS("Avatar") << "ignoring appearance message due to lack of params" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "ignoring appearance message due to lack of params" << LL_ENDL; return; } @@ -9204,14 +9204,14 @@ void LLVOAvatar::applyParsedAppearanceMessage(LLAppearanceMessageContents& conte && mBakedTextureDatas[baked_index].mLastTextureID != IMG_DEFAULT && baked_index != BAKED_SKIRT && baked_index != BAKED_LEFT_ARM && baked_index != BAKED_LEFT_LEG && baked_index != BAKED_AUX1 && baked_index != BAKED_AUX2 && baked_index != BAKED_AUX3) { - LL_DEBUGS("Avatar") << avString() << " baked_index " << (S32) baked_index << " using mLastTextureID " << mBakedTextureDatas[baked_index].mLastTextureID << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << " baked_index " << (S32) baked_index << " using mLastTextureID " << mBakedTextureDatas[baked_index].mLastTextureID << LL_ENDL; setTEImage(mBakedTextureDatas[baked_index].mTextureIndex, LLViewerTextureManager::getFetchedTexture(mBakedTextureDatas[baked_index].mLastTextureID, FTT_DEFAULT, TRUE, LLGLTexture::BOOST_NONE, LLViewerTexture::LOD_TEXTURE)); } else { - LL_DEBUGS("Avatar") << avString() << " baked_index " << (S32) baked_index << " using texture id " - << getTE(mBakedTextureDatas[baked_index].mTextureIndex)->getID() << LL_ENDL; + /*// _LL_DEBUGS("Avatar") << avString() << " baked_index " << (S32) baked_index << " using texture id " + << getTE(mBakedTextureDatas[baked_index].mTextureIndex)->getID() << LL_ENDL;*/ } } @@ -9221,7 +9221,7 @@ void LLVOAvatar::applyParsedAppearanceMessage(LLAppearanceMessageContents& conte BOOL is_first_appearance_message = !mFirstAppearanceMessageReceived; mFirstAppearanceMessageReceived = TRUE; - //LL_DEBUGS("Avatar") << avString() << "processAvatarAppearance start " << mID + //// _LL_DEBUGS("Avatar") << avString() << "processAvatarAppearance start " << mID // << " first? " << is_first_appearance_message << " self? " << isSelf() << LL_ENDL; if (is_first_appearance_message ) @@ -9235,7 +9235,7 @@ void LLVOAvatar::applyParsedAppearanceMessage(LLAppearanceMessageContents& conte // Apply visual params if( num_params > 1) { - //LL_DEBUGS("Avatar") << avString() << " handle visual params, num_params " << num_params << LL_ENDL; + //// _LL_DEBUGS("Avatar") << avString() << " handle visual params, num_params " << num_params << LL_ENDL; BOOL params_changed = FALSE; BOOL interp_params = FALSE; S32 params_changed_count = 0; @@ -9252,7 +9252,7 @@ void LLVOAvatar::applyParsedAppearanceMessage(LLAppearanceMessageContents& conte if(is_first_appearance_message || slam_params) { - //LL_DEBUGS("Avatar") << "param slam " << i << " " << newWeight << LL_ENDL; + //// _LL_DEBUGS("Avatar") << "param slam " << i << " " << newWeight << LL_ENDL; param->setWeight(newWeight); } else @@ -9266,10 +9266,10 @@ void LLVOAvatar::applyParsedAppearanceMessage(LLAppearanceMessageContents& conte getVisualParamCountInGroup(VISUAL_PARAM_GROUP_TRANSMIT_NOT_TWEAKABLE); // don't worry about VISUAL_PARAM_GROUP_TWEAKABLE_NO_TRANSMIT if (num_params != expected_tweakable_count) { - LL_DEBUGS("Avatar") << "Number of params in AvatarAppearance msg (" << num_params << ") does not match number of tweakable params in avatar xml file (" << expected_tweakable_count << "). Processing what we can. object: " << getID() << LL_ENDL; + // _LL_DEBUGS("Avatar") << "Number of params in AvatarAppearance msg (" << num_params << ") does not match number of tweakable params in avatar xml file (" << expected_tweakable_count << "). Processing what we can. object: " << getID() << LL_ENDL; } - LL_DEBUGS("Avatar") << "Changed " << params_changed_count << " params" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "Changed " << params_changed_count << " params" << LL_ENDL; if (params_changed) { if (interp_params) @@ -9290,7 +9290,7 @@ void LLVOAvatar::applyParsedAppearanceMessage(LLAppearanceMessageContents& conte else { // AvatarAppearance message arrived without visual params - LL_DEBUGS("Avatar") << avString() << "no visual params" << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << "no visual params" << LL_ENDL; const F32 LOADING_TIMEOUT_SECONDS = 60.f; // this isn't really a problem if we already have a non-default shape @@ -9313,7 +9313,7 @@ void LLVOAvatar::applyParsedAppearanceMessage(LLAppearanceMessageContents& conte // Got an update for some other avatar // Ignore updates for self, because we have a more authoritative value in the preferences. setHoverOffset(contents.mHoverOffset); - LL_DEBUGS("Avatar") << avString() << "setting hover to " << contents.mHoverOffset[2] << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << "setting hover to " << contents.mHoverOffset[2] << LL_ENDL; } if (!contents.mHoverOffsetWasSet && !isSelf()) @@ -9496,7 +9496,7 @@ void LLVOAvatar::onInitialBakedTextureLoaded( BOOL success, LLViewerFetchedTextu if (selfp) { - //LL_DEBUGS("Avatar") << selfp->avString() << "discard_level " << discard_level << " success " << success << " final " << final << LL_ENDL; + //// _LL_DEBUGS("Avatar") << selfp->avString() << "discard_level " << discard_level << " success " << success << " final " << final << LL_ENDL; } if (!success && selfp) @@ -9514,14 +9514,14 @@ void LLVOAvatar::onBakedTextureLoaded(BOOL success, LLViewerFetchedTexture *src_vi, LLImageRaw* src, LLImageRaw* aux_src, S32 discard_level, BOOL final, void* userdata) { - //LL_DEBUGS("Avatar") << "onBakedTextureLoaded: " << src_vi->getID() << LL_ENDL; + //// _LL_DEBUGS("Avatar") << "onBakedTextureLoaded: " << src_vi->getID() << LL_ENDL; LLUUID id = src_vi->getID(); LLUUID *avatar_idp = (LLUUID *)userdata; LLVOAvatar *selfp = (LLVOAvatar *)gObjectList.findObject(*avatar_idp); if (selfp) { - //LL_DEBUGS("Avatar") << selfp->avString() << "discard_level " << discard_level << " success " << success << " final " << final << " id " << src_vi->getID() << LL_ENDL; + //// _LL_DEBUGS("Avatar") << selfp->avString() << "discard_level " << discard_level << " success " << success << " final " << final << " id " << src_vi->getID() << LL_ENDL; } if (selfp && !success) @@ -9549,7 +9549,7 @@ void LLVOAvatar::useBakedTexture( const LLUUID& id ) LLViewerTexture* image_baked = getImage( mBakedTextureDatas[i].mTextureIndex, 0 ); if (id == image_baked->getID()) { - //LL_DEBUGS("Avatar") << avString() << " i " << i << " id " << id << LL_ENDL; + //// _LL_DEBUGS("Avatar") << avString() << " i " << i << " id " << id << LL_ENDL; mBakedTextureDatas[i].mIsLoaded = true; mBakedTextureDatas[i].mLastTextureID = id; mBakedTextureDatas[i].mIsUsed = true; @@ -9628,7 +9628,7 @@ void dump_sequential_xml(const std::string outprefix, const LLSD& content) std::string fullpath = gDirUtilp->getExpandedFilename(LL_PATH_LOGS,outfilename); llofstream ofs(fullpath.c_str(), std::ios_base::out); ofs << LLSDOStreamer<LLSDXMLFormatter>(content, LLSDFormatter::OPTIONS_PRETTY); - LL_DEBUGS("Avatar") << "results saved to: " << fullpath << LL_ENDL; + // _LL_DEBUGS("Avatar") << "results saved to: " << fullpath << LL_ENDL; } void LLVOAvatar::getSortedJointNames(S32 joint_type, std::vector<std::string>& result) const @@ -9970,7 +9970,7 @@ void LLVOAvatar::cullAvatarsByPixelArea() if (inst->mCulled != culled) { inst->mCulled = culled; - LL_DEBUGS() << "avatar " << inst->getID() << (culled ? " start culled" : " start not culled" ) << LL_ENDL; + // _LL_DEBUGS() << "avatar " << inst->getID() << (culled ? " start culled" : " start not culled" ) << LL_ENDL; inst->updateMeshTextures(); } @@ -10119,8 +10119,8 @@ void showRigInfoTabExtents(LLVOAvatar *avatar, LLJointRiggingInfoTab& tab, S32& { count_rigged++; LLJoint *joint = avatar->getJoint(i); - LL_DEBUGS("RigSpam") << "joint " << i << " name " << joint->getName() << " box " - << tab[i].getRiggedExtents()[0] << ", " << tab[i].getRiggedExtents()[1] << LL_ENDL; + /*// _LL_DEBUGS("RigSpam") << "joint " << i << " name " << joint->getName() << " box " + << tab[i].getRiggedExtents()[0] << ", " << tab[i].getRiggedExtents()[1] << LL_ENDL;*/ if ((!tab[i].getRiggedExtents()[0].equals3(zero_vec)) || (!tab[i].getRiggedExtents()[1].equals3(zero_vec))) { @@ -10198,7 +10198,7 @@ void LLVOAvatar::updateRiggingInfo() { LL_RECORD_BLOCK_TIME(FTM_AVATAR_RIGGING_INFO_UPDATE); - LL_DEBUGS("RigSpammish") << getFullname() << " updating rig tab" << LL_ENDL; + // _LL_DEBUGS("RigSpammish") << getFullname() << " updating rig tab" << LL_ENDL; std::vector<LLVOVolume*> volumes; @@ -10240,11 +10240,11 @@ void LLVOAvatar::updateRiggingInfo() //LL_INFOS() << "done update rig count is " << countRigInfoTab(mJointRiggingInfoTab) << LL_ENDL; #if ENABLE_DEBUG - LL_DEBUGS("RigSpammish") << getFullname() << " after update rig tab:" << LL_ENDL; + // _LL_DEBUGS("RigSpammish") << getFullname() << " after update rig tab:" << LL_ENDL; S32 joint_count, box_count; showRigInfoTabExtents(this, mJointRiggingInfoTab, joint_count, box_count); - LL_DEBUGS("RigSpammish") << "uses " << joint_count << " joints " << " nonzero boxes: " << box_count << LL_ENDL; + // _LL_DEBUGS("RigSpammish") << "uses " << joint_count << " joints " << " nonzero boxes: " << box_count << LL_ENDL; #endif } @@ -10355,10 +10355,10 @@ void LLVOAvatar::updateImpostorRendering(U32 newMaxNonImpostorsValue) sUseImpostors = (0 != sMaxNonImpostors); if ( oldflg != sUseImpostors ) { - LL_DEBUGS("AvatarRender") + /*// _LL_DEBUGS("AvatarRender") << "was " << (oldflg ? "use" : "don't use" ) << " impostors (max " << oldmax << "); " << "now " << (sUseImpostors ? "use" : "don't use" ) << " impostors (max " << sMaxNonImpostors << "); " - << LL_ENDL; + << LL_ENDL;*/ } } @@ -10436,7 +10436,7 @@ void LLVOAvatar::idleUpdateDebugInfo() void LLVOAvatar::updateVisualComplexity() { - LL_DEBUGS("AvatarRender") << "avatar " << getID() << " appearance changed" << LL_ENDL; + // _LL_DEBUGS("AvatarRender") << "avatar " << getID() << " appearance changed" << LL_ENDL; // Set the cache time to in the past so it's updated ASAP mVisualComplexityStale = true; } @@ -10505,13 +10505,13 @@ void LLVOAvatar::accountRenderComplexityForObject( }*/ } attachment_total_cost = attachment_volume_cost + attachment_texture_cost + attachment_children_cost; - LL_DEBUGS("ARCdetail") << "Attachment costs " << attached_object->getAttachmentItemID() + /*// _LL_DEBUGS("ARCdetail") << "Attachment costs " << attached_object->getAttachmentItemID() << " total: " << attachment_total_cost << ", volume: " << attachment_volume_cost << ", textures: " << attachment_texture_cost << ", " << volume->numChildren() << " children: " << attachment_children_cost - << LL_ENDL; + << LL_ENDL;*/ // Limit attachment complexity to avoid signed integer flipping of the wearer's ACI cost += (U32)llclamp(attachment_total_cost, MIN_ATTACHMENT_COMPLEXITY, MAX_ATTACHMENT_COMPLEXITY); } @@ -10628,7 +10628,7 @@ void LLVOAvatar::calculateUpdateRenderComplexity() } } } - LL_DEBUGS("ARCdetail") << "Avatar body parts complexity: " << cost << LL_ENDL; + // _LL_DEBUGS("ARCdetail") << "Avatar body parts complexity: " << cost << LL_ENDL; mAttachmentVisibleTriangleCount = 0; mAttachmentEstTriangleCount = 0.f; @@ -10689,7 +10689,7 @@ void LLVOAvatar::calculateUpdateRenderComplexity() && (all_textures.find(image_id) == all_textures.end())) { // attachment texture not previously seen. - LL_DEBUGS("ARCdetail") << "attachment_texture: " << image_id.asString() << LL_ENDL; + // _LL_DEBUGS("ARCdetail") << "attachment_texture: " << image_id.asString() << LL_ENDL; all_textures.insert(image_id); } } @@ -10709,7 +10709,7 @@ void LLVOAvatar::calculateUpdateRenderComplexity() continue; if (all_textures.find(image_id) == all_textures.end()) { - LL_DEBUGS("ARCdetail") << "local_texture: " << texture_dict->mName << ": " << image_id << LL_ENDL; + // _LL_DEBUGS("ARCdetail") << "local_texture: " << texture_dict->mName << ": " << image_id << LL_ENDL; all_textures.insert(image_id); } } @@ -10717,17 +10717,17 @@ void LLVOAvatar::calculateUpdateRenderComplexity() if ( cost != mVisualComplexity ) { - LL_DEBUGS("AvatarRender") << "Avatar "<< getID() + /*// _LL_DEBUGS("AvatarRender") << "Avatar "<< getID() << " complexity updated was " << mVisualComplexity << " now " << cost << " reported " << mReportedVisualComplexity - << LL_ENDL; + << LL_ENDL;*/ } else { - LL_DEBUGS("AvatarRender") << "Avatar "<< getID() + /*// _LL_DEBUGS("AvatarRender") << "Avatar "<< getID() << " complexity updated no change " << mVisualComplexity << " reported " << mReportedVisualComplexity - << LL_ENDL; + << LL_ENDL;*/ } mVisualComplexity = cost; mVisualComplexityStale = false; @@ -10818,7 +10818,7 @@ void LLVOAvatar::calcMutedAVColor() if (mMutedAVColor != new_color) { - LL_DEBUGS("AvatarRender") << "avatar "<< av_id << change_msg << std::setprecision(3) << new_color << LL_ENDL; + // _LL_DEBUGS("AvatarRender") << "avatar "<< av_id << change_msg << std::setprecision(3) << new_color << LL_ENDL; mMutedAVColor = new_color; } } diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp index cb8bb62db4e..597151f6218 100644 --- a/indra/newview/llvoavatarself.cpp +++ b/indra/newview/llvoavatarself.cpp @@ -189,7 +189,7 @@ LLVOAvatarSelf::LLVOAvatarSelf(const LLUUID& id, { mMotionController.mIsSelf = TRUE; - LL_DEBUGS() << "Marking avatar as self " << id << LL_ENDL; + // _LL_DEBUGS() << "Marking avatar as self " << id << LL_ENDL; } // Called periodically for diagnostics, return true when done. @@ -293,13 +293,13 @@ bool LLVOAvatarSelf::checkStuckAppearance() if (gAgentWearables.isCOFChangeInProgress()) { - LL_DEBUGS("Avatar") << "checking for stuck appearance" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "checking for stuck appearance" << LL_ENDL; F32 change_time = gAgentWearables.getCOFChangeTime(); - LL_DEBUGS("Avatar") << "change in progress for " << change_time << " seconds" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "change in progress for " << change_time << " seconds" << LL_ENDL; S32 active_hp = LLAppearanceMgr::instance().countActiveHoldingPatterns(); - LL_DEBUGS("Avatar") << "active holding patterns " << active_hp << " seconds" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "active holding patterns " << active_hp << " seconds" << LL_ENDL; S32 active_copies = LLAppearanceMgr::instance().getActiveCopyOperations(); - LL_DEBUGS("Avatar") << "active copy operations " << active_copies << LL_ENDL; + // _LL_DEBUGS("Avatar") << "active copy operations " << active_copies << LL_ENDL; if ((change_time > CONDITIONAL_UNSTICK_INTERVAL && active_copies == 0) || (change_time > UNCONDITIONAL_UNSTICK_INTERVAL)) @@ -2255,7 +2255,7 @@ bool LLVOAvatarSelf::getIsCloud() const } } - LL_DEBUGS() << "Avatar de-clouded" << LL_ENDL; + // _LL_DEBUGS() << "Avatar de-clouded" << LL_ENDL; } return false; } @@ -2379,7 +2379,7 @@ void LLVOAvatarSelf::dumpAllTextures() const if (!layerset_buffer) continue; vd_text += verboseDebugDumpLocalTextureDataInfo(layerset); } - LL_DEBUGS("Avatar") << vd_text << LL_ENDL; + // _LL_DEBUGS("Avatar") << vd_text << LL_ENDL; } const std::string LLVOAvatarSelf::debugDumpLocalTextureDataInfo(const LLViewerTexLayerSet* layerset) const @@ -2498,7 +2498,7 @@ void LLVOAvatarSelf::appearanceChangeMetricsCoro(std::string url) mPendingTimerRecords.clear(); - LL_DEBUGS("Avatar") << avString() << "message: " << ll_pretty_print_sd(msg) << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << "message: " << ll_pretty_print_sd(msg) << LL_ENDL; gPendingMetricsUploads++; @@ -2638,7 +2638,7 @@ BOOL LLVOAvatarSelf::canGrabBakedTexture(EBakedTextureIndex baked_index) const // Check if the texture hasn't been baked yet. if (!isTextureDefined(tex_index, 0)) { - LL_DEBUGS() << "getTEImage( " << (U32) tex_index << " )->getID() == IMG_DEFAULT_AVATAR" << LL_ENDL; + // _LL_DEBUGS() << "getTEImage( " << (U32) tex_index << " )->getID() == IMG_DEFAULT_AVATAR" << LL_ENDL; return FALSE; } @@ -2657,7 +2657,7 @@ BOOL LLVOAvatarSelf::canGrabBakedTexture(EBakedTextureIndex baked_index) const const ETextureIndex t_index = (*iter); LLWearableType::EType wearable_type = LLAvatarAppearanceDictionary::getTEWearableType(t_index); U32 count = gAgentWearables.getWearableCount(wearable_type); - LL_DEBUGS() << "Checking index " << (U32) t_index << " count: " << count << LL_ENDL; + // _LL_DEBUGS() << "Checking index " << (U32) t_index << " count: " << count << LL_ENDL; for (U32 wearable_index = 0; wearable_index < count; ++wearable_index) { @@ -2679,7 +2679,7 @@ BOOL LLVOAvatarSelf::canGrabBakedTexture(EBakedTextureIndex baked_index) const asset_id_matches); BOOL can_grab = FALSE; - LL_DEBUGS() << "item count for asset " << texture_id << ": " << items.size() << LL_ENDL; + // _LL_DEBUGS() << "item count for asset " << texture_id << ": " << items.size() << LL_ENDL; if (items.size()) { // search for full permissions version @@ -2779,11 +2779,11 @@ void LLVOAvatarSelf::outputRezDiagnostics() const } const F32 final_time = mDebugSelfLoadTimer.getElapsedTimeF32(); - LL_DEBUGS("Avatar") << "REZTIME: Myself rez stats:" << LL_ENDL; - LL_DEBUGS("Avatar") << "\t Time from avatar creation to load wearables: " << (S32)mDebugTimeWearablesLoaded << LL_ENDL; - LL_DEBUGS("Avatar") << "\t Time from avatar creation to de-cloud: " << (S32)mDebugTimeAvatarVisible << LL_ENDL; - LL_DEBUGS("Avatar") << "\t Time from avatar creation to de-cloud for others: " << (S32)final_time << LL_ENDL; - LL_DEBUGS("Avatar") << "\t Load time for each texture: " << LL_ENDL; + // _LL_DEBUGS("Avatar") << "REZTIME: Myself rez stats:" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "\t Time from avatar creation to load wearables: " << (S32)mDebugTimeWearablesLoaded << LL_ENDL; + // _LL_DEBUGS("Avatar") << "\t Time from avatar creation to de-cloud: " << (S32)mDebugTimeAvatarVisible << LL_ENDL; + // _LL_DEBUGS("Avatar") << "\t Time from avatar creation to de-cloud for others: " << (S32)final_time << LL_ENDL; + // _LL_DEBUGS("Avatar") << "\t Load time for each texture: " << LL_ENDL; for (U32 i = 0; i < LLAvatarAppearanceDefines::TEX_NUM_INDICES; ++i) { std::stringstream out; @@ -2808,13 +2808,13 @@ void LLVOAvatarSelf::outputRezDiagnostics() const // Don't print out non-existent textures. if (j != 0) { - LL_DEBUGS("Avatar") << out.str() << LL_ENDL; + // _LL_DEBUGS("Avatar") << out.str() << LL_ENDL; } } - LL_DEBUGS("Avatar") << "\t Time points for each upload (start / finish)" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "\t Time points for each upload (start / finish)" << LL_ENDL; for (U32 i = 0; i < LLAvatarAppearanceDefines::BAKED_NUM_INDICES; ++i) { - LL_DEBUGS("Avatar") << "\t\t (" << i << ") \t" << (S32)mDebugBakedTextureTimes[i][0] << " / " << (S32)mDebugBakedTextureTimes[i][1] << LL_ENDL; + // _LL_DEBUGS("Avatar") << "\t\t (" << i << ") \t" << (S32)mDebugBakedTextureTimes[i][0] << " / " << (S32)mDebugBakedTextureTimes[i][1] << LL_ENDL; } for (LLAvatarAppearanceDefines::LLAvatarAppearanceDictionary::BakedTextures::const_iterator baked_iter = LLAvatarAppearanceDefines::LLAvatarAppearanceDictionary::getInstance()->getBakedTextures().begin(); @@ -2826,7 +2826,7 @@ void LLVOAvatarSelf::outputRezDiagnostics() const if (!layerset) continue; const LLViewerTexLayerSetBuffer *layerset_buffer = layerset->getViewerComposite(); if (!layerset_buffer) continue; - LL_DEBUGS("Avatar") << layerset_buffer->dumpTextureInfo() << LL_ENDL; + // _LL_DEBUGS("Avatar") << layerset_buffer->dumpTextureInfo() << LL_ENDL; } dumpAllTextures(); @@ -2834,10 +2834,10 @@ void LLVOAvatarSelf::outputRezDiagnostics() const void LLVOAvatarSelf::outputRezTiming(const std::string& msg) const { - LL_DEBUGS("Avatar") + /*// _LL_DEBUGS("Avatar") << avString() << llformat("%s. Time from avatar creation: %.2f", msg.c_str(), mDebugSelfLoadTimer.getElapsedTimeF32()) - << LL_ENDL; + << LL_ENDL;*/ } void LLVOAvatarSelf::reportAvatarRezTime() const @@ -3034,7 +3034,7 @@ void LLVOAvatarSelf::sendHoverHeight() const const LLVector3& hover_offset = getHoverOffset(); update["hover_height"] = hover_offset[2]; - LL_DEBUGS("Avatar") << avString() << "sending hover height value " << hover_offset[2] << LL_ENDL; + // _LL_DEBUGS("Avatar") << avString() << "sending hover height value " << hover_offset[2] << LL_ENDL; // *TODO: - this class doesn't really do anything, could just use a base // class responder if nothing else gets added. @@ -3089,7 +3089,7 @@ void LLVOAvatarSelf::deleteScratchTextures() if( sScratchTexBytes.value() ) { - LL_DEBUGS() << "Clearing Scratch Textures " << (S32Kilobytes)sScratchTexBytes << LL_ENDL; + // _LL_DEBUGS() << "Clearing Scratch Textures " << (S32Kilobytes)sScratchTexBytes << LL_ENDL; delete_and_clear(sScratchTexNames); LLImageGL::sGlobalTextureMemory -= sScratchTexBytes; diff --git a/indra/newview/llvoicechannel.cpp b/indra/newview/llvoicechannel.cpp index f971554c9de..f4eccf63ee8 100644 --- a/indra/newview/llvoicechannel.cpp +++ b/indra/newview/llvoicechannel.cpp @@ -651,8 +651,8 @@ void LLVoiceChannelGroup::voiceCallCapCoro(std::string url) LLSD::map_const_iterator iter; for (iter = result.beginMap(); iter != result.endMap(); ++iter) { - LL_DEBUGS("Voice") << "LLVoiceCallCapResponder::result got " - << iter->first << LL_ENDL; + /*// _LL_DEBUGS("Voice") << "LLVoiceCallCapResponder::result got " + << iter->first << LL_ENDL;*/ } channelp->setChannelInfo( diff --git a/indra/newview/llvoiceclient.cpp b/indra/newview/llvoiceclient.cpp index cc590fc947c..41f756255b1 100644 --- a/indra/newview/llvoiceclient.cpp +++ b/indra/newview/llvoiceclient.cpp @@ -154,7 +154,7 @@ void LLVoiceClient::userAuthorized(const std::string& user_id, const LLUUID &age // In the future, we should change this to allow voice module registration // with a table lookup of sorts. std::string voice_server = gSavedSettings.getString("VoiceServerType"); - LL_DEBUGS("Voice") << "voice server type " << voice_server << LL_ENDL; + // _LL_DEBUGS("Voice") << "voice server type " << voice_server << LL_ENDL; if(voice_server == "vivox") { mVoiceModule = (LLVoiceModuleInterface *)LLVivoxVoiceClient::getInstance(); @@ -991,7 +991,7 @@ void LLSpeakerVolumeStorage::storeSpeakerVolume(const LLUUID& speaker_id, F32 vo mSpeakersData[speaker_id] = volume; // Enable this when debugging voice slider issues. It's way to spammy even for debug-level logging. - // LL_DEBUGS("Voice") << "Stored volume = " << volume << " for " << id << LL_ENDL; + // // _LL_DEBUGS("Voice") << "Stored volume = " << volume << " for " << id << LL_ENDL; } else { @@ -1009,7 +1009,7 @@ bool LLSpeakerVolumeStorage::getSpeakerVolume(const LLUUID& speaker_id, F32& vol volume = it->second; // Enable this when debugging voice slider issues. It's way to spammy even for debug-level logging. - // LL_DEBUGS("Voice") << "Retrieved stored volume = " << volume << " for " << id << LL_ENDL; + // // _LL_DEBUGS("Voice") << "Retrieved stored volume = " << volume << " for " << id << LL_ENDL; return true; } @@ -1022,7 +1022,7 @@ void LLSpeakerVolumeStorage::removeSpeakerVolume(const LLUUID& speaker_id) mSpeakersData.erase(speaker_id); // Enable this when debugging voice slider issues. It's way to spammy even for debug-level logging. - // LL_DEBUGS("Voice") << "Removing stored volume for " << id << LL_ENDL; + // // _LL_DEBUGS("Voice") << "Removing stored volume for " << id << LL_ENDL; } /* static */ F32 LLSpeakerVolumeStorage::transformFromLegacyVolume(F32 volume_in) diff --git a/indra/newview/llvoicevivox.cpp b/indra/newview/llvoicevivox.cpp index 2219d463131..f4de52a3b3b 100644 --- a/indra/newview/llvoicevivox.cpp +++ b/indra/newview/llvoicevivox.cpp @@ -260,7 +260,7 @@ static void killGateway() { if (sGatewayPtr) { - LL_DEBUGS("Voice") << "SLVoice " << sGatewayPtr->getStatusString() << LL_ENDL; + // _LL_DEBUGS("Voice") << "SLVoice " << sGatewayPtr->getStatusString() << LL_ENDL; sGatewayPump.stopListening("VivoxDaemonPump"); sGatewayPtr->kill(__FUNCTION__); @@ -268,7 +268,7 @@ static void killGateway() } else { - LL_DEBUGS("Voice") << "no gateway" << LL_ENDL; + // _LL_DEBUGS("Voice") << "no gateway" << LL_ENDL; } } @@ -425,12 +425,12 @@ void LLVivoxVoiceClient::terminate() void LLVivoxVoiceClient::cleanUp() { - LL_DEBUGS("Voice") << LL_ENDL; + // _LL_DEBUGS("Voice") << LL_ENDL; deleteAllSessions(); deleteAllVoiceFonts(); deleteVoiceFontTemplates(); - LL_DEBUGS("Voice") << "exiting" << LL_ENDL; + // _LL_DEBUGS("Voice") << "exiting" << LL_ENDL; } //--------------------------------------------------- @@ -462,7 +462,7 @@ void LLVivoxVoiceClient::updateSettings() bool LLVivoxVoiceClient::writeString(const std::string &str) { bool result = false; - LL_DEBUGS("LowVoice") << "sending:\n" << str << LL_ENDL; + // _LL_DEBUGS("LowVoice") << "sending:\n" << str << LL_ENDL; if(mConnected) { @@ -471,7 +471,7 @@ bool LLVivoxVoiceClient::writeString(const std::string &str) apr_size_t written = size; //MARK: Turn this on to log outgoing XML - // LL_DEBUGS("Voice") << "sending: " << str << LL_ENDL; + // // _LL_DEBUGS("Voice") << "sending: " << str << LL_ENDL; // check return code - sockets will fail (broken, etc.) err = apr_socket_send( @@ -519,7 +519,7 @@ void LLVivoxVoiceClient::connectorCreate() { vivoxLogLevel = "0"; } - LL_DEBUGS("Voice") << "creating connector with log level " << vivoxLogLevel << LL_ENDL; + // _LL_DEBUGS("Voice") << "creating connector with log level " << vivoxLogLevel << LL_ENDL; stream << "<Request requestId=\"" << mCommandCookie++ << "\" action=\"Connector.Create.1\">" @@ -660,7 +660,7 @@ void LLVivoxVoiceClient::idle(void* user_data) // void LLVivoxVoiceClient::voiceControlCoro() { - LL_DEBUGS("Voice") << "starting" << LL_ENDL; + // _LL_DEBUGS("Voice") << "starting" << LL_ENDL; mIsCoroutineActive = true; LLCoros::set_consuming(true); @@ -668,7 +668,7 @@ void LLVivoxVoiceClient::voiceControlCoro() while (gAgent.getTeleportState() != LLAgent::TELEPORT_NONE && !sShuttingDown) { - LL_DEBUGS("Voice") << "Suspending voiceControlCoro() momentarily for teleport. Tuning: " << mTuningMode << ". Relog: " << mRelogRequested << LL_ENDL; + // _LL_DEBUGS("Voice") << "Suspending voiceControlCoro() momentarily for teleport. Tuning: " << mTuningMode << ". Relog: " << mRelogRequested << LL_ENDL; llcoro::suspendUntilTimeout(1.0); } @@ -690,7 +690,7 @@ void LLVivoxVoiceClient::voiceControlCoro() waitForChannel(); // this doesn't normally return unless relog is needed or shutting down - LL_DEBUGS("Voice") << "lost channel RelogRequested=" << mRelogRequested << LL_ENDL; + // _LL_DEBUGS("Voice") << "lost channel RelogRequested=" << mRelogRequested << LL_ENDL; endAndDisconnectSession(); retry = 0; } @@ -699,10 +699,10 @@ void LLVivoxVoiceClient::voiceControlCoro() // that we attempted to relog into Vivox and were rejected. // Rather than just quit out of voice, we will tear it down (above) // and then reconstruct the voice connecion from scratch. - LL_DEBUGS("Voice") + /*// _LL_DEBUGS("Voice") << "disconnected" << " RelogRequested=" << mRelogRequested - << LL_ENDL; + << LL_ENDL; */ if (mRelogRequested && !sShuttingDown) { if (!success) @@ -734,7 +734,7 @@ void LLVivoxVoiceClient::voiceControlCoro() bool LLVivoxVoiceClient::startAndConnectSession() { bool ok = false; - LL_DEBUGS("Voice") << LL_ENDL; + // _LL_DEBUGS("Voice") << LL_ENDL; LLVoiceVivoxStats::getInstance()->reset(); @@ -759,7 +759,7 @@ bool LLVivoxVoiceClient::startAndConnectSession() bool LLVivoxVoiceClient::endAndDisconnectSession() { - LL_DEBUGS("Voice") << LL_ENDL; + // _LL_DEBUGS("Voice") << LL_ENDL; breakVoiceConnection(true); @@ -885,7 +885,7 @@ bool LLVivoxVoiceClient::startAndLaunchDaemon() sGatewayPump.listen("VivoxDaemonPump", boost::bind(&LLVivoxVoiceClient::callbackEndDaemon, this, _1)); LL_INFOS("Voice") << "Launching SLVoice" << LL_ENDL; - LL_DEBUGS("Voice") << "SLVoice params " << params << LL_ENDL; + // _LL_DEBUGS("Voice") << "SLVoice params " << params << LL_ENDL; sGatewayPtr = LLProcess::create(params); @@ -918,19 +918,19 @@ bool LLVivoxVoiceClient::startAndLaunchDaemon() } else { - LL_DEBUGS("Voice") << " gateway running; not attempting to start" << LL_ENDL; + // _LL_DEBUGS("Voice") << " gateway running; not attempting to start" << LL_ENDL; } //--------------------------------------------------------------------- llcoro::suspendUntilTimeout(UPDATE_THROTTLE_SECONDS); - LL_DEBUGS("Voice") << "Connecting to vivox daemon:" << mDaemonHost << LL_ENDL; + // _LL_DEBUGS("Voice") << "Connecting to vivox daemon:" << mDaemonHost << LL_ENDL; LLVoiceVivoxStats::getInstance()->reset(); while (!mConnected && !sShuttingDown) { LLVoiceVivoxStats::getInstance()->connectionAttemptStart(); - LL_DEBUGS("Voice") << "Attempting to connect to vivox daemon: " << mDaemonHost << LL_ENDL; + // _LL_DEBUGS("Voice") << "Attempting to connect to vivox daemon: " << mDaemonHost << LL_ENDL; closeSocket(); if (!mSocket) { @@ -989,14 +989,14 @@ bool LLVivoxVoiceClient::provisionVoiceAccount() while ((!gAgent.getRegion() || !gAgent.getRegion()->capabilitiesReceived()) && !sShuttingDown) { - LL_DEBUGS("Voice") << "no capabilities for voice provisioning; waiting " << LL_ENDL; + // _LL_DEBUGS("Voice") << "no capabilities for voice provisioning; waiting " << LL_ENDL; // *TODO* Pump a message for wake up. llcoro::suspend(); } std::string url = gAgent.getRegionCapability("ProvisionVoiceAccountRequest"); - LL_DEBUGS("Voice") << "region ready for voice provisioning; url=" << url << LL_ENDL; + // _LL_DEBUGS("Voice") << "region ready for voice provisioning; url=" << url << LL_ENDL; LLCore::HttpRequest::policy_t httpPolicy(LLCore::HttpRequest::DEFAULT_POLICY_ID); LLCoreHttpUtil::HttpCoroutineAdapter::ptr_t @@ -1061,12 +1061,12 @@ bool LLVivoxVoiceClient::provisionVoiceAccount() voiceAccountServerUri = result["voice_account_server_name"].asString(); } - LL_DEBUGS("Voice") << "ProvisionVoiceAccountRequest response" + /*// _LL_DEBUGS("Voice") << "ProvisionVoiceAccountRequest response" << " user " << (voiceUserName.empty() ? "not set" : "set") << " password " << (voicePassword.empty() ? "not set" : "set") << " sip uri " << voiceSipUriHostname << " account uri " << voiceAccountServerUri - << LL_ENDL; + << LL_ENDL;*/ setLoginInfo(voiceUserName, voicePassword, voiceSipUriHostname, voiceAccountServerUri); @@ -1097,7 +1097,7 @@ bool LLVivoxVoiceClient::establishVoiceConnection() do { result = llcoro::suspendUntilEventOn(mVivoxPump); - LL_DEBUGS("Voice") << "event=" << ll_stream_notation_sd(result) << LL_ENDL; + // _LL_DEBUGS("Voice") << "event=" << ll_stream_notation_sd(result) << LL_ENDL; if (result.has("connector")) { @@ -1130,9 +1130,9 @@ bool LLVivoxVoiceClient::establishVoiceConnection() } } } - LL_DEBUGS("Voice") << (connected ? "" : "not ") << "connected, " + /*// _LL_DEBUGS("Voice") << (connected ? "" : "not ") << "connected, " << (giving_up ? "" : "not ") << "giving up" - << LL_ENDL; + << LL_ENDL;*/ } while (!connected && !giving_up && !sShuttingDown); if (giving_up) @@ -1147,7 +1147,7 @@ bool LLVivoxVoiceClient::establishVoiceConnection() bool LLVivoxVoiceClient::breakVoiceConnection(bool corowait) { - LL_DEBUGS("Voice") << "( wait=" << corowait << ")" << LL_ENDL; + // _LL_DEBUGS("Voice") << "( wait=" << corowait << ")" << LL_ENDL; bool retval(true); mShutdownComplete = false; @@ -1158,7 +1158,7 @@ bool LLVivoxVoiceClient::breakVoiceConnection(bool corowait) LLSD timeoutResult(LLSDMap("connector", "timeout")); LLSD result = llcoro::suspendUntilEventOnWithTimeout(mVivoxPump, LOGOUT_ATTEMPT_TIMEOUT, timeoutResult); - LL_DEBUGS("Voice") << "event=" << ll_stream_notation_sd(result) << LL_ENDL; + // _LL_DEBUGS("Voice") << "event=" << ll_stream_notation_sd(result) << LL_ENDL; retval = result.has("connector"); } @@ -1186,7 +1186,7 @@ bool LLVivoxVoiceClient::breakVoiceConnection(bool corowait) #endif } - LL_DEBUGS("Voice") << "closing SLVoice socket" << LL_ENDL; + // _LL_DEBUGS("Voice") << "closing SLVoice socket" << LL_ENDL; closeSocket(); // Need to do this now -- bad things happen if the destructor does it later. cleanUp(); mConnected = false; @@ -1214,7 +1214,7 @@ bool LLVivoxVoiceClient::loginToVivox() } LLSD result = llcoro::suspendUntilEventOnWithTimeout(mVivoxPump, LOGIN_ATTEMPT_TIMEOUT, timeoutResult); - LL_DEBUGS("Voice") << "event=" << ll_stream_notation_sd(result) << LL_ENDL; + // _LL_DEBUGS("Voice") << "event=" << ll_stream_notation_sd(result) << LL_ENDL; if (result.has("login")) { @@ -1306,14 +1306,14 @@ void LLVivoxVoiceClient::logoutOfVivox(bool wait) do { - LL_DEBUGS("Voice") + /*// _LL_DEBUGS("Voice") << "waiting for logout response on " << mVivoxPump.getName() - << LL_ENDL; + << LL_ENDL;*/ result = llcoro::suspendUntilEventOnWithTimeout(mVivoxPump, LOGOUT_ATTEMPT_TIMEOUT, timeoutResult); - LL_DEBUGS("Voice") << "event=" << ll_stream_notation_sd(result) << LL_ENDL; + // _LL_DEBUGS("Voice") << "event=" << ll_stream_notation_sd(result) << LL_ENDL; // Don't get confused by prior queued events -- note that it's // very important that mVivoxPump is an LLEventMailDrop, which // does queue events. @@ -1321,7 +1321,7 @@ void LLVivoxVoiceClient::logoutOfVivox(bool wait) } else { - LL_DEBUGS("Voice") << "not waiting for logout" << LL_ENDL; + // _LL_DEBUGS("Voice") << "not waiting for logout" << LL_ENDL; } mIsLoggedIn = false; @@ -1340,7 +1340,7 @@ bool LLVivoxVoiceClient::retrieveVoiceFonts() { result = llcoro::suspendUntilEventOn(mVivoxPump); - LL_DEBUGS("Voice") << "event=" << ll_stream_notation_sd(result) << LL_ENDL; + // _LL_DEBUGS("Voice") << "event=" << ll_stream_notation_sd(result) << LL_ENDL; if (result.has("voice_fonts")) break; } while (true); @@ -1359,7 +1359,7 @@ bool LLVivoxVoiceClient::requestParcelVoiceInfo() LLViewerRegion * region = gAgent.getRegion(); if (region == NULL || !region->capabilitiesReceived()) { - LL_DEBUGS("Voice") << "ParcelVoiceInfoRequest capability not yet available, deferring" << LL_ENDL; + // _LL_DEBUGS("Voice") << "ParcelVoiceInfoRequest capability not yet available, deferring" << LL_ENDL; return false; } @@ -1368,14 +1368,14 @@ bool LLVivoxVoiceClient::requestParcelVoiceInfo() if (url.empty()) { // Region dosn't have the cap. Stop probing. - LL_DEBUGS("Voice") << "ParcelVoiceInfoRequest capability not available in this region" << LL_ENDL; + // _LL_DEBUGS("Voice") << "ParcelVoiceInfoRequest capability not available in this region" << LL_ENDL; return false; } // update the parcel checkParcelChanged(true); - LL_DEBUGS("Voice") << "sending ParcelVoiceInfoRequest (" << mCurrentRegionName << ", " << mCurrentParcelLocalID << ")" << LL_ENDL; + // _LL_DEBUGS("Voice") << "sending ParcelVoiceInfoRequest (" << mCurrentRegionName << ", " << mCurrentParcelLocalID << ")" << LL_ENDL; LLCore::HttpRequest::policy_t httpPolicy(LLCore::HttpRequest::DEFAULT_POLICY_ID); LLCoreHttpUtil::HttpCoroutineAdapter::ptr_t @@ -1394,10 +1394,10 @@ bool LLVivoxVoiceClient::requestParcelVoiceInfo() // state. If the cap request is still pending, // the responder will check to see if we've moved // to a new session and won't change any state. - LL_DEBUGS("Voice") << "terminate requested " << mSessionTerminateRequested + /*// _LL_DEBUGS("Voice") << "terminate requested " << mSessionTerminateRequested << " enabled " << mVoiceEnabled << " initialized " << mIsInitialized - << LL_ENDL; + << LL_ENDL;*/ terminateAudioSession(true); return false; } @@ -1422,7 +1422,7 @@ bool LLVivoxVoiceClient::requestParcelVoiceInfo() LLSD voice_credentials = result["voice_credentials"]; if (voice_credentials.has("channel_uri")) { - LL_DEBUGS("Voice") << "got voice channel uri" << LL_ENDL; + // _LL_DEBUGS("Voice") << "got voice channel uri" << LL_ENDL; uri = voice_credentials["channel_uri"].asString(); } else @@ -1432,7 +1432,7 @@ bool LLVivoxVoiceClient::requestParcelVoiceInfo() if (voice_credentials.has("channel_credentials")) { - LL_DEBUGS("Voice") << "got voice channel credentials" << LL_ENDL; + // _LL_DEBUGS("Voice") << "got voice channel credentials" << LL_ENDL; credentials = voice_credentials["channel_credentials"].asString(); } @@ -1507,10 +1507,10 @@ bool LLVivoxVoiceClient::addAndJoinSession(const sessionStatePtr_t &nextSession) if (!mVoiceEnabled && mIsInitialized) { - LL_DEBUGS("Voice") << "Voice no longer enabled. Exiting" + /*// _LL_DEBUGS("Voice") << "Voice no longer enabled. Exiting" << " enabled " << mVoiceEnabled << " initialized " << mIsInitialized - << LL_ENDL; + << LL_ENDL;*/ mIsJoiningSession = false; // User bailed out during connect -- jump straight to teardown. terminateAudioSession(true); @@ -1519,7 +1519,7 @@ bool LLVivoxVoiceClient::addAndJoinSession(const sessionStatePtr_t &nextSession) } else if (mSessionTerminateRequested) { - LL_DEBUGS("Voice") << "Terminate requested" << LL_ENDL; + // _LL_DEBUGS("Voice") << "Terminate requested" << LL_ENDL; if (mAudioSession && !mAudioSession->mHandle.empty()) { // Only allow direct exits from this state in p2p calls (for cancelling an invite). @@ -1587,7 +1587,7 @@ bool LLVivoxVoiceClient::addAndJoinSession(const sessionStatePtr_t &nextSession) if ( (reason == ERROR_VIVOX_NOT_LOGGED_IN) || (reason == ERROR_VIVOX_OBJECT_NOT_FOUND)) { - LL_DEBUGS("Voice") << "Requesting reprovision and login." << LL_ENDL; + // _LL_DEBUGS("Voice") << "Requesting reprovision and login." << LL_ENDL; requestRelog(); } } @@ -1671,7 +1671,7 @@ bool LLVivoxVoiceClient::terminateAudioSession(bool wait) result = llcoro::suspendUntilEventOnWithTimeout(mVivoxPump, LOGOUT_ATTEMPT_TIMEOUT, timeoutResult); - LL_DEBUGS("Voice") << "event=" << ll_stream_notation_sd(result) << LL_ENDL; + // _LL_DEBUGS("Voice") << "event=" << ll_stream_notation_sd(result) << LL_ENDL; if (result.has("session")) { if (result.has("handle")) @@ -1723,13 +1723,13 @@ bool LLVivoxVoiceClient::terminateAudioSession(bool wait) mSessionTerminateRequested = false; bool status=((mVoiceEnabled || !mIsInitialized) && !mRelogRequested && !sShuttingDown); - LL_DEBUGS("Voice") << "exiting" + /*// _LL_DEBUGS("Voice") << "exiting" << " VoiceEnabled " << mVoiceEnabled << " IsInitialized " << mIsInitialized << " RelogRequested " << mRelogRequested << " ShuttingDown " << (sShuttingDown ? "TRUE" : "FALSE") << " returning " << status - << LL_ENDL; + << LL_ENDL;*/ return status; } @@ -1798,16 +1798,16 @@ bool LLVivoxVoiceClient::waitForChannel() mNextAudioSession.reset(); if (!runSession(joinSession)) { - LL_DEBUGS("Voice") << "runSession returned false; leaving inner loop" << LL_ENDL; + // _LL_DEBUGS("Voice") << "runSession returned false; leaving inner loop" << LL_ENDL; break; } else { - LL_DEBUGS("Voice") + /*// _LL_DEBUGS("Voice") << "runSession returned true to inner loop" << " RelogRequested=" << mRelogRequested << " VoiceEnabled=" << mVoiceEnabled - << LL_ENDL; + << LL_ENDL;*/ } } @@ -1824,11 +1824,11 @@ bool LLVivoxVoiceClient::waitForChannel() } while (mVoiceEnabled && !mRelogRequested && !sShuttingDown); - LL_DEBUGS("Voice") + /*// _LL_DEBUGS("Voice") << "leaving inner waitForChannel loop" << " RelogRequested=" << mRelogRequested << " VoiceEnabled=" << mVoiceEnabled - << LL_ENDL; + << LL_ENDL;*/ mIsProcessingChannels = false; @@ -1836,7 +1836,7 @@ bool LLVivoxVoiceClient::waitForChannel() if (mRelogRequested) { - LL_DEBUGS("Voice") << "Relog Requested, restarting provisioning" << LL_ENDL; + // _LL_DEBUGS("Voice") << "Relog Requested, restarting provisioning" << LL_ENDL; if (!provisionVoiceAccount()) { LL_WARNS("Voice") << "provisioning voice failed; giving up" << LL_ENDL; @@ -1846,11 +1846,11 @@ bool LLVivoxVoiceClient::waitForChannel() } } while (mVoiceEnabled && mRelogRequested && isGatewayRunning() && !sShuttingDown); - LL_DEBUGS("Voice") + /*// _LL_DEBUGS("Voice") << "exiting" << " RelogRequested=" << mRelogRequested << " VoiceEnabled=" << mVoiceEnabled - << LL_ENDL; + << LL_ENDL;*/ return !sShuttingDown; } @@ -1864,7 +1864,7 @@ bool LLVivoxVoiceClient::runSession(const sessionStatePtr_t &session) if (mSessionTerminateRequested) { - LL_DEBUGS("Voice") << "runSession terminate requested " << LL_ENDL; + // _LL_DEBUGS("Voice") << "runSession terminate requested " << LL_ENDL; terminateAudioSession(true); } // if a relog has been requested then addAndJoineSession @@ -1933,7 +1933,7 @@ bool LLVivoxVoiceClient::runSession(const sessionStatePtr_t &session) LLSD result = llcoro::suspendUntilEventOnWithTimeout(mVivoxPump, UPDATE_THROTTLE_SECONDS, timeoutEvent); if (!result.has("timeout")) // logging the timeout event spams the log { - LL_DEBUGS("Voice") << "event=" << ll_stream_notation_sd(result) << LL_ENDL; + // _LL_DEBUGS("Voice") << "event=" << ll_stream_notation_sd(result) << LL_ENDL; } if (result.has("session")) { @@ -1955,7 +1955,7 @@ bool LLVivoxVoiceClient::runSession(const sessionStatePtr_t &session) if (message == "removed") { - LL_DEBUGS("Voice") << "session removed" << LL_ENDL; + // _LL_DEBUGS("Voice") << "session removed" << LL_ENDL; notifyStatusObservers(LLVoiceClientStatusObserver::STATUS_LEFT_CHANNEL); break; } @@ -1965,7 +1965,7 @@ bool LLVivoxVoiceClient::runSession(const sessionStatePtr_t &session) std::string message = result["login"]; if (message == "account_logout") { - LL_DEBUGS("Voice") << "logged out" << LL_ENDL; + // _LL_DEBUGS("Voice") << "logged out" << LL_ENDL; mIsLoggedIn = false; mRelogRequested = true; break; @@ -1974,7 +1974,7 @@ bool LLVivoxVoiceClient::runSession(const sessionStatePtr_t &session) } mIsInChannel = false; - LL_DEBUGS("Voice") << "terminating at end of runSession" << LL_ENDL; + // _LL_DEBUGS("Voice") << "terminating at end of runSession" << LL_ENDL; terminateAudioSession(true); return true; @@ -2008,7 +2008,7 @@ void LLVivoxVoiceClient::recordingAndPlaybackMode() do { command = llcoro::suspendUntilEventOn(mVivoxPump); - LL_DEBUGS("Voice") << "event=" << ll_stream_notation_sd(command) << LL_ENDL; + // _LL_DEBUGS("Voice") << "event=" << ll_stream_notation_sd(command) << LL_ENDL; } while (!command.has("recplay")); if (command["recplay"].asString() == "quit") @@ -2048,7 +2048,7 @@ int LLVivoxVoiceClient::voiceRecordBuffer() do { result = llcoro::suspendUntilEventOnWithTimeout(mVivoxPump, CAPTURE_BUFFER_MAX_TIME, timeoutResult); - LL_DEBUGS("Voice") << "event=" << ll_stream_notation_sd(result) << LL_ENDL; + // _LL_DEBUGS("Voice") << "event=" << ll_stream_notation_sd(result) << LL_ENDL; } while (!result.has("recplay")); mCaptureBufferRecorded = true; @@ -2084,7 +2084,7 @@ int LLVivoxVoiceClient::voicePlaybackBuffer() notifyVoiceFontObservers(); result = llcoro::suspendUntilEventOnWithTimeout(mVivoxPump, CAPTURE_BUFFER_MAX_TIME, timeoutResult); - LL_DEBUGS("Voice") << "event=" << ll_stream_notation_sd(result) << LL_ENDL; + // _LL_DEBUGS("Voice") << "event=" << ll_stream_notation_sd(result) << LL_ENDL; } while (!result.has("recplay")); if (result["recplay"] == "playback") @@ -2268,7 +2268,7 @@ void LLVivoxVoiceClient::sessionGroupCreateSendMessage() { std::ostringstream stream; - LL_DEBUGS("Voice") << "creating session group" << LL_ENDL; + // _LL_DEBUGS("Voice") << "creating session group" << LL_ENDL; stream << "<Request requestId=\"" << mCommandCookie++ << "\" action=\"SessionGroup.Create.1\">" @@ -2284,9 +2284,9 @@ void LLVivoxVoiceClient::sessionGroupCreateSendMessage() void LLVivoxVoiceClient::sessionCreateSendMessage(const sessionStatePtr_t &session, bool startAudio, bool startText) { S32 font_index = getVoiceFontIndex(session->mVoiceFontID); - LL_DEBUGS("Voice") << "Requesting create: " << session->mSIPURI + /*// _LL_DEBUGS("Voice") << "Requesting create: " << session->mSIPURI << " with voice font: " << session->mVoiceFontID << " (" << font_index << ")" - << LL_ENDL; + << LL_ENDL;*/ session->mCreateInProgress = true; if(startAudio) @@ -2323,10 +2323,10 @@ void LLVivoxVoiceClient::sessionCreateSendMessage(const sessionStatePtr_t &sessi void LLVivoxVoiceClient::sessionGroupAddSessionSendMessage(const sessionStatePtr_t &session, bool startAudio, bool startText) { - LL_DEBUGS("Voice") << "Requesting create: " << session->mSIPURI << LL_ENDL; + // _LL_DEBUGS("Voice") << "Requesting create: " << session->mSIPURI << LL_ENDL; S32 font_index = getVoiceFontIndex(session->mVoiceFontID); - LL_DEBUGS("Voice") << "With voice font: " << session->mVoiceFontID << " (" << font_index << ")" << LL_ENDL; + // _LL_DEBUGS("Voice") << "With voice font: " << session->mVoiceFontID << " (" << font_index << ")" << LL_ENDL; session->mCreateInProgress = true; if(startAudio) @@ -2365,9 +2365,9 @@ void LLVivoxVoiceClient::sessionGroupAddSessionSendMessage(const sessionStatePtr void LLVivoxVoiceClient::sessionMediaConnectSendMessage(const sessionStatePtr_t &session) { S32 font_index = getVoiceFontIndex(session->mVoiceFontID); - LL_DEBUGS("Voice") << "Connecting audio to session handle: " << session->mHandle + /*// _LL_DEBUGS("Voice") << "Connecting audio to session handle: " << session->mHandle << " with voice font: " << session->mVoiceFontID << " (" << font_index << ")" - << LL_ENDL; + << LL_ENDL;*/ session->mMediaConnectInProgress = true; @@ -2386,7 +2386,7 @@ void LLVivoxVoiceClient::sessionMediaConnectSendMessage(const sessionStatePtr_t void LLVivoxVoiceClient::sessionTextConnectSendMessage(const sessionStatePtr_t &session) { - LL_DEBUGS("Voice") << "connecting text to session handle: " << session->mHandle << LL_ENDL; + // _LL_DEBUGS("Voice") << "connecting text to session handle: " << session->mHandle << LL_ENDL; std::ostringstream stream; @@ -2415,7 +2415,7 @@ void LLVivoxVoiceClient::leaveAudioSession() { if(mAudioSession) { - LL_DEBUGS("Voice") << "leaving session: " << mAudioSession->mSIPURI << LL_ENDL; + // _LL_DEBUGS("Voice") << "leaving session: " << mAudioSession->mSIPURI << LL_ENDL; if(!mAudioSession->mHandle.empty()) { @@ -2456,7 +2456,7 @@ void LLVivoxVoiceClient::sessionTerminateSendMessage(const sessionStatePtr_t &se sessionGroupTerminateSendMessage(session); return; /* - LL_DEBUGS("Voice") << "Sending Session.Terminate with handle " << session->mHandle << LL_ENDL; + // _LL_DEBUGS("Voice") << "Sending Session.Terminate with handle " << session->mHandle << LL_ENDL; stream << "<Request requestId=\"" << mCommandCookie++ << "\" action=\"Session.Terminate.1\">" << "<SessionHandle>" << session->mHandle << "</SessionHandle>" @@ -2470,7 +2470,7 @@ void LLVivoxVoiceClient::sessionGroupTerminateSendMessage(const sessionStatePtr_ { std::ostringstream stream; - LL_DEBUGS("Voice") << "Sending SessionGroup.Terminate with handle " << session->mGroupHandle << LL_ENDL; + // _LL_DEBUGS("Voice") << "Sending SessionGroup.Terminate with handle " << session->mGroupHandle << LL_ENDL; stream << "<Request requestId=\"" << mCommandCookie++ << "\" action=\"SessionGroup.Terminate.1\">" << "<SessionGroupHandle>" << session->mGroupHandle << "</SessionGroupHandle>" @@ -2485,7 +2485,7 @@ void LLVivoxVoiceClient::sessionMediaDisconnectSendMessage(const sessionStatePtr sessionGroupTerminateSendMessage(session); return; /* - LL_DEBUGS("Voice") << "Sending Session.MediaDisconnect with handle " << session->mHandle << LL_ENDL; + // _LL_DEBUGS("Voice") << "Sending Session.MediaDisconnect with handle " << session->mHandle << LL_ENDL; stream << "<Request requestId=\"" << mCommandCookie++ << "\" action=\"Session.MediaDisconnect.1\">" << "<SessionGroupHandle>" << session->mGroupHandle << "</SessionGroupHandle>" @@ -2521,13 +2521,13 @@ void LLVivoxVoiceClient::getRenderDevicesSendMessage() void LLVivoxVoiceClient::clearCaptureDevices() { - LL_DEBUGS("Voice") << "called" << LL_ENDL; + // _LL_DEBUGS("Voice") << "called" << LL_ENDL; mCaptureDevices.clear(); } void LLVivoxVoiceClient::addCaptureDevice(const LLVoiceDevice& device) { - LL_DEBUGS("Voice") << "display: '" << device.display_name << "' device: '" << device.full_name << "'" << LL_ENDL; + // _LL_DEBUGS("Voice") << "display: '" << device.display_name << "' device: '" << device.full_name << "'" << LL_ENDL; mCaptureDevices.push_back(device); } @@ -2562,13 +2562,13 @@ void LLVivoxVoiceClient::setDevicesListUpdated(bool state) void LLVivoxVoiceClient::clearRenderDevices() { - LL_DEBUGS("Voice") << "called" << LL_ENDL; + // _LL_DEBUGS("Voice") << "called" << LL_ENDL; mRenderDevices.clear(); } void LLVivoxVoiceClient::addRenderDevice(const LLVoiceDevice& device) { - LL_DEBUGS("Voice") << "display: '" << device.display_name << "' device: '" << device.full_name << "'" << LL_ENDL; + // _LL_DEBUGS("Voice") << "display: '" << device.display_name << "' device: '" << device.full_name << "'" << LL_ENDL; mRenderDevices.push_back(device); } @@ -2600,7 +2600,7 @@ void LLVivoxVoiceClient::setRenderDevice(const std::string& name) void LLVivoxVoiceClient::tuningStart() { - LL_DEBUGS("Voice") << "Starting tuning" << LL_ENDL; + // _LL_DEBUGS("Voice") << "Starting tuning" << LL_ENDL; mTuningMode = true; if (!mIsCoroutineActive) { @@ -2609,7 +2609,7 @@ void LLVivoxVoiceClient::tuningStart() } else if (mIsInChannel) { - LL_DEBUGS("Voice") << "no channel" << LL_ENDL; + // _LL_DEBUGS("Voice") << "no channel" << LL_ENDL; sessionTerminate(); } } @@ -2650,7 +2650,7 @@ void LLVivoxVoiceClient::tuningRenderStopSendMessage() void LLVivoxVoiceClient::tuningCaptureStartSendMessage(int loop) { - LL_DEBUGS("Voice") << "sending CaptureAudioStart" << LL_ENDL; + // _LL_DEBUGS("Voice") << "sending CaptureAudioStart" << LL_ENDL; std::ostringstream stream; stream @@ -2664,7 +2664,7 @@ void LLVivoxVoiceClient::tuningCaptureStartSendMessage(int loop) void LLVivoxVoiceClient::tuningCaptureStopSendMessage() { - LL_DEBUGS("Voice") << "sending CaptureAudioStop" << LL_ENDL; + // _LL_DEBUGS("Voice") << "sending CaptureAudioStop" << LL_ENDL; std::ostringstream stream; stream @@ -2908,7 +2908,7 @@ void LLVivoxVoiceClient::sendPositionAndVolumeUpdate(void) LLMatrix3 avatarRot = mAvatarRot.getMatrix3(); -// LL_DEBUGS("Voice") << "Sending speaker position " << mAvatarPosition << LL_ENDL; +// // _LL_DEBUGS("Voice") << "Sending speaker position " << mAvatarPosition << LL_ENDL; l = avatarRot.getLeftRow(); u = avatarRot.getUpRow(); a = avatarRot.getFwdRow(); @@ -3074,7 +3074,7 @@ void LLVivoxVoiceClient::sendPositionAndVolumeUpdate(void) mute = true; } - LL_DEBUGS("Voice") << "Setting volume/mute for avatar " << p->mAvatarID << " to " << volume << (mute?"/true":"/false") << LL_ENDL; + // _LL_DEBUGS("Voice") << "Setting volume/mute for avatar " << p->mAvatarID << " to " << volume << (mute?"/true":"/false") << LL_ENDL; // SLIM SDK: Send both volume and mute commands. @@ -3106,7 +3106,7 @@ void LLVivoxVoiceClient::sendPositionAndVolumeUpdate(void) std::string update(stream.str()); if(!update.empty()) { - LL_DEBUGS("VoiceUpdate") << "sending update " << update << LL_ENDL; + // _LL_DEBUGS("VoiceUpdate") << "sending update " << update << LL_ENDL; writeString(update); } @@ -3116,7 +3116,7 @@ void LLVivoxVoiceClient::buildSetCaptureDevice(std::ostringstream &stream) { if(mCaptureDeviceDirty) { - LL_DEBUGS("Voice") << "Setting input device = \"" << mCaptureDevice << "\"" << LL_ENDL; + // _LL_DEBUGS("Voice") << "Setting input device = \"" << mCaptureDevice << "\"" << LL_ENDL; stream << "<Request requestId=\"" << mCommandCookie++ << "\" action=\"Aux.SetCaptureDevice.1\">" @@ -3132,7 +3132,7 @@ void LLVivoxVoiceClient::buildSetRenderDevice(std::ostringstream &stream) { if(mRenderDeviceDirty) { - LL_DEBUGS("Voice") << "Setting output device = \"" << mRenderDevice << "\"" << LL_ENDL; + // _LL_DEBUGS("Voice") << "Setting output device = \"" << mRenderDevice << "\"" << LL_ENDL; stream << "<Request requestId=\"" << mCommandCookie++ << "\" action=\"Aux.SetRenderDevice.1\">" @@ -3274,7 +3274,7 @@ void LLVivoxVoiceClient::loginResponse(int statusCode, std::string &statusString { LLSD result = LLSD::emptyMap(); - LL_DEBUGS("Voice") << "Account.Login response (" << statusCode << "): " << statusString << LL_ENDL; + // _LL_DEBUGS("Voice") << "Account.Login response (" << statusCode << "): " << statusString << LL_ENDL; // Status code of 20200 means "bad password". We may want to special-case that at some point. @@ -3376,7 +3376,7 @@ void LLVivoxVoiceClient::sessionGroupAddSessionResponse(std::string &requestId, } else { - LL_DEBUGS("Voice") << "SessionGroup.AddSession response received (success), session handle is " << sessionHandle << LL_ENDL; + // _LL_DEBUGS("Voice") << "SessionGroup.AddSession response received (success), session handle is " << sessionHandle << LL_ENDL; if(session) { setSessionHandle(session, sessionHandle); @@ -3415,7 +3415,7 @@ void LLVivoxVoiceClient::sessionConnectResponse(std::string &requestId, int stat } else { - LL_DEBUGS("Voice") << "Session.Connect response received (success)" << LL_ENDL; + // _LL_DEBUGS("Voice") << "Session.Connect response received (success)" << LL_ENDL; } } @@ -3518,7 +3518,7 @@ void LLVivoxVoiceClient::sessionAddedEvent( void LLVivoxVoiceClient::sessionGroupAddedEvent(std::string &sessionGroupHandle) { - LL_DEBUGS("Voice") << "handle " << sessionGroupHandle << LL_ENDL; + // _LL_DEBUGS("Voice") << "handle " << sessionGroupHandle << LL_ENDL; #if USE_SESSION_GROUPS if(mMainSessionGroupHandle.empty()) @@ -3528,14 +3528,14 @@ void LLVivoxVoiceClient::sessionGroupAddedEvent(std::string &sessionGroupHandle) } else { - LL_DEBUGS("Voice") << "Already had a session group handle " << mMainSessionGroupHandle << LL_ENDL; + // _LL_DEBUGS("Voice") << "Already had a session group handle " << mMainSessionGroupHandle << LL_ENDL; } #endif } void LLVivoxVoiceClient::joinedAudioSession(const sessionStatePtr_t &session) { - LL_DEBUGS("Voice") << "Joined Audio Session" << LL_ENDL; + // _LL_DEBUGS("Voice") << "Joined Audio Session" << LL_ENDL; if(mAudioSession != session) { sessionStatePtr_t oldSession = mAudioSession; @@ -3618,7 +3618,7 @@ void LLVivoxVoiceClient::sessionRemovedEvent( else { // Already reaped this session. - LL_DEBUGS("Voice") << "unknown session " << sessionHandle << " removed" << LL_ENDL; + // _LL_DEBUGS("Voice") << "unknown session " << sessionHandle << " removed" << LL_ENDL; } } @@ -3630,30 +3630,30 @@ void LLVivoxVoiceClient::reapSession(const sessionStatePtr_t &session) if(session->mCreateInProgress) { - LL_DEBUGS("Voice") << "NOT deleting session " << session->mSIPURI << " (create in progress)" << LL_ENDL; + // _LL_DEBUGS("Voice") << "NOT deleting session " << session->mSIPURI << " (create in progress)" << LL_ENDL; } else if(session->mMediaConnectInProgress) { - LL_DEBUGS("Voice") << "NOT deleting session " << session->mSIPURI << " (connect in progress)" << LL_ENDL; + // _LL_DEBUGS("Voice") << "NOT deleting session " << session->mSIPURI << " (connect in progress)" << LL_ENDL; } else if(session == mAudioSession) { - LL_DEBUGS("Voice") << "NOT deleting session " << session->mSIPURI << " (it's the current session)" << LL_ENDL; + // _LL_DEBUGS("Voice") << "NOT deleting session " << session->mSIPURI << " (it's the current session)" << LL_ENDL; } else if(session == mNextAudioSession) { - LL_DEBUGS("Voice") << "NOT deleting session " << session->mSIPURI << " (it's the next session)" << LL_ENDL; + // _LL_DEBUGS("Voice") << "NOT deleting session " << session->mSIPURI << " (it's the next session)" << LL_ENDL; } else { // We don't have a reason to keep tracking this session, so just delete it. - LL_DEBUGS("Voice") << "deleting session " << session->mSIPURI << LL_ENDL; + // _LL_DEBUGS("Voice") << "deleting session " << session->mSIPURI << LL_ENDL; deleteSession(session); } } else { -// LL_DEBUGS("Voice") << "session is NULL" << LL_ENDL; +// // _LL_DEBUGS("Voice") << "session is NULL" << LL_ENDL; } } @@ -3719,7 +3719,7 @@ void LLVivoxVoiceClient::accountLoginStateChangeEvent( login_state_error=100 */ - LL_DEBUGS("Voice") << "state change event: " << state << LL_ENDL; + // _LL_DEBUGS("Voice") << "state change event: " << state << LL_ENDL; switch(state) { case 1: @@ -3794,7 +3794,7 @@ void LLVivoxVoiceClient::mediaStreamUpdatedEvent( { sessionStatePtr_t session(findSession(sessionHandle)); - LL_DEBUGS("Voice") << "session " << sessionHandle << ", status code " << statusCode << ", string \"" << statusString << "\"" << LL_ENDL; + // _LL_DEBUGS("Voice") << "session " << sessionHandle << ", status code " << statusCode << ", string \"" << statusString << "\"" << LL_ENDL; if(session) { @@ -3862,7 +3862,7 @@ void LLVivoxVoiceClient::mediaStreamUpdatedEvent( else { // session disconnectintg and disconnected events arriving after we have already left the session. - LL_DEBUGS("Voice") << "session " << sessionHandle << " not found"<< LL_ENDL; + // _LL_DEBUGS("Voice") << "session " << sessionHandle << " not found"<< LL_ENDL; } } @@ -3883,8 +3883,8 @@ void LLVivoxVoiceClient::participantAddedEvent( { participant->mAccountName = nameString; - LL_DEBUGS("Voice") << "added participant \"" << participant->mAccountName - << "\" (" << participant->mAvatarID << ")"<< LL_ENDL; + /*// _LL_DEBUGS("Voice") << "added participant \"" << participant->mAccountName + << "\" (" << participant->mAvatarID << ")"<< LL_ENDL;*/ if(participant->mAvatarIDValid) { @@ -3931,13 +3931,13 @@ void LLVivoxVoiceClient::participantRemovedEvent( } else { - LL_DEBUGS("Voice") << "unknown participant " << uriString << LL_ENDL; + // _LL_DEBUGS("Voice") << "unknown participant " << uriString << LL_ENDL; } } else { // a late arriving event on a session we have already left. - LL_DEBUGS("Voice") << "unknown session " << sessionHandle << LL_ENDL; + // _LL_DEBUGS("Voice") << "unknown session " << sessionHandle << LL_ENDL; } } @@ -4023,7 +4023,7 @@ void LLVivoxVoiceClient::participantUpdatedEvent( } else { - LL_DEBUGS("Voice") << "unknown session " << sessionHandle << LL_ENDL; + // _LL_DEBUGS("Voice") << "unknown session " << sessionHandle << LL_ENDL; } } @@ -4035,8 +4035,8 @@ void LLVivoxVoiceClient::messageEvent( std::string &messageBody, std::string &applicationString) { - LL_DEBUGS("Voice") << "Message event, session " << sessionHandle << " from " << uriString << LL_ENDL; -// LL_DEBUGS("Voice") << " header " << messageHeader << ", body: \n" << messageBody << LL_ENDL; + // _LL_DEBUGS("Voice") << "Message event, session " << sessionHandle << " from " << uriString << LL_ENDL; +// // _LL_DEBUGS("Voice") << " header " << messageHeader << ", body: \n" << messageBody << LL_ENDL; LL_INFOS("Voice") << "Vivox raw message:" << std::endl << messageBody << LL_ENDL; @@ -4089,7 +4089,7 @@ void LLVivoxVoiceClient::messageEvent( } } -// LL_DEBUGS("Voice") << " raw message = \n" << message << LL_ENDL; +// // _LL_DEBUGS("Voice") << " raw message = \n" << message << LL_ENDL; // strip formatting tags { @@ -4141,7 +4141,7 @@ void LLVivoxVoiceClient::messageEvent( // strip leading/trailing whitespace (since we always seem to get a couple newlines) LLStringUtil::trim(message); -// LL_DEBUGS("Voice") << " stripped message = \n" << message << LL_ENDL; +// // _LL_DEBUGS("Voice") << " stripped message = \n" << message << LL_ENDL; sessionStatePtr_t session(findSession(sessionHandle)); if(session) @@ -4164,7 +4164,7 @@ void LLVivoxVoiceClient::messageEvent( // TODO: Question: Return do not disturb mode response here? Or maybe when session is started instead? } - LL_DEBUGS("Voice") << "adding message, name " << session->mName << " session " << session->mIMSessionID << ", target " << session->mCallerID << LL_ENDL; + // _LL_DEBUGS("Voice") << "adding message, name " << session->mName << " session " << session->mIMSessionID << ", target " << session->mCallerID << LL_ENDL; LLIMMgr::getInstance()->addMessage(session->mIMSessionID, session->mCallerID, session->mName.c_str(), @@ -4205,23 +4205,23 @@ void LLVivoxVoiceClient::sessionNotificationEvent(std::string &sessionHandle, st } else { - LL_DEBUGS("Voice") << "Unknown notification type " << notificationType << "for participant " << uriString << " in session " << session->mSIPURI << LL_ENDL; + // _LL_DEBUGS("Voice") << "Unknown notification type " << notificationType << "for participant " << uriString << " in session " << session->mSIPURI << LL_ENDL; } } else { - LL_DEBUGS("Voice") << "Unknown participant " << uriString << " in session " << session->mSIPURI << LL_ENDL; + // _LL_DEBUGS("Voice") << "Unknown participant " << uriString << " in session " << session->mSIPURI << LL_ENDL; } } else { - LL_DEBUGS("Voice") << "Unknown session handle " << sessionHandle << LL_ENDL; + // _LL_DEBUGS("Voice") << "Unknown session handle " << sessionHandle << LL_ENDL; } } void LLVivoxVoiceClient::auxAudioPropertiesEvent(F32 energy) { - LL_DEBUGS("VoiceEnergy") << "got energy " << energy << LL_ENDL; + // _LL_DEBUGS("VoiceEnergy") << "got energy " << energy << LL_ENDL; mTuningEnergy = energy; } @@ -4325,7 +4325,7 @@ LLVivoxVoiceClient::participantStatePtr_t LLVivoxVoiceClient::sessionState::addP mVolumeDirty = true; } - LL_DEBUGS("Voice") << "participant \"" << result->mURI << "\" added." << LL_ENDL; + // _LL_DEBUGS("Voice") << "participant \"" << result->mURI << "\" added." << LL_ENDL; } return result; @@ -4357,7 +4357,7 @@ void LLVivoxVoiceClient::sessionState::removeParticipant(const LLVivoxVoiceClien participantMap::iterator iter = mParticipantsByURI.find(participant->mURI); participantUUIDMap::iterator iter2 = mParticipantsByUUID.find(participant->mAvatarID); - LL_DEBUGS("Voice") << "participant \"" << participant->mURI << "\" (" << participant->mAvatarID << ") removed." << LL_ENDL; + // _LL_DEBUGS("Voice") << "participant \"" << participant->mURI << "\" (" << participant->mAvatarID << ") removed." << LL_ENDL; if(iter == mParticipantsByURI.end()) { @@ -4383,7 +4383,7 @@ void LLVivoxVoiceClient::sessionState::removeParticipant(const LLVivoxVoiceClien void LLVivoxVoiceClient::sessionState::removeAllParticipants() { - LL_DEBUGS("Voice") << "called" << LL_ENDL; + // _LL_DEBUGS("Voice") << "called" << LL_ENDL; while(!mParticipantsByURI.empty()) { @@ -4498,7 +4498,7 @@ bool LLVivoxVoiceClient::checkParcelChanged(bool update) S32 parcelLocalID = parcel->getLocalID(); std::string regionName = region->getName(); - // LL_DEBUGS("Voice") << "Region name = \"" << regionName << "\", parcel local ID = " << parcelLocalID << ", cap URI = \"" << capURI << "\"" << LL_ENDL; + // // _LL_DEBUGS("Voice") << "Region name = \"" << regionName << "\", parcel local ID = " << parcelLocalID << ", cap URI = \"" << capURI << "\"" << LL_ENDL; // The region name starts out empty and gets filled in later. // Also, the cap gets filled in a short time after the region cross, but a little too late for our purposes. @@ -4577,7 +4577,7 @@ bool LLVivoxVoiceClient::switchChannel( if(uri.empty()) { // Leave any channel we may be in - LL_DEBUGS("Voice") << "leaving channel" << LL_ENDL; + // _LL_DEBUGS("Voice") << "leaving channel" << LL_ENDL; sessionStatePtr_t oldSession = mNextAudioSession; mNextAudioSession.reset(); @@ -4589,7 +4589,7 @@ bool LLVivoxVoiceClient::switchChannel( } else { - LL_DEBUGS("Voice") << "switching to channel " << uri << LL_ENDL; + // _LL_DEBUGS("Voice") << "switching to channel " << uri << LL_ENDL; mNextAudioSession = addSession(uri); mNextAudioSession->mHash = hash; @@ -4636,7 +4636,7 @@ bool LLVivoxVoiceClient::setSpatialChannel( mSpatialSessionCredentials = credentials; mAreaVoiceDisabled = mSpatialSessionURI.empty(); - LL_DEBUGS("Voice") << "got spatial channel uri: \"" << uri << "\"" << LL_ENDL; + // _LL_DEBUGS("Voice") << "got spatial channel uri: \"" << uri << "\"" << LL_ENDL; if((mIsInChannel && mAudioSession && !(mAudioSession->mIsSpatial)) || (mNextAudioSession && !(mNextAudioSession->mIsSpatial))) { @@ -4711,7 +4711,7 @@ void LLVivoxVoiceClient::endUserIMSession(const LLUUID &uuid) } else { - LL_DEBUGS("Voice") << "Session not found for participant ID " << uuid << LL_ENDL; + // _LL_DEBUGS("Voice") << "Session not found for participant ID " << uuid << LL_ENDL; } #endif } @@ -4824,7 +4824,7 @@ bool LLVivoxVoiceClient::singletoneInstanceExists() void LLVivoxVoiceClient::leaveNonSpatialChannel() { - LL_DEBUGS("Voice") << "Request to leave spacial channel." << LL_ENDL; + // _LL_DEBUGS("Voice") << "Request to leave spacial channel." << LL_ENDL; // Make sure we don't rejoin the current session. sessionStatePtr_t oldNextSession(mNextAudioSession); @@ -5161,7 +5161,7 @@ void LLVivoxVoiceClient::leaveChannel(void) { if (mIsInChannel) { - LL_DEBUGS("Voice") << "leaving channel for teleport/logout" << LL_ENDL; + // _LL_DEBUGS("Voice") << "leaving channel for teleport/logout" << LL_ENDL; mChannelName.clear(); sessionTerminate(); } @@ -5178,11 +5178,11 @@ void LLVivoxVoiceClient::setMuteMic(bool muted) void LLVivoxVoiceClient::setVoiceEnabled(bool enabled) { - LL_DEBUGS("Voice") + /*// _LL_DEBUGS("Voice") << "( " << (enabled ? "enabled" : "disabled") << " )" << " was "<< (mVoiceEnabled ? "enabled" : "disabled") << " coro "<< (mIsCoroutineActive ? "active" : "inactive") - << LL_ENDL; + << LL_ENDL;*/ if (enabled != mVoiceEnabled) { @@ -5193,7 +5193,7 @@ void LLVivoxVoiceClient::setVoiceEnabled(bool enabled) if (enabled) { - LL_DEBUGS("Voice") << "enabling" << LL_ENDL; + // _LL_DEBUGS("Voice") << "enabling" << LL_ENDL; LLVoiceChannel::getCurrentVoiceChannel()->activate(); status = LLVoiceClientStatusObserver::STATUS_VOICE_ENABLED; @@ -5204,7 +5204,7 @@ void LLVivoxVoiceClient::setVoiceEnabled(bool enabled) } else { - LL_DEBUGS("Voice") << "coro should be active.. not launching" << LL_ENDL; + // _LL_DEBUGS("Voice") << "coro should be active.. not launching" << LL_ENDL; } } else @@ -5219,7 +5219,7 @@ void LLVivoxVoiceClient::setVoiceEnabled(bool enabled) } else { - LL_DEBUGS("Voice") << " no-op" << LL_ENDL; + // _LL_DEBUGS("Voice") << " no-op" << LL_ENDL; } } @@ -5251,7 +5251,7 @@ void LLVivoxVoiceClient::setEarLocation(S32 loc) { if(mEarLocation != loc) { - LL_DEBUGS("Voice") << "Setting mEarLocation to " << loc << LL_ENDL; + // _LL_DEBUGS("Voice") << "Setting mEarLocation to " << loc << LL_ENDL; mEarLocation = loc; mSpatialCoordsDirty = true; @@ -5400,7 +5400,7 @@ F32 LLVivoxVoiceClient::getUserVolume(const LLUUID& id) result = participant->mVolume; // Enable this when debugging voice slider issues. It's way to spammy even for debug-level logging. - // LL_DEBUGS("Voice") << "mVolume = " << result << " for " << id << LL_ENDL; + // // _LL_DEBUGS("Voice") << "mVolume = " << result << " for " << id << LL_ENDL; } return result; @@ -5452,7 +5452,7 @@ BOOL LLVivoxVoiceClient::getAreaVoiceDisabled() void LLVivoxVoiceClient::recordingLoopStart(int seconds, int deltaFramesPerControlFrame) { -// LL_DEBUGS("Voice") << "sending SessionGroup.ControlRecording (Start)" << LL_ENDL; +// // _LL_DEBUGS("Voice") << "sending SessionGroup.ControlRecording (Start)" << LL_ENDL; if(!mMainSessionGroupHandle.empty()) { @@ -5474,7 +5474,7 @@ void LLVivoxVoiceClient::recordingLoopStart(int seconds, int deltaFramesPerContr void LLVivoxVoiceClient::recordingLoopSave(const std::string& filename) { -// LL_DEBUGS("Voice") << "sending SessionGroup.ControlRecording (Flush)" << LL_ENDL; +// // _LL_DEBUGS("Voice") << "sending SessionGroup.ControlRecording (Flush)" << LL_ENDL; if(mAudioSession != NULL && !mAudioSession->mGroupHandle.empty()) { @@ -5492,7 +5492,7 @@ void LLVivoxVoiceClient::recordingLoopSave(const std::string& filename) void LLVivoxVoiceClient::recordingStop() { -// LL_DEBUGS("Voice") << "sending SessionGroup.ControlRecording (Stop)" << LL_ENDL; +// // _LL_DEBUGS("Voice") << "sending SessionGroup.ControlRecording (Stop)" << LL_ENDL; if(mAudioSession != NULL && !mAudioSession->mGroupHandle.empty()) { @@ -5509,7 +5509,7 @@ void LLVivoxVoiceClient::recordingStop() void LLVivoxVoiceClient::filePlaybackStart(const std::string& filename) { -// LL_DEBUGS("Voice") << "sending SessionGroup.ControlPlayback (Start)" << LL_ENDL; +// // _LL_DEBUGS("Voice") << "sending SessionGroup.ControlPlayback (Start)" << LL_ENDL; if(mAudioSession != NULL && !mAudioSession->mGroupHandle.empty()) { @@ -5527,7 +5527,7 @@ void LLVivoxVoiceClient::filePlaybackStart(const std::string& filename) void LLVivoxVoiceClient::filePlaybackStop() { -// LL_DEBUGS("Voice") << "sending SessionGroup.ControlPlayback (Stop)" << LL_ENDL; +// // _LL_DEBUGS("Voice") << "sending SessionGroup.ControlPlayback (Stop)" << LL_ENDL; if(mAudioSession != NULL && !mAudioSession->mGroupHandle.empty()) { @@ -5771,7 +5771,7 @@ LLVivoxVoiceClient::sessionStatePtr_t LLVivoxVoiceClient::addSession(const std:: { // No existing session found. - LL_DEBUGS("Voice") << "adding new session: handle \"" << handle << "\" URI " << uri << LL_ENDL; + // _LL_DEBUGS("Voice") << "adding new session: handle \"" << handle << "\" URI " << uri << LL_ENDL; result = sessionState::createSession(); result->mSIPURI = uri; result->mHandle = handle; @@ -5796,7 +5796,7 @@ LLVivoxVoiceClient::sessionStatePtr_t LLVivoxVoiceClient::addSession(const std:: if(uri != result->mSIPURI) { // TODO: Should this be an internal error? - LL_DEBUGS("Voice") << "changing uri from " << result->mSIPURI << " to " << uri << LL_ENDL; + // _LL_DEBUGS("Voice") << "changing uri from " << result->mSIPURI << " to " << uri << LL_ENDL; setSessionURI(result, uri); } @@ -5805,17 +5805,17 @@ LLVivoxVoiceClient::sessionStatePtr_t LLVivoxVoiceClient::addSession(const std:: if(handle.empty()) { // There's at least one race condition where where addSession was clearing an existing session handle, which caused things to break. - LL_DEBUGS("Voice") << "NOT clearing handle " << result->mHandle << LL_ENDL; + // _LL_DEBUGS("Voice") << "NOT clearing handle " << result->mHandle << LL_ENDL; } else { // TODO: Should this be an internal error? - LL_DEBUGS("Voice") << "changing handle from " << result->mHandle << " to " << handle << LL_ENDL; + // _LL_DEBUGS("Voice") << "changing handle from " << result->mHandle << " to " << handle << LL_ENDL; setSessionHandle(result, handle); } } - LL_DEBUGS("Voice") << "returning existing session: handle " << handle << " URI " << uri << LL_ENDL; + // _LL_DEBUGS("Voice") << "returning existing session: handle " << handle << " URI " << uri << LL_ENDL; } verifySessionState(); @@ -5924,7 +5924,7 @@ void LLVivoxVoiceClient::deleteSession(const sessionStatePtr_t session) void LLVivoxVoiceClient::deleteAllSessions() { - LL_DEBUGS("Voice") << LL_ENDL; + // _LL_DEBUGS("Voice") << LL_ENDL; while (!mSessionsByHandle.empty()) { @@ -5936,7 +5936,7 @@ void LLVivoxVoiceClient::deleteAllSessions() void LLVivoxVoiceClient::verifySessionState(void) { - LL_DEBUGS("Voice") << "Sessions in handle map=" << mSessionsByHandle.size() << LL_ENDL; + // _LL_DEBUGS("Voice") << "Sessions in handle map=" << mSessionsByHandle.size() << LL_ENDL; sessionState::VerifySessions(); } @@ -5975,9 +5975,9 @@ void LLVivoxVoiceClient::removeObserver(LLVoiceClientStatusObserver* observer) void LLVivoxVoiceClient::notifyStatusObservers(LLVoiceClientStatusObserver::EStatusType status) { - LL_DEBUGS("Voice") << "( " << LLVoiceClientStatusObserver::status2string(status) << " )" + /*// _LL_DEBUGS("Voice") << "( " << LLVoiceClientStatusObserver::status2string(status) << " )" << " mAudioSession=" << mAudioSession - << LL_ENDL; + << LL_ENDL;*/ if(mAudioSession) { @@ -6020,11 +6020,11 @@ void LLVivoxVoiceClient::notifyStatusObservers(LLVoiceClientStatusObserver::ESta } } - LL_DEBUGS("Voice") + /*// _LL_DEBUGS("Voice") << " " << LLVoiceClientStatusObserver::status2string(status) << ", session URI " << getAudioSessionURI() << ", proximal is " << inSpatialChannel() - << LL_ENDL; + << LL_ENDL;*/ for (status_observer_set_t::iterator it = mStatusObservers.begin(); it != mStatusObservers.end(); @@ -6148,12 +6148,12 @@ bool LLVivoxVoiceClient::setVoiceEffect(const LLUUID& id) { if (mVoiceFontMap.empty()) { - LL_DEBUGS("Voice") << "Voice fonts not available." << LL_ENDL; + // _LL_DEBUGS("Voice") << "Voice fonts not available." << LL_ENDL; return false; } else if (mVoiceFontMap.find(id) == mVoiceFontMap.end()) { - LL_DEBUGS("Voice") << "Invalid voice font " << id << LL_ENDL; + // _LL_DEBUGS("Voice") << "Invalid voice font " << id << LL_ENDL; return false; } } @@ -6282,9 +6282,9 @@ void LLVivoxVoiceClient::addVoiceFont(const S32 font_index, if (has_expired) { - LL_DEBUGS("VoiceFont") << "Expired " << (template_font ? "Template " : "") + /*// _LL_DEBUGS("VoiceFont") << "Expired " << (template_font ? "Template " : "") << expiration_date.asString() << " " << font_id - << " (" << font_index << ") " << name << LL_ENDL; + << " (" << font_index << ") " << name << LL_ENDL;*/ // Remove existing session fonts that have expired since we last saw them. if (!new_font && !template_font) @@ -6345,9 +6345,9 @@ void LLVivoxVoiceClient::addVoiceFont(const S32 font_index, } } - LL_DEBUGS("VoiceFont") << (template_font ? "Template " : "") + /*// _LL_DEBUGS("VoiceFont") << (template_font ? "Template " : "") << font->mExpirationDate.asString() << " " << font->mID - << " (" << font->mFontIndex << ") " << name << LL_ENDL; + << " (" << font->mFontIndex << ") " << name << LL_ENDL;*/ if (new_font) { @@ -6401,7 +6401,7 @@ void LLVivoxVoiceClient::expireVoiceFonts() expired_in_use = true; } - LL_DEBUGS("Voice") << "Voice Font " << voice_font->mName << " has expired." << LL_ENDL; + // _LL_DEBUGS("Voice") << "Voice Font " << voice_font->mName << " has expired." << LL_ENDL; deleteVoiceFont(voice_font->mID); have_expired = true; } @@ -6409,7 +6409,7 @@ void LLVivoxVoiceClient::expireVoiceFonts() // Check for voice fonts that will expire in less that the warning time if (warning_timer.getStarted() && warning_timer.hasExpired()) { - LL_DEBUGS("VoiceFont") << "Voice Font " << voice_font->mName << " will expire soon." << LL_ENDL; + // _LL_DEBUGS("VoiceFont") << "Voice Font " << voice_font->mName << " will expire soon." << LL_ENDL; will_expire = true; warning_timer.stop(); } @@ -6453,7 +6453,7 @@ void LLVivoxVoiceClient::deleteVoiceFont(const LLUUID& id) { if (list_iter->second == id) { - LL_DEBUGS("VoiceFont") << "Removing " << id << " from the voice font list." << LL_ENDL; + // _LL_DEBUGS("VoiceFont") << "Removing " << id << " from the voice font list." << LL_ENDL; mVoiceFontList.erase(list_iter++); mVoiceFontListDirty = true; } @@ -6540,7 +6540,7 @@ void LLVivoxVoiceClient::accountGetSessionFontsSendMessage() { std::ostringstream stream; - LL_DEBUGS("VoiceFont") << "Requesting voice font list." << LL_ENDL; + // _LL_DEBUGS("VoiceFont") << "Requesting voice font list." << LL_ENDL; stream << "<Request requestId=\"" << mCommandCookie++ << "\" action=\"Account.GetSessionFonts.1\">" @@ -6558,7 +6558,7 @@ void LLVivoxVoiceClient::accountGetTemplateFontsSendMessage() { std::ostringstream stream; - LL_DEBUGS("VoiceFont") << "Requesting voice font template list." << LL_ENDL; + // _LL_DEBUGS("VoiceFont") << "Requesting voice font template list." << LL_ENDL; stream << "<Request requestId=\"" << mCommandCookie++ << "\" action=\"Account.GetTemplateFonts.1\">" @@ -6573,7 +6573,7 @@ void LLVivoxVoiceClient::accountGetTemplateFontsSendMessage() void LLVivoxVoiceClient::sessionSetVoiceFontSendMessage(const sessionStatePtr_t &session) { S32 font_index = getVoiceFontIndex(session->mVoiceFontID); - LL_DEBUGS("VoiceFont") << "Requesting voice font: " << session->mVoiceFontID << " (" << font_index << "), session handle: " << session->mHandle << LL_ENDL; + // _LL_DEBUGS("VoiceFont") << "Requesting voice font: " << session->mVoiceFontID << " (" << font_index << "), session handle: " << session->mHandle << LL_ENDL; std::ostringstream stream; @@ -6710,7 +6710,7 @@ void LLVivoxVoiceClient::updateVoiceMorphingMenu() } void LLVivoxVoiceClient::notifyVoiceFontObservers() { - LL_DEBUGS("VoiceFont") << "Notifying voice effect observers. Lists changed: " << mVoiceFontListDirty << LL_ENDL; + // _LL_DEBUGS("VoiceFont") << "Notifying voice effect observers. Lists changed: " << mVoiceFontListDirty << LL_ENDL; updateVoiceMorphingMenu(); @@ -6749,7 +6749,7 @@ void LLVivoxVoiceClient::enablePreviewBuffer(bool enable) if(mCaptureBufferMode && mIsInChannel) { - LL_DEBUGS("Voice") << "no channel" << LL_ENDL; + // _LL_DEBUGS("Voice") << "no channel" << LL_ENDL; sessionTerminate(); } } @@ -6758,7 +6758,7 @@ void LLVivoxVoiceClient::recordPreviewBuffer() { if (!mCaptureBufferMode) { - LL_DEBUGS("Voice") << "Not in voice effect preview mode, cannot start recording." << LL_ENDL; + // _LL_DEBUGS("Voice") << "Not in voice effect preview mode, cannot start recording." << LL_ENDL; mCaptureBufferRecording = false; return; } @@ -6773,7 +6773,7 @@ void LLVivoxVoiceClient::playPreviewBuffer(const LLUUID& effect_id) { if (!mCaptureBufferMode) { - LL_DEBUGS("Voice") << "Not in voice effect preview mode, no buffer to play." << LL_ENDL; + // _LL_DEBUGS("Voice") << "Not in voice effect preview mode, no buffer to play." << LL_ENDL; mCaptureBufferRecording = false; return; } @@ -6816,7 +6816,7 @@ void LLVivoxVoiceClient::captureBufferRecordStartSendMessage() { std::ostringstream stream; - LL_DEBUGS("Voice") << "Starting audio capture to buffer." << LL_ENDL; + // _LL_DEBUGS("Voice") << "Starting audio capture to buffer." << LL_ENDL; // Start capture stream @@ -6843,7 +6843,7 @@ void LLVivoxVoiceClient::captureBufferRecordStopSendMessage() { std::ostringstream stream; - LL_DEBUGS("Voice") << "Stopping audio capture to buffer." << LL_ENDL; + // _LL_DEBUGS("Voice") << "Stopping audio capture to buffer." << LL_ENDL; // Mute the mic. Mic mute state was dirtied at recording start, so will be reset when finished previewing. stream << "<Request requestId=\"" << mCommandCookie++ << "\" action=\"Connector.MuteLocalMic.1\">" @@ -6872,10 +6872,10 @@ void LLVivoxVoiceClient::captureBufferPlayStartSendMessage(const LLUUID& voice_f std::ostringstream stream; - LL_DEBUGS("Voice") << "Starting audio buffer playback." << LL_ENDL; + // _LL_DEBUGS("Voice") << "Starting audio buffer playback." << LL_ENDL; S32 font_index = getVoiceFontTemplateIndex(voice_font_id); - LL_DEBUGS("Voice") << "With voice font: " << voice_font_id << " (" << font_index << ")" << LL_ENDL; + // _LL_DEBUGS("Voice") << "With voice font: " << voice_font_id << " (" << font_index << ")" << LL_ENDL; stream << "<Request requestId=\"" << mCommandCookie++ << "\" action=\"Aux.PlayAudioBuffer.1\">" @@ -6895,7 +6895,7 @@ void LLVivoxVoiceClient::captureBufferPlayStopSendMessage() { std::ostringstream stream; - LL_DEBUGS("Voice") << "Stopping audio buffer playback." << LL_ENDL; + // _LL_DEBUGS("Voice") << "Stopping audio buffer playback." << LL_ENDL; stream << "<Request requestId=\"" << mCommandCookie++ << "\" action=\"Aux.RenderAudioStop.1\">" @@ -6985,14 +6985,14 @@ LLIOPipe::EStatus LLVivoxProtocolParser::process_impl( XML_SetUserData(parser, this); XML_Parse(parser, mInput.data() + start, delim - start, false); - LL_DEBUGS("VivoxProtocolParser") << "parsing: " << mInput.substr(start, delim - start) << LL_ENDL; + // _LL_DEBUGS("VivoxProtocolParser") << "parsing: " << mInput.substr(start, delim - start) << LL_ENDL; start = delim + 3; } if(start != 0) mInput = mInput.substr(start); - LL_DEBUGS("VivoxProtocolParser") << "at end, mInput is: " << mInput << LL_ENDL; + // _LL_DEBUGS("VivoxProtocolParser") << "at end, mInput is: " << mInput << LL_ENDL; if(!LLVivoxVoiceClient::getInstance()->mConnected) { @@ -7071,17 +7071,17 @@ void LLVivoxProtocolParser::StartTag(const char *tag, const char **attr) } } } - LL_DEBUGS("VivoxProtocolParser") << tag << " (" << responseDepth << ")" << LL_ENDL; + // _LL_DEBUGS("VivoxProtocolParser") << tag << " (" << responseDepth << ")" << LL_ENDL; } else { if (ignoringTags) { - LL_DEBUGS("VivoxProtocolParser") << "ignoring tag " << tag << " (depth = " << responseDepth << ")" << LL_ENDL; + // _LL_DEBUGS("VivoxProtocolParser") << "ignoring tag " << tag << " (depth = " << responseDepth << ")" << LL_ENDL; } else { - LL_DEBUGS("VivoxProtocolParser") << tag << " (" << responseDepth << ")" << LL_ENDL; + // _LL_DEBUGS("VivoxProtocolParser") << tag << " (" << responseDepth << ")" << LL_ENDL; // Ignore the InputXml stuff so we don't get confused if (!stricmp("InputXml", tag)) @@ -7090,7 +7090,7 @@ void LLVivoxProtocolParser::StartTag(const char *tag, const char **attr) ignoreDepth = responseDepth; accumulateText = false; - LL_DEBUGS("VivoxProtocolParser") << "starting ignore, ignoreDepth is " << ignoreDepth << LL_ENDL; + // _LL_DEBUGS("VivoxProtocolParser") << "starting ignore, ignoreDepth is " << ignoreDepth << LL_ENDL; } else if (!stricmp("CaptureDevices", tag)) { @@ -7149,18 +7149,18 @@ void LLVivoxProtocolParser::EndTag(const char *tag) { if (ignoreDepth == responseDepth) { - LL_DEBUGS("VivoxProtocolParser") << "end of ignore" << LL_ENDL; + // _LL_DEBUGS("VivoxProtocolParser") << "end of ignore" << LL_ENDL; ignoringTags = false; } else { - LL_DEBUGS("VivoxProtocolParser") << "ignoring tag " << tag << " (depth = " << responseDepth << ")" << LL_ENDL; + // _LL_DEBUGS("VivoxProtocolParser") << "ignoring tag " << tag << " (depth = " << responseDepth << ")" << LL_ENDL; } } if (!ignoringTags) { - LL_DEBUGS("VivoxProtocolParser") << "processing tag " << tag << " (depth = " << responseDepth << ")" << LL_ENDL; + // _LL_DEBUGS("VivoxProtocolParser") << "processing tag " << tag << " (depth = " << responseDepth << ")" << LL_ENDL; // Closing a tag. Finalize the text we've accumulated and reset if (!stricmp("ReturnCode", tag)) @@ -7346,7 +7346,7 @@ LLDate LLVivoxProtocolParser::expiryTimeStampToLLDate(const std::string& vivox_t std::string time_stamp = vivox_ts.substr(0, 10); time_stamp += VOICE_FONT_EXPIRY_TIME; - LL_DEBUGS("VivoxProtocolParser") << "Vivox timestamp " << vivox_ts << " modified to: " << time_stamp << LL_ENDL; + // _LL_DEBUGS("VivoxProtocolParser") << "Vivox timestamp " << vivox_ts << " modified to: " << time_stamp << LL_ENDL; return LLDate(time_stamp); } @@ -7355,7 +7355,7 @@ LLDate LLVivoxProtocolParser::expiryTimeStampToLLDate(const std::string& vivox_t void LLVivoxProtocolParser::processResponse(std::string tag) { - LL_DEBUGS("VivoxProtocolParser") << tag << LL_ENDL; + // _LL_DEBUGS("VivoxProtocolParser") << tag << LL_ENDL; // SLIM SDK: the SDK now returns a statusCode of "200" (OK) for success. This is a change vs. previous SDKs. // According to Mike S., "The actual API convention is that responses with return codes of 0 are successful, regardless of the status code returned", @@ -7367,12 +7367,12 @@ void LLVivoxProtocolParser::processResponse(std::string tag) if (isEvent) { const char *eventTypeCstr = eventTypeString.c_str(); - LL_DEBUGS("LowVoice") << eventTypeCstr << LL_ENDL; + // _LL_DEBUGS("LowVoice") << eventTypeCstr << LL_ENDL; if (!stricmp(eventTypeCstr, "ParticipantUpdatedEvent")) { // These happen so often that logging them is pretty useless. - LL_DEBUGS("LowVoice") << "Updated Params: " << sessionHandle << ", " << sessionGroupHandle << ", " << uriString << ", " << alias << ", " << isModeratorMuted << ", " << isSpeaking << ", " << volume << ", " << energy << LL_ENDL; + // _LL_DEBUGS("LowVoice") << "Updated Params: " << sessionHandle << ", " << sessionGroupHandle << ", " << uriString << ", " << alias << ", " << isModeratorMuted << ", " << isSpeaking << ", " << volume << ", " << energy << LL_ENDL; LLVivoxVoiceClient::getInstance()->participantUpdatedEvent(sessionHandle, sessionGroupHandle, uriString, alias, isModeratorMuted, isSpeaking, volume, energy); } else if (!stricmp(eventTypeCstr, "AccountLoginStateChangeEvent")) @@ -7441,7 +7441,7 @@ void LLVivoxProtocolParser::processResponse(std::string tag) <ParticipantType>0</ParticipantType> </Event> */ - LL_DEBUGS("LowVoice") << "Added Params: " << sessionHandle << ", " << sessionGroupHandle << ", " << uriString << ", " << alias << ", " << nameString << ", " << displayNameString << ", " << participantType << LL_ENDL; + // _LL_DEBUGS("LowVoice") << "Added Params: " << sessionHandle << ", " << sessionGroupHandle << ", " << uriString << ", " << alias << ", " << nameString << ", " << displayNameString << ", " << participantType << LL_ENDL; LLVivoxVoiceClient::getInstance()->participantAddedEvent(sessionHandle, sessionGroupHandle, uriString, alias, nameString, displayNameString, participantType); } else if (!stricmp(eventTypeCstr, "ParticipantRemovedEvent")) @@ -7454,7 +7454,7 @@ void LLVivoxProtocolParser::processResponse(std::string tag) <AccountName>xtx7YNV-3SGiG7rA1fo5Ndw==</AccountName> </Event> */ - LL_DEBUGS("LowVoice") << "Removed params:" << sessionHandle << ", " << sessionGroupHandle << ", " << uriString << ", " << alias << ", " << nameString << LL_ENDL; + // _LL_DEBUGS("LowVoice") << "Removed params:" << sessionHandle << ", " << sessionGroupHandle << ", " << uriString << ", " << alias << ", " << nameString << LL_ENDL; LLVivoxVoiceClient::getInstance()->participantRemovedEvent(sessionHandle, sessionGroupHandle, uriString, alias, nameString); } @@ -7521,7 +7521,7 @@ void LLVivoxProtocolParser::processResponse(std::string tag) else { const char *actionCstr = actionString.c_str(); - LL_DEBUGS("LowVoice") << actionCstr << LL_ENDL; + // _LL_DEBUGS("LowVoice") << actionCstr << LL_ENDL; if (!stricmp(actionCstr, "Session.Set3DPosition.1")) { diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 1c617d86a90..c2bbe5ef763 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -356,7 +356,7 @@ U32 LLVOVolume::processUpdateMessage(LLMessageSystem *mesgsys, sculpt_id = sculpt_params->getSculptTexture(); sculpt_type = sculpt_params->getSculptType(); - LL_DEBUGS("ObjectUpdate") << "uuid " << mID << " set sculpt_id " << sculpt_id << LL_ENDL; + // _LL_DEBUGS("ObjectUpdate") << "uuid " << mID << " set sculpt_id " << sculpt_id << LL_ENDL; dumpStack("ObjectUpdateStack"); } @@ -531,8 +531,8 @@ U32 LLVOVolume::processUpdateMessage(LLMessageSystem *mesgsys, ! LLTextureEntry::isMediaVersionString(mMedia->mMediaURL) ) ) { // If the media changed at all, request new media data - LL_DEBUGS("MediaOnAPrim") << "Media update: " << getID() << ": retval=" << retval << " Media URL: " << - ((mMedia) ? mMedia->mMediaURL : std::string("")) << LL_ENDL; + /*// _LL_DEBUGS("MediaOnAPrim") << "Media update: " << getID() << ": retval=" << retval << " Media URL: " << + ((mMedia) ? mMedia->mMediaURL : std::string("")) << LL_ENDL;*/ requestMediaDataUpdate(retval & MEDIA_FLAGS_CHANGED); } else { @@ -1392,7 +1392,7 @@ BOOL LLVOVolume::calcLOD() const LLVector3* box = avatar->getLastAnimExtents(); LLVector3 diag = box[1] - box[0]; radius = diag.magVec() * 0.5f; - LL_DEBUGS("DynamicBox") << avatar->getFullname() << " diag " << diag << " radius " << radius << LL_ENDL; + // _LL_DEBUGS("DynamicBox") << avatar->getFullname() << " diag " << diag << " radius " << radius << LL_ENDL; } else { @@ -1403,11 +1403,11 @@ BOOL LLVOVolume::calcLOD() const LLVector3* box = avatar->getLastAnimExtents(); LLVector3 diag = box[1] - box[0]; radius = diag.magVec(); // preserve old BinRadius behavior - 2x off - LL_DEBUGS("DynamicBox") << avatar->getFullname() << " diag " << diag << " radius " << radius << LL_ENDL; + // _LL_DEBUGS("DynamicBox") << avatar->getFullname() << " diag " << diag << " radius " << radius << LL_ENDL; } if (distance <= 0.f || radius <= 0.f) { - LL_DEBUGS("DynamicBox","CalcLOD") << "avatar distance/radius uninitialized, skipping" << LL_ENDL; + // _LL_DEBUGS("DynamicBox","CalcLOD") << "avatar distance/radius uninitialized, skipping" << LL_ENDL; return FALSE; } } @@ -1417,7 +1417,7 @@ BOOL LLVOVolume::calcLOD() radius = getVolume() ? getVolume()->mLODScaleBias.scaledVec(getScale()).length() : getScale().length(); if (distance <= 0.f || radius <= 0.f) { - LL_DEBUGS("DynamicBox","CalcLOD") << "non-avatar distance/radius uninitialized, skipping" << LL_ENDL; + // _LL_DEBUGS("DynamicBox","CalcLOD") << "non-avatar distance/radius uninitialized, skipping" << LL_ENDL; return FALSE; } } @@ -1489,12 +1489,12 @@ BOOL LLVOVolume::calcLOD() if (cur_detail != mLOD) { - LL_DEBUGS("DynamicBox","CalcLOD") << "new LOD " << cur_detail << " change from " << mLOD + /*// _LL_DEBUGS("DynamicBox","CalcLOD") << "new LOD " << cur_detail << " change from " << mLOD << " distance " << distance << " radius " << radius << " rampDist " << rampDist << " drawable rigged? " << (mDrawable ? (S32) mDrawable->isState(LLDrawable::RIGGED) : (S32) -1) << " mRiggedVolume " << (void*)getRiggedVolume() << " distanceWRTCamera " << (mDrawable ? mDrawable->mDistanceWRTCamera : -1.f) - << LL_ENDL; + << LL_ENDL;*/ mAppAngle = ll_round((F32) atan2( mDrawable->getRadius(), mDrawable->mDistanceWRTCamera) * RAD_TO_DEG, 0.01f); mLOD = cur_detail; @@ -1541,16 +1541,16 @@ BOOL LLVOVolume::updateLOD() if (lod_changed) { - static const bool enable_log = debugLoggingEnabled("AnimatedObjectsLinkset"); + /*static const bool enable_log = debugLoggingEnabled("AnimatedObjectsLinkset"); if (enable_log) { if (isAnimatedObject() && isRiggedMesh()) { std::string vobj_name = llformat("Vol%p", this); - F32 est_tris = getEstTrianglesMax(); - LL_DEBUGS("AnimatedObjectsLinkset") << vobj_name << " updateLOD to " << getLOD() << ", tris " << est_tris << LL_ENDL; + //F32 est_tris = getEstTrianglesMax(); + // _LL_DEBUGS("AnimatedObjectsLinkset") << vobj_name << " updateLOD to " << getLOD() << ", tris " << est_tris << LL_ENDL; } - } + }*/ gPipeline.markRebuild(mDrawable, LLDrawable::REBUILD_VOLUME, FALSE); mLODChanged = TRUE; @@ -1720,7 +1720,7 @@ BOOL LLVOVolume::genBBoxes(BOOL force_global) if (getRiggedVolume()) { - LL_DEBUGS("RiggedBox") << "rebuilding box, volume face count " << getVolume()->getNumVolumeFaces() << " drawable face count " << mDrawable->getNumFaces() << LL_ENDL; + // _LL_DEBUGS("RiggedBox") << "rebuilding box, volume face count " << getVolume()->getNumVolumeFaces() << " drawable face count " << mDrawable->getNumFaces() << LL_ENDL; } // There's no guarantee that getVolume()->getNumFaces() == mDrawable->getNumFaces() for (S32 i = 0; @@ -1747,7 +1747,7 @@ BOOL LLVOVolume::genBBoxes(BOOL force_global) { if (getRiggedVolume()) { - LL_DEBUGS("RiggedBox") << "rebuilding box, face " << i << " extents " << face->mExtents[0] << ", " << face->mExtents[1] << LL_ENDL; + // _LL_DEBUGS("RiggedBox") << "rebuilding box, face " << i << " extents " << face->mExtents[0] << ", " << face->mExtents[1] << LL_ENDL; } if (!any_valid_boxes) { @@ -1769,7 +1769,7 @@ BOOL LLVOVolume::genBBoxes(BOOL force_global) { if (getRiggedVolume()) { - LL_DEBUGS("RiggedBox") << "rebuilding got extents " << min << ", " << max << LL_ENDL; + // _LL_DEBUGS("RiggedBox") << "rebuilding got extents " << min << ", " << max << LL_ENDL; } mDrawable->setSpatialExtents(min,max); min.add(max); @@ -1782,7 +1782,7 @@ BOOL LLVOVolume::genBBoxes(BOOL force_global) } else { - LL_DEBUGS("RiggedBox") << "genBBoxes failed to find any valid face boxes" << LL_ENDL; + // _LL_DEBUGS("RiggedBox") << "genBBoxes failed to find any valid face boxes" << LL_ENDL; } return res; @@ -2307,7 +2307,7 @@ void LLVOVolume::setTEMaterialParamsCallbackTE(const LLUUID& objectID, const LLM LLVOVolume* pVol = (LLVOVolume*)gObjectList.findObject(objectID); if (pVol) { - LL_DEBUGS("MaterialTEs") << "materialid " << pMaterialID.asString() << " to TE " << te << LL_ENDL; + // _LL_DEBUGS("MaterialTEs") << "materialid " << pMaterialID.asString() << " to TE " << te << LL_ENDL; if (te >= pVol->getNumTEs()) return; @@ -2322,11 +2322,11 @@ void LLVOVolume::setTEMaterialParamsCallbackTE(const LLUUID& objectID, const LLM S32 LLVOVolume::setTEMaterialID(const U8 te, const LLMaterialID& pMaterialID) { S32 res = LLViewerObject::setTEMaterialID(te, pMaterialID); - LL_DEBUGS("MaterialTEs") << "te "<< (S32)te << " materialid " << pMaterialID.asString() << " res " << res + /*// _LL_DEBUGS("MaterialTEs") << "te "<< (S32)te << " materialid " << pMaterialID.asString() << " res " << res << ( LLSelectMgr::getInstance()->getSelection()->contains(const_cast<LLVOVolume*>(this), te) ? " selected" : " not selected" ) - << LL_ENDL; + << LL_ENDL;*/ - LL_DEBUGS("MaterialTEs") << " " << pMaterialID.asString() << LL_ENDL; + // _LL_DEBUGS("MaterialTEs") << " " << pMaterialID.asString() << LL_ENDL; if (res) { LLMaterialMgr::instance().getTE(getRegion()->getRegionID(), pMaterialID, te, boost::bind(&LLVOVolume::setTEMaterialParamsCallbackTE, getID(), _1, _2, _3)); @@ -2578,11 +2578,11 @@ S32 LLVOVolume::setTEMaterialParams(const U8 te, const LLMaterialPtr pMaterialPa } } - S32 res = LLViewerObject::setTEMaterialParams(te, pMaterial); + /*S32 res = */LLViewerObject::setTEMaterialParams(te, pMaterial); - LL_DEBUGS("MaterialTEs") << "te " << (S32)te << " material " << ((pMaterial) ? pMaterial->asLLSD() : LLSD("null")) << " res " << res + /*// _LL_DEBUGS("MaterialTEs") << "te " << (S32)te << " material " << ((pMaterial) ? pMaterial->asLLSD() : LLSD("null")) << " res " << res << ( LLSelectMgr::getInstance()->getSelection()->contains(const_cast<LLVOVolume*>(this), te) ? " selected" : " not selected" ) - << LL_ENDL; + << LL_ENDL;*/ setChanged(ALL_CHANGED); if (!mDrawable.isNull()) { @@ -2739,9 +2739,9 @@ void LLVOVolume::syncMediaData(S32 texture_index, const LLSD &media_data, bool m return ; } - LL_DEBUGS("MediaOnAPrim") << "BEFORE: texture_index = " << texture_index + /*// _LL_DEBUGS("MediaOnAPrim") << "BEFORE: texture_index = " << texture_index << " hasMedia = " << te->hasMedia() << " : " - << ((NULL == te->getMediaData()) ? "NULL MEDIA DATA" : ll_pretty_print_sd(te->getMediaData()->asLLSD())) << LL_ENDL; + << ((NULL == te->getMediaData()) ? "NULL MEDIA DATA" : ll_pretty_print_sd(te->getMediaData()->asLLSD())) << LL_ENDL;*/ std::string previous_url; LLMediaEntry* mep = te->getMediaData(); @@ -2781,9 +2781,9 @@ void LLVOVolume::syncMediaData(S32 texture_index, const LLSD &media_data, bool m removeMediaImpl(texture_index); } - LL_DEBUGS("MediaOnAPrim") << "AFTER: texture_index = " << texture_index + /*// _LL_DEBUGS("MediaOnAPrim") << "AFTER: texture_index = " << texture_index << " hasMedia = " << te->hasMedia() << " : " - << ((NULL == te->getMediaData()) ? "NULL MEDIA DATA" : ll_pretty_print_sd(te->getMediaData()->asLLSD())) << LL_ENDL; + << ((NULL == te->getMediaData()) ? "NULL MEDIA DATA" : ll_pretty_print_sd(te->getMediaData()->asLLSD())) << LL_ENDL;*/ } void LLVOVolume::mediaNavigateBounceBack(U8 texture_index) @@ -2918,7 +2918,7 @@ void LLVOVolume::mediaNavigated(LLViewerMediaImpl *impl, LLPluginClassMedia* plu else if (sObjectMediaNavigateClient) { - LL_DEBUGS("MediaOnAPrim") << "broadcasting navigate with URI " << new_location << LL_ENDL; + // _LL_DEBUGS("MediaOnAPrim") << "broadcasting navigate with URI " << new_location << LL_ENDL; sObjectMediaNavigateClient->navigate(new LLMediaDataClientObjectImpl(this, false), face_index, new_location); } @@ -2942,7 +2942,7 @@ void LLVOVolume::mediaEvent(LLViewerMediaImpl *impl, LLPluginClassMedia* plugin, case LLViewerMediaImpl::MEDIANAVSTATE_FIRST_LOCATION_CHANGED_SPURIOUS: // This navigate didn't change the current URL. - LL_DEBUGS("MediaOnAPrim") << " NOT broadcasting navigate (spurious)" << LL_ENDL; + // _LL_DEBUGS("MediaOnAPrim") << " NOT broadcasting navigate (spurious)" << LL_ENDL; break; case LLViewerMediaImpl::MEDIANAVSTATE_SERVER_FIRST_LOCATION_CHANGED: @@ -2971,7 +2971,7 @@ void LLVOVolume::mediaEvent(LLViewerMediaImpl *impl, LLPluginClassMedia* plugin, case LLViewerMediaImpl::MEDIANAVSTATE_COMPLETE_BEFORE_LOCATION_CHANGED_SPURIOUS: // This navigate didn't change the current URL. - LL_DEBUGS("MediaOnAPrim") << " NOT broadcasting navigate (spurious)" << LL_ENDL; + // _LL_DEBUGS("MediaOnAPrim") << " NOT broadcasting navigate (spurious)" << LL_ENDL; break; case LLViewerMediaImpl::MEDIANAVSTATE_SERVER_COMPLETE_BEFORE_LOCATION_CHANGED: @@ -3719,10 +3719,10 @@ void LLVOVolume::setExtendedMeshFlags(U32 flags) param_block->setFlags(flags); } parameterChanged(LLNetworkData::PARAMS_EXTENDED_MESH, true); - LL_DEBUGS("AnimatedObjects") << this + /*// _LL_DEBUGS("AnimatedObjects") << this << " new flags " << flags << " curr_flags " << curr_flags << ", calling onSetExtendedMeshFlags()" - << LL_ENDL; + << LL_ENDL;*/ onSetExtendedMeshFlags(flags); } } @@ -3782,14 +3782,14 @@ void LLVOVolume::onReparent(LLViewerObject *old_parent, LLViewerObject *new_pare void LLVOVolume::afterReparent() { { - LL_DEBUGS("AnimatedObjects") << "new child added for parent " - << ((LLViewerObject*)getParent())->getID() << LL_ENDL; + /*// _LL_DEBUGS("AnimatedObjects") << "new child added for parent " + << ((LLViewerObject*)getParent())->getID() << LL_ENDL;*/ } if (isAnimatedObject() && getControlAvatar()) { - LL_DEBUGS("AnimatedObjects") << "adding attachment overrides, parent is animated object " - << ((LLViewerObject*)getParent())->getID() << LL_ENDL; + /*// _LL_DEBUGS("AnimatedObjects") << "adding attachment overrides, parent is animated object " + << ((LLViewerObject*)getParent())->getID() << LL_ENDL;*/ // MAINT-8239 - doing a full rebuild whenever parent is set // makes the joint overrides load more robustly. In theory, @@ -3803,10 +3803,10 @@ void LLVOVolume::afterReparent() } else { - LL_DEBUGS("AnimatedObjects") << "not adding overrides, parent: " + /*// _LL_DEBUGS("AnimatedObjects") << "not adding overrides, parent: " << ((LLViewerObject*)getParent())->getID() << " isAnimated: " << isAnimatedObject() << " cav " - << getControlAvatar() << LL_ENDL; + << getControlAvatar() << LL_ENDL;*/ } } @@ -3823,7 +3823,7 @@ void LLVOVolume::updateRiggingInfo() LLVolume *volume = getVolume(); if (skin && avatar && volume) { - LL_DEBUGS("RigSpammish") << "starting, vovol " << this << " lod " << getLOD() << " last " << mLastRiggingInfoLOD << LL_ENDL; + // _LL_DEBUGS("RigSpammish") << "starting, vovol " << this << " lod " << getLOD() << " last " << mLastRiggingInfoLOD << LL_ENDL; if (getLOD()>mLastRiggingInfoLOD || getLOD()==3) { // Rigging info may need update @@ -3839,9 +3839,9 @@ void LLVOVolume::updateRiggingInfo() } // Keep the highest LOD info available. mLastRiggingInfoLOD = getLOD(); - LL_DEBUGS("RigSpammish") << "updated rigging info for LLVOVolume " + /*// _LL_DEBUGS("RigSpammish") << "updated rigging info for LLVOVolume " << this << " lod " << mLastRiggingInfoLOD - << LL_ENDL; + << LL_ENDL;*/ } } } @@ -4671,11 +4671,11 @@ void LLVOVolume::parameterChanged(U16 param_type, LLNetworkData* data, BOOL in_u bool was_enabled = (getControlAvatar() != NULL); if (enabled != was_enabled) { - LL_DEBUGS("AnimatedObjects") << this + /*// _LL_DEBUGS("AnimatedObjects") << this << " calling onSetExtendedMeshFlags, enabled " << (U32) enabled << " was_enabled " << (U32) was_enabled << " local_origin " << (U32) local_origin - << LL_ENDL; + << LL_ENDL;*/ onSetExtendedMeshFlags(extended_mesh_flags); } } @@ -4820,16 +4820,16 @@ const LLMatrix4& LLVOVolume::getWorldMatrix(LLXformMatrix* xform) const void LLVOVolume::markForUpdate(BOOL priority) { - static const bool enable_log = debugLoggingEnabled("AnimatedObjectsLinkset"); + /*static const bool enable_log = debugLoggingEnabled("AnimatedObjectsLinkset"); if (enable_log) { if (isAnimatedObject() && isRiggedMesh()) { std::string vobj_name = llformat("Vol%p", this); - F32 est_tris = getEstTrianglesMax(); - LL_DEBUGS("AnimatedObjectsLinkset") << vobj_name << " markForUpdate, tris " << est_tris << LL_ENDL; + //F32 est_tris = getEstTrianglesMax(); + // _LL_DEBUGS("AnimatedObjectsLinkset") << vobj_name << " markForUpdate, tris " << est_tris << LL_ENDL; } - } + }*/ LLViewerObject::markForUpdate(priority); mVolumeChanged = TRUE; @@ -5931,7 +5931,7 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group) std::string vobj_name = llformat("Vol%p", vobj); F32 est_tris = vobj->getEstTrianglesMax(); - LL_DEBUGS("AnimatedObjectsLinkset") << vobj_name << " rebuilding, isAttachment: " << (U32) vobj->isAttachment() + // _LL_DEBUGS("AnimatedObjectsLinkset") << vobj_name << " rebuilding, isAttachment: " << (U32) vobj->isAttachment() << " is_mesh " << is_mesh << " est_tris " << est_tris << " is_animated " << vobj->isAnimatedObject() @@ -6463,16 +6463,16 @@ void LLVolumeGeometryManager::rebuildMesh(LLSpatialGroup* group) if (drawablep && !drawablep->isDead() && drawablep->isState(LLDrawable::REBUILD_ALL) && !drawablep->isState(LLDrawable::RIGGED) ) { LLVOVolume* vobj = drawablep->getVOVolume(); - static const bool enable_log = debugLoggingEnabled("AnimatedObjectsLinkset"); + /*static const bool enable_log = debugLoggingEnabled("AnimatedObjectsLinkset"); if (enable_log) { if (vobj->isAnimatedObject() && vobj->isRiggedMesh()) { std::string vobj_name = llformat("Vol%p", vobj); F32 est_tris = vobj->getEstTrianglesMax(); - LL_DEBUGS("AnimatedObjectsLinkset") << vobj_name << " rebuildMesh, tris " << est_tris << LL_ENDL; + // _LL_DEBUGS("AnimatedObjectsLinkset") << vobj_name << " rebuildMesh, tris " << est_tris << LL_ENDL; } - } + }*/ if (vobj->isNoLOD()) continue; vobj->preRebuild(); diff --git a/indra/newview/llwearablelist.cpp b/indra/newview/llwearablelist.cpp index 10e25bb86b3..e175fd63308 100644 --- a/indra/newview/llwearablelist.cpp +++ b/indra/newview/llwearablelist.cpp @@ -81,7 +81,7 @@ void LLWearableList::getAsset(const LLAssetID& assetID, const std::string& weara LLViewerWearable* instance = get_if_there(mList, assetID, (LLViewerWearable*)NULL ); if( instance ) { - LL_DEBUGS("Avatar") << "wearable " << assetID << " found in LLWearableList" << LL_ENDL; + // _LL_DEBUGS("Avatar") << "wearable " << assetID << " found in LLWearableList" << LL_ENDL; asset_arrived_callback( instance, userdata ); } else @@ -104,8 +104,8 @@ void LLWearableList::processGetAssetReply( const char* filename, const LLAssetID LLViewerWearable* wearable = get_if_there(LLWearableList::instance().mList, uuid, (LLViewerWearable*)NULL); if (wearable) { - LL_DEBUGS("Wearable") << "processGetAssetReply()" << LL_ENDL; - LL_DEBUGS("Wearable") << wearable << LL_ENDL; + // _LL_DEBUGS("Wearable") << "processGetAssetReply()" << LL_ENDL; + // _LL_DEBUGS("Wearable") << wearable << LL_ENDL; if(data->mCallback) { @@ -199,8 +199,8 @@ void LLWearableList::processGetAssetReply( const char* filename, const LLAssetID if (wearable) // success { LLWearableList::instance().mList[ uuid ] = wearable; - LL_DEBUGS("Wearable") << "processGetAssetReply()" << LL_ENDL; - LL_DEBUGS("Wearable") << wearable << LL_ENDL; + // _LL_DEBUGS("Wearable") << "processGetAssetReply()" << LL_ENDL; + // _LL_DEBUGS("Wearable") << wearable << LL_ENDL; } else { @@ -233,7 +233,7 @@ void LLWearableList::processGetAssetReply( const char* filename, const LLAssetID LLViewerWearable* LLWearableList::createCopy(const LLViewerWearable* old_wearable, const std::string& new_name) { - LL_DEBUGS() << "LLWearableList::createCopy()" << LL_ENDL; + // _LL_DEBUGS() << "LLWearableList::createCopy()" << LL_ENDL; LLViewerWearable *wearable = generateNewWearable(); wearable->copyDataFrom(old_wearable); @@ -252,7 +252,7 @@ LLViewerWearable* LLWearableList::createCopy(const LLViewerWearable* old_wearabl LLViewerWearable* LLWearableList::createNewWearable( LLWearableType::EType type, LLAvatarAppearance *avatarp ) { - LL_DEBUGS() << "LLWearableList::createNewWearable()" << LL_ENDL; + // _LL_DEBUGS() << "LLWearableList::createNewWearable()" << LL_ENDL; LLViewerWearable *wearable = generateNewWearable(); wearable->setType( type, avatarp ); diff --git a/indra/newview/llwebprofile.cpp b/indra/newview/llwebprofile.cpp index a9072452650..9b0a2017bed 100644 --- a/indra/newview/llwebprofile.cpp +++ b/indra/newview/llwebprofile.cpp @@ -74,7 +74,7 @@ void LLWebProfile::uploadImage(LLPointer<LLImageFormatted> image, const std::str // static void LLWebProfile::setAuthCookie(const std::string& cookie) { - LL_DEBUGS("Snapshots") << "Setting auth cookie: " << cookie << LL_ENDL; + // _LL_DEBUGS("Snapshots") << "Setting auth cookie: " << cookie << LL_ENDL; sAuthCookie = cookie; } @@ -119,7 +119,7 @@ void LLWebProfile::uploadImageCoro(LLPointer<LLImageFormatted> image, std::strin configUrl += "?caption=" + LLURI::escape(caption); configUrl += "&add_loc=" + std::string(addLocation ? "1" : "0"); - LL_DEBUGS("Snapshots") << "Requesting " << configUrl << LL_ENDL; + // _LL_DEBUGS("Snapshots") << "Requesting " << configUrl << LL_ENDL; httpHeaders = buildDefaultHeaders(); httpHeaders->append(HTTP_OUT_HEADER_COOKIE, getAuthCookie()); @@ -176,7 +176,7 @@ void LLWebProfile::uploadImageCoro(LLPointer<LLImageFormatted> image, std::strin LLWebProfile::reportImageUploadStatus(false); } - LL_DEBUGS("Snapshots") << "Got redirection URL: " << redirUrl << LL_ENDL; + // _LL_DEBUGS("Snapshots") << "Got redirection URL: " << redirUrl << LL_ENDL; result = httpAdapter->getRawAndSuspend(httpRequest, redirUrl, httpOpts, httpHeaders); @@ -193,7 +193,7 @@ void LLWebProfile::uploadImageCoro(LLPointer<LLImageFormatted> image, std::strin //LLSD raw = result[LLCoreHttpUtil::HttpCoroutineAdapter::HTTP_RESULTS_RAW]; LL_INFOS("Snapshots") << "Image uploaded." << LL_ENDL; - //LL_DEBUGS("Snapshots") << "Uploading image succeeded. Response: [" << raw.asString() << "]" << LL_ENDL; + //// _LL_DEBUGS("Snapshots") << "Uploading image succeeded. Response: [" << raw.asString() << "]" << LL_ENDL; LLWebProfile::reportImageUploadStatus(true); diff --git a/indra/newview/llwind.cpp b/indra/newview/llwind.cpp index 4c39fb5b749..c10cbe4d265 100644 --- a/indra/newview/llwind.cpp +++ b/indra/newview/llwind.cpp @@ -71,7 +71,7 @@ LLWind::~LLWind() void LLWind::init() { - LL_DEBUGS("Wind") << "initializing wind size: "<< mSize << LL_ENDL; + // _LL_DEBUGS("Wind") << "initializing wind size: "<< mSize << LL_ENDL; // Initialize vector data mVelX = new F32[mSize*mSize]; diff --git a/indra/newview/llwlhandlers.cpp b/indra/newview/llwlhandlers.cpp index 6b8374fd48c..3f704f9857b 100644 --- a/indra/newview/llwlhandlers.cpp +++ b/indra/newview/llwlhandlers.cpp @@ -67,7 +67,7 @@ void LLEnvironmentRequest::onRegionCapsReceived(const LLUUID& region_id, LLEnvir return; } - LL_DEBUGS("WindlightCaps") << "Received region capabilities" << LL_ENDL; + // _LL_DEBUGS("WindlightCaps") << "Received region capabilities" << LL_ENDL; doRequest(cb); } @@ -181,7 +181,7 @@ bool LLEnvironmentApply::initiateRequest(const LLSD& content, LLEnvironment::env } LL_INFOS("WindlightCaps") << "Sending windlight settings to " << url << LL_ENDL; - LL_DEBUGS("WindlightCaps") << "content: " << content << LL_ENDL; + // _LL_DEBUGS("WindlightCaps") << "content: " << content << LL_ENDL; std::string coroname = LLCoros::instance().launch("LLEnvironmentApply::environmentApplyCoro", @@ -252,7 +252,7 @@ void LLEnvironmentApply::environmentApplyCoro(std::string url, LLSD content, LLE break; } - LL_DEBUGS("WindlightCaps") << "Success in applying windlight settings to region " << result["regionID"].asUUID() << LL_ENDL; + // _LL_DEBUGS("WindlightCaps") << "Success in applying windlight settings to region " << result["regionID"].asUUID() << LL_ENDL; } while (false); diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp index b776beafef5..0015b56dc42 100644 --- a/indra/newview/llworld.cpp +++ b/indra/newview/llworld.cpp @@ -1211,8 +1211,8 @@ class LLEstablishAgentCommunication : public LLHTTPNode << sim << LL_ENDL; return; } - LL_DEBUGS("CrossingCaps") << "Calling setSeedCapability from LLEstablishAgentCommunication::post. Seed cap == " - << input["body"]["seed-capability"] << LL_ENDL; + /*// _LL_DEBUGS("CrossingCaps") << "Calling setSeedCapability from LLEstablishAgentCommunication::post. Seed cap == " + << input["body"]["seed-capability"] << LL_ENDL;*/ regionp->setSeedCapability(input["body"]["seed-capability"]); } }; diff --git a/indra/newview/llworldmapview.cpp b/indra/newview/llworldmapview.cpp index c892d9efaa9..16a48b3f8c3 100644 --- a/indra/newview/llworldmapview.cpp +++ b/indra/newview/llworldmapview.cpp @@ -1742,7 +1742,7 @@ BOOL LLWorldMapView::handleHover( S32 x, S32 y, MASK mask ) { gViewerWindow->setCursor( UI_CURSOR_CROSS ); } - LL_DEBUGS("UserInput") << "hover handled by LLWorldMapView" << LL_ENDL; + // _LL_DEBUGS("UserInput") << "hover handled by LLWorldMapView" << LL_ENDL; return TRUE; } } diff --git a/indra/newview/llxmlrpclistener.cpp b/indra/newview/llxmlrpclistener.cpp index bae615232e3..51b47a916a0 100644 --- a/indra/newview/llxmlrpclistener.cpp +++ b/indra/newview/llxmlrpclistener.cpp @@ -388,14 +388,14 @@ class Poller XMLRPC_REQUEST response = mTransaction->response(); if (! response) { - LL_DEBUGS("LLXMLRPCListener") << "No response" << LL_ENDL; + // _LL_DEBUGS("LLXMLRPCListener") << "No response" << LL_ENDL; return LLSD(); } XMLRPC_VALUE param = XMLRPC_RequestGetData(response); if (! param) { - LL_DEBUGS("LLXMLRPCListener") << "Response contains no data" << LL_ENDL; + // _LL_DEBUGS("LLXMLRPCListener") << "Response contains no data" << LL_ENDL; return LLSD(); } @@ -419,24 +419,24 @@ class Poller current = XMLRPC_VectorNext(param)) { std::string key(XMLRPC_GetValueID(current)); - LL_DEBUGS("LLXMLRPCListener") << "key: " << key_pfx << key << LL_ENDL; + // _LL_DEBUGS("LLXMLRPCListener") << "key: " << key_pfx << key << LL_ENDL; XMLRPC_VALUE_TYPE_EASY type = XMLRPC_GetValueTypeEasy(current); if (xmlrpc_type_string == type) { LLSD::String val(XMLRPC_GetValueString(current)); - LL_DEBUGS("LLXMLRPCListener") << "val: " << val << LL_ENDL; + // _LL_DEBUGS("LLXMLRPCListener") << "val: " << val << LL_ENDL; responses.insert(key, val); } else if (xmlrpc_type_int == type) { LLSD::Integer val(XMLRPC_GetValueInt(current)); - LL_DEBUGS("LLXMLRPCListener") << "val: " << val << LL_ENDL; + // _LL_DEBUGS("LLXMLRPCListener") << "val: " << val << LL_ENDL; responses.insert(key, val); } else if (xmlrpc_type_double == type) { LLSD::Real val(XMLRPC_GetValueDouble(current)); - LL_DEBUGS("LLXMLRPCListener") << "val: " << val << LL_ENDL; + // _LL_DEBUGS("LLXMLRPCListener") << "val: " << val << LL_ENDL; responses.insert(key, val); } else if (xmlrpc_type_array == type) diff --git a/indra/newview/llxmlrpctransaction.cpp b/indra/newview/llxmlrpctransaction.cpp index 32c8ce66a01..08a9ff810a6 100644 --- a/indra/newview/llxmlrpctransaction.cpp +++ b/indra/newview/llxmlrpctransaction.cpp @@ -588,8 +588,8 @@ F64 LLXMLRPCTransaction::transferRate() double rate_bits_per_sec = impl.mTransferStats->mSpeedDownload * 8.0; LL_INFOS("AppInit") << "Buffer size: " << impl.mResponseText.size() << " B" << LL_ENDL; - LL_DEBUGS("AppInit") << "Transfer size: " << impl.mTransferStats->mSizeDownload << " B" << LL_ENDL; - LL_DEBUGS("AppInit") << "Transfer time: " << impl.mTransferStats->mTotalTime << " s" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Transfer size: " << impl.mTransferStats->mSizeDownload << " B" << LL_ENDL; + // _LL_DEBUGS("AppInit") << "Transfer time: " << impl.mTransferStats->mTotalTime << " s" << LL_ENDL; LL_INFOS("AppInit") << "Transfer rate: " << rate_bits_per_sec / 1000.0 << " Kb/s" << LL_ENDL; return rate_bits_per_sec; diff --git a/indra/newview/piemenu.cpp b/indra/newview/piemenu.cpp index 22ab5c5848d..28f92c168c7 100644 --- a/indra/newview/piemenu.cpp +++ b/indra/newview/piemenu.cpp @@ -57,7 +57,7 @@ PieMenu::PieMenu(const LLMenuGL::Params& p) : LLMenuGL(p), mCurrentSegment(-1) { - LL_DEBUGS("Pie") << "PieMenu::PieMenu()" << LL_ENDL; + // _LL_DEBUGS("Pie") << "PieMenu::PieMenu()" << LL_ENDL; // radius, so we need this *2 reshape(PIE_OUTER_SIZE * 2, PIE_OUTER_SIZE * 2, FALSE); @@ -155,7 +155,7 @@ void PieMenu::show(S32 x, S32 y, LLView* spawning_view) // play a sound make_ui_sound("UISndPieMenuAppear"); - LL_DEBUGS("Pie") << "PieMenu::show(): " << x << " " << y << LL_ENDL; + // _LL_DEBUGS("Pie") << "PieMenu::show(): " << x << " " << y << LL_ENDL; // make sure the menu is always the correct size reshape(PIE_OUTER_SIZE * 2, PIE_OUTER_SIZE * 2, FALSE); @@ -227,7 +227,7 @@ void PieMenu::hide() // make a sound when hiding make_ui_sound("UISndPieMenuHide"); - LL_DEBUGS("Pie") << "Clearing selections" << LL_ENDL; + // _LL_DEBUGS("Pie") << "Clearing selections" << LL_ENDL; mCurrentSegment = -1; mSlices = &mMySlices; @@ -335,7 +335,7 @@ void PieMenu::draw() currentSlice->setEnabled(slice_visible); if (!slice_visible) { - //LL_DEBUGS(Pie) << label[0] << " is not visible" << LL_ENDL; + //// _LL_DEBUGS(Pie) << label[0] << " is not visible" << LL_ENDL; currentSlice->setEnabled(false); } @@ -388,7 +388,7 @@ void PieMenu::draw() currentSlice->updateEnabled(); if (!currentSlice->getEnabled()) { - //LL_DEBUGS(Pie) << label[0] << " is disabled" << LL_ENDL; + //// _LL_DEBUGS(Pie) << label[0] << " is disabled" << LL_ENDL; itemColor %= 0.3f; } } @@ -476,13 +476,13 @@ void PieMenu::draw() BOOL PieMenu::appendContextSubMenu(PieMenu* menu) { - LL_DEBUGS("Pie") << "PieMenu::appendContextSubMenu()" << LL_ENDL; + // _LL_DEBUGS("Pie") << "PieMenu::appendContextSubMenu()" << LL_ENDL; if (!menu) { return FALSE; } - LL_DEBUGS("Pie") << "PieMenu::appendContextSubMenu() appending " << menu->getLabel() << " to " << getLabel() << LL_ENDL; + // _LL_DEBUGS("Pie") << "PieMenu::appendContextSubMenu() appending " << menu->getLabel() << " to " << getLabel() << LL_ENDL; // add the submenu to the list of items mSlices->push_back(menu); diff --git a/indra/newview/pieseparator.cpp b/indra/newview/pieseparator.cpp index fef262b87ed..6f4f8ee3401 100644 --- a/indra/newview/pieseparator.cpp +++ b/indra/newview/pieseparator.cpp @@ -33,7 +33,7 @@ PieSeparator::PieSeparator(const PieSeparator::Params& p) : LLUICtrl(p) { - LL_DEBUGS("Pie") << "PieSeparator::PieSeparator()" << LL_ENDL; + // _LL_DEBUGS("Pie") << "PieSeparator::PieSeparator()" << LL_ENDL; } // pick up parameters from the XUI definition diff --git a/indra/newview/pieslice.cpp b/indra/newview/pieslice.cpp index 2380333cedd..fef6e66fd69 100644 --- a/indra/newview/pieslice.cpp +++ b/indra/newview/pieslice.cpp @@ -49,7 +49,7 @@ PieSlice::PieSlice(const PieSlice::Params& p) : mCheckEnableOnce(p.check_enable_once), mDoUpdateEnabled(true) { - LL_DEBUGS("Pie") << "PieSlice::PieSlice(): " << mLabel << " " << mAutohide << " " << mCheckEnableOnce << LL_ENDL; + // _LL_DEBUGS("Pie") << "PieSlice::PieSlice(): " << mLabel << " " << mAutohide << " " << mCheckEnableOnce << LL_ENDL; } // initialize parameters diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 842fab8370a..5c7797c4030 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -3535,8 +3535,8 @@ void LLPipeline::markRebuild(LLDrawable *drawablep, LLDrawable::EDrawableFlags f { std::string vobj_name = llformat("Vol%p", vol_obj); F32 est_tris = vol_obj->getEstTrianglesMax(); - LL_DEBUGS("AnimatedObjectsLinkset") << vobj_name << " markRebuild, tris " << est_tris - << " priority " << (S32) priority << " flag " << std::hex << flag << LL_ENDL; + /*// _LL_DEBUGS("AnimatedObjectsLinkset") << vobj_name << " markRebuild, tris " << est_tris + << " priority " << (S32) priority << " flag " << std::hex << flag << LL_ENDL; */ } } @@ -11476,18 +11476,18 @@ void LLPipeline::generateImpostor(LLVOAvatar* avatar) LL_WARNS_ONCE("AvatarRenderPipeline") << "Avatar is " << (avatar ? "not drawable" : "null") << LL_ENDL; return; } - LL_DEBUGS_ONCE("AvatarRenderPipeline") << "Avatar " << avatar->getID() << " is drawable" << LL_ENDL; + // _LL_DEBUGS_ONCE("AvatarRenderPipeline") << "Avatar " << avatar->getID() << " is drawable" << LL_ENDL; assertInitialized(); bool visually_muted = avatar->isVisuallyMuted(); - LL_DEBUGS_ONCE("AvatarRenderPipeline") << "Avatar " << avatar->getID() + /*// _LL_DEBUGS_ONCE("AvatarRenderPipeline") << "Avatar " << avatar->getID() << " is " << ( visually_muted ? "" : "not ") << "visually muted" - << LL_ENDL; + << LL_ENDL;*/ bool too_complex = avatar->isTooComplex(); - LL_DEBUGS_ONCE("AvatarRenderPipeline") << "Avatar " << avatar->getID() + /*// _LL_DEBUGS_ONCE("AvatarRenderPipeline") << "Avatar " << avatar->getID() << " is " << ( too_complex ? "" : "not ") << "too complex" - << LL_ENDL; + << LL_ENDL;*/ pushRenderTypeMask(); @@ -11746,12 +11746,12 @@ void LLPipeline::generateImpostor(LLVOAvatar* avatar) if (visually_muted) { // Visually muted avatar LLColor4 muted_color(avatar->getMutedAVColor()); - LL_DEBUGS_ONCE("AvatarRenderPipeline") << "Avatar " << avatar->getID() << " MUTED set solid color " << muted_color << LL_ENDL; + // _LL_DEBUGS_ONCE("AvatarRenderPipeline") << "Avatar " << avatar->getID() << " MUTED set solid color " << muted_color << LL_ENDL; gGL.diffuseColor4fv( muted_color.mV ); } else { //grey muted avatar - LL_DEBUGS_ONCE("AvatarRenderPipeline") << "Avatar " << avatar->getID() << " MUTED set grey" << LL_ENDL; + // _LL_DEBUGS_ONCE("AvatarRenderPipeline") << "Avatar " << avatar->getID() << " MUTED set grey" << LL_ENDL; gGL.diffuseColor4fv(LLColor4::pink.mV ); } diff --git a/indra/newview/rlvdefines.h b/indra/newview/rlvdefines.h index a3938876a00..77b80d22e90 100644 --- a/indra/newview/rlvdefines.h +++ b/indra/newview/rlvdefines.h @@ -45,7 +45,7 @@ const S32 RLVa_IMPL_ID = 13; // Defining these makes it easier if we ever need to change our tag #define RLV_WARNS LL_WARNS("RLV") #define RLV_INFOS LL_INFOS("RLV") -#define RLV_DEBUGS LL_DEBUGS("RLV") +#define RLV_DEBUGS // _LL_DEBUGS("RLV") #define RLV_ENDL LL_ENDL #define RLV_VERIFY(f) if (!(f)) { RlvUtil::notifyFailedAssertion(#f, __FILE__, __LINE__); } diff --git a/indra/newview/rlvhandler.cpp b/indra/newview/rlvhandler.cpp index 3a7e1bd86c6..1da7b858c4b 100644 --- a/indra/newview/rlvhandler.cpp +++ b/indra/newview/rlvhandler.cpp @@ -444,21 +444,21 @@ ERlvCmdRet RlvHandler::processCommand(std::reference_wrapper<const RlvCommand> r { const RlvCommand& rlvCmdTmp = rlvCmd; // Reference to the temporary with limited variable scope since we don't want it to leak below - RLV_DEBUGS << "[" << rlvCmdTmp.getObjectID() << "]: " << rlvCmdTmp.asString() << RLV_ENDL; + //RLV_DEBUGS << "[" << rlvCmdTmp.getObjectID() << "]: " << rlvCmdTmp.asString() << RLV_ENDL; if ( (isBlockedObject(rlvCmdTmp.getObjectID())) && (RLV_TYPE_REMOVE != rlvCmdTmp.getParamType()) && (RLV_TYPE_CLEAR != rlvCmdTmp.getParamType()) ) { - RLV_DEBUGS << "\t-> blocked object" << RLV_ENDL; + //RLV_DEBUGS << "\t-> blocked object" << RLV_ENDL; return RLV_RET_FAILED_BLOCKED; } if (!rlvCmdTmp.isValid()) { - RLV_DEBUGS << "\t-> invalid syntax" << RLV_ENDL; + //RLV_DEBUGS << "\t-> invalid syntax" << RLV_ENDL; return RLV_RET_FAILED_SYNTAX; } if (rlvCmdTmp.isBlocked()) { - RLV_DEBUGS << "\t-> blocked command" << RLV_ENDL; + //RLV_DEBUGS << "\t-> blocked command" << RLV_ENDL; return RLV_RET_FAILED_DISABLED; } } @@ -478,7 +478,7 @@ ERlvCmdRet RlvHandler::processCommand(std::reference_wrapper<const RlvCommand> r if ( (m_Behaviours[eBhvr]) && ( (RLV_BHVR_SETCAM == eBhvr) || (RLV_BHVR_SETDEBUG == eBhvr) || (RLV_BHVR_SETENV == eBhvr) ) ) { // Some restrictions can only be held by one single object to avoid deadlocks - RLV_DEBUGS << "\t- " << rlvCmd.get().getBehaviour() << " is already set by another object => discarding" << RLV_ENDL; + //RLV_DEBUGS << "\t- " << rlvCmd.get().getBehaviour() << " is already set by another object => discarding" << RLV_ENDL; eRet = RLV_RET_FAILED_LOCK; break; } @@ -496,7 +496,7 @@ ERlvCmdRet RlvHandler::processCommand(std::reference_wrapper<const RlvCommand> r rlvCmd = itObj->second.addCommand(rlvCmd, fAdded); } - RLV_DEBUGS << "\t- " << ( (fAdded) ? "adding behaviour" : "skipping duplicate" ) << RLV_ENDL; + //RLV_DEBUGS << "\t- " << ( (fAdded) ? "adding behaviour" : "skipping duplicate" ) << RLV_ENDL; if (fAdded) { // If FALSE then this was a duplicate, there's no need to handle those if (!m_pGCTimer) @@ -521,8 +521,8 @@ ERlvCmdRet RlvHandler::processCommand(std::reference_wrapper<const RlvCommand> r if (itObj != m_Objects.end()) fRemoved = itObj->second.removeCommand(rlvCmd); - RLV_DEBUGS << "\t- " << ( (fRemoved) ? "removing behaviour" - : "skipping remove (unset behaviour or unknown object)") << RLV_ENDL; + /*RLV_DEBUGS << "\t- " << ( (fRemoved) ? "removing behaviour" + : "skipping remove (unset behaviour or unknown object)") << RLV_ENDL;*/ if (fRemoved) { // Don't handle non-sensical removes eRet = processAddRemCommand(rlvCmd); @@ -530,7 +530,7 @@ ERlvCmdRet RlvHandler::processCommand(std::reference_wrapper<const RlvCommand> r if (0 == itObj->second.m_Commands.size()) { - RLV_DEBUGS << "\t- command list empty => removing " << idCurObj << RLV_ENDL; + //RLV_DEBUGS << "\t- command list empty => removing " << idCurObj << RLV_ENDL; RlvBehaviourDictionary::instance().clearModifiers(idCurObj); m_Objects.erase(itObj); } @@ -559,7 +559,7 @@ ERlvCmdRet RlvHandler::processCommand(std::reference_wrapper<const RlvCommand> r m_OnCommand(rlvCmd, eRet, !fFromObj); - RLV_DEBUGS << "\t--> command " << ((eRet & RLV_RET_SUCCESS) ? "succeeded" : "failed") << RLV_ENDL; + //RLV_DEBUGS << "\t--> command " << ((eRet & RLV_RET_SUCCESS) ? "succeeded" : "failed") << RLV_ENDL; m_CurCommandStack.pop(); m_CurObjectStack.pop(); return eRet; diff --git a/indra/test/io.cpp b/indra/test/io.cpp index 40243a8ad6e..41989bf98eb 100644 --- a/indra/test/io.cpp +++ b/indra/test/io.cpp @@ -937,10 +937,10 @@ namespace tut template<> template<> void fitness_test_object::test<1>() { - LL_DEBUGS() << "fitness_test_object::test<1>()" << LL_ENDL; + // _LL_DEBUGS() << "fitness_test_object::test<1>()" << LL_ENDL; // Set up the server - //LL_DEBUGS() << "fitness_test_object::test<1> - setting up server." + //// _LL_DEBUGS() << "fitness_test_object::test<1> - setting up server." // << LL_ENDL; LLPumpIO::chain_t chain; typedef LLCloneIOFactory<LLPipeStringInjector> emitter_t; @@ -956,18 +956,18 @@ namespace tut mPump->addChain(chain, NEVER_CHAIN_EXPIRY_SECS); // We need to tickle the pump a little to set up the listen() - //LL_DEBUGS() << "fitness_test_object::test<1> - initializing server." + //// _LL_DEBUGS() << "fitness_test_object::test<1> - initializing server." // << LL_ENDL; pump_loop(mPump, 0.1f); // Set up the client - //LL_DEBUGS() << "fitness_test_object::test<1> - connecting client." + //// _LL_DEBUGS() << "fitness_test_object::test<1> - connecting client." // << LL_ENDL; LLSocket::ptr_t client = LLSocket::create(mPool, LLSocket::STREAM_TCP); LLHost server_host("127.0.0.1", SERVER_LISTEN_PORT); bool connected = client->blockingConnect(server_host); ensure("Connected to server", connected); - LL_DEBUGS() << "connected" << LL_ENDL; + // _LL_DEBUGS() << "connected" << LL_ENDL; // We have connected, since the socket reader does not block, // the first call to read data will return EAGAIN, so we need @@ -987,7 +987,7 @@ namespace tut template<> template<> void fitness_test_object::test<2>() { - LL_DEBUGS() << "fitness_test_object::test<2>()" << LL_ENDL; + // _LL_DEBUGS() << "fitness_test_object::test<2>()" << LL_ENDL; // Set up the server LLPumpIO::chain_t chain; @@ -1010,7 +1010,7 @@ namespace tut LLHost server_host("127.0.0.1", SERVER_LISTEN_PORT); bool connected = client->blockingConnect(server_host); ensure("Connected to server", connected); - LL_DEBUGS() << "connected" << LL_ENDL; + // _LL_DEBUGS() << "connected" << LL_ENDL; // We have connected, since the socket reader does not block, // the first call to read data will return EAGAIN, so we need @@ -1030,7 +1030,7 @@ namespace tut template<> template<> void fitness_test_object::test<3>() { - LL_DEBUGS() << "fitness_test_object::test<3>()" << LL_ENDL; + // _LL_DEBUGS() << "fitness_test_object::test<3>()" << LL_ENDL; // Set up the server LLPumpIO::chain_t chain; @@ -1053,7 +1053,7 @@ namespace tut LLHost server_host("127.0.0.1", SERVER_LISTEN_PORT); bool connected = client->blockingConnect(server_host); ensure("Connected to server", connected); - LL_DEBUGS() << "connected" << LL_ENDL; + // _LL_DEBUGS() << "connected" << LL_ENDL; // We have connected, since the socket reader does not block, // the first call to read data will return EAGAIN, so we need @@ -1073,7 +1073,7 @@ namespace tut template<> template<> void fitness_test_object::test<4>() { - LL_DEBUGS() << "fitness_test_object::test<4>()" << LL_ENDL; + // _LL_DEBUGS() << "fitness_test_object::test<4>()" << LL_ENDL; // Set up the server LLPumpIO::chain_t chain; @@ -1096,7 +1096,7 @@ namespace tut LLHost server_host("127.0.0.1", SERVER_LISTEN_PORT); bool connected = client->blockingConnect(server_host); ensure("Connected to server", connected); - LL_DEBUGS() << "connected" << LL_ENDL; + // _LL_DEBUGS() << "connected" << LL_ENDL; // We have connected, since the socket reader does not block, // the first call to read data will return EAGAIN, so we need @@ -1132,18 +1132,18 @@ namespace tut pump_loop(mPump, 0.1f); U32 count = mPump->runningChains(); ensure_equals("server chain onboard", count, 1); - LL_DEBUGS() << "** Server is up." << LL_ENDL; + // _LL_DEBUGS() << "** Server is up." << LL_ENDL; // Set up the client LLSocket::ptr_t client = LLSocket::create(mPool, LLSocket::STREAM_TCP); LLHost server_host("127.0.0.1", SERVER_LISTEN_PORT); bool connected = client->blockingConnect(server_host); ensure("Connected to server", connected); - LL_DEBUGS() << "connected" << LL_ENDL; + // _LL_DEBUGS() << "connected" << LL_ENDL; pump_loop(mPump,0.1f); count = mPump->runningChains(); ensure_equals("server chain onboard", count, 2); - LL_DEBUGS() << "** Client is connected." << LL_ENDL; + // _LL_DEBUGS() << "** Client is connected." << LL_ENDL; // We have connected, since the socket reader does not block, // the first call to read data will return EAGAIN, so we need @@ -1159,20 +1159,20 @@ namespace tut pump_loop(mPump,0.1f); count = mPump->runningChains(); // ensure_equals("client chain onboard", count, 3); commented out because it fails frequently - appears to be timing sensitive - LL_DEBUGS() << "** request should have been sent." << LL_ENDL; + // _LL_DEBUGS() << "** request should have been sent." << LL_ENDL; // pump for long enough the the client socket closes, and the // server socket should not be closed yet. pump_loop(mPump,0.2f); count = mPump->runningChains(); ensure_equals("client chain timed out ", count, 2); - LL_DEBUGS() << "** client chain should be closed." << LL_ENDL; + // _LL_DEBUGS() << "** client chain should be closed." << LL_ENDL; // At this point, the socket should be closed by the timeout pump_loop(mPump,1.0f); count = mPump->runningChains(); ensure_equals("accepted socked close", count, 1); - LL_DEBUGS() << "** Sleeper should have timed out.." << LL_ENDL; + // _LL_DEBUGS() << "** Sleeper should have timed out.." << LL_ENDL; } } diff --git a/indra/test/llblowfish_tut.cpp b/indra/test/llblowfish_tut.cpp index 18eb01363f1..ca4af1ae98f 100644 --- a/indra/test/llblowfish_tut.cpp +++ b/indra/test/llblowfish_tut.cpp @@ -72,7 +72,7 @@ namespace tut std::string good; good.resize(256); size_t got = fread(&good[0], 1, 256, fp); - LL_DEBUGS() << "matchFile read " << got << LL_ENDL; + // _LL_DEBUGS() << "matchFile read " << got << LL_ENDL; fclose(fp); good.resize(got); diff --git a/indra/test/llpipeutil.cpp b/indra/test/llpipeutil.cpp index bb706b58d5f..6e1cec76ede 100644 --- a/indra/test/llpipeutil.cpp +++ b/indra/test/llpipeutil.cpp @@ -170,13 +170,13 @@ LLIOPipe::EStatus LLIOSleeper::process_impl( { if(!mRespond) { - LL_DEBUGS() << "LLIOSleeper::process_impl() sleeping." << LL_ENDL; + // _LL_DEBUGS() << "LLIOSleeper::process_impl() sleeping." << LL_ENDL; mRespond = true; static const F64 SLEEP_TIME = 2.0; pump->sleepChain(SLEEP_TIME); return STATUS_BREAK; } - LL_DEBUGS() << "LLIOSleeper::process_impl() responding." << LL_ENDL; + // _LL_DEBUGS() << "LLIOSleeper::process_impl() responding." << LL_ENDL; LLBufferStream ostr(channels, buffer.get()); ostr << "huh? sorry, I was sleeping." << std::endl; return STATUS_DONE; diff --git a/indra/test/sync.h b/indra/test/sync.h index ca8b7262d69..b6e8514c104 100644 --- a/indra/test/sync.h +++ b/indra/test/sync.h @@ -69,7 +69,7 @@ class Sync // misleading, as it will be emitted after waiting threads have // already awakened. But emitting the log message within the lock // would seem to hold the lock longer than we really ought. - LL_DEBUGS() << llcoro::logname() << " bump(" << n << ") -> " << updated << LL_ENDL; + // _LL_DEBUGS() << llcoro::logname() << " bump(" << n << ") -> " << updated << LL_ENDL; } /** @@ -82,7 +82,7 @@ class Sync */ void set(int n) { - LL_DEBUGS() << llcoro::logname() << " set(" << n << ")" << LL_ENDL; + // _LL_DEBUGS() << llcoro::logname() << " set(" << n << ")" << LL_ENDL; mCond.set_all(n); } @@ -106,7 +106,7 @@ class Sync void yield_until(const std::string& desc, int until) { std::string name(llcoro::logname()); - LL_DEBUGS() << name << " yield_until(" << until << ") suspending" << LL_ENDL; + // _LL_DEBUGS() << name << " yield_until(" << until << ") suspending" << LL_ENDL; tut::ensure(name + ' ' + desc, mCond.wait_for_equal(mTimeout, until)); // each time we wake up, bump mCond bump(); diff --git a/indra/viewer_components/login/lllogin.cpp b/indra/viewer_components/login/lllogin.cpp index d485203fa18..1052c3dc380 100644 --- a/indra/viewer_components/login/lllogin.cpp +++ b/indra/viewer_components/login/lllogin.cpp @@ -119,14 +119,14 @@ class LLLogin::Impl void LLLogin::Impl::connect(const std::string& uri, const LLSD& login_params) { - LL_DEBUGS("LLLogin") << " connect with uri '" << uri << "', login_params " << login_params << LL_ENDL; + // _LL_DEBUGS("LLLogin") << " connect with uri '" << uri << "', login_params " << login_params << LL_ENDL; // Launch a coroutine with our login_() method. Run the coroutine until // its first wait; at that point, return here. std::string coroname = LLCoros::instance().launch("LLLogin::Impl::login_", boost::bind(&Impl::loginCoro, this, uri, login_params)); - LL_DEBUGS("LLLogin") << " connected with uri '" << uri << "', login_params " << login_params << LL_ENDL; + // _LL_DEBUGS("LLLogin") << " connected with uri '" << uri << "', login_params " << login_params << LL_ENDL; } namespace { @@ -148,8 +148,8 @@ void LLLogin::Impl::loginCoro(std::string uri, LLSD login_params) } try { - LL_DEBUGS("LLLogin") << "Entering coroutine " << LLCoros::getName() - << " with uri '" << uri << "', parameters " << printable_params << LL_ENDL; + /*// _LL_DEBUGS("LLLogin") << "Entering coroutine " << LLCoros::getName() + << " with uri '" << uri << "', parameters " << printable_params << LL_ENDL;*/ LLEventPump& xmlrpcPump(LLEventPumps::instance().obtain("LLXMLRPCTransaction")); // EXT-4193: use a DIFFERENT reply pump than for the SRV request. We used @@ -195,7 +195,7 @@ void LLLogin::Impl::loginCoro(std::string uri, LLSD login_params) sendProgressEvent("offline", "downloading"); } - LL_DEBUGS("LLLogin") << "Auth Response: " << mAuthResponse << LL_ENDL; + // _LL_DEBUGS("LLLogin") << "Auth Response: " << mAuthResponse << LL_ENDL; status = mAuthResponse["status"].asString(); // Okay, we've received our final status event for this @@ -252,7 +252,7 @@ void LLLogin::Impl::loginCoro(std::string uri, LLSD login_params) // consume the posted event. LLCoros::OverrideConsuming oc(true); // Timeout should produce the isUndefined() object passed here. - LL_DEBUGS("LLLogin") << "Login failure, waiting for sync from updater" << LL_ENDL; + // _LL_DEBUGS("LLLogin") << "Login failure, waiting for sync from updater" << LL_ENDL; LLSD updater = llcoro::suspendUntilEventOnWithTimeout(sSyncPoint, 10, LLSD()); if (updater.isUndefined()) { @@ -261,7 +261,7 @@ void LLLogin::Impl::loginCoro(std::string uri, LLSD login_params) } else { - LL_DEBUGS("LLLogin") << "Got responses from updater and login.cgi" << LL_ENDL; + // _LL_DEBUGS("LLLogin") << "Got responses from updater and login.cgi" << LL_ENDL; } // Let the fail.login handler deal with empty updater response. LLSD responses(mAuthResponse["responses"]); @@ -277,7 +277,7 @@ void LLLogin::Impl::loginCoro(std::string uri, LLSD login_params) // if below. if( status == "Started") { - LL_DEBUGS("LLLogin") << mAuthResponse << LL_ENDL; + // _LL_DEBUGS("LLLogin") << mAuthResponse << LL_ENDL; continue; } |*==========================================================================*/ diff --git a/indra/win_crash_logger/llcrashloggerwindows.cpp b/indra/win_crash_logger/llcrashloggerwindows.cpp index bb73c1dae41..eb5e568bc23 100644 --- a/indra/win_crash_logger/llcrashloggerwindows.cpp +++ b/indra/win_crash_logger/llcrashloggerwindows.cpp @@ -259,7 +259,7 @@ int LLCrashLoggerWindows::processingLoop() { int retries = 0; const int max_retries = 60; - LL_DEBUGS("CRASHREPORT") << "Entering processing loop for OOP server" << LL_ENDL; + // _LL_DEBUGS("CRASHREPORT") << "Entering processing loop for OOP server" << LL_ENDL; LLSD options = getOptionData( LLApp::PRIORITY_COMMAND_LINE ); @@ -280,7 +280,7 @@ int LLCrashLoggerWindows::processingLoop() { { if (mClientsConnected == 0) { - LL_DEBUGS("CRASHREPORT") << "Waiting for client to connect." << LL_ENDL; + // _LL_DEBUGS("CRASHREPORT") << "Waiting for client to connect." << LL_ENDL; ++retries; } else -- GitLab