diff --git a/indra/newview/app_settings/default_grids.xml b/indra/newview/app_settings/default_grids.xml index f258b23d3..78c82ebdb 100644 --- a/indra/newview/app_settings/default_grids.xml +++ b/indra/newview/app_settings/default_grids.xml @@ -2,7 +2,7 @@ - default_grids_version22 + default_grids_version23 @@ -11,7 +11,7 @@ gridnameSecond Life platformSecondLife loginurihttps://login.agni.lindenlab.com/cgi-bin/login.cgi - loginpagehttp://viewer-login.agni.lindenlab.com/ + loginpagehttps://viewer-splash.secondlife.com/ helperurihttps://secondlife.com/helpers/ websitehttp://secondlife.com/ supporthttp://secondlife.com/support/ @@ -26,7 +26,7 @@ gridnicksecondlife_beta gridnameSecond Life BETA helperurihttp://aditi-secondlife.webdev.lindenlab.com/helpers/ - loginpagehttp://viewer-login.agni.lindenlab.com/ + loginpagehttps://viewer-splash.secondlife.com/ loginurihttps://login.aditi.lindenlab.com/cgi-bin/login.cgi passwordhttp://secondlife.com/account/request.php platformSecondLife diff --git a/indra/newview/llexperiencelog.cpp b/indra/newview/llexperiencelog.cpp index 9f47c721c..197de2d1c 100644 --- a/indra/newview/llexperiencelog.cpp +++ b/indra/newview/llexperiencelog.cpp @@ -36,7 +36,7 @@ #include "lldate.h" -class LLExperienceLogDispatchHandler : public LLDispatchHandler +class LLExperienceLogDispatchHandler final : public LLDispatchHandler { public: bool operator()( @@ -225,12 +225,13 @@ LLExperienceLog::~LLExperienceLog() void LLExperienceLog::eraseExpired() { + const auto& inst(*this); // Fixes Linux std::vector expired; std::for_each(mEvents.beginMap(), mEvents.endMap(), [&](const auto& event_pair) { const std::string& date = event_pair.first; - if (isExpired(date)) + if (inst.isExpired(date)) { expired.push_back(date); } @@ -242,7 +243,7 @@ void LLExperienceLog::eraseExpired() } } -bool LLExperienceLog::isExpired(const std::string& date) +bool LLExperienceLog::isExpired(const std::string& date) const { if (date.empty()) return true; diff --git a/indra/newview/llexperiencelog.h b/indra/newview/llexperiencelog.h index 7da2057b6..27012898c 100644 --- a/indra/newview/llexperiencelog.h +++ b/indra/newview/llexperiencelog.h @@ -61,7 +61,7 @@ public: static void notify(LLSD& message); static std::string getFilename(); static std::string getPermissionString(const LLSD& message, const std::string& base); - bool isExpired(const std::string& date); + bool isExpired(const std::string& date) const; protected: void handleExperienceMessage(LLSD& message); diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 756466117..171301f9f 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -2964,6 +2964,12 @@ void LLFolderBridge::performAction(LLInventoryModel* model, std::string action) LFFloaterInvPanel::show(LLSD().with("id", mUUID), cat->getName(), model); return; } + else if ("copy_folder_uuid" == action) + { + // Single folder only + gViewerWindow->getWindow()->copyTextToClipboard(utf8str_to_wstring(mUUID.asString())); + return; + } else if ("paste" == action) { pasteFromClipboard(); @@ -3896,6 +3902,7 @@ void build_context_menu_folder_options(LLInventoryModel* model, const LLUUID& mU if (listings_folder.notNull() && gInventory.isObjectDescendentOf(mUUID, listings_folder)) return; items.push_back(std::string("Open Folder In New Window")); + items.push_back(std::string("Copy Folder UUID")); LLFolderType::EType type = category->getPreferredType(); const bool is_system_folder = LLFolderType::lookupIsProtectedType(type); diff --git a/indra/newview/skins/default/xui/en-us/menu_inventory.xml b/indra/newview/skins/default/xui/en-us/menu_inventory.xml index e34e06bb2..dd516bc28 100644 --- a/indra/newview/skins/default/xui/en-us/menu_inventory.xml +++ b/indra/newview/skins/default/xui/en-us/menu_inventory.xml @@ -94,6 +94,9 @@ + + + diff --git a/indra/newview/skins/default/xui/en-us/notifications.xml b/indra/newview/skins/default/xui/en-us/notifications.xml index d7dc95430..59d022ecf 100644 --- a/indra/newview/skins/default/xui/en-us/notifications.xml +++ b/indra/newview/skins/default/xui/en-us/notifications.xml @@ -7164,7 +7164,7 @@ Event Notification: