Commit Graph

334 Commits (9edad026f4494de1a6f02ecc3f477faa27a361ef)

Author SHA1 Message Date
Ansariel 4ad665e78e Fix warning "LLFloaterReg::getInstance : Floater type: 'im_container' not registered." 2019-07-20 01:17:36 +02:00
Ansariel c06dabb368 Rename all Firestorm legacy profile specific stuff so we don't collide with the upcoming legacy profiles from LL 2019-07-15 10:49:16 +02:00
Ansariel 3fcc9d9d98 Merge viewer-estate-access 2019-01-02 14:46:39 +01:00
PanteraPolnocy ec92b2135f An option to extend basic script info feature with various details useful for builders 2018-11-20 00:29:28 +01:00
Mnikolenko Productengine 8fb9dd88df MAINT-8089 FIXED User A can't unblock text from user B when use right-click menu in chat 2017-12-14 15:48:02 +02:00
Mnikolenko Productengine ced6c2d9fb MAINT-8089 FIXED User A can't unblock text from user B when use right-click menu in chat 2017-12-14 15:48:02 +02:00
Ansariel dcd39ae797 Merge Firestorm LGPL 2017-07-18 19:50:23 +02:00
Ansariel 30a7342239 FIRE-21321: People panel ignores FSUseBuiltInHistory setting 2017-07-15 16:44:41 +02:00
Ansariel aa13de30ad FIRE-21321: People panel ignores FSUseBuiltInHistory setting 2017-06-27 21:24:22 +02:00
Ansariel 099d988fe2 Merge viewer-neko 2017-05-25 22:49:53 +02:00
Ansariel 55baa89640 Merge viewer-bear 2017-05-18 08:55:43 +02:00
andreykproductengine e72c120e9e MAINT-6805 Fixed Right-click menus in the right and left panes of the Conversations windows are different 2017-05-17 22:34:50 +03:00
Mnikolenko Productengine 5bd00f8602 MAINT-7383 show notifications for Purge item action in all inventory panels 2017-05-15 16:47:18 +03:00
Ansariel dcac0dce59 Merge viewer-bear 2017-05-07 13:11:50 +02:00
Mnikolenko Productengine 00529b31b7 MAINT-7383 Revise notification for Empty Trash / Purge trash action to include number of items being deleted. 2017-05-04 15:00:33 +03:00
Ansariel bff6a3af15 Merge viewer-neko 2017-02-23 09:02:58 +01:00
andreykproductengine 605160d501 MAINT-7118 Swapping legacy people API with new cache 2017-02-15 20:40:03 +02:00
Ansariel c182741596 Merge viewer-lynx 2016-11-16 09:55:54 +01:00
AndreyL ProductEngine 7fceb3a63f Merged in lindenlab/viewer-cleanup 2016-11-14 22:04:37 +02:00
Nat Goodspeed d2c3c2f9fe MAINT-5232: Normalize LLSingleton subclasses.
A shocking number of LLSingleton subclasses had public constructors -- and in
several instances, were being explicitly instantiated independently of the
LLSingleton machinery. This breaks the new LLSingleton dependency-tracking
machinery. It seems only fair that if you say you want an LLSingleton, there
should only be ONE INSTANCE!

Introduce LLSINGLETON() and LLSINGLETON_EMPTY_CTOR() macros. These handle the
friend class LLSingleton<whatevah>;
and explicitly declare a private nullary constructor.

To try to enforce the LLSINGLETON() convention, introduce a new pure virtual
LLSingleton method you_must_use_LLSINGLETON_macro() which is, as you might
suspect, defined by the macro. If you declare an LLSingleton subclass without
using LLSINGLETON() or LLSINGLETON_EMPTY_CTOR() in the class body, you can't
instantiate the subclass for lack of a you_must_use_LLSINGLETON_macro()
implementation -- which will hopefully remind the coder.

Trawl through ALL LLSingleton subclass definitions, sprinkling in
LLSINGLETON() or LLSINGLETON_EMPTY_CTOR() as appropriate. Remove all explicit
constructor declarations, public or private, along with relevant 'friend class
LLSingleton<myself>' declarations. Where destructors are declared, move them
into private section as well. Where the constructor was inline but nontrivial,
move out of class body.

Fix several LLSingleton abuses revealed by making ctors/dtors private:

LLGlobalEconomy was both an LLSingleton and the base class for
LLRegionEconomy, a non-LLSingleton. (Therefore every LLRegionEconomy instance
contained another instance of the LLGlobalEconomy "singleton.") Extract
LLBaseEconomy; LLGlobalEconomy is now a trivial subclass of that.
LLRegionEconomy, as you might suspect, now derives from LLBaseEconomy.

LLToolGrab, an LLSingleton, was also explicitly instantiated by
LLToolCompGun's constructor. Extract LLToolGrabBase, explicitly instantiated,
with trivial subclass LLToolGrab, the LLSingleton instance.

(WARNING: LLToolGrabBase methods have an unnerving tendency to go after
LLToolGrab::getInstance(). I DO NOT KNOW what should be the relationship
between the instance in LLToolCompGun and the LLToolGrab singleton instance.)

LLGridManager declared a variant constructor accepting (const std::string&),
with the comment:
// initialize with an explicity grid file for testing.
As there is no evidence of this being called from anywhere, delete it.

LLChicletBar's constructor accepted an optional (const LLSD&). As the LLSD
parameter wasn't used, and as there is no evidence of it being passed from
anywhere, delete the parameter.

LLViewerWindow::shutdownViews() was checking LLNavigationBar::
instanceExists(), then deleting its getInstance() pointer -- leaving a
dangling LLSingleton instance pointer, a land mine if any subsequent code
should attempt to reference it. Use deleteSingleton() instead.

~LLAppViewer() was calling LLViewerEventRecorder::instance() and then
explicitly calling ~LLViewerEventRecorder() on that instance -- leaving the
LLSingleton instance pointer pointing to an allocated-but-destroyed instance.
Use deleteSingleton() instead.
2016-09-15 20:18:12 -04:00
Ansariel e18d32ee13 Merge viewer-bear 2016-09-12 20:58:57 +02:00
Mnikolenko Productengine db230ec3ac MAINT-1768 Previous changes are reverted. Sharing items from trash is disabled now. 2016-08-29 11:15:54 +03:00
Ansariel 12df60d4e1 Major overhaul of the asset blacklist floater:
* Use sorting persistance already available in LLScrollListCtrl and remove specific asset blacklist debug settings
* Add right-click context menu
* Draw stripes for alternating lines for easier reading
* Add missing "Close" button
* Add filter editor for searching for particular assets
* Properly format date based on localizable format string and show time as local time instead of UTC
* Renamed classes to better fit the Firestorm naming system
* Removed unused methods
2016-08-26 11:58:18 +02:00
Ansariel 676a178e18 FIRE-19956: Show temporarily blocked objects in blacklist floater so they can be removed; Based on a patch by Xenhat Liamano 2016-08-25 15:42:01 +02:00
Ansariel b8f2d2801b Merge Firestorm LGPL 2016-07-26 18:42:13 +02:00
Ansariel 2c4f6131bc Merge Firestorm LGPL 2016-07-13 09:05:54 +02:00
Kitty Barnett a0afab722b Merged with RLVa tip 2016-07-21 14:41:47 +02:00
Kitty Barnett d1b2473687 [FIXED] Using reverse logic isn't always a terribly good idea
--HG--
branch : RLVa
2016-07-21 14:37:08 +02:00
Ansariel acd014dee3 Copy&paste............ 2016-07-07 13:47:03 +02:00
Ansariel 4ef3081fca FIRE-19563: Add support for OpenSim VarRegion width scaling in CoarseLocationUpdate message
This should have no effect on default 256m x 256m sized regions. Regions that
are not using the standard size are currently broken anyway, so the result
will just be a different form of broken if the region is running on a simulator
not supporting this feature yet.
2016-07-07 13:46:00 +02:00
Ansariel ea28514d3b Merge Firestorm LGPL 2016-07-04 16:10:45 +02:00
Kitty Barnett a21ad8481e Merged with RLVa update tip 2016-06-24 00:48:37 +02:00
Kitty Barnett 4b884caf43 Added @shownames:<uuid> and @shownametags:<uuid> exceptions
-> [FIXED] "Pay" isn't disabled on the avatar context menu when @shownames restricted
  -> [CHANGED] Show a notification when the user can't offer a teleport due to an RLV restriction

