Merge branch 'DRTVWR-582-maint-U' of https://github.com/secondlife/viewer
# Conflicts: # autobuild.xml # indra/cmake/00-Common.cmakemaster
commit
5dd820c22d
|
|
@ -1,6 +1,5 @@
|
|||
<?xml version="1.0" ?>
|
||||
<llsd>
|
||||
<map>
|
||||
<llsd><map>
|
||||
<key>installables</key>
|
||||
<map>
|
||||
<key>SDL2</key>
|
||||
|
|
@ -3196,9 +3195,11 @@ Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors</string>
|
|||
<key>archive</key>
|
||||
<map>
|
||||
<key>hash</key>
|
||||
<string>8b091b1f13348eedadf66d7d81cb6bc1</string>
|
||||
<string>6ba629ff34c4b14a1f851de707bc35041df8b6a9</string>
|
||||
<key>hash_algorithm</key>
|
||||
<string>sha1</string>
|
||||
<key>url</key>
|
||||
<string>https://automated-builds-secondlife-com.s3.amazonaws.com/ct2/116621/1003286/viewer_manager-3.0.580913-darwin64-580913.tar.bz2</string>
|
||||
<string>https://github.com/secondlife/viewer-manager/releases/download/v3.0-bd3aec2/viewer_manager-3.0-bd3aec2-darwin64-bd3aec2.tar.zst</string>
|
||||
</map>
|
||||
<key>name</key>
|
||||
<string>darwin64</string>
|
||||
|
|
@ -3208,24 +3209,28 @@ Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors</string>
|
|||
<key>archive</key>
|
||||
<map>
|
||||
<key>hash</key>
|
||||
<string>129b80dd47b53bfa02fc21ab1eb1901c</string>
|
||||
<string>7e086a28db17b0c086a5460e9d62f0c6584560b3</string>
|
||||
<key>hash_algorithm</key>
|
||||
<string>sha1</string>
|
||||
<key>url</key>
|
||||
<string>http://3p.firestormviewer.org/viewer_manager-1.0.180861311-linux64-180861311.tar.bz2</string>
|
||||
<string>https://github.com/secondlife/viewer-manager/releases/download/v3.0-bd3aec2/viewer_manager-3.0-bd3aec2-linux64-bd3aec2.tar.zst</string>
|
||||
</map>
|
||||
<key>name</key>
|
||||
<string>linux64</string>
|
||||
</map>
|
||||
<key>windows</key>
|
||||
<key>windows64</key>
|
||||
<map>
|
||||
<key>archive</key>
|
||||
<map>
|
||||
<key>hash</key>
|
||||
<string>647e86470e02509b1cf89829d08dfd46</string>
|
||||
<string>1eab994c0c1df5b2c057878a4071a88320cec978</string>
|
||||
<key>hash_algorithm</key>
|
||||
<string>sha1</string>
|
||||
<key>url</key>
|
||||
<string>https://automated-builds-secondlife-com.s3.amazonaws.com/ct2/116623/1003293/viewer_manager-3.0.580913-windows-580913.tar.bz2</string>
|
||||
<string>https://github.com/secondlife/viewer-manager/releases/download/v3.0-bd3aec2/viewer_manager-3.0-bd3aec2-windows64-bd3aec2.tar.zst</string>
|
||||
</map>
|
||||
<key>name</key>
|
||||
<string>windows</string>
|
||||
<string>windows64</string>
|
||||
</map>
|
||||
</map>
|
||||
<key>source</key>
|
||||
|
|
@ -3233,7 +3238,7 @@ Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors</string>
|
|||
<key>source_type</key>
|
||||
<string>hg</string>
|
||||
<key>version</key>
|
||||
<string>3.0.580913</string>
|
||||
<string>3.0-bd3aec2</string>
|
||||
</map>
|
||||
<key>vlc-bin</key>
|
||||
<map>
|
||||
|
|
@ -4425,5 +4430,4 @@ Copyright (c) 2012, 2014, 2015, 2016 nghttp2 contributors</string>
|
|||
<string>autobuild</string>
|
||||
<key>version</key>
|
||||
<string>1.3</string>
|
||||
</map>
|
||||
</llsd>
|
||||
</map></llsd>
|
||||
|
|
|
|||
|
|
@ -214,6 +214,10 @@ if (DARWIN)
|
|||
|
||||
set(ENABLE_SIGNING TRUE)
|
||||
set(SIGNING_IDENTITY "Developer ID Application: The Phoenix Firestorm Project, Inc." )
|
||||
|
||||
# required for clang-15/xcode-15 since our boost package still uses deprecated std::unary_function/binary_function
|
||||
# see https://developer.apple.com/documentation/xcode-release-notes/xcode-15-release-notes#C++-Standard-Library
|
||||
add_compile_definitions(_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION)
|
||||
endif (DARWIN)
|
||||
|
||||
if (LINUX OR DARWIN)
|
||||
|
|
|
|||
|
|
@ -500,13 +500,20 @@ LLMotion::LLMotionInitStatus LLKeyframeMotion::onInitialize(LLCharacter *charact
|
|||
// request asset
|
||||
mAssetStatus = ASSET_FETCHED;
|
||||
|
||||
LL_DEBUGS("Animation") << "Requesting data fetch for: " << mID << LL_ENDL;
|
||||
character_id = new LLUUID(mCharacter->getID());
|
||||
gAssetStorage->getAssetData(mID,
|
||||
LLAssetType::AT_ANIMATION,
|
||||
onLoadComplete,
|
||||
(void *)character_id,
|
||||
FALSE);
|
||||
if (mID.notNull())
|
||||
{
|
||||
LL_DEBUGS("Animation") << "Requesting data fetch for: " << mID << LL_ENDL;
|
||||
character_id = new LLUUID(mCharacter->getID());
|
||||
gAssetStorage->getAssetData(mID,
|
||||
LLAssetType::AT_ANIMATION,
|
||||
onLoadComplete,
|
||||
(void*)character_id,
|
||||
FALSE);
|
||||
}
|
||||
else
|
||||
{
|
||||
LL_INFOS("Animation") << "Attempted to fetch animation " << mName << " with null id for character " << mCharacter->getID() << LL_ENDL;
|
||||
}
|
||||
|
||||
return STATUS_HOLD;
|
||||
case ASSET_FETCHED:
|
||||
|
|
|
|||
|
|
@ -171,8 +171,9 @@ const U32 ESTATE_ACCESS_MANAGER_REMOVE = 1U << 9;
|
|||
const U32 ESTATE_ACCESS_NO_REPLY = 1U << 10;
|
||||
const U32 ESTATE_ACCESS_FAILED_BAN_ESTATE_MANAGER = 1U << 11;
|
||||
|
||||
const S32 ESTATE_MAX_MANAGERS = 15;
|
||||
const S32 ESTATE_MAX_ACCESS_IDS = 500; // max for access, banned
|
||||
const S32 ESTATE_MAX_MANAGERS = 20;
|
||||
const S32 ESTATE_MAX_ACCESS_IDS = 500; // max for access
|
||||
const S32 ESTATE_MAX_BANNED_IDS = 750; // max for banned
|
||||
const S32 ESTATE_MAX_GROUP_IDS = (S32) ESTATE_ACCESS_MAX_ENTRIES_PER_PACKET;
|
||||
|
||||
// 'Sim Wide Delete' flags
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@ LLDragHandle::LLDragHandle(const LLDragHandle::Params& p)
|
|||
|
||||
LLDragHandle::~LLDragHandle()
|
||||
{
|
||||
gFocusMgr.removeKeyboardFocusWithoutCallback(this);
|
||||
removeChild(mTitleBox);
|
||||
delete mTitleBox;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -196,6 +196,7 @@ LLFolderViewItem::LLFolderViewItem(const LLFolderViewItem::Params& p)
|
|||
LLFolderViewItem::~LLFolderViewItem()
|
||||
{
|
||||
mViewModelItem = NULL;
|
||||
gFocusMgr.removeKeyboardFocusWithoutCallback(this);
|
||||
}
|
||||
|
||||
BOOL LLFolderViewItem::postBuild()
|
||||
|
|
|
|||
|
|
@ -89,6 +89,8 @@ LLLayoutPanel::~LLLayoutPanel()
|
|||
// probably not necessary, but...
|
||||
delete mResizeBar;
|
||||
mResizeBar = NULL;
|
||||
|
||||
gFocusMgr.removeKeyboardFocusWithoutCallback(this);
|
||||
}
|
||||
|
||||
F32 LLLayoutPanel::getAutoResizeFactor() const
|
||||
|
|
|
|||
|
|
@ -70,6 +70,11 @@ LLResizeHandle::LLResizeHandle(const LLResizeHandle::Params& p)
|
|||
}
|
||||
}
|
||||
|
||||
LLResizeHandle::~LLResizeHandle()
|
||||
{
|
||||
gFocusMgr.removeKeyboardFocusWithoutCallback(this);
|
||||
}
|
||||
|
||||
|
||||
BOOL LLResizeHandle::handleMouseDown(S32 x, S32 y, MASK mask)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@ public:
|
|||
Params();
|
||||
};
|
||||
|
||||
~LLResizeHandle();
|
||||
protected:
|
||||
LLResizeHandle(const LLResizeHandle::Params&);
|
||||
friend class LLUICtrlFactory;
|
||||
|
|
|
|||
|
|
@ -3031,7 +3031,7 @@ BOOL LLPanelEstateAccess::postBuild()
|
|||
if (banned_name_list)
|
||||
{
|
||||
banned_name_list->setCommitOnSelectionChange(TRUE);
|
||||
banned_name_list->setMaxItemCount(ESTATE_MAX_ACCESS_IDS);
|
||||
banned_name_list->setMaxItemCount(ESTATE_MAX_BANNED_IDS);
|
||||
}
|
||||
|
||||
getChild<LLUICtrl>("banned_search_input")->setCommitCallback(boost::bind(&LLPanelEstateAccess::onBannedSearchEdit, this, _2));
|
||||
|
|
@ -3175,10 +3175,10 @@ void LLPanelEstateAccess::onClickAddBannedAgent()
|
|||
{
|
||||
LLCtrlListInterface *list = childGetListInterface("banned_avatar_name_list");
|
||||
if (!list) return;
|
||||
if (list->getItemCount() >= ESTATE_MAX_ACCESS_IDS)
|
||||
if (list->getItemCount() >= ESTATE_MAX_BANNED_IDS)
|
||||
{
|
||||
LLSD args;
|
||||
args["MAX_BANNED"] = llformat("%d", ESTATE_MAX_ACCESS_IDS);
|
||||
args["MAX_BANNED"] = llformat("%d", ESTATE_MAX_BANNED_IDS);
|
||||
LLNotificationsUtil::add("MaxBannedAgentsOnRegion", args);
|
||||
return;
|
||||
}
|
||||
|
|
@ -3416,13 +3416,13 @@ void LLPanelEstateAccess::accessAddCore3(const uuid_vec_t& ids, std::vector<LLAv
|
|||
LLNameListCtrl* name_list = panel->getChild<LLNameListCtrl>("banned_avatar_name_list");
|
||||
LLNameListCtrl* em_list = panel->getChild<LLNameListCtrl>("estate_manager_name_list");
|
||||
int currentCount = (name_list ? name_list->getItemCount() : 0);
|
||||
if (ids.size() + currentCount > ESTATE_MAX_ACCESS_IDS)
|
||||
if (ids.size() + currentCount > ESTATE_MAX_BANNED_IDS)
|
||||
{
|
||||
LLSD args;
|
||||
args["NUM_ADDED"] = llformat("%d", ids.size());
|
||||
args["MAX_AGENTS"] = llformat("%d", ESTATE_MAX_ACCESS_IDS);
|
||||
args["MAX_AGENTS"] = llformat("%d", ESTATE_MAX_BANNED_IDS);
|
||||
args["LIST_TYPE"] = LLTrans::getString("RegionInfoListTypeBannedAgents");
|
||||
args["NUM_EXCESS"] = llformat("%d", (ids.size() + currentCount) - ESTATE_MAX_ACCESS_IDS);
|
||||
args["NUM_EXCESS"] = llformat("%d", (ids.size() + currentCount) - ESTATE_MAX_BANNED_IDS);
|
||||
LLNotificationsUtil::add("MaxAgentOnRegionBatch", args);
|
||||
delete change_info;
|
||||
return;
|
||||
|
|
@ -3801,7 +3801,7 @@ void LLPanelEstateAccess::requestEstateGetAccessCoro(std::string url)
|
|||
{
|
||||
LLStringUtil::format_map_t args;
|
||||
args["[BANNEDAGENTS]"] = llformat("%d", result["BannedAgents"].size());
|
||||
args["[MAXBANNED]"] = llformat("%d", ESTATE_MAX_ACCESS_IDS);
|
||||
args["[MAXBANNED]"] = llformat("%d", ESTATE_MAX_BANNED_IDS);
|
||||
std::string msg = LLTrans::getString("RegionInfoBannedResidents", args);
|
||||
panel->getChild<LLUICtrl>("ban_resident_label")->setValue(LLSD(msg));
|
||||
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@ LLViewerMediaFocus::~LLViewerMediaFocus()
|
|||
{
|
||||
// The destructor for LLSingletons happens at atexit() time, which is too late to do much.
|
||||
// Clean up in cleanupClass() instead.
|
||||
gFocusMgr.removeKeyboardFocusWithoutCallback(this);
|
||||
}
|
||||
|
||||
void LLViewerMediaFocus::setFocusFace(LLPointer<LLViewerObject> objectp, S32 face, viewer_media_t media_impl, LLVector3 pick_normal)
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ LLViewerThrottleGroup::LLViewerThrottleGroup()
|
|||
}
|
||||
|
||||
|
||||
LLViewerThrottleGroup::LLViewerThrottleGroup(const F32 settings[])
|
||||
LLViewerThrottleGroup::LLViewerThrottleGroup(const F32 settings[TC_EOF])
|
||||
{
|
||||
mThrottleTotal = 0.f;
|
||||
S32 i;
|
||||
|
|
|
|||
Loading…
Reference in New Issue