summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerinventory.cpp
AgeCommit message (Collapse)Author
2016-11-21Merged in Ansariel/storm-2141AndreyL ProductEngine
2016-11-14STORM-2141: Fix various inventory floater related issues:Ansariel
* Opening new inventory via Control-Shift-I shortcut uses legacy and potentinally dangerous code path * Closing new inventory windows don't release memory * During shutdown legacy and inoperable code for inventory window cleanup is called * Remove old and unused inventory legacy code
2016-11-14Merged in lindenlab/viewer-cleanupAndreyL ProductEngine
2016-11-04MAINT-6906 Editing landmark name removes the land mark coordinatesandreykproductengine
2016-09-15MAINT-5232: Normalize LLSingleton subclasses.Nat Goodspeed
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-07-07Merged in lindenlab/viewer-lynxAndreyL ProductEngine
2016-06-17MAINT-6490 Newly created inventory reports version mismatchandreykproductengine
2016-05-20Merged in lindenlab/viewer-releaseAndreyL ProductEngine
2016-04-20MAINT-6341 Changing properties of the object in inventory are not saved ↵Mnikolenko Productengine
after transfer it to next owner
2016-04-04merge with 4.0.3-releaseOz Linden
2016-03-31I hate polluting the commit history.Aura Linden
2016-03-31Faster to copy changes than merge branches.Aura Linden
2015-11-10remove execute permission from many files that should not have itOz Linden
2015-10-14MAINT-5732: Change to the way event polling handles error conditions and ↵Rider Linden
cancel calls. Refactor any remaining LLCore::HTTPHandlers to use boost::shared_ptr Started minor refactor in the materials manager into coroutines (unfinished)
2015-08-28MAINT-5574: Added default parameter for callbalk on AISAPI interface.Rider Linden
Better check on callback exsit in coroutine Don't create AISAPI::completion_t if there is no call back passed.
2015-08-12MAINT-5500: Finish converting the AIS responders to the new coroutine model, ↵Rider Linden
Cleaned up dead an unused code. MAINT-4952: Added COPY and MOVE methods to Core:Http adapter
2015-08-11MergeRider Linden
2015-07-31Mystery solved! compl is a keyword... who knew!rider
2015-07-30Added patchAndYield to httputil adapterRider Linden
Converted All AISv3 commands (except copyLibrary) to coro model.
2015-07-15MergeRider Linden
2015-07-143.8.1-releaseOz Linden
2015-06-09Removed dead code, llsdmessage, llcapabilitylistener and the associated tests.Rider Linden
2015-05-29Pull merge from lindenlab/viewer-releaseMerov Linden
2015-05-27mergeBrad Payne (Vir Linden)
2015-04-10DRTVWR-397 WIP - removed get_linked_uuid(), duplicate of ↵Brad Payne (Vir Linden)
gInventory.getLinkedItemID()
2015-04-09MAINT-5069 WIP, MAINT-5071 WIP - handle dropping objects and attaching from ↵Brad Payne (Vir Linden)
ground. WIP on better tracking of attachment requests via various message in LLSelectMgr.
2015-03-09SL-103 WIP - fix for some inventory items not enabling addBrad Payne (Vir Linden)
2014-12-29Fix for potential crash on exitMerov Linden
2014-12-19Pull merge from lindenlab/viewer-releaseMerov Linden
2014-11-11Pull merge from lindenlanb/viewer-releaseMerov Linden
2014-11-03mergeBrad Payne (Vir Linden)
2014-09-28DD-211 : Verify that the items have the right permissions when dropping in a ↵Merov Linden
stock folder, add an adequate message when failing to drop in a stock folder.
2014-08-22Add an HTTP policy class for inventory operations using four (4)Monty Brandenberg
connections. Convert background and foreground fetches, both items and folders/inventory and library, to use new HTTP. Non-fetch inventory operations continue to use LLHTTPClient (at least for now). Error handling and retry on fetches wasn't 100% previously and that's still the case. I'll rip through this again to clean that up. Cleaned up logging in much of the inventory code with consistent labels on logging events and correct macros (removed deprecation warnings). This started as an attempt to get libcurl to do pipelining on POSTs and PUTs. Discovered that this is going to be very difficult to support in general in libcurl. May look at that again in the future.
2014-10-23MAINT-4196 WIP, including clearer inventory warnings for attachment errorsBrad Payne (Vir Linden)
2014-07-22Sync merge with lindenlab/viewer-releaseMerov Linden
2014-06-16merge changes for 3.7.9-releaseOz Linden
2014-05-30DD-92 : pull merge lindenlab/sunshine-external to get AISv3 workMerov Linden
2014-05-30Pull merge from lindenlab/viewer-releaseMerov Linden
2014-05-14v-r -> s-e merge WIPBrad Payne (Vir Linden)
2014-05-13sunshine-external merge WIPBrad Payne (Vir Linden)
2014-05-07merge changes for 3.7.7-releaseOz Linden
2014-04-14DD-20 : Prevent pasting incompatible items in stock foldersMerov Linden
2014-01-08STORM-68 Remove obsolete note. Refactor a few blocks of code to not have ↵Jonathan Yap
early returns
2013-12-12STORM-68 Fix bug for new gestures, notecards, and scripts where a copied ↵Jonathan Yap
item did not preserve its default permissions. Add apply button.
2013-11-20STORM-68 Added default clause to switch statement to try to fix linux ↵Jonathan Yap
compile error.
2013-11-20STORM-68 Reapply changes to inventory processing lost in the merge.Jonathan Yap
Move call to updateCap back to where it was. The place it was moved to was too early in the login sequence and was causing a crash.
2013-11-18SH-4578 WIP - cleaner folder version accountingBrad Payne (Vir Linden)
2013-09-10Fix for SH-4470 when modifying (no copy) or (no transfer) wearables.Don Kjer
2013-09-09Using transaction_id instead of raw asset_id during aisv3 patchDon Kjer
2013-08-14SH-4422 FIX - fixed some recently introduced issues with link description ↵Brad Payne (Vir Linden)
fields, which among other things reduces the number of appearance requests sent.