--HG--
branch : RLVa
2016-06-11 22:45:42 +02:00
Kitty Barnett 1c7b227637 Merged with RLVa-refactor tip 2016-06-11 02:36:07 +02:00
AndreyL ProductEngine b25a22a2c1 Merged in lindenlab/viewer-release 2016-05-19 23:02:37 +03:00
Ansariel 2889c5bf40 Merge viewer-bear 2016-05-09 17:24:00 +02:00
Oz Linden 950c41d184 merge 4.0.4-release and MAINT-5974 2016-05-06 10:28:42 -04:00
Ansariel e86f113e1a Clean up and refactor LLAvatarActions & LLGroupActions 2016-04-18 12:39:45 +02:00
Mnikolenko Productengine 1a2d326c2b MAINT-6273 "Freeze" and "Eject" menu items are added to Nearby context menu. 2016-04-11 14:25:08 +03:00
Kitty Barnett 75e217b82e Code review: RLVa extensions are no longer optional features
-> @accepttprequest will auto-accept all incoming teleport requests (allows exceptions - see @accepttp)
  -> @allowidle (stays experimental - subject to change)
  -> @getcommand:<filter> can be used to discover which commands are part of the user's RLVa implementation (with user-defined separator)
  -> @findfolders:<filter> works like @findfolder but will return all matches (with user-defined separator)
  -> @getdebug:<setting> can be used to query (but not set) the "RestrainedLoveforbidGiveToRLV", "RestrainedLoveNoSetEnv" and "WindLightUseAtmosShaders" debug settings
  -> @interact will block world interaction but allows drag-drop, the camera tool, mouse steering and access to the "self" context menu
  -> @sharedwear is the counterpart of @unsharedwear and wear locks the shared #RLV folder
  -> @sharedunwear is the counterpart of @unsharedunwear and remove locks the shared #RLV folder
  -> @touchhud will prevent the user from touching/clicking on their HUD attachments (allows exceptions)
  -> @tprequest will prevent the user from requesting teleports (allows exceptions - see @tplure)
  -> force wear commands will activate/deactivate gestures as well
  -> force wear commands will collect from folder links as well
  -> [FIXED] Location on incoming teleport requests isn't censored when @showloc restricted
  -> [FIXED] Message on outgoing teleport offers isn't censored when @startim restricted
  -> [FIXED] Message on outgoing teleport requests isn't censored when @sendim or @startim restricted

--HG--
branch : RLVa
2016-04-10 14:07:23 +02:00
Ansariel faf58a81eb Merge viewer-bear 2016-03-08 09:08:20 +01:00
Mnikolenko ProductEngine 1d72c0ec6a MAINT-5362 Adding/detaching/taking off etc from the inventory view in appearance panel will add/remove the wrong item if a different item is selected in inventory floater 2016-03-02 16:58:50 +02:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Ansariel 3d9a7bc529 Add "Add Participant" button to IM windows as seen on CHUI; Also allow DaD of cargo type DAD_PERSON into the window 2015-06-29 13:32:57 +02:00
Kitty Barnett 839fe0fa12 Merged with default tip (Revision ffde74743e89)
--HG--
branch : RLVa
2015-05-09 00:53:24 +02:00
Kitty Barnett ff4b39256c Merged with default tip (Revision fe6154c9a0c1)
--HG--
branch : RLVa
2015-04-29 22:37:07 +02:00
Mnikolenko ProductEngine 282ad94175 MAINT-4974 FIXED Complete name should be used in LLAvatarActions::buildResidentsString only when building name string for share confirmation dialogs 2015-03-16 18:03:05 +02:00
Ansariel cec7691ef0 Merge changes from main repo 2015-04-22 21:16:17 +02:00
Ansariel 9be423524d Merge LL V3.7.27 2015-04-14 22:08:31 +02:00
Mnikolenko ProductEngine fd83804a1c MAINT-4799 FIXED Show complete avatar names in confirmation dialog. 2015-01-16 11:55:36 +02:00